From e93282642ea2061fe0d107601f8c82b7c59d58ad Mon Sep 17 00:00:00 2001 From: Eric Richardson Date: Tue, 28 Nov 2023 15:38:08 -0500 Subject: [PATCH 001/120] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20add=20toSignable?= =?UTF-8?q?Payload()=20to=20procedures?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit add toSignablePayload method to procedure, this returns a JSON object that can be signed by an offline signer. Adds a submitTransaction method to the network namespace to submit the transaction with its signature BREAKING CHANGE: 🧨 procedure will not throw if signingAccount isn't present in the signing manager upon preparation. The check is now performed during `.run()` ✅ Closes: DA-936 --- src/api/client/Network.ts | 85 +- src/api/client/__tests__/Network.ts | 72 +- src/base/Context.ts | 23 +- src/base/PolymeshTransactionBase.ts | 100 +- src/base/PolymeshTransactionBatch.ts | 3 +- src/base/__tests__/Context.ts | 44 +- src/base/__tests__/PolymeshTransactionBase.ts | 137 +- src/base/types.ts | 43 + src/base/utils.ts | 30 +- src/testUtils/mocks/dataSources.ts | 191 +- yarn.lock | 3558 ++++++++--------- 11 files changed, 2197 insertions(+), 2089 deletions(-) diff --git a/src/api/client/Network.ts b/src/api/client/Network.ts index 1d15ceab58..387981a365 100644 --- a/src/api/client/Network.ts +++ b/src/api/client/Network.ts @@ -1,9 +1,12 @@ +import { HexString } from '@polkadot/util/types'; import BigNumber from 'bignumber.js'; -import { Account, Context, transferPolyx } from '~/internal'; +import { handleExtrinsicFailure } from '~/base/utils'; +import { Account, Context, PolymeshError, transferPolyx } from '~/internal'; import { eventsByArgs, extrinsicByHash } from '~/middleware/queries'; import { EventIdEnum, ModuleIdEnum, Query } from '~/middleware/types'; import { + ErrorCode, EventIdentifier, ExtrinsicDataWithFees, MiddlewareMetadata, @@ -11,6 +14,7 @@ import { ProcedureMethod, ProtocolFees, SubCallback, + TransactionPayload, TransferPolyxParams, TxTag, UnsubCallback, @@ -20,13 +24,14 @@ import { TREASURY_MODULE_ADDRESS } from '~/utils/constants'; import { balanceToBigNumber, extrinsicIdentifierToTxTag, + hashToString, middlewareEventDetailsToEventIdentifier, moduleAddressToString, stringToBlockHash, textToString, u32ToBigNumber, } from '~/utils/conversion'; -import { createProcedureMethod, optionize } from '~/utils/internal'; +import { createProcedureMethod, filterEventRecords, optionize } from '~/utils/internal'; /** * Handles all Network related functionality, including querying for historical events from middleware @@ -183,6 +188,82 @@ export class Network { return optionize(middlewareEventDetailsToEventIdentifier)(event?.block, event?.eventIdx); } + /** + * Submits a transaction payload with its signature to the chain + */ + public async submitTransaction( + txPayload: TransactionPayload, + signature: HexString + ): Promise> { + const { context } = this; + const { method, payload } = txPayload; + const transaction = context.polymeshApi.tx(method); + + transaction.addSignature(payload.address, signature, payload); + + const info: Record = { + transactionHash: transaction.hash.toString(), + }; + + return new Promise((resolve, reject) => { + const gettingUnsub = transaction.send(receipt => { + const { status } = receipt; + let isLastCallback = false; + let unsubscribing = Promise.resolve(); + let extrinsicFailedEvent; + + // isCompleted implies status is one of: isFinalized, isInBlock or isError + if (receipt.isCompleted) { + if (receipt.isInBlock) { + const inBlockHash = status.asInBlock; + info.blockHash = hashToString(inBlockHash); + + // we know that the index has to be set by the time the transaction is included in a block + // eslint-disable-next-line @typescript-eslint/no-non-null-assertion + info.txIndex = new BigNumber(receipt.txIndex!); + + // if the extrinsic failed due to an on-chain error, we should handle it in a special way + [extrinsicFailedEvent] = filterEventRecords(receipt, 'system', 'ExtrinsicFailed', true); + + // extrinsic failed so we can unsubscribe + isLastCallback = !!extrinsicFailedEvent; + } else { + // isFinalized || isError so we know we can unsubscribe + isLastCallback = true; + } + + if (isLastCallback) { + unsubscribing = gettingUnsub.then(unsub => { + unsub(); + }); + } + + /* + * Promise chain that handles all sub-promises in this pass through the signAndSend callback. + * Primarily for consistent error handling + */ + let finishing = Promise.resolve(); + + if (extrinsicFailedEvent) { + const { data } = extrinsicFailedEvent; + + finishing = Promise.all([unsubscribing]).then(() => { + handleExtrinsicFailure(reject, data[0]); + }); + } else if (receipt.isFinalized) { + finishing = Promise.all([unsubscribing]).then(() => { + resolve(info); + }); + } else if (receipt.isError) { + reject(new PolymeshError({ code: ErrorCode.TransactionAborted })); + } + + finishing.catch((err: Error) => reject(err)); + } + }); + }); + } + /** * Retrieve a list of events. Can be filtered using parameters * diff --git a/src/api/client/__tests__/Network.ts b/src/api/client/__tests__/Network.ts index 3e0383f165..c86c7ed872 100644 --- a/src/api/client/__tests__/Network.ts +++ b/src/api/client/__tests__/Network.ts @@ -6,8 +6,9 @@ import { Context, PolymeshTransaction } from '~/internal'; import { eventsByArgs, extrinsicByHash } from '~/middleware/queries'; import { CallIdEnum, EventIdEnum, ModuleIdEnum } from '~/middleware/types'; import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; +import { MockTxStatus } from '~/testUtils/mocks/dataSources'; import { Mocked } from '~/testUtils/types'; -import { AccountBalance, MiddlewareMetadata, TxTags } from '~/types'; +import { AccountBalance, MiddlewareMetadata, TransactionPayload, TxTags } from '~/types'; import * as utilsConversionModule from '~/utils/conversion'; jest.mock( @@ -524,4 +525,73 @@ describe('Network Class', () => { expect(result).toEqual(new BigNumber(10000)); }); }); + + describe('method: submitTransaction', () => { + beforeEach(() => { + dsMockUtils.configureMocks(); + }); + + it('should submit the transaction to the chain', async () => { + const transaction = dsMockUtils.createTxMock('staking', 'bond', { + autoResolve: MockTxStatus.Succeeded, + }); + + // eslint-disable-next-line @typescript-eslint/no-explicit-any + (context.polymeshApi as any).tx = jest.fn().mockReturnValue(transaction); + + // eslint-disable-next-line @typescript-eslint/no-explicit-any + const mockPayload = { payload: {}, rawPayload: {}, method: '0x01', metadata: {} } as any; + + const signature = '0x01'; + await network.submitTransaction(mockPayload, signature); + }); + + it('should throw an error if the status is rejected', async () => { + const transaction = dsMockUtils.createTxMock('asset', 'registerTicker', { + autoResolve: false, + }); + + // eslint-disable-next-line @typescript-eslint/no-explicit-any + (context.polymeshApi as any).tx = jest.fn().mockReturnValue(transaction); + + const mockPayload = { + payload: {}, + rawPayload: {}, + method: '0x01', + metadata: {}, + } as unknown as TransactionPayload; + + const signature = '0x01'; + + const submitPromise = network.submitTransaction(mockPayload, signature); + + dsMockUtils.updateTxStatus(transaction, dsMockUtils.MockTxStatus.Failed); + + await expect(submitPromise).rejects.toThrow(); + }); + + it('should throw an error if there is an error', async () => { + const transaction = dsMockUtils.createTxMock('asset', 'registerTicker', { + autoResolve: false, + }); + + // eslint-disable-next-line @typescript-eslint/no-explicit-any + (context.polymeshApi as any).tx = jest.fn().mockReturnValue(transaction); + + const mockPayload = { + payload: {}, + rawPayload: {}, + method: '0x01', + metadata: {}, + } as unknown as TransactionPayload; + + const signature = '0x01'; + + const submitPromise = network.submitTransaction(mockPayload, signature); + + dsMockUtils.updateTxStatus(transaction, dsMockUtils.MockTxStatus.Aborted); + + await expect(submitPromise).rejects.toThrow(); + }); + }); }); diff --git a/src/base/Context.ts b/src/base/Context.ts index ac3393a200..4a64e4eefa 100644 --- a/src/base/Context.ts +++ b/src/base/Context.ts @@ -249,7 +249,7 @@ export class Context { /** * @hidden */ - private get signingManager(): SigningManager { + public get signingManager(): SigningManager { const { _signingManager: manager } = this; if (!manager) { @@ -280,29 +280,34 @@ export class Context { * * Set the signing Account from among the existing ones in the Signing Manager * - * @throws if the passed address isn't valid, or isn't present in the Signing Manager + * @throws if the passed address isn't valid */ public async setSigningAddress(signingAddress: string): Promise { - const { signingManager } = this; - - const newAddress = signingAddress; + assertAddressValid(signingAddress, this.ss58Format); - assertAddressValid(newAddress, this.ss58Format); + this.signingAddress = signingAddress; + } + /** + * @hidden + * + * @throws if the passed address isn't present in the signing manager + */ + public async assertHasSigningAddress(address: string): Promise { + const { signingManager } = this; const accounts = await signingManager.getAccounts(); const newSigningAddress = accounts.find(account => { - return account === newAddress; + return account === address; }); if (!newSigningAddress) { throw new PolymeshError({ code: ErrorCode.General, message: 'The Account is not part of the Signing Manager attached to the SDK', + data: { address }, }); } - - this.signingAddress = newSigningAddress; } /** diff --git a/src/base/PolymeshTransactionBase.ts b/src/base/PolymeshTransactionBase.ts index 59179c51c7..a4be134f48 100644 --- a/src/base/PolymeshTransactionBase.ts +++ b/src/base/PolymeshTransactionBase.ts @@ -1,11 +1,11 @@ import { SubmittableExtrinsic } from '@polkadot/api/types'; -import { SpRuntimeDispatchError } from '@polkadot/types/lookup'; -import { ISubmittableResult, RegistryError, Signer as PolkadotSigner } from '@polkadot/types/types'; +import { ISubmittableResult, Signer as PolkadotSigner } from '@polkadot/types/types'; import BigNumber from 'bignumber.js'; import P from 'bluebird'; import { EventEmitter } from 'events'; import { range } from 'lodash'; +import { handleExtrinsicFailure } from '~/base/utils'; import { Context, Identity, PolymeshError } from '~/internal'; import { latestBlockQuery } from '~/middleware/queries'; import { Query } from '~/middleware/types'; @@ -16,6 +16,7 @@ import { PayingAccount, PayingAccountFees, PayingAccountType, + TransactionPayload, TransactionStatus, UnsubCallback, } from '~/types'; @@ -262,6 +263,8 @@ export abstract class PolymeshTransactionBase< private async internalRun(): Promise { const { signingAddress, signer, mortality, context } = this; + await context.assertHasSigningAddress(signingAddress); + // era is how many blocks the transaction remains valid for, `undefined` for default const era = mortality.immortal ? 0 : mortality.lifetime?.toNumber(); const nonce = context.getNonce().toNumber(); @@ -332,7 +335,7 @@ export abstract class PolymeshTransactionBase< const { data } = extrinsicFailedEvent; finishing = Promise.all([settingBlockData, unsubscribing]).then(() => { - this.handleExtrinsicFailure(resolve, reject, data[0]); + handleExtrinsicFailure(reject, data[0]); }); } else if (receipt.isFinalized) { finishing = Promise.all([settingBlockData, unsubscribing]).then(() => { @@ -596,35 +599,6 @@ export abstract class PolymeshTransactionBase< */ public abstract getProtocolFees(): Promise; - /** - * @hidden - */ - protected handleExtrinsicFailure( - _resolve: (value: ISubmittableResult | PromiseLike) => void, - reject: (reason?: unknown) => void, - error: SpRuntimeDispatchError, - data?: Record - ): void { - // get revert message from event - let message: string; - - if (error.isModule) { - // known error - const mod = error.asModule; - - const { section, name, docs }: RegistryError = mod.registry.findMetaError(mod); - message = `${section}.${name}: ${docs.join(' ')}`; - } else if (error.isBadOrigin) { - message = 'Bad origin'; - } else if (error.isCannotLookup) { - message = 'Could not lookup information required to validate the transaction'; - } else { - message = 'Unknown error'; - } - - reject(new PolymeshError({ code: ErrorCode.TransactionReverted, message, data })); - } - /** * @hidden */ @@ -708,6 +682,68 @@ export abstract class PolymeshTransactionBase< } } + /** + * Returns a representation intended for offline signers. + * + * @note Usually `.run()` should be preferred due to is simplicity. + * + * @note When using this method, details like account nonces, and transaction mortality require extra consideration. Generating a payload for offline sign implies asynchronicity. If using this API, be sure each procedure is created with the correct nonce, accounting for in flight transactions, and the lifetime is sufficient. + * + */ + public async toSignablePayload( + metadata: Record = {} + ): Promise { + const { + mortality, + signingAddress, + context, + context: { polymeshApi }, + } = this; + const tx = this.composeTx(); + + const [tipHash, latestBlockNumber] = await Promise.all([ + polymeshApi.rpc.chain.getFinalizedHead(), + context.getLatestBlock(), + ]); + + let era: ReturnType | string = '0x00'; + if (!mortality.immortal) { + const defaultPeriod = 64; + + era = context.createType('ExtrinsicEra', { + current: latestBlockNumber.toNumber(), + period: mortality.lifetime?.toNumber() ?? defaultPeriod, + }); + } + + let nonce: number = context.getNonce().toNumber(); + if (nonce < 0) { + const nextIndex = await polymeshApi.rpc.system.accountNextIndex(signingAddress); + + nonce = nextIndex.toNumber(); + } + + const rawSignerPayload = context.createType('SignerPayload', { + address: signingAddress, + method: tx, + nonce, + genesisHash: polymeshApi.genesisHash.toString(), + blockHash: tipHash.toString(), + specVersion: polymeshApi.runtimeVersion.specVersion, + transactionVersion: polymeshApi.runtimeVersion.transactionVersion, + runtimeVersion: polymeshApi.runtimeVersion, + version: polymeshApi.extrinsicVersion, + era, + }); + + return { + payload: rawSignerPayload.toPayload(), + rawPayload: rawSignerPayload.toRaw(), + method: tx.toHex(), + metadata, + }; + } + /** * returns true if transaction has completed successfully */ diff --git a/src/base/PolymeshTransactionBatch.ts b/src/base/PolymeshTransactionBatch.ts index 02d6f75bad..dfcb0faa6b 100644 --- a/src/base/PolymeshTransactionBatch.ts +++ b/src/base/PolymeshTransactionBatch.ts @@ -3,6 +3,7 @@ import { ISubmittableResult } from '@polkadot/types/types'; import BigNumber from 'bignumber.js'; import P from 'bluebird'; +import { handleExtrinsicFailure } from '~/base/utils'; import { Context, PolymeshError, PolymeshTransaction, PolymeshTransactionBase } from '~/internal'; import { ErrorCode, MapTxData } from '~/types'; import { @@ -254,7 +255,7 @@ export class PolymeshTransactionBatch< // eslint-disable-next-line @typescript-eslint/no-explicit-any const dispatchError = (failedData as any)[1]; - this.handleExtrinsicFailure(resolve, reject, dispatchError, { failedIndex }); + handleExtrinsicFailure(reject, dispatchError, { failedIndex }); } else { resolve(receipt); } diff --git a/src/base/__tests__/Context.ts b/src/base/__tests__/Context.ts index 9b88e2f388..4301f6bf78 100644 --- a/src/base/__tests__/Context.ts +++ b/src/base/__tests__/Context.ts @@ -207,20 +207,6 @@ describe('Context class', () => { jest.restoreAllMocks(); }); - it('should throw error if the passed address does not exist in the Signing Manager', async () => { - const context = await Context.create({ - polymeshApi: dsMockUtils.getApiInstance(), - middlewareApiV2: dsMockUtils.getMiddlewareApi(), - signingManager: dsMockUtils.getSigningManagerInstance({ - getAccounts: ['someAddress'], - }), - }); - - return expect(() => context.setSigningAddress('otherAddress')).rejects.toThrow( - 'The Account is not part of the Signing Manager attached to the SDK' - ); - }); - it('should set the passed value as signing address', async () => { const context = await Context.create({ polymeshApi: dsMockUtils.getApiInstance(), @@ -317,6 +303,36 @@ describe('Context class', () => { }); }); + describe('method: assertHasSigningAddress', () => { + let context: Context; + const address = '5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY'; + + beforeEach(async () => { + const signingManager = dsMockUtils.getSigningManagerInstance({ + getAccounts: [address], + }); + + context = await Context.create({ + signingManager, + polymeshApi: dsMockUtils.getApiInstance(), + middlewareApiV2: dsMockUtils.getMiddlewareApi(), + }); + }); + + it('should throw an error if the account is not present', async () => { + const expectedError = new PolymeshError({ + code: ErrorCode.General, + message: 'The Account is not part of the Signing Manager attached to the SDK', + }); + + await expect(context.assertHasSigningAddress('otherAddress')).rejects.toThrow(expectedError); + }); + + it('should not throw an error if the account is present', async () => { + await expect(context.assertHasSigningAddress(address)).resolves.not.toThrow(); + }); + }); + describe('method: accountBalance', () => { beforeAll(() => { jest.spyOn(utilsInternalModule, 'assertAddressValid').mockImplementation(); diff --git a/src/base/__tests__/PolymeshTransactionBase.ts b/src/base/__tests__/PolymeshTransactionBase.ts index 8e23d94564..e259840590 100644 --- a/src/base/__tests__/PolymeshTransactionBase.ts +++ b/src/base/__tests__/PolymeshTransactionBase.ts @@ -14,7 +14,7 @@ import { import { latestBlockQuery } from '~/middleware/queries'; import { fakePromise, fakePromises } from '~/testUtils'; import { dsMockUtils, entityMockUtils } from '~/testUtils/mocks'; -import { MockTxStatus } from '~/testUtils/mocks/dataSources'; +import { createMockSigningPayload, MockTxStatus } from '~/testUtils/mocks/dataSources'; import { Mocked } from '~/testUtils/types'; import { ErrorCode, PayingAccountType, TransactionStatus, TxTags } from '~/types'; import { tuple } from '~/types/utils'; @@ -556,6 +556,32 @@ describe('Polymesh Transaction Base class', () => { expect(tx.status).toBe(TransactionStatus.Failed); }); + it('should throw error if the signing address is not available in the Context', async () => { + const transaction = dsMockUtils.createTxMock('staking', 'bond', { + autoResolve: MockTxStatus.Succeeded, + }); + const args = tuple('JUST_KIDDING'); + + const expectedError = new PolymeshError({ + code: ErrorCode.General, + message: 'The Account is not part of the Signing Manager attached to the ', + }); + context = dsMockUtils.getContextInstance(); + context.assertHasSigningAddress.mockRejectedValue(expectedError); + + const tx = new PolymeshTransaction( + { + ...txSpec, + transaction, + args, + resolver: undefined, + }, + context + ); + + return expect(() => tx.run()).rejects.toThrow(expectedError); + }); + it('should call signAndSend with era 0 when given an immortal mortality option', async () => { const transaction = dsMockUtils.createTxMock('staking', 'bond'); const args = tuple('FOO'); @@ -1053,4 +1079,113 @@ describe('Polymesh Transaction Base class', () => { expect(tx.isSuccess).toEqual(false); }); }); + + describe('toSignablePayload', () => { + it('should return the payload', async () => { + const mockBlockNumber = dsMockUtils.createMockU32(new BigNumber(1)); + + dsMockUtils.configureMocks({ + contextOptions: { + nonce: new BigNumber(3), + }, + }); + + dsMockUtils.createRpcMock('chain', 'getFinalizedHead', { + returnValue: dsMockUtils.createMockSignedBlock({ + block: { + header: { + parentHash: 'hash', + number: dsMockUtils.createMockCompact(mockBlockNumber), + extrinsicsRoot: 'hash', + stateRoot: 'hash', + }, + extrinsics: undefined, + }, + }), + }); + + const genesisHash = '0x1234'; + jest.spyOn(context.polymeshApi.genesisHash, 'toString').mockReturnValue(genesisHash); + + const era = dsMockUtils.createMockExtrinsicsEra(); + + const mockSignerPayload = createMockSigningPayload(); + + when(context.createType) + .calledWith('SignerPayload', expect.objectContaining({ genesisHash })) + .mockReturnValue(mockSignerPayload); + + const transaction = dsMockUtils.createTxMock('asset', 'registerTicker'); + const args = tuple('FOO'); + + let tx = new PolymeshTransaction( + { + ...txSpec, + transaction, + args, + resolver: undefined, + mortality: { immortal: true }, + }, + context + ); + + const result = await tx.toSignablePayload(); + + expect(result).toMatchObject( + expect.objectContaining({ + payload: 'fakePayload', + rawPayload: 'fakeRawPayload', + method: expect.stringContaining('0x'), + metadata: {}, + }) + ); + + when(context.createType) + .calledWith( + 'ExtrinsicEra', + expect.objectContaining({ current: expect.any(Number), period: expect.any(Number) }) + ) + .mockReturnValue(era); + + tx = new PolymeshTransaction( + { + ...txSpec, + transaction, + args, + resolver: undefined, + mortality: { immortal: false, lifetime: new BigNumber(32) }, + }, + context + ); + + await tx.toSignablePayload(); + + expect(context.createType).toHaveBeenCalledWith( + 'ExtrinsicEra', + expect.objectContaining({ current: expect.any(Number), period: expect.any(Number) }) + ); + + tx = new PolymeshTransaction( + { + ...txSpec, + transaction, + args, + resolver: undefined, + mortality: { immortal: false }, + }, + context + ); + + context.getNonce.mockReturnValue(new BigNumber(-1)); + const mockIndex = dsMockUtils.createMockIndex(new BigNumber(3)); + + const mockNextIndex = dsMockUtils.createRpcMock('system', 'accountNextIndex', { + returnValue: mockIndex, + }); + + await tx.toSignablePayload(); + + expect(mockNextIndex).toHaveBeenCalled(); + }); + }); }); diff --git a/src/base/types.ts b/src/base/types.ts index f4c989cbaf..f085001e9b 100644 --- a/src/base/types.ts +++ b/src/base/types.ts @@ -1,9 +1,52 @@ /* istanbul ignore file: already being tested somewhere else */ +import { SignerPayloadJSON, SignerPayloadRaw } from '@polkadot/types/types'; +import { HexString } from '@polkadot/util/types'; + import { PolymeshError as PolymeshErrorClass } from './PolymeshError'; import { PolymeshTransaction as PolymeshTransactionClass } from './PolymeshTransaction'; import { PolymeshTransactionBatch as PolymeshTransactionBatchClass } from './PolymeshTransactionBatch'; +export interface TransactionPayload { + /** + * This is what a Polkadot signer ".signPayload" method expects + */ + readonly payload: SignerPayloadJSON; + + /** + * An alternative representation of the payload for which Polkadot signers providing ".signRaw" expects. + * + * @note if you wish to generate a signature without an external signer, the `data` field should be converted to its byte representation, which should be signed e.g. `const signThis = hexToU8a(rawPayload.data)` + * + * @note the signature should be prefixed with a single byte to indicate its type. Prepend a zero byte (`0x00`) for ed25519 or a `0x01` byte to indicate sr25519 if the signer implementation does not already do so. + */ + readonly rawPayload: SignerPayloadRaw; + + /** + * A hex representation of the core extrinsic information. i.e. the method and args + * + * This does not contain information about who is to sign the transaction. + * + * When submitting the transaction this will be used to construct the extrinsic, to which + * the signer payload and signature will be attached to. + * + * ```ts + * const transaction = sdk._polkadotApi.tx(txPayload.method) + * transaction.signPayload(signingAddress, signature, payload) + * transaction.send() + * ``` + * + * + * @note The payload also contains the method, however there it is encoded without the "length prefix", to save space for the chain. + */ + readonly method: HexString; + + /** + * Additional information can be attached to the payload, such as IDs or memos about the transaction + */ + readonly metadata: Record; +} + export type PolymeshTransaction< ReturnValue = unknown, TransformedReturnValue = ReturnValue, diff --git a/src/base/utils.ts b/src/base/utils.ts index 6364811f0a..f19621a363 100644 --- a/src/base/utils.ts +++ b/src/base/utils.ts @@ -1,10 +1,13 @@ import { getTypeDef } from '@polkadot/types'; -import { TypeDef, TypeDefInfo } from '@polkadot/types/types'; +import { SpRuntimeDispatchError } from '@polkadot/types/lookup'; +import { RegistryError, TypeDef, TypeDefInfo } from '@polkadot/types/types'; import { polymesh } from 'polymesh-types/definitions'; +import { PolymeshError } from '~/internal'; import { ArrayTransactionArgument, ComplexTransactionArgument, + ErrorCode, PlainTransactionArgument, SimpleEnumTransactionArgument, TransactionArgument, @@ -139,3 +142,28 @@ export const processType = (rawType: TypeDef, name: string): TransactionArgument } } }; + +export const handleExtrinsicFailure = ( + reject: (reason?: unknown) => void, + error: SpRuntimeDispatchError, + data?: Record +): void => { + // get revert message from event + let message: string; + + if (error.isModule) { + // known error + const mod = error.asModule; + + const { section, name, docs }: RegistryError = mod.registry.findMetaError(mod); + message = `${section}.${name}: ${docs.join(' ')}`; + } else if (error.isBadOrigin) { + message = 'Bad origin'; + } else if (error.isCannotLookup) { + message = 'Could not lookup information required to validate the transaction'; + } else { + message = 'Unknown error'; + } + + reject(new PolymeshError({ code: ErrorCode.TransactionReverted, message, data })); +}; diff --git a/src/testUtils/mocks/dataSources.ts b/src/testUtils/mocks/dataSources.ts index 2bf08864c9..7dee6324d1 100644 --- a/src/testUtils/mocks/dataSources.ts +++ b/src/testUtils/mocks/dataSources.ts @@ -875,6 +875,7 @@ function configureContext(opts: ContextOptions): void { supportsSubsidy: jest.fn().mockReturnValue(opts.supportsSubsidy), createType: jest.fn() as jest.Mock, getPolyxTransactions: jest.fn().mockResolvedValue(opts.getPolyxTransactions), + assertHasSigningAddress: jest.fn(), } as unknown as MockContext; contextInstance.clone = jest.fn().mockReturnValue(contextInstance); @@ -1147,6 +1148,53 @@ export function cleanup(): void { mockInstanceContainer.webSocketInstance = createWebSocket(); } +/** + * @hidden + */ +function isCodec(codec: any): codec is T { + return !!codec?._isCodec; +} + +/** + * @hidden + */ +const createMockCodec = (codec: unknown, isEmpty: boolean): MockCodec => { + if (isCodec(codec)) { + return codec as MockCodec; + } + const clone = cloneDeep(codec) as MockCodec>; + + (clone as any)._isCodec = true; + clone.isEmpty = isEmpty; + clone.eq = jest.fn(); + + return clone; +}; + +/** + * @hidden + * NOTE: `isEmpty` will be set to true if no value is passed + */ +const createMockStringCodec = (value?: string | T): MockCodec => { + if (isCodec(value)) { + return value as MockCodec; + } + + return createMockCodec( + { + toString: () => value, + }, + value === undefined + ); +}; + +/** + * @hidden + * NOTE: `isEmpty` will be set to true if no value is passed + */ +export const createMockHash = (value?: string | Hash): MockCodec => + createMockStringCodec(value); + /** * @hidden * Reinitialize mocks @@ -1192,36 +1240,50 @@ export function createTxMock< meta = { args: [] }, } = opts; - const transaction = jest.fn().mockReturnValue({ - method: tx, // should be a `Call` object, but this is enough for testing - hash: tx, - signAndSend: jest.fn().mockImplementation((_, __, cb: StatusCallback) => { - if (autoResolve === MockTxStatus.Rejected) { - return Promise.reject(new Error('Cancelled')); - } + const mockHandleSend = (cb: StatusCallback): Promise => { + if (autoResolve === MockTxStatus.Rejected) { + return Promise.reject(new Error('Cancelled')); + } - const unsubCallback = jest.fn(); + const unsubCallback = jest.fn(); - txMocksData.set(runtimeModule[tx], { - statusCallback: cb, - unsubCallback, - resolved: !!autoResolve, - status: null as unknown as MockTxStatus, - }); + txMocksData.set(runtimeModule[tx], { + statusCallback: cb, + unsubCallback, + resolved: !!autoResolve, + status: null as unknown as MockTxStatus, + }); - if (autoResolve) { - process.nextTick(() => cb(statusToReceipt(autoResolve))); - } + if (autoResolve) { + process.nextTick(() => cb(statusToReceipt(autoResolve))); + } - return new Promise(resolve => setImmediate(() => resolve(unsubCallback))); - }), + return new Promise(resolve => setImmediate(() => resolve(unsubCallback))); + }; + + const mockSend = jest.fn().mockImplementation((cb: StatusCallback) => { + return mockHandleSend(cb); + }); + + const mockSignAndSend = jest.fn().mockImplementation((_, __, cb: StatusCallback) => { + return mockHandleSend(cb); + }); + + const transaction = jest.fn().mockReturnValue({ + method: tx, // should be a `Call` object, but this is enough for testing + hash: tx, + signAndSend: mockSignAndSend, // eslint-disable-next-line @typescript-eslint/no-use-before-define paymentInfo: jest.fn().mockResolvedValue({ partialFee: gas }), + toHex: jest.fn().mockReturnValue('0x02'), }) as unknown as Extrinsics[ModuleName][TransactionName]; (transaction as any).section = mod; (transaction as any).method = tx; (transaction as any).meta = meta; + (transaction as any).addSignature = jest.fn(); + (transaction as any).send = mockSend; + (transaction as any).hash = createMockHash('0x01'); runtimeModule[tx] = transaction; @@ -1658,13 +1720,6 @@ export const setRuntimeVersion = (args: unknown): void => { mockInstanceContainer.apiInstance.runtimeVersion = args as RuntimeVersion; }; -/** - * @hidden - */ -function isCodec(codec: any): codec is T { - return !!codec?._isCodec; -} - /** * @hidden */ @@ -1674,22 +1729,6 @@ function isOption(codec: any): codec is Option { export type MockCodec = C & { eq: jest.Mock }; -/** - * @hidden - */ -const createMockCodec = (codec: unknown, isEmpty: boolean): MockCodec => { - if (isCodec(codec)) { - return codec as MockCodec; - } - const clone = cloneDeep(codec) as MockCodec>; - - (clone as any)._isCodec = true; - clone.isEmpty = isEmpty; - clone.eq = jest.fn(); - - return clone; -}; - export const createMockTupleCodec = ( tup?: ITuple | Readonly<[...unknown[]]> ): MockCodec> => { @@ -1700,23 +1739,6 @@ export const createMockTupleCodec = ( return createMockCodec>(tup, !tup); }; -/** - * @hidden - * NOTE: `isEmpty` will be set to true if no value is passed - */ -const createMockStringCodec = (value?: string | T): MockCodec => { - if (isCodec(value)) { - return value as MockCodec; - } - - return createMockCodec( - { - toString: () => value, - }, - value === undefined - ); -}; - /** * @hidden * NOTE: `isEmpty` will be set to true if no value is passed @@ -2034,13 +2056,6 @@ export const createMockPermill = (value?: BigNumber | Permill): MockCodec => createMockU8aCodec(value); -/** - * @hidden - * NOTE: `isEmpty` will be set to true if no value is passed - */ -export const createMockHash = (value?: string | Hash): MockCodec => - createMockStringCodec(value); - /** * @hidden */ @@ -4363,3 +4378,47 @@ export const createMockScheduleSpec = (scheduleSpec?: { !scheduleSpec ); }; + +/** + * @hidden + * NOTE: `isEmpty` will be set to true if no value is passed + */ +export const createMockExtrinsicsEra = (era?: { + current: u32 | Parameters[0]; + period: u32 | Parameters[0]; +}): MockCodec => { + const { current, period } = era ?? { + current: createMockU32(), + period: createMockU32(), + }; + + return createMockCodec( + { + current, + period, + }, + !era + ); +}; + +/** + * @hidden + * NOTE: `isEmpty` will be set to true if no value is passed + */ +export const createMockSigningPayload = (mockGetters?: { + toPayload: () => string; + toRaw: () => string; +}): MockCodec => { + const { toPayload, toRaw } = mockGetters ?? { + toPayload: () => 'fakePayload', + toRaw: () => 'fakeRawPayload', + }; + + return createMockCodec( + { + toPayload, + toRaw, + }, + !mockGetters + ); +}; diff --git a/yarn.lock b/yarn.lock index 8d21493a79..7b1ba7b155 100644 --- a/yarn.lock +++ b/yarn.lock @@ -16,9 +16,9 @@ "@jridgewell/trace-mapping" "^0.3.9" "@apollo/client@^3.8.1": - version "3.8.1" - resolved "https://registry.yarnpkg.com/@apollo/client/-/client-3.8.1.tgz#a1e3045a5fb276c08e38f7b5f930551d79741257" - integrity sha512-JGGj/9bdoLEqzatRikDeN8etseY5qeFAY0vSAx/Pd0ePNsaflKzHx6V2NZ0NsGkInq+9IXXX3RLVDf0EotizMA== + version "3.8.7" + resolved "https://registry.yarnpkg.com/@apollo/client/-/client-3.8.7.tgz#090b1518f513503b9a6a690ee3eaec49529822e1" + integrity sha512-DnQtFkQrCyxHTSa9gR84YRLmU/al6HeXcLZazVe+VxKBmx/Hj4rV8xWtzfWYX5ijartsqDR7SJgV037MATEecA== dependencies: "@graphql-typed-document-node/core" "^3.1.1" "@wry/context" "^0.7.3" @@ -64,14 +64,7 @@ dependencies: node-fetch "^2.6.1" -"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.12.13", "@babel/code-frame@^7.18.6", "@babel/code-frame@^7.21.4": - version "7.21.4" - resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.21.4.tgz#d0fa9e4413aca81f2b23b9442797bda1826edb39" - integrity sha512-LYvhNKfwWSPpocw8GI7gpK2nq3HSDuEPC/uSYaALSJu9xjsalaaYFOq0Pwt5KmVqwEbZlDu81aLXwBOmD/Fv9g== - dependencies: - "@babel/highlight" "^7.18.6" - -"@babel/code-frame@^7.22.10", "@babel/code-frame@^7.22.5": +"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.12.13", "@babel/code-frame@^7.22.13": version "7.22.13" resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.22.13.tgz#e3c1c099402598483b7a8c46a721d1038803755e" integrity sha512-XktuhWlJ5g+3TJXc5upd9Ks1HutSArik6jf2eAjYFyIOf4ej3RN+184cZbzDvbPnuTJIUhPKKJE3cIsYTiAT3w== @@ -79,154 +72,87 @@ "@babel/highlight" "^7.22.13" chalk "^2.4.2" -"@babel/compat-data@^7.20.5", "@babel/compat-data@^7.21.5": - version "7.21.7" - resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.21.7.tgz#61caffb60776e49a57ba61a88f02bedd8714f6bc" - integrity sha512-KYMqFYTaenzMK4yUtf4EW9wc4N9ef80FsbMtkwool5zpwl4YrT1SdWYSTRcT94KO4hannogdS+LxY7L+arP3gA== - -"@babel/compat-data@^7.22.9": - version "7.22.9" - resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.22.9.tgz#71cdb00a1ce3a329ce4cbec3a44f9fef35669730" - integrity sha512-5UamI7xkUcJ3i9qVDS+KFDEK8/7oJ55/sJMB1Ge7IEapr7KfdfV/HErR+koZwOfd+SgtFKOKRhRakdg++DcJpQ== - -"@babel/core@^7.11.6", "@babel/core@^7.12.3", "@babel/core@^7.14.0": - version "7.21.8" - resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.21.8.tgz#2a8c7f0f53d60100ba4c32470ba0281c92aa9aa4" - integrity sha512-YeM22Sondbo523Sz0+CirSPnbj9bG3P0CdHcBZdqUuaeOaYEFbOLoGU7lebvGP6P5J/WE9wOn7u7C4J9HvS1xQ== - dependencies: - "@ampproject/remapping" "^2.2.0" - "@babel/code-frame" "^7.21.4" - "@babel/generator" "^7.21.5" - "@babel/helper-compilation-targets" "^7.21.5" - "@babel/helper-module-transforms" "^7.21.5" - "@babel/helpers" "^7.21.5" - "@babel/parser" "^7.21.8" - "@babel/template" "^7.20.7" - "@babel/traverse" "^7.21.5" - "@babel/types" "^7.21.5" - convert-source-map "^1.7.0" - debug "^4.1.0" - gensync "^1.0.0-beta.2" - json5 "^2.2.2" - semver "^6.3.0" +"@babel/compat-data@^7.20.5", "@babel/compat-data@^7.22.9": + version "7.23.3" + resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.23.3.tgz#3febd552541e62b5e883a25eb3effd7c7379db11" + integrity sha512-BmR4bWbDIoFJmJ9z2cZ8Gmm2MXgEDgjdWgpKmKWUt54UGFJdlj31ECtbaDvCG/qVdG3AQ1SfpZEs01lUFbzLOQ== -"@babel/core@^7.22.11", "@babel/core@^7.22.9": - version "7.22.11" - resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.22.11.tgz#8033acaa2aa24c3f814edaaa057f3ce0ba559c24" - integrity sha512-lh7RJrtPdhibbxndr6/xx0w8+CVlY5FJZiaSz908Fpy+G0xkBFTvwLcKJFF4PJxVfGhVWNebikpWGnOoC71juQ== +"@babel/core@^7.11.6", "@babel/core@^7.12.3", "@babel/core@^7.14.0", "@babel/core@^7.22.11", "@babel/core@^7.22.9": + version "7.23.3" + resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.23.3.tgz#5ec09c8803b91f51cc887dedc2654a35852849c9" + integrity sha512-Jg+msLuNuCJDyBvFv5+OKOUjWMZgd85bKjbICd3zWrKAo+bJ49HJufi7CQE0q0uR8NGyO6xkCACScNqyjHSZew== dependencies: "@ampproject/remapping" "^2.2.0" - "@babel/code-frame" "^7.22.10" - "@babel/generator" "^7.22.10" - "@babel/helper-compilation-targets" "^7.22.10" - "@babel/helper-module-transforms" "^7.22.9" - "@babel/helpers" "^7.22.11" - "@babel/parser" "^7.22.11" - "@babel/template" "^7.22.5" - "@babel/traverse" "^7.22.11" - "@babel/types" "^7.22.11" - convert-source-map "^1.7.0" + "@babel/code-frame" "^7.22.13" + "@babel/generator" "^7.23.3" + "@babel/helper-compilation-targets" "^7.22.15" + "@babel/helper-module-transforms" "^7.23.3" + "@babel/helpers" "^7.23.2" + "@babel/parser" "^7.23.3" + "@babel/template" "^7.22.15" + "@babel/traverse" "^7.23.3" + "@babel/types" "^7.23.3" + convert-source-map "^2.0.0" debug "^4.1.0" gensync "^1.0.0-beta.2" json5 "^2.2.3" semver "^6.3.1" -"@babel/generator@^7.14.0", "@babel/generator@^7.18.13", "@babel/generator@^7.21.5", "@babel/generator@^7.7.2": - version "7.21.5" - resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.21.5.tgz#c0c0e5449504c7b7de8236d99338c3e2a340745f" - integrity sha512-SrKK/sRv8GesIW1bDagf9cCG38IOMYZusoe1dfg0D8aiUe3Amvoj1QtjTPAWcfrZFvIwlleLb0gxzQidL9w14w== +"@babel/generator@^7.14.0", "@babel/generator@^7.18.13", "@babel/generator@^7.23.3", "@babel/generator@^7.7.2": + version "7.23.3" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.23.3.tgz#86e6e83d95903fbe7613f448613b8b319f330a8e" + integrity sha512-keeZWAV4LU3tW0qRi19HRpabC/ilM0HRBBzf9/k8FFiG4KVpiv0FIy4hHfLfFQZNhziCTPTmd59zoyv6DNISzg== dependencies: - "@babel/types" "^7.21.5" + "@babel/types" "^7.23.3" "@jridgewell/gen-mapping" "^0.3.2" "@jridgewell/trace-mapping" "^0.3.17" jsesc "^2.5.1" -"@babel/generator@^7.22.10": - version "7.22.10" - resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.22.10.tgz#c92254361f398e160645ac58831069707382b722" - integrity sha512-79KIf7YiWjjdZ81JnLujDRApWtl7BxTqWD88+FFdQEIOG8LJ0etDOM7CXuIgGJa55sGOwZVwuEsaLEm0PJ5/+A== - dependencies: - "@babel/types" "^7.22.10" - "@jridgewell/gen-mapping" "^0.3.2" - "@jridgewell/trace-mapping" "^0.3.17" - jsesc "^2.5.1" - -"@babel/helper-annotate-as-pure@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.18.6.tgz#eaa49f6f80d5a33f9a5dd2276e6d6e451be0a6bb" - integrity sha512-duORpUiYrEpzKIop6iNbjnwKLAKnJ47csTyRACyEmWj0QdUrm5aqNJGHSSEQSUAvNW0ojX0dOmK9dZduvkfeXA== - dependencies: - "@babel/types" "^7.18.6" - -"@babel/helper-compilation-targets@^7.18.9", "@babel/helper-compilation-targets@^7.20.7", "@babel/helper-compilation-targets@^7.21.5": - version "7.21.5" - resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.21.5.tgz#631e6cc784c7b660417421349aac304c94115366" - integrity sha512-1RkbFGUKex4lvsB9yhIfWltJM5cZKUftB2eNajaDv3dCMEp49iBG0K14uH8NnX9IPux2+mK7JGEOB0jn48/J6w== +"@babel/helper-annotate-as-pure@^7.22.5": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.22.5.tgz#e7f06737b197d580a01edf75d97e2c8be99d3882" + integrity sha512-LvBTxu8bQSQkcyKOU+a1btnNFQ1dMAd0R6PyW3arXes06F6QLWLIrd681bxRPIXlrMGR3XYnW9JyML7dP3qgxg== dependencies: - "@babel/compat-data" "^7.21.5" - "@babel/helper-validator-option" "^7.21.0" - browserslist "^4.21.3" - lru-cache "^5.1.1" - semver "^6.3.0" + "@babel/types" "^7.22.5" -"@babel/helper-compilation-targets@^7.22.10": - version "7.22.10" - resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.22.10.tgz#01d648bbc25dd88f513d862ee0df27b7d4e67024" - integrity sha512-JMSwHD4J7SLod0idLq5PKgI+6g/hLD/iuWBq08ZX49xE14VpVEojJ5rHWptpirV2j020MvypRLAXAO50igCJ5Q== +"@babel/helper-compilation-targets@^7.20.7", "@babel/helper-compilation-targets@^7.22.15": + version "7.22.15" + resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.22.15.tgz#0698fc44551a26cf29f18d4662d5bf545a6cfc52" + integrity sha512-y6EEzULok0Qvz8yyLkCvVX+02ic+By2UdOhylwUOvOn9dvYc9mKICJuuU1n1XBI02YWsNsnrY1kc6DVbjcXbtw== dependencies: "@babel/compat-data" "^7.22.9" - "@babel/helper-validator-option" "^7.22.5" + "@babel/helper-validator-option" "^7.22.15" browserslist "^4.21.9" lru-cache "^5.1.1" semver "^6.3.1" "@babel/helper-create-class-features-plugin@^7.18.6": - version "7.21.8" - resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.21.8.tgz#205b26330258625ef8869672ebca1e0dee5a0f02" - integrity sha512-+THiN8MqiH2AczyuZrnrKL6cAxFRRQDKW9h1YkBvbgKmAm6mwiacig1qT73DHIWMGo40GRnsEfN3LA+E6NtmSw== - dependencies: - "@babel/helper-annotate-as-pure" "^7.18.6" - "@babel/helper-environment-visitor" "^7.21.5" - "@babel/helper-function-name" "^7.21.0" - "@babel/helper-member-expression-to-functions" "^7.21.5" - "@babel/helper-optimise-call-expression" "^7.18.6" - "@babel/helper-replace-supers" "^7.21.5" - "@babel/helper-skip-transparent-expression-wrappers" "^7.20.0" - "@babel/helper-split-export-declaration" "^7.18.6" - semver "^6.3.0" - -"@babel/helper-environment-visitor@^7.18.9", "@babel/helper-environment-visitor@^7.21.5": - version "7.21.5" - resolved "https://registry.yarnpkg.com/@babel/helper-environment-visitor/-/helper-environment-visitor-7.21.5.tgz#c769afefd41d171836f7cb63e295bedf689d48ba" - integrity sha512-IYl4gZ3ETsWocUWgsFZLM5i1BYx9SoemminVEXadgLBa9TdeorzgLKm8wWLA6J1N/kT3Kch8XIk1laNzYoHKvQ== - -"@babel/helper-environment-visitor@^7.22.5": - version "7.22.5" - resolved "https://registry.yarnpkg.com/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.5.tgz#f06dd41b7c1f44e1f8da6c4055b41ab3a09a7e98" - integrity sha512-XGmhECfVA/5sAt+H+xpSg0mfrHq6FzNr9Oxh7PSEBBRUb/mL7Kz3NICXb194rCqAEdxkhPT1a88teizAFyvk8Q== - -"@babel/helper-function-name@^7.18.9", "@babel/helper-function-name@^7.21.0": - version "7.21.0" - resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.21.0.tgz#d552829b10ea9f120969304023cd0645fa00b1b4" - integrity sha512-HfK1aMRanKHpxemaY2gqBmL04iAPOPRj7DxtNbiDOrJK+gdwkiNRVpCpUJYbUT+aZyemKN8brqTOxzCaG6ExRg== + version "7.22.15" + resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.22.15.tgz#97a61b385e57fe458496fad19f8e63b63c867de4" + integrity sha512-jKkwA59IXcvSaiK2UN45kKwSC9o+KuoXsBDvHvU/7BecYIp8GQ2UwrVvFgJASUT+hBnwJx6MhvMCuMzwZZ7jlg== dependencies: - "@babel/template" "^7.20.7" - "@babel/types" "^7.21.0" + "@babel/helper-annotate-as-pure" "^7.22.5" + "@babel/helper-environment-visitor" "^7.22.5" + "@babel/helper-function-name" "^7.22.5" + "@babel/helper-member-expression-to-functions" "^7.22.15" + "@babel/helper-optimise-call-expression" "^7.22.5" + "@babel/helper-replace-supers" "^7.22.9" + "@babel/helper-skip-transparent-expression-wrappers" "^7.22.5" + "@babel/helper-split-export-declaration" "^7.22.6" + semver "^6.3.1" -"@babel/helper-function-name@^7.22.5": - version "7.22.5" - resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.22.5.tgz#ede300828905bb15e582c037162f99d5183af1be" - integrity sha512-wtHSq6jMRE3uF2otvfuD3DIvVhOsSNshQl0Qrd7qC9oQJzHvOL4qQXlQn2916+CXGywIjpGuIkoyZRRxHPiNQQ== - dependencies: - "@babel/template" "^7.22.5" - "@babel/types" "^7.22.5" +"@babel/helper-environment-visitor@^7.22.20", "@babel/helper-environment-visitor@^7.22.5": + version "7.22.20" + resolved "https://registry.yarnpkg.com/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.20.tgz#96159db61d34a29dba454c959f5ae4a649ba9167" + integrity sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA== -"@babel/helper-hoist-variables@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.18.6.tgz#d4d2c8fb4baeaa5c68b99cc8245c56554f926678" - integrity sha512-UlJQPkFqFULIcyW5sbzgbkxn2FKRgwWiRexcuaR8RNJRy8+LLveqPjwZV/bwrLZCN0eUHD/x8D0heK1ozuoo6Q== +"@babel/helper-function-name@^7.22.5", "@babel/helper-function-name@^7.23.0": + version "7.23.0" + resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.23.0.tgz#1f9a3cdbd5b2698a670c30d2735f9af95ed52759" + integrity sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw== dependencies: - "@babel/types" "^7.18.6" + "@babel/template" "^7.22.15" + "@babel/types" "^7.23.0" "@babel/helper-hoist-variables@^7.22.5": version "7.22.5" @@ -235,87 +161,51 @@ dependencies: "@babel/types" "^7.22.5" -"@babel/helper-member-expression-to-functions@^7.21.5": - version "7.21.5" - resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.21.5.tgz#3b1a009af932e586af77c1030fba9ee0bde396c0" - integrity sha512-nIcGfgwpH2u4n9GG1HpStW5Ogx7x7ekiFHbjjFRKXbn5zUvqO9ZgotCO4x1aNbKn/x/xOUaXEhyNHCwtFCpxWg== +"@babel/helper-member-expression-to-functions@^7.22.15": + version "7.23.0" + resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.23.0.tgz#9263e88cc5e41d39ec18c9a3e0eced59a3e7d366" + integrity sha512-6gfrPwh7OuT6gZyJZvd6WbTfrqAo7vm4xCzAXOusKqq/vWdKXphTpj5klHKNmRUU6/QRGlBsyU9mAIPaWHlqJA== dependencies: - "@babel/types" "^7.21.5" + "@babel/types" "^7.23.0" -"@babel/helper-module-imports@^7.21.4": - version "7.21.4" - resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.21.4.tgz#ac88b2f76093637489e718a90cec6cf8a9b029af" - integrity sha512-orajc5T2PsRYUN3ZryCEFeMDYwyw09c/pZeaQEZPH0MpKzSvn3e0uXsDBu3k03VI+9DBiRo+l22BfKTpKwa/Wg== +"@babel/helper-module-imports@^7.22.15": + version "7.22.15" + resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.22.15.tgz#16146307acdc40cc00c3b2c647713076464bdbf0" + integrity sha512-0pYVBnDKZO2fnSPCrgM/6WMc7eS20Fbok+0r88fp+YtWVLZrp4CkafFGIp+W0VKw4a22sgebPT99y+FDNMdP4w== dependencies: - "@babel/types" "^7.21.4" + "@babel/types" "^7.22.15" -"@babel/helper-module-imports@^7.22.5": - version "7.22.5" - resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.22.5.tgz#1a8f4c9f4027d23f520bd76b364d44434a72660c" - integrity sha512-8Dl6+HD/cKifutF5qGd/8ZJi84QeAKh+CEe1sBzz8UayBBGg1dAIJrdHOcOM5b2MpzWL2yuotJTtGjETq0qjXg== +"@babel/helper-module-transforms@^7.22.9", "@babel/helper-module-transforms@^7.23.3": + version "7.23.3" + resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.23.3.tgz#d7d12c3c5d30af5b3c0fcab2a6d5217773e2d0f1" + integrity sha512-7bBs4ED9OmswdfDzpz4MpWgSrV7FXlc3zIagvLFjS5H+Mk7Snr21vQ6QwrsoCGMfNC4e4LQPdoULEt4ykz0SRQ== dependencies: - "@babel/types" "^7.22.5" - -"@babel/helper-module-transforms@^7.21.5": - version "7.21.5" - resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.21.5.tgz#d937c82e9af68d31ab49039136a222b17ac0b420" - integrity sha512-bI2Z9zBGY2q5yMHoBvJ2a9iX3ZOAzJPm7Q8Yz6YeoUjU/Cvhmi2G4QyTNyPBqqXSgTjUxRg3L0xV45HvkNWWBw== - dependencies: - "@babel/helper-environment-visitor" "^7.21.5" - "@babel/helper-module-imports" "^7.21.4" - "@babel/helper-simple-access" "^7.21.5" - "@babel/helper-split-export-declaration" "^7.18.6" - "@babel/helper-validator-identifier" "^7.19.1" - "@babel/template" "^7.20.7" - "@babel/traverse" "^7.21.5" - "@babel/types" "^7.21.5" - -"@babel/helper-module-transforms@^7.22.9": - version "7.22.9" - resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.22.9.tgz#92dfcb1fbbb2bc62529024f72d942a8c97142129" - integrity sha512-t+WA2Xn5K+rTeGtC8jCsdAH52bjggG5TKRuRrAGNM/mjIbO4GxvlLMFOEz9wXY5I2XQ60PMFsAG2WIcG82dQMQ== - dependencies: - "@babel/helper-environment-visitor" "^7.22.5" - "@babel/helper-module-imports" "^7.22.5" + "@babel/helper-environment-visitor" "^7.22.20" + "@babel/helper-module-imports" "^7.22.15" "@babel/helper-simple-access" "^7.22.5" "@babel/helper-split-export-declaration" "^7.22.6" - "@babel/helper-validator-identifier" "^7.22.5" + "@babel/helper-validator-identifier" "^7.22.20" -"@babel/helper-optimise-call-expression@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.18.6.tgz#9369aa943ee7da47edab2cb4e838acf09d290ffe" - integrity sha512-HP59oD9/fEHQkdcbgFCnbmgH5vIQTJbxh2yf+CdM89/glUNnuzr87Q8GIjGEnOktTROemO0Pe0iPAYbqZuOUiA== +"@babel/helper-optimise-call-expression@^7.22.5": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.22.5.tgz#f21531a9ccbff644fdd156b4077c16ff0c3f609e" + integrity sha512-HBwaojN0xFRx4yIvpwGqxiV2tUfl7401jlok564NgB9EHS1y6QT17FmKWm4ztqjeVdXLuC4fSvHc5ePpQjoTbw== dependencies: - "@babel/types" "^7.18.6" - -"@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.10.4", "@babel/helper-plugin-utils@^7.12.13", "@babel/helper-plugin-utils@^7.14.5", "@babel/helper-plugin-utils@^7.18.6", "@babel/helper-plugin-utils@^7.18.9", "@babel/helper-plugin-utils@^7.19.0", "@babel/helper-plugin-utils@^7.20.2", "@babel/helper-plugin-utils@^7.21.5", "@babel/helper-plugin-utils@^7.8.0": - version "7.21.5" - resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.21.5.tgz#345f2377d05a720a4e5ecfa39cbf4474a4daed56" - integrity sha512-0WDaIlXKOX/3KfBK/dwP1oQGiPh6rjMkT7HIRv7i5RR2VUMwrx5ZL0dwBkKx7+SW1zwNdgjHd34IMk5ZjTeHVg== + "@babel/types" "^7.22.5" -"@babel/helper-plugin-utils@^7.22.5": +"@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.10.4", "@babel/helper-plugin-utils@^7.12.13", "@babel/helper-plugin-utils@^7.14.5", "@babel/helper-plugin-utils@^7.18.6", "@babel/helper-plugin-utils@^7.20.2", "@babel/helper-plugin-utils@^7.22.5", "@babel/helper-plugin-utils@^7.8.0": version "7.22.5" resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.22.5.tgz#dd7ee3735e8a313b9f7b05a773d892e88e6d7295" integrity sha512-uLls06UVKgFG9QD4OeFYLEGteMIAa5kpTPcFL28yuCIIzsf6ZyKZMllKVOCZFhiZ5ptnwX4mtKdWCBE/uT4amg== -"@babel/helper-replace-supers@^7.18.6", "@babel/helper-replace-supers@^7.20.7", "@babel/helper-replace-supers@^7.21.5": - version "7.21.5" - resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.21.5.tgz#a6ad005ba1c7d9bc2973dfde05a1bba7065dde3c" - integrity sha512-/y7vBgsr9Idu4M6MprbOVUfH3vs7tsIfnVWv/Ml2xgwvyH6LTngdfbf5AdsKwkJy4zgy1X/kuNrEKvhhK28Yrg== +"@babel/helper-replace-supers@^7.22.20", "@babel/helper-replace-supers@^7.22.9": + version "7.22.20" + resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.22.20.tgz#e37d367123ca98fe455a9887734ed2e16eb7a793" + integrity sha512-qsW0In3dbwQUbK8kejJ4R7IHVGwHJlV6lpG6UA7a9hSa2YEiAib+N1T2kr6PEeUT+Fl7najmSOS6SmAwCHK6Tw== dependencies: - "@babel/helper-environment-visitor" "^7.21.5" - "@babel/helper-member-expression-to-functions" "^7.21.5" - "@babel/helper-optimise-call-expression" "^7.18.6" - "@babel/template" "^7.20.7" - "@babel/traverse" "^7.21.5" - "@babel/types" "^7.21.5" - -"@babel/helper-simple-access@^7.21.5": - version "7.21.5" - resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.21.5.tgz#d697a7971a5c39eac32c7e63c0921c06c8a249ee" - integrity sha512-ENPDAMC1wAjR0uaCUwliBdiSl1KBJAVnMTzXqi64c2MG8MPR6ii4qf7bSXDqSFbr4W6W028/rf5ivoHop5/mkg== - dependencies: - "@babel/types" "^7.21.5" + "@babel/helper-environment-visitor" "^7.22.20" + "@babel/helper-member-expression-to-functions" "^7.22.15" + "@babel/helper-optimise-call-expression" "^7.22.5" "@babel/helper-simple-access@^7.22.5": version "7.22.5" @@ -324,19 +214,12 @@ dependencies: "@babel/types" "^7.22.5" -"@babel/helper-skip-transparent-expression-wrappers@^7.20.0": - version "7.20.0" - resolved "https://registry.yarnpkg.com/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.20.0.tgz#fbe4c52f60518cab8140d77101f0e63a8a230684" - integrity sha512-5y1JYeNKfvnT8sZcK9DVRtpTbGiomYIHviSP3OQWmDPU3DeH4a1ZlT/N2lyQ5P8egjcRaT/Y9aNqUxK0WsnIIg== - dependencies: - "@babel/types" "^7.20.0" - -"@babel/helper-split-export-declaration@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.18.6.tgz#7367949bc75b20c6d5a5d4a97bba2824ae8ef075" - integrity sha512-bde1etTx6ZyTmobl9LLMMQsaizFVZrquTEHOqKeQESMKo4PlObf+8+JA25ZsIpZhT/WEd39+vOdLXAFG/nELpA== +"@babel/helper-skip-transparent-expression-wrappers@^7.22.5": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.22.5.tgz#007f15240b5751c537c40e77abb4e89eeaaa8847" + integrity sha512-tK14r66JZKiC43p8Ki33yLBVJKlQDFoA8GYN67lWCDCqoL6EMMSuM9b+Iff2jHaM/RRFYl7K+iiru7hbRqNx8Q== dependencies: - "@babel/types" "^7.18.6" + "@babel/types" "^7.22.5" "@babel/helper-split-export-declaration@^7.22.6": version "7.22.6" @@ -345,81 +228,43 @@ dependencies: "@babel/types" "^7.22.5" -"@babel/helper-string-parser@^7.21.5": - version "7.21.5" - resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.21.5.tgz#2b3eea65443c6bdc31c22d037c65f6d323b6b2bd" - integrity sha512-5pTUx3hAJaZIdW99sJ6ZUUgWq/Y+Hja7TowEnLNMm1VivRgZQL3vpBY3qUACVsvw+yQU6+YgfBVmcbLaZtrA1w== - "@babel/helper-string-parser@^7.22.5": version "7.22.5" resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.22.5.tgz#533f36457a25814cf1df6488523ad547d784a99f" integrity sha512-mM4COjgZox8U+JcXQwPijIZLElkgEpO5rsERVDJTc2qfCDfERyob6k5WegS14SX18IIjv+XD+GrqNumY5JRCDw== -"@babel/helper-validator-identifier@^7.18.6", "@babel/helper-validator-identifier@^7.19.1": - version "7.19.1" - resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz#7eea834cf32901ffdc1a7ee555e2f9c27e249ca2" - integrity sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w== - -"@babel/helper-validator-identifier@^7.22.5": - version "7.22.5" - resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.5.tgz#9544ef6a33999343c8740fa51350f30eeaaaf193" - integrity sha512-aJXu+6lErq8ltp+JhkJUfk1MTGyuA4v7f3pA+BJ5HLfNC6nAQ0Cpi9uOquUj8Hehg0aUiHzWQbOVJGao6ztBAQ== - -"@babel/helper-validator-option@^7.21.0": - version "7.21.0" - resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.21.0.tgz#8224c7e13ace4bafdc4004da2cf064ef42673180" - integrity sha512-rmL/B8/f0mKS2baE9ZpyTcTavvEuWhTTW8amjzXNvYG4AwBsqTLikfXsEofsJEfKHf+HQVQbFOHy6o+4cnC/fQ== - -"@babel/helper-validator-option@^7.22.5": - version "7.22.5" - resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.22.5.tgz#de52000a15a177413c8234fa3a8af4ee8102d0ac" - integrity sha512-R3oB6xlIVKUnxNUxbmgq7pKjxpru24zlimpE8WK47fACIlM0II/Hm1RS8IaOI7NgCr6LNS+jl5l75m20npAziw== - -"@babel/helpers@^7.21.5": - version "7.21.5" - resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.21.5.tgz#5bac66e084d7a4d2d9696bdf0175a93f7fb63c08" - integrity sha512-BSY+JSlHxOmGsPTydUkPf1MdMQ3M81x5xGCOVgWM3G8XH77sJ292Y2oqcp0CbbgxhqBuI46iUz1tT7hqP7EfgA== - dependencies: - "@babel/template" "^7.20.7" - "@babel/traverse" "^7.21.5" - "@babel/types" "^7.21.5" +"@babel/helper-validator-identifier@^7.22.20": + version "7.22.20" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz#c4ae002c61d2879e724581d96665583dbc1dc0e0" + integrity sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A== -"@babel/helpers@^7.22.11": - version "7.22.11" - resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.22.11.tgz#b02f5d5f2d7abc21ab59eeed80de410ba70b056a" - integrity sha512-vyOXC8PBWaGc5h7GMsNx68OH33cypkEDJCHvYVVgVbbxJDROYVtexSk0gK5iCF1xNjRIN2s8ai7hwkWDq5szWg== - dependencies: - "@babel/template" "^7.22.5" - "@babel/traverse" "^7.22.11" - "@babel/types" "^7.22.11" +"@babel/helper-validator-option@^7.22.15": + version "7.22.15" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.22.15.tgz#694c30dfa1d09a6534cdfcafbe56789d36aba040" + integrity sha512-bMn7RmyFjY/mdECUbgn9eoSY4vqvacUnS9i9vGAGttgFWesO6B4CYWA7XlpbWgBt71iv/hfbPlynohStqnu5hA== -"@babel/highlight@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.18.6.tgz#81158601e93e2563795adcbfbdf5d64be3f2ecdf" - integrity sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g== +"@babel/helpers@^7.23.2": + version "7.23.2" + resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.23.2.tgz#2832549a6e37d484286e15ba36a5330483cac767" + integrity sha512-lzchcp8SjTSVe/fPmLwtWVBFC7+Tbn8LGHDVfDp9JGxpAY5opSaEFgt8UQvrnECWOTdji2mOWMz1rOhkHscmGQ== dependencies: - "@babel/helper-validator-identifier" "^7.18.6" - chalk "^2.0.0" - js-tokens "^4.0.0" + "@babel/template" "^7.22.15" + "@babel/traverse" "^7.23.2" + "@babel/types" "^7.23.0" "@babel/highlight@^7.22.13": - version "7.22.13" - resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.22.13.tgz#9cda839e5d3be9ca9e8c26b6dd69e7548f0cbf16" - integrity sha512-C/BaXcnnvBCmHTpz/VGZ8jgtE2aYlW4hxDhseJAWZb7gqGM/qtCK6iZUb0TyKFf7BOUsBH7Q7fkRsDRhg1XklQ== + version "7.22.20" + resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.22.20.tgz#4ca92b71d80554b01427815e06f2df965b9c1f54" + integrity sha512-dkdMCN3py0+ksCgYmGG8jKeGA/8Tk+gJwSYYlFGxG5lmhfKNoAy004YpLxpS1W2J8m/EK2Ew+yOs9pVRwO89mg== dependencies: - "@babel/helper-validator-identifier" "^7.22.5" + "@babel/helper-validator-identifier" "^7.22.20" chalk "^2.4.2" js-tokens "^4.0.0" -"@babel/parser@^7.1.0", "@babel/parser@^7.14.0", "@babel/parser@^7.14.7", "@babel/parser@^7.16.8", "@babel/parser@^7.20.7", "@babel/parser@^7.21.5", "@babel/parser@^7.21.8": - version "7.21.8" - resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.21.8.tgz#642af7d0333eab9c0ad70b14ac5e76dbde7bfdf8" - integrity sha512-6zavDGdzG3gUqAdWvlLFfk+36RilI+Pwyuuh7HItyeScCWP3k6i8vKclAQ0bM/0y/Kz/xiwvxhMv9MgTJP5gmA== - -"@babel/parser@^7.22.11", "@babel/parser@^7.22.5": - version "7.22.13" - resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.22.13.tgz#23fb17892b2be7afef94f573031c2f4b42839a2b" - integrity sha512-3l6+4YOvc9wx7VlCSw4yQfcBo01ECA8TicQfbnCPuCEpRQrf+gTUyGdxNw+pyTUyywp6JRD1w0YQs9TpBXYlkw== +"@babel/parser@^7.1.0", "@babel/parser@^7.14.0", "@babel/parser@^7.14.7", "@babel/parser@^7.16.8", "@babel/parser@^7.20.7", "@babel/parser@^7.22.15", "@babel/parser@^7.23.3": + version "7.23.3" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.23.3.tgz#0ce0be31a4ca4f1884b5786057cadcb6c3be58f9" + integrity sha512-uVsWNvlVsIninV2prNz/3lHCb+5CJ+e+IUBfbjToAHODtfGYLfCFuY4AU7TskI+dAKk+njsPiBjq1gKTvZOBaw== "@babel/plugin-proposal-class-properties@^7.0.0": version "7.18.6" @@ -461,19 +306,19 @@ dependencies: "@babel/helper-plugin-utils" "^7.12.13" -"@babel/plugin-syntax-flow@^7.0.0", "@babel/plugin-syntax-flow@^7.18.6": - version "7.21.4" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-flow/-/plugin-syntax-flow-7.21.4.tgz#3e37fca4f06d93567c1cd9b75156422e90a67107" - integrity sha512-l9xd3N+XG4fZRxEP3vXdK6RW7vN1Uf5dxzRC/09wV86wqZ/YYQooBIGNsiRdfNR3/q2/5pPzV4B54J/9ctX5jw== +"@babel/plugin-syntax-flow@^7.0.0", "@babel/plugin-syntax-flow@^7.23.3": + version "7.23.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-flow/-/plugin-syntax-flow-7.23.3.tgz#084564e0f3cc21ea6c70c44cff984a1c0509729a" + integrity sha512-YZiAIpkJAwQXBJLIQbRFayR5c+gJ35Vcz3bg954k7cd73zqjvhacJuL9RbrzPz8qPmZdgqP6EUKwy0PCNhaaPA== dependencies: - "@babel/helper-plugin-utils" "^7.20.2" + "@babel/helper-plugin-utils" "^7.22.5" "@babel/plugin-syntax-import-assertions@^7.20.0": - version "7.20.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.20.0.tgz#bb50e0d4bea0957235390641209394e87bdb9cc4" - integrity sha512-IUh1vakzNoWalR8ch/areW7qFopR2AEw03JlG7BbrDqmQ4X3q9uuipQwSGrUn7oGiemKjtSLDhNtQHzMHr1JdQ== + version "7.23.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.23.3.tgz#9c05a7f592982aff1a2768260ad84bcd3f0c77fc" + integrity sha512-lPgDSU+SJLK3xmFDTV2ZRQAiM7UuUjGidwBywFavObCiZc1BeAAcMtHJKUya92hPHO+at63JJPLygilZard8jw== dependencies: - "@babel/helper-plugin-utils" "^7.19.0" + "@babel/helper-plugin-utils" "^7.22.5" "@babel/plugin-syntax-import-meta@^7.8.3": version "7.10.4" @@ -489,17 +334,10 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.0" -"@babel/plugin-syntax-jsx@^7.0.0", "@babel/plugin-syntax-jsx@^7.21.4": - version "7.21.4" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.21.4.tgz#f264ed7bf40ffc9ec239edabc17a50c4f5b6fea2" - integrity sha512-5hewiLct5OKyh6PLKEYaFclcqtIgCb6bmELouxjF6up5q3Sov7rOayW4RwhbaBL0dit8rA80GNfY+UuDp2mBbQ== - dependencies: - "@babel/helper-plugin-utils" "^7.20.2" - -"@babel/plugin-syntax-jsx@^7.7.2": - version "7.22.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.22.5.tgz#a6b68e84fb76e759fc3b93e901876ffabbe1d918" - integrity sha512-gvyP4hZrgrs/wWMaocvxZ44Hw0b3W8Pe+cMxc8V1ULQ07oh8VNbIRaoD1LRZVTvD+0nieDKjfgKg89sD7rrKrg== +"@babel/plugin-syntax-jsx@^7.0.0", "@babel/plugin-syntax-jsx@^7.22.5", "@babel/plugin-syntax-jsx@^7.7.2": + version "7.23.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.23.3.tgz#8f2e4f8a9b5f9aa16067e142c1ac9cd9f810f473" + integrity sha512-EB2MELswq55OHUoRZLGg/zC7QWUKfNLpE57m/S2yr1uEneIgsTgrSzXP3NXEsMkVn76OlaVVnzN+ugObuYGwhg== dependencies: "@babel/helper-plugin-utils" "^7.22.5" @@ -553,100 +391,100 @@ "@babel/helper-plugin-utils" "^7.14.5" "@babel/plugin-syntax-typescript@^7.7.2": - version "7.21.4" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.21.4.tgz#2751948e9b7c6d771a8efa59340c15d4a2891ff8" - integrity sha512-xz0D39NvhQn4t4RNsHmDnnsaQizIlUkdtYvLs8La1BlfjQ6JEwxkJGeqJMW2tAXx+q6H+WFuUTXNdYVpEya0YA== + version "7.23.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.23.3.tgz#24f460c85dbbc983cd2b9c4994178bcc01df958f" + integrity sha512-9EiNjVJOMwCO+43TqoTrgQ8jMwcAd0sWyXi9RPfIsLTj4R2MADDDQXELhffaUx/uJv2AYcxBgPwH6j4TIA4ytQ== dependencies: - "@babel/helper-plugin-utils" "^7.20.2" + "@babel/helper-plugin-utils" "^7.22.5" "@babel/plugin-transform-arrow-functions@^7.0.0": - version "7.21.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.21.5.tgz#9bb42a53de447936a57ba256fbf537fc312b6929" - integrity sha512-wb1mhwGOCaXHDTcsRYMKF9e5bbMgqwxtqa2Y1ifH96dXJPwbuLX9qHy3clhrxVqgMz7nyNXs8VkxdH8UBcjKqA== + version "7.23.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.23.3.tgz#94c6dcfd731af90f27a79509f9ab7fb2120fc38b" + integrity sha512-NzQcQrzaQPkaEwoTm4Mhyl8jI1huEL/WWIEvudjTCMJ9aBZNpsJbMASx7EQECtQQPS/DcnFpo0FIh3LvEO9cxQ== dependencies: - "@babel/helper-plugin-utils" "^7.21.5" + "@babel/helper-plugin-utils" "^7.22.5" "@babel/plugin-transform-block-scoped-functions@^7.0.0": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.18.6.tgz#9187bf4ba302635b9d70d986ad70f038726216a8" - integrity sha512-ExUcOqpPWnliRcPqves5HJcJOvHvIIWfuS4sroBUenPuMdmW+SMHDakmtS7qOo13sVppmUijqeTv7qqGsvURpQ== + version "7.23.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.23.3.tgz#fe1177d715fb569663095e04f3598525d98e8c77" + integrity sha512-vI+0sIaPIO6CNuM9Kk5VmXcMVRiOpDh7w2zZt9GXzmE/9KD70CUEVhvPR/etAeNK/FAEkhxQtXOzVF3EuRL41A== dependencies: - "@babel/helper-plugin-utils" "^7.18.6" + "@babel/helper-plugin-utils" "^7.22.5" "@babel/plugin-transform-block-scoping@^7.0.0": - version "7.21.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.21.0.tgz#e737b91037e5186ee16b76e7ae093358a5634f02" - integrity sha512-Mdrbunoh9SxwFZapeHVrwFmri16+oYotcZysSzhNIVDwIAb1UV+kvnxULSYq9J3/q5MDG+4X6w8QVgD1zhBXNQ== + version "7.23.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.23.3.tgz#e99a3ff08f58edd28a8ed82481df76925a4ffca7" + integrity sha512-QPZxHrThbQia7UdvfpaRRlq/J9ciz1J4go0k+lPBXbgaNeY7IQrBj/9ceWjvMMI07/ZBzHl/F0R/2K0qH7jCVw== dependencies: - "@babel/helper-plugin-utils" "^7.20.2" + "@babel/helper-plugin-utils" "^7.22.5" "@babel/plugin-transform-classes@^7.0.0": - version "7.21.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.21.0.tgz#f469d0b07a4c5a7dbb21afad9e27e57b47031665" - integrity sha512-RZhbYTCEUAe6ntPehC4hlslPWosNHDox+vAs4On/mCLRLfoDVHf6hVEd7kuxr1RnHwJmxFfUM3cZiZRmPxJPXQ== - dependencies: - "@babel/helper-annotate-as-pure" "^7.18.6" - "@babel/helper-compilation-targets" "^7.20.7" - "@babel/helper-environment-visitor" "^7.18.9" - "@babel/helper-function-name" "^7.21.0" - "@babel/helper-optimise-call-expression" "^7.18.6" - "@babel/helper-plugin-utils" "^7.20.2" - "@babel/helper-replace-supers" "^7.20.7" - "@babel/helper-split-export-declaration" "^7.18.6" + version "7.23.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.23.3.tgz#73380c632c095b03e8503c24fd38f95ad41ffacb" + integrity sha512-FGEQmugvAEu2QtgtU0uTASXevfLMFfBeVCIIdcQhn/uBQsMTjBajdnAtanQlOcuihWh10PZ7+HWvc7NtBwP74w== + dependencies: + "@babel/helper-annotate-as-pure" "^7.22.5" + "@babel/helper-compilation-targets" "^7.22.15" + "@babel/helper-environment-visitor" "^7.22.20" + "@babel/helper-function-name" "^7.23.0" + "@babel/helper-optimise-call-expression" "^7.22.5" + "@babel/helper-plugin-utils" "^7.22.5" + "@babel/helper-replace-supers" "^7.22.20" + "@babel/helper-split-export-declaration" "^7.22.6" globals "^11.1.0" "@babel/plugin-transform-computed-properties@^7.0.0": - version "7.21.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.21.5.tgz#3a2d8bb771cd2ef1cd736435f6552fe502e11b44" - integrity sha512-TR653Ki3pAwxBxUe8srfF3e4Pe3FTA46uaNHYyQwIoM4oWKSoOZiDNyHJ0oIoDIUPSRQbQG7jzgVBX3FPVne1Q== + version "7.23.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.23.3.tgz#652e69561fcc9d2b50ba4f7ac7f60dcf65e86474" + integrity sha512-dTj83UVTLw/+nbiHqQSFdwO9CbTtwq1DsDqm3CUEtDrZNET5rT5E6bIdTlOftDTDLMYxvxHNEYO4B9SLl8SLZw== dependencies: - "@babel/helper-plugin-utils" "^7.21.5" - "@babel/template" "^7.20.7" + "@babel/helper-plugin-utils" "^7.22.5" + "@babel/template" "^7.22.15" "@babel/plugin-transform-destructuring@^7.0.0": - version "7.21.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.21.3.tgz#73b46d0fd11cd6ef57dea8a381b1215f4959d401" - integrity sha512-bp6hwMFzuiE4HqYEyoGJ/V2LeIWn+hLVKc4pnj++E5XQptwhtcGmSayM029d/j2X1bPKGTlsyPwAubuU22KhMA== + version "7.23.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.23.3.tgz#8c9ee68228b12ae3dff986e56ed1ba4f3c446311" + integrity sha512-n225npDqjDIr967cMScVKHXJs7rout1q+tt50inyBCPkyZ8KxeI6d+GIbSBTT/w/9WdlWDOej3V9HE5Lgk57gw== dependencies: - "@babel/helper-plugin-utils" "^7.20.2" + "@babel/helper-plugin-utils" "^7.22.5" "@babel/plugin-transform-flow-strip-types@^7.0.0": - version "7.21.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-flow-strip-types/-/plugin-transform-flow-strip-types-7.21.0.tgz#6aeca0adcb81dc627c8986e770bfaa4d9812aff5" - integrity sha512-FlFA2Mj87a6sDkW4gfGrQQqwY/dLlBAyJa2dJEZ+FHXUVHBflO2wyKvg+OOEzXfrKYIa4HWl0mgmbCzt0cMb7w== + version "7.23.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-flow-strip-types/-/plugin-transform-flow-strip-types-7.23.3.tgz#cfa7ca159cc3306fab526fc67091556b51af26ff" + integrity sha512-26/pQTf9nQSNVJCrLB1IkHUKyPxR+lMrH2QDPG89+Znu9rAMbtrybdbWeE9bb7gzjmE5iXHEY+e0HUwM6Co93Q== dependencies: - "@babel/helper-plugin-utils" "^7.20.2" - "@babel/plugin-syntax-flow" "^7.18.6" + "@babel/helper-plugin-utils" "^7.22.5" + "@babel/plugin-syntax-flow" "^7.23.3" "@babel/plugin-transform-for-of@^7.0.0": - version "7.21.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.21.5.tgz#e890032b535f5a2e237a18535f56a9fdaa7b83fc" - integrity sha512-nYWpjKW/7j/I/mZkGVgHJXh4bA1sfdFnJoOXwJuj4m3Q2EraO/8ZyrkCau9P5tbHQk01RMSt6KYLCsW7730SXQ== + version "7.23.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.23.3.tgz#afe115ff0fbce735e02868d41489093c63e15559" + integrity sha512-X8jSm8X1CMwxmK878qsUGJRmbysKNbdpTv/O1/v0LuY/ZkZrng5WYiekYSdg9m09OTmDDUWeEDsTE+17WYbAZw== dependencies: - "@babel/helper-plugin-utils" "^7.21.5" + "@babel/helper-plugin-utils" "^7.22.5" "@babel/plugin-transform-function-name@^7.0.0": - version "7.18.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.18.9.tgz#cc354f8234e62968946c61a46d6365440fc764e0" - integrity sha512-WvIBoRPaJQ5yVHzcnJFor7oS5Ls0PYixlTYE63lCj2RtdQEl15M68FXQlxnG6wdraJIXRdR7KI+hQ7q/9QjrCQ== + version "7.23.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.23.3.tgz#8f424fcd862bf84cb9a1a6b42bc2f47ed630f8dc" + integrity sha512-I1QXp1LxIvt8yLaib49dRW5Okt7Q4oaxao6tFVKS/anCdEOMtYwWVKoiOA1p34GOWIZjUK0E+zCp7+l1pfQyiw== dependencies: - "@babel/helper-compilation-targets" "^7.18.9" - "@babel/helper-function-name" "^7.18.9" - "@babel/helper-plugin-utils" "^7.18.9" + "@babel/helper-compilation-targets" "^7.22.15" + "@babel/helper-function-name" "^7.23.0" + "@babel/helper-plugin-utils" "^7.22.5" "@babel/plugin-transform-literals@^7.0.0": - version "7.18.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-literals/-/plugin-transform-literals-7.18.9.tgz#72796fdbef80e56fba3c6a699d54f0de557444bc" - integrity sha512-IFQDSRoTPnrAIrI5zoZv73IFeZu2dhu6irxQjY9rNjTT53VmKg9fenjvoiOWOkJ6mm4jKVPtdMzBY98Fp4Z4cg== + version "7.23.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-literals/-/plugin-transform-literals-7.23.3.tgz#8214665f00506ead73de157eba233e7381f3beb4" + integrity sha512-wZ0PIXRxnwZvl9AYpqNUxpZ5BiTGrYt7kueGQ+N5FiQ7RCOD4cm8iShd6S6ggfVIWaJf2EMk8eRzAh52RfP4rQ== dependencies: - "@babel/helper-plugin-utils" "^7.18.9" + "@babel/helper-plugin-utils" "^7.22.5" "@babel/plugin-transform-member-expression-literals@^7.0.0": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.18.6.tgz#ac9fdc1a118620ac49b7e7a5d2dc177a1bfee88e" - integrity sha512-qSF1ihLGO3q+/g48k85tUjD033C29TNTVB2paCwZPVmOsjn9pClvYYrM2VeJpBY2bcNkuny0YUyTNRyRxJ54KA== + version "7.23.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.23.3.tgz#e37b3f0502289f477ac0e776b05a833d853cabcc" + integrity sha512-sC3LdDBDi5x96LA+Ytekz2ZPk8i/Ck+DEuDbRAll5rknJ5XRTSaPKEYwomLcs1AA8wg9b3KjIQRsnApj+q51Ag== dependencies: - "@babel/helper-plugin-utils" "^7.18.6" + "@babel/helper-plugin-utils" "^7.22.5" "@babel/plugin-transform-modules-commonjs@7.22.11": version "7.22.11" @@ -658,149 +496,115 @@ "@babel/helper-simple-access" "^7.22.5" "@babel/plugin-transform-modules-commonjs@^7.0.0": - version "7.21.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.21.5.tgz#d69fb947eed51af91de82e4708f676864e5e47bc" - integrity sha512-OVryBEgKUbtqMoB7eG2rs6UFexJi6Zj6FDXx+esBLPTCxCNxAY9o+8Di7IsUGJ+AVhp5ncK0fxWUBd0/1gPhrQ== + version "7.23.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.23.3.tgz#661ae831b9577e52be57dd8356b734f9700b53b4" + integrity sha512-aVS0F65LKsdNOtcz6FRCpE4OgsP2OFnW46qNxNIX9h3wuzaNcSQsJysuMwqSibC98HPrf2vCgtxKNwS0DAlgcA== dependencies: - "@babel/helper-module-transforms" "^7.21.5" - "@babel/helper-plugin-utils" "^7.21.5" - "@babel/helper-simple-access" "^7.21.5" + "@babel/helper-module-transforms" "^7.23.3" + "@babel/helper-plugin-utils" "^7.22.5" + "@babel/helper-simple-access" "^7.22.5" "@babel/plugin-transform-object-super@^7.0.0": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.18.6.tgz#fb3c6ccdd15939b6ff7939944b51971ddc35912c" - integrity sha512-uvGz6zk+pZoS1aTZrOvrbj6Pp/kK2mp45t2B+bTDre2UgsZZ8EZLSJtUg7m/no0zOJUWgFONpB7Zv9W2tSaFlA== + version "7.23.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.23.3.tgz#81fdb636dcb306dd2e4e8fd80db5b2362ed2ebcd" + integrity sha512-BwQ8q0x2JG+3lxCVFohg+KbQM7plfpBwThdW9A6TMtWwLsbDA01Ek2Zb/AgDN39BiZsExm4qrXxjk+P1/fzGrA== dependencies: - "@babel/helper-plugin-utils" "^7.18.6" - "@babel/helper-replace-supers" "^7.18.6" + "@babel/helper-plugin-utils" "^7.22.5" + "@babel/helper-replace-supers" "^7.22.20" "@babel/plugin-transform-parameters@^7.0.0", "@babel/plugin-transform-parameters@^7.20.7": - version "7.21.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.21.3.tgz#18fc4e797cf6d6d972cb8c411dbe8a809fa157db" - integrity sha512-Wxc+TvppQG9xWFYatvCGPvZ6+SIUxQ2ZdiBP+PHYMIjnPXD+uThCshaz4NZOnODAtBjjcVQQ/3OKs9LW28purQ== + version "7.23.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.23.3.tgz#83ef5d1baf4b1072fa6e54b2b0999a7b2527e2af" + integrity sha512-09lMt6UsUb3/34BbECKVbVwrT9bO6lILWln237z7sLaWnMsTi7Yc9fhX5DLpkJzAGfaReXI22wP41SZmnAA3Vw== dependencies: - "@babel/helper-plugin-utils" "^7.20.2" + "@babel/helper-plugin-utils" "^7.22.5" "@babel/plugin-transform-property-literals@^7.0.0": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.18.6.tgz#e22498903a483448e94e032e9bbb9c5ccbfc93a3" - integrity sha512-cYcs6qlgafTud3PAzrrRNbQtfpQ8+y/+M5tKmksS9+M1ckbH6kzY8MrexEM9mcA6JDsukE19iIRvAyYl463sMg== + version "7.23.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.23.3.tgz#54518f14ac4755d22b92162e4a852d308a560875" + integrity sha512-jR3Jn3y7cZp4oEWPFAlRsSWjxKe4PZILGBSd4nis1TsC5qeSpb+nrtihJuDhNI7QHiVbUaiXa0X2RZY3/TI6Nw== dependencies: - "@babel/helper-plugin-utils" "^7.18.6" + "@babel/helper-plugin-utils" "^7.22.5" "@babel/plugin-transform-react-display-name@^7.0.0": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-display-name/-/plugin-transform-react-display-name-7.18.6.tgz#8b1125f919ef36ebdfff061d664e266c666b9415" - integrity sha512-TV4sQ+T013n61uMoygyMRm+xf04Bd5oqFpv2jAEQwSZ8NwQA7zeRPg1LMVg2PWi3zWBz+CLKD+v5bcpZ/BS0aA== + version "7.23.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-display-name/-/plugin-transform-react-display-name-7.23.3.tgz#70529f034dd1e561045ad3c8152a267f0d7b6200" + integrity sha512-GnvhtVfA2OAtzdX58FJxU19rhoGeQzyVndw3GgtdECQvQFXPEZIOVULHVZGAYmOgmqjXpVpfocAbSjh99V/Fqw== dependencies: - "@babel/helper-plugin-utils" "^7.18.6" + "@babel/helper-plugin-utils" "^7.22.5" "@babel/plugin-transform-react-jsx@^7.0.0": - version "7.21.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.21.5.tgz#bd98f3b429688243e4fa131fe1cbb2ef31ce6f38" - integrity sha512-ELdlq61FpoEkHO6gFRpfj0kUgSwQTGoaEU8eMRoS8Dv3v6e7BjEAj5WMtIBRdHUeAioMhKP5HyxNzNnP+heKbA== + version "7.22.15" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.22.15.tgz#7e6266d88705d7c49f11c98db8b9464531289cd6" + integrity sha512-oKckg2eZFa8771O/5vi7XeTvmM6+O9cxZu+kanTU7tD4sin5nO/G8jGJhq8Hvt2Z0kUoEDRayuZLaUlYl8QuGA== dependencies: - "@babel/helper-annotate-as-pure" "^7.18.6" - "@babel/helper-module-imports" "^7.21.4" - "@babel/helper-plugin-utils" "^7.21.5" - "@babel/plugin-syntax-jsx" "^7.21.4" - "@babel/types" "^7.21.5" + "@babel/helper-annotate-as-pure" "^7.22.5" + "@babel/helper-module-imports" "^7.22.15" + "@babel/helper-plugin-utils" "^7.22.5" + "@babel/plugin-syntax-jsx" "^7.22.5" + "@babel/types" "^7.22.15" "@babel/plugin-transform-shorthand-properties@^7.0.0": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.18.6.tgz#6d6df7983d67b195289be24909e3f12a8f664dc9" - integrity sha512-eCLXXJqv8okzg86ywZJbRn19YJHU4XUa55oz2wbHhaQVn/MM+XhukiT7SYqp/7o00dg52Rj51Ny+Ecw4oyoygw== + version "7.23.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.23.3.tgz#97d82a39b0e0c24f8a981568a8ed851745f59210" + integrity sha512-ED2fgqZLmexWiN+YNFX26fx4gh5qHDhn1O2gvEhreLW2iI63Sqm4llRLCXALKrCnbN4Jy0VcMQZl/SAzqug/jg== dependencies: - "@babel/helper-plugin-utils" "^7.18.6" + "@babel/helper-plugin-utils" "^7.22.5" "@babel/plugin-transform-spread@^7.0.0": - version "7.20.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-spread/-/plugin-transform-spread-7.20.7.tgz#c2d83e0b99d3bf83e07b11995ee24bf7ca09401e" - integrity sha512-ewBbHQ+1U/VnH1fxltbJqDeWBU1oNLG8Dj11uIv3xVf7nrQu0bPGe5Rf716r7K5Qz+SqtAOVswoVunoiBtGhxw== + version "7.23.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-spread/-/plugin-transform-spread-7.23.3.tgz#41d17aacb12bde55168403c6f2d6bdca563d362c" + integrity sha512-VvfVYlrlBVu+77xVTOAoxQ6mZbnIq5FM0aGBSFEcIh03qHf+zNqA4DC/3XMUozTg7bZV3e3mZQ0i13VB6v5yUg== dependencies: - "@babel/helper-plugin-utils" "^7.20.2" - "@babel/helper-skip-transparent-expression-wrappers" "^7.20.0" + "@babel/helper-plugin-utils" "^7.22.5" + "@babel/helper-skip-transparent-expression-wrappers" "^7.22.5" "@babel/plugin-transform-template-literals@^7.0.0": - version "7.18.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.18.9.tgz#04ec6f10acdaa81846689d63fae117dd9c243a5e" - integrity sha512-S8cOWfT82gTezpYOiVaGHrCbhlHgKhQt8XH5ES46P2XWmX92yisoZywf5km75wv5sYcXDUCLMmMxOLCtthDgMA== + version "7.23.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.23.3.tgz#5f0f028eb14e50b5d0f76be57f90045757539d07" + integrity sha512-Flok06AYNp7GV2oJPZZcP9vZdszev6vPBkHLwxwSpaIqx75wn6mUd3UFWsSsA0l8nXAKkyCmL/sR02m8RYGeHg== dependencies: - "@babel/helper-plugin-utils" "^7.18.9" + "@babel/helper-plugin-utils" "^7.22.5" "@babel/runtime@^7.0.0": - version "7.21.5" - resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.21.5.tgz#8492dddda9644ae3bda3b45eabe87382caee7200" - integrity sha512-8jI69toZqqcsnqGGqwGS4Qb1VwLOEp4hz+CXPywcvjs60u3B4Pom/U/7rm4W8tMOYEB+E9wgD0mW1l3r8qlI9Q== - dependencies: - regenerator-runtime "^0.13.11" - -"@babel/template@^7.18.10", "@babel/template@^7.20.7", "@babel/template@^7.3.3": - version "7.20.7" - resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.20.7.tgz#a15090c2839a83b02aa996c0b4994005841fd5a8" - integrity sha512-8SegXApWe6VoNw0r9JHpSteLKTpTiLZ4rMlGIm9JQ18KiCtyQiAMEazujAHrUS5flrcqYZa75ukev3P6QmUwUw== - dependencies: - "@babel/code-frame" "^7.18.6" - "@babel/parser" "^7.20.7" - "@babel/types" "^7.20.7" - -"@babel/template@^7.22.5": - version "7.22.5" - resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.22.5.tgz#0c8c4d944509875849bd0344ff0050756eefc6ec" - integrity sha512-X7yV7eiwAxdj9k94NEylvbVHLiVG1nvzCV2EAowhxLTwODV1jl9UzZ48leOC0sH7OnuHrIkllaBgneUykIcZaw== - dependencies: - "@babel/code-frame" "^7.22.5" - "@babel/parser" "^7.22.5" - "@babel/types" "^7.22.5" - -"@babel/traverse@^7.14.0", "@babel/traverse@^7.16.8", "@babel/traverse@^7.21.5": - version "7.21.5" - resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.21.5.tgz#ad22361d352a5154b498299d523cf72998a4b133" - integrity sha512-AhQoI3YjWi6u/y/ntv7k48mcrCXmus0t79J9qPNlk/lAsFlCiJ047RmbfMOawySTHtywXhbXgpx/8nXMYd+oFw== - dependencies: - "@babel/code-frame" "^7.21.4" - "@babel/generator" "^7.21.5" - "@babel/helper-environment-visitor" "^7.21.5" - "@babel/helper-function-name" "^7.21.0" - "@babel/helper-hoist-variables" "^7.18.6" - "@babel/helper-split-export-declaration" "^7.18.6" - "@babel/parser" "^7.21.5" - "@babel/types" "^7.21.5" - debug "^4.1.0" - globals "^11.1.0" - -"@babel/traverse@^7.22.11": - version "7.22.11" - resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.22.11.tgz#71ebb3af7a05ff97280b83f05f8865ac94b2027c" - integrity sha512-mzAenteTfomcB7mfPtyi+4oe5BZ6MXxWcn4CX+h4IRJ+OOGXBrWU6jDQavkQI9Vuc5P+donFabBfFCcmWka9lQ== - dependencies: - "@babel/code-frame" "^7.22.10" - "@babel/generator" "^7.22.10" - "@babel/helper-environment-visitor" "^7.22.5" - "@babel/helper-function-name" "^7.22.5" + version "7.23.2" + resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.23.2.tgz#062b0ac103261d68a966c4c7baf2ae3e62ec3885" + integrity sha512-mM8eg4yl5D6i3lu2QKPuPH4FArvJ8KhTofbE7jwMUv9KX5mBvwPAqnV3MlyBNqdp9RyRKP6Yck8TrfYrPvX3bg== + dependencies: + regenerator-runtime "^0.14.0" + +"@babel/template@^7.18.10", "@babel/template@^7.22.15", "@babel/template@^7.3.3": + version "7.22.15" + resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.22.15.tgz#09576efc3830f0430f4548ef971dde1350ef2f38" + integrity sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w== + dependencies: + "@babel/code-frame" "^7.22.13" + "@babel/parser" "^7.22.15" + "@babel/types" "^7.22.15" + +"@babel/traverse@^7.14.0", "@babel/traverse@^7.16.8", "@babel/traverse@^7.23.2", "@babel/traverse@^7.23.3": + version "7.23.3" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.23.3.tgz#26ee5f252e725aa7aca3474aa5b324eaf7908b5b" + integrity sha512-+K0yF1/9yR0oHdE0StHuEj3uTPzwwbrLGfNOndVJVV2TqA5+j3oljJUb4nmB954FLGjNem976+B+eDuLIjesiQ== + dependencies: + "@babel/code-frame" "^7.22.13" + "@babel/generator" "^7.23.3" + "@babel/helper-environment-visitor" "^7.22.20" + "@babel/helper-function-name" "^7.23.0" "@babel/helper-hoist-variables" "^7.22.5" "@babel/helper-split-export-declaration" "^7.22.6" - "@babel/parser" "^7.22.11" - "@babel/types" "^7.22.11" + "@babel/parser" "^7.23.3" + "@babel/types" "^7.23.3" debug "^4.1.0" globals "^11.1.0" -"@babel/types@^7.0.0", "@babel/types@^7.16.8", "@babel/types@^7.18.13", "@babel/types@^7.18.6", "@babel/types@^7.20.0", "@babel/types@^7.20.7", "@babel/types@^7.21.0", "@babel/types@^7.21.4", "@babel/types@^7.21.5", "@babel/types@^7.3.0", "@babel/types@^7.3.3": - version "7.21.5" - resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.21.5.tgz#18dfbd47c39d3904d5db3d3dc2cc80bedb60e5b6" - integrity sha512-m4AfNvVF2mVC/F7fDEdH2El3HzUg9It/XsCxZiOTTA3m3qYfcSVSbTfM6Q9xG+hYDniZssYhlXKKUMD5m8tF4Q== - dependencies: - "@babel/helper-string-parser" "^7.21.5" - "@babel/helper-validator-identifier" "^7.19.1" - to-fast-properties "^2.0.0" - -"@babel/types@^7.22.10", "@babel/types@^7.22.11", "@babel/types@^7.22.5": - version "7.22.11" - resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.22.11.tgz#0e65a6a1d4d9cbaa892b2213f6159485fe632ea2" - integrity sha512-siazHiGuZRz9aB9NpHy9GOs9xiQPKnMzgdr493iI1M67vRXpnEq8ZOOKzezC5q7zwuQ6sDhdSp4SD9ixKSqKZg== +"@babel/types@^7.0.0", "@babel/types@^7.16.8", "@babel/types@^7.18.13", "@babel/types@^7.20.7", "@babel/types@^7.22.15", "@babel/types@^7.22.5", "@babel/types@^7.23.0", "@babel/types@^7.23.3", "@babel/types@^7.3.3": + version "7.23.3" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.23.3.tgz#d5ea892c07f2ec371ac704420f4dcdb07b5f9598" + integrity sha512-OZnvoH2l8PK5eUvEcUyCt/sXgr/h+UWpVuBbOljwcrAgUl6lpchoQ++PHGyQy1AtYnVA6CEq3y5xeEI10brpXw== dependencies: "@babel/helper-string-parser" "^7.22.5" - "@babel/helper-validator-identifier" "^7.22.5" + "@babel/helper-validator-identifier" "^7.22.20" to-fast-properties "^2.0.0" "@bcoe/v8-coverage@^0.2.3": @@ -814,15 +618,15 @@ integrity sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ== "@commitlint/cli@^17.7.1": - version "17.7.1" - resolved "https://registry.yarnpkg.com/@commitlint/cli/-/cli-17.7.1.tgz#f3ab35bd38d82fcd4ab03ec5a1e9db26d57fe1b0" - integrity sha512-BCm/AT06SNCQtvFv921iNhudOHuY16LswT0R3OeolVGLk8oP+Rk9TfQfgjH7QPMjhvp76bNqGFEcpKojxUNW1g== - dependencies: - "@commitlint/format" "^17.4.4" - "@commitlint/lint" "^17.7.0" - "@commitlint/load" "^17.7.1" - "@commitlint/read" "^17.5.1" - "@commitlint/types" "^17.4.4" + version "17.8.1" + resolved "https://registry.yarnpkg.com/@commitlint/cli/-/cli-17.8.1.tgz#10492114a022c91dcfb1d84dac773abb3db76d33" + integrity sha512-ay+WbzQesE0Rv4EQKfNbSMiJJ12KdKTDzIt0tcK4k11FdsWmtwP0Kp1NWMOUswfIWo6Eb7p7Ln721Nx9FLNBjg== + dependencies: + "@commitlint/format" "^17.8.1" + "@commitlint/lint" "^17.8.1" + "@commitlint/load" "^17.8.1" + "@commitlint/read" "^17.8.1" + "@commitlint/types" "^17.8.1" execa "^5.0.0" lodash.isfunction "^3.0.9" resolve-from "5.0.0" @@ -830,73 +634,73 @@ yargs "^17.0.0" "@commitlint/config-conventional@^17.7.0": - version "17.7.0" - resolved "https://registry.yarnpkg.com/@commitlint/config-conventional/-/config-conventional-17.7.0.tgz#1bbf2bce7851db63c1a8aa8d924277ad4938247e" - integrity sha512-iicqh2o6et+9kWaqsQiEYZzfLbtoWv9uZl8kbI8EGfnc0HeGafQBF7AJ0ylN9D/2kj6txltsdyQs8+2fTMwWEw== + version "17.8.1" + resolved "https://registry.yarnpkg.com/@commitlint/config-conventional/-/config-conventional-17.8.1.tgz#e5bcf0cfec8da7ac50bc04dc92e0a4ea74964ce0" + integrity sha512-NxCOHx1kgneig3VLauWJcDWS40DVjg7nKOpBEEK9E5fjJpQqLCilcnKkIIjdBH98kEO1q3NpE5NSrZ2kl/QGJg== dependencies: conventional-changelog-conventionalcommits "^6.1.0" -"@commitlint/config-validator@^17.6.7": - version "17.6.7" - resolved "https://registry.yarnpkg.com/@commitlint/config-validator/-/config-validator-17.6.7.tgz#c664d42a1ecf5040a3bb0843845150f55734df41" - integrity sha512-vJSncmnzwMvpr3lIcm0I8YVVDJTzyjy7NZAeXbTXy+MPUdAr9pKyyg7Tx/ebOQ9kqzE6O9WT6jg2164br5UdsQ== +"@commitlint/config-validator@^17.8.1": + version "17.8.1" + resolved "https://registry.yarnpkg.com/@commitlint/config-validator/-/config-validator-17.8.1.tgz#5cc93b6b49d5524c9cc345a60e5bf74bcca2b7f9" + integrity sha512-UUgUC+sNiiMwkyiuIFR7JG2cfd9t/7MV8VB4TZ+q02ZFkHoduUS4tJGsCBWvBOGD9Btev6IecPMvlWUfJorkEA== dependencies: - "@commitlint/types" "^17.4.4" + "@commitlint/types" "^17.8.1" ajv "^8.11.0" -"@commitlint/ensure@^17.6.7": - version "17.6.7" - resolved "https://registry.yarnpkg.com/@commitlint/ensure/-/ensure-17.6.7.tgz#77a77a0c05e6a1c34589f59e82e6cb937101fc4b" - integrity sha512-mfDJOd1/O/eIb/h4qwXzUxkmskXDL9vNPnZ4AKYKiZALz4vHzwMxBSYtyL2mUIDeU9DRSpEUins8SeKtFkYHSw== +"@commitlint/ensure@^17.8.1": + version "17.8.1" + resolved "https://registry.yarnpkg.com/@commitlint/ensure/-/ensure-17.8.1.tgz#59183557844999dbb6aab6d03629a3d104d01a8d" + integrity sha512-xjafwKxid8s1K23NFpL8JNo6JnY/ysetKo8kegVM7c8vs+kWLP8VrQq+NbhgVlmCojhEDbzQKp4eRXSjVOGsow== dependencies: - "@commitlint/types" "^17.4.4" + "@commitlint/types" "^17.8.1" lodash.camelcase "^4.3.0" lodash.kebabcase "^4.1.1" lodash.snakecase "^4.1.1" lodash.startcase "^4.4.0" lodash.upperfirst "^4.3.1" -"@commitlint/execute-rule@^17.4.0": - version "17.4.0" - resolved "https://registry.yarnpkg.com/@commitlint/execute-rule/-/execute-rule-17.4.0.tgz#4518e77958893d0a5835babe65bf87e2638f6939" - integrity sha512-LIgYXuCSO5Gvtc0t9bebAMSwd68ewzmqLypqI2Kke1rqOqqDbMpYcYfoPfFlv9eyLIh4jocHWwCK5FS7z9icUA== +"@commitlint/execute-rule@^17.8.1": + version "17.8.1" + resolved "https://registry.yarnpkg.com/@commitlint/execute-rule/-/execute-rule-17.8.1.tgz#504ed69eb61044eeb84fdfd10cc18f0dab14f34c" + integrity sha512-JHVupQeSdNI6xzA9SqMF+p/JjrHTcrJdI02PwesQIDCIGUrv04hicJgCcws5nzaoZbROapPs0s6zeVHoxpMwFQ== -"@commitlint/format@^17.4.4": - version "17.4.4" - resolved "https://registry.yarnpkg.com/@commitlint/format/-/format-17.4.4.tgz#0f6e1b4d7a301c7b1dfd4b6334edd97fc050b9f5" - integrity sha512-+IS7vpC4Gd/x+uyQPTAt3hXs5NxnkqAZ3aqrHd5Bx/R9skyCAWusNlNbw3InDbAK6j166D9asQM8fnmYIa+CXQ== +"@commitlint/format@^17.8.1": + version "17.8.1" + resolved "https://registry.yarnpkg.com/@commitlint/format/-/format-17.8.1.tgz#6108bb6b4408e711006680649927e1b559bdc5f8" + integrity sha512-f3oMTyZ84M9ht7fb93wbCKmWxO5/kKSbwuYvS867duVomoOsgrgljkGGIztmT/srZnaiGbaK8+Wf8Ik2tSr5eg== dependencies: - "@commitlint/types" "^17.4.4" + "@commitlint/types" "^17.8.1" chalk "^4.1.0" -"@commitlint/is-ignored@^17.7.0": - version "17.7.0" - resolved "https://registry.yarnpkg.com/@commitlint/is-ignored/-/is-ignored-17.7.0.tgz#df9b284420bdb1aed5fdb2be44f4e98cc4826014" - integrity sha512-043rA7m45tyEfW7Zv2vZHF++176MLHH9h70fnPoYlB1slKBeKl8BwNIlnPg4xBdRBVNPaCqvXxWswx2GR4c9Hw== +"@commitlint/is-ignored@^17.8.1": + version "17.8.1" + resolved "https://registry.yarnpkg.com/@commitlint/is-ignored/-/is-ignored-17.8.1.tgz#cf25bcd8409c79684b63f8bdeb35df48edda244e" + integrity sha512-UshMi4Ltb4ZlNn4F7WtSEugFDZmctzFpmbqvpyxD3la510J+PLcnyhf9chs7EryaRFJMdAKwsEKfNK0jL/QM4g== dependencies: - "@commitlint/types" "^17.4.4" + "@commitlint/types" "^17.8.1" semver "7.5.4" -"@commitlint/lint@^17.7.0": - version "17.7.0" - resolved "https://registry.yarnpkg.com/@commitlint/lint/-/lint-17.7.0.tgz#33f831298dc43679e4de6b088aea63d1f884c7e7" - integrity sha512-TCQihm7/uszA5z1Ux1vw+Nf3yHTgicus/+9HiUQk+kRSQawByxZNESeQoX9ujfVd3r4Sa+3fn0JQAguG4xvvbA== - dependencies: - "@commitlint/is-ignored" "^17.7.0" - "@commitlint/parse" "^17.7.0" - "@commitlint/rules" "^17.7.0" - "@commitlint/types" "^17.4.4" - -"@commitlint/load@^17.7.1": - version "17.7.1" - resolved "https://registry.yarnpkg.com/@commitlint/load/-/load-17.7.1.tgz#0723b11723a20043a304a74960602dead89b5cdd" - integrity sha512-S/QSOjE1ztdogYj61p6n3UbkUvweR17FQ0zDbNtoTLc+Hz7vvfS7ehoTMQ27hPSjVBpp7SzEcOQu081RLjKHJQ== - dependencies: - "@commitlint/config-validator" "^17.6.7" - "@commitlint/execute-rule" "^17.4.0" - "@commitlint/resolve-extends" "^17.6.7" - "@commitlint/types" "^17.4.4" - "@types/node" "20.4.7" +"@commitlint/lint@^17.8.1": + version "17.8.1" + resolved "https://registry.yarnpkg.com/@commitlint/lint/-/lint-17.8.1.tgz#bfc21215f6b18d41d4d43e2aa3cb79a5d7726cd8" + integrity sha512-aQUlwIR1/VMv2D4GXSk7PfL5hIaFSfy6hSHV94O8Y27T5q+DlDEgd/cZ4KmVI+MWKzFfCTiTuWqjfRSfdRllCA== + dependencies: + "@commitlint/is-ignored" "^17.8.1" + "@commitlint/parse" "^17.8.1" + "@commitlint/rules" "^17.8.1" + "@commitlint/types" "^17.8.1" + +"@commitlint/load@^17.8.1": + version "17.8.1" + resolved "https://registry.yarnpkg.com/@commitlint/load/-/load-17.8.1.tgz#fa061e7bfa53281eb03ca8517ca26d66a189030c" + integrity sha512-iF4CL7KDFstP1kpVUkT8K2Wl17h2yx9VaR1ztTc8vzByWWcbO/WaKwxsnCOqow9tVAlzPfo1ywk9m2oJ9ucMqA== + dependencies: + "@commitlint/config-validator" "^17.8.1" + "@commitlint/execute-rule" "^17.8.1" + "@commitlint/resolve-extends" "^17.8.1" + "@commitlint/types" "^17.8.1" + "@types/node" "20.5.1" chalk "^4.1.0" cosmiconfig "^8.0.0" cosmiconfig-typescript-loader "^4.0.0" @@ -905,72 +709,72 @@ lodash.uniq "^4.5.0" resolve-from "^5.0.0" ts-node "^10.8.1" - typescript "^4.6.4 || ^5.0.0" + typescript "^4.6.4 || ^5.2.2" -"@commitlint/message@^17.4.2": - version "17.4.2" - resolved "https://registry.yarnpkg.com/@commitlint/message/-/message-17.4.2.tgz#f4753a79701ad6db6db21f69076e34de6580e22c" - integrity sha512-3XMNbzB+3bhKA1hSAWPCQA3lNxR4zaeQAQcHj0Hx5sVdO6ryXtgUBGGv+1ZCLMgAPRixuc6en+iNAzZ4NzAa8Q== +"@commitlint/message@^17.8.1": + version "17.8.1" + resolved "https://registry.yarnpkg.com/@commitlint/message/-/message-17.8.1.tgz#a5cd226c419be20ee03c3d237db6ac37b95958b3" + integrity sha512-6bYL1GUQsD6bLhTH3QQty8pVFoETfFQlMn2Nzmz3AOLqRVfNNtXBaSY0dhZ0dM6A2MEq4+2d7L/2LP8TjqGRkA== -"@commitlint/parse@^17.7.0": - version "17.7.0" - resolved "https://registry.yarnpkg.com/@commitlint/parse/-/parse-17.7.0.tgz#aacb2d189e50ab8454154b1df150aaf20478ae47" - integrity sha512-dIvFNUMCUHqq5Abv80mIEjLVfw8QNuA4DS7OWip4pcK/3h5wggmjVnlwGCDvDChkw2TjK1K6O+tAEV78oxjxag== +"@commitlint/parse@^17.8.1": + version "17.8.1" + resolved "https://registry.yarnpkg.com/@commitlint/parse/-/parse-17.8.1.tgz#6e00b8f50ebd63562d25dcf4230da2c9f984e626" + integrity sha512-/wLUickTo0rNpQgWwLPavTm7WbwkZoBy3X8PpkUmlSmQJyWQTj0m6bDjiykMaDt41qcUbfeFfaCvXfiR4EGnfw== dependencies: - "@commitlint/types" "^17.4.4" + "@commitlint/types" "^17.8.1" conventional-changelog-angular "^6.0.0" conventional-commits-parser "^4.0.0" -"@commitlint/read@^17.5.1": - version "17.5.1" - resolved "https://registry.yarnpkg.com/@commitlint/read/-/read-17.5.1.tgz#fec903b766e2c41e3cefa80630040fcaba4f786c" - integrity sha512-7IhfvEvB//p9aYW09YVclHbdf1u7g7QhxeYW9ZHSO8Huzp8Rz7m05aCO1mFG7G8M+7yfFnXB5xOmG18brqQIBg== +"@commitlint/read@^17.8.1": + version "17.8.1" + resolved "https://registry.yarnpkg.com/@commitlint/read/-/read-17.8.1.tgz#b3f28777607c756078356cc133368b0e8c08092f" + integrity sha512-Fd55Oaz9irzBESPCdMd8vWWgxsW3OWR99wOntBDHgf9h7Y6OOHjWEdS9Xzen1GFndqgyoaFplQS5y7KZe0kO2w== dependencies: - "@commitlint/top-level" "^17.4.0" - "@commitlint/types" "^17.4.4" + "@commitlint/top-level" "^17.8.1" + "@commitlint/types" "^17.8.1" fs-extra "^11.0.0" git-raw-commits "^2.0.11" minimist "^1.2.6" -"@commitlint/resolve-extends@^17.6.7": - version "17.6.7" - resolved "https://registry.yarnpkg.com/@commitlint/resolve-extends/-/resolve-extends-17.6.7.tgz#9c53a4601c96ab2dd20b90fb35c988639307735d" - integrity sha512-PfeoAwLHtbOaC9bGn/FADN156CqkFz6ZKiVDMjuC2N5N0740Ke56rKU7Wxdwya8R8xzLK9vZzHgNbuGhaOVKIg== +"@commitlint/resolve-extends@^17.8.1": + version "17.8.1" + resolved "https://registry.yarnpkg.com/@commitlint/resolve-extends/-/resolve-extends-17.8.1.tgz#9af01432bf2fd9ce3dd5a00d266cce14e4c977e7" + integrity sha512-W/ryRoQ0TSVXqJrx5SGkaYuAaE/BUontL1j1HsKckvM6e5ZaG0M9126zcwL6peKSuIetJi7E87PRQF8O86EW0Q== dependencies: - "@commitlint/config-validator" "^17.6.7" - "@commitlint/types" "^17.4.4" + "@commitlint/config-validator" "^17.8.1" + "@commitlint/types" "^17.8.1" import-fresh "^3.0.0" lodash.mergewith "^4.6.2" resolve-from "^5.0.0" resolve-global "^1.0.0" -"@commitlint/rules@^17.7.0": - version "17.7.0" - resolved "https://registry.yarnpkg.com/@commitlint/rules/-/rules-17.7.0.tgz#b97a4933c5cba11a659a19ee467f6f000f31533e" - integrity sha512-J3qTh0+ilUE5folSaoK91ByOb8XeQjiGcdIdiB/8UT1/Rd1itKo0ju/eQVGyFzgTMYt8HrDJnGTmNWwcMR1rmA== +"@commitlint/rules@^17.8.1": + version "17.8.1" + resolved "https://registry.yarnpkg.com/@commitlint/rules/-/rules-17.8.1.tgz#da49cab1b7ebaf90d108de9f58f684dc4ccb65a0" + integrity sha512-2b7OdVbN7MTAt9U0vKOYKCDsOvESVXxQmrvuVUZ0rGFMCrCPJWWP1GJ7f0lAypbDAhaGb8zqtdOr47192LBrIA== dependencies: - "@commitlint/ensure" "^17.6.7" - "@commitlint/message" "^17.4.2" - "@commitlint/to-lines" "^17.4.0" - "@commitlint/types" "^17.4.4" + "@commitlint/ensure" "^17.8.1" + "@commitlint/message" "^17.8.1" + "@commitlint/to-lines" "^17.8.1" + "@commitlint/types" "^17.8.1" execa "^5.0.0" -"@commitlint/to-lines@^17.4.0": - version "17.4.0" - resolved "https://registry.yarnpkg.com/@commitlint/to-lines/-/to-lines-17.4.0.tgz#9bd02e911e7d4eab3fb4a50376c4c6d331e10d8d" - integrity sha512-LcIy/6ZZolsfwDUWfN1mJ+co09soSuNASfKEU5sCmgFCvX5iHwRYLiIuoqXzOVDYOy7E7IcHilr/KS0e5T+0Hg== +"@commitlint/to-lines@^17.8.1": + version "17.8.1" + resolved "https://registry.yarnpkg.com/@commitlint/to-lines/-/to-lines-17.8.1.tgz#a5c4a7cf7dff3dbdd69289fc0eb19b66f3cfe017" + integrity sha512-LE0jb8CuR/mj6xJyrIk8VLz03OEzXFgLdivBytoooKO5xLt5yalc8Ma5guTWobw998sbR3ogDd+2jed03CFmJA== -"@commitlint/top-level@^17.4.0": - version "17.4.0" - resolved "https://registry.yarnpkg.com/@commitlint/top-level/-/top-level-17.4.0.tgz#540cac8290044cf846fbdd99f5cc51e8ac5f27d6" - integrity sha512-/1loE/g+dTTQgHnjoCy0AexKAEFyHsR2zRB4NWrZ6lZSMIxAhBJnmCqwao7b4H8888PsfoTBCLBYIw8vGnej8g== +"@commitlint/top-level@^17.8.1": + version "17.8.1" + resolved "https://registry.yarnpkg.com/@commitlint/top-level/-/top-level-17.8.1.tgz#206d37d6782f33c9572e44fbe3758392fdeea7bc" + integrity sha512-l6+Z6rrNf5p333SHfEte6r+WkOxGlWK4bLuZKbtf/2TXRN+qhrvn1XE63VhD8Oe9oIHQ7F7W1nG2k/TJFhx2yA== dependencies: find-up "^5.0.0" -"@commitlint/types@^17.4.4": - version "17.4.4" - resolved "https://registry.yarnpkg.com/@commitlint/types/-/types-17.4.4.tgz#1416df936e9aad0d6a7bbc979ecc31e55dade662" - integrity sha512-amRN8tRLYOsxRr6mTnGGGvB5EmW/4DDjLMgiwK3CCVEmN6Sr/6xePGEpWaspKkckILuUORCwe6VfDBw6uj4axQ== +"@commitlint/types@^17.8.1": + version "17.8.1" + resolved "https://registry.yarnpkg.com/@commitlint/types/-/types-17.8.1.tgz#883a0ad35c5206d5fef7bc6ce1bbe648118af44e" + integrity sha512-PXDQXkAmiMEG162Bqdh9ChML/GJZo6vU+7F03ALKDK8zYc6SuAr47LjG7hGYRqUOz+WK0dU7bQ0xzuqFMdxzeQ== dependencies: chalk "^4.1.0" @@ -994,14 +798,14 @@ eslint-visitor-keys "^3.3.0" "@eslint-community/regexpp@^4.5.1", "@eslint-community/regexpp@^4.6.0", "@eslint-community/regexpp@^4.6.1": - version "4.8.0" - resolved "https://registry.yarnpkg.com/@eslint-community/regexpp/-/regexpp-4.8.0.tgz#11195513186f68d42fbf449f9a7136b2c0c92005" - integrity sha512-JylOEEzDiOryeUnFbQz+oViCXS0KsvR1mvHkoMiu5+UiBvy+RYX7tzlIIIEstF/gVa2tj9AQXk3dgnxv6KxhFg== + version "4.10.0" + resolved "https://registry.yarnpkg.com/@eslint-community/regexpp/-/regexpp-4.10.0.tgz#548f6de556857c8bb73bbee70c35dc82a2e74d63" + integrity sha512-Cu96Sd2By9mCNTx2iyKOmq10v22jUVQv0lQnlGNy16oE9589yE+QADPbrMGCkA51cKZSg3Pu/aTJVTGfL/qjUA== -"@eslint/eslintrc@^2.1.2": - version "2.1.2" - resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-2.1.2.tgz#c6936b4b328c64496692f76944e755738be62396" - integrity sha512-+wvgpDsrB1YqAMdEUCcnTlpfVBH7Vqn6A/NT3D8WVXFIaKMlErPIZT3oCIAVCOtarRpMtelZLqJeU3t7WY6X6g== +"@eslint/eslintrc@^2.1.3": + version "2.1.3" + resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-2.1.3.tgz#797470a75fe0fbd5a53350ee715e85e87baff22d" + integrity sha512-yZzuIG+jnVu6hNSzFEN07e8BxF3uAzYtQb6uDkaYZLo6oYZDCq454c5kB8zxnzfCYyP4MIuyBn10L0DqwujTmA== dependencies: ajv "^6.12.4" debug "^4.3.2" @@ -1013,10 +817,10 @@ minimatch "^3.1.2" strip-json-comments "^3.1.1" -"@eslint/js@8.48.0": - version "8.48.0" - resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.48.0.tgz#642633964e217905436033a2bd08bf322849b7fb" - integrity sha512-ZSjtmelB7IJfWD2Fvb7+Z+ChTIKWq6kjda95fLcQKNS5aheVHn4IkfgRQE3sIIzTcSLwLcLZUD9UBt+V7+h+Pw== +"@eslint/js@8.53.0": + version "8.53.0" + resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.53.0.tgz#bea56f2ed2b5baea164348ff4d5a879f6f81f20d" + integrity sha512-Kn7K8dx/5U6+cT1yEhpX1w4PCSg0M+XyRILPgvwcEBjerFWCwQj5sbr3/VmxqV0JGHCBCzyd6LxypEuehypY1w== "@gar/promisify@^1.1.3": version "1.1.3" @@ -1142,20 +946,20 @@ value-or-promise "^1.0.12" "@graphql-tools/code-file-loader@^8.0.0": - version "8.0.2" - resolved "https://registry.yarnpkg.com/@graphql-tools/code-file-loader/-/code-file-loader-8.0.2.tgz#224b9ce29d9229c52d8bd7b6d976038f4ea5d3f4" - integrity sha512-AKNpkElUL2cWocYpC4DzNEpo6qJw8Lp+L3bKQ/mIfmbsQxgLz5uve6zHBMhDaFPdlwfIox41N3iUSvi77t9e8A== + version "8.0.3" + resolved "https://registry.yarnpkg.com/@graphql-tools/code-file-loader/-/code-file-loader-8.0.3.tgz#8e1e8c2fc05c94614ce25c3cee36b3b4ec08bb64" + integrity sha512-gVnnlWs0Ua+5FkuHHEriFUOI3OIbHv6DS1utxf28n6NkfGMJldC4j0xlJRY0LS6dWK34IGYgD4HelKYz2l8KiA== dependencies: - "@graphql-tools/graphql-tag-pluck" "8.0.2" + "@graphql-tools/graphql-tag-pluck" "8.1.0" "@graphql-tools/utils" "^10.0.0" globby "^11.0.3" tslib "^2.4.0" unixify "^1.0.0" -"@graphql-tools/delegate@^10.0.0": - version "10.0.2" - resolved "https://registry.yarnpkg.com/@graphql-tools/delegate/-/delegate-10.0.2.tgz#26fdd4b186969799570cc6d2451d05d1d7cb7c90" - integrity sha512-ZU7VnR2xFgHrGnsuw6+nRJkcvSucn7w5ooxb/lTKlVfrNJfTwJevNcNKMnbtPUSajG3+CaFym/nU6v44GXCmNw== +"@graphql-tools/delegate@^10.0.0", "@graphql-tools/delegate@^10.0.3": + version "10.0.3" + resolved "https://registry.yarnpkg.com/@graphql-tools/delegate/-/delegate-10.0.3.tgz#2d0e133da94ca92c24e0c7360414e5592321cf2d" + integrity sha512-Jor9oazZ07zuWkykD3OOhT/2XD74Zm6Ar0ENZMk75MDD51wB2UWUIMljtHxbJhV5A6UBC2v8x6iY0xdCGiIlyw== dependencies: "@graphql-tools/batch-execute" "^9.0.1" "@graphql-tools/executor" "^1.0.0" @@ -1177,9 +981,9 @@ ws "^8.13.0" "@graphql-tools/executor-http@^1.0.0": - version "1.0.2" - resolved "https://registry.yarnpkg.com/@graphql-tools/executor-http/-/executor-http-1.0.2.tgz#d7964a6e5ec883842f9a8e3f104f93c9b8f472be" - integrity sha512-JKTB4E3kdQM2/1NEcyrVPyQ8057ZVthCV5dFJiKktqY9IdmF00M8gupFcW3jlbM/Udn78ickeUBsUzA3EouqpA== + version "1.0.3" + resolved "https://registry.yarnpkg.com/@graphql-tools/executor-http/-/executor-http-1.0.3.tgz#6ee9e43287ef86fd3588a5d4d2398604234d958d" + integrity sha512-5WZIMBevRaxMabZ8U2Ty0dTUPy/PpeYSlMNEmC/YJjKKykgSfc/AwSejx2sE4FFKZ0I2kxRKRenyoWMHRAV49Q== dependencies: "@graphql-tools/utils" "^10.0.2" "@repeaterjs/repeater" "^3.0.4" @@ -1190,15 +994,15 @@ value-or-promise "^1.0.12" "@graphql-tools/executor-legacy-ws@^1.0.0": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@graphql-tools/executor-legacy-ws/-/executor-legacy-ws-1.0.1.tgz#49764812fc93f401cb3f3ef32b2d6db4a9cd8db5" - integrity sha512-PQrTJ+ncHMEQspBARc2lhwiQFfRAX/z/CsOdZTFjIljOHgRWGAA1DAx7pEN0j6PflbLCfZ3NensNq2jCBwF46w== + version "1.0.4" + resolved "https://registry.yarnpkg.com/@graphql-tools/executor-legacy-ws/-/executor-legacy-ws-1.0.4.tgz#27fcccba782daf605d4cf34ffa85a675f43c33f6" + integrity sha512-b7aGuRekZDS+m3af3BIvMKxu15bmVPMt5eGQVuP2v5pxmbaPTh+iv5mx9b3Plt32z5Ke5tycBnNm5urSFtW8ng== dependencies: "@graphql-tools/utils" "^10.0.0" "@types/ws" "^8.0.0" isomorphic-ws "5.0.0" tslib "^2.4.0" - ws "8.13.0" + ws "8.14.2" "@graphql-tools/executor@^1.0.0": version "1.2.0" @@ -1212,11 +1016,11 @@ value-or-promise "^1.0.12" "@graphql-tools/git-loader@^8.0.0": - version "8.0.2" - resolved "https://registry.yarnpkg.com/@graphql-tools/git-loader/-/git-loader-8.0.2.tgz#d26d87e176ff0cea86e0acfe7c2072f32fd836c3" - integrity sha512-AuCB0nlPvsHh8u42zRZdlD/ZMaWP9A44yAkQUVCZir1E/LG63fsZ9svTWJ+CbusW3Hd0ZP9qpxEhlHxnd4Tlsg== + version "8.0.3" + resolved "https://registry.yarnpkg.com/@graphql-tools/git-loader/-/git-loader-8.0.3.tgz#a86d352b23a646c28d27282fef7694b846b31c44" + integrity sha512-Iz9KbRUAkuOe8JGTS0qssyJ+D5Snle17W+z9anwWrLFrkBhHrRFUy5AdjZqgJuhls0x30QkZBnnCtnHDBdQ4nA== dependencies: - "@graphql-tools/graphql-tag-pluck" "8.0.2" + "@graphql-tools/graphql-tag-pluck" "8.1.0" "@graphql-tools/utils" "^10.0.0" is-glob "4.0.3" micromatch "^4.0.4" @@ -1247,10 +1051,10 @@ tslib "^2.4.0" unixify "^1.0.0" -"@graphql-tools/graphql-tag-pluck@8.0.2", "@graphql-tools/graphql-tag-pluck@^8.0.0": - version "8.0.2" - resolved "https://registry.yarnpkg.com/@graphql-tools/graphql-tag-pluck/-/graphql-tag-pluck-8.0.2.tgz#c1ce8226c951583a27765dccceea19dc5827a948" - integrity sha512-U6fE4yEHxuk/nqmPixHpw1WhqdS6aYuaV60m1bEmUmGJNbpAhaMBy01JncpvpF15yZR5LZ0UjkHg+A3Lhoc8YQ== +"@graphql-tools/graphql-tag-pluck@8.1.0", "@graphql-tools/graphql-tag-pluck@^8.0.0": + version "8.1.0" + resolved "https://registry.yarnpkg.com/@graphql-tools/graphql-tag-pluck/-/graphql-tag-pluck-8.1.0.tgz#0745b6f0103eb725f10c5d4c1a9438670bb8e05b" + integrity sha512-kt5l6H/7QxQcIaewInTcune6NpATojdFEW98/8xWcgmy7dgXx5vU9e0AicFZIH+ewGyZzTpwFqO2RI03roxj2w== dependencies: "@babel/core" "^7.22.9" "@babel/parser" "^7.16.8" @@ -1305,12 +1109,12 @@ tslib "^2.4.0" "@graphql-tools/prisma-loader@^8.0.0": - version "8.0.1" - resolved "https://registry.yarnpkg.com/@graphql-tools/prisma-loader/-/prisma-loader-8.0.1.tgz#0a013c69b04e0779b5be15757173d458cdf94e35" - integrity sha512-bl6e5sAYe35Z6fEbgKXNrqRhXlCJYeWKBkarohgYA338/SD9eEhXtg3Cedj7fut3WyRLoQFpHzfiwxKs7XrgXg== + version "8.0.2" + resolved "https://registry.yarnpkg.com/@graphql-tools/prisma-loader/-/prisma-loader-8.0.2.tgz#3a7126ec2389a7aa7846bd0e441629ac5a1934fc" + integrity sha512-8d28bIB0bZ9Bj0UOz9sHagVPW+6AHeqvGljjERtwCnWl8OCQw2c2pNboYXISLYUG5ub76r4lDciLLTU+Ks7Q0w== dependencies: "@graphql-tools/url-loader" "^8.0.0" - "@graphql-tools/utils" "^10.0.0" + "@graphql-tools/utils" "^10.0.8" "@types/js-yaml" "^4.0.0" "@types/json-stable-stringify" "^1.0.32" "@whatwg-node/fetch" "^0.9.0" @@ -1320,7 +1124,7 @@ graphql-request "^6.0.0" http-proxy-agent "^7.0.0" https-proxy-agent "^7.0.0" - jose "^4.11.4" + jose "^5.0.0" js-yaml "^4.0.0" json-stable-stringify "^1.0.1" lodash "^4.17.20" @@ -1366,21 +1170,22 @@ value-or-promise "^1.0.11" ws "^8.12.0" -"@graphql-tools/utils@^10.0.0", "@graphql-tools/utils@^10.0.2", "@graphql-tools/utils@^10.0.5": - version "10.0.5" - resolved "https://registry.yarnpkg.com/@graphql-tools/utils/-/utils-10.0.5.tgz#b76c7b5b7fc3f67da734b51cf6e33c52dee09974" - integrity sha512-ZTioQqg9z9eCG3j+KDy54k1gp6wRIsLqkx5yi163KVvXVkfjsrdErCyZjrEug21QnKE9piP4tyxMpMMOT1RuRw== +"@graphql-tools/utils@^10.0.0", "@graphql-tools/utils@^10.0.2", "@graphql-tools/utils@^10.0.5", "@graphql-tools/utils@^10.0.8": + version "10.0.8" + resolved "https://registry.yarnpkg.com/@graphql-tools/utils/-/utils-10.0.8.tgz#c7b84275ec83dc42ad9f3d4ffc424ff682075759" + integrity sha512-yjyA8ycSa1WRlJqyX/aLqXeE5DvF/H02+zXMUFnCzIDrj0UvLMUrxhmVFnMK0Q2n3bh4uuTeY3621m5za9ovXw== dependencies: "@graphql-typed-document-node/core" "^3.1.1" + cross-inspect "1.0.0" dset "^3.1.2" tslib "^2.4.0" "@graphql-tools/wrap@^10.0.0": - version "10.0.0" - resolved "https://registry.yarnpkg.com/@graphql-tools/wrap/-/wrap-10.0.0.tgz#573ab111482387d4acf4757d5fb7f9553a504bc1" - integrity sha512-HDOeUUh6UhpiH0WPJUQl44ODt1x5pnMUbOJZ7GjTdGQ7LK0AgVt3ftaAQ9duxLkiAtYJmu5YkULirfZGj4HzDg== + version "10.0.1" + resolved "https://registry.yarnpkg.com/@graphql-tools/wrap/-/wrap-10.0.1.tgz#9e3d27d2723962c26c4377d5d7ab0d3038bf728c" + integrity sha512-Cw6hVrKGM2OKBXeuAGltgy4tzuqQE0Nt7t/uAqnuokSXZhMHXJUb124Bnvxc2gPZn5chfJSDafDe4Cp8ZAVJgg== dependencies: - "@graphql-tools/delegate" "^10.0.0" + "@graphql-tools/delegate" "^10.0.3" "@graphql-tools/schema" "^10.0.0" "@graphql-tools/utils" "^10.0.0" tslib "^2.4.0" @@ -1391,12 +1196,12 @@ resolved "https://registry.yarnpkg.com/@graphql-typed-document-node/core/-/core-3.2.0.tgz#5f3d96ec6b2354ad6d8a28bf216a1d97b5426861" integrity sha512-mB9oAsNCm9aM3/SOv4YtBMqZbYj10R7dkq8byBqxGY/ncFwhf2oQzMV+LCRlWoDSEBJ3COiR1yeDvMtsoOsuFQ== -"@humanwhocodes/config-array@^0.11.10": - version "0.11.11" - resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.11.11.tgz#88a04c570dbbc7dd943e4712429c3df09bc32844" - integrity sha512-N2brEuAadi0CcdeMXUkhbZB84eskAc8MEX1By6qEchoVywSgXPIjou4rYsl0V3Hj0ZnuGycGCjdNgockbzeWNA== +"@humanwhocodes/config-array@^0.11.13": + version "0.11.13" + resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.11.13.tgz#075dc9684f40a531d9b26b0822153c1e832ee297" + integrity sha512-JSBDMiDKSzQVngfRjOdFXgFfklaXI4K9nLF49Auh21lmBWRLIK3+xTErTWD4KU54pb6coM6ESE7Awz/FNU3zgQ== dependencies: - "@humanwhocodes/object-schema" "^1.2.1" + "@humanwhocodes/object-schema" "^2.0.1" debug "^4.1.1" minimatch "^3.0.5" @@ -1405,10 +1210,10 @@ resolved "https://registry.yarnpkg.com/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz#af5b2691a22b44be847b0ca81641c5fb6ad0172c" integrity sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA== -"@humanwhocodes/object-schema@^1.2.1": - version "1.2.1" - resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz#b520529ec21d8e5945a1851dfd1c32e94e39ff45" - integrity sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA== +"@humanwhocodes/object-schema@^2.0.1": + version "2.0.1" + resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-2.0.1.tgz#e5211452df060fa8522b55c7b3c0c4d1981cb044" + integrity sha512-dvuCeX5fC9dXgJn9t+X5atfmgQAzUOWqS1254Gh0m6i8wKd10ebXkfNKiRK+1GWi/yTvvLDHpoxLr0xxxeslWw== "@isaacs/string-locale-compare@^1.1.0": version "1.1.0" @@ -1431,27 +1236,27 @@ resolved "https://registry.yarnpkg.com/@istanbuljs/schema/-/schema-0.1.3.tgz#e45e384e4b8ec16bce2fd903af78450f6bf7ec98" integrity sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA== -"@jest/console@^29.6.4": - version "29.6.4" - resolved "https://registry.yarnpkg.com/@jest/console/-/console-29.6.4.tgz#a7e2d84516301f986bba0dd55af9d5fe37f46527" - integrity sha512-wNK6gC0Ha9QeEPSkeJedQuTQqxZYnDPuDcDhVuVatRvMkL4D0VTvFVZj+Yuh6caG2aOfzkUZ36KtCmLNtR02hw== +"@jest/console@^29.7.0": + version "29.7.0" + resolved "https://registry.yarnpkg.com/@jest/console/-/console-29.7.0.tgz#cd4822dbdb84529265c5a2bdb529a3c9cc950ffc" + integrity sha512-5Ni4CU7XHQi32IJ398EEP4RrB8eV09sXP2ROqD4bksHrnTree52PsxvX8tpL8LvTZ3pFzXyPbNQReSN41CAhOg== dependencies: "@jest/types" "^29.6.3" "@types/node" "*" chalk "^4.0.0" - jest-message-util "^29.6.3" - jest-util "^29.6.3" + jest-message-util "^29.7.0" + jest-util "^29.7.0" slash "^3.0.0" -"@jest/core@^29.6.4": - version "29.6.4" - resolved "https://registry.yarnpkg.com/@jest/core/-/core-29.6.4.tgz#265ebee05ec1ff3567757e7a327155c8d6bdb126" - integrity sha512-U/vq5ccNTSVgYH7mHnodHmCffGWHJnz/E1BEWlLuK5pM4FZmGfBn/nrJGLjUsSmyx3otCeqc1T31F4y08AMDLg== +"@jest/core@^29.6.4", "@jest/core@^29.7.0": + version "29.7.0" + resolved "https://registry.yarnpkg.com/@jest/core/-/core-29.7.0.tgz#b6cccc239f30ff36609658c5a5e2291757ce448f" + integrity sha512-n7aeXWKMnGtDA48y8TLWJPJmLmmZ642Ceo78cYWEpiD7FzDgmNDV/GCVRorPABdXLJZ/9wzzgZAlHjXjxDHGsg== dependencies: - "@jest/console" "^29.6.4" - "@jest/reporters" "^29.6.4" - "@jest/test-result" "^29.6.4" - "@jest/transform" "^29.6.4" + "@jest/console" "^29.7.0" + "@jest/reporters" "^29.7.0" + "@jest/test-result" "^29.7.0" + "@jest/transform" "^29.7.0" "@jest/types" "^29.6.3" "@types/node" "*" ansi-escapes "^4.2.1" @@ -1459,87 +1264,80 @@ ci-info "^3.2.0" exit "^0.1.2" graceful-fs "^4.2.9" - jest-changed-files "^29.6.3" - jest-config "^29.6.4" - jest-haste-map "^29.6.4" - jest-message-util "^29.6.3" + jest-changed-files "^29.7.0" + jest-config "^29.7.0" + jest-haste-map "^29.7.0" + jest-message-util "^29.7.0" jest-regex-util "^29.6.3" - jest-resolve "^29.6.4" - jest-resolve-dependencies "^29.6.4" - jest-runner "^29.6.4" - jest-runtime "^29.6.4" - jest-snapshot "^29.6.4" - jest-util "^29.6.3" - jest-validate "^29.6.3" - jest-watcher "^29.6.4" + jest-resolve "^29.7.0" + jest-resolve-dependencies "^29.7.0" + jest-runner "^29.7.0" + jest-runtime "^29.7.0" + jest-snapshot "^29.7.0" + jest-util "^29.7.0" + jest-validate "^29.7.0" + jest-watcher "^29.7.0" micromatch "^4.0.4" - pretty-format "^29.6.3" + pretty-format "^29.7.0" slash "^3.0.0" strip-ansi "^6.0.0" -"@jest/environment@^29.6.4": - version "29.6.4" - resolved "https://registry.yarnpkg.com/@jest/environment/-/environment-29.6.4.tgz#78ec2c9f8c8829a37616934ff4fea0c028c79f4f" - integrity sha512-sQ0SULEjA1XUTHmkBRl7A1dyITM9yb1yb3ZNKPX3KlTd6IG7mWUe3e2yfExtC2Zz1Q+mMckOLHmL/qLiuQJrBQ== +"@jest/environment@^29.7.0": + version "29.7.0" + resolved "https://registry.yarnpkg.com/@jest/environment/-/environment-29.7.0.tgz#24d61f54ff1f786f3cd4073b4b94416383baf2a7" + integrity sha512-aQIfHDq33ExsN4jP1NWGXhxgQ/wixs60gDiKO+XVMd8Mn0NWPWgc34ZQDTb2jKaUWQ7MuwoitXAsN2XVXNMpAw== dependencies: - "@jest/fake-timers" "^29.6.4" + "@jest/fake-timers" "^29.7.0" "@jest/types" "^29.6.3" "@types/node" "*" - jest-mock "^29.6.3" - -"@jest/expect-utils@^29.5.0": - version "29.5.0" - resolved "https://registry.yarnpkg.com/@jest/expect-utils/-/expect-utils-29.5.0.tgz#f74fad6b6e20f924582dc8ecbf2cb800fe43a036" - integrity sha512-fmKzsidoXQT2KwnrwE0SQq3uj8Z763vzR8LnLBwC2qYWEFpjX8daRsk6rHUM1QvNlEW/UJXNXm59ztmJJWs2Mg== - dependencies: - jest-get-type "^29.4.3" + jest-mock "^29.7.0" -"@jest/expect-utils@^29.6.4": - version "29.6.4" - resolved "https://registry.yarnpkg.com/@jest/expect-utils/-/expect-utils-29.6.4.tgz#17c7dfe6cec106441f218b0aff4b295f98346679" - integrity sha512-FEhkJhqtvBwgSpiTrocquJCdXPsyvNKcl/n7A3u7X4pVoF4bswm11c9d4AV+kfq2Gpv/mM8x7E7DsRvH+djkrg== +"@jest/expect-utils@^29.7.0": + version "29.7.0" + resolved "https://registry.yarnpkg.com/@jest/expect-utils/-/expect-utils-29.7.0.tgz#023efe5d26a8a70f21677d0a1afc0f0a44e3a1c6" + integrity sha512-GlsNBWiFQFCVi9QVSx7f5AgMeLxe9YCCs5PuP2O2LdjDAA8Jh9eX7lA1Jq/xdXw3Wb3hyvlFNfZIfcRetSzYcA== dependencies: jest-get-type "^29.6.3" -"@jest/expect@^29.6.4": - version "29.6.4" - resolved "https://registry.yarnpkg.com/@jest/expect/-/expect-29.6.4.tgz#1d6ae17dc68d906776198389427ab7ce6179dba6" - integrity sha512-Warhsa7d23+3X5bLbrbYvaehcgX5TLYhI03JKoedTiI8uJU4IhqYBWF7OSSgUyz4IgLpUYPkK0AehA5/fRclAA== +"@jest/expect@^29.7.0": + version "29.7.0" + resolved "https://registry.yarnpkg.com/@jest/expect/-/expect-29.7.0.tgz#76a3edb0cb753b70dfbfe23283510d3d45432bf2" + integrity sha512-8uMeAMycttpva3P1lBHB8VciS9V0XAr3GymPpipdyQXbBcuhkLQOSe8E/p92RyAdToS6ZD1tFkX+CkhoECE0dQ== dependencies: - expect "^29.6.4" - jest-snapshot "^29.6.4" + expect "^29.7.0" + jest-snapshot "^29.7.0" -"@jest/fake-timers@^29.6.4": - version "29.6.4" - resolved "https://registry.yarnpkg.com/@jest/fake-timers/-/fake-timers-29.6.4.tgz#45a27f093c43d5d989362a3e7a8c70c83188b4f6" - integrity sha512-6UkCwzoBK60edXIIWb0/KWkuj7R7Qq91vVInOe3De6DSpaEiqjKcJw4F7XUet24Wupahj9J6PlR09JqJ5ySDHw== +"@jest/fake-timers@^29.7.0": + version "29.7.0" + resolved "https://registry.yarnpkg.com/@jest/fake-timers/-/fake-timers-29.7.0.tgz#fd91bf1fffb16d7d0d24a426ab1a47a49881a565" + integrity sha512-q4DH1Ha4TTFPdxLsqDXK1d3+ioSL7yL5oCMJZgDYm6i+6CygW5E5xVr/D1HdsGxjt1ZWSfUAs9OxSB/BNelWrQ== dependencies: "@jest/types" "^29.6.3" "@sinonjs/fake-timers" "^10.0.2" "@types/node" "*" - jest-message-util "^29.6.3" - jest-mock "^29.6.3" - jest-util "^29.6.3" + jest-message-util "^29.7.0" + jest-mock "^29.7.0" + jest-util "^29.7.0" -"@jest/globals@^29.6.4": - version "29.6.4" - resolved "https://registry.yarnpkg.com/@jest/globals/-/globals-29.6.4.tgz#4f04f58731b062b44ef23036b79bdb31f40c7f63" - integrity sha512-wVIn5bdtjlChhXAzVXavcY/3PEjf4VqM174BM3eGL5kMxLiZD5CLnbmkEyA1Dwh9q8XjP6E8RwjBsY/iCWrWsA== +"@jest/globals@^29.7.0": + version "29.7.0" + resolved "https://registry.yarnpkg.com/@jest/globals/-/globals-29.7.0.tgz#8d9290f9ec47ff772607fa864ca1d5a2efae1d4d" + integrity sha512-mpiz3dutLbkW2MNFubUGUEVLkTGiqW6yLVTA+JbP6fI6J5iL9Y0Nlg8k95pcF8ctKwCS7WVxteBs29hhfAotzQ== dependencies: - "@jest/environment" "^29.6.4" - "@jest/expect" "^29.6.4" + "@jest/environment" "^29.7.0" + "@jest/expect" "^29.7.0" "@jest/types" "^29.6.3" - jest-mock "^29.6.3" + jest-mock "^29.7.0" -"@jest/reporters@^29.6.4": - version "29.6.4" - resolved "https://registry.yarnpkg.com/@jest/reporters/-/reporters-29.6.4.tgz#9d6350c8a2761ece91f7946e97ab0dabc06deab7" - integrity sha512-sxUjWxm7QdchdrD3NfWKrL8FBsortZeibSJv4XLjESOOjSUOkjQcb0ZHJwfhEGIvBvTluTzfG2yZWZhkrXJu8g== +"@jest/reporters@^29.7.0": + version "29.7.0" + resolved "https://registry.yarnpkg.com/@jest/reporters/-/reporters-29.7.0.tgz#04b262ecb3b8faa83b0b3d321623972393e8f4c7" + integrity sha512-DApq0KJbJOEzAFYjHADNNxAE3KbhxQB1y5Kplb5Waqw6zVbuWatSnMjE5gs8FUgEPmNsnZA3NCWl9NG0ia04Pg== dependencies: "@bcoe/v8-coverage" "^0.2.3" - "@jest/console" "^29.6.4" - "@jest/test-result" "^29.6.4" - "@jest/transform" "^29.6.4" + "@jest/console" "^29.7.0" + "@jest/test-result" "^29.7.0" + "@jest/transform" "^29.7.0" "@jest/types" "^29.6.3" "@jridgewell/trace-mapping" "^0.3.18" "@types/node" "*" @@ -1553,21 +1351,14 @@ istanbul-lib-report "^3.0.0" istanbul-lib-source-maps "^4.0.0" istanbul-reports "^3.1.3" - jest-message-util "^29.6.3" - jest-util "^29.6.3" - jest-worker "^29.6.4" + jest-message-util "^29.7.0" + jest-util "^29.7.0" + jest-worker "^29.7.0" slash "^3.0.0" string-length "^4.0.1" strip-ansi "^6.0.0" v8-to-istanbul "^9.0.1" -"@jest/schemas@^29.4.3": - version "29.4.3" - resolved "https://registry.yarnpkg.com/@jest/schemas/-/schemas-29.4.3.tgz#39cf1b8469afc40b6f5a2baaa146e332c4151788" - integrity sha512-VLYKXQmtmuEz6IxJsrZwzG9NvtkQsWNnWMsKxqWNu3+CnfzJQhp0WDDKWLVV9hLKr0l3SLLFRqcYHjhtyuDVxg== - dependencies: - "@sinclair/typebox" "^0.25.16" - "@jest/schemas@^29.6.3": version "29.6.3" resolved "https://registry.yarnpkg.com/@jest/schemas/-/schemas-29.6.3.tgz#430b5ce8a4e0044a7e3819663305a7b3091c8e03" @@ -1584,30 +1375,30 @@ callsites "^3.0.0" graceful-fs "^4.2.9" -"@jest/test-result@^29.6.4": - version "29.6.4" - resolved "https://registry.yarnpkg.com/@jest/test-result/-/test-result-29.6.4.tgz#adf5c79f6e1fb7405ad13d67d9e2b6ff54b54c6b" - integrity sha512-uQ1C0AUEN90/dsyEirgMLlouROgSY+Wc/JanVVk0OiUKa5UFh7sJpMEM3aoUBAz2BRNvUJ8j3d294WFuRxSyOQ== +"@jest/test-result@^29.7.0": + version "29.7.0" + resolved "https://registry.yarnpkg.com/@jest/test-result/-/test-result-29.7.0.tgz#8db9a80aa1a097bb2262572686734baed9b1657c" + integrity sha512-Fdx+tv6x1zlkJPcWXmMDAG2HBnaR9XPSd5aDWQVsfrZmLVT3lU1cwyxLgRmXR9yrq4NBoEm9BMsfgFzTQAbJYA== dependencies: - "@jest/console" "^29.6.4" + "@jest/console" "^29.7.0" "@jest/types" "^29.6.3" "@types/istanbul-lib-coverage" "^2.0.0" collect-v8-coverage "^1.0.0" -"@jest/test-sequencer@^29.6.4": - version "29.6.4" - resolved "https://registry.yarnpkg.com/@jest/test-sequencer/-/test-sequencer-29.6.4.tgz#86aef66aaa22b181307ed06c26c82802fb836d7b" - integrity sha512-E84M6LbpcRq3fT4ckfKs9ryVanwkaIB0Ws9bw3/yP4seRLg/VaCZ/LgW0MCq5wwk4/iP/qnilD41aj2fsw2RMg== +"@jest/test-sequencer@^29.7.0": + version "29.7.0" + resolved "https://registry.yarnpkg.com/@jest/test-sequencer/-/test-sequencer-29.7.0.tgz#6cef977ce1d39834a3aea887a1726628a6f072ce" + integrity sha512-GQwJ5WZVrKnOJuiYiAF52UNUJXgTZx1NHjFSEB0qEMmSZKAkdMoIzw/Cj6x6NF4AvV23AUqDpFzQkN/eYCYTxw== dependencies: - "@jest/test-result" "^29.6.4" + "@jest/test-result" "^29.7.0" graceful-fs "^4.2.9" - jest-haste-map "^29.6.4" + jest-haste-map "^29.7.0" slash "^3.0.0" -"@jest/transform@^29.6.4": - version "29.6.4" - resolved "https://registry.yarnpkg.com/@jest/transform/-/transform-29.6.4.tgz#a6bc799ef597c5d85b2e65a11fd96b6b239bab5a" - integrity sha512-8thgRSiXUqtr/pPGY/OsyHuMjGyhVnWrFAwoxmIemlBuiMyU1WFs0tXoNxzcr4A4uErs/ABre76SGmrr5ab/AA== +"@jest/transform@^29.7.0": + version "29.7.0" + resolved "https://registry.yarnpkg.com/@jest/transform/-/transform-29.7.0.tgz#df2dd9c346c7d7768b8a06639994640c642e284c" + integrity sha512-ok/BTPFzFKVMwO5eOHRrvnBVHdRy9IrsrW1GpMaQ9MCnilNLXQKmAX8s1YXDFaai9xJpac2ySzV0YeRRECr2Vw== dependencies: "@babel/core" "^7.11.6" "@jest/types" "^29.6.3" @@ -1617,26 +1408,14 @@ convert-source-map "^2.0.0" fast-json-stable-stringify "^2.1.0" graceful-fs "^4.2.9" - jest-haste-map "^29.6.4" + jest-haste-map "^29.7.0" jest-regex-util "^29.6.3" - jest-util "^29.6.3" + jest-util "^29.7.0" micromatch "^4.0.4" pirates "^4.0.4" slash "^3.0.0" write-file-atomic "^4.0.2" -"@jest/types@^29.5.0": - version "29.5.0" - resolved "https://registry.yarnpkg.com/@jest/types/-/types-29.5.0.tgz#f59ef9b031ced83047c67032700d8c807d6e1593" - integrity sha512-qbu7kN6czmVRc3xWFQcAN03RAUamgppVUdXrvl1Wr3jlNF93o9mJbGcDWrwGB6ht44u7efB1qCFgVQmca24Uog== - dependencies: - "@jest/schemas" "^29.4.3" - "@types/istanbul-lib-coverage" "^2.0.0" - "@types/istanbul-reports" "^3.0.0" - "@types/node" "*" - "@types/yargs" "^17.0.8" - chalk "^4.0.0" - "@jest/types@^29.6.3": version "29.6.3" resolved "https://registry.yarnpkg.com/@jest/types/-/types-29.6.3.tgz#1131f8cf634e7e84c5e77bab12f052af585fba59" @@ -1658,11 +1437,6 @@ "@jridgewell/sourcemap-codec" "^1.4.10" "@jridgewell/trace-mapping" "^0.3.9" -"@jridgewell/resolve-uri@3.1.0": - version "3.1.0" - resolved "https://registry.yarnpkg.com/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz#2203b118c157721addfe69d47b70465463066d78" - integrity sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w== - "@jridgewell/resolve-uri@^3.0.3", "@jridgewell/resolve-uri@^3.1.0": version "3.1.1" resolved "https://registry.yarnpkg.com/@jridgewell/resolve-uri/-/resolve-uri-3.1.1.tgz#c08679063f279615a3326583ba3a90d1d82cc721" @@ -1673,19 +1447,14 @@ resolved "https://registry.yarnpkg.com/@jridgewell/set-array/-/set-array-1.1.2.tgz#7c6cf998d6d20b914c0a55a91ae928ff25965e72" integrity sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw== -"@jridgewell/source-map@^0.3.2": - version "0.3.3" - resolved "https://registry.yarnpkg.com/@jridgewell/source-map/-/source-map-0.3.3.tgz#8108265659d4c33e72ffe14e33d6cc5eb59f2fda" - integrity sha512-b+fsZXeLYi9fEULmfBrhxn4IrPlINf8fiNarzTof004v3lFdntdwa9PF7vFJqm3mg7s+ScJMxXaE3Acp1irZcg== +"@jridgewell/source-map@^0.3.3": + version "0.3.5" + resolved "https://registry.yarnpkg.com/@jridgewell/source-map/-/source-map-0.3.5.tgz#a3bb4d5c6825aab0d281268f47f6ad5853431e91" + integrity sha512-UTYAUj/wviwdsMfzoSJspJxbkH5o1snzwX0//0ENX1u/55kkZZkcTZP6u9bwKGkv+dkk9at4m1Cpt0uY80kcpQ== dependencies: "@jridgewell/gen-mapping" "^0.3.0" "@jridgewell/trace-mapping" "^0.3.9" -"@jridgewell/sourcemap-codec@1.4.14": - version "1.4.14" - resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz#add4c98d341472a289190b424efbdb096991bb24" - integrity sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw== - "@jridgewell/sourcemap-codec@^1.4.10", "@jridgewell/sourcemap-codec@^1.4.14": version "1.4.15" resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz#d7c6e6755c78567a951e04ab52ef0fd26de59f32" @@ -1699,18 +1468,10 @@ "@jridgewell/resolve-uri" "^3.0.3" "@jridgewell/sourcemap-codec" "^1.4.10" -"@jridgewell/trace-mapping@^0.3.12", "@jridgewell/trace-mapping@^0.3.17", "@jridgewell/trace-mapping@^0.3.9": - version "0.3.18" - resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.18.tgz#25783b2086daf6ff1dcb53c9249ae480e4dd4cd6" - integrity sha512-w+niJYzMHdd7USdiH2U6869nqhD2nbfZXND5Yp93qIbEmnDNk7PD48o+YchRVpzMU7M6jVCbenTR7PA1FLQ9pA== - dependencies: - "@jridgewell/resolve-uri" "3.1.0" - "@jridgewell/sourcemap-codec" "1.4.14" - -"@jridgewell/trace-mapping@^0.3.18": - version "0.3.19" - resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.19.tgz#f8a3249862f91be48d3127c3cfe992f79b4b8811" - integrity sha512-kf37QtfW+Hwx/buWGMPcR60iF9ziHa6r/CZJIHbmcm4+0qrXiVdxegAH0F6yddEVQ7zdkjcGCgCzUu+BcbhQxw== +"@jridgewell/trace-mapping@^0.3.12", "@jridgewell/trace-mapping@^0.3.17", "@jridgewell/trace-mapping@^0.3.18", "@jridgewell/trace-mapping@^0.3.9": + version "0.3.20" + resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.20.tgz#72e45707cf240fa6b081d0366f8265b0cd10197f" + integrity sha512-R8LcPeWZol2zR8mmH3JeKQ6QRCFb7XgUhV9ZlGhHLGyg4wpPiPZNQOOWhFZhxKw8u//yTbNGI42Bx/3paXEQ+Q== dependencies: "@jridgewell/resolve-uri" "^3.1.0" "@jridgewell/sourcemap-codec" "^1.4.14" @@ -1721,9 +1482,9 @@ integrity sha512-Hcv+nVC0kZnQ3tD9GVu5xSMR4VVYOteQIr/hwFPVEvPdlXqgGEuRjiheChHgdM+JyqdgNcmzZOX/tnl0JOiI7A== "@messageformat/core@^3.0.1": - version "3.2.0" - resolved "https://registry.yarnpkg.com/@messageformat/core/-/core-3.2.0.tgz#fcb1e530f4ae4ed61c9c7a0b49cc119a79468da1" - integrity sha512-ppbb/7OYqg/t4WdFk8VAfZEV2sNUq3+7VeBAo5sKFhmF786sh6gB7fUeXa2qLTDIcTHS49HivTBN7QNOU5OFTg== + version "3.3.0" + resolved "https://registry.yarnpkg.com/@messageformat/core/-/core-3.3.0.tgz#31edd52a5f7d017adad85c929809f07741dcfd3f" + integrity sha512-YcXd3remTDdeMxAlbvW6oV9d/01/DZ8DHUFwSttO3LMzIZj3iO0NRw+u1xlsNNORFI+u0EQzD52ZX3+Udi0T3g== dependencies: "@messageformat/date-skeleton" "^1.0.0" "@messageformat/number-skeleton" "^1.0.0" @@ -1962,16 +1723,14 @@ which "^2.0.2" "@octokit/auth-token@^3.0.0": - version "3.0.3" - resolved "https://registry.yarnpkg.com/@octokit/auth-token/-/auth-token-3.0.3.tgz#ce7e48a3166731f26068d7a7a7996b5da58cbe0c" - integrity sha512-/aFM2M4HVDBT/jjDBa84sJniv1t9Gm/rLkalaz9htOm+L+8JMj1k9w0CkUdcxNyNxZPlTxKPVko+m1VlM58ZVA== - dependencies: - "@octokit/types" "^9.0.0" + version "3.0.4" + resolved "https://registry.yarnpkg.com/@octokit/auth-token/-/auth-token-3.0.4.tgz#70e941ba742bdd2b49bdb7393e821dea8520a3db" + integrity sha512-TWFX7cZF2LXoCvdmJWY7XVPi74aSY0+FfBZNSXEXFkMpjcqsQwDSYVv5FhRFaI0V1ECnwbz4j59T/G+rXNWaIQ== -"@octokit/core@^4.1.0": - version "4.2.1" - resolved "https://registry.yarnpkg.com/@octokit/core/-/core-4.2.1.tgz#fee6341ad0ce60c29cc455e056cd5b500410a588" - integrity sha512-tEDxFx8E38zF3gT7sSMDrT1tGumDgsw5yPG6BBh/X+5ClIQfMH/Yqocxz1PnHx6CHyF6pxmovUTOfZAUvQ0Lvw== +"@octokit/core@^4.2.1": + version "4.2.4" + resolved "https://registry.yarnpkg.com/@octokit/core/-/core-4.2.4.tgz#d8769ec2b43ff37cc3ea89ec4681a20ba58ef907" + integrity sha512-rYKilwgzQ7/imScn3M9/pFfUf4I1AZEH3KhyJmtPdE2zfaXAn2mFfUy4FbKewzc2We5y/LlKLj36fWJLKC2SIQ== dependencies: "@octokit/auth-token" "^3.0.0" "@octokit/graphql" "^5.0.0" @@ -1982,47 +1741,51 @@ universal-user-agent "^6.0.0" "@octokit/endpoint@^7.0.0": - version "7.0.5" - resolved "https://registry.yarnpkg.com/@octokit/endpoint/-/endpoint-7.0.5.tgz#2bb2a911c12c50f10014183f5d596ce30ac67dd1" - integrity sha512-LG4o4HMY1Xoaec87IqQ41TQ+glvIeTKqfjkCEmt5AIwDZJwQeVZFIEYXrYY6yLwK+pAScb9Gj4q+Nz2qSw1roA== + version "7.0.6" + resolved "https://registry.yarnpkg.com/@octokit/endpoint/-/endpoint-7.0.6.tgz#791f65d3937555141fb6c08f91d618a7d645f1e2" + integrity sha512-5L4fseVRUsDFGR00tMWD/Trdeeihn999rTMGRMC1G/Ldi1uWlWJzI98H4Iak5DB/RVvQuyMYKqSK/R6mbSOQyg== dependencies: "@octokit/types" "^9.0.0" is-plain-object "^5.0.0" universal-user-agent "^6.0.0" "@octokit/graphql@^5.0.0": - version "5.0.5" - resolved "https://registry.yarnpkg.com/@octokit/graphql/-/graphql-5.0.5.tgz#a4cb3ea73f83b861893a6370ee82abb36e81afd2" - integrity sha512-Qwfvh3xdqKtIznjX9lz2D458r7dJPP8l6r4GQkIdWQouZwHQK0mVT88uwiU2bdTU2OtT1uOlKpRciUWldpG0yQ== + version "5.0.6" + resolved "https://registry.yarnpkg.com/@octokit/graphql/-/graphql-5.0.6.tgz#9eac411ac4353ccc5d3fca7d76736e6888c5d248" + integrity sha512-Fxyxdy/JH0MnIB5h+UQ3yCoh1FG4kWXfFKkpWqjZHw/p+Kc8Y44Hu/kCgNBT6nU1shNumEchmW/sUO1JuQnPcw== dependencies: "@octokit/request" "^6.0.0" "@octokit/types" "^9.0.0" universal-user-agent "^6.0.0" -"@octokit/openapi-types@^17.1.2": - version "17.2.0" - resolved "https://registry.yarnpkg.com/@octokit/openapi-types/-/openapi-types-17.2.0.tgz#f1800b5f9652b8e1b85cc6dfb1e0dc888810bdb5" - integrity sha512-MazrFNx4plbLsGl+LFesMo96eIXkFgEtaKbnNpdh4aQ0VM10aoylFsTYP1AEjkeoRNZiiPe3T6Gl2Hr8dJWdlQ== +"@octokit/openapi-types@^18.0.0": + version "18.1.1" + resolved "https://registry.yarnpkg.com/@octokit/openapi-types/-/openapi-types-18.1.1.tgz#09bdfdabfd8e16d16324326da5148010d765f009" + integrity sha512-VRaeH8nCDtF5aXWnjPuEMIYf1itK/s3JYyJcWFJT8X9pSNnBtriDf7wlEWsGuhPLl4QIH4xM8fqTXDwJ3Mu6sw== -"@octokit/plugin-paginate-rest@^6.1.0": - version "6.1.0" - resolved "https://registry.yarnpkg.com/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-6.1.0.tgz#3522ef5c2712436332655085b197eafe4ac7afc4" - integrity sha512-5T4iXjJdYCVA1rdWS1C+uZV9AvtZY9QgTG74kFiSFVj94dZXowyi/YK8f4SGjZaL69jZthGlBaDKRdCMCF9log== +"@octokit/plugin-paginate-rest@^6.1.2": + version "6.1.2" + resolved "https://registry.yarnpkg.com/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-6.1.2.tgz#f86456a7a1fe9e58fec6385a85cf1b34072341f8" + integrity sha512-qhrmtQeHU/IivxucOV1bbI/xZyC/iOBhclokv7Sut5vnejAIAEXVcGQeRpQlU39E0WwK9lNvJHphHri/DB6lbQ== dependencies: - "@octokit/types" "^9.2.2" + "@octokit/tsconfig" "^1.0.2" + "@octokit/types" "^9.2.3" -"@octokit/plugin-request-log@^1.0.4": - version "1.0.4" - resolved "https://registry.yarnpkg.com/@octokit/plugin-request-log/-/plugin-request-log-1.0.4.tgz#5e50ed7083a613816b1e4a28aeec5fb7f1462e85" - integrity sha512-mLUsMkgP7K/cnFEw07kWqXGF5LKrOkD+lhCrKvPHXWDywAwuDUeDwWBpc69XK3pNX0uKiVt8g5z96PJ6z9xCFA== +"@octokit/plugin-retry@^4.1.3": + version "4.1.6" + resolved "https://registry.yarnpkg.com/@octokit/plugin-retry/-/plugin-retry-4.1.6.tgz#e33b1e520f0bd24d515c9901676b55df64dfc795" + integrity sha512-obkYzIgEC75r8+9Pnfiiqy3y/x1bc3QLE5B7qvv9wi9Kj0R5tGQFC6QMBg1154WQ9lAVypuQDGyp3hNpp15gQQ== + dependencies: + "@octokit/types" "^9.0.0" + bottleneck "^2.15.3" -"@octokit/plugin-rest-endpoint-methods@^7.1.0": - version "7.1.1" - resolved "https://registry.yarnpkg.com/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-7.1.1.tgz#cda83fa04a30291dfdf65c69bfb060aa7a1bf8d5" - integrity sha512-1XYEQZOGrD4FDa2bxuPfAVmzbKbUDs+P1dqn2TyufIW3EIZFI53n+YFr0XV+EBNATRWUL2rWuZJRKBZiU6guGA== +"@octokit/plugin-throttling@^5.2.3": + version "5.2.3" + resolved "https://registry.yarnpkg.com/@octokit/plugin-throttling/-/plugin-throttling-5.2.3.tgz#9f552a14dcee5c7326dd9dee64a71ea76b108814" + integrity sha512-C9CFg9mrf6cugneKiaI841iG8DOv6P5XXkjmiNNut+swePxQ7RWEdAZRp5rJoE1hjsIqiYcKa/ZkOQ+ujPI39Q== dependencies: - "@octokit/types" "^9.2.2" - deprecation "^2.3.1" + "@octokit/types" "^9.0.0" + bottleneck "^2.15.3" "@octokit/request-error@^3.0.0": version "3.0.3" @@ -2034,9 +1797,9 @@ once "^1.4.0" "@octokit/request@^6.0.0": - version "6.2.5" - resolved "https://registry.yarnpkg.com/@octokit/request/-/request-6.2.5.tgz#7beef1065042998f7455973ef3f818e7b84d6ec2" - integrity sha512-z83E8UIlPNaJUsXpjD8E0V5o/5f+vJJNbNcBwVZsX3/vC650U41cOkTLjq4PKk9BYonQGOnx7N17gvLyNjgGcQ== + version "6.2.8" + resolved "https://registry.yarnpkg.com/@octokit/request/-/request-6.2.8.tgz#aaf480b32ab2b210e9dadd8271d187c93171d8eb" + integrity sha512-ow4+pkVQ+6XVVsekSYBzJC0VTVvh/FCTUUgTsboGq+DTeWdyIFV8WSCdo0RIxk6wSkBTHqIK1mYuY7nOBXOchw== dependencies: "@octokit/endpoint" "^7.0.0" "@octokit/request-error" "^3.0.0" @@ -2045,22 +1808,17 @@ node-fetch "^2.6.7" universal-user-agent "^6.0.0" -"@octokit/rest@^19.0.0": - version "19.0.8" - resolved "https://registry.yarnpkg.com/@octokit/rest/-/rest-19.0.8.tgz#db1e67cb66018859fde2c6c3a49eb5c55dc04d92" - integrity sha512-/PKrzqn+zDzXKwBMwLI2IKrvk8yv8cedJOdcmxrjR3gmu6UIzURhP5oQj+4qkn7+uQi1gg7QqV4SqlaQ1HYW1Q== - dependencies: - "@octokit/core" "^4.1.0" - "@octokit/plugin-paginate-rest" "^6.1.0" - "@octokit/plugin-request-log" "^1.0.4" - "@octokit/plugin-rest-endpoint-methods" "^7.1.0" +"@octokit/tsconfig@^1.0.2": + version "1.0.2" + resolved "https://registry.yarnpkg.com/@octokit/tsconfig/-/tsconfig-1.0.2.tgz#59b024d6f3c0ed82f00d08ead5b3750469125af7" + integrity sha512-I0vDR0rdtP8p2lGMzvsJzbhdOWy405HcGovrspJ8RRibHnyRgggUSNO5AIox5LmqiwmatHKYsvj6VGFHkqS7lA== -"@octokit/types@^9.0.0", "@octokit/types@^9.2.2": - version "9.2.2" - resolved "https://registry.yarnpkg.com/@octokit/types/-/types-9.2.2.tgz#d111d33928f288f48083bfe49d8a9a5945e67db1" - integrity sha512-9BjDxjgQIvCjNWZsbqyH5QC2Yni16oaE6xL+8SUBMzcYPF4TGQBXGA97Cl3KceK9mwiNMb1mOYCz6FbCCLEL+g== +"@octokit/types@^9.0.0", "@octokit/types@^9.2.3": + version "9.3.2" + resolved "https://registry.yarnpkg.com/@octokit/types/-/types-9.3.2.tgz#3f5f89903b69f6a2d196d78ec35f888c0013cac5" + integrity sha512-D4iHGTdAnEEVsB8fl95m1hiz7D5YiRdQ9b/OEb3BYRVwbLsGHcRVPz+u+BgRLNk0Q0/4iZCBqDN96j2XNxfXrA== dependencies: - "@octokit/openapi-types" "^17.1.2" + "@octokit/openapi-types" "^18.0.0" "@ovos-media/ts-transform-paths@^1.7.18-1": version "1.7.18-1" @@ -2070,13 +1828,13 @@ "@zerollup/ts-helpers" "^1.7.18" "@peculiar/asn1-schema@^2.3.6": - version "2.3.6" - resolved "https://registry.yarnpkg.com/@peculiar/asn1-schema/-/asn1-schema-2.3.6.tgz#3dd3c2ade7f702a9a94dfb395c192f5fa5d6b922" - integrity sha512-izNRxPoaeJeg/AyH8hER6s+H7p4itk+03QCa4sbxI3lNdseQYCuxzgsuNK8bTXChtLTjpJz6NmXKA73qLa3rCA== + version "2.3.8" + resolved "https://registry.yarnpkg.com/@peculiar/asn1-schema/-/asn1-schema-2.3.8.tgz#04b38832a814e25731232dd5be883460a156da3b" + integrity sha512-ULB1XqHKx1WBU/tTFIA+uARuRoBVZ4pNdOA878RDrRbBfBGcSzi5HBkdScC6ZbHn8z7L8gmKCgPC1LHRrP46tA== dependencies: asn1js "^3.0.5" - pvtsutils "^1.3.2" - tslib "^2.4.0" + pvtsutils "^1.3.5" + tslib "^2.6.2" "@peculiar/json-schema@^1.1.12": version "1.1.12" @@ -2109,9 +1867,9 @@ graceful-fs "4.2.10" "@pnpm/npm-conf@^2.1.0": - version "2.2.0" - resolved "https://registry.yarnpkg.com/@pnpm/npm-conf/-/npm-conf-2.2.0.tgz#221b4cfcde745d5f8928c25f391e5cc9d405b345" - integrity sha512-roLI1ul/GwzwcfcVpZYPdrgW2W/drLriObl1h+yLF5syc8/5ULWw2ALbCHUWF+4YltIqA3xFSbG4IwyJz37e9g== + version "2.2.2" + resolved "https://registry.yarnpkg.com/@pnpm/npm-conf/-/npm-conf-2.2.2.tgz#0058baf1c26cbb63a828f0193795401684ac86f0" + integrity sha512-UA91GwWPhFExt3IizW6bOeY/pQ0BkuNwKjk9iQW9KqxluGCrg4VenZ0/L+2Y0+ZOtme72EVvg6v0zo3AMQRCeA== dependencies: "@pnpm/config.env-replace" "^1.1.0" "@pnpm/network.ca-file" "^1.0.1" @@ -2181,9 +1939,9 @@ tslib "^2.5.3" "@polkadot/dev-ts@^0.76.22": - version "0.76.22" - resolved "https://registry.yarnpkg.com/@polkadot/dev-ts/-/dev-ts-0.76.22.tgz#bcb802c0cd94b8eb56d41527cc08b8099b674204" - integrity sha512-GPcmALLys0RdvCZzthfJ7PCdW4/9hxFZBPpfdCRXb/8ozwC3GcURxMBoYXJz7k7UgZYfl/BjzV8Dc833OMzMyw== + version "0.76.37" + resolved "https://registry.yarnpkg.com/@polkadot/dev-ts/-/dev-ts-0.76.37.tgz#25b2029e368a00ddc47c96f1e04d66da76b30056" + integrity sha512-moI2baevx+/5FweZet+gDOCZ5SloOn5DKlAgr3/DYmyXUFUJPpiqLCOH5xNgQYoa/ETgpbYz8LTGQsYBuZCRog== dependencies: json5 "^2.2.3" tslib "^2.6.2" @@ -2424,21 +2182,28 @@ tslib "^2.6.2" "@polkadot/x-fetch@^12.3.1": - version "12.4.2" - resolved "https://registry.yarnpkg.com/@polkadot/x-fetch/-/x-fetch-12.4.2.tgz#c5b70aacf7491ec9e51b0b14a7dbda44e9f3a11c" - integrity sha512-QEtYIUO6q6LupYkOl+vRwAkbBSSNHbALG8Y3+L/tFDubeXQl79vCkJFmsjhLewpsDIwTFTPNOwzA0ZEyb+0HZw== + version "12.5.1" + resolved "https://registry.yarnpkg.com/@polkadot/x-fetch/-/x-fetch-12.5.1.tgz#41532d1324cef56a28c31490ac81062d487b16fb" + integrity sha512-Bc019lOKCoQJrthiS+H3LwCahGtl5tNnb2HK7xe3DBQIUx9r2HsF/uEngNfMRUFkUYg5TPCLFbEWU8NIREBS1A== dependencies: - "@polkadot/x-global" "12.4.2" + "@polkadot/x-global" "12.5.1" node-fetch "^3.3.2" tslib "^2.6.2" -"@polkadot/x-global@12.4.2", "@polkadot/x-global@^12.3.1": +"@polkadot/x-global@12.4.2": version "12.4.2" resolved "https://registry.yarnpkg.com/@polkadot/x-global/-/x-global-12.4.2.tgz#cc6ed596698678f98a53547b9adb712eadfd5175" integrity sha512-CwbjSt1Grmn56xAj+hGC8ZB0uZxMl92K+VkBH0KxjgcbAX/D24ZD/0ds8pAnUYrO4aYHYq2j2MAGVSMdHcMBAQ== dependencies: tslib "^2.6.2" +"@polkadot/x-global@12.5.1", "@polkadot/x-global@^12.3.1": + version "12.5.1" + resolved "https://registry.yarnpkg.com/@polkadot/x-global/-/x-global-12.5.1.tgz#947bb90e0c46c853ffe216dd6dcb6847d5c18a98" + integrity sha512-6K0YtWEg0eXInDOihU5aSzeb1t9TiDdX9ZuRly+58ALSqw5kPZYmQLbzE1d8HWzyXRXK+YH65GtLzfMGqfYHmw== + dependencies: + tslib "^2.6.2" + "@polkadot/x-randomvalues@12.4.2": version "12.4.2" resolved "https://registry.yarnpkg.com/@polkadot/x-randomvalues/-/x-randomvalues-12.4.2.tgz#399a7f831e465e6cd5aea64f8220693b07be86fa" @@ -2464,25 +2229,25 @@ tslib "^2.6.2" "@polkadot/x-ws@^12.3.1": - version "12.4.2" - resolved "https://registry.yarnpkg.com/@polkadot/x-ws/-/x-ws-12.4.2.tgz#675e2d7effd6cafebc43783484a6ae55afb58f20" - integrity sha512-dYUtpbPa/JNd94tPAM9iHMzhR8MZ4wtOPh8gvueQRRYC8ZYQ9NPwjbBImY2FRfx7wCG1tFLAR6OEw4ToLLJNsA== + version "12.5.1" + resolved "https://registry.yarnpkg.com/@polkadot/x-ws/-/x-ws-12.5.1.tgz#ff9fc78ef701e18d765443779ab95296a406138c" + integrity sha512-efNMhB3Lh6pW2iTipMkqwrjpuUtb3EwR/jYZftiIGo5tDPB7rqoMOp9s6KRFJEIUfZkLnMUtbkZ5fHzUJaCjmQ== dependencies: - "@polkadot/x-global" "12.4.2" + "@polkadot/x-global" "12.5.1" tslib "^2.6.2" - ws "^8.13.0" + ws "^8.14.1" "@polymeshassociation/local-signing-manager@^3.0.1": - version "3.0.1" - resolved "https://registry.yarnpkg.com/@polymeshassociation/local-signing-manager/-/local-signing-manager-3.0.1.tgz#f9631f408b27d8aa8ad8668cc1e6d2e9907ff8aa" - integrity sha512-J7XfMgVHgLHuppH6aCI7XL7S211UcYQOY+G/qQ+M3mEbmg4yT+W13gNRG81KF6M21bEoLp1LXjN3DoJs7rvDLA== + version "3.2.0" + resolved "https://registry.yarnpkg.com/@polymeshassociation/local-signing-manager/-/local-signing-manager-3.2.0.tgz#7c08d811d428bd1e78c7c6ad92dbc966481a34cf" + integrity sha512-gQx08eK8E43mo9KDtIJFQpNMAWq1eTGL2qgQe6IKEiadDpIfSJ9WeCg/mXXrOobC9jxQyi1+pGRQY6wUllDBXA== dependencies: - "@polymeshassociation/signing-manager-types" "^3.0.0" + "@polymeshassociation/signing-manager-types" "^3.2.0" -"@polymeshassociation/signing-manager-types@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@polymeshassociation/signing-manager-types/-/signing-manager-types-3.0.0.tgz#70327690e1779b2ceb7b612c3f447a96d6621557" - integrity sha512-8jiR+6Yijy+kGBDTWjr6H+YbaoSlU7tIgXqpX7YVKdmnEbP/SKDh4ktGkF88513J52So+JGDcoLG4URLAhDkhQ== +"@polymeshassociation/signing-manager-types@^3.0.0", "@polymeshassociation/signing-manager-types@^3.2.0": + version "3.2.0" + resolved "https://registry.yarnpkg.com/@polymeshassociation/signing-manager-types/-/signing-manager-types-3.2.0.tgz#a02089aae88968bc7a3d20a19a34b1a84361a191" + integrity sha512-+xJdrxhOyfY0Noq8s9vLsfJKCMU2R3cH0MetWL2aoX/DLmm2p8gX28EtaGBsHNoiZJLGol4NnLR0fphyVsXS0Q== "@polymeshassociation/typedoc-theme@^1.1.0": version "1.1.0" @@ -2510,9 +2275,9 @@ vue-eslint-parser "^8.0.1" "@repeaterjs/repeater@^3.0.4": - version "3.0.4" - resolved "https://registry.yarnpkg.com/@repeaterjs/repeater/-/repeater-3.0.4.tgz#a04d63f4d1bf5540a41b01a921c9a7fddc3bd1ca" - integrity sha512-AW8PKd6iX3vAZ0vA43nOUOnbq/X5ihgU+mSXXqunMkeQADGiqw/PY0JNeYtD5sr0PAy51YPgAPbDoeapv9r8WA== + version "3.0.5" + resolved "https://registry.yarnpkg.com/@repeaterjs/repeater/-/repeater-3.0.5.tgz#b77571685410217a548a9c753aa3cdfc215bfc78" + integrity sha512-l3YHBLAol6d/IKnB9LhpD0cEZWAoe3eFKUyTYWmFmCO2Q/WOckxLQAUyMZWwZV2M/m3+4vgRoaolFqaII82/TA== "@scure/base@1.1.1": version "1.1.1" @@ -2548,25 +2313,26 @@ integrity sha512-5hiM4Un+tpl4cKw3lV4UgzJj+SmfNIDCLLw0TepzQxz9ZGV5ixnqkzIVF+3tp0ZHgcMKE+VNGHJjEeyFG2dcSw== "@semantic-release/github@^8.0.0": - version "8.0.7" - resolved "https://registry.yarnpkg.com/@semantic-release/github/-/github-8.0.7.tgz#643aee7a5cdd2acd3ae643bb90ad4ac796901de6" - integrity sha512-VtgicRIKGvmTHwm//iqTh/5NGQwsncOMR5vQK9pMT92Aem7dv37JFKKRuulUsAnUOIlO4G8wH3gPiBAA0iW0ww== + version "8.1.0" + resolved "https://registry.yarnpkg.com/@semantic-release/github/-/github-8.1.0.tgz#c31fc5852d32975648445804d1984cd96e72c4d0" + integrity sha512-erR9E5rpdsz0dW1I7785JtndQuMWN/iDcemcptf67tBNOmBUN0b2YNOgcjYUnBpgRpZ5ozfBHrK7Bz+2ets/Dg== dependencies: - "@octokit/rest" "^19.0.0" + "@octokit/core" "^4.2.1" + "@octokit/plugin-paginate-rest" "^6.1.2" + "@octokit/plugin-retry" "^4.1.3" + "@octokit/plugin-throttling" "^5.2.3" "@semantic-release/error" "^3.0.0" aggregate-error "^3.0.0" - bottleneck "^2.18.1" debug "^4.0.0" dir-glob "^3.0.0" fs-extra "^11.0.0" globby "^11.0.0" - http-proxy-agent "^5.0.0" - https-proxy-agent "^5.0.0" + http-proxy-agent "^7.0.0" + https-proxy-agent "^7.0.0" issue-parser "^6.0.0" lodash "^4.17.4" mime "^3.0.0" p-filter "^2.0.0" - p-retry "^4.0.0" url-join "^4.0.0" "@semantic-release/npm@^9.0.0": @@ -2604,11 +2370,6 @@ lodash "^4.17.4" read-pkg-up "^7.0.0" -"@sinclair/typebox@^0.25.16": - version "0.25.24" - resolved "https://registry.yarnpkg.com/@sinclair/typebox/-/typebox-0.25.24.tgz#8c7688559979f7079aacaf31aa881c3aa410b718" - integrity sha512-XJfwUVUKDHF5ugKwIcxEgc9k8b7HbznCp6eUfWgu710hMPNIO4aw4/zB5RogDQz8nd6gyCDpU9O/m6qYEWY6yQ== - "@sinclair/typebox@^0.27.8": version "0.27.8" resolved "https://registry.yarnpkg.com/@sinclair/typebox/-/typebox-0.27.8.tgz#6667fac16c436b5434a387a34dedb013198f6e6e" @@ -2643,9 +2404,9 @@ smoldot "1.0.4" "@substrate/ss58-registry@^1.43.0": - version "1.43.0" - resolved "https://registry.yarnpkg.com/@substrate/ss58-registry/-/ss58-registry-1.43.0.tgz#93108e45cb7ef6d82560c153e3692c2aa1c711b3" - integrity sha512-USEkXA46P9sqClL7PZv0QFsit4S8Im97wchKG0/H/9q3AT/S76r40UHfCr4Un7eBJPE23f7fU9BZ0ITpP9MCsA== + version "1.44.0" + resolved "https://registry.yarnpkg.com/@substrate/ss58-registry/-/ss58-registry-1.44.0.tgz#54f214e2a44f450b7bbc9252891c1879a54e0606" + integrity sha512-7lQ/7mMCzVNSEfDS4BCqnRnKCFKpcOaPrxMeGTXHX1YQzM/m2BBHjbK2C3dJvjv7GYxMiaTq/HdWQj1xS6ss+A== "@tootallnate/once@2": version "2.0.0" @@ -2673,9 +2434,9 @@ integrity sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA== "@types/babel__core@^7.1.14": - version "7.20.0" - resolved "https://registry.yarnpkg.com/@types/babel__core/-/babel__core-7.20.0.tgz#61bc5a4cae505ce98e1e36c5445e4bee060d8891" - integrity sha512-+n8dL/9GWblDO0iU6eZAwEIJVr5DWigtle+Q6HLOrh/pdbXOhOtqzq8VPPE2zvNJzSKY4vH/z3iT3tn0A3ypiQ== + version "7.20.4" + resolved "https://registry.yarnpkg.com/@types/babel__core/-/babel__core-7.20.4.tgz#26a87347e6c6f753b3668398e34496d6d9ac6ac0" + integrity sha512-mLnSC22IC4vcWiuObSRjrLd9XcBTGf59vUSoq2jkQDJ/QQ8PMI9rSuzE+aEV8karUMbskw07bKYoUJCKTUaygg== dependencies: "@babel/parser" "^7.20.7" "@babel/types" "^7.20.7" @@ -2684,102 +2445,94 @@ "@types/babel__traverse" "*" "@types/babel__generator@*": - version "7.6.4" - resolved "https://registry.yarnpkg.com/@types/babel__generator/-/babel__generator-7.6.4.tgz#1f20ce4c5b1990b37900b63f050182d28c2439b7" - integrity sha512-tFkciB9j2K755yrTALxD44McOrk+gfpIpvC3sxHjRawj6PfnQxrse4Clq5y/Rq+G3mrBurMax/lG8Qn2t9mSsg== + version "7.6.7" + resolved "https://registry.yarnpkg.com/@types/babel__generator/-/babel__generator-7.6.7.tgz#a7aebf15c7bc0eb9abd638bdb5c0b8700399c9d0" + integrity sha512-6Sfsq+EaaLrw4RmdFWE9Onp63TOUue71AWb4Gpa6JxzgTYtimbM086WnYTy2U67AofR++QKCo08ZP6pwx8YFHQ== dependencies: "@babel/types" "^7.0.0" "@types/babel__template@*": - version "7.4.1" - resolved "https://registry.yarnpkg.com/@types/babel__template/-/babel__template-7.4.1.tgz#3d1a48fd9d6c0edfd56f2ff578daed48f36c8969" - integrity sha512-azBFKemX6kMg5Io+/rdGT0dkGreboUVR0Cdm3fz9QJWpaQGJRQXl7C+6hOTCZcMll7KFyEQpgbYI2lHdsS4U7g== + version "7.4.4" + resolved "https://registry.yarnpkg.com/@types/babel__template/-/babel__template-7.4.4.tgz#5672513701c1b2199bc6dad636a9d7491586766f" + integrity sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A== dependencies: "@babel/parser" "^7.1.0" "@babel/types" "^7.0.0" "@types/babel__traverse@*", "@types/babel__traverse@^7.0.6": - version "7.18.5" - resolved "https://registry.yarnpkg.com/@types/babel__traverse/-/babel__traverse-7.18.5.tgz#c107216842905afafd3b6e774f6f935da6f5db80" - integrity sha512-enCvTL8m/EHS/zIvJno9nE+ndYPh1/oNFzRYRmtUqJICG2VnCSBzMLW5VN2KCQU91f23tsNKR8v7VJJQMatl7Q== + version "7.20.4" + resolved "https://registry.yarnpkg.com/@types/babel__traverse/-/babel__traverse-7.20.4.tgz#ec2c06fed6549df8bc0eb4615b683749a4a92e1b" + integrity sha512-mSM/iKUk5fDDrEV/e83qY+Cr3I1+Q3qqTuEn++HAWYjEa1+NxZr6CNrcJGf2ZTnq4HoFGC3zaTPZTobCzCFukA== dependencies: - "@babel/types" "^7.3.0" + "@babel/types" "^7.20.7" "@types/bluebird@^3.5.38": - version "3.5.38" - resolved "https://registry.yarnpkg.com/@types/bluebird/-/bluebird-3.5.38.tgz#7a671e66750ccd21c9fc9d264d0e1e5330bc9908" - integrity sha512-yR/Kxc0dd4FfwtEoLZMoqJbM/VE/W7hXn/MIjb+axcwag0iFmSPK7OBUZq1YWLynJUoWQkfUrI7T0HDqGApNSg== + version "3.5.42" + resolved "https://registry.yarnpkg.com/@types/bluebird/-/bluebird-3.5.42.tgz#7ec05f1ce9986d920313c1377a5662b1b563d366" + integrity sha512-Jhy+MWRlro6UjVi578V/4ZGNfeCOcNCp0YaFNIUGFKlImowqwb1O/22wDVk3FDGMLqxdpOV3qQHD5fPEH4hK6A== "@types/bn.js@^5.1.1": - version "5.1.1" - resolved "https://registry.yarnpkg.com/@types/bn.js/-/bn.js-5.1.1.tgz#b51e1b55920a4ca26e9285ff79936bbdec910682" - integrity sha512-qNrYbZqMx0uJAfKnKclPh+dTwK33KfLHYqtyODwd5HnXOjnkhc4qgn3BrK6RWyGZm5+sIFE7Q7Vz6QQtJB7w7g== + version "5.1.5" + resolved "https://registry.yarnpkg.com/@types/bn.js/-/bn.js-5.1.5.tgz#2e0dacdcce2c0f16b905d20ff87aedbc6f7b4bf0" + integrity sha512-V46N0zwKRF5Q00AZ6hWtN0T8gGmDUaUzLWQvHFo5yThtVwK/VCenFY3wXVbOvNfajEpsTfQM4IN9k/d6gUVX3A== dependencies: "@types/node" "*" "@types/body-parser@*": - version "1.19.2" - resolved "https://registry.yarnpkg.com/@types/body-parser/-/body-parser-1.19.2.tgz#aea2059e28b7658639081347ac4fab3de166e6f0" - integrity sha512-ALYone6pm6QmwZoAgeyNksccT9Q4AWZQ6PvfwR37GT6r6FWUPguq6sUmNGSMV2Wr761oQoBxwGGa6DR5o1DC9g== + version "1.19.5" + resolved "https://registry.yarnpkg.com/@types/body-parser/-/body-parser-1.19.5.tgz#04ce9a3b677dc8bd681a17da1ab9835dc9d3ede4" + integrity sha512-fB3Zu92ucau0iQ0JMCFQE7b/dv8Ot07NI3KaZIkIUNXq82k4eBAqUaneXfleGY9JWskeS9y+u0nXMyspcuQrCg== dependencies: "@types/connect" "*" "@types/node" "*" "@types/bonjour@^3.5.9": - version "3.5.10" - resolved "https://registry.yarnpkg.com/@types/bonjour/-/bonjour-3.5.10.tgz#0f6aadfe00ea414edc86f5d106357cda9701e275" - integrity sha512-p7ienRMiS41Nu2/igbJxxLDWrSZ0WxM8UQgCeO9KhoVF7cOVFkrKsiDr1EsJIla8vV3oEEjGcz11jc5yimhzZw== + version "3.5.13" + resolved "https://registry.yarnpkg.com/@types/bonjour/-/bonjour-3.5.13.tgz#adf90ce1a105e81dd1f9c61fdc5afda1bfb92956" + integrity sha512-z9fJ5Im06zvUL548KvYNecEVlA7cVDkGUi6kZusb04mpyEFKCIZJvloCcmpmLaIahDpOQGHaHmG6imtPMmPXGQ== dependencies: "@types/node" "*" "@types/connect-history-api-fallback@^1.3.5": - version "1.5.0" - resolved "https://registry.yarnpkg.com/@types/connect-history-api-fallback/-/connect-history-api-fallback-1.5.0.tgz#9fd20b3974bdc2bcd4ac6567e2e0f6885cb2cf41" - integrity sha512-4x5FkPpLipqwthjPsF7ZRbOv3uoLUFkTA9G9v583qi4pACvq0uTELrB8OLUzPWUI4IJIyvM85vzkV1nyiI2Lig== + version "1.5.3" + resolved "https://registry.yarnpkg.com/@types/connect-history-api-fallback/-/connect-history-api-fallback-1.5.3.tgz#7793aa2160cef7db0ce5fe2b8aab621200f1a470" + integrity sha512-6mfQ6iNvhSKCZJoY6sIG3m0pKkdUcweVNOLuBBKvoWGzl2yRxOJcYOTRyLKt3nxXvBLJWa6QkW//tgbIwJehmA== dependencies: "@types/express-serve-static-core" "*" "@types/node" "*" "@types/connect@*": - version "3.4.35" - resolved "https://registry.yarnpkg.com/@types/connect/-/connect-3.4.35.tgz#5fcf6ae445e4021d1fc2219a4873cc73a3bb2ad1" - integrity sha512-cdeYyv4KWoEgpBISTxWvqYsVy444DOqehiF3fM3ne10AmJ62RSyNkUnxMJXHQWRQQX2eR94m5y1IZyDwBjV9FQ== + version "3.4.38" + resolved "https://registry.yarnpkg.com/@types/connect/-/connect-3.4.38.tgz#5ba7f3bc4fbbdeaff8dded952e5ff2cc53f8d858" + integrity sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug== dependencies: "@types/node" "*" "@types/eslint-scope@^3.7.3": - version "3.7.4" - resolved "https://registry.yarnpkg.com/@types/eslint-scope/-/eslint-scope-3.7.4.tgz#37fc1223f0786c39627068a12e94d6e6fc61de16" - integrity sha512-9K4zoImiZc3HlIp6AVUDE4CWYx22a+lhSZMYNpbjW04+YF0KWj4pJXnEMjdnFTiQibFFmElcsasJXDbdI/EPhA== + version "3.7.7" + resolved "https://registry.yarnpkg.com/@types/eslint-scope/-/eslint-scope-3.7.7.tgz#3108bd5f18b0cdb277c867b3dd449c9ed7079ac5" + integrity sha512-MzMFlSLBqNF2gcHWO0G1vP/YQyfvrxZ0bF+u7mzUdZ1/xK4A4sru+nraZz5i3iEIk1l1uyicaDVTB4QbbEkAYg== dependencies: "@types/eslint" "*" "@types/estree" "*" -"@types/eslint@*": - version "8.37.0" - resolved "https://registry.yarnpkg.com/@types/eslint/-/eslint-8.37.0.tgz#29cebc6c2a3ac7fea7113207bf5a828fdf4d7ef1" - integrity sha512-Piet7dG2JBuDIfohBngQ3rCt7MgO9xCO4xIMKxBThCq5PNRB91IjlJ10eJVwfoNtvTErmxLzwBZ7rHZtbOMmFQ== - dependencies: - "@types/estree" "*" - "@types/json-schema" "*" - -"@types/eslint@^8.4.2": - version "8.44.2" - resolved "https://registry.yarnpkg.com/@types/eslint/-/eslint-8.44.2.tgz#0d21c505f98a89b8dd4d37fa162b09da6089199a" - integrity sha512-sdPRb9K6iL5XZOmBubg8yiFp5yS/JdUDQsq5e6h95km91MCYMuvp7mh1fjPEYUhvHepKpZOjnEaMBR4PxjWDzg== +"@types/eslint@*", "@types/eslint@^8.4.2": + version "8.44.7" + resolved "https://registry.yarnpkg.com/@types/eslint/-/eslint-8.44.7.tgz#430b3cc96db70c81f405e6a08aebdb13869198f5" + integrity sha512-f5ORu2hcBbKei97U73mf+l9t4zTGl74IqZ0GQk4oVea/VS8tQZYkUveSYojk+frraAVYId0V2WC9O4PTNru2FQ== dependencies: "@types/estree" "*" "@types/json-schema" "*" "@types/estree@*", "@types/estree@^1.0.0": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@types/estree/-/estree-1.0.1.tgz#aa22750962f3bf0e79d753d3cc067f010c95f194" - integrity sha512-LG4opVs2ANWZ1TJoKc937iMmNstM/d0ae1vNbnBvBhqCSezgVUOzcLCqbI5elV8Vy6WKwKjaqR+zO9VKirBBCA== + version "1.0.5" + resolved "https://registry.yarnpkg.com/@types/estree/-/estree-1.0.5.tgz#a6ce3e556e00fd9895dd872dd172ad0d4bd687f4" + integrity sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw== "@types/express-serve-static-core@*", "@types/express-serve-static-core@^4.17.33": - version "4.17.35" - resolved "https://registry.yarnpkg.com/@types/express-serve-static-core/-/express-serve-static-core-4.17.35.tgz#c95dd4424f0d32e525d23812aa8ab8e4d3906c4f" - integrity sha512-wALWQwrgiB2AWTT91CB62b6Yt0sNHpznUXeZEcnPU3DRdlDIz74x8Qg1UUYKSVFi+va5vKOLYRBI1bRKiLLKIg== + version "4.17.41" + resolved "https://registry.yarnpkg.com/@types/express-serve-static-core/-/express-serve-static-core-4.17.41.tgz#5077defa630c2e8d28aa9ffc2c01c157c305bef6" + integrity sha512-OaJ7XLaelTgrvlZD8/aa0vvvxZdUmlCn6MtWeB7TkiKW70BQLc9XEPpDLPdbo52ZhXUCrznlWdCHWxJWtdyajA== dependencies: "@types/node" "*" "@types/qs" "*" @@ -2787,9 +2540,9 @@ "@types/send" "*" "@types/express@*", "@types/express@^4.17.13": - version "4.17.17" - resolved "https://registry.yarnpkg.com/@types/express/-/express-4.17.17.tgz#01d5437f6ef9cfa8668e616e13c2f2ac9a491ae4" - integrity sha512-Q4FmmuLGBG58btUnfS1c1r/NQdlp3DMfGDGig8WhfpA2YRUtEkxAjkZb0yvplJGYdF1fsQ81iMDcH24sSCNC/Q== + version "4.17.21" + resolved "https://registry.yarnpkg.com/@types/express/-/express-4.17.21.tgz#c26d4a151e60efe0084b23dc3369ebc631ed192d" + integrity sha512-ejlPM315qwLpaQlQDTjPdsUFSc6ZsP4AN6AlWnogPjQ7CVi7PYF3YVz+CY3jE2pwYf7E/7HlDAN0rV2GxTG0HQ== dependencies: "@types/body-parser" "*" "@types/express-serve-static-core" "^4.17.33" @@ -2797,9 +2550,9 @@ "@types/serve-static" "*" "@types/graceful-fs@^4.1.3": - version "4.1.6" - resolved "https://registry.yarnpkg.com/@types/graceful-fs/-/graceful-fs-4.1.6.tgz#e14b2576a1c25026b7f02ede1de3b84c3a1efeae" - integrity sha512-Sig0SNORX9fdW+bQuTEovKj3uHcUL6LQKbCrrqb1X7J6/ReAbhCXRAhc+SMejhLELFj2QcyuxmUooZ4bt5ReSw== + version "4.1.9" + resolved "https://registry.yarnpkg.com/@types/graceful-fs/-/graceful-fs-4.1.9.tgz#2a06bc0f68a20ab37b3e36aa238be6abdf49e8b4" + integrity sha512-olP3sd1qOEe5dXTSaFvQG+02VdRXcdytWLAZsAq1PecU8uqQAhkrnbli7DagjtXKW/Bl7YJbUsa8MPcuc8LHEQ== dependencies: "@types/node" "*" @@ -2808,43 +2561,48 @@ resolved "https://registry.yarnpkg.com/@types/html-minifier-terser/-/html-minifier-terser-6.1.0.tgz#4fc33a00c1d0c16987b1a20cf92d20614c55ac35" integrity sha512-oh/6byDPnL1zeNXFrDXFLyZjkr1MsBG667IM792caf1L2UPOOMf65NFzjUH/ltyfwjAGfs1rsX1eftK0jC/KIg== +"@types/http-errors@*": + version "2.0.4" + resolved "https://registry.yarnpkg.com/@types/http-errors/-/http-errors-2.0.4.tgz#7eb47726c391b7345a6ec35ad7f4de469cf5ba4f" + integrity sha512-D0CFMMtydbJAegzOyHjtiKPLlvnm3iTZyZRSZoLq2mRhDdmLfIWOCYPfQJ4cu2erKghU++QvjcUjp/5h7hESpA== + "@types/http-proxy@^1.17.8": - version "1.17.11" - resolved "https://registry.yarnpkg.com/@types/http-proxy/-/http-proxy-1.17.11.tgz#0ca21949a5588d55ac2b659b69035c84bd5da293" - integrity sha512-HC8G7c1WmaF2ekqpnFq626xd3Zz0uvaqFmBJNRZCGEZCXkvSdJoNFn/8Ygbd9fKNQj8UzLdCETaI0UWPAjK7IA== + version "1.17.14" + resolved "https://registry.yarnpkg.com/@types/http-proxy/-/http-proxy-1.17.14.tgz#57f8ccaa1c1c3780644f8a94f9c6b5000b5e2eec" + integrity sha512-SSrD0c1OQzlFX7pGu1eXxSEjemej64aaNPRhhVYUGqXh0BtldAAx37MG8btcumvpgKyZp1F5Gn3JkktdxiFv6w== dependencies: "@types/node" "*" "@types/istanbul-lib-coverage@*", "@types/istanbul-lib-coverage@^2.0.0", "@types/istanbul-lib-coverage@^2.0.1": - version "2.0.4" - resolved "https://registry.yarnpkg.com/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.4.tgz#8467d4b3c087805d63580480890791277ce35c44" - integrity sha512-z/QT1XN4K4KYuslS23k62yDIDLwLFkzxOuMplDtObz0+y7VqJCaO2o+SPwHCvLFZh7xazvvoor2tA/hPz9ee7g== + version "2.0.6" + resolved "https://registry.yarnpkg.com/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.6.tgz#7739c232a1fee9b4d3ce8985f314c0c6d33549d7" + integrity sha512-2QF/t/auWm0lsy8XtKVPG19v3sSOQlJe/YHZgfjb/KBBHOGSV+J2q/S671rcq9uTBrLAXmZpqJiaQbMT+zNU1w== "@types/istanbul-lib-report@*": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz#c14c24f18ea8190c118ee7562b7ff99a36552686" - integrity sha512-plGgXAPfVKFoYfa9NpYDAkseG+g6Jr294RqeqcqDixSbU34MZVJRi/P+7Y8GDpzkEwLaGZZOpKIEmeVZNtKsrg== + version "3.0.3" + resolved "https://registry.yarnpkg.com/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.3.tgz#53047614ae72e19fc0401d872de3ae2b4ce350bf" + integrity sha512-NQn7AHQnk/RSLOxrBbGyJM/aVQ+pjj5HCgasFxc0K/KhoATfQ/47AyUl15I2yBUpihjmas+a+VJBOqecrFH+uA== dependencies: "@types/istanbul-lib-coverage" "*" "@types/istanbul-reports@^3.0.0": - version "3.0.1" - resolved "https://registry.yarnpkg.com/@types/istanbul-reports/-/istanbul-reports-3.0.1.tgz#9153fe98bba2bd565a63add9436d6f0d7f8468ff" - integrity sha512-c3mAZEuK0lvBp8tmuL74XRKn1+y2dcwOUpH7x4WrF6gk1GIgiluDRgMYQtw2OFcBvAJWlt6ASU3tSqxp0Uu0Aw== + version "3.0.4" + resolved "https://registry.yarnpkg.com/@types/istanbul-reports/-/istanbul-reports-3.0.4.tgz#0f03e3d2f670fbdac586e34b433783070cc16f54" + integrity sha512-pk2B1NWalF9toCRu6gjBzR69syFjP4Od8WRAX+0mmf9lAjCRicLOWc+ZrxZHx/0XRjotgkF9t6iaMJ+aXcOdZQ== dependencies: "@types/istanbul-lib-report" "*" "@types/jest-when@^3.5.2": - version "3.5.2" - resolved "https://registry.yarnpkg.com/@types/jest-when/-/jest-when-3.5.2.tgz#7e6225e827267d26f115dc97da6403a3b37556c5" - integrity sha512-1WP+wJDW7h4TYAVLoIebxRIVv8GPk66Qsq2nU7PkwKZ6usurnDQZgk0DfBNKAJ9gVzapCXSV53Vn/3nBHBNzAw== + version "3.5.5" + resolved "https://registry.yarnpkg.com/@types/jest-when/-/jest-when-3.5.5.tgz#c23e97945959277946c15eff2a2fe51d18743045" + integrity sha512-H9MDPIrz7NOu6IXP9OHExNN9LnJbGYAzRsGIDKxWr7Fth9vovemNV8yFbkUWLSEmuA8PREvAEvt9yK0PPLmFHA== dependencies: "@types/jest" "*" "@types/jest@*": - version "29.5.1" - resolved "https://registry.yarnpkg.com/@types/jest/-/jest-29.5.1.tgz#83c818aa9a87da27d6da85d3378e5a34d2f31a47" - integrity sha512-tEuVcHrpaixS36w7hpsfLBLpjtMRJUE09/MHXn923LOVojDwyC14cWcfc0rDs0VEfUyYmt/+iX1kxxp+gZMcaQ== + version "29.5.8" + resolved "https://registry.yarnpkg.com/@types/jest/-/jest-29.5.8.tgz#ed5c256fe2bc7c38b1915ee5ef1ff24a3427e120" + integrity sha512-fXEFTxMV2Co8ZF5aYFJv+YeA08RTYJfhtN5c9JSv/mFEMe+xxjufCb+PHL+bJcMs/ebPUsBu+UNTEz+ydXrR6g== dependencies: expect "^29.0.0" pretty-format "^29.0.0" @@ -2858,24 +2616,19 @@ pretty-format "^29.0.0" "@types/js-yaml@^4.0.0": - version "4.0.5" - resolved "https://registry.yarnpkg.com/@types/js-yaml/-/js-yaml-4.0.5.tgz#738dd390a6ecc5442f35e7f03fa1431353f7e138" - integrity sha512-FhpRzf927MNQdRZP0J5DLIdTXhjLYzeUTmLAu69mnVksLH9CJY3IuSeEgbKUki7GQZm0WqDkGzyxju2EZGD2wA== - -"@types/json-schema@*", "@types/json-schema@^7.0.8", "@types/json-schema@^7.0.9": - version "7.0.11" - resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.11.tgz#d421b6c527a3037f7c84433fd2c4229e016863d3" - integrity sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ== + version "4.0.9" + resolved "https://registry.yarnpkg.com/@types/js-yaml/-/js-yaml-4.0.9.tgz#cd82382c4f902fed9691a2ed79ec68c5898af4c2" + integrity sha512-k4MGaQl5TGo/iipqb2UDG2UwjXziSWkh0uysQelTlJpX1qGlpUZYm8PnO4DxG1qBomtJUdYJ6qR6xdIah10JLg== -"@types/json-schema@^7.0.12": - version "7.0.12" - resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.12.tgz#d70faba7039d5fca54c83c7dbab41051d2b6f6cb" - integrity sha512-Hr5Jfhc9eYOQNPYO5WLDq/n4jqijdHNlDXjuAQkkt+mWdQR+XJToOHrsD4cPaMXpn6KO7y2+wM8AZEs8VpBLVA== +"@types/json-schema@*", "@types/json-schema@^7.0.12", "@types/json-schema@^7.0.8", "@types/json-schema@^7.0.9": + version "7.0.15" + resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.15.tgz#596a1747233694d50f6ad8a7869fcb6f56cf5841" + integrity sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA== "@types/json-stable-stringify@^1.0.32", "@types/json-stable-stringify@^1.0.34": - version "1.0.34" - resolved "https://registry.yarnpkg.com/@types/json-stable-stringify/-/json-stable-stringify-1.0.34.tgz#c0fb25e4d957e0ee2e497c1f553d7f8bb668fd75" - integrity sha512-s2cfwagOQAS8o06TcwKfr9Wx11dNGbH2E9vJz1cqV+a/LOyhWNLUNd6JSRYNzvB4d29UuJX2M0Dj9vE1T8fRXw== + version "1.0.36" + resolved "https://registry.yarnpkg.com/@types/json-stable-stringify/-/json-stable-stringify-1.0.36.tgz#fe6c6001a69ff8160a772da08779448a333c7ddd" + integrity sha512-b7bq23s4fgBB76n34m2b3RBf6M369B0Z9uRR8aHTMd8kZISRkmDEpPD8hhpYvDFzr3bJCPES96cm3Q6qRNDbQw== "@types/json5@^0.0.29": version "0.0.29" @@ -2883,49 +2636,60 @@ integrity sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ== "@types/lodash@^4.14.197": - version "4.14.197" - resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.197.tgz#e95c5ddcc814ec3e84c891910a01e0c8a378c54b" - integrity sha512-BMVOiWs0uNxHVlHBgzTIqJYmj+PgCo4euloGF+5m4okL3rEYzM2EEv78mw8zWSMM57dM7kVIgJ2QDvwHSoCI5g== + version "4.14.201" + resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.201.tgz#76f47cb63124e806824b6c18463daf3e1d480239" + integrity sha512-y9euML0cim1JrykNxADLfaG0FgD1g/yTHwUs/Jg9ZIU7WKj2/4IW9Lbb1WZbvck78W/lfGXFfe+u2EGfIJXdLQ== "@types/mime@*": - version "3.0.1" - resolved "https://registry.yarnpkg.com/@types/mime/-/mime-3.0.1.tgz#5f8f2bca0a5863cb69bc0b0acd88c96cb1d4ae10" - integrity sha512-Y4XFY5VJAuw0FgAqPNd6NNoV44jbq9Bz2L7Rh/J6jLTiHBSBJa9fxqQIvkIld4GsoDOcCbvzOUAbLPsSKKg+uA== + version "3.0.4" + resolved "https://registry.yarnpkg.com/@types/mime/-/mime-3.0.4.tgz#2198ac274de6017b44d941e00261d5bc6a0e0a45" + integrity sha512-iJt33IQnVRkqeqC7PzBHPTC6fDlRNRW8vjrgqtScAhrmMwe8c4Eo7+fUGTa+XdWrpEgpyKWMYmi2dIwMAYRzPw== "@types/mime@^1": - version "1.3.2" - resolved "https://registry.yarnpkg.com/@types/mime/-/mime-1.3.2.tgz#93e25bf9ee75fe0fd80b594bc4feb0e862111b5a" - integrity sha512-YATxVxgRqNH6nHEIsvg6k2Boc1JHI9ZbH5iWFFv/MTkchz3b1ieGDa5T0a9RznNdI0KhVbdbWSN+KWWrQZRxTw== + version "1.3.5" + resolved "https://registry.yarnpkg.com/@types/mime/-/mime-1.3.5.tgz#1ef302e01cf7d2b5a0fa526790c9123bf1d06690" + integrity sha512-/pyBZWSLD2n0dcHE3hq8s8ZvcETHtEuF+3E7XVt0Ig2nvsVQXdghHVcEkIWjy9A0wKfTn97a/PSDYohKIlnP/w== "@types/minimist@^1.2.0": - version "1.2.2" - resolved "https://registry.yarnpkg.com/@types/minimist/-/minimist-1.2.2.tgz#ee771e2ba4b3dc5b372935d549fd9617bf345b8c" - integrity sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ== + version "1.2.5" + resolved "https://registry.yarnpkg.com/@types/minimist/-/minimist-1.2.5.tgz#ec10755e871497bcd83efe927e43ec46e8c0747e" + integrity sha512-hov8bUuiLiyFPGyFPE1lwWhmzYbirOXQNNo40+y3zow8aFVTeyn3VWL0VFFfdNddA8S4Vf0Tc062rzyNr7Paag== + +"@types/node-forge@^1.3.0": + version "1.3.9" + resolved "https://registry.yarnpkg.com/@types/node-forge/-/node-forge-1.3.9.tgz#0fe4a7ba69c0b173f56e6de65d0eae2c1dd4bbfe" + integrity sha512-meK88cx/sTalPSLSoCzkiUB4VPIFHmxtXm5FaaqRDqBX2i/Sy8bJ4odsan0b20RBjPh06dAQ+OTTdnyQyhJZyQ== + dependencies: + "@types/node" "*" "@types/node@*": - version "20.2.1" - resolved "https://registry.yarnpkg.com/@types/node/-/node-20.2.1.tgz#de559d4b33be9a808fd43372ccee822c70f39704" - integrity sha512-DqJociPbZP1lbZ5SQPk4oag6W7AyaGMO6gSfRwq3PWl4PXTwJpRQJhDq4W0kzrg3w6tJ1SwlvGZ5uKFHY13LIg== + version "20.9.0" + resolved "https://registry.yarnpkg.com/@types/node/-/node-20.9.0.tgz#bfcdc230583aeb891cf51e73cfdaacdd8deae298" + integrity sha512-nekiGu2NDb1BcVofVcEKMIwzlx4NjHlcjhoxxKBNLtz15Y1z7MYf549DFvkHSId02Ax6kGwWntIBPC3l/JZcmw== + dependencies: + undici-types "~5.26.4" -"@types/node@20.4.7": - version "20.4.7" - resolved "https://registry.yarnpkg.com/@types/node/-/node-20.4.7.tgz#74d323a93f1391a63477b27b9aec56669c98b2ab" - integrity sha512-bUBrPjEry2QUTsnuEjzjbS7voGWCc30W0qzgMf90GPeDGFRakvrz47ju+oqDAKCXLUCe39u57/ORMl/O/04/9g== +"@types/node@20.5.1": + version "20.5.1" + resolved "https://registry.yarnpkg.com/@types/node/-/node-20.5.1.tgz#178d58ee7e4834152b0e8b4d30cbfab578b9bb30" + integrity sha512-4tT2UrL5LBqDwoed9wZ6N3umC4Yhz3W3FloMmiiG4JwmUJWpie0c7lcnUNd4gtMKuDEO4wRVS8B6Xa0uMRsMKg== "@types/node@^18.15.11": - version "18.16.13" - resolved "https://registry.yarnpkg.com/@types/node/-/node-18.16.13.tgz#984c48275c718b5b3e47371938f3cff482790598" - integrity sha512-uZRomboV1vBL61EBXneL4j9/hEn+1Yqa4LQdpGrKmXFyJmVfWc9JV9+yb2AlnOnuaDnb2PDO3hC6/LKmzJxP1A== + version "18.18.9" + resolved "https://registry.yarnpkg.com/@types/node/-/node-18.18.9.tgz#5527ea1832db3bba8eb8023ce8497b7d3f299592" + integrity sha512-0f5klcuImLnG4Qreu9hPj/rEfFq6YRc5n2mAjSsH+ec/mJL+3voBH0+8T7o8RpFjH7ovc+TRsL/c7OYIQsPTfQ== + dependencies: + undici-types "~5.26.4" "@types/normalize-package-data@^2.4.0": - version "2.4.1" - resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.1.tgz#d3357479a0fdfdd5907fe67e17e0a85c906e1301" - integrity sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw== + version "2.4.4" + resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.4.tgz#56e2cc26c397c038fab0e3a917a12d5c5909e901" + integrity sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA== "@types/parse-json@^4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@types/parse-json/-/parse-json-4.0.0.tgz#2f8bb441434d163b35fb8ffdccd7138927ffb8c0" - integrity sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA== + version "4.0.2" + resolved "https://registry.yarnpkg.com/@types/parse-json/-/parse-json-4.0.2.tgz#5950e50960793055845e956c427fc2b0d70c5239" + integrity sha512-dISoDXWWQwUquiKsyZ4Ng+HX2KsPL7LyHKHQwgGFEA3IaKac4Obd+h2a/a6waisAoepJlBcx9paWqjA8/HVjCw== "@types/prettier@^2.6.0": version "2.7.3" @@ -2933,14 +2697,14 @@ integrity sha512-+68kP9yzs4LMp7VNh8gdzMSPZFL44MLGqiHWvttYJe+6qnuVr4Ek9wSBQoveqY/r+LwjCcU29kNVkidwim+kYA== "@types/qs@*": - version "6.9.7" - resolved "https://registry.yarnpkg.com/@types/qs/-/qs-6.9.7.tgz#63bb7d067db107cc1e457c303bc25d511febf6cb" - integrity sha512-FGa1F62FT09qcrueBA6qYTrJPVDzah9a+493+o2PCXsesWHIn27G98TsSMs3WPNbZIEj4+VJf6saSFpvD+3Zsw== + version "6.9.10" + resolved "https://registry.yarnpkg.com/@types/qs/-/qs-6.9.10.tgz#0af26845b5067e1c9a622658a51f60a3934d51e8" + integrity sha512-3Gnx08Ns1sEoCrWssEgTSJs/rsT2vhGP+Ja9cnnk9k4ALxinORlQneLXFeFKOTJMOeZUFD1s7w+w2AphTpvzZw== "@types/range-parser@*": - version "1.2.4" - resolved "https://registry.yarnpkg.com/@types/range-parser/-/range-parser-1.2.4.tgz#cd667bcfdd025213aafb7ca5915a932590acdcdc" - integrity sha512-EEhsLsD6UsDM1yFhAvy0Cjr6VwmpMWqFBCb9w07wVugF7w9nfajxLuVmngTIpgS6svCnm6Vaw+MZhoDCKnOfsw== + version "1.2.7" + resolved "https://registry.yarnpkg.com/@types/range-parser/-/range-parser-1.2.7.tgz#50ae4353eaaddc04044279812f52c8c65857dbcb" + integrity sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ== "@types/retry@0.12.0": version "0.12.0" @@ -2948,75 +2712,69 @@ integrity sha512-wWKOClTTiizcZhXnPY4wikVAwmdYHp8q6DmC+EJUzAMsycb7HB32Kh9RN4+0gExjmPmZSAQjgURXIGATPegAvA== "@types/semver@^7.5.0", "@types/semver@^7.5.1": - version "7.5.1" - resolved "https://registry.yarnpkg.com/@types/semver/-/semver-7.5.1.tgz#0480eeb7221eb9bc398ad7432c9d7e14b1a5a367" - integrity sha512-cJRQXpObxfNKkFAZbJl2yjWtJCqELQIdShsogr1d2MilP8dKD9TE/nEKHkJgUNHdGKCQaf9HbIynuV2csLGVLg== + version "7.5.5" + resolved "https://registry.yarnpkg.com/@types/semver/-/semver-7.5.5.tgz#deed5ab7019756c9c90ea86139106b0346223f35" + integrity sha512-+d+WYC1BxJ6yVOgUgzK8gWvp5qF8ssV5r4nsDcZWKRWcDQLQ619tvWAxJQYGgBrO1MnLJC7a5GtiYsAoQ47dJg== "@types/send@*": - version "0.17.1" - resolved "https://registry.yarnpkg.com/@types/send/-/send-0.17.1.tgz#ed4932b8a2a805f1fe362a70f4e62d0ac994e301" - integrity sha512-Cwo8LE/0rnvX7kIIa3QHCkcuF21c05Ayb0ZfxPiv0W8VRiZiNW/WuRupHKpqqGVGf7SUA44QSOUKaEd9lIrd/Q== + version "0.17.4" + resolved "https://registry.yarnpkg.com/@types/send/-/send-0.17.4.tgz#6619cd24e7270793702e4e6a4b958a9010cfc57a" + integrity sha512-x2EM6TJOybec7c52BX0ZspPodMsQUd5L6PRwOunVyVUhXiBSKf3AezDL8Dgvgt5o0UfKNfuA0eMLr2wLT4AiBA== dependencies: "@types/mime" "^1" "@types/node" "*" "@types/serve-index@^1.9.1": - version "1.9.1" - resolved "https://registry.yarnpkg.com/@types/serve-index/-/serve-index-1.9.1.tgz#1b5e85370a192c01ec6cec4735cf2917337a6278" - integrity sha512-d/Hs3nWDxNL2xAczmOVZNj92YZCS6RGxfBPjKzuu/XirCgXdpKEb88dYNbrYGint6IVWLNP+yonwVAuRC0T2Dg== + version "1.9.4" + resolved "https://registry.yarnpkg.com/@types/serve-index/-/serve-index-1.9.4.tgz#e6ae13d5053cb06ed36392110b4f9a49ac4ec898" + integrity sha512-qLpGZ/c2fhSs5gnYsQxtDEq3Oy8SXPClIXkW5ghvAvsNuVSA8k+gCONcUCS/UjLEYvYps+e8uBtfgXgvhwfNug== dependencies: "@types/express" "*" "@types/serve-static@*", "@types/serve-static@^1.13.10": - version "1.15.1" - resolved "https://registry.yarnpkg.com/@types/serve-static/-/serve-static-1.15.1.tgz#86b1753f0be4f9a1bee68d459fcda5be4ea52b5d" - integrity sha512-NUo5XNiAdULrJENtJXZZ3fHtfMolzZwczzBbnAeBbqBwG+LaG6YaJtuwzwGSQZ2wsCrxjEhNNjAkKigy3n8teQ== + version "1.15.5" + resolved "https://registry.yarnpkg.com/@types/serve-static/-/serve-static-1.15.5.tgz#15e67500ec40789a1e8c9defc2d32a896f05b033" + integrity sha512-PDRk21MnK70hja/YF8AHfC7yIsiQHn1rcXx7ijCFBX/k+XQJhQT/gw3xekXKJvx+5SXaMMS8oqQy09Mzvz2TuQ== dependencies: + "@types/http-errors" "*" "@types/mime" "*" "@types/node" "*" "@types/sockjs@^0.3.33": - version "0.3.33" - resolved "https://registry.yarnpkg.com/@types/sockjs/-/sockjs-0.3.33.tgz#570d3a0b99ac995360e3136fd6045113b1bd236f" - integrity sha512-f0KEEe05NvUnat+boPTZ0dgaLZ4SfSouXUgv5noUiefG2ajgKjmETo9ZJyuqsl7dfl2aHlLJUiki6B4ZYldiiw== + version "0.3.36" + resolved "https://registry.yarnpkg.com/@types/sockjs/-/sockjs-0.3.36.tgz#ce322cf07bcc119d4cbf7f88954f3a3bd0f67535" + integrity sha512-MK9V6NzAS1+Ud7JV9lJLFqW85VbC9dq3LmwZCuBe4wBDgKC0Kj/jd8Xl+nSviU+Qc3+m7umHHyHg//2KSa0a0Q== dependencies: "@types/node" "*" "@types/stack-utils@^2.0.0": - version "2.0.1" - resolved "https://registry.yarnpkg.com/@types/stack-utils/-/stack-utils-2.0.1.tgz#20f18294f797f2209b5f65c8e3b5c8e8261d127c" - integrity sha512-Hl219/BT5fLAaz6NDkSuhzasy49dwQS/DSdu4MdggFB8zcXv7vflBI3xp7FEmkmdDkBUI2bPUNeMttp2knYdxw== + version "2.0.3" + resolved "https://registry.yarnpkg.com/@types/stack-utils/-/stack-utils-2.0.3.tgz#6209321eb2c1712a7e7466422b8cb1fc0d9dd5d8" + integrity sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw== "@types/websocket@^1.0.6": - version "1.0.6" - resolved "https://registry.yarnpkg.com/@types/websocket/-/websocket-1.0.6.tgz#ec8dce5915741632ac3a4b1f951b6d4156e32d03" - integrity sha512-JXkliwz93B2cMWOI1ukElQBPN88vMg3CruvW4KVSKpflt3NyNCJImnhIuB/f97rG7kakqRJGFiwkA895Kn02Dg== - dependencies: - "@types/node" "*" - -"@types/ws@^8.0.0": - version "8.5.4" - resolved "https://registry.yarnpkg.com/@types/ws/-/ws-8.5.4.tgz#bb10e36116d6e570dd943735f86c933c1587b8a5" - integrity sha512-zdQDHKUgcX/zBc4GrwsE/7dVdAD8JR4EuiAXiiUhhfyIJXXb2+PrGshFyeXWQPMmmZ2XxgaqclgpIC7eTXc1mg== + version "1.0.9" + resolved "https://registry.yarnpkg.com/@types/websocket/-/websocket-1.0.9.tgz#1d81213604286cd5bd05764bba2604cf417f06cb" + integrity sha512-xrMBdqdKdlE+7L9Wg2PQblIkZGSgiMlEoP6UAaYKMHbbxqCJ6PV/pTZ2RcMcSSERurU2TtGbmO4lqpFOJd01ww== dependencies: "@types/node" "*" -"@types/ws@^8.5.5": - version "8.5.5" - resolved "https://registry.yarnpkg.com/@types/ws/-/ws-8.5.5.tgz#af587964aa06682702ee6dcbc7be41a80e4b28eb" - integrity sha512-lwhs8hktwxSjf9UaZ9tG5M03PGogvFaH8gUgLNbN9HKIg0dvv6q+gkSuJ8HN4/VbyxkuLzCjlN7GquQ0gUJfIg== +"@types/ws@^8.0.0", "@types/ws@^8.5.5": + version "8.5.9" + resolved "https://registry.yarnpkg.com/@types/ws/-/ws-8.5.9.tgz#384c489f99c83225a53f01ebc3eddf3b8e202a8c" + integrity sha512-jbdrY0a8lxfdTp/+r7Z4CkycbOFN8WX+IOchLJr3juT/xzbJ8URyTVSJ/hvNdadTgM1mnedb47n+Y31GsFnQlg== dependencies: "@types/node" "*" "@types/yargs-parser@*": - version "21.0.0" - resolved "https://registry.yarnpkg.com/@types/yargs-parser/-/yargs-parser-21.0.0.tgz#0c60e537fa790f5f9472ed2776c2b71ec117351b" - integrity sha512-iO9ZQHkZxHn4mSakYV0vFHAVDyEOIJQrV2uZ06HxEPcx+mt8swXoZHIbaaJ2crJYFfErySgktuTZ3BeLz+XmFA== + version "21.0.3" + resolved "https://registry.yarnpkg.com/@types/yargs-parser/-/yargs-parser-21.0.3.tgz#815e30b786d2e8f0dcd85fd5bcf5e1a04d008f15" + integrity sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ== "@types/yargs@^17.0.8": - version "17.0.24" - resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-17.0.24.tgz#b3ef8d50ad4aa6aecf6ddc97c580a00f5aa11902" - integrity sha512-6i0aC7jV6QzQB8ne1joVZ0eSFIstHsCrobmOtghM11yGlH0j43FKL2UhWdELkyps0zuf7qVTUVCCR+tgSlyLLw== + version "17.0.31" + resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-17.0.31.tgz#8fd0089803fd55d8a285895a18b88cb71a99683c" + integrity sha512-bocYSx4DI8TmdlvxqGpVNXOgCNR1Jj0gNPhhAY+iz1rgKDAaYrAYdFYnhDV1IFuiuVc9HkOwyDcFxaTElF3/wg== dependencies: "@types/yargs-parser" "*" @@ -3149,6 +2907,11 @@ "@typescript-eslint/types" "6.5.0" eslint-visitor-keys "^3.4.1" +"@ungap/structured-clone@^1.2.0": + version "1.2.0" + resolved "https://registry.yarnpkg.com/@ungap/structured-clone/-/structured-clone-1.2.0.tgz#756641adb587851b5ccb3e095daf27ae581c8406" + integrity sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ== + "@webassemblyjs/ast@1.11.6", "@webassemblyjs/ast@^1.11.5": version "1.11.6" resolved "https://registry.yarnpkg.com/@webassemblyjs/ast/-/ast-1.11.6.tgz#db046555d3c413f8966ca50a95176a0e2c642e24" @@ -3307,11 +3070,11 @@ web-streams-polyfill "^3.2.1" "@whatwg-node/fetch@^0.9.0": - version "0.9.9" - resolved "https://registry.yarnpkg.com/@whatwg-node/fetch/-/fetch-0.9.9.tgz#65e68aaf8353755c20657b803f2fe983dbdabf91" - integrity sha512-OTVoDm039CNyAWSRc2WBimMl/N9J4Fk2le21Xzcf+3OiWPNNSIbMnpWKBUyraPh2d9SAEgoBdQxTfVNihXgiUw== + version "0.9.14" + resolved "https://registry.yarnpkg.com/@whatwg-node/fetch/-/fetch-0.9.14.tgz#262039fd8aea52a9c8aac2ec20f316382eae1a3c" + integrity sha512-wurZC82zzZwXRDSW0OS9l141DynaJQh7Yt0FD1xZ8niX7/Et/7RoiLiltbVU1fSF1RR9z6ndEaTUQBAmddTm1w== dependencies: - "@whatwg-node/node-fetch" "^0.4.8" + "@whatwg-node/node-fetch" "^0.5.0" urlpattern-polyfill "^9.0.0" "@whatwg-node/node-fetch@^0.3.6": @@ -3325,10 +3088,10 @@ fast-url-parser "^1.1.3" tslib "^2.3.1" -"@whatwg-node/node-fetch@^0.4.8": - version "0.4.14" - resolved "https://registry.yarnpkg.com/@whatwg-node/node-fetch/-/node-fetch-0.4.14.tgz#b3dbdd92bac227026a39fb882207a7f739ada5bf" - integrity sha512-ii/eZz2PcjLGj9D6WfsmfzlTzZV1Kz6MxYpq2Vc5P21J8vkKfENWC9B2ISsFCKovxElLukIwPg8HTrHFsLNflg== +"@whatwg-node/node-fetch@^0.5.0": + version "0.5.0" + resolved "https://registry.yarnpkg.com/@whatwg-node/node-fetch/-/node-fetch-0.5.0.tgz#f423d048819957ce74f2ec894d235f1c27596014" + integrity sha512-q76lDAafvHNGWedNAVHrz/EyYTS8qwRLcwne8SJQdRN5P3HydxU6XROFvJfTML6KZXQX2FDdGY4/SnaNyd7M0Q== dependencies: "@whatwg-node/events" "^0.1.0" busboy "^1.6.0" @@ -3337,16 +3100,16 @@ tslib "^2.3.1" "@wry/context@^0.7.0", "@wry/context@^0.7.3": - version "0.7.3" - resolved "https://registry.yarnpkg.com/@wry/context/-/context-0.7.3.tgz#240f6dfd4db5ef54f81f6597f6714e58d4f476a1" - integrity sha512-Nl8WTesHp89RF803Se9X3IiHjdmLBrIvPMaJkl+rKVJAYyPsz1TEUbu89943HpvujtSJgDUx9W4vZw3K1Mr3sA== + version "0.7.4" + resolved "https://registry.yarnpkg.com/@wry/context/-/context-0.7.4.tgz#e32d750fa075955c4ab2cfb8c48095e1d42d5990" + integrity sha512-jmT7Sb4ZQWI5iyu3lobQxICu2nC/vbUhP0vIdd6tHC9PTfenmRmuIFqktc6GH9cgi+ZHnsLWPvfSvc4DrYmKiQ== dependencies: tslib "^2.3.0" "@wry/equality@^0.5.6": - version "0.5.6" - resolved "https://registry.yarnpkg.com/@wry/equality/-/equality-0.5.6.tgz#cd4a533c72c3752993ab8cbf682d3d20e3cb601e" - integrity sha512-D46sfMTngaYlrH+OspKf8mIJETntFnf6Hsjb0V41jAXJ7Bx2kB8Rv8RCUujuVWYttFtHkUNp7g+FwxNQAr6mXA== + version "0.5.7" + resolved "https://registry.yarnpkg.com/@wry/equality/-/equality-0.5.7.tgz#72ec1a73760943d439d56b7b1e9985aec5d497bb" + integrity sha512-BRFORjsTuQv5gxcXsuDXx6oGRhuVsEGwZy6LOzRRfgu+eSfxbhUQ9L9YtSEIuIjY/o7g3iWFjrc5eSY1GXP2Dw== dependencies: tslib "^2.3.0" @@ -3411,19 +3174,14 @@ acorn-jsx@^5.3.2: integrity sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ== acorn-walk@^8.1.1: - version "8.2.0" - resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-8.2.0.tgz#741210f2e2426454508853a2f44d0ab83b7f69c1" - integrity sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA== - -acorn@^8.4.1, acorn@^8.5.0, acorn@^8.7.1: - version "8.8.2" - resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.8.2.tgz#1b2f25db02af965399b9776b0c2c391276d37c4a" - integrity sha512-xjIYgE8HBrkpd/sJqOGNspf8uHG+NOHGOw6a/Urj8taM2EXfdNAH2oFcPeIFfsv3+kz/mJrS5VuMqbNLjCa2vw== + version "8.3.0" + resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-8.3.0.tgz#2097665af50fd0cf7a2dfccd2b9368964e66540f" + integrity sha512-FS7hV565M5l1R08MXqo8odwMTB02C2UqzB17RVgu9EyuYFBqJZ3/ZY97sQD5FewVu1UyDFc1yztUDrAwT0EypA== -acorn@^8.9.0: - version "8.10.0" - resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.10.0.tgz#8be5b3907a67221a81ab23c7889c4c5526b62ec5" - integrity sha512-F0SAmZ8iUtS//m8DmCTA0jlh6TDKkHQyK6xc6V4KDTyZKA9dnvX9/3sRTVQrWm79glUAZbnmmNcdYwUIHWVybw== +acorn@^8.4.1, acorn@^8.7.1, acorn@^8.8.2, acorn@^8.9.0: + version "8.11.2" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.11.2.tgz#ca0d78b51895be5390a5903c5b3bdcdaf78ae40b" + integrity sha512-nc0Axzp/0FILLEVsm4fNwLCwMttvhEI263QtVPQcbpfZZ3ts0hLsZGOpE6czNlid7CJ9MlyH8reXkpsf3YUY4w== agent-base@6, agent-base@^6.0.2: version "6.0.2" @@ -3440,12 +3198,10 @@ agent-base@^7.0.2, agent-base@^7.1.0: debug "^4.3.4" agentkeepalive@^4.2.1: - version "4.3.0" - resolved "https://registry.yarnpkg.com/agentkeepalive/-/agentkeepalive-4.3.0.tgz#bb999ff07412653c1803b3ced35e50729830a255" - integrity sha512-7Epl1Blf4Sy37j4v9f9FjICCh4+KAQOyXgHEwlyBiAQLbhKdq/i2QQU3amQalS/wPhdPzDXPL5DMR5bkn+YeWg== + version "4.5.0" + resolved "https://registry.yarnpkg.com/agentkeepalive/-/agentkeepalive-4.5.0.tgz#2673ad1389b3c418c5a20c5d7364f93ca04be923" + integrity sha512-5GG/5IbQQpC9FpkRGsSvZI5QYeSCzlJHdpBQntCsuTOxhKD8lqKhrleg2Yi7yvMIf82Ycmmqln9U8V9qwEiJew== dependencies: - debug "^4.1.0" - depd "^2.0.0" humanize-ms "^1.2.1" aggregate-error@^3.0.0: @@ -3651,15 +3407,15 @@ array-ify@^1.0.0: resolved "https://registry.yarnpkg.com/array-ify/-/array-ify-1.0.0.tgz#9e528762b4a9066ad163a6962a364418e9626ece" integrity sha512-c5AMf34bKdvPhQ7tBGhqkgKNUzMr4WUs+WDtC2ZUGOUncbxKMTvqxYctiseW3+L4bA8ec+GcZ6/A/FW4m8ukng== -array-includes@^3.1.6: - version "3.1.6" - resolved "https://registry.yarnpkg.com/array-includes/-/array-includes-3.1.6.tgz#9e9e720e194f198266ba9e18c29e6a9b0e4b225f" - integrity sha512-sgTbLvL6cNnw24FnbaDyjmvddQ2ML8arZsgaJhoABMoplz/4QRhtrYS+alr1BUM1Bwp6dhx8vVCBSLG+StwOFw== +array-includes@^3.1.7: + version "3.1.7" + resolved "https://registry.yarnpkg.com/array-includes/-/array-includes-3.1.7.tgz#8cd2e01b26f7a3086cbc87271593fe921c62abda" + integrity sha512-dlcsNBIiWhPkHdOEEKnehA+RNUWDc4UqFtnIXU4uuYDPtA4LDkr7qip2p0VvFAEXNDr0yWZ9PJyIRiGjRLQzwQ== dependencies: call-bind "^1.0.2" - define-properties "^1.1.4" - es-abstract "^1.20.4" - get-intrinsic "^1.1.3" + define-properties "^1.2.0" + es-abstract "^1.22.1" + get-intrinsic "^1.2.1" is-string "^1.0.7" array-union@^2.1.0: @@ -3667,45 +3423,46 @@ array-union@^2.1.0: resolved "https://registry.yarnpkg.com/array-union/-/array-union-2.1.0.tgz#b798420adbeb1de828d84acd8a2e23d3efe85e8d" integrity sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw== -array.prototype.findlastindex@^1.2.2: - version "1.2.2" - resolved "https://registry.yarnpkg.com/array.prototype.findlastindex/-/array.prototype.findlastindex-1.2.2.tgz#bc229aef98f6bd0533a2bc61ff95209875526c9b" - integrity sha512-tb5thFFlUcp7NdNF6/MpDk/1r/4awWG1FIz3YqDf+/zJSTezBb+/5WViH41obXULHVpDzoiCLpJ/ZO9YbJMsdw== +array.prototype.findlastindex@^1.2.3: + version "1.2.3" + resolved "https://registry.yarnpkg.com/array.prototype.findlastindex/-/array.prototype.findlastindex-1.2.3.tgz#b37598438f97b579166940814e2c0493a4f50207" + integrity sha512-LzLoiOMAxvy+Gd3BAq3B7VeIgPdo+Q8hthvKtXybMvRV0jrXfJM/t8mw7nNlpEcVlVUnCnM2KSX4XU5HmpodOA== dependencies: call-bind "^1.0.2" - define-properties "^1.1.4" - es-abstract "^1.20.4" + define-properties "^1.2.0" + es-abstract "^1.22.1" es-shim-unscopables "^1.0.0" - get-intrinsic "^1.1.3" + get-intrinsic "^1.2.1" -array.prototype.flat@^1.3.1: - version "1.3.1" - resolved "https://registry.yarnpkg.com/array.prototype.flat/-/array.prototype.flat-1.3.1.tgz#ffc6576a7ca3efc2f46a143b9d1dda9b4b3cf5e2" - integrity sha512-roTU0KWIOmJ4DRLmwKd19Otg0/mT3qPNt0Qb3GWW8iObuZXxrjB/pzn0R3hqpRSWg4HCwqx+0vwOnWnvlOyeIA== +array.prototype.flat@^1.3.2: + version "1.3.2" + resolved "https://registry.yarnpkg.com/array.prototype.flat/-/array.prototype.flat-1.3.2.tgz#1476217df8cff17d72ee8f3ba06738db5b387d18" + integrity sha512-djYB+Zx2vLewY8RWlNCUdHjDXs2XOgm602S9E7P/UpHgfeHL00cRiIF+IN/G/aUJ7kGPb6yO/ErDI5V2s8iycA== dependencies: call-bind "^1.0.2" - define-properties "^1.1.4" - es-abstract "^1.20.4" + define-properties "^1.2.0" + es-abstract "^1.22.1" es-shim-unscopables "^1.0.0" -array.prototype.flatmap@^1.3.1: - version "1.3.1" - resolved "https://registry.yarnpkg.com/array.prototype.flatmap/-/array.prototype.flatmap-1.3.1.tgz#1aae7903c2100433cb8261cd4ed310aab5c4a183" - integrity sha512-8UGn9O1FDVvMNB0UlLv4voxRMze7+FpHyF5mSMRjWHUMlpoDViniy05870VlxhfgTnLbpuwTzvD76MTtWxB/mQ== +array.prototype.flatmap@^1.3.2: + version "1.3.2" + resolved "https://registry.yarnpkg.com/array.prototype.flatmap/-/array.prototype.flatmap-1.3.2.tgz#c9a7c6831db8e719d6ce639190146c24bbd3e527" + integrity sha512-Ewyx0c9PmpcsByhSW4r+9zDU7sGjFc86qf/kKtuSCRdhfbk0SNLLkaT5qvcHnRGgc5NP/ly/y+qkXkqONX54CQ== dependencies: call-bind "^1.0.2" - define-properties "^1.1.4" - es-abstract "^1.20.4" + define-properties "^1.2.0" + es-abstract "^1.22.1" es-shim-unscopables "^1.0.0" -arraybuffer.prototype.slice@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.1.tgz#9b5ea3868a6eebc30273da577eb888381c0044bb" - integrity sha512-09x0ZWFEjj4WD8PDbykUwo3t9arLn8NIzmmYEJFpYekOAQjpkGSyrQhNoRTcwwcFRu+ycWF78QZ63oWTqSjBcw== +arraybuffer.prototype.slice@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.2.tgz#98bd561953e3e74bb34938e77647179dfe6e9f12" + integrity sha512-yMBKppFur/fbHu9/6USUe03bZ4knMYiwFBcyiaXB8Go0qNehwX6inYPzK9U0NeQvGxKthcmHcaR8P5MStSRBAw== dependencies: array-buffer-byte-length "^1.0.0" call-bind "^1.0.2" define-properties "^1.2.0" + es-abstract "^1.22.1" get-intrinsic "^1.2.1" is-array-buffer "^3.0.2" is-shared-array-buffer "^1.0.2" @@ -3745,14 +3502,15 @@ asn1js@^3.0.1, asn1js@^3.0.5: tslib "^2.4.0" assert@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/assert/-/assert-2.0.0.tgz#95fc1c616d48713510680f2eaf2d10dd22e02d32" - integrity sha512-se5Cd+js9dXJnu6Ag2JFc00t+HmHOen+8Q+L7O9zI0PqQXr20uk2J0XQqMxZEeo5U50o8Nvmmx7dZrl+Ufr35A== + version "2.1.0" + resolved "https://registry.yarnpkg.com/assert/-/assert-2.1.0.tgz#6d92a238d05dc02e7427c881fb8be81c8448b2dd" + integrity sha512-eLHpSK/Y4nhMJ07gDaAzoX/XAKS8PSaojml3M0DM4JpV1LAi5JOJ/p6H/XWrl8L+DzVEvVCW1z3vWAaB9oTsQw== dependencies: - es6-object-assign "^1.1.0" - is-nan "^1.2.1" - object-is "^1.0.1" - util "^0.12.0" + call-bind "^1.0.2" + is-nan "^1.3.2" + object-is "^1.1.5" + object.assign "^4.1.4" + util "^0.12.5" astral-regex@^2.0.0: version "2.0.0" @@ -3774,12 +3532,12 @@ available-typed-arrays@^1.0.5: resolved "https://registry.yarnpkg.com/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz#92f95616501069d07d10edb2fc37d3e1c65123b7" integrity sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw== -babel-jest@^29.6.4: - version "29.6.4" - resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-29.6.4.tgz#98dbc45d1c93319c82a8ab4a478b670655dd2585" - integrity sha512-meLj23UlSLddj6PC+YTOFRgDAtjnZom8w/ACsrx0gtPtv5cJZk0A5Unk5bV4wixD7XaPCN1fQvpww8czkZURmw== +babel-jest@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-29.7.0.tgz#f4369919225b684c56085998ac63dbd05be020d5" + integrity sha512-BrvGY3xZSwEcCzKvKsCi2GgHqDqsYkOP4/by5xCgIwGXQxIEh+8ew3gmrE1y7XRR6LHZIj6yLYnUi/mm2KXKBg== dependencies: - "@jest/transform" "^29.6.4" + "@jest/transform" "^29.7.0" "@types/babel__core" "^7.1.14" babel-plugin-istanbul "^6.1.1" babel-preset-jest "^29.6.3" @@ -3950,7 +3708,7 @@ bn.js@^4.0.0, bn.js@^4.1.0, bn.js@^4.11.9: resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.12.0.tgz#775b3f278efbb9718eec7361f483fb36fbbfea88" integrity sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA== -bn.js@^5.0.0, bn.js@^5.1.1, bn.js@^5.2.1: +bn.js@^5.0.0, bn.js@^5.2.1: version "5.2.1" resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-5.2.1.tgz#0bc527a6a0d18d0aa8d5b0538ce4a77dccfa7b70" integrity sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ== @@ -3993,7 +3751,7 @@ boolify@^1.0.1: resolved "https://registry.yarnpkg.com/boolify/-/boolify-1.0.1.tgz#b5c09e17cacd113d11b7bb3ed384cc012994d86b" integrity sha512-ma2q0Tc760dW54CdOyJjhrg/a54317o1zYADQJFgperNGKIKgAUGIcKnuMiff8z57+yGlrGNEt4lPgZfCgTJgA== -bottleneck@^2.18.1: +bottleneck@^2.15.3: version "2.19.5" resolved "https://registry.yarnpkg.com/bottleneck/-/bottleneck-2.19.5.tgz#5df0b90f59fd47656ebe63c78a98419205cadd91" integrity sha512-VHiNCbI1lKdl44tGrhNfU3lup0Tj/ZBMJB5/2ZbNXRCPuRCO7ed2mgcK4r17y+KB2EfuYuRaVlwNbAeaWGSpbw== @@ -4056,7 +3814,7 @@ browserify-des@^1.0.0: inherits "^2.0.1" safe-buffer "^5.1.2" -browserify-rsa@^4.0.0, browserify-rsa@^4.0.1: +browserify-rsa@^4.0.0, browserify-rsa@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/browserify-rsa/-/browserify-rsa-4.1.0.tgz#b2fd06b5b75ae297f7ce2dc651f918f5be158c8d" integrity sha512-AdEER0Hkspgno2aR97SAf6vi0y0k8NuOpGnVH3O99rcA5Q6sh8QxcngtHuJ6uXwnfAXNM4Gn1Gb7/MV1+Ymbog== @@ -4065,39 +3823,29 @@ browserify-rsa@^4.0.0, browserify-rsa@^4.0.1: randombytes "^2.0.1" browserify-sign@^4.0.0: - version "4.2.1" - resolved "https://registry.yarnpkg.com/browserify-sign/-/browserify-sign-4.2.1.tgz#eaf4add46dd54be3bb3b36c0cf15abbeba7956c3" - integrity sha512-/vrA5fguVAKKAVTNJjgSm1tRQDHUU6DbwO9IROu/0WAzC8PKhucDSh18J0RMvVeHAn5puMd+QHC2erPRNf8lmg== + version "4.2.2" + resolved "https://registry.yarnpkg.com/browserify-sign/-/browserify-sign-4.2.2.tgz#e78d4b69816d6e3dd1c747e64e9947f9ad79bc7e" + integrity sha512-1rudGyeYY42Dk6texmv7c4VcQ0EsvVbLwZkA+AQB7SxvXxmcD93jcHie8bzecJ+ChDlmAm2Qyu0+Ccg5uhZXCg== dependencies: - bn.js "^5.1.1" - browserify-rsa "^4.0.1" + bn.js "^5.2.1" + browserify-rsa "^4.1.0" create-hash "^1.2.0" create-hmac "^1.1.7" - elliptic "^6.5.3" + elliptic "^6.5.4" inherits "^2.0.4" - parse-asn1 "^5.1.5" - readable-stream "^3.6.0" - safe-buffer "^5.2.0" + parse-asn1 "^5.1.6" + readable-stream "^3.6.2" + safe-buffer "^5.2.1" -browserslist@^4.14.5, browserslist@^4.21.3: - version "4.21.5" - resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.21.5.tgz#75c5dae60063ee641f977e00edd3cfb2fb7af6a7" - integrity sha512-tUkiguQGW7S3IhB7N+c2MV/HZPSCPAAiYBZXLsBhFB/PCy6ZKKsZrmBayHV9fdGV/ARIfJ14NkxKzRDjvp7L6w== +browserslist@^4.14.5, browserslist@^4.21.9: + version "4.22.1" + resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.22.1.tgz#ba91958d1a59b87dab6fed8dfbcb3da5e2e9c619" + integrity sha512-FEVc202+2iuClEhZhrWy6ZiAcRLvNMyYcxZ8raemul1DYVOVdFsbqckWLdsixQZCpJlwe77Z3UTalE7jsjnKfQ== dependencies: - caniuse-lite "^1.0.30001449" - electron-to-chromium "^1.4.284" - node-releases "^2.0.8" - update-browserslist-db "^1.0.10" - -browserslist@^4.21.9: - version "4.21.10" - resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.21.10.tgz#dbbac576628c13d3b2231332cb2ec5a46e015bb0" - integrity sha512-bipEBdZfVH5/pwrvqc+Ub0kUPVfGUhlKxbvfD+z1BDnPEO/X98ruXGA1WP5ASpAFKan7Qr6j736IacbZQuAlKQ== - dependencies: - caniuse-lite "^1.0.30001517" - electron-to-chromium "^1.4.477" + caniuse-lite "^1.0.30001541" + electron-to-chromium "^1.4.535" node-releases "^2.0.13" - update-browserslist-db "^1.0.11" + update-browserslist-db "^1.0.13" bs-logger@0.x: version "0.2.6" @@ -4132,12 +3880,17 @@ buffer@^5.5.0: ieee754 "^1.1.13" bufferutil@^4.0.1: - version "4.0.7" - resolved "https://registry.yarnpkg.com/bufferutil/-/bufferutil-4.0.7.tgz#60c0d19ba2c992dd8273d3f73772ffc894c153ad" - integrity sha512-kukuqc39WOHtdxtw4UScxF/WVnMFVSQVKhtx3AjZJzhd0RGZZldcrfSEbVsWWe6KNH253574cq5F+wpv0G9pJw== + version "4.0.8" + resolved "https://registry.yarnpkg.com/bufferutil/-/bufferutil-4.0.8.tgz#1de6a71092d65d7766c4d8a522b261a6e787e8ea" + integrity sha512-4T53u4PdgsXqKaIctwF8ifXlRTTmEPJ8iEPWFdGZvcf7sbwYo6FKFEX9eNNAnzFZ7EzJAQ3CJeOtCRA4rDp7Pw== dependencies: node-gyp-build "^4.3.0" +builtin-modules@^3.3.0: + version "3.3.0" + resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-3.3.0.tgz#cae62812b89801e9656336e46223e030386be7b6" + integrity sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw== + builtins@^5.0.0, builtins@^5.0.1: version "5.0.1" resolved "https://registry.yarnpkg.com/builtins/-/builtins-5.0.1.tgz#87f6db9ab0458be728564fa81d876d8d74552fa9" @@ -4186,13 +3939,14 @@ cacache@^16.0.0, cacache@^16.1.0, cacache@^16.1.3: tar "^6.1.11" unique-filename "^2.0.0" -call-bind@^1.0.0, call-bind@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.2.tgz#b1d4e89e688119c3c9a903ad30abb2f6a919be3c" - integrity sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA== +call-bind@^1.0.0, call-bind@^1.0.2, call-bind@^1.0.4, call-bind@^1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.5.tgz#6fa2b7845ce0ea49bf4d8b9ef64727a2c2e2e513" + integrity sha512-C3nQxfFZxFRVoJoGKKI8y3MOEo129NQ+FgQ08iye+Mk4zNZZGdjfs06bVTr+DBSlA66Q2VEcMki/cUCP4SercQ== dependencies: - function-bind "^1.1.1" - get-intrinsic "^1.0.2" + function-bind "^1.1.2" + get-intrinsic "^1.2.1" + set-function-length "^1.1.1" callsites@^3.0.0: version "3.1.0" @@ -4236,15 +3990,10 @@ camelcase@^6.2.0, camelcase@^6.3.0: resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-6.3.0.tgz#5685b95eb209ac9c0c177467778c9c84df58ba9a" integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA== -caniuse-lite@^1.0.30001449: - version "1.0.30001488" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001488.tgz#d19d7b6e913afae3e98f023db97c19e9ddc5e91f" - integrity sha512-NORIQuuL4xGpIy6iCCQGN4iFjlBXtfKWIenlUuyZJumLRIindLb7wXM+GO8erEhb7vXfcnf4BAg2PrSDN5TNLQ== - -caniuse-lite@^1.0.30001517: - version "1.0.30001524" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001524.tgz#1e14bce4f43c41a7deaeb5ebfe86664fe8dadb80" - integrity sha512-Jj917pJtYg9HSJBF95HVX3Cdr89JUyLT4IZ8SvM5aDRni95swKgYi3TgYLH5hnGfPE/U1dg6IfZ50UsIlLkwSA== +caniuse-lite@^1.0.30001541: + version "1.0.30001562" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001562.tgz#9d16c5fd7e9c592c4cd5e304bc0f75b0008b2759" + integrity sha512-kfte3Hym//51EdX4239i+Rmp20EsLIYGdPkERegTgU19hQWCRhsRFGKHTliUlsry53tv17K7n077Kqa0WJU4ng== capital-case@^1.0.4: version "1.0.4" @@ -4268,7 +4017,7 @@ case-sensitive-paths-webpack-plugin@^2.4.0: resolved "https://registry.yarnpkg.com/case-sensitive-paths-webpack-plugin/-/case-sensitive-paths-webpack-plugin-2.4.0.tgz#db64066c6422eed2e08cc14b986ca43796dbc6d4" integrity sha512-roIFONhcxog0JSSWbvVAh3OocukmSgpqOH6YpMkCvav/ySIV3JKg4Dc8vYtQjYi/UxpNE36r/9v+VqTQqgkYmw== -chalk@5.3.0: +chalk@5.3.0, chalk@^5.2.0: version "5.3.0" resolved "https://registry.yarnpkg.com/chalk/-/chalk-5.3.0.tgz#67c20a7ebef70e7f3970a01f90fa210cb6860385" integrity sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w== @@ -4284,7 +4033,7 @@ chalk@^1.1.3: strip-ansi "^3.0.0" supports-color "^2.0.0" -chalk@^2.0.0, chalk@^2.3.2, chalk@^2.4.2: +chalk@^2.3.2, chalk@^2.4.2: version "2.4.2" resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== @@ -4301,11 +4050,6 @@ chalk@^4.0.0, chalk@^4.1.0, chalk@^4.1.1, chalk@^4.1.2: ansi-styles "^4.1.0" supports-color "^7.1.0" -chalk@^5.2.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/chalk/-/chalk-5.2.0.tgz#249623b7d66869c673699fb66d65723e54dfcfb3" - integrity sha512-ree3Gqw/nazQAPuJJEy+avdl7QfZMcUvmHIKgEZkGL+xOBzRvup5Hxo6LHuMceSxOabuJLJm5Yp/92R9eMmMvA== - change-case-all@1.0.15: version "1.0.15" resolved "https://registry.yarnpkg.com/change-case-all/-/change-case-all-1.0.15.tgz#de29393167fc101d646cd76b0ef23e27d09756ad" @@ -4381,9 +4125,9 @@ chrome-trace-event@^1.0.2: integrity sha512-p3KULyQg4S7NIHixdwbGX+nFHkoBiA4YQmyWtjb8XngSKV124nJmRysgAeujbUVb15vh+RvFUfCPqU7rXk+hZg== ci-info@^3.2.0, ci-info@^3.7.0: - version "3.8.0" - resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-3.8.0.tgz#81408265a5380c929f0bc665d62256628ce9ef91" - integrity sha512-eXTggHWSooYhq49F2opQhuHWgzucfF2YgODK4e1566GQs5BIfP30B0oenwBJHfWxAs2fyPB1s7Mg949zLf61Yw== + version "3.9.0" + resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-3.9.0.tgz#4279a62028a7b1f262f3473fc9605f5e218c59b4" + integrity sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ== cidr-regex@^3.1.1: version "3.1.1" @@ -4401,9 +4145,9 @@ cipher-base@^1.0.0, cipher-base@^1.0.1, cipher-base@^1.0.3: safe-buffer "^5.0.1" cjs-module-lexer@^1.0.0: - version "1.2.2" - resolved "https://registry.yarnpkg.com/cjs-module-lexer/-/cjs-module-lexer-1.2.2.tgz#9f84ba3244a512f3a54e5277e8eef4c489864e40" - integrity sha512-cOU9usZw8/dXIXKtwa8pM0OTJQuJkxMN6w30csNRUerHfeQ5R6U3kkU/FtJeIf3M202OHfY2U8ccInBG7/xogA== + version "1.2.3" + resolved "https://registry.yarnpkg.com/cjs-module-lexer/-/cjs-module-lexer-1.2.3.tgz#6c370ab19f8a3394e318fe682686ec0ac684d107" + integrity sha512-0TNiGstbQmCFwt4akjjBg5pLRTSyj/PkWQ1ZoO2zntmg9yLqSRxwEa4iCfQLGjqhiqBfOJa7W/E8wfGrTDmlZQ== clean-css@^5.2.2: version "5.3.2" @@ -4440,9 +4184,9 @@ cli-cursor@^4.0.0: restore-cursor "^4.0.0" cli-spinners@^2.5.0: - version "2.9.0" - resolved "https://registry.yarnpkg.com/cli-spinners/-/cli-spinners-2.9.0.tgz#5881d0ad96381e117bbe07ad91f2008fe6ffd8db" - integrity sha512-4/aL9X3Wh0yiMQlE+eeRhWP6vclO3QRtw1JHKIT0FFUs5FjpFmESqtMvYZ0+lbzBw900b95mS0hohy+qn2VK/g== + version "2.9.1" + resolved "https://registry.yarnpkg.com/cli-spinners/-/cli-spinners-2.9.1.tgz#9c0b9dad69a6d47cbb4333c14319b060ed395a35" + integrity sha512-jHgecW0pxkonBJdrKsqxgRX9AcG+u/5k0Q7WPDfi8AogLAdwxEkyYYNWwZ5GvVFoFx2uiY1eNcSK00fh+1+FyQ== cli-table3@^0.6.2, cli-table3@^0.6.3: version "0.6.3" @@ -4537,9 +4281,9 @@ co@^4.6.0: integrity sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ== collect-v8-coverage@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/collect-v8-coverage/-/collect-v8-coverage-1.0.1.tgz#cc2c8e94fc18bbdffe64d6534570c8a673b27f59" - integrity sha512-iBPtljfCNcTKNAto0KEtDfZ3qzjJvqE3aTGZsbhjSBlorqpXJlaWWtPO35D+ZImoC3KWejX64o+yPGxhWSTzfg== + version "1.0.2" + resolved "https://registry.yarnpkg.com/collect-v8-coverage/-/collect-v8-coverage-1.0.2.tgz#c0b29bcd33bcd0779a1344c2136051e6afd3d9e9" + integrity sha512-lHl4d5/ONEbLlJvaJNtsF/Lz+WvB07u2ycqTYbdrq7UypDXailES4valYb2eWiJFxZlVmpGekfqoxQhzyFdT4Q== color-convert@^1.9.0: version "1.9.3" @@ -4752,11 +4496,6 @@ conventional-commits-parser@^4.0.0: meow "^8.1.2" split2 "^3.2.2" -convert-source-map@^1.6.0, convert-source-map@^1.7.0: - version "1.9.0" - resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.9.0.tgz#7faae62353fb4213366d0ca98358d22e8368b05f" - integrity sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A== - convert-source-map@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-2.0.0.tgz#4b560f649fc4e918dd0ab75cf4961e8bc882d82a" @@ -4778,9 +4517,9 @@ core-js@^2.4.0, core-js@^2.5.0: integrity sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ== core-js@^3.24.1: - version "3.32.1" - resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.32.1.tgz#a7d8736a3ed9dd05940c3c4ff32c591bb735be77" - integrity sha512-lqufgNn9NLnESg5mQeYsxQP5w7wrViSj0jr/kv6ECQiByzQkrn1MKvV0L3acttpDqfQrHLwr2KCMgX5b8X+lyQ== + version "3.33.2" + resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.33.2.tgz#312bbf6996a3a517c04c99b9909cdd27138d1ceb" + integrity sha512-XeBzWI6QL3nJQiHmdzbAOiMYqjrb7hwU7A39Qhvd/POSa/t9E1AeZyEZx3fNvp/vtM8zXwhoL0FsiS0hD0pruQ== core-util-is@~1.0.0: version "1.0.3" @@ -4804,13 +4543,13 @@ cosmiconfig@^7.0.0: yaml "^1.10.0" cosmiconfig@^8.0.0, cosmiconfig@^8.1.0, cosmiconfig@^8.1.3: - version "8.2.0" - resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-8.2.0.tgz#f7d17c56a590856cd1e7cee98734dca272b0d8fd" - integrity sha512-3rTMnFJA1tCOPwRxtgF4wd7Ab2qvDbL8jX+3smjIbS4HlZBagTlpERbdN7iAbWlrfxE3M8c27kTwTawQ7st+OQ== + version "8.3.6" + resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-8.3.6.tgz#060a2b871d66dba6c8538ea1118ba1ac16f5fae3" + integrity sha512-kcZ6+W5QzcJ3P1Mt+83OUv/oHFqZHIx8DuxG6eZ5RGMERoLqp4BuGjhHLYGK+Kf5XVkQvqBSmAy/nGWN3qDgEA== dependencies: - import-fresh "^3.2.1" + import-fresh "^3.3.0" js-yaml "^4.1.0" - parse-json "^5.0.0" + parse-json "^5.2.0" path-type "^4.0.0" create-ecdh@^4.0.0: @@ -4844,6 +4583,19 @@ create-hmac@^1.1.0, create-hmac@^1.1.4, create-hmac@^1.1.7: safe-buffer "^5.0.1" sha.js "^2.4.8" +create-jest@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/create-jest/-/create-jest-29.7.0.tgz#a355c5b3cb1e1af02ba177fe7afd7feee49a5320" + integrity sha512-Adz2bdH0Vq3F53KEMJOoftQFutWCukm6J24wbPWRO4k1kMY7gS7ds/uoJkNuV8wDCtWWnuwGcJwpWcih+zEW1Q== + dependencies: + "@jest/types" "^29.6.3" + chalk "^4.0.0" + exit "^0.1.2" + graceful-fs "^4.2.9" + jest-config "^29.7.0" + jest-util "^29.7.0" + prompts "^2.0.1" + create-require@^1.1.0: version "1.1.1" resolved "https://registry.yarnpkg.com/create-require/-/create-require-1.1.1.tgz#c1d7e8f1e5f6cfc9ff65f9cd352d37348756c333" @@ -4857,11 +4609,11 @@ cross-env@^7.0.3: cross-spawn "^7.0.1" cross-fetch@^3.1.5: - version "3.1.6" - resolved "https://registry.yarnpkg.com/cross-fetch/-/cross-fetch-3.1.6.tgz#bae05aa31a4da760969756318feeee6e70f15d6c" - integrity sha512-riRvo06crlE8HiqOwIpQhxwdOk4fOeR7FVM/wXoxchFEqMNUjvbs3bfo4OTgMEMHzppd4DxFBDbyySj8Cv781g== + version "3.1.8" + resolved "https://registry.yarnpkg.com/cross-fetch/-/cross-fetch-3.1.8.tgz#0327eba65fd68a7d119f8fb2bf9334a1a7956f82" + integrity sha512-cvA+JwZoU0Xq+h6WkMvAUqPEYy92Obet6UdKLfW60qn99ftItKjB5T+BkyWOFWe2pUyfQ+IJHmpOTznqk1M6Kg== dependencies: - node-fetch "^2.6.11" + node-fetch "^2.6.12" cross-fetch@^4.0.0: version "4.0.0" @@ -4870,6 +4622,13 @@ cross-fetch@^4.0.0: dependencies: node-fetch "^2.6.12" +cross-inspect@1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/cross-inspect/-/cross-inspect-1.0.0.tgz#5fda1af759a148594d2d58394a9e21364f6849af" + integrity sha512-4PFfn4b5ZN6FMNGSZlyb7wUhuN8wvj8t/VQHZdM4JsDcruGJ8L2kf9zao98QIrBPFCpdk27qst/AGTl7pL3ypQ== + dependencies: + tslib "^2.4.0" + cross-spawn@^7.0.1, cross-spawn@^7.0.2, cross-spawn@^7.0.3: version "7.0.3" resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6" @@ -5033,16 +4792,26 @@ defaults@^1.0.3: dependencies: clone "^1.0.2" +define-data-property@^1.0.1, define-data-property@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/define-data-property/-/define-data-property-1.1.1.tgz#c35f7cd0ab09883480d12ac5cb213715587800b3" + integrity sha512-E7uGkTzkk1d0ByLeSc6ZsFS79Axg+m1P/VsgYsxHgiuc3tFSj+MjMIwe90FC4lOAZzNBdY7kkO2P2wKdsQ1vgQ== + dependencies: + get-intrinsic "^1.2.1" + gopd "^1.0.1" + has-property-descriptors "^1.0.0" + define-lazy-prop@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz#3f7ae421129bcaaac9bc74905c98a0009ec9ee7f" integrity sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og== -define-properties@^1.1.3, define-properties@^1.1.4, define-properties@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.2.0.tgz#52988570670c9eacedd8064f4a990f2405849bd5" - integrity sha512-xvqAVKGfT1+UAvPwKTVw/njhdQ8ZhXK4lI0bCIuCMrp2up9nPnaDftrLtmpTazqd1o+UY4zgzU+avtMbDP+ldA== +define-properties@^1.1.3, define-properties@^1.1.4, define-properties@^1.2.0, define-properties@^1.2.1: + version "1.2.1" + resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.2.1.tgz#10781cc616eb951a80a034bafcaa7377f6af2b6c" + integrity sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg== dependencies: + define-data-property "^1.0.1" has-property-descriptors "^1.0.0" object-keys "^1.1.1" @@ -5065,7 +4834,7 @@ delegates@^1.0.0: resolved "https://registry.yarnpkg.com/delegates/-/delegates-1.0.0.tgz#84c6e159b81904fdca59a0ef44cd870d31250f9a" integrity sha512-bd2L678uiWATM6m5Z1VzNCErI3jiGzt6HGY8OVICs40JQq/HALfbyNJmp0UDakEY4pMMaN0Ly5om/B1VI/+xfQ== -depd@2.0.0, depd@^2.0.0: +depd@2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/depd/-/depd-2.0.0.tgz#b696163cc757560d09cf22cc8fad1571b79e76df" integrity sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw== @@ -5080,15 +4849,15 @@ dependency-graph@^0.11.0: resolved "https://registry.yarnpkg.com/dependency-graph/-/dependency-graph-0.11.0.tgz#ac0ce7ed68a54da22165a85e97a01d53f5eb2e27" integrity sha512-JeMq7fEshyepOWDfcfHK06N3MhyPhz++vtqWhMT5O9A3K42rdsEDpfdVqjaqaAhsw6a+ZqeDvQVtD0hFHQWrzg== -deprecation@^2.0.0, deprecation@^2.3.1: +deprecation@^2.0.0: version "2.3.1" resolved "https://registry.yarnpkg.com/deprecation/-/deprecation-2.3.1.tgz#6368cbdb40abf3373b525ac87e4a260c3a700919" integrity sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ== des.js@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/des.js/-/des.js-1.0.1.tgz#5382142e1bdc53f85d86d53e5f4aa7deb91e0843" - integrity sha512-Q0I4pfFrv2VPd34/vfLrFOoRmlYj3OV50i7fskps1jZWK1kApMWWT9G6RRUeYedLcBDIhnSDaUvJMb3AhUlaEA== + version "1.1.0" + resolved "https://registry.yarnpkg.com/des.js/-/des.js-1.1.0.tgz#1d37f5766f3bbff4ee9638e871a8768c173b81da" + integrity sha512-r17GxjhUCjSRy8aiJpr8/UadFIzMzJGexI3Nmz4ADi9LYSFx4gTBp80+NaX/YsXWWLhpZ7v/v/ubEc/bCNfKwg== dependencies: inherits "^2.0.1" minimalistic-assert "^1.0.0" @@ -5121,11 +4890,6 @@ dezalgo@^1.0.0: asap "^2.0.0" wrappy "1" -diff-sequences@^29.4.3: - version "29.4.3" - resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-29.4.3.tgz#9314bc1fabe09267ffeca9cbafc457d8499a13f2" - integrity sha512-ofrBgwpPhCD85kMKtE9RYFFq6OC1A89oW2vvgWZNCwxrUpRUILopY7lsYyMDSjc8g6U6aiO0Qubg6r4Wgt5ZnA== - diff-sequences@^29.6.3: version "29.6.3" resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-29.6.3.tgz#4deaf894d11407c51efc8418012f9e70b84ea921" @@ -5168,9 +4932,9 @@ dns-equal@^1.0.0: integrity sha512-z+paD6YUQsk+AbGCEM4PrOXSss5gd66QfcVBFTKR/HpFL9jCqikS94HYwKww6fQyO7IxrIIyUu+g0Ka9tUS2Cg== dns-packet@^5.2.2: - version "5.6.0" - resolved "https://registry.yarnpkg.com/dns-packet/-/dns-packet-5.6.0.tgz#2202c947845c7a63c23ece58f2f70ff6ab4c2f7d" - integrity sha512-rza3UH1LwdHh9qyPXp8lkwpjSNk/AMD3dPytUoRoqnypDUhY0xvbdmVhWOfxO68frEfV9BU8V12Ez7ZsHGZpCQ== + version "5.6.1" + resolved "https://registry.yarnpkg.com/dns-packet/-/dns-packet-5.6.1.tgz#ae888ad425a9d1478a0674256ab866de1012cf2f" + integrity sha512-l4gcSouhcgIKRvyy99RNVOgxXiicE+2jZoNmaNmZ6JXiGajBOJAesk1OBlJuM5k2c+eudGdLxDqXuPCKIj6kpw== dependencies: "@leichtgewicht/ip-codec" "^2.0.1" @@ -5241,14 +5005,14 @@ dot-prop@^5.1.0: is-obj "^2.0.0" dotenv@^16.0.0: - version "16.0.3" - resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-16.0.3.tgz#115aec42bac5053db3c456db30cc243a5a836a07" - integrity sha512-7GO6HghkA5fYG9TYnNxi14/7K9f5occMlp3zXAuSxn7CKCxt9xbNWG7yF8hTCSUchlfWSe3uLmlPfigevRItzQ== + version "16.3.1" + resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-16.3.1.tgz#369034de7d7e5b120972693352a3bf112172cc3e" + integrity sha512-IPzF4w4/Rd94bA9imS68tZBaYyBWSCE47V1RGuMrB94iyTOIEwRmVL2x/4An+6mETpLrKJ5hQkB8W4kFAadeIQ== dset@^3.1.2: - version "3.1.2" - resolved "https://registry.yarnpkg.com/dset/-/dset-3.1.2.tgz#89c436ca6450398396dc6538ea00abc0c54cd45a" - integrity sha512-g/M9sqy3oHe477Ar4voQxWtaPIFw1jTdKZuomOjhCcBx9nHUNn0pu6NopuFFrTh/TRZIKEj+76vLWFu9BNKk+Q== + version "3.1.3" + resolved "https://registry.yarnpkg.com/dset/-/dset-3.1.3.tgz#c194147f159841148e8e34ca41f638556d9542d2" + integrity sha512-20TuZZHCEZ2O71q9/+8BwKwZ0QtD9D8ObhrihJPr+vLLYlSuAU3/zL4cSlgbfeoGHTjCSJBa7NGcrF9/Bx/WJQ== duplexer2@~0.1.0: version "0.1.4" @@ -5267,17 +5031,12 @@ ee-first@1.1.1: resolved "https://registry.yarnpkg.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d" integrity sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow== -electron-to-chromium@^1.4.284: - version "1.4.399" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.399.tgz#df8a63d1f572124ad8b5d846e38b0532ad7d9d54" - integrity sha512-+V1aNvVgoWNWYIbMOiQ1n5fRIaY4SlQ/uRlrsCjLrUwr/3OvQgiX2f5vdav4oArVT9TnttJKcPCqjwPNyZqw/A== - -electron-to-chromium@^1.4.477: - version "1.4.504" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.504.tgz#975522945676cf2d55910988a169f07b83081488" - integrity sha512-cSMwIAd8yUh54VwitVRVvHK66QqHWE39C3DRj8SWiXitEpVSY3wNPD9y1pxQtLIi4w3UdzF9klLsmuPshz09DQ== +electron-to-chromium@^1.4.535: + version "1.4.586" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.586.tgz#68683163ed52a111213e2482ff847e76a5c6e891" + integrity sha512-qMa+E6yf1fNQbg3G66pHLXeJUP5CCCzNat1VPczOZOqgI2w4u+8y9sQnswMdGs5m4C1rOePq37EVBr/nsPQY7w== -elliptic@^6.5.3: +elliptic@^6.5.3, elliptic@^6.5.4: version "6.5.4" resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.5.4.tgz#da37cebd31e79a1367e941b592ed1fbebd58abbb" integrity sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ== @@ -5322,7 +5081,7 @@ encoding@^0.1.13: dependencies: iconv-lite "^0.6.2" -enhanced-resolve@^5.0.0, enhanced-resolve@^5.15.0: +enhanced-resolve@^5.0.0, enhanced-resolve@^5.15.0, enhanced-resolve@^5.7.0: version "5.15.0" resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.15.0.tgz#1af946c7d93603eb88e9896cee4904dc012e9c35" integrity sha512-LXYT42KJ7lpIKECr2mAXIaMldcNCh/7E0KBKOu4KSfkHmP+mZmSs+8V5gBAqisWBy0OO4W5Oyys0GO1Y8KtdKg== @@ -5330,14 +5089,6 @@ enhanced-resolve@^5.0.0, enhanced-resolve@^5.15.0: graceful-fs "^4.2.4" tapable "^2.2.0" -enhanced-resolve@^5.7.0: - version "5.14.0" - resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.14.0.tgz#0b6c676c8a3266c99fa281e4433a706f5c0c61c4" - integrity sha512-+DCows0XNwLDcUhbFJPdlQEVnT2zXlCv7hPxemTz86/O+B/hCQ+mb7ydkPKiflpVraqLPCAfu7lDy+hBXueojw== - dependencies: - graceful-fs "^4.2.4" - tapable "^2.2.0" - entities@^2.0.0: version "2.2.0" resolved "https://registry.yarnpkg.com/entities/-/entities-2.2.0.tgz#098dc90ebb83d8dffa089d55256b351d34c4da55" @@ -5358,9 +5109,9 @@ env-paths@^2.2.0: integrity sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A== envinfo@^7.7.3: - version "7.8.1" - resolved "https://registry.yarnpkg.com/envinfo/-/envinfo-7.8.1.tgz#06377e3e5f4d379fea7ac592d5ad8927e0c4d475" - integrity sha512-/o+BXHmB7ocbHEAs6F2EnG0ogybVVUdkRunTT2glZU9XAaGmhqskrvKwqXuDfNjEO0LZKWdejEEpnq8aM0tOaw== + version "7.11.0" + resolved "https://registry.yarnpkg.com/envinfo/-/envinfo-7.11.0.tgz#c3793f44284a55ff8c82faf1ffd91bc6478ea01f" + integrity sha512-G9/6xF1FPbIw0TtalAMaVPpiq2aDEuKLXM314jPVAO9r2fo2a4BLqMNkmRS7O/xPPZ+COAhGIz3ETvHEV3eUcg== err-code@^2.0.2: version "2.0.3" @@ -5374,66 +5125,26 @@ error-ex@^1.3.1: dependencies: is-arrayish "^0.2.1" -es-abstract@^1.19.0, es-abstract@^1.20.4: - version "1.21.2" - resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.21.2.tgz#a56b9695322c8a185dc25975aa3b8ec31d0e7eff" - integrity sha512-y/B5POM2iBnIxCiernH1G7rC9qQoM77lLIMQLuob0zhp8C56Po81+2Nj0WFKnd0pNReDTnkYryc+zhOzpEIROg== - dependencies: - array-buffer-byte-length "^1.0.0" - available-typed-arrays "^1.0.5" - call-bind "^1.0.2" - es-set-tostringtag "^2.0.1" - es-to-primitive "^1.2.1" - function.prototype.name "^1.1.5" - get-intrinsic "^1.2.0" - get-symbol-description "^1.0.0" - globalthis "^1.0.3" - gopd "^1.0.1" - has "^1.0.3" - has-property-descriptors "^1.0.0" - has-proto "^1.0.1" - has-symbols "^1.0.3" - internal-slot "^1.0.5" - is-array-buffer "^3.0.2" - is-callable "^1.2.7" - is-negative-zero "^2.0.2" - is-regex "^1.1.4" - is-shared-array-buffer "^1.0.2" - is-string "^1.0.7" - is-typed-array "^1.1.10" - is-weakref "^1.0.2" - object-inspect "^1.12.3" - object-keys "^1.1.1" - object.assign "^4.1.4" - regexp.prototype.flags "^1.4.3" - safe-regex-test "^1.0.0" - string.prototype.trim "^1.2.7" - string.prototype.trimend "^1.0.6" - string.prototype.trimstart "^1.0.6" - typed-array-length "^1.0.4" - unbox-primitive "^1.0.2" - which-typed-array "^1.1.9" - es-abstract@^1.22.1: - version "1.22.1" - resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.22.1.tgz#8b4e5fc5cefd7f1660f0f8e1a52900dfbc9d9ccc" - integrity sha512-ioRRcXMO6OFyRpyzV3kE1IIBd4WG5/kltnzdxSCqoP8CMGs/Li+M1uF5o7lOkZVFjDs+NLesthnF66Pg/0q0Lw== + version "1.22.3" + resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.22.3.tgz#48e79f5573198de6dee3589195727f4f74bc4f32" + integrity sha512-eiiY8HQeYfYH2Con2berK+To6GrK2RxbPawDkGq4UiCQQfZHb6wX9qQqkbpPqaxQFcl8d9QzZqo0tGE0VcrdwA== dependencies: array-buffer-byte-length "^1.0.0" - arraybuffer.prototype.slice "^1.0.1" + arraybuffer.prototype.slice "^1.0.2" available-typed-arrays "^1.0.5" - call-bind "^1.0.2" + call-bind "^1.0.5" es-set-tostringtag "^2.0.1" es-to-primitive "^1.2.1" - function.prototype.name "^1.1.5" - get-intrinsic "^1.2.1" + function.prototype.name "^1.1.6" + get-intrinsic "^1.2.2" get-symbol-description "^1.0.0" globalthis "^1.0.3" gopd "^1.0.1" - has "^1.0.3" has-property-descriptors "^1.0.0" has-proto "^1.0.1" has-symbols "^1.0.3" + hasown "^2.0.0" internal-slot "^1.0.5" is-array-buffer "^3.0.2" is-callable "^1.2.7" @@ -5441,44 +5152,44 @@ es-abstract@^1.22.1: is-regex "^1.1.4" is-shared-array-buffer "^1.0.2" is-string "^1.0.7" - is-typed-array "^1.1.10" + is-typed-array "^1.1.12" is-weakref "^1.0.2" - object-inspect "^1.12.3" + object-inspect "^1.13.1" object-keys "^1.1.1" object.assign "^4.1.4" - regexp.prototype.flags "^1.5.0" - safe-array-concat "^1.0.0" + regexp.prototype.flags "^1.5.1" + safe-array-concat "^1.0.1" safe-regex-test "^1.0.0" - string.prototype.trim "^1.2.7" - string.prototype.trimend "^1.0.6" - string.prototype.trimstart "^1.0.6" + string.prototype.trim "^1.2.8" + string.prototype.trimend "^1.0.7" + string.prototype.trimstart "^1.0.7" typed-array-buffer "^1.0.0" typed-array-byte-length "^1.0.0" typed-array-byte-offset "^1.0.0" typed-array-length "^1.0.4" unbox-primitive "^1.0.2" - which-typed-array "^1.1.10" + which-typed-array "^1.1.13" es-module-lexer@^1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/es-module-lexer/-/es-module-lexer-1.2.1.tgz#ba303831f63e6a394983fde2f97ad77b22324527" - integrity sha512-9978wrXM50Y4rTMmW5kXIC09ZdXQZqkE4mxhwkd8VbzsGkXGPgV4zWuqQJgCEzYngdo2dYDa0l8xhX4fkSwJSg== + version "1.4.1" + resolved "https://registry.yarnpkg.com/es-module-lexer/-/es-module-lexer-1.4.1.tgz#41ea21b43908fe6a287ffcbe4300f790555331f5" + integrity sha512-cXLGjP0c4T3flZJKQSuziYoq7MlT+rnvfZjfp7h+I7K9BNX54kP9nyWvdbwjQ4u1iWbOL4u96fgeZLToQlZC7w== es-set-tostringtag@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/es-set-tostringtag/-/es-set-tostringtag-2.0.1.tgz#338d502f6f674301d710b80c8592de8a15f09cd8" - integrity sha512-g3OMbtlwY3QewlqAiMLI47KywjWZoEytKr8pf6iTC8uJq5bIAH52Z9pnQ8pVL6whrCto53JZDuUIsifGeLorTg== + version "2.0.2" + resolved "https://registry.yarnpkg.com/es-set-tostringtag/-/es-set-tostringtag-2.0.2.tgz#11f7cc9f63376930a5f20be4915834f4bc74f9c9" + integrity sha512-BuDyupZt65P9D2D2vA/zqcI3G5xRsklm5N3xCwuiy+/vKy8i0ifdsQP1sLgO4tZDSCaQUSnmC48khknGMV3D2Q== dependencies: - get-intrinsic "^1.1.3" - has "^1.0.3" + get-intrinsic "^1.2.2" has-tostringtag "^1.0.0" + hasown "^2.0.0" es-shim-unscopables@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/es-shim-unscopables/-/es-shim-unscopables-1.0.0.tgz#702e632193201e3edf8713635d083d378e510241" - integrity sha512-Jm6GPcCdC30eMLbZ2x8z2WuRwAws3zTBBKuusffYVUrNj/GVSUAZ+xKMaUpfNDR5IbyNA5LJbaecoUVbmUcB1w== + version "1.0.2" + resolved "https://registry.yarnpkg.com/es-shim-unscopables/-/es-shim-unscopables-1.0.2.tgz#1f6942e71ecc7835ed1c8a83006d8771a63a3763" + integrity sha512-J3yBRXCzDu4ULnQwxyToo/OjdMx6akgVC7K6few0a7F/0wLtmKKN7I73AH5T2836UuXRqN7Qg+IIUw/+YJksRw== dependencies: - has "^1.0.3" + hasown "^2.0.0" es-to-primitive@^1.2.1: version "1.2.1" @@ -5507,11 +5218,6 @@ es6-iterator@^2.0.3: es5-ext "^0.10.35" es6-symbol "^3.1.1" -es6-object-assign@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/es6-object-assign/-/es6-object-assign-1.1.0.tgz#c2c3582656247c39ea107cb1e6652b6f9f24523c" - integrity sha512-MEl9uirslVwqQU369iHNWZXsI8yaZYGg/D65aOgZkeyFJwHYSxilf7rQzXKI7DdDuBPrBXbfk3sl9hJhmd5AUw== - es6-symbol@^3.1.1, es6-symbol@^3.1.3: version "3.1.3" resolved "https://registry.yarnpkg.com/es6-symbol/-/es6-symbol-3.1.3.tgz#bad5d3c1bcdac28269f4cb331e431c78ac705d18" @@ -5560,14 +5266,14 @@ eslint-config-standard@17.1.0: resolved "https://registry.yarnpkg.com/eslint-config-standard/-/eslint-config-standard-17.1.0.tgz#40ffb8595d47a6b242e07cbfd49dc211ed128975" integrity sha512-IwHwmaBNtDK4zDHQukFDW5u/aTb8+meQWZvNFWkiGmbWjD6bqyuSSBxxXKkCftCUzc1zwCH2m/baCNDLGmuO5Q== -eslint-import-resolver-node@^0.3.7: - version "0.3.7" - resolved "https://registry.yarnpkg.com/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.7.tgz#83b375187d412324a1963d84fa664377a23eb4d7" - integrity sha512-gozW2blMLJCeFpBwugLTGyvVjNoeo1knonXAcatC6bjPBZitotxdWf7Gimr25N4c0AAOo4eOUfaG82IJPDpqCA== +eslint-import-resolver-node@^0.3.9: + version "0.3.9" + resolved "https://registry.yarnpkg.com/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.9.tgz#d4eaac52b8a2e7c3cd1903eb00f7e053356118ac" + integrity sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g== dependencies: debug "^3.2.7" - is-core-module "^2.11.0" - resolve "^1.22.1" + is-core-module "^2.13.0" + resolve "^1.22.4" eslint-module-utils@^2.8.0: version "2.8.0" @@ -5577,45 +5283,47 @@ eslint-module-utils@^2.8.0: debug "^3.2.7" eslint-plugin-es-x@^7.1.0: - version "7.2.0" - resolved "https://registry.yarnpkg.com/eslint-plugin-es-x/-/eslint-plugin-es-x-7.2.0.tgz#5779d742ad31f8fd780b9481331481e142b72311" - integrity sha512-9dvv5CcvNjSJPqnS5uZkqb3xmbeqRLnvXKK7iI5+oK/yTusyc46zbBZKENGsOfojm/mKfszyZb+wNqNPAPeGXA== + version "7.3.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-es-x/-/eslint-plugin-es-x-7.3.0.tgz#c699280ad35cd315720c3cccf0fe503092c08788" + integrity sha512-W9zIs+k00I/I13+Bdkl/zG1MEO07G97XjUSQuH117w620SJ6bHtLUmoMvkGA2oYnI/gNdr+G7BONLyYnFaLLEQ== dependencies: "@eslint-community/eslint-utils" "^4.1.2" "@eslint-community/regexpp" "^4.6.0" eslint-plugin-import@^2.28.1: - version "2.28.1" - resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.28.1.tgz#63b8b5b3c409bfc75ebaf8fb206b07ab435482c4" - integrity sha512-9I9hFlITvOV55alzoKBI+K9q74kv0iKMeY6av5+umsNwayt59fz692daGyjR+oStBQgx6nwR9rXldDev3Clw+A== - dependencies: - array-includes "^3.1.6" - array.prototype.findlastindex "^1.2.2" - array.prototype.flat "^1.3.1" - array.prototype.flatmap "^1.3.1" + version "2.29.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.29.0.tgz#8133232e4329ee344f2f612885ac3073b0b7e155" + integrity sha512-QPOO5NO6Odv5lpoTkddtutccQjysJuFxoPS7fAHO+9m9udNHvTCPSAMW9zGAYj8lAIdr40I8yPCdUYrncXtrwg== + dependencies: + array-includes "^3.1.7" + array.prototype.findlastindex "^1.2.3" + array.prototype.flat "^1.3.2" + array.prototype.flatmap "^1.3.2" debug "^3.2.7" doctrine "^2.1.0" - eslint-import-resolver-node "^0.3.7" + eslint-import-resolver-node "^0.3.9" eslint-module-utils "^2.8.0" - has "^1.0.3" - is-core-module "^2.13.0" + hasown "^2.0.0" + is-core-module "^2.13.1" is-glob "^4.0.3" minimatch "^3.1.2" - object.fromentries "^2.0.6" - object.groupby "^1.0.0" - object.values "^1.1.6" + object.fromentries "^2.0.7" + object.groupby "^1.0.1" + object.values "^1.1.7" semver "^6.3.1" tsconfig-paths "^3.14.2" eslint-plugin-n@^16.0.2: - version "16.0.2" - resolved "https://registry.yarnpkg.com/eslint-plugin-n/-/eslint-plugin-n-16.0.2.tgz#5b2c0ad8dd9b724244d30fad2cc49ff4308a2152" - integrity sha512-Y66uDfUNbBzypsr0kELWrIz+5skicECrLUqlWuXawNSLUq3ltGlCwu6phboYYOTSnoTdHgTLrc+5Ydo6KjzZog== + version "16.3.1" + resolved "https://registry.yarnpkg.com/eslint-plugin-n/-/eslint-plugin-n-16.3.1.tgz#6cd377d1349fed10854b6535392e91fb4123193b" + integrity sha512-w46eDIkxQ2FaTHcey7G40eD+FhTXOdKudDXPUO2n9WNcslze/i/HT2qJ3GXjHngYSGDISIgPNhwGtgoix4zeOw== dependencies: "@eslint-community/eslint-utils" "^4.4.0" builtins "^5.0.1" eslint-plugin-es-x "^7.1.0" + get-tsconfig "^4.7.0" ignore "^5.2.4" + is-builtin-module "^3.2.1" is-core-module "^2.12.1" minimatch "^3.1.2" resolve "^1.22.2" @@ -5653,17 +5361,18 @@ eslint-visitor-keys@^3.1.0, eslint-visitor-keys@^3.3.0, eslint-visitor-keys@^3.4 integrity sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag== eslint@^8.21.0, eslint@^8.48.0, eslint@^8.7.0: - version "8.48.0" - resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.48.0.tgz#bf9998ba520063907ba7bfe4c480dc8be03c2155" - integrity sha512-sb6DLeIuRXxeM1YljSe1KEx9/YYeZFQWcV8Rq9HfigmdDEugjLEVEa1ozDjL6YDjBpQHPJxJzze+alxi4T3OLg== + version "8.53.0" + resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.53.0.tgz#14f2c8244298fcae1f46945459577413ba2697ce" + integrity sha512-N4VuiPjXDUa4xVeV/GC/RV3hQW9Nw+Y463lkWaKKXKYMvmRiRDAtfpuPFLN+E1/6ZhyR8J2ig+eVREnYgUsiag== dependencies: "@eslint-community/eslint-utils" "^4.2.0" "@eslint-community/regexpp" "^4.6.1" - "@eslint/eslintrc" "^2.1.2" - "@eslint/js" "8.48.0" - "@humanwhocodes/config-array" "^0.11.10" + "@eslint/eslintrc" "^2.1.3" + "@eslint/js" "8.53.0" + "@humanwhocodes/config-array" "^0.11.13" "@humanwhocodes/module-importer" "^1.0.1" "@nodelib/fs.walk" "^1.2.8" + "@ungap/structured-clone" "^1.2.0" ajv "^6.12.4" chalk "^4.0.0" cross-spawn "^7.0.2" @@ -5801,27 +5510,21 @@ exit@^0.1.2: resolved "https://registry.yarnpkg.com/exit/-/exit-0.1.2.tgz#0632638f8d877cc82107d30a0fff1a17cba1cd0c" integrity sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ== -expect@^29.0.0: - version "29.5.0" - resolved "https://registry.yarnpkg.com/expect/-/expect-29.5.0.tgz#68c0509156cb2a0adb8865d413b137eeaae682f7" - integrity sha512-yM7xqUrCO2JdpFo4XpM82t+PJBFybdqoQuJLDGeDX2ij8NZzqRHyu3Hp188/JX7SWqud+7t4MUdvcgGBICMHZg== - dependencies: - "@jest/expect-utils" "^29.5.0" - jest-get-type "^29.4.3" - jest-matcher-utils "^29.5.0" - jest-message-util "^29.5.0" - jest-util "^29.5.0" - -expect@^29.6.4: - version "29.6.4" - resolved "https://registry.yarnpkg.com/expect/-/expect-29.6.4.tgz#a6e6f66d4613717859b2fe3da98a739437b6f4b8" - integrity sha512-F2W2UyQ8XYyftHT57dtfg8Ue3X5qLgm2sSug0ivvLRH/VKNRL/pDxg/TH7zVzbQB0tu80clNFy6LU7OS/VSEKA== +expect@^29.0.0, expect@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/expect/-/expect-29.7.0.tgz#578874590dcb3214514084c08115d8aee61e11bc" + integrity sha512-2Zks0hf1VLFYI1kbh0I5jP3KHHyCHpkfyHBzsSXRFgl/Bg9mWYfMW8oD+PdMPlEwy5HNsR9JutYy6pMeOh61nw== dependencies: - "@jest/expect-utils" "^29.6.4" + "@jest/expect-utils" "^29.7.0" jest-get-type "^29.6.3" - jest-matcher-utils "^29.6.4" - jest-message-util "^29.6.3" - jest-util "^29.6.3" + jest-matcher-utils "^29.7.0" + jest-message-util "^29.7.0" + jest-util "^29.7.0" + +exponential-backoff@^3.1.1: + version "3.1.1" + resolved "https://registry.yarnpkg.com/exponential-backoff/-/exponential-backoff-3.1.1.tgz#64ac7526fe341ab18a39016cd22c787d01e00bf6" + integrity sha512-dX7e/LHVJ6W3DE1MHWi9S1EYzDESENfLrYohG2G++ovZrYOkm4Knwa0mc1cn84xJOR4KEU0WSchhLbd0UklbHw== express@^4.17.3: version "4.18.2" @@ -5892,9 +5595,9 @@ fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3: integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q== fast-glob@^3.2.9: - version "3.2.12" - resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.12.tgz#7f39ec99c2e6ab030337142da9e0c18f37afae80" - integrity sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w== + version "3.3.2" + resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.3.2.tgz#a904501e57cfdd2ffcded45e99a54fef55e46129" + integrity sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow== dependencies: "@nodelib/fs.stat" "^2.0.2" "@nodelib/fs.walk" "^1.2.3" @@ -5913,9 +5616,9 @@ fast-levenshtein@^2.0.6: integrity sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw== fast-querystring@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/fast-querystring/-/fast-querystring-1.1.1.tgz#f4c56ef56b1a954880cfd8c01b83f9e1a3d3fda2" - integrity sha512-qR2r+e3HvhEFmpdHMv//U8FnFlnYjaC6QKDuaXALDkw2kvHO8WDjxH+f/rHGR4Me4pnk8p9JAkRNTjYHAKRn2Q== + version "1.1.2" + resolved "https://registry.yarnpkg.com/fast-querystring/-/fast-querystring-1.1.2.tgz#a6d24937b4fc6f791b4ee31dcb6f53aeafb89f53" + integrity sha512-g6KuKWmFXc0fID8WWH0jit4g0AGBoJhCkJMb1RmbsSEUNvQ+ZC8D6CUZ+GtF8nMzSPXnhiePyyqqipzNNEnHjg== dependencies: fast-decode-uri-component "^1.0.1" @@ -5958,9 +5661,9 @@ fbjs-css-vars@^1.0.0: integrity sha512-b2XGFAFdWZWg0phtAWLHCk836A1Xann+I+Dgd3Gk64MHKZO44FfoD1KxyvbSh0qZsIoXQGGlVztIY+oitJPpRQ== fbjs@^3.0.0: - version "3.0.4" - resolved "https://registry.yarnpkg.com/fbjs/-/fbjs-3.0.4.tgz#e1871c6bd3083bac71ff2da868ad5067d37716c6" - integrity sha512-ucV0tDODnGV3JCnnkmoszb5lf4bNpzjv80K41wd4k798Etq+UYD0y0TIfalLjZoKgjive6/adkRnszwapiDgBQ== + version "3.0.5" + resolved "https://registry.yarnpkg.com/fbjs/-/fbjs-3.0.5.tgz#aa0edb7d5caa6340011790bd9249dbef8a81128d" + integrity sha512-ztsSx77JBtkuMrEypfhgc3cI0+0h+svqeie7xHbh1k/IKdcydnvadp/mUaGgjAOXQmQSxsqgaRhS3q9fy+1kxg== dependencies: cross-fetch "^3.1.5" fbjs-css-vars "^1.0.0" @@ -5968,7 +5671,7 @@ fbjs@^3.0.0: object-assign "^4.1.0" promise "^7.1.1" setimmediate "^1.0.5" - ua-parser-js "^0.7.30" + ua-parser-js "^1.0.35" fetch-blob@^3.1.2, fetch-blob@^3.1.4: version "3.2.0" @@ -6064,22 +5767,28 @@ find-yarn-workspace-root@^2.0.0: micromatch "^4.0.2" flat-cache@^3.0.4: - version "3.0.4" - resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-3.0.4.tgz#61b0338302b2fe9f957dcc32fc2a87f1c3048b11" - integrity sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg== + version "3.2.0" + resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-3.2.0.tgz#2c0c2d5040c99b1632771a9d105725c0115363ee" + integrity sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw== dependencies: - flatted "^3.1.0" + flatted "^3.2.9" + keyv "^4.5.3" rimraf "^3.0.2" -flatted@^3.1.0: - version "3.2.7" - resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.2.7.tgz#609f39207cb614b89d0765b477cb2d437fbf9787" - integrity sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ== +flat@^5.0.2: + version "5.0.2" + resolved "https://registry.yarnpkg.com/flat/-/flat-5.0.2.tgz#8ca6fe332069ffa9d324c327198c598259ceb241" + integrity sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ== + +flatted@^3.2.9: + version "3.2.9" + resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.2.9.tgz#7eb4c67ca1ba34232ca9d2d93e9886e611ad7daf" + integrity sha512-36yxDn5H7OFZQla0/jFJmbIKTdZAQHngCedGxiMmpNfEZM0sdEeT+WczLQrjK6D7o2aiyLYDnkw0R3JK0Qv1RQ== follow-redirects@^1.0.0: - version "1.15.2" - resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.2.tgz#b460864144ba63f2681096f274c4e57026da2c13" - integrity sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA== + version "1.15.3" + resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.3.tgz#fe2f3ef2690afce7e82ed0b44db08165b207123a" + integrity sha512-1VzOtuEM8pC9SFU1E+8KfTjZyMztRsgEfwQl44z8A25uy13jSzTj6dyK2Df52iV0vgHCfBwLhDWevLn95w5v6Q== for-each@^0.3.3: version "0.3.3" @@ -6144,10 +5853,10 @@ fs-minipass@^2.0.0, fs-minipass@^2.1.0: dependencies: minipass "^3.0.0" -fs-monkey@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/fs-monkey/-/fs-monkey-1.0.3.tgz#ae3ac92d53bb328efe0e9a1d9541f6ad8d48e2d3" - integrity sha512-cybjIfiiE+pTWicSCLFHSrXZ6EilF30oh91FDP9S2B051prEa7QWfrVTQm10/dDpswBDXZugPa1Ogu8Yh+HV0Q== +fs-monkey@^1.0.4: + version "1.0.5" + resolved "https://registry.yarnpkg.com/fs-monkey/-/fs-monkey-1.0.5.tgz#fe450175f0db0d7ea758102e1d84096acb925788" + integrity sha512-8uMbBjrhzW76TYgEV27Y5E//W2f/lTFmx78P2w19FZSxarhI/798APGQyuGCwmkNxgwGRhrLfvWyLBvNtuOmew== fs.realpath@^1.0.0: version "1.0.0" @@ -6155,26 +5864,26 @@ fs.realpath@^1.0.0: integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw== fsevents@^2.3.2, fsevents@~2.3.2: - version "2.3.2" - resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a" - integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA== + version "2.3.3" + resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.3.tgz#cac6407785d03675a2a5e1a5305c697b347d90d6" + integrity sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw== -function-bind@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" - integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A== +function-bind@^1.1.2: + version "1.1.2" + resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.2.tgz#2c02d864d97f3ea6c8830c464cbd11ab6eab7a1c" + integrity sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA== -function.prototype.name@^1.1.5: - version "1.1.5" - resolved "https://registry.yarnpkg.com/function.prototype.name/-/function.prototype.name-1.1.5.tgz#cce0505fe1ffb80503e6f9e46cc64e46a12a9621" - integrity sha512-uN7m/BzVKQnCUF/iW8jYea67v++2u7m5UgENbHRtdDVclOUP+FMPlCNdmk0h/ysGyo2tavMJEDqJAkJdRa1vMA== +function.prototype.name@^1.1.6: + version "1.1.6" + resolved "https://registry.yarnpkg.com/function.prototype.name/-/function.prototype.name-1.1.6.tgz#cdf315b7d90ee77a4c6ee216c3c3362da07533fd" + integrity sha512-Z5kx79swU5P27WEayXM1tBi5Ze/lbIyiNgU3qyXUOf9b2rgXYyF9Dy9Cx+IQv/Lc8WCG6L82zwUPpSS9hGehIg== dependencies: call-bind "^1.0.2" - define-properties "^1.1.3" - es-abstract "^1.19.0" - functions-have-names "^1.2.2" + define-properties "^1.2.0" + es-abstract "^1.22.1" + functions-have-names "^1.2.3" -functions-have-names@^1.2.2, functions-have-names@^1.2.3: +functions-have-names@^1.2.3: version "1.2.3" resolved "https://registry.yarnpkg.com/functions-have-names/-/functions-have-names-1.2.3.tgz#0404fe4ee2ba2f607f0e0ec3c80bae994133b834" integrity sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ== @@ -6203,15 +5912,15 @@ get-caller-file@^2.0.1, get-caller-file@^2.0.5: resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== -get-intrinsic@^1.0.2, get-intrinsic@^1.1.1, get-intrinsic@^1.1.3, get-intrinsic@^1.2.0, get-intrinsic@^1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.2.1.tgz#d295644fed4505fc9cde952c37ee12b477a83d82" - integrity sha512-2DcsyfABl+gVHEfCOaTrWgyt+tb6MSEGmKq+kI5HwLbIYgjgmMcV8KQ41uaKz1xxUcn9tJtgFbQUEVcEbd0FYw== +get-intrinsic@^1.0.2, get-intrinsic@^1.1.1, get-intrinsic@^1.1.3, get-intrinsic@^1.2.0, get-intrinsic@^1.2.1, get-intrinsic@^1.2.2: + version "1.2.2" + resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.2.2.tgz#281b7622971123e1ef4b3c90fd7539306da93f3b" + integrity sha512-0gSo4ml/0j98Y3lngkFEot/zhiCeWsbYIlZ+uZOVgzLyLaUw7wxUL+nCTP0XJvJg1AXulJRI3UJi8GsbDuxdGA== dependencies: - function-bind "^1.1.1" - has "^1.0.3" + function-bind "^1.1.2" has-proto "^1.0.1" has-symbols "^1.0.3" + hasown "^2.0.0" get-package-type@^0.1.0: version "0.1.0" @@ -6236,6 +5945,13 @@ get-symbol-description@^1.0.0: call-bind "^1.0.2" get-intrinsic "^1.1.1" +get-tsconfig@^4.7.0: + version "4.7.2" + resolved "https://registry.yarnpkg.com/get-tsconfig/-/get-tsconfig-4.7.2.tgz#0dcd6fb330391d46332f4c6c1bf89a6514c2ddce" + integrity sha512-wuMsz4leaj5hbGgg4IvDU0bqJagpftG5l5cXIAvo8uZrqn0NJqwtfupTN00VnkQJPcIRrxYrm1Ue24btpCha2A== + dependencies: + resolve-pkg-maps "^1.0.0" + git-log-parser@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/git-log-parser/-/git-log-parser-1.2.0.tgz#2e6a4c1b13fc00028207ba795a7ac31667b9fd4a" @@ -6314,9 +6030,9 @@ globals@^11.1.0: integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA== globals@^13.19.0: - version "13.21.0" - resolved "https://registry.yarnpkg.com/globals/-/globals-13.21.0.tgz#163aae12f34ef502f5153cfbdd3600f36c63c571" - integrity sha512-ybyme3s4yy/t/3s35bewwXKOf7cvzfreG2lH0lZl0JB7I4GxRP2ghxOK/Nb9EkRXdbBXZLfq/p/0W2JUONB/Gg== + version "13.23.0" + resolved "https://registry.yarnpkg.com/globals/-/globals-13.23.0.tgz#ef31673c926a0976e1f61dab4dca57e0c0a8af02" + integrity sha512-XAmF0RjlrjY23MA51q3HltdlGxUpXPvg0GioKiD9X6HD28iMjo2dKC8Vqwm7lne4GNr78+RHTfliktR6ZH09wA== dependencies: type-fest "^0.20.2" @@ -6362,9 +6078,9 @@ graphemer@^1.4.0: integrity sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag== graphql-config@^5.0.2: - version "5.0.2" - resolved "https://registry.yarnpkg.com/graphql-config/-/graphql-config-5.0.2.tgz#7e962f94ccddcc2ee0aa71d75cf4491ec5092bdb" - integrity sha512-7TPxOrlbiG0JplSZYCyxn2XQtqVhXomEjXUmWJVSS5ET1nPhOJSsIb/WTwqWhcYX6G0RlHXSj9PLtGTKmxLNGg== + version "5.0.3" + resolved "https://registry.yarnpkg.com/graphql-config/-/graphql-config-5.0.3.tgz#d9aa2954cf47a927f9cb83cdc4e42ae55d0b321e" + integrity sha512-BNGZaoxIBkv9yy6Y7omvsaBUHOzfFcII3UN++tpH8MGOKFPFkCPZuwx09ggANMt8FgyWP1Od8SWPmrUEZca4NQ== dependencies: "@graphql-tools/graphql-file-loader" "^8.0.0" "@graphql-tools/json-file-loader" "^8.0.0" @@ -6379,9 +6095,9 @@ graphql-config@^5.0.2: tslib "^2.4.0" graphql-request@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/graphql-request/-/graphql-request-6.0.0.tgz#9c8b6a0c341f289e049936d03cc9205300faae1c" - integrity sha512-2BmHTuglonjZvmNVw6ZzCfFlW/qkIPds0f+Qdi/Lvjsl3whJg2uvHmSvHnLWhUTEw6zcxPYAHiZoPvSVKOZ7Jw== + version "6.1.0" + resolved "https://registry.yarnpkg.com/graphql-request/-/graphql-request-6.1.0.tgz#f4eb2107967af3c7a5907eb3131c671eac89be4f" + integrity sha512-p+XPfS4q7aIpKVcgmnZKhMNqhltk20hfXtkaIkTfjjmiKMJ5xrt5c743cL03y/K7y1rg3WrIC49xGiEQ4mxdNw== dependencies: "@graphql-typed-document-node/core" "^3.2.0" cross-fetch "^3.1.5" @@ -6394,14 +6110,14 @@ graphql-tag@2.12.6, graphql-tag@^2.11.0, graphql-tag@^2.12.6: tslib "^2.1.0" graphql-ws@^5.14.0: - version "5.14.0" - resolved "https://registry.yarnpkg.com/graphql-ws/-/graphql-ws-5.14.0.tgz#766f249f3974fc2c48fae0d1fb20c2c4c79cd591" - integrity sha512-itrUTQZP/TgswR4GSSYuwWUzrE/w5GhbwM2GX3ic2U7aw33jgEsayfIlvaj7/GcIvZgNMzsPTrE5hqPuFUiE5g== + version "5.14.2" + resolved "https://registry.yarnpkg.com/graphql-ws/-/graphql-ws-5.14.2.tgz#7db6f6138717a544d9480f0213f65f2841ed1c52" + integrity sha512-LycmCwhZ+Op2GlHz4BZDsUYHKRiiUz+3r9wbhBATMETNlORQJAaFlAgTFoeRh6xQoQegwYwIylVD1Qns9/DA3w== graphql@^16.8.0: - version "16.8.0" - resolved "https://registry.yarnpkg.com/graphql/-/graphql-16.8.0.tgz#374478b7f27b2dc6153c8f42c1b80157f79d79d4" - integrity sha512-0oKGaR+y3qcS5mCu1vb7KG+a89vjn06C7Ihq/dDl3jA+A8B3TKomvi3CiEcVLJQGalbu8F52LxkOym7U5sSfbg== + version "16.8.1" + resolved "https://registry.yarnpkg.com/graphql/-/graphql-16.8.1.tgz#1930a965bef1170603702acdb68aedd3f3cf6f07" + integrity sha512-59LZHPdGZVh695Ud9lRzPBVTtlX9ZCV150Er2W43ro37wVof0ctenSaskPPjN7lVTIN8mSZt8PHUNKZuNQUuxw== handle-thing@^2.0.0: version "2.0.1" @@ -6409,12 +6125,12 @@ handle-thing@^2.0.0: integrity sha512-9Qn4yBxelxoh2Ow62nP+Ka/kMnOXRi8BXnRaUwezLNhqelnN49xKz4F/dPP8OYLxLxq6JDtZb2i9XznUQbNPTg== handlebars@^4.7.7: - version "4.7.7" - resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.7.7.tgz#9ce33416aad02dbd6c8fafa8240d5d98004945a1" - integrity sha512-aAcXm5OAfE/8IXkcZvCepKU3VzW1/39Fb5ZuqMtgI/hT8X2YgoMvBY5dLhq/cpOvw7Lk1nK/UF71aLG/ZnVYRA== + version "4.7.8" + resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.7.8.tgz#41c42c18b1be2365439188c77c6afae71c0cd9e9" + integrity sha512-vafaFqs8MZkRrSX7sFVUdo3ap/eNiLnb4IakshzvP56X5Nr1iGKAIqdX6tMlm6HcNRIkr6AxO5jFEoJzzpT8aQ== dependencies: minimist "^1.2.5" - neo-async "^2.6.0" + neo-async "^2.6.2" source-map "^0.6.1" wordwrap "^1.0.0" optionalDependencies: @@ -6448,11 +6164,11 @@ has-flag@^4.0.0: integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ== has-property-descriptors@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz#610708600606d36961ed04c196193b6a607fa861" - integrity sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ== + version "1.0.1" + resolved "https://registry.yarnpkg.com/has-property-descriptors/-/has-property-descriptors-1.0.1.tgz#52ba30b6c5ec87fd89fa574bc1c39125c6f65340" + integrity sha512-VsX8eaIewvas0xnvinAe9bw4WfIeODpGYikiWYLH+dma0Jw6KHYqWiWfhQlgOVK8D6PvjubK5Uc4P0iIhIcNVg== dependencies: - get-intrinsic "^1.1.1" + get-intrinsic "^1.2.2" has-proto@^1.0.1: version "1.0.1" @@ -6476,13 +6192,6 @@ has-unicode@^2.0.1: resolved "https://registry.yarnpkg.com/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9" integrity sha512-8Rf9Y83NBReMnx0gFzA8JImQACstCYWUplepDa9xprwwtmgEZUF0h/i5xSA625zB/I37EtrswSST6OXxwaaIJQ== -has@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796" - integrity sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw== - dependencies: - function-bind "^1.1.1" - hash-base@^3.0.0: version "3.1.0" resolved "https://registry.yarnpkg.com/hash-base/-/hash-base-3.1.0.tgz#55c381d9e06e1d2997a883b4a3fddfe7f0d3af33" @@ -6500,6 +6209,13 @@ hash.js@^1.0.0, hash.js@^1.0.3: inherits "^2.0.3" minimalistic-assert "^1.0.1" +hasown@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/hasown/-/hasown-2.0.0.tgz#f4c513d454a57b7c7e1650778de226b11700546c" + integrity sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA== + dependencies: + function-bind "^1.1.2" + he@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/he/-/he-1.2.0.tgz#84ae65fa7eafb165fddb61566ae14baf05664f0f" @@ -6564,9 +6280,9 @@ hpack.js@^2.1.6: wbuf "^1.1.0" html-entities@^2.3.2: - version "2.3.3" - resolved "https://registry.yarnpkg.com/html-entities/-/html-entities-2.3.3.tgz#117d7626bece327fc8baace8868fa6f5ef856e46" - integrity sha512-DV5Ln36z34NNTDgnz0EWGBLZENelNAtkiFA4kyNOG2tDI6Mz1uSWiq1wAKdyjnJwyDiDO7Fa2SO1CTxPXL8VxA== + version "2.4.0" + resolved "https://registry.yarnpkg.com/html-entities/-/html-entities-2.4.0.tgz#edd0cee70402584c8c76cc2c0556db09d1f45061" + integrity sha512-igBTJcNNNhvZFRtm8uA6xMY6xYleeDwn3PeBCkDz7tHttv4F2hsDI2aPgNERWzvRcNYHNT3ymRaQzllmXj4YsQ== html-escaper@^2.0.0: version "2.0.2" @@ -6689,9 +6405,9 @@ https-proxy-agent@^5.0.0: debug "4" https-proxy-agent@^7.0.0: - version "7.0.1" - resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-7.0.1.tgz#0277e28f13a07d45c663633841e20a40aaafe0ab" - integrity sha512-Eun8zV0kcYS1g19r78osiQLEFIRspRUDd9tIfBCTBPBeMieF/EsJNL8VI3xOIdYRDEkjQnqOYPsZ2DsWsVsFwQ== + version "7.0.2" + resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-7.0.2.tgz#e2645b846b90e96c6e6f347fb5b2e41f1590b09b" + integrity sha512-NmLNjm6ucYwtcUmL7JQC1ZQ57LmHP4lT15FQ8D61nak1rO6DH+fz5qNK2Ap5UN4ZapYICE3/0KodcLYSPsPbaA== dependencies: agent-base "^7.0.2" debug "4" @@ -6745,16 +6461,16 @@ ignore-walk@^5.0.1: minimatch "^5.0.1" ignore@^5.2.0, ignore@^5.2.4: - version "5.2.4" - resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.2.4.tgz#a291c0c6178ff1b960befe47fcdec301674a6324" - integrity sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ== + version "5.3.0" + resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.3.0.tgz#67418ae40d34d6999c95ff56016759c718c82f78" + integrity sha512-g7dmpshy+gD7mh88OC9NwSGTKoc3kyLAZQRU1mt53Aw/vnvfXnbC+F/7F7QoYVKbV+KNvJx8wArewKy1vXMtlg== immutable@~3.7.6: version "3.7.6" resolved "https://registry.yarnpkg.com/immutable/-/immutable-3.7.6.tgz#13b4d3cb12befa15482a26fe1b2ebae640071e4b" integrity sha512-AizQPcaofEtO11RZhPPHBOJRdo/20MKQF9mBLnVkBoyHi1/zXK8fzVdnEpSV9gxqtnh6Qomfp3F0xT5qP/vThw== -import-fresh@^3.0.0, import-fresh@^3.2.1: +import-fresh@^3.0.0, import-fresh@^3.2.1, import-fresh@^3.3.0: version "3.3.0" resolved "https://registry.yarnpkg.com/import-fresh/-/import-fresh-3.3.0.tgz#37162c25fcb9ebaa2e6e53d5b4d88ce17d9e0c2b" integrity sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw== @@ -6832,9 +6548,9 @@ init-package-json@^3.0.2: validate-npm-package-name "^4.0.0" inquirer@^8.0.0: - version "8.2.5" - resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-8.2.5.tgz#d8654a7542c35a9b9e069d27e2df4858784d54f8" - integrity sha512-QAgPDQMEgrDssk1XiwwHoOGYF9BAbUcc1+j+FhEvaOt8/cKRqyLn0U5qA6F74fGhTMGxf92pOvPBeh29jQJDTQ== + version "8.2.6" + resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-8.2.6.tgz#733b74888195d8d400a67ac332011b5fae5ea562" + integrity sha512-M1WuAmb7pn9zdFRtQYk26ZBoY043Sse0wVDdk4Bppr+JOXyQYybdtvK+l9wUibhtjdjvtoiNy8tk+EgsYIUqKg== dependencies: ansi-escapes "^4.2.1" chalk "^4.1.1" @@ -6850,15 +6566,15 @@ inquirer@^8.0.0: string-width "^4.1.0" strip-ansi "^6.0.0" through "^2.3.6" - wrap-ansi "^7.0.0" + wrap-ansi "^6.0.1" internal-slot@^1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/internal-slot/-/internal-slot-1.0.5.tgz#f2a2ee21f668f8627a4667f309dc0f4fb6674986" - integrity sha512-Y+R5hJrzs52QCG2laLn4udYVnxsfny9CpOhNhUvk/SSSVyF6T27FzRbF0sroPidSu3X8oEAkOn2K804mjpt6UQ== + version "1.0.6" + resolved "https://registry.yarnpkg.com/internal-slot/-/internal-slot-1.0.6.tgz#37e756098c4911c5e912b8edbf71ed3aa116f930" + integrity sha512-Xj6dv+PsbtwyPpEflsejS+oIZxmMlV44zAhG479uYu89MsjcYOhCFnNyKrkJrihbsiasQyY0afoCl/9BLR65bg== dependencies: - get-intrinsic "^1.2.0" - has "^1.0.3" + get-intrinsic "^1.2.2" + hasown "^2.0.0" side-channel "^1.0.4" interpret@^3.1.1: @@ -6897,9 +6613,9 @@ ipaddr.js@1.9.1: integrity sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g== ipaddr.js@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-2.0.1.tgz#eca256a7a877e917aeb368b0a7497ddf42ef81c0" - integrity sha512-1qTgH9NG+IIJ4yfKs2e6Pp1bZg8wbDbKHT21HrLIeYBTRLgMYKnMTPAuI3Lcs61nfx5h1xlXnbJtH1kX5/d/ng== + version "2.1.0" + resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-2.1.0.tgz#2119bc447ff8c257753b196fc5f1ce08a4cdf39f" + integrity sha512-LlbxQ7xKzfBusov6UMi4MFpEg0m+mAm9xyNGEduwXMEDuf4WfzB/RZwMVYEd7IKGvh4IUkEXYxtAVu9T3OelJQ== is-absolute@^1.0.0: version "1.0.0" @@ -6953,6 +6669,13 @@ is-boolean-object@^1.1.0: call-bind "^1.0.2" has-tostringtag "^1.0.0" +is-builtin-module@^3.2.1: + version "3.2.1" + resolved "https://registry.yarnpkg.com/is-builtin-module/-/is-builtin-module-3.2.1.tgz#f03271717d8654cfcaf07ab0463faa3571581169" + integrity sha512-BSLE3HnV2syZ0FK0iMA/yUGplUeMmNz4AW5fnTunbCIqZi4vG3WjJT9FHMy5D69xmAYBHXQhJdALdpwVxV501A== + dependencies: + builtin-modules "^3.3.0" + is-callable@^1.1.3, is-callable@^1.1.4, is-callable@^1.2.7: version "1.2.7" resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.2.7.tgz#3bc2a85ea742d9e36205dcacdd72ca1fdc51b055" @@ -6972,19 +6695,12 @@ is-cidr@^4.0.2: dependencies: cidr-regex "^3.1.1" -is-core-module@^2.11.0, is-core-module@^2.5.0, is-core-module@^2.8.1: - version "2.12.1" - resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.12.1.tgz#0c0b6885b6f80011c71541ce15c8d66cf5a4f9fd" - integrity sha512-Q4ZuBAe2FUsKtyQJoQHlvP8OvBERxO3jEmy1I7hcRXcJBGGHFh/aJBswbXuS9sgrDH2QUO8ilkwNPHvHMd8clg== - dependencies: - has "^1.0.3" - -is-core-module@^2.12.1, is-core-module@^2.13.0: - version "2.13.0" - resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.13.0.tgz#bb52aa6e2cbd49a30c2ba68c42bf3435ba6072db" - integrity sha512-Z7dk6Qo8pOCp3l4tsX2C5ZVas4V+UxwQodwZhLopL91TX8UyyHEXafPcyoeeWuLrwzHcr3igO78wNLwHJHsMCQ== +is-core-module@^2.12.1, is-core-module@^2.13.0, is-core-module@^2.13.1, is-core-module@^2.5.0, is-core-module@^2.8.1: + version "2.13.1" + resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.13.1.tgz#ad0d7532c6fea9da1ebdc82742d74525c6273384" + integrity sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw== dependencies: - has "^1.0.3" + hasown "^2.0.0" is-date-object@^1.0.1: version "1.0.5" @@ -7054,7 +6770,7 @@ is-lower-case@^2.0.2: dependencies: tslib "^2.0.3" -is-nan@^1.2.1: +is-nan@^1.3.2: version "1.3.2" resolved "https://registry.yarnpkg.com/is-nan/-/is-nan-1.3.2.tgz#043a54adea31748b55b6cd4e09aadafa69bd9e1d" integrity sha512-E+zBKpQ2t6MEo1VsonYmluk9NxGrbzpeeLC2xIViuO2EjU2xsXsBPwTr3Ykv9l08UYEVEdWeRZNouaZqF6RN0w== @@ -7169,16 +6885,12 @@ is-text-path@^1.0.1: dependencies: text-extensions "^1.0.0" -is-typed-array@^1.1.10, is-typed-array@^1.1.3, is-typed-array@^1.1.9: - version "1.1.10" - resolved "https://registry.yarnpkg.com/is-typed-array/-/is-typed-array-1.1.10.tgz#36a5b5cb4189b575d1a3e4b08536bfb485801e3f" - integrity sha512-PJqgEHiWZvMpaFZ3uTc8kHPM4+4ADTlDniuQL7cU/UDA0Ql7F70yGfHph3cLNe+c9toaigv+DFzTJKhc2CtO6A== +is-typed-array@^1.1.10, is-typed-array@^1.1.12, is-typed-array@^1.1.3, is-typed-array@^1.1.9: + version "1.1.12" + resolved "https://registry.yarnpkg.com/is-typed-array/-/is-typed-array-1.1.12.tgz#d0bab5686ef4a76f7a73097b95470ab199c57d4a" + integrity sha512-Z14TF2JNG8Lss5/HMqt0//T9JeHXttXy5pH/DBU4vi98ozO2btxzq9MwYDZYnKwU8nRsz/+GVFVRDq3DkVuSPg== dependencies: - available-typed-arrays "^1.0.5" - call-bind "^1.0.2" - for-each "^0.3.3" - gopd "^1.0.1" - has-tostringtag "^1.0.0" + which-typed-array "^1.1.11" is-typedarray@^1.0.0: version "1.0.0" @@ -7265,9 +6977,9 @@ issue-parser@^6.0.0: lodash.uniqby "^4.7.0" istanbul-lib-coverage@^3.0.0, istanbul-lib-coverage@^3.2.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.0.tgz#189e7909d0a39fa5a3dfad5b03f71947770191d3" - integrity sha512-eOeJ5BHCmHYvQK7xt9GkdHuzuCGS1Y6g9Gvnx3Ym33fz/HpLRYxiS0wHNr+m/MBC8B647Xt608vCDEvhl9c6Mw== + version "3.2.2" + resolved "https://registry.yarnpkg.com/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.2.tgz#2d166c4b0644d43a39f04bf6c2edd1e585f31756" + integrity sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg== istanbul-lib-instrument@^5.0.4: version "5.2.1" @@ -7281,9 +6993,9 @@ istanbul-lib-instrument@^5.0.4: semver "^6.3.0" istanbul-lib-instrument@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/istanbul-lib-instrument/-/istanbul-lib-instrument-6.0.0.tgz#7a8af094cbfff1d5bb280f62ce043695ae8dd5b8" - integrity sha512-x58orMzEVfzPUKqlbLd1hXCnySCxKdDKa6Rjg97CwuLLRI4g3FHTdnExu1OqffVFay6zeMW+T6/DowFLndWnIw== + version "6.0.1" + resolved "https://registry.yarnpkg.com/istanbul-lib-instrument/-/istanbul-lib-instrument-6.0.1.tgz#71e87707e8041428732518c6fb5211761753fbdf" + integrity sha512-EAMEJBsYuyyztxMxW3g7ugGPkrZsV57v0Hmv3mm1uQsmB+QnZuepg731CRaIgeUVSdmsTngOkSnauNF8p7FIhA== dependencies: "@babel/core" "^7.12.3" "@babel/parser" "^7.14.7" @@ -7292,12 +7004,12 @@ istanbul-lib-instrument@^6.0.0: semver "^7.5.4" istanbul-lib-report@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz#7518fe52ea44de372f460a76b5ecda9ffb73d8a6" - integrity sha512-wcdi+uAKzfiGT2abPpKZ0hSU1rGQjUQnLvtY5MpQ7QCTahD3VODhcu4wcfY1YtkGaDD5yuydOLINXsfbus9ROw== + version "3.0.1" + resolved "https://registry.yarnpkg.com/istanbul-lib-report/-/istanbul-lib-report-3.0.1.tgz#908305bac9a5bd175ac6a74489eafd0fc2445a7d" + integrity sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw== dependencies: istanbul-lib-coverage "^3.0.0" - make-dir "^3.0.0" + make-dir "^4.0.0" supports-color "^7.1.0" istanbul-lib-source-maps@^4.0.0: @@ -7310,9 +7022,9 @@ istanbul-lib-source-maps@^4.0.0: source-map "^0.6.1" istanbul-reports@^3.1.3: - version "3.1.5" - resolved "https://registry.yarnpkg.com/istanbul-reports/-/istanbul-reports-3.1.5.tgz#cc9a6ab25cb25659810e4785ed9d9fb742578bae" - integrity sha512-nUsEMa9pBt/NOHqbcbeJEgqIlY/K7rVWUX6Lql2orY5e9roQOthbR3vtY4zzf2orPELg80fnxxk9zUyPlgwD1w== + version "3.1.6" + resolved "https://registry.yarnpkg.com/istanbul-reports/-/istanbul-reports-3.1.6.tgz#2544bcab4768154281a2f0870471902704ccaa1a" + integrity sha512-TLgnMkKg3iTDsQ9PbPTdpfAK2DzjF9mqUG7RMgcQl8oFjad8ob4laGxv5XV5U9MAfx8D6tSJiUyuAwzLicaxlg== dependencies: html-escaper "^2.0.0" istanbul-lib-report "^3.0.0" @@ -7322,151 +7034,135 @@ java-properties@^1.0.0: resolved "https://registry.yarnpkg.com/java-properties/-/java-properties-1.0.2.tgz#ccd1fa73907438a5b5c38982269d0e771fe78211" integrity sha512-qjdpeo2yKlYTH7nFdK0vbZWuTCesk4o63v5iVOlhMQPfuIZQfW/HI35SjfhA+4qpg36rnFSvUK5b1m+ckIblQQ== -jest-changed-files@^29.6.3: - version "29.6.3" - resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-29.6.3.tgz#97cfdc93f74fb8af2a1acb0b78f836f1fb40c449" - integrity sha512-G5wDnElqLa4/c66ma5PG9eRjE342lIbF6SUnTJi26C3J28Fv2TVY2rOyKB9YGbSA5ogwevgmxc4j4aVjrEK6Yg== +jest-changed-files@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-29.7.0.tgz#1c06d07e77c78e1585d020424dedc10d6e17ac3a" + integrity sha512-fEArFiwf1BpQ+4bXSprcDc3/x4HSzL4al2tozwVpDFpsxALjLYdyiIK4e5Vz66GQJIbXJ82+35PtysofptNX2w== dependencies: execa "^5.0.0" - jest-util "^29.6.3" + jest-util "^29.7.0" p-limit "^3.1.0" -jest-circus@^29.6.4: - version "29.6.4" - resolved "https://registry.yarnpkg.com/jest-circus/-/jest-circus-29.6.4.tgz#f074c8d795e0cc0f2ebf0705086b1be6a9a8722f" - integrity sha512-YXNrRyntVUgDfZbjXWBMPslX1mQ8MrSG0oM/Y06j9EYubODIyHWP8hMUbjbZ19M3M+zamqEur7O80HODwACoJw== +jest-circus@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-circus/-/jest-circus-29.7.0.tgz#b6817a45fcc835d8b16d5962d0c026473ee3668a" + integrity sha512-3E1nCMgipcTkCocFwM90XXQab9bS+GMsjdpmPrlelaxwD93Ad8iVEjX/vvHPdLPnFf+L40u+5+iutRdA1N9myw== dependencies: - "@jest/environment" "^29.6.4" - "@jest/expect" "^29.6.4" - "@jest/test-result" "^29.6.4" + "@jest/environment" "^29.7.0" + "@jest/expect" "^29.7.0" + "@jest/test-result" "^29.7.0" "@jest/types" "^29.6.3" "@types/node" "*" chalk "^4.0.0" co "^4.6.0" dedent "^1.0.0" is-generator-fn "^2.0.0" - jest-each "^29.6.3" - jest-matcher-utils "^29.6.4" - jest-message-util "^29.6.3" - jest-runtime "^29.6.4" - jest-snapshot "^29.6.4" - jest-util "^29.6.3" + jest-each "^29.7.0" + jest-matcher-utils "^29.7.0" + jest-message-util "^29.7.0" + jest-runtime "^29.7.0" + jest-snapshot "^29.7.0" + jest-util "^29.7.0" p-limit "^3.1.0" - pretty-format "^29.6.3" + pretty-format "^29.7.0" pure-rand "^6.0.0" slash "^3.0.0" stack-utils "^2.0.3" jest-cli@^29.6.4: - version "29.6.4" - resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-29.6.4.tgz#ad52f2dfa1b0291de7ec7f8d7c81ac435521ede0" - integrity sha512-+uMCQ7oizMmh8ZwRfZzKIEszFY9ksjjEQnTEMTaL7fYiL3Kw4XhqT9bYh+A4DQKUb67hZn2KbtEnDuHvcgK4pQ== + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-29.7.0.tgz#5592c940798e0cae677eec169264f2d839a37995" + integrity sha512-OVVobw2IubN/GSYsxETi+gOe7Ka59EFMR/twOU3Jb2GnKKeMGJB5SGUUrEz3SFVmJASUdZUzy83sLNNQ2gZslg== dependencies: - "@jest/core" "^29.6.4" - "@jest/test-result" "^29.6.4" + "@jest/core" "^29.7.0" + "@jest/test-result" "^29.7.0" "@jest/types" "^29.6.3" chalk "^4.0.0" + create-jest "^29.7.0" exit "^0.1.2" - graceful-fs "^4.2.9" import-local "^3.0.2" - jest-config "^29.6.4" - jest-util "^29.6.3" - jest-validate "^29.6.3" - prompts "^2.0.1" + jest-config "^29.7.0" + jest-util "^29.7.0" + jest-validate "^29.7.0" yargs "^17.3.1" -jest-config@^29.6.4: - version "29.6.4" - resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-29.6.4.tgz#eff958ee41d4e1ee7a6106d02b74ad9fc427d79e" - integrity sha512-JWohr3i9m2cVpBumQFv2akMEnFEPVOh+9L2xIBJhJ0zOaci2ZXuKJj0tgMKQCBZAKA09H049IR4HVS/43Qb19A== +jest-config@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-29.7.0.tgz#bcbda8806dbcc01b1e316a46bb74085a84b0245f" + integrity sha512-uXbpfeQ7R6TZBqI3/TxCU4q4ttk3u0PJeC+E0zbfSoSjq6bJ7buBPxzQPL0ifrkY4DNu4JUdk0ImlBUYi840eQ== dependencies: "@babel/core" "^7.11.6" - "@jest/test-sequencer" "^29.6.4" + "@jest/test-sequencer" "^29.7.0" "@jest/types" "^29.6.3" - babel-jest "^29.6.4" + babel-jest "^29.7.0" chalk "^4.0.0" ci-info "^3.2.0" deepmerge "^4.2.2" glob "^7.1.3" graceful-fs "^4.2.9" - jest-circus "^29.6.4" - jest-environment-node "^29.6.4" + jest-circus "^29.7.0" + jest-environment-node "^29.7.0" jest-get-type "^29.6.3" jest-regex-util "^29.6.3" - jest-resolve "^29.6.4" - jest-runner "^29.6.4" - jest-util "^29.6.3" - jest-validate "^29.6.3" + jest-resolve "^29.7.0" + jest-runner "^29.7.0" + jest-util "^29.7.0" + jest-validate "^29.7.0" micromatch "^4.0.4" parse-json "^5.2.0" - pretty-format "^29.6.3" + pretty-format "^29.7.0" slash "^3.0.0" strip-json-comments "^3.1.1" -jest-diff@^29.5.0: - version "29.5.0" - resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-29.5.0.tgz#e0d83a58eb5451dcc1fa61b1c3ee4e8f5a290d63" - integrity sha512-LtxijLLZBduXnHSniy0WMdaHjmQnt3g5sa16W4p0HqukYTTsyTW3GD1q41TyGl5YFXj/5B2U6dlh5FM1LIMgxw== - dependencies: - chalk "^4.0.0" - diff-sequences "^29.4.3" - jest-get-type "^29.4.3" - pretty-format "^29.5.0" - -jest-diff@^29.6.4: - version "29.6.4" - resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-29.6.4.tgz#85aaa6c92a79ae8cd9a54ebae8d5b6d9a513314a" - integrity sha512-9F48UxR9e4XOEZvoUXEHSWY4qC4zERJaOfrbBg9JpbJOO43R1vN76REt/aMGZoY6GD5g84nnJiBIVlscegefpw== +jest-diff@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-29.7.0.tgz#017934a66ebb7ecf6f205e84699be10afd70458a" + integrity sha512-LMIgiIrhigmPrs03JHpxUh2yISK3vLFPkAodPeo0+BuF7wA2FoQbkEg1u8gBYBThncu7e1oEDUfIXVuTqLRUjw== dependencies: chalk "^4.0.0" diff-sequences "^29.6.3" jest-get-type "^29.6.3" - pretty-format "^29.6.3" + pretty-format "^29.7.0" -jest-docblock@^29.6.3: - version "29.6.3" - resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-29.6.3.tgz#293dca5188846c9f7c0c2b1bb33e5b11f21645f2" - integrity sha512-2+H+GOTQBEm2+qFSQ7Ma+BvyV+waiIFxmZF5LdpBsAEjWX8QYjSCa4FrkIYtbfXUJJJnFCYrOtt6TZ+IAiTjBQ== +jest-docblock@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-29.7.0.tgz#8fddb6adc3cdc955c93e2a87f61cfd350d5d119a" + integrity sha512-q617Auw3A612guyaFgsbFeYpNP5t2aoUNLwBUbc/0kD1R4t9ixDbyFTHd1nok4epoVFpr7PmeWHrhvuV3XaJ4g== dependencies: detect-newline "^3.0.0" -jest-each@^29.6.3: - version "29.6.3" - resolved "https://registry.yarnpkg.com/jest-each/-/jest-each-29.6.3.tgz#1956f14f5f0cb8ae0b2e7cabc10bb03ec817c142" - integrity sha512-KoXfJ42k8cqbkfshW7sSHcdfnv5agDdHCPA87ZBdmHP+zJstTJc0ttQaJ/x7zK6noAL76hOuTIJ6ZkQRS5dcyg== +jest-each@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-each/-/jest-each-29.7.0.tgz#162a9b3f2328bdd991beaabffbb74745e56577d1" + integrity sha512-gns+Er14+ZrEoC5fhOfYCY1LOHHr0TI+rQUHZS8Ttw2l7gl+80eHc/gFf2Ktkw0+SIACDTeWvpFcv3B04VembQ== dependencies: "@jest/types" "^29.6.3" chalk "^4.0.0" jest-get-type "^29.6.3" - jest-util "^29.6.3" - pretty-format "^29.6.3" + jest-util "^29.7.0" + pretty-format "^29.7.0" -jest-environment-node@^29.6.4: - version "29.6.4" - resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-29.6.4.tgz#4ce311549afd815d3cafb49e60a1e4b25f06d29f" - integrity sha512-i7SbpH2dEIFGNmxGCpSc2w9cA4qVD+wfvg2ZnfQ7XVrKL0NA5uDVBIiGH8SR4F0dKEv/0qI5r+aDomDf04DpEQ== +jest-environment-node@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-29.7.0.tgz#0b93e111dda8ec120bc8300e6d1fb9576e164376" + integrity sha512-DOSwCRqXirTOyheM+4d5YZOrWcdu0LNZ87ewUoywbcb2XR4wKgqiG8vNeYwhjFMbEkfju7wx2GYH0P2gevGvFw== dependencies: - "@jest/environment" "^29.6.4" - "@jest/fake-timers" "^29.6.4" + "@jest/environment" "^29.7.0" + "@jest/fake-timers" "^29.7.0" "@jest/types" "^29.6.3" "@types/node" "*" - jest-mock "^29.6.3" - jest-util "^29.6.3" - -jest-get-type@^29.4.3: - version "29.4.3" - resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-29.4.3.tgz#1ab7a5207c995161100b5187159ca82dd48b3dd5" - integrity sha512-J5Xez4nRRMjk8emnTpWrlkyb9pfRQQanDrvWHhsR1+VUfbwxi30eVcZFlcdGInRibU4G5LwHXpI7IRHU0CY+gg== + jest-mock "^29.7.0" + jest-util "^29.7.0" jest-get-type@^29.6.3: version "29.6.3" resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-29.6.3.tgz#36f499fdcea197c1045a127319c0481723908fd1" integrity sha512-zrteXnqYxfQh7l5FHyL38jL39di8H8rHoecLH3JNxH3BwOrBsNeabdap5e0I23lD4HHI8W5VFBZqG4Eaq5LNcw== -jest-haste-map@^29.6.4: - version "29.6.4" - resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-29.6.4.tgz#97143ce833829157ea7025204b08f9ace609b96a" - integrity sha512-12Ad+VNTDHxKf7k+M65sviyynRoZYuL1/GTuhEVb8RYsNSNln71nANRb/faSyWvx0j+gHcivChXHIoMJrGYjog== +jest-haste-map@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-29.7.0.tgz#3c2396524482f5a0506376e6c858c3bbcc17b104" + integrity sha512-fP8u2pyfqx0K1rGn1R9pyE0/KTn+G7PxktWidOBTqFPLYX0b9ksaMFkhK5vrS3DVun09pckLdlx90QthlW7AmA== dependencies: "@jest/types" "^29.6.3" "@types/graceful-fs" "^4.1.3" @@ -7475,60 +7171,35 @@ jest-haste-map@^29.6.4: fb-watchman "^2.0.0" graceful-fs "^4.2.9" jest-regex-util "^29.6.3" - jest-util "^29.6.3" - jest-worker "^29.6.4" + jest-util "^29.7.0" + jest-worker "^29.7.0" micromatch "^4.0.4" walker "^1.0.8" optionalDependencies: fsevents "^2.3.2" -jest-leak-detector@^29.6.3: - version "29.6.3" - resolved "https://registry.yarnpkg.com/jest-leak-detector/-/jest-leak-detector-29.6.3.tgz#b9661bc3aec8874e59aff361fa0c6d7cd507ea01" - integrity sha512-0kfbESIHXYdhAdpLsW7xdwmYhLf1BRu4AA118/OxFm0Ho1b2RcTmO4oF6aAMaxpxdxnJ3zve2rgwzNBD4Zbm7Q== +jest-leak-detector@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-leak-detector/-/jest-leak-detector-29.7.0.tgz#5b7ec0dadfdfec0ca383dc9aa016d36b5ea4c728" + integrity sha512-kYA8IJcSYtST2BY9I+SMC32nDpBT3J2NvWJx8+JCuCdl/CR1I4EKUJROiP8XtCcxqgTTBGJNdbB1A8XRKbTetw== dependencies: jest-get-type "^29.6.3" - pretty-format "^29.6.3" - -jest-matcher-utils@^29.5.0: - version "29.5.0" - resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-29.5.0.tgz#d957af7f8c0692c5453666705621ad4abc2c59c5" - integrity sha512-lecRtgm/rjIK0CQ7LPQwzCs2VwW6WAahA55YBuI+xqmhm7LAaxokSB8C97yJeYyT+HvQkH741StzpU41wohhWw== - dependencies: - chalk "^4.0.0" - jest-diff "^29.5.0" - jest-get-type "^29.4.3" - pretty-format "^29.5.0" + pretty-format "^29.7.0" -jest-matcher-utils@^29.6.4: - version "29.6.4" - resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-29.6.4.tgz#327db7ababea49455df3b23e5d6109fe0c709d24" - integrity sha512-KSzwyzGvK4HcfnserYqJHYi7sZVqdREJ9DMPAKVbS98JsIAvumihaNUbjrWw0St7p9IY7A9UskCW5MYlGmBQFQ== +jest-matcher-utils@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-29.7.0.tgz#ae8fec79ff249fd592ce80e3ee474e83a6c44f12" + integrity sha512-sBkD+Xi9DtcChsI3L3u0+N0opgPYnCRPtGcQYrgXmR+hmt/fYfWAL0xRXYU8eWOdfuLgBe0YCW3AFtnRLagq/g== dependencies: chalk "^4.0.0" - jest-diff "^29.6.4" + jest-diff "^29.7.0" jest-get-type "^29.6.3" - pretty-format "^29.6.3" - -jest-message-util@^29.5.0: - version "29.5.0" - resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-29.5.0.tgz#1f776cac3aca332ab8dd2e3b41625435085c900e" - integrity sha512-Kijeg9Dag6CKtIDA7O21zNTACqD5MD/8HfIV8pdD94vFyFuer52SigdC3IQMhab3vACxXMiFk+yMHNdbqtyTGA== - dependencies: - "@babel/code-frame" "^7.12.13" - "@jest/types" "^29.5.0" - "@types/stack-utils" "^2.0.0" - chalk "^4.0.0" - graceful-fs "^4.2.9" - micromatch "^4.0.4" - pretty-format "^29.5.0" - slash "^3.0.0" - stack-utils "^2.0.3" + pretty-format "^29.7.0" -jest-message-util@^29.6.3: - version "29.6.3" - resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-29.6.3.tgz#bce16050d86801b165f20cfde34dc01d3cf85fbf" - integrity sha512-FtzaEEHzjDpQp51HX4UMkPZjy46ati4T5pEMyM6Ik48ztu4T9LQplZ6OsimHx7EuM9dfEh5HJa6D3trEftu3dA== +jest-message-util@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-29.7.0.tgz#8bc392e204e95dfe7564abbe72a404e28e51f7f3" + integrity sha512-GBEV4GRADeP+qtB2+6u61stea8mGcOT4mCtrYISZwfu9/ISHFJ/5zOMXYbpBE9RsS5+Gb63DW4FgmnKJ79Kf6w== dependencies: "@babel/code-frame" "^7.12.13" "@jest/types" "^29.6.3" @@ -7536,18 +7207,18 @@ jest-message-util@^29.6.3: chalk "^4.0.0" graceful-fs "^4.2.9" micromatch "^4.0.4" - pretty-format "^29.6.3" + pretty-format "^29.7.0" slash "^3.0.0" stack-utils "^2.0.3" -jest-mock@^29.6.3: - version "29.6.3" - resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-29.6.3.tgz#433f3fd528c8ec5a76860177484940628bdf5e0a" - integrity sha512-Z7Gs/mOyTSR4yPsaZ72a/MtuK6RnC3JYqWONe48oLaoEcYwEDxqvbXz85G4SJrm2Z5Ar9zp6MiHF4AlFlRM4Pg== +jest-mock@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-29.7.0.tgz#4e836cf60e99c6fcfabe9f99d017f3fdd50a6347" + integrity sha512-ITOMZn+UkYS4ZFh83xYAOzWStloNzJFO2s8DWrE4lhtGD+AorgnbkiKERe4wQVBydIGPx059g6riW5Btp6Llnw== dependencies: "@jest/types" "^29.6.3" "@types/node" "*" - jest-util "^29.6.3" + jest-util "^29.7.0" jest-pnp-resolver@^1.2.2: version "1.2.3" @@ -7559,67 +7230,67 @@ jest-regex-util@^29.6.3: resolved "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-29.6.3.tgz#4a556d9c776af68e1c5f48194f4d0327d24e8a52" integrity sha512-KJJBsRCyyLNWCNBOvZyRDnAIfUiRJ8v+hOBQYGn8gDyF3UegwiP4gwRR3/SDa42g1YbVycTidUF3rKjyLFDWbg== -jest-resolve-dependencies@^29.6.4: - version "29.6.4" - resolved "https://registry.yarnpkg.com/jest-resolve-dependencies/-/jest-resolve-dependencies-29.6.4.tgz#20156b33c7eacbb6bb77aeba4bed0eab4a3f8734" - integrity sha512-7+6eAmr1ZBF3vOAJVsfLj1QdqeXG+WYhidfLHBRZqGN24MFRIiKG20ItpLw2qRAsW/D2ZUUmCNf6irUr/v6KHA== +jest-resolve-dependencies@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-resolve-dependencies/-/jest-resolve-dependencies-29.7.0.tgz#1b04f2c095f37fc776ff40803dc92921b1e88428" + integrity sha512-un0zD/6qxJ+S0et7WxeI3H5XSe9lTBBR7bOHCHXkKR6luG5mwDDlIzVQ0V5cZCuoTgEdcdwzTghYkTWfubi+nA== dependencies: jest-regex-util "^29.6.3" - jest-snapshot "^29.6.4" + jest-snapshot "^29.7.0" -jest-resolve@^29.6.4: - version "29.6.4" - resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-29.6.4.tgz#e34cb06f2178b429c38455d98d1a07572ac9faa3" - integrity sha512-fPRq+0vcxsuGlG0O3gyoqGTAxasagOxEuyoxHeyxaZbc9QNek0AmJWSkhjlMG+mTsj+8knc/mWb3fXlRNVih7Q== +jest-resolve@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-29.7.0.tgz#64d6a8992dd26f635ab0c01e5eef4399c6bcbc30" + integrity sha512-IOVhZSrg+UvVAshDSDtHyFCCBUl/Q3AAJv8iZ6ZjnZ74xzvwuzLXid9IIIPgTnY62SJjfuupMKZsZQRsCvxEgA== dependencies: chalk "^4.0.0" graceful-fs "^4.2.9" - jest-haste-map "^29.6.4" + jest-haste-map "^29.7.0" jest-pnp-resolver "^1.2.2" - jest-util "^29.6.3" - jest-validate "^29.6.3" + jest-util "^29.7.0" + jest-validate "^29.7.0" resolve "^1.20.0" resolve.exports "^2.0.0" slash "^3.0.0" -jest-runner@^29.6.4: - version "29.6.4" - resolved "https://registry.yarnpkg.com/jest-runner/-/jest-runner-29.6.4.tgz#b3b8ccb85970fde0fae40c73ee11eb75adccfacf" - integrity sha512-SDaLrMmtVlQYDuG0iSPYLycG8P9jLI+fRm8AF/xPKhYDB2g6xDWjXBrR5M8gEWsK6KVFlebpZ4QsrxdyIX1Jaw== +jest-runner@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-runner/-/jest-runner-29.7.0.tgz#809af072d408a53dcfd2e849a4c976d3132f718e" + integrity sha512-fsc4N6cPCAahybGBfTRcq5wFR6fpLznMg47sY5aDpsoejOcVYFb07AHuSnR0liMcPTgBsA3ZJL6kFOjPdoNipQ== dependencies: - "@jest/console" "^29.6.4" - "@jest/environment" "^29.6.4" - "@jest/test-result" "^29.6.4" - "@jest/transform" "^29.6.4" + "@jest/console" "^29.7.0" + "@jest/environment" "^29.7.0" + "@jest/test-result" "^29.7.0" + "@jest/transform" "^29.7.0" "@jest/types" "^29.6.3" "@types/node" "*" chalk "^4.0.0" emittery "^0.13.1" graceful-fs "^4.2.9" - jest-docblock "^29.6.3" - jest-environment-node "^29.6.4" - jest-haste-map "^29.6.4" - jest-leak-detector "^29.6.3" - jest-message-util "^29.6.3" - jest-resolve "^29.6.4" - jest-runtime "^29.6.4" - jest-util "^29.6.3" - jest-watcher "^29.6.4" - jest-worker "^29.6.4" + jest-docblock "^29.7.0" + jest-environment-node "^29.7.0" + jest-haste-map "^29.7.0" + jest-leak-detector "^29.7.0" + jest-message-util "^29.7.0" + jest-resolve "^29.7.0" + jest-runtime "^29.7.0" + jest-util "^29.7.0" + jest-watcher "^29.7.0" + jest-worker "^29.7.0" p-limit "^3.1.0" source-map-support "0.5.13" -jest-runtime@^29.6.4: - version "29.6.4" - resolved "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-29.6.4.tgz#b0bc495c9b6b12a0a7042ac34ca9bb85f8cd0ded" - integrity sha512-s/QxMBLvmwLdchKEjcLfwzP7h+jsHvNEtxGP5P+Fl1FMaJX2jMiIqe4rJw4tFprzCwuSvVUo9bn0uj4gNRXsbA== +jest-runtime@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-29.7.0.tgz#efecb3141cf7d3767a3a0cc8f7c9990587d3d817" + integrity sha512-gUnLjgwdGqW7B4LvOIkbKs9WGbn+QLqRQQ9juC6HndeDiezIwhDP+mhMwHWCEcfQ5RUXa6OPnFF8BJh5xegwwQ== dependencies: - "@jest/environment" "^29.6.4" - "@jest/fake-timers" "^29.6.4" - "@jest/globals" "^29.6.4" + "@jest/environment" "^29.7.0" + "@jest/fake-timers" "^29.7.0" + "@jest/globals" "^29.7.0" "@jest/source-map" "^29.6.3" - "@jest/test-result" "^29.6.4" - "@jest/transform" "^29.6.4" + "@jest/test-result" "^29.7.0" + "@jest/transform" "^29.7.0" "@jest/types" "^29.6.3" "@types/node" "*" chalk "^4.0.0" @@ -7627,46 +7298,46 @@ jest-runtime@^29.6.4: collect-v8-coverage "^1.0.0" glob "^7.1.3" graceful-fs "^4.2.9" - jest-haste-map "^29.6.4" - jest-message-util "^29.6.3" - jest-mock "^29.6.3" + jest-haste-map "^29.7.0" + jest-message-util "^29.7.0" + jest-mock "^29.7.0" jest-regex-util "^29.6.3" - jest-resolve "^29.6.4" - jest-snapshot "^29.6.4" - jest-util "^29.6.3" + jest-resolve "^29.7.0" + jest-snapshot "^29.7.0" + jest-util "^29.7.0" slash "^3.0.0" strip-bom "^4.0.0" -jest-snapshot@^29.6.4: - version "29.6.4" - resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-29.6.4.tgz#9833eb6b66ff1541c7fd8ceaa42d541f407b4876" - integrity sha512-VC1N8ED7+4uboUKGIDsbvNAZb6LakgIPgAF4RSpF13dN6YaMokfRqO+BaqK4zIh6X3JffgwbzuGqDEjHm/MrvA== +jest-snapshot@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-29.7.0.tgz#c2c574c3f51865da1bb329036778a69bf88a6be5" + integrity sha512-Rm0BMWtxBcioHr1/OX5YCP8Uov4riHvKPknOGs804Zg9JGZgmIBkbtlxJC/7Z4msKYVbIJtfU+tKb8xlYNfdkw== dependencies: "@babel/core" "^7.11.6" "@babel/generator" "^7.7.2" "@babel/plugin-syntax-jsx" "^7.7.2" "@babel/plugin-syntax-typescript" "^7.7.2" "@babel/types" "^7.3.3" - "@jest/expect-utils" "^29.6.4" - "@jest/transform" "^29.6.4" + "@jest/expect-utils" "^29.7.0" + "@jest/transform" "^29.7.0" "@jest/types" "^29.6.3" babel-preset-current-node-syntax "^1.0.0" chalk "^4.0.0" - expect "^29.6.4" + expect "^29.7.0" graceful-fs "^4.2.9" - jest-diff "^29.6.4" + jest-diff "^29.7.0" jest-get-type "^29.6.3" - jest-matcher-utils "^29.6.4" - jest-message-util "^29.6.3" - jest-util "^29.6.3" + jest-matcher-utils "^29.7.0" + jest-message-util "^29.7.0" + jest-util "^29.7.0" natural-compare "^1.4.0" - pretty-format "^29.6.3" + pretty-format "^29.7.0" semver "^7.5.3" -jest-util@^29.0.0, jest-util@^29.6.3: - version "29.6.3" - resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-29.6.3.tgz#e15c3eac8716440d1ed076f09bc63ace1aebca63" - integrity sha512-QUjna/xSy4B32fzcKTSz1w7YYzgiHrjjJjevdRf61HYk998R5vVMMNmrHESYZVDS5DSWs+1srPLPKxXPkeSDOA== +jest-util@^29.0.0, jest-util@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-29.7.0.tgz#23c2b62bfb22be82b44de98055802ff3710fc0bc" + integrity sha512-z6EbKajIpqGKU56y5KBUgy1dt1ihhQJgWzUlZHArA/+X2ad7Cb5iF+AK1EWVL/Bo7Rz9uurpqw6SiBCefUbCGA== dependencies: "@jest/types" "^29.6.3" "@types/node" "*" @@ -7675,42 +7346,30 @@ jest-util@^29.0.0, jest-util@^29.6.3: graceful-fs "^4.2.9" picomatch "^2.2.3" -jest-util@^29.5.0: - version "29.5.0" - resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-29.5.0.tgz#24a4d3d92fc39ce90425311b23c27a6e0ef16b8f" - integrity sha512-RYMgG/MTadOr5t8KdhejfvUU82MxsCu5MF6KuDUHl+NuwzUt+Sm6jJWxTJVrDR1j5M/gJVCPKQEpWXY+yIQ6lQ== - dependencies: - "@jest/types" "^29.5.0" - "@types/node" "*" - chalk "^4.0.0" - ci-info "^3.2.0" - graceful-fs "^4.2.9" - picomatch "^2.2.3" - -jest-validate@^29.6.3: - version "29.6.3" - resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-29.6.3.tgz#a75fca774cfb1c5758c70d035d30a1f9c2784b4d" - integrity sha512-e7KWZcAIX+2W1o3cHfnqpGajdCs1jSM3DkXjGeLSNmCazv1EeI1ggTeK5wdZhF+7N+g44JI2Od3veojoaumlfg== +jest-validate@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-29.7.0.tgz#7bf705511c64da591d46b15fce41400d52147d9c" + integrity sha512-ZB7wHqaRGVw/9hST/OuFUReG7M8vKeq0/J2egIGLdvjHCmYqGARhzXmtgi+gVeZ5uXFF219aOc3Ls2yLg27tkw== dependencies: "@jest/types" "^29.6.3" camelcase "^6.2.0" chalk "^4.0.0" jest-get-type "^29.6.3" leven "^3.1.0" - pretty-format "^29.6.3" + pretty-format "^29.7.0" -jest-watcher@^29.6.4: - version "29.6.4" - resolved "https://registry.yarnpkg.com/jest-watcher/-/jest-watcher-29.6.4.tgz#633eb515ae284aa67fd6831f1c9d1b534cf0e0ba" - integrity sha512-oqUWvx6+On04ShsT00Ir9T4/FvBeEh2M9PTubgITPxDa739p4hoQweWPRGyYeaojgT0xTpZKF0Y/rSY1UgMxvQ== +jest-watcher@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-watcher/-/jest-watcher-29.7.0.tgz#7810d30d619c3a62093223ce6bb359ca1b28a2f2" + integrity sha512-49Fg7WXkU3Vl2h6LbLtMQ/HyB6rXSIX7SqvBLQmssRBGN9I0PNvPmAmCWSOY6SOvrjhI/F7/bGAv9RtnsPA03g== dependencies: - "@jest/test-result" "^29.6.4" + "@jest/test-result" "^29.7.0" "@jest/types" "^29.6.3" "@types/node" "*" ansi-escapes "^4.2.1" chalk "^4.0.0" emittery "^0.13.1" - jest-util "^29.6.3" + jest-util "^29.7.0" string-length "^4.0.1" jest-when@^3.6.0: @@ -7727,13 +7386,13 @@ jest-worker@^27.4.5: merge-stream "^2.0.0" supports-color "^8.0.0" -jest-worker@^29.6.4: - version "29.6.4" - resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-29.6.4.tgz#f34279f4afc33c872b470d4af21b281ac616abd3" - integrity sha512-6dpvFV4WjcWbDVGgHTWo/aupl8/LbBx2NSKfiwqf79xC/yeJjKHT1+StcKy/2KTmW16hE68ccKVOtXf+WZGz7Q== +jest-worker@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-29.7.0.tgz#acad073acbbaeb7262bd5389e1bcf43e10058d4a" + integrity sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw== dependencies: "@types/node" "*" - jest-util "^29.6.3" + jest-util "^29.7.0" merge-stream "^2.0.0" supports-color "^8.0.0" @@ -7748,14 +7407,14 @@ jest@29.6.4: jest-cli "^29.6.4" jiti@^1.17.1, jiti@^1.18.2: - version "1.19.3" - resolved "https://registry.yarnpkg.com/jiti/-/jiti-1.19.3.tgz#ef554f76465b3c2b222dc077834a71f0d4a37569" - integrity sha512-5eEbBDQT/jF1xg6l36P+mWGGoH9Spuy0PCdSr2dtWRDGC6ph/w9ZCL4lmESW8f8F7MwT3XKescfP0wnZWAKL9w== + version "1.21.0" + resolved "https://registry.yarnpkg.com/jiti/-/jiti-1.21.0.tgz#7c97f8fe045724e136a397f7340475244156105d" + integrity sha512-gFqAIbuKyyso/3G2qhiO2OM6shY6EPP/R0+mkDbyspxKazh8BXDC5FiFsUjlczgdNz/vfra0da2y+aHrusLG/Q== -jose@^4.11.4: - version "4.14.4" - resolved "https://registry.yarnpkg.com/jose/-/jose-4.14.4.tgz#59e09204e2670c3164ee24cbfe7115c6f8bff9ca" - integrity sha512-j8GhLiKmUAh+dsFXlX1aJCbt5KMibuKb+d7j1JaOJG6s2UjX1PQlW+OKB/sD4a/5ZYF4RcmYmLSndOoU3Lt/3g== +jose@^5.0.0: + version "5.1.1" + resolved "https://registry.yarnpkg.com/jose/-/jose-5.1.1.tgz#d61b923baa6bdeb01040afae8295a084c4b9eb58" + integrity sha512-bfB+lNxowY49LfrBO0ITUn93JbUhxUN8I11K6oI5hJu/G6PO6fEUddVLjqdD0cQ9SXIHWXuWh7eJYwZF7Z0N/g== "js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0: version "4.0.0" @@ -7782,6 +7441,11 @@ jsesc@^2.5.1: resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-2.5.2.tgz#80564d2e483dacf6e8ef209650a67df3f0c283a4" integrity sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA== +json-buffer@3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/json-buffer/-/json-buffer-3.0.1.tgz#9338802a30d3b6605fbe0613e094008ca8c05a13" + integrity sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ== + json-parse-better-errors@^1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz#bb867cfb3450e69107c131d1c514bab3dc8bcaa9" @@ -7808,11 +7472,14 @@ json-stable-stringify-without-jsonify@^1.0.1: integrity sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw== json-stable-stringify@^1.0.1, json-stable-stringify@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/json-stable-stringify/-/json-stable-stringify-1.0.2.tgz#e06f23128e0bbe342dc996ed5a19e28b57b580e0" - integrity sha512-eunSSaEnxV12z+Z73y/j5N37/In40GK4GmsSy+tEHJMxknvqnA7/djeYtAgW0GsWHUfg+847WJjKaEylk2y09g== + version "1.1.0" + resolved "https://registry.yarnpkg.com/json-stable-stringify/-/json-stable-stringify-1.1.0.tgz#43d39c7c8da34bfaf785a61a56808b0def9f747d" + integrity sha512-zfA+5SuwYN2VWqN1/5HZaDzQKLJHaBVMZIIM+wuYjdptkaQsqzDdqjqf+lZZJUuJq1aanHiY8LhH8LmH+qBYJA== dependencies: + call-bind "^1.0.5" + isarray "^2.0.5" jsonify "^0.0.1" + object-keys "^1.1.1" json-stringify-nice@^1.1.4: version "1.1.4" @@ -7878,6 +7545,13 @@ just-diff@^5.0.1: resolved "https://registry.yarnpkg.com/just-diff/-/just-diff-5.2.0.tgz#60dca55891cf24cd4a094e33504660692348a241" integrity sha512-6ufhP9SHjb7jibNFrNxyFZ6od3g+An6Ai9mhGRvcYe8UJlH0prseN64M+6ZBBUoKYHZsitDP42gAJ8+eVWr3lw== +keyv@^4.5.3: + version "4.5.4" + resolved "https://registry.yarnpkg.com/keyv/-/keyv-4.5.4.tgz#a879a99e29452f942439f2a405e3af8b31d4de93" + integrity sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw== + dependencies: + json-buffer "3.0.1" + kind-of@^6.0.2, kind-of@^6.0.3: version "6.0.3" resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-6.0.3.tgz#07c05034a6c349fa06e24fa35aa76db4580ce4dd" @@ -7896,12 +7570,12 @@ kleur@^3.0.3: integrity sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w== launch-editor@^2.6.0: - version "2.6.0" - resolved "https://registry.yarnpkg.com/launch-editor/-/launch-editor-2.6.0.tgz#4c0c1a6ac126c572bd9ff9a30da1d2cae66defd7" - integrity sha512-JpDCcQnyAAzZZaZ7vEiSqL690w7dAEyLao+KC96zBplnYbJS7TYNjvM3M7y3dGz+v7aIsJk3hllWuc0kWAjyRQ== + version "2.6.1" + resolved "https://registry.yarnpkg.com/launch-editor/-/launch-editor-2.6.1.tgz#f259c9ef95cbc9425620bbbd14b468fcdb4ffe3c" + integrity sha512-eB/uXmFVpY4zezmGp5XtU21kwo7GBbKB+EQ+UZeWtGb9yAM5xt/Evk+lYH3eRNAtId+ej4u7TYPFZ07w4s7rRw== dependencies: picocolors "^1.0.0" - shell-quote "^1.7.3" + shell-quote "^1.8.1" leven@^3.1.0: version "3.1.0" @@ -8298,12 +7972,12 @@ lunr@^2.3.9: resolved "https://registry.yarnpkg.com/lunr/-/lunr-2.3.9.tgz#18b123142832337dd6e964df1a5a7707b25d35e1" integrity sha512-zTU3DaZaF3Rt9rhN3uBMGQD3dD2/vFQqnvZCDv4dl5iOzq2IZQqTxu90r4E5J+nP70J3ilqVCrbho2eWaeW8Ow== -make-dir@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-3.1.0.tgz#415e967046b3a7f1d185277d84aa58203726a13f" - integrity sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw== +make-dir@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-4.0.0.tgz#c3c2307a771277cd9638305f915c29ae741b614e" + integrity sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw== dependencies: - semver "^6.0.0" + semver "^7.5.3" make-error@1.x, make-error@^1.1.1: version "1.3.6" @@ -8391,11 +8065,11 @@ media-typer@0.3.0: integrity sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ== memfs@^3.4.3: - version "3.5.1" - resolved "https://registry.yarnpkg.com/memfs/-/memfs-3.5.1.tgz#f0cd1e2bfaef58f6fe09bfb9c2288f07fea099ec" - integrity sha512-UWbFJKvj5k+nETdteFndTpYxdeTMox/ULeqX5k/dpaQJCCFmj5EeKv3dBcyO2xmkRAx2vppRu5dVG7SOtsGOzA== + version "3.6.0" + resolved "https://registry.yarnpkg.com/memfs/-/memfs-3.6.0.tgz#d7a2110f86f79dd950a8b6df6d57bc984aa185f6" + integrity sha512-EGowvkkgbMcIChjMTMkESFDbZeSh8xZ7kNSF0hAiAN4Jh6jgHCRS0Ga/+C8y6Au+oqpezRHCfPsmJ2+DwAgiwQ== dependencies: - fs-monkey "^1.0.3" + fs-monkey "^1.0.4" meow@^8.0.0, meow@^8.1.2: version "8.1.2" @@ -8430,9 +8104,9 @@ merge2@^1.3.0, merge2@^1.4.1: integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg== meros@^1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/meros/-/meros-1.2.1.tgz#056f7a76e8571d0aaf3c7afcbe7eb6407ff7329e" - integrity sha512-R2f/jxYqCAGI19KhAvaxSOxALBMkaXWH2a7rOyqQw+ZmizX5bKkEYWLzdhC+U82ZVVPVp6MCXe3EkVligh+12g== + version "1.3.0" + resolved "https://registry.yarnpkg.com/meros/-/meros-1.3.0.tgz#c617d2092739d55286bf618129280f362e6242f2" + integrity sha512-2BNGOimxEz5hmjUG2FwoxCt5HN7BXdaWyFqEwxPTrJzVdABtrL4TiHTcsWSFAxPQ/tOnEaQEJh3qWq71QRMY+w== methods@~1.1.2: version "1.1.2" @@ -8619,9 +8293,9 @@ mkdirp@^1.0.3, mkdirp@^1.0.4: integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw== mock-socket@^9.2.1: - version "9.2.1" - resolved "https://registry.yarnpkg.com/mock-socket/-/mock-socket-9.2.1.tgz#cc9c0810aa4d0afe02d721dcb2b7e657c00e2282" - integrity sha512-aw9F9T9G2zpGipLLhSNh6ZpgUyUl4frcVmRN08uE1NWPWg43Wx6+sGPDbQ7E5iFZZDJW5b5bypMeAEHqTbIFag== + version "9.3.1" + resolved "https://registry.yarnpkg.com/mock-socket/-/mock-socket-9.3.1.tgz#24fb00c2f573c84812aa4a24181bb025de80cc8e" + integrity sha512-qxBgB7Qa2sEQgHFjj0dSigq7fX4k6Saisd5Nelwp2q8mlbAFh5dHV9JTTlF8viYJLSSWgMCZFUom8PJcMNBoJw== modify-values@^1.0.0: version "1.0.1" @@ -8671,7 +8345,7 @@ negotiator@0.6.3, negotiator@^0.6.3: resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.3.tgz#58e323a72fedc0d6f9cd4d31fe49f51479590ccd" integrity sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg== -neo-async@^2.6.0, neo-async@^2.6.2: +neo-async@^2.6.2: version "2.6.2" resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.6.2.tgz#b4aafb93e3aeb2d8174ca53cf163ab7d7308305f" integrity sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw== @@ -8695,13 +8369,12 @@ no-case@^3.0.4: tslib "^2.0.3" nock@^13.3.1: - version "13.3.3" - resolved "https://registry.yarnpkg.com/nock/-/nock-13.3.3.tgz#179759c07d3f88ad3e794ace885629c1adfd3fe7" - integrity sha512-z+KUlILy9SK/RjpeXDiDUEAq4T94ADPHE3qaRkf66mpEhzc/ytOMm3Bwdrbq6k1tMWkbdujiKim3G2tfQARuJw== + version "13.3.8" + resolved "https://registry.yarnpkg.com/nock/-/nock-13.3.8.tgz#7adf3c66f678b02ef0a78d5697ae8bc2ebde0142" + integrity sha512-96yVFal0c/W1lG7mmfRe7eO+hovrhJYd2obzzOZ90f6fjpeU/XNvd9cYHZKZAQJumDfhXgoTpkpJ9pvMj+hqHw== dependencies: debug "^4.1.0" json-stringify-safe "^5.0.1" - lodash "^4.17.21" propagate "^2.0.0" node-domexception@^1.0.0: @@ -8716,14 +8389,7 @@ node-emoji@^1.11.0: dependencies: lodash "^4.17.21" -node-fetch@^2.6.1, node-fetch@^2.6.11, node-fetch@^2.6.7: - version "2.6.11" - resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.11.tgz#cde7fc71deef3131ef80a738919f999e6edfff25" - integrity sha512-4I6pdBY1EthSqDmJkiNk3JIT8cswwR9nfeW/cPdUagJYEQG7R95WRH74wpz7ma8Gh/9dI9FP+OU+0E4FvtA55w== - dependencies: - whatwg-url "^5.0.0" - -node-fetch@^2.6.12: +node-fetch@^2.6.1, node-fetch@^2.6.12, node-fetch@^2.6.7: version "2.7.0" resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.7.0.tgz#d0f0fa6e3e2dc1d27efcd8ad99d550bda94d187d" integrity sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A== @@ -8745,16 +8411,17 @@ node-forge@^1: integrity sha512-dPEtOeMvF9VMcYV/1Wb8CPoVAXtp6MKMlcbAt4ddqmGqUJ6fQZFXkNZNkNlfevtNkGtaSoXf/vNNNSvgrdXwtA== node-gyp-build@^4.3.0: - version "4.6.0" - resolved "https://registry.yarnpkg.com/node-gyp-build/-/node-gyp-build-4.6.0.tgz#0c52e4cbf54bbd28b709820ef7b6a3c2d6209055" - integrity sha512-NTZVKn9IylLwUzaKjkas1e4u2DLNcV4rdYagA4PWdPwW87Bi7z+BznyKSRwS/761tV/lzCGXplWsiaMjLqP2zQ== + version "4.6.1" + resolved "https://registry.yarnpkg.com/node-gyp-build/-/node-gyp-build-4.6.1.tgz#24b6d075e5e391b8d5539d98c7fc5c210cac8a3e" + integrity sha512-24vnklJmyRS8ViBNI8KbtK/r/DmXQMRiOMXTNz2nrTnAYUwjmEEbnnpB/+kt+yWRv73bPsSPRFddrcIbAxSiMQ== node-gyp@^9.0.0, node-gyp@^9.1.0: - version "9.3.1" - resolved "https://registry.yarnpkg.com/node-gyp/-/node-gyp-9.3.1.tgz#1e19f5f290afcc9c46973d68700cbd21a96192e4" - integrity sha512-4Q16ZCqq3g8awk6UplT7AuxQ35XN4R/yf/+wSAwcBUAjg7l58RTactWaP8fIDTi0FzI7YcVLujwExakZlfWkXg== + version "9.4.1" + resolved "https://registry.yarnpkg.com/node-gyp/-/node-gyp-9.4.1.tgz#8a1023e0d6766ecb52764cc3a734b36ff275e185" + integrity sha512-OQkWKbjQKbGkMf/xqI1jjy3oCTgMKJac58G2+bjZb3fza6gW2YrCSdMQYaoTb70crvE//Gngr4f0AgVHmqHvBQ== dependencies: env-paths "^2.2.0" + exponential-backoff "^3.1.1" glob "^7.1.4" graceful-fs "^4.2.6" make-fetch-happen "^10.0.3" @@ -8775,11 +8442,6 @@ node-releases@^2.0.13: resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.13.tgz#d5ed1627c23e3461e819b02e57b75e4899b1c81d" integrity sha512-uYr7J37ae/ORWdZeQ1xxMJe3NtdmqMC/JZK+geofDrkLUApKRHPd18/TxtBOJ4A0/+uUIliorNrfYV6s1b02eQ== -node-releases@^2.0.8: - version "2.0.10" - resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.10.tgz#c311ebae3b6a148c89b1813fd7c4d3c024ef537f" - integrity sha512-5GFldHPXVG/YZmFzJvKK2zDSzPKhEp0+ZR5SVaoSag9fsL5YgHbUHDfnG5494ISANDcK4KwPXAx2xqVEydmd7w== - nopt@^6.0.0: version "6.0.0" resolved "https://registry.yarnpkg.com/nopt/-/nopt-6.0.0.tgz#245801d8ebf409c6df22ab9d95b65e1309cdb16d" @@ -9048,12 +8710,12 @@ object-assign@^4.1.0, object-assign@^4.1.1: resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" integrity sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg== -object-inspect@^1.12.3, object-inspect@^1.9.0: - version "1.12.3" - resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.12.3.tgz#ba62dffd67ee256c8c086dfae69e016cd1f198b9" - integrity sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g== +object-inspect@^1.13.1, object-inspect@^1.9.0: + version "1.13.1" + resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.13.1.tgz#b96c6109324ccfef6b12216a956ca4dc2ff94bc2" + integrity sha512-5qoj1RUiKOMsCCNLV1CBiPYE10sziTsnmNxkAI/rZhiD63CF7IqdFGC/XzjWjpSgLf0LxXX3bDFIh0E18f6UhQ== -object-is@^1.0.1: +object-is@^1.1.5: version "1.1.5" resolved "https://registry.yarnpkg.com/object-is/-/object-is-1.1.5.tgz#b9deeaa5fc7f1846a0faecdceec138e5778f53ac" integrity sha512-3cyDsyHgtmi7I7DfSSI2LDp6SK2lwvtbg0p0R1e0RvTqF5ceGx+K2dfSjm1bKDMVCFEDAQvy+o8c6a7VujOddw== @@ -9076,7 +8738,7 @@ object.assign@^4.1.4: has-symbols "^1.0.3" object-keys "^1.1.1" -object.fromentries@^2.0.6: +object.fromentries@^2.0.7: version "2.0.7" resolved "https://registry.yarnpkg.com/object.fromentries/-/object.fromentries-2.0.7.tgz#71e95f441e9a0ea6baf682ecaaf37fa2a8d7e616" integrity sha512-UPbPHML6sL8PI/mOqPwsH4G6iyXcCGzLin8KvEPenOZN5lpCNBZZQ+V62vdjB1mQHrmqGQt5/OJzemUA+KJmEA== @@ -9085,7 +8747,7 @@ object.fromentries@^2.0.6: define-properties "^1.2.0" es-abstract "^1.22.1" -object.groupby@^1.0.0: +object.groupby@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/object.groupby/-/object.groupby-1.0.1.tgz#d41d9f3c8d6c778d9cbac86b4ee9f5af103152ee" integrity sha512-HqaQtqLnp/8Bn4GL16cj+CUYbnpe1bh0TtEaWvybszDG4tgxCJuRpV8VGuvNaI1fAnI4lUJzDG55MXcOH4JZcQ== @@ -9095,14 +8757,14 @@ object.groupby@^1.0.0: es-abstract "^1.22.1" get-intrinsic "^1.2.1" -object.values@^1.1.6: - version "1.1.6" - resolved "https://registry.yarnpkg.com/object.values/-/object.values-1.1.6.tgz#4abbaa71eba47d63589d402856f908243eea9b1d" - integrity sha512-FVVTkD1vENCsAcwNs9k6jea2uHC/X0+JcjG8YA60FN5CMaJmG95wT9jek/xX9nornqGRrBkKtzuAu2wuHpKqvw== +object.values@^1.1.7: + version "1.1.7" + resolved "https://registry.yarnpkg.com/object.values/-/object.values-1.1.7.tgz#617ed13272e7e1071b43973aa1655d9291b8442a" + integrity sha512-aU6xnDFYT3x17e/f0IiiwlGPTy2jzMySGfUB4fq6z7CV8l85CWHDk5ErhyhpfDHhrOMwGFhSQkhMGHaIotA6Ng== dependencies: call-bind "^1.0.2" - define-properties "^1.1.4" - es-abstract "^1.20.4" + define-properties "^1.2.0" + es-abstract "^1.22.1" obuf@^1.0.0, obuf@^1.1.2: version "1.1.2" @@ -9293,7 +8955,7 @@ p-reduce@^2.0.0: resolved "https://registry.yarnpkg.com/p-reduce/-/p-reduce-2.1.0.tgz#09408da49507c6c274faa31f28df334bc712b64a" integrity sha512-2USApvnsutq8uoxZBGbbWM0JIYLiEMJ9RlaN7fAzVNb9OZN0SHjjTTfIcb667XynS5Y1VhwDJVDa72TnPzAYWw== -p-retry@^4.0.0, p-retry@^4.5.0: +p-retry@^4.5.0: version "4.6.2" resolved "https://registry.yarnpkg.com/p-retry/-/p-retry-4.6.2.tgz#9baae7184057edd4e17231cee04264106e092a16" integrity sha512-312Id396EbJdvRONlngUx0NydfrIQ5lsYu0znKVUzVvArzEIt08V1qhtyESbGVd1FGX7UKtiFp5uwKZdM8wIuQ== @@ -9358,7 +9020,7 @@ parent-module@^1.0.0: dependencies: callsites "^3.0.0" -parse-asn1@^5.0.0, parse-asn1@^5.1.5: +parse-asn1@^5.0.0, parse-asn1@^5.1.6: version "5.1.6" resolved "https://registry.yarnpkg.com/parse-asn1/-/parse-asn1-5.1.6.tgz#385080a3ec13cb62a62d39409cb3e88844cdaed4" integrity sha512-RnZRo1EPU6JBnra2vGHj0yhp6ebyjBZpmUCLHWiFhxlzvBCCpAuZ7elsBp1PVAbQN0/04VD/19rfzlBSwLstMw== @@ -9536,9 +9198,9 @@ pify@^3.0.0: integrity sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg== pirates@^4.0.4: - version "4.0.5" - resolved "https://registry.yarnpkg.com/pirates/-/pirates-4.0.5.tgz#feec352ea5c3268fb23a37c702ab1699f35a5f3b" - integrity sha512-8V9+HQPupnaXMA23c5hvl69zXvTwTzyAYasnkb0Tts4XvO4CliqONMOnvlq26rkhLC3nWDFBJf73LU1e1VZLaQ== + version "4.0.6" + resolved "https://registry.yarnpkg.com/pirates/-/pirates-4.0.6.tgz#3018ae32ecfcff6c29ba2267cbf21166ac1f36b9" + integrity sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg== pkg-conf@^2.1.0: version "2.1.0" @@ -9613,19 +9275,10 @@ pretty-format@^23.0.1: ansi-regex "^3.0.0" ansi-styles "^3.2.0" -pretty-format@^29.0.0, pretty-format@^29.5.0: - version "29.5.0" - resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-29.5.0.tgz#283134e74f70e2e3e7229336de0e4fce94ccde5a" - integrity sha512-V2mGkI31qdttvTFX7Mt4efOqHXqJWMu4/r66Xh3Z3BwZaPfPJgp6/gbwoujRpPUtfEF6AUUWx3Jim3GCw5g/Qw== - dependencies: - "@jest/schemas" "^29.4.3" - ansi-styles "^5.0.0" - react-is "^18.0.0" - -pretty-format@^29.6.3: - version "29.6.3" - resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-29.6.3.tgz#d432bb4f1ca6f9463410c3fb25a0ba88e594ace7" - integrity sha512-ZsBgjVhFAj5KeK+nHfF1305/By3lechHQSMWCTl8iHSbfOm2TN5nHEtFc/+W7fAyUeCs2n5iow72gld4gW0xDw== +pretty-format@^29.0.0, pretty-format@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-29.7.0.tgz#ca42c758310f365bfa71a0bda0a807160b776812" + integrity sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ== dependencies: "@jest/schemas" "^29.6.3" ansi-styles "^5.0.0" @@ -9670,13 +9323,15 @@ promise-retry@^2.0.1: retry "^0.12.0" promise.prototype.finally@^3.1.2: - version "3.1.4" - resolved "https://registry.yarnpkg.com/promise.prototype.finally/-/promise.prototype.finally-3.1.4.tgz#4e756a154e4db27fae24c6b18703495c31da3927" - integrity sha512-nNc3YbgMfLzqtqvO/q5DP6RR0SiHI9pUPGzyDf1q+usTwCN2kjvAnJkBb7bHe3o+fFSBPpsGMoYtaSi+LTNqng== + version "3.1.7" + resolved "https://registry.yarnpkg.com/promise.prototype.finally/-/promise.prototype.finally-3.1.7.tgz#9d163f58edf3004d14878c988a22b1cb45e03407" + integrity sha512-iL9OcJRUZcCE5xn6IwhZxO+eMM0VEXjkETHy+Nk+d9q3s7kxVtPg+mBlMO+ZGxNKNMODyKmy/bOyt/yhxTnvEw== dependencies: call-bind "^1.0.2" - define-properties "^1.1.4" - es-abstract "^1.20.4" + define-properties "^1.2.1" + es-abstract "^1.22.1" + get-intrinsic "^1.2.1" + set-function-name "^2.0.1" promise@^7.1.1: version "7.3.1" @@ -9750,21 +9405,21 @@ punycode@^1.3.2: integrity sha512-jmYNElW7yvO7TV33CjSmvSiE2yco3bV2czu/OzDKdMNVZQWfxCblURLhf+47syQRBntjfLdd/H0egrzIG+oaFQ== punycode@^2.1.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.3.0.tgz#f67fa67c94da8f4d0cfff981aee4118064199b8f" - integrity sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA== + version "2.3.1" + resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.3.1.tgz#027422e2faec0b25e1549c3e1bd8309b9133b6e5" + integrity sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg== pure-rand@^6.0.0: - version "6.0.2" - resolved "https://registry.yarnpkg.com/pure-rand/-/pure-rand-6.0.2.tgz#a9c2ddcae9b68d736a8163036f088a2781c8b306" - integrity sha512-6Yg0ekpKICSjPswYOuC5sku/TSWaRYlA0qsXqJgM/d/4pLPHPuTxK7Nbf7jFKzAeedUhR8C7K9Uv63FBsSo8xQ== + version "6.0.4" + resolved "https://registry.yarnpkg.com/pure-rand/-/pure-rand-6.0.4.tgz#50b737f6a925468679bff00ad20eade53f37d5c7" + integrity sha512-LA0Y9kxMYv47GIPJy6MI84fqTd2HmYZI83W/kM/SkKfDlajnZYfmXFTxkbY+xSBPkLJxltMa9hIkmdc29eguMA== -pvtsutils@^1.3.2: - version "1.3.2" - resolved "https://registry.yarnpkg.com/pvtsutils/-/pvtsutils-1.3.2.tgz#9f8570d132cdd3c27ab7d51a2799239bf8d8d5de" - integrity sha512-+Ipe2iNUyrZz+8K/2IOo+kKikdtfhRKzNpQbruF2URmqPtoqAs8g3xS7TJvFF2GcPXjh7DkqMnpVveRFq4PgEQ== +pvtsutils@^1.3.2, pvtsutils@^1.3.5: + version "1.3.5" + resolved "https://registry.yarnpkg.com/pvtsutils/-/pvtsutils-1.3.5.tgz#b8705b437b7b134cd7fd858f025a23456f1ce910" + integrity sha512-ARvb14YB9Nm2Xi6nBq1ZX6dAM0FsJnuk+31aUp4TrcZEdKUlSqOqsxJHUPJDNE3qiIp+iUPEIeR6Je/tgV7zsA== dependencies: - tslib "^2.4.0" + tslib "^2.6.1" pvutils@^1.1.3: version "1.1.3" @@ -9902,7 +9557,7 @@ read@1, read@^1.0.7, read@~1.0.7: dependencies: mute-stream "~0.0.4" -readable-stream@3, readable-stream@^3.0.0, readable-stream@^3.0.6, readable-stream@^3.4.0, readable-stream@^3.5.0, readable-stream@^3.6.0: +readable-stream@3, readable-stream@^3.0.0, readable-stream@^3.0.6, readable-stream@^3.4.0, readable-stream@^3.5.0, readable-stream@^3.6.0, readable-stream@^3.6.2: version "3.6.2" resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.2.tgz#56a9b36ea965c00c5a93ef31eb111a0f11056967" integrity sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA== @@ -9973,19 +9628,19 @@ regenerator-runtime@^0.11.0: resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz#be05ad7f9bf7d22e056f9726cee5017fbf19e2e9" integrity sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg== -regenerator-runtime@^0.13.11: - version "0.13.11" - resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz#f6dca3e7ceec20590d07ada785636a90cdca17f9" - integrity sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg== +regenerator-runtime@^0.14.0: + version "0.14.0" + resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.14.0.tgz#5e19d68eb12d486f797e15a3c6a918f7cec5eb45" + integrity sha512-srw17NI0TUWHuGa5CFGGmhfNIeja30WMBfbslPNhf6JrqQlLN5gcrvig1oqPxiVaXb0oW0XRKtH6Nngs5lKCIA== -regexp.prototype.flags@^1.4.3, regexp.prototype.flags@^1.5.0: - version "1.5.0" - resolved "https://registry.yarnpkg.com/regexp.prototype.flags/-/regexp.prototype.flags-1.5.0.tgz#fe7ce25e7e4cca8db37b6634c8a2c7009199b9cb" - integrity sha512-0SutC3pNudRKgquxGoRGIz946MZVHqbNfPjBdxeOhBrdgDKlRoXmYLQN9xRbrR09ZXWeGAdPuif7egofn6v5LA== +regexp.prototype.flags@^1.5.1: + version "1.5.1" + resolved "https://registry.yarnpkg.com/regexp.prototype.flags/-/regexp.prototype.flags-1.5.1.tgz#90ce989138db209f81492edd734183ce99f9677e" + integrity sha512-sy6TXMN+hnP/wMy+ISxg3krXx7BAtWVO4UouuCN/ziM9UEne0euamVNafDfvC83bRNr95y0V5iijeDQFUNpvrg== dependencies: call-bind "^1.0.2" define-properties "^1.2.0" - functions-have-names "^1.2.3" + set-function-name "^2.0.0" registry-auth-token@^5.0.0: version "5.0.2" @@ -10035,9 +9690,9 @@ renderkid@^3.0.0: strip-ansi "^6.0.1" replace-in-file@^7.0.1: - version "7.0.1" - resolved "https://registry.yarnpkg.com/replace-in-file/-/replace-in-file-7.0.1.tgz#1bb69a2e5596341cc6f0f581309add6c1d364b71" - integrity sha512-KbhgPq04eA+TxXuUxpgWIH9k/TjF+28ofon2PXP7vq6izAILhxOtksCVcLuuQLtyjouBaPdlH6RJYYcSPVxCOA== + version "7.0.2" + resolved "https://registry.yarnpkg.com/replace-in-file/-/replace-in-file-7.0.2.tgz#c38e2143134836586f902319e72f47b55e7c5fae" + integrity sha512-tPG+Qmqf+x2Rf1WVdb/9B5tFIf6KJ5hs3fgxh1OTzPRUugPPvyAva7NvCJtnSpmyq6r+ABYcuUOqZkm6yzGSUw== dependencies: chalk "^4.1.2" glob "^8.1.0" @@ -10092,24 +9747,20 @@ resolve-global@1.0.0, resolve-global@^1.0.0: dependencies: global-dirs "^0.1.1" +resolve-pkg-maps@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/resolve-pkg-maps/-/resolve-pkg-maps-1.0.0.tgz#616b3dc2c57056b5588c31cdf4b3d64db133720f" + integrity sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw== + resolve.exports@^2.0.0: version "2.0.2" resolved "https://registry.yarnpkg.com/resolve.exports/-/resolve.exports-2.0.2.tgz#f8c934b8e6a13f539e38b7098e2e36134f01e800" integrity sha512-X2UW6Nw3n/aMgDVy+0rSqgHlv39WZAlZrXCdnbyEiKm17DSqHX4MmQMaST3FbeWR5FTuRcUwYAziZajji0Y7mg== -resolve@>=1.9.0, resolve@^1.10.0, resolve@^1.12.0, resolve@^1.20.0, resolve@^1.22.1: - version "1.22.2" - resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.2.tgz#0ed0943d4e301867955766c9f3e1ae6d01c6845f" - integrity sha512-Sb+mjNHOULsBv818T40qSPeRiuWLyaGMa5ewydRLFimneixmVy2zdivRl+AF6jaYPC8ERxGDmFSiqui6SfPd+g== - dependencies: - is-core-module "^2.11.0" - path-parse "^1.0.7" - supports-preserve-symlinks-flag "^1.0.0" - -resolve@^1.22.2: - version "1.22.4" - resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.4.tgz#1dc40df46554cdaf8948a486a10f6ba1e2026c34" - integrity sha512-PXNdCiPqDqeUou+w1C2eTQbNfxKSuMxqTCuvlmmMsk1NWHL5fRrhY6Pl0qEYYc6+QqGClco1Qj8XnjPego4wfg== +resolve@>=1.9.0, resolve@^1.10.0, resolve@^1.12.0, resolve@^1.20.0, resolve@^1.22.2, resolve@^1.22.4: + version "1.22.8" + resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.8.tgz#b6c87a9f2aa06dfab52e3d70ac8cde321fa5a48d" + integrity sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw== dependencies: is-core-module "^2.13.0" path-parse "^1.0.7" @@ -10197,13 +9848,13 @@ rxjs@^7.5.5, rxjs@^7.5.6, rxjs@^7.8.1: dependencies: tslib "^2.1.0" -safe-array-concat@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/safe-array-concat/-/safe-array-concat-1.0.0.tgz#2064223cba3c08d2ee05148eedbc563cd6d84060" - integrity sha512-9dVEFruWIsnie89yym+xWTAYASdpw3CJV7Li/6zBewGf9z2i1j31rP6jnY0pHEO4QZh6N0K11bFjWmdR8UGdPQ== +safe-array-concat@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/safe-array-concat/-/safe-array-concat-1.0.1.tgz#91686a63ce3adbea14d61b14c99572a8ff84754c" + integrity sha512-6XbUAseYE2KtOuGueyeobCySj9L4+66Tn6KQMOPQJrAJEowYKW/YR/MGJZl7FdydUdaFu4LYyDZjxf4/Nmo23Q== dependencies: call-bind "^1.0.2" - get-intrinsic "^1.2.0" + get-intrinsic "^1.2.1" has-symbols "^1.0.3" isarray "^2.0.5" @@ -10212,7 +9863,7 @@ safe-buffer@5.1.2, safe-buffer@~5.1.0, safe-buffer@~5.1.1: resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== -safe-buffer@5.2.1, safe-buffer@>=5.1.0, safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.1, safe-buffer@^5.1.2, safe-buffer@^5.2.0, safe-buffer@~5.2.0: +safe-buffer@5.2.1, safe-buffer@>=5.1.0, safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.1, safe-buffer@^5.1.2, safe-buffer@^5.2.0, safe-buffer@^5.2.1, safe-buffer@~5.2.0: version "5.2.1" resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== @@ -10236,16 +9887,7 @@ safe-regex-test@^1.0.0: resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== -schema-utils@^3.1.1: - version "3.1.2" - resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-3.1.2.tgz#36c10abca6f7577aeae136c804b0c741edeadc99" - integrity sha512-pvjEHOgWc9OWA/f/DE3ohBWTD6EleVLf7iFUkoSwAxttdBhB9QUebQgxER2kWueOvRJXPHNnyrvvh9eZINB8Eg== - dependencies: - "@types/json-schema" "^7.0.8" - ajv "^6.12.5" - ajv-keywords "^3.5.2" - -schema-utils@^3.2.0: +schema-utils@^3.1.1, schema-utils@^3.2.0: version "3.3.0" resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-3.3.0.tgz#f50a88877c3c01652a15b622ae9e9795df7a60fe" integrity sha512-pN/yOAvcC+5rQ5nERGuwrjLlYvLTbCibnZ1I7B1LaiAz9BRBlE9GMgE/eqV30P7aJQUf7Ddimy/RsbYO/GrVGg== @@ -10255,9 +9897,9 @@ schema-utils@^3.2.0: ajv-keywords "^3.5.2" schema-utils@^4.0.0: - version "4.0.1" - resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-4.0.1.tgz#eb2d042df8b01f4b5c276a2dfd41ba0faab72e8d" - integrity sha512-lELhBAAly9NowEsX0yZBlw9ahZG+sK/1RJ21EpzdYHKEs13Vku3LJ+MIPhh4sMs0oCCeufZQEQbMekiA4vuVIQ== + version "4.2.0" + resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-4.2.0.tgz#70d7c93e153a273a805801882ebd3bff20d89c8b" + integrity sha512-L0jRsrPpjdckP3oPug3/VxNKt2trR8TcabrM6FOAAlvC/9Phcmm+cuAgTlxBqdBR1WJx7Naj9WHw+aOmheSVbw== dependencies: "@types/json-schema" "^7.0.9" ajv "^8.9.0" @@ -10275,10 +9917,11 @@ select-hose@^2.0.0: integrity sha512-mEugaLK+YfkijB4fx0e6kImuJdCIt2LxCRcbEYPqRGCs4F2ogyfZU5IAZRdjCP8JPq2AtdNoC/Dux63d9Kiryg== selfsigned@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/selfsigned/-/selfsigned-2.1.1.tgz#18a7613d714c0cd3385c48af0075abf3f266af61" - integrity sha512-GSL3aowiF7wa/WtSFwnUrludWFoNhftq8bUkH9pkzjpN2XSPOAYEgg6e0sS9s0rZwgJzJiQRPU18A6clnoW5wQ== + version "2.4.1" + resolved "https://registry.yarnpkg.com/selfsigned/-/selfsigned-2.4.1.tgz#560d90565442a3ed35b674034cec4e95dceb4ae0" + integrity sha512-th5B4L2U+eGLq1TVh7zNRGBapioSORUeymIydxgFpwww9d2qyKvtuPU2jJuHvYAwwqi2Y596QBL3eEqcPEYL8Q== dependencies: + "@types/node-forge" "^1.3.0" node-forge "^1" semantic-release@^19.0.2: @@ -10328,34 +9971,22 @@ semver-regex@^3.1.2: integrity sha512-6IiqeZNgq01qGf0TId0t3NvKzSvUsjcpdEO3AQNeIjR6A2+ckTnQlDpl4qu1bjRv0RzN3FP9hzFmws3lKqRWkA== "semver@2 || 3 || 4 || 5": - version "5.7.1" - resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" - integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== + version "5.7.2" + resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.2.tgz#48d55db737c3287cd4835e17fa13feace1c41ef8" + integrity sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g== -semver@7.5.4, semver@^7.5.3, semver@^7.5.4: +semver@7.5.4, semver@^7.0.0, semver@^7.1.1, semver@^7.1.2, semver@^7.3.2, semver@^7.3.4, semver@^7.3.5, semver@^7.3.7, semver@^7.5.3, semver@^7.5.4: version "7.5.4" resolved "https://registry.yarnpkg.com/semver/-/semver-7.5.4.tgz#483986ec4ed38e1c6c48c34894a9182dbff68a6e" integrity sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA== dependencies: lru-cache "^6.0.0" -semver@^6.0.0, semver@^6.3.0: - version "6.3.0" - resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" - integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== - -semver@^6.3.1: +semver@^6.0.0, semver@^6.3.0, semver@^6.3.1: version "6.3.1" resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.1.tgz#556d2ef8689146e46dcea4bfdd095f3434dffcb4" integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA== -semver@^7.0.0, semver@^7.1.1, semver@^7.1.2, semver@^7.3.2, semver@^7.3.4, semver@^7.3.5, semver@^7.3.7: - version "7.5.1" - resolved "https://registry.yarnpkg.com/semver/-/semver-7.5.1.tgz#c90c4d631cf74720e46b21c1d37ea07edfab91ec" - integrity sha512-Wvss5ivl8TMRZXXESstBA4uR5iXgEN/VC5/sOcuXdVLzcdkz4HWetIoRfG5gb5X+ij/G9rw9YoGn3QoQ8OCSpw== - dependencies: - lru-cache "^6.0.0" - send@0.18.0: version "0.18.0" resolved "https://registry.yarnpkg.com/send/-/send-0.18.0.tgz#670167cc654b05f5aa4a767f9113bb371bc706be" @@ -10419,6 +10050,25 @@ set-blocking@^2.0.0: resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" integrity sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw== +set-function-length@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/set-function-length/-/set-function-length-1.1.1.tgz#4bc39fafb0307224a33e106a7d35ca1218d659ed" + integrity sha512-VoaqjbBJKiWtg4yRcKBQ7g7wnGnLV3M8oLvVWwOk2PdYY6PEFegR1vezXR0tw6fZGF9csVakIRjrJiy2veSBFQ== + dependencies: + define-data-property "^1.1.1" + get-intrinsic "^1.2.1" + gopd "^1.0.1" + has-property-descriptors "^1.0.0" + +set-function-name@^2.0.0, set-function-name@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/set-function-name/-/set-function-name-2.0.1.tgz#12ce38b7954310b9f61faa12701620a0c882793a" + integrity sha512-tMNCiqYVkXIZgc2Hnoy2IvC/f8ezc5koaRFkCjrpWzGpCd3qbZXPzVy9MAZzK1ch/X0jvSkojys3oqJN0qCmdA== + dependencies: + define-data-property "^1.0.1" + functions-have-names "^1.2.3" + has-property-descriptors "^1.0.0" + setimmediate@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/setimmediate/-/setimmediate-1.0.5.tgz#290cbb232e306942d7d7ea9b83732ab7856f8285" @@ -10461,7 +10111,7 @@ shebang-regex@^3.0.0: resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172" integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== -shell-quote@^1.7.3: +shell-quote@^1.7.3, shell-quote@^1.8.1: version "1.8.1" resolved "https://registry.yarnpkg.com/shell-quote/-/shell-quote-1.8.1.tgz#6dbf4db75515ad5bac63b4f1894c3a154c766680" integrity sha512-6j1W9l1iAs/4xYBI1SYOVZyFcCis9b4KCLQ8fgAGG07QvzaRLVVRQvAy85yNmmZSjYjg4MWh4gNvlPujU/5LpA== @@ -10639,9 +10289,9 @@ spdx-expression-parse@^3.0.0: spdx-license-ids "^3.0.0" spdx-license-ids@^3.0.0: - version "3.0.13" - resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-3.0.13.tgz#7189a474c46f8d47c7b0da4b987bb45e908bd2d5" - integrity sha512-XkD+zwiqXHikFZm4AX/7JSCXA98U5Db4AFd5XUg/+9UNtnH75+Z9KxtpYiJZx36mUDVOwH83pl7yvCer6ewM3w== + version "3.0.16" + resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-3.0.16.tgz#a14f64e0954f6e25cc6587bd4f392522db0d998f" + integrity sha512-eWN+LnM3GR6gPu35WxNgbGl8rmY1AEmoMDvL/QD6zYmPWgywxWqJWNdLGT+ke8dKNWrcYgYjPpG5gbTfghP8rw== spdy-transport@^3.0.0: version "3.0.0" @@ -10789,32 +10439,32 @@ string-width@^5.0.0, string-width@^5.0.1: emoji-regex "^9.2.2" strip-ansi "^7.0.1" -string.prototype.trim@^1.2.7: - version "1.2.7" - resolved "https://registry.yarnpkg.com/string.prototype.trim/-/string.prototype.trim-1.2.7.tgz#a68352740859f6893f14ce3ef1bb3037f7a90533" - integrity sha512-p6TmeT1T3411M8Cgg9wBTMRtY2q9+PNy9EV1i2lIXUN/btt763oIfxwN3RR8VU6wHX8j/1CFy0L+YuThm6bgOg== +string.prototype.trim@^1.2.8: + version "1.2.8" + resolved "https://registry.yarnpkg.com/string.prototype.trim/-/string.prototype.trim-1.2.8.tgz#f9ac6f8af4bd55ddfa8895e6aea92a96395393bd" + integrity sha512-lfjY4HcixfQXOfaqCvcBuOIapyaroTXhbkfJN3gcB1OtyupngWK4sEET9Knd0cXd28kTUqu/kHoV4HKSJdnjiQ== dependencies: call-bind "^1.0.2" - define-properties "^1.1.4" - es-abstract "^1.20.4" + define-properties "^1.2.0" + es-abstract "^1.22.1" -string.prototype.trimend@^1.0.6: - version "1.0.6" - resolved "https://registry.yarnpkg.com/string.prototype.trimend/-/string.prototype.trimend-1.0.6.tgz#c4a27fa026d979d79c04f17397f250a462944533" - integrity sha512-JySq+4mrPf9EsDBEDYMOb/lM7XQLulwg5R/m1r0PXEFqrV0qHvl58sdTilSXtKOflCsK2E8jxf+GKC0T07RWwQ== +string.prototype.trimend@^1.0.7: + version "1.0.7" + resolved "https://registry.yarnpkg.com/string.prototype.trimend/-/string.prototype.trimend-1.0.7.tgz#1bb3afc5008661d73e2dc015cd4853732d6c471e" + integrity sha512-Ni79DqeB72ZFq1uH/L6zJ+DKZTkOtPIHovb3YZHQViE+HDouuU4mBrLOLDn5Dde3RF8qw5qVETEjhu9locMLvA== dependencies: call-bind "^1.0.2" - define-properties "^1.1.4" - es-abstract "^1.20.4" + define-properties "^1.2.0" + es-abstract "^1.22.1" -string.prototype.trimstart@^1.0.6: - version "1.0.6" - resolved "https://registry.yarnpkg.com/string.prototype.trimstart/-/string.prototype.trimstart-1.0.6.tgz#e90ab66aa8e4007d92ef591bbf3cd422c56bdcf4" - integrity sha512-omqjMDaY92pbn5HOX7f9IccLA+U1tA9GvtU4JrodiXFfYB7jPzzHpRzpglLAjtUV6bB557zwClJezTqnAiYnQA== +string.prototype.trimstart@^1.0.7: + version "1.0.7" + resolved "https://registry.yarnpkg.com/string.prototype.trimstart/-/string.prototype.trimstart-1.0.7.tgz#d4cdb44b83a4737ffbac2d406e405d43d0184298" + integrity sha512-NGhtDFu3jCEm7B4Fy0DpLewdJQOZcQ0rGbwQ/+stjnrp2i+rlKeCvos9hOIeCmqwratM47OBxY7uFZzjxHXmrg== dependencies: call-bind "^1.0.2" - define-properties "^1.1.4" - es-abstract "^1.20.4" + define-properties "^1.2.0" + es-abstract "^1.22.1" string_decoder@^1.1.1: version "1.3.0" @@ -10952,9 +10602,9 @@ tapable@^2.0.0, tapable@^2.1.1, tapable@^2.2.0: integrity sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ== tar@^6.1.0, tar@^6.1.11, tar@^6.1.2: - version "6.1.15" - resolved "https://registry.yarnpkg.com/tar/-/tar-6.1.15.tgz#c9738b0b98845a3b344d334b8fa3041aaba53a69" - integrity sha512-/zKt9UyngnxIT/EAGYuxaMYgOIJiP81ab9ZfkILq4oNLPFX50qyYmu7jRj9qeXoxmJHjGlbH0+cm2uy1WCs10A== + version "6.2.0" + resolved "https://registry.yarnpkg.com/tar/-/tar-6.2.0.tgz#b14ce49a79cb1cd23bc9b016302dea5474493f73" + integrity sha512-/Wo7DcT0u5HUV486xg675HtjNd3BXZ6xDbzsCUZPt5iw8bTQ63bP0Raut3mvro9u+CUyq7YQd8Cx55fsZXxqLQ== dependencies: chownr "^2.0.0" fs-minipass "^2.0.0" @@ -10991,12 +10641,12 @@ terser-webpack-plugin@^5.3.7: terser "^5.16.8" terser@^5.10.0, terser@^5.16.8: - version "5.17.4" - resolved "https://registry.yarnpkg.com/terser/-/terser-5.17.4.tgz#b0c2d94897dfeba43213ed5f90ed117270a2c696" - integrity sha512-jcEKZw6UPrgugz/0Tuk/PVyLAPfMBJf5clnGueo45wTweoV8yh7Q7PEkhkJ5uuUbC7zAxEcG3tqNr1bstkQ8nw== + version "5.24.0" + resolved "https://registry.yarnpkg.com/terser/-/terser-5.24.0.tgz#4ae50302977bca4831ccc7b4fef63a3c04228364" + integrity sha512-ZpGR4Hy3+wBEzVEnHvstMvqpD/nABNelQn/z2r0fjVWGQsN3bpOLzQlqDxmb4CDZnXq5lpjnQ+mHQLAOpfM5iw== dependencies: - "@jridgewell/source-map" "^0.3.2" - acorn "^8.5.0" + "@jridgewell/source-map" "^0.3.3" + acorn "^8.8.2" commander "^2.20.0" source-map-support "~0.5.20" @@ -11106,9 +10756,9 @@ trim-newlines@^3.0.0: integrity sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw== ts-api-utils@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/ts-api-utils/-/ts-api-utils-1.0.2.tgz#7c094f753b6705ee4faee25c3c684ade52d66d99" - integrity sha512-Cbu4nIqnEdd+THNEsBdkolnOXhg0I8XteoHaEKgvsxpsbWda4IsUut2c187HxywQCvveojow0Dgw/amxtSKVkQ== + version "1.0.3" + resolved "https://registry.yarnpkg.com/ts-api-utils/-/ts-api-utils-1.0.3.tgz#f12c1c781d04427313dbac808f453f050e54a331" + integrity sha512-wNMeqtMz5NtwpT/UZGY5alT+VoKdSsOOP/kqHFcUW1P/VRhH2wJ48+DN2WwUliNbQ976ETwDL0Ifd2VVvgonvg== ts-invariant@^0.10.3: version "0.10.3" @@ -11198,26 +10848,16 @@ tslib@^1.8.1: resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00" integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== -tslib@^2.0.0, tslib@^2.0.3, tslib@^2.1.0, tslib@^2.4.0: - version "2.4.0" - resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.4.0.tgz#7cecaa7f073ce680a05847aa77be941098f36dc3" - integrity sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ== +tslib@^2.0.0, tslib@^2.0.3, tslib@^2.1.0, tslib@^2.3.0, tslib@^2.3.1, tslib@^2.4.0, tslib@^2.5.0, tslib@^2.5.3, tslib@^2.6.1, tslib@^2.6.2: + version "2.6.2" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.2.tgz#703ac29425e7b37cd6fd456e92404d46d1f3e4ae" + integrity sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q== -tslib@^2.3.0: +tslib@~2.5.0: version "2.5.3" resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.5.3.tgz#24944ba2d990940e6e982c4bea147aba80209913" integrity sha512-mSxlJJwl3BMEQCUNnxXBU9jP4JBktcEGhURcPR6VQVlnP0FdDEsIaz0C35dXNGLyRfrATNofF0F5p2KPxQgB+w== -tslib@^2.3.1, tslib@^2.5.0, tslib@~2.5.0: - version "2.5.0" - resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.5.0.tgz#42bfed86f5787aeb41d031866c8f402429e0fddf" - integrity sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg== - -tslib@^2.5.3, tslib@^2.6.1, tslib@^2.6.2: - version "2.6.2" - resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.2.tgz#703ac29425e7b37cd6fd456e92404d46d1f3e4ae" - integrity sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q== - tsutils@^3.21.0: version "3.21.0" resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-3.21.0.tgz#b48717d394cea6c1e096983eed58e9d61715b623" @@ -11280,9 +10920,9 @@ type-fest@^1.0.2, type-fest@^1.2.1: integrity sha512-yGSza74xk0UG8k+pLh5oeoYirvIiWo5t0/o3zHHAO2tRDiZcxWP7fywNlXhqb6/r6sWvwi+RsyQMWhVLe4BVuA== type-fest@^3.0.0: - version "3.10.0" - resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-3.10.0.tgz#d75f17a22be8816aea6315ab2739fe1c0c211863" - integrity sha512-hmAPf1datm+gt3c2mvu0sJyhFy6lTkIGf0GzyaZWxRLnabQfPUqg6tF95RPg6sLxKI7nFLGdFxBcf2/7+GXI+A== + version "3.13.1" + resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-3.13.1.tgz#bb744c1f0678bea7543a2d1ec24e83e68e8c8706" + integrity sha512-tLq3bSNx+xSpwvAJnzrK0Ep5CLNWjvFTOp71URMaAEWBfRb9nnJiBoUe0tF8bI4ZFO3omgBR6NvnbzVUT3Ly4g== type-is@~1.6.18: version "1.6.18" @@ -11380,15 +11020,15 @@ typescript@^4.5.4: resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.5.tgz#095979f9bcc0d09da324d58d03ce8f8374cbe65a" integrity sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g== -"typescript@^4.6.4 || ^5.0.0", typescript@^5.2.2: +"typescript@^4.6.4 || ^5.2.2", typescript@^5.2.2: version "5.2.2" resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.2.2.tgz#5ebb5e5a5b75f085f22bc3f8460fba308310fa78" integrity sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w== -ua-parser-js@^0.7.30: - version "0.7.35" - resolved "https://registry.yarnpkg.com/ua-parser-js/-/ua-parser-js-0.7.35.tgz#8bda4827be4f0b1dda91699a29499575a1f1d307" - integrity sha512-veRf7dawaj9xaWEu9HoTVn5Pggtc/qj+kqTOFvNiN1l0YdxwC1kvel57UCjThjGa3BHBihE8/UJAHI+uQHmd/g== +ua-parser-js@^1.0.35: + version "1.0.37" + resolved "https://registry.yarnpkg.com/ua-parser-js/-/ua-parser-js-1.0.37.tgz#b5dc7b163a5c1f0c510b08446aed4da92c46373f" + integrity sha512-bhTyI94tZofjo+Dn8SN6Zv8nBDvyXTymAdM3LDI/0IboIUwTu1rEhW7v2TfiVsoYWgkQ4kOVqnI8APUFbIQIFQ== uglify-js@^3.1.4: version "3.17.4" @@ -11410,6 +11050,11 @@ unc-path-regex@^0.1.2: resolved "https://registry.yarnpkg.com/unc-path-regex/-/unc-path-regex-0.1.2.tgz#e73dd3d7b0d7c5ed86fbac6b0ae7d8c6a69d50fa" integrity sha512-eXL4nmJT7oCpkZsHZUOJo8hcX3GbsiDOa0Qu9F646fi8dT3XuSVopVqAcEiVzSKKH7UoDti23wNX3qGFxcW5Qg== +undici-types@~5.26.4: + version "5.26.5" + resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617" + integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA== + unique-filename@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/unique-filename/-/unique-filename-2.0.1.tgz#e785f8675a9a7589e0ac77e0b5c34d2eaeac6da2" @@ -11432,14 +11077,14 @@ unique-string@^2.0.0: crypto-random-string "^2.0.0" universal-user-agent@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/universal-user-agent/-/universal-user-agent-6.0.0.tgz#3381f8503b251c0d9cd21bc1de939ec9df5480ee" - integrity sha512-isyNax3wXoKaulPDZWHQqbmIx1k2tb9fb3GGDBRxCscfYV2Ch7WxPArBsFEG8s/safwXTT7H4QGhaIkTp9447w== + version "6.0.1" + resolved "https://registry.yarnpkg.com/universal-user-agent/-/universal-user-agent-6.0.1.tgz#15f20f55da3c930c57bddbf1734c6654d5fd35aa" + integrity sha512-yCzhz6FN2wU1NiiQRogkTQszlQSlpWaw8SvVegAc+bDxbzHgh1vX8uIe8OYyMH6DwH+sdTJsgMl36+mSMdRJIQ== universalify@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/universalify/-/universalify-2.0.0.tgz#75a4984efedc4b08975c5aeb73f530d02df25717" - integrity sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ== + version "2.0.1" + resolved "https://registry.yarnpkg.com/universalify/-/universalify-2.0.1.tgz#168efc2180964e6386d061e094df61afe239b18d" + integrity sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw== unixify@^1.0.0: version "1.0.0" @@ -11453,10 +11098,10 @@ unpipe@1.0.0, unpipe@~1.0.0: resolved "https://registry.yarnpkg.com/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec" integrity sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ== -update-browserslist-db@^1.0.10, update-browserslist-db@^1.0.11: - version "1.0.11" - resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.0.11.tgz#9a2a641ad2907ae7b3616506f4b977851db5b940" - integrity sha512-dCwEFf0/oT85M1fHBg4F0jtLwJrutGoHSQXCh7u4o2t1drG+c0a9Flnqww6XUKSfQMPpJBRjU8d4RXB09qtvaA== +update-browserslist-db@^1.0.13: + version "1.0.13" + resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.0.13.tgz#3c5e4f5c083661bd38ef64b6328c26ed6c8248c4" + integrity sha512-xebP81SNcPuNpPP3uzeW1NYXxI3rxyJzF3pD6sH4jE7o/IX+WtSpwnVU+qIsDPyk0d3hmFQ7mjqc6AtV604hbg== dependencies: escalade "^3.1.1" picocolors "^1.0.0" @@ -11509,7 +11154,7 @@ util-deprecate@^1.0.1, util-deprecate@^1.0.2, util-deprecate@~1.0.1: resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" integrity sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw== -util@^0.12.0: +util@^0.12.5: version "0.12.5" resolved "https://registry.yarnpkg.com/util/-/util-0.12.5.tgz#5f17a6059b73db61a875668781a1c2b136bd6fbc" integrity sha512-kZf/K6hEIrWHI6XqOFUiiMa+79wE/D8Q+NCNAWclkyg3b4d2k7s0QGepNjiABc+aR3N1PAyHL7p6UcLY6LmrnA== @@ -11541,13 +11186,13 @@ v8-compile-cache-lib@^3.0.1: integrity sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg== v8-to-istanbul@^9.0.1: - version "9.1.0" - resolved "https://registry.yarnpkg.com/v8-to-istanbul/-/v8-to-istanbul-9.1.0.tgz#1b83ed4e397f58c85c266a570fc2558b5feb9265" - integrity sha512-6z3GW9x8G1gd+JIIgQQQxXuiJtCXeAjp6RaPEPLv62mH3iPHPxV6W3robxtCzNErRo6ZwTmzWhsbNvjyEBKzKA== + version "9.1.3" + resolved "https://registry.yarnpkg.com/v8-to-istanbul/-/v8-to-istanbul-9.1.3.tgz#ea456604101cd18005ac2cae3cdd1aa058a6306b" + integrity sha512-9lDD+EVI2fjFsMWXc6dy5JJzBsVTcQ2fVkfBvncZ6xJWG9wtBhOldG+mHkSL0+V1K/xgZz0JDO5UT5hFwHUghg== dependencies: "@jridgewell/trace-mapping" "^0.3.12" "@types/istanbul-lib-coverage" "^2.0.1" - convert-source-map "^1.6.0" + convert-source-map "^2.0.0" validate-npm-package-license@^3.0.1, validate-npm-package-license@^3.0.4: version "3.0.4" @@ -11719,11 +11364,12 @@ webpack-dev-server@^4.15.1: ws "^8.13.0" webpack-merge@^5.7.3: - version "5.8.0" - resolved "https://registry.yarnpkg.com/webpack-merge/-/webpack-merge-5.8.0.tgz#2b39dbf22af87776ad744c390223731d30a68f61" - integrity sha512-/SaI7xY0831XwP6kzuwhKWVKDP9t1QY1h65lAFLbZqMPIuYcD9QAW4u9STIbU9kaJbPBB/geU/gLr1wDjOhQ+Q== + version "5.10.0" + resolved "https://registry.yarnpkg.com/webpack-merge/-/webpack-merge-5.10.0.tgz#a3ad5d773241e9c682803abf628d4cd62b8a4177" + integrity sha512-+4zXKdx7UnO+1jaN4l2lHVD+mFvnlZQP/6ljaJVb4SZiwIKeUnrT5l0gkT8z+n4hKpC+jpOv6O9R+gLtag7pSA== dependencies: clone-deep "^4.0.1" + flat "^5.0.2" wildcard "^2.0.0" webpack-sources@^3.2.3: @@ -11732,9 +11378,9 @@ webpack-sources@^3.2.3: integrity sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w== webpack@^5.88.2: - version "5.88.2" - resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.88.2.tgz#f62b4b842f1c6ff580f3fcb2ed4f0b579f4c210e" - integrity sha512-JmcgNZ1iKj+aiR0OvTYtWQqJwq37Pf683dY9bVORwVbUrDhLhdn/PlO2sHsFHPkj7sHNQF3JwaAkp49V+Sq1tQ== + version "5.89.0" + resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.89.0.tgz#56b8bf9a34356e93a6625770006490bf3a7f32dc" + integrity sha512-qyfIC10pOr70V+jkmud8tMfajraGCZMBWJtrmuBymQKCrLTRejBI8STDp1MCyZu/QTdZSeacCQYpYNQVOzX5kw== dependencies: "@types/eslint-scope" "^3.7.3" "@types/estree" "^1.0.0" @@ -11821,28 +11467,16 @@ which-module@^2.0.0: resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.1.tgz#776b1fe35d90aebe99e8ac15eb24093389a4a409" integrity sha512-iBdZ57RDvnOR9AGBhML2vFZf7h8vmBjhoaZqODJBFWHVtKkDmKuHai3cx5PgVMrX5YDNp27AofYbAwctSS+vhQ== -which-typed-array@^1.1.10: - version "1.1.11" - resolved "https://registry.yarnpkg.com/which-typed-array/-/which-typed-array-1.1.11.tgz#99d691f23c72aab6768680805a271b69761ed61a" - integrity sha512-qe9UWWpkeG5yzZ0tNYxDmd7vo58HDBc39mZ0xWWpolAGADdFOzkfamWLDxkOWcvHQKVmdTyQdLD4NOfjLWTKew== - dependencies: - available-typed-arrays "^1.0.5" - call-bind "^1.0.2" - for-each "^0.3.3" - gopd "^1.0.1" - has-tostringtag "^1.0.0" - -which-typed-array@^1.1.2, which-typed-array@^1.1.9: - version "1.1.9" - resolved "https://registry.yarnpkg.com/which-typed-array/-/which-typed-array-1.1.9.tgz#307cf898025848cf995e795e8423c7f337efbde6" - integrity sha512-w9c4xkx6mPidwp7180ckYWfMmvxpjlZuIudNtDf4N/tTAUB8VJbX25qZoAsrtGuYNnGw3pa0AXgbGKRB8/EceA== +which-typed-array@^1.1.11, which-typed-array@^1.1.13, which-typed-array@^1.1.2: + version "1.1.13" + resolved "https://registry.yarnpkg.com/which-typed-array/-/which-typed-array-1.1.13.tgz#870cd5be06ddb616f504e7b039c4c24898184d36" + integrity sha512-P5Nra0qjSncduVPEAr7xhoF5guty49ArDTwzJ/yNuPIbZppyRxFQsRCWrocxIY+CnMVG+qfbU2FmDKyvSGClow== dependencies: available-typed-arrays "^1.0.5" - call-bind "^1.0.2" + call-bind "^1.0.4" for-each "^0.3.3" gopd "^1.0.1" has-tostringtag "^1.0.0" - is-typed-array "^1.1.10" which@^2.0.1, which@^2.0.2: version "2.0.2" @@ -11877,7 +11511,7 @@ wrap-ansi@^5.1.0: string-width "^3.0.0" strip-ansi "^5.0.0" -wrap-ansi@^6.2.0: +wrap-ansi@^6.0.1, wrap-ansi@^6.2.0: version "6.2.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-6.2.0.tgz#e9393ba07102e6c91a3b221478f0257cd2856e53" integrity sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA== @@ -11917,10 +11551,10 @@ write-file-atomic@^4.0.0, write-file-atomic@^4.0.1, write-file-atomic@^4.0.2: imurmurhash "^0.1.4" signal-exit "^3.0.7" -ws@8.13.0, ws@^8.12.0, ws@^8.13.0, ws@^8.8.1: - version "8.13.0" - resolved "https://registry.yarnpkg.com/ws/-/ws-8.13.0.tgz#9a9fb92f93cf41512a0735c8f4dd09b8a1211cd0" - integrity sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA== +ws@8.14.2, ws@^8.12.0, ws@^8.13.0, ws@^8.14.1, ws@^8.8.1: + version "8.14.2" + resolved "https://registry.yarnpkg.com/ws/-/ws-8.14.2.tgz#6c249a806eb2db7a20d26d51e7709eab7b2e6c7f" + integrity sha512-wEBG1ftX4jcglPxgFCMJmZ2PLtSbJ2Peg6TmpJFTbe9GZYOQCDPdMYu/Tm0/bGZkw8paZnJY45J4K2PZrLYq8g== xtend@~4.0.1: version "4.0.2" @@ -11968,9 +11602,9 @@ yaml@^1.10.0: integrity sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg== yaml@^2.2.2, yaml@^2.3.1: - version "2.3.2" - resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.3.2.tgz#f522db4313c671a0ca963a75670f1c12ea909144" - integrity sha512-N/lyzTPaJasoDmfV7YTrYCI0G/3ivm/9wdG0aHuheKowWQwGTsK0Eoiw6utmzAnI6pkJa0DUVygvp3spqqEKXg== + version "2.3.4" + resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.3.4.tgz#53fc1d514be80aabf386dc6001eb29bf3b7523b2" + integrity sha512-8aAvwVUSHpfEqTQ4w/KMlf3HcRdt50E5ODIQJBw1fQ5RL34xabzxtUlzTXVqc4rkZsPbvrXKWnABCD7kWSmocA== yargs-parser@^13.1.2: version "13.1.2" From c38ec8462330a9ae989d828efe78a8bb8b647006 Mon Sep 17 00:00:00 2001 From: Eric Richardson Date: Wed, 29 Nov 2023 15:30:23 -0500 Subject: [PATCH 002/120] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20allow=20offline?= =?UTF-8?q?=20payloads=20without=20signing=20manager?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit do not require a signing manager when preparing a transaction, the check will instead be performed during .run --- src/api/client/Network.ts | 16 ++++++++--- src/api/client/__tests__/Network.ts | 33 ++++++++++++++++++++--- src/base/Context.ts | 29 +++++++++++--------- src/base/PolymeshTransactionBase.ts | 31 +++++++++++++--------- src/base/__tests__/Context.ts | 41 ++++++++++++++++++++++------- src/types/internal.ts | 2 +- 6 files changed, 111 insertions(+), 41 deletions(-) diff --git a/src/api/client/Network.ts b/src/api/client/Network.ts index 387981a365..8d27a7d272 100644 --- a/src/api/client/Network.ts +++ b/src/api/client/Network.ts @@ -189,17 +189,27 @@ export class Network { } /** - * Submits a transaction payload with its signature to the chain + * Submits a transaction payload with its signature to the chain. Signature should be hex encoded + * + * @throws is signature is not prefixed with "0x" */ public async submitTransaction( txPayload: TransactionPayload, - signature: HexString + signature: string ): Promise> { const { context } = this; const { method, payload } = txPayload; const transaction = context.polymeshApi.tx(method); - transaction.addSignature(payload.address, signature, payload); + if (!signature.startsWith('0x')) { + throw new PolymeshError({ + code: ErrorCode.ValidationError, + message: 'Signature should be hex encoded string prefixed with "0x"', + data: { signature }, + }); + } + + transaction.addSignature(payload.address, signature as HexString, payload); const info: Record = { transactionHash: transaction.hash.toString(), diff --git a/src/api/client/__tests__/Network.ts b/src/api/client/__tests__/Network.ts index c86c7ed872..c8a8efdac9 100644 --- a/src/api/client/__tests__/Network.ts +++ b/src/api/client/__tests__/Network.ts @@ -2,13 +2,13 @@ import BigNumber from 'bignumber.js'; import { when } from 'jest-when'; import { Network } from '~/api/client/Network'; -import { Context, PolymeshTransaction } from '~/internal'; +import { Context, PolymeshError, PolymeshTransaction } from '~/internal'; import { eventsByArgs, extrinsicByHash } from '~/middleware/queries'; import { CallIdEnum, EventIdEnum, ModuleIdEnum } from '~/middleware/types'; import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; import { MockTxStatus } from '~/testUtils/mocks/dataSources'; import { Mocked } from '~/testUtils/types'; -import { AccountBalance, MiddlewareMetadata, TransactionPayload, TxTags } from '~/types'; +import { AccountBalance, ErrorCode, MiddlewareMetadata, TransactionPayload, TxTags } from '~/types'; import * as utilsConversionModule from '~/utils/conversion'; jest.mock( @@ -570,7 +570,7 @@ describe('Network Class', () => { await expect(submitPromise).rejects.toThrow(); }); - it('should throw an error if there is an error', async () => { + it('should throw an error if there is an error submitting', async () => { const transaction = dsMockUtils.createTxMock('asset', 'registerTicker', { autoResolve: false, }); @@ -593,5 +593,32 @@ describe('Network Class', () => { await expect(submitPromise).rejects.toThrow(); }); + + it("should throw an error if signature isn't hex encoded", async () => { + const transaction = dsMockUtils.createTxMock('asset', 'registerTicker', { + autoResolve: false, + }); + + // eslint-disable-next-line @typescript-eslint/no-explicit-any + (context.polymeshApi as any).tx = jest.fn().mockReturnValue(transaction); + + const mockPayload = { + payload: {}, + rawPayload: {}, + method: '0x01', + metadata: {}, + } as unknown as TransactionPayload; + + const signature = '01'; + + const expectedError = new PolymeshError({ + code: ErrorCode.ValidationError, + message: 'Signature should be hex encoded string prefixed with "0x"', + }); + + await expect(network.submitTransaction(mockPayload, signature)).rejects.toThrow( + expectedError + ); + }); }); }); diff --git a/src/base/Context.ts b/src/base/Context.ts index 4a64e4eefa..1b5d737773 100644 --- a/src/base/Context.ts +++ b/src/base/Context.ts @@ -225,9 +225,7 @@ export class Context { if (signingManager === null) { this._signingManager = undefined; this.signingAddress = undefined; - // TODO remove cast when polkadot/api >= v10.7.2 - // eslint-disable-next-line @typescript-eslint/no-explicit-any - this._polymeshApi.setSigner(undefined as any); + this._polymeshApi.setSigner(undefined); return; } @@ -249,16 +247,9 @@ export class Context { /** * @hidden */ - public get signingManager(): SigningManager { + public get signingManager(): SigningManager | undefined { const { _signingManager: manager } = this; - if (!manager) { - throw new PolymeshError({ - code: ErrorCode.General, - message: 'There is no Signing Manager attached to the SDK', - }); - } - return manager; } @@ -270,6 +261,10 @@ export class Context { public async getSigningAccounts(): Promise { const { signingManager } = this; + if (!signingManager) { + return []; + } + const accounts = await signingManager.getAccounts(); return accounts.map(address => new Account({ address }, this)); @@ -295,6 +290,14 @@ export class Context { */ public async assertHasSigningAddress(address: string): Promise { const { signingManager } = this; + + if (!signingManager) { + throw new PolymeshError({ + code: ErrorCode.General, + message: 'There is no Signing Manager attached to the SDK', + }); + } + const accounts = await signingManager.getAccounts(); const newSigningAddress = accounts.find(account => { @@ -505,10 +508,10 @@ export class Context { * * Retrieve the external signer from the Signing Manager */ - public getExternalSigner(): PolkadotSigner { + public getExternalSigner(): PolkadotSigner | undefined { const { signingManager } = this; - return signingManager.getExternalSigner(); + return signingManager?.getExternalSigner(); } /** diff --git a/src/base/PolymeshTransactionBase.ts b/src/base/PolymeshTransactionBase.ts index a4be134f48..d501ad6481 100644 --- a/src/base/PolymeshTransactionBase.ts +++ b/src/base/PolymeshTransactionBase.ts @@ -136,7 +136,7 @@ export abstract class PolymeshTransactionBase< * * object that performs the payload signing logic */ - protected signer: PolkadotSigner; + protected signer?: PolkadotSigner; /** * @hidden @@ -706,35 +706,42 @@ export abstract class PolymeshTransactionBase< context.getLatestBlock(), ]); - let era: ReturnType | string = '0x00'; - if (!mortality.immortal) { + let nonce: number = context.getNonce().toNumber(); + if (nonce < 0) { + const nextIndex = await polymeshApi.rpc.system.accountNextIndex(signingAddress); + nonce = nextIndex.toNumber(); + } + + let era; + let blockHash; + if (mortality.immortal) { + blockHash = polymeshApi.genesisHash.toString(); + era = '0x00'; + } else { const defaultPeriod = 64; era = context.createType('ExtrinsicEra', { current: latestBlockNumber.toNumber(), period: mortality.lifetime?.toNumber() ?? defaultPeriod, }); - } - let nonce: number = context.getNonce().toNumber(); - if (nonce < 0) { - const nextIndex = await polymeshApi.rpc.system.accountNextIndex(signingAddress); - - nonce = nextIndex.toNumber(); + blockHash = tipHash.toString(); } - const rawSignerPayload = context.createType('SignerPayload', { + const payloadData = { address: signingAddress, method: tx, nonce, genesisHash: polymeshApi.genesisHash.toString(), - blockHash: tipHash.toString(), + blockHash, specVersion: polymeshApi.runtimeVersion.specVersion, transactionVersion: polymeshApi.runtimeVersion.transactionVersion, runtimeVersion: polymeshApi.runtimeVersion, version: polymeshApi.extrinsicVersion, era, - }); + }; + + const rawSignerPayload = context.createType('SignerPayload', payloadData); return { payload: rawSignerPayload.toPayload(), diff --git a/src/base/__tests__/Context.ts b/src/base/__tests__/Context.ts index 4301f6bf78..f7070725fb 100644 --- a/src/base/__tests__/Context.ts +++ b/src/base/__tests__/Context.ts @@ -196,6 +196,16 @@ describe('Context class', () => { expect(result[0] instanceof Account).toBe(true); expect(result[1] instanceof Account).toBe(true); }); + + it('should return an empty array if signing manager is not set', async () => { + const context = await Context.create({ + polymeshApi: dsMockUtils.getApiInstance(), + middlewareApiV2: dsMockUtils.getMiddlewareApi(), + }); + + const result = await context.getSigningAccounts(); + expect(result).toEqual([]); + }); }); describe('method: setSigningAddress', () => { @@ -240,9 +250,7 @@ describe('Context class', () => { }); // eslint-disable-next-line @typescript-eslint/no-explicit-any - expect(() => (context as any).signingManager).toThrow( - 'There is no Signing Manager attached to the SDK' - ); + expect((context as any).signingManager).toBeUndefined(); const signingManager = dsMockUtils.getSigningManagerInstance({ getExternalSigner: 'signer' as PolkadotSigner, @@ -293,13 +301,8 @@ describe('Context class', () => { await context.setSigningManager(null); - const expectedError = new PolymeshError({ - code: ErrorCode.General, - message: 'There is no Signing Manager attached to the SDK', - }); - // eslint-disable-next-line @typescript-eslint/no-explicit-any - expect(() => (context as any).signingManager).toThrowError(expectedError); + expect((context as any).signingManager).toBeUndefined(); }); }); @@ -328,6 +331,17 @@ describe('Context class', () => { await expect(context.assertHasSigningAddress('otherAddress')).rejects.toThrow(expectedError); }); + it('should throw an error if there is not a signing manager set', async () => { + const expectedError = new PolymeshError({ + code: ErrorCode.General, + message: 'There is no Signing Manager attached to the SDK', + }); + + await context.setSigningManager(null); + + await expect(context.assertHasSigningAddress(address)).rejects.toThrow(expectedError); + }); + it('should not throw an error if the account is present', async () => { await expect(context.assertHasSigningAddress(address)).resolves.not.toThrow(); }); @@ -845,6 +859,15 @@ describe('Context class', () => { expect(context.getExternalSigner()).toBe(signer); }); + + it('should return undefined when no signer is set', async () => { + const context = await Context.create({ + polymeshApi: dsMockUtils.getApiInstance(), + middlewareApiV2: dsMockUtils.getMiddlewareApi(), + }); + + expect(context.getExternalSigner()).toBeUndefined(); + }); }); describe('method: getInvalidDids', () => { diff --git a/src/types/internal.ts b/src/types/internal.ts index 3a1c23dcc1..d3c2d72572 100644 --- a/src/types/internal.ts +++ b/src/types/internal.ts @@ -228,7 +228,7 @@ export interface TransactionConstructionData { /** * object that handles the payload signing logic */ - signer: PolkadotSigner; + signer?: PolkadotSigner; /** * how long the transaction should be valid for */ From d9174da1b045b8e5b868828665479ec0f15e486b Mon Sep 17 00:00:00 2001 From: Eric Richardson Date: Thu, 30 Nov 2023 08:50:41 -0500 Subject: [PATCH 003/120] =?UTF-8?q?style:=20=F0=9F=92=84=20reduce=20submit?= =?UTF-8?q?Transaction=20nesting?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/client/Network.ts | 94 ++++++++++++++++++++------------------- 1 file changed, 48 insertions(+), 46 deletions(-) diff --git a/src/api/client/Network.ts b/src/api/client/Network.ts index 8d27a7d272..dcee9bc6af 100644 --- a/src/api/client/Network.ts +++ b/src/api/client/Network.ts @@ -223,53 +223,55 @@ export class Network { let extrinsicFailedEvent; // isCompleted implies status is one of: isFinalized, isInBlock or isError - if (receipt.isCompleted) { - if (receipt.isInBlock) { - const inBlockHash = status.asInBlock; - info.blockHash = hashToString(inBlockHash); - - // we know that the index has to be set by the time the transaction is included in a block - // eslint-disable-next-line @typescript-eslint/no-non-null-assertion - info.txIndex = new BigNumber(receipt.txIndex!); - - // if the extrinsic failed due to an on-chain error, we should handle it in a special way - [extrinsicFailedEvent] = filterEventRecords(receipt, 'system', 'ExtrinsicFailed', true); - - // extrinsic failed so we can unsubscribe - isLastCallback = !!extrinsicFailedEvent; - } else { - // isFinalized || isError so we know we can unsubscribe - isLastCallback = true; - } - - if (isLastCallback) { - unsubscribing = gettingUnsub.then(unsub => { - unsub(); - }); - } - - /* - * Promise chain that handles all sub-promises in this pass through the signAndSend callback. - * Primarily for consistent error handling - */ - let finishing = Promise.resolve(); - - if (extrinsicFailedEvent) { - const { data } = extrinsicFailedEvent; - - finishing = Promise.all([unsubscribing]).then(() => { - handleExtrinsicFailure(reject, data[0]); - }); - } else if (receipt.isFinalized) { - finishing = Promise.all([unsubscribing]).then(() => { - resolve(info); - }); - } else if (receipt.isError) { - reject(new PolymeshError({ code: ErrorCode.TransactionAborted })); - } - - finishing.catch((err: Error) => reject(err)); + if (!receipt.isCompleted) { + return; } + + if (receipt.isInBlock) { + const inBlockHash = status.asInBlock; + info.blockHash = hashToString(inBlockHash); + + // we know that the index has to be set by the time the transaction is included in a block + // eslint-disable-next-line @typescript-eslint/no-non-null-assertion + info.txIndex = new BigNumber(receipt.txIndex!); + + // if the extrinsic failed due to an on-chain error, we should handle it in a special way + [extrinsicFailedEvent] = filterEventRecords(receipt, 'system', 'ExtrinsicFailed', true); + + // extrinsic failed so we can unsubscribe + isLastCallback = !!extrinsicFailedEvent; + } else { + // isFinalized || isError so we know we can unsubscribe + isLastCallback = true; + } + + if (isLastCallback) { + unsubscribing = gettingUnsub.then(unsub => { + unsub(); + }); + } + + /* + * Promise chain that handles all sub-promises in this pass through the signAndSend callback. + * Primarily for consistent error handling + */ + let finishing = Promise.resolve(); + + if (extrinsicFailedEvent) { + const { data } = extrinsicFailedEvent; + + finishing = Promise.all([unsubscribing]).then(() => { + handleExtrinsicFailure(reject, data[0]); + }); + } else if (receipt.isFinalized) { + finishing = Promise.all([unsubscribing]).then(() => { + resolve(info); + }); + } else if (receipt.isError) { + reject(new PolymeshError({ code: ErrorCode.TransactionAborted })); + } + + finishing.catch((err: Error) => reject(err)); }); }); } From 5af90672c55d85ee54bd04b7741f7d803b7212c4 Mon Sep 17 00:00:00 2001 From: Eric Richardson Date: Thu, 30 Nov 2023 08:59:54 -0500 Subject: [PATCH 004/120] =?UTF-8?q?docs:=20=E2=9C=8F=EF=B8=8F=20improve=20?= =?UTF-8?q?doc=20comment=20wording?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/client/__tests__/Network.ts | 8 ++++++-- src/base/Context.ts | 2 +- src/base/types.ts | 18 +++--------------- 3 files changed, 10 insertions(+), 18 deletions(-) diff --git a/src/api/client/__tests__/Network.ts b/src/api/client/__tests__/Network.ts index c8a8efdac9..c764f51dfa 100644 --- a/src/api/client/__tests__/Network.ts +++ b/src/api/client/__tests__/Network.ts @@ -539,8 +539,12 @@ describe('Network Class', () => { // eslint-disable-next-line @typescript-eslint/no-explicit-any (context.polymeshApi as any).tx = jest.fn().mockReturnValue(transaction); - // eslint-disable-next-line @typescript-eslint/no-explicit-any - const mockPayload = { payload: {}, rawPayload: {}, method: '0x01', metadata: {} } as any; + const mockPayload = { + payload: {}, + rawPayload: {}, + method: '0x01', + metadata: {}, + } as unknown as TransactionPayload; const signature = '0x01'; await network.submitTransaction(mockPayload, signature); diff --git a/src/base/Context.ts b/src/base/Context.ts index 1b5d737773..808ed74a26 100644 --- a/src/base/Context.ts +++ b/src/base/Context.ts @@ -247,7 +247,7 @@ export class Context { /** * @hidden */ - public get signingManager(): SigningManager | undefined { + private get signingManager(): SigningManager | undefined { const { _signingManager: manager } = this; return manager; diff --git a/src/base/types.ts b/src/base/types.ts index f085001e9b..3e9f8cf162 100644 --- a/src/base/types.ts +++ b/src/base/types.ts @@ -14,35 +14,23 @@ export interface TransactionPayload { readonly payload: SignerPayloadJSON; /** - * An alternative representation of the payload for which Polkadot signers providing ".signRaw" expects. - * - * @note if you wish to generate a signature without an external signer, the `data` field should be converted to its byte representation, which should be signed e.g. `const signThis = hexToU8a(rawPayload.data)` + * An alternative representation of the payload for which Polkadot signers providing ".signRaw" expect. * * @note the signature should be prefixed with a single byte to indicate its type. Prepend a zero byte (`0x00`) for ed25519 or a `0x01` byte to indicate sr25519 if the signer implementation does not already do so. */ readonly rawPayload: SignerPayloadRaw; /** - * A hex representation of the core extrinsic information. i.e. the method and args - * - * This does not contain information about who is to sign the transaction. + * A hex representation of the core extrinsic information. i.e. the extrinsic and args, but does not contain information about who is to sign the transaction. * * When submitting the transaction this will be used to construct the extrinsic, to which * the signer payload and signature will be attached to. * - * ```ts - * const transaction = sdk._polkadotApi.tx(txPayload.method) - * transaction.signPayload(signingAddress, signature, payload) - * transaction.send() - * ``` - * - * - * @note The payload also contains the method, however there it is encoded without the "length prefix", to save space for the chain. */ readonly method: HexString; /** - * Additional information can be attached to the payload, such as IDs or memos about the transaction + * Additional information attached to the payload, such as IDs or memos about the transaction */ readonly metadata: Record; } From 7eaedcab88c3cab301ca740781a2d148093a621d Mon Sep 17 00:00:00 2001 From: Eric Richardson Date: Thu, 30 Nov 2023 09:04:06 -0500 Subject: [PATCH 005/120] =?UTF-8?q?style:=20=F0=9F=92=84=20refactor=20subm?= =?UTF-8?q?itTransaction=20nesting?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/client/Network.ts | 94 +++++++++++++++++++-------------------- 1 file changed, 46 insertions(+), 48 deletions(-) diff --git a/src/api/client/Network.ts b/src/api/client/Network.ts index dcee9bc6af..8d27a7d272 100644 --- a/src/api/client/Network.ts +++ b/src/api/client/Network.ts @@ -223,55 +223,53 @@ export class Network { let extrinsicFailedEvent; // isCompleted implies status is one of: isFinalized, isInBlock or isError - if (!receipt.isCompleted) { - return; + if (receipt.isCompleted) { + if (receipt.isInBlock) { + const inBlockHash = status.asInBlock; + info.blockHash = hashToString(inBlockHash); + + // we know that the index has to be set by the time the transaction is included in a block + // eslint-disable-next-line @typescript-eslint/no-non-null-assertion + info.txIndex = new BigNumber(receipt.txIndex!); + + // if the extrinsic failed due to an on-chain error, we should handle it in a special way + [extrinsicFailedEvent] = filterEventRecords(receipt, 'system', 'ExtrinsicFailed', true); + + // extrinsic failed so we can unsubscribe + isLastCallback = !!extrinsicFailedEvent; + } else { + // isFinalized || isError so we know we can unsubscribe + isLastCallback = true; + } + + if (isLastCallback) { + unsubscribing = gettingUnsub.then(unsub => { + unsub(); + }); + } + + /* + * Promise chain that handles all sub-promises in this pass through the signAndSend callback. + * Primarily for consistent error handling + */ + let finishing = Promise.resolve(); + + if (extrinsicFailedEvent) { + const { data } = extrinsicFailedEvent; + + finishing = Promise.all([unsubscribing]).then(() => { + handleExtrinsicFailure(reject, data[0]); + }); + } else if (receipt.isFinalized) { + finishing = Promise.all([unsubscribing]).then(() => { + resolve(info); + }); + } else if (receipt.isError) { + reject(new PolymeshError({ code: ErrorCode.TransactionAborted })); + } + + finishing.catch((err: Error) => reject(err)); } - - if (receipt.isInBlock) { - const inBlockHash = status.asInBlock; - info.blockHash = hashToString(inBlockHash); - - // we know that the index has to be set by the time the transaction is included in a block - // eslint-disable-next-line @typescript-eslint/no-non-null-assertion - info.txIndex = new BigNumber(receipt.txIndex!); - - // if the extrinsic failed due to an on-chain error, we should handle it in a special way - [extrinsicFailedEvent] = filterEventRecords(receipt, 'system', 'ExtrinsicFailed', true); - - // extrinsic failed so we can unsubscribe - isLastCallback = !!extrinsicFailedEvent; - } else { - // isFinalized || isError so we know we can unsubscribe - isLastCallback = true; - } - - if (isLastCallback) { - unsubscribing = gettingUnsub.then(unsub => { - unsub(); - }); - } - - /* - * Promise chain that handles all sub-promises in this pass through the signAndSend callback. - * Primarily for consistent error handling - */ - let finishing = Promise.resolve(); - - if (extrinsicFailedEvent) { - const { data } = extrinsicFailedEvent; - - finishing = Promise.all([unsubscribing]).then(() => { - handleExtrinsicFailure(reject, data[0]); - }); - } else if (receipt.isFinalized) { - finishing = Promise.all([unsubscribing]).then(() => { - resolve(info); - }); - } else if (receipt.isError) { - reject(new PolymeshError({ code: ErrorCode.TransactionAborted })); - } - - finishing.catch((err: Error) => reject(err)); }); }); } From b406316baf497ff5e01c274f2e321ad268a460fe Mon Sep 17 00:00:00 2001 From: Eric Richardson Date: Mon, 4 Dec 2023 10:49:11 -0500 Subject: [PATCH 006/120] =?UTF-8?q?style:=20=F0=9F=92=84=20address=20PR=20?= =?UTF-8?q?comments?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/client/Network.ts | 15 +++++---- src/api/client/__tests__/Network.ts | 52 ++++++++++++----------------- src/base/PolymeshTransactionBase.ts | 5 ++- src/utils/constants.ts | 5 +++ 4 files changed, 38 insertions(+), 39 deletions(-) diff --git a/src/api/client/Network.ts b/src/api/client/Network.ts index 8d27a7d272..ccf8d0c00f 100644 --- a/src/api/client/Network.ts +++ b/src/api/client/Network.ts @@ -1,4 +1,4 @@ -import { HexString } from '@polkadot/util/types'; +import { isHex } from '@polkadot/util'; import BigNumber from 'bignumber.js'; import { handleExtrinsicFailure } from '~/base/utils'; @@ -189,9 +189,9 @@ export class Network { } /** - * Submits a transaction payload with its signature to the chain. Signature should be hex encoded + * Submits a transaction payload with its signature to the chain. `signature` should be hex encoded * - * @throws is signature is not prefixed with "0x" + * @throws if the signature is not hex encoded */ public async submitTransaction( txPayload: TransactionPayload, @@ -202,14 +202,17 @@ export class Network { const transaction = context.polymeshApi.tx(method); if (!signature.startsWith('0x')) { + signature = `0x${signature}`; + } + + if (!isHex(signature)) throw new PolymeshError({ code: ErrorCode.ValidationError, - message: 'Signature should be hex encoded string prefixed with "0x"', + message: '`signature` should be a hex encoded string', data: { signature }, }); - } - transaction.addSignature(payload.address, signature as HexString, payload); + transaction.addSignature(payload.address, signature, payload); const info: Record = { transactionHash: transaction.hash.toString(), diff --git a/src/api/client/__tests__/Network.ts b/src/api/client/__tests__/Network.ts index c764f51dfa..c1b1abfd18 100644 --- a/src/api/client/__tests__/Network.ts +++ b/src/api/client/__tests__/Network.ts @@ -531,6 +531,13 @@ describe('Network Class', () => { dsMockUtils.configureMocks(); }); + const mockPayload = { + payload: {}, + rawPayload: {}, + method: '0x01', + metadata: {}, + } as unknown as TransactionPayload; + it('should submit the transaction to the chain', async () => { const transaction = dsMockUtils.createTxMock('staking', 'bond', { autoResolve: MockTxStatus.Succeeded, @@ -539,17 +546,23 @@ describe('Network Class', () => { // eslint-disable-next-line @typescript-eslint/no-explicit-any (context.polymeshApi as any).tx = jest.fn().mockReturnValue(transaction); - const mockPayload = { - payload: {}, - rawPayload: {}, - method: '0x01', - metadata: {}, - } as unknown as TransactionPayload; - const signature = '0x01'; await network.submitTransaction(mockPayload, signature); }); + it('should handle non prefixed hex strings', async () => { + const transaction = dsMockUtils.createTxMock('asset', 'registerTicker', { + autoResolve: MockTxStatus.Succeeded, + }); + + // eslint-disable-next-line @typescript-eslint/no-explicit-any + (context.polymeshApi as any).tx = jest.fn().mockReturnValue(transaction); + + const signature = '01'; + + await expect(network.submitTransaction(mockPayload, signature)).resolves.not.toThrow(); + }); + it('should throw an error if the status is rejected', async () => { const transaction = dsMockUtils.createTxMock('asset', 'registerTicker', { autoResolve: false, @@ -558,13 +571,6 @@ describe('Network Class', () => { // eslint-disable-next-line @typescript-eslint/no-explicit-any (context.polymeshApi as any).tx = jest.fn().mockReturnValue(transaction); - const mockPayload = { - payload: {}, - rawPayload: {}, - method: '0x01', - metadata: {}, - } as unknown as TransactionPayload; - const signature = '0x01'; const submitPromise = network.submitTransaction(mockPayload, signature); @@ -582,13 +588,6 @@ describe('Network Class', () => { // eslint-disable-next-line @typescript-eslint/no-explicit-any (context.polymeshApi as any).tx = jest.fn().mockReturnValue(transaction); - const mockPayload = { - payload: {}, - rawPayload: {}, - method: '0x01', - metadata: {}, - } as unknown as TransactionPayload; - const signature = '0x01'; const submitPromise = network.submitTransaction(mockPayload, signature); @@ -606,18 +605,11 @@ describe('Network Class', () => { // eslint-disable-next-line @typescript-eslint/no-explicit-any (context.polymeshApi as any).tx = jest.fn().mockReturnValue(transaction); - const mockPayload = { - payload: {}, - rawPayload: {}, - method: '0x01', - metadata: {}, - } as unknown as TransactionPayload; - - const signature = '01'; + const signature = 'xyz'; const expectedError = new PolymeshError({ code: ErrorCode.ValidationError, - message: 'Signature should be hex encoded string prefixed with "0x"', + message: '`signature` should be a hex encoded string', }); await expect(network.submitTransaction(mockPayload, signature)).rejects.toThrow( diff --git a/src/base/PolymeshTransactionBase.ts b/src/base/PolymeshTransactionBase.ts index d501ad6481..f9aa65e1af 100644 --- a/src/base/PolymeshTransactionBase.ts +++ b/src/base/PolymeshTransactionBase.ts @@ -27,6 +27,7 @@ import { TransactionConstructionData, } from '~/types/internal'; import { Ensured } from '~/types/utils'; +import { DEFAULT_LIFETIME_PERIOD } from '~/utils/constants'; import { balanceToBigNumber, hashToString, u32ToBigNumber } from '~/utils/conversion'; import { defusePromise, delay, filterEventRecords } from '~/utils/internal'; @@ -718,11 +719,9 @@ export abstract class PolymeshTransactionBase< blockHash = polymeshApi.genesisHash.toString(); era = '0x00'; } else { - const defaultPeriod = 64; - era = context.createType('ExtrinsicEra', { current: latestBlockNumber.toNumber(), - period: mortality.lifetime?.toNumber() ?? defaultPeriod, + period: mortality.lifetime?.toNumber() ?? DEFAULT_LIFETIME_PERIOD, }); blockHash = tipHash.toString(); diff --git a/src/utils/constants.ts b/src/utils/constants.ts index 5025ce32a4..ad0f3c4d5e 100644 --- a/src/utils/constants.ts +++ b/src/utils/constants.ts @@ -34,6 +34,11 @@ export const DEFAULT_GQL_PAGE_SIZE = 25; */ export const MAX_PAGE_SIZE = new BigNumber(1000); +/** + * The number of blocks a transaction is valid for by default + */ +export const DEFAULT_LIFETIME_PERIOD = 64; + const didTypes = ['PolymeshPrimitivesIdentityId']; const addressTypes = [ From eb7a058fdcd56d8c0a3c9b86974b2ab9959f49b0 Mon Sep 17 00:00:00 2001 From: Prashant Bajpai Date: Tue, 5 Dec 2023 16:42:26 +0530 Subject: [PATCH 007/120] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20Add=20procedure?= =?UTF-8?q?=20to=20clear=20an=20Asset=20Metadata=20value?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/entities/MetadataEntry/index.ts | 45 ++++++++++++- src/api/procedures/clearMetadata.ts | 88 +++++++++++++++++++++++++ src/api/procedures/utils.ts | 29 ++++++++ src/internal.ts | 1 + 4 files changed, 160 insertions(+), 3 deletions(-) create mode 100644 src/api/procedures/clearMetadata.ts diff --git a/src/api/entities/MetadataEntry/index.ts b/src/api/entities/MetadataEntry/index.ts index f75ff05d80..dd51eaba4f 100644 --- a/src/api/entities/MetadataEntry/index.ts +++ b/src/api/entities/MetadataEntry/index.ts @@ -1,7 +1,8 @@ +import { Bytes, Option } from '@polkadot/types-codec'; import BigNumber from 'bignumber.js'; -import { BaseAsset, Context, Entity, setMetadata } from '~/internal'; -import { ProcedureMethod, SetMetadataParams } from '~/types'; +import { BaseAsset, clearMetadata, Context, Entity, setMetadata } from '~/internal'; +import { NoArgsProcedureMethod, ProcedureMethod, SetMetadataParams } from '~/types'; import { bigNumberToU64, bytesToString, @@ -71,6 +72,10 @@ export class MetadataEntry extends Entity { { getProcedureAndArgs: args => [setMetadata, { ...args, metadataEntry: this }] }, context ); + this.clear = createProcedureMethod( + { getProcedureAndArgs: () => [clearMetadata, { metadataEntry: this }], voidArgs: true }, + context + ); } /** @@ -80,6 +85,15 @@ export class MetadataEntry extends Entity { */ public set: ProcedureMethod; + /** + * Removes the asset metadata value + * + * @throws + * - if the Metadata doesn't exists + * - if the Metadata value is locked + */ + public clear: NoArgsProcedureMethod; + /** * Retrieve name and specs for this MetadataEntry */ @@ -160,7 +174,32 @@ export class MetadataEntry extends Entity { * Determine whether this MetadataEntry exists on chain */ public async exists(): Promise { - return true; + const { + context: { + polymeshApi: { + query: { + asset: { assetMetadataGlobalKeyToName, assetMetadataLocalKeyToName }, + }, + }, + }, + id, + type, + asset: { ticker }, + context, + } = this; + + const rawId = bigNumberToU64(id, context); + + let rawName: Option; + + if (type === MetadataType.Global) { + rawName = await assetMetadataGlobalKeyToName(rawId); + } else { + const rawTicker = stringToTicker(ticker, context); + rawName = await assetMetadataLocalKeyToName(rawTicker, rawId); + } + + return rawName.isSome; } /** diff --git a/src/api/procedures/clearMetadata.ts b/src/api/procedures/clearMetadata.ts new file mode 100644 index 0000000000..60c080c26c --- /dev/null +++ b/src/api/procedures/clearMetadata.ts @@ -0,0 +1,88 @@ +import { assertMetadataValueIsNotLocked } from '~/api/procedures/utils'; +import { FungibleAsset, MetadataEntry, PolymeshError, Procedure } from '~/internal'; +import { ErrorCode, TxTags } from '~/types'; +import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; +import { metadataToMeshMetadataKey, stringToTicker } from '~/utils/conversion'; + +/** + * @hidden + */ +export type Params = { + metadataEntry: MetadataEntry; +}; + +/** + * @hidden + */ +export async function prepareClearMetadata( + this: Procedure, + params: Params +): Promise>> { + const { + context: { + polymeshApi: { tx }, + }, + context, + } = this; + + const { + metadataEntry: { + id, + type, + asset: { ticker }, + }, + metadataEntry, + } = params; + + const rawTicker = stringToTicker(ticker, context); + const rawMetadataKey = metadataToMeshMetadataKey(type, id, context); + + const [exists, currentValue] = await Promise.all([metadataEntry.exists(), metadataEntry.value()]); + + if (!exists) { + throw new PolymeshError({ + code: ErrorCode.DataUnavailable, + message: `${type} Metadata with ID ${id.toString()} does not exists for the Asset - ${ticker}`, + }); + } + + if (currentValue) { + assertMetadataValueIsNotLocked(currentValue); + } + + return { + transaction: tx.asset.removeMetadataValue, + args: [rawTicker, rawMetadataKey], + resolver: undefined, + }; +} + +/** + * @hidden + */ +export function getAuthorization( + this: Procedure, + params: Params +): ProcedureAuthorization { + const { context } = this; + + const { + metadataEntry: { + asset: { ticker }, + }, + } = params; + + return { + permissions: { + transactions: [TxTags.asset.RemoveMetadataValue], + assets: [new FungibleAsset({ ticker }, context)], + portfolios: [], + }, + }; +} + +/** + * @hidden + */ +export const clearMetadata = (): Procedure => + new Procedure(prepareClearMetadata, getAuthorization); diff --git a/src/api/procedures/utils.ts b/src/api/procedures/utils.ts index 9f30ce6eef..2346dc4f5a 100644 --- a/src/api/procedures/utils.ts +++ b/src/api/procedures/utils.ts @@ -34,6 +34,8 @@ import { InstructionDetails, InstructionStatus, InstructionType, + MetadataLockStatus, + MetadataValue, PermissionedAccount, PermissionGroupType, PortfolioId, @@ -710,3 +712,30 @@ export async function addManualFees( return fees.reduce((prev, { fees: nextFees }) => prev.plus(nextFees), currentFee); } + +/** + * @hidden + */ +export function assertMetadataValueIsNotLocked(metadataValue: MetadataValue): void { + const { lockStatus } = metadataValue; + + if (lockStatus === MetadataLockStatus.Locked) { + throw new PolymeshError({ + code: ErrorCode.UnmetPrerequisite, + message: 'You cannot set details of a locked Metadata', + }); + } + + if (lockStatus === MetadataLockStatus.LockedUntil) { + const { lockedUntil } = metadataValue; + if (new Date() < lockedUntil) { + throw new PolymeshError({ + code: ErrorCode.UnmetPrerequisite, + message: 'Metadata is currently locked', + data: { + lockedUntil, + }, + }); + } + } +} diff --git a/src/internal.ts b/src/internal.ts index 2fe57385bd..1458965b06 100644 --- a/src/internal.ts +++ b/src/internal.ts @@ -103,6 +103,7 @@ export { BaseAsset, FungibleAsset, NftCollection, Nft } from '~/api/entities/Ass export { MetadataEntry } from '~/api/entities/MetadataEntry'; export { registerMetadata } from '~/api/procedures/registerMetadata'; export { setMetadata } from '~/api/procedures/setMetadata'; +export { clearMetadata } from '~/api/procedures/clearMetadata'; export { AuthorizationRequest } from '~/api/entities/AuthorizationRequest'; export { DefaultTrustedClaimIssuer } from '~/api/entities/DefaultTrustedClaimIssuer'; export { Offering } from '~/api/entities/Offering'; From 817541d167109d16eb3b4edbd712e87f87488f0f Mon Sep 17 00:00:00 2001 From: Prashant Bajpai Date: Tue, 5 Dec 2023 18:01:22 +0530 Subject: [PATCH 008/120] =?UTF-8?q?test:=20=F0=9F=92=8D=20Add=20unit=20tes?= =?UTF-8?q?ts?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../entities/MetadataEntry/__tests__/index.ts | 15 +++ src/api/procedures/__tests__/clearMetadata.ts | 122 ++++++++++++++++++ src/api/procedures/__tests__/utils.ts | 93 +++++++++++++ src/api/procedures/clearMetadata.ts | 19 +-- src/api/procedures/utils.ts | 47 +++++-- 5 files changed, 268 insertions(+), 28 deletions(-) create mode 100644 src/api/procedures/__tests__/clearMetadata.ts diff --git a/src/api/entities/MetadataEntry/__tests__/index.ts b/src/api/entities/MetadataEntry/__tests__/index.ts index e2f358f157..f93fa5b051 100644 --- a/src/api/entities/MetadataEntry/__tests__/index.ts +++ b/src/api/entities/MetadataEntry/__tests__/index.ts @@ -93,6 +93,21 @@ describe('MetadataEntry class', () => { }); }); + describe('method: clear', () => { + it('should prepare the procedure and return the resulting transaction', async () => { + const expectedTransaction = + 'someTransaction' as unknown as PolymeshTransaction; + + when(procedureMockUtils.getPrepareMock()) + .calledWith({ args: { metadataEntry }, transformer: undefined }, context, {}) + .mockResolvedValue(expectedTransaction); + + const tx = await metadataEntry.clear(); + + expect(tx).toBe(expectedTransaction); + }); + }); + describe('method: details', () => { afterAll(() => { jest.restoreAllMocks(); diff --git a/src/api/procedures/__tests__/clearMetadata.ts b/src/api/procedures/__tests__/clearMetadata.ts new file mode 100644 index 0000000000..5bea47409c --- /dev/null +++ b/src/api/procedures/__tests__/clearMetadata.ts @@ -0,0 +1,122 @@ +import { + PolymeshPrimitivesAssetMetadataAssetMetadataKey, + PolymeshPrimitivesTicker, +} from '@polkadot/types/lookup'; +import BigNumber from 'bignumber.js'; +import { when } from 'jest-when'; + +import { getAuthorization, Params, prepareClearMetadata } from '~/api/procedures/clearMetadata'; +import * as procedureUtilsModule from '~/api/procedures/utils'; +import { Context, MetadataEntry } from '~/internal'; +import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; +import { Mocked } from '~/testUtils/types'; +import { MetadataType, TxTags } from '~/types'; +import { PolymeshTx } from '~/types/internal'; +import * as utilsConversionModule from '~/utils/conversion'; + +jest.mock( + '~/api/entities/Asset/Fungible', + require('~/testUtils/mocks/entities').mockFungibleAssetModule('~/api/entities/Asset/Fungible') +); +jest.mock( + '~/api/entities/MetadataEntry', + require('~/testUtils/mocks/entities').mockMetadataEntryModule('~/api/entities/MetadataEntry') +); + +describe('clearMetadata procedure', () => { + let mockContext: Mocked; + let stringToTickerSpy: jest.SpyInstance; + let metadataToMeshMetadataKeySpy: jest.SpyInstance; + + let ticker: string; + let id: BigNumber; + let type: MetadataType; + let rawTicker: PolymeshPrimitivesTicker; + let rawMetadataKey: PolymeshPrimitivesAssetMetadataAssetMetadataKey; + let params: Params; + + let removeMetadataValueMock: PolymeshTx< + [PolymeshPrimitivesTicker, PolymeshPrimitivesAssetMetadataAssetMetadataKey] + >; + + let metadataEntry: MetadataEntry; + + beforeAll(() => { + dsMockUtils.initMocks(); + procedureMockUtils.initMocks(); + entityMockUtils.initMocks(); + + stringToTickerSpy = jest.spyOn(utilsConversionModule, 'stringToTicker'); + metadataToMeshMetadataKeySpy = jest.spyOn(utilsConversionModule, 'metadataToMeshMetadataKey'); + + jest.spyOn(procedureUtilsModule, 'assertMetadataValueIsModifiable'); + }); + + beforeEach(() => { + mockContext = dsMockUtils.getContextInstance(); + ticker = 'SOME_TICKER'; + rawTicker = dsMockUtils.createMockTicker(ticker); + + id = new BigNumber(1); + type = MetadataType.Local; + + metadataEntry = entityMockUtils.getMetadataEntryInstance({ + id, + type, + ticker, + }); + + params = { metadataEntry }; + + when(stringToTickerSpy).calledWith(ticker, mockContext).mockReturnValue(rawTicker); + + rawMetadataKey = dsMockUtils.createMockAssetMetadataKey({ + Local: dsMockUtils.createMockU64(id), + }); + when(metadataToMeshMetadataKeySpy) + .calledWith(type, id, mockContext) + .mockReturnValue(rawMetadataKey); + + removeMetadataValueMock = dsMockUtils.createTxMock('asset', 'removeMetadataValue'); + }); + + afterEach(() => { + entityMockUtils.reset(); + procedureMockUtils.reset(); + dsMockUtils.reset(); + }); + + afterAll(() => { + procedureMockUtils.cleanup(); + dsMockUtils.cleanup(); + jest.restoreAllMocks(); + }); + + it('should return a remove metadata value transaction spec', async () => { + const proc = procedureMockUtils.getInstance(mockContext); + + const result = await prepareClearMetadata.call(proc, params); + + expect(result).toEqual({ + transaction: removeMetadataValueMock, + args: [rawTicker, rawMetadataKey], + resolver: undefined, + }); + }); + + describe('getAuthorization', () => { + it('should return the appropriate roles and permissions', () => { + const proc = procedureMockUtils.getInstance(mockContext); + + const boundFunc = getAuthorization.bind(proc); + + expect(boundFunc(params)).toEqual({ + permissions: { + transactions: [TxTags.asset.RemoveMetadataValue], + assets: [expect.objectContaining({ ticker })], + portfolios: [], + }, + }); + }); + }); +}); diff --git a/src/api/procedures/__tests__/utils.ts b/src/api/procedures/__tests__/utils.ts index bd53090adf..ffcb7faed2 100644 --- a/src/api/procedures/__tests__/utils.ts +++ b/src/api/procedures/__tests__/utils.ts @@ -11,6 +11,7 @@ import { assertGroupDoesNotExist, assertInstructionValid, assertInstructionValidForManualExecution, + assertMetadataValueIsModifiable, assertPortfolioExists, assertRequirementsNotTooComplex, assertSecondaryAccounts, @@ -43,6 +44,9 @@ import { InstructionDetails, InstructionStatus, InstructionType, + MetadataEntry, + MetadataLockStatus, + MetadataType, PermissionGroupType, PermissionType, Signer, @@ -1721,3 +1725,92 @@ describe('getGroupFromPermissions', () => { expect(result).toBeUndefined(); }); }); + +describe('assertMetadataValueIsModifiable', () => { + let ticker: string; + let id: BigNumber; + let type: MetadataType; + let metadataEntry: MetadataEntry; + + beforeAll(() => { + entityMockUtils.initMocks(); + dsMockUtils.initMocks(); + }); + + beforeEach(() => { + ticker = 'SOME_TICKER'; + id = new BigNumber(1); + type = MetadataType.Local; + }); + + afterEach(() => { + entityMockUtils.reset(); + }); + + it('should not throw any error for valid MetadataEntry', () => { + metadataEntry = entityMockUtils.getMetadataEntryInstance({ + id, + type, + ticker, + exists: true, + }); + return expect(assertMetadataValueIsModifiable(metadataEntry)).resolves.not.toThrow(); + }); + + it('should throw an error if the MetadataEntry does not exists', async () => { + metadataEntry = entityMockUtils.getMetadataEntryInstance({ + id, + type, + ticker, + exists: false, + }); + const error = new PolymeshError({ + code: ErrorCode.DataUnavailable, + message: `${type} Metadata with ID ${id.toString()} does not exists for the Asset - ${ticker}`, + }); + return expect(assertMetadataValueIsModifiable(metadataEntry)).rejects.toThrow(error); + }); + + it('should throw an error if the MetadataEntry status is Locked', async () => { + metadataEntry = entityMockUtils.getMetadataEntryInstance({ + id, + type, + ticker, + exists: true, + value: { + value: 'SOME_VALUE', + expiry: null, + lockStatus: MetadataLockStatus.Locked, + }, + }); + const error = new PolymeshError({ + code: ErrorCode.UnmetPrerequisite, + message: 'You cannot modify a locked Metadata', + }); + return expect(assertMetadataValueIsModifiable(metadataEntry)).rejects.toThrow(error); + }); + + it('should throw an error if the MetadataEntry is still in locked phase', async () => { + const lockedUntil = new Date('2099/01/01'); + metadataEntry = entityMockUtils.getMetadataEntryInstance({ + id, + type, + ticker, + exists: true, + value: { + value: 'SOME_VALUE', + expiry: null, + lockStatus: MetadataLockStatus.LockedUntil, + lockedUntil, + }, + }); + const error = new PolymeshError({ + code: ErrorCode.UnmetPrerequisite, + message: 'Metadata is currently locked', + data: { + lockedUntil, + }, + }); + return expect(assertMetadataValueIsModifiable(metadataEntry)).rejects.toThrow(error); + }); +}); diff --git a/src/api/procedures/clearMetadata.ts b/src/api/procedures/clearMetadata.ts index 60c080c26c..9825810efb 100644 --- a/src/api/procedures/clearMetadata.ts +++ b/src/api/procedures/clearMetadata.ts @@ -1,6 +1,6 @@ -import { assertMetadataValueIsNotLocked } from '~/api/procedures/utils'; -import { FungibleAsset, MetadataEntry, PolymeshError, Procedure } from '~/internal'; -import { ErrorCode, TxTags } from '~/types'; +import { assertMetadataValueIsModifiable } from '~/api/procedures/utils'; +import { FungibleAsset, MetadataEntry, Procedure } from '~/internal'; +import { TxTags } from '~/types'; import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; import { metadataToMeshMetadataKey, stringToTicker } from '~/utils/conversion'; @@ -37,18 +37,7 @@ export async function prepareClearMetadata( const rawTicker = stringToTicker(ticker, context); const rawMetadataKey = metadataToMeshMetadataKey(type, id, context); - const [exists, currentValue] = await Promise.all([metadataEntry.exists(), metadataEntry.value()]); - - if (!exists) { - throw new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: `${type} Metadata with ID ${id.toString()} does not exists for the Asset - ${ticker}`, - }); - } - - if (currentValue) { - assertMetadataValueIsNotLocked(currentValue); - } + await assertMetadataValueIsModifiable(metadataEntry); return { transaction: tx.asset.removeMetadataValue, diff --git a/src/api/procedures/utils.ts b/src/api/procedures/utils.ts index 2346dc4f5a..e8cd0cc38b 100644 --- a/src/api/procedures/utils.ts +++ b/src/api/procedures/utils.ts @@ -34,8 +34,8 @@ import { InstructionDetails, InstructionStatus, InstructionType, + MetadataEntry, MetadataLockStatus, - MetadataValue, PermissionedAccount, PermissionGroupType, PortfolioId, @@ -714,28 +714,49 @@ export async function addManualFees( } /** + * Checks that Metadata exists and that it's value is not locked * @hidden */ -export function assertMetadataValueIsNotLocked(metadataValue: MetadataValue): void { - const { lockStatus } = metadataValue; +export async function assertMetadataValueIsModifiable(metadataEntry: MetadataEntry): Promise { + const { + id, + type, + asset: { ticker }, + } = metadataEntry; + const [exists, metadataValue] = await Promise.all([ + metadataEntry.exists(), + metadataEntry.value(), + ]); - if (lockStatus === MetadataLockStatus.Locked) { + if (!exists) { throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'You cannot set details of a locked Metadata', + code: ErrorCode.DataUnavailable, + message: `${type} Metadata with ID ${id.toString()} does not exists for the Asset - ${ticker}`, }); } - if (lockStatus === MetadataLockStatus.LockedUntil) { - const { lockedUntil } = metadataValue; - if (new Date() < lockedUntil) { + if (metadataValue) { + const { lockStatus } = metadataValue; + + if (lockStatus === MetadataLockStatus.Locked) { throw new PolymeshError({ code: ErrorCode.UnmetPrerequisite, - message: 'Metadata is currently locked', - data: { - lockedUntil, - }, + message: 'You cannot modify a locked Metadata', }); } + + if (lockStatus === MetadataLockStatus.LockedUntil) { + const { lockedUntil } = metadataValue; + console.log(lockedUntil); + if (new Date() < lockedUntil) { + throw new PolymeshError({ + code: ErrorCode.UnmetPrerequisite, + message: 'Metadata is currently locked', + data: { + lockedUntil, + }, + }); + } + } } } From 8b7f7b4f1d31c6e1928e0e9c7b964d82d1491e72 Mon Sep 17 00:00:00 2001 From: Prashant Bajpai Date: Tue, 5 Dec 2023 18:26:42 +0530 Subject: [PATCH 009/120] =?UTF-8?q?test:=20=F0=9F=92=8D=20Add=20tests=20fo?= =?UTF-8?q?r=20MetadataEntry.exists()?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../entities/MetadataEntry/__tests__/index.ts | 36 +++++++++++++++++-- 1 file changed, 33 insertions(+), 3 deletions(-) diff --git a/src/api/entities/MetadataEntry/__tests__/index.ts b/src/api/entities/MetadataEntry/__tests__/index.ts index f93fa5b051..aca8a598a7 100644 --- a/src/api/entities/MetadataEntry/__tests__/index.ts +++ b/src/api/entities/MetadataEntry/__tests__/index.ts @@ -194,9 +194,39 @@ describe('MetadataEntry class', () => { }); describe('method: exists', () => { - it('should return whether the MetadataEntry exists', async () => { - const result = await metadataEntry.exists(); - expect(result).toBe(true); + beforeAll(() => { + jest.spyOn(utilsConversionModule, 'bigNumberToU64').mockImplementation(); + }); + + afterAll(() => { + jest.restoreAllMocks(); + }); + + it('should return whether a global Metadata Entry exists', async () => { + dsMockUtils.createQueryMock('asset', 'assetMetadataGlobalKeyToName', { + returnValue: dsMockUtils.createMockOption(), + }); + + metadataEntry = new MetadataEntry({ id, ticker, type: MetadataType.Global }, context); + + await expect(metadataEntry.exists()).resolves.toBeFalsy(); + + dsMockUtils.createQueryMock('asset', 'assetMetadataGlobalKeyToName', { + returnValue: dsMockUtils.createMockOption(dsMockUtils.createMockBytes('someName')), + }); + await expect(metadataEntry.exists()).resolves.toBeTruthy(); + }); + + it('should return whether a local Metadata Entry exists', async () => { + dsMockUtils.createQueryMock('asset', 'assetMetadataLocalKeyToName', { + returnValue: dsMockUtils.createMockOption(), + }); + await expect(metadataEntry.exists()).resolves.toBeFalsy(); + + dsMockUtils.createQueryMock('asset', 'assetMetadataLocalKeyToName', { + returnValue: dsMockUtils.createMockOption(dsMockUtils.createMockBytes('someName')), + }); + await expect(metadataEntry.exists()).resolves.toBeTruthy(); }); }); From 6d6300e43ac25d978ebf62430703724f9fe8f8f3 Mon Sep 17 00:00:00 2001 From: Eric Richardson Date: Wed, 6 Dec 2023 09:16:18 -0500 Subject: [PATCH 010/120] =?UTF-8?q?docs:=20=E2=9C=8F=EF=B8=8F=20add=20@hid?= =?UTF-8?q?den=20to=20extrinsic=20failure=20helper?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit resolves a warning docs build would log --- src/base/utils.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/base/utils.ts b/src/base/utils.ts index f19621a363..414fc37957 100644 --- a/src/base/utils.ts +++ b/src/base/utils.ts @@ -143,6 +143,9 @@ export const processType = (rawType: TypeDef, name: string): TransactionArgument } }; +/** + * @hidden + */ export const handleExtrinsicFailure = ( reject: (reason?: unknown) => void, error: SpRuntimeDispatchError, From fd1e97360ae8428e090b6782c408c76f04debe9e Mon Sep 17 00:00:00 2001 From: Prashant Bajpai Date: Wed, 6 Dec 2023 20:08:52 +0530 Subject: [PATCH 011/120] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20Add=20procedure?= =?UTF-8?q?=20to=20remove=20a=20local=20Asset=20Metadata?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../entities/MetadataEntry/__tests__/index.ts | 15 ++ src/api/entities/MetadataEntry/index.ts | 26 ++- .../__tests__/removeLocalMetadata.ts | 150 ++++++++++++++++++ src/api/procedures/removeLocalMetadata.ts | 105 ++++++++++++ src/api/procedures/utils.ts | 2 +- src/internal.ts | 1 + 6 files changed, 297 insertions(+), 2 deletions(-) create mode 100644 src/api/procedures/__tests__/removeLocalMetadata.ts create mode 100644 src/api/procedures/removeLocalMetadata.ts diff --git a/src/api/entities/MetadataEntry/__tests__/index.ts b/src/api/entities/MetadataEntry/__tests__/index.ts index aca8a598a7..d73f59edd2 100644 --- a/src/api/entities/MetadataEntry/__tests__/index.ts +++ b/src/api/entities/MetadataEntry/__tests__/index.ts @@ -108,6 +108,21 @@ describe('MetadataEntry class', () => { }); }); + describe('method: remove', () => { + it('should prepare the procedure and return the resulting transaction', async () => { + const expectedTransaction = + 'someTransaction' as unknown as PolymeshTransaction; + + when(procedureMockUtils.getPrepareMock()) + .calledWith({ args: { metadataEntry }, transformer: undefined }, context, {}) + .mockResolvedValue(expectedTransaction); + + const tx = await metadataEntry.remove(); + + expect(tx).toBe(expectedTransaction); + }); + }); + describe('method: details', () => { afterAll(() => { jest.restoreAllMocks(); diff --git a/src/api/entities/MetadataEntry/index.ts b/src/api/entities/MetadataEntry/index.ts index dd51eaba4f..560d7dfe73 100644 --- a/src/api/entities/MetadataEntry/index.ts +++ b/src/api/entities/MetadataEntry/index.ts @@ -1,7 +1,14 @@ import { Bytes, Option } from '@polkadot/types-codec'; import BigNumber from 'bignumber.js'; -import { BaseAsset, clearMetadata, Context, Entity, setMetadata } from '~/internal'; +import { + BaseAsset, + clearMetadata, + Context, + Entity, + removeLocalMetadata, + setMetadata, +} from '~/internal'; import { NoArgsProcedureMethod, ProcedureMethod, SetMetadataParams } from '~/types'; import { bigNumberToU64, @@ -76,6 +83,10 @@ export class MetadataEntry extends Entity { { getProcedureAndArgs: () => [clearMetadata, { metadataEntry: this }], voidArgs: true }, context ); + this.remove = createProcedureMethod( + { getProcedureAndArgs: () => [removeLocalMetadata, { metadataEntry: this }], voidArgs: true }, + context + ); } /** @@ -94,6 +105,19 @@ export class MetadataEntry extends Entity { */ public clear: NoArgsProcedureMethod; + /** + * Removes a local Asset Metadata key along with its value + * + * @note A global Metadata key cannot be deleted + * + * @throws + * - if the Metadata type is global + * - if the Metadata doesn't exists + * - if the Metadata value is locked + * - if the Metadata is a mandatory key for any NFT Collection + */ + public remove: NoArgsProcedureMethod; + /** * Retrieve name and specs for this MetadataEntry */ diff --git a/src/api/procedures/__tests__/removeLocalMetadata.ts b/src/api/procedures/__tests__/removeLocalMetadata.ts new file mode 100644 index 0000000000..8b084ece64 --- /dev/null +++ b/src/api/procedures/__tests__/removeLocalMetadata.ts @@ -0,0 +1,150 @@ +import { + PolymeshPrimitivesAssetMetadataAssetMetadataKey, + PolymeshPrimitivesTicker, +} from '@polkadot/types/lookup'; +import { u64 } from '@polkadot/types-codec'; +import BigNumber from 'bignumber.js'; +import { when } from 'jest-when'; + +import { + getAuthorization, + Params, + prepareRemoveLocalMetadata, +} from '~/api/procedures/removeLocalMetadata'; +import * as procedureUtilsModule from '~/api/procedures/utils'; +import { Context, MetadataEntry, PolymeshError } from '~/internal'; +import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; +import { Mocked } from '~/testUtils/types'; +import { ErrorCode, MetadataType, TxTags } from '~/types'; +import { PolymeshTx } from '~/types/internal'; +import * as utilsConversionModule from '~/utils/conversion'; + +jest.mock( + '~/api/entities/Asset/Fungible', + require('~/testUtils/mocks/entities').mockFungibleAssetModule('~/api/entities/Asset/Fungible') +); +jest.mock( + '~/api/entities/MetadataEntry', + require('~/testUtils/mocks/entities').mockMetadataEntryModule('~/api/entities/MetadataEntry') +); + +describe('removeLocalMetadata procedure', () => { + let mockContext: Mocked; + let stringToTickerSpy: jest.SpyInstance; + let bigNumberToU64Spy: jest.SpyInstance; + let collectionTickerMock: jest.Mock; + + let ticker: string; + let rawTicker: PolymeshPrimitivesTicker; + let id: BigNumber; + let rawKey: u64; + + let type: MetadataType; + let params: Params; + + let rawMetadataKey: PolymeshPrimitivesAssetMetadataAssetMetadataKey; + + let removeLocalMetadataKeyMock: PolymeshTx< + [PolymeshPrimitivesTicker, PolymeshPrimitivesAssetMetadataAssetMetadataKey] + >; + + let metadataEntry: MetadataEntry; + + beforeAll(() => { + dsMockUtils.initMocks(); + procedureMockUtils.initMocks(); + entityMockUtils.initMocks(); + + stringToTickerSpy = jest.spyOn(utilsConversionModule, 'stringToTicker'); + bigNumberToU64Spy = jest.spyOn(utilsConversionModule, 'bigNumberToU64'); + + jest.spyOn(procedureUtilsModule, 'assertMetadataValueIsModifiable'); + }); + + beforeEach(() => { + mockContext = dsMockUtils.getContextInstance(); + ticker = 'SOME_TICKER'; + rawTicker = dsMockUtils.createMockTicker(ticker); + + id = new BigNumber(1); + type = MetadataType.Local; + + metadataEntry = entityMockUtils.getMetadataEntryInstance({ + id, + type, + ticker, + }); + + params = { metadataEntry }; + + rawMetadataKey = dsMockUtils.createMockAssetMetadataKey({ + Local: dsMockUtils.createMockU64(id), + }); + + when(stringToTickerSpy).calledWith(ticker, mockContext).mockReturnValue(rawTicker); + + rawKey = dsMockUtils.createMockU64(id); + when(bigNumberToU64Spy).calledWith(id, mockContext).mockReturnValue(rawKey); + + removeLocalMetadataKeyMock = dsMockUtils.createTxMock('asset', 'removeLocalMetadataKey'); + collectionTickerMock = dsMockUtils.createQueryMock('nft', 'collectionTicker'); + + collectionTickerMock.mockReturnValue(dsMockUtils.createMockU64(new BigNumber(0))); + }); + + afterEach(() => { + entityMockUtils.reset(); + procedureMockUtils.reset(); + dsMockUtils.reset(); + }); + + afterAll(() => { + procedureMockUtils.cleanup(); + dsMockUtils.cleanup(); + jest.restoreAllMocks(); + }); + + it('should return a remove local metadata key transaction spec', async () => { + const proc = procedureMockUtils.getInstance(mockContext); + + const result = await prepareRemoveLocalMetadata.call(proc, params); + + expect(result).toEqual({ + transaction: removeLocalMetadataKeyMock, + args: [rawTicker, rawKey], + resolver: undefined, + }); + }); + + it('should throw an error if the Metadata entry is mandatory NFT collection key', () => { + collectionTickerMock.mockReturnValue(dsMockUtils.createMockU64(new BigNumber(1))); + dsMockUtils.createQueryMock('nft', 'collectionKeys', { + returnValue: dsMockUtils.createMockBTreeSet([rawMetadataKey]), + }); + const proc = procedureMockUtils.getInstance(mockContext); + + const result = prepareRemoveLocalMetadata.call(proc, params); + + const expectedError = new PolymeshError({ + code: ErrorCode.UnmetPrerequisite, + message: 'Cannot delete a mandatory NFT Collection Key', + }); + return expect(result).rejects.toThrow(expectedError); + }); + + describe('getAuthorization', () => { + it('should return the appropriate roles and permissions', () => { + const proc = procedureMockUtils.getInstance(mockContext); + + const boundFunc = getAuthorization.bind(proc); + + expect(boundFunc(params)).toEqual({ + permissions: { + transactions: [TxTags.asset.RemoveLocalMetadataKey], + assets: [expect.objectContaining({ ticker })], + portfolios: [], + }, + }); + }); + }); +}); diff --git a/src/api/procedures/removeLocalMetadata.ts b/src/api/procedures/removeLocalMetadata.ts new file mode 100644 index 0000000000..5ba2e90015 --- /dev/null +++ b/src/api/procedures/removeLocalMetadata.ts @@ -0,0 +1,105 @@ +import { assertMetadataValueIsModifiable } from '~/api/procedures/utils'; +import { FungibleAsset, MetadataEntry, PolymeshError, Procedure } from '~/internal'; +import { ErrorCode, MetadataType, TxTags } from '~/types'; +import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; +import { bigNumberToU64, meshMetadataKeyToMetadataKey, stringToTicker } from '~/utils/conversion'; + +/** + * @hidden + */ +export type Params = { + metadataEntry: MetadataEntry; +}; + +/** + * @hidden + */ +export async function prepareRemoveLocalMetadata( + this: Procedure, + params: Params +): Promise>> { + const { + context: { + polymeshApi: { + tx, + query: { + nft: { collectionKeys, collectionTicker }, + }, + }, + }, + context, + } = this; + + const { + metadataEntry: { + id, + type, + asset: { ticker }, + }, + metadataEntry, + } = params; + + if (type === MetadataType.Global) { + throw new PolymeshError({ + code: ErrorCode.UnmetPrerequisite, + message: 'Global Metadata keys cannot be deleted', + }); + } + + const rawTicker = stringToTicker(ticker, context); + const rawKeyId = bigNumberToU64(id, context); + + const collectionKey = await collectionTicker(rawTicker); + + if (!collectionKey.isZero()) { + const rawKeys = await collectionKeys(collectionKey); + const isRequired = [...rawKeys].some(value => + meshMetadataKeyToMetadataKey(value, ticker).id.eq(id) + ); + + if (isRequired) { + throw new PolymeshError({ + code: ErrorCode.UnmetPrerequisite, + message: 'Cannot delete a mandatory NFT Collection Key', + }); + } + } + + await assertMetadataValueIsModifiable(metadataEntry); + + return { + transaction: tx.asset.removeLocalMetadataKey, + args: [rawTicker, rawKeyId], + resolver: undefined, + }; +} + +/** + * @hidden + */ +export function getAuthorization( + this: Procedure, + params: Params +): ProcedureAuthorization { + const { context } = this; + + const { + metadataEntry: { + asset: { ticker }, + }, + } = params; + + return { + permissions: { + transactions: [TxTags.asset.RemoveLocalMetadataKey], + assets: [new FungibleAsset({ ticker }, context)], + portfolios: [], + }, + }; +} + +/** + * @hidden + */ +export const removeLocalMetadata = (): Procedure => + new Procedure(prepareRemoveLocalMetadata, getAuthorization); diff --git a/src/api/procedures/utils.ts b/src/api/procedures/utils.ts index e8cd0cc38b..10f9705d00 100644 --- a/src/api/procedures/utils.ts +++ b/src/api/procedures/utils.ts @@ -747,7 +747,7 @@ export async function assertMetadataValueIsModifiable(metadataEntry: MetadataEnt if (lockStatus === MetadataLockStatus.LockedUntil) { const { lockedUntil } = metadataValue; - console.log(lockedUntil); + if (new Date() < lockedUntil) { throw new PolymeshError({ code: ErrorCode.UnmetPrerequisite, diff --git a/src/internal.ts b/src/internal.ts index 1458965b06..607015ba38 100644 --- a/src/internal.ts +++ b/src/internal.ts @@ -104,6 +104,7 @@ export { MetadataEntry } from '~/api/entities/MetadataEntry'; export { registerMetadata } from '~/api/procedures/registerMetadata'; export { setMetadata } from '~/api/procedures/setMetadata'; export { clearMetadata } from '~/api/procedures/clearMetadata'; +export { removeLocalMetadata } from '~/api/procedures/removeLocalMetadata'; export { AuthorizationRequest } from '~/api/entities/AuthorizationRequest'; export { DefaultTrustedClaimIssuer } from '~/api/entities/DefaultTrustedClaimIssuer'; export { Offering } from '~/api/entities/Offering'; From 0eb78fd60a331da3137d2e42987ecad7bcd0c507 Mon Sep 17 00:00:00 2001 From: Prashant Bajpai Date: Wed, 6 Dec 2023 20:49:07 +0530 Subject: [PATCH 012/120] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20Add=20`isModifia?= =?UTF-8?q?ble`=20method=20to=20`MetadataEntry`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This method returns if the underlying metadata entry can be modified (exists and is not locked) --- .../entities/MetadataEntry/__tests__/index.ts | 91 +++++++++++++++++- src/api/entities/MetadataEntry/index.ts | 69 +++++++++++++- src/api/procedures/__tests__/clearMetadata.ts | 32 +++++-- .../__tests__/removeLocalMetadata.ts | 28 ++++-- src/api/procedures/__tests__/utils.ts | 93 ------------------- src/api/procedures/clearMetadata.ts | 7 +- src/api/procedures/removeLocalMetadata.ts | 10 +- src/api/procedures/utils.ts | 50 ---------- src/testUtils/mocks/entities.ts | 16 +++- 9 files changed, 227 insertions(+), 169 deletions(-) diff --git a/src/api/entities/MetadataEntry/__tests__/index.ts b/src/api/entities/MetadataEntry/__tests__/index.ts index d73f59edd2..a2f70ce407 100644 --- a/src/api/entities/MetadataEntry/__tests__/index.ts +++ b/src/api/entities/MetadataEntry/__tests__/index.ts @@ -1,9 +1,9 @@ import BigNumber from 'bignumber.js'; import { when } from 'jest-when'; -import { Context, Entity, MetadataEntry, PolymeshTransaction } from '~/internal'; +import { Context, Entity, MetadataEntry, PolymeshError, PolymeshTransaction } from '~/internal'; import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { MetadataLockStatus, MetadataSpec, MetadataType, MetadataValue } from '~/types'; +import { ErrorCode, MetadataLockStatus, MetadataSpec, MetadataType, MetadataValue } from '~/types'; import * as utilsConversionModule from '~/utils/conversion'; jest.mock( @@ -245,6 +245,93 @@ describe('MetadataEntry class', () => { }); }); + describe('method: isModifiable', () => { + let existsSpy: jest.SpyInstance; + let valueSpy: jest.SpyInstance; + + beforeEach(() => { + existsSpy = jest.spyOn(metadataEntry, 'exists'); + valueSpy = jest.spyOn(metadataEntry, 'value'); + }); + + it('should return canModify as true if MetadataEntry exists and can be modified', async () => { + existsSpy.mockResolvedValue(true); + valueSpy.mockResolvedValue(null); + const result = await metadataEntry.isModifiable(); + + expect(result).toEqual({ + canModify: true, + }); + }); + + it('should return canModify as false along with the reason if the MetadataEntry does not exists', async () => { + existsSpy.mockResolvedValue(false); + valueSpy.mockResolvedValue(null); + const error = new PolymeshError({ + code: ErrorCode.DataUnavailable, + message: 'Metadata does not exists for the Asset', + data: { + ticker, + type, + id, + }, + }); + const result = await metadataEntry.isModifiable(); + + expect(result).toEqual({ + canModify: false, + reason: error, + }); + }); + + it('should return canModify as false along with the reason if the MetadataEntry status is Locked', async () => { + existsSpy.mockResolvedValue(true); + valueSpy.mockResolvedValue({ + value: 'SOME_VALUE', + expiry: null, + lockStatus: MetadataLockStatus.Locked, + }); + + const error = new PolymeshError({ + code: ErrorCode.UnmetPrerequisite, + message: 'Metadata is locked and cannot be modified', + }); + + const result = await metadataEntry.isModifiable(); + + expect(result).toEqual({ + canModify: false, + reason: error, + }); + }); + + it('should return canModify as false along with the reason if the MetadataEntry is still in locked phase', async () => { + existsSpy.mockResolvedValue(true); + const lockedUntil = new Date('2099/01/01'); + valueSpy.mockResolvedValue({ + value: 'SOME_VALUE', + expiry: null, + lockStatus: MetadataLockStatus.LockedUntil, + lockedUntil, + }); + + const error = new PolymeshError({ + code: ErrorCode.UnmetPrerequisite, + message: 'Metadata is currently locked', + data: { + lockedUntil, + }, + }); + + const result = await metadataEntry.isModifiable(); + + expect(result).toEqual({ + canModify: false, + reason: error, + }); + }); + }); + describe('method: toHuman', () => { it('should return a human readable version of the entity', () => { expect(metadataEntry.toHuman()).toEqual({ diff --git a/src/api/entities/MetadataEntry/index.ts b/src/api/entities/MetadataEntry/index.ts index 560d7dfe73..6ce2d861b2 100644 --- a/src/api/entities/MetadataEntry/index.ts +++ b/src/api/entities/MetadataEntry/index.ts @@ -6,10 +6,11 @@ import { clearMetadata, Context, Entity, + PolymeshError, removeLocalMetadata, setMetadata, } from '~/internal'; -import { NoArgsProcedureMethod, ProcedureMethod, SetMetadataParams } from '~/types'; +import { ErrorCode, NoArgsProcedureMethod, ProcedureMethod, SetMetadataParams } from '~/types'; import { bigNumberToU64, bytesToString, @@ -20,7 +21,7 @@ import { } from '~/utils/conversion'; import { createProcedureMethod, toHumanReadable } from '~/utils/internal'; -import { MetadataDetails, MetadataType, MetadataValue } from './types'; +import { MetadataDetails, MetadataLockStatus, MetadataType, MetadataValue } from './types'; export interface UniqueIdentifiers { ticker: string; @@ -226,6 +227,70 @@ export class MetadataEntry extends Entity { return rawName.isSome; } + /** + * Check if the MetadataEntry can be modified. + * A MetadataEntry is modifiable if it exists and is not locked + */ + public async isModifiable(): Promise<{ canModify: boolean; reason?: PolymeshError }> { + const { + id, + type, + asset: { ticker }, + } = this; + + const [exists, metadataValue] = await Promise.all([this.exists(), this.value()]); + + if (!exists) { + return { + canModify: false, + reason: new PolymeshError({ + code: ErrorCode.DataUnavailable, + message: 'Metadata does not exists for the Asset', + data: { + ticker, + type, + id, + }, + }), + }; + } + + if (metadataValue) { + const { lockStatus } = metadataValue; + + if (lockStatus === MetadataLockStatus.Locked) { + return { + canModify: false, + reason: new PolymeshError({ + code: ErrorCode.UnmetPrerequisite, + message: 'Metadata is locked and cannot be modified', + }), + }; + } + + if (lockStatus === MetadataLockStatus.LockedUntil) { + const { lockedUntil } = metadataValue; + + if (new Date() < lockedUntil) { + return { + canModify: false, + reason: new PolymeshError({ + code: ErrorCode.UnmetPrerequisite, + message: 'Metadata is currently locked', + data: { + lockedUntil, + }, + }), + }; + } + } + } + + return { + canModify: true, + }; + } + /** * Return the MetadataEntry's ID, Asset ticker and Metadata type */ diff --git a/src/api/procedures/__tests__/clearMetadata.ts b/src/api/procedures/__tests__/clearMetadata.ts index 5bea47409c..3fc865c2c5 100644 --- a/src/api/procedures/__tests__/clearMetadata.ts +++ b/src/api/procedures/__tests__/clearMetadata.ts @@ -6,11 +6,10 @@ import BigNumber from 'bignumber.js'; import { when } from 'jest-when'; import { getAuthorization, Params, prepareClearMetadata } from '~/api/procedures/clearMetadata'; -import * as procedureUtilsModule from '~/api/procedures/utils'; -import { Context, MetadataEntry } from '~/internal'; +import { Context, MetadataEntry, PolymeshError } from '~/internal'; import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; import { Mocked } from '~/testUtils/types'; -import { MetadataType, TxTags } from '~/types'; +import { ErrorCode, MetadataType, TxTags } from '~/types'; import { PolymeshTx } from '~/types/internal'; import * as utilsConversionModule from '~/utils/conversion'; @@ -39,6 +38,8 @@ describe('clearMetadata procedure', () => { [PolymeshPrimitivesTicker, PolymeshPrimitivesAssetMetadataAssetMetadataKey] >; + let isModifiableSpy: jest.SpyInstance; + let metadataEntry: MetadataEntry; beforeAll(() => { @@ -48,8 +49,6 @@ describe('clearMetadata procedure', () => { stringToTickerSpy = jest.spyOn(utilsConversionModule, 'stringToTicker'); metadataToMeshMetadataKeySpy = jest.spyOn(utilsConversionModule, 'metadataToMeshMetadataKey'); - - jest.spyOn(procedureUtilsModule, 'assertMetadataValueIsModifiable'); }); beforeEach(() => { @@ -60,10 +59,11 @@ describe('clearMetadata procedure', () => { id = new BigNumber(1); type = MetadataType.Local; - metadataEntry = entityMockUtils.getMetadataEntryInstance({ - id, - type, - ticker, + metadataEntry = new MetadataEntry({ id, type, ticker }, mockContext); + + isModifiableSpy = jest.spyOn(metadataEntry, 'isModifiable'); + isModifiableSpy.mockResolvedValue({ + canModify: true, }); params = { metadataEntry }; @@ -104,6 +104,20 @@ describe('clearMetadata procedure', () => { }); }); + it('should throw an error if MetadataEntry is not modifiable', () => { + const mockError = new PolymeshError({ + code: ErrorCode.DataUnavailable, + message: 'Metadata does not exists', + }); + isModifiableSpy.mockResolvedValue({ + canModify: false, + reason: mockError, + }); + const proc = procedureMockUtils.getInstance(mockContext); + + return expect(prepareClearMetadata.call(proc, params)).rejects.toThrow(mockError); + }); + describe('getAuthorization', () => { it('should return the appropriate roles and permissions', () => { const proc = procedureMockUtils.getInstance(mockContext); diff --git a/src/api/procedures/__tests__/removeLocalMetadata.ts b/src/api/procedures/__tests__/removeLocalMetadata.ts index 8b084ece64..1d2bc59d19 100644 --- a/src/api/procedures/__tests__/removeLocalMetadata.ts +++ b/src/api/procedures/__tests__/removeLocalMetadata.ts @@ -11,7 +11,6 @@ import { Params, prepareRemoveLocalMetadata, } from '~/api/procedures/removeLocalMetadata'; -import * as procedureUtilsModule from '~/api/procedures/utils'; import { Context, MetadataEntry, PolymeshError } from '~/internal'; import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; import { Mocked } from '~/testUtils/types'; @@ -49,6 +48,7 @@ describe('removeLocalMetadata procedure', () => { >; let metadataEntry: MetadataEntry; + let isModifiableSpy: jest.SpyInstance; beforeAll(() => { dsMockUtils.initMocks(); @@ -57,8 +57,6 @@ describe('removeLocalMetadata procedure', () => { stringToTickerSpy = jest.spyOn(utilsConversionModule, 'stringToTicker'); bigNumberToU64Spy = jest.spyOn(utilsConversionModule, 'bigNumberToU64'); - - jest.spyOn(procedureUtilsModule, 'assertMetadataValueIsModifiable'); }); beforeEach(() => { @@ -69,10 +67,11 @@ describe('removeLocalMetadata procedure', () => { id = new BigNumber(1); type = MetadataType.Local; - metadataEntry = entityMockUtils.getMetadataEntryInstance({ - id, - type, - ticker, + metadataEntry = new MetadataEntry({ id, type, ticker }, mockContext); + + isModifiableSpy = jest.spyOn(metadataEntry, 'isModifiable'); + isModifiableSpy.mockResolvedValue({ + canModify: true, }); params = { metadataEntry }; @@ -116,6 +115,21 @@ describe('removeLocalMetadata procedure', () => { }); }); + it('should throw an error if MetadataEntry is not modifiable', async () => { + const mockError = new PolymeshError({ + code: ErrorCode.DataUnavailable, + message: 'Metadata does not exists', + }); + isModifiableSpy.mockResolvedValue({ + canModify: false, + reason: mockError, + }); + const proc = procedureMockUtils.getInstance(mockContext); + + await expect(prepareRemoveLocalMetadata.call(proc, params)).rejects.toThrow(mockError); + isModifiableSpy.mockRestore(); + }); + it('should throw an error if the Metadata entry is mandatory NFT collection key', () => { collectionTickerMock.mockReturnValue(dsMockUtils.createMockU64(new BigNumber(1))); dsMockUtils.createQueryMock('nft', 'collectionKeys', { diff --git a/src/api/procedures/__tests__/utils.ts b/src/api/procedures/__tests__/utils.ts index ffcb7faed2..bd53090adf 100644 --- a/src/api/procedures/__tests__/utils.ts +++ b/src/api/procedures/__tests__/utils.ts @@ -11,7 +11,6 @@ import { assertGroupDoesNotExist, assertInstructionValid, assertInstructionValidForManualExecution, - assertMetadataValueIsModifiable, assertPortfolioExists, assertRequirementsNotTooComplex, assertSecondaryAccounts, @@ -44,9 +43,6 @@ import { InstructionDetails, InstructionStatus, InstructionType, - MetadataEntry, - MetadataLockStatus, - MetadataType, PermissionGroupType, PermissionType, Signer, @@ -1725,92 +1721,3 @@ describe('getGroupFromPermissions', () => { expect(result).toBeUndefined(); }); }); - -describe('assertMetadataValueIsModifiable', () => { - let ticker: string; - let id: BigNumber; - let type: MetadataType; - let metadataEntry: MetadataEntry; - - beforeAll(() => { - entityMockUtils.initMocks(); - dsMockUtils.initMocks(); - }); - - beforeEach(() => { - ticker = 'SOME_TICKER'; - id = new BigNumber(1); - type = MetadataType.Local; - }); - - afterEach(() => { - entityMockUtils.reset(); - }); - - it('should not throw any error for valid MetadataEntry', () => { - metadataEntry = entityMockUtils.getMetadataEntryInstance({ - id, - type, - ticker, - exists: true, - }); - return expect(assertMetadataValueIsModifiable(metadataEntry)).resolves.not.toThrow(); - }); - - it('should throw an error if the MetadataEntry does not exists', async () => { - metadataEntry = entityMockUtils.getMetadataEntryInstance({ - id, - type, - ticker, - exists: false, - }); - const error = new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: `${type} Metadata with ID ${id.toString()} does not exists for the Asset - ${ticker}`, - }); - return expect(assertMetadataValueIsModifiable(metadataEntry)).rejects.toThrow(error); - }); - - it('should throw an error if the MetadataEntry status is Locked', async () => { - metadataEntry = entityMockUtils.getMetadataEntryInstance({ - id, - type, - ticker, - exists: true, - value: { - value: 'SOME_VALUE', - expiry: null, - lockStatus: MetadataLockStatus.Locked, - }, - }); - const error = new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'You cannot modify a locked Metadata', - }); - return expect(assertMetadataValueIsModifiable(metadataEntry)).rejects.toThrow(error); - }); - - it('should throw an error if the MetadataEntry is still in locked phase', async () => { - const lockedUntil = new Date('2099/01/01'); - metadataEntry = entityMockUtils.getMetadataEntryInstance({ - id, - type, - ticker, - exists: true, - value: { - value: 'SOME_VALUE', - expiry: null, - lockStatus: MetadataLockStatus.LockedUntil, - lockedUntil, - }, - }); - const error = new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'Metadata is currently locked', - data: { - lockedUntil, - }, - }); - return expect(assertMetadataValueIsModifiable(metadataEntry)).rejects.toThrow(error); - }); -}); diff --git a/src/api/procedures/clearMetadata.ts b/src/api/procedures/clearMetadata.ts index 9825810efb..c89e262555 100644 --- a/src/api/procedures/clearMetadata.ts +++ b/src/api/procedures/clearMetadata.ts @@ -1,4 +1,3 @@ -import { assertMetadataValueIsModifiable } from '~/api/procedures/utils'; import { FungibleAsset, MetadataEntry, Procedure } from '~/internal'; import { TxTags } from '~/types'; import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; @@ -37,7 +36,11 @@ export async function prepareClearMetadata( const rawTicker = stringToTicker(ticker, context); const rawMetadataKey = metadataToMeshMetadataKey(type, id, context); - await assertMetadataValueIsModifiable(metadataEntry); + const { canModify, reason } = await metadataEntry.isModifiable(); + + if (!canModify) { + throw reason; + } return { transaction: tx.asset.removeMetadataValue, diff --git a/src/api/procedures/removeLocalMetadata.ts b/src/api/procedures/removeLocalMetadata.ts index 5ba2e90015..f86c04e208 100644 --- a/src/api/procedures/removeLocalMetadata.ts +++ b/src/api/procedures/removeLocalMetadata.ts @@ -1,4 +1,3 @@ -import { assertMetadataValueIsModifiable } from '~/api/procedures/utils'; import { FungibleAsset, MetadataEntry, PolymeshError, Procedure } from '~/internal'; import { ErrorCode, MetadataType, TxTags } from '~/types'; import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; @@ -49,7 +48,10 @@ export async function prepareRemoveLocalMetadata( const rawTicker = stringToTicker(ticker, context); const rawKeyId = bigNumberToU64(id, context); - const collectionKey = await collectionTicker(rawTicker); + const [collectionKey, { canModify, reason }] = await Promise.all([ + collectionTicker(rawTicker), + metadataEntry.isModifiable(), + ]); if (!collectionKey.isZero()) { const rawKeys = await collectionKeys(collectionKey); @@ -65,7 +67,9 @@ export async function prepareRemoveLocalMetadata( } } - await assertMetadataValueIsModifiable(metadataEntry); + if (!canModify) { + throw reason; + } return { transaction: tx.asset.removeLocalMetadataKey, diff --git a/src/api/procedures/utils.ts b/src/api/procedures/utils.ts index 10f9705d00..9f30ce6eef 100644 --- a/src/api/procedures/utils.ts +++ b/src/api/procedures/utils.ts @@ -34,8 +34,6 @@ import { InstructionDetails, InstructionStatus, InstructionType, - MetadataEntry, - MetadataLockStatus, PermissionedAccount, PermissionGroupType, PortfolioId, @@ -712,51 +710,3 @@ export async function addManualFees( return fees.reduce((prev, { fees: nextFees }) => prev.plus(nextFees), currentFee); } - -/** - * Checks that Metadata exists and that it's value is not locked - * @hidden - */ -export async function assertMetadataValueIsModifiable(metadataEntry: MetadataEntry): Promise { - const { - id, - type, - asset: { ticker }, - } = metadataEntry; - const [exists, metadataValue] = await Promise.all([ - metadataEntry.exists(), - metadataEntry.value(), - ]); - - if (!exists) { - throw new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: `${type} Metadata with ID ${id.toString()} does not exists for the Asset - ${ticker}`, - }); - } - - if (metadataValue) { - const { lockStatus } = metadataValue; - - if (lockStatus === MetadataLockStatus.Locked) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'You cannot modify a locked Metadata', - }); - } - - if (lockStatus === MetadataLockStatus.LockedUntil) { - const { lockedUntil } = metadataValue; - - if (new Date() < lockedUntil) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'Metadata is currently locked', - data: { - lockedUntil, - }, - }); - } - } - } -} diff --git a/src/testUtils/mocks/entities.ts b/src/testUtils/mocks/entities.ts index 05bf156a8f..0c0b569efa 100644 --- a/src/testUtils/mocks/entities.ts +++ b/src/testUtils/mocks/entities.ts @@ -76,6 +76,7 @@ import { PermissionedAccount, PermissionGroups, PermissionGroupType, + PolymeshError, PortfolioBalance, PortfolioCollection, ProposalStatus, @@ -220,6 +221,7 @@ interface MetadataEntryOptions extends EntityOptions { type?: MetadataType; details?: EntityGetter; value?: EntityGetter; + isModifiable?: EntityGetter<{ canModify: boolean; reason?: PolymeshError }>; } interface AuthorizationRequestOptions extends EntityOptions { @@ -1312,6 +1314,7 @@ const MockMetadataEntryClass = createMockEntityClass( type!: MetadataType; details!: jest.SpyInstance; value!: jest.SpyInstance; + isModifiable!: jest.SpyInstance; /** * @hidden @@ -1323,13 +1326,21 @@ const MockMetadataEntryClass = createMockEntityClass( /** * @hidden */ - public configure({ id, ticker, type, details, value }: Required) { + public configure({ + id, + ticker, + type, + details, + value, + isModifiable, + }: Required) { this.uuid = 'metadataEntry'; this.id = id; this.asset = getFungibleAssetInstance({ ticker }); this.type = type; this.details = createEntityGetterMock(details); this.value = createEntityGetterMock(value); + this.isModifiable = createEntityGetterMock(isModifiable); } }, () => ({ @@ -1347,6 +1358,9 @@ const MockMetadataEntryClass = createMockEntityClass( ticker: 'SOME_TICKER', id: new BigNumber(1), type: MetadataType.Local, + isModifiable: { + canModify: true, + }, }), ['MetadataEntry'] ); From ba4c4551a4c9eb5dc7bcab8cecef2c0c39ce8848 Mon Sep 17 00:00:00 2001 From: Prashant Bajpai Date: Wed, 6 Dec 2023 22:01:17 +0530 Subject: [PATCH 013/120] =?UTF-8?q?test:=20=F0=9F=92=8D=20Add=20tests=20fo?= =?UTF-8?q?r=20100%=20coverage?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../__tests__/removeLocalMetadata.ts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/src/api/procedures/__tests__/removeLocalMetadata.ts b/src/api/procedures/__tests__/removeLocalMetadata.ts index 1d2bc59d19..f1c3ef649c 100644 --- a/src/api/procedures/__tests__/removeLocalMetadata.ts +++ b/src/api/procedures/__tests__/removeLocalMetadata.ts @@ -115,6 +115,25 @@ describe('removeLocalMetadata procedure', () => { }); }); + it('should throw an error if MetadataEntry is of global type', async () => { + const mockError = new PolymeshError({ + code: ErrorCode.UnmetPrerequisite, + message: 'Global Metadata keys cannot be deleted', + }); + isModifiableSpy.mockResolvedValue({ + canModify: false, + reason: mockError, + }); + const proc = procedureMockUtils.getInstance(mockContext); + + await expect( + prepareRemoveLocalMetadata.call(proc, { + metadataEntry: new MetadataEntry({ id, ticker, type: MetadataType.Global }, mockContext), + }) + ).rejects.toThrow(mockError); + isModifiableSpy.mockRestore(); + }); + it('should throw an error if MetadataEntry is not modifiable', async () => { const mockError = new PolymeshError({ code: ErrorCode.DataUnavailable, From 9d4b022b83ce26f868c9ea9e8b941d434178c9b5 Mon Sep 17 00:00:00 2001 From: Toms Veidemanis Date: Mon, 11 Dec 2023 23:14:35 +0200 Subject: [PATCH 014/120] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20add=20polymesh-t?= =?UTF-8?q?ypes=20to=20dev=20deps?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 + yarn.lock | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/package.json b/package.json index 801fb2c0f6..5f079c741b 100644 --- a/package.json +++ b/package.json @@ -55,6 +55,7 @@ "@polkadot/dev-ts": "^0.76.22", "@polkadot/typegen": "10.9.1", "@polymeshassociation/local-signing-manager": "^3.0.1", + "@polymeshassociation/polymesh-types": "^5.7.0", "@polymeshassociation/signing-manager-types": "^3.0.0", "@polymeshassociation/typedoc-theme": "^1.1.0", "@semantic-release/changelog": "^6.0.1", diff --git a/yarn.lock b/yarn.lock index 7b1ba7b155..9467a7bb65 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2244,6 +2244,11 @@ dependencies: "@polymeshassociation/signing-manager-types" "^3.2.0" +"@polymeshassociation/polymesh-types@^5.7.0": + version "5.7.0" + resolved "https://registry.yarnpkg.com/@polymeshassociation/polymesh-types/-/polymesh-types-5.7.0.tgz#468330d585deacba126835be295d41668218fb47" + integrity sha512-6bw+Q6CpjAABeQKLZxE5TMwUwllq9GIWtHr+SBTn/02cLQYYrgPNX3JtQtK/VAAwhQ+AbAUMRlxlzGP16VaWog== + "@polymeshassociation/signing-manager-types@^3.0.0", "@polymeshassociation/signing-manager-types@^3.2.0": version "3.2.0" resolved "https://registry.yarnpkg.com/@polymeshassociation/signing-manager-types/-/signing-manager-types-3.2.0.tgz#a02089aae88968bc7a3d20a19a34b1a84361a191" From cc95fe454e43e57562051bebf1e0ad3f270485d8 Mon Sep 17 00:00:00 2001 From: Toms Veidemanis Date: Mon, 11 Dec 2023 23:15:14 +0200 Subject: [PATCH 015/120] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20use=20polymesh-t?= =?UTF-8?q?ypes=20to=20generate=20defs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/fetchDefinitions.js | 31 +++++++++++++++---------------- 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/scripts/fetchDefinitions.js b/scripts/fetchDefinitions.js index 4ffb0eac3b..2e8ff3f5ea 100644 --- a/scripts/fetchDefinitions.js +++ b/scripts/fetchDefinitions.js @@ -1,11 +1,12 @@ /* eslint-disable */ -const http = require('http'); const path = require('path'); const fs = require('fs'); const rimraf = require('rimraf'); const util = require('util'); const { forEach, camelCase, mapKeys } = require('lodash'); -const { NODE_URL, SCHEMA_PORT } = require('./consts'); + +const { typesBundle } = require('@polymeshassociation/polymesh-types'); +const types = require('@polymeshassociation/polymesh-types/types/6.1.x.json'); const definitionsDir = path.resolve('src', 'polkadot'); const typesDir = path.resolve(definitionsDir, 'polymesh'); @@ -111,17 +112,15 @@ function writeDefinitions(schemaObj) { fs.writeFileSync(path.resolve(definitionsDir, 'definitions.ts'), defExports); } -http.get(`http://${NODE_URL}:${SCHEMA_PORT}/polymesh_schema.json`, res => { - const chunks = []; - res.on('data', chunk => { - chunks.push(chunk); - }); - - res.on('end', () => { - const schema = Buffer.concat(chunks); - const schemaObj = JSON.parse(schema); - transformSchema(schemaObj); - - writeDefinitions(schemaObj); - }); -}); +(() => { + const { rpc, runtime, signedExtensions } = typesBundle.spec.polymesh_dev; + const schema = { + types, + rpc, + runtime, + signedExtensions, + }; + + transformSchema(schema); + writeDefinitions(schema); +})(); From ff5343dc5d72241a384820ba4740a7795f2b8176 Mon Sep 17 00:00:00 2001 From: Toms Veidemanis Date: Mon, 11 Dec 2023 23:15:43 +0200 Subject: [PATCH 016/120] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20update=20defs=20?= =?UTF-8?q?based=20on=20importred=20types?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/polkadot/augment-api-rpc.ts | 16 ++++++++ src/polkadot/augment-types.ts | 4 ++ src/polkadot/polymesh/definitions.ts | 15 ++++++- src/polkadot/polymesh/types.ts | 24 ++++++++++- src/polkadot/schema.ts | 56 ++++++++++++++++++++++++-- src/polkadot/settlement/definitions.ts | 22 ++++++++++ src/utils/__tests__/conversion.ts | 1 - src/utils/conversion.ts | 5 --- 8 files changed, 131 insertions(+), 12 deletions(-) diff --git a/src/polkadot/augment-api-rpc.ts b/src/polkadot/augment-api-rpc.ts index 5b955f6803..c3158a7b29 100644 --- a/src/polkadot/augment-api-rpc.ts +++ b/src/polkadot/augment-api-rpc.ts @@ -104,6 +104,7 @@ import type { } from '@polkadot/types/interfaces/system'; import type { IExtrinsic, Observable } from '@polkadot/types/types'; import type { + AffirmationCount, AssetDidResult, AuthorizationType, CanTransferGranularReturn, @@ -1030,6 +1031,9 @@ declare module '@polkadot/rpc-core/types/jsonrpc' { | 'ContractsPutCode' | 'CorporateBallotAttachBallot' | 'CapitalDistributionDistribute' + | 'NFTCreateCollection' + | 'NFTMint' + | 'IdentityCreateChildIdentity' | number | Uint8Array, blockHash?: Hash | string | Uint8Array @@ -1043,6 +1047,18 @@ declare module '@polkadot/rpc-core/types/jsonrpc' { methods: AugmentedRpc<() => Observable>; }; settlement: { + /** + * Returns an instance of AffirmationCount, which holds the asset count for both the sender and receiver and the number of offchain assets in the instruction + **/ + getAffirmationCount: AugmentedRpc< + ( + instruction_id: InstructionId | AnyNumber | Uint8Array, + portfolios: + | Vec + | (PortfolioId | { did?: any; kind?: any } | string | Uint8Array)[], + blockHash?: Hash | string | Uint8Array + ) => Observable + >; /** * Returns an ExecuteInstructionInfo instance, containing the consumed weight and the number of tokens in the instruction. **/ diff --git a/src/polkadot/augment-types.ts b/src/polkadot/augment-types.ts index a1b067e9ee..3a08f51382 100644 --- a/src/polkadot/augment-types.ts +++ b/src/polkadot/augment-types.ts @@ -1141,10 +1141,12 @@ import type { } from '@polkadot/types/interfaces/xcm'; import type { AGId, + AffirmationCount, AffirmationStatus, AgentGroup, AssetCompliance, AssetComplianceResult, + AssetCount, AssetDidResult, AssetIdentifier, AssetMetadataDescription, @@ -1369,6 +1371,7 @@ declare module '@polkadot/types/types/registry' { ActiveIndex: ActiveIndex; ActiveRecovery: ActiveRecovery; Address: Address; + AffirmationCount: AffirmationCount; AffirmationStatus: AffirmationStatus; AgentGroup: AgentGroup; AGId: AGId; @@ -1386,6 +1389,7 @@ declare module '@polkadot/types/types/registry' { AssetBalance: AssetBalance; AssetCompliance: AssetCompliance; AssetComplianceResult: AssetComplianceResult; + AssetCount: AssetCount; AssetDestroyWitness: AssetDestroyWitness; AssetDetails: AssetDetails; AssetDidResult: AssetDidResult; diff --git a/src/polkadot/polymesh/definitions.ts b/src/polkadot/polymesh/definitions.ts index 8c5daa6faf..4bcd4df1e9 100644 --- a/src/polkadot/polymesh/definitions.ts +++ b/src/polkadot/polymesh/definitions.ts @@ -767,6 +767,9 @@ export default { 'ContractsPutCode', 'CorporateBallotAttachBallot', 'CapitalDistributionDistribute', + 'NFTCreateCollection', + 'NFTMint', + 'IdentityCreateChildIdentity', ], }, CddStatus: { @@ -1110,7 +1113,6 @@ export default { self_transfer: 'bool', invalid_receiver_cdd: 'bool', invalid_sender_cdd: 'bool', - missing_scope_claim: 'bool', receiver_custodian_error: 'bool', sender_custodian_error: 'bool', sender_insufficient_balance: 'bool', @@ -1119,6 +1121,7 @@ export default { transfer_condition_result: 'Vec', compliance_result: 'AssetComplianceResult', result: 'bool', + consumed_weight: 'Option', }, PortfolioValidityResult: { receiver_is_same_portfolio: 'bool', @@ -1214,5 +1217,15 @@ export default { consumedWeight: 'Weight', error: 'Option', }, + AssetCount: { + fungible_tokens: 'u32', + non_fungible_tokens: 'u32', + off_chain_assets: 'u32', + }, + AffirmationCount: { + sender_asset_count: 'AssetCount', + receiver_asset_count: 'AssetCount', + offchain_count: 'u32', + }, }, }; diff --git a/src/polkadot/polymesh/types.ts b/src/polkadot/polymesh/types.ts index 6e0e5f467b..2cb56d4017 100644 --- a/src/polkadot/polymesh/types.ts +++ b/src/polkadot/polymesh/types.ts @@ -40,6 +40,13 @@ export interface AccountInfo extends AccountInfoWithDualRefCount {} /** @name Address */ export interface Address extends MultiAddress {} +/** @name AffirmationCount */ +export interface AffirmationCount extends Struct { + readonly sender_asset_count: AssetCount; + readonly receiver_asset_count: AssetCount; + readonly offchain_count: u32; +} + /** @name AffirmationStatus */ export interface AffirmationStatus extends Enum { readonly isUnknown: boolean; @@ -75,6 +82,13 @@ export interface AssetComplianceResult extends Struct { readonly result: bool; } +/** @name AssetCount */ +export interface AssetCount extends Struct { + readonly fungible_tokens: u32; + readonly non_fungible_tokens: u32; + readonly off_chain_assets: u32; +} + /** @name AssetDidResult */ export interface AssetDidResult extends Enum { readonly isOk: boolean; @@ -1269,7 +1283,6 @@ export interface GranularCanTransferResult extends Struct { readonly self_transfer: bool; readonly invalid_receiver_cdd: bool; readonly invalid_sender_cdd: bool; - readonly missing_scope_claim: bool; readonly receiver_custodian_error: bool; readonly sender_custodian_error: bool; readonly sender_insufficient_balance: bool; @@ -1278,6 +1291,7 @@ export interface GranularCanTransferResult extends Struct { readonly transfer_condition_result: Vec; readonly compliance_result: AssetComplianceResult; readonly result: bool; + readonly consumed_weight: Option; } /** @name HandledTxStatus */ @@ -1682,6 +1696,9 @@ export interface ProtocolOp extends Enum { readonly isContractsPutCode: boolean; readonly isCorporateBallotAttachBallot: boolean; readonly isCapitalDistributionDistribute: boolean; + readonly isNftCreateCollection: boolean; + readonly isNftMint: boolean; + readonly isIdentityCreateChildIdentity: boolean; readonly type: | 'AssetRegisterTicker' | 'AssetIssue' @@ -1695,7 +1712,10 @@ export interface ProtocolOp extends Enum { | 'PipsPropose' | 'ContractsPutCode' | 'CorporateBallotAttachBallot' - | 'CapitalDistributionDistribute'; + | 'CapitalDistributionDistribute' + | 'NftCreateCollection' + | 'NftMint' + | 'IdentityCreateChildIdentity'; } /** @name Receipt */ diff --git a/src/polkadot/schema.ts b/src/polkadot/schema.ts index 64c007931a..2f70cae4d0 100644 --- a/src/polkadot/schema.ts +++ b/src/polkadot/schema.ts @@ -766,6 +766,9 @@ export default { 'ContractsPutCode', 'CorporateBallotAttachBallot', 'CapitalDistributionDistribute', + 'NFTCreateCollection', + 'NFTMint', + 'IdentityCreateChildIdentity', ], }, CddStatus: { @@ -1109,7 +1112,6 @@ export default { self_transfer: 'bool', invalid_receiver_cdd: 'bool', invalid_sender_cdd: 'bool', - missing_scope_claim: 'bool', receiver_custodian_error: 'bool', sender_custodian_error: 'bool', sender_insufficient_balance: 'bool', @@ -1118,6 +1120,7 @@ export default { transfer_condition_result: 'Vec', compliance_result: 'AssetComplianceResult', result: 'bool', + consumed_weight: 'Option', }, PortfolioValidityResult: { receiver_is_same_portfolio: 'bool', @@ -1213,6 +1216,16 @@ export default { consumedWeight: 'Weight', error: 'Option', }, + AssetCount: { + fungible_tokens: 'u32', + non_fungible_tokens: 'u32', + off_chain_assets: 'u32', + }, + AffirmationCount: { + sender_asset_count: 'AssetCount', + receiver_asset_count: 'AssetCount', + offchain_count: 'u32', + }, }, rpc: { identity: { @@ -1547,6 +1560,28 @@ export default { ], type: 'ExecuteInstructionInfo', }, + getAffirmationCount: { + description: + 'Returns an instance of AffirmationCount, which holds the asset count for both the sender and receiver and the number of offchain assets in the instruction', + params: [ + { + name: 'instruction_id', + type: 'InstructionId', + isOptional: false, + }, + { + name: 'portfolios', + type: 'Vec', + isOptional: false, + }, + { + name: 'blockHash', + type: 'Hash', + isOptional: true, + }, + ], + type: 'AffirmationCount', + }, }, }, runtime: { @@ -1608,7 +1643,7 @@ export default { IdentityApi: [ { methods: { - is_identity_has_valid_ddd: { + is_identity_has_valid_cdd: { description: 'use to tell whether the given did has valid cdd claim or not', params: [ { @@ -1731,7 +1766,7 @@ export default { methods: { get_execute_instruction_info: { description: - 'Returns an ExecuteInstructionInfo instance, containing the consumed weight and the number of tokens in the instruction.', + 'Returns an ExecuteInstructionInfo instance containing the consumed weight and the number of tokens in the instruction.', params: [ { name: 'instruction_id', @@ -1740,6 +1775,21 @@ export default { ], type: 'ExecuteInstructionInfo', }, + get_affirmation_count: { + description: + 'Returns an AffirmationCount instance containing the number of assets being sent/received from portfolios, and the number of off-chain assets in the instruction.', + params: [ + { + name: 'instruction_id', + type: 'InstructionId', + }, + { + name: 'portfolios', + type: 'Vec', + }, + ], + type: 'AffirmationCount', + }, }, version: 1, }, diff --git a/src/polkadot/settlement/definitions.ts b/src/polkadot/settlement/definitions.ts index fb76229076..f767a60dcf 100644 --- a/src/polkadot/settlement/definitions.ts +++ b/src/polkadot/settlement/definitions.ts @@ -18,6 +18,28 @@ export default { ], type: 'ExecuteInstructionInfo', }, + getAffirmationCount: { + description: + 'Returns an instance of AffirmationCount, which holds the asset count for both the sender and receiver and the number of offchain assets in the instruction', + params: [ + { + name: 'instruction_id', + type: 'InstructionId', + isOptional: false, + }, + { + name: 'portfolios', + type: 'Vec', + isOptional: false, + }, + { + name: 'blockHash', + type: 'Hash', + isOptional: true, + }, + ], + type: 'AffirmationCount', + }, }, types: {}, }; diff --git a/src/utils/__tests__/conversion.ts b/src/utils/__tests__/conversion.ts index 05f2adb1a9..6113a8e0e6 100644 --- a/src/utils/__tests__/conversion.ts +++ b/src/utils/__tests__/conversion.ts @@ -3439,7 +3439,6 @@ describe('granularCanTransferResultToTransferBreakdown', () => { TransferError.SelfTransfer, TransferError.InvalidReceiverCdd, TransferError.InvalidSenderCdd, - TransferError.ScopeClaimMissing, TransferError.InsufficientBalance, TransferError.TransfersFrozen, TransferError.InvalidSenderPortfolio, diff --git a/src/utils/conversion.ts b/src/utils/conversion.ts index 41fbc47618..3a8f185642 100644 --- a/src/utils/conversion.ts +++ b/src/utils/conversion.ts @@ -3209,7 +3209,6 @@ export function granularCanTransferResultToTransferBreakdown( self_transfer: selfTransfer, invalid_receiver_cdd: invalidReceiverCdd, invalid_sender_cdd: invalidSenderCdd, - missing_scope_claim: missingScopeClaim, sender_insufficient_balance: insufficientBalance, asset_frozen: assetFrozen, portfolio_validity_result: { @@ -3240,10 +3239,6 @@ export function granularCanTransferResultToTransferBreakdown( general.push(TransferError.InvalidSenderCdd); } - if (boolToBoolean(missingScopeClaim)) { - general.push(TransferError.ScopeClaimMissing); - } - if (boolToBoolean(insufficientBalance)) { general.push(TransferError.InsufficientBalance); } From 7dff4b0eb5732d36e166d571fd163cfa896aa78f Mon Sep 17 00:00:00 2001 From: Prashant Bajpai Date: Thu, 14 Dec 2023 16:59:48 +0530 Subject: [PATCH 017/120] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20Update=20middlew?= =?UTF-8?q?are=20types=20with=20SQ=20`v12.2.0-alpha.2`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/middleware/types.ts | 1207 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 1207 insertions(+) diff --git a/src/middleware/types.ts b/src/middleware/types.ts index 1e4ce0b02a..07fcad3e51 100644 --- a/src/middleware/types.ts +++ b/src/middleware/types.ts @@ -1771,6 +1771,8 @@ export type Asset = Node & { identitiesByTickerExternalAgentHistoryAssetIdAndIdentityId: AssetIdentitiesByTickerExternalAgentHistoryAssetIdAndIdentityIdManyToManyConnection; /** Reads and enables pagination through a set of `Identity`. */ identitiesByTransferComplianceAssetIdAndClaimIssuerId: AssetIdentitiesByTransferComplianceAssetIdAndClaimIssuerIdManyToManyConnection; + /** Reads and enables pagination through a set of `Instruction`. */ + instructionsByAssetTransactionAssetIdAndInstructionId: AssetInstructionsByAssetTransactionAssetIdAndInstructionIdManyToManyConnection; isCompliancePaused: Scalars['Boolean']['output']; isDivisible: Scalars['Boolean']['output']; isFrozen: Scalars['Boolean']['output']; @@ -2420,6 +2422,18 @@ export type AssetIdentitiesByTransferComplianceAssetIdAndClaimIssuerIdArgs = { orderBy?: InputMaybe>; }; +/** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ +export type AssetInstructionsByAssetTransactionAssetIdAndInstructionIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + /** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ export type AssetNftHoldersArgs = { after?: InputMaybe; @@ -5724,6 +5738,54 @@ export type AssetIdentitiesByTransferComplianceAssetIdAndClaimIssuerIdManyToMany orderBy?: InputMaybe>; }; +/** A connection to a list of `Instruction` values, with data from `AssetTransaction`. */ +export type AssetInstructionsByAssetTransactionAssetIdAndInstructionIdManyToManyConnection = { + __typename?: 'AssetInstructionsByAssetTransactionAssetIdAndInstructionIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Instruction`, info from the `AssetTransaction`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Instruction` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Instruction` you could get from the connection. */ + totalCount: Scalars['Int']['output']; +}; + +/** A connection to a list of `Instruction` values, with data from `AssetTransaction`. */ +export type AssetInstructionsByAssetTransactionAssetIdAndInstructionIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Instruction` edge in the connection, with data from `AssetTransaction`. */ +export type AssetInstructionsByAssetTransactionAssetIdAndInstructionIdManyToManyEdge = { + __typename?: 'AssetInstructionsByAssetTransactionAssetIdAndInstructionIdManyToManyEdge'; + /** Reads and enables pagination through a set of `AssetTransaction`. */ + assetTransactions: AssetTransactionsConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Instruction` at the end of the edge. */ + node?: Maybe; +}; + +/** A `Instruction` edge in the connection, with data from `AssetTransaction`. */ +export type AssetInstructionsByAssetTransactionAssetIdAndInstructionIdManyToManyEdgeAssetTransactionsArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + export type AssetMaxAggregateFilter = { eventIdx?: InputMaybe; totalSupply?: InputMaybe; @@ -6658,6 +6720,12 @@ export type AssetTransaction = Node & { /** `fundingRound` will only be present for the cases where Assets are issued with a fundingRound name */ fundingRound?: Maybe; id: Scalars['String']['output']; + /** Reads a single `Instruction` that is related to this `AssetTransaction`. */ + instruction?: Maybe; + /** `instruction` will only be present for the cases where Assets are transferred once instruction is executed */ + instructionId?: Maybe; + /** `instructionMemo` will only be present for the cases where memo is provided for the instruction which got executed */ + instructionMemo?: Maybe; /** `nftIds` are the IDs of the non-fungible tokens involved in this transaction */ nftIds?: Maybe; /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ @@ -6747,6 +6815,8 @@ export type AssetTransactionDistinctCountAggregateFilter = { fromPortfolioId?: InputMaybe; fundingRound?: InputMaybe; id?: InputMaybe; + instructionId?: InputMaybe; + instructionMemo?: InputMaybe; nftIds?: InputMaybe; toPortfolioId?: InputMaybe; updatedAt?: InputMaybe; @@ -6777,6 +6847,10 @@ export type AssetTransactionDistinctCountAggregates = { fundingRound?: Maybe; /** Distinct count of id across the matching connection */ id?: Maybe; + /** Distinct count of instructionId across the matching connection */ + instructionId?: Maybe; + /** Distinct count of instructionMemo across the matching connection */ + instructionMemo?: Maybe; /** Distinct count of nftIds across the matching connection */ nftIds?: Maybe; /** Distinct count of toPortfolioId across the matching connection */ @@ -6821,6 +6895,14 @@ export type AssetTransactionFilter = { fundingRound?: InputMaybe; /** Filter by the object’s `id` field. */ id?: InputMaybe; + /** Filter by the object’s `instruction` relation. */ + instruction?: InputMaybe; + /** A related `instruction` exists. */ + instructionExists?: InputMaybe; + /** Filter by the object’s `instructionId` field. */ + instructionId?: InputMaybe; + /** Filter by the object’s `instructionMemo` field. */ + instructionMemo?: InputMaybe; /** Filter by the object’s `nftIds` field. */ nftIds?: InputMaybe; /** Negates the expression. */ @@ -7001,6 +7083,8 @@ export enum AssetTransactionsGroupBy { ExtrinsicIdx = 'EXTRINSIC_IDX', FromPortfolioId = 'FROM_PORTFOLIO_ID', FundingRound = 'FUNDING_ROUND', + InstructionId = 'INSTRUCTION_ID', + InstructionMemo = 'INSTRUCTION_MEMO', NftIds = 'NFT_IDS', ToPortfolioId = 'TO_PORTFOLIO_ID', UpdatedAt = 'UPDATED_AT', @@ -7129,6 +7213,10 @@ export enum AssetTransactionsOrderBy { FundingRoundDesc = 'FUNDING_ROUND_DESC', IdAsc = 'ID_ASC', IdDesc = 'ID_DESC', + InstructionIdAsc = 'INSTRUCTION_ID_ASC', + InstructionIdDesc = 'INSTRUCTION_ID_DESC', + InstructionMemoAsc = 'INSTRUCTION_MEMO_ASC', + InstructionMemoDesc = 'INSTRUCTION_MEMO_DESC', Natural = 'NATURAL', NftIdsAsc = 'NFT_IDS_ASC', NftIdsDesc = 'NFT_IDS_DESC', @@ -7388,6 +7476,10 @@ export enum AssetsOrderBy { AssetTransactionsAverageFundingRoundDesc = 'ASSET_TRANSACTIONS_AVERAGE_FUNDING_ROUND_DESC', AssetTransactionsAverageIdAsc = 'ASSET_TRANSACTIONS_AVERAGE_ID_ASC', AssetTransactionsAverageIdDesc = 'ASSET_TRANSACTIONS_AVERAGE_ID_DESC', + AssetTransactionsAverageInstructionIdAsc = 'ASSET_TRANSACTIONS_AVERAGE_INSTRUCTION_ID_ASC', + AssetTransactionsAverageInstructionIdDesc = 'ASSET_TRANSACTIONS_AVERAGE_INSTRUCTION_ID_DESC', + AssetTransactionsAverageInstructionMemoAsc = 'ASSET_TRANSACTIONS_AVERAGE_INSTRUCTION_MEMO_ASC', + AssetTransactionsAverageInstructionMemoDesc = 'ASSET_TRANSACTIONS_AVERAGE_INSTRUCTION_MEMO_DESC', AssetTransactionsAverageNftIdsAsc = 'ASSET_TRANSACTIONS_AVERAGE_NFT_IDS_ASC', AssetTransactionsAverageNftIdsDesc = 'ASSET_TRANSACTIONS_AVERAGE_NFT_IDS_DESC', AssetTransactionsAverageToPortfolioIdAsc = 'ASSET_TRANSACTIONS_AVERAGE_TO_PORTFOLIO_ID_ASC', @@ -7420,6 +7512,10 @@ export enum AssetsOrderBy { AssetTransactionsDistinctCountFundingRoundDesc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_FUNDING_ROUND_DESC', AssetTransactionsDistinctCountIdAsc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_ID_ASC', AssetTransactionsDistinctCountIdDesc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_ID_DESC', + AssetTransactionsDistinctCountInstructionIdAsc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_INSTRUCTION_ID_ASC', + AssetTransactionsDistinctCountInstructionIdDesc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_INSTRUCTION_ID_DESC', + AssetTransactionsDistinctCountInstructionMemoAsc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_INSTRUCTION_MEMO_ASC', + AssetTransactionsDistinctCountInstructionMemoDesc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_INSTRUCTION_MEMO_DESC', AssetTransactionsDistinctCountNftIdsAsc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_NFT_IDS_ASC', AssetTransactionsDistinctCountNftIdsDesc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_NFT_IDS_DESC', AssetTransactionsDistinctCountToPortfolioIdAsc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_TO_PORTFOLIO_ID_ASC', @@ -7450,6 +7546,10 @@ export enum AssetsOrderBy { AssetTransactionsMaxFundingRoundDesc = 'ASSET_TRANSACTIONS_MAX_FUNDING_ROUND_DESC', AssetTransactionsMaxIdAsc = 'ASSET_TRANSACTIONS_MAX_ID_ASC', AssetTransactionsMaxIdDesc = 'ASSET_TRANSACTIONS_MAX_ID_DESC', + AssetTransactionsMaxInstructionIdAsc = 'ASSET_TRANSACTIONS_MAX_INSTRUCTION_ID_ASC', + AssetTransactionsMaxInstructionIdDesc = 'ASSET_TRANSACTIONS_MAX_INSTRUCTION_ID_DESC', + AssetTransactionsMaxInstructionMemoAsc = 'ASSET_TRANSACTIONS_MAX_INSTRUCTION_MEMO_ASC', + AssetTransactionsMaxInstructionMemoDesc = 'ASSET_TRANSACTIONS_MAX_INSTRUCTION_MEMO_DESC', AssetTransactionsMaxNftIdsAsc = 'ASSET_TRANSACTIONS_MAX_NFT_IDS_ASC', AssetTransactionsMaxNftIdsDesc = 'ASSET_TRANSACTIONS_MAX_NFT_IDS_DESC', AssetTransactionsMaxToPortfolioIdAsc = 'ASSET_TRANSACTIONS_MAX_TO_PORTFOLIO_ID_ASC', @@ -7480,6 +7580,10 @@ export enum AssetsOrderBy { AssetTransactionsMinFundingRoundDesc = 'ASSET_TRANSACTIONS_MIN_FUNDING_ROUND_DESC', AssetTransactionsMinIdAsc = 'ASSET_TRANSACTIONS_MIN_ID_ASC', AssetTransactionsMinIdDesc = 'ASSET_TRANSACTIONS_MIN_ID_DESC', + AssetTransactionsMinInstructionIdAsc = 'ASSET_TRANSACTIONS_MIN_INSTRUCTION_ID_ASC', + AssetTransactionsMinInstructionIdDesc = 'ASSET_TRANSACTIONS_MIN_INSTRUCTION_ID_DESC', + AssetTransactionsMinInstructionMemoAsc = 'ASSET_TRANSACTIONS_MIN_INSTRUCTION_MEMO_ASC', + AssetTransactionsMinInstructionMemoDesc = 'ASSET_TRANSACTIONS_MIN_INSTRUCTION_MEMO_DESC', AssetTransactionsMinNftIdsAsc = 'ASSET_TRANSACTIONS_MIN_NFT_IDS_ASC', AssetTransactionsMinNftIdsDesc = 'ASSET_TRANSACTIONS_MIN_NFT_IDS_DESC', AssetTransactionsMinToPortfolioIdAsc = 'ASSET_TRANSACTIONS_MIN_TO_PORTFOLIO_ID_ASC', @@ -7510,6 +7614,10 @@ export enum AssetsOrderBy { AssetTransactionsStddevPopulationFundingRoundDesc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_FUNDING_ROUND_DESC', AssetTransactionsStddevPopulationIdAsc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_ID_ASC', AssetTransactionsStddevPopulationIdDesc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_ID_DESC', + AssetTransactionsStddevPopulationInstructionIdAsc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_INSTRUCTION_ID_ASC', + AssetTransactionsStddevPopulationInstructionIdDesc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_INSTRUCTION_ID_DESC', + AssetTransactionsStddevPopulationInstructionMemoAsc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_INSTRUCTION_MEMO_ASC', + AssetTransactionsStddevPopulationInstructionMemoDesc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_INSTRUCTION_MEMO_DESC', AssetTransactionsStddevPopulationNftIdsAsc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_NFT_IDS_ASC', AssetTransactionsStddevPopulationNftIdsDesc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_NFT_IDS_DESC', AssetTransactionsStddevPopulationToPortfolioIdAsc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_TO_PORTFOLIO_ID_ASC', @@ -7540,6 +7648,10 @@ export enum AssetsOrderBy { AssetTransactionsStddevSampleFundingRoundDesc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_FUNDING_ROUND_DESC', AssetTransactionsStddevSampleIdAsc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_ID_ASC', AssetTransactionsStddevSampleIdDesc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_ID_DESC', + AssetTransactionsStddevSampleInstructionIdAsc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_INSTRUCTION_ID_ASC', + AssetTransactionsStddevSampleInstructionIdDesc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_INSTRUCTION_ID_DESC', + AssetTransactionsStddevSampleInstructionMemoAsc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_INSTRUCTION_MEMO_ASC', + AssetTransactionsStddevSampleInstructionMemoDesc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_INSTRUCTION_MEMO_DESC', AssetTransactionsStddevSampleNftIdsAsc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_NFT_IDS_ASC', AssetTransactionsStddevSampleNftIdsDesc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_NFT_IDS_DESC', AssetTransactionsStddevSampleToPortfolioIdAsc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_TO_PORTFOLIO_ID_ASC', @@ -7570,6 +7682,10 @@ export enum AssetsOrderBy { AssetTransactionsSumFundingRoundDesc = 'ASSET_TRANSACTIONS_SUM_FUNDING_ROUND_DESC', AssetTransactionsSumIdAsc = 'ASSET_TRANSACTIONS_SUM_ID_ASC', AssetTransactionsSumIdDesc = 'ASSET_TRANSACTIONS_SUM_ID_DESC', + AssetTransactionsSumInstructionIdAsc = 'ASSET_TRANSACTIONS_SUM_INSTRUCTION_ID_ASC', + AssetTransactionsSumInstructionIdDesc = 'ASSET_TRANSACTIONS_SUM_INSTRUCTION_ID_DESC', + AssetTransactionsSumInstructionMemoAsc = 'ASSET_TRANSACTIONS_SUM_INSTRUCTION_MEMO_ASC', + AssetTransactionsSumInstructionMemoDesc = 'ASSET_TRANSACTIONS_SUM_INSTRUCTION_MEMO_DESC', AssetTransactionsSumNftIdsAsc = 'ASSET_TRANSACTIONS_SUM_NFT_IDS_ASC', AssetTransactionsSumNftIdsDesc = 'ASSET_TRANSACTIONS_SUM_NFT_IDS_DESC', AssetTransactionsSumToPortfolioIdAsc = 'ASSET_TRANSACTIONS_SUM_TO_PORTFOLIO_ID_ASC', @@ -7600,6 +7716,10 @@ export enum AssetsOrderBy { AssetTransactionsVariancePopulationFundingRoundDesc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_FUNDING_ROUND_DESC', AssetTransactionsVariancePopulationIdAsc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_ID_ASC', AssetTransactionsVariancePopulationIdDesc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_ID_DESC', + AssetTransactionsVariancePopulationInstructionIdAsc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_INSTRUCTION_ID_ASC', + AssetTransactionsVariancePopulationInstructionIdDesc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_INSTRUCTION_ID_DESC', + AssetTransactionsVariancePopulationInstructionMemoAsc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_INSTRUCTION_MEMO_ASC', + AssetTransactionsVariancePopulationInstructionMemoDesc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_INSTRUCTION_MEMO_DESC', AssetTransactionsVariancePopulationNftIdsAsc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_NFT_IDS_ASC', AssetTransactionsVariancePopulationNftIdsDesc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_NFT_IDS_DESC', AssetTransactionsVariancePopulationToPortfolioIdAsc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_TO_PORTFOLIO_ID_ASC', @@ -7630,6 +7750,10 @@ export enum AssetsOrderBy { AssetTransactionsVarianceSampleFundingRoundDesc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_FUNDING_ROUND_DESC', AssetTransactionsVarianceSampleIdAsc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_ID_ASC', AssetTransactionsVarianceSampleIdDesc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_ID_DESC', + AssetTransactionsVarianceSampleInstructionIdAsc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_INSTRUCTION_ID_ASC', + AssetTransactionsVarianceSampleInstructionIdDesc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_INSTRUCTION_ID_DESC', + AssetTransactionsVarianceSampleInstructionMemoAsc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_INSTRUCTION_MEMO_ASC', + AssetTransactionsVarianceSampleInstructionMemoDesc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_INSTRUCTION_MEMO_DESC', AssetTransactionsVarianceSampleNftIdsAsc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_NFT_IDS_ASC', AssetTransactionsVarianceSampleNftIdsDesc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_NFT_IDS_DESC', AssetTransactionsVarianceSampleToPortfolioIdAsc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_TO_PORTFOLIO_ID_ASC', @@ -11731,6 +11855,10 @@ export type Block = Node & { /** Reads and enables pagination through a set of `Identity`. */ identitiesByVenueUpdatedBlockIdAndOwnerId: BlockIdentitiesByVenueUpdatedBlockIdAndOwnerIdManyToManyConnection; /** Reads and enables pagination through a set of `Instruction`. */ + instructionsByAssetTransactionCreatedBlockIdAndInstructionId: BlockInstructionsByAssetTransactionCreatedBlockIdAndInstructionIdManyToManyConnection; + /** Reads and enables pagination through a set of `Instruction`. */ + instructionsByAssetTransactionUpdatedBlockIdAndInstructionId: BlockInstructionsByAssetTransactionUpdatedBlockIdAndInstructionIdManyToManyConnection; + /** Reads and enables pagination through a set of `Instruction`. */ instructionsByCreatedBlockId: InstructionsConnection; /** Reads and enables pagination through a set of `Instruction`. */ instructionsByLegCreatedBlockIdAndInstructionId: BlockInstructionsByLegCreatedBlockIdAndInstructionIdManyToManyConnection; @@ -14719,6 +14847,30 @@ export type BlockIdentitiesByVenueUpdatedBlockIdAndOwnerIdArgs = { orderBy?: InputMaybe>; }; +/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ +export type BlockInstructionsByAssetTransactionCreatedBlockIdAndInstructionIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ +export type BlockInstructionsByAssetTransactionUpdatedBlockIdAndInstructionIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + /** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ export type BlockInstructionsByCreatedBlockIdArgs = { after?: InputMaybe; @@ -25480,6 +25632,104 @@ export type BlockIdentitiesByVenueUpdatedBlockIdAndOwnerIdManyToManyEdgeVenuesBy orderBy?: InputMaybe>; }; +/** A connection to a list of `Instruction` values, with data from `AssetTransaction`. */ +export type BlockInstructionsByAssetTransactionCreatedBlockIdAndInstructionIdManyToManyConnection = + { + __typename?: 'BlockInstructionsByAssetTransactionCreatedBlockIdAndInstructionIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Instruction`, info from the `AssetTransaction`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Instruction` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Instruction` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; + +/** A connection to a list of `Instruction` values, with data from `AssetTransaction`. */ +export type BlockInstructionsByAssetTransactionCreatedBlockIdAndInstructionIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Instruction` edge in the connection, with data from `AssetTransaction`. */ +export type BlockInstructionsByAssetTransactionCreatedBlockIdAndInstructionIdManyToManyEdge = { + __typename?: 'BlockInstructionsByAssetTransactionCreatedBlockIdAndInstructionIdManyToManyEdge'; + /** Reads and enables pagination through a set of `AssetTransaction`. */ + assetTransactions: AssetTransactionsConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Instruction` at the end of the edge. */ + node?: Maybe; +}; + +/** A `Instruction` edge in the connection, with data from `AssetTransaction`. */ +export type BlockInstructionsByAssetTransactionCreatedBlockIdAndInstructionIdManyToManyEdgeAssetTransactionsArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `Instruction` values, with data from `AssetTransaction`. */ +export type BlockInstructionsByAssetTransactionUpdatedBlockIdAndInstructionIdManyToManyConnection = + { + __typename?: 'BlockInstructionsByAssetTransactionUpdatedBlockIdAndInstructionIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Instruction`, info from the `AssetTransaction`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Instruction` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Instruction` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; + +/** A connection to a list of `Instruction` values, with data from `AssetTransaction`. */ +export type BlockInstructionsByAssetTransactionUpdatedBlockIdAndInstructionIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Instruction` edge in the connection, with data from `AssetTransaction`. */ +export type BlockInstructionsByAssetTransactionUpdatedBlockIdAndInstructionIdManyToManyEdge = { + __typename?: 'BlockInstructionsByAssetTransactionUpdatedBlockIdAndInstructionIdManyToManyEdge'; + /** Reads and enables pagination through a set of `AssetTransaction`. */ + assetTransactions: AssetTransactionsConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Instruction` at the end of the edge. */ + node?: Maybe; +}; + +/** A `Instruction` edge in the connection, with data from `AssetTransaction`. */ +export type BlockInstructionsByAssetTransactionUpdatedBlockIdAndInstructionIdManyToManyEdgeAssetTransactionsArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + /** A connection to a list of `Instruction` values, with data from `Leg`. */ export type BlockInstructionsByLegCreatedBlockIdAndInstructionIdManyToManyConnection = { __typename?: 'BlockInstructionsByLegCreatedBlockIdAndInstructionIdManyToManyConnection'; @@ -31330,6 +31580,10 @@ export enum BlocksOrderBy { AssetTransactionsByCreatedBlockIdAverageFundingRoundDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_FUNDING_ROUND_DESC', AssetTransactionsByCreatedBlockIdAverageIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_ID_ASC', AssetTransactionsByCreatedBlockIdAverageIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_ID_DESC', + AssetTransactionsByCreatedBlockIdAverageInstructionIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_INSTRUCTION_ID_ASC', + AssetTransactionsByCreatedBlockIdAverageInstructionIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_INSTRUCTION_ID_DESC', + AssetTransactionsByCreatedBlockIdAverageInstructionMemoAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_INSTRUCTION_MEMO_ASC', + AssetTransactionsByCreatedBlockIdAverageInstructionMemoDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_INSTRUCTION_MEMO_DESC', AssetTransactionsByCreatedBlockIdAverageNftIdsAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_NFT_IDS_ASC', AssetTransactionsByCreatedBlockIdAverageNftIdsDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_NFT_IDS_DESC', AssetTransactionsByCreatedBlockIdAverageToPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_TO_PORTFOLIO_ID_ASC', @@ -31362,6 +31616,10 @@ export enum BlocksOrderBy { AssetTransactionsByCreatedBlockIdDistinctCountFundingRoundDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_FUNDING_ROUND_DESC', AssetTransactionsByCreatedBlockIdDistinctCountIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', AssetTransactionsByCreatedBlockIdDistinctCountIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', + AssetTransactionsByCreatedBlockIdDistinctCountInstructionIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_INSTRUCTION_ID_ASC', + AssetTransactionsByCreatedBlockIdDistinctCountInstructionIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_INSTRUCTION_ID_DESC', + AssetTransactionsByCreatedBlockIdDistinctCountInstructionMemoAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_INSTRUCTION_MEMO_ASC', + AssetTransactionsByCreatedBlockIdDistinctCountInstructionMemoDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_INSTRUCTION_MEMO_DESC', AssetTransactionsByCreatedBlockIdDistinctCountNftIdsAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_NFT_IDS_ASC', AssetTransactionsByCreatedBlockIdDistinctCountNftIdsDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_NFT_IDS_DESC', AssetTransactionsByCreatedBlockIdDistinctCountToPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TO_PORTFOLIO_ID_ASC', @@ -31392,6 +31650,10 @@ export enum BlocksOrderBy { AssetTransactionsByCreatedBlockIdMaxFundingRoundDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_FUNDING_ROUND_DESC', AssetTransactionsByCreatedBlockIdMaxIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_ID_ASC', AssetTransactionsByCreatedBlockIdMaxIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_ID_DESC', + AssetTransactionsByCreatedBlockIdMaxInstructionIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_INSTRUCTION_ID_ASC', + AssetTransactionsByCreatedBlockIdMaxInstructionIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_INSTRUCTION_ID_DESC', + AssetTransactionsByCreatedBlockIdMaxInstructionMemoAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_INSTRUCTION_MEMO_ASC', + AssetTransactionsByCreatedBlockIdMaxInstructionMemoDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_INSTRUCTION_MEMO_DESC', AssetTransactionsByCreatedBlockIdMaxNftIdsAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_NFT_IDS_ASC', AssetTransactionsByCreatedBlockIdMaxNftIdsDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_NFT_IDS_DESC', AssetTransactionsByCreatedBlockIdMaxToPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_TO_PORTFOLIO_ID_ASC', @@ -31422,6 +31684,10 @@ export enum BlocksOrderBy { AssetTransactionsByCreatedBlockIdMinFundingRoundDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_FUNDING_ROUND_DESC', AssetTransactionsByCreatedBlockIdMinIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_ID_ASC', AssetTransactionsByCreatedBlockIdMinIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_ID_DESC', + AssetTransactionsByCreatedBlockIdMinInstructionIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_INSTRUCTION_ID_ASC', + AssetTransactionsByCreatedBlockIdMinInstructionIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_INSTRUCTION_ID_DESC', + AssetTransactionsByCreatedBlockIdMinInstructionMemoAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_INSTRUCTION_MEMO_ASC', + AssetTransactionsByCreatedBlockIdMinInstructionMemoDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_INSTRUCTION_MEMO_DESC', AssetTransactionsByCreatedBlockIdMinNftIdsAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_NFT_IDS_ASC', AssetTransactionsByCreatedBlockIdMinNftIdsDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_NFT_IDS_DESC', AssetTransactionsByCreatedBlockIdMinToPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_TO_PORTFOLIO_ID_ASC', @@ -31452,6 +31718,10 @@ export enum BlocksOrderBy { AssetTransactionsByCreatedBlockIdStddevPopulationFundingRoundDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_FUNDING_ROUND_DESC', AssetTransactionsByCreatedBlockIdStddevPopulationIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', AssetTransactionsByCreatedBlockIdStddevPopulationIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', + AssetTransactionsByCreatedBlockIdStddevPopulationInstructionIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_INSTRUCTION_ID_ASC', + AssetTransactionsByCreatedBlockIdStddevPopulationInstructionIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_INSTRUCTION_ID_DESC', + AssetTransactionsByCreatedBlockIdStddevPopulationInstructionMemoAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_INSTRUCTION_MEMO_ASC', + AssetTransactionsByCreatedBlockIdStddevPopulationInstructionMemoDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_INSTRUCTION_MEMO_DESC', AssetTransactionsByCreatedBlockIdStddevPopulationNftIdsAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_NFT_IDS_ASC', AssetTransactionsByCreatedBlockIdStddevPopulationNftIdsDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_NFT_IDS_DESC', AssetTransactionsByCreatedBlockIdStddevPopulationToPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TO_PORTFOLIO_ID_ASC', @@ -31482,6 +31752,10 @@ export enum BlocksOrderBy { AssetTransactionsByCreatedBlockIdStddevSampleFundingRoundDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_FUNDING_ROUND_DESC', AssetTransactionsByCreatedBlockIdStddevSampleIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', AssetTransactionsByCreatedBlockIdStddevSampleIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', + AssetTransactionsByCreatedBlockIdStddevSampleInstructionIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_INSTRUCTION_ID_ASC', + AssetTransactionsByCreatedBlockIdStddevSampleInstructionIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_INSTRUCTION_ID_DESC', + AssetTransactionsByCreatedBlockIdStddevSampleInstructionMemoAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_INSTRUCTION_MEMO_ASC', + AssetTransactionsByCreatedBlockIdStddevSampleInstructionMemoDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_INSTRUCTION_MEMO_DESC', AssetTransactionsByCreatedBlockIdStddevSampleNftIdsAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_NFT_IDS_ASC', AssetTransactionsByCreatedBlockIdStddevSampleNftIdsDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_NFT_IDS_DESC', AssetTransactionsByCreatedBlockIdStddevSampleToPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TO_PORTFOLIO_ID_ASC', @@ -31512,6 +31786,10 @@ export enum BlocksOrderBy { AssetTransactionsByCreatedBlockIdSumFundingRoundDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_FUNDING_ROUND_DESC', AssetTransactionsByCreatedBlockIdSumIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_ID_ASC', AssetTransactionsByCreatedBlockIdSumIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_ID_DESC', + AssetTransactionsByCreatedBlockIdSumInstructionIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_INSTRUCTION_ID_ASC', + AssetTransactionsByCreatedBlockIdSumInstructionIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_INSTRUCTION_ID_DESC', + AssetTransactionsByCreatedBlockIdSumInstructionMemoAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_INSTRUCTION_MEMO_ASC', + AssetTransactionsByCreatedBlockIdSumInstructionMemoDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_INSTRUCTION_MEMO_DESC', AssetTransactionsByCreatedBlockIdSumNftIdsAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_NFT_IDS_ASC', AssetTransactionsByCreatedBlockIdSumNftIdsDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_NFT_IDS_DESC', AssetTransactionsByCreatedBlockIdSumToPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_TO_PORTFOLIO_ID_ASC', @@ -31542,6 +31820,10 @@ export enum BlocksOrderBy { AssetTransactionsByCreatedBlockIdVariancePopulationFundingRoundDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_FUNDING_ROUND_DESC', AssetTransactionsByCreatedBlockIdVariancePopulationIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', AssetTransactionsByCreatedBlockIdVariancePopulationIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', + AssetTransactionsByCreatedBlockIdVariancePopulationInstructionIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_INSTRUCTION_ID_ASC', + AssetTransactionsByCreatedBlockIdVariancePopulationInstructionIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_INSTRUCTION_ID_DESC', + AssetTransactionsByCreatedBlockIdVariancePopulationInstructionMemoAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_INSTRUCTION_MEMO_ASC', + AssetTransactionsByCreatedBlockIdVariancePopulationInstructionMemoDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_INSTRUCTION_MEMO_DESC', AssetTransactionsByCreatedBlockIdVariancePopulationNftIdsAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_NFT_IDS_ASC', AssetTransactionsByCreatedBlockIdVariancePopulationNftIdsDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_NFT_IDS_DESC', AssetTransactionsByCreatedBlockIdVariancePopulationToPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TO_PORTFOLIO_ID_ASC', @@ -31572,6 +31854,10 @@ export enum BlocksOrderBy { AssetTransactionsByCreatedBlockIdVarianceSampleFundingRoundDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_FUNDING_ROUND_DESC', AssetTransactionsByCreatedBlockIdVarianceSampleIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', AssetTransactionsByCreatedBlockIdVarianceSampleIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', + AssetTransactionsByCreatedBlockIdVarianceSampleInstructionIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_INSTRUCTION_ID_ASC', + AssetTransactionsByCreatedBlockIdVarianceSampleInstructionIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_INSTRUCTION_ID_DESC', + AssetTransactionsByCreatedBlockIdVarianceSampleInstructionMemoAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_INSTRUCTION_MEMO_ASC', + AssetTransactionsByCreatedBlockIdVarianceSampleInstructionMemoDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_INSTRUCTION_MEMO_DESC', AssetTransactionsByCreatedBlockIdVarianceSampleNftIdsAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_NFT_IDS_ASC', AssetTransactionsByCreatedBlockIdVarianceSampleNftIdsDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_NFT_IDS_DESC', AssetTransactionsByCreatedBlockIdVarianceSampleToPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TO_PORTFOLIO_ID_ASC', @@ -31602,6 +31888,10 @@ export enum BlocksOrderBy { AssetTransactionsByUpdatedBlockIdAverageFundingRoundDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_FUNDING_ROUND_DESC', AssetTransactionsByUpdatedBlockIdAverageIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_ASC', AssetTransactionsByUpdatedBlockIdAverageIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_DESC', + AssetTransactionsByUpdatedBlockIdAverageInstructionIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_INSTRUCTION_ID_ASC', + AssetTransactionsByUpdatedBlockIdAverageInstructionIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_INSTRUCTION_ID_DESC', + AssetTransactionsByUpdatedBlockIdAverageInstructionMemoAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_INSTRUCTION_MEMO_ASC', + AssetTransactionsByUpdatedBlockIdAverageInstructionMemoDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_INSTRUCTION_MEMO_DESC', AssetTransactionsByUpdatedBlockIdAverageNftIdsAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_NFT_IDS_ASC', AssetTransactionsByUpdatedBlockIdAverageNftIdsDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_NFT_IDS_DESC', AssetTransactionsByUpdatedBlockIdAverageToPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_TO_PORTFOLIO_ID_ASC', @@ -31634,6 +31924,10 @@ export enum BlocksOrderBy { AssetTransactionsByUpdatedBlockIdDistinctCountFundingRoundDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_FUNDING_ROUND_DESC', AssetTransactionsByUpdatedBlockIdDistinctCountIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', AssetTransactionsByUpdatedBlockIdDistinctCountIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', + AssetTransactionsByUpdatedBlockIdDistinctCountInstructionIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_INSTRUCTION_ID_ASC', + AssetTransactionsByUpdatedBlockIdDistinctCountInstructionIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_INSTRUCTION_ID_DESC', + AssetTransactionsByUpdatedBlockIdDistinctCountInstructionMemoAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_INSTRUCTION_MEMO_ASC', + AssetTransactionsByUpdatedBlockIdDistinctCountInstructionMemoDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_INSTRUCTION_MEMO_DESC', AssetTransactionsByUpdatedBlockIdDistinctCountNftIdsAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_NFT_IDS_ASC', AssetTransactionsByUpdatedBlockIdDistinctCountNftIdsDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_NFT_IDS_DESC', AssetTransactionsByUpdatedBlockIdDistinctCountToPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TO_PORTFOLIO_ID_ASC', @@ -31664,6 +31958,10 @@ export enum BlocksOrderBy { AssetTransactionsByUpdatedBlockIdMaxFundingRoundDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_FUNDING_ROUND_DESC', AssetTransactionsByUpdatedBlockIdMaxIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_ID_ASC', AssetTransactionsByUpdatedBlockIdMaxIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_ID_DESC', + AssetTransactionsByUpdatedBlockIdMaxInstructionIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_INSTRUCTION_ID_ASC', + AssetTransactionsByUpdatedBlockIdMaxInstructionIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_INSTRUCTION_ID_DESC', + AssetTransactionsByUpdatedBlockIdMaxInstructionMemoAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_INSTRUCTION_MEMO_ASC', + AssetTransactionsByUpdatedBlockIdMaxInstructionMemoDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_INSTRUCTION_MEMO_DESC', AssetTransactionsByUpdatedBlockIdMaxNftIdsAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_NFT_IDS_ASC', AssetTransactionsByUpdatedBlockIdMaxNftIdsDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_NFT_IDS_DESC', AssetTransactionsByUpdatedBlockIdMaxToPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_TO_PORTFOLIO_ID_ASC', @@ -31694,6 +31992,10 @@ export enum BlocksOrderBy { AssetTransactionsByUpdatedBlockIdMinFundingRoundDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_FUNDING_ROUND_DESC', AssetTransactionsByUpdatedBlockIdMinIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_ID_ASC', AssetTransactionsByUpdatedBlockIdMinIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_ID_DESC', + AssetTransactionsByUpdatedBlockIdMinInstructionIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_INSTRUCTION_ID_ASC', + AssetTransactionsByUpdatedBlockIdMinInstructionIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_INSTRUCTION_ID_DESC', + AssetTransactionsByUpdatedBlockIdMinInstructionMemoAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_INSTRUCTION_MEMO_ASC', + AssetTransactionsByUpdatedBlockIdMinInstructionMemoDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_INSTRUCTION_MEMO_DESC', AssetTransactionsByUpdatedBlockIdMinNftIdsAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_NFT_IDS_ASC', AssetTransactionsByUpdatedBlockIdMinNftIdsDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_NFT_IDS_DESC', AssetTransactionsByUpdatedBlockIdMinToPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_TO_PORTFOLIO_ID_ASC', @@ -31724,6 +32026,10 @@ export enum BlocksOrderBy { AssetTransactionsByUpdatedBlockIdStddevPopulationFundingRoundDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_FUNDING_ROUND_DESC', AssetTransactionsByUpdatedBlockIdStddevPopulationIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', AssetTransactionsByUpdatedBlockIdStddevPopulationIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', + AssetTransactionsByUpdatedBlockIdStddevPopulationInstructionIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_INSTRUCTION_ID_ASC', + AssetTransactionsByUpdatedBlockIdStddevPopulationInstructionIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_INSTRUCTION_ID_DESC', + AssetTransactionsByUpdatedBlockIdStddevPopulationInstructionMemoAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_INSTRUCTION_MEMO_ASC', + AssetTransactionsByUpdatedBlockIdStddevPopulationInstructionMemoDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_INSTRUCTION_MEMO_DESC', AssetTransactionsByUpdatedBlockIdStddevPopulationNftIdsAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_NFT_IDS_ASC', AssetTransactionsByUpdatedBlockIdStddevPopulationNftIdsDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_NFT_IDS_DESC', AssetTransactionsByUpdatedBlockIdStddevPopulationToPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TO_PORTFOLIO_ID_ASC', @@ -31754,6 +32060,10 @@ export enum BlocksOrderBy { AssetTransactionsByUpdatedBlockIdStddevSampleFundingRoundDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_FUNDING_ROUND_DESC', AssetTransactionsByUpdatedBlockIdStddevSampleIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', AssetTransactionsByUpdatedBlockIdStddevSampleIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', + AssetTransactionsByUpdatedBlockIdStddevSampleInstructionIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_INSTRUCTION_ID_ASC', + AssetTransactionsByUpdatedBlockIdStddevSampleInstructionIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_INSTRUCTION_ID_DESC', + AssetTransactionsByUpdatedBlockIdStddevSampleInstructionMemoAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_INSTRUCTION_MEMO_ASC', + AssetTransactionsByUpdatedBlockIdStddevSampleInstructionMemoDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_INSTRUCTION_MEMO_DESC', AssetTransactionsByUpdatedBlockIdStddevSampleNftIdsAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_NFT_IDS_ASC', AssetTransactionsByUpdatedBlockIdStddevSampleNftIdsDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_NFT_IDS_DESC', AssetTransactionsByUpdatedBlockIdStddevSampleToPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TO_PORTFOLIO_ID_ASC', @@ -31784,6 +32094,10 @@ export enum BlocksOrderBy { AssetTransactionsByUpdatedBlockIdSumFundingRoundDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_FUNDING_ROUND_DESC', AssetTransactionsByUpdatedBlockIdSumIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_ID_ASC', AssetTransactionsByUpdatedBlockIdSumIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_ID_DESC', + AssetTransactionsByUpdatedBlockIdSumInstructionIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_INSTRUCTION_ID_ASC', + AssetTransactionsByUpdatedBlockIdSumInstructionIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_INSTRUCTION_ID_DESC', + AssetTransactionsByUpdatedBlockIdSumInstructionMemoAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_INSTRUCTION_MEMO_ASC', + AssetTransactionsByUpdatedBlockIdSumInstructionMemoDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_INSTRUCTION_MEMO_DESC', AssetTransactionsByUpdatedBlockIdSumNftIdsAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_NFT_IDS_ASC', AssetTransactionsByUpdatedBlockIdSumNftIdsDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_NFT_IDS_DESC', AssetTransactionsByUpdatedBlockIdSumToPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_TO_PORTFOLIO_ID_ASC', @@ -31814,6 +32128,10 @@ export enum BlocksOrderBy { AssetTransactionsByUpdatedBlockIdVariancePopulationFundingRoundDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_FUNDING_ROUND_DESC', AssetTransactionsByUpdatedBlockIdVariancePopulationIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', AssetTransactionsByUpdatedBlockIdVariancePopulationIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', + AssetTransactionsByUpdatedBlockIdVariancePopulationInstructionIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_INSTRUCTION_ID_ASC', + AssetTransactionsByUpdatedBlockIdVariancePopulationInstructionIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_INSTRUCTION_ID_DESC', + AssetTransactionsByUpdatedBlockIdVariancePopulationInstructionMemoAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_INSTRUCTION_MEMO_ASC', + AssetTransactionsByUpdatedBlockIdVariancePopulationInstructionMemoDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_INSTRUCTION_MEMO_DESC', AssetTransactionsByUpdatedBlockIdVariancePopulationNftIdsAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_NFT_IDS_ASC', AssetTransactionsByUpdatedBlockIdVariancePopulationNftIdsDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_NFT_IDS_DESC', AssetTransactionsByUpdatedBlockIdVariancePopulationToPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TO_PORTFOLIO_ID_ASC', @@ -31844,6 +32162,10 @@ export enum BlocksOrderBy { AssetTransactionsByUpdatedBlockIdVarianceSampleFundingRoundDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_FUNDING_ROUND_DESC', AssetTransactionsByUpdatedBlockIdVarianceSampleIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', AssetTransactionsByUpdatedBlockIdVarianceSampleIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', + AssetTransactionsByUpdatedBlockIdVarianceSampleInstructionIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_INSTRUCTION_ID_ASC', + AssetTransactionsByUpdatedBlockIdVarianceSampleInstructionIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_INSTRUCTION_ID_DESC', + AssetTransactionsByUpdatedBlockIdVarianceSampleInstructionMemoAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_INSTRUCTION_MEMO_ASC', + AssetTransactionsByUpdatedBlockIdVarianceSampleInstructionMemoDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_INSTRUCTION_MEMO_DESC', AssetTransactionsByUpdatedBlockIdVarianceSampleNftIdsAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_NFT_IDS_ASC', AssetTransactionsByUpdatedBlockIdVarianceSampleNftIdsDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_NFT_IDS_DESC', AssetTransactionsByUpdatedBlockIdVarianceSampleToPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TO_PORTFOLIO_ID_ASC', @@ -48026,6 +48348,7 @@ export enum CallIdEnum { ApproveAsKey = 'approve_as_key', ApproveCommitteeProposal = 'approve_committee_proposal', ArchiveExtension = 'archive_extension', + AsDerivative = 'as_derivative', AttachBallot = 'attach_ballot', AuthorizeInstruction = 'authorize_instruction', AuthorizeWithReceipts = 'authorize_with_receipts', @@ -67849,6 +68172,14 @@ export type IdentityVenuesByStoCreatorIdAndVenueIdManyToManyEdgeStosArgs = { */ export type Instruction = Node & { __typename?: 'Instruction'; + /** Reads and enables pagination through a set of `AssetTransaction`. */ + assetTransactions: AssetTransactionsConnection; + /** Reads and enables pagination through a set of `Asset`. */ + assetsByAssetTransactionInstructionIdAndAssetId: InstructionAssetsByAssetTransactionInstructionIdAndAssetIdManyToManyConnection; + /** Reads and enables pagination through a set of `Block`. */ + blocksByAssetTransactionInstructionIdAndCreatedBlockId: InstructionBlocksByAssetTransactionInstructionIdAndCreatedBlockIdManyToManyConnection; + /** Reads and enables pagination through a set of `Block`. */ + blocksByAssetTransactionInstructionIdAndUpdatedBlockId: InstructionBlocksByAssetTransactionInstructionIdAndUpdatedBlockIdManyToManyConnection; /** Reads and enables pagination through a set of `Block`. */ blocksByLegInstructionIdAndCreatedBlockId: InstructionBlocksByLegInstructionIdAndCreatedBlockIdManyToManyConnection; /** Reads and enables pagination through a set of `Block`. */ @@ -67867,6 +68198,10 @@ export type Instruction = Node & { /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ nodeId: Scalars['ID']['output']; /** Reads and enables pagination through a set of `Portfolio`. */ + portfoliosByAssetTransactionInstructionIdAndFromPortfolioId: InstructionPortfoliosByAssetTransactionInstructionIdAndFromPortfolioIdManyToManyConnection; + /** Reads and enables pagination through a set of `Portfolio`. */ + portfoliosByAssetTransactionInstructionIdAndToPortfolioId: InstructionPortfoliosByAssetTransactionInstructionIdAndToPortfolioIdManyToManyConnection; + /** Reads and enables pagination through a set of `Portfolio`. */ portfoliosByLegInstructionIdAndFromId: InstructionPortfoliosByLegInstructionIdAndFromIdManyToManyConnection; /** Reads and enables pagination through a set of `Portfolio`. */ portfoliosByLegInstructionIdAndToId: InstructionPortfoliosByLegInstructionIdAndToIdManyToManyConnection; @@ -67885,6 +68220,70 @@ export type Instruction = Node & { venueId: Scalars['String']['output']; }; +/** + * Represents a request to exchange Assets between parties. + * + * Before an Instruction is executed all involved parties must sign and submit an affirmation. Once an Instruction is affirmed it will then be attempted to be executed. If any party fails to satisfy any compliance or transfer restriction the Instruction will fail, and no movement of assets will occur. + */ +export type InstructionAssetTransactionsArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** + * Represents a request to exchange Assets between parties. + * + * Before an Instruction is executed all involved parties must sign and submit an affirmation. Once an Instruction is affirmed it will then be attempted to be executed. If any party fails to satisfy any compliance or transfer restriction the Instruction will fail, and no movement of assets will occur. + */ +export type InstructionAssetsByAssetTransactionInstructionIdAndAssetIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** + * Represents a request to exchange Assets between parties. + * + * Before an Instruction is executed all involved parties must sign and submit an affirmation. Once an Instruction is affirmed it will then be attempted to be executed. If any party fails to satisfy any compliance or transfer restriction the Instruction will fail, and no movement of assets will occur. + */ +export type InstructionBlocksByAssetTransactionInstructionIdAndCreatedBlockIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** + * Represents a request to exchange Assets between parties. + * + * Before an Instruction is executed all involved parties must sign and submit an affirmation. Once an Instruction is affirmed it will then be attempted to be executed. If any party fails to satisfy any compliance or transfer restriction the Instruction will fail, and no movement of assets will occur. + */ +export type InstructionBlocksByAssetTransactionInstructionIdAndUpdatedBlockIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + /** * Represents a request to exchange Assets between parties. * @@ -67933,6 +68332,38 @@ export type InstructionLegsArgs = { orderBy?: InputMaybe>; }; +/** + * Represents a request to exchange Assets between parties. + * + * Before an Instruction is executed all involved parties must sign and submit an affirmation. Once an Instruction is affirmed it will then be attempted to be executed. If any party fails to satisfy any compliance or transfer restriction the Instruction will fail, and no movement of assets will occur. + */ +export type InstructionPortfoliosByAssetTransactionInstructionIdAndFromPortfolioIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** + * Represents a request to exchange Assets between parties. + * + * Before an Instruction is executed all involved parties must sign and submit an affirmation. Once an Instruction is affirmed it will then be attempted to be executed. If any party fails to satisfy any compliance or transfer restriction the Instruction will fail, and no movement of assets will occur. + */ +export type InstructionPortfoliosByAssetTransactionInstructionIdAndToPortfolioIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + /** * Represents a request to exchange Assets between parties. * @@ -68028,6 +68459,54 @@ export type InstructionAggregatesFilter = { varianceSample?: InputMaybe; }; +/** A connection to a list of `Asset` values, with data from `AssetTransaction`. */ +export type InstructionAssetsByAssetTransactionInstructionIdAndAssetIdManyToManyConnection = { + __typename?: 'InstructionAssetsByAssetTransactionInstructionIdAndAssetIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Asset`, info from the `AssetTransaction`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Asset` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Asset` you could get from the connection. */ + totalCount: Scalars['Int']['output']; +}; + +/** A connection to a list of `Asset` values, with data from `AssetTransaction`. */ +export type InstructionAssetsByAssetTransactionInstructionIdAndAssetIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Asset` edge in the connection, with data from `AssetTransaction`. */ +export type InstructionAssetsByAssetTransactionInstructionIdAndAssetIdManyToManyEdge = { + __typename?: 'InstructionAssetsByAssetTransactionInstructionIdAndAssetIdManyToManyEdge'; + /** Reads and enables pagination through a set of `AssetTransaction`. */ + assetTransactions: AssetTransactionsConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Asset` at the end of the edge. */ + node?: Maybe; +}; + +/** A `Asset` edge in the connection, with data from `AssetTransaction`. */ +export type InstructionAssetsByAssetTransactionInstructionIdAndAssetIdManyToManyEdgeAssetTransactionsArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + export type InstructionAverageAggregateFilter = { endBlock?: InputMaybe; eventIdx?: InputMaybe; @@ -68041,6 +68520,104 @@ export type InstructionAverageAggregates = { eventIdx?: Maybe; }; +/** A connection to a list of `Block` values, with data from `AssetTransaction`. */ +export type InstructionBlocksByAssetTransactionInstructionIdAndCreatedBlockIdManyToManyConnection = + { + __typename?: 'InstructionBlocksByAssetTransactionInstructionIdAndCreatedBlockIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Block`, info from the `AssetTransaction`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Block` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Block` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; + +/** A connection to a list of `Block` values, with data from `AssetTransaction`. */ +export type InstructionBlocksByAssetTransactionInstructionIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Block` edge in the connection, with data from `AssetTransaction`. */ +export type InstructionBlocksByAssetTransactionInstructionIdAndCreatedBlockIdManyToManyEdge = { + __typename?: 'InstructionBlocksByAssetTransactionInstructionIdAndCreatedBlockIdManyToManyEdge'; + /** Reads and enables pagination through a set of `AssetTransaction`. */ + assetTransactionsByCreatedBlockId: AssetTransactionsConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Block` at the end of the edge. */ + node?: Maybe; +}; + +/** A `Block` edge in the connection, with data from `AssetTransaction`. */ +export type InstructionBlocksByAssetTransactionInstructionIdAndCreatedBlockIdManyToManyEdgeAssetTransactionsByCreatedBlockIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `Block` values, with data from `AssetTransaction`. */ +export type InstructionBlocksByAssetTransactionInstructionIdAndUpdatedBlockIdManyToManyConnection = + { + __typename?: 'InstructionBlocksByAssetTransactionInstructionIdAndUpdatedBlockIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Block`, info from the `AssetTransaction`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Block` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Block` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; + +/** A connection to a list of `Block` values, with data from `AssetTransaction`. */ +export type InstructionBlocksByAssetTransactionInstructionIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Block` edge in the connection, with data from `AssetTransaction`. */ +export type InstructionBlocksByAssetTransactionInstructionIdAndUpdatedBlockIdManyToManyEdge = { + __typename?: 'InstructionBlocksByAssetTransactionInstructionIdAndUpdatedBlockIdManyToManyEdge'; + /** Reads and enables pagination through a set of `AssetTransaction`. */ + assetTransactionsByUpdatedBlockId: AssetTransactionsConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Block` at the end of the edge. */ + node?: Maybe; +}; + +/** A `Block` edge in the connection, with data from `AssetTransaction`. */ +export type InstructionBlocksByAssetTransactionInstructionIdAndUpdatedBlockIdManyToManyEdgeAssetTransactionsByUpdatedBlockIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + /** A connection to a list of `Block` values, with data from `Leg`. */ export type InstructionBlocksByLegInstructionIdAndCreatedBlockIdManyToManyConnection = { __typename?: 'InstructionBlocksByLegInstructionIdAndCreatedBlockIdManyToManyConnection'; @@ -68190,6 +68767,10 @@ export type InstructionDistinctCountAggregates = { export type InstructionFilter = { /** Checks for all expressions in this list. */ and?: InputMaybe>; + /** Filter by the object’s `assetTransactions` relation. */ + assetTransactions?: InputMaybe; + /** Some related `assetTransactions` exist. */ + assetTransactionsExist?: InputMaybe; /** Filter by the object’s `createdAt` field. */ createdAt?: InputMaybe; /** Filter by the object’s `createdBlock` relation. */ @@ -68260,6 +68841,104 @@ export type InstructionMinAggregates = { eventIdx?: Maybe; }; +/** A connection to a list of `Portfolio` values, with data from `AssetTransaction`. */ +export type InstructionPortfoliosByAssetTransactionInstructionIdAndFromPortfolioIdManyToManyConnection = + { + __typename?: 'InstructionPortfoliosByAssetTransactionInstructionIdAndFromPortfolioIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Portfolio`, info from the `AssetTransaction`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Portfolio` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Portfolio` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; + +/** A connection to a list of `Portfolio` values, with data from `AssetTransaction`. */ +export type InstructionPortfoliosByAssetTransactionInstructionIdAndFromPortfolioIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Portfolio` edge in the connection, with data from `AssetTransaction`. */ +export type InstructionPortfoliosByAssetTransactionInstructionIdAndFromPortfolioIdManyToManyEdge = { + __typename?: 'InstructionPortfoliosByAssetTransactionInstructionIdAndFromPortfolioIdManyToManyEdge'; + /** Reads and enables pagination through a set of `AssetTransaction`. */ + assetTransactionsByFromPortfolioId: AssetTransactionsConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Portfolio` at the end of the edge. */ + node?: Maybe; +}; + +/** A `Portfolio` edge in the connection, with data from `AssetTransaction`. */ +export type InstructionPortfoliosByAssetTransactionInstructionIdAndFromPortfolioIdManyToManyEdgeAssetTransactionsByFromPortfolioIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `Portfolio` values, with data from `AssetTransaction`. */ +export type InstructionPortfoliosByAssetTransactionInstructionIdAndToPortfolioIdManyToManyConnection = + { + __typename?: 'InstructionPortfoliosByAssetTransactionInstructionIdAndToPortfolioIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Portfolio`, info from the `AssetTransaction`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Portfolio` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Portfolio` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; + +/** A connection to a list of `Portfolio` values, with data from `AssetTransaction`. */ +export type InstructionPortfoliosByAssetTransactionInstructionIdAndToPortfolioIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Portfolio` edge in the connection, with data from `AssetTransaction`. */ +export type InstructionPortfoliosByAssetTransactionInstructionIdAndToPortfolioIdManyToManyEdge = { + __typename?: 'InstructionPortfoliosByAssetTransactionInstructionIdAndToPortfolioIdManyToManyEdge'; + /** Reads and enables pagination through a set of `AssetTransaction`. */ + assetTransactionsByToPortfolioId: AssetTransactionsConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Portfolio` at the end of the edge. */ + node?: Maybe; +}; + +/** A `Portfolio` edge in the connection, with data from `AssetTransaction`. */ +export type InstructionPortfoliosByAssetTransactionInstructionIdAndToPortfolioIdManyToManyEdgeAssetTransactionsByToPortfolioIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + /** A connection to a list of `Portfolio` values, with data from `Leg`. */ export type InstructionPortfoliosByLegInstructionIdAndFromIdManyToManyConnection = { __typename?: 'InstructionPortfoliosByLegInstructionIdAndFromIdManyToManyConnection'; @@ -68474,6 +69153,18 @@ export type InstructionSumAggregates = { eventIdx: Scalars['BigInt']['output']; }; +/** A filter to be used against many `AssetTransaction` object types. All fields are combined with a logical ‘and.’ */ +export type InstructionToManyAssetTransactionFilter = { + /** Aggregates across related `AssetTransaction` match the filter criteria. */ + aggregates?: InputMaybe; + /** Every related `AssetTransaction` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe; + /** No related `AssetTransaction` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe; + /** Some related `AssetTransaction` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe; +}; + /** A filter to be used against many `Leg` object types. All fields are combined with a logical ‘and.’ */ export type InstructionToManyLegFilter = { /** Aggregates across related `Leg` match the filter criteria. */ @@ -68667,6 +69358,314 @@ export type InstructionsHavingVarianceSampleInput = { /** Methods to use when ordering `Instruction`. */ export enum InstructionsOrderBy { + AssetTransactionsAverageAmountAsc = 'ASSET_TRANSACTIONS_AVERAGE_AMOUNT_ASC', + AssetTransactionsAverageAmountDesc = 'ASSET_TRANSACTIONS_AVERAGE_AMOUNT_DESC', + AssetTransactionsAverageAssetIdAsc = 'ASSET_TRANSACTIONS_AVERAGE_ASSET_ID_ASC', + AssetTransactionsAverageAssetIdDesc = 'ASSET_TRANSACTIONS_AVERAGE_ASSET_ID_DESC', + AssetTransactionsAverageCreatedAtAsc = 'ASSET_TRANSACTIONS_AVERAGE_CREATED_AT_ASC', + AssetTransactionsAverageCreatedAtDesc = 'ASSET_TRANSACTIONS_AVERAGE_CREATED_AT_DESC', + AssetTransactionsAverageCreatedBlockIdAsc = 'ASSET_TRANSACTIONS_AVERAGE_CREATED_BLOCK_ID_ASC', + AssetTransactionsAverageCreatedBlockIdDesc = 'ASSET_TRANSACTIONS_AVERAGE_CREATED_BLOCK_ID_DESC', + AssetTransactionsAverageDatetimeAsc = 'ASSET_TRANSACTIONS_AVERAGE_DATETIME_ASC', + AssetTransactionsAverageDatetimeDesc = 'ASSET_TRANSACTIONS_AVERAGE_DATETIME_DESC', + AssetTransactionsAverageEventIdxAsc = 'ASSET_TRANSACTIONS_AVERAGE_EVENT_IDX_ASC', + AssetTransactionsAverageEventIdxDesc = 'ASSET_TRANSACTIONS_AVERAGE_EVENT_IDX_DESC', + AssetTransactionsAverageEventIdAsc = 'ASSET_TRANSACTIONS_AVERAGE_EVENT_ID_ASC', + AssetTransactionsAverageEventIdDesc = 'ASSET_TRANSACTIONS_AVERAGE_EVENT_ID_DESC', + AssetTransactionsAverageExtrinsicIdxAsc = 'ASSET_TRANSACTIONS_AVERAGE_EXTRINSIC_IDX_ASC', + AssetTransactionsAverageExtrinsicIdxDesc = 'ASSET_TRANSACTIONS_AVERAGE_EXTRINSIC_IDX_DESC', + AssetTransactionsAverageFromPortfolioIdAsc = 'ASSET_TRANSACTIONS_AVERAGE_FROM_PORTFOLIO_ID_ASC', + AssetTransactionsAverageFromPortfolioIdDesc = 'ASSET_TRANSACTIONS_AVERAGE_FROM_PORTFOLIO_ID_DESC', + AssetTransactionsAverageFundingRoundAsc = 'ASSET_TRANSACTIONS_AVERAGE_FUNDING_ROUND_ASC', + AssetTransactionsAverageFundingRoundDesc = 'ASSET_TRANSACTIONS_AVERAGE_FUNDING_ROUND_DESC', + AssetTransactionsAverageIdAsc = 'ASSET_TRANSACTIONS_AVERAGE_ID_ASC', + AssetTransactionsAverageIdDesc = 'ASSET_TRANSACTIONS_AVERAGE_ID_DESC', + AssetTransactionsAverageInstructionIdAsc = 'ASSET_TRANSACTIONS_AVERAGE_INSTRUCTION_ID_ASC', + AssetTransactionsAverageInstructionIdDesc = 'ASSET_TRANSACTIONS_AVERAGE_INSTRUCTION_ID_DESC', + AssetTransactionsAverageInstructionMemoAsc = 'ASSET_TRANSACTIONS_AVERAGE_INSTRUCTION_MEMO_ASC', + AssetTransactionsAverageInstructionMemoDesc = 'ASSET_TRANSACTIONS_AVERAGE_INSTRUCTION_MEMO_DESC', + AssetTransactionsAverageNftIdsAsc = 'ASSET_TRANSACTIONS_AVERAGE_NFT_IDS_ASC', + AssetTransactionsAverageNftIdsDesc = 'ASSET_TRANSACTIONS_AVERAGE_NFT_IDS_DESC', + AssetTransactionsAverageToPortfolioIdAsc = 'ASSET_TRANSACTIONS_AVERAGE_TO_PORTFOLIO_ID_ASC', + AssetTransactionsAverageToPortfolioIdDesc = 'ASSET_TRANSACTIONS_AVERAGE_TO_PORTFOLIO_ID_DESC', + AssetTransactionsAverageUpdatedAtAsc = 'ASSET_TRANSACTIONS_AVERAGE_UPDATED_AT_ASC', + AssetTransactionsAverageUpdatedAtDesc = 'ASSET_TRANSACTIONS_AVERAGE_UPDATED_AT_DESC', + AssetTransactionsAverageUpdatedBlockIdAsc = 'ASSET_TRANSACTIONS_AVERAGE_UPDATED_BLOCK_ID_ASC', + AssetTransactionsAverageUpdatedBlockIdDesc = 'ASSET_TRANSACTIONS_AVERAGE_UPDATED_BLOCK_ID_DESC', + AssetTransactionsCountAsc = 'ASSET_TRANSACTIONS_COUNT_ASC', + AssetTransactionsCountDesc = 'ASSET_TRANSACTIONS_COUNT_DESC', + AssetTransactionsDistinctCountAmountAsc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_AMOUNT_ASC', + AssetTransactionsDistinctCountAmountDesc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_AMOUNT_DESC', + AssetTransactionsDistinctCountAssetIdAsc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_ASSET_ID_ASC', + AssetTransactionsDistinctCountAssetIdDesc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_ASSET_ID_DESC', + AssetTransactionsDistinctCountCreatedAtAsc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_CREATED_AT_ASC', + AssetTransactionsDistinctCountCreatedAtDesc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_CREATED_AT_DESC', + AssetTransactionsDistinctCountCreatedBlockIdAsc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', + AssetTransactionsDistinctCountCreatedBlockIdDesc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', + AssetTransactionsDistinctCountDatetimeAsc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_DATETIME_ASC', + AssetTransactionsDistinctCountDatetimeDesc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_DATETIME_DESC', + AssetTransactionsDistinctCountEventIdxAsc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_EVENT_IDX_ASC', + AssetTransactionsDistinctCountEventIdxDesc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_EVENT_IDX_DESC', + AssetTransactionsDistinctCountEventIdAsc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_EVENT_ID_ASC', + AssetTransactionsDistinctCountEventIdDesc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_EVENT_ID_DESC', + AssetTransactionsDistinctCountExtrinsicIdxAsc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_EXTRINSIC_IDX_ASC', + AssetTransactionsDistinctCountExtrinsicIdxDesc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_EXTRINSIC_IDX_DESC', + AssetTransactionsDistinctCountFromPortfolioIdAsc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_FROM_PORTFOLIO_ID_ASC', + AssetTransactionsDistinctCountFromPortfolioIdDesc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_FROM_PORTFOLIO_ID_DESC', + AssetTransactionsDistinctCountFundingRoundAsc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_FUNDING_ROUND_ASC', + AssetTransactionsDistinctCountFundingRoundDesc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_FUNDING_ROUND_DESC', + AssetTransactionsDistinctCountIdAsc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_ID_ASC', + AssetTransactionsDistinctCountIdDesc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_ID_DESC', + AssetTransactionsDistinctCountInstructionIdAsc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_INSTRUCTION_ID_ASC', + AssetTransactionsDistinctCountInstructionIdDesc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_INSTRUCTION_ID_DESC', + AssetTransactionsDistinctCountInstructionMemoAsc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_INSTRUCTION_MEMO_ASC', + AssetTransactionsDistinctCountInstructionMemoDesc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_INSTRUCTION_MEMO_DESC', + AssetTransactionsDistinctCountNftIdsAsc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_NFT_IDS_ASC', + AssetTransactionsDistinctCountNftIdsDesc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_NFT_IDS_DESC', + AssetTransactionsDistinctCountToPortfolioIdAsc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_TO_PORTFOLIO_ID_ASC', + AssetTransactionsDistinctCountToPortfolioIdDesc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_TO_PORTFOLIO_ID_DESC', + AssetTransactionsDistinctCountUpdatedAtAsc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_UPDATED_AT_ASC', + AssetTransactionsDistinctCountUpdatedAtDesc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_UPDATED_AT_DESC', + AssetTransactionsDistinctCountUpdatedBlockIdAsc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', + AssetTransactionsDistinctCountUpdatedBlockIdDesc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', + AssetTransactionsMaxAmountAsc = 'ASSET_TRANSACTIONS_MAX_AMOUNT_ASC', + AssetTransactionsMaxAmountDesc = 'ASSET_TRANSACTIONS_MAX_AMOUNT_DESC', + AssetTransactionsMaxAssetIdAsc = 'ASSET_TRANSACTIONS_MAX_ASSET_ID_ASC', + AssetTransactionsMaxAssetIdDesc = 'ASSET_TRANSACTIONS_MAX_ASSET_ID_DESC', + AssetTransactionsMaxCreatedAtAsc = 'ASSET_TRANSACTIONS_MAX_CREATED_AT_ASC', + AssetTransactionsMaxCreatedAtDesc = 'ASSET_TRANSACTIONS_MAX_CREATED_AT_DESC', + AssetTransactionsMaxCreatedBlockIdAsc = 'ASSET_TRANSACTIONS_MAX_CREATED_BLOCK_ID_ASC', + AssetTransactionsMaxCreatedBlockIdDesc = 'ASSET_TRANSACTIONS_MAX_CREATED_BLOCK_ID_DESC', + AssetTransactionsMaxDatetimeAsc = 'ASSET_TRANSACTIONS_MAX_DATETIME_ASC', + AssetTransactionsMaxDatetimeDesc = 'ASSET_TRANSACTIONS_MAX_DATETIME_DESC', + AssetTransactionsMaxEventIdxAsc = 'ASSET_TRANSACTIONS_MAX_EVENT_IDX_ASC', + AssetTransactionsMaxEventIdxDesc = 'ASSET_TRANSACTIONS_MAX_EVENT_IDX_DESC', + AssetTransactionsMaxEventIdAsc = 'ASSET_TRANSACTIONS_MAX_EVENT_ID_ASC', + AssetTransactionsMaxEventIdDesc = 'ASSET_TRANSACTIONS_MAX_EVENT_ID_DESC', + AssetTransactionsMaxExtrinsicIdxAsc = 'ASSET_TRANSACTIONS_MAX_EXTRINSIC_IDX_ASC', + AssetTransactionsMaxExtrinsicIdxDesc = 'ASSET_TRANSACTIONS_MAX_EXTRINSIC_IDX_DESC', + AssetTransactionsMaxFromPortfolioIdAsc = 'ASSET_TRANSACTIONS_MAX_FROM_PORTFOLIO_ID_ASC', + AssetTransactionsMaxFromPortfolioIdDesc = 'ASSET_TRANSACTIONS_MAX_FROM_PORTFOLIO_ID_DESC', + AssetTransactionsMaxFundingRoundAsc = 'ASSET_TRANSACTIONS_MAX_FUNDING_ROUND_ASC', + AssetTransactionsMaxFundingRoundDesc = 'ASSET_TRANSACTIONS_MAX_FUNDING_ROUND_DESC', + AssetTransactionsMaxIdAsc = 'ASSET_TRANSACTIONS_MAX_ID_ASC', + AssetTransactionsMaxIdDesc = 'ASSET_TRANSACTIONS_MAX_ID_DESC', + AssetTransactionsMaxInstructionIdAsc = 'ASSET_TRANSACTIONS_MAX_INSTRUCTION_ID_ASC', + AssetTransactionsMaxInstructionIdDesc = 'ASSET_TRANSACTIONS_MAX_INSTRUCTION_ID_DESC', + AssetTransactionsMaxInstructionMemoAsc = 'ASSET_TRANSACTIONS_MAX_INSTRUCTION_MEMO_ASC', + AssetTransactionsMaxInstructionMemoDesc = 'ASSET_TRANSACTIONS_MAX_INSTRUCTION_MEMO_DESC', + AssetTransactionsMaxNftIdsAsc = 'ASSET_TRANSACTIONS_MAX_NFT_IDS_ASC', + AssetTransactionsMaxNftIdsDesc = 'ASSET_TRANSACTIONS_MAX_NFT_IDS_DESC', + AssetTransactionsMaxToPortfolioIdAsc = 'ASSET_TRANSACTIONS_MAX_TO_PORTFOLIO_ID_ASC', + AssetTransactionsMaxToPortfolioIdDesc = 'ASSET_TRANSACTIONS_MAX_TO_PORTFOLIO_ID_DESC', + AssetTransactionsMaxUpdatedAtAsc = 'ASSET_TRANSACTIONS_MAX_UPDATED_AT_ASC', + AssetTransactionsMaxUpdatedAtDesc = 'ASSET_TRANSACTIONS_MAX_UPDATED_AT_DESC', + AssetTransactionsMaxUpdatedBlockIdAsc = 'ASSET_TRANSACTIONS_MAX_UPDATED_BLOCK_ID_ASC', + AssetTransactionsMaxUpdatedBlockIdDesc = 'ASSET_TRANSACTIONS_MAX_UPDATED_BLOCK_ID_DESC', + AssetTransactionsMinAmountAsc = 'ASSET_TRANSACTIONS_MIN_AMOUNT_ASC', + AssetTransactionsMinAmountDesc = 'ASSET_TRANSACTIONS_MIN_AMOUNT_DESC', + AssetTransactionsMinAssetIdAsc = 'ASSET_TRANSACTIONS_MIN_ASSET_ID_ASC', + AssetTransactionsMinAssetIdDesc = 'ASSET_TRANSACTIONS_MIN_ASSET_ID_DESC', + AssetTransactionsMinCreatedAtAsc = 'ASSET_TRANSACTIONS_MIN_CREATED_AT_ASC', + AssetTransactionsMinCreatedAtDesc = 'ASSET_TRANSACTIONS_MIN_CREATED_AT_DESC', + AssetTransactionsMinCreatedBlockIdAsc = 'ASSET_TRANSACTIONS_MIN_CREATED_BLOCK_ID_ASC', + AssetTransactionsMinCreatedBlockIdDesc = 'ASSET_TRANSACTIONS_MIN_CREATED_BLOCK_ID_DESC', + AssetTransactionsMinDatetimeAsc = 'ASSET_TRANSACTIONS_MIN_DATETIME_ASC', + AssetTransactionsMinDatetimeDesc = 'ASSET_TRANSACTIONS_MIN_DATETIME_DESC', + AssetTransactionsMinEventIdxAsc = 'ASSET_TRANSACTIONS_MIN_EVENT_IDX_ASC', + AssetTransactionsMinEventIdxDesc = 'ASSET_TRANSACTIONS_MIN_EVENT_IDX_DESC', + AssetTransactionsMinEventIdAsc = 'ASSET_TRANSACTIONS_MIN_EVENT_ID_ASC', + AssetTransactionsMinEventIdDesc = 'ASSET_TRANSACTIONS_MIN_EVENT_ID_DESC', + AssetTransactionsMinExtrinsicIdxAsc = 'ASSET_TRANSACTIONS_MIN_EXTRINSIC_IDX_ASC', + AssetTransactionsMinExtrinsicIdxDesc = 'ASSET_TRANSACTIONS_MIN_EXTRINSIC_IDX_DESC', + AssetTransactionsMinFromPortfolioIdAsc = 'ASSET_TRANSACTIONS_MIN_FROM_PORTFOLIO_ID_ASC', + AssetTransactionsMinFromPortfolioIdDesc = 'ASSET_TRANSACTIONS_MIN_FROM_PORTFOLIO_ID_DESC', + AssetTransactionsMinFundingRoundAsc = 'ASSET_TRANSACTIONS_MIN_FUNDING_ROUND_ASC', + AssetTransactionsMinFundingRoundDesc = 'ASSET_TRANSACTIONS_MIN_FUNDING_ROUND_DESC', + AssetTransactionsMinIdAsc = 'ASSET_TRANSACTIONS_MIN_ID_ASC', + AssetTransactionsMinIdDesc = 'ASSET_TRANSACTIONS_MIN_ID_DESC', + AssetTransactionsMinInstructionIdAsc = 'ASSET_TRANSACTIONS_MIN_INSTRUCTION_ID_ASC', + AssetTransactionsMinInstructionIdDesc = 'ASSET_TRANSACTIONS_MIN_INSTRUCTION_ID_DESC', + AssetTransactionsMinInstructionMemoAsc = 'ASSET_TRANSACTIONS_MIN_INSTRUCTION_MEMO_ASC', + AssetTransactionsMinInstructionMemoDesc = 'ASSET_TRANSACTIONS_MIN_INSTRUCTION_MEMO_DESC', + AssetTransactionsMinNftIdsAsc = 'ASSET_TRANSACTIONS_MIN_NFT_IDS_ASC', + AssetTransactionsMinNftIdsDesc = 'ASSET_TRANSACTIONS_MIN_NFT_IDS_DESC', + AssetTransactionsMinToPortfolioIdAsc = 'ASSET_TRANSACTIONS_MIN_TO_PORTFOLIO_ID_ASC', + AssetTransactionsMinToPortfolioIdDesc = 'ASSET_TRANSACTIONS_MIN_TO_PORTFOLIO_ID_DESC', + AssetTransactionsMinUpdatedAtAsc = 'ASSET_TRANSACTIONS_MIN_UPDATED_AT_ASC', + AssetTransactionsMinUpdatedAtDesc = 'ASSET_TRANSACTIONS_MIN_UPDATED_AT_DESC', + AssetTransactionsMinUpdatedBlockIdAsc = 'ASSET_TRANSACTIONS_MIN_UPDATED_BLOCK_ID_ASC', + AssetTransactionsMinUpdatedBlockIdDesc = 'ASSET_TRANSACTIONS_MIN_UPDATED_BLOCK_ID_DESC', + AssetTransactionsStddevPopulationAmountAsc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_AMOUNT_ASC', + AssetTransactionsStddevPopulationAmountDesc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_AMOUNT_DESC', + AssetTransactionsStddevPopulationAssetIdAsc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_ASSET_ID_ASC', + AssetTransactionsStddevPopulationAssetIdDesc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_ASSET_ID_DESC', + AssetTransactionsStddevPopulationCreatedAtAsc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_CREATED_AT_ASC', + AssetTransactionsStddevPopulationCreatedAtDesc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_CREATED_AT_DESC', + AssetTransactionsStddevPopulationCreatedBlockIdAsc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', + AssetTransactionsStddevPopulationCreatedBlockIdDesc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', + AssetTransactionsStddevPopulationDatetimeAsc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_DATETIME_ASC', + AssetTransactionsStddevPopulationDatetimeDesc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_DATETIME_DESC', + AssetTransactionsStddevPopulationEventIdxAsc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_EVENT_IDX_ASC', + AssetTransactionsStddevPopulationEventIdxDesc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_EVENT_IDX_DESC', + AssetTransactionsStddevPopulationEventIdAsc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_EVENT_ID_ASC', + AssetTransactionsStddevPopulationEventIdDesc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_EVENT_ID_DESC', + AssetTransactionsStddevPopulationExtrinsicIdxAsc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_EXTRINSIC_IDX_ASC', + AssetTransactionsStddevPopulationExtrinsicIdxDesc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_EXTRINSIC_IDX_DESC', + AssetTransactionsStddevPopulationFromPortfolioIdAsc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_FROM_PORTFOLIO_ID_ASC', + AssetTransactionsStddevPopulationFromPortfolioIdDesc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_FROM_PORTFOLIO_ID_DESC', + AssetTransactionsStddevPopulationFundingRoundAsc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_FUNDING_ROUND_ASC', + AssetTransactionsStddevPopulationFundingRoundDesc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_FUNDING_ROUND_DESC', + AssetTransactionsStddevPopulationIdAsc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_ID_ASC', + AssetTransactionsStddevPopulationIdDesc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_ID_DESC', + AssetTransactionsStddevPopulationInstructionIdAsc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_INSTRUCTION_ID_ASC', + AssetTransactionsStddevPopulationInstructionIdDesc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_INSTRUCTION_ID_DESC', + AssetTransactionsStddevPopulationInstructionMemoAsc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_INSTRUCTION_MEMO_ASC', + AssetTransactionsStddevPopulationInstructionMemoDesc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_INSTRUCTION_MEMO_DESC', + AssetTransactionsStddevPopulationNftIdsAsc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_NFT_IDS_ASC', + AssetTransactionsStddevPopulationNftIdsDesc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_NFT_IDS_DESC', + AssetTransactionsStddevPopulationToPortfolioIdAsc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_TO_PORTFOLIO_ID_ASC', + AssetTransactionsStddevPopulationToPortfolioIdDesc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_TO_PORTFOLIO_ID_DESC', + AssetTransactionsStddevPopulationUpdatedAtAsc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_UPDATED_AT_ASC', + AssetTransactionsStddevPopulationUpdatedAtDesc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_UPDATED_AT_DESC', + AssetTransactionsStddevPopulationUpdatedBlockIdAsc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', + AssetTransactionsStddevPopulationUpdatedBlockIdDesc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', + AssetTransactionsStddevSampleAmountAsc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_AMOUNT_ASC', + AssetTransactionsStddevSampleAmountDesc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_AMOUNT_DESC', + AssetTransactionsStddevSampleAssetIdAsc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_ASSET_ID_ASC', + AssetTransactionsStddevSampleAssetIdDesc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_ASSET_ID_DESC', + AssetTransactionsStddevSampleCreatedAtAsc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_CREATED_AT_ASC', + AssetTransactionsStddevSampleCreatedAtDesc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_CREATED_AT_DESC', + AssetTransactionsStddevSampleCreatedBlockIdAsc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', + AssetTransactionsStddevSampleCreatedBlockIdDesc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', + AssetTransactionsStddevSampleDatetimeAsc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_DATETIME_ASC', + AssetTransactionsStddevSampleDatetimeDesc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_DATETIME_DESC', + AssetTransactionsStddevSampleEventIdxAsc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_EVENT_IDX_ASC', + AssetTransactionsStddevSampleEventIdxDesc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_EVENT_IDX_DESC', + AssetTransactionsStddevSampleEventIdAsc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_EVENT_ID_ASC', + AssetTransactionsStddevSampleEventIdDesc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_EVENT_ID_DESC', + AssetTransactionsStddevSampleExtrinsicIdxAsc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_EXTRINSIC_IDX_ASC', + AssetTransactionsStddevSampleExtrinsicIdxDesc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_EXTRINSIC_IDX_DESC', + AssetTransactionsStddevSampleFromPortfolioIdAsc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_FROM_PORTFOLIO_ID_ASC', + AssetTransactionsStddevSampleFromPortfolioIdDesc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_FROM_PORTFOLIO_ID_DESC', + AssetTransactionsStddevSampleFundingRoundAsc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_FUNDING_ROUND_ASC', + AssetTransactionsStddevSampleFundingRoundDesc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_FUNDING_ROUND_DESC', + AssetTransactionsStddevSampleIdAsc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_ID_ASC', + AssetTransactionsStddevSampleIdDesc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_ID_DESC', + AssetTransactionsStddevSampleInstructionIdAsc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_INSTRUCTION_ID_ASC', + AssetTransactionsStddevSampleInstructionIdDesc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_INSTRUCTION_ID_DESC', + AssetTransactionsStddevSampleInstructionMemoAsc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_INSTRUCTION_MEMO_ASC', + AssetTransactionsStddevSampleInstructionMemoDesc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_INSTRUCTION_MEMO_DESC', + AssetTransactionsStddevSampleNftIdsAsc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_NFT_IDS_ASC', + AssetTransactionsStddevSampleNftIdsDesc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_NFT_IDS_DESC', + AssetTransactionsStddevSampleToPortfolioIdAsc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_TO_PORTFOLIO_ID_ASC', + AssetTransactionsStddevSampleToPortfolioIdDesc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_TO_PORTFOLIO_ID_DESC', + AssetTransactionsStddevSampleUpdatedAtAsc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_UPDATED_AT_ASC', + AssetTransactionsStddevSampleUpdatedAtDesc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_UPDATED_AT_DESC', + AssetTransactionsStddevSampleUpdatedBlockIdAsc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', + AssetTransactionsStddevSampleUpdatedBlockIdDesc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', + AssetTransactionsSumAmountAsc = 'ASSET_TRANSACTIONS_SUM_AMOUNT_ASC', + AssetTransactionsSumAmountDesc = 'ASSET_TRANSACTIONS_SUM_AMOUNT_DESC', + AssetTransactionsSumAssetIdAsc = 'ASSET_TRANSACTIONS_SUM_ASSET_ID_ASC', + AssetTransactionsSumAssetIdDesc = 'ASSET_TRANSACTIONS_SUM_ASSET_ID_DESC', + AssetTransactionsSumCreatedAtAsc = 'ASSET_TRANSACTIONS_SUM_CREATED_AT_ASC', + AssetTransactionsSumCreatedAtDesc = 'ASSET_TRANSACTIONS_SUM_CREATED_AT_DESC', + AssetTransactionsSumCreatedBlockIdAsc = 'ASSET_TRANSACTIONS_SUM_CREATED_BLOCK_ID_ASC', + AssetTransactionsSumCreatedBlockIdDesc = 'ASSET_TRANSACTIONS_SUM_CREATED_BLOCK_ID_DESC', + AssetTransactionsSumDatetimeAsc = 'ASSET_TRANSACTIONS_SUM_DATETIME_ASC', + AssetTransactionsSumDatetimeDesc = 'ASSET_TRANSACTIONS_SUM_DATETIME_DESC', + AssetTransactionsSumEventIdxAsc = 'ASSET_TRANSACTIONS_SUM_EVENT_IDX_ASC', + AssetTransactionsSumEventIdxDesc = 'ASSET_TRANSACTIONS_SUM_EVENT_IDX_DESC', + AssetTransactionsSumEventIdAsc = 'ASSET_TRANSACTIONS_SUM_EVENT_ID_ASC', + AssetTransactionsSumEventIdDesc = 'ASSET_TRANSACTIONS_SUM_EVENT_ID_DESC', + AssetTransactionsSumExtrinsicIdxAsc = 'ASSET_TRANSACTIONS_SUM_EXTRINSIC_IDX_ASC', + AssetTransactionsSumExtrinsicIdxDesc = 'ASSET_TRANSACTIONS_SUM_EXTRINSIC_IDX_DESC', + AssetTransactionsSumFromPortfolioIdAsc = 'ASSET_TRANSACTIONS_SUM_FROM_PORTFOLIO_ID_ASC', + AssetTransactionsSumFromPortfolioIdDesc = 'ASSET_TRANSACTIONS_SUM_FROM_PORTFOLIO_ID_DESC', + AssetTransactionsSumFundingRoundAsc = 'ASSET_TRANSACTIONS_SUM_FUNDING_ROUND_ASC', + AssetTransactionsSumFundingRoundDesc = 'ASSET_TRANSACTIONS_SUM_FUNDING_ROUND_DESC', + AssetTransactionsSumIdAsc = 'ASSET_TRANSACTIONS_SUM_ID_ASC', + AssetTransactionsSumIdDesc = 'ASSET_TRANSACTIONS_SUM_ID_DESC', + AssetTransactionsSumInstructionIdAsc = 'ASSET_TRANSACTIONS_SUM_INSTRUCTION_ID_ASC', + AssetTransactionsSumInstructionIdDesc = 'ASSET_TRANSACTIONS_SUM_INSTRUCTION_ID_DESC', + AssetTransactionsSumInstructionMemoAsc = 'ASSET_TRANSACTIONS_SUM_INSTRUCTION_MEMO_ASC', + AssetTransactionsSumInstructionMemoDesc = 'ASSET_TRANSACTIONS_SUM_INSTRUCTION_MEMO_DESC', + AssetTransactionsSumNftIdsAsc = 'ASSET_TRANSACTIONS_SUM_NFT_IDS_ASC', + AssetTransactionsSumNftIdsDesc = 'ASSET_TRANSACTIONS_SUM_NFT_IDS_DESC', + AssetTransactionsSumToPortfolioIdAsc = 'ASSET_TRANSACTIONS_SUM_TO_PORTFOLIO_ID_ASC', + AssetTransactionsSumToPortfolioIdDesc = 'ASSET_TRANSACTIONS_SUM_TO_PORTFOLIO_ID_DESC', + AssetTransactionsSumUpdatedAtAsc = 'ASSET_TRANSACTIONS_SUM_UPDATED_AT_ASC', + AssetTransactionsSumUpdatedAtDesc = 'ASSET_TRANSACTIONS_SUM_UPDATED_AT_DESC', + AssetTransactionsSumUpdatedBlockIdAsc = 'ASSET_TRANSACTIONS_SUM_UPDATED_BLOCK_ID_ASC', + AssetTransactionsSumUpdatedBlockIdDesc = 'ASSET_TRANSACTIONS_SUM_UPDATED_BLOCK_ID_DESC', + AssetTransactionsVariancePopulationAmountAsc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_AMOUNT_ASC', + AssetTransactionsVariancePopulationAmountDesc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_AMOUNT_DESC', + AssetTransactionsVariancePopulationAssetIdAsc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_ASSET_ID_ASC', + AssetTransactionsVariancePopulationAssetIdDesc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_ASSET_ID_DESC', + AssetTransactionsVariancePopulationCreatedAtAsc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_CREATED_AT_ASC', + AssetTransactionsVariancePopulationCreatedAtDesc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_CREATED_AT_DESC', + AssetTransactionsVariancePopulationCreatedBlockIdAsc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', + AssetTransactionsVariancePopulationCreatedBlockIdDesc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', + AssetTransactionsVariancePopulationDatetimeAsc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_DATETIME_ASC', + AssetTransactionsVariancePopulationDatetimeDesc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_DATETIME_DESC', + AssetTransactionsVariancePopulationEventIdxAsc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_EVENT_IDX_ASC', + AssetTransactionsVariancePopulationEventIdxDesc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_EVENT_IDX_DESC', + AssetTransactionsVariancePopulationEventIdAsc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_EVENT_ID_ASC', + AssetTransactionsVariancePopulationEventIdDesc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_EVENT_ID_DESC', + AssetTransactionsVariancePopulationExtrinsicIdxAsc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_EXTRINSIC_IDX_ASC', + AssetTransactionsVariancePopulationExtrinsicIdxDesc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_EXTRINSIC_IDX_DESC', + AssetTransactionsVariancePopulationFromPortfolioIdAsc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_FROM_PORTFOLIO_ID_ASC', + AssetTransactionsVariancePopulationFromPortfolioIdDesc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_FROM_PORTFOLIO_ID_DESC', + AssetTransactionsVariancePopulationFundingRoundAsc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_FUNDING_ROUND_ASC', + AssetTransactionsVariancePopulationFundingRoundDesc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_FUNDING_ROUND_DESC', + AssetTransactionsVariancePopulationIdAsc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_ID_ASC', + AssetTransactionsVariancePopulationIdDesc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_ID_DESC', + AssetTransactionsVariancePopulationInstructionIdAsc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_INSTRUCTION_ID_ASC', + AssetTransactionsVariancePopulationInstructionIdDesc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_INSTRUCTION_ID_DESC', + AssetTransactionsVariancePopulationInstructionMemoAsc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_INSTRUCTION_MEMO_ASC', + AssetTransactionsVariancePopulationInstructionMemoDesc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_INSTRUCTION_MEMO_DESC', + AssetTransactionsVariancePopulationNftIdsAsc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_NFT_IDS_ASC', + AssetTransactionsVariancePopulationNftIdsDesc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_NFT_IDS_DESC', + AssetTransactionsVariancePopulationToPortfolioIdAsc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_TO_PORTFOLIO_ID_ASC', + AssetTransactionsVariancePopulationToPortfolioIdDesc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_TO_PORTFOLIO_ID_DESC', + AssetTransactionsVariancePopulationUpdatedAtAsc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_UPDATED_AT_ASC', + AssetTransactionsVariancePopulationUpdatedAtDesc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_UPDATED_AT_DESC', + AssetTransactionsVariancePopulationUpdatedBlockIdAsc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', + AssetTransactionsVariancePopulationUpdatedBlockIdDesc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', + AssetTransactionsVarianceSampleAmountAsc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_AMOUNT_ASC', + AssetTransactionsVarianceSampleAmountDesc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_AMOUNT_DESC', + AssetTransactionsVarianceSampleAssetIdAsc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_ASSET_ID_ASC', + AssetTransactionsVarianceSampleAssetIdDesc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_ASSET_ID_DESC', + AssetTransactionsVarianceSampleCreatedAtAsc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_CREATED_AT_ASC', + AssetTransactionsVarianceSampleCreatedAtDesc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_CREATED_AT_DESC', + AssetTransactionsVarianceSampleCreatedBlockIdAsc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', + AssetTransactionsVarianceSampleCreatedBlockIdDesc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', + AssetTransactionsVarianceSampleDatetimeAsc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_DATETIME_ASC', + AssetTransactionsVarianceSampleDatetimeDesc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_DATETIME_DESC', + AssetTransactionsVarianceSampleEventIdxAsc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_EVENT_IDX_ASC', + AssetTransactionsVarianceSampleEventIdxDesc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_EVENT_IDX_DESC', + AssetTransactionsVarianceSampleEventIdAsc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_EVENT_ID_ASC', + AssetTransactionsVarianceSampleEventIdDesc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_EVENT_ID_DESC', + AssetTransactionsVarianceSampleExtrinsicIdxAsc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_EXTRINSIC_IDX_ASC', + AssetTransactionsVarianceSampleExtrinsicIdxDesc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_EXTRINSIC_IDX_DESC', + AssetTransactionsVarianceSampleFromPortfolioIdAsc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_FROM_PORTFOLIO_ID_ASC', + AssetTransactionsVarianceSampleFromPortfolioIdDesc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_FROM_PORTFOLIO_ID_DESC', + AssetTransactionsVarianceSampleFundingRoundAsc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_FUNDING_ROUND_ASC', + AssetTransactionsVarianceSampleFundingRoundDesc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_FUNDING_ROUND_DESC', + AssetTransactionsVarianceSampleIdAsc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_ID_ASC', + AssetTransactionsVarianceSampleIdDesc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_ID_DESC', + AssetTransactionsVarianceSampleInstructionIdAsc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_INSTRUCTION_ID_ASC', + AssetTransactionsVarianceSampleInstructionIdDesc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_INSTRUCTION_ID_DESC', + AssetTransactionsVarianceSampleInstructionMemoAsc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_INSTRUCTION_MEMO_ASC', + AssetTransactionsVarianceSampleInstructionMemoDesc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_INSTRUCTION_MEMO_DESC', + AssetTransactionsVarianceSampleNftIdsAsc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_NFT_IDS_ASC', + AssetTransactionsVarianceSampleNftIdsDesc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_NFT_IDS_DESC', + AssetTransactionsVarianceSampleToPortfolioIdAsc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_TO_PORTFOLIO_ID_ASC', + AssetTransactionsVarianceSampleToPortfolioIdDesc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_TO_PORTFOLIO_ID_DESC', + AssetTransactionsVarianceSampleUpdatedAtAsc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_UPDATED_AT_ASC', + AssetTransactionsVarianceSampleUpdatedAtDesc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_UPDATED_AT_DESC', + AssetTransactionsVarianceSampleUpdatedBlockIdAsc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', + AssetTransactionsVarianceSampleUpdatedBlockIdDesc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', CreatedAtAsc = 'CREATED_AT_ASC', CreatedAtDesc = 'CREATED_AT_DESC', CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', @@ -75113,6 +76112,10 @@ export type Portfolio = Node & { identity?: Maybe; identityId: Scalars['String']['output']; /** Reads and enables pagination through a set of `Instruction`. */ + instructionsByAssetTransactionFromPortfolioIdAndInstructionId: PortfolioInstructionsByAssetTransactionFromPortfolioIdAndInstructionIdManyToManyConnection; + /** Reads and enables pagination through a set of `Instruction`. */ + instructionsByAssetTransactionToPortfolioIdAndInstructionId: PortfolioInstructionsByAssetTransactionToPortfolioIdAndInstructionIdManyToManyConnection; + /** Reads and enables pagination through a set of `Instruction`. */ instructionsByLegFromIdAndInstructionId: PortfolioInstructionsByLegFromIdAndInstructionIdManyToManyConnection; /** Reads and enables pagination through a set of `Instruction`. */ instructionsByLegToIdAndInstructionId: PortfolioInstructionsByLegToIdAndInstructionIdManyToManyConnection; @@ -75658,6 +76661,38 @@ export type PortfolioIdentitiesByStoRaisingPortfolioIdAndCreatorIdArgs = { orderBy?: InputMaybe>; }; +/** + * Represents a grouping of Assets held by an Identity. Particular accounts maybe authorized only over certain portfolios + * + * Note: identities will always have a default Portfolio (id = 0) + */ +export type PortfolioInstructionsByAssetTransactionFromPortfolioIdAndInstructionIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** + * Represents a grouping of Assets held by an Identity. Particular accounts maybe authorized only over certain portfolios + * + * Note: identities will always have a default Portfolio (id = 0) + */ +export type PortfolioInstructionsByAssetTransactionToPortfolioIdAndInstructionIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + /** * Represents a grouping of Assets held by an Identity. Particular accounts maybe authorized only over certain portfolios * @@ -77492,6 +78527,104 @@ export type PortfolioIdentitiesByStoRaisingPortfolioIdAndCreatorIdManyToManyEdge orderBy?: InputMaybe>; }; +/** A connection to a list of `Instruction` values, with data from `AssetTransaction`. */ +export type PortfolioInstructionsByAssetTransactionFromPortfolioIdAndInstructionIdManyToManyConnection = + { + __typename?: 'PortfolioInstructionsByAssetTransactionFromPortfolioIdAndInstructionIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Instruction`, info from the `AssetTransaction`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Instruction` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Instruction` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; + +/** A connection to a list of `Instruction` values, with data from `AssetTransaction`. */ +export type PortfolioInstructionsByAssetTransactionFromPortfolioIdAndInstructionIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Instruction` edge in the connection, with data from `AssetTransaction`. */ +export type PortfolioInstructionsByAssetTransactionFromPortfolioIdAndInstructionIdManyToManyEdge = { + __typename?: 'PortfolioInstructionsByAssetTransactionFromPortfolioIdAndInstructionIdManyToManyEdge'; + /** Reads and enables pagination through a set of `AssetTransaction`. */ + assetTransactions: AssetTransactionsConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Instruction` at the end of the edge. */ + node?: Maybe; +}; + +/** A `Instruction` edge in the connection, with data from `AssetTransaction`. */ +export type PortfolioInstructionsByAssetTransactionFromPortfolioIdAndInstructionIdManyToManyEdgeAssetTransactionsArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `Instruction` values, with data from `AssetTransaction`. */ +export type PortfolioInstructionsByAssetTransactionToPortfolioIdAndInstructionIdManyToManyConnection = + { + __typename?: 'PortfolioInstructionsByAssetTransactionToPortfolioIdAndInstructionIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Instruction`, info from the `AssetTransaction`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Instruction` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Instruction` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; + +/** A connection to a list of `Instruction` values, with data from `AssetTransaction`. */ +export type PortfolioInstructionsByAssetTransactionToPortfolioIdAndInstructionIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Instruction` edge in the connection, with data from `AssetTransaction`. */ +export type PortfolioInstructionsByAssetTransactionToPortfolioIdAndInstructionIdManyToManyEdge = { + __typename?: 'PortfolioInstructionsByAssetTransactionToPortfolioIdAndInstructionIdManyToManyEdge'; + /** Reads and enables pagination through a set of `AssetTransaction`. */ + assetTransactions: AssetTransactionsConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Instruction` at the end of the edge. */ + node?: Maybe; +}; + +/** A `Instruction` edge in the connection, with data from `AssetTransaction`. */ +export type PortfolioInstructionsByAssetTransactionToPortfolioIdAndInstructionIdManyToManyEdgeAssetTransactionsArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + /** A connection to a list of `Instruction` values, with data from `Leg`. */ export type PortfolioInstructionsByLegFromIdAndInstructionIdManyToManyConnection = { __typename?: 'PortfolioInstructionsByLegFromIdAndInstructionIdManyToManyConnection'; @@ -78910,6 +80043,10 @@ export enum PortfoliosOrderBy { AssetTransactionsByFromPortfolioIdAverageFundingRoundDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_AVERAGE_FUNDING_ROUND_DESC', AssetTransactionsByFromPortfolioIdAverageIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_AVERAGE_ID_ASC', AssetTransactionsByFromPortfolioIdAverageIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_AVERAGE_ID_DESC', + AssetTransactionsByFromPortfolioIdAverageInstructionIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_AVERAGE_INSTRUCTION_ID_ASC', + AssetTransactionsByFromPortfolioIdAverageInstructionIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_AVERAGE_INSTRUCTION_ID_DESC', + AssetTransactionsByFromPortfolioIdAverageInstructionMemoAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_AVERAGE_INSTRUCTION_MEMO_ASC', + AssetTransactionsByFromPortfolioIdAverageInstructionMemoDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_AVERAGE_INSTRUCTION_MEMO_DESC', AssetTransactionsByFromPortfolioIdAverageNftIdsAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_AVERAGE_NFT_IDS_ASC', AssetTransactionsByFromPortfolioIdAverageNftIdsDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_AVERAGE_NFT_IDS_DESC', AssetTransactionsByFromPortfolioIdAverageToPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_AVERAGE_TO_PORTFOLIO_ID_ASC', @@ -78942,6 +80079,10 @@ export enum PortfoliosOrderBy { AssetTransactionsByFromPortfolioIdDistinctCountFundingRoundDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_DISTINCT_COUNT_FUNDING_ROUND_DESC', AssetTransactionsByFromPortfolioIdDistinctCountIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_DISTINCT_COUNT_ID_ASC', AssetTransactionsByFromPortfolioIdDistinctCountIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_DISTINCT_COUNT_ID_DESC', + AssetTransactionsByFromPortfolioIdDistinctCountInstructionIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_DISTINCT_COUNT_INSTRUCTION_ID_ASC', + AssetTransactionsByFromPortfolioIdDistinctCountInstructionIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_DISTINCT_COUNT_INSTRUCTION_ID_DESC', + AssetTransactionsByFromPortfolioIdDistinctCountInstructionMemoAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_DISTINCT_COUNT_INSTRUCTION_MEMO_ASC', + AssetTransactionsByFromPortfolioIdDistinctCountInstructionMemoDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_DISTINCT_COUNT_INSTRUCTION_MEMO_DESC', AssetTransactionsByFromPortfolioIdDistinctCountNftIdsAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_DISTINCT_COUNT_NFT_IDS_ASC', AssetTransactionsByFromPortfolioIdDistinctCountNftIdsDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_DISTINCT_COUNT_NFT_IDS_DESC', AssetTransactionsByFromPortfolioIdDistinctCountToPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_DISTINCT_COUNT_TO_PORTFOLIO_ID_ASC', @@ -78972,6 +80113,10 @@ export enum PortfoliosOrderBy { AssetTransactionsByFromPortfolioIdMaxFundingRoundDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MAX_FUNDING_ROUND_DESC', AssetTransactionsByFromPortfolioIdMaxIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MAX_ID_ASC', AssetTransactionsByFromPortfolioIdMaxIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MAX_ID_DESC', + AssetTransactionsByFromPortfolioIdMaxInstructionIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MAX_INSTRUCTION_ID_ASC', + AssetTransactionsByFromPortfolioIdMaxInstructionIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MAX_INSTRUCTION_ID_DESC', + AssetTransactionsByFromPortfolioIdMaxInstructionMemoAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MAX_INSTRUCTION_MEMO_ASC', + AssetTransactionsByFromPortfolioIdMaxInstructionMemoDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MAX_INSTRUCTION_MEMO_DESC', AssetTransactionsByFromPortfolioIdMaxNftIdsAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MAX_NFT_IDS_ASC', AssetTransactionsByFromPortfolioIdMaxNftIdsDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MAX_NFT_IDS_DESC', AssetTransactionsByFromPortfolioIdMaxToPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MAX_TO_PORTFOLIO_ID_ASC', @@ -79002,6 +80147,10 @@ export enum PortfoliosOrderBy { AssetTransactionsByFromPortfolioIdMinFundingRoundDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MIN_FUNDING_ROUND_DESC', AssetTransactionsByFromPortfolioIdMinIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MIN_ID_ASC', AssetTransactionsByFromPortfolioIdMinIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MIN_ID_DESC', + AssetTransactionsByFromPortfolioIdMinInstructionIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MIN_INSTRUCTION_ID_ASC', + AssetTransactionsByFromPortfolioIdMinInstructionIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MIN_INSTRUCTION_ID_DESC', + AssetTransactionsByFromPortfolioIdMinInstructionMemoAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MIN_INSTRUCTION_MEMO_ASC', + AssetTransactionsByFromPortfolioIdMinInstructionMemoDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MIN_INSTRUCTION_MEMO_DESC', AssetTransactionsByFromPortfolioIdMinNftIdsAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MIN_NFT_IDS_ASC', AssetTransactionsByFromPortfolioIdMinNftIdsDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MIN_NFT_IDS_DESC', AssetTransactionsByFromPortfolioIdMinToPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MIN_TO_PORTFOLIO_ID_ASC', @@ -79032,6 +80181,10 @@ export enum PortfoliosOrderBy { AssetTransactionsByFromPortfolioIdStddevPopulationFundingRoundDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_POPULATION_FUNDING_ROUND_DESC', AssetTransactionsByFromPortfolioIdStddevPopulationIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_POPULATION_ID_ASC', AssetTransactionsByFromPortfolioIdStddevPopulationIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_POPULATION_ID_DESC', + AssetTransactionsByFromPortfolioIdStddevPopulationInstructionIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_POPULATION_INSTRUCTION_ID_ASC', + AssetTransactionsByFromPortfolioIdStddevPopulationInstructionIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_POPULATION_INSTRUCTION_ID_DESC', + AssetTransactionsByFromPortfolioIdStddevPopulationInstructionMemoAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_POPULATION_INSTRUCTION_MEMO_ASC', + AssetTransactionsByFromPortfolioIdStddevPopulationInstructionMemoDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_POPULATION_INSTRUCTION_MEMO_DESC', AssetTransactionsByFromPortfolioIdStddevPopulationNftIdsAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_POPULATION_NFT_IDS_ASC', AssetTransactionsByFromPortfolioIdStddevPopulationNftIdsDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_POPULATION_NFT_IDS_DESC', AssetTransactionsByFromPortfolioIdStddevPopulationToPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_POPULATION_TO_PORTFOLIO_ID_ASC', @@ -79062,6 +80215,10 @@ export enum PortfoliosOrderBy { AssetTransactionsByFromPortfolioIdStddevSampleFundingRoundDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_SAMPLE_FUNDING_ROUND_DESC', AssetTransactionsByFromPortfolioIdStddevSampleIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_SAMPLE_ID_ASC', AssetTransactionsByFromPortfolioIdStddevSampleIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_SAMPLE_ID_DESC', + AssetTransactionsByFromPortfolioIdStddevSampleInstructionIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_SAMPLE_INSTRUCTION_ID_ASC', + AssetTransactionsByFromPortfolioIdStddevSampleInstructionIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_SAMPLE_INSTRUCTION_ID_DESC', + AssetTransactionsByFromPortfolioIdStddevSampleInstructionMemoAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_SAMPLE_INSTRUCTION_MEMO_ASC', + AssetTransactionsByFromPortfolioIdStddevSampleInstructionMemoDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_SAMPLE_INSTRUCTION_MEMO_DESC', AssetTransactionsByFromPortfolioIdStddevSampleNftIdsAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_SAMPLE_NFT_IDS_ASC', AssetTransactionsByFromPortfolioIdStddevSampleNftIdsDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_SAMPLE_NFT_IDS_DESC', AssetTransactionsByFromPortfolioIdStddevSampleToPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_SAMPLE_TO_PORTFOLIO_ID_ASC', @@ -79092,6 +80249,10 @@ export enum PortfoliosOrderBy { AssetTransactionsByFromPortfolioIdSumFundingRoundDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_SUM_FUNDING_ROUND_DESC', AssetTransactionsByFromPortfolioIdSumIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_SUM_ID_ASC', AssetTransactionsByFromPortfolioIdSumIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_SUM_ID_DESC', + AssetTransactionsByFromPortfolioIdSumInstructionIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_SUM_INSTRUCTION_ID_ASC', + AssetTransactionsByFromPortfolioIdSumInstructionIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_SUM_INSTRUCTION_ID_DESC', + AssetTransactionsByFromPortfolioIdSumInstructionMemoAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_SUM_INSTRUCTION_MEMO_ASC', + AssetTransactionsByFromPortfolioIdSumInstructionMemoDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_SUM_INSTRUCTION_MEMO_DESC', AssetTransactionsByFromPortfolioIdSumNftIdsAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_SUM_NFT_IDS_ASC', AssetTransactionsByFromPortfolioIdSumNftIdsDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_SUM_NFT_IDS_DESC', AssetTransactionsByFromPortfolioIdSumToPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_SUM_TO_PORTFOLIO_ID_ASC', @@ -79122,6 +80283,10 @@ export enum PortfoliosOrderBy { AssetTransactionsByFromPortfolioIdVariancePopulationFundingRoundDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_POPULATION_FUNDING_ROUND_DESC', AssetTransactionsByFromPortfolioIdVariancePopulationIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_POPULATION_ID_ASC', AssetTransactionsByFromPortfolioIdVariancePopulationIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_POPULATION_ID_DESC', + AssetTransactionsByFromPortfolioIdVariancePopulationInstructionIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_POPULATION_INSTRUCTION_ID_ASC', + AssetTransactionsByFromPortfolioIdVariancePopulationInstructionIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_POPULATION_INSTRUCTION_ID_DESC', + AssetTransactionsByFromPortfolioIdVariancePopulationInstructionMemoAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_POPULATION_INSTRUCTION_MEMO_ASC', + AssetTransactionsByFromPortfolioIdVariancePopulationInstructionMemoDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_POPULATION_INSTRUCTION_MEMO_DESC', AssetTransactionsByFromPortfolioIdVariancePopulationNftIdsAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_POPULATION_NFT_IDS_ASC', AssetTransactionsByFromPortfolioIdVariancePopulationNftIdsDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_POPULATION_NFT_IDS_DESC', AssetTransactionsByFromPortfolioIdVariancePopulationToPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_POPULATION_TO_PORTFOLIO_ID_ASC', @@ -79152,6 +80317,10 @@ export enum PortfoliosOrderBy { AssetTransactionsByFromPortfolioIdVarianceSampleFundingRoundDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_SAMPLE_FUNDING_ROUND_DESC', AssetTransactionsByFromPortfolioIdVarianceSampleIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_SAMPLE_ID_ASC', AssetTransactionsByFromPortfolioIdVarianceSampleIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_SAMPLE_ID_DESC', + AssetTransactionsByFromPortfolioIdVarianceSampleInstructionIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_SAMPLE_INSTRUCTION_ID_ASC', + AssetTransactionsByFromPortfolioIdVarianceSampleInstructionIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_SAMPLE_INSTRUCTION_ID_DESC', + AssetTransactionsByFromPortfolioIdVarianceSampleInstructionMemoAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_SAMPLE_INSTRUCTION_MEMO_ASC', + AssetTransactionsByFromPortfolioIdVarianceSampleInstructionMemoDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_SAMPLE_INSTRUCTION_MEMO_DESC', AssetTransactionsByFromPortfolioIdVarianceSampleNftIdsAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_SAMPLE_NFT_IDS_ASC', AssetTransactionsByFromPortfolioIdVarianceSampleNftIdsDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_SAMPLE_NFT_IDS_DESC', AssetTransactionsByFromPortfolioIdVarianceSampleToPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_SAMPLE_TO_PORTFOLIO_ID_ASC', @@ -79182,6 +80351,10 @@ export enum PortfoliosOrderBy { AssetTransactionsByToPortfolioIdAverageFundingRoundDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_AVERAGE_FUNDING_ROUND_DESC', AssetTransactionsByToPortfolioIdAverageIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_AVERAGE_ID_ASC', AssetTransactionsByToPortfolioIdAverageIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_AVERAGE_ID_DESC', + AssetTransactionsByToPortfolioIdAverageInstructionIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_AVERAGE_INSTRUCTION_ID_ASC', + AssetTransactionsByToPortfolioIdAverageInstructionIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_AVERAGE_INSTRUCTION_ID_DESC', + AssetTransactionsByToPortfolioIdAverageInstructionMemoAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_AVERAGE_INSTRUCTION_MEMO_ASC', + AssetTransactionsByToPortfolioIdAverageInstructionMemoDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_AVERAGE_INSTRUCTION_MEMO_DESC', AssetTransactionsByToPortfolioIdAverageNftIdsAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_AVERAGE_NFT_IDS_ASC', AssetTransactionsByToPortfolioIdAverageNftIdsDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_AVERAGE_NFT_IDS_DESC', AssetTransactionsByToPortfolioIdAverageToPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_AVERAGE_TO_PORTFOLIO_ID_ASC', @@ -79214,6 +80387,10 @@ export enum PortfoliosOrderBy { AssetTransactionsByToPortfolioIdDistinctCountFundingRoundDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_DISTINCT_COUNT_FUNDING_ROUND_DESC', AssetTransactionsByToPortfolioIdDistinctCountIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_DISTINCT_COUNT_ID_ASC', AssetTransactionsByToPortfolioIdDistinctCountIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_DISTINCT_COUNT_ID_DESC', + AssetTransactionsByToPortfolioIdDistinctCountInstructionIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_DISTINCT_COUNT_INSTRUCTION_ID_ASC', + AssetTransactionsByToPortfolioIdDistinctCountInstructionIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_DISTINCT_COUNT_INSTRUCTION_ID_DESC', + AssetTransactionsByToPortfolioIdDistinctCountInstructionMemoAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_DISTINCT_COUNT_INSTRUCTION_MEMO_ASC', + AssetTransactionsByToPortfolioIdDistinctCountInstructionMemoDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_DISTINCT_COUNT_INSTRUCTION_MEMO_DESC', AssetTransactionsByToPortfolioIdDistinctCountNftIdsAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_DISTINCT_COUNT_NFT_IDS_ASC', AssetTransactionsByToPortfolioIdDistinctCountNftIdsDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_DISTINCT_COUNT_NFT_IDS_DESC', AssetTransactionsByToPortfolioIdDistinctCountToPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_DISTINCT_COUNT_TO_PORTFOLIO_ID_ASC', @@ -79244,6 +80421,10 @@ export enum PortfoliosOrderBy { AssetTransactionsByToPortfolioIdMaxFundingRoundDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MAX_FUNDING_ROUND_DESC', AssetTransactionsByToPortfolioIdMaxIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MAX_ID_ASC', AssetTransactionsByToPortfolioIdMaxIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MAX_ID_DESC', + AssetTransactionsByToPortfolioIdMaxInstructionIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MAX_INSTRUCTION_ID_ASC', + AssetTransactionsByToPortfolioIdMaxInstructionIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MAX_INSTRUCTION_ID_DESC', + AssetTransactionsByToPortfolioIdMaxInstructionMemoAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MAX_INSTRUCTION_MEMO_ASC', + AssetTransactionsByToPortfolioIdMaxInstructionMemoDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MAX_INSTRUCTION_MEMO_DESC', AssetTransactionsByToPortfolioIdMaxNftIdsAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MAX_NFT_IDS_ASC', AssetTransactionsByToPortfolioIdMaxNftIdsDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MAX_NFT_IDS_DESC', AssetTransactionsByToPortfolioIdMaxToPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MAX_TO_PORTFOLIO_ID_ASC', @@ -79274,6 +80455,10 @@ export enum PortfoliosOrderBy { AssetTransactionsByToPortfolioIdMinFundingRoundDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MIN_FUNDING_ROUND_DESC', AssetTransactionsByToPortfolioIdMinIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MIN_ID_ASC', AssetTransactionsByToPortfolioIdMinIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MIN_ID_DESC', + AssetTransactionsByToPortfolioIdMinInstructionIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MIN_INSTRUCTION_ID_ASC', + AssetTransactionsByToPortfolioIdMinInstructionIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MIN_INSTRUCTION_ID_DESC', + AssetTransactionsByToPortfolioIdMinInstructionMemoAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MIN_INSTRUCTION_MEMO_ASC', + AssetTransactionsByToPortfolioIdMinInstructionMemoDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MIN_INSTRUCTION_MEMO_DESC', AssetTransactionsByToPortfolioIdMinNftIdsAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MIN_NFT_IDS_ASC', AssetTransactionsByToPortfolioIdMinNftIdsDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MIN_NFT_IDS_DESC', AssetTransactionsByToPortfolioIdMinToPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MIN_TO_PORTFOLIO_ID_ASC', @@ -79304,6 +80489,10 @@ export enum PortfoliosOrderBy { AssetTransactionsByToPortfolioIdStddevPopulationFundingRoundDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_POPULATION_FUNDING_ROUND_DESC', AssetTransactionsByToPortfolioIdStddevPopulationIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_POPULATION_ID_ASC', AssetTransactionsByToPortfolioIdStddevPopulationIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_POPULATION_ID_DESC', + AssetTransactionsByToPortfolioIdStddevPopulationInstructionIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_POPULATION_INSTRUCTION_ID_ASC', + AssetTransactionsByToPortfolioIdStddevPopulationInstructionIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_POPULATION_INSTRUCTION_ID_DESC', + AssetTransactionsByToPortfolioIdStddevPopulationInstructionMemoAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_POPULATION_INSTRUCTION_MEMO_ASC', + AssetTransactionsByToPortfolioIdStddevPopulationInstructionMemoDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_POPULATION_INSTRUCTION_MEMO_DESC', AssetTransactionsByToPortfolioIdStddevPopulationNftIdsAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_POPULATION_NFT_IDS_ASC', AssetTransactionsByToPortfolioIdStddevPopulationNftIdsDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_POPULATION_NFT_IDS_DESC', AssetTransactionsByToPortfolioIdStddevPopulationToPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_POPULATION_TO_PORTFOLIO_ID_ASC', @@ -79334,6 +80523,10 @@ export enum PortfoliosOrderBy { AssetTransactionsByToPortfolioIdStddevSampleFundingRoundDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_SAMPLE_FUNDING_ROUND_DESC', AssetTransactionsByToPortfolioIdStddevSampleIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_SAMPLE_ID_ASC', AssetTransactionsByToPortfolioIdStddevSampleIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_SAMPLE_ID_DESC', + AssetTransactionsByToPortfolioIdStddevSampleInstructionIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_SAMPLE_INSTRUCTION_ID_ASC', + AssetTransactionsByToPortfolioIdStddevSampleInstructionIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_SAMPLE_INSTRUCTION_ID_DESC', + AssetTransactionsByToPortfolioIdStddevSampleInstructionMemoAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_SAMPLE_INSTRUCTION_MEMO_ASC', + AssetTransactionsByToPortfolioIdStddevSampleInstructionMemoDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_SAMPLE_INSTRUCTION_MEMO_DESC', AssetTransactionsByToPortfolioIdStddevSampleNftIdsAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_SAMPLE_NFT_IDS_ASC', AssetTransactionsByToPortfolioIdStddevSampleNftIdsDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_SAMPLE_NFT_IDS_DESC', AssetTransactionsByToPortfolioIdStddevSampleToPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_SAMPLE_TO_PORTFOLIO_ID_ASC', @@ -79364,6 +80557,10 @@ export enum PortfoliosOrderBy { AssetTransactionsByToPortfolioIdSumFundingRoundDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_SUM_FUNDING_ROUND_DESC', AssetTransactionsByToPortfolioIdSumIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_SUM_ID_ASC', AssetTransactionsByToPortfolioIdSumIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_SUM_ID_DESC', + AssetTransactionsByToPortfolioIdSumInstructionIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_SUM_INSTRUCTION_ID_ASC', + AssetTransactionsByToPortfolioIdSumInstructionIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_SUM_INSTRUCTION_ID_DESC', + AssetTransactionsByToPortfolioIdSumInstructionMemoAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_SUM_INSTRUCTION_MEMO_ASC', + AssetTransactionsByToPortfolioIdSumInstructionMemoDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_SUM_INSTRUCTION_MEMO_DESC', AssetTransactionsByToPortfolioIdSumNftIdsAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_SUM_NFT_IDS_ASC', AssetTransactionsByToPortfolioIdSumNftIdsDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_SUM_NFT_IDS_DESC', AssetTransactionsByToPortfolioIdSumToPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_SUM_TO_PORTFOLIO_ID_ASC', @@ -79394,6 +80591,10 @@ export enum PortfoliosOrderBy { AssetTransactionsByToPortfolioIdVariancePopulationFundingRoundDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_POPULATION_FUNDING_ROUND_DESC', AssetTransactionsByToPortfolioIdVariancePopulationIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_POPULATION_ID_ASC', AssetTransactionsByToPortfolioIdVariancePopulationIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_POPULATION_ID_DESC', + AssetTransactionsByToPortfolioIdVariancePopulationInstructionIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_POPULATION_INSTRUCTION_ID_ASC', + AssetTransactionsByToPortfolioIdVariancePopulationInstructionIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_POPULATION_INSTRUCTION_ID_DESC', + AssetTransactionsByToPortfolioIdVariancePopulationInstructionMemoAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_POPULATION_INSTRUCTION_MEMO_ASC', + AssetTransactionsByToPortfolioIdVariancePopulationInstructionMemoDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_POPULATION_INSTRUCTION_MEMO_DESC', AssetTransactionsByToPortfolioIdVariancePopulationNftIdsAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_POPULATION_NFT_IDS_ASC', AssetTransactionsByToPortfolioIdVariancePopulationNftIdsDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_POPULATION_NFT_IDS_DESC', AssetTransactionsByToPortfolioIdVariancePopulationToPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_POPULATION_TO_PORTFOLIO_ID_ASC', @@ -79424,6 +80625,10 @@ export enum PortfoliosOrderBy { AssetTransactionsByToPortfolioIdVarianceSampleFundingRoundDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_SAMPLE_FUNDING_ROUND_DESC', AssetTransactionsByToPortfolioIdVarianceSampleIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_SAMPLE_ID_ASC', AssetTransactionsByToPortfolioIdVarianceSampleIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_SAMPLE_ID_DESC', + AssetTransactionsByToPortfolioIdVarianceSampleInstructionIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_SAMPLE_INSTRUCTION_ID_ASC', + AssetTransactionsByToPortfolioIdVarianceSampleInstructionIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_SAMPLE_INSTRUCTION_ID_DESC', + AssetTransactionsByToPortfolioIdVarianceSampleInstructionMemoAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_SAMPLE_INSTRUCTION_MEMO_ASC', + AssetTransactionsByToPortfolioIdVarianceSampleInstructionMemoDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_SAMPLE_INSTRUCTION_MEMO_DESC', AssetTransactionsByToPortfolioIdVarianceSampleNftIdsAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_SAMPLE_NFT_IDS_ASC', AssetTransactionsByToPortfolioIdVarianceSampleNftIdsDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_SAMPLE_NFT_IDS_DESC', AssetTransactionsByToPortfolioIdVarianceSampleToPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_SAMPLE_TO_PORTFOLIO_ID_ASC', @@ -91158,6 +92363,8 @@ export enum Asset_Transactions_Distinct_Enum { FromPortfolioId = 'FROM_PORTFOLIO_ID', FundingRound = 'FUNDING_ROUND', Id = 'ID', + InstructionId = 'INSTRUCTION_ID', + InstructionMemo = 'INSTRUCTION_MEMO', NftIds = 'NFT_IDS', ToPortfolioId = 'TO_PORTFOLIO_ID', UpdatedAt = 'UPDATED_AT', From 5e808b87b15585ca2335548e4434f05d0f58814c Mon Sep 17 00:00:00 2001 From: Prashant Bajpai Date: Thu, 14 Dec 2023 17:10:19 +0530 Subject: [PATCH 018/120] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20Add=20new=20attr?= =?UTF-8?q?ibutes=20to=20HistoricAssetTransaction?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This adds optional `instructionId`, `instructionMemo` and `fundingRound` attributes to `HistoricAssetTransaction`. --- src/api/entities/Asset/Fungible/index.ts | 8 ++++- .../Asset/__tests__/Fungible/index.ts | 4 +++ src/api/entities/Asset/types.ts | 33 ++++++++++++++++++- src/middleware/queries.ts | 2 ++ src/utils/constants.ts | 2 +- 5 files changed, 46 insertions(+), 3 deletions(-) diff --git a/src/api/entities/Asset/Fungible/index.ts b/src/api/entities/Asset/Fungible/index.ts index c057b18918..5e30e27a8f 100644 --- a/src/api/entities/Asset/Fungible/index.ts +++ b/src/api/entities/Asset/Fungible/index.ts @@ -264,7 +264,7 @@ export class FungibleAsset extends BaseAsset { ) ); - const data = nodes.map( + const data: HistoricAssetTransaction[] = nodes.map( ({ assetId, amount, @@ -274,12 +274,18 @@ export class FungibleAsset extends BaseAsset { eventId, eventIdx, extrinsicIdx, + fundingRound, + instructionId, + instructionMemo, }) => ({ asset: new FungibleAsset({ ticker: assetId }, context), amount: new BigNumber(amount).shiftedBy(-6), event: eventId, from: optionize(middlewarePortfolioToPortfolio)(fromPortfolio, context), to: optionize(middlewarePortfolioToPortfolio)(toPortfolio, context), + fundingRound, + instructionId: instructionId ? new BigNumber(instructionId) : undefined, + instructionMemo, // eslint-disable-next-line @typescript-eslint/no-non-null-assertion extrinsicIndex: new BigNumber(extrinsicIdx!), // eslint-disable-next-line @typescript-eslint/no-non-null-assertion diff --git a/src/api/entities/Asset/__tests__/Fungible/index.ts b/src/api/entities/Asset/__tests__/Fungible/index.ts index e01d726421..3c238201f3 100644 --- a/src/api/entities/Asset/__tests__/Fungible/index.ts +++ b/src/api/entities/Asset/__tests__/Fungible/index.ts @@ -781,6 +781,8 @@ describe('Asset class', () => { identityId: 'SOME_OTHER_DID', number: 1, }, + instructionId: '2', + instructionMemo: 'Some memo', eventIdx: 1, extrinsicIdx: 1, createdBlock: { @@ -821,6 +823,8 @@ describe('Asset class', () => { expect(result.data[2].event).toEqual(transactionResponse.nodes[2].eventId); expect(result.data[2].from).toBeInstanceOf(DefaultPortfolio); expect(result.data[2].to).toBeInstanceOf(NumberedPortfolio); + expect(result.data[2].instructionId).toEqual(new BigNumber(2)); + expect(result.data[2].instructionMemo).toEqual('Some memo'); expect(result.count).toEqual(transactionResponse.totalCount); expect(result.next).toEqual(new BigNumber(3)); diff --git a/src/api/entities/Asset/types.ts b/src/api/entities/Asset/types.ts index e211b24cf7..d386a7c4b2 100644 --- a/src/api/entities/Asset/types.ts +++ b/src/api/entities/Asset/types.ts @@ -87,11 +87,42 @@ export interface AgentWithGroup { export interface HistoricAssetTransaction extends EventIdentifier { asset: FungibleAsset; - amount: BigNumber; + /** + * Origin portfolio involved in the transaction. This value will be null when the `event` value is `Issued` + */ from: DefaultPortfolio | NumberedPortfolio | null; + /** + * Destination portfolio involved in the transaction . This value will be null when the `event` value is `Redeemed` + */ to: DefaultPortfolio | NumberedPortfolio | null; + + /** + * Event identifying the type of transaction + */ event: EventIdEnum; + + /** + * Amount of the fungible tokens involved in the transaction + */ + amount: BigNumber; + + /** + * Index value of the extrinsic which led to the Asset transaction within the `blockNumber` block + */ extrinsicIndex: BigNumber; + + /** + * Name of the funding round (if provided while issuing the Asset). This value is present only when the value of `event` is `Issued` + */ + fundingRound?: string; + /** + * ID of the instruction being executed. This value is present only when the value of `event` is `Transfer` + */ + instructionId?: BigNumber; + /** + * Memo provided against the executed instruction. This value is present only when the value of `event` is `Transfer` + */ + instructionMemo?: string; } /** diff --git a/src/middleware/queries.ts b/src/middleware/queries.ts index 2c062903d6..7ac5f8aa7c 100644 --- a/src/middleware/queries.ts +++ b/src/middleware/queries.ts @@ -1254,6 +1254,8 @@ export function assetTransactionQuery( eventIdx extrinsicIdx fundingRound + instructionId + instructionMemo datetime createdBlock { blockId diff --git a/src/utils/constants.ts b/src/utils/constants.ts index 49ed21e3da..c584774148 100644 --- a/src/utils/constants.ts +++ b/src/utils/constants.ts @@ -145,7 +145,7 @@ export const DEFAULT_CDD_ID = '0x00000000000000000000000000000000000000000000000 /** * Minimum version of Middleware V2 GraphQL Service (SubQuery) that is compatible with this version of the SDK */ -export const MINIMUM_SQ_VERSION = '10.1.0'; +export const MINIMUM_SQ_VERSION = '12.2.0-alpha.2'; /** * Global metadata key used to conventionally register an NFT image From 36f5b8df86a43c35ffe1d62a11c965d5477e75c2 Mon Sep 17 00:00:00 2001 From: Prashant Bajpai Date: Thu, 14 Dec 2023 18:24:21 +0530 Subject: [PATCH 019/120] =?UTF-8?q?test:=20=F0=9F=92=8D=20update=20tests?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/__tests__/internal.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/__tests__/internal.ts b/src/utils/__tests__/internal.ts index 2ecb31b75a..349d0728a1 100644 --- a/src/utils/__tests__/internal.ts +++ b/src/utils/__tests__/internal.ts @@ -1158,7 +1158,7 @@ describe('assertExpectedSqVersion', () => { subqueryVersions: { nodes: [ { - version: '10.1.0', + version: '12.2.0-alpha.2', }, ], }, From f8759ae6d4aace1b111a2289fe746013c14c7808 Mon Sep 17 00:00:00 2001 From: Prashant Bajpai Date: Fri, 5 Jan 2024 17:32:34 +0530 Subject: [PATCH 020/120] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20Update=20polkado?= =?UTF-8?q?t=20types=20using=206.1.1=20chain?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/transactions.json | 3 +- src/generated/types.ts | 1 + src/polkadot/augment-api-errors.ts | 10 +- src/polkadot/augment-api-events.ts | 14 - src/polkadot/augment-api-query.ts | 14 +- src/polkadot/augment-api-tx.ts | 117 +---- src/polkadot/lookup.ts | 662 ++++++++++++++--------------- src/polkadot/registry.ts | 18 +- src/polkadot/types-lookup.ts | 656 ++++++++++++++-------------- 9 files changed, 668 insertions(+), 827 deletions(-) diff --git a/scripts/transactions.json b/scripts/transactions.json index 3c510e1cbf..fe9f73c555 100644 --- a/scripts/transactions.json +++ b/scripts/transactions.json @@ -420,7 +420,8 @@ "dispatch_as": "dispatch_as", "force_batch": "force_batch", "with_weight": "with_weight", - "batch_old": "batch_old" + "batch_old": "batch_old", + "as_derivative": "as_derivative" }, "ExternalAgents": { "create_group": "create_group", diff --git a/src/generated/types.ts b/src/generated/types.ts index f336e88088..128baadbd9 100644 --- a/src/generated/types.ts +++ b/src/generated/types.ts @@ -710,6 +710,7 @@ export enum UtilityTx { ForceBatch = 'utility.forceBatch', WithWeight = 'utility.withWeight', BatchOld = 'utility.batchOld', + AsDerivative = 'utility.asDerivative', } export enum ExternalAgentsTx { diff --git a/src/polkadot/augment-api-errors.ts b/src/polkadot/augment-api-errors.ts index 514044a8db..20b58ebf77 100644 --- a/src/polkadot/augment-api-errors.ts +++ b/src/polkadot/augment-api-errors.ts @@ -1893,12 +1893,6 @@ declare module '@polkadot/api-base/types/errors' { **/ Unauthorized: AugmentedError; }; - sudo: { - /** - * Sender must be the Sudo account - **/ - RequireSudo: AugmentedError; - }; system: { /** * The origin filter prevent the call to be dispatched. @@ -2104,6 +2098,10 @@ declare module '@polkadot/api-base/types/errors' { * Too many calls batched. **/ TooManyCalls: AugmentedError; + /** + * Decoding derivative account Id failed. + **/ + UnableToDeriveAccountId: AugmentedError; }; } // AugmentedErrors } // declare module diff --git a/src/polkadot/augment-api-events.ts b/src/polkadot/augment-api-events.ts index e3adf07f0d..0061a79c9c 100644 --- a/src/polkadot/augment-api-events.ts +++ b/src/polkadot/augment-api-events.ts @@ -2284,20 +2284,6 @@ declare module '@polkadot/api-base/types/events' { ] >; }; - sudo: { - /** - * The \[sudoer\] just switched identity; the old key is supplied. - **/ - KeyChanged: AugmentedEvent]>; - /** - * A sudo just took place. \[result\] - **/ - Sudid: AugmentedEvent]>; - /** - * A sudo just took place. \[result\] - **/ - SudoAsDone: AugmentedEvent]>; - }; system: { /** * `:code` was updated. diff --git a/src/polkadot/augment-api-query.ts b/src/polkadot/augment-api-query.ts index 0c0bd4e6f2..42e077e47f 100644 --- a/src/polkadot/augment-api-query.ts +++ b/src/polkadot/augment-api-query.ts @@ -124,7 +124,7 @@ import type { PolymeshPrimitivesTicker, PolymeshPrimitivesTransferComplianceAssetTransferCompliance, PolymeshPrimitivesTransferComplianceTransferConditionExemptKey, - PolymeshRuntimeDevelopRuntimeSessionKeys, + PolymeshRuntimeTestnetRuntimeSessionKeys, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, @@ -1672,7 +1672,7 @@ declare module '@polkadot/api-base/types/storage' { ( arg1: PolymeshPrimitivesTicker | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array - ) => Observable>, + ) => Observable>, [PolymeshPrimitivesTicker, u64] >; /** @@ -2272,7 +2272,7 @@ declare module '@polkadot/api-base/types/storage' { ApiType, ( arg: AccountId32 | string | Uint8Array - ) => Observable>, + ) => Observable>, [AccountId32] >; /** @@ -2286,7 +2286,7 @@ declare module '@polkadot/api-base/types/storage' { **/ queuedKeys: AugmentedQuery< ApiType, - () => Observable>>, + () => Observable>>, [] >; /** @@ -2937,12 +2937,6 @@ declare module '@polkadot/api-base/types/storage' { [PolymeshPrimitivesTicker, u64] >; }; - sudo: { - /** - * The `AccountId` of the sudo key. - **/ - key: AugmentedQuery Observable>, []>; - }; system: { /** * The full account information for a particular account ID. diff --git a/src/polkadot/augment-api-tx.ts b/src/polkadot/augment-api-tx.ts index 7870a4aeb4..2b39be5380 100644 --- a/src/polkadot/augment-api-tx.ts +++ b/src/polkadot/augment-api-tx.ts @@ -105,8 +105,8 @@ import type { PolymeshPrimitivesTicker, PolymeshPrimitivesTransferComplianceTransferCondition, PolymeshPrimitivesTransferComplianceTransferConditionExemptKey, - PolymeshRuntimeDevelopRuntimeOriginCaller, - PolymeshRuntimeDevelopRuntimeSessionKeys, + PolymeshRuntimeTestnetRuntimeOriginCaller, + PolymeshRuntimeTestnetRuntimeSessionKeys, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, @@ -5151,13 +5151,13 @@ declare module '@polkadot/api-base/types/submittable' { setKeys: AugmentedSubmittable< ( keys: - | PolymeshRuntimeDevelopRuntimeSessionKeys + | PolymeshRuntimeTestnetRuntimeSessionKeys | { grandpa?: any; babe?: any; imOnline?: any; authorityDiscovery?: any } | string | Uint8Array, proof: Bytes | string | Uint8Array ) => SubmittableExtrinsic, - [PolymeshRuntimeDevelopRuntimeSessionKeys, Bytes] + [PolymeshRuntimeTestnetRuntimeSessionKeys, Bytes] >; }; settlement: { @@ -6870,96 +6870,6 @@ declare module '@polkadot/api-base/types/submittable' { [PolymeshPrimitivesTicker, u64] >; }; - sudo: { - /** - * 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_. - * - * # - * - O(1). - * - Limited storage reads. - * - One DB change. - * # - **/ - setKey: AugmentedSubmittable< - ( - updated: - | MultiAddress - | { Id: any } - | { Index: any } - | { Raw: any } - | { Address32: any } - | { Address20: any } - | string - | Uint8Array - ) => SubmittableExtrinsic, - [MultiAddress] - >; - /** - * Authenticates the sudo key and dispatches a function call with `Root` origin. - * - * The dispatch origin for this call must be _Signed_. - * - * # - * - O(1). - * - Limited storage reads. - * - One DB write (event). - * - Weight of derivative `call` execution + 10,000. - * # - **/ - sudo: AugmentedSubmittable< - (call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic, - [Call] - >; - /** - * 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_. - * - * # - * - O(1). - * - Limited storage reads. - * - One DB write (event). - * - Weight of derivative `call` execution + 10,000. - * # - **/ - sudoAs: AugmentedSubmittable< - ( - who: - | MultiAddress - | { Id: any } - | { Index: any } - | { Raw: any } - | { Address32: any } - | { Address20: any } - | string - | Uint8Array, - call: Call | IMethod | string | Uint8Array - ) => SubmittableExtrinsic, - [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_. - * - * # - * - O(1). - * - The weight of this call is defined by the caller. - * # - **/ - sudoUncheckedWeight: AugmentedSubmittable< - ( - call: Call | IMethod | string | Uint8Array, - weight: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array - ) => SubmittableExtrinsic, - [Call, SpWeightsWeightV2Weight] - >; - }; system: { /** * Kill all storage items with a key that starts with the given prefix. @@ -7548,6 +7458,21 @@ 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. + * + * The dispatch origin for this call must be _Signed_. + **/ + asDerivative: AugmentedSubmittable< + ( + index: u16 | AnyNumber | Uint8Array, + call: Call | IMethod | string | Uint8Array + ) => SubmittableExtrinsic, + [u16, Call] + >; /** * Send a batch of dispatch calls. * @@ -7694,7 +7619,7 @@ declare module '@polkadot/api-base/types/submittable' { dispatchAs: AugmentedSubmittable< ( asOrigin: - | PolymeshRuntimeDevelopRuntimeOriginCaller + | PolymeshRuntimeTestnetRuntimeOriginCaller | { system: any } | { Void: any } | { PolymeshCommittee: any } @@ -7704,7 +7629,7 @@ declare module '@polkadot/api-base/types/submittable' { | Uint8Array, call: Call | IMethod | string | Uint8Array ) => SubmittableExtrinsic, - [PolymeshRuntimeDevelopRuntimeOriginCaller, Call] + [PolymeshRuntimeTestnetRuntimeOriginCaller, Call] >; /** * Send a batch of dispatch calls. diff --git a/src/polkadot/lookup.ts b/src/polkadot/lookup.ts index 4dbdbf1a19..d97bc183ab 100644 --- a/src/polkadot/lookup.ts +++ b/src/polkadot/lookup.ts @@ -61,7 +61,7 @@ export default { }, }, /** - * Lookup18: frame_system::EventRecord + * Lookup18: frame_system::EventRecord **/ FrameSystemEventRecord: { phase: 'FrameSystemPhase', @@ -671,7 +671,7 @@ export default { }, }, /** - * Lookup75: polymesh_common_utilities::traits::group::RawEvent + * Lookup75: polymesh_common_utilities::traits::group::RawEvent **/ PolymeshCommonUtilitiesGroupRawEventInstance2: { _enum: { @@ -722,7 +722,7 @@ export default { }, }, /** - * Lookup83: polymesh_common_utilities::traits::group::RawEvent + * Lookup83: polymesh_common_utilities::traits::group::RawEvent **/ PolymeshCommonUtilitiesGroupRawEventInstance1: { _enum: { @@ -764,7 +764,7 @@ export default { **/ PalletCommitteeInstance3: 'Null', /** - * Lookup87: polymesh_common_utilities::traits::group::RawEvent + * Lookup87: polymesh_common_utilities::traits::group::RawEvent **/ PolymeshCommonUtilitiesGroupRawEventInstance3: { _enum: { @@ -806,7 +806,7 @@ export default { **/ PalletCommitteeInstance4: 'Null', /** - * Lookup91: polymesh_common_utilities::traits::group::RawEvent + * Lookup91: polymesh_common_utilities::traits::group::RawEvent **/ PolymeshCommonUtilitiesGroupRawEventInstance4: { _enum: { @@ -1015,17 +1015,7 @@ export default { value: 'Compact', }, /** - * Lookup122: pallet_sudo::RawEvent - **/ - PalletSudoRawEvent: { - _enum: { - Sudid: 'Result', - KeyChanged: 'Option', - SudoAsDone: 'Result', - }, - }, - /** - * Lookup123: polymesh_common_utilities::traits::asset::RawEvent + * Lookup122: polymesh_common_utilities::traits::asset::RawEvent **/ PolymeshCommonUtilitiesAssetRawEvent: { _enum: { @@ -1076,7 +1066,7 @@ export default { }, }, /** - * Lookup124: polymesh_primitives::asset::AssetType + * Lookup123: polymesh_primitives::asset::AssetType **/ PolymeshPrimitivesAssetAssetType: { _enum: { @@ -1095,7 +1085,7 @@ export default { }, }, /** - * Lookup126: polymesh_primitives::asset::NonFungibleType + * Lookup125: polymesh_primitives::asset::NonFungibleType **/ PolymeshPrimitivesAssetNonFungibleType: { _enum: { @@ -1106,7 +1096,7 @@ export default { }, }, /** - * Lookup129: polymesh_primitives::asset_identifier::AssetIdentifier + * Lookup128: polymesh_primitives::asset_identifier::AssetIdentifier **/ PolymeshPrimitivesAssetIdentifier: { _enum: { @@ -1118,7 +1108,7 @@ export default { }, }, /** - * Lookup135: polymesh_primitives::document::Document + * Lookup134: polymesh_primitives::document::Document **/ PolymeshPrimitivesDocument: { uri: 'Bytes', @@ -1128,7 +1118,7 @@ export default { filingDate: 'Option', }, /** - * Lookup137: polymesh_primitives::document_hash::DocumentHash + * Lookup136: polymesh_primitives::document_hash::DocumentHash **/ PolymeshPrimitivesDocumentHash: { _enum: { @@ -1144,14 +1134,14 @@ export default { }, }, /** - * Lookup148: polymesh_primitives::asset_metadata::AssetMetadataValueDetail + * Lookup147: polymesh_primitives::asset_metadata::AssetMetadataValueDetail **/ PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail: { expire: 'Option', lockStatus: 'PolymeshPrimitivesAssetMetadataAssetMetadataLockStatus', }, /** - * Lookup149: polymesh_primitives::asset_metadata::AssetMetadataLockStatus + * Lookup148: polymesh_primitives::asset_metadata::AssetMetadataLockStatus **/ PolymeshPrimitivesAssetMetadataAssetMetadataLockStatus: { _enum: { @@ -1161,7 +1151,7 @@ export default { }, }, /** - * Lookup152: polymesh_primitives::asset_metadata::AssetMetadataSpec + * Lookup151: polymesh_primitives::asset_metadata::AssetMetadataSpec **/ PolymeshPrimitivesAssetMetadataAssetMetadataSpec: { url: 'Option', @@ -1169,7 +1159,7 @@ export default { typeDef: 'Option', }, /** - * Lookup159: polymesh_primitives::asset_metadata::AssetMetadataKey + * Lookup158: polymesh_primitives::asset_metadata::AssetMetadataKey **/ PolymeshPrimitivesAssetMetadataAssetMetadataKey: { _enum: { @@ -1178,7 +1168,7 @@ export default { }, }, /** - * Lookup161: polymesh_primitives::portfolio::PortfolioUpdateReason + * Lookup160: polymesh_primitives::portfolio::PortfolioUpdateReason **/ PolymeshPrimitivesPortfolioPortfolioUpdateReason: { _enum: { @@ -1194,7 +1184,7 @@ export default { }, }, /** - * Lookup164: pallet_corporate_actions::distribution::Event + * Lookup163: pallet_corporate_actions::distribution::Event **/ PalletCorporateActionsDistributionEvent: { _enum: { @@ -1207,18 +1197,18 @@ export default { }, }, /** - * Lookup165: polymesh_primitives::event_only::EventOnly + * Lookup164: polymesh_primitives::event_only::EventOnly **/ PolymeshPrimitivesEventOnly: 'PolymeshPrimitivesIdentityId', /** - * Lookup166: pallet_corporate_actions::CAId + * Lookup165: pallet_corporate_actions::CAId **/ PalletCorporateActionsCaId: { ticker: 'PolymeshPrimitivesTicker', localId: 'u32', }, /** - * Lookup168: pallet_corporate_actions::distribution::Distribution + * Lookup167: pallet_corporate_actions::distribution::Distribution **/ PalletCorporateActionsDistribution: { from: 'PolymeshPrimitivesIdentityIdPortfolioId', @@ -1231,7 +1221,7 @@ export default { expiresAt: 'Option', }, /** - * Lookup170: polymesh_common_utilities::traits::checkpoint::Event + * Lookup169: polymesh_common_utilities::traits::checkpoint::Event **/ PolymeshCommonUtilitiesCheckpointEvent: { _enum: { @@ -1245,13 +1235,13 @@ export default { }, }, /** - * Lookup173: polymesh_common_utilities::traits::checkpoint::ScheduleCheckpoints + * Lookup172: polymesh_common_utilities::traits::checkpoint::ScheduleCheckpoints **/ PolymeshCommonUtilitiesCheckpointScheduleCheckpoints: { pending: 'BTreeSet', }, /** - * Lookup176: polymesh_common_utilities::traits::compliance_manager::Event + * Lookup175: polymesh_common_utilities::traits::compliance_manager::Event **/ PolymeshCommonUtilitiesComplianceManagerEvent: { _enum: { @@ -1272,7 +1262,7 @@ export default { }, }, /** - * Lookup177: polymesh_primitives::compliance_manager::ComplianceRequirement + * Lookup176: polymesh_primitives::compliance_manager::ComplianceRequirement **/ PolymeshPrimitivesComplianceManagerComplianceRequirement: { senderConditions: 'Vec', @@ -1280,14 +1270,14 @@ export default { id: 'u32', }, /** - * Lookup179: polymesh_primitives::condition::Condition + * Lookup178: polymesh_primitives::condition::Condition **/ PolymeshPrimitivesCondition: { conditionType: 'PolymeshPrimitivesConditionConditionType', issuers: 'Vec', }, /** - * Lookup180: polymesh_primitives::condition::ConditionType + * Lookup179: polymesh_primitives::condition::ConditionType **/ PolymeshPrimitivesConditionConditionType: { _enum: { @@ -1299,7 +1289,7 @@ export default { }, }, /** - * Lookup182: polymesh_primitives::condition::TargetIdentity + * Lookup181: polymesh_primitives::condition::TargetIdentity **/ PolymeshPrimitivesConditionTargetIdentity: { _enum: { @@ -1308,14 +1298,14 @@ export default { }, }, /** - * Lookup184: polymesh_primitives::condition::TrustedIssuer + * Lookup183: polymesh_primitives::condition::TrustedIssuer **/ PolymeshPrimitivesConditionTrustedIssuer: { issuer: 'PolymeshPrimitivesIdentityId', trustedFor: 'PolymeshPrimitivesConditionTrustedFor', }, /** - * Lookup185: polymesh_primitives::condition::TrustedFor + * Lookup184: polymesh_primitives::condition::TrustedFor **/ PolymeshPrimitivesConditionTrustedFor: { _enum: { @@ -1324,7 +1314,7 @@ export default { }, }, /** - * Lookup187: polymesh_primitives::identity_claim::ClaimType + * Lookup186: polymesh_primitives::identity_claim::ClaimType **/ PolymeshPrimitivesIdentityClaimClaimType: { _enum: { @@ -1341,7 +1331,7 @@ export default { }, }, /** - * Lookup189: pallet_corporate_actions::Event + * Lookup188: pallet_corporate_actions::Event **/ PalletCorporateActionsEvent: { _enum: { @@ -1361,20 +1351,20 @@ export default { }, }, /** - * Lookup190: pallet_corporate_actions::TargetIdentities + * Lookup189: pallet_corporate_actions::TargetIdentities **/ PalletCorporateActionsTargetIdentities: { identities: 'Vec', treatment: 'PalletCorporateActionsTargetTreatment', }, /** - * Lookup191: pallet_corporate_actions::TargetTreatment + * Lookup190: pallet_corporate_actions::TargetTreatment **/ PalletCorporateActionsTargetTreatment: { _enum: ['Include', 'Exclude'], }, /** - * Lookup193: pallet_corporate_actions::CorporateAction + * Lookup192: pallet_corporate_actions::CorporateAction **/ PalletCorporateActionsCorporateAction: { kind: 'PalletCorporateActionsCaKind', @@ -1385,7 +1375,7 @@ export default { withholdingTax: 'Vec<(PolymeshPrimitivesIdentityId,Permill)>', }, /** - * Lookup194: pallet_corporate_actions::CAKind + * Lookup193: pallet_corporate_actions::CAKind **/ PalletCorporateActionsCaKind: { _enum: [ @@ -1397,14 +1387,14 @@ export default { ], }, /** - * Lookup196: pallet_corporate_actions::RecordDate + * Lookup195: pallet_corporate_actions::RecordDate **/ PalletCorporateActionsRecordDate: { date: 'u64', checkpoint: 'PalletCorporateActionsCaCheckpoint', }, /** - * Lookup197: pallet_corporate_actions::CACheckpoint + * Lookup196: pallet_corporate_actions::CACheckpoint **/ PalletCorporateActionsCaCheckpoint: { _enum: { @@ -1413,7 +1403,7 @@ export default { }, }, /** - * Lookup202: pallet_corporate_actions::ballot::Event + * Lookup201: pallet_corporate_actions::ballot::Event **/ PalletCorporateActionsBallotEvent: { _enum: { @@ -1430,21 +1420,21 @@ export default { }, }, /** - * Lookup203: pallet_corporate_actions::ballot::BallotTimeRange + * Lookup202: pallet_corporate_actions::ballot::BallotTimeRange **/ PalletCorporateActionsBallotBallotTimeRange: { start: 'u64', end: 'u64', }, /** - * Lookup204: pallet_corporate_actions::ballot::BallotMeta + * Lookup203: pallet_corporate_actions::ballot::BallotMeta **/ PalletCorporateActionsBallotBallotMeta: { title: 'Bytes', motions: 'Vec', }, /** - * Lookup207: pallet_corporate_actions::ballot::Motion + * Lookup206: pallet_corporate_actions::ballot::Motion **/ PalletCorporateActionsBallotMotion: { title: 'Bytes', @@ -1452,14 +1442,14 @@ export default { choices: 'Vec', }, /** - * Lookup213: pallet_corporate_actions::ballot::BallotVote + * Lookup212: pallet_corporate_actions::ballot::BallotVote **/ PalletCorporateActionsBallotBallotVote: { power: 'u128', fallback: 'Option', }, /** - * Lookup216: pallet_pips::RawEvent + * Lookup215: pallet_pips::RawEvent **/ PalletPipsRawEvent: { _enum: { @@ -1489,7 +1479,7 @@ export default { }, }, /** - * Lookup217: pallet_pips::Proposer + * Lookup216: pallet_pips::Proposer **/ PalletPipsProposer: { _enum: { @@ -1498,13 +1488,13 @@ export default { }, }, /** - * Lookup218: pallet_pips::Committee + * Lookup217: pallet_pips::Committee **/ PalletPipsCommittee: { _enum: ['Technical', 'Upgrade'], }, /** - * Lookup222: pallet_pips::ProposalData + * Lookup221: pallet_pips::ProposalData **/ PalletPipsProposalData: { _enum: { @@ -1513,20 +1503,20 @@ export default { }, }, /** - * Lookup223: pallet_pips::ProposalState + * Lookup222: pallet_pips::ProposalState **/ PalletPipsProposalState: { _enum: ['Pending', 'Rejected', 'Scheduled', 'Failed', 'Executed', 'Expired'], }, /** - * Lookup226: pallet_pips::SnapshottedPip + * Lookup225: pallet_pips::SnapshottedPip **/ PalletPipsSnapshottedPip: { id: 'u32', weight: '(bool,u128)', }, /** - * Lookup232: polymesh_common_utilities::traits::portfolio::Event + * Lookup231: polymesh_common_utilities::traits::portfolio::Event **/ PolymeshCommonUtilitiesPortfolioEvent: { _enum: { @@ -1545,7 +1535,7 @@ export default { }, }, /** - * Lookup236: polymesh_primitives::portfolio::FundDescription + * Lookup235: polymesh_primitives::portfolio::FundDescription **/ PolymeshPrimitivesPortfolioFundDescription: { _enum: { @@ -1557,14 +1547,14 @@ export default { }, }, /** - * Lookup237: polymesh_primitives::nft::NFTs + * Lookup236: polymesh_primitives::nft::NFTs **/ PolymeshPrimitivesNftNfTs: { ticker: 'PolymeshPrimitivesTicker', ids: 'Vec', }, /** - * Lookup240: pallet_protocol_fee::RawEvent + * Lookup239: pallet_protocol_fee::RawEvent **/ PalletProtocolFeeRawEvent: { _enum: { @@ -1574,11 +1564,11 @@ export default { }, }, /** - * Lookup241: polymesh_primitives::PosRatio + * Lookup240: polymesh_primitives::PosRatio **/ PolymeshPrimitivesPosRatio: '(u32,u32)', /** - * Lookup242: pallet_scheduler::pallet::Event + * Lookup241: pallet_scheduler::pallet::Event **/ PalletSchedulerEvent: { _enum: { @@ -1610,7 +1600,7 @@ export default { }, }, /** - * Lookup245: polymesh_common_utilities::traits::settlement::RawEvent + * Lookup244: polymesh_common_utilities::traits::settlement::RawEvent **/ PolymeshCommonUtilitiesSettlementRawEvent: { _enum: { @@ -1644,17 +1634,17 @@ export default { }, }, /** - * Lookup248: polymesh_primitives::settlement::VenueType + * Lookup247: polymesh_primitives::settlement::VenueType **/ PolymeshPrimitivesSettlementVenueType: { _enum: ['Other', 'Distribution', 'Sto', 'Exchange'], }, /** - * Lookup251: polymesh_primitives::settlement::ReceiptMetadata + * Lookup250: polymesh_primitives::settlement::ReceiptMetadata **/ PolymeshPrimitivesSettlementReceiptMetadata: '[u8;32]', /** - * Lookup253: polymesh_primitives::settlement::SettlementType + * Lookup252: polymesh_primitives::settlement::SettlementType **/ PolymeshPrimitivesSettlementSettlementType: { _enum: { @@ -1664,7 +1654,7 @@ export default { }, }, /** - * Lookup255: polymesh_primitives::settlement::Leg + * Lookup254: polymesh_primitives::settlement::Leg **/ PolymeshPrimitivesSettlementLeg: { _enum: { @@ -1688,7 +1678,7 @@ export default { }, }, /** - * Lookup256: polymesh_common_utilities::traits::statistics::Event + * Lookup255: polymesh_common_utilities::traits::statistics::Event **/ PolymeshCommonUtilitiesStatisticsEvent: { _enum: { @@ -1707,7 +1697,7 @@ export default { }, }, /** - * Lookup257: polymesh_primitives::statistics::AssetScope + * Lookup256: polymesh_primitives::statistics::AssetScope **/ PolymeshPrimitivesStatisticsAssetScope: { _enum: { @@ -1715,27 +1705,27 @@ export default { }, }, /** - * Lookup259: polymesh_primitives::statistics::StatType + * Lookup258: polymesh_primitives::statistics::StatType **/ PolymeshPrimitivesStatisticsStatType: { op: 'PolymeshPrimitivesStatisticsStatOpType', claimIssuer: 'Option<(PolymeshPrimitivesIdentityClaimClaimType,PolymeshPrimitivesIdentityId)>', }, /** - * Lookup260: polymesh_primitives::statistics::StatOpType + * Lookup259: polymesh_primitives::statistics::StatOpType **/ PolymeshPrimitivesStatisticsStatOpType: { _enum: ['Count', 'Balance'], }, /** - * Lookup264: polymesh_primitives::statistics::StatUpdate + * Lookup263: polymesh_primitives::statistics::StatUpdate **/ PolymeshPrimitivesStatisticsStatUpdate: { key2: 'PolymeshPrimitivesStatisticsStat2ndKey', value: 'Option', }, /** - * Lookup265: polymesh_primitives::statistics::Stat2ndKey + * Lookup264: polymesh_primitives::statistics::Stat2ndKey **/ PolymeshPrimitivesStatisticsStat2ndKey: { _enum: { @@ -1744,7 +1734,7 @@ export default { }, }, /** - * Lookup266: polymesh_primitives::statistics::StatClaim + * Lookup265: polymesh_primitives::statistics::StatClaim **/ PolymeshPrimitivesStatisticsStatClaim: { _enum: { @@ -1754,7 +1744,7 @@ export default { }, }, /** - * Lookup270: polymesh_primitives::transfer_compliance::TransferCondition + * Lookup269: polymesh_primitives::transfer_compliance::TransferCondition **/ PolymeshPrimitivesTransferComplianceTransferCondition: { _enum: { @@ -1767,7 +1757,7 @@ export default { }, }, /** - * Lookup271: polymesh_primitives::transfer_compliance::TransferConditionExemptKey + * Lookup270: polymesh_primitives::transfer_compliance::TransferConditionExemptKey **/ PolymeshPrimitivesTransferComplianceTransferConditionExemptKey: { asset: 'PolymeshPrimitivesStatisticsAssetScope', @@ -1775,7 +1765,7 @@ export default { claimType: 'Option', }, /** - * Lookup273: pallet_sto::RawEvent + * Lookup272: pallet_sto::RawEvent **/ PalletStoRawEvent: { _enum: { @@ -1789,7 +1779,7 @@ export default { }, }, /** - * Lookup276: pallet_sto::Fundraiser + * Lookup275: pallet_sto::Fundraiser **/ PalletStoFundraiser: { creator: 'PolymeshPrimitivesIdentityId', @@ -1805,7 +1795,7 @@ export default { minimumInvestment: 'u128', }, /** - * Lookup278: pallet_sto::FundraiserTier + * Lookup277: pallet_sto::FundraiserTier **/ PalletStoFundraiserTier: { total: 'u128', @@ -1813,13 +1803,13 @@ export default { remaining: 'u128', }, /** - * Lookup279: pallet_sto::FundraiserStatus + * Lookup278: pallet_sto::FundraiserStatus **/ PalletStoFundraiserStatus: { _enum: ['Live', 'Frozen', 'Closed', 'ClosedEarly'], }, /** - * Lookup280: pallet_treasury::RawEvent + * Lookup279: pallet_treasury::RawEvent **/ PalletTreasuryRawEvent: { _enum: { @@ -1831,7 +1821,7 @@ export default { }, }, /** - * Lookup281: pallet_utility::pallet::Event + * Lookup280: pallet_utility::pallet::Event **/ PalletUtilityEvent: { _enum: { @@ -1859,7 +1849,7 @@ export default { }, }, /** - * Lookup285: polymesh_common_utilities::traits::base::Event + * Lookup284: polymesh_common_utilities::traits::base::Event **/ PolymeshCommonUtilitiesBaseEvent: { _enum: { @@ -1867,7 +1857,7 @@ export default { }, }, /** - * Lookup287: polymesh_common_utilities::traits::external_agents::Event + * Lookup286: polymesh_common_utilities::traits::external_agents::Event **/ PolymeshCommonUtilitiesExternalAgentsEvent: { _enum: { @@ -1884,7 +1874,7 @@ export default { }, }, /** - * Lookup288: polymesh_common_utilities::traits::relayer::RawEvent + * Lookup287: polymesh_common_utilities::traits::relayer::RawEvent **/ PolymeshCommonUtilitiesRelayerRawEvent: { _enum: { @@ -1895,7 +1885,7 @@ export default { }, }, /** - * Lookup289: pallet_contracts::pallet::Event + * Lookup288: pallet_contracts::pallet::Event **/ PalletContractsEvent: { _enum: { @@ -1933,7 +1923,7 @@ export default { }, }, /** - * Lookup290: polymesh_contracts::RawEvent + * Lookup289: polymesh_contracts::RawEvent **/ PolymeshContractsRawEvent: { _enum: { @@ -1942,25 +1932,25 @@ export default { }, }, /** - * Lookup291: polymesh_contracts::Api + * Lookup290: polymesh_contracts::Api **/ PolymeshContractsApi: { desc: '[u8;4]', major: 'u32', }, /** - * Lookup292: polymesh_contracts::ChainVersion + * Lookup291: polymesh_contracts::ChainVersion **/ PolymeshContractsChainVersion: { specVersion: 'u32', txVersion: 'u32', }, /** - * Lookup293: polymesh_contracts::chain_extension::ExtrinsicId + * Lookup292: polymesh_contracts::chain_extension::ExtrinsicId **/ PolymeshContractsChainExtensionExtrinsicId: '(u8,u8)', /** - * Lookup294: pallet_preimage::pallet::Event + * Lookup293: pallet_preimage::pallet::Event **/ PalletPreimageEvent: { _enum: { @@ -1985,7 +1975,7 @@ export default { }, }, /** - * Lookup295: polymesh_common_utilities::traits::nft::Event + * Lookup294: polymesh_common_utilities::traits::nft::Event **/ PolymeshCommonUtilitiesNftEvent: { _enum: { @@ -1995,7 +1985,7 @@ export default { }, }, /** - * Lookup297: pallet_test_utils::RawEvent + * Lookup296: pallet_test_utils::RawEvent **/ PalletTestUtilsRawEvent: { _enum: { @@ -2004,7 +1994,7 @@ export default { }, }, /** - * Lookup298: frame_system::Phase + * Lookup297: frame_system::Phase **/ FrameSystemPhase: { _enum: { @@ -2014,14 +2004,14 @@ export default { }, }, /** - * Lookup301: frame_system::LastRuntimeUpgradeInfo + * Lookup300: frame_system::LastRuntimeUpgradeInfo **/ FrameSystemLastRuntimeUpgradeInfo: { specVersion: 'Compact', specName: 'Text', }, /** - * Lookup304: frame_system::pallet::Call + * Lookup303: frame_system::pallet::Call **/ FrameSystemCall: { _enum: { @@ -2056,7 +2046,7 @@ export default { }, }, /** - * Lookup308: frame_system::limits::BlockWeights + * Lookup307: frame_system::limits::BlockWeights **/ FrameSystemLimitsBlockWeights: { baseBlock: 'SpWeightsWeightV2Weight', @@ -2064,7 +2054,7 @@ export default { perClass: 'FrameSupportDispatchPerDispatchClassWeightsPerClass', }, /** - * Lookup309: frame_support::dispatch::PerDispatchClass + * Lookup308: frame_support::dispatch::PerDispatchClass **/ FrameSupportDispatchPerDispatchClassWeightsPerClass: { normal: 'FrameSystemLimitsWeightsPerClass', @@ -2072,7 +2062,7 @@ export default { mandatory: 'FrameSystemLimitsWeightsPerClass', }, /** - * Lookup310: frame_system::limits::WeightsPerClass + * Lookup309: frame_system::limits::WeightsPerClass **/ FrameSystemLimitsWeightsPerClass: { baseExtrinsic: 'SpWeightsWeightV2Weight', @@ -2081,13 +2071,13 @@ export default { reserved: 'Option', }, /** - * Lookup312: frame_system::limits::BlockLength + * Lookup311: frame_system::limits::BlockLength **/ FrameSystemLimitsBlockLength: { max: 'FrameSupportDispatchPerDispatchClassU32', }, /** - * Lookup313: frame_support::dispatch::PerDispatchClass + * Lookup312: frame_support::dispatch::PerDispatchClass **/ FrameSupportDispatchPerDispatchClassU32: { normal: 'u32', @@ -2095,14 +2085,14 @@ export default { mandatory: 'u32', }, /** - * Lookup314: sp_weights::RuntimeDbWeight + * Lookup313: sp_weights::RuntimeDbWeight **/ SpWeightsRuntimeDbWeight: { read: 'u64', write: 'u64', }, /** - * Lookup315: sp_version::RuntimeVersion + * Lookup314: sp_version::RuntimeVersion **/ SpVersionRuntimeVersion: { specName: 'Text', @@ -2115,7 +2105,7 @@ export default { stateVersion: 'u8', }, /** - * Lookup320: frame_system::pallet::Error + * Lookup319: frame_system::pallet::Error **/ FrameSystemError: { _enum: [ @@ -2128,11 +2118,11 @@ export default { ], }, /** - * Lookup323: sp_consensus_babe::app::Public + * Lookup322: sp_consensus_babe::app::Public **/ SpConsensusBabeAppPublic: 'SpCoreSr25519Public', /** - * Lookup326: sp_consensus_babe::digests::NextConfigDescriptor + * Lookup325: sp_consensus_babe::digests::NextConfigDescriptor **/ SpConsensusBabeDigestsNextConfigDescriptor: { _enum: { @@ -2144,13 +2134,13 @@ export default { }, }, /** - * Lookup328: sp_consensus_babe::AllowedSlots + * Lookup327: sp_consensus_babe::AllowedSlots **/ SpConsensusBabeAllowedSlots: { _enum: ['PrimarySlots', 'PrimaryAndSecondaryPlainSlots', 'PrimaryAndSecondaryVRFSlots'], }, /** - * Lookup332: sp_consensus_babe::digests::PreDigest + * Lookup331: sp_consensus_babe::digests::PreDigest **/ SpConsensusBabeDigestsPreDigest: { _enum: { @@ -2161,7 +2151,7 @@ export default { }, }, /** - * Lookup333: sp_consensus_babe::digests::PrimaryPreDigest + * Lookup332: sp_consensus_babe::digests::PrimaryPreDigest **/ SpConsensusBabeDigestsPrimaryPreDigest: { authorityIndex: 'u32', @@ -2170,14 +2160,14 @@ export default { vrfProof: '[u8;64]', }, /** - * Lookup334: sp_consensus_babe::digests::SecondaryPlainPreDigest + * Lookup333: sp_consensus_babe::digests::SecondaryPlainPreDigest **/ SpConsensusBabeDigestsSecondaryPlainPreDigest: { authorityIndex: 'u32', slot: 'u64', }, /** - * Lookup335: sp_consensus_babe::digests::SecondaryVRFPreDigest + * Lookup334: sp_consensus_babe::digests::SecondaryVRFPreDigest **/ SpConsensusBabeDigestsSecondaryVRFPreDigest: { authorityIndex: 'u32', @@ -2186,14 +2176,14 @@ export default { vrfProof: '[u8;64]', }, /** - * Lookup336: sp_consensus_babe::BabeEpochConfiguration + * Lookup335: sp_consensus_babe::BabeEpochConfiguration **/ SpConsensusBabeBabeEpochConfiguration: { c: '(u64,u64)', allowedSlots: 'SpConsensusBabeAllowedSlots', }, /** - * Lookup340: pallet_babe::pallet::Call + * Lookup339: pallet_babe::pallet::Call **/ PalletBabeCall: { _enum: { @@ -2211,7 +2201,7 @@ export default { }, }, /** - * Lookup341: sp_consensus_slots::EquivocationProof, sp_consensus_babe::app::Public> + * Lookup340: sp_consensus_slots::EquivocationProof, sp_consensus_babe::app::Public> **/ SpConsensusSlotsEquivocationProof: { offender: 'SpConsensusBabeAppPublic', @@ -2220,7 +2210,7 @@ export default { secondHeader: 'SpRuntimeHeader', }, /** - * Lookup342: sp_runtime::generic::header::Header + * Lookup341: sp_runtime::generic::header::Header **/ SpRuntimeHeader: { parentHash: 'H256', @@ -2230,11 +2220,11 @@ export default { digest: 'SpRuntimeDigest', }, /** - * Lookup343: sp_runtime::traits::BlakeTwo256 + * Lookup342: sp_runtime::traits::BlakeTwo256 **/ SpRuntimeBlakeTwo256: 'Null', /** - * Lookup344: sp_session::MembershipProof + * Lookup343: sp_session::MembershipProof **/ SpSessionMembershipProof: { session: 'u32', @@ -2242,7 +2232,7 @@ export default { validatorCount: 'u32', }, /** - * Lookup345: pallet_babe::pallet::Error + * Lookup344: pallet_babe::pallet::Error **/ PalletBabeError: { _enum: [ @@ -2253,7 +2243,7 @@ export default { ], }, /** - * Lookup346: pallet_timestamp::pallet::Call + * Lookup345: pallet_timestamp::pallet::Call **/ PalletTimestampCall: { _enum: { @@ -2263,7 +2253,7 @@ export default { }, }, /** - * Lookup348: pallet_indices::pallet::Call + * Lookup347: pallet_indices::pallet::Call **/ PalletIndicesCall: { _enum: { @@ -2294,13 +2284,13 @@ export default { }, }, /** - * Lookup350: pallet_indices::pallet::Error + * Lookup349: pallet_indices::pallet::Error **/ PalletIndicesError: { _enum: ['NotAssigned', 'NotOwner', 'InUse', 'NotTransfer', 'Permanent'], }, /** - * Lookup352: pallet_balances::BalanceLock + * Lookup351: pallet_balances::BalanceLock **/ PalletBalancesBalanceLock: { id: '[u8;8]', @@ -2308,13 +2298,13 @@ export default { reasons: 'PolymeshCommonUtilitiesBalancesReasons', }, /** - * Lookup353: polymesh_common_utilities::traits::balances::Reasons + * Lookup352: polymesh_common_utilities::traits::balances::Reasons **/ PolymeshCommonUtilitiesBalancesReasons: { _enum: ['Fee', 'Misc', 'All'], }, /** - * Lookup354: pallet_balances::Call + * Lookup353: pallet_balances::Call **/ PalletBalancesCall: { _enum: { @@ -2346,7 +2336,7 @@ export default { }, }, /** - * Lookup355: pallet_balances::Error + * Lookup354: pallet_balances::Error **/ PalletBalancesError: { _enum: [ @@ -2358,13 +2348,13 @@ export default { ], }, /** - * Lookup357: pallet_transaction_payment::Releases + * Lookup356: pallet_transaction_payment::Releases **/ PalletTransactionPaymentReleases: { _enum: ['V1Ancient', 'V2'], }, /** - * Lookup359: sp_weights::WeightToFeeCoefficient + * Lookup358: sp_weights::WeightToFeeCoefficient **/ SpWeightsWeightToFeeCoefficient: { coeffInteger: 'u128', @@ -2373,27 +2363,27 @@ export default { degree: 'u8', }, /** - * Lookup360: polymesh_primitives::identity::DidRecord + * Lookup359: polymesh_primitives::identity::DidRecord **/ PolymeshPrimitivesIdentityDidRecord: { primaryKey: 'Option', }, /** - * Lookup362: pallet_identity::types::Claim1stKey + * Lookup361: pallet_identity::types::Claim1stKey **/ PalletIdentityClaim1stKey: { target: 'PolymeshPrimitivesIdentityId', claimType: 'PolymeshPrimitivesIdentityClaimClaimType', }, /** - * Lookup363: pallet_identity::types::Claim2ndKey + * Lookup362: pallet_identity::types::Claim2ndKey **/ PalletIdentityClaim2ndKey: { issuer: 'PolymeshPrimitivesIdentityId', scope: 'Option', }, /** - * Lookup364: polymesh_primitives::secondary_key::KeyRecord + * Lookup363: polymesh_primitives::secondary_key::KeyRecord **/ PolymeshPrimitivesSecondaryKeyKeyRecord: { _enum: { @@ -2403,7 +2393,7 @@ export default { }, }, /** - * Lookup367: polymesh_primitives::authorization::Authorization + * Lookup366: polymesh_primitives::authorization::Authorization **/ PolymeshPrimitivesAuthorization: { authorizationData: 'PolymeshPrimitivesAuthorizationAuthorizationData', @@ -2413,7 +2403,7 @@ export default { count: 'u32', }, /** - * Lookup370: pallet_identity::Call + * Lookup369: pallet_identity::Call **/ PalletIdentityCall: { _enum: { @@ -2505,21 +2495,21 @@ export default { }, }, /** - * Lookup372: polymesh_common_utilities::traits::identity::SecondaryKeyWithAuth + * Lookup371: polymesh_common_utilities::traits::identity::SecondaryKeyWithAuth **/ PolymeshCommonUtilitiesIdentitySecondaryKeyWithAuth: { secondaryKey: 'PolymeshPrimitivesSecondaryKey', authSignature: 'H512', }, /** - * Lookup375: polymesh_common_utilities::traits::identity::CreateChildIdentityWithAuth + * Lookup374: polymesh_common_utilities::traits::identity::CreateChildIdentityWithAuth **/ PolymeshCommonUtilitiesIdentityCreateChildIdentityWithAuth: { key: 'AccountId32', authSignature: 'H512', }, /** - * Lookup376: pallet_identity::Error + * Lookup375: pallet_identity::Error **/ PalletIdentityError: { _enum: [ @@ -2559,7 +2549,7 @@ export default { ], }, /** - * Lookup378: polymesh_common_utilities::traits::group::InactiveMember + * Lookup377: polymesh_common_utilities::traits::group::InactiveMember **/ PolymeshCommonUtilitiesGroupInactiveMember: { id: 'PolymeshPrimitivesIdentityId', @@ -2567,7 +2557,7 @@ export default { expiry: 'Option', }, /** - * Lookup379: pallet_group::Call + * Lookup378: pallet_group::Call **/ PalletGroupCall: { _enum: { @@ -2596,7 +2586,7 @@ export default { }, }, /** - * Lookup380: pallet_group::Error + * Lookup379: pallet_group::Error **/ PalletGroupError: { _enum: [ @@ -2610,7 +2600,7 @@ export default { ], }, /** - * Lookup382: pallet_committee::Call + * Lookup381: pallet_committee::Call **/ PalletCommitteeCall: { _enum: { @@ -2636,7 +2626,7 @@ export default { }, }, /** - * Lookup388: pallet_multisig::Call + * Lookup387: pallet_multisig::Call **/ PalletMultisigCall: { _enum: { @@ -2730,7 +2720,7 @@ export default { }, }, /** - * Lookup389: pallet_bridge::Call + * Lookup388: pallet_bridge::Call **/ PalletBridgeCall: { _enum: { @@ -2785,7 +2775,7 @@ export default { }, }, /** - * Lookup393: pallet_staking::Call + * Lookup392: pallet_staking::Call **/ PalletStakingCall: { _enum: { @@ -2911,7 +2901,7 @@ export default { }, }, /** - * Lookup394: pallet_staking::RewardDestination + * Lookup393: pallet_staking::RewardDestination **/ PalletStakingRewardDestination: { _enum: { @@ -2922,14 +2912,14 @@ export default { }, }, /** - * Lookup395: pallet_staking::ValidatorPrefs + * Lookup394: pallet_staking::ValidatorPrefs **/ PalletStakingValidatorPrefs: { commission: 'Compact', blocked: 'bool', }, /** - * Lookup401: pallet_staking::CompactAssignments + * Lookup400: pallet_staking::CompactAssignments **/ PalletStakingCompactAssignments: { votes1: 'Vec<(Compact,Compact)>', @@ -2950,7 +2940,7 @@ export default { votes16: 'Vec<(Compact,[(Compact,Compact);15],Compact)>', }, /** - * Lookup452: sp_npos_elections::ElectionScore + * Lookup451: sp_npos_elections::ElectionScore **/ SpNposElectionsElectionScore: { minimalStake: 'u128', @@ -2958,14 +2948,14 @@ export default { sumStakeSquared: 'u128', }, /** - * Lookup453: pallet_staking::ElectionSize + * Lookup452: pallet_staking::ElectionSize **/ PalletStakingElectionSize: { validators: 'Compact', nominators: 'Compact', }, /** - * Lookup454: pallet_session::pallet::Call + * Lookup453: pallet_session::pallet::Call **/ PalletSessionCall: { _enum: { @@ -2973,27 +2963,27 @@ export default { _alias: { keys_: 'keys', }, - keys_: 'PolymeshRuntimeDevelopRuntimeSessionKeys', + keys_: 'PolymeshRuntimeTestnetRuntimeSessionKeys', proof: 'Bytes', }, purge_keys: 'Null', }, }, /** - * Lookup455: polymesh_runtime_develop::runtime::SessionKeys + * Lookup454: polymesh_runtime_testnet::runtime::SessionKeys **/ - PolymeshRuntimeDevelopRuntimeSessionKeys: { + PolymeshRuntimeTestnetRuntimeSessionKeys: { grandpa: 'SpConsensusGrandpaAppPublic', babe: 'SpConsensusBabeAppPublic', imOnline: 'PalletImOnlineSr25519AppSr25519Public', authorityDiscovery: 'SpAuthorityDiscoveryAppPublic', }, /** - * Lookup456: sp_authority_discovery::app::Public + * Lookup455: sp_authority_discovery::app::Public **/ SpAuthorityDiscoveryAppPublic: 'SpCoreSr25519Public', /** - * Lookup457: pallet_grandpa::pallet::Call + * Lookup456: pallet_grandpa::pallet::Call **/ PalletGrandpaCall: { _enum: { @@ -3012,14 +3002,14 @@ export default { }, }, /** - * Lookup458: sp_consensus_grandpa::EquivocationProof + * Lookup457: sp_consensus_grandpa::EquivocationProof **/ SpConsensusGrandpaEquivocationProof: { setId: 'u64', equivocation: 'SpConsensusGrandpaEquivocation', }, /** - * Lookup459: sp_consensus_grandpa::Equivocation + * Lookup458: sp_consensus_grandpa::Equivocation **/ SpConsensusGrandpaEquivocation: { _enum: { @@ -3028,7 +3018,7 @@ export default { }, }, /** - * Lookup460: finality_grandpa::Equivocation, sp_consensus_grandpa::app::Signature> + * Lookup459: finality_grandpa::Equivocation, sp_consensus_grandpa::app::Signature> **/ FinalityGrandpaEquivocationPrevote: { roundNumber: 'u64', @@ -3037,22 +3027,22 @@ export default { second: '(FinalityGrandpaPrevote,SpConsensusGrandpaAppSignature)', }, /** - * Lookup461: finality_grandpa::Prevote + * Lookup460: finality_grandpa::Prevote **/ FinalityGrandpaPrevote: { targetHash: 'H256', targetNumber: 'u32', }, /** - * Lookup462: sp_consensus_grandpa::app::Signature + * Lookup461: sp_consensus_grandpa::app::Signature **/ SpConsensusGrandpaAppSignature: 'SpCoreEd25519Signature', /** - * Lookup463: sp_core::ed25519::Signature + * Lookup462: sp_core::ed25519::Signature **/ SpCoreEd25519Signature: '[u8;64]', /** - * Lookup465: finality_grandpa::Equivocation, sp_consensus_grandpa::app::Signature> + * Lookup464: finality_grandpa::Equivocation, sp_consensus_grandpa::app::Signature> **/ FinalityGrandpaEquivocationPrecommit: { roundNumber: 'u64', @@ -3061,14 +3051,14 @@ export default { second: '(FinalityGrandpaPrecommit,SpConsensusGrandpaAppSignature)', }, /** - * Lookup466: finality_grandpa::Precommit + * Lookup465: finality_grandpa::Precommit **/ FinalityGrandpaPrecommit: { targetHash: 'H256', targetNumber: 'u32', }, /** - * Lookup468: pallet_im_online::pallet::Call + * Lookup467: pallet_im_online::pallet::Call **/ PalletImOnlineCall: { _enum: { @@ -3079,7 +3069,7 @@ export default { }, }, /** - * Lookup469: pallet_im_online::Heartbeat + * Lookup468: pallet_im_online::Heartbeat **/ PalletImOnlineHeartbeat: { blockNumber: 'u32', @@ -3089,46 +3079,22 @@ export default { validatorsLen: 'u32', }, /** - * Lookup470: sp_core::offchain::OpaqueNetworkState + * Lookup469: sp_core::offchain::OpaqueNetworkState **/ SpCoreOffchainOpaqueNetworkState: { peerId: 'OpaquePeerId', externalAddresses: 'Vec', }, /** - * Lookup474: pallet_im_online::sr25519::app_sr25519::Signature + * Lookup473: pallet_im_online::sr25519::app_sr25519::Signature **/ PalletImOnlineSr25519AppSr25519Signature: 'SpCoreSr25519Signature', /** - * Lookup475: sp_core::sr25519::Signature + * Lookup474: sp_core::sr25519::Signature **/ SpCoreSr25519Signature: '[u8;64]', /** - * Lookup476: pallet_sudo::Call - **/ - PalletSudoCall: { - _enum: { - sudo: { - call: 'Call', - }, - sudo_unchecked_weight: { - call: 'Call', - weight: 'SpWeightsWeightV2Weight', - }, - set_key: { - _alias: { - new_: 'new', - }, - new_: 'MultiAddress', - }, - sudo_as: { - who: 'MultiAddress', - call: 'Call', - }, - }, - }, - /** - * Lookup477: pallet_asset::Call + * Lookup475: pallet_asset::Call **/ PalletAssetCall: { _enum: { @@ -3262,7 +3228,7 @@ export default { }, }, /** - * Lookup479: pallet_corporate_actions::distribution::Call + * Lookup477: pallet_corporate_actions::distribution::Call **/ PalletCorporateActionsDistributionCall: { _enum: { @@ -3291,7 +3257,7 @@ export default { }, }, /** - * Lookup481: pallet_asset::checkpoint::Call + * Lookup479: pallet_asset::checkpoint::Call **/ PalletAssetCheckpointCall: { _enum: { @@ -3312,7 +3278,7 @@ export default { }, }, /** - * Lookup482: pallet_compliance_manager::Call + * Lookup480: pallet_compliance_manager::Call **/ PalletComplianceManagerCall: { _enum: { @@ -3353,7 +3319,7 @@ export default { }, }, /** - * Lookup483: pallet_corporate_actions::Call + * Lookup481: pallet_corporate_actions::Call **/ PalletCorporateActionsCall: { _enum: { @@ -3406,7 +3372,7 @@ export default { }, }, /** - * Lookup485: pallet_corporate_actions::RecordDateSpec + * Lookup483: pallet_corporate_actions::RecordDateSpec **/ PalletCorporateActionsRecordDateSpec: { _enum: { @@ -3416,7 +3382,7 @@ export default { }, }, /** - * Lookup488: pallet_corporate_actions::InitiateCorporateActionArgs + * Lookup486: pallet_corporate_actions::InitiateCorporateActionArgs **/ PalletCorporateActionsInitiateCorporateActionArgs: { ticker: 'PolymeshPrimitivesTicker', @@ -3429,7 +3395,7 @@ export default { withholdingTax: 'Option>', }, /** - * Lookup489: pallet_corporate_actions::ballot::Call + * Lookup487: pallet_corporate_actions::ballot::Call **/ PalletCorporateActionsBallotCall: { _enum: { @@ -3461,7 +3427,7 @@ export default { }, }, /** - * Lookup490: pallet_pips::Call + * Lookup488: pallet_pips::Call **/ PalletPipsCall: { _enum: { @@ -3522,13 +3488,13 @@ export default { }, }, /** - * Lookup493: pallet_pips::SnapshotResult + * Lookup491: pallet_pips::SnapshotResult **/ PalletPipsSnapshotResult: { _enum: ['Approve', 'Reject', 'Skip'], }, /** - * Lookup494: pallet_portfolio::Call + * Lookup492: pallet_portfolio::Call **/ PalletPortfolioCall: { _enum: { @@ -3574,14 +3540,14 @@ export default { }, }, /** - * Lookup496: polymesh_primitives::portfolio::Fund + * Lookup494: polymesh_primitives::portfolio::Fund **/ PolymeshPrimitivesPortfolioFund: { description: 'PolymeshPrimitivesPortfolioFundDescription', memo: 'Option', }, /** - * Lookup497: pallet_protocol_fee::Call + * Lookup495: pallet_protocol_fee::Call **/ PalletProtocolFeeCall: { _enum: { @@ -3595,7 +3561,7 @@ export default { }, }, /** - * Lookup498: polymesh_common_utilities::protocol_fee::ProtocolOp + * Lookup496: polymesh_common_utilities::protocol_fee::ProtocolOp **/ PolymeshCommonUtilitiesProtocolFeeProtocolOp: { _enum: [ @@ -3618,7 +3584,7 @@ export default { ], }, /** - * Lookup499: pallet_scheduler::pallet::Call + * Lookup497: pallet_scheduler::pallet::Call **/ PalletSchedulerCall: { _enum: { @@ -3658,7 +3624,7 @@ export default { }, }, /** - * Lookup501: pallet_settlement::Call + * Lookup499: pallet_settlement::Call **/ PalletSettlementCall: { _enum: { @@ -3762,7 +3728,7 @@ export default { }, }, /** - * Lookup503: polymesh_primitives::settlement::ReceiptDetails + * Lookup501: polymesh_primitives::settlement::ReceiptDetails **/ PolymeshPrimitivesSettlementReceiptDetails: { uid: 'u64', @@ -3773,7 +3739,7 @@ export default { metadata: 'Option', }, /** - * Lookup504: sp_runtime::MultiSignature + * Lookup502: sp_runtime::MultiSignature **/ SpRuntimeMultiSignature: { _enum: { @@ -3783,11 +3749,11 @@ export default { }, }, /** - * Lookup505: sp_core::ecdsa::Signature + * Lookup503: sp_core::ecdsa::Signature **/ SpCoreEcdsaSignature: '[u8;65]', /** - * Lookup508: polymesh_primitives::settlement::AffirmationCount + * Lookup506: polymesh_primitives::settlement::AffirmationCount **/ PolymeshPrimitivesSettlementAffirmationCount: { senderAssetCount: 'PolymeshPrimitivesSettlementAssetCount', @@ -3795,7 +3761,7 @@ export default { offchainCount: 'u32', }, /** - * Lookup509: polymesh_primitives::settlement::AssetCount + * Lookup507: polymesh_primitives::settlement::AssetCount **/ PolymeshPrimitivesSettlementAssetCount: { fungible: 'u32', @@ -3803,7 +3769,7 @@ export default { offChain: 'u32', }, /** - * Lookup511: pallet_statistics::Call + * Lookup509: pallet_statistics::Call **/ PalletStatisticsCall: { _enum: { @@ -3828,7 +3794,7 @@ export default { }, }, /** - * Lookup516: pallet_sto::Call + * Lookup514: pallet_sto::Call **/ PalletStoCall: { _enum: { @@ -3874,14 +3840,14 @@ export default { }, }, /** - * Lookup518: pallet_sto::PriceTier + * Lookup516: pallet_sto::PriceTier **/ PalletStoPriceTier: { total: 'u128', price: 'u128', }, /** - * Lookup520: pallet_treasury::Call + * Lookup518: pallet_treasury::Call **/ PalletTreasuryCall: { _enum: { @@ -3894,14 +3860,14 @@ export default { }, }, /** - * Lookup522: polymesh_primitives::Beneficiary + * Lookup520: polymesh_primitives::Beneficiary **/ PolymeshPrimitivesBeneficiary: { id: 'PolymeshPrimitivesIdentityId', amount: 'u128', }, /** - * Lookup523: pallet_utility::pallet::Call + * Lookup521: pallet_utility::pallet::Call **/ PalletUtilityCall: { _enum: { @@ -3917,7 +3883,7 @@ export default { calls: 'Vec', }, dispatch_as: { - asOrigin: 'PolymeshRuntimeDevelopRuntimeOriginCaller', + asOrigin: 'PolymeshRuntimeTestnetRuntimeOriginCaller', call: 'Call', }, force_batch: { @@ -3936,19 +3902,23 @@ export default { batch_optimistic: { calls: 'Vec', }, + as_derivative: { + index: 'u16', + call: 'Call', + }, }, }, /** - * Lookup525: pallet_utility::UniqueCall + * Lookup523: pallet_utility::UniqueCall **/ PalletUtilityUniqueCall: { nonce: 'u64', call: 'Call', }, /** - * Lookup526: polymesh_runtime_develop::runtime::OriginCaller + * Lookup524: polymesh_runtime_testnet::runtime::OriginCaller **/ - PolymeshRuntimeDevelopRuntimeOriginCaller: { + PolymeshRuntimeTestnetRuntimeOriginCaller: { _enum: { system: 'FrameSupportDispatchRawOrigin', __Unused1: 'Null', @@ -3967,7 +3937,7 @@ export default { }, }, /** - * Lookup527: frame_support::dispatch::RawOrigin + * Lookup525: frame_support::dispatch::RawOrigin **/ FrameSupportDispatchRawOrigin: { _enum: { @@ -3977,33 +3947,33 @@ export default { }, }, /** - * Lookup528: pallet_committee::RawOrigin + * Lookup526: pallet_committee::RawOrigin **/ PalletCommitteeRawOriginInstance1: { _enum: ['Endorsed'], }, /** - * Lookup529: pallet_committee::RawOrigin + * Lookup527: pallet_committee::RawOrigin **/ PalletCommitteeRawOriginInstance3: { _enum: ['Endorsed'], }, /** - * Lookup530: pallet_committee::RawOrigin + * Lookup528: pallet_committee::RawOrigin **/ PalletCommitteeRawOriginInstance4: { _enum: ['Endorsed'], }, /** - * Lookup531: sp_core::Void + * Lookup529: sp_core::Void **/ SpCoreVoid: 'Null', /** - * Lookup532: pallet_base::Call + * Lookup530: pallet_base::Call **/ PalletBaseCall: 'Null', /** - * Lookup533: pallet_external_agents::Call + * Lookup531: pallet_external_agents::Call **/ PalletExternalAgentsCall: { _enum: { @@ -4045,7 +4015,7 @@ export default { }, }, /** - * Lookup534: pallet_relayer::Call + * Lookup532: pallet_relayer::Call **/ PalletRelayerCall: { _enum: { @@ -4075,7 +4045,7 @@ export default { }, }, /** - * Lookup535: pallet_contracts::pallet::Call + * Lookup533: pallet_contracts::pallet::Call **/ PalletContractsCall: { _enum: { @@ -4140,13 +4110,13 @@ export default { }, }, /** - * Lookup539: pallet_contracts::wasm::Determinism + * Lookup537: pallet_contracts::wasm::Determinism **/ PalletContractsWasmDeterminism: { _enum: ['Deterministic', 'AllowIndeterminism'], }, /** - * Lookup540: polymesh_contracts::Call + * Lookup538: polymesh_contracts::Call **/ PolymeshContractsCall: { _enum: { @@ -4194,14 +4164,14 @@ export default { }, }, /** - * Lookup543: polymesh_contracts::NextUpgrade + * Lookup541: polymesh_contracts::NextUpgrade **/ PolymeshContractsNextUpgrade: { chainVersion: 'PolymeshContractsChainVersion', apiHash: 'PolymeshContractsApiCodeHash', }, /** - * Lookup544: polymesh_contracts::ApiCodeHash + * Lookup542: polymesh_contracts::ApiCodeHash **/ PolymeshContractsApiCodeHash: { _alias: { @@ -4210,7 +4180,7 @@ export default { hash_: 'H256', }, /** - * Lookup545: pallet_preimage::pallet::Call + * Lookup543: pallet_preimage::pallet::Call **/ PalletPreimageCall: { _enum: { @@ -4238,7 +4208,7 @@ export default { }, }, /** - * Lookup546: pallet_nft::Call + * Lookup544: pallet_nft::Call **/ PalletNftCall: { _enum: { @@ -4266,18 +4236,18 @@ export default { }, }, /** - * Lookup548: polymesh_primitives::nft::NFTCollectionKeys + * Lookup546: polymesh_primitives::nft::NFTCollectionKeys **/ PolymeshPrimitivesNftNftCollectionKeys: 'Vec', /** - * Lookup551: polymesh_primitives::nft::NFTMetadataAttribute + * Lookup549: polymesh_primitives::nft::NFTMetadataAttribute **/ PolymeshPrimitivesNftNftMetadataAttribute: { key: 'PolymeshPrimitivesAssetMetadataAssetMetadataKey', value: 'Bytes', }, /** - * Lookup552: pallet_test_utils::Call + * Lookup550: pallet_test_utils::Call **/ PalletTestUtilsCall: { _enum: { @@ -4294,7 +4264,7 @@ export default { }, }, /** - * Lookup553: pallet_committee::PolymeshVotes + * Lookup551: pallet_committee::PolymeshVotes **/ PalletCommitteePolymeshVotes: { index: 'u32', @@ -4303,7 +4273,7 @@ export default { expiry: 'PolymeshCommonUtilitiesMaybeBlock', }, /** - * Lookup555: pallet_committee::Error + * Lookup553: pallet_committee::Error **/ PalletCommitteeError: { _enum: [ @@ -4319,7 +4289,7 @@ export default { ], }, /** - * Lookup565: polymesh_primitives::multisig::ProposalDetails + * Lookup563: polymesh_primitives::multisig::ProposalDetails **/ PolymeshPrimitivesMultisigProposalDetails: { approvals: 'u64', @@ -4329,13 +4299,13 @@ export default { autoClose: 'bool', }, /** - * Lookup566: polymesh_primitives::multisig::ProposalStatus + * Lookup564: polymesh_primitives::multisig::ProposalStatus **/ PolymeshPrimitivesMultisigProposalStatus: { _enum: ['Invalid', 'ActiveOrExpired', 'ExecutionSuccessful', 'ExecutionFailed', 'Rejected'], }, /** - * Lookup568: pallet_multisig::Error + * Lookup566: pallet_multisig::Error **/ PalletMultisigError: { _enum: [ @@ -4368,7 +4338,7 @@ export default { ], }, /** - * Lookup570: pallet_bridge::BridgeTxDetail + * Lookup568: pallet_bridge::BridgeTxDetail **/ PalletBridgeBridgeTxDetail: { amount: 'u128', @@ -4377,7 +4347,7 @@ export default { txHash: 'H256', }, /** - * Lookup571: pallet_bridge::BridgeTxStatus + * Lookup569: pallet_bridge::BridgeTxStatus **/ PalletBridgeBridgeTxStatus: { _enum: { @@ -4389,7 +4359,7 @@ export default { }, }, /** - * Lookup574: pallet_bridge::Error + * Lookup572: pallet_bridge::Error **/ PalletBridgeError: { _enum: [ @@ -4409,7 +4379,7 @@ export default { ], }, /** - * Lookup575: pallet_staking::StakingLedger + * Lookup573: pallet_staking::StakingLedger **/ PalletStakingStakingLedger: { stash: 'AccountId32', @@ -4419,14 +4389,14 @@ export default { claimedRewards: 'Vec', }, /** - * Lookup577: pallet_staking::UnlockChunk + * Lookup575: pallet_staking::UnlockChunk **/ PalletStakingUnlockChunk: { value: 'Compact', era: 'Compact', }, /** - * Lookup578: pallet_staking::Nominations + * Lookup576: pallet_staking::Nominations **/ PalletStakingNominations: { targets: 'Vec', @@ -4434,27 +4404,27 @@ export default { suppressed: 'bool', }, /** - * Lookup579: pallet_staking::ActiveEraInfo + * Lookup577: pallet_staking::ActiveEraInfo **/ PalletStakingActiveEraInfo: { index: 'u32', start: 'Option', }, /** - * Lookup581: pallet_staking::EraRewardPoints + * Lookup579: pallet_staking::EraRewardPoints **/ PalletStakingEraRewardPoints: { total: 'u32', individual: 'BTreeMap', }, /** - * Lookup584: pallet_staking::Forcing + * Lookup582: pallet_staking::Forcing **/ PalletStakingForcing: { _enum: ['NotForcing', 'ForceNew', 'ForceNone', 'ForceAlways'], }, /** - * Lookup586: pallet_staking::UnappliedSlash + * Lookup584: pallet_staking::UnappliedSlash **/ PalletStakingUnappliedSlash: { validator: 'AccountId32', @@ -4464,7 +4434,7 @@ export default { payout: 'u128', }, /** - * Lookup590: pallet_staking::slashing::SlashingSpans + * Lookup588: pallet_staking::slashing::SlashingSpans **/ PalletStakingSlashingSlashingSpans: { spanIndex: 'u32', @@ -4473,14 +4443,14 @@ export default { prior: 'Vec', }, /** - * Lookup591: pallet_staking::slashing::SpanRecord + * Lookup589: pallet_staking::slashing::SpanRecord **/ PalletStakingSlashingSpanRecord: { slashed: 'u128', paidOut: 'u128', }, /** - * Lookup594: pallet_staking::ElectionResult + * Lookup592: pallet_staking::ElectionResult **/ PalletStakingElectionResult: { electedStashes: 'Vec', @@ -4488,7 +4458,7 @@ export default { compute: 'PalletStakingElectionCompute', }, /** - * Lookup595: pallet_staking::ElectionStatus + * Lookup593: pallet_staking::ElectionStatus **/ PalletStakingElectionStatus: { _enum: { @@ -4497,20 +4467,20 @@ export default { }, }, /** - * Lookup596: pallet_staking::PermissionedIdentityPrefs + * Lookup594: pallet_staking::PermissionedIdentityPrefs **/ PalletStakingPermissionedIdentityPrefs: { intendedCount: 'u32', runningCount: 'u32', }, /** - * Lookup597: pallet_staking::Releases + * Lookup595: pallet_staking::Releases **/ PalletStakingReleases: { _enum: ['V1_0_0Ancient', 'V2_0_0', 'V3_0_0', 'V4_0_0', 'V5_0_0', 'V6_0_0', 'V6_0_1', 'V7_0_0'], }, /** - * Lookup599: pallet_staking::Error + * Lookup597: pallet_staking::Error **/ PalletStakingError: { _enum: [ @@ -4560,24 +4530,24 @@ export default { ], }, /** - * Lookup600: sp_staking::offence::OffenceDetails + * Lookup598: sp_staking::offence::OffenceDetails **/ SpStakingOffenceOffenceDetails: { offender: '(AccountId32,PalletStakingExposure)', reporters: 'Vec', }, /** - * Lookup605: sp_core::crypto::KeyTypeId + * Lookup603: sp_core::crypto::KeyTypeId **/ SpCoreCryptoKeyTypeId: '[u8;4]', /** - * Lookup606: pallet_session::pallet::Error + * Lookup604: pallet_session::pallet::Error **/ PalletSessionError: { _enum: ['InvalidProof', 'NoAssociatedValidatorId', 'DuplicatedKey', 'NoKeys', 'NoAccount'], }, /** - * Lookup607: pallet_grandpa::StoredState + * Lookup605: pallet_grandpa::StoredState **/ PalletGrandpaStoredState: { _enum: { @@ -4594,7 +4564,7 @@ export default { }, }, /** - * Lookup608: pallet_grandpa::StoredPendingChange + * Lookup606: pallet_grandpa::StoredPendingChange **/ PalletGrandpaStoredPendingChange: { scheduledAt: 'u32', @@ -4603,7 +4573,7 @@ export default { forced: 'Option', }, /** - * Lookup610: pallet_grandpa::pallet::Error + * Lookup608: pallet_grandpa::pallet::Error **/ PalletGrandpaError: { _enum: [ @@ -4617,40 +4587,34 @@ export default { ], }, /** - * Lookup614: pallet_im_online::BoundedOpaqueNetworkState + * Lookup612: pallet_im_online::BoundedOpaqueNetworkState **/ PalletImOnlineBoundedOpaqueNetworkState: { peerId: 'Bytes', externalAddresses: 'Vec', }, /** - * Lookup618: pallet_im_online::pallet::Error + * Lookup616: pallet_im_online::pallet::Error **/ PalletImOnlineError: { _enum: ['InvalidKey', 'DuplicatedHeartbeat'], }, /** - * Lookup620: pallet_sudo::Error - **/ - PalletSudoError: { - _enum: ['RequireSudo'], - }, - /** - * Lookup621: pallet_asset::TickerRegistration + * Lookup618: pallet_asset::TickerRegistration **/ PalletAssetTickerRegistration: { owner: 'PolymeshPrimitivesIdentityId', expiry: 'Option', }, /** - * Lookup622: pallet_asset::TickerRegistrationConfig + * Lookup619: pallet_asset::TickerRegistrationConfig **/ PalletAssetTickerRegistrationConfig: { maxTickerLength: 'u8', registrationLength: 'Option', }, /** - * Lookup623: pallet_asset::SecurityToken + * Lookup620: pallet_asset::SecurityToken **/ PalletAssetSecurityToken: { totalSupply: 'u128', @@ -4659,13 +4623,13 @@ export default { assetType: 'PolymeshPrimitivesAssetAssetType', }, /** - * Lookup627: pallet_asset::AssetOwnershipRelation + * Lookup624: pallet_asset::AssetOwnershipRelation **/ PalletAssetAssetOwnershipRelation: { _enum: ['NotOwned', 'TickerOwned', 'AssetOwned'], }, /** - * Lookup633: pallet_asset::Error + * Lookup630: pallet_asset::Error **/ PalletAssetError: { _enum: [ @@ -4709,7 +4673,7 @@ export default { ], }, /** - * Lookup636: pallet_corporate_actions::distribution::Error + * Lookup633: pallet_corporate_actions::distribution::Error **/ PalletCorporateActionsDistributionError: { _enum: [ @@ -4731,7 +4695,7 @@ export default { ], }, /** - * Lookup640: polymesh_common_utilities::traits::checkpoint::NextCheckpoints + * Lookup637: polymesh_common_utilities::traits::checkpoint::NextCheckpoints **/ PolymeshCommonUtilitiesCheckpointNextCheckpoints: { nextAt: 'u64', @@ -4739,7 +4703,7 @@ export default { schedules: 'BTreeMap', }, /** - * Lookup646: pallet_asset::checkpoint::Error + * Lookup643: pallet_asset::checkpoint::Error **/ PalletAssetCheckpointError: { _enum: [ @@ -4752,14 +4716,14 @@ export default { ], }, /** - * Lookup647: polymesh_primitives::compliance_manager::AssetCompliance + * Lookup644: polymesh_primitives::compliance_manager::AssetCompliance **/ PolymeshPrimitivesComplianceManagerAssetCompliance: { paused: 'bool', requirements: 'Vec', }, /** - * Lookup649: pallet_compliance_manager::Error + * Lookup646: pallet_compliance_manager::Error **/ PalletComplianceManagerError: { _enum: [ @@ -4773,7 +4737,7 @@ export default { ], }, /** - * Lookup652: pallet_corporate_actions::Error + * Lookup649: pallet_corporate_actions::Error **/ PalletCorporateActionsError: { _enum: [ @@ -4791,7 +4755,7 @@ export default { ], }, /** - * Lookup654: pallet_corporate_actions::ballot::Error + * Lookup651: pallet_corporate_actions::ballot::Error **/ PalletCorporateActionsBallotError: { _enum: [ @@ -4812,13 +4776,13 @@ export default { ], }, /** - * Lookup655: pallet_permissions::Error + * Lookup652: pallet_permissions::Error **/ PalletPermissionsError: { _enum: ['UnauthorizedCaller'], }, /** - * Lookup656: pallet_pips::PipsMetadata + * Lookup653: pallet_pips::PipsMetadata **/ PalletPipsPipsMetadata: { id: 'u32', @@ -4829,14 +4793,14 @@ export default { expiry: 'PolymeshCommonUtilitiesMaybeBlock', }, /** - * Lookup658: pallet_pips::DepositInfo + * Lookup655: pallet_pips::DepositInfo **/ PalletPipsDepositInfo: { owner: 'AccountId32', amount: 'u128', }, /** - * Lookup659: pallet_pips::Pip + * Lookup656: pallet_pips::Pip **/ PalletPipsPip: { id: 'u32', @@ -4844,7 +4808,7 @@ export default { proposer: 'PalletPipsProposer', }, /** - * Lookup660: pallet_pips::VotingResult + * Lookup657: pallet_pips::VotingResult **/ PalletPipsVotingResult: { ayesCount: 'u32', @@ -4853,11 +4817,11 @@ export default { naysStake: 'u128', }, /** - * Lookup661: pallet_pips::Vote + * Lookup658: pallet_pips::Vote **/ PalletPipsVote: '(bool,u128)', /** - * Lookup662: pallet_pips::SnapshotMetadata + * Lookup659: pallet_pips::SnapshotMetadata **/ PalletPipsSnapshotMetadata: { createdAt: 'u32', @@ -4865,7 +4829,7 @@ export default { id: 'u32', }, /** - * Lookup664: pallet_pips::Error + * Lookup661: pallet_pips::Error **/ PalletPipsError: { _enum: [ @@ -4890,7 +4854,7 @@ export default { ], }, /** - * Lookup673: pallet_portfolio::Error + * Lookup670: pallet_portfolio::Error **/ PalletPortfolioError: { _enum: [ @@ -4914,23 +4878,23 @@ export default { ], }, /** - * Lookup674: pallet_protocol_fee::Error + * Lookup671: pallet_protocol_fee::Error **/ PalletProtocolFeeError: { _enum: ['InsufficientAccountBalance', 'UnHandledImbalances', 'InsufficientSubsidyBalance'], }, /** - * Lookup677: pallet_scheduler::Scheduled, BlockNumber, polymesh_runtime_develop::runtime::OriginCaller, sp_core::crypto::AccountId32> + * Lookup674: pallet_scheduler::Scheduled, BlockNumber, polymesh_runtime_testnet::runtime::OriginCaller, sp_core::crypto::AccountId32> **/ PalletSchedulerScheduled: { maybeId: 'Option<[u8;32]>', priority: 'u8', call: 'FrameSupportPreimagesBounded', maybePeriodic: 'Option<(u32,u32)>', - origin: 'PolymeshRuntimeDevelopRuntimeOriginCaller', + origin: 'PolymeshRuntimeTestnetRuntimeOriginCaller', }, /** - * Lookup678: frame_support::traits::preimages::Bounded + * Lookup675: frame_support::traits::preimages::Bounded **/ FrameSupportPreimagesBounded: { _enum: { @@ -4951,7 +4915,7 @@ export default { }, }, /** - * Lookup681: pallet_scheduler::pallet::Error + * Lookup678: pallet_scheduler::pallet::Error **/ PalletSchedulerError: { _enum: [ @@ -4963,14 +4927,14 @@ export default { ], }, /** - * Lookup682: polymesh_primitives::settlement::Venue + * Lookup679: polymesh_primitives::settlement::Venue **/ PolymeshPrimitivesSettlementVenue: { creator: 'PolymeshPrimitivesIdentityId', venueType: 'PolymeshPrimitivesSettlementVenueType', }, /** - * Lookup686: polymesh_primitives::settlement::Instruction + * Lookup683: polymesh_primitives::settlement::Instruction **/ PolymeshPrimitivesSettlementInstruction: { instructionId: 'u64', @@ -4981,7 +4945,7 @@ export default { valueDate: 'Option', }, /** - * Lookup688: polymesh_primitives::settlement::LegStatus + * Lookup685: polymesh_primitives::settlement::LegStatus **/ PolymeshPrimitivesSettlementLegStatus: { _enum: { @@ -4991,13 +4955,13 @@ export default { }, }, /** - * Lookup690: polymesh_primitives::settlement::AffirmationStatus + * Lookup687: polymesh_primitives::settlement::AffirmationStatus **/ PolymeshPrimitivesSettlementAffirmationStatus: { _enum: ['Unknown', 'Pending', 'Affirmed'], }, /** - * Lookup694: polymesh_primitives::settlement::InstructionStatus + * Lookup691: polymesh_primitives::settlement::InstructionStatus **/ PolymeshPrimitivesSettlementInstructionStatus: { _enum: { @@ -5009,7 +4973,7 @@ export default { }, }, /** - * Lookup695: pallet_settlement::Error + * Lookup692: pallet_settlement::Error **/ PalletSettlementError: { _enum: [ @@ -5056,21 +5020,21 @@ export default { ], }, /** - * Lookup698: polymesh_primitives::statistics::Stat1stKey + * Lookup695: polymesh_primitives::statistics::Stat1stKey **/ PolymeshPrimitivesStatisticsStat1stKey: { asset: 'PolymeshPrimitivesStatisticsAssetScope', statType: 'PolymeshPrimitivesStatisticsStatType', }, /** - * Lookup699: polymesh_primitives::transfer_compliance::AssetTransferCompliance + * Lookup696: polymesh_primitives::transfer_compliance::AssetTransferCompliance **/ PolymeshPrimitivesTransferComplianceAssetTransferCompliance: { paused: 'bool', requirements: 'BTreeSet', }, /** - * Lookup703: pallet_statistics::Error + * Lookup700: pallet_statistics::Error **/ PalletStatisticsError: { _enum: [ @@ -5084,7 +5048,7 @@ export default { ], }, /** - * Lookup705: pallet_sto::Error + * Lookup702: pallet_sto::Error **/ PalletStoError: { _enum: [ @@ -5103,25 +5067,31 @@ export default { ], }, /** - * Lookup706: pallet_treasury::Error + * Lookup703: pallet_treasury::Error **/ PalletTreasuryError: { _enum: ['InsufficientBalance', 'InvalidIdentity'], }, /** - * Lookup707: pallet_utility::pallet::Error + * Lookup704: pallet_utility::pallet::Error **/ PalletUtilityError: { - _enum: ['TooManyCalls', 'InvalidSignature', 'TargetCddMissing', 'InvalidNonce'], + _enum: [ + 'TooManyCalls', + 'InvalidSignature', + 'TargetCddMissing', + 'InvalidNonce', + 'UnableToDeriveAccountId', + ], }, /** - * Lookup708: pallet_base::Error + * Lookup705: pallet_base::Error **/ PalletBaseError: { _enum: ['TooLong', 'CounterOverflow'], }, /** - * Lookup710: pallet_external_agents::Error + * Lookup707: pallet_external_agents::Error **/ PalletExternalAgentsError: { _enum: [ @@ -5134,14 +5104,14 @@ export default { ], }, /** - * Lookup711: pallet_relayer::Subsidy + * Lookup708: pallet_relayer::Subsidy **/ PalletRelayerSubsidy: { payingKey: 'AccountId32', remaining: 'u128', }, /** - * Lookup712: pallet_relayer::Error + * Lookup709: pallet_relayer::Error **/ PalletRelayerError: { _enum: [ @@ -5155,7 +5125,7 @@ export default { ], }, /** - * Lookup714: pallet_contracts::wasm::PrefabWasmModule + * Lookup711: pallet_contracts::wasm::PrefabWasmModule **/ PalletContractsWasmPrefabWasmModule: { instructionWeightsVersion: 'Compact', @@ -5165,7 +5135,7 @@ export default { determinism: 'PalletContractsWasmDeterminism', }, /** - * Lookup716: pallet_contracts::wasm::OwnerInfo + * Lookup713: pallet_contracts::wasm::OwnerInfo **/ PalletContractsWasmOwnerInfo: { owner: 'AccountId32', @@ -5173,7 +5143,7 @@ export default { refcount: 'Compact', }, /** - * Lookup717: pallet_contracts::storage::ContractInfo + * Lookup714: pallet_contracts::storage::ContractInfo **/ PalletContractsStorageContractInfo: { trieId: 'Bytes', @@ -5186,13 +5156,13 @@ export default { storageBaseDeposit: 'u128', }, /** - * Lookup720: pallet_contracts::storage::DeletedContract + * Lookup717: pallet_contracts::storage::DeletedContract **/ PalletContractsStorageDeletedContract: { trieId: 'Bytes', }, /** - * Lookup722: pallet_contracts::schedule::Schedule + * Lookup719: pallet_contracts::schedule::Schedule **/ PalletContractsSchedule: { limits: 'PalletContractsScheduleLimits', @@ -5200,7 +5170,7 @@ export default { hostFnWeights: 'PalletContractsScheduleHostFnWeights', }, /** - * Lookup723: pallet_contracts::schedule::Limits + * Lookup720: pallet_contracts::schedule::Limits **/ PalletContractsScheduleLimits: { eventTopics: 'u32', @@ -5214,7 +5184,7 @@ export default { payloadLen: 'u32', }, /** - * Lookup724: pallet_contracts::schedule::InstructionWeights + * Lookup721: pallet_contracts::schedule::InstructionWeights **/ PalletContractsScheduleInstructionWeights: { _alias: { @@ -5276,7 +5246,7 @@ export default { i64rotr: 'u32', }, /** - * Lookup725: pallet_contracts::schedule::HostFnWeights + * Lookup722: pallet_contracts::schedule::HostFnWeights **/ PalletContractsScheduleHostFnWeights: { _alias: { @@ -5343,7 +5313,7 @@ export default { instantiationNonce: 'SpWeightsWeightV2Weight', }, /** - * Lookup726: pallet_contracts::pallet::Error + * Lookup723: pallet_contracts::pallet::Error **/ PalletContractsError: { _enum: [ @@ -5378,7 +5348,7 @@ export default { ], }, /** - * Lookup728: polymesh_contracts::Error + * Lookup725: polymesh_contracts::Error **/ PolymeshContractsError: { _enum: [ @@ -5397,7 +5367,7 @@ export default { ], }, /** - * Lookup729: pallet_preimage::RequestStatus + * Lookup726: pallet_preimage::RequestStatus **/ PalletPreimageRequestStatus: { _enum: { @@ -5413,20 +5383,20 @@ export default { }, }, /** - * Lookup733: pallet_preimage::pallet::Error + * Lookup730: pallet_preimage::pallet::Error **/ PalletPreimageError: { _enum: ['TooBig', 'AlreadyNoted', 'NotAuthorized', 'NotNoted', 'Requested', 'NotRequested'], }, /** - * Lookup734: polymesh_primitives::nft::NFTCollection + * Lookup731: polymesh_primitives::nft::NFTCollection **/ PolymeshPrimitivesNftNftCollection: { id: 'u64', ticker: 'PolymeshPrimitivesTicker', }, /** - * Lookup739: pallet_nft::Error + * Lookup736: pallet_nft::Error **/ PalletNftError: { _enum: [ @@ -5455,43 +5425,43 @@ export default { ], }, /** - * Lookup740: pallet_test_utils::Error + * Lookup737: pallet_test_utils::Error **/ PalletTestUtilsError: 'Null', /** - * Lookup743: frame_system::extensions::check_spec_version::CheckSpecVersion + * Lookup740: frame_system::extensions::check_spec_version::CheckSpecVersion **/ FrameSystemExtensionsCheckSpecVersion: 'Null', /** - * Lookup744: frame_system::extensions::check_tx_version::CheckTxVersion + * Lookup741: frame_system::extensions::check_tx_version::CheckTxVersion **/ FrameSystemExtensionsCheckTxVersion: 'Null', /** - * Lookup745: frame_system::extensions::check_genesis::CheckGenesis + * Lookup742: frame_system::extensions::check_genesis::CheckGenesis **/ FrameSystemExtensionsCheckGenesis: 'Null', /** - * Lookup748: frame_system::extensions::check_nonce::CheckNonce + * Lookup745: frame_system::extensions::check_nonce::CheckNonce **/ FrameSystemExtensionsCheckNonce: 'Compact', /** - * Lookup749: polymesh_extensions::check_weight::CheckWeight + * Lookup746: polymesh_extensions::check_weight::CheckWeight **/ PolymeshExtensionsCheckWeight: 'FrameSystemExtensionsCheckWeight', /** - * Lookup750: frame_system::extensions::check_weight::CheckWeight + * Lookup747: frame_system::extensions::check_weight::CheckWeight **/ FrameSystemExtensionsCheckWeight: 'Null', /** - * Lookup751: pallet_transaction_payment::ChargeTransactionPayment + * Lookup748: pallet_transaction_payment::ChargeTransactionPayment **/ PalletTransactionPaymentChargeTransactionPayment: 'Compact', /** - * Lookup752: pallet_permissions::StoreCallMetadata + * Lookup749: pallet_permissions::StoreCallMetadata **/ PalletPermissionsStoreCallMetadata: 'Null', /** - * Lookup753: polymesh_runtime_develop::runtime::Runtime + * Lookup750: polymesh_runtime_testnet::runtime::Runtime **/ - PolymeshRuntimeDevelopRuntime: 'Null', + PolymeshRuntimeTestnetRuntime: 'Null', }; diff --git a/src/polkadot/registry.ts b/src/polkadot/registry.ts index 53cf944291..1cd286ad79 100644 --- a/src/polkadot/registry.ts +++ b/src/polkadot/registry.ts @@ -208,9 +208,6 @@ import type { PalletStoFundraiserTier, PalletStoPriceTier, PalletStoRawEvent, - PalletSudoCall, - PalletSudoError, - PalletSudoRawEvent, PalletTestUtilsCall, PalletTestUtilsError, PalletTestUtilsRawEvent, @@ -334,9 +331,9 @@ import type { PolymeshPrimitivesTransferComplianceAssetTransferCompliance, PolymeshPrimitivesTransferComplianceTransferCondition, PolymeshPrimitivesTransferComplianceTransferConditionExemptKey, - PolymeshRuntimeDevelopRuntime, - PolymeshRuntimeDevelopRuntimeOriginCaller, - PolymeshRuntimeDevelopRuntimeSessionKeys, + PolymeshRuntimeTestnetRuntime, + PolymeshRuntimeTestnetRuntimeOriginCaller, + PolymeshRuntimeTestnetRuntimeSessionKeys, SpArithmeticArithmeticError, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAllowedSlots, @@ -582,9 +579,6 @@ declare module '@polkadot/types/types/registry' { PalletStoFundraiserTier: PalletStoFundraiserTier; PalletStoPriceTier: PalletStoPriceTier; PalletStoRawEvent: PalletStoRawEvent; - PalletSudoCall: PalletSudoCall; - PalletSudoError: PalletSudoError; - PalletSudoRawEvent: PalletSudoRawEvent; PalletTestUtilsCall: PalletTestUtilsCall; PalletTestUtilsError: PalletTestUtilsError; PalletTestUtilsRawEvent: PalletTestUtilsRawEvent; @@ -708,9 +702,9 @@ declare module '@polkadot/types/types/registry' { PolymeshPrimitivesTransferComplianceAssetTransferCompliance: PolymeshPrimitivesTransferComplianceAssetTransferCompliance; PolymeshPrimitivesTransferComplianceTransferCondition: PolymeshPrimitivesTransferComplianceTransferCondition; PolymeshPrimitivesTransferComplianceTransferConditionExemptKey: PolymeshPrimitivesTransferComplianceTransferConditionExemptKey; - PolymeshRuntimeDevelopRuntime: PolymeshRuntimeDevelopRuntime; - PolymeshRuntimeDevelopRuntimeOriginCaller: PolymeshRuntimeDevelopRuntimeOriginCaller; - PolymeshRuntimeDevelopRuntimeSessionKeys: PolymeshRuntimeDevelopRuntimeSessionKeys; + PolymeshRuntimeTestnetRuntime: PolymeshRuntimeTestnetRuntime; + PolymeshRuntimeTestnetRuntimeOriginCaller: PolymeshRuntimeTestnetRuntimeOriginCaller; + PolymeshRuntimeTestnetRuntimeSessionKeys: PolymeshRuntimeTestnetRuntimeSessionKeys; SpArithmeticArithmeticError: SpArithmeticArithmeticError; SpAuthorityDiscoveryAppPublic: SpAuthorityDiscoveryAppPublic; SpConsensusBabeAllowedSlots: SpConsensusBabeAllowedSlots; diff --git a/src/polkadot/types-lookup.ts b/src/polkadot/types-lookup.ts index e8fd7a6618..c2a6b6f753 100644 --- a/src/polkadot/types-lookup.ts +++ b/src/polkadot/types-lookup.ts @@ -1685,18 +1685,7 @@ declare module '@polkadot/types/lookup' { readonly value: Compact; } - /** @name PalletSudoRawEvent (122) */ - interface PalletSudoRawEvent extends Enum { - readonly isSudid: boolean; - readonly asSudid: Result; - readonly isKeyChanged: boolean; - readonly asKeyChanged: Option; - readonly isSudoAsDone: boolean; - readonly asSudoAsDone: Result; - readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone'; - } - - /** @name PolymeshCommonUtilitiesAssetRawEvent (123) */ + /** @name PolymeshCommonUtilitiesAssetRawEvent (122) */ interface PolymeshCommonUtilitiesAssetRawEvent extends Enum { readonly isAssetCreated: boolean; readonly asAssetCreated: ITuple< @@ -1886,7 +1875,7 @@ declare module '@polkadot/types/lookup' { | 'RemovePreApprovedAsset'; } - /** @name PolymeshPrimitivesAssetAssetType (124) */ + /** @name PolymeshPrimitivesAssetAssetType (123) */ interface PolymeshPrimitivesAssetAssetType extends Enum { readonly isEquityCommon: boolean; readonly isEquityPreferred: boolean; @@ -1917,7 +1906,7 @@ declare module '@polkadot/types/lookup' { | 'NonFungible'; } - /** @name PolymeshPrimitivesAssetNonFungibleType (126) */ + /** @name PolymeshPrimitivesAssetNonFungibleType (125) */ interface PolymeshPrimitivesAssetNonFungibleType extends Enum { readonly isDerivative: boolean; readonly isFixedIncome: boolean; @@ -1927,7 +1916,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Derivative' | 'FixedIncome' | 'Invoice' | 'Custom'; } - /** @name PolymeshPrimitivesAssetIdentifier (129) */ + /** @name PolymeshPrimitivesAssetIdentifier (128) */ interface PolymeshPrimitivesAssetIdentifier extends Enum { readonly isCusip: boolean; readonly asCusip: U8aFixed; @@ -1942,7 +1931,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Cusip' | 'Cins' | 'Isin' | 'Lei' | 'Figi'; } - /** @name PolymeshPrimitivesDocument (135) */ + /** @name PolymeshPrimitivesDocument (134) */ interface PolymeshPrimitivesDocument extends Struct { readonly uri: Bytes; readonly contentHash: PolymeshPrimitivesDocumentHash; @@ -1951,7 +1940,7 @@ declare module '@polkadot/types/lookup' { readonly filingDate: Option; } - /** @name PolymeshPrimitivesDocumentHash (137) */ + /** @name PolymeshPrimitivesDocumentHash (136) */ interface PolymeshPrimitivesDocumentHash extends Enum { readonly isNone: boolean; readonly isH512: boolean; @@ -1973,13 +1962,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'None' | 'H512' | 'H384' | 'H320' | 'H256' | 'H224' | 'H192' | 'H160' | 'H128'; } - /** @name PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail (148) */ + /** @name PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail (147) */ interface PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail extends Struct { readonly expire: Option; readonly lockStatus: PolymeshPrimitivesAssetMetadataAssetMetadataLockStatus; } - /** @name PolymeshPrimitivesAssetMetadataAssetMetadataLockStatus (149) */ + /** @name PolymeshPrimitivesAssetMetadataAssetMetadataLockStatus (148) */ interface PolymeshPrimitivesAssetMetadataAssetMetadataLockStatus extends Enum { readonly isUnlocked: boolean; readonly isLocked: boolean; @@ -1988,14 +1977,14 @@ declare module '@polkadot/types/lookup' { readonly type: 'Unlocked' | 'Locked' | 'LockedUntil'; } - /** @name PolymeshPrimitivesAssetMetadataAssetMetadataSpec (152) */ + /** @name PolymeshPrimitivesAssetMetadataAssetMetadataSpec (151) */ interface PolymeshPrimitivesAssetMetadataAssetMetadataSpec extends Struct { readonly url: Option; readonly description: Option; readonly typeDef: Option; } - /** @name PolymeshPrimitivesAssetMetadataAssetMetadataKey (159) */ + /** @name PolymeshPrimitivesAssetMetadataAssetMetadataKey (158) */ interface PolymeshPrimitivesAssetMetadataAssetMetadataKey extends Enum { readonly isGlobal: boolean; readonly asGlobal: u64; @@ -2004,7 +1993,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Global' | 'Local'; } - /** @name PolymeshPrimitivesPortfolioPortfolioUpdateReason (161) */ + /** @name PolymeshPrimitivesPortfolioPortfolioUpdateReason (160) */ interface PolymeshPrimitivesPortfolioPortfolioUpdateReason extends Enum { readonly isIssued: boolean; readonly asIssued: { @@ -2020,7 +2009,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Issued' | 'Redeemed' | 'Transferred' | 'ControllerTransfer'; } - /** @name PalletCorporateActionsDistributionEvent (164) */ + /** @name PalletCorporateActionsDistributionEvent (163) */ interface PalletCorporateActionsDistributionEvent extends Enum { readonly isCreated: boolean; readonly asCreated: ITuple< @@ -2044,16 +2033,16 @@ declare module '@polkadot/types/lookup' { readonly type: 'Created' | 'BenefitClaimed' | 'Reclaimed' | 'Removed'; } - /** @name PolymeshPrimitivesEventOnly (165) */ + /** @name PolymeshPrimitivesEventOnly (164) */ interface PolymeshPrimitivesEventOnly extends PolymeshPrimitivesIdentityId {} - /** @name PalletCorporateActionsCaId (166) */ + /** @name PalletCorporateActionsCaId (165) */ interface PalletCorporateActionsCaId extends Struct { readonly ticker: PolymeshPrimitivesTicker; readonly localId: u32; } - /** @name PalletCorporateActionsDistribution (168) */ + /** @name PalletCorporateActionsDistribution (167) */ interface PalletCorporateActionsDistribution extends Struct { readonly from: PolymeshPrimitivesIdentityIdPortfolioId; readonly currency: PolymeshPrimitivesTicker; @@ -2065,7 +2054,7 @@ declare module '@polkadot/types/lookup' { readonly expiresAt: Option; } - /** @name PolymeshCommonUtilitiesCheckpointEvent (170) */ + /** @name PolymeshCommonUtilitiesCheckpointEvent (169) */ interface PolymeshCommonUtilitiesCheckpointEvent extends Enum { readonly isCheckpointCreated: boolean; readonly asCheckpointCreated: ITuple< @@ -2098,12 +2087,12 @@ declare module '@polkadot/types/lookup' { | 'ScheduleRemoved'; } - /** @name PolymeshCommonUtilitiesCheckpointScheduleCheckpoints (173) */ + /** @name PolymeshCommonUtilitiesCheckpointScheduleCheckpoints (172) */ interface PolymeshCommonUtilitiesCheckpointScheduleCheckpoints extends Struct { readonly pending: BTreeSet; } - /** @name PolymeshCommonUtilitiesComplianceManagerEvent (176) */ + /** @name PolymeshCommonUtilitiesComplianceManagerEvent (175) */ interface PolymeshCommonUtilitiesComplianceManagerEvent extends Enum { readonly isComplianceRequirementCreated: boolean; readonly asComplianceRequirementCreated: ITuple< @@ -2169,20 +2158,20 @@ declare module '@polkadot/types/lookup' { | 'TrustedDefaultClaimIssuerRemoved'; } - /** @name PolymeshPrimitivesComplianceManagerComplianceRequirement (177) */ + /** @name PolymeshPrimitivesComplianceManagerComplianceRequirement (176) */ interface PolymeshPrimitivesComplianceManagerComplianceRequirement extends Struct { readonly senderConditions: Vec; readonly receiverConditions: Vec; readonly id: u32; } - /** @name PolymeshPrimitivesCondition (179) */ + /** @name PolymeshPrimitivesCondition (178) */ interface PolymeshPrimitivesCondition extends Struct { readonly conditionType: PolymeshPrimitivesConditionConditionType; readonly issuers: Vec; } - /** @name PolymeshPrimitivesConditionConditionType (180) */ + /** @name PolymeshPrimitivesConditionConditionType (179) */ interface PolymeshPrimitivesConditionConditionType extends Enum { readonly isIsPresent: boolean; readonly asIsPresent: PolymeshPrimitivesIdentityClaimClaim; @@ -2197,7 +2186,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'IsPresent' | 'IsAbsent' | 'IsAnyOf' | 'IsNoneOf' | 'IsIdentity'; } - /** @name PolymeshPrimitivesConditionTargetIdentity (182) */ + /** @name PolymeshPrimitivesConditionTargetIdentity (181) */ interface PolymeshPrimitivesConditionTargetIdentity extends Enum { readonly isExternalAgent: boolean; readonly isSpecific: boolean; @@ -2205,13 +2194,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'ExternalAgent' | 'Specific'; } - /** @name PolymeshPrimitivesConditionTrustedIssuer (184) */ + /** @name PolymeshPrimitivesConditionTrustedIssuer (183) */ interface PolymeshPrimitivesConditionTrustedIssuer extends Struct { readonly issuer: PolymeshPrimitivesIdentityId; readonly trustedFor: PolymeshPrimitivesConditionTrustedFor; } - /** @name PolymeshPrimitivesConditionTrustedFor (185) */ + /** @name PolymeshPrimitivesConditionTrustedFor (184) */ interface PolymeshPrimitivesConditionTrustedFor extends Enum { readonly isAny: boolean; readonly isSpecific: boolean; @@ -2219,7 +2208,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Any' | 'Specific'; } - /** @name PolymeshPrimitivesIdentityClaimClaimType (187) */ + /** @name PolymeshPrimitivesIdentityClaimClaimType (186) */ interface PolymeshPrimitivesIdentityClaimClaimType extends Enum { readonly isAccredited: boolean; readonly isAffiliate: boolean; @@ -2245,7 +2234,7 @@ declare module '@polkadot/types/lookup' { | 'Custom'; } - /** @name PalletCorporateActionsEvent (189) */ + /** @name PalletCorporateActionsEvent (188) */ interface PalletCorporateActionsEvent extends Enum { readonly isMaxDetailsLengthChanged: boolean; readonly asMaxDetailsLengthChanged: ITuple<[PolymeshPrimitivesIdentityId, u32]>; @@ -2304,20 +2293,20 @@ declare module '@polkadot/types/lookup' { | 'RecordDateChanged'; } - /** @name PalletCorporateActionsTargetIdentities (190) */ + /** @name PalletCorporateActionsTargetIdentities (189) */ interface PalletCorporateActionsTargetIdentities extends Struct { readonly identities: Vec; readonly treatment: PalletCorporateActionsTargetTreatment; } - /** @name PalletCorporateActionsTargetTreatment (191) */ + /** @name PalletCorporateActionsTargetTreatment (190) */ interface PalletCorporateActionsTargetTreatment extends Enum { readonly isInclude: boolean; readonly isExclude: boolean; readonly type: 'Include' | 'Exclude'; } - /** @name PalletCorporateActionsCorporateAction (193) */ + /** @name PalletCorporateActionsCorporateAction (192) */ interface PalletCorporateActionsCorporateAction extends Struct { readonly kind: PalletCorporateActionsCaKind; readonly declDate: u64; @@ -2327,7 +2316,7 @@ declare module '@polkadot/types/lookup' { readonly withholdingTax: Vec>; } - /** @name PalletCorporateActionsCaKind (194) */ + /** @name PalletCorporateActionsCaKind (193) */ interface PalletCorporateActionsCaKind extends Enum { readonly isPredictableBenefit: boolean; readonly isUnpredictableBenefit: boolean; @@ -2342,13 +2331,13 @@ declare module '@polkadot/types/lookup' { | 'Other'; } - /** @name PalletCorporateActionsRecordDate (196) */ + /** @name PalletCorporateActionsRecordDate (195) */ interface PalletCorporateActionsRecordDate extends Struct { readonly date: u64; readonly checkpoint: PalletCorporateActionsCaCheckpoint; } - /** @name PalletCorporateActionsCaCheckpoint (197) */ + /** @name PalletCorporateActionsCaCheckpoint (196) */ interface PalletCorporateActionsCaCheckpoint extends Enum { readonly isScheduled: boolean; readonly asScheduled: ITuple<[u64, u64]>; @@ -2357,7 +2346,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Scheduled' | 'Existing'; } - /** @name PalletCorporateActionsBallotEvent (202) */ + /** @name PalletCorporateActionsBallotEvent (201) */ interface PalletCorporateActionsBallotEvent extends Enum { readonly isCreated: boolean; readonly asCreated: ITuple< @@ -2406,32 +2395,32 @@ declare module '@polkadot/types/lookup' { | 'Removed'; } - /** @name PalletCorporateActionsBallotBallotTimeRange (203) */ + /** @name PalletCorporateActionsBallotBallotTimeRange (202) */ interface PalletCorporateActionsBallotBallotTimeRange extends Struct { readonly start: u64; readonly end: u64; } - /** @name PalletCorporateActionsBallotBallotMeta (204) */ + /** @name PalletCorporateActionsBallotBallotMeta (203) */ interface PalletCorporateActionsBallotBallotMeta extends Struct { readonly title: Bytes; readonly motions: Vec; } - /** @name PalletCorporateActionsBallotMotion (207) */ + /** @name PalletCorporateActionsBallotMotion (206) */ interface PalletCorporateActionsBallotMotion extends Struct { readonly title: Bytes; readonly infoLink: Bytes; readonly choices: Vec; } - /** @name PalletCorporateActionsBallotBallotVote (213) */ + /** @name PalletCorporateActionsBallotBallotVote (212) */ interface PalletCorporateActionsBallotBallotVote extends Struct { readonly power: u128; readonly fallback: Option; } - /** @name PalletPipsRawEvent (216) */ + /** @name PalletPipsRawEvent (215) */ interface PalletPipsRawEvent extends Enum { readonly isHistoricalPipsPruned: boolean; readonly asHistoricalPipsPruned: ITuple<[PolymeshPrimitivesIdentityId, bool, bool]>; @@ -2519,7 +2508,7 @@ declare module '@polkadot/types/lookup' { | 'ExecutionCancellingFailed'; } - /** @name PalletPipsProposer (217) */ + /** @name PalletPipsProposer (216) */ interface PalletPipsProposer extends Enum { readonly isCommunity: boolean; readonly asCommunity: AccountId32; @@ -2528,14 +2517,14 @@ declare module '@polkadot/types/lookup' { readonly type: 'Community' | 'Committee'; } - /** @name PalletPipsCommittee (218) */ + /** @name PalletPipsCommittee (217) */ interface PalletPipsCommittee extends Enum { readonly isTechnical: boolean; readonly isUpgrade: boolean; readonly type: 'Technical' | 'Upgrade'; } - /** @name PalletPipsProposalData (222) */ + /** @name PalletPipsProposalData (221) */ interface PalletPipsProposalData extends Enum { readonly isHash: boolean; readonly asHash: H256; @@ -2544,7 +2533,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Hash' | 'Proposal'; } - /** @name PalletPipsProposalState (223) */ + /** @name PalletPipsProposalState (222) */ interface PalletPipsProposalState extends Enum { readonly isPending: boolean; readonly isRejected: boolean; @@ -2555,13 +2544,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'Pending' | 'Rejected' | 'Scheduled' | 'Failed' | 'Executed' | 'Expired'; } - /** @name PalletPipsSnapshottedPip (226) */ + /** @name PalletPipsSnapshottedPip (225) */ interface PalletPipsSnapshottedPip extends Struct { readonly id: u32; readonly weight: ITuple<[bool, u128]>; } - /** @name PolymeshCommonUtilitiesPortfolioEvent (232) */ + /** @name PolymeshCommonUtilitiesPortfolioEvent (231) */ interface PolymeshCommonUtilitiesPortfolioEvent extends Enum { readonly isPortfolioCreated: boolean; readonly asPortfolioCreated: ITuple<[PolymeshPrimitivesIdentityId, u64, Bytes]>; @@ -2616,7 +2605,7 @@ declare module '@polkadot/types/lookup' { | 'RevokePreApprovedPortfolio'; } - /** @name PolymeshPrimitivesPortfolioFundDescription (236) */ + /** @name PolymeshPrimitivesPortfolioFundDescription (235) */ interface PolymeshPrimitivesPortfolioFundDescription extends Enum { readonly isFungible: boolean; readonly asFungible: { @@ -2628,13 +2617,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'Fungible' | 'NonFungible'; } - /** @name PolymeshPrimitivesNftNfTs (237) */ + /** @name PolymeshPrimitivesNftNfTs (236) */ interface PolymeshPrimitivesNftNfTs extends Struct { readonly ticker: PolymeshPrimitivesTicker; readonly ids: Vec; } - /** @name PalletProtocolFeeRawEvent (240) */ + /** @name PalletProtocolFeeRawEvent (239) */ interface PalletProtocolFeeRawEvent extends Enum { readonly isFeeSet: boolean; readonly asFeeSet: ITuple<[PolymeshPrimitivesIdentityId, u128]>; @@ -2645,10 +2634,10 @@ declare module '@polkadot/types/lookup' { readonly type: 'FeeSet' | 'CoefficientSet' | 'FeeCharged'; } - /** @name PolymeshPrimitivesPosRatio (241) */ + /** @name PolymeshPrimitivesPosRatio (240) */ interface PolymeshPrimitivesPosRatio extends ITuple<[u32, u32]> {} - /** @name PalletSchedulerEvent (242) */ + /** @name PalletSchedulerEvent (241) */ interface PalletSchedulerEvent extends Enum { readonly isScheduled: boolean; readonly asScheduled: { @@ -2690,7 +2679,7 @@ declare module '@polkadot/types/lookup' { | 'PermanentlyOverweight'; } - /** @name PolymeshCommonUtilitiesSettlementRawEvent (245) */ + /** @name PolymeshCommonUtilitiesSettlementRawEvent (244) */ interface PolymeshCommonUtilitiesSettlementRawEvent extends Enum { readonly isVenueCreated: boolean; readonly asVenueCreated: ITuple< @@ -2798,7 +2787,7 @@ declare module '@polkadot/types/lookup' { | 'InstructionAutomaticallyAffirmed'; } - /** @name PolymeshPrimitivesSettlementVenueType (248) */ + /** @name PolymeshPrimitivesSettlementVenueType (247) */ interface PolymeshPrimitivesSettlementVenueType extends Enum { readonly isOther: boolean; readonly isDistribution: boolean; @@ -2807,10 +2796,10 @@ declare module '@polkadot/types/lookup' { readonly type: 'Other' | 'Distribution' | 'Sto' | 'Exchange'; } - /** @name PolymeshPrimitivesSettlementReceiptMetadata (251) */ + /** @name PolymeshPrimitivesSettlementReceiptMetadata (250) */ interface PolymeshPrimitivesSettlementReceiptMetadata extends U8aFixed {} - /** @name PolymeshPrimitivesSettlementSettlementType (253) */ + /** @name PolymeshPrimitivesSettlementSettlementType (252) */ interface PolymeshPrimitivesSettlementSettlementType extends Enum { readonly isSettleOnAffirmation: boolean; readonly isSettleOnBlock: boolean; @@ -2820,7 +2809,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'SettleOnAffirmation' | 'SettleOnBlock' | 'SettleManual'; } - /** @name PolymeshPrimitivesSettlementLeg (255) */ + /** @name PolymeshPrimitivesSettlementLeg (254) */ interface PolymeshPrimitivesSettlementLeg extends Enum { readonly isFungible: boolean; readonly asFungible: { @@ -2845,7 +2834,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Fungible' | 'NonFungible' | 'OffChain'; } - /** @name PolymeshCommonUtilitiesStatisticsEvent (256) */ + /** @name PolymeshCommonUtilitiesStatisticsEvent (255) */ interface PolymeshCommonUtilitiesStatisticsEvent extends Enum { readonly isStatTypesAdded: boolean; readonly asStatTypesAdded: ITuple< @@ -2905,14 +2894,14 @@ declare module '@polkadot/types/lookup' { | 'TransferConditionExemptionsRemoved'; } - /** @name PolymeshPrimitivesStatisticsAssetScope (257) */ + /** @name PolymeshPrimitivesStatisticsAssetScope (256) */ interface PolymeshPrimitivesStatisticsAssetScope extends Enum { readonly isTicker: boolean; readonly asTicker: PolymeshPrimitivesTicker; readonly type: 'Ticker'; } - /** @name PolymeshPrimitivesStatisticsStatType (259) */ + /** @name PolymeshPrimitivesStatisticsStatType (258) */ interface PolymeshPrimitivesStatisticsStatType extends Struct { readonly op: PolymeshPrimitivesStatisticsStatOpType; readonly claimIssuer: Option< @@ -2920,20 +2909,20 @@ declare module '@polkadot/types/lookup' { >; } - /** @name PolymeshPrimitivesStatisticsStatOpType (260) */ + /** @name PolymeshPrimitivesStatisticsStatOpType (259) */ interface PolymeshPrimitivesStatisticsStatOpType extends Enum { readonly isCount: boolean; readonly isBalance: boolean; readonly type: 'Count' | 'Balance'; } - /** @name PolymeshPrimitivesStatisticsStatUpdate (264) */ + /** @name PolymeshPrimitivesStatisticsStatUpdate (263) */ interface PolymeshPrimitivesStatisticsStatUpdate extends Struct { readonly key2: PolymeshPrimitivesStatisticsStat2ndKey; readonly value: Option; } - /** @name PolymeshPrimitivesStatisticsStat2ndKey (265) */ + /** @name PolymeshPrimitivesStatisticsStat2ndKey (264) */ interface PolymeshPrimitivesStatisticsStat2ndKey extends Enum { readonly isNoClaimStat: boolean; readonly isClaim: boolean; @@ -2941,7 +2930,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'NoClaimStat' | 'Claim'; } - /** @name PolymeshPrimitivesStatisticsStatClaim (266) */ + /** @name PolymeshPrimitivesStatisticsStatClaim (265) */ interface PolymeshPrimitivesStatisticsStatClaim extends Enum { readonly isAccredited: boolean; readonly asAccredited: bool; @@ -2952,7 +2941,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Accredited' | 'Affiliate' | 'Jurisdiction'; } - /** @name PolymeshPrimitivesTransferComplianceTransferCondition (270) */ + /** @name PolymeshPrimitivesTransferComplianceTransferCondition (269) */ interface PolymeshPrimitivesTransferComplianceTransferCondition extends Enum { readonly isMaxInvestorCount: boolean; readonly asMaxInvestorCount: u64; @@ -2969,14 +2958,14 @@ declare module '@polkadot/types/lookup' { readonly type: 'MaxInvestorCount' | 'MaxInvestorOwnership' | 'ClaimCount' | 'ClaimOwnership'; } - /** @name PolymeshPrimitivesTransferComplianceTransferConditionExemptKey (271) */ + /** @name PolymeshPrimitivesTransferComplianceTransferConditionExemptKey (270) */ interface PolymeshPrimitivesTransferComplianceTransferConditionExemptKey extends Struct { readonly asset: PolymeshPrimitivesStatisticsAssetScope; readonly op: PolymeshPrimitivesStatisticsStatOpType; readonly claimType: Option; } - /** @name PalletStoRawEvent (273) */ + /** @name PalletStoRawEvent (272) */ interface PalletStoRawEvent extends Enum { readonly isFundraiserCreated: boolean; readonly asFundraiserCreated: ITuple< @@ -3012,7 +3001,7 @@ declare module '@polkadot/types/lookup' { | 'FundraiserClosed'; } - /** @name PalletStoFundraiser (276) */ + /** @name PalletStoFundraiser (275) */ interface PalletStoFundraiser extends Struct { readonly creator: PolymeshPrimitivesIdentityId; readonly offeringPortfolio: PolymeshPrimitivesIdentityIdPortfolioId; @@ -3027,14 +3016,14 @@ declare module '@polkadot/types/lookup' { readonly minimumInvestment: u128; } - /** @name PalletStoFundraiserTier (278) */ + /** @name PalletStoFundraiserTier (277) */ interface PalletStoFundraiserTier extends Struct { readonly total: u128; readonly price: u128; readonly remaining: u128; } - /** @name PalletStoFundraiserStatus (279) */ + /** @name PalletStoFundraiserStatus (278) */ interface PalletStoFundraiserStatus extends Enum { readonly isLive: boolean; readonly isFrozen: boolean; @@ -3043,7 +3032,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Live' | 'Frozen' | 'Closed' | 'ClosedEarly'; } - /** @name PalletTreasuryRawEvent (280) */ + /** @name PalletTreasuryRawEvent (279) */ interface PalletTreasuryRawEvent extends Enum { readonly isTreasuryDisbursement: boolean; readonly asTreasuryDisbursement: ITuple< @@ -3058,7 +3047,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'TreasuryDisbursement' | 'TreasuryDisbursementFailed' | 'TreasuryReimbursement'; } - /** @name PalletUtilityEvent (281) */ + /** @name PalletUtilityEvent (280) */ interface PalletUtilityEvent extends Enum { readonly isBatchInterrupted: boolean; readonly asBatchInterrupted: { @@ -3103,14 +3092,14 @@ declare module '@polkadot/types/lookup' { | 'BatchCompletedOld'; } - /** @name PolymeshCommonUtilitiesBaseEvent (285) */ + /** @name PolymeshCommonUtilitiesBaseEvent (284) */ interface PolymeshCommonUtilitiesBaseEvent extends Enum { readonly isUnexpectedError: boolean; readonly asUnexpectedError: Option; readonly type: 'UnexpectedError'; } - /** @name PolymeshCommonUtilitiesExternalAgentsEvent (287) */ + /** @name PolymeshCommonUtilitiesExternalAgentsEvent (286) */ interface PolymeshCommonUtilitiesExternalAgentsEvent extends Enum { readonly isGroupCreated: boolean; readonly asGroupCreated: ITuple< @@ -3155,7 +3144,7 @@ declare module '@polkadot/types/lookup' { | 'GroupChanged'; } - /** @name PolymeshCommonUtilitiesRelayerRawEvent (288) */ + /** @name PolymeshCommonUtilitiesRelayerRawEvent (287) */ interface PolymeshCommonUtilitiesRelayerRawEvent extends Enum { readonly isAuthorizedPayingKey: boolean; readonly asAuthorizedPayingKey: ITuple< @@ -3176,7 +3165,7 @@ declare module '@polkadot/types/lookup' { | 'UpdatedPolyxLimit'; } - /** @name PalletContractsEvent (289) */ + /** @name PalletContractsEvent (288) */ interface PalletContractsEvent extends Enum { readonly isInstantiated: boolean; readonly asInstantiated: { @@ -3228,7 +3217,7 @@ declare module '@polkadot/types/lookup' { | 'DelegateCalled'; } - /** @name PolymeshContractsRawEvent (290) */ + /** @name PolymeshContractsRawEvent (289) */ interface PolymeshContractsRawEvent extends Enum { readonly isApiHashUpdated: boolean; readonly asApiHashUpdated: ITuple<[PolymeshContractsApi, PolymeshContractsChainVersion, H256]>; @@ -3237,22 +3226,22 @@ declare module '@polkadot/types/lookup' { readonly type: 'ApiHashUpdated' | 'ScRuntimeCall'; } - /** @name PolymeshContractsApi (291) */ + /** @name PolymeshContractsApi (290) */ interface PolymeshContractsApi extends Struct { readonly desc: U8aFixed; readonly major: u32; } - /** @name PolymeshContractsChainVersion (292) */ + /** @name PolymeshContractsChainVersion (291) */ interface PolymeshContractsChainVersion extends Struct { readonly specVersion: u32; readonly txVersion: u32; } - /** @name PolymeshContractsChainExtensionExtrinsicId (293) */ + /** @name PolymeshContractsChainExtensionExtrinsicId (292) */ interface PolymeshContractsChainExtensionExtrinsicId extends ITuple<[u8, u8]> {} - /** @name PalletPreimageEvent (294) */ + /** @name PalletPreimageEvent (293) */ interface PalletPreimageEvent extends Enum { readonly isNoted: boolean; readonly asNoted: { @@ -3269,7 +3258,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Noted' | 'Requested' | 'Cleared'; } - /** @name PolymeshCommonUtilitiesNftEvent (295) */ + /** @name PolymeshCommonUtilitiesNftEvent (294) */ interface PolymeshCommonUtilitiesNftEvent extends Enum { readonly isNftCollectionCreated: boolean; readonly asNftCollectionCreated: ITuple< @@ -3288,7 +3277,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'NftCollectionCreated' | 'NftPortfolioUpdated'; } - /** @name PalletTestUtilsRawEvent (297) */ + /** @name PalletTestUtilsRawEvent (296) */ interface PalletTestUtilsRawEvent extends Enum { readonly isDidStatus: boolean; readonly asDidStatus: ITuple<[PolymeshPrimitivesIdentityId, AccountId32]>; @@ -3297,7 +3286,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'DidStatus' | 'CddStatus'; } - /** @name FrameSystemPhase (298) */ + /** @name FrameSystemPhase (297) */ interface FrameSystemPhase extends Enum { readonly isApplyExtrinsic: boolean; readonly asApplyExtrinsic: u32; @@ -3306,13 +3295,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization'; } - /** @name FrameSystemLastRuntimeUpgradeInfo (301) */ + /** @name FrameSystemLastRuntimeUpgradeInfo (300) */ interface FrameSystemLastRuntimeUpgradeInfo extends Struct { readonly specVersion: Compact; readonly specName: Text; } - /** @name FrameSystemCall (304) */ + /** @name FrameSystemCall (303) */ interface FrameSystemCall extends Enum { readonly isRemark: boolean; readonly asRemark: { @@ -3358,21 +3347,21 @@ declare module '@polkadot/types/lookup' { | 'RemarkWithEvent'; } - /** @name FrameSystemLimitsBlockWeights (308) */ + /** @name FrameSystemLimitsBlockWeights (307) */ interface FrameSystemLimitsBlockWeights extends Struct { readonly baseBlock: SpWeightsWeightV2Weight; readonly maxBlock: SpWeightsWeightV2Weight; readonly perClass: FrameSupportDispatchPerDispatchClassWeightsPerClass; } - /** @name FrameSupportDispatchPerDispatchClassWeightsPerClass (309) */ + /** @name FrameSupportDispatchPerDispatchClassWeightsPerClass (308) */ interface FrameSupportDispatchPerDispatchClassWeightsPerClass extends Struct { readonly normal: FrameSystemLimitsWeightsPerClass; readonly operational: FrameSystemLimitsWeightsPerClass; readonly mandatory: FrameSystemLimitsWeightsPerClass; } - /** @name FrameSystemLimitsWeightsPerClass (310) */ + /** @name FrameSystemLimitsWeightsPerClass (309) */ interface FrameSystemLimitsWeightsPerClass extends Struct { readonly baseExtrinsic: SpWeightsWeightV2Weight; readonly maxExtrinsic: Option; @@ -3380,25 +3369,25 @@ declare module '@polkadot/types/lookup' { readonly reserved: Option; } - /** @name FrameSystemLimitsBlockLength (312) */ + /** @name FrameSystemLimitsBlockLength (311) */ interface FrameSystemLimitsBlockLength extends Struct { readonly max: FrameSupportDispatchPerDispatchClassU32; } - /** @name FrameSupportDispatchPerDispatchClassU32 (313) */ + /** @name FrameSupportDispatchPerDispatchClassU32 (312) */ interface FrameSupportDispatchPerDispatchClassU32 extends Struct { readonly normal: u32; readonly operational: u32; readonly mandatory: u32; } - /** @name SpWeightsRuntimeDbWeight (314) */ + /** @name SpWeightsRuntimeDbWeight (313) */ interface SpWeightsRuntimeDbWeight extends Struct { readonly read: u64; readonly write: u64; } - /** @name SpVersionRuntimeVersion (315) */ + /** @name SpVersionRuntimeVersion (314) */ interface SpVersionRuntimeVersion extends Struct { readonly specName: Text; readonly implName: Text; @@ -3410,7 +3399,7 @@ declare module '@polkadot/types/lookup' { readonly stateVersion: u8; } - /** @name FrameSystemError (320) */ + /** @name FrameSystemError (319) */ interface FrameSystemError extends Enum { readonly isInvalidSpecName: boolean; readonly isSpecVersionNeedsToIncrease: boolean; @@ -3427,10 +3416,10 @@ declare module '@polkadot/types/lookup' { | 'CallFiltered'; } - /** @name SpConsensusBabeAppPublic (323) */ + /** @name SpConsensusBabeAppPublic (322) */ interface SpConsensusBabeAppPublic extends SpCoreSr25519Public {} - /** @name SpConsensusBabeDigestsNextConfigDescriptor (326) */ + /** @name SpConsensusBabeDigestsNextConfigDescriptor (325) */ interface SpConsensusBabeDigestsNextConfigDescriptor extends Enum { readonly isV1: boolean; readonly asV1: { @@ -3440,7 +3429,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'V1'; } - /** @name SpConsensusBabeAllowedSlots (328) */ + /** @name SpConsensusBabeAllowedSlots (327) */ interface SpConsensusBabeAllowedSlots extends Enum { readonly isPrimarySlots: boolean; readonly isPrimaryAndSecondaryPlainSlots: boolean; @@ -3448,7 +3437,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'PrimarySlots' | 'PrimaryAndSecondaryPlainSlots' | 'PrimaryAndSecondaryVRFSlots'; } - /** @name SpConsensusBabeDigestsPreDigest (332) */ + /** @name SpConsensusBabeDigestsPreDigest (331) */ interface SpConsensusBabeDigestsPreDigest extends Enum { readonly isPrimary: boolean; readonly asPrimary: SpConsensusBabeDigestsPrimaryPreDigest; @@ -3459,7 +3448,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Primary' | 'SecondaryPlain' | 'SecondaryVRF'; } - /** @name SpConsensusBabeDigestsPrimaryPreDigest (333) */ + /** @name SpConsensusBabeDigestsPrimaryPreDigest (332) */ interface SpConsensusBabeDigestsPrimaryPreDigest extends Struct { readonly authorityIndex: u32; readonly slot: u64; @@ -3467,13 +3456,13 @@ declare module '@polkadot/types/lookup' { readonly vrfProof: U8aFixed; } - /** @name SpConsensusBabeDigestsSecondaryPlainPreDigest (334) */ + /** @name SpConsensusBabeDigestsSecondaryPlainPreDigest (333) */ interface SpConsensusBabeDigestsSecondaryPlainPreDigest extends Struct { readonly authorityIndex: u32; readonly slot: u64; } - /** @name SpConsensusBabeDigestsSecondaryVRFPreDigest (335) */ + /** @name SpConsensusBabeDigestsSecondaryVRFPreDigest (334) */ interface SpConsensusBabeDigestsSecondaryVRFPreDigest extends Struct { readonly authorityIndex: u32; readonly slot: u64; @@ -3481,13 +3470,13 @@ declare module '@polkadot/types/lookup' { readonly vrfProof: U8aFixed; } - /** @name SpConsensusBabeBabeEpochConfiguration (336) */ + /** @name SpConsensusBabeBabeEpochConfiguration (335) */ interface SpConsensusBabeBabeEpochConfiguration extends Struct { readonly c: ITuple<[u64, u64]>; readonly allowedSlots: SpConsensusBabeAllowedSlots; } - /** @name PalletBabeCall (340) */ + /** @name PalletBabeCall (339) */ interface PalletBabeCall extends Enum { readonly isReportEquivocation: boolean; readonly asReportEquivocation: { @@ -3506,7 +3495,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'ReportEquivocation' | 'ReportEquivocationUnsigned' | 'PlanConfigChange'; } - /** @name SpConsensusSlotsEquivocationProof (341) */ + /** @name SpConsensusSlotsEquivocationProof (340) */ interface SpConsensusSlotsEquivocationProof extends Struct { readonly offender: SpConsensusBabeAppPublic; readonly slot: u64; @@ -3514,7 +3503,7 @@ declare module '@polkadot/types/lookup' { readonly secondHeader: SpRuntimeHeader; } - /** @name SpRuntimeHeader (342) */ + /** @name SpRuntimeHeader (341) */ interface SpRuntimeHeader extends Struct { readonly parentHash: H256; readonly number: Compact; @@ -3523,17 +3512,17 @@ declare module '@polkadot/types/lookup' { readonly digest: SpRuntimeDigest; } - /** @name SpRuntimeBlakeTwo256 (343) */ + /** @name SpRuntimeBlakeTwo256 (342) */ type SpRuntimeBlakeTwo256 = Null; - /** @name SpSessionMembershipProof (344) */ + /** @name SpSessionMembershipProof (343) */ interface SpSessionMembershipProof extends Struct { readonly session: u32; readonly trieNodes: Vec; readonly validatorCount: u32; } - /** @name PalletBabeError (345) */ + /** @name PalletBabeError (344) */ interface PalletBabeError extends Enum { readonly isInvalidEquivocationProof: boolean; readonly isInvalidKeyOwnershipProof: boolean; @@ -3546,7 +3535,7 @@ declare module '@polkadot/types/lookup' { | 'InvalidConfiguration'; } - /** @name PalletTimestampCall (346) */ + /** @name PalletTimestampCall (345) */ interface PalletTimestampCall extends Enum { readonly isSet: boolean; readonly asSet: { @@ -3555,7 +3544,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Set'; } - /** @name PalletIndicesCall (348) */ + /** @name PalletIndicesCall (347) */ interface PalletIndicesCall extends Enum { readonly isClaim: boolean; readonly asClaim: { @@ -3583,7 +3572,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Claim' | 'Transfer' | 'Free' | 'ForceTransfer' | 'Freeze'; } - /** @name PalletIndicesError (350) */ + /** @name PalletIndicesError (349) */ interface PalletIndicesError extends Enum { readonly isNotAssigned: boolean; readonly isNotOwner: boolean; @@ -3593,14 +3582,14 @@ declare module '@polkadot/types/lookup' { readonly type: 'NotAssigned' | 'NotOwner' | 'InUse' | 'NotTransfer' | 'Permanent'; } - /** @name PalletBalancesBalanceLock (352) */ + /** @name PalletBalancesBalanceLock (351) */ interface PalletBalancesBalanceLock extends Struct { readonly id: U8aFixed; readonly amount: u128; readonly reasons: PolymeshCommonUtilitiesBalancesReasons; } - /** @name PolymeshCommonUtilitiesBalancesReasons (353) */ + /** @name PolymeshCommonUtilitiesBalancesReasons (352) */ interface PolymeshCommonUtilitiesBalancesReasons extends Enum { readonly isFee: boolean; readonly isMisc: boolean; @@ -3608,7 +3597,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Fee' | 'Misc' | 'All'; } - /** @name PalletBalancesCall (354) */ + /** @name PalletBalancesCall (353) */ interface PalletBalancesCall extends Enum { readonly isTransfer: boolean; readonly asTransfer: { @@ -3650,7 +3639,7 @@ declare module '@polkadot/types/lookup' { | 'BurnAccountBalance'; } - /** @name PalletBalancesError (355) */ + /** @name PalletBalancesError (354) */ interface PalletBalancesError extends Enum { readonly isLiquidityRestrictions: boolean; readonly isOverflow: boolean; @@ -3665,14 +3654,14 @@ declare module '@polkadot/types/lookup' { | 'ReceiverCddMissing'; } - /** @name PalletTransactionPaymentReleases (357) */ + /** @name PalletTransactionPaymentReleases (356) */ interface PalletTransactionPaymentReleases extends Enum { readonly isV1Ancient: boolean; readonly isV2: boolean; readonly type: 'V1Ancient' | 'V2'; } - /** @name SpWeightsWeightToFeeCoefficient (359) */ + /** @name SpWeightsWeightToFeeCoefficient (358) */ interface SpWeightsWeightToFeeCoefficient extends Struct { readonly coeffInteger: u128; readonly coeffFrac: Perbill; @@ -3680,24 +3669,24 @@ declare module '@polkadot/types/lookup' { readonly degree: u8; } - /** @name PolymeshPrimitivesIdentityDidRecord (360) */ + /** @name PolymeshPrimitivesIdentityDidRecord (359) */ interface PolymeshPrimitivesIdentityDidRecord extends Struct { readonly primaryKey: Option; } - /** @name PalletIdentityClaim1stKey (362) */ + /** @name PalletIdentityClaim1stKey (361) */ interface PalletIdentityClaim1stKey extends Struct { readonly target: PolymeshPrimitivesIdentityId; readonly claimType: PolymeshPrimitivesIdentityClaimClaimType; } - /** @name PalletIdentityClaim2ndKey (363) */ + /** @name PalletIdentityClaim2ndKey (362) */ interface PalletIdentityClaim2ndKey extends Struct { readonly issuer: PolymeshPrimitivesIdentityId; readonly scope: Option; } - /** @name PolymeshPrimitivesSecondaryKeyKeyRecord (364) */ + /** @name PolymeshPrimitivesSecondaryKeyKeyRecord (363) */ interface PolymeshPrimitivesSecondaryKeyKeyRecord extends Enum { readonly isPrimaryKey: boolean; readonly asPrimaryKey: PolymeshPrimitivesIdentityId; @@ -3710,7 +3699,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'PrimaryKey' | 'SecondaryKey' | 'MultiSigSignerKey'; } - /** @name PolymeshPrimitivesAuthorization (367) */ + /** @name PolymeshPrimitivesAuthorization (366) */ interface PolymeshPrimitivesAuthorization extends Struct { readonly authorizationData: PolymeshPrimitivesAuthorizationAuthorizationData; readonly authorizedBy: PolymeshPrimitivesIdentityId; @@ -3719,7 +3708,7 @@ declare module '@polkadot/types/lookup' { readonly count: u32; } - /** @name PalletIdentityCall (370) */ + /** @name PalletIdentityCall (369) */ interface PalletIdentityCall extends Enum { readonly isCddRegisterDid: boolean; readonly asCddRegisterDid: { @@ -3854,19 +3843,19 @@ declare module '@polkadot/types/lookup' { | 'UnlinkChildIdentity'; } - /** @name PolymeshCommonUtilitiesIdentitySecondaryKeyWithAuth (372) */ + /** @name PolymeshCommonUtilitiesIdentitySecondaryKeyWithAuth (371) */ interface PolymeshCommonUtilitiesIdentitySecondaryKeyWithAuth extends Struct { readonly secondaryKey: PolymeshPrimitivesSecondaryKey; readonly authSignature: H512; } - /** @name PolymeshCommonUtilitiesIdentityCreateChildIdentityWithAuth (375) */ + /** @name PolymeshCommonUtilitiesIdentityCreateChildIdentityWithAuth (374) */ interface PolymeshCommonUtilitiesIdentityCreateChildIdentityWithAuth extends Struct { readonly key: AccountId32; readonly authSignature: H512; } - /** @name PalletIdentityError (376) */ + /** @name PalletIdentityError (375) */ interface PalletIdentityError extends Enum { readonly isAlreadyLinked: boolean; readonly isMissingCurrentIdentity: boolean; @@ -3937,14 +3926,14 @@ declare module '@polkadot/types/lookup' { | 'ExceptNotAllowedForExtrinsics'; } - /** @name PolymeshCommonUtilitiesGroupInactiveMember (378) */ + /** @name PolymeshCommonUtilitiesGroupInactiveMember (377) */ interface PolymeshCommonUtilitiesGroupInactiveMember extends Struct { readonly id: PolymeshPrimitivesIdentityId; readonly deactivatedAt: u64; readonly expiry: Option; } - /** @name PalletGroupCall (379) */ + /** @name PalletGroupCall (378) */ interface PalletGroupCall extends Enum { readonly isSetActiveMembersLimit: boolean; readonly asSetActiveMembersLimit: { @@ -3984,7 +3973,7 @@ declare module '@polkadot/types/lookup' { | 'AbdicateMembership'; } - /** @name PalletGroupError (380) */ + /** @name PalletGroupError (379) */ interface PalletGroupError extends Enum { readonly isOnlyPrimaryKeyAllowed: boolean; readonly isDuplicateMember: boolean; @@ -4003,7 +3992,7 @@ declare module '@polkadot/types/lookup' { | 'ActiveMembersLimitOverflow'; } - /** @name PalletCommitteeCall (382) */ + /** @name PalletCommitteeCall (381) */ interface PalletCommitteeCall extends Enum { readonly isSetVoteThreshold: boolean; readonly asSetVoteThreshold: { @@ -4037,7 +4026,7 @@ declare module '@polkadot/types/lookup' { | 'Vote'; } - /** @name PalletMultisigCall (388) */ + /** @name PalletMultisigCall (387) */ interface PalletMultisigCall extends Enum { readonly isCreateMultisig: boolean; readonly asCreateMultisig: { @@ -4171,7 +4160,7 @@ declare module '@polkadot/types/lookup' { | 'RemoveCreatorControls'; } - /** @name PalletBridgeCall (389) */ + /** @name PalletBridgeCall (388) */ interface PalletBridgeCall extends Enum { readonly isChangeController: boolean; readonly asChangeController: { @@ -4256,7 +4245,7 @@ declare module '@polkadot/types/lookup' { | 'RemoveTxs'; } - /** @name PalletStakingCall (393) */ + /** @name PalletStakingCall (392) */ interface PalletStakingCall extends Enum { readonly isBond: boolean; readonly asBond: { @@ -4433,7 +4422,7 @@ declare module '@polkadot/types/lookup' { | 'ChillFromGovernance'; } - /** @name PalletStakingRewardDestination (394) */ + /** @name PalletStakingRewardDestination (393) */ interface PalletStakingRewardDestination extends Enum { readonly isStaked: boolean; readonly isStash: boolean; @@ -4443,13 +4432,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'Staked' | 'Stash' | 'Controller' | 'Account'; } - /** @name PalletStakingValidatorPrefs (395) */ + /** @name PalletStakingValidatorPrefs (394) */ interface PalletStakingValidatorPrefs extends Struct { readonly commission: Compact; readonly blocked: bool; } - /** @name PalletStakingCompactAssignments (401) */ + /** @name PalletStakingCompactAssignments (400) */ interface PalletStakingCompactAssignments extends Struct { readonly votes1: Vec, Compact]>>; readonly votes2: Vec< @@ -4499,42 +4488,42 @@ declare module '@polkadot/types/lookup' { >; } - /** @name SpNposElectionsElectionScore (452) */ + /** @name SpNposElectionsElectionScore (451) */ interface SpNposElectionsElectionScore extends Struct { readonly minimalStake: u128; readonly sumStake: u128; readonly sumStakeSquared: u128; } - /** @name PalletStakingElectionSize (453) */ + /** @name PalletStakingElectionSize (452) */ interface PalletStakingElectionSize extends Struct { readonly validators: Compact; readonly nominators: Compact; } - /** @name PalletSessionCall (454) */ + /** @name PalletSessionCall (453) */ interface PalletSessionCall extends Enum { readonly isSetKeys: boolean; readonly asSetKeys: { - readonly keys_: PolymeshRuntimeDevelopRuntimeSessionKeys; + readonly keys_: PolymeshRuntimeTestnetRuntimeSessionKeys; readonly proof: Bytes; } & Struct; readonly isPurgeKeys: boolean; readonly type: 'SetKeys' | 'PurgeKeys'; } - /** @name PolymeshRuntimeDevelopRuntimeSessionKeys (455) */ - interface PolymeshRuntimeDevelopRuntimeSessionKeys extends Struct { + /** @name PolymeshRuntimeTestnetRuntimeSessionKeys (454) */ + interface PolymeshRuntimeTestnetRuntimeSessionKeys extends Struct { readonly grandpa: SpConsensusGrandpaAppPublic; readonly babe: SpConsensusBabeAppPublic; readonly imOnline: PalletImOnlineSr25519AppSr25519Public; readonly authorityDiscovery: SpAuthorityDiscoveryAppPublic; } - /** @name SpAuthorityDiscoveryAppPublic (456) */ + /** @name SpAuthorityDiscoveryAppPublic (455) */ interface SpAuthorityDiscoveryAppPublic extends SpCoreSr25519Public {} - /** @name PalletGrandpaCall (457) */ + /** @name PalletGrandpaCall (456) */ interface PalletGrandpaCall extends Enum { readonly isReportEquivocation: boolean; readonly asReportEquivocation: { @@ -4554,13 +4543,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'ReportEquivocation' | 'ReportEquivocationUnsigned' | 'NoteStalled'; } - /** @name SpConsensusGrandpaEquivocationProof (458) */ + /** @name SpConsensusGrandpaEquivocationProof (457) */ interface SpConsensusGrandpaEquivocationProof extends Struct { readonly setId: u64; readonly equivocation: SpConsensusGrandpaEquivocation; } - /** @name SpConsensusGrandpaEquivocation (459) */ + /** @name SpConsensusGrandpaEquivocation (458) */ interface SpConsensusGrandpaEquivocation extends Enum { readonly isPrevote: boolean; readonly asPrevote: FinalityGrandpaEquivocationPrevote; @@ -4569,7 +4558,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Prevote' | 'Precommit'; } - /** @name FinalityGrandpaEquivocationPrevote (460) */ + /** @name FinalityGrandpaEquivocationPrevote (459) */ interface FinalityGrandpaEquivocationPrevote extends Struct { readonly roundNumber: u64; readonly identity: SpConsensusGrandpaAppPublic; @@ -4577,19 +4566,19 @@ declare module '@polkadot/types/lookup' { readonly second: ITuple<[FinalityGrandpaPrevote, SpConsensusGrandpaAppSignature]>; } - /** @name FinalityGrandpaPrevote (461) */ + /** @name FinalityGrandpaPrevote (460) */ interface FinalityGrandpaPrevote extends Struct { readonly targetHash: H256; readonly targetNumber: u32; } - /** @name SpConsensusGrandpaAppSignature (462) */ + /** @name SpConsensusGrandpaAppSignature (461) */ interface SpConsensusGrandpaAppSignature extends SpCoreEd25519Signature {} - /** @name SpCoreEd25519Signature (463) */ + /** @name SpCoreEd25519Signature (462) */ interface SpCoreEd25519Signature extends U8aFixed {} - /** @name FinalityGrandpaEquivocationPrecommit (465) */ + /** @name FinalityGrandpaEquivocationPrecommit (464) */ interface FinalityGrandpaEquivocationPrecommit extends Struct { readonly roundNumber: u64; readonly identity: SpConsensusGrandpaAppPublic; @@ -4597,13 +4586,13 @@ declare module '@polkadot/types/lookup' { readonly second: ITuple<[FinalityGrandpaPrecommit, SpConsensusGrandpaAppSignature]>; } - /** @name FinalityGrandpaPrecommit (466) */ + /** @name FinalityGrandpaPrecommit (465) */ interface FinalityGrandpaPrecommit extends Struct { readonly targetHash: H256; readonly targetNumber: u32; } - /** @name PalletImOnlineCall (468) */ + /** @name PalletImOnlineCall (467) */ interface PalletImOnlineCall extends Enum { readonly isHeartbeat: boolean; readonly asHeartbeat: { @@ -4613,7 +4602,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Heartbeat'; } - /** @name PalletImOnlineHeartbeat (469) */ + /** @name PalletImOnlineHeartbeat (468) */ interface PalletImOnlineHeartbeat extends Struct { readonly blockNumber: u32; readonly networkState: SpCoreOffchainOpaqueNetworkState; @@ -4622,42 +4611,19 @@ declare module '@polkadot/types/lookup' { readonly validatorsLen: u32; } - /** @name SpCoreOffchainOpaqueNetworkState (470) */ + /** @name SpCoreOffchainOpaqueNetworkState (469) */ interface SpCoreOffchainOpaqueNetworkState extends Struct { readonly peerId: OpaquePeerId; readonly externalAddresses: Vec; } - /** @name PalletImOnlineSr25519AppSr25519Signature (474) */ + /** @name PalletImOnlineSr25519AppSr25519Signature (473) */ interface PalletImOnlineSr25519AppSr25519Signature extends SpCoreSr25519Signature {} - /** @name SpCoreSr25519Signature (475) */ + /** @name SpCoreSr25519Signature (474) */ interface SpCoreSr25519Signature extends U8aFixed {} - /** @name PalletSudoCall (476) */ - interface PalletSudoCall extends Enum { - readonly isSudo: boolean; - readonly asSudo: { - readonly call: Call; - } & Struct; - readonly isSudoUncheckedWeight: boolean; - readonly asSudoUncheckedWeight: { - readonly call: Call; - readonly weight: SpWeightsWeightV2Weight; - } & Struct; - readonly isSetKey: boolean; - readonly asSetKey: { - readonly new_: MultiAddress; - } & Struct; - readonly isSudoAs: boolean; - readonly asSudoAs: { - readonly who: MultiAddress; - readonly call: Call; - } & Struct; - readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs'; - } - - /** @name PalletAssetCall (477) */ + /** @name PalletAssetCall (475) */ interface PalletAssetCall extends Enum { readonly isRegisterTicker: boolean; readonly asRegisterTicker: { @@ -4849,7 +4815,7 @@ declare module '@polkadot/types/lookup' { | 'RemoveTickerPreApproval'; } - /** @name PalletCorporateActionsDistributionCall (479) */ + /** @name PalletCorporateActionsDistributionCall (477) */ interface PalletCorporateActionsDistributionCall extends Enum { readonly isDistribute: boolean; readonly asDistribute: { @@ -4881,7 +4847,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Distribute' | 'Claim' | 'PushBenefit' | 'Reclaim' | 'RemoveDistribution'; } - /** @name PalletAssetCheckpointCall (481) */ + /** @name PalletAssetCheckpointCall (479) */ interface PalletAssetCheckpointCall extends Enum { readonly isCreateCheckpoint: boolean; readonly asCreateCheckpoint: { @@ -4908,7 +4874,7 @@ declare module '@polkadot/types/lookup' { | 'RemoveSchedule'; } - /** @name PalletComplianceManagerCall (482) */ + /** @name PalletComplianceManagerCall (480) */ interface PalletComplianceManagerCall extends Enum { readonly isAddComplianceRequirement: boolean; readonly asAddComplianceRequirement: { @@ -4965,7 +4931,7 @@ declare module '@polkadot/types/lookup' { | 'ChangeComplianceRequirement'; } - /** @name PalletCorporateActionsCall (483) */ + /** @name PalletCorporateActionsCall (481) */ interface PalletCorporateActionsCall extends Enum { readonly isSetMaxDetailsLength: boolean; readonly asSetMaxDetailsLength: { @@ -5034,7 +5000,7 @@ declare module '@polkadot/types/lookup' { | 'InitiateCorporateActionAndDistribute'; } - /** @name PalletCorporateActionsRecordDateSpec (485) */ + /** @name PalletCorporateActionsRecordDateSpec (483) */ interface PalletCorporateActionsRecordDateSpec extends Enum { readonly isScheduled: boolean; readonly asScheduled: u64; @@ -5045,7 +5011,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Scheduled' | 'ExistingSchedule' | 'Existing'; } - /** @name PalletCorporateActionsInitiateCorporateActionArgs (488) */ + /** @name PalletCorporateActionsInitiateCorporateActionArgs (486) */ interface PalletCorporateActionsInitiateCorporateActionArgs extends Struct { readonly ticker: PolymeshPrimitivesTicker; readonly kind: PalletCorporateActionsCaKind; @@ -5057,7 +5023,7 @@ declare module '@polkadot/types/lookup' { readonly withholdingTax: Option>>; } - /** @name PalletCorporateActionsBallotCall (489) */ + /** @name PalletCorporateActionsBallotCall (487) */ interface PalletCorporateActionsBallotCall extends Enum { readonly isAttachBallot: boolean; readonly asAttachBallot: { @@ -5099,7 +5065,7 @@ declare module '@polkadot/types/lookup' { | 'RemoveBallot'; } - /** @name PalletPipsCall (490) */ + /** @name PalletPipsCall (488) */ interface PalletPipsCall extends Enum { readonly isSetPruneHistoricalPips: boolean; readonly asSetPruneHistoricalPips: { @@ -5190,7 +5156,7 @@ declare module '@polkadot/types/lookup' { | 'ExpireScheduledPip'; } - /** @name PalletPipsSnapshotResult (493) */ + /** @name PalletPipsSnapshotResult (491) */ interface PalletPipsSnapshotResult extends Enum { readonly isApprove: boolean; readonly isReject: boolean; @@ -5198,7 +5164,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Approve' | 'Reject' | 'Skip'; } - /** @name PalletPortfolioCall (494) */ + /** @name PalletPortfolioCall (492) */ interface PalletPortfolioCall extends Enum { readonly isCreatePortfolio: boolean; readonly asCreatePortfolio: { @@ -5264,13 +5230,13 @@ declare module '@polkadot/types/lookup' { | 'CreateCustodyPortfolio'; } - /** @name PolymeshPrimitivesPortfolioFund (496) */ + /** @name PolymeshPrimitivesPortfolioFund (494) */ interface PolymeshPrimitivesPortfolioFund extends Struct { readonly description: PolymeshPrimitivesPortfolioFundDescription; readonly memo: Option; } - /** @name PalletProtocolFeeCall (497) */ + /** @name PalletProtocolFeeCall (495) */ interface PalletProtocolFeeCall extends Enum { readonly isChangeCoefficient: boolean; readonly asChangeCoefficient: { @@ -5284,7 +5250,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'ChangeCoefficient' | 'ChangeBaseFee'; } - /** @name PolymeshCommonUtilitiesProtocolFeeProtocolOp (498) */ + /** @name PolymeshCommonUtilitiesProtocolFeeProtocolOp (496) */ interface PolymeshCommonUtilitiesProtocolFeeProtocolOp extends Enum { readonly isAssetRegisterTicker: boolean; readonly isAssetIssue: boolean; @@ -5321,7 +5287,7 @@ declare module '@polkadot/types/lookup' { | 'IdentityCreateChildIdentity'; } - /** @name PalletSchedulerCall (499) */ + /** @name PalletSchedulerCall (497) */ interface PalletSchedulerCall extends Enum { readonly isSchedule: boolean; readonly asSchedule: { @@ -5371,7 +5337,7 @@ declare module '@polkadot/types/lookup' { | 'ScheduleNamedAfter'; } - /** @name PalletSettlementCall (501) */ + /** @name PalletSettlementCall (499) */ interface PalletSettlementCall extends Enum { readonly isCreateVenue: boolean; readonly asCreateVenue: { @@ -5511,7 +5477,7 @@ declare module '@polkadot/types/lookup' { | 'WithdrawAffirmationWithCount'; } - /** @name PolymeshPrimitivesSettlementReceiptDetails (503) */ + /** @name PolymeshPrimitivesSettlementReceiptDetails (501) */ interface PolymeshPrimitivesSettlementReceiptDetails extends Struct { readonly uid: u64; readonly instructionId: u64; @@ -5521,7 +5487,7 @@ declare module '@polkadot/types/lookup' { readonly metadata: Option; } - /** @name SpRuntimeMultiSignature (504) */ + /** @name SpRuntimeMultiSignature (502) */ interface SpRuntimeMultiSignature extends Enum { readonly isEd25519: boolean; readonly asEd25519: SpCoreEd25519Signature; @@ -5532,24 +5498,24 @@ declare module '@polkadot/types/lookup' { readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa'; } - /** @name SpCoreEcdsaSignature (505) */ + /** @name SpCoreEcdsaSignature (503) */ interface SpCoreEcdsaSignature extends U8aFixed {} - /** @name PolymeshPrimitivesSettlementAffirmationCount (508) */ + /** @name PolymeshPrimitivesSettlementAffirmationCount (506) */ interface PolymeshPrimitivesSettlementAffirmationCount extends Struct { readonly senderAssetCount: PolymeshPrimitivesSettlementAssetCount; readonly receiverAssetCount: PolymeshPrimitivesSettlementAssetCount; readonly offchainCount: u32; } - /** @name PolymeshPrimitivesSettlementAssetCount (509) */ + /** @name PolymeshPrimitivesSettlementAssetCount (507) */ interface PolymeshPrimitivesSettlementAssetCount extends Struct { readonly fungible: u32; readonly nonFungible: u32; readonly offChain: u32; } - /** @name PalletStatisticsCall (511) */ + /** @name PalletStatisticsCall (509) */ interface PalletStatisticsCall extends Enum { readonly isSetActiveAssetStats: boolean; readonly asSetActiveAssetStats: { @@ -5580,7 +5546,7 @@ declare module '@polkadot/types/lookup' { | 'SetEntitiesExempt'; } - /** @name PalletStoCall (516) */ + /** @name PalletStoCall (514) */ interface PalletStoCall extends Enum { readonly isCreateFundraiser: boolean; readonly asCreateFundraiser: { @@ -5636,13 +5602,13 @@ declare module '@polkadot/types/lookup' { | 'Stop'; } - /** @name PalletStoPriceTier (518) */ + /** @name PalletStoPriceTier (516) */ interface PalletStoPriceTier extends Struct { readonly total: u128; readonly price: u128; } - /** @name PalletTreasuryCall (520) */ + /** @name PalletTreasuryCall (518) */ interface PalletTreasuryCall extends Enum { readonly isDisbursement: boolean; readonly asDisbursement: { @@ -5655,13 +5621,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'Disbursement' | 'Reimbursement'; } - /** @name PolymeshPrimitivesBeneficiary (522) */ + /** @name PolymeshPrimitivesBeneficiary (520) */ interface PolymeshPrimitivesBeneficiary extends Struct { readonly id: PolymeshPrimitivesIdentityId; readonly amount: u128; } - /** @name PalletUtilityCall (523) */ + /** @name PalletUtilityCall (521) */ interface PalletUtilityCall extends Enum { readonly isBatch: boolean; readonly asBatch: { @@ -5679,7 +5645,7 @@ declare module '@polkadot/types/lookup' { } & Struct; readonly isDispatchAs: boolean; readonly asDispatchAs: { - readonly asOrigin: PolymeshRuntimeDevelopRuntimeOriginCaller; + readonly asOrigin: PolymeshRuntimeTestnetRuntimeOriginCaller; readonly call: Call; } & Struct; readonly isForceBatch: boolean; @@ -5703,6 +5669,11 @@ declare module '@polkadot/types/lookup' { readonly asBatchOptimistic: { readonly calls: Vec; } & Struct; + readonly isAsDerivative: boolean; + readonly asAsDerivative: { + readonly index: u16; + readonly call: Call; + } & Struct; readonly type: | 'Batch' | 'RelayTx' @@ -5712,17 +5683,18 @@ declare module '@polkadot/types/lookup' { | 'WithWeight' | 'BatchOld' | 'BatchAtomic' - | 'BatchOptimistic'; + | 'BatchOptimistic' + | 'AsDerivative'; } - /** @name PalletUtilityUniqueCall (525) */ + /** @name PalletUtilityUniqueCall (523) */ interface PalletUtilityUniqueCall extends Struct { readonly nonce: u64; readonly call: Call; } - /** @name PolymeshRuntimeDevelopRuntimeOriginCaller (526) */ - interface PolymeshRuntimeDevelopRuntimeOriginCaller extends Enum { + /** @name PolymeshRuntimeTestnetRuntimeOriginCaller (524) */ + interface PolymeshRuntimeTestnetRuntimeOriginCaller extends Enum { readonly isSystem: boolean; readonly asSystem: FrameSupportDispatchRawOrigin; readonly isVoid: boolean; @@ -5740,7 +5712,7 @@ declare module '@polkadot/types/lookup' { | 'UpgradeCommittee'; } - /** @name FrameSupportDispatchRawOrigin (527) */ + /** @name FrameSupportDispatchRawOrigin (525) */ interface FrameSupportDispatchRawOrigin extends Enum { readonly isRoot: boolean; readonly isSigned: boolean; @@ -5749,31 +5721,31 @@ declare module '@polkadot/types/lookup' { readonly type: 'Root' | 'Signed' | 'None'; } - /** @name PalletCommitteeRawOriginInstance1 (528) */ + /** @name PalletCommitteeRawOriginInstance1 (526) */ interface PalletCommitteeRawOriginInstance1 extends Enum { readonly isEndorsed: boolean; readonly type: 'Endorsed'; } - /** @name PalletCommitteeRawOriginInstance3 (529) */ + /** @name PalletCommitteeRawOriginInstance3 (527) */ interface PalletCommitteeRawOriginInstance3 extends Enum { readonly isEndorsed: boolean; readonly type: 'Endorsed'; } - /** @name PalletCommitteeRawOriginInstance4 (530) */ + /** @name PalletCommitteeRawOriginInstance4 (528) */ interface PalletCommitteeRawOriginInstance4 extends Enum { readonly isEndorsed: boolean; readonly type: 'Endorsed'; } - /** @name SpCoreVoid (531) */ + /** @name SpCoreVoid (529) */ type SpCoreVoid = Null; - /** @name PalletBaseCall (532) */ + /** @name PalletBaseCall (530) */ type PalletBaseCall = Null; - /** @name PalletExternalAgentsCall (533) */ + /** @name PalletExternalAgentsCall (531) */ interface PalletExternalAgentsCall extends Enum { readonly isCreateGroup: boolean; readonly asCreateGroup: { @@ -5829,7 +5801,7 @@ declare module '@polkadot/types/lookup' { | 'CreateAndChangeCustomGroup'; } - /** @name PalletRelayerCall (534) */ + /** @name PalletRelayerCall (532) */ interface PalletRelayerCall extends Enum { readonly isSetPayingKey: boolean; readonly asSetPayingKey: { @@ -5869,7 +5841,7 @@ declare module '@polkadot/types/lookup' { | 'DecreasePolyxLimit'; } - /** @name PalletContractsCall (535) */ + /** @name PalletContractsCall (533) */ interface PalletContractsCall extends Enum { readonly isCallOldWeight: boolean; readonly asCallOldWeight: { @@ -5950,14 +5922,14 @@ declare module '@polkadot/types/lookup' { | 'Instantiate'; } - /** @name PalletContractsWasmDeterminism (539) */ + /** @name PalletContractsWasmDeterminism (537) */ interface PalletContractsWasmDeterminism extends Enum { readonly isDeterministic: boolean; readonly isAllowIndeterminism: boolean; readonly type: 'Deterministic' | 'AllowIndeterminism'; } - /** @name PolymeshContractsCall (540) */ + /** @name PolymeshContractsCall (538) */ interface PolymeshContractsCall extends Enum { readonly isInstantiateWithCodePerms: boolean; readonly asInstantiateWithCodePerms: { @@ -6015,18 +5987,18 @@ declare module '@polkadot/types/lookup' { | 'UpgradeApi'; } - /** @name PolymeshContractsNextUpgrade (543) */ + /** @name PolymeshContractsNextUpgrade (541) */ interface PolymeshContractsNextUpgrade extends Struct { readonly chainVersion: PolymeshContractsChainVersion; readonly apiHash: PolymeshContractsApiCodeHash; } - /** @name PolymeshContractsApiCodeHash (544) */ + /** @name PolymeshContractsApiCodeHash (542) */ interface PolymeshContractsApiCodeHash extends Struct { readonly hash_: H256; } - /** @name PalletPreimageCall (545) */ + /** @name PalletPreimageCall (543) */ interface PalletPreimageCall extends Enum { readonly isNotePreimage: boolean; readonly asNotePreimage: { @@ -6047,7 +6019,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'NotePreimage' | 'UnnotePreimage' | 'RequestPreimage' | 'UnrequestPreimage'; } - /** @name PalletNftCall (546) */ + /** @name PalletNftCall (544) */ interface PalletNftCall extends Enum { readonly isCreateNftCollection: boolean; readonly asCreateNftCollection: { @@ -6077,17 +6049,17 @@ declare module '@polkadot/types/lookup' { readonly type: 'CreateNftCollection' | 'IssueNft' | 'RedeemNft' | 'ControllerTransfer'; } - /** @name PolymeshPrimitivesNftNftCollectionKeys (548) */ + /** @name PolymeshPrimitivesNftNftCollectionKeys (546) */ interface PolymeshPrimitivesNftNftCollectionKeys extends Vec {} - /** @name PolymeshPrimitivesNftNftMetadataAttribute (551) */ + /** @name PolymeshPrimitivesNftNftMetadataAttribute (549) */ interface PolymeshPrimitivesNftNftMetadataAttribute extends Struct { readonly key: PolymeshPrimitivesAssetMetadataAssetMetadataKey; readonly value: Bytes; } - /** @name PalletTestUtilsCall (552) */ + /** @name PalletTestUtilsCall (550) */ interface PalletTestUtilsCall extends Enum { readonly isRegisterDid: boolean; readonly asRegisterDid: { @@ -6105,7 +6077,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'RegisterDid' | 'MockCddRegisterDid' | 'GetMyDid' | 'GetCddOf'; } - /** @name PalletCommitteePolymeshVotes (553) */ + /** @name PalletCommitteePolymeshVotes (551) */ interface PalletCommitteePolymeshVotes extends Struct { readonly index: u32; readonly ayes: Vec; @@ -6113,7 +6085,7 @@ declare module '@polkadot/types/lookup' { readonly expiry: PolymeshCommonUtilitiesMaybeBlock; } - /** @name PalletCommitteeError (555) */ + /** @name PalletCommitteeError (553) */ interface PalletCommitteeError extends Enum { readonly isDuplicateVote: boolean; readonly isNotAMember: boolean; @@ -6136,7 +6108,7 @@ declare module '@polkadot/types/lookup' { | 'ProposalsLimitReached'; } - /** @name PolymeshPrimitivesMultisigProposalDetails (565) */ + /** @name PolymeshPrimitivesMultisigProposalDetails (563) */ interface PolymeshPrimitivesMultisigProposalDetails extends Struct { readonly approvals: u64; readonly rejections: u64; @@ -6145,7 +6117,7 @@ declare module '@polkadot/types/lookup' { readonly autoClose: bool; } - /** @name PolymeshPrimitivesMultisigProposalStatus (566) */ + /** @name PolymeshPrimitivesMultisigProposalStatus (564) */ interface PolymeshPrimitivesMultisigProposalStatus extends Enum { readonly isInvalid: boolean; readonly isActiveOrExpired: boolean; @@ -6160,7 +6132,7 @@ declare module '@polkadot/types/lookup' { | 'Rejected'; } - /** @name PalletMultisigError (568) */ + /** @name PalletMultisigError (566) */ interface PalletMultisigError extends Enum { readonly isCddMissing: boolean; readonly isProposalMissing: boolean; @@ -6217,7 +6189,7 @@ declare module '@polkadot/types/lookup' { | 'CreatorControlsHaveBeenRemoved'; } - /** @name PalletBridgeBridgeTxDetail (570) */ + /** @name PalletBridgeBridgeTxDetail (568) */ interface PalletBridgeBridgeTxDetail extends Struct { readonly amount: u128; readonly status: PalletBridgeBridgeTxStatus; @@ -6225,7 +6197,7 @@ declare module '@polkadot/types/lookup' { readonly txHash: H256; } - /** @name PalletBridgeBridgeTxStatus (571) */ + /** @name PalletBridgeBridgeTxStatus (569) */ interface PalletBridgeBridgeTxStatus extends Enum { readonly isAbsent: boolean; readonly isPending: boolean; @@ -6236,7 +6208,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Absent' | 'Pending' | 'Frozen' | 'Timelocked' | 'Handled'; } - /** @name PalletBridgeError (574) */ + /** @name PalletBridgeError (572) */ interface PalletBridgeError extends Enum { readonly isControllerNotSet: boolean; readonly isBadCaller: boolean; @@ -6267,7 +6239,7 @@ declare module '@polkadot/types/lookup' { | 'TimelockedTx'; } - /** @name PalletStakingStakingLedger (575) */ + /** @name PalletStakingStakingLedger (573) */ interface PalletStakingStakingLedger extends Struct { readonly stash: AccountId32; readonly total: Compact; @@ -6276,32 +6248,32 @@ declare module '@polkadot/types/lookup' { readonly claimedRewards: Vec; } - /** @name PalletStakingUnlockChunk (577) */ + /** @name PalletStakingUnlockChunk (575) */ interface PalletStakingUnlockChunk extends Struct { readonly value: Compact; readonly era: Compact; } - /** @name PalletStakingNominations (578) */ + /** @name PalletStakingNominations (576) */ interface PalletStakingNominations extends Struct { readonly targets: Vec; readonly submittedIn: u32; readonly suppressed: bool; } - /** @name PalletStakingActiveEraInfo (579) */ + /** @name PalletStakingActiveEraInfo (577) */ interface PalletStakingActiveEraInfo extends Struct { readonly index: u32; readonly start: Option; } - /** @name PalletStakingEraRewardPoints (581) */ + /** @name PalletStakingEraRewardPoints (579) */ interface PalletStakingEraRewardPoints extends Struct { readonly total: u32; readonly individual: BTreeMap; } - /** @name PalletStakingForcing (584) */ + /** @name PalletStakingForcing (582) */ interface PalletStakingForcing extends Enum { readonly isNotForcing: boolean; readonly isForceNew: boolean; @@ -6310,7 +6282,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'NotForcing' | 'ForceNew' | 'ForceNone' | 'ForceAlways'; } - /** @name PalletStakingUnappliedSlash (586) */ + /** @name PalletStakingUnappliedSlash (584) */ interface PalletStakingUnappliedSlash extends Struct { readonly validator: AccountId32; readonly own: u128; @@ -6319,7 +6291,7 @@ declare module '@polkadot/types/lookup' { readonly payout: u128; } - /** @name PalletStakingSlashingSlashingSpans (590) */ + /** @name PalletStakingSlashingSlashingSpans (588) */ interface PalletStakingSlashingSlashingSpans extends Struct { readonly spanIndex: u32; readonly lastStart: u32; @@ -6327,20 +6299,20 @@ declare module '@polkadot/types/lookup' { readonly prior: Vec; } - /** @name PalletStakingSlashingSpanRecord (591) */ + /** @name PalletStakingSlashingSpanRecord (589) */ interface PalletStakingSlashingSpanRecord extends Struct { readonly slashed: u128; readonly paidOut: u128; } - /** @name PalletStakingElectionResult (594) */ + /** @name PalletStakingElectionResult (592) */ interface PalletStakingElectionResult extends Struct { readonly electedStashes: Vec; readonly exposures: Vec>; readonly compute: PalletStakingElectionCompute; } - /** @name PalletStakingElectionStatus (595) */ + /** @name PalletStakingElectionStatus (593) */ interface PalletStakingElectionStatus extends Enum { readonly isClosed: boolean; readonly isOpen: boolean; @@ -6348,13 +6320,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'Closed' | 'Open'; } - /** @name PalletStakingPermissionedIdentityPrefs (596) */ + /** @name PalletStakingPermissionedIdentityPrefs (594) */ interface PalletStakingPermissionedIdentityPrefs extends Struct { readonly intendedCount: u32; readonly runningCount: u32; } - /** @name PalletStakingReleases (597) */ + /** @name PalletStakingReleases (595) */ interface PalletStakingReleases extends Enum { readonly isV100Ancient: boolean; readonly isV200: boolean; @@ -6367,7 +6339,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'V100Ancient' | 'V200' | 'V300' | 'V400' | 'V500' | 'V600' | 'V601' | 'V700'; } - /** @name PalletStakingError (599) */ + /** @name PalletStakingError (597) */ interface PalletStakingError extends Enum { readonly isNotController: boolean; readonly isNotStash: boolean; @@ -6458,16 +6430,16 @@ declare module '@polkadot/types/lookup' { | 'InvalidValidatorUnbondAmount'; } - /** @name SpStakingOffenceOffenceDetails (600) */ + /** @name SpStakingOffenceOffenceDetails (598) */ interface SpStakingOffenceOffenceDetails extends Struct { readonly offender: ITuple<[AccountId32, PalletStakingExposure]>; readonly reporters: Vec; } - /** @name SpCoreCryptoKeyTypeId (605) */ + /** @name SpCoreCryptoKeyTypeId (603) */ interface SpCoreCryptoKeyTypeId extends U8aFixed {} - /** @name PalletSessionError (606) */ + /** @name PalletSessionError (604) */ interface PalletSessionError extends Enum { readonly isInvalidProof: boolean; readonly isNoAssociatedValidatorId: boolean; @@ -6482,7 +6454,7 @@ declare module '@polkadot/types/lookup' { | 'NoAccount'; } - /** @name PalletGrandpaStoredState (607) */ + /** @name PalletGrandpaStoredState (605) */ interface PalletGrandpaStoredState extends Enum { readonly isLive: boolean; readonly isPendingPause: boolean; @@ -6499,7 +6471,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Live' | 'PendingPause' | 'Paused' | 'PendingResume'; } - /** @name PalletGrandpaStoredPendingChange (608) */ + /** @name PalletGrandpaStoredPendingChange (606) */ interface PalletGrandpaStoredPendingChange extends Struct { readonly scheduledAt: u32; readonly delay: u32; @@ -6507,7 +6479,7 @@ declare module '@polkadot/types/lookup' { readonly forced: Option; } - /** @name PalletGrandpaError (610) */ + /** @name PalletGrandpaError (608) */ interface PalletGrandpaError extends Enum { readonly isPauseFailed: boolean; readonly isResumeFailed: boolean; @@ -6526,38 +6498,32 @@ declare module '@polkadot/types/lookup' { | 'DuplicateOffenceReport'; } - /** @name PalletImOnlineBoundedOpaqueNetworkState (614) */ + /** @name PalletImOnlineBoundedOpaqueNetworkState (612) */ interface PalletImOnlineBoundedOpaqueNetworkState extends Struct { readonly peerId: Bytes; readonly externalAddresses: Vec; } - /** @name PalletImOnlineError (618) */ + /** @name PalletImOnlineError (616) */ interface PalletImOnlineError extends Enum { readonly isInvalidKey: boolean; readonly isDuplicatedHeartbeat: boolean; readonly type: 'InvalidKey' | 'DuplicatedHeartbeat'; } - /** @name PalletSudoError (620) */ - interface PalletSudoError extends Enum { - readonly isRequireSudo: boolean; - readonly type: 'RequireSudo'; - } - - /** @name PalletAssetTickerRegistration (621) */ + /** @name PalletAssetTickerRegistration (618) */ interface PalletAssetTickerRegistration extends Struct { readonly owner: PolymeshPrimitivesIdentityId; readonly expiry: Option; } - /** @name PalletAssetTickerRegistrationConfig (622) */ + /** @name PalletAssetTickerRegistrationConfig (619) */ interface PalletAssetTickerRegistrationConfig extends Struct { readonly maxTickerLength: u8; readonly registrationLength: Option; } - /** @name PalletAssetSecurityToken (623) */ + /** @name PalletAssetSecurityToken (620) */ interface PalletAssetSecurityToken extends Struct { readonly totalSupply: u128; readonly ownerDid: PolymeshPrimitivesIdentityId; @@ -6565,7 +6531,7 @@ declare module '@polkadot/types/lookup' { readonly assetType: PolymeshPrimitivesAssetAssetType; } - /** @name PalletAssetAssetOwnershipRelation (627) */ + /** @name PalletAssetAssetOwnershipRelation (624) */ interface PalletAssetAssetOwnershipRelation extends Enum { readonly isNotOwned: boolean; readonly isTickerOwned: boolean; @@ -6573,7 +6539,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'NotOwned' | 'TickerOwned' | 'AssetOwned'; } - /** @name PalletAssetError (633) */ + /** @name PalletAssetError (630) */ interface PalletAssetError extends Enum { readonly isUnauthorized: boolean; readonly isAssetAlreadyCreated: boolean; @@ -6652,7 +6618,7 @@ declare module '@polkadot/types/lookup' { | 'AssetMetadataValueIsEmpty'; } - /** @name PalletCorporateActionsDistributionError (636) */ + /** @name PalletCorporateActionsDistributionError (633) */ interface PalletCorporateActionsDistributionError extends Enum { readonly isCaNotBenefit: boolean; readonly isAlreadyExists: boolean; @@ -6687,14 +6653,14 @@ declare module '@polkadot/types/lookup' { | 'DistributionPerShareIsZero'; } - /** @name PolymeshCommonUtilitiesCheckpointNextCheckpoints (640) */ + /** @name PolymeshCommonUtilitiesCheckpointNextCheckpoints (637) */ interface PolymeshCommonUtilitiesCheckpointNextCheckpoints extends Struct { readonly nextAt: u64; readonly totalPending: u64; readonly schedules: BTreeMap; } - /** @name PalletAssetCheckpointError (646) */ + /** @name PalletAssetCheckpointError (643) */ interface PalletAssetCheckpointError extends Enum { readonly isNoSuchSchedule: boolean; readonly isScheduleNotRemovable: boolean; @@ -6711,13 +6677,13 @@ declare module '@polkadot/types/lookup' { | 'ScheduleHasExpiredCheckpoints'; } - /** @name PolymeshPrimitivesComplianceManagerAssetCompliance (647) */ + /** @name PolymeshPrimitivesComplianceManagerAssetCompliance (644) */ interface PolymeshPrimitivesComplianceManagerAssetCompliance extends Struct { readonly paused: bool; readonly requirements: Vec; } - /** @name PalletComplianceManagerError (649) */ + /** @name PalletComplianceManagerError (646) */ interface PalletComplianceManagerError extends Enum { readonly isUnauthorized: boolean; readonly isDidNotExist: boolean; @@ -6736,7 +6702,7 @@ declare module '@polkadot/types/lookup' { | 'WeightLimitExceeded'; } - /** @name PalletCorporateActionsError (652) */ + /** @name PalletCorporateActionsError (649) */ interface PalletCorporateActionsError extends Enum { readonly isDetailsTooLong: boolean; readonly isDuplicateDidTax: boolean; @@ -6763,7 +6729,7 @@ declare module '@polkadot/types/lookup' { | 'NotTargetedByCA'; } - /** @name PalletCorporateActionsBallotError (654) */ + /** @name PalletCorporateActionsBallotError (651) */ interface PalletCorporateActionsBallotError extends Enum { readonly isCaNotNotice: boolean; readonly isAlreadyExists: boolean; @@ -6796,13 +6762,13 @@ declare module '@polkadot/types/lookup' { | 'RcvNotAllowed'; } - /** @name PalletPermissionsError (655) */ + /** @name PalletPermissionsError (652) */ interface PalletPermissionsError extends Enum { readonly isUnauthorizedCaller: boolean; readonly type: 'UnauthorizedCaller'; } - /** @name PalletPipsPipsMetadata (656) */ + /** @name PalletPipsPipsMetadata (653) */ interface PalletPipsPipsMetadata extends Struct { readonly id: u32; readonly url: Option; @@ -6812,20 +6778,20 @@ declare module '@polkadot/types/lookup' { readonly expiry: PolymeshCommonUtilitiesMaybeBlock; } - /** @name PalletPipsDepositInfo (658) */ + /** @name PalletPipsDepositInfo (655) */ interface PalletPipsDepositInfo extends Struct { readonly owner: AccountId32; readonly amount: u128; } - /** @name PalletPipsPip (659) */ + /** @name PalletPipsPip (656) */ interface PalletPipsPip extends Struct { readonly id: u32; readonly proposal: Call; readonly proposer: PalletPipsProposer; } - /** @name PalletPipsVotingResult (660) */ + /** @name PalletPipsVotingResult (657) */ interface PalletPipsVotingResult extends Struct { readonly ayesCount: u32; readonly ayesStake: u128; @@ -6833,17 +6799,17 @@ declare module '@polkadot/types/lookup' { readonly naysStake: u128; } - /** @name PalletPipsVote (661) */ + /** @name PalletPipsVote (658) */ interface PalletPipsVote extends ITuple<[bool, u128]> {} - /** @name PalletPipsSnapshotMetadata (662) */ + /** @name PalletPipsSnapshotMetadata (659) */ interface PalletPipsSnapshotMetadata extends Struct { readonly createdAt: u32; readonly madeBy: AccountId32; readonly id: u32; } - /** @name PalletPipsError (664) */ + /** @name PalletPipsError (661) */ interface PalletPipsError extends Enum { readonly isRescheduleNotByReleaseCoordinator: boolean; readonly isNotFromCommunity: boolean; @@ -6884,7 +6850,7 @@ declare module '@polkadot/types/lookup' { | 'ProposalNotInScheduledState'; } - /** @name PalletPortfolioError (673) */ + /** @name PalletPortfolioError (670) */ interface PalletPortfolioError extends Enum { readonly isPortfolioDoesNotExist: boolean; readonly isInsufficientPortfolioBalance: boolean; @@ -6923,7 +6889,7 @@ declare module '@polkadot/types/lookup' { | 'MissingOwnersPermission'; } - /** @name PalletProtocolFeeError (674) */ + /** @name PalletProtocolFeeError (671) */ interface PalletProtocolFeeError extends Enum { readonly isInsufficientAccountBalance: boolean; readonly isUnHandledImbalances: boolean; @@ -6934,16 +6900,16 @@ declare module '@polkadot/types/lookup' { | 'InsufficientSubsidyBalance'; } - /** @name PalletSchedulerScheduled (677) */ + /** @name PalletSchedulerScheduled (674) */ interface PalletSchedulerScheduled extends Struct { readonly maybeId: Option; readonly priority: u8; readonly call: FrameSupportPreimagesBounded; readonly maybePeriodic: Option>; - readonly origin: PolymeshRuntimeDevelopRuntimeOriginCaller; + readonly origin: PolymeshRuntimeTestnetRuntimeOriginCaller; } - /** @name FrameSupportPreimagesBounded (678) */ + /** @name FrameSupportPreimagesBounded (675) */ interface FrameSupportPreimagesBounded extends Enum { readonly isLegacy: boolean; readonly asLegacy: { @@ -6959,7 +6925,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Legacy' | 'Inline' | 'Lookup'; } - /** @name PalletSchedulerError (681) */ + /** @name PalletSchedulerError (678) */ interface PalletSchedulerError extends Enum { readonly isFailedToSchedule: boolean; readonly isNotFound: boolean; @@ -6974,13 +6940,13 @@ declare module '@polkadot/types/lookup' { | 'Named'; } - /** @name PolymeshPrimitivesSettlementVenue (682) */ + /** @name PolymeshPrimitivesSettlementVenue (679) */ interface PolymeshPrimitivesSettlementVenue extends Struct { readonly creator: PolymeshPrimitivesIdentityId; readonly venueType: PolymeshPrimitivesSettlementVenueType; } - /** @name PolymeshPrimitivesSettlementInstruction (686) */ + /** @name PolymeshPrimitivesSettlementInstruction (683) */ interface PolymeshPrimitivesSettlementInstruction extends Struct { readonly instructionId: u64; readonly venueId: u64; @@ -6990,7 +6956,7 @@ declare module '@polkadot/types/lookup' { readonly valueDate: Option; } - /** @name PolymeshPrimitivesSettlementLegStatus (688) */ + /** @name PolymeshPrimitivesSettlementLegStatus (685) */ interface PolymeshPrimitivesSettlementLegStatus extends Enum { readonly isPendingTokenLock: boolean; readonly isExecutionPending: boolean; @@ -6999,7 +6965,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'PendingTokenLock' | 'ExecutionPending' | 'ExecutionToBeSkipped'; } - /** @name PolymeshPrimitivesSettlementAffirmationStatus (690) */ + /** @name PolymeshPrimitivesSettlementAffirmationStatus (687) */ interface PolymeshPrimitivesSettlementAffirmationStatus extends Enum { readonly isUnknown: boolean; readonly isPending: boolean; @@ -7007,7 +6973,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Unknown' | 'Pending' | 'Affirmed'; } - /** @name PolymeshPrimitivesSettlementInstructionStatus (694) */ + /** @name PolymeshPrimitivesSettlementInstructionStatus (691) */ interface PolymeshPrimitivesSettlementInstructionStatus extends Enum { readonly isUnknown: boolean; readonly isPending: boolean; @@ -7019,7 +6985,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Unknown' | 'Pending' | 'Failed' | 'Success' | 'Rejected'; } - /** @name PalletSettlementError (695) */ + /** @name PalletSettlementError (692) */ interface PalletSettlementError extends Enum { readonly isInvalidVenue: boolean; readonly isUnauthorized: boolean; @@ -7104,19 +7070,19 @@ declare module '@polkadot/types/lookup' { | 'NumberOfVenueSignersExceeded'; } - /** @name PolymeshPrimitivesStatisticsStat1stKey (698) */ + /** @name PolymeshPrimitivesStatisticsStat1stKey (695) */ interface PolymeshPrimitivesStatisticsStat1stKey extends Struct { readonly asset: PolymeshPrimitivesStatisticsAssetScope; readonly statType: PolymeshPrimitivesStatisticsStatType; } - /** @name PolymeshPrimitivesTransferComplianceAssetTransferCompliance (699) */ + /** @name PolymeshPrimitivesTransferComplianceAssetTransferCompliance (696) */ interface PolymeshPrimitivesTransferComplianceAssetTransferCompliance extends Struct { readonly paused: bool; readonly requirements: BTreeSet; } - /** @name PalletStatisticsError (703) */ + /** @name PalletStatisticsError (700) */ interface PalletStatisticsError extends Enum { readonly isInvalidTransfer: boolean; readonly isStatTypeMissing: boolean; @@ -7135,7 +7101,7 @@ declare module '@polkadot/types/lookup' { | 'WeightLimitExceeded'; } - /** @name PalletStoError (705) */ + /** @name PalletStoError (702) */ interface PalletStoError extends Enum { readonly isUnauthorized: boolean; readonly isOverflow: boolean; @@ -7164,30 +7130,36 @@ declare module '@polkadot/types/lookup' { | 'InvestmentAmountTooLow'; } - /** @name PalletTreasuryError (706) */ + /** @name PalletTreasuryError (703) */ interface PalletTreasuryError extends Enum { readonly isInsufficientBalance: boolean; readonly isInvalidIdentity: boolean; readonly type: 'InsufficientBalance' | 'InvalidIdentity'; } - /** @name PalletUtilityError (707) */ + /** @name PalletUtilityError (704) */ interface PalletUtilityError extends Enum { readonly isTooManyCalls: boolean; readonly isInvalidSignature: boolean; readonly isTargetCddMissing: boolean; readonly isInvalidNonce: boolean; - readonly type: 'TooManyCalls' | 'InvalidSignature' | 'TargetCddMissing' | 'InvalidNonce'; + readonly isUnableToDeriveAccountId: boolean; + readonly type: + | 'TooManyCalls' + | 'InvalidSignature' + | 'TargetCddMissing' + | 'InvalidNonce' + | 'UnableToDeriveAccountId'; } - /** @name PalletBaseError (708) */ + /** @name PalletBaseError (705) */ interface PalletBaseError extends Enum { readonly isTooLong: boolean; readonly isCounterOverflow: boolean; readonly type: 'TooLong' | 'CounterOverflow'; } - /** @name PalletExternalAgentsError (710) */ + /** @name PalletExternalAgentsError (707) */ interface PalletExternalAgentsError extends Enum { readonly isNoSuchAG: boolean; readonly isUnauthorizedAgent: boolean; @@ -7204,13 +7176,13 @@ declare module '@polkadot/types/lookup' { | 'SecondaryKeyNotAuthorizedForAsset'; } - /** @name PalletRelayerSubsidy (711) */ + /** @name PalletRelayerSubsidy (708) */ interface PalletRelayerSubsidy extends Struct { readonly payingKey: AccountId32; readonly remaining: u128; } - /** @name PalletRelayerError (712) */ + /** @name PalletRelayerError (709) */ interface PalletRelayerError extends Enum { readonly isUserKeyCddMissing: boolean; readonly isPayingKeyCddMissing: boolean; @@ -7229,7 +7201,7 @@ declare module '@polkadot/types/lookup' { | 'Overflow'; } - /** @name PalletContractsWasmPrefabWasmModule (714) */ + /** @name PalletContractsWasmPrefabWasmModule (711) */ interface PalletContractsWasmPrefabWasmModule extends Struct { readonly instructionWeightsVersion: Compact; readonly initial: Compact; @@ -7238,14 +7210,14 @@ declare module '@polkadot/types/lookup' { readonly determinism: PalletContractsWasmDeterminism; } - /** @name PalletContractsWasmOwnerInfo (716) */ + /** @name PalletContractsWasmOwnerInfo (713) */ interface PalletContractsWasmOwnerInfo extends Struct { readonly owner: AccountId32; readonly deposit: Compact; readonly refcount: Compact; } - /** @name PalletContractsStorageContractInfo (717) */ + /** @name PalletContractsStorageContractInfo (714) */ interface PalletContractsStorageContractInfo extends Struct { readonly trieId: Bytes; readonly depositAccount: AccountId32; @@ -7257,19 +7229,19 @@ declare module '@polkadot/types/lookup' { readonly storageBaseDeposit: u128; } - /** @name PalletContractsStorageDeletedContract (720) */ + /** @name PalletContractsStorageDeletedContract (717) */ interface PalletContractsStorageDeletedContract extends Struct { readonly trieId: Bytes; } - /** @name PalletContractsSchedule (722) */ + /** @name PalletContractsSchedule (719) */ interface PalletContractsSchedule extends Struct { readonly limits: PalletContractsScheduleLimits; readonly instructionWeights: PalletContractsScheduleInstructionWeights; readonly hostFnWeights: PalletContractsScheduleHostFnWeights; } - /** @name PalletContractsScheduleLimits (723) */ + /** @name PalletContractsScheduleLimits (720) */ interface PalletContractsScheduleLimits extends Struct { readonly eventTopics: u32; readonly globals: u32; @@ -7282,7 +7254,7 @@ declare module '@polkadot/types/lookup' { readonly payloadLen: u32; } - /** @name PalletContractsScheduleInstructionWeights (724) */ + /** @name PalletContractsScheduleInstructionWeights (721) */ interface PalletContractsScheduleInstructionWeights extends Struct { readonly version: u32; readonly fallback: u32; @@ -7340,7 +7312,7 @@ declare module '@polkadot/types/lookup' { readonly i64rotr: u32; } - /** @name PalletContractsScheduleHostFnWeights (725) */ + /** @name PalletContractsScheduleHostFnWeights (722) */ interface PalletContractsScheduleHostFnWeights extends Struct { readonly caller: SpWeightsWeightV2Weight; readonly isContract: SpWeightsWeightV2Weight; @@ -7403,7 +7375,7 @@ declare module '@polkadot/types/lookup' { readonly instantiationNonce: SpWeightsWeightV2Weight; } - /** @name PalletContractsError (726) */ + /** @name PalletContractsError (723) */ interface PalletContractsError extends Enum { readonly isInvalidScheduleVersion: boolean; readonly isInvalidCallFlags: boolean; @@ -7464,7 +7436,7 @@ declare module '@polkadot/types/lookup' { | 'Indeterministic'; } - /** @name PolymeshContractsError (728) */ + /** @name PolymeshContractsError (725) */ interface PolymeshContractsError extends Enum { readonly isInvalidFuncId: boolean; readonly isInvalidRuntimeCall: boolean; @@ -7493,7 +7465,7 @@ declare module '@polkadot/types/lookup' { | 'NoUpgradesSupported'; } - /** @name PalletPreimageRequestStatus (729) */ + /** @name PalletPreimageRequestStatus (726) */ interface PalletPreimageRequestStatus extends Enum { readonly isUnrequested: boolean; readonly asUnrequested: { @@ -7509,7 +7481,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Unrequested' | 'Requested'; } - /** @name PalletPreimageError (733) */ + /** @name PalletPreimageError (730) */ interface PalletPreimageError extends Enum { readonly isTooBig: boolean; readonly isAlreadyNoted: boolean; @@ -7526,13 +7498,13 @@ declare module '@polkadot/types/lookup' { | 'NotRequested'; } - /** @name PolymeshPrimitivesNftNftCollection (734) */ + /** @name PolymeshPrimitivesNftNftCollection (731) */ interface PolymeshPrimitivesNftNftCollection extends Struct { readonly id: u64; readonly ticker: PolymeshPrimitivesTicker; } - /** @name PalletNftError (739) */ + /** @name PalletNftError (736) */ interface PalletNftError extends Enum { readonly isBalanceOverflow: boolean; readonly isBalanceUnderflow: boolean; @@ -7581,33 +7553,33 @@ declare module '@polkadot/types/lookup' { | 'SupplyUnderflow'; } - /** @name PalletTestUtilsError (740) */ + /** @name PalletTestUtilsError (737) */ type PalletTestUtilsError = Null; - /** @name FrameSystemExtensionsCheckSpecVersion (743) */ + /** @name FrameSystemExtensionsCheckSpecVersion (740) */ type FrameSystemExtensionsCheckSpecVersion = Null; - /** @name FrameSystemExtensionsCheckTxVersion (744) */ + /** @name FrameSystemExtensionsCheckTxVersion (741) */ type FrameSystemExtensionsCheckTxVersion = Null; - /** @name FrameSystemExtensionsCheckGenesis (745) */ + /** @name FrameSystemExtensionsCheckGenesis (742) */ type FrameSystemExtensionsCheckGenesis = Null; - /** @name FrameSystemExtensionsCheckNonce (748) */ + /** @name FrameSystemExtensionsCheckNonce (745) */ interface FrameSystemExtensionsCheckNonce extends Compact {} - /** @name PolymeshExtensionsCheckWeight (749) */ + /** @name PolymeshExtensionsCheckWeight (746) */ interface PolymeshExtensionsCheckWeight extends FrameSystemExtensionsCheckWeight {} - /** @name FrameSystemExtensionsCheckWeight (750) */ + /** @name FrameSystemExtensionsCheckWeight (747) */ type FrameSystemExtensionsCheckWeight = Null; - /** @name PalletTransactionPaymentChargeTransactionPayment (751) */ + /** @name PalletTransactionPaymentChargeTransactionPayment (748) */ interface PalletTransactionPaymentChargeTransactionPayment extends Compact {} - /** @name PalletPermissionsStoreCallMetadata (752) */ + /** @name PalletPermissionsStoreCallMetadata (749) */ type PalletPermissionsStoreCallMetadata = Null; - /** @name PolymeshRuntimeDevelopRuntime (753) */ - type PolymeshRuntimeDevelopRuntime = Null; + /** @name PolymeshRuntimeTestnetRuntime (750) */ + type PolymeshRuntimeTestnetRuntime = Null; } // declare module From 8689ec48494a97b22d7b20fb12c5187361912236 Mon Sep 17 00:00:00 2001 From: Prashant Bajpai Date: Fri, 5 Jan 2024 17:34:02 +0530 Subject: [PATCH 021/120] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20Add=20method=20t?= =?UTF-8?q?o=20get=20owner=20of=20a=20NFT?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/entities/Asset/NonFungible/Nft.ts | 38 ++++++++++++++- .../Asset/__tests__/NonFungible/Nft.ts | 48 +++++++++++++++++++ 2 files changed, 85 insertions(+), 1 deletion(-) diff --git a/src/api/entities/Asset/NonFungible/Nft.ts b/src/api/entities/Asset/NonFungible/Nft.ts index f9ac85835e..0256986eb5 100644 --- a/src/api/entities/Asset/NonFungible/Nft.ts +++ b/src/api/entities/Asset/NonFungible/Nft.ts @@ -1,7 +1,13 @@ import BigNumber from 'bignumber.js'; import { Context, Entity, NftCollection, redeemNft } from '~/internal'; -import { NftMetadata, OptionalArgsProcedureMethod, RedeemNftParams } from '~/types'; +import { + DefaultPortfolio, + NftMetadata, + NumberedPortfolio, + OptionalArgsProcedureMethod, + RedeemNftParams, +} from '~/types'; import { GLOBAL_BASE_IMAGE_URI_NAME, GLOBAL_BASE_TOKEN_URI_NAME, @@ -12,6 +18,7 @@ import { bigNumberToU64, bytesToString, meshMetadataKeyToMetadataKey, + meshPortfolioIdToPortfolio, stringToTicker, u64ToBigNumber, } from '~/utils/conversion'; @@ -198,6 +205,35 @@ export class Nft extends Entity { return null; } + /** + * Get owner of the NFT + */ + public async getOwner(): Promise { + const { + collection: { ticker }, + id, + context: { + polymeshApi: { + query: { + nft: { nftOwner }, + }, + }, + }, + context, + } = this; + + const rawTicker = stringToTicker(ticker, context); + const rawNftId = bigNumberToU64(id, context); + + const owner = await nftOwner(rawTicker, rawNftId); + + if (owner.isEmpty) { + return null; + } + + return meshPortfolioIdToPortfolio(owner.unwrap(), context); + } + /** * @hidden */ diff --git a/src/api/entities/Asset/__tests__/NonFungible/Nft.ts b/src/api/entities/Asset/__tests__/NonFungible/Nft.ts index cdab5677af..57ad0d2b8e 100644 --- a/src/api/entities/Asset/__tests__/NonFungible/Nft.ts +++ b/src/api/entities/Asset/__tests__/NonFungible/Nft.ts @@ -4,6 +4,7 @@ import { when } from 'jest-when'; import { Context, Entity, Nft, PolymeshTransaction } from '~/internal'; import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; import { tuple } from '~/types/utils'; +import * as utilsConversionModule from '~/utils/conversion'; jest.mock( '~/api/entities/Asset/NonFungible', @@ -380,6 +381,53 @@ describe('Nft class', () => { }); }); + describe('method: getOwner', () => { + const ticker = 'TEST'; + const id = new BigNumber(1); + let context: Context; + let nftOwnerMock: jest.Mock; + let nft: Nft; + + beforeEach(async () => { + context = dsMockUtils.getContextInstance(); + nftOwnerMock = dsMockUtils.createQueryMock('nft', 'nftOwner'); + nft = new Nft({ ticker, id }, context); + }); + + it('should return null if no owner exists', async () => { + nftOwnerMock.mockResolvedValueOnce(dsMockUtils.createMockOption()); + + const result = await nft.getOwner(); + + expect(result).toBeNull(); + }); + + it('should return the owner of the NFT', async () => { + const meshPortfolioIdToPortfolioSpy = jest.spyOn( + utilsConversionModule, + 'meshPortfolioIdToPortfolio' + ); + + const rawPortfolio = dsMockUtils.createMockPortfolioId({ + did: 'someDid', + kind: dsMockUtils.createMockPortfolioKind({ + User: dsMockUtils.createMockU64(new BigNumber(1)), + }), + }); + + nftOwnerMock.mockResolvedValueOnce(dsMockUtils.createMockOption(rawPortfolio)); + const portfolio = entityMockUtils.getNumberedPortfolioInstance(); + + when(meshPortfolioIdToPortfolioSpy) + .calledWith(rawPortfolio, context) + .mockReturnValue(portfolio); + + const result = await nft.getOwner(); + + expect(result).toBe(portfolio); + }); + }); + describe('method: toHuman', () => { it('should return a human readable version of the entity', () => { const context = dsMockUtils.getContextInstance(); From b9a85c8b077a4d59d58f022710f0e060b68f7391 Mon Sep 17 00:00:00 2001 From: Prashant Bajpai Date: Fri, 5 Jan 2024 17:49:54 +0530 Subject: [PATCH 022/120] =?UTF-8?q?fix:=20=F0=9F=90=9B=20Correct=20the=20l?= =?UTF-8?q?ogic=20of=20`nft.exists`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This adds in condition to correctly return false when checking existence for NFT id 0 --- src/api/entities/Asset/NonFungible/Nft.ts | 5 +++ .../Asset/__tests__/NonFungible/Nft.ts | 40 ++++++++++--------- 2 files changed, 26 insertions(+), 19 deletions(-) diff --git a/src/api/entities/Asset/NonFungible/Nft.ts b/src/api/entities/Asset/NonFungible/Nft.ts index f9ac85835e..dfd751c940 100644 --- a/src/api/entities/Asset/NonFungible/Nft.ts +++ b/src/api/entities/Asset/NonFungible/Nft.ts @@ -116,6 +116,11 @@ export class Nft extends Entity { collection, id, } = this; + + if (id.lte(new BigNumber(0))) { + return false; + } + const collectionId = await collection.getCollectionId(); const rawCollectionId = bigNumberToU64(collectionId, context); diff --git a/src/api/entities/Asset/__tests__/NonFungible/Nft.ts b/src/api/entities/Asset/__tests__/NonFungible/Nft.ts index cdab5677af..54d756cc97 100644 --- a/src/api/entities/Asset/__tests__/NonFungible/Nft.ts +++ b/src/api/entities/Asset/__tests__/NonFungible/Nft.ts @@ -94,19 +94,24 @@ describe('Nft class', () => { }); describe('method: exists', () => { - it('should return true when Nft Id is less than or equal to nextId for the collection', async () => { - const ticker = 'TICKER'; - const context = dsMockUtils.getContextInstance(); - const id = new BigNumber(3); - const nft = new Nft({ ticker, id }, context); + let ticker: string; + let id: BigNumber; + let context: Context; + let nft: Nft; + let nextNftIdMock: jest.Mock; + beforeEach(() => { + ticker = 'TICKER'; + context = dsMockUtils.getContextInstance(); + id = new BigNumber(3); + nft = new Nft({ ticker, id }, context); entityMockUtils.getNftCollectionInstance({ getCollectionId: id, }); - - dsMockUtils.createQueryMock('nft', 'nextNFTId', { - returnValue: new BigNumber(10), - }); + nextNftIdMock = dsMockUtils.createQueryMock('nft', 'nextNFTId'); + }); + it('should return true when Nft Id is less than or equal to nextId for the collection', async () => { + nextNftIdMock.mockResolvedValueOnce(new BigNumber(10)); const result = await nft.exists(); @@ -114,18 +119,15 @@ describe('Nft class', () => { }); it('should return false when Nft Id is greater than nextId for the collection', async () => { - const ticker = 'TICKER'; - const context = dsMockUtils.getContextInstance(); - const id = new BigNumber(3); - const nft = new Nft({ ticker, id }, context); + nextNftIdMock.mockResolvedValueOnce(new BigNumber(1)); - entityMockUtils.getNftCollectionInstance({ - getCollectionId: id, - }); + const result = await nft.exists(); - dsMockUtils.createQueryMock('nft', 'nextNFTId', { - returnValue: new BigNumber(1), - }); + expect(result).toBe(false); + }); + + it('should return false when Nft ID is 0', async () => { + nft = new Nft({ ticker, id: new BigNumber(0) }, context); const result = await nft.exists(); From 8a2e8ef0d8b7389dd70072d5fea43a7e0938982f Mon Sep 17 00:00:00 2001 From: Prashant Bajpai Date: Fri, 5 Jan 2024 18:26:09 +0530 Subject: [PATCH 023/120] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20Add=20method=20`?= =?UTF-8?q?isLocked`=20to=20NFT?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/entities/Asset/NonFungible/Nft.ts | 41 ++++++++++++++++++- .../Asset/__tests__/NonFungible/Nft.ts | 39 +++++++++++++++++- 2 files changed, 78 insertions(+), 2 deletions(-) diff --git a/src/api/entities/Asset/NonFungible/Nft.ts b/src/api/entities/Asset/NonFungible/Nft.ts index 0256986eb5..dc981606b7 100644 --- a/src/api/entities/Asset/NonFungible/Nft.ts +++ b/src/api/entities/Asset/NonFungible/Nft.ts @@ -1,8 +1,9 @@ import BigNumber from 'bignumber.js'; -import { Context, Entity, NftCollection, redeemNft } from '~/internal'; +import { Context, Entity, NftCollection, PolymeshError, redeemNft } from '~/internal'; import { DefaultPortfolio, + ErrorCode, NftMetadata, NumberedPortfolio, OptionalArgsProcedureMethod, @@ -16,9 +17,11 @@ import { } from '~/utils/constants'; import { bigNumberToU64, + boolToBoolean, bytesToString, meshMetadataKeyToMetadataKey, meshPortfolioIdToPortfolio, + portfolioToPortfolioId, stringToTicker, u64ToBigNumber, } from '~/utils/conversion'; @@ -207,6 +210,8 @@ export class Nft extends Entity { /** * Get owner of the NFT + * + * @note This method returns `null` if there is no existing holder for the token. This may happen even if the token has been redeemed/burned */ public async getOwner(): Promise { const { @@ -234,6 +239,40 @@ export class Nft extends Entity { return meshPortfolioIdToPortfolio(owner.unwrap(), context); } + /** + * Check if the NFT is locked in any settlement instruction + * + * @throws if NFT has no owner (has been redeemed) + */ + public async isLocked(): Promise { + const { + collection: { ticker }, + id, + context: { + polymeshApi: { + query: { portfolio }, + }, + }, + context, + } = this; + + const owner = await this.getOwner(); + + if (!owner) { + throw new PolymeshError({ + code: ErrorCode.DataUnavailable, + message: 'No owner was found for the NFT. The token may have been redeemed', + }); + } + + const rawLocked = await portfolio.portfolioLockedNFT(portfolioToPortfolioId(owner), [ + stringToTicker(ticker, context), + bigNumberToU64(id, context), + ]); + + return boolToBoolean(rawLocked); + } + /** * @hidden */ diff --git a/src/api/entities/Asset/__tests__/NonFungible/Nft.ts b/src/api/entities/Asset/__tests__/NonFungible/Nft.ts index 57ad0d2b8e..bfa1d71df5 100644 --- a/src/api/entities/Asset/__tests__/NonFungible/Nft.ts +++ b/src/api/entities/Asset/__tests__/NonFungible/Nft.ts @@ -1,8 +1,9 @@ import BigNumber from 'bignumber.js'; import { when } from 'jest-when'; -import { Context, Entity, Nft, PolymeshTransaction } from '~/internal'; +import { Context, Entity, Nft, PolymeshError, PolymeshTransaction } from '~/internal'; import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; +import { ErrorCode } from '~/types'; import { tuple } from '~/types/utils'; import * as utilsConversionModule from '~/utils/conversion'; @@ -428,6 +429,42 @@ describe('Nft class', () => { }); }); + describe('method: isLocked', () => { + const ticker = 'TEST'; + const id = new BigNumber(1); + let context: Context; + let nft: Nft; + let ownerSpy: jest.SpyInstance; + + beforeEach(async () => { + context = dsMockUtils.getContextInstance(); + nft = new Nft({ ticker, id }, context); + ownerSpy = jest.spyOn(nft, 'getOwner'); + }); + + it('should throw an error if NFT has no owner', () => { + ownerSpy.mockResolvedValueOnce(null); + + const error = new PolymeshError({ + code: ErrorCode.DataUnavailable, + message: 'No owner was found for the NFT. The token may have been redeemed', + }); + return expect(nft.isLocked()).rejects.toThrow(error); + }); + + it('should return whether NFT is locked in any settlement', async () => { + ownerSpy.mockResolvedValue(entityMockUtils.getDefaultPortfolioInstance()); + + dsMockUtils.createQueryMock('portfolio', 'portfolioLockedNFT', { + returnValue: dsMockUtils.createMockBool(true), + }); + + const result = await nft.isLocked(); + + expect(result).toBe(true); + }); + }); + describe('method: toHuman', () => { it('should return a human readable version of the entity', () => { const context = dsMockUtils.getContextInstance(); From 1d5249886417778f615f2325fd0d7bf290e7021e Mon Sep 17 00:00:00 2001 From: Toms Veidemanis Date: Mon, 8 Jan 2024 23:48:16 +0200 Subject: [PATCH 024/120] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20getTransactionHi?= =?UTF-8?q?story=20for=20all=20Portfolios=20for=20Identity?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/entities/Identity/Portfolios.ts | 137 +++++++++++++- src/middleware/queries.ts | 227 +++++++++++++++--------- src/middleware/typesV1.ts | 1 + 3 files changed, 276 insertions(+), 89 deletions(-) diff --git a/src/api/entities/Identity/Portfolios.ts b/src/api/entities/Identity/Portfolios.ts index 686f558744..196da9e3e3 100644 --- a/src/api/entities/Identity/Portfolios.ts +++ b/src/api/entities/Identity/Portfolios.ts @@ -1,16 +1,35 @@ import BigNumber from 'bignumber.js'; import { + Account, Context, DefaultPortfolio, deletePortfolio, + FungibleAsset, Identity, Namespace, NumberedPortfolio, PolymeshError, } from '~/internal'; -import { ErrorCode, PaginationOptions, ProcedureMethod, ResultSet } from '~/types'; -import { identityIdToString, stringToIdentityId, u64ToBigNumber } from '~/utils/conversion'; +import { portfoliosMovementsQuery, settlementsForAllPortfoliosQuery } from '~/middleware/queries'; +import { Query, SettlementResultEnum } from '~/middleware/types'; +import { + ErrorCode, + HistoricSettlement, + PaginationOptions, + ProcedureMethod, + ResultSet, + SettlementDirectionEnum, +} from '~/types'; +import { Ensured } from '~/types/utils'; +import { + addressToKey, + identityIdToString, + keyToAddress, + middlewarePortfolioToPortfolio, + stringToIdentityId, + u64ToBigNumber, +} from '~/utils/conversion'; import { createProcedureMethod, requestPaginated } from '~/utils/internal'; /** @@ -157,4 +176,118 @@ export class Portfolios extends Namespace { * - Portfolio Custodian */ public delete: ProcedureMethod<{ portfolio: BigNumber | NumberedPortfolio }, void>; + + /** + * Retrieve a list of transactions where this identity was involved. Can be filtered using parameters + * + * @param filters.account - Account involved in the settlement + * @param filters.ticker - ticker involved in the transaction + * + * @note uses the middlewareV2 + */ + public async getTransactionHistory( + filters: { + account?: string; + ticker?: string; + } = {} + ): Promise { + const { + context, + parent: { did: identityId }, + } = this; + + const { account, ticker } = filters; + + const address = account ? addressToKey(account, context) : undefined; + + const settlementsPromise = context.queryMiddleware>( + settlementsForAllPortfoliosQuery({ + identityId, + address, + ticker, + }) + ); + + const portfolioMovementsPromise = context.queryMiddleware>( + portfoliosMovementsQuery({ + identityId, + address, + ticker, + }) + ); + + const [settlementsResult, portfolioMovementsResult] = await Promise.all([ + settlementsPromise, + portfolioMovementsPromise, + ]); + + const data: HistoricSettlement[] = []; + + const getDirection = (fromId: string, toId: string): SettlementDirectionEnum => { + const fromDid = fromId.split('/')[0]; + const toDid = toId.split('/')[0]; + + if (fromDid === toDid) { + return SettlementDirectionEnum.Internal; + } + + if (fromDid === identityId) { + return SettlementDirectionEnum.Outgoing; + } + + return SettlementDirectionEnum.Incoming; + }; + + /* eslint-disable @typescript-eslint/no-non-null-assertion */ + settlementsResult.data.legs.nodes.forEach(({ settlement }) => { + const { + createdBlock, + result: settlementResult, + legs: { nodes: legs }, + } = settlement!; + + const { blockId, hash } = createdBlock!; + + data.push({ + blockNumber: new BigNumber(blockId), + blockHash: hash, + status: settlementResult as unknown as SettlementResultEnum, + accounts: legs[0].addresses.map( + (accountAddress: string) => + new Account({ address: keyToAddress(accountAddress, context) }, context) + ), + legs: legs.map(({ from, to, fromId, toId, assetId, amount }) => ({ + asset: new FungibleAsset({ ticker: assetId }, context), + amount: new BigNumber(amount).shiftedBy(-6), + direction: getDirection(fromId, toId), + from: middlewarePortfolioToPortfolio(from!, context), + to: middlewarePortfolioToPortfolio(to!, context), + })), + }); + }); + + portfolioMovementsResult.data.portfolioMovements.nodes.forEach( + ({ createdBlock, from, to, fromId, toId, assetId, amount, address: accountAddress }) => { + const { blockId, hash } = createdBlock!; + data.push({ + blockNumber: new BigNumber(blockId), + blockHash: hash, + status: SettlementResultEnum.Executed, + accounts: [new Account({ address: keyToAddress(accountAddress, context) }, context)], + legs: [ + { + asset: new FungibleAsset({ ticker: assetId }, context), + amount: new BigNumber(amount).shiftedBy(-6), + direction: getDirection(fromId, toId), + from: middlewarePortfolioToPortfolio(from!, context), + to: middlewarePortfolioToPortfolio(to!, context), + }, + ], + }); + } + ); + /* eslint-enable @typescript-eslint/no-non-null-assertion */ + + return data; + } } diff --git a/src/middleware/queries.ts b/src/middleware/queries.ts index 7ac5f8aa7c..201479ead0 100644 --- a/src/middleware/queries.ts +++ b/src/middleware/queries.ts @@ -1,4 +1,4 @@ -import { QueryOptions } from '@apollo/client/core'; +import { DocumentNode, QueryOptions } from '@apollo/client/core'; import BigNumber from 'bignumber.js'; import gql from 'graphql-tag'; @@ -991,18 +991,23 @@ type LegArgs = 'fromId' | 'toId' | 'assetId' | 'addresses'; /** * @hidden */ -function createLegFilters({ identityId, portfolioId, ticker, address }: QuerySettlementFilters): { +function createLegFilters( + { identityId, portfolioId, ticker, address }: QuerySettlementFilters, + queryAll?: boolean +): { args: string; filter: string; variables: QueryArgs; } { const args: string[] = ['$fromId: String!, $toId: String!']; - const fromIdFilters = ['fromId: { equalTo: $fromId }']; - const toIdFilters = ['toId: { equalTo: $toId }']; + const fromIdFilters = queryAll + ? ['fromId: { startsWith: $fromId }'] + : ['fromId: { equalTo: $fromId }']; + const toIdFilters = queryAll ? ['toId: { startsWith: $toId }'] : ['toId: { equalTo: $toId }']; const portfolioNumber = portfolioId ? portfolioId.toNumber() : 0; const variables: QueryArgs = { - fromId: `${identityId}/${portfolioNumber}`, - toId: `${identityId}/${portfolioNumber}`, + fromId: queryAll ? `${identityId}` : `${identityId}/${portfolioNumber}`, + toId: queryAll ? `${identityId}` : `${identityId}/${portfolioNumber}`, }; if (ticker) { @@ -1028,6 +1033,51 @@ function createLegFilters({ identityId, portfolioId, ticker, address }: QuerySet }; } +/** + * @hidden + */ +function buildSettlementsQuery(args: string, filter: string): DocumentNode { + return gql` + query SettlementsQuery + ${args} + { + legs( + ${filter} + orderBy: [${LegsOrderBy.CreatedAtAsc}, ${LegsOrderBy.InstructionIdAsc}] + ) { + nodes { + settlement { + id + createdBlock { + blockId + datetime + hash + } + result + legs { + nodes { + fromId + from { + identityId + number + } + toId + to { + identityId + number + } + assetId + amount + addresses + } + } + } + } + } + } +`; +} + /** * @hidden * @@ -1037,45 +1087,24 @@ export function settlementsQuery( filters: QuerySettlementFilters ): QueryOptions> { const { args, filter, variables } = createLegFilters(filters); - const query = gql` - query SettlementsQuery - ${args} - { - legs( - ${filter} - orderBy: [${LegsOrderBy.CreatedAtAsc}, ${LegsOrderBy.InstructionIdAsc}] - ) { - nodes { - settlement { - id - createdBlock { - blockId - datetime - hash - } - result - legs { - nodes { - fromId - from { - identityId - number - } - toId - to { - identityId - number - } - assetId - amount - addresses - } - } - } - } - } - } - `; + const query = buildSettlementsQuery(args, filter); + + return { + query, + variables, + }; +} + +/** + * @hidden + * + * Get Settlements for all Portfolios + */ +export function settlementsForAllPortfoliosQuery( + filters: Omit +): QueryOptions> { + const { args, filter, variables } = createLegFilters(filters, true); + const query = buildSettlementsQuery(args, filter); return { query, @@ -1088,23 +1117,23 @@ type PortfolioMovementArgs = 'fromId' | 'toId' | 'assetId' | 'address'; /** * @hidden */ -function createPortfolioMovementFilters({ - identityId, - portfolioId, - ticker, - address, -}: QuerySettlementFilters): { +function createPortfolioMovementFilters( + { identityId, portfolioId, ticker, address }: QuerySettlementFilters, + queryAll?: boolean +): { args: string; filter: string; variables: QueryArgs; } { const args: string[] = ['$fromId: String!, $toId: String!']; - const fromIdFilters = ['fromId: { equalTo: $fromId }']; - const toIdFilters = ['toId: { equalTo: $toId }']; + const fromIdFilters = queryAll + ? ['fromId: { startsWith: $fromId }'] + : ['fromId: { equalTo: $fromId }']; + const toIdFilters = queryAll ? ['toId: { startsWith: $toId }'] : ['toId: { equalTo: $toId }']; const portfolioNumber = portfolioId ? portfolioId.toNumber() : 0; const variables: QueryArgs = { - fromId: `${identityId}/${portfolioNumber}`, - toId: `${identityId}/${portfolioNumber}`, + fromId: queryAll ? `${identityId}` : `${identityId}/${portfolioNumber}`, + toId: queryAll ? `${identityId}` : `${identityId}/${portfolioNumber}`, }; if (ticker) { @@ -1130,6 +1159,44 @@ function createPortfolioMovementFilters({ }; } +/** + * @hidden + */ +function buildPortfolioMovementsQuery(args: string, filter: string): DocumentNode { + return gql` + query PortfolioMovementsQuery + ${args} + { + portfolioMovements( + ${filter} + orderBy: [${PortfolioMovementsOrderBy.CreatedAtAsc}, ${PortfolioMovementsOrderBy.IdAsc}] + ) { + nodes { + id + fromId + from { + identityId + number + } + toId + to { + identityId + number + } + assetId + amount + address + createdBlock { + blockId + datetime + hash + } + } + } + } +`; +} + /** * @hidden * @@ -1139,38 +1206,24 @@ export function portfolioMovementsQuery( filters: QuerySettlementFilters ): QueryOptions> { const { args, filter, variables } = createPortfolioMovementFilters(filters); - const query = gql` - query PortfolioMovementsQuery - ${args} - { - portfolioMovements( - ${filter} - orderBy: [${PortfolioMovementsOrderBy.CreatedAtAsc}, ${PortfolioMovementsOrderBy.IdAsc}] - ) { - nodes { - id - fromId - from { - identityId - number - } - toId - to { - identityId - number - } - assetId - amount - address - createdBlock { - blockId - datetime - hash - } - } - } - } - `; + const query = buildPortfolioMovementsQuery(args, filter); + + return { + query, + variables, + }; +} + +/** + * @hidden + * + * Get Settlements for all portfolios + */ +export function portfoliosMovementsQuery( + filters: Omit +): QueryOptions> { + const { args, filter, variables } = createPortfolioMovementFilters(filters, true); + const query = buildPortfolioMovementsQuery(args, filter); return { query, diff --git a/src/middleware/typesV1.ts b/src/middleware/typesV1.ts index 293e44278d..4e2b50f0cc 100644 --- a/src/middleware/typesV1.ts +++ b/src/middleware/typesV1.ts @@ -12,4 +12,5 @@ export enum SettlementDirectionEnum { None = 'None', Incoming = 'Incoming', Outgoing = 'Outgoing', + Internal = 'Internal', } From 7d2d620ddd9014aad0d67ce888c61e7c77187cce Mon Sep 17 00:00:00 2001 From: Toms Veidemanis Date: Tue, 9 Jan 2024 11:18:01 +0200 Subject: [PATCH 025/120] =?UTF-8?q?test:=20=F0=9F=92=8D=20add=20tests=20fo?= =?UTF-8?q?r=20getTransactions=20for=20Portfolios?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../entities/Identity/__tests__/Portfolios.ts | 234 ++++++++++++++++++ 1 file changed, 234 insertions(+) diff --git a/src/api/entities/Identity/__tests__/Portfolios.ts b/src/api/entities/Identity/__tests__/Portfolios.ts index 7e961312ea..c232e5ba02 100644 --- a/src/api/entities/Identity/__tests__/Portfolios.ts +++ b/src/api/entities/Identity/__tests__/Portfolios.ts @@ -11,8 +11,10 @@ import { NumberedPortfolio, PolymeshTransaction, } from '~/internal'; +import { portfoliosMovementsQuery, settlementsForAllPortfoliosQuery } from '~/middleware/queries'; import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; import { Mocked } from '~/testUtils/types'; +import { FungibleLeg, SettlementDirectionEnum, SettlementResultEnum } from '~/types'; import { tuple } from '~/types/utils'; import * as utilsConversionModule from '~/utils/conversion'; import * as utilsInternalModule from '~/utils/internal'; @@ -191,4 +193,236 @@ describe('Portfolios class', () => { expect(tx).toBe(expectedTransaction); }); }); + + describe('method: getTransactionHistory', () => { + afterAll(() => { + jest.restoreAllMocks(); + }); + + it('should return a list of transactions', async () => { + const account = 'someAccount'; + const key = 'someKey'; + + const blockNumber1 = new BigNumber(1); + const blockNumber2 = new BigNumber(2); + + const blockHash1 = 'someHash'; + const blockHash2 = 'otherHash'; + const blockHash3 = 'hash3'; + + const ticker1 = 'TICKER_1'; + const ticker2 = 'TICKER_2'; + + const amount1 = new BigNumber(1000); + const amount2 = new BigNumber(2000); + + const portfolioDid1 = 'portfolioDid1'; + const portfolioNumber1 = '0'; + + const portfolioDid2 = 'someDid'; + const portfolioNumber2 = '1'; + + const portfolioDid3 = 'someDid'; + + const portfolioId2 = new BigNumber(portfolioNumber2); + + const legs1 = [ + { + assetId: ticker1, + amount: amount1, + direction: SettlementDirectionEnum.Incoming, + addresses: ['be865155e5b6be843e99117a825e9580bb03e401a9c2ace644fff604fe624917'], + from: { + number: portfolioNumber1, + identityId: portfolioDid1, + }, + fromId: `${portfolioDid1}/${portfolioNumber1}`, + to: { + number: portfolioNumber2, + identityId: did, + }, + toId: `${did}/${portfolioNumber2}`, + }, + ]; + const legs2 = [ + { + assetId: ticker2, + amount: amount2, + direction: SettlementDirectionEnum.Outgoing, + addresses: ['be865155e5b6be843e99117a825e9580bb03e401a9c2ace644fff604fe624917'], + to: { + number: portfolioNumber1, + identityId: portfolioDid1, + }, + toId: `${portfolioDid1}/${portfolioNumber1}`, + from: { + number: portfolioNumber2, + identityId: did, + }, + fromId: `${did}/${portfolioNumber2}`, + }, + ]; + + const legs3 = [ + { + assetId: ticker2, + amount: amount2, + direction: SettlementDirectionEnum.Internal, + addresses: ['be865155e5b6be843e99117a825e9580bb03e401a9c2ace644fff604fe624917'], + to: { + number: portfolioNumber1, + identityId: did, + }, + toId: `${did}/${portfolioNumber1}`, + from: { + number: portfolioNumber2, + identityId: did, + }, + fromId: `${did}/${portfolioNumber2}`, + }, + ]; + + const settlementsResponse = { + nodes: [ + { + settlement: { + createdBlock: { + blockId: blockNumber1.toNumber(), + hash: blockHash1, + }, + result: SettlementResultEnum.Executed, + legs: { nodes: legs1 }, + }, + }, + { + settlement: { + createdBlock: { + blockId: blockNumber2.toNumber(), + hash: blockHash2, + }, + result: SettlementResultEnum.Executed, + legs: { nodes: legs2 }, + }, + }, + { + settlement: { + createdBlock: { + blockId: blockNumber2.toNumber(), + hash: blockHash3, + }, + result: SettlementResultEnum.Executed, + legs: { nodes: legs3 }, + }, + }, + ], + }; + + dsMockUtils.configureMocks({ contextOptions: { withSigningManager: true } }); + when(jest.spyOn(utilsConversionModule, 'addressToKey')) + .calledWith(account, mockContext) + .mockReturnValue(key); + + dsMockUtils.createApolloMultipleQueriesMock([ + { + query: settlementsForAllPortfoliosQuery({ + identityId: did, + address: key, + ticker: undefined, + }), + returnData: { + legs: settlementsResponse, + }, + }, + { + query: portfoliosMovementsQuery({ + identityId: did, + address: key, + ticker: undefined, + }), + returnData: { + portfolioMovements: { + nodes: [], + }, + }, + }, + ]); + + let result = await identity.portfolios.getTransactionHistory({ + account, + }); + + expect(result[0].blockNumber).toEqual(blockNumber1); + expect(result[1].blockNumber).toEqual(blockNumber2); + expect(result[0].blockHash).toBe(blockHash1); + expect(result[1].blockHash).toBe(blockHash2); + expect(result[0].legs[0].asset.ticker).toBe(ticker1); + expect(result[1].legs[0].asset.ticker).toBe(ticker2); + expect((result[0].legs[0] as FungibleLeg).amount).toEqual(amount1.div(Math.pow(10, 6))); + expect((result[1].legs[0] as FungibleLeg).amount).toEqual(amount2.div(Math.pow(10, 6))); + expect(result[0].legs[0].from.owner.did).toBe(portfolioDid1); + expect(result[0].legs[0].to.owner.did).toBe(portfolioDid2); + expect((result[0].legs[0].to as NumberedPortfolio).id).toEqual(portfolioId2); + expect(result[1].legs[0].from.owner.did).toBe(portfolioDid2); + expect((result[1].legs[0].from as NumberedPortfolio).id).toEqual(portfolioId2); + expect(result[1].legs[0].to.owner.did).toEqual(portfolioDid1); + expect(result[2].legs[0].direction).toEqual(SettlementDirectionEnum.Internal); + + dsMockUtils.createApolloMultipleQueriesMock([ + { + query: settlementsForAllPortfoliosQuery({ + identityId: did, + address: undefined, + ticker: undefined, + }), + returnData: { + legs: { + nodes: [], + }, + }, + }, + { + query: portfoliosMovementsQuery({ + identityId: did, + address: undefined, + ticker: undefined, + }), + returnData: { + portfolioMovements: { + nodes: [ + { + createdBlock: { + blockId: blockNumber1.toNumber(), + hash: 'someHash', + }, + assetId: ticker2, + amount: amount2, + address: 'be865155e5b6be843e99117a825e9580bb03e401a9c2ace644fff604fe624917', + from: { + number: portfolioNumber1, + identityId: portfolioDid1, + }, + fromId: `${portfolioDid1}/${portfolioNumber1}`, + to: { + number: portfolioNumber2, + identityId: portfolioDid1, + }, + toId: `${portfolioDid1}/${portfolioNumber2}`, + }, + ], + }, + }, + }, + ]); + + result = await identity.portfolios.getTransactionHistory(); + + expect(result[0].blockNumber).toEqual(blockNumber1); + expect(result[0].blockHash).toBe(blockHash1); + expect(result[0].legs[0].asset.ticker).toBe(ticker2); + expect((result[0].legs[0] as FungibleLeg).amount).toEqual(amount2.div(Math.pow(10, 6))); + expect(result[0].legs[0].from.owner.did).toBe(portfolioDid1); + expect(result[0].legs[0].to.owner.did).toBe(portfolioDid1); + expect((result[0].legs[0].to as NumberedPortfolio).id).toEqual(portfolioId2); + }); + }); }); From 76029831274279b3e42133733f5232f95e37a4cb Mon Sep 17 00:00:00 2001 From: Prashant Bajpai Date: Wed, 10 Jan 2024 15:05:26 +0530 Subject: [PATCH 026/120] =?UTF-8?q?fix:=20=F0=9F=90=9B=20Update=20the=20lo?= =?UTF-8?q?gic=20of=20Nft.exists?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Nft.exists now returns false if the Nft is already redeemed/burned --- src/api/entities/Asset/NonFungible/Nft.ts | 21 ++----------- .../Asset/__tests__/NonFungible/Nft.ts | 31 +++++-------------- 2 files changed, 10 insertions(+), 42 deletions(-) diff --git a/src/api/entities/Asset/NonFungible/Nft.ts b/src/api/entities/Asset/NonFungible/Nft.ts index dc981606b7..f1697dc0b7 100644 --- a/src/api/entities/Asset/NonFungible/Nft.ts +++ b/src/api/entities/Asset/NonFungible/Nft.ts @@ -114,26 +114,11 @@ export class Nft extends Entity { /** * Determine if the NFT exists on chain - * - * @note This method returns true, even if the token has been redeemed/burned */ public async exists(): Promise { - const { - context, - context: { - polymeshApi: { query }, - }, - collection, - id, - } = this; - const collectionId = await collection.getCollectionId(); - const rawCollectionId = bigNumberToU64(collectionId, context); - - // note: "nextId" is actually the last used id - const rawNextId = await query.nft.nextNFTId(rawCollectionId); - const nextId = u64ToBigNumber(rawNextId); + const owner = await this.getOwner(); - return id.lte(nextId); + return owner !== null; } /** @@ -261,7 +246,7 @@ export class Nft extends Entity { if (!owner) { throw new PolymeshError({ code: ErrorCode.DataUnavailable, - message: 'No owner was found for the NFT. The token may have been redeemed', + message: 'NFT does not exists. The token may have been redeemed', }); } diff --git a/src/api/entities/Asset/__tests__/NonFungible/Nft.ts b/src/api/entities/Asset/__tests__/NonFungible/Nft.ts index bfa1d71df5..033a2caed7 100644 --- a/src/api/entities/Asset/__tests__/NonFungible/Nft.ts +++ b/src/api/entities/Asset/__tests__/NonFungible/Nft.ts @@ -96,40 +96,23 @@ describe('Nft class', () => { }); describe('method: exists', () => { - it('should return true when Nft Id is less than or equal to nextId for the collection', async () => { + it('should return whether NFT exists or not', async () => { const ticker = 'TICKER'; const context = dsMockUtils.getContextInstance(); const id = new BigNumber(3); const nft = new Nft({ ticker, id }, context); - entityMockUtils.getNftCollectionInstance({ - getCollectionId: id, - }); + const getOwnerSpy = jest.spyOn(nft, 'getOwner'); - dsMockUtils.createQueryMock('nft', 'nextNFTId', { - returnValue: new BigNumber(10), - }); + getOwnerSpy.mockResolvedValueOnce(entityMockUtils.getDefaultPortfolioInstance()); - const result = await nft.exists(); + let result = await nft.exists(); expect(result).toBe(true); - }); - it('should return false when Nft Id is greater than nextId for the collection', async () => { - const ticker = 'TICKER'; - const context = dsMockUtils.getContextInstance(); - const id = new BigNumber(3); - const nft = new Nft({ ticker, id }, context); - - entityMockUtils.getNftCollectionInstance({ - getCollectionId: id, - }); - - dsMockUtils.createQueryMock('nft', 'nextNFTId', { - returnValue: new BigNumber(1), - }); + getOwnerSpy.mockResolvedValueOnce(null); - const result = await nft.exists(); + result = await nft.exists(); expect(result).toBe(false); }); @@ -447,7 +430,7 @@ describe('Nft class', () => { const error = new PolymeshError({ code: ErrorCode.DataUnavailable, - message: 'No owner was found for the NFT. The token may have been redeemed', + message: 'NFT does not exists. The token may have been redeemed', }); return expect(nft.isLocked()).rejects.toThrow(error); }); From 008a0ab672f674ab0e33d4241366fee8b8d7fce2 Mon Sep 17 00:00:00 2001 From: Toms Veidemanis Date: Wed, 10 Jan 2024 00:49:45 +0200 Subject: [PATCH 027/120] =?UTF-8?q?refactor:=20=F0=9F=92=A1=20pr=20comment?= =?UTF-8?q?s=20+=20sonar?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/entities/Identity/Portfolios.ts | 80 ++------------ .../entities/Identity/__tests__/Portfolios.ts | 36 ++++++- src/api/entities/Portfolio/index.ts | 74 ++----------- src/middleware/typesV1.ts | 1 - src/utils/conversion.ts | 100 +++++++++++++++++- 5 files changed, 144 insertions(+), 147 deletions(-) diff --git a/src/api/entities/Identity/Portfolios.ts b/src/api/entities/Identity/Portfolios.ts index 196da9e3e3..d4b3167811 100644 --- a/src/api/entities/Identity/Portfolios.ts +++ b/src/api/entities/Identity/Portfolios.ts @@ -1,33 +1,29 @@ import BigNumber from 'bignumber.js'; import { - Account, Context, DefaultPortfolio, deletePortfolio, - FungibleAsset, Identity, Namespace, NumberedPortfolio, PolymeshError, } from '~/internal'; import { portfoliosMovementsQuery, settlementsForAllPortfoliosQuery } from '~/middleware/queries'; -import { Query, SettlementResultEnum } from '~/middleware/types'; +import { Query } from '~/middleware/types'; import { ErrorCode, HistoricSettlement, PaginationOptions, ProcedureMethod, ResultSet, - SettlementDirectionEnum, } from '~/types'; import { Ensured } from '~/types/utils'; import { addressToKey, identityIdToString, - keyToAddress, - middlewarePortfolioToPortfolio, stringToIdentityId, + toHistoricalSettlements, u64ToBigNumber, } from '~/utils/conversion'; import { createProcedureMethod, requestPaginated } from '~/utils/internal'; @@ -221,73 +217,11 @@ export class Portfolios extends Namespace { portfolioMovementsPromise, ]); - const data: HistoricSettlement[] = []; - - const getDirection = (fromId: string, toId: string): SettlementDirectionEnum => { - const fromDid = fromId.split('/')[0]; - const toDid = toId.split('/')[0]; - - if (fromDid === toDid) { - return SettlementDirectionEnum.Internal; - } - - if (fromDid === identityId) { - return SettlementDirectionEnum.Outgoing; - } - - return SettlementDirectionEnum.Incoming; - }; - - /* eslint-disable @typescript-eslint/no-non-null-assertion */ - settlementsResult.data.legs.nodes.forEach(({ settlement }) => { - const { - createdBlock, - result: settlementResult, - legs: { nodes: legs }, - } = settlement!; - - const { blockId, hash } = createdBlock!; - - data.push({ - blockNumber: new BigNumber(blockId), - blockHash: hash, - status: settlementResult as unknown as SettlementResultEnum, - accounts: legs[0].addresses.map( - (accountAddress: string) => - new Account({ address: keyToAddress(accountAddress, context) }, context) - ), - legs: legs.map(({ from, to, fromId, toId, assetId, amount }) => ({ - asset: new FungibleAsset({ ticker: assetId }, context), - amount: new BigNumber(amount).shiftedBy(-6), - direction: getDirection(fromId, toId), - from: middlewarePortfolioToPortfolio(from!, context), - to: middlewarePortfolioToPortfolio(to!, context), - })), - }); - }); - - portfolioMovementsResult.data.portfolioMovements.nodes.forEach( - ({ createdBlock, from, to, fromId, toId, assetId, amount, address: accountAddress }) => { - const { blockId, hash } = createdBlock!; - data.push({ - blockNumber: new BigNumber(blockId), - blockHash: hash, - status: SettlementResultEnum.Executed, - accounts: [new Account({ address: keyToAddress(accountAddress, context) }, context)], - legs: [ - { - asset: new FungibleAsset({ ticker: assetId }, context), - amount: new BigNumber(amount).shiftedBy(-6), - direction: getDirection(fromId, toId), - from: middlewarePortfolioToPortfolio(from!, context), - to: middlewarePortfolioToPortfolio(to!, context), - }, - ], - }); - } + return toHistoricalSettlements( + settlementsResult, + portfolioMovementsResult, + identityId, + context ); - /* eslint-enable @typescript-eslint/no-non-null-assertion */ - - return data; } } diff --git a/src/api/entities/Identity/__tests__/Portfolios.ts b/src/api/entities/Identity/__tests__/Portfolios.ts index c232e5ba02..fe5f2e42b5 100644 --- a/src/api/entities/Identity/__tests__/Portfolios.ts +++ b/src/api/entities/Identity/__tests__/Portfolios.ts @@ -222,8 +222,6 @@ describe('Portfolios class', () => { const portfolioDid2 = 'someDid'; const portfolioNumber2 = '1'; - const portfolioDid3 = 'someDid'; - const portfolioId2 = new BigNumber(portfolioNumber2); const legs1 = [ @@ -267,7 +265,7 @@ describe('Portfolios class', () => { { assetId: ticker2, amount: amount2, - direction: SettlementDirectionEnum.Internal, + direction: SettlementDirectionEnum.None, addresses: ['be865155e5b6be843e99117a825e9580bb03e401a9c2ace644fff604fe624917'], to: { number: portfolioNumber1, @@ -282,6 +280,25 @@ describe('Portfolios class', () => { }, ]; + const legs4 = [ + { + assetId: ticker2, + amount: amount2, + direction: SettlementDirectionEnum.None, + addresses: ['be865155e5b6be843e99117a825e9580bb03e401a9c2ace644fff604fe624917'], + to: { + number: portfolioNumber1, + identityId: did, + }, + toId: `${did}/${portfolioNumber1}`, + from: { + number: portfolioNumber1, + identityId: did, + }, + fromId: `${did}/${portfolioNumber1}`, + }, + ]; + const settlementsResponse = { nodes: [ { @@ -314,6 +331,16 @@ describe('Portfolios class', () => { legs: { nodes: legs3 }, }, }, + { + settlement: { + createdBlock: { + blockId: blockNumber2.toNumber(), + hash: blockHash3, + }, + result: SettlementResultEnum.Executed, + legs: { nodes: legs4 }, + }, + }, ], }; @@ -365,7 +392,8 @@ describe('Portfolios class', () => { expect(result[1].legs[0].from.owner.did).toBe(portfolioDid2); expect((result[1].legs[0].from as NumberedPortfolio).id).toEqual(portfolioId2); expect(result[1].legs[0].to.owner.did).toEqual(portfolioDid1); - expect(result[2].legs[0].direction).toEqual(SettlementDirectionEnum.Internal); + expect(result[2].legs[0].direction).toEqual(SettlementDirectionEnum.None); + expect(result[3].legs[0].direction).toEqual(SettlementDirectionEnum.None); dsMockUtils.createApolloMultipleQueriesMock([ { diff --git a/src/api/entities/Portfolio/index.ts b/src/api/entities/Portfolio/index.ts index 3e7970b09b..5e0cb9a7a7 100644 --- a/src/api/entities/Portfolio/index.ts +++ b/src/api/entities/Portfolio/index.ts @@ -2,7 +2,6 @@ import BigNumber from 'bignumber.js'; import { values } from 'lodash'; import { - Account, AuthorizationRequest, Context, Entity, @@ -16,8 +15,7 @@ import { setCustodian, } from '~/internal'; import { portfolioMovementsQuery, settlementsQuery } from '~/middleware/queries'; -import { Query, SettlementResultEnum } from '~/middleware/types'; -import { SettlementDirectionEnum } from '~/middleware/typesV1'; +import { Query } from '~/middleware/types'; import { ErrorCode, MoveFundsParams, @@ -30,10 +28,9 @@ import { addressToKey, balanceToBigNumber, identityIdToString, - keyToAddress, - middlewarePortfolioToPortfolio, portfolioIdToMeshPortfolioId, tickerToString, + toHistoricalSettlements, u64ToBigNumber, } from '~/utils/conversion'; import { @@ -435,71 +432,14 @@ export abstract class Portfolio extends Entity }); } - const data: HistoricSettlement[] = []; - const portfolioFilter = `${identityId}/${new BigNumber(portfolioId || 0).toString()}`; - const getDirection = (fromId: string, toId: string): SettlementDirectionEnum => { - if (fromId === portfolioFilter) { - return SettlementDirectionEnum.Outgoing; - } - if (toId === portfolioFilter) { - return SettlementDirectionEnum.Incoming; - } - return SettlementDirectionEnum.None; - }; - - /* eslint-disable @typescript-eslint/no-non-null-assertion */ - settlementsResult.data.legs.nodes.forEach(({ settlement }) => { - const { - createdBlock, - result: settlementResult, - legs: { nodes: legs }, - } = settlement!; - - const { blockId, hash } = createdBlock!; - - data.push({ - blockNumber: new BigNumber(blockId), - blockHash: hash, - status: settlementResult as unknown as SettlementResultEnum, - accounts: legs[0].addresses.map( - (accountAddress: string) => - new Account({ address: keyToAddress(accountAddress, context) }, context) - ), - legs: legs.map(({ from, to, fromId, toId, assetId, amount }) => ({ - asset: new FungibleAsset({ ticker: assetId }, context), - amount: new BigNumber(amount).shiftedBy(-6), - direction: getDirection(fromId, toId), - from: middlewarePortfolioToPortfolio(from!, context), - to: middlewarePortfolioToPortfolio(to!, context), - })), - }); - }); - - portfolioMovementsResult.data.portfolioMovements.nodes.forEach( - ({ createdBlock, from, to, fromId, toId, assetId, amount, address: accountAddress }) => { - const { blockId, hash } = createdBlock!; - data.push({ - blockNumber: new BigNumber(blockId), - blockHash: hash, - status: SettlementResultEnum.Executed, - accounts: [new Account({ address: keyToAddress(accountAddress, context) }, context)], - legs: [ - { - asset: new FungibleAsset({ ticker: assetId }, context), - amount: new BigNumber(amount).shiftedBy(-6), - direction: getDirection(fromId, toId), - from: middlewarePortfolioToPortfolio(from!, context), - to: middlewarePortfolioToPortfolio(to!, context), - }, - ], - }); - } + return toHistoricalSettlements( + settlementsResult, + portfolioMovementsResult, + portfolioFilter, + context ); - /* eslint-enable @typescript-eslint/no-non-null-assertion */ - - return data; } /** diff --git a/src/middleware/typesV1.ts b/src/middleware/typesV1.ts index 4e2b50f0cc..293e44278d 100644 --- a/src/middleware/typesV1.ts +++ b/src/middleware/typesV1.ts @@ -12,5 +12,4 @@ export enum SettlementDirectionEnum { None = 'None', Incoming = 'Incoming', Outgoing = 'Outgoing', - Internal = 'Internal', } diff --git a/src/utils/conversion.ts b/src/utils/conversion.ts index 3a8f185642..157911920d 100644 --- a/src/utils/conversion.ts +++ b/src/utils/conversion.ts @@ -1,3 +1,4 @@ +import { ApolloQueryResult } from '@apollo/client/core'; import { bool, Bytes, Option, Text, u8, U8aFixed, u16, u32, u64, u128, Vec } from '@polkadot/types'; import { AccountId, Balance, BlockHash, Hash, Permill } from '@polkadot/types/interfaces'; import { DispatchError, DispatchResult } from '@polkadot/types/interfaces/system'; @@ -119,8 +120,10 @@ import { Instruction, ModuleIdEnum, Portfolio as MiddlewarePortfolio, + Query, + SettlementResultEnum, } from '~/middleware/types'; -import { ClaimScopeTypeEnum, MiddlewareScope } from '~/middleware/typesV1'; +import { ClaimScopeTypeEnum, MiddlewareScope, SettlementDirectionEnum } from '~/middleware/typesV1'; import { AssetComplianceResult, AuthorizationType as MeshAuthorizationType, @@ -158,6 +161,7 @@ import { ExternalAgentCondition, FungiblePortfolioMovement, HistoricInstruction, + HistoricSettlement, IdentityCondition, IdentityWithClaims, InputCorporateActionTargets, @@ -235,7 +239,7 @@ import { StatClaimIssuer, TickerKey, } from '~/types/internal'; -import { tuple } from '~/types/utils'; +import { Ensured, tuple } from '~/types/utils'; import { IGNORE_CHECKSUM, MAX_BALANCE, @@ -4712,3 +4716,95 @@ export function toCustomClaimTypeWithIdentity( did: item.identity?.did, })); } + +/** + * @hidden + */ +export function toHistoricalSettlements( + settlementsResult: ApolloQueryResult>, + portfolioMovementsResult: ApolloQueryResult>, + filter: string, + context: Context +): HistoricSettlement[] { + const data: HistoricSettlement[] = []; + + const getDirection = (fromId: string, toId: string): SettlementDirectionEnum => { + const [fromDid] = fromId.split('/'); + const [toDid] = toId.split('/'); + const [filterDid, filterPortfolioId] = filter.split('/'); + + if (fromId === toId) { + return SettlementDirectionEnum.None; + } + + if (filterPortfolioId && fromId === filter) { + return SettlementDirectionEnum.Outgoing; + } + + if (filterPortfolioId && toId === filter) { + return SettlementDirectionEnum.Incoming; + } + + if (fromDid === filterDid && toDid !== filterDid) { + return SettlementDirectionEnum.Incoming; + } + + if (toDid === filterDid && fromDid !== filterDid) { + return SettlementDirectionEnum.Outgoing; + } + + return SettlementDirectionEnum.None; + }; + + /* eslint-disable @typescript-eslint/no-non-null-assertion */ + settlementsResult.data.legs.nodes.forEach(({ settlement }) => { + const { + createdBlock, + result: settlementResult, + legs: { nodes: legs }, + } = settlement!; + + const { blockId, hash } = createdBlock!; + + data.push({ + blockNumber: new BigNumber(blockId), + blockHash: hash, + status: settlementResult as unknown as SettlementResultEnum, + accounts: legs[0].addresses.map( + (accountAddress: string) => + new Account({ address: keyToAddress(accountAddress, context) }, context) + ), + legs: legs.map(({ from, to, fromId, toId, assetId, amount }) => ({ + asset: new FungibleAsset({ ticker: assetId }, context), + amount: new BigNumber(amount).shiftedBy(-6), + direction: getDirection(fromId, toId), + from: middlewarePortfolioToPortfolio(from!, context), + to: middlewarePortfolioToPortfolio(to!, context), + })), + }); + }); + + portfolioMovementsResult.data.portfolioMovements.nodes.forEach( + ({ createdBlock, from, to, fromId, toId, assetId, amount, address: accountAddress }) => { + const { blockId, hash } = createdBlock!; + data.push({ + blockNumber: new BigNumber(blockId), + blockHash: hash, + status: SettlementResultEnum.Executed, + accounts: [new Account({ address: keyToAddress(accountAddress, context) }, context)], + legs: [ + { + asset: new FungibleAsset({ ticker: assetId }, context), + amount: new BigNumber(amount).shiftedBy(-6), + direction: getDirection(fromId, toId), + from: middlewarePortfolioToPortfolio(from!, context), + to: middlewarePortfolioToPortfolio(to!, context), + }, + ], + }); + } + ); + /* eslint-enable @typescript-eslint/no-non-null-assertion */ + + return data.sort((a, b) => a.blockNumber.minus(b.blockNumber).toNumber()); +} From bd52c49fe312ab2fc86754f3a7d1e84a06bbeff5 Mon Sep 17 00:00:00 2001 From: Prashant Bajpai Date: Wed, 10 Jan 2024 22:19:08 +0530 Subject: [PATCH 028/120] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20Update=20polkado?= =?UTF-8?q?t=20types=20with=20ConfidentialAsset=20pallet?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/transactions.json | 14 + src/generated/types.ts | 20 +- src/polkadot/augment-api-errors.ts | 116 ++++ src/polkadot/augment-api-events.ts | 172 +++++ src/polkadot/augment-api-query.ts | 310 ++++++++- src/polkadot/augment-api-tx.ts | 286 ++++++++- src/polkadot/lookup.ts | 898 +++++++++++++++++--------- src/polkadot/registry.ts | 64 +- src/polkadot/types-lookup.ts | 991 ++++++++++++++++++++--------- 9 files changed, 2250 insertions(+), 621 deletions(-) diff --git a/scripts/transactions.json b/scripts/transactions.json index fe9f73c555..9d3255d5c8 100644 --- a/scripts/transactions.json +++ b/scripts/transactions.json @@ -486,5 +486,19 @@ "issue_nft": "issue_nft", "redeem_nft": "redeem_nft", "controller_transfer": "controller_transfer" + }, + "ConfidentialAsset": { + "create_account": "create_account", + "create_confidential_asset": "create_confidential_asset", + "mint_confidential_asset": "mint_confidential_asset", + "apply_incoming_balance": "apply_incoming_balance", + "create_venue": "create_venue", + "set_venue_filtering": "set_venue_filtering", + "allow_venues": "allow_venues", + "disallow_venues": "disallow_venues", + "add_transaction": "add_transaction", + "affirm_transactions": "affirm_transactions", + "execute_transaction": "execute_transaction", + "reject_transaction": "reject_transaction" } } diff --git a/src/generated/types.ts b/src/generated/types.ts index 128baadbd9..986f47e3dc 100644 --- a/src/generated/types.ts +++ b/src/generated/types.ts @@ -785,6 +785,21 @@ export enum NftTx { ControllerTransfer = 'nft.controllerTransfer', } +export enum ConfidentialAssetTx { + CreateAccount = 'confidentialAsset.createAccount', + CreateConfidentialAsset = 'confidentialAsset.createConfidentialAsset', + MintConfidentialAsset = 'confidentialAsset.mintConfidentialAsset', + ApplyIncomingBalance = 'confidentialAsset.applyIncomingBalance', + CreateVenue = 'confidentialAsset.createVenue', + SetVenueFiltering = 'confidentialAsset.setVenueFiltering', + AllowVenues = 'confidentialAsset.allowVenues', + DisallowVenues = 'confidentialAsset.disallowVenues', + AddTransaction = 'confidentialAsset.addTransaction', + AffirmTransactions = 'confidentialAsset.affirmTransactions', + ExecuteTransaction = 'confidentialAsset.executeTransaction', + RejectTransaction = 'confidentialAsset.rejectTransaction', +} + export enum ModuleName { System = 'system', Babe = 'babe', @@ -830,6 +845,7 @@ export enum ModuleName { Preimage = 'preimage', Contracts = 'contracts', Nft = 'nft', + ConfidentialAsset = 'confidentialAsset', } export type TxTag = @@ -876,7 +892,8 @@ export type TxTag = | PolymeshContractsTx | PreimageTx | ContractsTx - | NftTx; + | NftTx + | ConfidentialAssetTx; // eslint-disable-next-line @typescript-eslint/naming-convention export const TxTags = { @@ -924,4 +941,5 @@ export const TxTags = { preimage: PreimageTx, contracts: ContractsTx, nft: NftTx, + confidentialAsset: ConfidentialAssetTx, }; diff --git a/src/polkadot/augment-api-errors.ts b/src/polkadot/augment-api-errors.ts index 20b58ebf77..f6786cdcea 100644 --- a/src/polkadot/augment-api-errors.ts +++ b/src/polkadot/augment-api-errors.ts @@ -450,6 +450,116 @@ declare module '@polkadot/api-base/types/errors' { **/ WeightLimitExceeded: AugmentedError; }; + confidentialAsset: { + /** + * Confidential mediator account already created. + **/ + AuditorAccountAlreadyCreated: AugmentedError; + /** + * Mediator account hasn't been created yet. + **/ + AuditorAccountMissing: AugmentedError; + /** + * Confidential account already created. + **/ + ConfidentialAccountAlreadyCreated: AugmentedError; + /** + * Confidential account's balance already initialized. + **/ + ConfidentialAccountAlreadyInitialized: AugmentedError; + /** + * Confidential account hasn't been created yet. + **/ + ConfidentialAccountMissing: AugmentedError; + /** + * The confidential asset has already been created. + **/ + ConfidentialAssetAlreadyCreated: AugmentedError; + /** + * Mediator account isn't a valid CompressedEncryptionPubKey. + **/ + InvalidAuditorAccount: AugmentedError; + /** + * Confidential account isn't a valid CompressedEncryptionPubKey. + **/ + InvalidConfidentialAccount: AugmentedError; + /** + * The confidential transfer sender proof is invalid. + **/ + InvalidSenderProof: AugmentedError; + /** + * Venue does not exist. + **/ + InvalidVenue: AugmentedError; + /** + * Legs count should matches with the total number of legs in the transaction. + **/ + LegCountTooSmall: AugmentedError; + /** + * The number of confidential asset auditors doesn't meet the minimum requirement. + **/ + NotEnoughAssetAuditors: AugmentedError; + /** + * A required auditor/mediator is missing. + **/ + RequiredAssetAuditorMissing: AugmentedError; + /** + * Asset or leg has too many auditors. + **/ + TooManyAuditors: AugmentedError; + /** + * Asset or leg has too many mediators. + **/ + TooManyMediators: AugmentedError; + /** + * The balance values does not fit a confidential balance. + **/ + TotalSupplyAboveConfidentialBalanceLimit: AugmentedError; + /** + * A confidential asset's total supply must be positive. + **/ + TotalSupplyMustBePositive: AugmentedError; + /** + * A confidential asset's total supply can't go above `T::MaxTotalSupply`. + **/ + TotalSupplyOverLimit: AugmentedError; + /** + * Transaction has already been affirmed. + **/ + TransactionAlreadyAffirmed: AugmentedError; + /** + * Transaction failed to execute. + **/ + TransactionFailed: AugmentedError; + /** + * Transaction has no legs. + **/ + TransactionNoLegs: AugmentedError; + /** + * Transaction has not been affirmed. + **/ + TransactionNotAffirmed: AugmentedError; + /** + * The user is not authorized. + **/ + Unauthorized: AugmentedError; + /** + * Venue does not have required permissions. + **/ + UnauthorizedVenue: AugmentedError; + /** + * The asset id is not a registered confidential asset. + **/ + UnknownConfidentialAsset: AugmentedError; + /** + * Transaction is unknown. + **/ + UnknownTransaction: AugmentedError; + /** + * Transaction leg is unknown. + **/ + UnknownTransactionLeg: AugmentedError; + }; contracts: { /** * Code removal was denied because the code is still in use by at least one contract. @@ -1893,6 +2003,12 @@ declare module '@polkadot/api-base/types/errors' { **/ Unauthorized: AugmentedError; }; + sudo: { + /** + * Sender must be the Sudo account + **/ + RequireSudo: AugmentedError; + }; system: { /** * The origin filter prevent the call to be dispatched. diff --git a/src/polkadot/augment-api-events.ts b/src/polkadot/augment-api-events.ts index 0061a79c9c..fea182ba97 100644 --- a/src/polkadot/augment-api-events.ts +++ b/src/polkadot/augment-api-events.ts @@ -22,10 +22,17 @@ import type { import type { ITuple } from '@polkadot/types-codec/types'; import type { AccountId32, H256, Perbill, Permill } from '@polkadot/types/interfaces/runtime'; import type { + ConfidentialAssetsElgamalCipherText, FrameSupportDispatchDispatchInfo, FrameSupportTokensMiscBalanceStatus, PalletBridgeBridgeTx, PalletBridgeHandledTxStatus, + PalletConfidentialAssetAffirmParty, + PalletConfidentialAssetConfidentialAccount, + PalletConfidentialAssetConfidentialAuditors, + PalletConfidentialAssetTransactionId, + PalletConfidentialAssetTransactionLegDetails, + PalletConfidentialAssetTransactionLegId, PalletCorporateActionsBallotBallotMeta, PalletCorporateActionsBallotBallotTimeRange, PalletCorporateActionsBallotBallotVote, @@ -794,6 +801,157 @@ declare module '@polkadot/api-base/types/events' { [PolymeshPrimitivesIdentityId, PolymeshPrimitivesTicker, PolymeshPrimitivesIdentityId] >; }; + confidentialAsset: { + /** + * Event for creation of a Confidential account. + * + * caller DID, confidential account (public key) + **/ + AccountCreated: AugmentedEvent< + ApiType, + [PolymeshPrimitivesIdentityId, PalletConfidentialAssetConfidentialAccount] + >; + /** + * Confidential account balance increased. + * This happens when the receiver calls `apply_incoming_balance`. + * + * (confidential account, asset id, encrypted amount, new encrypted balance) + **/ + AccountDeposit: AugmentedEvent< + ApiType, + [ + PalletConfidentialAssetConfidentialAccount, + U8aFixed, + ConfidentialAssetsElgamalCipherText, + ConfidentialAssetsElgamalCipherText + ] + >; + /** + * Confidential account has an incoming amount. + * This happens when a transaction executes. + * + * (confidential account, asset id, encrypted amount, new encrypted incoming balance) + **/ + AccountDepositIncoming: AugmentedEvent< + ApiType, + [ + PalletConfidentialAssetConfidentialAccount, + U8aFixed, + ConfidentialAssetsElgamalCipherText, + ConfidentialAssetsElgamalCipherText + ] + >; + /** + * Confidential account balance decreased. + * This happens when the sender affirms the transaction. + * + * (confidential account, asset id, encrypted amount, new encrypted balance) + **/ + AccountWithdraw: AugmentedEvent< + ApiType, + [ + PalletConfidentialAssetConfidentialAccount, + U8aFixed, + ConfidentialAssetsElgamalCipherText, + ConfidentialAssetsElgamalCipherText + ] + >; + /** + * Event for creation of a confidential asset. + * + * (caller DID, asset id, auditors and mediators) + **/ + ConfidentialAssetCreated: AugmentedEvent< + ApiType, + [PolymeshPrimitivesIdentityId, U8aFixed, PalletConfidentialAssetConfidentialAuditors] + >; + /** + * Issued confidential assets. + * + * (caller DID, asset id, amount issued, total_supply) + **/ + Issued: AugmentedEvent; + /** + * Confidential transaction leg affirmed. + * + * (caller DID, TransactionId, TransactionLegId, AffirmParty, PendingAffirms) + **/ + TransactionAffirmed: AugmentedEvent< + ApiType, + [ + PolymeshPrimitivesIdentityId, + PalletConfidentialAssetTransactionId, + PalletConfidentialAssetTransactionLegId, + PalletConfidentialAssetAffirmParty, + u32 + ] + >; + /** + * A new transaction has been created + * + * (caller DID, venue_id, transaction_id, legs, memo) + **/ + TransactionCreated: AugmentedEvent< + ApiType, + [ + PolymeshPrimitivesIdentityId, + u64, + PalletConfidentialAssetTransactionId, + Vec, + Option + ] + >; + /** + * Confidential transaction executed. + * + * (caller DID, transaction_id, memo) + **/ + TransactionExecuted: AugmentedEvent< + ApiType, + [ + PolymeshPrimitivesIdentityId, + PalletConfidentialAssetTransactionId, + Option + ] + >; + /** + * Confidential transaction rejected. + * + * (caller DID, transaction_id, memo) + **/ + TransactionRejected: AugmentedEvent< + ApiType, + [ + PolymeshPrimitivesIdentityId, + PalletConfidentialAssetTransactionId, + Option + ] + >; + /** + * A new venue has been created. + * + * (caller DID, venue_id) + **/ + VenueCreated: AugmentedEvent; + /** + * Venue filtering changed for an asset. + * + * (caller DID, asset id, enabled) + **/ + VenueFiltering: AugmentedEvent; + /** + * Venues added to allow list. + * + * (caller DID, asset id, Vec) + **/ + VenuesAllowed: AugmentedEvent]>; + /** + * Venues removed from the allow list. + * + * (caller DID, asset id, Vec) + **/ + VenuesBlocked: AugmentedEvent]>; + }; contracts: { /** * A contract was called either by a plain account or another contract. @@ -2284,6 +2442,20 @@ declare module '@polkadot/api-base/types/events' { ] >; }; + sudo: { + /** + * The \[sudoer\] just switched identity; the old key is supplied. + **/ + KeyChanged: AugmentedEvent]>; + /** + * A sudo just took place. \[result\] + **/ + Sudid: AugmentedEvent]>; + /** + * A sudo just took place. \[result\] + **/ + SudoAsDone: AugmentedEvent]>; + }; system: { /** * `:code` was updated. diff --git a/src/polkadot/augment-api-query.ts b/src/polkadot/augment-api-query.ts index 42e077e47f..2cf03dfb47 100644 --- a/src/polkadot/augment-api-query.ts +++ b/src/polkadot/augment-api-query.ts @@ -9,6 +9,7 @@ import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/ import type { BTreeSet, Bytes, + Compact, Null, Option, U8aFixed, @@ -24,6 +25,7 @@ import type { import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types'; import type { AccountId32, Call, H256, Perbill, Permill } from '@polkadot/types/interfaces/runtime'; import type { + ConfidentialAssetsElgamalCipherText, FrameSupportDispatchPerDispatchClassWeight, FrameSystemAccountInfo, FrameSystemEventRecord, @@ -36,6 +38,16 @@ import type { PalletBalancesBalanceLock, PalletBridgeBridgeTxDetail, PalletCommitteePolymeshVotes, + PalletConfidentialAssetConfidentialAccount, + PalletConfidentialAssetConfidentialAssetDetails, + PalletConfidentialAssetConfidentialAuditors, + PalletConfidentialAssetLegParty, + PalletConfidentialAssetTransaction, + PalletConfidentialAssetTransactionId, + PalletConfidentialAssetTransactionLegDetails, + PalletConfidentialAssetTransactionLegId, + PalletConfidentialAssetTransactionLegState, + PalletConfidentialAssetTransactionStatus, PalletContractsStorageContractInfo, PalletContractsStorageDeletedContract, PalletContractsWasmOwnerInfo, @@ -124,7 +136,7 @@ import type { PolymeshPrimitivesTicker, PolymeshPrimitivesTransferComplianceAssetTransferCompliance, PolymeshPrimitivesTransferComplianceTransferConditionExemptKey, - PolymeshRuntimeTestnetRuntimeSessionKeys, + PolymeshRuntimeDevelopRuntimeSessionKeys, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, @@ -900,6 +912,281 @@ declare module '@polkadot/api-base/types/storage' { [PolymeshPrimitivesTicker] >; }; + confidentialAsset: { + /** + * Contains the encrypted balance of a confidential account. + * + * account -> asset id -> Option + **/ + accountBalance: AugmentedQuery< + ApiType, + ( + arg1: PalletConfidentialAssetConfidentialAccount | string | Uint8Array, + arg2: U8aFixed | string | Uint8Array + ) => Observable>, + [PalletConfidentialAssetConfidentialAccount, U8aFixed] + >; + /** + * Records the did for a confidential account. + * + * account -> Option. + **/ + accountDid: AugmentedQuery< + ApiType, + ( + arg: PalletConfidentialAssetConfidentialAccount | string | Uint8Array + ) => Observable>, + [PalletConfidentialAssetConfidentialAccount] + >; + /** + * Confidential asset's auditor/mediators. + * + * asset id -> Option + **/ + assetAuditors: AugmentedQuery< + ApiType, + ( + arg: U8aFixed | string | Uint8Array + ) => Observable>, + [U8aFixed] + >; + /** + * Details of the confidential asset. + * + * asset id -> Option + **/ + details: AugmentedQuery< + ApiType, + ( + arg: U8aFixed | string | Uint8Array + ) => Observable>, + [U8aFixed] + >; + /** + * Track venues created by an identity. + * Only needed for the UI. + * + * creator_did -> venue_id -> () + **/ + identityVenues: AugmentedQuery< + ApiType, + ( + arg1: PolymeshPrimitivesIdentityId | string | Uint8Array, + arg2: u64 | AnyNumber | Uint8Array + ) => Observable, + [PolymeshPrimitivesIdentityId, u64] + >; + /** + * Accumulates the encrypted incoming balance for a confidential account. + * + * account -> asset id -> Option + **/ + incomingBalance: AugmentedQuery< + ApiType, + ( + arg1: PalletConfidentialAssetConfidentialAccount | string | Uint8Array, + arg2: U8aFixed | string | Uint8Array + ) => Observable>, + [PalletConfidentialAssetConfidentialAccount, U8aFixed] + >; + /** + * Number of affirmations pending before transaction is executed. + * + * transaction_id -> Option + **/ + pendingAffirms: AugmentedQuery< + ApiType, + ( + arg: PalletConfidentialAssetTransactionId | AnyNumber | Uint8Array + ) => Observable>, + [PalletConfidentialAssetTransactionId] + >; + /** + * RngNonce - Nonce used as `subject` to `Randomness`. + **/ + rngNonce: AugmentedQuery Observable, []>; + /** + * Map a ticker to a confidential asset id. + * + * ticker -> asset id + **/ + tickerToAsset: AugmentedQuery< + ApiType, + (arg: PolymeshPrimitivesTicker | string | Uint8Array) => Observable>, + [PolymeshPrimitivesTicker] + >; + /** + * Number of transactions in the system (It's one more than the actual number) + **/ + transactionCounter: AugmentedQuery Observable>, []>; + /** + * Legs of a transaction. + * + * transaction_id -> leg_id -> Option + **/ + transactionLegs: AugmentedQuery< + ApiType, + ( + arg1: PalletConfidentialAssetTransactionId | AnyNumber | Uint8Array, + arg2: PalletConfidentialAssetTransactionLegId | AnyNumber | Uint8Array + ) => Observable>, + [PalletConfidentialAssetTransactionId, PalletConfidentialAssetTransactionLegId] + >; + /** + * All parties (identities) of a transaction. + * + * transaction_id -> identity -> bool + **/ + transactionParties: AugmentedQuery< + ApiType, + ( + arg1: PalletConfidentialAssetTransactionId | AnyNumber | Uint8Array, + arg2: PolymeshPrimitivesIdentityId | string | Uint8Array + ) => Observable, + [PalletConfidentialAssetTransactionId, PolymeshPrimitivesIdentityId] + >; + /** + * Number of parties in a transaction. + * + * transaction_id -> Option + **/ + transactionPartyCount: AugmentedQuery< + ApiType, + ( + arg: PalletConfidentialAssetTransactionId | AnyNumber | Uint8Array + ) => Observable>, + [PalletConfidentialAssetTransactionId] + >; + /** + * Details about an instruction. + * + * transaction_id -> transaction_details + **/ + transactions: AugmentedQuery< + ApiType, + ( + arg: PalletConfidentialAssetTransactionId | AnyNumber | Uint8Array + ) => Observable>, + [PalletConfidentialAssetTransactionId] + >; + /** + * Transaction statuses. + * + * transaction_id -> Option + **/ + transactionStatuses: AugmentedQuery< + ApiType, + ( + arg: PalletConfidentialAssetTransactionId | AnyNumber | Uint8Array + ) => Observable>, + [PalletConfidentialAssetTransactionId] + >; + /** + * Pending state for each leg of a transaction. + * + * transaction_id -> leg_id -> Option + **/ + txLegStates: AugmentedQuery< + ApiType, + ( + arg1: PalletConfidentialAssetTransactionId | AnyNumber | Uint8Array, + arg2: PalletConfidentialAssetTransactionLegId | AnyNumber | Uint8Array + ) => Observable>, + [PalletConfidentialAssetTransactionId, PalletConfidentialAssetTransactionLegId] + >; + /** + * Track pending transaction affirmations. + * + * identity -> (transaction_id, leg_id, leg_party) -> Option + **/ + userAffirmations: AugmentedQuery< + ApiType, + ( + arg1: PolymeshPrimitivesIdentityId | string | Uint8Array, + arg2: + | ITuple< + [ + PalletConfidentialAssetTransactionId, + PalletConfidentialAssetTransactionLegId, + PalletConfidentialAssetLegParty + ] + > + | [ + PalletConfidentialAssetTransactionId | AnyNumber | Uint8Array, + PalletConfidentialAssetTransactionLegId | AnyNumber | Uint8Array, + ( + | PalletConfidentialAssetLegParty + | 'Sender' + | 'Receiver' + | 'Mediator' + | number + | Uint8Array + ) + ] + ) => Observable>, + [ + PolymeshPrimitivesIdentityId, + ITuple< + [ + PalletConfidentialAssetTransactionId, + PalletConfidentialAssetTransactionLegId, + PalletConfidentialAssetLegParty + ] + > + ] + >; + /** + * Venues that are allowed to create transactions involving a particular asset id. + * + * asset id -> venue_id -> allowed + **/ + venueAllowList: AugmentedQuery< + ApiType, + ( + arg1: U8aFixed | string | Uint8Array, + arg2: u64 | AnyNumber | Uint8Array + ) => Observable, + [U8aFixed, u64] + >; + /** + * Number of venues in the system (It's one more than the actual number) + **/ + venueCounter: AugmentedQuery Observable, []>; + /** + * Venue creator. + * + * venue_id -> Option + **/ + venueCreator: AugmentedQuery< + ApiType, + (arg: u64 | AnyNumber | Uint8Array) => Observable>, + [u64] + >; + /** + * Venue filtering is enabled for the asset. + * + * asset id -> filtering_enabled + **/ + venueFiltering: AugmentedQuery< + ApiType, + (arg: U8aFixed | string | Uint8Array) => Observable, + [U8aFixed] + >; + /** + * Transaction created by a venue. + * Only needed for the UI. + * + * venue_id -> transaction_id -> () + **/ + venueTransactions: AugmentedQuery< + ApiType, + ( + arg1: u64 | AnyNumber | Uint8Array, + arg2: PalletConfidentialAssetTransactionId | AnyNumber | Uint8Array + ) => Observable, + [u64, PalletConfidentialAssetTransactionId] + >; + }; contracts: { /** * A mapping between an original code hash and instrumented wasm code, ready for execution. @@ -1317,6 +1604,17 @@ declare module '@polkadot/api-base/types/storage' { * change the primary key of an identity. **/ cddAuthForPrimaryKeyRotation: AugmentedQuery Observable, []>; + /** + * All child identities of a parent (i.e ParentDID, ChildDID, true) + **/ + childDid: AugmentedQuery< + ApiType, + ( + arg1: PolymeshPrimitivesIdentityId | string | Uint8Array, + arg2: PolymeshPrimitivesIdentityId | string | Uint8Array + ) => Observable, + [PolymeshPrimitivesIdentityId, PolymeshPrimitivesIdentityId] + >; /** * (Target ID, claim type) (issuer,scope) -> Associated claims **/ @@ -2272,7 +2570,7 @@ declare module '@polkadot/api-base/types/storage' { ApiType, ( arg: AccountId32 | string | Uint8Array - ) => Observable>, + ) => Observable>, [AccountId32] >; /** @@ -2286,7 +2584,7 @@ declare module '@polkadot/api-base/types/storage' { **/ queuedKeys: AugmentedQuery< ApiType, - () => Observable>>, + () => Observable>>, [] >; /** @@ -2937,6 +3235,12 @@ declare module '@polkadot/api-base/types/storage' { [PolymeshPrimitivesTicker, u64] >; }; + sudo: { + /** + * The `AccountId` of the sudo key. + **/ + key: AugmentedQuery Observable>, []>; + }; system: { /** * The full account information for a particular account ID. diff --git a/src/polkadot/augment-api-tx.ts b/src/polkadot/augment-api-tx.ts index 2b39be5380..6fcaf66355 100644 --- a/src/polkadot/augment-api-tx.ts +++ b/src/polkadot/augment-api-tx.ts @@ -37,6 +37,11 @@ import type { } from '@polkadot/types/interfaces/runtime'; import type { PalletBridgeBridgeTx, + PalletConfidentialAssetAffirmTransactions, + PalletConfidentialAssetConfidentialAccount, + PalletConfidentialAssetConfidentialAuditors, + PalletConfidentialAssetTransactionId, + PalletConfidentialAssetTransactionLeg, PalletContractsWasmDeterminism, PalletCorporateActionsBallotBallotMeta, PalletCorporateActionsBallotBallotTimeRange, @@ -105,8 +110,8 @@ import type { PolymeshPrimitivesTicker, PolymeshPrimitivesTransferComplianceTransferCondition, PolymeshPrimitivesTransferComplianceTransferConditionExemptKey, - PolymeshRuntimeTestnetRuntimeOriginCaller, - PolymeshRuntimeTestnetRuntimeSessionKeys, + PolymeshRuntimeDevelopRuntimeOriginCaller, + PolymeshRuntimeDevelopRuntimeSessionKeys, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, @@ -2015,6 +2020,185 @@ declare module '@polkadot/api-base/types/submittable' { [PolymeshPrimitivesTicker] >; }; + confidentialAsset: { + /** + * Adds a new transaction. + **/ + addTransaction: AugmentedSubmittable< + ( + venueId: u64 | AnyNumber | Uint8Array, + legs: + | Vec + | ( + | PalletConfidentialAssetTransactionLeg + | { assets?: any; sender?: any; receiver?: any; auditors?: any; mediators?: any } + | string + | Uint8Array + )[], + memo: Option | null | Uint8Array | PolymeshPrimitivesMemo | string + ) => SubmittableExtrinsic, + [u64, Vec, Option] + >; + /** + * Affirm transactions. + **/ + affirmTransactions: AugmentedSubmittable< + (transactions: PalletConfidentialAssetAffirmTransactions) => SubmittableExtrinsic, + [PalletConfidentialAssetAffirmTransactions] + >; + /** + * Allows additional venues to create instructions involving an asset. + * + * * `asset_id` - AssetId of the token in question. + * * `venues` - Array of venues that are allowed to create instructions for the token in question. + **/ + allowVenues: AugmentedSubmittable< + ( + assetId: U8aFixed | string | Uint8Array, + venues: Vec | (u64 | AnyNumber | Uint8Array)[] + ) => SubmittableExtrinsic, + [U8aFixed, Vec] + >; + /** + * Applies any incoming balance to the confidential account balance. + * + * # Arguments + * * `origin` - contains the secondary key of the caller (i.e who signed the transaction to execute this function). + * * `account` - the confidential account (Elgamal public key) of the `origin`. + * * `asset_id` - AssetId of confidential account. + * + * # Errors + * - `BadOrigin` if not signed. + **/ + applyIncomingBalance: AugmentedSubmittable< + ( + account: PalletConfidentialAssetConfidentialAccount | string | Uint8Array, + assetId: U8aFixed | string | Uint8Array + ) => SubmittableExtrinsic, + [PalletConfidentialAssetConfidentialAccount, U8aFixed] + >; + /** + * Register a confidential account. + * + * # Arguments + * * `account` the confidential account to register. + * + * # Errors + * * `BadOrigin` if `origin` isn't signed. + **/ + createAccount: AugmentedSubmittable< + ( + account: PalletConfidentialAssetConfidentialAccount | string | Uint8Array + ) => SubmittableExtrinsic, + [PalletConfidentialAssetConfidentialAccount] + >; + /** + * Initializes a new confidential security token. + * Makes the initiating account the owner of the security token + * & the balance of the owner is set to total zero. To set to total supply, `mint_confidential_asset` should + * be called after a successful call of this function. + * + * # Arguments + * * `origin` - contains the secondary key of the caller (i.e who signed the transaction to execute this function). + * + * # Errors + * - `TotalSupplyAboveLimit` if `total_supply` exceeds the limit. + * - `BadOrigin` if not signed. + **/ + createConfidentialAsset: AugmentedSubmittable< + ( + ticker: + | Option + | null + | Uint8Array + | PolymeshPrimitivesTicker + | string, + data: Bytes | string | Uint8Array, + auditors: + | PalletConfidentialAssetConfidentialAuditors + | { auditors?: any; mediators?: any } + | string + | Uint8Array + ) => SubmittableExtrinsic, + [Option, Bytes, PalletConfidentialAssetConfidentialAuditors] + >; + /** + * Registers a new venue. + * + **/ + createVenue: AugmentedSubmittable<() => SubmittableExtrinsic, []>; + /** + * Revokes permission given to venues for creating instructions involving a particular asset. + * + * * `asset_id` - AssetId of the token in question. + * * `venues` - Array of venues that are no longer allowed to create instructions for the token in question. + **/ + disallowVenues: AugmentedSubmittable< + ( + assetId: U8aFixed | string | Uint8Array, + venues: Vec | (u64 | AnyNumber | Uint8Array)[] + ) => SubmittableExtrinsic, + [U8aFixed, Vec] + >; + /** + * Execute transaction. + **/ + executeTransaction: AugmentedSubmittable< + ( + transactionId: PalletConfidentialAssetTransactionId | AnyNumber | Uint8Array, + legCount: u32 | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [PalletConfidentialAssetTransactionId, u32] + >; + /** + * Mint more assets into the asset issuer's `account`. + * + * # Arguments + * * `origin` - contains the secondary key of the caller (i.e who signed the transaction to execute this function). + * * `asset_id` - the asset_id symbol of the token. + * * `amount` - amount of tokens to mint. + * * `account` - the asset isser's confidential account to receive the minted assets. + * + * # Errors + * - `BadOrigin` if not signed. + * - `Unauthorized` if origin is not the owner of the asset. + * - `TotalSupplyMustBePositive` if `amount` is zero. + * - `TotalSupplyAboveConfidentialBalanceLimit` if `total_supply` exceeds the confidential balance limit. + * - `UnknownConfidentialAsset` The asset_id is not a confidential asset. + **/ + mintConfidentialAsset: AugmentedSubmittable< + ( + assetId: U8aFixed | string | Uint8Array, + amount: u128 | AnyNumber | Uint8Array, + account: PalletConfidentialAssetConfidentialAccount | string | Uint8Array + ) => SubmittableExtrinsic, + [U8aFixed, u128, PalletConfidentialAssetConfidentialAccount] + >; + /** + * Reject pending transaction. + **/ + rejectTransaction: AugmentedSubmittable< + ( + transactionId: PalletConfidentialAssetTransactionId | AnyNumber | Uint8Array, + legCount: u32 | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [PalletConfidentialAssetTransactionId, u32] + >; + /** + * Enables or disabled venue filtering for a token. + * + * # Arguments + * * `asset_id` - AssetId of the token in question. + * * `enabled` - Boolean that decides if the filtering should be enabled. + **/ + setVenueFiltering: AugmentedSubmittable< + ( + assetId: U8aFixed | string | Uint8Array, + enabled: bool | boolean | Uint8Array + ) => SubmittableExtrinsic, + [U8aFixed, bool] + >; + }; contracts: { /** * Makes a call to an account, optionally transferring some balance. @@ -5151,13 +5335,13 @@ declare module '@polkadot/api-base/types/submittable' { setKeys: AugmentedSubmittable< ( keys: - | PolymeshRuntimeTestnetRuntimeSessionKeys + | PolymeshRuntimeDevelopRuntimeSessionKeys | { grandpa?: any; babe?: any; imOnline?: any; authorityDiscovery?: any } | string | Uint8Array, proof: Bytes | string | Uint8Array ) => SubmittableExtrinsic, - [PolymeshRuntimeTestnetRuntimeSessionKeys, Bytes] + [PolymeshRuntimeDevelopRuntimeSessionKeys, Bytes] >; }; settlement: { @@ -6870,6 +7054,96 @@ declare module '@polkadot/api-base/types/submittable' { [PolymeshPrimitivesTicker, u64] >; }; + sudo: { + /** + * 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_. + * + * # + * - O(1). + * - Limited storage reads. + * - One DB change. + * # + **/ + setKey: AugmentedSubmittable< + ( + updated: + | MultiAddress + | { Id: any } + | { Index: any } + | { Raw: any } + | { Address32: any } + | { Address20: any } + | string + | Uint8Array + ) => SubmittableExtrinsic, + [MultiAddress] + >; + /** + * Authenticates the sudo key and dispatches a function call with `Root` origin. + * + * The dispatch origin for this call must be _Signed_. + * + * # + * - O(1). + * - Limited storage reads. + * - One DB write (event). + * - Weight of derivative `call` execution + 10,000. + * # + **/ + sudo: AugmentedSubmittable< + (call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic, + [Call] + >; + /** + * 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_. + * + * # + * - O(1). + * - Limited storage reads. + * - One DB write (event). + * - Weight of derivative `call` execution + 10,000. + * # + **/ + sudoAs: AugmentedSubmittable< + ( + who: + | MultiAddress + | { Id: any } + | { Index: any } + | { Raw: any } + | { Address32: any } + | { Address20: any } + | string + | Uint8Array, + call: Call | IMethod | string | Uint8Array + ) => SubmittableExtrinsic, + [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_. + * + * # + * - O(1). + * - The weight of this call is defined by the caller. + * # + **/ + sudoUncheckedWeight: AugmentedSubmittable< + ( + call: Call | IMethod | string | Uint8Array, + weight: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array + ) => SubmittableExtrinsic, + [Call, SpWeightsWeightV2Weight] + >; + }; system: { /** * Kill all storage items with a key that starts with the given prefix. @@ -7619,7 +7893,7 @@ declare module '@polkadot/api-base/types/submittable' { dispatchAs: AugmentedSubmittable< ( asOrigin: - | PolymeshRuntimeTestnetRuntimeOriginCaller + | PolymeshRuntimeDevelopRuntimeOriginCaller | { system: any } | { Void: any } | { PolymeshCommittee: any } @@ -7629,7 +7903,7 @@ declare module '@polkadot/api-base/types/submittable' { | Uint8Array, call: Call | IMethod | string | Uint8Array ) => SubmittableExtrinsic, - [PolymeshRuntimeTestnetRuntimeOriginCaller, Call] + [PolymeshRuntimeDevelopRuntimeOriginCaller, Call] >; /** * Send a batch of dispatch calls. diff --git a/src/polkadot/lookup.ts b/src/polkadot/lookup.ts index d97bc183ab..611dbc7e6b 100644 --- a/src/polkadot/lookup.ts +++ b/src/polkadot/lookup.ts @@ -61,7 +61,7 @@ export default { }, }, /** - * Lookup18: frame_system::EventRecord + * Lookup18: frame_system::EventRecord **/ FrameSystemEventRecord: { phase: 'FrameSystemPhase', @@ -671,7 +671,7 @@ export default { }, }, /** - * Lookup75: polymesh_common_utilities::traits::group::RawEvent + * Lookup75: polymesh_common_utilities::traits::group::RawEvent **/ PolymeshCommonUtilitiesGroupRawEventInstance2: { _enum: { @@ -722,7 +722,7 @@ export default { }, }, /** - * Lookup83: polymesh_common_utilities::traits::group::RawEvent + * Lookup83: polymesh_common_utilities::traits::group::RawEvent **/ PolymeshCommonUtilitiesGroupRawEventInstance1: { _enum: { @@ -764,7 +764,7 @@ export default { **/ PalletCommitteeInstance3: 'Null', /** - * Lookup87: polymesh_common_utilities::traits::group::RawEvent + * Lookup87: polymesh_common_utilities::traits::group::RawEvent **/ PolymeshCommonUtilitiesGroupRawEventInstance3: { _enum: { @@ -806,7 +806,7 @@ export default { **/ PalletCommitteeInstance4: 'Null', /** - * Lookup91: polymesh_common_utilities::traits::group::RawEvent + * Lookup91: polymesh_common_utilities::traits::group::RawEvent **/ PolymeshCommonUtilitiesGroupRawEventInstance4: { _enum: { @@ -1015,7 +1015,17 @@ export default { value: 'Compact', }, /** - * Lookup122: polymesh_common_utilities::traits::asset::RawEvent + * Lookup122: pallet_sudo::RawEvent + **/ + PalletSudoRawEvent: { + _enum: { + Sudid: 'Result', + KeyChanged: 'Option', + SudoAsDone: 'Result', + }, + }, + /** + * Lookup123: polymesh_common_utilities::traits::asset::RawEvent **/ PolymeshCommonUtilitiesAssetRawEvent: { _enum: { @@ -1066,7 +1076,7 @@ export default { }, }, /** - * Lookup123: polymesh_primitives::asset::AssetType + * Lookup124: polymesh_primitives::asset::AssetType **/ PolymeshPrimitivesAssetAssetType: { _enum: { @@ -1085,7 +1095,7 @@ export default { }, }, /** - * Lookup125: polymesh_primitives::asset::NonFungibleType + * Lookup126: polymesh_primitives::asset::NonFungibleType **/ PolymeshPrimitivesAssetNonFungibleType: { _enum: { @@ -1096,7 +1106,7 @@ export default { }, }, /** - * Lookup128: polymesh_primitives::asset_identifier::AssetIdentifier + * Lookup129: polymesh_primitives::asset_identifier::AssetIdentifier **/ PolymeshPrimitivesAssetIdentifier: { _enum: { @@ -1108,7 +1118,7 @@ export default { }, }, /** - * Lookup134: polymesh_primitives::document::Document + * Lookup135: polymesh_primitives::document::Document **/ PolymeshPrimitivesDocument: { uri: 'Bytes', @@ -1118,7 +1128,7 @@ export default { filingDate: 'Option', }, /** - * Lookup136: polymesh_primitives::document_hash::DocumentHash + * Lookup137: polymesh_primitives::document_hash::DocumentHash **/ PolymeshPrimitivesDocumentHash: { _enum: { @@ -1134,14 +1144,14 @@ export default { }, }, /** - * Lookup147: polymesh_primitives::asset_metadata::AssetMetadataValueDetail + * Lookup148: polymesh_primitives::asset_metadata::AssetMetadataValueDetail **/ PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail: { expire: 'Option', lockStatus: 'PolymeshPrimitivesAssetMetadataAssetMetadataLockStatus', }, /** - * Lookup148: polymesh_primitives::asset_metadata::AssetMetadataLockStatus + * Lookup149: polymesh_primitives::asset_metadata::AssetMetadataLockStatus **/ PolymeshPrimitivesAssetMetadataAssetMetadataLockStatus: { _enum: { @@ -1151,7 +1161,7 @@ export default { }, }, /** - * Lookup151: polymesh_primitives::asset_metadata::AssetMetadataSpec + * Lookup152: polymesh_primitives::asset_metadata::AssetMetadataSpec **/ PolymeshPrimitivesAssetMetadataAssetMetadataSpec: { url: 'Option', @@ -1159,7 +1169,7 @@ export default { typeDef: 'Option', }, /** - * Lookup158: polymesh_primitives::asset_metadata::AssetMetadataKey + * Lookup159: polymesh_primitives::asset_metadata::AssetMetadataKey **/ PolymeshPrimitivesAssetMetadataAssetMetadataKey: { _enum: { @@ -1168,7 +1178,7 @@ export default { }, }, /** - * Lookup160: polymesh_primitives::portfolio::PortfolioUpdateReason + * Lookup161: polymesh_primitives::portfolio::PortfolioUpdateReason **/ PolymeshPrimitivesPortfolioPortfolioUpdateReason: { _enum: { @@ -1184,7 +1194,7 @@ export default { }, }, /** - * Lookup163: pallet_corporate_actions::distribution::Event + * Lookup164: pallet_corporate_actions::distribution::Event **/ PalletCorporateActionsDistributionEvent: { _enum: { @@ -1197,18 +1207,18 @@ export default { }, }, /** - * Lookup164: polymesh_primitives::event_only::EventOnly + * Lookup165: polymesh_primitives::event_only::EventOnly **/ PolymeshPrimitivesEventOnly: 'PolymeshPrimitivesIdentityId', /** - * Lookup165: pallet_corporate_actions::CAId + * Lookup166: pallet_corporate_actions::CAId **/ PalletCorporateActionsCaId: { ticker: 'PolymeshPrimitivesTicker', localId: 'u32', }, /** - * Lookup167: pallet_corporate_actions::distribution::Distribution + * Lookup168: pallet_corporate_actions::distribution::Distribution **/ PalletCorporateActionsDistribution: { from: 'PolymeshPrimitivesIdentityIdPortfolioId', @@ -1221,7 +1231,7 @@ export default { expiresAt: 'Option', }, /** - * Lookup169: polymesh_common_utilities::traits::checkpoint::Event + * Lookup170: polymesh_common_utilities::traits::checkpoint::Event **/ PolymeshCommonUtilitiesCheckpointEvent: { _enum: { @@ -1235,13 +1245,13 @@ export default { }, }, /** - * Lookup172: polymesh_common_utilities::traits::checkpoint::ScheduleCheckpoints + * Lookup173: polymesh_common_utilities::traits::checkpoint::ScheduleCheckpoints **/ PolymeshCommonUtilitiesCheckpointScheduleCheckpoints: { pending: 'BTreeSet', }, /** - * Lookup175: polymesh_common_utilities::traits::compliance_manager::Event + * Lookup176: polymesh_common_utilities::traits::compliance_manager::Event **/ PolymeshCommonUtilitiesComplianceManagerEvent: { _enum: { @@ -1262,7 +1272,7 @@ export default { }, }, /** - * Lookup176: polymesh_primitives::compliance_manager::ComplianceRequirement + * Lookup177: polymesh_primitives::compliance_manager::ComplianceRequirement **/ PolymeshPrimitivesComplianceManagerComplianceRequirement: { senderConditions: 'Vec', @@ -1270,14 +1280,14 @@ export default { id: 'u32', }, /** - * Lookup178: polymesh_primitives::condition::Condition + * Lookup179: polymesh_primitives::condition::Condition **/ PolymeshPrimitivesCondition: { conditionType: 'PolymeshPrimitivesConditionConditionType', issuers: 'Vec', }, /** - * Lookup179: polymesh_primitives::condition::ConditionType + * Lookup180: polymesh_primitives::condition::ConditionType **/ PolymeshPrimitivesConditionConditionType: { _enum: { @@ -1289,7 +1299,7 @@ export default { }, }, /** - * Lookup181: polymesh_primitives::condition::TargetIdentity + * Lookup182: polymesh_primitives::condition::TargetIdentity **/ PolymeshPrimitivesConditionTargetIdentity: { _enum: { @@ -1298,14 +1308,14 @@ export default { }, }, /** - * Lookup183: polymesh_primitives::condition::TrustedIssuer + * Lookup184: polymesh_primitives::condition::TrustedIssuer **/ PolymeshPrimitivesConditionTrustedIssuer: { issuer: 'PolymeshPrimitivesIdentityId', trustedFor: 'PolymeshPrimitivesConditionTrustedFor', }, /** - * Lookup184: polymesh_primitives::condition::TrustedFor + * Lookup185: polymesh_primitives::condition::TrustedFor **/ PolymeshPrimitivesConditionTrustedFor: { _enum: { @@ -1314,7 +1324,7 @@ export default { }, }, /** - * Lookup186: polymesh_primitives::identity_claim::ClaimType + * Lookup187: polymesh_primitives::identity_claim::ClaimType **/ PolymeshPrimitivesIdentityClaimClaimType: { _enum: { @@ -1331,7 +1341,7 @@ export default { }, }, /** - * Lookup188: pallet_corporate_actions::Event + * Lookup189: pallet_corporate_actions::Event **/ PalletCorporateActionsEvent: { _enum: { @@ -1351,20 +1361,20 @@ export default { }, }, /** - * Lookup189: pallet_corporate_actions::TargetIdentities + * Lookup190: pallet_corporate_actions::TargetIdentities **/ PalletCorporateActionsTargetIdentities: { identities: 'Vec', treatment: 'PalletCorporateActionsTargetTreatment', }, /** - * Lookup190: pallet_corporate_actions::TargetTreatment + * Lookup191: pallet_corporate_actions::TargetTreatment **/ PalletCorporateActionsTargetTreatment: { _enum: ['Include', 'Exclude'], }, /** - * Lookup192: pallet_corporate_actions::CorporateAction + * Lookup193: pallet_corporate_actions::CorporateAction **/ PalletCorporateActionsCorporateAction: { kind: 'PalletCorporateActionsCaKind', @@ -1375,7 +1385,7 @@ export default { withholdingTax: 'Vec<(PolymeshPrimitivesIdentityId,Permill)>', }, /** - * Lookup193: pallet_corporate_actions::CAKind + * Lookup194: pallet_corporate_actions::CAKind **/ PalletCorporateActionsCaKind: { _enum: [ @@ -1387,14 +1397,14 @@ export default { ], }, /** - * Lookup195: pallet_corporate_actions::RecordDate + * Lookup196: pallet_corporate_actions::RecordDate **/ PalletCorporateActionsRecordDate: { date: 'u64', checkpoint: 'PalletCorporateActionsCaCheckpoint', }, /** - * Lookup196: pallet_corporate_actions::CACheckpoint + * Lookup197: pallet_corporate_actions::CACheckpoint **/ PalletCorporateActionsCaCheckpoint: { _enum: { @@ -1403,7 +1413,7 @@ export default { }, }, /** - * Lookup201: pallet_corporate_actions::ballot::Event + * Lookup202: pallet_corporate_actions::ballot::Event **/ PalletCorporateActionsBallotEvent: { _enum: { @@ -1420,21 +1430,21 @@ export default { }, }, /** - * Lookup202: pallet_corporate_actions::ballot::BallotTimeRange + * Lookup203: pallet_corporate_actions::ballot::BallotTimeRange **/ PalletCorporateActionsBallotBallotTimeRange: { start: 'u64', end: 'u64', }, /** - * Lookup203: pallet_corporate_actions::ballot::BallotMeta + * Lookup204: pallet_corporate_actions::ballot::BallotMeta **/ PalletCorporateActionsBallotBallotMeta: { title: 'Bytes', motions: 'Vec', }, /** - * Lookup206: pallet_corporate_actions::ballot::Motion + * Lookup207: pallet_corporate_actions::ballot::Motion **/ PalletCorporateActionsBallotMotion: { title: 'Bytes', @@ -1442,14 +1452,14 @@ export default { choices: 'Vec', }, /** - * Lookup212: pallet_corporate_actions::ballot::BallotVote + * Lookup213: pallet_corporate_actions::ballot::BallotVote **/ PalletCorporateActionsBallotBallotVote: { power: 'u128', fallback: 'Option', }, /** - * Lookup215: pallet_pips::RawEvent + * Lookup216: pallet_pips::RawEvent **/ PalletPipsRawEvent: { _enum: { @@ -1479,7 +1489,7 @@ export default { }, }, /** - * Lookup216: pallet_pips::Proposer + * Lookup217: pallet_pips::Proposer **/ PalletPipsProposer: { _enum: { @@ -1488,13 +1498,13 @@ export default { }, }, /** - * Lookup217: pallet_pips::Committee + * Lookup218: pallet_pips::Committee **/ PalletPipsCommittee: { _enum: ['Technical', 'Upgrade'], }, /** - * Lookup221: pallet_pips::ProposalData + * Lookup222: pallet_pips::ProposalData **/ PalletPipsProposalData: { _enum: { @@ -1503,20 +1513,20 @@ export default { }, }, /** - * Lookup222: pallet_pips::ProposalState + * Lookup223: pallet_pips::ProposalState **/ PalletPipsProposalState: { _enum: ['Pending', 'Rejected', 'Scheduled', 'Failed', 'Executed', 'Expired'], }, /** - * Lookup225: pallet_pips::SnapshottedPip + * Lookup226: pallet_pips::SnapshottedPip **/ PalletPipsSnapshottedPip: { id: 'u32', weight: '(bool,u128)', }, /** - * Lookup231: polymesh_common_utilities::traits::portfolio::Event + * Lookup232: polymesh_common_utilities::traits::portfolio::Event **/ PolymeshCommonUtilitiesPortfolioEvent: { _enum: { @@ -1535,7 +1545,7 @@ export default { }, }, /** - * Lookup235: polymesh_primitives::portfolio::FundDescription + * Lookup236: polymesh_primitives::portfolio::FundDescription **/ PolymeshPrimitivesPortfolioFundDescription: { _enum: { @@ -1547,14 +1557,14 @@ export default { }, }, /** - * Lookup236: polymesh_primitives::nft::NFTs + * Lookup237: polymesh_primitives::nft::NFTs **/ PolymeshPrimitivesNftNfTs: { ticker: 'PolymeshPrimitivesTicker', ids: 'Vec', }, /** - * Lookup239: pallet_protocol_fee::RawEvent + * Lookup240: pallet_protocol_fee::RawEvent **/ PalletProtocolFeeRawEvent: { _enum: { @@ -1564,11 +1574,11 @@ export default { }, }, /** - * Lookup240: polymesh_primitives::PosRatio + * Lookup241: polymesh_primitives::PosRatio **/ PolymeshPrimitivesPosRatio: '(u32,u32)', /** - * Lookup241: pallet_scheduler::pallet::Event + * Lookup242: pallet_scheduler::pallet::Event **/ PalletSchedulerEvent: { _enum: { @@ -1600,7 +1610,7 @@ export default { }, }, /** - * Lookup244: polymesh_common_utilities::traits::settlement::RawEvent + * Lookup245: polymesh_common_utilities::traits::settlement::RawEvent **/ PolymeshCommonUtilitiesSettlementRawEvent: { _enum: { @@ -1634,17 +1644,17 @@ export default { }, }, /** - * Lookup247: polymesh_primitives::settlement::VenueType + * Lookup248: polymesh_primitives::settlement::VenueType **/ PolymeshPrimitivesSettlementVenueType: { _enum: ['Other', 'Distribution', 'Sto', 'Exchange'], }, /** - * Lookup250: polymesh_primitives::settlement::ReceiptMetadata + * Lookup251: polymesh_primitives::settlement::ReceiptMetadata **/ PolymeshPrimitivesSettlementReceiptMetadata: '[u8;32]', /** - * Lookup252: polymesh_primitives::settlement::SettlementType + * Lookup253: polymesh_primitives::settlement::SettlementType **/ PolymeshPrimitivesSettlementSettlementType: { _enum: { @@ -1654,7 +1664,7 @@ export default { }, }, /** - * Lookup254: polymesh_primitives::settlement::Leg + * Lookup255: polymesh_primitives::settlement::Leg **/ PolymeshPrimitivesSettlementLeg: { _enum: { @@ -1678,7 +1688,7 @@ export default { }, }, /** - * Lookup255: polymesh_common_utilities::traits::statistics::Event + * Lookup256: polymesh_common_utilities::traits::statistics::Event **/ PolymeshCommonUtilitiesStatisticsEvent: { _enum: { @@ -1697,7 +1707,7 @@ export default { }, }, /** - * Lookup256: polymesh_primitives::statistics::AssetScope + * Lookup257: polymesh_primitives::statistics::AssetScope **/ PolymeshPrimitivesStatisticsAssetScope: { _enum: { @@ -1705,27 +1715,27 @@ export default { }, }, /** - * Lookup258: polymesh_primitives::statistics::StatType + * Lookup259: polymesh_primitives::statistics::StatType **/ PolymeshPrimitivesStatisticsStatType: { op: 'PolymeshPrimitivesStatisticsStatOpType', claimIssuer: 'Option<(PolymeshPrimitivesIdentityClaimClaimType,PolymeshPrimitivesIdentityId)>', }, /** - * Lookup259: polymesh_primitives::statistics::StatOpType + * Lookup260: polymesh_primitives::statistics::StatOpType **/ PolymeshPrimitivesStatisticsStatOpType: { _enum: ['Count', 'Balance'], }, /** - * Lookup263: polymesh_primitives::statistics::StatUpdate + * Lookup264: polymesh_primitives::statistics::StatUpdate **/ PolymeshPrimitivesStatisticsStatUpdate: { key2: 'PolymeshPrimitivesStatisticsStat2ndKey', value: 'Option', }, /** - * Lookup264: polymesh_primitives::statistics::Stat2ndKey + * Lookup265: polymesh_primitives::statistics::Stat2ndKey **/ PolymeshPrimitivesStatisticsStat2ndKey: { _enum: { @@ -1734,7 +1744,7 @@ export default { }, }, /** - * Lookup265: polymesh_primitives::statistics::StatClaim + * Lookup266: polymesh_primitives::statistics::StatClaim **/ PolymeshPrimitivesStatisticsStatClaim: { _enum: { @@ -1744,7 +1754,7 @@ export default { }, }, /** - * Lookup269: polymesh_primitives::transfer_compliance::TransferCondition + * Lookup270: polymesh_primitives::transfer_compliance::TransferCondition **/ PolymeshPrimitivesTransferComplianceTransferCondition: { _enum: { @@ -1757,7 +1767,7 @@ export default { }, }, /** - * Lookup270: polymesh_primitives::transfer_compliance::TransferConditionExemptKey + * Lookup271: polymesh_primitives::transfer_compliance::TransferConditionExemptKey **/ PolymeshPrimitivesTransferComplianceTransferConditionExemptKey: { asset: 'PolymeshPrimitivesStatisticsAssetScope', @@ -1765,7 +1775,7 @@ export default { claimType: 'Option', }, /** - * Lookup272: pallet_sto::RawEvent + * Lookup273: pallet_sto::RawEvent **/ PalletStoRawEvent: { _enum: { @@ -1779,7 +1789,7 @@ export default { }, }, /** - * Lookup275: pallet_sto::Fundraiser + * Lookup276: pallet_sto::Fundraiser **/ PalletStoFundraiser: { creator: 'PolymeshPrimitivesIdentityId', @@ -1795,7 +1805,7 @@ export default { minimumInvestment: 'u128', }, /** - * Lookup277: pallet_sto::FundraiserTier + * Lookup278: pallet_sto::FundraiserTier **/ PalletStoFundraiserTier: { total: 'u128', @@ -1803,13 +1813,13 @@ export default { remaining: 'u128', }, /** - * Lookup278: pallet_sto::FundraiserStatus + * Lookup279: pallet_sto::FundraiserStatus **/ PalletStoFundraiserStatus: { _enum: ['Live', 'Frozen', 'Closed', 'ClosedEarly'], }, /** - * Lookup279: pallet_treasury::RawEvent + * Lookup280: pallet_treasury::RawEvent **/ PalletTreasuryRawEvent: { _enum: { @@ -1821,7 +1831,7 @@ export default { }, }, /** - * Lookup280: pallet_utility::pallet::Event + * Lookup281: pallet_utility::pallet::Event **/ PalletUtilityEvent: { _enum: { @@ -1849,7 +1859,7 @@ export default { }, }, /** - * Lookup284: polymesh_common_utilities::traits::base::Event + * Lookup285: polymesh_common_utilities::traits::base::Event **/ PolymeshCommonUtilitiesBaseEvent: { _enum: { @@ -1857,7 +1867,7 @@ export default { }, }, /** - * Lookup286: polymesh_common_utilities::traits::external_agents::Event + * Lookup287: polymesh_common_utilities::traits::external_agents::Event **/ PolymeshCommonUtilitiesExternalAgentsEvent: { _enum: { @@ -1874,7 +1884,7 @@ export default { }, }, /** - * Lookup287: polymesh_common_utilities::traits::relayer::RawEvent + * Lookup288: polymesh_common_utilities::traits::relayer::RawEvent **/ PolymeshCommonUtilitiesRelayerRawEvent: { _enum: { @@ -1885,7 +1895,7 @@ export default { }, }, /** - * Lookup288: pallet_contracts::pallet::Event + * Lookup289: pallet_contracts::pallet::Event **/ PalletContractsEvent: { _enum: { @@ -1923,7 +1933,7 @@ export default { }, }, /** - * Lookup289: polymesh_contracts::RawEvent + * Lookup290: polymesh_contracts::RawEvent **/ PolymeshContractsRawEvent: { _enum: { @@ -1932,25 +1942,25 @@ export default { }, }, /** - * Lookup290: polymesh_contracts::Api + * Lookup291: polymesh_contracts::Api **/ PolymeshContractsApi: { desc: '[u8;4]', major: 'u32', }, /** - * Lookup291: polymesh_contracts::ChainVersion + * Lookup292: polymesh_contracts::ChainVersion **/ PolymeshContractsChainVersion: { specVersion: 'u32', txVersion: 'u32', }, /** - * Lookup292: polymesh_contracts::chain_extension::ExtrinsicId + * Lookup293: polymesh_contracts::chain_extension::ExtrinsicId **/ PolymeshContractsChainExtensionExtrinsicId: '(u8,u8)', /** - * Lookup293: pallet_preimage::pallet::Event + * Lookup294: pallet_preimage::pallet::Event **/ PalletPreimageEvent: { _enum: { @@ -1975,7 +1985,7 @@ export default { }, }, /** - * Lookup294: polymesh_common_utilities::traits::nft::Event + * Lookup295: polymesh_common_utilities::traits::nft::Event **/ PolymeshCommonUtilitiesNftEvent: { _enum: { @@ -1985,7 +1995,7 @@ export default { }, }, /** - * Lookup296: pallet_test_utils::RawEvent + * Lookup297: pallet_test_utils::RawEvent **/ PalletTestUtilsRawEvent: { _enum: { @@ -1994,7 +2004,92 @@ export default { }, }, /** - * Lookup297: frame_system::Phase + * Lookup298: pallet_confidential_asset::pallet::Event + **/ + PalletConfidentialAssetEvent: { + _enum: { + AccountCreated: '(PolymeshPrimitivesIdentityId,PalletConfidentialAssetConfidentialAccount)', + ConfidentialAssetCreated: + '(PolymeshPrimitivesIdentityId,[u8;16],PalletConfidentialAssetConfidentialAuditors)', + Issued: '(PolymeshPrimitivesIdentityId,[u8;16],u128,u128)', + VenueCreated: '(PolymeshPrimitivesIdentityId,u64)', + VenueFiltering: '(PolymeshPrimitivesIdentityId,[u8;16],bool)', + VenuesAllowed: '(PolymeshPrimitivesIdentityId,[u8;16],Vec)', + VenuesBlocked: '(PolymeshPrimitivesIdentityId,[u8;16],Vec)', + TransactionCreated: + '(PolymeshPrimitivesIdentityId,u64,PalletConfidentialAssetTransactionId,Vec,Option)', + TransactionExecuted: + '(PolymeshPrimitivesIdentityId,PalletConfidentialAssetTransactionId,Option)', + TransactionRejected: + '(PolymeshPrimitivesIdentityId,PalletConfidentialAssetTransactionId,Option)', + TransactionAffirmed: + '(PolymeshPrimitivesIdentityId,PalletConfidentialAssetTransactionId,PalletConfidentialAssetTransactionLegId,PalletConfidentialAssetAffirmParty,u32)', + AccountWithdraw: + '(PalletConfidentialAssetConfidentialAccount,[u8;16],ConfidentialAssetsElgamalCipherText,ConfidentialAssetsElgamalCipherText)', + AccountDeposit: + '(PalletConfidentialAssetConfidentialAccount,[u8;16],ConfidentialAssetsElgamalCipherText,ConfidentialAssetsElgamalCipherText)', + AccountDepositIncoming: + '(PalletConfidentialAssetConfidentialAccount,[u8;16],ConfidentialAssetsElgamalCipherText,ConfidentialAssetsElgamalCipherText)', + }, + }, + /** + * Lookup299: pallet_confidential_asset::ConfidentialAccount + **/ + PalletConfidentialAssetConfidentialAccount: 'ConfidentialAssetsElgamalCompressedElgamalPublicKey', + /** + * Lookup300: confidential_assets::elgamal::CompressedElgamalPublicKey + **/ + ConfidentialAssetsElgamalCompressedElgamalPublicKey: '[u8;32]', + /** + * Lookup301: pallet_confidential_asset::ConfidentialAuditors + **/ + PalletConfidentialAssetConfidentialAuditors: { + auditors: 'BTreeSet', + mediators: 'BTreeSet', + }, + /** + * Lookup303: pallet_confidential_asset::AuditorAccount + **/ + PalletConfidentialAssetAuditorAccount: 'ConfidentialAssetsElgamalCompressedElgamalPublicKey', + /** + * Lookup308: pallet_confidential_asset::TransactionId + **/ + PalletConfidentialAssetTransactionId: 'Compact', + /** + * Lookup310: pallet_confidential_asset::TransactionLegDetails + **/ + PalletConfidentialAssetTransactionLegDetails: { + auditors: 'BTreeMap<[u8;16], BTreeSet>', + sender: 'PalletConfidentialAssetConfidentialAccount', + receiver: 'PalletConfidentialAssetConfidentialAccount', + mediators: 'BTreeSet', + }, + /** + * Lookup318: pallet_confidential_asset::TransactionLegId + **/ + PalletConfidentialAssetTransactionLegId: 'Compact', + /** + * Lookup320: pallet_confidential_asset::AffirmParty + **/ + PalletConfidentialAssetAffirmParty: { + _enum: { + Sender: 'PalletConfidentialAssetConfidentialTransfers', + Receiver: 'Null', + Mediator: 'Null', + }, + }, + /** + * Lookup321: pallet_confidential_asset::ConfidentialTransfers + **/ + PalletConfidentialAssetConfidentialTransfers: { + proofs: 'BTreeMap<[u8;16], Bytes>', + }, + /** + * Lookup327: confidential_assets::elgamal::CipherText + **/ + ConfidentialAssetsElgamalCipherText: '[u8;64]', + /** + * Lookup328: frame_system::Phase **/ FrameSystemPhase: { _enum: { @@ -2004,14 +2099,14 @@ export default { }, }, /** - * Lookup300: frame_system::LastRuntimeUpgradeInfo + * Lookup331: frame_system::LastRuntimeUpgradeInfo **/ FrameSystemLastRuntimeUpgradeInfo: { specVersion: 'Compact', specName: 'Text', }, /** - * Lookup303: frame_system::pallet::Call + * Lookup333: frame_system::pallet::Call **/ FrameSystemCall: { _enum: { @@ -2046,7 +2141,7 @@ export default { }, }, /** - * Lookup307: frame_system::limits::BlockWeights + * Lookup337: frame_system::limits::BlockWeights **/ FrameSystemLimitsBlockWeights: { baseBlock: 'SpWeightsWeightV2Weight', @@ -2054,7 +2149,7 @@ export default { perClass: 'FrameSupportDispatchPerDispatchClassWeightsPerClass', }, /** - * Lookup308: frame_support::dispatch::PerDispatchClass + * Lookup338: frame_support::dispatch::PerDispatchClass **/ FrameSupportDispatchPerDispatchClassWeightsPerClass: { normal: 'FrameSystemLimitsWeightsPerClass', @@ -2062,7 +2157,7 @@ export default { mandatory: 'FrameSystemLimitsWeightsPerClass', }, /** - * Lookup309: frame_system::limits::WeightsPerClass + * Lookup339: frame_system::limits::WeightsPerClass **/ FrameSystemLimitsWeightsPerClass: { baseExtrinsic: 'SpWeightsWeightV2Weight', @@ -2071,13 +2166,13 @@ export default { reserved: 'Option', }, /** - * Lookup311: frame_system::limits::BlockLength + * Lookup341: frame_system::limits::BlockLength **/ FrameSystemLimitsBlockLength: { max: 'FrameSupportDispatchPerDispatchClassU32', }, /** - * Lookup312: frame_support::dispatch::PerDispatchClass + * Lookup342: frame_support::dispatch::PerDispatchClass **/ FrameSupportDispatchPerDispatchClassU32: { normal: 'u32', @@ -2085,14 +2180,14 @@ export default { mandatory: 'u32', }, /** - * Lookup313: sp_weights::RuntimeDbWeight + * Lookup343: sp_weights::RuntimeDbWeight **/ SpWeightsRuntimeDbWeight: { read: 'u64', write: 'u64', }, /** - * Lookup314: sp_version::RuntimeVersion + * Lookup344: sp_version::RuntimeVersion **/ SpVersionRuntimeVersion: { specName: 'Text', @@ -2105,7 +2200,7 @@ export default { stateVersion: 'u8', }, /** - * Lookup319: frame_system::pallet::Error + * Lookup349: frame_system::pallet::Error **/ FrameSystemError: { _enum: [ @@ -2118,11 +2213,11 @@ export default { ], }, /** - * Lookup322: sp_consensus_babe::app::Public + * Lookup352: sp_consensus_babe::app::Public **/ SpConsensusBabeAppPublic: 'SpCoreSr25519Public', /** - * Lookup325: sp_consensus_babe::digests::NextConfigDescriptor + * Lookup355: sp_consensus_babe::digests::NextConfigDescriptor **/ SpConsensusBabeDigestsNextConfigDescriptor: { _enum: { @@ -2134,13 +2229,13 @@ export default { }, }, /** - * Lookup327: sp_consensus_babe::AllowedSlots + * Lookup357: sp_consensus_babe::AllowedSlots **/ SpConsensusBabeAllowedSlots: { _enum: ['PrimarySlots', 'PrimaryAndSecondaryPlainSlots', 'PrimaryAndSecondaryVRFSlots'], }, /** - * Lookup331: sp_consensus_babe::digests::PreDigest + * Lookup361: sp_consensus_babe::digests::PreDigest **/ SpConsensusBabeDigestsPreDigest: { _enum: { @@ -2151,7 +2246,7 @@ export default { }, }, /** - * Lookup332: sp_consensus_babe::digests::PrimaryPreDigest + * Lookup362: sp_consensus_babe::digests::PrimaryPreDigest **/ SpConsensusBabeDigestsPrimaryPreDigest: { authorityIndex: 'u32', @@ -2160,14 +2255,14 @@ export default { vrfProof: '[u8;64]', }, /** - * Lookup333: sp_consensus_babe::digests::SecondaryPlainPreDigest + * Lookup363: sp_consensus_babe::digests::SecondaryPlainPreDigest **/ SpConsensusBabeDigestsSecondaryPlainPreDigest: { authorityIndex: 'u32', slot: 'u64', }, /** - * Lookup334: sp_consensus_babe::digests::SecondaryVRFPreDigest + * Lookup364: sp_consensus_babe::digests::SecondaryVRFPreDigest **/ SpConsensusBabeDigestsSecondaryVRFPreDigest: { authorityIndex: 'u32', @@ -2176,14 +2271,14 @@ export default { vrfProof: '[u8;64]', }, /** - * Lookup335: sp_consensus_babe::BabeEpochConfiguration + * Lookup365: sp_consensus_babe::BabeEpochConfiguration **/ SpConsensusBabeBabeEpochConfiguration: { c: '(u64,u64)', allowedSlots: 'SpConsensusBabeAllowedSlots', }, /** - * Lookup339: pallet_babe::pallet::Call + * Lookup369: pallet_babe::pallet::Call **/ PalletBabeCall: { _enum: { @@ -2201,7 +2296,7 @@ export default { }, }, /** - * Lookup340: sp_consensus_slots::EquivocationProof, sp_consensus_babe::app::Public> + * Lookup370: sp_consensus_slots::EquivocationProof, sp_consensus_babe::app::Public> **/ SpConsensusSlotsEquivocationProof: { offender: 'SpConsensusBabeAppPublic', @@ -2210,7 +2305,7 @@ export default { secondHeader: 'SpRuntimeHeader', }, /** - * Lookup341: sp_runtime::generic::header::Header + * Lookup371: sp_runtime::generic::header::Header **/ SpRuntimeHeader: { parentHash: 'H256', @@ -2220,11 +2315,11 @@ export default { digest: 'SpRuntimeDigest', }, /** - * Lookup342: sp_runtime::traits::BlakeTwo256 + * Lookup372: sp_runtime::traits::BlakeTwo256 **/ SpRuntimeBlakeTwo256: 'Null', /** - * Lookup343: sp_session::MembershipProof + * Lookup373: sp_session::MembershipProof **/ SpSessionMembershipProof: { session: 'u32', @@ -2232,7 +2327,7 @@ export default { validatorCount: 'u32', }, /** - * Lookup344: pallet_babe::pallet::Error + * Lookup374: pallet_babe::pallet::Error **/ PalletBabeError: { _enum: [ @@ -2243,7 +2338,7 @@ export default { ], }, /** - * Lookup345: pallet_timestamp::pallet::Call + * Lookup375: pallet_timestamp::pallet::Call **/ PalletTimestampCall: { _enum: { @@ -2253,7 +2348,7 @@ export default { }, }, /** - * Lookup347: pallet_indices::pallet::Call + * Lookup377: pallet_indices::pallet::Call **/ PalletIndicesCall: { _enum: { @@ -2284,13 +2379,13 @@ export default { }, }, /** - * Lookup349: pallet_indices::pallet::Error + * Lookup379: pallet_indices::pallet::Error **/ PalletIndicesError: { _enum: ['NotAssigned', 'NotOwner', 'InUse', 'NotTransfer', 'Permanent'], }, /** - * Lookup351: pallet_balances::BalanceLock + * Lookup381: pallet_balances::BalanceLock **/ PalletBalancesBalanceLock: { id: '[u8;8]', @@ -2298,13 +2393,13 @@ export default { reasons: 'PolymeshCommonUtilitiesBalancesReasons', }, /** - * Lookup352: polymesh_common_utilities::traits::balances::Reasons + * Lookup382: polymesh_common_utilities::traits::balances::Reasons **/ PolymeshCommonUtilitiesBalancesReasons: { _enum: ['Fee', 'Misc', 'All'], }, /** - * Lookup353: pallet_balances::Call + * Lookup383: pallet_balances::Call **/ PalletBalancesCall: { _enum: { @@ -2336,7 +2431,7 @@ export default { }, }, /** - * Lookup354: pallet_balances::Error + * Lookup384: pallet_balances::Error **/ PalletBalancesError: { _enum: [ @@ -2348,13 +2443,13 @@ export default { ], }, /** - * Lookup356: pallet_transaction_payment::Releases + * Lookup386: pallet_transaction_payment::Releases **/ PalletTransactionPaymentReleases: { _enum: ['V1Ancient', 'V2'], }, /** - * Lookup358: sp_weights::WeightToFeeCoefficient + * Lookup388: sp_weights::WeightToFeeCoefficient **/ SpWeightsWeightToFeeCoefficient: { coeffInteger: 'u128', @@ -2363,27 +2458,27 @@ export default { degree: 'u8', }, /** - * Lookup359: polymesh_primitives::identity::DidRecord + * Lookup389: polymesh_primitives::identity::DidRecord **/ PolymeshPrimitivesIdentityDidRecord: { primaryKey: 'Option', }, /** - * Lookup361: pallet_identity::types::Claim1stKey + * Lookup391: pallet_identity::types::Claim1stKey **/ PalletIdentityClaim1stKey: { target: 'PolymeshPrimitivesIdentityId', claimType: 'PolymeshPrimitivesIdentityClaimClaimType', }, /** - * Lookup362: pallet_identity::types::Claim2ndKey + * Lookup392: pallet_identity::types::Claim2ndKey **/ PalletIdentityClaim2ndKey: { issuer: 'PolymeshPrimitivesIdentityId', scope: 'Option', }, /** - * Lookup363: polymesh_primitives::secondary_key::KeyRecord + * Lookup393: polymesh_primitives::secondary_key::KeyRecord **/ PolymeshPrimitivesSecondaryKeyKeyRecord: { _enum: { @@ -2393,7 +2488,7 @@ export default { }, }, /** - * Lookup366: polymesh_primitives::authorization::Authorization + * Lookup396: polymesh_primitives::authorization::Authorization **/ PolymeshPrimitivesAuthorization: { authorizationData: 'PolymeshPrimitivesAuthorizationAuthorizationData', @@ -2403,7 +2498,7 @@ export default { count: 'u32', }, /** - * Lookup369: pallet_identity::Call + * Lookup400: pallet_identity::Call **/ PalletIdentityCall: { _enum: { @@ -2495,21 +2590,21 @@ export default { }, }, /** - * Lookup371: polymesh_common_utilities::traits::identity::SecondaryKeyWithAuth + * Lookup402: polymesh_common_utilities::traits::identity::SecondaryKeyWithAuth **/ PolymeshCommonUtilitiesIdentitySecondaryKeyWithAuth: { secondaryKey: 'PolymeshPrimitivesSecondaryKey', authSignature: 'H512', }, /** - * Lookup374: polymesh_common_utilities::traits::identity::CreateChildIdentityWithAuth + * Lookup405: polymesh_common_utilities::traits::identity::CreateChildIdentityWithAuth **/ PolymeshCommonUtilitiesIdentityCreateChildIdentityWithAuth: { key: 'AccountId32', authSignature: 'H512', }, /** - * Lookup375: pallet_identity::Error + * Lookup406: pallet_identity::Error **/ PalletIdentityError: { _enum: [ @@ -2549,7 +2644,7 @@ export default { ], }, /** - * Lookup377: polymesh_common_utilities::traits::group::InactiveMember + * Lookup408: polymesh_common_utilities::traits::group::InactiveMember **/ PolymeshCommonUtilitiesGroupInactiveMember: { id: 'PolymeshPrimitivesIdentityId', @@ -2557,7 +2652,7 @@ export default { expiry: 'Option', }, /** - * Lookup378: pallet_group::Call + * Lookup409: pallet_group::Call **/ PalletGroupCall: { _enum: { @@ -2586,7 +2681,7 @@ export default { }, }, /** - * Lookup379: pallet_group::Error + * Lookup410: pallet_group::Error **/ PalletGroupError: { _enum: [ @@ -2600,7 +2695,7 @@ export default { ], }, /** - * Lookup381: pallet_committee::Call + * Lookup412: pallet_committee::Call **/ PalletCommitteeCall: { _enum: { @@ -2626,7 +2721,7 @@ export default { }, }, /** - * Lookup387: pallet_multisig::Call + * Lookup418: pallet_multisig::Call **/ PalletMultisigCall: { _enum: { @@ -2720,7 +2815,7 @@ export default { }, }, /** - * Lookup388: pallet_bridge::Call + * Lookup419: pallet_bridge::Call **/ PalletBridgeCall: { _enum: { @@ -2775,7 +2870,7 @@ export default { }, }, /** - * Lookup392: pallet_staking::Call + * Lookup423: pallet_staking::Call **/ PalletStakingCall: { _enum: { @@ -2901,7 +2996,7 @@ export default { }, }, /** - * Lookup393: pallet_staking::RewardDestination + * Lookup424: pallet_staking::RewardDestination **/ PalletStakingRewardDestination: { _enum: { @@ -2912,14 +3007,14 @@ export default { }, }, /** - * Lookup394: pallet_staking::ValidatorPrefs + * Lookup425: pallet_staking::ValidatorPrefs **/ PalletStakingValidatorPrefs: { commission: 'Compact', blocked: 'bool', }, /** - * Lookup400: pallet_staking::CompactAssignments + * Lookup431: pallet_staking::CompactAssignments **/ PalletStakingCompactAssignments: { votes1: 'Vec<(Compact,Compact)>', @@ -2940,7 +3035,7 @@ export default { votes16: 'Vec<(Compact,[(Compact,Compact);15],Compact)>', }, /** - * Lookup451: sp_npos_elections::ElectionScore + * Lookup482: sp_npos_elections::ElectionScore **/ SpNposElectionsElectionScore: { minimalStake: 'u128', @@ -2948,14 +3043,14 @@ export default { sumStakeSquared: 'u128', }, /** - * Lookup452: pallet_staking::ElectionSize + * Lookup483: pallet_staking::ElectionSize **/ PalletStakingElectionSize: { validators: 'Compact', nominators: 'Compact', }, /** - * Lookup453: pallet_session::pallet::Call + * Lookup484: pallet_session::pallet::Call **/ PalletSessionCall: { _enum: { @@ -2963,27 +3058,27 @@ export default { _alias: { keys_: 'keys', }, - keys_: 'PolymeshRuntimeTestnetRuntimeSessionKeys', + keys_: 'PolymeshRuntimeDevelopRuntimeSessionKeys', proof: 'Bytes', }, purge_keys: 'Null', }, }, /** - * Lookup454: polymesh_runtime_testnet::runtime::SessionKeys + * Lookup485: polymesh_runtime_develop::runtime::SessionKeys **/ - PolymeshRuntimeTestnetRuntimeSessionKeys: { + PolymeshRuntimeDevelopRuntimeSessionKeys: { grandpa: 'SpConsensusGrandpaAppPublic', babe: 'SpConsensusBabeAppPublic', imOnline: 'PalletImOnlineSr25519AppSr25519Public', authorityDiscovery: 'SpAuthorityDiscoveryAppPublic', }, /** - * Lookup455: sp_authority_discovery::app::Public + * Lookup486: sp_authority_discovery::app::Public **/ SpAuthorityDiscoveryAppPublic: 'SpCoreSr25519Public', /** - * Lookup456: pallet_grandpa::pallet::Call + * Lookup487: pallet_grandpa::pallet::Call **/ PalletGrandpaCall: { _enum: { @@ -3002,14 +3097,14 @@ export default { }, }, /** - * Lookup457: sp_consensus_grandpa::EquivocationProof + * Lookup488: sp_consensus_grandpa::EquivocationProof **/ SpConsensusGrandpaEquivocationProof: { setId: 'u64', equivocation: 'SpConsensusGrandpaEquivocation', }, /** - * Lookup458: sp_consensus_grandpa::Equivocation + * Lookup489: sp_consensus_grandpa::Equivocation **/ SpConsensusGrandpaEquivocation: { _enum: { @@ -3018,7 +3113,7 @@ export default { }, }, /** - * Lookup459: finality_grandpa::Equivocation, sp_consensus_grandpa::app::Signature> + * Lookup490: finality_grandpa::Equivocation, sp_consensus_grandpa::app::Signature> **/ FinalityGrandpaEquivocationPrevote: { roundNumber: 'u64', @@ -3027,22 +3122,22 @@ export default { second: '(FinalityGrandpaPrevote,SpConsensusGrandpaAppSignature)', }, /** - * Lookup460: finality_grandpa::Prevote + * Lookup491: finality_grandpa::Prevote **/ FinalityGrandpaPrevote: { targetHash: 'H256', targetNumber: 'u32', }, /** - * Lookup461: sp_consensus_grandpa::app::Signature + * Lookup492: sp_consensus_grandpa::app::Signature **/ SpConsensusGrandpaAppSignature: 'SpCoreEd25519Signature', /** - * Lookup462: sp_core::ed25519::Signature + * Lookup493: sp_core::ed25519::Signature **/ SpCoreEd25519Signature: '[u8;64]', /** - * Lookup464: finality_grandpa::Equivocation, sp_consensus_grandpa::app::Signature> + * Lookup495: finality_grandpa::Equivocation, sp_consensus_grandpa::app::Signature> **/ FinalityGrandpaEquivocationPrecommit: { roundNumber: 'u64', @@ -3051,14 +3146,14 @@ export default { second: '(FinalityGrandpaPrecommit,SpConsensusGrandpaAppSignature)', }, /** - * Lookup465: finality_grandpa::Precommit + * Lookup496: finality_grandpa::Precommit **/ FinalityGrandpaPrecommit: { targetHash: 'H256', targetNumber: 'u32', }, /** - * Lookup467: pallet_im_online::pallet::Call + * Lookup498: pallet_im_online::pallet::Call **/ PalletImOnlineCall: { _enum: { @@ -3069,7 +3164,7 @@ export default { }, }, /** - * Lookup468: pallet_im_online::Heartbeat + * Lookup499: pallet_im_online::Heartbeat **/ PalletImOnlineHeartbeat: { blockNumber: 'u32', @@ -3079,22 +3174,46 @@ export default { validatorsLen: 'u32', }, /** - * Lookup469: sp_core::offchain::OpaqueNetworkState + * Lookup500: sp_core::offchain::OpaqueNetworkState **/ SpCoreOffchainOpaqueNetworkState: { peerId: 'OpaquePeerId', externalAddresses: 'Vec', }, /** - * Lookup473: pallet_im_online::sr25519::app_sr25519::Signature + * Lookup504: pallet_im_online::sr25519::app_sr25519::Signature **/ PalletImOnlineSr25519AppSr25519Signature: 'SpCoreSr25519Signature', /** - * Lookup474: sp_core::sr25519::Signature + * Lookup505: sp_core::sr25519::Signature **/ SpCoreSr25519Signature: '[u8;64]', /** - * Lookup475: pallet_asset::Call + * Lookup506: pallet_sudo::Call + **/ + PalletSudoCall: { + _enum: { + sudo: { + call: 'Call', + }, + sudo_unchecked_weight: { + call: 'Call', + weight: 'SpWeightsWeightV2Weight', + }, + set_key: { + _alias: { + new_: 'new', + }, + new_: 'MultiAddress', + }, + sudo_as: { + who: 'MultiAddress', + call: 'Call', + }, + }, + }, + /** + * Lookup507: pallet_asset::Call **/ PalletAssetCall: { _enum: { @@ -3228,7 +3347,7 @@ export default { }, }, /** - * Lookup477: pallet_corporate_actions::distribution::Call + * Lookup509: pallet_corporate_actions::distribution::Call **/ PalletCorporateActionsDistributionCall: { _enum: { @@ -3257,7 +3376,7 @@ export default { }, }, /** - * Lookup479: pallet_asset::checkpoint::Call + * Lookup511: pallet_asset::checkpoint::Call **/ PalletAssetCheckpointCall: { _enum: { @@ -3278,7 +3397,7 @@ export default { }, }, /** - * Lookup480: pallet_compliance_manager::Call + * Lookup512: pallet_compliance_manager::Call **/ PalletComplianceManagerCall: { _enum: { @@ -3319,7 +3438,7 @@ export default { }, }, /** - * Lookup481: pallet_corporate_actions::Call + * Lookup513: pallet_corporate_actions::Call **/ PalletCorporateActionsCall: { _enum: { @@ -3372,7 +3491,7 @@ export default { }, }, /** - * Lookup483: pallet_corporate_actions::RecordDateSpec + * Lookup515: pallet_corporate_actions::RecordDateSpec **/ PalletCorporateActionsRecordDateSpec: { _enum: { @@ -3382,7 +3501,7 @@ export default { }, }, /** - * Lookup486: pallet_corporate_actions::InitiateCorporateActionArgs + * Lookup518: pallet_corporate_actions::InitiateCorporateActionArgs **/ PalletCorporateActionsInitiateCorporateActionArgs: { ticker: 'PolymeshPrimitivesTicker', @@ -3395,7 +3514,7 @@ export default { withholdingTax: 'Option>', }, /** - * Lookup487: pallet_corporate_actions::ballot::Call + * Lookup519: pallet_corporate_actions::ballot::Call **/ PalletCorporateActionsBallotCall: { _enum: { @@ -3427,7 +3546,7 @@ export default { }, }, /** - * Lookup488: pallet_pips::Call + * Lookup520: pallet_pips::Call **/ PalletPipsCall: { _enum: { @@ -3488,13 +3607,13 @@ export default { }, }, /** - * Lookup491: pallet_pips::SnapshotResult + * Lookup523: pallet_pips::SnapshotResult **/ PalletPipsSnapshotResult: { _enum: ['Approve', 'Reject', 'Skip'], }, /** - * Lookup492: pallet_portfolio::Call + * Lookup524: pallet_portfolio::Call **/ PalletPortfolioCall: { _enum: { @@ -3540,14 +3659,14 @@ export default { }, }, /** - * Lookup494: polymesh_primitives::portfolio::Fund + * Lookup526: polymesh_primitives::portfolio::Fund **/ PolymeshPrimitivesPortfolioFund: { description: 'PolymeshPrimitivesPortfolioFundDescription', memo: 'Option', }, /** - * Lookup495: pallet_protocol_fee::Call + * Lookup527: pallet_protocol_fee::Call **/ PalletProtocolFeeCall: { _enum: { @@ -3561,7 +3680,7 @@ export default { }, }, /** - * Lookup496: polymesh_common_utilities::protocol_fee::ProtocolOp + * Lookup528: polymesh_common_utilities::protocol_fee::ProtocolOp **/ PolymeshCommonUtilitiesProtocolFeeProtocolOp: { _enum: [ @@ -3584,7 +3703,7 @@ export default { ], }, /** - * Lookup497: pallet_scheduler::pallet::Call + * Lookup529: pallet_scheduler::pallet::Call **/ PalletSchedulerCall: { _enum: { @@ -3624,7 +3743,7 @@ export default { }, }, /** - * Lookup499: pallet_settlement::Call + * Lookup531: pallet_settlement::Call **/ PalletSettlementCall: { _enum: { @@ -3728,7 +3847,7 @@ export default { }, }, /** - * Lookup501: polymesh_primitives::settlement::ReceiptDetails + * Lookup533: polymesh_primitives::settlement::ReceiptDetails **/ PolymeshPrimitivesSettlementReceiptDetails: { uid: 'u64', @@ -3739,7 +3858,7 @@ export default { metadata: 'Option', }, /** - * Lookup502: sp_runtime::MultiSignature + * Lookup534: sp_runtime::MultiSignature **/ SpRuntimeMultiSignature: { _enum: { @@ -3749,11 +3868,11 @@ export default { }, }, /** - * Lookup503: sp_core::ecdsa::Signature + * Lookup535: sp_core::ecdsa::Signature **/ SpCoreEcdsaSignature: '[u8;65]', /** - * Lookup506: polymesh_primitives::settlement::AffirmationCount + * Lookup538: polymesh_primitives::settlement::AffirmationCount **/ PolymeshPrimitivesSettlementAffirmationCount: { senderAssetCount: 'PolymeshPrimitivesSettlementAssetCount', @@ -3761,7 +3880,7 @@ export default { offchainCount: 'u32', }, /** - * Lookup507: polymesh_primitives::settlement::AssetCount + * Lookup539: polymesh_primitives::settlement::AssetCount **/ PolymeshPrimitivesSettlementAssetCount: { fungible: 'u32', @@ -3769,7 +3888,7 @@ export default { offChain: 'u32', }, /** - * Lookup509: pallet_statistics::Call + * Lookup541: pallet_statistics::Call **/ PalletStatisticsCall: { _enum: { @@ -3794,7 +3913,7 @@ export default { }, }, /** - * Lookup514: pallet_sto::Call + * Lookup545: pallet_sto::Call **/ PalletStoCall: { _enum: { @@ -3840,14 +3959,14 @@ export default { }, }, /** - * Lookup516: pallet_sto::PriceTier + * Lookup547: pallet_sto::PriceTier **/ PalletStoPriceTier: { total: 'u128', price: 'u128', }, /** - * Lookup518: pallet_treasury::Call + * Lookup549: pallet_treasury::Call **/ PalletTreasuryCall: { _enum: { @@ -3860,14 +3979,14 @@ export default { }, }, /** - * Lookup520: polymesh_primitives::Beneficiary + * Lookup551: polymesh_primitives::Beneficiary **/ PolymeshPrimitivesBeneficiary: { id: 'PolymeshPrimitivesIdentityId', amount: 'u128', }, /** - * Lookup521: pallet_utility::pallet::Call + * Lookup552: pallet_utility::pallet::Call **/ PalletUtilityCall: { _enum: { @@ -3883,7 +4002,7 @@ export default { calls: 'Vec', }, dispatch_as: { - asOrigin: 'PolymeshRuntimeTestnetRuntimeOriginCaller', + asOrigin: 'PolymeshRuntimeDevelopRuntimeOriginCaller', call: 'Call', }, force_batch: { @@ -3909,16 +4028,16 @@ export default { }, }, /** - * Lookup523: pallet_utility::UniqueCall + * Lookup554: pallet_utility::UniqueCall **/ PalletUtilityUniqueCall: { nonce: 'u64', call: 'Call', }, /** - * Lookup524: polymesh_runtime_testnet::runtime::OriginCaller + * Lookup555: polymesh_runtime_develop::runtime::OriginCaller **/ - PolymeshRuntimeTestnetRuntimeOriginCaller: { + PolymeshRuntimeDevelopRuntimeOriginCaller: { _enum: { system: 'FrameSupportDispatchRawOrigin', __Unused1: 'Null', @@ -3937,7 +4056,7 @@ export default { }, }, /** - * Lookup525: frame_support::dispatch::RawOrigin + * Lookup556: frame_support::dispatch::RawOrigin **/ FrameSupportDispatchRawOrigin: { _enum: { @@ -3947,33 +4066,33 @@ export default { }, }, /** - * Lookup526: pallet_committee::RawOrigin + * Lookup557: pallet_committee::RawOrigin **/ PalletCommitteeRawOriginInstance1: { _enum: ['Endorsed'], }, /** - * Lookup527: pallet_committee::RawOrigin + * Lookup558: pallet_committee::RawOrigin **/ PalletCommitteeRawOriginInstance3: { _enum: ['Endorsed'], }, /** - * Lookup528: pallet_committee::RawOrigin + * Lookup559: pallet_committee::RawOrigin **/ PalletCommitteeRawOriginInstance4: { _enum: ['Endorsed'], }, /** - * Lookup529: sp_core::Void + * Lookup560: sp_core::Void **/ SpCoreVoid: 'Null', /** - * Lookup530: pallet_base::Call + * Lookup561: pallet_base::Call **/ PalletBaseCall: 'Null', /** - * Lookup531: pallet_external_agents::Call + * Lookup562: pallet_external_agents::Call **/ PalletExternalAgentsCall: { _enum: { @@ -4015,7 +4134,7 @@ export default { }, }, /** - * Lookup532: pallet_relayer::Call + * Lookup563: pallet_relayer::Call **/ PalletRelayerCall: { _enum: { @@ -4045,7 +4164,7 @@ export default { }, }, /** - * Lookup533: pallet_contracts::pallet::Call + * Lookup564: pallet_contracts::pallet::Call **/ PalletContractsCall: { _enum: { @@ -4110,13 +4229,13 @@ export default { }, }, /** - * Lookup537: pallet_contracts::wasm::Determinism + * Lookup568: pallet_contracts::wasm::Determinism **/ PalletContractsWasmDeterminism: { _enum: ['Deterministic', 'AllowIndeterminism'], }, /** - * Lookup538: polymesh_contracts::Call + * Lookup569: polymesh_contracts::Call **/ PolymeshContractsCall: { _enum: { @@ -4164,14 +4283,14 @@ export default { }, }, /** - * Lookup541: polymesh_contracts::NextUpgrade + * Lookup572: polymesh_contracts::NextUpgrade **/ PolymeshContractsNextUpgrade: { chainVersion: 'PolymeshContractsChainVersion', apiHash: 'PolymeshContractsApiCodeHash', }, /** - * Lookup542: polymesh_contracts::ApiCodeHash + * Lookup573: polymesh_contracts::ApiCodeHash **/ PolymeshContractsApiCodeHash: { _alias: { @@ -4180,7 +4299,7 @@ export default { hash_: 'H256', }, /** - * Lookup543: pallet_preimage::pallet::Call + * Lookup574: pallet_preimage::pallet::Call **/ PalletPreimageCall: { _enum: { @@ -4208,7 +4327,7 @@ export default { }, }, /** - * Lookup544: pallet_nft::Call + * Lookup575: pallet_nft::Call **/ PalletNftCall: { _enum: { @@ -4236,18 +4355,18 @@ export default { }, }, /** - * Lookup546: polymesh_primitives::nft::NFTCollectionKeys + * Lookup577: polymesh_primitives::nft::NFTCollectionKeys **/ PolymeshPrimitivesNftNftCollectionKeys: 'Vec', /** - * Lookup549: polymesh_primitives::nft::NFTMetadataAttribute + * Lookup580: polymesh_primitives::nft::NFTMetadataAttribute **/ PolymeshPrimitivesNftNftMetadataAttribute: { key: 'PolymeshPrimitivesAssetMetadataAssetMetadataKey', value: 'Bytes', }, /** - * Lookup550: pallet_test_utils::Call + * Lookup581: pallet_test_utils::Call **/ PalletTestUtilsCall: { _enum: { @@ -4264,7 +4383,89 @@ export default { }, }, /** - * Lookup551: pallet_committee::PolymeshVotes + * Lookup582: pallet_confidential_asset::pallet::Call + **/ + PalletConfidentialAssetCall: { + _enum: { + create_account: { + account: 'PalletConfidentialAssetConfidentialAccount', + }, + __Unused1: 'Null', + create_confidential_asset: { + ticker: 'Option', + data: 'Bytes', + auditors: 'PalletConfidentialAssetConfidentialAuditors', + }, + mint_confidential_asset: { + assetId: '[u8;16]', + amount: 'u128', + account: 'PalletConfidentialAssetConfidentialAccount', + }, + apply_incoming_balance: { + account: 'PalletConfidentialAssetConfidentialAccount', + assetId: '[u8;16]', + }, + create_venue: 'Null', + set_venue_filtering: { + assetId: '[u8;16]', + enabled: 'bool', + }, + allow_venues: { + assetId: '[u8;16]', + venues: 'Vec', + }, + disallow_venues: { + assetId: '[u8;16]', + venues: 'Vec', + }, + add_transaction: { + venueId: 'u64', + legs: 'Vec', + memo: 'Option', + }, + affirm_transactions: { + transactions: 'PalletConfidentialAssetAffirmTransactions', + }, + execute_transaction: { + transactionId: 'PalletConfidentialAssetTransactionId', + legCount: 'u32', + }, + reject_transaction: { + transactionId: 'PalletConfidentialAssetTransactionId', + legCount: 'u32', + }, + }, + }, + /** + * Lookup586: pallet_confidential_asset::TransactionLeg + **/ + PalletConfidentialAssetTransactionLeg: { + assets: 'BTreeSet<[u8;16]>', + sender: 'PalletConfidentialAssetConfidentialAccount', + receiver: 'PalletConfidentialAssetConfidentialAccount', + auditors: 'BTreeSet', + mediators: 'BTreeSet', + }, + /** + * Lookup591: pallet_confidential_asset::AffirmTransactions + **/ + PalletConfidentialAssetAffirmTransactions: 'Vec', + /** + * Lookup593: pallet_confidential_asset::AffirmTransaction + **/ + PalletConfidentialAssetAffirmTransaction: { + id: 'PalletConfidentialAssetTransactionId', + leg: 'PalletConfidentialAssetAffirmLeg', + }, + /** + * Lookup594: pallet_confidential_asset::AffirmLeg + **/ + PalletConfidentialAssetAffirmLeg: { + legId: 'PalletConfidentialAssetTransactionLegId', + party: 'PalletConfidentialAssetAffirmParty', + }, + /** + * Lookup596: pallet_committee::PolymeshVotes **/ PalletCommitteePolymeshVotes: { index: 'u32', @@ -4273,7 +4474,7 @@ export default { expiry: 'PolymeshCommonUtilitiesMaybeBlock', }, /** - * Lookup553: pallet_committee::Error + * Lookup598: pallet_committee::Error **/ PalletCommitteeError: { _enum: [ @@ -4289,7 +4490,7 @@ export default { ], }, /** - * Lookup563: polymesh_primitives::multisig::ProposalDetails + * Lookup608: polymesh_primitives::multisig::ProposalDetails **/ PolymeshPrimitivesMultisigProposalDetails: { approvals: 'u64', @@ -4299,13 +4500,13 @@ export default { autoClose: 'bool', }, /** - * Lookup564: polymesh_primitives::multisig::ProposalStatus + * Lookup609: polymesh_primitives::multisig::ProposalStatus **/ PolymeshPrimitivesMultisigProposalStatus: { _enum: ['Invalid', 'ActiveOrExpired', 'ExecutionSuccessful', 'ExecutionFailed', 'Rejected'], }, /** - * Lookup566: pallet_multisig::Error + * Lookup611: pallet_multisig::Error **/ PalletMultisigError: { _enum: [ @@ -4338,7 +4539,7 @@ export default { ], }, /** - * Lookup568: pallet_bridge::BridgeTxDetail + * Lookup613: pallet_bridge::BridgeTxDetail **/ PalletBridgeBridgeTxDetail: { amount: 'u128', @@ -4347,7 +4548,7 @@ export default { txHash: 'H256', }, /** - * Lookup569: pallet_bridge::BridgeTxStatus + * Lookup614: pallet_bridge::BridgeTxStatus **/ PalletBridgeBridgeTxStatus: { _enum: { @@ -4359,7 +4560,7 @@ export default { }, }, /** - * Lookup572: pallet_bridge::Error + * Lookup617: pallet_bridge::Error **/ PalletBridgeError: { _enum: [ @@ -4379,7 +4580,7 @@ export default { ], }, /** - * Lookup573: pallet_staking::StakingLedger + * Lookup618: pallet_staking::StakingLedger **/ PalletStakingStakingLedger: { stash: 'AccountId32', @@ -4389,14 +4590,14 @@ export default { claimedRewards: 'Vec', }, /** - * Lookup575: pallet_staking::UnlockChunk + * Lookup620: pallet_staking::UnlockChunk **/ PalletStakingUnlockChunk: { value: 'Compact', era: 'Compact', }, /** - * Lookup576: pallet_staking::Nominations + * Lookup621: pallet_staking::Nominations **/ PalletStakingNominations: { targets: 'Vec', @@ -4404,27 +4605,27 @@ export default { suppressed: 'bool', }, /** - * Lookup577: pallet_staking::ActiveEraInfo + * Lookup622: pallet_staking::ActiveEraInfo **/ PalletStakingActiveEraInfo: { index: 'u32', start: 'Option', }, /** - * Lookup579: pallet_staking::EraRewardPoints + * Lookup624: pallet_staking::EraRewardPoints **/ PalletStakingEraRewardPoints: { total: 'u32', individual: 'BTreeMap', }, /** - * Lookup582: pallet_staking::Forcing + * Lookup627: pallet_staking::Forcing **/ PalletStakingForcing: { _enum: ['NotForcing', 'ForceNew', 'ForceNone', 'ForceAlways'], }, /** - * Lookup584: pallet_staking::UnappliedSlash + * Lookup629: pallet_staking::UnappliedSlash **/ PalletStakingUnappliedSlash: { validator: 'AccountId32', @@ -4434,7 +4635,7 @@ export default { payout: 'u128', }, /** - * Lookup588: pallet_staking::slashing::SlashingSpans + * Lookup633: pallet_staking::slashing::SlashingSpans **/ PalletStakingSlashingSlashingSpans: { spanIndex: 'u32', @@ -4443,14 +4644,14 @@ export default { prior: 'Vec', }, /** - * Lookup589: pallet_staking::slashing::SpanRecord + * Lookup634: pallet_staking::slashing::SpanRecord **/ PalletStakingSlashingSpanRecord: { slashed: 'u128', paidOut: 'u128', }, /** - * Lookup592: pallet_staking::ElectionResult + * Lookup637: pallet_staking::ElectionResult **/ PalletStakingElectionResult: { electedStashes: 'Vec', @@ -4458,7 +4659,7 @@ export default { compute: 'PalletStakingElectionCompute', }, /** - * Lookup593: pallet_staking::ElectionStatus + * Lookup638: pallet_staking::ElectionStatus **/ PalletStakingElectionStatus: { _enum: { @@ -4467,20 +4668,20 @@ export default { }, }, /** - * Lookup594: pallet_staking::PermissionedIdentityPrefs + * Lookup639: pallet_staking::PermissionedIdentityPrefs **/ PalletStakingPermissionedIdentityPrefs: { intendedCount: 'u32', runningCount: 'u32', }, /** - * Lookup595: pallet_staking::Releases + * Lookup640: pallet_staking::Releases **/ PalletStakingReleases: { _enum: ['V1_0_0Ancient', 'V2_0_0', 'V3_0_0', 'V4_0_0', 'V5_0_0', 'V6_0_0', 'V6_0_1', 'V7_0_0'], }, /** - * Lookup597: pallet_staking::Error + * Lookup642: pallet_staking::Error **/ PalletStakingError: { _enum: [ @@ -4530,24 +4731,24 @@ export default { ], }, /** - * Lookup598: sp_staking::offence::OffenceDetails + * Lookup643: sp_staking::offence::OffenceDetails **/ SpStakingOffenceOffenceDetails: { offender: '(AccountId32,PalletStakingExposure)', reporters: 'Vec', }, /** - * Lookup603: sp_core::crypto::KeyTypeId + * Lookup648: sp_core::crypto::KeyTypeId **/ SpCoreCryptoKeyTypeId: '[u8;4]', /** - * Lookup604: pallet_session::pallet::Error + * Lookup649: pallet_session::pallet::Error **/ PalletSessionError: { _enum: ['InvalidProof', 'NoAssociatedValidatorId', 'DuplicatedKey', 'NoKeys', 'NoAccount'], }, /** - * Lookup605: pallet_grandpa::StoredState + * Lookup650: pallet_grandpa::StoredState **/ PalletGrandpaStoredState: { _enum: { @@ -4564,7 +4765,7 @@ export default { }, }, /** - * Lookup606: pallet_grandpa::StoredPendingChange + * Lookup651: pallet_grandpa::StoredPendingChange **/ PalletGrandpaStoredPendingChange: { scheduledAt: 'u32', @@ -4573,7 +4774,7 @@ export default { forced: 'Option', }, /** - * Lookup608: pallet_grandpa::pallet::Error + * Lookup653: pallet_grandpa::pallet::Error **/ PalletGrandpaError: { _enum: [ @@ -4587,34 +4788,40 @@ export default { ], }, /** - * Lookup612: pallet_im_online::BoundedOpaqueNetworkState + * Lookup657: pallet_im_online::BoundedOpaqueNetworkState **/ PalletImOnlineBoundedOpaqueNetworkState: { peerId: 'Bytes', externalAddresses: 'Vec', }, /** - * Lookup616: pallet_im_online::pallet::Error + * Lookup661: pallet_im_online::pallet::Error **/ PalletImOnlineError: { _enum: ['InvalidKey', 'DuplicatedHeartbeat'], }, /** - * Lookup618: pallet_asset::TickerRegistration + * Lookup663: pallet_sudo::Error + **/ + PalletSudoError: { + _enum: ['RequireSudo'], + }, + /** + * Lookup664: pallet_asset::TickerRegistration **/ PalletAssetTickerRegistration: { owner: 'PolymeshPrimitivesIdentityId', expiry: 'Option', }, /** - * Lookup619: pallet_asset::TickerRegistrationConfig + * Lookup665: pallet_asset::TickerRegistrationConfig **/ PalletAssetTickerRegistrationConfig: { maxTickerLength: 'u8', registrationLength: 'Option', }, /** - * Lookup620: pallet_asset::SecurityToken + * Lookup666: pallet_asset::SecurityToken **/ PalletAssetSecurityToken: { totalSupply: 'u128', @@ -4623,13 +4830,13 @@ export default { assetType: 'PolymeshPrimitivesAssetAssetType', }, /** - * Lookup624: pallet_asset::AssetOwnershipRelation + * Lookup670: pallet_asset::AssetOwnershipRelation **/ PalletAssetAssetOwnershipRelation: { _enum: ['NotOwned', 'TickerOwned', 'AssetOwned'], }, /** - * Lookup630: pallet_asset::Error + * Lookup676: pallet_asset::Error **/ PalletAssetError: { _enum: [ @@ -4673,7 +4880,7 @@ export default { ], }, /** - * Lookup633: pallet_corporate_actions::distribution::Error + * Lookup679: pallet_corporate_actions::distribution::Error **/ PalletCorporateActionsDistributionError: { _enum: [ @@ -4695,7 +4902,7 @@ export default { ], }, /** - * Lookup637: polymesh_common_utilities::traits::checkpoint::NextCheckpoints + * Lookup683: polymesh_common_utilities::traits::checkpoint::NextCheckpoints **/ PolymeshCommonUtilitiesCheckpointNextCheckpoints: { nextAt: 'u64', @@ -4703,7 +4910,7 @@ export default { schedules: 'BTreeMap', }, /** - * Lookup643: pallet_asset::checkpoint::Error + * Lookup689: pallet_asset::checkpoint::Error **/ PalletAssetCheckpointError: { _enum: [ @@ -4716,14 +4923,14 @@ export default { ], }, /** - * Lookup644: polymesh_primitives::compliance_manager::AssetCompliance + * Lookup690: polymesh_primitives::compliance_manager::AssetCompliance **/ PolymeshPrimitivesComplianceManagerAssetCompliance: { paused: 'bool', requirements: 'Vec', }, /** - * Lookup646: pallet_compliance_manager::Error + * Lookup692: pallet_compliance_manager::Error **/ PalletComplianceManagerError: { _enum: [ @@ -4737,7 +4944,7 @@ export default { ], }, /** - * Lookup649: pallet_corporate_actions::Error + * Lookup695: pallet_corporate_actions::Error **/ PalletCorporateActionsError: { _enum: [ @@ -4755,7 +4962,7 @@ export default { ], }, /** - * Lookup651: pallet_corporate_actions::ballot::Error + * Lookup697: pallet_corporate_actions::ballot::Error **/ PalletCorporateActionsBallotError: { _enum: [ @@ -4776,13 +4983,13 @@ export default { ], }, /** - * Lookup652: pallet_permissions::Error + * Lookup698: pallet_permissions::Error **/ PalletPermissionsError: { _enum: ['UnauthorizedCaller'], }, /** - * Lookup653: pallet_pips::PipsMetadata + * Lookup699: pallet_pips::PipsMetadata **/ PalletPipsPipsMetadata: { id: 'u32', @@ -4793,14 +5000,14 @@ export default { expiry: 'PolymeshCommonUtilitiesMaybeBlock', }, /** - * Lookup655: pallet_pips::DepositInfo + * Lookup701: pallet_pips::DepositInfo **/ PalletPipsDepositInfo: { owner: 'AccountId32', amount: 'u128', }, /** - * Lookup656: pallet_pips::Pip + * Lookup702: pallet_pips::Pip **/ PalletPipsPip: { id: 'u32', @@ -4808,7 +5015,7 @@ export default { proposer: 'PalletPipsProposer', }, /** - * Lookup657: pallet_pips::VotingResult + * Lookup703: pallet_pips::VotingResult **/ PalletPipsVotingResult: { ayesCount: 'u32', @@ -4817,11 +5024,11 @@ export default { naysStake: 'u128', }, /** - * Lookup658: pallet_pips::Vote + * Lookup704: pallet_pips::Vote **/ PalletPipsVote: '(bool,u128)', /** - * Lookup659: pallet_pips::SnapshotMetadata + * Lookup705: pallet_pips::SnapshotMetadata **/ PalletPipsSnapshotMetadata: { createdAt: 'u32', @@ -4829,7 +5036,7 @@ export default { id: 'u32', }, /** - * Lookup661: pallet_pips::Error + * Lookup707: pallet_pips::Error **/ PalletPipsError: { _enum: [ @@ -4854,7 +5061,7 @@ export default { ], }, /** - * Lookup670: pallet_portfolio::Error + * Lookup715: pallet_portfolio::Error **/ PalletPortfolioError: { _enum: [ @@ -4878,23 +5085,23 @@ export default { ], }, /** - * Lookup671: pallet_protocol_fee::Error + * Lookup716: pallet_protocol_fee::Error **/ PalletProtocolFeeError: { _enum: ['InsufficientAccountBalance', 'UnHandledImbalances', 'InsufficientSubsidyBalance'], }, /** - * Lookup674: pallet_scheduler::Scheduled, BlockNumber, polymesh_runtime_testnet::runtime::OriginCaller, sp_core::crypto::AccountId32> + * Lookup719: pallet_scheduler::Scheduled, BlockNumber, polymesh_runtime_develop::runtime::OriginCaller, sp_core::crypto::AccountId32> **/ PalletSchedulerScheduled: { maybeId: 'Option<[u8;32]>', priority: 'u8', call: 'FrameSupportPreimagesBounded', maybePeriodic: 'Option<(u32,u32)>', - origin: 'PolymeshRuntimeTestnetRuntimeOriginCaller', + origin: 'PolymeshRuntimeDevelopRuntimeOriginCaller', }, /** - * Lookup675: frame_support::traits::preimages::Bounded + * Lookup720: frame_support::traits::preimages::Bounded **/ FrameSupportPreimagesBounded: { _enum: { @@ -4915,7 +5122,7 @@ export default { }, }, /** - * Lookup678: pallet_scheduler::pallet::Error + * Lookup723: pallet_scheduler::pallet::Error **/ PalletSchedulerError: { _enum: [ @@ -4927,14 +5134,14 @@ export default { ], }, /** - * Lookup679: polymesh_primitives::settlement::Venue + * Lookup724: polymesh_primitives::settlement::Venue **/ PolymeshPrimitivesSettlementVenue: { creator: 'PolymeshPrimitivesIdentityId', venueType: 'PolymeshPrimitivesSettlementVenueType', }, /** - * Lookup683: polymesh_primitives::settlement::Instruction + * Lookup728: polymesh_primitives::settlement::Instruction **/ PolymeshPrimitivesSettlementInstruction: { instructionId: 'u64', @@ -4945,7 +5152,7 @@ export default { valueDate: 'Option', }, /** - * Lookup685: polymesh_primitives::settlement::LegStatus + * Lookup730: polymesh_primitives::settlement::LegStatus **/ PolymeshPrimitivesSettlementLegStatus: { _enum: { @@ -4955,13 +5162,13 @@ export default { }, }, /** - * Lookup687: polymesh_primitives::settlement::AffirmationStatus + * Lookup732: polymesh_primitives::settlement::AffirmationStatus **/ PolymeshPrimitivesSettlementAffirmationStatus: { _enum: ['Unknown', 'Pending', 'Affirmed'], }, /** - * Lookup691: polymesh_primitives::settlement::InstructionStatus + * Lookup736: polymesh_primitives::settlement::InstructionStatus **/ PolymeshPrimitivesSettlementInstructionStatus: { _enum: { @@ -4973,7 +5180,7 @@ export default { }, }, /** - * Lookup692: pallet_settlement::Error + * Lookup737: pallet_settlement::Error **/ PalletSettlementError: { _enum: [ @@ -5020,21 +5227,21 @@ export default { ], }, /** - * Lookup695: polymesh_primitives::statistics::Stat1stKey + * Lookup740: polymesh_primitives::statistics::Stat1stKey **/ PolymeshPrimitivesStatisticsStat1stKey: { asset: 'PolymeshPrimitivesStatisticsAssetScope', statType: 'PolymeshPrimitivesStatisticsStatType', }, /** - * Lookup696: polymesh_primitives::transfer_compliance::AssetTransferCompliance + * Lookup741: polymesh_primitives::transfer_compliance::AssetTransferCompliance **/ PolymeshPrimitivesTransferComplianceAssetTransferCompliance: { paused: 'bool', requirements: 'BTreeSet', }, /** - * Lookup700: pallet_statistics::Error + * Lookup745: pallet_statistics::Error **/ PalletStatisticsError: { _enum: [ @@ -5048,7 +5255,7 @@ export default { ], }, /** - * Lookup702: pallet_sto::Error + * Lookup747: pallet_sto::Error **/ PalletStoError: { _enum: [ @@ -5067,13 +5274,13 @@ export default { ], }, /** - * Lookup703: pallet_treasury::Error + * Lookup748: pallet_treasury::Error **/ PalletTreasuryError: { _enum: ['InsufficientBalance', 'InvalidIdentity'], }, /** - * Lookup704: pallet_utility::pallet::Error + * Lookup749: pallet_utility::pallet::Error **/ PalletUtilityError: { _enum: [ @@ -5085,13 +5292,13 @@ export default { ], }, /** - * Lookup705: pallet_base::Error + * Lookup750: pallet_base::Error **/ PalletBaseError: { _enum: ['TooLong', 'CounterOverflow'], }, /** - * Lookup707: pallet_external_agents::Error + * Lookup752: pallet_external_agents::Error **/ PalletExternalAgentsError: { _enum: [ @@ -5104,14 +5311,14 @@ export default { ], }, /** - * Lookup708: pallet_relayer::Subsidy + * Lookup753: pallet_relayer::Subsidy **/ PalletRelayerSubsidy: { payingKey: 'AccountId32', remaining: 'u128', }, /** - * Lookup709: pallet_relayer::Error + * Lookup754: pallet_relayer::Error **/ PalletRelayerError: { _enum: [ @@ -5125,7 +5332,7 @@ export default { ], }, /** - * Lookup711: pallet_contracts::wasm::PrefabWasmModule + * Lookup756: pallet_contracts::wasm::PrefabWasmModule **/ PalletContractsWasmPrefabWasmModule: { instructionWeightsVersion: 'Compact', @@ -5135,7 +5342,7 @@ export default { determinism: 'PalletContractsWasmDeterminism', }, /** - * Lookup713: pallet_contracts::wasm::OwnerInfo + * Lookup758: pallet_contracts::wasm::OwnerInfo **/ PalletContractsWasmOwnerInfo: { owner: 'AccountId32', @@ -5143,7 +5350,7 @@ export default { refcount: 'Compact', }, /** - * Lookup714: pallet_contracts::storage::ContractInfo + * Lookup759: pallet_contracts::storage::ContractInfo **/ PalletContractsStorageContractInfo: { trieId: 'Bytes', @@ -5156,13 +5363,13 @@ export default { storageBaseDeposit: 'u128', }, /** - * Lookup717: pallet_contracts::storage::DeletedContract + * Lookup762: pallet_contracts::storage::DeletedContract **/ PalletContractsStorageDeletedContract: { trieId: 'Bytes', }, /** - * Lookup719: pallet_contracts::schedule::Schedule + * Lookup764: pallet_contracts::schedule::Schedule **/ PalletContractsSchedule: { limits: 'PalletContractsScheduleLimits', @@ -5170,7 +5377,7 @@ export default { hostFnWeights: 'PalletContractsScheduleHostFnWeights', }, /** - * Lookup720: pallet_contracts::schedule::Limits + * Lookup765: pallet_contracts::schedule::Limits **/ PalletContractsScheduleLimits: { eventTopics: 'u32', @@ -5184,7 +5391,7 @@ export default { payloadLen: 'u32', }, /** - * Lookup721: pallet_contracts::schedule::InstructionWeights + * Lookup766: pallet_contracts::schedule::InstructionWeights **/ PalletContractsScheduleInstructionWeights: { _alias: { @@ -5246,7 +5453,7 @@ export default { i64rotr: 'u32', }, /** - * Lookup722: pallet_contracts::schedule::HostFnWeights + * Lookup767: pallet_contracts::schedule::HostFnWeights **/ PalletContractsScheduleHostFnWeights: { _alias: { @@ -5313,7 +5520,7 @@ export default { instantiationNonce: 'SpWeightsWeightV2Weight', }, /** - * Lookup723: pallet_contracts::pallet::Error + * Lookup768: pallet_contracts::pallet::Error **/ PalletContractsError: { _enum: [ @@ -5348,7 +5555,7 @@ export default { ], }, /** - * Lookup725: polymesh_contracts::Error + * Lookup770: polymesh_contracts::Error **/ PolymeshContractsError: { _enum: [ @@ -5367,7 +5574,7 @@ export default { ], }, /** - * Lookup726: pallet_preimage::RequestStatus + * Lookup771: pallet_preimage::RequestStatus **/ PalletPreimageRequestStatus: { _enum: { @@ -5383,20 +5590,20 @@ export default { }, }, /** - * Lookup730: pallet_preimage::pallet::Error + * Lookup775: pallet_preimage::pallet::Error **/ PalletPreimageError: { _enum: ['TooBig', 'AlreadyNoted', 'NotAuthorized', 'NotNoted', 'Requested', 'NotRequested'], }, /** - * Lookup731: polymesh_primitives::nft::NFTCollection + * Lookup776: polymesh_primitives::nft::NFTCollection **/ PolymeshPrimitivesNftNftCollection: { id: 'u64', ticker: 'PolymeshPrimitivesTicker', }, /** - * Lookup736: pallet_nft::Error + * Lookup781: pallet_nft::Error **/ PalletNftError: { _enum: [ @@ -5425,43 +5632,124 @@ export default { ], }, /** - * Lookup737: pallet_test_utils::Error + * Lookup782: pallet_test_utils::Error **/ PalletTestUtilsError: 'Null', /** - * Lookup740: frame_system::extensions::check_spec_version::CheckSpecVersion + * Lookup785: pallet_confidential_asset::ConfidentialAssetDetails + **/ + PalletConfidentialAssetConfidentialAssetDetails: { + totalSupply: 'u128', + ownerDid: 'PolymeshPrimitivesIdentityId', + data: 'Bytes', + ticker: 'Option', + }, + /** + * Lookup788: pallet_confidential_asset::TransactionLegState + **/ + PalletConfidentialAssetTransactionLegState: { + assetState: 'BTreeMap<[u8;16], PalletConfidentialAssetTransactionLegAssetState>', + }, + /** + * Lookup790: pallet_confidential_asset::TransactionLegAssetState + **/ + PalletConfidentialAssetTransactionLegAssetState: { + senderInitBalance: 'ConfidentialAssetsElgamalCipherText', + senderAmount: 'ConfidentialAssetsElgamalCipherText', + receiverAmount: 'ConfidentialAssetsElgamalCipherText', + }, + /** + * Lookup796: pallet_confidential_asset::LegParty + **/ + PalletConfidentialAssetLegParty: { + _enum: ['Sender', 'Receiver', 'Mediator'], + }, + /** + * Lookup797: pallet_confidential_asset::TransactionStatus + **/ + PalletConfidentialAssetTransactionStatus: { + _enum: { + Pending: 'Null', + Executed: 'u32', + Rejected: 'u32', + }, + }, + /** + * Lookup798: pallet_confidential_asset::Transaction + **/ + PalletConfidentialAssetTransaction: { + venueId: 'u64', + createdAt: 'u32', + memo: 'Option', + }, + /** + * Lookup799: pallet_confidential_asset::pallet::Error + **/ + PalletConfidentialAssetError: { + _enum: [ + 'AuditorAccountMissing', + 'ConfidentialAccountMissing', + 'RequiredAssetAuditorMissing', + 'NotEnoughAssetAuditors', + 'TooManyAuditors', + 'TooManyMediators', + 'AuditorAccountAlreadyCreated', + 'ConfidentialAccountAlreadyCreated', + 'ConfidentialAccountAlreadyInitialized', + 'InvalidConfidentialAccount', + 'InvalidAuditorAccount', + 'TotalSupplyAboveConfidentialBalanceLimit', + 'Unauthorized', + 'UnknownConfidentialAsset', + 'ConfidentialAssetAlreadyCreated', + 'TotalSupplyOverLimit', + 'TotalSupplyMustBePositive', + 'InvalidSenderProof', + 'InvalidVenue', + 'TransactionNotAffirmed', + 'TransactionAlreadyAffirmed', + 'UnauthorizedVenue', + 'TransactionFailed', + 'LegCountTooSmall', + 'UnknownTransaction', + 'UnknownTransactionLeg', + 'TransactionNoLegs', + ], + }, + /** + * Lookup802: frame_system::extensions::check_spec_version::CheckSpecVersion **/ FrameSystemExtensionsCheckSpecVersion: 'Null', /** - * Lookup741: frame_system::extensions::check_tx_version::CheckTxVersion + * Lookup803: frame_system::extensions::check_tx_version::CheckTxVersion **/ FrameSystemExtensionsCheckTxVersion: 'Null', /** - * Lookup742: frame_system::extensions::check_genesis::CheckGenesis + * Lookup804: frame_system::extensions::check_genesis::CheckGenesis **/ FrameSystemExtensionsCheckGenesis: 'Null', /** - * Lookup745: frame_system::extensions::check_nonce::CheckNonce + * Lookup807: frame_system::extensions::check_nonce::CheckNonce **/ FrameSystemExtensionsCheckNonce: 'Compact', /** - * Lookup746: polymesh_extensions::check_weight::CheckWeight + * Lookup808: polymesh_extensions::check_weight::CheckWeight **/ PolymeshExtensionsCheckWeight: 'FrameSystemExtensionsCheckWeight', /** - * Lookup747: frame_system::extensions::check_weight::CheckWeight + * Lookup809: frame_system::extensions::check_weight::CheckWeight **/ FrameSystemExtensionsCheckWeight: 'Null', /** - * Lookup748: pallet_transaction_payment::ChargeTransactionPayment + * Lookup810: pallet_transaction_payment::ChargeTransactionPayment **/ PalletTransactionPaymentChargeTransactionPayment: 'Compact', /** - * Lookup749: pallet_permissions::StoreCallMetadata + * Lookup811: pallet_permissions::StoreCallMetadata **/ PalletPermissionsStoreCallMetadata: 'Null', /** - * Lookup750: polymesh_runtime_testnet::runtime::Runtime + * Lookup812: polymesh_runtime_develop::runtime::Runtime **/ - PolymeshRuntimeTestnetRuntime: 'Null', + PolymeshRuntimeDevelopRuntime: 'Null', }; diff --git a/src/polkadot/registry.ts b/src/polkadot/registry.ts index 1cd286ad79..855e692af5 100644 --- a/src/polkadot/registry.ts +++ b/src/polkadot/registry.ts @@ -6,6 +6,8 @@ import '@polkadot/types/types/registry'; import type { + ConfidentialAssetsElgamalCipherText, + ConfidentialAssetsElgamalCompressedElgamalPublicKey, FinalityGrandpaEquivocationPrecommit, FinalityGrandpaEquivocationPrevote, FinalityGrandpaPrecommit, @@ -70,6 +72,27 @@ import type { PalletCommitteeRawOriginInstance4, PalletComplianceManagerCall, PalletComplianceManagerError, + PalletConfidentialAssetAffirmLeg, + PalletConfidentialAssetAffirmParty, + PalletConfidentialAssetAffirmTransaction, + PalletConfidentialAssetAffirmTransactions, + PalletConfidentialAssetAuditorAccount, + PalletConfidentialAssetCall, + PalletConfidentialAssetConfidentialAccount, + PalletConfidentialAssetConfidentialAssetDetails, + PalletConfidentialAssetConfidentialAuditors, + PalletConfidentialAssetConfidentialTransfers, + PalletConfidentialAssetError, + PalletConfidentialAssetEvent, + PalletConfidentialAssetLegParty, + PalletConfidentialAssetTransaction, + PalletConfidentialAssetTransactionId, + PalletConfidentialAssetTransactionLeg, + PalletConfidentialAssetTransactionLegAssetState, + PalletConfidentialAssetTransactionLegDetails, + PalletConfidentialAssetTransactionLegId, + PalletConfidentialAssetTransactionLegState, + PalletConfidentialAssetTransactionStatus, PalletContractsCall, PalletContractsError, PalletContractsEvent, @@ -208,6 +231,9 @@ import type { PalletStoFundraiserTier, PalletStoPriceTier, PalletStoRawEvent, + PalletSudoCall, + PalletSudoError, + PalletSudoRawEvent, PalletTestUtilsCall, PalletTestUtilsError, PalletTestUtilsRawEvent, @@ -331,9 +357,9 @@ import type { PolymeshPrimitivesTransferComplianceAssetTransferCompliance, PolymeshPrimitivesTransferComplianceTransferCondition, PolymeshPrimitivesTransferComplianceTransferConditionExemptKey, - PolymeshRuntimeTestnetRuntime, - PolymeshRuntimeTestnetRuntimeOriginCaller, - PolymeshRuntimeTestnetRuntimeSessionKeys, + PolymeshRuntimeDevelopRuntime, + PolymeshRuntimeDevelopRuntimeOriginCaller, + PolymeshRuntimeDevelopRuntimeSessionKeys, SpArithmeticArithmeticError, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAllowedSlots, @@ -377,6 +403,8 @@ import type { declare module '@polkadot/types/types/registry' { interface InterfaceTypes { + ConfidentialAssetsElgamalCipherText: ConfidentialAssetsElgamalCipherText; + ConfidentialAssetsElgamalCompressedElgamalPublicKey: ConfidentialAssetsElgamalCompressedElgamalPublicKey; FinalityGrandpaEquivocationPrecommit: FinalityGrandpaEquivocationPrecommit; FinalityGrandpaEquivocationPrevote: FinalityGrandpaEquivocationPrevote; FinalityGrandpaPrecommit: FinalityGrandpaPrecommit; @@ -441,6 +469,27 @@ declare module '@polkadot/types/types/registry' { PalletCommitteeRawOriginInstance4: PalletCommitteeRawOriginInstance4; PalletComplianceManagerCall: PalletComplianceManagerCall; PalletComplianceManagerError: PalletComplianceManagerError; + PalletConfidentialAssetAffirmLeg: PalletConfidentialAssetAffirmLeg; + PalletConfidentialAssetAffirmParty: PalletConfidentialAssetAffirmParty; + PalletConfidentialAssetAffirmTransaction: PalletConfidentialAssetAffirmTransaction; + PalletConfidentialAssetAffirmTransactions: PalletConfidentialAssetAffirmTransactions; + PalletConfidentialAssetAuditorAccount: PalletConfidentialAssetAuditorAccount; + PalletConfidentialAssetCall: PalletConfidentialAssetCall; + PalletConfidentialAssetConfidentialAccount: PalletConfidentialAssetConfidentialAccount; + PalletConfidentialAssetConfidentialAssetDetails: PalletConfidentialAssetConfidentialAssetDetails; + PalletConfidentialAssetConfidentialAuditors: PalletConfidentialAssetConfidentialAuditors; + PalletConfidentialAssetConfidentialTransfers: PalletConfidentialAssetConfidentialTransfers; + PalletConfidentialAssetError: PalletConfidentialAssetError; + PalletConfidentialAssetEvent: PalletConfidentialAssetEvent; + PalletConfidentialAssetLegParty: PalletConfidentialAssetLegParty; + PalletConfidentialAssetTransaction: PalletConfidentialAssetTransaction; + PalletConfidentialAssetTransactionId: PalletConfidentialAssetTransactionId; + PalletConfidentialAssetTransactionLeg: PalletConfidentialAssetTransactionLeg; + PalletConfidentialAssetTransactionLegAssetState: PalletConfidentialAssetTransactionLegAssetState; + PalletConfidentialAssetTransactionLegDetails: PalletConfidentialAssetTransactionLegDetails; + PalletConfidentialAssetTransactionLegId: PalletConfidentialAssetTransactionLegId; + PalletConfidentialAssetTransactionLegState: PalletConfidentialAssetTransactionLegState; + PalletConfidentialAssetTransactionStatus: PalletConfidentialAssetTransactionStatus; PalletContractsCall: PalletContractsCall; PalletContractsError: PalletContractsError; PalletContractsEvent: PalletContractsEvent; @@ -579,6 +628,9 @@ declare module '@polkadot/types/types/registry' { PalletStoFundraiserTier: PalletStoFundraiserTier; PalletStoPriceTier: PalletStoPriceTier; PalletStoRawEvent: PalletStoRawEvent; + PalletSudoCall: PalletSudoCall; + PalletSudoError: PalletSudoError; + PalletSudoRawEvent: PalletSudoRawEvent; PalletTestUtilsCall: PalletTestUtilsCall; PalletTestUtilsError: PalletTestUtilsError; PalletTestUtilsRawEvent: PalletTestUtilsRawEvent; @@ -702,9 +754,9 @@ declare module '@polkadot/types/types/registry' { PolymeshPrimitivesTransferComplianceAssetTransferCompliance: PolymeshPrimitivesTransferComplianceAssetTransferCompliance; PolymeshPrimitivesTransferComplianceTransferCondition: PolymeshPrimitivesTransferComplianceTransferCondition; PolymeshPrimitivesTransferComplianceTransferConditionExemptKey: PolymeshPrimitivesTransferComplianceTransferConditionExemptKey; - PolymeshRuntimeTestnetRuntime: PolymeshRuntimeTestnetRuntime; - PolymeshRuntimeTestnetRuntimeOriginCaller: PolymeshRuntimeTestnetRuntimeOriginCaller; - PolymeshRuntimeTestnetRuntimeSessionKeys: PolymeshRuntimeTestnetRuntimeSessionKeys; + PolymeshRuntimeDevelopRuntime: PolymeshRuntimeDevelopRuntime; + PolymeshRuntimeDevelopRuntimeOriginCaller: PolymeshRuntimeDevelopRuntimeOriginCaller; + PolymeshRuntimeDevelopRuntimeSessionKeys: PolymeshRuntimeDevelopRuntimeSessionKeys; SpArithmeticArithmeticError: SpArithmeticArithmeticError; SpAuthorityDiscoveryAppPublic: SpAuthorityDiscoveryAppPublic; SpConsensusBabeAllowedSlots: SpConsensusBabeAllowedSlots; diff --git a/src/polkadot/types-lookup.ts b/src/polkadot/types-lookup.ts index c2a6b6f753..13cc516466 100644 --- a/src/polkadot/types-lookup.ts +++ b/src/polkadot/types-lookup.ts @@ -1685,7 +1685,18 @@ declare module '@polkadot/types/lookup' { readonly value: Compact; } - /** @name PolymeshCommonUtilitiesAssetRawEvent (122) */ + /** @name PalletSudoRawEvent (122) */ + interface PalletSudoRawEvent extends Enum { + readonly isSudid: boolean; + readonly asSudid: Result; + readonly isKeyChanged: boolean; + readonly asKeyChanged: Option; + readonly isSudoAsDone: boolean; + readonly asSudoAsDone: Result; + readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone'; + } + + /** @name PolymeshCommonUtilitiesAssetRawEvent (123) */ interface PolymeshCommonUtilitiesAssetRawEvent extends Enum { readonly isAssetCreated: boolean; readonly asAssetCreated: ITuple< @@ -1875,7 +1886,7 @@ declare module '@polkadot/types/lookup' { | 'RemovePreApprovedAsset'; } - /** @name PolymeshPrimitivesAssetAssetType (123) */ + /** @name PolymeshPrimitivesAssetAssetType (124) */ interface PolymeshPrimitivesAssetAssetType extends Enum { readonly isEquityCommon: boolean; readonly isEquityPreferred: boolean; @@ -1906,7 +1917,7 @@ declare module '@polkadot/types/lookup' { | 'NonFungible'; } - /** @name PolymeshPrimitivesAssetNonFungibleType (125) */ + /** @name PolymeshPrimitivesAssetNonFungibleType (126) */ interface PolymeshPrimitivesAssetNonFungibleType extends Enum { readonly isDerivative: boolean; readonly isFixedIncome: boolean; @@ -1916,7 +1927,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Derivative' | 'FixedIncome' | 'Invoice' | 'Custom'; } - /** @name PolymeshPrimitivesAssetIdentifier (128) */ + /** @name PolymeshPrimitivesAssetIdentifier (129) */ interface PolymeshPrimitivesAssetIdentifier extends Enum { readonly isCusip: boolean; readonly asCusip: U8aFixed; @@ -1931,7 +1942,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Cusip' | 'Cins' | 'Isin' | 'Lei' | 'Figi'; } - /** @name PolymeshPrimitivesDocument (134) */ + /** @name PolymeshPrimitivesDocument (135) */ interface PolymeshPrimitivesDocument extends Struct { readonly uri: Bytes; readonly contentHash: PolymeshPrimitivesDocumentHash; @@ -1940,7 +1951,7 @@ declare module '@polkadot/types/lookup' { readonly filingDate: Option; } - /** @name PolymeshPrimitivesDocumentHash (136) */ + /** @name PolymeshPrimitivesDocumentHash (137) */ interface PolymeshPrimitivesDocumentHash extends Enum { readonly isNone: boolean; readonly isH512: boolean; @@ -1962,13 +1973,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'None' | 'H512' | 'H384' | 'H320' | 'H256' | 'H224' | 'H192' | 'H160' | 'H128'; } - /** @name PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail (147) */ + /** @name PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail (148) */ interface PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail extends Struct { readonly expire: Option; readonly lockStatus: PolymeshPrimitivesAssetMetadataAssetMetadataLockStatus; } - /** @name PolymeshPrimitivesAssetMetadataAssetMetadataLockStatus (148) */ + /** @name PolymeshPrimitivesAssetMetadataAssetMetadataLockStatus (149) */ interface PolymeshPrimitivesAssetMetadataAssetMetadataLockStatus extends Enum { readonly isUnlocked: boolean; readonly isLocked: boolean; @@ -1977,14 +1988,14 @@ declare module '@polkadot/types/lookup' { readonly type: 'Unlocked' | 'Locked' | 'LockedUntil'; } - /** @name PolymeshPrimitivesAssetMetadataAssetMetadataSpec (151) */ + /** @name PolymeshPrimitivesAssetMetadataAssetMetadataSpec (152) */ interface PolymeshPrimitivesAssetMetadataAssetMetadataSpec extends Struct { readonly url: Option; readonly description: Option; readonly typeDef: Option; } - /** @name PolymeshPrimitivesAssetMetadataAssetMetadataKey (158) */ + /** @name PolymeshPrimitivesAssetMetadataAssetMetadataKey (159) */ interface PolymeshPrimitivesAssetMetadataAssetMetadataKey extends Enum { readonly isGlobal: boolean; readonly asGlobal: u64; @@ -1993,7 +2004,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Global' | 'Local'; } - /** @name PolymeshPrimitivesPortfolioPortfolioUpdateReason (160) */ + /** @name PolymeshPrimitivesPortfolioPortfolioUpdateReason (161) */ interface PolymeshPrimitivesPortfolioPortfolioUpdateReason extends Enum { readonly isIssued: boolean; readonly asIssued: { @@ -2009,7 +2020,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Issued' | 'Redeemed' | 'Transferred' | 'ControllerTransfer'; } - /** @name PalletCorporateActionsDistributionEvent (163) */ + /** @name PalletCorporateActionsDistributionEvent (164) */ interface PalletCorporateActionsDistributionEvent extends Enum { readonly isCreated: boolean; readonly asCreated: ITuple< @@ -2033,16 +2044,16 @@ declare module '@polkadot/types/lookup' { readonly type: 'Created' | 'BenefitClaimed' | 'Reclaimed' | 'Removed'; } - /** @name PolymeshPrimitivesEventOnly (164) */ + /** @name PolymeshPrimitivesEventOnly (165) */ interface PolymeshPrimitivesEventOnly extends PolymeshPrimitivesIdentityId {} - /** @name PalletCorporateActionsCaId (165) */ + /** @name PalletCorporateActionsCaId (166) */ interface PalletCorporateActionsCaId extends Struct { readonly ticker: PolymeshPrimitivesTicker; readonly localId: u32; } - /** @name PalletCorporateActionsDistribution (167) */ + /** @name PalletCorporateActionsDistribution (168) */ interface PalletCorporateActionsDistribution extends Struct { readonly from: PolymeshPrimitivesIdentityIdPortfolioId; readonly currency: PolymeshPrimitivesTicker; @@ -2054,7 +2065,7 @@ declare module '@polkadot/types/lookup' { readonly expiresAt: Option; } - /** @name PolymeshCommonUtilitiesCheckpointEvent (169) */ + /** @name PolymeshCommonUtilitiesCheckpointEvent (170) */ interface PolymeshCommonUtilitiesCheckpointEvent extends Enum { readonly isCheckpointCreated: boolean; readonly asCheckpointCreated: ITuple< @@ -2087,12 +2098,12 @@ declare module '@polkadot/types/lookup' { | 'ScheduleRemoved'; } - /** @name PolymeshCommonUtilitiesCheckpointScheduleCheckpoints (172) */ + /** @name PolymeshCommonUtilitiesCheckpointScheduleCheckpoints (173) */ interface PolymeshCommonUtilitiesCheckpointScheduleCheckpoints extends Struct { readonly pending: BTreeSet; } - /** @name PolymeshCommonUtilitiesComplianceManagerEvent (175) */ + /** @name PolymeshCommonUtilitiesComplianceManagerEvent (176) */ interface PolymeshCommonUtilitiesComplianceManagerEvent extends Enum { readonly isComplianceRequirementCreated: boolean; readonly asComplianceRequirementCreated: ITuple< @@ -2158,20 +2169,20 @@ declare module '@polkadot/types/lookup' { | 'TrustedDefaultClaimIssuerRemoved'; } - /** @name PolymeshPrimitivesComplianceManagerComplianceRequirement (176) */ + /** @name PolymeshPrimitivesComplianceManagerComplianceRequirement (177) */ interface PolymeshPrimitivesComplianceManagerComplianceRequirement extends Struct { readonly senderConditions: Vec; readonly receiverConditions: Vec; readonly id: u32; } - /** @name PolymeshPrimitivesCondition (178) */ + /** @name PolymeshPrimitivesCondition (179) */ interface PolymeshPrimitivesCondition extends Struct { readonly conditionType: PolymeshPrimitivesConditionConditionType; readonly issuers: Vec; } - /** @name PolymeshPrimitivesConditionConditionType (179) */ + /** @name PolymeshPrimitivesConditionConditionType (180) */ interface PolymeshPrimitivesConditionConditionType extends Enum { readonly isIsPresent: boolean; readonly asIsPresent: PolymeshPrimitivesIdentityClaimClaim; @@ -2186,7 +2197,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'IsPresent' | 'IsAbsent' | 'IsAnyOf' | 'IsNoneOf' | 'IsIdentity'; } - /** @name PolymeshPrimitivesConditionTargetIdentity (181) */ + /** @name PolymeshPrimitivesConditionTargetIdentity (182) */ interface PolymeshPrimitivesConditionTargetIdentity extends Enum { readonly isExternalAgent: boolean; readonly isSpecific: boolean; @@ -2194,13 +2205,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'ExternalAgent' | 'Specific'; } - /** @name PolymeshPrimitivesConditionTrustedIssuer (183) */ + /** @name PolymeshPrimitivesConditionTrustedIssuer (184) */ interface PolymeshPrimitivesConditionTrustedIssuer extends Struct { readonly issuer: PolymeshPrimitivesIdentityId; readonly trustedFor: PolymeshPrimitivesConditionTrustedFor; } - /** @name PolymeshPrimitivesConditionTrustedFor (184) */ + /** @name PolymeshPrimitivesConditionTrustedFor (185) */ interface PolymeshPrimitivesConditionTrustedFor extends Enum { readonly isAny: boolean; readonly isSpecific: boolean; @@ -2208,7 +2219,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Any' | 'Specific'; } - /** @name PolymeshPrimitivesIdentityClaimClaimType (186) */ + /** @name PolymeshPrimitivesIdentityClaimClaimType (187) */ interface PolymeshPrimitivesIdentityClaimClaimType extends Enum { readonly isAccredited: boolean; readonly isAffiliate: boolean; @@ -2234,7 +2245,7 @@ declare module '@polkadot/types/lookup' { | 'Custom'; } - /** @name PalletCorporateActionsEvent (188) */ + /** @name PalletCorporateActionsEvent (189) */ interface PalletCorporateActionsEvent extends Enum { readonly isMaxDetailsLengthChanged: boolean; readonly asMaxDetailsLengthChanged: ITuple<[PolymeshPrimitivesIdentityId, u32]>; @@ -2293,20 +2304,20 @@ declare module '@polkadot/types/lookup' { | 'RecordDateChanged'; } - /** @name PalletCorporateActionsTargetIdentities (189) */ + /** @name PalletCorporateActionsTargetIdentities (190) */ interface PalletCorporateActionsTargetIdentities extends Struct { readonly identities: Vec; readonly treatment: PalletCorporateActionsTargetTreatment; } - /** @name PalletCorporateActionsTargetTreatment (190) */ + /** @name PalletCorporateActionsTargetTreatment (191) */ interface PalletCorporateActionsTargetTreatment extends Enum { readonly isInclude: boolean; readonly isExclude: boolean; readonly type: 'Include' | 'Exclude'; } - /** @name PalletCorporateActionsCorporateAction (192) */ + /** @name PalletCorporateActionsCorporateAction (193) */ interface PalletCorporateActionsCorporateAction extends Struct { readonly kind: PalletCorporateActionsCaKind; readonly declDate: u64; @@ -2316,7 +2327,7 @@ declare module '@polkadot/types/lookup' { readonly withholdingTax: Vec>; } - /** @name PalletCorporateActionsCaKind (193) */ + /** @name PalletCorporateActionsCaKind (194) */ interface PalletCorporateActionsCaKind extends Enum { readonly isPredictableBenefit: boolean; readonly isUnpredictableBenefit: boolean; @@ -2331,13 +2342,13 @@ declare module '@polkadot/types/lookup' { | 'Other'; } - /** @name PalletCorporateActionsRecordDate (195) */ + /** @name PalletCorporateActionsRecordDate (196) */ interface PalletCorporateActionsRecordDate extends Struct { readonly date: u64; readonly checkpoint: PalletCorporateActionsCaCheckpoint; } - /** @name PalletCorporateActionsCaCheckpoint (196) */ + /** @name PalletCorporateActionsCaCheckpoint (197) */ interface PalletCorporateActionsCaCheckpoint extends Enum { readonly isScheduled: boolean; readonly asScheduled: ITuple<[u64, u64]>; @@ -2346,7 +2357,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Scheduled' | 'Existing'; } - /** @name PalletCorporateActionsBallotEvent (201) */ + /** @name PalletCorporateActionsBallotEvent (202) */ interface PalletCorporateActionsBallotEvent extends Enum { readonly isCreated: boolean; readonly asCreated: ITuple< @@ -2395,32 +2406,32 @@ declare module '@polkadot/types/lookup' { | 'Removed'; } - /** @name PalletCorporateActionsBallotBallotTimeRange (202) */ + /** @name PalletCorporateActionsBallotBallotTimeRange (203) */ interface PalletCorporateActionsBallotBallotTimeRange extends Struct { readonly start: u64; readonly end: u64; } - /** @name PalletCorporateActionsBallotBallotMeta (203) */ + /** @name PalletCorporateActionsBallotBallotMeta (204) */ interface PalletCorporateActionsBallotBallotMeta extends Struct { readonly title: Bytes; readonly motions: Vec; } - /** @name PalletCorporateActionsBallotMotion (206) */ + /** @name PalletCorporateActionsBallotMotion (207) */ interface PalletCorporateActionsBallotMotion extends Struct { readonly title: Bytes; readonly infoLink: Bytes; readonly choices: Vec; } - /** @name PalletCorporateActionsBallotBallotVote (212) */ + /** @name PalletCorporateActionsBallotBallotVote (213) */ interface PalletCorporateActionsBallotBallotVote extends Struct { readonly power: u128; readonly fallback: Option; } - /** @name PalletPipsRawEvent (215) */ + /** @name PalletPipsRawEvent (216) */ interface PalletPipsRawEvent extends Enum { readonly isHistoricalPipsPruned: boolean; readonly asHistoricalPipsPruned: ITuple<[PolymeshPrimitivesIdentityId, bool, bool]>; @@ -2508,7 +2519,7 @@ declare module '@polkadot/types/lookup' { | 'ExecutionCancellingFailed'; } - /** @name PalletPipsProposer (216) */ + /** @name PalletPipsProposer (217) */ interface PalletPipsProposer extends Enum { readonly isCommunity: boolean; readonly asCommunity: AccountId32; @@ -2517,14 +2528,14 @@ declare module '@polkadot/types/lookup' { readonly type: 'Community' | 'Committee'; } - /** @name PalletPipsCommittee (217) */ + /** @name PalletPipsCommittee (218) */ interface PalletPipsCommittee extends Enum { readonly isTechnical: boolean; readonly isUpgrade: boolean; readonly type: 'Technical' | 'Upgrade'; } - /** @name PalletPipsProposalData (221) */ + /** @name PalletPipsProposalData (222) */ interface PalletPipsProposalData extends Enum { readonly isHash: boolean; readonly asHash: H256; @@ -2533,7 +2544,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Hash' | 'Proposal'; } - /** @name PalletPipsProposalState (222) */ + /** @name PalletPipsProposalState (223) */ interface PalletPipsProposalState extends Enum { readonly isPending: boolean; readonly isRejected: boolean; @@ -2544,13 +2555,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'Pending' | 'Rejected' | 'Scheduled' | 'Failed' | 'Executed' | 'Expired'; } - /** @name PalletPipsSnapshottedPip (225) */ + /** @name PalletPipsSnapshottedPip (226) */ interface PalletPipsSnapshottedPip extends Struct { readonly id: u32; readonly weight: ITuple<[bool, u128]>; } - /** @name PolymeshCommonUtilitiesPortfolioEvent (231) */ + /** @name PolymeshCommonUtilitiesPortfolioEvent (232) */ interface PolymeshCommonUtilitiesPortfolioEvent extends Enum { readonly isPortfolioCreated: boolean; readonly asPortfolioCreated: ITuple<[PolymeshPrimitivesIdentityId, u64, Bytes]>; @@ -2605,7 +2616,7 @@ declare module '@polkadot/types/lookup' { | 'RevokePreApprovedPortfolio'; } - /** @name PolymeshPrimitivesPortfolioFundDescription (235) */ + /** @name PolymeshPrimitivesPortfolioFundDescription (236) */ interface PolymeshPrimitivesPortfolioFundDescription extends Enum { readonly isFungible: boolean; readonly asFungible: { @@ -2617,13 +2628,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'Fungible' | 'NonFungible'; } - /** @name PolymeshPrimitivesNftNfTs (236) */ + /** @name PolymeshPrimitivesNftNfTs (237) */ interface PolymeshPrimitivesNftNfTs extends Struct { readonly ticker: PolymeshPrimitivesTicker; readonly ids: Vec; } - /** @name PalletProtocolFeeRawEvent (239) */ + /** @name PalletProtocolFeeRawEvent (240) */ interface PalletProtocolFeeRawEvent extends Enum { readonly isFeeSet: boolean; readonly asFeeSet: ITuple<[PolymeshPrimitivesIdentityId, u128]>; @@ -2634,10 +2645,10 @@ declare module '@polkadot/types/lookup' { readonly type: 'FeeSet' | 'CoefficientSet' | 'FeeCharged'; } - /** @name PolymeshPrimitivesPosRatio (240) */ + /** @name PolymeshPrimitivesPosRatio (241) */ interface PolymeshPrimitivesPosRatio extends ITuple<[u32, u32]> {} - /** @name PalletSchedulerEvent (241) */ + /** @name PalletSchedulerEvent (242) */ interface PalletSchedulerEvent extends Enum { readonly isScheduled: boolean; readonly asScheduled: { @@ -2679,7 +2690,7 @@ declare module '@polkadot/types/lookup' { | 'PermanentlyOverweight'; } - /** @name PolymeshCommonUtilitiesSettlementRawEvent (244) */ + /** @name PolymeshCommonUtilitiesSettlementRawEvent (245) */ interface PolymeshCommonUtilitiesSettlementRawEvent extends Enum { readonly isVenueCreated: boolean; readonly asVenueCreated: ITuple< @@ -2787,7 +2798,7 @@ declare module '@polkadot/types/lookup' { | 'InstructionAutomaticallyAffirmed'; } - /** @name PolymeshPrimitivesSettlementVenueType (247) */ + /** @name PolymeshPrimitivesSettlementVenueType (248) */ interface PolymeshPrimitivesSettlementVenueType extends Enum { readonly isOther: boolean; readonly isDistribution: boolean; @@ -2796,10 +2807,10 @@ declare module '@polkadot/types/lookup' { readonly type: 'Other' | 'Distribution' | 'Sto' | 'Exchange'; } - /** @name PolymeshPrimitivesSettlementReceiptMetadata (250) */ + /** @name PolymeshPrimitivesSettlementReceiptMetadata (251) */ interface PolymeshPrimitivesSettlementReceiptMetadata extends U8aFixed {} - /** @name PolymeshPrimitivesSettlementSettlementType (252) */ + /** @name PolymeshPrimitivesSettlementSettlementType (253) */ interface PolymeshPrimitivesSettlementSettlementType extends Enum { readonly isSettleOnAffirmation: boolean; readonly isSettleOnBlock: boolean; @@ -2809,7 +2820,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'SettleOnAffirmation' | 'SettleOnBlock' | 'SettleManual'; } - /** @name PolymeshPrimitivesSettlementLeg (254) */ + /** @name PolymeshPrimitivesSettlementLeg (255) */ interface PolymeshPrimitivesSettlementLeg extends Enum { readonly isFungible: boolean; readonly asFungible: { @@ -2834,7 +2845,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Fungible' | 'NonFungible' | 'OffChain'; } - /** @name PolymeshCommonUtilitiesStatisticsEvent (255) */ + /** @name PolymeshCommonUtilitiesStatisticsEvent (256) */ interface PolymeshCommonUtilitiesStatisticsEvent extends Enum { readonly isStatTypesAdded: boolean; readonly asStatTypesAdded: ITuple< @@ -2894,14 +2905,14 @@ declare module '@polkadot/types/lookup' { | 'TransferConditionExemptionsRemoved'; } - /** @name PolymeshPrimitivesStatisticsAssetScope (256) */ + /** @name PolymeshPrimitivesStatisticsAssetScope (257) */ interface PolymeshPrimitivesStatisticsAssetScope extends Enum { readonly isTicker: boolean; readonly asTicker: PolymeshPrimitivesTicker; readonly type: 'Ticker'; } - /** @name PolymeshPrimitivesStatisticsStatType (258) */ + /** @name PolymeshPrimitivesStatisticsStatType (259) */ interface PolymeshPrimitivesStatisticsStatType extends Struct { readonly op: PolymeshPrimitivesStatisticsStatOpType; readonly claimIssuer: Option< @@ -2909,20 +2920,20 @@ declare module '@polkadot/types/lookup' { >; } - /** @name PolymeshPrimitivesStatisticsStatOpType (259) */ + /** @name PolymeshPrimitivesStatisticsStatOpType (260) */ interface PolymeshPrimitivesStatisticsStatOpType extends Enum { readonly isCount: boolean; readonly isBalance: boolean; readonly type: 'Count' | 'Balance'; } - /** @name PolymeshPrimitivesStatisticsStatUpdate (263) */ + /** @name PolymeshPrimitivesStatisticsStatUpdate (264) */ interface PolymeshPrimitivesStatisticsStatUpdate extends Struct { readonly key2: PolymeshPrimitivesStatisticsStat2ndKey; readonly value: Option; } - /** @name PolymeshPrimitivesStatisticsStat2ndKey (264) */ + /** @name PolymeshPrimitivesStatisticsStat2ndKey (265) */ interface PolymeshPrimitivesStatisticsStat2ndKey extends Enum { readonly isNoClaimStat: boolean; readonly isClaim: boolean; @@ -2930,7 +2941,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'NoClaimStat' | 'Claim'; } - /** @name PolymeshPrimitivesStatisticsStatClaim (265) */ + /** @name PolymeshPrimitivesStatisticsStatClaim (266) */ interface PolymeshPrimitivesStatisticsStatClaim extends Enum { readonly isAccredited: boolean; readonly asAccredited: bool; @@ -2941,7 +2952,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Accredited' | 'Affiliate' | 'Jurisdiction'; } - /** @name PolymeshPrimitivesTransferComplianceTransferCondition (269) */ + /** @name PolymeshPrimitivesTransferComplianceTransferCondition (270) */ interface PolymeshPrimitivesTransferComplianceTransferCondition extends Enum { readonly isMaxInvestorCount: boolean; readonly asMaxInvestorCount: u64; @@ -2958,14 +2969,14 @@ declare module '@polkadot/types/lookup' { readonly type: 'MaxInvestorCount' | 'MaxInvestorOwnership' | 'ClaimCount' | 'ClaimOwnership'; } - /** @name PolymeshPrimitivesTransferComplianceTransferConditionExemptKey (270) */ + /** @name PolymeshPrimitivesTransferComplianceTransferConditionExemptKey (271) */ interface PolymeshPrimitivesTransferComplianceTransferConditionExemptKey extends Struct { readonly asset: PolymeshPrimitivesStatisticsAssetScope; readonly op: PolymeshPrimitivesStatisticsStatOpType; readonly claimType: Option; } - /** @name PalletStoRawEvent (272) */ + /** @name PalletStoRawEvent (273) */ interface PalletStoRawEvent extends Enum { readonly isFundraiserCreated: boolean; readonly asFundraiserCreated: ITuple< @@ -3001,7 +3012,7 @@ declare module '@polkadot/types/lookup' { | 'FundraiserClosed'; } - /** @name PalletStoFundraiser (275) */ + /** @name PalletStoFundraiser (276) */ interface PalletStoFundraiser extends Struct { readonly creator: PolymeshPrimitivesIdentityId; readonly offeringPortfolio: PolymeshPrimitivesIdentityIdPortfolioId; @@ -3016,14 +3027,14 @@ declare module '@polkadot/types/lookup' { readonly minimumInvestment: u128; } - /** @name PalletStoFundraiserTier (277) */ + /** @name PalletStoFundraiserTier (278) */ interface PalletStoFundraiserTier extends Struct { readonly total: u128; readonly price: u128; readonly remaining: u128; } - /** @name PalletStoFundraiserStatus (278) */ + /** @name PalletStoFundraiserStatus (279) */ interface PalletStoFundraiserStatus extends Enum { readonly isLive: boolean; readonly isFrozen: boolean; @@ -3032,7 +3043,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Live' | 'Frozen' | 'Closed' | 'ClosedEarly'; } - /** @name PalletTreasuryRawEvent (279) */ + /** @name PalletTreasuryRawEvent (280) */ interface PalletTreasuryRawEvent extends Enum { readonly isTreasuryDisbursement: boolean; readonly asTreasuryDisbursement: ITuple< @@ -3047,7 +3058,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'TreasuryDisbursement' | 'TreasuryDisbursementFailed' | 'TreasuryReimbursement'; } - /** @name PalletUtilityEvent (280) */ + /** @name PalletUtilityEvent (281) */ interface PalletUtilityEvent extends Enum { readonly isBatchInterrupted: boolean; readonly asBatchInterrupted: { @@ -3092,14 +3103,14 @@ declare module '@polkadot/types/lookup' { | 'BatchCompletedOld'; } - /** @name PolymeshCommonUtilitiesBaseEvent (284) */ + /** @name PolymeshCommonUtilitiesBaseEvent (285) */ interface PolymeshCommonUtilitiesBaseEvent extends Enum { readonly isUnexpectedError: boolean; readonly asUnexpectedError: Option; readonly type: 'UnexpectedError'; } - /** @name PolymeshCommonUtilitiesExternalAgentsEvent (286) */ + /** @name PolymeshCommonUtilitiesExternalAgentsEvent (287) */ interface PolymeshCommonUtilitiesExternalAgentsEvent extends Enum { readonly isGroupCreated: boolean; readonly asGroupCreated: ITuple< @@ -3144,7 +3155,7 @@ declare module '@polkadot/types/lookup' { | 'GroupChanged'; } - /** @name PolymeshCommonUtilitiesRelayerRawEvent (287) */ + /** @name PolymeshCommonUtilitiesRelayerRawEvent (288) */ interface PolymeshCommonUtilitiesRelayerRawEvent extends Enum { readonly isAuthorizedPayingKey: boolean; readonly asAuthorizedPayingKey: ITuple< @@ -3165,7 +3176,7 @@ declare module '@polkadot/types/lookup' { | 'UpdatedPolyxLimit'; } - /** @name PalletContractsEvent (288) */ + /** @name PalletContractsEvent (289) */ interface PalletContractsEvent extends Enum { readonly isInstantiated: boolean; readonly asInstantiated: { @@ -3217,7 +3228,7 @@ declare module '@polkadot/types/lookup' { | 'DelegateCalled'; } - /** @name PolymeshContractsRawEvent (289) */ + /** @name PolymeshContractsRawEvent (290) */ interface PolymeshContractsRawEvent extends Enum { readonly isApiHashUpdated: boolean; readonly asApiHashUpdated: ITuple<[PolymeshContractsApi, PolymeshContractsChainVersion, H256]>; @@ -3226,22 +3237,22 @@ declare module '@polkadot/types/lookup' { readonly type: 'ApiHashUpdated' | 'ScRuntimeCall'; } - /** @name PolymeshContractsApi (290) */ + /** @name PolymeshContractsApi (291) */ interface PolymeshContractsApi extends Struct { readonly desc: U8aFixed; readonly major: u32; } - /** @name PolymeshContractsChainVersion (291) */ + /** @name PolymeshContractsChainVersion (292) */ interface PolymeshContractsChainVersion extends Struct { readonly specVersion: u32; readonly txVersion: u32; } - /** @name PolymeshContractsChainExtensionExtrinsicId (292) */ + /** @name PolymeshContractsChainExtensionExtrinsicId (293) */ interface PolymeshContractsChainExtensionExtrinsicId extends ITuple<[u8, u8]> {} - /** @name PalletPreimageEvent (293) */ + /** @name PalletPreimageEvent (294) */ interface PalletPreimageEvent extends Enum { readonly isNoted: boolean; readonly asNoted: { @@ -3258,7 +3269,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Noted' | 'Requested' | 'Cleared'; } - /** @name PolymeshCommonUtilitiesNftEvent (294) */ + /** @name PolymeshCommonUtilitiesNftEvent (295) */ interface PolymeshCommonUtilitiesNftEvent extends Enum { readonly isNftCollectionCreated: boolean; readonly asNftCollectionCreated: ITuple< @@ -3277,7 +3288,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'NftCollectionCreated' | 'NftPortfolioUpdated'; } - /** @name PalletTestUtilsRawEvent (296) */ + /** @name PalletTestUtilsRawEvent (297) */ interface PalletTestUtilsRawEvent extends Enum { readonly isDidStatus: boolean; readonly asDidStatus: ITuple<[PolymeshPrimitivesIdentityId, AccountId32]>; @@ -3286,7 +3297,155 @@ declare module '@polkadot/types/lookup' { readonly type: 'DidStatus' | 'CddStatus'; } - /** @name FrameSystemPhase (297) */ + /** @name PalletConfidentialAssetEvent (298) */ + interface PalletConfidentialAssetEvent extends Enum { + readonly isAccountCreated: boolean; + readonly asAccountCreated: ITuple< + [PolymeshPrimitivesIdentityId, PalletConfidentialAssetConfidentialAccount] + >; + readonly isConfidentialAssetCreated: boolean; + readonly asConfidentialAssetCreated: ITuple< + [PolymeshPrimitivesIdentityId, U8aFixed, PalletConfidentialAssetConfidentialAuditors] + >; + readonly isIssued: boolean; + readonly asIssued: ITuple<[PolymeshPrimitivesIdentityId, U8aFixed, u128, u128]>; + readonly isVenueCreated: boolean; + readonly asVenueCreated: ITuple<[PolymeshPrimitivesIdentityId, u64]>; + readonly isVenueFiltering: boolean; + readonly asVenueFiltering: ITuple<[PolymeshPrimitivesIdentityId, U8aFixed, bool]>; + readonly isVenuesAllowed: boolean; + readonly asVenuesAllowed: ITuple<[PolymeshPrimitivesIdentityId, U8aFixed, Vec]>; + readonly isVenuesBlocked: boolean; + readonly asVenuesBlocked: ITuple<[PolymeshPrimitivesIdentityId, U8aFixed, Vec]>; + readonly isTransactionCreated: boolean; + readonly asTransactionCreated: ITuple< + [ + PolymeshPrimitivesIdentityId, + u64, + PalletConfidentialAssetTransactionId, + Vec, + Option + ] + >; + readonly isTransactionExecuted: boolean; + readonly asTransactionExecuted: ITuple< + [ + PolymeshPrimitivesIdentityId, + PalletConfidentialAssetTransactionId, + Option + ] + >; + readonly isTransactionRejected: boolean; + readonly asTransactionRejected: ITuple< + [ + PolymeshPrimitivesIdentityId, + PalletConfidentialAssetTransactionId, + Option + ] + >; + readonly isTransactionAffirmed: boolean; + readonly asTransactionAffirmed: ITuple< + [ + PolymeshPrimitivesIdentityId, + PalletConfidentialAssetTransactionId, + PalletConfidentialAssetTransactionLegId, + PalletConfidentialAssetAffirmParty, + u32 + ] + >; + readonly isAccountWithdraw: boolean; + readonly asAccountWithdraw: ITuple< + [ + PalletConfidentialAssetConfidentialAccount, + U8aFixed, + ConfidentialAssetsElgamalCipherText, + ConfidentialAssetsElgamalCipherText + ] + >; + readonly isAccountDeposit: boolean; + readonly asAccountDeposit: ITuple< + [ + PalletConfidentialAssetConfidentialAccount, + U8aFixed, + ConfidentialAssetsElgamalCipherText, + ConfidentialAssetsElgamalCipherText + ] + >; + readonly isAccountDepositIncoming: boolean; + readonly asAccountDepositIncoming: ITuple< + [ + PalletConfidentialAssetConfidentialAccount, + U8aFixed, + ConfidentialAssetsElgamalCipherText, + ConfidentialAssetsElgamalCipherText + ] + >; + readonly type: + | 'AccountCreated' + | 'ConfidentialAssetCreated' + | 'Issued' + | 'VenueCreated' + | 'VenueFiltering' + | 'VenuesAllowed' + | 'VenuesBlocked' + | 'TransactionCreated' + | 'TransactionExecuted' + | 'TransactionRejected' + | 'TransactionAffirmed' + | 'AccountWithdraw' + | 'AccountDeposit' + | 'AccountDepositIncoming'; + } + + /** @name PalletConfidentialAssetConfidentialAccount (299) */ + interface PalletConfidentialAssetConfidentialAccount + extends ConfidentialAssetsElgamalCompressedElgamalPublicKey {} + + /** @name ConfidentialAssetsElgamalCompressedElgamalPublicKey (300) */ + interface ConfidentialAssetsElgamalCompressedElgamalPublicKey extends U8aFixed {} + + /** @name PalletConfidentialAssetConfidentialAuditors (301) */ + interface PalletConfidentialAssetConfidentialAuditors extends Struct { + readonly auditors: BTreeSet; + readonly mediators: BTreeSet; + } + + /** @name PalletConfidentialAssetAuditorAccount (303) */ + interface PalletConfidentialAssetAuditorAccount + extends ConfidentialAssetsElgamalCompressedElgamalPublicKey {} + + /** @name PalletConfidentialAssetTransactionId (308) */ + interface PalletConfidentialAssetTransactionId extends Compact {} + + /** @name PalletConfidentialAssetTransactionLegDetails (310) */ + interface PalletConfidentialAssetTransactionLegDetails extends Struct { + readonly auditors: BTreeMap>; + readonly sender: PalletConfidentialAssetConfidentialAccount; + readonly receiver: PalletConfidentialAssetConfidentialAccount; + readonly mediators: BTreeSet; + } + + /** @name PalletConfidentialAssetTransactionLegId (318) */ + interface PalletConfidentialAssetTransactionLegId extends Compact {} + + /** @name PalletConfidentialAssetAffirmParty (320) */ + interface PalletConfidentialAssetAffirmParty extends Enum { + readonly isSender: boolean; + readonly asSender: PalletConfidentialAssetConfidentialTransfers; + readonly isReceiver: boolean; + readonly isMediator: boolean; + readonly type: 'Sender' | 'Receiver' | 'Mediator'; + } + + /** @name PalletConfidentialAssetConfidentialTransfers (321) */ + interface PalletConfidentialAssetConfidentialTransfers extends Struct { + readonly proofs: BTreeMap; + } + + /** @name ConfidentialAssetsElgamalCipherText (327) */ + interface ConfidentialAssetsElgamalCipherText extends U8aFixed {} + + /** @name FrameSystemPhase (328) */ interface FrameSystemPhase extends Enum { readonly isApplyExtrinsic: boolean; readonly asApplyExtrinsic: u32; @@ -3295,13 +3454,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization'; } - /** @name FrameSystemLastRuntimeUpgradeInfo (300) */ + /** @name FrameSystemLastRuntimeUpgradeInfo (331) */ interface FrameSystemLastRuntimeUpgradeInfo extends Struct { readonly specVersion: Compact; readonly specName: Text; } - /** @name FrameSystemCall (303) */ + /** @name FrameSystemCall (333) */ interface FrameSystemCall extends Enum { readonly isRemark: boolean; readonly asRemark: { @@ -3347,21 +3506,21 @@ declare module '@polkadot/types/lookup' { | 'RemarkWithEvent'; } - /** @name FrameSystemLimitsBlockWeights (307) */ + /** @name FrameSystemLimitsBlockWeights (337) */ interface FrameSystemLimitsBlockWeights extends Struct { readonly baseBlock: SpWeightsWeightV2Weight; readonly maxBlock: SpWeightsWeightV2Weight; readonly perClass: FrameSupportDispatchPerDispatchClassWeightsPerClass; } - /** @name FrameSupportDispatchPerDispatchClassWeightsPerClass (308) */ + /** @name FrameSupportDispatchPerDispatchClassWeightsPerClass (338) */ interface FrameSupportDispatchPerDispatchClassWeightsPerClass extends Struct { readonly normal: FrameSystemLimitsWeightsPerClass; readonly operational: FrameSystemLimitsWeightsPerClass; readonly mandatory: FrameSystemLimitsWeightsPerClass; } - /** @name FrameSystemLimitsWeightsPerClass (309) */ + /** @name FrameSystemLimitsWeightsPerClass (339) */ interface FrameSystemLimitsWeightsPerClass extends Struct { readonly baseExtrinsic: SpWeightsWeightV2Weight; readonly maxExtrinsic: Option; @@ -3369,25 +3528,25 @@ declare module '@polkadot/types/lookup' { readonly reserved: Option; } - /** @name FrameSystemLimitsBlockLength (311) */ + /** @name FrameSystemLimitsBlockLength (341) */ interface FrameSystemLimitsBlockLength extends Struct { readonly max: FrameSupportDispatchPerDispatchClassU32; } - /** @name FrameSupportDispatchPerDispatchClassU32 (312) */ + /** @name FrameSupportDispatchPerDispatchClassU32 (342) */ interface FrameSupportDispatchPerDispatchClassU32 extends Struct { readonly normal: u32; readonly operational: u32; readonly mandatory: u32; } - /** @name SpWeightsRuntimeDbWeight (313) */ + /** @name SpWeightsRuntimeDbWeight (343) */ interface SpWeightsRuntimeDbWeight extends Struct { readonly read: u64; readonly write: u64; } - /** @name SpVersionRuntimeVersion (314) */ + /** @name SpVersionRuntimeVersion (344) */ interface SpVersionRuntimeVersion extends Struct { readonly specName: Text; readonly implName: Text; @@ -3399,7 +3558,7 @@ declare module '@polkadot/types/lookup' { readonly stateVersion: u8; } - /** @name FrameSystemError (319) */ + /** @name FrameSystemError (349) */ interface FrameSystemError extends Enum { readonly isInvalidSpecName: boolean; readonly isSpecVersionNeedsToIncrease: boolean; @@ -3416,10 +3575,10 @@ declare module '@polkadot/types/lookup' { | 'CallFiltered'; } - /** @name SpConsensusBabeAppPublic (322) */ + /** @name SpConsensusBabeAppPublic (352) */ interface SpConsensusBabeAppPublic extends SpCoreSr25519Public {} - /** @name SpConsensusBabeDigestsNextConfigDescriptor (325) */ + /** @name SpConsensusBabeDigestsNextConfigDescriptor (355) */ interface SpConsensusBabeDigestsNextConfigDescriptor extends Enum { readonly isV1: boolean; readonly asV1: { @@ -3429,7 +3588,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'V1'; } - /** @name SpConsensusBabeAllowedSlots (327) */ + /** @name SpConsensusBabeAllowedSlots (357) */ interface SpConsensusBabeAllowedSlots extends Enum { readonly isPrimarySlots: boolean; readonly isPrimaryAndSecondaryPlainSlots: boolean; @@ -3437,7 +3596,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'PrimarySlots' | 'PrimaryAndSecondaryPlainSlots' | 'PrimaryAndSecondaryVRFSlots'; } - /** @name SpConsensusBabeDigestsPreDigest (331) */ + /** @name SpConsensusBabeDigestsPreDigest (361) */ interface SpConsensusBabeDigestsPreDigest extends Enum { readonly isPrimary: boolean; readonly asPrimary: SpConsensusBabeDigestsPrimaryPreDigest; @@ -3448,7 +3607,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Primary' | 'SecondaryPlain' | 'SecondaryVRF'; } - /** @name SpConsensusBabeDigestsPrimaryPreDigest (332) */ + /** @name SpConsensusBabeDigestsPrimaryPreDigest (362) */ interface SpConsensusBabeDigestsPrimaryPreDigest extends Struct { readonly authorityIndex: u32; readonly slot: u64; @@ -3456,13 +3615,13 @@ declare module '@polkadot/types/lookup' { readonly vrfProof: U8aFixed; } - /** @name SpConsensusBabeDigestsSecondaryPlainPreDigest (333) */ + /** @name SpConsensusBabeDigestsSecondaryPlainPreDigest (363) */ interface SpConsensusBabeDigestsSecondaryPlainPreDigest extends Struct { readonly authorityIndex: u32; readonly slot: u64; } - /** @name SpConsensusBabeDigestsSecondaryVRFPreDigest (334) */ + /** @name SpConsensusBabeDigestsSecondaryVRFPreDigest (364) */ interface SpConsensusBabeDigestsSecondaryVRFPreDigest extends Struct { readonly authorityIndex: u32; readonly slot: u64; @@ -3470,13 +3629,13 @@ declare module '@polkadot/types/lookup' { readonly vrfProof: U8aFixed; } - /** @name SpConsensusBabeBabeEpochConfiguration (335) */ + /** @name SpConsensusBabeBabeEpochConfiguration (365) */ interface SpConsensusBabeBabeEpochConfiguration extends Struct { readonly c: ITuple<[u64, u64]>; readonly allowedSlots: SpConsensusBabeAllowedSlots; } - /** @name PalletBabeCall (339) */ + /** @name PalletBabeCall (369) */ interface PalletBabeCall extends Enum { readonly isReportEquivocation: boolean; readonly asReportEquivocation: { @@ -3495,7 +3654,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'ReportEquivocation' | 'ReportEquivocationUnsigned' | 'PlanConfigChange'; } - /** @name SpConsensusSlotsEquivocationProof (340) */ + /** @name SpConsensusSlotsEquivocationProof (370) */ interface SpConsensusSlotsEquivocationProof extends Struct { readonly offender: SpConsensusBabeAppPublic; readonly slot: u64; @@ -3503,7 +3662,7 @@ declare module '@polkadot/types/lookup' { readonly secondHeader: SpRuntimeHeader; } - /** @name SpRuntimeHeader (341) */ + /** @name SpRuntimeHeader (371) */ interface SpRuntimeHeader extends Struct { readonly parentHash: H256; readonly number: Compact; @@ -3512,17 +3671,17 @@ declare module '@polkadot/types/lookup' { readonly digest: SpRuntimeDigest; } - /** @name SpRuntimeBlakeTwo256 (342) */ + /** @name SpRuntimeBlakeTwo256 (372) */ type SpRuntimeBlakeTwo256 = Null; - /** @name SpSessionMembershipProof (343) */ + /** @name SpSessionMembershipProof (373) */ interface SpSessionMembershipProof extends Struct { readonly session: u32; readonly trieNodes: Vec; readonly validatorCount: u32; } - /** @name PalletBabeError (344) */ + /** @name PalletBabeError (374) */ interface PalletBabeError extends Enum { readonly isInvalidEquivocationProof: boolean; readonly isInvalidKeyOwnershipProof: boolean; @@ -3535,7 +3694,7 @@ declare module '@polkadot/types/lookup' { | 'InvalidConfiguration'; } - /** @name PalletTimestampCall (345) */ + /** @name PalletTimestampCall (375) */ interface PalletTimestampCall extends Enum { readonly isSet: boolean; readonly asSet: { @@ -3544,7 +3703,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Set'; } - /** @name PalletIndicesCall (347) */ + /** @name PalletIndicesCall (377) */ interface PalletIndicesCall extends Enum { readonly isClaim: boolean; readonly asClaim: { @@ -3572,7 +3731,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Claim' | 'Transfer' | 'Free' | 'ForceTransfer' | 'Freeze'; } - /** @name PalletIndicesError (349) */ + /** @name PalletIndicesError (379) */ interface PalletIndicesError extends Enum { readonly isNotAssigned: boolean; readonly isNotOwner: boolean; @@ -3582,14 +3741,14 @@ declare module '@polkadot/types/lookup' { readonly type: 'NotAssigned' | 'NotOwner' | 'InUse' | 'NotTransfer' | 'Permanent'; } - /** @name PalletBalancesBalanceLock (351) */ + /** @name PalletBalancesBalanceLock (381) */ interface PalletBalancesBalanceLock extends Struct { readonly id: U8aFixed; readonly amount: u128; readonly reasons: PolymeshCommonUtilitiesBalancesReasons; } - /** @name PolymeshCommonUtilitiesBalancesReasons (352) */ + /** @name PolymeshCommonUtilitiesBalancesReasons (382) */ interface PolymeshCommonUtilitiesBalancesReasons extends Enum { readonly isFee: boolean; readonly isMisc: boolean; @@ -3597,7 +3756,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Fee' | 'Misc' | 'All'; } - /** @name PalletBalancesCall (353) */ + /** @name PalletBalancesCall (383) */ interface PalletBalancesCall extends Enum { readonly isTransfer: boolean; readonly asTransfer: { @@ -3639,7 +3798,7 @@ declare module '@polkadot/types/lookup' { | 'BurnAccountBalance'; } - /** @name PalletBalancesError (354) */ + /** @name PalletBalancesError (384) */ interface PalletBalancesError extends Enum { readonly isLiquidityRestrictions: boolean; readonly isOverflow: boolean; @@ -3654,14 +3813,14 @@ declare module '@polkadot/types/lookup' { | 'ReceiverCddMissing'; } - /** @name PalletTransactionPaymentReleases (356) */ + /** @name PalletTransactionPaymentReleases (386) */ interface PalletTransactionPaymentReleases extends Enum { readonly isV1Ancient: boolean; readonly isV2: boolean; readonly type: 'V1Ancient' | 'V2'; } - /** @name SpWeightsWeightToFeeCoefficient (358) */ + /** @name SpWeightsWeightToFeeCoefficient (388) */ interface SpWeightsWeightToFeeCoefficient extends Struct { readonly coeffInteger: u128; readonly coeffFrac: Perbill; @@ -3669,24 +3828,24 @@ declare module '@polkadot/types/lookup' { readonly degree: u8; } - /** @name PolymeshPrimitivesIdentityDidRecord (359) */ + /** @name PolymeshPrimitivesIdentityDidRecord (389) */ interface PolymeshPrimitivesIdentityDidRecord extends Struct { readonly primaryKey: Option; } - /** @name PalletIdentityClaim1stKey (361) */ + /** @name PalletIdentityClaim1stKey (391) */ interface PalletIdentityClaim1stKey extends Struct { readonly target: PolymeshPrimitivesIdentityId; readonly claimType: PolymeshPrimitivesIdentityClaimClaimType; } - /** @name PalletIdentityClaim2ndKey (362) */ + /** @name PalletIdentityClaim2ndKey (392) */ interface PalletIdentityClaim2ndKey extends Struct { readonly issuer: PolymeshPrimitivesIdentityId; readonly scope: Option; } - /** @name PolymeshPrimitivesSecondaryKeyKeyRecord (363) */ + /** @name PolymeshPrimitivesSecondaryKeyKeyRecord (393) */ interface PolymeshPrimitivesSecondaryKeyKeyRecord extends Enum { readonly isPrimaryKey: boolean; readonly asPrimaryKey: PolymeshPrimitivesIdentityId; @@ -3699,7 +3858,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'PrimaryKey' | 'SecondaryKey' | 'MultiSigSignerKey'; } - /** @name PolymeshPrimitivesAuthorization (366) */ + /** @name PolymeshPrimitivesAuthorization (396) */ interface PolymeshPrimitivesAuthorization extends Struct { readonly authorizationData: PolymeshPrimitivesAuthorizationAuthorizationData; readonly authorizedBy: PolymeshPrimitivesIdentityId; @@ -3708,7 +3867,7 @@ declare module '@polkadot/types/lookup' { readonly count: u32; } - /** @name PalletIdentityCall (369) */ + /** @name PalletIdentityCall (400) */ interface PalletIdentityCall extends Enum { readonly isCddRegisterDid: boolean; readonly asCddRegisterDid: { @@ -3843,19 +4002,19 @@ declare module '@polkadot/types/lookup' { | 'UnlinkChildIdentity'; } - /** @name PolymeshCommonUtilitiesIdentitySecondaryKeyWithAuth (371) */ + /** @name PolymeshCommonUtilitiesIdentitySecondaryKeyWithAuth (402) */ interface PolymeshCommonUtilitiesIdentitySecondaryKeyWithAuth extends Struct { readonly secondaryKey: PolymeshPrimitivesSecondaryKey; readonly authSignature: H512; } - /** @name PolymeshCommonUtilitiesIdentityCreateChildIdentityWithAuth (374) */ + /** @name PolymeshCommonUtilitiesIdentityCreateChildIdentityWithAuth (405) */ interface PolymeshCommonUtilitiesIdentityCreateChildIdentityWithAuth extends Struct { readonly key: AccountId32; readonly authSignature: H512; } - /** @name PalletIdentityError (375) */ + /** @name PalletIdentityError (406) */ interface PalletIdentityError extends Enum { readonly isAlreadyLinked: boolean; readonly isMissingCurrentIdentity: boolean; @@ -3926,14 +4085,14 @@ declare module '@polkadot/types/lookup' { | 'ExceptNotAllowedForExtrinsics'; } - /** @name PolymeshCommonUtilitiesGroupInactiveMember (377) */ + /** @name PolymeshCommonUtilitiesGroupInactiveMember (408) */ interface PolymeshCommonUtilitiesGroupInactiveMember extends Struct { readonly id: PolymeshPrimitivesIdentityId; readonly deactivatedAt: u64; readonly expiry: Option; } - /** @name PalletGroupCall (378) */ + /** @name PalletGroupCall (409) */ interface PalletGroupCall extends Enum { readonly isSetActiveMembersLimit: boolean; readonly asSetActiveMembersLimit: { @@ -3973,7 +4132,7 @@ declare module '@polkadot/types/lookup' { | 'AbdicateMembership'; } - /** @name PalletGroupError (379) */ + /** @name PalletGroupError (410) */ interface PalletGroupError extends Enum { readonly isOnlyPrimaryKeyAllowed: boolean; readonly isDuplicateMember: boolean; @@ -3992,7 +4151,7 @@ declare module '@polkadot/types/lookup' { | 'ActiveMembersLimitOverflow'; } - /** @name PalletCommitteeCall (381) */ + /** @name PalletCommitteeCall (412) */ interface PalletCommitteeCall extends Enum { readonly isSetVoteThreshold: boolean; readonly asSetVoteThreshold: { @@ -4026,7 +4185,7 @@ declare module '@polkadot/types/lookup' { | 'Vote'; } - /** @name PalletMultisigCall (387) */ + /** @name PalletMultisigCall (418) */ interface PalletMultisigCall extends Enum { readonly isCreateMultisig: boolean; readonly asCreateMultisig: { @@ -4160,7 +4319,7 @@ declare module '@polkadot/types/lookup' { | 'RemoveCreatorControls'; } - /** @name PalletBridgeCall (388) */ + /** @name PalletBridgeCall (419) */ interface PalletBridgeCall extends Enum { readonly isChangeController: boolean; readonly asChangeController: { @@ -4245,7 +4404,7 @@ declare module '@polkadot/types/lookup' { | 'RemoveTxs'; } - /** @name PalletStakingCall (392) */ + /** @name PalletStakingCall (423) */ interface PalletStakingCall extends Enum { readonly isBond: boolean; readonly asBond: { @@ -4422,7 +4581,7 @@ declare module '@polkadot/types/lookup' { | 'ChillFromGovernance'; } - /** @name PalletStakingRewardDestination (393) */ + /** @name PalletStakingRewardDestination (424) */ interface PalletStakingRewardDestination extends Enum { readonly isStaked: boolean; readonly isStash: boolean; @@ -4432,13 +4591,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'Staked' | 'Stash' | 'Controller' | 'Account'; } - /** @name PalletStakingValidatorPrefs (394) */ + /** @name PalletStakingValidatorPrefs (425) */ interface PalletStakingValidatorPrefs extends Struct { readonly commission: Compact; readonly blocked: bool; } - /** @name PalletStakingCompactAssignments (400) */ + /** @name PalletStakingCompactAssignments (431) */ interface PalletStakingCompactAssignments extends Struct { readonly votes1: Vec, Compact]>>; readonly votes2: Vec< @@ -4488,42 +4647,42 @@ declare module '@polkadot/types/lookup' { >; } - /** @name SpNposElectionsElectionScore (451) */ + /** @name SpNposElectionsElectionScore (482) */ interface SpNposElectionsElectionScore extends Struct { readonly minimalStake: u128; readonly sumStake: u128; readonly sumStakeSquared: u128; } - /** @name PalletStakingElectionSize (452) */ + /** @name PalletStakingElectionSize (483) */ interface PalletStakingElectionSize extends Struct { readonly validators: Compact; readonly nominators: Compact; } - /** @name PalletSessionCall (453) */ + /** @name PalletSessionCall (484) */ interface PalletSessionCall extends Enum { readonly isSetKeys: boolean; readonly asSetKeys: { - readonly keys_: PolymeshRuntimeTestnetRuntimeSessionKeys; + readonly keys_: PolymeshRuntimeDevelopRuntimeSessionKeys; readonly proof: Bytes; } & Struct; readonly isPurgeKeys: boolean; readonly type: 'SetKeys' | 'PurgeKeys'; } - /** @name PolymeshRuntimeTestnetRuntimeSessionKeys (454) */ - interface PolymeshRuntimeTestnetRuntimeSessionKeys extends Struct { + /** @name PolymeshRuntimeDevelopRuntimeSessionKeys (485) */ + interface PolymeshRuntimeDevelopRuntimeSessionKeys extends Struct { readonly grandpa: SpConsensusGrandpaAppPublic; readonly babe: SpConsensusBabeAppPublic; readonly imOnline: PalletImOnlineSr25519AppSr25519Public; readonly authorityDiscovery: SpAuthorityDiscoveryAppPublic; } - /** @name SpAuthorityDiscoveryAppPublic (455) */ + /** @name SpAuthorityDiscoveryAppPublic (486) */ interface SpAuthorityDiscoveryAppPublic extends SpCoreSr25519Public {} - /** @name PalletGrandpaCall (456) */ + /** @name PalletGrandpaCall (487) */ interface PalletGrandpaCall extends Enum { readonly isReportEquivocation: boolean; readonly asReportEquivocation: { @@ -4543,13 +4702,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'ReportEquivocation' | 'ReportEquivocationUnsigned' | 'NoteStalled'; } - /** @name SpConsensusGrandpaEquivocationProof (457) */ + /** @name SpConsensusGrandpaEquivocationProof (488) */ interface SpConsensusGrandpaEquivocationProof extends Struct { readonly setId: u64; readonly equivocation: SpConsensusGrandpaEquivocation; } - /** @name SpConsensusGrandpaEquivocation (458) */ + /** @name SpConsensusGrandpaEquivocation (489) */ interface SpConsensusGrandpaEquivocation extends Enum { readonly isPrevote: boolean; readonly asPrevote: FinalityGrandpaEquivocationPrevote; @@ -4558,7 +4717,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Prevote' | 'Precommit'; } - /** @name FinalityGrandpaEquivocationPrevote (459) */ + /** @name FinalityGrandpaEquivocationPrevote (490) */ interface FinalityGrandpaEquivocationPrevote extends Struct { readonly roundNumber: u64; readonly identity: SpConsensusGrandpaAppPublic; @@ -4566,19 +4725,19 @@ declare module '@polkadot/types/lookup' { readonly second: ITuple<[FinalityGrandpaPrevote, SpConsensusGrandpaAppSignature]>; } - /** @name FinalityGrandpaPrevote (460) */ + /** @name FinalityGrandpaPrevote (491) */ interface FinalityGrandpaPrevote extends Struct { readonly targetHash: H256; readonly targetNumber: u32; } - /** @name SpConsensusGrandpaAppSignature (461) */ + /** @name SpConsensusGrandpaAppSignature (492) */ interface SpConsensusGrandpaAppSignature extends SpCoreEd25519Signature {} - /** @name SpCoreEd25519Signature (462) */ + /** @name SpCoreEd25519Signature (493) */ interface SpCoreEd25519Signature extends U8aFixed {} - /** @name FinalityGrandpaEquivocationPrecommit (464) */ + /** @name FinalityGrandpaEquivocationPrecommit (495) */ interface FinalityGrandpaEquivocationPrecommit extends Struct { readonly roundNumber: u64; readonly identity: SpConsensusGrandpaAppPublic; @@ -4586,13 +4745,13 @@ declare module '@polkadot/types/lookup' { readonly second: ITuple<[FinalityGrandpaPrecommit, SpConsensusGrandpaAppSignature]>; } - /** @name FinalityGrandpaPrecommit (465) */ + /** @name FinalityGrandpaPrecommit (496) */ interface FinalityGrandpaPrecommit extends Struct { readonly targetHash: H256; readonly targetNumber: u32; } - /** @name PalletImOnlineCall (467) */ + /** @name PalletImOnlineCall (498) */ interface PalletImOnlineCall extends Enum { readonly isHeartbeat: boolean; readonly asHeartbeat: { @@ -4602,7 +4761,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Heartbeat'; } - /** @name PalletImOnlineHeartbeat (468) */ + /** @name PalletImOnlineHeartbeat (499) */ interface PalletImOnlineHeartbeat extends Struct { readonly blockNumber: u32; readonly networkState: SpCoreOffchainOpaqueNetworkState; @@ -4611,19 +4770,42 @@ declare module '@polkadot/types/lookup' { readonly validatorsLen: u32; } - /** @name SpCoreOffchainOpaqueNetworkState (469) */ + /** @name SpCoreOffchainOpaqueNetworkState (500) */ interface SpCoreOffchainOpaqueNetworkState extends Struct { readonly peerId: OpaquePeerId; readonly externalAddresses: Vec; } - /** @name PalletImOnlineSr25519AppSr25519Signature (473) */ + /** @name PalletImOnlineSr25519AppSr25519Signature (504) */ interface PalletImOnlineSr25519AppSr25519Signature extends SpCoreSr25519Signature {} - /** @name SpCoreSr25519Signature (474) */ + /** @name SpCoreSr25519Signature (505) */ interface SpCoreSr25519Signature extends U8aFixed {} - /** @name PalletAssetCall (475) */ + /** @name PalletSudoCall (506) */ + interface PalletSudoCall extends Enum { + readonly isSudo: boolean; + readonly asSudo: { + readonly call: Call; + } & Struct; + readonly isSudoUncheckedWeight: boolean; + readonly asSudoUncheckedWeight: { + readonly call: Call; + readonly weight: SpWeightsWeightV2Weight; + } & Struct; + readonly isSetKey: boolean; + readonly asSetKey: { + readonly new_: MultiAddress; + } & Struct; + readonly isSudoAs: boolean; + readonly asSudoAs: { + readonly who: MultiAddress; + readonly call: Call; + } & Struct; + readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs'; + } + + /** @name PalletAssetCall (507) */ interface PalletAssetCall extends Enum { readonly isRegisterTicker: boolean; readonly asRegisterTicker: { @@ -4815,7 +4997,7 @@ declare module '@polkadot/types/lookup' { | 'RemoveTickerPreApproval'; } - /** @name PalletCorporateActionsDistributionCall (477) */ + /** @name PalletCorporateActionsDistributionCall (509) */ interface PalletCorporateActionsDistributionCall extends Enum { readonly isDistribute: boolean; readonly asDistribute: { @@ -4847,7 +5029,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Distribute' | 'Claim' | 'PushBenefit' | 'Reclaim' | 'RemoveDistribution'; } - /** @name PalletAssetCheckpointCall (479) */ + /** @name PalletAssetCheckpointCall (511) */ interface PalletAssetCheckpointCall extends Enum { readonly isCreateCheckpoint: boolean; readonly asCreateCheckpoint: { @@ -4874,7 +5056,7 @@ declare module '@polkadot/types/lookup' { | 'RemoveSchedule'; } - /** @name PalletComplianceManagerCall (480) */ + /** @name PalletComplianceManagerCall (512) */ interface PalletComplianceManagerCall extends Enum { readonly isAddComplianceRequirement: boolean; readonly asAddComplianceRequirement: { @@ -4931,7 +5113,7 @@ declare module '@polkadot/types/lookup' { | 'ChangeComplianceRequirement'; } - /** @name PalletCorporateActionsCall (481) */ + /** @name PalletCorporateActionsCall (513) */ interface PalletCorporateActionsCall extends Enum { readonly isSetMaxDetailsLength: boolean; readonly asSetMaxDetailsLength: { @@ -5000,7 +5182,7 @@ declare module '@polkadot/types/lookup' { | 'InitiateCorporateActionAndDistribute'; } - /** @name PalletCorporateActionsRecordDateSpec (483) */ + /** @name PalletCorporateActionsRecordDateSpec (515) */ interface PalletCorporateActionsRecordDateSpec extends Enum { readonly isScheduled: boolean; readonly asScheduled: u64; @@ -5011,7 +5193,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Scheduled' | 'ExistingSchedule' | 'Existing'; } - /** @name PalletCorporateActionsInitiateCorporateActionArgs (486) */ + /** @name PalletCorporateActionsInitiateCorporateActionArgs (518) */ interface PalletCorporateActionsInitiateCorporateActionArgs extends Struct { readonly ticker: PolymeshPrimitivesTicker; readonly kind: PalletCorporateActionsCaKind; @@ -5023,7 +5205,7 @@ declare module '@polkadot/types/lookup' { readonly withholdingTax: Option>>; } - /** @name PalletCorporateActionsBallotCall (487) */ + /** @name PalletCorporateActionsBallotCall (519) */ interface PalletCorporateActionsBallotCall extends Enum { readonly isAttachBallot: boolean; readonly asAttachBallot: { @@ -5065,7 +5247,7 @@ declare module '@polkadot/types/lookup' { | 'RemoveBallot'; } - /** @name PalletPipsCall (488) */ + /** @name PalletPipsCall (520) */ interface PalletPipsCall extends Enum { readonly isSetPruneHistoricalPips: boolean; readonly asSetPruneHistoricalPips: { @@ -5156,7 +5338,7 @@ declare module '@polkadot/types/lookup' { | 'ExpireScheduledPip'; } - /** @name PalletPipsSnapshotResult (491) */ + /** @name PalletPipsSnapshotResult (523) */ interface PalletPipsSnapshotResult extends Enum { readonly isApprove: boolean; readonly isReject: boolean; @@ -5164,7 +5346,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Approve' | 'Reject' | 'Skip'; } - /** @name PalletPortfolioCall (492) */ + /** @name PalletPortfolioCall (524) */ interface PalletPortfolioCall extends Enum { readonly isCreatePortfolio: boolean; readonly asCreatePortfolio: { @@ -5230,13 +5412,13 @@ declare module '@polkadot/types/lookup' { | 'CreateCustodyPortfolio'; } - /** @name PolymeshPrimitivesPortfolioFund (494) */ + /** @name PolymeshPrimitivesPortfolioFund (526) */ interface PolymeshPrimitivesPortfolioFund extends Struct { readonly description: PolymeshPrimitivesPortfolioFundDescription; readonly memo: Option; } - /** @name PalletProtocolFeeCall (495) */ + /** @name PalletProtocolFeeCall (527) */ interface PalletProtocolFeeCall extends Enum { readonly isChangeCoefficient: boolean; readonly asChangeCoefficient: { @@ -5250,7 +5432,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'ChangeCoefficient' | 'ChangeBaseFee'; } - /** @name PolymeshCommonUtilitiesProtocolFeeProtocolOp (496) */ + /** @name PolymeshCommonUtilitiesProtocolFeeProtocolOp (528) */ interface PolymeshCommonUtilitiesProtocolFeeProtocolOp extends Enum { readonly isAssetRegisterTicker: boolean; readonly isAssetIssue: boolean; @@ -5287,7 +5469,7 @@ declare module '@polkadot/types/lookup' { | 'IdentityCreateChildIdentity'; } - /** @name PalletSchedulerCall (497) */ + /** @name PalletSchedulerCall (529) */ interface PalletSchedulerCall extends Enum { readonly isSchedule: boolean; readonly asSchedule: { @@ -5337,7 +5519,7 @@ declare module '@polkadot/types/lookup' { | 'ScheduleNamedAfter'; } - /** @name PalletSettlementCall (499) */ + /** @name PalletSettlementCall (531) */ interface PalletSettlementCall extends Enum { readonly isCreateVenue: boolean; readonly asCreateVenue: { @@ -5477,7 +5659,7 @@ declare module '@polkadot/types/lookup' { | 'WithdrawAffirmationWithCount'; } - /** @name PolymeshPrimitivesSettlementReceiptDetails (501) */ + /** @name PolymeshPrimitivesSettlementReceiptDetails (533) */ interface PolymeshPrimitivesSettlementReceiptDetails extends Struct { readonly uid: u64; readonly instructionId: u64; @@ -5487,7 +5669,7 @@ declare module '@polkadot/types/lookup' { readonly metadata: Option; } - /** @name SpRuntimeMultiSignature (502) */ + /** @name SpRuntimeMultiSignature (534) */ interface SpRuntimeMultiSignature extends Enum { readonly isEd25519: boolean; readonly asEd25519: SpCoreEd25519Signature; @@ -5498,24 +5680,24 @@ declare module '@polkadot/types/lookup' { readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa'; } - /** @name SpCoreEcdsaSignature (503) */ + /** @name SpCoreEcdsaSignature (535) */ interface SpCoreEcdsaSignature extends U8aFixed {} - /** @name PolymeshPrimitivesSettlementAffirmationCount (506) */ + /** @name PolymeshPrimitivesSettlementAffirmationCount (538) */ interface PolymeshPrimitivesSettlementAffirmationCount extends Struct { readonly senderAssetCount: PolymeshPrimitivesSettlementAssetCount; readonly receiverAssetCount: PolymeshPrimitivesSettlementAssetCount; readonly offchainCount: u32; } - /** @name PolymeshPrimitivesSettlementAssetCount (507) */ + /** @name PolymeshPrimitivesSettlementAssetCount (539) */ interface PolymeshPrimitivesSettlementAssetCount extends Struct { readonly fungible: u32; readonly nonFungible: u32; readonly offChain: u32; } - /** @name PalletStatisticsCall (509) */ + /** @name PalletStatisticsCall (541) */ interface PalletStatisticsCall extends Enum { readonly isSetActiveAssetStats: boolean; readonly asSetActiveAssetStats: { @@ -5546,7 +5728,7 @@ declare module '@polkadot/types/lookup' { | 'SetEntitiesExempt'; } - /** @name PalletStoCall (514) */ + /** @name PalletStoCall (545) */ interface PalletStoCall extends Enum { readonly isCreateFundraiser: boolean; readonly asCreateFundraiser: { @@ -5602,13 +5784,13 @@ declare module '@polkadot/types/lookup' { | 'Stop'; } - /** @name PalletStoPriceTier (516) */ + /** @name PalletStoPriceTier (547) */ interface PalletStoPriceTier extends Struct { readonly total: u128; readonly price: u128; } - /** @name PalletTreasuryCall (518) */ + /** @name PalletTreasuryCall (549) */ interface PalletTreasuryCall extends Enum { readonly isDisbursement: boolean; readonly asDisbursement: { @@ -5621,13 +5803,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'Disbursement' | 'Reimbursement'; } - /** @name PolymeshPrimitivesBeneficiary (520) */ + /** @name PolymeshPrimitivesBeneficiary (551) */ interface PolymeshPrimitivesBeneficiary extends Struct { readonly id: PolymeshPrimitivesIdentityId; readonly amount: u128; } - /** @name PalletUtilityCall (521) */ + /** @name PalletUtilityCall (552) */ interface PalletUtilityCall extends Enum { readonly isBatch: boolean; readonly asBatch: { @@ -5645,7 +5827,7 @@ declare module '@polkadot/types/lookup' { } & Struct; readonly isDispatchAs: boolean; readonly asDispatchAs: { - readonly asOrigin: PolymeshRuntimeTestnetRuntimeOriginCaller; + readonly asOrigin: PolymeshRuntimeDevelopRuntimeOriginCaller; readonly call: Call; } & Struct; readonly isForceBatch: boolean; @@ -5687,14 +5869,14 @@ declare module '@polkadot/types/lookup' { | 'AsDerivative'; } - /** @name PalletUtilityUniqueCall (523) */ + /** @name PalletUtilityUniqueCall (554) */ interface PalletUtilityUniqueCall extends Struct { readonly nonce: u64; readonly call: Call; } - /** @name PolymeshRuntimeTestnetRuntimeOriginCaller (524) */ - interface PolymeshRuntimeTestnetRuntimeOriginCaller extends Enum { + /** @name PolymeshRuntimeDevelopRuntimeOriginCaller (555) */ + interface PolymeshRuntimeDevelopRuntimeOriginCaller extends Enum { readonly isSystem: boolean; readonly asSystem: FrameSupportDispatchRawOrigin; readonly isVoid: boolean; @@ -5712,7 +5894,7 @@ declare module '@polkadot/types/lookup' { | 'UpgradeCommittee'; } - /** @name FrameSupportDispatchRawOrigin (525) */ + /** @name FrameSupportDispatchRawOrigin (556) */ interface FrameSupportDispatchRawOrigin extends Enum { readonly isRoot: boolean; readonly isSigned: boolean; @@ -5721,31 +5903,31 @@ declare module '@polkadot/types/lookup' { readonly type: 'Root' | 'Signed' | 'None'; } - /** @name PalletCommitteeRawOriginInstance1 (526) */ + /** @name PalletCommitteeRawOriginInstance1 (557) */ interface PalletCommitteeRawOriginInstance1 extends Enum { readonly isEndorsed: boolean; readonly type: 'Endorsed'; } - /** @name PalletCommitteeRawOriginInstance3 (527) */ + /** @name PalletCommitteeRawOriginInstance3 (558) */ interface PalletCommitteeRawOriginInstance3 extends Enum { readonly isEndorsed: boolean; readonly type: 'Endorsed'; } - /** @name PalletCommitteeRawOriginInstance4 (528) */ + /** @name PalletCommitteeRawOriginInstance4 (559) */ interface PalletCommitteeRawOriginInstance4 extends Enum { readonly isEndorsed: boolean; readonly type: 'Endorsed'; } - /** @name SpCoreVoid (529) */ + /** @name SpCoreVoid (560) */ type SpCoreVoid = Null; - /** @name PalletBaseCall (530) */ + /** @name PalletBaseCall (561) */ type PalletBaseCall = Null; - /** @name PalletExternalAgentsCall (531) */ + /** @name PalletExternalAgentsCall (562) */ interface PalletExternalAgentsCall extends Enum { readonly isCreateGroup: boolean; readonly asCreateGroup: { @@ -5801,7 +5983,7 @@ declare module '@polkadot/types/lookup' { | 'CreateAndChangeCustomGroup'; } - /** @name PalletRelayerCall (532) */ + /** @name PalletRelayerCall (563) */ interface PalletRelayerCall extends Enum { readonly isSetPayingKey: boolean; readonly asSetPayingKey: { @@ -5841,7 +6023,7 @@ declare module '@polkadot/types/lookup' { | 'DecreasePolyxLimit'; } - /** @name PalletContractsCall (533) */ + /** @name PalletContractsCall (564) */ interface PalletContractsCall extends Enum { readonly isCallOldWeight: boolean; readonly asCallOldWeight: { @@ -5922,14 +6104,14 @@ declare module '@polkadot/types/lookup' { | 'Instantiate'; } - /** @name PalletContractsWasmDeterminism (537) */ + /** @name PalletContractsWasmDeterminism (568) */ interface PalletContractsWasmDeterminism extends Enum { readonly isDeterministic: boolean; readonly isAllowIndeterminism: boolean; readonly type: 'Deterministic' | 'AllowIndeterminism'; } - /** @name PolymeshContractsCall (538) */ + /** @name PolymeshContractsCall (569) */ interface PolymeshContractsCall extends Enum { readonly isInstantiateWithCodePerms: boolean; readonly asInstantiateWithCodePerms: { @@ -5987,18 +6169,18 @@ declare module '@polkadot/types/lookup' { | 'UpgradeApi'; } - /** @name PolymeshContractsNextUpgrade (541) */ + /** @name PolymeshContractsNextUpgrade (572) */ interface PolymeshContractsNextUpgrade extends Struct { readonly chainVersion: PolymeshContractsChainVersion; readonly apiHash: PolymeshContractsApiCodeHash; } - /** @name PolymeshContractsApiCodeHash (542) */ + /** @name PolymeshContractsApiCodeHash (573) */ interface PolymeshContractsApiCodeHash extends Struct { readonly hash_: H256; } - /** @name PalletPreimageCall (543) */ + /** @name PalletPreimageCall (574) */ interface PalletPreimageCall extends Enum { readonly isNotePreimage: boolean; readonly asNotePreimage: { @@ -6019,7 +6201,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'NotePreimage' | 'UnnotePreimage' | 'RequestPreimage' | 'UnrequestPreimage'; } - /** @name PalletNftCall (544) */ + /** @name PalletNftCall (575) */ interface PalletNftCall extends Enum { readonly isCreateNftCollection: boolean; readonly asCreateNftCollection: { @@ -6049,17 +6231,17 @@ declare module '@polkadot/types/lookup' { readonly type: 'CreateNftCollection' | 'IssueNft' | 'RedeemNft' | 'ControllerTransfer'; } - /** @name PolymeshPrimitivesNftNftCollectionKeys (546) */ + /** @name PolymeshPrimitivesNftNftCollectionKeys (577) */ interface PolymeshPrimitivesNftNftCollectionKeys extends Vec {} - /** @name PolymeshPrimitivesNftNftMetadataAttribute (549) */ + /** @name PolymeshPrimitivesNftNftMetadataAttribute (580) */ interface PolymeshPrimitivesNftNftMetadataAttribute extends Struct { readonly key: PolymeshPrimitivesAssetMetadataAssetMetadataKey; readonly value: Bytes; } - /** @name PalletTestUtilsCall (550) */ + /** @name PalletTestUtilsCall (581) */ interface PalletTestUtilsCall extends Enum { readonly isRegisterDid: boolean; readonly asRegisterDid: { @@ -6077,7 +6259,106 @@ declare module '@polkadot/types/lookup' { readonly type: 'RegisterDid' | 'MockCddRegisterDid' | 'GetMyDid' | 'GetCddOf'; } - /** @name PalletCommitteePolymeshVotes (551) */ + /** @name PalletConfidentialAssetCall (582) */ + interface PalletConfidentialAssetCall extends Enum { + readonly isCreateAccount: boolean; + readonly asCreateAccount: { + readonly account: PalletConfidentialAssetConfidentialAccount; + } & Struct; + readonly isCreateConfidentialAsset: boolean; + readonly asCreateConfidentialAsset: { + readonly ticker: Option; + readonly data: Bytes; + readonly auditors: PalletConfidentialAssetConfidentialAuditors; + } & Struct; + readonly isMintConfidentialAsset: boolean; + readonly asMintConfidentialAsset: { + readonly assetId: U8aFixed; + readonly amount: u128; + readonly account: PalletConfidentialAssetConfidentialAccount; + } & Struct; + readonly isApplyIncomingBalance: boolean; + readonly asApplyIncomingBalance: { + readonly account: PalletConfidentialAssetConfidentialAccount; + readonly assetId: U8aFixed; + } & Struct; + readonly isCreateVenue: boolean; + readonly isSetVenueFiltering: boolean; + readonly asSetVenueFiltering: { + readonly assetId: U8aFixed; + readonly enabled: bool; + } & Struct; + readonly isAllowVenues: boolean; + readonly asAllowVenues: { + readonly assetId: U8aFixed; + readonly venues: Vec; + } & Struct; + readonly isDisallowVenues: boolean; + readonly asDisallowVenues: { + readonly assetId: U8aFixed; + readonly venues: Vec; + } & Struct; + readonly isAddTransaction: boolean; + readonly asAddTransaction: { + readonly venueId: u64; + readonly legs: Vec; + readonly memo: Option; + } & Struct; + readonly isAffirmTransactions: boolean; + readonly asAffirmTransactions: { + readonly transactions: PalletConfidentialAssetAffirmTransactions; + } & Struct; + readonly isExecuteTransaction: boolean; + readonly asExecuteTransaction: { + readonly transactionId: PalletConfidentialAssetTransactionId; + readonly legCount: u32; + } & Struct; + readonly isRejectTransaction: boolean; + readonly asRejectTransaction: { + readonly transactionId: PalletConfidentialAssetTransactionId; + readonly legCount: u32; + } & Struct; + readonly type: + | 'CreateAccount' + | 'CreateConfidentialAsset' + | 'MintConfidentialAsset' + | 'ApplyIncomingBalance' + | 'CreateVenue' + | 'SetVenueFiltering' + | 'AllowVenues' + | 'DisallowVenues' + | 'AddTransaction' + | 'AffirmTransactions' + | 'ExecuteTransaction' + | 'RejectTransaction'; + } + + /** @name PalletConfidentialAssetTransactionLeg (586) */ + interface PalletConfidentialAssetTransactionLeg extends Struct { + readonly assets: BTreeSet; + readonly sender: PalletConfidentialAssetConfidentialAccount; + readonly receiver: PalletConfidentialAssetConfidentialAccount; + readonly auditors: BTreeSet; + readonly mediators: BTreeSet; + } + + /** @name PalletConfidentialAssetAffirmTransactions (591) */ + interface PalletConfidentialAssetAffirmTransactions + extends Vec {} + + /** @name PalletConfidentialAssetAffirmTransaction (593) */ + interface PalletConfidentialAssetAffirmTransaction extends Struct { + readonly id: PalletConfidentialAssetTransactionId; + readonly leg: PalletConfidentialAssetAffirmLeg; + } + + /** @name PalletConfidentialAssetAffirmLeg (594) */ + interface PalletConfidentialAssetAffirmLeg extends Struct { + readonly legId: PalletConfidentialAssetTransactionLegId; + readonly party: PalletConfidentialAssetAffirmParty; + } + + /** @name PalletCommitteePolymeshVotes (596) */ interface PalletCommitteePolymeshVotes extends Struct { readonly index: u32; readonly ayes: Vec; @@ -6085,7 +6366,7 @@ declare module '@polkadot/types/lookup' { readonly expiry: PolymeshCommonUtilitiesMaybeBlock; } - /** @name PalletCommitteeError (553) */ + /** @name PalletCommitteeError (598) */ interface PalletCommitteeError extends Enum { readonly isDuplicateVote: boolean; readonly isNotAMember: boolean; @@ -6108,7 +6389,7 @@ declare module '@polkadot/types/lookup' { | 'ProposalsLimitReached'; } - /** @name PolymeshPrimitivesMultisigProposalDetails (563) */ + /** @name PolymeshPrimitivesMultisigProposalDetails (608) */ interface PolymeshPrimitivesMultisigProposalDetails extends Struct { readonly approvals: u64; readonly rejections: u64; @@ -6117,7 +6398,7 @@ declare module '@polkadot/types/lookup' { readonly autoClose: bool; } - /** @name PolymeshPrimitivesMultisigProposalStatus (564) */ + /** @name PolymeshPrimitivesMultisigProposalStatus (609) */ interface PolymeshPrimitivesMultisigProposalStatus extends Enum { readonly isInvalid: boolean; readonly isActiveOrExpired: boolean; @@ -6132,7 +6413,7 @@ declare module '@polkadot/types/lookup' { | 'Rejected'; } - /** @name PalletMultisigError (566) */ + /** @name PalletMultisigError (611) */ interface PalletMultisigError extends Enum { readonly isCddMissing: boolean; readonly isProposalMissing: boolean; @@ -6189,7 +6470,7 @@ declare module '@polkadot/types/lookup' { | 'CreatorControlsHaveBeenRemoved'; } - /** @name PalletBridgeBridgeTxDetail (568) */ + /** @name PalletBridgeBridgeTxDetail (613) */ interface PalletBridgeBridgeTxDetail extends Struct { readonly amount: u128; readonly status: PalletBridgeBridgeTxStatus; @@ -6197,7 +6478,7 @@ declare module '@polkadot/types/lookup' { readonly txHash: H256; } - /** @name PalletBridgeBridgeTxStatus (569) */ + /** @name PalletBridgeBridgeTxStatus (614) */ interface PalletBridgeBridgeTxStatus extends Enum { readonly isAbsent: boolean; readonly isPending: boolean; @@ -6208,7 +6489,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Absent' | 'Pending' | 'Frozen' | 'Timelocked' | 'Handled'; } - /** @name PalletBridgeError (572) */ + /** @name PalletBridgeError (617) */ interface PalletBridgeError extends Enum { readonly isControllerNotSet: boolean; readonly isBadCaller: boolean; @@ -6239,7 +6520,7 @@ declare module '@polkadot/types/lookup' { | 'TimelockedTx'; } - /** @name PalletStakingStakingLedger (573) */ + /** @name PalletStakingStakingLedger (618) */ interface PalletStakingStakingLedger extends Struct { readonly stash: AccountId32; readonly total: Compact; @@ -6248,32 +6529,32 @@ declare module '@polkadot/types/lookup' { readonly claimedRewards: Vec; } - /** @name PalletStakingUnlockChunk (575) */ + /** @name PalletStakingUnlockChunk (620) */ interface PalletStakingUnlockChunk extends Struct { readonly value: Compact; readonly era: Compact; } - /** @name PalletStakingNominations (576) */ + /** @name PalletStakingNominations (621) */ interface PalletStakingNominations extends Struct { readonly targets: Vec; readonly submittedIn: u32; readonly suppressed: bool; } - /** @name PalletStakingActiveEraInfo (577) */ + /** @name PalletStakingActiveEraInfo (622) */ interface PalletStakingActiveEraInfo extends Struct { readonly index: u32; readonly start: Option; } - /** @name PalletStakingEraRewardPoints (579) */ + /** @name PalletStakingEraRewardPoints (624) */ interface PalletStakingEraRewardPoints extends Struct { readonly total: u32; readonly individual: BTreeMap; } - /** @name PalletStakingForcing (582) */ + /** @name PalletStakingForcing (627) */ interface PalletStakingForcing extends Enum { readonly isNotForcing: boolean; readonly isForceNew: boolean; @@ -6282,7 +6563,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'NotForcing' | 'ForceNew' | 'ForceNone' | 'ForceAlways'; } - /** @name PalletStakingUnappliedSlash (584) */ + /** @name PalletStakingUnappliedSlash (629) */ interface PalletStakingUnappliedSlash extends Struct { readonly validator: AccountId32; readonly own: u128; @@ -6291,7 +6572,7 @@ declare module '@polkadot/types/lookup' { readonly payout: u128; } - /** @name PalletStakingSlashingSlashingSpans (588) */ + /** @name PalletStakingSlashingSlashingSpans (633) */ interface PalletStakingSlashingSlashingSpans extends Struct { readonly spanIndex: u32; readonly lastStart: u32; @@ -6299,20 +6580,20 @@ declare module '@polkadot/types/lookup' { readonly prior: Vec; } - /** @name PalletStakingSlashingSpanRecord (589) */ + /** @name PalletStakingSlashingSpanRecord (634) */ interface PalletStakingSlashingSpanRecord extends Struct { readonly slashed: u128; readonly paidOut: u128; } - /** @name PalletStakingElectionResult (592) */ + /** @name PalletStakingElectionResult (637) */ interface PalletStakingElectionResult extends Struct { readonly electedStashes: Vec; readonly exposures: Vec>; readonly compute: PalletStakingElectionCompute; } - /** @name PalletStakingElectionStatus (593) */ + /** @name PalletStakingElectionStatus (638) */ interface PalletStakingElectionStatus extends Enum { readonly isClosed: boolean; readonly isOpen: boolean; @@ -6320,13 +6601,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'Closed' | 'Open'; } - /** @name PalletStakingPermissionedIdentityPrefs (594) */ + /** @name PalletStakingPermissionedIdentityPrefs (639) */ interface PalletStakingPermissionedIdentityPrefs extends Struct { readonly intendedCount: u32; readonly runningCount: u32; } - /** @name PalletStakingReleases (595) */ + /** @name PalletStakingReleases (640) */ interface PalletStakingReleases extends Enum { readonly isV100Ancient: boolean; readonly isV200: boolean; @@ -6339,7 +6620,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'V100Ancient' | 'V200' | 'V300' | 'V400' | 'V500' | 'V600' | 'V601' | 'V700'; } - /** @name PalletStakingError (597) */ + /** @name PalletStakingError (642) */ interface PalletStakingError extends Enum { readonly isNotController: boolean; readonly isNotStash: boolean; @@ -6430,16 +6711,16 @@ declare module '@polkadot/types/lookup' { | 'InvalidValidatorUnbondAmount'; } - /** @name SpStakingOffenceOffenceDetails (598) */ + /** @name SpStakingOffenceOffenceDetails (643) */ interface SpStakingOffenceOffenceDetails extends Struct { readonly offender: ITuple<[AccountId32, PalletStakingExposure]>; readonly reporters: Vec; } - /** @name SpCoreCryptoKeyTypeId (603) */ + /** @name SpCoreCryptoKeyTypeId (648) */ interface SpCoreCryptoKeyTypeId extends U8aFixed {} - /** @name PalletSessionError (604) */ + /** @name PalletSessionError (649) */ interface PalletSessionError extends Enum { readonly isInvalidProof: boolean; readonly isNoAssociatedValidatorId: boolean; @@ -6454,7 +6735,7 @@ declare module '@polkadot/types/lookup' { | 'NoAccount'; } - /** @name PalletGrandpaStoredState (605) */ + /** @name PalletGrandpaStoredState (650) */ interface PalletGrandpaStoredState extends Enum { readonly isLive: boolean; readonly isPendingPause: boolean; @@ -6471,7 +6752,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Live' | 'PendingPause' | 'Paused' | 'PendingResume'; } - /** @name PalletGrandpaStoredPendingChange (606) */ + /** @name PalletGrandpaStoredPendingChange (651) */ interface PalletGrandpaStoredPendingChange extends Struct { readonly scheduledAt: u32; readonly delay: u32; @@ -6479,7 +6760,7 @@ declare module '@polkadot/types/lookup' { readonly forced: Option; } - /** @name PalletGrandpaError (608) */ + /** @name PalletGrandpaError (653) */ interface PalletGrandpaError extends Enum { readonly isPauseFailed: boolean; readonly isResumeFailed: boolean; @@ -6498,32 +6779,38 @@ declare module '@polkadot/types/lookup' { | 'DuplicateOffenceReport'; } - /** @name PalletImOnlineBoundedOpaqueNetworkState (612) */ + /** @name PalletImOnlineBoundedOpaqueNetworkState (657) */ interface PalletImOnlineBoundedOpaqueNetworkState extends Struct { readonly peerId: Bytes; readonly externalAddresses: Vec; } - /** @name PalletImOnlineError (616) */ + /** @name PalletImOnlineError (661) */ interface PalletImOnlineError extends Enum { readonly isInvalidKey: boolean; readonly isDuplicatedHeartbeat: boolean; readonly type: 'InvalidKey' | 'DuplicatedHeartbeat'; } - /** @name PalletAssetTickerRegistration (618) */ + /** @name PalletSudoError (663) */ + interface PalletSudoError extends Enum { + readonly isRequireSudo: boolean; + readonly type: 'RequireSudo'; + } + + /** @name PalletAssetTickerRegistration (664) */ interface PalletAssetTickerRegistration extends Struct { readonly owner: PolymeshPrimitivesIdentityId; readonly expiry: Option; } - /** @name PalletAssetTickerRegistrationConfig (619) */ + /** @name PalletAssetTickerRegistrationConfig (665) */ interface PalletAssetTickerRegistrationConfig extends Struct { readonly maxTickerLength: u8; readonly registrationLength: Option; } - /** @name PalletAssetSecurityToken (620) */ + /** @name PalletAssetSecurityToken (666) */ interface PalletAssetSecurityToken extends Struct { readonly totalSupply: u128; readonly ownerDid: PolymeshPrimitivesIdentityId; @@ -6531,7 +6818,7 @@ declare module '@polkadot/types/lookup' { readonly assetType: PolymeshPrimitivesAssetAssetType; } - /** @name PalletAssetAssetOwnershipRelation (624) */ + /** @name PalletAssetAssetOwnershipRelation (670) */ interface PalletAssetAssetOwnershipRelation extends Enum { readonly isNotOwned: boolean; readonly isTickerOwned: boolean; @@ -6539,7 +6826,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'NotOwned' | 'TickerOwned' | 'AssetOwned'; } - /** @name PalletAssetError (630) */ + /** @name PalletAssetError (676) */ interface PalletAssetError extends Enum { readonly isUnauthorized: boolean; readonly isAssetAlreadyCreated: boolean; @@ -6618,7 +6905,7 @@ declare module '@polkadot/types/lookup' { | 'AssetMetadataValueIsEmpty'; } - /** @name PalletCorporateActionsDistributionError (633) */ + /** @name PalletCorporateActionsDistributionError (679) */ interface PalletCorporateActionsDistributionError extends Enum { readonly isCaNotBenefit: boolean; readonly isAlreadyExists: boolean; @@ -6653,14 +6940,14 @@ declare module '@polkadot/types/lookup' { | 'DistributionPerShareIsZero'; } - /** @name PolymeshCommonUtilitiesCheckpointNextCheckpoints (637) */ + /** @name PolymeshCommonUtilitiesCheckpointNextCheckpoints (683) */ interface PolymeshCommonUtilitiesCheckpointNextCheckpoints extends Struct { readonly nextAt: u64; readonly totalPending: u64; readonly schedules: BTreeMap; } - /** @name PalletAssetCheckpointError (643) */ + /** @name PalletAssetCheckpointError (689) */ interface PalletAssetCheckpointError extends Enum { readonly isNoSuchSchedule: boolean; readonly isScheduleNotRemovable: boolean; @@ -6677,13 +6964,13 @@ declare module '@polkadot/types/lookup' { | 'ScheduleHasExpiredCheckpoints'; } - /** @name PolymeshPrimitivesComplianceManagerAssetCompliance (644) */ + /** @name PolymeshPrimitivesComplianceManagerAssetCompliance (690) */ interface PolymeshPrimitivesComplianceManagerAssetCompliance extends Struct { readonly paused: bool; readonly requirements: Vec; } - /** @name PalletComplianceManagerError (646) */ + /** @name PalletComplianceManagerError (692) */ interface PalletComplianceManagerError extends Enum { readonly isUnauthorized: boolean; readonly isDidNotExist: boolean; @@ -6702,7 +6989,7 @@ declare module '@polkadot/types/lookup' { | 'WeightLimitExceeded'; } - /** @name PalletCorporateActionsError (649) */ + /** @name PalletCorporateActionsError (695) */ interface PalletCorporateActionsError extends Enum { readonly isDetailsTooLong: boolean; readonly isDuplicateDidTax: boolean; @@ -6729,7 +7016,7 @@ declare module '@polkadot/types/lookup' { | 'NotTargetedByCA'; } - /** @name PalletCorporateActionsBallotError (651) */ + /** @name PalletCorporateActionsBallotError (697) */ interface PalletCorporateActionsBallotError extends Enum { readonly isCaNotNotice: boolean; readonly isAlreadyExists: boolean; @@ -6762,13 +7049,13 @@ declare module '@polkadot/types/lookup' { | 'RcvNotAllowed'; } - /** @name PalletPermissionsError (652) */ + /** @name PalletPermissionsError (698) */ interface PalletPermissionsError extends Enum { readonly isUnauthorizedCaller: boolean; readonly type: 'UnauthorizedCaller'; } - /** @name PalletPipsPipsMetadata (653) */ + /** @name PalletPipsPipsMetadata (699) */ interface PalletPipsPipsMetadata extends Struct { readonly id: u32; readonly url: Option; @@ -6778,20 +7065,20 @@ declare module '@polkadot/types/lookup' { readonly expiry: PolymeshCommonUtilitiesMaybeBlock; } - /** @name PalletPipsDepositInfo (655) */ + /** @name PalletPipsDepositInfo (701) */ interface PalletPipsDepositInfo extends Struct { readonly owner: AccountId32; readonly amount: u128; } - /** @name PalletPipsPip (656) */ + /** @name PalletPipsPip (702) */ interface PalletPipsPip extends Struct { readonly id: u32; readonly proposal: Call; readonly proposer: PalletPipsProposer; } - /** @name PalletPipsVotingResult (657) */ + /** @name PalletPipsVotingResult (703) */ interface PalletPipsVotingResult extends Struct { readonly ayesCount: u32; readonly ayesStake: u128; @@ -6799,17 +7086,17 @@ declare module '@polkadot/types/lookup' { readonly naysStake: u128; } - /** @name PalletPipsVote (658) */ + /** @name PalletPipsVote (704) */ interface PalletPipsVote extends ITuple<[bool, u128]> {} - /** @name PalletPipsSnapshotMetadata (659) */ + /** @name PalletPipsSnapshotMetadata (705) */ interface PalletPipsSnapshotMetadata extends Struct { readonly createdAt: u32; readonly madeBy: AccountId32; readonly id: u32; } - /** @name PalletPipsError (661) */ + /** @name PalletPipsError (707) */ interface PalletPipsError extends Enum { readonly isRescheduleNotByReleaseCoordinator: boolean; readonly isNotFromCommunity: boolean; @@ -6850,7 +7137,7 @@ declare module '@polkadot/types/lookup' { | 'ProposalNotInScheduledState'; } - /** @name PalletPortfolioError (670) */ + /** @name PalletPortfolioError (715) */ interface PalletPortfolioError extends Enum { readonly isPortfolioDoesNotExist: boolean; readonly isInsufficientPortfolioBalance: boolean; @@ -6889,7 +7176,7 @@ declare module '@polkadot/types/lookup' { | 'MissingOwnersPermission'; } - /** @name PalletProtocolFeeError (671) */ + /** @name PalletProtocolFeeError (716) */ interface PalletProtocolFeeError extends Enum { readonly isInsufficientAccountBalance: boolean; readonly isUnHandledImbalances: boolean; @@ -6900,16 +7187,16 @@ declare module '@polkadot/types/lookup' { | 'InsufficientSubsidyBalance'; } - /** @name PalletSchedulerScheduled (674) */ + /** @name PalletSchedulerScheduled (719) */ interface PalletSchedulerScheduled extends Struct { readonly maybeId: Option; readonly priority: u8; readonly call: FrameSupportPreimagesBounded; readonly maybePeriodic: Option>; - readonly origin: PolymeshRuntimeTestnetRuntimeOriginCaller; + readonly origin: PolymeshRuntimeDevelopRuntimeOriginCaller; } - /** @name FrameSupportPreimagesBounded (675) */ + /** @name FrameSupportPreimagesBounded (720) */ interface FrameSupportPreimagesBounded extends Enum { readonly isLegacy: boolean; readonly asLegacy: { @@ -6925,7 +7212,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Legacy' | 'Inline' | 'Lookup'; } - /** @name PalletSchedulerError (678) */ + /** @name PalletSchedulerError (723) */ interface PalletSchedulerError extends Enum { readonly isFailedToSchedule: boolean; readonly isNotFound: boolean; @@ -6940,13 +7227,13 @@ declare module '@polkadot/types/lookup' { | 'Named'; } - /** @name PolymeshPrimitivesSettlementVenue (679) */ + /** @name PolymeshPrimitivesSettlementVenue (724) */ interface PolymeshPrimitivesSettlementVenue extends Struct { readonly creator: PolymeshPrimitivesIdentityId; readonly venueType: PolymeshPrimitivesSettlementVenueType; } - /** @name PolymeshPrimitivesSettlementInstruction (683) */ + /** @name PolymeshPrimitivesSettlementInstruction (728) */ interface PolymeshPrimitivesSettlementInstruction extends Struct { readonly instructionId: u64; readonly venueId: u64; @@ -6956,7 +7243,7 @@ declare module '@polkadot/types/lookup' { readonly valueDate: Option; } - /** @name PolymeshPrimitivesSettlementLegStatus (685) */ + /** @name PolymeshPrimitivesSettlementLegStatus (730) */ interface PolymeshPrimitivesSettlementLegStatus extends Enum { readonly isPendingTokenLock: boolean; readonly isExecutionPending: boolean; @@ -6965,7 +7252,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'PendingTokenLock' | 'ExecutionPending' | 'ExecutionToBeSkipped'; } - /** @name PolymeshPrimitivesSettlementAffirmationStatus (687) */ + /** @name PolymeshPrimitivesSettlementAffirmationStatus (732) */ interface PolymeshPrimitivesSettlementAffirmationStatus extends Enum { readonly isUnknown: boolean; readonly isPending: boolean; @@ -6973,7 +7260,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Unknown' | 'Pending' | 'Affirmed'; } - /** @name PolymeshPrimitivesSettlementInstructionStatus (691) */ + /** @name PolymeshPrimitivesSettlementInstructionStatus (736) */ interface PolymeshPrimitivesSettlementInstructionStatus extends Enum { readonly isUnknown: boolean; readonly isPending: boolean; @@ -6985,7 +7272,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Unknown' | 'Pending' | 'Failed' | 'Success' | 'Rejected'; } - /** @name PalletSettlementError (692) */ + /** @name PalletSettlementError (737) */ interface PalletSettlementError extends Enum { readonly isInvalidVenue: boolean; readonly isUnauthorized: boolean; @@ -7070,19 +7357,19 @@ declare module '@polkadot/types/lookup' { | 'NumberOfVenueSignersExceeded'; } - /** @name PolymeshPrimitivesStatisticsStat1stKey (695) */ + /** @name PolymeshPrimitivesStatisticsStat1stKey (740) */ interface PolymeshPrimitivesStatisticsStat1stKey extends Struct { readonly asset: PolymeshPrimitivesStatisticsAssetScope; readonly statType: PolymeshPrimitivesStatisticsStatType; } - /** @name PolymeshPrimitivesTransferComplianceAssetTransferCompliance (696) */ + /** @name PolymeshPrimitivesTransferComplianceAssetTransferCompliance (741) */ interface PolymeshPrimitivesTransferComplianceAssetTransferCompliance extends Struct { readonly paused: bool; readonly requirements: BTreeSet; } - /** @name PalletStatisticsError (700) */ + /** @name PalletStatisticsError (745) */ interface PalletStatisticsError extends Enum { readonly isInvalidTransfer: boolean; readonly isStatTypeMissing: boolean; @@ -7101,7 +7388,7 @@ declare module '@polkadot/types/lookup' { | 'WeightLimitExceeded'; } - /** @name PalletStoError (702) */ + /** @name PalletStoError (747) */ interface PalletStoError extends Enum { readonly isUnauthorized: boolean; readonly isOverflow: boolean; @@ -7130,14 +7417,14 @@ declare module '@polkadot/types/lookup' { | 'InvestmentAmountTooLow'; } - /** @name PalletTreasuryError (703) */ + /** @name PalletTreasuryError (748) */ interface PalletTreasuryError extends Enum { readonly isInsufficientBalance: boolean; readonly isInvalidIdentity: boolean; readonly type: 'InsufficientBalance' | 'InvalidIdentity'; } - /** @name PalletUtilityError (704) */ + /** @name PalletUtilityError (749) */ interface PalletUtilityError extends Enum { readonly isTooManyCalls: boolean; readonly isInvalidSignature: boolean; @@ -7152,14 +7439,14 @@ declare module '@polkadot/types/lookup' { | 'UnableToDeriveAccountId'; } - /** @name PalletBaseError (705) */ + /** @name PalletBaseError (750) */ interface PalletBaseError extends Enum { readonly isTooLong: boolean; readonly isCounterOverflow: boolean; readonly type: 'TooLong' | 'CounterOverflow'; } - /** @name PalletExternalAgentsError (707) */ + /** @name PalletExternalAgentsError (752) */ interface PalletExternalAgentsError extends Enum { readonly isNoSuchAG: boolean; readonly isUnauthorizedAgent: boolean; @@ -7176,13 +7463,13 @@ declare module '@polkadot/types/lookup' { | 'SecondaryKeyNotAuthorizedForAsset'; } - /** @name PalletRelayerSubsidy (708) */ + /** @name PalletRelayerSubsidy (753) */ interface PalletRelayerSubsidy extends Struct { readonly payingKey: AccountId32; readonly remaining: u128; } - /** @name PalletRelayerError (709) */ + /** @name PalletRelayerError (754) */ interface PalletRelayerError extends Enum { readonly isUserKeyCddMissing: boolean; readonly isPayingKeyCddMissing: boolean; @@ -7201,7 +7488,7 @@ declare module '@polkadot/types/lookup' { | 'Overflow'; } - /** @name PalletContractsWasmPrefabWasmModule (711) */ + /** @name PalletContractsWasmPrefabWasmModule (756) */ interface PalletContractsWasmPrefabWasmModule extends Struct { readonly instructionWeightsVersion: Compact; readonly initial: Compact; @@ -7210,14 +7497,14 @@ declare module '@polkadot/types/lookup' { readonly determinism: PalletContractsWasmDeterminism; } - /** @name PalletContractsWasmOwnerInfo (713) */ + /** @name PalletContractsWasmOwnerInfo (758) */ interface PalletContractsWasmOwnerInfo extends Struct { readonly owner: AccountId32; readonly deposit: Compact; readonly refcount: Compact; } - /** @name PalletContractsStorageContractInfo (714) */ + /** @name PalletContractsStorageContractInfo (759) */ interface PalletContractsStorageContractInfo extends Struct { readonly trieId: Bytes; readonly depositAccount: AccountId32; @@ -7229,19 +7516,19 @@ declare module '@polkadot/types/lookup' { readonly storageBaseDeposit: u128; } - /** @name PalletContractsStorageDeletedContract (717) */ + /** @name PalletContractsStorageDeletedContract (762) */ interface PalletContractsStorageDeletedContract extends Struct { readonly trieId: Bytes; } - /** @name PalletContractsSchedule (719) */ + /** @name PalletContractsSchedule (764) */ interface PalletContractsSchedule extends Struct { readonly limits: PalletContractsScheduleLimits; readonly instructionWeights: PalletContractsScheduleInstructionWeights; readonly hostFnWeights: PalletContractsScheduleHostFnWeights; } - /** @name PalletContractsScheduleLimits (720) */ + /** @name PalletContractsScheduleLimits (765) */ interface PalletContractsScheduleLimits extends Struct { readonly eventTopics: u32; readonly globals: u32; @@ -7254,7 +7541,7 @@ declare module '@polkadot/types/lookup' { readonly payloadLen: u32; } - /** @name PalletContractsScheduleInstructionWeights (721) */ + /** @name PalletContractsScheduleInstructionWeights (766) */ interface PalletContractsScheduleInstructionWeights extends Struct { readonly version: u32; readonly fallback: u32; @@ -7312,7 +7599,7 @@ declare module '@polkadot/types/lookup' { readonly i64rotr: u32; } - /** @name PalletContractsScheduleHostFnWeights (722) */ + /** @name PalletContractsScheduleHostFnWeights (767) */ interface PalletContractsScheduleHostFnWeights extends Struct { readonly caller: SpWeightsWeightV2Weight; readonly isContract: SpWeightsWeightV2Weight; @@ -7375,7 +7662,7 @@ declare module '@polkadot/types/lookup' { readonly instantiationNonce: SpWeightsWeightV2Weight; } - /** @name PalletContractsError (723) */ + /** @name PalletContractsError (768) */ interface PalletContractsError extends Enum { readonly isInvalidScheduleVersion: boolean; readonly isInvalidCallFlags: boolean; @@ -7436,7 +7723,7 @@ declare module '@polkadot/types/lookup' { | 'Indeterministic'; } - /** @name PolymeshContractsError (725) */ + /** @name PolymeshContractsError (770) */ interface PolymeshContractsError extends Enum { readonly isInvalidFuncId: boolean; readonly isInvalidRuntimeCall: boolean; @@ -7465,7 +7752,7 @@ declare module '@polkadot/types/lookup' { | 'NoUpgradesSupported'; } - /** @name PalletPreimageRequestStatus (726) */ + /** @name PalletPreimageRequestStatus (771) */ interface PalletPreimageRequestStatus extends Enum { readonly isUnrequested: boolean; readonly asUnrequested: { @@ -7481,7 +7768,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Unrequested' | 'Requested'; } - /** @name PalletPreimageError (730) */ + /** @name PalletPreimageError (775) */ interface PalletPreimageError extends Enum { readonly isTooBig: boolean; readonly isAlreadyNoted: boolean; @@ -7498,13 +7785,13 @@ declare module '@polkadot/types/lookup' { | 'NotRequested'; } - /** @name PolymeshPrimitivesNftNftCollection (731) */ + /** @name PolymeshPrimitivesNftNftCollection (776) */ interface PolymeshPrimitivesNftNftCollection extends Struct { readonly id: u64; readonly ticker: PolymeshPrimitivesTicker; } - /** @name PalletNftError (736) */ + /** @name PalletNftError (781) */ interface PalletNftError extends Enum { readonly isBalanceOverflow: boolean; readonly isBalanceUnderflow: boolean; @@ -7553,33 +7840,137 @@ declare module '@polkadot/types/lookup' { | 'SupplyUnderflow'; } - /** @name PalletTestUtilsError (737) */ + /** @name PalletTestUtilsError (782) */ type PalletTestUtilsError = Null; - /** @name FrameSystemExtensionsCheckSpecVersion (740) */ + /** @name PalletConfidentialAssetConfidentialAssetDetails (785) */ + interface PalletConfidentialAssetConfidentialAssetDetails extends Struct { + readonly totalSupply: u128; + readonly ownerDid: PolymeshPrimitivesIdentityId; + readonly data: Bytes; + readonly ticker: Option; + } + + /** @name PalletConfidentialAssetTransactionLegState (788) */ + interface PalletConfidentialAssetTransactionLegState extends Struct { + readonly assetState: BTreeMap; + } + + /** @name PalletConfidentialAssetTransactionLegAssetState (790) */ + interface PalletConfidentialAssetTransactionLegAssetState extends Struct { + readonly senderInitBalance: ConfidentialAssetsElgamalCipherText; + readonly senderAmount: ConfidentialAssetsElgamalCipherText; + readonly receiverAmount: ConfidentialAssetsElgamalCipherText; + } + + /** @name PalletConfidentialAssetLegParty (796) */ + interface PalletConfidentialAssetLegParty extends Enum { + readonly isSender: boolean; + readonly isReceiver: boolean; + readonly isMediator: boolean; + readonly type: 'Sender' | 'Receiver' | 'Mediator'; + } + + /** @name PalletConfidentialAssetTransactionStatus (797) */ + interface PalletConfidentialAssetTransactionStatus extends Enum { + readonly isPending: boolean; + readonly isExecuted: boolean; + readonly asExecuted: u32; + readonly isRejected: boolean; + readonly asRejected: u32; + readonly type: 'Pending' | 'Executed' | 'Rejected'; + } + + /** @name PalletConfidentialAssetTransaction (798) */ + interface PalletConfidentialAssetTransaction extends Struct { + readonly venueId: u64; + readonly createdAt: u32; + readonly memo: Option; + } + + /** @name PalletConfidentialAssetError (799) */ + interface PalletConfidentialAssetError extends Enum { + readonly isAuditorAccountMissing: boolean; + readonly isConfidentialAccountMissing: boolean; + readonly isRequiredAssetAuditorMissing: boolean; + readonly isNotEnoughAssetAuditors: boolean; + readonly isTooManyAuditors: boolean; + readonly isTooManyMediators: boolean; + readonly isAuditorAccountAlreadyCreated: boolean; + readonly isConfidentialAccountAlreadyCreated: boolean; + readonly isConfidentialAccountAlreadyInitialized: boolean; + readonly isInvalidConfidentialAccount: boolean; + readonly isInvalidAuditorAccount: boolean; + readonly isTotalSupplyAboveConfidentialBalanceLimit: boolean; + readonly isUnauthorized: boolean; + readonly isUnknownConfidentialAsset: boolean; + readonly isConfidentialAssetAlreadyCreated: boolean; + readonly isTotalSupplyOverLimit: boolean; + readonly isTotalSupplyMustBePositive: boolean; + readonly isInvalidSenderProof: boolean; + readonly isInvalidVenue: boolean; + readonly isTransactionNotAffirmed: boolean; + readonly isTransactionAlreadyAffirmed: boolean; + readonly isUnauthorizedVenue: boolean; + readonly isTransactionFailed: boolean; + readonly isLegCountTooSmall: boolean; + readonly isUnknownTransaction: boolean; + readonly isUnknownTransactionLeg: boolean; + readonly isTransactionNoLegs: boolean; + readonly type: + | 'AuditorAccountMissing' + | 'ConfidentialAccountMissing' + | 'RequiredAssetAuditorMissing' + | 'NotEnoughAssetAuditors' + | 'TooManyAuditors' + | 'TooManyMediators' + | 'AuditorAccountAlreadyCreated' + | 'ConfidentialAccountAlreadyCreated' + | 'ConfidentialAccountAlreadyInitialized' + | 'InvalidConfidentialAccount' + | 'InvalidAuditorAccount' + | 'TotalSupplyAboveConfidentialBalanceLimit' + | 'Unauthorized' + | 'UnknownConfidentialAsset' + | 'ConfidentialAssetAlreadyCreated' + | 'TotalSupplyOverLimit' + | 'TotalSupplyMustBePositive' + | 'InvalidSenderProof' + | 'InvalidVenue' + | 'TransactionNotAffirmed' + | 'TransactionAlreadyAffirmed' + | 'UnauthorizedVenue' + | 'TransactionFailed' + | 'LegCountTooSmall' + | 'UnknownTransaction' + | 'UnknownTransactionLeg' + | 'TransactionNoLegs'; + } + + /** @name FrameSystemExtensionsCheckSpecVersion (802) */ type FrameSystemExtensionsCheckSpecVersion = Null; - /** @name FrameSystemExtensionsCheckTxVersion (741) */ + /** @name FrameSystemExtensionsCheckTxVersion (803) */ type FrameSystemExtensionsCheckTxVersion = Null; - /** @name FrameSystemExtensionsCheckGenesis (742) */ + /** @name FrameSystemExtensionsCheckGenesis (804) */ type FrameSystemExtensionsCheckGenesis = Null; - /** @name FrameSystemExtensionsCheckNonce (745) */ + /** @name FrameSystemExtensionsCheckNonce (807) */ interface FrameSystemExtensionsCheckNonce extends Compact {} - /** @name PolymeshExtensionsCheckWeight (746) */ + /** @name PolymeshExtensionsCheckWeight (808) */ interface PolymeshExtensionsCheckWeight extends FrameSystemExtensionsCheckWeight {} - /** @name FrameSystemExtensionsCheckWeight (747) */ + /** @name FrameSystemExtensionsCheckWeight (809) */ type FrameSystemExtensionsCheckWeight = Null; - /** @name PalletTransactionPaymentChargeTransactionPayment (748) */ + /** @name PalletTransactionPaymentChargeTransactionPayment (810) */ interface PalletTransactionPaymentChargeTransactionPayment extends Compact {} - /** @name PalletPermissionsStoreCallMetadata (749) */ + /** @name PalletPermissionsStoreCallMetadata (811) */ type PalletPermissionsStoreCallMetadata = Null; - /** @name PolymeshRuntimeTestnetRuntime (750) */ - type PolymeshRuntimeTestnetRuntime = Null; + /** @name PolymeshRuntimeDevelopRuntime (812) */ + type PolymeshRuntimeDevelopRuntime = Null; } // declare module From 0d96d295473ad4680154931e8202523d282a2229 Mon Sep 17 00:00:00 2001 From: Prashant Bajpai Date: Wed, 10 Jan 2024 22:30:02 +0530 Subject: [PATCH 029/120] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20Add=20`Confident?= =?UTF-8?q?ialAsset`=20entity?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This adds a basic structure for Confidential Asset which includes methods such as `exists`, `toHuman`. Also added is the `details` method to get basic details for a confidential asset. --- package.json | 1 + .../confidential/ConfidentialAsset/index.ts | 99 +++++++++++ .../confidential/ConfidentialAsset/types.ts | 10 ++ .../__tests__/ConfidentialAsset/index.ts | 162 ++++++++++++++++++ src/api/entities/confidential/types.ts | 1 + src/api/entities/types.ts | 3 + src/internal.ts | 1 + src/testUtils/mocks/dataSources.ts | 30 +++- src/testUtils/mocks/entities.ts | 50 ++++++ src/utils/__tests__/conversion.ts | 21 +++ src/utils/conversion.ts | 8 + src/utils/internal.ts | 26 +++ yarn.lock | 5 + 13 files changed, 416 insertions(+), 1 deletion(-) create mode 100644 src/api/entities/confidential/ConfidentialAsset/index.ts create mode 100644 src/api/entities/confidential/ConfidentialAsset/types.ts create mode 100644 src/api/entities/confidential/__tests__/ConfidentialAsset/index.ts create mode 100644 src/api/entities/confidential/types.ts diff --git a/package.json b/package.json index 5f079c741b..11d88dad2f 100644 --- a/package.json +++ b/package.json @@ -83,6 +83,7 @@ "eslint-plugin-promise": "^6.1.1", "eslint-plugin-simple-import-sort": "^10.0.0", "fs-extra": "11.1.1", + "guid-typescript": "^1.0.9", "html-webpack-plugin": "^5.5.3", "husky": "8.0.3", "is-ci": "3.0.1", diff --git a/src/api/entities/confidential/ConfidentialAsset/index.ts b/src/api/entities/confidential/ConfidentialAsset/index.ts new file mode 100644 index 0000000000..3236efbda3 --- /dev/null +++ b/src/api/entities/confidential/ConfidentialAsset/index.ts @@ -0,0 +1,99 @@ +import { Context, Entity, Identity } from '~/internal'; +import { ConfidentialAssetDetails } from '~/types'; +import { + bytesToString, + identityIdToString, + serializeConfidentialAssetId, + tickerToString, + u128ToBigNumber, +} from '~/utils/conversion'; +import { assertCaAssetValid } from '~/utils/internal'; + +/** + * Properties that uniquely identify a ConfidentialAsset + */ +export interface UniqueIdentifiers { + /** + * GUID of the asset + * + * @note the value can either be a valid guid like `76702175-d8cb-e3a5-5a19-734433351e26` or can be a string representing the guid without the `-` like `76702175d8cbe3a55a19734433351e26` + */ + id: string; +} + +/** + * Represents a ConfidentialAsset in the Polymesh blockchain + */ +export class ConfidentialAsset extends Entity { + /** + * GUID of the Confidential Asset + */ + public id: string; + + /** + * @hidden + * Check if a value is of type {@link UniqueIdentifiers} + */ + public static override isUniqueIdentifiers(identifier: unknown): identifier is UniqueIdentifiers { + const { id } = identifier as UniqueIdentifiers; + + return typeof id === 'string'; + } + + /** + * @hidden + */ + constructor(identifiers: UniqueIdentifiers, context: Context) { + super(identifiers, context); + + const { id } = identifiers; + + this.id = assertCaAssetValid(id); + } + + /** + * Retrieve confidential Asset's details + */ + public async details(): Promise { + const { + id, + context, + context: { + polymeshApi: { + query: { confidentialAsset }, + }, + }, + } = this; + + const rawAssetId = serializeConfidentialAssetId(id); + const details = await confidentialAsset.details(rawAssetId); + + if (details.isNone) { + return null; + } + + const { data, ticker, ownerDid, totalSupply } = details.unwrap(); + + return { + ticker: ticker.isNone ? undefined : tickerToString(ticker.unwrap()), + data: bytesToString(data), + totalSupply: u128ToBigNumber(totalSupply), + owner: new Identity({ did: identityIdToString(ownerDid) }, context), + }; + } + + /** + * Determine whether this confidential Asset exists on chain + */ + public async exists(): Promise { + const details = await this.details(); + return details !== null; + } + + /** + * Return the confidential Asset's GUID + */ + public toHuman(): string { + return this.id; + } +} diff --git a/src/api/entities/confidential/ConfidentialAsset/types.ts b/src/api/entities/confidential/ConfidentialAsset/types.ts new file mode 100644 index 0000000000..902bd8c104 --- /dev/null +++ b/src/api/entities/confidential/ConfidentialAsset/types.ts @@ -0,0 +1,10 @@ +import BigNumber from 'bignumber.js'; + +import { Identity } from '~/internal'; + +export interface ConfidentialAssetDetails { + ticker?: string; + owner: Identity; + data: string; + totalSupply: BigNumber; +} diff --git a/src/api/entities/confidential/__tests__/ConfidentialAsset/index.ts b/src/api/entities/confidential/__tests__/ConfidentialAsset/index.ts new file mode 100644 index 0000000000..7603235de2 --- /dev/null +++ b/src/api/entities/confidential/__tests__/ConfidentialAsset/index.ts @@ -0,0 +1,162 @@ +import BigNumber from 'bignumber.js'; +import { when } from 'jest-when'; + +import { ConfidentialAsset, Context, Entity } from '~/internal'; +import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; +import * as utilsConversionModule from '~/utils/conversion'; + +describe('ConfidentialAsset class', () => { + let id: string; + let guid: string; + let confidentialAsset: ConfidentialAsset; + let context: Context; + + beforeAll(() => { + dsMockUtils.initMocks(); + entityMockUtils.initMocks(); + procedureMockUtils.initMocks(); + }); + + beforeEach(() => { + id = '76702175d8cbe3a55a19734433351e25'; + guid = '76702175-d8cb-e3a5-5a19-734433351e25'; + context = dsMockUtils.getContextInstance(); + confidentialAsset = new ConfidentialAsset({ id }, context); + }); + + afterEach(() => { + dsMockUtils.reset(); + entityMockUtils.reset(); + }); + + afterAll(() => { + dsMockUtils.cleanup(); + }); + + it('should extend Entity', () => { + expect(ConfidentialAsset.prototype instanceof Entity).toBe(true); + }); + + describe('constructor', () => { + it('should assign ID to instance', () => { + expect(confidentialAsset.id).toBe(guid); + }); + }); + + describe('method: isUniqueIdentifiers', () => { + it('should return true if the object conforms to the interface', () => { + expect( + ConfidentialAsset.isUniqueIdentifiers({ id: '76702175d8cbe3a55a19734433351e25' }) + ).toBe(true); + expect(ConfidentialAsset.isUniqueIdentifiers({})).toBe(false); + expect(ConfidentialAsset.isUniqueIdentifiers({ id: 3 })).toBe(false); + }); + }); + + describe('method: details', () => { + let detailsQueryMock: jest.Mock; + let u128ToBigNumberSpy: jest.SpyInstance; + let bytesToStringSpy: jest.SpyInstance; + let identityIdToStringSpy: jest.SpyInstance; + + const assetDetails = { + totalSupply: new BigNumber(100), + data: 'SOME_DATA', + ownerDid: 'SOME_DID', + }; + + beforeAll(() => { + u128ToBigNumberSpy = jest.spyOn(utilsConversionModule, 'u128ToBigNumber'); + bytesToStringSpy = jest.spyOn(utilsConversionModule, 'bytesToString'); + identityIdToStringSpy = jest.spyOn(utilsConversionModule, 'identityIdToString'); + }); + + beforeEach(() => { + detailsQueryMock = dsMockUtils.createQueryMock('confidentialAsset', 'details'); + when(bytesToStringSpy).calledWith(assetDetails.data).mockReturnValue(assetDetails.data); + when(u128ToBigNumberSpy) + .calledWith(assetDetails.totalSupply) + .mockReturnValue(assetDetails.totalSupply); + when(identityIdToStringSpy) + .calledWith(assetDetails.ownerDid) + .mockReturnValue(assetDetails.ownerDid); + }); + + it('should return null if confidential Asset does not exists', async () => { + detailsQueryMock.mockResolvedValueOnce(dsMockUtils.createMockOption()); + const result = await confidentialAsset.details(); + + expect(result).toBe(null); + }); + + it('should return the basic details of the confidential Asset', async () => { + detailsQueryMock.mockResolvedValueOnce( + dsMockUtils.createMockOption( + dsMockUtils.createMockConfidentialAssetDetails({ + ...assetDetails, + ticker: dsMockUtils.createMockOption(), + }) + ) + ); + const expectedAssetDetails = { + data: assetDetails.data, + owner: expect.objectContaining({ + did: assetDetails.ownerDid, + }), + totalSupply: assetDetails.totalSupply, + ticker: undefined, + }; + + let result = await confidentialAsset.details(); + + expect(result).toEqual(expect.objectContaining(expectedAssetDetails)); + + detailsQueryMock.mockResolvedValueOnce( + dsMockUtils.createMockOption( + dsMockUtils.createMockConfidentialAssetDetails({ + ...assetDetails, + ticker: dsMockUtils.createMockOption(dsMockUtils.createMockTicker('SOME_TICKER')), + }) + ) + ); + + result = await confidentialAsset.details(); + + expect(result).toEqual( + expect.objectContaining({ + ...expectedAssetDetails, + ticker: 'SOME_TICKER', + }) + ); + }); + }); + + describe('method: exists', () => { + it('should return if Confidential Asset exists', async () => { + const detailsSpy = jest.spyOn(confidentialAsset, 'details'); + + detailsSpy.mockResolvedValueOnce({ + owner: entityMockUtils.getIdentityInstance(), + totalSupply: new BigNumber(100), + data: 'SOME_DATA', + ticker: 'SOME_TICKER', + }); + + let result = await confidentialAsset.exists(); + + expect(result).toBeTruthy(); + + detailsSpy.mockResolvedValueOnce(null); + + result = await confidentialAsset.exists(); + + expect(result).toBeFalsy(); + }); + }); + + describe('method: toHuman', () => { + it('should return a human readable version of the entity', () => { + expect(confidentialAsset.toHuman()).toBe(guid); + }); + }); +}); diff --git a/src/api/entities/confidential/types.ts b/src/api/entities/confidential/types.ts new file mode 100644 index 0000000000..cc17c24712 --- /dev/null +++ b/src/api/entities/confidential/types.ts @@ -0,0 +1 @@ +export * from './ConfidentialAsset/types'; diff --git a/src/api/entities/types.ts b/src/api/entities/types.ts index b975362c5f..cb06810b4a 100644 --- a/src/api/entities/types.ts +++ b/src/api/entities/types.ts @@ -4,6 +4,7 @@ import { Checkpoint as CheckpointClass, CheckpointSchedule as CheckpointScheduleClass, ChildIdentity as ChildIdentityClass, + ConfidentialAsset as ConfidentialAssetClass, CorporateAction as CorporateActionClass, CustomPermissionGroup as CustomPermissionGroupClass, DefaultPortfolio as DefaultPortfolioClass, @@ -39,6 +40,7 @@ export type ChildIdentity = ChildIdentityClass; export type Instruction = InstructionClass; export type KnownPermissionGroup = KnownPermissionGroupClass; export type NumberedPortfolio = NumberedPortfolioClass; +export type ConfidentialAsset = ConfidentialAssetClass; export type FungibleAsset = FungibleAssetClass; export type Nft = NftClass; export type NftCollection = NftCollectionClass; @@ -61,3 +63,4 @@ export * from './Subsidy/types'; export * from './Account/MultiSig/types'; export * from './MultiSigProposal/types'; export * from './MetadataEntry/types'; +export * from './confidential/types'; diff --git a/src/internal.ts b/src/internal.ts index 607015ba38..033999e835 100644 --- a/src/internal.ts +++ b/src/internal.ts @@ -100,6 +100,7 @@ export { MultiSig } from '~/api/entities/Account/MultiSig'; export { MultiSigProposal } from '~/api/entities/MultiSigProposal'; export { TickerReservation } from '~/api/entities/TickerReservation'; export { BaseAsset, FungibleAsset, NftCollection, Nft } from '~/api/entities/Asset'; +export { ConfidentialAsset } from '~/api/entities/confidential/ConfidentialAsset'; export { MetadataEntry } from '~/api/entities/MetadataEntry'; export { registerMetadata } from '~/api/procedures/registerMetadata'; export { setMetadata } from '~/api/procedures/setMetadata'; diff --git a/src/testUtils/mocks/dataSources.ts b/src/testUtils/mocks/dataSources.ts index c2d7975dfc..16aef6c3f8 100644 --- a/src/testUtils/mocks/dataSources.ts +++ b/src/testUtils/mocks/dataSources.ts @@ -1,7 +1,6 @@ /* istanbul ignore file */ /* eslint-disable @typescript-eslint/naming-convention */ /* eslint-disable @typescript-eslint/no-explicit-any */ - import { ApolloClient, NormalizedCacheObject, QueryOptions } from '@apollo/client/core'; import { ApiPromise } from '@polkadot/api'; import { DecoratedErrors, DecoratedRpc } from '@polkadot/api/types'; @@ -53,6 +52,7 @@ import { PalletAssetSecurityToken, PalletAssetTickerRegistration, PalletAssetTickerRegistrationConfig, + PalletConfidentialAssetConfidentialAssetDetails, PalletContractsStorageContractInfo, PalletCorporateActionsCaCheckpoint, PalletCorporateActionsCaId, @@ -4418,3 +4418,31 @@ export const createMockSigningPayload = (mockGetters?: { !mockGetters ); }; + +/** + * @hidden + * NOTE: `isEmpty` will be set to true if no value is passed + */ +export const createMockConfidentialAssetDetails = ( + details?: + | PalletConfidentialAssetConfidentialAssetDetails + | { + totalSupply: u128 | Parameters[0]; + ownerDid: PolymeshPrimitivesIdentityId | Parameters[0]; + data: Bytes | Parameters[0]; + ticker: Option; + } +): MockCodec => { + if (isCodec(details)) { + return details as MockCodec; + } + + const { totalSupply, ownerDid, data, ticker } = details ?? { + totalSupply: createMockU128(), + ownerDid: createMockIdentityId(), + data: createMockBytes(), + ticker: createMockOption(), + }; + + return createMockCodec({ totalSupply, ownerDid, data, ticker }, !details); +}; diff --git a/src/testUtils/mocks/entities.ts b/src/testUtils/mocks/entities.ts index 0c0b569efa..e178daa1b5 100644 --- a/src/testUtils/mocks/entities.ts +++ b/src/testUtils/mocks/entities.ts @@ -13,6 +13,7 @@ import { Checkpoint, CheckpointSchedule, ChildIdentity, + ConfidentialAsset, CorporateAction, CustomPermissionGroup, DefaultPortfolio, @@ -47,6 +48,7 @@ import { CheckRolesResult, CollectionKey, ComplianceRequirements, + ConfidentialAssetDetails, CorporateActionDefaultConfig, CorporateActionKind, CorporateActionTargets, @@ -361,6 +363,11 @@ interface MultiSigProposalOptions extends EntityOptions { details?: EntityGetter; } +interface ConfidentialAssetOptions extends EntityOptions { + id?: string; + details?: EntityGetter; +} + type MockOptions = { identityOptions?: IdentityOptions; childIdentityOptions?: ChildIdentityOptions; @@ -386,6 +393,7 @@ type MockOptions = { knownPermissionGroupOptions?: KnownPermissionGroupOptions; multiSigOptions?: MultiSigOptions; multiSigProposalOptions?: MultiSigProposalOptions; + confidentialAssetOptions?: ConfidentialAssetOptions; }; type Class = new (...args: any[]) => T; @@ -2083,6 +2091,40 @@ const MockKnownPermissionGroupClass = createMockEntityClass( + class { + uuid!: string; + id!: string; + details!: jest.Mock; + + /** + * @hidden + */ + public argsToOpts(...args: ConstructorParameters) { + return extractFromArgs(args, ['id']); + } + + /** + * @hidden + */ + public configure(opts: Required) { + this.uuid = 'confidentialAsset'; + this.id = opts.id; + this.details = createEntityGetterMock(opts.details); + } + }, + () => ({ + id: '76702175-d8cb-e3a5-5a19-734433351e26', + details: { + ticker: 'SOME_TICKER', + data: 'SOME_DATA', + owner: getIdentityInstance(), + totalSupply: new BigNumber(0), + }, + }), + ['ConfidentialAsset'] +); + export const mockIdentityModule = (path: string) => (): Record => ({ ...jest.requireActual(path), Identity: MockIdentityClass, @@ -2203,6 +2245,11 @@ export const mockKnownPermissionGroupModule = (path: string) => (): Record (): Record => ({ + ...jest.requireActual(path), + ConfidentialAsset: MockConfidentialAssetClass, +}); + /** * @hidden * @@ -2232,6 +2279,7 @@ export const initMocks = function (opts?: MockOptions): void { MockDividendDistributionClass.init(opts?.dividendDistributionOptions); MockMultiSigClass.init(opts?.multiSigOptions); MockMultiSigProposalClass.init(opts?.multiSigProposalOptions); + MockConfidentialAssetClass.init(opts?.confidentialAssetOptions); }; /** @@ -2264,6 +2312,7 @@ export const configureMocks = function (opts?: MockOptions): void { MockDividendDistributionClass.setOptions(opts?.dividendDistributionOptions); MockMultiSigClass.setOptions(opts?.multiSigOptions); MockMultiSigProposalClass.setOptions(opts?.multiSigProposalOptions); + MockConfidentialAssetClass.setOptions(opts?.confidentialAssetOptions); }; /** @@ -2293,6 +2342,7 @@ export const reset = function (): void { MockDividendDistributionClass.resetOptions(); MockMultiSigClass.resetOptions(); MockMultiSigProposalClass.resetOptions(); + MockConfidentialAssetClass.resetOptions(); }; /** diff --git a/src/utils/__tests__/conversion.ts b/src/utils/__tests__/conversion.ts index 9fac7e2614..3170840f5b 100644 --- a/src/utils/__tests__/conversion.ts +++ b/src/utils/__tests__/conversion.ts @@ -279,6 +279,7 @@ import { scopeToMiddlewareScope, secondaryAccountToMeshSecondaryKey, securityIdentifierToAssetIdentifier, + serializeConfidentialAssetId, signatoryToSignerValue, signerToSignatory, signerToSignerValue, @@ -7676,6 +7677,26 @@ describe('stringToU8aFixed', () => { }); }); +describe('serializeConfidentialAssetId', () => { + beforeAll(() => { + dsMockUtils.initMocks(); + }); + + afterEach(() => { + dsMockUtils.reset(); + }); + + afterAll(() => { + dsMockUtils.cleanup(); + }); + + it('should convert a confidential Asset ID to hex prefixed string', () => { + const result = serializeConfidentialAssetId('76702175-d8cb-e3a5-5a19-734433351e25'); + + expect(result).toEqual('0x76702175d8cbe3a55a19734433351e25'); + }); +}); + describe('transactionPermissionsToExtrinsicPermissions', () => { beforeAll(() => { dsMockUtils.initMocks(); diff --git a/src/utils/conversion.ts b/src/utils/conversion.ts index 157911920d..496838e32d 100644 --- a/src/utils/conversion.ts +++ b/src/utils/conversion.ts @@ -64,6 +64,7 @@ import { import { ITuple } from '@polkadot/types/types'; import { BTreeSet } from '@polkadot/types-codec'; import { + hexAddPrefix, hexHasPrefix, hexToString, hexToU8a, @@ -339,6 +340,13 @@ export function stringToU8aFixed(value: string, context: Context): U8aFixed { return context.createType('U8aFixed', value); } +/** + * @hidden + */ +export function serializeConfidentialAssetId(value: string): string { + return hexAddPrefix(value.replace(/-/g, '')); +} + /** * @hidden */ diff --git a/src/utils/internal.ts b/src/utils/internal.ts index 555cdb46f7..6865c6ee9b 100644 --- a/src/utils/internal.ts +++ b/src/utils/internal.ts @@ -23,6 +23,7 @@ import { AnyFunction, AnyTuple, IEvent, ISubmittableResult } from '@polkadot/typ import { stringUpperFirst } from '@polkadot/util'; import { decodeAddress, encodeAddress } from '@polkadot/util-crypto'; import BigNumber from 'bignumber.js'; +import { Guid } from 'guid-typescript'; import stringify from 'json-stable-stringify'; import { differenceWith, flatMap, isEqual, mapValues, noop, padEnd, uniq } from 'lodash'; import { coerce, lt, major, satisfies } from 'semver'; @@ -1891,3 +1892,28 @@ export function areSameClaims( return ClaimType[type] === claim.type; } + +/** + * @hidden + */ +export function assertCaAssetValid(id: string): string { + if (id.length >= 32) { + let guid = id; + + if (!Guid.isGuid(id)) { + guid = `${id.substring(0, 8)}-${id.substring(8, 12)}-${id.substring(12, 16)}-${id.substring( + 16, + 20 + )}-${id.substring(20)}`; + } + + if (guid.length === 36) { + return guid; + } + } + + throw new PolymeshError({ + code: ErrorCode.ValidationError, + message: 'The supplied ID is not a valid confidential Asset ID', + }); +} diff --git a/yarn.lock b/yarn.lock index 9467a7bb65..7680c3b09f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6124,6 +6124,11 @@ graphql@^16.8.0: resolved "https://registry.yarnpkg.com/graphql/-/graphql-16.8.1.tgz#1930a965bef1170603702acdb68aedd3f3cf6f07" integrity sha512-59LZHPdGZVh695Ud9lRzPBVTtlX9ZCV150Er2W43ro37wVof0ctenSaskPPjN7lVTIN8mSZt8PHUNKZuNQUuxw== +guid-typescript@^1.0.9: + version "1.0.9" + resolved "https://registry.yarnpkg.com/guid-typescript/-/guid-typescript-1.0.9.tgz#e35f77003535b0297ea08548f5ace6adb1480ddc" + integrity sha512-Y8T4vYhEfwJOTbouREvG+3XDsjr8E3kIr7uf+JZ0BYloFsttiHU0WfvANVsR7TxNUJa/WpCnw/Ino/p+DeBhBQ== + handle-thing@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/handle-thing/-/handle-thing-2.0.1.tgz#857f79ce359580c340d43081cc648970d0bb234e" From edc494494acebad2176ba185d2bf87dec8abcf55 Mon Sep 17 00:00:00 2001 From: Prashant Bajpai Date: Wed, 10 Jan 2024 22:32:45 +0530 Subject: [PATCH 030/120] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20Adds=20`Confiden?= =?UTF-8?q?tialAssets`=20namespace?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This adds in a namespace where all confidential asset related functionalities can be added. Method to get a confidential asset by its ID has been added to the namespace as well. --- src/api/client/ConfidentialAssets.ts | 39 ++++++++++++ src/api/client/Polymesh.ts | 6 ++ .../client/__tests__/ConfidentialAssets.ts | 61 +++++++++++++++++++ 3 files changed, 106 insertions(+) create mode 100644 src/api/client/ConfidentialAssets.ts create mode 100644 src/api/client/__tests__/ConfidentialAssets.ts diff --git a/src/api/client/ConfidentialAssets.ts b/src/api/client/ConfidentialAssets.ts new file mode 100644 index 0000000000..7d180657c7 --- /dev/null +++ b/src/api/client/ConfidentialAssets.ts @@ -0,0 +1,39 @@ +import { ConfidentialAsset, Context, PolymeshError } from '~/internal'; +import { ErrorCode } from '~/types'; + +/** + * Handles all Confidential Asset related functionality + */ +export class ConfidentialAssets { + private context: Context; + + /** + * @hidden + */ + constructor(context: Context) { + this.context = context; + } + + /** + * Retrieve a ConfidentialAsset + */ + public async getConfidentialAsset(args: { id: string }): Promise { + const { context } = this; + const { id } = args; + + const confidentialAsset = new ConfidentialAsset({ id }, context); + + const exists = await confidentialAsset.exists(); + + console.log(exists); + + if (!exists) { + throw new PolymeshError({ + code: ErrorCode.DataUnavailable, + message: `No confidential Asset exists with ID: "${id}"`, + }); + } + + return confidentialAsset; + } +} diff --git a/src/api/client/Polymesh.ts b/src/api/client/Polymesh.ts index 8c9ad1a09d..c08cb476ba 100644 --- a/src/api/client/Polymesh.ts +++ b/src/api/client/Polymesh.ts @@ -27,6 +27,7 @@ import { import { AccountManagement } from './AccountManagement'; import { Assets } from './Assets'; import { Claims } from './Claims'; +import { ConfidentialAssets } from './ConfidentialAssets'; import { Identities } from './Identities'; import { Network } from './Network'; import { Settlements } from './Settlements'; @@ -109,6 +110,10 @@ export class Polymesh { * A set of methods for interacting with Assets */ public assets: Assets; + /** + * A set of methods for interacting with Confidential Assets + */ + public confidentialAssets: ConfidentialAssets; /** * @hidden @@ -122,6 +127,7 @@ export class Polymesh { this.accountManagement = new AccountManagement(context); this.identities = new Identities(context); this.assets = new Assets(context); + this.confidentialAssets = new ConfidentialAssets(context); this.createTransactionBatch = createProcedureMethod( { diff --git a/src/api/client/__tests__/ConfidentialAssets.ts b/src/api/client/__tests__/ConfidentialAssets.ts new file mode 100644 index 0000000000..820bfe6c41 --- /dev/null +++ b/src/api/client/__tests__/ConfidentialAssets.ts @@ -0,0 +1,61 @@ +import { ConfidentialAssets } from '~/api/client/ConfidentialAssets'; +import { ConfidentialAsset, Context } from '~/internal'; +import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; +import { Mocked } from '~/testUtils/types'; + +jest.mock( + '~/api/entities/confidential/ConfidentialAsset', + require('~/testUtils/mocks/entities').mockConfidentialAssetModule( + '~/api/entities/confidential/ConfidentialAsset' + ) +); + +describe('ConfidentialAssets Class', () => { + let context: Mocked; + let confidentialAssets: ConfidentialAssets; + + beforeAll(() => { + dsMockUtils.initMocks(); + entityMockUtils.initMocks(); + procedureMockUtils.initMocks(); + }); + + beforeEach(() => { + context = dsMockUtils.getContextInstance(); + confidentialAssets = new ConfidentialAssets(context); + }); + + afterEach(() => { + dsMockUtils.reset(); + entityMockUtils.reset(); + procedureMockUtils.reset(); + }); + + afterAll(() => { + dsMockUtils.cleanup(); + procedureMockUtils.cleanup(); + }); + + describe('method: getConfidentialAsset', () => { + const id = '76702175-d8cb-e3a5-5a19-734433351e25'; + + it('should return a specific Confidential Asset if exists', async () => { + entityMockUtils.configureMocks({ + confidentialAssetOptions: { exists: true }, + }); + const confidentialAsset = await confidentialAssets.getConfidentialAsset({ id }); + + expect(confidentialAsset).toBeInstanceOf(ConfidentialAsset); + }); + + it('should throw if the Confidential Asset does not exist', async () => { + entityMockUtils.configureMocks({ + confidentialAssetOptions: { exists: false }, + }); + + return expect(confidentialAssets.getConfidentialAsset({ id })).rejects.toThrow( + `No confidential Asset exists with ID: "${id}"` + ); + }); + }); +}); From d38798361ed61805aa425de6cfbf83e2dd66a51e Mon Sep 17 00:00:00 2001 From: Prashant Bajpai Date: Fri, 12 Jan 2024 16:31:58 +0530 Subject: [PATCH 031/120] =?UTF-8?q?test:=20=F0=9F=92=8D=20Add=20tests=20fo?= =?UTF-8?q?r=20100%=20coverage?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/__tests__/internal.ts | 28 ++++++++++++++++++++++++++++ src/utils/internal.ts | 4 ++-- 2 files changed, 30 insertions(+), 2 deletions(-) diff --git a/src/utils/__tests__/internal.ts b/src/utils/__tests__/internal.ts index 349d0728a1..8bdf090f13 100644 --- a/src/utils/__tests__/internal.ts +++ b/src/utils/__tests__/internal.ts @@ -67,6 +67,7 @@ import { asFungibleAsset, asNftId, assertAddressValid, + assertCaAssetValid, assertExpectedChainVersion, assertExpectedSqVersion, assertIsInteger, @@ -2298,3 +2299,30 @@ describe('areSameClaims', () => { expect(result).toBeFalsy(); }); }); + +describe('assetCaAssetValid', () => { + it('should return true for a valid ID', () => { + const guid = '76702175-d8cb-e3a5-5a19-734433351e25'; + const id = '76702175d8cbe3a55a19734433351e25'; + + let result = assertCaAssetValid(id); + + expect(result).toEqual(guid); + + result = assertCaAssetValid(guid); + + expect(result).toEqual(guid); + }); + + it('should throw an error for an invalid ID', async () => { + const expectedError = new PolymeshError({ + code: ErrorCode.ValidationError, + message: 'The supplied ID is not a valid confidential Asset ID', + }); + expect(() => assertCaAssetValid('small-length-string')).toThrow(expectedError); + + expect(() => assertCaAssetValid('NotMatching32CharactersString$$$')).toThrow(expectedError); + + expect(() => assertCaAssetValid('7670-2175d8cb-e3a55a-1973443-3351e25')).toThrow(expectedError); + }); +}); diff --git a/src/utils/internal.ts b/src/utils/internal.ts index 6865c6ee9b..c8e87b289b 100644 --- a/src/utils/internal.ts +++ b/src/utils/internal.ts @@ -1900,14 +1900,14 @@ export function assertCaAssetValid(id: string): string { if (id.length >= 32) { let guid = id; - if (!Guid.isGuid(id)) { + if (id.length === 32) { guid = `${id.substring(0, 8)}-${id.substring(8, 12)}-${id.substring(12, 16)}-${id.substring( 16, 20 )}-${id.substring(20)}`; } - if (guid.length === 36) { + if (Guid.validator.test(guid)) { return guid; } } From b65fec28ac60557f6d10dcb1cda04113410f72eb Mon Sep 17 00:00:00 2001 From: Prashant Bajpai Date: Fri, 12 Jan 2024 16:53:52 +0530 Subject: [PATCH 032/120] =?UTF-8?q?chore:=20=F0=9F=A4=96=20Address=20PR=20?= =?UTF-8?q?comments?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 - src/api/client/ConfidentialAssets.ts | 2 - .../confidential/ConfidentialAsset/index.ts | 40 +++++++--- .../confidential/ConfidentialAsset/types.ts | 7 +- .../__tests__/ConfidentialAsset/index.ts | 74 +++++++++---------- src/utils/internal.ts | 5 +- yarn.lock | 5 -- 7 files changed, 70 insertions(+), 64 deletions(-) diff --git a/package.json b/package.json index 11d88dad2f..5f079c741b 100644 --- a/package.json +++ b/package.json @@ -83,7 +83,6 @@ "eslint-plugin-promise": "^6.1.1", "eslint-plugin-simple-import-sort": "^10.0.0", "fs-extra": "11.1.1", - "guid-typescript": "^1.0.9", "html-webpack-plugin": "^5.5.3", "husky": "8.0.3", "is-ci": "3.0.1", diff --git a/src/api/client/ConfidentialAssets.ts b/src/api/client/ConfidentialAssets.ts index 7d180657c7..81a6c833cb 100644 --- a/src/api/client/ConfidentialAssets.ts +++ b/src/api/client/ConfidentialAssets.ts @@ -25,8 +25,6 @@ export class ConfidentialAssets { const exists = await confidentialAsset.exists(); - console.log(exists); - if (!exists) { throw new PolymeshError({ code: ErrorCode.DataUnavailable, diff --git a/src/api/entities/confidential/ConfidentialAsset/index.ts b/src/api/entities/confidential/ConfidentialAsset/index.ts index 3236efbda3..a23f4d3f23 100644 --- a/src/api/entities/confidential/ConfidentialAsset/index.ts +++ b/src/api/entities/confidential/ConfidentialAsset/index.ts @@ -1,5 +1,8 @@ -import { Context, Entity, Identity } from '~/internal'; -import { ConfidentialAssetDetails } from '~/types'; +import { PalletConfidentialAssetConfidentialAssetDetails } from '@polkadot/types/lookup'; +import { Option } from '@polkadot/types-codec'; + +import { Context, Entity, Identity, PolymeshError } from '~/internal'; +import { ConfidentialAssetDetails, ErrorCode } from '~/types'; import { bytesToString, identityIdToString, @@ -52,12 +55,13 @@ export class ConfidentialAsset extends Entity { } /** - * Retrieve confidential Asset's details + * @hidden */ - public async details(): Promise { + private async getDetailsFromChain(): Promise< + Option + > { const { id, - context, context: { polymeshApi: { query: { confidentialAsset }, @@ -66,13 +70,25 @@ export class ConfidentialAsset extends Entity { } = this; const rawAssetId = serializeConfidentialAssetId(id); - const details = await confidentialAsset.details(rawAssetId); - if (details.isNone) { - return null; + return confidentialAsset.details(rawAssetId); + } + + /** + * Retrieve the confidential Asset's details + */ + public async details(): Promise { + const { context } = this; + const assetDetails = await this.getDetailsFromChain(); + + if (assetDetails.isNone) { + throw new PolymeshError({ + code: ErrorCode.DataUnavailable, + message: 'The Confidential Asset does not exists', + }); } - const { data, ticker, ownerDid, totalSupply } = details.unwrap(); + const { data, ticker, ownerDid, totalSupply } = assetDetails.unwrap(); return { ticker: ticker.isNone ? undefined : tickerToString(ticker.unwrap()), @@ -86,12 +102,12 @@ export class ConfidentialAsset extends Entity { * Determine whether this confidential Asset exists on chain */ public async exists(): Promise { - const details = await this.details(); - return details !== null; + const details = await this.getDetailsFromChain(); + return details.isSome; } /** - * Return the confidential Asset's GUID + * Return the confidential Asset's ID */ public toHuman(): string { return this.id; diff --git a/src/api/entities/confidential/ConfidentialAsset/types.ts b/src/api/entities/confidential/ConfidentialAsset/types.ts index 902bd8c104..bfdcebd8b7 100644 --- a/src/api/entities/confidential/ConfidentialAsset/types.ts +++ b/src/api/entities/confidential/ConfidentialAsset/types.ts @@ -3,8 +3,11 @@ import BigNumber from 'bignumber.js'; import { Identity } from '~/internal'; export interface ConfidentialAssetDetails { - ticker?: string; owner: Identity; - data: string; totalSupply: BigNumber; + data: string; + /** + * optional ticker value if provided while creating the confidential Asset + */ + ticker?: string; } diff --git a/src/api/entities/confidential/__tests__/ConfidentialAsset/index.ts b/src/api/entities/confidential/__tests__/ConfidentialAsset/index.ts index 7603235de2..1d473d58fd 100644 --- a/src/api/entities/confidential/__tests__/ConfidentialAsset/index.ts +++ b/src/api/entities/confidential/__tests__/ConfidentialAsset/index.ts @@ -1,15 +1,22 @@ import BigNumber from 'bignumber.js'; import { when } from 'jest-when'; -import { ConfidentialAsset, Context, Entity } from '~/internal'; +import { ConfidentialAsset, Context, Entity, PolymeshError } from '~/internal'; import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; +import { ErrorCode } from '~/types'; import * as utilsConversionModule from '~/utils/conversion'; describe('ConfidentialAsset class', () => { + let assetId: string; let id: string; - let guid: string; let confidentialAsset: ConfidentialAsset; let context: Context; + const assetDetails = { + totalSupply: new BigNumber(100), + data: 'SOME_DATA', + ownerDid: 'SOME_DID', + }; + let detailsQueryMock: jest.Mock; beforeAll(() => { dsMockUtils.initMocks(); @@ -18,10 +25,20 @@ describe('ConfidentialAsset class', () => { }); beforeEach(() => { - id = '76702175d8cbe3a55a19734433351e25'; - guid = '76702175-d8cb-e3a5-5a19-734433351e25'; + assetId = '76702175d8cbe3a55a19734433351e25'; + id = '76702175-d8cb-e3a5-5a19-734433351e25'; context = dsMockUtils.getContextInstance(); - confidentialAsset = new ConfidentialAsset({ id }, context); + confidentialAsset = new ConfidentialAsset({ id: assetId }, context); + detailsQueryMock = dsMockUtils.createQueryMock('confidentialAsset', 'details'); + + detailsQueryMock.mockResolvedValue( + dsMockUtils.createMockOption( + dsMockUtils.createMockConfidentialAssetDetails({ + ...assetDetails, + ticker: dsMockUtils.createMockOption(), + }) + ) + ); }); afterEach(() => { @@ -39,7 +56,7 @@ describe('ConfidentialAsset class', () => { describe('constructor', () => { it('should assign ID to instance', () => { - expect(confidentialAsset.id).toBe(guid); + expect(confidentialAsset.id).toBe(id); }); }); @@ -54,17 +71,10 @@ describe('ConfidentialAsset class', () => { }); describe('method: details', () => { - let detailsQueryMock: jest.Mock; let u128ToBigNumberSpy: jest.SpyInstance; let bytesToStringSpy: jest.SpyInstance; let identityIdToStringSpy: jest.SpyInstance; - const assetDetails = { - totalSupply: new BigNumber(100), - data: 'SOME_DATA', - ownerDid: 'SOME_DID', - }; - beforeAll(() => { u128ToBigNumberSpy = jest.spyOn(utilsConversionModule, 'u128ToBigNumber'); bytesToStringSpy = jest.spyOn(utilsConversionModule, 'bytesToString'); @@ -72,7 +82,6 @@ describe('ConfidentialAsset class', () => { }); beforeEach(() => { - detailsQueryMock = dsMockUtils.createQueryMock('confidentialAsset', 'details'); when(bytesToStringSpy).calledWith(assetDetails.data).mockReturnValue(assetDetails.data); when(u128ToBigNumberSpy) .calledWith(assetDetails.totalSupply) @@ -82,22 +91,7 @@ describe('ConfidentialAsset class', () => { .mockReturnValue(assetDetails.ownerDid); }); - it('should return null if confidential Asset does not exists', async () => { - detailsQueryMock.mockResolvedValueOnce(dsMockUtils.createMockOption()); - const result = await confidentialAsset.details(); - - expect(result).toBe(null); - }); - it('should return the basic details of the confidential Asset', async () => { - detailsQueryMock.mockResolvedValueOnce( - dsMockUtils.createMockOption( - dsMockUtils.createMockConfidentialAssetDetails({ - ...assetDetails, - ticker: dsMockUtils.createMockOption(), - }) - ) - ); const expectedAssetDetails = { data: assetDetails.data, owner: expect.objectContaining({ @@ -129,24 +123,24 @@ describe('ConfidentialAsset class', () => { }) ); }); + + it('should throw an error if confidential Asset details are not available', async () => { + const expectedError = new PolymeshError({ + code: ErrorCode.DataUnavailable, + message: 'The Confidential Asset does not exists', + }); + detailsQueryMock.mockResolvedValue(dsMockUtils.createMockOption()); + await expect(confidentialAsset.details()).rejects.toThrow(expectedError); + }); }); describe('method: exists', () => { it('should return if Confidential Asset exists', async () => { - const detailsSpy = jest.spyOn(confidentialAsset, 'details'); - - detailsSpy.mockResolvedValueOnce({ - owner: entityMockUtils.getIdentityInstance(), - totalSupply: new BigNumber(100), - data: 'SOME_DATA', - ticker: 'SOME_TICKER', - }); - let result = await confidentialAsset.exists(); expect(result).toBeTruthy(); - detailsSpy.mockResolvedValueOnce(null); + detailsQueryMock.mockResolvedValue(dsMockUtils.createMockOption()); result = await confidentialAsset.exists(); @@ -156,7 +150,7 @@ describe('ConfidentialAsset class', () => { describe('method: toHuman', () => { it('should return a human readable version of the entity', () => { - expect(confidentialAsset.toHuman()).toBe(guid); + expect(confidentialAsset.toHuman()).toBe(id); }); }); }); diff --git a/src/utils/internal.ts b/src/utils/internal.ts index c8e87b289b..b5ce148a87 100644 --- a/src/utils/internal.ts +++ b/src/utils/internal.ts @@ -23,7 +23,6 @@ import { AnyFunction, AnyTuple, IEvent, ISubmittableResult } from '@polkadot/typ import { stringUpperFirst } from '@polkadot/util'; import { decodeAddress, encodeAddress } from '@polkadot/util-crypto'; import BigNumber from 'bignumber.js'; -import { Guid } from 'guid-typescript'; import stringify from 'json-stable-stringify'; import { differenceWith, flatMap, isEqual, mapValues, noop, padEnd, uniq } from 'lodash'; import { coerce, lt, major, satisfies } from 'semver'; @@ -1907,7 +1906,9 @@ export function assertCaAssetValid(id: string): string { )}-${id.substring(20)}`; } - if (Guid.validator.test(guid)) { + const guidRegex = + /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/i; + if (guidRegex.test(guid)) { return guid; } } diff --git a/yarn.lock b/yarn.lock index 7680c3b09f..9467a7bb65 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6124,11 +6124,6 @@ graphql@^16.8.0: resolved "https://registry.yarnpkg.com/graphql/-/graphql-16.8.1.tgz#1930a965bef1170603702acdb68aedd3f3cf6f07" integrity sha512-59LZHPdGZVh695Ud9lRzPBVTtlX9ZCV150Er2W43ro37wVof0ctenSaskPPjN7lVTIN8mSZt8PHUNKZuNQUuxw== -guid-typescript@^1.0.9: - version "1.0.9" - resolved "https://registry.yarnpkg.com/guid-typescript/-/guid-typescript-1.0.9.tgz#e35f77003535b0297ea08548f5ace6adb1480ddc" - integrity sha512-Y8T4vYhEfwJOTbouREvG+3XDsjr8E3kIr7uf+JZ0BYloFsttiHU0WfvANVsR7TxNUJa/WpCnw/Ino/p+DeBhBQ== - handle-thing@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/handle-thing/-/handle-thing-2.0.1.tgz#857f79ce359580c340d43081cc648970d0bb234e" From b62837be12f1a6abde88c5ae0e4b9ae2f5a632d4 Mon Sep 17 00:00:00 2001 From: Prashant Bajpai Date: Fri, 12 Jan 2024 16:57:37 +0530 Subject: [PATCH 033/120] =?UTF-8?q?docs:=20=E2=9C=8F=EF=B8=8F=20Remove=20u?= =?UTF-8?q?se=20of=20guid=20from=20CA=20docs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../confidential/ConfidentialAsset/index.ts | 6 +++--- src/utils/internal.ts | 16 ++++++++-------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/api/entities/confidential/ConfidentialAsset/index.ts b/src/api/entities/confidential/ConfidentialAsset/index.ts index a23f4d3f23..e2d7db7098 100644 --- a/src/api/entities/confidential/ConfidentialAsset/index.ts +++ b/src/api/entities/confidential/ConfidentialAsset/index.ts @@ -17,9 +17,9 @@ import { assertCaAssetValid } from '~/utils/internal'; */ export interface UniqueIdentifiers { /** - * GUID of the asset + * ID of the asset * - * @note the value can either be a valid guid like `76702175-d8cb-e3a5-5a19-734433351e26` or can be a string representing the guid without the `-` like `76702175d8cbe3a55a19734433351e26` + * @note the value can either be a valid asset ID like `76702175-d8cb-e3a5-5a19-734433351e26` or can be a string representing the asset ID without the `-` like `76702175d8cbe3a55a19734433351e26` */ id: string; } @@ -29,7 +29,7 @@ export interface UniqueIdentifiers { */ export class ConfidentialAsset extends Entity { /** - * GUID of the Confidential Asset + * ID of the Confidential Asset */ public id: string; diff --git a/src/utils/internal.ts b/src/utils/internal.ts index b5ce148a87..7294500b9d 100644 --- a/src/utils/internal.ts +++ b/src/utils/internal.ts @@ -1897,19 +1897,19 @@ export function areSameClaims( */ export function assertCaAssetValid(id: string): string { if (id.length >= 32) { - let guid = id; + let assetId = id; if (id.length === 32) { - guid = `${id.substring(0, 8)}-${id.substring(8, 12)}-${id.substring(12, 16)}-${id.substring( - 16, - 20 - )}-${id.substring(20)}`; + assetId = `${id.substring(0, 8)}-${id.substring(8, 12)}-${id.substring( + 12, + 16 + )}-${id.substring(16, 20)}-${id.substring(20)}`; } - const guidRegex = + const assetIdRegex = /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/i; - if (guidRegex.test(guid)) { - return guid; + if (assetIdRegex.test(assetId)) { + return assetId; } } From babe01e348541c825b1c3cabeb918238d4fb9513 Mon Sep 17 00:00:00 2001 From: Prashant Bajpai Date: Fri, 12 Jan 2024 22:57:02 +0530 Subject: [PATCH 034/120] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20Add=20entities?= =?UTF-8?q?=20to=20manage=20confidential=20venue=20&=20transaction?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ConfidentialTransaction/index.ts | 68 ++++++++++ .../confidential/ConfidentialVenue/index.ts | 98 ++++++++++++++ .../ConfidentialTransaction/index.ts | 79 +++++++++++ .../__tests__/ConfidentialVenue/index.ts | 123 ++++++++++++++++++ src/api/entities/types.ts | 4 + src/internal.ts | 2 + src/testUtils/mocks/entities.ts | 84 ++++++++++++ 7 files changed, 458 insertions(+) create mode 100644 src/api/entities/confidential/ConfidentialTransaction/index.ts create mode 100644 src/api/entities/confidential/ConfidentialVenue/index.ts create mode 100644 src/api/entities/confidential/__tests__/ConfidentialTransaction/index.ts create mode 100644 src/api/entities/confidential/__tests__/ConfidentialVenue/index.ts diff --git a/src/api/entities/confidential/ConfidentialTransaction/index.ts b/src/api/entities/confidential/ConfidentialTransaction/index.ts new file mode 100644 index 0000000000..dda7cf2319 --- /dev/null +++ b/src/api/entities/confidential/ConfidentialTransaction/index.ts @@ -0,0 +1,68 @@ +import BigNumber from 'bignumber.js'; + +import { Context, Entity } from '~/internal'; +import { u64ToBigNumber } from '~/utils/conversion'; + +export interface UniqueIdentifiers { + id: BigNumber; +} + +/** + * Represents a confidential Asset Transaction to be executed on a certain Venue + */ +export class ConfidentialTransaction extends Entity { + /** + * @hidden + * Check if a value is of type {@link UniqueIdentifiers} + */ + public static override isUniqueIdentifiers(identifier: unknown): identifier is UniqueIdentifiers { + const { id } = identifier as UniqueIdentifiers; + + return id instanceof BigNumber; + } + + /** + * Unique identifier number of the settlement transaction + */ + public id: BigNumber; + + /** + * @hidden + */ + public constructor(identifiers: UniqueIdentifiers, context: Context) { + super(identifiers, context); + + const { id } = identifiers; + + this.id = id; + } + + /** + * Determine whether this settlement Transaction exists on chain (or existed and was pruned) + */ + public async exists(): Promise { + const { + context: { + polymeshApi: { + query: { confidentialAsset }, + }, + }, + id, + } = this; + + if (id.lte(new BigNumber(0))) { + return false; + } + + const transactionCounter = await confidentialAsset.transactionCounter(); + + return id.lte(u64ToBigNumber(transactionCounter.unwrap())); + } + + /** + * Return the settlement Transaction's ID + */ + public toHuman(): string { + return this.id.toString(); + } +} diff --git a/src/api/entities/confidential/ConfidentialVenue/index.ts b/src/api/entities/confidential/ConfidentialVenue/index.ts new file mode 100644 index 0000000000..eed3bea2ae --- /dev/null +++ b/src/api/entities/confidential/ConfidentialVenue/index.ts @@ -0,0 +1,98 @@ +import BigNumber from 'bignumber.js'; + +import { Context, Entity, Identity, PolymeshError } from '~/internal'; +import { ErrorCode } from '~/types'; +import { bigNumberToU64, identityIdToString, u64ToBigNumber } from '~/utils/conversion'; + +export interface UniqueIdentifiers { + id: BigNumber; +} + +/** + * Represents a Venue through which confidential transactions are handled + */ +export class ConfidentialVenue extends Entity { + /** + * @hidden + * Check if a value is of type {@link UniqueIdentifiers} + */ + public static override isUniqueIdentifiers(identifier: unknown): identifier is UniqueIdentifiers { + const { id } = identifier as UniqueIdentifiers; + + return id instanceof BigNumber; + } + + /** + * identifier number of the confidential Venue + */ + public id: BigNumber; + + /** + * @hidden + */ + public constructor(identifiers: UniqueIdentifiers, context: Context) { + super(identifiers, context); + + const { id } = identifiers; + + this.id = id; + } + + /** + * Determine whether this confidential Venue exists on chain + */ + public async exists(): Promise { + const { + context: { + polymeshApi: { + query: { confidentialAsset }, + }, + }, + id, + } = this; + + if (id.lte(new BigNumber(0))) { + return false; + } + + const rawCounter = await confidentialAsset.venueCounter(); + + const nextVenue = u64ToBigNumber(rawCounter); + + return id.lt(nextVenue); + } + + /** + * Retrieve the creator of this confidential Venue + */ + public async creator(): Promise { + const { + context: { + polymeshApi: { + query: { confidentialAsset }, + }, + }, + id, + context, + } = this; + + const rawId = bigNumberToU64(id, context); + const creator = await confidentialAsset.venueCreator(rawId); + + if (creator.isNone) { + throw new PolymeshError({ + code: ErrorCode.DataUnavailable, + message: 'The Venue does not exists', + }); + } + + return new Identity({ did: identityIdToString(creator.unwrap()) }, context); + } + + /** + * Return the confidential Venue's ID + */ + public toHuman(): string { + return this.id.toString(); + } +} diff --git a/src/api/entities/confidential/__tests__/ConfidentialTransaction/index.ts b/src/api/entities/confidential/__tests__/ConfidentialTransaction/index.ts new file mode 100644 index 0000000000..e684199642 --- /dev/null +++ b/src/api/entities/confidential/__tests__/ConfidentialTransaction/index.ts @@ -0,0 +1,79 @@ +import BigNumber from 'bignumber.js'; + +import { ConfidentialTransaction, Context, Entity } from '~/internal'; +import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; +import { Mocked } from '~/testUtils/types'; + +describe('ConfidentialTransaction class', () => { + let context: Mocked; + let transaction: ConfidentialTransaction; + let id: BigNumber; + + beforeAll(() => { + dsMockUtils.initMocks(); + entityMockUtils.initMocks(); + procedureMockUtils.initMocks(); + + id = new BigNumber(1); + }); + + beforeEach(() => { + context = dsMockUtils.getContextInstance(); + transaction = new ConfidentialTransaction({ id }, context); + }); + + afterEach(() => { + dsMockUtils.reset(); + entityMockUtils.reset(); + procedureMockUtils.reset(); + }); + + afterAll(() => { + dsMockUtils.cleanup(); + procedureMockUtils.cleanup(); + }); + + it('should extend Entity', () => { + expect(ConfidentialTransaction.prototype instanceof Entity).toBe(true); + }); + + describe('method: isUniqueIdentifiers', () => { + it('should return true if the object conforms to the interface', () => { + expect(ConfidentialTransaction.isUniqueIdentifiers({ id: new BigNumber(1) })).toBe(true); + expect(ConfidentialTransaction.isUniqueIdentifiers({})).toBe(false); + expect(ConfidentialTransaction.isUniqueIdentifiers({ id: 3 })).toBe(false); + }); + }); + + describe('method: exists', () => { + it('should return whether the instruction exists', async () => { + dsMockUtils + .createQueryMock('confidentialAsset', 'transactionCounter') + .mockResolvedValue( + dsMockUtils.createMockCompact(dsMockUtils.createMockU64(new BigNumber(10))) + ); + + let result = await transaction.exists(); + + expect(result).toBe(true); + + let fakeTransaction = new ConfidentialTransaction({ id: new BigNumber(0) }, context); + + result = await fakeTransaction.exists(); + + expect(result).toBe(false); + + fakeTransaction = new ConfidentialTransaction({ id: new BigNumber(20) }, context); + + result = await fakeTransaction.exists(); + + expect(result).toBe(false); + }); + }); + + describe('method: toHuman', () => { + it('should return a human readable version of the entity', () => { + expect(transaction.toHuman()).toBe('1'); + }); + }); +}); diff --git a/src/api/entities/confidential/__tests__/ConfidentialVenue/index.ts b/src/api/entities/confidential/__tests__/ConfidentialVenue/index.ts new file mode 100644 index 0000000000..8434b2c307 --- /dev/null +++ b/src/api/entities/confidential/__tests__/ConfidentialVenue/index.ts @@ -0,0 +1,123 @@ +import { u64 } from '@polkadot/types'; +import BigNumber from 'bignumber.js'; +import { when } from 'jest-when'; + +import { ConfidentialVenue, Context, Entity, PolymeshError } from '~/internal'; +import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; +import { Mocked } from '~/testUtils/types'; +import { ErrorCode } from '~/types'; +import * as utilsConversionModule from '~/utils/conversion'; + +describe('ConfidentialVenue class', () => { + let context: Mocked; + let venue: ConfidentialVenue; + + let id: BigNumber; + + let rawId: u64; + let bigNumberToU64Spy: jest.SpyInstance; + + beforeAll(() => { + dsMockUtils.initMocks(); + entityMockUtils.initMocks(); + procedureMockUtils.initMocks(); + + id = new BigNumber(5); + rawId = dsMockUtils.createMockU64(id); + + bigNumberToU64Spy = jest.spyOn(utilsConversionModule, 'bigNumberToU64'); + }); + + beforeEach(() => { + context = dsMockUtils.getContextInstance(); + venue = new ConfidentialVenue({ id }, context); + + when(bigNumberToU64Spy).calledWith(id, context).mockReturnValue(rawId); + }); + + afterEach(() => { + dsMockUtils.reset(); + entityMockUtils.reset(); + procedureMockUtils.reset(); + }); + + afterAll(() => { + dsMockUtils.cleanup(); + procedureMockUtils.cleanup(); + }); + + it('should extend Entity', () => { + expect(ConfidentialVenue.prototype instanceof Entity).toBe(true); + }); + + describe('method: isUniqueIdentifiers', () => { + it('should return true if the object conforms to the interface', () => { + expect(ConfidentialVenue.isUniqueIdentifiers({ id: new BigNumber(1) })).toBe(true); + expect(ConfidentialVenue.isUniqueIdentifiers({})).toBe(false); + expect(ConfidentialVenue.isUniqueIdentifiers({ id: 3 })).toBe(false); + }); + }); + + describe('method: exists', () => { + afterAll(() => { + jest.restoreAllMocks(); + }); + + it('should return whether if the venue exists or not', async () => { + const venueCounterMock = dsMockUtils.createQueryMock('confidentialAsset', 'venueCounter'); + venueCounterMock.mockResolvedValueOnce(dsMockUtils.createMockU64(new BigNumber(6))); + + let result = await venue.exists(); + + expect(result).toEqual(true); + + venueCounterMock.mockResolvedValueOnce(dsMockUtils.createMockU64(new BigNumber(3))); + + result = await venue.exists(); + + expect(result).toEqual(false); + + const fakeVenue = new ConfidentialVenue({ id: new BigNumber(0) }, context); + + result = await fakeVenue.exists(); + + expect(result).toEqual(false); + }); + }); + + describe('method: creator', () => { + let venueCreatorMock: jest.Mock; + + beforeEach(() => { + venueCreatorMock = dsMockUtils.createQueryMock('confidentialAsset', 'venueCreator'); + venueCreatorMock.mockResolvedValue( + dsMockUtils.createMockOption(dsMockUtils.createMockIdentityId('someDid')) + ); + }); + + it('should return the creator of ConfidentialVenue', async () => { + const result = await venue.creator(); + + expect(result).toEqual(expect.objectContaining({ did: 'someDid' })); + }); + + it('should throw an error if no creator exists', async () => { + const expectedError = new PolymeshError({ + code: ErrorCode.DataUnavailable, + message: 'The Venue does not exists', + }); + + venueCreatorMock.mockResolvedValue(dsMockUtils.createMockOption()); + + await expect(venue.creator()).rejects.toThrow(expectedError); + }); + }); + + describe('method: toHuman', () => { + it('should return a human readable version of the entity', () => { + const venueEntity = new ConfidentialVenue({ id: new BigNumber(1) }, context); + + expect(venueEntity.toHuman()).toBe('1'); + }); + }); +}); diff --git a/src/api/entities/types.ts b/src/api/entities/types.ts index cb06810b4a..a55a23b377 100644 --- a/src/api/entities/types.ts +++ b/src/api/entities/types.ts @@ -5,6 +5,8 @@ import { CheckpointSchedule as CheckpointScheduleClass, ChildIdentity as ChildIdentityClass, ConfidentialAsset as ConfidentialAssetClass, + ConfidentialTransaction as ConfidentialTransactionClass, + ConfidentialVenue as ConfidentialVenueClass, CorporateAction as CorporateActionClass, CustomPermissionGroup as CustomPermissionGroupClass, DefaultPortfolio as DefaultPortfolioClass, @@ -41,6 +43,8 @@ export type Instruction = InstructionClass; export type KnownPermissionGroup = KnownPermissionGroupClass; export type NumberedPortfolio = NumberedPortfolioClass; export type ConfidentialAsset = ConfidentialAssetClass; +export type ConfidentialVenue = ConfidentialVenueClass; +export type ConfidentialTransaction = ConfidentialTransactionClass; export type FungibleAsset = FungibleAssetClass; export type Nft = NftClass; export type NftCollection = NftCollectionClass; diff --git a/src/internal.ts b/src/internal.ts index 033999e835..bd7d72dd8c 100644 --- a/src/internal.ts +++ b/src/internal.ts @@ -101,6 +101,8 @@ export { MultiSigProposal } from '~/api/entities/MultiSigProposal'; export { TickerReservation } from '~/api/entities/TickerReservation'; export { BaseAsset, FungibleAsset, NftCollection, Nft } from '~/api/entities/Asset'; export { ConfidentialAsset } from '~/api/entities/confidential/ConfidentialAsset'; +export { ConfidentialVenue } from '~/api/entities/confidential/ConfidentialVenue'; +export { ConfidentialTransaction } from '~/api/entities/confidential/ConfidentialTransaction'; export { MetadataEntry } from '~/api/entities/MetadataEntry'; export { registerMetadata } from '~/api/procedures/registerMetadata'; export { setMetadata } from '~/api/procedures/setMetadata'; diff --git a/src/testUtils/mocks/entities.ts b/src/testUtils/mocks/entities.ts index e178daa1b5..4eb70aa513 100644 --- a/src/testUtils/mocks/entities.ts +++ b/src/testUtils/mocks/entities.ts @@ -14,6 +14,8 @@ import { CheckpointSchedule, ChildIdentity, ConfidentialAsset, + ConfidentialTransaction, + ConfidentialVenue, CorporateAction, CustomPermissionGroup, DefaultPortfolio, @@ -368,6 +370,15 @@ interface ConfidentialAssetOptions extends EntityOptions { details?: EntityGetter; } +interface ConfidentialVenueOptions extends EntityOptions { + id?: BigNumber; + creator?: EntityGetter; +} + +interface ConfidentialTransactionOptions extends EntityOptions { + id?: BigNumber; +} + type MockOptions = { identityOptions?: IdentityOptions; childIdentityOptions?: ChildIdentityOptions; @@ -394,6 +405,8 @@ type MockOptions = { multiSigOptions?: MultiSigOptions; multiSigProposalOptions?: MultiSigProposalOptions; confidentialAssetOptions?: ConfidentialAssetOptions; + confidentialVenueOptions?: ConfidentialVenueOptions; + confidentialTransactionOptions?: ConfidentialTransactionOptions; }; type Class = new (...args: any[]) => T; @@ -2125,6 +2138,61 @@ const MockConfidentialAssetClass = createMockEntityClass( + class { + uuid!: string; + id!: BigNumber; + creator!: jest.Mock; + + /** + * @hidden + */ + public argsToOpts(...args: ConstructorParameters) { + return extractFromArgs(args, ['id']); + } + + /** + * @hidden + */ + public configure(opts: Required) { + this.uuid = 'confidentialVenue'; + this.id = opts.id; + this.creator = createEntityGetterMock(opts.creator); + } + }, + () => ({ + id: new BigNumber(1), + creator: getIdentityInstance(), + }), + ['ConfidentialVenue'] +); + +const MockConfidentialTransactionClass = createMockEntityClass( + class { + uuid!: string; + id!: BigNumber; + + /** + * @hidden + */ + public argsToOpts(...args: ConstructorParameters) { + return extractFromArgs(args, ['id']); + } + + /** + * @hidden + */ + public configure(opts: Required) { + this.uuid = 'confidentialTransaction'; + this.id = opts.id; + } + }, + () => ({ + id: new BigNumber(1), + }), + ['ConfidentialTransaction'] +); + export const mockIdentityModule = (path: string) => (): Record => ({ ...jest.requireActual(path), Identity: MockIdentityClass, @@ -2250,6 +2318,16 @@ export const mockConfidentialAssetModule = (path: string) => (): Record (): Record => ({ + ...jest.requireActual(path), + ConfidentialVenue: MockConfidentialVenueClass, +}); + +export const mockConfidentialTransactionModule = (path: string) => (): Record => ({ + ...jest.requireActual(path), + ConfidentialTransaction: MockConfidentialTransactionClass, +}); + /** * @hidden * @@ -2280,6 +2358,8 @@ export const initMocks = function (opts?: MockOptions): void { MockMultiSigClass.init(opts?.multiSigOptions); MockMultiSigProposalClass.init(opts?.multiSigProposalOptions); MockConfidentialAssetClass.init(opts?.confidentialAssetOptions); + MockConfidentialVenueClass.init(opts?.confidentialVenueOptions); + MockConfidentialTransactionClass.init(opts?.confidentialTransactionOptions); }; /** @@ -2313,6 +2393,8 @@ export const configureMocks = function (opts?: MockOptions): void { MockMultiSigClass.setOptions(opts?.multiSigOptions); MockMultiSigProposalClass.setOptions(opts?.multiSigProposalOptions); MockConfidentialAssetClass.setOptions(opts?.confidentialAssetOptions); + MockConfidentialVenueClass.setOptions(opts?.confidentialVenueOptions); + MockConfidentialTransactionClass.setOptions(opts?.confidentialTransactionOptions); }; /** @@ -2343,6 +2425,8 @@ export const reset = function (): void { MockMultiSigClass.resetOptions(); MockMultiSigProposalClass.resetOptions(); MockConfidentialAssetClass.resetOptions(); + MockConfidentialVenueClass.resetOptions(); + MockConfidentialTransactionClass.resetOptions(); }; /** From 5d24f4bd185cc52d6d0a0edbcd19ba462fadcb1b Mon Sep 17 00:00:00 2001 From: Prashant Bajpai Date: Fri, 12 Jan 2024 22:57:59 +0530 Subject: [PATCH 035/120] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20Add=20`Confident?= =?UTF-8?q?ialSettlements`=20namespace?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This namespace will manage all functionalities for venues and transactions of confidential Assets --- src/api/client/ConfidentialSettlements.ts | 60 +++++++++++ src/api/client/Polymesh.ts | 7 ++ .../__tests__/ConfidentialSettlements.ts | 99 +++++++++++++++++++ 3 files changed, 166 insertions(+) create mode 100644 src/api/client/ConfidentialSettlements.ts create mode 100644 src/api/client/__tests__/ConfidentialSettlements.ts diff --git a/src/api/client/ConfidentialSettlements.ts b/src/api/client/ConfidentialSettlements.ts new file mode 100644 index 0000000000..f9cf20103a --- /dev/null +++ b/src/api/client/ConfidentialSettlements.ts @@ -0,0 +1,60 @@ +import BigNumber from 'bignumber.js'; + +import { ConfidentialTransaction, ConfidentialVenue, Context, PolymeshError } from '~/internal'; +import { ErrorCode } from '~/types'; + +/** + * Handles all functionalities for venues and transactions of confidential Assets + */ +export class ConfidentialSettlements { + private context: Context; + + /** + * @hidden + */ + constructor(context: Context) { + this.context = context; + } + + /** + * Retrieve a confidential Venue by its ID + * + * @param args.id - identifier number of the confidential Venue + */ + public async getVenue(args: { id: BigNumber }): Promise { + const { context } = this; + + const venue = new ConfidentialVenue(args, context); + + const venueExists = await venue.exists(); + if (!venueExists) { + throw new PolymeshError({ + code: ErrorCode.DataUnavailable, + message: 'The confidential Venue does not exists', + }); + } + + return venue; + } + + /** + * Retrieve a settlement Transaction by its ID + * + * @param args.id - identifier number of the ConfidentialTransaction + */ + public async getTransaction(args: { id: BigNumber }): Promise { + const { context } = this; + + const transaction = new ConfidentialTransaction(args, context); + + const exists = await transaction.exists(); + if (!exists) { + throw new PolymeshError({ + code: ErrorCode.DataUnavailable, + message: 'The Transaction does not exists', + }); + } + + return transaction; + } +} diff --git a/src/api/client/Polymesh.ts b/src/api/client/Polymesh.ts index c08cb476ba..2316c29b1e 100644 --- a/src/api/client/Polymesh.ts +++ b/src/api/client/Polymesh.ts @@ -9,6 +9,7 @@ import { SigningManager } from '@polymeshassociation/signing-manager-types'; import fetch from 'cross-fetch'; import schema from 'polymesh-types/schema'; +import { ConfidentialSettlements } from '~/api/client/ConfidentialSettlements'; import { Account, Context, createTransactionBatch, Identity, PolymeshError } from '~/internal'; import { CreateTransactionBatchProcedureMethod, @@ -115,6 +116,11 @@ export class Polymesh { */ public confidentialAssets: ConfidentialAssets; + /** + * A set of methods for exchanging confidential Assets + */ + public confidentialSettlements: ConfidentialSettlements; + /** * @hidden */ @@ -128,6 +134,7 @@ export class Polymesh { this.identities = new Identities(context); this.assets = new Assets(context); this.confidentialAssets = new ConfidentialAssets(context); + this.confidentialSettlements = new ConfidentialSettlements(context); this.createTransactionBatch = createProcedureMethod( { diff --git a/src/api/client/__tests__/ConfidentialSettlements.ts b/src/api/client/__tests__/ConfidentialSettlements.ts new file mode 100644 index 0000000000..5781002f31 --- /dev/null +++ b/src/api/client/__tests__/ConfidentialSettlements.ts @@ -0,0 +1,99 @@ +import BigNumber from 'bignumber.js'; + +import { ConfidentialSettlements } from '~/api/client/ConfidentialSettlements'; +import { Context } from '~/internal'; +import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; +import { Mocked } from '~/testUtils/types'; + +jest.mock( + '~/api/entities/confidential/ConfidentialVenue', + require('~/testUtils/mocks/entities').mockConfidentialVenueModule( + '~/api/entities/confidential/ConfidentialVenue' + ) +); + +jest.mock( + '~/api/entities/confidential/ConfidentialTransaction', + require('~/testUtils/mocks/entities').mockConfidentialTransactionModule( + '~/api/entities/confidential/ConfidentialTransaction' + ) +); + +describe('ConfidentialSettlements Class', () => { + let context: Mocked; + let settlements: ConfidentialSettlements; + + beforeAll(() => { + dsMockUtils.initMocks(); + entityMockUtils.initMocks(); + procedureMockUtils.initMocks(); + }); + + beforeEach(() => { + context = dsMockUtils.getContextInstance(); + settlements = new ConfidentialSettlements(context); + }); + + afterEach(() => { + dsMockUtils.reset(); + entityMockUtils.reset(); + procedureMockUtils.reset(); + }); + + afterAll(() => { + dsMockUtils.cleanup(); + procedureMockUtils.cleanup(); + }); + + describe('method: getVenue', () => { + it('should return a confidential Venue by its id', async () => { + const venueId = new BigNumber(1); + + entityMockUtils.configureMocks({ + confidentialVenueOptions: { exists: true }, + }); + + const result = await settlements.getVenue({ id: venueId }); + + expect(result.id).toEqual(venueId); + }); + + it('should throw if the confidential Venue does not exist', async () => { + const venueId = new BigNumber(1); + + entityMockUtils.configureMocks({ + confidentialVenueOptions: { exists: false }, + }); + + return expect(settlements.getVenue({ id: venueId })).rejects.toThrow( + 'The confidential Venue does not exists' + ); + }); + }); + + describe('method: getInstruction', () => { + it('should return an Instruction by its id', async () => { + const transactionId = new BigNumber(1); + + entityMockUtils.configureMocks({ + confidentialTransactionOptions: { exists: true }, + }); + + const result = await settlements.getTransaction({ id: transactionId }); + + expect(result.id).toEqual(transactionId); + }); + + it('should throw if the Instruction does not exist', async () => { + const transactionId = new BigNumber(1); + + entityMockUtils.configureMocks({ + confidentialTransactionOptions: { exists: false }, + }); + + return expect(settlements.getTransaction({ id: transactionId })).rejects.toThrow( + 'The Transaction does not exists' + ); + }); + }); +}); From b8b9936861edef6c258b7ea2de38cabd46c6975e Mon Sep 17 00:00:00 2001 From: Eric Richardson Date: Fri, 12 Jan 2024 14:42:21 -0500 Subject: [PATCH 036/120] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20add=20type=20ann?= =?UTF-8?q?otations=20for=20`submitTransaction`=20return?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit previously it was `Record` --- src/api/client/Network.ts | 13 ++++++++----- src/types/index.ts | 6 ++++++ 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/src/api/client/Network.ts b/src/api/client/Network.ts index ccf8d0c00f..71e5cea85a 100644 --- a/src/api/client/Network.ts +++ b/src/api/client/Network.ts @@ -14,6 +14,7 @@ import { ProcedureMethod, ProtocolFees, SubCallback, + SubmissionDetails, TransactionPayload, TransferPolyxParams, TxTag, @@ -196,7 +197,7 @@ export class Network { public async submitTransaction( txPayload: TransactionPayload, signature: string - ): Promise> { + ): Promise { const { context } = this; const { method, payload } = txPayload; const transaction = context.polymeshApi.tx(method); @@ -214,8 +215,10 @@ export class Network { transaction.addSignature(payload.address, signature, payload); - const info: Record = { + const submissionDetails: SubmissionDetails = { + blockHash: '', transactionHash: transaction.hash.toString(), + transactionIndex: new BigNumber(0), }; return new Promise((resolve, reject) => { @@ -229,11 +232,11 @@ export class Network { if (receipt.isCompleted) { if (receipt.isInBlock) { const inBlockHash = status.asInBlock; - info.blockHash = hashToString(inBlockHash); + submissionDetails.blockHash = hashToString(inBlockHash); // we know that the index has to be set by the time the transaction is included in a block // eslint-disable-next-line @typescript-eslint/no-non-null-assertion - info.txIndex = new BigNumber(receipt.txIndex!); + submissionDetails.transactionIndex = new BigNumber(receipt.txIndex!); // if the extrinsic failed due to an on-chain error, we should handle it in a special way [extrinsicFailedEvent] = filterEventRecords(receipt, 'system', 'ExtrinsicFailed', true); @@ -265,7 +268,7 @@ export class Network { }); } else if (receipt.isFinalized) { finishing = Promise.all([unsubscribing]).then(() => { - resolve(info); + resolve(submissionDetails); }); } else if (receipt.isError) { reject(new PolymeshError({ code: ErrorCode.TransactionAborted })); diff --git a/src/types/index.ts b/src/types/index.ts index 107ef18028..238df1e663 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -403,6 +403,12 @@ export interface ClaimScope { ticker?: string; } +export interface SubmissionDetails { + blockHash: string; + transactionIndex: BigNumber; + transactionHash: string; +} + /** * @param IsDefault - whether the Identity is a default trusted claim issuer for an asset or just * for a specific compliance condition. Defaults to false From 9e0042850beb090ec76e9c0fc72b050917aae753 Mon Sep 17 00:00:00 2001 From: Toms Veidemanis Date: Thu, 21 Dec 2023 14:57:45 +0200 Subject: [PATCH 037/120] =?UTF-8?q?chore:=20=F0=9F=A4=96=20throw=20error?= =?UTF-8?q?=20if=20pending=20authorization?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../__tests__/attestPrimaryKeyRotation.ts | 18 +- .../__tests__/transferAssetOwnership.ts | 55 ++++- .../__tests__/transferTickerOwnership.ts | 53 ++++- .../procedures/attestPrimaryKeyRotation.ts | 37 ++- src/api/procedures/inviteAccount.ts | 24 +- src/api/procedures/setCustodian.ts | 42 ++-- src/api/procedures/transferAssetOwnership.ts | 26 ++- src/api/procedures/transferTickerOwnership.ts | 39 +++- src/utils/__tests__/internal.ts | 213 ++++++++++++++++++ src/utils/internal.ts | 79 +++++++ 10 files changed, 481 insertions(+), 105 deletions(-) diff --git a/src/api/procedures/__tests__/attestPrimaryKeyRotation.ts b/src/api/procedures/__tests__/attestPrimaryKeyRotation.ts index ce75b809cc..cdea492334 100644 --- a/src/api/procedures/__tests__/attestPrimaryKeyRotation.ts +++ b/src/api/procedures/__tests__/attestPrimaryKeyRotation.ts @@ -67,28 +67,12 @@ describe('attestPrimaryKeyRotation procedure', () => { it('should return an add authorization transaction spec', async () => { const expiry = new Date('1/1/2040'); - const receivedAuthorizations: AuthorizationRequest[] = [ - new AuthorizationRequest( - { - target: targetAccount, - issuer: entityMockUtils.getIdentityInstance(), - authId: new BigNumber(2), - expiry: null, - data: { - type: AuthorizationType.AttestPrimaryKeyRotation, - value: entityMockUtils.getIdentityInstance({ did: 'someOtherDid' }), - }, - }, - mockContext - ), - ]; - when(getReceivedMock) .calledWith({ type: AuthorizationType.AttestPrimaryKeyRotation, includeExpired: false, }) - .mockResolvedValue(receivedAuthorizations); + .mockResolvedValue([]); const rawSignatory = dsMockUtils.createMockSignatory({ Account: dsMockUtils.createMockAccountId('someAccountId'), diff --git a/src/api/procedures/__tests__/transferAssetOwnership.ts b/src/api/procedures/__tests__/transferAssetOwnership.ts index e0cbf8fef1..c1f4b21dab 100644 --- a/src/api/procedures/__tests__/transferAssetOwnership.ts +++ b/src/api/procedures/__tests__/transferAssetOwnership.ts @@ -15,10 +15,23 @@ import { import { AuthorizationRequest, Context } from '~/internal'; import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; import { Mocked } from '~/testUtils/types'; -import { Authorization, AuthorizationType, SignerType, SignerValue, TxTags } from '~/types'; +import { + Account, + Authorization, + AuthorizationType, + Identity, + SignerType, + SignerValue, + TxTags, +} from '~/types'; import { PolymeshTx } from '~/types/internal'; import * as utilsConversionModule from '~/utils/conversion'; +jest.mock( + '~/api/entities/Identity', + require('~/testUtils/mocks/entities').mockIdentityModule('~/api/entities/Identity') +); + jest.mock( '~/api/entities/Asset/Fungible', require('~/testUtils/mocks/entities').mockFungibleAssetModule('~/api/entities/Asset/Fungible') @@ -42,6 +55,8 @@ describe('transferAssetOwnership procedure', () => { let rawAuthorizationData: PolymeshPrimitivesAuthorizationAuthorizationData; let rawMoment: Moment; let args: Params; + let signerToStringSpy: jest.SpyInstance; + let target: Identity; beforeAll(() => { dsMockUtils.initMocks(); @@ -54,7 +69,7 @@ describe('transferAssetOwnership procedure', () => { ); dateToMomentSpy = jest.spyOn(utilsConversionModule, 'dateToMoment'); ticker = 'SOME_TICKER'; - did = 'someOtherDid'; + did = 'someDid'; expiry = new Date('10/14/3040'); rawSignatory = dsMockUtils.createMockSignatory({ Identity: dsMockUtils.createMockIdentityId(did), @@ -67,6 +82,8 @@ describe('transferAssetOwnership procedure', () => { ticker, target: did, }; + signerToStringSpy = jest.spyOn(utilsConversionModule, 'signerToString'); + target = entityMockUtils.getIdentityInstance({ did: args.target as string }); }); let transaction: PolymeshTx< @@ -82,6 +99,12 @@ describe('transferAssetOwnership procedure', () => { mockContext = dsMockUtils.getContextInstance(); + entityMockUtils.configureMocks({ + identityOptions: { + authorizationsGetReceived: [], + }, + }); + when(signerValueToSignatorySpy) .calledWith({ type: SignerType.Identity, value: did }, mockContext) .mockReturnValue(rawSignatory); @@ -89,6 +112,12 @@ describe('transferAssetOwnership procedure', () => { .calledWith({ type: AuthorizationType.TransferAssetOwnership, value: ticker }, mockContext) .mockReturnValue(rawAuthorizationData); when(dateToMomentSpy).calledWith(expiry, mockContext).mockReturnValue(rawMoment); + when(signerToStringSpy) + .calledWith(args.target) + .mockReturnValue(args.target as string); + when(signerToStringSpy) + .calledWith(target) + .mockReturnValue(args.target as string); }); afterEach(() => { @@ -102,6 +131,28 @@ describe('transferAssetOwnership procedure', () => { dsMockUtils.cleanup(); }); + it('should throw an error if has Pending Authorization', async () => { + entityMockUtils.configureMocks({ + identityOptions: { + authorizationsGetReceived: [ + entityMockUtils.getAuthorizationRequestInstance({ + target, + issuer: entityMockUtils.getIdentityInstance({ did }), + authId: new BigNumber(1), + expiry: null, + data: { type: AuthorizationType.TransferAssetOwnership, value: ticker }, + }), + ], + }, + }); + + const proc = procedureMockUtils.getInstance(mockContext); + + return expect(prepareTransferAssetOwnership.call(proc, args)).rejects.toThrow( + 'The target Identity already has a pending transfer Asset Ownership request' + ); + }); + it('should return an add authorization transaction spec', async () => { const proc = procedureMockUtils.getInstance(mockContext); diff --git a/src/api/procedures/__tests__/transferTickerOwnership.ts b/src/api/procedures/__tests__/transferTickerOwnership.ts index 9b4c3ab2c8..ee8a8e91d5 100644 --- a/src/api/procedures/__tests__/transferTickerOwnership.ts +++ b/src/api/procedures/__tests__/transferTickerOwnership.ts @@ -16,8 +16,10 @@ import { AuthorizationRequest, Context } from '~/internal'; import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; import { Mocked } from '~/testUtils/types'; import { + Account, Authorization, AuthorizationType, + Identity, RoleType, SignerType, SignerValue, @@ -27,6 +29,11 @@ import { import { PolymeshTx } from '~/types/internal'; import * as utilsConversionModule from '~/utils/conversion'; +jest.mock( + '~/api/entities/Identity', + require('~/testUtils/mocks/entities').mockIdentityModule('~/api/entities/Identity') +); + jest.mock( '~/api/entities/TickerReservation', require('~/testUtils/mocks/entities').mockTickerReservationModule( @@ -52,6 +59,8 @@ describe('transferTickerOwnership procedure', () => { let rawAuthorizationData: PolymeshPrimitivesAuthorizationAuthorizationData; let rawMoment: Moment; let args: Params; + let signerToStringSpy: jest.SpyInstance; + let target: Identity; beforeAll(() => { dsMockUtils.initMocks(); @@ -64,7 +73,7 @@ describe('transferTickerOwnership procedure', () => { ); dateToMomentSpy = jest.spyOn(utilsConversionModule, 'dateToMoment'); ticker = 'SOME_TICKER'; - did = 'someOtherDid'; + did = 'someDid'; expiry = new Date('10/14/3040'); rawSignatory = dsMockUtils.createMockSignatory({ Identity: dsMockUtils.createMockIdentityId(did), @@ -77,6 +86,7 @@ describe('transferTickerOwnership procedure', () => { ticker, target: did, }; + signerToStringSpy = jest.spyOn(utilsConversionModule, 'signerToString'); }); let transaction: PolymeshTx< @@ -89,16 +99,29 @@ describe('transferTickerOwnership procedure', () => { beforeEach(() => { transaction = dsMockUtils.createTxMock('identity', 'addAuthorization'); - mockContext = dsMockUtils.getContextInstance(); + target = entityMockUtils.getIdentityInstance({ did: args.target as string }); + + entityMockUtils.configureMocks({ + identityOptions: { + authorizationsGetReceived: [], + }, + }); when(signerValueToSignatorySpy) .calledWith({ type: SignerType.Identity, value: did }, mockContext) .mockReturnValue(rawSignatory); + when(authorizationToAuthorizationDataSpy) .calledWith({ type: AuthorizationType.TransferTicker, value: ticker }, mockContext) .mockReturnValue(rawAuthorizationData); when(dateToMomentSpy).calledWith(expiry, mockContext).mockReturnValue(rawMoment); + when(signerToStringSpy) + .calledWith(args.target) + .mockReturnValue(args.target as string); + when(signerToStringSpy) + .calledWith(target) + .mockReturnValue(args.target as string); }); afterEach(() => { @@ -112,6 +135,28 @@ describe('transferTickerOwnership procedure', () => { dsMockUtils.cleanup(); }); + it('should throw an error if there is a Pending Authorization', () => { + entityMockUtils.configureMocks({ + identityOptions: { + authorizationsGetReceived: [ + entityMockUtils.getAuthorizationRequestInstance({ + target, + issuer: entityMockUtils.getIdentityInstance({ did }), + authId: new BigNumber(1), + expiry: null, + data: { type: AuthorizationType.TransferTicker, value: ticker }, + }), + ], + }, + }); + + const proc = procedureMockUtils.getInstance(mockContext); + + return expect(prepareTransferTickerOwnership.call(proc, args)).rejects.toThrow( + 'The target Identity already has a pending Ticker Ownership transfer request' + ); + }); + it('should throw an error if an Asset with that ticker has already been launched', () => { entityMockUtils.configureMocks({ tickerReservationOptions: { @@ -121,7 +166,11 @@ describe('transferTickerOwnership procedure', () => { status: TickerReservationStatus.AssetCreated, }, }, + identityOptions: { + authorizationsGetReceived: [], + }, }); + const proc = procedureMockUtils.getInstance(mockContext); return expect(prepareTransferTickerOwnership.call(proc, args)).rejects.toThrow( diff --git a/src/api/procedures/attestPrimaryKeyRotation.ts b/src/api/procedures/attestPrimaryKeyRotation.ts index 3dfa0413c8..6c22db517c 100644 --- a/src/api/procedures/attestPrimaryKeyRotation.ts +++ b/src/api/procedures/attestPrimaryKeyRotation.ts @@ -1,12 +1,10 @@ import { createAuthorizationResolver } from '~/api/procedures/utils'; -import { PolymeshError, Procedure } from '~/internal'; +import { Procedure } from '~/internal'; import { - AttestPrimaryKeyRotationAuthorizationData, AttestPrimaryKeyRotationParams, Authorization, AuthorizationRequest, AuthorizationType, - ErrorCode, RoleType, TxTags, } from '~/types'; @@ -16,7 +14,7 @@ import { expiryToMoment, signerToSignatory, } from '~/utils/conversion'; -import { asAccount, asIdentity } from '~/utils/internal'; +import { asAccount, asIdentity, throwIfPendingAuthorizationExists } from '~/utils/internal'; /** * @hidden @@ -47,28 +45,21 @@ export async function prepareAttestPrimaryKeyRotation( includeExpired: false, }); - const pendingAuthorization = authorizationRequests.find(authorizationRequest => { - const { value } = authorizationRequest.data as AttestPrimaryKeyRotationAuthorizationData; - return value.did === targetIdentity.did; + const authorization: Authorization = { + type: AuthorizationType.AttestPrimaryKeyRotation, + value: targetIdentity, + }; + + throwIfPendingAuthorizationExists({ + authorizationRequests, + message: + 'The target Account already has a pending attestation to become the primary key of the target Identity', + authorization, }); - if (pendingAuthorization) { - throw new PolymeshError({ - code: ErrorCode.NoDataChange, - message: - 'The target Account already has a pending attestation to become the primary key of the target Identity', - data: { - pendingAuthorization, - }, - }); - } const rawSignatory = signerToSignatory(target, context); - const authRequest: Authorization = { - type: AuthorizationType.AttestPrimaryKeyRotation, - value: targetIdentity, - }; - const rawAuthorizationData = authorizationToAuthorizationData(authRequest, context); + const rawAuthorizationData = authorizationToAuthorizationData(authorization, context); const rawExpiry = expiryToMoment(expiry, context); @@ -76,7 +67,7 @@ export async function prepareAttestPrimaryKeyRotation( transaction: addAuthorization, args: [rawSignatory, rawAuthorizationData, rawExpiry], resolver: createAuthorizationResolver( - authRequest, + authorization, issuerIdentity, target, expiry ?? null, diff --git a/src/api/procedures/inviteAccount.ts b/src/api/procedures/inviteAccount.ts index bfa10c0fe3..af1a10e595 100644 --- a/src/api/procedures/inviteAccount.ts +++ b/src/api/procedures/inviteAccount.ts @@ -18,7 +18,7 @@ import { signerToString, signerValueToSignatory, } from '~/utils/conversion'; -import { asAccount, optionize } from '~/utils/internal'; +import { asAccount, optionize, throwIfPendingAuthorizationExists } from '~/utils/internal'; /** * @hidden @@ -54,25 +54,13 @@ export async function prepareInviteAccount( }); } - const hasPendingAuth = !!authorizationRequests.data.find(authorizationRequest => { - const { - target, - data: { type }, - } = authorizationRequest; - return ( - signerToString(target) === address && - !authorizationRequest.isExpired() && - type === AuthorizationType.JoinIdentity - ); + throwIfPendingAuthorizationExists({ + authorizationRequests: authorizationRequests.data, + target: address, + message: 'The target Account already has a pending invitation to join this Identity', + authorization: { type: AuthorizationType.JoinIdentity }, }); - if (hasPendingAuth) { - throw new PolymeshError({ - code: ErrorCode.NoDataChange, - message: 'The target Account already has a pending invitation to join this Identity', - }); - } - const rawSignatory = signerValueToSignatory( { type: SignerType.Account, value: address }, context diff --git a/src/api/procedures/setCustodian.ts b/src/api/procedures/setCustodian.ts index c5e941877d..1b40edab8c 100644 --- a/src/api/procedures/setCustodian.ts +++ b/src/api/procedures/setCustodian.ts @@ -1,18 +1,10 @@ import BigNumber from 'bignumber.js'; import { createAuthorizationResolver } from '~/api/procedures/utils'; -import { - AuthorizationRequest, - DefaultPortfolio, - Identity, - NumberedPortfolio, - PolymeshError, - Procedure, -} from '~/internal'; +import { AuthorizationRequest, Identity, Procedure } from '~/internal'; import { Authorization, AuthorizationType, - ErrorCode, PortfolioId, RoleType, SetCustodianParams, @@ -27,7 +19,7 @@ import { signerToString, signerValueToSignatory, } from '~/utils/conversion'; -import { optionize } from '~/utils/internal'; +import { optionize, throwIfPendingAuthorizationExists } from '~/utils/internal'; /** * @hidden @@ -65,34 +57,28 @@ export async function prepareSetCustodian( context.getSigningIdentity(), ]); - const hasPendingAuth = !!authorizationRequests.find(authorizationRequest => { - const { issuer, data } = authorizationRequest; - const authorizationData = data as { value: NumberedPortfolio | DefaultPortfolio }; - return signingIdentity.isEqual(issuer) && authorizationData.value.isEqual(portfolio); - }); + const authorization: Authorization = { + type: AuthorizationType.PortfolioCustody, + value: portfolio, + }; - if (hasPendingAuth) { - throw new PolymeshError({ - code: ErrorCode.NoDataChange, - message: - "The target Identity already has a pending invitation to be the Portfolio's custodian", - }); - } + throwIfPendingAuthorizationExists({ + authorizationRequests, + issuer: signingIdentity, + message: "The target Identity already has a pending invitation to be the Portfolio's custodian", + authorization, + }); const rawSignatory = signerValueToSignatory(signerToSignerValue(target), context); - const authRequest: Authorization = { - type: AuthorizationType.PortfolioCustody, - value: portfolio, - }; - const rawAuthorizationData = authorizationToAuthorizationData(authRequest, context); + const rawAuthorizationData = authorizationToAuthorizationData(authorization, context); const rawExpiry = optionize(dateToMoment)(expiry, context); return { transaction: identity.addAuthorization, resolver: createAuthorizationResolver( - authRequest, + authorization, issuerIdentity, target, expiry || null, diff --git a/src/api/procedures/transferAssetOwnership.ts b/src/api/procedures/transferAssetOwnership.ts index f29dcb2304..3a7d8236a1 100644 --- a/src/api/procedures/transferAssetOwnership.ts +++ b/src/api/procedures/transferAssetOwnership.ts @@ -1,5 +1,5 @@ import { createAuthorizationResolver } from '~/api/procedures/utils'; -import { AuthorizationRequest, FungibleAsset, Procedure } from '~/internal'; +import { AuthorizationRequest, FungibleAsset, Identity, Procedure } from '~/internal'; import { Authorization, AuthorizationType, @@ -14,7 +14,7 @@ import { signerToString, signerValueToSignatory, } from '~/utils/conversion'; -import { optionize } from '~/utils/internal'; +import { optionize, throwIfPendingAuthorizationExists } from '~/utils/internal'; /** * @hidden @@ -36,24 +36,38 @@ export async function prepareTransferAssetOwnership( } = this; const { ticker, target, expiry = null } = args; const issuer = await context.getSigningIdentity(); - const targetIdentity = await context.getIdentity(target); + const targetIdentity = + typeof target === 'string' ? new Identity({ did: target }, context) : target; + + const authorizationRequests = await targetIdentity.authorizations.getReceived({ + type: AuthorizationType.TransferAssetOwnership, + includeExpired: false, + }); const rawSignatory = signerValueToSignatory( { type: SignerType.Identity, value: signerToString(target) }, context ); - const authRequest: Authorization = { + const authorization: Authorization = { type: AuthorizationType.TransferAssetOwnership, value: ticker, }; - const rawAuthorizationData = authorizationToAuthorizationData(authRequest, context); + + throwIfPendingAuthorizationExists({ + authorizationRequests, + issuer, + message: 'The target Identity already has a pending transfer Asset Ownership request', + authorization, + }); + + const rawAuthorizationData = authorizationToAuthorizationData(authorization, context); const rawExpiry = optionize(dateToMoment)(expiry, context); return { transaction: tx.identity.addAuthorization, args: [rawSignatory, rawAuthorizationData, rawExpiry], - resolver: createAuthorizationResolver(authRequest, issuer, targetIdentity, expiry, context), + resolver: createAuthorizationResolver(authorization, issuer, targetIdentity, expiry, context), }; } diff --git a/src/api/procedures/transferTickerOwnership.ts b/src/api/procedures/transferTickerOwnership.ts index 5f9f618a0d..d561e42320 100644 --- a/src/api/procedures/transferTickerOwnership.ts +++ b/src/api/procedures/transferTickerOwnership.ts @@ -1,5 +1,11 @@ import { createAuthorizationResolver } from '~/api/procedures/utils'; -import { AuthorizationRequest, PolymeshError, Procedure, TickerReservation } from '~/internal'; +import { + AuthorizationRequest, + Identity, + PolymeshError, + Procedure, + TickerReservation, +} from '~/internal'; import { Authorization, AuthorizationType, @@ -17,7 +23,7 @@ import { signerToString, signerValueToSignatory, } from '~/utils/conversion'; -import { optionize } from '~/utils/internal'; +import { optionize, throwIfPendingAuthorizationExists } from '~/utils/internal'; /** * @hidden @@ -39,12 +45,30 @@ export async function prepareTransferTickerOwnership( } = this; const { ticker, target, expiry = null } = args; const issuer = await context.getSigningIdentity(); - const targetIdentity = await context.getIdentity(target); + const targetIdentity = + typeof target === 'string' ? new Identity({ did: target }, context) : target; + + const authorization: Authorization = { + type: AuthorizationType.TransferTicker, + value: ticker, + }; + + const authorizationRequests = await targetIdentity.authorizations.getReceived({ + type: AuthorizationType.TransferTicker, + includeExpired: false, + }); const tickerReservation = new TickerReservation({ ticker }, context); const { status } = await tickerReservation.details(); + throwIfPendingAuthorizationExists({ + authorizationRequests, + issuer, + message: 'The target Identity already has a pending Ticker Ownership transfer request', + authorization, + }); + if (status === TickerReservationStatus.AssetCreated) { throw new PolymeshError({ code: ErrorCode.UnmetPrerequisite, @@ -56,17 +80,14 @@ export async function prepareTransferTickerOwnership( { type: SignerType.Identity, value: signerToString(target) }, context ); - const authReq: Authorization = { - type: AuthorizationType.TransferTicker, - value: ticker, - }; - const rawAuthorizationData = authorizationToAuthorizationData(authReq, context); + + const rawAuthorizationData = authorizationToAuthorizationData(authorization, context); const rawExpiry = optionize(dateToMoment)(expiry, context); return { transaction: tx.identity.addAuthorization, args: [rawSignatory, rawAuthorizationData, rawExpiry], - resolver: createAuthorizationResolver(authReq, issuer, targetIdentity, expiry, context), + resolver: createAuthorizationResolver(authorization, issuer, targetIdentity, expiry, context), }; } diff --git a/src/utils/__tests__/internal.ts b/src/utils/__tests__/internal.ts index 349d0728a1..2ab1c58b75 100644 --- a/src/utils/__tests__/internal.ts +++ b/src/utils/__tests__/internal.ts @@ -34,6 +34,9 @@ import { MockWebSocket, } from '~/testUtils/mocks/dataSources'; import { + Authorization, + AuthorizationRequest, + AuthorizationType, CaCheckpointType, ClaimType, CountryCode, @@ -104,6 +107,7 @@ import { segmentEventsByTransaction, serialize, sliceBatchReceipt, + throwIfPendingAuthorizationExists, unserialize, } from '../internal'; @@ -2298,3 +2302,212 @@ describe('areSameClaims', () => { expect(result).toBeFalsy(); }); }); + +describe('throwIfPendingAuthorizationExists', () => { + let mockMessage: string; + let mockAuthorization: Partial; + let issuer: Identity; + let target: Identity; + let otherIssuer: Identity; + let otherTarget: Identity; + let authReqBase: Pick; + const ticker = 'TICKER'; + + beforeEach(() => { + // Initialize your mock data here + mockMessage = 'Test message'; + mockAuthorization = { type: AuthorizationType.TransferTicker }; // fill this object with mock Authorization data + issuer = entityMockUtils.getIdentityInstance({ did: 'issuer' }); // fill this object with mock Identity data + target = entityMockUtils.getIdentityInstance({ did: 'target' }); // or a mock Identity object + otherIssuer = entityMockUtils.getIdentityInstance({ did: 'otherIssuer' }); // or a mock Identity + otherTarget = entityMockUtils.getIdentityInstance({ did: 'otherTarget' }); // or a mock Identity + authReqBase = { + issuer, + target, + authId: new BigNumber(1), + expiry: null, + data: { type: AuthorizationType.TransferTicker, value: ticker }, + }; + }); + + it('should not throw an error if there are no authorization requests', () => { + expect(() => { + throwIfPendingAuthorizationExists({ + authorizationRequests: [], + message: mockMessage, + authorization: mockAuthorization, + issuer, + target, + }); + }).not.toThrow(); + }); + + it('should not throw an error if there are no pending authorizations', () => { + // Fill mockAuthorizationRequests with AuthorizationRequest objects that are not pending + + expect(() => { + throwIfPendingAuthorizationExists({ + authorizationRequests: [], + message: mockMessage, + authorization: mockAuthorization, + }); + }).not.toThrow(); + }); + + it('should not throw an error if the authorization has expired', () => { + // Fill mockAuthorizationRequests with AuthorizationRequest objects that are not pending + + expect(() => { + throwIfPendingAuthorizationExists({ + authorizationRequests: [ + entityMockUtils.getAuthorizationRequestInstance({ isExpired: true }), + ], + message: mockMessage, + authorization: mockAuthorization, + }); + }).not.toThrow(); + }); + + it('should not throw an error if the authorization is for other target', () => { + // Fill mockAuthorizationRequests with AuthorizationRequest objects that are not pending + + expect(() => { + throwIfPendingAuthorizationExists({ + authorizationRequests: [ + entityMockUtils.getAuthorizationRequestInstance({ + ...authReqBase, + target: otherTarget, + }), + ], + message: mockMessage, + authorization: mockAuthorization, + target, + }); + }).not.toThrow(); + }); + + it('should not throw an error if the authorization is by other issuer', () => { + // Fill mockAuthorizationRequests with AuthorizationRequest objects that are not pending + + expect(() => { + throwIfPendingAuthorizationExists({ + authorizationRequests: [entityMockUtils.getAuthorizationRequestInstance(authReqBase)], + message: mockMessage, + authorization: mockAuthorization, + issuer: otherIssuer, + }); + }).not.toThrow(); + }); + + it('should not throw an error if the authorization of other type', () => { + // Fill mockAuthorizationRequests with AuthorizationRequest objects that are not pending + + expect(() => { + throwIfPendingAuthorizationExists({ + authorizationRequests: [ + entityMockUtils.getAuthorizationRequestInstance({ + ...authReqBase, + data: { type: AuthorizationType.TransferAssetOwnership, value: ticker }, + }), + ], + message: mockMessage, + authorization: mockAuthorization, + }); + }).not.toThrow(); + }); + + it('should not throw an error if the authorization is AuthorizationType.PortfolioCustody and for different Portfolio', () => { + // Fill mockAuthorizationRequests with AuthorizationRequest objects that are not pending + + expect(() => { + throwIfPendingAuthorizationExists({ + authorizationRequests: [ + entityMockUtils.getAuthorizationRequestInstance({ + ...authReqBase, + data: { + type: AuthorizationType.PortfolioCustody, + value: entityMockUtils.getDefaultPortfolioInstance({ isEqual: false }), + }, + }), + ], + message: mockMessage, + authorization: { + type: AuthorizationType.PortfolioCustody, + value: entityMockUtils.getDefaultPortfolioInstance(), + }, + }); + }).not.toThrow(); + }); + + it('should not throw an error if the authorization is AuthorizationType.AttestPrimaryKeyRotation and for different Portfolio', () => { + // Fill mockAuthorizationRequests with AuthorizationRequest objects that are not pending + + expect(() => { + throwIfPendingAuthorizationExists({ + authorizationRequests: [ + entityMockUtils.getAuthorizationRequestInstance({ + target, + issuer, + authId: new BigNumber(1), + expiry: null, + data: { + type: AuthorizationType.AttestPrimaryKeyRotation, + value: entityMockUtils.getIdentityInstance({ isEqual: false }), + }, + }), + ], + message: mockMessage, + authorization: { type: AuthorizationType.AttestPrimaryKeyRotation, value: target }, + }); + }).not.toThrow(); + }); + + it('should not throw an error if the authorization value is not equal', () => { + // Fill mockAuthorizationRequests with AuthorizationRequest objects that are not pending + + expect(() => { + throwIfPendingAuthorizationExists({ + authorizationRequests: [ + entityMockUtils.getAuthorizationRequestInstance({ + ...authReqBase, + data: { type: AuthorizationType.TransferTicker, value: 'ticker' }, + }), + ], + message: mockMessage, + authorization: { type: AuthorizationType.TransferTicker, value: 'otherTicker' }, + }); + }).not.toThrow(); + }); + + it('should throw a PolymeshError if there is a pending authorization', () => { + // Fill mockAuthorizationRequests with at least one AuthorizationRequest object that is pending + + expect(() => { + throwIfPendingAuthorizationExists({ + authorizationRequests: [entityMockUtils.getAuthorizationRequestInstance(authReqBase)], + message: mockMessage, + authorization: mockAuthorization, + issuer, + target, + }); + }).toThrow(PolymeshError); + }); + + it('should throw a PolymeshError with the correct message and error code', () => { + // Fill mockAuthorizationRequests with at least one AuthorizationRequest object that is pending + + try { + throwIfPendingAuthorizationExists({ + authorizationRequests: [entityMockUtils.getAuthorizationRequestInstance(authReqBase)], + message: mockMessage, + authorization: mockAuthorization, + issuer, + target, + }); + } catch (error) { + expect(error).toBeInstanceOf(PolymeshError); + expect(error.message).toBe(mockMessage); + expect(error.code).toBe(ErrorCode.NoDataChange); + } + }); +}); diff --git a/src/utils/internal.ts b/src/utils/internal.ts index 555cdb46f7..64ed0e366e 100644 --- a/src/utils/internal.ts +++ b/src/utils/internal.ts @@ -45,19 +45,26 @@ import { latestSqVersionQuery } from '~/middleware/queries'; import { Claim as MiddlewareClaim, ClaimTypeEnum, Query } from '~/middleware/types'; import { MiddlewareScope } from '~/middleware/typesV1'; import { + AttestPrimaryKeyRotationAuthorizationData, + Authorization, + AuthorizationRequest, + AuthorizationType, CaCheckpointType, Claim, ClaimType, Condition, ConditionType, CountryCode, + DefaultPortfolio, ErrorCode, + GenericAuthorizationData, GenericPolymeshTransaction, InputCaCheckpoint, InputCondition, ModuleName, NextKey, NoArgsProcedureMethod, + NumberedPortfolio, OptionalArgsProcedureMethod, PaginationOptions, PermissionedAccount, @@ -1891,3 +1898,75 @@ export function areSameClaims( return ClaimType[type] === claim.type; } + +/** + * @hidden + */ +export function throwIfPendingAuthorizationExists(params: { + authorizationRequests: AuthorizationRequest[]; + message: string; + authorization: Partial; + issuer?: Identity; + target?: string | Identity; +}): void { + const { + authorizationRequests, + message, + authorization, + target: targetToCheck, + issuer: issuerToCheck, + } = params; + + if (authorizationRequests.length === 0) { + return; + } + + const hasPendingAuth = !!authorizationRequests.find(authorizationRequest => { + const { issuer, target, data } = authorizationRequest; + + if (authorizationRequest.isExpired()) { + return false; + } + + if (targetToCheck && signerToString(target) !== signerToString(targetToCheck)) { + return false; + } + + if (issuerToCheck && signerToString(issuer) !== signerToString(issuerToCheck)) { + return false; + } + + if (authorization.type && data.type !== authorization.type) { + return false; + } + + if (authorization.type === AuthorizationType.PortfolioCustody && authorization.value) { + const authorizationData = data as { value: NumberedPortfolio | DefaultPortfolio }; + + return authorizationData.value.isEqual(authorization.value); + } + + if (authorization.type === AuthorizationType.AttestPrimaryKeyRotation && authorization.value) { + const authorizationData = data as AttestPrimaryKeyRotationAuthorizationData; + + return authorizationData.value.isEqual(authorization.value); + } + + // last checks for authorizations that have string values + const { value } = authorization as GenericAuthorizationData; + const { value: authorizationValue } = data as GenericAuthorizationData; + + if (value && value !== authorizationValue) { + return false; + } + + return true; + }); + + if (hasPendingAuth) { + throw new PolymeshError({ + code: ErrorCode.NoDataChange, + message, + }); + } +} From 790dc0a6d150b9ea517330f7f365f8ce54e8cd6b Mon Sep 17 00:00:00 2001 From: Toms Veidemanis Date: Fri, 22 Dec 2023 10:19:17 +0200 Subject: [PATCH 038/120] =?UTF-8?q?refactor:=20=F0=9F=92=A1=20pr=20comment?= =?UTF-8?q?s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../procedures/attestPrimaryKeyRotation.ts | 4 +- src/api/procedures/inviteAccount.ts | 4 +- src/api/procedures/setCustodian.ts | 4 +- src/api/procedures/transferAssetOwnership.ts | 9 ++- src/api/procedures/transferTickerOwnership.ts | 15 ++--- src/utils/__tests__/internal.ts | 67 ++++++------------- src/utils/internal.ts | 9 ++- 7 files changed, 42 insertions(+), 70 deletions(-) diff --git a/src/api/procedures/attestPrimaryKeyRotation.ts b/src/api/procedures/attestPrimaryKeyRotation.ts index 6c22db517c..de0eaa600a 100644 --- a/src/api/procedures/attestPrimaryKeyRotation.ts +++ b/src/api/procedures/attestPrimaryKeyRotation.ts @@ -14,7 +14,7 @@ import { expiryToMoment, signerToSignatory, } from '~/utils/conversion'; -import { asAccount, asIdentity, throwIfPendingAuthorizationExists } from '~/utils/internal'; +import { asAccount, asIdentity, assertNoPendingAuthorizationExists } from '~/utils/internal'; /** * @hidden @@ -50,7 +50,7 @@ export async function prepareAttestPrimaryKeyRotation( value: targetIdentity, }; - throwIfPendingAuthorizationExists({ + assertNoPendingAuthorizationExists({ authorizationRequests, message: 'The target Account already has a pending attestation to become the primary key of the target Identity', diff --git a/src/api/procedures/inviteAccount.ts b/src/api/procedures/inviteAccount.ts index af1a10e595..8c8bedc5c2 100644 --- a/src/api/procedures/inviteAccount.ts +++ b/src/api/procedures/inviteAccount.ts @@ -18,7 +18,7 @@ import { signerToString, signerValueToSignatory, } from '~/utils/conversion'; -import { asAccount, optionize, throwIfPendingAuthorizationExists } from '~/utils/internal'; +import { asAccount, assertNoPendingAuthorizationExists,optionize } from '~/utils/internal'; /** * @hidden @@ -54,7 +54,7 @@ export async function prepareInviteAccount( }); } - throwIfPendingAuthorizationExists({ + assertNoPendingAuthorizationExists({ authorizationRequests: authorizationRequests.data, target: address, message: 'The target Account already has a pending invitation to join this Identity', diff --git a/src/api/procedures/setCustodian.ts b/src/api/procedures/setCustodian.ts index 1b40edab8c..c12d22327b 100644 --- a/src/api/procedures/setCustodian.ts +++ b/src/api/procedures/setCustodian.ts @@ -19,7 +19,7 @@ import { signerToString, signerValueToSignatory, } from '~/utils/conversion'; -import { optionize, throwIfPendingAuthorizationExists } from '~/utils/internal'; +import { assertNoPendingAuthorizationExists,optionize } from '~/utils/internal'; /** * @hidden @@ -62,7 +62,7 @@ export async function prepareSetCustodian( value: portfolio, }; - throwIfPendingAuthorizationExists({ + assertNoPendingAuthorizationExists({ authorizationRequests, issuer: signingIdentity, message: "The target Identity already has a pending invitation to be the Portfolio's custodian", diff --git a/src/api/procedures/transferAssetOwnership.ts b/src/api/procedures/transferAssetOwnership.ts index 3a7d8236a1..d572afaf0a 100644 --- a/src/api/procedures/transferAssetOwnership.ts +++ b/src/api/procedures/transferAssetOwnership.ts @@ -1,5 +1,5 @@ import { createAuthorizationResolver } from '~/api/procedures/utils'; -import { AuthorizationRequest, FungibleAsset, Identity, Procedure } from '~/internal'; +import { AuthorizationRequest, FungibleAsset, Procedure } from '~/internal'; import { Authorization, AuthorizationType, @@ -14,7 +14,7 @@ import { signerToString, signerValueToSignatory, } from '~/utils/conversion'; -import { optionize, throwIfPendingAuthorizationExists } from '~/utils/internal'; +import { asIdentity, assertNoPendingAuthorizationExists,optionize } from '~/utils/internal'; /** * @hidden @@ -36,8 +36,7 @@ export async function prepareTransferAssetOwnership( } = this; const { ticker, target, expiry = null } = args; const issuer = await context.getSigningIdentity(); - const targetIdentity = - typeof target === 'string' ? new Identity({ did: target }, context) : target; + const targetIdentity = asIdentity(target, context); const authorizationRequests = await targetIdentity.authorizations.getReceived({ type: AuthorizationType.TransferAssetOwnership, @@ -54,7 +53,7 @@ export async function prepareTransferAssetOwnership( value: ticker, }; - throwIfPendingAuthorizationExists({ + assertNoPendingAuthorizationExists({ authorizationRequests, issuer, message: 'The target Identity already has a pending transfer Asset Ownership request', diff --git a/src/api/procedures/transferTickerOwnership.ts b/src/api/procedures/transferTickerOwnership.ts index d561e42320..9c031f3ad4 100644 --- a/src/api/procedures/transferTickerOwnership.ts +++ b/src/api/procedures/transferTickerOwnership.ts @@ -1,11 +1,5 @@ import { createAuthorizationResolver } from '~/api/procedures/utils'; -import { - AuthorizationRequest, - Identity, - PolymeshError, - Procedure, - TickerReservation, -} from '~/internal'; +import { AuthorizationRequest, PolymeshError, Procedure, TickerReservation } from '~/internal'; import { Authorization, AuthorizationType, @@ -23,7 +17,7 @@ import { signerToString, signerValueToSignatory, } from '~/utils/conversion'; -import { optionize, throwIfPendingAuthorizationExists } from '~/utils/internal'; +import { asIdentity, assertNoPendingAuthorizationExists, optionize } from '~/utils/internal'; /** * @hidden @@ -45,8 +39,7 @@ export async function prepareTransferTickerOwnership( } = this; const { ticker, target, expiry = null } = args; const issuer = await context.getSigningIdentity(); - const targetIdentity = - typeof target === 'string' ? new Identity({ did: target }, context) : target; + const targetIdentity = asIdentity(target, context); const authorization: Authorization = { type: AuthorizationType.TransferTicker, @@ -62,7 +55,7 @@ export async function prepareTransferTickerOwnership( const { status } = await tickerReservation.details(); - throwIfPendingAuthorizationExists({ + assertNoPendingAuthorizationExists({ authorizationRequests, issuer, message: 'The target Identity already has a pending Ticker Ownership transfer request', diff --git a/src/utils/__tests__/internal.ts b/src/utils/__tests__/internal.ts index 2ab1c58b75..528045d56f 100644 --- a/src/utils/__tests__/internal.ts +++ b/src/utils/__tests__/internal.ts @@ -74,6 +74,7 @@ import { assertExpectedSqVersion, assertIsInteger, assertIsPositive, + assertNoPendingAuthorizationExists, assertTickerValid, asTicker, calculateNextKey, @@ -107,7 +108,6 @@ import { segmentEventsByTransaction, serialize, sliceBatchReceipt, - throwIfPendingAuthorizationExists, unserialize, } from '../internal'; @@ -2303,7 +2303,7 @@ describe('areSameClaims', () => { }); }); -describe('throwIfPendingAuthorizationExists', () => { +describe('assertNoPendingAuthorizationExists', () => { let mockMessage: string; let mockAuthorization: Partial; let issuer: Identity; @@ -2316,11 +2316,11 @@ describe('throwIfPendingAuthorizationExists', () => { beforeEach(() => { // Initialize your mock data here mockMessage = 'Test message'; - mockAuthorization = { type: AuthorizationType.TransferTicker }; // fill this object with mock Authorization data - issuer = entityMockUtils.getIdentityInstance({ did: 'issuer' }); // fill this object with mock Identity data - target = entityMockUtils.getIdentityInstance({ did: 'target' }); // or a mock Identity object - otherIssuer = entityMockUtils.getIdentityInstance({ did: 'otherIssuer' }); // or a mock Identity - otherTarget = entityMockUtils.getIdentityInstance({ did: 'otherTarget' }); // or a mock Identity + mockAuthorization = { type: AuthorizationType.TransferTicker }; + issuer = entityMockUtils.getIdentityInstance({ did: 'issuer' }); + target = entityMockUtils.getIdentityInstance({ did: 'target' }); + otherIssuer = entityMockUtils.getIdentityInstance({ did: 'otherIssuer' }); + otherTarget = entityMockUtils.getIdentityInstance({ did: 'otherTarget' }); authReqBase = { issuer, target, @@ -2332,7 +2332,7 @@ describe('throwIfPendingAuthorizationExists', () => { it('should not throw an error if there are no authorization requests', () => { expect(() => { - throwIfPendingAuthorizationExists({ + assertNoPendingAuthorizationExists({ authorizationRequests: [], message: mockMessage, authorization: mockAuthorization, @@ -2343,10 +2343,8 @@ describe('throwIfPendingAuthorizationExists', () => { }); it('should not throw an error if there are no pending authorizations', () => { - // Fill mockAuthorizationRequests with AuthorizationRequest objects that are not pending - expect(() => { - throwIfPendingAuthorizationExists({ + assertNoPendingAuthorizationExists({ authorizationRequests: [], message: mockMessage, authorization: mockAuthorization, @@ -2355,10 +2353,8 @@ describe('throwIfPendingAuthorizationExists', () => { }); it('should not throw an error if the authorization has expired', () => { - // Fill mockAuthorizationRequests with AuthorizationRequest objects that are not pending - expect(() => { - throwIfPendingAuthorizationExists({ + assertNoPendingAuthorizationExists({ authorizationRequests: [ entityMockUtils.getAuthorizationRequestInstance({ isExpired: true }), ], @@ -2369,10 +2365,8 @@ describe('throwIfPendingAuthorizationExists', () => { }); it('should not throw an error if the authorization is for other target', () => { - // Fill mockAuthorizationRequests with AuthorizationRequest objects that are not pending - expect(() => { - throwIfPendingAuthorizationExists({ + assertNoPendingAuthorizationExists({ authorizationRequests: [ entityMockUtils.getAuthorizationRequestInstance({ ...authReqBase, @@ -2387,10 +2381,8 @@ describe('throwIfPendingAuthorizationExists', () => { }); it('should not throw an error if the authorization is by other issuer', () => { - // Fill mockAuthorizationRequests with AuthorizationRequest objects that are not pending - expect(() => { - throwIfPendingAuthorizationExists({ + assertNoPendingAuthorizationExists({ authorizationRequests: [entityMockUtils.getAuthorizationRequestInstance(authReqBase)], message: mockMessage, authorization: mockAuthorization, @@ -2400,10 +2392,8 @@ describe('throwIfPendingAuthorizationExists', () => { }); it('should not throw an error if the authorization of other type', () => { - // Fill mockAuthorizationRequests with AuthorizationRequest objects that are not pending - expect(() => { - throwIfPendingAuthorizationExists({ + assertNoPendingAuthorizationExists({ authorizationRequests: [ entityMockUtils.getAuthorizationRequestInstance({ ...authReqBase, @@ -2417,10 +2407,8 @@ describe('throwIfPendingAuthorizationExists', () => { }); it('should not throw an error if the authorization is AuthorizationType.PortfolioCustody and for different Portfolio', () => { - // Fill mockAuthorizationRequests with AuthorizationRequest objects that are not pending - expect(() => { - throwIfPendingAuthorizationExists({ + assertNoPendingAuthorizationExists({ authorizationRequests: [ entityMockUtils.getAuthorizationRequestInstance({ ...authReqBase, @@ -2440,10 +2428,8 @@ describe('throwIfPendingAuthorizationExists', () => { }); it('should not throw an error if the authorization is AuthorizationType.AttestPrimaryKeyRotation and for different Portfolio', () => { - // Fill mockAuthorizationRequests with AuthorizationRequest objects that are not pending - expect(() => { - throwIfPendingAuthorizationExists({ + assertNoPendingAuthorizationExists({ authorizationRequests: [ entityMockUtils.getAuthorizationRequestInstance({ target, @@ -2463,10 +2449,8 @@ describe('throwIfPendingAuthorizationExists', () => { }); it('should not throw an error if the authorization value is not equal', () => { - // Fill mockAuthorizationRequests with AuthorizationRequest objects that are not pending - expect(() => { - throwIfPendingAuthorizationExists({ + assertNoPendingAuthorizationExists({ authorizationRequests: [ entityMockUtils.getAuthorizationRequestInstance({ ...authReqBase, @@ -2480,10 +2464,8 @@ describe('throwIfPendingAuthorizationExists', () => { }); it('should throw a PolymeshError if there is a pending authorization', () => { - // Fill mockAuthorizationRequests with at least one AuthorizationRequest object that is pending - expect(() => { - throwIfPendingAuthorizationExists({ + assertNoPendingAuthorizationExists({ authorizationRequests: [entityMockUtils.getAuthorizationRequestInstance(authReqBase)], message: mockMessage, authorization: mockAuthorization, @@ -2494,20 +2476,15 @@ describe('throwIfPendingAuthorizationExists', () => { }); it('should throw a PolymeshError with the correct message and error code', () => { - // Fill mockAuthorizationRequests with at least one AuthorizationRequest object that is pending - - try { - throwIfPendingAuthorizationExists({ + const expectedError = new PolymeshError({ message: mockMessage, code: ErrorCode.NoDataChange }); + expect(() => + assertNoPendingAuthorizationExists({ authorizationRequests: [entityMockUtils.getAuthorizationRequestInstance(authReqBase)], message: mockMessage, authorization: mockAuthorization, issuer, target, - }); - } catch (error) { - expect(error).toBeInstanceOf(PolymeshError); - expect(error.message).toBe(mockMessage); - expect(error.code).toBe(ErrorCode.NoDataChange); - } + }) + ).toThrow(expectedError); }); }); diff --git a/src/utils/internal.ts b/src/utils/internal.ts index 64ed0e366e..02bc82f712 100644 --- a/src/utils/internal.ts +++ b/src/utils/internal.ts @@ -1902,7 +1902,7 @@ export function areSameClaims( /** * @hidden */ -export function throwIfPendingAuthorizationExists(params: { +export function assertNoPendingAuthorizationExists(params: { authorizationRequests: AuthorizationRequest[]; message: string; authorization: Partial; @@ -1921,7 +1921,7 @@ export function throwIfPendingAuthorizationExists(params: { return; } - const hasPendingAuth = !!authorizationRequests.find(authorizationRequest => { + const pendingAuthorization = authorizationRequests.find(authorizationRequest => { const { issuer, target, data } = authorizationRequest; if (authorizationRequest.isExpired()) { @@ -1963,10 +1963,13 @@ export function throwIfPendingAuthorizationExists(params: { return true; }); - if (hasPendingAuth) { + if (pendingAuthorization) { + const { issuer, target, data, authId } = pendingAuthorization; + const { type: authorizationType } = data; throw new PolymeshError({ code: ErrorCode.NoDataChange, message, + data: { target, issuer, authorizationType, authId }, }); } } From 46a98e0fedc44ec2a0989d34066b0c030acff5f9 Mon Sep 17 00:00:00 2001 From: Prashant Bajpai Date: Wed, 17 Jan 2024 15:27:34 +0530 Subject: [PATCH 039/120] =?UTF-8?q?refactor:=20=F0=9F=92=A1=20remove=20dup?= =?UTF-8?q?lication?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../confidential/ConfidentialVenue/index.ts | 52 +++++++++---------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/src/api/entities/confidential/ConfidentialVenue/index.ts b/src/api/entities/confidential/ConfidentialVenue/index.ts index eed3bea2ae..5c8fa1ef8a 100644 --- a/src/api/entities/confidential/ConfidentialVenue/index.ts +++ b/src/api/entities/confidential/ConfidentialVenue/index.ts @@ -12,6 +12,11 @@ export interface UniqueIdentifiers { * Represents a Venue through which confidential transactions are handled */ export class ConfidentialVenue extends Entity { + /** + * identifier number of the confidential Venue + */ + public id: BigNumber; + /** * @hidden * Check if a value is of type {@link UniqueIdentifiers} @@ -22,11 +27,6 @@ export class ConfidentialVenue extends Entity { return id instanceof BigNumber; } - /** - * identifier number of the confidential Venue - */ - public id: BigNumber; - /** * @hidden */ @@ -39,9 +39,9 @@ export class ConfidentialVenue extends Entity { } /** - * Determine whether this confidential Venue exists on chain + * Retrieve the creator of this confidential Venue */ - public async exists(): Promise { + public async creator(): Promise { const { context: { polymeshApi: { @@ -49,23 +49,26 @@ export class ConfidentialVenue extends Entity { }, }, id, + context, } = this; - if (id.lte(new BigNumber(0))) { - return false; - } - - const rawCounter = await confidentialAsset.venueCounter(); + const rawId = bigNumberToU64(id, context); + const creator = await confidentialAsset.venueCreator(rawId); - const nextVenue = u64ToBigNumber(rawCounter); + if (creator.isNone) { + throw new PolymeshError({ + code: ErrorCode.DataUnavailable, + message: 'The Venue does not exists', + }); + } - return id.lt(nextVenue); + return new Identity({ did: identityIdToString(creator.unwrap()) }, context); } /** - * Retrieve the creator of this confidential Venue + * Determine whether this confidential Venue exists on chain */ - public async creator(): Promise { + public async exists(): Promise { const { context: { polymeshApi: { @@ -73,20 +76,17 @@ export class ConfidentialVenue extends Entity { }, }, id, - context, } = this; - const rawId = bigNumberToU64(id, context); - const creator = await confidentialAsset.venueCreator(rawId); - - if (creator.isNone) { - throw new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: 'The Venue does not exists', - }); + if (id.lte(new BigNumber(0))) { + return false; } - return new Identity({ did: identityIdToString(creator.unwrap()) }, context); + const rawCounter = await confidentialAsset.venueCounter(); + + const nextVenue = u64ToBigNumber(rawCounter); + + return id.lt(nextVenue); } /** From c7d4ffb59c760e30fce49e6dff165421c7254804 Mon Sep 17 00:00:00 2001 From: Prashant Bajpai Date: Wed, 17 Jan 2024 19:34:59 +0530 Subject: [PATCH 040/120] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20Add=20`Confident?= =?UTF-8?q?ialAccount`=20entity?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This entity maps a confidential account on blockchain. Also adds a method `getIdentity` to get the identity mapped with a given confidential account --- .../confidential/ConfidentialAccount/index.ts | 79 +++++++++++++++++ .../__tests__/ConfidentialAccount/index.ts | 88 +++++++++++++++++++ src/api/entities/types.ts | 2 + src/internal.ts | 1 + src/testUtils/mocks/dataSources.ts | 30 +++++++ src/testUtils/mocks/entities.ts | 44 ++++++++++ 6 files changed, 244 insertions(+) create mode 100644 src/api/entities/confidential/ConfidentialAccount/index.ts create mode 100644 src/api/entities/confidential/__tests__/ConfidentialAccount/index.ts diff --git a/src/api/entities/confidential/ConfidentialAccount/index.ts b/src/api/entities/confidential/ConfidentialAccount/index.ts new file mode 100644 index 0000000000..8a491485ff --- /dev/null +++ b/src/api/entities/confidential/ConfidentialAccount/index.ts @@ -0,0 +1,79 @@ +import { Context, Entity, Identity } from '~/internal'; +import { identityIdToString, stringToU8aFixed } from '~/utils/conversion'; + +/** + * @hidden + */ +export interface UniqueIdentifiers { + publicKey: string; +} + +/** + * Represents an confidential Account in the Polymesh blockchain + */ +export class ConfidentialAccount extends Entity { + /** + * @hidden + * Check if a value is of type {@link UniqueIdentifiers} + */ + public static override isUniqueIdentifiers(identifier: unknown): identifier is UniqueIdentifiers { + const { publicKey } = identifier as UniqueIdentifiers; + + return typeof publicKey === 'string'; + } + + /** + * Public key of the confidential Account. Serves as an identifier + */ + public publicKey: string; + + /** + * @hidden + */ + public constructor(identifiers: UniqueIdentifiers, context: Context) { + super(identifiers, context); + + const { publicKey } = identifiers; + + this.publicKey = publicKey; + } + + /** + * Retrieve the Identity associated to this Account (null if there is none) + */ + public async getIdentity(): Promise { + const { + context: { + polymeshApi: { + query: { confidentialAsset }, + }, + }, + context, + publicKey, + } = this; + + const optIdentityId = await confidentialAsset.accountDid(stringToU8aFixed(publicKey, context)); + + if (optIdentityId.isNone) { + return null; + } + + const did = identityIdToString(optIdentityId.unwrap()); + + return new Identity({ did }, context); + } + + /** + * Determine whether this Account exists on chain + */ + public async exists(): Promise { + return true; + } + + /** + * Return the Account's address + */ + public toHuman(): string { + return this.publicKey; + } +} diff --git a/src/api/entities/confidential/__tests__/ConfidentialAccount/index.ts b/src/api/entities/confidential/__tests__/ConfidentialAccount/index.ts new file mode 100644 index 0000000000..973cd478c2 --- /dev/null +++ b/src/api/entities/confidential/__tests__/ConfidentialAccount/index.ts @@ -0,0 +1,88 @@ +import { ConfidentialAccount, Context, Entity } from '~/internal'; +import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; +import { Mocked } from '~/testUtils/types'; +import * as utilsConversionModule from '~/utils/conversion'; + +describe('ConfidentialAccount class', () => { + let context: Mocked; + + let publicKey: string; + let account: ConfidentialAccount; + + beforeAll(() => { + entityMockUtils.initMocks(); + dsMockUtils.initMocks(); + procedureMockUtils.initMocks(); + jest.spyOn(utilsConversionModule, 'addressToKey').mockImplementation(); + + publicKey = '0xb8bb6107ef0dacb727199b329e2d09141ea6f36774818797e843df800c746d19'; + }); + + beforeEach(() => { + context = dsMockUtils.getContextInstance(); + account = new ConfidentialAccount({ publicKey }, context); + }); + + afterEach(() => { + entityMockUtils.reset(); + dsMockUtils.reset(); + procedureMockUtils.reset(); + }); + + afterAll(() => { + dsMockUtils.cleanup(); + procedureMockUtils.cleanup(); + jest.restoreAllMocks(); + }); + + it('should extend Entity', () => { + expect(ConfidentialAccount.prototype).toBeInstanceOf(Entity); + }); + + describe('method: isUniqueIdentifiers', () => { + it('should return true if the object conforms to the interface', () => { + expect(ConfidentialAccount.isUniqueIdentifiers({ publicKey })).toBe(true); + expect(ConfidentialAccount.isUniqueIdentifiers({})).toBe(false); + expect(ConfidentialAccount.isUniqueIdentifiers({ publicKey: 3 })).toBe(false); + }); + }); + + describe('method: getIdentity', () => { + let accountDidMock: jest.Mock; + + beforeEach(() => { + accountDidMock = dsMockUtils.createQueryMock('confidentialAsset', 'accountDid'); + jest.spyOn(utilsConversionModule, 'stringToU8aFixed'); + }); + + it('should return the Identity associated to the ConfidentialAccount', async () => { + const did = 'someDid'; + accountDidMock.mockReturnValueOnce( + dsMockUtils.createMockOption(dsMockUtils.createMockIdentityId(did)) + ); + + const result = await account.getIdentity(); + expect(result?.did).toBe(did); + }); + + it('should return null if there is no Identity associated to the ConfidentialAccount', async () => { + accountDidMock.mockReturnValue(dsMockUtils.createMockOption()); + + const result = await account.getIdentity(); + + expect(result).toBe(null); + }); + }); + + describe('method: toHuman', () => { + it('should return a human readable version of the entity', () => { + expect(account.toHuman()).toBe(account.publicKey); + }); + }); + + describe('method: exists', () => { + it('should return true', () => { + return expect(account.exists()).resolves.toBe(true); + }); + }); +}); diff --git a/src/api/entities/types.ts b/src/api/entities/types.ts index a55a23b377..a06c7b7903 100644 --- a/src/api/entities/types.ts +++ b/src/api/entities/types.ts @@ -4,6 +4,7 @@ import { Checkpoint as CheckpointClass, CheckpointSchedule as CheckpointScheduleClass, ChildIdentity as ChildIdentityClass, + ConfidentialAccount as ConfidentialAccountClass, ConfidentialAsset as ConfidentialAssetClass, ConfidentialTransaction as ConfidentialTransactionClass, ConfidentialVenue as ConfidentialVenueClass, @@ -42,6 +43,7 @@ export type ChildIdentity = ChildIdentityClass; export type Instruction = InstructionClass; export type KnownPermissionGroup = KnownPermissionGroupClass; export type NumberedPortfolio = NumberedPortfolioClass; +export type ConfidentialAccount = ConfidentialAccountClass; export type ConfidentialAsset = ConfidentialAssetClass; export type ConfidentialVenue = ConfidentialVenueClass; export type ConfidentialTransaction = ConfidentialTransactionClass; diff --git a/src/internal.ts b/src/internal.ts index bd7d72dd8c..27bd6f1cd6 100644 --- a/src/internal.ts +++ b/src/internal.ts @@ -100,6 +100,7 @@ export { MultiSig } from '~/api/entities/Account/MultiSig'; export { MultiSigProposal } from '~/api/entities/MultiSigProposal'; export { TickerReservation } from '~/api/entities/TickerReservation'; export { BaseAsset, FungibleAsset, NftCollection, Nft } from '~/api/entities/Asset'; +export { ConfidentialAccount } from '~/api/entities/confidential/ConfidentialAccount'; export { ConfidentialAsset } from '~/api/entities/confidential/ConfidentialAsset'; export { ConfidentialVenue } from '~/api/entities/confidential/ConfidentialVenue'; export { ConfidentialTransaction } from '~/api/entities/confidential/ConfidentialTransaction'; diff --git a/src/testUtils/mocks/dataSources.ts b/src/testUtils/mocks/dataSources.ts index 16aef6c3f8..4559c26c4c 100644 --- a/src/testUtils/mocks/dataSources.ts +++ b/src/testUtils/mocks/dataSources.ts @@ -52,7 +52,9 @@ import { PalletAssetSecurityToken, PalletAssetTickerRegistration, PalletAssetTickerRegistrationConfig, + PalletConfidentialAssetAuditorAccount, PalletConfidentialAssetConfidentialAssetDetails, + PalletConfidentialAssetConfidentialAuditors, PalletContractsStorageContractInfo, PalletCorporateActionsCaCheckpoint, PalletCorporateActionsCaId, @@ -4446,3 +4448,31 @@ export const createMockConfidentialAssetDetails = ( return createMockCodec({ totalSupply, ownerDid, data, ticker }, !details); }; + +/** + * @hidden + * NOTE: `isEmpty` will be set to true if no value is passed + */ +export const createMockConfidentialAuditors = ( + assetAuditors?: + | PalletConfidentialAssetConfidentialAuditors + | { + auditors: + | BTreeSet + | Parameters[0]; + mediators: + | BTreeSet + | Parameters[0]; + } +): MockCodec => { + if (isCodec(assetAuditors)) { + return assetAuditors as MockCodec; + } + + const { auditors, mediators } = assetAuditors ?? { + auditors: createMockBTreeSet(), + mediators: createMockBTreeSet(), + }; + + return createMockCodec({ auditors, mediators }, !assetAuditors); +}; diff --git a/src/testUtils/mocks/entities.ts b/src/testUtils/mocks/entities.ts index 4eb70aa513..cee675d2aa 100644 --- a/src/testUtils/mocks/entities.ts +++ b/src/testUtils/mocks/entities.ts @@ -13,6 +13,7 @@ import { Checkpoint, CheckpointSchedule, ChildIdentity, + ConfidentialAccount, ConfidentialAsset, ConfidentialTransaction, ConfidentialVenue, @@ -379,6 +380,11 @@ interface ConfidentialTransactionOptions extends EntityOptions { id?: BigNumber; } +interface ConfidentialAccountOptions extends EntityOptions { + publicKey?: string; + getIdentity?: EntityGetter; +} + type MockOptions = { identityOptions?: IdentityOptions; childIdentityOptions?: ChildIdentityOptions; @@ -407,6 +413,7 @@ type MockOptions = { confidentialAssetOptions?: ConfidentialAssetOptions; confidentialVenueOptions?: ConfidentialVenueOptions; confidentialTransactionOptions?: ConfidentialTransactionOptions; + confidentialAccountOptions?: ConfidentialAccountOptions; }; type Class = new (...args: any[]) => T; @@ -2104,6 +2111,35 @@ const MockKnownPermissionGroupClass = createMockEntityClass( + class { + uuid!: string; + publicKey!: string; + getIdentity!: jest.Mock; + + /** + * @hidden + */ + public argsToOpts(...args: ConstructorParameters) { + return extractFromArgs(args, ['publicKey']); + } + + /** + * @hidden + */ + public configure(opts: Required) { + this.uuid = 'confidentialAccount'; + this.publicKey = opts.publicKey; + this.getIdentity = createEntityGetterMock(opts.getIdentity); + } + }, + () => ({ + publicKey: 'somePublicKey', + getIdentity: getIdentityInstance(), + }), + ['ConfidentialAccount'] +); + const MockConfidentialAssetClass = createMockEntityClass( class { uuid!: string; @@ -2313,6 +2349,11 @@ export const mockKnownPermissionGroupModule = (path: string) => (): Record (): Record => ({ + ...jest.requireActual(path), + ConfidentialAccount: MockConfidentialAccountClass, +}); + export const mockConfidentialAssetModule = (path: string) => (): Record => ({ ...jest.requireActual(path), ConfidentialAsset: MockConfidentialAssetClass, @@ -2357,6 +2398,7 @@ export const initMocks = function (opts?: MockOptions): void { MockDividendDistributionClass.init(opts?.dividendDistributionOptions); MockMultiSigClass.init(opts?.multiSigOptions); MockMultiSigProposalClass.init(opts?.multiSigProposalOptions); + MockConfidentialAccountClass.init(opts?.confidentialAccountOptions); MockConfidentialAssetClass.init(opts?.confidentialAssetOptions); MockConfidentialVenueClass.init(opts?.confidentialVenueOptions); MockConfidentialTransactionClass.init(opts?.confidentialTransactionOptions); @@ -2392,6 +2434,7 @@ export const configureMocks = function (opts?: MockOptions): void { MockDividendDistributionClass.setOptions(opts?.dividendDistributionOptions); MockMultiSigClass.setOptions(opts?.multiSigOptions); MockMultiSigProposalClass.setOptions(opts?.multiSigProposalOptions); + MockConfidentialAccountClass.setOptions(opts?.confidentialAccountOptions); MockConfidentialAssetClass.setOptions(opts?.confidentialAssetOptions); MockConfidentialVenueClass.setOptions(opts?.confidentialVenueOptions); MockConfidentialTransactionClass.setOptions(opts?.confidentialTransactionOptions); @@ -2424,6 +2467,7 @@ export const reset = function (): void { MockDividendDistributionClass.resetOptions(); MockMultiSigClass.resetOptions(); MockMultiSigProposalClass.resetOptions(); + MockConfidentialAccountClass.resetOptions(); MockConfidentialAssetClass.resetOptions(); MockConfidentialVenueClass.resetOptions(); MockConfidentialTransactionClass.resetOptions(); From a936001cc10aec7eeef8c96087200961277cb98b Mon Sep 17 00:00:00 2001 From: Prashant Bajpai Date: Wed, 17 Jan 2024 19:35:46 +0530 Subject: [PATCH 041/120] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20Add=20method=20t?= =?UTF-8?q?o=20get=20auditors=20for=20a=20confidential=20Asset?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../confidential/ConfidentialAsset/index.ts | 41 ++++++++++++++- .../confidential/ConfidentialAsset/types.ts | 7 ++- .../__tests__/ConfidentialAsset/index.ts | 51 +++++++++++++++++++ 3 files changed, 96 insertions(+), 3 deletions(-) diff --git a/src/api/entities/confidential/ConfidentialAsset/index.ts b/src/api/entities/confidential/ConfidentialAsset/index.ts index e2d7db7098..5a852893ff 100644 --- a/src/api/entities/confidential/ConfidentialAsset/index.ts +++ b/src/api/entities/confidential/ConfidentialAsset/index.ts @@ -1,8 +1,8 @@ import { PalletConfidentialAssetConfidentialAssetDetails } from '@polkadot/types/lookup'; import { Option } from '@polkadot/types-codec'; -import { Context, Entity, Identity, PolymeshError } from '~/internal'; -import { ConfidentialAssetDetails, ErrorCode } from '~/types'; +import { ConfidentialAccount, Context, Entity, Identity, PolymeshError } from '~/internal'; +import { ConfidentialAssetDetails, ErrorCode, GroupedAuditors } from '~/types'; import { bytesToString, identityIdToString, @@ -98,6 +98,43 @@ export class ConfidentialAsset extends Entity { }; } + /** + * Retrieve all the auditors for this confidential Asset grouped by their type + */ + public async getAuditors(): Promise { + const { + id, + context: { + polymeshApi: { + query: { confidentialAsset }, + }, + }, + context, + } = this; + + const rawAssetId = serializeConfidentialAssetId(id); + + const assetAuditors = await confidentialAsset.assetAuditors(rawAssetId); + + if (assetAuditors.isNone) { + throw new PolymeshError({ + code: ErrorCode.DataUnavailable, + message: 'The Confidential Asset does not exists', + }); + } + + const { auditors, mediators } = assetAuditors.unwrap(); + + return { + auditors: [...auditors].map( + auditor => new ConfidentialAccount({ publicKey: auditor.toString() }, context) + ), + mediators: [...mediators].map( + mediator => new Identity({ did: identityIdToString(mediator) }, context) + ), + }; + } + /** * Determine whether this confidential Asset exists on chain */ diff --git a/src/api/entities/confidential/ConfidentialAsset/types.ts b/src/api/entities/confidential/ConfidentialAsset/types.ts index bfdcebd8b7..c83b27d702 100644 --- a/src/api/entities/confidential/ConfidentialAsset/types.ts +++ b/src/api/entities/confidential/ConfidentialAsset/types.ts @@ -1,6 +1,6 @@ import BigNumber from 'bignumber.js'; -import { Identity } from '~/internal'; +import { ConfidentialAccount, Identity } from '~/types'; export interface ConfidentialAssetDetails { owner: Identity; @@ -11,3 +11,8 @@ export interface ConfidentialAssetDetails { */ ticker?: string; } + +export interface GroupedAuditors { + auditors: ConfidentialAccount[]; + mediators: Identity[]; +} diff --git a/src/api/entities/confidential/__tests__/ConfidentialAsset/index.ts b/src/api/entities/confidential/__tests__/ConfidentialAsset/index.ts index 1d473d58fd..e2233145a1 100644 --- a/src/api/entities/confidential/__tests__/ConfidentialAsset/index.ts +++ b/src/api/entities/confidential/__tests__/ConfidentialAsset/index.ts @@ -6,6 +6,17 @@ import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mo import { ErrorCode } from '~/types'; import * as utilsConversionModule from '~/utils/conversion'; +jest.mock( + '~/api/entities/Identity', + require('~/testUtils/mocks/entities').mockIdentityModule('~/api/entities/Identity') +); +jest.mock( + '~/api/entities/confidential/ConfidentialAccount', + require('~/testUtils/mocks/entities').mockConfidentialAccountModule( + '~/api/entities/confidential/ConfidentialAccount' + ) +); + describe('ConfidentialAsset class', () => { let assetId: string; let id: string; @@ -134,6 +145,46 @@ describe('ConfidentialAsset class', () => { }); }); + describe('method: getAuditors', () => { + it('should throw an error if no auditor info exists', () => { + dsMockUtils.createQueryMock('confidentialAsset', 'assetAuditors', { + returnValue: dsMockUtils.createMockOption(), + }); + + const expectedError = new PolymeshError({ + code: ErrorCode.DataUnavailable, + message: 'The Confidential Asset does not exists', + }); + + return expect(confidentialAsset.getAuditors()).rejects.toThrow(expectedError); + }); + + it('should return all the auditors group by their type', async () => { + dsMockUtils.createQueryMock('confidentialAsset', 'assetAuditors', { + returnValue: dsMockUtils.createMockOption( + dsMockUtils.createMockConfidentialAuditors({ + auditors: ['someAuditorPublicKey'], + mediators: ['someMediatorDid'], + }) + ), + }); + + const result = await confidentialAsset.getAuditors(); + + expect(result.mediators[0]).toEqual( + expect.objectContaining({ + did: 'someMediatorDid', + }) + ); + + expect(result.auditors[0]).toEqual( + expect.objectContaining({ + publicKey: 'someAuditorPublicKey', + }) + ); + }); + }); + describe('method: exists', () => { it('should return if Confidential Asset exists', async () => { let result = await confidentialAsset.exists(); From d9354133bcca8796823bc73c3c0a560c6aca9a05 Mon Sep 17 00:00:00 2001 From: Prashant Bajpai Date: Wed, 17 Jan 2024 23:35:28 +0530 Subject: [PATCH 042/120] =?UTF-8?q?chore:=20=F0=9F=A4=96=20add=20data=20pa?= =?UTF-8?q?rt=20while=20throwing=20errors?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/entities/confidential/ConfidentialAsset/index.ts | 4 +++- .../confidential/__tests__/ConfidentialAsset/index.ts | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/api/entities/confidential/ConfidentialAsset/index.ts b/src/api/entities/confidential/ConfidentialAsset/index.ts index 5a852893ff..224dcbfdc3 100644 --- a/src/api/entities/confidential/ConfidentialAsset/index.ts +++ b/src/api/entities/confidential/ConfidentialAsset/index.ts @@ -78,13 +78,14 @@ export class ConfidentialAsset extends Entity { * Retrieve the confidential Asset's details */ public async details(): Promise { - const { context } = this; + const { context, id } = this; const assetDetails = await this.getDetailsFromChain(); if (assetDetails.isNone) { throw new PolymeshError({ code: ErrorCode.DataUnavailable, message: 'The Confidential Asset does not exists', + data: { id }, }); } @@ -120,6 +121,7 @@ export class ConfidentialAsset extends Entity { throw new PolymeshError({ code: ErrorCode.DataUnavailable, message: 'The Confidential Asset does not exists', + data: { id }, }); } diff --git a/src/api/entities/confidential/__tests__/ConfidentialAsset/index.ts b/src/api/entities/confidential/__tests__/ConfidentialAsset/index.ts index e2233145a1..8324a527c7 100644 --- a/src/api/entities/confidential/__tests__/ConfidentialAsset/index.ts +++ b/src/api/entities/confidential/__tests__/ConfidentialAsset/index.ts @@ -139,6 +139,7 @@ describe('ConfidentialAsset class', () => { const expectedError = new PolymeshError({ code: ErrorCode.DataUnavailable, message: 'The Confidential Asset does not exists', + data: { id }, }); detailsQueryMock.mockResolvedValue(dsMockUtils.createMockOption()); await expect(confidentialAsset.details()).rejects.toThrow(expectedError); @@ -154,6 +155,7 @@ describe('ConfidentialAsset class', () => { const expectedError = new PolymeshError({ code: ErrorCode.DataUnavailable, message: 'The Confidential Asset does not exists', + data: { id }, }); return expect(confidentialAsset.getAuditors()).rejects.toThrow(expectedError); From e5167fe38721173db4054584931e37ddd20f8bcb Mon Sep 17 00:00:00 2001 From: Eric Richardson Date: Fri, 19 Jan 2024 12:58:58 -0500 Subject: [PATCH 043/120] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20add=20Confidenti?= =?UTF-8?q?alTransaction=20details=20method?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit add method to get details for confidential transactions ✅ Closes: DA-995 --- .../ConfidentialTransaction/index.ts | 48 ++++++++++- .../ConfidentialTransaction/index.ts | 80 ++++++++++++++++++- src/testUtils/mocks/dataSources.ts | 50 ++++++++++++ src/types/index.ts | 19 +++++ src/utils/__tests__/conversion.ts | 57 +++++++++++++ src/utils/conversion.ts | 42 ++++++++++ 6 files changed, 293 insertions(+), 3 deletions(-) diff --git a/src/api/entities/confidential/ConfidentialTransaction/index.ts b/src/api/entities/confidential/ConfidentialTransaction/index.ts index dda7cf2319..2194d1de9b 100644 --- a/src/api/entities/confidential/ConfidentialTransaction/index.ts +++ b/src/api/entities/confidential/ConfidentialTransaction/index.ts @@ -1,7 +1,13 @@ import BigNumber from 'bignumber.js'; -import { Context, Entity } from '~/internal'; -import { u64ToBigNumber } from '~/utils/conversion'; +import { Context, Entity, PolymeshError } from '~/internal'; +import { ConfidentialTransactionDetails, ErrorCode } from '~/types'; +import { + bigNumberToU64, + meshConfidentialTransactionDetailsToDetails, + meshConfidentialTransactionStatusToStatus, + u64ToBigNumber, +} from '~/utils/conversion'; export interface UniqueIdentifiers { id: BigNumber; @@ -37,6 +43,44 @@ export class ConfidentialTransaction extends Entity { this.id = id; } + /** + * Fetch details about this transaction + */ + public async details(): Promise { + const { + id, + context, + context: { + polymeshApi: { + query: { confidentialAsset }, + }, + }, + } = this; + + const rawId = bigNumberToU64(id, context); + + const [rawDetails, rawStatus] = await Promise.all([ + confidentialAsset.transactions(rawId), + confidentialAsset.transactionStatuses(rawId), + ]); + + if (rawDetails.isNone || rawStatus.isNone) { + throw new PolymeshError({ + code: ErrorCode.DataUnavailable, + message: 'Confidential transaction details were not found', + data: { id }, + }); + } + + const details = meshConfidentialTransactionDetailsToDetails(rawDetails.unwrap()); + const status = meshConfidentialTransactionStatusToStatus(rawStatus.unwrap()); + + return { + ...details, + status, + }; + } + /** * Determine whether this settlement Transaction exists on chain (or existed and was pruned) */ diff --git a/src/api/entities/confidential/__tests__/ConfidentialTransaction/index.ts b/src/api/entities/confidential/__tests__/ConfidentialTransaction/index.ts index e684199642..c66d18ae7e 100644 --- a/src/api/entities/confidential/__tests__/ConfidentialTransaction/index.ts +++ b/src/api/entities/confidential/__tests__/ConfidentialTransaction/index.ts @@ -1,8 +1,13 @@ import BigNumber from 'bignumber.js'; -import { ConfidentialTransaction, Context, Entity } from '~/internal'; +import { ConfidentialTransaction, Context, Entity, PolymeshError } from '~/internal'; import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; +import { + createMockConfidentialAssetTransaction, + createMockOption, +} from '~/testUtils/mocks/dataSources'; import { Mocked } from '~/testUtils/types'; +import { ConfidentialTransactionStatus, ErrorCode } from '~/types'; describe('ConfidentialTransaction class', () => { let context: Mocked; @@ -71,6 +76,79 @@ describe('ConfidentialTransaction class', () => { }); }); + describe('method: details', () => { + const mockCreatedAt = dsMockUtils.createMockU32(new BigNumber(1)); + const mockVenueId = dsMockUtils.createMockU64(new BigNumber(2)); + const mockStatus = dsMockUtils.createMockConfidentialTransactionStatus( + ConfidentialTransactionStatus.Pending + ); + + it('should return details', async () => { + dsMockUtils.createQueryMock('confidentialAsset', 'transactions').mockResolvedValue( + dsMockUtils.createMockOption( + createMockConfidentialAssetTransaction({ + venueId: mockVenueId, + createdAt: mockCreatedAt, + memo: createMockOption(), + }) + ) + ); + + dsMockUtils + .createQueryMock('confidentialAsset', 'transactionStatuses') + .mockResolvedValue(dsMockUtils.createMockOption(mockStatus)); + + const result = await transaction.details(); + + expect(result).toEqual({ + createdAt: new BigNumber(1), + memo: undefined, + status: ConfidentialTransactionStatus.Pending, + venueId: new BigNumber(2), + }); + }); + + it('should throw an error if transaction details are not found', async () => { + dsMockUtils + .createQueryMock('confidentialAsset', 'transactions') + .mockResolvedValue(dsMockUtils.createMockOption()); + + dsMockUtils + .createQueryMock('confidentialAsset', 'transactionStatuses') + .mockResolvedValue(dsMockUtils.createMockOption(mockStatus)); + + const expectedError = new PolymeshError({ + code: ErrorCode.DataUnavailable, + message: 'Confidential transaction details were not found', + }); + + return expect(transaction.details()).rejects.toThrow(expectedError); + }); + + it('should throw an error if transaction status is not found', async () => { + dsMockUtils.createQueryMock('confidentialAsset', 'transactions').mockResolvedValue( + dsMockUtils.createMockOption( + createMockConfidentialAssetTransaction({ + venueId: mockVenueId, + createdAt: mockCreatedAt, + memo: createMockOption(), + }) + ) + ); + + dsMockUtils + .createQueryMock('confidentialAsset', 'transactionStatuses') + .mockResolvedValue(dsMockUtils.createMockOption()); + + const expectedError = new PolymeshError({ + code: ErrorCode.DataUnavailable, + message: 'Confidential transaction details were not found', + }); + + return expect(transaction.details()).rejects.toThrow(expectedError); + }); + }); + describe('method: toHuman', () => { it('should return a human readable version of the entity', () => { expect(transaction.toHuman()).toBe('1'); diff --git a/src/testUtils/mocks/dataSources.ts b/src/testUtils/mocks/dataSources.ts index 4559c26c4c..3ee971ed25 100644 --- a/src/testUtils/mocks/dataSources.ts +++ b/src/testUtils/mocks/dataSources.ts @@ -1,4 +1,5 @@ /* istanbul ignore file */ + /* eslint-disable @typescript-eslint/naming-convention */ /* eslint-disable @typescript-eslint/no-explicit-any */ import { ApolloClient, NormalizedCacheObject, QueryOptions } from '@apollo/client/core'; @@ -55,6 +56,8 @@ import { PalletConfidentialAssetAuditorAccount, PalletConfidentialAssetConfidentialAssetDetails, PalletConfidentialAssetConfidentialAuditors, + PalletConfidentialAssetTransaction, + PalletConfidentialAssetTransactionStatus, PalletContractsStorageContractInfo, PalletCorporateActionsCaCheckpoint, PalletCorporateActionsCaId, @@ -4476,3 +4479,50 @@ export const createMockConfidentialAuditors = ( return createMockCodec({ auditors, mediators }, !assetAuditors); }; + +/** + * @hidden + * NOTE: `isEmpty` will be set to true if no value is passed + */ +export const createMockConfidentialAssetTransaction = ( + details?: + | PalletConfidentialAssetTransaction + | { + venueId: u64 | Parameters[0]; + createdAt: u32 | Parameters[0]; + memo: Option | Parameters[0]; + } +): MockCodec => { + if (isCodec(details)) { + return details as MockCodec; + } + + const { venueId, createdAt, memo } = details ?? { + venueId: createMockU64(), + createdAt: createMockU32(), + memo: createMockOption(), + }; + + return createMockCodec( + { + venueId, + createdAt, + memo, + }, + !details + ); +}; + +/** + * @hidden + * * NOTE: `isEmpty` will be set to true if no value is passed + */ +export const createMockConfidentialTransactionStatus = ( + status?: 'Pending' | 'Executed' | 'Rejected' | PalletConfidentialAssetTransactionStatus +): MockCodec => { + if (isCodec(status)) { + return status as MockCodec; + } + + return createMockEnum(status); +}; diff --git a/src/types/index.ts b/src/types/index.ts index 107ef18028..d826697687 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -1758,3 +1758,22 @@ export interface HeldNfts { * CustomClaimType with DID that registered the CustomClaimType */ export type CustomClaimTypeWithDid = CustomClaimType & { did?: string }; + +/** + * Status of a confidential transaction + */ +export enum ConfidentialTransactionStatus { + Pending = 'Pending', + Executed = 'Executed', + Rejected = 'Rejected', +} + +/** + * Details for a confidential transaction + */ +export interface ConfidentialTransactionDetails { + venueId: BigNumber; + createdAt: BigNumber; + status: ConfidentialTransactionStatus; + memo?: string; +} diff --git a/src/utils/__tests__/conversion.ts b/src/utils/__tests__/conversion.ts index 3170840f5b..bfabd53c7a 100644 --- a/src/utils/__tests__/conversion.ts +++ b/src/utils/__tests__/conversion.ts @@ -10,6 +10,8 @@ import { Permill, } from '@polkadot/types/interfaces'; import { + PalletConfidentialAssetTransaction, + PalletConfidentialAssetTransactionStatus, PalletCorporateActionsCaId, PalletCorporateActionsCaKind, PalletCorporateActionsRecordDateSpec, @@ -91,6 +93,7 @@ import { import { ClaimScopeTypeEnum } from '~/middleware/typesV1'; import { dsMockUtils, entityMockUtils } from '~/testUtils/mocks'; import { + createMockConfidentialTransactionStatus, createMockNfts, createMockOption, createMockPortfolioId, @@ -113,6 +116,7 @@ import { ConditionCompliance, ConditionTarget, ConditionType, + ConfidentialTransactionStatus, CorporateActionKind, CorporateActionParams, CountryCode, @@ -231,6 +235,8 @@ import { meshClaimToClaim, meshClaimToInputStatClaim, meshClaimTypeToClaimType, + meshConfidentialTransactionDetailsToDetails, + meshConfidentialTransactionStatusToStatus, meshCorporateActionToCorporateActionParams, meshInstructionStatusToInstructionStatus, meshMetadataKeyToMetadataKey, @@ -9865,3 +9871,54 @@ describe('toCustomClaimTypeWithIdentity', () => { ]); }); }); + +describe('meshConfidentialDetailsToConfidentialDetails', () => { + it('should convert PalletConfidentialAssetTransaction to ConfidentialTransactionDetails', () => { + const mockDetails = dsMockUtils.createMockConfidentialAssetTransaction({ + createdAt: dsMockUtils.createMockU32(new BigNumber(1)), + memo: dsMockUtils.createMockOption(dsMockUtils.createMockMemo(stringToHex('someMemo'))), + venueId: dsMockUtils.createMockU64(new BigNumber(2)), + }); + const result = meshConfidentialTransactionDetailsToDetails( + mockDetails as PalletConfidentialAssetTransaction + ); + + expect(result).toEqual({ + createdAt: new BigNumber(1), + memo: 'someMemo', + venueId: new BigNumber(2), + }); + }); +}); + +describe('meshConfidentialTransactionStatusToStatus', () => { + it('should convert PalletConfidentialAssetTransactionStatus to ConfidentialTransactionStatus', () => { + let expected = ConfidentialTransactionStatus.Pending; + let status = dsMockUtils.createMockConfidentialTransactionStatus(expected); + + let result = meshConfidentialTransactionStatusToStatus(status); + + expect(result).toEqual(expected); + + expected = ConfidentialTransactionStatus.Executed; + status = dsMockUtils.createMockConfidentialTransactionStatus(expected); + result = meshConfidentialTransactionStatusToStatus(status); + + expect(result).toEqual(expected); + + expected = ConfidentialTransactionStatus.Rejected; + status = dsMockUtils.createMockConfidentialTransactionStatus(expected); + result = meshConfidentialTransactionStatusToStatus(status); + + expect(result).toEqual(expected); + }); + + it('should throw an error on unexpected status', () => { + const status = createMockConfidentialTransactionStatus( + // eslint-disable-next-line @typescript-eslint/no-explicit-any + 'notAStatus' as any + ) as PalletConfidentialAssetTransactionStatus; + + expect(() => meshConfidentialTransactionStatusToStatus(status)).toThrow(); + }); +}); diff --git a/src/utils/conversion.ts b/src/utils/conversion.ts index 496838e32d..69e3ed711d 100644 --- a/src/utils/conversion.ts +++ b/src/utils/conversion.ts @@ -3,6 +3,8 @@ import { bool, Bytes, Option, Text, u8, U8aFixed, u16, u32, u64, u128, Vec } fro import { AccountId, Balance, BlockHash, Hash, Permill } from '@polkadot/types/interfaces'; import { DispatchError, DispatchResult } from '@polkadot/types/interfaces/system'; import { + PalletConfidentialAssetTransaction, + PalletConfidentialAssetTransactionStatus, PalletCorporateActionsCaId, PalletCorporateActionsCaKind, PalletCorporateActionsCorporateAction, @@ -150,6 +152,8 @@ import { ConditionCompliance, ConditionTarget, ConditionType, + ConfidentialTransactionDetails, + ConfidentialTransactionStatus, CorporateActionKind, CorporateActionParams, CorporateActionTargets, @@ -4816,3 +4820,41 @@ export function toHistoricalSettlements( return data.sort((a, b) => a.blockNumber.minus(b.blockNumber).toNumber()); } + +/** + * @hidden + */ +export function meshConfidentialTransactionDetailsToDetails( + details: PalletConfidentialAssetTransaction +): Omit { + const { venueId: rawVenueId, createdAt: rawCreatedAt, memo: rawMemo } = details; + + const venueId = u64ToBigNumber(rawVenueId); + const createdAt = u32ToBigNumber(rawCreatedAt); + const memo = rawMemo.isSome ? instructionMemoToString(rawMemo.unwrap()) : undefined; + + return { + venueId, + createdAt, + memo, + }; +} + +/** + * @hidden + */ +export function meshConfidentialTransactionStatusToStatus( + status: PalletConfidentialAssetTransactionStatus +): ConfidentialTransactionStatus { + switch (status.type) { + case 'Pending': + return ConfidentialTransactionStatus.Pending; + case 'Rejected': + return ConfidentialTransactionStatus.Rejected; + case 'Executed': + return ConfidentialTransactionStatus.Executed; + default: + /* istanbul ignore next: TS will complain if a new case is added */ + throw new UnreachableCaseError(status.type); + } +} From 4646821a88138e4adf23d329113e45183d9369d7 Mon Sep 17 00:00:00 2001 From: Prashant Bajpai <34747455+prashantasdeveloper@users.noreply.github.com> Date: Sun, 21 Jan 2024 22:44:19 +0530 Subject: [PATCH 044/120] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20Add=20method=20t?= =?UTF-8?q?o=20create=20a=20confidential=20asset?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This adds a method `createConfidentialAsset` to `ConfidentialAssets` namespace --- src/api/client/ConfidentialAssets.ts | 20 +++- .../client/__tests__/ConfidentialAssets.ts | 13 ++- .../confidential/ConfidentialAsset/types.ts | 19 ++++ src/api/procedures/createConfidentialAsset.ts | 96 +++++++++++++++++++ src/internal.ts | 1 + 5 files changed, 143 insertions(+), 6 deletions(-) create mode 100644 src/api/procedures/createConfidentialAsset.ts diff --git a/src/api/client/ConfidentialAssets.ts b/src/api/client/ConfidentialAssets.ts index 81a6c833cb..b6f9249ddf 100644 --- a/src/api/client/ConfidentialAssets.ts +++ b/src/api/client/ConfidentialAssets.ts @@ -1,5 +1,6 @@ -import { ConfidentialAsset, Context, PolymeshError } from '~/internal'; -import { ErrorCode } from '~/types'; +import { ConfidentialAsset, Context, createConfidentialAsset, PolymeshError } from '~/internal'; +import { CreateConfidentialAssetParams, ErrorCode, ProcedureMethod } from '~/types'; +import { createProcedureMethod } from '~/utils/internal'; /** * Handles all Confidential Asset related functionality @@ -12,6 +13,13 @@ export class ConfidentialAssets { */ constructor(context: Context) { this.context = context; + + this.createConfidentialAsset = createProcedureMethod( + { + getProcedureAndArgs: args => [createConfidentialAsset, { ...args }], + }, + context + ); } /** @@ -28,10 +36,16 @@ export class ConfidentialAssets { if (!exists) { throw new PolymeshError({ code: ErrorCode.DataUnavailable, - message: `No confidential Asset exists with ID: "${id}"`, + message: 'Confidential Asset does not exists', + data: { id }, }); } return confidentialAsset; } + + /** + * Create a confidential Asset + */ + public createConfidentialAsset: ProcedureMethod; } diff --git a/src/api/client/__tests__/ConfidentialAssets.ts b/src/api/client/__tests__/ConfidentialAssets.ts index 820bfe6c41..593b916a51 100644 --- a/src/api/client/__tests__/ConfidentialAssets.ts +++ b/src/api/client/__tests__/ConfidentialAssets.ts @@ -1,7 +1,8 @@ import { ConfidentialAssets } from '~/api/client/ConfidentialAssets'; -import { ConfidentialAsset, Context } from '~/internal'; +import { ConfidentialAsset, Context, PolymeshError } from '~/internal'; import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; import { Mocked } from '~/testUtils/types'; +import { ErrorCode } from '~/types'; jest.mock( '~/api/entities/confidential/ConfidentialAsset', @@ -53,8 +54,14 @@ describe('ConfidentialAssets Class', () => { confidentialAssetOptions: { exists: false }, }); - return expect(confidentialAssets.getConfidentialAsset({ id })).rejects.toThrow( - `No confidential Asset exists with ID: "${id}"` + const expectedError = new PolymeshError({ + code: ErrorCode.DataUnavailable, + message: 'Confidential Asset does not exists', + data: { id }, + }); + + return expect(confidentialAssets.getConfidentialAsset({ id })).rejects.toThrowError( + expectedError ); }); }); diff --git a/src/api/entities/confidential/ConfidentialAsset/types.ts b/src/api/entities/confidential/ConfidentialAsset/types.ts index c83b27d702..54733ecc7a 100644 --- a/src/api/entities/confidential/ConfidentialAsset/types.ts +++ b/src/api/entities/confidential/ConfidentialAsset/types.ts @@ -16,3 +16,22 @@ export interface GroupedAuditors { auditors: ConfidentialAccount[]; mediators: Identity[]; } + +export interface CreateConfidentialAssetParams { + /** + * Custom data to be associated with the confidential Asset + */ + data: string; + /** + * optional ticker to be assigned to the confidential Asset + */ + ticker?: string; + /** + * List of auditors for the confidential Asset + */ + auditors: (ConfidentialAccount | string)[]; + /** + * optional list of mediators for the confidential Asset + */ + mediators?: (Identity | string)[]; +} diff --git a/src/api/procedures/createConfidentialAsset.ts b/src/api/procedures/createConfidentialAsset.ts new file mode 100644 index 0000000000..b2c57a0eeb --- /dev/null +++ b/src/api/procedures/createConfidentialAsset.ts @@ -0,0 +1,96 @@ +import { ISubmittableResult } from '@polkadot/types/types'; +import { hexStripPrefix } from '@polkadot/util'; + +import { ConfidentialAsset, Context, PolymeshError, Procedure } from '~/internal'; +import { CreateConfidentialAssetParams, ErrorCode, TxTags } from '~/types'; +import { ExtrinsicParams, TransactionSpec } from '~/types/internal'; +import { auditorsToConfidentialAuditors, stringToBytes, stringToTicker } from '~/utils/conversion'; +import { asConfidentialAccount, asIdentity, filterEventRecords } from '~/utils/internal'; + +/** + * @hidden + */ +export type Params = CreateConfidentialAssetParams; + +/** + * @hidden + */ +export const createConfidentialAssetResolver = + (context: Context) => + (receipt: ISubmittableResult): ConfidentialAsset => { + const [{ data }] = filterEventRecords(receipt, 'confidentialAsset', 'ConfidentialAssetCreated'); + const id = hexStripPrefix(data[1].toString()); + + return new ConfidentialAsset({ id }, context); + }; + +/** + * @hidden + */ +export async function prepareCreateAsset( + this: Procedure, + args: Params +): Promise< + TransactionSpec< + ConfidentialAsset, + ExtrinsicParams<'confidentialAsset', 'createConfidentialAsset'> + > +> { + const { + context: { + polymeshApi: { tx }, + }, + context, + } = this; + const { ticker, data, auditors, mediators } = args; + + let rawTicker = null; + if (ticker) { + rawTicker = stringToTicker(ticker, context); + } + const rawData = stringToBytes(data, context); + + const auditorAccounts = auditors.map(auditor => asConfidentialAccount(auditor, context)); + + const auditorIdentities = await Promise.all( + auditorAccounts.map(auditor => auditor.getIdentity()) + ); + + const invalidAuditors = auditorIdentities.filter(identity => identity === null); + if (invalidAuditors.length) { + throw new PolymeshError({ + code: ErrorCode.UnmetPrerequisite, + message: 'One or more auditors do not exists', + data: { + invalidAuditors, + }, + }); + } + + let mediatorIdentities; + if (mediators?.length) { + mediatorIdentities = mediators.map(mediator => asIdentity(mediator, context)); + } + + return { + transaction: tx.confidentialAsset.createConfidentialAsset, + args: [ + rawTicker, + rawData, + auditorsToConfidentialAuditors(context, auditorAccounts, mediatorIdentities), + ], + resolver: createConfidentialAssetResolver(context), + }; +} + +/** + * @hidden + */ +export const createConfidentialAsset = (): Procedure => + new Procedure(prepareCreateAsset, { + permissions: { + transactions: [TxTags.confidentialAsset.CreateConfidentialAsset], + assets: [], + portfolios: [], + }, + }); diff --git a/src/internal.ts b/src/internal.ts index 27bd6f1cd6..eca125e681 100644 --- a/src/internal.ts +++ b/src/internal.ts @@ -93,6 +93,7 @@ export { investInOffering } from '~/api/procedures/investInOffering'; export { createCheckpoint } from '~/api/procedures/createCheckpoint'; export { controllerTransfer } from '~/api/procedures/controllerTransfer'; export { linkCaDocs } from '~/api/procedures/linkCaDocs'; +export { createConfidentialAsset } from '~/api/procedures/createConfidentialAsset'; export { Identity } from '~/api/entities/Identity'; export { ChildIdentity } from '~/api/entities/Identity/ChildIdentity'; export { Account } from '~/api/entities/Account'; From 84e706f4a2c4b936acbc370df14f53c37420a868 Mon Sep 17 00:00:00 2001 From: Prashant Bajpai <34747455+prashantasdeveloper@users.noreply.github.com> Date: Sun, 21 Jan 2024 22:46:22 +0530 Subject: [PATCH 045/120] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20Add=20`Confident?= =?UTF-8?q?ialAccounts`=20namespace?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/client/ConfidentialAccounts.ts | 53 ++++++++++++++++++++++++++ src/api/client/Polymesh.ts | 7 ++++ 2 files changed, 60 insertions(+) create mode 100644 src/api/client/ConfidentialAccounts.ts diff --git a/src/api/client/ConfidentialAccounts.ts b/src/api/client/ConfidentialAccounts.ts new file mode 100644 index 0000000000..f160bda2aa --- /dev/null +++ b/src/api/client/ConfidentialAccounts.ts @@ -0,0 +1,53 @@ +import { ConfidentialAccount, Context, createConfidentialAccount, PolymeshError } from '~/internal'; +import { CreateConfidentialAccountParams, ErrorCode, ProcedureMethod } from '~/types'; +import { createProcedureMethod } from '~/utils/internal'; + +/** + * Handles all Confidential Account related functionality + */ +export class ConfidentialAccounts { + private context: Context; + + /** + * @hidden + */ + constructor(context: Context) { + this.context = context; + + this.createConfidentialAccount = createProcedureMethod( + { + getProcedureAndArgs: args => [createConfidentialAccount, { ...args }], + }, + context + ); + } + + /** + * Retrieve a ConfidentialAccount + */ + public async getConfidentialAccount(args: { publicKey: string }): Promise { + const { context } = this; + const { publicKey } = args; + + const confidentialAsset = new ConfidentialAccount({ publicKey }, context); + + const identity = await confidentialAsset.getIdentity(); + + if (!identity) { + throw new PolymeshError({ + code: ErrorCode.DataUnavailable, + message: 'No confidential Account exists', + }); + } + + return confidentialAsset; + } + + /** + * Create a confidential Account + */ + public createConfidentialAccount: ProcedureMethod< + CreateConfidentialAccountParams, + ConfidentialAccount + >; +} diff --git a/src/api/client/Polymesh.ts b/src/api/client/Polymesh.ts index 2316c29b1e..3aca498876 100644 --- a/src/api/client/Polymesh.ts +++ b/src/api/client/Polymesh.ts @@ -9,6 +9,7 @@ import { SigningManager } from '@polymeshassociation/signing-manager-types'; import fetch from 'cross-fetch'; import schema from 'polymesh-types/schema'; +import { ConfidentialAccounts } from '~/api/client/ConfidentialAccounts'; import { ConfidentialSettlements } from '~/api/client/ConfidentialSettlements'; import { Account, Context, createTransactionBatch, Identity, PolymeshError } from '~/internal'; import { @@ -121,6 +122,11 @@ export class Polymesh { */ public confidentialSettlements: ConfidentialSettlements; + /** + * A set of methods for managing confidential Accounts + */ + public confidentialAccounts: ConfidentialAccounts; + /** * @hidden */ @@ -135,6 +141,7 @@ export class Polymesh { this.assets = new Assets(context); this.confidentialAssets = new ConfidentialAssets(context); this.confidentialSettlements = new ConfidentialSettlements(context); + this.confidentialAccounts = new ConfidentialAccounts(context); this.createTransactionBatch = createProcedureMethod( { From d198ddf25c805875331ad5337dce03ea77ae63a3 Mon Sep 17 00:00:00 2001 From: Prashant Bajpai <34747455+prashantasdeveloper@users.noreply.github.com> Date: Sun, 21 Jan 2024 22:46:55 +0530 Subject: [PATCH 046/120] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20Add=20method=20t?= =?UTF-8?q?o=20create=20confidential=20account?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../confidential/ConfidentialAccount/index.ts | 4 +- .../confidential/ConfidentialAsset/types.ts | 4 ++ .../__tests__/ConfidentialAccount/index.ts | 1 - .../procedures/createConfidentialAccount.ts | 59 +++++++++++++++++++ src/internal.ts | 1 + src/utils/conversion.ts | 19 ++++++ src/utils/internal.ts | 15 +++++ 7 files changed, 100 insertions(+), 3 deletions(-) create mode 100644 src/api/procedures/createConfidentialAccount.ts diff --git a/src/api/entities/confidential/ConfidentialAccount/index.ts b/src/api/entities/confidential/ConfidentialAccount/index.ts index 8a491485ff..757391bd9a 100644 --- a/src/api/entities/confidential/ConfidentialAccount/index.ts +++ b/src/api/entities/confidential/ConfidentialAccount/index.ts @@ -1,5 +1,5 @@ import { Context, Entity, Identity } from '~/internal'; -import { identityIdToString, stringToU8aFixed } from '~/utils/conversion'; +import { identityIdToString } from '~/utils/conversion'; /** * @hidden @@ -52,7 +52,7 @@ export class ConfidentialAccount extends Entity { publicKey, } = this; - const optIdentityId = await confidentialAsset.accountDid(stringToU8aFixed(publicKey, context)); + const optIdentityId = await confidentialAsset.accountDid(publicKey); if (optIdentityId.isNone) { return null; diff --git a/src/api/entities/confidential/ConfidentialAsset/types.ts b/src/api/entities/confidential/ConfidentialAsset/types.ts index 54733ecc7a..870df2b65a 100644 --- a/src/api/entities/confidential/ConfidentialAsset/types.ts +++ b/src/api/entities/confidential/ConfidentialAsset/types.ts @@ -35,3 +35,7 @@ export interface CreateConfidentialAssetParams { */ mediators?: (Identity | string)[]; } + +export interface CreateConfidentialAccountParams { + publicKey: string; +} diff --git a/src/api/entities/confidential/__tests__/ConfidentialAccount/index.ts b/src/api/entities/confidential/__tests__/ConfidentialAccount/index.ts index 973cd478c2..244cdc8ac2 100644 --- a/src/api/entities/confidential/__tests__/ConfidentialAccount/index.ts +++ b/src/api/entities/confidential/__tests__/ConfidentialAccount/index.ts @@ -52,7 +52,6 @@ describe('ConfidentialAccount class', () => { beforeEach(() => { accountDidMock = dsMockUtils.createQueryMock('confidentialAsset', 'accountDid'); - jest.spyOn(utilsConversionModule, 'stringToU8aFixed'); }); it('should return the Identity associated to the ConfidentialAccount', async () => { diff --git a/src/api/procedures/createConfidentialAccount.ts b/src/api/procedures/createConfidentialAccount.ts new file mode 100644 index 0000000000..94aee61bca --- /dev/null +++ b/src/api/procedures/createConfidentialAccount.ts @@ -0,0 +1,59 @@ +import { ConfidentialAccount, PolymeshError, Procedure } from '~/internal'; +import { CreateConfidentialAccountParams, ErrorCode, TxTags } from '~/types'; +import { ExtrinsicParams, TransactionSpec } from '~/types/internal'; + +/** + * @hidden + */ +export type Params = CreateConfidentialAccountParams; + +/** + * @hidden + */ +export async function prepareCreateAccount( + this: Procedure, + args: Params +): Promise< + TransactionSpec> +> { + const { + context: { + polymeshApi: { tx }, + }, + context, + } = this; + + const { publicKey } = args; + + const confidentialAccount = new ConfidentialAccount({ publicKey }, context); + + const identity = await confidentialAccount.getIdentity(); + + if (identity) { + throw new PolymeshError({ + code: ErrorCode.UnmetPrerequisite, + message: 'Confidential Account already exists for the given key', + data: { + publicKey, + }, + }); + } + + return { + transaction: tx.confidentialAsset.createAccount, + args: [publicKey], + resolver: confidentialAccount, + }; +} + +/** + * @hidden + */ +export const createConfidentialAccount = (): Procedure => + new Procedure(prepareCreateAccount, { + permissions: { + transactions: [TxTags.confidentialAsset.CreateAccount], + assets: [], + portfolios: [], + }, + }); diff --git a/src/internal.ts b/src/internal.ts index eca125e681..4b42499705 100644 --- a/src/internal.ts +++ b/src/internal.ts @@ -94,6 +94,7 @@ export { createCheckpoint } from '~/api/procedures/createCheckpoint'; export { controllerTransfer } from '~/api/procedures/controllerTransfer'; export { linkCaDocs } from '~/api/procedures/linkCaDocs'; export { createConfidentialAsset } from '~/api/procedures/createConfidentialAsset'; +export { createConfidentialAccount } from '~/api/procedures/createConfidentialAccount'; export { Identity } from '~/api/entities/Identity'; export { ChildIdentity } from '~/api/entities/Identity/ChildIdentity'; export { Account } from '~/api/entities/Account'; diff --git a/src/utils/conversion.ts b/src/utils/conversion.ts index 69e3ed711d..f2e5854aff 100644 --- a/src/utils/conversion.ts +++ b/src/utils/conversion.ts @@ -3,6 +3,7 @@ import { bool, Bytes, Option, Text, u8, U8aFixed, u16, u32, u64, u128, Vec } fro import { AccountId, Balance, BlockHash, Hash, Permill } from '@polkadot/types/interfaces'; import { DispatchError, DispatchResult } from '@polkadot/types/interfaces/system'; import { + PalletConfidentialAssetConfidentialAuditors, PalletConfidentialAssetTransaction, PalletConfidentialAssetTransactionStatus, PalletCorporateActionsCaId, @@ -152,6 +153,7 @@ import { ConditionCompliance, ConditionTarget, ConditionType, + ConfidentialAccount, ConfidentialTransactionDetails, ConfidentialTransactionStatus, CorporateActionKind, @@ -3138,6 +3140,23 @@ export function identitiesToBtreeSet( return context.createType('BTreeSet', rawIds); } +/** + * @hidden + */ +export function auditorsToConfidentialAuditors( + context: Context, + auditors: ConfidentialAccount[], + mediators: Identity[] = [] +): PalletConfidentialAssetConfidentialAuditors { + const rawAccountKeys = auditors.map(({ publicKey }) => publicKey); + const rawMediatorIds = mediators.map(({ did }) => stringToIdentityId(did, context)); + + return context.createType('PalletConfidentialAssetConfidentialAuditors', { + auditors: context.createType('BTreeSet', rawAccountKeys), + mediators: context.createType('BTreeSet', rawMediatorIds), + }); +} + /** * @hidden */ diff --git a/src/utils/internal.ts b/src/utils/internal.ts index 7294500b9d..cc628e4297 100644 --- a/src/utils/internal.ts +++ b/src/utils/internal.ts @@ -34,6 +34,7 @@ import { Checkpoint, CheckpointSchedule, ChildIdentity, + ConfidentialAccount, Context, FungibleAsset, Identity, @@ -1918,3 +1919,17 @@ export function assertCaAssetValid(id: string): string { message: 'The supplied ID is not a valid confidential Asset ID', }); } + +/** + * @hidden + */ +export function asConfidentialAccount( + account: string | ConfidentialAccount, + context: Context +): ConfidentialAccount { + if (account instanceof ConfidentialAccount) { + return account; + } + + return new ConfidentialAccount({ publicKey: account }, context); +} From 0f070ac78b732362bcaf533ca0d1d848a271c980 Mon Sep 17 00:00:00 2001 From: Prashant Bajpai <34747455+prashantasdeveloper@users.noreply.github.com> Date: Mon, 22 Jan 2024 19:01:48 +0530 Subject: [PATCH 047/120] =?UTF-8?q?test:=20=F0=9F=92=8D=20add=20tests?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/client/ConfidentialAccounts.ts | 1 + .../client/__tests__/ConfidentialAccounts.ts | 90 ++++++++++ .../client/__tests__/ConfidentialAssets.ts | 30 +++- .../__tests__/createConfidentialAccount.ts | 85 +++++++++ .../__tests__/createConfidentialAsset.ts | 161 ++++++++++++++++++ src/api/procedures/createConfidentialAsset.ts | 4 +- src/testUtils/mocks/entities.ts | 13 ++ 7 files changed, 381 insertions(+), 3 deletions(-) create mode 100644 src/api/client/__tests__/ConfidentialAccounts.ts create mode 100644 src/api/procedures/__tests__/createConfidentialAccount.ts create mode 100644 src/api/procedures/__tests__/createConfidentialAsset.ts diff --git a/src/api/client/ConfidentialAccounts.ts b/src/api/client/ConfidentialAccounts.ts index f160bda2aa..e22f17d33c 100644 --- a/src/api/client/ConfidentialAccounts.ts +++ b/src/api/client/ConfidentialAccounts.ts @@ -37,6 +37,7 @@ export class ConfidentialAccounts { throw new PolymeshError({ code: ErrorCode.DataUnavailable, message: 'No confidential Account exists', + data: { publicKey }, }); } diff --git a/src/api/client/__tests__/ConfidentialAccounts.ts b/src/api/client/__tests__/ConfidentialAccounts.ts new file mode 100644 index 0000000000..0226911791 --- /dev/null +++ b/src/api/client/__tests__/ConfidentialAccounts.ts @@ -0,0 +1,90 @@ +import { when } from 'jest-when'; + +import { ConfidentialAccounts } from '~/api/client/ConfidentialAccounts'; +import { ConfidentialAccount, Context, PolymeshError, PolymeshTransaction } from '~/internal'; +import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; +import { Mocked } from '~/testUtils/types'; +import { ErrorCode } from '~/types'; + +jest.mock( + '~/api/entities/confidential/ConfidentialAccount', + require('~/testUtils/mocks/entities').mockConfidentialAccountModule( + '~/api/entities/confidential/ConfidentialAccount' + ) +); +jest.mock( + '~/base/Procedure', + require('~/testUtils/mocks/procedure').mockProcedureModule('~/base/Procedure') +); + +describe('ConfidentialAccounts Class', () => { + let context: Mocked; + let confidentialAccounts: ConfidentialAccounts; + + beforeAll(() => { + dsMockUtils.initMocks(); + entityMockUtils.initMocks(); + procedureMockUtils.initMocks(); + }); + + beforeEach(() => { + context = dsMockUtils.getContextInstance(); + confidentialAccounts = new ConfidentialAccounts(context); + }); + + afterEach(() => { + dsMockUtils.reset(); + entityMockUtils.reset(); + procedureMockUtils.reset(); + }); + + afterAll(() => { + dsMockUtils.cleanup(); + procedureMockUtils.cleanup(); + }); + + describe('method: getConfidentialAccount', () => { + const publicKey = 'someKey'; + + it('should return a specific Confidential Account if exists', async () => { + const confidentialAccount = await confidentialAccounts.getConfidentialAccount({ publicKey }); + + expect(confidentialAccount).toBeInstanceOf(ConfidentialAccount); + }); + + it('should throw if the Confidential Account does not exist', async () => { + entityMockUtils.configureMocks({ + confidentialAccountOptions: { getIdentity: null }, + }); + + const expectedError = new PolymeshError({ + code: ErrorCode.DataUnavailable, + message: 'No confidential Account exists', + data: { publicKey }, + }); + + return expect( + confidentialAccounts.getConfidentialAccount({ publicKey }) + ).rejects.toThrowError(expectedError); + }); + }); + + describe('method: createConfidentialAccount', () => { + it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { + const args = { + publicKey: 'someKey', + }; + + const expectedTransaction = + 'someTransaction' as unknown as PolymeshTransaction; + + when(procedureMockUtils.getPrepareMock()) + .calledWith({ args, transformer: undefined }, context, {}) + .mockResolvedValue(expectedTransaction); + + const tx = await confidentialAccounts.createConfidentialAccount(args); + + expect(tx).toBe(expectedTransaction); + }); + }); +}); diff --git a/src/api/client/__tests__/ConfidentialAssets.ts b/src/api/client/__tests__/ConfidentialAssets.ts index 593b916a51..39d778c5b8 100644 --- a/src/api/client/__tests__/ConfidentialAssets.ts +++ b/src/api/client/__tests__/ConfidentialAssets.ts @@ -1,5 +1,7 @@ +import { when } from 'jest-when'; + import { ConfidentialAssets } from '~/api/client/ConfidentialAssets'; -import { ConfidentialAsset, Context, PolymeshError } from '~/internal'; +import { ConfidentialAsset, Context, PolymeshError, PolymeshTransaction } from '~/internal'; import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; import { Mocked } from '~/testUtils/types'; import { ErrorCode } from '~/types'; @@ -10,6 +12,10 @@ jest.mock( '~/api/entities/confidential/ConfidentialAsset' ) ); +jest.mock( + '~/base/Procedure', + require('~/testUtils/mocks/procedure').mockProcedureModule('~/base/Procedure') +); describe('ConfidentialAssets Class', () => { let context: Mocked; @@ -65,4 +71,26 @@ describe('ConfidentialAssets Class', () => { ); }); }); + + describe('method: createConfidentialAsset', () => { + it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { + const args = { + ticker: 'FAKE_TICKER', + data: 'SOME_DATA', + auditors: ['someAuditorKey'], + mediators: ['someMediatorDid'], + }; + + const expectedTransaction = + 'someTransaction' as unknown as PolymeshTransaction; + + when(procedureMockUtils.getPrepareMock()) + .calledWith({ args, transformer: undefined }, context, {}) + .mockResolvedValue(expectedTransaction); + + const tx = await confidentialAssets.createConfidentialAsset(args); + + expect(tx).toBe(expectedTransaction); + }); + }); }); diff --git a/src/api/procedures/__tests__/createConfidentialAccount.ts b/src/api/procedures/__tests__/createConfidentialAccount.ts new file mode 100644 index 0000000000..cd6cebe58c --- /dev/null +++ b/src/api/procedures/__tests__/createConfidentialAccount.ts @@ -0,0 +1,85 @@ +import { prepareCreateAccount } from '~/api/procedures/createConfidentialAccount'; +import { ConfidentialAccount, Context } from '~/internal'; +import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; +import { Mocked } from '~/testUtils/types'; +import { CreateConfidentialAccountParams } from '~/types'; + +jest.mock( + '~/api/entities/confidential/ConfidentialAccount', + require('~/testUtils/mocks/entities').mockConfidentialAccountModule( + '~/api/entities/confidential/ConfidentialAccount' + ) +); + +describe('createConfidentialAccount procedure', () => { + let mockContext: Mocked; + + let publicKey: string; + + beforeAll(() => { + dsMockUtils.initMocks(); + procedureMockUtils.initMocks(); + entityMockUtils.initMocks(); + }); + + beforeEach(() => { + entityMockUtils.configureMocks({ + confidentialAccountOptions: { + getIdentity: null, + }, + }); + + mockContext = dsMockUtils.getContextInstance(); + publicKey = 'someKey'; + }); + + afterEach(() => { + entityMockUtils.reset(); + procedureMockUtils.reset(); + dsMockUtils.reset(); + }); + + afterAll(() => { + jest.resetAllMocks(); + procedureMockUtils.cleanup(); + dsMockUtils.cleanup(); + }); + + it('should throw an error if the public key is already linked to another confidential Account', () => { + entityMockUtils.configureMocks({ + confidentialAccountOptions: { + getIdentity: entityMockUtils.getIdentityInstance(), + }, + }); + + const proc = procedureMockUtils.getInstance< + CreateConfidentialAccountParams, + ConfidentialAccount + >(mockContext); + + return expect( + prepareCreateAccount.call(proc, { + publicKey, + }) + ).rejects.toThrow('Confidential Account already exists for the given key'); + }); + + it('should add a create CreateAccount transaction to the queue', async () => { + const proc = procedureMockUtils.getInstance< + CreateConfidentialAccountParams, + ConfidentialAccount + >(mockContext); + + const createAccountTransaction = dsMockUtils.createTxMock('confidentialAsset', 'createAccount'); + + const result = await prepareCreateAccount.call(proc, { + publicKey, + }); + + expect(result).toEqual({ + transaction: createAccountTransaction, + resolver: expect.objectContaining({ publicKey }), + args: [publicKey], + }); + }); +}); diff --git a/src/api/procedures/__tests__/createConfidentialAsset.ts b/src/api/procedures/__tests__/createConfidentialAsset.ts new file mode 100644 index 0000000000..d5f9a4d7ee --- /dev/null +++ b/src/api/procedures/__tests__/createConfidentialAsset.ts @@ -0,0 +1,161 @@ +import { + PalletConfidentialAssetConfidentialAuditors, + PolymeshPrimitivesTicker, +} from '@polkadot/types/lookup'; +import { ISubmittableResult } from '@polkadot/types/types'; +import { Bytes } from '@polkadot/types-codec'; +import { when } from 'jest-when'; + +import { + createConfidentialAssetResolver, + prepareCreateConfidentialAsset, +} from '~/api/procedures/createConfidentialAsset'; +import { ConfidentialAsset, Context, Identity, PolymeshError } from '~/internal'; +import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; +import { Mocked } from '~/testUtils/types'; +import { ConfidentialAccount, CreateConfidentialAssetParams, ErrorCode } from '~/types'; +import * as utilsConversionModule from '~/utils/conversion'; +import * as utilsInternalModule from '~/utils/internal'; + +describe('createConfidentialAsset procedure', () => { + let mockContext: Mocked; + + let ticker: string; + let rawTicker: PolymeshPrimitivesTicker; + let data: string; + let rawData: Bytes; + let auditors: ConfidentialAccount[]; + let mediators: Identity[]; + let rawAuditors: PalletConfidentialAssetConfidentialAuditors; + let stringToTickerSpy: jest.SpyInstance; + let stringToBytesSpy: jest.SpyInstance; + let auditorsToConfidentialAuditorsSpy: jest.SpyInstance; + + beforeAll(() => { + dsMockUtils.initMocks(); + procedureMockUtils.initMocks(); + entityMockUtils.initMocks(); + + stringToTickerSpy = jest.spyOn(utilsConversionModule, 'stringToTicker'); + stringToBytesSpy = jest.spyOn(utilsConversionModule, 'stringToBytes'); + auditorsToConfidentialAuditorsSpy = jest.spyOn( + utilsConversionModule, + 'auditorsToConfidentialAuditors' + ); + }); + + beforeEach(() => { + mockContext = dsMockUtils.getContextInstance(); + auditors = [entityMockUtils.getConfidentialAccountInstance()]; + mediators = [ + entityMockUtils.getIdentityInstance({ + did: 'someMediatorDid', + }), + ]; + + rawAuditors = dsMockUtils.createMockConfidentialAuditors({ + auditors: ['somePublicKey'], + mediators: ['someMediatorDid'], + }); + + ticker = 'SOME_TICKER'; + rawTicker = dsMockUtils.createMockTicker(ticker); + data = 'SOME_DATA'; + rawData = dsMockUtils.createMockBytes(data); + + when(stringToTickerSpy).calledWith(ticker, mockContext).mockReturnValue(rawTicker); + when(stringToBytesSpy).calledWith(data, mockContext).mockReturnValue(rawData); + when(auditorsToConfidentialAuditorsSpy) + .calledWith(mockContext, auditors, mediators) + .mockReturnValue(rawAuditors); + }); + + afterEach(() => { + entityMockUtils.reset(); + procedureMockUtils.reset(); + dsMockUtils.reset(); + }); + + afterAll(() => { + jest.resetAllMocks(); + procedureMockUtils.cleanup(); + dsMockUtils.cleanup(); + }); + + it('should throw an error if one or more auditors is not linked to an Identity', () => { + const proc = procedureMockUtils.getInstance( + mockContext + ); + const invalidAuditors = [ + ...auditors, + entityMockUtils.getConfidentialAccountInstance({ + getIdentity: null, + }), + ]; + const expectedError = new PolymeshError({ + code: ErrorCode.UnmetPrerequisite, + message: 'One or more auditors do not exists', + data: { + invalidAuditors, + }, + }); + return expect( + prepareCreateConfidentialAsset.call(proc, { + ticker, + data, + auditors: invalidAuditors, + mediators, + }) + ).rejects.toThrowError(expectedError); + }); + + it('should add a create CreateConfidentialAsset transaction to the queue', async () => { + const proc = procedureMockUtils.getInstance( + mockContext + ); + + const createConfidentialAssetTransaction = dsMockUtils.createTxMock( + 'confidentialAsset', + 'createConfidentialAsset' + ); + + const result = await prepareCreateConfidentialAsset.call(proc, { + ticker, + data, + auditors, + mediators, + }); + + expect(result).toEqual({ + transaction: createConfidentialAssetTransaction, + resolver: expect.any(Function), + args: [rawTicker, rawData, rawAuditors], + }); + }); + + describe('createConfidentialAssetResolver', () => { + const filterEventRecordsSpy = jest.spyOn(utilsInternalModule, 'filterEventRecords'); + const did = 'someDid'; + const rawIdentityId = dsMockUtils.createMockIdentityId(did); + const rawConfidentialAsset = '0x76702175d8cbe3a55a19734433351e25'; + + beforeEach(() => { + filterEventRecordsSpy.mockReturnValue([ + dsMockUtils.createMockIEvent([rawIdentityId, rawConfidentialAsset]), + ]); + }); + + afterEach(() => { + jest.resetAllMocks(); + filterEventRecordsSpy.mockReset(); + }); + + it('should return the new ConfidentialAsset', () => { + const fakeContext = {} as Context; + + const result = createConfidentialAssetResolver(fakeContext)({} as ISubmittableResult); + + expect(result.id).toEqual('76702175-d8cb-e3a5-5a19-734433351e25'); + }); + }); +}); diff --git a/src/api/procedures/createConfidentialAsset.ts b/src/api/procedures/createConfidentialAsset.ts index b2c57a0eeb..90bd88d797 100644 --- a/src/api/procedures/createConfidentialAsset.ts +++ b/src/api/procedures/createConfidentialAsset.ts @@ -27,7 +27,7 @@ export const createConfidentialAssetResolver = /** * @hidden */ -export async function prepareCreateAsset( +export async function prepareCreateConfidentialAsset( this: Procedure, args: Params ): Promise< @@ -87,7 +87,7 @@ export async function prepareCreateAsset( * @hidden */ export const createConfidentialAsset = (): Procedure => - new Procedure(prepareCreateAsset, { + new Procedure(prepareCreateConfidentialAsset, { permissions: { transactions: [TxTags.confidentialAsset.CreateConfidentialAsset], assets: [], diff --git a/src/testUtils/mocks/entities.ts b/src/testUtils/mocks/entities.ts index cee675d2aa..3aaec10af2 100644 --- a/src/testUtils/mocks/entities.ts +++ b/src/testUtils/mocks/entities.ts @@ -124,6 +124,7 @@ export type MockCustomPermissionGroup = Mocked; export type MockKnownPermissionGroup = Mocked; export type MockMultiSig = Mocked; export type MockMultiSigProposal = Mocked; +export type MockConfidentialAccount = Mocked; interface EntityOptions { exists?: boolean; @@ -2810,3 +2811,15 @@ export const getMultiSigProposalInstance = ( return instance as unknown as MockMultiSigProposal; }; + +export const getConfidentialAccountInstance = ( + opts?: ConfidentialAccountOptions +): MockConfidentialAccount => { + const instance = new MockConfidentialAccountClass(); + + if (opts) { + instance.configure(opts); + } + + return instance as unknown as MockConfidentialAccount; +}; From e6713630862bc216608e923bb201f6e88cee5300 Mon Sep 17 00:00:00 2001 From: Prashant Bajpai <34747455+prashantasdeveloper@users.noreply.github.com> Date: Mon, 22 Jan 2024 20:01:38 +0530 Subject: [PATCH 048/120] =?UTF-8?q?test:=20=F0=9F=92=8D=20Add=20tests?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../__tests__/createConfidentialAsset.ts | 1 - src/utils/__tests__/conversion.ts | 42 +++++++++++++++++++ src/utils/__tests__/internal.ts | 39 +++++++++++++++++ 3 files changed, 81 insertions(+), 1 deletion(-) diff --git a/src/api/procedures/__tests__/createConfidentialAsset.ts b/src/api/procedures/__tests__/createConfidentialAsset.ts index d5f9a4d7ee..ff7333e9ad 100644 --- a/src/api/procedures/__tests__/createConfidentialAsset.ts +++ b/src/api/procedures/__tests__/createConfidentialAsset.ts @@ -104,7 +104,6 @@ describe('createConfidentialAsset procedure', () => { ticker, data, auditors: invalidAuditors, - mediators, }) ).rejects.toThrowError(expectedError); }); diff --git a/src/utils/__tests__/conversion.ts b/src/utils/__tests__/conversion.ts index bfabd53c7a..cab8aa5a27 100644 --- a/src/utils/__tests__/conversion.ts +++ b/src/utils/__tests__/conversion.ts @@ -10,6 +10,8 @@ import { Permill, } from '@polkadot/types/interfaces'; import { + PalletConfidentialAssetAuditorAccount, + PalletConfidentialAssetConfidentialAuditors, PalletConfidentialAssetTransaction, PalletConfidentialAssetTransactionStatus, PalletCorporateActionsCaId, @@ -72,6 +74,7 @@ import { import { UnreachableCaseError } from '~/api/procedures/utils'; import { Account, + ConfidentialAccount, Context, DefaultPortfolio, Identity, @@ -173,6 +176,7 @@ import { assetDocumentToDocument, assetIdentifierToSecurityIdentifier, assetTypeToKnownOrId, + auditorsToConfidentialAuditors, authorizationDataToAuthorization, authorizationToAuthorizationData, authorizationTypeToMeshAuthorizationType, @@ -7829,6 +7833,44 @@ describe('agentGroupToPermissionGroup', () => { }); }); + describe('auditorsToConfidentialAuditors', () => { + it('should convert auditors and mediators to PalletConfidentialAssetConfidentialAuditors', () => { + const context = dsMockUtils.getContextInstance(); + + const auditors = ['auditor']; + const mediators = ['mediator1', 'mediator2']; + mediators.forEach(did => + when(context.createType) + .calledWith('PolymeshPrimitivesIdentityId', did) + .mockReturnValue(did as unknown as PolymeshPrimitivesIdentityId) + ); + + when(context.createType) + .calledWith('BTreeSet', auditors) + .mockReturnValue(auditors as unknown as BTreeSet); + when(context.createType) + .calledWith('BTreeSet', mediators) + .mockReturnValue(mediators as unknown as BTreeSet); + + when(context.createType) + .calledWith('PalletConfidentialAssetConfidentialAuditors', { + auditors, + mediators, + }) + .mockReturnValue({ + auditors, + mediators, + } as unknown as PalletConfidentialAssetConfidentialAuditors); + + const result = auditorsToConfidentialAuditors( + context, + auditors.map(auditor => ({ publicKey: auditor })) as unknown as ConfidentialAccount[], + mediators.map(mediator => ({ did: mediator })) as unknown as Identity[] + ); + expect(result).toEqual({ auditors, mediators }); + }); + }); + describe('statisticsOpTypeToStatType', () => { it('should return a statType', () => { const op = 'MaxInvestorCount' as unknown as PolymeshPrimitivesStatisticsStatOpType; diff --git a/src/utils/__tests__/internal.ts b/src/utils/__tests__/internal.ts index 8bdf090f13..8a78916933 100644 --- a/src/utils/__tests__/internal.ts +++ b/src/utils/__tests__/internal.ts @@ -13,6 +13,7 @@ import { when } from 'jest-when'; import { Account, + ConfidentialAccount, Context, FungibleAsset, Identity, @@ -64,6 +65,7 @@ import { areSameClaims, asAccount, asChildIdentity, + asConfidentialAccount, asFungibleAsset, asNftId, assertAddressValid, @@ -2326,3 +2328,40 @@ describe('assetCaAssetValid', () => { expect(() => assertCaAssetValid('7670-2175d8cb-e3a55a-1973443-3351e25')).toThrow(expectedError); }); }); + +describe('asConfidentialAccount', () => { + let context: Context; + let publicKey: string; + let confidentialAccount: ConfidentialAccount; + + beforeAll(() => { + dsMockUtils.initMocks(); + entityMockUtils.initMocks(); + publicKey = 'someKey'; + }); + + beforeEach(() => { + context = dsMockUtils.getContextInstance(); + confidentialAccount = new ConfidentialAccount({ publicKey }, context); + }); + + afterEach(() => { + dsMockUtils.reset(); + }); + + afterAll(() => { + dsMockUtils.cleanup(); + }); + + it('should return ConfidentialAccount for given public key', async () => { + const result = asConfidentialAccount(publicKey, context); + + expect(result).toEqual(expect.objectContaining({ publicKey })); + }); + + it('should return the passed ConfidentialAccount', async () => { + const result = asConfidentialAccount(confidentialAccount, context); + + expect(result).toBe(confidentialAccount); + }); +}); From c57b3acb1e33f2bc3c201d781eefb29aa630e52f Mon Sep 17 00:00:00 2001 From: Prashant Bajpai <34747455+prashantasdeveloper@users.noreply.github.com> Date: Mon, 22 Jan 2024 20:29:31 +0530 Subject: [PATCH 049/120] =?UTF-8?q?test:=20=F0=9F=92=8D=20Add=20tests=20fo?= =?UTF-8?q?r=20100%=20coverage?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../__tests__/createConfidentialAsset.ts | 19 ++++++++++++++++- src/utils/__tests__/conversion.ts | 21 ++++++++++++++++++- 2 files changed, 38 insertions(+), 2 deletions(-) diff --git a/src/api/procedures/__tests__/createConfidentialAsset.ts b/src/api/procedures/__tests__/createConfidentialAsset.ts index ff7333e9ad..93af1f30ea 100644 --- a/src/api/procedures/__tests__/createConfidentialAsset.ts +++ b/src/api/procedures/__tests__/createConfidentialAsset.ts @@ -118,7 +118,7 @@ describe('createConfidentialAsset procedure', () => { 'createConfidentialAsset' ); - const result = await prepareCreateConfidentialAsset.call(proc, { + let result = await prepareCreateConfidentialAsset.call(proc, { ticker, data, auditors, @@ -130,6 +130,23 @@ describe('createConfidentialAsset procedure', () => { resolver: expect.any(Function), args: [rawTicker, rawData, rawAuditors], }); + + when(auditorsToConfidentialAuditorsSpy) + .calledWith(mockContext, auditors, undefined) + .mockReturnValue(rawAuditors); + + result = await prepareCreateConfidentialAsset.call(proc, { + ticker, + data, + auditors, + mediators: [], + }); + + expect(result).toEqual({ + transaction: createConfidentialAssetTransaction, + resolver: expect.any(Function), + args: [rawTicker, rawData, rawAuditors], + }); }); describe('createConfidentialAssetResolver', () => { diff --git a/src/utils/__tests__/conversion.ts b/src/utils/__tests__/conversion.ts index cab8aa5a27..21578af165 100644 --- a/src/utils/__tests__/conversion.ts +++ b/src/utils/__tests__/conversion.ts @@ -7862,12 +7862,31 @@ describe('agentGroupToPermissionGroup', () => { mediators, } as unknown as PalletConfidentialAssetConfidentialAuditors); - const result = auditorsToConfidentialAuditors( + let result = auditorsToConfidentialAuditors( context, auditors.map(auditor => ({ publicKey: auditor })) as unknown as ConfidentialAccount[], mediators.map(mediator => ({ did: mediator })) as unknown as Identity[] ); expect(result).toEqual({ auditors, mediators }); + + when(context.createType) + .calledWith('BTreeSet', []) + .mockReturnValue([] as unknown as BTreeSet); + when(context.createType) + .calledWith('PalletConfidentialAssetConfidentialAuditors', { + auditors, + mediators: [], + }) + .mockReturnValue({ + auditors, + mediators: [], + } as unknown as PalletConfidentialAssetConfidentialAuditors); + + result = auditorsToConfidentialAuditors( + context, + auditors.map(auditor => ({ publicKey: auditor })) as unknown as ConfidentialAccount[] + ); + expect(result).toEqual({ auditors, mediators: [] }); }); }); From 4e634fd60d61e471c1685faa9b7bb5bf9dcd26d1 Mon Sep 17 00:00:00 2001 From: Eric Richardson Date: Mon, 22 Jan 2024 10:50:16 -0500 Subject: [PATCH 050/120] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20add=20`onStatusC?= =?UTF-8?q?hange`=20to=20confidential=20transaction?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit allows for subscription to confidential transaction status changes ✅ Closes: DA-995 --- .../ConfidentialTransaction/index.ts | 46 +++++++++- .../ConfidentialTransaction/index.ts | 84 ++++++++++++++++++- 2 files changed, 128 insertions(+), 2 deletions(-) diff --git a/src/api/entities/confidential/ConfidentialTransaction/index.ts b/src/api/entities/confidential/ConfidentialTransaction/index.ts index 2194d1de9b..e3d9050004 100644 --- a/src/api/entities/confidential/ConfidentialTransaction/index.ts +++ b/src/api/entities/confidential/ConfidentialTransaction/index.ts @@ -1,7 +1,15 @@ +import { Option } from '@polkadot/types'; +import { PalletConfidentialAssetTransactionStatus } from '@polkadot/types/lookup'; import BigNumber from 'bignumber.js'; import { Context, Entity, PolymeshError } from '~/internal'; -import { ConfidentialTransactionDetails, ErrorCode } from '~/types'; +import { + ConfidentialTransactionDetails, + ConfidentialTransactionStatus, + ErrorCode, + SubCallback, + UnsubCallback, +} from '~/types'; import { bigNumberToU64, meshConfidentialTransactionDetailsToDetails, @@ -81,6 +89,42 @@ export class ConfidentialTransaction extends Entity { }; } + /** + * Retrieve current status of the ConfidentialTransaction. This can be subscribed to know if transaction fails + * + * @note can be subscribed to + */ + public async onStatusChange( + callback: SubCallback + ): Promise { + const { + context: { + polymeshApi: { + query: { confidentialAsset }, + }, + }, + id, + context, + } = this; + + const assembleResult = ( + rawStatus: Option + ): ConfidentialTransactionStatus => { + if (rawStatus.isNone) { + throw new PolymeshError({ + code: ErrorCode.DataUnavailable, + message: 'The status of the transaction was not found', + }); + } + + return meshConfidentialTransactionStatusToStatus(rawStatus.unwrap()); + }; + + return confidentialAsset.transactionStatuses(bigNumberToU64(id, context), status => { + return callback(assembleResult(status)); + }); + } + /** * Determine whether this settlement Transaction exists on chain (or existed and was pruned) */ diff --git a/src/api/entities/confidential/__tests__/ConfidentialTransaction/index.ts b/src/api/entities/confidential/__tests__/ConfidentialTransaction/index.ts index c66d18ae7e..71836d8227 100644 --- a/src/api/entities/confidential/__tests__/ConfidentialTransaction/index.ts +++ b/src/api/entities/confidential/__tests__/ConfidentialTransaction/index.ts @@ -1,13 +1,16 @@ import BigNumber from 'bignumber.js'; +import { when } from 'jest-when'; import { ConfidentialTransaction, Context, Entity, PolymeshError } from '~/internal'; import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; import { createMockConfidentialAssetTransaction, + createMockConfidentialTransactionStatus, createMockOption, } from '~/testUtils/mocks/dataSources'; import { Mocked } from '~/testUtils/types'; -import { ConfidentialTransactionStatus, ErrorCode } from '~/types'; +import { ConfidentialTransactionStatus, ErrorCode, UnsubCallback } from '~/types'; +import * as utilsConversionModule from '~/utils/conversion'; describe('ConfidentialTransaction class', () => { let context: Mocked; @@ -149,6 +152,85 @@ describe('ConfidentialTransaction class', () => { }); }); + describe('method: onStatusChange', () => { + let bigNumberToU64Spy: jest.SpyInstance; + let instructionStatusesMock: jest.Mock; + const rawId = dsMockUtils.createMockU64(new BigNumber(1)); + + afterAll(() => { + jest.restoreAllMocks(); + }); + + beforeAll(() => { + bigNumberToU64Spy = jest.spyOn(utilsConversionModule, 'bigNumberToU64'); + }); + + beforeEach(() => { + const owner = 'someDid'; + entityMockUtils.configureMocks({ identityOptions: { did: owner } }); + when(bigNumberToU64Spy).calledWith(id, context).mockReturnValue(rawId); + + instructionStatusesMock = dsMockUtils.createQueryMock( + 'confidentialAsset', + 'transactionStatuses' + ); + }); + + it('should allow subscription', async () => { + const unsubCallback = 'unsubCallback' as unknown as Promise; + const callback = jest.fn(); + + const mockPendingStatus = dsMockUtils.createMockConfidentialTransactionStatus( + ConfidentialTransactionStatus.Pending + ); + const mockPending = dsMockUtils.createMockOption( + createMockConfidentialTransactionStatus(ConfidentialTransactionStatus.Pending) + ); + instructionStatusesMock.mockImplementationOnce(async (_, cbFunc) => { + cbFunc(mockPending); + return unsubCallback; + }); + + when(instructionStatusesMock).calledWith(rawId).mockResolvedValue(mockPendingStatus); + + let result = await transaction.onStatusChange(callback); + + expect(result).toEqual(unsubCallback); + expect(callback).toBeCalledWith(ConfidentialTransactionStatus.Pending); + + const mockRejectedStatus = dsMockUtils.createMockOption( + dsMockUtils.createMockInstructionStatus(ConfidentialTransactionStatus.Rejected) + ); + + instructionStatusesMock.mockImplementationOnce(async (_, cbFunc) => { + cbFunc(mockRejectedStatus); + return unsubCallback; + }); + + result = await transaction.onStatusChange(callback); + + expect(result).toEqual(unsubCallback); + expect(callback).toBeCalledWith(ConfidentialTransactionStatus.Rejected); + }); + + it('should error missing transaction status', () => { + const unsubCallback = 'unsubCallback' as unknown as Promise; + const callback = jest.fn(); + + instructionStatusesMock.mockImplementationOnce(async (_, cbFunc) => { + cbFunc(dsMockUtils.createMockOption()); + return unsubCallback; + }); + + const expectedError = new PolymeshError({ + code: ErrorCode.DataUnavailable, + message: 'The status of the transaction was not found', + }); + + return expect(transaction.onStatusChange(callback)).rejects.toThrow(expectedError); + }); + }); + describe('method: toHuman', () => { it('should return a human readable version of the entity', () => { expect(transaction.toHuman()).toBe('1'); From a1493c5bc140ec1e98cf59a7079f8fff2752fefd Mon Sep 17 00:00:00 2001 From: Eric Richardson Date: Mon, 22 Jan 2024 13:27:31 -0500 Subject: [PATCH 051/120] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20add=20`getInvolv?= =?UTF-8?q?edParties`=20to=20ConfidentialTransaction?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit add method to fetch involved parties in a transaction ✅ Closes: DA-991 --- .../ConfidentialTransaction/index.ts | 40 +++++++++++++++++- .../ConfidentialTransaction/index.ts | 42 +++++++++++++++++++ 2 files changed, 81 insertions(+), 1 deletion(-) diff --git a/src/api/entities/confidential/ConfidentialTransaction/index.ts b/src/api/entities/confidential/ConfidentialTransaction/index.ts index 2194d1de9b..c95a45c347 100644 --- a/src/api/entities/confidential/ConfidentialTransaction/index.ts +++ b/src/api/entities/confidential/ConfidentialTransaction/index.ts @@ -1,9 +1,10 @@ import BigNumber from 'bignumber.js'; -import { Context, Entity, PolymeshError } from '~/internal'; +import { Context, Entity, Identity, PolymeshError } from '~/internal'; import { ConfidentialTransactionDetails, ErrorCode } from '~/types'; import { bigNumberToU64, + identityIdToString, meshConfidentialTransactionDetailsToDetails, meshConfidentialTransactionStatusToStatus, u64ToBigNumber, @@ -81,6 +82,43 @@ export class ConfidentialTransaction extends Entity { }; } + /** + * Returns the identities involved in this transaction + * + * @throws if the transaction has been completed + */ + public async getInvolvedParties(): Promise { + const { + id, + context, + context: { + polymeshApi: { + query: { confidentialAsset }, + }, + }, + } = this; + + const rawId = bigNumberToU64(id, context); + + const rawDids = await confidentialAsset.transactionParties.entries(rawId); + + if (rawDids.length === 0) { + throw new PolymeshError({ + code: ErrorCode.DataUnavailable, + message: + 'No involved parties were found for this transaction. Its likely been completed and the chain storage has been pruned', + data: { id }, + }); + } + + return rawDids.map(([key]) => { + const rawDid = key.args[1]; + const did = identityIdToString(rawDid); + + return new Identity({ did }, context); + }); + } + /** * Determine whether this settlement Transaction exists on chain (or existed and was pruned) */ diff --git a/src/api/entities/confidential/__tests__/ConfidentialTransaction/index.ts b/src/api/entities/confidential/__tests__/ConfidentialTransaction/index.ts index c66d18ae7e..8a22a535a1 100644 --- a/src/api/entities/confidential/__tests__/ConfidentialTransaction/index.ts +++ b/src/api/entities/confidential/__tests__/ConfidentialTransaction/index.ts @@ -8,6 +8,7 @@ import { } from '~/testUtils/mocks/dataSources'; import { Mocked } from '~/testUtils/types'; import { ConfidentialTransactionStatus, ErrorCode } from '~/types'; +import { tuple } from '~/types/utils'; describe('ConfidentialTransaction class', () => { let context: Mocked; @@ -149,6 +150,47 @@ describe('ConfidentialTransaction class', () => { }); }); + describe('method: getInvolvedParties', () => { + it('should get involved parties for the transaction', async () => { + const rawId = dsMockUtils.createMockU64(transaction.id); + dsMockUtils.createQueryMock('confidentialAsset', 'transactionParties', { + entries: [ + tuple( + [rawId, dsMockUtils.createMockIdentityId('0x01')], + dsMockUtils.createMockBool(true) + ), + tuple( + [rawId, dsMockUtils.createMockIdentityId('0x02')], + dsMockUtils.createMockBool(true) + ), + ], + }); + + const result = await transaction.getInvolvedParties(); + + expect(result).toEqual( + expect.arrayContaining([ + expect.objectContaining({ did: '0x01' }), + expect.objectContaining({ did: '0x02' }), + ]) + ); + }); + + it('should throw an error if no parties are found', async () => { + dsMockUtils.createQueryMock('confidentialAsset', 'transactionParties', { + entries: [], + }); + + const expectedError = new PolymeshError({ + code: ErrorCode.DataUnavailable, + message: + 'No involved parties were found for this transaction. Its likely been completed and the chain storage has been pruned', + }); + + return expect(transaction.getInvolvedParties()).rejects.toThrow(expectedError); + }); + }); + describe('method: toHuman', () => { it('should return a human readable version of the entity', () => { expect(transaction.toHuman()).toBe('1'); From b495f0b3813ffdfaae3ee10c28e4e097eed8557f Mon Sep 17 00:00:00 2001 From: Prashant Bajpai <34747455+prashantasdeveloper@users.noreply.github.com> Date: Tue, 23 Jan 2024 14:11:10 +0530 Subject: [PATCH 052/120] =?UTF-8?q?test:=20=F0=9F=92=8D=20100%=20coverage?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../procedures/__tests__/createConfidentialAsset.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/api/procedures/__tests__/createConfidentialAsset.ts b/src/api/procedures/__tests__/createConfidentialAsset.ts index 93af1f30ea..557a172b5d 100644 --- a/src/api/procedures/__tests__/createConfidentialAsset.ts +++ b/src/api/procedures/__tests__/createConfidentialAsset.ts @@ -147,6 +147,18 @@ describe('createConfidentialAsset procedure', () => { resolver: expect.any(Function), args: [rawTicker, rawData, rawAuditors], }); + + result = await prepareCreateConfidentialAsset.call(proc, { + ticker, + data, + auditors, + }); + + expect(result).toEqual({ + transaction: createConfidentialAssetTransaction, + resolver: expect.any(Function), + args: [rawTicker, rawData, rawAuditors], + }); }); describe('createConfidentialAssetResolver', () => { From 398e40d77ffb2df59e3d374d1e56a47700266bf7 Mon Sep 17 00:00:00 2001 From: Eric Richardson Date: Tue, 23 Jan 2024 08:52:37 -0500 Subject: [PATCH 053/120] =?UTF-8?q?style:=20=F0=9F=92=84=20remove=20unneed?= =?UTF-8?q?ed=20async?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../confidential/__tests__/ConfidentialTransaction/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/entities/confidential/__tests__/ConfidentialTransaction/index.ts b/src/api/entities/confidential/__tests__/ConfidentialTransaction/index.ts index 8a22a535a1..470e9aac45 100644 --- a/src/api/entities/confidential/__tests__/ConfidentialTransaction/index.ts +++ b/src/api/entities/confidential/__tests__/ConfidentialTransaction/index.ts @@ -176,7 +176,7 @@ describe('ConfidentialTransaction class', () => { ); }); - it('should throw an error if no parties are found', async () => { + it('should throw an error if no parties are found', () => { dsMockUtils.createQueryMock('confidentialAsset', 'transactionParties', { entries: [], }); From 40df57d7c6afeb48dcb8ea97d00b695bef0d2d39 Mon Sep 17 00:00:00 2001 From: Eric Richardson Date: Tue, 23 Jan 2024 08:57:19 -0500 Subject: [PATCH 054/120] =?UTF-8?q?style:=20=F0=9F=92=84=20address=20PR=20?= =?UTF-8?q?comments?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../__tests__/ConfidentialTransaction/index.ts | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/src/api/entities/confidential/__tests__/ConfidentialTransaction/index.ts b/src/api/entities/confidential/__tests__/ConfidentialTransaction/index.ts index 71836d8227..f24bf6dad3 100644 --- a/src/api/entities/confidential/__tests__/ConfidentialTransaction/index.ts +++ b/src/api/entities/confidential/__tests__/ConfidentialTransaction/index.ts @@ -1,3 +1,4 @@ +import { u64 } from '@polkadot/types'; import BigNumber from 'bignumber.js'; import { when } from 'jest-when'; @@ -154,8 +155,8 @@ describe('ConfidentialTransaction class', () => { describe('method: onStatusChange', () => { let bigNumberToU64Spy: jest.SpyInstance; - let instructionStatusesMock: jest.Mock; - const rawId = dsMockUtils.createMockU64(new BigNumber(1)); + let transactionStatusesMock: jest.Mock; + let rawId: u64; afterAll(() => { jest.restoreAllMocks(); @@ -167,10 +168,11 @@ describe('ConfidentialTransaction class', () => { beforeEach(() => { const owner = 'someDid'; + rawId = dsMockUtils.createMockU64(new BigNumber(1)); entityMockUtils.configureMocks({ identityOptions: { did: owner } }); when(bigNumberToU64Spy).calledWith(id, context).mockReturnValue(rawId); - instructionStatusesMock = dsMockUtils.createQueryMock( + transactionStatusesMock = dsMockUtils.createQueryMock( 'confidentialAsset', 'transactionStatuses' ); @@ -186,12 +188,12 @@ describe('ConfidentialTransaction class', () => { const mockPending = dsMockUtils.createMockOption( createMockConfidentialTransactionStatus(ConfidentialTransactionStatus.Pending) ); - instructionStatusesMock.mockImplementationOnce(async (_, cbFunc) => { + transactionStatusesMock.mockImplementationOnce(async (_, cbFunc) => { cbFunc(mockPending); return unsubCallback; }); - when(instructionStatusesMock).calledWith(rawId).mockResolvedValue(mockPendingStatus); + when(transactionStatusesMock).calledWith(rawId).mockResolvedValue(mockPendingStatus); let result = await transaction.onStatusChange(callback); @@ -202,7 +204,7 @@ describe('ConfidentialTransaction class', () => { dsMockUtils.createMockInstructionStatus(ConfidentialTransactionStatus.Rejected) ); - instructionStatusesMock.mockImplementationOnce(async (_, cbFunc) => { + transactionStatusesMock.mockImplementationOnce(async (_, cbFunc) => { cbFunc(mockRejectedStatus); return unsubCallback; }); @@ -217,7 +219,7 @@ describe('ConfidentialTransaction class', () => { const unsubCallback = 'unsubCallback' as unknown as Promise; const callback = jest.fn(); - instructionStatusesMock.mockImplementationOnce(async (_, cbFunc) => { + transactionStatusesMock.mockImplementationOnce(async (_, cbFunc) => { cbFunc(dsMockUtils.createMockOption()); return unsubCallback; }); From befd1a8bced761ee2f429d18fbfc07eb90f6a1d5 Mon Sep 17 00:00:00 2001 From: Prashant Bajpai <34747455+prashantasdeveloper@users.noreply.github.com> Date: Tue, 23 Jan 2024 22:28:31 +0530 Subject: [PATCH 055/120] =?UTF-8?q?chore:=20=F0=9F=A4=96=20address=20pr=20?= =?UTF-8?q?comments?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/entities/confidential/ConfidentialAsset/types.ts | 8 ++++---- src/api/procedures/__tests__/createConfidentialAccount.ts | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/api/entities/confidential/ConfidentialAsset/types.ts b/src/api/entities/confidential/ConfidentialAsset/types.ts index 870df2b65a..85243363bd 100644 --- a/src/api/entities/confidential/ConfidentialAsset/types.ts +++ b/src/api/entities/confidential/ConfidentialAsset/types.ts @@ -19,19 +19,19 @@ export interface GroupedAuditors { export interface CreateConfidentialAssetParams { /** - * Custom data to be associated with the confidential Asset + * custom data to be associated with the Confidential Asset */ data: string; /** - * optional ticker to be assigned to the confidential Asset + * optional ticker to be assigned to the Confidential Asset */ ticker?: string; /** - * List of auditors for the confidential Asset + * list of auditors for the Confidential Asset */ auditors: (ConfidentialAccount | string)[]; /** - * optional list of mediators for the confidential Asset + * optional list of mediators for the Confidential Asset */ mediators?: (Identity | string)[]; } diff --git a/src/api/procedures/__tests__/createConfidentialAccount.ts b/src/api/procedures/__tests__/createConfidentialAccount.ts index cd6cebe58c..deb5a0d4d7 100644 --- a/src/api/procedures/__tests__/createConfidentialAccount.ts +++ b/src/api/procedures/__tests__/createConfidentialAccount.ts @@ -45,7 +45,7 @@ describe('createConfidentialAccount procedure', () => { dsMockUtils.cleanup(); }); - it('should throw an error if the public key is already linked to another confidential Account', () => { + it('should throw an error if the public key is already linked to another Confidential Account', () => { entityMockUtils.configureMocks({ confidentialAccountOptions: { getIdentity: entityMockUtils.getIdentityInstance(), From 3109cc2fc4a66ac8516724e00bb3941a59424d84 Mon Sep 17 00:00:00 2001 From: Prashant Bajpai <34747455+prashantasdeveloper@users.noreply.github.com> Date: Wed, 24 Jan 2024 16:30:39 +0530 Subject: [PATCH 056/120] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20Add=20method=20t?= =?UTF-8?q?o=20issue=20confidential=20assets?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/entities/Identity/__tests__/index.ts | 37 ++++ src/api/entities/Identity/index.ts | 9 + .../confidential/ConfidentialAsset/index.ts | 35 +++- .../confidential/ConfidentialAsset/types.ts | 11 ++ .../__tests__/ConfidentialAsset/index.ts | 30 ++- .../__tests__/issueConfidentialAssets.ts | 183 ++++++++++++++++++ src/api/procedures/issueConfidentialAssets.ts | 109 +++++++++++ src/internal.ts | 1 + src/testUtils/mocks/entities.ts | 13 ++ src/types/index.ts | 9 +- src/utils/typeguards.ts | 8 + 11 files changed, 439 insertions(+), 6 deletions(-) create mode 100644 src/api/procedures/__tests__/issueConfidentialAssets.ts create mode 100644 src/api/procedures/issueConfidentialAssets.ts diff --git a/src/api/entities/Identity/__tests__/index.ts b/src/api/entities/Identity/__tests__/index.ts index 98bd740d6d..5e3ae2ab3a 100644 --- a/src/api/entities/Identity/__tests__/index.ts +++ b/src/api/entities/Identity/__tests__/index.ts @@ -30,6 +30,7 @@ import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mo import { MockContext } from '~/testUtils/mocks/dataSources'; import { Account, + ConfidentialAssetOwnerRole, DistributionWithDetails, ErrorCode, HistoricInstruction, @@ -65,6 +66,12 @@ jest.mock( '~/api/entities/Venue', require('~/testUtils/mocks/entities').mockVenueModule('~/api/entities/Venue') ); +jest.mock( + '~/api/entities/confidential/ConfidentialAsset', + require('~/testUtils/mocks/entities').mockConfidentialAssetModule( + '~/api/entities/confidential/ConfidentialAsset' + ) +); jest.mock( '~/api/entities/NumberedPortfolio', require('~/testUtils/mocks/entities').mockNumberedPortfolioModule( @@ -316,6 +323,36 @@ describe('Identity class', () => { expect(hasRole).toBe(false); }); + it('should check whether the Identity has the Confidential Asset Owner role', async () => { + const did = 'someDid'; + const identity = new Identity({ did }, context); + const role: ConfidentialAssetOwnerRole = { + type: RoleType.ConfidentialAssetOwner, + assetId: 'someAssetId', + }; + + entityMockUtils.configureMocks({ + confidentialAssetOptions: { + details: { + owner: new Identity({ did }, context), + }, + }, + }); + + const spy = jest.spyOn(identity, 'isEqual').mockReturnValue(true); + let hasRole = await identity.hasRole(role); + + expect(hasRole).toBe(true); + + identity.did = 'otherDid'; + + spy.mockReturnValue(false); + hasRole = await identity.hasRole(role); + + expect(hasRole).toBe(false); + spy.mockRestore(); + }); + it('should throw an error if the role is not recognized', () => { const identity = new Identity({ did: 'someDid' }, context); const type = 'Fake' as RoleType; diff --git a/src/api/entities/Identity/index.ts b/src/api/entities/Identity/index.ts index f751fa9bb3..35dab49fa0 100644 --- a/src/api/entities/Identity/index.ts +++ b/src/api/entities/Identity/index.ts @@ -13,6 +13,7 @@ import { assertPortfolioExists } from '~/api/procedures/utils'; import { Account, ChildIdentity, + ConfidentialAsset, Context, Entity, FungibleAsset, @@ -53,6 +54,7 @@ import { import { Ensured, tuple } from '~/types/utils'; import { isCddProviderRole, + isConfidentialAssetOwnerRole, isIdentityRole, isPortfolioCustodianRole, isTickerOwnerRole, @@ -178,6 +180,13 @@ export class Identity extends Entity { return portfolio.isCustodiedBy(); } else if (isIdentityRole(role)) { return did === role.did; + } else if (isConfidentialAssetOwnerRole(role)) { + const { assetId } = role; + + const confidentialAsset = new ConfidentialAsset({ id: assetId }, context); + const { owner } = await confidentialAsset.details(); + + return this.isEqual(owner); } throw new PolymeshError({ diff --git a/src/api/entities/confidential/ConfidentialAsset/index.ts b/src/api/entities/confidential/ConfidentialAsset/index.ts index 224dcbfdc3..74cf74f074 100644 --- a/src/api/entities/confidential/ConfidentialAsset/index.ts +++ b/src/api/entities/confidential/ConfidentialAsset/index.ts @@ -1,8 +1,21 @@ import { PalletConfidentialAssetConfidentialAssetDetails } from '@polkadot/types/lookup'; import { Option } from '@polkadot/types-codec'; -import { ConfidentialAccount, Context, Entity, Identity, PolymeshError } from '~/internal'; -import { ConfidentialAssetDetails, ErrorCode, GroupedAuditors } from '~/types'; +import { + ConfidentialAccount, + Context, + Entity, + Identity, + issueConfidentialAssets, + PolymeshError, +} from '~/internal'; +import { + ConfidentialAssetDetails, + ErrorCode, + GroupedAuditors, + IssueConfidentialAssetParams, + ProcedureMethod, +} from '~/types'; import { bytesToString, identityIdToString, @@ -10,7 +23,7 @@ import { tickerToString, u128ToBigNumber, } from '~/utils/conversion'; -import { assertCaAssetValid } from '~/utils/internal'; +import { assertCaAssetValid, createProcedureMethod } from '~/utils/internal'; /** * Properties that uniquely identify a ConfidentialAsset @@ -52,8 +65,22 @@ export class ConfidentialAsset extends Entity { const { id } = identifiers; this.id = assertCaAssetValid(id); + + this.issue = createProcedureMethod( + { getProcedureAndArgs: args => [issueConfidentialAssets, { asset: this, ...args }] }, + context + ); } + /** + * Issue a certain amount of this Confidential Asset in the given `account` + * + * @note + * - Only the owner can issue a Confidential Asset + * - Confidential Assets can only be issued in accounts owned by the signer + */ + public issue: ProcedureMethod; + /** * @hidden */ @@ -77,7 +104,7 @@ export class ConfidentialAsset extends Entity { /** * Retrieve the confidential Asset's details */ - public async details(): Promise { + public async details(): Promise { const { context, id } = this; const assetDetails = await this.getDetailsFromChain(); diff --git a/src/api/entities/confidential/ConfidentialAsset/types.ts b/src/api/entities/confidential/ConfidentialAsset/types.ts index 85243363bd..830dde5c10 100644 --- a/src/api/entities/confidential/ConfidentialAsset/types.ts +++ b/src/api/entities/confidential/ConfidentialAsset/types.ts @@ -39,3 +39,14 @@ export interface CreateConfidentialAssetParams { export interface CreateConfidentialAccountParams { publicKey: string; } + +export interface IssueConfidentialAssetParams { + /** + * number of confidential Assets to be minted + */ + amount: BigNumber; + /** + * the asset issuer's Confidential Account to receive the minted Assets + */ + account: ConfidentialAccount | string; +} diff --git a/src/api/entities/confidential/__tests__/ConfidentialAsset/index.ts b/src/api/entities/confidential/__tests__/ConfidentialAsset/index.ts index 8324a527c7..16e2b0c7aa 100644 --- a/src/api/entities/confidential/__tests__/ConfidentialAsset/index.ts +++ b/src/api/entities/confidential/__tests__/ConfidentialAsset/index.ts @@ -1,11 +1,15 @@ import BigNumber from 'bignumber.js'; import { when } from 'jest-when'; -import { ConfidentialAsset, Context, Entity, PolymeshError } from '~/internal'; +import { ConfidentialAsset, Context, Entity, PolymeshError, PolymeshTransaction } from '~/internal'; import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; import { ErrorCode } from '~/types'; import * as utilsConversionModule from '~/utils/conversion'; +jest.mock( + '~/base/Procedure', + require('~/testUtils/mocks/procedure').mockProcedureModule('~/base/Procedure') +); jest.mock( '~/api/entities/Identity', require('~/testUtils/mocks/entities').mockIdentityModule('~/api/entities/Identity') @@ -81,6 +85,30 @@ describe('ConfidentialAsset class', () => { }); }); + describe('method: issue', () => { + it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { + const args = { + amount: new BigNumber(100), + account: 'someAccount', + }; + + const expectedTransaction = + 'someTransaction' as unknown as PolymeshTransaction; + + when(procedureMockUtils.getPrepareMock()) + .calledWith( + { args: { asset: confidentialAsset, ...args }, transformer: undefined }, + context, + {} + ) + .mockResolvedValue(expectedTransaction); + + const tx = await confidentialAsset.issue(args); + + expect(tx).toBe(expectedTransaction); + }); + }); + describe('method: details', () => { let u128ToBigNumberSpy: jest.SpyInstance; let bytesToStringSpy: jest.SpyInstance; diff --git a/src/api/procedures/__tests__/issueConfidentialAssets.ts b/src/api/procedures/__tests__/issueConfidentialAssets.ts new file mode 100644 index 0000000000..3d3dfb7eaa --- /dev/null +++ b/src/api/procedures/__tests__/issueConfidentialAssets.ts @@ -0,0 +1,183 @@ +import { Balance } from '@polkadot/types/interfaces'; +import BigNumber from 'bignumber.js'; +import { when } from 'jest-when'; + +import { + getAuthorization, + Params, + prepareConfidentialAssets, +} from '~/api/procedures/issueConfidentialAssets'; +import { Context, PolymeshError } from '~/internal'; +import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; +import { Mocked } from '~/testUtils/types'; +import { ConfidentialAccount, ConfidentialAsset, ErrorCode, RoleType, TxTags } from '~/types'; +import * as utilsConversionModule from '~/utils/conversion'; + +jest.mock( + '~/api/entities/confidential/ConfidentialAsset', + require('~/testUtils/mocks/entities').mockConfidentialAssetModule( + '~/api/entities/confidential/ConfidentialAsset' + ) +); + +describe('issueConfidentialAssets procedure', () => { + let mockContext: Mocked; + let amount: BigNumber; + let rawAmount: Balance; + let account: ConfidentialAccount; + let serializeConfidentialAssetIdSpy: jest.SpyInstance; + let bigNumberToU128Spy: jest.SpyInstance; + let asset: Mocked; + let rawAssetId: string; + let args: Params; + + beforeAll(() => { + dsMockUtils.initMocks(); + procedureMockUtils.initMocks(); + entityMockUtils.initMocks(); + + bigNumberToU128Spy = jest.spyOn(utilsConversionModule, 'bigNumberToU128'); + serializeConfidentialAssetIdSpy = jest.spyOn( + utilsConversionModule, + 'serializeConfidentialAssetId' + ); + }); + + beforeEach(() => { + mockContext = dsMockUtils.getContextInstance(); + asset = entityMockUtils.getConfidentialAssetInstance(); + rawAssetId = '0x10Asset'; + + when(serializeConfidentialAssetIdSpy).calledWith(asset.id).mockReturnValue(rawAssetId); + + amount = new BigNumber(100); + rawAmount = dsMockUtils.createMockBalance(amount); + + when(bigNumberToU128Spy).calledWith(amount, mockContext).mockReturnValue(rawAmount); + + account = entityMockUtils.getConfidentialAccountInstance(); + + args = { + asset, + amount, + account, + }; + }); + + afterEach(() => { + entityMockUtils.reset(); + procedureMockUtils.reset(); + dsMockUtils.reset(); + }); + + afterAll(() => { + procedureMockUtils.cleanup(); + dsMockUtils.cleanup(); + }); + + it('should throw an error if amount provided is less than equal to 0', () => { + const proc = procedureMockUtils.getInstance(mockContext); + + const expectedError = new PolymeshError({ + code: ErrorCode.UnmetPrerequisite, + message: 'Amount should be greater than zero', + data: { + amount, + }, + }); + + return expect( + prepareConfidentialAssets.call(proc, { ...args, amount: new BigNumber(-10) }) + ).rejects.toThrowError(expectedError); + }); + + it('should throw an error if destination account is not owned by the signer', async () => { + const proc = procedureMockUtils.getInstance(mockContext); + + const expectedError = new PolymeshError({ + code: ErrorCode.UnmetPrerequisite, + message: 'The Signing Identity cannot issue confidential Assets in the specified account', + }); + + await expect( + prepareConfidentialAssets.call(proc, { + ...args, + account: entityMockUtils.getConfidentialAccountInstance({ + getIdentity: null, + }), + }) + ).rejects.toThrowError(expectedError); + + await expect( + prepareConfidentialAssets.call(proc, { + ...args, + account: entityMockUtils.getConfidentialAccountInstance({ + getIdentity: entityMockUtils.getIdentityInstance({ + did: 'someRandomDid', + }), + }), + }) + ).rejects.toThrowError(expectedError); + }); + + it('should throw an error if Asset supply is bigger than the limit total supply', async () => { + const limitTotalSupply = new BigNumber(Math.pow(10, 12)); + + entityMockUtils.configureMocks({ + confidentialAssetOptions: { + details: { + totalSupply: limitTotalSupply, + }, + }, + }); + + const proc = procedureMockUtils.getInstance(mockContext); + + let error; + + try { + await prepareConfidentialAssets.call(proc, { + ...args, + asset: entityMockUtils.getConfidentialAssetInstance(), + }); + } catch (err) { + error = err; + } + + expect(error.message).toBe( + `This issuance operation will cause the total supply of "${asset.id}" to exceed the supply limit` + ); + expect(error.data).toMatchObject({ + currentSupply: limitTotalSupply, + supplyLimit: limitTotalSupply, + }); + }); + + it('should return a mint Confidential Asset transaction spec', async () => { + const transaction = dsMockUtils.createTxMock('confidentialAsset', 'mintConfidentialAsset'); + const proc = procedureMockUtils.getInstance(mockContext); + + const result = await prepareConfidentialAssets.call(proc, args); + expect(result).toEqual({ + transaction, + args: [rawAssetId, rawAmount, account.publicKey], + resolver: expect.objectContaining({ id: asset.id }), + }); + }); + + describe('getAuthorization', () => { + it('should return the appropriate roles and permissions', () => { + const proc = procedureMockUtils.getInstance(mockContext); + const boundFunc = getAuthorization.bind(proc); + + expect(boundFunc(args)).toEqual({ + roles: [{ type: RoleType.ConfidentialAssetOwner, assetId: asset.id }], + permissions: { + transactions: [TxTags.confidentialAsset.MintConfidentialAsset], + assets: [], + portfolios: [], + }, + }); + }); + }); +}); diff --git a/src/api/procedures/issueConfidentialAssets.ts b/src/api/procedures/issueConfidentialAssets.ts new file mode 100644 index 0000000000..b2ec7fcf64 --- /dev/null +++ b/src/api/procedures/issueConfidentialAssets.ts @@ -0,0 +1,109 @@ +import BigNumber from 'bignumber.js'; + +import { ConfidentialAsset, PolymeshError, Procedure } from '~/internal'; +import { ErrorCode, IssueConfidentialAssetParams, RoleType, TxTags } from '~/types'; +import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; +import { MAX_BALANCE } from '~/utils/constants'; +import { bigNumberToU128, serializeConfidentialAssetId } from '~/utils/conversion'; +import { asConfidentialAccount } from '~/utils/internal'; + +export type Params = IssueConfidentialAssetParams & { + asset: ConfidentialAsset; +}; + +/** + * @hidden + */ +export async function prepareConfidentialAssets( + this: Procedure, + args: Params +): Promise< + TransactionSpec> +> { + const { + context: { + polymeshApi: { + tx: { confidentialAsset }, + }, + }, + context, + } = this; + const { asset, amount, account } = args; + + const { id: assetId } = asset; + + const destinationAccount = asConfidentialAccount(account, context); + + if (amount.lte(new BigNumber(0))) { + throw new PolymeshError({ + code: ErrorCode.UnmetPrerequisite, + message: 'Amount should be greater than zero', + data: { + amount, + }, + }); + } + + const [{ totalSupply }, { did: signingDid }, accountIdentity] = await Promise.all([ + asset.details(), + context.getSigningIdentity(), + destinationAccount.getIdentity(), + ]); + + if (!accountIdentity || accountIdentity.did !== signingDid) { + throw new PolymeshError({ + code: ErrorCode.UnmetPrerequisite, + message: 'The Signing Identity cannot issue confidential Assets in the specified account', + }); + } + + const supplyAfterMint = amount.plus(totalSupply); + + if (supplyAfterMint.isGreaterThan(MAX_BALANCE)) { + throw new PolymeshError({ + code: ErrorCode.LimitExceeded, + message: `This issuance operation will cause the total supply of "${assetId}" to exceed the supply limit`, + data: { + currentSupply: totalSupply, + supplyLimit: MAX_BALANCE, + }, + }); + } + + return { + transaction: confidentialAsset.mintConfidentialAsset, + args: [ + serializeConfidentialAssetId(assetId), + bigNumberToU128(amount, context), + destinationAccount.publicKey, + ], + resolver: asset, + }; +} + +/** + * @hidden + */ +export function getAuthorization( + this: Procedure, + args: Params +): ProcedureAuthorization { + const { + asset: { id: assetId }, + } = args; + + return { + roles: [{ type: RoleType.ConfidentialAssetOwner, assetId }], + permissions: { + transactions: [TxTags.confidentialAsset.MintConfidentialAsset], + assets: [], + portfolios: [], + }, + }; +} + +/** + * @hidden + */ +export const issueConfidentialAssets = (): Procedure => + new Procedure(prepareConfidentialAssets, getAuthorization); diff --git a/src/internal.ts b/src/internal.ts index 4b42499705..3ebfd3b0f9 100644 --- a/src/internal.ts +++ b/src/internal.ts @@ -102,6 +102,7 @@ export { MultiSig } from '~/api/entities/Account/MultiSig'; export { MultiSigProposal } from '~/api/entities/MultiSigProposal'; export { TickerReservation } from '~/api/entities/TickerReservation'; export { BaseAsset, FungibleAsset, NftCollection, Nft } from '~/api/entities/Asset'; +export { issueConfidentialAssets } from '~/api/procedures/issueConfidentialAssets'; export { ConfidentialAccount } from '~/api/entities/confidential/ConfidentialAccount'; export { ConfidentialAsset } from '~/api/entities/confidential/ConfidentialAsset'; export { ConfidentialVenue } from '~/api/entities/confidential/ConfidentialVenue'; diff --git a/src/testUtils/mocks/entities.ts b/src/testUtils/mocks/entities.ts index 3aaec10af2..077b7249f2 100644 --- a/src/testUtils/mocks/entities.ts +++ b/src/testUtils/mocks/entities.ts @@ -125,6 +125,7 @@ export type MockKnownPermissionGroup = Mocked; export type MockMultiSig = Mocked; export type MockMultiSigProposal = Mocked; export type MockConfidentialAccount = Mocked; +export type MockConfidentialAsset = Mocked; interface EntityOptions { exists?: boolean; @@ -2823,3 +2824,15 @@ export const getConfidentialAccountInstance = ( return instance as unknown as MockConfidentialAccount; }; + +export const getConfidentialAssetInstance = ( + opts?: ConfidentialAssetOptions +): MockConfidentialAsset => { + const instance = new MockConfidentialAssetClass(); + + if (opts) { + instance.configure(opts); + } + + return instance as unknown as MockConfidentialAsset; +}; diff --git a/src/types/index.ts b/src/types/index.ts index d826697687..8d4e01c2a6 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -103,6 +103,7 @@ export enum RoleType { CorporateActionsAgent = 'CorporateActionsAgent', // eslint-disable-next-line @typescript-eslint/no-shadow Identity = 'Identity', + ConfidentialAssetOwner = 'ConfidentialAssetOwner', } export interface TickerOwnerRole { @@ -110,6 +111,11 @@ export interface TickerOwnerRole { ticker: string; } +export interface ConfidentialAssetOwnerRole { + type: RoleType.ConfidentialAssetOwner; + assetId: string; +} + export interface CddProviderRole { type: RoleType.CddProvider; } @@ -139,7 +145,8 @@ export type Role = | CddProviderRole | VenueOwnerRole | PortfolioCustodianRole - | IdentityRole; + | IdentityRole + | ConfidentialAssetOwnerRole; export enum KnownAssetType { EquityCommon = 'EquityCommon', diff --git a/src/utils/typeguards.ts b/src/utils/typeguards.ts index 1621b77824..3b202a7f78 100644 --- a/src/utils/typeguards.ts +++ b/src/utils/typeguards.ts @@ -36,6 +36,7 @@ import { Claim, ClaimType, ConditionType, + ConfidentialAssetOwnerRole, ExemptedClaim, FungibleLeg, IdentityCondition, @@ -320,6 +321,13 @@ export function isTickerOwnerRole(role: Role): role is TickerOwnerRole { return role.type === RoleType.TickerOwner; } +/** + * Return whether Role is ConfidentialAssetOwnerRole + */ +export function isConfidentialAssetOwnerRole(role: Role): role is ConfidentialAssetOwnerRole { + return role.type === RoleType.ConfidentialAssetOwner; +} + /** * Return whether Role is IdentityRole */ From 9668504f82d16d8a6e8b12e1917169f1f480e4fa Mon Sep 17 00:00:00 2001 From: Prashant Bajpai <34747455+prashantasdeveloper@users.noreply.github.com> Date: Wed, 24 Jan 2024 17:06:26 +0530 Subject: [PATCH 057/120] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20Add=20method=20t?= =?UTF-8?q?o=20create=20a=20confidential=20venue?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/client/ConfidentialSettlements.ts | 21 +++- .../__tests__/ConfidentialSettlements.ts | 24 ++++- .../__tests__/createConfidentialVenue.ts | 96 +++++++++++++++++++ src/api/procedures/createConfidentialVenue.ts | 62 ++++++++++++ src/internal.ts | 1 + 5 files changed, 201 insertions(+), 3 deletions(-) create mode 100644 src/api/procedures/__tests__/createConfidentialVenue.ts create mode 100644 src/api/procedures/createConfidentialVenue.ts diff --git a/src/api/client/ConfidentialSettlements.ts b/src/api/client/ConfidentialSettlements.ts index f9cf20103a..47afacc5ec 100644 --- a/src/api/client/ConfidentialSettlements.ts +++ b/src/api/client/ConfidentialSettlements.ts @@ -1,7 +1,14 @@ import BigNumber from 'bignumber.js'; -import { ConfidentialTransaction, ConfidentialVenue, Context, PolymeshError } from '~/internal'; -import { ErrorCode } from '~/types'; +import { + ConfidentialTransaction, + ConfidentialVenue, + Context, + createConfidentialVenue, + PolymeshError, +} from '~/internal'; +import { ErrorCode, NoArgsProcedureMethod } from '~/types'; +import { createProcedureMethod } from '~/utils/internal'; /** * Handles all functionalities for venues and transactions of confidential Assets @@ -14,8 +21,18 @@ export class ConfidentialSettlements { */ constructor(context: Context) { this.context = context; + + this.createVenue = createProcedureMethod( + { getProcedureAndArgs: () => [createConfidentialVenue, undefined], voidArgs: true }, + context + ); } + /** + * Create a Confidential Venue under the ownership of the signing Identity + */ + public createVenue: NoArgsProcedureMethod; + /** * Retrieve a confidential Venue by its ID * diff --git a/src/api/client/__tests__/ConfidentialSettlements.ts b/src/api/client/__tests__/ConfidentialSettlements.ts index 5781002f31..56833b92d5 100644 --- a/src/api/client/__tests__/ConfidentialSettlements.ts +++ b/src/api/client/__tests__/ConfidentialSettlements.ts @@ -1,9 +1,16 @@ import BigNumber from 'bignumber.js'; +import { when } from 'jest-when'; import { ConfidentialSettlements } from '~/api/client/ConfidentialSettlements'; -import { Context } from '~/internal'; +import { Context, PolymeshTransaction } from '~/internal'; import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; import { Mocked } from '~/testUtils/types'; +import { ConfidentialVenue } from '~/types'; + +jest.mock( + '~/base/Procedure', + require('~/testUtils/mocks/procedure').mockProcedureModule('~/base/Procedure') +); jest.mock( '~/api/entities/confidential/ConfidentialVenue', @@ -45,6 +52,21 @@ describe('ConfidentialSettlements Class', () => { procedureMockUtils.cleanup(); }); + describe('method: createVenue', () => { + it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { + const expectedTransaction = + 'someTransaction' as unknown as PolymeshTransaction; + + when(procedureMockUtils.getPrepareMock()) + .calledWith({ args: undefined, transformer: undefined }, context, {}) + .mockResolvedValue(expectedTransaction); + + const tx = await settlements.createVenue(); + + expect(tx).toBe(expectedTransaction); + }); + }); + describe('method: getVenue', () => { it('should return a confidential Venue by its id', async () => { const venueId = new BigNumber(1); diff --git a/src/api/procedures/__tests__/createConfidentialVenue.ts b/src/api/procedures/__tests__/createConfidentialVenue.ts new file mode 100644 index 0000000000..0de0e8f30b --- /dev/null +++ b/src/api/procedures/__tests__/createConfidentialVenue.ts @@ -0,0 +1,96 @@ +import { ISubmittableResult } from '@polkadot/types/types'; +import BigNumber from 'bignumber.js'; + +import { + createConfidentialVenueResolver, + getAuthorization, + prepareCreateConfidentialVenue, +} from '~/api/procedures/createConfidentialVenue'; +import { Context } from '~/internal'; +import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; +import { Mocked } from '~/testUtils/types'; +import { ConfidentialVenue, TxTags } from '~/types'; +import { PolymeshTx } from '~/types/internal'; +import * as utilsInternalModule from '~/utils/internal'; + +describe('createConfidentialVenue procedure', () => { + let mockContext: Mocked; + let createVenueTransaction: PolymeshTx; + + beforeAll(() => { + entityMockUtils.initMocks(); + procedureMockUtils.initMocks(); + dsMockUtils.initMocks(); + }); + + beforeEach(() => { + mockContext = dsMockUtils.getContextInstance(); + createVenueTransaction = dsMockUtils.createTxMock('confidentialAsset', 'createVenue'); + }); + + afterEach(() => { + entityMockUtils.reset(); + procedureMockUtils.reset(); + dsMockUtils.reset(); + }); + + afterAll(() => { + procedureMockUtils.cleanup(); + dsMockUtils.cleanup(); + }); + + it('should return a createVenue transaction spec', async () => { + const proc = procedureMockUtils.getInstance(mockContext); + + const result = await prepareCreateConfidentialVenue.call(proc); + + expect(result).toEqual({ + transaction: createVenueTransaction, + resolver: expect.any(Function), + }); + }); + + describe('getAuthorization', () => { + it('should return the appropriate roles and permissions', () => { + const proc = procedureMockUtils.getInstance(mockContext); + const boundFunc = getAuthorization.bind(proc); + expect(boundFunc()).toEqual({ + permissions: { + transactions: [TxTags.confidentialAsset.CreateVenue], + assets: [], + portfolios: [], + }, + }); + }); + }); +}); + +describe('createCreateConfidentialVenueResolver', () => { + const filterEventRecordsSpy = jest.spyOn(utilsInternalModule, 'filterEventRecords'); + const id = new BigNumber(10); + const rawId = dsMockUtils.createMockU64(id); + + beforeAll(() => { + entityMockUtils.initMocks({ + confidentialVenueOptions: { + id, + }, + }); + }); + + beforeEach(() => { + filterEventRecordsSpy.mockReturnValue([dsMockUtils.createMockIEvent(['did', rawId])]); + }); + + afterEach(() => { + filterEventRecordsSpy.mockReset(); + }); + + it('should return the new Confidential Venue', () => { + const fakeContext = {} as Context; + + const result = createConfidentialVenueResolver(fakeContext)({} as ISubmittableResult); + + expect(result.id).toEqual(id); + }); +}); diff --git a/src/api/procedures/createConfidentialVenue.ts b/src/api/procedures/createConfidentialVenue.ts new file mode 100644 index 0000000000..f3f74babf1 --- /dev/null +++ b/src/api/procedures/createConfidentialVenue.ts @@ -0,0 +1,62 @@ +import { ISubmittableResult } from '@polkadot/types/types'; + +import { ConfidentialVenue, Context, Procedure } from '~/internal'; +import { TxTags } from '~/types'; +import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; +import { u64ToBigNumber } from '~/utils/conversion'; +import { filterEventRecords } from '~/utils/internal'; + +/** + * @hidden + */ +export const createConfidentialVenueResolver = + (context: Context) => + (receipt: ISubmittableResult): ConfidentialVenue => { + const [{ data }] = filterEventRecords(receipt, 'confidentialAsset', 'VenueCreated'); + + const id = u64ToBigNumber(data[1]); + + return new ConfidentialVenue({ id }, context); + }; + +/** + * @hidden + */ +export async function prepareCreateConfidentialVenue( + this: Procedure +): Promise< + TransactionSpec> +> { + const { + context: { + polymeshApi: { + tx: { confidentialAsset }, + }, + }, + context, + } = this; + + return { + transaction: confidentialAsset.createVenue, + resolver: createConfidentialVenueResolver(context), + }; +} + +/** + * @hidden + */ +export function getAuthorization(this: Procedure): ProcedureAuthorization { + return { + permissions: { + transactions: [TxTags.confidentialAsset.CreateVenue], + assets: [], + portfolios: [], + }, + }; +} + +/** + * @hidden + */ +export const createConfidentialVenue = (): Procedure => + new Procedure(prepareCreateConfidentialVenue, getAuthorization); diff --git a/src/internal.ts b/src/internal.ts index 27bd6f1cd6..605da2488f 100644 --- a/src/internal.ts +++ b/src/internal.ts @@ -102,6 +102,7 @@ export { TickerReservation } from '~/api/entities/TickerReservation'; export { BaseAsset, FungibleAsset, NftCollection, Nft } from '~/api/entities/Asset'; export { ConfidentialAccount } from '~/api/entities/confidential/ConfidentialAccount'; export { ConfidentialAsset } from '~/api/entities/confidential/ConfidentialAsset'; +export { createConfidentialVenue } from '~/api/procedures/createConfidentialVenue'; export { ConfidentialVenue } from '~/api/entities/confidential/ConfidentialVenue'; export { ConfidentialTransaction } from '~/api/entities/confidential/ConfidentialTransaction'; export { MetadataEntry } from '~/api/entities/MetadataEntry'; From 404a0cf051f7d6ad2acf493d02651230332ec619 Mon Sep 17 00:00:00 2001 From: Prashant Bajpai <34747455+prashantasdeveloper@users.noreply.github.com> Date: Wed, 24 Jan 2024 22:17:23 +0530 Subject: [PATCH 058/120] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20Add=20`getTransa?= =?UTF-8?q?ctions`=20to=20Confidential=20Venue?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This method returns all the transactions created by a confidential Venue. The result is grouped based on the status of the transaction --- .../ConfidentialTransaction/types.ts | 7 +++ .../confidential/ConfidentialVenue/index.ts | 57 ++++++++++++++++- .../__tests__/ConfidentialVenue/index.ts | 62 ++++++++++++++++++- src/api/entities/confidential/types.ts | 1 + src/testUtils/mocks/entities.ts | 13 +++- 5 files changed, 135 insertions(+), 5 deletions(-) create mode 100644 src/api/entities/confidential/ConfidentialTransaction/types.ts diff --git a/src/api/entities/confidential/ConfidentialTransaction/types.ts b/src/api/entities/confidential/ConfidentialTransaction/types.ts new file mode 100644 index 0000000000..659e5e1a1a --- /dev/null +++ b/src/api/entities/confidential/ConfidentialTransaction/types.ts @@ -0,0 +1,7 @@ +import { ConfidentialTransaction } from '~/internal'; + +export interface GroupedTransactions { + pending: ConfidentialTransaction[]; + executed: ConfidentialTransaction[]; + rejected: ConfidentialTransaction[]; +} diff --git a/src/api/entities/confidential/ConfidentialVenue/index.ts b/src/api/entities/confidential/ConfidentialVenue/index.ts index 5c8fa1ef8a..c05b380a96 100644 --- a/src/api/entities/confidential/ConfidentialVenue/index.ts +++ b/src/api/entities/confidential/ConfidentialVenue/index.ts @@ -1,7 +1,7 @@ import BigNumber from 'bignumber.js'; -import { Context, Entity, Identity, PolymeshError } from '~/internal'; -import { ErrorCode } from '~/types'; +import { ConfidentialTransaction, Context, Entity, Identity, PolymeshError } from '~/internal'; +import { ConfidentialTransactionStatus, ErrorCode, GroupedTransactions } from '~/types'; import { bigNumberToU64, identityIdToString, u64ToBigNumber } from '~/utils/conversion'; export interface UniqueIdentifiers { @@ -65,6 +65,59 @@ export class ConfidentialVenue extends Entity { return new Identity({ did: identityIdToString(creator.unwrap()) }, context); } + /** + * Retrieve all transactions in this Confidential Venue. + * This groups the transactions based on their status as pending, executed or rejected + */ + public async getTransactions(): Promise { + const { + context: { + polymeshApi: { + query: { confidentialAsset }, + }, + }, + id, + context, + } = this; + + const transactionEntries = await confidentialAsset.venueTransactions.entries( + bigNumberToU64(id, context) + ); + + const transactions = transactionEntries.map( + ([ + { + args: [, transactionId], + }, + ]) => new ConfidentialTransaction({ id: u64ToBigNumber(transactionId.unwrap()) }, context) + ); + + const details = await Promise.all(transactions.map(transaction => transaction.details())); + const pending: ConfidentialTransaction[] = []; + const executed: ConfidentialTransaction[] = []; + const rejected: ConfidentialTransaction[] = []; + + details.forEach(({ status }, index) => { + if (status === ConfidentialTransactionStatus.Pending) { + pending.push(transactions[index]); + } + + if (status === ConfidentialTransactionStatus.Executed) { + executed.push(transactions[index]); + } + + if (status === ConfidentialTransactionStatus.Rejected) { + rejected.push(transactions[index]); + } + }); + + return { + pending, + executed, + rejected, + }; + } + /** * Determine whether this confidential Venue exists on chain */ diff --git a/src/api/entities/confidential/__tests__/ConfidentialVenue/index.ts b/src/api/entities/confidential/__tests__/ConfidentialVenue/index.ts index 8434b2c307..84f0569f63 100644 --- a/src/api/entities/confidential/__tests__/ConfidentialVenue/index.ts +++ b/src/api/entities/confidential/__tests__/ConfidentialVenue/index.ts @@ -5,9 +5,17 @@ import { when } from 'jest-when'; import { ConfidentialVenue, Context, Entity, PolymeshError } from '~/internal'; import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; import { Mocked } from '~/testUtils/types'; -import { ErrorCode } from '~/types'; +import { ConfidentialTransactionStatus, ErrorCode } from '~/types'; +import { tuple } from '~/types/utils'; import * as utilsConversionModule from '~/utils/conversion'; +jest.mock( + '~/api/entities/confidential/ConfidentialTransaction', + require('~/testUtils/mocks/entities').mockConfidentialTransactionModule( + '~/api/entities/confidential/ConfidentialTransaction' + ) +); + describe('ConfidentialVenue class', () => { let context: Mocked; let venue: ConfidentialVenue; @@ -58,6 +66,58 @@ describe('ConfidentialVenue class', () => { }); }); + describe('method: getTransactions', () => { + afterAll(() => { + jest.restoreAllMocks(); + }); + + it("should return the Confidential Venue's pending, executed and rejected transactions", async () => { + const id1 = new BigNumber(1); + const id2 = new BigNumber(2); + const id3 = new BigNumber(3); + + const detailsMock = jest.fn(); + + detailsMock + .mockResolvedValueOnce({ + status: ConfidentialTransactionStatus.Pending, + }) + .mockResolvedValueOnce({ + status: ConfidentialTransactionStatus.Executed, + }) + .mockResolvedValue({ + status: ConfidentialTransactionStatus.Rejected, + }); + + entityMockUtils.configureMocks({ + confidentialTransactionOptions: { + details: detailsMock, + }, + }); + + when(jest.spyOn(utilsConversionModule, 'bigNumberToU64')) + .calledWith(id, context) + .mockReturnValue(rawId); + + dsMockUtils.createQueryMock('confidentialAsset', 'venueTransactions', { + entries: [ + [tuple(rawId, dsMockUtils.createMockCompact(dsMockUtils.createMockU64(id1))), []], + [tuple(rawId, dsMockUtils.createMockCompact(dsMockUtils.createMockU64(id2))), []], + [tuple(rawId, dsMockUtils.createMockCompact(dsMockUtils.createMockU64(id3))), []], + ], + }); + + const result = await venue.getTransactions(); + + expect(result.pending[0].id).toEqual(id1); + expect(result.executed[0].id).toEqual(id2); + expect(result.rejected[0].id).toEqual(id3); + expect(result.pending).toHaveLength(1); + expect(result.executed).toHaveLength(1); + expect(result.rejected).toHaveLength(1); + }); + }); + describe('method: exists', () => { afterAll(() => { jest.restoreAllMocks(); diff --git a/src/api/entities/confidential/types.ts b/src/api/entities/confidential/types.ts index cc17c24712..1fe5bb477b 100644 --- a/src/api/entities/confidential/types.ts +++ b/src/api/entities/confidential/types.ts @@ -1 +1,2 @@ export * from './ConfidentialAsset/types'; +export * from './ConfidentialTransaction/types'; diff --git a/src/testUtils/mocks/entities.ts b/src/testUtils/mocks/entities.ts index 077b7249f2..34a59f6b92 100644 --- a/src/testUtils/mocks/entities.ts +++ b/src/testUtils/mocks/entities.ts @@ -39,8 +39,7 @@ import { } from '~/internal'; import { entityMockUtils } from '~/testUtils/mocks'; import { Mocked } from '~/testUtils/types'; -import { - AccountBalance, +import { AccountBalance, ActiveTransferRestrictions, AgentWithGroup, AssetDetails, @@ -52,6 +51,7 @@ import { CollectionKey, ComplianceRequirements, ConfidentialAssetDetails, +ConfidentialTransactionDetails, ConfidentialTransactionStatus , CorporateActionDefaultConfig, CorporateActionKind, CorporateActionTargets, @@ -380,6 +380,7 @@ interface ConfidentialVenueOptions extends EntityOptions { interface ConfidentialTransactionOptions extends EntityOptions { id?: BigNumber; + details?: EntityGetter; } interface ConfidentialAccountOptions extends EntityOptions { @@ -2209,6 +2210,7 @@ const MockConfidentialTransactionClass = createMockEntityClass) { this.uuid = 'confidentialTransaction'; this.id = opts.id; + this.details = createEntityGetterMock(opts.details); } }, () => ({ id: new BigNumber(1), + details: { + venueId: new BigNumber(1), + createdAt: new BigNumber(new Date('2024/01/01').getTime()), + status: ConfidentialTransactionStatus.Pending, + memo: 'Sample Memo', + }, }), ['ConfidentialTransaction'] ); From 9307cee9c9d1efbebead3a8fbce6cccbfcabf30d Mon Sep 17 00:00:00 2001 From: Prashant Bajpai <34747455+prashantasdeveloper@users.noreply.github.com> Date: Mon, 29 Jan 2024 13:03:50 +0530 Subject: [PATCH 059/120] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20Add=20venue=20fi?= =?UTF-8?q?ltering=20for=20confidential=20Assets?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../confidential/ConfidentialAsset/index.ts | 12 + .../__tests__/ConfidentialAsset/index.ts | 52 ++++ .../setConfidentialVenueFiltering.ts | 231 ++++++++++++++++++ .../setConfidentialVenueFiltering.ts | 99 ++++++++ src/internal.ts | 1 + 5 files changed, 395 insertions(+) create mode 100644 src/api/procedures/__tests__/setConfidentialVenueFiltering.ts create mode 100644 src/api/procedures/setConfidentialVenueFiltering.ts diff --git a/src/api/entities/confidential/ConfidentialAsset/index.ts b/src/api/entities/confidential/ConfidentialAsset/index.ts index 74cf74f074..cc53c5e462 100644 --- a/src/api/entities/confidential/ConfidentialAsset/index.ts +++ b/src/api/entities/confidential/ConfidentialAsset/index.ts @@ -8,6 +8,7 @@ import { Identity, issueConfidentialAssets, PolymeshError, + setConfidentialVenueFiltering, } from '~/internal'; import { ConfidentialAssetDetails, @@ -15,6 +16,7 @@ import { GroupedAuditors, IssueConfidentialAssetParams, ProcedureMethod, + SetVenueFilteringParams, } from '~/types'; import { bytesToString, @@ -70,6 +72,11 @@ export class ConfidentialAsset extends Entity { { getProcedureAndArgs: args => [issueConfidentialAssets, { asset: this, ...args }] }, context ); + + this.setVenueFiltering = createProcedureMethod( + { getProcedureAndArgs: args => [setConfidentialVenueFiltering, { assetId: id, ...args }] }, + context + ); } /** @@ -81,6 +88,11 @@ export class ConfidentialAsset extends Entity { */ public issue: ProcedureMethod; + /** + * Enable/disable confidential venue filtering for this Confidential Asset and/or set allowed/disallowed Confidential Venues + */ + public setVenueFiltering: ProcedureMethod; + /** * @hidden */ diff --git a/src/api/entities/confidential/__tests__/ConfidentialAsset/index.ts b/src/api/entities/confidential/__tests__/ConfidentialAsset/index.ts index 16e2b0c7aa..8ba6f728f6 100644 --- a/src/api/entities/confidential/__tests__/ConfidentialAsset/index.ts +++ b/src/api/entities/confidential/__tests__/ConfidentialAsset/index.ts @@ -109,6 +109,58 @@ describe('ConfidentialAsset class', () => { }); }); + describe('method: setVenueFiltering', () => { + it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { + const enabled = true; + + const args = { + enabled, + }; + + const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; + + when(procedureMockUtils.getPrepareMock()) + .calledWith({ args: { assetId, ...args }, transformer: undefined }, context, {}) + .mockResolvedValue(expectedTransaction); + + const tx = await confidentialAsset.setVenueFiltering(args); + + expect(tx).toBe(expectedTransaction); + }); + + it('should prepare the procedure and return the resulting transaction for allowingVenues', async () => { + const args = { + allowedVenues: [new BigNumber(1), new BigNumber(2)], + }; + + const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; + + when(procedureMockUtils.getPrepareMock()) + .calledWith({ args: { assetId, ...args }, transformer: undefined }, context, {}) + .mockResolvedValue(expectedTransaction); + + const tx = await confidentialAsset.setVenueFiltering(args); + + expect(tx).toBe(expectedTransaction); + }); + + it('should prepare the procedure and return the resulting transaction for disallowingVenues', async () => { + const args = { + disallowedVenues: [new BigNumber(1), new BigNumber(2)], + }; + + const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; + + when(procedureMockUtils.getPrepareMock()) + .calledWith({ args: { assetId, ...args }, transformer: undefined }, context, {}) + .mockResolvedValue(expectedTransaction); + + const tx = await confidentialAsset.setVenueFiltering(args); + + expect(tx).toBe(expectedTransaction); + }); + }); + describe('method: details', () => { let u128ToBigNumberSpy: jest.SpyInstance; let bytesToStringSpy: jest.SpyInstance; diff --git a/src/api/procedures/__tests__/setConfidentialVenueFiltering.ts b/src/api/procedures/__tests__/setConfidentialVenueFiltering.ts new file mode 100644 index 0000000000..2c14876967 --- /dev/null +++ b/src/api/procedures/__tests__/setConfidentialVenueFiltering.ts @@ -0,0 +1,231 @@ +import { bool, u64 } from '@polkadot/types'; +import BigNumber from 'bignumber.js'; +import { when } from 'jest-when'; + +import { + getAuthorization, + Params, + prepareConfidentialVenueFiltering, + setConfidentialVenueFiltering, +} from '~/api/procedures/setConfidentialVenueFiltering'; +import { Context } from '~/internal'; +import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; +import { MockCodec } from '~/testUtils/mocks/dataSources'; +import { Mocked } from '~/testUtils/types'; +import { RoleType, TxTags } from '~/types'; +import * as utilsConversionModule from '~/utils/conversion'; + +jest.mock( + '~/api/entities/confidential/ConfidentialVenue', + require('~/testUtils/mocks/entities').mockConfidentialVenueModule( + '~/api/entities/confidential/ConfidentialVenue' + ) +); + +describe('setConfidentialVenueFiltering procedure', () => { + let mockContext: Mocked; + let venueFilteringMock: jest.Mock; + const enabledAssetId = 'ENABLED'; + const disabledAssetId = 'DISABLED'; + let serializeConfidentialAssetIdSpy: jest.SpyInstance; + let booleanToBoolSpy: jest.SpyInstance; + let bigNumberToU64Spy: jest.SpyInstance; + let rawFalse: bool; + const venues: BigNumber[] = [new BigNumber(1)]; + let rawVenues: MockCodec[]; + + beforeAll(() => { + dsMockUtils.initMocks(); + procedureMockUtils.initMocks(); + entityMockUtils.initMocks(); + serializeConfidentialAssetIdSpy = jest.spyOn( + utilsConversionModule, + 'serializeConfidentialAssetId' + ); + booleanToBoolSpy = jest.spyOn(utilsConversionModule, 'booleanToBool'); + bigNumberToU64Spy = jest.spyOn(utilsConversionModule, 'bigNumberToU64'); + rawFalse = dsMockUtils.createMockBool(false); + }); + + beforeEach(() => { + entityMockUtils.configureMocks(); + mockContext = dsMockUtils.getContextInstance(); + venueFilteringMock = dsMockUtils.createQueryMock('confidentialAsset', 'venueFiltering'); + rawVenues = venues.map(venue => dsMockUtils.createMockU64(venue)); + + when(serializeConfidentialAssetIdSpy) + .calledWith(enabledAssetId) + .mockReturnValue(enabledAssetId); + when(serializeConfidentialAssetIdSpy) + .calledWith(disabledAssetId) + .mockReturnValue(disabledAssetId); + + when(venueFilteringMock) + .calledWith(enabledAssetId) + .mockResolvedValue(dsMockUtils.createMockBool(true)); + when(venueFilteringMock) + .calledWith(disabledAssetId) + .mockResolvedValue(dsMockUtils.createMockBool(false)); + + when(booleanToBoolSpy).calledWith(false, mockContext).mockReturnValue(rawFalse); + when(bigNumberToU64Spy).calledWith(venues[0], mockContext).mockReturnValue(rawVenues[0]); + }); + + afterEach(() => { + entityMockUtils.reset(); + procedureMockUtils.reset(); + dsMockUtils.reset(); + }); + + afterAll(() => { + procedureMockUtils.cleanup(); + dsMockUtils.cleanup(); + }); + + describe('setConfidentialVenueFiltering', () => { + it('the procedure method should be defined', () => { + expect(setConfidentialVenueFiltering).toBeDefined(); + }); + + it('calling it should return a new procedure', () => { + const boundFunc = setConfidentialVenueFiltering.bind(mockContext); + + expect(boundFunc).not.toThrow(); + expect(procedureMockUtils.getInstance(mockContext)).toBeDefined(); + }); + }); + + describe('prepareConfidentialVenueFiltering', () => { + it('should return a setConfidentialVenueFiltering transaction spec', async () => { + const proc = procedureMockUtils.getInstance(mockContext); + const setEnabled = false; + const transaction = dsMockUtils.createTxMock('confidentialAsset', 'setVenueFiltering'); + + const result = await prepareConfidentialVenueFiltering.call(proc, { + assetId: enabledAssetId, + enabled: setEnabled, + }); + + expect(result).toEqual({ + transactions: [ + { + transaction, + args: [enabledAssetId, rawFalse], + }, + ], + resolver: undefined, + }); + }); + + it('should return a allowVenues transaction spec', async () => { + const proc = procedureMockUtils.getInstance(mockContext); + const transaction = dsMockUtils.createTxMock('confidentialAsset', 'allowVenues'); + + const result = await prepareConfidentialVenueFiltering.call(proc, { + assetId: enabledAssetId, + allowedVenues: venues, + }); + + expect(result).toEqual({ + transactions: [ + { + transaction, + args: [enabledAssetId, rawVenues], + }, + ], + resolver: undefined, + }); + }); + + it('should return a disallowVenues transaction spec', async () => { + const proc = procedureMockUtils.getInstance(mockContext); + const transaction = dsMockUtils.createTxMock('confidentialAsset', 'disallowVenues'); + + const result = await prepareConfidentialVenueFiltering.call(proc, { + assetId: enabledAssetId, + disallowedVenues: venues, + }); + + expect(result).toEqual({ + transactions: [ + { + transaction, + args: [enabledAssetId, rawVenues], + }, + ], + resolver: undefined, + }); + }); + + it('should return empty transaction spec', async () => { + const proc = procedureMockUtils.getInstance(mockContext); + + const result = await prepareConfidentialVenueFiltering.call(proc, { + assetId: enabledAssetId, + disallowedVenues: [], + allowedVenues: [], + }); + + expect(result).toEqual({ + transactions: [], + resolver: undefined, + }); + }); + }); + + describe('getAuthorization', () => { + it('should return the appropriate roles and permissions for setConfidentialVenueFiltering', () => { + const proc = procedureMockUtils.getInstance(mockContext); + const boundFunc = getAuthorization.bind(proc); + const args: Params = { + assetId: enabledAssetId, + enabled: true, + }; + + expect(boundFunc(args)).toEqual({ + roles: [{ type: RoleType.ConfidentialAssetOwner, assetId: enabledAssetId }], + permissions: { + transactions: [TxTags.confidentialAsset.SetVenueFiltering], + assets: [], + portfolios: [], + }, + }); + }); + + it('should return the appropriate roles and permissions for allowVenues', () => { + const proc = procedureMockUtils.getInstance(mockContext); + const boundFunc = getAuthorization.bind(proc); + const args: Params = { + assetId: enabledAssetId, + allowedVenues: venues, + }; + + expect(boundFunc(args)).toEqual({ + roles: [{ type: RoleType.ConfidentialAssetOwner, assetId: enabledAssetId }], + permissions: { + transactions: [TxTags.confidentialAsset.AllowVenues], + assets: [], + portfolios: [], + }, + }); + }); + + it('should return the appropriate roles and permissions for disallowVenues', () => { + const proc = procedureMockUtils.getInstance(mockContext); + const boundFunc = getAuthorization.bind(proc); + const args: Params = { + assetId: enabledAssetId, + disallowedVenues: venues, + }; + + expect(boundFunc(args)).toEqual({ + roles: [{ type: RoleType.ConfidentialAssetOwner, assetId: enabledAssetId }], + permissions: { + transactions: [TxTags.confidentialAsset.DisallowVenues], + assets: [], + portfolios: [], + }, + }); + }); + }); +}); diff --git a/src/api/procedures/setConfidentialVenueFiltering.ts b/src/api/procedures/setConfidentialVenueFiltering.ts new file mode 100644 index 0000000000..ba1b0ed828 --- /dev/null +++ b/src/api/procedures/setConfidentialVenueFiltering.ts @@ -0,0 +1,99 @@ +import { Procedure } from '~/internal'; +import { RoleType, SetVenueFilteringParams, TxTags } from '~/types'; +import { BatchTransactionSpec, ProcedureAuthorization } from '~/types/internal'; +import { bigNumberToU64, booleanToBool, serializeConfidentialAssetId } from '~/utils/conversion'; +import { checkTxType } from '~/utils/internal'; + +/** + * @hidden + */ +export type Params = { + assetId: string; +} & SetVenueFilteringParams; + +/** + * @hidden + */ +export async function prepareConfidentialVenueFiltering( + this: Procedure, + args: Params +): Promise> { + const { + context: { + polymeshApi: { tx, query }, + }, + context, + } = this; + + const { assetId, enabled, allowedVenues, disallowedVenues } = args; + const rawAssetId = serializeConfidentialAssetId(assetId); + const transactions = []; + + const isEnabled = await query.confidentialAsset.venueFiltering(rawAssetId); + + if (enabled !== undefined && isEnabled.valueOf() !== enabled) { + transactions.push( + checkTxType({ + transaction: tx.confidentialAsset.setVenueFiltering, + args: [rawAssetId, booleanToBool(enabled, context)], + }) + ); + } + + if (allowedVenues?.length) { + transactions.push( + checkTxType({ + transaction: tx.confidentialAsset.allowVenues, + args: [rawAssetId, allowedVenues.map(venue => bigNumberToU64(venue, context))], + }) + ); + } + + if (disallowedVenues?.length) { + transactions.push( + checkTxType({ + transaction: tx.confidentialAsset.disallowVenues, + args: [rawAssetId, disallowedVenues.map(venue => bigNumberToU64(venue, context))], + }) + ); + } + + return { transactions, resolver: undefined }; +} + +/** + * @hidden + */ +export function getAuthorization( + this: Procedure, + { assetId, enabled, disallowedVenues, allowedVenues }: Params +): ProcedureAuthorization { + const transactions = []; + + if (enabled !== undefined) { + transactions.push(TxTags.confidentialAsset.SetVenueFiltering); + } + + if (allowedVenues?.length) { + transactions.push(TxTags.confidentialAsset.AllowVenues); + } + + if (disallowedVenues?.length) { + transactions.push(TxTags.confidentialAsset.DisallowVenues); + } + + return { + roles: [{ type: RoleType.ConfidentialAssetOwner, assetId }], + permissions: { + transactions, + assets: [], + portfolios: [], + }, + }; +} + +/** + * @hidden + */ +export const setConfidentialVenueFiltering = (): Procedure => + new Procedure(prepareConfidentialVenueFiltering, getAuthorization); diff --git a/src/internal.ts b/src/internal.ts index c71fcd2327..da10f7d001 100644 --- a/src/internal.ts +++ b/src/internal.ts @@ -166,4 +166,5 @@ export { export { addAssetStat } from '~/api/procedures/addAssetStat'; export { removeAssetStat } from '~/api/procedures/removeAssetStat'; export { setVenueFiltering } from '~/api/procedures/setVenueFiltering'; +export { setConfidentialVenueFiltering } from '~/api/procedures/setConfidentialVenueFiltering'; export { registerCustomClaimType } from '~/api/procedures/registerCustomClaimType'; From a8b035595caa562381bdfbd76f86e21e4f391f78 Mon Sep 17 00:00:00 2001 From: Prashant Bajpai <34747455+prashantasdeveloper@users.noreply.github.com> Date: Mon, 29 Jan 2024 13:39:20 +0530 Subject: [PATCH 060/120] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20Add=20method=20t?= =?UTF-8?q?o=20fetch=20venue=20filtering=20details=20for=20CA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../confidential/ConfidentialAsset/index.ts | 42 ++++++++++++++++ .../confidential/ConfidentialAsset/types.ts | 10 ++++ .../__tests__/ConfidentialAsset/index.ts | 48 +++++++++++++++++++ 3 files changed, 100 insertions(+) diff --git a/src/api/entities/confidential/ConfidentialAsset/index.ts b/src/api/entities/confidential/ConfidentialAsset/index.ts index cc53c5e462..c5cc4cdce0 100644 --- a/src/api/entities/confidential/ConfidentialAsset/index.ts +++ b/src/api/entities/confidential/ConfidentialAsset/index.ts @@ -3,6 +3,7 @@ import { Option } from '@polkadot/types-codec'; import { ConfidentialAccount, + ConfidentialVenue, Context, Entity, Identity, @@ -12,6 +13,7 @@ import { } from '~/internal'; import { ConfidentialAssetDetails, + ConfidentialVenueFilteringDetails, ErrorCode, GroupedAuditors, IssueConfidentialAssetParams, @@ -19,10 +21,12 @@ import { SetVenueFilteringParams, } from '~/types'; import { + boolToBoolean, bytesToString, identityIdToString, serializeConfidentialAssetId, tickerToString, + u64ToBigNumber, u128ToBigNumber, } from '~/utils/conversion'; import { assertCaAssetValid, createProcedureMethod } from '~/utils/internal'; @@ -176,6 +180,44 @@ export class ConfidentialAsset extends Entity { }; } + /** + * Retrieve venue filtering details for this Confidential Asset + */ + public async getVenueFilteringDetails(): Promise { + const { + id, + context: { + polymeshApi: { + query: { confidentialAsset }, + }, + }, + context, + } = this; + + const rawAssetId = serializeConfidentialAssetId(id); + + const [rawVenueFiltering, rawVenueAllowList] = await Promise.all([ + confidentialAsset.venueFiltering(rawAssetId), + confidentialAsset.venueAllowList.entries(rawAssetId), + ]); + + if (!boolToBoolean(rawVenueFiltering)) { + return { enabled: false }; + } + + const allowedConfidentialVenues: ConfidentialVenue[] = rawVenueAllowList.map( + ([ + { + args: [, rawVenueId], + }, + ]) => new ConfidentialVenue({ id: u64ToBigNumber(rawVenueId) }, context) + ); + return { + enabled: true, + allowedConfidentialVenues, + }; + } + /** * Determine whether this confidential Asset exists on chain */ diff --git a/src/api/entities/confidential/ConfidentialAsset/types.ts b/src/api/entities/confidential/ConfidentialAsset/types.ts index 830dde5c10..febf115e70 100644 --- a/src/api/entities/confidential/ConfidentialAsset/types.ts +++ b/src/api/entities/confidential/ConfidentialAsset/types.ts @@ -1,5 +1,6 @@ import BigNumber from 'bignumber.js'; +import { ConfidentialVenue } from '~/internal'; import { ConfidentialAccount, Identity } from '~/types'; export interface ConfidentialAssetDetails { @@ -50,3 +51,12 @@ export interface IssueConfidentialAssetParams { */ account: ConfidentialAccount | string; } + +export type ConfidentialVenueFilteringDetails = + | { + enabled: false; + } + | { + enabled: true; + allowedConfidentialVenues: ConfidentialVenue[]; + }; diff --git a/src/api/entities/confidential/__tests__/ConfidentialAsset/index.ts b/src/api/entities/confidential/__tests__/ConfidentialAsset/index.ts index 8ba6f728f6..fc13ffd7c7 100644 --- a/src/api/entities/confidential/__tests__/ConfidentialAsset/index.ts +++ b/src/api/entities/confidential/__tests__/ConfidentialAsset/index.ts @@ -1,9 +1,11 @@ +import { bool } from '@polkadot/types'; import BigNumber from 'bignumber.js'; import { when } from 'jest-when'; import { ConfidentialAsset, Context, Entity, PolymeshError, PolymeshTransaction } from '~/internal'; import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; import { ErrorCode } from '~/types'; +import { tuple } from '~/types/utils'; import * as utilsConversionModule from '~/utils/conversion'; jest.mock( @@ -267,6 +269,52 @@ describe('ConfidentialAsset class', () => { }); }); + describe('method: getVenueFilteringDetails', () => { + let boolToBooleanSpy: jest.SpyInstance; + let rawTrue: bool; + let rawFalse: bool; + + beforeAll(() => { + boolToBooleanSpy = jest.spyOn(utilsConversionModule, 'boolToBoolean'); + }); + + beforeEach(() => { + rawTrue = dsMockUtils.createMockBool(true); + rawFalse = dsMockUtils.createMockBool(false); + when(boolToBooleanSpy).calledWith(rawTrue).mockReturnValue(true); + when(boolToBooleanSpy).calledWith(rawFalse).mockReturnValue(false); + }); + + it('should return enabled as false when venue filtering is disabled', async () => { + dsMockUtils.createQueryMock('confidentialAsset', 'venueFiltering', { + returnValue: rawFalse, + }); + dsMockUtils.createQueryMock('confidentialAsset', 'venueAllowList', { + entries: [], + }); + const result = await confidentialAsset.getVenueFilteringDetails(); + + expect(result).toEqual({ + enabled: false, + }); + }); + + it('should return enabled as true along with allowed venues if venue filtering is enabled', async () => { + dsMockUtils.createQueryMock('confidentialAsset', 'venueFiltering', { + returnValue: rawTrue, + }); + dsMockUtils.createQueryMock('confidentialAsset', 'venueAllowList', { + entries: [tuple([`0x${assetId}`, dsMockUtils.createMockU64(new BigNumber(1))], rawTrue)], + }); + const result = await confidentialAsset.getVenueFilteringDetails(); + + expect(result).toEqual({ + enabled: true, + allowedConfidentialVenues: [expect.objectContaining({ id: new BigNumber(1) })], + }); + }); + }); + describe('method: exists', () => { it('should return if Confidential Asset exists', async () => { let result = await confidentialAsset.exists(); From e996c30fbcd2694d7c04456ba065939f3a9d963a Mon Sep 17 00:00:00 2001 From: Eric Richardson Date: Thu, 25 Jan 2024 18:30:14 -0500 Subject: [PATCH 061/120] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20add=20`addTransa?= =?UTF-8?q?ction`=20method=20to=20confidential=20venue?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit allows venue owners to create confidential transactions with `addTransaction` and `addTransctions` methods ✅ Closes: DA-981 --- src/api/entities/Identity/__tests__/index.ts | 36 ++ src/api/entities/Identity/index.ts | 8 + src/api/entities/Venue/index.ts | 1 - .../confidential/ConfidentialAccount/index.ts | 15 +- .../confidential/ConfidentialVenue/index.ts | 67 ++- .../__tests__/ConfidentialAccount/index.ts | 15 +- .../__tests__/ConfidentialVenue/index.ts | 108 +++- .../__tests__/addConfidentialTransaction.ts | 512 ++++++++++++++++++ .../procedures/addConfidentialTransaction.ts | 317 +++++++++++ src/api/procedures/types.ts | 40 ++ src/api/procedures/utils.ts | 75 ++- src/internal.ts | 1 + src/testUtils/mocks/dataSources.ts | 61 +++ src/testUtils/mocks/entities.ts | 27 +- src/types/index.ts | 9 +- src/utils/__tests__/conversion.ts | 181 ++++++- src/utils/__tests__/internal.ts | 39 ++ src/utils/conversion.ts | 74 ++- src/utils/internal.ts | 15 + src/utils/typeguards.ts | 8 + 20 files changed, 1562 insertions(+), 47 deletions(-) create mode 100644 src/api/procedures/__tests__/addConfidentialTransaction.ts create mode 100644 src/api/procedures/addConfidentialTransaction.ts diff --git a/src/api/entities/Identity/__tests__/index.ts b/src/api/entities/Identity/__tests__/index.ts index 5e3ae2ab3a..9200079dc6 100644 --- a/src/api/entities/Identity/__tests__/index.ts +++ b/src/api/entities/Identity/__tests__/index.ts @@ -31,6 +31,7 @@ import { MockContext } from '~/testUtils/mocks/dataSources'; import { Account, ConfidentialAssetOwnerRole, + ConfidentialVenueOwnerRole, DistributionWithDetails, ErrorCode, HistoricInstruction, @@ -100,6 +101,13 @@ jest.mock( require('~/testUtils/mocks/procedure').mockProcedureModule('~/base/Procedure') ); +jest.mock( + '~/api/entities/confidential/ConfidentialVenue', + require('~/testUtils/mocks/entities').mockConfidentialVenueModule( + '~/api/entities/confidential/ConfidentialVenue' + ) +); + describe('Identity class', () => { let context: MockContext; let stringToIdentityIdSpy: jest.SpyInstance; @@ -282,6 +290,34 @@ describe('Identity class', () => { spy.mockRestore(); }); + it('should check whether the Identity has the Confidential Venue Owner role', async () => { + const did = 'someDid'; + const identity = new Identity({ did }, context); + const role: ConfidentialVenueOwnerRole = { + type: RoleType.ConfidentialVenueOwner, + venueId: new BigNumber(10), + }; + + entityMockUtils.configureMocks({ + confidentialVenueOptions: { + creator: entityMockUtils.getIdentityInstance({ did }), + }, + }); + + const spy = jest.spyOn(identity, 'isEqual').mockReturnValue(true); + let hasRole = await identity.hasRole(role); + + expect(hasRole).toBe(true); + + identity.did = 'otherDid'; + + spy.mockReturnValue(false); + hasRole = await identity.hasRole(role); + + expect(hasRole).toBe(false); + spy.mockRestore(); + }); + it('should check whether the Identity has the Portfolio Custodian role', async () => { const did = 'someDid'; const identity = new Identity({ did }, context); diff --git a/src/api/entities/Identity/index.ts b/src/api/entities/Identity/index.ts index 35dab49fa0..d4a7a207c4 100644 --- a/src/api/entities/Identity/index.ts +++ b/src/api/entities/Identity/index.ts @@ -14,6 +14,7 @@ import { Account, ChildIdentity, ConfidentialAsset, + ConfidentialVenue, Context, Entity, FungibleAsset, @@ -55,6 +56,7 @@ import { Ensured, tuple } from '~/types/utils'; import { isCddProviderRole, isConfidentialAssetOwnerRole, + isConfidentialVenueOwnerRole, isIdentityRole, isPortfolioCustodianRole, isTickerOwnerRole, @@ -171,6 +173,12 @@ export class Identity extends Entity { const { owner } = await venue.details(); + return this.isEqual(owner); + } else if (isConfidentialVenueOwnerRole(role)) { + const confidentialVenue = new ConfidentialVenue({ id: role.venueId }, context); + + const owner = await confidentialVenue.creator(); + return this.isEqual(owner); } else if (isPortfolioCustodianRole(role)) { const { portfolioId } = role; diff --git a/src/api/entities/Venue/index.ts b/src/api/entities/Venue/index.ts index 16422a7925..03519835ff 100644 --- a/src/api/entities/Venue/index.ts +++ b/src/api/entities/Venue/index.ts @@ -131,7 +131,6 @@ export class Venue extends Entity { settlement.venueInfo(venueId), settlement.details(venueId), ]); - const { creator, venueType: type } = venueInfo.unwrap(); return { diff --git a/src/api/entities/confidential/ConfidentialAccount/index.ts b/src/api/entities/confidential/ConfidentialAccount/index.ts index 757391bd9a..59e96299f8 100644 --- a/src/api/entities/confidential/ConfidentialAccount/index.ts +++ b/src/api/entities/confidential/ConfidentialAccount/index.ts @@ -1,5 +1,5 @@ import { Context, Entity, Identity } from '~/internal'; -import { identityIdToString } from '~/utils/conversion'; +import { confidentialAccountToMeshPublicKey, identityIdToString } from '~/utils/conversion'; /** * @hidden @@ -67,7 +67,18 @@ export class ConfidentialAccount extends Entity { * Determine whether this Account exists on chain */ public async exists(): Promise { - return true; + const { + context: { + polymeshApi: { + query: { confidentialAsset }, + }, + }, + } = this; + + const rawPublicKey = confidentialAccountToMeshPublicKey(this, this.context); + + const didRecord = await confidentialAsset.accountDid(rawPublicKey); + return didRecord.isSome; } /** diff --git a/src/api/entities/confidential/ConfidentialVenue/index.ts b/src/api/entities/confidential/ConfidentialVenue/index.ts index c05b380a96..4c196eea48 100644 --- a/src/api/entities/confidential/ConfidentialVenue/index.ts +++ b/src/api/entities/confidential/ConfidentialVenue/index.ts @@ -1,13 +1,37 @@ import BigNumber from 'bignumber.js'; -import { ConfidentialTransaction, Context, Entity, Identity, PolymeshError } from '~/internal'; -import { ConfidentialTransactionStatus, ErrorCode, GroupedTransactions } from '~/types'; +import { + addConfidentialTransaction, + ConfidentialTransaction, + Context, + Entity, + Identity, + PolymeshError, +} from '~/internal'; +import { + AddConfidentialTransactionParams, + AddConfidentialTransactionsParams, + ConfidentialTransactionStatus, + ErrorCode, + GroupedTransactions, + ProcedureMethod, +} from '~/types'; import { bigNumberToU64, identityIdToString, u64ToBigNumber } from '~/utils/conversion'; +import { createProcedureMethod } from '~/utils/internal'; export interface UniqueIdentifiers { id: BigNumber; } +/** + * @hidden + */ +export function addTransactionTransformer([ + transaction, +]: ConfidentialTransaction[]): ConfidentialTransaction { + return transaction; +} + /** * Represents a Venue through which confidential transactions are handled */ @@ -36,6 +60,22 @@ export class ConfidentialVenue extends Entity { const { id } = identifiers; this.id = id; + + this.addTransaction = createProcedureMethod( + { + getProcedureAndArgs: args => [ + addConfidentialTransaction, + { transactions: [args], venueId: this.id }, + ], + transformer: addTransactionTransformer, + }, + context + ); + + this.addTransactions = createProcedureMethod( + { getProcedureAndArgs: args => [addConfidentialTransaction, { ...args, venueId: this.id }] }, + context + ); } /** @@ -142,6 +182,29 @@ export class ConfidentialVenue extends Entity { return id.lt(nextVenue); } + /** + * Creates a Confidential Transaction in this Venue + * + * @note required role: + * - Venue Owner + */ + public addTransaction: ProcedureMethod< + AddConfidentialTransactionParams, + ConfidentialTransaction[], + ConfidentialTransaction + >; + + /** + * Creates a batch of Confidential Transactions in this Venue + * + * @note required role: + * - Venue Owner + */ + public addTransactions: ProcedureMethod< + AddConfidentialTransactionsParams, + ConfidentialTransaction[] + >; + /** * Return the confidential Venue's ID */ diff --git a/src/api/entities/confidential/__tests__/ConfidentialAccount/index.ts b/src/api/entities/confidential/__tests__/ConfidentialAccount/index.ts index 244cdc8ac2..bc41d339b5 100644 --- a/src/api/entities/confidential/__tests__/ConfidentialAccount/index.ts +++ b/src/api/entities/confidential/__tests__/ConfidentialAccount/index.ts @@ -80,8 +80,21 @@ describe('ConfidentialAccount class', () => { }); describe('method: exists', () => { - it('should return true', () => { + it('should return true if there is an associated DID', () => { + const mockDid = dsMockUtils.createMockIdentityId('someDID'); + dsMockUtils + .createQueryMock('confidentialAsset', 'accountDid') + .mockResolvedValue(dsMockUtils.createMockOption(mockDid)); + return expect(account.exists()).resolves.toBe(true); }); + + it('should return false', () => { + dsMockUtils + .createQueryMock('confidentialAsset', 'accountDid') + .mockResolvedValue(dsMockUtils.createMockOption()); + + return expect(account.exists()).resolves.toBe(false); + }); }); }); diff --git a/src/api/entities/confidential/__tests__/ConfidentialVenue/index.ts b/src/api/entities/confidential/__tests__/ConfidentialVenue/index.ts index 84f0569f63..d16ffb5a88 100644 --- a/src/api/entities/confidential/__tests__/ConfidentialVenue/index.ts +++ b/src/api/entities/confidential/__tests__/ConfidentialVenue/index.ts @@ -2,10 +2,11 @@ import { u64 } from '@polkadot/types'; import BigNumber from 'bignumber.js'; import { when } from 'jest-when'; -import { ConfidentialVenue, Context, Entity, PolymeshError } from '~/internal'; +import { addTransactionTransformer } from '~/api/entities/confidential/ConfidentialVenue'; +import { ConfidentialVenue, Context, Entity, PolymeshError, PolymeshTransaction } from '~/internal'; import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; import { Mocked } from '~/testUtils/types'; -import { ConfidentialTransactionStatus, ErrorCode } from '~/types'; +import { ConfidentialTransaction, ConfidentialTransactionStatus, ErrorCode } from '~/types'; import { tuple } from '~/types/utils'; import * as utilsConversionModule from '~/utils/conversion'; @@ -16,6 +17,11 @@ jest.mock( ) ); +jest.mock( + '~/base/Procedure', + require('~/testUtils/mocks/procedure').mockProcedureModule('~/base/Procedure') +); + describe('ConfidentialVenue class', () => { let context: Mocked; let venue: ConfidentialVenue; @@ -173,6 +179,104 @@ describe('ConfidentialVenue class', () => { }); }); + describe('method: addTransaction', () => { + afterAll(() => { + jest.restoreAllMocks(); + }); + + it('should prepare the procedure and return the resulting transaction', async () => { + const legs = [ + { + sender: 'someAccountId', + receiver: 'anotherAccountId', + assets: ['SOME_ASSET'], + auditors: [], + mediators: [], + }, + { + sender: 'anotherDid', + receiver: 'aThirdDid', + assets: ['ANOTHER_ASSET'], + auditors: [], + mediators: [], + }, + ]; + + const expectedTransaction = + 'someTransaction' as unknown as PolymeshTransaction; + + when(procedureMockUtils.getPrepareMock()) + .calledWith( + { + args: { transactions: [{ legs }], venueId: venue.id }, + transformer: addTransactionTransformer, + }, + context, + {} + ) + .mockResolvedValue(expectedTransaction); + + const tx = await venue.addTransaction({ legs }); + + expect(tx).toBe(expectedTransaction); + }); + }); + + describe('method: addTransactions', () => { + afterAll(() => { + jest.restoreAllMocks(); + }); + + it('should prepare the procedure and return the resulting transactions', async () => { + const legs = [ + { + sender: 'someAccountId', + receiver: 'anotherAccountId', + assets: ['SOME_ASSET'], + auditors: [], + mediators: [], + }, + { + sender: 'anotherDid', + receiver: 'aThirdDid', + assets: ['ANOTHER_ASSET'], + auditors: [], + mediators: [], + }, + ]; + + const expectedTransaction = + 'someTransaction' as unknown as PolymeshTransaction; + + when(procedureMockUtils.getPrepareMock()) + .calledWith( + { + args: { transactions: [{ legs }], venueId: venue.id }, + transformer: undefined, + }, + context, + {} + ) + .mockResolvedValue(expectedTransaction); + + const transactions = [{ legs }]; + + const tx = await venue.addTransactions({ transactions }); + + expect(tx).toBe(expectedTransaction); + }); + }); + + describe('addInstructionTransformer', () => { + it('should return a single Transaction', () => { + const result = addTransactionTransformer([ + entityMockUtils.getConfidentialTransactionInstance({ id }), + ]); + + expect(result.id).toEqual(id); + }); + }); + describe('method: toHuman', () => { it('should return a human readable version of the entity', () => { const venueEntity = new ConfidentialVenue({ id: new BigNumber(1) }, context); diff --git a/src/api/procedures/__tests__/addConfidentialTransaction.ts b/src/api/procedures/__tests__/addConfidentialTransaction.ts new file mode 100644 index 0000000000..8d2852d22b --- /dev/null +++ b/src/api/procedures/__tests__/addConfidentialTransaction.ts @@ -0,0 +1,512 @@ +import { BTreeSet, Bytes, Option, u64 } from '@polkadot/types'; +import { + PalletConfidentialAssetAuditorAccount, + PalletConfidentialAssetConfidentialAccount, + PalletConfidentialAssetTransactionLeg, + PolymeshPrimitivesIdentityId, + PolymeshPrimitivesIdentityIdPortfolioId, + PolymeshPrimitivesMemo, + PolymeshPrimitivesTicker, +} from '@polkadot/types/lookup'; +import { ISubmittableResult } from '@polkadot/types/types'; +import BigNumber from 'bignumber.js'; +import { when } from 'jest-when'; + +import { + createConfidentialTransactionResolver, + getAuthorization, + Params, + prepareAddTransaction, +} from '~/api/procedures/addConfidentialTransaction'; +import { Context, PolymeshError } from '~/internal'; +import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; +import { Mocked } from '~/testUtils/types'; +import { + ConfidentialTransaction, + ErrorCode, + RoleType, + TickerReservationStatus, + TxTags, +} from '~/types'; +import { PolymeshTx } from '~/types/internal'; +import * as utilsConversionModule from '~/utils/conversion'; +import * as utilsInternalModule from '~/utils/internal'; + +jest.mock( + '~/api/entities/confidential/ConfidentialVenue', + require('~/testUtils/mocks/entities').mockConfidentialVenueModule( + '~/api/entities/confidential/ConfidentialVenue' + ) +); + +jest.mock( + '~/api/entities/confidential/ConfidentialAsset', + require('~/testUtils/mocks/entities').mockConfidentialAssetModule( + '~/api/entities/confidential/ConfidentialAsset' + ) +); + +jest.mock( + '~/api/entities/confidential/ConfidentialAccount', + require('~/testUtils/mocks/entities').mockConfidentialAccountModule( + '~/api/entities/confidential/ConfidentialAccount' + ) +); + +jest.mock( + '~/api/entities/Identity', + require('~/testUtils/mocks/entities').mockIdentityModule('~/api/entities/Identity') +); + +describe('addTransaction procedure', () => { + let mockContext: Mocked; + let getCustodianMock: jest.Mock; + let stringToTickerSpy: jest.SpyInstance; + let bigNumberToU64Spy: jest.SpyInstance; + + let stringToInstructionMemoSpy: jest.SpyInstance; + let confidentialLegToMeshLegSpy: jest.SpyInstance; + let venueId: BigNumber; + let sender: string; + let receiver: string; + let auditor: string; + let mediator: string; + let fromDid: string; + let toDid: string; + let assetId: string; + let memo: string; + let args: Params; + + let rawVenueId: u64; + let rawAssets: BTreeSet; + let rawSender: PalletConfidentialAssetConfidentialAccount; + let rawReceiver: PalletConfidentialAssetConfidentialAccount; + let rawTicker: PolymeshPrimitivesTicker; + let rawInstructionMemo: PolymeshPrimitivesMemo; + let rawAuditors: BTreeSet; + let rawMediators: BTreeSet; + let rawLeg: PalletConfidentialAssetTransactionLeg; + let addTransaction: PolymeshTx< + [ + u64, + { + sender: PolymeshPrimitivesIdentityIdPortfolioId; + receiver: PolymeshPrimitivesIdentityIdPortfolioId; + assets: unknown; + auditors: BTreeSet; + mediators: BTreeSet; + }[], + PolymeshPrimitivesIdentityIdPortfolioId[], + Option + ] + >; + + beforeAll(() => { + dsMockUtils.initMocks({ + contextOptions: { + balance: { + free: new BigNumber(500), + locked: new BigNumber(0), + total: new BigNumber(500), + }, + }, + }); + procedureMockUtils.initMocks(); + entityMockUtils.initMocks(); + getCustodianMock = jest.fn(); + stringToTickerSpy = jest.spyOn(utilsConversionModule, 'stringToTicker'); + bigNumberToU64Spy = jest.spyOn(utilsConversionModule, 'bigNumberToU64'); + stringToInstructionMemoSpy = jest.spyOn(utilsConversionModule, 'stringToMemo'); + confidentialLegToMeshLegSpy = jest.spyOn(utilsConversionModule, 'confidentialLegToMeshLeg'); + + venueId = new BigNumber(1); + sender = 'senderAccount'; + receiver = 'receiverAccount'; + auditor = 'auditorAccount'; + mediator = 'mediatorDid'; + fromDid = 'fromDid'; + toDid = 'toDid'; + assetId = '76702175-d8cb-e3a5-5a19-734433351e25'; + memo = 'SOME_MEMO'; + rawVenueId = dsMockUtils.createMockU64(venueId); + rawSender = dsMockUtils.createMockConfidentialAccount(sender); + rawReceiver = dsMockUtils.createMockConfidentialAccount(receiver); + rawTicker = dsMockUtils.createMockTicker(assetId); + rawAssets = dsMockUtils.createMockBTreeSet([dsMockUtils.createMockBytes(assetId)]); + rawInstructionMemo = dsMockUtils.createMockMemo(memo); + rawAuditors = dsMockUtils.createMockBTreeSet([auditor]); + rawMediators = dsMockUtils.createMockBTreeSet([mediator]); + rawLeg = dsMockUtils.createMockConfidentialLeg({ + sender: rawSender, + receiver: rawReceiver, + assets: rawAssets, + auditors: rawAuditors, + mediators: rawMediators, + }); + }); + + beforeEach(() => { + const tickerReservationDetailsMock = jest.fn(); + tickerReservationDetailsMock.mockResolvedValue({ + owner: entityMockUtils.getIdentityInstance(), + expiryDate: null, + status: TickerReservationStatus.Free, + }); + + addTransaction = dsMockUtils.createTxMock('confidentialAsset', 'addTransaction'); + + mockContext = dsMockUtils.getContextInstance(); + + getCustodianMock.mockReturnValueOnce({ did: fromDid }).mockReturnValue({ did: toDid }); + entityMockUtils.configureMocks({ + numberedPortfolioOptions: { + getCustodian: getCustodianMock, + }, + tickerReservationOptions: { + details: tickerReservationDetailsMock, + }, + }); + when(stringToTickerSpy).calledWith(assetId, mockContext).mockReturnValue(rawTicker); + when(bigNumberToU64Spy).calledWith(venueId, mockContext).mockReturnValue(rawVenueId); + when(stringToInstructionMemoSpy) + .calledWith(memo, mockContext) + .mockReturnValue(rawInstructionMemo); + + when(confidentialLegToMeshLegSpy.mockReturnValue(rawLeg)) + .calledWith({ sender, receiver, assets: [assetId], rawAuditors, rawMediators }, mockContext) + .mockReturnValue(rawLeg); + + args = { + venueId, + transactions: [ + { + legs: [ + { + sender, + receiver, + assets: [assetId], + auditors: [], + mediators: [], + }, + ], + }, + ], + }; + }); + + afterEach(() => { + entityMockUtils.reset(); + procedureMockUtils.reset(); + dsMockUtils.reset(); + jest.resetAllMocks(); + }); + + afterAll(() => { + procedureMockUtils.cleanup(); + dsMockUtils.cleanup(); + }); + + it('should throw an error if the transactions array is empty', () => { + const proc = procedureMockUtils.getInstance(mockContext, { + portfoliosToAffirm: [], + }); + + const expectedError = new PolymeshError({ + code: ErrorCode.ValidationError, + message: 'The transactions array cannot be empty', + }); + + return expect(prepareAddTransaction.call(proc, { venueId, transactions: [] })).rejects.toThrow( + expectedError + ); + }); + + it('should throw an error if the legs array is empty', async () => { + const proc = procedureMockUtils.getInstance(mockContext, { + portfoliosToAffirm: [], + }); + + entityMockUtils.configureMocks({ + confidentialVenueOptions: { exists: true }, + }); + + let error; + + try { + await prepareAddTransaction.call(proc, { venueId, transactions: [{ legs: [] }] }); + } catch (err) { + error = err; + } + + expect(error.message).toBe("The legs array can't be empty"); + expect(error.code).toBe(ErrorCode.ValidationError); + expect(error.data.failedTransactionIndexes[0]).toBe(0); + }); + + it('should throw an error if any instruction contains no assets', () => { + const proc = procedureMockUtils.getInstance(mockContext, { + portfoliosToAffirm: [], + }); + + entityMockUtils.configureMocks({ + venueOptions: { exists: true }, + }); + + const expectedError = new PolymeshError({ + code: ErrorCode.ValidationError, + message: 'Transaction legs must contain at least one Asset', + }); + const legs = [ + { + sender, + receiver, + assets: [], + auditors: [], + mediators: [], + }, + ]; + + return expect( + prepareAddTransaction.call(proc, { venueId, transactions: [{ legs }] }) + ).rejects.toThrow(expectedError); + }); + + it('should throw an error if given a string asset that does not exist', async () => { + const proc = procedureMockUtils.getInstance(mockContext, { + portfoliosToAffirm: [], + }); + + entityMockUtils.configureMocks({ + venueOptions: { exists: true }, + confidentialAssetOptions: { + exists: false, + }, + }); + + const expectedError = new PolymeshError({ + code: ErrorCode.DataUnavailable, + message: "The Confidential Asset doesn't exist", + }); + const legs = Array(2).fill({ + sender, + receiver, + assets: [assetId], + auditors: [auditor], + mediators: [mediator], + }); + + return expect( + prepareAddTransaction.call(proc, { venueId, transactions: [{ legs }] }) + ).rejects.toThrow(expectedError); + }); + + it('should throw an error if given an Auditor that does not exist', async () => { + const proc = procedureMockUtils.getInstance(mockContext, { + portfoliosToAffirm: [], + }); + + entityMockUtils.configureMocks({ + venueOptions: { exists: true }, + confidentialAccountOptions: { + exists: false, + }, + }); + + const expectedError = new PolymeshError({ + code: ErrorCode.DataUnavailable, + message: "The Confidential Account doesn't exist", + }); + const legs = Array(2).fill({ + sender, + receiver, + assets: [assetId], + auditors: [auditor], + mediators: [mediator], + }); + + return expect( + prepareAddTransaction.call(proc, { venueId, transactions: [{ legs }] }) + ).rejects.toThrow(expectedError); + }); + + it('should throw an error if given a Mediator that does not exist', async () => { + const proc = procedureMockUtils.getInstance(mockContext, { + portfoliosToAffirm: [], + }); + + entityMockUtils.configureMocks({ + venueOptions: { exists: true }, + identityOptions: { + exists: false, + }, + }); + + const expectedError = new PolymeshError({ + code: ErrorCode.DataUnavailable, + message: 'The Identity does not exist', + }); + const legs = Array(2).fill({ + sender, + receiver, + assets: [assetId], + auditors: [auditor], + mediators: [mediator], + }); + + return expect( + prepareAddTransaction.call(proc, { venueId, transactions: [{ legs }] }) + ).rejects.toThrow(expectedError); + }); + + it('should throw an error if any transaction contains leg with transferring Assets between the same Confidential Account', () => { + const proc = procedureMockUtils.getInstance(mockContext, { + portfoliosToAffirm: [], + }); + + entityMockUtils.configureMocks({ + confidentialVenueOptions: { exists: true }, + }); + + const expectedError = new PolymeshError({ + code: ErrorCode.ValidationError, + message: 'Transaction leg cannot transfer Assets between the same account', + data: { failedTransactionIndexes: 7 }, + }); + + const legs = Array(2).fill({ + sender, + receiver: sender, + assets: [assetId], + auditors: [], + mediators: [], + }); + + return expect( + prepareAddTransaction.call(proc, { venueId, transactions: [{ legs }] }) + ).rejects.toThrow(expectedError); + }); + + it("should throw an error if the Confidential Venue doesn't exist", () => { + const proc = procedureMockUtils.getInstance(mockContext); + + entityMockUtils.configureMocks({ + confidentialVenueOptions: { exists: false }, + }); + + const expectedError = new PolymeshError({ + code: ErrorCode.DataUnavailable, + message: "The Confidential Venue doesn't exist", + }); + + return expect(prepareAddTransaction.call(proc, args)).rejects.toThrow(expectedError); + }); + + it('should throw an error if the legs array exceeds limit', async () => { + const proc = procedureMockUtils.getInstance(mockContext, { + portfoliosToAffirm: [], + }); + + entityMockUtils.configureMocks({ + confidentialVenueOptions: { + exists: true, + }, + }); + + let error; + + const legs = Array(11).fill({ + sender, + receiver, + assets: [entityMockUtils.getConfidentialAssetInstance({ id: assetId })], + }); + + try { + await prepareAddTransaction.call(proc, { venueId, transactions: [{ legs }] }); + } catch (err) { + error = err; + } + + expect(error.message).toBe('The legs array exceeds the maximum allowed length'); + expect(error.code).toBe(ErrorCode.LimitExceeded); + }); + + it('should return an add and authorize instruction transaction spec', async () => { + dsMockUtils.configureMocks({ contextOptions: { did: fromDid } }); + entityMockUtils.configureMocks({ + confidentialAssetOptions: { + exists: true, + }, + confidentialVenueOptions: { + exists: true, + }, + confidentialAccountOptions: { exists: true }, + }); + getCustodianMock.mockReturnValue({ did: fromDid }); + const proc = procedureMockUtils.getInstance(mockContext); + + const result = await prepareAddTransaction.call(proc, args); + + expect(result).toEqual({ + transactions: [ + { + transaction: addTransaction, + args: [rawVenueId, [rawLeg], null], + }, + ], + resolver: expect.any(Function), + }); + }); + + describe('getAuthorization', () => { + it('should return the appropriate roles and permissions', async () => { + const proc = procedureMockUtils.getInstance(mockContext); + const boundFunc = getAuthorization.bind(proc); + + const result = await boundFunc({ + venueId, + transactions: [ + { legs: [{ sender, receiver, assets: [assetId], auditors: [], mediators: [] }] }, + ], + }); + + expect(result).toEqual({ + roles: [{ type: RoleType.ConfidentialVenueOwner, venueId }], + permissions: { + assets: [], + portfolios: [], + transactions: [TxTags.confidentialAsset.AddTransaction], + }, + }); + }); + }); + + describe('addTransactionResolver', () => { + const filterEventRecordsSpy = jest.spyOn(utilsInternalModule, 'filterEventRecords'); + const id = new BigNumber(10); + const rawId = dsMockUtils.createMockU64(id); + + beforeAll(() => { + entityMockUtils.initMocks({ + confidentialTransactionOptions: { + id, + }, + }); + }); + + beforeEach(() => { + filterEventRecordsSpy.mockReturnValue([dsMockUtils.createMockIEvent(['someDid', rawId])]); + }); + + afterEach(() => { + filterEventRecordsSpy.mockReset(); + }); + + it('should return the new Confidential Transaction', () => { + const fakeContext = {} as Context; + + const result = createConfidentialTransactionResolver(fakeContext)({} as ISubmittableResult); + + expect(result[0].id).toEqual(id); + }); + }); +}); diff --git a/src/api/procedures/addConfidentialTransaction.ts b/src/api/procedures/addConfidentialTransaction.ts new file mode 100644 index 0000000000..10f302a74c --- /dev/null +++ b/src/api/procedures/addConfidentialTransaction.ts @@ -0,0 +1,317 @@ +import { u64 } from '@polkadot/types'; +import { + PalletConfidentialAssetTransactionLeg, + PolymeshPrimitivesMemo, +} from '@polkadot/types/lookup'; +import { ISubmittableResult } from '@polkadot/types/types'; +import BigNumber from 'bignumber.js'; + +import { + assertConfidentialAccountExists, + assertConfidentialAssetExists, + assertConfidentialVenueExists, + assertIdentityExists, +} from '~/api/procedures/utils'; +import { + ConfidentialTransaction, + Context, + DefaultPortfolio, + NumberedPortfolio, + PolymeshError, + Procedure, +} from '~/internal'; +import { + AddConfidentialTransactionParams, + AddConfidentialTransactionsParams, + ConfidentialAssetTx, + ErrorCode, + RoleType, +} from '~/types'; +import { BatchTransactionSpec, ProcedureAuthorization } from '~/types/internal'; +import { MAX_LEGS_LENGTH } from '~/utils/constants'; +import { + auditorsToBtreeSet, + bigNumberToU64, + confidentialAccountToMeshPublicKey, + confidentialAssetsToBtreeSet, + confidentialLegToMeshLeg, + identitiesToBtreeSet, + stringToMemo, + u64ToBigNumber, +} from '~/utils/conversion'; +import { + asConfidentialAccount, + asConfidentialAsset, + asIdentity, + assembleBatchTransactions, + filterEventRecords, + optionize, +} from '~/utils/internal'; + +/** + * @hidden + */ +export type Params = AddConfidentialTransactionsParams & { + venueId: BigNumber; +}; + +/** + * @hidden + */ +export interface Storage { + portfoliosToAffirm: (DefaultPortfolio | NumberedPortfolio)[][]; +} + +/** + * @hidden + */ +type InternalAddTransactionParams = [ + u64, // venueID + PalletConfidentialAssetTransactionLeg[], + PolymeshPrimitivesMemo | null +][]; + +/** + * @hidden + */ +export const createConfidentialTransactionResolver = + (context: Context) => + (receipt: ISubmittableResult): ConfidentialTransaction[] => { + const events = filterEventRecords(receipt, 'confidentialAsset', 'TransactionCreated'); + + const result = events.map( + ({ data }) => new ConfidentialTransaction({ id: u64ToBigNumber(data[1]) }, context) + ); + + return result; + }; + +/** + * @hidden + */ +async function getTxArgsAndErrors( + transactions: AddConfidentialTransactionParams[], + venueId: BigNumber, + context: Context +): Promise<{ + errIndexes: { + legEmptyErrIndexes: number[]; + legLengthErrIndexes: number[]; + sameIdentityErrIndexes: number[]; + noAssetsErrIndexes: number[]; + }; + addTransactionParams: InternalAddTransactionParams; +}> { + const addTransactionParams: InternalAddTransactionParams = []; + + const legEmptyErrIndexes: number[] = []; + const legLengthErrIndexes: number[] = []; + const legAmountErrIndexes: number[] = []; + const sameIdentityErrIndexes: number[] = []; + const noAssetsErrIndexes: number[] = []; + + for (const [i, transaction] of transactions.entries()) { + const { legs, memo } = transaction; + if (!legs.length) { + legEmptyErrIndexes.push(i); + } + + if (legs.length > MAX_LEGS_LENGTH) { + legLengthErrIndexes.push(i); + } + + const sameIdentityLegs = legs.filter(({ sender, receiver }) => { + return sender === receiver; + }); + + if (sameIdentityLegs.length) { + sameIdentityErrIndexes.push(i); + } + + const noAssetsLegs = legs.filter(({ assets }) => assets.length === 0); + + if (noAssetsLegs.length) { + noAssetsErrIndexes.push(i); + } + + if ( + !legEmptyErrIndexes.length && + !legLengthErrIndexes.length && + !legAmountErrIndexes.length && + !sameIdentityErrIndexes.length + ) { + const rawVenueId = bigNumberToU64(venueId, context); + const rawLegs: PalletConfidentialAssetTransactionLeg[] = []; + const rawInstructionMemo = optionize(stringToMemo)(memo, context); + + await Promise.all([ + ...legs.map( + async ({ + sender: inputSender, + receiver: inputReceiver, + assets: inputAssets, + auditors: inputAuditors, + mediators: inputMediators, + }) => { + const assets = inputAssets.map(asset => asConfidentialAsset(asset, context)); + const sender = asConfidentialAccount(inputSender, context); + const receiver = asConfidentialAccount(inputReceiver, context); + const auditors = inputAuditors.map(auditor => asConfidentialAccount(auditor, context)); + const mediators = inputMediators.map(mediator => asIdentity(mediator, context)); + await Promise.all([ + assertConfidentialAccountExists(sender), + assertConfidentialAccountExists(receiver), + ...assets.map(asset => assertConfidentialAssetExists(asset, context)), + ...auditors.map(auditor => assertConfidentialAccountExists(auditor)), + ...mediators.map(mediator => assertIdentityExists(mediator)), + ]); + + const rawSender = confidentialAccountToMeshPublicKey(sender, context); + const rawReceiver = confidentialAccountToMeshPublicKey(receiver, context); + const rawAuditors = auditorsToBtreeSet(auditors, context); + const rawMediators = identitiesToBtreeSet(mediators, context); + const rawAssets = confidentialAssetsToBtreeSet(assets, context); + + const rawLeg = confidentialLegToMeshLeg( + { + sender: rawSender, + receiver: rawReceiver, + auditors: rawAuditors, + mediators: rawMediators, + assets: rawAssets, + }, + context + ); + + rawLegs.push(rawLeg); + } + ), + ]); + + addTransactionParams.push([rawVenueId, rawLegs, rawInstructionMemo]); + } + } + + return { + errIndexes: { + legEmptyErrIndexes, + legLengthErrIndexes, + sameIdentityErrIndexes, + noAssetsErrIndexes, + }, + addTransactionParams, + }; +} + +/** + * @hidden + */ +export async function prepareAddTransaction( + this: Procedure, + args: Params +): Promise> { + const { + context: { + polymeshApi: { + tx: { confidentialAsset }, + }, + }, + context, + } = this; + const { transactions, venueId } = args; + + await assertConfidentialVenueExists(venueId, context); + + if (transactions.length === 0) { + throw new PolymeshError({ + code: ErrorCode.ValidationError, + message: 'The transactions array cannot be empty', + }); + } + + const { + errIndexes: { + legEmptyErrIndexes, + legLengthErrIndexes, + sameIdentityErrIndexes, + noAssetsErrIndexes, + }, + addTransactionParams, + } = await getTxArgsAndErrors(transactions, venueId, context); + + if (legEmptyErrIndexes.length) { + throw new PolymeshError({ + code: ErrorCode.ValidationError, + message: "The legs array can't be empty", + data: { + failedTransactionIndexes: legEmptyErrIndexes, + }, + }); + } + + if (legLengthErrIndexes.length) { + throw new PolymeshError({ + code: ErrorCode.LimitExceeded, + message: 'The legs array exceeds the maximum allowed length', + data: { + maxLength: MAX_LEGS_LENGTH, + failedInstructionIndexes: legLengthErrIndexes, + }, + }); + } + + if (sameIdentityErrIndexes.length) { + throw new PolymeshError({ + code: ErrorCode.ValidationError, + message: 'Transaction leg cannot transfer Assets between the same account', + data: { + failedTransactionIndexes: sameIdentityErrIndexes, + }, + }); + } + + if (noAssetsErrIndexes.length) { + throw new PolymeshError({ + code: ErrorCode.ValidationError, + message: 'Transaction legs must contain at least one Asset', + data: { + failedTransactionIndexes: noAssetsErrIndexes, + }, + }); + } + + const assembledTransactions = assembleBatchTransactions([ + { + transaction: confidentialAsset.addTransaction, + argsArray: addTransactionParams, + }, + ] as const); + + return { + transactions: assembledTransactions, + resolver: createConfidentialTransactionResolver(context), + }; +} + +/** + * @hidden + */ +export async function getAuthorization( + this: Procedure, + { venueId }: Params +): Promise { + return { + roles: [{ type: RoleType.ConfidentialVenueOwner, venueId }], + permissions: { + assets: [], + portfolios: [], + transactions: [ConfidentialAssetTx.AddTransaction], + }, + }; +} + +/** + * @hidden + */ +export const addConfidentialTransaction = (): Procedure => + new Procedure(prepareAddTransaction, getAuthorization); diff --git a/src/api/procedures/types.ts b/src/api/procedures/types.ts index a4872fa8ee..b8f24073fb 100644 --- a/src/api/procedures/types.ts +++ b/src/api/procedures/types.ts @@ -24,6 +24,8 @@ import { ClaimCountTransferRestriction, ClaimPercentageTransferRestriction, ClaimTarget, + ConfidentialAccount, + ConfidentialAsset, CountTransferRestriction, InputCaCheckpoint, InputCondition, @@ -551,6 +553,44 @@ export interface AddInstructionsParams { instructions: AddInstructionParams[]; } +export interface ConfidentialTransactionLeg { + /** + * The assets (or their IDs) for this leg of the transaction. Amounts are specified in the later proof generation steps + */ + assets: (ConfidentialAsset | string)[]; + /** + * The account from which the assets will be withdrawn from + */ + sender: ConfidentialAccount | string; + /** + * The account to which the assets will be deposited in + */ + receiver: ConfidentialAccount | string; + /** + * Auditors for the transaction leg + */ + auditors: (ConfidentialAccount | string)[]; + /** + * Mediators for the transaction leg + */ + mediators: (Identity | string)[]; +} + +export interface AddConfidentialTransactionParams { + /** + * array of Confidential Asset movements + */ + legs: ConfidentialTransactionLeg[]; + /** + * an optional note to help differentiate transactions + */ + memo?: string; +} + +export interface AddConfidentialTransactionsParams { + transactions: AddConfidentialTransactionParams[]; +} + export type AddInstructionWithVenueIdParams = AddInstructionParams & { venueId: BigNumber; }; diff --git a/src/api/procedures/utils.ts b/src/api/procedures/utils.ts index 9f30ce6eef..2d18fe95a0 100644 --- a/src/api/procedures/utils.ts +++ b/src/api/procedures/utils.ts @@ -9,6 +9,9 @@ import { BaseAsset, Checkpoint, CheckpointSchedule, + ConfidentialAccount, + ConfidentialAsset, + ConfidentialVenue, Context, CustomPermissionGroup, FungibleAsset, @@ -43,7 +46,7 @@ import { TxTag, } from '~/types'; import { tickerToString, u32ToBigNumber, u64ToBigNumber } from '~/utils/conversion'; -import { filterEventRecords } from '~/utils/internal'; +import { asConfidentialAsset, filterEventRecords } from '~/utils/internal'; /** * @hidden @@ -162,6 +165,76 @@ export async function assertVenueExists(venueId: BigNumber, context: Context): P } } +/** + * @hidden + */ +export async function assertIdentityExists(identity: Identity): Promise { + const exists = await identity.exists(); + + if (!exists) { + throw new PolymeshError({ + code: ErrorCode.DataUnavailable, + message: 'The Identity does not exist', + data: { did: identity.did }, + }); + } +} + +/** + * @hidden + */ +export async function assertConfidentialVenueExists( + venueId: BigNumber, + context: Context +): Promise { + const venue = new ConfidentialVenue({ id: venueId }, context); + const exists = await venue.exists(); + + if (!exists) { + throw new PolymeshError({ + code: ErrorCode.DataUnavailable, + message: "The Confidential Venue doesn't exist", + data: { + venueId, + }, + }); + } +} + +/** + * @hidden + */ +export async function assertConfidentialAccountExists(account: ConfidentialAccount): Promise { + const exists = await account.exists(); + + if (!exists) { + throw new PolymeshError({ + code: ErrorCode.DataUnavailable, + message: "The Confidential Account doesn't exist", + data: { publicKey: account.publicKey }, + }); + } +} + +/** + * @hidden + */ +export async function assertConfidentialAssetExists( + asset: ConfidentialAsset | string, + context: Context +): Promise { + const parsedAsset = asConfidentialAsset(asset, context); + const exists = parsedAsset.exists(); + + if (!exists) { + throw new PolymeshError({ + code: ErrorCode.DataUnavailable, + message: "The Confidential Asset doesn't exist", + data: { assetId: parsedAsset.id }, + }); + } +} + /** * @hidden */ diff --git a/src/internal.ts b/src/internal.ts index da10f7d001..35b14c9ed8 100644 --- a/src/internal.ts +++ b/src/internal.ts @@ -21,6 +21,7 @@ export { consumeJoinOrRotateAuthorization, ConsumeJoinOrRotateAuthorizationParams, } from '~/api/procedures/consumeJoinOrRotateAuthorization'; +export { addConfidentialTransaction } from '~/api/procedures/addConfidentialTransaction'; export { addInstruction } from '~/api/procedures/addInstruction'; export { executeManualInstruction } from '~/api/procedures/executeManualInstruction'; export { diff --git a/src/testUtils/mocks/dataSources.ts b/src/testUtils/mocks/dataSources.ts index 3ee971ed25..ac8684902d 100644 --- a/src/testUtils/mocks/dataSources.ts +++ b/src/testUtils/mocks/dataSources.ts @@ -54,9 +54,11 @@ import { PalletAssetTickerRegistration, PalletAssetTickerRegistrationConfig, PalletConfidentialAssetAuditorAccount, + PalletConfidentialAssetConfidentialAccount, PalletConfidentialAssetConfidentialAssetDetails, PalletConfidentialAssetConfidentialAuditors, PalletConfidentialAssetTransaction, + PalletConfidentialAssetTransactionLeg, PalletConfidentialAssetTransactionStatus, PalletContractsStorageContractInfo, PalletCorporateActionsCaCheckpoint, @@ -4526,3 +4528,62 @@ export const createMockConfidentialTransactionStatus = ( return createMockEnum(status); }; + +/** + * @hidden + * * NOTE: `isEmpty` will be set to true if no value is passed + */ +export const createMockConfidentialAccount = ( + account?: string | PalletConfidentialAssetConfidentialAccount +): MockCodec => { + if (isCodec(account)) { + return account as MockCodec; + } + + return createMockStringCodec(account); +}; + +/** + * @hidden + * NOTE: `isEmpty` will be set to true if no value is passed + */ +export const createMockConfidentialLeg = ( + leg?: + | PalletConfidentialAssetTransactionLeg + | { + assets: BTreeSet | Parameters[0]; + sender: + | PalletConfidentialAssetConfidentialAccount + | Parameters[0]; + receiver: + | PalletConfidentialAssetConfidentialAccount + | Parameters[0]; + auditors: + | BTreeSet + | Parameters[0]; + mediators: BTreeSet | Parameters; + } +): MockCodec => { + if (isCodec(leg)) { + return leg as MockCodec; + } + + const { assets, sender, receiver, auditors, mediators } = leg ?? { + assets: createMockBTreeSet(), + sender: createMockConfidentialAccount(), + receiver: createMockConfidentialAccount(), + auditors: createMockBTreeSet(), + mediators: createMockBTreeSet(), + }; + + return createMockCodec( + { + assets, + sender, + receiver, + auditors, + mediators, + }, + !leg + ); +}; diff --git a/src/testUtils/mocks/entities.ts b/src/testUtils/mocks/entities.ts index 34a59f6b92..f5ee147626 100644 --- a/src/testUtils/mocks/entities.ts +++ b/src/testUtils/mocks/entities.ts @@ -39,7 +39,8 @@ import { } from '~/internal'; import { entityMockUtils } from '~/testUtils/mocks'; import { Mocked } from '~/testUtils/types'; -import { AccountBalance, +import { + AccountBalance, ActiveTransferRestrictions, AgentWithGroup, AssetDetails, @@ -51,7 +52,8 @@ import { AccountBalance, CollectionKey, ComplianceRequirements, ConfidentialAssetDetails, -ConfidentialTransactionDetails, ConfidentialTransactionStatus , + ConfidentialTransactionDetails, + ConfidentialTransactionStatus, CorporateActionDefaultConfig, CorporateActionKind, CorporateActionTargets, @@ -126,6 +128,7 @@ export type MockMultiSig = Mocked; export type MockMultiSigProposal = Mocked; export type MockConfidentialAccount = Mocked; export type MockConfidentialAsset = Mocked; +export type MockConfidentialTransaction = Mocked; interface EntityOptions { exists?: boolean; @@ -303,6 +306,10 @@ interface InstructionOptions extends EntityOptions { isPending?: EntityGetter; } +interface ConfidentialTransactionOptions extends EntityOptions { + id?: BigNumber; +} + interface OfferingOptions extends EntityOptions { id?: BigNumber; ticker?: string; @@ -2845,3 +2852,19 @@ export const getConfidentialAssetInstance = ( return instance as unknown as MockConfidentialAsset; }; + +/** + * @hidden + * Retrieve an Instruction instance + */ +export const getConfidentialTransactionInstance = ( + opts?: ConfidentialTransactionOptions +): MockConfidentialTransaction => { + const instance = new MockConfidentialTransactionClass(); + + if (opts) { + instance.configure(opts); + } + + return instance as unknown as MockConfidentialTransaction; +}; diff --git a/src/types/index.ts b/src/types/index.ts index 8d4e01c2a6..701a06d675 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -104,6 +104,7 @@ export enum RoleType { // eslint-disable-next-line @typescript-eslint/no-shadow Identity = 'Identity', ConfidentialAssetOwner = 'ConfidentialAssetOwner', + ConfidentialVenueOwner = 'ConfidentialVenueOwner', } export interface TickerOwnerRole { @@ -125,6 +126,11 @@ export interface VenueOwnerRole { venueId: BigNumber; } +export interface ConfidentialVenueOwnerRole { + type: RoleType.ConfidentialVenueOwner; + venueId: BigNumber; +} + export interface PortfolioId { did: string; number?: BigNumber; @@ -146,7 +152,8 @@ export type Role = | VenueOwnerRole | PortfolioCustodianRole | IdentityRole - | ConfidentialAssetOwnerRole; + | ConfidentialAssetOwnerRole + | ConfidentialVenueOwnerRole; export enum KnownAssetType { EquityCommon = 'EquityCommon', diff --git a/src/utils/__tests__/conversion.ts b/src/utils/__tests__/conversion.ts index 21578af165..43e663899f 100644 --- a/src/utils/__tests__/conversion.ts +++ b/src/utils/__tests__/conversion.ts @@ -1,5 +1,5 @@ import { DecoratedErrors } from '@polkadot/api/types'; -import { bool, Bytes, Option, Text, U8aFixed, u32, u64, u128, Vec } from '@polkadot/types'; +import { bool, Bytes, Option, Text, u32, u64, u128, Vec } from '@polkadot/types'; import { AccountId, Balance, @@ -13,6 +13,7 @@ import { PalletConfidentialAssetAuditorAccount, PalletConfidentialAssetConfidentialAuditors, PalletConfidentialAssetTransaction, + PalletConfidentialAssetTransactionLeg, PalletConfidentialAssetTransactionStatus, PalletCorporateActionsCaId, PalletCorporateActionsCaKind, @@ -75,6 +76,7 @@ import { UnreachableCaseError } from '~/api/procedures/utils'; import { Account, ConfidentialAccount, + ConfidentialAsset, Context, DefaultPortfolio, Identity, @@ -96,6 +98,8 @@ import { import { ClaimScopeTypeEnum } from '~/middleware/typesV1'; import { dsMockUtils, entityMockUtils } from '~/testUtils/mocks'; import { + createMockBTreeSet, + createMockConfidentialAccount, createMockConfidentialTransactionStatus, createMockNfts, createMockOption, @@ -176,7 +180,9 @@ import { assetDocumentToDocument, assetIdentifierToSecurityIdentifier, assetTypeToKnownOrId, + auditorsToBtreeSet, auditorsToConfidentialAuditors, + auditorToMeshAuditor, authorizationDataToAuthorization, authorizationToAuthorizationData, authorizationTypeToMeshAuthorizationType, @@ -202,6 +208,8 @@ import { complianceConditionsToBtreeSet, complianceRequirementResultToRequirementCompliance, complianceRequirementToRequirement, + confidentialAssetsToBtreeSet, + confidentialLegToMeshLeg, corporateActionIdentifierToCaId, corporateActionKindToCaKind, corporateActionParamsToMeshCorporateActionArgs, @@ -313,7 +321,6 @@ import { stringToText, stringToTicker, stringToTickerKey, - stringToU8aFixed, targetIdentitiesToCorporateActionTargets, targetsToTargetIdentities, textToString, @@ -7661,32 +7668,6 @@ describe('corporateActionIdentifierToCaId', () => { }); }); -describe('stringToU8aFixed', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should convert a string to a polkadot U8aFixed object', () => { - const value = 'someValue'; - const fakeResult = 'result' as unknown as U8aFixed; - const context = dsMockUtils.getContextInstance(); - - when(context.createType).calledWith('U8aFixed', value).mockReturnValue(fakeResult); - - const result = stringToU8aFixed(value, context); - - expect(result).toEqual(fakeResult); - }); -}); - describe('serializeConfidentialAssetId', () => { beforeAll(() => { dsMockUtils.initMocks(); @@ -9983,3 +9964,147 @@ describe('meshConfidentialTransactionStatusToStatus', () => { expect(() => meshConfidentialTransactionStatusToStatus(status)).toThrow(); }); }); + +describe('confidentialLegToMeshLeg', () => { + const confidentialLeg = { + sender: createMockConfidentialAccount('senderKey'), + receiver: createMockConfidentialAccount('receiverKey'), + assets: dsMockUtils.createMockBTreeSet(), + auditors: dsMockUtils.createMockBTreeSet(), + mediators: dsMockUtils.createMockBTreeSet(['someDid']), + }; + let context: Context; + + beforeAll(() => { + dsMockUtils.initMocks(); + }); + + beforeEach(() => { + context = dsMockUtils.getContextInstance(); + }); + + afterEach(() => { + dsMockUtils.reset(); + }); + + afterAll(() => { + dsMockUtils.cleanup(); + }); + + it('should convert a confidential leg to PalletConfidentialAssetTransactionLeg', () => { + const mockResult = 'mockResult' as unknown as PalletConfidentialAssetTransactionLeg; + when(context.createType) + .calledWith('PalletConfidentialAssetTransactionLeg', confidentialLeg) + .mockReturnValue(mockResult); + + const result = confidentialLegToMeshLeg(confidentialLeg, context); + + expect(result).toEqual(mockResult); + }); +}); + +describe('auditorToMeshAuditor', () => { + let account: ConfidentialAccount; + let context: Context; + + beforeAll(() => { + dsMockUtils.initMocks(); + }); + + beforeEach(() => { + context = dsMockUtils.getContextInstance(); + account = new ConfidentialAccount({ publicKey: 'somePubKey' }, context); + }); + + afterEach(() => { + dsMockUtils.reset(); + }); + + afterAll(() => { + dsMockUtils.cleanup(); + }); + + it('should convert a ConfidentialAccount to PalletConfidentialAssetAuditorAccount', () => { + const mockResult = 'mockResult' as unknown as PalletConfidentialAssetAuditorAccount; + + when(context.createType) + .calledWith('PalletConfidentialAssetAuditorAccount', account.publicKey) + .mockReturnValue(mockResult); + + const result = auditorToMeshAuditor(account, context); + + expect(result).toEqual(mockResult); + }); +}); + +describe('auditorsToBtreeSet', () => { + let account: ConfidentialAccount; + let context: Context; + + beforeAll(() => { + dsMockUtils.initMocks(); + }); + + beforeEach(() => { + context = dsMockUtils.getContextInstance(); + account = new ConfidentialAccount({ publicKey: 'somePubKey' }, context); + }); + + afterEach(() => { + dsMockUtils.reset(); + }); + + afterAll(() => { + dsMockUtils.cleanup(); + }); + + it('should convert a ConfidentialAccount to BTreeSetPalletConfidentialAssetAuditorAccount>', () => { + const mockResult = createMockBTreeSet([]); + const mockAuditor = 'somePubKey' as unknown as PalletConfidentialAssetAuditorAccount; + + when(context.createType) + .calledWith('PalletConfidentialAssetAuditorAccount', account.publicKey) + .mockReturnValue(mockAuditor); + + when(context.createType) + .calledWith('BTreeSet', [mockAuditor]) + .mockReturnValue(mockResult); + + const result = auditorsToBtreeSet([account], context); + + expect(result).toEqual(mockResult); + }); +}); + +describe('confidentialAssetsToBtreeSet', () => { + let asset: ConfidentialAsset; + let context: Context; + + beforeAll(() => { + dsMockUtils.initMocks(); + }); + + beforeEach(() => { + context = dsMockUtils.getContextInstance(); + asset = new ConfidentialAsset({ id: '76702175d8cbe3a55a19734433351e25' }, context); + }); + + afterEach(() => { + dsMockUtils.reset(); + }); + + afterAll(() => { + dsMockUtils.cleanup(); + }); + + it('should convert a ConfidentialAccount to PalletConfidentialAssetAuditorAccount', () => { + const mockResult = createMockBTreeSet(); + when(context.createType) + .calledWith('BTreeSet', ['0x76702175d8cbe3a55a19734433351e25']) + .mockReturnValue(mockResult); + + const result = confidentialAssetsToBtreeSet([asset], context); + + expect(result).toEqual(mockResult); + }); +}); diff --git a/src/utils/__tests__/internal.ts b/src/utils/__tests__/internal.ts index 8a78916933..000d980efa 100644 --- a/src/utils/__tests__/internal.ts +++ b/src/utils/__tests__/internal.ts @@ -14,6 +14,7 @@ import { when } from 'jest-when'; import { Account, ConfidentialAccount, + ConfidentialAsset, Context, FungibleAsset, Identity, @@ -66,6 +67,7 @@ import { asAccount, asChildIdentity, asConfidentialAccount, + asConfidentialAsset, asFungibleAsset, asNftId, assertAddressValid, @@ -2365,3 +2367,40 @@ describe('asConfidentialAccount', () => { expect(result).toBe(confidentialAccount); }); }); + +describe('asConfidentialAsset', () => { + let context: Context; + let assetId: string; + let confidentialAsset: ConfidentialAsset; + + beforeAll(() => { + dsMockUtils.initMocks(); + entityMockUtils.initMocks(); + assetId = '76702175-d8cb-e3a5-5a19-734433351e25'; + }); + + beforeEach(() => { + context = dsMockUtils.getContextInstance(); + confidentialAsset = new ConfidentialAsset({ id: assetId }, context); + }); + + afterEach(() => { + dsMockUtils.reset(); + }); + + afterAll(() => { + dsMockUtils.cleanup(); + }); + + it('should return ConfidentialAsset for the given id', async () => { + const result = asConfidentialAsset(assetId, context); + + expect(result).toEqual(expect.objectContaining({ id: assetId })); + }); + + it('should return the passed ConfidentialAsset', async () => { + const result = asConfidentialAsset(confidentialAsset, context); + + expect(result).toBe(confidentialAsset); + }); +}); diff --git a/src/utils/conversion.ts b/src/utils/conversion.ts index f2e5854aff..17d0a51fae 100644 --- a/src/utils/conversion.ts +++ b/src/utils/conversion.ts @@ -3,8 +3,11 @@ import { bool, Bytes, Option, Text, u8, U8aFixed, u16, u32, u64, u128, Vec } fro import { AccountId, Balance, BlockHash, Hash, Permill } from '@polkadot/types/interfaces'; import { DispatchError, DispatchResult } from '@polkadot/types/interfaces/system'; import { + PalletConfidentialAssetAuditorAccount, + PalletConfidentialAssetConfidentialAccount, PalletConfidentialAssetConfidentialAuditors, PalletConfidentialAssetTransaction, + PalletConfidentialAssetTransactionLeg, PalletConfidentialAssetTransactionStatus, PalletCorporateActionsCaId, PalletCorporateActionsCaKind, @@ -154,6 +157,7 @@ import { ConditionTarget, ConditionType, ConfidentialAccount, + ConfidentialAsset, ConfidentialTransactionDetails, ConfidentialTransactionStatus, CorporateActionKind, @@ -339,13 +343,6 @@ export function tickerToString(ticker: PolymeshPrimitivesTicker): string { return removePadding(u8aToString(ticker)); } -/** - * @hidden - */ -export function stringToU8aFixed(value: string, context: Context): U8aFixed { - return context.createType('U8aFixed', value); -} - /** * @hidden */ @@ -4877,3 +4874,66 @@ export function meshConfidentialTransactionStatusToStatus( throw new UnreachableCaseError(status.type); } } + +/** + * @hidden + */ +export function confidentialAccountToMeshPublicKey( + account: ConfidentialAccount, + context: Context +): PalletConfidentialAssetConfidentialAccount { + return context.createType('PalletConfidentialAssetConfidentialAccount', account.publicKey); +} + +/** + * @hidden + */ +export function confidentialLegToMeshLeg( + leg: { + sender: PalletConfidentialAssetConfidentialAccount; + receiver: PalletConfidentialAssetConfidentialAccount; + assets: BTreeSet; + auditors: BTreeSet; + mediators: BTreeSet; + }, + context: Context +): PalletConfidentialAssetTransactionLeg { + return context.createType('PalletConfidentialAssetTransactionLeg', leg); +} + +/** + * @hidden + */ +export function auditorToMeshAuditor( + auditor: ConfidentialAccount, + context: Context +): PalletConfidentialAssetAuditorAccount { + return context.createType('PalletConfidentialAssetAuditorAccount', auditor.publicKey); +} + +/** + * @hidden + */ +export function auditorsToBtreeSet( + auditors: ConfidentialAccount[], + context: Context +): BTreeSet { + const rawAuditors = auditors.map(auditor => auditorToMeshAuditor(auditor, context)); + + return context.createType( + 'BTreeSet', + rawAuditors + ) as BTreeSet; +} + +/** + * @hidden + */ +export function confidentialAssetsToBtreeSet( + assets: ConfidentialAsset[], + context: Context +): BTreeSet { + const assetIds = assets.map(asset => serializeConfidentialAssetId(asset.id)); + + return context.createType('BTreeSet', assetIds) as BTreeSet; +} diff --git a/src/utils/internal.ts b/src/utils/internal.ts index cc628e4297..06bc4c2d38 100644 --- a/src/utils/internal.ts +++ b/src/utils/internal.ts @@ -35,6 +35,7 @@ import { CheckpointSchedule, ChildIdentity, ConfidentialAccount, + ConfidentialAsset, Context, FungibleAsset, Identity, @@ -1933,3 +1934,17 @@ export function asConfidentialAccount( return new ConfidentialAccount({ publicKey: account }, context); } + +/** + * @hidden + */ +export function asConfidentialAsset( + asset: string | ConfidentialAsset, + context: Context +): ConfidentialAsset { + if (asset instanceof ConfidentialAsset) { + return asset; + } + + return new ConfidentialAsset({ id: asset }, context); +} diff --git a/src/utils/typeguards.ts b/src/utils/typeguards.ts index 3b202a7f78..3e649db752 100644 --- a/src/utils/typeguards.ts +++ b/src/utils/typeguards.ts @@ -37,6 +37,7 @@ import { ClaimType, ConditionType, ConfidentialAssetOwnerRole, + ConfidentialVenueOwnerRole, ExemptedClaim, FungibleLeg, IdentityCondition, @@ -307,6 +308,13 @@ export function isVenueOwnerRole(role: Role): role is VenueOwnerRole { return role.type === RoleType.VenueOwner; } +/** + * Return whether Role is VenueOwnerRole + */ +export function isConfidentialVenueOwnerRole(role: Role): role is ConfidentialVenueOwnerRole { + return role.type === RoleType.ConfidentialVenueOwner; +} + /** * Return whether Role is CddProviderRole */ From ca1edaa9016a8c16f61919d0ddc5b7527f41a651 Mon Sep 17 00:00:00 2001 From: Eric Richardson Date: Mon, 29 Jan 2024 14:06:48 -0500 Subject: [PATCH 062/120] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20add=20venue=20fi?= =?UTF-8?q?lter=20check=20for=20confidential=20transactions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../__tests__/addConfidentialTransaction.ts | 48 +++++++++++++++---- .../procedures/addConfidentialTransaction.ts | 7 ++- src/api/procedures/utils.ts | 37 +++++++++++++- src/testUtils/mocks/dataSources.ts | 15 ++++++ src/testUtils/mocks/entities.ts | 22 +++++++++ src/utils/conversion.ts | 10 ++++ 6 files changed, 128 insertions(+), 11 deletions(-) diff --git a/src/api/procedures/__tests__/addConfidentialTransaction.ts b/src/api/procedures/__tests__/addConfidentialTransaction.ts index 8d2852d22b..7ebf696f21 100644 --- a/src/api/procedures/__tests__/addConfidentialTransaction.ts +++ b/src/api/procedures/__tests__/addConfidentialTransaction.ts @@ -243,15 +243,11 @@ describe('addTransaction procedure', () => { expect(error.data.failedTransactionIndexes[0]).toBe(0); }); - it('should throw an error if any instruction contains no assets', () => { + it('should throw an error if any transaction contains no assets', () => { const proc = procedureMockUtils.getInstance(mockContext, { portfoliosToAffirm: [], }); - entityMockUtils.configureMocks({ - venueOptions: { exists: true }, - }); - const expectedError = new PolymeshError({ code: ErrorCode.ValidationError, message: 'Transaction legs must contain at least one Asset', @@ -277,7 +273,6 @@ describe('addTransaction procedure', () => { }); entityMockUtils.configureMocks({ - venueOptions: { exists: true }, confidentialAssetOptions: { exists: false, }, @@ -300,6 +295,41 @@ describe('addTransaction procedure', () => { ).rejects.toThrow(expectedError); }); + it('should throw an error if an asset is not enabled for the venue', async () => { + const proc = procedureMockUtils.getInstance(mockContext, { + portfoliosToAffirm: [], + }); + + entityMockUtils.configureMocks({ + confidentialAssetOptions: { + getVenueFilteringDetails: { + enabled: true, + allowedConfidentialVenues: [ + entityMockUtils.getConfidentialVenueInstance({ id: new BigNumber(7) }), + ], + }, + }, + }); + + const expectedError = new PolymeshError({ + code: ErrorCode.ValidationError, + message: 'A confidential asset is not allowed to be exchanged at the corresponding venue', + }); + const legs = [ + { + sender, + receiver, + assets: [assetId], + auditors: [auditor], + mediators: [mediator], + }, + ]; + + return expect( + prepareAddTransaction.call(proc, { venueId, transactions: [{ legs }] }) + ).rejects.toThrow(expectedError); + }); + it('should throw an error if given an Auditor that does not exist', async () => { const proc = procedureMockUtils.getInstance(mockContext, { portfoliosToAffirm: [], @@ -483,7 +513,7 @@ describe('addTransaction procedure', () => { describe('addTransactionResolver', () => { const filterEventRecordsSpy = jest.spyOn(utilsInternalModule, 'filterEventRecords'); const id = new BigNumber(10); - const rawId = dsMockUtils.createMockU64(id); + const rawId = dsMockUtils.createMockConfidentialTransactionId(id); beforeAll(() => { entityMockUtils.initMocks({ @@ -494,7 +524,9 @@ describe('addTransaction procedure', () => { }); beforeEach(() => { - filterEventRecordsSpy.mockReturnValue([dsMockUtils.createMockIEvent(['someDid', rawId])]); + filterEventRecordsSpy.mockReturnValue([ + dsMockUtils.createMockIEvent(['someDid', 'someVenueId', rawId]), + ]); }); afterEach(() => { diff --git a/src/api/procedures/addConfidentialTransaction.ts b/src/api/procedures/addConfidentialTransaction.ts index 10f302a74c..b9ff291b76 100644 --- a/src/api/procedures/addConfidentialTransaction.ts +++ b/src/api/procedures/addConfidentialTransaction.ts @@ -9,6 +9,7 @@ import BigNumber from 'bignumber.js'; import { assertConfidentialAccountExists, assertConfidentialAssetExists, + assertConfidentialAssetsEnabledForVenue, assertConfidentialVenueExists, assertIdentityExists, } from '~/api/procedures/utils'; @@ -35,9 +36,9 @@ import { confidentialAccountToMeshPublicKey, confidentialAssetsToBtreeSet, confidentialLegToMeshLeg, + confidentialTransactionIdToBigNumber, identitiesToBtreeSet, stringToMemo, - u64ToBigNumber, } from '~/utils/conversion'; import { asConfidentialAccount, @@ -80,7 +81,8 @@ export const createConfidentialTransactionResolver = const events = filterEventRecords(receipt, 'confidentialAsset', 'TransactionCreated'); const result = events.map( - ({ data }) => new ConfidentialTransaction({ id: u64ToBigNumber(data[1]) }, context) + ({ data }) => + new ConfidentialTransaction({ id: confidentialTransactionIdToBigNumber(data[2]) }, context) ); return result; @@ -159,6 +161,7 @@ async function getTxArgsAndErrors( const auditors = inputAuditors.map(auditor => asConfidentialAccount(auditor, context)); const mediators = inputMediators.map(mediator => asIdentity(mediator, context)); await Promise.all([ + assertConfidentialAssetsEnabledForVenue(venueId, assets), assertConfidentialAccountExists(sender), assertConfidentialAccountExists(receiver), ...assets.map(asset => assertConfidentialAssetExists(asset, context)), diff --git a/src/api/procedures/utils.ts b/src/api/procedures/utils.ts index 2d18fe95a0..73ce39c89e 100644 --- a/src/api/procedures/utils.ts +++ b/src/api/procedures/utils.ts @@ -216,6 +216,41 @@ export async function assertConfidentialAccountExists(account: ConfidentialAccou } } +/** + * @hidden + * */ +export async function assertConfidentialAssetsEnabledForVenue( + venueId: BigNumber, + assets: ConfidentialAsset[] +): Promise { + const filterDetails = await Promise.all( + assets.map(async asset => { + const details = await asset.getVenueFilteringDetails(); + + return { + details, + assetId: asset.id, + }; + }) + ); + + filterDetails.forEach(({ assetId, details }) => { + if (details.enabled) { + const isVenueAllowed = details.allowedConfidentialVenues + .map(({ id }) => id) + .includes(venueId); + + if (!isVenueAllowed) { + throw new PolymeshError({ + code: ErrorCode.ValidationError, + message: 'A confidential asset is not allowed to be exchanged at the corresponding venue', + data: { assetId, venueId }, + }); + } + } + }); +} + /** * @hidden */ @@ -224,7 +259,7 @@ export async function assertConfidentialAssetExists( context: Context ): Promise { const parsedAsset = asConfidentialAsset(asset, context); - const exists = parsedAsset.exists(); + const exists = await parsedAsset.exists(); if (!exists) { throw new PolymeshError({ diff --git a/src/testUtils/mocks/dataSources.ts b/src/testUtils/mocks/dataSources.ts index ac8684902d..13a7568c8d 100644 --- a/src/testUtils/mocks/dataSources.ts +++ b/src/testUtils/mocks/dataSources.ts @@ -58,6 +58,7 @@ import { PalletConfidentialAssetConfidentialAssetDetails, PalletConfidentialAssetConfidentialAuditors, PalletConfidentialAssetTransaction, + PalletConfidentialAssetTransactionId, PalletConfidentialAssetTransactionLeg, PalletConfidentialAssetTransactionStatus, PalletContractsStorageContractInfo, @@ -4587,3 +4588,17 @@ export const createMockConfidentialLeg = ( !leg ); }; + +/** + * @hidden + * NOTE: `isEmpty` will be set to true if no value is passed + */ +export const createMockConfidentialTransactionId = ( + value?: BigNumber | PalletConfidentialAssetTransactionId +): MockCodec => { + if (isCodec(value)) { + return value as MockCodec; + } + + return createMockCodec(value, !value); +}; diff --git a/src/testUtils/mocks/entities.ts b/src/testUtils/mocks/entities.ts index f5ee147626..9fc44d9ddf 100644 --- a/src/testUtils/mocks/entities.ts +++ b/src/testUtils/mocks/entities.ts @@ -54,6 +54,7 @@ import { ConfidentialAssetDetails, ConfidentialTransactionDetails, ConfidentialTransactionStatus, + ConfidentialVenueFilteringDetails, CorporateActionDefaultConfig, CorporateActionKind, CorporateActionTargets, @@ -127,6 +128,7 @@ export type MockKnownPermissionGroup = Mocked; export type MockMultiSig = Mocked; export type MockMultiSigProposal = Mocked; export type MockConfidentialAccount = Mocked; +export type MockConfidentialVenue = Mocked; export type MockConfidentialAsset = Mocked; export type MockConfidentialTransaction = Mocked; @@ -378,6 +380,7 @@ interface MultiSigProposalOptions extends EntityOptions { interface ConfidentialAssetOptions extends EntityOptions { id?: string; details?: EntityGetter; + getVenueFilteringDetails?: EntityGetter; } interface ConfidentialVenueOptions extends EntityOptions { @@ -2155,6 +2158,7 @@ const MockConfidentialAssetClass = createMockEntityClass ({ @@ -2180,6 +2185,7 @@ const MockConfidentialAssetClass = createMockEntityClass { return instance as unknown as MockVenue; }; +/** + * @hidden + * Retrieve a Venue instance + */ +export const getConfidentialVenueInstance = ( + opts?: ConfidentialVenueOptions +): MockConfidentialVenue => { + const instance = new MockConfidentialVenueClass(); + + if (opts) { + instance.configure(opts); + } + + return instance as unknown as MockConfidentialVenue; +}; + /** * @hidden * Retrieve a NumberedPortfolio instance diff --git a/src/utils/conversion.ts b/src/utils/conversion.ts index 17d0a51fae..6e1e741a3b 100644 --- a/src/utils/conversion.ts +++ b/src/utils/conversion.ts @@ -7,6 +7,7 @@ import { PalletConfidentialAssetConfidentialAccount, PalletConfidentialAssetConfidentialAuditors, PalletConfidentialAssetTransaction, + PalletConfidentialAssetTransactionId, PalletConfidentialAssetTransactionLeg, PalletConfidentialAssetTransactionStatus, PalletCorporateActionsCaId, @@ -4937,3 +4938,12 @@ export function confidentialAssetsToBtreeSet( return context.createType('BTreeSet', assetIds) as BTreeSet; } + +/** + * @hidden + */ +export function confidentialTransactionIdToBigNumber( + id: PalletConfidentialAssetTransactionId +): BigNumber { + return new BigNumber(id.toString()); +} From 274de0e01355c71aa139c8b0082957d9544d8909 Mon Sep 17 00:00:00 2001 From: Eric Richardson Date: Tue, 30 Jan 2024 14:53:32 -0500 Subject: [PATCH 063/120] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20add=20getLegs=20?= =?UTF-8?q?to=20confidential=20transaction?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ✅ Closes: DA-992 --- .../ConfidentialTransaction/index.ts | 47 ++++++++ .../ConfidentialTransaction/types.ts | 12 ++ .../ConfidentialTransaction/index.ts | 64 ++++++++++ .../procedures/addConfidentialTransaction.ts | 17 +-- src/api/procedures/types.ts | 6 +- src/api/procedures/utils.ts | 12 +- src/testUtils/mocks/dataSources.ts | 112 ++++++++++++++++++ src/utils/__tests__/conversion.ts | 34 ++++++ src/utils/conversion.ts | 105 +++++++++++++++- src/utils/internal.ts | 1 + 10 files changed, 386 insertions(+), 24 deletions(-) diff --git a/src/api/entities/confidential/ConfidentialTransaction/index.ts b/src/api/entities/confidential/ConfidentialTransaction/index.ts index 0afa05b9ad..80a680bca3 100644 --- a/src/api/entities/confidential/ConfidentialTransaction/index.ts +++ b/src/api/entities/confidential/ConfidentialTransaction/index.ts @@ -4,6 +4,7 @@ import BigNumber from 'bignumber.js'; import { Context, Entity, Identity, PolymeshError } from '~/internal'; import { + ConfidentialLeg, ConfidentialTransactionDetails, ConfidentialTransactionStatus, ErrorCode, @@ -12,7 +13,9 @@ import { } from '~/types'; import { bigNumberToU64, + confidentialLegIdToId, identityIdToString, + meshConfidentialLegDetailsToDetails, meshConfidentialTransactionDetailsToDetails, meshConfidentialTransactionStatusToStatus, u64ToBigNumber, @@ -185,6 +188,50 @@ export class ConfidentialTransaction extends Entity { return id.lte(u64ToBigNumber(transactionCounter.unwrap())); } + /** + * Get the legs of this Confidential Transaction + */ + public async getLegs(): Promise { + const { + context, + id, + context: { + polymeshApi: { + query: { confidentialAsset }, + }, + }, + } = this; + + const rawId = bigNumberToU64(id, context); + + const rawLegs = await confidentialAsset.transactionLegs.entries(rawId); + + const legs = rawLegs.map(([key, detailsOpt]) => { + const rawLegId = key.args[1]; + const legId = confidentialLegIdToId(rawLegId); + + if (detailsOpt.isNone) { + throw new PolymeshError({ + code: ErrorCode.DataUnavailable, + message: 'There were no details for a confidential transaction leg', + data: { + transactionId: id, + legId: rawLegId, + }, + }); + } + + const legDetails = meshConfidentialLegDetailsToDetails(detailsOpt.unwrap(), context); + + return { + id: legId, + ...legDetails, + }; + }); + + return legs; + } + /** * Return the settlement Transaction's ID */ diff --git a/src/api/entities/confidential/ConfidentialTransaction/types.ts b/src/api/entities/confidential/ConfidentialTransaction/types.ts index 659e5e1a1a..79433c0c1e 100644 --- a/src/api/entities/confidential/ConfidentialTransaction/types.ts +++ b/src/api/entities/confidential/ConfidentialTransaction/types.ts @@ -1,7 +1,19 @@ +import BigNumber from 'bignumber.js'; + import { ConfidentialTransaction } from '~/internal'; +import { ConfidentialAccount, ConfidentialAsset, Identity } from '~/types'; export interface GroupedTransactions { pending: ConfidentialTransaction[]; executed: ConfidentialTransaction[]; rejected: ConfidentialTransaction[]; } + +export interface ConfidentialLeg { + id: BigNumber; + sender: ConfidentialAccount; + receiver: ConfidentialAccount; + assets: ConfidentialAsset[]; + auditors: ConfidentialAccount[]; + mediators: Identity[]; +} diff --git a/src/api/entities/confidential/__tests__/ConfidentialTransaction/index.ts b/src/api/entities/confidential/__tests__/ConfidentialTransaction/index.ts index e55b4949d5..b6ce58d803 100644 --- a/src/api/entities/confidential/__tests__/ConfidentialTransaction/index.ts +++ b/src/api/entities/confidential/__tests__/ConfidentialTransaction/index.ts @@ -14,6 +14,13 @@ import { ConfidentialTransactionStatus, ErrorCode, UnsubCallback } from '~/types import { tuple } from '~/types/utils'; import * as utilsConversionModule from '~/utils/conversion'; +jest.mock( + '~/api/entities/confidential/ConfidentialAsset', + require('~/testUtils/mocks/entities').mockConfidentialAssetModule( + '~/api/entities/confidential/ConfidentialAsset' + ) +); + describe('ConfidentialTransaction class', () => { let context: Mocked; let transaction: ConfidentialTransaction; @@ -275,6 +282,63 @@ describe('ConfidentialTransaction class', () => { }); }); + describe('method: getLegs', () => { + const legId = new BigNumber(2); + const rawTransactionId = dsMockUtils.createMockConfidentialAssetTransactionId(id); + const senderKey = '0x01'; + const receiverKey = '0x02'; + const mediatorDid = 'someDid'; + const sender = dsMockUtils.createMockConfidentialAccount(senderKey); + const receiver = dsMockUtils.createMockConfidentialAccount(receiverKey); + const mediator = dsMockUtils.createMockIdentityId(mediatorDid); + + beforeEach(() => {}); + + it('should return the transaction legs', async () => { + dsMockUtils.createQueryMock('confidentialAsset', 'transactionLegs', { + entries: [ + tuple( + [rawTransactionId, dsMockUtils.createMockConfidentialTransactionLegId(legId)], + dsMockUtils.createMockOption( + dsMockUtils.createMockConfidentialLegDetails({ + sender, + receiver, + auditors: dsMockUtils.createMockBTreeMap(), + mediators: [mediator], + }) + ) + ), + ], + }); + + const result = await transaction.getLegs(); + expect(result).toEqual( + expect.arrayContaining([expect.objectContaining({ id: new BigNumber(2) })]) + ); + }); + + it('should throw an error if details are None', () => { + dsMockUtils.createQueryMock('confidentialAsset', 'transactionLegs', { + entries: [ + tuple( + [ + dsMockUtils.createMockConfidentialAssetTransactionId(id), + dsMockUtils.createMockConfidentialTransactionLegId(legId), + ], + dsMockUtils.createMockOption() + ), + ], + }); + + const expectedError = new PolymeshError({ + code: ErrorCode.DataUnavailable, + message: 'There were no details for a confidential transaction leg', + }); + + return expect(transaction.getLegs()).rejects.toThrow(expectedError); + }); + }); + describe('method: toHuman', () => { it('should return a human readable version of the entity', () => { expect(transaction.toHuman()).toBe('1'); diff --git a/src/api/procedures/addConfidentialTransaction.ts b/src/api/procedures/addConfidentialTransaction.ts index b9ff291b76..857dfc1dde 100644 --- a/src/api/procedures/addConfidentialTransaction.ts +++ b/src/api/procedures/addConfidentialTransaction.ts @@ -13,14 +13,7 @@ import { assertConfidentialVenueExists, assertIdentityExists, } from '~/api/procedures/utils'; -import { - ConfidentialTransaction, - Context, - DefaultPortfolio, - NumberedPortfolio, - PolymeshError, - Procedure, -} from '~/internal'; +import { ConfidentialTransaction, Context, PolymeshError, Procedure } from '~/internal'; import { AddConfidentialTransactionParams, AddConfidentialTransactionsParams, @@ -56,13 +49,6 @@ export type Params = AddConfidentialTransactionsParams & { venueId: BigNumber; }; -/** - * @hidden - */ -export interface Storage { - portfoliosToAffirm: (DefaultPortfolio | NumberedPortfolio)[][]; -} - /** * @hidden */ @@ -160,6 +146,7 @@ async function getTxArgsAndErrors( const receiver = asConfidentialAccount(inputReceiver, context); const auditors = inputAuditors.map(auditor => asConfidentialAccount(auditor, context)); const mediators = inputMediators.map(mediator => asIdentity(mediator, context)); + await Promise.all([ assertConfidentialAssetsEnabledForVenue(venueId, assets), assertConfidentialAccountExists(sender), diff --git a/src/api/procedures/types.ts b/src/api/procedures/types.ts index b8f24073fb..67f926fcd2 100644 --- a/src/api/procedures/types.ts +++ b/src/api/procedures/types.ts @@ -342,7 +342,11 @@ export interface LocalCollectionKeyInput { } /** - * Global key must be registered. local keys must provide a specification as they are created with the NftCollection + * Global keys are standardized values and are specified by ID. e.g. imageUri for specifying an associated image + * + * Local keys are unique to the collection, as such `name` and `spec` must be provided + * + * To use a Local keys must provide a specification as they are created with the NftCollection */ export type CollectionKeyInput = GlobalCollectionKeyInput | LocalCollectionKeyInput; diff --git a/src/api/procedures/utils.ts b/src/api/procedures/utils.ts index 73ce39c89e..3928df6879 100644 --- a/src/api/procedures/utils.ts +++ b/src/api/procedures/utils.ts @@ -186,7 +186,7 @@ export async function assertIdentityExists(identity: Identity): Promise { export async function assertConfidentialVenueExists( venueId: BigNumber, context: Context -): Promise { +): Promise { const venue = new ConfidentialVenue({ id: venueId }, context); const exists = await venue.exists(); @@ -199,6 +199,8 @@ export async function assertConfidentialVenueExists( }, }); } + + return venue; } /** @@ -236,11 +238,11 @@ export async function assertConfidentialAssetsEnabledForVenue( filterDetails.forEach(({ assetId, details }) => { if (details.enabled) { - const isVenueAllowed = details.allowedConfidentialVenues - .map(({ id }) => id) - .includes(venueId); + const ids = details.allowedConfidentialVenues.map(({ id }) => id); + + const isVenueNotAllowed = !ids.find(id => id.eq(venueId)); - if (!isVenueAllowed) { + if (isVenueNotAllowed) { throw new PolymeshError({ code: ErrorCode.ValidationError, message: 'A confidential asset is not allowed to be exchanged at the corresponding venue', diff --git a/src/testUtils/mocks/dataSources.ts b/src/testUtils/mocks/dataSources.ts index 13a7568c8d..e64cf8b6b6 100644 --- a/src/testUtils/mocks/dataSources.ts +++ b/src/testUtils/mocks/dataSources.ts @@ -8,6 +8,7 @@ import { DecoratedErrors, DecoratedRpc } from '@polkadot/api/types'; import { RpcInterface } from '@polkadot/rpc-core/types'; import { bool, + BTreeMap, BTreeSet, Bytes, Compact, @@ -60,6 +61,8 @@ import { PalletConfidentialAssetTransaction, PalletConfidentialAssetTransactionId, PalletConfidentialAssetTransactionLeg, + PalletConfidentialAssetTransactionLegDetails, + PalletConfidentialAssetTransactionLegId, PalletConfidentialAssetTransactionStatus, PalletContractsStorageContractInfo, PalletCorporateActionsCaCheckpoint, @@ -1872,6 +1875,41 @@ export const createMockBTreeSet = ( return res as MockCodec>; }; +/** + * @hidden + * NOTE: `isEmpty` will be set to true if no value is passed + */ +export const createMockBTreeMap = ( + items: BTreeMap | [unknown, unknown][] = [] +): MockCodec> => { + if (isCodec>(items)) { + return items as MockCodec>; + } + + const codecItems = items.map(([key, value]) => { + let codecKey: K; + let codecValue: V; + + if (isCodec(key)) { + codecKey = key; + } else { + codecKey = createMockCodec(key, !key) as K; + } + + if (isCodec(value)) { + codecValue = value; + } else { + codecValue = createMockCodec(value, !value) as V; + } + + return { [codecKey.toString()]: codecValue }; + }); + + const res = createMockCodec>(codecItems, !items) as unknown as Mutable; + + return res as MockCodec>; +}; + /** * @hidden * NOTE: `isEmpty` will be set to true if no value is passed @@ -4589,6 +4627,48 @@ export const createMockConfidentialLeg = ( ); }; +/** + * @hidden + * NOTE: `isEmpty` will be set to true if no value is passed + */ +export const createMockConfidentialLegDetails = ( + leg?: + | PalletConfidentialAssetTransactionLegDetails + | { + sender: + | PalletConfidentialAssetConfidentialAccount + | Parameters[0]; + receiver: + | PalletConfidentialAssetConfidentialAccount + | Parameters[0]; + auditors: + | BTreeMap> + | Parameters[0]; + mediators: BTreeSet | Parameters; + } +): MockCodec => { + if (isCodec(leg)) { + return leg as MockCodec; + } + + const { sender, receiver, auditors, mediators } = leg ?? { + sender: createMockConfidentialAccount(), + receiver: createMockConfidentialAccount(), + auditors: createMockBTreeMap(), + mediators: createMockBTreeSet(), + }; + + return createMockCodec( + { + sender, + receiver, + auditors, + mediators, + }, + !leg + ); +}; + /** * @hidden * NOTE: `isEmpty` will be set to true if no value is passed @@ -4602,3 +4682,35 @@ export const createMockConfidentialTransactionId = ( return createMockCodec(value, !value); }; + +/** + * @hidden + * NOTE: `isEmpty` will be set to true if no value is passed + */ +export const createMockConfidentialTransactionLegId = ( + legId?: BigNumber | PalletConfidentialAssetTransactionLegId +): MockCodec => { + if (isCodec(legId)) { + return legId as MockCodec; + } + + return createMockNumberCodec( + legId + ) as unknown as MockCodec; +}; + +/** + * @hidden + * NOTE: `isEmpty` will be set to true if no value is passed + */ +export const createMockConfidentialAssetTransactionId = ( + txId?: BigNumber | PalletConfidentialAssetTransactionId +): MockCodec => { + if (isCodec(txId)) { + return txId as MockCodec; + } + + return createMockNumberCodec( + txId + ) as unknown as MockCodec; +}; diff --git a/src/utils/__tests__/conversion.ts b/src/utils/__tests__/conversion.ts index 43e663899f..4703cdc8dd 100644 --- a/src/utils/__tests__/conversion.ts +++ b/src/utils/__tests__/conversion.ts @@ -209,6 +209,7 @@ import { complianceRequirementResultToRequirementCompliance, complianceRequirementToRequirement, confidentialAssetsToBtreeSet, + confidentialLegIdToId, confidentialLegToMeshLeg, corporateActionIdentifierToCaId, corporateActionKindToCaKind, @@ -247,6 +248,7 @@ import { meshClaimToClaim, meshClaimToInputStatClaim, meshClaimTypeToClaimType, + meshConfidentialAssetTransactionIdToId, meshConfidentialTransactionDetailsToDetails, meshConfidentialTransactionStatusToStatus, meshCorporateActionToCorporateActionParams, @@ -257,6 +259,7 @@ import { meshNftToNftId, meshPermissionsToPermissions, meshProposalStatusToProposalStatus, + meshPublicKeyToKey, meshScopeToScope, meshSettlementTypeToEndCondition, meshStatToStatType, @@ -10108,3 +10111,34 @@ describe('confidentialAssetsToBtreeSet', () => { expect(result).toEqual(mockResult); }); }); + +describe('meshPublicKeyToKey', () => { + it('should convert the key', () => { + const expectedKey = '0x01'; + const mockKey = dsMockUtils.createMockConfidentialAccount(expectedKey); + + const result = meshPublicKeyToKey(mockKey); + + expect(result).toEqual(expectedKey); + }); +}); + +describe('confidentialLegIdToId', () => { + it('should convert to a BigNumber', () => { + const mockLegId = dsMockUtils.createMockConfidentialTransactionLegId(new BigNumber(1)); + + const result = confidentialLegIdToId(mockLegId); + + expect(result).toEqual(new BigNumber(1)); + }); +}); + +describe('meshConfidentialAssetTransactionIdToId', () => { + it('should convert to a BigNumber', () => { + const mockAssetId = dsMockUtils.createMockConfidentialAssetTransactionId(new BigNumber(1)); + + const result = meshConfidentialAssetTransactionIdToId(mockAssetId); + + expect(result).toEqual(new BigNumber(1)); + }); +}); diff --git a/src/utils/conversion.ts b/src/utils/conversion.ts index 6e1e741a3b..6c3278d404 100644 --- a/src/utils/conversion.ts +++ b/src/utils/conversion.ts @@ -1,5 +1,18 @@ import { ApolloQueryResult } from '@apollo/client/core'; -import { bool, Bytes, Option, Text, u8, U8aFixed, u16, u32, u64, u128, Vec } from '@polkadot/types'; +import { + bool, + BTreeMap, + Bytes, + Option, + Text, + u8, + U8aFixed, + u16, + u32, + u64, + u128, + Vec, +} from '@polkadot/types'; import { AccountId, Balance, BlockHash, Hash, Permill } from '@polkadot/types/interfaces'; import { DispatchError, DispatchResult } from '@polkadot/types/interfaces/system'; import { @@ -9,6 +22,8 @@ import { PalletConfidentialAssetTransaction, PalletConfidentialAssetTransactionId, PalletConfidentialAssetTransactionLeg, + PalletConfidentialAssetTransactionLegDetails, + PalletConfidentialAssetTransactionLegId, PalletConfidentialAssetTransactionStatus, PalletCorporateActionsCaId, PalletCorporateActionsCaKind, @@ -107,6 +122,8 @@ import { Account, Checkpoint, CheckpointSchedule, + ConfidentialAccount, + ConfidentialAsset, Context, CustomPermissionGroup, DefaultPortfolio, @@ -157,8 +174,7 @@ import { ConditionCompliance, ConditionTarget, ConditionType, - ConfidentialAccount, - ConfidentialAsset, + ConfidentialLeg, ConfidentialTransactionDetails, ConfidentialTransactionStatus, CorporateActionKind, @@ -4947,3 +4963,86 @@ export function confidentialTransactionIdToBigNumber( ): BigNumber { return new BigNumber(id.toString()); } + +/** + * @hidden + */ +export function meshPublicKeyToKey(publicKey: PalletConfidentialAssetConfidentialAccount): string { + return publicKey.toString(); +} + +/** + * @hidden + */ +export function meshAssetAuditorToAssetAuditors( + rawAuditors: BTreeMap>, + context: Context +): { assets: ConfidentialAsset[]; auditors: ConfidentialAccount[] } { + const auditors: ConfidentialAccount[] = []; + const assets: ConfidentialAsset[] = []; + + /* istanbul ignore next: nested BTreeMap/BTreeSet is hard to mock */ + for (const [rawAssetId, rawAssetAuditors] of rawAuditors.entries()) { + const assetId = u8aToHex(rawAssetId).replace('0x', ''); + assets.push(new ConfidentialAsset({ id: assetId }, context)); + + const auditAccounts = [...rawAssetAuditors].map(rawAuditor => { + const auditorId = rawAuditor.toString(); + return new ConfidentialAccount({ publicKey: auditorId }, context); + }); + + auditors.push(...auditAccounts); + } + + return { auditors, assets }; +} + +/** + * @hidden + */ +export function confidentialLegIdToId(id: PalletConfidentialAssetTransactionLegId): BigNumber { + return new BigNumber(id.toNumber()); +} + +/** + * @hidden + */ +export function meshConfidentialAssetTransactionIdToId( + id: PalletConfidentialAssetTransactionId +): BigNumber { + return new BigNumber(id.toNumber()); +} + +/** + * @hidden + */ +export function meshConfidentialLegDetailsToDetails( + details: PalletConfidentialAssetTransactionLegDetails, + context: Context +): Omit { + const { + sender: rawSender, + receiver: rawReceiver, + auditors: rawAuditors, + mediators: rawMediators, + } = details; + + const senderKey = meshPublicKeyToKey(rawSender); + const receiverKey = meshPublicKeyToKey(rawReceiver); + const { assets, auditors } = meshAssetAuditorToAssetAuditors(rawAuditors, context); + const mediators = [...rawMediators].map(mediator => { + const did = identityIdToString(mediator); + return new Identity({ did }, context); + }); + + const sender = new ConfidentialAccount({ publicKey: senderKey }, context); + const receiver = new ConfidentialAccount({ publicKey: receiverKey }, context); + + return { + sender, + receiver, + assets, + auditors, + mediators, + }; +} diff --git a/src/utils/internal.ts b/src/utils/internal.ts index 06bc4c2d38..ac4339dd86 100644 --- a/src/utils/internal.ts +++ b/src/utils/internal.ts @@ -1918,6 +1918,7 @@ export function assertCaAssetValid(id: string): string { throw new PolymeshError({ code: ErrorCode.ValidationError, message: 'The supplied ID is not a valid confidential Asset ID', + data: { id }, }); } From 9d6c87bcfcf07de515df3a48a2ecda8175bcf51a Mon Sep 17 00:00:00 2001 From: Eric Richardson Date: Wed, 31 Jan 2024 10:54:33 -0500 Subject: [PATCH 064/120] =?UTF-8?q?refactor:=20=F0=9F=92=A1=20update=20con?= =?UTF-8?q?fidential=20leg=20auditor=20structure?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit group auditors with the relevant assets in ConfidentialLeg --- .../ConfidentialTransaction/types.ts | 6 ++++-- src/utils/conversion.ts | 19 ++++++++----------- 2 files changed, 12 insertions(+), 13 deletions(-) diff --git a/src/api/entities/confidential/ConfidentialTransaction/types.ts b/src/api/entities/confidential/ConfidentialTransaction/types.ts index 79433c0c1e..15e30db565 100644 --- a/src/api/entities/confidential/ConfidentialTransaction/types.ts +++ b/src/api/entities/confidential/ConfidentialTransaction/types.ts @@ -13,7 +13,9 @@ export interface ConfidentialLeg { id: BigNumber; sender: ConfidentialAccount; receiver: ConfidentialAccount; - assets: ConfidentialAsset[]; - auditors: ConfidentialAccount[]; + /** + * The auditors for the leg, grouped by asset they are auditors for. Note: the same auditor may appear for multiple assets + */ + assetAuditors: { asset: ConfidentialAsset; auditors: ConfidentialAccount[] }[]; mediators: Identity[]; } diff --git a/src/utils/conversion.ts b/src/utils/conversion.ts index 6c3278d404..f24d101d43 100644 --- a/src/utils/conversion.ts +++ b/src/utils/conversion.ts @@ -4977,24 +4977,22 @@ export function meshPublicKeyToKey(publicKey: PalletConfidentialAssetConfidentia export function meshAssetAuditorToAssetAuditors( rawAuditors: BTreeMap>, context: Context -): { assets: ConfidentialAsset[]; auditors: ConfidentialAccount[] } { - const auditors: ConfidentialAccount[] = []; - const assets: ConfidentialAsset[] = []; +): { asset: ConfidentialAsset; auditors: ConfidentialAccount[] }[] { + const result: ReturnType = []; /* istanbul ignore next: nested BTreeMap/BTreeSet is hard to mock */ for (const [rawAssetId, rawAssetAuditors] of rawAuditors.entries()) { const assetId = u8aToHex(rawAssetId).replace('0x', ''); - assets.push(new ConfidentialAsset({ id: assetId }, context)); + const asset = new ConfidentialAsset({ id: assetId }, context); - const auditAccounts = [...rawAssetAuditors].map(rawAuditor => { + const auditors = [...rawAssetAuditors].map(rawAuditor => { const auditorId = rawAuditor.toString(); return new ConfidentialAccount({ publicKey: auditorId }, context); }); - - auditors.push(...auditAccounts); + result.push({ asset, auditors }); } - return { auditors, assets }; + return result; } /** @@ -5029,7 +5027,7 @@ export function meshConfidentialLegDetailsToDetails( const senderKey = meshPublicKeyToKey(rawSender); const receiverKey = meshPublicKeyToKey(rawReceiver); - const { assets, auditors } = meshAssetAuditorToAssetAuditors(rawAuditors, context); + const assetAuditors = meshAssetAuditorToAssetAuditors(rawAuditors, context); const mediators = [...rawMediators].map(mediator => { const did = identityIdToString(mediator); return new Identity({ did }, context); @@ -5041,8 +5039,7 @@ export function meshConfidentialLegDetailsToDetails( return { sender, receiver, - assets, - auditors, + assetAuditors, mediators, }; } From 31cc580e4ba53472c60e62913e0599f5e017f4fd Mon Sep 17 00:00:00 2001 From: Eric Richardson Date: Wed, 31 Jan 2024 17:41:24 -0500 Subject: [PATCH 065/120] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20add=20`getInvolv?= =?UTF-8?q?edConfidentialTransactions`=20to=20Identity?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit add method for users to get confidential transactions involving their affirmation ✅ Closes: DA-993 --- src/api/entities/Identity/__tests__/index.ts | 40 +++++++++++ src/api/entities/Identity/index.ts | 53 ++++++++++++++ .../ConfidentialTransaction/index.ts | 30 ++++++++ .../ConfidentialTransaction/index.ts | 26 +++++++ src/testUtils/mocks/dataSources.ts | 14 ++++ src/types/index.ts | 21 ++++++ src/utils/__tests__/conversion.ts | 69 +++++++++++++++++++ src/utils/conversion.ts | 26 +++++++ 8 files changed, 279 insertions(+) diff --git a/src/api/entities/Identity/__tests__/index.ts b/src/api/entities/Identity/__tests__/index.ts index 9200079dc6..7f7c4485a8 100644 --- a/src/api/entities/Identity/__tests__/index.ts +++ b/src/api/entities/Identity/__tests__/index.ts @@ -31,6 +31,7 @@ import { MockContext } from '~/testUtils/mocks/dataSources'; import { Account, ConfidentialAssetOwnerRole, + ConfidentialLegParty, ConfidentialVenueOwnerRole, DistributionWithDetails, ErrorCode, @@ -1388,4 +1389,43 @@ describe('Identity class', () => { expect(result).toBeFalsy(); }); }); + + describe('method: getInvolvedConfidentialTransactions', () => { + const transactionId = new BigNumber(1); + const legId = new BigNumber(2); + + it('should return the transactions with the identity affirmation status', async () => { + dsMockUtils.createQueryMock('confidentialAsset', 'userAffirmations', { + entries: [ + tuple( + [ + dsMockUtils.createMockIdentityId('someDid'), + [ + dsMockUtils.createMockConfidentialTransactionId(transactionId), + dsMockUtils.createMockConfidentialTransactionLegId(legId), + dsMockUtils.createMockConfidentialLegParty('Sender'), + ], + ], + dsMockUtils.createMockOption(dsMockUtils.createMockBool(false)) + ), + ], + }); + + const identity = new Identity({ did: 'someDid' }, context); + + const result = await identity.getInvolvedConfidentialTransactions(); + + expect(result).toEqual({ + data: expect.arrayContaining([ + expect.objectContaining({ + affirmed: false, + legId: new BigNumber(2), + role: ConfidentialLegParty.Sender, + transaction: expect.objectContaining({ id: transactionId }), + }), + ]), + next: null, + }); + }); + }); }); diff --git a/src/api/entities/Identity/index.ts b/src/api/entities/Identity/index.ts index d4a7a207c4..ba6f3199a6 100644 --- a/src/api/entities/Identity/index.ts +++ b/src/api/entities/Identity/index.ts @@ -14,6 +14,7 @@ import { Account, ChildIdentity, ConfidentialAsset, + ConfidentialTransaction, ConfidentialVenue, Context, Entity, @@ -34,6 +35,7 @@ import { import { AssetHoldersOrderBy, NftHoldersOrderBy, Query } from '~/middleware/types'; import { CheckRolesResult, + ConfidentialAffirmation, DefaultPortfolio, DistributionWithDetails, ErrorCode, @@ -68,6 +70,9 @@ import { balanceToBigNumber, boolToBoolean, cddStatusToBoolean, + confidentialLegPartyToRole, + confidentialTransactionIdToBigNumber, + confidentialTransactionLegIdToBigNumber, corporateActionIdentifierToCaId, identityIdToString, middlewareInstructionToHistoricInstruction, @@ -932,4 +937,52 @@ export class Identity extends Entity { return childIdentity.exists(); } + + /** + * Get Confidential Transactions affirmations involving this identity + * + * @note supports pagination + */ + public async getInvolvedConfidentialTransactions( + paginationOpts?: PaginationOptions + ): Promise | UnsubCallback> { + const { + did, + context, + context: { + polymeshApi: { + query: { confidentialAsset }, + }, + }, + } = this; + + const { entries, lastKey: next } = await requestPaginated(confidentialAsset.userAffirmations, { + arg: did, + paginationOpts, + }); + + const data = entries.map(entry => { + const [key, value] = entry; + const affirmed = boolToBoolean(value.unwrap()); + const [rawTransactionId, rawLegId, rawLegParty] = key.args[1]; + + const transactionId = confidentialTransactionIdToBigNumber(rawTransactionId); + const legId = confidentialTransactionLegIdToBigNumber(rawLegId); + const role = confidentialLegPartyToRole(rawLegParty); + + const transaction = new ConfidentialTransaction({ id: transactionId }, context); + + return { + affirmed, + legId, + transaction, + role, + }; + }); + + return { + data, + next, + }; + } } diff --git a/src/api/entities/confidential/ConfidentialTransaction/index.ts b/src/api/entities/confidential/ConfidentialTransaction/index.ts index 80a680bca3..3103db1a17 100644 --- a/src/api/entities/confidential/ConfidentialTransaction/index.ts +++ b/src/api/entities/confidential/ConfidentialTransaction/index.ts @@ -12,12 +12,14 @@ import { UnsubCallback, } from '~/types'; import { + bigNumberToU32, bigNumberToU64, confidentialLegIdToId, identityIdToString, meshConfidentialLegDetailsToDetails, meshConfidentialTransactionDetailsToDetails, meshConfidentialTransactionStatusToStatus, + u32ToBigNumber, u64ToBigNumber, } from '~/utils/conversion'; @@ -166,6 +168,34 @@ export class ConfidentialTransaction extends Entity { }); } + /** + * Get number of pending affirmations for this transaction + */ + public async getPendingAffirmsCount(): Promise { + const { + id, + context, + context: { + polymeshApi: { + query: { confidentialAsset }, + }, + }, + } = this; + + const rawId = bigNumberToU32(id, context); + const rawAffirmCount = await confidentialAsset.pendingAffirms(rawId); + + if (rawAffirmCount.isNone) { + throw new PolymeshError({ + code: ErrorCode.DataUnavailable, + message: 'Affirm count not available. The transaction has likely been completed and pruned', + data: { confidentialTransactionId: id }, + }); + } + + return u32ToBigNumber(rawAffirmCount.unwrap()); + } + /** * Determine whether this settlement Transaction exists on chain (or existed and was pruned) */ diff --git a/src/api/entities/confidential/__tests__/ConfidentialTransaction/index.ts b/src/api/entities/confidential/__tests__/ConfidentialTransaction/index.ts index b6ce58d803..2f96b9da0d 100644 --- a/src/api/entities/confidential/__tests__/ConfidentialTransaction/index.ts +++ b/src/api/entities/confidential/__tests__/ConfidentialTransaction/index.ts @@ -339,6 +339,32 @@ describe('ConfidentialTransaction class', () => { }); }); + describe('method: getPendingAffirmCount', () => { + const mockCount = new BigNumber(3); + const rawMockCount = dsMockUtils.createMockU32(mockCount); + it('should return the number of pending affirmations', async () => { + dsMockUtils.createQueryMock('confidentialAsset', 'pendingAffirms', { + returnValue: dsMockUtils.createMockOption(rawMockCount), + }); + + const result = await transaction.getPendingAffirmsCount(); + expect(result).toEqual(mockCount); + }); + + it('should throw an error if the count is not found', async () => { + dsMockUtils.createQueryMock('confidentialAsset', 'pendingAffirms', { + returnValue: dsMockUtils.createMockOption(), + }); + + const expectedError = new PolymeshError({ + code: ErrorCode.DataUnavailable, + message: 'Affirm count not available. The transaction has likely been completed and pruned', + }); + + return expect(transaction.getPendingAffirmsCount()).rejects.toThrow(expectedError); + }); + }); + describe('method: toHuman', () => { it('should return a human readable version of the entity', () => { expect(transaction.toHuman()).toBe('1'); diff --git a/src/testUtils/mocks/dataSources.ts b/src/testUtils/mocks/dataSources.ts index e64cf8b6b6..44f7c5192d 100644 --- a/src/testUtils/mocks/dataSources.ts +++ b/src/testUtils/mocks/dataSources.ts @@ -58,6 +58,7 @@ import { PalletConfidentialAssetConfidentialAccount, PalletConfidentialAssetConfidentialAssetDetails, PalletConfidentialAssetConfidentialAuditors, + PalletConfidentialAssetLegParty, PalletConfidentialAssetTransaction, PalletConfidentialAssetTransactionId, PalletConfidentialAssetTransactionLeg, @@ -4714,3 +4715,16 @@ export const createMockConfidentialAssetTransactionId = ( txId ) as unknown as MockCodec; }; + +/** + * NOTE: `isEmpty` will be set to true if no value is passed + */ +export const createMockConfidentialLegParty = ( + role?: 'Sender' | 'Receiver' | 'Mediator' | PalletConfidentialAssetLegParty +): MockCodec => { + if (isCodec(role)) { + return role as MockCodec; + } + + return createMockEnum(role); +}; diff --git a/src/types/index.ts b/src/types/index.ts index 701a06d675..88c598748d 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -19,6 +19,7 @@ import { BaseAsset, Checkpoint, CheckpointSchedule, + ConfidentialTransaction, CustomPermissionGroup, DefaultPortfolio, DefaultTrustedClaimIssuer, @@ -1791,3 +1792,23 @@ export interface ConfidentialTransactionDetails { status: ConfidentialTransactionStatus; memo?: string; } + +export enum ConfidentialAffirmParty { + Sender = 'Sender', + Receiver = 'Receiver', + Mediator = 'Mediator', +} + +export enum ConfidentialLegParty { + Sender = 'Sender', + Receiver = 'Receiver', + Mediator = 'Mediator', + Auditor = 'Auditor', +} + +export type ConfidentialAffirmation = { + transaction: ConfidentialTransaction; + legId: BigNumber; + role: ConfidentialLegParty; + affirmed: boolean; +}; diff --git a/src/utils/__tests__/conversion.ts b/src/utils/__tests__/conversion.ts index 4703cdc8dd..87569999e4 100644 --- a/src/utils/__tests__/conversion.ts +++ b/src/utils/__tests__/conversion.ts @@ -12,8 +12,10 @@ import { import { PalletConfidentialAssetAuditorAccount, PalletConfidentialAssetConfidentialAuditors, + PalletConfidentialAssetLegParty, PalletConfidentialAssetTransaction, PalletConfidentialAssetTransactionLeg, + PalletConfidentialAssetTransactionLegId, PalletConfidentialAssetTransactionStatus, PalletCorporateActionsCaId, PalletCorporateActionsCaKind, @@ -123,6 +125,7 @@ import { ConditionCompliance, ConditionTarget, ConditionType, + ConfidentialLegParty, ConfidentialTransactionStatus, CorporateActionKind, CorporateActionParams, @@ -210,7 +213,9 @@ import { complianceRequirementToRequirement, confidentialAssetsToBtreeSet, confidentialLegIdToId, + confidentialLegPartyToRole, confidentialLegToMeshLeg, + confidentialTransactionLegIdToBigNumber, corporateActionIdentifierToCaId, corporateActionKindToCaKind, corporateActionParamsToMeshCorporateActionArgs, @@ -10141,4 +10146,68 @@ describe('meshConfidentialAssetTransactionIdToId', () => { expect(result).toEqual(new BigNumber(1)); }); + + describe('confidentialTransactionLegIdToBigNumber', () => { + let id: BigNumber; + let rawId: PalletConfidentialAssetTransactionLegId; + + beforeAll(() => { + dsMockUtils.initMocks(); + }); + + beforeEach(() => { + id = new BigNumber(1); + rawId = dsMockUtils.createMockConfidentialTransactionLegId(id); + }); + + afterEach(() => { + dsMockUtils.reset(); + }); + + afterAll(() => { + dsMockUtils.cleanup(); + }); + + it('should convert PalletConfidentialAssetTransactionLegId to BigNumber ', () => { + const result = confidentialTransactionLegIdToBigNumber(rawId); + + expect(result).toEqual(id); + }); + }); + + describe('confidentialTransactionLegIdToBigNumber', () => { + beforeAll(() => { + dsMockUtils.initMocks(); + }); + afterEach(() => { + dsMockUtils.reset(); + }); + + afterAll(() => { + dsMockUtils.cleanup(); + }); + + it('should convert PalletConfidentialAssetTransactionLegId to BigNumber ', () => { + let input = dsMockUtils.createMockConfidentialLegParty('Sender'); + let expected = ConfidentialLegParty.Sender; + let result = confidentialLegPartyToRole(input); + expect(result).toEqual(expected); + + input = dsMockUtils.createMockConfidentialLegParty('Receiver'); + expected = ConfidentialLegParty.Receiver; + result = confidentialLegPartyToRole(input); + expect(result).toEqual(expected); + + input = dsMockUtils.createMockConfidentialLegParty('Mediator'); + expected = ConfidentialLegParty.Mediator; + result = confidentialLegPartyToRole(input); + expect(result).toEqual(expected); + }); + + it('should throw if an unexpected role is received', () => { + const input = 'notSomeRole' as unknown as PalletConfidentialAssetLegParty; + + expect(() => confidentialLegPartyToRole(input)).toThrow(UnreachableCaseError); + }); + }); }); diff --git a/src/utils/conversion.ts b/src/utils/conversion.ts index f24d101d43..211e0ba054 100644 --- a/src/utils/conversion.ts +++ b/src/utils/conversion.ts @@ -19,6 +19,7 @@ import { PalletConfidentialAssetAuditorAccount, PalletConfidentialAssetConfidentialAccount, PalletConfidentialAssetConfidentialAuditors, + PalletConfidentialAssetLegParty, PalletConfidentialAssetTransaction, PalletConfidentialAssetTransactionId, PalletConfidentialAssetTransactionLeg, @@ -175,6 +176,7 @@ import { ConditionTarget, ConditionType, ConfidentialLeg, + ConfidentialLegParty, ConfidentialTransactionDetails, ConfidentialTransactionStatus, CorporateActionKind, @@ -5011,6 +5013,12 @@ export function meshConfidentialAssetTransactionIdToId( return new BigNumber(id.toNumber()); } +export function confidentialTransactionLegIdToBigNumber( + id: PalletConfidentialAssetTransactionLegId +): BigNumber { + return new BigNumber(id.toString()); +} + /** * @hidden */ @@ -5043,3 +5051,21 @@ export function meshConfidentialLegDetailsToDetails( mediators, }; } + +/** + * @hidden + */ +export function confidentialLegPartyToRole( + role: PalletConfidentialAssetLegParty +): ConfidentialLegParty { + switch (role.type) { + case 'Sender': + return ConfidentialLegParty.Sender; + case 'Receiver': + return ConfidentialLegParty.Receiver; + case 'Mediator': + return ConfidentialLegParty.Mediator; + default: + throw new UnreachableCaseError(role.type); + } +} From b97af9226d51ea43562526443934247d5bd78d47 Mon Sep 17 00:00:00 2001 From: Prashant Bajpai <34747455+prashantasdeveloper@users.noreply.github.com> Date: Thu, 1 Feb 2024 13:09:52 +0530 Subject: [PATCH 066/120] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20Add=20`getConfid?= =?UTF-8?q?entialVenues`=20to=20Identity?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This returns all the confidential venues created by an Identity --- src/api/entities/Identity/__tests__/index.ts | 42 ++++++++++++++++++++ src/api/entities/Identity/index.ts | 27 ++++++++++++- 2 files changed, 67 insertions(+), 2 deletions(-) diff --git a/src/api/entities/Identity/__tests__/index.ts b/src/api/entities/Identity/__tests__/index.ts index 7f7c4485a8..6060052a2a 100644 --- a/src/api/entities/Identity/__tests__/index.ts +++ b/src/api/entities/Identity/__tests__/index.ts @@ -1428,4 +1428,46 @@ describe('Identity class', () => { }); }); }); + + describe('method: getConfidentialVenues', () => { + let did: string; + let confidentialVenueId: BigNumber; + + let rawDid: PolymeshPrimitivesIdentityId; + let rawConfidentialVenueId: u64; + + beforeAll(() => { + did = 'someDid'; + confidentialVenueId = new BigNumber(5); + + rawDid = dsMockUtils.createMockIdentityId(did); + rawConfidentialVenueId = dsMockUtils.createMockU64(confidentialVenueId); + }); + + beforeEach(() => { + when(stringToIdentityIdSpy).calledWith(did, context).mockReturnValue(rawDid); + }); + + afterAll(() => { + jest.restoreAllMocks(); + }); + + it('should return a list of Confidential Venues', async () => { + when(u64ToBigNumberSpy) + .calledWith(rawConfidentialVenueId) + .mockReturnValue(confidentialVenueId); + + const mock = dsMockUtils.createQueryMock('confidentialAsset', 'identityVenues'); + const mockStorageKey = { args: [rawDid, rawConfidentialVenueId] }; + + mock.keys = jest.fn().mockResolvedValue([mockStorageKey]); + + const identity = new Identity({ did }, context); + + const result = await identity.getConfidentialVenues(); + expect(result).toEqual( + expect.arrayContaining([expect.objectContaining({ id: confidentialVenueId })]) + ); + }); + }); }); diff --git a/src/api/entities/Identity/index.ts b/src/api/entities/Identity/index.ts index ba6f3199a6..ca83a87268 100644 --- a/src/api/entities/Identity/index.ts +++ b/src/api/entities/Identity/index.ts @@ -499,8 +499,6 @@ export class Identity extends Entity { /** * Retrieve all Venues created by this Identity - * - * @note can be subscribed to */ public async getVenues(): Promise { const { @@ -985,4 +983,29 @@ export class Identity extends Entity { next, }; } + + /** + * Retrieve all Confidential Venues created by this Identity + */ + public async getConfidentialVenues(): Promise { + const { + context: { + polymeshApi: { + query: { confidentialAsset }, + }, + }, + did, + context, + } = this; + + const rawDid = stringToIdentityId(did, context); + + const venueIdsKeys = await confidentialAsset.identityVenues.keys(rawDid); + + return venueIdsKeys.map(key => { + const rawVenueId = key.args[1]; + + return new ConfidentialVenue({ id: u64ToBigNumber(rawVenueId) }, context); + }); + } } From 79555cc2d3c68a0e2cdebfb8ff27a94987e52df4 Mon Sep 17 00:00:00 2001 From: Prashant Bajpai <34747455+prashantasdeveloper@users.noreply.github.com> Date: Thu, 1 Feb 2024 12:57:02 +0530 Subject: [PATCH 067/120] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20Add=20method=20t?= =?UTF-8?q?o=20execute=20a=20Confidential=20Transaction?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ConfidentialTransaction/index.ts | 25 ++- .../ConfidentialTransaction/types.ts | 45 +++++ .../ConfidentialTransaction/index.ts | 37 ++++- .../executeConfidentialTransaction.ts | 156 ++++++++++++++++++ .../executeConfidentialTransaction.ts | 103 ++++++++++++ src/internal.ts | 1 + src/testUtils/mocks/entities.ts | 30 ++++ src/types/index.ts | 52 +----- src/utils/conversion.ts | 3 + 9 files changed, 403 insertions(+), 49 deletions(-) create mode 100644 src/api/procedures/__tests__/executeConfidentialTransaction.ts create mode 100644 src/api/procedures/executeConfidentialTransaction.ts diff --git a/src/api/entities/confidential/ConfidentialTransaction/index.ts b/src/api/entities/confidential/ConfidentialTransaction/index.ts index 3103db1a17..f630d57de0 100644 --- a/src/api/entities/confidential/ConfidentialTransaction/index.ts +++ b/src/api/entities/confidential/ConfidentialTransaction/index.ts @@ -2,12 +2,19 @@ import { Option } from '@polkadot/types'; import { PalletConfidentialAssetTransactionStatus } from '@polkadot/types/lookup'; import BigNumber from 'bignumber.js'; -import { Context, Entity, Identity, PolymeshError } from '~/internal'; +import { + Context, + Entity, + executeConfidentialTransaction, + Identity, + PolymeshError, +} from '~/internal'; import { ConfidentialLeg, ConfidentialTransactionDetails, ConfidentialTransactionStatus, ErrorCode, + NoArgsProcedureMethod, SubCallback, UnsubCallback, } from '~/types'; @@ -22,6 +29,7 @@ import { u32ToBigNumber, u64ToBigNumber, } from '~/utils/conversion'; +import { createProcedureMethod } from '~/utils/internal'; export interface UniqueIdentifiers { id: BigNumber; @@ -55,6 +63,14 @@ export class ConfidentialTransaction extends Entity { const { id } = identifiers; this.id = id; + + this.execute = createProcedureMethod( + { + getProcedureAndArgs: () => [executeConfidentialTransaction, { transaction: this }], + optionalArgs: true, + }, + context + ); } /** @@ -262,6 +278,13 @@ export class ConfidentialTransaction extends Entity { return legs; } + /** + * Executes this transaction + * + * @note - The transaction can only be executed if all the involved parties have already affirmed the transaction + */ + public execute: NoArgsProcedureMethod; + /** * Return the settlement Transaction's ID */ diff --git a/src/api/entities/confidential/ConfidentialTransaction/types.ts b/src/api/entities/confidential/ConfidentialTransaction/types.ts index 15e30db565..cec8c4f287 100644 --- a/src/api/entities/confidential/ConfidentialTransaction/types.ts +++ b/src/api/entities/confidential/ConfidentialTransaction/types.ts @@ -19,3 +19,48 @@ export interface ConfidentialLeg { assetAuditors: { asset: ConfidentialAsset; auditors: ConfidentialAccount[] }[]; mediators: Identity[]; } + +/** + * Status of a confidential transaction + */ +export enum ConfidentialTransactionStatus { + Pending = 'Pending', + Executed = 'Executed', + Rejected = 'Rejected', +} + +/** + * Details for a confidential transaction + */ +export interface ConfidentialTransactionDetails { + venueId: BigNumber; + createdAt: BigNumber; + status: ConfidentialTransactionStatus; + memo?: string; +} + +export enum ConfidentialAffirmParty { + Sender = 'Sender', + Receiver = 'Receiver', + Mediator = 'Mediator', +} + +export enum ConfidentialLegParty { + Sender = 'Sender', + Receiver = 'Receiver', + Mediator = 'Mediator', + Auditor = 'Auditor', +} + +export type ConfidentialAffirmation = { + transaction: ConfidentialTransaction; + legId: BigNumber; + role: ConfidentialLegParty; + affirmed: boolean; +}; + +export enum TransactionAffirmParty { + Sender = 'Sender', + Receiver = 'Receiver', + Mediator = 'Mediator', +} diff --git a/src/api/entities/confidential/__tests__/ConfidentialTransaction/index.ts b/src/api/entities/confidential/__tests__/ConfidentialTransaction/index.ts index 2f96b9da0d..482ad3c018 100644 --- a/src/api/entities/confidential/__tests__/ConfidentialTransaction/index.ts +++ b/src/api/entities/confidential/__tests__/ConfidentialTransaction/index.ts @@ -2,7 +2,13 @@ import { u64 } from '@polkadot/types'; import BigNumber from 'bignumber.js'; import { when } from 'jest-when'; -import { ConfidentialTransaction, Context, Entity, PolymeshError } from '~/internal'; +import { + ConfidentialTransaction, + Context, + Entity, + PolymeshError, + PolymeshTransaction, +} from '~/internal'; import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; import { createMockConfidentialAssetTransaction, @@ -21,6 +27,11 @@ jest.mock( ) ); +jest.mock( + '~/base/Procedure', + require('~/testUtils/mocks/procedure').mockProcedureModule('~/base/Procedure') +); + describe('ConfidentialTransaction class', () => { let context: Mocked; let transaction: ConfidentialTransaction; @@ -339,7 +350,7 @@ describe('ConfidentialTransaction class', () => { }); }); - describe('method: getPendingAffirmCount', () => { + describe('method: getPendingAffirmsCount', () => { const mockCount = new BigNumber(3); const rawMockCount = dsMockUtils.createMockU32(mockCount); it('should return the number of pending affirmations', async () => { @@ -365,6 +376,28 @@ describe('ConfidentialTransaction class', () => { }); }); + describe('method: execute', () => { + it('should prepare the procedure and return the resulting transaction', async () => { + const expectedTransaction = + 'someTransaction' as unknown as PolymeshTransaction; + + when(procedureMockUtils.getPrepareMock()) + .calledWith( + { + args: { transaction }, + transformer: undefined, + }, + context, + {} + ) + .mockResolvedValue(expectedTransaction); + + const tx = await transaction.execute(); + + expect(tx).toBe(expectedTransaction); + }); + }); + describe('method: toHuman', () => { it('should return a human readable version of the entity', () => { expect(transaction.toHuman()).toBe('1'); diff --git a/src/api/procedures/__tests__/executeConfidentialTransaction.ts b/src/api/procedures/__tests__/executeConfidentialTransaction.ts new file mode 100644 index 0000000000..5d956e4e4c --- /dev/null +++ b/src/api/procedures/__tests__/executeConfidentialTransaction.ts @@ -0,0 +1,156 @@ +import { u32, u64 } from '@polkadot/types'; +import BigNumber from 'bignumber.js'; +import { when } from 'jest-when'; + +import { + ExecuteConfidentialTransactionParams, + getAuthorization, + prepareExecuteConfidentialTransaction, +} from '~/api/procedures/executeConfidentialTransaction'; +import { Context } from '~/internal'; +import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; +import { Mocked } from '~/testUtils/types'; +import { ConfidentialTransaction, ConfidentialTransactionStatus, TxTags } from '~/types'; +import * as utilsConversionModule from '~/utils/conversion'; + +describe('executeConfidentialTransaction procedure', () => { + let mockContext: Mocked; + let bigNumberToU64Spy: jest.SpyInstance; + let bigNumberToU32Spy: jest.SpyInstance; + let transactionId: BigNumber; + let legsCount: BigNumber; + let rawTransactionId: u64; + let rawLegsCount: u32; + + beforeAll(() => { + dsMockUtils.initMocks(); + procedureMockUtils.initMocks(); + entityMockUtils.initMocks(); + + bigNumberToU64Spy = jest.spyOn(utilsConversionModule, 'bigNumberToU64'); + bigNumberToU32Spy = jest.spyOn(utilsConversionModule, 'bigNumberToU32'); + }); + + beforeEach(() => { + mockContext = dsMockUtils.getContextInstance(); + + transactionId = new BigNumber(1); + legsCount = new BigNumber(1); + rawTransactionId = dsMockUtils.createMockU64(transactionId); + rawLegsCount = dsMockUtils.createMockU32(legsCount); + + when(bigNumberToU64Spy) + .calledWith(transactionId, mockContext) + .mockReturnValue(rawTransactionId); + when(bigNumberToU32Spy).calledWith(legsCount, mockContext).mockReturnValue(rawLegsCount); + }); + + afterEach(() => { + entityMockUtils.reset(); + procedureMockUtils.reset(); + dsMockUtils.reset(); + }); + + afterAll(() => { + procedureMockUtils.cleanup(); + dsMockUtils.cleanup(); + }); + + it('should throw an error if the signing identity is not the custodian of any of the involved portfolios', () => { + const proc = procedureMockUtils.getInstance< + ExecuteConfidentialTransactionParams, + ConfidentialTransaction + >(mockContext); + + return expect( + prepareExecuteConfidentialTransaction.call(proc, { + transaction: entityMockUtils.getConfidentialTransactionInstance({ + getInvolvedParties: [entityMockUtils.getIdentityInstance({ did: 'randomDid' })], + }), + }) + ).rejects.toThrow('The signing identity is not involved in this Confidential Transaction'); + }); + + it('should throw an error if there are some pending affirmations', () => { + const proc = procedureMockUtils.getInstance< + ExecuteConfidentialTransactionParams, + ConfidentialTransaction + >(mockContext); + + return expect( + prepareExecuteConfidentialTransaction.call(proc, { + transaction: entityMockUtils.getConfidentialTransactionInstance({ + getPendingAffirmsCount: new BigNumber(2), + }), + }) + ).rejects.toThrow( + 'The Confidential Transaction needs to be affirmed by all parties before it can be executed' + ); + }); + + it('should throw an error if status is already Executed or Rejected', async () => { + const proc = procedureMockUtils.getInstance< + ExecuteConfidentialTransactionParams, + ConfidentialTransaction + >(mockContext); + + await expect( + prepareExecuteConfidentialTransaction.call(proc, { + transaction: entityMockUtils.getConfidentialTransactionInstance({ + details: { + status: ConfidentialTransactionStatus.Executed, + }, + }), + }) + ).rejects.toThrow('The Confidential Transaction has already been executed'); + + await expect( + prepareExecuteConfidentialTransaction.call(proc, { + transaction: entityMockUtils.getConfidentialTransactionInstance({ + details: { + status: ConfidentialTransactionStatus.Rejected, + }, + }), + }) + ).rejects.toThrow('The Confidential Transaction has already been rejected'); + }); + + it('should return an execute manual instruction transaction spec', async () => { + const transaction = dsMockUtils.createTxMock('confidentialAsset', 'executeTransaction'); + + const proc = procedureMockUtils.getInstance< + ExecuteConfidentialTransactionParams, + ConfidentialTransaction + >(mockContext); + + const result = await prepareExecuteConfidentialTransaction.call(proc, { + transaction: entityMockUtils.getConfidentialTransactionInstance(), + }); + + expect(result).toEqual({ + transaction, + args: [rawTransactionId, rawLegsCount], + resolver: expect.objectContaining({ id: transactionId }), + }); + }); + + describe('getAuthorization', () => { + it('should return the appropriate roles and permissions', async () => { + const proc = procedureMockUtils.getInstance< + ExecuteConfidentialTransactionParams, + ConfidentialTransaction + >(mockContext); + const boundFunc = getAuthorization.bind(proc); + + const result = await boundFunc(); + + expect(result).toEqual({ + permissions: { + transactions: [TxTags.confidentialAsset.ExecuteTransaction], + portfolios: [], + assets: [], + }, + }); + }); + }); +}); diff --git a/src/api/procedures/executeConfidentialTransaction.ts b/src/api/procedures/executeConfidentialTransaction.ts new file mode 100644 index 0000000000..3dbd604518 --- /dev/null +++ b/src/api/procedures/executeConfidentialTransaction.ts @@ -0,0 +1,103 @@ +import BigNumber from 'bignumber.js'; + +import { ConfidentialTransaction, PolymeshError, Procedure } from '~/internal'; +import { ConfidentialTransactionStatus, ErrorCode, TxTags } from '~/types'; +import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; +import { bigNumberToU32, bigNumberToU64 } from '~/utils/conversion'; + +export interface ExecuteConfidentialTransactionParams { + transaction: ConfidentialTransaction; +} + +/** + * @hidden + */ +export async function prepareExecuteConfidentialTransaction( + this: Procedure, + args: ExecuteConfidentialTransactionParams +): Promise< + TransactionSpec< + ConfidentialTransaction, + ExtrinsicParams<'confidentialAsset', 'executeTransaction'> + > +> { + const { + context: { + polymeshApi: { + tx: { confidentialAsset }, + }, + }, + context, + } = this; + + const { + transaction, + transaction: { id }, + } = args; + + const [signingIdentity, pendingAffirmsCount, { status }, involvedParties, legs] = + await Promise.all([ + context.getSigningIdentity(), + transaction.getPendingAffirmsCount(), + transaction.details(), + transaction.getInvolvedParties(), + transaction.getLegs(), + ]); + + if (!involvedParties.some(party => party.did === signingIdentity.did)) { + throw new PolymeshError({ + code: ErrorCode.UnmetPrerequisite, + message: 'The signing identity is not involved in this Confidential Transaction', + }); + } + + if (!pendingAffirmsCount.isZero()) { + throw new PolymeshError({ + code: ErrorCode.UnmetPrerequisite, + message: + 'The Confidential Transaction needs to be affirmed by all parties before it can be executed', + data: { + pendingAffirmsCount, + }, + }); + } + + if ( + status === ConfidentialTransactionStatus.Executed || + status === ConfidentialTransactionStatus.Rejected + ) { + throw new PolymeshError({ + code: ErrorCode.NoDataChange, + message: `The Confidential Transaction has already been ${status.toLowerCase()}`, + }); + } + + return { + transaction: confidentialAsset.executeTransaction, + args: [bigNumberToU64(id, context), bigNumberToU32(new BigNumber(legs.length), context)], + resolver: transaction, + }; +} + +/** + * @hidden + */ +export async function getAuthorization( + this: Procedure +): Promise { + return { + permissions: { + transactions: [TxTags.confidentialAsset.ExecuteTransaction], + portfolios: [], + assets: [], + }, + }; +} + +/** + * @hidden + */ +export const executeConfidentialTransaction = (): Procedure< + ExecuteConfidentialTransactionParams, + ConfidentialTransaction +> => new Procedure(prepareExecuteConfidentialTransaction, getAuthorization); diff --git a/src/internal.ts b/src/internal.ts index 35b14c9ed8..280fbf1f44 100644 --- a/src/internal.ts +++ b/src/internal.ts @@ -24,6 +24,7 @@ export { export { addConfidentialTransaction } from '~/api/procedures/addConfidentialTransaction'; export { addInstruction } from '~/api/procedures/addInstruction'; export { executeManualInstruction } from '~/api/procedures/executeManualInstruction'; +export { executeConfidentialTransaction } from '~/api/procedures/executeConfidentialTransaction'; export { consumeAuthorizationRequests, ConsumeAuthorizationRequestsParams, diff --git a/src/testUtils/mocks/entities.ts b/src/testUtils/mocks/entities.ts index 9fc44d9ddf..35a845a79c 100644 --- a/src/testUtils/mocks/entities.ts +++ b/src/testUtils/mocks/entities.ts @@ -52,6 +52,7 @@ import { CollectionKey, ComplianceRequirements, ConfidentialAssetDetails, + ConfidentialLeg, ConfidentialTransactionDetails, ConfidentialTransactionStatus, ConfidentialVenueFilteringDetails, @@ -391,6 +392,9 @@ interface ConfidentialVenueOptions extends EntityOptions { interface ConfidentialTransactionOptions extends EntityOptions { id?: BigNumber; details?: EntityGetter; + getInvolvedParties?: EntityGetter; + getPendingAffirmsCount?: EntityGetter; + getLegs?: EntityGetter; } interface ConfidentialAccountOptions extends EntityOptions { @@ -2224,6 +2228,9 @@ const MockConfidentialTransactionClass = createMockEntityClass ({ @@ -2249,6 +2259,26 @@ const MockConfidentialTransactionClass = createMockEntityClass Date: Thu, 1 Feb 2024 13:43:28 +0530 Subject: [PATCH 068/120] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20Add=20method=20t?= =?UTF-8?q?o=20get=20Confidential=20Asset=20from=20ticker?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/client/ConfidentialAssets.ts | 35 ++++++++++++ .../client/__tests__/ConfidentialAssets.ts | 54 +++++++++++++++++++ src/api/procedures/createConfidentialAsset.ts | 10 ++-- src/utils/conversion.ts | 11 ++++ 4 files changed, 107 insertions(+), 3 deletions(-) diff --git a/src/api/client/ConfidentialAssets.ts b/src/api/client/ConfidentialAssets.ts index b6f9249ddf..5c030a7633 100644 --- a/src/api/client/ConfidentialAssets.ts +++ b/src/api/client/ConfidentialAssets.ts @@ -1,5 +1,6 @@ import { ConfidentialAsset, Context, createConfidentialAsset, PolymeshError } from '~/internal'; import { CreateConfidentialAssetParams, ErrorCode, ProcedureMethod } from '~/types'; +import { meshConfidentialAssetToAssetId, stringToTicker } from '~/utils/conversion'; import { createProcedureMethod } from '~/utils/internal'; /** @@ -44,6 +45,40 @@ export class ConfidentialAssets { return confidentialAsset; } + /** + * Retrieves a ConfidentialAsset for a given ticker + */ + public async getConfidentialAssetFromTicker(args: { + ticker: string; + }): Promise { + const { + context, + context: { + polymeshApi: { + query: { confidentialAsset }, + }, + }, + } = this; + + const { ticker } = args; + const rawTicker = stringToTicker(ticker, context); + const rawAssetId = await confidentialAsset.tickerToAsset(rawTicker); + + if (rawAssetId.isNone) { + throw new PolymeshError({ + code: ErrorCode.DataUnavailable, + message: 'The ticker is not mapped to any Confidential Asset', + data: { + ticker, + }, + }); + } + + const assetId = meshConfidentialAssetToAssetId(rawAssetId.unwrap()); + + return new ConfidentialAsset({ id: assetId }, context); + } + /** * Create a confidential Asset */ diff --git a/src/api/client/__tests__/ConfidentialAssets.ts b/src/api/client/__tests__/ConfidentialAssets.ts index 39d778c5b8..e93f339709 100644 --- a/src/api/client/__tests__/ConfidentialAssets.ts +++ b/src/api/client/__tests__/ConfidentialAssets.ts @@ -1,3 +1,4 @@ +import { PolymeshPrimitivesTicker } from '@polkadot/types/lookup'; import { when } from 'jest-when'; import { ConfidentialAssets } from '~/api/client/ConfidentialAssets'; @@ -5,6 +6,7 @@ import { ConfidentialAsset, Context, PolymeshError, PolymeshTransaction } from ' import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; import { Mocked } from '~/testUtils/types'; import { ErrorCode } from '~/types'; +import * as utilsConversionModule from '~/utils/conversion'; jest.mock( '~/api/entities/confidential/ConfidentialAsset', @@ -93,4 +95,56 @@ describe('ConfidentialAssets Class', () => { expect(tx).toBe(expectedTransaction); }); }); + + describe('method: getConfidentialAssetFromTicker', () => { + let ticker: string; + let rawTicker: PolymeshPrimitivesTicker; + let stringToTickerSpy: jest.SpyInstance; + let meshConfidentialAssetToAssetIdSpy: jest.SpyInstance; + let assetId: string; + + beforeAll(() => { + stringToTickerSpy = jest.spyOn(utilsConversionModule, 'stringToTicker'); + meshConfidentialAssetToAssetIdSpy = jest.spyOn( + utilsConversionModule, + 'meshConfidentialAssetToAssetId' + ); + }); + + beforeEach(() => { + ticker = 'SOME_TICKER'; + assetId = 'SOME_ASSET_ID'; + rawTicker = dsMockUtils.createMockTicker(ticker); + when(stringToTickerSpy).calledWith(ticker, context).mockReturnValue(rawTicker); + meshConfidentialAssetToAssetIdSpy.mockReturnValue(assetId); + }); + + it('should return the number of pending affirmations', async () => { + dsMockUtils.createQueryMock('confidentialAsset', 'tickerToAsset', { + returnValue: dsMockUtils.createMockOption(dsMockUtils.createMockU8aFixed(assetId)), + }); + + const result = await confidentialAssets.getConfidentialAssetFromTicker({ ticker }); + + expect(result).toEqual(expect.objectContaining({ id: assetId })); + }); + + it('should throw an error if the count is not found', async () => { + dsMockUtils.createQueryMock('confidentialAsset', 'tickerToAsset', { + returnValue: dsMockUtils.createMockOption(), + }); + + const expectedError = new PolymeshError({ + code: ErrorCode.DataUnavailable, + message: 'The ticker is not mapped to any Confidential Asset', + data: { + ticker, + }, + }); + + return expect(confidentialAssets.getConfidentialAssetFromTicker({ ticker })).rejects.toThrow( + expectedError + ); + }); + }); }); diff --git a/src/api/procedures/createConfidentialAsset.ts b/src/api/procedures/createConfidentialAsset.ts index 90bd88d797..5c5ac8247a 100644 --- a/src/api/procedures/createConfidentialAsset.ts +++ b/src/api/procedures/createConfidentialAsset.ts @@ -1,10 +1,14 @@ import { ISubmittableResult } from '@polkadot/types/types'; -import { hexStripPrefix } from '@polkadot/util'; import { ConfidentialAsset, Context, PolymeshError, Procedure } from '~/internal'; import { CreateConfidentialAssetParams, ErrorCode, TxTags } from '~/types'; import { ExtrinsicParams, TransactionSpec } from '~/types/internal'; -import { auditorsToConfidentialAuditors, stringToBytes, stringToTicker } from '~/utils/conversion'; +import { + auditorsToConfidentialAuditors, + meshConfidentialAssetToAssetId, + stringToBytes, + stringToTicker, +} from '~/utils/conversion'; import { asConfidentialAccount, asIdentity, filterEventRecords } from '~/utils/internal'; /** @@ -19,7 +23,7 @@ export const createConfidentialAssetResolver = (context: Context) => (receipt: ISubmittableResult): ConfidentialAsset => { const [{ data }] = filterEventRecords(receipt, 'confidentialAsset', 'ConfidentialAssetCreated'); - const id = hexStripPrefix(data[1].toString()); + const id = meshConfidentialAssetToAssetId(data[1]); return new ConfidentialAsset({ id }, context); }; diff --git a/src/utils/conversion.ts b/src/utils/conversion.ts index 211e0ba054..75969a5930 100644 --- a/src/utils/conversion.ts +++ b/src/utils/conversion.ts @@ -89,6 +89,7 @@ import { BTreeSet } from '@polkadot/types-codec'; import { hexAddPrefix, hexHasPrefix, + hexStripPrefix, hexToString, hexToU8a, isHex, @@ -5013,6 +5014,9 @@ export function meshConfidentialAssetTransactionIdToId( return new BigNumber(id.toNumber()); } +/** + * @hidden + */ export function confidentialTransactionLegIdToBigNumber( id: PalletConfidentialAssetTransactionLegId ): BigNumber { @@ -5069,3 +5073,10 @@ export function confidentialLegPartyToRole( throw new UnreachableCaseError(role.type); } } + +/** + * @hidden + */ +export function meshConfidentialAssetToAssetId(value: U8aFixed): string { + return hexStripPrefix(value.toString()); +} From 2b24b51253344ea49ac41b2a6acc14625bfd8901 Mon Sep 17 00:00:00 2001 From: Prashant Bajpai <34747455+prashantasdeveloper@users.noreply.github.com> Date: Tue, 6 Feb 2024 18:39:27 +0530 Subject: [PATCH 069/120] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20Add=20release=20?= =?UTF-8?q?config=20for=20CA=20releases?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- release.config.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/release.config.js b/release.config.js index a7801ab565..18f851abe9 100644 --- a/release.config.js +++ b/release.config.js @@ -10,6 +10,10 @@ module.exports = { name: 'alpha', prerelease: true, }, + { + name: 'confidential-assets', + prerelease: true, + }, ], /* * In this order the **prepare** step of @semantic-release/npm will run first From ef4a0b94176b7b6d995e31d154067436a06773b3 Mon Sep 17 00:00:00 2001 From: Eric Richardson Date: Tue, 6 Feb 2024 12:26:38 -0500 Subject: [PATCH 070/120] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20add=20affirm/rej?= =?UTF-8?q?ect=20methods=20for=20confidential=20transaction?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit also adds `getLegState` and `getLegStates` on confidential transaction to help retrieve proof info --- src/api/entities/CheckpointSchedule/index.ts | 3 + src/api/entities/Identity/index.ts | 2 +- .../ConfidentialTransaction/index.ts | 90 ++++++++ .../ConfidentialTransaction/types.ts | 30 +++ .../ConfidentialTransaction/index.ts | 166 +++++++++++++- .../affirmConfidentialTransactions.ts | 213 ++++++++++++++++++ .../executeConfidentialTransaction.ts | 2 +- .../rejectConfidentialTransaction.ts | 127 +++++++++++ .../affirmConfidentialTransactions.ts | 138 ++++++++++++ .../rejectConfidentialTransaction.ts | 90 ++++++++ src/internal.ts | 5 + src/testUtils/mocks/dataSources.ts | 23 ++ src/testUtils/mocks/entities.ts | 12 + src/utils/__tests__/conversion.ts | 199 ++++++++++++++++ src/utils/conversion.ts | 181 ++++++++++++++- 15 files changed, 1274 insertions(+), 7 deletions(-) create mode 100644 src/api/procedures/__tests__/affirmConfidentialTransactions.ts create mode 100644 src/api/procedures/__tests__/rejectConfidentialTransaction.ts create mode 100644 src/api/procedures/affirmConfidentialTransactions.ts create mode 100644 src/api/procedures/rejectConfidentialTransaction.ts diff --git a/src/api/entities/CheckpointSchedule/index.ts b/src/api/entities/CheckpointSchedule/index.ts index 083aa2c430..7cc7bfecad 100644 --- a/src/api/entities/CheckpointSchedule/index.ts +++ b/src/api/entities/CheckpointSchedule/index.ts @@ -17,6 +17,9 @@ export interface HumanReadable { expiryDate: string | null; } +/** + * @hidden + */ export interface Params { pendingPoints: Date[]; } diff --git a/src/api/entities/Identity/index.ts b/src/api/entities/Identity/index.ts index ca83a87268..d4289bd619 100644 --- a/src/api/entities/Identity/index.ts +++ b/src/api/entities/Identity/index.ts @@ -943,7 +943,7 @@ export class Identity extends Entity { */ public async getInvolvedConfidentialTransactions( paginationOpts?: PaginationOptions - ): Promise | UnsubCallback> { + ): Promise> { const { did, context, diff --git a/src/api/entities/confidential/ConfidentialTransaction/index.ts b/src/api/entities/confidential/ConfidentialTransaction/index.ts index f630d57de0..700eee6d4a 100644 --- a/src/api/entities/confidential/ConfidentialTransaction/index.ts +++ b/src/api/entities/confidential/ConfidentialTransaction/index.ts @@ -3,25 +3,35 @@ import { PalletConfidentialAssetTransactionStatus } from '@polkadot/types/lookup import BigNumber from 'bignumber.js'; import { + AffirmConfidentialTransactionParams, + affirmConfidentialTransactions, Context, Entity, executeConfidentialTransaction, Identity, PolymeshError, + rejectConfidentialTransaction, } from '~/internal'; import { ConfidentialLeg, + ConfidentialLegState, + ConfidentialLegStateWithId, ConfidentialTransactionDetails, ConfidentialTransactionStatus, ErrorCode, NoArgsProcedureMethod, + ProcedureMethod, SubCallback, UnsubCallback, } from '~/types'; import { + bigNumberToConfidentialTransactionId, + bigNumberToConfidentialTransactionLegId, bigNumberToU32, bigNumberToU64, confidentialLegIdToId, + confidentialLegStateToLegState, + confidentialTransactionLegIdToBigNumber, identityIdToString, meshConfidentialLegDetailsToDetails, meshConfidentialTransactionDetailsToDetails, @@ -71,6 +81,24 @@ export class ConfidentialTransaction extends Entity { }, context ); + + this.affirmLeg = createProcedureMethod( + { + getProcedureAndArgs: args => [ + affirmConfidentialTransactions, + { transaction: this, ...args }, + ], + }, + context + ); + + this.reject = createProcedureMethod( + { + getProcedureAndArgs: () => [rejectConfidentialTransaction, { transaction: this }], + optionalArgs: true, + }, + context + ); } /** @@ -278,6 +306,58 @@ export class ConfidentialTransaction extends Entity { return legs; } + /** + * Get the leg states for the transaction + */ + public async getLegStates(): Promise { + const { + id, + context, + context: { + polymeshApi: { + query: { confidentialAsset }, + }, + }, + } = this; + + const rawId = bigNumberToConfidentialTransactionId(id, context); + + const rawLegStates = await confidentialAsset.txLegStates.entries(rawId); + + return rawLegStates.map(([key, rawLegState]) => { + const rawLegId = key.args[1]; + const legId = confidentialTransactionLegIdToBigNumber(rawLegId); + const state = confidentialLegStateToLegState(rawLegState, context); + + return { + legId, + ...state, + }; + }); + } + + /** + * Get the leg state for the given legId + */ + public async getLegState(legId: BigNumber): Promise { + const { + id, + context, + context: { + polymeshApi: { + query: { confidentialAsset }, + }, + }, + } = this; + + const rawId = bigNumberToConfidentialTransactionId(id, context); + const rawLegId = bigNumberToConfidentialTransactionLegId(legId, context); + + const rawLegState = await confidentialAsset.txLegStates(rawId, rawLegId); + + return confidentialLegStateToLegState(rawLegState, context); + } + /** * Executes this transaction * @@ -285,6 +365,16 @@ export class ConfidentialTransaction extends Entity { */ public execute: NoArgsProcedureMethod; + /** + * Affirms a leg of the transaction + */ + public affirmLeg: ProcedureMethod; + + /** + * Rejects this transaction + */ + public reject: NoArgsProcedureMethod; + /** * Return the settlement Transaction's ID */ diff --git a/src/api/entities/confidential/ConfidentialTransaction/types.ts b/src/api/entities/confidential/ConfidentialTransaction/types.ts index cec8c4f287..fe9cbfc060 100644 --- a/src/api/entities/confidential/ConfidentialTransaction/types.ts +++ b/src/api/entities/confidential/ConfidentialTransaction/types.ts @@ -20,6 +20,24 @@ export interface ConfidentialLeg { mediators: Identity[]; } +export interface ConfidentialLegStateBalances { + senderInitBalance: string; + senderAmount: string; + receiverAmount: string; +} + +/** + * The confidential state for the leg. When the sender provides proof of funds, this will contain the encrypted balances for the leg + */ +export type ConfidentialLegState = + | { + proved: true; + assetState: { asset: ConfidentialAsset; balances: ConfidentialLegStateBalances }[]; + } + | { proved: false }; + +export type ConfidentialLegStateWithId = { legId: BigNumber } & ConfidentialLegState; + /** * Status of a confidential transaction */ @@ -64,3 +82,15 @@ export enum TransactionAffirmParty { Receiver = 'Receiver', Mediator = 'Mediator', } + +export interface ConfidentialLegProof { + asset: string | ConfidentialAsset; + proof: string; +} + +export interface ConfidentialAffirmTransaction { + transactionId: BigNumber; + legId: BigNumber; + party: ConfidentialAffirmParty; + proofs?: ConfidentialLegProof[]; +} diff --git a/src/api/entities/confidential/__tests__/ConfidentialTransaction/index.ts b/src/api/entities/confidential/__tests__/ConfidentialTransaction/index.ts index 482ad3c018..37964c4b7d 100644 --- a/src/api/entities/confidential/__tests__/ConfidentialTransaction/index.ts +++ b/src/api/entities/confidential/__tests__/ConfidentialTransaction/index.ts @@ -1,4 +1,5 @@ -import { u64 } from '@polkadot/types'; +import { Bytes, u64 } from '@polkadot/types'; +import { PalletConfidentialAssetTransactionLegState } from '@polkadot/types/lookup'; import BigNumber from 'bignumber.js'; import { when } from 'jest-when'; @@ -16,7 +17,13 @@ import { createMockOption, } from '~/testUtils/mocks/dataSources'; import { Mocked } from '~/testUtils/types'; -import { ConfidentialTransactionStatus, ErrorCode, UnsubCallback } from '~/types'; +import { + ConfidentialAffirmParty, + ConfidentialLegStateBalances, + ConfidentialTransactionStatus, + ErrorCode, + UnsubCallback, +} from '~/types'; import { tuple } from '~/types/utils'; import * as utilsConversionModule from '~/utils/conversion'; @@ -36,6 +43,7 @@ describe('ConfidentialTransaction class', () => { let context: Mocked; let transaction: ConfidentialTransaction; let id: BigNumber; + let legId: BigNumber; beforeAll(() => { dsMockUtils.initMocks(); @@ -43,6 +51,7 @@ describe('ConfidentialTransaction class', () => { procedureMockUtils.initMocks(); id = new BigNumber(1); + legId = new BigNumber(2); }); beforeEach(() => { @@ -294,7 +303,6 @@ describe('ConfidentialTransaction class', () => { }); describe('method: getLegs', () => { - const legId = new BigNumber(2); const rawTransactionId = dsMockUtils.createMockConfidentialAssetTransactionId(id); const senderKey = '0x01'; const receiverKey = '0x02'; @@ -398,6 +406,158 @@ describe('ConfidentialTransaction class', () => { }); }); + describe('method: affirm', () => { + it('should prepare the procedure and return the resulting transaction', async () => { + const expectedTransaction = + 'someTransaction' as unknown as PolymeshTransaction; + + const args = { legId, party: ConfidentialAffirmParty.Mediator } as const; + + when(procedureMockUtils.getPrepareMock()) + .calledWith( + { + args: { transaction, ...args }, + transformer: undefined, + }, + context, + {} + ) + .mockResolvedValue(expectedTransaction); + + const tx = await transaction.affirmLeg(args); + + expect(tx).toBe(expectedTransaction); + }); + }); + + describe('method: reject', () => { + it('should prepare the procedure and return the resulting transaction', async () => { + const expectedTransaction = + 'someTransaction' as unknown as PolymeshTransaction; + + when(procedureMockUtils.getPrepareMock()) + .calledWith( + { + args: { transaction }, + transformer: undefined, + }, + context, + {} + ) + .mockResolvedValue(expectedTransaction); + + const tx = await transaction.reject(); + + expect(tx).toBe(expectedTransaction); + }); + }); + + describe('leg state methods', () => {}); + let mockLegState: dsMockUtils.MockCodec; + // eslint-disable-next-line @typescript-eslint/no-explicit-any + let mockLegReturn: any; + + beforeEach(() => { + mockLegState = dsMockUtils.createMockConfidentialLegState({ + assetState: dsMockUtils.createMockBTreeMap< + Bytes, + PalletConfidentialAssetTransactionLegState + >(), + }); + mockLegReturn = dsMockUtils.createMockOption(mockLegState); + + // eslint-disable-next-line @typescript-eslint/no-explicit-any + (mockLegState.assetState as any).toJSON = (): Record => ({ + // eslint-disable-next-line @typescript-eslint/naming-convention + '0x01': { + senderInitBalance: '0x02', + senderAmount: '0x03', + receiverAmount: '0x04', + }, + }); + + jest.spyOn(mockLegReturn, 'unwrap').mockReturnValue(mockLegState); + }); + + describe('method: getLegStates', () => { + it('should return the leg states for the transaction', async () => { + dsMockUtils.createQueryMock('confidentialAsset', 'txLegStates', { + entries: [ + tuple( + [ + dsMockUtils.createMockConfidentialTransactionId(id), + dsMockUtils.createMockConfidentialTransactionLegId(legId), + ], + mockLegReturn + ), + tuple( + [ + dsMockUtils.createMockConfidentialTransactionId(id), + dsMockUtils.createMockConfidentialTransactionLegId(new BigNumber(legId.plus(1))), + ], + dsMockUtils.createMockOption() + ), + ], + }); + + const result = await transaction.getLegStates(); + + expect(result).toEqual( + expect.arrayContaining([ + expect.objectContaining({ + proved: true, + assetState: expect.arrayContaining([ + expect.objectContaining({ + asset: expect.objectContaining({ id: '01' }), + balances: expect.objectContaining({ + senderInitBalance: '0x02', + senderAmount: '0x03', + receiverAmount: '0x04', + }), + }), + ]), + }), + expect.objectContaining({ + proved: false, + }), + ]) + ); + }); + }); + + describe('method: getLegState', () => { + it('should return the leg state for the leg when its pending proof', async () => { + dsMockUtils.createQueryMock('confidentialAsset', 'txLegStates', { + returnValue: dsMockUtils.createMockOption(), + }); + const result = await transaction.getLegState(legId); + + expect(result).toEqual({ proved: false }); + }); + + it('should return the leg state for the leg when it has been proved', async () => { + dsMockUtils.createQueryMock('confidentialAsset', 'txLegStates', { + returnValue: mockLegReturn, + }); + + const result = await transaction.getLegState(legId); + + expect(result).toEqual({ + proved: true, + assetState: expect.arrayContaining([ + expect.objectContaining({ + asset: expect.objectContaining({ id: '01' }), + balances: expect.objectContaining({ + senderInitBalance: '0x02', + senderAmount: '0x03', + receiverAmount: '0x04', + }), + }), + ]), + }); + }); + }); + describe('method: toHuman', () => { it('should return a human readable version of the entity', () => { expect(transaction.toHuman()).toBe('1'); diff --git a/src/api/procedures/__tests__/affirmConfidentialTransactions.ts b/src/api/procedures/__tests__/affirmConfidentialTransactions.ts new file mode 100644 index 0000000000..d205c1c7fb --- /dev/null +++ b/src/api/procedures/__tests__/affirmConfidentialTransactions.ts @@ -0,0 +1,213 @@ +import { u32, u64 } from '@polkadot/types'; +import BigNumber from 'bignumber.js'; +import { when } from 'jest-when'; + +import { + getAuthorization, + Params, + prepareAffirmConfidentialTransactions, +} from '~/api/procedures/affirmConfidentialTransactions'; +import { Context } from '~/internal'; +import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; +import { Mocked } from '~/testUtils/types'; +import { + ConfidentialAffirmParty, + ConfidentialTransaction, + ConfidentialTransactionStatus, + TxTags, +} from '~/types'; +import * as utilsConversionModule from '~/utils/conversion'; + +jest.mock( + '~/api/entities/confidential/ConfidentialTransaction', + require('~/testUtils/mocks/entities').mockConfidentialTransactionModule( + '~/api/entities/confidential/ConfidentialTransaction' + ) +); + +describe('affirmConfidentialTransactions procedure', () => { + let legId: BigNumber; + let mockContext: Mocked; + let bigNumberToU64Spy: jest.SpyInstance; + let bigNumberToU32Spy: jest.SpyInstance; + let confidentialAffirmsToRawSpy: jest.SpyInstance; + let transactionId: BigNumber; + let legsCount: BigNumber; + let rawLegsCount: u32; + let rawTransactionId: u64; + + beforeAll(() => { + dsMockUtils.initMocks(); + procedureMockUtils.initMocks(); + entityMockUtils.initMocks(); + + bigNumberToU64Spy = jest.spyOn(utilsConversionModule, 'bigNumberToU64'); + bigNumberToU32Spy = jest.spyOn(utilsConversionModule, 'bigNumberToU32'); + confidentialAffirmsToRawSpy = jest.spyOn(utilsConversionModule, 'confidentialAffirmsToRaw'); + legId = new BigNumber(1); + }); + + beforeEach(() => { + mockContext = dsMockUtils.getContextInstance(); + + transactionId = new BigNumber(1); + legsCount = new BigNumber(1); + rawTransactionId = dsMockUtils.createMockU64(transactionId); + rawLegsCount = dsMockUtils.createMockU32(legsCount); + + when(bigNumberToU64Spy) + .calledWith(transactionId, mockContext) + .mockReturnValue(rawTransactionId); + when(bigNumberToU32Spy).calledWith(legsCount, mockContext).mockReturnValue(rawLegsCount); + }); + + afterEach(() => { + entityMockUtils.reset(); + procedureMockUtils.reset(); + dsMockUtils.reset(); + }); + + afterAll(() => { + procedureMockUtils.cleanup(); + dsMockUtils.cleanup(); + }); + + it('should throw an error if the signing identity is not involved in the transaction', () => { + const proc = procedureMockUtils.getInstance(mockContext); + + return expect( + prepareAffirmConfidentialTransactions.call(proc, { + legId, + party: ConfidentialAffirmParty.Mediator, + transaction: entityMockUtils.getConfidentialTransactionInstance({ + getInvolvedParties: [entityMockUtils.getIdentityInstance({ did: 'randomDid' })], + }), + }) + ).rejects.toThrow('The signing identity is not involved in this Confidential Transaction'); + }); + + it('should throw an error if status is already Executed or Rejected', async () => { + const proc = procedureMockUtils.getInstance(mockContext); + + await expect( + prepareAffirmConfidentialTransactions.call(proc, { + legId, + party: ConfidentialAffirmParty.Sender, + proofs: [], + transaction: entityMockUtils.getConfidentialTransactionInstance({ + details: { + status: ConfidentialTransactionStatus.Executed, + }, + }), + }) + ).rejects.toThrow('The Confidential Transaction has already been completed'); + + await expect( + prepareAffirmConfidentialTransactions.call(proc, { + legId, + party: ConfidentialAffirmParty.Mediator, + transaction: entityMockUtils.getConfidentialTransactionInstance({ + details: { + status: ConfidentialTransactionStatus.Rejected, + }, + }), + }) + ).rejects.toThrow('The Confidential Transaction has already been completed'); + }); + + it('should throw an error if the sender is affirming an already proved leg', async () => { + const proc = procedureMockUtils.getInstance(mockContext); + + return expect( + prepareAffirmConfidentialTransactions.call(proc, { + legId, + party: ConfidentialAffirmParty.Sender, + proofs: [], + transaction: entityMockUtils.getConfidentialTransactionInstance({ + getLegState: { + proved: true, + assetState: [], + }, + }), + }) + ).rejects.toThrow('The leg has already been affirmed by the sender'); + }); + + it('should throw an error if a non-sender is affirming a not proved leg', async () => { + const proc = procedureMockUtils.getInstance(mockContext); + + return expect( + prepareAffirmConfidentialTransactions.call(proc, { + legId, + party: ConfidentialAffirmParty.Mediator, + transaction: entityMockUtils.getConfidentialTransactionInstance({ + getLegState: { + proved: false, + }, + }), + }) + ).rejects.toThrow('The sender has not yet provided amounts and proof for this leg'); + }); + + it('should return an affirm transaction spec for a sender', async () => { + const transaction = dsMockUtils.createTxMock('confidentialAsset', 'affirmTransactions'); + const fakeArgs = 'fakeArgs'; + confidentialAffirmsToRawSpy.mockReturnValue(fakeArgs); + + const proc = procedureMockUtils.getInstance(mockContext); + + const result = await prepareAffirmConfidentialTransactions.call(proc, { + legId, + party: ConfidentialAffirmParty.Sender, + transaction: entityMockUtils.getConfidentialTransactionInstance(), + proofs: [], + }); + + expect(result).toEqual({ + transaction, + args: [fakeArgs], + resolver: expect.objectContaining({ id: transactionId }), + }); + }); + + it('should return an affirm transaction spec for a receiver', async () => { + const transaction = dsMockUtils.createTxMock('confidentialAsset', 'affirmTransactions'); + const fakeArgs = 'fakeArgs'; + confidentialAffirmsToRawSpy.mockReturnValue(fakeArgs); + + const proc = procedureMockUtils.getInstance(mockContext); + + const result = await prepareAffirmConfidentialTransactions.call(proc, { + legId, + party: ConfidentialAffirmParty.Receiver, + transaction: entityMockUtils.getConfidentialTransactionInstance({ + getLegState: { + proved: true, + }, + }), + }); + + expect(result).toEqual({ + transaction, + args: [fakeArgs], + resolver: expect.objectContaining({ id: transactionId }), + }); + }); + + describe('getAuthorization', () => { + it('should return the appropriate roles and permissions', async () => { + const proc = procedureMockUtils.getInstance(mockContext); + const boundFunc = getAuthorization.bind(proc); + + const result = await boundFunc(); + + expect(result).toEqual({ + permissions: { + transactions: [TxTags.confidentialAsset.AffirmTransactions], + portfolios: [], + assets: [], + }, + }); + }); + }); +}); diff --git a/src/api/procedures/__tests__/executeConfidentialTransaction.ts b/src/api/procedures/__tests__/executeConfidentialTransaction.ts index 5d956e4e4c..e3dda59347 100644 --- a/src/api/procedures/__tests__/executeConfidentialTransaction.ts +++ b/src/api/procedures/__tests__/executeConfidentialTransaction.ts @@ -56,7 +56,7 @@ describe('executeConfidentialTransaction procedure', () => { dsMockUtils.cleanup(); }); - it('should throw an error if the signing identity is not the custodian of any of the involved portfolios', () => { + it('should throw an error if the signing identity is not involved in the transaction', () => { const proc = procedureMockUtils.getInstance< ExecuteConfidentialTransactionParams, ConfidentialTransaction diff --git a/src/api/procedures/__tests__/rejectConfidentialTransaction.ts b/src/api/procedures/__tests__/rejectConfidentialTransaction.ts new file mode 100644 index 0000000000..6170165283 --- /dev/null +++ b/src/api/procedures/__tests__/rejectConfidentialTransaction.ts @@ -0,0 +1,127 @@ +import { u32, u64 } from '@polkadot/types'; +import BigNumber from 'bignumber.js'; +import { when } from 'jest-when'; + +import { + getAuthorization, + Params, + prepareRejectConfidentialTransaction, +} from '~/api/procedures/rejectConfidentialTransaction'; +import { Context } from '~/internal'; +import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; +import { Mocked } from '~/testUtils/types'; +import { ConfidentialTransaction, ConfidentialTransactionStatus, TxTags } from '~/types'; +import * as utilsConversionModule from '~/utils/conversion'; + +describe('rejectConfidentialTransaction procedure', () => { + let mockContext: Mocked; + let bigNumberToU64Spy: jest.SpyInstance; + let bigNumberToU32Spy: jest.SpyInstance; + let transactionId: BigNumber; + let legsCount: BigNumber; + let rawLegsCount: u32; + let rawTransactionId: u64; + + beforeAll(() => { + dsMockUtils.initMocks(); + procedureMockUtils.initMocks(); + entityMockUtils.initMocks(); + + bigNumberToU64Spy = jest.spyOn(utilsConversionModule, 'bigNumberToU64'); + bigNumberToU32Spy = jest.spyOn(utilsConversionModule, 'bigNumberToU32'); + }); + + beforeEach(() => { + mockContext = dsMockUtils.getContextInstance(); + + transactionId = new BigNumber(1); + legsCount = new BigNumber(1); + rawTransactionId = dsMockUtils.createMockU64(transactionId); + rawLegsCount = dsMockUtils.createMockU32(legsCount); + + when(bigNumberToU64Spy) + .calledWith(transactionId, mockContext) + .mockReturnValue(rawTransactionId); + when(bigNumberToU32Spy).calledWith(legsCount, mockContext).mockReturnValue(rawLegsCount); + }); + + afterEach(() => { + entityMockUtils.reset(); + procedureMockUtils.reset(); + dsMockUtils.reset(); + }); + + afterAll(() => { + procedureMockUtils.cleanup(); + dsMockUtils.cleanup(); + }); + + it('should throw an error if the signing identity is not involved in the transaction', () => { + const proc = procedureMockUtils.getInstance(mockContext); + + return expect( + prepareRejectConfidentialTransaction.call(proc, { + transaction: entityMockUtils.getConfidentialTransactionInstance({ + getInvolvedParties: [entityMockUtils.getIdentityInstance({ did: 'randomDid' })], + }), + }) + ).rejects.toThrow('The signing identity is not involved in this Confidential Transaction'); + }); + + it('should throw an error if status is already Executed or Rejected', async () => { + const proc = procedureMockUtils.getInstance(mockContext); + + await expect( + prepareRejectConfidentialTransaction.call(proc, { + transaction: entityMockUtils.getConfidentialTransactionInstance({ + details: { + status: ConfidentialTransactionStatus.Executed, + }, + }), + }) + ).rejects.toThrow('The Confidential Transaction has already been completed'); + + await expect( + prepareRejectConfidentialTransaction.call(proc, { + transaction: entityMockUtils.getConfidentialTransactionInstance({ + details: { + status: ConfidentialTransactionStatus.Rejected, + }, + }), + }) + ).rejects.toThrow('The Confidential Transaction has already been completed'); + }); + + it('should return a reject transaction spec', async () => { + const transaction = dsMockUtils.createTxMock('confidentialAsset', 'rejectTransaction'); + + const proc = procedureMockUtils.getInstance(mockContext); + + const result = await prepareRejectConfidentialTransaction.call(proc, { + transaction: entityMockUtils.getConfidentialTransactionInstance(), + }); + + expect(result).toEqual({ + transaction, + args: [rawTransactionId, rawLegsCount], + resolver: expect.objectContaining({ id: transactionId }), + }); + }); + + describe('getAuthorization', () => { + it('should return the appropriate roles and permissions', async () => { + const proc = procedureMockUtils.getInstance(mockContext); + const boundFunc = getAuthorization.bind(proc); + + const result = await boundFunc(); + + expect(result).toEqual({ + permissions: { + transactions: [TxTags.confidentialAsset.RejectTransaction], + portfolios: [], + assets: [], + }, + }); + }); + }); +}); diff --git a/src/api/procedures/affirmConfidentialTransactions.ts b/src/api/procedures/affirmConfidentialTransactions.ts new file mode 100644 index 0000000000..08d485cfe1 --- /dev/null +++ b/src/api/procedures/affirmConfidentialTransactions.ts @@ -0,0 +1,138 @@ +import BigNumber from 'bignumber.js'; + +import { PolymeshError, Procedure } from '~/internal'; +import { + ConfidentialAffirmParty, + ConfidentialLegProof, + ConfidentialTransaction, + ConfidentialTransactionStatus, + ErrorCode, + TxTags, +} from '~/types'; +import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; +import { + confidentialAffirmsToRaw, + confidentialAffirmTransactionToMeshTransaction, +} from '~/utils/conversion'; + +interface SenderAffirm { + party: ConfidentialAffirmParty.Sender; + proofs: ConfidentialLegProof[]; +} + +interface ObserverAffirm { + party: ConfidentialAffirmParty.Mediator | ConfidentialAffirmParty.Receiver; +} + +export type AffirmConfidentialTransactionParams = { legId: BigNumber } & ( + | SenderAffirm + | ObserverAffirm +); + +export type Params = { + transaction: ConfidentialTransaction; +} & AffirmConfidentialTransactionParams; + +/** + * @hidden + */ +export async function prepareAffirmConfidentialTransactions( + this: Procedure, + args: Params +): Promise< + TransactionSpec< + ConfidentialTransaction, + ExtrinsicParams<'confidentialAsset', 'affirmTransactions'> + > +> { + const { + context: { + polymeshApi: { + tx: { confidentialAsset }, + }, + }, + context, + } = this; + + const { transaction, legId, party } = args; + + const [{ status }, involvedParties, signingIdentity, legState] = await Promise.all([ + transaction.details(), + transaction.getInvolvedParties(), + context.getSigningIdentity(), + transaction.getLegState(legId), + ]); + + if (status !== ConfidentialTransactionStatus.Pending) { + throw new PolymeshError({ + code: ErrorCode.ValidationError, + message: 'The Confidential Transaction has already been completed', + data: { transactionId: transaction.id.toString(), status }, + }); + } + + if (!involvedParties.some(involvedParty => involvedParty.did === signingIdentity.did)) { + throw new PolymeshError({ + code: ErrorCode.ValidationError, + message: 'The signing identity is not involved in this Confidential Transaction', + data: { did: signingIdentity.did, transactionId: transaction.id.toString() }, + }); + } + + if (party === ConfidentialAffirmParty.Sender) { + if (legState.proved) { + throw new PolymeshError({ + code: ErrorCode.ValidationError, + message: 'The leg has already been affirmed by the sender', + data: { transactionId: transaction.id.toString(), legId: legId.toString() }, + }); + } + } else if (!legState.proved) { + throw new PolymeshError({ + code: ErrorCode.ValidationError, + message: 'The sender has not yet provided amounts and proof for this leg', + data: { legId: legId.toString }, + }); + } + + const proofs = party === ConfidentialAffirmParty.Sender ? args.proofs : undefined; + + const rawTx = confidentialAffirmTransactionToMeshTransaction( + { + transactionId: transaction.id, + legId, + party, + proofs, + }, + context + ); + + const rawAffirm = confidentialAffirmsToRaw([rawTx], context); + + return { + transaction: confidentialAsset.affirmTransactions, + args: [rawAffirm], + resolver: transaction, + }; +} + +/** + * @hidden + */ +export async function getAuthorization( + this: Procedure +): Promise { + return { + permissions: { + assets: [], + portfolios: [], + transactions: [TxTags.confidentialAsset.AffirmTransactions], + }, + }; +} + +/** + * @hidden + */ +export const affirmConfidentialTransactions = (): Procedure => + new Procedure(prepareAffirmConfidentialTransactions, getAuthorization); diff --git a/src/api/procedures/rejectConfidentialTransaction.ts b/src/api/procedures/rejectConfidentialTransaction.ts new file mode 100644 index 0000000000..fa79ee4bfe --- /dev/null +++ b/src/api/procedures/rejectConfidentialTransaction.ts @@ -0,0 +1,90 @@ +import BigNumber from 'bignumber.js'; + +import { PolymeshError, Procedure } from '~/internal'; +import { ConfidentialTransaction, ConfidentialTransactionStatus, ErrorCode, TxTags } from '~/types'; +import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; +import { bigNumberToU32, bigNumberToU64 } from '~/utils/conversion'; + +/** + * @hidden + */ +export interface Params { + transaction: ConfidentialTransaction; +} + +/** + * @hidden + */ +export async function prepareRejectConfidentialTransaction( + this: Procedure, + args: Params +): Promise< + TransactionSpec< + ConfidentialTransaction, + ExtrinsicParams<'confidentialAsset', 'rejectTransaction'> + > +> { + const { + context: { + polymeshApi: { + tx: { confidentialAsset }, + }, + }, + context, + } = this; + + const { transaction } = args; + + const [{ status }, legs, involvedParties, signingIdentity] = await Promise.all([ + transaction.details(), + transaction.getLegs(), + transaction.getInvolvedParties(), + context.getSigningIdentity(), + ]); + + if (status !== ConfidentialTransactionStatus.Pending) { + throw new PolymeshError({ + code: ErrorCode.ValidationError, + message: 'The Confidential Transaction has already been completed', + data: { transactionId: transaction.id.toString(), status }, + }); + } + + if (!involvedParties.some(party => party.did === signingIdentity.did)) { + throw new PolymeshError({ + code: ErrorCode.ValidationError, + message: 'The signing identity is not involved in this Confidential Transaction', + data: { did: signingIdentity.did, transactionId: transaction.id.toString() }, + }); + } + + const rawId = bigNumberToU64(transaction.id, context); + const rawCount = bigNumberToU32(new BigNumber(legs.length), context); + + return { + transaction: confidentialAsset.rejectTransaction, + args: [rawId, rawCount], + resolver: transaction, + }; +} + +/** + * @hidden + */ +export async function getAuthorization( + this: Procedure +): Promise { + return { + permissions: { + assets: [], + portfolios: [], + transactions: [TxTags.confidentialAsset.RejectTransaction], + }, + }; +} + +/** + * @hidden + */ +export const rejectConfidentialTransaction = (): Procedure => + new Procedure(prepareRejectConfidentialTransaction, getAuthorization); diff --git a/src/internal.ts b/src/internal.ts index 280fbf1f44..63bd3c4690 100644 --- a/src/internal.ts +++ b/src/internal.ts @@ -25,6 +25,11 @@ export { addConfidentialTransaction } from '~/api/procedures/addConfidentialTran export { addInstruction } from '~/api/procedures/addInstruction'; export { executeManualInstruction } from '~/api/procedures/executeManualInstruction'; export { executeConfidentialTransaction } from '~/api/procedures/executeConfidentialTransaction'; +export { + affirmConfidentialTransactions, + AffirmConfidentialTransactionParams, +} from '~/api/procedures/affirmConfidentialTransactions'; +export { rejectConfidentialTransaction } from '~/api/procedures/rejectConfidentialTransaction'; export { consumeAuthorizationRequests, ConsumeAuthorizationRequestsParams, diff --git a/src/testUtils/mocks/dataSources.ts b/src/testUtils/mocks/dataSources.ts index 44f7c5192d..eebb44c453 100644 --- a/src/testUtils/mocks/dataSources.ts +++ b/src/testUtils/mocks/dataSources.ts @@ -64,6 +64,7 @@ import { PalletConfidentialAssetTransactionLeg, PalletConfidentialAssetTransactionLegDetails, PalletConfidentialAssetTransactionLegId, + PalletConfidentialAssetTransactionLegState, PalletConfidentialAssetTransactionStatus, PalletContractsStorageContractInfo, PalletCorporateActionsCaCheckpoint, @@ -4728,3 +4729,25 @@ export const createMockConfidentialLegParty = ( return createMockEnum(role); }; + +export const createMockConfidentialLegState = ( + state?: + | { + assetState: BTreeMap; + } + | PalletConfidentialAssetTransactionLegState +): MockCodec => { + if (isCodec(state)) { + return state as MockCodec; + } + const mockBTreeSet = dsMockUtils.createMockBTreeMap< + Bytes, + PalletConfidentialAssetTransactionLegState + >(); + + const { assetState } = state ?? { + assetState: mockBTreeSet, + }; + + return createMockCodec({ assetState }, !state); +}; diff --git a/src/testUtils/mocks/entities.ts b/src/testUtils/mocks/entities.ts index 35a845a79c..2e58594646 100644 --- a/src/testUtils/mocks/entities.ts +++ b/src/testUtils/mocks/entities.ts @@ -53,6 +53,8 @@ import { ComplianceRequirements, ConfidentialAssetDetails, ConfidentialLeg, + ConfidentialLegState, + ConfidentialLegStateWithId, ConfidentialTransactionDetails, ConfidentialTransactionStatus, ConfidentialVenueFilteringDetails, @@ -395,6 +397,8 @@ interface ConfidentialTransactionOptions extends EntityOptions { getInvolvedParties?: EntityGetter; getPendingAffirmsCount?: EntityGetter; getLegs?: EntityGetter; + getLegState?: EntityGetter; + getLegStates?: EntityGetter; } interface ConfidentialAccountOptions extends EntityOptions { @@ -2231,6 +2235,8 @@ const MockConfidentialTransactionClass = createMockEntityClass ({ @@ -2279,6 +2287,10 @@ const MockConfidentialTransactionClass = createMockEntityClass { expect(result).toEqual('0x76702175d8cbe3a55a19734433351e25'); }); + + it('should extract the ID from ConfidentialAsset entity', () => { + const context = dsMockUtils.getContextInstance(); + const asset = new ConfidentialAsset({ id: '76702175-d8cb-e3a5-5a19-734433351e25' }, context); + + const result = serializeConfidentialAssetId(asset); + + expect(result).toEqual('0x76702175d8cbe3a55a19734433351e25'); + }); }); describe('transactionPermissionsToExtrinsicPermissions', () => { @@ -10211,3 +10230,183 @@ describe('meshConfidentialAssetTransactionIdToId', () => { }); }); }); + +describe('confidentialAffirmPartyToRaw', () => { + beforeAll(() => { + dsMockUtils.initMocks(); + }); + afterEach(() => { + dsMockUtils.reset(); + }); + + afterAll(() => { + dsMockUtils.cleanup(); + }); + + it('should return a raw affirm party for a mediator', () => { + const mockContext = dsMockUtils.getContextInstance(); + const party = ConfidentialAffirmParty.Mediator; + + // eslint-disable-next-line @typescript-eslint/no-explicit-any + const mockResult = 'mockResult' as any; + + when(mockContext.createType) + .calledWith('PalletConfidentialAssetAffirmParty', { + [party]: null, + }) + .mockReturnValue(mockResult); + + const result = confidentialAffirmPartyToRaw({ party }, mockContext); + + expect(result).toEqual(mockResult); + }); + + it('should return a raw affirm party for a sender', () => { + const mockContext = dsMockUtils.getContextInstance(); + const party = ConfidentialAffirmParty.Sender; + const proofs = [{ asset: '1234', proof: '0x01' }]; + // eslint-disable-next-line @typescript-eslint/naming-convention + const fmtProofs = { '0x1234': '0x01' }; + + const mockResult = 'mockResult' as unknown as PalletConfidentialAssetAffirmParty; + const mockRawProofs = dsMockUtils.createMockBTreeMap(); + const mockTransferProof = + 'mockTransferProof' as unknown as PalletConfidentialAssetConfidentialTransfers; + + when(mockContext.createType) + .calledWith('BTreeMap', fmtProofs) + .mockReturnValue(mockRawProofs); + + when(mockContext.createType) + .calledWith('PalletConfidentialAssetConfidentialTransfers', { + proofs: mockRawProofs, + }) + .mockReturnValue(mockTransferProof); + + when(mockContext.createType) + .calledWith('PalletConfidentialAssetAffirmParty', { + [party]: mockTransferProof, + }) + .mockReturnValue(mockResult); + + const result = confidentialAffirmPartyToRaw({ party, proofs }, mockContext); + + expect(result).toEqual(mockResult); + }); +}); + +describe('confidentialAffirmsToRaw', () => { + beforeAll(() => { + dsMockUtils.initMocks(); + }); + afterEach(() => { + dsMockUtils.reset(); + }); + + afterAll(() => { + dsMockUtils.cleanup(); + }); + + it('should return a raw affirm transaction', () => { + const mockContext = dsMockUtils.getContextInstance(); + + const mockAffirm = 'mockAffirm' as unknown as PalletConfidentialAssetAffirmTransaction; + const mockResult = 'mockResult' as unknown as PalletConfidentialAssetAffirmTransactions; + + when(mockContext.createType) + .calledWith('PalletConfidentialAssetAffirmTransactions', [mockAffirm]) + .mockReturnValue(mockResult); + + const result = confidentialAffirmsToRaw([mockAffirm], mockContext); + + expect(result).toEqual(mockResult); + }); +}); + +describe('confidentialLegStateToLegState', () => { + let mockLegState: dsMockUtils.MockCodec; + // eslint-disable-next-line @typescript-eslint/no-explicit-any + let mockLegReturn: any; + + const assetId = '76702175-d8cb-e3a5-5a19-734433351e25'; + + beforeEach(() => { + mockLegState = dsMockUtils.createMockConfidentialLegState({ + assetState: dsMockUtils.createMockBTreeMap< + Bytes, + PalletConfidentialAssetTransactionLegState + >(), + }); + mockLegReturn = dsMockUtils.createMockOption(mockLegState); + + jest.spyOn(mockLegReturn, 'unwrap').mockReturnValue(mockLegState); + }); + beforeAll(() => { + dsMockUtils.initMocks(); + }); + afterEach(() => { + dsMockUtils.reset(); + }); + + afterAll(() => { + dsMockUtils.cleanup(); + }); + + it('should return the parsed leg state', () => { + const balances = { + senderInitBalance: '0x02', + senderAmount: '0x03', + receiverAmount: '0x04', + }; + + // eslint-disable-next-line @typescript-eslint/no-explicit-any + (mockLegState.assetState as any).toJSON = (): Record => ({ + // eslint-disable-next-line @typescript-eslint/naming-convention + [assetId]: balances, + }); + + const mockContext = dsMockUtils.getContextInstance(); + + const result = confidentialLegStateToLegState(mockLegReturn, mockContext); + + expect(result).toEqual( + expect.objectContaining({ + proved: true, + assetState: expect.arrayContaining([ + expect.objectContaining({ + asset: expect.objectContaining({ id: assetId }), + }), + ]), + }) + ); + }); + + it('should return the expected result for unproven legs', () => { + const mockContext = dsMockUtils.getContextInstance(); + + const result = confidentialLegStateToLegState(dsMockUtils.createMockOption(), mockContext); + + expect(result).toEqual( + expect.objectContaining({ + proved: false, + }) + ); + }); + + it('should throw an error if there is unexpected leg state', () => { + /* eslint-disable @typescript-eslint/no-explicit-any */ + (mockLegState.assetState as any).toJSON = (): Record => ({ + // eslint-disable-next-line @typescript-eslint/naming-convention + assetId: { + senderInitBalance: undefined, + } as any, + }); + /* eslint-enable @typescript-eslint/no-explicit-any */ + + const mockContext = dsMockUtils.getContextInstance(); + + expect(() => confidentialLegStateToLegState(mockLegReturn, mockContext)).toThrow( + 'Unexpected data for PalletConfidentialAssetTransactionLegState received from chain' + ); + }); +}); diff --git a/src/utils/conversion.ts b/src/utils/conversion.ts index 75969a5930..62e86e12ec 100644 --- a/src/utils/conversion.ts +++ b/src/utils/conversion.ts @@ -16,15 +16,21 @@ import { import { AccountId, Balance, BlockHash, Hash, Permill } from '@polkadot/types/interfaces'; import { DispatchError, DispatchResult } from '@polkadot/types/interfaces/system'; import { + PalletConfidentialAssetAffirmLeg, + PalletConfidentialAssetAffirmParty, + PalletConfidentialAssetAffirmTransaction, + PalletConfidentialAssetAffirmTransactions, PalletConfidentialAssetAuditorAccount, PalletConfidentialAssetConfidentialAccount, PalletConfidentialAssetConfidentialAuditors, + PalletConfidentialAssetConfidentialTransfers, PalletConfidentialAssetLegParty, PalletConfidentialAssetTransaction, PalletConfidentialAssetTransactionId, PalletConfidentialAssetTransactionLeg, PalletConfidentialAssetTransactionLegDetails, PalletConfidentialAssetTransactionLegId, + PalletConfidentialAssetTransactionLegState, PalletConfidentialAssetTransactionStatus, PalletCorporateActionsCaId, PalletCorporateActionsCaKind, @@ -176,8 +182,12 @@ import { ConditionCompliance, ConditionTarget, ConditionType, + ConfidentialAffirmParty, + ConfidentialAffirmTransaction, ConfidentialLeg, ConfidentialLegParty, + ConfidentialLegProof, + ConfidentialLegState, ConfidentialTransactionDetails, ConfidentialTransactionStatus, CorporateActionKind, @@ -366,8 +376,10 @@ export function tickerToString(ticker: PolymeshPrimitivesTicker): string { /** * @hidden */ -export function serializeConfidentialAssetId(value: string): string { - return hexAddPrefix(value.replace(/-/g, '')); +export function serializeConfidentialAssetId(value: string | ConfidentialAsset): string { + const id = value instanceof ConfidentialAsset ? value.id : value; + + return hexAddPrefix(id.replace(/-/g, '')); } /** @@ -5080,3 +5092,168 @@ export function confidentialLegPartyToRole( export function meshConfidentialAssetToAssetId(value: U8aFixed): string { return hexStripPrefix(value.toString()); } + +/** + * @hidden + */ +export function bigNumberToConfidentialTransactionId( + id: BigNumber, + context: Context +): PalletConfidentialAssetTransactionId { + const rawId = bigNumberToU64(id, context); + return context.createType('PalletConfidentialAssetTransactionId', rawId); +} + +/** + * @hidden + */ +export function bigNumberToConfidentialTransactionLegId( + id: BigNumber, + context: Context +): PalletConfidentialAssetTransactionLegId { + const rawId = bigNumberToU32(id, context); + return context.createType('PalletConfidentialAssetTransactionLegId', rawId); +} + +/** + * @hidden + */ +export function proofToTransfer( + proofs: BTreeMap, + context: Context +): PalletConfidentialAssetConfidentialTransfers { + return context.createType('PalletConfidentialAssetConfidentialTransfers', { proofs }); +} + +/** + * @hidden + */ +export function confidentialAffirmPartyToRaw( + value: { + party: ConfidentialAffirmParty; + proofs?: ConfidentialLegProof[]; + }, + context: Context +): PalletConfidentialAssetAffirmParty { + const { party, proofs } = value; + + let transferProof: PalletConfidentialAssetConfidentialTransfers | null = null; + if (proofs) { + const fmtProofs = proofs.reduce((acc, { asset, proof }) => { + const id = serializeConfidentialAssetId(asset); + acc[id] = proof; + + return acc; + }, {} as Record); + + const rawProofs = context.createType('BTreeMap', fmtProofs); + + transferProof = proofToTransfer(rawProofs, context); + } + return context.createType('PalletConfidentialAssetAffirmParty', { + [party]: transferProof, + }); +} + +/** + * @hidden + */ +export function legToConfidentialAssetAffirmLeg( + value: { + legId: BigNumber; + party: ConfidentialAffirmParty; + proofs?: ConfidentialLegProof[]; + }, + context: Context +): PalletConfidentialAssetAffirmLeg { + const { legId, party, proofs } = value; + + const rawLegId = bigNumberToConfidentialTransactionLegId(legId, context); + const rawParty = confidentialAffirmPartyToRaw({ party, proofs }, context); + + return context.createType('PalletConfidentialAssetAffirmLeg', { + legId: rawLegId, + party: rawParty, + }); +} + +/** + * @hidden + */ +export function confidentialAffirmTransactionToMeshTransaction( + value: ConfidentialAffirmTransaction, + context: Context +): PalletConfidentialAssetAffirmTransaction { + const { transactionId, legId, party, proofs } = value; + + const rawId = bigNumberToConfidentialTransactionId(transactionId, context); + const rawLeg = legToConfidentialAssetAffirmLeg( + { + legId, + party, + proofs, + }, + context + ); + + return context.createType('PalletConfidentialAssetAffirmTransaction', { + id: rawId, + leg: rawLeg, + }); +} + +/** + * @hidden + */ +export function confidentialAffirmsToRaw( + value: PalletConfidentialAssetAffirmTransaction[], + context: Context +): PalletConfidentialAssetAffirmTransactions { + return context.createType('PalletConfidentialAssetAffirmTransactions', value); +} + +/** + * @hidden + */ +export function confidentialLegStateToLegState( + value: Option, + context: Context +): ConfidentialLegState { + if (value.isNone) { + return { + proved: false, + }; + } + + const rawState = value.unwrap().assetState.toJSON() as Record< + string, + { senderInitBalance: string; senderAmount: string; receiverAmount: string } + >; + + const assetState = Object.entries(rawState).map(([key, stateValue]) => { + const { senderInitBalance, senderAmount, receiverAmount } = stateValue; + const hasExpectedFields = + typeof key === 'string' && + typeof senderInitBalance === 'string' && + typeof senderAmount === 'string' && + typeof receiverAmount === 'string'; + + if (!hasExpectedFields) { + throw new PolymeshError({ + code: ErrorCode.General, + message: + 'Unexpected data for PalletConfidentialAssetTransactionLegState received from chain', + }); + } + + return { + asset: new ConfidentialAsset({ id: key.replace('0x', '') }, context), + balances: { senderInitBalance, senderAmount, receiverAmount }, + }; + }); + + return { + proved: true, + assetState, + }; +} From 95dce16605f679364de8a76e0da07a92db0dddf5 Mon Sep 17 00:00:00 2001 From: Eric Richardson Date: Tue, 6 Feb 2024 15:25:24 -0500 Subject: [PATCH 071/120] =?UTF-8?q?style:=20=F0=9F=92=84=20address=20PR=20?= =?UTF-8?q?comments?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/main.yml | 2 +- .../ConfidentialTransaction/index.ts | 6 ++++-- .../ConfidentialTransaction/types.ts | 14 ++++++++++++++ .../__tests__/ConfidentialTransaction/index.ts | 6 ++---- .../affirmConfidentialTransactions.ts | 18 +----------------- src/internal.ts | 5 +---- src/utils/__tests__/conversion.ts | 2 -- 7 files changed, 23 insertions(+), 30 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6eb2485dc4..0cc9cc9373 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -2,7 +2,7 @@ name: CI on: push: - branches: [master, beta, alpha] + branches: [master, beta, alpha, confidential-asset] pull_request: types: [assigned, opened, synchronize, reopened] diff --git a/src/api/entities/confidential/ConfidentialTransaction/index.ts b/src/api/entities/confidential/ConfidentialTransaction/index.ts index 700eee6d4a..2675c10abb 100644 --- a/src/api/entities/confidential/ConfidentialTransaction/index.ts +++ b/src/api/entities/confidential/ConfidentialTransaction/index.ts @@ -3,7 +3,6 @@ import { PalletConfidentialAssetTransactionStatus } from '@polkadot/types/lookup import BigNumber from 'bignumber.js'; import { - AffirmConfidentialTransactionParams, affirmConfidentialTransactions, Context, Entity, @@ -13,6 +12,7 @@ import { rejectConfidentialTransaction, } from '~/internal'; import { + AffirmConfidentialTransactionParams, ConfidentialLeg, ConfidentialLegState, ConfidentialLegStateWithId, @@ -366,7 +366,9 @@ export class ConfidentialTransaction extends Entity { public execute: NoArgsProcedureMethod; /** - * Affirms a leg of the transaction + * Affirms a leg of this transaction + * + * @note - The sender must provide their affirmation before anyone else can. (Sender affirmation is where amounts are specified) */ public affirmLeg: ProcedureMethod; diff --git a/src/api/entities/confidential/ConfidentialTransaction/types.ts b/src/api/entities/confidential/ConfidentialTransaction/types.ts index fe9cbfc060..af98c11fbc 100644 --- a/src/api/entities/confidential/ConfidentialTransaction/types.ts +++ b/src/api/entities/confidential/ConfidentialTransaction/types.ts @@ -94,3 +94,17 @@ export interface ConfidentialAffirmTransaction { party: ConfidentialAffirmParty; proofs?: ConfidentialLegProof[]; } + +export interface SenderAffirm { + party: ConfidentialAffirmParty.Sender; + proofs: ConfidentialLegProof[]; +} + +export interface ObserverAffirm { + party: ConfidentialAffirmParty.Mediator | ConfidentialAffirmParty.Receiver; +} + +export type AffirmConfidentialTransactionParams = { legId: BigNumber } & ( + | SenderAffirm + | ObserverAffirm +); diff --git a/src/api/entities/confidential/__tests__/ConfidentialTransaction/index.ts b/src/api/entities/confidential/__tests__/ConfidentialTransaction/index.ts index 37964c4b7d..2f12e3e58c 100644 --- a/src/api/entities/confidential/__tests__/ConfidentialTransaction/index.ts +++ b/src/api/entities/confidential/__tests__/ConfidentialTransaction/index.ts @@ -406,7 +406,7 @@ describe('ConfidentialTransaction class', () => { }); }); - describe('method: affirm', () => { + describe('method: affirmLeg', () => { it('should prepare the procedure and return the resulting transaction', async () => { const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; @@ -464,8 +464,6 @@ describe('ConfidentialTransaction class', () => { PalletConfidentialAssetTransactionLegState >(), }); - mockLegReturn = dsMockUtils.createMockOption(mockLegState); - // eslint-disable-next-line @typescript-eslint/no-explicit-any (mockLegState.assetState as any).toJSON = (): Record => ({ // eslint-disable-next-line @typescript-eslint/naming-convention @@ -476,7 +474,7 @@ describe('ConfidentialTransaction class', () => { }, }); - jest.spyOn(mockLegReturn, 'unwrap').mockReturnValue(mockLegState); + mockLegReturn = dsMockUtils.createMockOption(mockLegState); }); describe('method: getLegStates', () => { diff --git a/src/api/procedures/affirmConfidentialTransactions.ts b/src/api/procedures/affirmConfidentialTransactions.ts index 08d485cfe1..b15b6c5c90 100644 --- a/src/api/procedures/affirmConfidentialTransactions.ts +++ b/src/api/procedures/affirmConfidentialTransactions.ts @@ -1,9 +1,7 @@ -import BigNumber from 'bignumber.js'; - import { PolymeshError, Procedure } from '~/internal'; import { + AffirmConfidentialTransactionParams, ConfidentialAffirmParty, - ConfidentialLegProof, ConfidentialTransaction, ConfidentialTransactionStatus, ErrorCode, @@ -15,20 +13,6 @@ import { confidentialAffirmTransactionToMeshTransaction, } from '~/utils/conversion'; -interface SenderAffirm { - party: ConfidentialAffirmParty.Sender; - proofs: ConfidentialLegProof[]; -} - -interface ObserverAffirm { - party: ConfidentialAffirmParty.Mediator | ConfidentialAffirmParty.Receiver; -} - -export type AffirmConfidentialTransactionParams = { legId: BigNumber } & ( - | SenderAffirm - | ObserverAffirm -); - export type Params = { transaction: ConfidentialTransaction; } & AffirmConfidentialTransactionParams; diff --git a/src/internal.ts b/src/internal.ts index 63bd3c4690..0365791eba 100644 --- a/src/internal.ts +++ b/src/internal.ts @@ -25,10 +25,7 @@ export { addConfidentialTransaction } from '~/api/procedures/addConfidentialTran export { addInstruction } from '~/api/procedures/addInstruction'; export { executeManualInstruction } from '~/api/procedures/executeManualInstruction'; export { executeConfidentialTransaction } from '~/api/procedures/executeConfidentialTransaction'; -export { - affirmConfidentialTransactions, - AffirmConfidentialTransactionParams, -} from '~/api/procedures/affirmConfidentialTransactions'; +export { affirmConfidentialTransactions } from '~/api/procedures/affirmConfidentialTransactions'; export { rejectConfidentialTransaction } from '~/api/procedures/rejectConfidentialTransaction'; export { consumeAuthorizationRequests, diff --git a/src/utils/__tests__/conversion.ts b/src/utils/__tests__/conversion.ts index ade9b709a4..36a0f3644b 100644 --- a/src/utils/__tests__/conversion.ts +++ b/src/utils/__tests__/conversion.ts @@ -10338,8 +10338,6 @@ describe('confidentialLegStateToLegState', () => { >(), }); mockLegReturn = dsMockUtils.createMockOption(mockLegState); - - jest.spyOn(mockLegReturn, 'unwrap').mockReturnValue(mockLegState); }); beforeAll(() => { dsMockUtils.initMocks(); From b828063c2cebda9e19d09242212e0ea9cadcd2bd Mon Sep 17 00:00:00 2001 From: Eric Richardson Date: Tue, 6 Feb 2024 15:47:46 -0500 Subject: [PATCH 072/120] =?UTF-8?q?chore:=20=F0=9F=A4=96=20update=20types?= =?UTF-8?q?=20for=206.2=20chain?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ✅ Closes: DA-1054 --- scripts/transactions.json | 11 +- src/api/procedures/inviteAccount.ts | 2 +- src/api/procedures/setCustodian.ts | 2 +- src/api/procedures/transferAssetOwnership.ts | 2 +- src/generated/types.ts | 7 + src/polkadot/augment-api-errors.ts | 22 + src/polkadot/augment-api-events.ts | 49 ++ src/polkadot/augment-api-query.ts | 45 +- src/polkadot/augment-api-tx.ts | 334 ++++++++- src/polkadot/lookup.ts | 710 ++++++++++-------- src/polkadot/registry.ts | 20 +- src/polkadot/types-lookup.ts | 747 +++++++++++-------- 12 files changed, 1302 insertions(+), 649 deletions(-) diff --git a/scripts/transactions.json b/scripts/transactions.json index fe9f73c555..b3ae146cce 100644 --- a/scripts/transactions.json +++ b/scripts/transactions.json @@ -256,7 +256,9 @@ "exempt_ticker_affirmation": "exempt_ticker_affirmation", "remove_ticker_affirmation_exemption": "remove_ticker_affirmation_exemption", "pre_approve_ticker": "pre_approve_ticker", - "remove_ticker_pre_approval": "remove_ticker_pre_approval" + "remove_ticker_pre_approval": "remove_ticker_pre_approval", + "add_mandatory_mediators": "add_mandatory_mediators", + "remove_mandatory_mediators": "remove_mandatory_mediators" }, "CapitalDistribution": { "distribute": "distribute", @@ -387,7 +389,12 @@ "affirm_with_receipts_with_count": "affirm_with_receipts_with_count", "affirm_instruction_with_count": "affirm_instruction_with_count", "reject_instruction_with_count": "reject_instruction_with_count", - "withdraw_affirmation_with_count": "withdraw_affirmation_with_count" + "withdraw_affirmation_with_count": "withdraw_affirmation_with_count", + "add_instruction_with_mediators": "add_instruction_with_mediators", + "add_and_affirm_with_mediators": "add_and_affirm_with_mediators", + "affirm_instruction_as_mediator": "affirm_instruction_as_mediator", + "withdraw_affirmation_as_mediator": "withdraw_affirmation_as_mediator", + "reject_instruction_as_mediator": "reject_instruction_as_mediator" }, "Statistics": { "add_transfer_manager": "add_transfer_manager", diff --git a/src/api/procedures/inviteAccount.ts b/src/api/procedures/inviteAccount.ts index 8c8bedc5c2..cadd70a40f 100644 --- a/src/api/procedures/inviteAccount.ts +++ b/src/api/procedures/inviteAccount.ts @@ -18,7 +18,7 @@ import { signerToString, signerValueToSignatory, } from '~/utils/conversion'; -import { asAccount, assertNoPendingAuthorizationExists,optionize } from '~/utils/internal'; +import { asAccount, assertNoPendingAuthorizationExists, optionize } from '~/utils/internal'; /** * @hidden diff --git a/src/api/procedures/setCustodian.ts b/src/api/procedures/setCustodian.ts index c12d22327b..05ce1a6784 100644 --- a/src/api/procedures/setCustodian.ts +++ b/src/api/procedures/setCustodian.ts @@ -19,7 +19,7 @@ import { signerToString, signerValueToSignatory, } from '~/utils/conversion'; -import { assertNoPendingAuthorizationExists,optionize } from '~/utils/internal'; +import { assertNoPendingAuthorizationExists, optionize } from '~/utils/internal'; /** * @hidden diff --git a/src/api/procedures/transferAssetOwnership.ts b/src/api/procedures/transferAssetOwnership.ts index d572afaf0a..52e6e54ca0 100644 --- a/src/api/procedures/transferAssetOwnership.ts +++ b/src/api/procedures/transferAssetOwnership.ts @@ -14,7 +14,7 @@ import { signerToString, signerValueToSignatory, } from '~/utils/conversion'; -import { asIdentity, assertNoPendingAuthorizationExists,optionize } from '~/utils/internal'; +import { asIdentity, assertNoPendingAuthorizationExists, optionize } from '~/utils/internal'; /** * @hidden diff --git a/src/generated/types.ts b/src/generated/types.ts index 128baadbd9..93717cbc4a 100644 --- a/src/generated/types.ts +++ b/src/generated/types.ts @@ -532,6 +532,8 @@ export enum AssetTx { RemoveTickerAffirmationExemption = 'asset.removeTickerAffirmationExemption', PreApproveTicker = 'asset.preApproveTicker', RemoveTickerPreApproval = 'asset.removeTickerPreApproval', + AddMandatoryMediators = 'asset.addMandatoryMediators', + RemoveMandatoryMediators = 'asset.removeMandatoryMediators', } export enum CapitalDistributionTx { @@ -673,6 +675,11 @@ export enum SettlementTx { AffirmInstructionWithCount = 'settlement.affirmInstructionWithCount', RejectInstructionWithCount = 'settlement.rejectInstructionWithCount', WithdrawAffirmationWithCount = 'settlement.withdrawAffirmationWithCount', + AddInstructionWithMediators = 'settlement.addInstructionWithMediators', + AddAndAffirmWithMediators = 'settlement.addAndAffirmWithMediators', + AffirmInstructionAsMediator = 'settlement.affirmInstructionAsMediator', + WithdrawAffirmationAsMediator = 'settlement.withdrawAffirmationAsMediator', + RejectInstructionAsMediator = 'settlement.rejectInstructionAsMediator', } export enum StatisticsTx { diff --git a/src/polkadot/augment-api-errors.ts b/src/polkadot/augment-api-errors.ts index 20b58ebf77..d690245157 100644 --- a/src/polkadot/augment-api-errors.ts +++ b/src/polkadot/augment-api-errors.ts @@ -120,6 +120,10 @@ declare module '@polkadot/api-base/types/errors' { * The asset must be frozen. **/ NotFrozen: AugmentedError; + /** + * Number of asset mediators would exceed the maximum allowed. + **/ + NumberOfAssetMediatorsExceeded: AugmentedError; /** * Transfers to self are not allowed **/ @@ -1475,6 +1479,10 @@ declare module '@polkadot/api-base/types/errors' { NoKeys: AugmentedError; }; settlement: { + /** + * The caller is not a mediator in the instruction. + **/ + CallerIsNotAMediator: AugmentedError; /** * The caller is not a party of this instruction. **/ @@ -1511,6 +1519,10 @@ declare module '@polkadot/api-base/types/errors' { * Instruction's target settle block reached. **/ InstructionSettleBlockPassed: AugmentedError; + /** + * The mediator's expiry date must be in the future. + **/ + InvalidExpiryDate: AugmentedError; /** * Only [`InstructionStatus::Pending`] or [`InstructionStatus::Failed`] instructions can be executed. **/ @@ -1543,6 +1555,10 @@ declare module '@polkadot/api-base/types/errors' { * The maximum number of receipts was exceeded. **/ MaxNumberOfReceiptsExceeded: AugmentedError; + /** + * The expiry date for the mediator's affirmation has passed. + **/ + MediatorAffirmationExpired: AugmentedError; /** * Multiple receipts for the same leg are not allowed. **/ @@ -1893,6 +1909,12 @@ declare module '@polkadot/api-base/types/errors' { **/ Unauthorized: AugmentedError; }; + sudo: { + /** + * Sender must be the Sudo account + **/ + RequireSudo: AugmentedError; + }; system: { /** * The origin filter prevent the call to be dispatched. diff --git a/src/polkadot/augment-api-events.ts b/src/polkadot/augment-api-events.ts index 0061a79c9c..55b35f5943 100644 --- a/src/polkadot/augment-api-events.ts +++ b/src/polkadot/augment-api-events.ts @@ -7,6 +7,7 @@ import '@polkadot/api-base/types/events'; import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types'; import type { + BTreeSet, Bytes, Null, Option, @@ -135,6 +136,30 @@ declare module '@polkadot/api-base/types/events' { ApiType, [PolymeshPrimitivesIdentityId, PolymeshPrimitivesTicker] >; + /** + * An identity has added mandatory mediators to an asset. + * Parameters: [`IdentityId`] of caller, [`Ticker`] of the asset, the identity of all mediators added. + **/ + AssetMediatorsAdded: AugmentedEvent< + ApiType, + [ + PolymeshPrimitivesIdentityId, + PolymeshPrimitivesTicker, + BTreeSet + ] + >; + /** + * An identity has removed mediators from an asset. + * Parameters: [`IdentityId`] of caller, [`Ticker`] of the asset, the identity of all mediators removed. + **/ + AssetMediatorsRemoved: AugmentedEvent< + ApiType, + [ + PolymeshPrimitivesIdentityId, + PolymeshPrimitivesTicker, + BTreeSet + ] + >; /** * Emit when token ownership is transferred. * caller DID / token ownership transferred to DID, ticker, from @@ -1976,6 +2001,16 @@ declare module '@polkadot/api-base/types/events' { * Execution of a leg failed (did, instruction_id, leg_id) **/ LegFailedExecution: AugmentedEvent; + /** + * An instruction has affirmed by a mediator. + * Parameters: [`IdentityId`] of the mediator and [`InstructionId`] of the instruction. + **/ + MediatorAffirmationReceived: AugmentedEvent; + /** + * An instruction affirmation has been withdrawn by a mediator. + * Parameters: [`IdentityId`] of the mediator and [`InstructionId`] of the instruction. + **/ + MediatorAffirmationWithdrawn: AugmentedEvent; /** * A receipt has been claimed (did, instruction_id, leg_id, receipt_uid, signer, receipt metadata) **/ @@ -2284,6 +2319,20 @@ declare module '@polkadot/api-base/types/events' { ] >; }; + sudo: { + /** + * The \[sudoer\] just switched identity; the old key is supplied. + **/ + KeyChanged: AugmentedEvent]>; + /** + * A sudo just took place. \[result\] + **/ + Sudid: AugmentedEvent]>; + /** + * A sudo just took place. \[result\] + **/ + SudoAsDone: AugmentedEvent]>; + }; system: { /** * `:code` was updated. diff --git a/src/polkadot/augment-api-query.ts b/src/polkadot/augment-api-query.ts index 42e077e47f..f6300b9ec5 100644 --- a/src/polkadot/augment-api-query.ts +++ b/src/polkadot/augment-api-query.ts @@ -115,6 +115,7 @@ import type { PolymeshPrimitivesSettlementInstructionStatus, PolymeshPrimitivesSettlementLeg, PolymeshPrimitivesSettlementLegStatus, + PolymeshPrimitivesSettlementMediatorAffirmationStatus, PolymeshPrimitivesSettlementVenue, PolymeshPrimitivesStatisticsAssetScope, PolymeshPrimitivesStatisticsStat1stKey, @@ -124,7 +125,7 @@ import type { PolymeshPrimitivesTicker, PolymeshPrimitivesTransferComplianceAssetTransferCompliance, PolymeshPrimitivesTransferComplianceTransferConditionExemptKey, - PolymeshRuntimeTestnetRuntimeSessionKeys, + PolymeshRuntimeDevelopRuntimeSessionKeys, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, @@ -362,6 +363,16 @@ declare module '@polkadot/api-base/types/storage' { ) => Observable, [ITuple<[PolymeshPrimitivesTicker, Bytes]>] >; + /** + * The list of mandatory mediators for every ticker. + **/ + mandatoryMediators: AugmentedQuery< + ApiType, + ( + arg: PolymeshPrimitivesTicker | string | Uint8Array + ) => Observable>, + [PolymeshPrimitivesTicker] + >; /** * All tickers that don't need an affirmation to be received by an identity. **/ @@ -1317,6 +1328,17 @@ declare module '@polkadot/api-base/types/storage' { * change the primary key of an identity. **/ cddAuthForPrimaryKeyRotation: AugmentedQuery Observable, []>; + /** + * All child identities of a parent (i.e ParentDID, ChildDID, true) + **/ + childDid: AugmentedQuery< + ApiType, + ( + arg1: PolymeshPrimitivesIdentityId | string | Uint8Array, + arg2: PolymeshPrimitivesIdentityId | string | Uint8Array + ) => Observable, + [PolymeshPrimitivesIdentityId, PolymeshPrimitivesIdentityId] + >; /** * (Target ID, claim type) (issuer,scope) -> Associated claims **/ @@ -2272,7 +2294,7 @@ declare module '@polkadot/api-base/types/storage' { ApiType, ( arg: AccountId32 | string | Uint8Array - ) => Observable>, + ) => Observable>, [AccountId32] >; /** @@ -2286,7 +2308,7 @@ declare module '@polkadot/api-base/types/storage' { **/ queuedKeys: AugmentedQuery< ApiType, - () => Observable>>, + () => Observable>>, [] >; /** @@ -2361,6 +2383,17 @@ declare module '@polkadot/api-base/types/storage' { ) => Observable, [u64, u64] >; + /** + * The status for the mediators affirmation. + **/ + instructionMediatorsAffirmations: AugmentedQuery< + ApiType, + ( + arg1: u64 | AnyNumber | Uint8Array, + arg2: PolymeshPrimitivesIdentityId | string | Uint8Array + ) => Observable, + [u64, PolymeshPrimitivesIdentityId] + >; /** * Instruction memo **/ @@ -2937,6 +2970,12 @@ declare module '@polkadot/api-base/types/storage' { [PolymeshPrimitivesTicker, u64] >; }; + sudo: { + /** + * The `AccountId` of the sudo key. + **/ + key: AugmentedQuery Observable>, []>; + }; system: { /** * The full account information for a particular account ID. diff --git a/src/polkadot/augment-api-tx.ts b/src/polkadot/augment-api-tx.ts index 2b39be5380..d4dad4258e 100644 --- a/src/polkadot/augment-api-tx.ts +++ b/src/polkadot/augment-api-tx.ts @@ -105,8 +105,8 @@ import type { PolymeshPrimitivesTicker, PolymeshPrimitivesTransferComplianceTransferCondition, PolymeshPrimitivesTransferComplianceTransferConditionExemptKey, - PolymeshRuntimeTestnetRuntimeOriginCaller, - PolymeshRuntimeTestnetRuntimeSessionKeys, + PolymeshRuntimeDevelopRuntimeOriginCaller, + PolymeshRuntimeDevelopRuntimeSessionKeys, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, @@ -179,6 +179,24 @@ declare module '@polkadot/api-base/types/submittable' { ) => SubmittableExtrinsic, [Vec, PolymeshPrimitivesTicker] >; + /** + * Sets all identities in the `mediators` set as mandatory mediators for any instruction transfering `ticker`. + * + * # Arguments + * * `origin`: The secondary key of the sender. + * * `ticker`: The [`Ticker`] of the asset that will require the mediators. + * * `mediators`: A set of [`IdentityId`] of all the mandatory mediators for the given ticker. + * + * # Permissions + * * Asset + **/ + addMandatoryMediators: AugmentedSubmittable< + ( + ticker: PolymeshPrimitivesTicker | string | Uint8Array, + mediators: BTreeSet + ) => SubmittableExtrinsic, + [PolymeshPrimitivesTicker, BTreeSet] + >; /** * Forces a transfer of token from `from_portfolio` to the caller's default portfolio. * @@ -620,6 +638,24 @@ declare module '@polkadot/api-base/types/submittable' { ) => SubmittableExtrinsic, [PolymeshPrimitivesTicker, u64] >; + /** + * Removes all identities in the `mediators` set from the mandatory mediators list for the given `ticker`. + * + * # Arguments + * * `origin`: The secondary key of the sender. + * * `ticker`: The [`Ticker`] of the asset that will have mediators removed. + * * `mediators`: A set of [`IdentityId`] of all the mediators that will be removed from the mandatory mediators list. + * + * # Permissions + * * Asset + **/ + removeMandatoryMediators: AugmentedSubmittable< + ( + ticker: PolymeshPrimitivesTicker | string | Uint8Array, + mediators: BTreeSet + ) => SubmittableExtrinsic, + [PolymeshPrimitivesTicker, BTreeSet] + >; /** * Removes the asset metadata value of a metadata key. * @@ -5151,13 +5187,13 @@ declare module '@polkadot/api-base/types/submittable' { setKeys: AugmentedSubmittable< ( keys: - | PolymeshRuntimeTestnetRuntimeSessionKeys + | PolymeshRuntimeDevelopRuntimeSessionKeys | { grandpa?: any; babe?: any; imOnline?: any; authorityDiscovery?: any } | string | Uint8Array, proof: Bytes | string | Uint8Array ) => SubmittableExtrinsic, - [PolymeshRuntimeTestnetRuntimeSessionKeys, Bytes] + [PolymeshRuntimeDevelopRuntimeSessionKeys, Bytes] >; }; settlement: { @@ -5165,14 +5201,13 @@ declare module '@polkadot/api-base/types/submittable' { * Adds and affirms a new instruction. * * # Arguments - * * `venue_id` - ID of the venue this instruction belongs to. - * * `settlement_type` - Defines if the instruction should be settled in the next block, after receiving all affirmations - * or waiting till a specific block. - * * `trade_date` - Optional date from which people can interact with this instruction. - * * `value_date` - Optional date after which the instruction should be settled (not enforced) - * * `legs` - Legs included in this instruction. - * * `portfolios` - Portfolios that the sender controls and wants to use in this affirmations. - * * `instruction_memo` - Memo field for this instruction. + * * `venue_id`: The [`VenueId`] of the venue this instruction belongs to. + * * `settlement_type`: The [`SettlementType`] specifying when the instruction should be settled. + * * `trade_date`: Optional date from which people can interact with this instruction. + * * `value_date`: Optional date after which the instruction should be settled (not enforced). + * * `legs`: A vector of all [`Leg`] included in this instruction. + * * `portfolios`: A vector of [`PortfolioId`] under the caller's control and intended for affirmation. + * * `memo`: An optional [`Memo`] field for this instruction. * * # Permissions * * Portfolio @@ -5225,19 +5260,80 @@ declare module '@polkadot/api-base/types/submittable' { ] >; /** - * Adds a new instruction. + * Adds and affirms a new instruction with mediators. * * # Arguments - * * `venue_id` - ID of the venue this instruction belongs to. - * * `settlement_type` - Defines if the instruction should be settled in the next block, after receiving all affirmations - * or waiting till a specific block. - * * `trade_date` - Optional date from which people can interact with this instruction. - * * `value_date` - Optional date after which the instruction should be settled (not enforced) - * * `legs` - Legs included in this instruction. - * * `memo` - Memo field for this instruction. + * * `venue_id`: The [`VenueId`] of the venue this instruction belongs to. + * * `settlement_type`: The [`SettlementType`] specifying when the instruction should be settled. + * * `trade_date`: Optional date from which people can interact with this instruction. + * * `value_date`: Optional date after which the instruction should be settled (not enforced). + * * `legs`: A vector of all [`Leg`] included in this instruction. + * * `portfolios`: A vector of [`PortfolioId`] under the caller's control and intended for affirmation. + * * `instruction_memo`: An optional [`Memo`] field for this instruction. + * * `mediators`: A set of [`IdentityId`] of all the mandatory mediators for the instruction. * - * # Weight - * `950_000_000 + 1_000_000 * legs.len()` + * # Permissions + * * Portfolio + **/ + addAndAffirmWithMediators: AugmentedSubmittable< + ( + venueId: u64 | AnyNumber | Uint8Array, + settlementType: + | PolymeshPrimitivesSettlementSettlementType + | { SettleOnAffirmation: any } + | { SettleOnBlock: any } + | { SettleManual: any } + | string + | Uint8Array, + tradeDate: Option | null | Uint8Array | u64 | AnyNumber, + valueDate: Option | null | Uint8Array | u64 | AnyNumber, + legs: + | Vec + | ( + | PolymeshPrimitivesSettlementLeg + | { Fungible: any } + | { NonFungible: any } + | { OffChain: any } + | string + | Uint8Array + )[], + portfolios: + | Vec + | ( + | PolymeshPrimitivesIdentityIdPortfolioId + | { did?: any; kind?: any } + | string + | Uint8Array + )[], + instructionMemo: + | Option + | null + | Uint8Array + | PolymeshPrimitivesMemo + | string, + mediators: BTreeSet + ) => SubmittableExtrinsic, + [ + u64, + PolymeshPrimitivesSettlementSettlementType, + Option, + Option, + Vec, + Vec, + Option, + BTreeSet + ] + >; + /** + * Adds a new instruction. + * + * # Arguments + * * `venue_id`: The [`VenueId`] of the venue this instruction belongs to. + * * `settlement_type`: The [`SettlementType`] specifying when the instruction should be settled. + * * `trade_date`: Optional date from which people can interact with this instruction. + * * `value_date`: Optional date after which the instruction should be settled (not enforced). + * * `legs`: A vector of all [`Leg`] included in this instruction. + * * `memo`: An optional [`Memo`] field for this instruction. **/ addInstruction: AugmentedSubmittable< ( @@ -5277,6 +5373,58 @@ declare module '@polkadot/api-base/types/submittable' { Option ] >; + /** + * Adds a new instruction with mediators. + * + * # Arguments + * * `venue_id`: The [`VenueId`] of the venue this instruction belongs to. + * * `settlement_type`: The [`SettlementType`] specifying when the instruction should be settled. + * * `trade_date`: Optional date from which people can interact with this instruction. + * * `value_date`: Optional date after which the instruction should be settled (not enforced). + * * `legs`: A vector of all [`Leg`] included in this instruction. + * * `instruction_memo`: An optional [`Memo`] field for this instruction. + * * `mediators`: A set of [`IdentityId`] of all the mandatory mediators for the instruction. + **/ + addInstructionWithMediators: AugmentedSubmittable< + ( + venueId: u64 | AnyNumber | Uint8Array, + settlementType: + | PolymeshPrimitivesSettlementSettlementType + | { SettleOnAffirmation: any } + | { SettleOnBlock: any } + | { SettleManual: any } + | string + | Uint8Array, + tradeDate: Option | null | Uint8Array | u64 | AnyNumber, + valueDate: Option | null | Uint8Array | u64 | AnyNumber, + legs: + | Vec + | ( + | PolymeshPrimitivesSettlementLeg + | { Fungible: any } + | { NonFungible: any } + | { OffChain: any } + | string + | Uint8Array + )[], + instructionMemo: + | Option + | null + | Uint8Array + | PolymeshPrimitivesMemo + | string, + mediators: BTreeSet + ) => SubmittableExtrinsic, + [ + u64, + PolymeshPrimitivesSettlementSettlementType, + Option, + Option, + Vec, + Option, + BTreeSet + ] + >; /** * Provide affirmation to an existing instruction. * @@ -5301,6 +5449,21 @@ declare module '@polkadot/api-base/types/submittable' { ) => SubmittableExtrinsic, [u64, Vec] >; + /** + * Affirms the instruction as a mediator - should only be called by mediators, otherwise it will fail. + * + * # Arguments + * * `origin`: The secondary key of the sender. + * * `instruction_id`: The [`InstructionId`] that will be affirmed by the mediator. + * * `expiry`: An Optional value for defining when the affirmation will expire (None means it will always be valid). + **/ + affirmInstructionAsMediator: AugmentedSubmittable< + ( + instructionId: u64 | AnyNumber | Uint8Array, + expiry: Option | null | Uint8Array | u64 | AnyNumber + ) => SubmittableExtrinsic, + [u64, Option] + >; /** * Provide affirmation to an existing instruction. * @@ -5578,6 +5741,28 @@ declare module '@polkadot/api-base/types/submittable' { ) => SubmittableExtrinsic, [u64, PolymeshPrimitivesIdentityIdPortfolioId] >; + /** + * Rejects an existing instruction - should only be called by mediators, otherwise it will fail. + * + * # Arguments + * * `instruction_id` - the [`InstructionId`] of the instruction being rejected. + * * `number_of_assets` - an optional [`AssetCount`] that will be used for a precise fee estimation before executing the extrinsic. + * + * Note: calling the rpc method `get_execute_instruction_info` returns an instance of [`ExecuteInstructionInfo`], which contain the asset count. + **/ + rejectInstructionAsMediator: AugmentedSubmittable< + ( + instructionId: u64 | AnyNumber | Uint8Array, + numberOfAssets: + | Option + | null + | Uint8Array + | PolymeshPrimitivesSettlementAssetCount + | { fungible?: any; nonFungible?: any; offChain?: any } + | string + ) => SubmittableExtrinsic, + [u64, Option] + >; /** * Rejects an existing instruction. * @@ -5701,6 +5886,17 @@ declare module '@polkadot/api-base/types/submittable' { ) => SubmittableExtrinsic, [u64, Vec] >; + /** + * Removes the mediator's affirmation for the instruction - should only be called by mediators, otherwise it will fail. + * + * # Arguments + * * `origin`: The secondary key of the sender. + * * `instruction_id`: The [`InstructionId`] that will have the affirmation removed. + **/ + withdrawAffirmationAsMediator: AugmentedSubmittable< + (instructionId: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic, + [u64] + >; /** * Withdraw an affirmation for a given instruction. * @@ -6870,6 +7066,96 @@ declare module '@polkadot/api-base/types/submittable' { [PolymeshPrimitivesTicker, u64] >; }; + sudo: { + /** + * 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_. + * + * # + * - O(1). + * - Limited storage reads. + * - One DB change. + * # + **/ + setKey: AugmentedSubmittable< + ( + updated: + | MultiAddress + | { Id: any } + | { Index: any } + | { Raw: any } + | { Address32: any } + | { Address20: any } + | string + | Uint8Array + ) => SubmittableExtrinsic, + [MultiAddress] + >; + /** + * Authenticates the sudo key and dispatches a function call with `Root` origin. + * + * The dispatch origin for this call must be _Signed_. + * + * # + * - O(1). + * - Limited storage reads. + * - One DB write (event). + * - Weight of derivative `call` execution + 10,000. + * # + **/ + sudo: AugmentedSubmittable< + (call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic, + [Call] + >; + /** + * 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_. + * + * # + * - O(1). + * - Limited storage reads. + * - One DB write (event). + * - Weight of derivative `call` execution + 10,000. + * # + **/ + sudoAs: AugmentedSubmittable< + ( + who: + | MultiAddress + | { Id: any } + | { Index: any } + | { Raw: any } + | { Address32: any } + | { Address20: any } + | string + | Uint8Array, + call: Call | IMethod | string | Uint8Array + ) => SubmittableExtrinsic, + [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_. + * + * # + * - O(1). + * - The weight of this call is defined by the caller. + * # + **/ + sudoUncheckedWeight: AugmentedSubmittable< + ( + call: Call | IMethod | string | Uint8Array, + weight: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array + ) => SubmittableExtrinsic, + [Call, SpWeightsWeightV2Weight] + >; + }; system: { /** * Kill all storage items with a key that starts with the given prefix. @@ -7619,7 +7905,7 @@ declare module '@polkadot/api-base/types/submittable' { dispatchAs: AugmentedSubmittable< ( asOrigin: - | PolymeshRuntimeTestnetRuntimeOriginCaller + | PolymeshRuntimeDevelopRuntimeOriginCaller | { system: any } | { Void: any } | { PolymeshCommittee: any } @@ -7629,7 +7915,7 @@ declare module '@polkadot/api-base/types/submittable' { | Uint8Array, call: Call | IMethod | string | Uint8Array ) => SubmittableExtrinsic, - [PolymeshRuntimeTestnetRuntimeOriginCaller, Call] + [PolymeshRuntimeDevelopRuntimeOriginCaller, Call] >; /** * Send a batch of dispatch calls. diff --git a/src/polkadot/lookup.ts b/src/polkadot/lookup.ts index d97bc183ab..8469b42be0 100644 --- a/src/polkadot/lookup.ts +++ b/src/polkadot/lookup.ts @@ -61,7 +61,7 @@ export default { }, }, /** - * Lookup18: frame_system::EventRecord + * Lookup18: frame_system::EventRecord **/ FrameSystemEventRecord: { phase: 'FrameSystemPhase', @@ -671,7 +671,7 @@ export default { }, }, /** - * Lookup75: polymesh_common_utilities::traits::group::RawEvent + * Lookup75: polymesh_common_utilities::traits::group::RawEvent **/ PolymeshCommonUtilitiesGroupRawEventInstance2: { _enum: { @@ -722,7 +722,7 @@ export default { }, }, /** - * Lookup83: polymesh_common_utilities::traits::group::RawEvent + * Lookup83: polymesh_common_utilities::traits::group::RawEvent **/ PolymeshCommonUtilitiesGroupRawEventInstance1: { _enum: { @@ -764,7 +764,7 @@ export default { **/ PalletCommitteeInstance3: 'Null', /** - * Lookup87: polymesh_common_utilities::traits::group::RawEvent + * Lookup87: polymesh_common_utilities::traits::group::RawEvent **/ PolymeshCommonUtilitiesGroupRawEventInstance3: { _enum: { @@ -806,7 +806,7 @@ export default { **/ PalletCommitteeInstance4: 'Null', /** - * Lookup91: polymesh_common_utilities::traits::group::RawEvent + * Lookup91: polymesh_common_utilities::traits::group::RawEvent **/ PolymeshCommonUtilitiesGroupRawEventInstance4: { _enum: { @@ -1015,7 +1015,17 @@ export default { value: 'Compact', }, /** - * Lookup122: polymesh_common_utilities::traits::asset::RawEvent + * Lookup122: pallet_sudo::RawEvent + **/ + PalletSudoRawEvent: { + _enum: { + Sudid: 'Result', + KeyChanged: 'Option', + SudoAsDone: 'Result', + }, + }, + /** + * Lookup123: polymesh_common_utilities::traits::asset::RawEvent **/ PolymeshCommonUtilitiesAssetRawEvent: { _enum: { @@ -1063,10 +1073,14 @@ export default { RemoveAssetAffirmationExemption: 'PolymeshPrimitivesTicker', PreApprovedAsset: '(PolymeshPrimitivesIdentityId,PolymeshPrimitivesTicker)', RemovePreApprovedAsset: '(PolymeshPrimitivesIdentityId,PolymeshPrimitivesTicker)', + AssetMediatorsAdded: + '(PolymeshPrimitivesIdentityId,PolymeshPrimitivesTicker,BTreeSet)', + AssetMediatorsRemoved: + '(PolymeshPrimitivesIdentityId,PolymeshPrimitivesTicker,BTreeSet)', }, }, /** - * Lookup123: polymesh_primitives::asset::AssetType + * Lookup124: polymesh_primitives::asset::AssetType **/ PolymeshPrimitivesAssetAssetType: { _enum: { @@ -1085,7 +1099,7 @@ export default { }, }, /** - * Lookup125: polymesh_primitives::asset::NonFungibleType + * Lookup126: polymesh_primitives::asset::NonFungibleType **/ PolymeshPrimitivesAssetNonFungibleType: { _enum: { @@ -1096,7 +1110,7 @@ export default { }, }, /** - * Lookup128: polymesh_primitives::asset_identifier::AssetIdentifier + * Lookup129: polymesh_primitives::asset_identifier::AssetIdentifier **/ PolymeshPrimitivesAssetIdentifier: { _enum: { @@ -1108,7 +1122,7 @@ export default { }, }, /** - * Lookup134: polymesh_primitives::document::Document + * Lookup135: polymesh_primitives::document::Document **/ PolymeshPrimitivesDocument: { uri: 'Bytes', @@ -1118,7 +1132,7 @@ export default { filingDate: 'Option', }, /** - * Lookup136: polymesh_primitives::document_hash::DocumentHash + * Lookup137: polymesh_primitives::document_hash::DocumentHash **/ PolymeshPrimitivesDocumentHash: { _enum: { @@ -1134,14 +1148,14 @@ export default { }, }, /** - * Lookup147: polymesh_primitives::asset_metadata::AssetMetadataValueDetail + * Lookup148: polymesh_primitives::asset_metadata::AssetMetadataValueDetail **/ PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail: { expire: 'Option', lockStatus: 'PolymeshPrimitivesAssetMetadataAssetMetadataLockStatus', }, /** - * Lookup148: polymesh_primitives::asset_metadata::AssetMetadataLockStatus + * Lookup149: polymesh_primitives::asset_metadata::AssetMetadataLockStatus **/ PolymeshPrimitivesAssetMetadataAssetMetadataLockStatus: { _enum: { @@ -1151,7 +1165,7 @@ export default { }, }, /** - * Lookup151: polymesh_primitives::asset_metadata::AssetMetadataSpec + * Lookup152: polymesh_primitives::asset_metadata::AssetMetadataSpec **/ PolymeshPrimitivesAssetMetadataAssetMetadataSpec: { url: 'Option', @@ -1159,7 +1173,7 @@ export default { typeDef: 'Option', }, /** - * Lookup158: polymesh_primitives::asset_metadata::AssetMetadataKey + * Lookup159: polymesh_primitives::asset_metadata::AssetMetadataKey **/ PolymeshPrimitivesAssetMetadataAssetMetadataKey: { _enum: { @@ -1168,7 +1182,7 @@ export default { }, }, /** - * Lookup160: polymesh_primitives::portfolio::PortfolioUpdateReason + * Lookup161: polymesh_primitives::portfolio::PortfolioUpdateReason **/ PolymeshPrimitivesPortfolioPortfolioUpdateReason: { _enum: { @@ -1184,7 +1198,7 @@ export default { }, }, /** - * Lookup163: pallet_corporate_actions::distribution::Event + * Lookup165: pallet_corporate_actions::distribution::Event **/ PalletCorporateActionsDistributionEvent: { _enum: { @@ -1197,18 +1211,18 @@ export default { }, }, /** - * Lookup164: polymesh_primitives::event_only::EventOnly + * Lookup166: polymesh_primitives::event_only::EventOnly **/ PolymeshPrimitivesEventOnly: 'PolymeshPrimitivesIdentityId', /** - * Lookup165: pallet_corporate_actions::CAId + * Lookup167: pallet_corporate_actions::CAId **/ PalletCorporateActionsCaId: { ticker: 'PolymeshPrimitivesTicker', localId: 'u32', }, /** - * Lookup167: pallet_corporate_actions::distribution::Distribution + * Lookup169: pallet_corporate_actions::distribution::Distribution **/ PalletCorporateActionsDistribution: { from: 'PolymeshPrimitivesIdentityIdPortfolioId', @@ -1221,7 +1235,7 @@ export default { expiresAt: 'Option', }, /** - * Lookup169: polymesh_common_utilities::traits::checkpoint::Event + * Lookup171: polymesh_common_utilities::traits::checkpoint::Event **/ PolymeshCommonUtilitiesCheckpointEvent: { _enum: { @@ -1235,13 +1249,13 @@ export default { }, }, /** - * Lookup172: polymesh_common_utilities::traits::checkpoint::ScheduleCheckpoints + * Lookup174: polymesh_common_utilities::traits::checkpoint::ScheduleCheckpoints **/ PolymeshCommonUtilitiesCheckpointScheduleCheckpoints: { pending: 'BTreeSet', }, /** - * Lookup175: polymesh_common_utilities::traits::compliance_manager::Event + * Lookup177: polymesh_common_utilities::traits::compliance_manager::Event **/ PolymeshCommonUtilitiesComplianceManagerEvent: { _enum: { @@ -1262,7 +1276,7 @@ export default { }, }, /** - * Lookup176: polymesh_primitives::compliance_manager::ComplianceRequirement + * Lookup178: polymesh_primitives::compliance_manager::ComplianceRequirement **/ PolymeshPrimitivesComplianceManagerComplianceRequirement: { senderConditions: 'Vec', @@ -1270,14 +1284,14 @@ export default { id: 'u32', }, /** - * Lookup178: polymesh_primitives::condition::Condition + * Lookup180: polymesh_primitives::condition::Condition **/ PolymeshPrimitivesCondition: { conditionType: 'PolymeshPrimitivesConditionConditionType', issuers: 'Vec', }, /** - * Lookup179: polymesh_primitives::condition::ConditionType + * Lookup181: polymesh_primitives::condition::ConditionType **/ PolymeshPrimitivesConditionConditionType: { _enum: { @@ -1289,7 +1303,7 @@ export default { }, }, /** - * Lookup181: polymesh_primitives::condition::TargetIdentity + * Lookup183: polymesh_primitives::condition::TargetIdentity **/ PolymeshPrimitivesConditionTargetIdentity: { _enum: { @@ -1298,14 +1312,14 @@ export default { }, }, /** - * Lookup183: polymesh_primitives::condition::TrustedIssuer + * Lookup185: polymesh_primitives::condition::TrustedIssuer **/ PolymeshPrimitivesConditionTrustedIssuer: { issuer: 'PolymeshPrimitivesIdentityId', trustedFor: 'PolymeshPrimitivesConditionTrustedFor', }, /** - * Lookup184: polymesh_primitives::condition::TrustedFor + * Lookup186: polymesh_primitives::condition::TrustedFor **/ PolymeshPrimitivesConditionTrustedFor: { _enum: { @@ -1314,7 +1328,7 @@ export default { }, }, /** - * Lookup186: polymesh_primitives::identity_claim::ClaimType + * Lookup188: polymesh_primitives::identity_claim::ClaimType **/ PolymeshPrimitivesIdentityClaimClaimType: { _enum: { @@ -1331,7 +1345,7 @@ export default { }, }, /** - * Lookup188: pallet_corporate_actions::Event + * Lookup190: pallet_corporate_actions::Event **/ PalletCorporateActionsEvent: { _enum: { @@ -1351,20 +1365,20 @@ export default { }, }, /** - * Lookup189: pallet_corporate_actions::TargetIdentities + * Lookup191: pallet_corporate_actions::TargetIdentities **/ PalletCorporateActionsTargetIdentities: { identities: 'Vec', treatment: 'PalletCorporateActionsTargetTreatment', }, /** - * Lookup190: pallet_corporate_actions::TargetTreatment + * Lookup192: pallet_corporate_actions::TargetTreatment **/ PalletCorporateActionsTargetTreatment: { _enum: ['Include', 'Exclude'], }, /** - * Lookup192: pallet_corporate_actions::CorporateAction + * Lookup194: pallet_corporate_actions::CorporateAction **/ PalletCorporateActionsCorporateAction: { kind: 'PalletCorporateActionsCaKind', @@ -1375,7 +1389,7 @@ export default { withholdingTax: 'Vec<(PolymeshPrimitivesIdentityId,Permill)>', }, /** - * Lookup193: pallet_corporate_actions::CAKind + * Lookup195: pallet_corporate_actions::CAKind **/ PalletCorporateActionsCaKind: { _enum: [ @@ -1387,14 +1401,14 @@ export default { ], }, /** - * Lookup195: pallet_corporate_actions::RecordDate + * Lookup197: pallet_corporate_actions::RecordDate **/ PalletCorporateActionsRecordDate: { date: 'u64', checkpoint: 'PalletCorporateActionsCaCheckpoint', }, /** - * Lookup196: pallet_corporate_actions::CACheckpoint + * Lookup198: pallet_corporate_actions::CACheckpoint **/ PalletCorporateActionsCaCheckpoint: { _enum: { @@ -1403,7 +1417,7 @@ export default { }, }, /** - * Lookup201: pallet_corporate_actions::ballot::Event + * Lookup203: pallet_corporate_actions::ballot::Event **/ PalletCorporateActionsBallotEvent: { _enum: { @@ -1420,21 +1434,21 @@ export default { }, }, /** - * Lookup202: pallet_corporate_actions::ballot::BallotTimeRange + * Lookup204: pallet_corporate_actions::ballot::BallotTimeRange **/ PalletCorporateActionsBallotBallotTimeRange: { start: 'u64', end: 'u64', }, /** - * Lookup203: pallet_corporate_actions::ballot::BallotMeta + * Lookup205: pallet_corporate_actions::ballot::BallotMeta **/ PalletCorporateActionsBallotBallotMeta: { title: 'Bytes', motions: 'Vec', }, /** - * Lookup206: pallet_corporate_actions::ballot::Motion + * Lookup208: pallet_corporate_actions::ballot::Motion **/ PalletCorporateActionsBallotMotion: { title: 'Bytes', @@ -1442,14 +1456,14 @@ export default { choices: 'Vec', }, /** - * Lookup212: pallet_corporate_actions::ballot::BallotVote + * Lookup214: pallet_corporate_actions::ballot::BallotVote **/ PalletCorporateActionsBallotBallotVote: { power: 'u128', fallback: 'Option', }, /** - * Lookup215: pallet_pips::RawEvent + * Lookup217: pallet_pips::RawEvent **/ PalletPipsRawEvent: { _enum: { @@ -1479,7 +1493,7 @@ export default { }, }, /** - * Lookup216: pallet_pips::Proposer + * Lookup218: pallet_pips::Proposer **/ PalletPipsProposer: { _enum: { @@ -1488,13 +1502,13 @@ export default { }, }, /** - * Lookup217: pallet_pips::Committee + * Lookup219: pallet_pips::Committee **/ PalletPipsCommittee: { _enum: ['Technical', 'Upgrade'], }, /** - * Lookup221: pallet_pips::ProposalData + * Lookup223: pallet_pips::ProposalData **/ PalletPipsProposalData: { _enum: { @@ -1503,20 +1517,20 @@ export default { }, }, /** - * Lookup222: pallet_pips::ProposalState + * Lookup224: pallet_pips::ProposalState **/ PalletPipsProposalState: { _enum: ['Pending', 'Rejected', 'Scheduled', 'Failed', 'Executed', 'Expired'], }, /** - * Lookup225: pallet_pips::SnapshottedPip + * Lookup227: pallet_pips::SnapshottedPip **/ PalletPipsSnapshottedPip: { id: 'u32', weight: '(bool,u128)', }, /** - * Lookup231: polymesh_common_utilities::traits::portfolio::Event + * Lookup233: polymesh_common_utilities::traits::portfolio::Event **/ PolymeshCommonUtilitiesPortfolioEvent: { _enum: { @@ -1535,7 +1549,7 @@ export default { }, }, /** - * Lookup235: polymesh_primitives::portfolio::FundDescription + * Lookup237: polymesh_primitives::portfolio::FundDescription **/ PolymeshPrimitivesPortfolioFundDescription: { _enum: { @@ -1547,14 +1561,14 @@ export default { }, }, /** - * Lookup236: polymesh_primitives::nft::NFTs + * Lookup238: polymesh_primitives::nft::NFTs **/ PolymeshPrimitivesNftNfTs: { ticker: 'PolymeshPrimitivesTicker', ids: 'Vec', }, /** - * Lookup239: pallet_protocol_fee::RawEvent + * Lookup241: pallet_protocol_fee::RawEvent **/ PalletProtocolFeeRawEvent: { _enum: { @@ -1564,11 +1578,11 @@ export default { }, }, /** - * Lookup240: polymesh_primitives::PosRatio + * Lookup242: polymesh_primitives::PosRatio **/ PolymeshPrimitivesPosRatio: '(u32,u32)', /** - * Lookup241: pallet_scheduler::pallet::Event + * Lookup243: pallet_scheduler::pallet::Event **/ PalletSchedulerEvent: { _enum: { @@ -1600,7 +1614,7 @@ export default { }, }, /** - * Lookup244: polymesh_common_utilities::traits::settlement::RawEvent + * Lookup246: polymesh_common_utilities::traits::settlement::RawEvent **/ PolymeshCommonUtilitiesSettlementRawEvent: { _enum: { @@ -1631,20 +1645,22 @@ export default { FailedToExecuteInstruction: '(u64,SpRuntimeDispatchError)', InstructionAutomaticallyAffirmed: '(PolymeshPrimitivesIdentityId,PolymeshPrimitivesIdentityIdPortfolioId,u64)', + MediatorAffirmationReceived: '(PolymeshPrimitivesIdentityId,u64)', + MediatorAffirmationWithdrawn: '(PolymeshPrimitivesIdentityId,u64)', }, }, /** - * Lookup247: polymesh_primitives::settlement::VenueType + * Lookup249: polymesh_primitives::settlement::VenueType **/ PolymeshPrimitivesSettlementVenueType: { _enum: ['Other', 'Distribution', 'Sto', 'Exchange'], }, /** - * Lookup250: polymesh_primitives::settlement::ReceiptMetadata + * Lookup252: polymesh_primitives::settlement::ReceiptMetadata **/ PolymeshPrimitivesSettlementReceiptMetadata: '[u8;32]', /** - * Lookup252: polymesh_primitives::settlement::SettlementType + * Lookup254: polymesh_primitives::settlement::SettlementType **/ PolymeshPrimitivesSettlementSettlementType: { _enum: { @@ -1654,7 +1670,7 @@ export default { }, }, /** - * Lookup254: polymesh_primitives::settlement::Leg + * Lookup256: polymesh_primitives::settlement::Leg **/ PolymeshPrimitivesSettlementLeg: { _enum: { @@ -1678,7 +1694,7 @@ export default { }, }, /** - * Lookup255: polymesh_common_utilities::traits::statistics::Event + * Lookup257: polymesh_common_utilities::traits::statistics::Event **/ PolymeshCommonUtilitiesStatisticsEvent: { _enum: { @@ -1697,7 +1713,7 @@ export default { }, }, /** - * Lookup256: polymesh_primitives::statistics::AssetScope + * Lookup258: polymesh_primitives::statistics::AssetScope **/ PolymeshPrimitivesStatisticsAssetScope: { _enum: { @@ -1705,27 +1721,27 @@ export default { }, }, /** - * Lookup258: polymesh_primitives::statistics::StatType + * Lookup260: polymesh_primitives::statistics::StatType **/ PolymeshPrimitivesStatisticsStatType: { op: 'PolymeshPrimitivesStatisticsStatOpType', claimIssuer: 'Option<(PolymeshPrimitivesIdentityClaimClaimType,PolymeshPrimitivesIdentityId)>', }, /** - * Lookup259: polymesh_primitives::statistics::StatOpType + * Lookup261: polymesh_primitives::statistics::StatOpType **/ PolymeshPrimitivesStatisticsStatOpType: { _enum: ['Count', 'Balance'], }, /** - * Lookup263: polymesh_primitives::statistics::StatUpdate + * Lookup265: polymesh_primitives::statistics::StatUpdate **/ PolymeshPrimitivesStatisticsStatUpdate: { key2: 'PolymeshPrimitivesStatisticsStat2ndKey', value: 'Option', }, /** - * Lookup264: polymesh_primitives::statistics::Stat2ndKey + * Lookup266: polymesh_primitives::statistics::Stat2ndKey **/ PolymeshPrimitivesStatisticsStat2ndKey: { _enum: { @@ -1734,7 +1750,7 @@ export default { }, }, /** - * Lookup265: polymesh_primitives::statistics::StatClaim + * Lookup267: polymesh_primitives::statistics::StatClaim **/ PolymeshPrimitivesStatisticsStatClaim: { _enum: { @@ -1744,7 +1760,7 @@ export default { }, }, /** - * Lookup269: polymesh_primitives::transfer_compliance::TransferCondition + * Lookup271: polymesh_primitives::transfer_compliance::TransferCondition **/ PolymeshPrimitivesTransferComplianceTransferCondition: { _enum: { @@ -1757,7 +1773,7 @@ export default { }, }, /** - * Lookup270: polymesh_primitives::transfer_compliance::TransferConditionExemptKey + * Lookup272: polymesh_primitives::transfer_compliance::TransferConditionExemptKey **/ PolymeshPrimitivesTransferComplianceTransferConditionExemptKey: { asset: 'PolymeshPrimitivesStatisticsAssetScope', @@ -1765,7 +1781,7 @@ export default { claimType: 'Option', }, /** - * Lookup272: pallet_sto::RawEvent + * Lookup274: pallet_sto::RawEvent **/ PalletStoRawEvent: { _enum: { @@ -1779,7 +1795,7 @@ export default { }, }, /** - * Lookup275: pallet_sto::Fundraiser + * Lookup277: pallet_sto::Fundraiser **/ PalletStoFundraiser: { creator: 'PolymeshPrimitivesIdentityId', @@ -1795,7 +1811,7 @@ export default { minimumInvestment: 'u128', }, /** - * Lookup277: pallet_sto::FundraiserTier + * Lookup279: pallet_sto::FundraiserTier **/ PalletStoFundraiserTier: { total: 'u128', @@ -1803,13 +1819,13 @@ export default { remaining: 'u128', }, /** - * Lookup278: pallet_sto::FundraiserStatus + * Lookup280: pallet_sto::FundraiserStatus **/ PalletStoFundraiserStatus: { _enum: ['Live', 'Frozen', 'Closed', 'ClosedEarly'], }, /** - * Lookup279: pallet_treasury::RawEvent + * Lookup281: pallet_treasury::RawEvent **/ PalletTreasuryRawEvent: { _enum: { @@ -1821,7 +1837,7 @@ export default { }, }, /** - * Lookup280: pallet_utility::pallet::Event + * Lookup282: pallet_utility::pallet::Event **/ PalletUtilityEvent: { _enum: { @@ -1849,7 +1865,7 @@ export default { }, }, /** - * Lookup284: polymesh_common_utilities::traits::base::Event + * Lookup286: polymesh_common_utilities::traits::base::Event **/ PolymeshCommonUtilitiesBaseEvent: { _enum: { @@ -1857,7 +1873,7 @@ export default { }, }, /** - * Lookup286: polymesh_common_utilities::traits::external_agents::Event + * Lookup288: polymesh_common_utilities::traits::external_agents::Event **/ PolymeshCommonUtilitiesExternalAgentsEvent: { _enum: { @@ -1874,7 +1890,7 @@ export default { }, }, /** - * Lookup287: polymesh_common_utilities::traits::relayer::RawEvent + * Lookup289: polymesh_common_utilities::traits::relayer::RawEvent **/ PolymeshCommonUtilitiesRelayerRawEvent: { _enum: { @@ -1885,7 +1901,7 @@ export default { }, }, /** - * Lookup288: pallet_contracts::pallet::Event + * Lookup290: pallet_contracts::pallet::Event **/ PalletContractsEvent: { _enum: { @@ -1923,7 +1939,7 @@ export default { }, }, /** - * Lookup289: polymesh_contracts::RawEvent + * Lookup291: polymesh_contracts::RawEvent **/ PolymeshContractsRawEvent: { _enum: { @@ -1932,25 +1948,25 @@ export default { }, }, /** - * Lookup290: polymesh_contracts::Api + * Lookup292: polymesh_contracts::Api **/ PolymeshContractsApi: { desc: '[u8;4]', major: 'u32', }, /** - * Lookup291: polymesh_contracts::ChainVersion + * Lookup293: polymesh_contracts::ChainVersion **/ PolymeshContractsChainVersion: { specVersion: 'u32', txVersion: 'u32', }, /** - * Lookup292: polymesh_contracts::chain_extension::ExtrinsicId + * Lookup294: polymesh_contracts::chain_extension::ExtrinsicId **/ PolymeshContractsChainExtensionExtrinsicId: '(u8,u8)', /** - * Lookup293: pallet_preimage::pallet::Event + * Lookup295: pallet_preimage::pallet::Event **/ PalletPreimageEvent: { _enum: { @@ -1975,7 +1991,7 @@ export default { }, }, /** - * Lookup294: polymesh_common_utilities::traits::nft::Event + * Lookup296: polymesh_common_utilities::traits::nft::Event **/ PolymeshCommonUtilitiesNftEvent: { _enum: { @@ -1985,7 +2001,7 @@ export default { }, }, /** - * Lookup296: pallet_test_utils::RawEvent + * Lookup298: pallet_test_utils::RawEvent **/ PalletTestUtilsRawEvent: { _enum: { @@ -1994,7 +2010,7 @@ export default { }, }, /** - * Lookup297: frame_system::Phase + * Lookup299: frame_system::Phase **/ FrameSystemPhase: { _enum: { @@ -2004,14 +2020,14 @@ export default { }, }, /** - * Lookup300: frame_system::LastRuntimeUpgradeInfo + * Lookup302: frame_system::LastRuntimeUpgradeInfo **/ FrameSystemLastRuntimeUpgradeInfo: { specVersion: 'Compact', specName: 'Text', }, /** - * Lookup303: frame_system::pallet::Call + * Lookup305: frame_system::pallet::Call **/ FrameSystemCall: { _enum: { @@ -2046,7 +2062,7 @@ export default { }, }, /** - * Lookup307: frame_system::limits::BlockWeights + * Lookup309: frame_system::limits::BlockWeights **/ FrameSystemLimitsBlockWeights: { baseBlock: 'SpWeightsWeightV2Weight', @@ -2054,7 +2070,7 @@ export default { perClass: 'FrameSupportDispatchPerDispatchClassWeightsPerClass', }, /** - * Lookup308: frame_support::dispatch::PerDispatchClass + * Lookup310: frame_support::dispatch::PerDispatchClass **/ FrameSupportDispatchPerDispatchClassWeightsPerClass: { normal: 'FrameSystemLimitsWeightsPerClass', @@ -2062,7 +2078,7 @@ export default { mandatory: 'FrameSystemLimitsWeightsPerClass', }, /** - * Lookup309: frame_system::limits::WeightsPerClass + * Lookup311: frame_system::limits::WeightsPerClass **/ FrameSystemLimitsWeightsPerClass: { baseExtrinsic: 'SpWeightsWeightV2Weight', @@ -2071,13 +2087,13 @@ export default { reserved: 'Option', }, /** - * Lookup311: frame_system::limits::BlockLength + * Lookup313: frame_system::limits::BlockLength **/ FrameSystemLimitsBlockLength: { max: 'FrameSupportDispatchPerDispatchClassU32', }, /** - * Lookup312: frame_support::dispatch::PerDispatchClass + * Lookup314: frame_support::dispatch::PerDispatchClass **/ FrameSupportDispatchPerDispatchClassU32: { normal: 'u32', @@ -2085,14 +2101,14 @@ export default { mandatory: 'u32', }, /** - * Lookup313: sp_weights::RuntimeDbWeight + * Lookup315: sp_weights::RuntimeDbWeight **/ SpWeightsRuntimeDbWeight: { read: 'u64', write: 'u64', }, /** - * Lookup314: sp_version::RuntimeVersion + * Lookup316: sp_version::RuntimeVersion **/ SpVersionRuntimeVersion: { specName: 'Text', @@ -2105,7 +2121,7 @@ export default { stateVersion: 'u8', }, /** - * Lookup319: frame_system::pallet::Error + * Lookup321: frame_system::pallet::Error **/ FrameSystemError: { _enum: [ @@ -2118,11 +2134,11 @@ export default { ], }, /** - * Lookup322: sp_consensus_babe::app::Public + * Lookup324: sp_consensus_babe::app::Public **/ SpConsensusBabeAppPublic: 'SpCoreSr25519Public', /** - * Lookup325: sp_consensus_babe::digests::NextConfigDescriptor + * Lookup327: sp_consensus_babe::digests::NextConfigDescriptor **/ SpConsensusBabeDigestsNextConfigDescriptor: { _enum: { @@ -2134,13 +2150,13 @@ export default { }, }, /** - * Lookup327: sp_consensus_babe::AllowedSlots + * Lookup329: sp_consensus_babe::AllowedSlots **/ SpConsensusBabeAllowedSlots: { _enum: ['PrimarySlots', 'PrimaryAndSecondaryPlainSlots', 'PrimaryAndSecondaryVRFSlots'], }, /** - * Lookup331: sp_consensus_babe::digests::PreDigest + * Lookup333: sp_consensus_babe::digests::PreDigest **/ SpConsensusBabeDigestsPreDigest: { _enum: { @@ -2151,7 +2167,7 @@ export default { }, }, /** - * Lookup332: sp_consensus_babe::digests::PrimaryPreDigest + * Lookup334: sp_consensus_babe::digests::PrimaryPreDigest **/ SpConsensusBabeDigestsPrimaryPreDigest: { authorityIndex: 'u32', @@ -2160,14 +2176,14 @@ export default { vrfProof: '[u8;64]', }, /** - * Lookup333: sp_consensus_babe::digests::SecondaryPlainPreDigest + * Lookup335: sp_consensus_babe::digests::SecondaryPlainPreDigest **/ SpConsensusBabeDigestsSecondaryPlainPreDigest: { authorityIndex: 'u32', slot: 'u64', }, /** - * Lookup334: sp_consensus_babe::digests::SecondaryVRFPreDigest + * Lookup336: sp_consensus_babe::digests::SecondaryVRFPreDigest **/ SpConsensusBabeDigestsSecondaryVRFPreDigest: { authorityIndex: 'u32', @@ -2176,14 +2192,14 @@ export default { vrfProof: '[u8;64]', }, /** - * Lookup335: sp_consensus_babe::BabeEpochConfiguration + * Lookup337: sp_consensus_babe::BabeEpochConfiguration **/ SpConsensusBabeBabeEpochConfiguration: { c: '(u64,u64)', allowedSlots: 'SpConsensusBabeAllowedSlots', }, /** - * Lookup339: pallet_babe::pallet::Call + * Lookup341: pallet_babe::pallet::Call **/ PalletBabeCall: { _enum: { @@ -2201,7 +2217,7 @@ export default { }, }, /** - * Lookup340: sp_consensus_slots::EquivocationProof, sp_consensus_babe::app::Public> + * Lookup342: sp_consensus_slots::EquivocationProof, sp_consensus_babe::app::Public> **/ SpConsensusSlotsEquivocationProof: { offender: 'SpConsensusBabeAppPublic', @@ -2210,7 +2226,7 @@ export default { secondHeader: 'SpRuntimeHeader', }, /** - * Lookup341: sp_runtime::generic::header::Header + * Lookup343: sp_runtime::generic::header::Header **/ SpRuntimeHeader: { parentHash: 'H256', @@ -2220,11 +2236,11 @@ export default { digest: 'SpRuntimeDigest', }, /** - * Lookup342: sp_runtime::traits::BlakeTwo256 + * Lookup344: sp_runtime::traits::BlakeTwo256 **/ SpRuntimeBlakeTwo256: 'Null', /** - * Lookup343: sp_session::MembershipProof + * Lookup345: sp_session::MembershipProof **/ SpSessionMembershipProof: { session: 'u32', @@ -2232,7 +2248,7 @@ export default { validatorCount: 'u32', }, /** - * Lookup344: pallet_babe::pallet::Error + * Lookup346: pallet_babe::pallet::Error **/ PalletBabeError: { _enum: [ @@ -2243,7 +2259,7 @@ export default { ], }, /** - * Lookup345: pallet_timestamp::pallet::Call + * Lookup347: pallet_timestamp::pallet::Call **/ PalletTimestampCall: { _enum: { @@ -2253,7 +2269,7 @@ export default { }, }, /** - * Lookup347: pallet_indices::pallet::Call + * Lookup349: pallet_indices::pallet::Call **/ PalletIndicesCall: { _enum: { @@ -2284,13 +2300,13 @@ export default { }, }, /** - * Lookup349: pallet_indices::pallet::Error + * Lookup351: pallet_indices::pallet::Error **/ PalletIndicesError: { _enum: ['NotAssigned', 'NotOwner', 'InUse', 'NotTransfer', 'Permanent'], }, /** - * Lookup351: pallet_balances::BalanceLock + * Lookup353: pallet_balances::BalanceLock **/ PalletBalancesBalanceLock: { id: '[u8;8]', @@ -2298,13 +2314,13 @@ export default { reasons: 'PolymeshCommonUtilitiesBalancesReasons', }, /** - * Lookup352: polymesh_common_utilities::traits::balances::Reasons + * Lookup354: polymesh_common_utilities::traits::balances::Reasons **/ PolymeshCommonUtilitiesBalancesReasons: { _enum: ['Fee', 'Misc', 'All'], }, /** - * Lookup353: pallet_balances::Call + * Lookup355: pallet_balances::Call **/ PalletBalancesCall: { _enum: { @@ -2336,7 +2352,7 @@ export default { }, }, /** - * Lookup354: pallet_balances::Error + * Lookup356: pallet_balances::Error **/ PalletBalancesError: { _enum: [ @@ -2348,13 +2364,13 @@ export default { ], }, /** - * Lookup356: pallet_transaction_payment::Releases + * Lookup358: pallet_transaction_payment::Releases **/ PalletTransactionPaymentReleases: { _enum: ['V1Ancient', 'V2'], }, /** - * Lookup358: sp_weights::WeightToFeeCoefficient + * Lookup360: sp_weights::WeightToFeeCoefficient **/ SpWeightsWeightToFeeCoefficient: { coeffInteger: 'u128', @@ -2363,27 +2379,27 @@ export default { degree: 'u8', }, /** - * Lookup359: polymesh_primitives::identity::DidRecord + * Lookup361: polymesh_primitives::identity::DidRecord **/ PolymeshPrimitivesIdentityDidRecord: { primaryKey: 'Option', }, /** - * Lookup361: pallet_identity::types::Claim1stKey + * Lookup363: pallet_identity::types::Claim1stKey **/ PalletIdentityClaim1stKey: { target: 'PolymeshPrimitivesIdentityId', claimType: 'PolymeshPrimitivesIdentityClaimClaimType', }, /** - * Lookup362: pallet_identity::types::Claim2ndKey + * Lookup364: pallet_identity::types::Claim2ndKey **/ PalletIdentityClaim2ndKey: { issuer: 'PolymeshPrimitivesIdentityId', scope: 'Option', }, /** - * Lookup363: polymesh_primitives::secondary_key::KeyRecord + * Lookup365: polymesh_primitives::secondary_key::KeyRecord **/ PolymeshPrimitivesSecondaryKeyKeyRecord: { _enum: { @@ -2393,7 +2409,7 @@ export default { }, }, /** - * Lookup366: polymesh_primitives::authorization::Authorization + * Lookup368: polymesh_primitives::authorization::Authorization **/ PolymeshPrimitivesAuthorization: { authorizationData: 'PolymeshPrimitivesAuthorizationAuthorizationData', @@ -2403,7 +2419,7 @@ export default { count: 'u32', }, /** - * Lookup369: pallet_identity::Call + * Lookup372: pallet_identity::Call **/ PalletIdentityCall: { _enum: { @@ -2495,21 +2511,21 @@ export default { }, }, /** - * Lookup371: polymesh_common_utilities::traits::identity::SecondaryKeyWithAuth + * Lookup374: polymesh_common_utilities::traits::identity::SecondaryKeyWithAuth **/ PolymeshCommonUtilitiesIdentitySecondaryKeyWithAuth: { secondaryKey: 'PolymeshPrimitivesSecondaryKey', authSignature: 'H512', }, /** - * Lookup374: polymesh_common_utilities::traits::identity::CreateChildIdentityWithAuth + * Lookup377: polymesh_common_utilities::traits::identity::CreateChildIdentityWithAuth **/ PolymeshCommonUtilitiesIdentityCreateChildIdentityWithAuth: { key: 'AccountId32', authSignature: 'H512', }, /** - * Lookup375: pallet_identity::Error + * Lookup378: pallet_identity::Error **/ PalletIdentityError: { _enum: [ @@ -2549,7 +2565,7 @@ export default { ], }, /** - * Lookup377: polymesh_common_utilities::traits::group::InactiveMember + * Lookup380: polymesh_common_utilities::traits::group::InactiveMember **/ PolymeshCommonUtilitiesGroupInactiveMember: { id: 'PolymeshPrimitivesIdentityId', @@ -2557,7 +2573,7 @@ export default { expiry: 'Option', }, /** - * Lookup378: pallet_group::Call + * Lookup381: pallet_group::Call **/ PalletGroupCall: { _enum: { @@ -2586,7 +2602,7 @@ export default { }, }, /** - * Lookup379: pallet_group::Error + * Lookup382: pallet_group::Error **/ PalletGroupError: { _enum: [ @@ -2600,7 +2616,7 @@ export default { ], }, /** - * Lookup381: pallet_committee::Call + * Lookup384: pallet_committee::Call **/ PalletCommitteeCall: { _enum: { @@ -2626,7 +2642,7 @@ export default { }, }, /** - * Lookup387: pallet_multisig::Call + * Lookup390: pallet_multisig::Call **/ PalletMultisigCall: { _enum: { @@ -2720,7 +2736,7 @@ export default { }, }, /** - * Lookup388: pallet_bridge::Call + * Lookup391: pallet_bridge::Call **/ PalletBridgeCall: { _enum: { @@ -2775,7 +2791,7 @@ export default { }, }, /** - * Lookup392: pallet_staking::Call + * Lookup395: pallet_staking::Call **/ PalletStakingCall: { _enum: { @@ -2901,7 +2917,7 @@ export default { }, }, /** - * Lookup393: pallet_staking::RewardDestination + * Lookup396: pallet_staking::RewardDestination **/ PalletStakingRewardDestination: { _enum: { @@ -2912,14 +2928,14 @@ export default { }, }, /** - * Lookup394: pallet_staking::ValidatorPrefs + * Lookup397: pallet_staking::ValidatorPrefs **/ PalletStakingValidatorPrefs: { commission: 'Compact', blocked: 'bool', }, /** - * Lookup400: pallet_staking::CompactAssignments + * Lookup403: pallet_staking::CompactAssignments **/ PalletStakingCompactAssignments: { votes1: 'Vec<(Compact,Compact)>', @@ -2940,7 +2956,7 @@ export default { votes16: 'Vec<(Compact,[(Compact,Compact);15],Compact)>', }, /** - * Lookup451: sp_npos_elections::ElectionScore + * Lookup454: sp_npos_elections::ElectionScore **/ SpNposElectionsElectionScore: { minimalStake: 'u128', @@ -2948,14 +2964,14 @@ export default { sumStakeSquared: 'u128', }, /** - * Lookup452: pallet_staking::ElectionSize + * Lookup455: pallet_staking::ElectionSize **/ PalletStakingElectionSize: { validators: 'Compact', nominators: 'Compact', }, /** - * Lookup453: pallet_session::pallet::Call + * Lookup456: pallet_session::pallet::Call **/ PalletSessionCall: { _enum: { @@ -2963,27 +2979,27 @@ export default { _alias: { keys_: 'keys', }, - keys_: 'PolymeshRuntimeTestnetRuntimeSessionKeys', + keys_: 'PolymeshRuntimeDevelopRuntimeSessionKeys', proof: 'Bytes', }, purge_keys: 'Null', }, }, /** - * Lookup454: polymesh_runtime_testnet::runtime::SessionKeys + * Lookup457: polymesh_runtime_develop::runtime::SessionKeys **/ - PolymeshRuntimeTestnetRuntimeSessionKeys: { + PolymeshRuntimeDevelopRuntimeSessionKeys: { grandpa: 'SpConsensusGrandpaAppPublic', babe: 'SpConsensusBabeAppPublic', imOnline: 'PalletImOnlineSr25519AppSr25519Public', authorityDiscovery: 'SpAuthorityDiscoveryAppPublic', }, /** - * Lookup455: sp_authority_discovery::app::Public + * Lookup458: sp_authority_discovery::app::Public **/ SpAuthorityDiscoveryAppPublic: 'SpCoreSr25519Public', /** - * Lookup456: pallet_grandpa::pallet::Call + * Lookup459: pallet_grandpa::pallet::Call **/ PalletGrandpaCall: { _enum: { @@ -3002,14 +3018,14 @@ export default { }, }, /** - * Lookup457: sp_consensus_grandpa::EquivocationProof + * Lookup460: sp_consensus_grandpa::EquivocationProof **/ SpConsensusGrandpaEquivocationProof: { setId: 'u64', equivocation: 'SpConsensusGrandpaEquivocation', }, /** - * Lookup458: sp_consensus_grandpa::Equivocation + * Lookup461: sp_consensus_grandpa::Equivocation **/ SpConsensusGrandpaEquivocation: { _enum: { @@ -3018,7 +3034,7 @@ export default { }, }, /** - * Lookup459: finality_grandpa::Equivocation, sp_consensus_grandpa::app::Signature> + * Lookup462: finality_grandpa::Equivocation, sp_consensus_grandpa::app::Signature> **/ FinalityGrandpaEquivocationPrevote: { roundNumber: 'u64', @@ -3027,22 +3043,22 @@ export default { second: '(FinalityGrandpaPrevote,SpConsensusGrandpaAppSignature)', }, /** - * Lookup460: finality_grandpa::Prevote + * Lookup463: finality_grandpa::Prevote **/ FinalityGrandpaPrevote: { targetHash: 'H256', targetNumber: 'u32', }, /** - * Lookup461: sp_consensus_grandpa::app::Signature + * Lookup464: sp_consensus_grandpa::app::Signature **/ SpConsensusGrandpaAppSignature: 'SpCoreEd25519Signature', /** - * Lookup462: sp_core::ed25519::Signature + * Lookup465: sp_core::ed25519::Signature **/ SpCoreEd25519Signature: '[u8;64]', /** - * Lookup464: finality_grandpa::Equivocation, sp_consensus_grandpa::app::Signature> + * Lookup467: finality_grandpa::Equivocation, sp_consensus_grandpa::app::Signature> **/ FinalityGrandpaEquivocationPrecommit: { roundNumber: 'u64', @@ -3051,14 +3067,14 @@ export default { second: '(FinalityGrandpaPrecommit,SpConsensusGrandpaAppSignature)', }, /** - * Lookup465: finality_grandpa::Precommit + * Lookup468: finality_grandpa::Precommit **/ FinalityGrandpaPrecommit: { targetHash: 'H256', targetNumber: 'u32', }, /** - * Lookup467: pallet_im_online::pallet::Call + * Lookup470: pallet_im_online::pallet::Call **/ PalletImOnlineCall: { _enum: { @@ -3069,7 +3085,7 @@ export default { }, }, /** - * Lookup468: pallet_im_online::Heartbeat + * Lookup471: pallet_im_online::Heartbeat **/ PalletImOnlineHeartbeat: { blockNumber: 'u32', @@ -3079,22 +3095,46 @@ export default { validatorsLen: 'u32', }, /** - * Lookup469: sp_core::offchain::OpaqueNetworkState + * Lookup472: sp_core::offchain::OpaqueNetworkState **/ SpCoreOffchainOpaqueNetworkState: { peerId: 'OpaquePeerId', externalAddresses: 'Vec', }, /** - * Lookup473: pallet_im_online::sr25519::app_sr25519::Signature + * Lookup476: pallet_im_online::sr25519::app_sr25519::Signature **/ PalletImOnlineSr25519AppSr25519Signature: 'SpCoreSr25519Signature', /** - * Lookup474: sp_core::sr25519::Signature + * Lookup477: sp_core::sr25519::Signature **/ SpCoreSr25519Signature: '[u8;64]', /** - * Lookup475: pallet_asset::Call + * Lookup478: pallet_sudo::Call + **/ + PalletSudoCall: { + _enum: { + sudo: { + call: 'Call', + }, + sudo_unchecked_weight: { + call: 'Call', + weight: 'SpWeightsWeightV2Weight', + }, + set_key: { + _alias: { + new_: 'new', + }, + new_: 'MultiAddress', + }, + sudo_as: { + who: 'MultiAddress', + call: 'Call', + }, + }, + }, + /** + * Lookup479: pallet_asset::Call **/ PalletAssetCall: { _enum: { @@ -3225,10 +3265,18 @@ export default { remove_ticker_pre_approval: { ticker: 'PolymeshPrimitivesTicker', }, + add_mandatory_mediators: { + ticker: 'PolymeshPrimitivesTicker', + mediators: 'BTreeSet', + }, + remove_mandatory_mediators: { + ticker: 'PolymeshPrimitivesTicker', + mediators: 'BTreeSet', + }, }, }, /** - * Lookup477: pallet_corporate_actions::distribution::Call + * Lookup482: pallet_corporate_actions::distribution::Call **/ PalletCorporateActionsDistributionCall: { _enum: { @@ -3257,7 +3305,7 @@ export default { }, }, /** - * Lookup479: pallet_asset::checkpoint::Call + * Lookup484: pallet_asset::checkpoint::Call **/ PalletAssetCheckpointCall: { _enum: { @@ -3278,7 +3326,7 @@ export default { }, }, /** - * Lookup480: pallet_compliance_manager::Call + * Lookup485: pallet_compliance_manager::Call **/ PalletComplianceManagerCall: { _enum: { @@ -3319,7 +3367,7 @@ export default { }, }, /** - * Lookup481: pallet_corporate_actions::Call + * Lookup486: pallet_corporate_actions::Call **/ PalletCorporateActionsCall: { _enum: { @@ -3372,7 +3420,7 @@ export default { }, }, /** - * Lookup483: pallet_corporate_actions::RecordDateSpec + * Lookup488: pallet_corporate_actions::RecordDateSpec **/ PalletCorporateActionsRecordDateSpec: { _enum: { @@ -3382,7 +3430,7 @@ export default { }, }, /** - * Lookup486: pallet_corporate_actions::InitiateCorporateActionArgs + * Lookup491: pallet_corporate_actions::InitiateCorporateActionArgs **/ PalletCorporateActionsInitiateCorporateActionArgs: { ticker: 'PolymeshPrimitivesTicker', @@ -3395,7 +3443,7 @@ export default { withholdingTax: 'Option>', }, /** - * Lookup487: pallet_corporate_actions::ballot::Call + * Lookup492: pallet_corporate_actions::ballot::Call **/ PalletCorporateActionsBallotCall: { _enum: { @@ -3427,7 +3475,7 @@ export default { }, }, /** - * Lookup488: pallet_pips::Call + * Lookup493: pallet_pips::Call **/ PalletPipsCall: { _enum: { @@ -3488,13 +3536,13 @@ export default { }, }, /** - * Lookup491: pallet_pips::SnapshotResult + * Lookup496: pallet_pips::SnapshotResult **/ PalletPipsSnapshotResult: { _enum: ['Approve', 'Reject', 'Skip'], }, /** - * Lookup492: pallet_portfolio::Call + * Lookup497: pallet_portfolio::Call **/ PalletPortfolioCall: { _enum: { @@ -3540,14 +3588,14 @@ export default { }, }, /** - * Lookup494: polymesh_primitives::portfolio::Fund + * Lookup499: polymesh_primitives::portfolio::Fund **/ PolymeshPrimitivesPortfolioFund: { description: 'PolymeshPrimitivesPortfolioFundDescription', memo: 'Option', }, /** - * Lookup495: pallet_protocol_fee::Call + * Lookup500: pallet_protocol_fee::Call **/ PalletProtocolFeeCall: { _enum: { @@ -3561,7 +3609,7 @@ export default { }, }, /** - * Lookup496: polymesh_common_utilities::protocol_fee::ProtocolOp + * Lookup501: polymesh_common_utilities::protocol_fee::ProtocolOp **/ PolymeshCommonUtilitiesProtocolFeeProtocolOp: { _enum: [ @@ -3584,7 +3632,7 @@ export default { ], }, /** - * Lookup497: pallet_scheduler::pallet::Call + * Lookup502: pallet_scheduler::pallet::Call **/ PalletSchedulerCall: { _enum: { @@ -3624,7 +3672,7 @@ export default { }, }, /** - * Lookup499: pallet_settlement::Call + * Lookup504: pallet_settlement::Call **/ PalletSettlementCall: { _enum: { @@ -3725,10 +3773,40 @@ export default { portfolios: 'Vec', numberOfAssets: 'Option', }, + add_instruction_with_mediators: { + venueId: 'u64', + settlementType: 'PolymeshPrimitivesSettlementSettlementType', + tradeDate: 'Option', + valueDate: 'Option', + legs: 'Vec', + instructionMemo: 'Option', + mediators: 'BTreeSet', + }, + add_and_affirm_with_mediators: { + venueId: 'u64', + settlementType: 'PolymeshPrimitivesSettlementSettlementType', + tradeDate: 'Option', + valueDate: 'Option', + legs: 'Vec', + portfolios: 'Vec', + instructionMemo: 'Option', + mediators: 'BTreeSet', + }, + affirm_instruction_as_mediator: { + instructionId: 'u64', + expiry: 'Option', + }, + withdraw_affirmation_as_mediator: { + instructionId: 'u64', + }, + reject_instruction_as_mediator: { + instructionId: 'u64', + numberOfAssets: 'Option', + }, }, }, /** - * Lookup501: polymesh_primitives::settlement::ReceiptDetails + * Lookup506: polymesh_primitives::settlement::ReceiptDetails **/ PolymeshPrimitivesSettlementReceiptDetails: { uid: 'u64', @@ -3739,7 +3817,7 @@ export default { metadata: 'Option', }, /** - * Lookup502: sp_runtime::MultiSignature + * Lookup507: sp_runtime::MultiSignature **/ SpRuntimeMultiSignature: { _enum: { @@ -3749,11 +3827,11 @@ export default { }, }, /** - * Lookup503: sp_core::ecdsa::Signature + * Lookup508: sp_core::ecdsa::Signature **/ SpCoreEcdsaSignature: '[u8;65]', /** - * Lookup506: polymesh_primitives::settlement::AffirmationCount + * Lookup511: polymesh_primitives::settlement::AffirmationCount **/ PolymeshPrimitivesSettlementAffirmationCount: { senderAssetCount: 'PolymeshPrimitivesSettlementAssetCount', @@ -3761,7 +3839,7 @@ export default { offchainCount: 'u32', }, /** - * Lookup507: polymesh_primitives::settlement::AssetCount + * Lookup512: polymesh_primitives::settlement::AssetCount **/ PolymeshPrimitivesSettlementAssetCount: { fungible: 'u32', @@ -3769,7 +3847,7 @@ export default { offChain: 'u32', }, /** - * Lookup509: pallet_statistics::Call + * Lookup515: pallet_statistics::Call **/ PalletStatisticsCall: { _enum: { @@ -3794,7 +3872,7 @@ export default { }, }, /** - * Lookup514: pallet_sto::Call + * Lookup519: pallet_sto::Call **/ PalletStoCall: { _enum: { @@ -3840,14 +3918,14 @@ export default { }, }, /** - * Lookup516: pallet_sto::PriceTier + * Lookup521: pallet_sto::PriceTier **/ PalletStoPriceTier: { total: 'u128', price: 'u128', }, /** - * Lookup518: pallet_treasury::Call + * Lookup523: pallet_treasury::Call **/ PalletTreasuryCall: { _enum: { @@ -3860,14 +3938,14 @@ export default { }, }, /** - * Lookup520: polymesh_primitives::Beneficiary + * Lookup525: polymesh_primitives::Beneficiary **/ PolymeshPrimitivesBeneficiary: { id: 'PolymeshPrimitivesIdentityId', amount: 'u128', }, /** - * Lookup521: pallet_utility::pallet::Call + * Lookup526: pallet_utility::pallet::Call **/ PalletUtilityCall: { _enum: { @@ -3883,7 +3961,7 @@ export default { calls: 'Vec', }, dispatch_as: { - asOrigin: 'PolymeshRuntimeTestnetRuntimeOriginCaller', + asOrigin: 'PolymeshRuntimeDevelopRuntimeOriginCaller', call: 'Call', }, force_batch: { @@ -3909,16 +3987,16 @@ export default { }, }, /** - * Lookup523: pallet_utility::UniqueCall + * Lookup528: pallet_utility::UniqueCall **/ PalletUtilityUniqueCall: { nonce: 'u64', call: 'Call', }, /** - * Lookup524: polymesh_runtime_testnet::runtime::OriginCaller + * Lookup529: polymesh_runtime_develop::runtime::OriginCaller **/ - PolymeshRuntimeTestnetRuntimeOriginCaller: { + PolymeshRuntimeDevelopRuntimeOriginCaller: { _enum: { system: 'FrameSupportDispatchRawOrigin', __Unused1: 'Null', @@ -3937,7 +4015,7 @@ export default { }, }, /** - * Lookup525: frame_support::dispatch::RawOrigin + * Lookup530: frame_support::dispatch::RawOrigin **/ FrameSupportDispatchRawOrigin: { _enum: { @@ -3947,33 +4025,33 @@ export default { }, }, /** - * Lookup526: pallet_committee::RawOrigin + * Lookup531: pallet_committee::RawOrigin **/ PalletCommitteeRawOriginInstance1: { _enum: ['Endorsed'], }, /** - * Lookup527: pallet_committee::RawOrigin + * Lookup532: pallet_committee::RawOrigin **/ PalletCommitteeRawOriginInstance3: { _enum: ['Endorsed'], }, /** - * Lookup528: pallet_committee::RawOrigin + * Lookup533: pallet_committee::RawOrigin **/ PalletCommitteeRawOriginInstance4: { _enum: ['Endorsed'], }, /** - * Lookup529: sp_core::Void + * Lookup534: sp_core::Void **/ SpCoreVoid: 'Null', /** - * Lookup530: pallet_base::Call + * Lookup535: pallet_base::Call **/ PalletBaseCall: 'Null', /** - * Lookup531: pallet_external_agents::Call + * Lookup536: pallet_external_agents::Call **/ PalletExternalAgentsCall: { _enum: { @@ -4015,7 +4093,7 @@ export default { }, }, /** - * Lookup532: pallet_relayer::Call + * Lookup537: pallet_relayer::Call **/ PalletRelayerCall: { _enum: { @@ -4045,7 +4123,7 @@ export default { }, }, /** - * Lookup533: pallet_contracts::pallet::Call + * Lookup538: pallet_contracts::pallet::Call **/ PalletContractsCall: { _enum: { @@ -4110,13 +4188,13 @@ export default { }, }, /** - * Lookup537: pallet_contracts::wasm::Determinism + * Lookup542: pallet_contracts::wasm::Determinism **/ PalletContractsWasmDeterminism: { _enum: ['Deterministic', 'AllowIndeterminism'], }, /** - * Lookup538: polymesh_contracts::Call + * Lookup543: polymesh_contracts::Call **/ PolymeshContractsCall: { _enum: { @@ -4164,14 +4242,14 @@ export default { }, }, /** - * Lookup541: polymesh_contracts::NextUpgrade + * Lookup546: polymesh_contracts::NextUpgrade **/ PolymeshContractsNextUpgrade: { chainVersion: 'PolymeshContractsChainVersion', apiHash: 'PolymeshContractsApiCodeHash', }, /** - * Lookup542: polymesh_contracts::ApiCodeHash + * Lookup547: polymesh_contracts::ApiCodeHash **/ PolymeshContractsApiCodeHash: { _alias: { @@ -4180,7 +4258,7 @@ export default { hash_: 'H256', }, /** - * Lookup543: pallet_preimage::pallet::Call + * Lookup548: pallet_preimage::pallet::Call **/ PalletPreimageCall: { _enum: { @@ -4208,7 +4286,7 @@ export default { }, }, /** - * Lookup544: pallet_nft::Call + * Lookup549: pallet_nft::Call **/ PalletNftCall: { _enum: { @@ -4236,18 +4314,18 @@ export default { }, }, /** - * Lookup546: polymesh_primitives::nft::NFTCollectionKeys + * Lookup551: polymesh_primitives::nft::NFTCollectionKeys **/ PolymeshPrimitivesNftNftCollectionKeys: 'Vec', /** - * Lookup549: polymesh_primitives::nft::NFTMetadataAttribute + * Lookup554: polymesh_primitives::nft::NFTMetadataAttribute **/ PolymeshPrimitivesNftNftMetadataAttribute: { key: 'PolymeshPrimitivesAssetMetadataAssetMetadataKey', value: 'Bytes', }, /** - * Lookup550: pallet_test_utils::Call + * Lookup555: pallet_test_utils::Call **/ PalletTestUtilsCall: { _enum: { @@ -4264,7 +4342,7 @@ export default { }, }, /** - * Lookup551: pallet_committee::PolymeshVotes + * Lookup556: pallet_committee::PolymeshVotes **/ PalletCommitteePolymeshVotes: { index: 'u32', @@ -4273,7 +4351,7 @@ export default { expiry: 'PolymeshCommonUtilitiesMaybeBlock', }, /** - * Lookup553: pallet_committee::Error + * Lookup558: pallet_committee::Error **/ PalletCommitteeError: { _enum: [ @@ -4289,7 +4367,7 @@ export default { ], }, /** - * Lookup563: polymesh_primitives::multisig::ProposalDetails + * Lookup568: polymesh_primitives::multisig::ProposalDetails **/ PolymeshPrimitivesMultisigProposalDetails: { approvals: 'u64', @@ -4299,13 +4377,13 @@ export default { autoClose: 'bool', }, /** - * Lookup564: polymesh_primitives::multisig::ProposalStatus + * Lookup569: polymesh_primitives::multisig::ProposalStatus **/ PolymeshPrimitivesMultisigProposalStatus: { _enum: ['Invalid', 'ActiveOrExpired', 'ExecutionSuccessful', 'ExecutionFailed', 'Rejected'], }, /** - * Lookup566: pallet_multisig::Error + * Lookup571: pallet_multisig::Error **/ PalletMultisigError: { _enum: [ @@ -4338,7 +4416,7 @@ export default { ], }, /** - * Lookup568: pallet_bridge::BridgeTxDetail + * Lookup573: pallet_bridge::BridgeTxDetail **/ PalletBridgeBridgeTxDetail: { amount: 'u128', @@ -4347,7 +4425,7 @@ export default { txHash: 'H256', }, /** - * Lookup569: pallet_bridge::BridgeTxStatus + * Lookup574: pallet_bridge::BridgeTxStatus **/ PalletBridgeBridgeTxStatus: { _enum: { @@ -4359,7 +4437,7 @@ export default { }, }, /** - * Lookup572: pallet_bridge::Error + * Lookup577: pallet_bridge::Error **/ PalletBridgeError: { _enum: [ @@ -4379,7 +4457,7 @@ export default { ], }, /** - * Lookup573: pallet_staking::StakingLedger + * Lookup578: pallet_staking::StakingLedger **/ PalletStakingStakingLedger: { stash: 'AccountId32', @@ -4389,14 +4467,14 @@ export default { claimedRewards: 'Vec', }, /** - * Lookup575: pallet_staking::UnlockChunk + * Lookup580: pallet_staking::UnlockChunk **/ PalletStakingUnlockChunk: { value: 'Compact', era: 'Compact', }, /** - * Lookup576: pallet_staking::Nominations + * Lookup581: pallet_staking::Nominations **/ PalletStakingNominations: { targets: 'Vec', @@ -4404,27 +4482,27 @@ export default { suppressed: 'bool', }, /** - * Lookup577: pallet_staking::ActiveEraInfo + * Lookup582: pallet_staking::ActiveEraInfo **/ PalletStakingActiveEraInfo: { index: 'u32', start: 'Option', }, /** - * Lookup579: pallet_staking::EraRewardPoints + * Lookup584: pallet_staking::EraRewardPoints **/ PalletStakingEraRewardPoints: { total: 'u32', individual: 'BTreeMap', }, /** - * Lookup582: pallet_staking::Forcing + * Lookup587: pallet_staking::Forcing **/ PalletStakingForcing: { _enum: ['NotForcing', 'ForceNew', 'ForceNone', 'ForceAlways'], }, /** - * Lookup584: pallet_staking::UnappliedSlash + * Lookup589: pallet_staking::UnappliedSlash **/ PalletStakingUnappliedSlash: { validator: 'AccountId32', @@ -4434,7 +4512,7 @@ export default { payout: 'u128', }, /** - * Lookup588: pallet_staking::slashing::SlashingSpans + * Lookup593: pallet_staking::slashing::SlashingSpans **/ PalletStakingSlashingSlashingSpans: { spanIndex: 'u32', @@ -4443,14 +4521,14 @@ export default { prior: 'Vec', }, /** - * Lookup589: pallet_staking::slashing::SpanRecord + * Lookup594: pallet_staking::slashing::SpanRecord **/ PalletStakingSlashingSpanRecord: { slashed: 'u128', paidOut: 'u128', }, /** - * Lookup592: pallet_staking::ElectionResult + * Lookup597: pallet_staking::ElectionResult **/ PalletStakingElectionResult: { electedStashes: 'Vec', @@ -4458,7 +4536,7 @@ export default { compute: 'PalletStakingElectionCompute', }, /** - * Lookup593: pallet_staking::ElectionStatus + * Lookup598: pallet_staking::ElectionStatus **/ PalletStakingElectionStatus: { _enum: { @@ -4467,20 +4545,20 @@ export default { }, }, /** - * Lookup594: pallet_staking::PermissionedIdentityPrefs + * Lookup599: pallet_staking::PermissionedIdentityPrefs **/ PalletStakingPermissionedIdentityPrefs: { intendedCount: 'u32', runningCount: 'u32', }, /** - * Lookup595: pallet_staking::Releases + * Lookup600: pallet_staking::Releases **/ PalletStakingReleases: { _enum: ['V1_0_0Ancient', 'V2_0_0', 'V3_0_0', 'V4_0_0', 'V5_0_0', 'V6_0_0', 'V6_0_1', 'V7_0_0'], }, /** - * Lookup597: pallet_staking::Error + * Lookup602: pallet_staking::Error **/ PalletStakingError: { _enum: [ @@ -4530,24 +4608,24 @@ export default { ], }, /** - * Lookup598: sp_staking::offence::OffenceDetails + * Lookup603: sp_staking::offence::OffenceDetails **/ SpStakingOffenceOffenceDetails: { offender: '(AccountId32,PalletStakingExposure)', reporters: 'Vec', }, /** - * Lookup603: sp_core::crypto::KeyTypeId + * Lookup608: sp_core::crypto::KeyTypeId **/ SpCoreCryptoKeyTypeId: '[u8;4]', /** - * Lookup604: pallet_session::pallet::Error + * Lookup609: pallet_session::pallet::Error **/ PalletSessionError: { _enum: ['InvalidProof', 'NoAssociatedValidatorId', 'DuplicatedKey', 'NoKeys', 'NoAccount'], }, /** - * Lookup605: pallet_grandpa::StoredState + * Lookup610: pallet_grandpa::StoredState **/ PalletGrandpaStoredState: { _enum: { @@ -4564,7 +4642,7 @@ export default { }, }, /** - * Lookup606: pallet_grandpa::StoredPendingChange + * Lookup611: pallet_grandpa::StoredPendingChange **/ PalletGrandpaStoredPendingChange: { scheduledAt: 'u32', @@ -4573,7 +4651,7 @@ export default { forced: 'Option', }, /** - * Lookup608: pallet_grandpa::pallet::Error + * Lookup613: pallet_grandpa::pallet::Error **/ PalletGrandpaError: { _enum: [ @@ -4587,34 +4665,40 @@ export default { ], }, /** - * Lookup612: pallet_im_online::BoundedOpaqueNetworkState + * Lookup617: pallet_im_online::BoundedOpaqueNetworkState **/ PalletImOnlineBoundedOpaqueNetworkState: { peerId: 'Bytes', externalAddresses: 'Vec', }, /** - * Lookup616: pallet_im_online::pallet::Error + * Lookup621: pallet_im_online::pallet::Error **/ PalletImOnlineError: { _enum: ['InvalidKey', 'DuplicatedHeartbeat'], }, /** - * Lookup618: pallet_asset::TickerRegistration + * Lookup623: pallet_sudo::Error + **/ + PalletSudoError: { + _enum: ['RequireSudo'], + }, + /** + * Lookup624: pallet_asset::TickerRegistration **/ PalletAssetTickerRegistration: { owner: 'PolymeshPrimitivesIdentityId', expiry: 'Option', }, /** - * Lookup619: pallet_asset::TickerRegistrationConfig + * Lookup625: pallet_asset::TickerRegistrationConfig **/ PalletAssetTickerRegistrationConfig: { maxTickerLength: 'u8', registrationLength: 'Option', }, /** - * Lookup620: pallet_asset::SecurityToken + * Lookup626: pallet_asset::SecurityToken **/ PalletAssetSecurityToken: { totalSupply: 'u128', @@ -4623,13 +4707,13 @@ export default { assetType: 'PolymeshPrimitivesAssetAssetType', }, /** - * Lookup624: pallet_asset::AssetOwnershipRelation + * Lookup630: pallet_asset::AssetOwnershipRelation **/ PalletAssetAssetOwnershipRelation: { _enum: ['NotOwned', 'TickerOwned', 'AssetOwned'], }, /** - * Lookup630: pallet_asset::Error + * Lookup636: pallet_asset::Error **/ PalletAssetError: { _enum: [ @@ -4670,10 +4754,11 @@ export default { 'IncompatibleAssetTypeUpdate', 'AssetMetadataKeyBelongsToNFTCollection', 'AssetMetadataValueIsEmpty', + 'NumberOfAssetMediatorsExceeded', ], }, /** - * Lookup633: pallet_corporate_actions::distribution::Error + * Lookup639: pallet_corporate_actions::distribution::Error **/ PalletCorporateActionsDistributionError: { _enum: [ @@ -4695,7 +4780,7 @@ export default { ], }, /** - * Lookup637: polymesh_common_utilities::traits::checkpoint::NextCheckpoints + * Lookup643: polymesh_common_utilities::traits::checkpoint::NextCheckpoints **/ PolymeshCommonUtilitiesCheckpointNextCheckpoints: { nextAt: 'u64', @@ -4703,7 +4788,7 @@ export default { schedules: 'BTreeMap', }, /** - * Lookup643: pallet_asset::checkpoint::Error + * Lookup649: pallet_asset::checkpoint::Error **/ PalletAssetCheckpointError: { _enum: [ @@ -4716,14 +4801,14 @@ export default { ], }, /** - * Lookup644: polymesh_primitives::compliance_manager::AssetCompliance + * Lookup650: polymesh_primitives::compliance_manager::AssetCompliance **/ PolymeshPrimitivesComplianceManagerAssetCompliance: { paused: 'bool', requirements: 'Vec', }, /** - * Lookup646: pallet_compliance_manager::Error + * Lookup652: pallet_compliance_manager::Error **/ PalletComplianceManagerError: { _enum: [ @@ -4737,7 +4822,7 @@ export default { ], }, /** - * Lookup649: pallet_corporate_actions::Error + * Lookup655: pallet_corporate_actions::Error **/ PalletCorporateActionsError: { _enum: [ @@ -4755,7 +4840,7 @@ export default { ], }, /** - * Lookup651: pallet_corporate_actions::ballot::Error + * Lookup657: pallet_corporate_actions::ballot::Error **/ PalletCorporateActionsBallotError: { _enum: [ @@ -4776,13 +4861,13 @@ export default { ], }, /** - * Lookup652: pallet_permissions::Error + * Lookup658: pallet_permissions::Error **/ PalletPermissionsError: { _enum: ['UnauthorizedCaller'], }, /** - * Lookup653: pallet_pips::PipsMetadata + * Lookup659: pallet_pips::PipsMetadata **/ PalletPipsPipsMetadata: { id: 'u32', @@ -4793,14 +4878,14 @@ export default { expiry: 'PolymeshCommonUtilitiesMaybeBlock', }, /** - * Lookup655: pallet_pips::DepositInfo + * Lookup661: pallet_pips::DepositInfo **/ PalletPipsDepositInfo: { owner: 'AccountId32', amount: 'u128', }, /** - * Lookup656: pallet_pips::Pip + * Lookup662: pallet_pips::Pip **/ PalletPipsPip: { id: 'u32', @@ -4808,7 +4893,7 @@ export default { proposer: 'PalletPipsProposer', }, /** - * Lookup657: pallet_pips::VotingResult + * Lookup663: pallet_pips::VotingResult **/ PalletPipsVotingResult: { ayesCount: 'u32', @@ -4817,11 +4902,11 @@ export default { naysStake: 'u128', }, /** - * Lookup658: pallet_pips::Vote + * Lookup664: pallet_pips::Vote **/ PalletPipsVote: '(bool,u128)', /** - * Lookup659: pallet_pips::SnapshotMetadata + * Lookup665: pallet_pips::SnapshotMetadata **/ PalletPipsSnapshotMetadata: { createdAt: 'u32', @@ -4829,7 +4914,7 @@ export default { id: 'u32', }, /** - * Lookup661: pallet_pips::Error + * Lookup667: pallet_pips::Error **/ PalletPipsError: { _enum: [ @@ -4854,7 +4939,7 @@ export default { ], }, /** - * Lookup670: pallet_portfolio::Error + * Lookup675: pallet_portfolio::Error **/ PalletPortfolioError: { _enum: [ @@ -4878,23 +4963,23 @@ export default { ], }, /** - * Lookup671: pallet_protocol_fee::Error + * Lookup676: pallet_protocol_fee::Error **/ PalletProtocolFeeError: { _enum: ['InsufficientAccountBalance', 'UnHandledImbalances', 'InsufficientSubsidyBalance'], }, /** - * Lookup674: pallet_scheduler::Scheduled, BlockNumber, polymesh_runtime_testnet::runtime::OriginCaller, sp_core::crypto::AccountId32> + * Lookup679: pallet_scheduler::Scheduled, BlockNumber, polymesh_runtime_develop::runtime::OriginCaller, sp_core::crypto::AccountId32> **/ PalletSchedulerScheduled: { maybeId: 'Option<[u8;32]>', priority: 'u8', call: 'FrameSupportPreimagesBounded', maybePeriodic: 'Option<(u32,u32)>', - origin: 'PolymeshRuntimeTestnetRuntimeOriginCaller', + origin: 'PolymeshRuntimeDevelopRuntimeOriginCaller', }, /** - * Lookup675: frame_support::traits::preimages::Bounded + * Lookup680: frame_support::traits::preimages::Bounded **/ FrameSupportPreimagesBounded: { _enum: { @@ -4915,7 +5000,7 @@ export default { }, }, /** - * Lookup678: pallet_scheduler::pallet::Error + * Lookup683: pallet_scheduler::pallet::Error **/ PalletSchedulerError: { _enum: [ @@ -4927,14 +5012,14 @@ export default { ], }, /** - * Lookup679: polymesh_primitives::settlement::Venue + * Lookup684: polymesh_primitives::settlement::Venue **/ PolymeshPrimitivesSettlementVenue: { creator: 'PolymeshPrimitivesIdentityId', venueType: 'PolymeshPrimitivesSettlementVenueType', }, /** - * Lookup683: polymesh_primitives::settlement::Instruction + * Lookup688: polymesh_primitives::settlement::Instruction **/ PolymeshPrimitivesSettlementInstruction: { instructionId: 'u64', @@ -4945,7 +5030,7 @@ export default { valueDate: 'Option', }, /** - * Lookup685: polymesh_primitives::settlement::LegStatus + * Lookup690: polymesh_primitives::settlement::LegStatus **/ PolymeshPrimitivesSettlementLegStatus: { _enum: { @@ -4955,13 +5040,13 @@ export default { }, }, /** - * Lookup687: polymesh_primitives::settlement::AffirmationStatus + * Lookup692: polymesh_primitives::settlement::AffirmationStatus **/ PolymeshPrimitivesSettlementAffirmationStatus: { _enum: ['Unknown', 'Pending', 'Affirmed'], }, /** - * Lookup691: polymesh_primitives::settlement::InstructionStatus + * Lookup696: polymesh_primitives::settlement::InstructionStatus **/ PolymeshPrimitivesSettlementInstructionStatus: { _enum: { @@ -4973,7 +5058,19 @@ export default { }, }, /** - * Lookup692: pallet_settlement::Error + * Lookup698: polymesh_primitives::settlement::MediatorAffirmationStatus + **/ + PolymeshPrimitivesSettlementMediatorAffirmationStatus: { + _enum: { + Unknown: 'Null', + Pending: 'Null', + Affirmed: { + expiry: 'Option', + }, + }, + }, + /** + * Lookup699: pallet_settlement::Error **/ PalletSettlementError: { _enum: [ @@ -5017,24 +5114,27 @@ export default { 'MultipleReceiptsForOneLeg', 'UnexpectedLegStatus', 'NumberOfVenueSignersExceeded', + 'CallerIsNotAMediator', + 'InvalidExpiryDate', + 'MediatorAffirmationExpired', ], }, /** - * Lookup695: polymesh_primitives::statistics::Stat1stKey + * Lookup702: polymesh_primitives::statistics::Stat1stKey **/ PolymeshPrimitivesStatisticsStat1stKey: { asset: 'PolymeshPrimitivesStatisticsAssetScope', statType: 'PolymeshPrimitivesStatisticsStatType', }, /** - * Lookup696: polymesh_primitives::transfer_compliance::AssetTransferCompliance + * Lookup703: polymesh_primitives::transfer_compliance::AssetTransferCompliance **/ PolymeshPrimitivesTransferComplianceAssetTransferCompliance: { paused: 'bool', requirements: 'BTreeSet', }, /** - * Lookup700: pallet_statistics::Error + * Lookup707: pallet_statistics::Error **/ PalletStatisticsError: { _enum: [ @@ -5048,7 +5148,7 @@ export default { ], }, /** - * Lookup702: pallet_sto::Error + * Lookup709: pallet_sto::Error **/ PalletStoError: { _enum: [ @@ -5067,13 +5167,13 @@ export default { ], }, /** - * Lookup703: pallet_treasury::Error + * Lookup710: pallet_treasury::Error **/ PalletTreasuryError: { _enum: ['InsufficientBalance', 'InvalidIdentity'], }, /** - * Lookup704: pallet_utility::pallet::Error + * Lookup711: pallet_utility::pallet::Error **/ PalletUtilityError: { _enum: [ @@ -5085,13 +5185,13 @@ export default { ], }, /** - * Lookup705: pallet_base::Error + * Lookup712: pallet_base::Error **/ PalletBaseError: { _enum: ['TooLong', 'CounterOverflow'], }, /** - * Lookup707: pallet_external_agents::Error + * Lookup714: pallet_external_agents::Error **/ PalletExternalAgentsError: { _enum: [ @@ -5104,14 +5204,14 @@ export default { ], }, /** - * Lookup708: pallet_relayer::Subsidy + * Lookup715: pallet_relayer::Subsidy **/ PalletRelayerSubsidy: { payingKey: 'AccountId32', remaining: 'u128', }, /** - * Lookup709: pallet_relayer::Error + * Lookup716: pallet_relayer::Error **/ PalletRelayerError: { _enum: [ @@ -5125,7 +5225,7 @@ export default { ], }, /** - * Lookup711: pallet_contracts::wasm::PrefabWasmModule + * Lookup718: pallet_contracts::wasm::PrefabWasmModule **/ PalletContractsWasmPrefabWasmModule: { instructionWeightsVersion: 'Compact', @@ -5135,7 +5235,7 @@ export default { determinism: 'PalletContractsWasmDeterminism', }, /** - * Lookup713: pallet_contracts::wasm::OwnerInfo + * Lookup720: pallet_contracts::wasm::OwnerInfo **/ PalletContractsWasmOwnerInfo: { owner: 'AccountId32', @@ -5143,7 +5243,7 @@ export default { refcount: 'Compact', }, /** - * Lookup714: pallet_contracts::storage::ContractInfo + * Lookup721: pallet_contracts::storage::ContractInfo **/ PalletContractsStorageContractInfo: { trieId: 'Bytes', @@ -5156,13 +5256,13 @@ export default { storageBaseDeposit: 'u128', }, /** - * Lookup717: pallet_contracts::storage::DeletedContract + * Lookup724: pallet_contracts::storage::DeletedContract **/ PalletContractsStorageDeletedContract: { trieId: 'Bytes', }, /** - * Lookup719: pallet_contracts::schedule::Schedule + * Lookup726: pallet_contracts::schedule::Schedule **/ PalletContractsSchedule: { limits: 'PalletContractsScheduleLimits', @@ -5170,7 +5270,7 @@ export default { hostFnWeights: 'PalletContractsScheduleHostFnWeights', }, /** - * Lookup720: pallet_contracts::schedule::Limits + * Lookup727: pallet_contracts::schedule::Limits **/ PalletContractsScheduleLimits: { eventTopics: 'u32', @@ -5184,7 +5284,7 @@ export default { payloadLen: 'u32', }, /** - * Lookup721: pallet_contracts::schedule::InstructionWeights + * Lookup728: pallet_contracts::schedule::InstructionWeights **/ PalletContractsScheduleInstructionWeights: { _alias: { @@ -5246,7 +5346,7 @@ export default { i64rotr: 'u32', }, /** - * Lookup722: pallet_contracts::schedule::HostFnWeights + * Lookup729: pallet_contracts::schedule::HostFnWeights **/ PalletContractsScheduleHostFnWeights: { _alias: { @@ -5313,7 +5413,7 @@ export default { instantiationNonce: 'SpWeightsWeightV2Weight', }, /** - * Lookup723: pallet_contracts::pallet::Error + * Lookup730: pallet_contracts::pallet::Error **/ PalletContractsError: { _enum: [ @@ -5348,7 +5448,7 @@ export default { ], }, /** - * Lookup725: polymesh_contracts::Error + * Lookup732: polymesh_contracts::Error **/ PolymeshContractsError: { _enum: [ @@ -5367,7 +5467,7 @@ export default { ], }, /** - * Lookup726: pallet_preimage::RequestStatus + * Lookup733: pallet_preimage::RequestStatus **/ PalletPreimageRequestStatus: { _enum: { @@ -5383,20 +5483,20 @@ export default { }, }, /** - * Lookup730: pallet_preimage::pallet::Error + * Lookup737: pallet_preimage::pallet::Error **/ PalletPreimageError: { _enum: ['TooBig', 'AlreadyNoted', 'NotAuthorized', 'NotNoted', 'Requested', 'NotRequested'], }, /** - * Lookup731: polymesh_primitives::nft::NFTCollection + * Lookup738: polymesh_primitives::nft::NFTCollection **/ PolymeshPrimitivesNftNftCollection: { id: 'u64', ticker: 'PolymeshPrimitivesTicker', }, /** - * Lookup736: pallet_nft::Error + * Lookup743: pallet_nft::Error **/ PalletNftError: { _enum: [ @@ -5425,43 +5525,43 @@ export default { ], }, /** - * Lookup737: pallet_test_utils::Error + * Lookup744: pallet_test_utils::Error **/ PalletTestUtilsError: 'Null', /** - * Lookup740: frame_system::extensions::check_spec_version::CheckSpecVersion + * Lookup747: frame_system::extensions::check_spec_version::CheckSpecVersion **/ FrameSystemExtensionsCheckSpecVersion: 'Null', /** - * Lookup741: frame_system::extensions::check_tx_version::CheckTxVersion + * Lookup748: frame_system::extensions::check_tx_version::CheckTxVersion **/ FrameSystemExtensionsCheckTxVersion: 'Null', /** - * Lookup742: frame_system::extensions::check_genesis::CheckGenesis + * Lookup749: frame_system::extensions::check_genesis::CheckGenesis **/ FrameSystemExtensionsCheckGenesis: 'Null', /** - * Lookup745: frame_system::extensions::check_nonce::CheckNonce + * Lookup752: frame_system::extensions::check_nonce::CheckNonce **/ FrameSystemExtensionsCheckNonce: 'Compact', /** - * Lookup746: polymesh_extensions::check_weight::CheckWeight + * Lookup753: polymesh_extensions::check_weight::CheckWeight **/ PolymeshExtensionsCheckWeight: 'FrameSystemExtensionsCheckWeight', /** - * Lookup747: frame_system::extensions::check_weight::CheckWeight + * Lookup754: frame_system::extensions::check_weight::CheckWeight **/ FrameSystemExtensionsCheckWeight: 'Null', /** - * Lookup748: pallet_transaction_payment::ChargeTransactionPayment + * Lookup755: pallet_transaction_payment::ChargeTransactionPayment **/ PalletTransactionPaymentChargeTransactionPayment: 'Compact', /** - * Lookup749: pallet_permissions::StoreCallMetadata + * Lookup756: pallet_permissions::StoreCallMetadata **/ PalletPermissionsStoreCallMetadata: 'Null', /** - * Lookup750: polymesh_runtime_testnet::runtime::Runtime + * Lookup757: polymesh_runtime_develop::runtime::Runtime **/ - PolymeshRuntimeTestnetRuntime: 'Null', + PolymeshRuntimeDevelopRuntime: 'Null', }; diff --git a/src/polkadot/registry.ts b/src/polkadot/registry.ts index 1cd286ad79..0d87eadb11 100644 --- a/src/polkadot/registry.ts +++ b/src/polkadot/registry.ts @@ -208,6 +208,9 @@ import type { PalletStoFundraiserTier, PalletStoPriceTier, PalletStoRawEvent, + PalletSudoCall, + PalletSudoError, + PalletSudoRawEvent, PalletTestUtilsCall, PalletTestUtilsError, PalletTestUtilsRawEvent, @@ -311,6 +314,7 @@ import type { PolymeshPrimitivesSettlementInstructionStatus, PolymeshPrimitivesSettlementLeg, PolymeshPrimitivesSettlementLegStatus, + PolymeshPrimitivesSettlementMediatorAffirmationStatus, PolymeshPrimitivesSettlementReceiptDetails, PolymeshPrimitivesSettlementReceiptMetadata, PolymeshPrimitivesSettlementSettlementType, @@ -331,9 +335,9 @@ import type { PolymeshPrimitivesTransferComplianceAssetTransferCompliance, PolymeshPrimitivesTransferComplianceTransferCondition, PolymeshPrimitivesTransferComplianceTransferConditionExemptKey, - PolymeshRuntimeTestnetRuntime, - PolymeshRuntimeTestnetRuntimeOriginCaller, - PolymeshRuntimeTestnetRuntimeSessionKeys, + PolymeshRuntimeDevelopRuntime, + PolymeshRuntimeDevelopRuntimeOriginCaller, + PolymeshRuntimeDevelopRuntimeSessionKeys, SpArithmeticArithmeticError, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAllowedSlots, @@ -579,6 +583,9 @@ declare module '@polkadot/types/types/registry' { PalletStoFundraiserTier: PalletStoFundraiserTier; PalletStoPriceTier: PalletStoPriceTier; PalletStoRawEvent: PalletStoRawEvent; + PalletSudoCall: PalletSudoCall; + PalletSudoError: PalletSudoError; + PalletSudoRawEvent: PalletSudoRawEvent; PalletTestUtilsCall: PalletTestUtilsCall; PalletTestUtilsError: PalletTestUtilsError; PalletTestUtilsRawEvent: PalletTestUtilsRawEvent; @@ -682,6 +689,7 @@ declare module '@polkadot/types/types/registry' { PolymeshPrimitivesSettlementInstructionStatus: PolymeshPrimitivesSettlementInstructionStatus; PolymeshPrimitivesSettlementLeg: PolymeshPrimitivesSettlementLeg; PolymeshPrimitivesSettlementLegStatus: PolymeshPrimitivesSettlementLegStatus; + PolymeshPrimitivesSettlementMediatorAffirmationStatus: PolymeshPrimitivesSettlementMediatorAffirmationStatus; PolymeshPrimitivesSettlementReceiptDetails: PolymeshPrimitivesSettlementReceiptDetails; PolymeshPrimitivesSettlementReceiptMetadata: PolymeshPrimitivesSettlementReceiptMetadata; PolymeshPrimitivesSettlementSettlementType: PolymeshPrimitivesSettlementSettlementType; @@ -702,9 +710,9 @@ declare module '@polkadot/types/types/registry' { PolymeshPrimitivesTransferComplianceAssetTransferCompliance: PolymeshPrimitivesTransferComplianceAssetTransferCompliance; PolymeshPrimitivesTransferComplianceTransferCondition: PolymeshPrimitivesTransferComplianceTransferCondition; PolymeshPrimitivesTransferComplianceTransferConditionExemptKey: PolymeshPrimitivesTransferComplianceTransferConditionExemptKey; - PolymeshRuntimeTestnetRuntime: PolymeshRuntimeTestnetRuntime; - PolymeshRuntimeTestnetRuntimeOriginCaller: PolymeshRuntimeTestnetRuntimeOriginCaller; - PolymeshRuntimeTestnetRuntimeSessionKeys: PolymeshRuntimeTestnetRuntimeSessionKeys; + PolymeshRuntimeDevelopRuntime: PolymeshRuntimeDevelopRuntime; + PolymeshRuntimeDevelopRuntimeOriginCaller: PolymeshRuntimeDevelopRuntimeOriginCaller; + PolymeshRuntimeDevelopRuntimeSessionKeys: PolymeshRuntimeDevelopRuntimeSessionKeys; SpArithmeticArithmeticError: SpArithmeticArithmeticError; SpAuthorityDiscoveryAppPublic: SpAuthorityDiscoveryAppPublic; SpConsensusBabeAllowedSlots: SpConsensusBabeAllowedSlots; diff --git a/src/polkadot/types-lookup.ts b/src/polkadot/types-lookup.ts index c2a6b6f753..e6d7535c8b 100644 --- a/src/polkadot/types-lookup.ts +++ b/src/polkadot/types-lookup.ts @@ -1685,7 +1685,18 @@ declare module '@polkadot/types/lookup' { readonly value: Compact; } - /** @name PolymeshCommonUtilitiesAssetRawEvent (122) */ + /** @name PalletSudoRawEvent (122) */ + interface PalletSudoRawEvent extends Enum { + readonly isSudid: boolean; + readonly asSudid: Result; + readonly isKeyChanged: boolean; + readonly asKeyChanged: Option; + readonly isSudoAsDone: boolean; + readonly asSudoAsDone: Result; + readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone'; + } + + /** @name PolymeshCommonUtilitiesAssetRawEvent (123) */ interface PolymeshCommonUtilitiesAssetRawEvent extends Enum { readonly isAssetCreated: boolean; readonly asAssetCreated: ITuple< @@ -1842,6 +1853,22 @@ declare module '@polkadot/types/lookup' { readonly asRemovePreApprovedAsset: ITuple< [PolymeshPrimitivesIdentityId, PolymeshPrimitivesTicker] >; + readonly isAssetMediatorsAdded: boolean; + readonly asAssetMediatorsAdded: ITuple< + [ + PolymeshPrimitivesIdentityId, + PolymeshPrimitivesTicker, + BTreeSet + ] + >; + readonly isAssetMediatorsRemoved: boolean; + readonly asAssetMediatorsRemoved: ITuple< + [ + PolymeshPrimitivesIdentityId, + PolymeshPrimitivesTicker, + BTreeSet + ] + >; readonly type: | 'AssetCreated' | 'IdentifiersUpdated' @@ -1872,10 +1899,12 @@ declare module '@polkadot/types/lookup' { | 'AssetAffirmationExemption' | 'RemoveAssetAffirmationExemption' | 'PreApprovedAsset' - | 'RemovePreApprovedAsset'; + | 'RemovePreApprovedAsset' + | 'AssetMediatorsAdded' + | 'AssetMediatorsRemoved'; } - /** @name PolymeshPrimitivesAssetAssetType (123) */ + /** @name PolymeshPrimitivesAssetAssetType (124) */ interface PolymeshPrimitivesAssetAssetType extends Enum { readonly isEquityCommon: boolean; readonly isEquityPreferred: boolean; @@ -1906,7 +1935,7 @@ declare module '@polkadot/types/lookup' { | 'NonFungible'; } - /** @name PolymeshPrimitivesAssetNonFungibleType (125) */ + /** @name PolymeshPrimitivesAssetNonFungibleType (126) */ interface PolymeshPrimitivesAssetNonFungibleType extends Enum { readonly isDerivative: boolean; readonly isFixedIncome: boolean; @@ -1916,7 +1945,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Derivative' | 'FixedIncome' | 'Invoice' | 'Custom'; } - /** @name PolymeshPrimitivesAssetIdentifier (128) */ + /** @name PolymeshPrimitivesAssetIdentifier (129) */ interface PolymeshPrimitivesAssetIdentifier extends Enum { readonly isCusip: boolean; readonly asCusip: U8aFixed; @@ -1931,7 +1960,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Cusip' | 'Cins' | 'Isin' | 'Lei' | 'Figi'; } - /** @name PolymeshPrimitivesDocument (134) */ + /** @name PolymeshPrimitivesDocument (135) */ interface PolymeshPrimitivesDocument extends Struct { readonly uri: Bytes; readonly contentHash: PolymeshPrimitivesDocumentHash; @@ -1940,7 +1969,7 @@ declare module '@polkadot/types/lookup' { readonly filingDate: Option; } - /** @name PolymeshPrimitivesDocumentHash (136) */ + /** @name PolymeshPrimitivesDocumentHash (137) */ interface PolymeshPrimitivesDocumentHash extends Enum { readonly isNone: boolean; readonly isH512: boolean; @@ -1962,13 +1991,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'None' | 'H512' | 'H384' | 'H320' | 'H256' | 'H224' | 'H192' | 'H160' | 'H128'; } - /** @name PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail (147) */ + /** @name PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail (148) */ interface PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail extends Struct { readonly expire: Option; readonly lockStatus: PolymeshPrimitivesAssetMetadataAssetMetadataLockStatus; } - /** @name PolymeshPrimitivesAssetMetadataAssetMetadataLockStatus (148) */ + /** @name PolymeshPrimitivesAssetMetadataAssetMetadataLockStatus (149) */ interface PolymeshPrimitivesAssetMetadataAssetMetadataLockStatus extends Enum { readonly isUnlocked: boolean; readonly isLocked: boolean; @@ -1977,14 +2006,14 @@ declare module '@polkadot/types/lookup' { readonly type: 'Unlocked' | 'Locked' | 'LockedUntil'; } - /** @name PolymeshPrimitivesAssetMetadataAssetMetadataSpec (151) */ + /** @name PolymeshPrimitivesAssetMetadataAssetMetadataSpec (152) */ interface PolymeshPrimitivesAssetMetadataAssetMetadataSpec extends Struct { readonly url: Option; readonly description: Option; readonly typeDef: Option; } - /** @name PolymeshPrimitivesAssetMetadataAssetMetadataKey (158) */ + /** @name PolymeshPrimitivesAssetMetadataAssetMetadataKey (159) */ interface PolymeshPrimitivesAssetMetadataAssetMetadataKey extends Enum { readonly isGlobal: boolean; readonly asGlobal: u64; @@ -1993,7 +2022,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Global' | 'Local'; } - /** @name PolymeshPrimitivesPortfolioPortfolioUpdateReason (160) */ + /** @name PolymeshPrimitivesPortfolioPortfolioUpdateReason (161) */ interface PolymeshPrimitivesPortfolioPortfolioUpdateReason extends Enum { readonly isIssued: boolean; readonly asIssued: { @@ -2009,7 +2038,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Issued' | 'Redeemed' | 'Transferred' | 'ControllerTransfer'; } - /** @name PalletCorporateActionsDistributionEvent (163) */ + /** @name PalletCorporateActionsDistributionEvent (165) */ interface PalletCorporateActionsDistributionEvent extends Enum { readonly isCreated: boolean; readonly asCreated: ITuple< @@ -2033,16 +2062,16 @@ declare module '@polkadot/types/lookup' { readonly type: 'Created' | 'BenefitClaimed' | 'Reclaimed' | 'Removed'; } - /** @name PolymeshPrimitivesEventOnly (164) */ + /** @name PolymeshPrimitivesEventOnly (166) */ interface PolymeshPrimitivesEventOnly extends PolymeshPrimitivesIdentityId {} - /** @name PalletCorporateActionsCaId (165) */ + /** @name PalletCorporateActionsCaId (167) */ interface PalletCorporateActionsCaId extends Struct { readonly ticker: PolymeshPrimitivesTicker; readonly localId: u32; } - /** @name PalletCorporateActionsDistribution (167) */ + /** @name PalletCorporateActionsDistribution (169) */ interface PalletCorporateActionsDistribution extends Struct { readonly from: PolymeshPrimitivesIdentityIdPortfolioId; readonly currency: PolymeshPrimitivesTicker; @@ -2054,7 +2083,7 @@ declare module '@polkadot/types/lookup' { readonly expiresAt: Option; } - /** @name PolymeshCommonUtilitiesCheckpointEvent (169) */ + /** @name PolymeshCommonUtilitiesCheckpointEvent (171) */ interface PolymeshCommonUtilitiesCheckpointEvent extends Enum { readonly isCheckpointCreated: boolean; readonly asCheckpointCreated: ITuple< @@ -2087,12 +2116,12 @@ declare module '@polkadot/types/lookup' { | 'ScheduleRemoved'; } - /** @name PolymeshCommonUtilitiesCheckpointScheduleCheckpoints (172) */ + /** @name PolymeshCommonUtilitiesCheckpointScheduleCheckpoints (174) */ interface PolymeshCommonUtilitiesCheckpointScheduleCheckpoints extends Struct { readonly pending: BTreeSet; } - /** @name PolymeshCommonUtilitiesComplianceManagerEvent (175) */ + /** @name PolymeshCommonUtilitiesComplianceManagerEvent (177) */ interface PolymeshCommonUtilitiesComplianceManagerEvent extends Enum { readonly isComplianceRequirementCreated: boolean; readonly asComplianceRequirementCreated: ITuple< @@ -2158,20 +2187,20 @@ declare module '@polkadot/types/lookup' { | 'TrustedDefaultClaimIssuerRemoved'; } - /** @name PolymeshPrimitivesComplianceManagerComplianceRequirement (176) */ + /** @name PolymeshPrimitivesComplianceManagerComplianceRequirement (178) */ interface PolymeshPrimitivesComplianceManagerComplianceRequirement extends Struct { readonly senderConditions: Vec; readonly receiverConditions: Vec; readonly id: u32; } - /** @name PolymeshPrimitivesCondition (178) */ + /** @name PolymeshPrimitivesCondition (180) */ interface PolymeshPrimitivesCondition extends Struct { readonly conditionType: PolymeshPrimitivesConditionConditionType; readonly issuers: Vec; } - /** @name PolymeshPrimitivesConditionConditionType (179) */ + /** @name PolymeshPrimitivesConditionConditionType (181) */ interface PolymeshPrimitivesConditionConditionType extends Enum { readonly isIsPresent: boolean; readonly asIsPresent: PolymeshPrimitivesIdentityClaimClaim; @@ -2186,7 +2215,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'IsPresent' | 'IsAbsent' | 'IsAnyOf' | 'IsNoneOf' | 'IsIdentity'; } - /** @name PolymeshPrimitivesConditionTargetIdentity (181) */ + /** @name PolymeshPrimitivesConditionTargetIdentity (183) */ interface PolymeshPrimitivesConditionTargetIdentity extends Enum { readonly isExternalAgent: boolean; readonly isSpecific: boolean; @@ -2194,13 +2223,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'ExternalAgent' | 'Specific'; } - /** @name PolymeshPrimitivesConditionTrustedIssuer (183) */ + /** @name PolymeshPrimitivesConditionTrustedIssuer (185) */ interface PolymeshPrimitivesConditionTrustedIssuer extends Struct { readonly issuer: PolymeshPrimitivesIdentityId; readonly trustedFor: PolymeshPrimitivesConditionTrustedFor; } - /** @name PolymeshPrimitivesConditionTrustedFor (184) */ + /** @name PolymeshPrimitivesConditionTrustedFor (186) */ interface PolymeshPrimitivesConditionTrustedFor extends Enum { readonly isAny: boolean; readonly isSpecific: boolean; @@ -2208,7 +2237,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Any' | 'Specific'; } - /** @name PolymeshPrimitivesIdentityClaimClaimType (186) */ + /** @name PolymeshPrimitivesIdentityClaimClaimType (188) */ interface PolymeshPrimitivesIdentityClaimClaimType extends Enum { readonly isAccredited: boolean; readonly isAffiliate: boolean; @@ -2234,7 +2263,7 @@ declare module '@polkadot/types/lookup' { | 'Custom'; } - /** @name PalletCorporateActionsEvent (188) */ + /** @name PalletCorporateActionsEvent (190) */ interface PalletCorporateActionsEvent extends Enum { readonly isMaxDetailsLengthChanged: boolean; readonly asMaxDetailsLengthChanged: ITuple<[PolymeshPrimitivesIdentityId, u32]>; @@ -2293,20 +2322,20 @@ declare module '@polkadot/types/lookup' { | 'RecordDateChanged'; } - /** @name PalletCorporateActionsTargetIdentities (189) */ + /** @name PalletCorporateActionsTargetIdentities (191) */ interface PalletCorporateActionsTargetIdentities extends Struct { readonly identities: Vec; readonly treatment: PalletCorporateActionsTargetTreatment; } - /** @name PalletCorporateActionsTargetTreatment (190) */ + /** @name PalletCorporateActionsTargetTreatment (192) */ interface PalletCorporateActionsTargetTreatment extends Enum { readonly isInclude: boolean; readonly isExclude: boolean; readonly type: 'Include' | 'Exclude'; } - /** @name PalletCorporateActionsCorporateAction (192) */ + /** @name PalletCorporateActionsCorporateAction (194) */ interface PalletCorporateActionsCorporateAction extends Struct { readonly kind: PalletCorporateActionsCaKind; readonly declDate: u64; @@ -2316,7 +2345,7 @@ declare module '@polkadot/types/lookup' { readonly withholdingTax: Vec>; } - /** @name PalletCorporateActionsCaKind (193) */ + /** @name PalletCorporateActionsCaKind (195) */ interface PalletCorporateActionsCaKind extends Enum { readonly isPredictableBenefit: boolean; readonly isUnpredictableBenefit: boolean; @@ -2331,13 +2360,13 @@ declare module '@polkadot/types/lookup' { | 'Other'; } - /** @name PalletCorporateActionsRecordDate (195) */ + /** @name PalletCorporateActionsRecordDate (197) */ interface PalletCorporateActionsRecordDate extends Struct { readonly date: u64; readonly checkpoint: PalletCorporateActionsCaCheckpoint; } - /** @name PalletCorporateActionsCaCheckpoint (196) */ + /** @name PalletCorporateActionsCaCheckpoint (198) */ interface PalletCorporateActionsCaCheckpoint extends Enum { readonly isScheduled: boolean; readonly asScheduled: ITuple<[u64, u64]>; @@ -2346,7 +2375,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Scheduled' | 'Existing'; } - /** @name PalletCorporateActionsBallotEvent (201) */ + /** @name PalletCorporateActionsBallotEvent (203) */ interface PalletCorporateActionsBallotEvent extends Enum { readonly isCreated: boolean; readonly asCreated: ITuple< @@ -2395,32 +2424,32 @@ declare module '@polkadot/types/lookup' { | 'Removed'; } - /** @name PalletCorporateActionsBallotBallotTimeRange (202) */ + /** @name PalletCorporateActionsBallotBallotTimeRange (204) */ interface PalletCorporateActionsBallotBallotTimeRange extends Struct { readonly start: u64; readonly end: u64; } - /** @name PalletCorporateActionsBallotBallotMeta (203) */ + /** @name PalletCorporateActionsBallotBallotMeta (205) */ interface PalletCorporateActionsBallotBallotMeta extends Struct { readonly title: Bytes; readonly motions: Vec; } - /** @name PalletCorporateActionsBallotMotion (206) */ + /** @name PalletCorporateActionsBallotMotion (208) */ interface PalletCorporateActionsBallotMotion extends Struct { readonly title: Bytes; readonly infoLink: Bytes; readonly choices: Vec; } - /** @name PalletCorporateActionsBallotBallotVote (212) */ + /** @name PalletCorporateActionsBallotBallotVote (214) */ interface PalletCorporateActionsBallotBallotVote extends Struct { readonly power: u128; readonly fallback: Option; } - /** @name PalletPipsRawEvent (215) */ + /** @name PalletPipsRawEvent (217) */ interface PalletPipsRawEvent extends Enum { readonly isHistoricalPipsPruned: boolean; readonly asHistoricalPipsPruned: ITuple<[PolymeshPrimitivesIdentityId, bool, bool]>; @@ -2508,7 +2537,7 @@ declare module '@polkadot/types/lookup' { | 'ExecutionCancellingFailed'; } - /** @name PalletPipsProposer (216) */ + /** @name PalletPipsProposer (218) */ interface PalletPipsProposer extends Enum { readonly isCommunity: boolean; readonly asCommunity: AccountId32; @@ -2517,14 +2546,14 @@ declare module '@polkadot/types/lookup' { readonly type: 'Community' | 'Committee'; } - /** @name PalletPipsCommittee (217) */ + /** @name PalletPipsCommittee (219) */ interface PalletPipsCommittee extends Enum { readonly isTechnical: boolean; readonly isUpgrade: boolean; readonly type: 'Technical' | 'Upgrade'; } - /** @name PalletPipsProposalData (221) */ + /** @name PalletPipsProposalData (223) */ interface PalletPipsProposalData extends Enum { readonly isHash: boolean; readonly asHash: H256; @@ -2533,7 +2562,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Hash' | 'Proposal'; } - /** @name PalletPipsProposalState (222) */ + /** @name PalletPipsProposalState (224) */ interface PalletPipsProposalState extends Enum { readonly isPending: boolean; readonly isRejected: boolean; @@ -2544,13 +2573,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'Pending' | 'Rejected' | 'Scheduled' | 'Failed' | 'Executed' | 'Expired'; } - /** @name PalletPipsSnapshottedPip (225) */ + /** @name PalletPipsSnapshottedPip (227) */ interface PalletPipsSnapshottedPip extends Struct { readonly id: u32; readonly weight: ITuple<[bool, u128]>; } - /** @name PolymeshCommonUtilitiesPortfolioEvent (231) */ + /** @name PolymeshCommonUtilitiesPortfolioEvent (233) */ interface PolymeshCommonUtilitiesPortfolioEvent extends Enum { readonly isPortfolioCreated: boolean; readonly asPortfolioCreated: ITuple<[PolymeshPrimitivesIdentityId, u64, Bytes]>; @@ -2605,7 +2634,7 @@ declare module '@polkadot/types/lookup' { | 'RevokePreApprovedPortfolio'; } - /** @name PolymeshPrimitivesPortfolioFundDescription (235) */ + /** @name PolymeshPrimitivesPortfolioFundDescription (237) */ interface PolymeshPrimitivesPortfolioFundDescription extends Enum { readonly isFungible: boolean; readonly asFungible: { @@ -2617,13 +2646,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'Fungible' | 'NonFungible'; } - /** @name PolymeshPrimitivesNftNfTs (236) */ + /** @name PolymeshPrimitivesNftNfTs (238) */ interface PolymeshPrimitivesNftNfTs extends Struct { readonly ticker: PolymeshPrimitivesTicker; readonly ids: Vec; } - /** @name PalletProtocolFeeRawEvent (239) */ + /** @name PalletProtocolFeeRawEvent (241) */ interface PalletProtocolFeeRawEvent extends Enum { readonly isFeeSet: boolean; readonly asFeeSet: ITuple<[PolymeshPrimitivesIdentityId, u128]>; @@ -2634,10 +2663,10 @@ declare module '@polkadot/types/lookup' { readonly type: 'FeeSet' | 'CoefficientSet' | 'FeeCharged'; } - /** @name PolymeshPrimitivesPosRatio (240) */ + /** @name PolymeshPrimitivesPosRatio (242) */ interface PolymeshPrimitivesPosRatio extends ITuple<[u32, u32]> {} - /** @name PalletSchedulerEvent (241) */ + /** @name PalletSchedulerEvent (243) */ interface PalletSchedulerEvent extends Enum { readonly isScheduled: boolean; readonly asScheduled: { @@ -2679,7 +2708,7 @@ declare module '@polkadot/types/lookup' { | 'PermanentlyOverweight'; } - /** @name PolymeshCommonUtilitiesSettlementRawEvent (244) */ + /** @name PolymeshCommonUtilitiesSettlementRawEvent (246) */ interface PolymeshCommonUtilitiesSettlementRawEvent extends Enum { readonly isVenueCreated: boolean; readonly asVenueCreated: ITuple< @@ -2763,6 +2792,10 @@ declare module '@polkadot/types/lookup' { readonly asInstructionAutomaticallyAffirmed: ITuple< [PolymeshPrimitivesIdentityId, PolymeshPrimitivesIdentityIdPortfolioId, u64] >; + readonly isMediatorAffirmationReceived: boolean; + readonly asMediatorAffirmationReceived: ITuple<[PolymeshPrimitivesIdentityId, u64]>; + readonly isMediatorAffirmationWithdrawn: boolean; + readonly asMediatorAffirmationWithdrawn: ITuple<[PolymeshPrimitivesIdentityId, u64]>; readonly type: | 'VenueCreated' | 'VenueDetailsUpdated' @@ -2784,10 +2817,12 @@ declare module '@polkadot/types/lookup' { | 'SettlementManuallyExecuted' | 'InstructionCreated' | 'FailedToExecuteInstruction' - | 'InstructionAutomaticallyAffirmed'; + | 'InstructionAutomaticallyAffirmed' + | 'MediatorAffirmationReceived' + | 'MediatorAffirmationWithdrawn'; } - /** @name PolymeshPrimitivesSettlementVenueType (247) */ + /** @name PolymeshPrimitivesSettlementVenueType (249) */ interface PolymeshPrimitivesSettlementVenueType extends Enum { readonly isOther: boolean; readonly isDistribution: boolean; @@ -2796,10 +2831,10 @@ declare module '@polkadot/types/lookup' { readonly type: 'Other' | 'Distribution' | 'Sto' | 'Exchange'; } - /** @name PolymeshPrimitivesSettlementReceiptMetadata (250) */ + /** @name PolymeshPrimitivesSettlementReceiptMetadata (252) */ interface PolymeshPrimitivesSettlementReceiptMetadata extends U8aFixed {} - /** @name PolymeshPrimitivesSettlementSettlementType (252) */ + /** @name PolymeshPrimitivesSettlementSettlementType (254) */ interface PolymeshPrimitivesSettlementSettlementType extends Enum { readonly isSettleOnAffirmation: boolean; readonly isSettleOnBlock: boolean; @@ -2809,7 +2844,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'SettleOnAffirmation' | 'SettleOnBlock' | 'SettleManual'; } - /** @name PolymeshPrimitivesSettlementLeg (254) */ + /** @name PolymeshPrimitivesSettlementLeg (256) */ interface PolymeshPrimitivesSettlementLeg extends Enum { readonly isFungible: boolean; readonly asFungible: { @@ -2834,7 +2869,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Fungible' | 'NonFungible' | 'OffChain'; } - /** @name PolymeshCommonUtilitiesStatisticsEvent (255) */ + /** @name PolymeshCommonUtilitiesStatisticsEvent (257) */ interface PolymeshCommonUtilitiesStatisticsEvent extends Enum { readonly isStatTypesAdded: boolean; readonly asStatTypesAdded: ITuple< @@ -2894,14 +2929,14 @@ declare module '@polkadot/types/lookup' { | 'TransferConditionExemptionsRemoved'; } - /** @name PolymeshPrimitivesStatisticsAssetScope (256) */ + /** @name PolymeshPrimitivesStatisticsAssetScope (258) */ interface PolymeshPrimitivesStatisticsAssetScope extends Enum { readonly isTicker: boolean; readonly asTicker: PolymeshPrimitivesTicker; readonly type: 'Ticker'; } - /** @name PolymeshPrimitivesStatisticsStatType (258) */ + /** @name PolymeshPrimitivesStatisticsStatType (260) */ interface PolymeshPrimitivesStatisticsStatType extends Struct { readonly op: PolymeshPrimitivesStatisticsStatOpType; readonly claimIssuer: Option< @@ -2909,20 +2944,20 @@ declare module '@polkadot/types/lookup' { >; } - /** @name PolymeshPrimitivesStatisticsStatOpType (259) */ + /** @name PolymeshPrimitivesStatisticsStatOpType (261) */ interface PolymeshPrimitivesStatisticsStatOpType extends Enum { readonly isCount: boolean; readonly isBalance: boolean; readonly type: 'Count' | 'Balance'; } - /** @name PolymeshPrimitivesStatisticsStatUpdate (263) */ + /** @name PolymeshPrimitivesStatisticsStatUpdate (265) */ interface PolymeshPrimitivesStatisticsStatUpdate extends Struct { readonly key2: PolymeshPrimitivesStatisticsStat2ndKey; readonly value: Option; } - /** @name PolymeshPrimitivesStatisticsStat2ndKey (264) */ + /** @name PolymeshPrimitivesStatisticsStat2ndKey (266) */ interface PolymeshPrimitivesStatisticsStat2ndKey extends Enum { readonly isNoClaimStat: boolean; readonly isClaim: boolean; @@ -2930,7 +2965,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'NoClaimStat' | 'Claim'; } - /** @name PolymeshPrimitivesStatisticsStatClaim (265) */ + /** @name PolymeshPrimitivesStatisticsStatClaim (267) */ interface PolymeshPrimitivesStatisticsStatClaim extends Enum { readonly isAccredited: boolean; readonly asAccredited: bool; @@ -2941,7 +2976,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Accredited' | 'Affiliate' | 'Jurisdiction'; } - /** @name PolymeshPrimitivesTransferComplianceTransferCondition (269) */ + /** @name PolymeshPrimitivesTransferComplianceTransferCondition (271) */ interface PolymeshPrimitivesTransferComplianceTransferCondition extends Enum { readonly isMaxInvestorCount: boolean; readonly asMaxInvestorCount: u64; @@ -2958,14 +2993,14 @@ declare module '@polkadot/types/lookup' { readonly type: 'MaxInvestorCount' | 'MaxInvestorOwnership' | 'ClaimCount' | 'ClaimOwnership'; } - /** @name PolymeshPrimitivesTransferComplianceTransferConditionExemptKey (270) */ + /** @name PolymeshPrimitivesTransferComplianceTransferConditionExemptKey (272) */ interface PolymeshPrimitivesTransferComplianceTransferConditionExemptKey extends Struct { readonly asset: PolymeshPrimitivesStatisticsAssetScope; readonly op: PolymeshPrimitivesStatisticsStatOpType; readonly claimType: Option; } - /** @name PalletStoRawEvent (272) */ + /** @name PalletStoRawEvent (274) */ interface PalletStoRawEvent extends Enum { readonly isFundraiserCreated: boolean; readonly asFundraiserCreated: ITuple< @@ -3001,7 +3036,7 @@ declare module '@polkadot/types/lookup' { | 'FundraiserClosed'; } - /** @name PalletStoFundraiser (275) */ + /** @name PalletStoFundraiser (277) */ interface PalletStoFundraiser extends Struct { readonly creator: PolymeshPrimitivesIdentityId; readonly offeringPortfolio: PolymeshPrimitivesIdentityIdPortfolioId; @@ -3016,14 +3051,14 @@ declare module '@polkadot/types/lookup' { readonly minimumInvestment: u128; } - /** @name PalletStoFundraiserTier (277) */ + /** @name PalletStoFundraiserTier (279) */ interface PalletStoFundraiserTier extends Struct { readonly total: u128; readonly price: u128; readonly remaining: u128; } - /** @name PalletStoFundraiserStatus (278) */ + /** @name PalletStoFundraiserStatus (280) */ interface PalletStoFundraiserStatus extends Enum { readonly isLive: boolean; readonly isFrozen: boolean; @@ -3032,7 +3067,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Live' | 'Frozen' | 'Closed' | 'ClosedEarly'; } - /** @name PalletTreasuryRawEvent (279) */ + /** @name PalletTreasuryRawEvent (281) */ interface PalletTreasuryRawEvent extends Enum { readonly isTreasuryDisbursement: boolean; readonly asTreasuryDisbursement: ITuple< @@ -3047,7 +3082,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'TreasuryDisbursement' | 'TreasuryDisbursementFailed' | 'TreasuryReimbursement'; } - /** @name PalletUtilityEvent (280) */ + /** @name PalletUtilityEvent (282) */ interface PalletUtilityEvent extends Enum { readonly isBatchInterrupted: boolean; readonly asBatchInterrupted: { @@ -3092,14 +3127,14 @@ declare module '@polkadot/types/lookup' { | 'BatchCompletedOld'; } - /** @name PolymeshCommonUtilitiesBaseEvent (284) */ + /** @name PolymeshCommonUtilitiesBaseEvent (286) */ interface PolymeshCommonUtilitiesBaseEvent extends Enum { readonly isUnexpectedError: boolean; readonly asUnexpectedError: Option; readonly type: 'UnexpectedError'; } - /** @name PolymeshCommonUtilitiesExternalAgentsEvent (286) */ + /** @name PolymeshCommonUtilitiesExternalAgentsEvent (288) */ interface PolymeshCommonUtilitiesExternalAgentsEvent extends Enum { readonly isGroupCreated: boolean; readonly asGroupCreated: ITuple< @@ -3144,7 +3179,7 @@ declare module '@polkadot/types/lookup' { | 'GroupChanged'; } - /** @name PolymeshCommonUtilitiesRelayerRawEvent (287) */ + /** @name PolymeshCommonUtilitiesRelayerRawEvent (289) */ interface PolymeshCommonUtilitiesRelayerRawEvent extends Enum { readonly isAuthorizedPayingKey: boolean; readonly asAuthorizedPayingKey: ITuple< @@ -3165,7 +3200,7 @@ declare module '@polkadot/types/lookup' { | 'UpdatedPolyxLimit'; } - /** @name PalletContractsEvent (288) */ + /** @name PalletContractsEvent (290) */ interface PalletContractsEvent extends Enum { readonly isInstantiated: boolean; readonly asInstantiated: { @@ -3217,7 +3252,7 @@ declare module '@polkadot/types/lookup' { | 'DelegateCalled'; } - /** @name PolymeshContractsRawEvent (289) */ + /** @name PolymeshContractsRawEvent (291) */ interface PolymeshContractsRawEvent extends Enum { readonly isApiHashUpdated: boolean; readonly asApiHashUpdated: ITuple<[PolymeshContractsApi, PolymeshContractsChainVersion, H256]>; @@ -3226,22 +3261,22 @@ declare module '@polkadot/types/lookup' { readonly type: 'ApiHashUpdated' | 'ScRuntimeCall'; } - /** @name PolymeshContractsApi (290) */ + /** @name PolymeshContractsApi (292) */ interface PolymeshContractsApi extends Struct { readonly desc: U8aFixed; readonly major: u32; } - /** @name PolymeshContractsChainVersion (291) */ + /** @name PolymeshContractsChainVersion (293) */ interface PolymeshContractsChainVersion extends Struct { readonly specVersion: u32; readonly txVersion: u32; } - /** @name PolymeshContractsChainExtensionExtrinsicId (292) */ + /** @name PolymeshContractsChainExtensionExtrinsicId (294) */ interface PolymeshContractsChainExtensionExtrinsicId extends ITuple<[u8, u8]> {} - /** @name PalletPreimageEvent (293) */ + /** @name PalletPreimageEvent (295) */ interface PalletPreimageEvent extends Enum { readonly isNoted: boolean; readonly asNoted: { @@ -3258,7 +3293,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Noted' | 'Requested' | 'Cleared'; } - /** @name PolymeshCommonUtilitiesNftEvent (294) */ + /** @name PolymeshCommonUtilitiesNftEvent (296) */ interface PolymeshCommonUtilitiesNftEvent extends Enum { readonly isNftCollectionCreated: boolean; readonly asNftCollectionCreated: ITuple< @@ -3277,7 +3312,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'NftCollectionCreated' | 'NftPortfolioUpdated'; } - /** @name PalletTestUtilsRawEvent (296) */ + /** @name PalletTestUtilsRawEvent (298) */ interface PalletTestUtilsRawEvent extends Enum { readonly isDidStatus: boolean; readonly asDidStatus: ITuple<[PolymeshPrimitivesIdentityId, AccountId32]>; @@ -3286,7 +3321,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'DidStatus' | 'CddStatus'; } - /** @name FrameSystemPhase (297) */ + /** @name FrameSystemPhase (299) */ interface FrameSystemPhase extends Enum { readonly isApplyExtrinsic: boolean; readonly asApplyExtrinsic: u32; @@ -3295,13 +3330,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization'; } - /** @name FrameSystemLastRuntimeUpgradeInfo (300) */ + /** @name FrameSystemLastRuntimeUpgradeInfo (302) */ interface FrameSystemLastRuntimeUpgradeInfo extends Struct { readonly specVersion: Compact; readonly specName: Text; } - /** @name FrameSystemCall (303) */ + /** @name FrameSystemCall (305) */ interface FrameSystemCall extends Enum { readonly isRemark: boolean; readonly asRemark: { @@ -3347,21 +3382,21 @@ declare module '@polkadot/types/lookup' { | 'RemarkWithEvent'; } - /** @name FrameSystemLimitsBlockWeights (307) */ + /** @name FrameSystemLimitsBlockWeights (309) */ interface FrameSystemLimitsBlockWeights extends Struct { readonly baseBlock: SpWeightsWeightV2Weight; readonly maxBlock: SpWeightsWeightV2Weight; readonly perClass: FrameSupportDispatchPerDispatchClassWeightsPerClass; } - /** @name FrameSupportDispatchPerDispatchClassWeightsPerClass (308) */ + /** @name FrameSupportDispatchPerDispatchClassWeightsPerClass (310) */ interface FrameSupportDispatchPerDispatchClassWeightsPerClass extends Struct { readonly normal: FrameSystemLimitsWeightsPerClass; readonly operational: FrameSystemLimitsWeightsPerClass; readonly mandatory: FrameSystemLimitsWeightsPerClass; } - /** @name FrameSystemLimitsWeightsPerClass (309) */ + /** @name FrameSystemLimitsWeightsPerClass (311) */ interface FrameSystemLimitsWeightsPerClass extends Struct { readonly baseExtrinsic: SpWeightsWeightV2Weight; readonly maxExtrinsic: Option; @@ -3369,25 +3404,25 @@ declare module '@polkadot/types/lookup' { readonly reserved: Option; } - /** @name FrameSystemLimitsBlockLength (311) */ + /** @name FrameSystemLimitsBlockLength (313) */ interface FrameSystemLimitsBlockLength extends Struct { readonly max: FrameSupportDispatchPerDispatchClassU32; } - /** @name FrameSupportDispatchPerDispatchClassU32 (312) */ + /** @name FrameSupportDispatchPerDispatchClassU32 (314) */ interface FrameSupportDispatchPerDispatchClassU32 extends Struct { readonly normal: u32; readonly operational: u32; readonly mandatory: u32; } - /** @name SpWeightsRuntimeDbWeight (313) */ + /** @name SpWeightsRuntimeDbWeight (315) */ interface SpWeightsRuntimeDbWeight extends Struct { readonly read: u64; readonly write: u64; } - /** @name SpVersionRuntimeVersion (314) */ + /** @name SpVersionRuntimeVersion (316) */ interface SpVersionRuntimeVersion extends Struct { readonly specName: Text; readonly implName: Text; @@ -3399,7 +3434,7 @@ declare module '@polkadot/types/lookup' { readonly stateVersion: u8; } - /** @name FrameSystemError (319) */ + /** @name FrameSystemError (321) */ interface FrameSystemError extends Enum { readonly isInvalidSpecName: boolean; readonly isSpecVersionNeedsToIncrease: boolean; @@ -3416,10 +3451,10 @@ declare module '@polkadot/types/lookup' { | 'CallFiltered'; } - /** @name SpConsensusBabeAppPublic (322) */ + /** @name SpConsensusBabeAppPublic (324) */ interface SpConsensusBabeAppPublic extends SpCoreSr25519Public {} - /** @name SpConsensusBabeDigestsNextConfigDescriptor (325) */ + /** @name SpConsensusBabeDigestsNextConfigDescriptor (327) */ interface SpConsensusBabeDigestsNextConfigDescriptor extends Enum { readonly isV1: boolean; readonly asV1: { @@ -3429,7 +3464,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'V1'; } - /** @name SpConsensusBabeAllowedSlots (327) */ + /** @name SpConsensusBabeAllowedSlots (329) */ interface SpConsensusBabeAllowedSlots extends Enum { readonly isPrimarySlots: boolean; readonly isPrimaryAndSecondaryPlainSlots: boolean; @@ -3437,7 +3472,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'PrimarySlots' | 'PrimaryAndSecondaryPlainSlots' | 'PrimaryAndSecondaryVRFSlots'; } - /** @name SpConsensusBabeDigestsPreDigest (331) */ + /** @name SpConsensusBabeDigestsPreDigest (333) */ interface SpConsensusBabeDigestsPreDigest extends Enum { readonly isPrimary: boolean; readonly asPrimary: SpConsensusBabeDigestsPrimaryPreDigest; @@ -3448,7 +3483,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Primary' | 'SecondaryPlain' | 'SecondaryVRF'; } - /** @name SpConsensusBabeDigestsPrimaryPreDigest (332) */ + /** @name SpConsensusBabeDigestsPrimaryPreDigest (334) */ interface SpConsensusBabeDigestsPrimaryPreDigest extends Struct { readonly authorityIndex: u32; readonly slot: u64; @@ -3456,13 +3491,13 @@ declare module '@polkadot/types/lookup' { readonly vrfProof: U8aFixed; } - /** @name SpConsensusBabeDigestsSecondaryPlainPreDigest (333) */ + /** @name SpConsensusBabeDigestsSecondaryPlainPreDigest (335) */ interface SpConsensusBabeDigestsSecondaryPlainPreDigest extends Struct { readonly authorityIndex: u32; readonly slot: u64; } - /** @name SpConsensusBabeDigestsSecondaryVRFPreDigest (334) */ + /** @name SpConsensusBabeDigestsSecondaryVRFPreDigest (336) */ interface SpConsensusBabeDigestsSecondaryVRFPreDigest extends Struct { readonly authorityIndex: u32; readonly slot: u64; @@ -3470,13 +3505,13 @@ declare module '@polkadot/types/lookup' { readonly vrfProof: U8aFixed; } - /** @name SpConsensusBabeBabeEpochConfiguration (335) */ + /** @name SpConsensusBabeBabeEpochConfiguration (337) */ interface SpConsensusBabeBabeEpochConfiguration extends Struct { readonly c: ITuple<[u64, u64]>; readonly allowedSlots: SpConsensusBabeAllowedSlots; } - /** @name PalletBabeCall (339) */ + /** @name PalletBabeCall (341) */ interface PalletBabeCall extends Enum { readonly isReportEquivocation: boolean; readonly asReportEquivocation: { @@ -3495,7 +3530,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'ReportEquivocation' | 'ReportEquivocationUnsigned' | 'PlanConfigChange'; } - /** @name SpConsensusSlotsEquivocationProof (340) */ + /** @name SpConsensusSlotsEquivocationProof (342) */ interface SpConsensusSlotsEquivocationProof extends Struct { readonly offender: SpConsensusBabeAppPublic; readonly slot: u64; @@ -3503,7 +3538,7 @@ declare module '@polkadot/types/lookup' { readonly secondHeader: SpRuntimeHeader; } - /** @name SpRuntimeHeader (341) */ + /** @name SpRuntimeHeader (343) */ interface SpRuntimeHeader extends Struct { readonly parentHash: H256; readonly number: Compact; @@ -3512,17 +3547,17 @@ declare module '@polkadot/types/lookup' { readonly digest: SpRuntimeDigest; } - /** @name SpRuntimeBlakeTwo256 (342) */ + /** @name SpRuntimeBlakeTwo256 (344) */ type SpRuntimeBlakeTwo256 = Null; - /** @name SpSessionMembershipProof (343) */ + /** @name SpSessionMembershipProof (345) */ interface SpSessionMembershipProof extends Struct { readonly session: u32; readonly trieNodes: Vec; readonly validatorCount: u32; } - /** @name PalletBabeError (344) */ + /** @name PalletBabeError (346) */ interface PalletBabeError extends Enum { readonly isInvalidEquivocationProof: boolean; readonly isInvalidKeyOwnershipProof: boolean; @@ -3535,7 +3570,7 @@ declare module '@polkadot/types/lookup' { | 'InvalidConfiguration'; } - /** @name PalletTimestampCall (345) */ + /** @name PalletTimestampCall (347) */ interface PalletTimestampCall extends Enum { readonly isSet: boolean; readonly asSet: { @@ -3544,7 +3579,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Set'; } - /** @name PalletIndicesCall (347) */ + /** @name PalletIndicesCall (349) */ interface PalletIndicesCall extends Enum { readonly isClaim: boolean; readonly asClaim: { @@ -3572,7 +3607,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Claim' | 'Transfer' | 'Free' | 'ForceTransfer' | 'Freeze'; } - /** @name PalletIndicesError (349) */ + /** @name PalletIndicesError (351) */ interface PalletIndicesError extends Enum { readonly isNotAssigned: boolean; readonly isNotOwner: boolean; @@ -3582,14 +3617,14 @@ declare module '@polkadot/types/lookup' { readonly type: 'NotAssigned' | 'NotOwner' | 'InUse' | 'NotTransfer' | 'Permanent'; } - /** @name PalletBalancesBalanceLock (351) */ + /** @name PalletBalancesBalanceLock (353) */ interface PalletBalancesBalanceLock extends Struct { readonly id: U8aFixed; readonly amount: u128; readonly reasons: PolymeshCommonUtilitiesBalancesReasons; } - /** @name PolymeshCommonUtilitiesBalancesReasons (352) */ + /** @name PolymeshCommonUtilitiesBalancesReasons (354) */ interface PolymeshCommonUtilitiesBalancesReasons extends Enum { readonly isFee: boolean; readonly isMisc: boolean; @@ -3597,7 +3632,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Fee' | 'Misc' | 'All'; } - /** @name PalletBalancesCall (353) */ + /** @name PalletBalancesCall (355) */ interface PalletBalancesCall extends Enum { readonly isTransfer: boolean; readonly asTransfer: { @@ -3639,7 +3674,7 @@ declare module '@polkadot/types/lookup' { | 'BurnAccountBalance'; } - /** @name PalletBalancesError (354) */ + /** @name PalletBalancesError (356) */ interface PalletBalancesError extends Enum { readonly isLiquidityRestrictions: boolean; readonly isOverflow: boolean; @@ -3654,14 +3689,14 @@ declare module '@polkadot/types/lookup' { | 'ReceiverCddMissing'; } - /** @name PalletTransactionPaymentReleases (356) */ + /** @name PalletTransactionPaymentReleases (358) */ interface PalletTransactionPaymentReleases extends Enum { readonly isV1Ancient: boolean; readonly isV2: boolean; readonly type: 'V1Ancient' | 'V2'; } - /** @name SpWeightsWeightToFeeCoefficient (358) */ + /** @name SpWeightsWeightToFeeCoefficient (360) */ interface SpWeightsWeightToFeeCoefficient extends Struct { readonly coeffInteger: u128; readonly coeffFrac: Perbill; @@ -3669,24 +3704,24 @@ declare module '@polkadot/types/lookup' { readonly degree: u8; } - /** @name PolymeshPrimitivesIdentityDidRecord (359) */ + /** @name PolymeshPrimitivesIdentityDidRecord (361) */ interface PolymeshPrimitivesIdentityDidRecord extends Struct { readonly primaryKey: Option; } - /** @name PalletIdentityClaim1stKey (361) */ + /** @name PalletIdentityClaim1stKey (363) */ interface PalletIdentityClaim1stKey extends Struct { readonly target: PolymeshPrimitivesIdentityId; readonly claimType: PolymeshPrimitivesIdentityClaimClaimType; } - /** @name PalletIdentityClaim2ndKey (362) */ + /** @name PalletIdentityClaim2ndKey (364) */ interface PalletIdentityClaim2ndKey extends Struct { readonly issuer: PolymeshPrimitivesIdentityId; readonly scope: Option; } - /** @name PolymeshPrimitivesSecondaryKeyKeyRecord (363) */ + /** @name PolymeshPrimitivesSecondaryKeyKeyRecord (365) */ interface PolymeshPrimitivesSecondaryKeyKeyRecord extends Enum { readonly isPrimaryKey: boolean; readonly asPrimaryKey: PolymeshPrimitivesIdentityId; @@ -3699,7 +3734,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'PrimaryKey' | 'SecondaryKey' | 'MultiSigSignerKey'; } - /** @name PolymeshPrimitivesAuthorization (366) */ + /** @name PolymeshPrimitivesAuthorization (368) */ interface PolymeshPrimitivesAuthorization extends Struct { readonly authorizationData: PolymeshPrimitivesAuthorizationAuthorizationData; readonly authorizedBy: PolymeshPrimitivesIdentityId; @@ -3708,7 +3743,7 @@ declare module '@polkadot/types/lookup' { readonly count: u32; } - /** @name PalletIdentityCall (369) */ + /** @name PalletIdentityCall (372) */ interface PalletIdentityCall extends Enum { readonly isCddRegisterDid: boolean; readonly asCddRegisterDid: { @@ -3843,19 +3878,19 @@ declare module '@polkadot/types/lookup' { | 'UnlinkChildIdentity'; } - /** @name PolymeshCommonUtilitiesIdentitySecondaryKeyWithAuth (371) */ + /** @name PolymeshCommonUtilitiesIdentitySecondaryKeyWithAuth (374) */ interface PolymeshCommonUtilitiesIdentitySecondaryKeyWithAuth extends Struct { readonly secondaryKey: PolymeshPrimitivesSecondaryKey; readonly authSignature: H512; } - /** @name PolymeshCommonUtilitiesIdentityCreateChildIdentityWithAuth (374) */ + /** @name PolymeshCommonUtilitiesIdentityCreateChildIdentityWithAuth (377) */ interface PolymeshCommonUtilitiesIdentityCreateChildIdentityWithAuth extends Struct { readonly key: AccountId32; readonly authSignature: H512; } - /** @name PalletIdentityError (375) */ + /** @name PalletIdentityError (378) */ interface PalletIdentityError extends Enum { readonly isAlreadyLinked: boolean; readonly isMissingCurrentIdentity: boolean; @@ -3926,14 +3961,14 @@ declare module '@polkadot/types/lookup' { | 'ExceptNotAllowedForExtrinsics'; } - /** @name PolymeshCommonUtilitiesGroupInactiveMember (377) */ + /** @name PolymeshCommonUtilitiesGroupInactiveMember (380) */ interface PolymeshCommonUtilitiesGroupInactiveMember extends Struct { readonly id: PolymeshPrimitivesIdentityId; readonly deactivatedAt: u64; readonly expiry: Option; } - /** @name PalletGroupCall (378) */ + /** @name PalletGroupCall (381) */ interface PalletGroupCall extends Enum { readonly isSetActiveMembersLimit: boolean; readonly asSetActiveMembersLimit: { @@ -3973,7 +4008,7 @@ declare module '@polkadot/types/lookup' { | 'AbdicateMembership'; } - /** @name PalletGroupError (379) */ + /** @name PalletGroupError (382) */ interface PalletGroupError extends Enum { readonly isOnlyPrimaryKeyAllowed: boolean; readonly isDuplicateMember: boolean; @@ -3992,7 +4027,7 @@ declare module '@polkadot/types/lookup' { | 'ActiveMembersLimitOverflow'; } - /** @name PalletCommitteeCall (381) */ + /** @name PalletCommitteeCall (384) */ interface PalletCommitteeCall extends Enum { readonly isSetVoteThreshold: boolean; readonly asSetVoteThreshold: { @@ -4026,7 +4061,7 @@ declare module '@polkadot/types/lookup' { | 'Vote'; } - /** @name PalletMultisigCall (387) */ + /** @name PalletMultisigCall (390) */ interface PalletMultisigCall extends Enum { readonly isCreateMultisig: boolean; readonly asCreateMultisig: { @@ -4160,7 +4195,7 @@ declare module '@polkadot/types/lookup' { | 'RemoveCreatorControls'; } - /** @name PalletBridgeCall (388) */ + /** @name PalletBridgeCall (391) */ interface PalletBridgeCall extends Enum { readonly isChangeController: boolean; readonly asChangeController: { @@ -4245,7 +4280,7 @@ declare module '@polkadot/types/lookup' { | 'RemoveTxs'; } - /** @name PalletStakingCall (392) */ + /** @name PalletStakingCall (395) */ interface PalletStakingCall extends Enum { readonly isBond: boolean; readonly asBond: { @@ -4422,7 +4457,7 @@ declare module '@polkadot/types/lookup' { | 'ChillFromGovernance'; } - /** @name PalletStakingRewardDestination (393) */ + /** @name PalletStakingRewardDestination (396) */ interface PalletStakingRewardDestination extends Enum { readonly isStaked: boolean; readonly isStash: boolean; @@ -4432,13 +4467,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'Staked' | 'Stash' | 'Controller' | 'Account'; } - /** @name PalletStakingValidatorPrefs (394) */ + /** @name PalletStakingValidatorPrefs (397) */ interface PalletStakingValidatorPrefs extends Struct { readonly commission: Compact; readonly blocked: bool; } - /** @name PalletStakingCompactAssignments (400) */ + /** @name PalletStakingCompactAssignments (403) */ interface PalletStakingCompactAssignments extends Struct { readonly votes1: Vec, Compact]>>; readonly votes2: Vec< @@ -4488,42 +4523,42 @@ declare module '@polkadot/types/lookup' { >; } - /** @name SpNposElectionsElectionScore (451) */ + /** @name SpNposElectionsElectionScore (454) */ interface SpNposElectionsElectionScore extends Struct { readonly minimalStake: u128; readonly sumStake: u128; readonly sumStakeSquared: u128; } - /** @name PalletStakingElectionSize (452) */ + /** @name PalletStakingElectionSize (455) */ interface PalletStakingElectionSize extends Struct { readonly validators: Compact; readonly nominators: Compact; } - /** @name PalletSessionCall (453) */ + /** @name PalletSessionCall (456) */ interface PalletSessionCall extends Enum { readonly isSetKeys: boolean; readonly asSetKeys: { - readonly keys_: PolymeshRuntimeTestnetRuntimeSessionKeys; + readonly keys_: PolymeshRuntimeDevelopRuntimeSessionKeys; readonly proof: Bytes; } & Struct; readonly isPurgeKeys: boolean; readonly type: 'SetKeys' | 'PurgeKeys'; } - /** @name PolymeshRuntimeTestnetRuntimeSessionKeys (454) */ - interface PolymeshRuntimeTestnetRuntimeSessionKeys extends Struct { + /** @name PolymeshRuntimeDevelopRuntimeSessionKeys (457) */ + interface PolymeshRuntimeDevelopRuntimeSessionKeys extends Struct { readonly grandpa: SpConsensusGrandpaAppPublic; readonly babe: SpConsensusBabeAppPublic; readonly imOnline: PalletImOnlineSr25519AppSr25519Public; readonly authorityDiscovery: SpAuthorityDiscoveryAppPublic; } - /** @name SpAuthorityDiscoveryAppPublic (455) */ + /** @name SpAuthorityDiscoveryAppPublic (458) */ interface SpAuthorityDiscoveryAppPublic extends SpCoreSr25519Public {} - /** @name PalletGrandpaCall (456) */ + /** @name PalletGrandpaCall (459) */ interface PalletGrandpaCall extends Enum { readonly isReportEquivocation: boolean; readonly asReportEquivocation: { @@ -4543,13 +4578,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'ReportEquivocation' | 'ReportEquivocationUnsigned' | 'NoteStalled'; } - /** @name SpConsensusGrandpaEquivocationProof (457) */ + /** @name SpConsensusGrandpaEquivocationProof (460) */ interface SpConsensusGrandpaEquivocationProof extends Struct { readonly setId: u64; readonly equivocation: SpConsensusGrandpaEquivocation; } - /** @name SpConsensusGrandpaEquivocation (458) */ + /** @name SpConsensusGrandpaEquivocation (461) */ interface SpConsensusGrandpaEquivocation extends Enum { readonly isPrevote: boolean; readonly asPrevote: FinalityGrandpaEquivocationPrevote; @@ -4558,7 +4593,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Prevote' | 'Precommit'; } - /** @name FinalityGrandpaEquivocationPrevote (459) */ + /** @name FinalityGrandpaEquivocationPrevote (462) */ interface FinalityGrandpaEquivocationPrevote extends Struct { readonly roundNumber: u64; readonly identity: SpConsensusGrandpaAppPublic; @@ -4566,19 +4601,19 @@ declare module '@polkadot/types/lookup' { readonly second: ITuple<[FinalityGrandpaPrevote, SpConsensusGrandpaAppSignature]>; } - /** @name FinalityGrandpaPrevote (460) */ + /** @name FinalityGrandpaPrevote (463) */ interface FinalityGrandpaPrevote extends Struct { readonly targetHash: H256; readonly targetNumber: u32; } - /** @name SpConsensusGrandpaAppSignature (461) */ + /** @name SpConsensusGrandpaAppSignature (464) */ interface SpConsensusGrandpaAppSignature extends SpCoreEd25519Signature {} - /** @name SpCoreEd25519Signature (462) */ + /** @name SpCoreEd25519Signature (465) */ interface SpCoreEd25519Signature extends U8aFixed {} - /** @name FinalityGrandpaEquivocationPrecommit (464) */ + /** @name FinalityGrandpaEquivocationPrecommit (467) */ interface FinalityGrandpaEquivocationPrecommit extends Struct { readonly roundNumber: u64; readonly identity: SpConsensusGrandpaAppPublic; @@ -4586,13 +4621,13 @@ declare module '@polkadot/types/lookup' { readonly second: ITuple<[FinalityGrandpaPrecommit, SpConsensusGrandpaAppSignature]>; } - /** @name FinalityGrandpaPrecommit (465) */ + /** @name FinalityGrandpaPrecommit (468) */ interface FinalityGrandpaPrecommit extends Struct { readonly targetHash: H256; readonly targetNumber: u32; } - /** @name PalletImOnlineCall (467) */ + /** @name PalletImOnlineCall (470) */ interface PalletImOnlineCall extends Enum { readonly isHeartbeat: boolean; readonly asHeartbeat: { @@ -4602,7 +4637,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Heartbeat'; } - /** @name PalletImOnlineHeartbeat (468) */ + /** @name PalletImOnlineHeartbeat (471) */ interface PalletImOnlineHeartbeat extends Struct { readonly blockNumber: u32; readonly networkState: SpCoreOffchainOpaqueNetworkState; @@ -4611,19 +4646,42 @@ declare module '@polkadot/types/lookup' { readonly validatorsLen: u32; } - /** @name SpCoreOffchainOpaqueNetworkState (469) */ + /** @name SpCoreOffchainOpaqueNetworkState (472) */ interface SpCoreOffchainOpaqueNetworkState extends Struct { readonly peerId: OpaquePeerId; readonly externalAddresses: Vec; } - /** @name PalletImOnlineSr25519AppSr25519Signature (473) */ + /** @name PalletImOnlineSr25519AppSr25519Signature (476) */ interface PalletImOnlineSr25519AppSr25519Signature extends SpCoreSr25519Signature {} - /** @name SpCoreSr25519Signature (474) */ + /** @name SpCoreSr25519Signature (477) */ interface SpCoreSr25519Signature extends U8aFixed {} - /** @name PalletAssetCall (475) */ + /** @name PalletSudoCall (478) */ + interface PalletSudoCall extends Enum { + readonly isSudo: boolean; + readonly asSudo: { + readonly call: Call; + } & Struct; + readonly isSudoUncheckedWeight: boolean; + readonly asSudoUncheckedWeight: { + readonly call: Call; + readonly weight: SpWeightsWeightV2Weight; + } & Struct; + readonly isSetKey: boolean; + readonly asSetKey: { + readonly new_: MultiAddress; + } & Struct; + readonly isSudoAs: boolean; + readonly asSudoAs: { + readonly who: MultiAddress; + readonly call: Call; + } & Struct; + readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs'; + } + + /** @name PalletAssetCall (479) */ interface PalletAssetCall extends Enum { readonly isRegisterTicker: boolean; readonly asRegisterTicker: { @@ -4782,6 +4840,16 @@ declare module '@polkadot/types/lookup' { readonly asRemoveTickerPreApproval: { readonly ticker: PolymeshPrimitivesTicker; } & Struct; + readonly isAddMandatoryMediators: boolean; + readonly asAddMandatoryMediators: { + readonly ticker: PolymeshPrimitivesTicker; + readonly mediators: BTreeSet; + } & Struct; + readonly isRemoveMandatoryMediators: boolean; + readonly asRemoveMandatoryMediators: { + readonly ticker: PolymeshPrimitivesTicker; + readonly mediators: BTreeSet; + } & Struct; readonly type: | 'RegisterTicker' | 'AcceptTickerTransfer' @@ -4812,10 +4880,12 @@ declare module '@polkadot/types/lookup' { | 'ExemptTickerAffirmation' | 'RemoveTickerAffirmationExemption' | 'PreApproveTicker' - | 'RemoveTickerPreApproval'; + | 'RemoveTickerPreApproval' + | 'AddMandatoryMediators' + | 'RemoveMandatoryMediators'; } - /** @name PalletCorporateActionsDistributionCall (477) */ + /** @name PalletCorporateActionsDistributionCall (482) */ interface PalletCorporateActionsDistributionCall extends Enum { readonly isDistribute: boolean; readonly asDistribute: { @@ -4847,7 +4917,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Distribute' | 'Claim' | 'PushBenefit' | 'Reclaim' | 'RemoveDistribution'; } - /** @name PalletAssetCheckpointCall (479) */ + /** @name PalletAssetCheckpointCall (484) */ interface PalletAssetCheckpointCall extends Enum { readonly isCreateCheckpoint: boolean; readonly asCreateCheckpoint: { @@ -4874,7 +4944,7 @@ declare module '@polkadot/types/lookup' { | 'RemoveSchedule'; } - /** @name PalletComplianceManagerCall (480) */ + /** @name PalletComplianceManagerCall (485) */ interface PalletComplianceManagerCall extends Enum { readonly isAddComplianceRequirement: boolean; readonly asAddComplianceRequirement: { @@ -4931,7 +5001,7 @@ declare module '@polkadot/types/lookup' { | 'ChangeComplianceRequirement'; } - /** @name PalletCorporateActionsCall (481) */ + /** @name PalletCorporateActionsCall (486) */ interface PalletCorporateActionsCall extends Enum { readonly isSetMaxDetailsLength: boolean; readonly asSetMaxDetailsLength: { @@ -5000,7 +5070,7 @@ declare module '@polkadot/types/lookup' { | 'InitiateCorporateActionAndDistribute'; } - /** @name PalletCorporateActionsRecordDateSpec (483) */ + /** @name PalletCorporateActionsRecordDateSpec (488) */ interface PalletCorporateActionsRecordDateSpec extends Enum { readonly isScheduled: boolean; readonly asScheduled: u64; @@ -5011,7 +5081,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Scheduled' | 'ExistingSchedule' | 'Existing'; } - /** @name PalletCorporateActionsInitiateCorporateActionArgs (486) */ + /** @name PalletCorporateActionsInitiateCorporateActionArgs (491) */ interface PalletCorporateActionsInitiateCorporateActionArgs extends Struct { readonly ticker: PolymeshPrimitivesTicker; readonly kind: PalletCorporateActionsCaKind; @@ -5023,7 +5093,7 @@ declare module '@polkadot/types/lookup' { readonly withholdingTax: Option>>; } - /** @name PalletCorporateActionsBallotCall (487) */ + /** @name PalletCorporateActionsBallotCall (492) */ interface PalletCorporateActionsBallotCall extends Enum { readonly isAttachBallot: boolean; readonly asAttachBallot: { @@ -5065,7 +5135,7 @@ declare module '@polkadot/types/lookup' { | 'RemoveBallot'; } - /** @name PalletPipsCall (488) */ + /** @name PalletPipsCall (493) */ interface PalletPipsCall extends Enum { readonly isSetPruneHistoricalPips: boolean; readonly asSetPruneHistoricalPips: { @@ -5156,7 +5226,7 @@ declare module '@polkadot/types/lookup' { | 'ExpireScheduledPip'; } - /** @name PalletPipsSnapshotResult (491) */ + /** @name PalletPipsSnapshotResult (496) */ interface PalletPipsSnapshotResult extends Enum { readonly isApprove: boolean; readonly isReject: boolean; @@ -5164,7 +5234,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Approve' | 'Reject' | 'Skip'; } - /** @name PalletPortfolioCall (492) */ + /** @name PalletPortfolioCall (497) */ interface PalletPortfolioCall extends Enum { readonly isCreatePortfolio: boolean; readonly asCreatePortfolio: { @@ -5230,13 +5300,13 @@ declare module '@polkadot/types/lookup' { | 'CreateCustodyPortfolio'; } - /** @name PolymeshPrimitivesPortfolioFund (494) */ + /** @name PolymeshPrimitivesPortfolioFund (499) */ interface PolymeshPrimitivesPortfolioFund extends Struct { readonly description: PolymeshPrimitivesPortfolioFundDescription; readonly memo: Option; } - /** @name PalletProtocolFeeCall (495) */ + /** @name PalletProtocolFeeCall (500) */ interface PalletProtocolFeeCall extends Enum { readonly isChangeCoefficient: boolean; readonly asChangeCoefficient: { @@ -5250,7 +5320,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'ChangeCoefficient' | 'ChangeBaseFee'; } - /** @name PolymeshCommonUtilitiesProtocolFeeProtocolOp (496) */ + /** @name PolymeshCommonUtilitiesProtocolFeeProtocolOp (501) */ interface PolymeshCommonUtilitiesProtocolFeeProtocolOp extends Enum { readonly isAssetRegisterTicker: boolean; readonly isAssetIssue: boolean; @@ -5287,7 +5357,7 @@ declare module '@polkadot/types/lookup' { | 'IdentityCreateChildIdentity'; } - /** @name PalletSchedulerCall (497) */ + /** @name PalletSchedulerCall (502) */ interface PalletSchedulerCall extends Enum { readonly isSchedule: boolean; readonly asSchedule: { @@ -5337,7 +5407,7 @@ declare module '@polkadot/types/lookup' { | 'ScheduleNamedAfter'; } - /** @name PalletSettlementCall (499) */ + /** @name PalletSettlementCall (504) */ interface PalletSettlementCall extends Enum { readonly isCreateVenue: boolean; readonly asCreateVenue: { @@ -5455,6 +5525,41 @@ declare module '@polkadot/types/lookup' { readonly portfolios: Vec; readonly numberOfAssets: Option; } & Struct; + readonly isAddInstructionWithMediators: boolean; + readonly asAddInstructionWithMediators: { + readonly venueId: u64; + readonly settlementType: PolymeshPrimitivesSettlementSettlementType; + readonly tradeDate: Option; + readonly valueDate: Option; + readonly legs: Vec; + readonly instructionMemo: Option; + readonly mediators: BTreeSet; + } & Struct; + readonly isAddAndAffirmWithMediators: boolean; + readonly asAddAndAffirmWithMediators: { + readonly venueId: u64; + readonly settlementType: PolymeshPrimitivesSettlementSettlementType; + readonly tradeDate: Option; + readonly valueDate: Option; + readonly legs: Vec; + readonly portfolios: Vec; + readonly instructionMemo: Option; + readonly mediators: BTreeSet; + } & Struct; + readonly isAffirmInstructionAsMediator: boolean; + readonly asAffirmInstructionAsMediator: { + readonly instructionId: u64; + readonly expiry: Option; + } & Struct; + readonly isWithdrawAffirmationAsMediator: boolean; + readonly asWithdrawAffirmationAsMediator: { + readonly instructionId: u64; + } & Struct; + readonly isRejectInstructionAsMediator: boolean; + readonly asRejectInstructionAsMediator: { + readonly instructionId: u64; + readonly numberOfAssets: Option; + } & Struct; readonly type: | 'CreateVenue' | 'UpdateVenueDetails' @@ -5474,10 +5579,15 @@ declare module '@polkadot/types/lookup' { | 'AffirmWithReceiptsWithCount' | 'AffirmInstructionWithCount' | 'RejectInstructionWithCount' - | 'WithdrawAffirmationWithCount'; + | 'WithdrawAffirmationWithCount' + | 'AddInstructionWithMediators' + | 'AddAndAffirmWithMediators' + | 'AffirmInstructionAsMediator' + | 'WithdrawAffirmationAsMediator' + | 'RejectInstructionAsMediator'; } - /** @name PolymeshPrimitivesSettlementReceiptDetails (501) */ + /** @name PolymeshPrimitivesSettlementReceiptDetails (506) */ interface PolymeshPrimitivesSettlementReceiptDetails extends Struct { readonly uid: u64; readonly instructionId: u64; @@ -5487,7 +5597,7 @@ declare module '@polkadot/types/lookup' { readonly metadata: Option; } - /** @name SpRuntimeMultiSignature (502) */ + /** @name SpRuntimeMultiSignature (507) */ interface SpRuntimeMultiSignature extends Enum { readonly isEd25519: boolean; readonly asEd25519: SpCoreEd25519Signature; @@ -5498,24 +5608,24 @@ declare module '@polkadot/types/lookup' { readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa'; } - /** @name SpCoreEcdsaSignature (503) */ + /** @name SpCoreEcdsaSignature (508) */ interface SpCoreEcdsaSignature extends U8aFixed {} - /** @name PolymeshPrimitivesSettlementAffirmationCount (506) */ + /** @name PolymeshPrimitivesSettlementAffirmationCount (511) */ interface PolymeshPrimitivesSettlementAffirmationCount extends Struct { readonly senderAssetCount: PolymeshPrimitivesSettlementAssetCount; readonly receiverAssetCount: PolymeshPrimitivesSettlementAssetCount; readonly offchainCount: u32; } - /** @name PolymeshPrimitivesSettlementAssetCount (507) */ + /** @name PolymeshPrimitivesSettlementAssetCount (512) */ interface PolymeshPrimitivesSettlementAssetCount extends Struct { readonly fungible: u32; readonly nonFungible: u32; readonly offChain: u32; } - /** @name PalletStatisticsCall (509) */ + /** @name PalletStatisticsCall (515) */ interface PalletStatisticsCall extends Enum { readonly isSetActiveAssetStats: boolean; readonly asSetActiveAssetStats: { @@ -5546,7 +5656,7 @@ declare module '@polkadot/types/lookup' { | 'SetEntitiesExempt'; } - /** @name PalletStoCall (514) */ + /** @name PalletStoCall (519) */ interface PalletStoCall extends Enum { readonly isCreateFundraiser: boolean; readonly asCreateFundraiser: { @@ -5602,13 +5712,13 @@ declare module '@polkadot/types/lookup' { | 'Stop'; } - /** @name PalletStoPriceTier (516) */ + /** @name PalletStoPriceTier (521) */ interface PalletStoPriceTier extends Struct { readonly total: u128; readonly price: u128; } - /** @name PalletTreasuryCall (518) */ + /** @name PalletTreasuryCall (523) */ interface PalletTreasuryCall extends Enum { readonly isDisbursement: boolean; readonly asDisbursement: { @@ -5621,13 +5731,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'Disbursement' | 'Reimbursement'; } - /** @name PolymeshPrimitivesBeneficiary (520) */ + /** @name PolymeshPrimitivesBeneficiary (525) */ interface PolymeshPrimitivesBeneficiary extends Struct { readonly id: PolymeshPrimitivesIdentityId; readonly amount: u128; } - /** @name PalletUtilityCall (521) */ + /** @name PalletUtilityCall (526) */ interface PalletUtilityCall extends Enum { readonly isBatch: boolean; readonly asBatch: { @@ -5645,7 +5755,7 @@ declare module '@polkadot/types/lookup' { } & Struct; readonly isDispatchAs: boolean; readonly asDispatchAs: { - readonly asOrigin: PolymeshRuntimeTestnetRuntimeOriginCaller; + readonly asOrigin: PolymeshRuntimeDevelopRuntimeOriginCaller; readonly call: Call; } & Struct; readonly isForceBatch: boolean; @@ -5687,14 +5797,14 @@ declare module '@polkadot/types/lookup' { | 'AsDerivative'; } - /** @name PalletUtilityUniqueCall (523) */ + /** @name PalletUtilityUniqueCall (528) */ interface PalletUtilityUniqueCall extends Struct { readonly nonce: u64; readonly call: Call; } - /** @name PolymeshRuntimeTestnetRuntimeOriginCaller (524) */ - interface PolymeshRuntimeTestnetRuntimeOriginCaller extends Enum { + /** @name PolymeshRuntimeDevelopRuntimeOriginCaller (529) */ + interface PolymeshRuntimeDevelopRuntimeOriginCaller extends Enum { readonly isSystem: boolean; readonly asSystem: FrameSupportDispatchRawOrigin; readonly isVoid: boolean; @@ -5712,7 +5822,7 @@ declare module '@polkadot/types/lookup' { | 'UpgradeCommittee'; } - /** @name FrameSupportDispatchRawOrigin (525) */ + /** @name FrameSupportDispatchRawOrigin (530) */ interface FrameSupportDispatchRawOrigin extends Enum { readonly isRoot: boolean; readonly isSigned: boolean; @@ -5721,31 +5831,31 @@ declare module '@polkadot/types/lookup' { readonly type: 'Root' | 'Signed' | 'None'; } - /** @name PalletCommitteeRawOriginInstance1 (526) */ + /** @name PalletCommitteeRawOriginInstance1 (531) */ interface PalletCommitteeRawOriginInstance1 extends Enum { readonly isEndorsed: boolean; readonly type: 'Endorsed'; } - /** @name PalletCommitteeRawOriginInstance3 (527) */ + /** @name PalletCommitteeRawOriginInstance3 (532) */ interface PalletCommitteeRawOriginInstance3 extends Enum { readonly isEndorsed: boolean; readonly type: 'Endorsed'; } - /** @name PalletCommitteeRawOriginInstance4 (528) */ + /** @name PalletCommitteeRawOriginInstance4 (533) */ interface PalletCommitteeRawOriginInstance4 extends Enum { readonly isEndorsed: boolean; readonly type: 'Endorsed'; } - /** @name SpCoreVoid (529) */ + /** @name SpCoreVoid (534) */ type SpCoreVoid = Null; - /** @name PalletBaseCall (530) */ + /** @name PalletBaseCall (535) */ type PalletBaseCall = Null; - /** @name PalletExternalAgentsCall (531) */ + /** @name PalletExternalAgentsCall (536) */ interface PalletExternalAgentsCall extends Enum { readonly isCreateGroup: boolean; readonly asCreateGroup: { @@ -5801,7 +5911,7 @@ declare module '@polkadot/types/lookup' { | 'CreateAndChangeCustomGroup'; } - /** @name PalletRelayerCall (532) */ + /** @name PalletRelayerCall (537) */ interface PalletRelayerCall extends Enum { readonly isSetPayingKey: boolean; readonly asSetPayingKey: { @@ -5841,7 +5951,7 @@ declare module '@polkadot/types/lookup' { | 'DecreasePolyxLimit'; } - /** @name PalletContractsCall (533) */ + /** @name PalletContractsCall (538) */ interface PalletContractsCall extends Enum { readonly isCallOldWeight: boolean; readonly asCallOldWeight: { @@ -5922,14 +6032,14 @@ declare module '@polkadot/types/lookup' { | 'Instantiate'; } - /** @name PalletContractsWasmDeterminism (537) */ + /** @name PalletContractsWasmDeterminism (542) */ interface PalletContractsWasmDeterminism extends Enum { readonly isDeterministic: boolean; readonly isAllowIndeterminism: boolean; readonly type: 'Deterministic' | 'AllowIndeterminism'; } - /** @name PolymeshContractsCall (538) */ + /** @name PolymeshContractsCall (543) */ interface PolymeshContractsCall extends Enum { readonly isInstantiateWithCodePerms: boolean; readonly asInstantiateWithCodePerms: { @@ -5987,18 +6097,18 @@ declare module '@polkadot/types/lookup' { | 'UpgradeApi'; } - /** @name PolymeshContractsNextUpgrade (541) */ + /** @name PolymeshContractsNextUpgrade (546) */ interface PolymeshContractsNextUpgrade extends Struct { readonly chainVersion: PolymeshContractsChainVersion; readonly apiHash: PolymeshContractsApiCodeHash; } - /** @name PolymeshContractsApiCodeHash (542) */ + /** @name PolymeshContractsApiCodeHash (547) */ interface PolymeshContractsApiCodeHash extends Struct { readonly hash_: H256; } - /** @name PalletPreimageCall (543) */ + /** @name PalletPreimageCall (548) */ interface PalletPreimageCall extends Enum { readonly isNotePreimage: boolean; readonly asNotePreimage: { @@ -6019,7 +6129,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'NotePreimage' | 'UnnotePreimage' | 'RequestPreimage' | 'UnrequestPreimage'; } - /** @name PalletNftCall (544) */ + /** @name PalletNftCall (549) */ interface PalletNftCall extends Enum { readonly isCreateNftCollection: boolean; readonly asCreateNftCollection: { @@ -6049,17 +6159,17 @@ declare module '@polkadot/types/lookup' { readonly type: 'CreateNftCollection' | 'IssueNft' | 'RedeemNft' | 'ControllerTransfer'; } - /** @name PolymeshPrimitivesNftNftCollectionKeys (546) */ + /** @name PolymeshPrimitivesNftNftCollectionKeys (551) */ interface PolymeshPrimitivesNftNftCollectionKeys extends Vec {} - /** @name PolymeshPrimitivesNftNftMetadataAttribute (549) */ + /** @name PolymeshPrimitivesNftNftMetadataAttribute (554) */ interface PolymeshPrimitivesNftNftMetadataAttribute extends Struct { readonly key: PolymeshPrimitivesAssetMetadataAssetMetadataKey; readonly value: Bytes; } - /** @name PalletTestUtilsCall (550) */ + /** @name PalletTestUtilsCall (555) */ interface PalletTestUtilsCall extends Enum { readonly isRegisterDid: boolean; readonly asRegisterDid: { @@ -6077,7 +6187,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'RegisterDid' | 'MockCddRegisterDid' | 'GetMyDid' | 'GetCddOf'; } - /** @name PalletCommitteePolymeshVotes (551) */ + /** @name PalletCommitteePolymeshVotes (556) */ interface PalletCommitteePolymeshVotes extends Struct { readonly index: u32; readonly ayes: Vec; @@ -6085,7 +6195,7 @@ declare module '@polkadot/types/lookup' { readonly expiry: PolymeshCommonUtilitiesMaybeBlock; } - /** @name PalletCommitteeError (553) */ + /** @name PalletCommitteeError (558) */ interface PalletCommitteeError extends Enum { readonly isDuplicateVote: boolean; readonly isNotAMember: boolean; @@ -6108,7 +6218,7 @@ declare module '@polkadot/types/lookup' { | 'ProposalsLimitReached'; } - /** @name PolymeshPrimitivesMultisigProposalDetails (563) */ + /** @name PolymeshPrimitivesMultisigProposalDetails (568) */ interface PolymeshPrimitivesMultisigProposalDetails extends Struct { readonly approvals: u64; readonly rejections: u64; @@ -6117,7 +6227,7 @@ declare module '@polkadot/types/lookup' { readonly autoClose: bool; } - /** @name PolymeshPrimitivesMultisigProposalStatus (564) */ + /** @name PolymeshPrimitivesMultisigProposalStatus (569) */ interface PolymeshPrimitivesMultisigProposalStatus extends Enum { readonly isInvalid: boolean; readonly isActiveOrExpired: boolean; @@ -6132,7 +6242,7 @@ declare module '@polkadot/types/lookup' { | 'Rejected'; } - /** @name PalletMultisigError (566) */ + /** @name PalletMultisigError (571) */ interface PalletMultisigError extends Enum { readonly isCddMissing: boolean; readonly isProposalMissing: boolean; @@ -6189,7 +6299,7 @@ declare module '@polkadot/types/lookup' { | 'CreatorControlsHaveBeenRemoved'; } - /** @name PalletBridgeBridgeTxDetail (568) */ + /** @name PalletBridgeBridgeTxDetail (573) */ interface PalletBridgeBridgeTxDetail extends Struct { readonly amount: u128; readonly status: PalletBridgeBridgeTxStatus; @@ -6197,7 +6307,7 @@ declare module '@polkadot/types/lookup' { readonly txHash: H256; } - /** @name PalletBridgeBridgeTxStatus (569) */ + /** @name PalletBridgeBridgeTxStatus (574) */ interface PalletBridgeBridgeTxStatus extends Enum { readonly isAbsent: boolean; readonly isPending: boolean; @@ -6208,7 +6318,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Absent' | 'Pending' | 'Frozen' | 'Timelocked' | 'Handled'; } - /** @name PalletBridgeError (572) */ + /** @name PalletBridgeError (577) */ interface PalletBridgeError extends Enum { readonly isControllerNotSet: boolean; readonly isBadCaller: boolean; @@ -6239,7 +6349,7 @@ declare module '@polkadot/types/lookup' { | 'TimelockedTx'; } - /** @name PalletStakingStakingLedger (573) */ + /** @name PalletStakingStakingLedger (578) */ interface PalletStakingStakingLedger extends Struct { readonly stash: AccountId32; readonly total: Compact; @@ -6248,32 +6358,32 @@ declare module '@polkadot/types/lookup' { readonly claimedRewards: Vec; } - /** @name PalletStakingUnlockChunk (575) */ + /** @name PalletStakingUnlockChunk (580) */ interface PalletStakingUnlockChunk extends Struct { readonly value: Compact; readonly era: Compact; } - /** @name PalletStakingNominations (576) */ + /** @name PalletStakingNominations (581) */ interface PalletStakingNominations extends Struct { readonly targets: Vec; readonly submittedIn: u32; readonly suppressed: bool; } - /** @name PalletStakingActiveEraInfo (577) */ + /** @name PalletStakingActiveEraInfo (582) */ interface PalletStakingActiveEraInfo extends Struct { readonly index: u32; readonly start: Option; } - /** @name PalletStakingEraRewardPoints (579) */ + /** @name PalletStakingEraRewardPoints (584) */ interface PalletStakingEraRewardPoints extends Struct { readonly total: u32; readonly individual: BTreeMap; } - /** @name PalletStakingForcing (582) */ + /** @name PalletStakingForcing (587) */ interface PalletStakingForcing extends Enum { readonly isNotForcing: boolean; readonly isForceNew: boolean; @@ -6282,7 +6392,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'NotForcing' | 'ForceNew' | 'ForceNone' | 'ForceAlways'; } - /** @name PalletStakingUnappliedSlash (584) */ + /** @name PalletStakingUnappliedSlash (589) */ interface PalletStakingUnappliedSlash extends Struct { readonly validator: AccountId32; readonly own: u128; @@ -6291,7 +6401,7 @@ declare module '@polkadot/types/lookup' { readonly payout: u128; } - /** @name PalletStakingSlashingSlashingSpans (588) */ + /** @name PalletStakingSlashingSlashingSpans (593) */ interface PalletStakingSlashingSlashingSpans extends Struct { readonly spanIndex: u32; readonly lastStart: u32; @@ -6299,20 +6409,20 @@ declare module '@polkadot/types/lookup' { readonly prior: Vec; } - /** @name PalletStakingSlashingSpanRecord (589) */ + /** @name PalletStakingSlashingSpanRecord (594) */ interface PalletStakingSlashingSpanRecord extends Struct { readonly slashed: u128; readonly paidOut: u128; } - /** @name PalletStakingElectionResult (592) */ + /** @name PalletStakingElectionResult (597) */ interface PalletStakingElectionResult extends Struct { readonly electedStashes: Vec; readonly exposures: Vec>; readonly compute: PalletStakingElectionCompute; } - /** @name PalletStakingElectionStatus (593) */ + /** @name PalletStakingElectionStatus (598) */ interface PalletStakingElectionStatus extends Enum { readonly isClosed: boolean; readonly isOpen: boolean; @@ -6320,13 +6430,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'Closed' | 'Open'; } - /** @name PalletStakingPermissionedIdentityPrefs (594) */ + /** @name PalletStakingPermissionedIdentityPrefs (599) */ interface PalletStakingPermissionedIdentityPrefs extends Struct { readonly intendedCount: u32; readonly runningCount: u32; } - /** @name PalletStakingReleases (595) */ + /** @name PalletStakingReleases (600) */ interface PalletStakingReleases extends Enum { readonly isV100Ancient: boolean; readonly isV200: boolean; @@ -6339,7 +6449,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'V100Ancient' | 'V200' | 'V300' | 'V400' | 'V500' | 'V600' | 'V601' | 'V700'; } - /** @name PalletStakingError (597) */ + /** @name PalletStakingError (602) */ interface PalletStakingError extends Enum { readonly isNotController: boolean; readonly isNotStash: boolean; @@ -6430,16 +6540,16 @@ declare module '@polkadot/types/lookup' { | 'InvalidValidatorUnbondAmount'; } - /** @name SpStakingOffenceOffenceDetails (598) */ + /** @name SpStakingOffenceOffenceDetails (603) */ interface SpStakingOffenceOffenceDetails extends Struct { readonly offender: ITuple<[AccountId32, PalletStakingExposure]>; readonly reporters: Vec; } - /** @name SpCoreCryptoKeyTypeId (603) */ + /** @name SpCoreCryptoKeyTypeId (608) */ interface SpCoreCryptoKeyTypeId extends U8aFixed {} - /** @name PalletSessionError (604) */ + /** @name PalletSessionError (609) */ interface PalletSessionError extends Enum { readonly isInvalidProof: boolean; readonly isNoAssociatedValidatorId: boolean; @@ -6454,7 +6564,7 @@ declare module '@polkadot/types/lookup' { | 'NoAccount'; } - /** @name PalletGrandpaStoredState (605) */ + /** @name PalletGrandpaStoredState (610) */ interface PalletGrandpaStoredState extends Enum { readonly isLive: boolean; readonly isPendingPause: boolean; @@ -6471,7 +6581,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Live' | 'PendingPause' | 'Paused' | 'PendingResume'; } - /** @name PalletGrandpaStoredPendingChange (606) */ + /** @name PalletGrandpaStoredPendingChange (611) */ interface PalletGrandpaStoredPendingChange extends Struct { readonly scheduledAt: u32; readonly delay: u32; @@ -6479,7 +6589,7 @@ declare module '@polkadot/types/lookup' { readonly forced: Option; } - /** @name PalletGrandpaError (608) */ + /** @name PalletGrandpaError (613) */ interface PalletGrandpaError extends Enum { readonly isPauseFailed: boolean; readonly isResumeFailed: boolean; @@ -6498,32 +6608,38 @@ declare module '@polkadot/types/lookup' { | 'DuplicateOffenceReport'; } - /** @name PalletImOnlineBoundedOpaqueNetworkState (612) */ + /** @name PalletImOnlineBoundedOpaqueNetworkState (617) */ interface PalletImOnlineBoundedOpaqueNetworkState extends Struct { readonly peerId: Bytes; readonly externalAddresses: Vec; } - /** @name PalletImOnlineError (616) */ + /** @name PalletImOnlineError (621) */ interface PalletImOnlineError extends Enum { readonly isInvalidKey: boolean; readonly isDuplicatedHeartbeat: boolean; readonly type: 'InvalidKey' | 'DuplicatedHeartbeat'; } - /** @name PalletAssetTickerRegistration (618) */ + /** @name PalletSudoError (623) */ + interface PalletSudoError extends Enum { + readonly isRequireSudo: boolean; + readonly type: 'RequireSudo'; + } + + /** @name PalletAssetTickerRegistration (624) */ interface PalletAssetTickerRegistration extends Struct { readonly owner: PolymeshPrimitivesIdentityId; readonly expiry: Option; } - /** @name PalletAssetTickerRegistrationConfig (619) */ + /** @name PalletAssetTickerRegistrationConfig (625) */ interface PalletAssetTickerRegistrationConfig extends Struct { readonly maxTickerLength: u8; readonly registrationLength: Option; } - /** @name PalletAssetSecurityToken (620) */ + /** @name PalletAssetSecurityToken (626) */ interface PalletAssetSecurityToken extends Struct { readonly totalSupply: u128; readonly ownerDid: PolymeshPrimitivesIdentityId; @@ -6531,7 +6647,7 @@ declare module '@polkadot/types/lookup' { readonly assetType: PolymeshPrimitivesAssetAssetType; } - /** @name PalletAssetAssetOwnershipRelation (624) */ + /** @name PalletAssetAssetOwnershipRelation (630) */ interface PalletAssetAssetOwnershipRelation extends Enum { readonly isNotOwned: boolean; readonly isTickerOwned: boolean; @@ -6539,7 +6655,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'NotOwned' | 'TickerOwned' | 'AssetOwned'; } - /** @name PalletAssetError (630) */ + /** @name PalletAssetError (636) */ interface PalletAssetError extends Enum { readonly isUnauthorized: boolean; readonly isAssetAlreadyCreated: boolean; @@ -6578,6 +6694,7 @@ declare module '@polkadot/types/lookup' { readonly isIncompatibleAssetTypeUpdate: boolean; readonly isAssetMetadataKeyBelongsToNFTCollection: boolean; readonly isAssetMetadataValueIsEmpty: boolean; + readonly isNumberOfAssetMediatorsExceeded: boolean; readonly type: | 'Unauthorized' | 'AssetAlreadyCreated' @@ -6615,10 +6732,11 @@ declare module '@polkadot/types/lookup' { | 'UnexpectedNonFungibleToken' | 'IncompatibleAssetTypeUpdate' | 'AssetMetadataKeyBelongsToNFTCollection' - | 'AssetMetadataValueIsEmpty'; + | 'AssetMetadataValueIsEmpty' + | 'NumberOfAssetMediatorsExceeded'; } - /** @name PalletCorporateActionsDistributionError (633) */ + /** @name PalletCorporateActionsDistributionError (639) */ interface PalletCorporateActionsDistributionError extends Enum { readonly isCaNotBenefit: boolean; readonly isAlreadyExists: boolean; @@ -6653,14 +6771,14 @@ declare module '@polkadot/types/lookup' { | 'DistributionPerShareIsZero'; } - /** @name PolymeshCommonUtilitiesCheckpointNextCheckpoints (637) */ + /** @name PolymeshCommonUtilitiesCheckpointNextCheckpoints (643) */ interface PolymeshCommonUtilitiesCheckpointNextCheckpoints extends Struct { readonly nextAt: u64; readonly totalPending: u64; readonly schedules: BTreeMap; } - /** @name PalletAssetCheckpointError (643) */ + /** @name PalletAssetCheckpointError (649) */ interface PalletAssetCheckpointError extends Enum { readonly isNoSuchSchedule: boolean; readonly isScheduleNotRemovable: boolean; @@ -6677,13 +6795,13 @@ declare module '@polkadot/types/lookup' { | 'ScheduleHasExpiredCheckpoints'; } - /** @name PolymeshPrimitivesComplianceManagerAssetCompliance (644) */ + /** @name PolymeshPrimitivesComplianceManagerAssetCompliance (650) */ interface PolymeshPrimitivesComplianceManagerAssetCompliance extends Struct { readonly paused: bool; readonly requirements: Vec; } - /** @name PalletComplianceManagerError (646) */ + /** @name PalletComplianceManagerError (652) */ interface PalletComplianceManagerError extends Enum { readonly isUnauthorized: boolean; readonly isDidNotExist: boolean; @@ -6702,7 +6820,7 @@ declare module '@polkadot/types/lookup' { | 'WeightLimitExceeded'; } - /** @name PalletCorporateActionsError (649) */ + /** @name PalletCorporateActionsError (655) */ interface PalletCorporateActionsError extends Enum { readonly isDetailsTooLong: boolean; readonly isDuplicateDidTax: boolean; @@ -6729,7 +6847,7 @@ declare module '@polkadot/types/lookup' { | 'NotTargetedByCA'; } - /** @name PalletCorporateActionsBallotError (651) */ + /** @name PalletCorporateActionsBallotError (657) */ interface PalletCorporateActionsBallotError extends Enum { readonly isCaNotNotice: boolean; readonly isAlreadyExists: boolean; @@ -6762,13 +6880,13 @@ declare module '@polkadot/types/lookup' { | 'RcvNotAllowed'; } - /** @name PalletPermissionsError (652) */ + /** @name PalletPermissionsError (658) */ interface PalletPermissionsError extends Enum { readonly isUnauthorizedCaller: boolean; readonly type: 'UnauthorizedCaller'; } - /** @name PalletPipsPipsMetadata (653) */ + /** @name PalletPipsPipsMetadata (659) */ interface PalletPipsPipsMetadata extends Struct { readonly id: u32; readonly url: Option; @@ -6778,20 +6896,20 @@ declare module '@polkadot/types/lookup' { readonly expiry: PolymeshCommonUtilitiesMaybeBlock; } - /** @name PalletPipsDepositInfo (655) */ + /** @name PalletPipsDepositInfo (661) */ interface PalletPipsDepositInfo extends Struct { readonly owner: AccountId32; readonly amount: u128; } - /** @name PalletPipsPip (656) */ + /** @name PalletPipsPip (662) */ interface PalletPipsPip extends Struct { readonly id: u32; readonly proposal: Call; readonly proposer: PalletPipsProposer; } - /** @name PalletPipsVotingResult (657) */ + /** @name PalletPipsVotingResult (663) */ interface PalletPipsVotingResult extends Struct { readonly ayesCount: u32; readonly ayesStake: u128; @@ -6799,17 +6917,17 @@ declare module '@polkadot/types/lookup' { readonly naysStake: u128; } - /** @name PalletPipsVote (658) */ + /** @name PalletPipsVote (664) */ interface PalletPipsVote extends ITuple<[bool, u128]> {} - /** @name PalletPipsSnapshotMetadata (659) */ + /** @name PalletPipsSnapshotMetadata (665) */ interface PalletPipsSnapshotMetadata extends Struct { readonly createdAt: u32; readonly madeBy: AccountId32; readonly id: u32; } - /** @name PalletPipsError (661) */ + /** @name PalletPipsError (667) */ interface PalletPipsError extends Enum { readonly isRescheduleNotByReleaseCoordinator: boolean; readonly isNotFromCommunity: boolean; @@ -6850,7 +6968,7 @@ declare module '@polkadot/types/lookup' { | 'ProposalNotInScheduledState'; } - /** @name PalletPortfolioError (670) */ + /** @name PalletPortfolioError (675) */ interface PalletPortfolioError extends Enum { readonly isPortfolioDoesNotExist: boolean; readonly isInsufficientPortfolioBalance: boolean; @@ -6889,7 +7007,7 @@ declare module '@polkadot/types/lookup' { | 'MissingOwnersPermission'; } - /** @name PalletProtocolFeeError (671) */ + /** @name PalletProtocolFeeError (676) */ interface PalletProtocolFeeError extends Enum { readonly isInsufficientAccountBalance: boolean; readonly isUnHandledImbalances: boolean; @@ -6900,16 +7018,16 @@ declare module '@polkadot/types/lookup' { | 'InsufficientSubsidyBalance'; } - /** @name PalletSchedulerScheduled (674) */ + /** @name PalletSchedulerScheduled (679) */ interface PalletSchedulerScheduled extends Struct { readonly maybeId: Option; readonly priority: u8; readonly call: FrameSupportPreimagesBounded; readonly maybePeriodic: Option>; - readonly origin: PolymeshRuntimeTestnetRuntimeOriginCaller; + readonly origin: PolymeshRuntimeDevelopRuntimeOriginCaller; } - /** @name FrameSupportPreimagesBounded (675) */ + /** @name FrameSupportPreimagesBounded (680) */ interface FrameSupportPreimagesBounded extends Enum { readonly isLegacy: boolean; readonly asLegacy: { @@ -6925,7 +7043,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Legacy' | 'Inline' | 'Lookup'; } - /** @name PalletSchedulerError (678) */ + /** @name PalletSchedulerError (683) */ interface PalletSchedulerError extends Enum { readonly isFailedToSchedule: boolean; readonly isNotFound: boolean; @@ -6940,13 +7058,13 @@ declare module '@polkadot/types/lookup' { | 'Named'; } - /** @name PolymeshPrimitivesSettlementVenue (679) */ + /** @name PolymeshPrimitivesSettlementVenue (684) */ interface PolymeshPrimitivesSettlementVenue extends Struct { readonly creator: PolymeshPrimitivesIdentityId; readonly venueType: PolymeshPrimitivesSettlementVenueType; } - /** @name PolymeshPrimitivesSettlementInstruction (683) */ + /** @name PolymeshPrimitivesSettlementInstruction (688) */ interface PolymeshPrimitivesSettlementInstruction extends Struct { readonly instructionId: u64; readonly venueId: u64; @@ -6956,7 +7074,7 @@ declare module '@polkadot/types/lookup' { readonly valueDate: Option; } - /** @name PolymeshPrimitivesSettlementLegStatus (685) */ + /** @name PolymeshPrimitivesSettlementLegStatus (690) */ interface PolymeshPrimitivesSettlementLegStatus extends Enum { readonly isPendingTokenLock: boolean; readonly isExecutionPending: boolean; @@ -6965,7 +7083,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'PendingTokenLock' | 'ExecutionPending' | 'ExecutionToBeSkipped'; } - /** @name PolymeshPrimitivesSettlementAffirmationStatus (687) */ + /** @name PolymeshPrimitivesSettlementAffirmationStatus (692) */ interface PolymeshPrimitivesSettlementAffirmationStatus extends Enum { readonly isUnknown: boolean; readonly isPending: boolean; @@ -6973,7 +7091,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Unknown' | 'Pending' | 'Affirmed'; } - /** @name PolymeshPrimitivesSettlementInstructionStatus (691) */ + /** @name PolymeshPrimitivesSettlementInstructionStatus (696) */ interface PolymeshPrimitivesSettlementInstructionStatus extends Enum { readonly isUnknown: boolean; readonly isPending: boolean; @@ -6985,7 +7103,18 @@ declare module '@polkadot/types/lookup' { readonly type: 'Unknown' | 'Pending' | 'Failed' | 'Success' | 'Rejected'; } - /** @name PalletSettlementError (692) */ + /** @name PolymeshPrimitivesSettlementMediatorAffirmationStatus (698) */ + interface PolymeshPrimitivesSettlementMediatorAffirmationStatus extends Enum { + readonly isUnknown: boolean; + readonly isPending: boolean; + readonly isAffirmed: boolean; + readonly asAffirmed: { + readonly expiry: Option; + } & Struct; + readonly type: 'Unknown' | 'Pending' | 'Affirmed'; + } + + /** @name PalletSettlementError (699) */ interface PalletSettlementError extends Enum { readonly isInvalidVenue: boolean; readonly isUnauthorized: boolean; @@ -7027,6 +7156,9 @@ declare module '@polkadot/types/lookup' { readonly isMultipleReceiptsForOneLeg: boolean; readonly isUnexpectedLegStatus: boolean; readonly isNumberOfVenueSignersExceeded: boolean; + readonly isCallerIsNotAMediator: boolean; + readonly isInvalidExpiryDate: boolean; + readonly isMediatorAffirmationExpired: boolean; readonly type: | 'InvalidVenue' | 'Unauthorized' @@ -7067,22 +7199,25 @@ declare module '@polkadot/types/lookup' { | 'ReceiptInstructionIdMissmatch' | 'MultipleReceiptsForOneLeg' | 'UnexpectedLegStatus' - | 'NumberOfVenueSignersExceeded'; + | 'NumberOfVenueSignersExceeded' + | 'CallerIsNotAMediator' + | 'InvalidExpiryDate' + | 'MediatorAffirmationExpired'; } - /** @name PolymeshPrimitivesStatisticsStat1stKey (695) */ + /** @name PolymeshPrimitivesStatisticsStat1stKey (702) */ interface PolymeshPrimitivesStatisticsStat1stKey extends Struct { readonly asset: PolymeshPrimitivesStatisticsAssetScope; readonly statType: PolymeshPrimitivesStatisticsStatType; } - /** @name PolymeshPrimitivesTransferComplianceAssetTransferCompliance (696) */ + /** @name PolymeshPrimitivesTransferComplianceAssetTransferCompliance (703) */ interface PolymeshPrimitivesTransferComplianceAssetTransferCompliance extends Struct { readonly paused: bool; readonly requirements: BTreeSet; } - /** @name PalletStatisticsError (700) */ + /** @name PalletStatisticsError (707) */ interface PalletStatisticsError extends Enum { readonly isInvalidTransfer: boolean; readonly isStatTypeMissing: boolean; @@ -7101,7 +7236,7 @@ declare module '@polkadot/types/lookup' { | 'WeightLimitExceeded'; } - /** @name PalletStoError (702) */ + /** @name PalletStoError (709) */ interface PalletStoError extends Enum { readonly isUnauthorized: boolean; readonly isOverflow: boolean; @@ -7130,14 +7265,14 @@ declare module '@polkadot/types/lookup' { | 'InvestmentAmountTooLow'; } - /** @name PalletTreasuryError (703) */ + /** @name PalletTreasuryError (710) */ interface PalletTreasuryError extends Enum { readonly isInsufficientBalance: boolean; readonly isInvalidIdentity: boolean; readonly type: 'InsufficientBalance' | 'InvalidIdentity'; } - /** @name PalletUtilityError (704) */ + /** @name PalletUtilityError (711) */ interface PalletUtilityError extends Enum { readonly isTooManyCalls: boolean; readonly isInvalidSignature: boolean; @@ -7152,14 +7287,14 @@ declare module '@polkadot/types/lookup' { | 'UnableToDeriveAccountId'; } - /** @name PalletBaseError (705) */ + /** @name PalletBaseError (712) */ interface PalletBaseError extends Enum { readonly isTooLong: boolean; readonly isCounterOverflow: boolean; readonly type: 'TooLong' | 'CounterOverflow'; } - /** @name PalletExternalAgentsError (707) */ + /** @name PalletExternalAgentsError (714) */ interface PalletExternalAgentsError extends Enum { readonly isNoSuchAG: boolean; readonly isUnauthorizedAgent: boolean; @@ -7176,13 +7311,13 @@ declare module '@polkadot/types/lookup' { | 'SecondaryKeyNotAuthorizedForAsset'; } - /** @name PalletRelayerSubsidy (708) */ + /** @name PalletRelayerSubsidy (715) */ interface PalletRelayerSubsidy extends Struct { readonly payingKey: AccountId32; readonly remaining: u128; } - /** @name PalletRelayerError (709) */ + /** @name PalletRelayerError (716) */ interface PalletRelayerError extends Enum { readonly isUserKeyCddMissing: boolean; readonly isPayingKeyCddMissing: boolean; @@ -7201,7 +7336,7 @@ declare module '@polkadot/types/lookup' { | 'Overflow'; } - /** @name PalletContractsWasmPrefabWasmModule (711) */ + /** @name PalletContractsWasmPrefabWasmModule (718) */ interface PalletContractsWasmPrefabWasmModule extends Struct { readonly instructionWeightsVersion: Compact; readonly initial: Compact; @@ -7210,14 +7345,14 @@ declare module '@polkadot/types/lookup' { readonly determinism: PalletContractsWasmDeterminism; } - /** @name PalletContractsWasmOwnerInfo (713) */ + /** @name PalletContractsWasmOwnerInfo (720) */ interface PalletContractsWasmOwnerInfo extends Struct { readonly owner: AccountId32; readonly deposit: Compact; readonly refcount: Compact; } - /** @name PalletContractsStorageContractInfo (714) */ + /** @name PalletContractsStorageContractInfo (721) */ interface PalletContractsStorageContractInfo extends Struct { readonly trieId: Bytes; readonly depositAccount: AccountId32; @@ -7229,19 +7364,19 @@ declare module '@polkadot/types/lookup' { readonly storageBaseDeposit: u128; } - /** @name PalletContractsStorageDeletedContract (717) */ + /** @name PalletContractsStorageDeletedContract (724) */ interface PalletContractsStorageDeletedContract extends Struct { readonly trieId: Bytes; } - /** @name PalletContractsSchedule (719) */ + /** @name PalletContractsSchedule (726) */ interface PalletContractsSchedule extends Struct { readonly limits: PalletContractsScheduleLimits; readonly instructionWeights: PalletContractsScheduleInstructionWeights; readonly hostFnWeights: PalletContractsScheduleHostFnWeights; } - /** @name PalletContractsScheduleLimits (720) */ + /** @name PalletContractsScheduleLimits (727) */ interface PalletContractsScheduleLimits extends Struct { readonly eventTopics: u32; readonly globals: u32; @@ -7254,7 +7389,7 @@ declare module '@polkadot/types/lookup' { readonly payloadLen: u32; } - /** @name PalletContractsScheduleInstructionWeights (721) */ + /** @name PalletContractsScheduleInstructionWeights (728) */ interface PalletContractsScheduleInstructionWeights extends Struct { readonly version: u32; readonly fallback: u32; @@ -7312,7 +7447,7 @@ declare module '@polkadot/types/lookup' { readonly i64rotr: u32; } - /** @name PalletContractsScheduleHostFnWeights (722) */ + /** @name PalletContractsScheduleHostFnWeights (729) */ interface PalletContractsScheduleHostFnWeights extends Struct { readonly caller: SpWeightsWeightV2Weight; readonly isContract: SpWeightsWeightV2Weight; @@ -7375,7 +7510,7 @@ declare module '@polkadot/types/lookup' { readonly instantiationNonce: SpWeightsWeightV2Weight; } - /** @name PalletContractsError (723) */ + /** @name PalletContractsError (730) */ interface PalletContractsError extends Enum { readonly isInvalidScheduleVersion: boolean; readonly isInvalidCallFlags: boolean; @@ -7436,7 +7571,7 @@ declare module '@polkadot/types/lookup' { | 'Indeterministic'; } - /** @name PolymeshContractsError (725) */ + /** @name PolymeshContractsError (732) */ interface PolymeshContractsError extends Enum { readonly isInvalidFuncId: boolean; readonly isInvalidRuntimeCall: boolean; @@ -7465,7 +7600,7 @@ declare module '@polkadot/types/lookup' { | 'NoUpgradesSupported'; } - /** @name PalletPreimageRequestStatus (726) */ + /** @name PalletPreimageRequestStatus (733) */ interface PalletPreimageRequestStatus extends Enum { readonly isUnrequested: boolean; readonly asUnrequested: { @@ -7481,7 +7616,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Unrequested' | 'Requested'; } - /** @name PalletPreimageError (730) */ + /** @name PalletPreimageError (737) */ interface PalletPreimageError extends Enum { readonly isTooBig: boolean; readonly isAlreadyNoted: boolean; @@ -7498,13 +7633,13 @@ declare module '@polkadot/types/lookup' { | 'NotRequested'; } - /** @name PolymeshPrimitivesNftNftCollection (731) */ + /** @name PolymeshPrimitivesNftNftCollection (738) */ interface PolymeshPrimitivesNftNftCollection extends Struct { readonly id: u64; readonly ticker: PolymeshPrimitivesTicker; } - /** @name PalletNftError (736) */ + /** @name PalletNftError (743) */ interface PalletNftError extends Enum { readonly isBalanceOverflow: boolean; readonly isBalanceUnderflow: boolean; @@ -7553,33 +7688,33 @@ declare module '@polkadot/types/lookup' { | 'SupplyUnderflow'; } - /** @name PalletTestUtilsError (737) */ + /** @name PalletTestUtilsError (744) */ type PalletTestUtilsError = Null; - /** @name FrameSystemExtensionsCheckSpecVersion (740) */ + /** @name FrameSystemExtensionsCheckSpecVersion (747) */ type FrameSystemExtensionsCheckSpecVersion = Null; - /** @name FrameSystemExtensionsCheckTxVersion (741) */ + /** @name FrameSystemExtensionsCheckTxVersion (748) */ type FrameSystemExtensionsCheckTxVersion = Null; - /** @name FrameSystemExtensionsCheckGenesis (742) */ + /** @name FrameSystemExtensionsCheckGenesis (749) */ type FrameSystemExtensionsCheckGenesis = Null; - /** @name FrameSystemExtensionsCheckNonce (745) */ + /** @name FrameSystemExtensionsCheckNonce (752) */ interface FrameSystemExtensionsCheckNonce extends Compact {} - /** @name PolymeshExtensionsCheckWeight (746) */ + /** @name PolymeshExtensionsCheckWeight (753) */ interface PolymeshExtensionsCheckWeight extends FrameSystemExtensionsCheckWeight {} - /** @name FrameSystemExtensionsCheckWeight (747) */ + /** @name FrameSystemExtensionsCheckWeight (754) */ type FrameSystemExtensionsCheckWeight = Null; - /** @name PalletTransactionPaymentChargeTransactionPayment (748) */ + /** @name PalletTransactionPaymentChargeTransactionPayment (755) */ interface PalletTransactionPaymentChargeTransactionPayment extends Compact {} - /** @name PalletPermissionsStoreCallMetadata (749) */ + /** @name PalletPermissionsStoreCallMetadata (756) */ type PalletPermissionsStoreCallMetadata = Null; - /** @name PolymeshRuntimeTestnetRuntime (750) */ - type PolymeshRuntimeTestnetRuntime = Null; + /** @name PolymeshRuntimeDevelopRuntime (757) */ + type PolymeshRuntimeDevelopRuntime = Null; } // declare module From 8ba2a592bfcd2aa2e618f493be8a617eaa4320d7 Mon Sep 17 00:00:00 2001 From: Eric Richardson Date: Tue, 6 Feb 2024 16:21:22 -0500 Subject: [PATCH 073/120] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20update=20version?= =?UTF-8?q?=20check=20for=206.2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ✅ Closes: DA-1053 --- src/utils/constants.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/constants.ts b/src/utils/constants.ts index c584774148..4cd57abb3f 100644 --- a/src/utils/constants.ts +++ b/src/utils/constants.ts @@ -105,7 +105,7 @@ export const ROOT_TYPES = rootTypes; /** * The Polymesh RPC node version range that is compatible with this version of the SDK */ -export const SUPPORTED_NODE_VERSION_RANGE = '6.0 || 6.1'; +export const SUPPORTED_NODE_VERSION_RANGE = '6.0 || 6.1 || 6.2'; // eslint-disable-next-line @typescript-eslint/no-non-null-assertion export const SUPPORTED_NODE_SEMVER = coerce(SUPPORTED_NODE_VERSION_RANGE)!.version; @@ -113,7 +113,7 @@ export const SUPPORTED_NODE_SEMVER = coerce(SUPPORTED_NODE_VERSION_RANGE)!.versi /** * The Polymesh chain spec version range that is compatible with this version of the SDK */ -export const SUPPORTED_SPEC_VERSION_RANGE = '6.0 || 6.1'; +export const SUPPORTED_SPEC_VERSION_RANGE = '6.0 || 6.1 || 6.2'; // eslint-disable-next-line @typescript-eslint/no-non-null-assertion export const SUPPORTED_SPEC_SEMVER = coerce(SUPPORTED_SPEC_VERSION_RANGE)!.version; From efa8c0e9ac8c66910eeec99956b0130ad14c25f3 Mon Sep 17 00:00:00 2001 From: Prashant Bajpai <34747455+prashantasdeveloper@users.noreply.github.com> Date: Wed, 7 Feb 2024 13:32:04 +0530 Subject: [PATCH 074/120] =?UTF-8?q?chore:=20=F0=9F=A4=96=20correct=20branc?= =?UTF-8?q?h=20name=20in=20github=20workflow?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0cc9cc9373..f8c0744150 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -2,7 +2,7 @@ name: CI on: push: - branches: [master, beta, alpha, confidential-asset] + branches: [master, beta, alpha, confidential-assets] pull_request: types: [assigned, opened, synchronize, reopened] From bf232ae4904ffbff5c88afcd70d0be8bc37fcbcc Mon Sep 17 00:00:00 2001 From: Eric Richardson Date: Wed, 7 Feb 2024 10:42:36 -0500 Subject: [PATCH 075/120] =?UTF-8?q?chore:=20=F0=9F=A4=96=20update=20polyme?= =?UTF-8?q?sh-types?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 5f079c741b..9e23313277 100644 --- a/package.json +++ b/package.json @@ -55,7 +55,7 @@ "@polkadot/dev-ts": "^0.76.22", "@polkadot/typegen": "10.9.1", "@polymeshassociation/local-signing-manager": "^3.0.1", - "@polymeshassociation/polymesh-types": "^5.7.0", + "@polymeshassociation/polymesh-types": "^5.8.0", "@polymeshassociation/signing-manager-types": "^3.0.0", "@polymeshassociation/typedoc-theme": "^1.1.0", "@semantic-release/changelog": "^6.0.1", diff --git a/yarn.lock b/yarn.lock index 9467a7bb65..5cd2c3a920 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2244,10 +2244,10 @@ dependencies: "@polymeshassociation/signing-manager-types" "^3.2.0" -"@polymeshassociation/polymesh-types@^5.7.0": - version "5.7.0" - resolved "https://registry.yarnpkg.com/@polymeshassociation/polymesh-types/-/polymesh-types-5.7.0.tgz#468330d585deacba126835be295d41668218fb47" - integrity sha512-6bw+Q6CpjAABeQKLZxE5TMwUwllq9GIWtHr+SBTn/02cLQYYrgPNX3JtQtK/VAAwhQ+AbAUMRlxlzGP16VaWog== +"@polymeshassociation/polymesh-types@^5.8.0": + version "5.8.0" + resolved "https://registry.yarnpkg.com/@polymeshassociation/polymesh-types/-/polymesh-types-5.8.0.tgz#3f88914c5419aec040bc5343827a2fe6512a8b65" + integrity sha512-Cm+M6EmXpkiznHmSUy22WeuVT9mAC/38w0h35Ze27pCcM3fOJBLpxOGObihwwWA+FiODmpMN8BiUdQanphVfeQ== "@polymeshassociation/signing-manager-types@^3.0.0", "@polymeshassociation/signing-manager-types@^3.2.0": version "3.2.0" From e5baa73aaaa9a3aa646b1dbe108f63069e8e0726 Mon Sep 17 00:00:00 2001 From: Eric Richardson Date: Thu, 8 Feb 2024 17:33:49 -0500 Subject: [PATCH 076/120] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20add=20asset=20re?= =?UTF-8?q?quired=20mediators=20functions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit add create, get, remove functions for asset required mediators ✅ Closes: DA-1019 --- src/api/entities/Asset/Base/BaseAsset.ts | 48 ++++++ .../Asset/__tests__/Base/BaseAsset.ts | 19 ++- .../Asset/__tests__/Fungible/index.ts | 60 ++++++++ .../procedures/__tests__/addAssetMediators.ts | 145 ++++++++++++++++++ .../__tests__/removeAssetMediators.ts | 130 ++++++++++++++++ src/api/procedures/addAssetMediators.ts | 85 ++++++++++ src/api/procedures/removeAssetMediators.ts | 74 +++++++++ src/api/procedures/types.ts | 4 + src/internal.ts | 2 + src/testUtils/mocks/entities.ts | 7 +- src/utils/__tests__/conversion.ts | 19 ++- src/utils/constants.ts | 4 + src/utils/conversion.ts | 10 ++ 13 files changed, 601 insertions(+), 6 deletions(-) create mode 100644 src/api/procedures/__tests__/addAssetMediators.ts create mode 100644 src/api/procedures/__tests__/removeAssetMediators.ts create mode 100644 src/api/procedures/addAssetMediators.ts create mode 100644 src/api/procedures/removeAssetMediators.ts diff --git a/src/api/entities/Asset/Base/BaseAsset.ts b/src/api/entities/Asset/Base/BaseAsset.ts index 9bb0120ea4..02a95e54de 100644 --- a/src/api/entities/Asset/Base/BaseAsset.ts +++ b/src/api/entities/Asset/Base/BaseAsset.ts @@ -12,15 +12,18 @@ import { Documents } from '~/api/entities/Asset/Base/Documents'; import { Metadata } from '~/api/entities/Asset/Base/Metadata'; import { Permissions } from '~/api/entities/Asset/Base/Permissions'; import { + addAssetMediators, Context, Entity, Identity, PolymeshError, + removeAssetMediators, toggleFreezeTransfers, transferAssetOwnership, } from '~/internal'; import { AssetDetails, + AssetMediatorParams, AuthorizationRequest, ErrorCode, NoArgsProcedureMethod, @@ -39,6 +42,7 @@ import { bigNumberToU32, boolToBoolean, bytesToString, + identitiesSetToIdentities, identityIdToString, stringToTicker, } from '~/utils/conversion'; @@ -110,6 +114,7 @@ export class BaseAsset extends Entity { }, context ); + this.unfreeze = createProcedureMethod( { getProcedureAndArgs: () => [toggleFreezeTransfers, { ticker, freeze: false }], @@ -122,6 +127,20 @@ export class BaseAsset extends Entity { { getProcedureAndArgs: args => [transferAssetOwnership, { ticker, ...args }] }, context ); + + this.addRequiredMediators = createProcedureMethod( + { + getProcedureAndArgs: args => [addAssetMediators, { asset: this, ...args }], + }, + context + ); + + this.removeRequiredMediators = createProcedureMethod( + { + getProcedureAndArgs: args => [removeAssetMediators, { asset: this, ...args }], + }, + context + ); } /** @@ -134,6 +153,16 @@ export class BaseAsset extends Entity { */ public unfreeze: NoArgsProcedureMethod; + /** + * Add required mediators. Mediators must approve any trades involving the asset + */ + public addRequiredMediators: ProcedureMethod; + + /** + * Remove required mediators + */ + public removeRequiredMediators: ProcedureMethod; + /** * Retrieve the Asset's identifiers list * @@ -299,6 +328,25 @@ export class BaseAsset extends Entity { return assembleResult(token, groups, name); } + /** + * Get required Asset mediators. These Identities must approve any Instruction involving the asset + */ + public async getRequiredMediators(): Promise { + const { + context, + ticker, + context: { + polymeshApi: { query }, + }, + } = this; + + const rawTicker = stringToTicker(ticker, context); + + const rawMediators = await query.asset.mandatoryMediators(rawTicker); + + return identitiesSetToIdentities(rawMediators, context); + } + /** * @hidden */ diff --git a/src/api/entities/Asset/__tests__/Base/BaseAsset.ts b/src/api/entities/Asset/__tests__/Base/BaseAsset.ts index ee746f44a0..1cad52d4e5 100644 --- a/src/api/entities/Asset/__tests__/Base/BaseAsset.ts +++ b/src/api/entities/Asset/__tests__/Base/BaseAsset.ts @@ -2,14 +2,30 @@ import BigNumber from 'bignumber.js'; import { BaseAsset } from '~/internal'; import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; +import { createMockBTreeSet, MockContext } from '~/testUtils/mocks/dataSources'; describe('BaseAsset class', () => { + let ticker: string; + let context: MockContext; + let mediatorDid: string; + beforeAll(() => { dsMockUtils.initMocks(); entityMockUtils.initMocks(); procedureMockUtils.initMocks(); }); + beforeEach(() => { + context = dsMockUtils.getContextInstance(); + ticker = 'TICKER'; + + mediatorDid = 'someDid'; + + dsMockUtils.createQueryMock('asset', 'mandatoryMediators', { + returnValue: createMockBTreeSet([dsMockUtils.createMockIdentityId(mediatorDid)]), + }); + }); + afterEach(() => { dsMockUtils.reset(); entityMockUtils.reset(); @@ -21,10 +37,7 @@ describe('BaseAsset class', () => { describe('method: exists', () => { it('should return whether the BaseAsset exists', async () => { - const ticker = 'TICKER'; - const context = dsMockUtils.getContextInstance(); const asset = new BaseAsset({ ticker }, context); - dsMockUtils.createQueryMock('asset', 'tokens', { size: new BigNumber(10), }); diff --git a/src/api/entities/Asset/__tests__/Fungible/index.ts b/src/api/entities/Asset/__tests__/Fungible/index.ts index 3c238201f3..b73fe28da8 100644 --- a/src/api/entities/Asset/__tests__/Fungible/index.ts +++ b/src/api/entities/Asset/__tests__/Fungible/index.ts @@ -261,6 +261,50 @@ describe('Asset class', () => { }); }); + describe('method: addRequiredMediators', () => { + it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { + const ticker = 'TEST'; + const context = dsMockUtils.getContextInstance(); + const asset = new FungibleAsset({ ticker }, context); + const args = { + asset, + mediators: ['newDid'], + }; + + const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; + + when(procedureMockUtils.getPrepareMock()) + .calledWith({ args, transformer: undefined }, context, {}) + .mockResolvedValue(expectedTransaction); + + const tx = await asset.addRequiredMediators(args); + + expect(tx).toBe(expectedTransaction); + }); + }); + + describe('method: removeRequiredMediators', () => { + it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { + const ticker = 'TEST'; + const context = dsMockUtils.getContextInstance(); + const asset = new FungibleAsset({ ticker }, context); + const args = { + asset, + mediators: ['currentDid'], + }; + + const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; + + when(procedureMockUtils.getPrepareMock()) + .calledWith({ args, transformer: undefined }, context, {}) + .mockResolvedValue(expectedTransaction); + + const tx = await asset.removeRequiredMediators(args); + + expect(tx).toBe(expectedTransaction); + }); + }); + describe('method: modify', () => { it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { const ticker = 'TEST'; @@ -949,4 +993,20 @@ describe('Asset class', () => { expect(tx).toBe(expectedTransaction); }); }); + + describe('method: getRequiredMediators', () => { + it('should return the required mediators', async () => { + dsMockUtils.createQueryMock('asset', 'mandatoryMediators', { + returnValue: [dsMockUtils.createMockIdentityId('someDid')], + }); + + const ticker = 'TICKER'; + const context = dsMockUtils.getContextInstance(); + const asset = new FungibleAsset({ ticker }, context); + + const result = await asset.getRequiredMediators(); + + expect(result).toEqual(expect.arrayContaining([expect.objectContaining({ did: 'someDid' })])); + }); + }); }); diff --git a/src/api/procedures/__tests__/addAssetMediators.ts b/src/api/procedures/__tests__/addAssetMediators.ts new file mode 100644 index 0000000000..766563d942 --- /dev/null +++ b/src/api/procedures/__tests__/addAssetMediators.ts @@ -0,0 +1,145 @@ +import { PolymeshPrimitivesIdentityId, PolymeshPrimitivesTicker } from '@polkadot/types/lookup'; +import { BTreeSet } from '@polkadot/types-codec'; +import { when } from 'jest-when'; + +import { + getAuthorization, + Params, + prepareAddAssetMediators, +} from '~/api/procedures/addAssetMediators'; +import { BaseAsset, Context, Identity, PolymeshError } from '~/internal'; +import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; +import { Mocked } from '~/testUtils/types'; +import { ErrorCode, TxTags } from '~/types'; +import { PolymeshTx } from '~/types/internal'; +import { MAX_ASSET_MEDIATORS } from '~/utils/constants'; +import * as utilsConversionModule from '~/utils/conversion'; + +jest.mock( + '~/api/entities/Asset/Base', + require('~/testUtils/mocks/entities').mockBaseAssetModule('~/api/entities/Asset/Base') +); + +describe('addAssetRequirement procedure', () => { + let mockContext: Mocked; + let identitiesToSetSpy: jest.SpyInstance; + let asset: BaseAsset; + let ticker: string; + let rawTicker: PolymeshPrimitivesTicker; + let currentMediator: Identity; + let newMediator: Identity; + let rawNewMediatorDid: PolymeshPrimitivesIdentityId; + let stringToTickerSpy: jest.SpyInstance; + let mockNewMediators: BTreeSet; + + beforeAll(() => { + dsMockUtils.initMocks(); + procedureMockUtils.initMocks(); + entityMockUtils.initMocks(); + stringToTickerSpy = jest.spyOn(utilsConversionModule, 'stringToTicker'); + identitiesToSetSpy = jest.spyOn(utilsConversionModule, 'identitiesToBtreeSet'); + ticker = 'TICKER'; + rawTicker = dsMockUtils.createMockTicker(ticker); + currentMediator = entityMockUtils.getIdentityInstance({ did: 'currentDid' }); + newMediator = entityMockUtils.getIdentityInstance({ did: 'newDid' }); + rawNewMediatorDid = dsMockUtils.createMockIdentityId(newMediator.did); + asset = entityMockUtils.getBaseAssetInstance({ + ticker, + getRequiredMediators: [currentMediator], + }); + mockNewMediators = dsMockUtils.createMockBTreeSet([ + rawNewMediatorDid, + ]); + }); + + let addMandatoryMediatorsTransaction: PolymeshTx< + [PolymeshPrimitivesTicker, BTreeSet] + >; + + beforeEach(() => { + addMandatoryMediatorsTransaction = dsMockUtils.createTxMock('asset', 'addMandatoryMediators'); + + mockContext = dsMockUtils.getContextInstance(); + + when(stringToTickerSpy).calledWith(ticker, mockContext).mockReturnValue(rawTicker); + when(identitiesToSetSpy) + .calledWith( + expect.arrayContaining([expect.objectContaining({ did: newMediator.did })]), + mockContext + ) + .mockReturnValue(mockNewMediators); + }); + + afterEach(() => { + entityMockUtils.reset(); + procedureMockUtils.reset(); + dsMockUtils.reset(); + }); + + afterAll(() => { + procedureMockUtils.cleanup(); + dsMockUtils.cleanup(); + }); + + it('should throw an error if a supplied mediator is already required for the Asset', () => { + const proc = procedureMockUtils.getInstance(mockContext); + + const expectedError = new PolymeshError({ + code: ErrorCode.ValidationError, + message: 'One of the specified mediators is already set', + }); + + return expect( + prepareAddAssetMediators.call(proc, { asset, mediators: [currentMediator] }) + ).rejects.toThrow(expectedError); + }); + + it('should throw an error if new mediators exceed the max mediators', () => { + const mediators = new Array(MAX_ASSET_MEDIATORS).fill(newMediator); + + const proc = procedureMockUtils.getInstance(mockContext); + + const expectedError = new PolymeshError({ + code: ErrorCode.ValidationError, + message: `At most ${MAX_ASSET_MEDIATORS} are allowed`, + }); + + return expect(prepareAddAssetMediators.call(proc, { asset, mediators })).rejects.toThrow( + expectedError + ); + }); + + it('should return an add required mediators transaction spec', async () => { + const proc = procedureMockUtils.getInstance(mockContext); + + const result = await prepareAddAssetMediators.call(proc, { + asset, + mediators: [newMediator], + }); + + expect(result).toEqual({ + transaction: addMandatoryMediatorsTransaction, + args: [rawTicker, mockNewMediators], + resolver: undefined, + }); + }); + + describe('getAuthorization', () => { + it('should return the appropriate roles and permissions', () => { + const proc = procedureMockUtils.getInstance(mockContext); + const boundFunc = getAuthorization.bind(proc); + const params = { + asset, + mediators: [], + } as Params; + + expect(boundFunc(params)).toEqual({ + permissions: { + transactions: [TxTags.asset.AddMandatoryMediators], + assets: [expect.objectContaining({ ticker })], + portfolios: [], + }, + }); + }); + }); +}); diff --git a/src/api/procedures/__tests__/removeAssetMediators.ts b/src/api/procedures/__tests__/removeAssetMediators.ts new file mode 100644 index 0000000000..ce4834a7d9 --- /dev/null +++ b/src/api/procedures/__tests__/removeAssetMediators.ts @@ -0,0 +1,130 @@ +import { PolymeshPrimitivesIdentityId, PolymeshPrimitivesTicker } from '@polkadot/types/lookup'; +import { BTreeSet } from '@polkadot/types-codec'; +import { when } from 'jest-when'; + +import { + getAuthorization, + Params, + prepareRemoveAssetMediators, +} from '~/api/procedures/removeAssetMediators'; +import { BaseAsset, Context, Identity, PolymeshError } from '~/internal'; +import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; +import { Mocked } from '~/testUtils/types'; +import { ErrorCode, TxTags } from '~/types'; +import { PolymeshTx } from '~/types/internal'; +import * as utilsConversionModule from '~/utils/conversion'; + +jest.mock( + '~/api/entities/Asset/Base', + require('~/testUtils/mocks/entities').mockBaseAssetModule('~/api/entities/Asset/Base') +); + +describe('removeAssetMediators procedure', () => { + let mockContext: Mocked; + let identitiesToSetSpy: jest.SpyInstance; + let asset: BaseAsset; + let ticker: string; + let rawTicker: PolymeshPrimitivesTicker; + let currentMediator: Identity; + let rawCurrentMediator: PolymeshPrimitivesIdentityId; + let stringToTickerSpy: jest.SpyInstance; + let mockRemoveMediators: BTreeSet; + + beforeAll(() => { + dsMockUtils.initMocks(); + procedureMockUtils.initMocks(); + entityMockUtils.initMocks(); + stringToTickerSpy = jest.spyOn(utilsConversionModule, 'stringToTicker'); + identitiesToSetSpy = jest.spyOn(utilsConversionModule, 'identitiesToBtreeSet'); + ticker = 'TICKER'; + rawTicker = dsMockUtils.createMockTicker(ticker); + currentMediator = entityMockUtils.getIdentityInstance({ did: 'currentDid' }); + rawCurrentMediator = dsMockUtils.createMockIdentityId(currentMediator.did); + asset = entityMockUtils.getBaseAssetInstance({ + ticker, + getRequiredMediators: [currentMediator], + }); + mockRemoveMediators = dsMockUtils.createMockBTreeSet([ + rawCurrentMediator, + ]); + }); + + let removeMandatoryMediatorsTransaction: PolymeshTx< + [PolymeshPrimitivesTicker, BTreeSet] + >; + + beforeEach(() => { + removeMandatoryMediatorsTransaction = dsMockUtils.createTxMock( + 'asset', + 'removeMandatoryMediators' + ); + + mockContext = dsMockUtils.getContextInstance(); + + when(stringToTickerSpy).calledWith(ticker, mockContext).mockReturnValue(rawTicker); + when(identitiesToSetSpy) + .calledWith( + expect.arrayContaining([expect.objectContaining({ did: currentMediator.did })]), + mockContext + ) + .mockReturnValue(mockRemoveMediators); + }); + + afterEach(() => { + entityMockUtils.reset(); + procedureMockUtils.reset(); + dsMockUtils.reset(); + }); + + afterAll(() => { + procedureMockUtils.cleanup(); + dsMockUtils.cleanup(); + }); + + it('should throw an error if a supplied mediator is not already required for the Asset', () => { + const proc = procedureMockUtils.getInstance(mockContext); + + const expectedError = new PolymeshError({ + code: ErrorCode.ValidationError, + message: 'One of the specified mediators to remove is not set', + }); + + return expect( + prepareRemoveAssetMediators.call(proc, { asset, mediators: ['someOtherDid'] }) + ).rejects.toThrow(expectedError); + }); + + it('should return an remove required mediators transaction spec', async () => { + const proc = procedureMockUtils.getInstance(mockContext); + + const result = await prepareRemoveAssetMediators.call(proc, { + asset, + mediators: [currentMediator], + }); + + expect(result).toEqual({ + transaction: removeMandatoryMediatorsTransaction, + args: [rawTicker, mockRemoveMediators], + resolver: undefined, + }); + }); + + describe('getAuthorization', () => { + it('should return the appropriate roles and permissions', () => { + const proc = procedureMockUtils.getInstance(mockContext); + const boundFunc = getAuthorization.bind(proc); + const params = { + asset, + mediators: [], + } as Params; + + expect(boundFunc(params)).toEqual({ + permissions: { + transactions: [TxTags.asset.RemoveMandatoryMediators], + assets: [expect.objectContaining({ ticker })], + portfolios: [], + }, + }); + }); + }); +}); diff --git a/src/api/procedures/addAssetMediators.ts b/src/api/procedures/addAssetMediators.ts new file mode 100644 index 0000000000..9427d54257 --- /dev/null +++ b/src/api/procedures/addAssetMediators.ts @@ -0,0 +1,85 @@ +import { BaseAsset, PolymeshError, Procedure } from '~/internal'; +import { AssetMediatorParams, ErrorCode, TxTags } from '~/types'; +import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; +import { MAX_ASSET_MEDIATORS } from '~/utils/constants'; +import { identitiesToBtreeSet, stringToTicker } from '~/utils/conversion'; +import { asIdentity } from '~/utils/internal'; +/** + * @hidden + */ +export type Params = { asset: BaseAsset } & AssetMediatorParams; + +/** + * @hidden + */ +export async function prepareAddAssetMediators( + this: Procedure, + args: Params +): Promise>> { + const { + context: { + polymeshApi: { tx }, + }, + context, + } = this; + + const { + asset, + asset: { ticker }, + mediators: mediatorInput, + } = args; + + const currentMediators = await asset.getRequiredMediators(); + + const newMediators = mediatorInput.map(mediator => asIdentity(mediator, context)); + + newMediators.forEach(({ did: newDid }) => { + const alreadySetDid = currentMediators.find(({ did: currentDid }) => currentDid === newDid); + + if (alreadySetDid) { + throw new PolymeshError({ + code: ErrorCode.ValidationError, + message: 'One of the specified mediators is already set', + data: { ticker, alreadySetDid }, + }); + } + }); + + const newMediatorCount = currentMediators.length + newMediators.length; + + if (newMediatorCount > MAX_ASSET_MEDIATORS) { + throw new PolymeshError({ + code: ErrorCode.ValidationError, + message: `At most ${MAX_ASSET_MEDIATORS} are allowed`, + data: { newMediatorCount }, + }); + } + + const rawNewMediators = identitiesToBtreeSet(newMediators, context); + const rawTicker = stringToTicker(ticker, context); + + return { + transaction: tx.asset.addMandatoryMediators, + args: [rawTicker, rawNewMediators], + resolver: undefined, + }; +} + +/** + * @hidden + */ +export function getAuthorization(this: Procedure, args: Params): ProcedureAuthorization { + return { + permissions: { + transactions: [TxTags.asset.AddMandatoryMediators], + portfolios: [], + assets: [args.asset], + }, + }; +} + +/** + * @hidden + */ +export const addAssetMediators = (): Procedure => + new Procedure(prepareAddAssetMediators, getAuthorization); diff --git a/src/api/procedures/removeAssetMediators.ts b/src/api/procedures/removeAssetMediators.ts new file mode 100644 index 0000000000..3b53fa19fc --- /dev/null +++ b/src/api/procedures/removeAssetMediators.ts @@ -0,0 +1,74 @@ +import { BaseAsset, PolymeshError, Procedure } from '~/internal'; +import { AssetMediatorParams, ErrorCode, TxTags } from '~/types'; +import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; +import { identitiesToBtreeSet, stringToTicker } from '~/utils/conversion'; +import { asIdentity } from '~/utils/internal'; +/** + * @hidden + */ +export type Params = { asset: BaseAsset } & AssetMediatorParams; + +/** + * @hidden + */ +export async function prepareRemoveAssetMediators( + this: Procedure, + args: Params +): Promise>> { + const { + context: { + polymeshApi: { tx }, + }, + context, + } = this; + + const { + asset, + asset: { ticker }, + mediators: mediatorInput, + } = args; + + const currentMediators = await asset.getRequiredMediators(); + + const removeMediators = mediatorInput.map(mediator => asIdentity(mediator, context)); + + removeMediators.forEach(({ did: removeDid }) => { + const alreadySetDid = currentMediators.find(({ did: currentDid }) => currentDid === removeDid); + + if (!alreadySetDid) { + throw new PolymeshError({ + code: ErrorCode.ValidationError, + message: 'One of the specified mediators to remove is not set', + data: { ticker, removeDid }, + }); + } + }); + + const rawNewMediators = identitiesToBtreeSet(removeMediators, context); + const rawTicker = stringToTicker(ticker, context); + + return { + transaction: tx.asset.removeMandatoryMediators, + args: [rawTicker, rawNewMediators], + resolver: undefined, + }; +} + +/** + * @hidden + */ +export function getAuthorization(this: Procedure, args: Params): ProcedureAuthorization { + return { + permissions: { + transactions: [TxTags.asset.RemoveMandatoryMediators], + portfolios: [], + assets: [args.asset], + }, + }; +} + +/** + * @hidden + */ +export const removeAssetMediators = (): Procedure => + new Procedure(prepareRemoveAssetMediators, getAuthorization); diff --git a/src/api/procedures/types.ts b/src/api/procedures/types.ts index a4872fa8ee..a4c7cd08a2 100644 --- a/src/api/procedures/types.ts +++ b/src/api/procedures/types.ts @@ -1149,3 +1149,7 @@ export interface UnlinkChildParams { export interface RegisterCustomClaimTypeParams { name: string; } + +export interface AssetMediatorParams { + mediators: (Identity | string)[]; +} diff --git a/src/internal.ts b/src/internal.ts index 607015ba38..011a708a97 100644 --- a/src/internal.ts +++ b/src/internal.ts @@ -148,6 +148,8 @@ export { modifyAllowance, ModifyAllowanceParams } from '~/api/procedures/modifyA export { createTransactionBatch } from '~/api/procedures/createTransactionBatch'; export { createMultiSigAccount } from '~/api/procedures/createMultiSig'; export { acceptPrimaryKeyRotation } from '~/api/procedures/acceptPrimaryKeyRotation'; +export { addAssetMediators } from '~/api/procedures/addAssetMediators'; +export { removeAssetMediators } from '~/api/procedures/removeAssetMediators'; export { Storage as ModifyMultiSigStorage, modifyMultiSig } from '~/api/procedures/modifyMultiSig'; export { SetCountTransferRestrictionsParams, diff --git a/src/testUtils/mocks/entities.ts b/src/testUtils/mocks/entities.ts index 0c0b569efa..9c129cd18f 100644 --- a/src/testUtils/mocks/entities.ts +++ b/src/testUtils/mocks/entities.ts @@ -172,6 +172,7 @@ interface BaseAssetOptions extends EntityOptions { complianceRequirementsGet?: EntityGetter; investorCount?: EntityGetter; getNextLocalId?: EntityGetter; + getRequiredMediators?: EntityGetter; } interface FungibleAssetOptions extends BaseAssetOptions { @@ -202,7 +203,6 @@ interface NftCollectionOptions extends BaseAssetOptions { permissionsGetGroups?: EntityGetter; complianceRequirementsGet?: EntityGetter; investorCount?: EntityGetter; - getNextLocalId?: EntityGetter; collectionKeys?: EntityGetter; getCollectionId?: EntityGetter; getBaseImageUrl?: EntityGetter; @@ -1088,6 +1088,7 @@ const MockFungibleAssetClass = createMockEntityClass( getNextLocalId: new BigNumber(0), toHuman: 'SOME_TICKER', investorCount: new BigNumber(0), + getRequiredMediators: [], }), ['FungibleAsset'] ); @@ -1182,6 +1183,7 @@ const MockNftCollectionClass = createMockEntityClass( collectionKeys: [], getCollectionId: new BigNumber(0), getBaseImageUrl: null, + getRequiredMediators: [], }), ['NftCollection'] ); @@ -1250,6 +1252,7 @@ const MockBaseAssetClass = createMockEntityClass( investorCount!: jest.Mock; getBaseImageUrl!: jest.Mock; + getRequiredMediators!: jest.Mock; /** * @hidden @@ -1273,6 +1276,7 @@ const MockBaseAssetClass = createMockEntityClass( this.compliance.requirements.get = createEntityGetterMock(opts.complianceRequirementsGet); this.investorCount = createEntityGetterMock(opts.investorCount); this.metadata.getNextLocalId = createEntityGetterMock(opts.getNextLocalId); + this.getRequiredMediators = createEntityGetterMock(opts.getRequiredMediators); } }, () => ({ @@ -1300,6 +1304,7 @@ const MockBaseAssetClass = createMockEntityClass( defaultTrustedClaimIssuers: [], }, getNextLocalId: new BigNumber(0), + getRequiredMediators: [], toHuman: 'SOME_TICKER', investorCount: new BigNumber(0), }), diff --git a/src/utils/__tests__/conversion.ts b/src/utils/__tests__/conversion.ts index 9fac7e2614..a2531ed803 100644 --- a/src/utils/__tests__/conversion.ts +++ b/src/utils/__tests__/conversion.ts @@ -213,6 +213,7 @@ import { fungibleMovementToPortfolioFund, granularCanTransferResultToTransferBreakdown, hashToString, + identitiesSetToIdentities, identitiesToBtreeSet, identityIdToString, inputStatTypeToMeshStatType, @@ -7783,8 +7784,22 @@ describe('agentGroupToPermissionGroup', () => { ); }); - describe('identitiesToBtreeSet', () => { - it('should convert Identities to a BTreeSetIdentityID', () => { + describe('identitiesSetToIdentities', () => { + it('should convert Identities to a BTreeSet', () => { + const did = 'someDid'; + const context = dsMockUtils.getContextInstance(); + const mockSet = dsMockUtils.createMockBTreeSet([ + dsMockUtils.createMockIdentityId(did), + ]); + + const result = identitiesSetToIdentities(mockSet, context); + + expect(result).toEqual([expect.objectContaining({ did })]); + }); + }); + + describe('identitiesSetToIdentities', () => { + it('should convert BTreeSet', () => { const context = dsMockUtils.getContextInstance(); const ids = [{ did: 'b' }, { did: 'a' }, { did: 'c' }] as unknown as Identity[]; ids.forEach(({ did }) => diff --git a/src/utils/constants.ts b/src/utils/constants.ts index 4cd57abb3f..7981c583ec 100644 --- a/src/utils/constants.ts +++ b/src/utils/constants.ts @@ -10,6 +10,10 @@ export const MAX_DECIMALS = 6; export const MAX_TICKER_LENGTH = 12; export const MAX_MODULE_LENGTH = 32; export const MAX_MEMO_LENGTH = 32; +/** + * Maximum amount of required mediators. See MESH-2156 to see if this is queryable instead + */ +export const MAX_ASSET_MEDIATORS = 4; /** * Biggest possible number for on-chain balances */ diff --git a/src/utils/conversion.ts b/src/utils/conversion.ts index 157911920d..28e173ecaf 100644 --- a/src/utils/conversion.ts +++ b/src/utils/conversion.ts @@ -3126,6 +3126,16 @@ export function identitiesToBtreeSet( return context.createType('BTreeSet', rawIds); } +/** + * @hidden + */ +export function identitiesSetToIdentities( + identitySet: BTreeSet, + context: Context +): Identity[] { + return [...identitySet].map(rawId => new Identity({ did: identityIdToString(rawId) }, context)); +} + /** * @hidden */ From 11a3011cb71219e2fa310660cfa8cab2ee8ce75b Mon Sep 17 00:00:00 2001 From: Eric Richardson Date: Fri, 9 Feb 2024 15:36:08 -0500 Subject: [PATCH 077/120] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20allows=20for=20o?= =?UTF-8?q?ptional=20field=20`mediators`=20for=20instructions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit allows for optional field `mediators` when creating instructions. These are additional entities required to affirm the instruction before it can be executed ✅ Closes: DA-1024 --- .../procedures/__tests__/addInstruction.ts | 229 ++++++++++++++++-- src/api/procedures/addInstruction.ts | 86 +++++-- src/api/procedures/types.ts | 4 + 3 files changed, 287 insertions(+), 32 deletions(-) diff --git a/src/api/procedures/__tests__/addInstruction.ts b/src/api/procedures/__tests__/addInstruction.ts index d5cc8c4a40..efb50b06f3 100644 --- a/src/api/procedures/__tests__/addInstruction.ts +++ b/src/api/procedures/__tests__/addInstruction.ts @@ -1,6 +1,7 @@ -import { Option, u32, u64 } from '@polkadot/types'; +import { BTreeSet, Option, u32, u64 } from '@polkadot/types'; import { Balance, Moment } from '@polkadot/types/interfaces'; import { + PolymeshPrimitivesIdentityId, PolymeshPrimitivesIdentityIdPortfolioId, PolymeshPrimitivesMemo, PolymeshPrimitivesNftNfTs, @@ -75,12 +76,14 @@ describe('addInstruction procedure', () => { let stringToInstructionMemoSpy: jest.SpyInstance; let legToFungibleLegSpy: jest.SpyInstance; let legToNonFungibleLegSpy: jest.SpyInstance; + let identityToBtreeSetSpy: jest.SpyInstance; let venueId: BigNumber; let amount: BigNumber; let from: PortfolioLike; let to: PortfolioLike; let fromDid: string; let toDid: string; + let mediatorDid: string; let fromPortfolio: DefaultPortfolio | NumberedPortfolio; let toPortfolio: DefaultPortfolio | NumberedPortfolio; let asset: string; @@ -107,6 +110,8 @@ describe('addInstruction procedure', () => { let rawNfts: PolymeshPrimitivesNftNfTs; let rawLeg: PolymeshPrimitivesSettlementLeg; let rawNftLeg: PolymeshPrimitivesSettlementLeg; + let rawMediatorSet: BTreeSet; + let rawEmptyMediatorSet: BTreeSet; beforeAll(() => { dsMockUtils.initMocks({ @@ -138,6 +143,7 @@ describe('addInstruction procedure', () => { stringToInstructionMemoSpy = jest.spyOn(utilsConversionModule, 'stringToMemo'); legToFungibleLegSpy = jest.spyOn(utilsConversionModule, 'legToFungibleLeg'); legToNonFungibleLegSpy = jest.spyOn(utilsConversionModule, 'legToNonFungibleLeg'); + identityToBtreeSetSpy = jest.spyOn(utilsConversionModule, 'identitiesToBtreeSet'); venueId = new BigNumber(1); amount = new BigNumber(100); @@ -145,6 +151,7 @@ describe('addInstruction procedure', () => { to = 'toDid'; fromDid = 'fromDid'; toDid = 'toDid'; + mediatorDid = 'mediatorDid'; fromPortfolio = entityMockUtils.getNumberedPortfolioInstance({ did: fromDid, id: new BigNumber(1), @@ -170,6 +177,10 @@ describe('addInstruction procedure', () => { did: dsMockUtils.createMockIdentityId(to), kind: dsMockUtils.createMockPortfolioKind('Default'), }); + rawMediatorSet = dsMockUtils.createMockBTreeSet([ + dsMockUtils.createMockIdentityId(mediatorDid), + ]); + rawEmptyMediatorSet = dsMockUtils.createMockBTreeSet([]); rawTicker = dsMockUtils.createMockTicker(asset); rawNftTicker = dsMockUtils.createMockTicker(nftAsset); rawTradeDate = dsMockUtils.createMockMoment(new BigNumber(tradeDate.getTime())); @@ -200,7 +211,9 @@ describe('addInstruction procedure', () => { }); }); - let addAndAuthorizeInstructionTransaction: PolymeshTx< + let addAndAffirmTransaction: PolymeshTx; + let addTransaction: PolymeshTx; + let addAndAffirmWithMediatorsTransaction: PolymeshTx< [ u64, PolymeshPrimitivesSettlementSettlementType, @@ -212,10 +225,11 @@ describe('addInstruction procedure', () => { amount: Balance; }[], PolymeshPrimitivesIdentityIdPortfolioId[], - Option + Option, + BTreeSet ] >; - let addInstructionTransaction: PolymeshTx< + let addWithMediatorsTransaction: PolymeshTx< [ u64, PolymeshPrimitivesSettlementSettlementType, @@ -226,7 +240,8 @@ describe('addInstruction procedure', () => { asset: PolymeshPrimitivesTicker; amount: Balance; }[], - Option + Option, + BTreeSet ] >; @@ -238,11 +253,16 @@ describe('addInstruction procedure', () => { status: TickerReservationStatus.Free, }); - addAndAuthorizeInstructionTransaction = dsMockUtils.createTxMock( + addAndAffirmTransaction = dsMockUtils.createTxMock('settlement', 'addAndAffirmInstruction'); + addTransaction = dsMockUtils.createTxMock('settlement', 'addInstruction'); + addAndAffirmWithMediatorsTransaction = dsMockUtils.createTxMock( + 'settlement', + 'addAndAffirmWithMediators' + ); + addWithMediatorsTransaction = dsMockUtils.createTxMock( 'settlement', - 'addAndAffirmInstruction' + 'addInstructionWithMediators' ); - addInstructionTransaction = dsMockUtils.createTxMock('settlement', 'addInstruction'); mockContext = dsMockUtils.getContextInstance(); @@ -293,10 +313,20 @@ describe('addInstruction procedure', () => { .calledWith({ from, to, asset, nfts: [] }, mockContext) .mockReturnValue(rawNftLeg); + when(identityToBtreeSetSpy) + .calledWith( + expect.arrayContaining([expect.objectContaining({ did: mediatorDid })]), + mockContext + ) + .mockReturnValue(rawMediatorSet); + + when(identityToBtreeSetSpy).calledWith([], mockContext).mockReturnValue(rawEmptyMediatorSet); + args = { venueId, instructions: [ { + mediators: [mediatorDid], legs: [ { from, @@ -324,6 +354,7 @@ describe('addInstruction procedure', () => { it('should throw an error if the instructions array is empty', async () => { const proc = procedureMockUtils.getInstance(mockContext, { + withMediatorsPresent: true, portfoliosToAffirm: [], }); @@ -341,6 +372,7 @@ describe('addInstruction procedure', () => { it('should throw an error if the legs array is empty', async () => { const proc = procedureMockUtils.getInstance(mockContext, { + withMediatorsPresent: true, portfoliosToAffirm: [], }); @@ -363,6 +395,7 @@ describe('addInstruction procedure', () => { it('should throw an error if any instruction contains leg with zero amount', async () => { const proc = procedureMockUtils.getInstance(mockContext, { + withMediatorsPresent: true, portfoliosToAffirm: [], }); @@ -390,6 +423,7 @@ describe('addInstruction procedure', () => { it('should throw an error if any instruction contains leg with zero NFTs', async () => { const proc = procedureMockUtils.getInstance(mockContext, { + withMediatorsPresent: true, portfoliosToAffirm: [], }); @@ -417,6 +451,7 @@ describe('addInstruction procedure', () => { it('should throw an error if given an string asset that does not exist', async () => { const proc = procedureMockUtils.getInstance(mockContext, { + withMediatorsPresent: true, portfoliosToAffirm: [], }); @@ -449,6 +484,7 @@ describe('addInstruction procedure', () => { it('should throw an error if any instruction contains leg with transferring Assets within same Identity portfolios', async () => { const proc = procedureMockUtils.getInstance(mockContext, { + withMediatorsPresent: true, portfoliosToAffirm: [], }); @@ -476,6 +512,7 @@ describe('addInstruction procedure', () => { it("should throw an error if the Venue doesn't exist", async () => { const proc = procedureMockUtils.getInstance(mockContext, { + withMediatorsPresent: true, portfoliosToAffirm: [], }); @@ -497,6 +534,7 @@ describe('addInstruction procedure', () => { it('should throw an error if the legs array exceeds limit', async () => { const proc = procedureMockUtils.getInstance(mockContext, { + withMediatorsPresent: true, portfoliosToAffirm: [], }); @@ -535,6 +573,7 @@ describe('addInstruction procedure', () => { }); const proc = procedureMockUtils.getInstance(mockContext, { + withMediatorsPresent: true, portfoliosToAffirm: [], }); @@ -594,6 +633,7 @@ describe('addInstruction procedure', () => { }, }); const proc = procedureMockUtils.getInstance(mockContext, { + withMediatorsPresent: true, portfoliosToAffirm: [], }); @@ -638,6 +678,7 @@ describe('addInstruction procedure', () => { }); getCustodianMock.mockReturnValue({ did: fromDid }); const proc = procedureMockUtils.getInstance(mockContext, { + withMediatorsPresent: true, portfoliosToAffirm: [[fromPortfolio, toPortfolio]], }); @@ -646,8 +687,17 @@ describe('addInstruction procedure', () => { expect(result).toEqual({ transactions: [ { - transaction: addAndAuthorizeInstructionTransaction, - args: [rawVenueId, rawAuthSettlementType, null, null, [rawLeg], [rawFrom, rawTo], null], + transaction: addAndAffirmWithMediatorsTransaction, + args: [ + rawVenueId, + rawAuthSettlementType, + null, + null, + [rawLeg], + [rawFrom, rawTo], + null, + rawMediatorSet, + ], }, ], resolver: expect.any(Function), @@ -669,6 +719,7 @@ describe('addInstruction procedure', () => { }); getCustodianMock.mockReturnValue({ did: fromDid }); const proc = procedureMockUtils.getInstance(mockContext, { + withMediatorsPresent: true, portfoliosToAffirm: [[fromPortfolio, toPortfolio]], }); @@ -700,6 +751,7 @@ describe('addInstruction procedure', () => { }); getCustodianMock.mockReturnValue({ did: fromDid }); const proc = procedureMockUtils.getInstance(mockContext, { + withMediatorsPresent: true, portfoliosToAffirm: [[fromPortfolio, toPortfolio]], }); @@ -728,6 +780,7 @@ describe('addInstruction procedure', () => { }); getCustodianMock.mockReturnValue({ did: fromDid }); const proc = procedureMockUtils.getInstance(mockContext, { + withMediatorsPresent: true, portfoliosToAffirm: [[fromPortfolio, toPortfolio]], }); @@ -739,7 +792,7 @@ describe('addInstruction procedure', () => { expect(result).toEqual({ transactions: [ { - transaction: addAndAuthorizeInstructionTransaction, + transaction: addAndAffirmWithMediatorsTransaction, args: [ rawVenueId, rawAuthSettlementType, @@ -748,6 +801,7 @@ describe('addInstruction procedure', () => { [undefined], [rawFrom, rawTo], null, + rawEmptyMediatorSet, ], }, ], @@ -764,6 +818,7 @@ describe('addInstruction procedure', () => { }); getCustodianMock.mockReturnValue({ did: toDid }); const proc = procedureMockUtils.getInstance(mockContext, { + withMediatorsPresent: true, portfoliosToAffirm: [[]], }); @@ -794,7 +849,7 @@ describe('addInstruction procedure', () => { expect(result).toEqual({ transactions: [ { - transaction: addInstructionTransaction, + transaction: addWithMediatorsTransaction, args: [ rawVenueId, rawBlockSettlementType, @@ -802,6 +857,7 @@ describe('addInstruction procedure', () => { rawValueDate, [rawLeg], rawInstructionMemo, + rawEmptyMediatorSet, ], }, ], @@ -821,7 +877,7 @@ describe('addInstruction procedure', () => { expect(result).toEqual({ transactions: [ { - transaction: addInstructionTransaction, + transaction: addWithMediatorsTransaction, args: [ rawVenueId, rawManualSettlementType, @@ -829,6 +885,95 @@ describe('addInstruction procedure', () => { rawValueDate, [rawLeg], rawInstructionMemo, + rawEmptyMediatorSet, + ], + }, + ], + resolver: expect.any(Function), + }); + }); + + it('should instruction transaction spec when mediator tx are not present', async () => { + dsMockUtils.configureMocks({ contextOptions: { did: fromDid } }); + entityMockUtils.configureMocks({ + venueOptions: { + exists: true, + }, + }); + getCustodianMock.mockReturnValue({ did: toDid }); + let proc = procedureMockUtils.getInstance(mockContext, { + withMediatorsPresent: false, + portfoliosToAffirm: [[]], + }); + + const instructionDetails = { + legs: [ + { + from, + to, + amount, + asset: entityMockUtils.getFungibleAssetInstance({ ticker: asset }), + }, + ], + tradeDate, + valueDate, + memo, + }; + + let result = await prepareAddInstruction.call(proc, { + venueId, + instructions: [ + { + ...instructionDetails, + endBlock, + }, + ], + }); + + expect(result).toEqual({ + transactions: [ + { + transaction: addTransaction, + args: [ + rawVenueId, + rawBlockSettlementType, + rawTradeDate, + rawValueDate, + [rawLeg], + rawInstructionMemo, + ], + }, + ], + resolver: expect.any(Function), + }); + + proc = procedureMockUtils.getInstance(mockContext, { + withMediatorsPresent: false, + portfoliosToAffirm: [[fromPortfolio, toPortfolio]], + }); + + result = await prepareAddInstruction.call(proc, { + venueId, + instructions: [ + { + ...instructionDetails, + endBlock, + }, + ], + }); + + expect(result).toEqual({ + transactions: [ + { + transaction: addAndAffirmTransaction, + args: [ + rawVenueId, + rawBlockSettlementType, + rawTradeDate, + rawValueDate, + [rawLeg], + [rawFrom, rawTo], + rawInstructionMemo, ], }, ], @@ -837,8 +982,9 @@ describe('addInstruction procedure', () => { }); describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', async () => { + it('should return the appropriate roles and permissions when "withMediators" are not present', async () => { let proc = procedureMockUtils.getInstance(mockContext, { + withMediatorsPresent: false, portfoliosToAffirm: [[fromPortfolio, toPortfolio]], }); let boundFunc = getAuthorization.bind(proc); @@ -860,6 +1006,7 @@ describe('addInstruction procedure', () => { }); proc = procedureMockUtils.getInstance(mockContext, { + withMediatorsPresent: false, portfoliosToAffirm: [[]], }); boundFunc = getAuthorization.bind(proc); @@ -880,6 +1027,58 @@ describe('addInstruction procedure', () => { }, }); }); + + it('should return the appropriate roles and permissions', async () => { + let proc = procedureMockUtils.getInstance(mockContext, { + withMediatorsPresent: true, + portfoliosToAffirm: [[fromPortfolio, toPortfolio]], + }); + let boundFunc = getAuthorization.bind(proc); + + let result = await boundFunc({ + venueId, + instructions: [ + { + mediators: [mediatorDid], + legs: [{ from: fromPortfolio, to: toPortfolio, amount, asset: 'SOME_ASSET' }], + }, + ], + }); + + expect(result).toEqual({ + roles: [{ type: RoleType.VenueOwner, venueId }], + permissions: { + assets: [], + portfolios: [fromPortfolio, toPortfolio], + transactions: [TxTags.settlement.AddAndAffirmWithMediators], + }, + }); + + proc = procedureMockUtils.getInstance(mockContext, { + withMediatorsPresent: true, + portfoliosToAffirm: [[]], + }); + boundFunc = getAuthorization.bind(proc); + + result = await boundFunc({ + venueId, + instructions: [ + { + mediators: [mediatorDid], + legs: [{ from: fromPortfolio, to: toPortfolio, amount, asset: 'SOME_ASSET' }], + }, + ], + }); + + expect(result).toEqual({ + roles: [{ type: RoleType.VenueOwner, venueId }], + permissions: { + assets: [], + portfolios: [], + transactions: [TxTags.settlement.AddInstructionWithMediators], + }, + }); + }); }); describe('prepareStorage', () => { @@ -898,6 +1097,7 @@ describe('addInstruction procedure', () => { let result = await boundFunc(args); expect(result).toEqual({ + withMediatorsPresent: true, portfoliosToAffirm: [[fromPortfolio, toPortfolio]], }); @@ -912,6 +1112,7 @@ describe('addInstruction procedure', () => { result = await boundFunc(args); expect(result).toEqual({ + withMediatorsPresent: true, portfoliosToAffirm: [[]], }); }); diff --git a/src/api/procedures/addInstruction.ts b/src/api/procedures/addInstruction.ts index 8651c97e31..914b2b0596 100644 --- a/src/api/procedures/addInstruction.ts +++ b/src/api/procedures/addInstruction.ts @@ -1,5 +1,6 @@ -import { u64 } from '@polkadot/types'; +import { BTreeSet, u64 } from '@polkadot/types'; import { + PolymeshPrimitivesIdentityId, PolymeshPrimitivesIdentityIdPortfolioId, PolymeshPrimitivesMemo, PolymeshPrimitivesSettlementLeg, @@ -40,6 +41,7 @@ import { bigNumberToU64, dateToMoment, endConditionToSettlementType, + identitiesToBtreeSet, legToFungibleLeg, legToNonFungibleLeg, nftToMeshNft, @@ -51,6 +53,7 @@ import { u64ToBigNumber, } from '~/utils/conversion'; import { + asIdentity, assembleBatchTransactions, asTicker, filterEventRecords, @@ -69,6 +72,10 @@ export type Params = AddInstructionsParams & { */ export interface Storage { portfoliosToAffirm: (DefaultPortfolio | NumberedPortfolio)[][]; + /** + * TODO: WithMediator variants are expected in v 6.2. This check is to ensure a smooth transition and can be removed + */ + withMediatorsPresent: boolean; } /** @@ -81,7 +88,8 @@ type InternalAddAndAffirmInstructionParams = [ u64 | null, PolymeshPrimitivesSettlementLeg[], PolymeshPrimitivesIdentityIdPortfolioId[], - PolymeshPrimitivesMemo | null + PolymeshPrimitivesMemo | null, + BTreeSet ][]; /** @@ -93,7 +101,8 @@ type InternalAddInstructionParams = [ u64 | null, u64 | null, PolymeshPrimitivesSettlementLeg[], - PolymeshPrimitivesMemo | null + PolymeshPrimitivesMemo | null, + BTreeSet ][]; /** @@ -224,7 +233,7 @@ async function getTxArgsAndErrors( const datesErrIndexes: number[] = []; await P.each(instructions, async (instruction, i) => { - const { legs, tradeDate, valueDate, memo } = instruction; + const { legs, tradeDate, valueDate, memo, mediators } = instruction; if (!legs.length) { legEmptyErrIndexes.push(i); } @@ -279,6 +288,8 @@ async function getTxArgsAndErrors( const rawValueDate = optionize(dateToMoment)(valueDate, context); const rawLegs: PolymeshPrimitivesSettlementLeg[] = []; const rawInstructionMemo = optionize(stringToMemo)(memo, context); + const mediatorIds = mediators?.map(mediator => asIdentity(mediator, context)); + const rawMediators = identitiesToBtreeSet(mediatorIds ?? [], context); await Promise.all([ ...fungibleLegs.map(async ({ from, to, amount, asset }) => { @@ -341,6 +352,7 @@ async function getTxArgsAndErrors( portfolioIdToMeshPortfolioId(portfolioLikeToPortfolioId(portfolio), context) ), rawInstructionMemo, + rawMediators, ]); } else { addInstructionParams.push([ @@ -350,6 +362,7 @@ async function getTxArgsAndErrors( rawValueDate, rawLegs, rawInstructionMemo, + rawMediators, ]); } } @@ -383,7 +396,7 @@ export async function prepareAddInstruction( }, }, context, - storage: { portfoliosToAffirm }, + storage: { portfoliosToAffirm, withMediatorsPresent }, } = this; const { instructions, venueId } = args; @@ -473,16 +486,37 @@ export async function prepareAddInstruction( }); } - const transactions = assembleBatchTransactions([ - { - transaction: settlement.addInstruction, + /** + * After the upgrade is out, the "withMediator" variants are safe to use exclusively + */ + let addTx; + let addAndAffirmTx; + if (withMediatorsPresent) { + addTx = { + transaction: settlement.addInstructionWithMediators, argsArray: addInstructionParams, - }, - { - transaction: settlement.addAndAffirmInstruction, + }; + addAndAffirmTx = { + transaction: settlement.addAndAffirmWithMediators, argsArray: addAndAffirmInstructionParams, - }, - ] as const); + }; + } else { + // remove the "mediators" if calling legacy extrinsics + addTx = { + transaction: settlement.addInstruction, + argsArray: addInstructionParams.map(params => + params.slice(0, -1) + ) as typeof addInstructionParams, + }; + addAndAffirmTx = { + transaction: settlement.addAndAffirmInstruction, + argsArray: addAndAffirmInstructionParams.map(params => + params.slice(0, -1) + ) as typeof addAndAffirmInstructionParams, + }; + } + + const transactions = assembleBatchTransactions([addTx, addAndAffirmTx] as const); return { transactions, @@ -498,17 +532,23 @@ export async function getAuthorization( { venueId }: Params ): Promise { const { - storage: { portfoliosToAffirm }, + storage: { portfoliosToAffirm, withMediatorsPresent }, } = this; + const addAndAffirmTag = withMediatorsPresent + ? TxTags.settlement.AddAndAffirmWithMediators + : TxTags.settlement.AddAndAffirmInstructionWithMemo; + + const addInstructionTag = withMediatorsPresent + ? TxTags.settlement.AddInstructionWithMediators + : TxTags.settlement.AddInstructionWithMemo; + let transactions: SettlementTx[] = []; let portfolios: (DefaultPortfolio | NumberedPortfolio)[] = []; portfoliosToAffirm.forEach(portfoliosList => { transactions = union(transactions, [ - portfoliosList.length - ? TxTags.settlement.AddAndAffirmInstructionWithMemo - : TxTags.settlement.AddInstructionWithMemo, + portfoliosList.length ? addAndAffirmTag : addInstructionTag, ]); portfolios = unionWith(portfolios, portfoliosList, isEqual); }); @@ -530,7 +570,14 @@ export async function prepareStorage( this: Procedure, { instructions }: Params ): Promise { - const { context } = this; + const { + context, + context: { + polymeshApi: { + tx: { settlement }, + }, + }, + } = this; const identity = await context.getSigningIdentity(); @@ -558,7 +605,10 @@ export async function prepareStorage( return flatten(portfolios); }); + const withMediatorsPresent = + !!settlement.addInstructionWithMediators && !!settlement.addAndAffirmWithMediators; return { + withMediatorsPresent, portfoliosToAffirm, }; } diff --git a/src/api/procedures/types.ts b/src/api/procedures/types.ts index a4c7cd08a2..0e89e16cd9 100644 --- a/src/api/procedures/types.ts +++ b/src/api/procedures/types.ts @@ -529,6 +529,10 @@ export type AddInstructionParams = { * identifier string to help differentiate instructions */ memo?: string; + /** + * additional identities that must affirm the instruction + */ + mediators?: (string | Identity)[]; } & ( | { /** From 7fdd1bbc856263cad7cd01d67e19ea3d4f4fb8f5 Mon Sep 17 00:00:00 2001 From: Prashant Bajpai <34747455+prashantasdeveloper@users.noreply.github.com> Date: Sat, 10 Feb 2024 09:59:43 +0530 Subject: [PATCH 078/120] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20Add=20methods=20?= =?UTF-8?q?to=20get=20incoming=20balance=20for=20a=20CA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../confidential/ConfidentialAccount/index.ts | 88 ++++++++++++++++++- .../confidential/ConfidentialAccount/types.ts | 6 ++ .../__tests__/ConfidentialAccount/index.ts | 75 +++++++++++++++- src/api/entities/confidential/types.ts | 1 + src/testUtils/mocks/dataSources.ts | 15 ++++ tsconfig.json | 44 +++++++--- 6 files changed, 216 insertions(+), 13 deletions(-) create mode 100644 src/api/entities/confidential/ConfidentialAccount/types.ts diff --git a/src/api/entities/confidential/ConfidentialAccount/index.ts b/src/api/entities/confidential/ConfidentialAccount/index.ts index 59e96299f8..bf3ed66a4b 100644 --- a/src/api/entities/confidential/ConfidentialAccount/index.ts +++ b/src/api/entities/confidential/ConfidentialAccount/index.ts @@ -1,5 +1,15 @@ -import { Context, Entity, Identity } from '~/internal'; -import { confidentialAccountToMeshPublicKey, identityIdToString } from '~/utils/conversion'; +import { ConfidentialAssetsElgamalCipherText } from '@polkadot/types/lookup'; +import type { Option, U8aFixed } from '@polkadot/types-codec'; + +import { ConfidentialAsset, Context, Entity, Identity, PolymeshError } from '~/internal'; +import { ConfidentialAssetBalance, ErrorCode } from '~/types'; +import { + confidentialAccountToMeshPublicKey, + identityIdToString, + meshConfidentialAssetToAssetId, + serializeConfidentialAssetId, +} from '~/utils/conversion'; +import { asConfidentialAsset } from '~/utils/internal'; /** * @hidden @@ -63,6 +73,80 @@ export class ConfidentialAccount extends Entity { return new Identity({ did }, context); } + /** + * Retrieves all incoming balances for this Confidential Account + */ + public async getIncomingBalances(): Promise { + const { + context: { + polymeshApi: { + query: { confidentialAsset }, + }, + }, + context, + publicKey, + } = this; + + const rawEntries = await confidentialAsset.incomingBalance.entries(publicKey); + + const assembleResult = ( + rawAssetId: U8aFixed, + rawBalance: Option + ): ConfidentialAssetBalance => { + const assetId = meshConfidentialAssetToAssetId(rawAssetId); + const encryptedBalance = rawBalance.unwrap(); + return { + asset: new ConfidentialAsset({ id: assetId }, context), + balance: encryptedBalance.toString(), + }; + }; + + return rawEntries.map( + ([ + { + args: [, rawAssetId], + }, + rawBalance, + ]) => assembleResult(rawAssetId, rawBalance) + ); + } + + /** + * Retrieves incoming balance for a specific Confidential Asset + */ + public async getIncomingBalance(args: { asset: ConfidentialAsset | string }): Promise { + const { + context: { + polymeshApi: { + query: { + confidentialAsset: { incomingBalance }, + }, + }, + }, + context, + publicKey, + } = this; + + const confidentialAsset = asConfidentialAsset(args.asset, context); + + const rawBalance = await incomingBalance( + publicKey, + serializeConfidentialAssetId(confidentialAsset) + ); + + if (rawBalance.isNone) { + throw new PolymeshError({ + code: ErrorCode.DataUnavailable, + message: 'No incoming balance found for the given asset', + data: { + assetId: confidentialAsset.id, + }, + }); + } + + return rawBalance.unwrap().toString(); + } + /** * Determine whether this Account exists on chain */ diff --git a/src/api/entities/confidential/ConfidentialAccount/types.ts b/src/api/entities/confidential/ConfidentialAccount/types.ts new file mode 100644 index 0000000000..3dc23e48d5 --- /dev/null +++ b/src/api/entities/confidential/ConfidentialAccount/types.ts @@ -0,0 +1,6 @@ +import { ConfidentialAsset } from '~/internal'; + +export interface ConfidentialAssetBalance { + asset: ConfidentialAsset; + balance: string; +} diff --git a/src/api/entities/confidential/__tests__/ConfidentialAccount/index.ts b/src/api/entities/confidential/__tests__/ConfidentialAccount/index.ts index bc41d339b5..73af21e482 100644 --- a/src/api/entities/confidential/__tests__/ConfidentialAccount/index.ts +++ b/src/api/entities/confidential/__tests__/ConfidentialAccount/index.ts @@ -1,8 +1,19 @@ -import { ConfidentialAccount, Context, Entity } from '~/internal'; +import { ConfidentialAccount, Context, Entity, PolymeshError } from '~/internal'; import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; import { Mocked } from '~/testUtils/types'; +import { ErrorCode } from '~/types'; +import { tuple } from '~/types/utils'; import * as utilsConversionModule from '~/utils/conversion'; +import { mockConfidentialAssetModule } from './../../../../../testUtils/mocks/entities'; + +jest.mock( + '~/api/entities/confidential/ConfidentialAsset', + require('~/testUtils/mocks/entities').mockConfidentialAssetModule( + '~/api/entities/confidential/ConfidentialAsset' + ) +); + describe('ConfidentialAccount class', () => { let context: Mocked; @@ -73,6 +84,68 @@ describe('ConfidentialAccount class', () => { }); }); + describe('method: getIncomingBalances', () => { + it('should return all the incoming balances for the ConfidentialAccount', async () => { + const assetId = '0xAsset'; + const encryptedBalance = '0xbalance'; + + jest.spyOn(utilsConversionModule, 'meshConfidentialAssetToAssetId').mockReturnValue(assetId); + + dsMockUtils.createQueryMock('confidentialAsset', 'incomingBalance', { + entries: [ + tuple( + [publicKey, assetId], + dsMockUtils.createMockOption(dsMockUtils.createMockElgamalCipherText(encryptedBalance)) + ), + ], + }); + + const result = await account.getIncomingBalances(); + + expect(result).toEqual( + expect.arrayContaining([ + expect.objectContaining({ + asset: expect.objectContaining({ id: assetId }), + balance: encryptedBalance, + }), + ]) + ); + }); + }); + + describe('method: getIncomingBalance', () => { + let incomingBalanceMock: jest.Mock; + let assetId: string; + + beforeEach(() => { + incomingBalanceMock = dsMockUtils.createQueryMock('confidentialAsset', 'incomingBalance'); + assetId = 'SOME_ASSET_ID'; + }); + + it('should return the incoming balance for the given asset ID', async () => { + const balance = '0xbalance'; + incomingBalanceMock.mockReturnValueOnce( + dsMockUtils.createMockOption(dsMockUtils.createMockElgamalCipherText(balance)) + ); + + const result = await account.getIncomingBalance({ asset: assetId }); + expect(result).toEqual(balance); + }); + + it('should throw an error if no incoming balance is found for the given ID', () => { + incomingBalanceMock.mockReturnValue(dsMockUtils.createMockOption()); + + const expectedError = new PolymeshError({ + code: ErrorCode.DataUnavailable, + message: 'No incoming balance found for the given asset', + }); + + return expect(account.getIncomingBalance({ asset: assetId })).rejects.toThrowError( + expectedError + ); + }); + }); + describe('method: toHuman', () => { it('should return a human readable version of the entity', () => { expect(account.toHuman()).toBe(account.publicKey); diff --git a/src/api/entities/confidential/types.ts b/src/api/entities/confidential/types.ts index 1fe5bb477b..991901b276 100644 --- a/src/api/entities/confidential/types.ts +++ b/src/api/entities/confidential/types.ts @@ -1,2 +1,3 @@ export * from './ConfidentialAsset/types'; export * from './ConfidentialTransaction/types'; +export * from './ConfidentialAccount/types'; diff --git a/src/testUtils/mocks/dataSources.ts b/src/testUtils/mocks/dataSources.ts index eebb44c453..96e109341e 100644 --- a/src/testUtils/mocks/dataSources.ts +++ b/src/testUtils/mocks/dataSources.ts @@ -50,6 +50,7 @@ import { SignedBlock, } from '@polkadot/types/interfaces'; import { + ConfidentialAssetsElgamalCipherText, PalletAssetAssetOwnershipRelation, PalletAssetSecurityToken, PalletAssetTickerRegistration, @@ -4751,3 +4752,17 @@ export const createMockConfidentialLegState = ( return createMockCodec({ assetState }, !state); }; + +/** + * @hidden + * NOTE: `isEmpty` will be set to true if no value is passed + */ +export const createMockElgamalCipherText = ( + value?: string | ConfidentialAssetsElgamalCipherText +): MockCodec => { + if (isCodec(value)) { + return value as MockCodec; + } + + return createMockStringCodec(value); +}; diff --git a/tsconfig.json b/tsconfig.json index 152b37f7e0..60b6d6770d 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -4,16 +4,28 @@ "rootDir": "src", "baseUrl": ".", "paths": { - "~/*": ["src/*"], - "polymesh-types/*": ["src/polkadot/*"], - "@polkadot/api/augment": ["src/polkadot/augment-api.ts"], - "@polkadot/types/augment": ["src/polkadot/augment-types.ts"], - "@polkadot/types/lookup": ["src/polkadot/types-lookup.ts"] + "~/*": [ + "src/*" + ], + "polymesh-types/*": [ + "src/polkadot/*" + ], + "@polkadot/api/augment": [ + "src/polkadot/augment-api.ts" + ], + "@polkadot/types/augment": [ + "src/polkadot/augment-types.ts" + ], + "@polkadot/types/lookup": [ + "src/polkadot/types-lookup.ts" + ] }, "plugins": [ { "transform": "@ovos-media/ts-transform-paths", - "exclude": ["*"], + "exclude": [ + "*" + ], } ], "useUnknownInCatchVariables": false, @@ -28,8 +40,20 @@ "esModuleInterop": true, "resolveJsonModule": true, "skipLibCheck": true, - "lib": ["es2017", "dom"], - "typeRoots": ["./node_modules/@types", "./src/typings"] + "lib": [ + "es2017", + "dom" + ], + "typeRoots": [ + "./node_modules/@types", + "./src/typings" + ] }, - "exclude": ["dist", "node_modules", "sandbox.ts", "test.ts", "src-temp"] -} + "exclude": [ + "dist", + "node_modules", + "src/sandbox.ts", + "test.ts", + "src-temp" + ] +} \ No newline at end of file From 78a77db1beaec6280072dda33882f5ed00525e0c Mon Sep 17 00:00:00 2001 From: Prashant Bajpai <34747455+prashantasdeveloper@users.noreply.github.com> Date: Sat, 10 Feb 2024 10:48:06 +0530 Subject: [PATCH 079/120] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20Add=20procedure?= =?UTF-8?q?=20to=20apply=20incoming=20balance=20for=20CA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/client/ConfidentialAccounts.ts | 27 +++- .../confidential/ConfidentialAccount/types.ts | 13 +- .../__tests__/applyIncomingAssetBalance.ts | 137 ++++++++++++++++++ .../procedures/applyIncomingAssetBalance.ts | 71 +++++++++ src/internal.ts | 1 + src/testUtils/mocks/entities.ts | 4 + 6 files changed, 250 insertions(+), 3 deletions(-) create mode 100644 src/api/procedures/__tests__/applyIncomingAssetBalance.ts create mode 100644 src/api/procedures/applyIncomingAssetBalance.ts diff --git a/src/api/client/ConfidentialAccounts.ts b/src/api/client/ConfidentialAccounts.ts index e22f17d33c..6ec2d47a84 100644 --- a/src/api/client/ConfidentialAccounts.ts +++ b/src/api/client/ConfidentialAccounts.ts @@ -1,5 +1,16 @@ -import { ConfidentialAccount, Context, createConfidentialAccount, PolymeshError } from '~/internal'; -import { CreateConfidentialAccountParams, ErrorCode, ProcedureMethod } from '~/types'; +import { + applyIncomingAssetBalance, + ConfidentialAccount, + Context, + createConfidentialAccount, + PolymeshError, +} from '~/internal'; +import { + ApplyIncomingBalanceParams, + CreateConfidentialAccountParams, + ErrorCode, + ProcedureMethod, +} from '~/types'; import { createProcedureMethod } from '~/utils/internal'; /** @@ -20,6 +31,13 @@ export class ConfidentialAccounts { }, context ); + + this.applyIncomingBalance = createProcedureMethod( + { + getProcedureAndArgs: args => [applyIncomingAssetBalance, { ...args }], + }, + context + ); } /** @@ -51,4 +69,9 @@ export class ConfidentialAccounts { CreateConfidentialAccountParams, ConfidentialAccount >; + + /** + * Applies incoming balance to a Confidnetial Account + */ + public applyIncomingBalance: ProcedureMethod; } diff --git a/src/api/entities/confidential/ConfidentialAccount/types.ts b/src/api/entities/confidential/ConfidentialAccount/types.ts index 3dc23e48d5..162ab582bb 100644 --- a/src/api/entities/confidential/ConfidentialAccount/types.ts +++ b/src/api/entities/confidential/ConfidentialAccount/types.ts @@ -1,6 +1,17 @@ -import { ConfidentialAsset } from '~/internal'; +import { ConfidentialAccount, ConfidentialAsset } from '~/internal'; export interface ConfidentialAssetBalance { asset: ConfidentialAsset; balance: string; } + +export interface ApplyIncomingBalanceParams { + /** + * Confidential Account to which the incoming balance is to be applied + */ + account: string | ConfidentialAccount; + /** + * Confidential Asset whose balance is to be applied + */ + asset: string | ConfidentialAsset; +} diff --git a/src/api/procedures/__tests__/applyIncomingAssetBalance.ts b/src/api/procedures/__tests__/applyIncomingAssetBalance.ts new file mode 100644 index 0000000000..48974f87fd --- /dev/null +++ b/src/api/procedures/__tests__/applyIncomingAssetBalance.ts @@ -0,0 +1,137 @@ +import { when } from 'jest-when'; + +import { + getAuthorization, + prepareApplyIncomingBalance, +} from '~/api/procedures/applyIncomingAssetBalance'; +import { Context, PolymeshError } from '~/internal'; +import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; +import { Mocked } from '~/testUtils/types'; +import { ApplyIncomingBalanceParams, ConfidentialAsset, ErrorCode, TxTags } from '~/types'; +import * as utilsConversionModule from '~/utils/conversion'; + +import { ConfidentialAccount } from './../../entities/types'; + +describe('applyIncomingAssetBalance procedure', () => { + let mockContext: Mocked; + let account: ConfidentialAccount; + let serializeConfidentialAssetIdSpy: jest.SpyInstance; + let asset: ConfidentialAsset; + let rawAssetId: string; + let args: ApplyIncomingBalanceParams; + + beforeAll(() => { + dsMockUtils.initMocks(); + procedureMockUtils.initMocks(); + entityMockUtils.initMocks(); + + serializeConfidentialAssetIdSpy = jest.spyOn( + utilsConversionModule, + 'serializeConfidentialAssetId' + ); + }); + + beforeEach(() => { + mockContext = dsMockUtils.getContextInstance(); + asset = entityMockUtils.getConfidentialAssetInstance(); + rawAssetId = '0x10Asset'; + + when(serializeConfidentialAssetIdSpy).calledWith(asset.id).mockReturnValue(rawAssetId); + + account = entityMockUtils.getConfidentialAccountInstance(); + + args = { + asset, + account, + }; + }); + + afterEach(() => { + entityMockUtils.reset(); + procedureMockUtils.reset(); + dsMockUtils.reset(); + }); + + afterAll(() => { + procedureMockUtils.cleanup(); + dsMockUtils.cleanup(); + }); + + it('should throw an error if no incoming balance is present', async () => { + const proc = procedureMockUtils.getInstance( + mockContext + ); + + const expectedError = new PolymeshError({ + code: ErrorCode.DataUnavailable, + message: 'Amount should be greater than zero', + }); + + account.getIncomingBalance = jest.fn().mockRejectedValue(expectedError); + + await expect(prepareApplyIncomingBalance.call(proc, args)).rejects.toThrowError(expectedError); + }); + + it('should throw an error if account is not owned by the signer', async () => { + const proc = procedureMockUtils.getInstance( + mockContext + ); + + const expectedError = new PolymeshError({ + code: ErrorCode.UnmetPrerequisite, + message: + 'The Signing Identity cannot apply incoming balance for the confidential Asset in the specified account', + }); + + await expect( + prepareApplyIncomingBalance.call(proc, { + ...args, + account: entityMockUtils.getConfidentialAccountInstance({ + getIdentity: null, + }), + }) + ).rejects.toThrowError(expectedError); + + await expect( + prepareApplyIncomingBalance.call(proc, { + ...args, + account: entityMockUtils.getConfidentialAccountInstance({ + getIdentity: entityMockUtils.getIdentityInstance({ + did: 'someRandomDid', + }), + }), + }) + ).rejects.toThrowError(expectedError); + }); + + it('should return a apply incoming balance transaction spec', async () => { + const transaction = dsMockUtils.createTxMock('confidentialAsset', 'applyIncomingBalance'); + const proc = procedureMockUtils.getInstance( + mockContext + ); + + const result = await prepareApplyIncomingBalance.call(proc, args); + expect(result).toEqual({ + transaction, + args: [account.publicKey, rawAssetId], + resolver: expect.objectContaining({ publicKey: account.publicKey }), + }); + }); + + describe('getAuthorization', () => { + it('should return the appropriate roles and permissions', () => { + const proc = procedureMockUtils.getInstance( + mockContext + ); + const boundFunc = getAuthorization.bind(proc); + + expect(boundFunc()).toEqual({ + permissions: { + transactions: [TxTags.confidentialAsset.ApplyIncomingBalance], + assets: [], + portfolios: [], + }, + }); + }); + }); +}); diff --git a/src/api/procedures/applyIncomingAssetBalance.ts b/src/api/procedures/applyIncomingAssetBalance.ts new file mode 100644 index 0000000000..8c429efb13 --- /dev/null +++ b/src/api/procedures/applyIncomingAssetBalance.ts @@ -0,0 +1,71 @@ +import { PolymeshError, Procedure } from '~/internal'; +import { ApplyIncomingBalanceParams, ConfidentialAccount, ErrorCode, TxTags } from '~/types'; +import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; +import { serializeConfidentialAssetId } from '~/utils/conversion'; +import { asConfidentialAccount, asConfidentialAsset } from '~/utils/internal'; + +/** + * @hidden + */ +export async function prepareApplyIncomingBalance( + this: Procedure, + args: ApplyIncomingBalanceParams +): Promise< + TransactionSpec> +> { + const { + context: { + polymeshApi: { + tx: { confidentialAsset }, + }, + }, + context, + } = this; + const { asset: assetInput, account: accountInput } = args; + + const account = asConfidentialAccount(accountInput, context); + const asset = asConfidentialAsset(assetInput, context); + + const [{ did: signingDid }, accountIdentity, _incomingBalance] = await Promise.all([ + context.getSigningIdentity(), + account.getIdentity(), + account.getIncomingBalance({ asset }), + ]); + + if (!accountIdentity || accountIdentity.did !== signingDid) { + throw new PolymeshError({ + code: ErrorCode.UnmetPrerequisite, + message: + 'The Signing Identity cannot apply incoming balance for the confidential Asset in the specified account', + }); + } + + return { + transaction: confidentialAsset.applyIncomingBalance, + args: [account.publicKey, serializeConfidentialAssetId(asset.id)], + resolver: account, + }; +} + +/** + * @hidden + */ +export function getAuthorization( + this: Procedure +): ProcedureAuthorization { + return { + permissions: { + transactions: [TxTags.confidentialAsset.ApplyIncomingBalance], + assets: [], + portfolios: [], + }, + }; +} + +/** + * @hidden + */ +export const applyIncomingAssetBalance = (): Procedure< + ApplyIncomingBalanceParams, + ConfidentialAccount +> => new Procedure(prepareApplyIncomingBalance, getAuthorization); diff --git a/src/internal.ts b/src/internal.ts index 0365791eba..6d3e0615ab 100644 --- a/src/internal.ts +++ b/src/internal.ts @@ -107,6 +107,7 @@ export { MultiSigProposal } from '~/api/entities/MultiSigProposal'; export { TickerReservation } from '~/api/entities/TickerReservation'; export { BaseAsset, FungibleAsset, NftCollection, Nft } from '~/api/entities/Asset'; export { issueConfidentialAssets } from '~/api/procedures/issueConfidentialAssets'; +export { applyIncomingAssetBalance } from '~/api/procedures/applyIncomingAssetBalance'; export { ConfidentialAccount } from '~/api/entities/confidential/ConfidentialAccount'; export { ConfidentialAsset } from '~/api/entities/confidential/ConfidentialAsset'; export { createConfidentialVenue } from '~/api/procedures/createConfidentialVenue'; diff --git a/src/testUtils/mocks/entities.ts b/src/testUtils/mocks/entities.ts index 2e58594646..5e9c3858e8 100644 --- a/src/testUtils/mocks/entities.ts +++ b/src/testUtils/mocks/entities.ts @@ -404,6 +404,7 @@ interface ConfidentialTransactionOptions extends EntityOptions { interface ConfidentialAccountOptions extends EntityOptions { publicKey?: string; getIdentity?: EntityGetter; + getIncomingBalance?: EntityGetter; } type MockOptions = { @@ -2137,6 +2138,7 @@ const MockConfidentialAccountClass = createMockEntityClass ({ publicKey: 'somePublicKey', getIdentity: getIdentityInstance(), + getIncomingBalance: 'someEncryptedBalance', }), ['ConfidentialAccount'] ); From 5ba63369d5a3ac50b1aa6094f761d80ce26044a1 Mon Sep 17 00:00:00 2001 From: Prashant Bajpai <34747455+prashantasdeveloper@users.noreply.github.com> Date: Sat, 10 Feb 2024 10:58:53 +0530 Subject: [PATCH 080/120] =?UTF-8?q?refactor:=20=F0=9F=92=A1=20fix=20lint?= =?UTF-8?q?=20errors?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../confidential/__tests__/ConfidentialAccount/index.ts | 2 -- src/api/procedures/applyIncomingAssetBalance.ts | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/api/entities/confidential/__tests__/ConfidentialAccount/index.ts b/src/api/entities/confidential/__tests__/ConfidentialAccount/index.ts index 73af21e482..aa5cdbe92e 100644 --- a/src/api/entities/confidential/__tests__/ConfidentialAccount/index.ts +++ b/src/api/entities/confidential/__tests__/ConfidentialAccount/index.ts @@ -5,8 +5,6 @@ import { ErrorCode } from '~/types'; import { tuple } from '~/types/utils'; import * as utilsConversionModule from '~/utils/conversion'; -import { mockConfidentialAssetModule } from './../../../../../testUtils/mocks/entities'; - jest.mock( '~/api/entities/confidential/ConfidentialAsset', require('~/testUtils/mocks/entities').mockConfidentialAssetModule( diff --git a/src/api/procedures/applyIncomingAssetBalance.ts b/src/api/procedures/applyIncomingAssetBalance.ts index 8c429efb13..1a09868a3d 100644 --- a/src/api/procedures/applyIncomingAssetBalance.ts +++ b/src/api/procedures/applyIncomingAssetBalance.ts @@ -26,7 +26,7 @@ export async function prepareApplyIncomingBalance( const account = asConfidentialAccount(accountInput, context); const asset = asConfidentialAsset(assetInput, context); - const [{ did: signingDid }, accountIdentity, _incomingBalance] = await Promise.all([ + const [{ did: signingDid }, accountIdentity] = await Promise.all([ context.getSigningIdentity(), account.getIdentity(), account.getIncomingBalance({ asset }), From ec8c5dbd87b6c768debf8079366d57e0da622969 Mon Sep 17 00:00:00 2001 From: Prashant Bajpai <34747455+prashantasdeveloper@users.noreply.github.com> Date: Mon, 12 Feb 2024 10:11:27 +0530 Subject: [PATCH 081/120] =?UTF-8?q?test:=20=F0=9F=92=8D=20Add=20more=20tes?= =?UTF-8?q?ts?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../client/__tests__/ConfidentialAccounts.ts | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/src/api/client/__tests__/ConfidentialAccounts.ts b/src/api/client/__tests__/ConfidentialAccounts.ts index 0226911791..5111048515 100644 --- a/src/api/client/__tests__/ConfidentialAccounts.ts +++ b/src/api/client/__tests__/ConfidentialAccounts.ts @@ -87,4 +87,24 @@ describe('ConfidentialAccounts Class', () => { expect(tx).toBe(expectedTransaction); }); }); + + describe('method: applyIncomingBalance', () => { + it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { + const args = { + asset: 'someAsset', + account: 'someAccount', + }; + + const expectedTransaction = + 'someTransaction' as unknown as PolymeshTransaction; + + when(procedureMockUtils.getPrepareMock()) + .calledWith({ args, transformer: undefined }, context, {}) + .mockResolvedValue(expectedTransaction); + + const tx = await confidentialAccounts.applyIncomingBalance(args); + + expect(tx).toBe(expectedTransaction); + }); + }); }); From b619a72c7b7e72ff8d7e3613124258a640388003 Mon Sep 17 00:00:00 2001 From: Prashant Bajpai <34747455+prashantasdeveloper@users.noreply.github.com> Date: Mon, 12 Feb 2024 13:31:38 +0530 Subject: [PATCH 082/120] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20Add=20methods=20?= =?UTF-8?q?to=20get=20balances=20for=20confidential=20account?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../confidential/ConfidentialAccount/index.ts | 111 +++++++++++++----- .../__tests__/ConfidentialAccount/index.ts | 62 +++++++++- 2 files changed, 141 insertions(+), 32 deletions(-) diff --git a/src/api/entities/confidential/ConfidentialAccount/index.ts b/src/api/entities/confidential/ConfidentialAccount/index.ts index bf3ed66a4b..f4d2e2a043 100644 --- a/src/api/entities/confidential/ConfidentialAccount/index.ts +++ b/src/api/entities/confidential/ConfidentialAccount/index.ts @@ -1,3 +1,4 @@ +import { AugmentedQueries } from '@polkadot/api/types'; import { ConfidentialAssetsElgamalCipherText } from '@polkadot/types/lookup'; import type { Option, U8aFixed } from '@polkadot/types-codec'; @@ -74,20 +75,16 @@ export class ConfidentialAccount extends Entity { } /** - * Retrieves all incoming balances for this Confidential Account + * @hidden + * + * Populates asset balance (current/incoming) for a confidential Account */ - public async getIncomingBalances(): Promise { - const { - context: { - polymeshApi: { - query: { confidentialAsset }, - }, - }, - context, - publicKey, - } = this; + private async populateAssetBalances( + storage: AugmentedQueries<'promise'>['confidentialAsset']['accountBalance' | 'incomingBalance'] + ): Promise { + const { context, publicKey } = this; - const rawEntries = await confidentialAsset.incomingBalance.entries(publicKey); + const rawEntries = await storage.entries(publicKey); const assembleResult = ( rawAssetId: U8aFixed, @@ -112,32 +109,24 @@ export class ConfidentialAccount extends Entity { } /** - * Retrieves incoming balance for a specific Confidential Asset + * @hidden + * + * Retrieved encrypted balance (current/incoming) for a Confidential Asset */ - public async getIncomingBalance(args: { asset: ConfidentialAsset | string }): Promise { - const { - context: { - polymeshApi: { - query: { - confidentialAsset: { incomingBalance }, - }, - }, - }, - context, - publicKey, - } = this; + private async populateAssetBalance( + storage: AugmentedQueries<'promise'>['confidentialAsset']['accountBalance' | 'incomingBalance'], + asset: string | ConfidentialAsset + ): Promise { + const { context, publicKey } = this; - const confidentialAsset = asConfidentialAsset(args.asset, context); + const confidentialAsset = asConfidentialAsset(asset, context); - const rawBalance = await incomingBalance( - publicKey, - serializeConfidentialAssetId(confidentialAsset) - ); + const rawBalance = await storage(publicKey, serializeConfidentialAssetId(confidentialAsset)); if (rawBalance.isNone) { throw new PolymeshError({ code: ErrorCode.DataUnavailable, - message: 'No incoming balance found for the given asset', + message: 'No balance found for the given asset', data: { assetId: confidentialAsset.id, }, @@ -147,6 +136,66 @@ export class ConfidentialAccount extends Entity { return rawBalance.unwrap().toString(); } + /** + * Retrieves current balances of all Confidential Assets for this Confidential Account + */ + public async getBalances(): Promise { + const { + context: { + polymeshApi: { + query: { confidentialAsset }, + }, + }, + } = this; + + return this.populateAssetBalances(confidentialAsset.accountBalance); + } + + /** + * Retrieves incoming balance for a specific Confidential Asset + */ + public async getBalance(args: { asset: ConfidentialAsset | string }): Promise { + const { + context: { + polymeshApi: { + query: { confidentialAsset }, + }, + }, + } = this; + + return this.populateAssetBalance(confidentialAsset.accountBalance, args.asset); + } + + /** + * Retrieves all incoming balances for this Confidential Account + */ + public async getIncomingBalances(): Promise { + const { + context: { + polymeshApi: { + query: { confidentialAsset }, + }, + }, + } = this; + + return this.populateAssetBalances(confidentialAsset.incomingBalance); + } + + /** + * Retrieves incoming balance for a specific Confidential Asset + */ + public async getIncomingBalance(args: { asset: ConfidentialAsset | string }): Promise { + const { + context: { + polymeshApi: { + query: { confidentialAsset }, + }, + }, + } = this; + + return this.populateAssetBalance(confidentialAsset.incomingBalance, args.asset); + } + /** * Determine whether this Account exists on chain */ diff --git a/src/api/entities/confidential/__tests__/ConfidentialAccount/index.ts b/src/api/entities/confidential/__tests__/ConfidentialAccount/index.ts index aa5cdbe92e..a4573ad6cb 100644 --- a/src/api/entities/confidential/__tests__/ConfidentialAccount/index.ts +++ b/src/api/entities/confidential/__tests__/ConfidentialAccount/index.ts @@ -82,6 +82,66 @@ describe('ConfidentialAccount class', () => { }); }); + describe('method: getBalances', () => { + it('should return existing balances of all Confidential Assets for the current ConfidentialAccount', async () => { + const assetId = '0xAsset'; + const encryptedBalance = '0xbalance'; + + jest.spyOn(utilsConversionModule, 'meshConfidentialAssetToAssetId').mockReturnValue(assetId); + + dsMockUtils.createQueryMock('confidentialAsset', 'accountBalance', { + entries: [ + tuple( + [publicKey, assetId], + dsMockUtils.createMockOption(dsMockUtils.createMockElgamalCipherText(encryptedBalance)) + ), + ], + }); + + const result = await account.getBalances(); + + expect(result).toEqual( + expect.arrayContaining([ + expect.objectContaining({ + asset: expect.objectContaining({ id: assetId }), + balance: encryptedBalance, + }), + ]) + ); + }); + }); + + describe('method: getBalance', () => { + let accountBalanceMock: jest.Mock; + let assetId: string; + + beforeEach(() => { + accountBalanceMock = dsMockUtils.createQueryMock('confidentialAsset', 'accountBalance'); + assetId = 'SOME_ASSET_ID'; + }); + + it('should return the incoming balance for the given asset ID', async () => { + const balance = '0xbalance'; + accountBalanceMock.mockReturnValueOnce( + dsMockUtils.createMockOption(dsMockUtils.createMockElgamalCipherText(balance)) + ); + + const result = await account.getBalance({ asset: assetId }); + expect(result).toEqual(balance); + }); + + it('should throw an error if no account balance is found for the given ID', () => { + accountBalanceMock.mockReturnValue(dsMockUtils.createMockOption()); + + const expectedError = new PolymeshError({ + code: ErrorCode.DataUnavailable, + message: 'No balance found for the given asset', + }); + + return expect(account.getBalance({ asset: assetId })).rejects.toThrowError(expectedError); + }); + }); + describe('method: getIncomingBalances', () => { it('should return all the incoming balances for the ConfidentialAccount', async () => { const assetId = '0xAsset'; @@ -135,7 +195,7 @@ describe('ConfidentialAccount class', () => { const expectedError = new PolymeshError({ code: ErrorCode.DataUnavailable, - message: 'No incoming balance found for the given asset', + message: 'No balance found for the given asset', }); return expect(account.getIncomingBalance({ asset: assetId })).rejects.toThrowError( From cf7ca25714417880fd800130f46cc8cf5bcd837d Mon Sep 17 00:00:00 2001 From: Eric Richardson Date: Mon, 12 Feb 2024 16:12:48 -0500 Subject: [PATCH 083/120] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20add=20getMediato?= =?UTF-8?q?rs=20to=20Instruction?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit add method to fetch instruction mediators, along with their affirmation status ✅ Closes: DA-1024 --- .../entities/Instruction/__tests__/index.ts | 25 +++++++++++++ src/api/entities/Instruction/index.ts | 31 ++++++++++++++++ src/api/entities/Instruction/types.ts | 9 +++++ src/testUtils/mocks/dataSources.ts | 27 ++++++++++++++ src/utils/__tests__/conversion.ts | 36 +++++++++++++++++++ src/utils/conversion.ts | 23 ++++++++++++ 6 files changed, 151 insertions(+) diff --git a/src/api/entities/Instruction/__tests__/index.ts b/src/api/entities/Instruction/__tests__/index.ts index 3c844414aa..fa1e7092a4 100644 --- a/src/api/entities/Instruction/__tests__/index.ts +++ b/src/api/entities/Instruction/__tests__/index.ts @@ -1118,4 +1118,29 @@ describe('Instruction class', () => { ]); }); }); + + describe('method: getMediators', () => { + const mediatorDid = 'mediatorDid'; + + it('should return the instruction mediators', async () => { + dsMockUtils.createQueryMock('settlement', 'instructionMediatorsAffirmations', { + entries: [ + tuple( + [rawId, dsMockUtils.createMockIdentityId(mediatorDid)], + dsMockUtils.createMockMediatorAffirmationStatus('Pending') + ), + ], + }); + + const result = await instruction.getMediators(); + + expect(result).toEqual([ + expect.objectContaining({ + identity: expect.objectContaining({ did: mediatorDid }), + status: AffirmationStatus.Pending, + expiry: undefined, + }), + ]); + }); + }); }); diff --git a/src/api/entities/Instruction/index.ts b/src/api/entities/Instruction/index.ts index fd6e0dd9d8..9fecc91602 100644 --- a/src/api/entities/Instruction/index.ts +++ b/src/api/entities/Instruction/index.ts @@ -41,6 +41,7 @@ import { bigNumberToU64, identityIdToString, instructionMemoToString, + mediatorAffirmationStatusToStatus, meshAffirmationStatusToAffirmationStatus, meshInstructionStatusToInstructionStatus, meshNftToNftId, @@ -59,6 +60,7 @@ import { InstructionStatus, InstructionStatusResult, Leg, + MediatorAffirmation, } from './types'; export interface UniqueIdentifiers { @@ -564,6 +566,35 @@ export class Instruction extends Entity { return portfolios; } + /** + * Returns the mediators for the Instruction, along with their affirmation status + */ + public async getMediators(): Promise { + const { + id, + context, + context: { + polymeshApi: { + query: { settlement }, + }, + }, + } = this; + + const rawId = bigNumberToU64(id, context); + + const rawAffirms = await settlement.instructionMediatorsAffirmations.entries(rawId); + + return rawAffirms.map(([key, affirmStatus]) => { + const rawDid = key.args[1]; + const did = identityIdToString(rawDid); + const identity = new Identity({ did }, context); + + const { status, expiry } = mediatorAffirmationStatusToStatus(affirmStatus); + + return { identity, status, expiry }; + }); + } + /** * @hidden */ diff --git a/src/api/entities/Instruction/types.ts b/src/api/entities/Instruction/types.ts index 510df4144f..8ebcca47a1 100644 --- a/src/api/entities/Instruction/types.ts +++ b/src/api/entities/Instruction/types.ts @@ -86,3 +86,12 @@ export type InstructionStatusResult = status: Exclude; eventIdentifier: EventIdentifier; }; + +export type MediatorAffirmation = { + identity: Identity; + status: AffirmationStatus; + /** + * Affirmations may have an expiration time + */ + expiry?: Date; +}; diff --git a/src/testUtils/mocks/dataSources.ts b/src/testUtils/mocks/dataSources.ts index c2d7975dfc..a4519e86e4 100644 --- a/src/testUtils/mocks/dataSources.ts +++ b/src/testUtils/mocks/dataSources.ts @@ -115,6 +115,7 @@ import { PolymeshPrimitivesSettlementInstruction, PolymeshPrimitivesSettlementInstructionStatus, PolymeshPrimitivesSettlementLeg, + PolymeshPrimitivesSettlementMediatorAffirmationStatus, PolymeshPrimitivesSettlementSettlementType, PolymeshPrimitivesSettlementVenueType, PolymeshPrimitivesStatisticsStat2ndKey, @@ -4418,3 +4419,29 @@ export const createMockSigningPayload = (mockGetters?: { !mockGetters ); }; + +export const createMockAffirmationExpiry = ( + affirmExpiry: Option | Parameters +): MockCodec => { + const expiry = affirmExpiry ?? dsMockUtils.createMockOption(); + + return createMockCodec({ expiry }, !affirmExpiry); +}; + +/** + * @hidden + * NOTE: `isEmpty` will be set to true if no value is passed + */ +export const createMockMediatorAffirmationStatus = ( + status?: + | 'Unknown' + | 'Pending' + | { Affirmed: MockCodec } + | PolymeshPrimitivesSettlementMediatorAffirmationStatus +): MockCodec => { + if (isCodec(status)) { + return status as MockCodec; + } + + return createMockEnum(status); +}; diff --git a/src/utils/__tests__/conversion.ts b/src/utils/__tests__/conversion.ts index a2531ed803..654e548041 100644 --- a/src/utils/__tests__/conversion.ts +++ b/src/utils/__tests__/conversion.ts @@ -228,6 +228,7 @@ import { keyToAddress, legToFungibleLeg, legToNonFungibleLeg, + mediatorAffirmationStatusToStatus, meshAffirmationStatusToAffirmationStatus, meshClaimToClaim, meshClaimToInputStatClaim, @@ -9859,3 +9860,38 @@ describe('toCustomClaimTypeWithIdentity', () => { ]); }); }); + +describe('mediatorAffirmationStatusToStatus', () => { + it('should convert mediator affirmation status', () => { + let input = dsMockUtils.createMockMediatorAffirmationStatus('Pending'); + let result = mediatorAffirmationStatusToStatus(input); + expect(result).toEqual({ status: AffirmationStatus.Pending }); + + input = dsMockUtils.createMockMediatorAffirmationStatus('Unknown'); + result = mediatorAffirmationStatusToStatus(input); + expect(result).toEqual({ status: AffirmationStatus.Unknown }); + + input = dsMockUtils.createMockMediatorAffirmationStatus({ + Affirmed: { + expiry: dsMockUtils.createMockOption(dsMockUtils.createMockMoment(new BigNumber(1))), + }, + }); + result = mediatorAffirmationStatusToStatus(input); + expect(result).toEqual({ status: AffirmationStatus.Affirmed, expiry: new Date(1) }); + + input = dsMockUtils.createMockMediatorAffirmationStatus({ + Affirmed: { + expiry: dsMockUtils.createMockOption(), + }, + }); + result = mediatorAffirmationStatusToStatus(input); + expect(result).toEqual({ status: AffirmationStatus.Affirmed, expiry: undefined }); + }); + + it('should throw an error if it encounters an unexpected case', () => { + // eslint-disable-next-line @typescript-eslint/no-explicit-any + expect(() => mediatorAffirmationStatusToStatus({ type: 'notAType' } as any)).toThrow( + UnreachableCaseError + ); + }); +}); diff --git a/src/utils/conversion.ts b/src/utils/conversion.ts index 28e173ecaf..5afd4e0f0f 100644 --- a/src/utils/conversion.ts +++ b/src/utils/conversion.ts @@ -50,6 +50,7 @@ import { PolymeshPrimitivesSettlementAffirmationStatus, PolymeshPrimitivesSettlementInstructionStatus, PolymeshPrimitivesSettlementLeg, + PolymeshPrimitivesSettlementMediatorAffirmationStatus, PolymeshPrimitivesSettlementSettlementType, PolymeshPrimitivesSettlementVenueType, PolymeshPrimitivesStatisticsStat2ndKey, @@ -174,6 +175,7 @@ import { InstructionType, KnownAssetType, KnownNftType, + MediatorAffirmation, MetadataKeyId, MetadataLockStatus, MetadataSpec, @@ -4818,3 +4820,24 @@ export function toHistoricalSettlements( return data.sort((a, b) => a.blockNumber.minus(b.blockNumber).toNumber()); } + +/** + * @hidden + */ +export function mediatorAffirmationStatusToStatus( + rawStatus: PolymeshPrimitivesSettlementMediatorAffirmationStatus +): Omit { + switch (rawStatus.type) { + case 'Unknown': + return { status: AffirmationStatus.Unknown }; + case 'Pending': + return { status: AffirmationStatus.Pending }; + case 'Affirmed': { + const rawExpiry = rawStatus.asAffirmed.expiry; + const expiry = rawExpiry.isSome ? momentToDate(rawExpiry.unwrap()) : undefined; + return { status: AffirmationStatus.Affirmed, expiry }; + } + default: + throw new UnreachableCaseError(rawStatus.type); + } +} From 3db071486e113e1e01dd7c91e69c4c8ee1429da0 Mon Sep 17 00:00:00 2001 From: Eric Richardson Date: Tue, 13 Feb 2024 17:07:40 -0500 Subject: [PATCH 084/120] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20add=20{affirm,re?= =?UTF-8?q?ject,withdraw}=5Fas=5Fmediator=20to=20Instruction?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit adds a set of methods to allow instruction mediators to manage their affirmation status ✅ Closes: DA-1022 --- .../entities/Instruction/__tests__/index.ts | 75 ++++ src/api/entities/Instruction/index.ts | 55 ++- .../__tests__/modifyInstructionAffirmation.ts | 321 +++++++++++++++++- .../modifyInstructionAffirmation.ts | 151 ++++++-- src/api/procedures/types.ts | 19 +- 5 files changed, 588 insertions(+), 33 deletions(-) diff --git a/src/api/entities/Instruction/__tests__/index.ts b/src/api/entities/Instruction/__tests__/index.ts index fa1e7092a4..7e70b665a6 100644 --- a/src/api/entities/Instruction/__tests__/index.ts +++ b/src/api/entities/Instruction/__tests__/index.ts @@ -815,6 +815,81 @@ describe('Instruction class', () => { }); }); + describe('method: rejectAsMediator', () => { + afterAll(() => { + jest.restoreAllMocks(); + }); + + it('should prepare the procedure and return the resulting transaction', async () => { + const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; + + when(procedureMockUtils.getPrepareMock()) + .calledWith( + { + args: { id, operation: InstructionAffirmationOperation.RejectAsMediator }, + transformer: undefined, + }, + context, + {} + ) + .mockResolvedValue(expectedTransaction); + + const tx = await instruction.rejectAsMediator(); + + expect(tx).toBe(expectedTransaction); + }); + }); + + describe('method: affirmAsMediator', () => { + afterAll(() => { + jest.restoreAllMocks(); + }); + + it('should prepare the procedure and return the resulting transaction', async () => { + const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; + + when(procedureMockUtils.getPrepareMock()) + .calledWith( + { + args: { id, operation: InstructionAffirmationOperation.AffirmAsMediator }, + transformer: undefined, + }, + context, + {} + ) + .mockResolvedValue(expectedTransaction); + + const tx = await instruction.affirmAsMediator(); + + expect(tx).toBe(expectedTransaction); + }); + }); + + describe('method: withdrawAsMediator', () => { + afterAll(() => { + jest.restoreAllMocks(); + }); + + it('should prepare the procedure and return the resulting transaction', async () => { + const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; + + when(procedureMockUtils.getPrepareMock()) + .calledWith( + { + args: { id, operation: InstructionAffirmationOperation.WithdrawAsMediator }, + transformer: undefined, + }, + context, + {} + ) + .mockResolvedValue(expectedTransaction); + + const tx = await instruction.withdrawAsMediator(); + + expect(tx).toBe(expectedTransaction); + }); + }); + describe('method: executeManually', () => { afterAll(() => { jest.restoreAllMocks(); diff --git a/src/api/entities/Instruction/index.ts b/src/api/entities/Instruction/index.ts index 9fecc91602..d1e624d07c 100644 --- a/src/api/entities/Instruction/index.ts +++ b/src/api/entities/Instruction/index.ts @@ -20,12 +20,14 @@ import { import { instructionsQuery } from '~/middleware/queries'; import { InstructionStatusEnum, Query } from '~/middleware/types'; import { + AffirmAsMediatorParams, AffirmOrWithdrawInstructionParams, DefaultPortfolio, ErrorCode, EventIdentifier, ExecuteManualInstructionParams, InstructionAffirmationOperation, + NoArgsProcedureMethod, NumberedPortfolio, OptionalArgsProcedureMethod, PaginationOptions, @@ -132,6 +134,39 @@ export class Instruction extends Entity { context ); + this.rejectAsMediator = createProcedureMethod( + { + getProcedureAndArgs: () => [ + modifyInstructionAffirmation, + { id, operation: InstructionAffirmationOperation.RejectAsMediator }, + ], + voidArgs: true, + }, + context + ); + + this.affirmAsMediator = createProcedureMethod( + { + getProcedureAndArgs: args => [ + modifyInstructionAffirmation, + { id, operation: InstructionAffirmationOperation.AffirmAsMediator, ...args }, + ], + optionalArgs: true, + }, + context + ); + + this.withdrawAsMediator = createProcedureMethod( + { + getProcedureAndArgs: () => [ + modifyInstructionAffirmation, + { id, operation: InstructionAffirmationOperation.WithdrawAsMediator }, + ], + voidArgs: true, + }, + context + ); + this.executeManually = createProcedureMethod( { getProcedureAndArgs: args => [executeManualInstruction, { id, ...args }], @@ -464,7 +499,6 @@ export class Instruction extends Entity { * @note reject on `SettleOnBlock` behaves just like unauthorize * @note reject on `SettleManual` behaves just like unauthorize */ - public reject: OptionalArgsProcedureMethod; /** @@ -477,6 +511,25 @@ export class Instruction extends Entity { */ public withdraw: OptionalArgsProcedureMethod; + /** + * Reject this instruction as a mediator + * + * @note reject on `SettleOnAffirmation` will execute the settlement and it will fail immediately. + * @note reject on `SettleOnBlock` behaves just like unauthorize + * @note reject on `SettleManual` behaves just like unauthorize + */ + public rejectAsMediator: NoArgsProcedureMethod; + + /** + * Affirm this instruction as a mediator (authorize) + */ + public affirmAsMediator: OptionalArgsProcedureMethod; + + /** + * Withdraw affirmation from this instruction as a mediator (unauthorize) + */ + public withdrawAsMediator: NoArgsProcedureMethod; + /** * Executes an Instruction either of type `SettleManual` or a `Failed` instruction */ diff --git a/src/api/procedures/__tests__/modifyInstructionAffirmation.ts b/src/api/procedures/__tests__/modifyInstructionAffirmation.ts index 28fab9dd40..243e5e25a7 100644 --- a/src/api/procedures/__tests__/modifyInstructionAffirmation.ts +++ b/src/api/procedures/__tests__/modifyInstructionAffirmation.ts @@ -13,11 +13,14 @@ import { Storage, } from '~/api/procedures/modifyInstructionAffirmation'; import * as procedureUtilsModule from '~/api/procedures/utils'; -import { Context, DefaultPortfolio, Instruction } from '~/internal'; +import { Context, DefaultPortfolio, Instruction, PolymeshError } from '~/internal'; import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; +import { createMockMediatorAffirmationStatus } from '~/testUtils/mocks/dataSources'; import { Mocked } from '~/testUtils/types'; import { AffirmationStatus, + ErrorCode, + Identity, InstructionAffirmationOperation, ModifyInstructionAffirmationParams, PortfolioId, @@ -45,6 +48,7 @@ describe('modifyInstructionAffirmation procedure', () => { kind: dsMockUtils.createMockPortfolioKind('Default'), }); const did = 'someDid'; + let signer: Identity; let portfolio: DefaultPortfolio; let legAmount: BigNumber; let rawLegAmount: u32; @@ -62,6 +66,7 @@ describe('modifyInstructionAffirmation procedure', () => { AffirmationStatus, [PolymeshPrimitivesSettlementAffirmationStatus] >; + let mediatorAffirmationStatusToStatusSpy: jest.SpyInstance; beforeAll(() => { dsMockUtils.initMocks({ @@ -86,6 +91,11 @@ describe('modifyInstructionAffirmation procedure', () => { 'meshAffirmationStatusToAffirmationStatus' ); + mediatorAffirmationStatusToStatusSpy = jest.spyOn( + utilsConversionModule, + 'mediatorAffirmationStatusToStatus' + ); + jest.spyOn(procedureUtilsModule, 'assertInstructionValid').mockImplementation(); }); @@ -94,13 +104,23 @@ describe('modifyInstructionAffirmation procedure', () => { dsMockUtils.createTxMock('settlement', 'affirmInstruction'); dsMockUtils.createTxMock('settlement', 'withdrawAffirmation'); dsMockUtils.createTxMock('settlement', 'rejectInstruction'); - mockContext = dsMockUtils.getContextInstance(); + dsMockUtils.createTxMock('settlement', 'affirmInstructionAsMediator'); + dsMockUtils.createTxMock('settlement', 'withdrawAffirmationAsMediator'); + dsMockUtils.createTxMock('settlement', 'rejectInstructionAsMediator'); + mockContext = dsMockUtils.getContextInstance({ getSigningIdentity: signer }); bigNumberToU64Spy.mockReturnValue(rawInstructionId); bigNumberToU32Spy.mockReturnValue(rawLegAmount); + signer = entityMockUtils.getIdentityInstance({ did }); when(portfolioLikeToPortfolioIdSpy).calledWith(portfolio).mockReturnValue(portfolioId); when(portfolioIdToMeshPortfolioIdSpy) .calledWith(portfolioId, mockContext) .mockReturnValue(rawPortfolioId); + dsMockUtils.createQueryMock('settlement', 'instructionMediatorsAffirmations', { + returnValue: dsMockUtils.createMockAffirmationStatus(AffirmationStatus.Unknown), + }); + dsMockUtils.createQueryMock('settlement', 'userAffirmations', { + multi: [], + }); }); afterEach(() => { @@ -124,6 +144,7 @@ describe('modifyInstructionAffirmation procedure', () => { portfolioParams: ['someDid'], senderLegAmount: legAmount, totalLegAmount: legAmount, + signer, }); return expect( @@ -152,6 +173,7 @@ describe('modifyInstructionAffirmation procedure', () => { portfolioParams: [], senderLegAmount: legAmount, totalLegAmount: legAmount, + signer, }); return expect( @@ -180,6 +202,7 @@ describe('modifyInstructionAffirmation procedure', () => { portfolioParams: [], senderLegAmount: legAmount, totalLegAmount: legAmount, + signer, }); return expect( @@ -208,6 +231,7 @@ describe('modifyInstructionAffirmation procedure', () => { portfolioParams: [], senderLegAmount: legAmount, totalLegAmount: legAmount, + signer, }); const transaction = dsMockUtils.createTxMock('settlement', 'affirmInstruction'); @@ -225,6 +249,110 @@ describe('modifyInstructionAffirmation procedure', () => { }); }); + it('should throw an error if affirmed by a mediator without a pending affirmation', async () => { + const rawAffirmationStatus = dsMockUtils.createMockAffirmationStatus('Unknown'); + dsMockUtils.createQueryMock('settlement', 'instructionMediatorsAffirmations', { + returnValue: rawAffirmationStatus, + }); + when(mediatorAffirmationStatusToStatusSpy) + .calledWith(rawAffirmationStatus) + .mockReturnValue({ status: AffirmationStatus.Unknown }); + + const proc = procedureMockUtils.getInstance< + ModifyInstructionAffirmationParams, + Instruction, + Storage + >(mockContext, { + portfolios: [portfolio, portfolio], + portfolioParams: [], + senderLegAmount: legAmount, + totalLegAmount: legAmount, + signer, + }); + + const expectedError = new PolymeshError({ + code: ErrorCode.ValidationError, + message: 'The signer is not a mediator', + }); + + return expect( + prepareModifyInstructionAffirmation.call(proc, { + id, + operation: InstructionAffirmationOperation.AffirmAsMediator, + }) + ).rejects.toThrow(expectedError); + }); + + it('should throw an error if expiry is set at a point in the future', async () => { + const rawAffirmationStatus = dsMockUtils.createMockAffirmationStatus('Pending'); + dsMockUtils.createQueryMock('settlement', 'instructionMediatorsAffirmations', { + returnValue: rawAffirmationStatus, + }); + when(mediatorAffirmationStatusToStatusSpy) + .calledWith(rawAffirmationStatus) + .mockReturnValue({ status: AffirmationStatus.Pending }); + + const proc = procedureMockUtils.getInstance< + ModifyInstructionAffirmationParams, + Instruction, + Storage + >(mockContext, { + portfolios: [portfolio, portfolio], + portfolioParams: [], + senderLegAmount: legAmount, + totalLegAmount: legAmount, + signer, + }); + + const expectedError = new PolymeshError({ + code: ErrorCode.ValidationError, + message: 'The expiry must be in the future', + }); + + return expect( + prepareModifyInstructionAffirmation.call(proc, { + id, + operation: InstructionAffirmationOperation.AffirmAsMediator, + expiry: new Date(1), + }) + ).rejects.toThrow(expectedError); + }); + + it('should return an affirm as mediator instruction transaction spec', async () => { + const rawAffirmationStatus = dsMockUtils.createMockAffirmationStatus('Pending'); + dsMockUtils.createQueryMock('settlement', 'instructionMediatorsAffirmations', { + returnValue: rawAffirmationStatus, + }); + when(mediatorAffirmationStatusToStatusSpy) + .calledWith(rawAffirmationStatus) + .mockReturnValue({ status: AffirmationStatus.Pending }); + + const proc = procedureMockUtils.getInstance< + ModifyInstructionAffirmationParams, + Instruction, + Storage + >(mockContext, { + portfolios: [portfolio, portfolio], + portfolioParams: [], + senderLegAmount: legAmount, + totalLegAmount: legAmount, + signer, + }); + + const transaction = dsMockUtils.createTxMock('settlement', 'affirmInstructionAsMediator'); + + const result = await prepareModifyInstructionAffirmation.call(proc, { + id, + operation: InstructionAffirmationOperation.AffirmAsMediator, + }); + + expect(result).toEqual({ + transaction, + args: [rawInstructionId, null], + resolver: expect.objectContaining({ id }), + }); + }); + it('should throw an error if operation is Withdraw and the current status of the instruction is pending', () => { const rawAffirmationStatus = dsMockUtils.createMockAffirmationStatus('Pending'); dsMockUtils.createQueryMock('settlement', 'userAffirmations', { @@ -243,6 +371,7 @@ describe('modifyInstructionAffirmation procedure', () => { portfolioParams: [], senderLegAmount: legAmount, totalLegAmount: legAmount, + signer, }); return expect( @@ -271,6 +400,7 @@ describe('modifyInstructionAffirmation procedure', () => { portfolioParams: [], senderLegAmount: legAmount, totalLegAmount: legAmount, + signer, }); const transaction = dsMockUtils.createTxMock('settlement', 'withdrawAffirmation'); @@ -288,6 +418,77 @@ describe('modifyInstructionAffirmation procedure', () => { }); }); + it('should throw an error if a mediator attempts to withdraw a non affirmed transaction', async () => { + const rawAffirmationStatus = createMockMediatorAffirmationStatus(AffirmationStatus.Pending); + dsMockUtils.createQueryMock('settlement', 'instructionMediatorsAffirmations', { + returnValue: rawAffirmationStatus, + }); + when(mediatorAffirmationStatusToStatusSpy) + .calledWith(rawAffirmationStatus) + .mockReturnValue({ status: AffirmationStatus.Pending }); + + const proc = procedureMockUtils.getInstance< + ModifyInstructionAffirmationParams, + Instruction, + Storage + >(mockContext, { + portfolios: [portfolio, portfolio], + portfolioParams: [], + senderLegAmount: legAmount, + totalLegAmount: legAmount, + signer, + }); + + const expectedError = new PolymeshError({ + code: ErrorCode.ValidationError, + message: 'The signer is not a mediator that has already affirmed the instruction', + }); + + return expect( + prepareModifyInstructionAffirmation.call(proc, { + id, + operation: InstructionAffirmationOperation.WithdrawAsMediator, + }) + ).rejects.toThrow(expectedError); + }); + + it('should return a withdraw as mediator instruction transaction spec', async () => { + const rawAffirmationStatus = createMockMediatorAffirmationStatus({ + Affirmed: dsMockUtils.createMockOption(), + }); + dsMockUtils.createQueryMock('settlement', 'instructionMediatorsAffirmations', { + returnValue: rawAffirmationStatus, + }); + when(mediatorAffirmationStatusToStatusSpy) + .calledWith(rawAffirmationStatus) + .mockReturnValue({ status: AffirmationStatus.Affirmed }); + + const proc = procedureMockUtils.getInstance< + ModifyInstructionAffirmationParams, + Instruction, + Storage + >(mockContext, { + portfolios: [portfolio, portfolio], + portfolioParams: [], + senderLegAmount: legAmount, + totalLegAmount: legAmount, + signer, + }); + + const transaction = dsMockUtils.createTxMock('settlement', 'withdrawAffirmationAsMediator'); + + const result = await prepareModifyInstructionAffirmation.call(proc, { + id, + operation: InstructionAffirmationOperation.WithdrawAsMediator, + }); + + expect(result).toEqual({ + transaction, + args: [rawInstructionId], + resolver: expect.objectContaining({ id }), + }); + }); + it('should return a reject instruction transaction spec', async () => { const rawAffirmationStatus = dsMockUtils.createMockAffirmationStatus('Pending'); dsMockUtils.createQueryMock('settlement', 'userAffirmations', { @@ -319,6 +520,7 @@ describe('modifyInstructionAffirmation procedure', () => { portfolioParams: [], senderLegAmount: legAmount, totalLegAmount: legAmount, + signer, }); const transaction = dsMockUtils.createTxMock('settlement', 'rejectInstruction'); @@ -336,6 +538,75 @@ describe('modifyInstructionAffirmation procedure', () => { }); }); + it('should throw an error if a non involved identity attempts to reject the transaction', () => { + const rawAffirmationStatus = createMockMediatorAffirmationStatus(AffirmationStatus.Unknown); + dsMockUtils.createQueryMock('settlement', 'instructionMediatorsAffirmations', { + returnValue: rawAffirmationStatus, + }); + when(mediatorAffirmationStatusToStatusSpy) + .calledWith(rawAffirmationStatus) + .mockReturnValue({ status: AffirmationStatus.Unknown }); + + const proc = procedureMockUtils.getInstance< + ModifyInstructionAffirmationParams, + Instruction, + Storage + >(mockContext, { + portfolios: [portfolio, portfolio], + portfolioParams: [], + senderLegAmount: legAmount, + totalLegAmount: legAmount, + signer: entityMockUtils.getIdentityInstance({ did: 'someOtherDid' }), + }); + + const expectedError = new PolymeshError({ + code: ErrorCode.ValidationError, + message: 'The signer is not a mediator for the instruction', + }); + + return expect( + prepareModifyInstructionAffirmation.call(proc, { + id, + operation: InstructionAffirmationOperation.RejectAsMediator, + }) + ).rejects.toThrow(expectedError); + }); + + it('should return a reject as mediator instruction transaction spec', async () => { + const rawAffirmationStatus = createMockMediatorAffirmationStatus(AffirmationStatus.Pending); + dsMockUtils.createQueryMock('settlement', 'instructionMediatorsAffirmations', { + returnValue: rawAffirmationStatus, + }); + when(mediatorAffirmationStatusToStatusSpy) + .calledWith(rawAffirmationStatus) + .mockReturnValue({ status: AffirmationStatus.Pending }); + + const proc = procedureMockUtils.getInstance< + ModifyInstructionAffirmationParams, + Instruction, + Storage + >(mockContext, { + portfolios: [portfolio, portfolio], + portfolioParams: [], + senderLegAmount: legAmount, + totalLegAmount: legAmount, + signer, + }); + + const transaction = dsMockUtils.createTxMock('settlement', 'rejectInstructionAsMediator'); + + const result = await prepareModifyInstructionAffirmation.call(proc, { + id, + operation: InstructionAffirmationOperation.RejectAsMediator, + }); + + expect(result).toEqual({ + transaction, + args: [rawInstructionId, null], + resolver: expect.objectContaining({ id }), + }); + }); + describe('getAuthorization', () => { it('should return the appropriate roles and permissions', async () => { const args = { @@ -354,6 +625,7 @@ describe('modifyInstructionAffirmation procedure', () => { portfolioParams: [], senderLegAmount: legAmount, totalLegAmount: legAmount, + signer, }); let boundFunc = getAuthorization.bind(proc); @@ -376,6 +648,7 @@ describe('modifyInstructionAffirmation procedure', () => { portfolioParams: [], senderLegAmount: legAmount, totalLegAmount: legAmount, + signer, }); boundFunc = getAuthorization.bind(proc); @@ -399,6 +672,45 @@ describe('modifyInstructionAffirmation procedure', () => { transactions: [TxTags.settlement.WithdrawAffirmation], }, }); + + result = await boundFunc({ + ...args, + operation: InstructionAffirmationOperation.AffirmAsMediator, + }); + + expect(result).toEqual({ + permissions: { + assets: [], + portfolios: [], + transactions: [TxTags.settlement.AffirmInstructionAsMediator], + }, + }); + + result = await boundFunc({ + ...args, + operation: InstructionAffirmationOperation.WithdrawAsMediator, + }); + + expect(result).toEqual({ + permissions: { + assets: [], + portfolios: [], + transactions: [TxTags.settlement.WithdrawAffirmationAsMediator], + }, + }); + + result = await boundFunc({ + ...args, + operation: InstructionAffirmationOperation.RejectAsMediator, + }); + + expect(result).toEqual({ + permissions: { + assets: [], + portfolios: [], + transactions: [TxTags.settlement.RejectInstructionAsMediator], + }, + }); }); }); @@ -465,6 +777,7 @@ describe('modifyInstructionAffirmation procedure', () => { portfolioParams: [], senderLegAmount: new BigNumber(1), totalLegAmount: new BigNumber(2), + signer: expect.objectContaining({ did: signer.did }), }); result = await boundFunc({ @@ -478,6 +791,7 @@ describe('modifyInstructionAffirmation procedure', () => { portfolioParams: [fromDid], senderLegAmount: new BigNumber(1), totalLegAmount: new BigNumber(2), + signer: expect.objectContaining({ did: signer.did }), }); result = await boundFunc({ @@ -491,6 +805,7 @@ describe('modifyInstructionAffirmation procedure', () => { portfolioParams: [fromDid], senderLegAmount: new BigNumber(1), totalLegAmount: new BigNumber(2), + signer: expect.objectContaining({ did: signer.did }), }); result = await boundFunc({ @@ -504,6 +819,7 @@ describe('modifyInstructionAffirmation procedure', () => { portfolioParams: [fromDid], senderLegAmount: new BigNumber(1), totalLegAmount: new BigNumber(2), + signer: expect.objectContaining({ did: signer.did }), }); }); @@ -534,6 +850,7 @@ describe('modifyInstructionAffirmation procedure', () => { portfolioParams: [], senderLegAmount: new BigNumber(0), totalLegAmount: new BigNumber(1), + signer: expect.objectContaining({ did: signer.did }), }); }); }); diff --git a/src/api/procedures/modifyInstructionAffirmation.ts b/src/api/procedures/modifyInstructionAffirmation.ts index cb25bb41a5..73cc42dcd1 100644 --- a/src/api/procedures/modifyInstructionAffirmation.ts +++ b/src/api/procedures/modifyInstructionAffirmation.ts @@ -1,14 +1,16 @@ -import { u64 } from '@polkadot/types'; +import { Option, u64 } from '@polkadot/types'; import { PolymeshPrimitivesIdentityIdPortfolioId } from '@polkadot/types/lookup'; import BigNumber from 'bignumber.js'; import P from 'bluebird'; import { assertInstructionValid } from '~/api/procedures/utils'; import { Instruction, PolymeshError, Procedure } from '~/internal'; +import { Moment } from '~/polkadot'; import { AffirmationStatus, DefaultPortfolio, ErrorCode, + Identity, InstructionAffirmationOperation, Leg, ModifyInstructionAffirmationParams, @@ -27,16 +29,21 @@ import { import { tuple } from '~/types/utils'; import { bigNumberToU64, + dateToMoment, + mediatorAffirmationStatusToStatus, meshAffirmationStatusToAffirmationStatus, portfolioIdToMeshPortfolioId, portfolioLikeToPortfolioId, + stringToIdentityId, } from '~/utils/conversion'; +import { optionize } from '~/utils/internal'; export interface Storage { portfolios: (DefaultPortfolio | NumberedPortfolio)[]; portfolioParams: PortfolioLike[]; senderLegAmount: BigNumber; totalLegAmount: BigNumber; + signer: Identity; } /** @@ -49,6 +56,9 @@ export async function prepareModifyInstructionAffirmation( | TransactionSpec> | TransactionSpec> | TransactionSpec> + | TransactionSpec> + | TransactionSpec> + | TransactionSpec> > { const { context: { @@ -58,7 +68,7 @@ export async function prepareModifyInstructionAffirmation( }, }, context, - storage: { portfolios, portfolioParams, senderLegAmount, totalLegAmount }, + storage: { portfolios, portfolioParams, senderLegAmount, totalLegAmount, signer }, } = this; const { operation, id } = args; @@ -86,11 +96,94 @@ export async function prepareModifyInstructionAffirmation( portfolioIdToMeshPortfolioId(portfolioLikeToPortfolioId(portfolio), context) ); + const rawDid = stringToIdentityId(signer.did, context); + const multiArgs = rawPortfolioIds.map(portfolioId => tuple(portfolioId, rawInstructionId)); + + const [rawAffirmationStatuses, rawMediatorAffirmation] = await Promise.all([ + settlement.userAffirmations.multi(multiArgs), + settlement.instructionMediatorsAffirmations(rawInstructionId, rawDid), + ]); + + const affirmationStatuses = rawAffirmationStatuses.map(meshAffirmationStatusToAffirmationStatus); + const { status: mediatorStatus, expiry } = + mediatorAffirmationStatusToStatus(rawMediatorAffirmation); + const excludeCriteria: AffirmationStatus[] = []; let errorMessage: string; - let transaction: PolymeshTx<[u64, PolymeshPrimitivesIdentityIdPortfolioId[]]> | null = null; + let transaction: + | PolymeshTx<[u64, PolymeshPrimitivesIdentityIdPortfolioId[]]> + | PolymeshTx<[u64, Option]> + | PolymeshTx<[u64]> + | null = null; switch (operation) { + case InstructionAffirmationOperation.Reject: { + return { + transaction: settlementTx.rejectInstruction, + resolver: instruction, + feeMultiplier: totalLegAmount, + args: [rawInstructionId, rawPortfolioIds[0]], + }; + } + case InstructionAffirmationOperation.AffirmAsMediator: { + if (mediatorStatus === AffirmationStatus.Unknown) { + throw new PolymeshError({ + code: ErrorCode.ValidationError, + message: 'The signer is not a mediator', + data: { signer: signer.did, instructionId: id.toString() }, + }); + } + + const givenExpiry = args.expiry; + const now = new Date(); + if (givenExpiry && givenExpiry < now) { + throw new PolymeshError({ + code: ErrorCode.ValidationError, + message: 'The expiry must be in the future', + data: { expiry, now }, + }); + } + + const rawExpiry = optionize(dateToMoment)(givenExpiry, context); + + return { + transaction: settlementTx.affirmInstructionAsMediator, + resolver: instruction, + args: [rawInstructionId, rawExpiry], + }; + } + + case InstructionAffirmationOperation.WithdrawAsMediator: { + if (mediatorStatus !== AffirmationStatus.Affirmed) { + throw new PolymeshError({ + code: ErrorCode.ValidationError, + message: 'The signer is not a mediator that has already affirmed the instruction', + data: { signer: signer.did, instructionId: id.toString() }, + }); + } + + return { + transaction: settlementTx.withdrawAffirmationAsMediator, + resolver: instruction, + args: [rawInstructionId], + }; + } + + case InstructionAffirmationOperation.RejectAsMediator: { + if (mediatorStatus === AffirmationStatus.Unknown) { + throw new PolymeshError({ + code: ErrorCode.ValidationError, + message: 'The signer is not a mediator for the instruction', + data: { did: signer.did, instructionId: id.toString() }, + }); + } + + return { + transaction: settlementTx.rejectInstructionAsMediator, + resolver: instruction, + args: [rawInstructionId, optionize(bigNumberToU64)(undefined, context)], + }; + } case InstructionAffirmationOperation.Affirm: { excludeCriteria.push(AffirmationStatus.Affirmed); errorMessage = 'The Instruction is already affirmed'; @@ -107,12 +200,6 @@ export async function prepareModifyInstructionAffirmation( } } - const multiArgs = rawPortfolioIds.map(portfolioId => tuple(portfolioId, rawInstructionId)); - - const rawAffirmationStatuses = await settlement.userAffirmations.multi(multiArgs); - - const affirmationStatuses = rawAffirmationStatuses.map(meshAffirmationStatusToAffirmationStatus); - const validPortfolioIds = rawPortfolioIds.filter( (_, index) => !excludeCriteria.includes(affirmationStatuses[index]) ); @@ -120,28 +207,15 @@ export async function prepareModifyInstructionAffirmation( if (!validPortfolioIds.length) { throw new PolymeshError({ code: ErrorCode.NoDataChange, - // As InstructionAffirmationOperation.Reject has no excludeCriteria, if this error is thrown - // it means that the operation had to be either affirm or withdraw, and so the errorMessage was set - // eslint-disable-next-line @typescript-eslint/no-non-null-assertion - message: errorMessage!, + message: errorMessage, }); } - // rejection works a bit different - if (transaction) { - return { - transaction, - resolver: instruction, - feeMultiplier: senderLegAmount, - args: [rawInstructionId, validPortfolioIds], - }; - } - return { - transaction: settlementTx.rejectInstruction, + transaction, resolver: instruction, - feeMultiplier: totalLegAmount, - args: [rawInstructionId, validPortfolioIds[0]], + feeMultiplier: senderLegAmount, + args: [rawInstructionId, validPortfolioIds], }; } @@ -172,6 +246,21 @@ export async function getAuthorization( case InstructionAffirmationOperation.Reject: { transactions = [TxTags.settlement.RejectInstruction]; + break; + } + case InstructionAffirmationOperation.AffirmAsMediator: { + transactions = [TxTags.settlement.AffirmInstructionAsMediator]; + + break; + } + case InstructionAffirmationOperation.WithdrawAsMediator: { + transactions = [TxTags.settlement.WithdrawAffirmationAsMediator]; + + break; + } + case InstructionAffirmationOperation.RejectAsMediator: { + transactions = [TxTags.settlement.RejectInstructionAsMediator]; + break; } } @@ -196,7 +285,10 @@ function extractPortfolioParams(params: ModifyInstructionAffirmationParams): Por if (portfolio) { portfolioParams.push(portfolio); } - } else { + } else if ( + operation === InstructionAffirmationOperation.Affirm || + operation === InstructionAffirmationOperation.Withdraw + ) { const { portfolios } = params; if (portfolios) { portfolioParams = [...portfolioParams, ...portfolios]; @@ -288,7 +380,7 @@ export async function prepareStorage( const portfolioIdParams = portfolioParams.map(portfolioLikeToPortfolioId); const instruction = new Instruction({ id }, context); - const [{ data: legs }, { did: signingDid }] = await Promise.all([ + const [{ data: legs }, signer] = await Promise.all([ instruction.getLegs(), context.getSigningIdentity(), ]); @@ -299,7 +391,7 @@ export async function prepareStorage( >( legs, async (result, { from, to }) => - assemblePortfolios(result, from, to, signingDid, portfolioIdParams), + assemblePortfolios(result, from, to, signer.did, portfolioIdParams), [[], new BigNumber(0)] ); @@ -308,6 +400,7 @@ export async function prepareStorage( portfolioParams, senderLegAmount, totalLegAmount: new BigNumber(legs.length), + signer, }; } diff --git a/src/api/procedures/types.ts b/src/api/procedures/types.ts index 0e89e16cd9..6ae639727d 100644 --- a/src/api/procedures/types.ts +++ b/src/api/procedures/types.ts @@ -567,6 +567,9 @@ export enum InstructionAffirmationOperation { Affirm = 'Affirm', Withdraw = 'Withdraw', Reject = 'Reject', + AffirmAsMediator = 'AffirmAsMediator', + WithdrawAsMediator = 'WithdrawAsMediator', + RejectAsMediator = 'RejectAsMediator', } export type RejectInstructionParams = { @@ -585,6 +588,10 @@ export type AffirmOrWithdrawInstructionParams = { portfolios?: PortfolioLike[]; }; +export type AffirmAsMediatorParams = { + expiry?: Date; +}; + export type ModifyInstructionAffirmationParams = InstructionIdParams & ( | ({ @@ -593,8 +600,18 @@ export type ModifyInstructionAffirmationParams = InstructionIdParams & | InstructionAffirmationOperation.Withdraw; } & AffirmOrWithdrawInstructionParams) | ({ - operation: InstructionAffirmationOperation.Reject; + operation: + | InstructionAffirmationOperation.Reject + | InstructionAffirmationOperation.RejectAsMediator; } & RejectInstructionParams) + | ({ + operation: InstructionAffirmationOperation.AffirmAsMediator; + } & AffirmAsMediatorParams) + | { + operation: + | InstructionAffirmationOperation.WithdrawAsMediator + | InstructionAffirmationOperation.RejectAsMediator; + } ); export type ExecuteManualInstructionParams = InstructionIdParams & { From 95234959a0c723c9d1c9a1979b50cbbdc2ca0f73 Mon Sep 17 00:00:00 2001 From: Toms Veidemanis Date: Fri, 9 Feb 2024 10:01:40 +0200 Subject: [PATCH 085/120] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20get=20assets=20h?= =?UTF-8?q?eld=20by=20account?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../confidential/ConfidentialAccount/index.ts | 23 + .../__tests__/ConfidentialAccount/index.ts | 26 + src/middleware/queries.ts | 31 + src/middleware/types.ts | 30783 ++++++++++++---- 4 files changed, 24068 insertions(+), 6795 deletions(-) diff --git a/src/api/entities/confidential/ConfidentialAccount/index.ts b/src/api/entities/confidential/ConfidentialAccount/index.ts index f4d2e2a043..66cfd2da22 100644 --- a/src/api/entities/confidential/ConfidentialAccount/index.ts +++ b/src/api/entities/confidential/ConfidentialAccount/index.ts @@ -3,7 +3,10 @@ import { ConfidentialAssetsElgamalCipherText } from '@polkadot/types/lookup'; import type { Option, U8aFixed } from '@polkadot/types-codec'; import { ConfidentialAsset, Context, Entity, Identity, PolymeshError } from '~/internal'; +import { confidentialAssetsByHolderQuery } from '~/middleware/queries'; +import { Query } from '~/middleware/types'; import { ConfidentialAssetBalance, ErrorCode } from '~/types'; +import { Ensured } from '~/types/utils'; import { confidentialAccountToMeshPublicKey, identityIdToString, @@ -220,4 +223,24 @@ export class ConfidentialAccount extends Entity { public toHuman(): string { return this.publicKey; } + + /** + * Retrieve the ConfidentialAssets associated to this Account + * + * @note uses the middlewareV2 + * @note there is a possibility that the data is not ready by the time it is requested. In that case, `null` is returned + */ + public async getHeldAssets(): Promise { + const { context, publicKey } = this; + + const { + data: { + confidentialAssetHolders: { nodes }, + }, + } = await context.queryMiddleware>( + confidentialAssetsByHolderQuery({ accountId: publicKey }) + ); + + return nodes.map(({ assetId }) => assetId); + } } diff --git a/src/api/entities/confidential/__tests__/ConfidentialAccount/index.ts b/src/api/entities/confidential/__tests__/ConfidentialAccount/index.ts index a4573ad6cb..e1e240761e 100644 --- a/src/api/entities/confidential/__tests__/ConfidentialAccount/index.ts +++ b/src/api/entities/confidential/__tests__/ConfidentialAccount/index.ts @@ -1,4 +1,5 @@ import { ConfidentialAccount, Context, Entity, PolymeshError } from '~/internal'; +import { confidentialAssetsByHolderQuery } from '~/middleware/queries'; import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; import { Mocked } from '~/testUtils/types'; import { ErrorCode } from '~/types'; @@ -228,4 +229,29 @@ describe('ConfidentialAccount class', () => { return expect(account.exists()).resolves.toBe(false); }); }); + + describe('method: getHeldAssets', () => { + it('should return a string array of ids representing held assets by the ConfidentialAccount', async () => { + const variables = { + accountId: publicKey, + }; + const assetId = 'someId'; + const fakeResult = [assetId]; + + dsMockUtils.createApolloQueryMock(confidentialAssetsByHolderQuery(variables), { + confidentialAssetHolders: { + nodes: [ + { + assetId, + accountId: publicKey, + }, + ], + }, + }); + + const result = await account.getHeldAssets(); + + expect(result).toEqual(fakeResult); + }); + }); }); diff --git a/src/middleware/queries.ts b/src/middleware/queries.ts index 201479ead0..611bc59bee 100644 --- a/src/middleware/queries.ts +++ b/src/middleware/queries.ts @@ -14,6 +14,7 @@ import { ClaimsGroupBy, ClaimsOrderBy, ClaimTypeEnum, + ConfidentialAssetHolder, Distribution, DistributionPayment, Event, @@ -1604,3 +1605,33 @@ export function customClaimTypeQuery( variables: { size: size?.toNumber(), start: start?.toNumber(), dids }, }; } + +/** + * @hidden + * + * Get Confidential Assets hel by a ConfidentialAccount + */ +export function confidentialAssetsByHolderQuery({ + accountId, +}: QueryArgs): QueryOptions< + QueryArgs +> { + const query = gql` + query ConfidentialAssetsByAccount($accountId: String!) { + confidentialAssetHolders( + filter: { accountId: { equalTo: $accountId } } + orderBy: [${TickerExternalAgentHistoriesOrderBy.CreatedAtAsc}, ${TickerExternalAgentHistoriesOrderBy.CreatedBlockIdAsc}] + ) { + nodes { + accountId, + assetId + } + } + } + `; + + return { + query, + variables: { accountId }, + }; +} diff --git a/src/middleware/types.ts b/src/middleware/types.ts index 07fcad3e51..3d51e75ba8 100644 --- a/src/middleware/types.ts +++ b/src/middleware/types.ts @@ -948,6 +948,69 @@ export enum AccountsOrderBy { UpdatedBlockIdDesc = 'UPDATED_BLOCK_ID_DESC', } +export enum AffirmStatusEnum { + Affirmed = 'Affirmed', + Rejected = 'Rejected', +} + +/** A filter to be used against AffirmStatusEnum fields. All fields are combined with a logical ‘and.’ */ +export type AffirmStatusEnumFilter = { + /** Not equal to the specified value, treating null like an ordinary value. */ + distinctFrom?: InputMaybe; + /** Equal to the specified value. */ + equalTo?: InputMaybe; + /** Greater than the specified value. */ + greaterThan?: InputMaybe; + /** Greater than or equal to the specified value. */ + greaterThanOrEqualTo?: InputMaybe; + /** Included in the specified list. */ + in?: InputMaybe>; + /** Is null (if `true` is specified) or is not null (if `false` is specified). */ + isNull?: InputMaybe; + /** Less than the specified value. */ + lessThan?: InputMaybe; + /** Less than or equal to the specified value. */ + lessThanOrEqualTo?: InputMaybe; + /** Equal to the specified value, treating null like an ordinary value. */ + notDistinctFrom?: InputMaybe; + /** Not equal to the specified value. */ + notEqualTo?: InputMaybe; + /** Not included in the specified list. */ + notIn?: InputMaybe>; +}; + +export enum AffirmingPartyEnum { + Mediator = 'Mediator', + Receiver = 'Receiver', + Sender = 'Sender', +} + +/** A filter to be used against AffirmingPartyEnum fields. All fields are combined with a logical ‘and.’ */ +export type AffirmingPartyEnumFilter = { + /** Not equal to the specified value, treating null like an ordinary value. */ + distinctFrom?: InputMaybe; + /** Equal to the specified value. */ + equalTo?: InputMaybe; + /** Greater than the specified value. */ + greaterThan?: InputMaybe; + /** Greater than or equal to the specified value. */ + greaterThanOrEqualTo?: InputMaybe; + /** Included in the specified list. */ + in?: InputMaybe>; + /** Is null (if `true` is specified) or is not null (if `false` is specified). */ + isNull?: InputMaybe; + /** Less than the specified value. */ + lessThan?: InputMaybe; + /** Less than or equal to the specified value. */ + lessThanOrEqualTo?: InputMaybe; + /** Equal to the specified value, treating null like an ordinary value. */ + notDistinctFrom?: InputMaybe; + /** Not equal to the specified value. */ + notEqualTo?: InputMaybe; + /** Not included in the specified list. */ + notIn?: InputMaybe>; +}; + /** Represents a set of agents authorized to perform actions for a given Asset */ export type AgentGroup = Node & { __typename?: 'AgentGroup'; @@ -11554,6 +11617,38 @@ export type Block = Node & { /** Reads and enables pagination through a set of `Block`. */ blocksByComplianceUpdatedBlockIdAndCreatedBlockId: BlockBlocksByComplianceUpdatedBlockIdAndCreatedBlockIdManyToManyConnection; /** Reads and enables pagination through a set of `Block`. */ + blocksByConfidentialAccountCreatedBlockIdAndUpdatedBlockId: BlockBlocksByConfidentialAccountCreatedBlockIdAndUpdatedBlockIdManyToManyConnection; + /** Reads and enables pagination through a set of `Block`. */ + blocksByConfidentialAccountUpdatedBlockIdAndCreatedBlockId: BlockBlocksByConfidentialAccountUpdatedBlockIdAndCreatedBlockIdManyToManyConnection; + /** Reads and enables pagination through a set of `Block`. */ + blocksByConfidentialAssetCreatedBlockIdAndUpdatedBlockId: BlockBlocksByConfidentialAssetCreatedBlockIdAndUpdatedBlockIdManyToManyConnection; + /** Reads and enables pagination through a set of `Block`. */ + blocksByConfidentialAssetHistoryCreatedBlockIdAndUpdatedBlockId: BlockBlocksByConfidentialAssetHistoryCreatedBlockIdAndUpdatedBlockIdManyToManyConnection; + /** Reads and enables pagination through a set of `Block`. */ + blocksByConfidentialAssetHistoryUpdatedBlockIdAndCreatedBlockId: BlockBlocksByConfidentialAssetHistoryUpdatedBlockIdAndCreatedBlockIdManyToManyConnection; + /** Reads and enables pagination through a set of `Block`. */ + blocksByConfidentialAssetHolderCreatedBlockIdAndUpdatedBlockId: BlockBlocksByConfidentialAssetHolderCreatedBlockIdAndUpdatedBlockIdManyToManyConnection; + /** Reads and enables pagination through a set of `Block`. */ + blocksByConfidentialAssetHolderUpdatedBlockIdAndCreatedBlockId: BlockBlocksByConfidentialAssetHolderUpdatedBlockIdAndCreatedBlockIdManyToManyConnection; + /** Reads and enables pagination through a set of `Block`. */ + blocksByConfidentialAssetUpdatedBlockIdAndCreatedBlockId: BlockBlocksByConfidentialAssetUpdatedBlockIdAndCreatedBlockIdManyToManyConnection; + /** Reads and enables pagination through a set of `Block`. */ + blocksByConfidentialLegCreatedBlockIdAndUpdatedBlockId: BlockBlocksByConfidentialLegCreatedBlockIdAndUpdatedBlockIdManyToManyConnection; + /** Reads and enables pagination through a set of `Block`. */ + blocksByConfidentialLegUpdatedBlockIdAndCreatedBlockId: BlockBlocksByConfidentialLegUpdatedBlockIdAndCreatedBlockIdManyToManyConnection; + /** Reads and enables pagination through a set of `Block`. */ + blocksByConfidentialTransactionAffirmationCreatedBlockIdAndUpdatedBlockId: BlockBlocksByConfidentialTransactionAffirmationCreatedBlockIdAndUpdatedBlockIdManyToManyConnection; + /** Reads and enables pagination through a set of `Block`. */ + blocksByConfidentialTransactionAffirmationUpdatedBlockIdAndCreatedBlockId: BlockBlocksByConfidentialTransactionAffirmationUpdatedBlockIdAndCreatedBlockIdManyToManyConnection; + /** Reads and enables pagination through a set of `Block`. */ + blocksByConfidentialTransactionCreatedBlockIdAndUpdatedBlockId: BlockBlocksByConfidentialTransactionCreatedBlockIdAndUpdatedBlockIdManyToManyConnection; + /** Reads and enables pagination through a set of `Block`. */ + blocksByConfidentialTransactionUpdatedBlockIdAndCreatedBlockId: BlockBlocksByConfidentialTransactionUpdatedBlockIdAndCreatedBlockIdManyToManyConnection; + /** Reads and enables pagination through a set of `Block`. */ + blocksByConfidentialVenueCreatedBlockIdAndUpdatedBlockId: BlockBlocksByConfidentialVenueCreatedBlockIdAndUpdatedBlockIdManyToManyConnection; + /** Reads and enables pagination through a set of `Block`. */ + blocksByConfidentialVenueUpdatedBlockIdAndCreatedBlockId: BlockBlocksByConfidentialVenueUpdatedBlockIdAndCreatedBlockIdManyToManyConnection; + /** Reads and enables pagination through a set of `Block`. */ blocksByCustomClaimTypeCreatedBlockIdAndUpdatedBlockId: BlockBlocksByCustomClaimTypeCreatedBlockIdAndUpdatedBlockIdManyToManyConnection; /** Reads and enables pagination through a set of `Block`. */ blocksByCustomClaimTypeUpdatedBlockIdAndCreatedBlockId: BlockBlocksByCustomClaimTypeUpdatedBlockIdAndCreatedBlockIdManyToManyConnection; @@ -11697,6 +11792,86 @@ export type Block = Node & { compliancesByCreatedBlockId: CompliancesConnection; /** Reads and enables pagination through a set of `Compliance`. */ compliancesByUpdatedBlockId: CompliancesConnection; + /** Reads and enables pagination through a set of `ConfidentialAccount`. */ + confidentialAccountsByConfidentialAssetHistoryCreatedBlockIdAndFromId: BlockConfidentialAccountsByConfidentialAssetHistoryCreatedBlockIdAndFromIdManyToManyConnection; + /** Reads and enables pagination through a set of `ConfidentialAccount`. */ + confidentialAccountsByConfidentialAssetHistoryCreatedBlockIdAndToId: BlockConfidentialAccountsByConfidentialAssetHistoryCreatedBlockIdAndToIdManyToManyConnection; + /** Reads and enables pagination through a set of `ConfidentialAccount`. */ + confidentialAccountsByConfidentialAssetHistoryUpdatedBlockIdAndFromId: BlockConfidentialAccountsByConfidentialAssetHistoryUpdatedBlockIdAndFromIdManyToManyConnection; + /** Reads and enables pagination through a set of `ConfidentialAccount`. */ + confidentialAccountsByConfidentialAssetHistoryUpdatedBlockIdAndToId: BlockConfidentialAccountsByConfidentialAssetHistoryUpdatedBlockIdAndToIdManyToManyConnection; + /** Reads and enables pagination through a set of `ConfidentialAccount`. */ + confidentialAccountsByConfidentialAssetHolderCreatedBlockIdAndAccountId: BlockConfidentialAccountsByConfidentialAssetHolderCreatedBlockIdAndAccountIdManyToManyConnection; + /** Reads and enables pagination through a set of `ConfidentialAccount`. */ + confidentialAccountsByConfidentialAssetHolderUpdatedBlockIdAndAccountId: BlockConfidentialAccountsByConfidentialAssetHolderUpdatedBlockIdAndAccountIdManyToManyConnection; + /** Reads and enables pagination through a set of `ConfidentialAccount`. */ + confidentialAccountsByConfidentialLegCreatedBlockIdAndReceiverId: BlockConfidentialAccountsByConfidentialLegCreatedBlockIdAndReceiverIdManyToManyConnection; + /** Reads and enables pagination through a set of `ConfidentialAccount`. */ + confidentialAccountsByConfidentialLegCreatedBlockIdAndSenderId: BlockConfidentialAccountsByConfidentialLegCreatedBlockIdAndSenderIdManyToManyConnection; + /** Reads and enables pagination through a set of `ConfidentialAccount`. */ + confidentialAccountsByConfidentialLegUpdatedBlockIdAndReceiverId: BlockConfidentialAccountsByConfidentialLegUpdatedBlockIdAndReceiverIdManyToManyConnection; + /** Reads and enables pagination through a set of `ConfidentialAccount`. */ + confidentialAccountsByConfidentialLegUpdatedBlockIdAndSenderId: BlockConfidentialAccountsByConfidentialLegUpdatedBlockIdAndSenderIdManyToManyConnection; + /** Reads and enables pagination through a set of `ConfidentialAccount`. */ + confidentialAccountsByConfidentialTransactionAffirmationCreatedBlockIdAndAccountId: BlockConfidentialAccountsByConfidentialTransactionAffirmationCreatedBlockIdAndAccountIdManyToManyConnection; + /** Reads and enables pagination through a set of `ConfidentialAccount`. */ + confidentialAccountsByConfidentialTransactionAffirmationUpdatedBlockIdAndAccountId: BlockConfidentialAccountsByConfidentialTransactionAffirmationUpdatedBlockIdAndAccountIdManyToManyConnection; + /** Reads and enables pagination through a set of `ConfidentialAccount`. */ + confidentialAccountsByCreatedBlockId: ConfidentialAccountsConnection; + /** Reads and enables pagination through a set of `ConfidentialAccount`. */ + confidentialAccountsByUpdatedBlockId: ConfidentialAccountsConnection; + /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ + confidentialAssetHistoriesByCreatedBlockId: ConfidentialAssetHistoriesConnection; + /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ + confidentialAssetHistoriesByUpdatedBlockId: ConfidentialAssetHistoriesConnection; + /** Reads and enables pagination through a set of `ConfidentialAssetHolder`. */ + confidentialAssetHoldersByCreatedBlockId: ConfidentialAssetHoldersConnection; + /** Reads and enables pagination through a set of `ConfidentialAssetHolder`. */ + confidentialAssetHoldersByUpdatedBlockId: ConfidentialAssetHoldersConnection; + /** Reads and enables pagination through a set of `ConfidentialAsset`. */ + confidentialAssetsByConfidentialAssetHistoryCreatedBlockIdAndAssetId: BlockConfidentialAssetsByConfidentialAssetHistoryCreatedBlockIdAndAssetIdManyToManyConnection; + /** Reads and enables pagination through a set of `ConfidentialAsset`. */ + confidentialAssetsByConfidentialAssetHistoryUpdatedBlockIdAndAssetId: BlockConfidentialAssetsByConfidentialAssetHistoryUpdatedBlockIdAndAssetIdManyToManyConnection; + /** Reads and enables pagination through a set of `ConfidentialAsset`. */ + confidentialAssetsByConfidentialAssetHolderCreatedBlockIdAndAssetId: BlockConfidentialAssetsByConfidentialAssetHolderCreatedBlockIdAndAssetIdManyToManyConnection; + /** Reads and enables pagination through a set of `ConfidentialAsset`. */ + confidentialAssetsByConfidentialAssetHolderUpdatedBlockIdAndAssetId: BlockConfidentialAssetsByConfidentialAssetHolderUpdatedBlockIdAndAssetIdManyToManyConnection; + /** Reads and enables pagination through a set of `ConfidentialAsset`. */ + confidentialAssetsByCreatedBlockId: ConfidentialAssetsConnection; + /** Reads and enables pagination through a set of `ConfidentialAsset`. */ + confidentialAssetsByUpdatedBlockId: ConfidentialAssetsConnection; + /** Reads and enables pagination through a set of `ConfidentialLeg`. */ + confidentialLegsByCreatedBlockId: ConfidentialLegsConnection; + /** Reads and enables pagination through a set of `ConfidentialLeg`. */ + confidentialLegsByUpdatedBlockId: ConfidentialLegsConnection; + /** Reads and enables pagination through a set of `ConfidentialTransactionAffirmation`. */ + confidentialTransactionAffirmationsByCreatedBlockId: ConfidentialTransactionAffirmationsConnection; + /** Reads and enables pagination through a set of `ConfidentialTransactionAffirmation`. */ + confidentialTransactionAffirmationsByUpdatedBlockId: ConfidentialTransactionAffirmationsConnection; + /** Reads and enables pagination through a set of `ConfidentialTransaction`. */ + confidentialTransactionsByConfidentialAssetHistoryCreatedBlockIdAndTransactionId: BlockConfidentialTransactionsByConfidentialAssetHistoryCreatedBlockIdAndTransactionIdManyToManyConnection; + /** Reads and enables pagination through a set of `ConfidentialTransaction`. */ + confidentialTransactionsByConfidentialAssetHistoryUpdatedBlockIdAndTransactionId: BlockConfidentialTransactionsByConfidentialAssetHistoryUpdatedBlockIdAndTransactionIdManyToManyConnection; + /** Reads and enables pagination through a set of `ConfidentialTransaction`. */ + confidentialTransactionsByConfidentialLegCreatedBlockIdAndTransactionId: BlockConfidentialTransactionsByConfidentialLegCreatedBlockIdAndTransactionIdManyToManyConnection; + /** Reads and enables pagination through a set of `ConfidentialTransaction`. */ + confidentialTransactionsByConfidentialLegUpdatedBlockIdAndTransactionId: BlockConfidentialTransactionsByConfidentialLegUpdatedBlockIdAndTransactionIdManyToManyConnection; + /** Reads and enables pagination through a set of `ConfidentialTransaction`. */ + confidentialTransactionsByConfidentialTransactionAffirmationCreatedBlockIdAndTransactionId: BlockConfidentialTransactionsByConfidentialTransactionAffirmationCreatedBlockIdAndTransactionIdManyToManyConnection; + /** Reads and enables pagination through a set of `ConfidentialTransaction`. */ + confidentialTransactionsByConfidentialTransactionAffirmationUpdatedBlockIdAndTransactionId: BlockConfidentialTransactionsByConfidentialTransactionAffirmationUpdatedBlockIdAndTransactionIdManyToManyConnection; + /** Reads and enables pagination through a set of `ConfidentialTransaction`. */ + confidentialTransactionsByCreatedBlockId: ConfidentialTransactionsConnection; + /** Reads and enables pagination through a set of `ConfidentialTransaction`. */ + confidentialTransactionsByUpdatedBlockId: ConfidentialTransactionsConnection; + /** Reads and enables pagination through a set of `ConfidentialVenue`. */ + confidentialVenuesByConfidentialTransactionCreatedBlockIdAndVenueId: BlockConfidentialVenuesByConfidentialTransactionCreatedBlockIdAndVenueIdManyToManyConnection; + /** Reads and enables pagination through a set of `ConfidentialVenue`. */ + confidentialVenuesByConfidentialTransactionUpdatedBlockIdAndVenueId: BlockConfidentialVenuesByConfidentialTransactionUpdatedBlockIdAndVenueIdManyToManyConnection; + /** Reads and enables pagination through a set of `ConfidentialVenue`. */ + confidentialVenuesByCreatedBlockId: ConfidentialVenuesConnection; + /** Reads and enables pagination through a set of `ConfidentialVenue`. */ + confidentialVenuesByUpdatedBlockId: ConfidentialVenuesConnection; countEvents: Scalars['Int']['output']; countExtrinsics: Scalars['Int']['output']; countExtrinsicsError: Scalars['Int']['output']; @@ -11779,6 +11954,22 @@ export type Block = Node & { /** Reads and enables pagination through a set of `Identity`. */ identitiesByClaimUpdatedBlockIdAndTargetId: BlockIdentitiesByClaimUpdatedBlockIdAndTargetIdManyToManyConnection; /** Reads and enables pagination through a set of `Identity`. */ + identitiesByConfidentialAccountCreatedBlockIdAndCreatorId: BlockIdentitiesByConfidentialAccountCreatedBlockIdAndCreatorIdManyToManyConnection; + /** Reads and enables pagination through a set of `Identity`. */ + identitiesByConfidentialAccountUpdatedBlockIdAndCreatorId: BlockIdentitiesByConfidentialAccountUpdatedBlockIdAndCreatorIdManyToManyConnection; + /** Reads and enables pagination through a set of `Identity`. */ + identitiesByConfidentialAssetCreatedBlockIdAndCreatorId: BlockIdentitiesByConfidentialAssetCreatedBlockIdAndCreatorIdManyToManyConnection; + /** Reads and enables pagination through a set of `Identity`. */ + identitiesByConfidentialAssetUpdatedBlockIdAndCreatorId: BlockIdentitiesByConfidentialAssetUpdatedBlockIdAndCreatorIdManyToManyConnection; + /** Reads and enables pagination through a set of `Identity`. */ + identitiesByConfidentialTransactionAffirmationCreatedBlockIdAndIdentityId: BlockIdentitiesByConfidentialTransactionAffirmationCreatedBlockIdAndIdentityIdManyToManyConnection; + /** Reads and enables pagination through a set of `Identity`. */ + identitiesByConfidentialTransactionAffirmationUpdatedBlockIdAndIdentityId: BlockIdentitiesByConfidentialTransactionAffirmationUpdatedBlockIdAndIdentityIdManyToManyConnection; + /** Reads and enables pagination through a set of `Identity`. */ + identitiesByConfidentialVenueCreatedBlockIdAndCreatorId: BlockIdentitiesByConfidentialVenueCreatedBlockIdAndCreatorIdManyToManyConnection; + /** Reads and enables pagination through a set of `Identity`. */ + identitiesByConfidentialVenueUpdatedBlockIdAndCreatorId: BlockIdentitiesByConfidentialVenueUpdatedBlockIdAndCreatorIdManyToManyConnection; + /** Reads and enables pagination through a set of `Identity`. */ identitiesByCreatedBlockId: IdentitiesConnection; /** Reads and enables pagination through a set of `Identity`. */ identitiesByCustomClaimTypeCreatedBlockIdAndIdentityId: BlockIdentitiesByCustomClaimTypeCreatedBlockIdAndIdentityIdManyToManyConnection; @@ -13107,6 +13298,198 @@ export type BlockBlocksByComplianceUpdatedBlockIdAndCreatedBlockIdArgs = { orderBy?: InputMaybe>; }; +/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ +export type BlockBlocksByConfidentialAccountCreatedBlockIdAndUpdatedBlockIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ +export type BlockBlocksByConfidentialAccountUpdatedBlockIdAndCreatedBlockIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ +export type BlockBlocksByConfidentialAssetCreatedBlockIdAndUpdatedBlockIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ +export type BlockBlocksByConfidentialAssetHistoryCreatedBlockIdAndUpdatedBlockIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ +export type BlockBlocksByConfidentialAssetHistoryUpdatedBlockIdAndCreatedBlockIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ +export type BlockBlocksByConfidentialAssetHolderCreatedBlockIdAndUpdatedBlockIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ +export type BlockBlocksByConfidentialAssetHolderUpdatedBlockIdAndCreatedBlockIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ +export type BlockBlocksByConfidentialAssetUpdatedBlockIdAndCreatedBlockIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ +export type BlockBlocksByConfidentialLegCreatedBlockIdAndUpdatedBlockIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ +export type BlockBlocksByConfidentialLegUpdatedBlockIdAndCreatedBlockIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ +export type BlockBlocksByConfidentialTransactionAffirmationCreatedBlockIdAndUpdatedBlockIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ +export type BlockBlocksByConfidentialTransactionAffirmationUpdatedBlockIdAndCreatedBlockIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ +export type BlockBlocksByConfidentialTransactionCreatedBlockIdAndUpdatedBlockIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ +export type BlockBlocksByConfidentialTransactionUpdatedBlockIdAndCreatedBlockIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ +export type BlockBlocksByConfidentialVenueCreatedBlockIdAndUpdatedBlockIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ +export type BlockBlocksByConfidentialVenueUpdatedBlockIdAndCreatedBlockIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + /** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ export type BlockBlocksByCustomClaimTypeCreatedBlockIdAndUpdatedBlockIdArgs = { after?: InputMaybe; @@ -13972,547 +14355,1129 @@ export type BlockCompliancesByUpdatedBlockIdArgs = { }; /** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockCustomClaimTypesByClaimCreatedBlockIdAndCustomClaimTypeIdArgs = { +export type BlockConfidentialAccountsByConfidentialAssetHistoryCreatedBlockIdAndFromIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; /** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockCustomClaimTypesByClaimUpdatedBlockIdAndCustomClaimTypeIdArgs = { +export type BlockConfidentialAccountsByConfidentialAssetHistoryCreatedBlockIdAndToIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; /** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockCustomClaimTypesByCreatedBlockIdArgs = { +export type BlockConfidentialAccountsByConfidentialAssetHistoryUpdatedBlockIdAndFromIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; /** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockCustomClaimTypesByUpdatedBlockIdArgs = { +export type BlockConfidentialAccountsByConfidentialAssetHistoryUpdatedBlockIdAndToIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; /** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockDistributionPaymentsByCreatedBlockIdArgs = { +export type BlockConfidentialAccountsByConfidentialAssetHolderCreatedBlockIdAndAccountIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; /** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockDistributionPaymentsByUpdatedBlockIdArgs = { +export type BlockConfidentialAccountsByConfidentialAssetHolderUpdatedBlockIdAndAccountIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; /** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockDistributionsByCreatedBlockIdArgs = { +export type BlockConfidentialAccountsByConfidentialLegCreatedBlockIdAndReceiverIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; /** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockDistributionsByDistributionPaymentCreatedBlockIdAndDistributionIdArgs = { +export type BlockConfidentialAccountsByConfidentialLegCreatedBlockIdAndSenderIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; /** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockDistributionsByDistributionPaymentUpdatedBlockIdAndDistributionIdArgs = { +export type BlockConfidentialAccountsByConfidentialLegUpdatedBlockIdAndReceiverIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; /** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockDistributionsByUpdatedBlockIdArgs = { +export type BlockConfidentialAccountsByConfidentialLegUpdatedBlockIdAndSenderIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; /** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockEventsArgs = { +export type BlockConfidentialAccountsByConfidentialTransactionAffirmationCreatedBlockIdAndAccountIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ +export type BlockConfidentialAccountsByConfidentialTransactionAffirmationUpdatedBlockIdAndAccountIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ +export type BlockConfidentialAccountsByCreatedBlockIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; /** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockExtrinsicsArgs = { +export type BlockConfidentialAccountsByUpdatedBlockIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; /** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockExtrinsicsByEventBlockIdAndExtrinsicIdArgs = { +export type BlockConfidentialAssetHistoriesByCreatedBlockIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; /** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockExtrinsicsByPolyxTransactionCreatedBlockIdAndExtrinsicIdArgs = { +export type BlockConfidentialAssetHistoriesByUpdatedBlockIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; /** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockExtrinsicsByPolyxTransactionUpdatedBlockIdAndExtrinsicIdArgs = { +export type BlockConfidentialAssetHoldersByCreatedBlockIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; /** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockFundingsByCreatedBlockIdArgs = { +export type BlockConfidentialAssetHoldersByUpdatedBlockIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; /** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockFundingsByUpdatedBlockIdArgs = { +export type BlockConfidentialAssetsByConfidentialAssetHistoryCreatedBlockIdAndAssetIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; /** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByAccountCreatedBlockIdAndIdentityIdArgs = { +export type BlockConfidentialAssetsByConfidentialAssetHistoryUpdatedBlockIdAndAssetIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; /** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByAccountUpdatedBlockIdAndIdentityIdArgs = { +export type BlockConfidentialAssetsByConfidentialAssetHolderCreatedBlockIdAndAssetIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; /** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByAssetCreatedBlockIdAndOwnerIdArgs = { +export type BlockConfidentialAssetsByConfidentialAssetHolderUpdatedBlockIdAndAssetIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; /** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByAssetHolderCreatedBlockIdAndIdentityIdArgs = { +export type BlockConfidentialAssetsByCreatedBlockIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; /** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByAssetHolderUpdatedBlockIdAndIdentityIdArgs = { +export type BlockConfidentialAssetsByUpdatedBlockIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; /** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByAssetUpdatedBlockIdAndOwnerIdArgs = { +export type BlockConfidentialLegsByCreatedBlockIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; /** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByAuthorizationCreatedBlockIdAndFromIdArgs = { +export type BlockConfidentialLegsByUpdatedBlockIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; /** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByAuthorizationUpdatedBlockIdAndFromIdArgs = { +export type BlockConfidentialTransactionAffirmationsByCreatedBlockIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; /** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByBridgeEventCreatedBlockIdAndIdentityIdArgs = { +export type BlockConfidentialTransactionAffirmationsByUpdatedBlockIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; /** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByBridgeEventUpdatedBlockIdAndIdentityIdArgs = { +export type BlockConfidentialTransactionsByConfidentialAssetHistoryCreatedBlockIdAndTransactionIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ +export type BlockConfidentialTransactionsByConfidentialAssetHistoryUpdatedBlockIdAndTransactionIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ +export type BlockConfidentialTransactionsByConfidentialLegCreatedBlockIdAndTransactionIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; /** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByChildIdentityCreatedBlockIdAndChildIdArgs = { +export type BlockConfidentialTransactionsByConfidentialLegUpdatedBlockIdAndTransactionIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; /** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByChildIdentityCreatedBlockIdAndParentIdArgs = { +export type BlockConfidentialTransactionsByConfidentialTransactionAffirmationCreatedBlockIdAndTransactionIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ +export type BlockConfidentialTransactionsByConfidentialTransactionAffirmationUpdatedBlockIdAndTransactionIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ +export type BlockConfidentialTransactionsByCreatedBlockIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; /** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByChildIdentityUpdatedBlockIdAndChildIdArgs = { +export type BlockConfidentialTransactionsByUpdatedBlockIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; /** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByChildIdentityUpdatedBlockIdAndParentIdArgs = { +export type BlockConfidentialVenuesByConfidentialTransactionCreatedBlockIdAndVenueIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; /** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByClaimCreatedBlockIdAndIssuerIdArgs = { +export type BlockConfidentialVenuesByConfidentialTransactionUpdatedBlockIdAndVenueIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; /** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByClaimCreatedBlockIdAndTargetIdArgs = { +export type BlockConfidentialVenuesByCreatedBlockIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; /** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByClaimUpdatedBlockIdAndIssuerIdArgs = { +export type BlockConfidentialVenuesByUpdatedBlockIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; /** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByClaimUpdatedBlockIdAndTargetIdArgs = { +export type BlockCustomClaimTypesByClaimCreatedBlockIdAndCustomClaimTypeIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; /** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByCreatedBlockIdArgs = { +export type BlockCustomClaimTypesByClaimUpdatedBlockIdAndCustomClaimTypeIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; /** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByCustomClaimTypeCreatedBlockIdAndIdentityIdArgs = { +export type BlockCustomClaimTypesByCreatedBlockIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; /** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByCustomClaimTypeUpdatedBlockIdAndIdentityIdArgs = { +export type BlockCustomClaimTypesByUpdatedBlockIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; /** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByDistributionCreatedBlockIdAndIdentityIdArgs = { +export type BlockDistributionPaymentsByCreatedBlockIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; /** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByDistributionPaymentCreatedBlockIdAndTargetIdArgs = { +export type BlockDistributionPaymentsByUpdatedBlockIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; /** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByDistributionPaymentUpdatedBlockIdAndTargetIdArgs = { +export type BlockDistributionsByCreatedBlockIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; /** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByDistributionUpdatedBlockIdAndIdentityIdArgs = { +export type BlockDistributionsByDistributionPaymentCreatedBlockIdAndDistributionIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; /** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByInvestmentCreatedBlockIdAndInvestorIdArgs = { +export type BlockDistributionsByDistributionPaymentUpdatedBlockIdAndDistributionIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; /** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByInvestmentUpdatedBlockIdAndInvestorIdArgs = { +export type BlockDistributionsByUpdatedBlockIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; /** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByMultiSigCreatedBlockIdAndCreatorIdArgs = { +export type BlockEventsArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; /** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByMultiSigProposalCreatedBlockIdAndCreatorIdArgs = { +export type BlockExtrinsicsArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ +export type BlockExtrinsicsByEventBlockIdAndExtrinsicIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ +export type BlockExtrinsicsByPolyxTransactionCreatedBlockIdAndExtrinsicIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ +export type BlockExtrinsicsByPolyxTransactionUpdatedBlockIdAndExtrinsicIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ +export type BlockFundingsByCreatedBlockIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ +export type BlockFundingsByUpdatedBlockIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ +export type BlockIdentitiesByAccountCreatedBlockIdAndIdentityIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ +export type BlockIdentitiesByAccountUpdatedBlockIdAndIdentityIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ +export type BlockIdentitiesByAssetCreatedBlockIdAndOwnerIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ +export type BlockIdentitiesByAssetHolderCreatedBlockIdAndIdentityIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ +export type BlockIdentitiesByAssetHolderUpdatedBlockIdAndIdentityIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ +export type BlockIdentitiesByAssetUpdatedBlockIdAndOwnerIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ +export type BlockIdentitiesByAuthorizationCreatedBlockIdAndFromIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ +export type BlockIdentitiesByAuthorizationUpdatedBlockIdAndFromIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ +export type BlockIdentitiesByBridgeEventCreatedBlockIdAndIdentityIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ +export type BlockIdentitiesByBridgeEventUpdatedBlockIdAndIdentityIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ +export type BlockIdentitiesByChildIdentityCreatedBlockIdAndChildIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ +export type BlockIdentitiesByChildIdentityCreatedBlockIdAndParentIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ +export type BlockIdentitiesByChildIdentityUpdatedBlockIdAndChildIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ +export type BlockIdentitiesByChildIdentityUpdatedBlockIdAndParentIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ +export type BlockIdentitiesByClaimCreatedBlockIdAndIssuerIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ +export type BlockIdentitiesByClaimCreatedBlockIdAndTargetIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ +export type BlockIdentitiesByClaimUpdatedBlockIdAndIssuerIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ +export type BlockIdentitiesByClaimUpdatedBlockIdAndTargetIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ +export type BlockIdentitiesByConfidentialAccountCreatedBlockIdAndCreatorIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ +export type BlockIdentitiesByConfidentialAccountUpdatedBlockIdAndCreatorIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ +export type BlockIdentitiesByConfidentialAssetCreatedBlockIdAndCreatorIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ +export type BlockIdentitiesByConfidentialAssetUpdatedBlockIdAndCreatorIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ +export type BlockIdentitiesByConfidentialTransactionAffirmationCreatedBlockIdAndIdentityIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ +export type BlockIdentitiesByConfidentialTransactionAffirmationUpdatedBlockIdAndIdentityIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ +export type BlockIdentitiesByConfidentialVenueCreatedBlockIdAndCreatorIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ +export type BlockIdentitiesByConfidentialVenueUpdatedBlockIdAndCreatorIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ +export type BlockIdentitiesByCreatedBlockIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ +export type BlockIdentitiesByCustomClaimTypeCreatedBlockIdAndIdentityIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ +export type BlockIdentitiesByCustomClaimTypeUpdatedBlockIdAndIdentityIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ +export type BlockIdentitiesByDistributionCreatedBlockIdAndIdentityIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ +export type BlockIdentitiesByDistributionPaymentCreatedBlockIdAndTargetIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ +export type BlockIdentitiesByDistributionPaymentUpdatedBlockIdAndTargetIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ +export type BlockIdentitiesByDistributionUpdatedBlockIdAndIdentityIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ +export type BlockIdentitiesByInvestmentCreatedBlockIdAndInvestorIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ +export type BlockIdentitiesByInvestmentUpdatedBlockIdAndInvestorIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ +export type BlockIdentitiesByMultiSigCreatedBlockIdAndCreatorIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ +export type BlockIdentitiesByMultiSigProposalCreatedBlockIdAndCreatorIdArgs = { after?: InputMaybe; before?: InputMaybe; distinct?: InputMaybe>>; @@ -19274,6 +20239,784 @@ export type BlockBlocksByComplianceUpdatedBlockIdAndCreatedBlockIdManyToManyEdge orderBy?: InputMaybe>; }; +/** A connection to a list of `Block` values, with data from `ConfidentialAccount`. */ +export type BlockBlocksByConfidentialAccountCreatedBlockIdAndUpdatedBlockIdManyToManyConnection = { + __typename?: 'BlockBlocksByConfidentialAccountCreatedBlockIdAndUpdatedBlockIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Block`, info from the `ConfidentialAccount`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Block` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Block` you could get from the connection. */ + totalCount: Scalars['Int']['output']; +}; + +/** A connection to a list of `Block` values, with data from `ConfidentialAccount`. */ +export type BlockBlocksByConfidentialAccountCreatedBlockIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Block` edge in the connection, with data from `ConfidentialAccount`. */ +export type BlockBlocksByConfidentialAccountCreatedBlockIdAndUpdatedBlockIdManyToManyEdge = { + __typename?: 'BlockBlocksByConfidentialAccountCreatedBlockIdAndUpdatedBlockIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialAccount`. */ + confidentialAccountsByUpdatedBlockId: ConfidentialAccountsConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Block` at the end of the edge. */ + node?: Maybe; +}; + +/** A `Block` edge in the connection, with data from `ConfidentialAccount`. */ +export type BlockBlocksByConfidentialAccountCreatedBlockIdAndUpdatedBlockIdManyToManyEdgeConfidentialAccountsByUpdatedBlockIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialAccount`. */ +export type BlockBlocksByConfidentialAccountUpdatedBlockIdAndCreatedBlockIdManyToManyConnection = { + __typename?: 'BlockBlocksByConfidentialAccountUpdatedBlockIdAndCreatedBlockIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Block`, info from the `ConfidentialAccount`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Block` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Block` you could get from the connection. */ + totalCount: Scalars['Int']['output']; +}; + +/** A connection to a list of `Block` values, with data from `ConfidentialAccount`. */ +export type BlockBlocksByConfidentialAccountUpdatedBlockIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Block` edge in the connection, with data from `ConfidentialAccount`. */ +export type BlockBlocksByConfidentialAccountUpdatedBlockIdAndCreatedBlockIdManyToManyEdge = { + __typename?: 'BlockBlocksByConfidentialAccountUpdatedBlockIdAndCreatedBlockIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialAccount`. */ + confidentialAccountsByCreatedBlockId: ConfidentialAccountsConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Block` at the end of the edge. */ + node?: Maybe; +}; + +/** A `Block` edge in the connection, with data from `ConfidentialAccount`. */ +export type BlockBlocksByConfidentialAccountUpdatedBlockIdAndCreatedBlockIdManyToManyEdgeConfidentialAccountsByCreatedBlockIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialAsset`. */ +export type BlockBlocksByConfidentialAssetCreatedBlockIdAndUpdatedBlockIdManyToManyConnection = { + __typename?: 'BlockBlocksByConfidentialAssetCreatedBlockIdAndUpdatedBlockIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Block`, info from the `ConfidentialAsset`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Block` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Block` you could get from the connection. */ + totalCount: Scalars['Int']['output']; +}; + +/** A connection to a list of `Block` values, with data from `ConfidentialAsset`. */ +export type BlockBlocksByConfidentialAssetCreatedBlockIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Block` edge in the connection, with data from `ConfidentialAsset`. */ +export type BlockBlocksByConfidentialAssetCreatedBlockIdAndUpdatedBlockIdManyToManyEdge = { + __typename?: 'BlockBlocksByConfidentialAssetCreatedBlockIdAndUpdatedBlockIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialAsset`. */ + confidentialAssetsByUpdatedBlockId: ConfidentialAssetsConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Block` at the end of the edge. */ + node?: Maybe; +}; + +/** A `Block` edge in the connection, with data from `ConfidentialAsset`. */ +export type BlockBlocksByConfidentialAssetCreatedBlockIdAndUpdatedBlockIdManyToManyEdgeConfidentialAssetsByUpdatedBlockIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialAssetHistory`. */ +export type BlockBlocksByConfidentialAssetHistoryCreatedBlockIdAndUpdatedBlockIdManyToManyConnection = + { + __typename?: 'BlockBlocksByConfidentialAssetHistoryCreatedBlockIdAndUpdatedBlockIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Block`, info from the `ConfidentialAssetHistory`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Block` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Block` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialAssetHistory`. */ +export type BlockBlocksByConfidentialAssetHistoryCreatedBlockIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Block` edge in the connection, with data from `ConfidentialAssetHistory`. */ +export type BlockBlocksByConfidentialAssetHistoryCreatedBlockIdAndUpdatedBlockIdManyToManyEdge = { + __typename?: 'BlockBlocksByConfidentialAssetHistoryCreatedBlockIdAndUpdatedBlockIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ + confidentialAssetHistoriesByUpdatedBlockId: ConfidentialAssetHistoriesConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Block` at the end of the edge. */ + node?: Maybe; +}; + +/** A `Block` edge in the connection, with data from `ConfidentialAssetHistory`. */ +export type BlockBlocksByConfidentialAssetHistoryCreatedBlockIdAndUpdatedBlockIdManyToManyEdgeConfidentialAssetHistoriesByUpdatedBlockIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialAssetHistory`. */ +export type BlockBlocksByConfidentialAssetHistoryUpdatedBlockIdAndCreatedBlockIdManyToManyConnection = + { + __typename?: 'BlockBlocksByConfidentialAssetHistoryUpdatedBlockIdAndCreatedBlockIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Block`, info from the `ConfidentialAssetHistory`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Block` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Block` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialAssetHistory`. */ +export type BlockBlocksByConfidentialAssetHistoryUpdatedBlockIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Block` edge in the connection, with data from `ConfidentialAssetHistory`. */ +export type BlockBlocksByConfidentialAssetHistoryUpdatedBlockIdAndCreatedBlockIdManyToManyEdge = { + __typename?: 'BlockBlocksByConfidentialAssetHistoryUpdatedBlockIdAndCreatedBlockIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ + confidentialAssetHistoriesByCreatedBlockId: ConfidentialAssetHistoriesConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Block` at the end of the edge. */ + node?: Maybe; +}; + +/** A `Block` edge in the connection, with data from `ConfidentialAssetHistory`. */ +export type BlockBlocksByConfidentialAssetHistoryUpdatedBlockIdAndCreatedBlockIdManyToManyEdgeConfidentialAssetHistoriesByCreatedBlockIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialAssetHolder`. */ +export type BlockBlocksByConfidentialAssetHolderCreatedBlockIdAndUpdatedBlockIdManyToManyConnection = + { + __typename?: 'BlockBlocksByConfidentialAssetHolderCreatedBlockIdAndUpdatedBlockIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Block`, info from the `ConfidentialAssetHolder`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Block` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Block` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialAssetHolder`. */ +export type BlockBlocksByConfidentialAssetHolderCreatedBlockIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Block` edge in the connection, with data from `ConfidentialAssetHolder`. */ +export type BlockBlocksByConfidentialAssetHolderCreatedBlockIdAndUpdatedBlockIdManyToManyEdge = { + __typename?: 'BlockBlocksByConfidentialAssetHolderCreatedBlockIdAndUpdatedBlockIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialAssetHolder`. */ + confidentialAssetHoldersByUpdatedBlockId: ConfidentialAssetHoldersConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Block` at the end of the edge. */ + node?: Maybe; +}; + +/** A `Block` edge in the connection, with data from `ConfidentialAssetHolder`. */ +export type BlockBlocksByConfidentialAssetHolderCreatedBlockIdAndUpdatedBlockIdManyToManyEdgeConfidentialAssetHoldersByUpdatedBlockIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialAssetHolder`. */ +export type BlockBlocksByConfidentialAssetHolderUpdatedBlockIdAndCreatedBlockIdManyToManyConnection = + { + __typename?: 'BlockBlocksByConfidentialAssetHolderUpdatedBlockIdAndCreatedBlockIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Block`, info from the `ConfidentialAssetHolder`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Block` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Block` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialAssetHolder`. */ +export type BlockBlocksByConfidentialAssetHolderUpdatedBlockIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Block` edge in the connection, with data from `ConfidentialAssetHolder`. */ +export type BlockBlocksByConfidentialAssetHolderUpdatedBlockIdAndCreatedBlockIdManyToManyEdge = { + __typename?: 'BlockBlocksByConfidentialAssetHolderUpdatedBlockIdAndCreatedBlockIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialAssetHolder`. */ + confidentialAssetHoldersByCreatedBlockId: ConfidentialAssetHoldersConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Block` at the end of the edge. */ + node?: Maybe; +}; + +/** A `Block` edge in the connection, with data from `ConfidentialAssetHolder`. */ +export type BlockBlocksByConfidentialAssetHolderUpdatedBlockIdAndCreatedBlockIdManyToManyEdgeConfidentialAssetHoldersByCreatedBlockIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialAsset`. */ +export type BlockBlocksByConfidentialAssetUpdatedBlockIdAndCreatedBlockIdManyToManyConnection = { + __typename?: 'BlockBlocksByConfidentialAssetUpdatedBlockIdAndCreatedBlockIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Block`, info from the `ConfidentialAsset`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Block` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Block` you could get from the connection. */ + totalCount: Scalars['Int']['output']; +}; + +/** A connection to a list of `Block` values, with data from `ConfidentialAsset`. */ +export type BlockBlocksByConfidentialAssetUpdatedBlockIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Block` edge in the connection, with data from `ConfidentialAsset`. */ +export type BlockBlocksByConfidentialAssetUpdatedBlockIdAndCreatedBlockIdManyToManyEdge = { + __typename?: 'BlockBlocksByConfidentialAssetUpdatedBlockIdAndCreatedBlockIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialAsset`. */ + confidentialAssetsByCreatedBlockId: ConfidentialAssetsConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Block` at the end of the edge. */ + node?: Maybe; +}; + +/** A `Block` edge in the connection, with data from `ConfidentialAsset`. */ +export type BlockBlocksByConfidentialAssetUpdatedBlockIdAndCreatedBlockIdManyToManyEdgeConfidentialAssetsByCreatedBlockIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialLeg`. */ +export type BlockBlocksByConfidentialLegCreatedBlockIdAndUpdatedBlockIdManyToManyConnection = { + __typename?: 'BlockBlocksByConfidentialLegCreatedBlockIdAndUpdatedBlockIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Block`, info from the `ConfidentialLeg`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Block` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Block` you could get from the connection. */ + totalCount: Scalars['Int']['output']; +}; + +/** A connection to a list of `Block` values, with data from `ConfidentialLeg`. */ +export type BlockBlocksByConfidentialLegCreatedBlockIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Block` edge in the connection, with data from `ConfidentialLeg`. */ +export type BlockBlocksByConfidentialLegCreatedBlockIdAndUpdatedBlockIdManyToManyEdge = { + __typename?: 'BlockBlocksByConfidentialLegCreatedBlockIdAndUpdatedBlockIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialLeg`. */ + confidentialLegsByUpdatedBlockId: ConfidentialLegsConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Block` at the end of the edge. */ + node?: Maybe; +}; + +/** A `Block` edge in the connection, with data from `ConfidentialLeg`. */ +export type BlockBlocksByConfidentialLegCreatedBlockIdAndUpdatedBlockIdManyToManyEdgeConfidentialLegsByUpdatedBlockIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialLeg`. */ +export type BlockBlocksByConfidentialLegUpdatedBlockIdAndCreatedBlockIdManyToManyConnection = { + __typename?: 'BlockBlocksByConfidentialLegUpdatedBlockIdAndCreatedBlockIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Block`, info from the `ConfidentialLeg`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Block` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Block` you could get from the connection. */ + totalCount: Scalars['Int']['output']; +}; + +/** A connection to a list of `Block` values, with data from `ConfidentialLeg`. */ +export type BlockBlocksByConfidentialLegUpdatedBlockIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Block` edge in the connection, with data from `ConfidentialLeg`. */ +export type BlockBlocksByConfidentialLegUpdatedBlockIdAndCreatedBlockIdManyToManyEdge = { + __typename?: 'BlockBlocksByConfidentialLegUpdatedBlockIdAndCreatedBlockIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialLeg`. */ + confidentialLegsByCreatedBlockId: ConfidentialLegsConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Block` at the end of the edge. */ + node?: Maybe; +}; + +/** A `Block` edge in the connection, with data from `ConfidentialLeg`. */ +export type BlockBlocksByConfidentialLegUpdatedBlockIdAndCreatedBlockIdManyToManyEdgeConfidentialLegsByCreatedBlockIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialTransactionAffirmation`. */ +export type BlockBlocksByConfidentialTransactionAffirmationCreatedBlockIdAndUpdatedBlockIdManyToManyConnection = + { + __typename?: 'BlockBlocksByConfidentialTransactionAffirmationCreatedBlockIdAndUpdatedBlockIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Block`, info from the `ConfidentialTransactionAffirmation`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Block` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Block` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialTransactionAffirmation`. */ +export type BlockBlocksByConfidentialTransactionAffirmationCreatedBlockIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Block` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ +export type BlockBlocksByConfidentialTransactionAffirmationCreatedBlockIdAndUpdatedBlockIdManyToManyEdge = + { + __typename?: 'BlockBlocksByConfidentialTransactionAffirmationCreatedBlockIdAndUpdatedBlockIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialTransactionAffirmation`. */ + confidentialTransactionAffirmationsByUpdatedBlockId: ConfidentialTransactionAffirmationsConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Block` at the end of the edge. */ + node?: Maybe; + }; + +/** A `Block` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ +export type BlockBlocksByConfidentialTransactionAffirmationCreatedBlockIdAndUpdatedBlockIdManyToManyEdgeConfidentialTransactionAffirmationsByUpdatedBlockIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialTransactionAffirmation`. */ +export type BlockBlocksByConfidentialTransactionAffirmationUpdatedBlockIdAndCreatedBlockIdManyToManyConnection = + { + __typename?: 'BlockBlocksByConfidentialTransactionAffirmationUpdatedBlockIdAndCreatedBlockIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Block`, info from the `ConfidentialTransactionAffirmation`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Block` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Block` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialTransactionAffirmation`. */ +export type BlockBlocksByConfidentialTransactionAffirmationUpdatedBlockIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Block` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ +export type BlockBlocksByConfidentialTransactionAffirmationUpdatedBlockIdAndCreatedBlockIdManyToManyEdge = + { + __typename?: 'BlockBlocksByConfidentialTransactionAffirmationUpdatedBlockIdAndCreatedBlockIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialTransactionAffirmation`. */ + confidentialTransactionAffirmationsByCreatedBlockId: ConfidentialTransactionAffirmationsConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Block` at the end of the edge. */ + node?: Maybe; + }; + +/** A `Block` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ +export type BlockBlocksByConfidentialTransactionAffirmationUpdatedBlockIdAndCreatedBlockIdManyToManyEdgeConfidentialTransactionAffirmationsByCreatedBlockIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialTransaction`. */ +export type BlockBlocksByConfidentialTransactionCreatedBlockIdAndUpdatedBlockIdManyToManyConnection = + { + __typename?: 'BlockBlocksByConfidentialTransactionCreatedBlockIdAndUpdatedBlockIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Block`, info from the `ConfidentialTransaction`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Block` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Block` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialTransaction`. */ +export type BlockBlocksByConfidentialTransactionCreatedBlockIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Block` edge in the connection, with data from `ConfidentialTransaction`. */ +export type BlockBlocksByConfidentialTransactionCreatedBlockIdAndUpdatedBlockIdManyToManyEdge = { + __typename?: 'BlockBlocksByConfidentialTransactionCreatedBlockIdAndUpdatedBlockIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialTransaction`. */ + confidentialTransactionsByUpdatedBlockId: ConfidentialTransactionsConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Block` at the end of the edge. */ + node?: Maybe; +}; + +/** A `Block` edge in the connection, with data from `ConfidentialTransaction`. */ +export type BlockBlocksByConfidentialTransactionCreatedBlockIdAndUpdatedBlockIdManyToManyEdgeConfidentialTransactionsByUpdatedBlockIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialTransaction`. */ +export type BlockBlocksByConfidentialTransactionUpdatedBlockIdAndCreatedBlockIdManyToManyConnection = + { + __typename?: 'BlockBlocksByConfidentialTransactionUpdatedBlockIdAndCreatedBlockIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Block`, info from the `ConfidentialTransaction`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Block` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Block` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialTransaction`. */ +export type BlockBlocksByConfidentialTransactionUpdatedBlockIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Block` edge in the connection, with data from `ConfidentialTransaction`. */ +export type BlockBlocksByConfidentialTransactionUpdatedBlockIdAndCreatedBlockIdManyToManyEdge = { + __typename?: 'BlockBlocksByConfidentialTransactionUpdatedBlockIdAndCreatedBlockIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialTransaction`. */ + confidentialTransactionsByCreatedBlockId: ConfidentialTransactionsConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Block` at the end of the edge. */ + node?: Maybe; +}; + +/** A `Block` edge in the connection, with data from `ConfidentialTransaction`. */ +export type BlockBlocksByConfidentialTransactionUpdatedBlockIdAndCreatedBlockIdManyToManyEdgeConfidentialTransactionsByCreatedBlockIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialVenue`. */ +export type BlockBlocksByConfidentialVenueCreatedBlockIdAndUpdatedBlockIdManyToManyConnection = { + __typename?: 'BlockBlocksByConfidentialVenueCreatedBlockIdAndUpdatedBlockIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Block`, info from the `ConfidentialVenue`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Block` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Block` you could get from the connection. */ + totalCount: Scalars['Int']['output']; +}; + +/** A connection to a list of `Block` values, with data from `ConfidentialVenue`. */ +export type BlockBlocksByConfidentialVenueCreatedBlockIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Block` edge in the connection, with data from `ConfidentialVenue`. */ +export type BlockBlocksByConfidentialVenueCreatedBlockIdAndUpdatedBlockIdManyToManyEdge = { + __typename?: 'BlockBlocksByConfidentialVenueCreatedBlockIdAndUpdatedBlockIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialVenue`. */ + confidentialVenuesByUpdatedBlockId: ConfidentialVenuesConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Block` at the end of the edge. */ + node?: Maybe; +}; + +/** A `Block` edge in the connection, with data from `ConfidentialVenue`. */ +export type BlockBlocksByConfidentialVenueCreatedBlockIdAndUpdatedBlockIdManyToManyEdgeConfidentialVenuesByUpdatedBlockIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialVenue`. */ +export type BlockBlocksByConfidentialVenueUpdatedBlockIdAndCreatedBlockIdManyToManyConnection = { + __typename?: 'BlockBlocksByConfidentialVenueUpdatedBlockIdAndCreatedBlockIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Block`, info from the `ConfidentialVenue`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Block` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Block` you could get from the connection. */ + totalCount: Scalars['Int']['output']; +}; + +/** A connection to a list of `Block` values, with data from `ConfidentialVenue`. */ +export type BlockBlocksByConfidentialVenueUpdatedBlockIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Block` edge in the connection, with data from `ConfidentialVenue`. */ +export type BlockBlocksByConfidentialVenueUpdatedBlockIdAndCreatedBlockIdManyToManyEdge = { + __typename?: 'BlockBlocksByConfidentialVenueUpdatedBlockIdAndCreatedBlockIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialVenue`. */ + confidentialVenuesByCreatedBlockId: ConfidentialVenuesConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Block` at the end of the edge. */ + node?: Maybe; +}; + +/** A `Block` edge in the connection, with data from `ConfidentialVenue`. */ +export type BlockBlocksByConfidentialVenueUpdatedBlockIdAndCreatedBlockIdManyToManyEdgeConfidentialVenuesByCreatedBlockIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + /** A connection to a list of `Block` values, with data from `CustomClaimType`. */ export type BlockBlocksByCustomClaimTypeCreatedBlockIdAndUpdatedBlockIdManyToManyConnection = { __typename?: 'BlockBlocksByCustomClaimTypeCreatedBlockIdAndUpdatedBlockIdManyToManyConnection'; @@ -22258,1853 +24001,2119 @@ export type BlockBlocksByVenueUpdatedBlockIdAndCreatedBlockIdManyToManyEdgeVenue orderBy?: InputMaybe>; }; -/** A connection to a list of `CustomClaimType` values, with data from `Claim`. */ -export type BlockCustomClaimTypesByClaimCreatedBlockIdAndCustomClaimTypeIdManyToManyConnection = { - __typename?: 'BlockCustomClaimTypesByClaimCreatedBlockIdAndCustomClaimTypeIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `CustomClaimType`, info from the `Claim`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `CustomClaimType` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `CustomClaimType` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; +/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialAssetHistory`. */ +export type BlockConfidentialAccountsByConfidentialAssetHistoryCreatedBlockIdAndFromIdManyToManyConnection = + { + __typename?: 'BlockConfidentialAccountsByConfidentialAssetHistoryCreatedBlockIdAndFromIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `ConfidentialAccount`, info from the `ConfidentialAssetHistory`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `ConfidentialAccount` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `ConfidentialAccount` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; -/** A connection to a list of `CustomClaimType` values, with data from `Claim`. */ -export type BlockCustomClaimTypesByClaimCreatedBlockIdAndCustomClaimTypeIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialAssetHistory`. */ +export type BlockConfidentialAccountsByConfidentialAssetHistoryCreatedBlockIdAndFromIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; + groupBy: Array; + having?: InputMaybe; }; -/** A `CustomClaimType` edge in the connection, with data from `Claim`. */ -export type BlockCustomClaimTypesByClaimCreatedBlockIdAndCustomClaimTypeIdManyToManyEdge = { - __typename?: 'BlockCustomClaimTypesByClaimCreatedBlockIdAndCustomClaimTypeIdManyToManyEdge'; - /** Reads and enables pagination through a set of `Claim`. */ - claims: ClaimsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `CustomClaimType` at the end of the edge. */ - node?: Maybe; -}; +/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialAssetHistory`. */ +export type BlockConfidentialAccountsByConfidentialAssetHistoryCreatedBlockIdAndFromIdManyToManyEdge = + { + __typename?: 'BlockConfidentialAccountsByConfidentialAssetHistoryCreatedBlockIdAndFromIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ + confidentialAssetHistoriesByFromId: ConfidentialAssetHistoriesConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `ConfidentialAccount` at the end of the edge. */ + node?: Maybe; + }; -/** A `CustomClaimType` edge in the connection, with data from `Claim`. */ -export type BlockCustomClaimTypesByClaimCreatedBlockIdAndCustomClaimTypeIdManyToManyEdgeClaimsArgs = +/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialAssetHistory`. */ +export type BlockConfidentialAccountsByConfidentialAssetHistoryCreatedBlockIdAndFromIdManyToManyEdgeConfidentialAssetHistoriesByFromIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; -/** A connection to a list of `CustomClaimType` values, with data from `Claim`. */ -export type BlockCustomClaimTypesByClaimUpdatedBlockIdAndCustomClaimTypeIdManyToManyConnection = { - __typename?: 'BlockCustomClaimTypesByClaimUpdatedBlockIdAndCustomClaimTypeIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `CustomClaimType`, info from the `Claim`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `CustomClaimType` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `CustomClaimType` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; +/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialAssetHistory`. */ +export type BlockConfidentialAccountsByConfidentialAssetHistoryCreatedBlockIdAndToIdManyToManyConnection = + { + __typename?: 'BlockConfidentialAccountsByConfidentialAssetHistoryCreatedBlockIdAndToIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `ConfidentialAccount`, info from the `ConfidentialAssetHistory`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `ConfidentialAccount` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `ConfidentialAccount` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; -/** A connection to a list of `CustomClaimType` values, with data from `Claim`. */ -export type BlockCustomClaimTypesByClaimUpdatedBlockIdAndCustomClaimTypeIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialAssetHistory`. */ +export type BlockConfidentialAccountsByConfidentialAssetHistoryCreatedBlockIdAndToIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; + groupBy: Array; + having?: InputMaybe; }; -/** A `CustomClaimType` edge in the connection, with data from `Claim`. */ -export type BlockCustomClaimTypesByClaimUpdatedBlockIdAndCustomClaimTypeIdManyToManyEdge = { - __typename?: 'BlockCustomClaimTypesByClaimUpdatedBlockIdAndCustomClaimTypeIdManyToManyEdge'; - /** Reads and enables pagination through a set of `Claim`. */ - claims: ClaimsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `CustomClaimType` at the end of the edge. */ - node?: Maybe; -}; +/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialAssetHistory`. */ +export type BlockConfidentialAccountsByConfidentialAssetHistoryCreatedBlockIdAndToIdManyToManyEdge = + { + __typename?: 'BlockConfidentialAccountsByConfidentialAssetHistoryCreatedBlockIdAndToIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ + confidentialAssetHistoriesByToId: ConfidentialAssetHistoriesConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `ConfidentialAccount` at the end of the edge. */ + node?: Maybe; + }; -/** A `CustomClaimType` edge in the connection, with data from `Claim`. */ -export type BlockCustomClaimTypesByClaimUpdatedBlockIdAndCustomClaimTypeIdManyToManyEdgeClaimsArgs = +/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialAssetHistory`. */ +export type BlockConfidentialAccountsByConfidentialAssetHistoryCreatedBlockIdAndToIdManyToManyEdgeConfidentialAssetHistoriesByToIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; -export type BlockDistinctCountAggregates = { - __typename?: 'BlockDistinctCountAggregates'; - /** Distinct count of blockId across the matching connection */ - blockId?: Maybe; - /** Distinct count of countEvents across the matching connection */ - countEvents?: Maybe; - /** Distinct count of countExtrinsics across the matching connection */ - countExtrinsics?: Maybe; - /** Distinct count of countExtrinsicsError across the matching connection */ - countExtrinsicsError?: Maybe; - /** Distinct count of countExtrinsicsSigned across the matching connection */ - countExtrinsicsSigned?: Maybe; - /** Distinct count of countExtrinsicsSuccess across the matching connection */ - countExtrinsicsSuccess?: Maybe; - /** Distinct count of countExtrinsicsUnsigned across the matching connection */ - countExtrinsicsUnsigned?: Maybe; - /** Distinct count of createdAt across the matching connection */ - createdAt?: Maybe; - /** Distinct count of datetime across the matching connection */ - datetime?: Maybe; - /** Distinct count of extrinsicsRoot across the matching connection */ - extrinsicsRoot?: Maybe; - /** Distinct count of hash across the matching connection */ - hash?: Maybe; - /** Distinct count of id across the matching connection */ - id?: Maybe; - /** Distinct count of parentHash across the matching connection */ - parentHash?: Maybe; - /** Distinct count of parentId across the matching connection */ - parentId?: Maybe; - /** Distinct count of specVersionId across the matching connection */ - specVersionId?: Maybe; - /** Distinct count of stateRoot across the matching connection */ - stateRoot?: Maybe; - /** Distinct count of updatedAt across the matching connection */ - updatedAt?: Maybe; -}; +/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialAssetHistory`. */ +export type BlockConfidentialAccountsByConfidentialAssetHistoryUpdatedBlockIdAndFromIdManyToManyConnection = + { + __typename?: 'BlockConfidentialAccountsByConfidentialAssetHistoryUpdatedBlockIdAndFromIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `ConfidentialAccount`, info from the `ConfidentialAssetHistory`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `ConfidentialAccount` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `ConfidentialAccount` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; -/** A connection to a list of `Distribution` values, with data from `DistributionPayment`. */ -export type BlockDistributionsByDistributionPaymentCreatedBlockIdAndDistributionIdManyToManyConnection = +/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialAssetHistory`. */ +export type BlockConfidentialAccountsByConfidentialAssetHistoryUpdatedBlockIdAndFromIdManyToManyConnectionGroupedAggregatesArgs = { - __typename?: 'BlockDistributionsByDistributionPaymentCreatedBlockIdAndDistributionIdManyToManyConnection'; + groupBy: Array; + having?: InputMaybe; + }; + +/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialAssetHistory`. */ +export type BlockConfidentialAccountsByConfidentialAssetHistoryUpdatedBlockIdAndFromIdManyToManyEdge = + { + __typename?: 'BlockConfidentialAccountsByConfidentialAssetHistoryUpdatedBlockIdAndFromIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ + confidentialAssetHistoriesByFromId: ConfidentialAssetHistoriesConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `ConfidentialAccount` at the end of the edge. */ + node?: Maybe; + }; + +/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialAssetHistory`. */ +export type BlockConfidentialAccountsByConfidentialAssetHistoryUpdatedBlockIdAndFromIdManyToManyEdgeConfidentialAssetHistoriesByFromIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialAssetHistory`. */ +export type BlockConfidentialAccountsByConfidentialAssetHistoryUpdatedBlockIdAndToIdManyToManyConnection = + { + __typename?: 'BlockConfidentialAccountsByConfidentialAssetHistoryUpdatedBlockIdAndToIdManyToManyConnection'; /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Distribution`, info from the `DistributionPayment`, and the cursor to aid in pagination. */ - edges: Array; + aggregates?: Maybe; + /** A list of edges which contains the `ConfidentialAccount`, info from the `ConfidentialAssetHistory`, and the cursor to aid in pagination. */ + edges: Array; /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Distribution` objects. */ - nodes: Array>; + groupedAggregates?: Maybe>; + /** A list of `ConfidentialAccount` objects. */ + nodes: Array>; /** Information to aid in pagination. */ pageInfo: PageInfo; - /** The count of *all* `Distribution` you could get from the connection. */ + /** The count of *all* `ConfidentialAccount` you could get from the connection. */ totalCount: Scalars['Int']['output']; }; -/** A connection to a list of `Distribution` values, with data from `DistributionPayment`. */ -export type BlockDistributionsByDistributionPaymentCreatedBlockIdAndDistributionIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialAssetHistory`. */ +export type BlockConfidentialAccountsByConfidentialAssetHistoryUpdatedBlockIdAndToIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; + groupBy: Array; + having?: InputMaybe; }; -/** A `Distribution` edge in the connection, with data from `DistributionPayment`. */ -export type BlockDistributionsByDistributionPaymentCreatedBlockIdAndDistributionIdManyToManyEdge = { - __typename?: 'BlockDistributionsByDistributionPaymentCreatedBlockIdAndDistributionIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `DistributionPayment`. */ - distributionPayments: DistributionPaymentsConnection; - /** The `Distribution` at the end of the edge. */ - node?: Maybe; -}; +/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialAssetHistory`. */ +export type BlockConfidentialAccountsByConfidentialAssetHistoryUpdatedBlockIdAndToIdManyToManyEdge = + { + __typename?: 'BlockConfidentialAccountsByConfidentialAssetHistoryUpdatedBlockIdAndToIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ + confidentialAssetHistoriesByToId: ConfidentialAssetHistoriesConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `ConfidentialAccount` at the end of the edge. */ + node?: Maybe; + }; -/** A `Distribution` edge in the connection, with data from `DistributionPayment`. */ -export type BlockDistributionsByDistributionPaymentCreatedBlockIdAndDistributionIdManyToManyEdgeDistributionPaymentsArgs = +/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialAssetHistory`. */ +export type BlockConfidentialAccountsByConfidentialAssetHistoryUpdatedBlockIdAndToIdManyToManyEdgeConfidentialAssetHistoriesByToIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; -/** A connection to a list of `Distribution` values, with data from `DistributionPayment`. */ -export type BlockDistributionsByDistributionPaymentUpdatedBlockIdAndDistributionIdManyToManyConnection = +/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialAssetHolder`. */ +export type BlockConfidentialAccountsByConfidentialAssetHolderCreatedBlockIdAndAccountIdManyToManyConnection = { - __typename?: 'BlockDistributionsByDistributionPaymentUpdatedBlockIdAndDistributionIdManyToManyConnection'; + __typename?: 'BlockConfidentialAccountsByConfidentialAssetHolderCreatedBlockIdAndAccountIdManyToManyConnection'; /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Distribution`, info from the `DistributionPayment`, and the cursor to aid in pagination. */ - edges: Array; + aggregates?: Maybe; + /** A list of edges which contains the `ConfidentialAccount`, info from the `ConfidentialAssetHolder`, and the cursor to aid in pagination. */ + edges: Array; /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Distribution` objects. */ - nodes: Array>; + groupedAggregates?: Maybe>; + /** A list of `ConfidentialAccount` objects. */ + nodes: Array>; /** Information to aid in pagination. */ pageInfo: PageInfo; - /** The count of *all* `Distribution` you could get from the connection. */ + /** The count of *all* `ConfidentialAccount` you could get from the connection. */ totalCount: Scalars['Int']['output']; }; -/** A connection to a list of `Distribution` values, with data from `DistributionPayment`. */ -export type BlockDistributionsByDistributionPaymentUpdatedBlockIdAndDistributionIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialAssetHolder`. */ +export type BlockConfidentialAccountsByConfidentialAssetHolderCreatedBlockIdAndAccountIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; + groupBy: Array; + having?: InputMaybe; }; -/** A `Distribution` edge in the connection, with data from `DistributionPayment`. */ -export type BlockDistributionsByDistributionPaymentUpdatedBlockIdAndDistributionIdManyToManyEdge = { - __typename?: 'BlockDistributionsByDistributionPaymentUpdatedBlockIdAndDistributionIdManyToManyEdge'; +/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialAssetHolder`. */ +export type BlockConfidentialAccountsByConfidentialAssetHolderCreatedBlockIdAndAccountIdManyToManyEdge = + { + __typename?: 'BlockConfidentialAccountsByConfidentialAssetHolderCreatedBlockIdAndAccountIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialAssetHolder`. */ + confidentialAssetHoldersByAccountId: ConfidentialAssetHoldersConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `ConfidentialAccount` at the end of the edge. */ + node?: Maybe; + }; + +/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialAssetHolder`. */ +export type BlockConfidentialAccountsByConfidentialAssetHolderCreatedBlockIdAndAccountIdManyToManyEdgeConfidentialAssetHoldersByAccountIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialAssetHolder`. */ +export type BlockConfidentialAccountsByConfidentialAssetHolderUpdatedBlockIdAndAccountIdManyToManyConnection = + { + __typename?: 'BlockConfidentialAccountsByConfidentialAssetHolderUpdatedBlockIdAndAccountIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `ConfidentialAccount`, info from the `ConfidentialAssetHolder`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `ConfidentialAccount` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `ConfidentialAccount` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; + +/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialAssetHolder`. */ +export type BlockConfidentialAccountsByConfidentialAssetHolderUpdatedBlockIdAndAccountIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialAssetHolder`. */ +export type BlockConfidentialAccountsByConfidentialAssetHolderUpdatedBlockIdAndAccountIdManyToManyEdge = + { + __typename?: 'BlockConfidentialAccountsByConfidentialAssetHolderUpdatedBlockIdAndAccountIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialAssetHolder`. */ + confidentialAssetHoldersByAccountId: ConfidentialAssetHoldersConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `ConfidentialAccount` at the end of the edge. */ + node?: Maybe; + }; + +/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialAssetHolder`. */ +export type BlockConfidentialAccountsByConfidentialAssetHolderUpdatedBlockIdAndAccountIdManyToManyEdgeConfidentialAssetHoldersByAccountIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialLeg`. */ +export type BlockConfidentialAccountsByConfidentialLegCreatedBlockIdAndReceiverIdManyToManyConnection = + { + __typename?: 'BlockConfidentialAccountsByConfidentialLegCreatedBlockIdAndReceiverIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `ConfidentialAccount`, info from the `ConfidentialLeg`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `ConfidentialAccount` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `ConfidentialAccount` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; + +/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialLeg`. */ +export type BlockConfidentialAccountsByConfidentialLegCreatedBlockIdAndReceiverIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialLeg`. */ +export type BlockConfidentialAccountsByConfidentialLegCreatedBlockIdAndReceiverIdManyToManyEdge = { + __typename?: 'BlockConfidentialAccountsByConfidentialLegCreatedBlockIdAndReceiverIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialLeg`. */ + confidentialLegsByReceiverId: ConfidentialLegsConnection; /** A cursor for use in pagination. */ cursor?: Maybe; - /** Reads and enables pagination through a set of `DistributionPayment`. */ - distributionPayments: DistributionPaymentsConnection; - /** The `Distribution` at the end of the edge. */ - node?: Maybe; + /** The `ConfidentialAccount` at the end of the edge. */ + node?: Maybe; }; -/** A `Distribution` edge in the connection, with data from `DistributionPayment`. */ -export type BlockDistributionsByDistributionPaymentUpdatedBlockIdAndDistributionIdManyToManyEdgeDistributionPaymentsArgs = +/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialLeg`. */ +export type BlockConfidentialAccountsByConfidentialLegCreatedBlockIdAndReceiverIdManyToManyEdgeConfidentialLegsByReceiverIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; -/** A connection to a list of `Extrinsic` values, with data from `Event`. */ -export type BlockExtrinsicsByEventBlockIdAndExtrinsicIdManyToManyConnection = { - __typename?: 'BlockExtrinsicsByEventBlockIdAndExtrinsicIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Extrinsic`, info from the `Event`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Extrinsic` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Extrinsic` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; +/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialLeg`. */ +export type BlockConfidentialAccountsByConfidentialLegCreatedBlockIdAndSenderIdManyToManyConnection = + { + __typename?: 'BlockConfidentialAccountsByConfidentialLegCreatedBlockIdAndSenderIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `ConfidentialAccount`, info from the `ConfidentialLeg`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `ConfidentialAccount` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `ConfidentialAccount` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; -/** A connection to a list of `Extrinsic` values, with data from `Event`. */ -export type BlockExtrinsicsByEventBlockIdAndExtrinsicIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; +/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialLeg`. */ +export type BlockConfidentialAccountsByConfidentialLegCreatedBlockIdAndSenderIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; -/** A `Extrinsic` edge in the connection, with data from `Event`. */ -export type BlockExtrinsicsByEventBlockIdAndExtrinsicIdManyToManyEdge = { - __typename?: 'BlockExtrinsicsByEventBlockIdAndExtrinsicIdManyToManyEdge'; +/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialLeg`. */ +export type BlockConfidentialAccountsByConfidentialLegCreatedBlockIdAndSenderIdManyToManyEdge = { + __typename?: 'BlockConfidentialAccountsByConfidentialLegCreatedBlockIdAndSenderIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialLeg`. */ + confidentialLegsBySenderId: ConfidentialLegsConnection; /** A cursor for use in pagination. */ cursor?: Maybe; - /** Reads and enables pagination through a set of `Event`. */ - events: EventsConnection; - /** The `Extrinsic` at the end of the edge. */ - node?: Maybe; + /** The `ConfidentialAccount` at the end of the edge. */ + node?: Maybe; }; -/** A `Extrinsic` edge in the connection, with data from `Event`. */ -export type BlockExtrinsicsByEventBlockIdAndExtrinsicIdManyToManyEdgeEventsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; +/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialLeg`. */ +export type BlockConfidentialAccountsByConfidentialLegCreatedBlockIdAndSenderIdManyToManyEdgeConfidentialLegsBySenderIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; -/** A connection to a list of `Extrinsic` values, with data from `PolyxTransaction`. */ -export type BlockExtrinsicsByPolyxTransactionCreatedBlockIdAndExtrinsicIdManyToManyConnection = { - __typename?: 'BlockExtrinsicsByPolyxTransactionCreatedBlockIdAndExtrinsicIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Extrinsic`, info from the `PolyxTransaction`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Extrinsic` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Extrinsic` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; +/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialLeg`. */ +export type BlockConfidentialAccountsByConfidentialLegUpdatedBlockIdAndReceiverIdManyToManyConnection = + { + __typename?: 'BlockConfidentialAccountsByConfidentialLegUpdatedBlockIdAndReceiverIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `ConfidentialAccount`, info from the `ConfidentialLeg`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `ConfidentialAccount` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `ConfidentialAccount` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; -/** A connection to a list of `Extrinsic` values, with data from `PolyxTransaction`. */ -export type BlockExtrinsicsByPolyxTransactionCreatedBlockIdAndExtrinsicIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialLeg`. */ +export type BlockConfidentialAccountsByConfidentialLegUpdatedBlockIdAndReceiverIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; + groupBy: Array; + having?: InputMaybe; }; -/** A `Extrinsic` edge in the connection, with data from `PolyxTransaction`. */ -export type BlockExtrinsicsByPolyxTransactionCreatedBlockIdAndExtrinsicIdManyToManyEdge = { - __typename?: 'BlockExtrinsicsByPolyxTransactionCreatedBlockIdAndExtrinsicIdManyToManyEdge'; +/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialLeg`. */ +export type BlockConfidentialAccountsByConfidentialLegUpdatedBlockIdAndReceiverIdManyToManyEdge = { + __typename?: 'BlockConfidentialAccountsByConfidentialLegUpdatedBlockIdAndReceiverIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialLeg`. */ + confidentialLegsByReceiverId: ConfidentialLegsConnection; /** A cursor for use in pagination. */ cursor?: Maybe; - /** The `Extrinsic` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `PolyxTransaction`. */ - polyxTransactions: PolyxTransactionsConnection; + /** The `ConfidentialAccount` at the end of the edge. */ + node?: Maybe; }; -/** A `Extrinsic` edge in the connection, with data from `PolyxTransaction`. */ -export type BlockExtrinsicsByPolyxTransactionCreatedBlockIdAndExtrinsicIdManyToManyEdgePolyxTransactionsArgs = +/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialLeg`. */ +export type BlockConfidentialAccountsByConfidentialLegUpdatedBlockIdAndReceiverIdManyToManyEdgeConfidentialLegsByReceiverIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; -/** A connection to a list of `Extrinsic` values, with data from `PolyxTransaction`. */ -export type BlockExtrinsicsByPolyxTransactionUpdatedBlockIdAndExtrinsicIdManyToManyConnection = { - __typename?: 'BlockExtrinsicsByPolyxTransactionUpdatedBlockIdAndExtrinsicIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Extrinsic`, info from the `PolyxTransaction`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Extrinsic` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Extrinsic` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; +/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialLeg`. */ +export type BlockConfidentialAccountsByConfidentialLegUpdatedBlockIdAndSenderIdManyToManyConnection = + { + __typename?: 'BlockConfidentialAccountsByConfidentialLegUpdatedBlockIdAndSenderIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `ConfidentialAccount`, info from the `ConfidentialLeg`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `ConfidentialAccount` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `ConfidentialAccount` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; -/** A connection to a list of `Extrinsic` values, with data from `PolyxTransaction`. */ -export type BlockExtrinsicsByPolyxTransactionUpdatedBlockIdAndExtrinsicIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialLeg`. */ +export type BlockConfidentialAccountsByConfidentialLegUpdatedBlockIdAndSenderIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; + groupBy: Array; + having?: InputMaybe; }; -/** A `Extrinsic` edge in the connection, with data from `PolyxTransaction`. */ -export type BlockExtrinsicsByPolyxTransactionUpdatedBlockIdAndExtrinsicIdManyToManyEdge = { - __typename?: 'BlockExtrinsicsByPolyxTransactionUpdatedBlockIdAndExtrinsicIdManyToManyEdge'; +/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialLeg`. */ +export type BlockConfidentialAccountsByConfidentialLegUpdatedBlockIdAndSenderIdManyToManyEdge = { + __typename?: 'BlockConfidentialAccountsByConfidentialLegUpdatedBlockIdAndSenderIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialLeg`. */ + confidentialLegsBySenderId: ConfidentialLegsConnection; /** A cursor for use in pagination. */ cursor?: Maybe; - /** The `Extrinsic` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `PolyxTransaction`. */ - polyxTransactions: PolyxTransactionsConnection; + /** The `ConfidentialAccount` at the end of the edge. */ + node?: Maybe; }; -/** A `Extrinsic` edge in the connection, with data from `PolyxTransaction`. */ -export type BlockExtrinsicsByPolyxTransactionUpdatedBlockIdAndExtrinsicIdManyToManyEdgePolyxTransactionsArgs = +/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialLeg`. */ +export type BlockConfidentialAccountsByConfidentialLegUpdatedBlockIdAndSenderIdManyToManyEdgeConfidentialLegsBySenderIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; -/** A filter to be used against `Block` object types. All fields are combined with a logical ‘and.’ */ -export type BlockFilter = { - /** Filter by the object’s `accountHistoriesByCreatedBlockId` relation. */ - accountHistoriesByCreatedBlockId?: InputMaybe; - /** Some related `accountHistoriesByCreatedBlockId` exist. */ - accountHistoriesByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `accountHistoriesByUpdatedBlockId` relation. */ - accountHistoriesByUpdatedBlockId?: InputMaybe; - /** Some related `accountHistoriesByUpdatedBlockId` exist. */ - accountHistoriesByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `accountsByCreatedBlockId` relation. */ - accountsByCreatedBlockId?: InputMaybe; - /** Some related `accountsByCreatedBlockId` exist. */ - accountsByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `accountsByUpdatedBlockId` relation. */ - accountsByUpdatedBlockId?: InputMaybe; - /** Some related `accountsByUpdatedBlockId` exist. */ - accountsByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `agentGroupMembershipsByCreatedBlockId` relation. */ - agentGroupMembershipsByCreatedBlockId?: InputMaybe; - /** Some related `agentGroupMembershipsByCreatedBlockId` exist. */ - agentGroupMembershipsByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `agentGroupMembershipsByUpdatedBlockId` relation. */ - agentGroupMembershipsByUpdatedBlockId?: InputMaybe; - /** Some related `agentGroupMembershipsByUpdatedBlockId` exist. */ - agentGroupMembershipsByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `agentGroupsByCreatedBlockId` relation. */ - agentGroupsByCreatedBlockId?: InputMaybe; - /** Some related `agentGroupsByCreatedBlockId` exist. */ - agentGroupsByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `agentGroupsByUpdatedBlockId` relation. */ - agentGroupsByUpdatedBlockId?: InputMaybe; - /** Some related `agentGroupsByUpdatedBlockId` exist. */ - agentGroupsByUpdatedBlockIdExist?: InputMaybe; - /** Checks for all expressions in this list. */ - and?: InputMaybe>; - /** Filter by the object’s `assetDocumentsByCreatedBlockId` relation. */ - assetDocumentsByCreatedBlockId?: InputMaybe; - /** Some related `assetDocumentsByCreatedBlockId` exist. */ - assetDocumentsByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `assetDocumentsByUpdatedBlockId` relation. */ - assetDocumentsByUpdatedBlockId?: InputMaybe; - /** Some related `assetDocumentsByUpdatedBlockId` exist. */ - assetDocumentsByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `assetHoldersByCreatedBlockId` relation. */ - assetHoldersByCreatedBlockId?: InputMaybe; - /** Some related `assetHoldersByCreatedBlockId` exist. */ - assetHoldersByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `assetHoldersByUpdatedBlockId` relation. */ - assetHoldersByUpdatedBlockId?: InputMaybe; - /** Some related `assetHoldersByUpdatedBlockId` exist. */ - assetHoldersByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `assetPendingOwnershipTransfersByCreatedBlockId` relation. */ - assetPendingOwnershipTransfersByCreatedBlockId?: InputMaybe; - /** Some related `assetPendingOwnershipTransfersByCreatedBlockId` exist. */ - assetPendingOwnershipTransfersByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `assetPendingOwnershipTransfersByUpdatedBlockId` relation. */ - assetPendingOwnershipTransfersByUpdatedBlockId?: InputMaybe; - /** Some related `assetPendingOwnershipTransfersByUpdatedBlockId` exist. */ - assetPendingOwnershipTransfersByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `assetTransactionsByCreatedBlockId` relation. */ - assetTransactionsByCreatedBlockId?: InputMaybe; - /** Some related `assetTransactionsByCreatedBlockId` exist. */ - assetTransactionsByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `assetTransactionsByUpdatedBlockId` relation. */ - assetTransactionsByUpdatedBlockId?: InputMaybe; - /** Some related `assetTransactionsByUpdatedBlockId` exist. */ - assetTransactionsByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `assetsByCreatedBlockId` relation. */ - assetsByCreatedBlockId?: InputMaybe; - /** Some related `assetsByCreatedBlockId` exist. */ - assetsByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `assetsByUpdatedBlockId` relation. */ - assetsByUpdatedBlockId?: InputMaybe; - /** Some related `assetsByUpdatedBlockId` exist. */ - assetsByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `authorizationsByCreatedBlockId` relation. */ - authorizationsByCreatedBlockId?: InputMaybe; - /** Some related `authorizationsByCreatedBlockId` exist. */ - authorizationsByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `authorizationsByUpdatedBlockId` relation. */ - authorizationsByUpdatedBlockId?: InputMaybe; - /** Some related `authorizationsByUpdatedBlockId` exist. */ - authorizationsByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `blockId` field. */ - blockId?: InputMaybe; - /** Filter by the object’s `bridgeEventsByCreatedBlockId` relation. */ - bridgeEventsByCreatedBlockId?: InputMaybe; - /** Some related `bridgeEventsByCreatedBlockId` exist. */ - bridgeEventsByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `bridgeEventsByUpdatedBlockId` relation. */ - bridgeEventsByUpdatedBlockId?: InputMaybe; - /** Some related `bridgeEventsByUpdatedBlockId` exist. */ - bridgeEventsByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `childIdentitiesByCreatedBlockId` relation. */ - childIdentitiesByCreatedBlockId?: InputMaybe; - /** Some related `childIdentitiesByCreatedBlockId` exist. */ - childIdentitiesByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `childIdentitiesByUpdatedBlockId` relation. */ - childIdentitiesByUpdatedBlockId?: InputMaybe; - /** Some related `childIdentitiesByUpdatedBlockId` exist. */ - childIdentitiesByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `claimScopesByCreatedBlockId` relation. */ - claimScopesByCreatedBlockId?: InputMaybe; - /** Some related `claimScopesByCreatedBlockId` exist. */ - claimScopesByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `claimScopesByUpdatedBlockId` relation. */ - claimScopesByUpdatedBlockId?: InputMaybe; - /** Some related `claimScopesByUpdatedBlockId` exist. */ - claimScopesByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `claimsByCreatedBlockId` relation. */ - claimsByCreatedBlockId?: InputMaybe; - /** Some related `claimsByCreatedBlockId` exist. */ - claimsByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `claimsByUpdatedBlockId` relation. */ - claimsByUpdatedBlockId?: InputMaybe; - /** Some related `claimsByUpdatedBlockId` exist. */ - claimsByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `compliancesByCreatedBlockId` relation. */ - compliancesByCreatedBlockId?: InputMaybe; - /** Some related `compliancesByCreatedBlockId` exist. */ - compliancesByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `compliancesByUpdatedBlockId` relation. */ - compliancesByUpdatedBlockId?: InputMaybe; - /** Some related `compliancesByUpdatedBlockId` exist. */ - compliancesByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `countEvents` field. */ - countEvents?: InputMaybe; - /** Filter by the object’s `countExtrinsics` field. */ - countExtrinsics?: InputMaybe; - /** Filter by the object’s `countExtrinsicsError` field. */ - countExtrinsicsError?: InputMaybe; - /** Filter by the object’s `countExtrinsicsSigned` field. */ - countExtrinsicsSigned?: InputMaybe; - /** Filter by the object’s `countExtrinsicsSuccess` field. */ - countExtrinsicsSuccess?: InputMaybe; - /** Filter by the object’s `countExtrinsicsUnsigned` field. */ - countExtrinsicsUnsigned?: InputMaybe; - /** Filter by the object’s `createdAt` field. */ - createdAt?: InputMaybe; - /** Filter by the object’s `customClaimTypesByCreatedBlockId` relation. */ - customClaimTypesByCreatedBlockId?: InputMaybe; - /** Some related `customClaimTypesByCreatedBlockId` exist. */ - customClaimTypesByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `customClaimTypesByUpdatedBlockId` relation. */ - customClaimTypesByUpdatedBlockId?: InputMaybe; - /** Some related `customClaimTypesByUpdatedBlockId` exist. */ - customClaimTypesByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `datetime` field. */ - datetime?: InputMaybe; - /** Filter by the object’s `distributionPaymentsByCreatedBlockId` relation. */ - distributionPaymentsByCreatedBlockId?: InputMaybe; - /** Some related `distributionPaymentsByCreatedBlockId` exist. */ - distributionPaymentsByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `distributionPaymentsByUpdatedBlockId` relation. */ - distributionPaymentsByUpdatedBlockId?: InputMaybe; - /** Some related `distributionPaymentsByUpdatedBlockId` exist. */ - distributionPaymentsByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `distributionsByCreatedBlockId` relation. */ - distributionsByCreatedBlockId?: InputMaybe; - /** Some related `distributionsByCreatedBlockId` exist. */ - distributionsByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `distributionsByUpdatedBlockId` relation. */ - distributionsByUpdatedBlockId?: InputMaybe; - /** Some related `distributionsByUpdatedBlockId` exist. */ - distributionsByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `events` relation. */ - events?: InputMaybe; - /** Some related `events` exist. */ - eventsExist?: InputMaybe; - /** Filter by the object’s `extrinsics` relation. */ - extrinsics?: InputMaybe; - /** Some related `extrinsics` exist. */ - extrinsicsExist?: InputMaybe; - /** Filter by the object’s `extrinsicsRoot` field. */ - extrinsicsRoot?: InputMaybe; - /** Filter by the object’s `fundingsByCreatedBlockId` relation. */ - fundingsByCreatedBlockId?: InputMaybe; - /** Some related `fundingsByCreatedBlockId` exist. */ - fundingsByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `fundingsByUpdatedBlockId` relation. */ - fundingsByUpdatedBlockId?: InputMaybe; - /** Some related `fundingsByUpdatedBlockId` exist. */ - fundingsByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `hash` field. */ - hash?: InputMaybe; - /** Filter by the object’s `id` field. */ - id?: InputMaybe; - /** Filter by the object’s `identitiesByCreatedBlockId` relation. */ - identitiesByCreatedBlockId?: InputMaybe; - /** Some related `identitiesByCreatedBlockId` exist. */ - identitiesByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `identitiesByUpdatedBlockId` relation. */ - identitiesByUpdatedBlockId?: InputMaybe; - /** Some related `identitiesByUpdatedBlockId` exist. */ - identitiesByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `instructionsByCreatedBlockId` relation. */ - instructionsByCreatedBlockId?: InputMaybe; - /** Some related `instructionsByCreatedBlockId` exist. */ - instructionsByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `instructionsByUpdatedBlockId` relation. */ - instructionsByUpdatedBlockId?: InputMaybe; - /** Some related `instructionsByUpdatedBlockId` exist. */ - instructionsByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `investmentsByCreatedBlockId` relation. */ - investmentsByCreatedBlockId?: InputMaybe; - /** Some related `investmentsByCreatedBlockId` exist. */ - investmentsByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `investmentsByUpdatedBlockId` relation. */ - investmentsByUpdatedBlockId?: InputMaybe; - /** Some related `investmentsByUpdatedBlockId` exist. */ - investmentsByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `legsByCreatedBlockId` relation. */ - legsByCreatedBlockId?: InputMaybe; - /** Some related `legsByCreatedBlockId` exist. */ - legsByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `legsByUpdatedBlockId` relation. */ - legsByUpdatedBlockId?: InputMaybe; - /** Some related `legsByUpdatedBlockId` exist. */ - legsByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `multiSigProposalVotesByCreatedBlockId` relation. */ - multiSigProposalVotesByCreatedBlockId?: InputMaybe; - /** Some related `multiSigProposalVotesByCreatedBlockId` exist. */ - multiSigProposalVotesByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `multiSigProposalVotesByUpdatedBlockId` relation. */ - multiSigProposalVotesByUpdatedBlockId?: InputMaybe; - /** Some related `multiSigProposalVotesByUpdatedBlockId` exist. */ - multiSigProposalVotesByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `multiSigProposalsByCreatedBlockId` relation. */ - multiSigProposalsByCreatedBlockId?: InputMaybe; - /** Some related `multiSigProposalsByCreatedBlockId` exist. */ - multiSigProposalsByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `multiSigProposalsByUpdatedBlockId` relation. */ - multiSigProposalsByUpdatedBlockId?: InputMaybe; - /** Some related `multiSigProposalsByUpdatedBlockId` exist. */ - multiSigProposalsByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `multiSigSignersByCreatedBlockId` relation. */ - multiSigSignersByCreatedBlockId?: InputMaybe; - /** Some related `multiSigSignersByCreatedBlockId` exist. */ - multiSigSignersByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `multiSigSignersByUpdatedBlockId` relation. */ - multiSigSignersByUpdatedBlockId?: InputMaybe; - /** Some related `multiSigSignersByUpdatedBlockId` exist. */ - multiSigSignersByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `multiSigsByCreatedBlockId` relation. */ - multiSigsByCreatedBlockId?: InputMaybe; - /** Some related `multiSigsByCreatedBlockId` exist. */ - multiSigsByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `multiSigsByUpdatedBlockId` relation. */ - multiSigsByUpdatedBlockId?: InputMaybe; - /** Some related `multiSigsByUpdatedBlockId` exist. */ - multiSigsByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `nftHoldersByCreatedBlockId` relation. */ - nftHoldersByCreatedBlockId?: InputMaybe; - /** Some related `nftHoldersByCreatedBlockId` exist. */ - nftHoldersByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `nftHoldersByUpdatedBlockId` relation. */ - nftHoldersByUpdatedBlockId?: InputMaybe; - /** Some related `nftHoldersByUpdatedBlockId` exist. */ - nftHoldersByUpdatedBlockIdExist?: InputMaybe; - /** Negates the expression. */ - not?: InputMaybe; - /** Checks for any expressions in this list. */ - or?: InputMaybe>; - /** Filter by the object’s `parentHash` field. */ - parentHash?: InputMaybe; - /** Filter by the object’s `parentId` field. */ - parentId?: InputMaybe; - /** Filter by the object’s `permissionsByCreatedBlockId` relation. */ - permissionsByCreatedBlockId?: InputMaybe; - /** Some related `permissionsByCreatedBlockId` exist. */ - permissionsByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `permissionsByUpdatedBlockId` relation. */ - permissionsByUpdatedBlockId?: InputMaybe; - /** Some related `permissionsByUpdatedBlockId` exist. */ - permissionsByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `polyxTransactionsByCreatedBlockId` relation. */ - polyxTransactionsByCreatedBlockId?: InputMaybe; - /** Some related `polyxTransactionsByCreatedBlockId` exist. */ - polyxTransactionsByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `polyxTransactionsByUpdatedBlockId` relation. */ - polyxTransactionsByUpdatedBlockId?: InputMaybe; - /** Some related `polyxTransactionsByUpdatedBlockId` exist. */ - polyxTransactionsByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `portfolioMovementsByCreatedBlockId` relation. */ - portfolioMovementsByCreatedBlockId?: InputMaybe; - /** Some related `portfolioMovementsByCreatedBlockId` exist. */ - portfolioMovementsByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `portfolioMovementsByUpdatedBlockId` relation. */ - portfolioMovementsByUpdatedBlockId?: InputMaybe; - /** Some related `portfolioMovementsByUpdatedBlockId` exist. */ - portfolioMovementsByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `portfoliosByCreatedBlockId` relation. */ - portfoliosByCreatedBlockId?: InputMaybe; - /** Some related `portfoliosByCreatedBlockId` exist. */ - portfoliosByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `portfoliosByUpdatedBlockId` relation. */ - portfoliosByUpdatedBlockId?: InputMaybe; - /** Some related `portfoliosByUpdatedBlockId` exist. */ - portfoliosByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `proposalVotesByCreatedBlockId` relation. */ - proposalVotesByCreatedBlockId?: InputMaybe; - /** Some related `proposalVotesByCreatedBlockId` exist. */ - proposalVotesByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `proposalVotesByUpdatedBlockId` relation. */ - proposalVotesByUpdatedBlockId?: InputMaybe; - /** Some related `proposalVotesByUpdatedBlockId` exist. */ - proposalVotesByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `proposalsByCreatedBlockId` relation. */ - proposalsByCreatedBlockId?: InputMaybe; - /** Some related `proposalsByCreatedBlockId` exist. */ - proposalsByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `proposalsByUpdatedBlockId` relation. */ - proposalsByUpdatedBlockId?: InputMaybe; - /** Some related `proposalsByUpdatedBlockId` exist. */ - proposalsByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `settlementsByCreatedBlockId` relation. */ - settlementsByCreatedBlockId?: InputMaybe; - /** Some related `settlementsByCreatedBlockId` exist. */ - settlementsByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `settlementsByUpdatedBlockId` relation. */ - settlementsByUpdatedBlockId?: InputMaybe; - /** Some related `settlementsByUpdatedBlockId` exist. */ - settlementsByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `specVersionId` field. */ - specVersionId?: InputMaybe; - /** Filter by the object’s `stakingEventsByCreatedBlockId` relation. */ - stakingEventsByCreatedBlockId?: InputMaybe; - /** Some related `stakingEventsByCreatedBlockId` exist. */ - stakingEventsByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `stakingEventsByUpdatedBlockId` relation. */ - stakingEventsByUpdatedBlockId?: InputMaybe; - /** Some related `stakingEventsByUpdatedBlockId` exist. */ - stakingEventsByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `statTypesByCreatedBlockId` relation. */ - statTypesByCreatedBlockId?: InputMaybe; - /** Some related `statTypesByCreatedBlockId` exist. */ - statTypesByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `statTypesByUpdatedBlockId` relation. */ - statTypesByUpdatedBlockId?: InputMaybe; - /** Some related `statTypesByUpdatedBlockId` exist. */ - statTypesByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `stateRoot` field. */ - stateRoot?: InputMaybe; - /** Filter by the object’s `stosByCreatedBlockId` relation. */ - stosByCreatedBlockId?: InputMaybe; - /** Some related `stosByCreatedBlockId` exist. */ - stosByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `stosByUpdatedBlockId` relation. */ - stosByUpdatedBlockId?: InputMaybe; - /** Some related `stosByUpdatedBlockId` exist. */ - stosByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `tickerExternalAgentActionsByCreatedBlockId` relation. */ - tickerExternalAgentActionsByCreatedBlockId?: InputMaybe; - /** Some related `tickerExternalAgentActionsByCreatedBlockId` exist. */ - tickerExternalAgentActionsByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `tickerExternalAgentActionsByUpdatedBlockId` relation. */ - tickerExternalAgentActionsByUpdatedBlockId?: InputMaybe; - /** Some related `tickerExternalAgentActionsByUpdatedBlockId` exist. */ - tickerExternalAgentActionsByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `tickerExternalAgentHistoriesByCreatedBlockId` relation. */ - tickerExternalAgentHistoriesByCreatedBlockId?: InputMaybe; - /** Some related `tickerExternalAgentHistoriesByCreatedBlockId` exist. */ - tickerExternalAgentHistoriesByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `tickerExternalAgentHistoriesByUpdatedBlockId` relation. */ - tickerExternalAgentHistoriesByUpdatedBlockId?: InputMaybe; - /** Some related `tickerExternalAgentHistoriesByUpdatedBlockId` exist. */ - tickerExternalAgentHistoriesByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `tickerExternalAgentsByCreatedBlockId` relation. */ - tickerExternalAgentsByCreatedBlockId?: InputMaybe; - /** Some related `tickerExternalAgentsByCreatedBlockId` exist. */ - tickerExternalAgentsByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `tickerExternalAgentsByUpdatedBlockId` relation. */ - tickerExternalAgentsByUpdatedBlockId?: InputMaybe; - /** Some related `tickerExternalAgentsByUpdatedBlockId` exist. */ - tickerExternalAgentsByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `transferComplianceExemptionsByCreatedBlockId` relation. */ - transferComplianceExemptionsByCreatedBlockId?: InputMaybe; - /** Some related `transferComplianceExemptionsByCreatedBlockId` exist. */ - transferComplianceExemptionsByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `transferComplianceExemptionsByUpdatedBlockId` relation. */ - transferComplianceExemptionsByUpdatedBlockId?: InputMaybe; - /** Some related `transferComplianceExemptionsByUpdatedBlockId` exist. */ - transferComplianceExemptionsByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `transferCompliancesByCreatedBlockId` relation. */ - transferCompliancesByCreatedBlockId?: InputMaybe; - /** Some related `transferCompliancesByCreatedBlockId` exist. */ - transferCompliancesByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `transferCompliancesByUpdatedBlockId` relation. */ - transferCompliancesByUpdatedBlockId?: InputMaybe; - /** Some related `transferCompliancesByUpdatedBlockId` exist. */ - transferCompliancesByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `transferManagersByCreatedBlockId` relation. */ - transferManagersByCreatedBlockId?: InputMaybe; - /** Some related `transferManagersByCreatedBlockId` exist. */ - transferManagersByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `transferManagersByUpdatedBlockId` relation. */ - transferManagersByUpdatedBlockId?: InputMaybe; - /** Some related `transferManagersByUpdatedBlockId` exist. */ - transferManagersByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `trustedClaimIssuersByCreatedBlockId` relation. */ - trustedClaimIssuersByCreatedBlockId?: InputMaybe; - /** Some related `trustedClaimIssuersByCreatedBlockId` exist. */ - trustedClaimIssuersByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `trustedClaimIssuersByUpdatedBlockId` relation. */ - trustedClaimIssuersByUpdatedBlockId?: InputMaybe; - /** Some related `trustedClaimIssuersByUpdatedBlockId` exist. */ - trustedClaimIssuersByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: InputMaybe; - /** Filter by the object’s `venuesByCreatedBlockId` relation. */ - venuesByCreatedBlockId?: InputMaybe; - /** Some related `venuesByCreatedBlockId` exist. */ - venuesByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `venuesByUpdatedBlockId` relation. */ - venuesByUpdatedBlockId?: InputMaybe; - /** Some related `venuesByUpdatedBlockId` exist. */ - venuesByUpdatedBlockIdExist?: InputMaybe; -}; - -/** A connection to a list of `Identity` values, with data from `Account`. */ -export type BlockIdentitiesByAccountCreatedBlockIdAndIdentityIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByAccountCreatedBlockIdAndIdentityIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `Account`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; +/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialTransactionAffirmation`. */ +export type BlockConfidentialAccountsByConfidentialTransactionAffirmationCreatedBlockIdAndAccountIdManyToManyConnection = + { + __typename?: 'BlockConfidentialAccountsByConfidentialTransactionAffirmationCreatedBlockIdAndAccountIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `ConfidentialAccount`, info from the `ConfidentialTransactionAffirmation`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `ConfidentialAccount` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `ConfidentialAccount` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; -/** A connection to a list of `Identity` values, with data from `Account`. */ -export type BlockIdentitiesByAccountCreatedBlockIdAndIdentityIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialTransactionAffirmation`. */ +export type BlockConfidentialAccountsByConfidentialTransactionAffirmationCreatedBlockIdAndAccountIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; + groupBy: Array; + having?: InputMaybe; }; -/** A `Identity` edge in the connection, with data from `Account`. */ -export type BlockIdentitiesByAccountCreatedBlockIdAndIdentityIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByAccountCreatedBlockIdAndIdentityIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Account`. */ - secondaryAccounts: AccountsConnection; -}; +/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ +export type BlockConfidentialAccountsByConfidentialTransactionAffirmationCreatedBlockIdAndAccountIdManyToManyEdge = + { + __typename?: 'BlockConfidentialAccountsByConfidentialTransactionAffirmationCreatedBlockIdAndAccountIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialTransactionAffirmation`. */ + confidentialTransactionAffirmationsByAccountId: ConfidentialTransactionAffirmationsConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `ConfidentialAccount` at the end of the edge. */ + node?: Maybe; + }; -/** A `Identity` edge in the connection, with data from `Account`. */ -export type BlockIdentitiesByAccountCreatedBlockIdAndIdentityIdManyToManyEdgeSecondaryAccountsArgs = +/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ +export type BlockConfidentialAccountsByConfidentialTransactionAffirmationCreatedBlockIdAndAccountIdManyToManyEdgeConfidentialTransactionAffirmationsByAccountIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; -/** A connection to a list of `Identity` values, with data from `Account`. */ -export type BlockIdentitiesByAccountUpdatedBlockIdAndIdentityIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByAccountUpdatedBlockIdAndIdentityIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `Account`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; +/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialTransactionAffirmation`. */ +export type BlockConfidentialAccountsByConfidentialTransactionAffirmationUpdatedBlockIdAndAccountIdManyToManyConnection = + { + __typename?: 'BlockConfidentialAccountsByConfidentialTransactionAffirmationUpdatedBlockIdAndAccountIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `ConfidentialAccount`, info from the `ConfidentialTransactionAffirmation`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `ConfidentialAccount` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `ConfidentialAccount` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; -/** A connection to a list of `Identity` values, with data from `Account`. */ -export type BlockIdentitiesByAccountUpdatedBlockIdAndIdentityIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialTransactionAffirmation`. */ +export type BlockConfidentialAccountsByConfidentialTransactionAffirmationUpdatedBlockIdAndAccountIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; + groupBy: Array; + having?: InputMaybe; }; -/** A `Identity` edge in the connection, with data from `Account`. */ -export type BlockIdentitiesByAccountUpdatedBlockIdAndIdentityIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByAccountUpdatedBlockIdAndIdentityIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Account`. */ - secondaryAccounts: AccountsConnection; -}; +/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ +export type BlockConfidentialAccountsByConfidentialTransactionAffirmationUpdatedBlockIdAndAccountIdManyToManyEdge = + { + __typename?: 'BlockConfidentialAccountsByConfidentialTransactionAffirmationUpdatedBlockIdAndAccountIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialTransactionAffirmation`. */ + confidentialTransactionAffirmationsByAccountId: ConfidentialTransactionAffirmationsConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `ConfidentialAccount` at the end of the edge. */ + node?: Maybe; + }; -/** A `Identity` edge in the connection, with data from `Account`. */ -export type BlockIdentitiesByAccountUpdatedBlockIdAndIdentityIdManyToManyEdgeSecondaryAccountsArgs = +/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ +export type BlockConfidentialAccountsByConfidentialTransactionAffirmationUpdatedBlockIdAndAccountIdManyToManyEdgeConfidentialTransactionAffirmationsByAccountIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; -/** A connection to a list of `Identity` values, with data from `Asset`. */ -export type BlockIdentitiesByAssetCreatedBlockIdAndOwnerIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByAssetCreatedBlockIdAndOwnerIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `Asset`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; +/** A connection to a list of `ConfidentialAsset` values, with data from `ConfidentialAssetHistory`. */ +export type BlockConfidentialAssetsByConfidentialAssetHistoryCreatedBlockIdAndAssetIdManyToManyConnection = + { + __typename?: 'BlockConfidentialAssetsByConfidentialAssetHistoryCreatedBlockIdAndAssetIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `ConfidentialAsset`, info from the `ConfidentialAssetHistory`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `ConfidentialAsset` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `ConfidentialAsset` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; -/** A connection to a list of `Identity` values, with data from `Asset`. */ -export type BlockIdentitiesByAssetCreatedBlockIdAndOwnerIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `ConfidentialAsset` values, with data from `ConfidentialAssetHistory`. */ +export type BlockConfidentialAssetsByConfidentialAssetHistoryCreatedBlockIdAndAssetIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; + groupBy: Array; + having?: InputMaybe; }; -/** A `Identity` edge in the connection, with data from `Asset`. */ -export type BlockIdentitiesByAssetCreatedBlockIdAndOwnerIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByAssetCreatedBlockIdAndOwnerIdManyToManyEdge'; - /** Reads and enables pagination through a set of `Asset`. */ - assetsByOwnerId: AssetsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; -}; +/** A `ConfidentialAsset` edge in the connection, with data from `ConfidentialAssetHistory`. */ +export type BlockConfidentialAssetsByConfidentialAssetHistoryCreatedBlockIdAndAssetIdManyToManyEdge = + { + __typename?: 'BlockConfidentialAssetsByConfidentialAssetHistoryCreatedBlockIdAndAssetIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ + confidentialAssetHistoriesByAssetId: ConfidentialAssetHistoriesConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `ConfidentialAsset` at the end of the edge. */ + node?: Maybe; + }; -/** A `Identity` edge in the connection, with data from `Asset`. */ -export type BlockIdentitiesByAssetCreatedBlockIdAndOwnerIdManyToManyEdgeAssetsByOwnerIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; +/** A `ConfidentialAsset` edge in the connection, with data from `ConfidentialAssetHistory`. */ +export type BlockConfidentialAssetsByConfidentialAssetHistoryCreatedBlockIdAndAssetIdManyToManyEdgeConfidentialAssetHistoriesByAssetIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; -/** A connection to a list of `Identity` values, with data from `AssetHolder`. */ -export type BlockIdentitiesByAssetHolderCreatedBlockIdAndIdentityIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByAssetHolderCreatedBlockIdAndIdentityIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `AssetHolder`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; +/** A connection to a list of `ConfidentialAsset` values, with data from `ConfidentialAssetHistory`. */ +export type BlockConfidentialAssetsByConfidentialAssetHistoryUpdatedBlockIdAndAssetIdManyToManyConnection = + { + __typename?: 'BlockConfidentialAssetsByConfidentialAssetHistoryUpdatedBlockIdAndAssetIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `ConfidentialAsset`, info from the `ConfidentialAssetHistory`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `ConfidentialAsset` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `ConfidentialAsset` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; -/** A connection to a list of `Identity` values, with data from `AssetHolder`. */ -export type BlockIdentitiesByAssetHolderCreatedBlockIdAndIdentityIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `ConfidentialAsset` values, with data from `ConfidentialAssetHistory`. */ +export type BlockConfidentialAssetsByConfidentialAssetHistoryUpdatedBlockIdAndAssetIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; + groupBy: Array; + having?: InputMaybe; }; -/** A `Identity` edge in the connection, with data from `AssetHolder`. */ -export type BlockIdentitiesByAssetHolderCreatedBlockIdAndIdentityIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByAssetHolderCreatedBlockIdAndIdentityIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `AssetHolder`. */ - heldAssets: AssetHoldersConnection; - /** The `Identity` at the end of the edge. */ - node?: Maybe; -}; +/** A `ConfidentialAsset` edge in the connection, with data from `ConfidentialAssetHistory`. */ +export type BlockConfidentialAssetsByConfidentialAssetHistoryUpdatedBlockIdAndAssetIdManyToManyEdge = + { + __typename?: 'BlockConfidentialAssetsByConfidentialAssetHistoryUpdatedBlockIdAndAssetIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ + confidentialAssetHistoriesByAssetId: ConfidentialAssetHistoriesConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `ConfidentialAsset` at the end of the edge. */ + node?: Maybe; + }; -/** A `Identity` edge in the connection, with data from `AssetHolder`. */ -export type BlockIdentitiesByAssetHolderCreatedBlockIdAndIdentityIdManyToManyEdgeHeldAssetsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; +/** A `ConfidentialAsset` edge in the connection, with data from `ConfidentialAssetHistory`. */ +export type BlockConfidentialAssetsByConfidentialAssetHistoryUpdatedBlockIdAndAssetIdManyToManyEdgeConfidentialAssetHistoriesByAssetIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; -/** A connection to a list of `Identity` values, with data from `AssetHolder`. */ -export type BlockIdentitiesByAssetHolderUpdatedBlockIdAndIdentityIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByAssetHolderUpdatedBlockIdAndIdentityIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `AssetHolder`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; +/** A connection to a list of `ConfidentialAsset` values, with data from `ConfidentialAssetHolder`. */ +export type BlockConfidentialAssetsByConfidentialAssetHolderCreatedBlockIdAndAssetIdManyToManyConnection = + { + __typename?: 'BlockConfidentialAssetsByConfidentialAssetHolderCreatedBlockIdAndAssetIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `ConfidentialAsset`, info from the `ConfidentialAssetHolder`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `ConfidentialAsset` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `ConfidentialAsset` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; -/** A connection to a list of `Identity` values, with data from `AssetHolder`. */ -export type BlockIdentitiesByAssetHolderUpdatedBlockIdAndIdentityIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `ConfidentialAsset` values, with data from `ConfidentialAssetHolder`. */ +export type BlockConfidentialAssetsByConfidentialAssetHolderCreatedBlockIdAndAssetIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; + groupBy: Array; + having?: InputMaybe; }; -/** A `Identity` edge in the connection, with data from `AssetHolder`. */ -export type BlockIdentitiesByAssetHolderUpdatedBlockIdAndIdentityIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByAssetHolderUpdatedBlockIdAndIdentityIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `AssetHolder`. */ - heldAssets: AssetHoldersConnection; - /** The `Identity` at the end of the edge. */ - node?: Maybe; -}; +/** A `ConfidentialAsset` edge in the connection, with data from `ConfidentialAssetHolder`. */ +export type BlockConfidentialAssetsByConfidentialAssetHolderCreatedBlockIdAndAssetIdManyToManyEdge = + { + __typename?: 'BlockConfidentialAssetsByConfidentialAssetHolderCreatedBlockIdAndAssetIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialAssetHolder`. */ + confidentialAssetHoldersByAssetId: ConfidentialAssetHoldersConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `ConfidentialAsset` at the end of the edge. */ + node?: Maybe; + }; -/** A `Identity` edge in the connection, with data from `AssetHolder`. */ -export type BlockIdentitiesByAssetHolderUpdatedBlockIdAndIdentityIdManyToManyEdgeHeldAssetsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; +/** A `ConfidentialAsset` edge in the connection, with data from `ConfidentialAssetHolder`. */ +export type BlockConfidentialAssetsByConfidentialAssetHolderCreatedBlockIdAndAssetIdManyToManyEdgeConfidentialAssetHoldersByAssetIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; -/** A connection to a list of `Identity` values, with data from `Asset`. */ -export type BlockIdentitiesByAssetUpdatedBlockIdAndOwnerIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByAssetUpdatedBlockIdAndOwnerIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `Asset`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; +/** A connection to a list of `ConfidentialAsset` values, with data from `ConfidentialAssetHolder`. */ +export type BlockConfidentialAssetsByConfidentialAssetHolderUpdatedBlockIdAndAssetIdManyToManyConnection = + { + __typename?: 'BlockConfidentialAssetsByConfidentialAssetHolderUpdatedBlockIdAndAssetIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `ConfidentialAsset`, info from the `ConfidentialAssetHolder`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `ConfidentialAsset` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `ConfidentialAsset` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; -/** A connection to a list of `Identity` values, with data from `Asset`. */ -export type BlockIdentitiesByAssetUpdatedBlockIdAndOwnerIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `ConfidentialAsset` values, with data from `ConfidentialAssetHolder`. */ +export type BlockConfidentialAssetsByConfidentialAssetHolderUpdatedBlockIdAndAssetIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; + groupBy: Array; + having?: InputMaybe; }; -/** A `Identity` edge in the connection, with data from `Asset`. */ -export type BlockIdentitiesByAssetUpdatedBlockIdAndOwnerIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByAssetUpdatedBlockIdAndOwnerIdManyToManyEdge'; - /** Reads and enables pagination through a set of `Asset`. */ - assetsByOwnerId: AssetsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; -}; +/** A `ConfidentialAsset` edge in the connection, with data from `ConfidentialAssetHolder`. */ +export type BlockConfidentialAssetsByConfidentialAssetHolderUpdatedBlockIdAndAssetIdManyToManyEdge = + { + __typename?: 'BlockConfidentialAssetsByConfidentialAssetHolderUpdatedBlockIdAndAssetIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialAssetHolder`. */ + confidentialAssetHoldersByAssetId: ConfidentialAssetHoldersConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `ConfidentialAsset` at the end of the edge. */ + node?: Maybe; + }; -/** A `Identity` edge in the connection, with data from `Asset`. */ -export type BlockIdentitiesByAssetUpdatedBlockIdAndOwnerIdManyToManyEdgeAssetsByOwnerIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; +/** A `ConfidentialAsset` edge in the connection, with data from `ConfidentialAssetHolder`. */ +export type BlockConfidentialAssetsByConfidentialAssetHolderUpdatedBlockIdAndAssetIdManyToManyEdgeConfidentialAssetHoldersByAssetIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; -/** A connection to a list of `Identity` values, with data from `Authorization`. */ -export type BlockIdentitiesByAuthorizationCreatedBlockIdAndFromIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByAuthorizationCreatedBlockIdAndFromIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `Authorization`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; +/** A connection to a list of `ConfidentialTransaction` values, with data from `ConfidentialAssetHistory`. */ +export type BlockConfidentialTransactionsByConfidentialAssetHistoryCreatedBlockIdAndTransactionIdManyToManyConnection = + { + __typename?: 'BlockConfidentialTransactionsByConfidentialAssetHistoryCreatedBlockIdAndTransactionIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `ConfidentialTransaction`, info from the `ConfidentialAssetHistory`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `ConfidentialTransaction` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `ConfidentialTransaction` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; -/** A connection to a list of `Identity` values, with data from `Authorization`. */ -export type BlockIdentitiesByAuthorizationCreatedBlockIdAndFromIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `ConfidentialTransaction` values, with data from `ConfidentialAssetHistory`. */ +export type BlockConfidentialTransactionsByConfidentialAssetHistoryCreatedBlockIdAndTransactionIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; + groupBy: Array; + having?: InputMaybe; }; -/** A `Identity` edge in the connection, with data from `Authorization`. */ -export type BlockIdentitiesByAuthorizationCreatedBlockIdAndFromIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByAuthorizationCreatedBlockIdAndFromIdManyToManyEdge'; - /** Reads and enables pagination through a set of `Authorization`. */ - authorizationsByFromId: AuthorizationsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; -}; +/** A `ConfidentialTransaction` edge in the connection, with data from `ConfidentialAssetHistory`. */ +export type BlockConfidentialTransactionsByConfidentialAssetHistoryCreatedBlockIdAndTransactionIdManyToManyEdge = + { + __typename?: 'BlockConfidentialTransactionsByConfidentialAssetHistoryCreatedBlockIdAndTransactionIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ + confidentialAssetHistoriesByTransactionId: ConfidentialAssetHistoriesConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `ConfidentialTransaction` at the end of the edge. */ + node?: Maybe; + }; -/** A `Identity` edge in the connection, with data from `Authorization`. */ -export type BlockIdentitiesByAuthorizationCreatedBlockIdAndFromIdManyToManyEdgeAuthorizationsByFromIdArgs = +/** A `ConfidentialTransaction` edge in the connection, with data from `ConfidentialAssetHistory`. */ +export type BlockConfidentialTransactionsByConfidentialAssetHistoryCreatedBlockIdAndTransactionIdManyToManyEdgeConfidentialAssetHistoriesByTransactionIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; -/** A connection to a list of `Identity` values, with data from `Authorization`. */ -export type BlockIdentitiesByAuthorizationUpdatedBlockIdAndFromIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByAuthorizationUpdatedBlockIdAndFromIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `Authorization`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; +/** A connection to a list of `ConfidentialTransaction` values, with data from `ConfidentialAssetHistory`. */ +export type BlockConfidentialTransactionsByConfidentialAssetHistoryUpdatedBlockIdAndTransactionIdManyToManyConnection = + { + __typename?: 'BlockConfidentialTransactionsByConfidentialAssetHistoryUpdatedBlockIdAndTransactionIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `ConfidentialTransaction`, info from the `ConfidentialAssetHistory`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `ConfidentialTransaction` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `ConfidentialTransaction` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; -/** A connection to a list of `Identity` values, with data from `Authorization`. */ -export type BlockIdentitiesByAuthorizationUpdatedBlockIdAndFromIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `ConfidentialTransaction` values, with data from `ConfidentialAssetHistory`. */ +export type BlockConfidentialTransactionsByConfidentialAssetHistoryUpdatedBlockIdAndTransactionIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; + groupBy: Array; + having?: InputMaybe; }; -/** A `Identity` edge in the connection, with data from `Authorization`. */ -export type BlockIdentitiesByAuthorizationUpdatedBlockIdAndFromIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByAuthorizationUpdatedBlockIdAndFromIdManyToManyEdge'; - /** Reads and enables pagination through a set of `Authorization`. */ - authorizationsByFromId: AuthorizationsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; -}; +/** A `ConfidentialTransaction` edge in the connection, with data from `ConfidentialAssetHistory`. */ +export type BlockConfidentialTransactionsByConfidentialAssetHistoryUpdatedBlockIdAndTransactionIdManyToManyEdge = + { + __typename?: 'BlockConfidentialTransactionsByConfidentialAssetHistoryUpdatedBlockIdAndTransactionIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ + confidentialAssetHistoriesByTransactionId: ConfidentialAssetHistoriesConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `ConfidentialTransaction` at the end of the edge. */ + node?: Maybe; + }; -/** A `Identity` edge in the connection, with data from `Authorization`. */ -export type BlockIdentitiesByAuthorizationUpdatedBlockIdAndFromIdManyToManyEdgeAuthorizationsByFromIdArgs = +/** A `ConfidentialTransaction` edge in the connection, with data from `ConfidentialAssetHistory`. */ +export type BlockConfidentialTransactionsByConfidentialAssetHistoryUpdatedBlockIdAndTransactionIdManyToManyEdgeConfidentialAssetHistoriesByTransactionIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; -/** A connection to a list of `Identity` values, with data from `BridgeEvent`. */ -export type BlockIdentitiesByBridgeEventCreatedBlockIdAndIdentityIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByBridgeEventCreatedBlockIdAndIdentityIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `BridgeEvent`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; +/** A connection to a list of `ConfidentialTransaction` values, with data from `ConfidentialLeg`. */ +export type BlockConfidentialTransactionsByConfidentialLegCreatedBlockIdAndTransactionIdManyToManyConnection = + { + __typename?: 'BlockConfidentialTransactionsByConfidentialLegCreatedBlockIdAndTransactionIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `ConfidentialTransaction`, info from the `ConfidentialLeg`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `ConfidentialTransaction` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `ConfidentialTransaction` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; -/** A connection to a list of `Identity` values, with data from `BridgeEvent`. */ -export type BlockIdentitiesByBridgeEventCreatedBlockIdAndIdentityIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `ConfidentialTransaction` values, with data from `ConfidentialLeg`. */ +export type BlockConfidentialTransactionsByConfidentialLegCreatedBlockIdAndTransactionIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; + groupBy: Array; + having?: InputMaybe; }; -/** A `Identity` edge in the connection, with data from `BridgeEvent`. */ -export type BlockIdentitiesByBridgeEventCreatedBlockIdAndIdentityIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByBridgeEventCreatedBlockIdAndIdentityIdManyToManyEdge'; - /** Reads and enables pagination through a set of `BridgeEvent`. */ - bridgeEvents: BridgeEventsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; -}; +/** A `ConfidentialTransaction` edge in the connection, with data from `ConfidentialLeg`. */ +export type BlockConfidentialTransactionsByConfidentialLegCreatedBlockIdAndTransactionIdManyToManyEdge = + { + __typename?: 'BlockConfidentialTransactionsByConfidentialLegCreatedBlockIdAndTransactionIdManyToManyEdge'; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** Reads and enables pagination through a set of `ConfidentialLeg`. */ + legs: ConfidentialLegsConnection; + /** The `ConfidentialTransaction` at the end of the edge. */ + node?: Maybe; + }; -/** A `Identity` edge in the connection, with data from `BridgeEvent`. */ -export type BlockIdentitiesByBridgeEventCreatedBlockIdAndIdentityIdManyToManyEdgeBridgeEventsArgs = +/** A `ConfidentialTransaction` edge in the connection, with data from `ConfidentialLeg`. */ +export type BlockConfidentialTransactionsByConfidentialLegCreatedBlockIdAndTransactionIdManyToManyEdgeLegsArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; -/** A connection to a list of `Identity` values, with data from `BridgeEvent`. */ -export type BlockIdentitiesByBridgeEventUpdatedBlockIdAndIdentityIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByBridgeEventUpdatedBlockIdAndIdentityIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `BridgeEvent`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; +/** A connection to a list of `ConfidentialTransaction` values, with data from `ConfidentialLeg`. */ +export type BlockConfidentialTransactionsByConfidentialLegUpdatedBlockIdAndTransactionIdManyToManyConnection = + { + __typename?: 'BlockConfidentialTransactionsByConfidentialLegUpdatedBlockIdAndTransactionIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `ConfidentialTransaction`, info from the `ConfidentialLeg`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `ConfidentialTransaction` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `ConfidentialTransaction` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; -/** A connection to a list of `Identity` values, with data from `BridgeEvent`. */ -export type BlockIdentitiesByBridgeEventUpdatedBlockIdAndIdentityIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `ConfidentialTransaction` values, with data from `ConfidentialLeg`. */ +export type BlockConfidentialTransactionsByConfidentialLegUpdatedBlockIdAndTransactionIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; + groupBy: Array; + having?: InputMaybe; }; -/** A `Identity` edge in the connection, with data from `BridgeEvent`. */ -export type BlockIdentitiesByBridgeEventUpdatedBlockIdAndIdentityIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByBridgeEventUpdatedBlockIdAndIdentityIdManyToManyEdge'; - /** Reads and enables pagination through a set of `BridgeEvent`. */ - bridgeEvents: BridgeEventsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; -}; +/** A `ConfidentialTransaction` edge in the connection, with data from `ConfidentialLeg`. */ +export type BlockConfidentialTransactionsByConfidentialLegUpdatedBlockIdAndTransactionIdManyToManyEdge = + { + __typename?: 'BlockConfidentialTransactionsByConfidentialLegUpdatedBlockIdAndTransactionIdManyToManyEdge'; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** Reads and enables pagination through a set of `ConfidentialLeg`. */ + legs: ConfidentialLegsConnection; + /** The `ConfidentialTransaction` at the end of the edge. */ + node?: Maybe; + }; -/** A `Identity` edge in the connection, with data from `BridgeEvent`. */ -export type BlockIdentitiesByBridgeEventUpdatedBlockIdAndIdentityIdManyToManyEdgeBridgeEventsArgs = +/** A `ConfidentialTransaction` edge in the connection, with data from `ConfidentialLeg`. */ +export type BlockConfidentialTransactionsByConfidentialLegUpdatedBlockIdAndTransactionIdManyToManyEdgeLegsArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; -/** A connection to a list of `Identity` values, with data from `ChildIdentity`. */ -export type BlockIdentitiesByChildIdentityCreatedBlockIdAndChildIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByChildIdentityCreatedBlockIdAndChildIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `ChildIdentity`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; +/** A connection to a list of `ConfidentialTransaction` values, with data from `ConfidentialTransactionAffirmation`. */ +export type BlockConfidentialTransactionsByConfidentialTransactionAffirmationCreatedBlockIdAndTransactionIdManyToManyConnection = + { + __typename?: 'BlockConfidentialTransactionsByConfidentialTransactionAffirmationCreatedBlockIdAndTransactionIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `ConfidentialTransaction`, info from the `ConfidentialTransactionAffirmation`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `ConfidentialTransaction` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `ConfidentialTransaction` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; -/** A connection to a list of `Identity` values, with data from `ChildIdentity`. */ -export type BlockIdentitiesByChildIdentityCreatedBlockIdAndChildIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `ConfidentialTransaction` values, with data from `ConfidentialTransactionAffirmation`. */ +export type BlockConfidentialTransactionsByConfidentialTransactionAffirmationCreatedBlockIdAndTransactionIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; + groupBy: Array; + having?: InputMaybe; }; -/** A `Identity` edge in the connection, with data from `ChildIdentity`. */ -export type BlockIdentitiesByChildIdentityCreatedBlockIdAndChildIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByChildIdentityCreatedBlockIdAndChildIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `ChildIdentity`. */ - parentChildIdentities: ChildIdentitiesConnection; -}; +/** A `ConfidentialTransaction` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ +export type BlockConfidentialTransactionsByConfidentialTransactionAffirmationCreatedBlockIdAndTransactionIdManyToManyEdge = + { + __typename?: 'BlockConfidentialTransactionsByConfidentialTransactionAffirmationCreatedBlockIdAndTransactionIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialTransactionAffirmation`. */ + affirmations: ConfidentialTransactionAffirmationsConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `ConfidentialTransaction` at the end of the edge. */ + node?: Maybe; + }; -/** A `Identity` edge in the connection, with data from `ChildIdentity`. */ -export type BlockIdentitiesByChildIdentityCreatedBlockIdAndChildIdManyToManyEdgeParentChildIdentitiesArgs = +/** A `ConfidentialTransaction` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ +export type BlockConfidentialTransactionsByConfidentialTransactionAffirmationCreatedBlockIdAndTransactionIdManyToManyEdgeAffirmationsArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; -/** A connection to a list of `Identity` values, with data from `ChildIdentity`. */ -export type BlockIdentitiesByChildIdentityCreatedBlockIdAndParentIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByChildIdentityCreatedBlockIdAndParentIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `ChildIdentity`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; +/** A connection to a list of `ConfidentialTransaction` values, with data from `ConfidentialTransactionAffirmation`. */ +export type BlockConfidentialTransactionsByConfidentialTransactionAffirmationUpdatedBlockIdAndTransactionIdManyToManyConnection = + { + __typename?: 'BlockConfidentialTransactionsByConfidentialTransactionAffirmationUpdatedBlockIdAndTransactionIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `ConfidentialTransaction`, info from the `ConfidentialTransactionAffirmation`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `ConfidentialTransaction` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `ConfidentialTransaction` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; -/** A connection to a list of `Identity` values, with data from `ChildIdentity`. */ -export type BlockIdentitiesByChildIdentityCreatedBlockIdAndParentIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `ConfidentialTransaction` values, with data from `ConfidentialTransactionAffirmation`. */ +export type BlockConfidentialTransactionsByConfidentialTransactionAffirmationUpdatedBlockIdAndTransactionIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; + groupBy: Array; + having?: InputMaybe; }; -/** A `Identity` edge in the connection, with data from `ChildIdentity`. */ -export type BlockIdentitiesByChildIdentityCreatedBlockIdAndParentIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByChildIdentityCreatedBlockIdAndParentIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ChildIdentity`. */ - children: ChildIdentitiesConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; -}; +/** A `ConfidentialTransaction` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ +export type BlockConfidentialTransactionsByConfidentialTransactionAffirmationUpdatedBlockIdAndTransactionIdManyToManyEdge = + { + __typename?: 'BlockConfidentialTransactionsByConfidentialTransactionAffirmationUpdatedBlockIdAndTransactionIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialTransactionAffirmation`. */ + affirmations: ConfidentialTransactionAffirmationsConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `ConfidentialTransaction` at the end of the edge. */ + node?: Maybe; + }; -/** A `Identity` edge in the connection, with data from `ChildIdentity`. */ -export type BlockIdentitiesByChildIdentityCreatedBlockIdAndParentIdManyToManyEdgeChildrenArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; +/** A `ConfidentialTransaction` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ +export type BlockConfidentialTransactionsByConfidentialTransactionAffirmationUpdatedBlockIdAndTransactionIdManyToManyEdgeAffirmationsArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; -/** A connection to a list of `Identity` values, with data from `ChildIdentity`. */ -export type BlockIdentitiesByChildIdentityUpdatedBlockIdAndChildIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByChildIdentityUpdatedBlockIdAndChildIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `ChildIdentity`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; +/** A connection to a list of `ConfidentialVenue` values, with data from `ConfidentialTransaction`. */ +export type BlockConfidentialVenuesByConfidentialTransactionCreatedBlockIdAndVenueIdManyToManyConnection = + { + __typename?: 'BlockConfidentialVenuesByConfidentialTransactionCreatedBlockIdAndVenueIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `ConfidentialVenue`, info from the `ConfidentialTransaction`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `ConfidentialVenue` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `ConfidentialVenue` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; -/** A connection to a list of `Identity` values, with data from `ChildIdentity`. */ -export type BlockIdentitiesByChildIdentityUpdatedBlockIdAndChildIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `ConfidentialVenue` values, with data from `ConfidentialTransaction`. */ +export type BlockConfidentialVenuesByConfidentialTransactionCreatedBlockIdAndVenueIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; + groupBy: Array; + having?: InputMaybe; }; -/** A `Identity` edge in the connection, with data from `ChildIdentity`. */ -export type BlockIdentitiesByChildIdentityUpdatedBlockIdAndChildIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByChildIdentityUpdatedBlockIdAndChildIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `ChildIdentity`. */ - parentChildIdentities: ChildIdentitiesConnection; -}; +/** A `ConfidentialVenue` edge in the connection, with data from `ConfidentialTransaction`. */ +export type BlockConfidentialVenuesByConfidentialTransactionCreatedBlockIdAndVenueIdManyToManyEdge = + { + __typename?: 'BlockConfidentialVenuesByConfidentialTransactionCreatedBlockIdAndVenueIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialTransaction`. */ + confidentialTransactionsByVenueId: ConfidentialTransactionsConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `ConfidentialVenue` at the end of the edge. */ + node?: Maybe; + }; -/** A `Identity` edge in the connection, with data from `ChildIdentity`. */ -export type BlockIdentitiesByChildIdentityUpdatedBlockIdAndChildIdManyToManyEdgeParentChildIdentitiesArgs = +/** A `ConfidentialVenue` edge in the connection, with data from `ConfidentialTransaction`. */ +export type BlockConfidentialVenuesByConfidentialTransactionCreatedBlockIdAndVenueIdManyToManyEdgeConfidentialTransactionsByVenueIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; -/** A connection to a list of `Identity` values, with data from `ChildIdentity`. */ -export type BlockIdentitiesByChildIdentityUpdatedBlockIdAndParentIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByChildIdentityUpdatedBlockIdAndParentIdManyToManyConnection'; +/** A connection to a list of `ConfidentialVenue` values, with data from `ConfidentialTransaction`. */ +export type BlockConfidentialVenuesByConfidentialTransactionUpdatedBlockIdAndVenueIdManyToManyConnection = + { + __typename?: 'BlockConfidentialVenuesByConfidentialTransactionUpdatedBlockIdAndVenueIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `ConfidentialVenue`, info from the `ConfidentialTransaction`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `ConfidentialVenue` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `ConfidentialVenue` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; + +/** A connection to a list of `ConfidentialVenue` values, with data from `ConfidentialTransaction`. */ +export type BlockConfidentialVenuesByConfidentialTransactionUpdatedBlockIdAndVenueIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `ConfidentialVenue` edge in the connection, with data from `ConfidentialTransaction`. */ +export type BlockConfidentialVenuesByConfidentialTransactionUpdatedBlockIdAndVenueIdManyToManyEdge = + { + __typename?: 'BlockConfidentialVenuesByConfidentialTransactionUpdatedBlockIdAndVenueIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialTransaction`. */ + confidentialTransactionsByVenueId: ConfidentialTransactionsConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `ConfidentialVenue` at the end of the edge. */ + node?: Maybe; + }; + +/** A `ConfidentialVenue` edge in the connection, with data from `ConfidentialTransaction`. */ +export type BlockConfidentialVenuesByConfidentialTransactionUpdatedBlockIdAndVenueIdManyToManyEdgeConfidentialTransactionsByVenueIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `CustomClaimType` values, with data from `Claim`. */ +export type BlockCustomClaimTypesByClaimCreatedBlockIdAndCustomClaimTypeIdManyToManyConnection = { + __typename?: 'BlockCustomClaimTypesByClaimCreatedBlockIdAndCustomClaimTypeIdManyToManyConnection'; /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `ChildIdentity`, and the cursor to aid in pagination. */ - edges: Array; + aggregates?: Maybe; + /** A list of edges which contains the `CustomClaimType`, info from the `Claim`, and the cursor to aid in pagination. */ + edges: Array; /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; + groupedAggregates?: Maybe>; + /** A list of `CustomClaimType` objects. */ + nodes: Array>; /** Information to aid in pagination. */ pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ + /** The count of *all* `CustomClaimType` you could get from the connection. */ totalCount: Scalars['Int']['output']; }; -/** A connection to a list of `Identity` values, with data from `ChildIdentity`. */ -export type BlockIdentitiesByChildIdentityUpdatedBlockIdAndParentIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `CustomClaimType` values, with data from `Claim`. */ +export type BlockCustomClaimTypesByClaimCreatedBlockIdAndCustomClaimTypeIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; + groupBy: Array; + having?: InputMaybe; }; -/** A `Identity` edge in the connection, with data from `ChildIdentity`. */ -export type BlockIdentitiesByChildIdentityUpdatedBlockIdAndParentIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByChildIdentityUpdatedBlockIdAndParentIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ChildIdentity`. */ - children: ChildIdentitiesConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; +/** A `CustomClaimType` edge in the connection, with data from `Claim`. */ +export type BlockCustomClaimTypesByClaimCreatedBlockIdAndCustomClaimTypeIdManyToManyEdge = { + __typename?: 'BlockCustomClaimTypesByClaimCreatedBlockIdAndCustomClaimTypeIdManyToManyEdge'; + /** Reads and enables pagination through a set of `Claim`. */ + claims: ClaimsConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `CustomClaimType` at the end of the edge. */ + node?: Maybe; }; -/** A `Identity` edge in the connection, with data from `ChildIdentity`. */ -export type BlockIdentitiesByChildIdentityUpdatedBlockIdAndParentIdManyToManyEdgeChildrenArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; +/** A `CustomClaimType` edge in the connection, with data from `Claim`. */ +export type BlockCustomClaimTypesByClaimCreatedBlockIdAndCustomClaimTypeIdManyToManyEdgeClaimsArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; -/** A connection to a list of `Identity` values, with data from `Claim`. */ -export type BlockIdentitiesByClaimCreatedBlockIdAndIssuerIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByClaimCreatedBlockIdAndIssuerIdManyToManyConnection'; +/** A connection to a list of `CustomClaimType` values, with data from `Claim`. */ +export type BlockCustomClaimTypesByClaimUpdatedBlockIdAndCustomClaimTypeIdManyToManyConnection = { + __typename?: 'BlockCustomClaimTypesByClaimUpdatedBlockIdAndCustomClaimTypeIdManyToManyConnection'; /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `Claim`, and the cursor to aid in pagination. */ - edges: Array; + aggregates?: Maybe; + /** A list of edges which contains the `CustomClaimType`, info from the `Claim`, and the cursor to aid in pagination. */ + edges: Array; /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; + groupedAggregates?: Maybe>; + /** A list of `CustomClaimType` objects. */ + nodes: Array>; /** Information to aid in pagination. */ pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ + /** The count of *all* `CustomClaimType` you could get from the connection. */ totalCount: Scalars['Int']['output']; }; -/** A connection to a list of `Identity` values, with data from `Claim`. */ -export type BlockIdentitiesByClaimCreatedBlockIdAndIssuerIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `CustomClaimType` values, with data from `Claim`. */ +export type BlockCustomClaimTypesByClaimUpdatedBlockIdAndCustomClaimTypeIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; + groupBy: Array; + having?: InputMaybe; }; -/** A `Identity` edge in the connection, with data from `Claim`. */ -export type BlockIdentitiesByClaimCreatedBlockIdAndIssuerIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByClaimCreatedBlockIdAndIssuerIdManyToManyEdge'; +/** A `CustomClaimType` edge in the connection, with data from `Claim`. */ +export type BlockCustomClaimTypesByClaimUpdatedBlockIdAndCustomClaimTypeIdManyToManyEdge = { + __typename?: 'BlockCustomClaimTypesByClaimUpdatedBlockIdAndCustomClaimTypeIdManyToManyEdge'; /** Reads and enables pagination through a set of `Claim`. */ - claimsByIssuerId: ClaimsConnection; + claims: ClaimsConnection; /** A cursor for use in pagination. */ cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; + /** The `CustomClaimType` at the end of the edge. */ + node?: Maybe; }; -/** A `Identity` edge in the connection, with data from `Claim`. */ -export type BlockIdentitiesByClaimCreatedBlockIdAndIssuerIdManyToManyEdgeClaimsByIssuerIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; +/** A `CustomClaimType` edge in the connection, with data from `Claim`. */ +export type BlockCustomClaimTypesByClaimUpdatedBlockIdAndCustomClaimTypeIdManyToManyEdgeClaimsArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; -/** A connection to a list of `Identity` values, with data from `Claim`. */ -export type BlockIdentitiesByClaimCreatedBlockIdAndTargetIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByClaimCreatedBlockIdAndTargetIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `Claim`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; +export type BlockDistinctCountAggregates = { + __typename?: 'BlockDistinctCountAggregates'; + /** Distinct count of blockId across the matching connection */ + blockId?: Maybe; + /** Distinct count of countEvents across the matching connection */ + countEvents?: Maybe; + /** Distinct count of countExtrinsics across the matching connection */ + countExtrinsics?: Maybe; + /** Distinct count of countExtrinsicsError across the matching connection */ + countExtrinsicsError?: Maybe; + /** Distinct count of countExtrinsicsSigned across the matching connection */ + countExtrinsicsSigned?: Maybe; + /** Distinct count of countExtrinsicsSuccess across the matching connection */ + countExtrinsicsSuccess?: Maybe; + /** Distinct count of countExtrinsicsUnsigned across the matching connection */ + countExtrinsicsUnsigned?: Maybe; + /** Distinct count of createdAt across the matching connection */ + createdAt?: Maybe; + /** Distinct count of datetime across the matching connection */ + datetime?: Maybe; + /** Distinct count of extrinsicsRoot across the matching connection */ + extrinsicsRoot?: Maybe; + /** Distinct count of hash across the matching connection */ + hash?: Maybe; + /** Distinct count of id across the matching connection */ + id?: Maybe; + /** Distinct count of parentHash across the matching connection */ + parentHash?: Maybe; + /** Distinct count of parentId across the matching connection */ + parentId?: Maybe; + /** Distinct count of specVersionId across the matching connection */ + specVersionId?: Maybe; + /** Distinct count of stateRoot across the matching connection */ + stateRoot?: Maybe; + /** Distinct count of updatedAt across the matching connection */ + updatedAt?: Maybe; }; -/** A connection to a list of `Identity` values, with data from `Claim`. */ -export type BlockIdentitiesByClaimCreatedBlockIdAndTargetIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `Distribution` values, with data from `DistributionPayment`. */ +export type BlockDistributionsByDistributionPaymentCreatedBlockIdAndDistributionIdManyToManyConnection = { - groupBy: Array; - having?: InputMaybe; + __typename?: 'BlockDistributionsByDistributionPaymentCreatedBlockIdAndDistributionIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Distribution`, info from the `DistributionPayment`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Distribution` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Distribution` you could get from the connection. */ + totalCount: Scalars['Int']['output']; }; -/** A `Identity` edge in the connection, with data from `Claim`. */ -export type BlockIdentitiesByClaimCreatedBlockIdAndTargetIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByClaimCreatedBlockIdAndTargetIdManyToManyEdge'; - /** Reads and enables pagination through a set of `Claim`. */ - claimsByTargetId: ClaimsConnection; +/** A connection to a list of `Distribution` values, with data from `DistributionPayment`. */ +export type BlockDistributionsByDistributionPaymentCreatedBlockIdAndDistributionIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Distribution` edge in the connection, with data from `DistributionPayment`. */ +export type BlockDistributionsByDistributionPaymentCreatedBlockIdAndDistributionIdManyToManyEdge = { + __typename?: 'BlockDistributionsByDistributionPaymentCreatedBlockIdAndDistributionIdManyToManyEdge'; /** A cursor for use in pagination. */ cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; + /** Reads and enables pagination through a set of `DistributionPayment`. */ + distributionPayments: DistributionPaymentsConnection; + /** The `Distribution` at the end of the edge. */ + node?: Maybe; }; -/** A `Identity` edge in the connection, with data from `Claim`. */ -export type BlockIdentitiesByClaimCreatedBlockIdAndTargetIdManyToManyEdgeClaimsByTargetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; +/** A `Distribution` edge in the connection, with data from `DistributionPayment`. */ +export type BlockDistributionsByDistributionPaymentCreatedBlockIdAndDistributionIdManyToManyEdgeDistributionPaymentsArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; -/** A connection to a list of `Identity` values, with data from `Claim`. */ -export type BlockIdentitiesByClaimUpdatedBlockIdAndIssuerIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByClaimUpdatedBlockIdAndIssuerIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `Claim`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; +/** A connection to a list of `Distribution` values, with data from `DistributionPayment`. */ +export type BlockDistributionsByDistributionPaymentUpdatedBlockIdAndDistributionIdManyToManyConnection = + { + __typename?: 'BlockDistributionsByDistributionPaymentUpdatedBlockIdAndDistributionIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Distribution`, info from the `DistributionPayment`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Distribution` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Distribution` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; -/** A connection to a list of `Identity` values, with data from `Claim`. */ -export type BlockIdentitiesByClaimUpdatedBlockIdAndIssuerIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `Distribution` values, with data from `DistributionPayment`. */ +export type BlockDistributionsByDistributionPaymentUpdatedBlockIdAndDistributionIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; + groupBy: Array; + having?: InputMaybe; }; -/** A `Identity` edge in the connection, with data from `Claim`. */ -export type BlockIdentitiesByClaimUpdatedBlockIdAndIssuerIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByClaimUpdatedBlockIdAndIssuerIdManyToManyEdge'; - /** Reads and enables pagination through a set of `Claim`. */ - claimsByIssuerId: ClaimsConnection; +/** A `Distribution` edge in the connection, with data from `DistributionPayment`. */ +export type BlockDistributionsByDistributionPaymentUpdatedBlockIdAndDistributionIdManyToManyEdge = { + __typename?: 'BlockDistributionsByDistributionPaymentUpdatedBlockIdAndDistributionIdManyToManyEdge'; /** A cursor for use in pagination. */ cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; + /** Reads and enables pagination through a set of `DistributionPayment`. */ + distributionPayments: DistributionPaymentsConnection; + /** The `Distribution` at the end of the edge. */ + node?: Maybe; }; -/** A `Identity` edge in the connection, with data from `Claim`. */ -export type BlockIdentitiesByClaimUpdatedBlockIdAndIssuerIdManyToManyEdgeClaimsByIssuerIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; +/** A `Distribution` edge in the connection, with data from `DistributionPayment`. */ +export type BlockDistributionsByDistributionPaymentUpdatedBlockIdAndDistributionIdManyToManyEdgeDistributionPaymentsArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; -/** A connection to a list of `Identity` values, with data from `Claim`. */ -export type BlockIdentitiesByClaimUpdatedBlockIdAndTargetIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByClaimUpdatedBlockIdAndTargetIdManyToManyConnection'; +/** A connection to a list of `Extrinsic` values, with data from `Event`. */ +export type BlockExtrinsicsByEventBlockIdAndExtrinsicIdManyToManyConnection = { + __typename?: 'BlockExtrinsicsByEventBlockIdAndExtrinsicIdManyToManyConnection'; /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `Claim`, and the cursor to aid in pagination. */ - edges: Array; + aggregates?: Maybe; + /** A list of edges which contains the `Extrinsic`, info from the `Event`, and the cursor to aid in pagination. */ + edges: Array; /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; + groupedAggregates?: Maybe>; + /** A list of `Extrinsic` objects. */ + nodes: Array>; /** Information to aid in pagination. */ pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ + /** The count of *all* `Extrinsic` you could get from the connection. */ totalCount: Scalars['Int']['output']; }; -/** A connection to a list of `Identity` values, with data from `Claim`. */ -export type BlockIdentitiesByClaimUpdatedBlockIdAndTargetIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; +/** A connection to a list of `Extrinsic` values, with data from `Event`. */ +export type BlockExtrinsicsByEventBlockIdAndExtrinsicIdManyToManyConnectionGroupedAggregatesArgs = { + groupBy: Array; + having?: InputMaybe; +}; -/** A `Identity` edge in the connection, with data from `Claim`. */ -export type BlockIdentitiesByClaimUpdatedBlockIdAndTargetIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByClaimUpdatedBlockIdAndTargetIdManyToManyEdge'; - /** Reads and enables pagination through a set of `Claim`. */ - claimsByTargetId: ClaimsConnection; +/** A `Extrinsic` edge in the connection, with data from `Event`. */ +export type BlockExtrinsicsByEventBlockIdAndExtrinsicIdManyToManyEdge = { + __typename?: 'BlockExtrinsicsByEventBlockIdAndExtrinsicIdManyToManyEdge'; /** A cursor for use in pagination. */ cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; + /** Reads and enables pagination through a set of `Event`. */ + events: EventsConnection; + /** The `Extrinsic` at the end of the edge. */ + node?: Maybe; }; -/** A `Identity` edge in the connection, with data from `Claim`. */ -export type BlockIdentitiesByClaimUpdatedBlockIdAndTargetIdManyToManyEdgeClaimsByTargetIdArgs = { +/** A `Extrinsic` edge in the connection, with data from `Event`. */ +export type BlockExtrinsicsByEventBlockIdAndExtrinsicIdManyToManyEdgeEventsArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Identity` values, with data from `CustomClaimType`. */ -export type BlockIdentitiesByCustomClaimTypeCreatedBlockIdAndIdentityIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByCustomClaimTypeCreatedBlockIdAndIdentityIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `CustomClaimType`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `CustomClaimType`. */ -export type BlockIdentitiesByCustomClaimTypeCreatedBlockIdAndIdentityIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `CustomClaimType`. */ -export type BlockIdentitiesByCustomClaimTypeCreatedBlockIdAndIdentityIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByCustomClaimTypeCreatedBlockIdAndIdentityIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `CustomClaimType`. */ - customClaimTypes: CustomClaimTypesConnection; - /** The `Identity` at the end of the edge. */ - node?: Maybe; + orderBy?: InputMaybe>; }; -/** A `Identity` edge in the connection, with data from `CustomClaimType`. */ -export type BlockIdentitiesByCustomClaimTypeCreatedBlockIdAndIdentityIdManyToManyEdgeCustomClaimTypesArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Identity` values, with data from `CustomClaimType`. */ -export type BlockIdentitiesByCustomClaimTypeUpdatedBlockIdAndIdentityIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByCustomClaimTypeUpdatedBlockIdAndIdentityIdManyToManyConnection'; +/** A connection to a list of `Extrinsic` values, with data from `PolyxTransaction`. */ +export type BlockExtrinsicsByPolyxTransactionCreatedBlockIdAndExtrinsicIdManyToManyConnection = { + __typename?: 'BlockExtrinsicsByPolyxTransactionCreatedBlockIdAndExtrinsicIdManyToManyConnection'; /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `CustomClaimType`, and the cursor to aid in pagination. */ - edges: Array; + aggregates?: Maybe; + /** A list of edges which contains the `Extrinsic`, info from the `PolyxTransaction`, and the cursor to aid in pagination. */ + edges: Array; /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; + groupedAggregates?: Maybe>; + /** A list of `Extrinsic` objects. */ + nodes: Array>; /** Information to aid in pagination. */ pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ + /** The count of *all* `Extrinsic` you could get from the connection. */ totalCount: Scalars['Int']['output']; }; -/** A connection to a list of `Identity` values, with data from `CustomClaimType`. */ -export type BlockIdentitiesByCustomClaimTypeUpdatedBlockIdAndIdentityIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `Extrinsic` values, with data from `PolyxTransaction`. */ +export type BlockExtrinsicsByPolyxTransactionCreatedBlockIdAndExtrinsicIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; + groupBy: Array; + having?: InputMaybe; }; -/** A `Identity` edge in the connection, with data from `CustomClaimType`. */ -export type BlockIdentitiesByCustomClaimTypeUpdatedBlockIdAndIdentityIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByCustomClaimTypeUpdatedBlockIdAndIdentityIdManyToManyEdge'; +/** A `Extrinsic` edge in the connection, with data from `PolyxTransaction`. */ +export type BlockExtrinsicsByPolyxTransactionCreatedBlockIdAndExtrinsicIdManyToManyEdge = { + __typename?: 'BlockExtrinsicsByPolyxTransactionCreatedBlockIdAndExtrinsicIdManyToManyEdge'; /** A cursor for use in pagination. */ cursor?: Maybe; - /** Reads and enables pagination through a set of `CustomClaimType`. */ - customClaimTypes: CustomClaimTypesConnection; - /** The `Identity` at the end of the edge. */ - node?: Maybe; + /** The `Extrinsic` at the end of the edge. */ + node?: Maybe; + /** Reads and enables pagination through a set of `PolyxTransaction`. */ + polyxTransactions: PolyxTransactionsConnection; }; -/** A `Identity` edge in the connection, with data from `CustomClaimType`. */ -export type BlockIdentitiesByCustomClaimTypeUpdatedBlockIdAndIdentityIdManyToManyEdgeCustomClaimTypesArgs = +/** A `Extrinsic` edge in the connection, with data from `PolyxTransaction`. */ +export type BlockExtrinsicsByPolyxTransactionCreatedBlockIdAndExtrinsicIdManyToManyEdgePolyxTransactionsArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; -/** A connection to a list of `Identity` values, with data from `Distribution`. */ -export type BlockIdentitiesByDistributionCreatedBlockIdAndIdentityIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByDistributionCreatedBlockIdAndIdentityIdManyToManyConnection'; +/** A connection to a list of `Extrinsic` values, with data from `PolyxTransaction`. */ +export type BlockExtrinsicsByPolyxTransactionUpdatedBlockIdAndExtrinsicIdManyToManyConnection = { + __typename?: 'BlockExtrinsicsByPolyxTransactionUpdatedBlockIdAndExtrinsicIdManyToManyConnection'; /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `Distribution`, and the cursor to aid in pagination. */ - edges: Array; + aggregates?: Maybe; + /** A list of edges which contains the `Extrinsic`, info from the `PolyxTransaction`, and the cursor to aid in pagination. */ + edges: Array; /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; + groupedAggregates?: Maybe>; + /** A list of `Extrinsic` objects. */ + nodes: Array>; /** Information to aid in pagination. */ pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ + /** The count of *all* `Extrinsic` you could get from the connection. */ totalCount: Scalars['Int']['output']; }; -/** A connection to a list of `Identity` values, with data from `Distribution`. */ -export type BlockIdentitiesByDistributionCreatedBlockIdAndIdentityIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `Extrinsic` values, with data from `PolyxTransaction`. */ +export type BlockExtrinsicsByPolyxTransactionUpdatedBlockIdAndExtrinsicIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; + groupBy: Array; + having?: InputMaybe; }; -/** A `Identity` edge in the connection, with data from `Distribution`. */ -export type BlockIdentitiesByDistributionCreatedBlockIdAndIdentityIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByDistributionCreatedBlockIdAndIdentityIdManyToManyEdge'; +/** A `Extrinsic` edge in the connection, with data from `PolyxTransaction`. */ +export type BlockExtrinsicsByPolyxTransactionUpdatedBlockIdAndExtrinsicIdManyToManyEdge = { + __typename?: 'BlockExtrinsicsByPolyxTransactionUpdatedBlockIdAndExtrinsicIdManyToManyEdge'; /** A cursor for use in pagination. */ cursor?: Maybe; - /** Reads and enables pagination through a set of `Distribution`. */ - distributions: DistributionsConnection; - /** The `Identity` at the end of the edge. */ - node?: Maybe; + /** The `Extrinsic` at the end of the edge. */ + node?: Maybe; + /** Reads and enables pagination through a set of `PolyxTransaction`. */ + polyxTransactions: PolyxTransactionsConnection; }; -/** A `Identity` edge in the connection, with data from `Distribution`. */ -export type BlockIdentitiesByDistributionCreatedBlockIdAndIdentityIdManyToManyEdgeDistributionsArgs = +/** A `Extrinsic` edge in the connection, with data from `PolyxTransaction`. */ +export type BlockExtrinsicsByPolyxTransactionUpdatedBlockIdAndExtrinsicIdManyToManyEdgePolyxTransactionsArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; -/** A connection to a list of `Identity` values, with data from `DistributionPayment`. */ -export type BlockIdentitiesByDistributionPaymentCreatedBlockIdAndTargetIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByDistributionPaymentCreatedBlockIdAndTargetIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `DistributionPayment`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `DistributionPayment`. */ -export type BlockIdentitiesByDistributionPaymentCreatedBlockIdAndTargetIdManyToManyConnectionGroupedAggregatesArgs = +/** A filter to be used against `Block` object types. All fields are combined with a logical ‘and.’ */ +export type BlockFilter = { + /** Filter by the object’s `accountHistoriesByCreatedBlockId` relation. */ + accountHistoriesByCreatedBlockId?: InputMaybe; + /** Some related `accountHistoriesByCreatedBlockId` exist. */ + accountHistoriesByCreatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `accountHistoriesByUpdatedBlockId` relation. */ + accountHistoriesByUpdatedBlockId?: InputMaybe; + /** Some related `accountHistoriesByUpdatedBlockId` exist. */ + accountHistoriesByUpdatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `accountsByCreatedBlockId` relation. */ + accountsByCreatedBlockId?: InputMaybe; + /** Some related `accountsByCreatedBlockId` exist. */ + accountsByCreatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `accountsByUpdatedBlockId` relation. */ + accountsByUpdatedBlockId?: InputMaybe; + /** Some related `accountsByUpdatedBlockId` exist. */ + accountsByUpdatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `agentGroupMembershipsByCreatedBlockId` relation. */ + agentGroupMembershipsByCreatedBlockId?: InputMaybe; + /** Some related `agentGroupMembershipsByCreatedBlockId` exist. */ + agentGroupMembershipsByCreatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `agentGroupMembershipsByUpdatedBlockId` relation. */ + agentGroupMembershipsByUpdatedBlockId?: InputMaybe; + /** Some related `agentGroupMembershipsByUpdatedBlockId` exist. */ + agentGroupMembershipsByUpdatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `agentGroupsByCreatedBlockId` relation. */ + agentGroupsByCreatedBlockId?: InputMaybe; + /** Some related `agentGroupsByCreatedBlockId` exist. */ + agentGroupsByCreatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `agentGroupsByUpdatedBlockId` relation. */ + agentGroupsByUpdatedBlockId?: InputMaybe; + /** Some related `agentGroupsByUpdatedBlockId` exist. */ + agentGroupsByUpdatedBlockIdExist?: InputMaybe; + /** Checks for all expressions in this list. */ + and?: InputMaybe>; + /** Filter by the object’s `assetDocumentsByCreatedBlockId` relation. */ + assetDocumentsByCreatedBlockId?: InputMaybe; + /** Some related `assetDocumentsByCreatedBlockId` exist. */ + assetDocumentsByCreatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `assetDocumentsByUpdatedBlockId` relation. */ + assetDocumentsByUpdatedBlockId?: InputMaybe; + /** Some related `assetDocumentsByUpdatedBlockId` exist. */ + assetDocumentsByUpdatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `assetHoldersByCreatedBlockId` relation. */ + assetHoldersByCreatedBlockId?: InputMaybe; + /** Some related `assetHoldersByCreatedBlockId` exist. */ + assetHoldersByCreatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `assetHoldersByUpdatedBlockId` relation. */ + assetHoldersByUpdatedBlockId?: InputMaybe; + /** Some related `assetHoldersByUpdatedBlockId` exist. */ + assetHoldersByUpdatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `assetPendingOwnershipTransfersByCreatedBlockId` relation. */ + assetPendingOwnershipTransfersByCreatedBlockId?: InputMaybe; + /** Some related `assetPendingOwnershipTransfersByCreatedBlockId` exist. */ + assetPendingOwnershipTransfersByCreatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `assetPendingOwnershipTransfersByUpdatedBlockId` relation. */ + assetPendingOwnershipTransfersByUpdatedBlockId?: InputMaybe; + /** Some related `assetPendingOwnershipTransfersByUpdatedBlockId` exist. */ + assetPendingOwnershipTransfersByUpdatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `assetTransactionsByCreatedBlockId` relation. */ + assetTransactionsByCreatedBlockId?: InputMaybe; + /** Some related `assetTransactionsByCreatedBlockId` exist. */ + assetTransactionsByCreatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `assetTransactionsByUpdatedBlockId` relation. */ + assetTransactionsByUpdatedBlockId?: InputMaybe; + /** Some related `assetTransactionsByUpdatedBlockId` exist. */ + assetTransactionsByUpdatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `assetsByCreatedBlockId` relation. */ + assetsByCreatedBlockId?: InputMaybe; + /** Some related `assetsByCreatedBlockId` exist. */ + assetsByCreatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `assetsByUpdatedBlockId` relation. */ + assetsByUpdatedBlockId?: InputMaybe; + /** Some related `assetsByUpdatedBlockId` exist. */ + assetsByUpdatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `authorizationsByCreatedBlockId` relation. */ + authorizationsByCreatedBlockId?: InputMaybe; + /** Some related `authorizationsByCreatedBlockId` exist. */ + authorizationsByCreatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `authorizationsByUpdatedBlockId` relation. */ + authorizationsByUpdatedBlockId?: InputMaybe; + /** Some related `authorizationsByUpdatedBlockId` exist. */ + authorizationsByUpdatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `blockId` field. */ + blockId?: InputMaybe; + /** Filter by the object’s `bridgeEventsByCreatedBlockId` relation. */ + bridgeEventsByCreatedBlockId?: InputMaybe; + /** Some related `bridgeEventsByCreatedBlockId` exist. */ + bridgeEventsByCreatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `bridgeEventsByUpdatedBlockId` relation. */ + bridgeEventsByUpdatedBlockId?: InputMaybe; + /** Some related `bridgeEventsByUpdatedBlockId` exist. */ + bridgeEventsByUpdatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `childIdentitiesByCreatedBlockId` relation. */ + childIdentitiesByCreatedBlockId?: InputMaybe; + /** Some related `childIdentitiesByCreatedBlockId` exist. */ + childIdentitiesByCreatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `childIdentitiesByUpdatedBlockId` relation. */ + childIdentitiesByUpdatedBlockId?: InputMaybe; + /** Some related `childIdentitiesByUpdatedBlockId` exist. */ + childIdentitiesByUpdatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `claimScopesByCreatedBlockId` relation. */ + claimScopesByCreatedBlockId?: InputMaybe; + /** Some related `claimScopesByCreatedBlockId` exist. */ + claimScopesByCreatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `claimScopesByUpdatedBlockId` relation. */ + claimScopesByUpdatedBlockId?: InputMaybe; + /** Some related `claimScopesByUpdatedBlockId` exist. */ + claimScopesByUpdatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `claimsByCreatedBlockId` relation. */ + claimsByCreatedBlockId?: InputMaybe; + /** Some related `claimsByCreatedBlockId` exist. */ + claimsByCreatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `claimsByUpdatedBlockId` relation. */ + claimsByUpdatedBlockId?: InputMaybe; + /** Some related `claimsByUpdatedBlockId` exist. */ + claimsByUpdatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `compliancesByCreatedBlockId` relation. */ + compliancesByCreatedBlockId?: InputMaybe; + /** Some related `compliancesByCreatedBlockId` exist. */ + compliancesByCreatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `compliancesByUpdatedBlockId` relation. */ + compliancesByUpdatedBlockId?: InputMaybe; + /** Some related `compliancesByUpdatedBlockId` exist. */ + compliancesByUpdatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `confidentialAccountsByCreatedBlockId` relation. */ + confidentialAccountsByCreatedBlockId?: InputMaybe; + /** Some related `confidentialAccountsByCreatedBlockId` exist. */ + confidentialAccountsByCreatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `confidentialAccountsByUpdatedBlockId` relation. */ + confidentialAccountsByUpdatedBlockId?: InputMaybe; + /** Some related `confidentialAccountsByUpdatedBlockId` exist. */ + confidentialAccountsByUpdatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `confidentialAssetHistoriesByCreatedBlockId` relation. */ + confidentialAssetHistoriesByCreatedBlockId?: InputMaybe; + /** Some related `confidentialAssetHistoriesByCreatedBlockId` exist. */ + confidentialAssetHistoriesByCreatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `confidentialAssetHistoriesByUpdatedBlockId` relation. */ + confidentialAssetHistoriesByUpdatedBlockId?: InputMaybe; + /** Some related `confidentialAssetHistoriesByUpdatedBlockId` exist. */ + confidentialAssetHistoriesByUpdatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `confidentialAssetHoldersByCreatedBlockId` relation. */ + confidentialAssetHoldersByCreatedBlockId?: InputMaybe; + /** Some related `confidentialAssetHoldersByCreatedBlockId` exist. */ + confidentialAssetHoldersByCreatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `confidentialAssetHoldersByUpdatedBlockId` relation. */ + confidentialAssetHoldersByUpdatedBlockId?: InputMaybe; + /** Some related `confidentialAssetHoldersByUpdatedBlockId` exist. */ + confidentialAssetHoldersByUpdatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `confidentialAssetsByCreatedBlockId` relation. */ + confidentialAssetsByCreatedBlockId?: InputMaybe; + /** Some related `confidentialAssetsByCreatedBlockId` exist. */ + confidentialAssetsByCreatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `confidentialAssetsByUpdatedBlockId` relation. */ + confidentialAssetsByUpdatedBlockId?: InputMaybe; + /** Some related `confidentialAssetsByUpdatedBlockId` exist. */ + confidentialAssetsByUpdatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `confidentialLegsByCreatedBlockId` relation. */ + confidentialLegsByCreatedBlockId?: InputMaybe; + /** Some related `confidentialLegsByCreatedBlockId` exist. */ + confidentialLegsByCreatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `confidentialLegsByUpdatedBlockId` relation. */ + confidentialLegsByUpdatedBlockId?: InputMaybe; + /** Some related `confidentialLegsByUpdatedBlockId` exist. */ + confidentialLegsByUpdatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `confidentialTransactionAffirmationsByCreatedBlockId` relation. */ + confidentialTransactionAffirmationsByCreatedBlockId?: InputMaybe; + /** Some related `confidentialTransactionAffirmationsByCreatedBlockId` exist. */ + confidentialTransactionAffirmationsByCreatedBlockIdExist?: InputMaybe< + Scalars['Boolean']['input'] + >; + /** Filter by the object’s `confidentialTransactionAffirmationsByUpdatedBlockId` relation. */ + confidentialTransactionAffirmationsByUpdatedBlockId?: InputMaybe; + /** Some related `confidentialTransactionAffirmationsByUpdatedBlockId` exist. */ + confidentialTransactionAffirmationsByUpdatedBlockIdExist?: InputMaybe< + Scalars['Boolean']['input'] + >; + /** Filter by the object’s `confidentialTransactionsByCreatedBlockId` relation. */ + confidentialTransactionsByCreatedBlockId?: InputMaybe; + /** Some related `confidentialTransactionsByCreatedBlockId` exist. */ + confidentialTransactionsByCreatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `confidentialTransactionsByUpdatedBlockId` relation. */ + confidentialTransactionsByUpdatedBlockId?: InputMaybe; + /** Some related `confidentialTransactionsByUpdatedBlockId` exist. */ + confidentialTransactionsByUpdatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `confidentialVenuesByCreatedBlockId` relation. */ + confidentialVenuesByCreatedBlockId?: InputMaybe; + /** Some related `confidentialVenuesByCreatedBlockId` exist. */ + confidentialVenuesByCreatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `confidentialVenuesByUpdatedBlockId` relation. */ + confidentialVenuesByUpdatedBlockId?: InputMaybe; + /** Some related `confidentialVenuesByUpdatedBlockId` exist. */ + confidentialVenuesByUpdatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `countEvents` field. */ + countEvents?: InputMaybe; + /** Filter by the object’s `countExtrinsics` field. */ + countExtrinsics?: InputMaybe; + /** Filter by the object’s `countExtrinsicsError` field. */ + countExtrinsicsError?: InputMaybe; + /** Filter by the object’s `countExtrinsicsSigned` field. */ + countExtrinsicsSigned?: InputMaybe; + /** Filter by the object’s `countExtrinsicsSuccess` field. */ + countExtrinsicsSuccess?: InputMaybe; + /** Filter by the object’s `countExtrinsicsUnsigned` field. */ + countExtrinsicsUnsigned?: InputMaybe; + /** Filter by the object’s `createdAt` field. */ + createdAt?: InputMaybe; + /** Filter by the object’s `customClaimTypesByCreatedBlockId` relation. */ + customClaimTypesByCreatedBlockId?: InputMaybe; + /** Some related `customClaimTypesByCreatedBlockId` exist. */ + customClaimTypesByCreatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `customClaimTypesByUpdatedBlockId` relation. */ + customClaimTypesByUpdatedBlockId?: InputMaybe; + /** Some related `customClaimTypesByUpdatedBlockId` exist. */ + customClaimTypesByUpdatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `datetime` field. */ + datetime?: InputMaybe; + /** Filter by the object’s `distributionPaymentsByCreatedBlockId` relation. */ + distributionPaymentsByCreatedBlockId?: InputMaybe; + /** Some related `distributionPaymentsByCreatedBlockId` exist. */ + distributionPaymentsByCreatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `distributionPaymentsByUpdatedBlockId` relation. */ + distributionPaymentsByUpdatedBlockId?: InputMaybe; + /** Some related `distributionPaymentsByUpdatedBlockId` exist. */ + distributionPaymentsByUpdatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `distributionsByCreatedBlockId` relation. */ + distributionsByCreatedBlockId?: InputMaybe; + /** Some related `distributionsByCreatedBlockId` exist. */ + distributionsByCreatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `distributionsByUpdatedBlockId` relation. */ + distributionsByUpdatedBlockId?: InputMaybe; + /** Some related `distributionsByUpdatedBlockId` exist. */ + distributionsByUpdatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `events` relation. */ + events?: InputMaybe; + /** Some related `events` exist. */ + eventsExist?: InputMaybe; + /** Filter by the object’s `extrinsics` relation. */ + extrinsics?: InputMaybe; + /** Some related `extrinsics` exist. */ + extrinsicsExist?: InputMaybe; + /** Filter by the object’s `extrinsicsRoot` field. */ + extrinsicsRoot?: InputMaybe; + /** Filter by the object’s `fundingsByCreatedBlockId` relation. */ + fundingsByCreatedBlockId?: InputMaybe; + /** Some related `fundingsByCreatedBlockId` exist. */ + fundingsByCreatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `fundingsByUpdatedBlockId` relation. */ + fundingsByUpdatedBlockId?: InputMaybe; + /** Some related `fundingsByUpdatedBlockId` exist. */ + fundingsByUpdatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `hash` field. */ + hash?: InputMaybe; + /** Filter by the object’s `id` field. */ + id?: InputMaybe; + /** Filter by the object’s `identitiesByCreatedBlockId` relation. */ + identitiesByCreatedBlockId?: InputMaybe; + /** Some related `identitiesByCreatedBlockId` exist. */ + identitiesByCreatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `identitiesByUpdatedBlockId` relation. */ + identitiesByUpdatedBlockId?: InputMaybe; + /** Some related `identitiesByUpdatedBlockId` exist. */ + identitiesByUpdatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `instructionsByCreatedBlockId` relation. */ + instructionsByCreatedBlockId?: InputMaybe; + /** Some related `instructionsByCreatedBlockId` exist. */ + instructionsByCreatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `instructionsByUpdatedBlockId` relation. */ + instructionsByUpdatedBlockId?: InputMaybe; + /** Some related `instructionsByUpdatedBlockId` exist. */ + instructionsByUpdatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `investmentsByCreatedBlockId` relation. */ + investmentsByCreatedBlockId?: InputMaybe; + /** Some related `investmentsByCreatedBlockId` exist. */ + investmentsByCreatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `investmentsByUpdatedBlockId` relation. */ + investmentsByUpdatedBlockId?: InputMaybe; + /** Some related `investmentsByUpdatedBlockId` exist. */ + investmentsByUpdatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `legsByCreatedBlockId` relation. */ + legsByCreatedBlockId?: InputMaybe; + /** Some related `legsByCreatedBlockId` exist. */ + legsByCreatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `legsByUpdatedBlockId` relation. */ + legsByUpdatedBlockId?: InputMaybe; + /** Some related `legsByUpdatedBlockId` exist. */ + legsByUpdatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `multiSigProposalVotesByCreatedBlockId` relation. */ + multiSigProposalVotesByCreatedBlockId?: InputMaybe; + /** Some related `multiSigProposalVotesByCreatedBlockId` exist. */ + multiSigProposalVotesByCreatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `multiSigProposalVotesByUpdatedBlockId` relation. */ + multiSigProposalVotesByUpdatedBlockId?: InputMaybe; + /** Some related `multiSigProposalVotesByUpdatedBlockId` exist. */ + multiSigProposalVotesByUpdatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `multiSigProposalsByCreatedBlockId` relation. */ + multiSigProposalsByCreatedBlockId?: InputMaybe; + /** Some related `multiSigProposalsByCreatedBlockId` exist. */ + multiSigProposalsByCreatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `multiSigProposalsByUpdatedBlockId` relation. */ + multiSigProposalsByUpdatedBlockId?: InputMaybe; + /** Some related `multiSigProposalsByUpdatedBlockId` exist. */ + multiSigProposalsByUpdatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `multiSigSignersByCreatedBlockId` relation. */ + multiSigSignersByCreatedBlockId?: InputMaybe; + /** Some related `multiSigSignersByCreatedBlockId` exist. */ + multiSigSignersByCreatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `multiSigSignersByUpdatedBlockId` relation. */ + multiSigSignersByUpdatedBlockId?: InputMaybe; + /** Some related `multiSigSignersByUpdatedBlockId` exist. */ + multiSigSignersByUpdatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `multiSigsByCreatedBlockId` relation. */ + multiSigsByCreatedBlockId?: InputMaybe; + /** Some related `multiSigsByCreatedBlockId` exist. */ + multiSigsByCreatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `multiSigsByUpdatedBlockId` relation. */ + multiSigsByUpdatedBlockId?: InputMaybe; + /** Some related `multiSigsByUpdatedBlockId` exist. */ + multiSigsByUpdatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `nftHoldersByCreatedBlockId` relation. */ + nftHoldersByCreatedBlockId?: InputMaybe; + /** Some related `nftHoldersByCreatedBlockId` exist. */ + nftHoldersByCreatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `nftHoldersByUpdatedBlockId` relation. */ + nftHoldersByUpdatedBlockId?: InputMaybe; + /** Some related `nftHoldersByUpdatedBlockId` exist. */ + nftHoldersByUpdatedBlockIdExist?: InputMaybe; + /** Negates the expression. */ + not?: InputMaybe; + /** Checks for any expressions in this list. */ + or?: InputMaybe>; + /** Filter by the object’s `parentHash` field. */ + parentHash?: InputMaybe; + /** Filter by the object’s `parentId` field. */ + parentId?: InputMaybe; + /** Filter by the object’s `permissionsByCreatedBlockId` relation. */ + permissionsByCreatedBlockId?: InputMaybe; + /** Some related `permissionsByCreatedBlockId` exist. */ + permissionsByCreatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `permissionsByUpdatedBlockId` relation. */ + permissionsByUpdatedBlockId?: InputMaybe; + /** Some related `permissionsByUpdatedBlockId` exist. */ + permissionsByUpdatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `polyxTransactionsByCreatedBlockId` relation. */ + polyxTransactionsByCreatedBlockId?: InputMaybe; + /** Some related `polyxTransactionsByCreatedBlockId` exist. */ + polyxTransactionsByCreatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `polyxTransactionsByUpdatedBlockId` relation. */ + polyxTransactionsByUpdatedBlockId?: InputMaybe; + /** Some related `polyxTransactionsByUpdatedBlockId` exist. */ + polyxTransactionsByUpdatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `portfolioMovementsByCreatedBlockId` relation. */ + portfolioMovementsByCreatedBlockId?: InputMaybe; + /** Some related `portfolioMovementsByCreatedBlockId` exist. */ + portfolioMovementsByCreatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `portfolioMovementsByUpdatedBlockId` relation. */ + portfolioMovementsByUpdatedBlockId?: InputMaybe; + /** Some related `portfolioMovementsByUpdatedBlockId` exist. */ + portfolioMovementsByUpdatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `portfoliosByCreatedBlockId` relation. */ + portfoliosByCreatedBlockId?: InputMaybe; + /** Some related `portfoliosByCreatedBlockId` exist. */ + portfoliosByCreatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `portfoliosByUpdatedBlockId` relation. */ + portfoliosByUpdatedBlockId?: InputMaybe; + /** Some related `portfoliosByUpdatedBlockId` exist. */ + portfoliosByUpdatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `proposalVotesByCreatedBlockId` relation. */ + proposalVotesByCreatedBlockId?: InputMaybe; + /** Some related `proposalVotesByCreatedBlockId` exist. */ + proposalVotesByCreatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `proposalVotesByUpdatedBlockId` relation. */ + proposalVotesByUpdatedBlockId?: InputMaybe; + /** Some related `proposalVotesByUpdatedBlockId` exist. */ + proposalVotesByUpdatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `proposalsByCreatedBlockId` relation. */ + proposalsByCreatedBlockId?: InputMaybe; + /** Some related `proposalsByCreatedBlockId` exist. */ + proposalsByCreatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `proposalsByUpdatedBlockId` relation. */ + proposalsByUpdatedBlockId?: InputMaybe; + /** Some related `proposalsByUpdatedBlockId` exist. */ + proposalsByUpdatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `settlementsByCreatedBlockId` relation. */ + settlementsByCreatedBlockId?: InputMaybe; + /** Some related `settlementsByCreatedBlockId` exist. */ + settlementsByCreatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `settlementsByUpdatedBlockId` relation. */ + settlementsByUpdatedBlockId?: InputMaybe; + /** Some related `settlementsByUpdatedBlockId` exist. */ + settlementsByUpdatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `specVersionId` field. */ + specVersionId?: InputMaybe; + /** Filter by the object’s `stakingEventsByCreatedBlockId` relation. */ + stakingEventsByCreatedBlockId?: InputMaybe; + /** Some related `stakingEventsByCreatedBlockId` exist. */ + stakingEventsByCreatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `stakingEventsByUpdatedBlockId` relation. */ + stakingEventsByUpdatedBlockId?: InputMaybe; + /** Some related `stakingEventsByUpdatedBlockId` exist. */ + stakingEventsByUpdatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `statTypesByCreatedBlockId` relation. */ + statTypesByCreatedBlockId?: InputMaybe; + /** Some related `statTypesByCreatedBlockId` exist. */ + statTypesByCreatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `statTypesByUpdatedBlockId` relation. */ + statTypesByUpdatedBlockId?: InputMaybe; + /** Some related `statTypesByUpdatedBlockId` exist. */ + statTypesByUpdatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `stateRoot` field. */ + stateRoot?: InputMaybe; + /** Filter by the object’s `stosByCreatedBlockId` relation. */ + stosByCreatedBlockId?: InputMaybe; + /** Some related `stosByCreatedBlockId` exist. */ + stosByCreatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `stosByUpdatedBlockId` relation. */ + stosByUpdatedBlockId?: InputMaybe; + /** Some related `stosByUpdatedBlockId` exist. */ + stosByUpdatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `tickerExternalAgentActionsByCreatedBlockId` relation. */ + tickerExternalAgentActionsByCreatedBlockId?: InputMaybe; + /** Some related `tickerExternalAgentActionsByCreatedBlockId` exist. */ + tickerExternalAgentActionsByCreatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `tickerExternalAgentActionsByUpdatedBlockId` relation. */ + tickerExternalAgentActionsByUpdatedBlockId?: InputMaybe; + /** Some related `tickerExternalAgentActionsByUpdatedBlockId` exist. */ + tickerExternalAgentActionsByUpdatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `tickerExternalAgentHistoriesByCreatedBlockId` relation. */ + tickerExternalAgentHistoriesByCreatedBlockId?: InputMaybe; + /** Some related `tickerExternalAgentHistoriesByCreatedBlockId` exist. */ + tickerExternalAgentHistoriesByCreatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `tickerExternalAgentHistoriesByUpdatedBlockId` relation. */ + tickerExternalAgentHistoriesByUpdatedBlockId?: InputMaybe; + /** Some related `tickerExternalAgentHistoriesByUpdatedBlockId` exist. */ + tickerExternalAgentHistoriesByUpdatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `tickerExternalAgentsByCreatedBlockId` relation. */ + tickerExternalAgentsByCreatedBlockId?: InputMaybe; + /** Some related `tickerExternalAgentsByCreatedBlockId` exist. */ + tickerExternalAgentsByCreatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `tickerExternalAgentsByUpdatedBlockId` relation. */ + tickerExternalAgentsByUpdatedBlockId?: InputMaybe; + /** Some related `tickerExternalAgentsByUpdatedBlockId` exist. */ + tickerExternalAgentsByUpdatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `transferComplianceExemptionsByCreatedBlockId` relation. */ + transferComplianceExemptionsByCreatedBlockId?: InputMaybe; + /** Some related `transferComplianceExemptionsByCreatedBlockId` exist. */ + transferComplianceExemptionsByCreatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `transferComplianceExemptionsByUpdatedBlockId` relation. */ + transferComplianceExemptionsByUpdatedBlockId?: InputMaybe; + /** Some related `transferComplianceExemptionsByUpdatedBlockId` exist. */ + transferComplianceExemptionsByUpdatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `transferCompliancesByCreatedBlockId` relation. */ + transferCompliancesByCreatedBlockId?: InputMaybe; + /** Some related `transferCompliancesByCreatedBlockId` exist. */ + transferCompliancesByCreatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `transferCompliancesByUpdatedBlockId` relation. */ + transferCompliancesByUpdatedBlockId?: InputMaybe; + /** Some related `transferCompliancesByUpdatedBlockId` exist. */ + transferCompliancesByUpdatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `transferManagersByCreatedBlockId` relation. */ + transferManagersByCreatedBlockId?: InputMaybe; + /** Some related `transferManagersByCreatedBlockId` exist. */ + transferManagersByCreatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `transferManagersByUpdatedBlockId` relation. */ + transferManagersByUpdatedBlockId?: InputMaybe; + /** Some related `transferManagersByUpdatedBlockId` exist. */ + transferManagersByUpdatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `trustedClaimIssuersByCreatedBlockId` relation. */ + trustedClaimIssuersByCreatedBlockId?: InputMaybe; + /** Some related `trustedClaimIssuersByCreatedBlockId` exist. */ + trustedClaimIssuersByCreatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `trustedClaimIssuersByUpdatedBlockId` relation. */ + trustedClaimIssuersByUpdatedBlockId?: InputMaybe; + /** Some related `trustedClaimIssuersByUpdatedBlockId` exist. */ + trustedClaimIssuersByUpdatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `updatedAt` field. */ + updatedAt?: InputMaybe; + /** Filter by the object’s `venuesByCreatedBlockId` relation. */ + venuesByCreatedBlockId?: InputMaybe; + /** Some related `venuesByCreatedBlockId` exist. */ + venuesByCreatedBlockIdExist?: InputMaybe; + /** Filter by the object’s `venuesByUpdatedBlockId` relation. */ + venuesByUpdatedBlockId?: InputMaybe; + /** Some related `venuesByUpdatedBlockId` exist. */ + venuesByUpdatedBlockIdExist?: InputMaybe; +}; + +/** A connection to a list of `Identity` values, with data from `Account`. */ +export type BlockIdentitiesByAccountCreatedBlockIdAndIdentityIdManyToManyConnection = { + __typename?: 'BlockIdentitiesByAccountCreatedBlockIdAndIdentityIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Identity`, info from the `Account`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Identity` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Identity` you could get from the connection. */ + totalCount: Scalars['Int']['output']; +}; + +/** A connection to a list of `Identity` values, with data from `Account`. */ +export type BlockIdentitiesByAccountCreatedBlockIdAndIdentityIdManyToManyConnectionGroupedAggregatesArgs = { groupBy: Array; having?: InputMaybe; }; -/** A `Identity` edge in the connection, with data from `DistributionPayment`. */ -export type BlockIdentitiesByDistributionPaymentCreatedBlockIdAndTargetIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByDistributionPaymentCreatedBlockIdAndTargetIdManyToManyEdge'; +/** A `Identity` edge in the connection, with data from `Account`. */ +export type BlockIdentitiesByAccountCreatedBlockIdAndIdentityIdManyToManyEdge = { + __typename?: 'BlockIdentitiesByAccountCreatedBlockIdAndIdentityIdManyToManyEdge'; /** A cursor for use in pagination. */ cursor?: Maybe; - /** Reads and enables pagination through a set of `DistributionPayment`. */ - distributionPaymentsByTargetId: DistributionPaymentsConnection; /** The `Identity` at the end of the edge. */ node?: Maybe; + /** Reads and enables pagination through a set of `Account`. */ + secondaryAccounts: AccountsConnection; }; -/** A `Identity` edge in the connection, with data from `DistributionPayment`. */ -export type BlockIdentitiesByDistributionPaymentCreatedBlockIdAndTargetIdManyToManyEdgeDistributionPaymentsByTargetIdArgs = +/** A `Identity` edge in the connection, with data from `Account`. */ +export type BlockIdentitiesByAccountCreatedBlockIdAndIdentityIdManyToManyEdgeSecondaryAccountsArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; -/** A connection to a list of `Identity` values, with data from `DistributionPayment`. */ -export type BlockIdentitiesByDistributionPaymentUpdatedBlockIdAndTargetIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByDistributionPaymentUpdatedBlockIdAndTargetIdManyToManyConnection'; +/** A connection to a list of `Identity` values, with data from `Account`. */ +export type BlockIdentitiesByAccountUpdatedBlockIdAndIdentityIdManyToManyConnection = { + __typename?: 'BlockIdentitiesByAccountUpdatedBlockIdAndIdentityIdManyToManyConnection'; /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `DistributionPayment`, and the cursor to aid in pagination. */ - edges: Array; + /** A list of edges which contains the `Identity`, info from the `Account`, and the cursor to aid in pagination. */ + edges: Array; /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ groupedAggregates?: Maybe>; /** A list of `Identity` objects. */ @@ -24115,44 +26124,44 @@ export type BlockIdentitiesByDistributionPaymentUpdatedBlockIdAndTargetIdManyToM totalCount: Scalars['Int']['output']; }; -/** A connection to a list of `Identity` values, with data from `DistributionPayment`. */ -export type BlockIdentitiesByDistributionPaymentUpdatedBlockIdAndTargetIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `Identity` values, with data from `Account`. */ +export type BlockIdentitiesByAccountUpdatedBlockIdAndIdentityIdManyToManyConnectionGroupedAggregatesArgs = { groupBy: Array; having?: InputMaybe; }; -/** A `Identity` edge in the connection, with data from `DistributionPayment`. */ -export type BlockIdentitiesByDistributionPaymentUpdatedBlockIdAndTargetIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByDistributionPaymentUpdatedBlockIdAndTargetIdManyToManyEdge'; +/** A `Identity` edge in the connection, with data from `Account`. */ +export type BlockIdentitiesByAccountUpdatedBlockIdAndIdentityIdManyToManyEdge = { + __typename?: 'BlockIdentitiesByAccountUpdatedBlockIdAndIdentityIdManyToManyEdge'; /** A cursor for use in pagination. */ cursor?: Maybe; - /** Reads and enables pagination through a set of `DistributionPayment`. */ - distributionPaymentsByTargetId: DistributionPaymentsConnection; /** The `Identity` at the end of the edge. */ node?: Maybe; + /** Reads and enables pagination through a set of `Account`. */ + secondaryAccounts: AccountsConnection; }; -/** A `Identity` edge in the connection, with data from `DistributionPayment`. */ -export type BlockIdentitiesByDistributionPaymentUpdatedBlockIdAndTargetIdManyToManyEdgeDistributionPaymentsByTargetIdArgs = +/** A `Identity` edge in the connection, with data from `Account`. */ +export type BlockIdentitiesByAccountUpdatedBlockIdAndIdentityIdManyToManyEdgeSecondaryAccountsArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; -/** A connection to a list of `Identity` values, with data from `Distribution`. */ -export type BlockIdentitiesByDistributionUpdatedBlockIdAndIdentityIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByDistributionUpdatedBlockIdAndIdentityIdManyToManyConnection'; +/** A connection to a list of `Identity` values, with data from `Asset`. */ +export type BlockIdentitiesByAssetCreatedBlockIdAndOwnerIdManyToManyConnection = { + __typename?: 'BlockIdentitiesByAssetCreatedBlockIdAndOwnerIdManyToManyConnection'; /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `Distribution`, and the cursor to aid in pagination. */ - edges: Array; + /** A list of edges which contains the `Identity`, info from the `Asset`, and the cursor to aid in pagination. */ + edges: Array; /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ groupedAggregates?: Maybe>; /** A list of `Identity` objects. */ @@ -24163,44 +26172,43 @@ export type BlockIdentitiesByDistributionUpdatedBlockIdAndIdentityIdManyToManyCo totalCount: Scalars['Int']['output']; }; -/** A connection to a list of `Identity` values, with data from `Distribution`. */ -export type BlockIdentitiesByDistributionUpdatedBlockIdAndIdentityIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `Identity` values, with data from `Asset`. */ +export type BlockIdentitiesByAssetCreatedBlockIdAndOwnerIdManyToManyConnectionGroupedAggregatesArgs = { groupBy: Array; having?: InputMaybe; }; -/** A `Identity` edge in the connection, with data from `Distribution`. */ -export type BlockIdentitiesByDistributionUpdatedBlockIdAndIdentityIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByDistributionUpdatedBlockIdAndIdentityIdManyToManyEdge'; - /** A cursor for use in pagination. */ +/** A `Identity` edge in the connection, with data from `Asset`. */ +export type BlockIdentitiesByAssetCreatedBlockIdAndOwnerIdManyToManyEdge = { + __typename?: 'BlockIdentitiesByAssetCreatedBlockIdAndOwnerIdManyToManyEdge'; + /** Reads and enables pagination through a set of `Asset`. */ + assetsByOwnerId: AssetsConnection; + /** A cursor for use in pagination. */ cursor?: Maybe; - /** Reads and enables pagination through a set of `Distribution`. */ - distributions: DistributionsConnection; /** The `Identity` at the end of the edge. */ node?: Maybe; }; -/** A `Identity` edge in the connection, with data from `Distribution`. */ -export type BlockIdentitiesByDistributionUpdatedBlockIdAndIdentityIdManyToManyEdgeDistributionsArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; +/** A `Identity` edge in the connection, with data from `Asset`. */ +export type BlockIdentitiesByAssetCreatedBlockIdAndOwnerIdManyToManyEdgeAssetsByOwnerIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; -/** A connection to a list of `Identity` values, with data from `Investment`. */ -export type BlockIdentitiesByInvestmentCreatedBlockIdAndInvestorIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByInvestmentCreatedBlockIdAndInvestorIdManyToManyConnection'; +/** A connection to a list of `Identity` values, with data from `AssetHolder`. */ +export type BlockIdentitiesByAssetHolderCreatedBlockIdAndIdentityIdManyToManyConnection = { + __typename?: 'BlockIdentitiesByAssetHolderCreatedBlockIdAndIdentityIdManyToManyConnection'; /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `Investment`, and the cursor to aid in pagination. */ - edges: Array; + /** A list of edges which contains the `Identity`, info from the `AssetHolder`, and the cursor to aid in pagination. */ + edges: Array; /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ groupedAggregates?: Maybe>; /** A list of `Identity` objects. */ @@ -24211,44 +26219,43 @@ export type BlockIdentitiesByInvestmentCreatedBlockIdAndInvestorIdManyToManyConn totalCount: Scalars['Int']['output']; }; -/** A connection to a list of `Identity` values, with data from `Investment`. */ -export type BlockIdentitiesByInvestmentCreatedBlockIdAndInvestorIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `Identity` values, with data from `AssetHolder`. */ +export type BlockIdentitiesByAssetHolderCreatedBlockIdAndIdentityIdManyToManyConnectionGroupedAggregatesArgs = { groupBy: Array; having?: InputMaybe; }; -/** A `Identity` edge in the connection, with data from `Investment`. */ -export type BlockIdentitiesByInvestmentCreatedBlockIdAndInvestorIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByInvestmentCreatedBlockIdAndInvestorIdManyToManyEdge'; +/** A `Identity` edge in the connection, with data from `AssetHolder`. */ +export type BlockIdentitiesByAssetHolderCreatedBlockIdAndIdentityIdManyToManyEdge = { + __typename?: 'BlockIdentitiesByAssetHolderCreatedBlockIdAndIdentityIdManyToManyEdge'; /** A cursor for use in pagination. */ cursor?: Maybe; - /** Reads and enables pagination through a set of `Investment`. */ - investmentsByInvestorId: InvestmentsConnection; + /** Reads and enables pagination through a set of `AssetHolder`. */ + heldAssets: AssetHoldersConnection; /** The `Identity` at the end of the edge. */ node?: Maybe; }; -/** A `Identity` edge in the connection, with data from `Investment`. */ -export type BlockIdentitiesByInvestmentCreatedBlockIdAndInvestorIdManyToManyEdgeInvestmentsByInvestorIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; +/** A `Identity` edge in the connection, with data from `AssetHolder`. */ +export type BlockIdentitiesByAssetHolderCreatedBlockIdAndIdentityIdManyToManyEdgeHeldAssetsArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; -/** A connection to a list of `Identity` values, with data from `Investment`. */ -export type BlockIdentitiesByInvestmentUpdatedBlockIdAndInvestorIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByInvestmentUpdatedBlockIdAndInvestorIdManyToManyConnection'; +/** A connection to a list of `Identity` values, with data from `AssetHolder`. */ +export type BlockIdentitiesByAssetHolderUpdatedBlockIdAndIdentityIdManyToManyConnection = { + __typename?: 'BlockIdentitiesByAssetHolderUpdatedBlockIdAndIdentityIdManyToManyConnection'; /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `Investment`, and the cursor to aid in pagination. */ - edges: Array; + /** A list of edges which contains the `Identity`, info from the `AssetHolder`, and the cursor to aid in pagination. */ + edges: Array; /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ groupedAggregates?: Maybe>; /** A list of `Identity` objects. */ @@ -24259,44 +26266,43 @@ export type BlockIdentitiesByInvestmentUpdatedBlockIdAndInvestorIdManyToManyConn totalCount: Scalars['Int']['output']; }; -/** A connection to a list of `Identity` values, with data from `Investment`. */ -export type BlockIdentitiesByInvestmentUpdatedBlockIdAndInvestorIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `Identity` values, with data from `AssetHolder`. */ +export type BlockIdentitiesByAssetHolderUpdatedBlockIdAndIdentityIdManyToManyConnectionGroupedAggregatesArgs = { groupBy: Array; having?: InputMaybe; }; -/** A `Identity` edge in the connection, with data from `Investment`. */ -export type BlockIdentitiesByInvestmentUpdatedBlockIdAndInvestorIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByInvestmentUpdatedBlockIdAndInvestorIdManyToManyEdge'; +/** A `Identity` edge in the connection, with data from `AssetHolder`. */ +export type BlockIdentitiesByAssetHolderUpdatedBlockIdAndIdentityIdManyToManyEdge = { + __typename?: 'BlockIdentitiesByAssetHolderUpdatedBlockIdAndIdentityIdManyToManyEdge'; /** A cursor for use in pagination. */ cursor?: Maybe; - /** Reads and enables pagination through a set of `Investment`. */ - investmentsByInvestorId: InvestmentsConnection; + /** Reads and enables pagination through a set of `AssetHolder`. */ + heldAssets: AssetHoldersConnection; /** The `Identity` at the end of the edge. */ node?: Maybe; }; -/** A `Identity` edge in the connection, with data from `Investment`. */ -export type BlockIdentitiesByInvestmentUpdatedBlockIdAndInvestorIdManyToManyEdgeInvestmentsByInvestorIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; +/** A `Identity` edge in the connection, with data from `AssetHolder`. */ +export type BlockIdentitiesByAssetHolderUpdatedBlockIdAndIdentityIdManyToManyEdgeHeldAssetsArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; -/** A connection to a list of `Identity` values, with data from `MultiSig`. */ -export type BlockIdentitiesByMultiSigCreatedBlockIdAndCreatorIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByMultiSigCreatedBlockIdAndCreatorIdManyToManyConnection'; +/** A connection to a list of `Identity` values, with data from `Asset`. */ +export type BlockIdentitiesByAssetUpdatedBlockIdAndOwnerIdManyToManyConnection = { + __typename?: 'BlockIdentitiesByAssetUpdatedBlockIdAndOwnerIdManyToManyConnection'; /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `MultiSig`, and the cursor to aid in pagination. */ - edges: Array; + /** A list of edges which contains the `Identity`, info from the `Asset`, and the cursor to aid in pagination. */ + edges: Array; /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ groupedAggregates?: Maybe>; /** A list of `Identity` objects. */ @@ -24307,44 +26313,43 @@ export type BlockIdentitiesByMultiSigCreatedBlockIdAndCreatorIdManyToManyConnect totalCount: Scalars['Int']['output']; }; -/** A connection to a list of `Identity` values, with data from `MultiSig`. */ -export type BlockIdentitiesByMultiSigCreatedBlockIdAndCreatorIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `Identity` values, with data from `Asset`. */ +export type BlockIdentitiesByAssetUpdatedBlockIdAndOwnerIdManyToManyConnectionGroupedAggregatesArgs = { groupBy: Array; having?: InputMaybe; }; -/** A `Identity` edge in the connection, with data from `MultiSig`. */ -export type BlockIdentitiesByMultiSigCreatedBlockIdAndCreatorIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByMultiSigCreatedBlockIdAndCreatorIdManyToManyEdge'; +/** A `Identity` edge in the connection, with data from `Asset`. */ +export type BlockIdentitiesByAssetUpdatedBlockIdAndOwnerIdManyToManyEdge = { + __typename?: 'BlockIdentitiesByAssetUpdatedBlockIdAndOwnerIdManyToManyEdge'; + /** Reads and enables pagination through a set of `Asset`. */ + assetsByOwnerId: AssetsConnection; /** A cursor for use in pagination. */ cursor?: Maybe; - /** Reads and enables pagination through a set of `MultiSig`. */ - multiSigsByCreatorId: MultiSigsConnection; /** The `Identity` at the end of the edge. */ node?: Maybe; }; -/** A `Identity` edge in the connection, with data from `MultiSig`. */ -export type BlockIdentitiesByMultiSigCreatedBlockIdAndCreatorIdManyToManyEdgeMultiSigsByCreatorIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; +/** A `Identity` edge in the connection, with data from `Asset`. */ +export type BlockIdentitiesByAssetUpdatedBlockIdAndOwnerIdManyToManyEdgeAssetsByOwnerIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; -/** A connection to a list of `Identity` values, with data from `MultiSigProposal`. */ -export type BlockIdentitiesByMultiSigProposalCreatedBlockIdAndCreatorIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByMultiSigProposalCreatedBlockIdAndCreatorIdManyToManyConnection'; +/** A connection to a list of `Identity` values, with data from `Authorization`. */ +export type BlockIdentitiesByAuthorizationCreatedBlockIdAndFromIdManyToManyConnection = { + __typename?: 'BlockIdentitiesByAuthorizationCreatedBlockIdAndFromIdManyToManyConnection'; /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `MultiSigProposal`, and the cursor to aid in pagination. */ - edges: Array; + /** A list of edges which contains the `Identity`, info from the `Authorization`, and the cursor to aid in pagination. */ + edges: Array; /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ groupedAggregates?: Maybe>; /** A list of `Identity` objects. */ @@ -24355,44 +26360,44 @@ export type BlockIdentitiesByMultiSigProposalCreatedBlockIdAndCreatorIdManyToMan totalCount: Scalars['Int']['output']; }; -/** A connection to a list of `Identity` values, with data from `MultiSigProposal`. */ -export type BlockIdentitiesByMultiSigProposalCreatedBlockIdAndCreatorIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `Identity` values, with data from `Authorization`. */ +export type BlockIdentitiesByAuthorizationCreatedBlockIdAndFromIdManyToManyConnectionGroupedAggregatesArgs = { groupBy: Array; having?: InputMaybe; }; -/** A `Identity` edge in the connection, with data from `MultiSigProposal`. */ -export type BlockIdentitiesByMultiSigProposalCreatedBlockIdAndCreatorIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByMultiSigProposalCreatedBlockIdAndCreatorIdManyToManyEdge'; +/** A `Identity` edge in the connection, with data from `Authorization`. */ +export type BlockIdentitiesByAuthorizationCreatedBlockIdAndFromIdManyToManyEdge = { + __typename?: 'BlockIdentitiesByAuthorizationCreatedBlockIdAndFromIdManyToManyEdge'; + /** Reads and enables pagination through a set of `Authorization`. */ + authorizationsByFromId: AuthorizationsConnection; /** A cursor for use in pagination. */ cursor?: Maybe; - /** Reads and enables pagination through a set of `MultiSigProposal`. */ - multiSigProposalsByCreatorId: MultiSigProposalsConnection; /** The `Identity` at the end of the edge. */ node?: Maybe; }; -/** A `Identity` edge in the connection, with data from `MultiSigProposal`. */ -export type BlockIdentitiesByMultiSigProposalCreatedBlockIdAndCreatorIdManyToManyEdgeMultiSigProposalsByCreatorIdArgs = +/** A `Identity` edge in the connection, with data from `Authorization`. */ +export type BlockIdentitiesByAuthorizationCreatedBlockIdAndFromIdManyToManyEdgeAuthorizationsByFromIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; -/** A connection to a list of `Identity` values, with data from `MultiSigProposal`. */ -export type BlockIdentitiesByMultiSigProposalUpdatedBlockIdAndCreatorIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByMultiSigProposalUpdatedBlockIdAndCreatorIdManyToManyConnection'; +/** A connection to a list of `Identity` values, with data from `Authorization`. */ +export type BlockIdentitiesByAuthorizationUpdatedBlockIdAndFromIdManyToManyConnection = { + __typename?: 'BlockIdentitiesByAuthorizationUpdatedBlockIdAndFromIdManyToManyConnection'; /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `MultiSigProposal`, and the cursor to aid in pagination. */ - edges: Array; + /** A list of edges which contains the `Identity`, info from the `Authorization`, and the cursor to aid in pagination. */ + edges: Array; /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ groupedAggregates?: Maybe>; /** A list of `Identity` objects. */ @@ -24403,44 +26408,44 @@ export type BlockIdentitiesByMultiSigProposalUpdatedBlockIdAndCreatorIdManyToMan totalCount: Scalars['Int']['output']; }; -/** A connection to a list of `Identity` values, with data from `MultiSigProposal`. */ -export type BlockIdentitiesByMultiSigProposalUpdatedBlockIdAndCreatorIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `Identity` values, with data from `Authorization`. */ +export type BlockIdentitiesByAuthorizationUpdatedBlockIdAndFromIdManyToManyConnectionGroupedAggregatesArgs = { groupBy: Array; having?: InputMaybe; }; -/** A `Identity` edge in the connection, with data from `MultiSigProposal`. */ -export type BlockIdentitiesByMultiSigProposalUpdatedBlockIdAndCreatorIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByMultiSigProposalUpdatedBlockIdAndCreatorIdManyToManyEdge'; +/** A `Identity` edge in the connection, with data from `Authorization`. */ +export type BlockIdentitiesByAuthorizationUpdatedBlockIdAndFromIdManyToManyEdge = { + __typename?: 'BlockIdentitiesByAuthorizationUpdatedBlockIdAndFromIdManyToManyEdge'; + /** Reads and enables pagination through a set of `Authorization`. */ + authorizationsByFromId: AuthorizationsConnection; /** A cursor for use in pagination. */ cursor?: Maybe; - /** Reads and enables pagination through a set of `MultiSigProposal`. */ - multiSigProposalsByCreatorId: MultiSigProposalsConnection; /** The `Identity` at the end of the edge. */ node?: Maybe; }; -/** A `Identity` edge in the connection, with data from `MultiSigProposal`. */ -export type BlockIdentitiesByMultiSigProposalUpdatedBlockIdAndCreatorIdManyToManyEdgeMultiSigProposalsByCreatorIdArgs = +/** A `Identity` edge in the connection, with data from `Authorization`. */ +export type BlockIdentitiesByAuthorizationUpdatedBlockIdAndFromIdManyToManyEdgeAuthorizationsByFromIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; -/** A connection to a list of `Identity` values, with data from `MultiSig`. */ -export type BlockIdentitiesByMultiSigUpdatedBlockIdAndCreatorIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByMultiSigUpdatedBlockIdAndCreatorIdManyToManyConnection'; +/** A connection to a list of `Identity` values, with data from `BridgeEvent`. */ +export type BlockIdentitiesByBridgeEventCreatedBlockIdAndIdentityIdManyToManyConnection = { + __typename?: 'BlockIdentitiesByBridgeEventCreatedBlockIdAndIdentityIdManyToManyConnection'; /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `MultiSig`, and the cursor to aid in pagination. */ - edges: Array; + /** A list of edges which contains the `Identity`, info from the `BridgeEvent`, and the cursor to aid in pagination. */ + edges: Array; /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ groupedAggregates?: Maybe>; /** A list of `Identity` objects. */ @@ -24451,44 +26456,44 @@ export type BlockIdentitiesByMultiSigUpdatedBlockIdAndCreatorIdManyToManyConnect totalCount: Scalars['Int']['output']; }; -/** A connection to a list of `Identity` values, with data from `MultiSig`. */ -export type BlockIdentitiesByMultiSigUpdatedBlockIdAndCreatorIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `Identity` values, with data from `BridgeEvent`. */ +export type BlockIdentitiesByBridgeEventCreatedBlockIdAndIdentityIdManyToManyConnectionGroupedAggregatesArgs = { groupBy: Array; having?: InputMaybe; }; -/** A `Identity` edge in the connection, with data from `MultiSig`. */ -export type BlockIdentitiesByMultiSigUpdatedBlockIdAndCreatorIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByMultiSigUpdatedBlockIdAndCreatorIdManyToManyEdge'; +/** A `Identity` edge in the connection, with data from `BridgeEvent`. */ +export type BlockIdentitiesByBridgeEventCreatedBlockIdAndIdentityIdManyToManyEdge = { + __typename?: 'BlockIdentitiesByBridgeEventCreatedBlockIdAndIdentityIdManyToManyEdge'; + /** Reads and enables pagination through a set of `BridgeEvent`. */ + bridgeEvents: BridgeEventsConnection; /** A cursor for use in pagination. */ cursor?: Maybe; - /** Reads and enables pagination through a set of `MultiSig`. */ - multiSigsByCreatorId: MultiSigsConnection; /** The `Identity` at the end of the edge. */ node?: Maybe; }; -/** A `Identity` edge in the connection, with data from `MultiSig`. */ -export type BlockIdentitiesByMultiSigUpdatedBlockIdAndCreatorIdManyToManyEdgeMultiSigsByCreatorIdArgs = +/** A `Identity` edge in the connection, with data from `BridgeEvent`. */ +export type BlockIdentitiesByBridgeEventCreatedBlockIdAndIdentityIdManyToManyEdgeBridgeEventsArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; -/** A connection to a list of `Identity` values, with data from `NftHolder`. */ -export type BlockIdentitiesByNftHolderCreatedBlockIdAndIdentityIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByNftHolderCreatedBlockIdAndIdentityIdManyToManyConnection'; +/** A connection to a list of `Identity` values, with data from `BridgeEvent`. */ +export type BlockIdentitiesByBridgeEventUpdatedBlockIdAndIdentityIdManyToManyConnection = { + __typename?: 'BlockIdentitiesByBridgeEventUpdatedBlockIdAndIdentityIdManyToManyConnection'; /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `NftHolder`, and the cursor to aid in pagination. */ - edges: Array; + /** A list of edges which contains the `Identity`, info from the `BridgeEvent`, and the cursor to aid in pagination. */ + edges: Array; /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ groupedAggregates?: Maybe>; /** A list of `Identity` objects. */ @@ -24499,90 +26504,44 @@ export type BlockIdentitiesByNftHolderCreatedBlockIdAndIdentityIdManyToManyConne totalCount: Scalars['Int']['output']; }; -/** A connection to a list of `Identity` values, with data from `NftHolder`. */ -export type BlockIdentitiesByNftHolderCreatedBlockIdAndIdentityIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `Identity` values, with data from `BridgeEvent`. */ +export type BlockIdentitiesByBridgeEventUpdatedBlockIdAndIdentityIdManyToManyConnectionGroupedAggregatesArgs = { groupBy: Array; having?: InputMaybe; }; -/** A `Identity` edge in the connection, with data from `NftHolder`. */ -export type BlockIdentitiesByNftHolderCreatedBlockIdAndIdentityIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByNftHolderCreatedBlockIdAndIdentityIdManyToManyEdge'; +/** A `Identity` edge in the connection, with data from `BridgeEvent`. */ +export type BlockIdentitiesByBridgeEventUpdatedBlockIdAndIdentityIdManyToManyEdge = { + __typename?: 'BlockIdentitiesByBridgeEventUpdatedBlockIdAndIdentityIdManyToManyEdge'; + /** Reads and enables pagination through a set of `BridgeEvent`. */ + bridgeEvents: BridgeEventsConnection; /** A cursor for use in pagination. */ cursor?: Maybe; - /** Reads and enables pagination through a set of `NftHolder`. */ - heldNfts: NftHoldersConnection; /** The `Identity` at the end of the edge. */ node?: Maybe; }; -/** A `Identity` edge in the connection, with data from `NftHolder`. */ -export type BlockIdentitiesByNftHolderCreatedBlockIdAndIdentityIdManyToManyEdgeHeldNftsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Identity` values, with data from `NftHolder`. */ -export type BlockIdentitiesByNftHolderUpdatedBlockIdAndIdentityIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByNftHolderUpdatedBlockIdAndIdentityIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `NftHolder`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `NftHolder`. */ -export type BlockIdentitiesByNftHolderUpdatedBlockIdAndIdentityIdManyToManyConnectionGroupedAggregatesArgs = +/** A `Identity` edge in the connection, with data from `BridgeEvent`. */ +export type BlockIdentitiesByBridgeEventUpdatedBlockIdAndIdentityIdManyToManyEdgeBridgeEventsArgs = { - groupBy: Array; - having?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; }; -/** A `Identity` edge in the connection, with data from `NftHolder`. */ -export type BlockIdentitiesByNftHolderUpdatedBlockIdAndIdentityIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByNftHolderUpdatedBlockIdAndIdentityIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `NftHolder`. */ - heldNfts: NftHoldersConnection; - /** The `Identity` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Identity` edge in the connection, with data from `NftHolder`. */ -export type BlockIdentitiesByNftHolderUpdatedBlockIdAndIdentityIdManyToManyEdgeHeldNftsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Identity` values, with data from `Portfolio`. */ -export type BlockIdentitiesByPortfolioCreatedBlockIdAndCustodianIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByPortfolioCreatedBlockIdAndCustodianIdManyToManyConnection'; +/** A connection to a list of `Identity` values, with data from `ChildIdentity`. */ +export type BlockIdentitiesByChildIdentityCreatedBlockIdAndChildIdManyToManyConnection = { + __typename?: 'BlockIdentitiesByChildIdentityCreatedBlockIdAndChildIdManyToManyConnection'; /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `Portfolio`, and the cursor to aid in pagination. */ - edges: Array; + /** A list of edges which contains the `Identity`, info from the `ChildIdentity`, and the cursor to aid in pagination. */ + edges: Array; /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ groupedAggregates?: Maybe>; /** A list of `Identity` objects. */ @@ -24593,44 +26552,44 @@ export type BlockIdentitiesByPortfolioCreatedBlockIdAndCustodianIdManyToManyConn totalCount: Scalars['Int']['output']; }; -/** A connection to a list of `Identity` values, with data from `Portfolio`. */ -export type BlockIdentitiesByPortfolioCreatedBlockIdAndCustodianIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `Identity` values, with data from `ChildIdentity`. */ +export type BlockIdentitiesByChildIdentityCreatedBlockIdAndChildIdManyToManyConnectionGroupedAggregatesArgs = { groupBy: Array; having?: InputMaybe; }; -/** A `Identity` edge in the connection, with data from `Portfolio`. */ -export type BlockIdentitiesByPortfolioCreatedBlockIdAndCustodianIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByPortfolioCreatedBlockIdAndCustodianIdManyToManyEdge'; +/** A `Identity` edge in the connection, with data from `ChildIdentity`. */ +export type BlockIdentitiesByChildIdentityCreatedBlockIdAndChildIdManyToManyEdge = { + __typename?: 'BlockIdentitiesByChildIdentityCreatedBlockIdAndChildIdManyToManyEdge'; /** A cursor for use in pagination. */ cursor?: Maybe; /** The `Identity` at the end of the edge. */ node?: Maybe; - /** Reads and enables pagination through a set of `Portfolio`. */ - portfoliosByCustodianId: PortfoliosConnection; + /** Reads and enables pagination through a set of `ChildIdentity`. */ + parentChildIdentities: ChildIdentitiesConnection; }; -/** A `Identity` edge in the connection, with data from `Portfolio`. */ -export type BlockIdentitiesByPortfolioCreatedBlockIdAndCustodianIdManyToManyEdgePortfoliosByCustodianIdArgs = +/** A `Identity` edge in the connection, with data from `ChildIdentity`. */ +export type BlockIdentitiesByChildIdentityCreatedBlockIdAndChildIdManyToManyEdgeParentChildIdentitiesArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; -/** A connection to a list of `Identity` values, with data from `Portfolio`. */ -export type BlockIdentitiesByPortfolioCreatedBlockIdAndIdentityIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByPortfolioCreatedBlockIdAndIdentityIdManyToManyConnection'; +/** A connection to a list of `Identity` values, with data from `ChildIdentity`. */ +export type BlockIdentitiesByChildIdentityCreatedBlockIdAndParentIdManyToManyConnection = { + __typename?: 'BlockIdentitiesByChildIdentityCreatedBlockIdAndParentIdManyToManyConnection'; /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `Portfolio`, and the cursor to aid in pagination. */ - edges: Array; + /** A list of edges which contains the `Identity`, info from the `ChildIdentity`, and the cursor to aid in pagination. */ + edges: Array; /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ groupedAggregates?: Maybe>; /** A list of `Identity` objects. */ @@ -24641,43 +26600,43 @@ export type BlockIdentitiesByPortfolioCreatedBlockIdAndIdentityIdManyToManyConne totalCount: Scalars['Int']['output']; }; -/** A connection to a list of `Identity` values, with data from `Portfolio`. */ -export type BlockIdentitiesByPortfolioCreatedBlockIdAndIdentityIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `Identity` values, with data from `ChildIdentity`. */ +export type BlockIdentitiesByChildIdentityCreatedBlockIdAndParentIdManyToManyConnectionGroupedAggregatesArgs = { groupBy: Array; having?: InputMaybe; }; -/** A `Identity` edge in the connection, with data from `Portfolio`. */ -export type BlockIdentitiesByPortfolioCreatedBlockIdAndIdentityIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByPortfolioCreatedBlockIdAndIdentityIdManyToManyEdge'; +/** A `Identity` edge in the connection, with data from `ChildIdentity`. */ +export type BlockIdentitiesByChildIdentityCreatedBlockIdAndParentIdManyToManyEdge = { + __typename?: 'BlockIdentitiesByChildIdentityCreatedBlockIdAndParentIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ChildIdentity`. */ + children: ChildIdentitiesConnection; /** A cursor for use in pagination. */ cursor?: Maybe; /** The `Identity` at the end of the edge. */ node?: Maybe; - /** Reads and enables pagination through a set of `Portfolio`. */ - portfolios: PortfoliosConnection; }; -/** A `Identity` edge in the connection, with data from `Portfolio`. */ -export type BlockIdentitiesByPortfolioCreatedBlockIdAndIdentityIdManyToManyEdgePortfoliosArgs = { +/** A `Identity` edge in the connection, with data from `ChildIdentity`. */ +export type BlockIdentitiesByChildIdentityCreatedBlockIdAndParentIdManyToManyEdgeChildrenArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; -/** A connection to a list of `Identity` values, with data from `Portfolio`. */ -export type BlockIdentitiesByPortfolioUpdatedBlockIdAndCustodianIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByPortfolioUpdatedBlockIdAndCustodianIdManyToManyConnection'; +/** A connection to a list of `Identity` values, with data from `ChildIdentity`. */ +export type BlockIdentitiesByChildIdentityUpdatedBlockIdAndChildIdManyToManyConnection = { + __typename?: 'BlockIdentitiesByChildIdentityUpdatedBlockIdAndChildIdManyToManyConnection'; /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `Portfolio`, and the cursor to aid in pagination. */ - edges: Array; + /** A list of edges which contains the `Identity`, info from the `ChildIdentity`, and the cursor to aid in pagination. */ + edges: Array; /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ groupedAggregates?: Maybe>; /** A list of `Identity` objects. */ @@ -24688,44 +26647,44 @@ export type BlockIdentitiesByPortfolioUpdatedBlockIdAndCustodianIdManyToManyConn totalCount: Scalars['Int']['output']; }; -/** A connection to a list of `Identity` values, with data from `Portfolio`. */ -export type BlockIdentitiesByPortfolioUpdatedBlockIdAndCustodianIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `Identity` values, with data from `ChildIdentity`. */ +export type BlockIdentitiesByChildIdentityUpdatedBlockIdAndChildIdManyToManyConnectionGroupedAggregatesArgs = { groupBy: Array; having?: InputMaybe; }; -/** A `Identity` edge in the connection, with data from `Portfolio`. */ -export type BlockIdentitiesByPortfolioUpdatedBlockIdAndCustodianIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByPortfolioUpdatedBlockIdAndCustodianIdManyToManyEdge'; +/** A `Identity` edge in the connection, with data from `ChildIdentity`. */ +export type BlockIdentitiesByChildIdentityUpdatedBlockIdAndChildIdManyToManyEdge = { + __typename?: 'BlockIdentitiesByChildIdentityUpdatedBlockIdAndChildIdManyToManyEdge'; /** A cursor for use in pagination. */ cursor?: Maybe; /** The `Identity` at the end of the edge. */ node?: Maybe; - /** Reads and enables pagination through a set of `Portfolio`. */ - portfoliosByCustodianId: PortfoliosConnection; + /** Reads and enables pagination through a set of `ChildIdentity`. */ + parentChildIdentities: ChildIdentitiesConnection; }; -/** A `Identity` edge in the connection, with data from `Portfolio`. */ -export type BlockIdentitiesByPortfolioUpdatedBlockIdAndCustodianIdManyToManyEdgePortfoliosByCustodianIdArgs = +/** A `Identity` edge in the connection, with data from `ChildIdentity`. */ +export type BlockIdentitiesByChildIdentityUpdatedBlockIdAndChildIdManyToManyEdgeParentChildIdentitiesArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; -/** A connection to a list of `Identity` values, with data from `Portfolio`. */ -export type BlockIdentitiesByPortfolioUpdatedBlockIdAndIdentityIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByPortfolioUpdatedBlockIdAndIdentityIdManyToManyConnection'; +/** A connection to a list of `Identity` values, with data from `ChildIdentity`. */ +export type BlockIdentitiesByChildIdentityUpdatedBlockIdAndParentIdManyToManyConnection = { + __typename?: 'BlockIdentitiesByChildIdentityUpdatedBlockIdAndParentIdManyToManyConnection'; /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `Portfolio`, and the cursor to aid in pagination. */ - edges: Array; + /** A list of edges which contains the `Identity`, info from the `ChildIdentity`, and the cursor to aid in pagination. */ + edges: Array; /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ groupedAggregates?: Maybe>; /** A list of `Identity` objects. */ @@ -24736,43 +26695,43 @@ export type BlockIdentitiesByPortfolioUpdatedBlockIdAndIdentityIdManyToManyConne totalCount: Scalars['Int']['output']; }; -/** A connection to a list of `Identity` values, with data from `Portfolio`. */ -export type BlockIdentitiesByPortfolioUpdatedBlockIdAndIdentityIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `Identity` values, with data from `ChildIdentity`. */ +export type BlockIdentitiesByChildIdentityUpdatedBlockIdAndParentIdManyToManyConnectionGroupedAggregatesArgs = { groupBy: Array; having?: InputMaybe; }; -/** A `Identity` edge in the connection, with data from `Portfolio`. */ -export type BlockIdentitiesByPortfolioUpdatedBlockIdAndIdentityIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByPortfolioUpdatedBlockIdAndIdentityIdManyToManyEdge'; +/** A `Identity` edge in the connection, with data from `ChildIdentity`. */ +export type BlockIdentitiesByChildIdentityUpdatedBlockIdAndParentIdManyToManyEdge = { + __typename?: 'BlockIdentitiesByChildIdentityUpdatedBlockIdAndParentIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ChildIdentity`. */ + children: ChildIdentitiesConnection; /** A cursor for use in pagination. */ cursor?: Maybe; /** The `Identity` at the end of the edge. */ node?: Maybe; - /** Reads and enables pagination through a set of `Portfolio`. */ - portfolios: PortfoliosConnection; }; -/** A `Identity` edge in the connection, with data from `Portfolio`. */ -export type BlockIdentitiesByPortfolioUpdatedBlockIdAndIdentityIdManyToManyEdgePortfoliosArgs = { +/** A `Identity` edge in the connection, with data from `ChildIdentity`. */ +export type BlockIdentitiesByChildIdentityUpdatedBlockIdAndParentIdManyToManyEdgeChildrenArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; -/** A connection to a list of `Identity` values, with data from `Proposal`. */ -export type BlockIdentitiesByProposalCreatedBlockIdAndOwnerIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByProposalCreatedBlockIdAndOwnerIdManyToManyConnection'; +/** A connection to a list of `Identity` values, with data from `Claim`. */ +export type BlockIdentitiesByClaimCreatedBlockIdAndIssuerIdManyToManyConnection = { + __typename?: 'BlockIdentitiesByClaimCreatedBlockIdAndIssuerIdManyToManyConnection'; /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `Proposal`, and the cursor to aid in pagination. */ - edges: Array; + /** A list of edges which contains the `Identity`, info from the `Claim`, and the cursor to aid in pagination. */ + edges: Array; /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ groupedAggregates?: Maybe>; /** A list of `Identity` objects. */ @@ -24783,44 +26742,43 @@ export type BlockIdentitiesByProposalCreatedBlockIdAndOwnerIdManyToManyConnectio totalCount: Scalars['Int']['output']; }; -/** A connection to a list of `Identity` values, with data from `Proposal`. */ -export type BlockIdentitiesByProposalCreatedBlockIdAndOwnerIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `Identity` values, with data from `Claim`. */ +export type BlockIdentitiesByClaimCreatedBlockIdAndIssuerIdManyToManyConnectionGroupedAggregatesArgs = { groupBy: Array; having?: InputMaybe; }; -/** A `Identity` edge in the connection, with data from `Proposal`. */ -export type BlockIdentitiesByProposalCreatedBlockIdAndOwnerIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByProposalCreatedBlockIdAndOwnerIdManyToManyEdge'; +/** A `Identity` edge in the connection, with data from `Claim`. */ +export type BlockIdentitiesByClaimCreatedBlockIdAndIssuerIdManyToManyEdge = { + __typename?: 'BlockIdentitiesByClaimCreatedBlockIdAndIssuerIdManyToManyEdge'; + /** Reads and enables pagination through a set of `Claim`. */ + claimsByIssuerId: ClaimsConnection; /** A cursor for use in pagination. */ cursor?: Maybe; /** The `Identity` at the end of the edge. */ node?: Maybe; - /** Reads and enables pagination through a set of `Proposal`. */ - proposalsByOwnerId: ProposalsConnection; }; -/** A `Identity` edge in the connection, with data from `Proposal`. */ -export type BlockIdentitiesByProposalCreatedBlockIdAndOwnerIdManyToManyEdgeProposalsByOwnerIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; +/** A `Identity` edge in the connection, with data from `Claim`. */ +export type BlockIdentitiesByClaimCreatedBlockIdAndIssuerIdManyToManyEdgeClaimsByIssuerIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; -/** A connection to a list of `Identity` values, with data from `Proposal`. */ -export type BlockIdentitiesByProposalUpdatedBlockIdAndOwnerIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByProposalUpdatedBlockIdAndOwnerIdManyToManyConnection'; +/** A connection to a list of `Identity` values, with data from `Claim`. */ +export type BlockIdentitiesByClaimCreatedBlockIdAndTargetIdManyToManyConnection = { + __typename?: 'BlockIdentitiesByClaimCreatedBlockIdAndTargetIdManyToManyConnection'; /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `Proposal`, and the cursor to aid in pagination. */ - edges: Array; + /** A list of edges which contains the `Identity`, info from the `Claim`, and the cursor to aid in pagination. */ + edges: Array; /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ groupedAggregates?: Maybe>; /** A list of `Identity` objects. */ @@ -24831,44 +26789,43 @@ export type BlockIdentitiesByProposalUpdatedBlockIdAndOwnerIdManyToManyConnectio totalCount: Scalars['Int']['output']; }; -/** A connection to a list of `Identity` values, with data from `Proposal`. */ -export type BlockIdentitiesByProposalUpdatedBlockIdAndOwnerIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `Identity` values, with data from `Claim`. */ +export type BlockIdentitiesByClaimCreatedBlockIdAndTargetIdManyToManyConnectionGroupedAggregatesArgs = { groupBy: Array; having?: InputMaybe; }; -/** A `Identity` edge in the connection, with data from `Proposal`. */ -export type BlockIdentitiesByProposalUpdatedBlockIdAndOwnerIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByProposalUpdatedBlockIdAndOwnerIdManyToManyEdge'; +/** A `Identity` edge in the connection, with data from `Claim`. */ +export type BlockIdentitiesByClaimCreatedBlockIdAndTargetIdManyToManyEdge = { + __typename?: 'BlockIdentitiesByClaimCreatedBlockIdAndTargetIdManyToManyEdge'; + /** Reads and enables pagination through a set of `Claim`. */ + claimsByTargetId: ClaimsConnection; /** A cursor for use in pagination. */ cursor?: Maybe; /** The `Identity` at the end of the edge. */ node?: Maybe; - /** Reads and enables pagination through a set of `Proposal`. */ - proposalsByOwnerId: ProposalsConnection; }; -/** A `Identity` edge in the connection, with data from `Proposal`. */ -export type BlockIdentitiesByProposalUpdatedBlockIdAndOwnerIdManyToManyEdgeProposalsByOwnerIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; +/** A `Identity` edge in the connection, with data from `Claim`. */ +export type BlockIdentitiesByClaimCreatedBlockIdAndTargetIdManyToManyEdgeClaimsByTargetIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; -/** A connection to a list of `Identity` values, with data from `StakingEvent`. */ -export type BlockIdentitiesByStakingEventCreatedBlockIdAndIdentityIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByStakingEventCreatedBlockIdAndIdentityIdManyToManyConnection'; +/** A connection to a list of `Identity` values, with data from `Claim`. */ +export type BlockIdentitiesByClaimUpdatedBlockIdAndIssuerIdManyToManyConnection = { + __typename?: 'BlockIdentitiesByClaimUpdatedBlockIdAndIssuerIdManyToManyConnection'; /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `StakingEvent`, and the cursor to aid in pagination. */ - edges: Array; + /** A list of edges which contains the `Identity`, info from the `Claim`, and the cursor to aid in pagination. */ + edges: Array; /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ groupedAggregates?: Maybe>; /** A list of `Identity` objects. */ @@ -24879,44 +26836,43 @@ export type BlockIdentitiesByStakingEventCreatedBlockIdAndIdentityIdManyToManyCo totalCount: Scalars['Int']['output']; }; -/** A connection to a list of `Identity` values, with data from `StakingEvent`. */ -export type BlockIdentitiesByStakingEventCreatedBlockIdAndIdentityIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `Identity` values, with data from `Claim`. */ +export type BlockIdentitiesByClaimUpdatedBlockIdAndIssuerIdManyToManyConnectionGroupedAggregatesArgs = { groupBy: Array; having?: InputMaybe; }; -/** A `Identity` edge in the connection, with data from `StakingEvent`. */ -export type BlockIdentitiesByStakingEventCreatedBlockIdAndIdentityIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByStakingEventCreatedBlockIdAndIdentityIdManyToManyEdge'; +/** A `Identity` edge in the connection, with data from `Claim`. */ +export type BlockIdentitiesByClaimUpdatedBlockIdAndIssuerIdManyToManyEdge = { + __typename?: 'BlockIdentitiesByClaimUpdatedBlockIdAndIssuerIdManyToManyEdge'; + /** Reads and enables pagination through a set of `Claim`. */ + claimsByIssuerId: ClaimsConnection; /** A cursor for use in pagination. */ cursor?: Maybe; /** The `Identity` at the end of the edge. */ node?: Maybe; - /** Reads and enables pagination through a set of `StakingEvent`. */ - stakingEvents: StakingEventsConnection; }; -/** A `Identity` edge in the connection, with data from `StakingEvent`. */ -export type BlockIdentitiesByStakingEventCreatedBlockIdAndIdentityIdManyToManyEdgeStakingEventsArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; +/** A `Identity` edge in the connection, with data from `Claim`. */ +export type BlockIdentitiesByClaimUpdatedBlockIdAndIssuerIdManyToManyEdgeClaimsByIssuerIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; -/** A connection to a list of `Identity` values, with data from `StakingEvent`. */ -export type BlockIdentitiesByStakingEventUpdatedBlockIdAndIdentityIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByStakingEventUpdatedBlockIdAndIdentityIdManyToManyConnection'; +/** A connection to a list of `Identity` values, with data from `Claim`. */ +export type BlockIdentitiesByClaimUpdatedBlockIdAndTargetIdManyToManyConnection = { + __typename?: 'BlockIdentitiesByClaimUpdatedBlockIdAndTargetIdManyToManyConnection'; /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `StakingEvent`, and the cursor to aid in pagination. */ - edges: Array; + /** A list of edges which contains the `Identity`, info from the `Claim`, and the cursor to aid in pagination. */ + edges: Array; /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ groupedAggregates?: Maybe>; /** A list of `Identity` objects. */ @@ -24927,44 +26883,43 @@ export type BlockIdentitiesByStakingEventUpdatedBlockIdAndIdentityIdManyToManyCo totalCount: Scalars['Int']['output']; }; -/** A connection to a list of `Identity` values, with data from `StakingEvent`. */ -export type BlockIdentitiesByStakingEventUpdatedBlockIdAndIdentityIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `Identity` values, with data from `Claim`. */ +export type BlockIdentitiesByClaimUpdatedBlockIdAndTargetIdManyToManyConnectionGroupedAggregatesArgs = { groupBy: Array; having?: InputMaybe; }; -/** A `Identity` edge in the connection, with data from `StakingEvent`. */ -export type BlockIdentitiesByStakingEventUpdatedBlockIdAndIdentityIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByStakingEventUpdatedBlockIdAndIdentityIdManyToManyEdge'; +/** A `Identity` edge in the connection, with data from `Claim`. */ +export type BlockIdentitiesByClaimUpdatedBlockIdAndTargetIdManyToManyEdge = { + __typename?: 'BlockIdentitiesByClaimUpdatedBlockIdAndTargetIdManyToManyEdge'; + /** Reads and enables pagination through a set of `Claim`. */ + claimsByTargetId: ClaimsConnection; /** A cursor for use in pagination. */ cursor?: Maybe; /** The `Identity` at the end of the edge. */ node?: Maybe; - /** Reads and enables pagination through a set of `StakingEvent`. */ - stakingEvents: StakingEventsConnection; }; -/** A `Identity` edge in the connection, with data from `StakingEvent`. */ -export type BlockIdentitiesByStakingEventUpdatedBlockIdAndIdentityIdManyToManyEdgeStakingEventsArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; +/** A `Identity` edge in the connection, with data from `Claim`. */ +export type BlockIdentitiesByClaimUpdatedBlockIdAndTargetIdManyToManyEdgeClaimsByTargetIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; -/** A connection to a list of `Identity` values, with data from `StatType`. */ -export type BlockIdentitiesByStatTypeCreatedBlockIdAndClaimIssuerIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByStatTypeCreatedBlockIdAndClaimIssuerIdManyToManyConnection'; +/** A connection to a list of `Identity` values, with data from `ConfidentialAccount`. */ +export type BlockIdentitiesByConfidentialAccountCreatedBlockIdAndCreatorIdManyToManyConnection = { + __typename?: 'BlockIdentitiesByConfidentialAccountCreatedBlockIdAndCreatorIdManyToManyConnection'; /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `StatType`, and the cursor to aid in pagination. */ - edges: Array; + /** A list of edges which contains the `Identity`, info from the `ConfidentialAccount`, and the cursor to aid in pagination. */ + edges: Array; /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ groupedAggregates?: Maybe>; /** A list of `Identity` objects. */ @@ -24975,44 +26930,44 @@ export type BlockIdentitiesByStatTypeCreatedBlockIdAndClaimIssuerIdManyToManyCon totalCount: Scalars['Int']['output']; }; -/** A connection to a list of `Identity` values, with data from `StatType`. */ -export type BlockIdentitiesByStatTypeCreatedBlockIdAndClaimIssuerIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `Identity` values, with data from `ConfidentialAccount`. */ +export type BlockIdentitiesByConfidentialAccountCreatedBlockIdAndCreatorIdManyToManyConnectionGroupedAggregatesArgs = { groupBy: Array; having?: InputMaybe; }; -/** A `Identity` edge in the connection, with data from `StatType`. */ -export type BlockIdentitiesByStatTypeCreatedBlockIdAndClaimIssuerIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByStatTypeCreatedBlockIdAndClaimIssuerIdManyToManyEdge'; +/** A `Identity` edge in the connection, with data from `ConfidentialAccount`. */ +export type BlockIdentitiesByConfidentialAccountCreatedBlockIdAndCreatorIdManyToManyEdge = { + __typename?: 'BlockIdentitiesByConfidentialAccountCreatedBlockIdAndCreatorIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialAccount`. */ + confidentialAccountsByCreatorId: ConfidentialAccountsConnection; /** A cursor for use in pagination. */ cursor?: Maybe; /** The `Identity` at the end of the edge. */ node?: Maybe; - /** Reads and enables pagination through a set of `StatType`. */ - statTypesByClaimIssuerId: StatTypesConnection; }; -/** A `Identity` edge in the connection, with data from `StatType`. */ -export type BlockIdentitiesByStatTypeCreatedBlockIdAndClaimIssuerIdManyToManyEdgeStatTypesByClaimIssuerIdArgs = +/** A `Identity` edge in the connection, with data from `ConfidentialAccount`. */ +export type BlockIdentitiesByConfidentialAccountCreatedBlockIdAndCreatorIdManyToManyEdgeConfidentialAccountsByCreatorIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; -/** A connection to a list of `Identity` values, with data from `StatType`. */ -export type BlockIdentitiesByStatTypeUpdatedBlockIdAndClaimIssuerIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByStatTypeUpdatedBlockIdAndClaimIssuerIdManyToManyConnection'; +/** A connection to a list of `Identity` values, with data from `ConfidentialAccount`. */ +export type BlockIdentitiesByConfidentialAccountUpdatedBlockIdAndCreatorIdManyToManyConnection = { + __typename?: 'BlockIdentitiesByConfidentialAccountUpdatedBlockIdAndCreatorIdManyToManyConnection'; /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `StatType`, and the cursor to aid in pagination. */ - edges: Array; + /** A list of edges which contains the `Identity`, info from the `ConfidentialAccount`, and the cursor to aid in pagination. */ + edges: Array; /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ groupedAggregates?: Maybe>; /** A list of `Identity` objects. */ @@ -25023,44 +26978,44 @@ export type BlockIdentitiesByStatTypeUpdatedBlockIdAndClaimIssuerIdManyToManyCon totalCount: Scalars['Int']['output']; }; -/** A connection to a list of `Identity` values, with data from `StatType`. */ -export type BlockIdentitiesByStatTypeUpdatedBlockIdAndClaimIssuerIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `Identity` values, with data from `ConfidentialAccount`. */ +export type BlockIdentitiesByConfidentialAccountUpdatedBlockIdAndCreatorIdManyToManyConnectionGroupedAggregatesArgs = { groupBy: Array; having?: InputMaybe; }; -/** A `Identity` edge in the connection, with data from `StatType`. */ -export type BlockIdentitiesByStatTypeUpdatedBlockIdAndClaimIssuerIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByStatTypeUpdatedBlockIdAndClaimIssuerIdManyToManyEdge'; +/** A `Identity` edge in the connection, with data from `ConfidentialAccount`. */ +export type BlockIdentitiesByConfidentialAccountUpdatedBlockIdAndCreatorIdManyToManyEdge = { + __typename?: 'BlockIdentitiesByConfidentialAccountUpdatedBlockIdAndCreatorIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialAccount`. */ + confidentialAccountsByCreatorId: ConfidentialAccountsConnection; /** A cursor for use in pagination. */ cursor?: Maybe; /** The `Identity` at the end of the edge. */ node?: Maybe; - /** Reads and enables pagination through a set of `StatType`. */ - statTypesByClaimIssuerId: StatTypesConnection; }; -/** A `Identity` edge in the connection, with data from `StatType`. */ -export type BlockIdentitiesByStatTypeUpdatedBlockIdAndClaimIssuerIdManyToManyEdgeStatTypesByClaimIssuerIdArgs = +/** A `Identity` edge in the connection, with data from `ConfidentialAccount`. */ +export type BlockIdentitiesByConfidentialAccountUpdatedBlockIdAndCreatorIdManyToManyEdgeConfidentialAccountsByCreatorIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; -/** A connection to a list of `Identity` values, with data from `Sto`. */ -export type BlockIdentitiesByStoCreatedBlockIdAndCreatorIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByStoCreatedBlockIdAndCreatorIdManyToManyConnection'; +/** A connection to a list of `Identity` values, with data from `ConfidentialAsset`. */ +export type BlockIdentitiesByConfidentialAssetCreatedBlockIdAndCreatorIdManyToManyConnection = { + __typename?: 'BlockIdentitiesByConfidentialAssetCreatedBlockIdAndCreatorIdManyToManyConnection'; /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `Sto`, and the cursor to aid in pagination. */ - edges: Array; + /** A list of edges which contains the `Identity`, info from the `ConfidentialAsset`, and the cursor to aid in pagination. */ + edges: Array; /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ groupedAggregates?: Maybe>; /** A list of `Identity` objects. */ @@ -25071,43 +27026,44 @@ export type BlockIdentitiesByStoCreatedBlockIdAndCreatorIdManyToManyConnection = totalCount: Scalars['Int']['output']; }; -/** A connection to a list of `Identity` values, with data from `Sto`. */ -export type BlockIdentitiesByStoCreatedBlockIdAndCreatorIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `Identity` values, with data from `ConfidentialAsset`. */ +export type BlockIdentitiesByConfidentialAssetCreatedBlockIdAndCreatorIdManyToManyConnectionGroupedAggregatesArgs = { groupBy: Array; having?: InputMaybe; }; -/** A `Identity` edge in the connection, with data from `Sto`. */ -export type BlockIdentitiesByStoCreatedBlockIdAndCreatorIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByStoCreatedBlockIdAndCreatorIdManyToManyEdge'; +/** A `Identity` edge in the connection, with data from `ConfidentialAsset`. */ +export type BlockIdentitiesByConfidentialAssetCreatedBlockIdAndCreatorIdManyToManyEdge = { + __typename?: 'BlockIdentitiesByConfidentialAssetCreatedBlockIdAndCreatorIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialAsset`. */ + confidentialAssetsByCreatorId: ConfidentialAssetsConnection; /** A cursor for use in pagination. */ cursor?: Maybe; /** The `Identity` at the end of the edge. */ node?: Maybe; - /** Reads and enables pagination through a set of `Sto`. */ - stosByCreatorId: StosConnection; }; -/** A `Identity` edge in the connection, with data from `Sto`. */ -export type BlockIdentitiesByStoCreatedBlockIdAndCreatorIdManyToManyEdgeStosByCreatorIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; +/** A `Identity` edge in the connection, with data from `ConfidentialAsset`. */ +export type BlockIdentitiesByConfidentialAssetCreatedBlockIdAndCreatorIdManyToManyEdgeConfidentialAssetsByCreatorIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; -/** A connection to a list of `Identity` values, with data from `Sto`. */ -export type BlockIdentitiesByStoUpdatedBlockIdAndCreatorIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByStoUpdatedBlockIdAndCreatorIdManyToManyConnection'; +/** A connection to a list of `Identity` values, with data from `ConfidentialAsset`. */ +export type BlockIdentitiesByConfidentialAssetUpdatedBlockIdAndCreatorIdManyToManyConnection = { + __typename?: 'BlockIdentitiesByConfidentialAssetUpdatedBlockIdAndCreatorIdManyToManyConnection'; /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `Sto`, and the cursor to aid in pagination. */ - edges: Array; + /** A list of edges which contains the `Identity`, info from the `ConfidentialAsset`, and the cursor to aid in pagination. */ + edges: Array; /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ groupedAggregates?: Maybe>; /** A list of `Identity` objects. */ @@ -25118,44 +27074,45 @@ export type BlockIdentitiesByStoUpdatedBlockIdAndCreatorIdManyToManyConnection = totalCount: Scalars['Int']['output']; }; -/** A connection to a list of `Identity` values, with data from `Sto`. */ -export type BlockIdentitiesByStoUpdatedBlockIdAndCreatorIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `Identity` values, with data from `ConfidentialAsset`. */ +export type BlockIdentitiesByConfidentialAssetUpdatedBlockIdAndCreatorIdManyToManyConnectionGroupedAggregatesArgs = { groupBy: Array; having?: InputMaybe; }; -/** A `Identity` edge in the connection, with data from `Sto`. */ -export type BlockIdentitiesByStoUpdatedBlockIdAndCreatorIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByStoUpdatedBlockIdAndCreatorIdManyToManyEdge'; +/** A `Identity` edge in the connection, with data from `ConfidentialAsset`. */ +export type BlockIdentitiesByConfidentialAssetUpdatedBlockIdAndCreatorIdManyToManyEdge = { + __typename?: 'BlockIdentitiesByConfidentialAssetUpdatedBlockIdAndCreatorIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialAsset`. */ + confidentialAssetsByCreatorId: ConfidentialAssetsConnection; /** A cursor for use in pagination. */ cursor?: Maybe; /** The `Identity` at the end of the edge. */ node?: Maybe; - /** Reads and enables pagination through a set of `Sto`. */ - stosByCreatorId: StosConnection; }; -/** A `Identity` edge in the connection, with data from `Sto`. */ -export type BlockIdentitiesByStoUpdatedBlockIdAndCreatorIdManyToManyEdgeStosByCreatorIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; +/** A `Identity` edge in the connection, with data from `ConfidentialAsset`. */ +export type BlockIdentitiesByConfidentialAssetUpdatedBlockIdAndCreatorIdManyToManyEdgeConfidentialAssetsByCreatorIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; -/** A connection to a list of `Identity` values, with data from `TickerExternalAgentAction`. */ -export type BlockIdentitiesByTickerExternalAgentActionCreatedBlockIdAndCallerIdManyToManyConnection = +/** A connection to a list of `Identity` values, with data from `ConfidentialTransactionAffirmation`. */ +export type BlockIdentitiesByConfidentialTransactionAffirmationCreatedBlockIdAndIdentityIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByTickerExternalAgentActionCreatedBlockIdAndCallerIdManyToManyConnection'; + __typename?: 'BlockIdentitiesByConfidentialTransactionAffirmationCreatedBlockIdAndIdentityIdManyToManyConnection'; /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `TickerExternalAgentAction`, and the cursor to aid in pagination. */ - edges: Array; + /** A list of edges which contains the `Identity`, info from the `ConfidentialTransactionAffirmation`, and the cursor to aid in pagination. */ + edges: Array; /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ groupedAggregates?: Maybe>; /** A list of `Identity` objects. */ @@ -25166,45 +27123,46 @@ export type BlockIdentitiesByTickerExternalAgentActionCreatedBlockIdAndCallerIdM totalCount: Scalars['Int']['output']; }; -/** A connection to a list of `Identity` values, with data from `TickerExternalAgentAction`. */ -export type BlockIdentitiesByTickerExternalAgentActionCreatedBlockIdAndCallerIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `Identity` values, with data from `ConfidentialTransactionAffirmation`. */ +export type BlockIdentitiesByConfidentialTransactionAffirmationCreatedBlockIdAndIdentityIdManyToManyConnectionGroupedAggregatesArgs = { groupBy: Array; having?: InputMaybe; }; -/** A `Identity` edge in the connection, with data from `TickerExternalAgentAction`. */ -export type BlockIdentitiesByTickerExternalAgentActionCreatedBlockIdAndCallerIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByTickerExternalAgentActionCreatedBlockIdAndCallerIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TickerExternalAgentAction`. */ - tickerExternalAgentActionsByCallerId: TickerExternalAgentActionsConnection; -}; +/** A `Identity` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ +export type BlockIdentitiesByConfidentialTransactionAffirmationCreatedBlockIdAndIdentityIdManyToManyEdge = + { + __typename?: 'BlockIdentitiesByConfidentialTransactionAffirmationCreatedBlockIdAndIdentityIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialTransactionAffirmation`. */ + confidentialTransactionAffirmations: ConfidentialTransactionAffirmationsConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Identity` at the end of the edge. */ + node?: Maybe; + }; -/** A `Identity` edge in the connection, with data from `TickerExternalAgentAction`. */ -export type BlockIdentitiesByTickerExternalAgentActionCreatedBlockIdAndCallerIdManyToManyEdgeTickerExternalAgentActionsByCallerIdArgs = +/** A `Identity` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ +export type BlockIdentitiesByConfidentialTransactionAffirmationCreatedBlockIdAndIdentityIdManyToManyEdgeConfidentialTransactionAffirmationsArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; -/** A connection to a list of `Identity` values, with data from `TickerExternalAgentAction`. */ -export type BlockIdentitiesByTickerExternalAgentActionUpdatedBlockIdAndCallerIdManyToManyConnection = +/** A connection to a list of `Identity` values, with data from `ConfidentialTransactionAffirmation`. */ +export type BlockIdentitiesByConfidentialTransactionAffirmationUpdatedBlockIdAndIdentityIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByTickerExternalAgentActionUpdatedBlockIdAndCallerIdManyToManyConnection'; + __typename?: 'BlockIdentitiesByConfidentialTransactionAffirmationUpdatedBlockIdAndIdentityIdManyToManyConnection'; /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `TickerExternalAgentAction`, and the cursor to aid in pagination. */ - edges: Array; + /** A list of edges which contains the `Identity`, info from the `ConfidentialTransactionAffirmation`, and the cursor to aid in pagination. */ + edges: Array; /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ groupedAggregates?: Maybe>; /** A list of `Identity` objects. */ @@ -25215,44 +27173,45 @@ export type BlockIdentitiesByTickerExternalAgentActionUpdatedBlockIdAndCallerIdM totalCount: Scalars['Int']['output']; }; -/** A connection to a list of `Identity` values, with data from `TickerExternalAgentAction`. */ -export type BlockIdentitiesByTickerExternalAgentActionUpdatedBlockIdAndCallerIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `Identity` values, with data from `ConfidentialTransactionAffirmation`. */ +export type BlockIdentitiesByConfidentialTransactionAffirmationUpdatedBlockIdAndIdentityIdManyToManyConnectionGroupedAggregatesArgs = { groupBy: Array; having?: InputMaybe; }; -/** A `Identity` edge in the connection, with data from `TickerExternalAgentAction`. */ -export type BlockIdentitiesByTickerExternalAgentActionUpdatedBlockIdAndCallerIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByTickerExternalAgentActionUpdatedBlockIdAndCallerIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TickerExternalAgentAction`. */ - tickerExternalAgentActionsByCallerId: TickerExternalAgentActionsConnection; -}; +/** A `Identity` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ +export type BlockIdentitiesByConfidentialTransactionAffirmationUpdatedBlockIdAndIdentityIdManyToManyEdge = + { + __typename?: 'BlockIdentitiesByConfidentialTransactionAffirmationUpdatedBlockIdAndIdentityIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialTransactionAffirmation`. */ + confidentialTransactionAffirmations: ConfidentialTransactionAffirmationsConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Identity` at the end of the edge. */ + node?: Maybe; + }; -/** A `Identity` edge in the connection, with data from `TickerExternalAgentAction`. */ -export type BlockIdentitiesByTickerExternalAgentActionUpdatedBlockIdAndCallerIdManyToManyEdgeTickerExternalAgentActionsByCallerIdArgs = +/** A `Identity` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ +export type BlockIdentitiesByConfidentialTransactionAffirmationUpdatedBlockIdAndIdentityIdManyToManyEdgeConfidentialTransactionAffirmationsArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; -/** A connection to a list of `Identity` values, with data from `TickerExternalAgent`. */ -export type BlockIdentitiesByTickerExternalAgentCreatedBlockIdAndCallerIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByTickerExternalAgentCreatedBlockIdAndCallerIdManyToManyConnection'; +/** A connection to a list of `Identity` values, with data from `ConfidentialVenue`. */ +export type BlockIdentitiesByConfidentialVenueCreatedBlockIdAndCreatorIdManyToManyConnection = { + __typename?: 'BlockIdentitiesByConfidentialVenueCreatedBlockIdAndCreatorIdManyToManyConnection'; /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `TickerExternalAgent`, and the cursor to aid in pagination. */ - edges: Array; + /** A list of edges which contains the `Identity`, info from the `ConfidentialVenue`, and the cursor to aid in pagination. */ + edges: Array; /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ groupedAggregates?: Maybe>; /** A list of `Identity` objects. */ @@ -25263,142 +27222,140 @@ export type BlockIdentitiesByTickerExternalAgentCreatedBlockIdAndCallerIdManyToM totalCount: Scalars['Int']['output']; }; -/** A connection to a list of `Identity` values, with data from `TickerExternalAgent`. */ -export type BlockIdentitiesByTickerExternalAgentCreatedBlockIdAndCallerIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `Identity` values, with data from `ConfidentialVenue`. */ +export type BlockIdentitiesByConfidentialVenueCreatedBlockIdAndCreatorIdManyToManyConnectionGroupedAggregatesArgs = { groupBy: Array; having?: InputMaybe; }; -/** A `Identity` edge in the connection, with data from `TickerExternalAgent`. */ -export type BlockIdentitiesByTickerExternalAgentCreatedBlockIdAndCallerIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByTickerExternalAgentCreatedBlockIdAndCallerIdManyToManyEdge'; +/** A `Identity` edge in the connection, with data from `ConfidentialVenue`. */ +export type BlockIdentitiesByConfidentialVenueCreatedBlockIdAndCreatorIdManyToManyEdge = { + __typename?: 'BlockIdentitiesByConfidentialVenueCreatedBlockIdAndCreatorIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialVenue`. */ + confidentialVenuesByCreatorId: ConfidentialVenuesConnection; /** A cursor for use in pagination. */ cursor?: Maybe; /** The `Identity` at the end of the edge. */ node?: Maybe; - /** Reads and enables pagination through a set of `TickerExternalAgent`. */ - tickerExternalAgentsByCallerId: TickerExternalAgentsConnection; }; -/** A `Identity` edge in the connection, with data from `TickerExternalAgent`. */ -export type BlockIdentitiesByTickerExternalAgentCreatedBlockIdAndCallerIdManyToManyEdgeTickerExternalAgentsByCallerIdArgs = +/** A `Identity` edge in the connection, with data from `ConfidentialVenue`. */ +export type BlockIdentitiesByConfidentialVenueCreatedBlockIdAndCreatorIdManyToManyEdgeConfidentialVenuesByCreatorIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; -/** A connection to a list of `Identity` values, with data from `TickerExternalAgentHistory`. */ -export type BlockIdentitiesByTickerExternalAgentHistoryCreatedBlockIdAndIdentityIdManyToManyConnection = - { - __typename?: 'BlockIdentitiesByTickerExternalAgentHistoryCreatedBlockIdAndIdentityIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `TickerExternalAgentHistory`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; +/** A connection to a list of `Identity` values, with data from `ConfidentialVenue`. */ +export type BlockIdentitiesByConfidentialVenueUpdatedBlockIdAndCreatorIdManyToManyConnection = { + __typename?: 'BlockIdentitiesByConfidentialVenueUpdatedBlockIdAndCreatorIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Identity`, info from the `ConfidentialVenue`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Identity` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Identity` you could get from the connection. */ + totalCount: Scalars['Int']['output']; +}; -/** A connection to a list of `Identity` values, with data from `TickerExternalAgentHistory`. */ -export type BlockIdentitiesByTickerExternalAgentHistoryCreatedBlockIdAndIdentityIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `Identity` values, with data from `ConfidentialVenue`. */ +export type BlockIdentitiesByConfidentialVenueUpdatedBlockIdAndCreatorIdManyToManyConnectionGroupedAggregatesArgs = { groupBy: Array; having?: InputMaybe; }; -/** A `Identity` edge in the connection, with data from `TickerExternalAgentHistory`. */ -export type BlockIdentitiesByTickerExternalAgentHistoryCreatedBlockIdAndIdentityIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByTickerExternalAgentHistoryCreatedBlockIdAndIdentityIdManyToManyEdge'; +/** A `Identity` edge in the connection, with data from `ConfidentialVenue`. */ +export type BlockIdentitiesByConfidentialVenueUpdatedBlockIdAndCreatorIdManyToManyEdge = { + __typename?: 'BlockIdentitiesByConfidentialVenueUpdatedBlockIdAndCreatorIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialVenue`. */ + confidentialVenuesByCreatorId: ConfidentialVenuesConnection; /** A cursor for use in pagination. */ cursor?: Maybe; /** The `Identity` at the end of the edge. */ node?: Maybe; - /** Reads and enables pagination through a set of `TickerExternalAgentHistory`. */ - tickerExternalAgentHistories: TickerExternalAgentHistoriesConnection; }; -/** A `Identity` edge in the connection, with data from `TickerExternalAgentHistory`. */ -export type BlockIdentitiesByTickerExternalAgentHistoryCreatedBlockIdAndIdentityIdManyToManyEdgeTickerExternalAgentHistoriesArgs = +/** A `Identity` edge in the connection, with data from `ConfidentialVenue`. */ +export type BlockIdentitiesByConfidentialVenueUpdatedBlockIdAndCreatorIdManyToManyEdgeConfidentialVenuesByCreatorIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; -/** A connection to a list of `Identity` values, with data from `TickerExternalAgentHistory`. */ -export type BlockIdentitiesByTickerExternalAgentHistoryUpdatedBlockIdAndIdentityIdManyToManyConnection = - { - __typename?: 'BlockIdentitiesByTickerExternalAgentHistoryUpdatedBlockIdAndIdentityIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `TickerExternalAgentHistory`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; +/** A connection to a list of `Identity` values, with data from `CustomClaimType`. */ +export type BlockIdentitiesByCustomClaimTypeCreatedBlockIdAndIdentityIdManyToManyConnection = { + __typename?: 'BlockIdentitiesByCustomClaimTypeCreatedBlockIdAndIdentityIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Identity`, info from the `CustomClaimType`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Identity` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Identity` you could get from the connection. */ + totalCount: Scalars['Int']['output']; +}; -/** A connection to a list of `Identity` values, with data from `TickerExternalAgentHistory`. */ -export type BlockIdentitiesByTickerExternalAgentHistoryUpdatedBlockIdAndIdentityIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `Identity` values, with data from `CustomClaimType`. */ +export type BlockIdentitiesByCustomClaimTypeCreatedBlockIdAndIdentityIdManyToManyConnectionGroupedAggregatesArgs = { groupBy: Array; having?: InputMaybe; }; -/** A `Identity` edge in the connection, with data from `TickerExternalAgentHistory`. */ -export type BlockIdentitiesByTickerExternalAgentHistoryUpdatedBlockIdAndIdentityIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByTickerExternalAgentHistoryUpdatedBlockIdAndIdentityIdManyToManyEdge'; +/** A `Identity` edge in the connection, with data from `CustomClaimType`. */ +export type BlockIdentitiesByCustomClaimTypeCreatedBlockIdAndIdentityIdManyToManyEdge = { + __typename?: 'BlockIdentitiesByCustomClaimTypeCreatedBlockIdAndIdentityIdManyToManyEdge'; /** A cursor for use in pagination. */ cursor?: Maybe; + /** Reads and enables pagination through a set of `CustomClaimType`. */ + customClaimTypes: CustomClaimTypesConnection; /** The `Identity` at the end of the edge. */ node?: Maybe; - /** Reads and enables pagination through a set of `TickerExternalAgentHistory`. */ - tickerExternalAgentHistories: TickerExternalAgentHistoriesConnection; }; -/** A `Identity` edge in the connection, with data from `TickerExternalAgentHistory`. */ -export type BlockIdentitiesByTickerExternalAgentHistoryUpdatedBlockIdAndIdentityIdManyToManyEdgeTickerExternalAgentHistoriesArgs = +/** A `Identity` edge in the connection, with data from `CustomClaimType`. */ +export type BlockIdentitiesByCustomClaimTypeCreatedBlockIdAndIdentityIdManyToManyEdgeCustomClaimTypesArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; -/** A connection to a list of `Identity` values, with data from `TickerExternalAgent`. */ -export type BlockIdentitiesByTickerExternalAgentUpdatedBlockIdAndCallerIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByTickerExternalAgentUpdatedBlockIdAndCallerIdManyToManyConnection'; +/** A connection to a list of `Identity` values, with data from `CustomClaimType`. */ +export type BlockIdentitiesByCustomClaimTypeUpdatedBlockIdAndIdentityIdManyToManyConnection = { + __typename?: 'BlockIdentitiesByCustomClaimTypeUpdatedBlockIdAndIdentityIdManyToManyConnection'; /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `TickerExternalAgent`, and the cursor to aid in pagination. */ - edges: Array; + /** A list of edges which contains the `Identity`, info from the `CustomClaimType`, and the cursor to aid in pagination. */ + edges: Array; /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ groupedAggregates?: Maybe>; /** A list of `Identity` objects. */ @@ -25409,142 +27366,140 @@ export type BlockIdentitiesByTickerExternalAgentUpdatedBlockIdAndCallerIdManyToM totalCount: Scalars['Int']['output']; }; -/** A connection to a list of `Identity` values, with data from `TickerExternalAgent`. */ -export type BlockIdentitiesByTickerExternalAgentUpdatedBlockIdAndCallerIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `Identity` values, with data from `CustomClaimType`. */ +export type BlockIdentitiesByCustomClaimTypeUpdatedBlockIdAndIdentityIdManyToManyConnectionGroupedAggregatesArgs = { groupBy: Array; having?: InputMaybe; }; -/** A `Identity` edge in the connection, with data from `TickerExternalAgent`. */ -export type BlockIdentitiesByTickerExternalAgentUpdatedBlockIdAndCallerIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByTickerExternalAgentUpdatedBlockIdAndCallerIdManyToManyEdge'; +/** A `Identity` edge in the connection, with data from `CustomClaimType`. */ +export type BlockIdentitiesByCustomClaimTypeUpdatedBlockIdAndIdentityIdManyToManyEdge = { + __typename?: 'BlockIdentitiesByCustomClaimTypeUpdatedBlockIdAndIdentityIdManyToManyEdge'; /** A cursor for use in pagination. */ cursor?: Maybe; + /** Reads and enables pagination through a set of `CustomClaimType`. */ + customClaimTypes: CustomClaimTypesConnection; /** The `Identity` at the end of the edge. */ node?: Maybe; - /** Reads and enables pagination through a set of `TickerExternalAgent`. */ - tickerExternalAgentsByCallerId: TickerExternalAgentsConnection; }; -/** A `Identity` edge in the connection, with data from `TickerExternalAgent`. */ -export type BlockIdentitiesByTickerExternalAgentUpdatedBlockIdAndCallerIdManyToManyEdgeTickerExternalAgentsByCallerIdArgs = +/** A `Identity` edge in the connection, with data from `CustomClaimType`. */ +export type BlockIdentitiesByCustomClaimTypeUpdatedBlockIdAndIdentityIdManyToManyEdgeCustomClaimTypesArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; -/** A connection to a list of `Identity` values, with data from `TransferCompliance`. */ -export type BlockIdentitiesByTransferComplianceCreatedBlockIdAndClaimIssuerIdManyToManyConnection = - { - __typename?: 'BlockIdentitiesByTransferComplianceCreatedBlockIdAndClaimIssuerIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `TransferCompliance`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; +/** A connection to a list of `Identity` values, with data from `Distribution`. */ +export type BlockIdentitiesByDistributionCreatedBlockIdAndIdentityIdManyToManyConnection = { + __typename?: 'BlockIdentitiesByDistributionCreatedBlockIdAndIdentityIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Identity`, info from the `Distribution`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Identity` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Identity` you could get from the connection. */ + totalCount: Scalars['Int']['output']; +}; -/** A connection to a list of `Identity` values, with data from `TransferCompliance`. */ -export type BlockIdentitiesByTransferComplianceCreatedBlockIdAndClaimIssuerIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `Identity` values, with data from `Distribution`. */ +export type BlockIdentitiesByDistributionCreatedBlockIdAndIdentityIdManyToManyConnectionGroupedAggregatesArgs = { groupBy: Array; having?: InputMaybe; }; -/** A `Identity` edge in the connection, with data from `TransferCompliance`. */ -export type BlockIdentitiesByTransferComplianceCreatedBlockIdAndClaimIssuerIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByTransferComplianceCreatedBlockIdAndClaimIssuerIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; +/** A `Identity` edge in the connection, with data from `Distribution`. */ +export type BlockIdentitiesByDistributionCreatedBlockIdAndIdentityIdManyToManyEdge = { + __typename?: 'BlockIdentitiesByDistributionCreatedBlockIdAndIdentityIdManyToManyEdge'; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** Reads and enables pagination through a set of `Distribution`. */ + distributions: DistributionsConnection; /** The `Identity` at the end of the edge. */ node?: Maybe; - /** Reads and enables pagination through a set of `TransferCompliance`. */ - transferCompliancesByClaimIssuerId: TransferCompliancesConnection; }; -/** A `Identity` edge in the connection, with data from `TransferCompliance`. */ -export type BlockIdentitiesByTransferComplianceCreatedBlockIdAndClaimIssuerIdManyToManyEdgeTransferCompliancesByClaimIssuerIdArgs = +/** A `Identity` edge in the connection, with data from `Distribution`. */ +export type BlockIdentitiesByDistributionCreatedBlockIdAndIdentityIdManyToManyEdgeDistributionsArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; -/** A connection to a list of `Identity` values, with data from `TransferCompliance`. */ -export type BlockIdentitiesByTransferComplianceUpdatedBlockIdAndClaimIssuerIdManyToManyConnection = - { - __typename?: 'BlockIdentitiesByTransferComplianceUpdatedBlockIdAndClaimIssuerIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `TransferCompliance`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; +/** A connection to a list of `Identity` values, with data from `DistributionPayment`. */ +export type BlockIdentitiesByDistributionPaymentCreatedBlockIdAndTargetIdManyToManyConnection = { + __typename?: 'BlockIdentitiesByDistributionPaymentCreatedBlockIdAndTargetIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Identity`, info from the `DistributionPayment`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Identity` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Identity` you could get from the connection. */ + totalCount: Scalars['Int']['output']; +}; -/** A connection to a list of `Identity` values, with data from `TransferCompliance`. */ -export type BlockIdentitiesByTransferComplianceUpdatedBlockIdAndClaimIssuerIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `Identity` values, with data from `DistributionPayment`. */ +export type BlockIdentitiesByDistributionPaymentCreatedBlockIdAndTargetIdManyToManyConnectionGroupedAggregatesArgs = { groupBy: Array; having?: InputMaybe; }; -/** A `Identity` edge in the connection, with data from `TransferCompliance`. */ -export type BlockIdentitiesByTransferComplianceUpdatedBlockIdAndClaimIssuerIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByTransferComplianceUpdatedBlockIdAndClaimIssuerIdManyToManyEdge'; +/** A `Identity` edge in the connection, with data from `DistributionPayment`. */ +export type BlockIdentitiesByDistributionPaymentCreatedBlockIdAndTargetIdManyToManyEdge = { + __typename?: 'BlockIdentitiesByDistributionPaymentCreatedBlockIdAndTargetIdManyToManyEdge'; /** A cursor for use in pagination. */ cursor?: Maybe; + /** Reads and enables pagination through a set of `DistributionPayment`. */ + distributionPaymentsByTargetId: DistributionPaymentsConnection; /** The `Identity` at the end of the edge. */ node?: Maybe; - /** Reads and enables pagination through a set of `TransferCompliance`. */ - transferCompliancesByClaimIssuerId: TransferCompliancesConnection; }; -/** A `Identity` edge in the connection, with data from `TransferCompliance`. */ -export type BlockIdentitiesByTransferComplianceUpdatedBlockIdAndClaimIssuerIdManyToManyEdgeTransferCompliancesByClaimIssuerIdArgs = +/** A `Identity` edge in the connection, with data from `DistributionPayment`. */ +export type BlockIdentitiesByDistributionPaymentCreatedBlockIdAndTargetIdManyToManyEdgeDistributionPaymentsByTargetIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; -/** A connection to a list of `Identity` values, with data from `Venue`. */ -export type BlockIdentitiesByVenueCreatedBlockIdAndOwnerIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByVenueCreatedBlockIdAndOwnerIdManyToManyConnection'; +/** A connection to a list of `Identity` values, with data from `DistributionPayment`. */ +export type BlockIdentitiesByDistributionPaymentUpdatedBlockIdAndTargetIdManyToManyConnection = { + __typename?: 'BlockIdentitiesByDistributionPaymentUpdatedBlockIdAndTargetIdManyToManyConnection'; /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `Venue`, and the cursor to aid in pagination. */ - edges: Array; + /** A list of edges which contains the `Identity`, info from the `DistributionPayment`, and the cursor to aid in pagination. */ + edges: Array; /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ groupedAggregates?: Maybe>; /** A list of `Identity` objects. */ @@ -25555,43 +27510,44 @@ export type BlockIdentitiesByVenueCreatedBlockIdAndOwnerIdManyToManyConnection = totalCount: Scalars['Int']['output']; }; -/** A connection to a list of `Identity` values, with data from `Venue`. */ -export type BlockIdentitiesByVenueCreatedBlockIdAndOwnerIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `Identity` values, with data from `DistributionPayment`. */ +export type BlockIdentitiesByDistributionPaymentUpdatedBlockIdAndTargetIdManyToManyConnectionGroupedAggregatesArgs = { groupBy: Array; having?: InputMaybe; }; -/** A `Identity` edge in the connection, with data from `Venue`. */ -export type BlockIdentitiesByVenueCreatedBlockIdAndOwnerIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByVenueCreatedBlockIdAndOwnerIdManyToManyEdge'; +/** A `Identity` edge in the connection, with data from `DistributionPayment`. */ +export type BlockIdentitiesByDistributionPaymentUpdatedBlockIdAndTargetIdManyToManyEdge = { + __typename?: 'BlockIdentitiesByDistributionPaymentUpdatedBlockIdAndTargetIdManyToManyEdge'; /** A cursor for use in pagination. */ cursor?: Maybe; + /** Reads and enables pagination through a set of `DistributionPayment`. */ + distributionPaymentsByTargetId: DistributionPaymentsConnection; /** The `Identity` at the end of the edge. */ node?: Maybe; - /** Reads and enables pagination through a set of `Venue`. */ - venuesByOwnerId: VenuesConnection; }; -/** A `Identity` edge in the connection, with data from `Venue`. */ -export type BlockIdentitiesByVenueCreatedBlockIdAndOwnerIdManyToManyEdgeVenuesByOwnerIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; +/** A `Identity` edge in the connection, with data from `DistributionPayment`. */ +export type BlockIdentitiesByDistributionPaymentUpdatedBlockIdAndTargetIdManyToManyEdgeDistributionPaymentsByTargetIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; -/** A connection to a list of `Identity` values, with data from `Venue`. */ -export type BlockIdentitiesByVenueUpdatedBlockIdAndOwnerIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByVenueUpdatedBlockIdAndOwnerIdManyToManyConnection'; +/** A connection to a list of `Identity` values, with data from `Distribution`. */ +export type BlockIdentitiesByDistributionUpdatedBlockIdAndIdentityIdManyToManyConnection = { + __typename?: 'BlockIdentitiesByDistributionUpdatedBlockIdAndIdentityIdManyToManyConnection'; /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `Venue`, and the cursor to aid in pagination. */ - edges: Array; + /** A list of edges which contains the `Identity`, info from the `Distribution`, and the cursor to aid in pagination. */ + edges: Array; /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ groupedAggregates?: Maybe>; /** A list of `Identity` objects. */ @@ -25602,507 +27558,266 @@ export type BlockIdentitiesByVenueUpdatedBlockIdAndOwnerIdManyToManyConnection = totalCount: Scalars['Int']['output']; }; -/** A connection to a list of `Identity` values, with data from `Venue`. */ -export type BlockIdentitiesByVenueUpdatedBlockIdAndOwnerIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `Identity` values, with data from `Distribution`. */ +export type BlockIdentitiesByDistributionUpdatedBlockIdAndIdentityIdManyToManyConnectionGroupedAggregatesArgs = { groupBy: Array; having?: InputMaybe; }; -/** A `Identity` edge in the connection, with data from `Venue`. */ -export type BlockIdentitiesByVenueUpdatedBlockIdAndOwnerIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByVenueUpdatedBlockIdAndOwnerIdManyToManyEdge'; +/** A `Identity` edge in the connection, with data from `Distribution`. */ +export type BlockIdentitiesByDistributionUpdatedBlockIdAndIdentityIdManyToManyEdge = { + __typename?: 'BlockIdentitiesByDistributionUpdatedBlockIdAndIdentityIdManyToManyEdge'; /** A cursor for use in pagination. */ cursor?: Maybe; + /** Reads and enables pagination through a set of `Distribution`. */ + distributions: DistributionsConnection; /** The `Identity` at the end of the edge. */ node?: Maybe; - /** Reads and enables pagination through a set of `Venue`. */ - venuesByOwnerId: VenuesConnection; -}; - -/** A `Identity` edge in the connection, with data from `Venue`. */ -export type BlockIdentitiesByVenueUpdatedBlockIdAndOwnerIdManyToManyEdgeVenuesByOwnerIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; }; -/** A connection to a list of `Instruction` values, with data from `AssetTransaction`. */ -export type BlockInstructionsByAssetTransactionCreatedBlockIdAndInstructionIdManyToManyConnection = +/** A `Identity` edge in the connection, with data from `Distribution`. */ +export type BlockIdentitiesByDistributionUpdatedBlockIdAndIdentityIdManyToManyEdgeDistributionsArgs = { - __typename?: 'BlockInstructionsByAssetTransactionCreatedBlockIdAndInstructionIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Instruction`, info from the `AssetTransaction`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Instruction` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Instruction` you could get from the connection. */ - totalCount: Scalars['Int']['output']; + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; }; -/** A connection to a list of `Instruction` values, with data from `AssetTransaction`. */ -export type BlockInstructionsByAssetTransactionCreatedBlockIdAndInstructionIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `Identity` values, with data from `Investment`. */ +export type BlockIdentitiesByInvestmentCreatedBlockIdAndInvestorIdManyToManyConnection = { + __typename?: 'BlockIdentitiesByInvestmentCreatedBlockIdAndInvestorIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Identity`, info from the `Investment`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Identity` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Identity` you could get from the connection. */ + totalCount: Scalars['Int']['output']; +}; + +/** A connection to a list of `Identity` values, with data from `Investment`. */ +export type BlockIdentitiesByInvestmentCreatedBlockIdAndInvestorIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; + groupBy: Array; + having?: InputMaybe; }; -/** A `Instruction` edge in the connection, with data from `AssetTransaction`. */ -export type BlockInstructionsByAssetTransactionCreatedBlockIdAndInstructionIdManyToManyEdge = { - __typename?: 'BlockInstructionsByAssetTransactionCreatedBlockIdAndInstructionIdManyToManyEdge'; - /** Reads and enables pagination through a set of `AssetTransaction`. */ - assetTransactions: AssetTransactionsConnection; +/** A `Identity` edge in the connection, with data from `Investment`. */ +export type BlockIdentitiesByInvestmentCreatedBlockIdAndInvestorIdManyToManyEdge = { + __typename?: 'BlockIdentitiesByInvestmentCreatedBlockIdAndInvestorIdManyToManyEdge'; /** A cursor for use in pagination. */ cursor?: Maybe; - /** The `Instruction` at the end of the edge. */ - node?: Maybe; + /** Reads and enables pagination through a set of `Investment`. */ + investmentsByInvestorId: InvestmentsConnection; + /** The `Identity` at the end of the edge. */ + node?: Maybe; }; -/** A `Instruction` edge in the connection, with data from `AssetTransaction`. */ -export type BlockInstructionsByAssetTransactionCreatedBlockIdAndInstructionIdManyToManyEdgeAssetTransactionsArgs = +/** A `Identity` edge in the connection, with data from `Investment`. */ +export type BlockIdentitiesByInvestmentCreatedBlockIdAndInvestorIdManyToManyEdgeInvestmentsByInvestorIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; -/** A connection to a list of `Instruction` values, with data from `AssetTransaction`. */ -export type BlockInstructionsByAssetTransactionUpdatedBlockIdAndInstructionIdManyToManyConnection = - { - __typename?: 'BlockInstructionsByAssetTransactionUpdatedBlockIdAndInstructionIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Instruction`, info from the `AssetTransaction`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Instruction` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Instruction` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; +/** A connection to a list of `Identity` values, with data from `Investment`. */ +export type BlockIdentitiesByInvestmentUpdatedBlockIdAndInvestorIdManyToManyConnection = { + __typename?: 'BlockIdentitiesByInvestmentUpdatedBlockIdAndInvestorIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Identity`, info from the `Investment`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Identity` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Identity` you could get from the connection. */ + totalCount: Scalars['Int']['output']; +}; -/** A connection to a list of `Instruction` values, with data from `AssetTransaction`. */ -export type BlockInstructionsByAssetTransactionUpdatedBlockIdAndInstructionIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `Identity` values, with data from `Investment`. */ +export type BlockIdentitiesByInvestmentUpdatedBlockIdAndInvestorIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; + groupBy: Array; + having?: InputMaybe; }; -/** A `Instruction` edge in the connection, with data from `AssetTransaction`. */ -export type BlockInstructionsByAssetTransactionUpdatedBlockIdAndInstructionIdManyToManyEdge = { - __typename?: 'BlockInstructionsByAssetTransactionUpdatedBlockIdAndInstructionIdManyToManyEdge'; - /** Reads and enables pagination through a set of `AssetTransaction`. */ - assetTransactions: AssetTransactionsConnection; +/** A `Identity` edge in the connection, with data from `Investment`. */ +export type BlockIdentitiesByInvestmentUpdatedBlockIdAndInvestorIdManyToManyEdge = { + __typename?: 'BlockIdentitiesByInvestmentUpdatedBlockIdAndInvestorIdManyToManyEdge'; /** A cursor for use in pagination. */ cursor?: Maybe; - /** The `Instruction` at the end of the edge. */ - node?: Maybe; + /** Reads and enables pagination through a set of `Investment`. */ + investmentsByInvestorId: InvestmentsConnection; + /** The `Identity` at the end of the edge. */ + node?: Maybe; }; -/** A `Instruction` edge in the connection, with data from `AssetTransaction`. */ -export type BlockInstructionsByAssetTransactionUpdatedBlockIdAndInstructionIdManyToManyEdgeAssetTransactionsArgs = +/** A `Identity` edge in the connection, with data from `Investment`. */ +export type BlockIdentitiesByInvestmentUpdatedBlockIdAndInvestorIdManyToManyEdgeInvestmentsByInvestorIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; -/** A connection to a list of `Instruction` values, with data from `Leg`. */ -export type BlockInstructionsByLegCreatedBlockIdAndInstructionIdManyToManyConnection = { - __typename?: 'BlockInstructionsByLegCreatedBlockIdAndInstructionIdManyToManyConnection'; +/** A connection to a list of `Identity` values, with data from `MultiSig`. */ +export type BlockIdentitiesByMultiSigCreatedBlockIdAndCreatorIdManyToManyConnection = { + __typename?: 'BlockIdentitiesByMultiSigCreatedBlockIdAndCreatorIdManyToManyConnection'; /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Instruction`, info from the `Leg`, and the cursor to aid in pagination. */ - edges: Array; + aggregates?: Maybe; + /** A list of edges which contains the `Identity`, info from the `MultiSig`, and the cursor to aid in pagination. */ + edges: Array; /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Instruction` objects. */ - nodes: Array>; + groupedAggregates?: Maybe>; + /** A list of `Identity` objects. */ + nodes: Array>; /** Information to aid in pagination. */ pageInfo: PageInfo; - /** The count of *all* `Instruction` you could get from the connection. */ + /** The count of *all* `Identity` you could get from the connection. */ totalCount: Scalars['Int']['output']; }; -/** A connection to a list of `Instruction` values, with data from `Leg`. */ -export type BlockInstructionsByLegCreatedBlockIdAndInstructionIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `Identity` values, with data from `MultiSig`. */ +export type BlockIdentitiesByMultiSigCreatedBlockIdAndCreatorIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; + groupBy: Array; + having?: InputMaybe; }; -/** A `Instruction` edge in the connection, with data from `Leg`. */ -export type BlockInstructionsByLegCreatedBlockIdAndInstructionIdManyToManyEdge = { - __typename?: 'BlockInstructionsByLegCreatedBlockIdAndInstructionIdManyToManyEdge'; +/** A `Identity` edge in the connection, with data from `MultiSig`. */ +export type BlockIdentitiesByMultiSigCreatedBlockIdAndCreatorIdManyToManyEdge = { + __typename?: 'BlockIdentitiesByMultiSigCreatedBlockIdAndCreatorIdManyToManyEdge'; /** A cursor for use in pagination. */ cursor?: Maybe; - /** Reads and enables pagination through a set of `Leg`. */ - legs: LegsConnection; - /** The `Instruction` at the end of the edge. */ - node?: Maybe; + /** Reads and enables pagination through a set of `MultiSig`. */ + multiSigsByCreatorId: MultiSigsConnection; + /** The `Identity` at the end of the edge. */ + node?: Maybe; }; -/** A `Instruction` edge in the connection, with data from `Leg`. */ -export type BlockInstructionsByLegCreatedBlockIdAndInstructionIdManyToManyEdgeLegsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; +/** A `Identity` edge in the connection, with data from `MultiSig`. */ +export type BlockIdentitiesByMultiSigCreatedBlockIdAndCreatorIdManyToManyEdgeMultiSigsByCreatorIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; -/** A connection to a list of `Instruction` values, with data from `Leg`. */ -export type BlockInstructionsByLegUpdatedBlockIdAndInstructionIdManyToManyConnection = { - __typename?: 'BlockInstructionsByLegUpdatedBlockIdAndInstructionIdManyToManyConnection'; +/** A connection to a list of `Identity` values, with data from `MultiSigProposal`. */ +export type BlockIdentitiesByMultiSigProposalCreatedBlockIdAndCreatorIdManyToManyConnection = { + __typename?: 'BlockIdentitiesByMultiSigProposalCreatedBlockIdAndCreatorIdManyToManyConnection'; /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Instruction`, info from the `Leg`, and the cursor to aid in pagination. */ - edges: Array; + aggregates?: Maybe; + /** A list of edges which contains the `Identity`, info from the `MultiSigProposal`, and the cursor to aid in pagination. */ + edges: Array; /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Instruction` objects. */ - nodes: Array>; + groupedAggregates?: Maybe>; + /** A list of `Identity` objects. */ + nodes: Array>; /** Information to aid in pagination. */ pageInfo: PageInfo; - /** The count of *all* `Instruction` you could get from the connection. */ + /** The count of *all* `Identity` you could get from the connection. */ totalCount: Scalars['Int']['output']; }; -/** A connection to a list of `Instruction` values, with data from `Leg`. */ -export type BlockInstructionsByLegUpdatedBlockIdAndInstructionIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `Identity` values, with data from `MultiSigProposal`. */ +export type BlockIdentitiesByMultiSigProposalCreatedBlockIdAndCreatorIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; + groupBy: Array; + having?: InputMaybe; }; -/** A `Instruction` edge in the connection, with data from `Leg`. */ -export type BlockInstructionsByLegUpdatedBlockIdAndInstructionIdManyToManyEdge = { - __typename?: 'BlockInstructionsByLegUpdatedBlockIdAndInstructionIdManyToManyEdge'; +/** A `Identity` edge in the connection, with data from `MultiSigProposal`. */ +export type BlockIdentitiesByMultiSigProposalCreatedBlockIdAndCreatorIdManyToManyEdge = { + __typename?: 'BlockIdentitiesByMultiSigProposalCreatedBlockIdAndCreatorIdManyToManyEdge'; /** A cursor for use in pagination. */ cursor?: Maybe; - /** Reads and enables pagination through a set of `Leg`. */ - legs: LegsConnection; - /** The `Instruction` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Instruction` edge in the connection, with data from `Leg`. */ -export type BlockInstructionsByLegUpdatedBlockIdAndInstructionIdManyToManyEdgeLegsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -export type BlockMaxAggregates = { - __typename?: 'BlockMaxAggregates'; - /** Maximum of blockId across the matching connection */ - blockId?: Maybe; - /** Maximum of countEvents across the matching connection */ - countEvents?: Maybe; - /** Maximum of countExtrinsics across the matching connection */ - countExtrinsics?: Maybe; - /** Maximum of countExtrinsicsError across the matching connection */ - countExtrinsicsError?: Maybe; - /** Maximum of countExtrinsicsSigned across the matching connection */ - countExtrinsicsSigned?: Maybe; - /** Maximum of countExtrinsicsSuccess across the matching connection */ - countExtrinsicsSuccess?: Maybe; - /** Maximum of countExtrinsicsUnsigned across the matching connection */ - countExtrinsicsUnsigned?: Maybe; - /** Maximum of parentId across the matching connection */ - parentId?: Maybe; - /** Maximum of specVersionId across the matching connection */ - specVersionId?: Maybe; -}; - -export type BlockMinAggregates = { - __typename?: 'BlockMinAggregates'; - /** Minimum of blockId across the matching connection */ - blockId?: Maybe; - /** Minimum of countEvents across the matching connection */ - countEvents?: Maybe; - /** Minimum of countExtrinsics across the matching connection */ - countExtrinsics?: Maybe; - /** Minimum of countExtrinsicsError across the matching connection */ - countExtrinsicsError?: Maybe; - /** Minimum of countExtrinsicsSigned across the matching connection */ - countExtrinsicsSigned?: Maybe; - /** Minimum of countExtrinsicsSuccess across the matching connection */ - countExtrinsicsSuccess?: Maybe; - /** Minimum of countExtrinsicsUnsigned across the matching connection */ - countExtrinsicsUnsigned?: Maybe; - /** Minimum of parentId across the matching connection */ - parentId?: Maybe; - /** Minimum of specVersionId across the matching connection */ - specVersionId?: Maybe; + /** Reads and enables pagination through a set of `MultiSigProposal`. */ + multiSigProposalsByCreatorId: MultiSigProposalsConnection; + /** The `Identity` at the end of the edge. */ + node?: Maybe; }; -/** A connection to a list of `MultiSigProposal` values, with data from `MultiSigProposalVote`. */ -export type BlockMultiSigProposalsByMultiSigProposalVoteCreatedBlockIdAndProposalIdManyToManyConnection = - { - __typename?: 'BlockMultiSigProposalsByMultiSigProposalVoteCreatedBlockIdAndProposalIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `MultiSigProposal`, info from the `MultiSigProposalVote`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `MultiSigProposal` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `MultiSigProposal` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `MultiSigProposal` values, with data from `MultiSigProposalVote`. */ -export type BlockMultiSigProposalsByMultiSigProposalVoteCreatedBlockIdAndProposalIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `MultiSigProposal` edge in the connection, with data from `MultiSigProposalVote`. */ -export type BlockMultiSigProposalsByMultiSigProposalVoteCreatedBlockIdAndProposalIdManyToManyEdge = - { - __typename?: 'BlockMultiSigProposalsByMultiSigProposalVoteCreatedBlockIdAndProposalIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `MultiSigProposal` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `MultiSigProposalVote`. */ - votes: MultiSigProposalVotesConnection; - }; - -/** A `MultiSigProposal` edge in the connection, with data from `MultiSigProposalVote`. */ -export type BlockMultiSigProposalsByMultiSigProposalVoteCreatedBlockIdAndProposalIdManyToManyEdgeVotesArgs = +/** A `Identity` edge in the connection, with data from `MultiSigProposal`. */ +export type BlockIdentitiesByMultiSigProposalCreatedBlockIdAndCreatorIdManyToManyEdgeMultiSigProposalsByCreatorIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; -/** A connection to a list of `MultiSigProposal` values, with data from `MultiSigProposalVote`. */ -export type BlockMultiSigProposalsByMultiSigProposalVoteUpdatedBlockIdAndProposalIdManyToManyConnection = - { - __typename?: 'BlockMultiSigProposalsByMultiSigProposalVoteUpdatedBlockIdAndProposalIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `MultiSigProposal`, info from the `MultiSigProposalVote`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `MultiSigProposal` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `MultiSigProposal` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `MultiSigProposal` values, with data from `MultiSigProposalVote`. */ -export type BlockMultiSigProposalsByMultiSigProposalVoteUpdatedBlockIdAndProposalIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `MultiSigProposal` edge in the connection, with data from `MultiSigProposalVote`. */ -export type BlockMultiSigProposalsByMultiSigProposalVoteUpdatedBlockIdAndProposalIdManyToManyEdge = - { - __typename?: 'BlockMultiSigProposalsByMultiSigProposalVoteUpdatedBlockIdAndProposalIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `MultiSigProposal` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `MultiSigProposalVote`. */ - votes: MultiSigProposalVotesConnection; - }; - -/** A `MultiSigProposal` edge in the connection, with data from `MultiSigProposalVote`. */ -export type BlockMultiSigProposalsByMultiSigProposalVoteUpdatedBlockIdAndProposalIdManyToManyEdgeVotesArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `MultiSigSigner` values, with data from `MultiSigProposalVote`. */ -export type BlockMultiSigSignersByMultiSigProposalVoteCreatedBlockIdAndSignerIdManyToManyConnection = - { - __typename?: 'BlockMultiSigSignersByMultiSigProposalVoteCreatedBlockIdAndSignerIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `MultiSigSigner`, info from the `MultiSigProposalVote`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `MultiSigSigner` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `MultiSigSigner` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `MultiSigSigner` values, with data from `MultiSigProposalVote`. */ -export type BlockMultiSigSignersByMultiSigProposalVoteCreatedBlockIdAndSignerIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `MultiSigSigner` edge in the connection, with data from `MultiSigProposalVote`. */ -export type BlockMultiSigSignersByMultiSigProposalVoteCreatedBlockIdAndSignerIdManyToManyEdge = { - __typename?: 'BlockMultiSigSignersByMultiSigProposalVoteCreatedBlockIdAndSignerIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `MultiSigSigner` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `MultiSigProposalVote`. */ - votes: MultiSigProposalVotesConnection; -}; - -/** A `MultiSigSigner` edge in the connection, with data from `MultiSigProposalVote`. */ -export type BlockMultiSigSignersByMultiSigProposalVoteCreatedBlockIdAndSignerIdManyToManyEdgeVotesArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `MultiSigSigner` values, with data from `MultiSigProposalVote`. */ -export type BlockMultiSigSignersByMultiSigProposalVoteUpdatedBlockIdAndSignerIdManyToManyConnection = - { - __typename?: 'BlockMultiSigSignersByMultiSigProposalVoteUpdatedBlockIdAndSignerIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `MultiSigSigner`, info from the `MultiSigProposalVote`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `MultiSigSigner` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `MultiSigSigner` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `MultiSigSigner` values, with data from `MultiSigProposalVote`. */ -export type BlockMultiSigSignersByMultiSigProposalVoteUpdatedBlockIdAndSignerIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `MultiSigSigner` edge in the connection, with data from `MultiSigProposalVote`. */ -export type BlockMultiSigSignersByMultiSigProposalVoteUpdatedBlockIdAndSignerIdManyToManyEdge = { - __typename?: 'BlockMultiSigSignersByMultiSigProposalVoteUpdatedBlockIdAndSignerIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `MultiSigSigner` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `MultiSigProposalVote`. */ - votes: MultiSigProposalVotesConnection; -}; - -/** A `MultiSigSigner` edge in the connection, with data from `MultiSigProposalVote`. */ -export type BlockMultiSigSignersByMultiSigProposalVoteUpdatedBlockIdAndSignerIdManyToManyEdgeVotesArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `MultiSig` values, with data from `MultiSigProposal`. */ -export type BlockMultiSigsByMultiSigProposalCreatedBlockIdAndMultisigIdManyToManyConnection = { - __typename?: 'BlockMultiSigsByMultiSigProposalCreatedBlockIdAndMultisigIdManyToManyConnection'; +/** A connection to a list of `Identity` values, with data from `MultiSigProposal`. */ +export type BlockIdentitiesByMultiSigProposalUpdatedBlockIdAndCreatorIdManyToManyConnection = { + __typename?: 'BlockIdentitiesByMultiSigProposalUpdatedBlockIdAndCreatorIdManyToManyConnection'; /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `MultiSig`, info from the `MultiSigProposal`, and the cursor to aid in pagination. */ - edges: Array; + aggregates?: Maybe; + /** A list of edges which contains the `Identity`, info from the `MultiSigProposal`, and the cursor to aid in pagination. */ + edges: Array; /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `MultiSig` objects. */ - nodes: Array>; + groupedAggregates?: Maybe>; + /** A list of `Identity` objects. */ + nodes: Array>; /** Information to aid in pagination. */ pageInfo: PageInfo; - /** The count of *all* `MultiSig` you could get from the connection. */ + /** The count of *all* `Identity` you could get from the connection. */ totalCount: Scalars['Int']['output']; }; -/** A connection to a list of `MultiSig` values, with data from `MultiSigProposal`. */ -export type BlockMultiSigsByMultiSigProposalCreatedBlockIdAndMultisigIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `Identity` values, with data from `MultiSigProposal`. */ +export type BlockIdentitiesByMultiSigProposalUpdatedBlockIdAndCreatorIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; + groupBy: Array; + having?: InputMaybe; }; -/** A `MultiSig` edge in the connection, with data from `MultiSigProposal`. */ -export type BlockMultiSigsByMultiSigProposalCreatedBlockIdAndMultisigIdManyToManyEdge = { - __typename?: 'BlockMultiSigsByMultiSigProposalCreatedBlockIdAndMultisigIdManyToManyEdge'; +/** A `Identity` edge in the connection, with data from `MultiSigProposal`. */ +export type BlockIdentitiesByMultiSigProposalUpdatedBlockIdAndCreatorIdManyToManyEdge = { + __typename?: 'BlockIdentitiesByMultiSigProposalUpdatedBlockIdAndCreatorIdManyToManyEdge'; /** A cursor for use in pagination. */ cursor?: Maybe; - /** The `MultiSig` at the end of the edge. */ - node?: Maybe; /** Reads and enables pagination through a set of `MultiSigProposal`. */ - proposals: MultiSigProposalsConnection; + multiSigProposalsByCreatorId: MultiSigProposalsConnection; + /** The `Identity` at the end of the edge. */ + node?: Maybe; }; -/** A `MultiSig` edge in the connection, with data from `MultiSigProposal`. */ -export type BlockMultiSigsByMultiSigProposalCreatedBlockIdAndMultisigIdManyToManyEdgeProposalsArgs = +/** A `Identity` edge in the connection, with data from `MultiSigProposal`. */ +export type BlockIdentitiesByMultiSigProposalUpdatedBlockIdAndCreatorIdManyToManyEdgeMultiSigProposalsByCreatorIdArgs = { after?: InputMaybe; before?: InputMaybe; @@ -26114,1233 +27829,1339 @@ export type BlockMultiSigsByMultiSigProposalCreatedBlockIdAndMultisigIdManyToMan orderBy?: InputMaybe>; }; -/** A connection to a list of `MultiSig` values, with data from `MultiSigProposal`. */ -export type BlockMultiSigsByMultiSigProposalUpdatedBlockIdAndMultisigIdManyToManyConnection = { - __typename?: 'BlockMultiSigsByMultiSigProposalUpdatedBlockIdAndMultisigIdManyToManyConnection'; +/** A connection to a list of `Identity` values, with data from `MultiSig`. */ +export type BlockIdentitiesByMultiSigUpdatedBlockIdAndCreatorIdManyToManyConnection = { + __typename?: 'BlockIdentitiesByMultiSigUpdatedBlockIdAndCreatorIdManyToManyConnection'; /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `MultiSig`, info from the `MultiSigProposal`, and the cursor to aid in pagination. */ - edges: Array; + aggregates?: Maybe; + /** A list of edges which contains the `Identity`, info from the `MultiSig`, and the cursor to aid in pagination. */ + edges: Array; /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `MultiSig` objects. */ - nodes: Array>; + groupedAggregates?: Maybe>; + /** A list of `Identity` objects. */ + nodes: Array>; /** Information to aid in pagination. */ pageInfo: PageInfo; - /** The count of *all* `MultiSig` you could get from the connection. */ + /** The count of *all* `Identity` you could get from the connection. */ totalCount: Scalars['Int']['output']; }; -/** A connection to a list of `MultiSig` values, with data from `MultiSigProposal`. */ -export type BlockMultiSigsByMultiSigProposalUpdatedBlockIdAndMultisigIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `Identity` values, with data from `MultiSig`. */ +export type BlockIdentitiesByMultiSigUpdatedBlockIdAndCreatorIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; + groupBy: Array; + having?: InputMaybe; }; -/** A `MultiSig` edge in the connection, with data from `MultiSigProposal`. */ -export type BlockMultiSigsByMultiSigProposalUpdatedBlockIdAndMultisigIdManyToManyEdge = { - __typename?: 'BlockMultiSigsByMultiSigProposalUpdatedBlockIdAndMultisigIdManyToManyEdge'; +/** A `Identity` edge in the connection, with data from `MultiSig`. */ +export type BlockIdentitiesByMultiSigUpdatedBlockIdAndCreatorIdManyToManyEdge = { + __typename?: 'BlockIdentitiesByMultiSigUpdatedBlockIdAndCreatorIdManyToManyEdge'; /** A cursor for use in pagination. */ cursor?: Maybe; - /** The `MultiSig` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `MultiSigProposal`. */ - proposals: MultiSigProposalsConnection; + /** Reads and enables pagination through a set of `MultiSig`. */ + multiSigsByCreatorId: MultiSigsConnection; + /** The `Identity` at the end of the edge. */ + node?: Maybe; }; -/** A `MultiSig` edge in the connection, with data from `MultiSigProposal`. */ -export type BlockMultiSigsByMultiSigProposalUpdatedBlockIdAndMultisigIdManyToManyEdgeProposalsArgs = +/** A `Identity` edge in the connection, with data from `MultiSig`. */ +export type BlockIdentitiesByMultiSigUpdatedBlockIdAndCreatorIdManyToManyEdgeMultiSigsByCreatorIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; -/** A connection to a list of `MultiSig` values, with data from `MultiSigSigner`. */ -export type BlockMultiSigsByMultiSigSignerCreatedBlockIdAndMultisigIdManyToManyConnection = { - __typename?: 'BlockMultiSigsByMultiSigSignerCreatedBlockIdAndMultisigIdManyToManyConnection'; +/** A connection to a list of `Identity` values, with data from `NftHolder`. */ +export type BlockIdentitiesByNftHolderCreatedBlockIdAndIdentityIdManyToManyConnection = { + __typename?: 'BlockIdentitiesByNftHolderCreatedBlockIdAndIdentityIdManyToManyConnection'; /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `MultiSig`, info from the `MultiSigSigner`, and the cursor to aid in pagination. */ - edges: Array; + aggregates?: Maybe; + /** A list of edges which contains the `Identity`, info from the `NftHolder`, and the cursor to aid in pagination. */ + edges: Array; /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `MultiSig` objects. */ - nodes: Array>; + groupedAggregates?: Maybe>; + /** A list of `Identity` objects. */ + nodes: Array>; /** Information to aid in pagination. */ pageInfo: PageInfo; - /** The count of *all* `MultiSig` you could get from the connection. */ + /** The count of *all* `Identity` you could get from the connection. */ totalCount: Scalars['Int']['output']; }; -/** A connection to a list of `MultiSig` values, with data from `MultiSigSigner`. */ -export type BlockMultiSigsByMultiSigSignerCreatedBlockIdAndMultisigIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `Identity` values, with data from `NftHolder`. */ +export type BlockIdentitiesByNftHolderCreatedBlockIdAndIdentityIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; + groupBy: Array; + having?: InputMaybe; }; -/** A `MultiSig` edge in the connection, with data from `MultiSigSigner`. */ -export type BlockMultiSigsByMultiSigSignerCreatedBlockIdAndMultisigIdManyToManyEdge = { - __typename?: 'BlockMultiSigsByMultiSigSignerCreatedBlockIdAndMultisigIdManyToManyEdge'; +/** A `Identity` edge in the connection, with data from `NftHolder`. */ +export type BlockIdentitiesByNftHolderCreatedBlockIdAndIdentityIdManyToManyEdge = { + __typename?: 'BlockIdentitiesByNftHolderCreatedBlockIdAndIdentityIdManyToManyEdge'; /** A cursor for use in pagination. */ cursor?: Maybe; - /** The `MultiSig` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `MultiSigSigner`. */ - signers: MultiSigSignersConnection; + /** Reads and enables pagination through a set of `NftHolder`. */ + heldNfts: NftHoldersConnection; + /** The `Identity` at the end of the edge. */ + node?: Maybe; }; -/** A `MultiSig` edge in the connection, with data from `MultiSigSigner`. */ -export type BlockMultiSigsByMultiSigSignerCreatedBlockIdAndMultisigIdManyToManyEdgeSignersArgs = { +/** A `Identity` edge in the connection, with data from `NftHolder`. */ +export type BlockIdentitiesByNftHolderCreatedBlockIdAndIdentityIdManyToManyEdgeHeldNftsArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; -/** A connection to a list of `MultiSig` values, with data from `MultiSigSigner`. */ -export type BlockMultiSigsByMultiSigSignerUpdatedBlockIdAndMultisigIdManyToManyConnection = { - __typename?: 'BlockMultiSigsByMultiSigSignerUpdatedBlockIdAndMultisigIdManyToManyConnection'; +/** A connection to a list of `Identity` values, with data from `NftHolder`. */ +export type BlockIdentitiesByNftHolderUpdatedBlockIdAndIdentityIdManyToManyConnection = { + __typename?: 'BlockIdentitiesByNftHolderUpdatedBlockIdAndIdentityIdManyToManyConnection'; /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `MultiSig`, info from the `MultiSigSigner`, and the cursor to aid in pagination. */ - edges: Array; + aggregates?: Maybe; + /** A list of edges which contains the `Identity`, info from the `NftHolder`, and the cursor to aid in pagination. */ + edges: Array; /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `MultiSig` objects. */ - nodes: Array>; + groupedAggregates?: Maybe>; + /** A list of `Identity` objects. */ + nodes: Array>; /** Information to aid in pagination. */ pageInfo: PageInfo; - /** The count of *all* `MultiSig` you could get from the connection. */ + /** The count of *all* `Identity` you could get from the connection. */ totalCount: Scalars['Int']['output']; }; -/** A connection to a list of `MultiSig` values, with data from `MultiSigSigner`. */ -export type BlockMultiSigsByMultiSigSignerUpdatedBlockIdAndMultisigIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `Identity` values, with data from `NftHolder`. */ +export type BlockIdentitiesByNftHolderUpdatedBlockIdAndIdentityIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; + groupBy: Array; + having?: InputMaybe; }; -/** A `MultiSig` edge in the connection, with data from `MultiSigSigner`. */ -export type BlockMultiSigsByMultiSigSignerUpdatedBlockIdAndMultisigIdManyToManyEdge = { - __typename?: 'BlockMultiSigsByMultiSigSignerUpdatedBlockIdAndMultisigIdManyToManyEdge'; +/** A `Identity` edge in the connection, with data from `NftHolder`. */ +export type BlockIdentitiesByNftHolderUpdatedBlockIdAndIdentityIdManyToManyEdge = { + __typename?: 'BlockIdentitiesByNftHolderUpdatedBlockIdAndIdentityIdManyToManyEdge'; /** A cursor for use in pagination. */ cursor?: Maybe; - /** The `MultiSig` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `MultiSigSigner`. */ - signers: MultiSigSignersConnection; + /** Reads and enables pagination through a set of `NftHolder`. */ + heldNfts: NftHoldersConnection; + /** The `Identity` at the end of the edge. */ + node?: Maybe; }; -/** A `MultiSig` edge in the connection, with data from `MultiSigSigner`. */ -export type BlockMultiSigsByMultiSigSignerUpdatedBlockIdAndMultisigIdManyToManyEdgeSignersArgs = { +/** A `Identity` edge in the connection, with data from `NftHolder`. */ +export type BlockIdentitiesByNftHolderUpdatedBlockIdAndIdentityIdManyToManyEdgeHeldNftsArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; -/** A connection to a list of `Permission` values, with data from `Account`. */ -export type BlockPermissionsByAccountCreatedBlockIdAndPermissionsIdManyToManyConnection = { - __typename?: 'BlockPermissionsByAccountCreatedBlockIdAndPermissionsIdManyToManyConnection'; +/** A connection to a list of `Identity` values, with data from `Portfolio`. */ +export type BlockIdentitiesByPortfolioCreatedBlockIdAndCustodianIdManyToManyConnection = { + __typename?: 'BlockIdentitiesByPortfolioCreatedBlockIdAndCustodianIdManyToManyConnection'; /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Permission`, info from the `Account`, and the cursor to aid in pagination. */ - edges: Array; + aggregates?: Maybe; + /** A list of edges which contains the `Identity`, info from the `Portfolio`, and the cursor to aid in pagination. */ + edges: Array; /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Permission` objects. */ - nodes: Array>; + groupedAggregates?: Maybe>; + /** A list of `Identity` objects. */ + nodes: Array>; /** Information to aid in pagination. */ pageInfo: PageInfo; - /** The count of *all* `Permission` you could get from the connection. */ + /** The count of *all* `Identity` you could get from the connection. */ totalCount: Scalars['Int']['output']; }; -/** A connection to a list of `Permission` values, with data from `Account`. */ -export type BlockPermissionsByAccountCreatedBlockIdAndPermissionsIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `Identity` values, with data from `Portfolio`. */ +export type BlockIdentitiesByPortfolioCreatedBlockIdAndCustodianIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; + groupBy: Array; + having?: InputMaybe; }; -/** A `Permission` edge in the connection, with data from `Account`. */ -export type BlockPermissionsByAccountCreatedBlockIdAndPermissionsIdManyToManyEdge = { - __typename?: 'BlockPermissionsByAccountCreatedBlockIdAndPermissionsIdManyToManyEdge'; - /** Reads and enables pagination through a set of `Account`. */ - accountsByPermissionsId: AccountsConnection; +/** A `Identity` edge in the connection, with data from `Portfolio`. */ +export type BlockIdentitiesByPortfolioCreatedBlockIdAndCustodianIdManyToManyEdge = { + __typename?: 'BlockIdentitiesByPortfolioCreatedBlockIdAndCustodianIdManyToManyEdge'; /** A cursor for use in pagination. */ cursor?: Maybe; - /** The `Permission` at the end of the edge. */ - node?: Maybe; + /** The `Identity` at the end of the edge. */ + node?: Maybe; + /** Reads and enables pagination through a set of `Portfolio`. */ + portfoliosByCustodianId: PortfoliosConnection; }; -/** A `Permission` edge in the connection, with data from `Account`. */ -export type BlockPermissionsByAccountCreatedBlockIdAndPermissionsIdManyToManyEdgeAccountsByPermissionsIdArgs = +/** A `Identity` edge in the connection, with data from `Portfolio`. */ +export type BlockIdentitiesByPortfolioCreatedBlockIdAndCustodianIdManyToManyEdgePortfoliosByCustodianIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; -/** A connection to a list of `Permission` values, with data from `Account`. */ -export type BlockPermissionsByAccountUpdatedBlockIdAndPermissionsIdManyToManyConnection = { - __typename?: 'BlockPermissionsByAccountUpdatedBlockIdAndPermissionsIdManyToManyConnection'; +/** A connection to a list of `Identity` values, with data from `Portfolio`. */ +export type BlockIdentitiesByPortfolioCreatedBlockIdAndIdentityIdManyToManyConnection = { + __typename?: 'BlockIdentitiesByPortfolioCreatedBlockIdAndIdentityIdManyToManyConnection'; /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Permission`, info from the `Account`, and the cursor to aid in pagination. */ - edges: Array; + aggregates?: Maybe; + /** A list of edges which contains the `Identity`, info from the `Portfolio`, and the cursor to aid in pagination. */ + edges: Array; /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Permission` objects. */ - nodes: Array>; + groupedAggregates?: Maybe>; + /** A list of `Identity` objects. */ + nodes: Array>; /** Information to aid in pagination. */ pageInfo: PageInfo; - /** The count of *all* `Permission` you could get from the connection. */ + /** The count of *all* `Identity` you could get from the connection. */ totalCount: Scalars['Int']['output']; }; -/** A connection to a list of `Permission` values, with data from `Account`. */ -export type BlockPermissionsByAccountUpdatedBlockIdAndPermissionsIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `Identity` values, with data from `Portfolio`. */ +export type BlockIdentitiesByPortfolioCreatedBlockIdAndIdentityIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; + groupBy: Array; + having?: InputMaybe; }; -/** A `Permission` edge in the connection, with data from `Account`. */ -export type BlockPermissionsByAccountUpdatedBlockIdAndPermissionsIdManyToManyEdge = { - __typename?: 'BlockPermissionsByAccountUpdatedBlockIdAndPermissionsIdManyToManyEdge'; - /** Reads and enables pagination through a set of `Account`. */ - accountsByPermissionsId: AccountsConnection; +/** A `Identity` edge in the connection, with data from `Portfolio`. */ +export type BlockIdentitiesByPortfolioCreatedBlockIdAndIdentityIdManyToManyEdge = { + __typename?: 'BlockIdentitiesByPortfolioCreatedBlockIdAndIdentityIdManyToManyEdge'; /** A cursor for use in pagination. */ cursor?: Maybe; - /** The `Permission` at the end of the edge. */ - node?: Maybe; + /** The `Identity` at the end of the edge. */ + node?: Maybe; + /** Reads and enables pagination through a set of `Portfolio`. */ + portfolios: PortfoliosConnection; }; -/** A `Permission` edge in the connection, with data from `Account`. */ -export type BlockPermissionsByAccountUpdatedBlockIdAndPermissionsIdManyToManyEdgeAccountsByPermissionsIdArgs = +/** A `Identity` edge in the connection, with data from `Portfolio`. */ +export type BlockIdentitiesByPortfolioCreatedBlockIdAndIdentityIdManyToManyEdgePortfoliosArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** A connection to a list of `Identity` values, with data from `Portfolio`. */ +export type BlockIdentitiesByPortfolioUpdatedBlockIdAndCustodianIdManyToManyConnection = { + __typename?: 'BlockIdentitiesByPortfolioUpdatedBlockIdAndCustodianIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Identity`, info from the `Portfolio`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Identity` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Identity` you could get from the connection. */ + totalCount: Scalars['Int']['output']; +}; + +/** A connection to a list of `Identity` values, with data from `Portfolio`. */ +export type BlockIdentitiesByPortfolioUpdatedBlockIdAndCustodianIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Identity` edge in the connection, with data from `Portfolio`. */ +export type BlockIdentitiesByPortfolioUpdatedBlockIdAndCustodianIdManyToManyEdge = { + __typename?: 'BlockIdentitiesByPortfolioUpdatedBlockIdAndCustodianIdManyToManyEdge'; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Identity` at the end of the edge. */ + node?: Maybe; + /** Reads and enables pagination through a set of `Portfolio`. */ + portfoliosByCustodianId: PortfoliosConnection; +}; + +/** A `Identity` edge in the connection, with data from `Portfolio`. */ +export type BlockIdentitiesByPortfolioUpdatedBlockIdAndCustodianIdManyToManyEdgePortfoliosByCustodianIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; -/** A connection to a list of `Portfolio` values, with data from `AssetTransaction`. */ -export type BlockPortfoliosByAssetTransactionCreatedBlockIdAndFromPortfolioIdManyToManyConnection = - { - __typename?: 'BlockPortfoliosByAssetTransactionCreatedBlockIdAndFromPortfolioIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Portfolio`, info from the `AssetTransaction`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Portfolio` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Portfolio` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; +/** A connection to a list of `Identity` values, with data from `Portfolio`. */ +export type BlockIdentitiesByPortfolioUpdatedBlockIdAndIdentityIdManyToManyConnection = { + __typename?: 'BlockIdentitiesByPortfolioUpdatedBlockIdAndIdentityIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Identity`, info from the `Portfolio`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Identity` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Identity` you could get from the connection. */ + totalCount: Scalars['Int']['output']; +}; -/** A connection to a list of `Portfolio` values, with data from `AssetTransaction`. */ -export type BlockPortfoliosByAssetTransactionCreatedBlockIdAndFromPortfolioIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `Identity` values, with data from `Portfolio`. */ +export type BlockIdentitiesByPortfolioUpdatedBlockIdAndIdentityIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; + groupBy: Array; + having?: InputMaybe; }; -/** A `Portfolio` edge in the connection, with data from `AssetTransaction`. */ -export type BlockPortfoliosByAssetTransactionCreatedBlockIdAndFromPortfolioIdManyToManyEdge = { - __typename?: 'BlockPortfoliosByAssetTransactionCreatedBlockIdAndFromPortfolioIdManyToManyEdge'; - /** Reads and enables pagination through a set of `AssetTransaction`. */ - assetTransactionsByFromPortfolioId: AssetTransactionsConnection; +/** A `Identity` edge in the connection, with data from `Portfolio`. */ +export type BlockIdentitiesByPortfolioUpdatedBlockIdAndIdentityIdManyToManyEdge = { + __typename?: 'BlockIdentitiesByPortfolioUpdatedBlockIdAndIdentityIdManyToManyEdge'; /** A cursor for use in pagination. */ cursor?: Maybe; - /** The `Portfolio` at the end of the edge. */ - node?: Maybe; + /** The `Identity` at the end of the edge. */ + node?: Maybe; + /** Reads and enables pagination through a set of `Portfolio`. */ + portfolios: PortfoliosConnection; }; -/** A `Portfolio` edge in the connection, with data from `AssetTransaction`. */ -export type BlockPortfoliosByAssetTransactionCreatedBlockIdAndFromPortfolioIdManyToManyEdgeAssetTransactionsByFromPortfolioIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; +/** A `Identity` edge in the connection, with data from `Portfolio`. */ +export type BlockIdentitiesByPortfolioUpdatedBlockIdAndIdentityIdManyToManyEdgePortfoliosArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; -/** A connection to a list of `Portfolio` values, with data from `AssetTransaction`. */ -export type BlockPortfoliosByAssetTransactionCreatedBlockIdAndToPortfolioIdManyToManyConnection = { - __typename?: 'BlockPortfoliosByAssetTransactionCreatedBlockIdAndToPortfolioIdManyToManyConnection'; +/** A connection to a list of `Identity` values, with data from `Proposal`. */ +export type BlockIdentitiesByProposalCreatedBlockIdAndOwnerIdManyToManyConnection = { + __typename?: 'BlockIdentitiesByProposalCreatedBlockIdAndOwnerIdManyToManyConnection'; /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Portfolio`, info from the `AssetTransaction`, and the cursor to aid in pagination. */ - edges: Array; + aggregates?: Maybe; + /** A list of edges which contains the `Identity`, info from the `Proposal`, and the cursor to aid in pagination. */ + edges: Array; /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Portfolio` objects. */ - nodes: Array>; + groupedAggregates?: Maybe>; + /** A list of `Identity` objects. */ + nodes: Array>; /** Information to aid in pagination. */ pageInfo: PageInfo; - /** The count of *all* `Portfolio` you could get from the connection. */ + /** The count of *all* `Identity` you could get from the connection. */ totalCount: Scalars['Int']['output']; }; -/** A connection to a list of `Portfolio` values, with data from `AssetTransaction`. */ -export type BlockPortfoliosByAssetTransactionCreatedBlockIdAndToPortfolioIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `Identity` values, with data from `Proposal`. */ +export type BlockIdentitiesByProposalCreatedBlockIdAndOwnerIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; + groupBy: Array; + having?: InputMaybe; }; -/** A `Portfolio` edge in the connection, with data from `AssetTransaction`. */ -export type BlockPortfoliosByAssetTransactionCreatedBlockIdAndToPortfolioIdManyToManyEdge = { - __typename?: 'BlockPortfoliosByAssetTransactionCreatedBlockIdAndToPortfolioIdManyToManyEdge'; - /** Reads and enables pagination through a set of `AssetTransaction`. */ - assetTransactionsByToPortfolioId: AssetTransactionsConnection; +/** A `Identity` edge in the connection, with data from `Proposal`. */ +export type BlockIdentitiesByProposalCreatedBlockIdAndOwnerIdManyToManyEdge = { + __typename?: 'BlockIdentitiesByProposalCreatedBlockIdAndOwnerIdManyToManyEdge'; /** A cursor for use in pagination. */ cursor?: Maybe; - /** The `Portfolio` at the end of the edge. */ - node?: Maybe; + /** The `Identity` at the end of the edge. */ + node?: Maybe; + /** Reads and enables pagination through a set of `Proposal`. */ + proposalsByOwnerId: ProposalsConnection; }; -/** A `Portfolio` edge in the connection, with data from `AssetTransaction`. */ -export type BlockPortfoliosByAssetTransactionCreatedBlockIdAndToPortfolioIdManyToManyEdgeAssetTransactionsByToPortfolioIdArgs = +/** A `Identity` edge in the connection, with data from `Proposal`. */ +export type BlockIdentitiesByProposalCreatedBlockIdAndOwnerIdManyToManyEdgeProposalsByOwnerIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; -/** A connection to a list of `Portfolio` values, with data from `AssetTransaction`. */ -export type BlockPortfoliosByAssetTransactionUpdatedBlockIdAndFromPortfolioIdManyToManyConnection = - { - __typename?: 'BlockPortfoliosByAssetTransactionUpdatedBlockIdAndFromPortfolioIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Portfolio`, info from the `AssetTransaction`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Portfolio` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Portfolio` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; +/** A connection to a list of `Identity` values, with data from `Proposal`. */ +export type BlockIdentitiesByProposalUpdatedBlockIdAndOwnerIdManyToManyConnection = { + __typename?: 'BlockIdentitiesByProposalUpdatedBlockIdAndOwnerIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Identity`, info from the `Proposal`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Identity` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Identity` you could get from the connection. */ + totalCount: Scalars['Int']['output']; +}; -/** A connection to a list of `Portfolio` values, with data from `AssetTransaction`. */ -export type BlockPortfoliosByAssetTransactionUpdatedBlockIdAndFromPortfolioIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `Identity` values, with data from `Proposal`. */ +export type BlockIdentitiesByProposalUpdatedBlockIdAndOwnerIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; + groupBy: Array; + having?: InputMaybe; }; -/** A `Portfolio` edge in the connection, with data from `AssetTransaction`. */ -export type BlockPortfoliosByAssetTransactionUpdatedBlockIdAndFromPortfolioIdManyToManyEdge = { - __typename?: 'BlockPortfoliosByAssetTransactionUpdatedBlockIdAndFromPortfolioIdManyToManyEdge'; - /** Reads and enables pagination through a set of `AssetTransaction`. */ - assetTransactionsByFromPortfolioId: AssetTransactionsConnection; +/** A `Identity` edge in the connection, with data from `Proposal`. */ +export type BlockIdentitiesByProposalUpdatedBlockIdAndOwnerIdManyToManyEdge = { + __typename?: 'BlockIdentitiesByProposalUpdatedBlockIdAndOwnerIdManyToManyEdge'; /** A cursor for use in pagination. */ cursor?: Maybe; - /** The `Portfolio` at the end of the edge. */ - node?: Maybe; + /** The `Identity` at the end of the edge. */ + node?: Maybe; + /** Reads and enables pagination through a set of `Proposal`. */ + proposalsByOwnerId: ProposalsConnection; }; -/** A `Portfolio` edge in the connection, with data from `AssetTransaction`. */ -export type BlockPortfoliosByAssetTransactionUpdatedBlockIdAndFromPortfolioIdManyToManyEdgeAssetTransactionsByFromPortfolioIdArgs = +/** A `Identity` edge in the connection, with data from `Proposal`. */ +export type BlockIdentitiesByProposalUpdatedBlockIdAndOwnerIdManyToManyEdgeProposalsByOwnerIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; -/** A connection to a list of `Portfolio` values, with data from `AssetTransaction`. */ -export type BlockPortfoliosByAssetTransactionUpdatedBlockIdAndToPortfolioIdManyToManyConnection = { - __typename?: 'BlockPortfoliosByAssetTransactionUpdatedBlockIdAndToPortfolioIdManyToManyConnection'; +/** A connection to a list of `Identity` values, with data from `StakingEvent`. */ +export type BlockIdentitiesByStakingEventCreatedBlockIdAndIdentityIdManyToManyConnection = { + __typename?: 'BlockIdentitiesByStakingEventCreatedBlockIdAndIdentityIdManyToManyConnection'; /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Portfolio`, info from the `AssetTransaction`, and the cursor to aid in pagination. */ - edges: Array; + aggregates?: Maybe; + /** A list of edges which contains the `Identity`, info from the `StakingEvent`, and the cursor to aid in pagination. */ + edges: Array; /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Portfolio` objects. */ - nodes: Array>; + groupedAggregates?: Maybe>; + /** A list of `Identity` objects. */ + nodes: Array>; /** Information to aid in pagination. */ pageInfo: PageInfo; - /** The count of *all* `Portfolio` you could get from the connection. */ + /** The count of *all* `Identity` you could get from the connection. */ totalCount: Scalars['Int']['output']; }; -/** A connection to a list of `Portfolio` values, with data from `AssetTransaction`. */ -export type BlockPortfoliosByAssetTransactionUpdatedBlockIdAndToPortfolioIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `Identity` values, with data from `StakingEvent`. */ +export type BlockIdentitiesByStakingEventCreatedBlockIdAndIdentityIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; + groupBy: Array; + having?: InputMaybe; }; -/** A `Portfolio` edge in the connection, with data from `AssetTransaction`. */ -export type BlockPortfoliosByAssetTransactionUpdatedBlockIdAndToPortfolioIdManyToManyEdge = { - __typename?: 'BlockPortfoliosByAssetTransactionUpdatedBlockIdAndToPortfolioIdManyToManyEdge'; - /** Reads and enables pagination through a set of `AssetTransaction`. */ - assetTransactionsByToPortfolioId: AssetTransactionsConnection; +/** A `Identity` edge in the connection, with data from `StakingEvent`. */ +export type BlockIdentitiesByStakingEventCreatedBlockIdAndIdentityIdManyToManyEdge = { + __typename?: 'BlockIdentitiesByStakingEventCreatedBlockIdAndIdentityIdManyToManyEdge'; /** A cursor for use in pagination. */ cursor?: Maybe; - /** The `Portfolio` at the end of the edge. */ - node?: Maybe; + /** The `Identity` at the end of the edge. */ + node?: Maybe; + /** Reads and enables pagination through a set of `StakingEvent`. */ + stakingEvents: StakingEventsConnection; }; -/** A `Portfolio` edge in the connection, with data from `AssetTransaction`. */ -export type BlockPortfoliosByAssetTransactionUpdatedBlockIdAndToPortfolioIdManyToManyEdgeAssetTransactionsByToPortfolioIdArgs = +/** A `Identity` edge in the connection, with data from `StakingEvent`. */ +export type BlockIdentitiesByStakingEventCreatedBlockIdAndIdentityIdManyToManyEdgeStakingEventsArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; -/** A connection to a list of `Portfolio` values, with data from `Distribution`. */ -export type BlockPortfoliosByDistributionCreatedBlockIdAndPortfolioIdManyToManyConnection = { - __typename?: 'BlockPortfoliosByDistributionCreatedBlockIdAndPortfolioIdManyToManyConnection'; +/** A connection to a list of `Identity` values, with data from `StakingEvent`. */ +export type BlockIdentitiesByStakingEventUpdatedBlockIdAndIdentityIdManyToManyConnection = { + __typename?: 'BlockIdentitiesByStakingEventUpdatedBlockIdAndIdentityIdManyToManyConnection'; /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Portfolio`, info from the `Distribution`, and the cursor to aid in pagination. */ - edges: Array; + aggregates?: Maybe; + /** A list of edges which contains the `Identity`, info from the `StakingEvent`, and the cursor to aid in pagination. */ + edges: Array; /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Portfolio` objects. */ - nodes: Array>; + groupedAggregates?: Maybe>; + /** A list of `Identity` objects. */ + nodes: Array>; /** Information to aid in pagination. */ pageInfo: PageInfo; - /** The count of *all* `Portfolio` you could get from the connection. */ + /** The count of *all* `Identity` you could get from the connection. */ totalCount: Scalars['Int']['output']; }; -/** A connection to a list of `Portfolio` values, with data from `Distribution`. */ -export type BlockPortfoliosByDistributionCreatedBlockIdAndPortfolioIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `Identity` values, with data from `StakingEvent`. */ +export type BlockIdentitiesByStakingEventUpdatedBlockIdAndIdentityIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; + groupBy: Array; + having?: InputMaybe; }; -/** A `Portfolio` edge in the connection, with data from `Distribution`. */ -export type BlockPortfoliosByDistributionCreatedBlockIdAndPortfolioIdManyToManyEdge = { - __typename?: 'BlockPortfoliosByDistributionCreatedBlockIdAndPortfolioIdManyToManyEdge'; +/** A `Identity` edge in the connection, with data from `StakingEvent`. */ +export type BlockIdentitiesByStakingEventUpdatedBlockIdAndIdentityIdManyToManyEdge = { + __typename?: 'BlockIdentitiesByStakingEventUpdatedBlockIdAndIdentityIdManyToManyEdge'; /** A cursor for use in pagination. */ cursor?: Maybe; - /** Reads and enables pagination through a set of `Distribution`. */ - distributions: DistributionsConnection; - /** The `Portfolio` at the end of the edge. */ - node?: Maybe; + /** The `Identity` at the end of the edge. */ + node?: Maybe; + /** Reads and enables pagination through a set of `StakingEvent`. */ + stakingEvents: StakingEventsConnection; }; -/** A `Portfolio` edge in the connection, with data from `Distribution`. */ -export type BlockPortfoliosByDistributionCreatedBlockIdAndPortfolioIdManyToManyEdgeDistributionsArgs = +/** A `Identity` edge in the connection, with data from `StakingEvent`. */ +export type BlockIdentitiesByStakingEventUpdatedBlockIdAndIdentityIdManyToManyEdgeStakingEventsArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; -/** A connection to a list of `Portfolio` values, with data from `Distribution`. */ -export type BlockPortfoliosByDistributionUpdatedBlockIdAndPortfolioIdManyToManyConnection = { - __typename?: 'BlockPortfoliosByDistributionUpdatedBlockIdAndPortfolioIdManyToManyConnection'; +/** A connection to a list of `Identity` values, with data from `StatType`. */ +export type BlockIdentitiesByStatTypeCreatedBlockIdAndClaimIssuerIdManyToManyConnection = { + __typename?: 'BlockIdentitiesByStatTypeCreatedBlockIdAndClaimIssuerIdManyToManyConnection'; /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Portfolio`, info from the `Distribution`, and the cursor to aid in pagination. */ - edges: Array; + aggregates?: Maybe; + /** A list of edges which contains the `Identity`, info from the `StatType`, and the cursor to aid in pagination. */ + edges: Array; /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Portfolio` objects. */ - nodes: Array>; + groupedAggregates?: Maybe>; + /** A list of `Identity` objects. */ + nodes: Array>; /** Information to aid in pagination. */ pageInfo: PageInfo; - /** The count of *all* `Portfolio` you could get from the connection. */ + /** The count of *all* `Identity` you could get from the connection. */ totalCount: Scalars['Int']['output']; }; -/** A connection to a list of `Portfolio` values, with data from `Distribution`. */ -export type BlockPortfoliosByDistributionUpdatedBlockIdAndPortfolioIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `Identity` values, with data from `StatType`. */ +export type BlockIdentitiesByStatTypeCreatedBlockIdAndClaimIssuerIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; + groupBy: Array; + having?: InputMaybe; }; -/** A `Portfolio` edge in the connection, with data from `Distribution`. */ -export type BlockPortfoliosByDistributionUpdatedBlockIdAndPortfolioIdManyToManyEdge = { - __typename?: 'BlockPortfoliosByDistributionUpdatedBlockIdAndPortfolioIdManyToManyEdge'; +/** A `Identity` edge in the connection, with data from `StatType`. */ +export type BlockIdentitiesByStatTypeCreatedBlockIdAndClaimIssuerIdManyToManyEdge = { + __typename?: 'BlockIdentitiesByStatTypeCreatedBlockIdAndClaimIssuerIdManyToManyEdge'; /** A cursor for use in pagination. */ cursor?: Maybe; - /** Reads and enables pagination through a set of `Distribution`. */ - distributions: DistributionsConnection; - /** The `Portfolio` at the end of the edge. */ - node?: Maybe; + /** The `Identity` at the end of the edge. */ + node?: Maybe; + /** Reads and enables pagination through a set of `StatType`. */ + statTypesByClaimIssuerId: StatTypesConnection; }; -/** A `Portfolio` edge in the connection, with data from `Distribution`. */ -export type BlockPortfoliosByDistributionUpdatedBlockIdAndPortfolioIdManyToManyEdgeDistributionsArgs = +/** A `Identity` edge in the connection, with data from `StatType`. */ +export type BlockIdentitiesByStatTypeCreatedBlockIdAndClaimIssuerIdManyToManyEdgeStatTypesByClaimIssuerIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; -/** A connection to a list of `Portfolio` values, with data from `Leg`. */ -export type BlockPortfoliosByLegCreatedBlockIdAndFromIdManyToManyConnection = { - __typename?: 'BlockPortfoliosByLegCreatedBlockIdAndFromIdManyToManyConnection'; +/** A connection to a list of `Identity` values, with data from `StatType`. */ +export type BlockIdentitiesByStatTypeUpdatedBlockIdAndClaimIssuerIdManyToManyConnection = { + __typename?: 'BlockIdentitiesByStatTypeUpdatedBlockIdAndClaimIssuerIdManyToManyConnection'; /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Portfolio`, info from the `Leg`, and the cursor to aid in pagination. */ - edges: Array; + aggregates?: Maybe; + /** A list of edges which contains the `Identity`, info from the `StatType`, and the cursor to aid in pagination. */ + edges: Array; /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Portfolio` objects. */ - nodes: Array>; + groupedAggregates?: Maybe>; + /** A list of `Identity` objects. */ + nodes: Array>; /** Information to aid in pagination. */ pageInfo: PageInfo; - /** The count of *all* `Portfolio` you could get from the connection. */ + /** The count of *all* `Identity` you could get from the connection. */ totalCount: Scalars['Int']['output']; }; -/** A connection to a list of `Portfolio` values, with data from `Leg`. */ -export type BlockPortfoliosByLegCreatedBlockIdAndFromIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; +/** A connection to a list of `Identity` values, with data from `StatType`. */ +export type BlockIdentitiesByStatTypeUpdatedBlockIdAndClaimIssuerIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; -/** A `Portfolio` edge in the connection, with data from `Leg`. */ -export type BlockPortfoliosByLegCreatedBlockIdAndFromIdManyToManyEdge = { - __typename?: 'BlockPortfoliosByLegCreatedBlockIdAndFromIdManyToManyEdge'; +/** A `Identity` edge in the connection, with data from `StatType`. */ +export type BlockIdentitiesByStatTypeUpdatedBlockIdAndClaimIssuerIdManyToManyEdge = { + __typename?: 'BlockIdentitiesByStatTypeUpdatedBlockIdAndClaimIssuerIdManyToManyEdge'; /** A cursor for use in pagination. */ cursor?: Maybe; - /** Reads and enables pagination through a set of `Leg`. */ - legsByFromId: LegsConnection; - /** The `Portfolio` at the end of the edge. */ - node?: Maybe; + /** The `Identity` at the end of the edge. */ + node?: Maybe; + /** Reads and enables pagination through a set of `StatType`. */ + statTypesByClaimIssuerId: StatTypesConnection; }; -/** A `Portfolio` edge in the connection, with data from `Leg`. */ -export type BlockPortfoliosByLegCreatedBlockIdAndFromIdManyToManyEdgeLegsByFromIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; +/** A `Identity` edge in the connection, with data from `StatType`. */ +export type BlockIdentitiesByStatTypeUpdatedBlockIdAndClaimIssuerIdManyToManyEdgeStatTypesByClaimIssuerIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; -/** A connection to a list of `Portfolio` values, with data from `Leg`. */ -export type BlockPortfoliosByLegCreatedBlockIdAndToIdManyToManyConnection = { - __typename?: 'BlockPortfoliosByLegCreatedBlockIdAndToIdManyToManyConnection'; +/** A connection to a list of `Identity` values, with data from `Sto`. */ +export type BlockIdentitiesByStoCreatedBlockIdAndCreatorIdManyToManyConnection = { + __typename?: 'BlockIdentitiesByStoCreatedBlockIdAndCreatorIdManyToManyConnection'; /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Portfolio`, info from the `Leg`, and the cursor to aid in pagination. */ - edges: Array; + aggregates?: Maybe; + /** A list of edges which contains the `Identity`, info from the `Sto`, and the cursor to aid in pagination. */ + edges: Array; /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Portfolio` objects. */ - nodes: Array>; + groupedAggregates?: Maybe>; + /** A list of `Identity` objects. */ + nodes: Array>; /** Information to aid in pagination. */ pageInfo: PageInfo; - /** The count of *all* `Portfolio` you could get from the connection. */ + /** The count of *all* `Identity` you could get from the connection. */ totalCount: Scalars['Int']['output']; }; -/** A connection to a list of `Portfolio` values, with data from `Leg`. */ -export type BlockPortfoliosByLegCreatedBlockIdAndToIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; +/** A connection to a list of `Identity` values, with data from `Sto`. */ +export type BlockIdentitiesByStoCreatedBlockIdAndCreatorIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; -/** A `Portfolio` edge in the connection, with data from `Leg`. */ -export type BlockPortfoliosByLegCreatedBlockIdAndToIdManyToManyEdge = { - __typename?: 'BlockPortfoliosByLegCreatedBlockIdAndToIdManyToManyEdge'; +/** A `Identity` edge in the connection, with data from `Sto`. */ +export type BlockIdentitiesByStoCreatedBlockIdAndCreatorIdManyToManyEdge = { + __typename?: 'BlockIdentitiesByStoCreatedBlockIdAndCreatorIdManyToManyEdge'; /** A cursor for use in pagination. */ cursor?: Maybe; - /** Reads and enables pagination through a set of `Leg`. */ - legsByToId: LegsConnection; - /** The `Portfolio` at the end of the edge. */ - node?: Maybe; + /** The `Identity` at the end of the edge. */ + node?: Maybe; + /** Reads and enables pagination through a set of `Sto`. */ + stosByCreatorId: StosConnection; }; -/** A `Portfolio` edge in the connection, with data from `Leg`. */ -export type BlockPortfoliosByLegCreatedBlockIdAndToIdManyToManyEdgeLegsByToIdArgs = { +/** A `Identity` edge in the connection, with data from `Sto`. */ +export type BlockIdentitiesByStoCreatedBlockIdAndCreatorIdManyToManyEdgeStosByCreatorIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; -/** A connection to a list of `Portfolio` values, with data from `Leg`. */ -export type BlockPortfoliosByLegUpdatedBlockIdAndFromIdManyToManyConnection = { - __typename?: 'BlockPortfoliosByLegUpdatedBlockIdAndFromIdManyToManyConnection'; +/** A connection to a list of `Identity` values, with data from `Sto`. */ +export type BlockIdentitiesByStoUpdatedBlockIdAndCreatorIdManyToManyConnection = { + __typename?: 'BlockIdentitiesByStoUpdatedBlockIdAndCreatorIdManyToManyConnection'; /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Portfolio`, info from the `Leg`, and the cursor to aid in pagination. */ - edges: Array; + aggregates?: Maybe; + /** A list of edges which contains the `Identity`, info from the `Sto`, and the cursor to aid in pagination. */ + edges: Array; /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Portfolio` objects. */ - nodes: Array>; + groupedAggregates?: Maybe>; + /** A list of `Identity` objects. */ + nodes: Array>; /** Information to aid in pagination. */ pageInfo: PageInfo; - /** The count of *all* `Portfolio` you could get from the connection. */ + /** The count of *all* `Identity` you could get from the connection. */ totalCount: Scalars['Int']['output']; }; -/** A connection to a list of `Portfolio` values, with data from `Leg`. */ -export type BlockPortfoliosByLegUpdatedBlockIdAndFromIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; +/** A connection to a list of `Identity` values, with data from `Sto`. */ +export type BlockIdentitiesByStoUpdatedBlockIdAndCreatorIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; -/** A `Portfolio` edge in the connection, with data from `Leg`. */ -export type BlockPortfoliosByLegUpdatedBlockIdAndFromIdManyToManyEdge = { - __typename?: 'BlockPortfoliosByLegUpdatedBlockIdAndFromIdManyToManyEdge'; +/** A `Identity` edge in the connection, with data from `Sto`. */ +export type BlockIdentitiesByStoUpdatedBlockIdAndCreatorIdManyToManyEdge = { + __typename?: 'BlockIdentitiesByStoUpdatedBlockIdAndCreatorIdManyToManyEdge'; /** A cursor for use in pagination. */ cursor?: Maybe; - /** Reads and enables pagination through a set of `Leg`. */ - legsByFromId: LegsConnection; - /** The `Portfolio` at the end of the edge. */ - node?: Maybe; + /** The `Identity` at the end of the edge. */ + node?: Maybe; + /** Reads and enables pagination through a set of `Sto`. */ + stosByCreatorId: StosConnection; }; -/** A `Portfolio` edge in the connection, with data from `Leg`. */ -export type BlockPortfoliosByLegUpdatedBlockIdAndFromIdManyToManyEdgeLegsByFromIdArgs = { +/** A `Identity` edge in the connection, with data from `Sto`. */ +export type BlockIdentitiesByStoUpdatedBlockIdAndCreatorIdManyToManyEdgeStosByCreatorIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; -/** A connection to a list of `Portfolio` values, with data from `Leg`. */ -export type BlockPortfoliosByLegUpdatedBlockIdAndToIdManyToManyConnection = { - __typename?: 'BlockPortfoliosByLegUpdatedBlockIdAndToIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Portfolio`, info from the `Leg`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Portfolio` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Portfolio` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; +/** A connection to a list of `Identity` values, with data from `TickerExternalAgentAction`. */ +export type BlockIdentitiesByTickerExternalAgentActionCreatedBlockIdAndCallerIdManyToManyConnection = + { + __typename?: 'BlockIdentitiesByTickerExternalAgentActionCreatedBlockIdAndCallerIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Identity`, info from the `TickerExternalAgentAction`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Identity` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Identity` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; -/** A connection to a list of `Portfolio` values, with data from `Leg`. */ -export type BlockPortfoliosByLegUpdatedBlockIdAndToIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; +/** A connection to a list of `Identity` values, with data from `TickerExternalAgentAction`. */ +export type BlockIdentitiesByTickerExternalAgentActionCreatedBlockIdAndCallerIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; -/** A `Portfolio` edge in the connection, with data from `Leg`. */ -export type BlockPortfoliosByLegUpdatedBlockIdAndToIdManyToManyEdge = { - __typename?: 'BlockPortfoliosByLegUpdatedBlockIdAndToIdManyToManyEdge'; +/** A `Identity` edge in the connection, with data from `TickerExternalAgentAction`. */ +export type BlockIdentitiesByTickerExternalAgentActionCreatedBlockIdAndCallerIdManyToManyEdge = { + __typename?: 'BlockIdentitiesByTickerExternalAgentActionCreatedBlockIdAndCallerIdManyToManyEdge'; /** A cursor for use in pagination. */ cursor?: Maybe; - /** Reads and enables pagination through a set of `Leg`. */ - legsByToId: LegsConnection; - /** The `Portfolio` at the end of the edge. */ - node?: Maybe; + /** The `Identity` at the end of the edge. */ + node?: Maybe; + /** Reads and enables pagination through a set of `TickerExternalAgentAction`. */ + tickerExternalAgentActionsByCallerId: TickerExternalAgentActionsConnection; }; -/** A `Portfolio` edge in the connection, with data from `Leg`. */ -export type BlockPortfoliosByLegUpdatedBlockIdAndToIdManyToManyEdgeLegsByToIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; +/** A `Identity` edge in the connection, with data from `TickerExternalAgentAction`. */ +export type BlockIdentitiesByTickerExternalAgentActionCreatedBlockIdAndCallerIdManyToManyEdgeTickerExternalAgentActionsByCallerIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; -/** A connection to a list of `Portfolio` values, with data from `PortfolioMovement`. */ -export type BlockPortfoliosByPortfolioMovementCreatedBlockIdAndFromIdManyToManyConnection = { - __typename?: 'BlockPortfoliosByPortfolioMovementCreatedBlockIdAndFromIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Portfolio`, info from the `PortfolioMovement`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Portfolio` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Portfolio` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; +/** A connection to a list of `Identity` values, with data from `TickerExternalAgentAction`. */ +export type BlockIdentitiesByTickerExternalAgentActionUpdatedBlockIdAndCallerIdManyToManyConnection = + { + __typename?: 'BlockIdentitiesByTickerExternalAgentActionUpdatedBlockIdAndCallerIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Identity`, info from the `TickerExternalAgentAction`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Identity` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Identity` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; -/** A connection to a list of `Portfolio` values, with data from `PortfolioMovement`. */ -export type BlockPortfoliosByPortfolioMovementCreatedBlockIdAndFromIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `Identity` values, with data from `TickerExternalAgentAction`. */ +export type BlockIdentitiesByTickerExternalAgentActionUpdatedBlockIdAndCallerIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; + groupBy: Array; + having?: InputMaybe; }; -/** A `Portfolio` edge in the connection, with data from `PortfolioMovement`. */ -export type BlockPortfoliosByPortfolioMovementCreatedBlockIdAndFromIdManyToManyEdge = { - __typename?: 'BlockPortfoliosByPortfolioMovementCreatedBlockIdAndFromIdManyToManyEdge'; +/** A `Identity` edge in the connection, with data from `TickerExternalAgentAction`. */ +export type BlockIdentitiesByTickerExternalAgentActionUpdatedBlockIdAndCallerIdManyToManyEdge = { + __typename?: 'BlockIdentitiesByTickerExternalAgentActionUpdatedBlockIdAndCallerIdManyToManyEdge'; /** A cursor for use in pagination. */ cursor?: Maybe; - /** The `Portfolio` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `PortfolioMovement`. */ - portfolioMovementsByFromId: PortfolioMovementsConnection; + /** The `Identity` at the end of the edge. */ + node?: Maybe; + /** Reads and enables pagination through a set of `TickerExternalAgentAction`. */ + tickerExternalAgentActionsByCallerId: TickerExternalAgentActionsConnection; }; -/** A `Portfolio` edge in the connection, with data from `PortfolioMovement`. */ -export type BlockPortfoliosByPortfolioMovementCreatedBlockIdAndFromIdManyToManyEdgePortfolioMovementsByFromIdArgs = +/** A `Identity` edge in the connection, with data from `TickerExternalAgentAction`. */ +export type BlockIdentitiesByTickerExternalAgentActionUpdatedBlockIdAndCallerIdManyToManyEdgeTickerExternalAgentActionsByCallerIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; -/** A connection to a list of `Portfolio` values, with data from `PortfolioMovement`. */ -export type BlockPortfoliosByPortfolioMovementCreatedBlockIdAndToIdManyToManyConnection = { - __typename?: 'BlockPortfoliosByPortfolioMovementCreatedBlockIdAndToIdManyToManyConnection'; +/** A connection to a list of `Identity` values, with data from `TickerExternalAgent`. */ +export type BlockIdentitiesByTickerExternalAgentCreatedBlockIdAndCallerIdManyToManyConnection = { + __typename?: 'BlockIdentitiesByTickerExternalAgentCreatedBlockIdAndCallerIdManyToManyConnection'; /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Portfolio`, info from the `PortfolioMovement`, and the cursor to aid in pagination. */ - edges: Array; + aggregates?: Maybe; + /** A list of edges which contains the `Identity`, info from the `TickerExternalAgent`, and the cursor to aid in pagination. */ + edges: Array; /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Portfolio` objects. */ - nodes: Array>; + groupedAggregates?: Maybe>; + /** A list of `Identity` objects. */ + nodes: Array>; /** Information to aid in pagination. */ pageInfo: PageInfo; - /** The count of *all* `Portfolio` you could get from the connection. */ + /** The count of *all* `Identity` you could get from the connection. */ totalCount: Scalars['Int']['output']; }; -/** A connection to a list of `Portfolio` values, with data from `PortfolioMovement`. */ -export type BlockPortfoliosByPortfolioMovementCreatedBlockIdAndToIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `Identity` values, with data from `TickerExternalAgent`. */ +export type BlockIdentitiesByTickerExternalAgentCreatedBlockIdAndCallerIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; + groupBy: Array; + having?: InputMaybe; }; -/** A `Portfolio` edge in the connection, with data from `PortfolioMovement`. */ -export type BlockPortfoliosByPortfolioMovementCreatedBlockIdAndToIdManyToManyEdge = { - __typename?: 'BlockPortfoliosByPortfolioMovementCreatedBlockIdAndToIdManyToManyEdge'; +/** A `Identity` edge in the connection, with data from `TickerExternalAgent`. */ +export type BlockIdentitiesByTickerExternalAgentCreatedBlockIdAndCallerIdManyToManyEdge = { + __typename?: 'BlockIdentitiesByTickerExternalAgentCreatedBlockIdAndCallerIdManyToManyEdge'; /** A cursor for use in pagination. */ cursor?: Maybe; - /** The `Portfolio` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `PortfolioMovement`. */ - portfolioMovementsByToId: PortfolioMovementsConnection; + /** The `Identity` at the end of the edge. */ + node?: Maybe; + /** Reads and enables pagination through a set of `TickerExternalAgent`. */ + tickerExternalAgentsByCallerId: TickerExternalAgentsConnection; }; -/** A `Portfolio` edge in the connection, with data from `PortfolioMovement`. */ -export type BlockPortfoliosByPortfolioMovementCreatedBlockIdAndToIdManyToManyEdgePortfolioMovementsByToIdArgs = +/** A `Identity` edge in the connection, with data from `TickerExternalAgent`. */ +export type BlockIdentitiesByTickerExternalAgentCreatedBlockIdAndCallerIdManyToManyEdgeTickerExternalAgentsByCallerIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; -/** A connection to a list of `Portfolio` values, with data from `PortfolioMovement`. */ -export type BlockPortfoliosByPortfolioMovementUpdatedBlockIdAndFromIdManyToManyConnection = { - __typename?: 'BlockPortfoliosByPortfolioMovementUpdatedBlockIdAndFromIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Portfolio`, info from the `PortfolioMovement`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Portfolio` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Portfolio` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; +/** A connection to a list of `Identity` values, with data from `TickerExternalAgentHistory`. */ +export type BlockIdentitiesByTickerExternalAgentHistoryCreatedBlockIdAndIdentityIdManyToManyConnection = + { + __typename?: 'BlockIdentitiesByTickerExternalAgentHistoryCreatedBlockIdAndIdentityIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Identity`, info from the `TickerExternalAgentHistory`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Identity` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Identity` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; -/** A connection to a list of `Portfolio` values, with data from `PortfolioMovement`. */ -export type BlockPortfoliosByPortfolioMovementUpdatedBlockIdAndFromIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `Identity` values, with data from `TickerExternalAgentHistory`. */ +export type BlockIdentitiesByTickerExternalAgentHistoryCreatedBlockIdAndIdentityIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; + groupBy: Array; + having?: InputMaybe; }; -/** A `Portfolio` edge in the connection, with data from `PortfolioMovement`. */ -export type BlockPortfoliosByPortfolioMovementUpdatedBlockIdAndFromIdManyToManyEdge = { - __typename?: 'BlockPortfoliosByPortfolioMovementUpdatedBlockIdAndFromIdManyToManyEdge'; +/** A `Identity` edge in the connection, with data from `TickerExternalAgentHistory`. */ +export type BlockIdentitiesByTickerExternalAgentHistoryCreatedBlockIdAndIdentityIdManyToManyEdge = { + __typename?: 'BlockIdentitiesByTickerExternalAgentHistoryCreatedBlockIdAndIdentityIdManyToManyEdge'; /** A cursor for use in pagination. */ cursor?: Maybe; - /** The `Portfolio` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `PortfolioMovement`. */ - portfolioMovementsByFromId: PortfolioMovementsConnection; + /** The `Identity` at the end of the edge. */ + node?: Maybe; + /** Reads and enables pagination through a set of `TickerExternalAgentHistory`. */ + tickerExternalAgentHistories: TickerExternalAgentHistoriesConnection; }; -/** A `Portfolio` edge in the connection, with data from `PortfolioMovement`. */ -export type BlockPortfoliosByPortfolioMovementUpdatedBlockIdAndFromIdManyToManyEdgePortfolioMovementsByFromIdArgs = +/** A `Identity` edge in the connection, with data from `TickerExternalAgentHistory`. */ +export type BlockIdentitiesByTickerExternalAgentHistoryCreatedBlockIdAndIdentityIdManyToManyEdgeTickerExternalAgentHistoriesArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; -/** A connection to a list of `Portfolio` values, with data from `PortfolioMovement`. */ -export type BlockPortfoliosByPortfolioMovementUpdatedBlockIdAndToIdManyToManyConnection = { - __typename?: 'BlockPortfoliosByPortfolioMovementUpdatedBlockIdAndToIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Portfolio`, info from the `PortfolioMovement`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Portfolio` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Portfolio` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; +/** A connection to a list of `Identity` values, with data from `TickerExternalAgentHistory`. */ +export type BlockIdentitiesByTickerExternalAgentHistoryUpdatedBlockIdAndIdentityIdManyToManyConnection = + { + __typename?: 'BlockIdentitiesByTickerExternalAgentHistoryUpdatedBlockIdAndIdentityIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Identity`, info from the `TickerExternalAgentHistory`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Identity` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Identity` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; -/** A connection to a list of `Portfolio` values, with data from `PortfolioMovement`. */ -export type BlockPortfoliosByPortfolioMovementUpdatedBlockIdAndToIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `Identity` values, with data from `TickerExternalAgentHistory`. */ +export type BlockIdentitiesByTickerExternalAgentHistoryUpdatedBlockIdAndIdentityIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; + groupBy: Array; + having?: InputMaybe; }; -/** A `Portfolio` edge in the connection, with data from `PortfolioMovement`. */ -export type BlockPortfoliosByPortfolioMovementUpdatedBlockIdAndToIdManyToManyEdge = { - __typename?: 'BlockPortfoliosByPortfolioMovementUpdatedBlockIdAndToIdManyToManyEdge'; +/** A `Identity` edge in the connection, with data from `TickerExternalAgentHistory`. */ +export type BlockIdentitiesByTickerExternalAgentHistoryUpdatedBlockIdAndIdentityIdManyToManyEdge = { + __typename?: 'BlockIdentitiesByTickerExternalAgentHistoryUpdatedBlockIdAndIdentityIdManyToManyEdge'; /** A cursor for use in pagination. */ cursor?: Maybe; - /** The `Portfolio` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `PortfolioMovement`. */ - portfolioMovementsByToId: PortfolioMovementsConnection; + /** The `Identity` at the end of the edge. */ + node?: Maybe; + /** Reads and enables pagination through a set of `TickerExternalAgentHistory`. */ + tickerExternalAgentHistories: TickerExternalAgentHistoriesConnection; }; -/** A `Portfolio` edge in the connection, with data from `PortfolioMovement`. */ -export type BlockPortfoliosByPortfolioMovementUpdatedBlockIdAndToIdManyToManyEdgePortfolioMovementsByToIdArgs = +/** A `Identity` edge in the connection, with data from `TickerExternalAgentHistory`. */ +export type BlockIdentitiesByTickerExternalAgentHistoryUpdatedBlockIdAndIdentityIdManyToManyEdgeTickerExternalAgentHistoriesArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; -/** A connection to a list of `Portfolio` values, with data from `Sto`. */ -export type BlockPortfoliosByStoCreatedBlockIdAndOfferingPortfolioIdManyToManyConnection = { - __typename?: 'BlockPortfoliosByStoCreatedBlockIdAndOfferingPortfolioIdManyToManyConnection'; +/** A connection to a list of `Identity` values, with data from `TickerExternalAgent`. */ +export type BlockIdentitiesByTickerExternalAgentUpdatedBlockIdAndCallerIdManyToManyConnection = { + __typename?: 'BlockIdentitiesByTickerExternalAgentUpdatedBlockIdAndCallerIdManyToManyConnection'; /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Portfolio`, info from the `Sto`, and the cursor to aid in pagination. */ - edges: Array; + aggregates?: Maybe; + /** A list of edges which contains the `Identity`, info from the `TickerExternalAgent`, and the cursor to aid in pagination. */ + edges: Array; /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Portfolio` objects. */ - nodes: Array>; + groupedAggregates?: Maybe>; + /** A list of `Identity` objects. */ + nodes: Array>; /** Information to aid in pagination. */ pageInfo: PageInfo; - /** The count of *all* `Portfolio` you could get from the connection. */ + /** The count of *all* `Identity` you could get from the connection. */ totalCount: Scalars['Int']['output']; }; -/** A connection to a list of `Portfolio` values, with data from `Sto`. */ -export type BlockPortfoliosByStoCreatedBlockIdAndOfferingPortfolioIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `Identity` values, with data from `TickerExternalAgent`. */ +export type BlockIdentitiesByTickerExternalAgentUpdatedBlockIdAndCallerIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; + groupBy: Array; + having?: InputMaybe; }; -/** A `Portfolio` edge in the connection, with data from `Sto`. */ -export type BlockPortfoliosByStoCreatedBlockIdAndOfferingPortfolioIdManyToManyEdge = { - __typename?: 'BlockPortfoliosByStoCreatedBlockIdAndOfferingPortfolioIdManyToManyEdge'; +/** A `Identity` edge in the connection, with data from `TickerExternalAgent`. */ +export type BlockIdentitiesByTickerExternalAgentUpdatedBlockIdAndCallerIdManyToManyEdge = { + __typename?: 'BlockIdentitiesByTickerExternalAgentUpdatedBlockIdAndCallerIdManyToManyEdge'; /** A cursor for use in pagination. */ cursor?: Maybe; - /** The `Portfolio` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Sto`. */ - stosByOfferingPortfolioId: StosConnection; + /** The `Identity` at the end of the edge. */ + node?: Maybe; + /** Reads and enables pagination through a set of `TickerExternalAgent`. */ + tickerExternalAgentsByCallerId: TickerExternalAgentsConnection; }; -/** A `Portfolio` edge in the connection, with data from `Sto`. */ -export type BlockPortfoliosByStoCreatedBlockIdAndOfferingPortfolioIdManyToManyEdgeStosByOfferingPortfolioIdArgs = +/** A `Identity` edge in the connection, with data from `TickerExternalAgent`. */ +export type BlockIdentitiesByTickerExternalAgentUpdatedBlockIdAndCallerIdManyToManyEdgeTickerExternalAgentsByCallerIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; -/** A connection to a list of `Portfolio` values, with data from `Sto`. */ -export type BlockPortfoliosByStoCreatedBlockIdAndRaisingPortfolioIdManyToManyConnection = { - __typename?: 'BlockPortfoliosByStoCreatedBlockIdAndRaisingPortfolioIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Portfolio`, info from the `Sto`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Portfolio` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Portfolio` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; +/** A connection to a list of `Identity` values, with data from `TransferCompliance`. */ +export type BlockIdentitiesByTransferComplianceCreatedBlockIdAndClaimIssuerIdManyToManyConnection = + { + __typename?: 'BlockIdentitiesByTransferComplianceCreatedBlockIdAndClaimIssuerIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Identity`, info from the `TransferCompliance`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Identity` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Identity` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; -/** A connection to a list of `Portfolio` values, with data from `Sto`. */ -export type BlockPortfoliosByStoCreatedBlockIdAndRaisingPortfolioIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `Identity` values, with data from `TransferCompliance`. */ +export type BlockIdentitiesByTransferComplianceCreatedBlockIdAndClaimIssuerIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; + groupBy: Array; + having?: InputMaybe; }; -/** A `Portfolio` edge in the connection, with data from `Sto`. */ -export type BlockPortfoliosByStoCreatedBlockIdAndRaisingPortfolioIdManyToManyEdge = { - __typename?: 'BlockPortfoliosByStoCreatedBlockIdAndRaisingPortfolioIdManyToManyEdge'; +/** A `Identity` edge in the connection, with data from `TransferCompliance`. */ +export type BlockIdentitiesByTransferComplianceCreatedBlockIdAndClaimIssuerIdManyToManyEdge = { + __typename?: 'BlockIdentitiesByTransferComplianceCreatedBlockIdAndClaimIssuerIdManyToManyEdge'; /** A cursor for use in pagination. */ cursor?: Maybe; - /** The `Portfolio` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Sto`. */ - stosByRaisingPortfolioId: StosConnection; + /** The `Identity` at the end of the edge. */ + node?: Maybe; + /** Reads and enables pagination through a set of `TransferCompliance`. */ + transferCompliancesByClaimIssuerId: TransferCompliancesConnection; }; -/** A `Portfolio` edge in the connection, with data from `Sto`. */ -export type BlockPortfoliosByStoCreatedBlockIdAndRaisingPortfolioIdManyToManyEdgeStosByRaisingPortfolioIdArgs = +/** A `Identity` edge in the connection, with data from `TransferCompliance`. */ +export type BlockIdentitiesByTransferComplianceCreatedBlockIdAndClaimIssuerIdManyToManyEdgeTransferCompliancesByClaimIssuerIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; -/** A connection to a list of `Portfolio` values, with data from `Sto`. */ -export type BlockPortfoliosByStoUpdatedBlockIdAndOfferingPortfolioIdManyToManyConnection = { - __typename?: 'BlockPortfoliosByStoUpdatedBlockIdAndOfferingPortfolioIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Portfolio`, info from the `Sto`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Portfolio` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Portfolio` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; +/** A connection to a list of `Identity` values, with data from `TransferCompliance`. */ +export type BlockIdentitiesByTransferComplianceUpdatedBlockIdAndClaimIssuerIdManyToManyConnection = + { + __typename?: 'BlockIdentitiesByTransferComplianceUpdatedBlockIdAndClaimIssuerIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Identity`, info from the `TransferCompliance`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Identity` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Identity` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; -/** A connection to a list of `Portfolio` values, with data from `Sto`. */ -export type BlockPortfoliosByStoUpdatedBlockIdAndOfferingPortfolioIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `Identity` values, with data from `TransferCompliance`. */ +export type BlockIdentitiesByTransferComplianceUpdatedBlockIdAndClaimIssuerIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; + groupBy: Array; + having?: InputMaybe; }; -/** A `Portfolio` edge in the connection, with data from `Sto`. */ -export type BlockPortfoliosByStoUpdatedBlockIdAndOfferingPortfolioIdManyToManyEdge = { - __typename?: 'BlockPortfoliosByStoUpdatedBlockIdAndOfferingPortfolioIdManyToManyEdge'; +/** A `Identity` edge in the connection, with data from `TransferCompliance`. */ +export type BlockIdentitiesByTransferComplianceUpdatedBlockIdAndClaimIssuerIdManyToManyEdge = { + __typename?: 'BlockIdentitiesByTransferComplianceUpdatedBlockIdAndClaimIssuerIdManyToManyEdge'; /** A cursor for use in pagination. */ cursor?: Maybe; - /** The `Portfolio` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Sto`. */ - stosByOfferingPortfolioId: StosConnection; + /** The `Identity` at the end of the edge. */ + node?: Maybe; + /** Reads and enables pagination through a set of `TransferCompliance`. */ + transferCompliancesByClaimIssuerId: TransferCompliancesConnection; }; -/** A `Portfolio` edge in the connection, with data from `Sto`. */ -export type BlockPortfoliosByStoUpdatedBlockIdAndOfferingPortfolioIdManyToManyEdgeStosByOfferingPortfolioIdArgs = +/** A `Identity` edge in the connection, with data from `TransferCompliance`. */ +export type BlockIdentitiesByTransferComplianceUpdatedBlockIdAndClaimIssuerIdManyToManyEdgeTransferCompliancesByClaimIssuerIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; -/** A connection to a list of `Portfolio` values, with data from `Sto`. */ -export type BlockPortfoliosByStoUpdatedBlockIdAndRaisingPortfolioIdManyToManyConnection = { - __typename?: 'BlockPortfoliosByStoUpdatedBlockIdAndRaisingPortfolioIdManyToManyConnection'; +/** A connection to a list of `Identity` values, with data from `Venue`. */ +export type BlockIdentitiesByVenueCreatedBlockIdAndOwnerIdManyToManyConnection = { + __typename?: 'BlockIdentitiesByVenueCreatedBlockIdAndOwnerIdManyToManyConnection'; /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Portfolio`, info from the `Sto`, and the cursor to aid in pagination. */ - edges: Array; + aggregates?: Maybe; + /** A list of edges which contains the `Identity`, info from the `Venue`, and the cursor to aid in pagination. */ + edges: Array; /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Portfolio` objects. */ - nodes: Array>; + groupedAggregates?: Maybe>; + /** A list of `Identity` objects. */ + nodes: Array>; /** Information to aid in pagination. */ pageInfo: PageInfo; - /** The count of *all* `Portfolio` you could get from the connection. */ + /** The count of *all* `Identity` you could get from the connection. */ totalCount: Scalars['Int']['output']; }; -/** A connection to a list of `Portfolio` values, with data from `Sto`. */ -export type BlockPortfoliosByStoUpdatedBlockIdAndRaisingPortfolioIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `Identity` values, with data from `Venue`. */ +export type BlockIdentitiesByVenueCreatedBlockIdAndOwnerIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; + groupBy: Array; + having?: InputMaybe; }; -/** A `Portfolio` edge in the connection, with data from `Sto`. */ -export type BlockPortfoliosByStoUpdatedBlockIdAndRaisingPortfolioIdManyToManyEdge = { - __typename?: 'BlockPortfoliosByStoUpdatedBlockIdAndRaisingPortfolioIdManyToManyEdge'; +/** A `Identity` edge in the connection, with data from `Venue`. */ +export type BlockIdentitiesByVenueCreatedBlockIdAndOwnerIdManyToManyEdge = { + __typename?: 'BlockIdentitiesByVenueCreatedBlockIdAndOwnerIdManyToManyEdge'; /** A cursor for use in pagination. */ cursor?: Maybe; - /** The `Portfolio` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Sto`. */ - stosByRaisingPortfolioId: StosConnection; + /** The `Identity` at the end of the edge. */ + node?: Maybe; + /** Reads and enables pagination through a set of `Venue`. */ + venuesByOwnerId: VenuesConnection; }; -/** A `Portfolio` edge in the connection, with data from `Sto`. */ -export type BlockPortfoliosByStoUpdatedBlockIdAndRaisingPortfolioIdManyToManyEdgeStosByRaisingPortfolioIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; +/** A `Identity` edge in the connection, with data from `Venue`. */ +export type BlockIdentitiesByVenueCreatedBlockIdAndOwnerIdManyToManyEdgeVenuesByOwnerIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; -/** A connection to a list of `Proposal` values, with data from `ProposalVote`. */ -export type BlockProposalsByProposalVoteCreatedBlockIdAndProposalIdManyToManyConnection = { - __typename?: 'BlockProposalsByProposalVoteCreatedBlockIdAndProposalIdManyToManyConnection'; +/** A connection to a list of `Identity` values, with data from `Venue`. */ +export type BlockIdentitiesByVenueUpdatedBlockIdAndOwnerIdManyToManyConnection = { + __typename?: 'BlockIdentitiesByVenueUpdatedBlockIdAndOwnerIdManyToManyConnection'; /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Proposal`, info from the `ProposalVote`, and the cursor to aid in pagination. */ - edges: Array; + aggregates?: Maybe; + /** A list of edges which contains the `Identity`, info from the `Venue`, and the cursor to aid in pagination. */ + edges: Array; /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Proposal` objects. */ - nodes: Array>; + groupedAggregates?: Maybe>; + /** A list of `Identity` objects. */ + nodes: Array>; /** Information to aid in pagination. */ pageInfo: PageInfo; - /** The count of *all* `Proposal` you could get from the connection. */ + /** The count of *all* `Identity` you could get from the connection. */ totalCount: Scalars['Int']['output']; }; -/** A connection to a list of `Proposal` values, with data from `ProposalVote`. */ -export type BlockProposalsByProposalVoteCreatedBlockIdAndProposalIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `Identity` values, with data from `Venue`. */ +export type BlockIdentitiesByVenueUpdatedBlockIdAndOwnerIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; + groupBy: Array; + having?: InputMaybe; }; -/** A `Proposal` edge in the connection, with data from `ProposalVote`. */ -export type BlockProposalsByProposalVoteCreatedBlockIdAndProposalIdManyToManyEdge = { - __typename?: 'BlockProposalsByProposalVoteCreatedBlockIdAndProposalIdManyToManyEdge'; +/** A `Identity` edge in the connection, with data from `Venue`. */ +export type BlockIdentitiesByVenueUpdatedBlockIdAndOwnerIdManyToManyEdge = { + __typename?: 'BlockIdentitiesByVenueUpdatedBlockIdAndOwnerIdManyToManyEdge'; /** A cursor for use in pagination. */ cursor?: Maybe; - /** The `Proposal` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `ProposalVote`. */ - votes: ProposalVotesConnection; + /** The `Identity` at the end of the edge. */ + node?: Maybe; + /** Reads and enables pagination through a set of `Venue`. */ + venuesByOwnerId: VenuesConnection; }; -/** A `Proposal` edge in the connection, with data from `ProposalVote`. */ -export type BlockProposalsByProposalVoteCreatedBlockIdAndProposalIdManyToManyEdgeVotesArgs = { +/** A `Identity` edge in the connection, with data from `Venue`. */ +export type BlockIdentitiesByVenueUpdatedBlockIdAndOwnerIdManyToManyEdgeVenuesByOwnerIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; -/** A connection to a list of `Proposal` values, with data from `ProposalVote`. */ -export type BlockProposalsByProposalVoteUpdatedBlockIdAndProposalIdManyToManyConnection = { - __typename?: 'BlockProposalsByProposalVoteUpdatedBlockIdAndProposalIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Proposal`, info from the `ProposalVote`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Proposal` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Proposal` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; +/** A connection to a list of `Instruction` values, with data from `AssetTransaction`. */ +export type BlockInstructionsByAssetTransactionCreatedBlockIdAndInstructionIdManyToManyConnection = + { + __typename?: 'BlockInstructionsByAssetTransactionCreatedBlockIdAndInstructionIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Instruction`, info from the `AssetTransaction`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Instruction` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Instruction` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; -/** A connection to a list of `Proposal` values, with data from `ProposalVote`. */ -export type BlockProposalsByProposalVoteUpdatedBlockIdAndProposalIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `Instruction` values, with data from `AssetTransaction`. */ +export type BlockInstructionsByAssetTransactionCreatedBlockIdAndInstructionIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; + groupBy: Array; + having?: InputMaybe; }; -/** A `Proposal` edge in the connection, with data from `ProposalVote`. */ -export type BlockProposalsByProposalVoteUpdatedBlockIdAndProposalIdManyToManyEdge = { - __typename?: 'BlockProposalsByProposalVoteUpdatedBlockIdAndProposalIdManyToManyEdge'; +/** A `Instruction` edge in the connection, with data from `AssetTransaction`. */ +export type BlockInstructionsByAssetTransactionCreatedBlockIdAndInstructionIdManyToManyEdge = { + __typename?: 'BlockInstructionsByAssetTransactionCreatedBlockIdAndInstructionIdManyToManyEdge'; + /** Reads and enables pagination through a set of `AssetTransaction`. */ + assetTransactions: AssetTransactionsConnection; /** A cursor for use in pagination. */ cursor?: Maybe; - /** The `Proposal` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `ProposalVote`. */ - votes: ProposalVotesConnection; + /** The `Instruction` at the end of the edge. */ + node?: Maybe; }; -/** A `Proposal` edge in the connection, with data from `ProposalVote`. */ -export type BlockProposalsByProposalVoteUpdatedBlockIdAndProposalIdManyToManyEdgeVotesArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; +/** A `Instruction` edge in the connection, with data from `AssetTransaction`. */ +export type BlockInstructionsByAssetTransactionCreatedBlockIdAndInstructionIdManyToManyEdgeAssetTransactionsArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `Instruction` values, with data from `AssetTransaction`. */ +export type BlockInstructionsByAssetTransactionUpdatedBlockIdAndInstructionIdManyToManyConnection = + { + __typename?: 'BlockInstructionsByAssetTransactionUpdatedBlockIdAndInstructionIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Instruction`, info from the `AssetTransaction`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Instruction` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Instruction` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; + +/** A connection to a list of `Instruction` values, with data from `AssetTransaction`. */ +export type BlockInstructionsByAssetTransactionUpdatedBlockIdAndInstructionIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Instruction` edge in the connection, with data from `AssetTransaction`. */ +export type BlockInstructionsByAssetTransactionUpdatedBlockIdAndInstructionIdManyToManyEdge = { + __typename?: 'BlockInstructionsByAssetTransactionUpdatedBlockIdAndInstructionIdManyToManyEdge'; + /** Reads and enables pagination through a set of `AssetTransaction`. */ + assetTransactions: AssetTransactionsConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Instruction` at the end of the edge. */ + node?: Maybe; }; -/** A connection to a list of `Settlement` values, with data from `Leg`. */ -export type BlockSettlementsByLegCreatedBlockIdAndSettlementIdManyToManyConnection = { - __typename?: 'BlockSettlementsByLegCreatedBlockIdAndSettlementIdManyToManyConnection'; +/** A `Instruction` edge in the connection, with data from `AssetTransaction`. */ +export type BlockInstructionsByAssetTransactionUpdatedBlockIdAndInstructionIdManyToManyEdgeAssetTransactionsArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `Instruction` values, with data from `Leg`. */ +export type BlockInstructionsByLegCreatedBlockIdAndInstructionIdManyToManyConnection = { + __typename?: 'BlockInstructionsByLegCreatedBlockIdAndInstructionIdManyToManyConnection'; /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Settlement`, info from the `Leg`, and the cursor to aid in pagination. */ - edges: Array; + aggregates?: Maybe; + /** A list of edges which contains the `Instruction`, info from the `Leg`, and the cursor to aid in pagination. */ + edges: Array; /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Settlement` objects. */ - nodes: Array>; + groupedAggregates?: Maybe>; + /** A list of `Instruction` objects. */ + nodes: Array>; /** Information to aid in pagination. */ pageInfo: PageInfo; - /** The count of *all* `Settlement` you could get from the connection. */ + /** The count of *all* `Instruction` you could get from the connection. */ totalCount: Scalars['Int']['output']; }; -/** A connection to a list of `Settlement` values, with data from `Leg`. */ -export type BlockSettlementsByLegCreatedBlockIdAndSettlementIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `Instruction` values, with data from `Leg`. */ +export type BlockInstructionsByLegCreatedBlockIdAndInstructionIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; + groupBy: Array; + having?: InputMaybe; }; -/** A `Settlement` edge in the connection, with data from `Leg`. */ -export type BlockSettlementsByLegCreatedBlockIdAndSettlementIdManyToManyEdge = { - __typename?: 'BlockSettlementsByLegCreatedBlockIdAndSettlementIdManyToManyEdge'; +/** A `Instruction` edge in the connection, with data from `Leg`. */ +export type BlockInstructionsByLegCreatedBlockIdAndInstructionIdManyToManyEdge = { + __typename?: 'BlockInstructionsByLegCreatedBlockIdAndInstructionIdManyToManyEdge'; /** A cursor for use in pagination. */ cursor?: Maybe; /** Reads and enables pagination through a set of `Leg`. */ legs: LegsConnection; - /** The `Settlement` at the end of the edge. */ - node?: Maybe; + /** The `Instruction` at the end of the edge. */ + node?: Maybe; }; -/** A `Settlement` edge in the connection, with data from `Leg`. */ -export type BlockSettlementsByLegCreatedBlockIdAndSettlementIdManyToManyEdgeLegsArgs = { +/** A `Instruction` edge in the connection, with data from `Leg`. */ +export type BlockInstructionsByLegCreatedBlockIdAndInstructionIdManyToManyEdgeLegsArgs = { after?: InputMaybe; before?: InputMaybe; distinct?: InputMaybe>>; @@ -27351,43 +29172,43 @@ export type BlockSettlementsByLegCreatedBlockIdAndSettlementIdManyToManyEdgeLegs orderBy?: InputMaybe>; }; -/** A connection to a list of `Settlement` values, with data from `Leg`. */ -export type BlockSettlementsByLegUpdatedBlockIdAndSettlementIdManyToManyConnection = { - __typename?: 'BlockSettlementsByLegUpdatedBlockIdAndSettlementIdManyToManyConnection'; +/** A connection to a list of `Instruction` values, with data from `Leg`. */ +export type BlockInstructionsByLegUpdatedBlockIdAndInstructionIdManyToManyConnection = { + __typename?: 'BlockInstructionsByLegUpdatedBlockIdAndInstructionIdManyToManyConnection'; /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Settlement`, info from the `Leg`, and the cursor to aid in pagination. */ - edges: Array; + aggregates?: Maybe; + /** A list of edges which contains the `Instruction`, info from the `Leg`, and the cursor to aid in pagination. */ + edges: Array; /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Settlement` objects. */ - nodes: Array>; + groupedAggregates?: Maybe>; + /** A list of `Instruction` objects. */ + nodes: Array>; /** Information to aid in pagination. */ pageInfo: PageInfo; - /** The count of *all* `Settlement` you could get from the connection. */ + /** The count of *all* `Instruction` you could get from the connection. */ totalCount: Scalars['Int']['output']; }; -/** A connection to a list of `Settlement` values, with data from `Leg`. */ -export type BlockSettlementsByLegUpdatedBlockIdAndSettlementIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `Instruction` values, with data from `Leg`. */ +export type BlockInstructionsByLegUpdatedBlockIdAndInstructionIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; + groupBy: Array; + having?: InputMaybe; }; -/** A `Settlement` edge in the connection, with data from `Leg`. */ -export type BlockSettlementsByLegUpdatedBlockIdAndSettlementIdManyToManyEdge = { - __typename?: 'BlockSettlementsByLegUpdatedBlockIdAndSettlementIdManyToManyEdge'; +/** A `Instruction` edge in the connection, with data from `Leg`. */ +export type BlockInstructionsByLegUpdatedBlockIdAndInstructionIdManyToManyEdge = { + __typename?: 'BlockInstructionsByLegUpdatedBlockIdAndInstructionIdManyToManyEdge'; /** A cursor for use in pagination. */ cursor?: Maybe; /** Reads and enables pagination through a set of `Leg`. */ legs: LegsConnection; - /** The `Settlement` at the end of the edge. */ - node?: Maybe; + /** The `Instruction` at the end of the edge. */ + node?: Maybe; }; -/** A `Settlement` edge in the connection, with data from `Leg`. */ -export type BlockSettlementsByLegUpdatedBlockIdAndSettlementIdManyToManyEdgeLegsArgs = { +/** A `Instruction` edge in the connection, with data from `Leg`. */ +export type BlockInstructionsByLegUpdatedBlockIdAndInstructionIdManyToManyEdgeLegsArgs = { after?: InputMaybe; before?: InputMaybe; distinct?: InputMaybe>>; @@ -27398,1413 +29219,3083 @@ export type BlockSettlementsByLegUpdatedBlockIdAndSettlementIdManyToManyEdgeLegs orderBy?: InputMaybe>; }; -/** A connection to a list of `StatType` values, with data from `TransferCompliance`. */ -export type BlockStatTypesByTransferComplianceCreatedBlockIdAndStatTypeIdManyToManyConnection = { - __typename?: 'BlockStatTypesByTransferComplianceCreatedBlockIdAndStatTypeIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `StatType`, info from the `TransferCompliance`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `StatType` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `StatType` you could get from the connection. */ - totalCount: Scalars['Int']['output']; +export type BlockMaxAggregates = { + __typename?: 'BlockMaxAggregates'; + /** Maximum of blockId across the matching connection */ + blockId?: Maybe; + /** Maximum of countEvents across the matching connection */ + countEvents?: Maybe; + /** Maximum of countExtrinsics across the matching connection */ + countExtrinsics?: Maybe; + /** Maximum of countExtrinsicsError across the matching connection */ + countExtrinsicsError?: Maybe; + /** Maximum of countExtrinsicsSigned across the matching connection */ + countExtrinsicsSigned?: Maybe; + /** Maximum of countExtrinsicsSuccess across the matching connection */ + countExtrinsicsSuccess?: Maybe; + /** Maximum of countExtrinsicsUnsigned across the matching connection */ + countExtrinsicsUnsigned?: Maybe; + /** Maximum of parentId across the matching connection */ + parentId?: Maybe; + /** Maximum of specVersionId across the matching connection */ + specVersionId?: Maybe; }; -/** A connection to a list of `StatType` values, with data from `TransferCompliance`. */ -export type BlockStatTypesByTransferComplianceCreatedBlockIdAndStatTypeIdManyToManyConnectionGroupedAggregatesArgs = +export type BlockMinAggregates = { + __typename?: 'BlockMinAggregates'; + /** Minimum of blockId across the matching connection */ + blockId?: Maybe; + /** Minimum of countEvents across the matching connection */ + countEvents?: Maybe; + /** Minimum of countExtrinsics across the matching connection */ + countExtrinsics?: Maybe; + /** Minimum of countExtrinsicsError across the matching connection */ + countExtrinsicsError?: Maybe; + /** Minimum of countExtrinsicsSigned across the matching connection */ + countExtrinsicsSigned?: Maybe; + /** Minimum of countExtrinsicsSuccess across the matching connection */ + countExtrinsicsSuccess?: Maybe; + /** Minimum of countExtrinsicsUnsigned across the matching connection */ + countExtrinsicsUnsigned?: Maybe; + /** Minimum of parentId across the matching connection */ + parentId?: Maybe; + /** Minimum of specVersionId across the matching connection */ + specVersionId?: Maybe; +}; + +/** A connection to a list of `MultiSigProposal` values, with data from `MultiSigProposalVote`. */ +export type BlockMultiSigProposalsByMultiSigProposalVoteCreatedBlockIdAndProposalIdManyToManyConnection = { - groupBy: Array; - having?: InputMaybe; + __typename?: 'BlockMultiSigProposalsByMultiSigProposalVoteCreatedBlockIdAndProposalIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `MultiSigProposal`, info from the `MultiSigProposalVote`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `MultiSigProposal` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `MultiSigProposal` you could get from the connection. */ + totalCount: Scalars['Int']['output']; }; -/** A `StatType` edge in the connection, with data from `TransferCompliance`. */ -export type BlockStatTypesByTransferComplianceCreatedBlockIdAndStatTypeIdManyToManyEdge = { - __typename?: 'BlockStatTypesByTransferComplianceCreatedBlockIdAndStatTypeIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `StatType` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TransferCompliance`. */ - transferCompliances: TransferCompliancesConnection; -}; +/** A connection to a list of `MultiSigProposal` values, with data from `MultiSigProposalVote`. */ +export type BlockMultiSigProposalsByMultiSigProposalVoteCreatedBlockIdAndProposalIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; -/** A `StatType` edge in the connection, with data from `TransferCompliance`. */ -export type BlockStatTypesByTransferComplianceCreatedBlockIdAndStatTypeIdManyToManyEdgeTransferCompliancesArgs = +/** A `MultiSigProposal` edge in the connection, with data from `MultiSigProposalVote`. */ +export type BlockMultiSigProposalsByMultiSigProposalVoteCreatedBlockIdAndProposalIdManyToManyEdge = + { + __typename?: 'BlockMultiSigProposalsByMultiSigProposalVoteCreatedBlockIdAndProposalIdManyToManyEdge'; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `MultiSigProposal` at the end of the edge. */ + node?: Maybe; + /** Reads and enables pagination through a set of `MultiSigProposalVote`. */ + votes: MultiSigProposalVotesConnection; + }; + +/** A `MultiSigProposal` edge in the connection, with data from `MultiSigProposalVote`. */ +export type BlockMultiSigProposalsByMultiSigProposalVoteCreatedBlockIdAndProposalIdManyToManyEdgeVotesArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; -/** A connection to a list of `StatType` values, with data from `TransferCompliance`. */ -export type BlockStatTypesByTransferComplianceUpdatedBlockIdAndStatTypeIdManyToManyConnection = { - __typename?: 'BlockStatTypesByTransferComplianceUpdatedBlockIdAndStatTypeIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `StatType`, info from the `TransferCompliance`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `StatType` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `StatType` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; +/** A connection to a list of `MultiSigProposal` values, with data from `MultiSigProposalVote`. */ +export type BlockMultiSigProposalsByMultiSigProposalVoteUpdatedBlockIdAndProposalIdManyToManyConnection = + { + __typename?: 'BlockMultiSigProposalsByMultiSigProposalVoteUpdatedBlockIdAndProposalIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `MultiSigProposal`, info from the `MultiSigProposalVote`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `MultiSigProposal` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `MultiSigProposal` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; -/** A connection to a list of `StatType` values, with data from `TransferCompliance`. */ -export type BlockStatTypesByTransferComplianceUpdatedBlockIdAndStatTypeIdManyToManyConnectionGroupedAggregatesArgs = +/** A connection to a list of `MultiSigProposal` values, with data from `MultiSigProposalVote`. */ +export type BlockMultiSigProposalsByMultiSigProposalVoteUpdatedBlockIdAndProposalIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; + groupBy: Array; + having?: InputMaybe; }; -/** A `StatType` edge in the connection, with data from `TransferCompliance`. */ -export type BlockStatTypesByTransferComplianceUpdatedBlockIdAndStatTypeIdManyToManyEdge = { - __typename?: 'BlockStatTypesByTransferComplianceUpdatedBlockIdAndStatTypeIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `StatType` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TransferCompliance`. */ - transferCompliances: TransferCompliancesConnection; -}; +/** A `MultiSigProposal` edge in the connection, with data from `MultiSigProposalVote`. */ +export type BlockMultiSigProposalsByMultiSigProposalVoteUpdatedBlockIdAndProposalIdManyToManyEdge = + { + __typename?: 'BlockMultiSigProposalsByMultiSigProposalVoteUpdatedBlockIdAndProposalIdManyToManyEdge'; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `MultiSigProposal` at the end of the edge. */ + node?: Maybe; + /** Reads and enables pagination through a set of `MultiSigProposalVote`. */ + votes: MultiSigProposalVotesConnection; + }; -/** A `StatType` edge in the connection, with data from `TransferCompliance`. */ -export type BlockStatTypesByTransferComplianceUpdatedBlockIdAndStatTypeIdManyToManyEdgeTransferCompliancesArgs = +/** A `MultiSigProposal` edge in the connection, with data from `MultiSigProposalVote`. */ +export type BlockMultiSigProposalsByMultiSigProposalVoteUpdatedBlockIdAndProposalIdManyToManyEdgeVotesArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; -export type BlockStddevPopulationAggregates = { - __typename?: 'BlockStddevPopulationAggregates'; - /** Population standard deviation of blockId across the matching connection */ - blockId?: Maybe; - /** Population standard deviation of countEvents across the matching connection */ - countEvents?: Maybe; - /** Population standard deviation of countExtrinsics across the matching connection */ - countExtrinsics?: Maybe; - /** Population standard deviation of countExtrinsicsError across the matching connection */ - countExtrinsicsError?: Maybe; - /** Population standard deviation of countExtrinsicsSigned across the matching connection */ - countExtrinsicsSigned?: Maybe; - /** Population standard deviation of countExtrinsicsSuccess across the matching connection */ - countExtrinsicsSuccess?: Maybe; - /** Population standard deviation of countExtrinsicsUnsigned across the matching connection */ - countExtrinsicsUnsigned?: Maybe; - /** Population standard deviation of parentId across the matching connection */ - parentId?: Maybe; - /** Population standard deviation of specVersionId across the matching connection */ - specVersionId?: Maybe; -}; +/** A connection to a list of `MultiSigSigner` values, with data from `MultiSigProposalVote`. */ +export type BlockMultiSigSignersByMultiSigProposalVoteCreatedBlockIdAndSignerIdManyToManyConnection = + { + __typename?: 'BlockMultiSigSignersByMultiSigProposalVoteCreatedBlockIdAndSignerIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `MultiSigSigner`, info from the `MultiSigProposalVote`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `MultiSigSigner` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `MultiSigSigner` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; -export type BlockStddevSampleAggregates = { - __typename?: 'BlockStddevSampleAggregates'; - /** Sample standard deviation of blockId across the matching connection */ - blockId?: Maybe; - /** Sample standard deviation of countEvents across the matching connection */ - countEvents?: Maybe; - /** Sample standard deviation of countExtrinsics across the matching connection */ - countExtrinsics?: Maybe; - /** Sample standard deviation of countExtrinsicsError across the matching connection */ - countExtrinsicsError?: Maybe; - /** Sample standard deviation of countExtrinsicsSigned across the matching connection */ - countExtrinsicsSigned?: Maybe; - /** Sample standard deviation of countExtrinsicsSuccess across the matching connection */ - countExtrinsicsSuccess?: Maybe; - /** Sample standard deviation of countExtrinsicsUnsigned across the matching connection */ - countExtrinsicsUnsigned?: Maybe; - /** Sample standard deviation of parentId across the matching connection */ - parentId?: Maybe; - /** Sample standard deviation of specVersionId across the matching connection */ - specVersionId?: Maybe; -}; +/** A connection to a list of `MultiSigSigner` values, with data from `MultiSigProposalVote`. */ +export type BlockMultiSigSignersByMultiSigProposalVoteCreatedBlockIdAndSignerIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; -export type BlockSumAggregates = { - __typename?: 'BlockSumAggregates'; - /** Sum of blockId across the matching connection */ - blockId: Scalars['BigInt']['output']; - /** Sum of countEvents across the matching connection */ - countEvents: Scalars['BigInt']['output']; - /** Sum of countExtrinsics across the matching connection */ - countExtrinsics: Scalars['BigInt']['output']; - /** Sum of countExtrinsicsError across the matching connection */ - countExtrinsicsError: Scalars['BigInt']['output']; - /** Sum of countExtrinsicsSigned across the matching connection */ - countExtrinsicsSigned: Scalars['BigInt']['output']; - /** Sum of countExtrinsicsSuccess across the matching connection */ - countExtrinsicsSuccess: Scalars['BigInt']['output']; - /** Sum of countExtrinsicsUnsigned across the matching connection */ - countExtrinsicsUnsigned: Scalars['BigInt']['output']; - /** Sum of parentId across the matching connection */ - parentId: Scalars['BigInt']['output']; - /** Sum of specVersionId across the matching connection */ - specVersionId: Scalars['BigInt']['output']; +/** A `MultiSigSigner` edge in the connection, with data from `MultiSigProposalVote`. */ +export type BlockMultiSigSignersByMultiSigProposalVoteCreatedBlockIdAndSignerIdManyToManyEdge = { + __typename?: 'BlockMultiSigSignersByMultiSigProposalVoteCreatedBlockIdAndSignerIdManyToManyEdge'; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `MultiSigSigner` at the end of the edge. */ + node?: Maybe; + /** Reads and enables pagination through a set of `MultiSigProposalVote`. */ + votes: MultiSigProposalVotesConnection; }; -/** A filter to be used against many `Account` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyAccountFilter = { - /** Aggregates across related `Account` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `Account` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `Account` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `Account` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; +/** A `MultiSigSigner` edge in the connection, with data from `MultiSigProposalVote`. */ +export type BlockMultiSigSignersByMultiSigProposalVoteCreatedBlockIdAndSignerIdManyToManyEdgeVotesArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; -/** A filter to be used against many `AccountHistory` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyAccountHistoryFilter = { - /** Aggregates across related `AccountHistory` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `AccountHistory` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `AccountHistory` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `AccountHistory` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; +/** A connection to a list of `MultiSigSigner` values, with data from `MultiSigProposalVote`. */ +export type BlockMultiSigSignersByMultiSigProposalVoteUpdatedBlockIdAndSignerIdManyToManyConnection = + { + __typename?: 'BlockMultiSigSignersByMultiSigProposalVoteUpdatedBlockIdAndSignerIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `MultiSigSigner`, info from the `MultiSigProposalVote`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `MultiSigSigner` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `MultiSigSigner` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; -/** A filter to be used against many `AgentGroup` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyAgentGroupFilter = { - /** Aggregates across related `AgentGroup` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `AgentGroup` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `AgentGroup` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `AgentGroup` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; +/** A connection to a list of `MultiSigSigner` values, with data from `MultiSigProposalVote`. */ +export type BlockMultiSigSignersByMultiSigProposalVoteUpdatedBlockIdAndSignerIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; -/** A filter to be used against many `AgentGroupMembership` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyAgentGroupMembershipFilter = { - /** Aggregates across related `AgentGroupMembership` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `AgentGroupMembership` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `AgentGroupMembership` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `AgentGroupMembership` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; +/** A `MultiSigSigner` edge in the connection, with data from `MultiSigProposalVote`. */ +export type BlockMultiSigSignersByMultiSigProposalVoteUpdatedBlockIdAndSignerIdManyToManyEdge = { + __typename?: 'BlockMultiSigSignersByMultiSigProposalVoteUpdatedBlockIdAndSignerIdManyToManyEdge'; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `MultiSigSigner` at the end of the edge. */ + node?: Maybe; + /** Reads and enables pagination through a set of `MultiSigProposalVote`. */ + votes: MultiSigProposalVotesConnection; }; -/** A filter to be used against many `AssetDocument` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyAssetDocumentFilter = { - /** Aggregates across related `AssetDocument` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `AssetDocument` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `AssetDocument` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `AssetDocument` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; +/** A `MultiSigSigner` edge in the connection, with data from `MultiSigProposalVote`. */ +export type BlockMultiSigSignersByMultiSigProposalVoteUpdatedBlockIdAndSignerIdManyToManyEdgeVotesArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; -/** A filter to be used against many `Asset` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyAssetFilter = { - /** Aggregates across related `Asset` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `Asset` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `Asset` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `Asset` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; +/** A connection to a list of `MultiSig` values, with data from `MultiSigProposal`. */ +export type BlockMultiSigsByMultiSigProposalCreatedBlockIdAndMultisigIdManyToManyConnection = { + __typename?: 'BlockMultiSigsByMultiSigProposalCreatedBlockIdAndMultisigIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `MultiSig`, info from the `MultiSigProposal`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `MultiSig` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `MultiSig` you could get from the connection. */ + totalCount: Scalars['Int']['output']; }; -/** A filter to be used against many `AssetHolder` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyAssetHolderFilter = { - /** Aggregates across related `AssetHolder` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `AssetHolder` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `AssetHolder` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `AssetHolder` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; +/** A connection to a list of `MultiSig` values, with data from `MultiSigProposal`. */ +export type BlockMultiSigsByMultiSigProposalCreatedBlockIdAndMultisigIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; -/** A filter to be used against many `AssetPendingOwnershipTransfer` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyAssetPendingOwnershipTransferFilter = { - /** Aggregates across related `AssetPendingOwnershipTransfer` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `AssetPendingOwnershipTransfer` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `AssetPendingOwnershipTransfer` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `AssetPendingOwnershipTransfer` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; +/** A `MultiSig` edge in the connection, with data from `MultiSigProposal`. */ +export type BlockMultiSigsByMultiSigProposalCreatedBlockIdAndMultisigIdManyToManyEdge = { + __typename?: 'BlockMultiSigsByMultiSigProposalCreatedBlockIdAndMultisigIdManyToManyEdge'; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `MultiSig` at the end of the edge. */ + node?: Maybe; + /** Reads and enables pagination through a set of `MultiSigProposal`. */ + proposals: MultiSigProposalsConnection; }; -/** A filter to be used against many `AssetTransaction` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyAssetTransactionFilter = { - /** Aggregates across related `AssetTransaction` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `AssetTransaction` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `AssetTransaction` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `AssetTransaction` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; +/** A `MultiSig` edge in the connection, with data from `MultiSigProposal`. */ +export type BlockMultiSigsByMultiSigProposalCreatedBlockIdAndMultisigIdManyToManyEdgeProposalsArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; -/** A filter to be used against many `Authorization` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyAuthorizationFilter = { - /** Aggregates across related `Authorization` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `Authorization` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `Authorization` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `Authorization` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; +/** A connection to a list of `MultiSig` values, with data from `MultiSigProposal`. */ +export type BlockMultiSigsByMultiSigProposalUpdatedBlockIdAndMultisigIdManyToManyConnection = { + __typename?: 'BlockMultiSigsByMultiSigProposalUpdatedBlockIdAndMultisigIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `MultiSig`, info from the `MultiSigProposal`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `MultiSig` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `MultiSig` you could get from the connection. */ + totalCount: Scalars['Int']['output']; }; -/** A filter to be used against many `BridgeEvent` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyBridgeEventFilter = { - /** Aggregates across related `BridgeEvent` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `BridgeEvent` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `BridgeEvent` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `BridgeEvent` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; +/** A connection to a list of `MultiSig` values, with data from `MultiSigProposal`. */ +export type BlockMultiSigsByMultiSigProposalUpdatedBlockIdAndMultisigIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; -/** A filter to be used against many `ChildIdentity` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyChildIdentityFilter = { - /** Aggregates across related `ChildIdentity` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `ChildIdentity` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `ChildIdentity` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `ChildIdentity` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; +/** A `MultiSig` edge in the connection, with data from `MultiSigProposal`. */ +export type BlockMultiSigsByMultiSigProposalUpdatedBlockIdAndMultisigIdManyToManyEdge = { + __typename?: 'BlockMultiSigsByMultiSigProposalUpdatedBlockIdAndMultisigIdManyToManyEdge'; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `MultiSig` at the end of the edge. */ + node?: Maybe; + /** Reads and enables pagination through a set of `MultiSigProposal`. */ + proposals: MultiSigProposalsConnection; }; -/** A filter to be used against many `Claim` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyClaimFilter = { - /** Aggregates across related `Claim` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `Claim` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `Claim` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `Claim` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; +/** A `MultiSig` edge in the connection, with data from `MultiSigProposal`. */ +export type BlockMultiSigsByMultiSigProposalUpdatedBlockIdAndMultisigIdManyToManyEdgeProposalsArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; -/** A filter to be used against many `ClaimScope` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyClaimScopeFilter = { - /** Aggregates across related `ClaimScope` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `ClaimScope` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `ClaimScope` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `ClaimScope` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; +/** A connection to a list of `MultiSig` values, with data from `MultiSigSigner`. */ +export type BlockMultiSigsByMultiSigSignerCreatedBlockIdAndMultisigIdManyToManyConnection = { + __typename?: 'BlockMultiSigsByMultiSigSignerCreatedBlockIdAndMultisigIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `MultiSig`, info from the `MultiSigSigner`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `MultiSig` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `MultiSig` you could get from the connection. */ + totalCount: Scalars['Int']['output']; }; -/** A filter to be used against many `Compliance` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyComplianceFilter = { - /** Aggregates across related `Compliance` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `Compliance` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `Compliance` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `Compliance` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; +/** A connection to a list of `MultiSig` values, with data from `MultiSigSigner`. */ +export type BlockMultiSigsByMultiSigSignerCreatedBlockIdAndMultisigIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; -/** A filter to be used against many `CustomClaimType` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyCustomClaimTypeFilter = { - /** Aggregates across related `CustomClaimType` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `CustomClaimType` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `CustomClaimType` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `CustomClaimType` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; +/** A `MultiSig` edge in the connection, with data from `MultiSigSigner`. */ +export type BlockMultiSigsByMultiSigSignerCreatedBlockIdAndMultisigIdManyToManyEdge = { + __typename?: 'BlockMultiSigsByMultiSigSignerCreatedBlockIdAndMultisigIdManyToManyEdge'; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `MultiSig` at the end of the edge. */ + node?: Maybe; + /** Reads and enables pagination through a set of `MultiSigSigner`. */ + signers: MultiSigSignersConnection; }; -/** A filter to be used against many `Distribution` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyDistributionFilter = { - /** Aggregates across related `Distribution` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `Distribution` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `Distribution` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `Distribution` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; +/** A `MultiSig` edge in the connection, with data from `MultiSigSigner`. */ +export type BlockMultiSigsByMultiSigSignerCreatedBlockIdAndMultisigIdManyToManyEdgeSignersArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; }; -/** A filter to be used against many `DistributionPayment` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyDistributionPaymentFilter = { - /** Aggregates across related `DistributionPayment` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `DistributionPayment` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `DistributionPayment` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `DistributionPayment` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; +/** A connection to a list of `MultiSig` values, with data from `MultiSigSigner`. */ +export type BlockMultiSigsByMultiSigSignerUpdatedBlockIdAndMultisigIdManyToManyConnection = { + __typename?: 'BlockMultiSigsByMultiSigSignerUpdatedBlockIdAndMultisigIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `MultiSig`, info from the `MultiSigSigner`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `MultiSig` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `MultiSig` you could get from the connection. */ + totalCount: Scalars['Int']['output']; }; -/** A filter to be used against many `Event` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyEventFilter = { - /** Aggregates across related `Event` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `Event` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `Event` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `Event` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; +/** A connection to a list of `MultiSig` values, with data from `MultiSigSigner`. */ +export type BlockMultiSigsByMultiSigSignerUpdatedBlockIdAndMultisigIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; -/** A filter to be used against many `Extrinsic` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyExtrinsicFilter = { - /** Aggregates across related `Extrinsic` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `Extrinsic` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `Extrinsic` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `Extrinsic` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; +/** A `MultiSig` edge in the connection, with data from `MultiSigSigner`. */ +export type BlockMultiSigsByMultiSigSignerUpdatedBlockIdAndMultisigIdManyToManyEdge = { + __typename?: 'BlockMultiSigsByMultiSigSignerUpdatedBlockIdAndMultisigIdManyToManyEdge'; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `MultiSig` at the end of the edge. */ + node?: Maybe; + /** Reads and enables pagination through a set of `MultiSigSigner`. */ + signers: MultiSigSignersConnection; }; -/** A filter to be used against many `Funding` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyFundingFilter = { - /** Aggregates across related `Funding` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `Funding` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `Funding` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `Funding` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; +/** A `MultiSig` edge in the connection, with data from `MultiSigSigner`. */ +export type BlockMultiSigsByMultiSigSignerUpdatedBlockIdAndMultisigIdManyToManyEdgeSignersArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; }; -/** A filter to be used against many `Identity` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyIdentityFilter = { - /** Aggregates across related `Identity` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `Identity` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `Identity` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `Identity` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; +/** A connection to a list of `Permission` values, with data from `Account`. */ +export type BlockPermissionsByAccountCreatedBlockIdAndPermissionsIdManyToManyConnection = { + __typename?: 'BlockPermissionsByAccountCreatedBlockIdAndPermissionsIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Permission`, info from the `Account`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Permission` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Permission` you could get from the connection. */ + totalCount: Scalars['Int']['output']; }; -/** A filter to be used against many `Instruction` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyInstructionFilter = { - /** Aggregates across related `Instruction` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `Instruction` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `Instruction` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `Instruction` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; +/** A connection to a list of `Permission` values, with data from `Account`. */ +export type BlockPermissionsByAccountCreatedBlockIdAndPermissionsIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; -/** A filter to be used against many `Investment` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyInvestmentFilter = { - /** Aggregates across related `Investment` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `Investment` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `Investment` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `Investment` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; +/** A `Permission` edge in the connection, with data from `Account`. */ +export type BlockPermissionsByAccountCreatedBlockIdAndPermissionsIdManyToManyEdge = { + __typename?: 'BlockPermissionsByAccountCreatedBlockIdAndPermissionsIdManyToManyEdge'; + /** Reads and enables pagination through a set of `Account`. */ + accountsByPermissionsId: AccountsConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Permission` at the end of the edge. */ + node?: Maybe; }; -/** A filter to be used against many `Leg` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyLegFilter = { - /** Aggregates across related `Leg` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `Leg` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `Leg` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `Leg` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; +/** A `Permission` edge in the connection, with data from `Account`. */ +export type BlockPermissionsByAccountCreatedBlockIdAndPermissionsIdManyToManyEdgeAccountsByPermissionsIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; -/** A filter to be used against many `MultiSig` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyMultiSigFilter = { - /** Aggregates across related `MultiSig` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `MultiSig` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `MultiSig` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `MultiSig` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; +/** A connection to a list of `Permission` values, with data from `Account`. */ +export type BlockPermissionsByAccountUpdatedBlockIdAndPermissionsIdManyToManyConnection = { + __typename?: 'BlockPermissionsByAccountUpdatedBlockIdAndPermissionsIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Permission`, info from the `Account`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Permission` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Permission` you could get from the connection. */ + totalCount: Scalars['Int']['output']; }; -/** A filter to be used against many `MultiSigProposal` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyMultiSigProposalFilter = { - /** Aggregates across related `MultiSigProposal` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `MultiSigProposal` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `MultiSigProposal` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `MultiSigProposal` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; +/** A connection to a list of `Permission` values, with data from `Account`. */ +export type BlockPermissionsByAccountUpdatedBlockIdAndPermissionsIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; -/** A filter to be used against many `MultiSigProposalVote` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyMultiSigProposalVoteFilter = { - /** Aggregates across related `MultiSigProposalVote` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `MultiSigProposalVote` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `MultiSigProposalVote` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `MultiSigProposalVote` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; +/** A `Permission` edge in the connection, with data from `Account`. */ +export type BlockPermissionsByAccountUpdatedBlockIdAndPermissionsIdManyToManyEdge = { + __typename?: 'BlockPermissionsByAccountUpdatedBlockIdAndPermissionsIdManyToManyEdge'; + /** Reads and enables pagination through a set of `Account`. */ + accountsByPermissionsId: AccountsConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Permission` at the end of the edge. */ + node?: Maybe; }; -/** A filter to be used against many `MultiSigSigner` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyMultiSigSignerFilter = { - /** Aggregates across related `MultiSigSigner` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `MultiSigSigner` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `MultiSigSigner` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `MultiSigSigner` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; +/** A `Permission` edge in the connection, with data from `Account`. */ +export type BlockPermissionsByAccountUpdatedBlockIdAndPermissionsIdManyToManyEdgeAccountsByPermissionsIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; -/** A filter to be used against many `NftHolder` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyNftHolderFilter = { - /** Aggregates across related `NftHolder` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `NftHolder` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `NftHolder` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `NftHolder` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; +/** A connection to a list of `Portfolio` values, with data from `AssetTransaction`. */ +export type BlockPortfoliosByAssetTransactionCreatedBlockIdAndFromPortfolioIdManyToManyConnection = + { + __typename?: 'BlockPortfoliosByAssetTransactionCreatedBlockIdAndFromPortfolioIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Portfolio`, info from the `AssetTransaction`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Portfolio` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Portfolio` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; -/** A filter to be used against many `Permission` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyPermissionFilter = { - /** Aggregates across related `Permission` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `Permission` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `Permission` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `Permission` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; +/** A connection to a list of `Portfolio` values, with data from `AssetTransaction`. */ +export type BlockPortfoliosByAssetTransactionCreatedBlockIdAndFromPortfolioIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; -/** A filter to be used against many `PolyxTransaction` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyPolyxTransactionFilter = { - /** Aggregates across related `PolyxTransaction` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `PolyxTransaction` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `PolyxTransaction` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `PolyxTransaction` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; +/** A `Portfolio` edge in the connection, with data from `AssetTransaction`. */ +export type BlockPortfoliosByAssetTransactionCreatedBlockIdAndFromPortfolioIdManyToManyEdge = { + __typename?: 'BlockPortfoliosByAssetTransactionCreatedBlockIdAndFromPortfolioIdManyToManyEdge'; + /** Reads and enables pagination through a set of `AssetTransaction`. */ + assetTransactionsByFromPortfolioId: AssetTransactionsConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Portfolio` at the end of the edge. */ + node?: Maybe; }; -/** A filter to be used against many `Portfolio` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyPortfolioFilter = { - /** Aggregates across related `Portfolio` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `Portfolio` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `Portfolio` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `Portfolio` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; +/** A `Portfolio` edge in the connection, with data from `AssetTransaction`. */ +export type BlockPortfoliosByAssetTransactionCreatedBlockIdAndFromPortfolioIdManyToManyEdgeAssetTransactionsByFromPortfolioIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; -/** A filter to be used against many `PortfolioMovement` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyPortfolioMovementFilter = { - /** Aggregates across related `PortfolioMovement` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `PortfolioMovement` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `PortfolioMovement` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `PortfolioMovement` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; +/** A connection to a list of `Portfolio` values, with data from `AssetTransaction`. */ +export type BlockPortfoliosByAssetTransactionCreatedBlockIdAndToPortfolioIdManyToManyConnection = { + __typename?: 'BlockPortfoliosByAssetTransactionCreatedBlockIdAndToPortfolioIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Portfolio`, info from the `AssetTransaction`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Portfolio` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Portfolio` you could get from the connection. */ + totalCount: Scalars['Int']['output']; }; -/** A filter to be used against many `Proposal` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyProposalFilter = { - /** Aggregates across related `Proposal` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `Proposal` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `Proposal` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `Proposal` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; +/** A connection to a list of `Portfolio` values, with data from `AssetTransaction`. */ +export type BlockPortfoliosByAssetTransactionCreatedBlockIdAndToPortfolioIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; -/** A filter to be used against many `ProposalVote` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyProposalVoteFilter = { - /** Aggregates across related `ProposalVote` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `ProposalVote` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `ProposalVote` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `ProposalVote` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; +/** A `Portfolio` edge in the connection, with data from `AssetTransaction`. */ +export type BlockPortfoliosByAssetTransactionCreatedBlockIdAndToPortfolioIdManyToManyEdge = { + __typename?: 'BlockPortfoliosByAssetTransactionCreatedBlockIdAndToPortfolioIdManyToManyEdge'; + /** Reads and enables pagination through a set of `AssetTransaction`. */ + assetTransactionsByToPortfolioId: AssetTransactionsConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Portfolio` at the end of the edge. */ + node?: Maybe; }; -/** A filter to be used against many `Settlement` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManySettlementFilter = { - /** Aggregates across related `Settlement` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `Settlement` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `Settlement` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `Settlement` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; +/** A `Portfolio` edge in the connection, with data from `AssetTransaction`. */ +export type BlockPortfoliosByAssetTransactionCreatedBlockIdAndToPortfolioIdManyToManyEdgeAssetTransactionsByToPortfolioIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; -/** A filter to be used against many `StakingEvent` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyStakingEventFilter = { - /** Aggregates across related `StakingEvent` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `StakingEvent` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `StakingEvent` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `StakingEvent` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; +/** A connection to a list of `Portfolio` values, with data from `AssetTransaction`. */ +export type BlockPortfoliosByAssetTransactionUpdatedBlockIdAndFromPortfolioIdManyToManyConnection = + { + __typename?: 'BlockPortfoliosByAssetTransactionUpdatedBlockIdAndFromPortfolioIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Portfolio`, info from the `AssetTransaction`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Portfolio` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Portfolio` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; -/** A filter to be used against many `StatType` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyStatTypeFilter = { - /** Aggregates across related `StatType` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `StatType` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `StatType` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `StatType` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; +/** A connection to a list of `Portfolio` values, with data from `AssetTransaction`. */ +export type BlockPortfoliosByAssetTransactionUpdatedBlockIdAndFromPortfolioIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; -/** A filter to be used against many `Sto` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyStoFilter = { - /** Aggregates across related `Sto` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `Sto` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `Sto` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `Sto` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; +/** A `Portfolio` edge in the connection, with data from `AssetTransaction`. */ +export type BlockPortfoliosByAssetTransactionUpdatedBlockIdAndFromPortfolioIdManyToManyEdge = { + __typename?: 'BlockPortfoliosByAssetTransactionUpdatedBlockIdAndFromPortfolioIdManyToManyEdge'; + /** Reads and enables pagination through a set of `AssetTransaction`. */ + assetTransactionsByFromPortfolioId: AssetTransactionsConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Portfolio` at the end of the edge. */ + node?: Maybe; }; -/** A filter to be used against many `TickerExternalAgentAction` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyTickerExternalAgentActionFilter = { - /** Aggregates across related `TickerExternalAgentAction` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `TickerExternalAgentAction` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `TickerExternalAgentAction` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `TickerExternalAgentAction` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; +/** A `Portfolio` edge in the connection, with data from `AssetTransaction`. */ +export type BlockPortfoliosByAssetTransactionUpdatedBlockIdAndFromPortfolioIdManyToManyEdgeAssetTransactionsByFromPortfolioIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; -/** A filter to be used against many `TickerExternalAgent` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyTickerExternalAgentFilter = { - /** Aggregates across related `TickerExternalAgent` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `TickerExternalAgent` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `TickerExternalAgent` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `TickerExternalAgent` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; +/** A connection to a list of `Portfolio` values, with data from `AssetTransaction`. */ +export type BlockPortfoliosByAssetTransactionUpdatedBlockIdAndToPortfolioIdManyToManyConnection = { + __typename?: 'BlockPortfoliosByAssetTransactionUpdatedBlockIdAndToPortfolioIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Portfolio`, info from the `AssetTransaction`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Portfolio` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Portfolio` you could get from the connection. */ + totalCount: Scalars['Int']['output']; }; -/** A filter to be used against many `TickerExternalAgentHistory` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyTickerExternalAgentHistoryFilter = { - /** Aggregates across related `TickerExternalAgentHistory` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `TickerExternalAgentHistory` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `TickerExternalAgentHistory` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `TickerExternalAgentHistory` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; +/** A connection to a list of `Portfolio` values, with data from `AssetTransaction`. */ +export type BlockPortfoliosByAssetTransactionUpdatedBlockIdAndToPortfolioIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; -/** A filter to be used against many `TransferComplianceExemption` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyTransferComplianceExemptionFilter = { - /** Aggregates across related `TransferComplianceExemption` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `TransferComplianceExemption` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `TransferComplianceExemption` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `TransferComplianceExemption` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; +/** A `Portfolio` edge in the connection, with data from `AssetTransaction`. */ +export type BlockPortfoliosByAssetTransactionUpdatedBlockIdAndToPortfolioIdManyToManyEdge = { + __typename?: 'BlockPortfoliosByAssetTransactionUpdatedBlockIdAndToPortfolioIdManyToManyEdge'; + /** Reads and enables pagination through a set of `AssetTransaction`. */ + assetTransactionsByToPortfolioId: AssetTransactionsConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Portfolio` at the end of the edge. */ + node?: Maybe; }; -/** A filter to be used against many `TransferCompliance` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyTransferComplianceFilter = { - /** Aggregates across related `TransferCompliance` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `TransferCompliance` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `TransferCompliance` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `TransferCompliance` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; +/** A `Portfolio` edge in the connection, with data from `AssetTransaction`. */ +export type BlockPortfoliosByAssetTransactionUpdatedBlockIdAndToPortfolioIdManyToManyEdgeAssetTransactionsByToPortfolioIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; -/** A filter to be used against many `TransferManager` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyTransferManagerFilter = { - /** Aggregates across related `TransferManager` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `TransferManager` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `TransferManager` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `TransferManager` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; +/** A connection to a list of `Portfolio` values, with data from `Distribution`. */ +export type BlockPortfoliosByDistributionCreatedBlockIdAndPortfolioIdManyToManyConnection = { + __typename?: 'BlockPortfoliosByDistributionCreatedBlockIdAndPortfolioIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Portfolio`, info from the `Distribution`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Portfolio` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Portfolio` you could get from the connection. */ + totalCount: Scalars['Int']['output']; }; -/** A filter to be used against many `TrustedClaimIssuer` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyTrustedClaimIssuerFilter = { - /** Aggregates across related `TrustedClaimIssuer` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `TrustedClaimIssuer` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `TrustedClaimIssuer` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `TrustedClaimIssuer` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; +/** A connection to a list of `Portfolio` values, with data from `Distribution`. */ +export type BlockPortfoliosByDistributionCreatedBlockIdAndPortfolioIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; -/** A filter to be used against many `Venue` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyVenueFilter = { - /** Aggregates across related `Venue` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `Venue` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `Venue` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `Venue` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; +/** A `Portfolio` edge in the connection, with data from `Distribution`. */ +export type BlockPortfoliosByDistributionCreatedBlockIdAndPortfolioIdManyToManyEdge = { + __typename?: 'BlockPortfoliosByDistributionCreatedBlockIdAndPortfolioIdManyToManyEdge'; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** Reads and enables pagination through a set of `Distribution`. */ + distributions: DistributionsConnection; + /** The `Portfolio` at the end of the edge. */ + node?: Maybe; }; -export type BlockVariancePopulationAggregates = { - __typename?: 'BlockVariancePopulationAggregates'; - /** Population variance of blockId across the matching connection */ - blockId?: Maybe; - /** Population variance of countEvents across the matching connection */ - countEvents?: Maybe; - /** Population variance of countExtrinsics across the matching connection */ - countExtrinsics?: Maybe; - /** Population variance of countExtrinsicsError across the matching connection */ - countExtrinsicsError?: Maybe; - /** Population variance of countExtrinsicsSigned across the matching connection */ - countExtrinsicsSigned?: Maybe; - /** Population variance of countExtrinsicsSuccess across the matching connection */ - countExtrinsicsSuccess?: Maybe; - /** Population variance of countExtrinsicsUnsigned across the matching connection */ - countExtrinsicsUnsigned?: Maybe; - /** Population variance of parentId across the matching connection */ - parentId?: Maybe; - /** Population variance of specVersionId across the matching connection */ - specVersionId?: Maybe; +/** A `Portfolio` edge in the connection, with data from `Distribution`. */ +export type BlockPortfoliosByDistributionCreatedBlockIdAndPortfolioIdManyToManyEdgeDistributionsArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `Portfolio` values, with data from `Distribution`. */ +export type BlockPortfoliosByDistributionUpdatedBlockIdAndPortfolioIdManyToManyConnection = { + __typename?: 'BlockPortfoliosByDistributionUpdatedBlockIdAndPortfolioIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Portfolio`, info from the `Distribution`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Portfolio` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Portfolio` you could get from the connection. */ + totalCount: Scalars['Int']['output']; }; -export type BlockVarianceSampleAggregates = { - __typename?: 'BlockVarianceSampleAggregates'; - /** Sample variance of blockId across the matching connection */ - blockId?: Maybe; - /** Sample variance of countEvents across the matching connection */ - countEvents?: Maybe; - /** Sample variance of countExtrinsics across the matching connection */ - countExtrinsics?: Maybe; - /** Sample variance of countExtrinsicsError across the matching connection */ - countExtrinsicsError?: Maybe; - /** Sample variance of countExtrinsicsSigned across the matching connection */ - countExtrinsicsSigned?: Maybe; - /** Sample variance of countExtrinsicsSuccess across the matching connection */ - countExtrinsicsSuccess?: Maybe; - /** Sample variance of countExtrinsicsUnsigned across the matching connection */ - countExtrinsicsUnsigned?: Maybe; - /** Sample variance of parentId across the matching connection */ - parentId?: Maybe; - /** Sample variance of specVersionId across the matching connection */ - specVersionId?: Maybe; +/** A connection to a list of `Portfolio` values, with data from `Distribution`. */ +export type BlockPortfoliosByDistributionUpdatedBlockIdAndPortfolioIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Portfolio` edge in the connection, with data from `Distribution`. */ +export type BlockPortfoliosByDistributionUpdatedBlockIdAndPortfolioIdManyToManyEdge = { + __typename?: 'BlockPortfoliosByDistributionUpdatedBlockIdAndPortfolioIdManyToManyEdge'; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** Reads and enables pagination through a set of `Distribution`. */ + distributions: DistributionsConnection; + /** The `Portfolio` at the end of the edge. */ + node?: Maybe; }; -/** A connection to a list of `Venue` values, with data from `Instruction`. */ -export type BlockVenuesByInstructionCreatedBlockIdAndVenueIdManyToManyConnection = { - __typename?: 'BlockVenuesByInstructionCreatedBlockIdAndVenueIdManyToManyConnection'; +/** A `Portfolio` edge in the connection, with data from `Distribution`. */ +export type BlockPortfoliosByDistributionUpdatedBlockIdAndPortfolioIdManyToManyEdgeDistributionsArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `Portfolio` values, with data from `Leg`. */ +export type BlockPortfoliosByLegCreatedBlockIdAndFromIdManyToManyConnection = { + __typename?: 'BlockPortfoliosByLegCreatedBlockIdAndFromIdManyToManyConnection'; /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Venue`, info from the `Instruction`, and the cursor to aid in pagination. */ - edges: Array; + aggregates?: Maybe; + /** A list of edges which contains the `Portfolio`, info from the `Leg`, and the cursor to aid in pagination. */ + edges: Array; /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Venue` objects. */ - nodes: Array>; + groupedAggregates?: Maybe>; + /** A list of `Portfolio` objects. */ + nodes: Array>; /** Information to aid in pagination. */ pageInfo: PageInfo; - /** The count of *all* `Venue` you could get from the connection. */ + /** The count of *all* `Portfolio` you could get from the connection. */ totalCount: Scalars['Int']['output']; }; -/** A connection to a list of `Venue` values, with data from `Instruction`. */ -export type BlockVenuesByInstructionCreatedBlockIdAndVenueIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; +/** A connection to a list of `Portfolio` values, with data from `Leg`. */ +export type BlockPortfoliosByLegCreatedBlockIdAndFromIdManyToManyConnectionGroupedAggregatesArgs = { + groupBy: Array; + having?: InputMaybe; +}; -/** A `Venue` edge in the connection, with data from `Instruction`. */ -export type BlockVenuesByInstructionCreatedBlockIdAndVenueIdManyToManyEdge = { - __typename?: 'BlockVenuesByInstructionCreatedBlockIdAndVenueIdManyToManyEdge'; +/** A `Portfolio` edge in the connection, with data from `Leg`. */ +export type BlockPortfoliosByLegCreatedBlockIdAndFromIdManyToManyEdge = { + __typename?: 'BlockPortfoliosByLegCreatedBlockIdAndFromIdManyToManyEdge'; /** A cursor for use in pagination. */ cursor?: Maybe; - /** Reads and enables pagination through a set of `Instruction`. */ - instructions: InstructionsConnection; - /** The `Venue` at the end of the edge. */ - node?: Maybe; + /** Reads and enables pagination through a set of `Leg`. */ + legsByFromId: LegsConnection; + /** The `Portfolio` at the end of the edge. */ + node?: Maybe; }; -/** A `Venue` edge in the connection, with data from `Instruction`. */ -export type BlockVenuesByInstructionCreatedBlockIdAndVenueIdManyToManyEdgeInstructionsArgs = { +/** A `Portfolio` edge in the connection, with data from `Leg`. */ +export type BlockPortfoliosByLegCreatedBlockIdAndFromIdManyToManyEdgeLegsByFromIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; -/** A connection to a list of `Venue` values, with data from `Instruction`. */ -export type BlockVenuesByInstructionUpdatedBlockIdAndVenueIdManyToManyConnection = { - __typename?: 'BlockVenuesByInstructionUpdatedBlockIdAndVenueIdManyToManyConnection'; +/** A connection to a list of `Portfolio` values, with data from `Leg`. */ +export type BlockPortfoliosByLegCreatedBlockIdAndToIdManyToManyConnection = { + __typename?: 'BlockPortfoliosByLegCreatedBlockIdAndToIdManyToManyConnection'; /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Venue`, info from the `Instruction`, and the cursor to aid in pagination. */ - edges: Array; + aggregates?: Maybe; + /** A list of edges which contains the `Portfolio`, info from the `Leg`, and the cursor to aid in pagination. */ + edges: Array; /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Venue` objects. */ - nodes: Array>; + groupedAggregates?: Maybe>; + /** A list of `Portfolio` objects. */ + nodes: Array>; /** Information to aid in pagination. */ pageInfo: PageInfo; - /** The count of *all* `Venue` you could get from the connection. */ + /** The count of *all* `Portfolio` you could get from the connection. */ totalCount: Scalars['Int']['output']; }; -/** A connection to a list of `Venue` values, with data from `Instruction`. */ -export type BlockVenuesByInstructionUpdatedBlockIdAndVenueIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; +/** A connection to a list of `Portfolio` values, with data from `Leg`. */ +export type BlockPortfoliosByLegCreatedBlockIdAndToIdManyToManyConnectionGroupedAggregatesArgs = { + groupBy: Array; + having?: InputMaybe; +}; -/** A `Venue` edge in the connection, with data from `Instruction`. */ -export type BlockVenuesByInstructionUpdatedBlockIdAndVenueIdManyToManyEdge = { - __typename?: 'BlockVenuesByInstructionUpdatedBlockIdAndVenueIdManyToManyEdge'; +/** A `Portfolio` edge in the connection, with data from `Leg`. */ +export type BlockPortfoliosByLegCreatedBlockIdAndToIdManyToManyEdge = { + __typename?: 'BlockPortfoliosByLegCreatedBlockIdAndToIdManyToManyEdge'; /** A cursor for use in pagination. */ cursor?: Maybe; - /** Reads and enables pagination through a set of `Instruction`. */ - instructions: InstructionsConnection; - /** The `Venue` at the end of the edge. */ - node?: Maybe; + /** Reads and enables pagination through a set of `Leg`. */ + legsByToId: LegsConnection; + /** The `Portfolio` at the end of the edge. */ + node?: Maybe; }; -/** A `Venue` edge in the connection, with data from `Instruction`. */ -export type BlockVenuesByInstructionUpdatedBlockIdAndVenueIdManyToManyEdgeInstructionsArgs = { +/** A `Portfolio` edge in the connection, with data from `Leg`. */ +export type BlockPortfoliosByLegCreatedBlockIdAndToIdManyToManyEdgeLegsByToIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; -/** A connection to a list of `Venue` values, with data from `Sto`. */ -export type BlockVenuesByStoCreatedBlockIdAndVenueIdManyToManyConnection = { - __typename?: 'BlockVenuesByStoCreatedBlockIdAndVenueIdManyToManyConnection'; +/** A connection to a list of `Portfolio` values, with data from `Leg`. */ +export type BlockPortfoliosByLegUpdatedBlockIdAndFromIdManyToManyConnection = { + __typename?: 'BlockPortfoliosByLegUpdatedBlockIdAndFromIdManyToManyConnection'; /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Venue`, info from the `Sto`, and the cursor to aid in pagination. */ - edges: Array; + aggregates?: Maybe; + /** A list of edges which contains the `Portfolio`, info from the `Leg`, and the cursor to aid in pagination. */ + edges: Array; /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Venue` objects. */ - nodes: Array>; + groupedAggregates?: Maybe>; + /** A list of `Portfolio` objects. */ + nodes: Array>; /** Information to aid in pagination. */ pageInfo: PageInfo; - /** The count of *all* `Venue` you could get from the connection. */ + /** The count of *all* `Portfolio` you could get from the connection. */ totalCount: Scalars['Int']['output']; }; -/** A connection to a list of `Venue` values, with data from `Sto`. */ -export type BlockVenuesByStoCreatedBlockIdAndVenueIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; +/** A connection to a list of `Portfolio` values, with data from `Leg`. */ +export type BlockPortfoliosByLegUpdatedBlockIdAndFromIdManyToManyConnectionGroupedAggregatesArgs = { + groupBy: Array; + having?: InputMaybe; }; -/** A `Venue` edge in the connection, with data from `Sto`. */ -export type BlockVenuesByStoCreatedBlockIdAndVenueIdManyToManyEdge = { - __typename?: 'BlockVenuesByStoCreatedBlockIdAndVenueIdManyToManyEdge'; +/** A `Portfolio` edge in the connection, with data from `Leg`. */ +export type BlockPortfoliosByLegUpdatedBlockIdAndFromIdManyToManyEdge = { + __typename?: 'BlockPortfoliosByLegUpdatedBlockIdAndFromIdManyToManyEdge'; /** A cursor for use in pagination. */ cursor?: Maybe; - /** The `Venue` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Sto`. */ - stos: StosConnection; + /** Reads and enables pagination through a set of `Leg`. */ + legsByFromId: LegsConnection; + /** The `Portfolio` at the end of the edge. */ + node?: Maybe; }; -/** A `Venue` edge in the connection, with data from `Sto`. */ -export type BlockVenuesByStoCreatedBlockIdAndVenueIdManyToManyEdgeStosArgs = { +/** A `Portfolio` edge in the connection, with data from `Leg`. */ +export type BlockPortfoliosByLegUpdatedBlockIdAndFromIdManyToManyEdgeLegsByFromIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; -/** A connection to a list of `Venue` values, with data from `Sto`. */ -export type BlockVenuesByStoUpdatedBlockIdAndVenueIdManyToManyConnection = { - __typename?: 'BlockVenuesByStoUpdatedBlockIdAndVenueIdManyToManyConnection'; +/** A connection to a list of `Portfolio` values, with data from `Leg`. */ +export type BlockPortfoliosByLegUpdatedBlockIdAndToIdManyToManyConnection = { + __typename?: 'BlockPortfoliosByLegUpdatedBlockIdAndToIdManyToManyConnection'; /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Venue`, info from the `Sto`, and the cursor to aid in pagination. */ - edges: Array; + aggregates?: Maybe; + /** A list of edges which contains the `Portfolio`, info from the `Leg`, and the cursor to aid in pagination. */ + edges: Array; /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Venue` objects. */ - nodes: Array>; + groupedAggregates?: Maybe>; + /** A list of `Portfolio` objects. */ + nodes: Array>; /** Information to aid in pagination. */ pageInfo: PageInfo; - /** The count of *all* `Venue` you could get from the connection. */ + /** The count of *all* `Portfolio` you could get from the connection. */ totalCount: Scalars['Int']['output']; }; -/** A connection to a list of `Venue` values, with data from `Sto`. */ -export type BlockVenuesByStoUpdatedBlockIdAndVenueIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; +/** A connection to a list of `Portfolio` values, with data from `Leg`. */ +export type BlockPortfoliosByLegUpdatedBlockIdAndToIdManyToManyConnectionGroupedAggregatesArgs = { + groupBy: Array; + having?: InputMaybe; }; -/** A `Venue` edge in the connection, with data from `Sto`. */ -export type BlockVenuesByStoUpdatedBlockIdAndVenueIdManyToManyEdge = { - __typename?: 'BlockVenuesByStoUpdatedBlockIdAndVenueIdManyToManyEdge'; +/** A `Portfolio` edge in the connection, with data from `Leg`. */ +export type BlockPortfoliosByLegUpdatedBlockIdAndToIdManyToManyEdge = { + __typename?: 'BlockPortfoliosByLegUpdatedBlockIdAndToIdManyToManyEdge'; /** A cursor for use in pagination. */ cursor?: Maybe; - /** The `Venue` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Sto`. */ - stos: StosConnection; + /** Reads and enables pagination through a set of `Leg`. */ + legsByToId: LegsConnection; + /** The `Portfolio` at the end of the edge. */ + node?: Maybe; }; -/** A `Venue` edge in the connection, with data from `Sto`. */ -export type BlockVenuesByStoUpdatedBlockIdAndVenueIdManyToManyEdgeStosArgs = { +/** A `Portfolio` edge in the connection, with data from `Leg`. */ +export type BlockPortfoliosByLegUpdatedBlockIdAndToIdManyToManyEdgeLegsByToIdArgs = { after?: InputMaybe; before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; first?: InputMaybe; last?: InputMaybe; offset?: InputMaybe; - orderBy?: InputMaybe>; + orderBy?: InputMaybe>; }; -/** A connection to a list of `Block` values. */ -export type BlocksConnection = { - __typename?: 'BlocksConnection'; +/** A connection to a list of `Portfolio` values, with data from `PortfolioMovement`. */ +export type BlockPortfoliosByPortfolioMovementCreatedBlockIdAndFromIdManyToManyConnection = { + __typename?: 'BlockPortfoliosByPortfolioMovementCreatedBlockIdAndFromIdManyToManyConnection'; /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block` and cursor to aid in pagination. */ - edges: Array; + aggregates?: Maybe; + /** A list of edges which contains the `Portfolio`, info from the `PortfolioMovement`, and the cursor to aid in pagination. */ + edges: Array; /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; + groupedAggregates?: Maybe>; + /** A list of `Portfolio` objects. */ + nodes: Array>; /** Information to aid in pagination. */ pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ + /** The count of *all* `Portfolio` you could get from the connection. */ totalCount: Scalars['Int']['output']; }; -/** A connection to a list of `Block` values. */ -export type BlocksConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; +/** A connection to a list of `Portfolio` values, with data from `PortfolioMovement`. */ +export type BlockPortfoliosByPortfolioMovementCreatedBlockIdAndFromIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; -/** A `Block` edge in the connection. */ -export type BlocksEdge = { - __typename?: 'BlocksEdge'; +/** A `Portfolio` edge in the connection, with data from `PortfolioMovement`. */ +export type BlockPortfoliosByPortfolioMovementCreatedBlockIdAndFromIdManyToManyEdge = { + __typename?: 'BlockPortfoliosByPortfolioMovementCreatedBlockIdAndFromIdManyToManyEdge'; /** A cursor for use in pagination. */ cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; + /** The `Portfolio` at the end of the edge. */ + node?: Maybe; + /** Reads and enables pagination through a set of `PortfolioMovement`. */ + portfolioMovementsByFromId: PortfolioMovementsConnection; }; -/** Grouping methods for `Block` for usage during aggregation. */ -export enum BlocksGroupBy { - CountEvents = 'COUNT_EVENTS', - CountExtrinsics = 'COUNT_EXTRINSICS', - CountExtrinsicsError = 'COUNT_EXTRINSICS_ERROR', - CountExtrinsicsSigned = 'COUNT_EXTRINSICS_SIGNED', - CountExtrinsicsSuccess = 'COUNT_EXTRINSICS_SUCCESS', - CountExtrinsicsUnsigned = 'COUNT_EXTRINSICS_UNSIGNED', - CreatedAt = 'CREATED_AT', - CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', - CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', - Datetime = 'DATETIME', - DatetimeTruncatedToDay = 'DATETIME_TRUNCATED_TO_DAY', - DatetimeTruncatedToHour = 'DATETIME_TRUNCATED_TO_HOUR', - ExtrinsicsRoot = 'EXTRINSICS_ROOT', - ParentHash = 'PARENT_HASH', - ParentId = 'PARENT_ID', - SpecVersionId = 'SPEC_VERSION_ID', - StateRoot = 'STATE_ROOT', - UpdatedAt = 'UPDATED_AT', - UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', - UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', -} - -export type BlocksHavingAverageInput = { - blockId?: InputMaybe; - countEvents?: InputMaybe; - countExtrinsics?: InputMaybe; - countExtrinsicsError?: InputMaybe; - countExtrinsicsSigned?: InputMaybe; - countExtrinsicsSuccess?: InputMaybe; - countExtrinsicsUnsigned?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - parentId?: InputMaybe; - specVersionId?: InputMaybe; - updatedAt?: InputMaybe; -}; +/** A `Portfolio` edge in the connection, with data from `PortfolioMovement`. */ +export type BlockPortfoliosByPortfolioMovementCreatedBlockIdAndFromIdManyToManyEdgePortfolioMovementsByFromIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; -export type BlocksHavingDistinctCountInput = { - blockId?: InputMaybe; - countEvents?: InputMaybe; - countExtrinsics?: InputMaybe; - countExtrinsicsError?: InputMaybe; - countExtrinsicsSigned?: InputMaybe; - countExtrinsicsSuccess?: InputMaybe; - countExtrinsicsUnsigned?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - parentId?: InputMaybe; - specVersionId?: InputMaybe; - updatedAt?: InputMaybe; +/** A connection to a list of `Portfolio` values, with data from `PortfolioMovement`. */ +export type BlockPortfoliosByPortfolioMovementCreatedBlockIdAndToIdManyToManyConnection = { + __typename?: 'BlockPortfoliosByPortfolioMovementCreatedBlockIdAndToIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Portfolio`, info from the `PortfolioMovement`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Portfolio` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Portfolio` you could get from the connection. */ + totalCount: Scalars['Int']['output']; }; -/** Conditions for `Block` aggregates. */ -export type BlocksHavingInput = { - AND?: InputMaybe>; - OR?: InputMaybe>; - average?: InputMaybe; - distinctCount?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddevPopulation?: InputMaybe; - stddevSample?: InputMaybe; - sum?: InputMaybe; - variancePopulation?: InputMaybe; - varianceSample?: InputMaybe; +/** A connection to a list of `Portfolio` values, with data from `PortfolioMovement`. */ +export type BlockPortfoliosByPortfolioMovementCreatedBlockIdAndToIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Portfolio` edge in the connection, with data from `PortfolioMovement`. */ +export type BlockPortfoliosByPortfolioMovementCreatedBlockIdAndToIdManyToManyEdge = { + __typename?: 'BlockPortfoliosByPortfolioMovementCreatedBlockIdAndToIdManyToManyEdge'; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Portfolio` at the end of the edge. */ + node?: Maybe; + /** Reads and enables pagination through a set of `PortfolioMovement`. */ + portfolioMovementsByToId: PortfolioMovementsConnection; }; -export type BlocksHavingMaxInput = { - blockId?: InputMaybe; - countEvents?: InputMaybe; - countExtrinsics?: InputMaybe; - countExtrinsicsError?: InputMaybe; - countExtrinsicsSigned?: InputMaybe; - countExtrinsicsSuccess?: InputMaybe; - countExtrinsicsUnsigned?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - parentId?: InputMaybe; - specVersionId?: InputMaybe; - updatedAt?: InputMaybe; +/** A `Portfolio` edge in the connection, with data from `PortfolioMovement`. */ +export type BlockPortfoliosByPortfolioMovementCreatedBlockIdAndToIdManyToManyEdgePortfolioMovementsByToIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `Portfolio` values, with data from `PortfolioMovement`. */ +export type BlockPortfoliosByPortfolioMovementUpdatedBlockIdAndFromIdManyToManyConnection = { + __typename?: 'BlockPortfoliosByPortfolioMovementUpdatedBlockIdAndFromIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Portfolio`, info from the `PortfolioMovement`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Portfolio` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Portfolio` you could get from the connection. */ + totalCount: Scalars['Int']['output']; }; -export type BlocksHavingMinInput = { - blockId?: InputMaybe; - countEvents?: InputMaybe; - countExtrinsics?: InputMaybe; - countExtrinsicsError?: InputMaybe; - countExtrinsicsSigned?: InputMaybe; - countExtrinsicsSuccess?: InputMaybe; - countExtrinsicsUnsigned?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - parentId?: InputMaybe; - specVersionId?: InputMaybe; - updatedAt?: InputMaybe; +/** A connection to a list of `Portfolio` values, with data from `PortfolioMovement`. */ +export type BlockPortfoliosByPortfolioMovementUpdatedBlockIdAndFromIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Portfolio` edge in the connection, with data from `PortfolioMovement`. */ +export type BlockPortfoliosByPortfolioMovementUpdatedBlockIdAndFromIdManyToManyEdge = { + __typename?: 'BlockPortfoliosByPortfolioMovementUpdatedBlockIdAndFromIdManyToManyEdge'; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Portfolio` at the end of the edge. */ + node?: Maybe; + /** Reads and enables pagination through a set of `PortfolioMovement`. */ + portfolioMovementsByFromId: PortfolioMovementsConnection; }; -export type BlocksHavingStddevPopulationInput = { - blockId?: InputMaybe; - countEvents?: InputMaybe; - countExtrinsics?: InputMaybe; - countExtrinsicsError?: InputMaybe; - countExtrinsicsSigned?: InputMaybe; - countExtrinsicsSuccess?: InputMaybe; - countExtrinsicsUnsigned?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - parentId?: InputMaybe; - specVersionId?: InputMaybe; - updatedAt?: InputMaybe; +/** A `Portfolio` edge in the connection, with data from `PortfolioMovement`. */ +export type BlockPortfoliosByPortfolioMovementUpdatedBlockIdAndFromIdManyToManyEdgePortfolioMovementsByFromIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `Portfolio` values, with data from `PortfolioMovement`. */ +export type BlockPortfoliosByPortfolioMovementUpdatedBlockIdAndToIdManyToManyConnection = { + __typename?: 'BlockPortfoliosByPortfolioMovementUpdatedBlockIdAndToIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Portfolio`, info from the `PortfolioMovement`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Portfolio` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Portfolio` you could get from the connection. */ + totalCount: Scalars['Int']['output']; }; -export type BlocksHavingStddevSampleInput = { - blockId?: InputMaybe; - countEvents?: InputMaybe; - countExtrinsics?: InputMaybe; - countExtrinsicsError?: InputMaybe; - countExtrinsicsSigned?: InputMaybe; - countExtrinsicsSuccess?: InputMaybe; - countExtrinsicsUnsigned?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - parentId?: InputMaybe; - specVersionId?: InputMaybe; - updatedAt?: InputMaybe; +/** A connection to a list of `Portfolio` values, with data from `PortfolioMovement`. */ +export type BlockPortfoliosByPortfolioMovementUpdatedBlockIdAndToIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Portfolio` edge in the connection, with data from `PortfolioMovement`. */ +export type BlockPortfoliosByPortfolioMovementUpdatedBlockIdAndToIdManyToManyEdge = { + __typename?: 'BlockPortfoliosByPortfolioMovementUpdatedBlockIdAndToIdManyToManyEdge'; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Portfolio` at the end of the edge. */ + node?: Maybe; + /** Reads and enables pagination through a set of `PortfolioMovement`. */ + portfolioMovementsByToId: PortfolioMovementsConnection; }; -export type BlocksHavingSumInput = { - blockId?: InputMaybe; - countEvents?: InputMaybe; - countExtrinsics?: InputMaybe; - countExtrinsicsError?: InputMaybe; - countExtrinsicsSigned?: InputMaybe; - countExtrinsicsSuccess?: InputMaybe; - countExtrinsicsUnsigned?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - parentId?: InputMaybe; - specVersionId?: InputMaybe; - updatedAt?: InputMaybe; +/** A `Portfolio` edge in the connection, with data from `PortfolioMovement`. */ +export type BlockPortfoliosByPortfolioMovementUpdatedBlockIdAndToIdManyToManyEdgePortfolioMovementsByToIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `Portfolio` values, with data from `Sto`. */ +export type BlockPortfoliosByStoCreatedBlockIdAndOfferingPortfolioIdManyToManyConnection = { + __typename?: 'BlockPortfoliosByStoCreatedBlockIdAndOfferingPortfolioIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Portfolio`, info from the `Sto`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Portfolio` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Portfolio` you could get from the connection. */ + totalCount: Scalars['Int']['output']; }; -export type BlocksHavingVariancePopulationInput = { - blockId?: InputMaybe; - countEvents?: InputMaybe; - countExtrinsics?: InputMaybe; - countExtrinsicsError?: InputMaybe; - countExtrinsicsSigned?: InputMaybe; - countExtrinsicsSuccess?: InputMaybe; - countExtrinsicsUnsigned?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - parentId?: InputMaybe; - specVersionId?: InputMaybe; - updatedAt?: InputMaybe; +/** A connection to a list of `Portfolio` values, with data from `Sto`. */ +export type BlockPortfoliosByStoCreatedBlockIdAndOfferingPortfolioIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Portfolio` edge in the connection, with data from `Sto`. */ +export type BlockPortfoliosByStoCreatedBlockIdAndOfferingPortfolioIdManyToManyEdge = { + __typename?: 'BlockPortfoliosByStoCreatedBlockIdAndOfferingPortfolioIdManyToManyEdge'; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Portfolio` at the end of the edge. */ + node?: Maybe; + /** Reads and enables pagination through a set of `Sto`. */ + stosByOfferingPortfolioId: StosConnection; }; -export type BlocksHavingVarianceSampleInput = { - blockId?: InputMaybe; - countEvents?: InputMaybe; - countExtrinsics?: InputMaybe; - countExtrinsicsError?: InputMaybe; - countExtrinsicsSigned?: InputMaybe; - countExtrinsicsSuccess?: InputMaybe; - countExtrinsicsUnsigned?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - parentId?: InputMaybe; - specVersionId?: InputMaybe; - updatedAt?: InputMaybe; +/** A `Portfolio` edge in the connection, with data from `Sto`. */ +export type BlockPortfoliosByStoCreatedBlockIdAndOfferingPortfolioIdManyToManyEdgeStosByOfferingPortfolioIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `Portfolio` values, with data from `Sto`. */ +export type BlockPortfoliosByStoCreatedBlockIdAndRaisingPortfolioIdManyToManyConnection = { + __typename?: 'BlockPortfoliosByStoCreatedBlockIdAndRaisingPortfolioIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Portfolio`, info from the `Sto`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Portfolio` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Portfolio` you could get from the connection. */ + totalCount: Scalars['Int']['output']; }; -/** Methods to use when ordering `Block`. */ -export enum BlocksOrderBy { - AccountsByCreatedBlockIdAverageAddressAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_ADDRESS_ASC', - AccountsByCreatedBlockIdAverageAddressDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_ADDRESS_DESC', - AccountsByCreatedBlockIdAverageCreatedAtAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - AccountsByCreatedBlockIdAverageCreatedAtDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - AccountsByCreatedBlockIdAverageCreatedBlockIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - AccountsByCreatedBlockIdAverageCreatedBlockIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - AccountsByCreatedBlockIdAverageDatetimeAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_DATETIME_ASC', - AccountsByCreatedBlockIdAverageDatetimeDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_DATETIME_DESC', - AccountsByCreatedBlockIdAverageEventIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_ID_ASC', - AccountsByCreatedBlockIdAverageEventIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_ID_DESC', - AccountsByCreatedBlockIdAverageIdentityIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_IDENTITY_ID_ASC', - AccountsByCreatedBlockIdAverageIdentityIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_IDENTITY_ID_DESC', - AccountsByCreatedBlockIdAverageIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_ID_ASC', - AccountsByCreatedBlockIdAverageIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_ID_DESC', - AccountsByCreatedBlockIdAveragePermissionsIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_PERMISSIONS_ID_ASC', - AccountsByCreatedBlockIdAveragePermissionsIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_PERMISSIONS_ID_DESC', - AccountsByCreatedBlockIdAverageUpdatedAtAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - AccountsByCreatedBlockIdAverageUpdatedAtDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - AccountsByCreatedBlockIdAverageUpdatedBlockIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - AccountsByCreatedBlockIdAverageUpdatedBlockIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - AccountsByCreatedBlockIdCountAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_COUNT_ASC', - AccountsByCreatedBlockIdCountDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_COUNT_DESC', - AccountsByCreatedBlockIdDistinctCountAddressAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ADDRESS_ASC', - AccountsByCreatedBlockIdDistinctCountAddressDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ADDRESS_DESC', - AccountsByCreatedBlockIdDistinctCountCreatedAtAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - AccountsByCreatedBlockIdDistinctCountCreatedAtDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - AccountsByCreatedBlockIdDistinctCountCreatedBlockIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - AccountsByCreatedBlockIdDistinctCountCreatedBlockIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - AccountsByCreatedBlockIdDistinctCountDatetimeAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_ASC', - AccountsByCreatedBlockIdDistinctCountDatetimeDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_DESC', - AccountsByCreatedBlockIdDistinctCountEventIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_ID_ASC', - AccountsByCreatedBlockIdDistinctCountEventIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_ID_DESC', - AccountsByCreatedBlockIdDistinctCountIdentityIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_IDENTITY_ID_ASC', - AccountsByCreatedBlockIdDistinctCountIdentityIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_IDENTITY_ID_DESC', - AccountsByCreatedBlockIdDistinctCountIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - AccountsByCreatedBlockIdDistinctCountIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - AccountsByCreatedBlockIdDistinctCountPermissionsIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_PERMISSIONS_ID_ASC', - AccountsByCreatedBlockIdDistinctCountPermissionsIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_PERMISSIONS_ID_DESC', - AccountsByCreatedBlockIdDistinctCountUpdatedAtAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - AccountsByCreatedBlockIdDistinctCountUpdatedAtDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - AccountsByCreatedBlockIdDistinctCountUpdatedBlockIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - AccountsByCreatedBlockIdDistinctCountUpdatedBlockIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - AccountsByCreatedBlockIdMaxAddressAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_ADDRESS_ASC', - AccountsByCreatedBlockIdMaxAddressDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_ADDRESS_DESC', - AccountsByCreatedBlockIdMaxCreatedAtAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_ASC', - AccountsByCreatedBlockIdMaxCreatedAtDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_DESC', - AccountsByCreatedBlockIdMaxCreatedBlockIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - AccountsByCreatedBlockIdMaxCreatedBlockIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - AccountsByCreatedBlockIdMaxDatetimeAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_DATETIME_ASC', - AccountsByCreatedBlockIdMaxDatetimeDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_DATETIME_DESC', - AccountsByCreatedBlockIdMaxEventIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_EVENT_ID_ASC', - AccountsByCreatedBlockIdMaxEventIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_EVENT_ID_DESC', - AccountsByCreatedBlockIdMaxIdentityIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_IDENTITY_ID_ASC', - AccountsByCreatedBlockIdMaxIdentityIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_IDENTITY_ID_DESC', - AccountsByCreatedBlockIdMaxIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_ID_ASC', - AccountsByCreatedBlockIdMaxIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_ID_DESC', - AccountsByCreatedBlockIdMaxPermissionsIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_PERMISSIONS_ID_ASC', - AccountsByCreatedBlockIdMaxPermissionsIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_PERMISSIONS_ID_DESC', - AccountsByCreatedBlockIdMaxUpdatedAtAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - AccountsByCreatedBlockIdMaxUpdatedAtDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - AccountsByCreatedBlockIdMaxUpdatedBlockIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - AccountsByCreatedBlockIdMaxUpdatedBlockIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - AccountsByCreatedBlockIdMinAddressAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_ADDRESS_ASC', - AccountsByCreatedBlockIdMinAddressDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_ADDRESS_DESC', - AccountsByCreatedBlockIdMinCreatedAtAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_ASC', - AccountsByCreatedBlockIdMinCreatedAtDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_DESC', - AccountsByCreatedBlockIdMinCreatedBlockIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - AccountsByCreatedBlockIdMinCreatedBlockIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - AccountsByCreatedBlockIdMinDatetimeAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_DATETIME_ASC', - AccountsByCreatedBlockIdMinDatetimeDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_DATETIME_DESC', - AccountsByCreatedBlockIdMinEventIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_EVENT_ID_ASC', - AccountsByCreatedBlockIdMinEventIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_EVENT_ID_DESC', - AccountsByCreatedBlockIdMinIdentityIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_IDENTITY_ID_ASC', - AccountsByCreatedBlockIdMinIdentityIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_IDENTITY_ID_DESC', - AccountsByCreatedBlockIdMinIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_ID_ASC', - AccountsByCreatedBlockIdMinIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_ID_DESC', - AccountsByCreatedBlockIdMinPermissionsIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_PERMISSIONS_ID_ASC', - AccountsByCreatedBlockIdMinPermissionsIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_PERMISSIONS_ID_DESC', - AccountsByCreatedBlockIdMinUpdatedAtAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - AccountsByCreatedBlockIdMinUpdatedAtDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - AccountsByCreatedBlockIdMinUpdatedBlockIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - AccountsByCreatedBlockIdMinUpdatedBlockIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - AccountsByCreatedBlockIdStddevPopulationAddressAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ADDRESS_ASC', - AccountsByCreatedBlockIdStddevPopulationAddressDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ADDRESS_DESC', - AccountsByCreatedBlockIdStddevPopulationCreatedAtAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - AccountsByCreatedBlockIdStddevPopulationCreatedAtDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - AccountsByCreatedBlockIdStddevPopulationCreatedBlockIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - AccountsByCreatedBlockIdStddevPopulationCreatedBlockIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - AccountsByCreatedBlockIdStddevPopulationDatetimeAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_DATETIME_ASC', - AccountsByCreatedBlockIdStddevPopulationDatetimeDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_DATETIME_DESC', - AccountsByCreatedBlockIdStddevPopulationEventIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_ID_ASC', - AccountsByCreatedBlockIdStddevPopulationEventIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_ID_DESC', - AccountsByCreatedBlockIdStddevPopulationIdentityIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_IDENTITY_ID_ASC', - AccountsByCreatedBlockIdStddevPopulationIdentityIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_IDENTITY_ID_DESC', - AccountsByCreatedBlockIdStddevPopulationIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - AccountsByCreatedBlockIdStddevPopulationIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - AccountsByCreatedBlockIdStddevPopulationPermissionsIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_PERMISSIONS_ID_ASC', - AccountsByCreatedBlockIdStddevPopulationPermissionsIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_PERMISSIONS_ID_DESC', - AccountsByCreatedBlockIdStddevPopulationUpdatedAtAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - AccountsByCreatedBlockIdStddevPopulationUpdatedAtDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - AccountsByCreatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - AccountsByCreatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - AccountsByCreatedBlockIdStddevSampleAddressAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ADDRESS_ASC', - AccountsByCreatedBlockIdStddevSampleAddressDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ADDRESS_DESC', - AccountsByCreatedBlockIdStddevSampleCreatedAtAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - AccountsByCreatedBlockIdStddevSampleCreatedAtDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - AccountsByCreatedBlockIdStddevSampleCreatedBlockIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - AccountsByCreatedBlockIdStddevSampleCreatedBlockIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - AccountsByCreatedBlockIdStddevSampleDatetimeAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_DATETIME_ASC', - AccountsByCreatedBlockIdStddevSampleDatetimeDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_DATETIME_DESC', - AccountsByCreatedBlockIdStddevSampleEventIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_ID_ASC', - AccountsByCreatedBlockIdStddevSampleEventIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_ID_DESC', - AccountsByCreatedBlockIdStddevSampleIdentityIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_IDENTITY_ID_ASC', - AccountsByCreatedBlockIdStddevSampleIdentityIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_IDENTITY_ID_DESC', - AccountsByCreatedBlockIdStddevSampleIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - AccountsByCreatedBlockIdStddevSampleIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - AccountsByCreatedBlockIdStddevSamplePermissionsIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_PERMISSIONS_ID_ASC', - AccountsByCreatedBlockIdStddevSamplePermissionsIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_PERMISSIONS_ID_DESC', - AccountsByCreatedBlockIdStddevSampleUpdatedAtAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - AccountsByCreatedBlockIdStddevSampleUpdatedAtDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - AccountsByCreatedBlockIdStddevSampleUpdatedBlockIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - AccountsByCreatedBlockIdStddevSampleUpdatedBlockIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - AccountsByCreatedBlockIdSumAddressAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_ADDRESS_ASC', - AccountsByCreatedBlockIdSumAddressDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_ADDRESS_DESC', - AccountsByCreatedBlockIdSumCreatedAtAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_ASC', - AccountsByCreatedBlockIdSumCreatedAtDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_DESC', - AccountsByCreatedBlockIdSumCreatedBlockIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - AccountsByCreatedBlockIdSumCreatedBlockIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - AccountsByCreatedBlockIdSumDatetimeAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_DATETIME_ASC', - AccountsByCreatedBlockIdSumDatetimeDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_DATETIME_DESC', - AccountsByCreatedBlockIdSumEventIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_EVENT_ID_ASC', - AccountsByCreatedBlockIdSumEventIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_EVENT_ID_DESC', - AccountsByCreatedBlockIdSumIdentityIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_IDENTITY_ID_ASC', - AccountsByCreatedBlockIdSumIdentityIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_IDENTITY_ID_DESC', - AccountsByCreatedBlockIdSumIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_ID_ASC', - AccountsByCreatedBlockIdSumIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_ID_DESC', - AccountsByCreatedBlockIdSumPermissionsIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_PERMISSIONS_ID_ASC', - AccountsByCreatedBlockIdSumPermissionsIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_PERMISSIONS_ID_DESC', - AccountsByCreatedBlockIdSumUpdatedAtAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - AccountsByCreatedBlockIdSumUpdatedAtDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - AccountsByCreatedBlockIdSumUpdatedBlockIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - AccountsByCreatedBlockIdSumUpdatedBlockIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - AccountsByCreatedBlockIdVariancePopulationAddressAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ADDRESS_ASC', - AccountsByCreatedBlockIdVariancePopulationAddressDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ADDRESS_DESC', - AccountsByCreatedBlockIdVariancePopulationCreatedAtAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - AccountsByCreatedBlockIdVariancePopulationCreatedAtDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - AccountsByCreatedBlockIdVariancePopulationCreatedBlockIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - AccountsByCreatedBlockIdVariancePopulationCreatedBlockIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - AccountsByCreatedBlockIdVariancePopulationDatetimeAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_DATETIME_ASC', - AccountsByCreatedBlockIdVariancePopulationDatetimeDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_DATETIME_DESC', - AccountsByCreatedBlockIdVariancePopulationEventIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_ID_ASC', - AccountsByCreatedBlockIdVariancePopulationEventIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_ID_DESC', - AccountsByCreatedBlockIdVariancePopulationIdentityIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_IDENTITY_ID_ASC', - AccountsByCreatedBlockIdVariancePopulationIdentityIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_IDENTITY_ID_DESC', - AccountsByCreatedBlockIdVariancePopulationIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - AccountsByCreatedBlockIdVariancePopulationIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - AccountsByCreatedBlockIdVariancePopulationPermissionsIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_PERMISSIONS_ID_ASC', - AccountsByCreatedBlockIdVariancePopulationPermissionsIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_PERMISSIONS_ID_DESC', - AccountsByCreatedBlockIdVariancePopulationUpdatedAtAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - AccountsByCreatedBlockIdVariancePopulationUpdatedAtDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - AccountsByCreatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - AccountsByCreatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - AccountsByCreatedBlockIdVarianceSampleAddressAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ADDRESS_ASC', - AccountsByCreatedBlockIdVarianceSampleAddressDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ADDRESS_DESC', - AccountsByCreatedBlockIdVarianceSampleCreatedAtAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - AccountsByCreatedBlockIdVarianceSampleCreatedAtDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - AccountsByCreatedBlockIdVarianceSampleCreatedBlockIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - AccountsByCreatedBlockIdVarianceSampleCreatedBlockIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - AccountsByCreatedBlockIdVarianceSampleDatetimeAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_DATETIME_ASC', - AccountsByCreatedBlockIdVarianceSampleDatetimeDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_DATETIME_DESC', - AccountsByCreatedBlockIdVarianceSampleEventIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_ID_ASC', - AccountsByCreatedBlockIdVarianceSampleEventIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_ID_DESC', - AccountsByCreatedBlockIdVarianceSampleIdentityIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_IDENTITY_ID_ASC', - AccountsByCreatedBlockIdVarianceSampleIdentityIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_IDENTITY_ID_DESC', - AccountsByCreatedBlockIdVarianceSampleIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - AccountsByCreatedBlockIdVarianceSampleIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - AccountsByCreatedBlockIdVarianceSamplePermissionsIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_PERMISSIONS_ID_ASC', - AccountsByCreatedBlockIdVarianceSamplePermissionsIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_PERMISSIONS_ID_DESC', - AccountsByCreatedBlockIdVarianceSampleUpdatedAtAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - AccountsByCreatedBlockIdVarianceSampleUpdatedAtDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - AccountsByCreatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - AccountsByCreatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - AccountsByUpdatedBlockIdAverageAddressAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_ADDRESS_ASC', - AccountsByUpdatedBlockIdAverageAddressDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_ADDRESS_DESC', - AccountsByUpdatedBlockIdAverageCreatedAtAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - AccountsByUpdatedBlockIdAverageCreatedAtDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - AccountsByUpdatedBlockIdAverageCreatedBlockIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - AccountsByUpdatedBlockIdAverageCreatedBlockIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - AccountsByUpdatedBlockIdAverageDatetimeAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_DATETIME_ASC', - AccountsByUpdatedBlockIdAverageDatetimeDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_DATETIME_DESC', - AccountsByUpdatedBlockIdAverageEventIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_ID_ASC', - AccountsByUpdatedBlockIdAverageEventIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_ID_DESC', - AccountsByUpdatedBlockIdAverageIdentityIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_IDENTITY_ID_ASC', - AccountsByUpdatedBlockIdAverageIdentityIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_IDENTITY_ID_DESC', - AccountsByUpdatedBlockIdAverageIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_ASC', - AccountsByUpdatedBlockIdAverageIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_DESC', - AccountsByUpdatedBlockIdAveragePermissionsIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_PERMISSIONS_ID_ASC', - AccountsByUpdatedBlockIdAveragePermissionsIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_PERMISSIONS_ID_DESC', - AccountsByUpdatedBlockIdAverageUpdatedAtAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - AccountsByUpdatedBlockIdAverageUpdatedAtDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - AccountsByUpdatedBlockIdAverageUpdatedBlockIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - AccountsByUpdatedBlockIdAverageUpdatedBlockIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - AccountsByUpdatedBlockIdCountAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_COUNT_ASC', - AccountsByUpdatedBlockIdCountDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_COUNT_DESC', - AccountsByUpdatedBlockIdDistinctCountAddressAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ADDRESS_ASC', - AccountsByUpdatedBlockIdDistinctCountAddressDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ADDRESS_DESC', - AccountsByUpdatedBlockIdDistinctCountCreatedAtAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - AccountsByUpdatedBlockIdDistinctCountCreatedAtDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - AccountsByUpdatedBlockIdDistinctCountCreatedBlockIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - AccountsByUpdatedBlockIdDistinctCountCreatedBlockIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - AccountsByUpdatedBlockIdDistinctCountDatetimeAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_ASC', - AccountsByUpdatedBlockIdDistinctCountDatetimeDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_DESC', - AccountsByUpdatedBlockIdDistinctCountEventIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_ID_ASC', - AccountsByUpdatedBlockIdDistinctCountEventIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_ID_DESC', - AccountsByUpdatedBlockIdDistinctCountIdentityIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_IDENTITY_ID_ASC', - AccountsByUpdatedBlockIdDistinctCountIdentityIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_IDENTITY_ID_DESC', - AccountsByUpdatedBlockIdDistinctCountIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - AccountsByUpdatedBlockIdDistinctCountIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - AccountsByUpdatedBlockIdDistinctCountPermissionsIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_PERMISSIONS_ID_ASC', - AccountsByUpdatedBlockIdDistinctCountPermissionsIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_PERMISSIONS_ID_DESC', - AccountsByUpdatedBlockIdDistinctCountUpdatedAtAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - AccountsByUpdatedBlockIdDistinctCountUpdatedAtDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - AccountsByUpdatedBlockIdDistinctCountUpdatedBlockIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - AccountsByUpdatedBlockIdDistinctCountUpdatedBlockIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - AccountsByUpdatedBlockIdMaxAddressAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_ADDRESS_ASC', - AccountsByUpdatedBlockIdMaxAddressDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_ADDRESS_DESC', - AccountsByUpdatedBlockIdMaxCreatedAtAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_ASC', - AccountsByUpdatedBlockIdMaxCreatedAtDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_DESC', - AccountsByUpdatedBlockIdMaxCreatedBlockIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - AccountsByUpdatedBlockIdMaxCreatedBlockIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - AccountsByUpdatedBlockIdMaxDatetimeAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_DATETIME_ASC', +/** A connection to a list of `Portfolio` values, with data from `Sto`. */ +export type BlockPortfoliosByStoCreatedBlockIdAndRaisingPortfolioIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Portfolio` edge in the connection, with data from `Sto`. */ +export type BlockPortfoliosByStoCreatedBlockIdAndRaisingPortfolioIdManyToManyEdge = { + __typename?: 'BlockPortfoliosByStoCreatedBlockIdAndRaisingPortfolioIdManyToManyEdge'; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Portfolio` at the end of the edge. */ + node?: Maybe; + /** Reads and enables pagination through a set of `Sto`. */ + stosByRaisingPortfolioId: StosConnection; +}; + +/** A `Portfolio` edge in the connection, with data from `Sto`. */ +export type BlockPortfoliosByStoCreatedBlockIdAndRaisingPortfolioIdManyToManyEdgeStosByRaisingPortfolioIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `Portfolio` values, with data from `Sto`. */ +export type BlockPortfoliosByStoUpdatedBlockIdAndOfferingPortfolioIdManyToManyConnection = { + __typename?: 'BlockPortfoliosByStoUpdatedBlockIdAndOfferingPortfolioIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Portfolio`, info from the `Sto`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Portfolio` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Portfolio` you could get from the connection. */ + totalCount: Scalars['Int']['output']; +}; + +/** A connection to a list of `Portfolio` values, with data from `Sto`. */ +export type BlockPortfoliosByStoUpdatedBlockIdAndOfferingPortfolioIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Portfolio` edge in the connection, with data from `Sto`. */ +export type BlockPortfoliosByStoUpdatedBlockIdAndOfferingPortfolioIdManyToManyEdge = { + __typename?: 'BlockPortfoliosByStoUpdatedBlockIdAndOfferingPortfolioIdManyToManyEdge'; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Portfolio` at the end of the edge. */ + node?: Maybe; + /** Reads and enables pagination through a set of `Sto`. */ + stosByOfferingPortfolioId: StosConnection; +}; + +/** A `Portfolio` edge in the connection, with data from `Sto`. */ +export type BlockPortfoliosByStoUpdatedBlockIdAndOfferingPortfolioIdManyToManyEdgeStosByOfferingPortfolioIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `Portfolio` values, with data from `Sto`. */ +export type BlockPortfoliosByStoUpdatedBlockIdAndRaisingPortfolioIdManyToManyConnection = { + __typename?: 'BlockPortfoliosByStoUpdatedBlockIdAndRaisingPortfolioIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Portfolio`, info from the `Sto`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Portfolio` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Portfolio` you could get from the connection. */ + totalCount: Scalars['Int']['output']; +}; + +/** A connection to a list of `Portfolio` values, with data from `Sto`. */ +export type BlockPortfoliosByStoUpdatedBlockIdAndRaisingPortfolioIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Portfolio` edge in the connection, with data from `Sto`. */ +export type BlockPortfoliosByStoUpdatedBlockIdAndRaisingPortfolioIdManyToManyEdge = { + __typename?: 'BlockPortfoliosByStoUpdatedBlockIdAndRaisingPortfolioIdManyToManyEdge'; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Portfolio` at the end of the edge. */ + node?: Maybe; + /** Reads and enables pagination through a set of `Sto`. */ + stosByRaisingPortfolioId: StosConnection; +}; + +/** A `Portfolio` edge in the connection, with data from `Sto`. */ +export type BlockPortfoliosByStoUpdatedBlockIdAndRaisingPortfolioIdManyToManyEdgeStosByRaisingPortfolioIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `Proposal` values, with data from `ProposalVote`. */ +export type BlockProposalsByProposalVoteCreatedBlockIdAndProposalIdManyToManyConnection = { + __typename?: 'BlockProposalsByProposalVoteCreatedBlockIdAndProposalIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Proposal`, info from the `ProposalVote`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Proposal` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Proposal` you could get from the connection. */ + totalCount: Scalars['Int']['output']; +}; + +/** A connection to a list of `Proposal` values, with data from `ProposalVote`. */ +export type BlockProposalsByProposalVoteCreatedBlockIdAndProposalIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Proposal` edge in the connection, with data from `ProposalVote`. */ +export type BlockProposalsByProposalVoteCreatedBlockIdAndProposalIdManyToManyEdge = { + __typename?: 'BlockProposalsByProposalVoteCreatedBlockIdAndProposalIdManyToManyEdge'; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Proposal` at the end of the edge. */ + node?: Maybe; + /** Reads and enables pagination through a set of `ProposalVote`. */ + votes: ProposalVotesConnection; +}; + +/** A `Proposal` edge in the connection, with data from `ProposalVote`. */ +export type BlockProposalsByProposalVoteCreatedBlockIdAndProposalIdManyToManyEdgeVotesArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** A connection to a list of `Proposal` values, with data from `ProposalVote`. */ +export type BlockProposalsByProposalVoteUpdatedBlockIdAndProposalIdManyToManyConnection = { + __typename?: 'BlockProposalsByProposalVoteUpdatedBlockIdAndProposalIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Proposal`, info from the `ProposalVote`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Proposal` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Proposal` you could get from the connection. */ + totalCount: Scalars['Int']['output']; +}; + +/** A connection to a list of `Proposal` values, with data from `ProposalVote`. */ +export type BlockProposalsByProposalVoteUpdatedBlockIdAndProposalIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Proposal` edge in the connection, with data from `ProposalVote`. */ +export type BlockProposalsByProposalVoteUpdatedBlockIdAndProposalIdManyToManyEdge = { + __typename?: 'BlockProposalsByProposalVoteUpdatedBlockIdAndProposalIdManyToManyEdge'; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Proposal` at the end of the edge. */ + node?: Maybe; + /** Reads and enables pagination through a set of `ProposalVote`. */ + votes: ProposalVotesConnection; +}; + +/** A `Proposal` edge in the connection, with data from `ProposalVote`. */ +export type BlockProposalsByProposalVoteUpdatedBlockIdAndProposalIdManyToManyEdgeVotesArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** A connection to a list of `Settlement` values, with data from `Leg`. */ +export type BlockSettlementsByLegCreatedBlockIdAndSettlementIdManyToManyConnection = { + __typename?: 'BlockSettlementsByLegCreatedBlockIdAndSettlementIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Settlement`, info from the `Leg`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Settlement` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Settlement` you could get from the connection. */ + totalCount: Scalars['Int']['output']; +}; + +/** A connection to a list of `Settlement` values, with data from `Leg`. */ +export type BlockSettlementsByLegCreatedBlockIdAndSettlementIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Settlement` edge in the connection, with data from `Leg`. */ +export type BlockSettlementsByLegCreatedBlockIdAndSettlementIdManyToManyEdge = { + __typename?: 'BlockSettlementsByLegCreatedBlockIdAndSettlementIdManyToManyEdge'; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** Reads and enables pagination through a set of `Leg`. */ + legs: LegsConnection; + /** The `Settlement` at the end of the edge. */ + node?: Maybe; +}; + +/** A `Settlement` edge in the connection, with data from `Leg`. */ +export type BlockSettlementsByLegCreatedBlockIdAndSettlementIdManyToManyEdgeLegsArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** A connection to a list of `Settlement` values, with data from `Leg`. */ +export type BlockSettlementsByLegUpdatedBlockIdAndSettlementIdManyToManyConnection = { + __typename?: 'BlockSettlementsByLegUpdatedBlockIdAndSettlementIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Settlement`, info from the `Leg`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Settlement` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Settlement` you could get from the connection. */ + totalCount: Scalars['Int']['output']; +}; + +/** A connection to a list of `Settlement` values, with data from `Leg`. */ +export type BlockSettlementsByLegUpdatedBlockIdAndSettlementIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Settlement` edge in the connection, with data from `Leg`. */ +export type BlockSettlementsByLegUpdatedBlockIdAndSettlementIdManyToManyEdge = { + __typename?: 'BlockSettlementsByLegUpdatedBlockIdAndSettlementIdManyToManyEdge'; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** Reads and enables pagination through a set of `Leg`. */ + legs: LegsConnection; + /** The `Settlement` at the end of the edge. */ + node?: Maybe; +}; + +/** A `Settlement` edge in the connection, with data from `Leg`. */ +export type BlockSettlementsByLegUpdatedBlockIdAndSettlementIdManyToManyEdgeLegsArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** A connection to a list of `StatType` values, with data from `TransferCompliance`. */ +export type BlockStatTypesByTransferComplianceCreatedBlockIdAndStatTypeIdManyToManyConnection = { + __typename?: 'BlockStatTypesByTransferComplianceCreatedBlockIdAndStatTypeIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `StatType`, info from the `TransferCompliance`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `StatType` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `StatType` you could get from the connection. */ + totalCount: Scalars['Int']['output']; +}; + +/** A connection to a list of `StatType` values, with data from `TransferCompliance`. */ +export type BlockStatTypesByTransferComplianceCreatedBlockIdAndStatTypeIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `StatType` edge in the connection, with data from `TransferCompliance`. */ +export type BlockStatTypesByTransferComplianceCreatedBlockIdAndStatTypeIdManyToManyEdge = { + __typename?: 'BlockStatTypesByTransferComplianceCreatedBlockIdAndStatTypeIdManyToManyEdge'; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `StatType` at the end of the edge. */ + node?: Maybe; + /** Reads and enables pagination through a set of `TransferCompliance`. */ + transferCompliances: TransferCompliancesConnection; +}; + +/** A `StatType` edge in the connection, with data from `TransferCompliance`. */ +export type BlockStatTypesByTransferComplianceCreatedBlockIdAndStatTypeIdManyToManyEdgeTransferCompliancesArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `StatType` values, with data from `TransferCompliance`. */ +export type BlockStatTypesByTransferComplianceUpdatedBlockIdAndStatTypeIdManyToManyConnection = { + __typename?: 'BlockStatTypesByTransferComplianceUpdatedBlockIdAndStatTypeIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `StatType`, info from the `TransferCompliance`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `StatType` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `StatType` you could get from the connection. */ + totalCount: Scalars['Int']['output']; +}; + +/** A connection to a list of `StatType` values, with data from `TransferCompliance`. */ +export type BlockStatTypesByTransferComplianceUpdatedBlockIdAndStatTypeIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `StatType` edge in the connection, with data from `TransferCompliance`. */ +export type BlockStatTypesByTransferComplianceUpdatedBlockIdAndStatTypeIdManyToManyEdge = { + __typename?: 'BlockStatTypesByTransferComplianceUpdatedBlockIdAndStatTypeIdManyToManyEdge'; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `StatType` at the end of the edge. */ + node?: Maybe; + /** Reads and enables pagination through a set of `TransferCompliance`. */ + transferCompliances: TransferCompliancesConnection; +}; + +/** A `StatType` edge in the connection, with data from `TransferCompliance`. */ +export type BlockStatTypesByTransferComplianceUpdatedBlockIdAndStatTypeIdManyToManyEdgeTransferCompliancesArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +export type BlockStddevPopulationAggregates = { + __typename?: 'BlockStddevPopulationAggregates'; + /** Population standard deviation of blockId across the matching connection */ + blockId?: Maybe; + /** Population standard deviation of countEvents across the matching connection */ + countEvents?: Maybe; + /** Population standard deviation of countExtrinsics across the matching connection */ + countExtrinsics?: Maybe; + /** Population standard deviation of countExtrinsicsError across the matching connection */ + countExtrinsicsError?: Maybe; + /** Population standard deviation of countExtrinsicsSigned across the matching connection */ + countExtrinsicsSigned?: Maybe; + /** Population standard deviation of countExtrinsicsSuccess across the matching connection */ + countExtrinsicsSuccess?: Maybe; + /** Population standard deviation of countExtrinsicsUnsigned across the matching connection */ + countExtrinsicsUnsigned?: Maybe; + /** Population standard deviation of parentId across the matching connection */ + parentId?: Maybe; + /** Population standard deviation of specVersionId across the matching connection */ + specVersionId?: Maybe; +}; + +export type BlockStddevSampleAggregates = { + __typename?: 'BlockStddevSampleAggregates'; + /** Sample standard deviation of blockId across the matching connection */ + blockId?: Maybe; + /** Sample standard deviation of countEvents across the matching connection */ + countEvents?: Maybe; + /** Sample standard deviation of countExtrinsics across the matching connection */ + countExtrinsics?: Maybe; + /** Sample standard deviation of countExtrinsicsError across the matching connection */ + countExtrinsicsError?: Maybe; + /** Sample standard deviation of countExtrinsicsSigned across the matching connection */ + countExtrinsicsSigned?: Maybe; + /** Sample standard deviation of countExtrinsicsSuccess across the matching connection */ + countExtrinsicsSuccess?: Maybe; + /** Sample standard deviation of countExtrinsicsUnsigned across the matching connection */ + countExtrinsicsUnsigned?: Maybe; + /** Sample standard deviation of parentId across the matching connection */ + parentId?: Maybe; + /** Sample standard deviation of specVersionId across the matching connection */ + specVersionId?: Maybe; +}; + +export type BlockSumAggregates = { + __typename?: 'BlockSumAggregates'; + /** Sum of blockId across the matching connection */ + blockId: Scalars['BigInt']['output']; + /** Sum of countEvents across the matching connection */ + countEvents: Scalars['BigInt']['output']; + /** Sum of countExtrinsics across the matching connection */ + countExtrinsics: Scalars['BigInt']['output']; + /** Sum of countExtrinsicsError across the matching connection */ + countExtrinsicsError: Scalars['BigInt']['output']; + /** Sum of countExtrinsicsSigned across the matching connection */ + countExtrinsicsSigned: Scalars['BigInt']['output']; + /** Sum of countExtrinsicsSuccess across the matching connection */ + countExtrinsicsSuccess: Scalars['BigInt']['output']; + /** Sum of countExtrinsicsUnsigned across the matching connection */ + countExtrinsicsUnsigned: Scalars['BigInt']['output']; + /** Sum of parentId across the matching connection */ + parentId: Scalars['BigInt']['output']; + /** Sum of specVersionId across the matching connection */ + specVersionId: Scalars['BigInt']['output']; +}; + +/** A filter to be used against many `Account` object types. All fields are combined with a logical ‘and.’ */ +export type BlockToManyAccountFilter = { + /** Aggregates across related `Account` match the filter criteria. */ + aggregates?: InputMaybe; + /** Every related `Account` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe; + /** No related `Account` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe; + /** Some related `Account` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe; +}; + +/** A filter to be used against many `AccountHistory` object types. All fields are combined with a logical ‘and.’ */ +export type BlockToManyAccountHistoryFilter = { + /** Aggregates across related `AccountHistory` match the filter criteria. */ + aggregates?: InputMaybe; + /** Every related `AccountHistory` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe; + /** No related `AccountHistory` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe; + /** Some related `AccountHistory` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe; +}; + +/** A filter to be used against many `AgentGroup` object types. All fields are combined with a logical ‘and.’ */ +export type BlockToManyAgentGroupFilter = { + /** Aggregates across related `AgentGroup` match the filter criteria. */ + aggregates?: InputMaybe; + /** Every related `AgentGroup` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe; + /** No related `AgentGroup` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe; + /** Some related `AgentGroup` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe; +}; + +/** A filter to be used against many `AgentGroupMembership` object types. All fields are combined with a logical ‘and.’ */ +export type BlockToManyAgentGroupMembershipFilter = { + /** Aggregates across related `AgentGroupMembership` match the filter criteria. */ + aggregates?: InputMaybe; + /** Every related `AgentGroupMembership` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe; + /** No related `AgentGroupMembership` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe; + /** Some related `AgentGroupMembership` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe; +}; + +/** A filter to be used against many `AssetDocument` object types. All fields are combined with a logical ‘and.’ */ +export type BlockToManyAssetDocumentFilter = { + /** Aggregates across related `AssetDocument` match the filter criteria. */ + aggregates?: InputMaybe; + /** Every related `AssetDocument` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe; + /** No related `AssetDocument` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe; + /** Some related `AssetDocument` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe; +}; + +/** A filter to be used against many `Asset` object types. All fields are combined with a logical ‘and.’ */ +export type BlockToManyAssetFilter = { + /** Aggregates across related `Asset` match the filter criteria. */ + aggregates?: InputMaybe; + /** Every related `Asset` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe; + /** No related `Asset` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe; + /** Some related `Asset` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe; +}; + +/** A filter to be used against many `AssetHolder` object types. All fields are combined with a logical ‘and.’ */ +export type BlockToManyAssetHolderFilter = { + /** Aggregates across related `AssetHolder` match the filter criteria. */ + aggregates?: InputMaybe; + /** Every related `AssetHolder` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe; + /** No related `AssetHolder` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe; + /** Some related `AssetHolder` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe; +}; + +/** A filter to be used against many `AssetPendingOwnershipTransfer` object types. All fields are combined with a logical ‘and.’ */ +export type BlockToManyAssetPendingOwnershipTransferFilter = { + /** Aggregates across related `AssetPendingOwnershipTransfer` match the filter criteria. */ + aggregates?: InputMaybe; + /** Every related `AssetPendingOwnershipTransfer` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe; + /** No related `AssetPendingOwnershipTransfer` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe; + /** Some related `AssetPendingOwnershipTransfer` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe; +}; + +/** A filter to be used against many `AssetTransaction` object types. All fields are combined with a logical ‘and.’ */ +export type BlockToManyAssetTransactionFilter = { + /** Aggregates across related `AssetTransaction` match the filter criteria. */ + aggregates?: InputMaybe; + /** Every related `AssetTransaction` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe; + /** No related `AssetTransaction` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe; + /** Some related `AssetTransaction` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe; +}; + +/** A filter to be used against many `Authorization` object types. All fields are combined with a logical ‘and.’ */ +export type BlockToManyAuthorizationFilter = { + /** Aggregates across related `Authorization` match the filter criteria. */ + aggregates?: InputMaybe; + /** Every related `Authorization` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe; + /** No related `Authorization` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe; + /** Some related `Authorization` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe; +}; + +/** A filter to be used against many `BridgeEvent` object types. All fields are combined with a logical ‘and.’ */ +export type BlockToManyBridgeEventFilter = { + /** Aggregates across related `BridgeEvent` match the filter criteria. */ + aggregates?: InputMaybe; + /** Every related `BridgeEvent` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe; + /** No related `BridgeEvent` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe; + /** Some related `BridgeEvent` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe; +}; + +/** A filter to be used against many `ChildIdentity` object types. All fields are combined with a logical ‘and.’ */ +export type BlockToManyChildIdentityFilter = { + /** Aggregates across related `ChildIdentity` match the filter criteria. */ + aggregates?: InputMaybe; + /** Every related `ChildIdentity` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe; + /** No related `ChildIdentity` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe; + /** Some related `ChildIdentity` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe; +}; + +/** A filter to be used against many `Claim` object types. All fields are combined with a logical ‘and.’ */ +export type BlockToManyClaimFilter = { + /** Aggregates across related `Claim` match the filter criteria. */ + aggregates?: InputMaybe; + /** Every related `Claim` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe; + /** No related `Claim` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe; + /** Some related `Claim` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe; +}; + +/** A filter to be used against many `ClaimScope` object types. All fields are combined with a logical ‘and.’ */ +export type BlockToManyClaimScopeFilter = { + /** Aggregates across related `ClaimScope` match the filter criteria. */ + aggregates?: InputMaybe; + /** Every related `ClaimScope` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe; + /** No related `ClaimScope` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe; + /** Some related `ClaimScope` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe; +}; + +/** A filter to be used against many `Compliance` object types. All fields are combined with a logical ‘and.’ */ +export type BlockToManyComplianceFilter = { + /** Aggregates across related `Compliance` match the filter criteria. */ + aggregates?: InputMaybe; + /** Every related `Compliance` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe; + /** No related `Compliance` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe; + /** Some related `Compliance` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe; +}; + +/** A filter to be used against many `ConfidentialAccount` object types. All fields are combined with a logical ‘and.’ */ +export type BlockToManyConfidentialAccountFilter = { + /** Aggregates across related `ConfidentialAccount` match the filter criteria. */ + aggregates?: InputMaybe; + /** Every related `ConfidentialAccount` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe; + /** No related `ConfidentialAccount` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe; + /** Some related `ConfidentialAccount` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe; +}; + +/** A filter to be used against many `ConfidentialAsset` object types. All fields are combined with a logical ‘and.’ */ +export type BlockToManyConfidentialAssetFilter = { + /** Aggregates across related `ConfidentialAsset` match the filter criteria. */ + aggregates?: InputMaybe; + /** Every related `ConfidentialAsset` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe; + /** No related `ConfidentialAsset` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe; + /** Some related `ConfidentialAsset` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe; +}; + +/** A filter to be used against many `ConfidentialAssetHistory` object types. All fields are combined with a logical ‘and.’ */ +export type BlockToManyConfidentialAssetHistoryFilter = { + /** Aggregates across related `ConfidentialAssetHistory` match the filter criteria. */ + aggregates?: InputMaybe; + /** Every related `ConfidentialAssetHistory` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe; + /** No related `ConfidentialAssetHistory` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe; + /** Some related `ConfidentialAssetHistory` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe; +}; + +/** A filter to be used against many `ConfidentialAssetHolder` object types. All fields are combined with a logical ‘and.’ */ +export type BlockToManyConfidentialAssetHolderFilter = { + /** Aggregates across related `ConfidentialAssetHolder` match the filter criteria. */ + aggregates?: InputMaybe; + /** Every related `ConfidentialAssetHolder` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe; + /** No related `ConfidentialAssetHolder` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe; + /** Some related `ConfidentialAssetHolder` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe; +}; + +/** A filter to be used against many `ConfidentialLeg` object types. All fields are combined with a logical ‘and.’ */ +export type BlockToManyConfidentialLegFilter = { + /** Aggregates across related `ConfidentialLeg` match the filter criteria. */ + aggregates?: InputMaybe; + /** Every related `ConfidentialLeg` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe; + /** No related `ConfidentialLeg` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe; + /** Some related `ConfidentialLeg` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe; +}; + +/** A filter to be used against many `ConfidentialTransactionAffirmation` object types. All fields are combined with a logical ‘and.’ */ +export type BlockToManyConfidentialTransactionAffirmationFilter = { + /** Aggregates across related `ConfidentialTransactionAffirmation` match the filter criteria. */ + aggregates?: InputMaybe; + /** Every related `ConfidentialTransactionAffirmation` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe; + /** No related `ConfidentialTransactionAffirmation` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe; + /** Some related `ConfidentialTransactionAffirmation` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe; +}; + +/** A filter to be used against many `ConfidentialTransaction` object types. All fields are combined with a logical ‘and.’ */ +export type BlockToManyConfidentialTransactionFilter = { + /** Aggregates across related `ConfidentialTransaction` match the filter criteria. */ + aggregates?: InputMaybe; + /** Every related `ConfidentialTransaction` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe; + /** No related `ConfidentialTransaction` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe; + /** Some related `ConfidentialTransaction` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe; +}; + +/** A filter to be used against many `ConfidentialVenue` object types. All fields are combined with a logical ‘and.’ */ +export type BlockToManyConfidentialVenueFilter = { + /** Aggregates across related `ConfidentialVenue` match the filter criteria. */ + aggregates?: InputMaybe; + /** Every related `ConfidentialVenue` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe; + /** No related `ConfidentialVenue` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe; + /** Some related `ConfidentialVenue` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe; +}; + +/** A filter to be used against many `CustomClaimType` object types. All fields are combined with a logical ‘and.’ */ +export type BlockToManyCustomClaimTypeFilter = { + /** Aggregates across related `CustomClaimType` match the filter criteria. */ + aggregates?: InputMaybe; + /** Every related `CustomClaimType` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe; + /** No related `CustomClaimType` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe; + /** Some related `CustomClaimType` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe; +}; + +/** A filter to be used against many `Distribution` object types. All fields are combined with a logical ‘and.’ */ +export type BlockToManyDistributionFilter = { + /** Aggregates across related `Distribution` match the filter criteria. */ + aggregates?: InputMaybe; + /** Every related `Distribution` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe; + /** No related `Distribution` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe; + /** Some related `Distribution` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe; +}; + +/** A filter to be used against many `DistributionPayment` object types. All fields are combined with a logical ‘and.’ */ +export type BlockToManyDistributionPaymentFilter = { + /** Aggregates across related `DistributionPayment` match the filter criteria. */ + aggregates?: InputMaybe; + /** Every related `DistributionPayment` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe; + /** No related `DistributionPayment` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe; + /** Some related `DistributionPayment` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe; +}; + +/** A filter to be used against many `Event` object types. All fields are combined with a logical ‘and.’ */ +export type BlockToManyEventFilter = { + /** Aggregates across related `Event` match the filter criteria. */ + aggregates?: InputMaybe; + /** Every related `Event` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe; + /** No related `Event` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe; + /** Some related `Event` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe; +}; + +/** A filter to be used against many `Extrinsic` object types. All fields are combined with a logical ‘and.’ */ +export type BlockToManyExtrinsicFilter = { + /** Aggregates across related `Extrinsic` match the filter criteria. */ + aggregates?: InputMaybe; + /** Every related `Extrinsic` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe; + /** No related `Extrinsic` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe; + /** Some related `Extrinsic` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe; +}; + +/** A filter to be used against many `Funding` object types. All fields are combined with a logical ‘and.’ */ +export type BlockToManyFundingFilter = { + /** Aggregates across related `Funding` match the filter criteria. */ + aggregates?: InputMaybe; + /** Every related `Funding` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe; + /** No related `Funding` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe; + /** Some related `Funding` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe; +}; + +/** A filter to be used against many `Identity` object types. All fields are combined with a logical ‘and.’ */ +export type BlockToManyIdentityFilter = { + /** Aggregates across related `Identity` match the filter criteria. */ + aggregates?: InputMaybe; + /** Every related `Identity` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe; + /** No related `Identity` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe; + /** Some related `Identity` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe; +}; + +/** A filter to be used against many `Instruction` object types. All fields are combined with a logical ‘and.’ */ +export type BlockToManyInstructionFilter = { + /** Aggregates across related `Instruction` match the filter criteria. */ + aggregates?: InputMaybe; + /** Every related `Instruction` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe; + /** No related `Instruction` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe; + /** Some related `Instruction` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe; +}; + +/** A filter to be used against many `Investment` object types. All fields are combined with a logical ‘and.’ */ +export type BlockToManyInvestmentFilter = { + /** Aggregates across related `Investment` match the filter criteria. */ + aggregates?: InputMaybe; + /** Every related `Investment` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe; + /** No related `Investment` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe; + /** Some related `Investment` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe; +}; + +/** A filter to be used against many `Leg` object types. All fields are combined with a logical ‘and.’ */ +export type BlockToManyLegFilter = { + /** Aggregates across related `Leg` match the filter criteria. */ + aggregates?: InputMaybe; + /** Every related `Leg` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe; + /** No related `Leg` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe; + /** Some related `Leg` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe; +}; + +/** A filter to be used against many `MultiSig` object types. All fields are combined with a logical ‘and.’ */ +export type BlockToManyMultiSigFilter = { + /** Aggregates across related `MultiSig` match the filter criteria. */ + aggregates?: InputMaybe; + /** Every related `MultiSig` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe; + /** No related `MultiSig` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe; + /** Some related `MultiSig` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe; +}; + +/** A filter to be used against many `MultiSigProposal` object types. All fields are combined with a logical ‘and.’ */ +export type BlockToManyMultiSigProposalFilter = { + /** Aggregates across related `MultiSigProposal` match the filter criteria. */ + aggregates?: InputMaybe; + /** Every related `MultiSigProposal` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe; + /** No related `MultiSigProposal` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe; + /** Some related `MultiSigProposal` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe; +}; + +/** A filter to be used against many `MultiSigProposalVote` object types. All fields are combined with a logical ‘and.’ */ +export type BlockToManyMultiSigProposalVoteFilter = { + /** Aggregates across related `MultiSigProposalVote` match the filter criteria. */ + aggregates?: InputMaybe; + /** Every related `MultiSigProposalVote` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe; + /** No related `MultiSigProposalVote` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe; + /** Some related `MultiSigProposalVote` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe; +}; + +/** A filter to be used against many `MultiSigSigner` object types. All fields are combined with a logical ‘and.’ */ +export type BlockToManyMultiSigSignerFilter = { + /** Aggregates across related `MultiSigSigner` match the filter criteria. */ + aggregates?: InputMaybe; + /** Every related `MultiSigSigner` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe; + /** No related `MultiSigSigner` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe; + /** Some related `MultiSigSigner` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe; +}; + +/** A filter to be used against many `NftHolder` object types. All fields are combined with a logical ‘and.’ */ +export type BlockToManyNftHolderFilter = { + /** Aggregates across related `NftHolder` match the filter criteria. */ + aggregates?: InputMaybe; + /** Every related `NftHolder` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe; + /** No related `NftHolder` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe; + /** Some related `NftHolder` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe; +}; + +/** A filter to be used against many `Permission` object types. All fields are combined with a logical ‘and.’ */ +export type BlockToManyPermissionFilter = { + /** Aggregates across related `Permission` match the filter criteria. */ + aggregates?: InputMaybe; + /** Every related `Permission` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe; + /** No related `Permission` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe; + /** Some related `Permission` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe; +}; + +/** A filter to be used against many `PolyxTransaction` object types. All fields are combined with a logical ‘and.’ */ +export type BlockToManyPolyxTransactionFilter = { + /** Aggregates across related `PolyxTransaction` match the filter criteria. */ + aggregates?: InputMaybe; + /** Every related `PolyxTransaction` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe; + /** No related `PolyxTransaction` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe; + /** Some related `PolyxTransaction` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe; +}; + +/** A filter to be used against many `Portfolio` object types. All fields are combined with a logical ‘and.’ */ +export type BlockToManyPortfolioFilter = { + /** Aggregates across related `Portfolio` match the filter criteria. */ + aggregates?: InputMaybe; + /** Every related `Portfolio` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe; + /** No related `Portfolio` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe; + /** Some related `Portfolio` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe; +}; + +/** A filter to be used against many `PortfolioMovement` object types. All fields are combined with a logical ‘and.’ */ +export type BlockToManyPortfolioMovementFilter = { + /** Aggregates across related `PortfolioMovement` match the filter criteria. */ + aggregates?: InputMaybe; + /** Every related `PortfolioMovement` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe; + /** No related `PortfolioMovement` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe; + /** Some related `PortfolioMovement` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe; +}; + +/** A filter to be used against many `Proposal` object types. All fields are combined with a logical ‘and.’ */ +export type BlockToManyProposalFilter = { + /** Aggregates across related `Proposal` match the filter criteria. */ + aggregates?: InputMaybe; + /** Every related `Proposal` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe; + /** No related `Proposal` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe; + /** Some related `Proposal` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe; +}; + +/** A filter to be used against many `ProposalVote` object types. All fields are combined with a logical ‘and.’ */ +export type BlockToManyProposalVoteFilter = { + /** Aggregates across related `ProposalVote` match the filter criteria. */ + aggregates?: InputMaybe; + /** Every related `ProposalVote` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe; + /** No related `ProposalVote` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe; + /** Some related `ProposalVote` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe; +}; + +/** A filter to be used against many `Settlement` object types. All fields are combined with a logical ‘and.’ */ +export type BlockToManySettlementFilter = { + /** Aggregates across related `Settlement` match the filter criteria. */ + aggregates?: InputMaybe; + /** Every related `Settlement` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe; + /** No related `Settlement` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe; + /** Some related `Settlement` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe; +}; + +/** A filter to be used against many `StakingEvent` object types. All fields are combined with a logical ‘and.’ */ +export type BlockToManyStakingEventFilter = { + /** Aggregates across related `StakingEvent` match the filter criteria. */ + aggregates?: InputMaybe; + /** Every related `StakingEvent` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe; + /** No related `StakingEvent` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe; + /** Some related `StakingEvent` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe; +}; + +/** A filter to be used against many `StatType` object types. All fields are combined with a logical ‘and.’ */ +export type BlockToManyStatTypeFilter = { + /** Aggregates across related `StatType` match the filter criteria. */ + aggregates?: InputMaybe; + /** Every related `StatType` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe; + /** No related `StatType` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe; + /** Some related `StatType` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe; +}; + +/** A filter to be used against many `Sto` object types. All fields are combined with a logical ‘and.’ */ +export type BlockToManyStoFilter = { + /** Aggregates across related `Sto` match the filter criteria. */ + aggregates?: InputMaybe; + /** Every related `Sto` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe; + /** No related `Sto` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe; + /** Some related `Sto` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe; +}; + +/** A filter to be used against many `TickerExternalAgentAction` object types. All fields are combined with a logical ‘and.’ */ +export type BlockToManyTickerExternalAgentActionFilter = { + /** Aggregates across related `TickerExternalAgentAction` match the filter criteria. */ + aggregates?: InputMaybe; + /** Every related `TickerExternalAgentAction` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe; + /** No related `TickerExternalAgentAction` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe; + /** Some related `TickerExternalAgentAction` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe; +}; + +/** A filter to be used against many `TickerExternalAgent` object types. All fields are combined with a logical ‘and.’ */ +export type BlockToManyTickerExternalAgentFilter = { + /** Aggregates across related `TickerExternalAgent` match the filter criteria. */ + aggregates?: InputMaybe; + /** Every related `TickerExternalAgent` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe; + /** No related `TickerExternalAgent` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe; + /** Some related `TickerExternalAgent` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe; +}; + +/** A filter to be used against many `TickerExternalAgentHistory` object types. All fields are combined with a logical ‘and.’ */ +export type BlockToManyTickerExternalAgentHistoryFilter = { + /** Aggregates across related `TickerExternalAgentHistory` match the filter criteria. */ + aggregates?: InputMaybe; + /** Every related `TickerExternalAgentHistory` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe; + /** No related `TickerExternalAgentHistory` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe; + /** Some related `TickerExternalAgentHistory` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe; +}; + +/** A filter to be used against many `TransferComplianceExemption` object types. All fields are combined with a logical ‘and.’ */ +export type BlockToManyTransferComplianceExemptionFilter = { + /** Aggregates across related `TransferComplianceExemption` match the filter criteria. */ + aggregates?: InputMaybe; + /** Every related `TransferComplianceExemption` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe; + /** No related `TransferComplianceExemption` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe; + /** Some related `TransferComplianceExemption` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe; +}; + +/** A filter to be used against many `TransferCompliance` object types. All fields are combined with a logical ‘and.’ */ +export type BlockToManyTransferComplianceFilter = { + /** Aggregates across related `TransferCompliance` match the filter criteria. */ + aggregates?: InputMaybe; + /** Every related `TransferCompliance` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe; + /** No related `TransferCompliance` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe; + /** Some related `TransferCompliance` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe; +}; + +/** A filter to be used against many `TransferManager` object types. All fields are combined with a logical ‘and.’ */ +export type BlockToManyTransferManagerFilter = { + /** Aggregates across related `TransferManager` match the filter criteria. */ + aggregates?: InputMaybe; + /** Every related `TransferManager` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe; + /** No related `TransferManager` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe; + /** Some related `TransferManager` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe; +}; + +/** A filter to be used against many `TrustedClaimIssuer` object types. All fields are combined with a logical ‘and.’ */ +export type BlockToManyTrustedClaimIssuerFilter = { + /** Aggregates across related `TrustedClaimIssuer` match the filter criteria. */ + aggregates?: InputMaybe; + /** Every related `TrustedClaimIssuer` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe; + /** No related `TrustedClaimIssuer` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe; + /** Some related `TrustedClaimIssuer` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe; +}; + +/** A filter to be used against many `Venue` object types. All fields are combined with a logical ‘and.’ */ +export type BlockToManyVenueFilter = { + /** Aggregates across related `Venue` match the filter criteria. */ + aggregates?: InputMaybe; + /** Every related `Venue` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe; + /** No related `Venue` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe; + /** Some related `Venue` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe; +}; + +export type BlockVariancePopulationAggregates = { + __typename?: 'BlockVariancePopulationAggregates'; + /** Population variance of blockId across the matching connection */ + blockId?: Maybe; + /** Population variance of countEvents across the matching connection */ + countEvents?: Maybe; + /** Population variance of countExtrinsics across the matching connection */ + countExtrinsics?: Maybe; + /** Population variance of countExtrinsicsError across the matching connection */ + countExtrinsicsError?: Maybe; + /** Population variance of countExtrinsicsSigned across the matching connection */ + countExtrinsicsSigned?: Maybe; + /** Population variance of countExtrinsicsSuccess across the matching connection */ + countExtrinsicsSuccess?: Maybe; + /** Population variance of countExtrinsicsUnsigned across the matching connection */ + countExtrinsicsUnsigned?: Maybe; + /** Population variance of parentId across the matching connection */ + parentId?: Maybe; + /** Population variance of specVersionId across the matching connection */ + specVersionId?: Maybe; +}; + +export type BlockVarianceSampleAggregates = { + __typename?: 'BlockVarianceSampleAggregates'; + /** Sample variance of blockId across the matching connection */ + blockId?: Maybe; + /** Sample variance of countEvents across the matching connection */ + countEvents?: Maybe; + /** Sample variance of countExtrinsics across the matching connection */ + countExtrinsics?: Maybe; + /** Sample variance of countExtrinsicsError across the matching connection */ + countExtrinsicsError?: Maybe; + /** Sample variance of countExtrinsicsSigned across the matching connection */ + countExtrinsicsSigned?: Maybe; + /** Sample variance of countExtrinsicsSuccess across the matching connection */ + countExtrinsicsSuccess?: Maybe; + /** Sample variance of countExtrinsicsUnsigned across the matching connection */ + countExtrinsicsUnsigned?: Maybe; + /** Sample variance of parentId across the matching connection */ + parentId?: Maybe; + /** Sample variance of specVersionId across the matching connection */ + specVersionId?: Maybe; +}; + +/** A connection to a list of `Venue` values, with data from `Instruction`. */ +export type BlockVenuesByInstructionCreatedBlockIdAndVenueIdManyToManyConnection = { + __typename?: 'BlockVenuesByInstructionCreatedBlockIdAndVenueIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Venue`, info from the `Instruction`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Venue` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Venue` you could get from the connection. */ + totalCount: Scalars['Int']['output']; +}; + +/** A connection to a list of `Venue` values, with data from `Instruction`. */ +export type BlockVenuesByInstructionCreatedBlockIdAndVenueIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Venue` edge in the connection, with data from `Instruction`. */ +export type BlockVenuesByInstructionCreatedBlockIdAndVenueIdManyToManyEdge = { + __typename?: 'BlockVenuesByInstructionCreatedBlockIdAndVenueIdManyToManyEdge'; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** Reads and enables pagination through a set of `Instruction`. */ + instructions: InstructionsConnection; + /** The `Venue` at the end of the edge. */ + node?: Maybe; +}; + +/** A `Venue` edge in the connection, with data from `Instruction`. */ +export type BlockVenuesByInstructionCreatedBlockIdAndVenueIdManyToManyEdgeInstructionsArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** A connection to a list of `Venue` values, with data from `Instruction`. */ +export type BlockVenuesByInstructionUpdatedBlockIdAndVenueIdManyToManyConnection = { + __typename?: 'BlockVenuesByInstructionUpdatedBlockIdAndVenueIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Venue`, info from the `Instruction`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Venue` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Venue` you could get from the connection. */ + totalCount: Scalars['Int']['output']; +}; + +/** A connection to a list of `Venue` values, with data from `Instruction`. */ +export type BlockVenuesByInstructionUpdatedBlockIdAndVenueIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Venue` edge in the connection, with data from `Instruction`. */ +export type BlockVenuesByInstructionUpdatedBlockIdAndVenueIdManyToManyEdge = { + __typename?: 'BlockVenuesByInstructionUpdatedBlockIdAndVenueIdManyToManyEdge'; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** Reads and enables pagination through a set of `Instruction`. */ + instructions: InstructionsConnection; + /** The `Venue` at the end of the edge. */ + node?: Maybe; +}; + +/** A `Venue` edge in the connection, with data from `Instruction`. */ +export type BlockVenuesByInstructionUpdatedBlockIdAndVenueIdManyToManyEdgeInstructionsArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** A connection to a list of `Venue` values, with data from `Sto`. */ +export type BlockVenuesByStoCreatedBlockIdAndVenueIdManyToManyConnection = { + __typename?: 'BlockVenuesByStoCreatedBlockIdAndVenueIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Venue`, info from the `Sto`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Venue` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Venue` you could get from the connection. */ + totalCount: Scalars['Int']['output']; +}; + +/** A connection to a list of `Venue` values, with data from `Sto`. */ +export type BlockVenuesByStoCreatedBlockIdAndVenueIdManyToManyConnectionGroupedAggregatesArgs = { + groupBy: Array; + having?: InputMaybe; +}; + +/** A `Venue` edge in the connection, with data from `Sto`. */ +export type BlockVenuesByStoCreatedBlockIdAndVenueIdManyToManyEdge = { + __typename?: 'BlockVenuesByStoCreatedBlockIdAndVenueIdManyToManyEdge'; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Venue` at the end of the edge. */ + node?: Maybe; + /** Reads and enables pagination through a set of `Sto`. */ + stos: StosConnection; +}; + +/** A `Venue` edge in the connection, with data from `Sto`. */ +export type BlockVenuesByStoCreatedBlockIdAndVenueIdManyToManyEdgeStosArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** A connection to a list of `Venue` values, with data from `Sto`. */ +export type BlockVenuesByStoUpdatedBlockIdAndVenueIdManyToManyConnection = { + __typename?: 'BlockVenuesByStoUpdatedBlockIdAndVenueIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Venue`, info from the `Sto`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Venue` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Venue` you could get from the connection. */ + totalCount: Scalars['Int']['output']; +}; + +/** A connection to a list of `Venue` values, with data from `Sto`. */ +export type BlockVenuesByStoUpdatedBlockIdAndVenueIdManyToManyConnectionGroupedAggregatesArgs = { + groupBy: Array; + having?: InputMaybe; +}; + +/** A `Venue` edge in the connection, with data from `Sto`. */ +export type BlockVenuesByStoUpdatedBlockIdAndVenueIdManyToManyEdge = { + __typename?: 'BlockVenuesByStoUpdatedBlockIdAndVenueIdManyToManyEdge'; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Venue` at the end of the edge. */ + node?: Maybe; + /** Reads and enables pagination through a set of `Sto`. */ + stos: StosConnection; +}; + +/** A `Venue` edge in the connection, with data from `Sto`. */ +export type BlockVenuesByStoUpdatedBlockIdAndVenueIdManyToManyEdgeStosArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** A connection to a list of `Block` values. */ +export type BlocksConnection = { + __typename?: 'BlocksConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Block` and cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Block` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Block` you could get from the connection. */ + totalCount: Scalars['Int']['output']; +}; + +/** A connection to a list of `Block` values. */ +export type BlocksConnectionGroupedAggregatesArgs = { + groupBy: Array; + having?: InputMaybe; +}; + +/** A `Block` edge in the connection. */ +export type BlocksEdge = { + __typename?: 'BlocksEdge'; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Block` at the end of the edge. */ + node?: Maybe; +}; + +/** Grouping methods for `Block` for usage during aggregation. */ +export enum BlocksGroupBy { + CountEvents = 'COUNT_EVENTS', + CountExtrinsics = 'COUNT_EXTRINSICS', + CountExtrinsicsError = 'COUNT_EXTRINSICS_ERROR', + CountExtrinsicsSigned = 'COUNT_EXTRINSICS_SIGNED', + CountExtrinsicsSuccess = 'COUNT_EXTRINSICS_SUCCESS', + CountExtrinsicsUnsigned = 'COUNT_EXTRINSICS_UNSIGNED', + CreatedAt = 'CREATED_AT', + CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', + CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', + Datetime = 'DATETIME', + DatetimeTruncatedToDay = 'DATETIME_TRUNCATED_TO_DAY', + DatetimeTruncatedToHour = 'DATETIME_TRUNCATED_TO_HOUR', + ExtrinsicsRoot = 'EXTRINSICS_ROOT', + ParentHash = 'PARENT_HASH', + ParentId = 'PARENT_ID', + SpecVersionId = 'SPEC_VERSION_ID', + StateRoot = 'STATE_ROOT', + UpdatedAt = 'UPDATED_AT', + UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', + UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', +} + +export type BlocksHavingAverageInput = { + blockId?: InputMaybe; + countEvents?: InputMaybe; + countExtrinsics?: InputMaybe; + countExtrinsicsError?: InputMaybe; + countExtrinsicsSigned?: InputMaybe; + countExtrinsicsSuccess?: InputMaybe; + countExtrinsicsUnsigned?: InputMaybe; + createdAt?: InputMaybe; + datetime?: InputMaybe; + parentId?: InputMaybe; + specVersionId?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type BlocksHavingDistinctCountInput = { + blockId?: InputMaybe; + countEvents?: InputMaybe; + countExtrinsics?: InputMaybe; + countExtrinsicsError?: InputMaybe; + countExtrinsicsSigned?: InputMaybe; + countExtrinsicsSuccess?: InputMaybe; + countExtrinsicsUnsigned?: InputMaybe; + createdAt?: InputMaybe; + datetime?: InputMaybe; + parentId?: InputMaybe; + specVersionId?: InputMaybe; + updatedAt?: InputMaybe; +}; + +/** Conditions for `Block` aggregates. */ +export type BlocksHavingInput = { + AND?: InputMaybe>; + OR?: InputMaybe>; + average?: InputMaybe; + distinctCount?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddevPopulation?: InputMaybe; + stddevSample?: InputMaybe; + sum?: InputMaybe; + variancePopulation?: InputMaybe; + varianceSample?: InputMaybe; +}; + +export type BlocksHavingMaxInput = { + blockId?: InputMaybe; + countEvents?: InputMaybe; + countExtrinsics?: InputMaybe; + countExtrinsicsError?: InputMaybe; + countExtrinsicsSigned?: InputMaybe; + countExtrinsicsSuccess?: InputMaybe; + countExtrinsicsUnsigned?: InputMaybe; + createdAt?: InputMaybe; + datetime?: InputMaybe; + parentId?: InputMaybe; + specVersionId?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type BlocksHavingMinInput = { + blockId?: InputMaybe; + countEvents?: InputMaybe; + countExtrinsics?: InputMaybe; + countExtrinsicsError?: InputMaybe; + countExtrinsicsSigned?: InputMaybe; + countExtrinsicsSuccess?: InputMaybe; + countExtrinsicsUnsigned?: InputMaybe; + createdAt?: InputMaybe; + datetime?: InputMaybe; + parentId?: InputMaybe; + specVersionId?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type BlocksHavingStddevPopulationInput = { + blockId?: InputMaybe; + countEvents?: InputMaybe; + countExtrinsics?: InputMaybe; + countExtrinsicsError?: InputMaybe; + countExtrinsicsSigned?: InputMaybe; + countExtrinsicsSuccess?: InputMaybe; + countExtrinsicsUnsigned?: InputMaybe; + createdAt?: InputMaybe; + datetime?: InputMaybe; + parentId?: InputMaybe; + specVersionId?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type BlocksHavingStddevSampleInput = { + blockId?: InputMaybe; + countEvents?: InputMaybe; + countExtrinsics?: InputMaybe; + countExtrinsicsError?: InputMaybe; + countExtrinsicsSigned?: InputMaybe; + countExtrinsicsSuccess?: InputMaybe; + countExtrinsicsUnsigned?: InputMaybe; + createdAt?: InputMaybe; + datetime?: InputMaybe; + parentId?: InputMaybe; + specVersionId?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type BlocksHavingSumInput = { + blockId?: InputMaybe; + countEvents?: InputMaybe; + countExtrinsics?: InputMaybe; + countExtrinsicsError?: InputMaybe; + countExtrinsicsSigned?: InputMaybe; + countExtrinsicsSuccess?: InputMaybe; + countExtrinsicsUnsigned?: InputMaybe; + createdAt?: InputMaybe; + datetime?: InputMaybe; + parentId?: InputMaybe; + specVersionId?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type BlocksHavingVariancePopulationInput = { + blockId?: InputMaybe; + countEvents?: InputMaybe; + countExtrinsics?: InputMaybe; + countExtrinsicsError?: InputMaybe; + countExtrinsicsSigned?: InputMaybe; + countExtrinsicsSuccess?: InputMaybe; + countExtrinsicsUnsigned?: InputMaybe; + createdAt?: InputMaybe; + datetime?: InputMaybe; + parentId?: InputMaybe; + specVersionId?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type BlocksHavingVarianceSampleInput = { + blockId?: InputMaybe; + countEvents?: InputMaybe; + countExtrinsics?: InputMaybe; + countExtrinsicsError?: InputMaybe; + countExtrinsicsSigned?: InputMaybe; + countExtrinsicsSuccess?: InputMaybe; + countExtrinsicsUnsigned?: InputMaybe; + createdAt?: InputMaybe; + datetime?: InputMaybe; + parentId?: InputMaybe; + specVersionId?: InputMaybe; + updatedAt?: InputMaybe; +}; + +/** Methods to use when ordering `Block`. */ +export enum BlocksOrderBy { + AccountsByCreatedBlockIdAverageAddressAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_ADDRESS_ASC', + AccountsByCreatedBlockIdAverageAddressDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_ADDRESS_DESC', + AccountsByCreatedBlockIdAverageCreatedAtAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', + AccountsByCreatedBlockIdAverageCreatedAtDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', + AccountsByCreatedBlockIdAverageCreatedBlockIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', + AccountsByCreatedBlockIdAverageCreatedBlockIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', + AccountsByCreatedBlockIdAverageDatetimeAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_DATETIME_ASC', + AccountsByCreatedBlockIdAverageDatetimeDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_DATETIME_DESC', + AccountsByCreatedBlockIdAverageEventIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_ID_ASC', + AccountsByCreatedBlockIdAverageEventIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_ID_DESC', + AccountsByCreatedBlockIdAverageIdentityIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_IDENTITY_ID_ASC', + AccountsByCreatedBlockIdAverageIdentityIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_IDENTITY_ID_DESC', + AccountsByCreatedBlockIdAverageIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_ID_ASC', + AccountsByCreatedBlockIdAverageIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_ID_DESC', + AccountsByCreatedBlockIdAveragePermissionsIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_PERMISSIONS_ID_ASC', + AccountsByCreatedBlockIdAveragePermissionsIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_PERMISSIONS_ID_DESC', + AccountsByCreatedBlockIdAverageUpdatedAtAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', + AccountsByCreatedBlockIdAverageUpdatedAtDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', + AccountsByCreatedBlockIdAverageUpdatedBlockIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', + AccountsByCreatedBlockIdAverageUpdatedBlockIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', + AccountsByCreatedBlockIdCountAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_COUNT_ASC', + AccountsByCreatedBlockIdCountDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_COUNT_DESC', + AccountsByCreatedBlockIdDistinctCountAddressAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ADDRESS_ASC', + AccountsByCreatedBlockIdDistinctCountAddressDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ADDRESS_DESC', + AccountsByCreatedBlockIdDistinctCountCreatedAtAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', + AccountsByCreatedBlockIdDistinctCountCreatedAtDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', + AccountsByCreatedBlockIdDistinctCountCreatedBlockIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', + AccountsByCreatedBlockIdDistinctCountCreatedBlockIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', + AccountsByCreatedBlockIdDistinctCountDatetimeAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_ASC', + AccountsByCreatedBlockIdDistinctCountDatetimeDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_DESC', + AccountsByCreatedBlockIdDistinctCountEventIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_ID_ASC', + AccountsByCreatedBlockIdDistinctCountEventIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_ID_DESC', + AccountsByCreatedBlockIdDistinctCountIdentityIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_IDENTITY_ID_ASC', + AccountsByCreatedBlockIdDistinctCountIdentityIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_IDENTITY_ID_DESC', + AccountsByCreatedBlockIdDistinctCountIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', + AccountsByCreatedBlockIdDistinctCountIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', + AccountsByCreatedBlockIdDistinctCountPermissionsIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_PERMISSIONS_ID_ASC', + AccountsByCreatedBlockIdDistinctCountPermissionsIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_PERMISSIONS_ID_DESC', + AccountsByCreatedBlockIdDistinctCountUpdatedAtAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', + AccountsByCreatedBlockIdDistinctCountUpdatedAtDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', + AccountsByCreatedBlockIdDistinctCountUpdatedBlockIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', + AccountsByCreatedBlockIdDistinctCountUpdatedBlockIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', + AccountsByCreatedBlockIdMaxAddressAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_ADDRESS_ASC', + AccountsByCreatedBlockIdMaxAddressDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_ADDRESS_DESC', + AccountsByCreatedBlockIdMaxCreatedAtAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_ASC', + AccountsByCreatedBlockIdMaxCreatedAtDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_DESC', + AccountsByCreatedBlockIdMaxCreatedBlockIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', + AccountsByCreatedBlockIdMaxCreatedBlockIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', + AccountsByCreatedBlockIdMaxDatetimeAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_DATETIME_ASC', + AccountsByCreatedBlockIdMaxDatetimeDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_DATETIME_DESC', + AccountsByCreatedBlockIdMaxEventIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_EVENT_ID_ASC', + AccountsByCreatedBlockIdMaxEventIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_EVENT_ID_DESC', + AccountsByCreatedBlockIdMaxIdentityIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_IDENTITY_ID_ASC', + AccountsByCreatedBlockIdMaxIdentityIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_IDENTITY_ID_DESC', + AccountsByCreatedBlockIdMaxIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_ID_ASC', + AccountsByCreatedBlockIdMaxIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_ID_DESC', + AccountsByCreatedBlockIdMaxPermissionsIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_PERMISSIONS_ID_ASC', + AccountsByCreatedBlockIdMaxPermissionsIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_PERMISSIONS_ID_DESC', + AccountsByCreatedBlockIdMaxUpdatedAtAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_ASC', + AccountsByCreatedBlockIdMaxUpdatedAtDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_DESC', + AccountsByCreatedBlockIdMaxUpdatedBlockIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', + AccountsByCreatedBlockIdMaxUpdatedBlockIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', + AccountsByCreatedBlockIdMinAddressAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_ADDRESS_ASC', + AccountsByCreatedBlockIdMinAddressDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_ADDRESS_DESC', + AccountsByCreatedBlockIdMinCreatedAtAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_ASC', + AccountsByCreatedBlockIdMinCreatedAtDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_DESC', + AccountsByCreatedBlockIdMinCreatedBlockIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', + AccountsByCreatedBlockIdMinCreatedBlockIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', + AccountsByCreatedBlockIdMinDatetimeAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_DATETIME_ASC', + AccountsByCreatedBlockIdMinDatetimeDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_DATETIME_DESC', + AccountsByCreatedBlockIdMinEventIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_EVENT_ID_ASC', + AccountsByCreatedBlockIdMinEventIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_EVENT_ID_DESC', + AccountsByCreatedBlockIdMinIdentityIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_IDENTITY_ID_ASC', + AccountsByCreatedBlockIdMinIdentityIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_IDENTITY_ID_DESC', + AccountsByCreatedBlockIdMinIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_ID_ASC', + AccountsByCreatedBlockIdMinIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_ID_DESC', + AccountsByCreatedBlockIdMinPermissionsIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_PERMISSIONS_ID_ASC', + AccountsByCreatedBlockIdMinPermissionsIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_PERMISSIONS_ID_DESC', + AccountsByCreatedBlockIdMinUpdatedAtAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_ASC', + AccountsByCreatedBlockIdMinUpdatedAtDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_DESC', + AccountsByCreatedBlockIdMinUpdatedBlockIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', + AccountsByCreatedBlockIdMinUpdatedBlockIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', + AccountsByCreatedBlockIdStddevPopulationAddressAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ADDRESS_ASC', + AccountsByCreatedBlockIdStddevPopulationAddressDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ADDRESS_DESC', + AccountsByCreatedBlockIdStddevPopulationCreatedAtAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', + AccountsByCreatedBlockIdStddevPopulationCreatedAtDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', + AccountsByCreatedBlockIdStddevPopulationCreatedBlockIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', + AccountsByCreatedBlockIdStddevPopulationCreatedBlockIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', + AccountsByCreatedBlockIdStddevPopulationDatetimeAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_DATETIME_ASC', + AccountsByCreatedBlockIdStddevPopulationDatetimeDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_DATETIME_DESC', + AccountsByCreatedBlockIdStddevPopulationEventIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_ID_ASC', + AccountsByCreatedBlockIdStddevPopulationEventIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_ID_DESC', + AccountsByCreatedBlockIdStddevPopulationIdentityIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_IDENTITY_ID_ASC', + AccountsByCreatedBlockIdStddevPopulationIdentityIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_IDENTITY_ID_DESC', + AccountsByCreatedBlockIdStddevPopulationIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', + AccountsByCreatedBlockIdStddevPopulationIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', + AccountsByCreatedBlockIdStddevPopulationPermissionsIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_PERMISSIONS_ID_ASC', + AccountsByCreatedBlockIdStddevPopulationPermissionsIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_PERMISSIONS_ID_DESC', + AccountsByCreatedBlockIdStddevPopulationUpdatedAtAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', + AccountsByCreatedBlockIdStddevPopulationUpdatedAtDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', + AccountsByCreatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', + AccountsByCreatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', + AccountsByCreatedBlockIdStddevSampleAddressAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ADDRESS_ASC', + AccountsByCreatedBlockIdStddevSampleAddressDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ADDRESS_DESC', + AccountsByCreatedBlockIdStddevSampleCreatedAtAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', + AccountsByCreatedBlockIdStddevSampleCreatedAtDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', + AccountsByCreatedBlockIdStddevSampleCreatedBlockIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', + AccountsByCreatedBlockIdStddevSampleCreatedBlockIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', + AccountsByCreatedBlockIdStddevSampleDatetimeAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_DATETIME_ASC', + AccountsByCreatedBlockIdStddevSampleDatetimeDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_DATETIME_DESC', + AccountsByCreatedBlockIdStddevSampleEventIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_ID_ASC', + AccountsByCreatedBlockIdStddevSampleEventIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_ID_DESC', + AccountsByCreatedBlockIdStddevSampleIdentityIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_IDENTITY_ID_ASC', + AccountsByCreatedBlockIdStddevSampleIdentityIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_IDENTITY_ID_DESC', + AccountsByCreatedBlockIdStddevSampleIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', + AccountsByCreatedBlockIdStddevSampleIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', + AccountsByCreatedBlockIdStddevSamplePermissionsIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_PERMISSIONS_ID_ASC', + AccountsByCreatedBlockIdStddevSamplePermissionsIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_PERMISSIONS_ID_DESC', + AccountsByCreatedBlockIdStddevSampleUpdatedAtAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', + AccountsByCreatedBlockIdStddevSampleUpdatedAtDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', + AccountsByCreatedBlockIdStddevSampleUpdatedBlockIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', + AccountsByCreatedBlockIdStddevSampleUpdatedBlockIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', + AccountsByCreatedBlockIdSumAddressAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_ADDRESS_ASC', + AccountsByCreatedBlockIdSumAddressDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_ADDRESS_DESC', + AccountsByCreatedBlockIdSumCreatedAtAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_ASC', + AccountsByCreatedBlockIdSumCreatedAtDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_DESC', + AccountsByCreatedBlockIdSumCreatedBlockIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', + AccountsByCreatedBlockIdSumCreatedBlockIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', + AccountsByCreatedBlockIdSumDatetimeAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_DATETIME_ASC', + AccountsByCreatedBlockIdSumDatetimeDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_DATETIME_DESC', + AccountsByCreatedBlockIdSumEventIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_EVENT_ID_ASC', + AccountsByCreatedBlockIdSumEventIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_EVENT_ID_DESC', + AccountsByCreatedBlockIdSumIdentityIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_IDENTITY_ID_ASC', + AccountsByCreatedBlockIdSumIdentityIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_IDENTITY_ID_DESC', + AccountsByCreatedBlockIdSumIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_ID_ASC', + AccountsByCreatedBlockIdSumIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_ID_DESC', + AccountsByCreatedBlockIdSumPermissionsIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_PERMISSIONS_ID_ASC', + AccountsByCreatedBlockIdSumPermissionsIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_PERMISSIONS_ID_DESC', + AccountsByCreatedBlockIdSumUpdatedAtAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_ASC', + AccountsByCreatedBlockIdSumUpdatedAtDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_DESC', + AccountsByCreatedBlockIdSumUpdatedBlockIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', + AccountsByCreatedBlockIdSumUpdatedBlockIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', + AccountsByCreatedBlockIdVariancePopulationAddressAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ADDRESS_ASC', + AccountsByCreatedBlockIdVariancePopulationAddressDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ADDRESS_DESC', + AccountsByCreatedBlockIdVariancePopulationCreatedAtAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', + AccountsByCreatedBlockIdVariancePopulationCreatedAtDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', + AccountsByCreatedBlockIdVariancePopulationCreatedBlockIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', + AccountsByCreatedBlockIdVariancePopulationCreatedBlockIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', + AccountsByCreatedBlockIdVariancePopulationDatetimeAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_DATETIME_ASC', + AccountsByCreatedBlockIdVariancePopulationDatetimeDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_DATETIME_DESC', + AccountsByCreatedBlockIdVariancePopulationEventIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_ID_ASC', + AccountsByCreatedBlockIdVariancePopulationEventIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_ID_DESC', + AccountsByCreatedBlockIdVariancePopulationIdentityIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_IDENTITY_ID_ASC', + AccountsByCreatedBlockIdVariancePopulationIdentityIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_IDENTITY_ID_DESC', + AccountsByCreatedBlockIdVariancePopulationIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', + AccountsByCreatedBlockIdVariancePopulationIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', + AccountsByCreatedBlockIdVariancePopulationPermissionsIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_PERMISSIONS_ID_ASC', + AccountsByCreatedBlockIdVariancePopulationPermissionsIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_PERMISSIONS_ID_DESC', + AccountsByCreatedBlockIdVariancePopulationUpdatedAtAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', + AccountsByCreatedBlockIdVariancePopulationUpdatedAtDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', + AccountsByCreatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', + AccountsByCreatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', + AccountsByCreatedBlockIdVarianceSampleAddressAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ADDRESS_ASC', + AccountsByCreatedBlockIdVarianceSampleAddressDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ADDRESS_DESC', + AccountsByCreatedBlockIdVarianceSampleCreatedAtAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', + AccountsByCreatedBlockIdVarianceSampleCreatedAtDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', + AccountsByCreatedBlockIdVarianceSampleCreatedBlockIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', + AccountsByCreatedBlockIdVarianceSampleCreatedBlockIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', + AccountsByCreatedBlockIdVarianceSampleDatetimeAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_DATETIME_ASC', + AccountsByCreatedBlockIdVarianceSampleDatetimeDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_DATETIME_DESC', + AccountsByCreatedBlockIdVarianceSampleEventIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_ID_ASC', + AccountsByCreatedBlockIdVarianceSampleEventIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_ID_DESC', + AccountsByCreatedBlockIdVarianceSampleIdentityIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_IDENTITY_ID_ASC', + AccountsByCreatedBlockIdVarianceSampleIdentityIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_IDENTITY_ID_DESC', + AccountsByCreatedBlockIdVarianceSampleIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', + AccountsByCreatedBlockIdVarianceSampleIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', + AccountsByCreatedBlockIdVarianceSamplePermissionsIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_PERMISSIONS_ID_ASC', + AccountsByCreatedBlockIdVarianceSamplePermissionsIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_PERMISSIONS_ID_DESC', + AccountsByCreatedBlockIdVarianceSampleUpdatedAtAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', + AccountsByCreatedBlockIdVarianceSampleUpdatedAtDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', + AccountsByCreatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', + AccountsByCreatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', + AccountsByUpdatedBlockIdAverageAddressAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_ADDRESS_ASC', + AccountsByUpdatedBlockIdAverageAddressDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_ADDRESS_DESC', + AccountsByUpdatedBlockIdAverageCreatedAtAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', + AccountsByUpdatedBlockIdAverageCreatedAtDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', + AccountsByUpdatedBlockIdAverageCreatedBlockIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', + AccountsByUpdatedBlockIdAverageCreatedBlockIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', + AccountsByUpdatedBlockIdAverageDatetimeAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_DATETIME_ASC', + AccountsByUpdatedBlockIdAverageDatetimeDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_DATETIME_DESC', + AccountsByUpdatedBlockIdAverageEventIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_ID_ASC', + AccountsByUpdatedBlockIdAverageEventIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_ID_DESC', + AccountsByUpdatedBlockIdAverageIdentityIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_IDENTITY_ID_ASC', + AccountsByUpdatedBlockIdAverageIdentityIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_IDENTITY_ID_DESC', + AccountsByUpdatedBlockIdAverageIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_ASC', + AccountsByUpdatedBlockIdAverageIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_DESC', + AccountsByUpdatedBlockIdAveragePermissionsIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_PERMISSIONS_ID_ASC', + AccountsByUpdatedBlockIdAveragePermissionsIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_PERMISSIONS_ID_DESC', + AccountsByUpdatedBlockIdAverageUpdatedAtAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', + AccountsByUpdatedBlockIdAverageUpdatedAtDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', + AccountsByUpdatedBlockIdAverageUpdatedBlockIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', + AccountsByUpdatedBlockIdAverageUpdatedBlockIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', + AccountsByUpdatedBlockIdCountAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_COUNT_ASC', + AccountsByUpdatedBlockIdCountDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_COUNT_DESC', + AccountsByUpdatedBlockIdDistinctCountAddressAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ADDRESS_ASC', + AccountsByUpdatedBlockIdDistinctCountAddressDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ADDRESS_DESC', + AccountsByUpdatedBlockIdDistinctCountCreatedAtAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', + AccountsByUpdatedBlockIdDistinctCountCreatedAtDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', + AccountsByUpdatedBlockIdDistinctCountCreatedBlockIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', + AccountsByUpdatedBlockIdDistinctCountCreatedBlockIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', + AccountsByUpdatedBlockIdDistinctCountDatetimeAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_ASC', + AccountsByUpdatedBlockIdDistinctCountDatetimeDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_DESC', + AccountsByUpdatedBlockIdDistinctCountEventIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_ID_ASC', + AccountsByUpdatedBlockIdDistinctCountEventIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_ID_DESC', + AccountsByUpdatedBlockIdDistinctCountIdentityIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_IDENTITY_ID_ASC', + AccountsByUpdatedBlockIdDistinctCountIdentityIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_IDENTITY_ID_DESC', + AccountsByUpdatedBlockIdDistinctCountIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', + AccountsByUpdatedBlockIdDistinctCountIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', + AccountsByUpdatedBlockIdDistinctCountPermissionsIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_PERMISSIONS_ID_ASC', + AccountsByUpdatedBlockIdDistinctCountPermissionsIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_PERMISSIONS_ID_DESC', + AccountsByUpdatedBlockIdDistinctCountUpdatedAtAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', + AccountsByUpdatedBlockIdDistinctCountUpdatedAtDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', + AccountsByUpdatedBlockIdDistinctCountUpdatedBlockIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', + AccountsByUpdatedBlockIdDistinctCountUpdatedBlockIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', + AccountsByUpdatedBlockIdMaxAddressAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_ADDRESS_ASC', + AccountsByUpdatedBlockIdMaxAddressDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_ADDRESS_DESC', + AccountsByUpdatedBlockIdMaxCreatedAtAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_ASC', + AccountsByUpdatedBlockIdMaxCreatedAtDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_DESC', + AccountsByUpdatedBlockIdMaxCreatedBlockIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', + AccountsByUpdatedBlockIdMaxCreatedBlockIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', + AccountsByUpdatedBlockIdMaxDatetimeAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_DATETIME_ASC', AccountsByUpdatedBlockIdMaxDatetimeDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_DATETIME_DESC', AccountsByUpdatedBlockIdMaxEventIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_EVENT_ID_ASC', AccountsByUpdatedBlockIdMaxEventIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_EVENT_ID_DESC', @@ -34504,6 +37995,3062 @@ export enum BlocksOrderBy { CompliancesByUpdatedBlockIdVarianceSampleUpdatedAtDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', CompliancesByUpdatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', CompliancesByUpdatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', + ConfidentialAccountsByCreatedBlockIdAverageAccountAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_ACCOUNT_ASC', + ConfidentialAccountsByCreatedBlockIdAverageAccountDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_ACCOUNT_DESC', + ConfidentialAccountsByCreatedBlockIdAverageCreatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', + ConfidentialAccountsByCreatedBlockIdAverageCreatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', + ConfidentialAccountsByCreatedBlockIdAverageCreatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', + ConfidentialAccountsByCreatedBlockIdAverageCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', + ConfidentialAccountsByCreatedBlockIdAverageCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_CREATOR_ID_ASC', + ConfidentialAccountsByCreatedBlockIdAverageCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_CREATOR_ID_DESC', + ConfidentialAccountsByCreatedBlockIdAverageIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_ID_ASC', + ConfidentialAccountsByCreatedBlockIdAverageIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_ID_DESC', + ConfidentialAccountsByCreatedBlockIdAverageUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', + ConfidentialAccountsByCreatedBlockIdAverageUpdatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', + ConfidentialAccountsByCreatedBlockIdAverageUpdatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', + ConfidentialAccountsByCreatedBlockIdAverageUpdatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', + ConfidentialAccountsByCreatedBlockIdCountAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_COUNT_ASC', + ConfidentialAccountsByCreatedBlockIdCountDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_COUNT_DESC', + ConfidentialAccountsByCreatedBlockIdDistinctCountAccountAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ACCOUNT_ASC', + ConfidentialAccountsByCreatedBlockIdDistinctCountAccountDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ACCOUNT_DESC', + ConfidentialAccountsByCreatedBlockIdDistinctCountCreatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', + ConfidentialAccountsByCreatedBlockIdDistinctCountCreatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', + ConfidentialAccountsByCreatedBlockIdDistinctCountCreatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', + ConfidentialAccountsByCreatedBlockIdDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', + ConfidentialAccountsByCreatedBlockIdDistinctCountCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATOR_ID_ASC', + ConfidentialAccountsByCreatedBlockIdDistinctCountCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATOR_ID_DESC', + ConfidentialAccountsByCreatedBlockIdDistinctCountIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', + ConfidentialAccountsByCreatedBlockIdDistinctCountIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', + ConfidentialAccountsByCreatedBlockIdDistinctCountUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', + ConfidentialAccountsByCreatedBlockIdDistinctCountUpdatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', + ConfidentialAccountsByCreatedBlockIdDistinctCountUpdatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', + ConfidentialAccountsByCreatedBlockIdDistinctCountUpdatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', + ConfidentialAccountsByCreatedBlockIdMaxAccountAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_ACCOUNT_ASC', + ConfidentialAccountsByCreatedBlockIdMaxAccountDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_ACCOUNT_DESC', + ConfidentialAccountsByCreatedBlockIdMaxCreatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_ASC', + ConfidentialAccountsByCreatedBlockIdMaxCreatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_DESC', + ConfidentialAccountsByCreatedBlockIdMaxCreatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', + ConfidentialAccountsByCreatedBlockIdMaxCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', + ConfidentialAccountsByCreatedBlockIdMaxCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_CREATOR_ID_ASC', + ConfidentialAccountsByCreatedBlockIdMaxCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_CREATOR_ID_DESC', + ConfidentialAccountsByCreatedBlockIdMaxIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_ID_ASC', + ConfidentialAccountsByCreatedBlockIdMaxIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_ID_DESC', + ConfidentialAccountsByCreatedBlockIdMaxUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_ASC', + ConfidentialAccountsByCreatedBlockIdMaxUpdatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_DESC', + ConfidentialAccountsByCreatedBlockIdMaxUpdatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', + ConfidentialAccountsByCreatedBlockIdMaxUpdatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', + ConfidentialAccountsByCreatedBlockIdMinAccountAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_ACCOUNT_ASC', + ConfidentialAccountsByCreatedBlockIdMinAccountDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_ACCOUNT_DESC', + ConfidentialAccountsByCreatedBlockIdMinCreatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_ASC', + ConfidentialAccountsByCreatedBlockIdMinCreatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_DESC', + ConfidentialAccountsByCreatedBlockIdMinCreatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', + ConfidentialAccountsByCreatedBlockIdMinCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', + ConfidentialAccountsByCreatedBlockIdMinCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_CREATOR_ID_ASC', + ConfidentialAccountsByCreatedBlockIdMinCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_CREATOR_ID_DESC', + ConfidentialAccountsByCreatedBlockIdMinIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_ID_ASC', + ConfidentialAccountsByCreatedBlockIdMinIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_ID_DESC', + ConfidentialAccountsByCreatedBlockIdMinUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_ASC', + ConfidentialAccountsByCreatedBlockIdMinUpdatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_DESC', + ConfidentialAccountsByCreatedBlockIdMinUpdatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', + ConfidentialAccountsByCreatedBlockIdMinUpdatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', + ConfidentialAccountsByCreatedBlockIdStddevPopulationAccountAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ACCOUNT_ASC', + ConfidentialAccountsByCreatedBlockIdStddevPopulationAccountDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ACCOUNT_DESC', + ConfidentialAccountsByCreatedBlockIdStddevPopulationCreatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', + ConfidentialAccountsByCreatedBlockIdStddevPopulationCreatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', + ConfidentialAccountsByCreatedBlockIdStddevPopulationCreatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', + ConfidentialAccountsByCreatedBlockIdStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialAccountsByCreatedBlockIdStddevPopulationCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATOR_ID_ASC', + ConfidentialAccountsByCreatedBlockIdStddevPopulationCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATOR_ID_DESC', + ConfidentialAccountsByCreatedBlockIdStddevPopulationIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', + ConfidentialAccountsByCreatedBlockIdStddevPopulationIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', + ConfidentialAccountsByCreatedBlockIdStddevPopulationUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', + ConfidentialAccountsByCreatedBlockIdStddevPopulationUpdatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', + ConfidentialAccountsByCreatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', + ConfidentialAccountsByCreatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', + ConfidentialAccountsByCreatedBlockIdStddevSampleAccountAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ACCOUNT_ASC', + ConfidentialAccountsByCreatedBlockIdStddevSampleAccountDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ACCOUNT_DESC', + ConfidentialAccountsByCreatedBlockIdStddevSampleCreatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', + ConfidentialAccountsByCreatedBlockIdStddevSampleCreatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', + ConfidentialAccountsByCreatedBlockIdStddevSampleCreatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', + ConfidentialAccountsByCreatedBlockIdStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialAccountsByCreatedBlockIdStddevSampleCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATOR_ID_ASC', + ConfidentialAccountsByCreatedBlockIdStddevSampleCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATOR_ID_DESC', + ConfidentialAccountsByCreatedBlockIdStddevSampleIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', + ConfidentialAccountsByCreatedBlockIdStddevSampleIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', + ConfidentialAccountsByCreatedBlockIdStddevSampleUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', + ConfidentialAccountsByCreatedBlockIdStddevSampleUpdatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', + ConfidentialAccountsByCreatedBlockIdStddevSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', + ConfidentialAccountsByCreatedBlockIdStddevSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', + ConfidentialAccountsByCreatedBlockIdSumAccountAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_ACCOUNT_ASC', + ConfidentialAccountsByCreatedBlockIdSumAccountDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_ACCOUNT_DESC', + ConfidentialAccountsByCreatedBlockIdSumCreatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_ASC', + ConfidentialAccountsByCreatedBlockIdSumCreatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_DESC', + ConfidentialAccountsByCreatedBlockIdSumCreatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', + ConfidentialAccountsByCreatedBlockIdSumCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', + ConfidentialAccountsByCreatedBlockIdSumCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_CREATOR_ID_ASC', + ConfidentialAccountsByCreatedBlockIdSumCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_CREATOR_ID_DESC', + ConfidentialAccountsByCreatedBlockIdSumIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_ID_ASC', + ConfidentialAccountsByCreatedBlockIdSumIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_ID_DESC', + ConfidentialAccountsByCreatedBlockIdSumUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_ASC', + ConfidentialAccountsByCreatedBlockIdSumUpdatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_DESC', + ConfidentialAccountsByCreatedBlockIdSumUpdatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', + ConfidentialAccountsByCreatedBlockIdSumUpdatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', + ConfidentialAccountsByCreatedBlockIdVariancePopulationAccountAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ACCOUNT_ASC', + ConfidentialAccountsByCreatedBlockIdVariancePopulationAccountDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ACCOUNT_DESC', + ConfidentialAccountsByCreatedBlockIdVariancePopulationCreatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', + ConfidentialAccountsByCreatedBlockIdVariancePopulationCreatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', + ConfidentialAccountsByCreatedBlockIdVariancePopulationCreatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', + ConfidentialAccountsByCreatedBlockIdVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialAccountsByCreatedBlockIdVariancePopulationCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATOR_ID_ASC', + ConfidentialAccountsByCreatedBlockIdVariancePopulationCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATOR_ID_DESC', + ConfidentialAccountsByCreatedBlockIdVariancePopulationIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', + ConfidentialAccountsByCreatedBlockIdVariancePopulationIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', + ConfidentialAccountsByCreatedBlockIdVariancePopulationUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', + ConfidentialAccountsByCreatedBlockIdVariancePopulationUpdatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', + ConfidentialAccountsByCreatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', + ConfidentialAccountsByCreatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', + ConfidentialAccountsByCreatedBlockIdVarianceSampleAccountAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ACCOUNT_ASC', + ConfidentialAccountsByCreatedBlockIdVarianceSampleAccountDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ACCOUNT_DESC', + ConfidentialAccountsByCreatedBlockIdVarianceSampleCreatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', + ConfidentialAccountsByCreatedBlockIdVarianceSampleCreatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', + ConfidentialAccountsByCreatedBlockIdVarianceSampleCreatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', + ConfidentialAccountsByCreatedBlockIdVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialAccountsByCreatedBlockIdVarianceSampleCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATOR_ID_ASC', + ConfidentialAccountsByCreatedBlockIdVarianceSampleCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATOR_ID_DESC', + ConfidentialAccountsByCreatedBlockIdVarianceSampleIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', + ConfidentialAccountsByCreatedBlockIdVarianceSampleIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', + ConfidentialAccountsByCreatedBlockIdVarianceSampleUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', + ConfidentialAccountsByCreatedBlockIdVarianceSampleUpdatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', + ConfidentialAccountsByCreatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', + ConfidentialAccountsByCreatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', + ConfidentialAccountsByUpdatedBlockIdAverageAccountAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_ACCOUNT_ASC', + ConfidentialAccountsByUpdatedBlockIdAverageAccountDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_ACCOUNT_DESC', + ConfidentialAccountsByUpdatedBlockIdAverageCreatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', + ConfidentialAccountsByUpdatedBlockIdAverageCreatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', + ConfidentialAccountsByUpdatedBlockIdAverageCreatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', + ConfidentialAccountsByUpdatedBlockIdAverageCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', + ConfidentialAccountsByUpdatedBlockIdAverageCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATOR_ID_ASC', + ConfidentialAccountsByUpdatedBlockIdAverageCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATOR_ID_DESC', + ConfidentialAccountsByUpdatedBlockIdAverageIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_ASC', + ConfidentialAccountsByUpdatedBlockIdAverageIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_DESC', + ConfidentialAccountsByUpdatedBlockIdAverageUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', + ConfidentialAccountsByUpdatedBlockIdAverageUpdatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', + ConfidentialAccountsByUpdatedBlockIdAverageUpdatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', + ConfidentialAccountsByUpdatedBlockIdAverageUpdatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', + ConfidentialAccountsByUpdatedBlockIdCountAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_COUNT_ASC', + ConfidentialAccountsByUpdatedBlockIdCountDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_COUNT_DESC', + ConfidentialAccountsByUpdatedBlockIdDistinctCountAccountAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ACCOUNT_ASC', + ConfidentialAccountsByUpdatedBlockIdDistinctCountAccountDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ACCOUNT_DESC', + ConfidentialAccountsByUpdatedBlockIdDistinctCountCreatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', + ConfidentialAccountsByUpdatedBlockIdDistinctCountCreatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', + ConfidentialAccountsByUpdatedBlockIdDistinctCountCreatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', + ConfidentialAccountsByUpdatedBlockIdDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', + ConfidentialAccountsByUpdatedBlockIdDistinctCountCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATOR_ID_ASC', + ConfidentialAccountsByUpdatedBlockIdDistinctCountCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATOR_ID_DESC', + ConfidentialAccountsByUpdatedBlockIdDistinctCountIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', + ConfidentialAccountsByUpdatedBlockIdDistinctCountIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', + ConfidentialAccountsByUpdatedBlockIdDistinctCountUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', + ConfidentialAccountsByUpdatedBlockIdDistinctCountUpdatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', + ConfidentialAccountsByUpdatedBlockIdDistinctCountUpdatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', + ConfidentialAccountsByUpdatedBlockIdDistinctCountUpdatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', + ConfidentialAccountsByUpdatedBlockIdMaxAccountAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_ACCOUNT_ASC', + ConfidentialAccountsByUpdatedBlockIdMaxAccountDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_ACCOUNT_DESC', + ConfidentialAccountsByUpdatedBlockIdMaxCreatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_ASC', + ConfidentialAccountsByUpdatedBlockIdMaxCreatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_DESC', + ConfidentialAccountsByUpdatedBlockIdMaxCreatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', + ConfidentialAccountsByUpdatedBlockIdMaxCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', + ConfidentialAccountsByUpdatedBlockIdMaxCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_CREATOR_ID_ASC', + ConfidentialAccountsByUpdatedBlockIdMaxCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_CREATOR_ID_DESC', + ConfidentialAccountsByUpdatedBlockIdMaxIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_ID_ASC', + ConfidentialAccountsByUpdatedBlockIdMaxIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_ID_DESC', + ConfidentialAccountsByUpdatedBlockIdMaxUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_ASC', + ConfidentialAccountsByUpdatedBlockIdMaxUpdatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_DESC', + ConfidentialAccountsByUpdatedBlockIdMaxUpdatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', + ConfidentialAccountsByUpdatedBlockIdMaxUpdatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', + ConfidentialAccountsByUpdatedBlockIdMinAccountAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MIN_ACCOUNT_ASC', + ConfidentialAccountsByUpdatedBlockIdMinAccountDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MIN_ACCOUNT_DESC', + ConfidentialAccountsByUpdatedBlockIdMinCreatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_ASC', + ConfidentialAccountsByUpdatedBlockIdMinCreatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_DESC', + ConfidentialAccountsByUpdatedBlockIdMinCreatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', + ConfidentialAccountsByUpdatedBlockIdMinCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', + ConfidentialAccountsByUpdatedBlockIdMinCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MIN_CREATOR_ID_ASC', + ConfidentialAccountsByUpdatedBlockIdMinCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MIN_CREATOR_ID_DESC', + ConfidentialAccountsByUpdatedBlockIdMinIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MIN_ID_ASC', + ConfidentialAccountsByUpdatedBlockIdMinIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MIN_ID_DESC', + ConfidentialAccountsByUpdatedBlockIdMinUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_ASC', + ConfidentialAccountsByUpdatedBlockIdMinUpdatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_DESC', + ConfidentialAccountsByUpdatedBlockIdMinUpdatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', + ConfidentialAccountsByUpdatedBlockIdMinUpdatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', + ConfidentialAccountsByUpdatedBlockIdStddevPopulationAccountAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ACCOUNT_ASC', + ConfidentialAccountsByUpdatedBlockIdStddevPopulationAccountDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ACCOUNT_DESC', + ConfidentialAccountsByUpdatedBlockIdStddevPopulationCreatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', + ConfidentialAccountsByUpdatedBlockIdStddevPopulationCreatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', + ConfidentialAccountsByUpdatedBlockIdStddevPopulationCreatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', + ConfidentialAccountsByUpdatedBlockIdStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialAccountsByUpdatedBlockIdStddevPopulationCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATOR_ID_ASC', + ConfidentialAccountsByUpdatedBlockIdStddevPopulationCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATOR_ID_DESC', + ConfidentialAccountsByUpdatedBlockIdStddevPopulationIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', + ConfidentialAccountsByUpdatedBlockIdStddevPopulationIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', + ConfidentialAccountsByUpdatedBlockIdStddevPopulationUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', + ConfidentialAccountsByUpdatedBlockIdStddevPopulationUpdatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', + ConfidentialAccountsByUpdatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', + ConfidentialAccountsByUpdatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', + ConfidentialAccountsByUpdatedBlockIdStddevSampleAccountAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ACCOUNT_ASC', + ConfidentialAccountsByUpdatedBlockIdStddevSampleAccountDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ACCOUNT_DESC', + ConfidentialAccountsByUpdatedBlockIdStddevSampleCreatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', + ConfidentialAccountsByUpdatedBlockIdStddevSampleCreatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', + ConfidentialAccountsByUpdatedBlockIdStddevSampleCreatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', + ConfidentialAccountsByUpdatedBlockIdStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialAccountsByUpdatedBlockIdStddevSampleCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATOR_ID_ASC', + ConfidentialAccountsByUpdatedBlockIdStddevSampleCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATOR_ID_DESC', + ConfidentialAccountsByUpdatedBlockIdStddevSampleIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', + ConfidentialAccountsByUpdatedBlockIdStddevSampleIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', + ConfidentialAccountsByUpdatedBlockIdStddevSampleUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', + ConfidentialAccountsByUpdatedBlockIdStddevSampleUpdatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', + ConfidentialAccountsByUpdatedBlockIdStddevSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', + ConfidentialAccountsByUpdatedBlockIdStddevSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', + ConfidentialAccountsByUpdatedBlockIdSumAccountAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_SUM_ACCOUNT_ASC', + ConfidentialAccountsByUpdatedBlockIdSumAccountDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_SUM_ACCOUNT_DESC', + ConfidentialAccountsByUpdatedBlockIdSumCreatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_ASC', + ConfidentialAccountsByUpdatedBlockIdSumCreatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_DESC', + ConfidentialAccountsByUpdatedBlockIdSumCreatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', + ConfidentialAccountsByUpdatedBlockIdSumCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', + ConfidentialAccountsByUpdatedBlockIdSumCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_SUM_CREATOR_ID_ASC', + ConfidentialAccountsByUpdatedBlockIdSumCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_SUM_CREATOR_ID_DESC', + ConfidentialAccountsByUpdatedBlockIdSumIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_SUM_ID_ASC', + ConfidentialAccountsByUpdatedBlockIdSumIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_SUM_ID_DESC', + ConfidentialAccountsByUpdatedBlockIdSumUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_ASC', + ConfidentialAccountsByUpdatedBlockIdSumUpdatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_DESC', + ConfidentialAccountsByUpdatedBlockIdSumUpdatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', + ConfidentialAccountsByUpdatedBlockIdSumUpdatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', + ConfidentialAccountsByUpdatedBlockIdVariancePopulationAccountAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ACCOUNT_ASC', + ConfidentialAccountsByUpdatedBlockIdVariancePopulationAccountDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ACCOUNT_DESC', + ConfidentialAccountsByUpdatedBlockIdVariancePopulationCreatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', + ConfidentialAccountsByUpdatedBlockIdVariancePopulationCreatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', + ConfidentialAccountsByUpdatedBlockIdVariancePopulationCreatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', + ConfidentialAccountsByUpdatedBlockIdVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialAccountsByUpdatedBlockIdVariancePopulationCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATOR_ID_ASC', + ConfidentialAccountsByUpdatedBlockIdVariancePopulationCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATOR_ID_DESC', + ConfidentialAccountsByUpdatedBlockIdVariancePopulationIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', + ConfidentialAccountsByUpdatedBlockIdVariancePopulationIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', + ConfidentialAccountsByUpdatedBlockIdVariancePopulationUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', + ConfidentialAccountsByUpdatedBlockIdVariancePopulationUpdatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', + ConfidentialAccountsByUpdatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', + ConfidentialAccountsByUpdatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', + ConfidentialAccountsByUpdatedBlockIdVarianceSampleAccountAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ACCOUNT_ASC', + ConfidentialAccountsByUpdatedBlockIdVarianceSampleAccountDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ACCOUNT_DESC', + ConfidentialAccountsByUpdatedBlockIdVarianceSampleCreatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', + ConfidentialAccountsByUpdatedBlockIdVarianceSampleCreatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', + ConfidentialAccountsByUpdatedBlockIdVarianceSampleCreatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', + ConfidentialAccountsByUpdatedBlockIdVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialAccountsByUpdatedBlockIdVarianceSampleCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATOR_ID_ASC', + ConfidentialAccountsByUpdatedBlockIdVarianceSampleCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATOR_ID_DESC', + ConfidentialAccountsByUpdatedBlockIdVarianceSampleIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', + ConfidentialAccountsByUpdatedBlockIdVarianceSampleIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', + ConfidentialAccountsByUpdatedBlockIdVarianceSampleUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', + ConfidentialAccountsByUpdatedBlockIdVarianceSampleUpdatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', + ConfidentialAccountsByUpdatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', + ConfidentialAccountsByUpdatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetsByCreatedBlockIdAverageAllowedVenuesAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_ALLOWED_VENUES_ASC', + ConfidentialAssetsByCreatedBlockIdAverageAllowedVenuesDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_ALLOWED_VENUES_DESC', + ConfidentialAssetsByCreatedBlockIdAverageAssetIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_ASSET_ID_ASC', + ConfidentialAssetsByCreatedBlockIdAverageAssetIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_ASSET_ID_DESC', + ConfidentialAssetsByCreatedBlockIdAverageAuditorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_AUDITORS_ASC', + ConfidentialAssetsByCreatedBlockIdAverageAuditorsDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_AUDITORS_DESC', + ConfidentialAssetsByCreatedBlockIdAverageCreatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', + ConfidentialAssetsByCreatedBlockIdAverageCreatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', + ConfidentialAssetsByCreatedBlockIdAverageCreatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', + ConfidentialAssetsByCreatedBlockIdAverageCreatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', + ConfidentialAssetsByCreatedBlockIdAverageCreatorIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_CREATOR_ID_ASC', + ConfidentialAssetsByCreatedBlockIdAverageCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_CREATOR_ID_DESC', + ConfidentialAssetsByCreatedBlockIdAverageDataAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_DATA_ASC', + ConfidentialAssetsByCreatedBlockIdAverageDataDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_DATA_DESC', + ConfidentialAssetsByCreatedBlockIdAverageIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_ID_ASC', + ConfidentialAssetsByCreatedBlockIdAverageIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_ID_DESC', + ConfidentialAssetsByCreatedBlockIdAverageMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_MEDIATORS_ASC', + ConfidentialAssetsByCreatedBlockIdAverageMediatorsDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_MEDIATORS_DESC', + ConfidentialAssetsByCreatedBlockIdAverageTickerAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_TICKER_ASC', + ConfidentialAssetsByCreatedBlockIdAverageTickerDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_TICKER_DESC', + ConfidentialAssetsByCreatedBlockIdAverageTotalSupplyAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_TOTAL_SUPPLY_ASC', + ConfidentialAssetsByCreatedBlockIdAverageTotalSupplyDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_TOTAL_SUPPLY_DESC', + ConfidentialAssetsByCreatedBlockIdAverageUpdatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', + ConfidentialAssetsByCreatedBlockIdAverageUpdatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', + ConfidentialAssetsByCreatedBlockIdAverageUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetsByCreatedBlockIdAverageUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetsByCreatedBlockIdAverageVenueFilteringAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_VENUE_FILTERING_ASC', + ConfidentialAssetsByCreatedBlockIdAverageVenueFilteringDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_VENUE_FILTERING_DESC', + ConfidentialAssetsByCreatedBlockIdCountAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_COUNT_ASC', + ConfidentialAssetsByCreatedBlockIdCountDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_COUNT_DESC', + ConfidentialAssetsByCreatedBlockIdDistinctCountAllowedVenuesAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ALLOWED_VENUES_ASC', + ConfidentialAssetsByCreatedBlockIdDistinctCountAllowedVenuesDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ALLOWED_VENUES_DESC', + ConfidentialAssetsByCreatedBlockIdDistinctCountAssetIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_ASC', + ConfidentialAssetsByCreatedBlockIdDistinctCountAssetIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_DESC', + ConfidentialAssetsByCreatedBlockIdDistinctCountAuditorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_AUDITORS_ASC', + ConfidentialAssetsByCreatedBlockIdDistinctCountAuditorsDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_AUDITORS_DESC', + ConfidentialAssetsByCreatedBlockIdDistinctCountCreatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', + ConfidentialAssetsByCreatedBlockIdDistinctCountCreatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', + ConfidentialAssetsByCreatedBlockIdDistinctCountCreatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', + ConfidentialAssetsByCreatedBlockIdDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', + ConfidentialAssetsByCreatedBlockIdDistinctCountCreatorIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATOR_ID_ASC', + ConfidentialAssetsByCreatedBlockIdDistinctCountCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATOR_ID_DESC', + ConfidentialAssetsByCreatedBlockIdDistinctCountDataAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_DATA_ASC', + ConfidentialAssetsByCreatedBlockIdDistinctCountDataDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_DATA_DESC', + ConfidentialAssetsByCreatedBlockIdDistinctCountIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', + ConfidentialAssetsByCreatedBlockIdDistinctCountIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', + ConfidentialAssetsByCreatedBlockIdDistinctCountMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_MEDIATORS_ASC', + ConfidentialAssetsByCreatedBlockIdDistinctCountMediatorsDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_MEDIATORS_DESC', + ConfidentialAssetsByCreatedBlockIdDistinctCountTickerAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TICKER_ASC', + ConfidentialAssetsByCreatedBlockIdDistinctCountTickerDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TICKER_DESC', + ConfidentialAssetsByCreatedBlockIdDistinctCountTotalSupplyAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TOTAL_SUPPLY_ASC', + ConfidentialAssetsByCreatedBlockIdDistinctCountTotalSupplyDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TOTAL_SUPPLY_DESC', + ConfidentialAssetsByCreatedBlockIdDistinctCountUpdatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', + ConfidentialAssetsByCreatedBlockIdDistinctCountUpdatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', + ConfidentialAssetsByCreatedBlockIdDistinctCountUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetsByCreatedBlockIdDistinctCountUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetsByCreatedBlockIdDistinctCountVenueFilteringAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_VENUE_FILTERING_ASC', + ConfidentialAssetsByCreatedBlockIdDistinctCountVenueFilteringDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_VENUE_FILTERING_DESC', + ConfidentialAssetsByCreatedBlockIdMaxAllowedVenuesAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MAX_ALLOWED_VENUES_ASC', + ConfidentialAssetsByCreatedBlockIdMaxAllowedVenuesDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MAX_ALLOWED_VENUES_DESC', + ConfidentialAssetsByCreatedBlockIdMaxAssetIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MAX_ASSET_ID_ASC', + ConfidentialAssetsByCreatedBlockIdMaxAssetIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MAX_ASSET_ID_DESC', + ConfidentialAssetsByCreatedBlockIdMaxAuditorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MAX_AUDITORS_ASC', + ConfidentialAssetsByCreatedBlockIdMaxAuditorsDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MAX_AUDITORS_DESC', + ConfidentialAssetsByCreatedBlockIdMaxCreatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_ASC', + ConfidentialAssetsByCreatedBlockIdMaxCreatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_DESC', + ConfidentialAssetsByCreatedBlockIdMaxCreatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', + ConfidentialAssetsByCreatedBlockIdMaxCreatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', + ConfidentialAssetsByCreatedBlockIdMaxCreatorIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MAX_CREATOR_ID_ASC', + ConfidentialAssetsByCreatedBlockIdMaxCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MAX_CREATOR_ID_DESC', + ConfidentialAssetsByCreatedBlockIdMaxDataAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MAX_DATA_ASC', + ConfidentialAssetsByCreatedBlockIdMaxDataDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MAX_DATA_DESC', + ConfidentialAssetsByCreatedBlockIdMaxIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MAX_ID_ASC', + ConfidentialAssetsByCreatedBlockIdMaxIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MAX_ID_DESC', + ConfidentialAssetsByCreatedBlockIdMaxMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MAX_MEDIATORS_ASC', + ConfidentialAssetsByCreatedBlockIdMaxMediatorsDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MAX_MEDIATORS_DESC', + ConfidentialAssetsByCreatedBlockIdMaxTickerAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MAX_TICKER_ASC', + ConfidentialAssetsByCreatedBlockIdMaxTickerDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MAX_TICKER_DESC', + ConfidentialAssetsByCreatedBlockIdMaxTotalSupplyAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MAX_TOTAL_SUPPLY_ASC', + ConfidentialAssetsByCreatedBlockIdMaxTotalSupplyDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MAX_TOTAL_SUPPLY_DESC', + ConfidentialAssetsByCreatedBlockIdMaxUpdatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_ASC', + ConfidentialAssetsByCreatedBlockIdMaxUpdatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_DESC', + ConfidentialAssetsByCreatedBlockIdMaxUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetsByCreatedBlockIdMaxUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetsByCreatedBlockIdMaxVenueFilteringAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MAX_VENUE_FILTERING_ASC', + ConfidentialAssetsByCreatedBlockIdMaxVenueFilteringDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MAX_VENUE_FILTERING_DESC', + ConfidentialAssetsByCreatedBlockIdMinAllowedVenuesAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MIN_ALLOWED_VENUES_ASC', + ConfidentialAssetsByCreatedBlockIdMinAllowedVenuesDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MIN_ALLOWED_VENUES_DESC', + ConfidentialAssetsByCreatedBlockIdMinAssetIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MIN_ASSET_ID_ASC', + ConfidentialAssetsByCreatedBlockIdMinAssetIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MIN_ASSET_ID_DESC', + ConfidentialAssetsByCreatedBlockIdMinAuditorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MIN_AUDITORS_ASC', + ConfidentialAssetsByCreatedBlockIdMinAuditorsDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MIN_AUDITORS_DESC', + ConfidentialAssetsByCreatedBlockIdMinCreatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_ASC', + ConfidentialAssetsByCreatedBlockIdMinCreatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_DESC', + ConfidentialAssetsByCreatedBlockIdMinCreatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', + ConfidentialAssetsByCreatedBlockIdMinCreatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', + ConfidentialAssetsByCreatedBlockIdMinCreatorIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MIN_CREATOR_ID_ASC', + ConfidentialAssetsByCreatedBlockIdMinCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MIN_CREATOR_ID_DESC', + ConfidentialAssetsByCreatedBlockIdMinDataAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MIN_DATA_ASC', + ConfidentialAssetsByCreatedBlockIdMinDataDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MIN_DATA_DESC', + ConfidentialAssetsByCreatedBlockIdMinIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MIN_ID_ASC', + ConfidentialAssetsByCreatedBlockIdMinIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MIN_ID_DESC', + ConfidentialAssetsByCreatedBlockIdMinMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MIN_MEDIATORS_ASC', + ConfidentialAssetsByCreatedBlockIdMinMediatorsDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MIN_MEDIATORS_DESC', + ConfidentialAssetsByCreatedBlockIdMinTickerAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MIN_TICKER_ASC', + ConfidentialAssetsByCreatedBlockIdMinTickerDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MIN_TICKER_DESC', + ConfidentialAssetsByCreatedBlockIdMinTotalSupplyAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MIN_TOTAL_SUPPLY_ASC', + ConfidentialAssetsByCreatedBlockIdMinTotalSupplyDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MIN_TOTAL_SUPPLY_DESC', + ConfidentialAssetsByCreatedBlockIdMinUpdatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_ASC', + ConfidentialAssetsByCreatedBlockIdMinUpdatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_DESC', + ConfidentialAssetsByCreatedBlockIdMinUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetsByCreatedBlockIdMinUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetsByCreatedBlockIdMinVenueFilteringAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MIN_VENUE_FILTERING_ASC', + ConfidentialAssetsByCreatedBlockIdMinVenueFilteringDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MIN_VENUE_FILTERING_DESC', + ConfidentialAssetsByCreatedBlockIdStddevPopulationAllowedVenuesAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ALLOWED_VENUES_ASC', + ConfidentialAssetsByCreatedBlockIdStddevPopulationAllowedVenuesDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ALLOWED_VENUES_DESC', + ConfidentialAssetsByCreatedBlockIdStddevPopulationAssetIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_ASC', + ConfidentialAssetsByCreatedBlockIdStddevPopulationAssetIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_DESC', + ConfidentialAssetsByCreatedBlockIdStddevPopulationAuditorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_AUDITORS_ASC', + ConfidentialAssetsByCreatedBlockIdStddevPopulationAuditorsDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_AUDITORS_DESC', + ConfidentialAssetsByCreatedBlockIdStddevPopulationCreatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', + ConfidentialAssetsByCreatedBlockIdStddevPopulationCreatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', + ConfidentialAssetsByCreatedBlockIdStddevPopulationCreatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', + ConfidentialAssetsByCreatedBlockIdStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialAssetsByCreatedBlockIdStddevPopulationCreatorIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATOR_ID_ASC', + ConfidentialAssetsByCreatedBlockIdStddevPopulationCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATOR_ID_DESC', + ConfidentialAssetsByCreatedBlockIdStddevPopulationDataAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_DATA_ASC', + ConfidentialAssetsByCreatedBlockIdStddevPopulationDataDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_DATA_DESC', + ConfidentialAssetsByCreatedBlockIdStddevPopulationIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', + ConfidentialAssetsByCreatedBlockIdStddevPopulationIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', + ConfidentialAssetsByCreatedBlockIdStddevPopulationMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_MEDIATORS_ASC', + ConfidentialAssetsByCreatedBlockIdStddevPopulationMediatorsDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_MEDIATORS_DESC', + ConfidentialAssetsByCreatedBlockIdStddevPopulationTickerAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TICKER_ASC', + ConfidentialAssetsByCreatedBlockIdStddevPopulationTickerDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TICKER_DESC', + ConfidentialAssetsByCreatedBlockIdStddevPopulationTotalSupplyAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TOTAL_SUPPLY_ASC', + ConfidentialAssetsByCreatedBlockIdStddevPopulationTotalSupplyDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TOTAL_SUPPLY_DESC', + ConfidentialAssetsByCreatedBlockIdStddevPopulationUpdatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', + ConfidentialAssetsByCreatedBlockIdStddevPopulationUpdatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', + ConfidentialAssetsByCreatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetsByCreatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetsByCreatedBlockIdStddevPopulationVenueFilteringAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_VENUE_FILTERING_ASC', + ConfidentialAssetsByCreatedBlockIdStddevPopulationVenueFilteringDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_VENUE_FILTERING_DESC', + ConfidentialAssetsByCreatedBlockIdStddevSampleAllowedVenuesAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ALLOWED_VENUES_ASC', + ConfidentialAssetsByCreatedBlockIdStddevSampleAllowedVenuesDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ALLOWED_VENUES_DESC', + ConfidentialAssetsByCreatedBlockIdStddevSampleAssetIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_ASC', + ConfidentialAssetsByCreatedBlockIdStddevSampleAssetIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_DESC', + ConfidentialAssetsByCreatedBlockIdStddevSampleAuditorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_AUDITORS_ASC', + ConfidentialAssetsByCreatedBlockIdStddevSampleAuditorsDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_AUDITORS_DESC', + ConfidentialAssetsByCreatedBlockIdStddevSampleCreatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', + ConfidentialAssetsByCreatedBlockIdStddevSampleCreatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', + ConfidentialAssetsByCreatedBlockIdStddevSampleCreatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', + ConfidentialAssetsByCreatedBlockIdStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialAssetsByCreatedBlockIdStddevSampleCreatorIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATOR_ID_ASC', + ConfidentialAssetsByCreatedBlockIdStddevSampleCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATOR_ID_DESC', + ConfidentialAssetsByCreatedBlockIdStddevSampleDataAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_DATA_ASC', + ConfidentialAssetsByCreatedBlockIdStddevSampleDataDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_DATA_DESC', + ConfidentialAssetsByCreatedBlockIdStddevSampleIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', + ConfidentialAssetsByCreatedBlockIdStddevSampleIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', + ConfidentialAssetsByCreatedBlockIdStddevSampleMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_MEDIATORS_ASC', + ConfidentialAssetsByCreatedBlockIdStddevSampleMediatorsDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_MEDIATORS_DESC', + ConfidentialAssetsByCreatedBlockIdStddevSampleTickerAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TICKER_ASC', + ConfidentialAssetsByCreatedBlockIdStddevSampleTickerDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TICKER_DESC', + ConfidentialAssetsByCreatedBlockIdStddevSampleTotalSupplyAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TOTAL_SUPPLY_ASC', + ConfidentialAssetsByCreatedBlockIdStddevSampleTotalSupplyDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TOTAL_SUPPLY_DESC', + ConfidentialAssetsByCreatedBlockIdStddevSampleUpdatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', + ConfidentialAssetsByCreatedBlockIdStddevSampleUpdatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', + ConfidentialAssetsByCreatedBlockIdStddevSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetsByCreatedBlockIdStddevSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetsByCreatedBlockIdStddevSampleVenueFilteringAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_VENUE_FILTERING_ASC', + ConfidentialAssetsByCreatedBlockIdStddevSampleVenueFilteringDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_VENUE_FILTERING_DESC', + ConfidentialAssetsByCreatedBlockIdSumAllowedVenuesAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_SUM_ALLOWED_VENUES_ASC', + ConfidentialAssetsByCreatedBlockIdSumAllowedVenuesDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_SUM_ALLOWED_VENUES_DESC', + ConfidentialAssetsByCreatedBlockIdSumAssetIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_SUM_ASSET_ID_ASC', + ConfidentialAssetsByCreatedBlockIdSumAssetIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_SUM_ASSET_ID_DESC', + ConfidentialAssetsByCreatedBlockIdSumAuditorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_SUM_AUDITORS_ASC', + ConfidentialAssetsByCreatedBlockIdSumAuditorsDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_SUM_AUDITORS_DESC', + ConfidentialAssetsByCreatedBlockIdSumCreatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_ASC', + ConfidentialAssetsByCreatedBlockIdSumCreatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_DESC', + ConfidentialAssetsByCreatedBlockIdSumCreatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', + ConfidentialAssetsByCreatedBlockIdSumCreatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', + ConfidentialAssetsByCreatedBlockIdSumCreatorIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_SUM_CREATOR_ID_ASC', + ConfidentialAssetsByCreatedBlockIdSumCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_SUM_CREATOR_ID_DESC', + ConfidentialAssetsByCreatedBlockIdSumDataAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_SUM_DATA_ASC', + ConfidentialAssetsByCreatedBlockIdSumDataDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_SUM_DATA_DESC', + ConfidentialAssetsByCreatedBlockIdSumIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_SUM_ID_ASC', + ConfidentialAssetsByCreatedBlockIdSumIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_SUM_ID_DESC', + ConfidentialAssetsByCreatedBlockIdSumMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_SUM_MEDIATORS_ASC', + ConfidentialAssetsByCreatedBlockIdSumMediatorsDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_SUM_MEDIATORS_DESC', + ConfidentialAssetsByCreatedBlockIdSumTickerAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_SUM_TICKER_ASC', + ConfidentialAssetsByCreatedBlockIdSumTickerDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_SUM_TICKER_DESC', + ConfidentialAssetsByCreatedBlockIdSumTotalSupplyAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_SUM_TOTAL_SUPPLY_ASC', + ConfidentialAssetsByCreatedBlockIdSumTotalSupplyDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_SUM_TOTAL_SUPPLY_DESC', + ConfidentialAssetsByCreatedBlockIdSumUpdatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_ASC', + ConfidentialAssetsByCreatedBlockIdSumUpdatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_DESC', + ConfidentialAssetsByCreatedBlockIdSumUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetsByCreatedBlockIdSumUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetsByCreatedBlockIdSumVenueFilteringAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_SUM_VENUE_FILTERING_ASC', + ConfidentialAssetsByCreatedBlockIdSumVenueFilteringDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_SUM_VENUE_FILTERING_DESC', + ConfidentialAssetsByCreatedBlockIdVariancePopulationAllowedVenuesAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ALLOWED_VENUES_ASC', + ConfidentialAssetsByCreatedBlockIdVariancePopulationAllowedVenuesDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ALLOWED_VENUES_DESC', + ConfidentialAssetsByCreatedBlockIdVariancePopulationAssetIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_ASC', + ConfidentialAssetsByCreatedBlockIdVariancePopulationAssetIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_DESC', + ConfidentialAssetsByCreatedBlockIdVariancePopulationAuditorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_AUDITORS_ASC', + ConfidentialAssetsByCreatedBlockIdVariancePopulationAuditorsDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_AUDITORS_DESC', + ConfidentialAssetsByCreatedBlockIdVariancePopulationCreatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', + ConfidentialAssetsByCreatedBlockIdVariancePopulationCreatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', + ConfidentialAssetsByCreatedBlockIdVariancePopulationCreatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', + ConfidentialAssetsByCreatedBlockIdVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialAssetsByCreatedBlockIdVariancePopulationCreatorIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATOR_ID_ASC', + ConfidentialAssetsByCreatedBlockIdVariancePopulationCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATOR_ID_DESC', + ConfidentialAssetsByCreatedBlockIdVariancePopulationDataAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_DATA_ASC', + ConfidentialAssetsByCreatedBlockIdVariancePopulationDataDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_DATA_DESC', + ConfidentialAssetsByCreatedBlockIdVariancePopulationIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', + ConfidentialAssetsByCreatedBlockIdVariancePopulationIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', + ConfidentialAssetsByCreatedBlockIdVariancePopulationMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_MEDIATORS_ASC', + ConfidentialAssetsByCreatedBlockIdVariancePopulationMediatorsDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_MEDIATORS_DESC', + ConfidentialAssetsByCreatedBlockIdVariancePopulationTickerAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TICKER_ASC', + ConfidentialAssetsByCreatedBlockIdVariancePopulationTickerDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TICKER_DESC', + ConfidentialAssetsByCreatedBlockIdVariancePopulationTotalSupplyAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TOTAL_SUPPLY_ASC', + ConfidentialAssetsByCreatedBlockIdVariancePopulationTotalSupplyDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TOTAL_SUPPLY_DESC', + ConfidentialAssetsByCreatedBlockIdVariancePopulationUpdatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', + ConfidentialAssetsByCreatedBlockIdVariancePopulationUpdatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', + ConfidentialAssetsByCreatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetsByCreatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetsByCreatedBlockIdVariancePopulationVenueFilteringAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_VENUE_FILTERING_ASC', + ConfidentialAssetsByCreatedBlockIdVariancePopulationVenueFilteringDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_VENUE_FILTERING_DESC', + ConfidentialAssetsByCreatedBlockIdVarianceSampleAllowedVenuesAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ALLOWED_VENUES_ASC', + ConfidentialAssetsByCreatedBlockIdVarianceSampleAllowedVenuesDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ALLOWED_VENUES_DESC', + ConfidentialAssetsByCreatedBlockIdVarianceSampleAssetIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_ASC', + ConfidentialAssetsByCreatedBlockIdVarianceSampleAssetIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_DESC', + ConfidentialAssetsByCreatedBlockIdVarianceSampleAuditorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_AUDITORS_ASC', + ConfidentialAssetsByCreatedBlockIdVarianceSampleAuditorsDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_AUDITORS_DESC', + ConfidentialAssetsByCreatedBlockIdVarianceSampleCreatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', + ConfidentialAssetsByCreatedBlockIdVarianceSampleCreatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', + ConfidentialAssetsByCreatedBlockIdVarianceSampleCreatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', + ConfidentialAssetsByCreatedBlockIdVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialAssetsByCreatedBlockIdVarianceSampleCreatorIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATOR_ID_ASC', + ConfidentialAssetsByCreatedBlockIdVarianceSampleCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATOR_ID_DESC', + ConfidentialAssetsByCreatedBlockIdVarianceSampleDataAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_DATA_ASC', + ConfidentialAssetsByCreatedBlockIdVarianceSampleDataDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_DATA_DESC', + ConfidentialAssetsByCreatedBlockIdVarianceSampleIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', + ConfidentialAssetsByCreatedBlockIdVarianceSampleIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', + ConfidentialAssetsByCreatedBlockIdVarianceSampleMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_MEDIATORS_ASC', + ConfidentialAssetsByCreatedBlockIdVarianceSampleMediatorsDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_MEDIATORS_DESC', + ConfidentialAssetsByCreatedBlockIdVarianceSampleTickerAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TICKER_ASC', + ConfidentialAssetsByCreatedBlockIdVarianceSampleTickerDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TICKER_DESC', + ConfidentialAssetsByCreatedBlockIdVarianceSampleTotalSupplyAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TOTAL_SUPPLY_ASC', + ConfidentialAssetsByCreatedBlockIdVarianceSampleTotalSupplyDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TOTAL_SUPPLY_DESC', + ConfidentialAssetsByCreatedBlockIdVarianceSampleUpdatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', + ConfidentialAssetsByCreatedBlockIdVarianceSampleUpdatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', + ConfidentialAssetsByCreatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetsByCreatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetsByCreatedBlockIdVarianceSampleVenueFilteringAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_VENUE_FILTERING_ASC', + ConfidentialAssetsByCreatedBlockIdVarianceSampleVenueFilteringDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_VENUE_FILTERING_DESC', + ConfidentialAssetsByUpdatedBlockIdAverageAllowedVenuesAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_ALLOWED_VENUES_ASC', + ConfidentialAssetsByUpdatedBlockIdAverageAllowedVenuesDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_ALLOWED_VENUES_DESC', + ConfidentialAssetsByUpdatedBlockIdAverageAssetIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_ASSET_ID_ASC', + ConfidentialAssetsByUpdatedBlockIdAverageAssetIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_ASSET_ID_DESC', + ConfidentialAssetsByUpdatedBlockIdAverageAuditorsAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_AUDITORS_ASC', + ConfidentialAssetsByUpdatedBlockIdAverageAuditorsDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_AUDITORS_DESC', + ConfidentialAssetsByUpdatedBlockIdAverageCreatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', + ConfidentialAssetsByUpdatedBlockIdAverageCreatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', + ConfidentialAssetsByUpdatedBlockIdAverageCreatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', + ConfidentialAssetsByUpdatedBlockIdAverageCreatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', + ConfidentialAssetsByUpdatedBlockIdAverageCreatorIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATOR_ID_ASC', + ConfidentialAssetsByUpdatedBlockIdAverageCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATOR_ID_DESC', + ConfidentialAssetsByUpdatedBlockIdAverageDataAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_DATA_ASC', + ConfidentialAssetsByUpdatedBlockIdAverageDataDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_DATA_DESC', + ConfidentialAssetsByUpdatedBlockIdAverageIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_ASC', + ConfidentialAssetsByUpdatedBlockIdAverageIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_DESC', + ConfidentialAssetsByUpdatedBlockIdAverageMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_MEDIATORS_ASC', + ConfidentialAssetsByUpdatedBlockIdAverageMediatorsDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_MEDIATORS_DESC', + ConfidentialAssetsByUpdatedBlockIdAverageTickerAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_TICKER_ASC', + ConfidentialAssetsByUpdatedBlockIdAverageTickerDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_TICKER_DESC', + ConfidentialAssetsByUpdatedBlockIdAverageTotalSupplyAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_TOTAL_SUPPLY_ASC', + ConfidentialAssetsByUpdatedBlockIdAverageTotalSupplyDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_TOTAL_SUPPLY_DESC', + ConfidentialAssetsByUpdatedBlockIdAverageUpdatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', + ConfidentialAssetsByUpdatedBlockIdAverageUpdatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', + ConfidentialAssetsByUpdatedBlockIdAverageUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetsByUpdatedBlockIdAverageUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetsByUpdatedBlockIdAverageVenueFilteringAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_VENUE_FILTERING_ASC', + ConfidentialAssetsByUpdatedBlockIdAverageVenueFilteringDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_VENUE_FILTERING_DESC', + ConfidentialAssetsByUpdatedBlockIdCountAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_COUNT_ASC', + ConfidentialAssetsByUpdatedBlockIdCountDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_COUNT_DESC', + ConfidentialAssetsByUpdatedBlockIdDistinctCountAllowedVenuesAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ALLOWED_VENUES_ASC', + ConfidentialAssetsByUpdatedBlockIdDistinctCountAllowedVenuesDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ALLOWED_VENUES_DESC', + ConfidentialAssetsByUpdatedBlockIdDistinctCountAssetIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_ASC', + ConfidentialAssetsByUpdatedBlockIdDistinctCountAssetIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_DESC', + ConfidentialAssetsByUpdatedBlockIdDistinctCountAuditorsAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_AUDITORS_ASC', + ConfidentialAssetsByUpdatedBlockIdDistinctCountAuditorsDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_AUDITORS_DESC', + ConfidentialAssetsByUpdatedBlockIdDistinctCountCreatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', + ConfidentialAssetsByUpdatedBlockIdDistinctCountCreatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', + ConfidentialAssetsByUpdatedBlockIdDistinctCountCreatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', + ConfidentialAssetsByUpdatedBlockIdDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', + ConfidentialAssetsByUpdatedBlockIdDistinctCountCreatorIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATOR_ID_ASC', + ConfidentialAssetsByUpdatedBlockIdDistinctCountCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATOR_ID_DESC', + ConfidentialAssetsByUpdatedBlockIdDistinctCountDataAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_DATA_ASC', + ConfidentialAssetsByUpdatedBlockIdDistinctCountDataDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_DATA_DESC', + ConfidentialAssetsByUpdatedBlockIdDistinctCountIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', + ConfidentialAssetsByUpdatedBlockIdDistinctCountIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', + ConfidentialAssetsByUpdatedBlockIdDistinctCountMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_MEDIATORS_ASC', + ConfidentialAssetsByUpdatedBlockIdDistinctCountMediatorsDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_MEDIATORS_DESC', + ConfidentialAssetsByUpdatedBlockIdDistinctCountTickerAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TICKER_ASC', + ConfidentialAssetsByUpdatedBlockIdDistinctCountTickerDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TICKER_DESC', + ConfidentialAssetsByUpdatedBlockIdDistinctCountTotalSupplyAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TOTAL_SUPPLY_ASC', + ConfidentialAssetsByUpdatedBlockIdDistinctCountTotalSupplyDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TOTAL_SUPPLY_DESC', + ConfidentialAssetsByUpdatedBlockIdDistinctCountUpdatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', + ConfidentialAssetsByUpdatedBlockIdDistinctCountUpdatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', + ConfidentialAssetsByUpdatedBlockIdDistinctCountUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetsByUpdatedBlockIdDistinctCountUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetsByUpdatedBlockIdDistinctCountVenueFilteringAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_VENUE_FILTERING_ASC', + ConfidentialAssetsByUpdatedBlockIdDistinctCountVenueFilteringDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_VENUE_FILTERING_DESC', + ConfidentialAssetsByUpdatedBlockIdMaxAllowedVenuesAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MAX_ALLOWED_VENUES_ASC', + ConfidentialAssetsByUpdatedBlockIdMaxAllowedVenuesDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MAX_ALLOWED_VENUES_DESC', + ConfidentialAssetsByUpdatedBlockIdMaxAssetIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MAX_ASSET_ID_ASC', + ConfidentialAssetsByUpdatedBlockIdMaxAssetIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MAX_ASSET_ID_DESC', + ConfidentialAssetsByUpdatedBlockIdMaxAuditorsAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MAX_AUDITORS_ASC', + ConfidentialAssetsByUpdatedBlockIdMaxAuditorsDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MAX_AUDITORS_DESC', + ConfidentialAssetsByUpdatedBlockIdMaxCreatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_ASC', + ConfidentialAssetsByUpdatedBlockIdMaxCreatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_DESC', + ConfidentialAssetsByUpdatedBlockIdMaxCreatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', + ConfidentialAssetsByUpdatedBlockIdMaxCreatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', + ConfidentialAssetsByUpdatedBlockIdMaxCreatorIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MAX_CREATOR_ID_ASC', + ConfidentialAssetsByUpdatedBlockIdMaxCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MAX_CREATOR_ID_DESC', + ConfidentialAssetsByUpdatedBlockIdMaxDataAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MAX_DATA_ASC', + ConfidentialAssetsByUpdatedBlockIdMaxDataDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MAX_DATA_DESC', + ConfidentialAssetsByUpdatedBlockIdMaxIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MAX_ID_ASC', + ConfidentialAssetsByUpdatedBlockIdMaxIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MAX_ID_DESC', + ConfidentialAssetsByUpdatedBlockIdMaxMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MAX_MEDIATORS_ASC', + ConfidentialAssetsByUpdatedBlockIdMaxMediatorsDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MAX_MEDIATORS_DESC', + ConfidentialAssetsByUpdatedBlockIdMaxTickerAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MAX_TICKER_ASC', + ConfidentialAssetsByUpdatedBlockIdMaxTickerDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MAX_TICKER_DESC', + ConfidentialAssetsByUpdatedBlockIdMaxTotalSupplyAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MAX_TOTAL_SUPPLY_ASC', + ConfidentialAssetsByUpdatedBlockIdMaxTotalSupplyDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MAX_TOTAL_SUPPLY_DESC', + ConfidentialAssetsByUpdatedBlockIdMaxUpdatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_ASC', + ConfidentialAssetsByUpdatedBlockIdMaxUpdatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_DESC', + ConfidentialAssetsByUpdatedBlockIdMaxUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetsByUpdatedBlockIdMaxUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetsByUpdatedBlockIdMaxVenueFilteringAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MAX_VENUE_FILTERING_ASC', + ConfidentialAssetsByUpdatedBlockIdMaxVenueFilteringDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MAX_VENUE_FILTERING_DESC', + ConfidentialAssetsByUpdatedBlockIdMinAllowedVenuesAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MIN_ALLOWED_VENUES_ASC', + ConfidentialAssetsByUpdatedBlockIdMinAllowedVenuesDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MIN_ALLOWED_VENUES_DESC', + ConfidentialAssetsByUpdatedBlockIdMinAssetIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MIN_ASSET_ID_ASC', + ConfidentialAssetsByUpdatedBlockIdMinAssetIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MIN_ASSET_ID_DESC', + ConfidentialAssetsByUpdatedBlockIdMinAuditorsAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MIN_AUDITORS_ASC', + ConfidentialAssetsByUpdatedBlockIdMinAuditorsDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MIN_AUDITORS_DESC', + ConfidentialAssetsByUpdatedBlockIdMinCreatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_ASC', + ConfidentialAssetsByUpdatedBlockIdMinCreatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_DESC', + ConfidentialAssetsByUpdatedBlockIdMinCreatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', + ConfidentialAssetsByUpdatedBlockIdMinCreatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', + ConfidentialAssetsByUpdatedBlockIdMinCreatorIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MIN_CREATOR_ID_ASC', + ConfidentialAssetsByUpdatedBlockIdMinCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MIN_CREATOR_ID_DESC', + ConfidentialAssetsByUpdatedBlockIdMinDataAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MIN_DATA_ASC', + ConfidentialAssetsByUpdatedBlockIdMinDataDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MIN_DATA_DESC', + ConfidentialAssetsByUpdatedBlockIdMinIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MIN_ID_ASC', + ConfidentialAssetsByUpdatedBlockIdMinIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MIN_ID_DESC', + ConfidentialAssetsByUpdatedBlockIdMinMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MIN_MEDIATORS_ASC', + ConfidentialAssetsByUpdatedBlockIdMinMediatorsDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MIN_MEDIATORS_DESC', + ConfidentialAssetsByUpdatedBlockIdMinTickerAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MIN_TICKER_ASC', + ConfidentialAssetsByUpdatedBlockIdMinTickerDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MIN_TICKER_DESC', + ConfidentialAssetsByUpdatedBlockIdMinTotalSupplyAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MIN_TOTAL_SUPPLY_ASC', + ConfidentialAssetsByUpdatedBlockIdMinTotalSupplyDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MIN_TOTAL_SUPPLY_DESC', + ConfidentialAssetsByUpdatedBlockIdMinUpdatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_ASC', + ConfidentialAssetsByUpdatedBlockIdMinUpdatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_DESC', + ConfidentialAssetsByUpdatedBlockIdMinUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetsByUpdatedBlockIdMinUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetsByUpdatedBlockIdMinVenueFilteringAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MIN_VENUE_FILTERING_ASC', + ConfidentialAssetsByUpdatedBlockIdMinVenueFilteringDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MIN_VENUE_FILTERING_DESC', + ConfidentialAssetsByUpdatedBlockIdStddevPopulationAllowedVenuesAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ALLOWED_VENUES_ASC', + ConfidentialAssetsByUpdatedBlockIdStddevPopulationAllowedVenuesDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ALLOWED_VENUES_DESC', + ConfidentialAssetsByUpdatedBlockIdStddevPopulationAssetIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_ASC', + ConfidentialAssetsByUpdatedBlockIdStddevPopulationAssetIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_DESC', + ConfidentialAssetsByUpdatedBlockIdStddevPopulationAuditorsAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_AUDITORS_ASC', + ConfidentialAssetsByUpdatedBlockIdStddevPopulationAuditorsDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_AUDITORS_DESC', + ConfidentialAssetsByUpdatedBlockIdStddevPopulationCreatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', + ConfidentialAssetsByUpdatedBlockIdStddevPopulationCreatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', + ConfidentialAssetsByUpdatedBlockIdStddevPopulationCreatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', + ConfidentialAssetsByUpdatedBlockIdStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialAssetsByUpdatedBlockIdStddevPopulationCreatorIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATOR_ID_ASC', + ConfidentialAssetsByUpdatedBlockIdStddevPopulationCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATOR_ID_DESC', + ConfidentialAssetsByUpdatedBlockIdStddevPopulationDataAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_DATA_ASC', + ConfidentialAssetsByUpdatedBlockIdStddevPopulationDataDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_DATA_DESC', + ConfidentialAssetsByUpdatedBlockIdStddevPopulationIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', + ConfidentialAssetsByUpdatedBlockIdStddevPopulationIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', + ConfidentialAssetsByUpdatedBlockIdStddevPopulationMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_MEDIATORS_ASC', + ConfidentialAssetsByUpdatedBlockIdStddevPopulationMediatorsDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_MEDIATORS_DESC', + ConfidentialAssetsByUpdatedBlockIdStddevPopulationTickerAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TICKER_ASC', + ConfidentialAssetsByUpdatedBlockIdStddevPopulationTickerDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TICKER_DESC', + ConfidentialAssetsByUpdatedBlockIdStddevPopulationTotalSupplyAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TOTAL_SUPPLY_ASC', + ConfidentialAssetsByUpdatedBlockIdStddevPopulationTotalSupplyDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TOTAL_SUPPLY_DESC', + ConfidentialAssetsByUpdatedBlockIdStddevPopulationUpdatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', + ConfidentialAssetsByUpdatedBlockIdStddevPopulationUpdatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', + ConfidentialAssetsByUpdatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetsByUpdatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetsByUpdatedBlockIdStddevPopulationVenueFilteringAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_VENUE_FILTERING_ASC', + ConfidentialAssetsByUpdatedBlockIdStddevPopulationVenueFilteringDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_VENUE_FILTERING_DESC', + ConfidentialAssetsByUpdatedBlockIdStddevSampleAllowedVenuesAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ALLOWED_VENUES_ASC', + ConfidentialAssetsByUpdatedBlockIdStddevSampleAllowedVenuesDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ALLOWED_VENUES_DESC', + ConfidentialAssetsByUpdatedBlockIdStddevSampleAssetIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_ASC', + ConfidentialAssetsByUpdatedBlockIdStddevSampleAssetIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_DESC', + ConfidentialAssetsByUpdatedBlockIdStddevSampleAuditorsAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_AUDITORS_ASC', + ConfidentialAssetsByUpdatedBlockIdStddevSampleAuditorsDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_AUDITORS_DESC', + ConfidentialAssetsByUpdatedBlockIdStddevSampleCreatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', + ConfidentialAssetsByUpdatedBlockIdStddevSampleCreatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', + ConfidentialAssetsByUpdatedBlockIdStddevSampleCreatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', + ConfidentialAssetsByUpdatedBlockIdStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialAssetsByUpdatedBlockIdStddevSampleCreatorIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATOR_ID_ASC', + ConfidentialAssetsByUpdatedBlockIdStddevSampleCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATOR_ID_DESC', + ConfidentialAssetsByUpdatedBlockIdStddevSampleDataAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_DATA_ASC', + ConfidentialAssetsByUpdatedBlockIdStddevSampleDataDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_DATA_DESC', + ConfidentialAssetsByUpdatedBlockIdStddevSampleIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', + ConfidentialAssetsByUpdatedBlockIdStddevSampleIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', + ConfidentialAssetsByUpdatedBlockIdStddevSampleMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_MEDIATORS_ASC', + ConfidentialAssetsByUpdatedBlockIdStddevSampleMediatorsDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_MEDIATORS_DESC', + ConfidentialAssetsByUpdatedBlockIdStddevSampleTickerAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TICKER_ASC', + ConfidentialAssetsByUpdatedBlockIdStddevSampleTickerDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TICKER_DESC', + ConfidentialAssetsByUpdatedBlockIdStddevSampleTotalSupplyAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TOTAL_SUPPLY_ASC', + ConfidentialAssetsByUpdatedBlockIdStddevSampleTotalSupplyDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TOTAL_SUPPLY_DESC', + ConfidentialAssetsByUpdatedBlockIdStddevSampleUpdatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', + ConfidentialAssetsByUpdatedBlockIdStddevSampleUpdatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', + ConfidentialAssetsByUpdatedBlockIdStddevSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetsByUpdatedBlockIdStddevSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetsByUpdatedBlockIdStddevSampleVenueFilteringAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_VENUE_FILTERING_ASC', + ConfidentialAssetsByUpdatedBlockIdStddevSampleVenueFilteringDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_VENUE_FILTERING_DESC', + ConfidentialAssetsByUpdatedBlockIdSumAllowedVenuesAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_SUM_ALLOWED_VENUES_ASC', + ConfidentialAssetsByUpdatedBlockIdSumAllowedVenuesDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_SUM_ALLOWED_VENUES_DESC', + ConfidentialAssetsByUpdatedBlockIdSumAssetIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_SUM_ASSET_ID_ASC', + ConfidentialAssetsByUpdatedBlockIdSumAssetIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_SUM_ASSET_ID_DESC', + ConfidentialAssetsByUpdatedBlockIdSumAuditorsAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_SUM_AUDITORS_ASC', + ConfidentialAssetsByUpdatedBlockIdSumAuditorsDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_SUM_AUDITORS_DESC', + ConfidentialAssetsByUpdatedBlockIdSumCreatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_ASC', + ConfidentialAssetsByUpdatedBlockIdSumCreatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_DESC', + ConfidentialAssetsByUpdatedBlockIdSumCreatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', + ConfidentialAssetsByUpdatedBlockIdSumCreatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', + ConfidentialAssetsByUpdatedBlockIdSumCreatorIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_SUM_CREATOR_ID_ASC', + ConfidentialAssetsByUpdatedBlockIdSumCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_SUM_CREATOR_ID_DESC', + ConfidentialAssetsByUpdatedBlockIdSumDataAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_SUM_DATA_ASC', + ConfidentialAssetsByUpdatedBlockIdSumDataDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_SUM_DATA_DESC', + ConfidentialAssetsByUpdatedBlockIdSumIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_SUM_ID_ASC', + ConfidentialAssetsByUpdatedBlockIdSumIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_SUM_ID_DESC', + ConfidentialAssetsByUpdatedBlockIdSumMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_SUM_MEDIATORS_ASC', + ConfidentialAssetsByUpdatedBlockIdSumMediatorsDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_SUM_MEDIATORS_DESC', + ConfidentialAssetsByUpdatedBlockIdSumTickerAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_SUM_TICKER_ASC', + ConfidentialAssetsByUpdatedBlockIdSumTickerDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_SUM_TICKER_DESC', + ConfidentialAssetsByUpdatedBlockIdSumTotalSupplyAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_SUM_TOTAL_SUPPLY_ASC', + ConfidentialAssetsByUpdatedBlockIdSumTotalSupplyDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_SUM_TOTAL_SUPPLY_DESC', + ConfidentialAssetsByUpdatedBlockIdSumUpdatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_ASC', + ConfidentialAssetsByUpdatedBlockIdSumUpdatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_DESC', + ConfidentialAssetsByUpdatedBlockIdSumUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetsByUpdatedBlockIdSumUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetsByUpdatedBlockIdSumVenueFilteringAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_SUM_VENUE_FILTERING_ASC', + ConfidentialAssetsByUpdatedBlockIdSumVenueFilteringDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_SUM_VENUE_FILTERING_DESC', + ConfidentialAssetsByUpdatedBlockIdVariancePopulationAllowedVenuesAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ALLOWED_VENUES_ASC', + ConfidentialAssetsByUpdatedBlockIdVariancePopulationAllowedVenuesDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ALLOWED_VENUES_DESC', + ConfidentialAssetsByUpdatedBlockIdVariancePopulationAssetIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_ASC', + ConfidentialAssetsByUpdatedBlockIdVariancePopulationAssetIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_DESC', + ConfidentialAssetsByUpdatedBlockIdVariancePopulationAuditorsAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_AUDITORS_ASC', + ConfidentialAssetsByUpdatedBlockIdVariancePopulationAuditorsDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_AUDITORS_DESC', + ConfidentialAssetsByUpdatedBlockIdVariancePopulationCreatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', + ConfidentialAssetsByUpdatedBlockIdVariancePopulationCreatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', + ConfidentialAssetsByUpdatedBlockIdVariancePopulationCreatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', + ConfidentialAssetsByUpdatedBlockIdVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialAssetsByUpdatedBlockIdVariancePopulationCreatorIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATOR_ID_ASC', + ConfidentialAssetsByUpdatedBlockIdVariancePopulationCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATOR_ID_DESC', + ConfidentialAssetsByUpdatedBlockIdVariancePopulationDataAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_DATA_ASC', + ConfidentialAssetsByUpdatedBlockIdVariancePopulationDataDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_DATA_DESC', + ConfidentialAssetsByUpdatedBlockIdVariancePopulationIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', + ConfidentialAssetsByUpdatedBlockIdVariancePopulationIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', + ConfidentialAssetsByUpdatedBlockIdVariancePopulationMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_MEDIATORS_ASC', + ConfidentialAssetsByUpdatedBlockIdVariancePopulationMediatorsDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_MEDIATORS_DESC', + ConfidentialAssetsByUpdatedBlockIdVariancePopulationTickerAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TICKER_ASC', + ConfidentialAssetsByUpdatedBlockIdVariancePopulationTickerDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TICKER_DESC', + ConfidentialAssetsByUpdatedBlockIdVariancePopulationTotalSupplyAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TOTAL_SUPPLY_ASC', + ConfidentialAssetsByUpdatedBlockIdVariancePopulationTotalSupplyDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TOTAL_SUPPLY_DESC', + ConfidentialAssetsByUpdatedBlockIdVariancePopulationUpdatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', + ConfidentialAssetsByUpdatedBlockIdVariancePopulationUpdatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', + ConfidentialAssetsByUpdatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetsByUpdatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetsByUpdatedBlockIdVariancePopulationVenueFilteringAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_VENUE_FILTERING_ASC', + ConfidentialAssetsByUpdatedBlockIdVariancePopulationVenueFilteringDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_VENUE_FILTERING_DESC', + ConfidentialAssetsByUpdatedBlockIdVarianceSampleAllowedVenuesAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ALLOWED_VENUES_ASC', + ConfidentialAssetsByUpdatedBlockIdVarianceSampleAllowedVenuesDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ALLOWED_VENUES_DESC', + ConfidentialAssetsByUpdatedBlockIdVarianceSampleAssetIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_ASC', + ConfidentialAssetsByUpdatedBlockIdVarianceSampleAssetIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_DESC', + ConfidentialAssetsByUpdatedBlockIdVarianceSampleAuditorsAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_AUDITORS_ASC', + ConfidentialAssetsByUpdatedBlockIdVarianceSampleAuditorsDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_AUDITORS_DESC', + ConfidentialAssetsByUpdatedBlockIdVarianceSampleCreatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', + ConfidentialAssetsByUpdatedBlockIdVarianceSampleCreatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', + ConfidentialAssetsByUpdatedBlockIdVarianceSampleCreatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', + ConfidentialAssetsByUpdatedBlockIdVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialAssetsByUpdatedBlockIdVarianceSampleCreatorIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATOR_ID_ASC', + ConfidentialAssetsByUpdatedBlockIdVarianceSampleCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATOR_ID_DESC', + ConfidentialAssetsByUpdatedBlockIdVarianceSampleDataAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_DATA_ASC', + ConfidentialAssetsByUpdatedBlockIdVarianceSampleDataDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_DATA_DESC', + ConfidentialAssetsByUpdatedBlockIdVarianceSampleIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', + ConfidentialAssetsByUpdatedBlockIdVarianceSampleIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', + ConfidentialAssetsByUpdatedBlockIdVarianceSampleMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_MEDIATORS_ASC', + ConfidentialAssetsByUpdatedBlockIdVarianceSampleMediatorsDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_MEDIATORS_DESC', + ConfidentialAssetsByUpdatedBlockIdVarianceSampleTickerAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TICKER_ASC', + ConfidentialAssetsByUpdatedBlockIdVarianceSampleTickerDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TICKER_DESC', + ConfidentialAssetsByUpdatedBlockIdVarianceSampleTotalSupplyAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TOTAL_SUPPLY_ASC', + ConfidentialAssetsByUpdatedBlockIdVarianceSampleTotalSupplyDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TOTAL_SUPPLY_DESC', + ConfidentialAssetsByUpdatedBlockIdVarianceSampleUpdatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', + ConfidentialAssetsByUpdatedBlockIdVarianceSampleUpdatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', + ConfidentialAssetsByUpdatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetsByUpdatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetsByUpdatedBlockIdVarianceSampleVenueFilteringAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_VENUE_FILTERING_ASC', + ConfidentialAssetsByUpdatedBlockIdVarianceSampleVenueFilteringDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_VENUE_FILTERING_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdAverageAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_AMOUNT_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdAverageAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_AMOUNT_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdAverageAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_ASSET_ID_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdAverageAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_ASSET_ID_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdAverageCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdAverageCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdAverageCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdAverageCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdAverageDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_DATETIME_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdAverageDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_DATETIME_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdAverageEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_IDX_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdAverageEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_IDX_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdAverageEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_ID_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdAverageEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_ID_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdAverageExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_EXTRINSIC_IDX_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdAverageExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_EXTRINSIC_IDX_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdAverageFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_FROM_ID_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdAverageFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_FROM_ID_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdAverageIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_ID_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdAverageIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_ID_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdAverageMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_MEMO_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdAverageMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_MEMO_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdAverageToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_TO_ID_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdAverageToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_TO_ID_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdAverageTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_TRANSACTION_ID_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdAverageTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_TRANSACTION_ID_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdAverageUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdAverageUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdAverageUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdAverageUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdCountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_COUNT_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdCountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_COUNT_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdDistinctCountAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_AMOUNT_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdDistinctCountAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_AMOUNT_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdDistinctCountAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdDistinctCountAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdDistinctCountCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdDistinctCountCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdDistinctCountCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdDistinctCountDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdDistinctCountDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdDistinctCountEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdDistinctCountEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdDistinctCountEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_ID_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdDistinctCountEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_ID_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdDistinctCountExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EXTRINSIC_IDX_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdDistinctCountExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EXTRINSIC_IDX_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdDistinctCountFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_FROM_ID_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdDistinctCountFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_FROM_ID_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdDistinctCountIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdDistinctCountIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdDistinctCountMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_MEMO_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdDistinctCountMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_MEMO_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdDistinctCountToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TO_ID_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdDistinctCountToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TO_ID_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdDistinctCountTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TRANSACTION_ID_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdDistinctCountTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TRANSACTION_ID_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdDistinctCountUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdDistinctCountUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdDistinctCountUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdDistinctCountUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdMaxAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MAX_AMOUNT_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdMaxAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MAX_AMOUNT_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdMaxAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MAX_ASSET_ID_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdMaxAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MAX_ASSET_ID_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdMaxCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdMaxCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdMaxCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdMaxCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdMaxDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MAX_DATETIME_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdMaxDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MAX_DATETIME_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdMaxEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MAX_EVENT_IDX_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdMaxEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MAX_EVENT_IDX_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdMaxEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MAX_EVENT_ID_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdMaxEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MAX_EVENT_ID_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdMaxExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MAX_EXTRINSIC_IDX_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdMaxExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MAX_EXTRINSIC_IDX_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdMaxFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MAX_FROM_ID_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdMaxFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MAX_FROM_ID_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdMaxIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MAX_ID_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdMaxIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MAX_ID_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdMaxMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MAX_MEMO_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdMaxMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MAX_MEMO_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdMaxToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MAX_TO_ID_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdMaxToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MAX_TO_ID_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdMaxTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MAX_TRANSACTION_ID_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdMaxTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MAX_TRANSACTION_ID_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdMaxUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdMaxUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdMaxUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdMaxUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdMinAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MIN_AMOUNT_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdMinAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MIN_AMOUNT_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdMinAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MIN_ASSET_ID_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdMinAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MIN_ASSET_ID_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdMinCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdMinCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdMinCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdMinCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdMinDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MIN_DATETIME_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdMinDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MIN_DATETIME_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdMinEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MIN_EVENT_IDX_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdMinEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MIN_EVENT_IDX_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdMinEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MIN_EVENT_ID_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdMinEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MIN_EVENT_ID_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdMinExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MIN_EXTRINSIC_IDX_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdMinExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MIN_EXTRINSIC_IDX_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdMinFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MIN_FROM_ID_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdMinFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MIN_FROM_ID_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdMinIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MIN_ID_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdMinIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MIN_ID_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdMinMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MIN_MEMO_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdMinMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MIN_MEMO_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdMinToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MIN_TO_ID_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdMinToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MIN_TO_ID_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdMinTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MIN_TRANSACTION_ID_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdMinTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MIN_TRANSACTION_ID_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdMinUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdMinUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdMinUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdMinUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdStddevPopulationAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_AMOUNT_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdStddevPopulationAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_AMOUNT_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdStddevPopulationAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdStddevPopulationAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdStddevPopulationCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdStddevPopulationCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdStddevPopulationCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdStddevPopulationDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_DATETIME_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdStddevPopulationDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_DATETIME_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdStddevPopulationEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdStddevPopulationEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdStddevPopulationEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_ID_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdStddevPopulationEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_ID_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdStddevPopulationExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EXTRINSIC_IDX_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdStddevPopulationExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EXTRINSIC_IDX_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdStddevPopulationFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_FROM_ID_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdStddevPopulationFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_FROM_ID_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdStddevPopulationIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdStddevPopulationIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdStddevPopulationMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_MEMO_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdStddevPopulationMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_MEMO_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdStddevPopulationToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TO_ID_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdStddevPopulationToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TO_ID_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdStddevPopulationTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TRANSACTION_ID_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdStddevPopulationTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TRANSACTION_ID_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdStddevPopulationUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdStddevPopulationUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdStddevSampleAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_AMOUNT_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdStddevSampleAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_AMOUNT_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdStddevSampleAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdStddevSampleAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdStddevSampleCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdStddevSampleCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdStddevSampleCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdStddevSampleDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_DATETIME_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdStddevSampleDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_DATETIME_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdStddevSampleEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdStddevSampleEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdStddevSampleEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_ID_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdStddevSampleEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_ID_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdStddevSampleExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EXTRINSIC_IDX_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdStddevSampleExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EXTRINSIC_IDX_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdStddevSampleFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_FROM_ID_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdStddevSampleFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_FROM_ID_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdStddevSampleIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdStddevSampleIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdStddevSampleMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_MEMO_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdStddevSampleMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_MEMO_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdStddevSampleToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TO_ID_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdStddevSampleToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TO_ID_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdStddevSampleTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TRANSACTION_ID_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdStddevSampleTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TRANSACTION_ID_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdStddevSampleUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdStddevSampleUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdStddevSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdStddevSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdSumAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_SUM_AMOUNT_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdSumAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_SUM_AMOUNT_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdSumAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_SUM_ASSET_ID_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdSumAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_SUM_ASSET_ID_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdSumCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdSumCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdSumCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdSumCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdSumDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_SUM_DATETIME_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdSumDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_SUM_DATETIME_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdSumEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_SUM_EVENT_IDX_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdSumEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_SUM_EVENT_IDX_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdSumEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_SUM_EVENT_ID_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdSumEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_SUM_EVENT_ID_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdSumExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_SUM_EXTRINSIC_IDX_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdSumExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_SUM_EXTRINSIC_IDX_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdSumFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_SUM_FROM_ID_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdSumFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_SUM_FROM_ID_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdSumIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_SUM_ID_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdSumIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_SUM_ID_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdSumMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_SUM_MEMO_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdSumMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_SUM_MEMO_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdSumToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_SUM_TO_ID_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdSumToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_SUM_TO_ID_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdSumTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_SUM_TRANSACTION_ID_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdSumTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_SUM_TRANSACTION_ID_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdSumUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdSumUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdSumUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdSumUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdVariancePopulationAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_AMOUNT_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdVariancePopulationAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_AMOUNT_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdVariancePopulationAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdVariancePopulationAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdVariancePopulationCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdVariancePopulationCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdVariancePopulationCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdVariancePopulationDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_DATETIME_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdVariancePopulationDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_DATETIME_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdVariancePopulationEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdVariancePopulationEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdVariancePopulationEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_ID_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdVariancePopulationEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_ID_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdVariancePopulationExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EXTRINSIC_IDX_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdVariancePopulationExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EXTRINSIC_IDX_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdVariancePopulationFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_FROM_ID_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdVariancePopulationFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_FROM_ID_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdVariancePopulationIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdVariancePopulationIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdVariancePopulationMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_MEMO_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdVariancePopulationMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_MEMO_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdVariancePopulationToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TO_ID_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdVariancePopulationToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TO_ID_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdVariancePopulationTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TRANSACTION_ID_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdVariancePopulationTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TRANSACTION_ID_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdVariancePopulationUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdVariancePopulationUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdVarianceSampleAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_AMOUNT_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdVarianceSampleAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_AMOUNT_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdVarianceSampleAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdVarianceSampleAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdVarianceSampleCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdVarianceSampleCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdVarianceSampleCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdVarianceSampleDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_DATETIME_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdVarianceSampleDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_DATETIME_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdVarianceSampleEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdVarianceSampleEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdVarianceSampleEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_ID_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdVarianceSampleEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_ID_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdVarianceSampleExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EXTRINSIC_IDX_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdVarianceSampleExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EXTRINSIC_IDX_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdVarianceSampleFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_FROM_ID_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdVarianceSampleFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_FROM_ID_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdVarianceSampleIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdVarianceSampleIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdVarianceSampleMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_MEMO_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdVarianceSampleMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_MEMO_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdVarianceSampleToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TO_ID_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdVarianceSampleToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TO_ID_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdVarianceSampleTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TRANSACTION_ID_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdVarianceSampleTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TRANSACTION_ID_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdVarianceSampleUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdVarianceSampleUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', + ConfidentialAssetHistoriesByCreatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByCreatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdAverageAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_AMOUNT_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdAverageAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_AMOUNT_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdAverageAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_ASSET_ID_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdAverageAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_ASSET_ID_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdAverageCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdAverageCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdAverageCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdAverageCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdAverageDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_DATETIME_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdAverageDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_DATETIME_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdAverageEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_IDX_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdAverageEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_IDX_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdAverageEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_ID_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdAverageEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_ID_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdAverageExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_EXTRINSIC_IDX_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdAverageExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_EXTRINSIC_IDX_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdAverageFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_FROM_ID_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdAverageFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_FROM_ID_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdAverageIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_ID_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdAverageIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_ID_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdAverageMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_MEMO_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdAverageMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_MEMO_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdAverageToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_TO_ID_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdAverageToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_TO_ID_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdAverageTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_TRANSACTION_ID_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdAverageTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_TRANSACTION_ID_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdAverageUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdAverageUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdAverageUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdAverageUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdCountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_COUNT_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdCountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_COUNT_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdDistinctCountAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_AMOUNT_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdDistinctCountAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_AMOUNT_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdDistinctCountAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdDistinctCountAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdDistinctCountCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdDistinctCountCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdDistinctCountCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdDistinctCountDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdDistinctCountDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdDistinctCountEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdDistinctCountEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdDistinctCountEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_ID_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdDistinctCountEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_ID_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdDistinctCountExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EXTRINSIC_IDX_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdDistinctCountExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EXTRINSIC_IDX_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdDistinctCountFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_FROM_ID_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdDistinctCountFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_FROM_ID_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdDistinctCountIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdDistinctCountIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdDistinctCountMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_MEMO_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdDistinctCountMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_MEMO_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdDistinctCountToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TO_ID_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdDistinctCountToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TO_ID_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdDistinctCountTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TRANSACTION_ID_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdDistinctCountTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TRANSACTION_ID_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdDistinctCountUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdDistinctCountUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdDistinctCountUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdDistinctCountUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdMaxAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_AMOUNT_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdMaxAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_AMOUNT_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdMaxAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_ASSET_ID_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdMaxAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_ASSET_ID_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdMaxCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdMaxCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdMaxCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdMaxCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdMaxDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_DATETIME_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdMaxDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_DATETIME_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdMaxEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_EVENT_IDX_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdMaxEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_EVENT_IDX_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdMaxEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_EVENT_ID_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdMaxEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_EVENT_ID_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdMaxExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_EXTRINSIC_IDX_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdMaxExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_EXTRINSIC_IDX_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdMaxFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_FROM_ID_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdMaxFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_FROM_ID_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdMaxIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_ID_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdMaxIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_ID_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdMaxMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_MEMO_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdMaxMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_MEMO_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdMaxToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_TO_ID_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdMaxToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_TO_ID_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdMaxTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_TRANSACTION_ID_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdMaxTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_TRANSACTION_ID_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdMaxUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdMaxUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdMaxUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdMaxUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdMinAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_AMOUNT_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdMinAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_AMOUNT_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdMinAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_ASSET_ID_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdMinAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_ASSET_ID_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdMinCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdMinCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdMinCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdMinCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdMinDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_DATETIME_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdMinDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_DATETIME_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdMinEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_EVENT_IDX_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdMinEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_EVENT_IDX_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdMinEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_EVENT_ID_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdMinEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_EVENT_ID_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdMinExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_EXTRINSIC_IDX_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdMinExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_EXTRINSIC_IDX_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdMinFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_FROM_ID_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdMinFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_FROM_ID_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdMinIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_ID_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdMinIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_ID_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdMinMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_MEMO_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdMinMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_MEMO_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdMinToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_TO_ID_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdMinToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_TO_ID_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdMinTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_TRANSACTION_ID_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdMinTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_TRANSACTION_ID_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdMinUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdMinUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdMinUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdMinUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdStddevPopulationAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_AMOUNT_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdStddevPopulationAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_AMOUNT_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdStddevPopulationAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdStddevPopulationAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdStddevPopulationCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdStddevPopulationCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdStddevPopulationCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdStddevPopulationDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_DATETIME_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdStddevPopulationDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_DATETIME_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdStddevPopulationEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdStddevPopulationEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdStddevPopulationEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_ID_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdStddevPopulationEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_ID_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdStddevPopulationExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EXTRINSIC_IDX_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdStddevPopulationExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EXTRINSIC_IDX_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdStddevPopulationFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_FROM_ID_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdStddevPopulationFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_FROM_ID_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdStddevPopulationIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdStddevPopulationIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdStddevPopulationMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_MEMO_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdStddevPopulationMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_MEMO_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdStddevPopulationToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TO_ID_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdStddevPopulationToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TO_ID_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdStddevPopulationTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TRANSACTION_ID_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdStddevPopulationTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TRANSACTION_ID_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdStddevPopulationUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdStddevPopulationUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdStddevSampleAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_AMOUNT_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdStddevSampleAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_AMOUNT_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdStddevSampleAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdStddevSampleAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdStddevSampleCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdStddevSampleCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdStddevSampleCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdStddevSampleDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_DATETIME_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdStddevSampleDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_DATETIME_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdStddevSampleEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdStddevSampleEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdStddevSampleEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_ID_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdStddevSampleEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_ID_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdStddevSampleExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EXTRINSIC_IDX_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdStddevSampleExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EXTRINSIC_IDX_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdStddevSampleFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_FROM_ID_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdStddevSampleFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_FROM_ID_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdStddevSampleIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdStddevSampleIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdStddevSampleMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_MEMO_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdStddevSampleMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_MEMO_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdStddevSampleToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TO_ID_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdStddevSampleToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TO_ID_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdStddevSampleTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TRANSACTION_ID_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdStddevSampleTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TRANSACTION_ID_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdStddevSampleUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdStddevSampleUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdStddevSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdStddevSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdSumAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_AMOUNT_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdSumAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_AMOUNT_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdSumAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_ASSET_ID_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdSumAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_ASSET_ID_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdSumCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdSumCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdSumCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdSumCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdSumDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_DATETIME_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdSumDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_DATETIME_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdSumEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_EVENT_IDX_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdSumEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_EVENT_IDX_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdSumEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_EVENT_ID_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdSumEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_EVENT_ID_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdSumExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_EXTRINSIC_IDX_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdSumExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_EXTRINSIC_IDX_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdSumFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_FROM_ID_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdSumFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_FROM_ID_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdSumIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_ID_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdSumIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_ID_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdSumMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_MEMO_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdSumMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_MEMO_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdSumToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_TO_ID_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdSumToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_TO_ID_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdSumTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_TRANSACTION_ID_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdSumTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_TRANSACTION_ID_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdSumUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdSumUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdSumUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdSumUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdVariancePopulationAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_AMOUNT_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdVariancePopulationAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_AMOUNT_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdVariancePopulationAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdVariancePopulationAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdVariancePopulationCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdVariancePopulationCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdVariancePopulationCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdVariancePopulationDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_DATETIME_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdVariancePopulationDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_DATETIME_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdVariancePopulationEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdVariancePopulationEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdVariancePopulationEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_ID_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdVariancePopulationEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_ID_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdVariancePopulationExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EXTRINSIC_IDX_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdVariancePopulationExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EXTRINSIC_IDX_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdVariancePopulationFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_FROM_ID_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdVariancePopulationFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_FROM_ID_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdVariancePopulationIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdVariancePopulationIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdVariancePopulationMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_MEMO_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdVariancePopulationMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_MEMO_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdVariancePopulationToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TO_ID_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdVariancePopulationToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TO_ID_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdVariancePopulationTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TRANSACTION_ID_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdVariancePopulationTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TRANSACTION_ID_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdVariancePopulationUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdVariancePopulationUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdVarianceSampleAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_AMOUNT_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdVarianceSampleAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_AMOUNT_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdVarianceSampleAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdVarianceSampleAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdVarianceSampleCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdVarianceSampleCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdVarianceSampleCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdVarianceSampleDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_DATETIME_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdVarianceSampleDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_DATETIME_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdVarianceSampleEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdVarianceSampleEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdVarianceSampleEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_ID_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdVarianceSampleEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_ID_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdVarianceSampleExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EXTRINSIC_IDX_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdVarianceSampleExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EXTRINSIC_IDX_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdVarianceSampleFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_FROM_ID_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdVarianceSampleFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_FROM_ID_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdVarianceSampleIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdVarianceSampleIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdVarianceSampleMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_MEMO_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdVarianceSampleMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_MEMO_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdVarianceSampleToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TO_ID_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdVarianceSampleToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TO_ID_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdVarianceSampleTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TRANSACTION_ID_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdVarianceSampleTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TRANSACTION_ID_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdVarianceSampleUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdVarianceSampleUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', + ConfidentialAssetHistoriesByUpdatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByUpdatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByCreatedBlockIdAverageAccountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_ACCOUNT_ID_ASC', + ConfidentialAssetHoldersByCreatedBlockIdAverageAccountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_ACCOUNT_ID_DESC', + ConfidentialAssetHoldersByCreatedBlockIdAverageAmountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_AMOUNT_ASC', + ConfidentialAssetHoldersByCreatedBlockIdAverageAmountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_AMOUNT_DESC', + ConfidentialAssetHoldersByCreatedBlockIdAverageAssetIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_ASSET_ID_ASC', + ConfidentialAssetHoldersByCreatedBlockIdAverageAssetIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_ASSET_ID_DESC', + ConfidentialAssetHoldersByCreatedBlockIdAverageCreatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', + ConfidentialAssetHoldersByCreatedBlockIdAverageCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', + ConfidentialAssetHoldersByCreatedBlockIdAverageCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHoldersByCreatedBlockIdAverageCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByCreatedBlockIdAverageIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_ID_ASC', + ConfidentialAssetHoldersByCreatedBlockIdAverageIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_ID_DESC', + ConfidentialAssetHoldersByCreatedBlockIdAverageUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', + ConfidentialAssetHoldersByCreatedBlockIdAverageUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', + ConfidentialAssetHoldersByCreatedBlockIdAverageUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHoldersByCreatedBlockIdAverageUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByCreatedBlockIdCountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_COUNT_ASC', + ConfidentialAssetHoldersByCreatedBlockIdCountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_COUNT_DESC', + ConfidentialAssetHoldersByCreatedBlockIdDistinctCountAccountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ACCOUNT_ID_ASC', + ConfidentialAssetHoldersByCreatedBlockIdDistinctCountAccountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ACCOUNT_ID_DESC', + ConfidentialAssetHoldersByCreatedBlockIdDistinctCountAmountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_AMOUNT_ASC', + ConfidentialAssetHoldersByCreatedBlockIdDistinctCountAmountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_AMOUNT_DESC', + ConfidentialAssetHoldersByCreatedBlockIdDistinctCountAssetIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_ASC', + ConfidentialAssetHoldersByCreatedBlockIdDistinctCountAssetIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_DESC', + ConfidentialAssetHoldersByCreatedBlockIdDistinctCountCreatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', + ConfidentialAssetHoldersByCreatedBlockIdDistinctCountCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', + ConfidentialAssetHoldersByCreatedBlockIdDistinctCountCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHoldersByCreatedBlockIdDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByCreatedBlockIdDistinctCountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', + ConfidentialAssetHoldersByCreatedBlockIdDistinctCountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', + ConfidentialAssetHoldersByCreatedBlockIdDistinctCountUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', + ConfidentialAssetHoldersByCreatedBlockIdDistinctCountUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', + ConfidentialAssetHoldersByCreatedBlockIdDistinctCountUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHoldersByCreatedBlockIdDistinctCountUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByCreatedBlockIdMaxAccountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MAX_ACCOUNT_ID_ASC', + ConfidentialAssetHoldersByCreatedBlockIdMaxAccountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MAX_ACCOUNT_ID_DESC', + ConfidentialAssetHoldersByCreatedBlockIdMaxAmountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MAX_AMOUNT_ASC', + ConfidentialAssetHoldersByCreatedBlockIdMaxAmountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MAX_AMOUNT_DESC', + ConfidentialAssetHoldersByCreatedBlockIdMaxAssetIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MAX_ASSET_ID_ASC', + ConfidentialAssetHoldersByCreatedBlockIdMaxAssetIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MAX_ASSET_ID_DESC', + ConfidentialAssetHoldersByCreatedBlockIdMaxCreatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_ASC', + ConfidentialAssetHoldersByCreatedBlockIdMaxCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_DESC', + ConfidentialAssetHoldersByCreatedBlockIdMaxCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHoldersByCreatedBlockIdMaxCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByCreatedBlockIdMaxIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MAX_ID_ASC', + ConfidentialAssetHoldersByCreatedBlockIdMaxIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MAX_ID_DESC', + ConfidentialAssetHoldersByCreatedBlockIdMaxUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_ASC', + ConfidentialAssetHoldersByCreatedBlockIdMaxUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_DESC', + ConfidentialAssetHoldersByCreatedBlockIdMaxUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHoldersByCreatedBlockIdMaxUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByCreatedBlockIdMinAccountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MIN_ACCOUNT_ID_ASC', + ConfidentialAssetHoldersByCreatedBlockIdMinAccountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MIN_ACCOUNT_ID_DESC', + ConfidentialAssetHoldersByCreatedBlockIdMinAmountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MIN_AMOUNT_ASC', + ConfidentialAssetHoldersByCreatedBlockIdMinAmountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MIN_AMOUNT_DESC', + ConfidentialAssetHoldersByCreatedBlockIdMinAssetIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MIN_ASSET_ID_ASC', + ConfidentialAssetHoldersByCreatedBlockIdMinAssetIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MIN_ASSET_ID_DESC', + ConfidentialAssetHoldersByCreatedBlockIdMinCreatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_ASC', + ConfidentialAssetHoldersByCreatedBlockIdMinCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_DESC', + ConfidentialAssetHoldersByCreatedBlockIdMinCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHoldersByCreatedBlockIdMinCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByCreatedBlockIdMinIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MIN_ID_ASC', + ConfidentialAssetHoldersByCreatedBlockIdMinIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MIN_ID_DESC', + ConfidentialAssetHoldersByCreatedBlockIdMinUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_ASC', + ConfidentialAssetHoldersByCreatedBlockIdMinUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_DESC', + ConfidentialAssetHoldersByCreatedBlockIdMinUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHoldersByCreatedBlockIdMinUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByCreatedBlockIdStddevPopulationAccountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ACCOUNT_ID_ASC', + ConfidentialAssetHoldersByCreatedBlockIdStddevPopulationAccountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ACCOUNT_ID_DESC', + ConfidentialAssetHoldersByCreatedBlockIdStddevPopulationAmountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_AMOUNT_ASC', + ConfidentialAssetHoldersByCreatedBlockIdStddevPopulationAmountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_AMOUNT_DESC', + ConfidentialAssetHoldersByCreatedBlockIdStddevPopulationAssetIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_ASC', + ConfidentialAssetHoldersByCreatedBlockIdStddevPopulationAssetIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_DESC', + ConfidentialAssetHoldersByCreatedBlockIdStddevPopulationCreatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', + ConfidentialAssetHoldersByCreatedBlockIdStddevPopulationCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', + ConfidentialAssetHoldersByCreatedBlockIdStddevPopulationCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHoldersByCreatedBlockIdStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByCreatedBlockIdStddevPopulationIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', + ConfidentialAssetHoldersByCreatedBlockIdStddevPopulationIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', + ConfidentialAssetHoldersByCreatedBlockIdStddevPopulationUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', + ConfidentialAssetHoldersByCreatedBlockIdStddevPopulationUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', + ConfidentialAssetHoldersByCreatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHoldersByCreatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByCreatedBlockIdStddevSampleAccountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ACCOUNT_ID_ASC', + ConfidentialAssetHoldersByCreatedBlockIdStddevSampleAccountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ACCOUNT_ID_DESC', + ConfidentialAssetHoldersByCreatedBlockIdStddevSampleAmountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_AMOUNT_ASC', + ConfidentialAssetHoldersByCreatedBlockIdStddevSampleAmountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_AMOUNT_DESC', + ConfidentialAssetHoldersByCreatedBlockIdStddevSampleAssetIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_ASC', + ConfidentialAssetHoldersByCreatedBlockIdStddevSampleAssetIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_DESC', + ConfidentialAssetHoldersByCreatedBlockIdStddevSampleCreatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', + ConfidentialAssetHoldersByCreatedBlockIdStddevSampleCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', + ConfidentialAssetHoldersByCreatedBlockIdStddevSampleCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHoldersByCreatedBlockIdStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByCreatedBlockIdStddevSampleIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', + ConfidentialAssetHoldersByCreatedBlockIdStddevSampleIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', + ConfidentialAssetHoldersByCreatedBlockIdStddevSampleUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', + ConfidentialAssetHoldersByCreatedBlockIdStddevSampleUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', + ConfidentialAssetHoldersByCreatedBlockIdStddevSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHoldersByCreatedBlockIdStddevSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByCreatedBlockIdSumAccountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_SUM_ACCOUNT_ID_ASC', + ConfidentialAssetHoldersByCreatedBlockIdSumAccountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_SUM_ACCOUNT_ID_DESC', + ConfidentialAssetHoldersByCreatedBlockIdSumAmountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_SUM_AMOUNT_ASC', + ConfidentialAssetHoldersByCreatedBlockIdSumAmountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_SUM_AMOUNT_DESC', + ConfidentialAssetHoldersByCreatedBlockIdSumAssetIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_SUM_ASSET_ID_ASC', + ConfidentialAssetHoldersByCreatedBlockIdSumAssetIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_SUM_ASSET_ID_DESC', + ConfidentialAssetHoldersByCreatedBlockIdSumCreatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_ASC', + ConfidentialAssetHoldersByCreatedBlockIdSumCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_DESC', + ConfidentialAssetHoldersByCreatedBlockIdSumCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHoldersByCreatedBlockIdSumCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByCreatedBlockIdSumIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_SUM_ID_ASC', + ConfidentialAssetHoldersByCreatedBlockIdSumIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_SUM_ID_DESC', + ConfidentialAssetHoldersByCreatedBlockIdSumUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_ASC', + ConfidentialAssetHoldersByCreatedBlockIdSumUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_DESC', + ConfidentialAssetHoldersByCreatedBlockIdSumUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHoldersByCreatedBlockIdSumUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByCreatedBlockIdVariancePopulationAccountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ACCOUNT_ID_ASC', + ConfidentialAssetHoldersByCreatedBlockIdVariancePopulationAccountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ACCOUNT_ID_DESC', + ConfidentialAssetHoldersByCreatedBlockIdVariancePopulationAmountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_AMOUNT_ASC', + ConfidentialAssetHoldersByCreatedBlockIdVariancePopulationAmountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_AMOUNT_DESC', + ConfidentialAssetHoldersByCreatedBlockIdVariancePopulationAssetIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_ASC', + ConfidentialAssetHoldersByCreatedBlockIdVariancePopulationAssetIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_DESC', + ConfidentialAssetHoldersByCreatedBlockIdVariancePopulationCreatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', + ConfidentialAssetHoldersByCreatedBlockIdVariancePopulationCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', + ConfidentialAssetHoldersByCreatedBlockIdVariancePopulationCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHoldersByCreatedBlockIdVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByCreatedBlockIdVariancePopulationIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', + ConfidentialAssetHoldersByCreatedBlockIdVariancePopulationIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', + ConfidentialAssetHoldersByCreatedBlockIdVariancePopulationUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', + ConfidentialAssetHoldersByCreatedBlockIdVariancePopulationUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', + ConfidentialAssetHoldersByCreatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHoldersByCreatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByCreatedBlockIdVarianceSampleAccountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ACCOUNT_ID_ASC', + ConfidentialAssetHoldersByCreatedBlockIdVarianceSampleAccountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ACCOUNT_ID_DESC', + ConfidentialAssetHoldersByCreatedBlockIdVarianceSampleAmountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_AMOUNT_ASC', + ConfidentialAssetHoldersByCreatedBlockIdVarianceSampleAmountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_AMOUNT_DESC', + ConfidentialAssetHoldersByCreatedBlockIdVarianceSampleAssetIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_ASC', + ConfidentialAssetHoldersByCreatedBlockIdVarianceSampleAssetIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_DESC', + ConfidentialAssetHoldersByCreatedBlockIdVarianceSampleCreatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', + ConfidentialAssetHoldersByCreatedBlockIdVarianceSampleCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', + ConfidentialAssetHoldersByCreatedBlockIdVarianceSampleCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHoldersByCreatedBlockIdVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByCreatedBlockIdVarianceSampleIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', + ConfidentialAssetHoldersByCreatedBlockIdVarianceSampleIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', + ConfidentialAssetHoldersByCreatedBlockIdVarianceSampleUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', + ConfidentialAssetHoldersByCreatedBlockIdVarianceSampleUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', + ConfidentialAssetHoldersByCreatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHoldersByCreatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdAverageAccountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_ACCOUNT_ID_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdAverageAccountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_ACCOUNT_ID_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdAverageAmountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_AMOUNT_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdAverageAmountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_AMOUNT_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdAverageAssetIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_ASSET_ID_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdAverageAssetIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_ASSET_ID_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdAverageCreatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdAverageCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdAverageCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdAverageCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdAverageIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdAverageIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdAverageUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdAverageUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdAverageUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdAverageUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdCountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_COUNT_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdCountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_COUNT_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdDistinctCountAccountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ACCOUNT_ID_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdDistinctCountAccountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ACCOUNT_ID_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdDistinctCountAmountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_AMOUNT_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdDistinctCountAmountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_AMOUNT_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdDistinctCountAssetIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdDistinctCountAssetIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdDistinctCountCreatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdDistinctCountCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdDistinctCountCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdDistinctCountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdDistinctCountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdDistinctCountUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdDistinctCountUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdDistinctCountUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdDistinctCountUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdMaxAccountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_ACCOUNT_ID_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdMaxAccountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_ACCOUNT_ID_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdMaxAmountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_AMOUNT_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdMaxAmountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_AMOUNT_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdMaxAssetIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_ASSET_ID_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdMaxAssetIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_ASSET_ID_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdMaxCreatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdMaxCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdMaxCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdMaxCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdMaxIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_ID_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdMaxIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_ID_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdMaxUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdMaxUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdMaxUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdMaxUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdMinAccountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_ACCOUNT_ID_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdMinAccountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_ACCOUNT_ID_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdMinAmountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_AMOUNT_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdMinAmountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_AMOUNT_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdMinAssetIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_ASSET_ID_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdMinAssetIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_ASSET_ID_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdMinCreatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdMinCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdMinCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdMinCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdMinIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_ID_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdMinIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_ID_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdMinUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdMinUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdMinUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdMinUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdStddevPopulationAccountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ACCOUNT_ID_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdStddevPopulationAccountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ACCOUNT_ID_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdStddevPopulationAmountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_AMOUNT_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdStddevPopulationAmountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_AMOUNT_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdStddevPopulationAssetIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdStddevPopulationAssetIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdStddevPopulationCreatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdStddevPopulationCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdStddevPopulationCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdStddevPopulationIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdStddevPopulationIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdStddevPopulationUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdStddevPopulationUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdStddevSampleAccountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ACCOUNT_ID_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdStddevSampleAccountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ACCOUNT_ID_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdStddevSampleAmountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_AMOUNT_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdStddevSampleAmountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_AMOUNT_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdStddevSampleAssetIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdStddevSampleAssetIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdStddevSampleCreatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdStddevSampleCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdStddevSampleCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdStddevSampleIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdStddevSampleIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdStddevSampleUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdStddevSampleUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdStddevSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdStddevSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdSumAccountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_ACCOUNT_ID_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdSumAccountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_ACCOUNT_ID_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdSumAmountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_AMOUNT_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdSumAmountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_AMOUNT_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdSumAssetIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_ASSET_ID_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdSumAssetIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_ASSET_ID_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdSumCreatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdSumCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdSumCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdSumCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdSumIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_ID_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdSumIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_ID_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdSumUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdSumUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdSumUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdSumUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdVariancePopulationAccountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ACCOUNT_ID_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdVariancePopulationAccountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ACCOUNT_ID_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdVariancePopulationAmountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_AMOUNT_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdVariancePopulationAmountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_AMOUNT_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdVariancePopulationAssetIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdVariancePopulationAssetIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdVariancePopulationCreatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdVariancePopulationCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdVariancePopulationCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdVariancePopulationIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdVariancePopulationIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdVariancePopulationUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdVariancePopulationUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdVarianceSampleAccountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ACCOUNT_ID_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdVarianceSampleAccountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ACCOUNT_ID_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdVarianceSampleAmountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_AMOUNT_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdVarianceSampleAmountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_AMOUNT_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdVarianceSampleAssetIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdVarianceSampleAssetIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdVarianceSampleCreatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdVarianceSampleCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdVarianceSampleCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdVarianceSampleIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdVarianceSampleIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdVarianceSampleUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdVarianceSampleUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', + ConfidentialLegsByCreatedBlockIdAverageAssetAuditorsAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_AVERAGE_ASSET_AUDITORS_ASC', + ConfidentialLegsByCreatedBlockIdAverageAssetAuditorsDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_AVERAGE_ASSET_AUDITORS_DESC', + ConfidentialLegsByCreatedBlockIdAverageCreatedAtAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', + ConfidentialLegsByCreatedBlockIdAverageCreatedAtDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', + ConfidentialLegsByCreatedBlockIdAverageCreatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', + ConfidentialLegsByCreatedBlockIdAverageCreatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', + ConfidentialLegsByCreatedBlockIdAverageIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_AVERAGE_ID_ASC', + ConfidentialLegsByCreatedBlockIdAverageIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_AVERAGE_ID_DESC', + ConfidentialLegsByCreatedBlockIdAverageMediatorsAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_AVERAGE_MEDIATORS_ASC', + ConfidentialLegsByCreatedBlockIdAverageMediatorsDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_AVERAGE_MEDIATORS_DESC', + ConfidentialLegsByCreatedBlockIdAverageReceiverIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_AVERAGE_RECEIVER_ID_ASC', + ConfidentialLegsByCreatedBlockIdAverageReceiverIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_AVERAGE_RECEIVER_ID_DESC', + ConfidentialLegsByCreatedBlockIdAverageSenderIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_AVERAGE_SENDER_ID_ASC', + ConfidentialLegsByCreatedBlockIdAverageSenderIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_AVERAGE_SENDER_ID_DESC', + ConfidentialLegsByCreatedBlockIdAverageTransactionIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_AVERAGE_TRANSACTION_ID_ASC', + ConfidentialLegsByCreatedBlockIdAverageTransactionIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_AVERAGE_TRANSACTION_ID_DESC', + ConfidentialLegsByCreatedBlockIdAverageUpdatedAtAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', + ConfidentialLegsByCreatedBlockIdAverageUpdatedAtDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', + ConfidentialLegsByCreatedBlockIdAverageUpdatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', + ConfidentialLegsByCreatedBlockIdAverageUpdatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', + ConfidentialLegsByCreatedBlockIdCountAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_COUNT_ASC', + ConfidentialLegsByCreatedBlockIdCountDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_COUNT_DESC', + ConfidentialLegsByCreatedBlockIdDistinctCountAssetAuditorsAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ASSET_AUDITORS_ASC', + ConfidentialLegsByCreatedBlockIdDistinctCountAssetAuditorsDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ASSET_AUDITORS_DESC', + ConfidentialLegsByCreatedBlockIdDistinctCountCreatedAtAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', + ConfidentialLegsByCreatedBlockIdDistinctCountCreatedAtDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', + ConfidentialLegsByCreatedBlockIdDistinctCountCreatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', + ConfidentialLegsByCreatedBlockIdDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', + ConfidentialLegsByCreatedBlockIdDistinctCountIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', + ConfidentialLegsByCreatedBlockIdDistinctCountIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', + ConfidentialLegsByCreatedBlockIdDistinctCountMediatorsAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_MEDIATORS_ASC', + ConfidentialLegsByCreatedBlockIdDistinctCountMediatorsDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_MEDIATORS_DESC', + ConfidentialLegsByCreatedBlockIdDistinctCountReceiverIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_RECEIVER_ID_ASC', + ConfidentialLegsByCreatedBlockIdDistinctCountReceiverIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_RECEIVER_ID_DESC', + ConfidentialLegsByCreatedBlockIdDistinctCountSenderIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_SENDER_ID_ASC', + ConfidentialLegsByCreatedBlockIdDistinctCountSenderIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_SENDER_ID_DESC', + ConfidentialLegsByCreatedBlockIdDistinctCountTransactionIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TRANSACTION_ID_ASC', + ConfidentialLegsByCreatedBlockIdDistinctCountTransactionIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TRANSACTION_ID_DESC', + ConfidentialLegsByCreatedBlockIdDistinctCountUpdatedAtAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', + ConfidentialLegsByCreatedBlockIdDistinctCountUpdatedAtDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', + ConfidentialLegsByCreatedBlockIdDistinctCountUpdatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', + ConfidentialLegsByCreatedBlockIdDistinctCountUpdatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', + ConfidentialLegsByCreatedBlockIdMaxAssetAuditorsAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MAX_ASSET_AUDITORS_ASC', + ConfidentialLegsByCreatedBlockIdMaxAssetAuditorsDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MAX_ASSET_AUDITORS_DESC', + ConfidentialLegsByCreatedBlockIdMaxCreatedAtAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_ASC', + ConfidentialLegsByCreatedBlockIdMaxCreatedAtDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_DESC', + ConfidentialLegsByCreatedBlockIdMaxCreatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', + ConfidentialLegsByCreatedBlockIdMaxCreatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', + ConfidentialLegsByCreatedBlockIdMaxIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MAX_ID_ASC', + ConfidentialLegsByCreatedBlockIdMaxIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MAX_ID_DESC', + ConfidentialLegsByCreatedBlockIdMaxMediatorsAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MAX_MEDIATORS_ASC', + ConfidentialLegsByCreatedBlockIdMaxMediatorsDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MAX_MEDIATORS_DESC', + ConfidentialLegsByCreatedBlockIdMaxReceiverIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MAX_RECEIVER_ID_ASC', + ConfidentialLegsByCreatedBlockIdMaxReceiverIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MAX_RECEIVER_ID_DESC', + ConfidentialLegsByCreatedBlockIdMaxSenderIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MAX_SENDER_ID_ASC', + ConfidentialLegsByCreatedBlockIdMaxSenderIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MAX_SENDER_ID_DESC', + ConfidentialLegsByCreatedBlockIdMaxTransactionIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MAX_TRANSACTION_ID_ASC', + ConfidentialLegsByCreatedBlockIdMaxTransactionIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MAX_TRANSACTION_ID_DESC', + ConfidentialLegsByCreatedBlockIdMaxUpdatedAtAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_ASC', + ConfidentialLegsByCreatedBlockIdMaxUpdatedAtDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_DESC', + ConfidentialLegsByCreatedBlockIdMaxUpdatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', + ConfidentialLegsByCreatedBlockIdMaxUpdatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', + ConfidentialLegsByCreatedBlockIdMinAssetAuditorsAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MIN_ASSET_AUDITORS_ASC', + ConfidentialLegsByCreatedBlockIdMinAssetAuditorsDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MIN_ASSET_AUDITORS_DESC', + ConfidentialLegsByCreatedBlockIdMinCreatedAtAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_ASC', + ConfidentialLegsByCreatedBlockIdMinCreatedAtDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_DESC', + ConfidentialLegsByCreatedBlockIdMinCreatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', + ConfidentialLegsByCreatedBlockIdMinCreatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', + ConfidentialLegsByCreatedBlockIdMinIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MIN_ID_ASC', + ConfidentialLegsByCreatedBlockIdMinIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MIN_ID_DESC', + ConfidentialLegsByCreatedBlockIdMinMediatorsAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MIN_MEDIATORS_ASC', + ConfidentialLegsByCreatedBlockIdMinMediatorsDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MIN_MEDIATORS_DESC', + ConfidentialLegsByCreatedBlockIdMinReceiverIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MIN_RECEIVER_ID_ASC', + ConfidentialLegsByCreatedBlockIdMinReceiverIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MIN_RECEIVER_ID_DESC', + ConfidentialLegsByCreatedBlockIdMinSenderIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MIN_SENDER_ID_ASC', + ConfidentialLegsByCreatedBlockIdMinSenderIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MIN_SENDER_ID_DESC', + ConfidentialLegsByCreatedBlockIdMinTransactionIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MIN_TRANSACTION_ID_ASC', + ConfidentialLegsByCreatedBlockIdMinTransactionIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MIN_TRANSACTION_ID_DESC', + ConfidentialLegsByCreatedBlockIdMinUpdatedAtAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_ASC', + ConfidentialLegsByCreatedBlockIdMinUpdatedAtDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_DESC', + ConfidentialLegsByCreatedBlockIdMinUpdatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', + ConfidentialLegsByCreatedBlockIdMinUpdatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', + ConfidentialLegsByCreatedBlockIdStddevPopulationAssetAuditorsAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ASSET_AUDITORS_ASC', + ConfidentialLegsByCreatedBlockIdStddevPopulationAssetAuditorsDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ASSET_AUDITORS_DESC', + ConfidentialLegsByCreatedBlockIdStddevPopulationCreatedAtAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', + ConfidentialLegsByCreatedBlockIdStddevPopulationCreatedAtDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', + ConfidentialLegsByCreatedBlockIdStddevPopulationCreatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', + ConfidentialLegsByCreatedBlockIdStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialLegsByCreatedBlockIdStddevPopulationIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', + ConfidentialLegsByCreatedBlockIdStddevPopulationIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', + ConfidentialLegsByCreatedBlockIdStddevPopulationMediatorsAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_MEDIATORS_ASC', + ConfidentialLegsByCreatedBlockIdStddevPopulationMediatorsDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_MEDIATORS_DESC', + ConfidentialLegsByCreatedBlockIdStddevPopulationReceiverIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_RECEIVER_ID_ASC', + ConfidentialLegsByCreatedBlockIdStddevPopulationReceiverIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_RECEIVER_ID_DESC', + ConfidentialLegsByCreatedBlockIdStddevPopulationSenderIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_SENDER_ID_ASC', + ConfidentialLegsByCreatedBlockIdStddevPopulationSenderIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_SENDER_ID_DESC', + ConfidentialLegsByCreatedBlockIdStddevPopulationTransactionIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TRANSACTION_ID_ASC', + ConfidentialLegsByCreatedBlockIdStddevPopulationTransactionIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TRANSACTION_ID_DESC', + ConfidentialLegsByCreatedBlockIdStddevPopulationUpdatedAtAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', + ConfidentialLegsByCreatedBlockIdStddevPopulationUpdatedAtDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', + ConfidentialLegsByCreatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', + ConfidentialLegsByCreatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', + ConfidentialLegsByCreatedBlockIdStddevSampleAssetAuditorsAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_AUDITORS_ASC', + ConfidentialLegsByCreatedBlockIdStddevSampleAssetAuditorsDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_AUDITORS_DESC', + ConfidentialLegsByCreatedBlockIdStddevSampleCreatedAtAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', + ConfidentialLegsByCreatedBlockIdStddevSampleCreatedAtDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', + ConfidentialLegsByCreatedBlockIdStddevSampleCreatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', + ConfidentialLegsByCreatedBlockIdStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialLegsByCreatedBlockIdStddevSampleIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', + ConfidentialLegsByCreatedBlockIdStddevSampleIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', + ConfidentialLegsByCreatedBlockIdStddevSampleMediatorsAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_MEDIATORS_ASC', + ConfidentialLegsByCreatedBlockIdStddevSampleMediatorsDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_MEDIATORS_DESC', + ConfidentialLegsByCreatedBlockIdStddevSampleReceiverIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_RECEIVER_ID_ASC', + ConfidentialLegsByCreatedBlockIdStddevSampleReceiverIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_RECEIVER_ID_DESC', + ConfidentialLegsByCreatedBlockIdStddevSampleSenderIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_SENDER_ID_ASC', + ConfidentialLegsByCreatedBlockIdStddevSampleSenderIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_SENDER_ID_DESC', + ConfidentialLegsByCreatedBlockIdStddevSampleTransactionIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TRANSACTION_ID_ASC', + ConfidentialLegsByCreatedBlockIdStddevSampleTransactionIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TRANSACTION_ID_DESC', + ConfidentialLegsByCreatedBlockIdStddevSampleUpdatedAtAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', + ConfidentialLegsByCreatedBlockIdStddevSampleUpdatedAtDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', + ConfidentialLegsByCreatedBlockIdStddevSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', + ConfidentialLegsByCreatedBlockIdStddevSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', + ConfidentialLegsByCreatedBlockIdSumAssetAuditorsAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_SUM_ASSET_AUDITORS_ASC', + ConfidentialLegsByCreatedBlockIdSumAssetAuditorsDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_SUM_ASSET_AUDITORS_DESC', + ConfidentialLegsByCreatedBlockIdSumCreatedAtAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_ASC', + ConfidentialLegsByCreatedBlockIdSumCreatedAtDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_DESC', + ConfidentialLegsByCreatedBlockIdSumCreatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', + ConfidentialLegsByCreatedBlockIdSumCreatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', + ConfidentialLegsByCreatedBlockIdSumIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_SUM_ID_ASC', + ConfidentialLegsByCreatedBlockIdSumIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_SUM_ID_DESC', + ConfidentialLegsByCreatedBlockIdSumMediatorsAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_SUM_MEDIATORS_ASC', + ConfidentialLegsByCreatedBlockIdSumMediatorsDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_SUM_MEDIATORS_DESC', + ConfidentialLegsByCreatedBlockIdSumReceiverIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_SUM_RECEIVER_ID_ASC', + ConfidentialLegsByCreatedBlockIdSumReceiverIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_SUM_RECEIVER_ID_DESC', + ConfidentialLegsByCreatedBlockIdSumSenderIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_SUM_SENDER_ID_ASC', + ConfidentialLegsByCreatedBlockIdSumSenderIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_SUM_SENDER_ID_DESC', + ConfidentialLegsByCreatedBlockIdSumTransactionIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_SUM_TRANSACTION_ID_ASC', + ConfidentialLegsByCreatedBlockIdSumTransactionIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_SUM_TRANSACTION_ID_DESC', + ConfidentialLegsByCreatedBlockIdSumUpdatedAtAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_ASC', + ConfidentialLegsByCreatedBlockIdSumUpdatedAtDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_DESC', + ConfidentialLegsByCreatedBlockIdSumUpdatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', + ConfidentialLegsByCreatedBlockIdSumUpdatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', + ConfidentialLegsByCreatedBlockIdVariancePopulationAssetAuditorsAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_AUDITORS_ASC', + ConfidentialLegsByCreatedBlockIdVariancePopulationAssetAuditorsDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_AUDITORS_DESC', + ConfidentialLegsByCreatedBlockIdVariancePopulationCreatedAtAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', + ConfidentialLegsByCreatedBlockIdVariancePopulationCreatedAtDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', + ConfidentialLegsByCreatedBlockIdVariancePopulationCreatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', + ConfidentialLegsByCreatedBlockIdVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialLegsByCreatedBlockIdVariancePopulationIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', + ConfidentialLegsByCreatedBlockIdVariancePopulationIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', + ConfidentialLegsByCreatedBlockIdVariancePopulationMediatorsAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_MEDIATORS_ASC', + ConfidentialLegsByCreatedBlockIdVariancePopulationMediatorsDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_MEDIATORS_DESC', + ConfidentialLegsByCreatedBlockIdVariancePopulationReceiverIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_RECEIVER_ID_ASC', + ConfidentialLegsByCreatedBlockIdVariancePopulationReceiverIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_RECEIVER_ID_DESC', + ConfidentialLegsByCreatedBlockIdVariancePopulationSenderIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_SENDER_ID_ASC', + ConfidentialLegsByCreatedBlockIdVariancePopulationSenderIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_SENDER_ID_DESC', + ConfidentialLegsByCreatedBlockIdVariancePopulationTransactionIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TRANSACTION_ID_ASC', + ConfidentialLegsByCreatedBlockIdVariancePopulationTransactionIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TRANSACTION_ID_DESC', + ConfidentialLegsByCreatedBlockIdVariancePopulationUpdatedAtAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', + ConfidentialLegsByCreatedBlockIdVariancePopulationUpdatedAtDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', + ConfidentialLegsByCreatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', + ConfidentialLegsByCreatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', + ConfidentialLegsByCreatedBlockIdVarianceSampleAssetAuditorsAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_AUDITORS_ASC', + ConfidentialLegsByCreatedBlockIdVarianceSampleAssetAuditorsDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_AUDITORS_DESC', + ConfidentialLegsByCreatedBlockIdVarianceSampleCreatedAtAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', + ConfidentialLegsByCreatedBlockIdVarianceSampleCreatedAtDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', + ConfidentialLegsByCreatedBlockIdVarianceSampleCreatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', + ConfidentialLegsByCreatedBlockIdVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialLegsByCreatedBlockIdVarianceSampleIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', + ConfidentialLegsByCreatedBlockIdVarianceSampleIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', + ConfidentialLegsByCreatedBlockIdVarianceSampleMediatorsAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_MEDIATORS_ASC', + ConfidentialLegsByCreatedBlockIdVarianceSampleMediatorsDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_MEDIATORS_DESC', + ConfidentialLegsByCreatedBlockIdVarianceSampleReceiverIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_RECEIVER_ID_ASC', + ConfidentialLegsByCreatedBlockIdVarianceSampleReceiverIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_RECEIVER_ID_DESC', + ConfidentialLegsByCreatedBlockIdVarianceSampleSenderIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_SENDER_ID_ASC', + ConfidentialLegsByCreatedBlockIdVarianceSampleSenderIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_SENDER_ID_DESC', + ConfidentialLegsByCreatedBlockIdVarianceSampleTransactionIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TRANSACTION_ID_ASC', + ConfidentialLegsByCreatedBlockIdVarianceSampleTransactionIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TRANSACTION_ID_DESC', + ConfidentialLegsByCreatedBlockIdVarianceSampleUpdatedAtAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', + ConfidentialLegsByCreatedBlockIdVarianceSampleUpdatedAtDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', + ConfidentialLegsByCreatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', + ConfidentialLegsByCreatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', + ConfidentialLegsByUpdatedBlockIdAverageAssetAuditorsAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_AVERAGE_ASSET_AUDITORS_ASC', + ConfidentialLegsByUpdatedBlockIdAverageAssetAuditorsDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_AVERAGE_ASSET_AUDITORS_DESC', + ConfidentialLegsByUpdatedBlockIdAverageCreatedAtAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', + ConfidentialLegsByUpdatedBlockIdAverageCreatedAtDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', + ConfidentialLegsByUpdatedBlockIdAverageCreatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', + ConfidentialLegsByUpdatedBlockIdAverageCreatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', + ConfidentialLegsByUpdatedBlockIdAverageIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_ASC', + ConfidentialLegsByUpdatedBlockIdAverageIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_DESC', + ConfidentialLegsByUpdatedBlockIdAverageMediatorsAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_AVERAGE_MEDIATORS_ASC', + ConfidentialLegsByUpdatedBlockIdAverageMediatorsDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_AVERAGE_MEDIATORS_DESC', + ConfidentialLegsByUpdatedBlockIdAverageReceiverIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_AVERAGE_RECEIVER_ID_ASC', + ConfidentialLegsByUpdatedBlockIdAverageReceiverIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_AVERAGE_RECEIVER_ID_DESC', + ConfidentialLegsByUpdatedBlockIdAverageSenderIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_AVERAGE_SENDER_ID_ASC', + ConfidentialLegsByUpdatedBlockIdAverageSenderIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_AVERAGE_SENDER_ID_DESC', + ConfidentialLegsByUpdatedBlockIdAverageTransactionIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_AVERAGE_TRANSACTION_ID_ASC', + ConfidentialLegsByUpdatedBlockIdAverageTransactionIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_AVERAGE_TRANSACTION_ID_DESC', + ConfidentialLegsByUpdatedBlockIdAverageUpdatedAtAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', + ConfidentialLegsByUpdatedBlockIdAverageUpdatedAtDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', + ConfidentialLegsByUpdatedBlockIdAverageUpdatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', + ConfidentialLegsByUpdatedBlockIdAverageUpdatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', + ConfidentialLegsByUpdatedBlockIdCountAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_COUNT_ASC', + ConfidentialLegsByUpdatedBlockIdCountDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_COUNT_DESC', + ConfidentialLegsByUpdatedBlockIdDistinctCountAssetAuditorsAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ASSET_AUDITORS_ASC', + ConfidentialLegsByUpdatedBlockIdDistinctCountAssetAuditorsDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ASSET_AUDITORS_DESC', + ConfidentialLegsByUpdatedBlockIdDistinctCountCreatedAtAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', + ConfidentialLegsByUpdatedBlockIdDistinctCountCreatedAtDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', + ConfidentialLegsByUpdatedBlockIdDistinctCountCreatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', + ConfidentialLegsByUpdatedBlockIdDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', + ConfidentialLegsByUpdatedBlockIdDistinctCountIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', + ConfidentialLegsByUpdatedBlockIdDistinctCountIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', + ConfidentialLegsByUpdatedBlockIdDistinctCountMediatorsAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_MEDIATORS_ASC', + ConfidentialLegsByUpdatedBlockIdDistinctCountMediatorsDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_MEDIATORS_DESC', + ConfidentialLegsByUpdatedBlockIdDistinctCountReceiverIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_RECEIVER_ID_ASC', + ConfidentialLegsByUpdatedBlockIdDistinctCountReceiverIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_RECEIVER_ID_DESC', + ConfidentialLegsByUpdatedBlockIdDistinctCountSenderIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_SENDER_ID_ASC', + ConfidentialLegsByUpdatedBlockIdDistinctCountSenderIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_SENDER_ID_DESC', + ConfidentialLegsByUpdatedBlockIdDistinctCountTransactionIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TRANSACTION_ID_ASC', + ConfidentialLegsByUpdatedBlockIdDistinctCountTransactionIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TRANSACTION_ID_DESC', + ConfidentialLegsByUpdatedBlockIdDistinctCountUpdatedAtAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', + ConfidentialLegsByUpdatedBlockIdDistinctCountUpdatedAtDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', + ConfidentialLegsByUpdatedBlockIdDistinctCountUpdatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', + ConfidentialLegsByUpdatedBlockIdDistinctCountUpdatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', + ConfidentialLegsByUpdatedBlockIdMaxAssetAuditorsAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MAX_ASSET_AUDITORS_ASC', + ConfidentialLegsByUpdatedBlockIdMaxAssetAuditorsDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MAX_ASSET_AUDITORS_DESC', + ConfidentialLegsByUpdatedBlockIdMaxCreatedAtAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_ASC', + ConfidentialLegsByUpdatedBlockIdMaxCreatedAtDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_DESC', + ConfidentialLegsByUpdatedBlockIdMaxCreatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', + ConfidentialLegsByUpdatedBlockIdMaxCreatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', + ConfidentialLegsByUpdatedBlockIdMaxIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MAX_ID_ASC', + ConfidentialLegsByUpdatedBlockIdMaxIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MAX_ID_DESC', + ConfidentialLegsByUpdatedBlockIdMaxMediatorsAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MAX_MEDIATORS_ASC', + ConfidentialLegsByUpdatedBlockIdMaxMediatorsDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MAX_MEDIATORS_DESC', + ConfidentialLegsByUpdatedBlockIdMaxReceiverIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MAX_RECEIVER_ID_ASC', + ConfidentialLegsByUpdatedBlockIdMaxReceiverIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MAX_RECEIVER_ID_DESC', + ConfidentialLegsByUpdatedBlockIdMaxSenderIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MAX_SENDER_ID_ASC', + ConfidentialLegsByUpdatedBlockIdMaxSenderIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MAX_SENDER_ID_DESC', + ConfidentialLegsByUpdatedBlockIdMaxTransactionIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MAX_TRANSACTION_ID_ASC', + ConfidentialLegsByUpdatedBlockIdMaxTransactionIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MAX_TRANSACTION_ID_DESC', + ConfidentialLegsByUpdatedBlockIdMaxUpdatedAtAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_ASC', + ConfidentialLegsByUpdatedBlockIdMaxUpdatedAtDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_DESC', + ConfidentialLegsByUpdatedBlockIdMaxUpdatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', + ConfidentialLegsByUpdatedBlockIdMaxUpdatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', + ConfidentialLegsByUpdatedBlockIdMinAssetAuditorsAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MIN_ASSET_AUDITORS_ASC', + ConfidentialLegsByUpdatedBlockIdMinAssetAuditorsDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MIN_ASSET_AUDITORS_DESC', + ConfidentialLegsByUpdatedBlockIdMinCreatedAtAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_ASC', + ConfidentialLegsByUpdatedBlockIdMinCreatedAtDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_DESC', + ConfidentialLegsByUpdatedBlockIdMinCreatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', + ConfidentialLegsByUpdatedBlockIdMinCreatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', + ConfidentialLegsByUpdatedBlockIdMinIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MIN_ID_ASC', + ConfidentialLegsByUpdatedBlockIdMinIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MIN_ID_DESC', + ConfidentialLegsByUpdatedBlockIdMinMediatorsAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MIN_MEDIATORS_ASC', + ConfidentialLegsByUpdatedBlockIdMinMediatorsDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MIN_MEDIATORS_DESC', + ConfidentialLegsByUpdatedBlockIdMinReceiverIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MIN_RECEIVER_ID_ASC', + ConfidentialLegsByUpdatedBlockIdMinReceiverIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MIN_RECEIVER_ID_DESC', + ConfidentialLegsByUpdatedBlockIdMinSenderIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MIN_SENDER_ID_ASC', + ConfidentialLegsByUpdatedBlockIdMinSenderIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MIN_SENDER_ID_DESC', + ConfidentialLegsByUpdatedBlockIdMinTransactionIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MIN_TRANSACTION_ID_ASC', + ConfidentialLegsByUpdatedBlockIdMinTransactionIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MIN_TRANSACTION_ID_DESC', + ConfidentialLegsByUpdatedBlockIdMinUpdatedAtAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_ASC', + ConfidentialLegsByUpdatedBlockIdMinUpdatedAtDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_DESC', + ConfidentialLegsByUpdatedBlockIdMinUpdatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', + ConfidentialLegsByUpdatedBlockIdMinUpdatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', + ConfidentialLegsByUpdatedBlockIdStddevPopulationAssetAuditorsAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ASSET_AUDITORS_ASC', + ConfidentialLegsByUpdatedBlockIdStddevPopulationAssetAuditorsDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ASSET_AUDITORS_DESC', + ConfidentialLegsByUpdatedBlockIdStddevPopulationCreatedAtAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', + ConfidentialLegsByUpdatedBlockIdStddevPopulationCreatedAtDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', + ConfidentialLegsByUpdatedBlockIdStddevPopulationCreatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', + ConfidentialLegsByUpdatedBlockIdStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialLegsByUpdatedBlockIdStddevPopulationIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', + ConfidentialLegsByUpdatedBlockIdStddevPopulationIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', + ConfidentialLegsByUpdatedBlockIdStddevPopulationMediatorsAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_MEDIATORS_ASC', + ConfidentialLegsByUpdatedBlockIdStddevPopulationMediatorsDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_MEDIATORS_DESC', + ConfidentialLegsByUpdatedBlockIdStddevPopulationReceiverIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_RECEIVER_ID_ASC', + ConfidentialLegsByUpdatedBlockIdStddevPopulationReceiverIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_RECEIVER_ID_DESC', + ConfidentialLegsByUpdatedBlockIdStddevPopulationSenderIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_SENDER_ID_ASC', + ConfidentialLegsByUpdatedBlockIdStddevPopulationSenderIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_SENDER_ID_DESC', + ConfidentialLegsByUpdatedBlockIdStddevPopulationTransactionIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TRANSACTION_ID_ASC', + ConfidentialLegsByUpdatedBlockIdStddevPopulationTransactionIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TRANSACTION_ID_DESC', + ConfidentialLegsByUpdatedBlockIdStddevPopulationUpdatedAtAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', + ConfidentialLegsByUpdatedBlockIdStddevPopulationUpdatedAtDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', + ConfidentialLegsByUpdatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', + ConfidentialLegsByUpdatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', + ConfidentialLegsByUpdatedBlockIdStddevSampleAssetAuditorsAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_AUDITORS_ASC', + ConfidentialLegsByUpdatedBlockIdStddevSampleAssetAuditorsDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_AUDITORS_DESC', + ConfidentialLegsByUpdatedBlockIdStddevSampleCreatedAtAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', + ConfidentialLegsByUpdatedBlockIdStddevSampleCreatedAtDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', + ConfidentialLegsByUpdatedBlockIdStddevSampleCreatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', + ConfidentialLegsByUpdatedBlockIdStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialLegsByUpdatedBlockIdStddevSampleIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', + ConfidentialLegsByUpdatedBlockIdStddevSampleIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', + ConfidentialLegsByUpdatedBlockIdStddevSampleMediatorsAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_MEDIATORS_ASC', + ConfidentialLegsByUpdatedBlockIdStddevSampleMediatorsDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_MEDIATORS_DESC', + ConfidentialLegsByUpdatedBlockIdStddevSampleReceiverIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_RECEIVER_ID_ASC', + ConfidentialLegsByUpdatedBlockIdStddevSampleReceiverIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_RECEIVER_ID_DESC', + ConfidentialLegsByUpdatedBlockIdStddevSampleSenderIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_SENDER_ID_ASC', + ConfidentialLegsByUpdatedBlockIdStddevSampleSenderIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_SENDER_ID_DESC', + ConfidentialLegsByUpdatedBlockIdStddevSampleTransactionIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TRANSACTION_ID_ASC', + ConfidentialLegsByUpdatedBlockIdStddevSampleTransactionIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TRANSACTION_ID_DESC', + ConfidentialLegsByUpdatedBlockIdStddevSampleUpdatedAtAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', + ConfidentialLegsByUpdatedBlockIdStddevSampleUpdatedAtDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', + ConfidentialLegsByUpdatedBlockIdStddevSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', + ConfidentialLegsByUpdatedBlockIdStddevSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', + ConfidentialLegsByUpdatedBlockIdSumAssetAuditorsAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_SUM_ASSET_AUDITORS_ASC', + ConfidentialLegsByUpdatedBlockIdSumAssetAuditorsDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_SUM_ASSET_AUDITORS_DESC', + ConfidentialLegsByUpdatedBlockIdSumCreatedAtAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_ASC', + ConfidentialLegsByUpdatedBlockIdSumCreatedAtDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_DESC', + ConfidentialLegsByUpdatedBlockIdSumCreatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', + ConfidentialLegsByUpdatedBlockIdSumCreatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', + ConfidentialLegsByUpdatedBlockIdSumIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_SUM_ID_ASC', + ConfidentialLegsByUpdatedBlockIdSumIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_SUM_ID_DESC', + ConfidentialLegsByUpdatedBlockIdSumMediatorsAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_SUM_MEDIATORS_ASC', + ConfidentialLegsByUpdatedBlockIdSumMediatorsDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_SUM_MEDIATORS_DESC', + ConfidentialLegsByUpdatedBlockIdSumReceiverIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_SUM_RECEIVER_ID_ASC', + ConfidentialLegsByUpdatedBlockIdSumReceiverIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_SUM_RECEIVER_ID_DESC', + ConfidentialLegsByUpdatedBlockIdSumSenderIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_SUM_SENDER_ID_ASC', + ConfidentialLegsByUpdatedBlockIdSumSenderIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_SUM_SENDER_ID_DESC', + ConfidentialLegsByUpdatedBlockIdSumTransactionIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_SUM_TRANSACTION_ID_ASC', + ConfidentialLegsByUpdatedBlockIdSumTransactionIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_SUM_TRANSACTION_ID_DESC', + ConfidentialLegsByUpdatedBlockIdSumUpdatedAtAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_ASC', + ConfidentialLegsByUpdatedBlockIdSumUpdatedAtDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_DESC', + ConfidentialLegsByUpdatedBlockIdSumUpdatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', + ConfidentialLegsByUpdatedBlockIdSumUpdatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', + ConfidentialLegsByUpdatedBlockIdVariancePopulationAssetAuditorsAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_AUDITORS_ASC', + ConfidentialLegsByUpdatedBlockIdVariancePopulationAssetAuditorsDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_AUDITORS_DESC', + ConfidentialLegsByUpdatedBlockIdVariancePopulationCreatedAtAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', + ConfidentialLegsByUpdatedBlockIdVariancePopulationCreatedAtDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', + ConfidentialLegsByUpdatedBlockIdVariancePopulationCreatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', + ConfidentialLegsByUpdatedBlockIdVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialLegsByUpdatedBlockIdVariancePopulationIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', + ConfidentialLegsByUpdatedBlockIdVariancePopulationIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', + ConfidentialLegsByUpdatedBlockIdVariancePopulationMediatorsAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_MEDIATORS_ASC', + ConfidentialLegsByUpdatedBlockIdVariancePopulationMediatorsDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_MEDIATORS_DESC', + ConfidentialLegsByUpdatedBlockIdVariancePopulationReceiverIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_RECEIVER_ID_ASC', + ConfidentialLegsByUpdatedBlockIdVariancePopulationReceiverIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_RECEIVER_ID_DESC', + ConfidentialLegsByUpdatedBlockIdVariancePopulationSenderIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_SENDER_ID_ASC', + ConfidentialLegsByUpdatedBlockIdVariancePopulationSenderIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_SENDER_ID_DESC', + ConfidentialLegsByUpdatedBlockIdVariancePopulationTransactionIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TRANSACTION_ID_ASC', + ConfidentialLegsByUpdatedBlockIdVariancePopulationTransactionIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TRANSACTION_ID_DESC', + ConfidentialLegsByUpdatedBlockIdVariancePopulationUpdatedAtAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', + ConfidentialLegsByUpdatedBlockIdVariancePopulationUpdatedAtDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', + ConfidentialLegsByUpdatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', + ConfidentialLegsByUpdatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', + ConfidentialLegsByUpdatedBlockIdVarianceSampleAssetAuditorsAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_AUDITORS_ASC', + ConfidentialLegsByUpdatedBlockIdVarianceSampleAssetAuditorsDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_AUDITORS_DESC', + ConfidentialLegsByUpdatedBlockIdVarianceSampleCreatedAtAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', + ConfidentialLegsByUpdatedBlockIdVarianceSampleCreatedAtDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', + ConfidentialLegsByUpdatedBlockIdVarianceSampleCreatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', + ConfidentialLegsByUpdatedBlockIdVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialLegsByUpdatedBlockIdVarianceSampleIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', + ConfidentialLegsByUpdatedBlockIdVarianceSampleIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', + ConfidentialLegsByUpdatedBlockIdVarianceSampleMediatorsAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_MEDIATORS_ASC', + ConfidentialLegsByUpdatedBlockIdVarianceSampleMediatorsDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_MEDIATORS_DESC', + ConfidentialLegsByUpdatedBlockIdVarianceSampleReceiverIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_RECEIVER_ID_ASC', + ConfidentialLegsByUpdatedBlockIdVarianceSampleReceiverIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_RECEIVER_ID_DESC', + ConfidentialLegsByUpdatedBlockIdVarianceSampleSenderIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_SENDER_ID_ASC', + ConfidentialLegsByUpdatedBlockIdVarianceSampleSenderIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_SENDER_ID_DESC', + ConfidentialLegsByUpdatedBlockIdVarianceSampleTransactionIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TRANSACTION_ID_ASC', + ConfidentialLegsByUpdatedBlockIdVarianceSampleTransactionIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TRANSACTION_ID_DESC', + ConfidentialLegsByUpdatedBlockIdVarianceSampleUpdatedAtAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', + ConfidentialLegsByUpdatedBlockIdVarianceSampleUpdatedAtDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', + ConfidentialLegsByUpdatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', + ConfidentialLegsByUpdatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', + ConfidentialTransactionsByCreatedBlockIdAverageCreatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', + ConfidentialTransactionsByCreatedBlockIdAverageCreatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', + ConfidentialTransactionsByCreatedBlockIdAverageCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', + ConfidentialTransactionsByCreatedBlockIdAverageCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionsByCreatedBlockIdAverageEventIdxAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_IDX_ASC', + ConfidentialTransactionsByCreatedBlockIdAverageEventIdxDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_IDX_DESC', + ConfidentialTransactionsByCreatedBlockIdAverageEventIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_ID_ASC', + ConfidentialTransactionsByCreatedBlockIdAverageEventIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_ID_DESC', + ConfidentialTransactionsByCreatedBlockIdAverageIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_ID_ASC', + ConfidentialTransactionsByCreatedBlockIdAverageIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_ID_DESC', + ConfidentialTransactionsByCreatedBlockIdAverageMemoAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_MEMO_ASC', + ConfidentialTransactionsByCreatedBlockIdAverageMemoDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_MEMO_DESC', + ConfidentialTransactionsByCreatedBlockIdAveragePendingAffirmationsAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_PENDING_AFFIRMATIONS_ASC', + ConfidentialTransactionsByCreatedBlockIdAveragePendingAffirmationsDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_PENDING_AFFIRMATIONS_DESC', + ConfidentialTransactionsByCreatedBlockIdAverageStatusAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_STATUS_ASC', + ConfidentialTransactionsByCreatedBlockIdAverageStatusDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_STATUS_DESC', + ConfidentialTransactionsByCreatedBlockIdAverageUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', + ConfidentialTransactionsByCreatedBlockIdAverageUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', + ConfidentialTransactionsByCreatedBlockIdAverageUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', + ConfidentialTransactionsByCreatedBlockIdAverageUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', + ConfidentialTransactionsByCreatedBlockIdAverageVenueIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_VENUE_ID_ASC', + ConfidentialTransactionsByCreatedBlockIdAverageVenueIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_VENUE_ID_DESC', + ConfidentialTransactionsByCreatedBlockIdCountAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_COUNT_ASC', + ConfidentialTransactionsByCreatedBlockIdCountDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_COUNT_DESC', + ConfidentialTransactionsByCreatedBlockIdDistinctCountCreatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', + ConfidentialTransactionsByCreatedBlockIdDistinctCountCreatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', + ConfidentialTransactionsByCreatedBlockIdDistinctCountCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', + ConfidentialTransactionsByCreatedBlockIdDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionsByCreatedBlockIdDistinctCountEventIdxAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_ASC', + ConfidentialTransactionsByCreatedBlockIdDistinctCountEventIdxDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_DESC', + ConfidentialTransactionsByCreatedBlockIdDistinctCountEventIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_ID_ASC', + ConfidentialTransactionsByCreatedBlockIdDistinctCountEventIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_ID_DESC', + ConfidentialTransactionsByCreatedBlockIdDistinctCountIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', + ConfidentialTransactionsByCreatedBlockIdDistinctCountIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', + ConfidentialTransactionsByCreatedBlockIdDistinctCountMemoAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_MEMO_ASC', + ConfidentialTransactionsByCreatedBlockIdDistinctCountMemoDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_MEMO_DESC', + ConfidentialTransactionsByCreatedBlockIdDistinctCountPendingAffirmationsAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_PENDING_AFFIRMATIONS_ASC', + ConfidentialTransactionsByCreatedBlockIdDistinctCountPendingAffirmationsDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_PENDING_AFFIRMATIONS_DESC', + ConfidentialTransactionsByCreatedBlockIdDistinctCountStatusAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_STATUS_ASC', + ConfidentialTransactionsByCreatedBlockIdDistinctCountStatusDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_STATUS_DESC', + ConfidentialTransactionsByCreatedBlockIdDistinctCountUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', + ConfidentialTransactionsByCreatedBlockIdDistinctCountUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', + ConfidentialTransactionsByCreatedBlockIdDistinctCountUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', + ConfidentialTransactionsByCreatedBlockIdDistinctCountUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', + ConfidentialTransactionsByCreatedBlockIdDistinctCountVenueIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_VENUE_ID_ASC', + ConfidentialTransactionsByCreatedBlockIdDistinctCountVenueIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_VENUE_ID_DESC', + ConfidentialTransactionsByCreatedBlockIdMaxCreatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_ASC', + ConfidentialTransactionsByCreatedBlockIdMaxCreatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_DESC', + ConfidentialTransactionsByCreatedBlockIdMaxCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', + ConfidentialTransactionsByCreatedBlockIdMaxCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionsByCreatedBlockIdMaxEventIdxAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_EVENT_IDX_ASC', + ConfidentialTransactionsByCreatedBlockIdMaxEventIdxDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_EVENT_IDX_DESC', + ConfidentialTransactionsByCreatedBlockIdMaxEventIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_EVENT_ID_ASC', + ConfidentialTransactionsByCreatedBlockIdMaxEventIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_EVENT_ID_DESC', + ConfidentialTransactionsByCreatedBlockIdMaxIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_ID_ASC', + ConfidentialTransactionsByCreatedBlockIdMaxIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_ID_DESC', + ConfidentialTransactionsByCreatedBlockIdMaxMemoAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_MEMO_ASC', + ConfidentialTransactionsByCreatedBlockIdMaxMemoDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_MEMO_DESC', + ConfidentialTransactionsByCreatedBlockIdMaxPendingAffirmationsAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_PENDING_AFFIRMATIONS_ASC', + ConfidentialTransactionsByCreatedBlockIdMaxPendingAffirmationsDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_PENDING_AFFIRMATIONS_DESC', + ConfidentialTransactionsByCreatedBlockIdMaxStatusAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_STATUS_ASC', + ConfidentialTransactionsByCreatedBlockIdMaxStatusDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_STATUS_DESC', + ConfidentialTransactionsByCreatedBlockIdMaxUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_ASC', + ConfidentialTransactionsByCreatedBlockIdMaxUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_DESC', + ConfidentialTransactionsByCreatedBlockIdMaxUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', + ConfidentialTransactionsByCreatedBlockIdMaxUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', + ConfidentialTransactionsByCreatedBlockIdMaxVenueIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_VENUE_ID_ASC', + ConfidentialTransactionsByCreatedBlockIdMaxVenueIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_VENUE_ID_DESC', + ConfidentialTransactionsByCreatedBlockIdMinCreatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_ASC', + ConfidentialTransactionsByCreatedBlockIdMinCreatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_DESC', + ConfidentialTransactionsByCreatedBlockIdMinCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', + ConfidentialTransactionsByCreatedBlockIdMinCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionsByCreatedBlockIdMinEventIdxAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_EVENT_IDX_ASC', + ConfidentialTransactionsByCreatedBlockIdMinEventIdxDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_EVENT_IDX_DESC', + ConfidentialTransactionsByCreatedBlockIdMinEventIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_EVENT_ID_ASC', + ConfidentialTransactionsByCreatedBlockIdMinEventIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_EVENT_ID_DESC', + ConfidentialTransactionsByCreatedBlockIdMinIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_ID_ASC', + ConfidentialTransactionsByCreatedBlockIdMinIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_ID_DESC', + ConfidentialTransactionsByCreatedBlockIdMinMemoAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_MEMO_ASC', + ConfidentialTransactionsByCreatedBlockIdMinMemoDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_MEMO_DESC', + ConfidentialTransactionsByCreatedBlockIdMinPendingAffirmationsAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_PENDING_AFFIRMATIONS_ASC', + ConfidentialTransactionsByCreatedBlockIdMinPendingAffirmationsDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_PENDING_AFFIRMATIONS_DESC', + ConfidentialTransactionsByCreatedBlockIdMinStatusAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_STATUS_ASC', + ConfidentialTransactionsByCreatedBlockIdMinStatusDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_STATUS_DESC', + ConfidentialTransactionsByCreatedBlockIdMinUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_ASC', + ConfidentialTransactionsByCreatedBlockIdMinUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_DESC', + ConfidentialTransactionsByCreatedBlockIdMinUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', + ConfidentialTransactionsByCreatedBlockIdMinUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', + ConfidentialTransactionsByCreatedBlockIdMinVenueIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_VENUE_ID_ASC', + ConfidentialTransactionsByCreatedBlockIdMinVenueIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_VENUE_ID_DESC', + ConfidentialTransactionsByCreatedBlockIdStddevPopulationCreatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', + ConfidentialTransactionsByCreatedBlockIdStddevPopulationCreatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', + ConfidentialTransactionsByCreatedBlockIdStddevPopulationCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', + ConfidentialTransactionsByCreatedBlockIdStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionsByCreatedBlockIdStddevPopulationEventIdxAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_ASC', + ConfidentialTransactionsByCreatedBlockIdStddevPopulationEventIdxDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_DESC', + ConfidentialTransactionsByCreatedBlockIdStddevPopulationEventIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_ID_ASC', + ConfidentialTransactionsByCreatedBlockIdStddevPopulationEventIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_ID_DESC', + ConfidentialTransactionsByCreatedBlockIdStddevPopulationIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', + ConfidentialTransactionsByCreatedBlockIdStddevPopulationIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', + ConfidentialTransactionsByCreatedBlockIdStddevPopulationMemoAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_MEMO_ASC', + ConfidentialTransactionsByCreatedBlockIdStddevPopulationMemoDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_MEMO_DESC', + ConfidentialTransactionsByCreatedBlockIdStddevPopulationPendingAffirmationsAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_PENDING_AFFIRMATIONS_ASC', + ConfidentialTransactionsByCreatedBlockIdStddevPopulationPendingAffirmationsDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_PENDING_AFFIRMATIONS_DESC', + ConfidentialTransactionsByCreatedBlockIdStddevPopulationStatusAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_STATUS_ASC', + ConfidentialTransactionsByCreatedBlockIdStddevPopulationStatusDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_STATUS_DESC', + ConfidentialTransactionsByCreatedBlockIdStddevPopulationUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', + ConfidentialTransactionsByCreatedBlockIdStddevPopulationUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', + ConfidentialTransactionsByCreatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', + ConfidentialTransactionsByCreatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', + ConfidentialTransactionsByCreatedBlockIdStddevPopulationVenueIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_VENUE_ID_ASC', + ConfidentialTransactionsByCreatedBlockIdStddevPopulationVenueIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_VENUE_ID_DESC', + ConfidentialTransactionsByCreatedBlockIdStddevSampleCreatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', + ConfidentialTransactionsByCreatedBlockIdStddevSampleCreatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', + ConfidentialTransactionsByCreatedBlockIdStddevSampleCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', + ConfidentialTransactionsByCreatedBlockIdStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionsByCreatedBlockIdStddevSampleEventIdxAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', + ConfidentialTransactionsByCreatedBlockIdStddevSampleEventIdxDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', + ConfidentialTransactionsByCreatedBlockIdStddevSampleEventIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_ID_ASC', + ConfidentialTransactionsByCreatedBlockIdStddevSampleEventIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_ID_DESC', + ConfidentialTransactionsByCreatedBlockIdStddevSampleIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', + ConfidentialTransactionsByCreatedBlockIdStddevSampleIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', + ConfidentialTransactionsByCreatedBlockIdStddevSampleMemoAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_MEMO_ASC', + ConfidentialTransactionsByCreatedBlockIdStddevSampleMemoDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_MEMO_DESC', + ConfidentialTransactionsByCreatedBlockIdStddevSamplePendingAffirmationsAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_PENDING_AFFIRMATIONS_ASC', + ConfidentialTransactionsByCreatedBlockIdStddevSamplePendingAffirmationsDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_PENDING_AFFIRMATIONS_DESC', + ConfidentialTransactionsByCreatedBlockIdStddevSampleStatusAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_STATUS_ASC', + ConfidentialTransactionsByCreatedBlockIdStddevSampleStatusDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_STATUS_DESC', + ConfidentialTransactionsByCreatedBlockIdStddevSampleUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', + ConfidentialTransactionsByCreatedBlockIdStddevSampleUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', + ConfidentialTransactionsByCreatedBlockIdStddevSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', + ConfidentialTransactionsByCreatedBlockIdStddevSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', + ConfidentialTransactionsByCreatedBlockIdStddevSampleVenueIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_VENUE_ID_ASC', + ConfidentialTransactionsByCreatedBlockIdStddevSampleVenueIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_VENUE_ID_DESC', + ConfidentialTransactionsByCreatedBlockIdSumCreatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_ASC', + ConfidentialTransactionsByCreatedBlockIdSumCreatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_DESC', + ConfidentialTransactionsByCreatedBlockIdSumCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', + ConfidentialTransactionsByCreatedBlockIdSumCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionsByCreatedBlockIdSumEventIdxAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_EVENT_IDX_ASC', + ConfidentialTransactionsByCreatedBlockIdSumEventIdxDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_EVENT_IDX_DESC', + ConfidentialTransactionsByCreatedBlockIdSumEventIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_EVENT_ID_ASC', + ConfidentialTransactionsByCreatedBlockIdSumEventIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_EVENT_ID_DESC', + ConfidentialTransactionsByCreatedBlockIdSumIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_ID_ASC', + ConfidentialTransactionsByCreatedBlockIdSumIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_ID_DESC', + ConfidentialTransactionsByCreatedBlockIdSumMemoAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_MEMO_ASC', + ConfidentialTransactionsByCreatedBlockIdSumMemoDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_MEMO_DESC', + ConfidentialTransactionsByCreatedBlockIdSumPendingAffirmationsAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_PENDING_AFFIRMATIONS_ASC', + ConfidentialTransactionsByCreatedBlockIdSumPendingAffirmationsDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_PENDING_AFFIRMATIONS_DESC', + ConfidentialTransactionsByCreatedBlockIdSumStatusAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_STATUS_ASC', + ConfidentialTransactionsByCreatedBlockIdSumStatusDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_STATUS_DESC', + ConfidentialTransactionsByCreatedBlockIdSumUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_ASC', + ConfidentialTransactionsByCreatedBlockIdSumUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_DESC', + ConfidentialTransactionsByCreatedBlockIdSumUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', + ConfidentialTransactionsByCreatedBlockIdSumUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', + ConfidentialTransactionsByCreatedBlockIdSumVenueIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_VENUE_ID_ASC', + ConfidentialTransactionsByCreatedBlockIdSumVenueIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_VENUE_ID_DESC', + ConfidentialTransactionsByCreatedBlockIdVariancePopulationCreatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', + ConfidentialTransactionsByCreatedBlockIdVariancePopulationCreatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', + ConfidentialTransactionsByCreatedBlockIdVariancePopulationCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', + ConfidentialTransactionsByCreatedBlockIdVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionsByCreatedBlockIdVariancePopulationEventIdxAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', + ConfidentialTransactionsByCreatedBlockIdVariancePopulationEventIdxDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', + ConfidentialTransactionsByCreatedBlockIdVariancePopulationEventIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_ID_ASC', + ConfidentialTransactionsByCreatedBlockIdVariancePopulationEventIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_ID_DESC', + ConfidentialTransactionsByCreatedBlockIdVariancePopulationIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', + ConfidentialTransactionsByCreatedBlockIdVariancePopulationIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', + ConfidentialTransactionsByCreatedBlockIdVariancePopulationMemoAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_MEMO_ASC', + ConfidentialTransactionsByCreatedBlockIdVariancePopulationMemoDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_MEMO_DESC', + ConfidentialTransactionsByCreatedBlockIdVariancePopulationPendingAffirmationsAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_PENDING_AFFIRMATIONS_ASC', + ConfidentialTransactionsByCreatedBlockIdVariancePopulationPendingAffirmationsDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_PENDING_AFFIRMATIONS_DESC', + ConfidentialTransactionsByCreatedBlockIdVariancePopulationStatusAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_STATUS_ASC', + ConfidentialTransactionsByCreatedBlockIdVariancePopulationStatusDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_STATUS_DESC', + ConfidentialTransactionsByCreatedBlockIdVariancePopulationUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', + ConfidentialTransactionsByCreatedBlockIdVariancePopulationUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', + ConfidentialTransactionsByCreatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', + ConfidentialTransactionsByCreatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', + ConfidentialTransactionsByCreatedBlockIdVariancePopulationVenueIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_VENUE_ID_ASC', + ConfidentialTransactionsByCreatedBlockIdVariancePopulationVenueIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_VENUE_ID_DESC', + ConfidentialTransactionsByCreatedBlockIdVarianceSampleCreatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', + ConfidentialTransactionsByCreatedBlockIdVarianceSampleCreatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', + ConfidentialTransactionsByCreatedBlockIdVarianceSampleCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', + ConfidentialTransactionsByCreatedBlockIdVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionsByCreatedBlockIdVarianceSampleEventIdxAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', + ConfidentialTransactionsByCreatedBlockIdVarianceSampleEventIdxDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', + ConfidentialTransactionsByCreatedBlockIdVarianceSampleEventIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_ID_ASC', + ConfidentialTransactionsByCreatedBlockIdVarianceSampleEventIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_ID_DESC', + ConfidentialTransactionsByCreatedBlockIdVarianceSampleIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', + ConfidentialTransactionsByCreatedBlockIdVarianceSampleIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', + ConfidentialTransactionsByCreatedBlockIdVarianceSampleMemoAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_MEMO_ASC', + ConfidentialTransactionsByCreatedBlockIdVarianceSampleMemoDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_MEMO_DESC', + ConfidentialTransactionsByCreatedBlockIdVarianceSamplePendingAffirmationsAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_PENDING_AFFIRMATIONS_ASC', + ConfidentialTransactionsByCreatedBlockIdVarianceSamplePendingAffirmationsDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_PENDING_AFFIRMATIONS_DESC', + ConfidentialTransactionsByCreatedBlockIdVarianceSampleStatusAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_STATUS_ASC', + ConfidentialTransactionsByCreatedBlockIdVarianceSampleStatusDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_STATUS_DESC', + ConfidentialTransactionsByCreatedBlockIdVarianceSampleUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', + ConfidentialTransactionsByCreatedBlockIdVarianceSampleUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', + ConfidentialTransactionsByCreatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', + ConfidentialTransactionsByCreatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', + ConfidentialTransactionsByCreatedBlockIdVarianceSampleVenueIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_VENUE_ID_ASC', + ConfidentialTransactionsByCreatedBlockIdVarianceSampleVenueIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_VENUE_ID_DESC', + ConfidentialTransactionsByUpdatedBlockIdAverageCreatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', + ConfidentialTransactionsByUpdatedBlockIdAverageCreatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', + ConfidentialTransactionsByUpdatedBlockIdAverageCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', + ConfidentialTransactionsByUpdatedBlockIdAverageCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionsByUpdatedBlockIdAverageEventIdxAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_IDX_ASC', + ConfidentialTransactionsByUpdatedBlockIdAverageEventIdxDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_IDX_DESC', + ConfidentialTransactionsByUpdatedBlockIdAverageEventIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_ID_ASC', + ConfidentialTransactionsByUpdatedBlockIdAverageEventIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_ID_DESC', + ConfidentialTransactionsByUpdatedBlockIdAverageIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_ASC', + ConfidentialTransactionsByUpdatedBlockIdAverageIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_DESC', + ConfidentialTransactionsByUpdatedBlockIdAverageMemoAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_MEMO_ASC', + ConfidentialTransactionsByUpdatedBlockIdAverageMemoDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_MEMO_DESC', + ConfidentialTransactionsByUpdatedBlockIdAveragePendingAffirmationsAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_PENDING_AFFIRMATIONS_ASC', + ConfidentialTransactionsByUpdatedBlockIdAveragePendingAffirmationsDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_PENDING_AFFIRMATIONS_DESC', + ConfidentialTransactionsByUpdatedBlockIdAverageStatusAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_STATUS_ASC', + ConfidentialTransactionsByUpdatedBlockIdAverageStatusDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_STATUS_DESC', + ConfidentialTransactionsByUpdatedBlockIdAverageUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', + ConfidentialTransactionsByUpdatedBlockIdAverageUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', + ConfidentialTransactionsByUpdatedBlockIdAverageUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', + ConfidentialTransactionsByUpdatedBlockIdAverageUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', + ConfidentialTransactionsByUpdatedBlockIdAverageVenueIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_VENUE_ID_ASC', + ConfidentialTransactionsByUpdatedBlockIdAverageVenueIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_VENUE_ID_DESC', + ConfidentialTransactionsByUpdatedBlockIdCountAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_COUNT_ASC', + ConfidentialTransactionsByUpdatedBlockIdCountDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_COUNT_DESC', + ConfidentialTransactionsByUpdatedBlockIdDistinctCountCreatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', + ConfidentialTransactionsByUpdatedBlockIdDistinctCountCreatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', + ConfidentialTransactionsByUpdatedBlockIdDistinctCountCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', + ConfidentialTransactionsByUpdatedBlockIdDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionsByUpdatedBlockIdDistinctCountEventIdxAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_ASC', + ConfidentialTransactionsByUpdatedBlockIdDistinctCountEventIdxDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_DESC', + ConfidentialTransactionsByUpdatedBlockIdDistinctCountEventIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_ID_ASC', + ConfidentialTransactionsByUpdatedBlockIdDistinctCountEventIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_ID_DESC', + ConfidentialTransactionsByUpdatedBlockIdDistinctCountIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', + ConfidentialTransactionsByUpdatedBlockIdDistinctCountIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', + ConfidentialTransactionsByUpdatedBlockIdDistinctCountMemoAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_MEMO_ASC', + ConfidentialTransactionsByUpdatedBlockIdDistinctCountMemoDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_MEMO_DESC', + ConfidentialTransactionsByUpdatedBlockIdDistinctCountPendingAffirmationsAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_PENDING_AFFIRMATIONS_ASC', + ConfidentialTransactionsByUpdatedBlockIdDistinctCountPendingAffirmationsDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_PENDING_AFFIRMATIONS_DESC', + ConfidentialTransactionsByUpdatedBlockIdDistinctCountStatusAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_STATUS_ASC', + ConfidentialTransactionsByUpdatedBlockIdDistinctCountStatusDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_STATUS_DESC', + ConfidentialTransactionsByUpdatedBlockIdDistinctCountUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', + ConfidentialTransactionsByUpdatedBlockIdDistinctCountUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', + ConfidentialTransactionsByUpdatedBlockIdDistinctCountUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', + ConfidentialTransactionsByUpdatedBlockIdDistinctCountUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', + ConfidentialTransactionsByUpdatedBlockIdDistinctCountVenueIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_VENUE_ID_ASC', + ConfidentialTransactionsByUpdatedBlockIdDistinctCountVenueIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_VENUE_ID_DESC', + ConfidentialTransactionsByUpdatedBlockIdMaxCreatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_ASC', + ConfidentialTransactionsByUpdatedBlockIdMaxCreatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_DESC', + ConfidentialTransactionsByUpdatedBlockIdMaxCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', + ConfidentialTransactionsByUpdatedBlockIdMaxCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionsByUpdatedBlockIdMaxEventIdxAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_EVENT_IDX_ASC', + ConfidentialTransactionsByUpdatedBlockIdMaxEventIdxDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_EVENT_IDX_DESC', + ConfidentialTransactionsByUpdatedBlockIdMaxEventIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_EVENT_ID_ASC', + ConfidentialTransactionsByUpdatedBlockIdMaxEventIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_EVENT_ID_DESC', + ConfidentialTransactionsByUpdatedBlockIdMaxIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_ID_ASC', + ConfidentialTransactionsByUpdatedBlockIdMaxIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_ID_DESC', + ConfidentialTransactionsByUpdatedBlockIdMaxMemoAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_MEMO_ASC', + ConfidentialTransactionsByUpdatedBlockIdMaxMemoDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_MEMO_DESC', + ConfidentialTransactionsByUpdatedBlockIdMaxPendingAffirmationsAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_PENDING_AFFIRMATIONS_ASC', + ConfidentialTransactionsByUpdatedBlockIdMaxPendingAffirmationsDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_PENDING_AFFIRMATIONS_DESC', + ConfidentialTransactionsByUpdatedBlockIdMaxStatusAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_STATUS_ASC', + ConfidentialTransactionsByUpdatedBlockIdMaxStatusDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_STATUS_DESC', + ConfidentialTransactionsByUpdatedBlockIdMaxUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_ASC', + ConfidentialTransactionsByUpdatedBlockIdMaxUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_DESC', + ConfidentialTransactionsByUpdatedBlockIdMaxUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', + ConfidentialTransactionsByUpdatedBlockIdMaxUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', + ConfidentialTransactionsByUpdatedBlockIdMaxVenueIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_VENUE_ID_ASC', + ConfidentialTransactionsByUpdatedBlockIdMaxVenueIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_VENUE_ID_DESC', + ConfidentialTransactionsByUpdatedBlockIdMinCreatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_ASC', + ConfidentialTransactionsByUpdatedBlockIdMinCreatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_DESC', + ConfidentialTransactionsByUpdatedBlockIdMinCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', + ConfidentialTransactionsByUpdatedBlockIdMinCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionsByUpdatedBlockIdMinEventIdxAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_EVENT_IDX_ASC', + ConfidentialTransactionsByUpdatedBlockIdMinEventIdxDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_EVENT_IDX_DESC', + ConfidentialTransactionsByUpdatedBlockIdMinEventIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_EVENT_ID_ASC', + ConfidentialTransactionsByUpdatedBlockIdMinEventIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_EVENT_ID_DESC', + ConfidentialTransactionsByUpdatedBlockIdMinIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_ID_ASC', + ConfidentialTransactionsByUpdatedBlockIdMinIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_ID_DESC', + ConfidentialTransactionsByUpdatedBlockIdMinMemoAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_MEMO_ASC', + ConfidentialTransactionsByUpdatedBlockIdMinMemoDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_MEMO_DESC', + ConfidentialTransactionsByUpdatedBlockIdMinPendingAffirmationsAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_PENDING_AFFIRMATIONS_ASC', + ConfidentialTransactionsByUpdatedBlockIdMinPendingAffirmationsDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_PENDING_AFFIRMATIONS_DESC', + ConfidentialTransactionsByUpdatedBlockIdMinStatusAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_STATUS_ASC', + ConfidentialTransactionsByUpdatedBlockIdMinStatusDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_STATUS_DESC', + ConfidentialTransactionsByUpdatedBlockIdMinUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_ASC', + ConfidentialTransactionsByUpdatedBlockIdMinUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_DESC', + ConfidentialTransactionsByUpdatedBlockIdMinUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', + ConfidentialTransactionsByUpdatedBlockIdMinUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', + ConfidentialTransactionsByUpdatedBlockIdMinVenueIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_VENUE_ID_ASC', + ConfidentialTransactionsByUpdatedBlockIdMinVenueIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_VENUE_ID_DESC', + ConfidentialTransactionsByUpdatedBlockIdStddevPopulationCreatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', + ConfidentialTransactionsByUpdatedBlockIdStddevPopulationCreatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', + ConfidentialTransactionsByUpdatedBlockIdStddevPopulationCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', + ConfidentialTransactionsByUpdatedBlockIdStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionsByUpdatedBlockIdStddevPopulationEventIdxAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_ASC', + ConfidentialTransactionsByUpdatedBlockIdStddevPopulationEventIdxDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_DESC', + ConfidentialTransactionsByUpdatedBlockIdStddevPopulationEventIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_ID_ASC', + ConfidentialTransactionsByUpdatedBlockIdStddevPopulationEventIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_ID_DESC', + ConfidentialTransactionsByUpdatedBlockIdStddevPopulationIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', + ConfidentialTransactionsByUpdatedBlockIdStddevPopulationIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', + ConfidentialTransactionsByUpdatedBlockIdStddevPopulationMemoAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_MEMO_ASC', + ConfidentialTransactionsByUpdatedBlockIdStddevPopulationMemoDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_MEMO_DESC', + ConfidentialTransactionsByUpdatedBlockIdStddevPopulationPendingAffirmationsAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_PENDING_AFFIRMATIONS_ASC', + ConfidentialTransactionsByUpdatedBlockIdStddevPopulationPendingAffirmationsDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_PENDING_AFFIRMATIONS_DESC', + ConfidentialTransactionsByUpdatedBlockIdStddevPopulationStatusAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_STATUS_ASC', + ConfidentialTransactionsByUpdatedBlockIdStddevPopulationStatusDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_STATUS_DESC', + ConfidentialTransactionsByUpdatedBlockIdStddevPopulationUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', + ConfidentialTransactionsByUpdatedBlockIdStddevPopulationUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', + ConfidentialTransactionsByUpdatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', + ConfidentialTransactionsByUpdatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', + ConfidentialTransactionsByUpdatedBlockIdStddevPopulationVenueIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_VENUE_ID_ASC', + ConfidentialTransactionsByUpdatedBlockIdStddevPopulationVenueIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_VENUE_ID_DESC', + ConfidentialTransactionsByUpdatedBlockIdStddevSampleCreatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', + ConfidentialTransactionsByUpdatedBlockIdStddevSampleCreatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', + ConfidentialTransactionsByUpdatedBlockIdStddevSampleCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', + ConfidentialTransactionsByUpdatedBlockIdStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionsByUpdatedBlockIdStddevSampleEventIdxAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', + ConfidentialTransactionsByUpdatedBlockIdStddevSampleEventIdxDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', + ConfidentialTransactionsByUpdatedBlockIdStddevSampleEventIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_ID_ASC', + ConfidentialTransactionsByUpdatedBlockIdStddevSampleEventIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_ID_DESC', + ConfidentialTransactionsByUpdatedBlockIdStddevSampleIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', + ConfidentialTransactionsByUpdatedBlockIdStddevSampleIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', + ConfidentialTransactionsByUpdatedBlockIdStddevSampleMemoAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_MEMO_ASC', + ConfidentialTransactionsByUpdatedBlockIdStddevSampleMemoDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_MEMO_DESC', + ConfidentialTransactionsByUpdatedBlockIdStddevSamplePendingAffirmationsAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_PENDING_AFFIRMATIONS_ASC', + ConfidentialTransactionsByUpdatedBlockIdStddevSamplePendingAffirmationsDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_PENDING_AFFIRMATIONS_DESC', + ConfidentialTransactionsByUpdatedBlockIdStddevSampleStatusAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_STATUS_ASC', + ConfidentialTransactionsByUpdatedBlockIdStddevSampleStatusDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_STATUS_DESC', + ConfidentialTransactionsByUpdatedBlockIdStddevSampleUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', + ConfidentialTransactionsByUpdatedBlockIdStddevSampleUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', + ConfidentialTransactionsByUpdatedBlockIdStddevSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', + ConfidentialTransactionsByUpdatedBlockIdStddevSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', + ConfidentialTransactionsByUpdatedBlockIdStddevSampleVenueIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_VENUE_ID_ASC', + ConfidentialTransactionsByUpdatedBlockIdStddevSampleVenueIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_VENUE_ID_DESC', + ConfidentialTransactionsByUpdatedBlockIdSumCreatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_ASC', + ConfidentialTransactionsByUpdatedBlockIdSumCreatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_DESC', + ConfidentialTransactionsByUpdatedBlockIdSumCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', + ConfidentialTransactionsByUpdatedBlockIdSumCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionsByUpdatedBlockIdSumEventIdxAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_EVENT_IDX_ASC', + ConfidentialTransactionsByUpdatedBlockIdSumEventIdxDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_EVENT_IDX_DESC', + ConfidentialTransactionsByUpdatedBlockIdSumEventIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_EVENT_ID_ASC', + ConfidentialTransactionsByUpdatedBlockIdSumEventIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_EVENT_ID_DESC', + ConfidentialTransactionsByUpdatedBlockIdSumIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_ID_ASC', + ConfidentialTransactionsByUpdatedBlockIdSumIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_ID_DESC', + ConfidentialTransactionsByUpdatedBlockIdSumMemoAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_MEMO_ASC', + ConfidentialTransactionsByUpdatedBlockIdSumMemoDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_MEMO_DESC', + ConfidentialTransactionsByUpdatedBlockIdSumPendingAffirmationsAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_PENDING_AFFIRMATIONS_ASC', + ConfidentialTransactionsByUpdatedBlockIdSumPendingAffirmationsDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_PENDING_AFFIRMATIONS_DESC', + ConfidentialTransactionsByUpdatedBlockIdSumStatusAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_STATUS_ASC', + ConfidentialTransactionsByUpdatedBlockIdSumStatusDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_STATUS_DESC', + ConfidentialTransactionsByUpdatedBlockIdSumUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_ASC', + ConfidentialTransactionsByUpdatedBlockIdSumUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_DESC', + ConfidentialTransactionsByUpdatedBlockIdSumUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', + ConfidentialTransactionsByUpdatedBlockIdSumUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', + ConfidentialTransactionsByUpdatedBlockIdSumVenueIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_VENUE_ID_ASC', + ConfidentialTransactionsByUpdatedBlockIdSumVenueIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_VENUE_ID_DESC', + ConfidentialTransactionsByUpdatedBlockIdVariancePopulationCreatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', + ConfidentialTransactionsByUpdatedBlockIdVariancePopulationCreatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', + ConfidentialTransactionsByUpdatedBlockIdVariancePopulationCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', + ConfidentialTransactionsByUpdatedBlockIdVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionsByUpdatedBlockIdVariancePopulationEventIdxAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', + ConfidentialTransactionsByUpdatedBlockIdVariancePopulationEventIdxDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', + ConfidentialTransactionsByUpdatedBlockIdVariancePopulationEventIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_ID_ASC', + ConfidentialTransactionsByUpdatedBlockIdVariancePopulationEventIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_ID_DESC', + ConfidentialTransactionsByUpdatedBlockIdVariancePopulationIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', + ConfidentialTransactionsByUpdatedBlockIdVariancePopulationIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', + ConfidentialTransactionsByUpdatedBlockIdVariancePopulationMemoAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_MEMO_ASC', + ConfidentialTransactionsByUpdatedBlockIdVariancePopulationMemoDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_MEMO_DESC', + ConfidentialTransactionsByUpdatedBlockIdVariancePopulationPendingAffirmationsAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_PENDING_AFFIRMATIONS_ASC', + ConfidentialTransactionsByUpdatedBlockIdVariancePopulationPendingAffirmationsDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_PENDING_AFFIRMATIONS_DESC', + ConfidentialTransactionsByUpdatedBlockIdVariancePopulationStatusAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_STATUS_ASC', + ConfidentialTransactionsByUpdatedBlockIdVariancePopulationStatusDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_STATUS_DESC', + ConfidentialTransactionsByUpdatedBlockIdVariancePopulationUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', + ConfidentialTransactionsByUpdatedBlockIdVariancePopulationUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', + ConfidentialTransactionsByUpdatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', + ConfidentialTransactionsByUpdatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', + ConfidentialTransactionsByUpdatedBlockIdVariancePopulationVenueIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_VENUE_ID_ASC', + ConfidentialTransactionsByUpdatedBlockIdVariancePopulationVenueIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_VENUE_ID_DESC', + ConfidentialTransactionsByUpdatedBlockIdVarianceSampleCreatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', + ConfidentialTransactionsByUpdatedBlockIdVarianceSampleCreatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', + ConfidentialTransactionsByUpdatedBlockIdVarianceSampleCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', + ConfidentialTransactionsByUpdatedBlockIdVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionsByUpdatedBlockIdVarianceSampleEventIdxAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', + ConfidentialTransactionsByUpdatedBlockIdVarianceSampleEventIdxDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', + ConfidentialTransactionsByUpdatedBlockIdVarianceSampleEventIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_ID_ASC', + ConfidentialTransactionsByUpdatedBlockIdVarianceSampleEventIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_ID_DESC', + ConfidentialTransactionsByUpdatedBlockIdVarianceSampleIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', + ConfidentialTransactionsByUpdatedBlockIdVarianceSampleIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', + ConfidentialTransactionsByUpdatedBlockIdVarianceSampleMemoAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_MEMO_ASC', + ConfidentialTransactionsByUpdatedBlockIdVarianceSampleMemoDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_MEMO_DESC', + ConfidentialTransactionsByUpdatedBlockIdVarianceSamplePendingAffirmationsAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_PENDING_AFFIRMATIONS_ASC', + ConfidentialTransactionsByUpdatedBlockIdVarianceSamplePendingAffirmationsDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_PENDING_AFFIRMATIONS_DESC', + ConfidentialTransactionsByUpdatedBlockIdVarianceSampleStatusAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_STATUS_ASC', + ConfidentialTransactionsByUpdatedBlockIdVarianceSampleStatusDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_STATUS_DESC', + ConfidentialTransactionsByUpdatedBlockIdVarianceSampleUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', + ConfidentialTransactionsByUpdatedBlockIdVarianceSampleUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', + ConfidentialTransactionsByUpdatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', + ConfidentialTransactionsByUpdatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', + ConfidentialTransactionsByUpdatedBlockIdVarianceSampleVenueIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_VENUE_ID_ASC', + ConfidentialTransactionsByUpdatedBlockIdVarianceSampleVenueIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_VENUE_ID_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdAverageAccountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_AVERAGE_ACCOUNT_ID_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdAverageAccountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_AVERAGE_ACCOUNT_ID_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdAverageCreatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdAverageCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdAverageCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdAverageCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdAverageIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_AVERAGE_IDENTITY_ID_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdAverageIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_AVERAGE_IDENTITY_ID_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdAverageIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_AVERAGE_ID_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdAverageIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_AVERAGE_ID_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdAverageLegIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_AVERAGE_LEG_ID_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdAverageLegIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_AVERAGE_LEG_ID_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdAverageProofsAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_AVERAGE_PROOFS_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdAverageProofsDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_AVERAGE_PROOFS_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdAverageStatusAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_AVERAGE_STATUS_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdAverageStatusDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_AVERAGE_STATUS_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdAverageTransactionIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_AVERAGE_TRANSACTION_ID_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdAverageTransactionIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_AVERAGE_TRANSACTION_ID_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdAverageTypeAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_AVERAGE_TYPE_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdAverageTypeDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_AVERAGE_TYPE_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdAverageUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdAverageUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdAverageUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdAverageUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdCountAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_COUNT_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdCountDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_COUNT_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdDistinctCountAccountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ACCOUNT_ID_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdDistinctCountAccountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ACCOUNT_ID_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdDistinctCountCreatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdDistinctCountCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdDistinctCountCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdDistinctCountIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_IDENTITY_ID_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdDistinctCountIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_IDENTITY_ID_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdDistinctCountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdDistinctCountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdDistinctCountLegIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_LEG_ID_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdDistinctCountLegIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_LEG_ID_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdDistinctCountProofsAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_PROOFS_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdDistinctCountProofsDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_PROOFS_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdDistinctCountStatusAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_STATUS_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdDistinctCountStatusDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_STATUS_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdDistinctCountTransactionIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TRANSACTION_ID_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdDistinctCountTransactionIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TRANSACTION_ID_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdDistinctCountTypeAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TYPE_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdDistinctCountTypeDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TYPE_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdDistinctCountUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdDistinctCountUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdDistinctCountUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdDistinctCountUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdMaxAccountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MAX_ACCOUNT_ID_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdMaxAccountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MAX_ACCOUNT_ID_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdMaxCreatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdMaxCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdMaxCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdMaxCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdMaxIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MAX_IDENTITY_ID_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdMaxIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MAX_IDENTITY_ID_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdMaxIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MAX_ID_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdMaxIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MAX_ID_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdMaxLegIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MAX_LEG_ID_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdMaxLegIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MAX_LEG_ID_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdMaxProofsAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MAX_PROOFS_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdMaxProofsDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MAX_PROOFS_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdMaxStatusAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MAX_STATUS_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdMaxStatusDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MAX_STATUS_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdMaxTransactionIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MAX_TRANSACTION_ID_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdMaxTransactionIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MAX_TRANSACTION_ID_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdMaxTypeAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MAX_TYPE_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdMaxTypeDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MAX_TYPE_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdMaxUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdMaxUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdMaxUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdMaxUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdMinAccountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MIN_ACCOUNT_ID_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdMinAccountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MIN_ACCOUNT_ID_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdMinCreatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdMinCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdMinCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdMinCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdMinIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MIN_IDENTITY_ID_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdMinIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MIN_IDENTITY_ID_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdMinIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MIN_ID_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdMinIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MIN_ID_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdMinLegIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MIN_LEG_ID_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdMinLegIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MIN_LEG_ID_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdMinProofsAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MIN_PROOFS_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdMinProofsDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MIN_PROOFS_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdMinStatusAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MIN_STATUS_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdMinStatusDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MIN_STATUS_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdMinTransactionIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MIN_TRANSACTION_ID_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdMinTransactionIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MIN_TRANSACTION_ID_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdMinTypeAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MIN_TYPE_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdMinTypeDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MIN_TYPE_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdMinUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdMinUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdMinUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdMinUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdStddevPopulationAccountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ACCOUNT_ID_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdStddevPopulationAccountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ACCOUNT_ID_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdStddevPopulationCreatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdStddevPopulationCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdStddevPopulationCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdStddevPopulationIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_IDENTITY_ID_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdStddevPopulationIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_IDENTITY_ID_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdStddevPopulationIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdStddevPopulationIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdStddevPopulationLegIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_LEG_ID_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdStddevPopulationLegIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_LEG_ID_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdStddevPopulationProofsAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_PROOFS_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdStddevPopulationProofsDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_PROOFS_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdStddevPopulationStatusAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_STATUS_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdStddevPopulationStatusDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_STATUS_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdStddevPopulationTransactionIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TRANSACTION_ID_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdStddevPopulationTransactionIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TRANSACTION_ID_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdStddevPopulationTypeAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TYPE_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdStddevPopulationTypeDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TYPE_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdStddevPopulationUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdStddevPopulationUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdStddevSampleAccountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ACCOUNT_ID_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdStddevSampleAccountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ACCOUNT_ID_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdStddevSampleCreatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdStddevSampleCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdStddevSampleCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdStddevSampleIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_IDENTITY_ID_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdStddevSampleIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_IDENTITY_ID_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdStddevSampleIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdStddevSampleIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdStddevSampleLegIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_LEG_ID_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdStddevSampleLegIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_LEG_ID_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdStddevSampleProofsAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_PROOFS_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdStddevSampleProofsDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_PROOFS_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdStddevSampleStatusAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_STATUS_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdStddevSampleStatusDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_STATUS_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdStddevSampleTransactionIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TRANSACTION_ID_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdStddevSampleTransactionIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TRANSACTION_ID_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdStddevSampleTypeAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TYPE_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdStddevSampleTypeDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TYPE_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdStddevSampleUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdStddevSampleUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdStddevSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdStddevSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdSumAccountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_SUM_ACCOUNT_ID_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdSumAccountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_SUM_ACCOUNT_ID_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdSumCreatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdSumCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdSumCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdSumCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdSumIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_SUM_IDENTITY_ID_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdSumIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_SUM_IDENTITY_ID_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdSumIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_SUM_ID_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdSumIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_SUM_ID_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdSumLegIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_SUM_LEG_ID_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdSumLegIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_SUM_LEG_ID_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdSumProofsAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_SUM_PROOFS_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdSumProofsDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_SUM_PROOFS_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdSumStatusAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_SUM_STATUS_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdSumStatusDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_SUM_STATUS_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdSumTransactionIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_SUM_TRANSACTION_ID_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdSumTransactionIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_SUM_TRANSACTION_ID_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdSumTypeAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_SUM_TYPE_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdSumTypeDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_SUM_TYPE_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdSumUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdSumUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdSumUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdSumUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdVariancePopulationAccountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ACCOUNT_ID_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdVariancePopulationAccountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ACCOUNT_ID_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdVariancePopulationCreatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdVariancePopulationCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdVariancePopulationCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdVariancePopulationIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_IDENTITY_ID_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdVariancePopulationIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_IDENTITY_ID_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdVariancePopulationIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdVariancePopulationIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdVariancePopulationLegIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_LEG_ID_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdVariancePopulationLegIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_LEG_ID_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdVariancePopulationProofsAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_PROOFS_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdVariancePopulationProofsDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_PROOFS_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdVariancePopulationStatusAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_STATUS_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdVariancePopulationStatusDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_STATUS_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdVariancePopulationTransactionIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TRANSACTION_ID_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdVariancePopulationTransactionIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TRANSACTION_ID_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdVariancePopulationTypeAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TYPE_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdVariancePopulationTypeDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TYPE_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdVariancePopulationUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdVariancePopulationUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdVarianceSampleAccountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ACCOUNT_ID_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdVarianceSampleAccountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ACCOUNT_ID_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdVarianceSampleCreatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdVarianceSampleCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdVarianceSampleCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdVarianceSampleIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_IDENTITY_ID_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdVarianceSampleIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_IDENTITY_ID_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdVarianceSampleIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdVarianceSampleIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdVarianceSampleLegIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_LEG_ID_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdVarianceSampleLegIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_LEG_ID_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdVarianceSampleProofsAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_PROOFS_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdVarianceSampleProofsDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_PROOFS_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdVarianceSampleStatusAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_STATUS_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdVarianceSampleStatusDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_STATUS_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdVarianceSampleTransactionIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TRANSACTION_ID_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdVarianceSampleTransactionIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TRANSACTION_ID_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdVarianceSampleTypeAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TYPE_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdVarianceSampleTypeDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TYPE_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdVarianceSampleUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdVarianceSampleUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdAverageAccountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_ACCOUNT_ID_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdAverageAccountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_ACCOUNT_ID_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdAverageCreatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdAverageCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdAverageCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdAverageCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdAverageIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_IDENTITY_ID_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdAverageIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_IDENTITY_ID_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdAverageIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdAverageIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdAverageLegIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_LEG_ID_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdAverageLegIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_LEG_ID_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdAverageProofsAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_PROOFS_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdAverageProofsDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_PROOFS_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdAverageStatusAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_STATUS_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdAverageStatusDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_STATUS_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdAverageTransactionIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_TRANSACTION_ID_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdAverageTransactionIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_TRANSACTION_ID_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdAverageTypeAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_TYPE_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdAverageTypeDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_TYPE_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdAverageUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdAverageUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdAverageUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdAverageUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdCountAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_COUNT_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdCountDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_COUNT_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdDistinctCountAccountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ACCOUNT_ID_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdDistinctCountAccountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ACCOUNT_ID_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdDistinctCountCreatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdDistinctCountCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdDistinctCountCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdDistinctCountIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_IDENTITY_ID_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdDistinctCountIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_IDENTITY_ID_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdDistinctCountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdDistinctCountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdDistinctCountLegIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_LEG_ID_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdDistinctCountLegIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_LEG_ID_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdDistinctCountProofsAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_PROOFS_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdDistinctCountProofsDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_PROOFS_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdDistinctCountStatusAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_STATUS_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdDistinctCountStatusDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_STATUS_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdDistinctCountTransactionIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TRANSACTION_ID_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdDistinctCountTransactionIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TRANSACTION_ID_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdDistinctCountTypeAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TYPE_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdDistinctCountTypeDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TYPE_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdDistinctCountUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdDistinctCountUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdDistinctCountUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdDistinctCountUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdMaxAccountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MAX_ACCOUNT_ID_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdMaxAccountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MAX_ACCOUNT_ID_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdMaxCreatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdMaxCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdMaxCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdMaxCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdMaxIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MAX_IDENTITY_ID_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdMaxIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MAX_IDENTITY_ID_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdMaxIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MAX_ID_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdMaxIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MAX_ID_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdMaxLegIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MAX_LEG_ID_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdMaxLegIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MAX_LEG_ID_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdMaxProofsAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MAX_PROOFS_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdMaxProofsDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MAX_PROOFS_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdMaxStatusAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MAX_STATUS_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdMaxStatusDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MAX_STATUS_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdMaxTransactionIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MAX_TRANSACTION_ID_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdMaxTransactionIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MAX_TRANSACTION_ID_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdMaxTypeAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MAX_TYPE_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdMaxTypeDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MAX_TYPE_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdMaxUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdMaxUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdMaxUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdMaxUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdMinAccountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MIN_ACCOUNT_ID_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdMinAccountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MIN_ACCOUNT_ID_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdMinCreatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdMinCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdMinCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdMinCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdMinIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MIN_IDENTITY_ID_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdMinIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MIN_IDENTITY_ID_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdMinIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MIN_ID_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdMinIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MIN_ID_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdMinLegIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MIN_LEG_ID_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdMinLegIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MIN_LEG_ID_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdMinProofsAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MIN_PROOFS_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdMinProofsDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MIN_PROOFS_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdMinStatusAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MIN_STATUS_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdMinStatusDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MIN_STATUS_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdMinTransactionIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MIN_TRANSACTION_ID_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdMinTransactionIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MIN_TRANSACTION_ID_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdMinTypeAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MIN_TYPE_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdMinTypeDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MIN_TYPE_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdMinUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdMinUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdMinUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdMinUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevPopulationAccountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ACCOUNT_ID_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevPopulationAccountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ACCOUNT_ID_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevPopulationCreatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevPopulationCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevPopulationCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevPopulationIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_IDENTITY_ID_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevPopulationIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_IDENTITY_ID_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevPopulationIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevPopulationIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevPopulationLegIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_LEG_ID_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevPopulationLegIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_LEG_ID_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevPopulationProofsAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_PROOFS_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevPopulationProofsDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_PROOFS_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevPopulationStatusAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_STATUS_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevPopulationStatusDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_STATUS_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevPopulationTransactionIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TRANSACTION_ID_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevPopulationTransactionIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TRANSACTION_ID_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevPopulationTypeAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TYPE_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevPopulationTypeDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TYPE_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevPopulationUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevPopulationUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevSampleAccountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ACCOUNT_ID_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevSampleAccountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ACCOUNT_ID_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevSampleCreatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevSampleCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevSampleCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevSampleIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_IDENTITY_ID_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevSampleIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_IDENTITY_ID_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevSampleIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevSampleIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevSampleLegIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_LEG_ID_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevSampleLegIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_LEG_ID_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevSampleProofsAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_PROOFS_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevSampleProofsDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_PROOFS_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevSampleStatusAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_STATUS_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevSampleStatusDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_STATUS_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevSampleTransactionIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TRANSACTION_ID_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevSampleTransactionIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TRANSACTION_ID_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevSampleTypeAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TYPE_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevSampleTypeDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TYPE_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevSampleUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevSampleUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdSumAccountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_SUM_ACCOUNT_ID_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdSumAccountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_SUM_ACCOUNT_ID_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdSumCreatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdSumCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdSumCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdSumCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdSumIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_SUM_IDENTITY_ID_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdSumIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_SUM_IDENTITY_ID_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdSumIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_SUM_ID_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdSumIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_SUM_ID_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdSumLegIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_SUM_LEG_ID_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdSumLegIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_SUM_LEG_ID_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdSumProofsAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_SUM_PROOFS_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdSumProofsDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_SUM_PROOFS_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdSumStatusAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_SUM_STATUS_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdSumStatusDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_SUM_STATUS_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdSumTransactionIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_SUM_TRANSACTION_ID_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdSumTransactionIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_SUM_TRANSACTION_ID_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdSumTypeAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_SUM_TYPE_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdSumTypeDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_SUM_TYPE_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdSumUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdSumUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdSumUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdSumUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdVariancePopulationAccountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ACCOUNT_ID_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdVariancePopulationAccountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ACCOUNT_ID_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdVariancePopulationCreatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdVariancePopulationCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdVariancePopulationCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdVariancePopulationIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_IDENTITY_ID_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdVariancePopulationIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_IDENTITY_ID_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdVariancePopulationIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdVariancePopulationIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdVariancePopulationLegIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_LEG_ID_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdVariancePopulationLegIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_LEG_ID_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdVariancePopulationProofsAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_PROOFS_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdVariancePopulationProofsDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_PROOFS_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdVariancePopulationStatusAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_STATUS_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdVariancePopulationStatusDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_STATUS_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdVariancePopulationTransactionIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TRANSACTION_ID_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdVariancePopulationTransactionIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TRANSACTION_ID_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdVariancePopulationTypeAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TYPE_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdVariancePopulationTypeDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TYPE_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdVariancePopulationUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdVariancePopulationUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdVarianceSampleAccountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ACCOUNT_ID_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdVarianceSampleAccountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ACCOUNT_ID_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdVarianceSampleCreatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdVarianceSampleCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdVarianceSampleCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdVarianceSampleIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_IDENTITY_ID_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdVarianceSampleIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_IDENTITY_ID_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdVarianceSampleIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdVarianceSampleIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdVarianceSampleLegIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_LEG_ID_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdVarianceSampleLegIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_LEG_ID_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdVarianceSampleProofsAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_PROOFS_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdVarianceSampleProofsDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_PROOFS_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdVarianceSampleStatusAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_STATUS_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdVarianceSampleStatusDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_STATUS_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdVarianceSampleTransactionIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TRANSACTION_ID_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdVarianceSampleTransactionIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TRANSACTION_ID_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdVarianceSampleTypeAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TYPE_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdVarianceSampleTypeDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TYPE_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdVarianceSampleUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdVarianceSampleUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', + ConfidentialVenuesByCreatedBlockIdAverageCreatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', + ConfidentialVenuesByCreatedBlockIdAverageCreatedAtDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', + ConfidentialVenuesByCreatedBlockIdAverageCreatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', + ConfidentialVenuesByCreatedBlockIdAverageCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', + ConfidentialVenuesByCreatedBlockIdAverageCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_AVERAGE_CREATOR_ID_ASC', + ConfidentialVenuesByCreatedBlockIdAverageCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_AVERAGE_CREATOR_ID_DESC', + ConfidentialVenuesByCreatedBlockIdAverageIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_AVERAGE_ID_ASC', + ConfidentialVenuesByCreatedBlockIdAverageIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_AVERAGE_ID_DESC', + ConfidentialVenuesByCreatedBlockIdAverageUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', + ConfidentialVenuesByCreatedBlockIdAverageUpdatedAtDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', + ConfidentialVenuesByCreatedBlockIdAverageUpdatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', + ConfidentialVenuesByCreatedBlockIdAverageUpdatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', + ConfidentialVenuesByCreatedBlockIdAverageVenueIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_AVERAGE_VENUE_ID_ASC', + ConfidentialVenuesByCreatedBlockIdAverageVenueIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_AVERAGE_VENUE_ID_DESC', + ConfidentialVenuesByCreatedBlockIdCountAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_COUNT_ASC', + ConfidentialVenuesByCreatedBlockIdCountDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_COUNT_DESC', + ConfidentialVenuesByCreatedBlockIdDistinctCountCreatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', + ConfidentialVenuesByCreatedBlockIdDistinctCountCreatedAtDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', + ConfidentialVenuesByCreatedBlockIdDistinctCountCreatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', + ConfidentialVenuesByCreatedBlockIdDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', + ConfidentialVenuesByCreatedBlockIdDistinctCountCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATOR_ID_ASC', + ConfidentialVenuesByCreatedBlockIdDistinctCountCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATOR_ID_DESC', + ConfidentialVenuesByCreatedBlockIdDistinctCountIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', + ConfidentialVenuesByCreatedBlockIdDistinctCountIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', + ConfidentialVenuesByCreatedBlockIdDistinctCountUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', + ConfidentialVenuesByCreatedBlockIdDistinctCountUpdatedAtDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', + ConfidentialVenuesByCreatedBlockIdDistinctCountUpdatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', + ConfidentialVenuesByCreatedBlockIdDistinctCountUpdatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', + ConfidentialVenuesByCreatedBlockIdDistinctCountVenueIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_VENUE_ID_ASC', + ConfidentialVenuesByCreatedBlockIdDistinctCountVenueIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_VENUE_ID_DESC', + ConfidentialVenuesByCreatedBlockIdMaxCreatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_ASC', + ConfidentialVenuesByCreatedBlockIdMaxCreatedAtDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_DESC', + ConfidentialVenuesByCreatedBlockIdMaxCreatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', + ConfidentialVenuesByCreatedBlockIdMaxCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', + ConfidentialVenuesByCreatedBlockIdMaxCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MAX_CREATOR_ID_ASC', + ConfidentialVenuesByCreatedBlockIdMaxCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MAX_CREATOR_ID_DESC', + ConfidentialVenuesByCreatedBlockIdMaxIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MAX_ID_ASC', + ConfidentialVenuesByCreatedBlockIdMaxIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MAX_ID_DESC', + ConfidentialVenuesByCreatedBlockIdMaxUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_ASC', + ConfidentialVenuesByCreatedBlockIdMaxUpdatedAtDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_DESC', + ConfidentialVenuesByCreatedBlockIdMaxUpdatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', + ConfidentialVenuesByCreatedBlockIdMaxUpdatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', + ConfidentialVenuesByCreatedBlockIdMaxVenueIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MAX_VENUE_ID_ASC', + ConfidentialVenuesByCreatedBlockIdMaxVenueIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MAX_VENUE_ID_DESC', + ConfidentialVenuesByCreatedBlockIdMinCreatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_ASC', + ConfidentialVenuesByCreatedBlockIdMinCreatedAtDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_DESC', + ConfidentialVenuesByCreatedBlockIdMinCreatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', + ConfidentialVenuesByCreatedBlockIdMinCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', + ConfidentialVenuesByCreatedBlockIdMinCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MIN_CREATOR_ID_ASC', + ConfidentialVenuesByCreatedBlockIdMinCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MIN_CREATOR_ID_DESC', + ConfidentialVenuesByCreatedBlockIdMinIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MIN_ID_ASC', + ConfidentialVenuesByCreatedBlockIdMinIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MIN_ID_DESC', + ConfidentialVenuesByCreatedBlockIdMinUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_ASC', + ConfidentialVenuesByCreatedBlockIdMinUpdatedAtDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_DESC', + ConfidentialVenuesByCreatedBlockIdMinUpdatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', + ConfidentialVenuesByCreatedBlockIdMinUpdatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', + ConfidentialVenuesByCreatedBlockIdMinVenueIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MIN_VENUE_ID_ASC', + ConfidentialVenuesByCreatedBlockIdMinVenueIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MIN_VENUE_ID_DESC', + ConfidentialVenuesByCreatedBlockIdStddevPopulationCreatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', + ConfidentialVenuesByCreatedBlockIdStddevPopulationCreatedAtDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', + ConfidentialVenuesByCreatedBlockIdStddevPopulationCreatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', + ConfidentialVenuesByCreatedBlockIdStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialVenuesByCreatedBlockIdStddevPopulationCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATOR_ID_ASC', + ConfidentialVenuesByCreatedBlockIdStddevPopulationCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATOR_ID_DESC', + ConfidentialVenuesByCreatedBlockIdStddevPopulationIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', + ConfidentialVenuesByCreatedBlockIdStddevPopulationIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', + ConfidentialVenuesByCreatedBlockIdStddevPopulationUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', + ConfidentialVenuesByCreatedBlockIdStddevPopulationUpdatedAtDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', + ConfidentialVenuesByCreatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', + ConfidentialVenuesByCreatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', + ConfidentialVenuesByCreatedBlockIdStddevPopulationVenueIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_VENUE_ID_ASC', + ConfidentialVenuesByCreatedBlockIdStddevPopulationVenueIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_VENUE_ID_DESC', + ConfidentialVenuesByCreatedBlockIdStddevSampleCreatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', + ConfidentialVenuesByCreatedBlockIdStddevSampleCreatedAtDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', + ConfidentialVenuesByCreatedBlockIdStddevSampleCreatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', + ConfidentialVenuesByCreatedBlockIdStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialVenuesByCreatedBlockIdStddevSampleCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATOR_ID_ASC', + ConfidentialVenuesByCreatedBlockIdStddevSampleCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATOR_ID_DESC', + ConfidentialVenuesByCreatedBlockIdStddevSampleIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', + ConfidentialVenuesByCreatedBlockIdStddevSampleIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', + ConfidentialVenuesByCreatedBlockIdStddevSampleUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', + ConfidentialVenuesByCreatedBlockIdStddevSampleUpdatedAtDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', + ConfidentialVenuesByCreatedBlockIdStddevSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', + ConfidentialVenuesByCreatedBlockIdStddevSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', + ConfidentialVenuesByCreatedBlockIdStddevSampleVenueIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_VENUE_ID_ASC', + ConfidentialVenuesByCreatedBlockIdStddevSampleVenueIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_VENUE_ID_DESC', + ConfidentialVenuesByCreatedBlockIdSumCreatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_ASC', + ConfidentialVenuesByCreatedBlockIdSumCreatedAtDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_DESC', + ConfidentialVenuesByCreatedBlockIdSumCreatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', + ConfidentialVenuesByCreatedBlockIdSumCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', + ConfidentialVenuesByCreatedBlockIdSumCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_SUM_CREATOR_ID_ASC', + ConfidentialVenuesByCreatedBlockIdSumCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_SUM_CREATOR_ID_DESC', + ConfidentialVenuesByCreatedBlockIdSumIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_SUM_ID_ASC', + ConfidentialVenuesByCreatedBlockIdSumIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_SUM_ID_DESC', + ConfidentialVenuesByCreatedBlockIdSumUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_ASC', + ConfidentialVenuesByCreatedBlockIdSumUpdatedAtDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_DESC', + ConfidentialVenuesByCreatedBlockIdSumUpdatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', + ConfidentialVenuesByCreatedBlockIdSumUpdatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', + ConfidentialVenuesByCreatedBlockIdSumVenueIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_SUM_VENUE_ID_ASC', + ConfidentialVenuesByCreatedBlockIdSumVenueIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_SUM_VENUE_ID_DESC', + ConfidentialVenuesByCreatedBlockIdVariancePopulationCreatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', + ConfidentialVenuesByCreatedBlockIdVariancePopulationCreatedAtDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', + ConfidentialVenuesByCreatedBlockIdVariancePopulationCreatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', + ConfidentialVenuesByCreatedBlockIdVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialVenuesByCreatedBlockIdVariancePopulationCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATOR_ID_ASC', + ConfidentialVenuesByCreatedBlockIdVariancePopulationCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATOR_ID_DESC', + ConfidentialVenuesByCreatedBlockIdVariancePopulationIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', + ConfidentialVenuesByCreatedBlockIdVariancePopulationIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', + ConfidentialVenuesByCreatedBlockIdVariancePopulationUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', + ConfidentialVenuesByCreatedBlockIdVariancePopulationUpdatedAtDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', + ConfidentialVenuesByCreatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', + ConfidentialVenuesByCreatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', + ConfidentialVenuesByCreatedBlockIdVariancePopulationVenueIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_VENUE_ID_ASC', + ConfidentialVenuesByCreatedBlockIdVariancePopulationVenueIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_VENUE_ID_DESC', + ConfidentialVenuesByCreatedBlockIdVarianceSampleCreatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', + ConfidentialVenuesByCreatedBlockIdVarianceSampleCreatedAtDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', + ConfidentialVenuesByCreatedBlockIdVarianceSampleCreatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', + ConfidentialVenuesByCreatedBlockIdVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialVenuesByCreatedBlockIdVarianceSampleCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATOR_ID_ASC', + ConfidentialVenuesByCreatedBlockIdVarianceSampleCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATOR_ID_DESC', + ConfidentialVenuesByCreatedBlockIdVarianceSampleIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', + ConfidentialVenuesByCreatedBlockIdVarianceSampleIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', + ConfidentialVenuesByCreatedBlockIdVarianceSampleUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', + ConfidentialVenuesByCreatedBlockIdVarianceSampleUpdatedAtDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', + ConfidentialVenuesByCreatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', + ConfidentialVenuesByCreatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', + ConfidentialVenuesByCreatedBlockIdVarianceSampleVenueIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_VENUE_ID_ASC', + ConfidentialVenuesByCreatedBlockIdVarianceSampleVenueIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_VENUE_ID_DESC', + ConfidentialVenuesByUpdatedBlockIdAverageCreatedAtAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', + ConfidentialVenuesByUpdatedBlockIdAverageCreatedAtDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', + ConfidentialVenuesByUpdatedBlockIdAverageCreatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', + ConfidentialVenuesByUpdatedBlockIdAverageCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', + ConfidentialVenuesByUpdatedBlockIdAverageCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATOR_ID_ASC', + ConfidentialVenuesByUpdatedBlockIdAverageCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATOR_ID_DESC', + ConfidentialVenuesByUpdatedBlockIdAverageIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_ID_ASC', + ConfidentialVenuesByUpdatedBlockIdAverageIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_ID_DESC', + ConfidentialVenuesByUpdatedBlockIdAverageUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', + ConfidentialVenuesByUpdatedBlockIdAverageUpdatedAtDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', + ConfidentialVenuesByUpdatedBlockIdAverageUpdatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', + ConfidentialVenuesByUpdatedBlockIdAverageUpdatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', + ConfidentialVenuesByUpdatedBlockIdAverageVenueIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_VENUE_ID_ASC', + ConfidentialVenuesByUpdatedBlockIdAverageVenueIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_VENUE_ID_DESC', + ConfidentialVenuesByUpdatedBlockIdCountAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_COUNT_ASC', + ConfidentialVenuesByUpdatedBlockIdCountDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_COUNT_DESC', + ConfidentialVenuesByUpdatedBlockIdDistinctCountCreatedAtAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', + ConfidentialVenuesByUpdatedBlockIdDistinctCountCreatedAtDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', + ConfidentialVenuesByUpdatedBlockIdDistinctCountCreatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', + ConfidentialVenuesByUpdatedBlockIdDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', + ConfidentialVenuesByUpdatedBlockIdDistinctCountCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATOR_ID_ASC', + ConfidentialVenuesByUpdatedBlockIdDistinctCountCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATOR_ID_DESC', + ConfidentialVenuesByUpdatedBlockIdDistinctCountIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', + ConfidentialVenuesByUpdatedBlockIdDistinctCountIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', + ConfidentialVenuesByUpdatedBlockIdDistinctCountUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', + ConfidentialVenuesByUpdatedBlockIdDistinctCountUpdatedAtDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', + ConfidentialVenuesByUpdatedBlockIdDistinctCountUpdatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', + ConfidentialVenuesByUpdatedBlockIdDistinctCountUpdatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', + ConfidentialVenuesByUpdatedBlockIdDistinctCountVenueIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_VENUE_ID_ASC', + ConfidentialVenuesByUpdatedBlockIdDistinctCountVenueIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_VENUE_ID_DESC', + ConfidentialVenuesByUpdatedBlockIdMaxCreatedAtAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_ASC', + ConfidentialVenuesByUpdatedBlockIdMaxCreatedAtDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_DESC', + ConfidentialVenuesByUpdatedBlockIdMaxCreatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', + ConfidentialVenuesByUpdatedBlockIdMaxCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', + ConfidentialVenuesByUpdatedBlockIdMaxCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MAX_CREATOR_ID_ASC', + ConfidentialVenuesByUpdatedBlockIdMaxCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MAX_CREATOR_ID_DESC', + ConfidentialVenuesByUpdatedBlockIdMaxIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MAX_ID_ASC', + ConfidentialVenuesByUpdatedBlockIdMaxIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MAX_ID_DESC', + ConfidentialVenuesByUpdatedBlockIdMaxUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_ASC', + ConfidentialVenuesByUpdatedBlockIdMaxUpdatedAtDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_DESC', + ConfidentialVenuesByUpdatedBlockIdMaxUpdatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', + ConfidentialVenuesByUpdatedBlockIdMaxUpdatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', + ConfidentialVenuesByUpdatedBlockIdMaxVenueIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MAX_VENUE_ID_ASC', + ConfidentialVenuesByUpdatedBlockIdMaxVenueIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MAX_VENUE_ID_DESC', + ConfidentialVenuesByUpdatedBlockIdMinCreatedAtAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_ASC', + ConfidentialVenuesByUpdatedBlockIdMinCreatedAtDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_DESC', + ConfidentialVenuesByUpdatedBlockIdMinCreatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', + ConfidentialVenuesByUpdatedBlockIdMinCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', + ConfidentialVenuesByUpdatedBlockIdMinCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MIN_CREATOR_ID_ASC', + ConfidentialVenuesByUpdatedBlockIdMinCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MIN_CREATOR_ID_DESC', + ConfidentialVenuesByUpdatedBlockIdMinIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MIN_ID_ASC', + ConfidentialVenuesByUpdatedBlockIdMinIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MIN_ID_DESC', + ConfidentialVenuesByUpdatedBlockIdMinUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_ASC', + ConfidentialVenuesByUpdatedBlockIdMinUpdatedAtDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_DESC', + ConfidentialVenuesByUpdatedBlockIdMinUpdatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', + ConfidentialVenuesByUpdatedBlockIdMinUpdatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', + ConfidentialVenuesByUpdatedBlockIdMinVenueIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MIN_VENUE_ID_ASC', + ConfidentialVenuesByUpdatedBlockIdMinVenueIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MIN_VENUE_ID_DESC', + ConfidentialVenuesByUpdatedBlockIdStddevPopulationCreatedAtAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', + ConfidentialVenuesByUpdatedBlockIdStddevPopulationCreatedAtDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', + ConfidentialVenuesByUpdatedBlockIdStddevPopulationCreatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', + ConfidentialVenuesByUpdatedBlockIdStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialVenuesByUpdatedBlockIdStddevPopulationCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATOR_ID_ASC', + ConfidentialVenuesByUpdatedBlockIdStddevPopulationCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATOR_ID_DESC', + ConfidentialVenuesByUpdatedBlockIdStddevPopulationIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', + ConfidentialVenuesByUpdatedBlockIdStddevPopulationIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', + ConfidentialVenuesByUpdatedBlockIdStddevPopulationUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', + ConfidentialVenuesByUpdatedBlockIdStddevPopulationUpdatedAtDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', + ConfidentialVenuesByUpdatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', + ConfidentialVenuesByUpdatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', + ConfidentialVenuesByUpdatedBlockIdStddevPopulationVenueIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_VENUE_ID_ASC', + ConfidentialVenuesByUpdatedBlockIdStddevPopulationVenueIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_VENUE_ID_DESC', + ConfidentialVenuesByUpdatedBlockIdStddevSampleCreatedAtAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', + ConfidentialVenuesByUpdatedBlockIdStddevSampleCreatedAtDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', + ConfidentialVenuesByUpdatedBlockIdStddevSampleCreatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', + ConfidentialVenuesByUpdatedBlockIdStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialVenuesByUpdatedBlockIdStddevSampleCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATOR_ID_ASC', + ConfidentialVenuesByUpdatedBlockIdStddevSampleCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATOR_ID_DESC', + ConfidentialVenuesByUpdatedBlockIdStddevSampleIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', + ConfidentialVenuesByUpdatedBlockIdStddevSampleIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', + ConfidentialVenuesByUpdatedBlockIdStddevSampleUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', + ConfidentialVenuesByUpdatedBlockIdStddevSampleUpdatedAtDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', + ConfidentialVenuesByUpdatedBlockIdStddevSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', + ConfidentialVenuesByUpdatedBlockIdStddevSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', + ConfidentialVenuesByUpdatedBlockIdStddevSampleVenueIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_VENUE_ID_ASC', + ConfidentialVenuesByUpdatedBlockIdStddevSampleVenueIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_VENUE_ID_DESC', + ConfidentialVenuesByUpdatedBlockIdSumCreatedAtAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_ASC', + ConfidentialVenuesByUpdatedBlockIdSumCreatedAtDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_DESC', + ConfidentialVenuesByUpdatedBlockIdSumCreatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', + ConfidentialVenuesByUpdatedBlockIdSumCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', + ConfidentialVenuesByUpdatedBlockIdSumCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_SUM_CREATOR_ID_ASC', + ConfidentialVenuesByUpdatedBlockIdSumCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_SUM_CREATOR_ID_DESC', + ConfidentialVenuesByUpdatedBlockIdSumIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_SUM_ID_ASC', + ConfidentialVenuesByUpdatedBlockIdSumIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_SUM_ID_DESC', + ConfidentialVenuesByUpdatedBlockIdSumUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_ASC', + ConfidentialVenuesByUpdatedBlockIdSumUpdatedAtDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_DESC', + ConfidentialVenuesByUpdatedBlockIdSumUpdatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', + ConfidentialVenuesByUpdatedBlockIdSumUpdatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', + ConfidentialVenuesByUpdatedBlockIdSumVenueIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_SUM_VENUE_ID_ASC', + ConfidentialVenuesByUpdatedBlockIdSumVenueIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_SUM_VENUE_ID_DESC', + ConfidentialVenuesByUpdatedBlockIdVariancePopulationCreatedAtAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', + ConfidentialVenuesByUpdatedBlockIdVariancePopulationCreatedAtDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', + ConfidentialVenuesByUpdatedBlockIdVariancePopulationCreatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', + ConfidentialVenuesByUpdatedBlockIdVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialVenuesByUpdatedBlockIdVariancePopulationCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATOR_ID_ASC', + ConfidentialVenuesByUpdatedBlockIdVariancePopulationCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATOR_ID_DESC', + ConfidentialVenuesByUpdatedBlockIdVariancePopulationIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', + ConfidentialVenuesByUpdatedBlockIdVariancePopulationIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', + ConfidentialVenuesByUpdatedBlockIdVariancePopulationUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', + ConfidentialVenuesByUpdatedBlockIdVariancePopulationUpdatedAtDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', + ConfidentialVenuesByUpdatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', + ConfidentialVenuesByUpdatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', + ConfidentialVenuesByUpdatedBlockIdVariancePopulationVenueIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_VENUE_ID_ASC', + ConfidentialVenuesByUpdatedBlockIdVariancePopulationVenueIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_VENUE_ID_DESC', + ConfidentialVenuesByUpdatedBlockIdVarianceSampleCreatedAtAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', + ConfidentialVenuesByUpdatedBlockIdVarianceSampleCreatedAtDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', + ConfidentialVenuesByUpdatedBlockIdVarianceSampleCreatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', + ConfidentialVenuesByUpdatedBlockIdVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialVenuesByUpdatedBlockIdVarianceSampleCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATOR_ID_ASC', + ConfidentialVenuesByUpdatedBlockIdVarianceSampleCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATOR_ID_DESC', + ConfidentialVenuesByUpdatedBlockIdVarianceSampleIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', + ConfidentialVenuesByUpdatedBlockIdVarianceSampleIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', + ConfidentialVenuesByUpdatedBlockIdVarianceSampleUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', + ConfidentialVenuesByUpdatedBlockIdVarianceSampleUpdatedAtDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', + ConfidentialVenuesByUpdatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', + ConfidentialVenuesByUpdatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', + ConfidentialVenuesByUpdatedBlockIdVarianceSampleVenueIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_VENUE_ID_ASC', + ConfidentialVenuesByUpdatedBlockIdVarianceSampleVenueIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_VENUE_ID_DESC', CountEventsAsc = 'COUNT_EVENTS_ASC', CountEventsDesc = 'COUNT_EVENTS_DESC', CountExtrinsicsAsc = 'COUNT_EXTRINSICS_ASC', @@ -47551,480 +54098,7247 @@ export enum BlocksOrderBy { TrustedClaimIssuersByUpdatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', UpdatedAtAsc = 'UPDATED_AT_ASC', UpdatedAtDesc = 'UPDATED_AT_DESC', - VenuesByCreatedBlockIdAverageCreatedAtAsc = 'VENUES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - VenuesByCreatedBlockIdAverageCreatedAtDesc = 'VENUES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - VenuesByCreatedBlockIdAverageCreatedBlockIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - VenuesByCreatedBlockIdAverageCreatedBlockIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - VenuesByCreatedBlockIdAverageDetailsAsc = 'VENUES_BY_CREATED_BLOCK_ID_AVERAGE_DETAILS_ASC', - VenuesByCreatedBlockIdAverageDetailsDesc = 'VENUES_BY_CREATED_BLOCK_ID_AVERAGE_DETAILS_DESC', - VenuesByCreatedBlockIdAverageIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_AVERAGE_ID_ASC', - VenuesByCreatedBlockIdAverageIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_AVERAGE_ID_DESC', - VenuesByCreatedBlockIdAverageOwnerIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_AVERAGE_OWNER_ID_ASC', - VenuesByCreatedBlockIdAverageOwnerIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_AVERAGE_OWNER_ID_DESC', - VenuesByCreatedBlockIdAverageTypeAsc = 'VENUES_BY_CREATED_BLOCK_ID_AVERAGE_TYPE_ASC', - VenuesByCreatedBlockIdAverageTypeDesc = 'VENUES_BY_CREATED_BLOCK_ID_AVERAGE_TYPE_DESC', - VenuesByCreatedBlockIdAverageUpdatedAtAsc = 'VENUES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - VenuesByCreatedBlockIdAverageUpdatedAtDesc = 'VENUES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - VenuesByCreatedBlockIdAverageUpdatedBlockIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - VenuesByCreatedBlockIdAverageUpdatedBlockIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - VenuesByCreatedBlockIdCountAsc = 'VENUES_BY_CREATED_BLOCK_ID_COUNT_ASC', - VenuesByCreatedBlockIdCountDesc = 'VENUES_BY_CREATED_BLOCK_ID_COUNT_DESC', - VenuesByCreatedBlockIdDistinctCountCreatedAtAsc = 'VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - VenuesByCreatedBlockIdDistinctCountCreatedAtDesc = 'VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - VenuesByCreatedBlockIdDistinctCountCreatedBlockIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - VenuesByCreatedBlockIdDistinctCountCreatedBlockIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - VenuesByCreatedBlockIdDistinctCountDetailsAsc = 'VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_DETAILS_ASC', - VenuesByCreatedBlockIdDistinctCountDetailsDesc = 'VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_DETAILS_DESC', - VenuesByCreatedBlockIdDistinctCountIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - VenuesByCreatedBlockIdDistinctCountIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - VenuesByCreatedBlockIdDistinctCountOwnerIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_OWNER_ID_ASC', - VenuesByCreatedBlockIdDistinctCountOwnerIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_OWNER_ID_DESC', - VenuesByCreatedBlockIdDistinctCountTypeAsc = 'VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TYPE_ASC', - VenuesByCreatedBlockIdDistinctCountTypeDesc = 'VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TYPE_DESC', - VenuesByCreatedBlockIdDistinctCountUpdatedAtAsc = 'VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - VenuesByCreatedBlockIdDistinctCountUpdatedAtDesc = 'VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - VenuesByCreatedBlockIdDistinctCountUpdatedBlockIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - VenuesByCreatedBlockIdDistinctCountUpdatedBlockIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - VenuesByCreatedBlockIdMaxCreatedAtAsc = 'VENUES_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_ASC', - VenuesByCreatedBlockIdMaxCreatedAtDesc = 'VENUES_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_DESC', - VenuesByCreatedBlockIdMaxCreatedBlockIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - VenuesByCreatedBlockIdMaxCreatedBlockIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - VenuesByCreatedBlockIdMaxDetailsAsc = 'VENUES_BY_CREATED_BLOCK_ID_MAX_DETAILS_ASC', - VenuesByCreatedBlockIdMaxDetailsDesc = 'VENUES_BY_CREATED_BLOCK_ID_MAX_DETAILS_DESC', - VenuesByCreatedBlockIdMaxIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_MAX_ID_ASC', - VenuesByCreatedBlockIdMaxIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_MAX_ID_DESC', - VenuesByCreatedBlockIdMaxOwnerIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_MAX_OWNER_ID_ASC', - VenuesByCreatedBlockIdMaxOwnerIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_MAX_OWNER_ID_DESC', - VenuesByCreatedBlockIdMaxTypeAsc = 'VENUES_BY_CREATED_BLOCK_ID_MAX_TYPE_ASC', - VenuesByCreatedBlockIdMaxTypeDesc = 'VENUES_BY_CREATED_BLOCK_ID_MAX_TYPE_DESC', - VenuesByCreatedBlockIdMaxUpdatedAtAsc = 'VENUES_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - VenuesByCreatedBlockIdMaxUpdatedAtDesc = 'VENUES_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - VenuesByCreatedBlockIdMaxUpdatedBlockIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - VenuesByCreatedBlockIdMaxUpdatedBlockIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - VenuesByCreatedBlockIdMinCreatedAtAsc = 'VENUES_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_ASC', - VenuesByCreatedBlockIdMinCreatedAtDesc = 'VENUES_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_DESC', - VenuesByCreatedBlockIdMinCreatedBlockIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - VenuesByCreatedBlockIdMinCreatedBlockIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - VenuesByCreatedBlockIdMinDetailsAsc = 'VENUES_BY_CREATED_BLOCK_ID_MIN_DETAILS_ASC', - VenuesByCreatedBlockIdMinDetailsDesc = 'VENUES_BY_CREATED_BLOCK_ID_MIN_DETAILS_DESC', - VenuesByCreatedBlockIdMinIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_MIN_ID_ASC', - VenuesByCreatedBlockIdMinIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_MIN_ID_DESC', - VenuesByCreatedBlockIdMinOwnerIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_MIN_OWNER_ID_ASC', - VenuesByCreatedBlockIdMinOwnerIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_MIN_OWNER_ID_DESC', - VenuesByCreatedBlockIdMinTypeAsc = 'VENUES_BY_CREATED_BLOCK_ID_MIN_TYPE_ASC', - VenuesByCreatedBlockIdMinTypeDesc = 'VENUES_BY_CREATED_BLOCK_ID_MIN_TYPE_DESC', - VenuesByCreatedBlockIdMinUpdatedAtAsc = 'VENUES_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - VenuesByCreatedBlockIdMinUpdatedAtDesc = 'VENUES_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - VenuesByCreatedBlockIdMinUpdatedBlockIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - VenuesByCreatedBlockIdMinUpdatedBlockIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - VenuesByCreatedBlockIdStddevPopulationCreatedAtAsc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - VenuesByCreatedBlockIdStddevPopulationCreatedAtDesc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - VenuesByCreatedBlockIdStddevPopulationCreatedBlockIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - VenuesByCreatedBlockIdStddevPopulationCreatedBlockIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - VenuesByCreatedBlockIdStddevPopulationDetailsAsc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_DETAILS_ASC', - VenuesByCreatedBlockIdStddevPopulationDetailsDesc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_DETAILS_DESC', - VenuesByCreatedBlockIdStddevPopulationIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - VenuesByCreatedBlockIdStddevPopulationIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - VenuesByCreatedBlockIdStddevPopulationOwnerIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_OWNER_ID_ASC', - VenuesByCreatedBlockIdStddevPopulationOwnerIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_OWNER_ID_DESC', - VenuesByCreatedBlockIdStddevPopulationTypeAsc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TYPE_ASC', - VenuesByCreatedBlockIdStddevPopulationTypeDesc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TYPE_DESC', - VenuesByCreatedBlockIdStddevPopulationUpdatedAtAsc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - VenuesByCreatedBlockIdStddevPopulationUpdatedAtDesc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - VenuesByCreatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - VenuesByCreatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - VenuesByCreatedBlockIdStddevSampleCreatedAtAsc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - VenuesByCreatedBlockIdStddevSampleCreatedAtDesc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - VenuesByCreatedBlockIdStddevSampleCreatedBlockIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - VenuesByCreatedBlockIdStddevSampleCreatedBlockIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - VenuesByCreatedBlockIdStddevSampleDetailsAsc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_DETAILS_ASC', - VenuesByCreatedBlockIdStddevSampleDetailsDesc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_DETAILS_DESC', - VenuesByCreatedBlockIdStddevSampleIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - VenuesByCreatedBlockIdStddevSampleIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - VenuesByCreatedBlockIdStddevSampleOwnerIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_OWNER_ID_ASC', - VenuesByCreatedBlockIdStddevSampleOwnerIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_OWNER_ID_DESC', - VenuesByCreatedBlockIdStddevSampleTypeAsc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TYPE_ASC', - VenuesByCreatedBlockIdStddevSampleTypeDesc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TYPE_DESC', - VenuesByCreatedBlockIdStddevSampleUpdatedAtAsc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - VenuesByCreatedBlockIdStddevSampleUpdatedAtDesc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - VenuesByCreatedBlockIdStddevSampleUpdatedBlockIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - VenuesByCreatedBlockIdStddevSampleUpdatedBlockIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - VenuesByCreatedBlockIdSumCreatedAtAsc = 'VENUES_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_ASC', - VenuesByCreatedBlockIdSumCreatedAtDesc = 'VENUES_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_DESC', - VenuesByCreatedBlockIdSumCreatedBlockIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - VenuesByCreatedBlockIdSumCreatedBlockIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - VenuesByCreatedBlockIdSumDetailsAsc = 'VENUES_BY_CREATED_BLOCK_ID_SUM_DETAILS_ASC', - VenuesByCreatedBlockIdSumDetailsDesc = 'VENUES_BY_CREATED_BLOCK_ID_SUM_DETAILS_DESC', - VenuesByCreatedBlockIdSumIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_SUM_ID_ASC', - VenuesByCreatedBlockIdSumIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_SUM_ID_DESC', - VenuesByCreatedBlockIdSumOwnerIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_SUM_OWNER_ID_ASC', - VenuesByCreatedBlockIdSumOwnerIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_SUM_OWNER_ID_DESC', - VenuesByCreatedBlockIdSumTypeAsc = 'VENUES_BY_CREATED_BLOCK_ID_SUM_TYPE_ASC', - VenuesByCreatedBlockIdSumTypeDesc = 'VENUES_BY_CREATED_BLOCK_ID_SUM_TYPE_DESC', - VenuesByCreatedBlockIdSumUpdatedAtAsc = 'VENUES_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - VenuesByCreatedBlockIdSumUpdatedAtDesc = 'VENUES_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - VenuesByCreatedBlockIdSumUpdatedBlockIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - VenuesByCreatedBlockIdSumUpdatedBlockIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - VenuesByCreatedBlockIdVariancePopulationCreatedAtAsc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - VenuesByCreatedBlockIdVariancePopulationCreatedAtDesc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - VenuesByCreatedBlockIdVariancePopulationCreatedBlockIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - VenuesByCreatedBlockIdVariancePopulationCreatedBlockIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - VenuesByCreatedBlockIdVariancePopulationDetailsAsc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_DETAILS_ASC', - VenuesByCreatedBlockIdVariancePopulationDetailsDesc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_DETAILS_DESC', - VenuesByCreatedBlockIdVariancePopulationIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - VenuesByCreatedBlockIdVariancePopulationIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - VenuesByCreatedBlockIdVariancePopulationOwnerIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_OWNER_ID_ASC', - VenuesByCreatedBlockIdVariancePopulationOwnerIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_OWNER_ID_DESC', - VenuesByCreatedBlockIdVariancePopulationTypeAsc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TYPE_ASC', - VenuesByCreatedBlockIdVariancePopulationTypeDesc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TYPE_DESC', - VenuesByCreatedBlockIdVariancePopulationUpdatedAtAsc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - VenuesByCreatedBlockIdVariancePopulationUpdatedAtDesc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - VenuesByCreatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - VenuesByCreatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - VenuesByCreatedBlockIdVarianceSampleCreatedAtAsc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - VenuesByCreatedBlockIdVarianceSampleCreatedAtDesc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - VenuesByCreatedBlockIdVarianceSampleCreatedBlockIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - VenuesByCreatedBlockIdVarianceSampleCreatedBlockIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - VenuesByCreatedBlockIdVarianceSampleDetailsAsc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_DETAILS_ASC', - VenuesByCreatedBlockIdVarianceSampleDetailsDesc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_DETAILS_DESC', - VenuesByCreatedBlockIdVarianceSampleIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - VenuesByCreatedBlockIdVarianceSampleIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - VenuesByCreatedBlockIdVarianceSampleOwnerIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_OWNER_ID_ASC', - VenuesByCreatedBlockIdVarianceSampleOwnerIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_OWNER_ID_DESC', - VenuesByCreatedBlockIdVarianceSampleTypeAsc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TYPE_ASC', - VenuesByCreatedBlockIdVarianceSampleTypeDesc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TYPE_DESC', - VenuesByCreatedBlockIdVarianceSampleUpdatedAtAsc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - VenuesByCreatedBlockIdVarianceSampleUpdatedAtDesc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - VenuesByCreatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - VenuesByCreatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - VenuesByUpdatedBlockIdAverageCreatedAtAsc = 'VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - VenuesByUpdatedBlockIdAverageCreatedAtDesc = 'VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - VenuesByUpdatedBlockIdAverageCreatedBlockIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - VenuesByUpdatedBlockIdAverageCreatedBlockIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - VenuesByUpdatedBlockIdAverageDetailsAsc = 'VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_DETAILS_ASC', - VenuesByUpdatedBlockIdAverageDetailsDesc = 'VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_DETAILS_DESC', - VenuesByUpdatedBlockIdAverageIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_ID_ASC', - VenuesByUpdatedBlockIdAverageIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_ID_DESC', - VenuesByUpdatedBlockIdAverageOwnerIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_OWNER_ID_ASC', - VenuesByUpdatedBlockIdAverageOwnerIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_OWNER_ID_DESC', - VenuesByUpdatedBlockIdAverageTypeAsc = 'VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_TYPE_ASC', - VenuesByUpdatedBlockIdAverageTypeDesc = 'VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_TYPE_DESC', - VenuesByUpdatedBlockIdAverageUpdatedAtAsc = 'VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - VenuesByUpdatedBlockIdAverageUpdatedAtDesc = 'VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - VenuesByUpdatedBlockIdAverageUpdatedBlockIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - VenuesByUpdatedBlockIdAverageUpdatedBlockIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - VenuesByUpdatedBlockIdCountAsc = 'VENUES_BY_UPDATED_BLOCK_ID_COUNT_ASC', - VenuesByUpdatedBlockIdCountDesc = 'VENUES_BY_UPDATED_BLOCK_ID_COUNT_DESC', - VenuesByUpdatedBlockIdDistinctCountCreatedAtAsc = 'VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - VenuesByUpdatedBlockIdDistinctCountCreatedAtDesc = 'VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - VenuesByUpdatedBlockIdDistinctCountCreatedBlockIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - VenuesByUpdatedBlockIdDistinctCountCreatedBlockIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - VenuesByUpdatedBlockIdDistinctCountDetailsAsc = 'VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_DETAILS_ASC', - VenuesByUpdatedBlockIdDistinctCountDetailsDesc = 'VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_DETAILS_DESC', - VenuesByUpdatedBlockIdDistinctCountIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - VenuesByUpdatedBlockIdDistinctCountIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - VenuesByUpdatedBlockIdDistinctCountOwnerIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_OWNER_ID_ASC', - VenuesByUpdatedBlockIdDistinctCountOwnerIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_OWNER_ID_DESC', - VenuesByUpdatedBlockIdDistinctCountTypeAsc = 'VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TYPE_ASC', - VenuesByUpdatedBlockIdDistinctCountTypeDesc = 'VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TYPE_DESC', - VenuesByUpdatedBlockIdDistinctCountUpdatedAtAsc = 'VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - VenuesByUpdatedBlockIdDistinctCountUpdatedAtDesc = 'VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - VenuesByUpdatedBlockIdDistinctCountUpdatedBlockIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - VenuesByUpdatedBlockIdDistinctCountUpdatedBlockIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - VenuesByUpdatedBlockIdMaxCreatedAtAsc = 'VENUES_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_ASC', - VenuesByUpdatedBlockIdMaxCreatedAtDesc = 'VENUES_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_DESC', - VenuesByUpdatedBlockIdMaxCreatedBlockIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - VenuesByUpdatedBlockIdMaxCreatedBlockIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - VenuesByUpdatedBlockIdMaxDetailsAsc = 'VENUES_BY_UPDATED_BLOCK_ID_MAX_DETAILS_ASC', - VenuesByUpdatedBlockIdMaxDetailsDesc = 'VENUES_BY_UPDATED_BLOCK_ID_MAX_DETAILS_DESC', - VenuesByUpdatedBlockIdMaxIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_MAX_ID_ASC', - VenuesByUpdatedBlockIdMaxIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_MAX_ID_DESC', - VenuesByUpdatedBlockIdMaxOwnerIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_MAX_OWNER_ID_ASC', - VenuesByUpdatedBlockIdMaxOwnerIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_MAX_OWNER_ID_DESC', - VenuesByUpdatedBlockIdMaxTypeAsc = 'VENUES_BY_UPDATED_BLOCK_ID_MAX_TYPE_ASC', - VenuesByUpdatedBlockIdMaxTypeDesc = 'VENUES_BY_UPDATED_BLOCK_ID_MAX_TYPE_DESC', - VenuesByUpdatedBlockIdMaxUpdatedAtAsc = 'VENUES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - VenuesByUpdatedBlockIdMaxUpdatedAtDesc = 'VENUES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - VenuesByUpdatedBlockIdMaxUpdatedBlockIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - VenuesByUpdatedBlockIdMaxUpdatedBlockIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - VenuesByUpdatedBlockIdMinCreatedAtAsc = 'VENUES_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_ASC', - VenuesByUpdatedBlockIdMinCreatedAtDesc = 'VENUES_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_DESC', - VenuesByUpdatedBlockIdMinCreatedBlockIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - VenuesByUpdatedBlockIdMinCreatedBlockIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - VenuesByUpdatedBlockIdMinDetailsAsc = 'VENUES_BY_UPDATED_BLOCK_ID_MIN_DETAILS_ASC', - VenuesByUpdatedBlockIdMinDetailsDesc = 'VENUES_BY_UPDATED_BLOCK_ID_MIN_DETAILS_DESC', - VenuesByUpdatedBlockIdMinIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_MIN_ID_ASC', - VenuesByUpdatedBlockIdMinIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_MIN_ID_DESC', - VenuesByUpdatedBlockIdMinOwnerIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_MIN_OWNER_ID_ASC', - VenuesByUpdatedBlockIdMinOwnerIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_MIN_OWNER_ID_DESC', - VenuesByUpdatedBlockIdMinTypeAsc = 'VENUES_BY_UPDATED_BLOCK_ID_MIN_TYPE_ASC', - VenuesByUpdatedBlockIdMinTypeDesc = 'VENUES_BY_UPDATED_BLOCK_ID_MIN_TYPE_DESC', - VenuesByUpdatedBlockIdMinUpdatedAtAsc = 'VENUES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - VenuesByUpdatedBlockIdMinUpdatedAtDesc = 'VENUES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - VenuesByUpdatedBlockIdMinUpdatedBlockIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - VenuesByUpdatedBlockIdMinUpdatedBlockIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - VenuesByUpdatedBlockIdStddevPopulationCreatedAtAsc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - VenuesByUpdatedBlockIdStddevPopulationCreatedAtDesc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - VenuesByUpdatedBlockIdStddevPopulationCreatedBlockIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - VenuesByUpdatedBlockIdStddevPopulationCreatedBlockIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - VenuesByUpdatedBlockIdStddevPopulationDetailsAsc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_DETAILS_ASC', - VenuesByUpdatedBlockIdStddevPopulationDetailsDesc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_DETAILS_DESC', - VenuesByUpdatedBlockIdStddevPopulationIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - VenuesByUpdatedBlockIdStddevPopulationIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - VenuesByUpdatedBlockIdStddevPopulationOwnerIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_OWNER_ID_ASC', - VenuesByUpdatedBlockIdStddevPopulationOwnerIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_OWNER_ID_DESC', - VenuesByUpdatedBlockIdStddevPopulationTypeAsc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TYPE_ASC', - VenuesByUpdatedBlockIdStddevPopulationTypeDesc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TYPE_DESC', - VenuesByUpdatedBlockIdStddevPopulationUpdatedAtAsc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - VenuesByUpdatedBlockIdStddevPopulationUpdatedAtDesc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - VenuesByUpdatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - VenuesByUpdatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - VenuesByUpdatedBlockIdStddevSampleCreatedAtAsc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - VenuesByUpdatedBlockIdStddevSampleCreatedAtDesc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - VenuesByUpdatedBlockIdStddevSampleCreatedBlockIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - VenuesByUpdatedBlockIdStddevSampleCreatedBlockIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - VenuesByUpdatedBlockIdStddevSampleDetailsAsc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_DETAILS_ASC', - VenuesByUpdatedBlockIdStddevSampleDetailsDesc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_DETAILS_DESC', - VenuesByUpdatedBlockIdStddevSampleIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - VenuesByUpdatedBlockIdStddevSampleIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - VenuesByUpdatedBlockIdStddevSampleOwnerIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_OWNER_ID_ASC', - VenuesByUpdatedBlockIdStddevSampleOwnerIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_OWNER_ID_DESC', - VenuesByUpdatedBlockIdStddevSampleTypeAsc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TYPE_ASC', - VenuesByUpdatedBlockIdStddevSampleTypeDesc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TYPE_DESC', - VenuesByUpdatedBlockIdStddevSampleUpdatedAtAsc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - VenuesByUpdatedBlockIdStddevSampleUpdatedAtDesc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - VenuesByUpdatedBlockIdStddevSampleUpdatedBlockIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - VenuesByUpdatedBlockIdStddevSampleUpdatedBlockIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - VenuesByUpdatedBlockIdSumCreatedAtAsc = 'VENUES_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_ASC', - VenuesByUpdatedBlockIdSumCreatedAtDesc = 'VENUES_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_DESC', - VenuesByUpdatedBlockIdSumCreatedBlockIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - VenuesByUpdatedBlockIdSumCreatedBlockIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - VenuesByUpdatedBlockIdSumDetailsAsc = 'VENUES_BY_UPDATED_BLOCK_ID_SUM_DETAILS_ASC', - VenuesByUpdatedBlockIdSumDetailsDesc = 'VENUES_BY_UPDATED_BLOCK_ID_SUM_DETAILS_DESC', - VenuesByUpdatedBlockIdSumIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_SUM_ID_ASC', - VenuesByUpdatedBlockIdSumIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_SUM_ID_DESC', - VenuesByUpdatedBlockIdSumOwnerIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_SUM_OWNER_ID_ASC', - VenuesByUpdatedBlockIdSumOwnerIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_SUM_OWNER_ID_DESC', - VenuesByUpdatedBlockIdSumTypeAsc = 'VENUES_BY_UPDATED_BLOCK_ID_SUM_TYPE_ASC', - VenuesByUpdatedBlockIdSumTypeDesc = 'VENUES_BY_UPDATED_BLOCK_ID_SUM_TYPE_DESC', - VenuesByUpdatedBlockIdSumUpdatedAtAsc = 'VENUES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - VenuesByUpdatedBlockIdSumUpdatedAtDesc = 'VENUES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - VenuesByUpdatedBlockIdSumUpdatedBlockIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - VenuesByUpdatedBlockIdSumUpdatedBlockIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - VenuesByUpdatedBlockIdVariancePopulationCreatedAtAsc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - VenuesByUpdatedBlockIdVariancePopulationCreatedAtDesc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - VenuesByUpdatedBlockIdVariancePopulationCreatedBlockIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - VenuesByUpdatedBlockIdVariancePopulationCreatedBlockIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - VenuesByUpdatedBlockIdVariancePopulationDetailsAsc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_DETAILS_ASC', - VenuesByUpdatedBlockIdVariancePopulationDetailsDesc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_DETAILS_DESC', - VenuesByUpdatedBlockIdVariancePopulationIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - VenuesByUpdatedBlockIdVariancePopulationIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - VenuesByUpdatedBlockIdVariancePopulationOwnerIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_OWNER_ID_ASC', - VenuesByUpdatedBlockIdVariancePopulationOwnerIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_OWNER_ID_DESC', - VenuesByUpdatedBlockIdVariancePopulationTypeAsc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TYPE_ASC', - VenuesByUpdatedBlockIdVariancePopulationTypeDesc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TYPE_DESC', - VenuesByUpdatedBlockIdVariancePopulationUpdatedAtAsc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - VenuesByUpdatedBlockIdVariancePopulationUpdatedAtDesc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - VenuesByUpdatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - VenuesByUpdatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - VenuesByUpdatedBlockIdVarianceSampleCreatedAtAsc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - VenuesByUpdatedBlockIdVarianceSampleCreatedAtDesc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - VenuesByUpdatedBlockIdVarianceSampleCreatedBlockIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - VenuesByUpdatedBlockIdVarianceSampleCreatedBlockIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - VenuesByUpdatedBlockIdVarianceSampleDetailsAsc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_DETAILS_ASC', - VenuesByUpdatedBlockIdVarianceSampleDetailsDesc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_DETAILS_DESC', - VenuesByUpdatedBlockIdVarianceSampleIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - VenuesByUpdatedBlockIdVarianceSampleIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - VenuesByUpdatedBlockIdVarianceSampleOwnerIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_OWNER_ID_ASC', - VenuesByUpdatedBlockIdVarianceSampleOwnerIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_OWNER_ID_DESC', - VenuesByUpdatedBlockIdVarianceSampleTypeAsc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TYPE_ASC', - VenuesByUpdatedBlockIdVarianceSampleTypeDesc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TYPE_DESC', - VenuesByUpdatedBlockIdVarianceSampleUpdatedAtAsc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - VenuesByUpdatedBlockIdVarianceSampleUpdatedAtDesc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - VenuesByUpdatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - VenuesByUpdatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', + VenuesByCreatedBlockIdAverageCreatedAtAsc = 'VENUES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', + VenuesByCreatedBlockIdAverageCreatedAtDesc = 'VENUES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', + VenuesByCreatedBlockIdAverageCreatedBlockIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', + VenuesByCreatedBlockIdAverageCreatedBlockIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', + VenuesByCreatedBlockIdAverageDetailsAsc = 'VENUES_BY_CREATED_BLOCK_ID_AVERAGE_DETAILS_ASC', + VenuesByCreatedBlockIdAverageDetailsDesc = 'VENUES_BY_CREATED_BLOCK_ID_AVERAGE_DETAILS_DESC', + VenuesByCreatedBlockIdAverageIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_AVERAGE_ID_ASC', + VenuesByCreatedBlockIdAverageIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_AVERAGE_ID_DESC', + VenuesByCreatedBlockIdAverageOwnerIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_AVERAGE_OWNER_ID_ASC', + VenuesByCreatedBlockIdAverageOwnerIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_AVERAGE_OWNER_ID_DESC', + VenuesByCreatedBlockIdAverageTypeAsc = 'VENUES_BY_CREATED_BLOCK_ID_AVERAGE_TYPE_ASC', + VenuesByCreatedBlockIdAverageTypeDesc = 'VENUES_BY_CREATED_BLOCK_ID_AVERAGE_TYPE_DESC', + VenuesByCreatedBlockIdAverageUpdatedAtAsc = 'VENUES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', + VenuesByCreatedBlockIdAverageUpdatedAtDesc = 'VENUES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', + VenuesByCreatedBlockIdAverageUpdatedBlockIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', + VenuesByCreatedBlockIdAverageUpdatedBlockIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', + VenuesByCreatedBlockIdCountAsc = 'VENUES_BY_CREATED_BLOCK_ID_COUNT_ASC', + VenuesByCreatedBlockIdCountDesc = 'VENUES_BY_CREATED_BLOCK_ID_COUNT_DESC', + VenuesByCreatedBlockIdDistinctCountCreatedAtAsc = 'VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', + VenuesByCreatedBlockIdDistinctCountCreatedAtDesc = 'VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', + VenuesByCreatedBlockIdDistinctCountCreatedBlockIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', + VenuesByCreatedBlockIdDistinctCountCreatedBlockIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', + VenuesByCreatedBlockIdDistinctCountDetailsAsc = 'VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_DETAILS_ASC', + VenuesByCreatedBlockIdDistinctCountDetailsDesc = 'VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_DETAILS_DESC', + VenuesByCreatedBlockIdDistinctCountIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', + VenuesByCreatedBlockIdDistinctCountIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', + VenuesByCreatedBlockIdDistinctCountOwnerIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_OWNER_ID_ASC', + VenuesByCreatedBlockIdDistinctCountOwnerIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_OWNER_ID_DESC', + VenuesByCreatedBlockIdDistinctCountTypeAsc = 'VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TYPE_ASC', + VenuesByCreatedBlockIdDistinctCountTypeDesc = 'VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TYPE_DESC', + VenuesByCreatedBlockIdDistinctCountUpdatedAtAsc = 'VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', + VenuesByCreatedBlockIdDistinctCountUpdatedAtDesc = 'VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', + VenuesByCreatedBlockIdDistinctCountUpdatedBlockIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', + VenuesByCreatedBlockIdDistinctCountUpdatedBlockIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', + VenuesByCreatedBlockIdMaxCreatedAtAsc = 'VENUES_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_ASC', + VenuesByCreatedBlockIdMaxCreatedAtDesc = 'VENUES_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_DESC', + VenuesByCreatedBlockIdMaxCreatedBlockIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', + VenuesByCreatedBlockIdMaxCreatedBlockIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', + VenuesByCreatedBlockIdMaxDetailsAsc = 'VENUES_BY_CREATED_BLOCK_ID_MAX_DETAILS_ASC', + VenuesByCreatedBlockIdMaxDetailsDesc = 'VENUES_BY_CREATED_BLOCK_ID_MAX_DETAILS_DESC', + VenuesByCreatedBlockIdMaxIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_MAX_ID_ASC', + VenuesByCreatedBlockIdMaxIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_MAX_ID_DESC', + VenuesByCreatedBlockIdMaxOwnerIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_MAX_OWNER_ID_ASC', + VenuesByCreatedBlockIdMaxOwnerIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_MAX_OWNER_ID_DESC', + VenuesByCreatedBlockIdMaxTypeAsc = 'VENUES_BY_CREATED_BLOCK_ID_MAX_TYPE_ASC', + VenuesByCreatedBlockIdMaxTypeDesc = 'VENUES_BY_CREATED_BLOCK_ID_MAX_TYPE_DESC', + VenuesByCreatedBlockIdMaxUpdatedAtAsc = 'VENUES_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_ASC', + VenuesByCreatedBlockIdMaxUpdatedAtDesc = 'VENUES_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_DESC', + VenuesByCreatedBlockIdMaxUpdatedBlockIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', + VenuesByCreatedBlockIdMaxUpdatedBlockIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', + VenuesByCreatedBlockIdMinCreatedAtAsc = 'VENUES_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_ASC', + VenuesByCreatedBlockIdMinCreatedAtDesc = 'VENUES_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_DESC', + VenuesByCreatedBlockIdMinCreatedBlockIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', + VenuesByCreatedBlockIdMinCreatedBlockIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', + VenuesByCreatedBlockIdMinDetailsAsc = 'VENUES_BY_CREATED_BLOCK_ID_MIN_DETAILS_ASC', + VenuesByCreatedBlockIdMinDetailsDesc = 'VENUES_BY_CREATED_BLOCK_ID_MIN_DETAILS_DESC', + VenuesByCreatedBlockIdMinIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_MIN_ID_ASC', + VenuesByCreatedBlockIdMinIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_MIN_ID_DESC', + VenuesByCreatedBlockIdMinOwnerIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_MIN_OWNER_ID_ASC', + VenuesByCreatedBlockIdMinOwnerIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_MIN_OWNER_ID_DESC', + VenuesByCreatedBlockIdMinTypeAsc = 'VENUES_BY_CREATED_BLOCK_ID_MIN_TYPE_ASC', + VenuesByCreatedBlockIdMinTypeDesc = 'VENUES_BY_CREATED_BLOCK_ID_MIN_TYPE_DESC', + VenuesByCreatedBlockIdMinUpdatedAtAsc = 'VENUES_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_ASC', + VenuesByCreatedBlockIdMinUpdatedAtDesc = 'VENUES_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_DESC', + VenuesByCreatedBlockIdMinUpdatedBlockIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', + VenuesByCreatedBlockIdMinUpdatedBlockIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', + VenuesByCreatedBlockIdStddevPopulationCreatedAtAsc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', + VenuesByCreatedBlockIdStddevPopulationCreatedAtDesc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', + VenuesByCreatedBlockIdStddevPopulationCreatedBlockIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', + VenuesByCreatedBlockIdStddevPopulationCreatedBlockIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', + VenuesByCreatedBlockIdStddevPopulationDetailsAsc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_DETAILS_ASC', + VenuesByCreatedBlockIdStddevPopulationDetailsDesc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_DETAILS_DESC', + VenuesByCreatedBlockIdStddevPopulationIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', + VenuesByCreatedBlockIdStddevPopulationIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', + VenuesByCreatedBlockIdStddevPopulationOwnerIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_OWNER_ID_ASC', + VenuesByCreatedBlockIdStddevPopulationOwnerIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_OWNER_ID_DESC', + VenuesByCreatedBlockIdStddevPopulationTypeAsc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TYPE_ASC', + VenuesByCreatedBlockIdStddevPopulationTypeDesc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TYPE_DESC', + VenuesByCreatedBlockIdStddevPopulationUpdatedAtAsc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', + VenuesByCreatedBlockIdStddevPopulationUpdatedAtDesc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', + VenuesByCreatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', + VenuesByCreatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', + VenuesByCreatedBlockIdStddevSampleCreatedAtAsc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', + VenuesByCreatedBlockIdStddevSampleCreatedAtDesc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', + VenuesByCreatedBlockIdStddevSampleCreatedBlockIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', + VenuesByCreatedBlockIdStddevSampleCreatedBlockIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', + VenuesByCreatedBlockIdStddevSampleDetailsAsc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_DETAILS_ASC', + VenuesByCreatedBlockIdStddevSampleDetailsDesc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_DETAILS_DESC', + VenuesByCreatedBlockIdStddevSampleIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', + VenuesByCreatedBlockIdStddevSampleIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', + VenuesByCreatedBlockIdStddevSampleOwnerIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_OWNER_ID_ASC', + VenuesByCreatedBlockIdStddevSampleOwnerIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_OWNER_ID_DESC', + VenuesByCreatedBlockIdStddevSampleTypeAsc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TYPE_ASC', + VenuesByCreatedBlockIdStddevSampleTypeDesc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TYPE_DESC', + VenuesByCreatedBlockIdStddevSampleUpdatedAtAsc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', + VenuesByCreatedBlockIdStddevSampleUpdatedAtDesc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', + VenuesByCreatedBlockIdStddevSampleUpdatedBlockIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', + VenuesByCreatedBlockIdStddevSampleUpdatedBlockIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', + VenuesByCreatedBlockIdSumCreatedAtAsc = 'VENUES_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_ASC', + VenuesByCreatedBlockIdSumCreatedAtDesc = 'VENUES_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_DESC', + VenuesByCreatedBlockIdSumCreatedBlockIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', + VenuesByCreatedBlockIdSumCreatedBlockIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', + VenuesByCreatedBlockIdSumDetailsAsc = 'VENUES_BY_CREATED_BLOCK_ID_SUM_DETAILS_ASC', + VenuesByCreatedBlockIdSumDetailsDesc = 'VENUES_BY_CREATED_BLOCK_ID_SUM_DETAILS_DESC', + VenuesByCreatedBlockIdSumIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_SUM_ID_ASC', + VenuesByCreatedBlockIdSumIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_SUM_ID_DESC', + VenuesByCreatedBlockIdSumOwnerIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_SUM_OWNER_ID_ASC', + VenuesByCreatedBlockIdSumOwnerIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_SUM_OWNER_ID_DESC', + VenuesByCreatedBlockIdSumTypeAsc = 'VENUES_BY_CREATED_BLOCK_ID_SUM_TYPE_ASC', + VenuesByCreatedBlockIdSumTypeDesc = 'VENUES_BY_CREATED_BLOCK_ID_SUM_TYPE_DESC', + VenuesByCreatedBlockIdSumUpdatedAtAsc = 'VENUES_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_ASC', + VenuesByCreatedBlockIdSumUpdatedAtDesc = 'VENUES_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_DESC', + VenuesByCreatedBlockIdSumUpdatedBlockIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', + VenuesByCreatedBlockIdSumUpdatedBlockIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', + VenuesByCreatedBlockIdVariancePopulationCreatedAtAsc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', + VenuesByCreatedBlockIdVariancePopulationCreatedAtDesc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', + VenuesByCreatedBlockIdVariancePopulationCreatedBlockIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', + VenuesByCreatedBlockIdVariancePopulationCreatedBlockIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', + VenuesByCreatedBlockIdVariancePopulationDetailsAsc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_DETAILS_ASC', + VenuesByCreatedBlockIdVariancePopulationDetailsDesc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_DETAILS_DESC', + VenuesByCreatedBlockIdVariancePopulationIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', + VenuesByCreatedBlockIdVariancePopulationIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', + VenuesByCreatedBlockIdVariancePopulationOwnerIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_OWNER_ID_ASC', + VenuesByCreatedBlockIdVariancePopulationOwnerIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_OWNER_ID_DESC', + VenuesByCreatedBlockIdVariancePopulationTypeAsc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TYPE_ASC', + VenuesByCreatedBlockIdVariancePopulationTypeDesc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TYPE_DESC', + VenuesByCreatedBlockIdVariancePopulationUpdatedAtAsc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', + VenuesByCreatedBlockIdVariancePopulationUpdatedAtDesc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', + VenuesByCreatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', + VenuesByCreatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', + VenuesByCreatedBlockIdVarianceSampleCreatedAtAsc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', + VenuesByCreatedBlockIdVarianceSampleCreatedAtDesc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', + VenuesByCreatedBlockIdVarianceSampleCreatedBlockIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', + VenuesByCreatedBlockIdVarianceSampleCreatedBlockIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', + VenuesByCreatedBlockIdVarianceSampleDetailsAsc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_DETAILS_ASC', + VenuesByCreatedBlockIdVarianceSampleDetailsDesc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_DETAILS_DESC', + VenuesByCreatedBlockIdVarianceSampleIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', + VenuesByCreatedBlockIdVarianceSampleIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', + VenuesByCreatedBlockIdVarianceSampleOwnerIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_OWNER_ID_ASC', + VenuesByCreatedBlockIdVarianceSampleOwnerIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_OWNER_ID_DESC', + VenuesByCreatedBlockIdVarianceSampleTypeAsc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TYPE_ASC', + VenuesByCreatedBlockIdVarianceSampleTypeDesc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TYPE_DESC', + VenuesByCreatedBlockIdVarianceSampleUpdatedAtAsc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', + VenuesByCreatedBlockIdVarianceSampleUpdatedAtDesc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', + VenuesByCreatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', + VenuesByCreatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', + VenuesByUpdatedBlockIdAverageCreatedAtAsc = 'VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', + VenuesByUpdatedBlockIdAverageCreatedAtDesc = 'VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', + VenuesByUpdatedBlockIdAverageCreatedBlockIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', + VenuesByUpdatedBlockIdAverageCreatedBlockIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', + VenuesByUpdatedBlockIdAverageDetailsAsc = 'VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_DETAILS_ASC', + VenuesByUpdatedBlockIdAverageDetailsDesc = 'VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_DETAILS_DESC', + VenuesByUpdatedBlockIdAverageIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_ID_ASC', + VenuesByUpdatedBlockIdAverageIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_ID_DESC', + VenuesByUpdatedBlockIdAverageOwnerIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_OWNER_ID_ASC', + VenuesByUpdatedBlockIdAverageOwnerIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_OWNER_ID_DESC', + VenuesByUpdatedBlockIdAverageTypeAsc = 'VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_TYPE_ASC', + VenuesByUpdatedBlockIdAverageTypeDesc = 'VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_TYPE_DESC', + VenuesByUpdatedBlockIdAverageUpdatedAtAsc = 'VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', + VenuesByUpdatedBlockIdAverageUpdatedAtDesc = 'VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', + VenuesByUpdatedBlockIdAverageUpdatedBlockIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', + VenuesByUpdatedBlockIdAverageUpdatedBlockIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', + VenuesByUpdatedBlockIdCountAsc = 'VENUES_BY_UPDATED_BLOCK_ID_COUNT_ASC', + VenuesByUpdatedBlockIdCountDesc = 'VENUES_BY_UPDATED_BLOCK_ID_COUNT_DESC', + VenuesByUpdatedBlockIdDistinctCountCreatedAtAsc = 'VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', + VenuesByUpdatedBlockIdDistinctCountCreatedAtDesc = 'VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', + VenuesByUpdatedBlockIdDistinctCountCreatedBlockIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', + VenuesByUpdatedBlockIdDistinctCountCreatedBlockIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', + VenuesByUpdatedBlockIdDistinctCountDetailsAsc = 'VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_DETAILS_ASC', + VenuesByUpdatedBlockIdDistinctCountDetailsDesc = 'VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_DETAILS_DESC', + VenuesByUpdatedBlockIdDistinctCountIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', + VenuesByUpdatedBlockIdDistinctCountIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', + VenuesByUpdatedBlockIdDistinctCountOwnerIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_OWNER_ID_ASC', + VenuesByUpdatedBlockIdDistinctCountOwnerIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_OWNER_ID_DESC', + VenuesByUpdatedBlockIdDistinctCountTypeAsc = 'VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TYPE_ASC', + VenuesByUpdatedBlockIdDistinctCountTypeDesc = 'VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TYPE_DESC', + VenuesByUpdatedBlockIdDistinctCountUpdatedAtAsc = 'VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', + VenuesByUpdatedBlockIdDistinctCountUpdatedAtDesc = 'VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', + VenuesByUpdatedBlockIdDistinctCountUpdatedBlockIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', + VenuesByUpdatedBlockIdDistinctCountUpdatedBlockIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', + VenuesByUpdatedBlockIdMaxCreatedAtAsc = 'VENUES_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_ASC', + VenuesByUpdatedBlockIdMaxCreatedAtDesc = 'VENUES_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_DESC', + VenuesByUpdatedBlockIdMaxCreatedBlockIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', + VenuesByUpdatedBlockIdMaxCreatedBlockIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', + VenuesByUpdatedBlockIdMaxDetailsAsc = 'VENUES_BY_UPDATED_BLOCK_ID_MAX_DETAILS_ASC', + VenuesByUpdatedBlockIdMaxDetailsDesc = 'VENUES_BY_UPDATED_BLOCK_ID_MAX_DETAILS_DESC', + VenuesByUpdatedBlockIdMaxIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_MAX_ID_ASC', + VenuesByUpdatedBlockIdMaxIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_MAX_ID_DESC', + VenuesByUpdatedBlockIdMaxOwnerIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_MAX_OWNER_ID_ASC', + VenuesByUpdatedBlockIdMaxOwnerIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_MAX_OWNER_ID_DESC', + VenuesByUpdatedBlockIdMaxTypeAsc = 'VENUES_BY_UPDATED_BLOCK_ID_MAX_TYPE_ASC', + VenuesByUpdatedBlockIdMaxTypeDesc = 'VENUES_BY_UPDATED_BLOCK_ID_MAX_TYPE_DESC', + VenuesByUpdatedBlockIdMaxUpdatedAtAsc = 'VENUES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_ASC', + VenuesByUpdatedBlockIdMaxUpdatedAtDesc = 'VENUES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_DESC', + VenuesByUpdatedBlockIdMaxUpdatedBlockIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', + VenuesByUpdatedBlockIdMaxUpdatedBlockIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', + VenuesByUpdatedBlockIdMinCreatedAtAsc = 'VENUES_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_ASC', + VenuesByUpdatedBlockIdMinCreatedAtDesc = 'VENUES_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_DESC', + VenuesByUpdatedBlockIdMinCreatedBlockIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', + VenuesByUpdatedBlockIdMinCreatedBlockIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', + VenuesByUpdatedBlockIdMinDetailsAsc = 'VENUES_BY_UPDATED_BLOCK_ID_MIN_DETAILS_ASC', + VenuesByUpdatedBlockIdMinDetailsDesc = 'VENUES_BY_UPDATED_BLOCK_ID_MIN_DETAILS_DESC', + VenuesByUpdatedBlockIdMinIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_MIN_ID_ASC', + VenuesByUpdatedBlockIdMinIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_MIN_ID_DESC', + VenuesByUpdatedBlockIdMinOwnerIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_MIN_OWNER_ID_ASC', + VenuesByUpdatedBlockIdMinOwnerIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_MIN_OWNER_ID_DESC', + VenuesByUpdatedBlockIdMinTypeAsc = 'VENUES_BY_UPDATED_BLOCK_ID_MIN_TYPE_ASC', + VenuesByUpdatedBlockIdMinTypeDesc = 'VENUES_BY_UPDATED_BLOCK_ID_MIN_TYPE_DESC', + VenuesByUpdatedBlockIdMinUpdatedAtAsc = 'VENUES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_ASC', + VenuesByUpdatedBlockIdMinUpdatedAtDesc = 'VENUES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_DESC', + VenuesByUpdatedBlockIdMinUpdatedBlockIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', + VenuesByUpdatedBlockIdMinUpdatedBlockIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', + VenuesByUpdatedBlockIdStddevPopulationCreatedAtAsc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', + VenuesByUpdatedBlockIdStddevPopulationCreatedAtDesc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', + VenuesByUpdatedBlockIdStddevPopulationCreatedBlockIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', + VenuesByUpdatedBlockIdStddevPopulationCreatedBlockIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', + VenuesByUpdatedBlockIdStddevPopulationDetailsAsc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_DETAILS_ASC', + VenuesByUpdatedBlockIdStddevPopulationDetailsDesc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_DETAILS_DESC', + VenuesByUpdatedBlockIdStddevPopulationIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', + VenuesByUpdatedBlockIdStddevPopulationIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', + VenuesByUpdatedBlockIdStddevPopulationOwnerIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_OWNER_ID_ASC', + VenuesByUpdatedBlockIdStddevPopulationOwnerIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_OWNER_ID_DESC', + VenuesByUpdatedBlockIdStddevPopulationTypeAsc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TYPE_ASC', + VenuesByUpdatedBlockIdStddevPopulationTypeDesc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TYPE_DESC', + VenuesByUpdatedBlockIdStddevPopulationUpdatedAtAsc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', + VenuesByUpdatedBlockIdStddevPopulationUpdatedAtDesc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', + VenuesByUpdatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', + VenuesByUpdatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', + VenuesByUpdatedBlockIdStddevSampleCreatedAtAsc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', + VenuesByUpdatedBlockIdStddevSampleCreatedAtDesc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', + VenuesByUpdatedBlockIdStddevSampleCreatedBlockIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', + VenuesByUpdatedBlockIdStddevSampleCreatedBlockIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', + VenuesByUpdatedBlockIdStddevSampleDetailsAsc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_DETAILS_ASC', + VenuesByUpdatedBlockIdStddevSampleDetailsDesc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_DETAILS_DESC', + VenuesByUpdatedBlockIdStddevSampleIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', + VenuesByUpdatedBlockIdStddevSampleIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', + VenuesByUpdatedBlockIdStddevSampleOwnerIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_OWNER_ID_ASC', + VenuesByUpdatedBlockIdStddevSampleOwnerIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_OWNER_ID_DESC', + VenuesByUpdatedBlockIdStddevSampleTypeAsc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TYPE_ASC', + VenuesByUpdatedBlockIdStddevSampleTypeDesc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TYPE_DESC', + VenuesByUpdatedBlockIdStddevSampleUpdatedAtAsc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', + VenuesByUpdatedBlockIdStddevSampleUpdatedAtDesc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', + VenuesByUpdatedBlockIdStddevSampleUpdatedBlockIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', + VenuesByUpdatedBlockIdStddevSampleUpdatedBlockIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', + VenuesByUpdatedBlockIdSumCreatedAtAsc = 'VENUES_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_ASC', + VenuesByUpdatedBlockIdSumCreatedAtDesc = 'VENUES_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_DESC', + VenuesByUpdatedBlockIdSumCreatedBlockIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', + VenuesByUpdatedBlockIdSumCreatedBlockIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', + VenuesByUpdatedBlockIdSumDetailsAsc = 'VENUES_BY_UPDATED_BLOCK_ID_SUM_DETAILS_ASC', + VenuesByUpdatedBlockIdSumDetailsDesc = 'VENUES_BY_UPDATED_BLOCK_ID_SUM_DETAILS_DESC', + VenuesByUpdatedBlockIdSumIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_SUM_ID_ASC', + VenuesByUpdatedBlockIdSumIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_SUM_ID_DESC', + VenuesByUpdatedBlockIdSumOwnerIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_SUM_OWNER_ID_ASC', + VenuesByUpdatedBlockIdSumOwnerIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_SUM_OWNER_ID_DESC', + VenuesByUpdatedBlockIdSumTypeAsc = 'VENUES_BY_UPDATED_BLOCK_ID_SUM_TYPE_ASC', + VenuesByUpdatedBlockIdSumTypeDesc = 'VENUES_BY_UPDATED_BLOCK_ID_SUM_TYPE_DESC', + VenuesByUpdatedBlockIdSumUpdatedAtAsc = 'VENUES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_ASC', + VenuesByUpdatedBlockIdSumUpdatedAtDesc = 'VENUES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_DESC', + VenuesByUpdatedBlockIdSumUpdatedBlockIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', + VenuesByUpdatedBlockIdSumUpdatedBlockIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', + VenuesByUpdatedBlockIdVariancePopulationCreatedAtAsc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', + VenuesByUpdatedBlockIdVariancePopulationCreatedAtDesc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', + VenuesByUpdatedBlockIdVariancePopulationCreatedBlockIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', + VenuesByUpdatedBlockIdVariancePopulationCreatedBlockIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', + VenuesByUpdatedBlockIdVariancePopulationDetailsAsc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_DETAILS_ASC', + VenuesByUpdatedBlockIdVariancePopulationDetailsDesc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_DETAILS_DESC', + VenuesByUpdatedBlockIdVariancePopulationIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', + VenuesByUpdatedBlockIdVariancePopulationIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', + VenuesByUpdatedBlockIdVariancePopulationOwnerIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_OWNER_ID_ASC', + VenuesByUpdatedBlockIdVariancePopulationOwnerIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_OWNER_ID_DESC', + VenuesByUpdatedBlockIdVariancePopulationTypeAsc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TYPE_ASC', + VenuesByUpdatedBlockIdVariancePopulationTypeDesc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TYPE_DESC', + VenuesByUpdatedBlockIdVariancePopulationUpdatedAtAsc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', + VenuesByUpdatedBlockIdVariancePopulationUpdatedAtDesc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', + VenuesByUpdatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', + VenuesByUpdatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', + VenuesByUpdatedBlockIdVarianceSampleCreatedAtAsc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', + VenuesByUpdatedBlockIdVarianceSampleCreatedAtDesc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', + VenuesByUpdatedBlockIdVarianceSampleCreatedBlockIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', + VenuesByUpdatedBlockIdVarianceSampleCreatedBlockIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', + VenuesByUpdatedBlockIdVarianceSampleDetailsAsc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_DETAILS_ASC', + VenuesByUpdatedBlockIdVarianceSampleDetailsDesc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_DETAILS_DESC', + VenuesByUpdatedBlockIdVarianceSampleIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', + VenuesByUpdatedBlockIdVarianceSampleIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', + VenuesByUpdatedBlockIdVarianceSampleOwnerIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_OWNER_ID_ASC', + VenuesByUpdatedBlockIdVarianceSampleOwnerIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_OWNER_ID_DESC', + VenuesByUpdatedBlockIdVarianceSampleTypeAsc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TYPE_ASC', + VenuesByUpdatedBlockIdVarianceSampleTypeDesc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TYPE_DESC', + VenuesByUpdatedBlockIdVarianceSampleUpdatedAtAsc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', + VenuesByUpdatedBlockIdVarianceSampleUpdatedAtDesc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', + VenuesByUpdatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', + VenuesByUpdatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', +} + +/** A filter to be used against Boolean fields. All fields are combined with a logical ‘and.’ */ +export type BooleanFilter = { + /** Not equal to the specified value, treating null like an ordinary value. */ + distinctFrom?: InputMaybe; + /** Equal to the specified value. */ + equalTo?: InputMaybe; + /** Greater than the specified value. */ + greaterThan?: InputMaybe; + /** Greater than or equal to the specified value. */ + greaterThanOrEqualTo?: InputMaybe; + /** Included in the specified list. */ + in?: InputMaybe>; + /** Is null (if `true` is specified) or is not null (if `false` is specified). */ + isNull?: InputMaybe; + /** Less than the specified value. */ + lessThan?: InputMaybe; + /** Less than or equal to the specified value. */ + lessThanOrEqualTo?: InputMaybe; + /** Equal to the specified value, treating null like an ordinary value. */ + notDistinctFrom?: InputMaybe; + /** Not equal to the specified value. */ + notEqualTo?: InputMaybe; + /** Not included in the specified list. */ + notIn?: InputMaybe>; +}; + +/** Represents `POLY`, the Ethereum based ERC-20 token, being converted to POLYX, the native Polymesh token */ +export type BridgeEvent = Node & { + __typename?: 'BridgeEvent'; + amount: Scalars['BigFloat']['output']; + createdAt: Scalars['Datetime']['output']; + /** Reads a single `Block` that is related to this `BridgeEvent`. */ + createdBlock?: Maybe; + createdBlockId: Scalars['String']['output']; + datetime: Scalars['Datetime']['output']; + eventIdx: Scalars['Int']['output']; + id: Scalars['String']['output']; + /** Reads a single `Identity` that is related to this `BridgeEvent`. */ + identity?: Maybe; + identityId: Scalars['String']['output']; + /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ + nodeId: Scalars['ID']['output']; + recipient: Scalars['String']['output']; + txHash: Scalars['String']['output']; + updatedAt: Scalars['Datetime']['output']; + /** Reads a single `Block` that is related to this `BridgeEvent`. */ + updatedBlock?: Maybe; + updatedBlockId: Scalars['String']['output']; +}; + +export type BridgeEventAggregates = { + __typename?: 'BridgeEventAggregates'; + /** Mean average aggregates across the matching connection (ignoring before/after/first/last/offset) */ + average?: Maybe; + /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ + distinctCount?: Maybe; + keys?: Maybe>; + /** Maximum aggregates across the matching connection (ignoring before/after/first/last/offset) */ + max?: Maybe; + /** Minimum aggregates across the matching connection (ignoring before/after/first/last/offset) */ + min?: Maybe; + /** Population standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ + stddevPopulation?: Maybe; + /** Sample standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ + stddevSample?: Maybe; + /** Sum aggregates across the matching connection (ignoring before/after/first/last/offset) */ + sum?: Maybe; + /** Population variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ + variancePopulation?: Maybe; + /** Sample variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ + varianceSample?: Maybe; +}; + +/** A filter to be used against aggregates of `BridgeEvent` object types. */ +export type BridgeEventAggregatesFilter = { + /** Mean average aggregate over matching `BridgeEvent` objects. */ + average?: InputMaybe; + /** Distinct count aggregate over matching `BridgeEvent` objects. */ + distinctCount?: InputMaybe; + /** A filter that must pass for the relevant `BridgeEvent` object to be included within the aggregate. */ + filter?: InputMaybe; + /** Maximum aggregate over matching `BridgeEvent` objects. */ + max?: InputMaybe; + /** Minimum aggregate over matching `BridgeEvent` objects. */ + min?: InputMaybe; + /** Population standard deviation aggregate over matching `BridgeEvent` objects. */ + stddevPopulation?: InputMaybe; + /** Sample standard deviation aggregate over matching `BridgeEvent` objects. */ + stddevSample?: InputMaybe; + /** Sum aggregate over matching `BridgeEvent` objects. */ + sum?: InputMaybe; + /** Population variance aggregate over matching `BridgeEvent` objects. */ + variancePopulation?: InputMaybe; + /** Sample variance aggregate over matching `BridgeEvent` objects. */ + varianceSample?: InputMaybe; +}; + +export type BridgeEventAverageAggregateFilter = { + amount?: InputMaybe; + eventIdx?: InputMaybe; +}; + +export type BridgeEventAverageAggregates = { + __typename?: 'BridgeEventAverageAggregates'; + /** Mean average of amount across the matching connection */ + amount?: Maybe; + /** Mean average of eventIdx across the matching connection */ + eventIdx?: Maybe; +}; + +export type BridgeEventDistinctCountAggregateFilter = { + amount?: InputMaybe; + createdAt?: InputMaybe; + createdBlockId?: InputMaybe; + datetime?: InputMaybe; + eventIdx?: InputMaybe; + id?: InputMaybe; + identityId?: InputMaybe; + recipient?: InputMaybe; + txHash?: InputMaybe; + updatedAt?: InputMaybe; + updatedBlockId?: InputMaybe; +}; + +export type BridgeEventDistinctCountAggregates = { + __typename?: 'BridgeEventDistinctCountAggregates'; + /** Distinct count of amount across the matching connection */ + amount?: Maybe; + /** Distinct count of createdAt across the matching connection */ + createdAt?: Maybe; + /** Distinct count of createdBlockId across the matching connection */ + createdBlockId?: Maybe; + /** Distinct count of datetime across the matching connection */ + datetime?: Maybe; + /** Distinct count of eventIdx across the matching connection */ + eventIdx?: Maybe; + /** Distinct count of id across the matching connection */ + id?: Maybe; + /** Distinct count of identityId across the matching connection */ + identityId?: Maybe; + /** Distinct count of recipient across the matching connection */ + recipient?: Maybe; + /** Distinct count of txHash across the matching connection */ + txHash?: Maybe; + /** Distinct count of updatedAt across the matching connection */ + updatedAt?: Maybe; + /** Distinct count of updatedBlockId across the matching connection */ + updatedBlockId?: Maybe; +}; + +/** A filter to be used against `BridgeEvent` object types. All fields are combined with a logical ‘and.’ */ +export type BridgeEventFilter = { + /** Filter by the object’s `amount` field. */ + amount?: InputMaybe; + /** Checks for all expressions in this list. */ + and?: InputMaybe>; + /** Filter by the object’s `createdAt` field. */ + createdAt?: InputMaybe; + /** Filter by the object’s `createdBlock` relation. */ + createdBlock?: InputMaybe; + /** Filter by the object’s `createdBlockId` field. */ + createdBlockId?: InputMaybe; + /** Filter by the object’s `datetime` field. */ + datetime?: InputMaybe; + /** Filter by the object’s `eventIdx` field. */ + eventIdx?: InputMaybe; + /** Filter by the object’s `id` field. */ + id?: InputMaybe; + /** Filter by the object’s `identity` relation. */ + identity?: InputMaybe; + /** Filter by the object’s `identityId` field. */ + identityId?: InputMaybe; + /** Negates the expression. */ + not?: InputMaybe; + /** Checks for any expressions in this list. */ + or?: InputMaybe>; + /** Filter by the object’s `recipient` field. */ + recipient?: InputMaybe; + /** Filter by the object’s `txHash` field. */ + txHash?: InputMaybe; + /** Filter by the object’s `updatedAt` field. */ + updatedAt?: InputMaybe; + /** Filter by the object’s `updatedBlock` relation. */ + updatedBlock?: InputMaybe; + /** Filter by the object’s `updatedBlockId` field. */ + updatedBlockId?: InputMaybe; +}; + +export type BridgeEventMaxAggregateFilter = { + amount?: InputMaybe; + eventIdx?: InputMaybe; +}; + +export type BridgeEventMaxAggregates = { + __typename?: 'BridgeEventMaxAggregates'; + /** Maximum of amount across the matching connection */ + amount?: Maybe; + /** Maximum of eventIdx across the matching connection */ + eventIdx?: Maybe; +}; + +export type BridgeEventMinAggregateFilter = { + amount?: InputMaybe; + eventIdx?: InputMaybe; +}; + +export type BridgeEventMinAggregates = { + __typename?: 'BridgeEventMinAggregates'; + /** Minimum of amount across the matching connection */ + amount?: Maybe; + /** Minimum of eventIdx across the matching connection */ + eventIdx?: Maybe; +}; + +export type BridgeEventStddevPopulationAggregateFilter = { + amount?: InputMaybe; + eventIdx?: InputMaybe; +}; + +export type BridgeEventStddevPopulationAggregates = { + __typename?: 'BridgeEventStddevPopulationAggregates'; + /** Population standard deviation of amount across the matching connection */ + amount?: Maybe; + /** Population standard deviation of eventIdx across the matching connection */ + eventIdx?: Maybe; +}; + +export type BridgeEventStddevSampleAggregateFilter = { + amount?: InputMaybe; + eventIdx?: InputMaybe; +}; + +export type BridgeEventStddevSampleAggregates = { + __typename?: 'BridgeEventStddevSampleAggregates'; + /** Sample standard deviation of amount across the matching connection */ + amount?: Maybe; + /** Sample standard deviation of eventIdx across the matching connection */ + eventIdx?: Maybe; +}; + +export type BridgeEventSumAggregateFilter = { + amount?: InputMaybe; + eventIdx?: InputMaybe; +}; + +export type BridgeEventSumAggregates = { + __typename?: 'BridgeEventSumAggregates'; + /** Sum of amount across the matching connection */ + amount: Scalars['BigFloat']['output']; + /** Sum of eventIdx across the matching connection */ + eventIdx: Scalars['BigInt']['output']; +}; + +export type BridgeEventVariancePopulationAggregateFilter = { + amount?: InputMaybe; + eventIdx?: InputMaybe; +}; + +export type BridgeEventVariancePopulationAggregates = { + __typename?: 'BridgeEventVariancePopulationAggregates'; + /** Population variance of amount across the matching connection */ + amount?: Maybe; + /** Population variance of eventIdx across the matching connection */ + eventIdx?: Maybe; +}; + +export type BridgeEventVarianceSampleAggregateFilter = { + amount?: InputMaybe; + eventIdx?: InputMaybe; +}; + +export type BridgeEventVarianceSampleAggregates = { + __typename?: 'BridgeEventVarianceSampleAggregates'; + /** Sample variance of amount across the matching connection */ + amount?: Maybe; + /** Sample variance of eventIdx across the matching connection */ + eventIdx?: Maybe; +}; + +/** A connection to a list of `BridgeEvent` values. */ +export type BridgeEventsConnection = { + __typename?: 'BridgeEventsConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `BridgeEvent` and cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `BridgeEvent` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `BridgeEvent` you could get from the connection. */ + totalCount: Scalars['Int']['output']; +}; + +/** A connection to a list of `BridgeEvent` values. */ +export type BridgeEventsConnectionGroupedAggregatesArgs = { + groupBy: Array; + having?: InputMaybe; +}; + +/** A `BridgeEvent` edge in the connection. */ +export type BridgeEventsEdge = { + __typename?: 'BridgeEventsEdge'; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `BridgeEvent` at the end of the edge. */ + node?: Maybe; +}; + +/** Grouping methods for `BridgeEvent` for usage during aggregation. */ +export enum BridgeEventsGroupBy { + Amount = 'AMOUNT', + CreatedAt = 'CREATED_AT', + CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', + CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', + CreatedBlockId = 'CREATED_BLOCK_ID', + Datetime = 'DATETIME', + DatetimeTruncatedToDay = 'DATETIME_TRUNCATED_TO_DAY', + DatetimeTruncatedToHour = 'DATETIME_TRUNCATED_TO_HOUR', + EventIdx = 'EVENT_IDX', + IdentityId = 'IDENTITY_ID', + Recipient = 'RECIPIENT', + TxHash = 'TX_HASH', + UpdatedAt = 'UPDATED_AT', + UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', + UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', + UpdatedBlockId = 'UPDATED_BLOCK_ID', +} + +export type BridgeEventsHavingAverageInput = { + amount?: InputMaybe; + createdAt?: InputMaybe; + datetime?: InputMaybe; + eventIdx?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type BridgeEventsHavingDistinctCountInput = { + amount?: InputMaybe; + createdAt?: InputMaybe; + datetime?: InputMaybe; + eventIdx?: InputMaybe; + updatedAt?: InputMaybe; +}; + +/** Conditions for `BridgeEvent` aggregates. */ +export type BridgeEventsHavingInput = { + AND?: InputMaybe>; + OR?: InputMaybe>; + average?: InputMaybe; + distinctCount?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddevPopulation?: InputMaybe; + stddevSample?: InputMaybe; + sum?: InputMaybe; + variancePopulation?: InputMaybe; + varianceSample?: InputMaybe; +}; + +export type BridgeEventsHavingMaxInput = { + amount?: InputMaybe; + createdAt?: InputMaybe; + datetime?: InputMaybe; + eventIdx?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type BridgeEventsHavingMinInput = { + amount?: InputMaybe; + createdAt?: InputMaybe; + datetime?: InputMaybe; + eventIdx?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type BridgeEventsHavingStddevPopulationInput = { + amount?: InputMaybe; + createdAt?: InputMaybe; + datetime?: InputMaybe; + eventIdx?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type BridgeEventsHavingStddevSampleInput = { + amount?: InputMaybe; + createdAt?: InputMaybe; + datetime?: InputMaybe; + eventIdx?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type BridgeEventsHavingSumInput = { + amount?: InputMaybe; + createdAt?: InputMaybe; + datetime?: InputMaybe; + eventIdx?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type BridgeEventsHavingVariancePopulationInput = { + amount?: InputMaybe; + createdAt?: InputMaybe; + datetime?: InputMaybe; + eventIdx?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type BridgeEventsHavingVarianceSampleInput = { + amount?: InputMaybe; + createdAt?: InputMaybe; + datetime?: InputMaybe; + eventIdx?: InputMaybe; + updatedAt?: InputMaybe; +}; + +/** Methods to use when ordering `BridgeEvent`. */ +export enum BridgeEventsOrderBy { + AmountAsc = 'AMOUNT_ASC', + AmountDesc = 'AMOUNT_DESC', + CreatedAtAsc = 'CREATED_AT_ASC', + CreatedAtDesc = 'CREATED_AT_DESC', + CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', + CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', + DatetimeAsc = 'DATETIME_ASC', + DatetimeDesc = 'DATETIME_DESC', + EventIdxAsc = 'EVENT_IDX_ASC', + EventIdxDesc = 'EVENT_IDX_DESC', + IdentityIdAsc = 'IDENTITY_ID_ASC', + IdentityIdDesc = 'IDENTITY_ID_DESC', + IdAsc = 'ID_ASC', + IdDesc = 'ID_DESC', + Natural = 'NATURAL', + PrimaryKeyAsc = 'PRIMARY_KEY_ASC', + PrimaryKeyDesc = 'PRIMARY_KEY_DESC', + RecipientAsc = 'RECIPIENT_ASC', + RecipientDesc = 'RECIPIENT_DESC', + TxHashAsc = 'TX_HASH_ASC', + TxHashDesc = 'TX_HASH_DESC', + UpdatedAtAsc = 'UPDATED_AT_ASC', + UpdatedAtDesc = 'UPDATED_AT_DESC', + UpdatedBlockIdAsc = 'UPDATED_BLOCK_ID_ASC', + UpdatedBlockIdDesc = 'UPDATED_BLOCK_ID_DESC', +} + +/** Represents all known chain extrinsics */ +export enum CallIdEnum { + Abdicate = 'abdicate', + AbdicateMembership = 'abdicate_membership', + AcceptAssetOwnershipTransfer = 'accept_asset_ownership_transfer', + AcceptAuthorization = 'accept_authorization', + AcceptBecomeAgent = 'accept_become_agent', + AcceptMasterKey = 'accept_master_key', + AcceptMultisigSignerAsIdentity = 'accept_multisig_signer_as_identity', + AcceptMultisigSignerAsKey = 'accept_multisig_signer_as_key', + AcceptPayingKey = 'accept_paying_key', + AcceptPortfolioCustody = 'accept_portfolio_custody', + AcceptPrimaryIssuanceAgentTransfer = 'accept_primary_issuance_agent_transfer', + AcceptPrimaryKey = 'accept_primary_key', + AcceptTickerTransfer = 'accept_ticker_transfer', + AddActiveRule = 'add_active_rule', + AddAndAffirmInstruction = 'add_and_affirm_instruction', + AddAndAffirmInstructionWithMemo = 'add_and_affirm_instruction_with_memo', + AddAndAffirmInstructionWithMemoV2 = 'add_and_affirm_instruction_with_memo_v2', + AddAndAuthorizeInstruction = 'add_and_authorize_instruction', + AddAuthorization = 'add_authorization', + AddBallot = 'add_ballot', + AddClaim = 'add_claim', + AddComplianceRequirement = 'add_compliance_requirement', + AddDefaultTrustedClaimIssuer = 'add_default_trusted_claim_issuer', + AddDocuments = 'add_documents', + AddExemptedEntities = 'add_exempted_entities', + AddExtension = 'add_extension', + AddFreezeAdmin = 'add_freeze_admin', + AddInstruction = 'add_instruction', + AddInstructionWithMemo = 'add_instruction_with_memo', + AddInstructionWithMemoV2 = 'add_instruction_with_memo_v2', + AddInvestorUniquenessClaim = 'add_investor_uniqueness_claim', + AddInvestorUniquenessClaimV2 = 'add_investor_uniqueness_claim_v2', + AddMediatorAccount = 'add_mediator_account', + AddMember = 'add_member', + AddMultisigSigner = 'add_multisig_signer', + AddMultisigSignersViaCreator = 'add_multisig_signers_via_creator', + AddPermissionedValidator = 'add_permissioned_validator', + AddRangeProof = 'add_range_proof', + AddSecondaryKeysWithAuthorization = 'add_secondary_keys_with_authorization', + AddSecondaryKeysWithAuthorizationOld = 'add_secondary_keys_with_authorization_old', + AddTransaction = 'add_transaction', + AddTransferManager = 'add_transfer_manager', + AddVerifyRangeProof = 'add_verify_range_proof', + AffirmInstruction = 'affirm_instruction', + AffirmInstructionV2 = 'affirm_instruction_v2', + AffirmInstructionWithCount = 'affirm_instruction_with_count', + AffirmTransactions = 'affirm_transactions', + AffirmWithReceipts = 'affirm_with_receipts', + AffirmWithReceiptsWithCount = 'affirm_with_receipts_with_count', + AllowIdentityToCreatePortfolios = 'allow_identity_to_create_portfolios', + AllowVenues = 'allow_venues', + AmendProposal = 'amend_proposal', + ApplyIncomingBalance = 'apply_incoming_balance', + Approve = 'approve', + ApproveAsIdentity = 'approve_as_identity', + ApproveAsKey = 'approve_as_key', + ApproveCommitteeProposal = 'approve_committee_proposal', + ArchiveExtension = 'archive_extension', + AsDerivative = 'as_derivative', + AttachBallot = 'attach_ballot', + AuthorizeInstruction = 'authorize_instruction', + AuthorizeWithReceipts = 'authorize_with_receipts', + Batch = 'batch', + BatchAcceptAuthorization = 'batch_accept_authorization', + BatchAddAuthorization = 'batch_add_authorization', + BatchAddClaim = 'batch_add_claim', + BatchAddDefaultTrustedClaimIssuer = 'batch_add_default_trusted_claim_issuer', + BatchAddDocument = 'batch_add_document', + BatchAddSecondaryKeyWithAuthorization = 'batch_add_secondary_key_with_authorization', + BatchAddSigningKeyWithAuthorization = 'batch_add_signing_key_with_authorization', + BatchAll = 'batch_all', + BatchAtomic = 'batch_atomic', + BatchChangeAssetRule = 'batch_change_asset_rule', + BatchChangeComplianceRequirement = 'batch_change_compliance_requirement', + BatchForceHandleBridgeTx = 'batch_force_handle_bridge_tx', + BatchFreezeTx = 'batch_freeze_tx', + BatchHandleBridgeTx = 'batch_handle_bridge_tx', + BatchIssue = 'batch_issue', + BatchOld = 'batch_old', + BatchOptimistic = 'batch_optimistic', + BatchProposeBridgeTx = 'batch_propose_bridge_tx', + BatchRemoveAuthorization = 'batch_remove_authorization', + BatchRemoveDefaultTrustedClaimIssuer = 'batch_remove_default_trusted_claim_issuer', + BatchRemoveDocument = 'batch_remove_document', + BatchRevokeClaim = 'batch_revoke_claim', + BatchUnfreezeTx = 'batch_unfreeze_tx', + BatchUpdateAssetStats = 'batch_update_asset_stats', + Bond = 'bond', + BondAdditionalDeposit = 'bond_additional_deposit', + BondExtra = 'bond_extra', + BurnAccountBalance = 'burn_account_balance', + BuyTokens = 'buy_tokens', + Call = 'call', + CallOldWeight = 'call_old_weight', + Cancel = 'cancel', + CancelBallot = 'cancel_ballot', + CancelDeferredSlash = 'cancel_deferred_slash', + CancelNamed = 'cancel_named', + CancelProposal = 'cancel_proposal', + CddRegisterDid = 'cdd_register_did', + CddRegisterDidWithCdd = 'cdd_register_did_with_cdd', + ChangeAdmin = 'change_admin', + ChangeAllSignersAndSigsRequired = 'change_all_signers_and_sigs_required', + ChangeAssetRule = 'change_asset_rule', + ChangeBaseFee = 'change_base_fee', + ChangeBridgeExempted = 'change_bridge_exempted', + ChangeBridgeLimit = 'change_bridge_limit', + ChangeCddRequirementForMkRotation = 'change_cdd_requirement_for_mk_rotation', + ChangeCoefficient = 'change_coefficient', + ChangeComplianceRequirement = 'change_compliance_requirement', + ChangeController = 'change_controller', + ChangeEnd = 'change_end', + ChangeGroup = 'change_group', + ChangeMeta = 'change_meta', + ChangeRcv = 'change_rcv', + ChangeReceiptValidity = 'change_receipt_validity', + ChangeRecordDate = 'change_record_date', + ChangeSigsRequired = 'change_sigs_required', + ChangeSigsRequiredViaCreator = 'change_sigs_required_via_creator', + ChangeSlashingAllowedFor = 'change_slashing_allowed_for', + ChangeTemplateFees = 'change_template_fees', + ChangeTemplateMetaUrl = 'change_template_meta_url', + ChangeTimelock = 'change_timelock', + Chill = 'chill', + ChillFromGovernance = 'chill_from_governance', + Claim = 'claim', + ClaimClassicTicker = 'claim_classic_ticker', + ClaimItnReward = 'claim_itn_reward', + ClaimReceipt = 'claim_receipt', + ClaimSurcharge = 'claim_surcharge', + ClaimUnclaimed = 'claim_unclaimed', + ClearSnapshot = 'clear_snapshot', + Close = 'close', + ControllerRedeem = 'controller_redeem', + ControllerTransfer = 'controller_transfer', + CreateAccount = 'create_account', + CreateAndChangeCustomGroup = 'create_and_change_custom_group', + CreateAsset = 'create_asset', + CreateAssetAndMint = 'create_asset_and_mint', + CreateAssetWithCustomType = 'create_asset_with_custom_type', + CreateCheckpoint = 'create_checkpoint', + CreateChildIdentities = 'create_child_identities', + CreateChildIdentity = 'create_child_identity', + CreateConfidentialAsset = 'create_confidential_asset', + CreateCustodyPortfolio = 'create_custody_portfolio', + CreateFundraiser = 'create_fundraiser', + CreateGroup = 'create_group', + CreateGroupAndAddAuth = 'create_group_and_add_auth', + CreateMultisig = 'create_multisig', + CreateNftCollection = 'create_nft_collection', + CreateOrApproveProposalAsIdentity = 'create_or_approve_proposal_as_identity', + CreateOrApproveProposalAsKey = 'create_or_approve_proposal_as_key', + CreatePortfolio = 'create_portfolio', + CreateProposalAsIdentity = 'create_proposal_as_identity', + CreateProposalAsKey = 'create_proposal_as_key', + CreateSchedule = 'create_schedule', + CreateVenue = 'create_venue', + DecreasePolyxLimit = 'decrease_polyx_limit', + DeletePortfolio = 'delete_portfolio', + DepositBlockRewardReserveBalance = 'deposit_block_reward_reserve_balance', + DisableMember = 'disable_member', + DisallowVenues = 'disallow_venues', + Disbursement = 'disbursement', + DispatchAs = 'dispatch_as', + Distribute = 'distribute', + EmergencyReferendum = 'emergency_referendum', + EnableIndividualCommissions = 'enable_individual_commissions', + EnactReferendum = 'enact_referendum', + EnactSnapshotResults = 'enact_snapshot_results', + ExecuteManualInstruction = 'execute_manual_instruction', + ExecuteScheduledInstruction = 'execute_scheduled_instruction', + ExecuteScheduledInstructionV2 = 'execute_scheduled_instruction_v2', + ExecuteScheduledInstructionV3 = 'execute_scheduled_instruction_v3', + ExecuteScheduledPip = 'execute_scheduled_pip', + ExecuteScheduledProposal = 'execute_scheduled_proposal', + ExecuteTransaction = 'execute_transaction', + ExemptTickerAffirmation = 'exempt_ticker_affirmation', + ExpireScheduledPip = 'expire_scheduled_pip', + FastTrackProposal = 'fast_track_proposal', + FillBlock = 'fill_block', + FinalHint = 'final_hint', + ForceBatch = 'force_batch', + ForceHandleBridgeTx = 'force_handle_bridge_tx', + ForceNewEra = 'force_new_era', + ForceNewEraAlways = 'force_new_era_always', + ForceNoEras = 'force_no_eras', + ForceTransfer = 'force_transfer', + ForceUnstake = 'force_unstake', + ForwardedCall = 'forwarded_call', + Free = 'free', + Freeze = 'freeze', + FreezeFundraiser = 'freeze_fundraiser', + FreezeInstantiation = 'freeze_instantiation', + FreezeSecondaryKeys = 'freeze_secondary_keys', + FreezeSigningKeys = 'freeze_signing_keys', + FreezeTxs = 'freeze_txs', + GcAddCddClaim = 'gc_add_cdd_claim', + GcRevokeCddClaim = 'gc_revoke_cdd_claim', + GetCddOf = 'get_cdd_of', + GetMyDid = 'get_my_did', + HandleBridgeTx = 'handle_bridge_tx', + HandleScheduledBridgeTx = 'handle_scheduled_bridge_tx', + Heartbeat = 'heartbeat', + IncreaseCustodyAllowance = 'increase_custody_allowance', + IncreaseCustodyAllowanceOf = 'increase_custody_allowance_of', + IncreasePolyxLimit = 'increase_polyx_limit', + IncreaseValidatorCount = 'increase_validator_count', + InitiateCorporateAction = 'initiate_corporate_action', + InitiateCorporateActionAndDistribute = 'initiate_corporate_action_and_distribute', + Instantiate = 'instantiate', + InstantiateOldWeight = 'instantiate_old_weight', + InstantiateWithCode = 'instantiate_with_code', + InstantiateWithCodeAsPrimaryKey = 'instantiate_with_code_as_primary_key', + InstantiateWithCodeOldWeight = 'instantiate_with_code_old_weight', + InstantiateWithCodePerms = 'instantiate_with_code_perms', + InstantiateWithHashAsPrimaryKey = 'instantiate_with_hash_as_primary_key', + InstantiateWithHashPerms = 'instantiate_with_hash_perms', + InvalidateCddClaims = 'invalidate_cdd_claims', + Invest = 'invest', + IsIssuable = 'is_issuable', + Issue = 'issue', + IssueNft = 'issue_nft', + JoinIdentityAsIdentity = 'join_identity_as_identity', + JoinIdentityAsKey = 'join_identity_as_key', + KillPrefix = 'kill_prefix', + KillProposal = 'kill_proposal', + KillStorage = 'kill_storage', + LaunchSto = 'launch_sto', + LeaveIdentityAsIdentity = 'leave_identity_as_identity', + LeaveIdentityAsKey = 'leave_identity_as_key', + LegacySetPermissionToSigner = 'legacy_set_permission_to_signer', + LinkCaDoc = 'link_ca_doc', + MakeDivisible = 'make_divisible', + MakeMultisigPrimary = 'make_multisig_primary', + MakeMultisigSecondary = 'make_multisig_secondary', + MakeMultisigSigner = 'make_multisig_signer', + MediatorAffirmTransaction = 'mediator_affirm_transaction', + MediatorUnaffirmTransaction = 'mediator_unaffirm_transaction', + MintConfidentialAsset = 'mint_confidential_asset', + MockCddRegisterDid = 'mock_cdd_register_did', + ModifyExemptionList = 'modify_exemption_list', + ModifyFundraiserWindow = 'modify_fundraiser_window', + MovePortfolioFunds = 'move_portfolio_funds', + MovePortfolioFundsV2 = 'move_portfolio_funds_v2', + New = 'new', + Nominate = 'nominate', + NotePreimage = 'note_preimage', + NoteStalled = 'note_stalled', + OverrideReferendumEnactmentPeriod = 'override_referendum_enactment_period', + PauseAssetCompliance = 'pause_asset_compliance', + PauseAssetRules = 'pause_asset_rules', + PauseSto = 'pause_sto', + PayoutStakers = 'payout_stakers', + PayoutStakersBySystem = 'payout_stakers_by_system', + PlaceholderAddAndAffirmInstruction = 'placeholder_add_and_affirm_instruction', + PlaceholderAddAndAffirmInstructionWithMemo = 'placeholder_add_and_affirm_instruction_with_memo', + PlaceholderAddInstruction = 'placeholder_add_instruction', + PlaceholderAddInstructionWithMemo = 'placeholder_add_instruction_with_memo', + PlaceholderAffirmInstruction = 'placeholder_affirm_instruction', + PlaceholderClaimReceipt = 'placeholder_claim_receipt', + PlaceholderFillBlock = 'placeholder_fill_block', + PlaceholderLegacySetPermissionToSigner = 'placeholder_legacy_set_permission_to_signer', + PlaceholderRejectInstruction = 'placeholder_reject_instruction', + PlaceholderUnclaimReceipt = 'placeholder_unclaim_receipt', + PlaceholderWithdrawAffirmation = 'placeholder_withdraw_affirmation', + PlanConfigChange = 'plan_config_change', + PreApprovePortfolio = 'pre_approve_portfolio', + PreApproveTicker = 'pre_approve_ticker', + Propose = 'propose', + ProposeBridgeTx = 'propose_bridge_tx', + PruneProposal = 'prune_proposal', + PurgeKeys = 'purge_keys', + PushBenefit = 'push_benefit', + PutCode = 'put_code', + QuitPortfolioCustody = 'quit_portfolio_custody', + ReapStash = 'reap_stash', + Rebond = 'rebond', + ReceiverAffirmTransaction = 'receiver_affirm_transaction', + ReceiverUnaffirmTransaction = 'receiver_unaffirm_transaction', + Reclaim = 'reclaim', + Redeem = 'redeem', + RedeemFrom = 'redeem_from', + RedeemFromPortfolio = 'redeem_from_portfolio', + RedeemNft = 'redeem_nft', + RegisterAndSetLocalAssetMetadata = 'register_and_set_local_asset_metadata', + RegisterAssetMetadataGlobalType = 'register_asset_metadata_global_type', + RegisterAssetMetadataLocalType = 'register_asset_metadata_local_type', + RegisterCustomAssetType = 'register_custom_asset_type', + RegisterCustomClaimType = 'register_custom_claim_type', + RegisterDid = 'register_did', + RegisterTicker = 'register_ticker', + Reimbursement = 'reimbursement', + RejectAsIdentity = 'reject_as_identity', + RejectAsKey = 'reject_as_key', + RejectInstruction = 'reject_instruction', + RejectInstructionV2 = 'reject_instruction_v2', + RejectInstructionWithCount = 'reject_instruction_with_count', + RejectProposal = 'reject_proposal', + RejectReferendum = 'reject_referendum', + RejectTransaction = 'reject_transaction', + RelayTx = 'relay_tx', + Remark = 'remark', + RemarkWithEvent = 'remark_with_event', + RemoveActiveRule = 'remove_active_rule', + RemoveAgent = 'remove_agent', + RemoveAuthorization = 'remove_authorization', + RemoveBallot = 'remove_ballot', + RemoveCa = 'remove_ca', + RemoveCode = 'remove_code', + RemoveComplianceRequirement = 'remove_compliance_requirement', + RemoveCreatorControls = 'remove_creator_controls', + RemoveDefaultTrustedClaimIssuer = 'remove_default_trusted_claim_issuer', + RemoveDistribution = 'remove_distribution', + RemoveDocuments = 'remove_documents', + RemoveExemptedEntities = 'remove_exempted_entities', + RemoveFreezeAdmin = 'remove_freeze_admin', + RemoveLocalMetadataKey = 'remove_local_metadata_key', + RemoveMember = 'remove_member', + RemoveMetadataValue = 'remove_metadata_value', + RemoveMultisigSigner = 'remove_multisig_signer', + RemoveMultisigSignersViaCreator = 'remove_multisig_signers_via_creator', + RemovePayingKey = 'remove_paying_key', + RemovePermissionedValidator = 'remove_permissioned_validator', + RemovePortfolioPreApproval = 'remove_portfolio_pre_approval', + RemovePrimaryIssuanceAgent = 'remove_primary_issuance_agent', + RemoveSchedule = 'remove_schedule', + RemoveSecondaryKeys = 'remove_secondary_keys', + RemoveSecondaryKeysOld = 'remove_secondary_keys_old', + RemoveSigningKeys = 'remove_signing_keys', + RemoveSmartExtension = 'remove_smart_extension', + RemoveTickerAffirmationExemption = 'remove_ticker_affirmation_exemption', + RemoveTickerPreApproval = 'remove_ticker_pre_approval', + RemoveTransferManager = 'remove_transfer_manager', + RemoveTxs = 'remove_txs', + RenameAsset = 'rename_asset', + RenamePortfolio = 'rename_portfolio', + ReplaceAssetCompliance = 'replace_asset_compliance', + ReplaceAssetRules = 'replace_asset_rules', + ReportEquivocation = 'report_equivocation', + ReportEquivocationUnsigned = 'report_equivocation_unsigned', + RequestPreimage = 'request_preimage', + RescheduleExecution = 'reschedule_execution', + RescheduleInstruction = 'reschedule_instruction', + ReserveClassicTicker = 'reserve_classic_ticker', + ResetActiveRules = 'reset_active_rules', + ResetAssetCompliance = 'reset_asset_compliance', + ResetCaa = 'reset_caa', + ResetMembers = 'reset_members', + ResumeAssetCompliance = 'resume_asset_compliance', + ResumeAssetRules = 'resume_asset_rules', + RevokeClaim = 'revoke_claim', + RevokeClaimByIndex = 'revoke_claim_by_index', + RevokeCreatePortfoliosPermission = 'revoke_create_portfolios_permission', + RevokeOffchainAuthorization = 'revoke_offchain_authorization', + RotatePrimaryKeyToSecondary = 'rotate_primary_key_to_secondary', + ScaleValidatorCount = 'scale_validator_count', + Schedule = 'schedule', + ScheduleAfter = 'schedule_after', + ScheduleNamed = 'schedule_named', + ScheduleNamedAfter = 'schedule_named_after', + SenderAffirmTransaction = 'sender_affirm_transaction', + SenderUnaffirmTransaction = 'sender_unaffirm_transaction', + Set = 'set', + SetActiveAssetStats = 'set_active_asset_stats', + SetActiveMembersLimit = 'set_active_members_limit', + SetActivePipLimit = 'set_active_pip_limit', + SetAssetMetadata = 'set_asset_metadata', + SetAssetMetadataDetails = 'set_asset_metadata_details', + SetAssetTransferCompliance = 'set_asset_transfer_compliance', + SetBalance = 'set_balance', + SetChangesTrieConfig = 'set_changes_trie_config', + SetCode = 'set_code', + SetCodeWithoutChecks = 'set_code_without_checks', + SetCommissionCap = 'set_commission_cap', + SetController = 'set_controller', + SetDefaultEnactmentPeriod = 'set_default_enactment_period', + SetDefaultTargets = 'set_default_targets', + SetDefaultWithholdingTax = 'set_default_withholding_tax', + SetDidWithholdingTax = 'set_did_withholding_tax', + SetEntitiesExempt = 'set_entities_exempt', + SetExpiresAfter = 'set_expires_after', + SetFundingRound = 'set_funding_round', + SetGlobalCommission = 'set_global_commission', + SetGroupPermissions = 'set_group_permissions', + SetHeapPages = 'set_heap_pages', + SetHistoryDepth = 'set_history_depth', + SetInvulnerables = 'set_invulnerables', + SetItnRewardStatus = 'set_itn_reward_status', + SetKey = 'set_key', + SetKeys = 'set_keys', + SetMasterKey = 'set_master_key', + SetMaxDetailsLength = 'set_max_details_length', + SetMaxPipSkipCount = 'set_max_pip_skip_count', + SetMinBondThreshold = 'set_min_bond_threshold', + SetMinProposalDeposit = 'set_min_proposal_deposit', + SetPayee = 'set_payee', + SetPayingKey = 'set_paying_key', + SetPendingPipExpiry = 'set_pending_pip_expiry', + SetPermissionToSigner = 'set_permission_to_signer', + SetPrimaryKey = 'set_primary_key', + SetProposalCoolOffPeriod = 'set_proposal_cool_off_period', + SetProposalDuration = 'set_proposal_duration', + SetPruneHistoricalPips = 'set_prune_historical_pips', + SetReleaseCoordinator = 'set_release_coordinator', + SetSchedulesMaxComplexity = 'set_schedules_max_complexity', + SetSecondaryKeyPermissions = 'set_secondary_key_permissions', + SetStorage = 'set_storage', + SetUncles = 'set_uncles', + SetValidatorCount = 'set_validator_count', + SetVenueFiltering = 'set_venue_filtering', + SetVoteThreshold = 'set_vote_threshold', + Snapshot = 'snapshot', + Stop = 'stop', + SubmitElectionSolution = 'submit_election_solution', + SubmitElectionSolutionUnsigned = 'submit_election_solution_unsigned', + Sudo = 'sudo', + SudoAs = 'sudo_as', + SudoUncheckedWeight = 'sudo_unchecked_weight', + SwapMember = 'swap_member', + Transfer = 'transfer', + TransferWithMemo = 'transfer_with_memo', + Unbond = 'unbond', + UnclaimReceipt = 'unclaim_receipt', + Unfreeze = 'unfreeze', + UnfreezeFundraiser = 'unfreeze_fundraiser', + UnfreezeSecondaryKeys = 'unfreeze_secondary_keys', + UnfreezeTxs = 'unfreeze_txs', + UnlinkChildIdentity = 'unlink_child_identity', + UnnotePreimage = 'unnote_preimage', + UnrequestPreimage = 'unrequest_preimage', + UpdateAssetType = 'update_asset_type', + UpdateCallRuntimeWhitelist = 'update_call_runtime_whitelist', + UpdateIdentifiers = 'update_identifiers', + UpdatePermissionedValidatorIntendedCount = 'update_permissioned_validator_intended_count', + UpdatePolyxLimit = 'update_polyx_limit', + UpdateVenueDetails = 'update_venue_details', + UpdateVenueSigners = 'update_venue_signers', + UpdateVenueType = 'update_venue_type', + UpgradeApi = 'upgrade_api', + UploadCode = 'upload_code', + Validate = 'validate', + ValidateCddExpiryNominators = 'validate_cdd_expiry_nominators', + Vote = 'vote', + VoteOrPropose = 'vote_or_propose', + WithWeight = 'with_weight', + WithdrawAffirmation = 'withdraw_affirmation', + WithdrawAffirmationV2 = 'withdraw_affirmation_v2', + WithdrawAffirmationWithCount = 'withdraw_affirmation_with_count', + WithdrawUnbonded = 'withdraw_unbonded', +} + +/** A filter to be used against CallIdEnum fields. All fields are combined with a logical ‘and.’ */ +export type CallIdEnumFilter = { + /** Not equal to the specified value, treating null like an ordinary value. */ + distinctFrom?: InputMaybe; + /** Equal to the specified value. */ + equalTo?: InputMaybe; + /** Greater than the specified value. */ + greaterThan?: InputMaybe; + /** Greater than or equal to the specified value. */ + greaterThanOrEqualTo?: InputMaybe; + /** Included in the specified list. */ + in?: InputMaybe>; + /** Is null (if `true` is specified) or is not null (if `false` is specified). */ + isNull?: InputMaybe; + /** Less than the specified value. */ + lessThan?: InputMaybe; + /** Less than or equal to the specified value. */ + lessThanOrEqualTo?: InputMaybe; + /** Equal to the specified value, treating null like an ordinary value. */ + notDistinctFrom?: InputMaybe; + /** Not equal to the specified value. */ + notEqualTo?: InputMaybe; + /** Not included in the specified list. */ + notIn?: InputMaybe>; +}; + +/** A connection to a list of `ChildIdentity` values. */ +export type ChildIdentitiesConnection = { + __typename?: 'ChildIdentitiesConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `ChildIdentity` and cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `ChildIdentity` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `ChildIdentity` you could get from the connection. */ + totalCount: Scalars['Int']['output']; +}; + +/** A connection to a list of `ChildIdentity` values. */ +export type ChildIdentitiesConnectionGroupedAggregatesArgs = { + groupBy: Array; + having?: InputMaybe; +}; + +/** A `ChildIdentity` edge in the connection. */ +export type ChildIdentitiesEdge = { + __typename?: 'ChildIdentitiesEdge'; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `ChildIdentity` at the end of the edge. */ + node?: Maybe; +}; + +/** Grouping methods for `ChildIdentity` for usage during aggregation. */ +export enum ChildIdentitiesGroupBy { + ChildId = 'CHILD_ID', + CreatedAt = 'CREATED_AT', + CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', + CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', + CreatedBlockId = 'CREATED_BLOCK_ID', + ParentId = 'PARENT_ID', + UpdatedAt = 'UPDATED_AT', + UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', + UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', + UpdatedBlockId = 'UPDATED_BLOCK_ID', +} + +export type ChildIdentitiesHavingAverageInput = { + createdAt?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type ChildIdentitiesHavingDistinctCountInput = { + createdAt?: InputMaybe; + updatedAt?: InputMaybe; +}; + +/** Conditions for `ChildIdentity` aggregates. */ +export type ChildIdentitiesHavingInput = { + AND?: InputMaybe>; + OR?: InputMaybe>; + average?: InputMaybe; + distinctCount?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddevPopulation?: InputMaybe; + stddevSample?: InputMaybe; + sum?: InputMaybe; + variancePopulation?: InputMaybe; + varianceSample?: InputMaybe; +}; + +export type ChildIdentitiesHavingMaxInput = { + createdAt?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type ChildIdentitiesHavingMinInput = { + createdAt?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type ChildIdentitiesHavingStddevPopulationInput = { + createdAt?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type ChildIdentitiesHavingStddevSampleInput = { + createdAt?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type ChildIdentitiesHavingSumInput = { + createdAt?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type ChildIdentitiesHavingVariancePopulationInput = { + createdAt?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type ChildIdentitiesHavingVarianceSampleInput = { + createdAt?: InputMaybe; + updatedAt?: InputMaybe; +}; + +/** Methods to use when ordering `ChildIdentity`. */ +export enum ChildIdentitiesOrderBy { + ChildIdAsc = 'CHILD_ID_ASC', + ChildIdDesc = 'CHILD_ID_DESC', + CreatedAtAsc = 'CREATED_AT_ASC', + CreatedAtDesc = 'CREATED_AT_DESC', + CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', + CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', + IdAsc = 'ID_ASC', + IdDesc = 'ID_DESC', + Natural = 'NATURAL', + ParentIdAsc = 'PARENT_ID_ASC', + ParentIdDesc = 'PARENT_ID_DESC', + PrimaryKeyAsc = 'PRIMARY_KEY_ASC', + PrimaryKeyDesc = 'PRIMARY_KEY_DESC', + UpdatedAtAsc = 'UPDATED_AT_ASC', + UpdatedAtDesc = 'UPDATED_AT_DESC', + UpdatedBlockIdAsc = 'UPDATED_BLOCK_ID_ASC', + UpdatedBlockIdDesc = 'UPDATED_BLOCK_ID_DESC', +} + +/** Represents the parent child mapping for an Identity */ +export type ChildIdentity = Node & { + __typename?: 'ChildIdentity'; + /** Reads a single `Identity` that is related to this `ChildIdentity`. */ + child?: Maybe; + childId: Scalars['String']['output']; + createdAt: Scalars['Datetime']['output']; + /** Reads a single `Block` that is related to this `ChildIdentity`. */ + createdBlock?: Maybe; + createdBlockId: Scalars['String']['output']; + id: Scalars['String']['output']; + /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ + nodeId: Scalars['ID']['output']; + /** Reads a single `Identity` that is related to this `ChildIdentity`. */ + parent?: Maybe; + parentId: Scalars['String']['output']; + updatedAt: Scalars['Datetime']['output']; + /** Reads a single `Block` that is related to this `ChildIdentity`. */ + updatedBlock?: Maybe; + updatedBlockId: Scalars['String']['output']; +}; + +export type ChildIdentityAggregates = { + __typename?: 'ChildIdentityAggregates'; + /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ + distinctCount?: Maybe; + keys?: Maybe>; +}; + +/** A filter to be used against aggregates of `ChildIdentity` object types. */ +export type ChildIdentityAggregatesFilter = { + /** Distinct count aggregate over matching `ChildIdentity` objects. */ + distinctCount?: InputMaybe; + /** A filter that must pass for the relevant `ChildIdentity` object to be included within the aggregate. */ + filter?: InputMaybe; +}; + +export type ChildIdentityDistinctCountAggregateFilter = { + childId?: InputMaybe; + createdAt?: InputMaybe; + createdBlockId?: InputMaybe; + id?: InputMaybe; + parentId?: InputMaybe; + updatedAt?: InputMaybe; + updatedBlockId?: InputMaybe; +}; + +export type ChildIdentityDistinctCountAggregates = { + __typename?: 'ChildIdentityDistinctCountAggregates'; + /** Distinct count of childId across the matching connection */ + childId?: Maybe; + /** Distinct count of createdAt across the matching connection */ + createdAt?: Maybe; + /** Distinct count of createdBlockId across the matching connection */ + createdBlockId?: Maybe; + /** Distinct count of id across the matching connection */ + id?: Maybe; + /** Distinct count of parentId across the matching connection */ + parentId?: Maybe; + /** Distinct count of updatedAt across the matching connection */ + updatedAt?: Maybe; + /** Distinct count of updatedBlockId across the matching connection */ + updatedBlockId?: Maybe; +}; + +/** A filter to be used against `ChildIdentity` object types. All fields are combined with a logical ‘and.’ */ +export type ChildIdentityFilter = { + /** Checks for all expressions in this list. */ + and?: InputMaybe>; + /** Filter by the object’s `child` relation. */ + child?: InputMaybe; + /** Filter by the object’s `childId` field. */ + childId?: InputMaybe; + /** Filter by the object’s `createdAt` field. */ + createdAt?: InputMaybe; + /** Filter by the object’s `createdBlock` relation. */ + createdBlock?: InputMaybe; + /** Filter by the object’s `createdBlockId` field. */ + createdBlockId?: InputMaybe; + /** Filter by the object’s `id` field. */ + id?: InputMaybe; + /** Negates the expression. */ + not?: InputMaybe; + /** Checks for any expressions in this list. */ + or?: InputMaybe>; + /** Filter by the object’s `parent` relation. */ + parent?: InputMaybe; + /** Filter by the object’s `parentId` field. */ + parentId?: InputMaybe; + /** Filter by the object’s `updatedAt` field. */ + updatedAt?: InputMaybe; + /** Filter by the object’s `updatedBlock` relation. */ + updatedBlock?: InputMaybe; + /** Filter by the object’s `updatedBlockId` field. */ + updatedBlockId?: InputMaybe; +}; + +/** + * A claim made about an Identity. All active identities must have a valid CDD claim, but additional claims can be made. + * + * e.g. The Identity belongs to an accredited, US citizen + */ +export type Claim = Node & { + __typename?: 'Claim'; + cddId?: Maybe; + createdAt: Scalars['Datetime']['output']; + /** Reads a single `Block` that is related to this `Claim`. */ + createdBlock?: Maybe; + createdBlockId: Scalars['String']['output']; + /** Reads a single `CustomClaimType` that is related to this `Claim`. */ + customClaimType?: Maybe; + customClaimTypeId?: Maybe; + eventIdx: Scalars['Int']['output']; + expiry?: Maybe; + filterExpiry: Scalars['BigFloat']['output']; + id: Scalars['String']['output']; + issuanceDate: Scalars['BigFloat']['output']; + /** Reads a single `Identity` that is related to this `Claim`. */ + issuer?: Maybe; + issuerId: Scalars['String']['output']; + jurisdiction?: Maybe; + lastUpdateDate: Scalars['BigFloat']['output']; + /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ + nodeId: Scalars['ID']['output']; + revokeDate?: Maybe; + scope?: Maybe; + /** Reads a single `Identity` that is related to this `Claim`. */ + target?: Maybe; + targetId: Scalars['String']['output']; + type: ClaimTypeEnum; + updatedAt: Scalars['Datetime']['output']; + /** Reads a single `Block` that is related to this `Claim`. */ + updatedBlock?: Maybe; + updatedBlockId: Scalars['String']['output']; +}; + +export type ClaimAggregates = { + __typename?: 'ClaimAggregates'; + /** Mean average aggregates across the matching connection (ignoring before/after/first/last/offset) */ + average?: Maybe; + /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ + distinctCount?: Maybe; + keys?: Maybe>; + /** Maximum aggregates across the matching connection (ignoring before/after/first/last/offset) */ + max?: Maybe; + /** Minimum aggregates across the matching connection (ignoring before/after/first/last/offset) */ + min?: Maybe; + /** Population standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ + stddevPopulation?: Maybe; + /** Sample standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ + stddevSample?: Maybe; + /** Sum aggregates across the matching connection (ignoring before/after/first/last/offset) */ + sum?: Maybe; + /** Population variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ + variancePopulation?: Maybe; + /** Sample variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ + varianceSample?: Maybe; +}; + +/** A filter to be used against aggregates of `Claim` object types. */ +export type ClaimAggregatesFilter = { + /** Mean average aggregate over matching `Claim` objects. */ + average?: InputMaybe; + /** Distinct count aggregate over matching `Claim` objects. */ + distinctCount?: InputMaybe; + /** A filter that must pass for the relevant `Claim` object to be included within the aggregate. */ + filter?: InputMaybe; + /** Maximum aggregate over matching `Claim` objects. */ + max?: InputMaybe; + /** Minimum aggregate over matching `Claim` objects. */ + min?: InputMaybe; + /** Population standard deviation aggregate over matching `Claim` objects. */ + stddevPopulation?: InputMaybe; + /** Sample standard deviation aggregate over matching `Claim` objects. */ + stddevSample?: InputMaybe; + /** Sum aggregate over matching `Claim` objects. */ + sum?: InputMaybe; + /** Population variance aggregate over matching `Claim` objects. */ + variancePopulation?: InputMaybe; + /** Sample variance aggregate over matching `Claim` objects. */ + varianceSample?: InputMaybe; +}; + +export type ClaimAverageAggregateFilter = { + eventIdx?: InputMaybe; + expiry?: InputMaybe; + filterExpiry?: InputMaybe; + issuanceDate?: InputMaybe; + lastUpdateDate?: InputMaybe; + revokeDate?: InputMaybe; +}; + +export type ClaimAverageAggregates = { + __typename?: 'ClaimAverageAggregates'; + /** Mean average of eventIdx across the matching connection */ + eventIdx?: Maybe; + /** Mean average of expiry across the matching connection */ + expiry?: Maybe; + /** Mean average of filterExpiry across the matching connection */ + filterExpiry?: Maybe; + /** Mean average of issuanceDate across the matching connection */ + issuanceDate?: Maybe; + /** Mean average of lastUpdateDate across the matching connection */ + lastUpdateDate?: Maybe; + /** Mean average of revokeDate across the matching connection */ + revokeDate?: Maybe; +}; + +export type ClaimDistinctCountAggregateFilter = { + cddId?: InputMaybe; + createdAt?: InputMaybe; + createdBlockId?: InputMaybe; + customClaimTypeId?: InputMaybe; + eventIdx?: InputMaybe; + expiry?: InputMaybe; + filterExpiry?: InputMaybe; + id?: InputMaybe; + issuanceDate?: InputMaybe; + issuerId?: InputMaybe; + jurisdiction?: InputMaybe; + lastUpdateDate?: InputMaybe; + revokeDate?: InputMaybe; + scope?: InputMaybe; + targetId?: InputMaybe; + type?: InputMaybe; + updatedAt?: InputMaybe; + updatedBlockId?: InputMaybe; +}; + +export type ClaimDistinctCountAggregates = { + __typename?: 'ClaimDistinctCountAggregates'; + /** Distinct count of cddId across the matching connection */ + cddId?: Maybe; + /** Distinct count of createdAt across the matching connection */ + createdAt?: Maybe; + /** Distinct count of createdBlockId across the matching connection */ + createdBlockId?: Maybe; + /** Distinct count of customClaimTypeId across the matching connection */ + customClaimTypeId?: Maybe; + /** Distinct count of eventIdx across the matching connection */ + eventIdx?: Maybe; + /** Distinct count of expiry across the matching connection */ + expiry?: Maybe; + /** Distinct count of filterExpiry across the matching connection */ + filterExpiry?: Maybe; + /** Distinct count of id across the matching connection */ + id?: Maybe; + /** Distinct count of issuanceDate across the matching connection */ + issuanceDate?: Maybe; + /** Distinct count of issuerId across the matching connection */ + issuerId?: Maybe; + /** Distinct count of jurisdiction across the matching connection */ + jurisdiction?: Maybe; + /** Distinct count of lastUpdateDate across the matching connection */ + lastUpdateDate?: Maybe; + /** Distinct count of revokeDate across the matching connection */ + revokeDate?: Maybe; + /** Distinct count of scope across the matching connection */ + scope?: Maybe; + /** Distinct count of targetId across the matching connection */ + targetId?: Maybe; + /** Distinct count of type across the matching connection */ + type?: Maybe; + /** Distinct count of updatedAt across the matching connection */ + updatedAt?: Maybe; + /** Distinct count of updatedBlockId across the matching connection */ + updatedBlockId?: Maybe; +}; + +/** A filter to be used against `Claim` object types. All fields are combined with a logical ‘and.’ */ +export type ClaimFilter = { + /** Checks for all expressions in this list. */ + and?: InputMaybe>; + /** Filter by the object’s `cddId` field. */ + cddId?: InputMaybe; + /** Filter by the object’s `createdAt` field. */ + createdAt?: InputMaybe; + /** Filter by the object’s `createdBlock` relation. */ + createdBlock?: InputMaybe; + /** Filter by the object’s `createdBlockId` field. */ + createdBlockId?: InputMaybe; + /** Filter by the object’s `customClaimType` relation. */ + customClaimType?: InputMaybe; + /** A related `customClaimType` exists. */ + customClaimTypeExists?: InputMaybe; + /** Filter by the object’s `customClaimTypeId` field. */ + customClaimTypeId?: InputMaybe; + /** Filter by the object’s `eventIdx` field. */ + eventIdx?: InputMaybe; + /** Filter by the object’s `expiry` field. */ + expiry?: InputMaybe; + /** Filter by the object’s `filterExpiry` field. */ + filterExpiry?: InputMaybe; + /** Filter by the object’s `id` field. */ + id?: InputMaybe; + /** Filter by the object’s `issuanceDate` field. */ + issuanceDate?: InputMaybe; + /** Filter by the object’s `issuer` relation. */ + issuer?: InputMaybe; + /** Filter by the object’s `issuerId` field. */ + issuerId?: InputMaybe; + /** Filter by the object’s `jurisdiction` field. */ + jurisdiction?: InputMaybe; + /** Filter by the object’s `lastUpdateDate` field. */ + lastUpdateDate?: InputMaybe; + /** Negates the expression. */ + not?: InputMaybe; + /** Checks for any expressions in this list. */ + or?: InputMaybe>; + /** Filter by the object’s `revokeDate` field. */ + revokeDate?: InputMaybe; + /** Filter by the object’s `scope` field. */ + scope?: InputMaybe; + /** Filter by the object’s `target` relation. */ + target?: InputMaybe; + /** Filter by the object’s `targetId` field. */ + targetId?: InputMaybe; + /** Filter by the object’s `type` field. */ + type?: InputMaybe; + /** Filter by the object’s `updatedAt` field. */ + updatedAt?: InputMaybe; + /** Filter by the object’s `updatedBlock` relation. */ + updatedBlock?: InputMaybe; + /** Filter by the object’s `updatedBlockId` field. */ + updatedBlockId?: InputMaybe; +}; + +export type ClaimMaxAggregateFilter = { + eventIdx?: InputMaybe; + expiry?: InputMaybe; + filterExpiry?: InputMaybe; + issuanceDate?: InputMaybe; + lastUpdateDate?: InputMaybe; + revokeDate?: InputMaybe; +}; + +export type ClaimMaxAggregates = { + __typename?: 'ClaimMaxAggregates'; + /** Maximum of eventIdx across the matching connection */ + eventIdx?: Maybe; + /** Maximum of expiry across the matching connection */ + expiry?: Maybe; + /** Maximum of filterExpiry across the matching connection */ + filterExpiry?: Maybe; + /** Maximum of issuanceDate across the matching connection */ + issuanceDate?: Maybe; + /** Maximum of lastUpdateDate across the matching connection */ + lastUpdateDate?: Maybe; + /** Maximum of revokeDate across the matching connection */ + revokeDate?: Maybe; +}; + +export type ClaimMinAggregateFilter = { + eventIdx?: InputMaybe; + expiry?: InputMaybe; + filterExpiry?: InputMaybe; + issuanceDate?: InputMaybe; + lastUpdateDate?: InputMaybe; + revokeDate?: InputMaybe; +}; + +export type ClaimMinAggregates = { + __typename?: 'ClaimMinAggregates'; + /** Minimum of eventIdx across the matching connection */ + eventIdx?: Maybe; + /** Minimum of expiry across the matching connection */ + expiry?: Maybe; + /** Minimum of filterExpiry across the matching connection */ + filterExpiry?: Maybe; + /** Minimum of issuanceDate across the matching connection */ + issuanceDate?: Maybe; + /** Minimum of lastUpdateDate across the matching connection */ + lastUpdateDate?: Maybe; + /** Minimum of revokeDate across the matching connection */ + revokeDate?: Maybe; +}; + +/** + * The scope of a claim. + * + * e.g. `target` is Blocked from owning "TICKER-A" or `target` is an Affiliate of "TICKER-B" + */ +export type ClaimScope = Node & { + __typename?: 'ClaimScope'; + createdAt: Scalars['Datetime']['output']; + /** Reads a single `Block` that is related to this `ClaimScope`. */ + createdBlock?: Maybe; + createdBlockId: Scalars['String']['output']; + id: Scalars['String']['output']; + /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ + nodeId: Scalars['ID']['output']; + scope?: Maybe; + target: Scalars['String']['output']; + ticker?: Maybe; + updatedAt: Scalars['Datetime']['output']; + /** Reads a single `Block` that is related to this `ClaimScope`. */ + updatedBlock?: Maybe; + updatedBlockId: Scalars['String']['output']; +}; + +export type ClaimScopeAggregates = { + __typename?: 'ClaimScopeAggregates'; + /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ + distinctCount?: Maybe; + keys?: Maybe>; +}; + +/** A filter to be used against aggregates of `ClaimScope` object types. */ +export type ClaimScopeAggregatesFilter = { + /** Distinct count aggregate over matching `ClaimScope` objects. */ + distinctCount?: InputMaybe; + /** A filter that must pass for the relevant `ClaimScope` object to be included within the aggregate. */ + filter?: InputMaybe; +}; + +export type ClaimScopeDistinctCountAggregateFilter = { + createdAt?: InputMaybe; + createdBlockId?: InputMaybe; + id?: InputMaybe; + scope?: InputMaybe; + target?: InputMaybe; + ticker?: InputMaybe; + updatedAt?: InputMaybe; + updatedBlockId?: InputMaybe; +}; + +export type ClaimScopeDistinctCountAggregates = { + __typename?: 'ClaimScopeDistinctCountAggregates'; + /** Distinct count of createdAt across the matching connection */ + createdAt?: Maybe; + /** Distinct count of createdBlockId across the matching connection */ + createdBlockId?: Maybe; + /** Distinct count of id across the matching connection */ + id?: Maybe; + /** Distinct count of scope across the matching connection */ + scope?: Maybe; + /** Distinct count of target across the matching connection */ + target?: Maybe; + /** Distinct count of ticker across the matching connection */ + ticker?: Maybe; + /** Distinct count of updatedAt across the matching connection */ + updatedAt?: Maybe; + /** Distinct count of updatedBlockId across the matching connection */ + updatedBlockId?: Maybe; +}; + +/** A filter to be used against `ClaimScope` object types. All fields are combined with a logical ‘and.’ */ +export type ClaimScopeFilter = { + /** Checks for all expressions in this list. */ + and?: InputMaybe>; + /** Filter by the object’s `createdAt` field. */ + createdAt?: InputMaybe; + /** Filter by the object’s `createdBlock` relation. */ + createdBlock?: InputMaybe; + /** Filter by the object’s `createdBlockId` field. */ + createdBlockId?: InputMaybe; + /** Filter by the object’s `id` field. */ + id?: InputMaybe; + /** Negates the expression. */ + not?: InputMaybe; + /** Checks for any expressions in this list. */ + or?: InputMaybe>; + /** Filter by the object’s `scope` field. */ + scope?: InputMaybe; + /** Filter by the object’s `target` field. */ + target?: InputMaybe; + /** Filter by the object’s `ticker` field. */ + ticker?: InputMaybe; + /** Filter by the object’s `updatedAt` field. */ + updatedAt?: InputMaybe; + /** Filter by the object’s `updatedBlock` relation. */ + updatedBlock?: InputMaybe; + /** Filter by the object’s `updatedBlockId` field. */ + updatedBlockId?: InputMaybe; +}; + +/** A connection to a list of `ClaimScope` values. */ +export type ClaimScopesConnection = { + __typename?: 'ClaimScopesConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `ClaimScope` and cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `ClaimScope` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `ClaimScope` you could get from the connection. */ + totalCount: Scalars['Int']['output']; +}; + +/** A connection to a list of `ClaimScope` values. */ +export type ClaimScopesConnectionGroupedAggregatesArgs = { + groupBy: Array; + having?: InputMaybe; +}; + +/** A `ClaimScope` edge in the connection. */ +export type ClaimScopesEdge = { + __typename?: 'ClaimScopesEdge'; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `ClaimScope` at the end of the edge. */ + node?: Maybe; +}; + +/** Grouping methods for `ClaimScope` for usage during aggregation. */ +export enum ClaimScopesGroupBy { + CreatedAt = 'CREATED_AT', + CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', + CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', + CreatedBlockId = 'CREATED_BLOCK_ID', + Scope = 'SCOPE', + Target = 'TARGET', + Ticker = 'TICKER', + UpdatedAt = 'UPDATED_AT', + UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', + UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', + UpdatedBlockId = 'UPDATED_BLOCK_ID', +} + +export type ClaimScopesHavingAverageInput = { + createdAt?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type ClaimScopesHavingDistinctCountInput = { + createdAt?: InputMaybe; + updatedAt?: InputMaybe; +}; + +/** Conditions for `ClaimScope` aggregates. */ +export type ClaimScopesHavingInput = { + AND?: InputMaybe>; + OR?: InputMaybe>; + average?: InputMaybe; + distinctCount?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddevPopulation?: InputMaybe; + stddevSample?: InputMaybe; + sum?: InputMaybe; + variancePopulation?: InputMaybe; + varianceSample?: InputMaybe; +}; + +export type ClaimScopesHavingMaxInput = { + createdAt?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type ClaimScopesHavingMinInput = { + createdAt?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type ClaimScopesHavingStddevPopulationInput = { + createdAt?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type ClaimScopesHavingStddevSampleInput = { + createdAt?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type ClaimScopesHavingSumInput = { + createdAt?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type ClaimScopesHavingVariancePopulationInput = { + createdAt?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type ClaimScopesHavingVarianceSampleInput = { + createdAt?: InputMaybe; + updatedAt?: InputMaybe; +}; + +/** Methods to use when ordering `ClaimScope`. */ +export enum ClaimScopesOrderBy { + CreatedAtAsc = 'CREATED_AT_ASC', + CreatedAtDesc = 'CREATED_AT_DESC', + CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', + CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', + IdAsc = 'ID_ASC', + IdDesc = 'ID_DESC', + Natural = 'NATURAL', + PrimaryKeyAsc = 'PRIMARY_KEY_ASC', + PrimaryKeyDesc = 'PRIMARY_KEY_DESC', + ScopeAsc = 'SCOPE_ASC', + ScopeDesc = 'SCOPE_DESC', + TargetAsc = 'TARGET_ASC', + TargetDesc = 'TARGET_DESC', + TickerAsc = 'TICKER_ASC', + TickerDesc = 'TICKER_DESC', + UpdatedAtAsc = 'UPDATED_AT_ASC', + UpdatedAtDesc = 'UPDATED_AT_DESC', + UpdatedBlockIdAsc = 'UPDATED_BLOCK_ID_ASC', + UpdatedBlockIdDesc = 'UPDATED_BLOCK_ID_DESC', +} + +export type ClaimStddevPopulationAggregateFilter = { + eventIdx?: InputMaybe; + expiry?: InputMaybe; + filterExpiry?: InputMaybe; + issuanceDate?: InputMaybe; + lastUpdateDate?: InputMaybe; + revokeDate?: InputMaybe; +}; + +export type ClaimStddevPopulationAggregates = { + __typename?: 'ClaimStddevPopulationAggregates'; + /** Population standard deviation of eventIdx across the matching connection */ + eventIdx?: Maybe; + /** Population standard deviation of expiry across the matching connection */ + expiry?: Maybe; + /** Population standard deviation of filterExpiry across the matching connection */ + filterExpiry?: Maybe; + /** Population standard deviation of issuanceDate across the matching connection */ + issuanceDate?: Maybe; + /** Population standard deviation of lastUpdateDate across the matching connection */ + lastUpdateDate?: Maybe; + /** Population standard deviation of revokeDate across the matching connection */ + revokeDate?: Maybe; +}; + +export type ClaimStddevSampleAggregateFilter = { + eventIdx?: InputMaybe; + expiry?: InputMaybe; + filterExpiry?: InputMaybe; + issuanceDate?: InputMaybe; + lastUpdateDate?: InputMaybe; + revokeDate?: InputMaybe; +}; + +export type ClaimStddevSampleAggregates = { + __typename?: 'ClaimStddevSampleAggregates'; + /** Sample standard deviation of eventIdx across the matching connection */ + eventIdx?: Maybe; + /** Sample standard deviation of expiry across the matching connection */ + expiry?: Maybe; + /** Sample standard deviation of filterExpiry across the matching connection */ + filterExpiry?: Maybe; + /** Sample standard deviation of issuanceDate across the matching connection */ + issuanceDate?: Maybe; + /** Sample standard deviation of lastUpdateDate across the matching connection */ + lastUpdateDate?: Maybe; + /** Sample standard deviation of revokeDate across the matching connection */ + revokeDate?: Maybe; +}; + +export type ClaimSumAggregateFilter = { + eventIdx?: InputMaybe; + expiry?: InputMaybe; + filterExpiry?: InputMaybe; + issuanceDate?: InputMaybe; + lastUpdateDate?: InputMaybe; + revokeDate?: InputMaybe; +}; + +export type ClaimSumAggregates = { + __typename?: 'ClaimSumAggregates'; + /** Sum of eventIdx across the matching connection */ + eventIdx: Scalars['BigInt']['output']; + /** Sum of expiry across the matching connection */ + expiry: Scalars['BigFloat']['output']; + /** Sum of filterExpiry across the matching connection */ + filterExpiry: Scalars['BigFloat']['output']; + /** Sum of issuanceDate across the matching connection */ + issuanceDate: Scalars['BigFloat']['output']; + /** Sum of lastUpdateDate across the matching connection */ + lastUpdateDate: Scalars['BigFloat']['output']; + /** Sum of revokeDate across the matching connection */ + revokeDate: Scalars['BigFloat']['output']; +}; + +/** Represents all possible claims that can be made of an identity */ +export enum ClaimTypeEnum { + Accredited = 'Accredited', + Affiliate = 'Affiliate', + Blocked = 'Blocked', + BuyLockup = 'BuyLockup', + Custom = 'Custom', + CustomerDueDiligence = 'CustomerDueDiligence', + Exempted = 'Exempted', + InvestorUniqueness = 'InvestorUniqueness', + InvestorUniquenessV2 = 'InvestorUniquenessV2', + Jurisdiction = 'Jurisdiction', + KnowYourCustomer = 'KnowYourCustomer', + NoData = 'NoData', + NoType = 'NoType', + SellLockup = 'SellLockup', +} + +/** A filter to be used against ClaimTypeEnum fields. All fields are combined with a logical ‘and.’ */ +export type ClaimTypeEnumFilter = { + /** Not equal to the specified value, treating null like an ordinary value. */ + distinctFrom?: InputMaybe; + /** Equal to the specified value. */ + equalTo?: InputMaybe; + /** Greater than the specified value. */ + greaterThan?: InputMaybe; + /** Greater than or equal to the specified value. */ + greaterThanOrEqualTo?: InputMaybe; + /** Included in the specified list. */ + in?: InputMaybe>; + /** Is null (if `true` is specified) or is not null (if `false` is specified). */ + isNull?: InputMaybe; + /** Less than the specified value. */ + lessThan?: InputMaybe; + /** Less than or equal to the specified value. */ + lessThanOrEqualTo?: InputMaybe; + /** Equal to the specified value, treating null like an ordinary value. */ + notDistinctFrom?: InputMaybe; + /** Not equal to the specified value. */ + notEqualTo?: InputMaybe; + /** Not included in the specified list. */ + notIn?: InputMaybe>; +}; + +export type ClaimVariancePopulationAggregateFilter = { + eventIdx?: InputMaybe; + expiry?: InputMaybe; + filterExpiry?: InputMaybe; + issuanceDate?: InputMaybe; + lastUpdateDate?: InputMaybe; + revokeDate?: InputMaybe; +}; + +export type ClaimVariancePopulationAggregates = { + __typename?: 'ClaimVariancePopulationAggregates'; + /** Population variance of eventIdx across the matching connection */ + eventIdx?: Maybe; + /** Population variance of expiry across the matching connection */ + expiry?: Maybe; + /** Population variance of filterExpiry across the matching connection */ + filterExpiry?: Maybe; + /** Population variance of issuanceDate across the matching connection */ + issuanceDate?: Maybe; + /** Population variance of lastUpdateDate across the matching connection */ + lastUpdateDate?: Maybe; + /** Population variance of revokeDate across the matching connection */ + revokeDate?: Maybe; +}; + +export type ClaimVarianceSampleAggregateFilter = { + eventIdx?: InputMaybe; + expiry?: InputMaybe; + filterExpiry?: InputMaybe; + issuanceDate?: InputMaybe; + lastUpdateDate?: InputMaybe; + revokeDate?: InputMaybe; +}; + +export type ClaimVarianceSampleAggregates = { + __typename?: 'ClaimVarianceSampleAggregates'; + /** Sample variance of eventIdx across the matching connection */ + eventIdx?: Maybe; + /** Sample variance of expiry across the matching connection */ + expiry?: Maybe; + /** Sample variance of filterExpiry across the matching connection */ + filterExpiry?: Maybe; + /** Sample variance of issuanceDate across the matching connection */ + issuanceDate?: Maybe; + /** Sample variance of lastUpdateDate across the matching connection */ + lastUpdateDate?: Maybe; + /** Sample variance of revokeDate across the matching connection */ + revokeDate?: Maybe; +}; + +/** A connection to a list of `Claim` values. */ +export type ClaimsConnection = { + __typename?: 'ClaimsConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Claim` and cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Claim` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Claim` you could get from the connection. */ + totalCount: Scalars['Int']['output']; +}; + +/** A connection to a list of `Claim` values. */ +export type ClaimsConnectionGroupedAggregatesArgs = { + groupBy: Array; + having?: InputMaybe; +}; + +/** A `Claim` edge in the connection. */ +export type ClaimsEdge = { + __typename?: 'ClaimsEdge'; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Claim` at the end of the edge. */ + node?: Maybe; +}; + +/** Grouping methods for `Claim` for usage during aggregation. */ +export enum ClaimsGroupBy { + CddId = 'CDD_ID', + CreatedAt = 'CREATED_AT', + CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', + CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', + CreatedBlockId = 'CREATED_BLOCK_ID', + CustomClaimTypeId = 'CUSTOM_CLAIM_TYPE_ID', + EventIdx = 'EVENT_IDX', + Expiry = 'EXPIRY', + FilterExpiry = 'FILTER_EXPIRY', + IssuanceDate = 'ISSUANCE_DATE', + IssuerId = 'ISSUER_ID', + Jurisdiction = 'JURISDICTION', + LastUpdateDate = 'LAST_UPDATE_DATE', + RevokeDate = 'REVOKE_DATE', + Scope = 'SCOPE', + TargetId = 'TARGET_ID', + Type = 'TYPE', + UpdatedAt = 'UPDATED_AT', + UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', + UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', + UpdatedBlockId = 'UPDATED_BLOCK_ID', +} + +export type ClaimsHavingAverageInput = { + createdAt?: InputMaybe; + eventIdx?: InputMaybe; + expiry?: InputMaybe; + filterExpiry?: InputMaybe; + issuanceDate?: InputMaybe; + lastUpdateDate?: InputMaybe; + revokeDate?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type ClaimsHavingDistinctCountInput = { + createdAt?: InputMaybe; + eventIdx?: InputMaybe; + expiry?: InputMaybe; + filterExpiry?: InputMaybe; + issuanceDate?: InputMaybe; + lastUpdateDate?: InputMaybe; + revokeDate?: InputMaybe; + updatedAt?: InputMaybe; +}; + +/** Conditions for `Claim` aggregates. */ +export type ClaimsHavingInput = { + AND?: InputMaybe>; + OR?: InputMaybe>; + average?: InputMaybe; + distinctCount?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddevPopulation?: InputMaybe; + stddevSample?: InputMaybe; + sum?: InputMaybe; + variancePopulation?: InputMaybe; + varianceSample?: InputMaybe; +}; + +export type ClaimsHavingMaxInput = { + createdAt?: InputMaybe; + eventIdx?: InputMaybe; + expiry?: InputMaybe; + filterExpiry?: InputMaybe; + issuanceDate?: InputMaybe; + lastUpdateDate?: InputMaybe; + revokeDate?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type ClaimsHavingMinInput = { + createdAt?: InputMaybe; + eventIdx?: InputMaybe; + expiry?: InputMaybe; + filterExpiry?: InputMaybe; + issuanceDate?: InputMaybe; + lastUpdateDate?: InputMaybe; + revokeDate?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type ClaimsHavingStddevPopulationInput = { + createdAt?: InputMaybe; + eventIdx?: InputMaybe; + expiry?: InputMaybe; + filterExpiry?: InputMaybe; + issuanceDate?: InputMaybe; + lastUpdateDate?: InputMaybe; + revokeDate?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type ClaimsHavingStddevSampleInput = { + createdAt?: InputMaybe; + eventIdx?: InputMaybe; + expiry?: InputMaybe; + filterExpiry?: InputMaybe; + issuanceDate?: InputMaybe; + lastUpdateDate?: InputMaybe; + revokeDate?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type ClaimsHavingSumInput = { + createdAt?: InputMaybe; + eventIdx?: InputMaybe; + expiry?: InputMaybe; + filterExpiry?: InputMaybe; + issuanceDate?: InputMaybe; + lastUpdateDate?: InputMaybe; + revokeDate?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type ClaimsHavingVariancePopulationInput = { + createdAt?: InputMaybe; + eventIdx?: InputMaybe; + expiry?: InputMaybe; + filterExpiry?: InputMaybe; + issuanceDate?: InputMaybe; + lastUpdateDate?: InputMaybe; + revokeDate?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type ClaimsHavingVarianceSampleInput = { + createdAt?: InputMaybe; + eventIdx?: InputMaybe; + expiry?: InputMaybe; + filterExpiry?: InputMaybe; + issuanceDate?: InputMaybe; + lastUpdateDate?: InputMaybe; + revokeDate?: InputMaybe; + updatedAt?: InputMaybe; +}; + +/** Methods to use when ordering `Claim`. */ +export enum ClaimsOrderBy { + CddIdAsc = 'CDD_ID_ASC', + CddIdDesc = 'CDD_ID_DESC', + CreatedAtAsc = 'CREATED_AT_ASC', + CreatedAtDesc = 'CREATED_AT_DESC', + CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', + CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', + CustomClaimTypeIdAsc = 'CUSTOM_CLAIM_TYPE_ID_ASC', + CustomClaimTypeIdDesc = 'CUSTOM_CLAIM_TYPE_ID_DESC', + EventIdxAsc = 'EVENT_IDX_ASC', + EventIdxDesc = 'EVENT_IDX_DESC', + ExpiryAsc = 'EXPIRY_ASC', + ExpiryDesc = 'EXPIRY_DESC', + FilterExpiryAsc = 'FILTER_EXPIRY_ASC', + FilterExpiryDesc = 'FILTER_EXPIRY_DESC', + IdAsc = 'ID_ASC', + IdDesc = 'ID_DESC', + IssuanceDateAsc = 'ISSUANCE_DATE_ASC', + IssuanceDateDesc = 'ISSUANCE_DATE_DESC', + IssuerIdAsc = 'ISSUER_ID_ASC', + IssuerIdDesc = 'ISSUER_ID_DESC', + JurisdictionAsc = 'JURISDICTION_ASC', + JurisdictionDesc = 'JURISDICTION_DESC', + LastUpdateDateAsc = 'LAST_UPDATE_DATE_ASC', + LastUpdateDateDesc = 'LAST_UPDATE_DATE_DESC', + Natural = 'NATURAL', + PrimaryKeyAsc = 'PRIMARY_KEY_ASC', + PrimaryKeyDesc = 'PRIMARY_KEY_DESC', + RevokeDateAsc = 'REVOKE_DATE_ASC', + RevokeDateDesc = 'REVOKE_DATE_DESC', + ScopeAsc = 'SCOPE_ASC', + ScopeDesc = 'SCOPE_DESC', + TargetIdAsc = 'TARGET_ID_ASC', + TargetIdDesc = 'TARGET_ID_DESC', + TypeAsc = 'TYPE_ASC', + TypeDesc = 'TYPE_DESC', + UpdatedAtAsc = 'UPDATED_AT_ASC', + UpdatedAtDesc = 'UPDATED_AT_DESC', + UpdatedBlockIdAsc = 'UPDATED_BLOCK_ID_ASC', + UpdatedBlockIdDesc = 'UPDATED_BLOCK_ID_DESC', +} + +/** + * Represents a restriction all investor must comply with for a given Asset + * + * e.g. All investors must be German citizens + */ +export type Compliance = Node & { + __typename?: 'Compliance'; + /** Reads a single `Asset` that is related to this `Compliance`. */ + asset?: Maybe; + assetId: Scalars['String']['output']; + complianceId: Scalars['Int']['output']; + createdAt: Scalars['Datetime']['output']; + /** Reads a single `Block` that is related to this `Compliance`. */ + createdBlock?: Maybe; + createdBlockId: Scalars['String']['output']; + data: Scalars['String']['output']; + id: Scalars['String']['output']; + /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ + nodeId: Scalars['ID']['output']; + updatedAt: Scalars['Datetime']['output']; + /** Reads a single `Block` that is related to this `Compliance`. */ + updatedBlock?: Maybe; + updatedBlockId: Scalars['String']['output']; +}; + +export type ComplianceAggregates = { + __typename?: 'ComplianceAggregates'; + /** Mean average aggregates across the matching connection (ignoring before/after/first/last/offset) */ + average?: Maybe; + /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ + distinctCount?: Maybe; + keys?: Maybe>; + /** Maximum aggregates across the matching connection (ignoring before/after/first/last/offset) */ + max?: Maybe; + /** Minimum aggregates across the matching connection (ignoring before/after/first/last/offset) */ + min?: Maybe; + /** Population standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ + stddevPopulation?: Maybe; + /** Sample standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ + stddevSample?: Maybe; + /** Sum aggregates across the matching connection (ignoring before/after/first/last/offset) */ + sum?: Maybe; + /** Population variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ + variancePopulation?: Maybe; + /** Sample variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ + varianceSample?: Maybe; +}; + +/** A filter to be used against aggregates of `Compliance` object types. */ +export type ComplianceAggregatesFilter = { + /** Mean average aggregate over matching `Compliance` objects. */ + average?: InputMaybe; + /** Distinct count aggregate over matching `Compliance` objects. */ + distinctCount?: InputMaybe; + /** A filter that must pass for the relevant `Compliance` object to be included within the aggregate. */ + filter?: InputMaybe; + /** Maximum aggregate over matching `Compliance` objects. */ + max?: InputMaybe; + /** Minimum aggregate over matching `Compliance` objects. */ + min?: InputMaybe; + /** Population standard deviation aggregate over matching `Compliance` objects. */ + stddevPopulation?: InputMaybe; + /** Sample standard deviation aggregate over matching `Compliance` objects. */ + stddevSample?: InputMaybe; + /** Sum aggregate over matching `Compliance` objects. */ + sum?: InputMaybe; + /** Population variance aggregate over matching `Compliance` objects. */ + variancePopulation?: InputMaybe; + /** Sample variance aggregate over matching `Compliance` objects. */ + varianceSample?: InputMaybe; +}; + +export type ComplianceAverageAggregateFilter = { + complianceId?: InputMaybe; +}; + +export type ComplianceAverageAggregates = { + __typename?: 'ComplianceAverageAggregates'; + /** Mean average of complianceId across the matching connection */ + complianceId?: Maybe; +}; + +export type ComplianceDistinctCountAggregateFilter = { + assetId?: InputMaybe; + complianceId?: InputMaybe; + createdAt?: InputMaybe; + createdBlockId?: InputMaybe; + data?: InputMaybe; + id?: InputMaybe; + updatedAt?: InputMaybe; + updatedBlockId?: InputMaybe; +}; + +export type ComplianceDistinctCountAggregates = { + __typename?: 'ComplianceDistinctCountAggregates'; + /** Distinct count of assetId across the matching connection */ + assetId?: Maybe; + /** Distinct count of complianceId across the matching connection */ + complianceId?: Maybe; + /** Distinct count of createdAt across the matching connection */ + createdAt?: Maybe; + /** Distinct count of createdBlockId across the matching connection */ + createdBlockId?: Maybe; + /** Distinct count of data across the matching connection */ + data?: Maybe; + /** Distinct count of id across the matching connection */ + id?: Maybe; + /** Distinct count of updatedAt across the matching connection */ + updatedAt?: Maybe; + /** Distinct count of updatedBlockId across the matching connection */ + updatedBlockId?: Maybe; +}; + +/** A filter to be used against `Compliance` object types. All fields are combined with a logical ‘and.’ */ +export type ComplianceFilter = { + /** Checks for all expressions in this list. */ + and?: InputMaybe>; + /** Filter by the object’s `asset` relation. */ + asset?: InputMaybe; + /** Filter by the object’s `assetId` field. */ + assetId?: InputMaybe; + /** Filter by the object’s `complianceId` field. */ + complianceId?: InputMaybe; + /** Filter by the object’s `createdAt` field. */ + createdAt?: InputMaybe; + /** Filter by the object’s `createdBlock` relation. */ + createdBlock?: InputMaybe; + /** Filter by the object’s `createdBlockId` field. */ + createdBlockId?: InputMaybe; + /** Filter by the object’s `data` field. */ + data?: InputMaybe; + /** Filter by the object’s `id` field. */ + id?: InputMaybe; + /** Negates the expression. */ + not?: InputMaybe; + /** Checks for any expressions in this list. */ + or?: InputMaybe>; + /** Filter by the object’s `updatedAt` field. */ + updatedAt?: InputMaybe; + /** Filter by the object’s `updatedBlock` relation. */ + updatedBlock?: InputMaybe; + /** Filter by the object’s `updatedBlockId` field. */ + updatedBlockId?: InputMaybe; +}; + +export type ComplianceMaxAggregateFilter = { + complianceId?: InputMaybe; +}; + +export type ComplianceMaxAggregates = { + __typename?: 'ComplianceMaxAggregates'; + /** Maximum of complianceId across the matching connection */ + complianceId?: Maybe; +}; + +export type ComplianceMinAggregateFilter = { + complianceId?: InputMaybe; +}; + +export type ComplianceMinAggregates = { + __typename?: 'ComplianceMinAggregates'; + /** Minimum of complianceId across the matching connection */ + complianceId?: Maybe; +}; + +export type ComplianceStddevPopulationAggregateFilter = { + complianceId?: InputMaybe; +}; + +export type ComplianceStddevPopulationAggregates = { + __typename?: 'ComplianceStddevPopulationAggregates'; + /** Population standard deviation of complianceId across the matching connection */ + complianceId?: Maybe; +}; + +export type ComplianceStddevSampleAggregateFilter = { + complianceId?: InputMaybe; +}; + +export type ComplianceStddevSampleAggregates = { + __typename?: 'ComplianceStddevSampleAggregates'; + /** Sample standard deviation of complianceId across the matching connection */ + complianceId?: Maybe; +}; + +export type ComplianceSumAggregateFilter = { + complianceId?: InputMaybe; +}; + +export type ComplianceSumAggregates = { + __typename?: 'ComplianceSumAggregates'; + /** Sum of complianceId across the matching connection */ + complianceId: Scalars['BigInt']['output']; +}; + +export type ComplianceVariancePopulationAggregateFilter = { + complianceId?: InputMaybe; +}; + +export type ComplianceVariancePopulationAggregates = { + __typename?: 'ComplianceVariancePopulationAggregates'; + /** Population variance of complianceId across the matching connection */ + complianceId?: Maybe; +}; + +export type ComplianceVarianceSampleAggregateFilter = { + complianceId?: InputMaybe; +}; + +export type ComplianceVarianceSampleAggregates = { + __typename?: 'ComplianceVarianceSampleAggregates'; + /** Sample variance of complianceId across the matching connection */ + complianceId?: Maybe; +}; + +/** A connection to a list of `Compliance` values. */ +export type CompliancesConnection = { + __typename?: 'CompliancesConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Compliance` and cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Compliance` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Compliance` you could get from the connection. */ + totalCount: Scalars['Int']['output']; +}; + +/** A connection to a list of `Compliance` values. */ +export type CompliancesConnectionGroupedAggregatesArgs = { + groupBy: Array; + having?: InputMaybe; +}; + +/** A `Compliance` edge in the connection. */ +export type CompliancesEdge = { + __typename?: 'CompliancesEdge'; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Compliance` at the end of the edge. */ + node?: Maybe; +}; + +/** Grouping methods for `Compliance` for usage during aggregation. */ +export enum CompliancesGroupBy { + AssetId = 'ASSET_ID', + ComplianceId = 'COMPLIANCE_ID', + CreatedAt = 'CREATED_AT', + CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', + CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', + CreatedBlockId = 'CREATED_BLOCK_ID', + Data = 'DATA', + UpdatedAt = 'UPDATED_AT', + UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', + UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', + UpdatedBlockId = 'UPDATED_BLOCK_ID', +} + +export type CompliancesHavingAverageInput = { + complianceId?: InputMaybe; + createdAt?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type CompliancesHavingDistinctCountInput = { + complianceId?: InputMaybe; + createdAt?: InputMaybe; + updatedAt?: InputMaybe; +}; + +/** Conditions for `Compliance` aggregates. */ +export type CompliancesHavingInput = { + AND?: InputMaybe>; + OR?: InputMaybe>; + average?: InputMaybe; + distinctCount?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddevPopulation?: InputMaybe; + stddevSample?: InputMaybe; + sum?: InputMaybe; + variancePopulation?: InputMaybe; + varianceSample?: InputMaybe; +}; + +export type CompliancesHavingMaxInput = { + complianceId?: InputMaybe; + createdAt?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type CompliancesHavingMinInput = { + complianceId?: InputMaybe; + createdAt?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type CompliancesHavingStddevPopulationInput = { + complianceId?: InputMaybe; + createdAt?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type CompliancesHavingStddevSampleInput = { + complianceId?: InputMaybe; + createdAt?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type CompliancesHavingSumInput = { + complianceId?: InputMaybe; + createdAt?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type CompliancesHavingVariancePopulationInput = { + complianceId?: InputMaybe; + createdAt?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type CompliancesHavingVarianceSampleInput = { + complianceId?: InputMaybe; + createdAt?: InputMaybe; + updatedAt?: InputMaybe; +}; + +/** Methods to use when ordering `Compliance`. */ +export enum CompliancesOrderBy { + AssetIdAsc = 'ASSET_ID_ASC', + AssetIdDesc = 'ASSET_ID_DESC', + ComplianceIdAsc = 'COMPLIANCE_ID_ASC', + ComplianceIdDesc = 'COMPLIANCE_ID_DESC', + CreatedAtAsc = 'CREATED_AT_ASC', + CreatedAtDesc = 'CREATED_AT_DESC', + CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', + CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', + DataAsc = 'DATA_ASC', + DataDesc = 'DATA_DESC', + IdAsc = 'ID_ASC', + IdDesc = 'ID_DESC', + Natural = 'NATURAL', + PrimaryKeyAsc = 'PRIMARY_KEY_ASC', + PrimaryKeyDesc = 'PRIMARY_KEY_DESC', + UpdatedAtAsc = 'UPDATED_AT_ASC', + UpdatedAtDesc = 'UPDATED_AT_DESC', + UpdatedBlockIdAsc = 'UPDATED_BLOCK_ID_ASC', + UpdatedBlockIdDesc = 'UPDATED_BLOCK_ID_DESC', +} + +/** Represents a confidential account */ +export type ConfidentialAccount = Node & { + __typename?: 'ConfidentialAccount'; + account: Scalars['String']['output']; + /** Reads and enables pagination through a set of `Block`. */ + blocksByConfidentialAssetHistoryFromIdAndCreatedBlockId: ConfidentialAccountBlocksByConfidentialAssetHistoryFromIdAndCreatedBlockIdManyToManyConnection; + /** Reads and enables pagination through a set of `Block`. */ + blocksByConfidentialAssetHistoryFromIdAndUpdatedBlockId: ConfidentialAccountBlocksByConfidentialAssetHistoryFromIdAndUpdatedBlockIdManyToManyConnection; + /** Reads and enables pagination through a set of `Block`. */ + blocksByConfidentialAssetHistoryToIdAndCreatedBlockId: ConfidentialAccountBlocksByConfidentialAssetHistoryToIdAndCreatedBlockIdManyToManyConnection; + /** Reads and enables pagination through a set of `Block`. */ + blocksByConfidentialAssetHistoryToIdAndUpdatedBlockId: ConfidentialAccountBlocksByConfidentialAssetHistoryToIdAndUpdatedBlockIdManyToManyConnection; + /** Reads and enables pagination through a set of `Block`. */ + blocksByConfidentialAssetHolderAccountIdAndCreatedBlockId: ConfidentialAccountBlocksByConfidentialAssetHolderAccountIdAndCreatedBlockIdManyToManyConnection; + /** Reads and enables pagination through a set of `Block`. */ + blocksByConfidentialAssetHolderAccountIdAndUpdatedBlockId: ConfidentialAccountBlocksByConfidentialAssetHolderAccountIdAndUpdatedBlockIdManyToManyConnection; + /** Reads and enables pagination through a set of `Block`. */ + blocksByConfidentialLegReceiverIdAndCreatedBlockId: ConfidentialAccountBlocksByConfidentialLegReceiverIdAndCreatedBlockIdManyToManyConnection; + /** Reads and enables pagination through a set of `Block`. */ + blocksByConfidentialLegReceiverIdAndUpdatedBlockId: ConfidentialAccountBlocksByConfidentialLegReceiverIdAndUpdatedBlockIdManyToManyConnection; + /** Reads and enables pagination through a set of `Block`. */ + blocksByConfidentialLegSenderIdAndCreatedBlockId: ConfidentialAccountBlocksByConfidentialLegSenderIdAndCreatedBlockIdManyToManyConnection; + /** Reads and enables pagination through a set of `Block`. */ + blocksByConfidentialLegSenderIdAndUpdatedBlockId: ConfidentialAccountBlocksByConfidentialLegSenderIdAndUpdatedBlockIdManyToManyConnection; + /** Reads and enables pagination through a set of `Block`. */ + blocksByConfidentialTransactionAffirmationAccountIdAndCreatedBlockId: ConfidentialAccountBlocksByConfidentialTransactionAffirmationAccountIdAndCreatedBlockIdManyToManyConnection; + /** Reads and enables pagination through a set of `Block`. */ + blocksByConfidentialTransactionAffirmationAccountIdAndUpdatedBlockId: ConfidentialAccountBlocksByConfidentialTransactionAffirmationAccountIdAndUpdatedBlockIdManyToManyConnection; + /** Reads and enables pagination through a set of `ConfidentialAccount`. */ + confidentialAccountsByConfidentialAssetHistoryFromIdAndToId: ConfidentialAccountConfidentialAccountsByConfidentialAssetHistoryFromIdAndToIdManyToManyConnection; + /** Reads and enables pagination through a set of `ConfidentialAccount`. */ + confidentialAccountsByConfidentialAssetHistoryToIdAndFromId: ConfidentialAccountConfidentialAccountsByConfidentialAssetHistoryToIdAndFromIdManyToManyConnection; + /** Reads and enables pagination through a set of `ConfidentialAccount`. */ + confidentialAccountsByConfidentialLegReceiverIdAndSenderId: ConfidentialAccountConfidentialAccountsByConfidentialLegReceiverIdAndSenderIdManyToManyConnection; + /** Reads and enables pagination through a set of `ConfidentialAccount`. */ + confidentialAccountsByConfidentialLegSenderIdAndReceiverId: ConfidentialAccountConfidentialAccountsByConfidentialLegSenderIdAndReceiverIdManyToManyConnection; + /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ + confidentialAssetHistoriesByFromId: ConfidentialAssetHistoriesConnection; + /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ + confidentialAssetHistoriesByToId: ConfidentialAssetHistoriesConnection; + /** Reads and enables pagination through a set of `ConfidentialAssetHolder`. */ + confidentialAssetHoldersByAccountId: ConfidentialAssetHoldersConnection; + /** Reads and enables pagination through a set of `ConfidentialAsset`. */ + confidentialAssetsByConfidentialAssetHistoryFromIdAndAssetId: ConfidentialAccountConfidentialAssetsByConfidentialAssetHistoryFromIdAndAssetIdManyToManyConnection; + /** Reads and enables pagination through a set of `ConfidentialAsset`. */ + confidentialAssetsByConfidentialAssetHistoryToIdAndAssetId: ConfidentialAccountConfidentialAssetsByConfidentialAssetHistoryToIdAndAssetIdManyToManyConnection; + /** Reads and enables pagination through a set of `ConfidentialAsset`. */ + confidentialAssetsByConfidentialAssetHolderAccountIdAndAssetId: ConfidentialAccountConfidentialAssetsByConfidentialAssetHolderAccountIdAndAssetIdManyToManyConnection; + /** Reads and enables pagination through a set of `ConfidentialLeg`. */ + confidentialLegsByReceiverId: ConfidentialLegsConnection; + /** Reads and enables pagination through a set of `ConfidentialLeg`. */ + confidentialLegsBySenderId: ConfidentialLegsConnection; + /** Reads and enables pagination through a set of `ConfidentialTransactionAffirmation`. */ + confidentialTransactionAffirmationsByAccountId: ConfidentialTransactionAffirmationsConnection; + /** Reads and enables pagination through a set of `ConfidentialTransaction`. */ + confidentialTransactionsByConfidentialAssetHistoryFromIdAndTransactionId: ConfidentialAccountConfidentialTransactionsByConfidentialAssetHistoryFromIdAndTransactionIdManyToManyConnection; + /** Reads and enables pagination through a set of `ConfidentialTransaction`. */ + confidentialTransactionsByConfidentialAssetHistoryToIdAndTransactionId: ConfidentialAccountConfidentialTransactionsByConfidentialAssetHistoryToIdAndTransactionIdManyToManyConnection; + /** Reads and enables pagination through a set of `ConfidentialTransaction`. */ + confidentialTransactionsByConfidentialLegReceiverIdAndTransactionId: ConfidentialAccountConfidentialTransactionsByConfidentialLegReceiverIdAndTransactionIdManyToManyConnection; + /** Reads and enables pagination through a set of `ConfidentialTransaction`. */ + confidentialTransactionsByConfidentialLegSenderIdAndTransactionId: ConfidentialAccountConfidentialTransactionsByConfidentialLegSenderIdAndTransactionIdManyToManyConnection; + /** Reads and enables pagination through a set of `ConfidentialTransaction`. */ + confidentialTransactionsByConfidentialTransactionAffirmationAccountIdAndTransactionId: ConfidentialAccountConfidentialTransactionsByConfidentialTransactionAffirmationAccountIdAndTransactionIdManyToManyConnection; + createdAt: Scalars['Datetime']['output']; + /** Reads a single `Block` that is related to this `ConfidentialAccount`. */ + createdBlock?: Maybe; + createdBlockId: Scalars['String']['output']; + /** Reads a single `Identity` that is related to this `ConfidentialAccount`. */ + creator?: Maybe; + creatorId: Scalars['String']['output']; + id: Scalars['String']['output']; + /** Reads and enables pagination through a set of `Identity`. */ + identitiesByConfidentialTransactionAffirmationAccountIdAndIdentityId: ConfidentialAccountIdentitiesByConfidentialTransactionAffirmationAccountIdAndIdentityIdManyToManyConnection; + /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ + nodeId: Scalars['ID']['output']; + updatedAt: Scalars['Datetime']['output']; + /** Reads a single `Block` that is related to this `ConfidentialAccount`. */ + updatedBlock?: Maybe; + updatedBlockId: Scalars['String']['output']; +}; + +/** Represents a confidential account */ +export type ConfidentialAccountBlocksByConfidentialAssetHistoryFromIdAndCreatedBlockIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** Represents a confidential account */ +export type ConfidentialAccountBlocksByConfidentialAssetHistoryFromIdAndUpdatedBlockIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** Represents a confidential account */ +export type ConfidentialAccountBlocksByConfidentialAssetHistoryToIdAndCreatedBlockIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** Represents a confidential account */ +export type ConfidentialAccountBlocksByConfidentialAssetHistoryToIdAndUpdatedBlockIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** Represents a confidential account */ +export type ConfidentialAccountBlocksByConfidentialAssetHolderAccountIdAndCreatedBlockIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** Represents a confidential account */ +export type ConfidentialAccountBlocksByConfidentialAssetHolderAccountIdAndUpdatedBlockIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** Represents a confidential account */ +export type ConfidentialAccountBlocksByConfidentialLegReceiverIdAndCreatedBlockIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** Represents a confidential account */ +export type ConfidentialAccountBlocksByConfidentialLegReceiverIdAndUpdatedBlockIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** Represents a confidential account */ +export type ConfidentialAccountBlocksByConfidentialLegSenderIdAndCreatedBlockIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** Represents a confidential account */ +export type ConfidentialAccountBlocksByConfidentialLegSenderIdAndUpdatedBlockIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** Represents a confidential account */ +export type ConfidentialAccountBlocksByConfidentialTransactionAffirmationAccountIdAndCreatedBlockIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** Represents a confidential account */ +export type ConfidentialAccountBlocksByConfidentialTransactionAffirmationAccountIdAndUpdatedBlockIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** Represents a confidential account */ +export type ConfidentialAccountConfidentialAccountsByConfidentialAssetHistoryFromIdAndToIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** Represents a confidential account */ +export type ConfidentialAccountConfidentialAccountsByConfidentialAssetHistoryToIdAndFromIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** Represents a confidential account */ +export type ConfidentialAccountConfidentialAccountsByConfidentialLegReceiverIdAndSenderIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** Represents a confidential account */ +export type ConfidentialAccountConfidentialAccountsByConfidentialLegSenderIdAndReceiverIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** Represents a confidential account */ +export type ConfidentialAccountConfidentialAssetHistoriesByFromIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** Represents a confidential account */ +export type ConfidentialAccountConfidentialAssetHistoriesByToIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** Represents a confidential account */ +export type ConfidentialAccountConfidentialAssetHoldersByAccountIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** Represents a confidential account */ +export type ConfidentialAccountConfidentialAssetsByConfidentialAssetHistoryFromIdAndAssetIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** Represents a confidential account */ +export type ConfidentialAccountConfidentialAssetsByConfidentialAssetHistoryToIdAndAssetIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** Represents a confidential account */ +export type ConfidentialAccountConfidentialAssetsByConfidentialAssetHolderAccountIdAndAssetIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** Represents a confidential account */ +export type ConfidentialAccountConfidentialLegsByReceiverIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** Represents a confidential account */ +export type ConfidentialAccountConfidentialLegsBySenderIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** Represents a confidential account */ +export type ConfidentialAccountConfidentialTransactionAffirmationsByAccountIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** Represents a confidential account */ +export type ConfidentialAccountConfidentialTransactionsByConfidentialAssetHistoryFromIdAndTransactionIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** Represents a confidential account */ +export type ConfidentialAccountConfidentialTransactionsByConfidentialAssetHistoryToIdAndTransactionIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** Represents a confidential account */ +export type ConfidentialAccountConfidentialTransactionsByConfidentialLegReceiverIdAndTransactionIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** Represents a confidential account */ +export type ConfidentialAccountConfidentialTransactionsByConfidentialLegSenderIdAndTransactionIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** Represents a confidential account */ +export type ConfidentialAccountConfidentialTransactionsByConfidentialTransactionAffirmationAccountIdAndTransactionIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** Represents a confidential account */ +export type ConfidentialAccountIdentitiesByConfidentialTransactionAffirmationAccountIdAndIdentityIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +export type ConfidentialAccountAggregates = { + __typename?: 'ConfidentialAccountAggregates'; + /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ + distinctCount?: Maybe; + keys?: Maybe>; +}; + +/** A filter to be used against aggregates of `ConfidentialAccount` object types. */ +export type ConfidentialAccountAggregatesFilter = { + /** Distinct count aggregate over matching `ConfidentialAccount` objects. */ + distinctCount?: InputMaybe; + /** A filter that must pass for the relevant `ConfidentialAccount` object to be included within the aggregate. */ + filter?: InputMaybe; +}; + +/** A connection to a list of `Block` values, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialAccountBlocksByConfidentialAssetHistoryFromIdAndCreatedBlockIdManyToManyConnection = + { + __typename?: 'ConfidentialAccountBlocksByConfidentialAssetHistoryFromIdAndCreatedBlockIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Block`, info from the `ConfidentialAssetHistory`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Block` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Block` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialAccountBlocksByConfidentialAssetHistoryFromIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Block` edge in the connection, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialAccountBlocksByConfidentialAssetHistoryFromIdAndCreatedBlockIdManyToManyEdge = + { + __typename?: 'ConfidentialAccountBlocksByConfidentialAssetHistoryFromIdAndCreatedBlockIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ + confidentialAssetHistoriesByCreatedBlockId: ConfidentialAssetHistoriesConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Block` at the end of the edge. */ + node?: Maybe; + }; + +/** A `Block` edge in the connection, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialAccountBlocksByConfidentialAssetHistoryFromIdAndCreatedBlockIdManyToManyEdgeConfidentialAssetHistoriesByCreatedBlockIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialAccountBlocksByConfidentialAssetHistoryFromIdAndUpdatedBlockIdManyToManyConnection = + { + __typename?: 'ConfidentialAccountBlocksByConfidentialAssetHistoryFromIdAndUpdatedBlockIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Block`, info from the `ConfidentialAssetHistory`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Block` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Block` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialAccountBlocksByConfidentialAssetHistoryFromIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Block` edge in the connection, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialAccountBlocksByConfidentialAssetHistoryFromIdAndUpdatedBlockIdManyToManyEdge = + { + __typename?: 'ConfidentialAccountBlocksByConfidentialAssetHistoryFromIdAndUpdatedBlockIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ + confidentialAssetHistoriesByUpdatedBlockId: ConfidentialAssetHistoriesConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Block` at the end of the edge. */ + node?: Maybe; + }; + +/** A `Block` edge in the connection, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialAccountBlocksByConfidentialAssetHistoryFromIdAndUpdatedBlockIdManyToManyEdgeConfidentialAssetHistoriesByUpdatedBlockIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialAccountBlocksByConfidentialAssetHistoryToIdAndCreatedBlockIdManyToManyConnection = + { + __typename?: 'ConfidentialAccountBlocksByConfidentialAssetHistoryToIdAndCreatedBlockIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Block`, info from the `ConfidentialAssetHistory`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Block` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Block` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialAccountBlocksByConfidentialAssetHistoryToIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Block` edge in the connection, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialAccountBlocksByConfidentialAssetHistoryToIdAndCreatedBlockIdManyToManyEdge = + { + __typename?: 'ConfidentialAccountBlocksByConfidentialAssetHistoryToIdAndCreatedBlockIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ + confidentialAssetHistoriesByCreatedBlockId: ConfidentialAssetHistoriesConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Block` at the end of the edge. */ + node?: Maybe; + }; + +/** A `Block` edge in the connection, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialAccountBlocksByConfidentialAssetHistoryToIdAndCreatedBlockIdManyToManyEdgeConfidentialAssetHistoriesByCreatedBlockIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialAccountBlocksByConfidentialAssetHistoryToIdAndUpdatedBlockIdManyToManyConnection = + { + __typename?: 'ConfidentialAccountBlocksByConfidentialAssetHistoryToIdAndUpdatedBlockIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Block`, info from the `ConfidentialAssetHistory`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Block` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Block` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialAccountBlocksByConfidentialAssetHistoryToIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Block` edge in the connection, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialAccountBlocksByConfidentialAssetHistoryToIdAndUpdatedBlockIdManyToManyEdge = + { + __typename?: 'ConfidentialAccountBlocksByConfidentialAssetHistoryToIdAndUpdatedBlockIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ + confidentialAssetHistoriesByUpdatedBlockId: ConfidentialAssetHistoriesConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Block` at the end of the edge. */ + node?: Maybe; + }; + +/** A `Block` edge in the connection, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialAccountBlocksByConfidentialAssetHistoryToIdAndUpdatedBlockIdManyToManyEdgeConfidentialAssetHistoriesByUpdatedBlockIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialAssetHolder`. */ +export type ConfidentialAccountBlocksByConfidentialAssetHolderAccountIdAndCreatedBlockIdManyToManyConnection = + { + __typename?: 'ConfidentialAccountBlocksByConfidentialAssetHolderAccountIdAndCreatedBlockIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Block`, info from the `ConfidentialAssetHolder`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Block` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Block` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialAssetHolder`. */ +export type ConfidentialAccountBlocksByConfidentialAssetHolderAccountIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Block` edge in the connection, with data from `ConfidentialAssetHolder`. */ +export type ConfidentialAccountBlocksByConfidentialAssetHolderAccountIdAndCreatedBlockIdManyToManyEdge = + { + __typename?: 'ConfidentialAccountBlocksByConfidentialAssetHolderAccountIdAndCreatedBlockIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialAssetHolder`. */ + confidentialAssetHoldersByCreatedBlockId: ConfidentialAssetHoldersConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Block` at the end of the edge. */ + node?: Maybe; + }; + +/** A `Block` edge in the connection, with data from `ConfidentialAssetHolder`. */ +export type ConfidentialAccountBlocksByConfidentialAssetHolderAccountIdAndCreatedBlockIdManyToManyEdgeConfidentialAssetHoldersByCreatedBlockIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialAssetHolder`. */ +export type ConfidentialAccountBlocksByConfidentialAssetHolderAccountIdAndUpdatedBlockIdManyToManyConnection = + { + __typename?: 'ConfidentialAccountBlocksByConfidentialAssetHolderAccountIdAndUpdatedBlockIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Block`, info from the `ConfidentialAssetHolder`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Block` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Block` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialAssetHolder`. */ +export type ConfidentialAccountBlocksByConfidentialAssetHolderAccountIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Block` edge in the connection, with data from `ConfidentialAssetHolder`. */ +export type ConfidentialAccountBlocksByConfidentialAssetHolderAccountIdAndUpdatedBlockIdManyToManyEdge = + { + __typename?: 'ConfidentialAccountBlocksByConfidentialAssetHolderAccountIdAndUpdatedBlockIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialAssetHolder`. */ + confidentialAssetHoldersByUpdatedBlockId: ConfidentialAssetHoldersConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Block` at the end of the edge. */ + node?: Maybe; + }; + +/** A `Block` edge in the connection, with data from `ConfidentialAssetHolder`. */ +export type ConfidentialAccountBlocksByConfidentialAssetHolderAccountIdAndUpdatedBlockIdManyToManyEdgeConfidentialAssetHoldersByUpdatedBlockIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialLeg`. */ +export type ConfidentialAccountBlocksByConfidentialLegReceiverIdAndCreatedBlockIdManyToManyConnection = + { + __typename?: 'ConfidentialAccountBlocksByConfidentialLegReceiverIdAndCreatedBlockIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Block`, info from the `ConfidentialLeg`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Block` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Block` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialLeg`. */ +export type ConfidentialAccountBlocksByConfidentialLegReceiverIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Block` edge in the connection, with data from `ConfidentialLeg`. */ +export type ConfidentialAccountBlocksByConfidentialLegReceiverIdAndCreatedBlockIdManyToManyEdge = { + __typename?: 'ConfidentialAccountBlocksByConfidentialLegReceiverIdAndCreatedBlockIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialLeg`. */ + confidentialLegsByCreatedBlockId: ConfidentialLegsConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Block` at the end of the edge. */ + node?: Maybe; +}; + +/** A `Block` edge in the connection, with data from `ConfidentialLeg`. */ +export type ConfidentialAccountBlocksByConfidentialLegReceiverIdAndCreatedBlockIdManyToManyEdgeConfidentialLegsByCreatedBlockIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialLeg`. */ +export type ConfidentialAccountBlocksByConfidentialLegReceiverIdAndUpdatedBlockIdManyToManyConnection = + { + __typename?: 'ConfidentialAccountBlocksByConfidentialLegReceiverIdAndUpdatedBlockIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Block`, info from the `ConfidentialLeg`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Block` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Block` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialLeg`. */ +export type ConfidentialAccountBlocksByConfidentialLegReceiverIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Block` edge in the connection, with data from `ConfidentialLeg`. */ +export type ConfidentialAccountBlocksByConfidentialLegReceiverIdAndUpdatedBlockIdManyToManyEdge = { + __typename?: 'ConfidentialAccountBlocksByConfidentialLegReceiverIdAndUpdatedBlockIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialLeg`. */ + confidentialLegsByUpdatedBlockId: ConfidentialLegsConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Block` at the end of the edge. */ + node?: Maybe; +}; + +/** A `Block` edge in the connection, with data from `ConfidentialLeg`. */ +export type ConfidentialAccountBlocksByConfidentialLegReceiverIdAndUpdatedBlockIdManyToManyEdgeConfidentialLegsByUpdatedBlockIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialLeg`. */ +export type ConfidentialAccountBlocksByConfidentialLegSenderIdAndCreatedBlockIdManyToManyConnection = + { + __typename?: 'ConfidentialAccountBlocksByConfidentialLegSenderIdAndCreatedBlockIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Block`, info from the `ConfidentialLeg`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Block` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Block` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialLeg`. */ +export type ConfidentialAccountBlocksByConfidentialLegSenderIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Block` edge in the connection, with data from `ConfidentialLeg`. */ +export type ConfidentialAccountBlocksByConfidentialLegSenderIdAndCreatedBlockIdManyToManyEdge = { + __typename?: 'ConfidentialAccountBlocksByConfidentialLegSenderIdAndCreatedBlockIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialLeg`. */ + confidentialLegsByCreatedBlockId: ConfidentialLegsConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Block` at the end of the edge. */ + node?: Maybe; +}; + +/** A `Block` edge in the connection, with data from `ConfidentialLeg`. */ +export type ConfidentialAccountBlocksByConfidentialLegSenderIdAndCreatedBlockIdManyToManyEdgeConfidentialLegsByCreatedBlockIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialLeg`. */ +export type ConfidentialAccountBlocksByConfidentialLegSenderIdAndUpdatedBlockIdManyToManyConnection = + { + __typename?: 'ConfidentialAccountBlocksByConfidentialLegSenderIdAndUpdatedBlockIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Block`, info from the `ConfidentialLeg`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Block` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Block` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialLeg`. */ +export type ConfidentialAccountBlocksByConfidentialLegSenderIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Block` edge in the connection, with data from `ConfidentialLeg`. */ +export type ConfidentialAccountBlocksByConfidentialLegSenderIdAndUpdatedBlockIdManyToManyEdge = { + __typename?: 'ConfidentialAccountBlocksByConfidentialLegSenderIdAndUpdatedBlockIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialLeg`. */ + confidentialLegsByUpdatedBlockId: ConfidentialLegsConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Block` at the end of the edge. */ + node?: Maybe; +}; + +/** A `Block` edge in the connection, with data from `ConfidentialLeg`. */ +export type ConfidentialAccountBlocksByConfidentialLegSenderIdAndUpdatedBlockIdManyToManyEdgeConfidentialLegsByUpdatedBlockIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialTransactionAffirmation`. */ +export type ConfidentialAccountBlocksByConfidentialTransactionAffirmationAccountIdAndCreatedBlockIdManyToManyConnection = + { + __typename?: 'ConfidentialAccountBlocksByConfidentialTransactionAffirmationAccountIdAndCreatedBlockIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Block`, info from the `ConfidentialTransactionAffirmation`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Block` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Block` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialTransactionAffirmation`. */ +export type ConfidentialAccountBlocksByConfidentialTransactionAffirmationAccountIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Block` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ +export type ConfidentialAccountBlocksByConfidentialTransactionAffirmationAccountIdAndCreatedBlockIdManyToManyEdge = + { + __typename?: 'ConfidentialAccountBlocksByConfidentialTransactionAffirmationAccountIdAndCreatedBlockIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialTransactionAffirmation`. */ + confidentialTransactionAffirmationsByCreatedBlockId: ConfidentialTransactionAffirmationsConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Block` at the end of the edge. */ + node?: Maybe; + }; + +/** A `Block` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ +export type ConfidentialAccountBlocksByConfidentialTransactionAffirmationAccountIdAndCreatedBlockIdManyToManyEdgeConfidentialTransactionAffirmationsByCreatedBlockIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialTransactionAffirmation`. */ +export type ConfidentialAccountBlocksByConfidentialTransactionAffirmationAccountIdAndUpdatedBlockIdManyToManyConnection = + { + __typename?: 'ConfidentialAccountBlocksByConfidentialTransactionAffirmationAccountIdAndUpdatedBlockIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Block`, info from the `ConfidentialTransactionAffirmation`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Block` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Block` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialTransactionAffirmation`. */ +export type ConfidentialAccountBlocksByConfidentialTransactionAffirmationAccountIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Block` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ +export type ConfidentialAccountBlocksByConfidentialTransactionAffirmationAccountIdAndUpdatedBlockIdManyToManyEdge = + { + __typename?: 'ConfidentialAccountBlocksByConfidentialTransactionAffirmationAccountIdAndUpdatedBlockIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialTransactionAffirmation`. */ + confidentialTransactionAffirmationsByUpdatedBlockId: ConfidentialTransactionAffirmationsConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Block` at the end of the edge. */ + node?: Maybe; + }; + +/** A `Block` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ +export type ConfidentialAccountBlocksByConfidentialTransactionAffirmationAccountIdAndUpdatedBlockIdManyToManyEdgeConfidentialTransactionAffirmationsByUpdatedBlockIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialAccountConfidentialAccountsByConfidentialAssetHistoryFromIdAndToIdManyToManyConnection = + { + __typename?: 'ConfidentialAccountConfidentialAccountsByConfidentialAssetHistoryFromIdAndToIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `ConfidentialAccount`, info from the `ConfidentialAssetHistory`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `ConfidentialAccount` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `ConfidentialAccount` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; + +/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialAccountConfidentialAccountsByConfidentialAssetHistoryFromIdAndToIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialAccountConfidentialAccountsByConfidentialAssetHistoryFromIdAndToIdManyToManyEdge = + { + __typename?: 'ConfidentialAccountConfidentialAccountsByConfidentialAssetHistoryFromIdAndToIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ + confidentialAssetHistoriesByToId: ConfidentialAssetHistoriesConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `ConfidentialAccount` at the end of the edge. */ + node?: Maybe; + }; + +/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialAccountConfidentialAccountsByConfidentialAssetHistoryFromIdAndToIdManyToManyEdgeConfidentialAssetHistoriesByToIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialAccountConfidentialAccountsByConfidentialAssetHistoryToIdAndFromIdManyToManyConnection = + { + __typename?: 'ConfidentialAccountConfidentialAccountsByConfidentialAssetHistoryToIdAndFromIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `ConfidentialAccount`, info from the `ConfidentialAssetHistory`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `ConfidentialAccount` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `ConfidentialAccount` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; + +/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialAccountConfidentialAccountsByConfidentialAssetHistoryToIdAndFromIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialAccountConfidentialAccountsByConfidentialAssetHistoryToIdAndFromIdManyToManyEdge = + { + __typename?: 'ConfidentialAccountConfidentialAccountsByConfidentialAssetHistoryToIdAndFromIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ + confidentialAssetHistoriesByFromId: ConfidentialAssetHistoriesConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `ConfidentialAccount` at the end of the edge. */ + node?: Maybe; + }; + +/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialAccountConfidentialAccountsByConfidentialAssetHistoryToIdAndFromIdManyToManyEdgeConfidentialAssetHistoriesByFromIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialLeg`. */ +export type ConfidentialAccountConfidentialAccountsByConfidentialLegReceiverIdAndSenderIdManyToManyConnection = + { + __typename?: 'ConfidentialAccountConfidentialAccountsByConfidentialLegReceiverIdAndSenderIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `ConfidentialAccount`, info from the `ConfidentialLeg`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `ConfidentialAccount` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `ConfidentialAccount` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; + +/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialLeg`. */ +export type ConfidentialAccountConfidentialAccountsByConfidentialLegReceiverIdAndSenderIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialLeg`. */ +export type ConfidentialAccountConfidentialAccountsByConfidentialLegReceiverIdAndSenderIdManyToManyEdge = + { + __typename?: 'ConfidentialAccountConfidentialAccountsByConfidentialLegReceiverIdAndSenderIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialLeg`. */ + confidentialLegsBySenderId: ConfidentialLegsConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `ConfidentialAccount` at the end of the edge. */ + node?: Maybe; + }; + +/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialLeg`. */ +export type ConfidentialAccountConfidentialAccountsByConfidentialLegReceiverIdAndSenderIdManyToManyEdgeConfidentialLegsBySenderIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialLeg`. */ +export type ConfidentialAccountConfidentialAccountsByConfidentialLegSenderIdAndReceiverIdManyToManyConnection = + { + __typename?: 'ConfidentialAccountConfidentialAccountsByConfidentialLegSenderIdAndReceiverIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `ConfidentialAccount`, info from the `ConfidentialLeg`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `ConfidentialAccount` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `ConfidentialAccount` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; + +/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialLeg`. */ +export type ConfidentialAccountConfidentialAccountsByConfidentialLegSenderIdAndReceiverIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialLeg`. */ +export type ConfidentialAccountConfidentialAccountsByConfidentialLegSenderIdAndReceiverIdManyToManyEdge = + { + __typename?: 'ConfidentialAccountConfidentialAccountsByConfidentialLegSenderIdAndReceiverIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialLeg`. */ + confidentialLegsByReceiverId: ConfidentialLegsConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `ConfidentialAccount` at the end of the edge. */ + node?: Maybe; + }; + +/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialLeg`. */ +export type ConfidentialAccountConfidentialAccountsByConfidentialLegSenderIdAndReceiverIdManyToManyEdgeConfidentialLegsByReceiverIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `ConfidentialAsset` values, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialAccountConfidentialAssetsByConfidentialAssetHistoryFromIdAndAssetIdManyToManyConnection = + { + __typename?: 'ConfidentialAccountConfidentialAssetsByConfidentialAssetHistoryFromIdAndAssetIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `ConfidentialAsset`, info from the `ConfidentialAssetHistory`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `ConfidentialAsset` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `ConfidentialAsset` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; + +/** A connection to a list of `ConfidentialAsset` values, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialAccountConfidentialAssetsByConfidentialAssetHistoryFromIdAndAssetIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `ConfidentialAsset` edge in the connection, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialAccountConfidentialAssetsByConfidentialAssetHistoryFromIdAndAssetIdManyToManyEdge = + { + __typename?: 'ConfidentialAccountConfidentialAssetsByConfidentialAssetHistoryFromIdAndAssetIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ + confidentialAssetHistoriesByAssetId: ConfidentialAssetHistoriesConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `ConfidentialAsset` at the end of the edge. */ + node?: Maybe; + }; + +/** A `ConfidentialAsset` edge in the connection, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialAccountConfidentialAssetsByConfidentialAssetHistoryFromIdAndAssetIdManyToManyEdgeConfidentialAssetHistoriesByAssetIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `ConfidentialAsset` values, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialAccountConfidentialAssetsByConfidentialAssetHistoryToIdAndAssetIdManyToManyConnection = + { + __typename?: 'ConfidentialAccountConfidentialAssetsByConfidentialAssetHistoryToIdAndAssetIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `ConfidentialAsset`, info from the `ConfidentialAssetHistory`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `ConfidentialAsset` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `ConfidentialAsset` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; + +/** A connection to a list of `ConfidentialAsset` values, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialAccountConfidentialAssetsByConfidentialAssetHistoryToIdAndAssetIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `ConfidentialAsset` edge in the connection, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialAccountConfidentialAssetsByConfidentialAssetHistoryToIdAndAssetIdManyToManyEdge = + { + __typename?: 'ConfidentialAccountConfidentialAssetsByConfidentialAssetHistoryToIdAndAssetIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ + confidentialAssetHistoriesByAssetId: ConfidentialAssetHistoriesConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `ConfidentialAsset` at the end of the edge. */ + node?: Maybe; + }; + +/** A `ConfidentialAsset` edge in the connection, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialAccountConfidentialAssetsByConfidentialAssetHistoryToIdAndAssetIdManyToManyEdgeConfidentialAssetHistoriesByAssetIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `ConfidentialAsset` values, with data from `ConfidentialAssetHolder`. */ +export type ConfidentialAccountConfidentialAssetsByConfidentialAssetHolderAccountIdAndAssetIdManyToManyConnection = + { + __typename?: 'ConfidentialAccountConfidentialAssetsByConfidentialAssetHolderAccountIdAndAssetIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `ConfidentialAsset`, info from the `ConfidentialAssetHolder`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `ConfidentialAsset` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `ConfidentialAsset` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; + +/** A connection to a list of `ConfidentialAsset` values, with data from `ConfidentialAssetHolder`. */ +export type ConfidentialAccountConfidentialAssetsByConfidentialAssetHolderAccountIdAndAssetIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `ConfidentialAsset` edge in the connection, with data from `ConfidentialAssetHolder`. */ +export type ConfidentialAccountConfidentialAssetsByConfidentialAssetHolderAccountIdAndAssetIdManyToManyEdge = + { + __typename?: 'ConfidentialAccountConfidentialAssetsByConfidentialAssetHolderAccountIdAndAssetIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialAssetHolder`. */ + confidentialAssetHoldersByAssetId: ConfidentialAssetHoldersConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `ConfidentialAsset` at the end of the edge. */ + node?: Maybe; + }; + +/** A `ConfidentialAsset` edge in the connection, with data from `ConfidentialAssetHolder`. */ +export type ConfidentialAccountConfidentialAssetsByConfidentialAssetHolderAccountIdAndAssetIdManyToManyEdgeConfidentialAssetHoldersByAssetIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `ConfidentialTransaction` values, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialAccountConfidentialTransactionsByConfidentialAssetHistoryFromIdAndTransactionIdManyToManyConnection = + { + __typename?: 'ConfidentialAccountConfidentialTransactionsByConfidentialAssetHistoryFromIdAndTransactionIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `ConfidentialTransaction`, info from the `ConfidentialAssetHistory`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `ConfidentialTransaction` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `ConfidentialTransaction` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; + +/** A connection to a list of `ConfidentialTransaction` values, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialAccountConfidentialTransactionsByConfidentialAssetHistoryFromIdAndTransactionIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `ConfidentialTransaction` edge in the connection, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialAccountConfidentialTransactionsByConfidentialAssetHistoryFromIdAndTransactionIdManyToManyEdge = + { + __typename?: 'ConfidentialAccountConfidentialTransactionsByConfidentialAssetHistoryFromIdAndTransactionIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ + confidentialAssetHistoriesByTransactionId: ConfidentialAssetHistoriesConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `ConfidentialTransaction` at the end of the edge. */ + node?: Maybe; + }; + +/** A `ConfidentialTransaction` edge in the connection, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialAccountConfidentialTransactionsByConfidentialAssetHistoryFromIdAndTransactionIdManyToManyEdgeConfidentialAssetHistoriesByTransactionIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `ConfidentialTransaction` values, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialAccountConfidentialTransactionsByConfidentialAssetHistoryToIdAndTransactionIdManyToManyConnection = + { + __typename?: 'ConfidentialAccountConfidentialTransactionsByConfidentialAssetHistoryToIdAndTransactionIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `ConfidentialTransaction`, info from the `ConfidentialAssetHistory`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `ConfidentialTransaction` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `ConfidentialTransaction` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; + +/** A connection to a list of `ConfidentialTransaction` values, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialAccountConfidentialTransactionsByConfidentialAssetHistoryToIdAndTransactionIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `ConfidentialTransaction` edge in the connection, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialAccountConfidentialTransactionsByConfidentialAssetHistoryToIdAndTransactionIdManyToManyEdge = + { + __typename?: 'ConfidentialAccountConfidentialTransactionsByConfidentialAssetHistoryToIdAndTransactionIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ + confidentialAssetHistoriesByTransactionId: ConfidentialAssetHistoriesConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `ConfidentialTransaction` at the end of the edge. */ + node?: Maybe; + }; + +/** A `ConfidentialTransaction` edge in the connection, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialAccountConfidentialTransactionsByConfidentialAssetHistoryToIdAndTransactionIdManyToManyEdgeConfidentialAssetHistoriesByTransactionIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `ConfidentialTransaction` values, with data from `ConfidentialLeg`. */ +export type ConfidentialAccountConfidentialTransactionsByConfidentialLegReceiverIdAndTransactionIdManyToManyConnection = + { + __typename?: 'ConfidentialAccountConfidentialTransactionsByConfidentialLegReceiverIdAndTransactionIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `ConfidentialTransaction`, info from the `ConfidentialLeg`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `ConfidentialTransaction` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `ConfidentialTransaction` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; + +/** A connection to a list of `ConfidentialTransaction` values, with data from `ConfidentialLeg`. */ +export type ConfidentialAccountConfidentialTransactionsByConfidentialLegReceiverIdAndTransactionIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `ConfidentialTransaction` edge in the connection, with data from `ConfidentialLeg`. */ +export type ConfidentialAccountConfidentialTransactionsByConfidentialLegReceiverIdAndTransactionIdManyToManyEdge = + { + __typename?: 'ConfidentialAccountConfidentialTransactionsByConfidentialLegReceiverIdAndTransactionIdManyToManyEdge'; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** Reads and enables pagination through a set of `ConfidentialLeg`. */ + legs: ConfidentialLegsConnection; + /** The `ConfidentialTransaction` at the end of the edge. */ + node?: Maybe; + }; + +/** A `ConfidentialTransaction` edge in the connection, with data from `ConfidentialLeg`. */ +export type ConfidentialAccountConfidentialTransactionsByConfidentialLegReceiverIdAndTransactionIdManyToManyEdgeLegsArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `ConfidentialTransaction` values, with data from `ConfidentialLeg`. */ +export type ConfidentialAccountConfidentialTransactionsByConfidentialLegSenderIdAndTransactionIdManyToManyConnection = + { + __typename?: 'ConfidentialAccountConfidentialTransactionsByConfidentialLegSenderIdAndTransactionIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `ConfidentialTransaction`, info from the `ConfidentialLeg`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `ConfidentialTransaction` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `ConfidentialTransaction` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; + +/** A connection to a list of `ConfidentialTransaction` values, with data from `ConfidentialLeg`. */ +export type ConfidentialAccountConfidentialTransactionsByConfidentialLegSenderIdAndTransactionIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `ConfidentialTransaction` edge in the connection, with data from `ConfidentialLeg`. */ +export type ConfidentialAccountConfidentialTransactionsByConfidentialLegSenderIdAndTransactionIdManyToManyEdge = + { + __typename?: 'ConfidentialAccountConfidentialTransactionsByConfidentialLegSenderIdAndTransactionIdManyToManyEdge'; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** Reads and enables pagination through a set of `ConfidentialLeg`. */ + legs: ConfidentialLegsConnection; + /** The `ConfidentialTransaction` at the end of the edge. */ + node?: Maybe; + }; + +/** A `ConfidentialTransaction` edge in the connection, with data from `ConfidentialLeg`. */ +export type ConfidentialAccountConfidentialTransactionsByConfidentialLegSenderIdAndTransactionIdManyToManyEdgeLegsArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `ConfidentialTransaction` values, with data from `ConfidentialTransactionAffirmation`. */ +export type ConfidentialAccountConfidentialTransactionsByConfidentialTransactionAffirmationAccountIdAndTransactionIdManyToManyConnection = + { + __typename?: 'ConfidentialAccountConfidentialTransactionsByConfidentialTransactionAffirmationAccountIdAndTransactionIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `ConfidentialTransaction`, info from the `ConfidentialTransactionAffirmation`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `ConfidentialTransaction` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `ConfidentialTransaction` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; + +/** A connection to a list of `ConfidentialTransaction` values, with data from `ConfidentialTransactionAffirmation`. */ +export type ConfidentialAccountConfidentialTransactionsByConfidentialTransactionAffirmationAccountIdAndTransactionIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `ConfidentialTransaction` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ +export type ConfidentialAccountConfidentialTransactionsByConfidentialTransactionAffirmationAccountIdAndTransactionIdManyToManyEdge = + { + __typename?: 'ConfidentialAccountConfidentialTransactionsByConfidentialTransactionAffirmationAccountIdAndTransactionIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialTransactionAffirmation`. */ + affirmations: ConfidentialTransactionAffirmationsConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `ConfidentialTransaction` at the end of the edge. */ + node?: Maybe; + }; + +/** A `ConfidentialTransaction` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ +export type ConfidentialAccountConfidentialTransactionsByConfidentialTransactionAffirmationAccountIdAndTransactionIdManyToManyEdgeAffirmationsArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +export type ConfidentialAccountDistinctCountAggregateFilter = { + account?: InputMaybe; + createdAt?: InputMaybe; + createdBlockId?: InputMaybe; + creatorId?: InputMaybe; + id?: InputMaybe; + updatedAt?: InputMaybe; + updatedBlockId?: InputMaybe; +}; + +export type ConfidentialAccountDistinctCountAggregates = { + __typename?: 'ConfidentialAccountDistinctCountAggregates'; + /** Distinct count of account across the matching connection */ + account?: Maybe; + /** Distinct count of createdAt across the matching connection */ + createdAt?: Maybe; + /** Distinct count of createdBlockId across the matching connection */ + createdBlockId?: Maybe; + /** Distinct count of creatorId across the matching connection */ + creatorId?: Maybe; + /** Distinct count of id across the matching connection */ + id?: Maybe; + /** Distinct count of updatedAt across the matching connection */ + updatedAt?: Maybe; + /** Distinct count of updatedBlockId across the matching connection */ + updatedBlockId?: Maybe; +}; + +/** A filter to be used against `ConfidentialAccount` object types. All fields are combined with a logical ‘and.’ */ +export type ConfidentialAccountFilter = { + /** Filter by the object’s `account` field. */ + account?: InputMaybe; + /** Checks for all expressions in this list. */ + and?: InputMaybe>; + /** Filter by the object’s `confidentialAssetHistoriesByFromId` relation. */ + confidentialAssetHistoriesByFromId?: InputMaybe; + /** Some related `confidentialAssetHistoriesByFromId` exist. */ + confidentialAssetHistoriesByFromIdExist?: InputMaybe; + /** Filter by the object’s `confidentialAssetHistoriesByToId` relation. */ + confidentialAssetHistoriesByToId?: InputMaybe; + /** Some related `confidentialAssetHistoriesByToId` exist. */ + confidentialAssetHistoriesByToIdExist?: InputMaybe; + /** Filter by the object’s `confidentialAssetHoldersByAccountId` relation. */ + confidentialAssetHoldersByAccountId?: InputMaybe; + /** Some related `confidentialAssetHoldersByAccountId` exist. */ + confidentialAssetHoldersByAccountIdExist?: InputMaybe; + /** Filter by the object’s `confidentialLegsByReceiverId` relation. */ + confidentialLegsByReceiverId?: InputMaybe; + /** Some related `confidentialLegsByReceiverId` exist. */ + confidentialLegsByReceiverIdExist?: InputMaybe; + /** Filter by the object’s `confidentialLegsBySenderId` relation. */ + confidentialLegsBySenderId?: InputMaybe; + /** Some related `confidentialLegsBySenderId` exist. */ + confidentialLegsBySenderIdExist?: InputMaybe; + /** Filter by the object’s `confidentialTransactionAffirmationsByAccountId` relation. */ + confidentialTransactionAffirmationsByAccountId?: InputMaybe; + /** Some related `confidentialTransactionAffirmationsByAccountId` exist. */ + confidentialTransactionAffirmationsByAccountIdExist?: InputMaybe; + /** Filter by the object’s `createdAt` field. */ + createdAt?: InputMaybe; + /** Filter by the object’s `createdBlock` relation. */ + createdBlock?: InputMaybe; + /** Filter by the object’s `createdBlockId` field. */ + createdBlockId?: InputMaybe; + /** Filter by the object’s `creator` relation. */ + creator?: InputMaybe; + /** Filter by the object’s `creatorId` field. */ + creatorId?: InputMaybe; + /** Filter by the object’s `id` field. */ + id?: InputMaybe; + /** Negates the expression. */ + not?: InputMaybe; + /** Checks for any expressions in this list. */ + or?: InputMaybe>; + /** Filter by the object’s `updatedAt` field. */ + updatedAt?: InputMaybe; + /** Filter by the object’s `updatedBlock` relation. */ + updatedBlock?: InputMaybe; + /** Filter by the object’s `updatedBlockId` field. */ + updatedBlockId?: InputMaybe; +}; + +/** A connection to a list of `Identity` values, with data from `ConfidentialTransactionAffirmation`. */ +export type ConfidentialAccountIdentitiesByConfidentialTransactionAffirmationAccountIdAndIdentityIdManyToManyConnection = + { + __typename?: 'ConfidentialAccountIdentitiesByConfidentialTransactionAffirmationAccountIdAndIdentityIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Identity`, info from the `ConfidentialTransactionAffirmation`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Identity` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Identity` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; + +/** A connection to a list of `Identity` values, with data from `ConfidentialTransactionAffirmation`. */ +export type ConfidentialAccountIdentitiesByConfidentialTransactionAffirmationAccountIdAndIdentityIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Identity` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ +export type ConfidentialAccountIdentitiesByConfidentialTransactionAffirmationAccountIdAndIdentityIdManyToManyEdge = + { + __typename?: 'ConfidentialAccountIdentitiesByConfidentialTransactionAffirmationAccountIdAndIdentityIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialTransactionAffirmation`. */ + confidentialTransactionAffirmations: ConfidentialTransactionAffirmationsConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Identity` at the end of the edge. */ + node?: Maybe; + }; + +/** A `Identity` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ +export type ConfidentialAccountIdentitiesByConfidentialTransactionAffirmationAccountIdAndIdentityIdManyToManyEdgeConfidentialTransactionAffirmationsArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A filter to be used against many `ConfidentialAssetHistory` object types. All fields are combined with a logical ‘and.’ */ +export type ConfidentialAccountToManyConfidentialAssetHistoryFilter = { + /** Aggregates across related `ConfidentialAssetHistory` match the filter criteria. */ + aggregates?: InputMaybe; + /** Every related `ConfidentialAssetHistory` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe; + /** No related `ConfidentialAssetHistory` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe; + /** Some related `ConfidentialAssetHistory` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe; +}; + +/** A filter to be used against many `ConfidentialAssetHolder` object types. All fields are combined with a logical ‘and.’ */ +export type ConfidentialAccountToManyConfidentialAssetHolderFilter = { + /** Aggregates across related `ConfidentialAssetHolder` match the filter criteria. */ + aggregates?: InputMaybe; + /** Every related `ConfidentialAssetHolder` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe; + /** No related `ConfidentialAssetHolder` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe; + /** Some related `ConfidentialAssetHolder` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe; +}; + +/** A filter to be used against many `ConfidentialLeg` object types. All fields are combined with a logical ‘and.’ */ +export type ConfidentialAccountToManyConfidentialLegFilter = { + /** Aggregates across related `ConfidentialLeg` match the filter criteria. */ + aggregates?: InputMaybe; + /** Every related `ConfidentialLeg` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe; + /** No related `ConfidentialLeg` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe; + /** Some related `ConfidentialLeg` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe; +}; + +/** A filter to be used against many `ConfidentialTransactionAffirmation` object types. All fields are combined with a logical ‘and.’ */ +export type ConfidentialAccountToManyConfidentialTransactionAffirmationFilter = { + /** Aggregates across related `ConfidentialTransactionAffirmation` match the filter criteria. */ + aggregates?: InputMaybe; + /** Every related `ConfidentialTransactionAffirmation` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe; + /** No related `ConfidentialTransactionAffirmation` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe; + /** Some related `ConfidentialTransactionAffirmation` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe; +}; + +/** A connection to a list of `ConfidentialAccount` values. */ +export type ConfidentialAccountsConnection = { + __typename?: 'ConfidentialAccountsConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `ConfidentialAccount` and cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `ConfidentialAccount` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `ConfidentialAccount` you could get from the connection. */ + totalCount: Scalars['Int']['output']; +}; + +/** A connection to a list of `ConfidentialAccount` values. */ +export type ConfidentialAccountsConnectionGroupedAggregatesArgs = { + groupBy: Array; + having?: InputMaybe; +}; + +/** A `ConfidentialAccount` edge in the connection. */ +export type ConfidentialAccountsEdge = { + __typename?: 'ConfidentialAccountsEdge'; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `ConfidentialAccount` at the end of the edge. */ + node?: Maybe; +}; + +/** Grouping methods for `ConfidentialAccount` for usage during aggregation. */ +export enum ConfidentialAccountsGroupBy { + Account = 'ACCOUNT', + CreatedAt = 'CREATED_AT', + CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', + CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', + CreatedBlockId = 'CREATED_BLOCK_ID', + CreatorId = 'CREATOR_ID', + UpdatedAt = 'UPDATED_AT', + UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', + UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', + UpdatedBlockId = 'UPDATED_BLOCK_ID', +} + +export type ConfidentialAccountsHavingAverageInput = { + createdAt?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type ConfidentialAccountsHavingDistinctCountInput = { + createdAt?: InputMaybe; + updatedAt?: InputMaybe; +}; + +/** Conditions for `ConfidentialAccount` aggregates. */ +export type ConfidentialAccountsHavingInput = { + AND?: InputMaybe>; + OR?: InputMaybe>; + average?: InputMaybe; + distinctCount?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddevPopulation?: InputMaybe; + stddevSample?: InputMaybe; + sum?: InputMaybe; + variancePopulation?: InputMaybe; + varianceSample?: InputMaybe; +}; + +export type ConfidentialAccountsHavingMaxInput = { + createdAt?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type ConfidentialAccountsHavingMinInput = { + createdAt?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type ConfidentialAccountsHavingStddevPopulationInput = { + createdAt?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type ConfidentialAccountsHavingStddevSampleInput = { + createdAt?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type ConfidentialAccountsHavingSumInput = { + createdAt?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type ConfidentialAccountsHavingVariancePopulationInput = { + createdAt?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type ConfidentialAccountsHavingVarianceSampleInput = { + createdAt?: InputMaybe; + updatedAt?: InputMaybe; +}; + +/** Methods to use when ordering `ConfidentialAccount`. */ +export enum ConfidentialAccountsOrderBy { + AccountAsc = 'ACCOUNT_ASC', + AccountDesc = 'ACCOUNT_DESC', + ConfidentialAssetHistoriesByFromIdAverageAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_AVERAGE_AMOUNT_ASC', + ConfidentialAssetHistoriesByFromIdAverageAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_AVERAGE_AMOUNT_DESC', + ConfidentialAssetHistoriesByFromIdAverageAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_AVERAGE_ASSET_ID_ASC', + ConfidentialAssetHistoriesByFromIdAverageAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_AVERAGE_ASSET_ID_DESC', + ConfidentialAssetHistoriesByFromIdAverageCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_AVERAGE_CREATED_AT_ASC', + ConfidentialAssetHistoriesByFromIdAverageCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_AVERAGE_CREATED_AT_DESC', + ConfidentialAssetHistoriesByFromIdAverageCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_AVERAGE_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByFromIdAverageCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_AVERAGE_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByFromIdAverageDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_AVERAGE_DATETIME_ASC', + ConfidentialAssetHistoriesByFromIdAverageDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_AVERAGE_DATETIME_DESC', + ConfidentialAssetHistoriesByFromIdAverageEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_AVERAGE_EVENT_IDX_ASC', + ConfidentialAssetHistoriesByFromIdAverageEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_AVERAGE_EVENT_IDX_DESC', + ConfidentialAssetHistoriesByFromIdAverageEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_AVERAGE_EVENT_ID_ASC', + ConfidentialAssetHistoriesByFromIdAverageEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_AVERAGE_EVENT_ID_DESC', + ConfidentialAssetHistoriesByFromIdAverageExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_AVERAGE_EXTRINSIC_IDX_ASC', + ConfidentialAssetHistoriesByFromIdAverageExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_AVERAGE_EXTRINSIC_IDX_DESC', + ConfidentialAssetHistoriesByFromIdAverageFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_AVERAGE_FROM_ID_ASC', + ConfidentialAssetHistoriesByFromIdAverageFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_AVERAGE_FROM_ID_DESC', + ConfidentialAssetHistoriesByFromIdAverageIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_AVERAGE_ID_ASC', + ConfidentialAssetHistoriesByFromIdAverageIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_AVERAGE_ID_DESC', + ConfidentialAssetHistoriesByFromIdAverageMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_AVERAGE_MEMO_ASC', + ConfidentialAssetHistoriesByFromIdAverageMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_AVERAGE_MEMO_DESC', + ConfidentialAssetHistoriesByFromIdAverageToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_AVERAGE_TO_ID_ASC', + ConfidentialAssetHistoriesByFromIdAverageToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_AVERAGE_TO_ID_DESC', + ConfidentialAssetHistoriesByFromIdAverageTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_AVERAGE_TRANSACTION_ID_ASC', + ConfidentialAssetHistoriesByFromIdAverageTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_AVERAGE_TRANSACTION_ID_DESC', + ConfidentialAssetHistoriesByFromIdAverageUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_AVERAGE_UPDATED_AT_ASC', + ConfidentialAssetHistoriesByFromIdAverageUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_AVERAGE_UPDATED_AT_DESC', + ConfidentialAssetHistoriesByFromIdAverageUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByFromIdAverageUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByFromIdCountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_COUNT_ASC', + ConfidentialAssetHistoriesByFromIdCountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_COUNT_DESC', + ConfidentialAssetHistoriesByFromIdDistinctCountAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_DISTINCT_COUNT_AMOUNT_ASC', + ConfidentialAssetHistoriesByFromIdDistinctCountAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_DISTINCT_COUNT_AMOUNT_DESC', + ConfidentialAssetHistoriesByFromIdDistinctCountAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_DISTINCT_COUNT_ASSET_ID_ASC', + ConfidentialAssetHistoriesByFromIdDistinctCountAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_DISTINCT_COUNT_ASSET_ID_DESC', + ConfidentialAssetHistoriesByFromIdDistinctCountCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_DISTINCT_COUNT_CREATED_AT_ASC', + ConfidentialAssetHistoriesByFromIdDistinctCountCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_DISTINCT_COUNT_CREATED_AT_DESC', + ConfidentialAssetHistoriesByFromIdDistinctCountCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByFromIdDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByFromIdDistinctCountDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_DISTINCT_COUNT_DATETIME_ASC', + ConfidentialAssetHistoriesByFromIdDistinctCountDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_DISTINCT_COUNT_DATETIME_DESC', + ConfidentialAssetHistoriesByFromIdDistinctCountEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_DISTINCT_COUNT_EVENT_IDX_ASC', + ConfidentialAssetHistoriesByFromIdDistinctCountEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_DISTINCT_COUNT_EVENT_IDX_DESC', + ConfidentialAssetHistoriesByFromIdDistinctCountEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_DISTINCT_COUNT_EVENT_ID_ASC', + ConfidentialAssetHistoriesByFromIdDistinctCountEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_DISTINCT_COUNT_EVENT_ID_DESC', + ConfidentialAssetHistoriesByFromIdDistinctCountExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_DISTINCT_COUNT_EXTRINSIC_IDX_ASC', + ConfidentialAssetHistoriesByFromIdDistinctCountExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_DISTINCT_COUNT_EXTRINSIC_IDX_DESC', + ConfidentialAssetHistoriesByFromIdDistinctCountFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_DISTINCT_COUNT_FROM_ID_ASC', + ConfidentialAssetHistoriesByFromIdDistinctCountFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_DISTINCT_COUNT_FROM_ID_DESC', + ConfidentialAssetHistoriesByFromIdDistinctCountIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_DISTINCT_COUNT_ID_ASC', + ConfidentialAssetHistoriesByFromIdDistinctCountIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_DISTINCT_COUNT_ID_DESC', + ConfidentialAssetHistoriesByFromIdDistinctCountMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_DISTINCT_COUNT_MEMO_ASC', + ConfidentialAssetHistoriesByFromIdDistinctCountMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_DISTINCT_COUNT_MEMO_DESC', + ConfidentialAssetHistoriesByFromIdDistinctCountToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_DISTINCT_COUNT_TO_ID_ASC', + ConfidentialAssetHistoriesByFromIdDistinctCountToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_DISTINCT_COUNT_TO_ID_DESC', + ConfidentialAssetHistoriesByFromIdDistinctCountTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_DISTINCT_COUNT_TRANSACTION_ID_ASC', + ConfidentialAssetHistoriesByFromIdDistinctCountTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_DISTINCT_COUNT_TRANSACTION_ID_DESC', + ConfidentialAssetHistoriesByFromIdDistinctCountUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_DISTINCT_COUNT_UPDATED_AT_ASC', + ConfidentialAssetHistoriesByFromIdDistinctCountUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_DISTINCT_COUNT_UPDATED_AT_DESC', + ConfidentialAssetHistoriesByFromIdDistinctCountUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByFromIdDistinctCountUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByFromIdMaxAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MAX_AMOUNT_ASC', + ConfidentialAssetHistoriesByFromIdMaxAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MAX_AMOUNT_DESC', + ConfidentialAssetHistoriesByFromIdMaxAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MAX_ASSET_ID_ASC', + ConfidentialAssetHistoriesByFromIdMaxAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MAX_ASSET_ID_DESC', + ConfidentialAssetHistoriesByFromIdMaxCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MAX_CREATED_AT_ASC', + ConfidentialAssetHistoriesByFromIdMaxCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MAX_CREATED_AT_DESC', + ConfidentialAssetHistoriesByFromIdMaxCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MAX_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByFromIdMaxCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MAX_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByFromIdMaxDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MAX_DATETIME_ASC', + ConfidentialAssetHistoriesByFromIdMaxDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MAX_DATETIME_DESC', + ConfidentialAssetHistoriesByFromIdMaxEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MAX_EVENT_IDX_ASC', + ConfidentialAssetHistoriesByFromIdMaxEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MAX_EVENT_IDX_DESC', + ConfidentialAssetHistoriesByFromIdMaxEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MAX_EVENT_ID_ASC', + ConfidentialAssetHistoriesByFromIdMaxEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MAX_EVENT_ID_DESC', + ConfidentialAssetHistoriesByFromIdMaxExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MAX_EXTRINSIC_IDX_ASC', + ConfidentialAssetHistoriesByFromIdMaxExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MAX_EXTRINSIC_IDX_DESC', + ConfidentialAssetHistoriesByFromIdMaxFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MAX_FROM_ID_ASC', + ConfidentialAssetHistoriesByFromIdMaxFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MAX_FROM_ID_DESC', + ConfidentialAssetHistoriesByFromIdMaxIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MAX_ID_ASC', + ConfidentialAssetHistoriesByFromIdMaxIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MAX_ID_DESC', + ConfidentialAssetHistoriesByFromIdMaxMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MAX_MEMO_ASC', + ConfidentialAssetHistoriesByFromIdMaxMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MAX_MEMO_DESC', + ConfidentialAssetHistoriesByFromIdMaxToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MAX_TO_ID_ASC', + ConfidentialAssetHistoriesByFromIdMaxToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MAX_TO_ID_DESC', + ConfidentialAssetHistoriesByFromIdMaxTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MAX_TRANSACTION_ID_ASC', + ConfidentialAssetHistoriesByFromIdMaxTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MAX_TRANSACTION_ID_DESC', + ConfidentialAssetHistoriesByFromIdMaxUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MAX_UPDATED_AT_ASC', + ConfidentialAssetHistoriesByFromIdMaxUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MAX_UPDATED_AT_DESC', + ConfidentialAssetHistoriesByFromIdMaxUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MAX_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByFromIdMaxUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MAX_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByFromIdMinAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MIN_AMOUNT_ASC', + ConfidentialAssetHistoriesByFromIdMinAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MIN_AMOUNT_DESC', + ConfidentialAssetHistoriesByFromIdMinAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MIN_ASSET_ID_ASC', + ConfidentialAssetHistoriesByFromIdMinAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MIN_ASSET_ID_DESC', + ConfidentialAssetHistoriesByFromIdMinCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MIN_CREATED_AT_ASC', + ConfidentialAssetHistoriesByFromIdMinCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MIN_CREATED_AT_DESC', + ConfidentialAssetHistoriesByFromIdMinCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MIN_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByFromIdMinCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MIN_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByFromIdMinDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MIN_DATETIME_ASC', + ConfidentialAssetHistoriesByFromIdMinDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MIN_DATETIME_DESC', + ConfidentialAssetHistoriesByFromIdMinEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MIN_EVENT_IDX_ASC', + ConfidentialAssetHistoriesByFromIdMinEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MIN_EVENT_IDX_DESC', + ConfidentialAssetHistoriesByFromIdMinEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MIN_EVENT_ID_ASC', + ConfidentialAssetHistoriesByFromIdMinEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MIN_EVENT_ID_DESC', + ConfidentialAssetHistoriesByFromIdMinExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MIN_EXTRINSIC_IDX_ASC', + ConfidentialAssetHistoriesByFromIdMinExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MIN_EXTRINSIC_IDX_DESC', + ConfidentialAssetHistoriesByFromIdMinFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MIN_FROM_ID_ASC', + ConfidentialAssetHistoriesByFromIdMinFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MIN_FROM_ID_DESC', + ConfidentialAssetHistoriesByFromIdMinIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MIN_ID_ASC', + ConfidentialAssetHistoriesByFromIdMinIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MIN_ID_DESC', + ConfidentialAssetHistoriesByFromIdMinMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MIN_MEMO_ASC', + ConfidentialAssetHistoriesByFromIdMinMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MIN_MEMO_DESC', + ConfidentialAssetHistoriesByFromIdMinToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MIN_TO_ID_ASC', + ConfidentialAssetHistoriesByFromIdMinToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MIN_TO_ID_DESC', + ConfidentialAssetHistoriesByFromIdMinTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MIN_TRANSACTION_ID_ASC', + ConfidentialAssetHistoriesByFromIdMinTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MIN_TRANSACTION_ID_DESC', + ConfidentialAssetHistoriesByFromIdMinUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MIN_UPDATED_AT_ASC', + ConfidentialAssetHistoriesByFromIdMinUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MIN_UPDATED_AT_DESC', + ConfidentialAssetHistoriesByFromIdMinUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MIN_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByFromIdMinUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MIN_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByFromIdStddevPopulationAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_POPULATION_AMOUNT_ASC', + ConfidentialAssetHistoriesByFromIdStddevPopulationAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_POPULATION_AMOUNT_DESC', + ConfidentialAssetHistoriesByFromIdStddevPopulationAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_POPULATION_ASSET_ID_ASC', + ConfidentialAssetHistoriesByFromIdStddevPopulationAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_POPULATION_ASSET_ID_DESC', + ConfidentialAssetHistoriesByFromIdStddevPopulationCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_POPULATION_CREATED_AT_ASC', + ConfidentialAssetHistoriesByFromIdStddevPopulationCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_POPULATION_CREATED_AT_DESC', + ConfidentialAssetHistoriesByFromIdStddevPopulationCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByFromIdStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByFromIdStddevPopulationDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_POPULATION_DATETIME_ASC', + ConfidentialAssetHistoriesByFromIdStddevPopulationDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_POPULATION_DATETIME_DESC', + ConfidentialAssetHistoriesByFromIdStddevPopulationEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_POPULATION_EVENT_IDX_ASC', + ConfidentialAssetHistoriesByFromIdStddevPopulationEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_POPULATION_EVENT_IDX_DESC', + ConfidentialAssetHistoriesByFromIdStddevPopulationEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_POPULATION_EVENT_ID_ASC', + ConfidentialAssetHistoriesByFromIdStddevPopulationEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_POPULATION_EVENT_ID_DESC', + ConfidentialAssetHistoriesByFromIdStddevPopulationExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_POPULATION_EXTRINSIC_IDX_ASC', + ConfidentialAssetHistoriesByFromIdStddevPopulationExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_POPULATION_EXTRINSIC_IDX_DESC', + ConfidentialAssetHistoriesByFromIdStddevPopulationFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_POPULATION_FROM_ID_ASC', + ConfidentialAssetHistoriesByFromIdStddevPopulationFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_POPULATION_FROM_ID_DESC', + ConfidentialAssetHistoriesByFromIdStddevPopulationIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_POPULATION_ID_ASC', + ConfidentialAssetHistoriesByFromIdStddevPopulationIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_POPULATION_ID_DESC', + ConfidentialAssetHistoriesByFromIdStddevPopulationMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_POPULATION_MEMO_ASC', + ConfidentialAssetHistoriesByFromIdStddevPopulationMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_POPULATION_MEMO_DESC', + ConfidentialAssetHistoriesByFromIdStddevPopulationToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_POPULATION_TO_ID_ASC', + ConfidentialAssetHistoriesByFromIdStddevPopulationToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_POPULATION_TO_ID_DESC', + ConfidentialAssetHistoriesByFromIdStddevPopulationTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_POPULATION_TRANSACTION_ID_ASC', + ConfidentialAssetHistoriesByFromIdStddevPopulationTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_POPULATION_TRANSACTION_ID_DESC', + ConfidentialAssetHistoriesByFromIdStddevPopulationUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_POPULATION_UPDATED_AT_ASC', + ConfidentialAssetHistoriesByFromIdStddevPopulationUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_POPULATION_UPDATED_AT_DESC', + ConfidentialAssetHistoriesByFromIdStddevPopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByFromIdStddevPopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByFromIdStddevSampleAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_SAMPLE_AMOUNT_ASC', + ConfidentialAssetHistoriesByFromIdStddevSampleAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_SAMPLE_AMOUNT_DESC', + ConfidentialAssetHistoriesByFromIdStddevSampleAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_SAMPLE_ASSET_ID_ASC', + ConfidentialAssetHistoriesByFromIdStddevSampleAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_SAMPLE_ASSET_ID_DESC', + ConfidentialAssetHistoriesByFromIdStddevSampleCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_SAMPLE_CREATED_AT_ASC', + ConfidentialAssetHistoriesByFromIdStddevSampleCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_SAMPLE_CREATED_AT_DESC', + ConfidentialAssetHistoriesByFromIdStddevSampleCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByFromIdStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByFromIdStddevSampleDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_SAMPLE_DATETIME_ASC', + ConfidentialAssetHistoriesByFromIdStddevSampleDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_SAMPLE_DATETIME_DESC', + ConfidentialAssetHistoriesByFromIdStddevSampleEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', + ConfidentialAssetHistoriesByFromIdStddevSampleEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', + ConfidentialAssetHistoriesByFromIdStddevSampleEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_SAMPLE_EVENT_ID_ASC', + ConfidentialAssetHistoriesByFromIdStddevSampleEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_SAMPLE_EVENT_ID_DESC', + ConfidentialAssetHistoriesByFromIdStddevSampleExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_SAMPLE_EXTRINSIC_IDX_ASC', + ConfidentialAssetHistoriesByFromIdStddevSampleExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_SAMPLE_EXTRINSIC_IDX_DESC', + ConfidentialAssetHistoriesByFromIdStddevSampleFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_SAMPLE_FROM_ID_ASC', + ConfidentialAssetHistoriesByFromIdStddevSampleFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_SAMPLE_FROM_ID_DESC', + ConfidentialAssetHistoriesByFromIdStddevSampleIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_SAMPLE_ID_ASC', + ConfidentialAssetHistoriesByFromIdStddevSampleIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_SAMPLE_ID_DESC', + ConfidentialAssetHistoriesByFromIdStddevSampleMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_SAMPLE_MEMO_ASC', + ConfidentialAssetHistoriesByFromIdStddevSampleMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_SAMPLE_MEMO_DESC', + ConfidentialAssetHistoriesByFromIdStddevSampleToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_SAMPLE_TO_ID_ASC', + ConfidentialAssetHistoriesByFromIdStddevSampleToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_SAMPLE_TO_ID_DESC', + ConfidentialAssetHistoriesByFromIdStddevSampleTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_SAMPLE_TRANSACTION_ID_ASC', + ConfidentialAssetHistoriesByFromIdStddevSampleTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_SAMPLE_TRANSACTION_ID_DESC', + ConfidentialAssetHistoriesByFromIdStddevSampleUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', + ConfidentialAssetHistoriesByFromIdStddevSampleUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', + ConfidentialAssetHistoriesByFromIdStddevSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByFromIdStddevSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByFromIdSumAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_SUM_AMOUNT_ASC', + ConfidentialAssetHistoriesByFromIdSumAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_SUM_AMOUNT_DESC', + ConfidentialAssetHistoriesByFromIdSumAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_SUM_ASSET_ID_ASC', + ConfidentialAssetHistoriesByFromIdSumAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_SUM_ASSET_ID_DESC', + ConfidentialAssetHistoriesByFromIdSumCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_SUM_CREATED_AT_ASC', + ConfidentialAssetHistoriesByFromIdSumCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_SUM_CREATED_AT_DESC', + ConfidentialAssetHistoriesByFromIdSumCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_SUM_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByFromIdSumCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_SUM_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByFromIdSumDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_SUM_DATETIME_ASC', + ConfidentialAssetHistoriesByFromIdSumDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_SUM_DATETIME_DESC', + ConfidentialAssetHistoriesByFromIdSumEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_SUM_EVENT_IDX_ASC', + ConfidentialAssetHistoriesByFromIdSumEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_SUM_EVENT_IDX_DESC', + ConfidentialAssetHistoriesByFromIdSumEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_SUM_EVENT_ID_ASC', + ConfidentialAssetHistoriesByFromIdSumEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_SUM_EVENT_ID_DESC', + ConfidentialAssetHistoriesByFromIdSumExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_SUM_EXTRINSIC_IDX_ASC', + ConfidentialAssetHistoriesByFromIdSumExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_SUM_EXTRINSIC_IDX_DESC', + ConfidentialAssetHistoriesByFromIdSumFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_SUM_FROM_ID_ASC', + ConfidentialAssetHistoriesByFromIdSumFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_SUM_FROM_ID_DESC', + ConfidentialAssetHistoriesByFromIdSumIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_SUM_ID_ASC', + ConfidentialAssetHistoriesByFromIdSumIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_SUM_ID_DESC', + ConfidentialAssetHistoriesByFromIdSumMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_SUM_MEMO_ASC', + ConfidentialAssetHistoriesByFromIdSumMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_SUM_MEMO_DESC', + ConfidentialAssetHistoriesByFromIdSumToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_SUM_TO_ID_ASC', + ConfidentialAssetHistoriesByFromIdSumToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_SUM_TO_ID_DESC', + ConfidentialAssetHistoriesByFromIdSumTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_SUM_TRANSACTION_ID_ASC', + ConfidentialAssetHistoriesByFromIdSumTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_SUM_TRANSACTION_ID_DESC', + ConfidentialAssetHistoriesByFromIdSumUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_SUM_UPDATED_AT_ASC', + ConfidentialAssetHistoriesByFromIdSumUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_SUM_UPDATED_AT_DESC', + ConfidentialAssetHistoriesByFromIdSumUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_SUM_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByFromIdSumUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_SUM_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByFromIdVariancePopulationAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_POPULATION_AMOUNT_ASC', + ConfidentialAssetHistoriesByFromIdVariancePopulationAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_POPULATION_AMOUNT_DESC', + ConfidentialAssetHistoriesByFromIdVariancePopulationAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_POPULATION_ASSET_ID_ASC', + ConfidentialAssetHistoriesByFromIdVariancePopulationAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_POPULATION_ASSET_ID_DESC', + ConfidentialAssetHistoriesByFromIdVariancePopulationCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_POPULATION_CREATED_AT_ASC', + ConfidentialAssetHistoriesByFromIdVariancePopulationCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_POPULATION_CREATED_AT_DESC', + ConfidentialAssetHistoriesByFromIdVariancePopulationCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByFromIdVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByFromIdVariancePopulationDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_POPULATION_DATETIME_ASC', + ConfidentialAssetHistoriesByFromIdVariancePopulationDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_POPULATION_DATETIME_DESC', + ConfidentialAssetHistoriesByFromIdVariancePopulationEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', + ConfidentialAssetHistoriesByFromIdVariancePopulationEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', + ConfidentialAssetHistoriesByFromIdVariancePopulationEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_POPULATION_EVENT_ID_ASC', + ConfidentialAssetHistoriesByFromIdVariancePopulationEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_POPULATION_EVENT_ID_DESC', + ConfidentialAssetHistoriesByFromIdVariancePopulationExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_POPULATION_EXTRINSIC_IDX_ASC', + ConfidentialAssetHistoriesByFromIdVariancePopulationExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_POPULATION_EXTRINSIC_IDX_DESC', + ConfidentialAssetHistoriesByFromIdVariancePopulationFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_POPULATION_FROM_ID_ASC', + ConfidentialAssetHistoriesByFromIdVariancePopulationFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_POPULATION_FROM_ID_DESC', + ConfidentialAssetHistoriesByFromIdVariancePopulationIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_POPULATION_ID_ASC', + ConfidentialAssetHistoriesByFromIdVariancePopulationIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_POPULATION_ID_DESC', + ConfidentialAssetHistoriesByFromIdVariancePopulationMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_POPULATION_MEMO_ASC', + ConfidentialAssetHistoriesByFromIdVariancePopulationMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_POPULATION_MEMO_DESC', + ConfidentialAssetHistoriesByFromIdVariancePopulationToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_POPULATION_TO_ID_ASC', + ConfidentialAssetHistoriesByFromIdVariancePopulationToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_POPULATION_TO_ID_DESC', + ConfidentialAssetHistoriesByFromIdVariancePopulationTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_POPULATION_TRANSACTION_ID_ASC', + ConfidentialAssetHistoriesByFromIdVariancePopulationTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_POPULATION_TRANSACTION_ID_DESC', + ConfidentialAssetHistoriesByFromIdVariancePopulationUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', + ConfidentialAssetHistoriesByFromIdVariancePopulationUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', + ConfidentialAssetHistoriesByFromIdVariancePopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByFromIdVariancePopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByFromIdVarianceSampleAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_SAMPLE_AMOUNT_ASC', + ConfidentialAssetHistoriesByFromIdVarianceSampleAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_SAMPLE_AMOUNT_DESC', + ConfidentialAssetHistoriesByFromIdVarianceSampleAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_SAMPLE_ASSET_ID_ASC', + ConfidentialAssetHistoriesByFromIdVarianceSampleAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_SAMPLE_ASSET_ID_DESC', + ConfidentialAssetHistoriesByFromIdVarianceSampleCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', + ConfidentialAssetHistoriesByFromIdVarianceSampleCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', + ConfidentialAssetHistoriesByFromIdVarianceSampleCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByFromIdVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByFromIdVarianceSampleDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_SAMPLE_DATETIME_ASC', + ConfidentialAssetHistoriesByFromIdVarianceSampleDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_SAMPLE_DATETIME_DESC', + ConfidentialAssetHistoriesByFromIdVarianceSampleEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', + ConfidentialAssetHistoriesByFromIdVarianceSampleEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', + ConfidentialAssetHistoriesByFromIdVarianceSampleEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_SAMPLE_EVENT_ID_ASC', + ConfidentialAssetHistoriesByFromIdVarianceSampleEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_SAMPLE_EVENT_ID_DESC', + ConfidentialAssetHistoriesByFromIdVarianceSampleExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_SAMPLE_EXTRINSIC_IDX_ASC', + ConfidentialAssetHistoriesByFromIdVarianceSampleExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_SAMPLE_EXTRINSIC_IDX_DESC', + ConfidentialAssetHistoriesByFromIdVarianceSampleFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_SAMPLE_FROM_ID_ASC', + ConfidentialAssetHistoriesByFromIdVarianceSampleFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_SAMPLE_FROM_ID_DESC', + ConfidentialAssetHistoriesByFromIdVarianceSampleIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_SAMPLE_ID_ASC', + ConfidentialAssetHistoriesByFromIdVarianceSampleIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_SAMPLE_ID_DESC', + ConfidentialAssetHistoriesByFromIdVarianceSampleMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_SAMPLE_MEMO_ASC', + ConfidentialAssetHistoriesByFromIdVarianceSampleMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_SAMPLE_MEMO_DESC', + ConfidentialAssetHistoriesByFromIdVarianceSampleToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_SAMPLE_TO_ID_ASC', + ConfidentialAssetHistoriesByFromIdVarianceSampleToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_SAMPLE_TO_ID_DESC', + ConfidentialAssetHistoriesByFromIdVarianceSampleTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_SAMPLE_TRANSACTION_ID_ASC', + ConfidentialAssetHistoriesByFromIdVarianceSampleTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_SAMPLE_TRANSACTION_ID_DESC', + ConfidentialAssetHistoriesByFromIdVarianceSampleUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', + ConfidentialAssetHistoriesByFromIdVarianceSampleUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', + ConfidentialAssetHistoriesByFromIdVarianceSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByFromIdVarianceSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByToIdAverageAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_AVERAGE_AMOUNT_ASC', + ConfidentialAssetHistoriesByToIdAverageAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_AVERAGE_AMOUNT_DESC', + ConfidentialAssetHistoriesByToIdAverageAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_AVERAGE_ASSET_ID_ASC', + ConfidentialAssetHistoriesByToIdAverageAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_AVERAGE_ASSET_ID_DESC', + ConfidentialAssetHistoriesByToIdAverageCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_AVERAGE_CREATED_AT_ASC', + ConfidentialAssetHistoriesByToIdAverageCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_AVERAGE_CREATED_AT_DESC', + ConfidentialAssetHistoriesByToIdAverageCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_AVERAGE_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByToIdAverageCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_AVERAGE_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByToIdAverageDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_AVERAGE_DATETIME_ASC', + ConfidentialAssetHistoriesByToIdAverageDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_AVERAGE_DATETIME_DESC', + ConfidentialAssetHistoriesByToIdAverageEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_AVERAGE_EVENT_IDX_ASC', + ConfidentialAssetHistoriesByToIdAverageEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_AVERAGE_EVENT_IDX_DESC', + ConfidentialAssetHistoriesByToIdAverageEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_AVERAGE_EVENT_ID_ASC', + ConfidentialAssetHistoriesByToIdAverageEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_AVERAGE_EVENT_ID_DESC', + ConfidentialAssetHistoriesByToIdAverageExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_AVERAGE_EXTRINSIC_IDX_ASC', + ConfidentialAssetHistoriesByToIdAverageExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_AVERAGE_EXTRINSIC_IDX_DESC', + ConfidentialAssetHistoriesByToIdAverageFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_AVERAGE_FROM_ID_ASC', + ConfidentialAssetHistoriesByToIdAverageFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_AVERAGE_FROM_ID_DESC', + ConfidentialAssetHistoriesByToIdAverageIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_AVERAGE_ID_ASC', + ConfidentialAssetHistoriesByToIdAverageIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_AVERAGE_ID_DESC', + ConfidentialAssetHistoriesByToIdAverageMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_AVERAGE_MEMO_ASC', + ConfidentialAssetHistoriesByToIdAverageMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_AVERAGE_MEMO_DESC', + ConfidentialAssetHistoriesByToIdAverageToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_AVERAGE_TO_ID_ASC', + ConfidentialAssetHistoriesByToIdAverageToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_AVERAGE_TO_ID_DESC', + ConfidentialAssetHistoriesByToIdAverageTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_AVERAGE_TRANSACTION_ID_ASC', + ConfidentialAssetHistoriesByToIdAverageTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_AVERAGE_TRANSACTION_ID_DESC', + ConfidentialAssetHistoriesByToIdAverageUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_AVERAGE_UPDATED_AT_ASC', + ConfidentialAssetHistoriesByToIdAverageUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_AVERAGE_UPDATED_AT_DESC', + ConfidentialAssetHistoriesByToIdAverageUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByToIdAverageUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByToIdCountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_COUNT_ASC', + ConfidentialAssetHistoriesByToIdCountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_COUNT_DESC', + ConfidentialAssetHistoriesByToIdDistinctCountAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_DISTINCT_COUNT_AMOUNT_ASC', + ConfidentialAssetHistoriesByToIdDistinctCountAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_DISTINCT_COUNT_AMOUNT_DESC', + ConfidentialAssetHistoriesByToIdDistinctCountAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_DISTINCT_COUNT_ASSET_ID_ASC', + ConfidentialAssetHistoriesByToIdDistinctCountAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_DISTINCT_COUNT_ASSET_ID_DESC', + ConfidentialAssetHistoriesByToIdDistinctCountCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_DISTINCT_COUNT_CREATED_AT_ASC', + ConfidentialAssetHistoriesByToIdDistinctCountCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_DISTINCT_COUNT_CREATED_AT_DESC', + ConfidentialAssetHistoriesByToIdDistinctCountCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByToIdDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByToIdDistinctCountDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_DISTINCT_COUNT_DATETIME_ASC', + ConfidentialAssetHistoriesByToIdDistinctCountDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_DISTINCT_COUNT_DATETIME_DESC', + ConfidentialAssetHistoriesByToIdDistinctCountEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_DISTINCT_COUNT_EVENT_IDX_ASC', + ConfidentialAssetHistoriesByToIdDistinctCountEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_DISTINCT_COUNT_EVENT_IDX_DESC', + ConfidentialAssetHistoriesByToIdDistinctCountEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_DISTINCT_COUNT_EVENT_ID_ASC', + ConfidentialAssetHistoriesByToIdDistinctCountEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_DISTINCT_COUNT_EVENT_ID_DESC', + ConfidentialAssetHistoriesByToIdDistinctCountExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_DISTINCT_COUNT_EXTRINSIC_IDX_ASC', + ConfidentialAssetHistoriesByToIdDistinctCountExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_DISTINCT_COUNT_EXTRINSIC_IDX_DESC', + ConfidentialAssetHistoriesByToIdDistinctCountFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_DISTINCT_COUNT_FROM_ID_ASC', + ConfidentialAssetHistoriesByToIdDistinctCountFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_DISTINCT_COUNT_FROM_ID_DESC', + ConfidentialAssetHistoriesByToIdDistinctCountIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_DISTINCT_COUNT_ID_ASC', + ConfidentialAssetHistoriesByToIdDistinctCountIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_DISTINCT_COUNT_ID_DESC', + ConfidentialAssetHistoriesByToIdDistinctCountMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_DISTINCT_COUNT_MEMO_ASC', + ConfidentialAssetHistoriesByToIdDistinctCountMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_DISTINCT_COUNT_MEMO_DESC', + ConfidentialAssetHistoriesByToIdDistinctCountToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_DISTINCT_COUNT_TO_ID_ASC', + ConfidentialAssetHistoriesByToIdDistinctCountToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_DISTINCT_COUNT_TO_ID_DESC', + ConfidentialAssetHistoriesByToIdDistinctCountTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_DISTINCT_COUNT_TRANSACTION_ID_ASC', + ConfidentialAssetHistoriesByToIdDistinctCountTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_DISTINCT_COUNT_TRANSACTION_ID_DESC', + ConfidentialAssetHistoriesByToIdDistinctCountUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_DISTINCT_COUNT_UPDATED_AT_ASC', + ConfidentialAssetHistoriesByToIdDistinctCountUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_DISTINCT_COUNT_UPDATED_AT_DESC', + ConfidentialAssetHistoriesByToIdDistinctCountUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByToIdDistinctCountUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByToIdMaxAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MAX_AMOUNT_ASC', + ConfidentialAssetHistoriesByToIdMaxAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MAX_AMOUNT_DESC', + ConfidentialAssetHistoriesByToIdMaxAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MAX_ASSET_ID_ASC', + ConfidentialAssetHistoriesByToIdMaxAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MAX_ASSET_ID_DESC', + ConfidentialAssetHistoriesByToIdMaxCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MAX_CREATED_AT_ASC', + ConfidentialAssetHistoriesByToIdMaxCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MAX_CREATED_AT_DESC', + ConfidentialAssetHistoriesByToIdMaxCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MAX_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByToIdMaxCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MAX_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByToIdMaxDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MAX_DATETIME_ASC', + ConfidentialAssetHistoriesByToIdMaxDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MAX_DATETIME_DESC', + ConfidentialAssetHistoriesByToIdMaxEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MAX_EVENT_IDX_ASC', + ConfidentialAssetHistoriesByToIdMaxEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MAX_EVENT_IDX_DESC', + ConfidentialAssetHistoriesByToIdMaxEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MAX_EVENT_ID_ASC', + ConfidentialAssetHistoriesByToIdMaxEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MAX_EVENT_ID_DESC', + ConfidentialAssetHistoriesByToIdMaxExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MAX_EXTRINSIC_IDX_ASC', + ConfidentialAssetHistoriesByToIdMaxExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MAX_EXTRINSIC_IDX_DESC', + ConfidentialAssetHistoriesByToIdMaxFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MAX_FROM_ID_ASC', + ConfidentialAssetHistoriesByToIdMaxFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MAX_FROM_ID_DESC', + ConfidentialAssetHistoriesByToIdMaxIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MAX_ID_ASC', + ConfidentialAssetHistoriesByToIdMaxIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MAX_ID_DESC', + ConfidentialAssetHistoriesByToIdMaxMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MAX_MEMO_ASC', + ConfidentialAssetHistoriesByToIdMaxMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MAX_MEMO_DESC', + ConfidentialAssetHistoriesByToIdMaxToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MAX_TO_ID_ASC', + ConfidentialAssetHistoriesByToIdMaxToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MAX_TO_ID_DESC', + ConfidentialAssetHistoriesByToIdMaxTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MAX_TRANSACTION_ID_ASC', + ConfidentialAssetHistoriesByToIdMaxTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MAX_TRANSACTION_ID_DESC', + ConfidentialAssetHistoriesByToIdMaxUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MAX_UPDATED_AT_ASC', + ConfidentialAssetHistoriesByToIdMaxUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MAX_UPDATED_AT_DESC', + ConfidentialAssetHistoriesByToIdMaxUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MAX_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByToIdMaxUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MAX_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByToIdMinAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MIN_AMOUNT_ASC', + ConfidentialAssetHistoriesByToIdMinAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MIN_AMOUNT_DESC', + ConfidentialAssetHistoriesByToIdMinAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MIN_ASSET_ID_ASC', + ConfidentialAssetHistoriesByToIdMinAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MIN_ASSET_ID_DESC', + ConfidentialAssetHistoriesByToIdMinCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MIN_CREATED_AT_ASC', + ConfidentialAssetHistoriesByToIdMinCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MIN_CREATED_AT_DESC', + ConfidentialAssetHistoriesByToIdMinCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MIN_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByToIdMinCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MIN_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByToIdMinDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MIN_DATETIME_ASC', + ConfidentialAssetHistoriesByToIdMinDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MIN_DATETIME_DESC', + ConfidentialAssetHistoriesByToIdMinEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MIN_EVENT_IDX_ASC', + ConfidentialAssetHistoriesByToIdMinEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MIN_EVENT_IDX_DESC', + ConfidentialAssetHistoriesByToIdMinEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MIN_EVENT_ID_ASC', + ConfidentialAssetHistoriesByToIdMinEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MIN_EVENT_ID_DESC', + ConfidentialAssetHistoriesByToIdMinExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MIN_EXTRINSIC_IDX_ASC', + ConfidentialAssetHistoriesByToIdMinExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MIN_EXTRINSIC_IDX_DESC', + ConfidentialAssetHistoriesByToIdMinFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MIN_FROM_ID_ASC', + ConfidentialAssetHistoriesByToIdMinFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MIN_FROM_ID_DESC', + ConfidentialAssetHistoriesByToIdMinIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MIN_ID_ASC', + ConfidentialAssetHistoriesByToIdMinIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MIN_ID_DESC', + ConfidentialAssetHistoriesByToIdMinMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MIN_MEMO_ASC', + ConfidentialAssetHistoriesByToIdMinMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MIN_MEMO_DESC', + ConfidentialAssetHistoriesByToIdMinToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MIN_TO_ID_ASC', + ConfidentialAssetHistoriesByToIdMinToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MIN_TO_ID_DESC', + ConfidentialAssetHistoriesByToIdMinTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MIN_TRANSACTION_ID_ASC', + ConfidentialAssetHistoriesByToIdMinTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MIN_TRANSACTION_ID_DESC', + ConfidentialAssetHistoriesByToIdMinUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MIN_UPDATED_AT_ASC', + ConfidentialAssetHistoriesByToIdMinUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MIN_UPDATED_AT_DESC', + ConfidentialAssetHistoriesByToIdMinUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MIN_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByToIdMinUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MIN_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByToIdStddevPopulationAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_POPULATION_AMOUNT_ASC', + ConfidentialAssetHistoriesByToIdStddevPopulationAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_POPULATION_AMOUNT_DESC', + ConfidentialAssetHistoriesByToIdStddevPopulationAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_POPULATION_ASSET_ID_ASC', + ConfidentialAssetHistoriesByToIdStddevPopulationAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_POPULATION_ASSET_ID_DESC', + ConfidentialAssetHistoriesByToIdStddevPopulationCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_POPULATION_CREATED_AT_ASC', + ConfidentialAssetHistoriesByToIdStddevPopulationCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_POPULATION_CREATED_AT_DESC', + ConfidentialAssetHistoriesByToIdStddevPopulationCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByToIdStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByToIdStddevPopulationDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_POPULATION_DATETIME_ASC', + ConfidentialAssetHistoriesByToIdStddevPopulationDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_POPULATION_DATETIME_DESC', + ConfidentialAssetHistoriesByToIdStddevPopulationEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_POPULATION_EVENT_IDX_ASC', + ConfidentialAssetHistoriesByToIdStddevPopulationEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_POPULATION_EVENT_IDX_DESC', + ConfidentialAssetHistoriesByToIdStddevPopulationEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_POPULATION_EVENT_ID_ASC', + ConfidentialAssetHistoriesByToIdStddevPopulationEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_POPULATION_EVENT_ID_DESC', + ConfidentialAssetHistoriesByToIdStddevPopulationExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_POPULATION_EXTRINSIC_IDX_ASC', + ConfidentialAssetHistoriesByToIdStddevPopulationExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_POPULATION_EXTRINSIC_IDX_DESC', + ConfidentialAssetHistoriesByToIdStddevPopulationFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_POPULATION_FROM_ID_ASC', + ConfidentialAssetHistoriesByToIdStddevPopulationFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_POPULATION_FROM_ID_DESC', + ConfidentialAssetHistoriesByToIdStddevPopulationIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_POPULATION_ID_ASC', + ConfidentialAssetHistoriesByToIdStddevPopulationIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_POPULATION_ID_DESC', + ConfidentialAssetHistoriesByToIdStddevPopulationMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_POPULATION_MEMO_ASC', + ConfidentialAssetHistoriesByToIdStddevPopulationMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_POPULATION_MEMO_DESC', + ConfidentialAssetHistoriesByToIdStddevPopulationToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_POPULATION_TO_ID_ASC', + ConfidentialAssetHistoriesByToIdStddevPopulationToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_POPULATION_TO_ID_DESC', + ConfidentialAssetHistoriesByToIdStddevPopulationTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_POPULATION_TRANSACTION_ID_ASC', + ConfidentialAssetHistoriesByToIdStddevPopulationTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_POPULATION_TRANSACTION_ID_DESC', + ConfidentialAssetHistoriesByToIdStddevPopulationUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_POPULATION_UPDATED_AT_ASC', + ConfidentialAssetHistoriesByToIdStddevPopulationUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_POPULATION_UPDATED_AT_DESC', + ConfidentialAssetHistoriesByToIdStddevPopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByToIdStddevPopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByToIdStddevSampleAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_SAMPLE_AMOUNT_ASC', + ConfidentialAssetHistoriesByToIdStddevSampleAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_SAMPLE_AMOUNT_DESC', + ConfidentialAssetHistoriesByToIdStddevSampleAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_SAMPLE_ASSET_ID_ASC', + ConfidentialAssetHistoriesByToIdStddevSampleAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_SAMPLE_ASSET_ID_DESC', + ConfidentialAssetHistoriesByToIdStddevSampleCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_SAMPLE_CREATED_AT_ASC', + ConfidentialAssetHistoriesByToIdStddevSampleCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_SAMPLE_CREATED_AT_DESC', + ConfidentialAssetHistoriesByToIdStddevSampleCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByToIdStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByToIdStddevSampleDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_SAMPLE_DATETIME_ASC', + ConfidentialAssetHistoriesByToIdStddevSampleDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_SAMPLE_DATETIME_DESC', + ConfidentialAssetHistoriesByToIdStddevSampleEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', + ConfidentialAssetHistoriesByToIdStddevSampleEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', + ConfidentialAssetHistoriesByToIdStddevSampleEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_SAMPLE_EVENT_ID_ASC', + ConfidentialAssetHistoriesByToIdStddevSampleEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_SAMPLE_EVENT_ID_DESC', + ConfidentialAssetHistoriesByToIdStddevSampleExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_SAMPLE_EXTRINSIC_IDX_ASC', + ConfidentialAssetHistoriesByToIdStddevSampleExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_SAMPLE_EXTRINSIC_IDX_DESC', + ConfidentialAssetHistoriesByToIdStddevSampleFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_SAMPLE_FROM_ID_ASC', + ConfidentialAssetHistoriesByToIdStddevSampleFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_SAMPLE_FROM_ID_DESC', + ConfidentialAssetHistoriesByToIdStddevSampleIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_SAMPLE_ID_ASC', + ConfidentialAssetHistoriesByToIdStddevSampleIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_SAMPLE_ID_DESC', + ConfidentialAssetHistoriesByToIdStddevSampleMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_SAMPLE_MEMO_ASC', + ConfidentialAssetHistoriesByToIdStddevSampleMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_SAMPLE_MEMO_DESC', + ConfidentialAssetHistoriesByToIdStddevSampleToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_SAMPLE_TO_ID_ASC', + ConfidentialAssetHistoriesByToIdStddevSampleToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_SAMPLE_TO_ID_DESC', + ConfidentialAssetHistoriesByToIdStddevSampleTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_SAMPLE_TRANSACTION_ID_ASC', + ConfidentialAssetHistoriesByToIdStddevSampleTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_SAMPLE_TRANSACTION_ID_DESC', + ConfidentialAssetHistoriesByToIdStddevSampleUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', + ConfidentialAssetHistoriesByToIdStddevSampleUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', + ConfidentialAssetHistoriesByToIdStddevSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByToIdStddevSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByToIdSumAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_SUM_AMOUNT_ASC', + ConfidentialAssetHistoriesByToIdSumAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_SUM_AMOUNT_DESC', + ConfidentialAssetHistoriesByToIdSumAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_SUM_ASSET_ID_ASC', + ConfidentialAssetHistoriesByToIdSumAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_SUM_ASSET_ID_DESC', + ConfidentialAssetHistoriesByToIdSumCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_SUM_CREATED_AT_ASC', + ConfidentialAssetHistoriesByToIdSumCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_SUM_CREATED_AT_DESC', + ConfidentialAssetHistoriesByToIdSumCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_SUM_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByToIdSumCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_SUM_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByToIdSumDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_SUM_DATETIME_ASC', + ConfidentialAssetHistoriesByToIdSumDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_SUM_DATETIME_DESC', + ConfidentialAssetHistoriesByToIdSumEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_SUM_EVENT_IDX_ASC', + ConfidentialAssetHistoriesByToIdSumEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_SUM_EVENT_IDX_DESC', + ConfidentialAssetHistoriesByToIdSumEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_SUM_EVENT_ID_ASC', + ConfidentialAssetHistoriesByToIdSumEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_SUM_EVENT_ID_DESC', + ConfidentialAssetHistoriesByToIdSumExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_SUM_EXTRINSIC_IDX_ASC', + ConfidentialAssetHistoriesByToIdSumExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_SUM_EXTRINSIC_IDX_DESC', + ConfidentialAssetHistoriesByToIdSumFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_SUM_FROM_ID_ASC', + ConfidentialAssetHistoriesByToIdSumFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_SUM_FROM_ID_DESC', + ConfidentialAssetHistoriesByToIdSumIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_SUM_ID_ASC', + ConfidentialAssetHistoriesByToIdSumIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_SUM_ID_DESC', + ConfidentialAssetHistoriesByToIdSumMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_SUM_MEMO_ASC', + ConfidentialAssetHistoriesByToIdSumMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_SUM_MEMO_DESC', + ConfidentialAssetHistoriesByToIdSumToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_SUM_TO_ID_ASC', + ConfidentialAssetHistoriesByToIdSumToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_SUM_TO_ID_DESC', + ConfidentialAssetHistoriesByToIdSumTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_SUM_TRANSACTION_ID_ASC', + ConfidentialAssetHistoriesByToIdSumTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_SUM_TRANSACTION_ID_DESC', + ConfidentialAssetHistoriesByToIdSumUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_SUM_UPDATED_AT_ASC', + ConfidentialAssetHistoriesByToIdSumUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_SUM_UPDATED_AT_DESC', + ConfidentialAssetHistoriesByToIdSumUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_SUM_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByToIdSumUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_SUM_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByToIdVariancePopulationAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_POPULATION_AMOUNT_ASC', + ConfidentialAssetHistoriesByToIdVariancePopulationAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_POPULATION_AMOUNT_DESC', + ConfidentialAssetHistoriesByToIdVariancePopulationAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_POPULATION_ASSET_ID_ASC', + ConfidentialAssetHistoriesByToIdVariancePopulationAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_POPULATION_ASSET_ID_DESC', + ConfidentialAssetHistoriesByToIdVariancePopulationCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_POPULATION_CREATED_AT_ASC', + ConfidentialAssetHistoriesByToIdVariancePopulationCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_POPULATION_CREATED_AT_DESC', + ConfidentialAssetHistoriesByToIdVariancePopulationCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByToIdVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByToIdVariancePopulationDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_POPULATION_DATETIME_ASC', + ConfidentialAssetHistoriesByToIdVariancePopulationDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_POPULATION_DATETIME_DESC', + ConfidentialAssetHistoriesByToIdVariancePopulationEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', + ConfidentialAssetHistoriesByToIdVariancePopulationEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', + ConfidentialAssetHistoriesByToIdVariancePopulationEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_POPULATION_EVENT_ID_ASC', + ConfidentialAssetHistoriesByToIdVariancePopulationEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_POPULATION_EVENT_ID_DESC', + ConfidentialAssetHistoriesByToIdVariancePopulationExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_POPULATION_EXTRINSIC_IDX_ASC', + ConfidentialAssetHistoriesByToIdVariancePopulationExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_POPULATION_EXTRINSIC_IDX_DESC', + ConfidentialAssetHistoriesByToIdVariancePopulationFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_POPULATION_FROM_ID_ASC', + ConfidentialAssetHistoriesByToIdVariancePopulationFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_POPULATION_FROM_ID_DESC', + ConfidentialAssetHistoriesByToIdVariancePopulationIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_POPULATION_ID_ASC', + ConfidentialAssetHistoriesByToIdVariancePopulationIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_POPULATION_ID_DESC', + ConfidentialAssetHistoriesByToIdVariancePopulationMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_POPULATION_MEMO_ASC', + ConfidentialAssetHistoriesByToIdVariancePopulationMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_POPULATION_MEMO_DESC', + ConfidentialAssetHistoriesByToIdVariancePopulationToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_POPULATION_TO_ID_ASC', + ConfidentialAssetHistoriesByToIdVariancePopulationToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_POPULATION_TO_ID_DESC', + ConfidentialAssetHistoriesByToIdVariancePopulationTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_POPULATION_TRANSACTION_ID_ASC', + ConfidentialAssetHistoriesByToIdVariancePopulationTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_POPULATION_TRANSACTION_ID_DESC', + ConfidentialAssetHistoriesByToIdVariancePopulationUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', + ConfidentialAssetHistoriesByToIdVariancePopulationUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', + ConfidentialAssetHistoriesByToIdVariancePopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByToIdVariancePopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByToIdVarianceSampleAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_SAMPLE_AMOUNT_ASC', + ConfidentialAssetHistoriesByToIdVarianceSampleAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_SAMPLE_AMOUNT_DESC', + ConfidentialAssetHistoriesByToIdVarianceSampleAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_SAMPLE_ASSET_ID_ASC', + ConfidentialAssetHistoriesByToIdVarianceSampleAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_SAMPLE_ASSET_ID_DESC', + ConfidentialAssetHistoriesByToIdVarianceSampleCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', + ConfidentialAssetHistoriesByToIdVarianceSampleCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', + ConfidentialAssetHistoriesByToIdVarianceSampleCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByToIdVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByToIdVarianceSampleDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_SAMPLE_DATETIME_ASC', + ConfidentialAssetHistoriesByToIdVarianceSampleDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_SAMPLE_DATETIME_DESC', + ConfidentialAssetHistoriesByToIdVarianceSampleEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', + ConfidentialAssetHistoriesByToIdVarianceSampleEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', + ConfidentialAssetHistoriesByToIdVarianceSampleEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_SAMPLE_EVENT_ID_ASC', + ConfidentialAssetHistoriesByToIdVarianceSampleEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_SAMPLE_EVENT_ID_DESC', + ConfidentialAssetHistoriesByToIdVarianceSampleExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_SAMPLE_EXTRINSIC_IDX_ASC', + ConfidentialAssetHistoriesByToIdVarianceSampleExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_SAMPLE_EXTRINSIC_IDX_DESC', + ConfidentialAssetHistoriesByToIdVarianceSampleFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_SAMPLE_FROM_ID_ASC', + ConfidentialAssetHistoriesByToIdVarianceSampleFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_SAMPLE_FROM_ID_DESC', + ConfidentialAssetHistoriesByToIdVarianceSampleIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_SAMPLE_ID_ASC', + ConfidentialAssetHistoriesByToIdVarianceSampleIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_SAMPLE_ID_DESC', + ConfidentialAssetHistoriesByToIdVarianceSampleMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_SAMPLE_MEMO_ASC', + ConfidentialAssetHistoriesByToIdVarianceSampleMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_SAMPLE_MEMO_DESC', + ConfidentialAssetHistoriesByToIdVarianceSampleToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_SAMPLE_TO_ID_ASC', + ConfidentialAssetHistoriesByToIdVarianceSampleToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_SAMPLE_TO_ID_DESC', + ConfidentialAssetHistoriesByToIdVarianceSampleTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_SAMPLE_TRANSACTION_ID_ASC', + ConfidentialAssetHistoriesByToIdVarianceSampleTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_SAMPLE_TRANSACTION_ID_DESC', + ConfidentialAssetHistoriesByToIdVarianceSampleUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', + ConfidentialAssetHistoriesByToIdVarianceSampleUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', + ConfidentialAssetHistoriesByToIdVarianceSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByToIdVarianceSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByAccountIdAverageAccountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_AVERAGE_ACCOUNT_ID_ASC', + ConfidentialAssetHoldersByAccountIdAverageAccountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_AVERAGE_ACCOUNT_ID_DESC', + ConfidentialAssetHoldersByAccountIdAverageAmountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_AVERAGE_AMOUNT_ASC', + ConfidentialAssetHoldersByAccountIdAverageAmountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_AVERAGE_AMOUNT_DESC', + ConfidentialAssetHoldersByAccountIdAverageAssetIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_AVERAGE_ASSET_ID_ASC', + ConfidentialAssetHoldersByAccountIdAverageAssetIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_AVERAGE_ASSET_ID_DESC', + ConfidentialAssetHoldersByAccountIdAverageCreatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_AVERAGE_CREATED_AT_ASC', + ConfidentialAssetHoldersByAccountIdAverageCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_AVERAGE_CREATED_AT_DESC', + ConfidentialAssetHoldersByAccountIdAverageCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_AVERAGE_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHoldersByAccountIdAverageCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_AVERAGE_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByAccountIdAverageIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_AVERAGE_ID_ASC', + ConfidentialAssetHoldersByAccountIdAverageIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_AVERAGE_ID_DESC', + ConfidentialAssetHoldersByAccountIdAverageUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_AVERAGE_UPDATED_AT_ASC', + ConfidentialAssetHoldersByAccountIdAverageUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_AVERAGE_UPDATED_AT_DESC', + ConfidentialAssetHoldersByAccountIdAverageUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHoldersByAccountIdAverageUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByAccountIdCountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_COUNT_ASC', + ConfidentialAssetHoldersByAccountIdCountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_COUNT_DESC', + ConfidentialAssetHoldersByAccountIdDistinctCountAccountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_DISTINCT_COUNT_ACCOUNT_ID_ASC', + ConfidentialAssetHoldersByAccountIdDistinctCountAccountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_DISTINCT_COUNT_ACCOUNT_ID_DESC', + ConfidentialAssetHoldersByAccountIdDistinctCountAmountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_DISTINCT_COUNT_AMOUNT_ASC', + ConfidentialAssetHoldersByAccountIdDistinctCountAmountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_DISTINCT_COUNT_AMOUNT_DESC', + ConfidentialAssetHoldersByAccountIdDistinctCountAssetIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_DISTINCT_COUNT_ASSET_ID_ASC', + ConfidentialAssetHoldersByAccountIdDistinctCountAssetIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_DISTINCT_COUNT_ASSET_ID_DESC', + ConfidentialAssetHoldersByAccountIdDistinctCountCreatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_DISTINCT_COUNT_CREATED_AT_ASC', + ConfidentialAssetHoldersByAccountIdDistinctCountCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_DISTINCT_COUNT_CREATED_AT_DESC', + ConfidentialAssetHoldersByAccountIdDistinctCountCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHoldersByAccountIdDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByAccountIdDistinctCountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_DISTINCT_COUNT_ID_ASC', + ConfidentialAssetHoldersByAccountIdDistinctCountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_DISTINCT_COUNT_ID_DESC', + ConfidentialAssetHoldersByAccountIdDistinctCountUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_DISTINCT_COUNT_UPDATED_AT_ASC', + ConfidentialAssetHoldersByAccountIdDistinctCountUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_DISTINCT_COUNT_UPDATED_AT_DESC', + ConfidentialAssetHoldersByAccountIdDistinctCountUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHoldersByAccountIdDistinctCountUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByAccountIdMaxAccountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MAX_ACCOUNT_ID_ASC', + ConfidentialAssetHoldersByAccountIdMaxAccountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MAX_ACCOUNT_ID_DESC', + ConfidentialAssetHoldersByAccountIdMaxAmountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MAX_AMOUNT_ASC', + ConfidentialAssetHoldersByAccountIdMaxAmountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MAX_AMOUNT_DESC', + ConfidentialAssetHoldersByAccountIdMaxAssetIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MAX_ASSET_ID_ASC', + ConfidentialAssetHoldersByAccountIdMaxAssetIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MAX_ASSET_ID_DESC', + ConfidentialAssetHoldersByAccountIdMaxCreatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MAX_CREATED_AT_ASC', + ConfidentialAssetHoldersByAccountIdMaxCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MAX_CREATED_AT_DESC', + ConfidentialAssetHoldersByAccountIdMaxCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MAX_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHoldersByAccountIdMaxCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MAX_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByAccountIdMaxIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MAX_ID_ASC', + ConfidentialAssetHoldersByAccountIdMaxIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MAX_ID_DESC', + ConfidentialAssetHoldersByAccountIdMaxUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MAX_UPDATED_AT_ASC', + ConfidentialAssetHoldersByAccountIdMaxUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MAX_UPDATED_AT_DESC', + ConfidentialAssetHoldersByAccountIdMaxUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MAX_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHoldersByAccountIdMaxUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MAX_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByAccountIdMinAccountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MIN_ACCOUNT_ID_ASC', + ConfidentialAssetHoldersByAccountIdMinAccountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MIN_ACCOUNT_ID_DESC', + ConfidentialAssetHoldersByAccountIdMinAmountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MIN_AMOUNT_ASC', + ConfidentialAssetHoldersByAccountIdMinAmountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MIN_AMOUNT_DESC', + ConfidentialAssetHoldersByAccountIdMinAssetIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MIN_ASSET_ID_ASC', + ConfidentialAssetHoldersByAccountIdMinAssetIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MIN_ASSET_ID_DESC', + ConfidentialAssetHoldersByAccountIdMinCreatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MIN_CREATED_AT_ASC', + ConfidentialAssetHoldersByAccountIdMinCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MIN_CREATED_AT_DESC', + ConfidentialAssetHoldersByAccountIdMinCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MIN_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHoldersByAccountIdMinCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MIN_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByAccountIdMinIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MIN_ID_ASC', + ConfidentialAssetHoldersByAccountIdMinIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MIN_ID_DESC', + ConfidentialAssetHoldersByAccountIdMinUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MIN_UPDATED_AT_ASC', + ConfidentialAssetHoldersByAccountIdMinUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MIN_UPDATED_AT_DESC', + ConfidentialAssetHoldersByAccountIdMinUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MIN_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHoldersByAccountIdMinUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MIN_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByAccountIdStddevPopulationAccountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_POPULATION_ACCOUNT_ID_ASC', + ConfidentialAssetHoldersByAccountIdStddevPopulationAccountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_POPULATION_ACCOUNT_ID_DESC', + ConfidentialAssetHoldersByAccountIdStddevPopulationAmountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_POPULATION_AMOUNT_ASC', + ConfidentialAssetHoldersByAccountIdStddevPopulationAmountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_POPULATION_AMOUNT_DESC', + ConfidentialAssetHoldersByAccountIdStddevPopulationAssetIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_POPULATION_ASSET_ID_ASC', + ConfidentialAssetHoldersByAccountIdStddevPopulationAssetIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_POPULATION_ASSET_ID_DESC', + ConfidentialAssetHoldersByAccountIdStddevPopulationCreatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_POPULATION_CREATED_AT_ASC', + ConfidentialAssetHoldersByAccountIdStddevPopulationCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_POPULATION_CREATED_AT_DESC', + ConfidentialAssetHoldersByAccountIdStddevPopulationCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHoldersByAccountIdStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByAccountIdStddevPopulationIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_POPULATION_ID_ASC', + ConfidentialAssetHoldersByAccountIdStddevPopulationIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_POPULATION_ID_DESC', + ConfidentialAssetHoldersByAccountIdStddevPopulationUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_POPULATION_UPDATED_AT_ASC', + ConfidentialAssetHoldersByAccountIdStddevPopulationUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_POPULATION_UPDATED_AT_DESC', + ConfidentialAssetHoldersByAccountIdStddevPopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHoldersByAccountIdStddevPopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByAccountIdStddevSampleAccountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_SAMPLE_ACCOUNT_ID_ASC', + ConfidentialAssetHoldersByAccountIdStddevSampleAccountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_SAMPLE_ACCOUNT_ID_DESC', + ConfidentialAssetHoldersByAccountIdStddevSampleAmountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_SAMPLE_AMOUNT_ASC', + ConfidentialAssetHoldersByAccountIdStddevSampleAmountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_SAMPLE_AMOUNT_DESC', + ConfidentialAssetHoldersByAccountIdStddevSampleAssetIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_SAMPLE_ASSET_ID_ASC', + ConfidentialAssetHoldersByAccountIdStddevSampleAssetIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_SAMPLE_ASSET_ID_DESC', + ConfidentialAssetHoldersByAccountIdStddevSampleCreatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_SAMPLE_CREATED_AT_ASC', + ConfidentialAssetHoldersByAccountIdStddevSampleCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_SAMPLE_CREATED_AT_DESC', + ConfidentialAssetHoldersByAccountIdStddevSampleCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHoldersByAccountIdStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByAccountIdStddevSampleIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_SAMPLE_ID_ASC', + ConfidentialAssetHoldersByAccountIdStddevSampleIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_SAMPLE_ID_DESC', + ConfidentialAssetHoldersByAccountIdStddevSampleUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', + ConfidentialAssetHoldersByAccountIdStddevSampleUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', + ConfidentialAssetHoldersByAccountIdStddevSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHoldersByAccountIdStddevSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByAccountIdSumAccountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_SUM_ACCOUNT_ID_ASC', + ConfidentialAssetHoldersByAccountIdSumAccountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_SUM_ACCOUNT_ID_DESC', + ConfidentialAssetHoldersByAccountIdSumAmountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_SUM_AMOUNT_ASC', + ConfidentialAssetHoldersByAccountIdSumAmountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_SUM_AMOUNT_DESC', + ConfidentialAssetHoldersByAccountIdSumAssetIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_SUM_ASSET_ID_ASC', + ConfidentialAssetHoldersByAccountIdSumAssetIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_SUM_ASSET_ID_DESC', + ConfidentialAssetHoldersByAccountIdSumCreatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_SUM_CREATED_AT_ASC', + ConfidentialAssetHoldersByAccountIdSumCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_SUM_CREATED_AT_DESC', + ConfidentialAssetHoldersByAccountIdSumCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_SUM_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHoldersByAccountIdSumCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_SUM_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByAccountIdSumIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_SUM_ID_ASC', + ConfidentialAssetHoldersByAccountIdSumIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_SUM_ID_DESC', + ConfidentialAssetHoldersByAccountIdSumUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_SUM_UPDATED_AT_ASC', + ConfidentialAssetHoldersByAccountIdSumUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_SUM_UPDATED_AT_DESC', + ConfidentialAssetHoldersByAccountIdSumUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_SUM_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHoldersByAccountIdSumUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_SUM_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByAccountIdVariancePopulationAccountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_POPULATION_ACCOUNT_ID_ASC', + ConfidentialAssetHoldersByAccountIdVariancePopulationAccountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_POPULATION_ACCOUNT_ID_DESC', + ConfidentialAssetHoldersByAccountIdVariancePopulationAmountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_POPULATION_AMOUNT_ASC', + ConfidentialAssetHoldersByAccountIdVariancePopulationAmountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_POPULATION_AMOUNT_DESC', + ConfidentialAssetHoldersByAccountIdVariancePopulationAssetIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_POPULATION_ASSET_ID_ASC', + ConfidentialAssetHoldersByAccountIdVariancePopulationAssetIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_POPULATION_ASSET_ID_DESC', + ConfidentialAssetHoldersByAccountIdVariancePopulationCreatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_POPULATION_CREATED_AT_ASC', + ConfidentialAssetHoldersByAccountIdVariancePopulationCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_POPULATION_CREATED_AT_DESC', + ConfidentialAssetHoldersByAccountIdVariancePopulationCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHoldersByAccountIdVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByAccountIdVariancePopulationIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_POPULATION_ID_ASC', + ConfidentialAssetHoldersByAccountIdVariancePopulationIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_POPULATION_ID_DESC', + ConfidentialAssetHoldersByAccountIdVariancePopulationUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', + ConfidentialAssetHoldersByAccountIdVariancePopulationUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', + ConfidentialAssetHoldersByAccountIdVariancePopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHoldersByAccountIdVariancePopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByAccountIdVarianceSampleAccountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_ACCOUNT_ID_ASC', + ConfidentialAssetHoldersByAccountIdVarianceSampleAccountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_ACCOUNT_ID_DESC', + ConfidentialAssetHoldersByAccountIdVarianceSampleAmountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_AMOUNT_ASC', + ConfidentialAssetHoldersByAccountIdVarianceSampleAmountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_AMOUNT_DESC', + ConfidentialAssetHoldersByAccountIdVarianceSampleAssetIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_ASSET_ID_ASC', + ConfidentialAssetHoldersByAccountIdVarianceSampleAssetIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_ASSET_ID_DESC', + ConfidentialAssetHoldersByAccountIdVarianceSampleCreatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', + ConfidentialAssetHoldersByAccountIdVarianceSampleCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', + ConfidentialAssetHoldersByAccountIdVarianceSampleCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHoldersByAccountIdVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByAccountIdVarianceSampleIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_ID_ASC', + ConfidentialAssetHoldersByAccountIdVarianceSampleIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_ID_DESC', + ConfidentialAssetHoldersByAccountIdVarianceSampleUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', + ConfidentialAssetHoldersByAccountIdVarianceSampleUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', + ConfidentialAssetHoldersByAccountIdVarianceSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHoldersByAccountIdVarianceSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', + ConfidentialLegsByReceiverIdAverageAssetAuditorsAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_AVERAGE_ASSET_AUDITORS_ASC', + ConfidentialLegsByReceiverIdAverageAssetAuditorsDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_AVERAGE_ASSET_AUDITORS_DESC', + ConfidentialLegsByReceiverIdAverageCreatedAtAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_AVERAGE_CREATED_AT_ASC', + ConfidentialLegsByReceiverIdAverageCreatedAtDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_AVERAGE_CREATED_AT_DESC', + ConfidentialLegsByReceiverIdAverageCreatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_AVERAGE_CREATED_BLOCK_ID_ASC', + ConfidentialLegsByReceiverIdAverageCreatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_AVERAGE_CREATED_BLOCK_ID_DESC', + ConfidentialLegsByReceiverIdAverageIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_AVERAGE_ID_ASC', + ConfidentialLegsByReceiverIdAverageIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_AVERAGE_ID_DESC', + ConfidentialLegsByReceiverIdAverageMediatorsAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_AVERAGE_MEDIATORS_ASC', + ConfidentialLegsByReceiverIdAverageMediatorsDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_AVERAGE_MEDIATORS_DESC', + ConfidentialLegsByReceiverIdAverageReceiverIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_AVERAGE_RECEIVER_ID_ASC', + ConfidentialLegsByReceiverIdAverageReceiverIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_AVERAGE_RECEIVER_ID_DESC', + ConfidentialLegsByReceiverIdAverageSenderIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_AVERAGE_SENDER_ID_ASC', + ConfidentialLegsByReceiverIdAverageSenderIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_AVERAGE_SENDER_ID_DESC', + ConfidentialLegsByReceiverIdAverageTransactionIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_AVERAGE_TRANSACTION_ID_ASC', + ConfidentialLegsByReceiverIdAverageTransactionIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_AVERAGE_TRANSACTION_ID_DESC', + ConfidentialLegsByReceiverIdAverageUpdatedAtAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_AVERAGE_UPDATED_AT_ASC', + ConfidentialLegsByReceiverIdAverageUpdatedAtDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_AVERAGE_UPDATED_AT_DESC', + ConfidentialLegsByReceiverIdAverageUpdatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', + ConfidentialLegsByReceiverIdAverageUpdatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', + ConfidentialLegsByReceiverIdCountAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_COUNT_ASC', + ConfidentialLegsByReceiverIdCountDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_COUNT_DESC', + ConfidentialLegsByReceiverIdDistinctCountAssetAuditorsAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_DISTINCT_COUNT_ASSET_AUDITORS_ASC', + ConfidentialLegsByReceiverIdDistinctCountAssetAuditorsDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_DISTINCT_COUNT_ASSET_AUDITORS_DESC', + ConfidentialLegsByReceiverIdDistinctCountCreatedAtAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_DISTINCT_COUNT_CREATED_AT_ASC', + ConfidentialLegsByReceiverIdDistinctCountCreatedAtDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_DISTINCT_COUNT_CREATED_AT_DESC', + ConfidentialLegsByReceiverIdDistinctCountCreatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', + ConfidentialLegsByReceiverIdDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', + ConfidentialLegsByReceiverIdDistinctCountIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_DISTINCT_COUNT_ID_ASC', + ConfidentialLegsByReceiverIdDistinctCountIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_DISTINCT_COUNT_ID_DESC', + ConfidentialLegsByReceiverIdDistinctCountMediatorsAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_DISTINCT_COUNT_MEDIATORS_ASC', + ConfidentialLegsByReceiverIdDistinctCountMediatorsDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_DISTINCT_COUNT_MEDIATORS_DESC', + ConfidentialLegsByReceiverIdDistinctCountReceiverIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_DISTINCT_COUNT_RECEIVER_ID_ASC', + ConfidentialLegsByReceiverIdDistinctCountReceiverIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_DISTINCT_COUNT_RECEIVER_ID_DESC', + ConfidentialLegsByReceiverIdDistinctCountSenderIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_DISTINCT_COUNT_SENDER_ID_ASC', + ConfidentialLegsByReceiverIdDistinctCountSenderIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_DISTINCT_COUNT_SENDER_ID_DESC', + ConfidentialLegsByReceiverIdDistinctCountTransactionIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_DISTINCT_COUNT_TRANSACTION_ID_ASC', + ConfidentialLegsByReceiverIdDistinctCountTransactionIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_DISTINCT_COUNT_TRANSACTION_ID_DESC', + ConfidentialLegsByReceiverIdDistinctCountUpdatedAtAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_DISTINCT_COUNT_UPDATED_AT_ASC', + ConfidentialLegsByReceiverIdDistinctCountUpdatedAtDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_DISTINCT_COUNT_UPDATED_AT_DESC', + ConfidentialLegsByReceiverIdDistinctCountUpdatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', + ConfidentialLegsByReceiverIdDistinctCountUpdatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', + ConfidentialLegsByReceiverIdMaxAssetAuditorsAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MAX_ASSET_AUDITORS_ASC', + ConfidentialLegsByReceiverIdMaxAssetAuditorsDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MAX_ASSET_AUDITORS_DESC', + ConfidentialLegsByReceiverIdMaxCreatedAtAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MAX_CREATED_AT_ASC', + ConfidentialLegsByReceiverIdMaxCreatedAtDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MAX_CREATED_AT_DESC', + ConfidentialLegsByReceiverIdMaxCreatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MAX_CREATED_BLOCK_ID_ASC', + ConfidentialLegsByReceiverIdMaxCreatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MAX_CREATED_BLOCK_ID_DESC', + ConfidentialLegsByReceiverIdMaxIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MAX_ID_ASC', + ConfidentialLegsByReceiverIdMaxIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MAX_ID_DESC', + ConfidentialLegsByReceiverIdMaxMediatorsAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MAX_MEDIATORS_ASC', + ConfidentialLegsByReceiverIdMaxMediatorsDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MAX_MEDIATORS_DESC', + ConfidentialLegsByReceiverIdMaxReceiverIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MAX_RECEIVER_ID_ASC', + ConfidentialLegsByReceiverIdMaxReceiverIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MAX_RECEIVER_ID_DESC', + ConfidentialLegsByReceiverIdMaxSenderIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MAX_SENDER_ID_ASC', + ConfidentialLegsByReceiverIdMaxSenderIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MAX_SENDER_ID_DESC', + ConfidentialLegsByReceiverIdMaxTransactionIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MAX_TRANSACTION_ID_ASC', + ConfidentialLegsByReceiverIdMaxTransactionIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MAX_TRANSACTION_ID_DESC', + ConfidentialLegsByReceiverIdMaxUpdatedAtAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MAX_UPDATED_AT_ASC', + ConfidentialLegsByReceiverIdMaxUpdatedAtDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MAX_UPDATED_AT_DESC', + ConfidentialLegsByReceiverIdMaxUpdatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MAX_UPDATED_BLOCK_ID_ASC', + ConfidentialLegsByReceiverIdMaxUpdatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MAX_UPDATED_BLOCK_ID_DESC', + ConfidentialLegsByReceiverIdMinAssetAuditorsAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MIN_ASSET_AUDITORS_ASC', + ConfidentialLegsByReceiverIdMinAssetAuditorsDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MIN_ASSET_AUDITORS_DESC', + ConfidentialLegsByReceiverIdMinCreatedAtAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MIN_CREATED_AT_ASC', + ConfidentialLegsByReceiverIdMinCreatedAtDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MIN_CREATED_AT_DESC', + ConfidentialLegsByReceiverIdMinCreatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MIN_CREATED_BLOCK_ID_ASC', + ConfidentialLegsByReceiverIdMinCreatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MIN_CREATED_BLOCK_ID_DESC', + ConfidentialLegsByReceiverIdMinIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MIN_ID_ASC', + ConfidentialLegsByReceiverIdMinIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MIN_ID_DESC', + ConfidentialLegsByReceiverIdMinMediatorsAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MIN_MEDIATORS_ASC', + ConfidentialLegsByReceiverIdMinMediatorsDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MIN_MEDIATORS_DESC', + ConfidentialLegsByReceiverIdMinReceiverIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MIN_RECEIVER_ID_ASC', + ConfidentialLegsByReceiverIdMinReceiverIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MIN_RECEIVER_ID_DESC', + ConfidentialLegsByReceiverIdMinSenderIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MIN_SENDER_ID_ASC', + ConfidentialLegsByReceiverIdMinSenderIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MIN_SENDER_ID_DESC', + ConfidentialLegsByReceiverIdMinTransactionIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MIN_TRANSACTION_ID_ASC', + ConfidentialLegsByReceiverIdMinTransactionIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MIN_TRANSACTION_ID_DESC', + ConfidentialLegsByReceiverIdMinUpdatedAtAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MIN_UPDATED_AT_ASC', + ConfidentialLegsByReceiverIdMinUpdatedAtDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MIN_UPDATED_AT_DESC', + ConfidentialLegsByReceiverIdMinUpdatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MIN_UPDATED_BLOCK_ID_ASC', + ConfidentialLegsByReceiverIdMinUpdatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MIN_UPDATED_BLOCK_ID_DESC', + ConfidentialLegsByReceiverIdStddevPopulationAssetAuditorsAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_POPULATION_ASSET_AUDITORS_ASC', + ConfidentialLegsByReceiverIdStddevPopulationAssetAuditorsDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_POPULATION_ASSET_AUDITORS_DESC', + ConfidentialLegsByReceiverIdStddevPopulationCreatedAtAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_POPULATION_CREATED_AT_ASC', + ConfidentialLegsByReceiverIdStddevPopulationCreatedAtDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_POPULATION_CREATED_AT_DESC', + ConfidentialLegsByReceiverIdStddevPopulationCreatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', + ConfidentialLegsByReceiverIdStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialLegsByReceiverIdStddevPopulationIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_POPULATION_ID_ASC', + ConfidentialLegsByReceiverIdStddevPopulationIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_POPULATION_ID_DESC', + ConfidentialLegsByReceiverIdStddevPopulationMediatorsAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_POPULATION_MEDIATORS_ASC', + ConfidentialLegsByReceiverIdStddevPopulationMediatorsDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_POPULATION_MEDIATORS_DESC', + ConfidentialLegsByReceiverIdStddevPopulationReceiverIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_POPULATION_RECEIVER_ID_ASC', + ConfidentialLegsByReceiverIdStddevPopulationReceiverIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_POPULATION_RECEIVER_ID_DESC', + ConfidentialLegsByReceiverIdStddevPopulationSenderIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_POPULATION_SENDER_ID_ASC', + ConfidentialLegsByReceiverIdStddevPopulationSenderIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_POPULATION_SENDER_ID_DESC', + ConfidentialLegsByReceiverIdStddevPopulationTransactionIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_POPULATION_TRANSACTION_ID_ASC', + ConfidentialLegsByReceiverIdStddevPopulationTransactionIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_POPULATION_TRANSACTION_ID_DESC', + ConfidentialLegsByReceiverIdStddevPopulationUpdatedAtAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_POPULATION_UPDATED_AT_ASC', + ConfidentialLegsByReceiverIdStddevPopulationUpdatedAtDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_POPULATION_UPDATED_AT_DESC', + ConfidentialLegsByReceiverIdStddevPopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', + ConfidentialLegsByReceiverIdStddevPopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', + ConfidentialLegsByReceiverIdStddevSampleAssetAuditorsAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_SAMPLE_ASSET_AUDITORS_ASC', + ConfidentialLegsByReceiverIdStddevSampleAssetAuditorsDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_SAMPLE_ASSET_AUDITORS_DESC', + ConfidentialLegsByReceiverIdStddevSampleCreatedAtAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_SAMPLE_CREATED_AT_ASC', + ConfidentialLegsByReceiverIdStddevSampleCreatedAtDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_SAMPLE_CREATED_AT_DESC', + ConfidentialLegsByReceiverIdStddevSampleCreatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', + ConfidentialLegsByReceiverIdStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialLegsByReceiverIdStddevSampleIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_SAMPLE_ID_ASC', + ConfidentialLegsByReceiverIdStddevSampleIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_SAMPLE_ID_DESC', + ConfidentialLegsByReceiverIdStddevSampleMediatorsAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_SAMPLE_MEDIATORS_ASC', + ConfidentialLegsByReceiverIdStddevSampleMediatorsDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_SAMPLE_MEDIATORS_DESC', + ConfidentialLegsByReceiverIdStddevSampleReceiverIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_SAMPLE_RECEIVER_ID_ASC', + ConfidentialLegsByReceiverIdStddevSampleReceiverIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_SAMPLE_RECEIVER_ID_DESC', + ConfidentialLegsByReceiverIdStddevSampleSenderIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_SAMPLE_SENDER_ID_ASC', + ConfidentialLegsByReceiverIdStddevSampleSenderIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_SAMPLE_SENDER_ID_DESC', + ConfidentialLegsByReceiverIdStddevSampleTransactionIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_SAMPLE_TRANSACTION_ID_ASC', + ConfidentialLegsByReceiverIdStddevSampleTransactionIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_SAMPLE_TRANSACTION_ID_DESC', + ConfidentialLegsByReceiverIdStddevSampleUpdatedAtAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', + ConfidentialLegsByReceiverIdStddevSampleUpdatedAtDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', + ConfidentialLegsByReceiverIdStddevSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', + ConfidentialLegsByReceiverIdStddevSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', + ConfidentialLegsByReceiverIdSumAssetAuditorsAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_SUM_ASSET_AUDITORS_ASC', + ConfidentialLegsByReceiverIdSumAssetAuditorsDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_SUM_ASSET_AUDITORS_DESC', + ConfidentialLegsByReceiverIdSumCreatedAtAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_SUM_CREATED_AT_ASC', + ConfidentialLegsByReceiverIdSumCreatedAtDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_SUM_CREATED_AT_DESC', + ConfidentialLegsByReceiverIdSumCreatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_SUM_CREATED_BLOCK_ID_ASC', + ConfidentialLegsByReceiverIdSumCreatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_SUM_CREATED_BLOCK_ID_DESC', + ConfidentialLegsByReceiverIdSumIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_SUM_ID_ASC', + ConfidentialLegsByReceiverIdSumIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_SUM_ID_DESC', + ConfidentialLegsByReceiverIdSumMediatorsAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_SUM_MEDIATORS_ASC', + ConfidentialLegsByReceiverIdSumMediatorsDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_SUM_MEDIATORS_DESC', + ConfidentialLegsByReceiverIdSumReceiverIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_SUM_RECEIVER_ID_ASC', + ConfidentialLegsByReceiverIdSumReceiverIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_SUM_RECEIVER_ID_DESC', + ConfidentialLegsByReceiverIdSumSenderIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_SUM_SENDER_ID_ASC', + ConfidentialLegsByReceiverIdSumSenderIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_SUM_SENDER_ID_DESC', + ConfidentialLegsByReceiverIdSumTransactionIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_SUM_TRANSACTION_ID_ASC', + ConfidentialLegsByReceiverIdSumTransactionIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_SUM_TRANSACTION_ID_DESC', + ConfidentialLegsByReceiverIdSumUpdatedAtAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_SUM_UPDATED_AT_ASC', + ConfidentialLegsByReceiverIdSumUpdatedAtDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_SUM_UPDATED_AT_DESC', + ConfidentialLegsByReceiverIdSumUpdatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_SUM_UPDATED_BLOCK_ID_ASC', + ConfidentialLegsByReceiverIdSumUpdatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_SUM_UPDATED_BLOCK_ID_DESC', + ConfidentialLegsByReceiverIdVariancePopulationAssetAuditorsAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_POPULATION_ASSET_AUDITORS_ASC', + ConfidentialLegsByReceiverIdVariancePopulationAssetAuditorsDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_POPULATION_ASSET_AUDITORS_DESC', + ConfidentialLegsByReceiverIdVariancePopulationCreatedAtAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_POPULATION_CREATED_AT_ASC', + ConfidentialLegsByReceiverIdVariancePopulationCreatedAtDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_POPULATION_CREATED_AT_DESC', + ConfidentialLegsByReceiverIdVariancePopulationCreatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', + ConfidentialLegsByReceiverIdVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialLegsByReceiverIdVariancePopulationIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_POPULATION_ID_ASC', + ConfidentialLegsByReceiverIdVariancePopulationIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_POPULATION_ID_DESC', + ConfidentialLegsByReceiverIdVariancePopulationMediatorsAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_POPULATION_MEDIATORS_ASC', + ConfidentialLegsByReceiverIdVariancePopulationMediatorsDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_POPULATION_MEDIATORS_DESC', + ConfidentialLegsByReceiverIdVariancePopulationReceiverIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_POPULATION_RECEIVER_ID_ASC', + ConfidentialLegsByReceiverIdVariancePopulationReceiverIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_POPULATION_RECEIVER_ID_DESC', + ConfidentialLegsByReceiverIdVariancePopulationSenderIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_POPULATION_SENDER_ID_ASC', + ConfidentialLegsByReceiverIdVariancePopulationSenderIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_POPULATION_SENDER_ID_DESC', + ConfidentialLegsByReceiverIdVariancePopulationTransactionIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_POPULATION_TRANSACTION_ID_ASC', + ConfidentialLegsByReceiverIdVariancePopulationTransactionIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_POPULATION_TRANSACTION_ID_DESC', + ConfidentialLegsByReceiverIdVariancePopulationUpdatedAtAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', + ConfidentialLegsByReceiverIdVariancePopulationUpdatedAtDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', + ConfidentialLegsByReceiverIdVariancePopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', + ConfidentialLegsByReceiverIdVariancePopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', + ConfidentialLegsByReceiverIdVarianceSampleAssetAuditorsAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_SAMPLE_ASSET_AUDITORS_ASC', + ConfidentialLegsByReceiverIdVarianceSampleAssetAuditorsDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_SAMPLE_ASSET_AUDITORS_DESC', + ConfidentialLegsByReceiverIdVarianceSampleCreatedAtAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', + ConfidentialLegsByReceiverIdVarianceSampleCreatedAtDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', + ConfidentialLegsByReceiverIdVarianceSampleCreatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', + ConfidentialLegsByReceiverIdVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialLegsByReceiverIdVarianceSampleIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_SAMPLE_ID_ASC', + ConfidentialLegsByReceiverIdVarianceSampleIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_SAMPLE_ID_DESC', + ConfidentialLegsByReceiverIdVarianceSampleMediatorsAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_SAMPLE_MEDIATORS_ASC', + ConfidentialLegsByReceiverIdVarianceSampleMediatorsDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_SAMPLE_MEDIATORS_DESC', + ConfidentialLegsByReceiverIdVarianceSampleReceiverIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_SAMPLE_RECEIVER_ID_ASC', + ConfidentialLegsByReceiverIdVarianceSampleReceiverIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_SAMPLE_RECEIVER_ID_DESC', + ConfidentialLegsByReceiverIdVarianceSampleSenderIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_SAMPLE_SENDER_ID_ASC', + ConfidentialLegsByReceiverIdVarianceSampleSenderIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_SAMPLE_SENDER_ID_DESC', + ConfidentialLegsByReceiverIdVarianceSampleTransactionIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_SAMPLE_TRANSACTION_ID_ASC', + ConfidentialLegsByReceiverIdVarianceSampleTransactionIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_SAMPLE_TRANSACTION_ID_DESC', + ConfidentialLegsByReceiverIdVarianceSampleUpdatedAtAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', + ConfidentialLegsByReceiverIdVarianceSampleUpdatedAtDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', + ConfidentialLegsByReceiverIdVarianceSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', + ConfidentialLegsByReceiverIdVarianceSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', + ConfidentialLegsBySenderIdAverageAssetAuditorsAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_AVERAGE_ASSET_AUDITORS_ASC', + ConfidentialLegsBySenderIdAverageAssetAuditorsDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_AVERAGE_ASSET_AUDITORS_DESC', + ConfidentialLegsBySenderIdAverageCreatedAtAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_AVERAGE_CREATED_AT_ASC', + ConfidentialLegsBySenderIdAverageCreatedAtDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_AVERAGE_CREATED_AT_DESC', + ConfidentialLegsBySenderIdAverageCreatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_AVERAGE_CREATED_BLOCK_ID_ASC', + ConfidentialLegsBySenderIdAverageCreatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_AVERAGE_CREATED_BLOCK_ID_DESC', + ConfidentialLegsBySenderIdAverageIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_AVERAGE_ID_ASC', + ConfidentialLegsBySenderIdAverageIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_AVERAGE_ID_DESC', + ConfidentialLegsBySenderIdAverageMediatorsAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_AVERAGE_MEDIATORS_ASC', + ConfidentialLegsBySenderIdAverageMediatorsDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_AVERAGE_MEDIATORS_DESC', + ConfidentialLegsBySenderIdAverageReceiverIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_AVERAGE_RECEIVER_ID_ASC', + ConfidentialLegsBySenderIdAverageReceiverIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_AVERAGE_RECEIVER_ID_DESC', + ConfidentialLegsBySenderIdAverageSenderIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_AVERAGE_SENDER_ID_ASC', + ConfidentialLegsBySenderIdAverageSenderIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_AVERAGE_SENDER_ID_DESC', + ConfidentialLegsBySenderIdAverageTransactionIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_AVERAGE_TRANSACTION_ID_ASC', + ConfidentialLegsBySenderIdAverageTransactionIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_AVERAGE_TRANSACTION_ID_DESC', + ConfidentialLegsBySenderIdAverageUpdatedAtAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_AVERAGE_UPDATED_AT_ASC', + ConfidentialLegsBySenderIdAverageUpdatedAtDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_AVERAGE_UPDATED_AT_DESC', + ConfidentialLegsBySenderIdAverageUpdatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', + ConfidentialLegsBySenderIdAverageUpdatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', + ConfidentialLegsBySenderIdCountAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_COUNT_ASC', + ConfidentialLegsBySenderIdCountDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_COUNT_DESC', + ConfidentialLegsBySenderIdDistinctCountAssetAuditorsAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_DISTINCT_COUNT_ASSET_AUDITORS_ASC', + ConfidentialLegsBySenderIdDistinctCountAssetAuditorsDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_DISTINCT_COUNT_ASSET_AUDITORS_DESC', + ConfidentialLegsBySenderIdDistinctCountCreatedAtAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_DISTINCT_COUNT_CREATED_AT_ASC', + ConfidentialLegsBySenderIdDistinctCountCreatedAtDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_DISTINCT_COUNT_CREATED_AT_DESC', + ConfidentialLegsBySenderIdDistinctCountCreatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', + ConfidentialLegsBySenderIdDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', + ConfidentialLegsBySenderIdDistinctCountIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_DISTINCT_COUNT_ID_ASC', + ConfidentialLegsBySenderIdDistinctCountIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_DISTINCT_COUNT_ID_DESC', + ConfidentialLegsBySenderIdDistinctCountMediatorsAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_DISTINCT_COUNT_MEDIATORS_ASC', + ConfidentialLegsBySenderIdDistinctCountMediatorsDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_DISTINCT_COUNT_MEDIATORS_DESC', + ConfidentialLegsBySenderIdDistinctCountReceiverIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_DISTINCT_COUNT_RECEIVER_ID_ASC', + ConfidentialLegsBySenderIdDistinctCountReceiverIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_DISTINCT_COUNT_RECEIVER_ID_DESC', + ConfidentialLegsBySenderIdDistinctCountSenderIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_DISTINCT_COUNT_SENDER_ID_ASC', + ConfidentialLegsBySenderIdDistinctCountSenderIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_DISTINCT_COUNT_SENDER_ID_DESC', + ConfidentialLegsBySenderIdDistinctCountTransactionIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_DISTINCT_COUNT_TRANSACTION_ID_ASC', + ConfidentialLegsBySenderIdDistinctCountTransactionIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_DISTINCT_COUNT_TRANSACTION_ID_DESC', + ConfidentialLegsBySenderIdDistinctCountUpdatedAtAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_DISTINCT_COUNT_UPDATED_AT_ASC', + ConfidentialLegsBySenderIdDistinctCountUpdatedAtDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_DISTINCT_COUNT_UPDATED_AT_DESC', + ConfidentialLegsBySenderIdDistinctCountUpdatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', + ConfidentialLegsBySenderIdDistinctCountUpdatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', + ConfidentialLegsBySenderIdMaxAssetAuditorsAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MAX_ASSET_AUDITORS_ASC', + ConfidentialLegsBySenderIdMaxAssetAuditorsDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MAX_ASSET_AUDITORS_DESC', + ConfidentialLegsBySenderIdMaxCreatedAtAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MAX_CREATED_AT_ASC', + ConfidentialLegsBySenderIdMaxCreatedAtDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MAX_CREATED_AT_DESC', + ConfidentialLegsBySenderIdMaxCreatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MAX_CREATED_BLOCK_ID_ASC', + ConfidentialLegsBySenderIdMaxCreatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MAX_CREATED_BLOCK_ID_DESC', + ConfidentialLegsBySenderIdMaxIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MAX_ID_ASC', + ConfidentialLegsBySenderIdMaxIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MAX_ID_DESC', + ConfidentialLegsBySenderIdMaxMediatorsAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MAX_MEDIATORS_ASC', + ConfidentialLegsBySenderIdMaxMediatorsDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MAX_MEDIATORS_DESC', + ConfidentialLegsBySenderIdMaxReceiverIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MAX_RECEIVER_ID_ASC', + ConfidentialLegsBySenderIdMaxReceiverIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MAX_RECEIVER_ID_DESC', + ConfidentialLegsBySenderIdMaxSenderIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MAX_SENDER_ID_ASC', + ConfidentialLegsBySenderIdMaxSenderIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MAX_SENDER_ID_DESC', + ConfidentialLegsBySenderIdMaxTransactionIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MAX_TRANSACTION_ID_ASC', + ConfidentialLegsBySenderIdMaxTransactionIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MAX_TRANSACTION_ID_DESC', + ConfidentialLegsBySenderIdMaxUpdatedAtAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MAX_UPDATED_AT_ASC', + ConfidentialLegsBySenderIdMaxUpdatedAtDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MAX_UPDATED_AT_DESC', + ConfidentialLegsBySenderIdMaxUpdatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MAX_UPDATED_BLOCK_ID_ASC', + ConfidentialLegsBySenderIdMaxUpdatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MAX_UPDATED_BLOCK_ID_DESC', + ConfidentialLegsBySenderIdMinAssetAuditorsAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MIN_ASSET_AUDITORS_ASC', + ConfidentialLegsBySenderIdMinAssetAuditorsDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MIN_ASSET_AUDITORS_DESC', + ConfidentialLegsBySenderIdMinCreatedAtAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MIN_CREATED_AT_ASC', + ConfidentialLegsBySenderIdMinCreatedAtDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MIN_CREATED_AT_DESC', + ConfidentialLegsBySenderIdMinCreatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MIN_CREATED_BLOCK_ID_ASC', + ConfidentialLegsBySenderIdMinCreatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MIN_CREATED_BLOCK_ID_DESC', + ConfidentialLegsBySenderIdMinIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MIN_ID_ASC', + ConfidentialLegsBySenderIdMinIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MIN_ID_DESC', + ConfidentialLegsBySenderIdMinMediatorsAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MIN_MEDIATORS_ASC', + ConfidentialLegsBySenderIdMinMediatorsDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MIN_MEDIATORS_DESC', + ConfidentialLegsBySenderIdMinReceiverIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MIN_RECEIVER_ID_ASC', + ConfidentialLegsBySenderIdMinReceiverIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MIN_RECEIVER_ID_DESC', + ConfidentialLegsBySenderIdMinSenderIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MIN_SENDER_ID_ASC', + ConfidentialLegsBySenderIdMinSenderIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MIN_SENDER_ID_DESC', + ConfidentialLegsBySenderIdMinTransactionIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MIN_TRANSACTION_ID_ASC', + ConfidentialLegsBySenderIdMinTransactionIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MIN_TRANSACTION_ID_DESC', + ConfidentialLegsBySenderIdMinUpdatedAtAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MIN_UPDATED_AT_ASC', + ConfidentialLegsBySenderIdMinUpdatedAtDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MIN_UPDATED_AT_DESC', + ConfidentialLegsBySenderIdMinUpdatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MIN_UPDATED_BLOCK_ID_ASC', + ConfidentialLegsBySenderIdMinUpdatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MIN_UPDATED_BLOCK_ID_DESC', + ConfidentialLegsBySenderIdStddevPopulationAssetAuditorsAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_POPULATION_ASSET_AUDITORS_ASC', + ConfidentialLegsBySenderIdStddevPopulationAssetAuditorsDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_POPULATION_ASSET_AUDITORS_DESC', + ConfidentialLegsBySenderIdStddevPopulationCreatedAtAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_POPULATION_CREATED_AT_ASC', + ConfidentialLegsBySenderIdStddevPopulationCreatedAtDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_POPULATION_CREATED_AT_DESC', + ConfidentialLegsBySenderIdStddevPopulationCreatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', + ConfidentialLegsBySenderIdStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialLegsBySenderIdStddevPopulationIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_POPULATION_ID_ASC', + ConfidentialLegsBySenderIdStddevPopulationIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_POPULATION_ID_DESC', + ConfidentialLegsBySenderIdStddevPopulationMediatorsAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_POPULATION_MEDIATORS_ASC', + ConfidentialLegsBySenderIdStddevPopulationMediatorsDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_POPULATION_MEDIATORS_DESC', + ConfidentialLegsBySenderIdStddevPopulationReceiverIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_POPULATION_RECEIVER_ID_ASC', + ConfidentialLegsBySenderIdStddevPopulationReceiverIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_POPULATION_RECEIVER_ID_DESC', + ConfidentialLegsBySenderIdStddevPopulationSenderIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_POPULATION_SENDER_ID_ASC', + ConfidentialLegsBySenderIdStddevPopulationSenderIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_POPULATION_SENDER_ID_DESC', + ConfidentialLegsBySenderIdStddevPopulationTransactionIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_POPULATION_TRANSACTION_ID_ASC', + ConfidentialLegsBySenderIdStddevPopulationTransactionIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_POPULATION_TRANSACTION_ID_DESC', + ConfidentialLegsBySenderIdStddevPopulationUpdatedAtAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_POPULATION_UPDATED_AT_ASC', + ConfidentialLegsBySenderIdStddevPopulationUpdatedAtDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_POPULATION_UPDATED_AT_DESC', + ConfidentialLegsBySenderIdStddevPopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', + ConfidentialLegsBySenderIdStddevPopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', + ConfidentialLegsBySenderIdStddevSampleAssetAuditorsAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_SAMPLE_ASSET_AUDITORS_ASC', + ConfidentialLegsBySenderIdStddevSampleAssetAuditorsDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_SAMPLE_ASSET_AUDITORS_DESC', + ConfidentialLegsBySenderIdStddevSampleCreatedAtAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_SAMPLE_CREATED_AT_ASC', + ConfidentialLegsBySenderIdStddevSampleCreatedAtDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_SAMPLE_CREATED_AT_DESC', + ConfidentialLegsBySenderIdStddevSampleCreatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', + ConfidentialLegsBySenderIdStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialLegsBySenderIdStddevSampleIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_SAMPLE_ID_ASC', + ConfidentialLegsBySenderIdStddevSampleIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_SAMPLE_ID_DESC', + ConfidentialLegsBySenderIdStddevSampleMediatorsAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_SAMPLE_MEDIATORS_ASC', + ConfidentialLegsBySenderIdStddevSampleMediatorsDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_SAMPLE_MEDIATORS_DESC', + ConfidentialLegsBySenderIdStddevSampleReceiverIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_SAMPLE_RECEIVER_ID_ASC', + ConfidentialLegsBySenderIdStddevSampleReceiverIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_SAMPLE_RECEIVER_ID_DESC', + ConfidentialLegsBySenderIdStddevSampleSenderIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_SAMPLE_SENDER_ID_ASC', + ConfidentialLegsBySenderIdStddevSampleSenderIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_SAMPLE_SENDER_ID_DESC', + ConfidentialLegsBySenderIdStddevSampleTransactionIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_SAMPLE_TRANSACTION_ID_ASC', + ConfidentialLegsBySenderIdStddevSampleTransactionIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_SAMPLE_TRANSACTION_ID_DESC', + ConfidentialLegsBySenderIdStddevSampleUpdatedAtAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', + ConfidentialLegsBySenderIdStddevSampleUpdatedAtDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', + ConfidentialLegsBySenderIdStddevSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', + ConfidentialLegsBySenderIdStddevSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', + ConfidentialLegsBySenderIdSumAssetAuditorsAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_SUM_ASSET_AUDITORS_ASC', + ConfidentialLegsBySenderIdSumAssetAuditorsDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_SUM_ASSET_AUDITORS_DESC', + ConfidentialLegsBySenderIdSumCreatedAtAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_SUM_CREATED_AT_ASC', + ConfidentialLegsBySenderIdSumCreatedAtDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_SUM_CREATED_AT_DESC', + ConfidentialLegsBySenderIdSumCreatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_SUM_CREATED_BLOCK_ID_ASC', + ConfidentialLegsBySenderIdSumCreatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_SUM_CREATED_BLOCK_ID_DESC', + ConfidentialLegsBySenderIdSumIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_SUM_ID_ASC', + ConfidentialLegsBySenderIdSumIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_SUM_ID_DESC', + ConfidentialLegsBySenderIdSumMediatorsAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_SUM_MEDIATORS_ASC', + ConfidentialLegsBySenderIdSumMediatorsDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_SUM_MEDIATORS_DESC', + ConfidentialLegsBySenderIdSumReceiverIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_SUM_RECEIVER_ID_ASC', + ConfidentialLegsBySenderIdSumReceiverIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_SUM_RECEIVER_ID_DESC', + ConfidentialLegsBySenderIdSumSenderIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_SUM_SENDER_ID_ASC', + ConfidentialLegsBySenderIdSumSenderIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_SUM_SENDER_ID_DESC', + ConfidentialLegsBySenderIdSumTransactionIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_SUM_TRANSACTION_ID_ASC', + ConfidentialLegsBySenderIdSumTransactionIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_SUM_TRANSACTION_ID_DESC', + ConfidentialLegsBySenderIdSumUpdatedAtAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_SUM_UPDATED_AT_ASC', + ConfidentialLegsBySenderIdSumUpdatedAtDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_SUM_UPDATED_AT_DESC', + ConfidentialLegsBySenderIdSumUpdatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_SUM_UPDATED_BLOCK_ID_ASC', + ConfidentialLegsBySenderIdSumUpdatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_SUM_UPDATED_BLOCK_ID_DESC', + ConfidentialLegsBySenderIdVariancePopulationAssetAuditorsAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_POPULATION_ASSET_AUDITORS_ASC', + ConfidentialLegsBySenderIdVariancePopulationAssetAuditorsDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_POPULATION_ASSET_AUDITORS_DESC', + ConfidentialLegsBySenderIdVariancePopulationCreatedAtAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_POPULATION_CREATED_AT_ASC', + ConfidentialLegsBySenderIdVariancePopulationCreatedAtDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_POPULATION_CREATED_AT_DESC', + ConfidentialLegsBySenderIdVariancePopulationCreatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', + ConfidentialLegsBySenderIdVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialLegsBySenderIdVariancePopulationIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_POPULATION_ID_ASC', + ConfidentialLegsBySenderIdVariancePopulationIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_POPULATION_ID_DESC', + ConfidentialLegsBySenderIdVariancePopulationMediatorsAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_POPULATION_MEDIATORS_ASC', + ConfidentialLegsBySenderIdVariancePopulationMediatorsDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_POPULATION_MEDIATORS_DESC', + ConfidentialLegsBySenderIdVariancePopulationReceiverIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_POPULATION_RECEIVER_ID_ASC', + ConfidentialLegsBySenderIdVariancePopulationReceiverIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_POPULATION_RECEIVER_ID_DESC', + ConfidentialLegsBySenderIdVariancePopulationSenderIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_POPULATION_SENDER_ID_ASC', + ConfidentialLegsBySenderIdVariancePopulationSenderIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_POPULATION_SENDER_ID_DESC', + ConfidentialLegsBySenderIdVariancePopulationTransactionIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_POPULATION_TRANSACTION_ID_ASC', + ConfidentialLegsBySenderIdVariancePopulationTransactionIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_POPULATION_TRANSACTION_ID_DESC', + ConfidentialLegsBySenderIdVariancePopulationUpdatedAtAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', + ConfidentialLegsBySenderIdVariancePopulationUpdatedAtDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', + ConfidentialLegsBySenderIdVariancePopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', + ConfidentialLegsBySenderIdVariancePopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', + ConfidentialLegsBySenderIdVarianceSampleAssetAuditorsAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_SAMPLE_ASSET_AUDITORS_ASC', + ConfidentialLegsBySenderIdVarianceSampleAssetAuditorsDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_SAMPLE_ASSET_AUDITORS_DESC', + ConfidentialLegsBySenderIdVarianceSampleCreatedAtAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', + ConfidentialLegsBySenderIdVarianceSampleCreatedAtDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', + ConfidentialLegsBySenderIdVarianceSampleCreatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', + ConfidentialLegsBySenderIdVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialLegsBySenderIdVarianceSampleIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_SAMPLE_ID_ASC', + ConfidentialLegsBySenderIdVarianceSampleIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_SAMPLE_ID_DESC', + ConfidentialLegsBySenderIdVarianceSampleMediatorsAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_SAMPLE_MEDIATORS_ASC', + ConfidentialLegsBySenderIdVarianceSampleMediatorsDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_SAMPLE_MEDIATORS_DESC', + ConfidentialLegsBySenderIdVarianceSampleReceiverIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_SAMPLE_RECEIVER_ID_ASC', + ConfidentialLegsBySenderIdVarianceSampleReceiverIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_SAMPLE_RECEIVER_ID_DESC', + ConfidentialLegsBySenderIdVarianceSampleSenderIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_SAMPLE_SENDER_ID_ASC', + ConfidentialLegsBySenderIdVarianceSampleSenderIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_SAMPLE_SENDER_ID_DESC', + ConfidentialLegsBySenderIdVarianceSampleTransactionIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_SAMPLE_TRANSACTION_ID_ASC', + ConfidentialLegsBySenderIdVarianceSampleTransactionIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_SAMPLE_TRANSACTION_ID_DESC', + ConfidentialLegsBySenderIdVarianceSampleUpdatedAtAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', + ConfidentialLegsBySenderIdVarianceSampleUpdatedAtDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', + ConfidentialLegsBySenderIdVarianceSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', + ConfidentialLegsBySenderIdVarianceSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByAccountIdAverageAccountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_AVERAGE_ACCOUNT_ID_ASC', + ConfidentialTransactionAffirmationsByAccountIdAverageAccountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_AVERAGE_ACCOUNT_ID_DESC', + ConfidentialTransactionAffirmationsByAccountIdAverageCreatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_AVERAGE_CREATED_AT_ASC', + ConfidentialTransactionAffirmationsByAccountIdAverageCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_AVERAGE_CREATED_AT_DESC', + ConfidentialTransactionAffirmationsByAccountIdAverageCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_AVERAGE_CREATED_BLOCK_ID_ASC', + ConfidentialTransactionAffirmationsByAccountIdAverageCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_AVERAGE_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByAccountIdAverageIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_AVERAGE_IDENTITY_ID_ASC', + ConfidentialTransactionAffirmationsByAccountIdAverageIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_AVERAGE_IDENTITY_ID_DESC', + ConfidentialTransactionAffirmationsByAccountIdAverageIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_AVERAGE_ID_ASC', + ConfidentialTransactionAffirmationsByAccountIdAverageIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_AVERAGE_ID_DESC', + ConfidentialTransactionAffirmationsByAccountIdAverageLegIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_AVERAGE_LEG_ID_ASC', + ConfidentialTransactionAffirmationsByAccountIdAverageLegIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_AVERAGE_LEG_ID_DESC', + ConfidentialTransactionAffirmationsByAccountIdAverageProofsAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_AVERAGE_PROOFS_ASC', + ConfidentialTransactionAffirmationsByAccountIdAverageProofsDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_AVERAGE_PROOFS_DESC', + ConfidentialTransactionAffirmationsByAccountIdAverageStatusAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_AVERAGE_STATUS_ASC', + ConfidentialTransactionAffirmationsByAccountIdAverageStatusDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_AVERAGE_STATUS_DESC', + ConfidentialTransactionAffirmationsByAccountIdAverageTransactionIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_AVERAGE_TRANSACTION_ID_ASC', + ConfidentialTransactionAffirmationsByAccountIdAverageTransactionIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_AVERAGE_TRANSACTION_ID_DESC', + ConfidentialTransactionAffirmationsByAccountIdAverageTypeAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_AVERAGE_TYPE_ASC', + ConfidentialTransactionAffirmationsByAccountIdAverageTypeDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_AVERAGE_TYPE_DESC', + ConfidentialTransactionAffirmationsByAccountIdAverageUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_AVERAGE_UPDATED_AT_ASC', + ConfidentialTransactionAffirmationsByAccountIdAverageUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_AVERAGE_UPDATED_AT_DESC', + ConfidentialTransactionAffirmationsByAccountIdAverageUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', + ConfidentialTransactionAffirmationsByAccountIdAverageUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByAccountIdCountAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_COUNT_ASC', + ConfidentialTransactionAffirmationsByAccountIdCountDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_COUNT_DESC', + ConfidentialTransactionAffirmationsByAccountIdDistinctCountAccountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_DISTINCT_COUNT_ACCOUNT_ID_ASC', + ConfidentialTransactionAffirmationsByAccountIdDistinctCountAccountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_DISTINCT_COUNT_ACCOUNT_ID_DESC', + ConfidentialTransactionAffirmationsByAccountIdDistinctCountCreatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_DISTINCT_COUNT_CREATED_AT_ASC', + ConfidentialTransactionAffirmationsByAccountIdDistinctCountCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_DISTINCT_COUNT_CREATED_AT_DESC', + ConfidentialTransactionAffirmationsByAccountIdDistinctCountCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', + ConfidentialTransactionAffirmationsByAccountIdDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByAccountIdDistinctCountIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_DISTINCT_COUNT_IDENTITY_ID_ASC', + ConfidentialTransactionAffirmationsByAccountIdDistinctCountIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_DISTINCT_COUNT_IDENTITY_ID_DESC', + ConfidentialTransactionAffirmationsByAccountIdDistinctCountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_DISTINCT_COUNT_ID_ASC', + ConfidentialTransactionAffirmationsByAccountIdDistinctCountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_DISTINCT_COUNT_ID_DESC', + ConfidentialTransactionAffirmationsByAccountIdDistinctCountLegIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_DISTINCT_COUNT_LEG_ID_ASC', + ConfidentialTransactionAffirmationsByAccountIdDistinctCountLegIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_DISTINCT_COUNT_LEG_ID_DESC', + ConfidentialTransactionAffirmationsByAccountIdDistinctCountProofsAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_DISTINCT_COUNT_PROOFS_ASC', + ConfidentialTransactionAffirmationsByAccountIdDistinctCountProofsDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_DISTINCT_COUNT_PROOFS_DESC', + ConfidentialTransactionAffirmationsByAccountIdDistinctCountStatusAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_DISTINCT_COUNT_STATUS_ASC', + ConfidentialTransactionAffirmationsByAccountIdDistinctCountStatusDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_DISTINCT_COUNT_STATUS_DESC', + ConfidentialTransactionAffirmationsByAccountIdDistinctCountTransactionIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_DISTINCT_COUNT_TRANSACTION_ID_ASC', + ConfidentialTransactionAffirmationsByAccountIdDistinctCountTransactionIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_DISTINCT_COUNT_TRANSACTION_ID_DESC', + ConfidentialTransactionAffirmationsByAccountIdDistinctCountTypeAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_DISTINCT_COUNT_TYPE_ASC', + ConfidentialTransactionAffirmationsByAccountIdDistinctCountTypeDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_DISTINCT_COUNT_TYPE_DESC', + ConfidentialTransactionAffirmationsByAccountIdDistinctCountUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_DISTINCT_COUNT_UPDATED_AT_ASC', + ConfidentialTransactionAffirmationsByAccountIdDistinctCountUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_DISTINCT_COUNT_UPDATED_AT_DESC', + ConfidentialTransactionAffirmationsByAccountIdDistinctCountUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', + ConfidentialTransactionAffirmationsByAccountIdDistinctCountUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByAccountIdMaxAccountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MAX_ACCOUNT_ID_ASC', + ConfidentialTransactionAffirmationsByAccountIdMaxAccountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MAX_ACCOUNT_ID_DESC', + ConfidentialTransactionAffirmationsByAccountIdMaxCreatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MAX_CREATED_AT_ASC', + ConfidentialTransactionAffirmationsByAccountIdMaxCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MAX_CREATED_AT_DESC', + ConfidentialTransactionAffirmationsByAccountIdMaxCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MAX_CREATED_BLOCK_ID_ASC', + ConfidentialTransactionAffirmationsByAccountIdMaxCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MAX_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByAccountIdMaxIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MAX_IDENTITY_ID_ASC', + ConfidentialTransactionAffirmationsByAccountIdMaxIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MAX_IDENTITY_ID_DESC', + ConfidentialTransactionAffirmationsByAccountIdMaxIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MAX_ID_ASC', + ConfidentialTransactionAffirmationsByAccountIdMaxIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MAX_ID_DESC', + ConfidentialTransactionAffirmationsByAccountIdMaxLegIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MAX_LEG_ID_ASC', + ConfidentialTransactionAffirmationsByAccountIdMaxLegIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MAX_LEG_ID_DESC', + ConfidentialTransactionAffirmationsByAccountIdMaxProofsAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MAX_PROOFS_ASC', + ConfidentialTransactionAffirmationsByAccountIdMaxProofsDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MAX_PROOFS_DESC', + ConfidentialTransactionAffirmationsByAccountIdMaxStatusAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MAX_STATUS_ASC', + ConfidentialTransactionAffirmationsByAccountIdMaxStatusDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MAX_STATUS_DESC', + ConfidentialTransactionAffirmationsByAccountIdMaxTransactionIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MAX_TRANSACTION_ID_ASC', + ConfidentialTransactionAffirmationsByAccountIdMaxTransactionIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MAX_TRANSACTION_ID_DESC', + ConfidentialTransactionAffirmationsByAccountIdMaxTypeAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MAX_TYPE_ASC', + ConfidentialTransactionAffirmationsByAccountIdMaxTypeDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MAX_TYPE_DESC', + ConfidentialTransactionAffirmationsByAccountIdMaxUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MAX_UPDATED_AT_ASC', + ConfidentialTransactionAffirmationsByAccountIdMaxUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MAX_UPDATED_AT_DESC', + ConfidentialTransactionAffirmationsByAccountIdMaxUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MAX_UPDATED_BLOCK_ID_ASC', + ConfidentialTransactionAffirmationsByAccountIdMaxUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MAX_UPDATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByAccountIdMinAccountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MIN_ACCOUNT_ID_ASC', + ConfidentialTransactionAffirmationsByAccountIdMinAccountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MIN_ACCOUNT_ID_DESC', + ConfidentialTransactionAffirmationsByAccountIdMinCreatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MIN_CREATED_AT_ASC', + ConfidentialTransactionAffirmationsByAccountIdMinCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MIN_CREATED_AT_DESC', + ConfidentialTransactionAffirmationsByAccountIdMinCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MIN_CREATED_BLOCK_ID_ASC', + ConfidentialTransactionAffirmationsByAccountIdMinCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MIN_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByAccountIdMinIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MIN_IDENTITY_ID_ASC', + ConfidentialTransactionAffirmationsByAccountIdMinIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MIN_IDENTITY_ID_DESC', + ConfidentialTransactionAffirmationsByAccountIdMinIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MIN_ID_ASC', + ConfidentialTransactionAffirmationsByAccountIdMinIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MIN_ID_DESC', + ConfidentialTransactionAffirmationsByAccountIdMinLegIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MIN_LEG_ID_ASC', + ConfidentialTransactionAffirmationsByAccountIdMinLegIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MIN_LEG_ID_DESC', + ConfidentialTransactionAffirmationsByAccountIdMinProofsAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MIN_PROOFS_ASC', + ConfidentialTransactionAffirmationsByAccountIdMinProofsDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MIN_PROOFS_DESC', + ConfidentialTransactionAffirmationsByAccountIdMinStatusAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MIN_STATUS_ASC', + ConfidentialTransactionAffirmationsByAccountIdMinStatusDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MIN_STATUS_DESC', + ConfidentialTransactionAffirmationsByAccountIdMinTransactionIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MIN_TRANSACTION_ID_ASC', + ConfidentialTransactionAffirmationsByAccountIdMinTransactionIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MIN_TRANSACTION_ID_DESC', + ConfidentialTransactionAffirmationsByAccountIdMinTypeAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MIN_TYPE_ASC', + ConfidentialTransactionAffirmationsByAccountIdMinTypeDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MIN_TYPE_DESC', + ConfidentialTransactionAffirmationsByAccountIdMinUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MIN_UPDATED_AT_ASC', + ConfidentialTransactionAffirmationsByAccountIdMinUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MIN_UPDATED_AT_DESC', + ConfidentialTransactionAffirmationsByAccountIdMinUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MIN_UPDATED_BLOCK_ID_ASC', + ConfidentialTransactionAffirmationsByAccountIdMinUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MIN_UPDATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByAccountIdStddevPopulationAccountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_POPULATION_ACCOUNT_ID_ASC', + ConfidentialTransactionAffirmationsByAccountIdStddevPopulationAccountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_POPULATION_ACCOUNT_ID_DESC', + ConfidentialTransactionAffirmationsByAccountIdStddevPopulationCreatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_POPULATION_CREATED_AT_ASC', + ConfidentialTransactionAffirmationsByAccountIdStddevPopulationCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_POPULATION_CREATED_AT_DESC', + ConfidentialTransactionAffirmationsByAccountIdStddevPopulationCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', + ConfidentialTransactionAffirmationsByAccountIdStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByAccountIdStddevPopulationIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_POPULATION_IDENTITY_ID_ASC', + ConfidentialTransactionAffirmationsByAccountIdStddevPopulationIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_POPULATION_IDENTITY_ID_DESC', + ConfidentialTransactionAffirmationsByAccountIdStddevPopulationIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_POPULATION_ID_ASC', + ConfidentialTransactionAffirmationsByAccountIdStddevPopulationIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_POPULATION_ID_DESC', + ConfidentialTransactionAffirmationsByAccountIdStddevPopulationLegIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_POPULATION_LEG_ID_ASC', + ConfidentialTransactionAffirmationsByAccountIdStddevPopulationLegIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_POPULATION_LEG_ID_DESC', + ConfidentialTransactionAffirmationsByAccountIdStddevPopulationProofsAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_POPULATION_PROOFS_ASC', + ConfidentialTransactionAffirmationsByAccountIdStddevPopulationProofsDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_POPULATION_PROOFS_DESC', + ConfidentialTransactionAffirmationsByAccountIdStddevPopulationStatusAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_POPULATION_STATUS_ASC', + ConfidentialTransactionAffirmationsByAccountIdStddevPopulationStatusDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_POPULATION_STATUS_DESC', + ConfidentialTransactionAffirmationsByAccountIdStddevPopulationTransactionIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_POPULATION_TRANSACTION_ID_ASC', + ConfidentialTransactionAffirmationsByAccountIdStddevPopulationTransactionIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_POPULATION_TRANSACTION_ID_DESC', + ConfidentialTransactionAffirmationsByAccountIdStddevPopulationTypeAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_POPULATION_TYPE_ASC', + ConfidentialTransactionAffirmationsByAccountIdStddevPopulationTypeDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_POPULATION_TYPE_DESC', + ConfidentialTransactionAffirmationsByAccountIdStddevPopulationUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_POPULATION_UPDATED_AT_ASC', + ConfidentialTransactionAffirmationsByAccountIdStddevPopulationUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_POPULATION_UPDATED_AT_DESC', + ConfidentialTransactionAffirmationsByAccountIdStddevPopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', + ConfidentialTransactionAffirmationsByAccountIdStddevPopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByAccountIdStddevSampleAccountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_SAMPLE_ACCOUNT_ID_ASC', + ConfidentialTransactionAffirmationsByAccountIdStddevSampleAccountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_SAMPLE_ACCOUNT_ID_DESC', + ConfidentialTransactionAffirmationsByAccountIdStddevSampleCreatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_SAMPLE_CREATED_AT_ASC', + ConfidentialTransactionAffirmationsByAccountIdStddevSampleCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_SAMPLE_CREATED_AT_DESC', + ConfidentialTransactionAffirmationsByAccountIdStddevSampleCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', + ConfidentialTransactionAffirmationsByAccountIdStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByAccountIdStddevSampleIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_SAMPLE_IDENTITY_ID_ASC', + ConfidentialTransactionAffirmationsByAccountIdStddevSampleIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_SAMPLE_IDENTITY_ID_DESC', + ConfidentialTransactionAffirmationsByAccountIdStddevSampleIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_SAMPLE_ID_ASC', + ConfidentialTransactionAffirmationsByAccountIdStddevSampleIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_SAMPLE_ID_DESC', + ConfidentialTransactionAffirmationsByAccountIdStddevSampleLegIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_SAMPLE_LEG_ID_ASC', + ConfidentialTransactionAffirmationsByAccountIdStddevSampleLegIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_SAMPLE_LEG_ID_DESC', + ConfidentialTransactionAffirmationsByAccountIdStddevSampleProofsAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_SAMPLE_PROOFS_ASC', + ConfidentialTransactionAffirmationsByAccountIdStddevSampleProofsDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_SAMPLE_PROOFS_DESC', + ConfidentialTransactionAffirmationsByAccountIdStddevSampleStatusAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_SAMPLE_STATUS_ASC', + ConfidentialTransactionAffirmationsByAccountIdStddevSampleStatusDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_SAMPLE_STATUS_DESC', + ConfidentialTransactionAffirmationsByAccountIdStddevSampleTransactionIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_SAMPLE_TRANSACTION_ID_ASC', + ConfidentialTransactionAffirmationsByAccountIdStddevSampleTransactionIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_SAMPLE_TRANSACTION_ID_DESC', + ConfidentialTransactionAffirmationsByAccountIdStddevSampleTypeAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_SAMPLE_TYPE_ASC', + ConfidentialTransactionAffirmationsByAccountIdStddevSampleTypeDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_SAMPLE_TYPE_DESC', + ConfidentialTransactionAffirmationsByAccountIdStddevSampleUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', + ConfidentialTransactionAffirmationsByAccountIdStddevSampleUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', + ConfidentialTransactionAffirmationsByAccountIdStddevSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', + ConfidentialTransactionAffirmationsByAccountIdStddevSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByAccountIdSumAccountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_SUM_ACCOUNT_ID_ASC', + ConfidentialTransactionAffirmationsByAccountIdSumAccountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_SUM_ACCOUNT_ID_DESC', + ConfidentialTransactionAffirmationsByAccountIdSumCreatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_SUM_CREATED_AT_ASC', + ConfidentialTransactionAffirmationsByAccountIdSumCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_SUM_CREATED_AT_DESC', + ConfidentialTransactionAffirmationsByAccountIdSumCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_SUM_CREATED_BLOCK_ID_ASC', + ConfidentialTransactionAffirmationsByAccountIdSumCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_SUM_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByAccountIdSumIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_SUM_IDENTITY_ID_ASC', + ConfidentialTransactionAffirmationsByAccountIdSumIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_SUM_IDENTITY_ID_DESC', + ConfidentialTransactionAffirmationsByAccountIdSumIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_SUM_ID_ASC', + ConfidentialTransactionAffirmationsByAccountIdSumIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_SUM_ID_DESC', + ConfidentialTransactionAffirmationsByAccountIdSumLegIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_SUM_LEG_ID_ASC', + ConfidentialTransactionAffirmationsByAccountIdSumLegIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_SUM_LEG_ID_DESC', + ConfidentialTransactionAffirmationsByAccountIdSumProofsAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_SUM_PROOFS_ASC', + ConfidentialTransactionAffirmationsByAccountIdSumProofsDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_SUM_PROOFS_DESC', + ConfidentialTransactionAffirmationsByAccountIdSumStatusAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_SUM_STATUS_ASC', + ConfidentialTransactionAffirmationsByAccountIdSumStatusDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_SUM_STATUS_DESC', + ConfidentialTransactionAffirmationsByAccountIdSumTransactionIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_SUM_TRANSACTION_ID_ASC', + ConfidentialTransactionAffirmationsByAccountIdSumTransactionIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_SUM_TRANSACTION_ID_DESC', + ConfidentialTransactionAffirmationsByAccountIdSumTypeAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_SUM_TYPE_ASC', + ConfidentialTransactionAffirmationsByAccountIdSumTypeDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_SUM_TYPE_DESC', + ConfidentialTransactionAffirmationsByAccountIdSumUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_SUM_UPDATED_AT_ASC', + ConfidentialTransactionAffirmationsByAccountIdSumUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_SUM_UPDATED_AT_DESC', + ConfidentialTransactionAffirmationsByAccountIdSumUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_SUM_UPDATED_BLOCK_ID_ASC', + ConfidentialTransactionAffirmationsByAccountIdSumUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_SUM_UPDATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByAccountIdVariancePopulationAccountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_POPULATION_ACCOUNT_ID_ASC', + ConfidentialTransactionAffirmationsByAccountIdVariancePopulationAccountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_POPULATION_ACCOUNT_ID_DESC', + ConfidentialTransactionAffirmationsByAccountIdVariancePopulationCreatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_POPULATION_CREATED_AT_ASC', + ConfidentialTransactionAffirmationsByAccountIdVariancePopulationCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_POPULATION_CREATED_AT_DESC', + ConfidentialTransactionAffirmationsByAccountIdVariancePopulationCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', + ConfidentialTransactionAffirmationsByAccountIdVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByAccountIdVariancePopulationIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_POPULATION_IDENTITY_ID_ASC', + ConfidentialTransactionAffirmationsByAccountIdVariancePopulationIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_POPULATION_IDENTITY_ID_DESC', + ConfidentialTransactionAffirmationsByAccountIdVariancePopulationIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_POPULATION_ID_ASC', + ConfidentialTransactionAffirmationsByAccountIdVariancePopulationIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_POPULATION_ID_DESC', + ConfidentialTransactionAffirmationsByAccountIdVariancePopulationLegIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_POPULATION_LEG_ID_ASC', + ConfidentialTransactionAffirmationsByAccountIdVariancePopulationLegIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_POPULATION_LEG_ID_DESC', + ConfidentialTransactionAffirmationsByAccountIdVariancePopulationProofsAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_POPULATION_PROOFS_ASC', + ConfidentialTransactionAffirmationsByAccountIdVariancePopulationProofsDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_POPULATION_PROOFS_DESC', + ConfidentialTransactionAffirmationsByAccountIdVariancePopulationStatusAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_POPULATION_STATUS_ASC', + ConfidentialTransactionAffirmationsByAccountIdVariancePopulationStatusDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_POPULATION_STATUS_DESC', + ConfidentialTransactionAffirmationsByAccountIdVariancePopulationTransactionIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_POPULATION_TRANSACTION_ID_ASC', + ConfidentialTransactionAffirmationsByAccountIdVariancePopulationTransactionIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_POPULATION_TRANSACTION_ID_DESC', + ConfidentialTransactionAffirmationsByAccountIdVariancePopulationTypeAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_POPULATION_TYPE_ASC', + ConfidentialTransactionAffirmationsByAccountIdVariancePopulationTypeDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_POPULATION_TYPE_DESC', + ConfidentialTransactionAffirmationsByAccountIdVariancePopulationUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', + ConfidentialTransactionAffirmationsByAccountIdVariancePopulationUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', + ConfidentialTransactionAffirmationsByAccountIdVariancePopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', + ConfidentialTransactionAffirmationsByAccountIdVariancePopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByAccountIdVarianceSampleAccountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_ACCOUNT_ID_ASC', + ConfidentialTransactionAffirmationsByAccountIdVarianceSampleAccountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_ACCOUNT_ID_DESC', + ConfidentialTransactionAffirmationsByAccountIdVarianceSampleCreatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', + ConfidentialTransactionAffirmationsByAccountIdVarianceSampleCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', + ConfidentialTransactionAffirmationsByAccountIdVarianceSampleCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', + ConfidentialTransactionAffirmationsByAccountIdVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByAccountIdVarianceSampleIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_IDENTITY_ID_ASC', + ConfidentialTransactionAffirmationsByAccountIdVarianceSampleIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_IDENTITY_ID_DESC', + ConfidentialTransactionAffirmationsByAccountIdVarianceSampleIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_ID_ASC', + ConfidentialTransactionAffirmationsByAccountIdVarianceSampleIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_ID_DESC', + ConfidentialTransactionAffirmationsByAccountIdVarianceSampleLegIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_LEG_ID_ASC', + ConfidentialTransactionAffirmationsByAccountIdVarianceSampleLegIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_LEG_ID_DESC', + ConfidentialTransactionAffirmationsByAccountIdVarianceSampleProofsAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_PROOFS_ASC', + ConfidentialTransactionAffirmationsByAccountIdVarianceSampleProofsDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_PROOFS_DESC', + ConfidentialTransactionAffirmationsByAccountIdVarianceSampleStatusAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_STATUS_ASC', + ConfidentialTransactionAffirmationsByAccountIdVarianceSampleStatusDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_STATUS_DESC', + ConfidentialTransactionAffirmationsByAccountIdVarianceSampleTransactionIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_TRANSACTION_ID_ASC', + ConfidentialTransactionAffirmationsByAccountIdVarianceSampleTransactionIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_TRANSACTION_ID_DESC', + ConfidentialTransactionAffirmationsByAccountIdVarianceSampleTypeAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_TYPE_ASC', + ConfidentialTransactionAffirmationsByAccountIdVarianceSampleTypeDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_TYPE_DESC', + ConfidentialTransactionAffirmationsByAccountIdVarianceSampleUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', + ConfidentialTransactionAffirmationsByAccountIdVarianceSampleUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', + ConfidentialTransactionAffirmationsByAccountIdVarianceSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', + ConfidentialTransactionAffirmationsByAccountIdVarianceSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', + CreatedAtAsc = 'CREATED_AT_ASC', + CreatedAtDesc = 'CREATED_AT_DESC', + CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', + CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', + CreatorIdAsc = 'CREATOR_ID_ASC', + CreatorIdDesc = 'CREATOR_ID_DESC', + IdAsc = 'ID_ASC', + IdDesc = 'ID_DESC', + Natural = 'NATURAL', + PrimaryKeyAsc = 'PRIMARY_KEY_ASC', + PrimaryKeyDesc = 'PRIMARY_KEY_DESC', + UpdatedAtAsc = 'UPDATED_AT_ASC', + UpdatedAtDesc = 'UPDATED_AT_DESC', + UpdatedBlockIdAsc = 'UPDATED_BLOCK_ID_ASC', + UpdatedBlockIdDesc = 'UPDATED_BLOCK_ID_DESC', +} + +/** Represents a confidential asset */ +export type ConfidentialAsset = Node & { + __typename?: 'ConfidentialAsset'; + allowedVenues?: Maybe; + assetId: Scalars['String']['output']; + auditors?: Maybe; + /** Reads and enables pagination through a set of `Block`. */ + blocksByConfidentialAssetHistoryAssetIdAndCreatedBlockId: ConfidentialAssetBlocksByConfidentialAssetHistoryAssetIdAndCreatedBlockIdManyToManyConnection; + /** Reads and enables pagination through a set of `Block`. */ + blocksByConfidentialAssetHistoryAssetIdAndUpdatedBlockId: ConfidentialAssetBlocksByConfidentialAssetHistoryAssetIdAndUpdatedBlockIdManyToManyConnection; + /** Reads and enables pagination through a set of `Block`. */ + blocksByConfidentialAssetHolderAssetIdAndCreatedBlockId: ConfidentialAssetBlocksByConfidentialAssetHolderAssetIdAndCreatedBlockIdManyToManyConnection; + /** Reads and enables pagination through a set of `Block`. */ + blocksByConfidentialAssetHolderAssetIdAndUpdatedBlockId: ConfidentialAssetBlocksByConfidentialAssetHolderAssetIdAndUpdatedBlockIdManyToManyConnection; + /** Reads and enables pagination through a set of `ConfidentialAccount`. */ + confidentialAccountsByConfidentialAssetHistoryAssetIdAndFromId: ConfidentialAssetConfidentialAccountsByConfidentialAssetHistoryAssetIdAndFromIdManyToManyConnection; + /** Reads and enables pagination through a set of `ConfidentialAccount`. */ + confidentialAccountsByConfidentialAssetHistoryAssetIdAndToId: ConfidentialAssetConfidentialAccountsByConfidentialAssetHistoryAssetIdAndToIdManyToManyConnection; + /** Reads and enables pagination through a set of `ConfidentialAccount`. */ + confidentialAccountsByConfidentialAssetHolderAssetIdAndAccountId: ConfidentialAssetConfidentialAccountsByConfidentialAssetHolderAssetIdAndAccountIdManyToManyConnection; + /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ + confidentialAssetHistoriesByAssetId: ConfidentialAssetHistoriesConnection; + /** Reads and enables pagination through a set of `ConfidentialAssetHolder`. */ + confidentialAssetHoldersByAssetId: ConfidentialAssetHoldersConnection; + /** Reads and enables pagination through a set of `ConfidentialTransaction`. */ + confidentialTransactionsByConfidentialAssetHistoryAssetIdAndTransactionId: ConfidentialAssetConfidentialTransactionsByConfidentialAssetHistoryAssetIdAndTransactionIdManyToManyConnection; + createdAt: Scalars['Datetime']['output']; + /** Reads a single `Block` that is related to this `ConfidentialAsset`. */ + createdBlock?: Maybe; + createdBlockId: Scalars['String']['output']; + /** Reads a single `Identity` that is related to this `ConfidentialAsset`. */ + creator?: Maybe; + creatorId: Scalars['String']['output']; + data?: Maybe; + id: Scalars['String']['output']; + mediators?: Maybe; + /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ + nodeId: Scalars['ID']['output']; + ticker?: Maybe; + totalSupply: Scalars['BigFloat']['output']; + updatedAt: Scalars['Datetime']['output']; + /** Reads a single `Block` that is related to this `ConfidentialAsset`. */ + updatedBlock?: Maybe; + updatedBlockId: Scalars['String']['output']; + venueFiltering: Scalars['Boolean']['output']; +}; + +/** Represents a confidential asset */ +export type ConfidentialAssetBlocksByConfidentialAssetHistoryAssetIdAndCreatedBlockIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** Represents a confidential asset */ +export type ConfidentialAssetBlocksByConfidentialAssetHistoryAssetIdAndUpdatedBlockIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** Represents a confidential asset */ +export type ConfidentialAssetBlocksByConfidentialAssetHolderAssetIdAndCreatedBlockIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** Represents a confidential asset */ +export type ConfidentialAssetBlocksByConfidentialAssetHolderAssetIdAndUpdatedBlockIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** Represents a confidential asset */ +export type ConfidentialAssetConfidentialAccountsByConfidentialAssetHistoryAssetIdAndFromIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** Represents a confidential asset */ +export type ConfidentialAssetConfidentialAccountsByConfidentialAssetHistoryAssetIdAndToIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** Represents a confidential asset */ +export type ConfidentialAssetConfidentialAccountsByConfidentialAssetHolderAssetIdAndAccountIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** Represents a confidential asset */ +export type ConfidentialAssetConfidentialAssetHistoriesByAssetIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** Represents a confidential asset */ +export type ConfidentialAssetConfidentialAssetHoldersByAssetIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** Represents a confidential asset */ +export type ConfidentialAssetConfidentialTransactionsByConfidentialAssetHistoryAssetIdAndTransactionIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +export type ConfidentialAssetAggregates = { + __typename?: 'ConfidentialAssetAggregates'; + /** Mean average aggregates across the matching connection (ignoring before/after/first/last/offset) */ + average?: Maybe; + /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ + distinctCount?: Maybe; + keys?: Maybe>; + /** Maximum aggregates across the matching connection (ignoring before/after/first/last/offset) */ + max?: Maybe; + /** Minimum aggregates across the matching connection (ignoring before/after/first/last/offset) */ + min?: Maybe; + /** Population standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ + stddevPopulation?: Maybe; + /** Sample standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ + stddevSample?: Maybe; + /** Sum aggregates across the matching connection (ignoring before/after/first/last/offset) */ + sum?: Maybe; + /** Population variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ + variancePopulation?: Maybe; + /** Sample variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ + varianceSample?: Maybe; +}; + +/** A filter to be used against aggregates of `ConfidentialAsset` object types. */ +export type ConfidentialAssetAggregatesFilter = { + /** Mean average aggregate over matching `ConfidentialAsset` objects. */ + average?: InputMaybe; + /** Distinct count aggregate over matching `ConfidentialAsset` objects. */ + distinctCount?: InputMaybe; + /** A filter that must pass for the relevant `ConfidentialAsset` object to be included within the aggregate. */ + filter?: InputMaybe; + /** Maximum aggregate over matching `ConfidentialAsset` objects. */ + max?: InputMaybe; + /** Minimum aggregate over matching `ConfidentialAsset` objects. */ + min?: InputMaybe; + /** Population standard deviation aggregate over matching `ConfidentialAsset` objects. */ + stddevPopulation?: InputMaybe; + /** Sample standard deviation aggregate over matching `ConfidentialAsset` objects. */ + stddevSample?: InputMaybe; + /** Sum aggregate over matching `ConfidentialAsset` objects. */ + sum?: InputMaybe; + /** Population variance aggregate over matching `ConfidentialAsset` objects. */ + variancePopulation?: InputMaybe; + /** Sample variance aggregate over matching `ConfidentialAsset` objects. */ + varianceSample?: InputMaybe; +}; + +export type ConfidentialAssetAverageAggregateFilter = { + totalSupply?: InputMaybe; +}; + +export type ConfidentialAssetAverageAggregates = { + __typename?: 'ConfidentialAssetAverageAggregates'; + /** Mean average of totalSupply across the matching connection */ + totalSupply?: Maybe; +}; + +/** A connection to a list of `Block` values, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialAssetBlocksByConfidentialAssetHistoryAssetIdAndCreatedBlockIdManyToManyConnection = + { + __typename?: 'ConfidentialAssetBlocksByConfidentialAssetHistoryAssetIdAndCreatedBlockIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Block`, info from the `ConfidentialAssetHistory`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Block` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Block` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialAssetBlocksByConfidentialAssetHistoryAssetIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Block` edge in the connection, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialAssetBlocksByConfidentialAssetHistoryAssetIdAndCreatedBlockIdManyToManyEdge = + { + __typename?: 'ConfidentialAssetBlocksByConfidentialAssetHistoryAssetIdAndCreatedBlockIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ + confidentialAssetHistoriesByCreatedBlockId: ConfidentialAssetHistoriesConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Block` at the end of the edge. */ + node?: Maybe; + }; + +/** A `Block` edge in the connection, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialAssetBlocksByConfidentialAssetHistoryAssetIdAndCreatedBlockIdManyToManyEdgeConfidentialAssetHistoriesByCreatedBlockIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialAssetBlocksByConfidentialAssetHistoryAssetIdAndUpdatedBlockIdManyToManyConnection = + { + __typename?: 'ConfidentialAssetBlocksByConfidentialAssetHistoryAssetIdAndUpdatedBlockIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Block`, info from the `ConfidentialAssetHistory`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Block` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Block` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialAssetBlocksByConfidentialAssetHistoryAssetIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Block` edge in the connection, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialAssetBlocksByConfidentialAssetHistoryAssetIdAndUpdatedBlockIdManyToManyEdge = + { + __typename?: 'ConfidentialAssetBlocksByConfidentialAssetHistoryAssetIdAndUpdatedBlockIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ + confidentialAssetHistoriesByUpdatedBlockId: ConfidentialAssetHistoriesConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Block` at the end of the edge. */ + node?: Maybe; + }; + +/** A `Block` edge in the connection, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialAssetBlocksByConfidentialAssetHistoryAssetIdAndUpdatedBlockIdManyToManyEdgeConfidentialAssetHistoriesByUpdatedBlockIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialAssetHolder`. */ +export type ConfidentialAssetBlocksByConfidentialAssetHolderAssetIdAndCreatedBlockIdManyToManyConnection = + { + __typename?: 'ConfidentialAssetBlocksByConfidentialAssetHolderAssetIdAndCreatedBlockIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Block`, info from the `ConfidentialAssetHolder`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Block` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Block` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialAssetHolder`. */ +export type ConfidentialAssetBlocksByConfidentialAssetHolderAssetIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Block` edge in the connection, with data from `ConfidentialAssetHolder`. */ +export type ConfidentialAssetBlocksByConfidentialAssetHolderAssetIdAndCreatedBlockIdManyToManyEdge = + { + __typename?: 'ConfidentialAssetBlocksByConfidentialAssetHolderAssetIdAndCreatedBlockIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialAssetHolder`. */ + confidentialAssetHoldersByCreatedBlockId: ConfidentialAssetHoldersConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Block` at the end of the edge. */ + node?: Maybe; + }; + +/** A `Block` edge in the connection, with data from `ConfidentialAssetHolder`. */ +export type ConfidentialAssetBlocksByConfidentialAssetHolderAssetIdAndCreatedBlockIdManyToManyEdgeConfidentialAssetHoldersByCreatedBlockIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialAssetHolder`. */ +export type ConfidentialAssetBlocksByConfidentialAssetHolderAssetIdAndUpdatedBlockIdManyToManyConnection = + { + __typename?: 'ConfidentialAssetBlocksByConfidentialAssetHolderAssetIdAndUpdatedBlockIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Block`, info from the `ConfidentialAssetHolder`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Block` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Block` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialAssetHolder`. */ +export type ConfidentialAssetBlocksByConfidentialAssetHolderAssetIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Block` edge in the connection, with data from `ConfidentialAssetHolder`. */ +export type ConfidentialAssetBlocksByConfidentialAssetHolderAssetIdAndUpdatedBlockIdManyToManyEdge = + { + __typename?: 'ConfidentialAssetBlocksByConfidentialAssetHolderAssetIdAndUpdatedBlockIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialAssetHolder`. */ + confidentialAssetHoldersByUpdatedBlockId: ConfidentialAssetHoldersConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Block` at the end of the edge. */ + node?: Maybe; + }; + +/** A `Block` edge in the connection, with data from `ConfidentialAssetHolder`. */ +export type ConfidentialAssetBlocksByConfidentialAssetHolderAssetIdAndUpdatedBlockIdManyToManyEdgeConfidentialAssetHoldersByUpdatedBlockIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialAssetConfidentialAccountsByConfidentialAssetHistoryAssetIdAndFromIdManyToManyConnection = + { + __typename?: 'ConfidentialAssetConfidentialAccountsByConfidentialAssetHistoryAssetIdAndFromIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `ConfidentialAccount`, info from the `ConfidentialAssetHistory`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `ConfidentialAccount` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `ConfidentialAccount` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; + +/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialAssetConfidentialAccountsByConfidentialAssetHistoryAssetIdAndFromIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialAssetConfidentialAccountsByConfidentialAssetHistoryAssetIdAndFromIdManyToManyEdge = + { + __typename?: 'ConfidentialAssetConfidentialAccountsByConfidentialAssetHistoryAssetIdAndFromIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ + confidentialAssetHistoriesByFromId: ConfidentialAssetHistoriesConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `ConfidentialAccount` at the end of the edge. */ + node?: Maybe; + }; + +/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialAssetConfidentialAccountsByConfidentialAssetHistoryAssetIdAndFromIdManyToManyEdgeConfidentialAssetHistoriesByFromIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialAssetConfidentialAccountsByConfidentialAssetHistoryAssetIdAndToIdManyToManyConnection = + { + __typename?: 'ConfidentialAssetConfidentialAccountsByConfidentialAssetHistoryAssetIdAndToIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `ConfidentialAccount`, info from the `ConfidentialAssetHistory`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `ConfidentialAccount` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `ConfidentialAccount` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; + +/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialAssetConfidentialAccountsByConfidentialAssetHistoryAssetIdAndToIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialAssetConfidentialAccountsByConfidentialAssetHistoryAssetIdAndToIdManyToManyEdge = + { + __typename?: 'ConfidentialAssetConfidentialAccountsByConfidentialAssetHistoryAssetIdAndToIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ + confidentialAssetHistoriesByToId: ConfidentialAssetHistoriesConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `ConfidentialAccount` at the end of the edge. */ + node?: Maybe; + }; + +/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialAssetConfidentialAccountsByConfidentialAssetHistoryAssetIdAndToIdManyToManyEdgeConfidentialAssetHistoriesByToIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialAssetHolder`. */ +export type ConfidentialAssetConfidentialAccountsByConfidentialAssetHolderAssetIdAndAccountIdManyToManyConnection = + { + __typename?: 'ConfidentialAssetConfidentialAccountsByConfidentialAssetHolderAssetIdAndAccountIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `ConfidentialAccount`, info from the `ConfidentialAssetHolder`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `ConfidentialAccount` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `ConfidentialAccount` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; + +/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialAssetHolder`. */ +export type ConfidentialAssetConfidentialAccountsByConfidentialAssetHolderAssetIdAndAccountIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialAssetHolder`. */ +export type ConfidentialAssetConfidentialAccountsByConfidentialAssetHolderAssetIdAndAccountIdManyToManyEdge = + { + __typename?: 'ConfidentialAssetConfidentialAccountsByConfidentialAssetHolderAssetIdAndAccountIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialAssetHolder`. */ + confidentialAssetHoldersByAccountId: ConfidentialAssetHoldersConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `ConfidentialAccount` at the end of the edge. */ + node?: Maybe; + }; + +/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialAssetHolder`. */ +export type ConfidentialAssetConfidentialAccountsByConfidentialAssetHolderAssetIdAndAccountIdManyToManyEdgeConfidentialAssetHoldersByAccountIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `ConfidentialTransaction` values, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialAssetConfidentialTransactionsByConfidentialAssetHistoryAssetIdAndTransactionIdManyToManyConnection = + { + __typename?: 'ConfidentialAssetConfidentialTransactionsByConfidentialAssetHistoryAssetIdAndTransactionIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `ConfidentialTransaction`, info from the `ConfidentialAssetHistory`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `ConfidentialTransaction` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `ConfidentialTransaction` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; + +/** A connection to a list of `ConfidentialTransaction` values, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialAssetConfidentialTransactionsByConfidentialAssetHistoryAssetIdAndTransactionIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `ConfidentialTransaction` edge in the connection, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialAssetConfidentialTransactionsByConfidentialAssetHistoryAssetIdAndTransactionIdManyToManyEdge = + { + __typename?: 'ConfidentialAssetConfidentialTransactionsByConfidentialAssetHistoryAssetIdAndTransactionIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ + confidentialAssetHistoriesByTransactionId: ConfidentialAssetHistoriesConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `ConfidentialTransaction` at the end of the edge. */ + node?: Maybe; + }; + +/** A `ConfidentialTransaction` edge in the connection, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialAssetConfidentialTransactionsByConfidentialAssetHistoryAssetIdAndTransactionIdManyToManyEdgeConfidentialAssetHistoriesByTransactionIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +export type ConfidentialAssetDistinctCountAggregateFilter = { + allowedVenues?: InputMaybe; + assetId?: InputMaybe; + auditors?: InputMaybe; + createdAt?: InputMaybe; + createdBlockId?: InputMaybe; + creatorId?: InputMaybe; + data?: InputMaybe; + id?: InputMaybe; + mediators?: InputMaybe; + ticker?: InputMaybe; + totalSupply?: InputMaybe; + updatedAt?: InputMaybe; + updatedBlockId?: InputMaybe; + venueFiltering?: InputMaybe; +}; + +export type ConfidentialAssetDistinctCountAggregates = { + __typename?: 'ConfidentialAssetDistinctCountAggregates'; + /** Distinct count of allowedVenues across the matching connection */ + allowedVenues?: Maybe; + /** Distinct count of assetId across the matching connection */ + assetId?: Maybe; + /** Distinct count of auditors across the matching connection */ + auditors?: Maybe; + /** Distinct count of createdAt across the matching connection */ + createdAt?: Maybe; + /** Distinct count of createdBlockId across the matching connection */ + createdBlockId?: Maybe; + /** Distinct count of creatorId across the matching connection */ + creatorId?: Maybe; + /** Distinct count of data across the matching connection */ + data?: Maybe; + /** Distinct count of id across the matching connection */ + id?: Maybe; + /** Distinct count of mediators across the matching connection */ + mediators?: Maybe; + /** Distinct count of ticker across the matching connection */ + ticker?: Maybe; + /** Distinct count of totalSupply across the matching connection */ + totalSupply?: Maybe; + /** Distinct count of updatedAt across the matching connection */ + updatedAt?: Maybe; + /** Distinct count of updatedBlockId across the matching connection */ + updatedBlockId?: Maybe; + /** Distinct count of venueFiltering across the matching connection */ + venueFiltering?: Maybe; +}; + +/** A filter to be used against `ConfidentialAsset` object types. All fields are combined with a logical ‘and.’ */ +export type ConfidentialAssetFilter = { + /** Filter by the object’s `allowedVenues` field. */ + allowedVenues?: InputMaybe; + /** Checks for all expressions in this list. */ + and?: InputMaybe>; + /** Filter by the object’s `assetId` field. */ + assetId?: InputMaybe; + /** Filter by the object’s `auditors` field. */ + auditors?: InputMaybe; + /** Filter by the object’s `confidentialAssetHistoriesByAssetId` relation. */ + confidentialAssetHistoriesByAssetId?: InputMaybe; + /** Some related `confidentialAssetHistoriesByAssetId` exist. */ + confidentialAssetHistoriesByAssetIdExist?: InputMaybe; + /** Filter by the object’s `confidentialAssetHoldersByAssetId` relation. */ + confidentialAssetHoldersByAssetId?: InputMaybe; + /** Some related `confidentialAssetHoldersByAssetId` exist. */ + confidentialAssetHoldersByAssetIdExist?: InputMaybe; + /** Filter by the object’s `createdAt` field. */ + createdAt?: InputMaybe; + /** Filter by the object’s `createdBlock` relation. */ + createdBlock?: InputMaybe; + /** Filter by the object’s `createdBlockId` field. */ + createdBlockId?: InputMaybe; + /** Filter by the object’s `creator` relation. */ + creator?: InputMaybe; + /** Filter by the object’s `creatorId` field. */ + creatorId?: InputMaybe; + /** Filter by the object’s `data` field. */ + data?: InputMaybe; + /** Filter by the object’s `id` field. */ + id?: InputMaybe; + /** Filter by the object’s `mediators` field. */ + mediators?: InputMaybe; + /** Negates the expression. */ + not?: InputMaybe; + /** Checks for any expressions in this list. */ + or?: InputMaybe>; + /** Filter by the object’s `ticker` field. */ + ticker?: InputMaybe; + /** Filter by the object’s `totalSupply` field. */ + totalSupply?: InputMaybe; + /** Filter by the object’s `updatedAt` field. */ + updatedAt?: InputMaybe; + /** Filter by the object’s `updatedBlock` relation. */ + updatedBlock?: InputMaybe; + /** Filter by the object’s `updatedBlockId` field. */ + updatedBlockId?: InputMaybe; + /** Filter by the object’s `venueFiltering` field. */ + venueFiltering?: InputMaybe; +}; + +/** A connection to a list of `ConfidentialAssetHistory` values. */ +export type ConfidentialAssetHistoriesConnection = { + __typename?: 'ConfidentialAssetHistoriesConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `ConfidentialAssetHistory` and cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `ConfidentialAssetHistory` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `ConfidentialAssetHistory` you could get from the connection. */ + totalCount: Scalars['Int']['output']; +}; + +/** A connection to a list of `ConfidentialAssetHistory` values. */ +export type ConfidentialAssetHistoriesConnectionGroupedAggregatesArgs = { + groupBy: Array; + having?: InputMaybe; +}; + +/** A `ConfidentialAssetHistory` edge in the connection. */ +export type ConfidentialAssetHistoriesEdge = { + __typename?: 'ConfidentialAssetHistoriesEdge'; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `ConfidentialAssetHistory` at the end of the edge. */ + node?: Maybe; +}; + +/** Grouping methods for `ConfidentialAssetHistory` for usage during aggregation. */ +export enum ConfidentialAssetHistoriesGroupBy { + Amount = 'AMOUNT', + AssetId = 'ASSET_ID', + CreatedAt = 'CREATED_AT', + CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', + CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', + CreatedBlockId = 'CREATED_BLOCK_ID', + Datetime = 'DATETIME', + DatetimeTruncatedToDay = 'DATETIME_TRUNCATED_TO_DAY', + DatetimeTruncatedToHour = 'DATETIME_TRUNCATED_TO_HOUR', + EventId = 'EVENT_ID', + EventIdx = 'EVENT_IDX', + ExtrinsicIdx = 'EXTRINSIC_IDX', + FromId = 'FROM_ID', + Memo = 'MEMO', + ToId = 'TO_ID', + TransactionId = 'TRANSACTION_ID', + UpdatedAt = 'UPDATED_AT', + UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', + UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', + UpdatedBlockId = 'UPDATED_BLOCK_ID', } -/** A filter to be used against Boolean fields. All fields are combined with a logical ‘and.’ */ -export type BooleanFilter = { - /** Not equal to the specified value, treating null like an ordinary value. */ - distinctFrom?: InputMaybe; - /** Equal to the specified value. */ - equalTo?: InputMaybe; - /** Greater than the specified value. */ - greaterThan?: InputMaybe; - /** Greater than or equal to the specified value. */ - greaterThanOrEqualTo?: InputMaybe; - /** Included in the specified list. */ - in?: InputMaybe>; - /** Is null (if `true` is specified) or is not null (if `false` is specified). */ - isNull?: InputMaybe; - /** Less than the specified value. */ - lessThan?: InputMaybe; - /** Less than or equal to the specified value. */ - lessThanOrEqualTo?: InputMaybe; - /** Equal to the specified value, treating null like an ordinary value. */ - notDistinctFrom?: InputMaybe; - /** Not equal to the specified value. */ - notEqualTo?: InputMaybe; - /** Not included in the specified list. */ - notIn?: InputMaybe>; +export type ConfidentialAssetHistoriesHavingAverageInput = { + createdAt?: InputMaybe; + datetime?: InputMaybe; + eventIdx?: InputMaybe; + extrinsicIdx?: InputMaybe; + updatedAt?: InputMaybe; }; -/** Represents `POLY`, the Ethereum based ERC-20 token, being converted to POLYX, the native Polymesh token */ -export type BridgeEvent = Node & { - __typename?: 'BridgeEvent'; - amount: Scalars['BigFloat']['output']; +export type ConfidentialAssetHistoriesHavingDistinctCountInput = { + createdAt?: InputMaybe; + datetime?: InputMaybe; + eventIdx?: InputMaybe; + extrinsicIdx?: InputMaybe; + updatedAt?: InputMaybe; +}; + +/** Conditions for `ConfidentialAssetHistory` aggregates. */ +export type ConfidentialAssetHistoriesHavingInput = { + AND?: InputMaybe>; + OR?: InputMaybe>; + average?: InputMaybe; + distinctCount?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddevPopulation?: InputMaybe; + stddevSample?: InputMaybe; + sum?: InputMaybe; + variancePopulation?: InputMaybe; + varianceSample?: InputMaybe; +}; + +export type ConfidentialAssetHistoriesHavingMaxInput = { + createdAt?: InputMaybe; + datetime?: InputMaybe; + eventIdx?: InputMaybe; + extrinsicIdx?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type ConfidentialAssetHistoriesHavingMinInput = { + createdAt?: InputMaybe; + datetime?: InputMaybe; + eventIdx?: InputMaybe; + extrinsicIdx?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type ConfidentialAssetHistoriesHavingStddevPopulationInput = { + createdAt?: InputMaybe; + datetime?: InputMaybe; + eventIdx?: InputMaybe; + extrinsicIdx?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type ConfidentialAssetHistoriesHavingStddevSampleInput = { + createdAt?: InputMaybe; + datetime?: InputMaybe; + eventIdx?: InputMaybe; + extrinsicIdx?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type ConfidentialAssetHistoriesHavingSumInput = { + createdAt?: InputMaybe; + datetime?: InputMaybe; + eventIdx?: InputMaybe; + extrinsicIdx?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type ConfidentialAssetHistoriesHavingVariancePopulationInput = { + createdAt?: InputMaybe; + datetime?: InputMaybe; + eventIdx?: InputMaybe; + extrinsicIdx?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type ConfidentialAssetHistoriesHavingVarianceSampleInput = { + createdAt?: InputMaybe; + datetime?: InputMaybe; + eventIdx?: InputMaybe; + extrinsicIdx?: InputMaybe; + updatedAt?: InputMaybe; +}; + +/** Methods to use when ordering `ConfidentialAssetHistory`. */ +export enum ConfidentialAssetHistoriesOrderBy { + AmountAsc = 'AMOUNT_ASC', + AmountDesc = 'AMOUNT_DESC', + AssetIdAsc = 'ASSET_ID_ASC', + AssetIdDesc = 'ASSET_ID_DESC', + CreatedAtAsc = 'CREATED_AT_ASC', + CreatedAtDesc = 'CREATED_AT_DESC', + CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', + CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', + DatetimeAsc = 'DATETIME_ASC', + DatetimeDesc = 'DATETIME_DESC', + EventIdxAsc = 'EVENT_IDX_ASC', + EventIdxDesc = 'EVENT_IDX_DESC', + EventIdAsc = 'EVENT_ID_ASC', + EventIdDesc = 'EVENT_ID_DESC', + ExtrinsicIdxAsc = 'EXTRINSIC_IDX_ASC', + ExtrinsicIdxDesc = 'EXTRINSIC_IDX_DESC', + FromIdAsc = 'FROM_ID_ASC', + FromIdDesc = 'FROM_ID_DESC', + IdAsc = 'ID_ASC', + IdDesc = 'ID_DESC', + MemoAsc = 'MEMO_ASC', + MemoDesc = 'MEMO_DESC', + Natural = 'NATURAL', + PrimaryKeyAsc = 'PRIMARY_KEY_ASC', + PrimaryKeyDesc = 'PRIMARY_KEY_DESC', + ToIdAsc = 'TO_ID_ASC', + ToIdDesc = 'TO_ID_DESC', + TransactionIdAsc = 'TRANSACTION_ID_ASC', + TransactionIdDesc = 'TRANSACTION_ID_DESC', + UpdatedAtAsc = 'UPDATED_AT_ASC', + UpdatedAtDesc = 'UPDATED_AT_DESC', + UpdatedBlockIdAsc = 'UPDATED_BLOCK_ID_ASC', + UpdatedBlockIdDesc = 'UPDATED_BLOCK_ID_DESC', +} + +/** Represents a confidential asset transaction history entry */ +export type ConfidentialAssetHistory = Node & { + __typename?: 'ConfidentialAssetHistory'; + amount: Scalars['String']['output']; + /** Reads a single `ConfidentialAsset` that is related to this `ConfidentialAssetHistory`. */ + asset?: Maybe; + assetId: Scalars['String']['output']; createdAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `BridgeEvent`. */ + /** Reads a single `Block` that is related to this `ConfidentialAssetHistory`. */ createdBlock?: Maybe; createdBlockId: Scalars['String']['output']; datetime: Scalars['Datetime']['output']; + eventId: EventIdEnum; eventIdx: Scalars['Int']['output']; + extrinsicIdx?: Maybe; + /** Reads a single `ConfidentialAccount` that is related to this `ConfidentialAssetHistory`. */ + from?: Maybe; + fromId?: Maybe; id: Scalars['String']['output']; - /** Reads a single `Identity` that is related to this `BridgeEvent`. */ - identity?: Maybe; - identityId: Scalars['String']['output']; + memo?: Maybe; /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ nodeId: Scalars['ID']['output']; - recipient: Scalars['String']['output']; - txHash: Scalars['String']['output']; + /** Reads a single `ConfidentialAccount` that is related to this `ConfidentialAssetHistory`. */ + to?: Maybe; + toId?: Maybe; + /** Reads a single `ConfidentialTransaction` that is related to this `ConfidentialAssetHistory`. */ + transaction?: Maybe; + transactionId?: Maybe; updatedAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `BridgeEvent`. */ + /** Reads a single `Block` that is related to this `ConfidentialAssetHistory`. */ updatedBlock?: Maybe; updatedBlockId: Scalars['String']['output']; }; -export type BridgeEventAggregates = { - __typename?: 'BridgeEventAggregates'; +export type ConfidentialAssetHistoryAggregates = { + __typename?: 'ConfidentialAssetHistoryAggregates'; /** Mean average aggregates across the matching connection (ignoring before/after/first/last/offset) */ - average?: Maybe; + average?: Maybe; /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ - distinctCount?: Maybe; + distinctCount?: Maybe; keys?: Maybe>; /** Maximum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - max?: Maybe; + max?: Maybe; /** Minimum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - min?: Maybe; + min?: Maybe; /** Population standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevPopulation?: Maybe; + stddevPopulation?: Maybe; /** Sample standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevSample?: Maybe; + stddevSample?: Maybe; /** Sum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - sum?: Maybe; + sum?: Maybe; /** Population variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - variancePopulation?: Maybe; + variancePopulation?: Maybe; /** Sample variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - varianceSample?: Maybe; + varianceSample?: Maybe; +}; + +/** A filter to be used against aggregates of `ConfidentialAssetHistory` object types. */ +export type ConfidentialAssetHistoryAggregatesFilter = { + /** Mean average aggregate over matching `ConfidentialAssetHistory` objects. */ + average?: InputMaybe; + /** Distinct count aggregate over matching `ConfidentialAssetHistory` objects. */ + distinctCount?: InputMaybe; + /** A filter that must pass for the relevant `ConfidentialAssetHistory` object to be included within the aggregate. */ + filter?: InputMaybe; + /** Maximum aggregate over matching `ConfidentialAssetHistory` objects. */ + max?: InputMaybe; + /** Minimum aggregate over matching `ConfidentialAssetHistory` objects. */ + min?: InputMaybe; + /** Population standard deviation aggregate over matching `ConfidentialAssetHistory` objects. */ + stddevPopulation?: InputMaybe; + /** Sample standard deviation aggregate over matching `ConfidentialAssetHistory` objects. */ + stddevSample?: InputMaybe; + /** Sum aggregate over matching `ConfidentialAssetHistory` objects. */ + sum?: InputMaybe; + /** Population variance aggregate over matching `ConfidentialAssetHistory` objects. */ + variancePopulation?: InputMaybe; + /** Sample variance aggregate over matching `ConfidentialAssetHistory` objects. */ + varianceSample?: InputMaybe; +}; + +export type ConfidentialAssetHistoryAverageAggregateFilter = { + eventIdx?: InputMaybe; + extrinsicIdx?: InputMaybe; }; -/** A filter to be used against aggregates of `BridgeEvent` object types. */ -export type BridgeEventAggregatesFilter = { - /** Mean average aggregate over matching `BridgeEvent` objects. */ - average?: InputMaybe; - /** Distinct count aggregate over matching `BridgeEvent` objects. */ - distinctCount?: InputMaybe; - /** A filter that must pass for the relevant `BridgeEvent` object to be included within the aggregate. */ - filter?: InputMaybe; - /** Maximum aggregate over matching `BridgeEvent` objects. */ - max?: InputMaybe; - /** Minimum aggregate over matching `BridgeEvent` objects. */ - min?: InputMaybe; - /** Population standard deviation aggregate over matching `BridgeEvent` objects. */ - stddevPopulation?: InputMaybe; - /** Sample standard deviation aggregate over matching `BridgeEvent` objects. */ - stddevSample?: InputMaybe; - /** Sum aggregate over matching `BridgeEvent` objects. */ - sum?: InputMaybe; - /** Population variance aggregate over matching `BridgeEvent` objects. */ - variancePopulation?: InputMaybe; - /** Sample variance aggregate over matching `BridgeEvent` objects. */ - varianceSample?: InputMaybe; +export type ConfidentialAssetHistoryAverageAggregates = { + __typename?: 'ConfidentialAssetHistoryAverageAggregates'; + /** Mean average of eventIdx across the matching connection */ + eventIdx?: Maybe; + /** Mean average of extrinsicIdx across the matching connection */ + extrinsicIdx?: Maybe; +}; + +export type ConfidentialAssetHistoryDistinctCountAggregateFilter = { + amount?: InputMaybe; + assetId?: InputMaybe; + createdAt?: InputMaybe; + createdBlockId?: InputMaybe; + datetime?: InputMaybe; + eventId?: InputMaybe; + eventIdx?: InputMaybe; + extrinsicIdx?: InputMaybe; + fromId?: InputMaybe; + id?: InputMaybe; + memo?: InputMaybe; + toId?: InputMaybe; + transactionId?: InputMaybe; + updatedAt?: InputMaybe; + updatedBlockId?: InputMaybe; +}; + +export type ConfidentialAssetHistoryDistinctCountAggregates = { + __typename?: 'ConfidentialAssetHistoryDistinctCountAggregates'; + /** Distinct count of amount across the matching connection */ + amount?: Maybe; + /** Distinct count of assetId across the matching connection */ + assetId?: Maybe; + /** Distinct count of createdAt across the matching connection */ + createdAt?: Maybe; + /** Distinct count of createdBlockId across the matching connection */ + createdBlockId?: Maybe; + /** Distinct count of datetime across the matching connection */ + datetime?: Maybe; + /** Distinct count of eventId across the matching connection */ + eventId?: Maybe; + /** Distinct count of eventIdx across the matching connection */ + eventIdx?: Maybe; + /** Distinct count of extrinsicIdx across the matching connection */ + extrinsicIdx?: Maybe; + /** Distinct count of fromId across the matching connection */ + fromId?: Maybe; + /** Distinct count of id across the matching connection */ + id?: Maybe; + /** Distinct count of memo across the matching connection */ + memo?: Maybe; + /** Distinct count of toId across the matching connection */ + toId?: Maybe; + /** Distinct count of transactionId across the matching connection */ + transactionId?: Maybe; + /** Distinct count of updatedAt across the matching connection */ + updatedAt?: Maybe; + /** Distinct count of updatedBlockId across the matching connection */ + updatedBlockId?: Maybe; +}; + +/** A filter to be used against `ConfidentialAssetHistory` object types. All fields are combined with a logical ‘and.’ */ +export type ConfidentialAssetHistoryFilter = { + /** Filter by the object’s `amount` field. */ + amount?: InputMaybe; + /** Checks for all expressions in this list. */ + and?: InputMaybe>; + /** Filter by the object’s `asset` relation. */ + asset?: InputMaybe; + /** Filter by the object’s `assetId` field. */ + assetId?: InputMaybe; + /** Filter by the object’s `createdAt` field. */ + createdAt?: InputMaybe; + /** Filter by the object’s `createdBlock` relation. */ + createdBlock?: InputMaybe; + /** Filter by the object’s `createdBlockId` field. */ + createdBlockId?: InputMaybe; + /** Filter by the object’s `datetime` field. */ + datetime?: InputMaybe; + /** Filter by the object’s `eventId` field. */ + eventId?: InputMaybe; + /** Filter by the object’s `eventIdx` field. */ + eventIdx?: InputMaybe; + /** Filter by the object’s `extrinsicIdx` field. */ + extrinsicIdx?: InputMaybe; + /** Filter by the object’s `from` relation. */ + from?: InputMaybe; + /** A related `from` exists. */ + fromExists?: InputMaybe; + /** Filter by the object’s `fromId` field. */ + fromId?: InputMaybe; + /** Filter by the object’s `id` field. */ + id?: InputMaybe; + /** Filter by the object’s `memo` field. */ + memo?: InputMaybe; + /** Negates the expression. */ + not?: InputMaybe; + /** Checks for any expressions in this list. */ + or?: InputMaybe>; + /** Filter by the object’s `to` relation. */ + to?: InputMaybe; + /** A related `to` exists. */ + toExists?: InputMaybe; + /** Filter by the object’s `toId` field. */ + toId?: InputMaybe; + /** Filter by the object’s `transaction` relation. */ + transaction?: InputMaybe; + /** A related `transaction` exists. */ + transactionExists?: InputMaybe; + /** Filter by the object’s `transactionId` field. */ + transactionId?: InputMaybe; + /** Filter by the object’s `updatedAt` field. */ + updatedAt?: InputMaybe; + /** Filter by the object’s `updatedBlock` relation. */ + updatedBlock?: InputMaybe; + /** Filter by the object’s `updatedBlockId` field. */ + updatedBlockId?: InputMaybe; +}; + +export type ConfidentialAssetHistoryMaxAggregateFilter = { + eventIdx?: InputMaybe; + extrinsicIdx?: InputMaybe; +}; + +export type ConfidentialAssetHistoryMaxAggregates = { + __typename?: 'ConfidentialAssetHistoryMaxAggregates'; + /** Maximum of eventIdx across the matching connection */ + eventIdx?: Maybe; + /** Maximum of extrinsicIdx across the matching connection */ + extrinsicIdx?: Maybe; +}; + +export type ConfidentialAssetHistoryMinAggregateFilter = { + eventIdx?: InputMaybe; + extrinsicIdx?: InputMaybe; +}; + +export type ConfidentialAssetHistoryMinAggregates = { + __typename?: 'ConfidentialAssetHistoryMinAggregates'; + /** Minimum of eventIdx across the matching connection */ + eventIdx?: Maybe; + /** Minimum of extrinsicIdx across the matching connection */ + extrinsicIdx?: Maybe; +}; + +export type ConfidentialAssetHistoryStddevPopulationAggregateFilter = { + eventIdx?: InputMaybe; + extrinsicIdx?: InputMaybe; +}; + +export type ConfidentialAssetHistoryStddevPopulationAggregates = { + __typename?: 'ConfidentialAssetHistoryStddevPopulationAggregates'; + /** Population standard deviation of eventIdx across the matching connection */ + eventIdx?: Maybe; + /** Population standard deviation of extrinsicIdx across the matching connection */ + extrinsicIdx?: Maybe; +}; + +export type ConfidentialAssetHistoryStddevSampleAggregateFilter = { + eventIdx?: InputMaybe; + extrinsicIdx?: InputMaybe; +}; + +export type ConfidentialAssetHistoryStddevSampleAggregates = { + __typename?: 'ConfidentialAssetHistoryStddevSampleAggregates'; + /** Sample standard deviation of eventIdx across the matching connection */ + eventIdx?: Maybe; + /** Sample standard deviation of extrinsicIdx across the matching connection */ + extrinsicIdx?: Maybe; }; -export type BridgeEventAverageAggregateFilter = { - amount?: InputMaybe; +export type ConfidentialAssetHistorySumAggregateFilter = { + eventIdx?: InputMaybe; + extrinsicIdx?: InputMaybe; +}; + +export type ConfidentialAssetHistorySumAggregates = { + __typename?: 'ConfidentialAssetHistorySumAggregates'; + /** Sum of eventIdx across the matching connection */ + eventIdx: Scalars['BigInt']['output']; + /** Sum of extrinsicIdx across the matching connection */ + extrinsicIdx: Scalars['BigInt']['output']; +}; + +export type ConfidentialAssetHistoryVariancePopulationAggregateFilter = { eventIdx?: InputMaybe; + extrinsicIdx?: InputMaybe; }; -export type BridgeEventAverageAggregates = { - __typename?: 'BridgeEventAverageAggregates'; - /** Mean average of amount across the matching connection */ - amount?: Maybe; - /** Mean average of eventIdx across the matching connection */ +export type ConfidentialAssetHistoryVariancePopulationAggregates = { + __typename?: 'ConfidentialAssetHistoryVariancePopulationAggregates'; + /** Population variance of eventIdx across the matching connection */ eventIdx?: Maybe; + /** Population variance of extrinsicIdx across the matching connection */ + extrinsicIdx?: Maybe; }; -export type BridgeEventDistinctCountAggregateFilter = { +export type ConfidentialAssetHistoryVarianceSampleAggregateFilter = { + eventIdx?: InputMaybe; + extrinsicIdx?: InputMaybe; +}; + +export type ConfidentialAssetHistoryVarianceSampleAggregates = { + __typename?: 'ConfidentialAssetHistoryVarianceSampleAggregates'; + /** Sample variance of eventIdx across the matching connection */ + eventIdx?: Maybe; + /** Sample variance of extrinsicIdx across the matching connection */ + extrinsicIdx?: Maybe; +}; + +/** Represents a confidential asset holder */ +export type ConfidentialAssetHolder = Node & { + __typename?: 'ConfidentialAssetHolder'; + /** Reads a single `ConfidentialAccount` that is related to this `ConfidentialAssetHolder`. */ + account?: Maybe; + accountId: Scalars['String']['output']; + /** the encrypted amount */ + amount?: Maybe; + /** Reads a single `ConfidentialAsset` that is related to this `ConfidentialAssetHolder`. */ + asset?: Maybe; + assetId: Scalars['String']['output']; + createdAt: Scalars['Datetime']['output']; + /** Reads a single `Block` that is related to this `ConfidentialAssetHolder`. */ + createdBlock?: Maybe; + createdBlockId: Scalars['String']['output']; + id: Scalars['String']['output']; + /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ + nodeId: Scalars['ID']['output']; + updatedAt: Scalars['Datetime']['output']; + /** Reads a single `Block` that is related to this `ConfidentialAssetHolder`. */ + updatedBlock?: Maybe; + updatedBlockId: Scalars['String']['output']; +}; + +export type ConfidentialAssetHolderAggregates = { + __typename?: 'ConfidentialAssetHolderAggregates'; + /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ + distinctCount?: Maybe; + keys?: Maybe>; +}; + +/** A filter to be used against aggregates of `ConfidentialAssetHolder` object types. */ +export type ConfidentialAssetHolderAggregatesFilter = { + /** Distinct count aggregate over matching `ConfidentialAssetHolder` objects. */ + distinctCount?: InputMaybe; + /** A filter that must pass for the relevant `ConfidentialAssetHolder` object to be included within the aggregate. */ + filter?: InputMaybe; +}; + +export type ConfidentialAssetHolderDistinctCountAggregateFilter = { + accountId?: InputMaybe; amount?: InputMaybe; + assetId?: InputMaybe; createdAt?: InputMaybe; createdBlockId?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; id?: InputMaybe; - identityId?: InputMaybe; - recipient?: InputMaybe; - txHash?: InputMaybe; updatedAt?: InputMaybe; updatedBlockId?: InputMaybe; }; -export type BridgeEventDistinctCountAggregates = { - __typename?: 'BridgeEventDistinctCountAggregates'; +export type ConfidentialAssetHolderDistinctCountAggregates = { + __typename?: 'ConfidentialAssetHolderDistinctCountAggregates'; + /** Distinct count of accountId across the matching connection */ + accountId?: Maybe; /** Distinct count of amount across the matching connection */ amount?: Maybe; + /** Distinct count of assetId across the matching connection */ + assetId?: Maybe; /** Distinct count of createdAt across the matching connection */ createdAt?: Maybe; /** Distinct count of createdBlockId across the matching connection */ createdBlockId?: Maybe; - /** Distinct count of datetime across the matching connection */ - datetime?: Maybe; - /** Distinct count of eventIdx across the matching connection */ - eventIdx?: Maybe; /** Distinct count of id across the matching connection */ id?: Maybe; - /** Distinct count of identityId across the matching connection */ - identityId?: Maybe; - /** Distinct count of recipient across the matching connection */ - recipient?: Maybe; - /** Distinct count of txHash across the matching connection */ - txHash?: Maybe; /** Distinct count of updatedAt across the matching connection */ updatedAt?: Maybe; /** Distinct count of updatedBlockId across the matching connection */ updatedBlockId?: Maybe; }; -/** A filter to be used against `BridgeEvent` object types. All fields are combined with a logical ‘and.’ */ -export type BridgeEventFilter = { +/** A filter to be used against `ConfidentialAssetHolder` object types. All fields are combined with a logical ‘and.’ */ +export type ConfidentialAssetHolderFilter = { + /** Filter by the object’s `account` relation. */ + account?: InputMaybe; + /** Filter by the object’s `accountId` field. */ + accountId?: InputMaybe; /** Filter by the object’s `amount` field. */ - amount?: InputMaybe; + amount?: InputMaybe; /** Checks for all expressions in this list. */ - and?: InputMaybe>; + and?: InputMaybe>; + /** Filter by the object’s `asset` relation. */ + asset?: InputMaybe; + /** Filter by the object’s `assetId` field. */ + assetId?: InputMaybe; /** Filter by the object’s `createdAt` field. */ createdAt?: InputMaybe; /** Filter by the object’s `createdBlock` relation. */ createdBlock?: InputMaybe; /** Filter by the object’s `createdBlockId` field. */ createdBlockId?: InputMaybe; - /** Filter by the object’s `datetime` field. */ - datetime?: InputMaybe; - /** Filter by the object’s `eventIdx` field. */ - eventIdx?: InputMaybe; /** Filter by the object’s `id` field. */ id?: InputMaybe; - /** Filter by the object’s `identity` relation. */ - identity?: InputMaybe; - /** Filter by the object’s `identityId` field. */ - identityId?: InputMaybe; /** Negates the expression. */ - not?: InputMaybe; + not?: InputMaybe; /** Checks for any expressions in this list. */ - or?: InputMaybe>; - /** Filter by the object’s `recipient` field. */ - recipient?: InputMaybe; - /** Filter by the object’s `txHash` field. */ - txHash?: InputMaybe; + or?: InputMaybe>; /** Filter by the object’s `updatedAt` field. */ updatedAt?: InputMaybe; /** Filter by the object’s `updatedBlock` relation. */ @@ -48033,2188 +61347,4189 @@ export type BridgeEventFilter = { updatedBlockId?: InputMaybe; }; -export type BridgeEventMaxAggregateFilter = { - amount?: InputMaybe; - eventIdx?: InputMaybe; +/** A connection to a list of `ConfidentialAssetHolder` values. */ +export type ConfidentialAssetHoldersConnection = { + __typename?: 'ConfidentialAssetHoldersConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `ConfidentialAssetHolder` and cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `ConfidentialAssetHolder` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `ConfidentialAssetHolder` you could get from the connection. */ + totalCount: Scalars['Int']['output']; }; -export type BridgeEventMaxAggregates = { - __typename?: 'BridgeEventMaxAggregates'; - /** Maximum of amount across the matching connection */ - amount?: Maybe; - /** Maximum of eventIdx across the matching connection */ - eventIdx?: Maybe; +/** A connection to a list of `ConfidentialAssetHolder` values. */ +export type ConfidentialAssetHoldersConnectionGroupedAggregatesArgs = { + groupBy: Array; + having?: InputMaybe; }; -export type BridgeEventMinAggregateFilter = { - amount?: InputMaybe; - eventIdx?: InputMaybe; +/** A `ConfidentialAssetHolder` edge in the connection. */ +export type ConfidentialAssetHoldersEdge = { + __typename?: 'ConfidentialAssetHoldersEdge'; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `ConfidentialAssetHolder` at the end of the edge. */ + node?: Maybe; }; -export type BridgeEventMinAggregates = { - __typename?: 'BridgeEventMinAggregates'; - /** Minimum of amount across the matching connection */ - amount?: Maybe; - /** Minimum of eventIdx across the matching connection */ - eventIdx?: Maybe; +/** Grouping methods for `ConfidentialAssetHolder` for usage during aggregation. */ +export enum ConfidentialAssetHoldersGroupBy { + AccountId = 'ACCOUNT_ID', + Amount = 'AMOUNT', + AssetId = 'ASSET_ID', + CreatedAt = 'CREATED_AT', + CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', + CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', + CreatedBlockId = 'CREATED_BLOCK_ID', + UpdatedAt = 'UPDATED_AT', + UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', + UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', + UpdatedBlockId = 'UPDATED_BLOCK_ID', +} + +export type ConfidentialAssetHoldersHavingAverageInput = { + createdAt?: InputMaybe; + updatedAt?: InputMaybe; }; -export type BridgeEventStddevPopulationAggregateFilter = { - amount?: InputMaybe; - eventIdx?: InputMaybe; +export type ConfidentialAssetHoldersHavingDistinctCountInput = { + createdAt?: InputMaybe; + updatedAt?: InputMaybe; }; -export type BridgeEventStddevPopulationAggregates = { - __typename?: 'BridgeEventStddevPopulationAggregates'; - /** Population standard deviation of amount across the matching connection */ - amount?: Maybe; - /** Population standard deviation of eventIdx across the matching connection */ - eventIdx?: Maybe; +/** Conditions for `ConfidentialAssetHolder` aggregates. */ +export type ConfidentialAssetHoldersHavingInput = { + AND?: InputMaybe>; + OR?: InputMaybe>; + average?: InputMaybe; + distinctCount?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddevPopulation?: InputMaybe; + stddevSample?: InputMaybe; + sum?: InputMaybe; + variancePopulation?: InputMaybe; + varianceSample?: InputMaybe; }; -export type BridgeEventStddevSampleAggregateFilter = { - amount?: InputMaybe; - eventIdx?: InputMaybe; +export type ConfidentialAssetHoldersHavingMaxInput = { + createdAt?: InputMaybe; + updatedAt?: InputMaybe; }; -export type BridgeEventStddevSampleAggregates = { - __typename?: 'BridgeEventStddevSampleAggregates'; - /** Sample standard deviation of amount across the matching connection */ - amount?: Maybe; - /** Sample standard deviation of eventIdx across the matching connection */ - eventIdx?: Maybe; +export type ConfidentialAssetHoldersHavingMinInput = { + createdAt?: InputMaybe; + updatedAt?: InputMaybe; }; -export type BridgeEventSumAggregateFilter = { - amount?: InputMaybe; - eventIdx?: InputMaybe; +export type ConfidentialAssetHoldersHavingStddevPopulationInput = { + createdAt?: InputMaybe; + updatedAt?: InputMaybe; }; -export type BridgeEventSumAggregates = { - __typename?: 'BridgeEventSumAggregates'; - /** Sum of amount across the matching connection */ - amount: Scalars['BigFloat']['output']; - /** Sum of eventIdx across the matching connection */ - eventIdx: Scalars['BigInt']['output']; +export type ConfidentialAssetHoldersHavingStddevSampleInput = { + createdAt?: InputMaybe; + updatedAt?: InputMaybe; }; -export type BridgeEventVariancePopulationAggregateFilter = { - amount?: InputMaybe; - eventIdx?: InputMaybe; +export type ConfidentialAssetHoldersHavingSumInput = { + createdAt?: InputMaybe; + updatedAt?: InputMaybe; }; -export type BridgeEventVariancePopulationAggregates = { - __typename?: 'BridgeEventVariancePopulationAggregates'; - /** Population variance of amount across the matching connection */ - amount?: Maybe; - /** Population variance of eventIdx across the matching connection */ - eventIdx?: Maybe; +export type ConfidentialAssetHoldersHavingVariancePopulationInput = { + createdAt?: InputMaybe; + updatedAt?: InputMaybe; }; -export type BridgeEventVarianceSampleAggregateFilter = { - amount?: InputMaybe; - eventIdx?: InputMaybe; +export type ConfidentialAssetHoldersHavingVarianceSampleInput = { + createdAt?: InputMaybe; + updatedAt?: InputMaybe; }; -export type BridgeEventVarianceSampleAggregates = { - __typename?: 'BridgeEventVarianceSampleAggregates'; - /** Sample variance of amount across the matching connection */ - amount?: Maybe; - /** Sample variance of eventIdx across the matching connection */ - eventIdx?: Maybe; +/** Methods to use when ordering `ConfidentialAssetHolder`. */ +export enum ConfidentialAssetHoldersOrderBy { + AccountIdAsc = 'ACCOUNT_ID_ASC', + AccountIdDesc = 'ACCOUNT_ID_DESC', + AmountAsc = 'AMOUNT_ASC', + AmountDesc = 'AMOUNT_DESC', + AssetIdAsc = 'ASSET_ID_ASC', + AssetIdDesc = 'ASSET_ID_DESC', + CreatedAtAsc = 'CREATED_AT_ASC', + CreatedAtDesc = 'CREATED_AT_DESC', + CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', + CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', + IdAsc = 'ID_ASC', + IdDesc = 'ID_DESC', + Natural = 'NATURAL', + PrimaryKeyAsc = 'PRIMARY_KEY_ASC', + PrimaryKeyDesc = 'PRIMARY_KEY_DESC', + UpdatedAtAsc = 'UPDATED_AT_ASC', + UpdatedAtDesc = 'UPDATED_AT_DESC', + UpdatedBlockIdAsc = 'UPDATED_BLOCK_ID_ASC', + UpdatedBlockIdDesc = 'UPDATED_BLOCK_ID_DESC', +} + +export type ConfidentialAssetMaxAggregateFilter = { + totalSupply?: InputMaybe; }; -/** A connection to a list of `BridgeEvent` values. */ -export type BridgeEventsConnection = { - __typename?: 'BridgeEventsConnection'; +export type ConfidentialAssetMaxAggregates = { + __typename?: 'ConfidentialAssetMaxAggregates'; + /** Maximum of totalSupply across the matching connection */ + totalSupply?: Maybe; +}; + +export type ConfidentialAssetMinAggregateFilter = { + totalSupply?: InputMaybe; +}; + +export type ConfidentialAssetMinAggregates = { + __typename?: 'ConfidentialAssetMinAggregates'; + /** Minimum of totalSupply across the matching connection */ + totalSupply?: Maybe; +}; + +export type ConfidentialAssetStddevPopulationAggregateFilter = { + totalSupply?: InputMaybe; +}; + +export type ConfidentialAssetStddevPopulationAggregates = { + __typename?: 'ConfidentialAssetStddevPopulationAggregates'; + /** Population standard deviation of totalSupply across the matching connection */ + totalSupply?: Maybe; +}; + +export type ConfidentialAssetStddevSampleAggregateFilter = { + totalSupply?: InputMaybe; +}; + +export type ConfidentialAssetStddevSampleAggregates = { + __typename?: 'ConfidentialAssetStddevSampleAggregates'; + /** Sample standard deviation of totalSupply across the matching connection */ + totalSupply?: Maybe; +}; + +export type ConfidentialAssetSumAggregateFilter = { + totalSupply?: InputMaybe; +}; + +export type ConfidentialAssetSumAggregates = { + __typename?: 'ConfidentialAssetSumAggregates'; + /** Sum of totalSupply across the matching connection */ + totalSupply: Scalars['BigFloat']['output']; +}; + +/** A filter to be used against many `ConfidentialAssetHistory` object types. All fields are combined with a logical ‘and.’ */ +export type ConfidentialAssetToManyConfidentialAssetHistoryFilter = { + /** Aggregates across related `ConfidentialAssetHistory` match the filter criteria. */ + aggregates?: InputMaybe; + /** Every related `ConfidentialAssetHistory` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe; + /** No related `ConfidentialAssetHistory` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe; + /** Some related `ConfidentialAssetHistory` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe; +}; + +/** A filter to be used against many `ConfidentialAssetHolder` object types. All fields are combined with a logical ‘and.’ */ +export type ConfidentialAssetToManyConfidentialAssetHolderFilter = { + /** Aggregates across related `ConfidentialAssetHolder` match the filter criteria. */ + aggregates?: InputMaybe; + /** Every related `ConfidentialAssetHolder` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe; + /** No related `ConfidentialAssetHolder` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe; + /** Some related `ConfidentialAssetHolder` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe; +}; + +export type ConfidentialAssetVariancePopulationAggregateFilter = { + totalSupply?: InputMaybe; +}; + +export type ConfidentialAssetVariancePopulationAggregates = { + __typename?: 'ConfidentialAssetVariancePopulationAggregates'; + /** Population variance of totalSupply across the matching connection */ + totalSupply?: Maybe; +}; + +export type ConfidentialAssetVarianceSampleAggregateFilter = { + totalSupply?: InputMaybe; +}; + +export type ConfidentialAssetVarianceSampleAggregates = { + __typename?: 'ConfidentialAssetVarianceSampleAggregates'; + /** Sample variance of totalSupply across the matching connection */ + totalSupply?: Maybe; +}; + +/** A connection to a list of `ConfidentialAsset` values. */ +export type ConfidentialAssetsConnection = { + __typename?: 'ConfidentialAssetsConnection'; /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `BridgeEvent` and cursor to aid in pagination. */ - edges: Array; + aggregates?: Maybe; + /** A list of edges which contains the `ConfidentialAsset` and cursor to aid in pagination. */ + edges: Array; /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `BridgeEvent` objects. */ - nodes: Array>; + groupedAggregates?: Maybe>; + /** A list of `ConfidentialAsset` objects. */ + nodes: Array>; /** Information to aid in pagination. */ pageInfo: PageInfo; - /** The count of *all* `BridgeEvent` you could get from the connection. */ + /** The count of *all* `ConfidentialAsset` you could get from the connection. */ totalCount: Scalars['Int']['output']; }; -/** A connection to a list of `BridgeEvent` values. */ -export type BridgeEventsConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; +/** A connection to a list of `ConfidentialAsset` values. */ +export type ConfidentialAssetsConnectionGroupedAggregatesArgs = { + groupBy: Array; + having?: InputMaybe; }; -/** A `BridgeEvent` edge in the connection. */ -export type BridgeEventsEdge = { - __typename?: 'BridgeEventsEdge'; +/** A `ConfidentialAsset` edge in the connection. */ +export type ConfidentialAssetsEdge = { + __typename?: 'ConfidentialAssetsEdge'; /** A cursor for use in pagination. */ cursor?: Maybe; - /** The `BridgeEvent` at the end of the edge. */ - node?: Maybe; + /** The `ConfidentialAsset` at the end of the edge. */ + node?: Maybe; }; -/** Grouping methods for `BridgeEvent` for usage during aggregation. */ -export enum BridgeEventsGroupBy { - Amount = 'AMOUNT', +/** Grouping methods for `ConfidentialAsset` for usage during aggregation. */ +export enum ConfidentialAssetsGroupBy { + AllowedVenues = 'ALLOWED_VENUES', + AssetId = 'ASSET_ID', + Auditors = 'AUDITORS', CreatedAt = 'CREATED_AT', CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', CreatedBlockId = 'CREATED_BLOCK_ID', - Datetime = 'DATETIME', - DatetimeTruncatedToDay = 'DATETIME_TRUNCATED_TO_DAY', - DatetimeTruncatedToHour = 'DATETIME_TRUNCATED_TO_HOUR', - EventIdx = 'EVENT_IDX', - IdentityId = 'IDENTITY_ID', - Recipient = 'RECIPIENT', - TxHash = 'TX_HASH', + CreatorId = 'CREATOR_ID', + Data = 'DATA', + Mediators = 'MEDIATORS', + Ticker = 'TICKER', + TotalSupply = 'TOTAL_SUPPLY', UpdatedAt = 'UPDATED_AT', UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', UpdatedBlockId = 'UPDATED_BLOCK_ID', + VenueFiltering = 'VENUE_FILTERING', } -export type BridgeEventsHavingAverageInput = { - amount?: InputMaybe; +export type ConfidentialAssetsHavingAverageInput = { createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; + totalSupply?: InputMaybe; updatedAt?: InputMaybe; }; -export type BridgeEventsHavingDistinctCountInput = { - amount?: InputMaybe; +export type ConfidentialAssetsHavingDistinctCountInput = { createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; + totalSupply?: InputMaybe; updatedAt?: InputMaybe; }; -/** Conditions for `BridgeEvent` aggregates. */ -export type BridgeEventsHavingInput = { - AND?: InputMaybe>; - OR?: InputMaybe>; - average?: InputMaybe; - distinctCount?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddevPopulation?: InputMaybe; - stddevSample?: InputMaybe; - sum?: InputMaybe; - variancePopulation?: InputMaybe; - varianceSample?: InputMaybe; +/** Conditions for `ConfidentialAsset` aggregates. */ +export type ConfidentialAssetsHavingInput = { + AND?: InputMaybe>; + OR?: InputMaybe>; + average?: InputMaybe; + distinctCount?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddevPopulation?: InputMaybe; + stddevSample?: InputMaybe; + sum?: InputMaybe; + variancePopulation?: InputMaybe; + varianceSample?: InputMaybe; }; -export type BridgeEventsHavingMaxInput = { - amount?: InputMaybe; +export type ConfidentialAssetsHavingMaxInput = { createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; + totalSupply?: InputMaybe; updatedAt?: InputMaybe; }; -export type BridgeEventsHavingMinInput = { - amount?: InputMaybe; +export type ConfidentialAssetsHavingMinInput = { createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; + totalSupply?: InputMaybe; updatedAt?: InputMaybe; }; -export type BridgeEventsHavingStddevPopulationInput = { - amount?: InputMaybe; +export type ConfidentialAssetsHavingStddevPopulationInput = { createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; + totalSupply?: InputMaybe; updatedAt?: InputMaybe; }; -export type BridgeEventsHavingStddevSampleInput = { - amount?: InputMaybe; +export type ConfidentialAssetsHavingStddevSampleInput = { createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; + totalSupply?: InputMaybe; updatedAt?: InputMaybe; }; -export type BridgeEventsHavingSumInput = { - amount?: InputMaybe; +export type ConfidentialAssetsHavingSumInput = { createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; + totalSupply?: InputMaybe; updatedAt?: InputMaybe; }; -export type BridgeEventsHavingVariancePopulationInput = { - amount?: InputMaybe; +export type ConfidentialAssetsHavingVariancePopulationInput = { createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; + totalSupply?: InputMaybe; updatedAt?: InputMaybe; }; -export type BridgeEventsHavingVarianceSampleInput = { - amount?: InputMaybe; +export type ConfidentialAssetsHavingVarianceSampleInput = { createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; + totalSupply?: InputMaybe; updatedAt?: InputMaybe; }; -/** Methods to use when ordering `BridgeEvent`. */ -export enum BridgeEventsOrderBy { - AmountAsc = 'AMOUNT_ASC', - AmountDesc = 'AMOUNT_DESC', +/** Methods to use when ordering `ConfidentialAsset`. */ +export enum ConfidentialAssetsOrderBy { + AllowedVenuesAsc = 'ALLOWED_VENUES_ASC', + AllowedVenuesDesc = 'ALLOWED_VENUES_DESC', + AssetIdAsc = 'ASSET_ID_ASC', + AssetIdDesc = 'ASSET_ID_DESC', + AuditorsAsc = 'AUDITORS_ASC', + AuditorsDesc = 'AUDITORS_DESC', + ConfidentialAssetHistoriesByAssetIdAverageAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_AVERAGE_AMOUNT_ASC', + ConfidentialAssetHistoriesByAssetIdAverageAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_AVERAGE_AMOUNT_DESC', + ConfidentialAssetHistoriesByAssetIdAverageAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_AVERAGE_ASSET_ID_ASC', + ConfidentialAssetHistoriesByAssetIdAverageAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_AVERAGE_ASSET_ID_DESC', + ConfidentialAssetHistoriesByAssetIdAverageCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_AVERAGE_CREATED_AT_ASC', + ConfidentialAssetHistoriesByAssetIdAverageCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_AVERAGE_CREATED_AT_DESC', + ConfidentialAssetHistoriesByAssetIdAverageCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_AVERAGE_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByAssetIdAverageCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_AVERAGE_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByAssetIdAverageDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_AVERAGE_DATETIME_ASC', + ConfidentialAssetHistoriesByAssetIdAverageDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_AVERAGE_DATETIME_DESC', + ConfidentialAssetHistoriesByAssetIdAverageEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_AVERAGE_EVENT_IDX_ASC', + ConfidentialAssetHistoriesByAssetIdAverageEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_AVERAGE_EVENT_IDX_DESC', + ConfidentialAssetHistoriesByAssetIdAverageEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_AVERAGE_EVENT_ID_ASC', + ConfidentialAssetHistoriesByAssetIdAverageEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_AVERAGE_EVENT_ID_DESC', + ConfidentialAssetHistoriesByAssetIdAverageExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_AVERAGE_EXTRINSIC_IDX_ASC', + ConfidentialAssetHistoriesByAssetIdAverageExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_AVERAGE_EXTRINSIC_IDX_DESC', + ConfidentialAssetHistoriesByAssetIdAverageFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_AVERAGE_FROM_ID_ASC', + ConfidentialAssetHistoriesByAssetIdAverageFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_AVERAGE_FROM_ID_DESC', + ConfidentialAssetHistoriesByAssetIdAverageIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_AVERAGE_ID_ASC', + ConfidentialAssetHistoriesByAssetIdAverageIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_AVERAGE_ID_DESC', + ConfidentialAssetHistoriesByAssetIdAverageMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_AVERAGE_MEMO_ASC', + ConfidentialAssetHistoriesByAssetIdAverageMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_AVERAGE_MEMO_DESC', + ConfidentialAssetHistoriesByAssetIdAverageToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_AVERAGE_TO_ID_ASC', + ConfidentialAssetHistoriesByAssetIdAverageToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_AVERAGE_TO_ID_DESC', + ConfidentialAssetHistoriesByAssetIdAverageTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_AVERAGE_TRANSACTION_ID_ASC', + ConfidentialAssetHistoriesByAssetIdAverageTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_AVERAGE_TRANSACTION_ID_DESC', + ConfidentialAssetHistoriesByAssetIdAverageUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_AVERAGE_UPDATED_AT_ASC', + ConfidentialAssetHistoriesByAssetIdAverageUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_AVERAGE_UPDATED_AT_DESC', + ConfidentialAssetHistoriesByAssetIdAverageUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByAssetIdAverageUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByAssetIdCountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_COUNT_ASC', + ConfidentialAssetHistoriesByAssetIdCountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_COUNT_DESC', + ConfidentialAssetHistoriesByAssetIdDistinctCountAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_DISTINCT_COUNT_AMOUNT_ASC', + ConfidentialAssetHistoriesByAssetIdDistinctCountAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_DISTINCT_COUNT_AMOUNT_DESC', + ConfidentialAssetHistoriesByAssetIdDistinctCountAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_DISTINCT_COUNT_ASSET_ID_ASC', + ConfidentialAssetHistoriesByAssetIdDistinctCountAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_DISTINCT_COUNT_ASSET_ID_DESC', + ConfidentialAssetHistoriesByAssetIdDistinctCountCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_DISTINCT_COUNT_CREATED_AT_ASC', + ConfidentialAssetHistoriesByAssetIdDistinctCountCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_DISTINCT_COUNT_CREATED_AT_DESC', + ConfidentialAssetHistoriesByAssetIdDistinctCountCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByAssetIdDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByAssetIdDistinctCountDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_DISTINCT_COUNT_DATETIME_ASC', + ConfidentialAssetHistoriesByAssetIdDistinctCountDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_DISTINCT_COUNT_DATETIME_DESC', + ConfidentialAssetHistoriesByAssetIdDistinctCountEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_DISTINCT_COUNT_EVENT_IDX_ASC', + ConfidentialAssetHistoriesByAssetIdDistinctCountEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_DISTINCT_COUNT_EVENT_IDX_DESC', + ConfidentialAssetHistoriesByAssetIdDistinctCountEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_DISTINCT_COUNT_EVENT_ID_ASC', + ConfidentialAssetHistoriesByAssetIdDistinctCountEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_DISTINCT_COUNT_EVENT_ID_DESC', + ConfidentialAssetHistoriesByAssetIdDistinctCountExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_DISTINCT_COUNT_EXTRINSIC_IDX_ASC', + ConfidentialAssetHistoriesByAssetIdDistinctCountExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_DISTINCT_COUNT_EXTRINSIC_IDX_DESC', + ConfidentialAssetHistoriesByAssetIdDistinctCountFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_DISTINCT_COUNT_FROM_ID_ASC', + ConfidentialAssetHistoriesByAssetIdDistinctCountFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_DISTINCT_COUNT_FROM_ID_DESC', + ConfidentialAssetHistoriesByAssetIdDistinctCountIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_DISTINCT_COUNT_ID_ASC', + ConfidentialAssetHistoriesByAssetIdDistinctCountIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_DISTINCT_COUNT_ID_DESC', + ConfidentialAssetHistoriesByAssetIdDistinctCountMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_DISTINCT_COUNT_MEMO_ASC', + ConfidentialAssetHistoriesByAssetIdDistinctCountMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_DISTINCT_COUNT_MEMO_DESC', + ConfidentialAssetHistoriesByAssetIdDistinctCountToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_DISTINCT_COUNT_TO_ID_ASC', + ConfidentialAssetHistoriesByAssetIdDistinctCountToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_DISTINCT_COUNT_TO_ID_DESC', + ConfidentialAssetHistoriesByAssetIdDistinctCountTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_DISTINCT_COUNT_TRANSACTION_ID_ASC', + ConfidentialAssetHistoriesByAssetIdDistinctCountTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_DISTINCT_COUNT_TRANSACTION_ID_DESC', + ConfidentialAssetHistoriesByAssetIdDistinctCountUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_DISTINCT_COUNT_UPDATED_AT_ASC', + ConfidentialAssetHistoriesByAssetIdDistinctCountUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_DISTINCT_COUNT_UPDATED_AT_DESC', + ConfidentialAssetHistoriesByAssetIdDistinctCountUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByAssetIdDistinctCountUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByAssetIdMaxAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MAX_AMOUNT_ASC', + ConfidentialAssetHistoriesByAssetIdMaxAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MAX_AMOUNT_DESC', + ConfidentialAssetHistoriesByAssetIdMaxAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MAX_ASSET_ID_ASC', + ConfidentialAssetHistoriesByAssetIdMaxAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MAX_ASSET_ID_DESC', + ConfidentialAssetHistoriesByAssetIdMaxCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MAX_CREATED_AT_ASC', + ConfidentialAssetHistoriesByAssetIdMaxCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MAX_CREATED_AT_DESC', + ConfidentialAssetHistoriesByAssetIdMaxCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MAX_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByAssetIdMaxCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MAX_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByAssetIdMaxDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MAX_DATETIME_ASC', + ConfidentialAssetHistoriesByAssetIdMaxDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MAX_DATETIME_DESC', + ConfidentialAssetHistoriesByAssetIdMaxEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MAX_EVENT_IDX_ASC', + ConfidentialAssetHistoriesByAssetIdMaxEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MAX_EVENT_IDX_DESC', + ConfidentialAssetHistoriesByAssetIdMaxEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MAX_EVENT_ID_ASC', + ConfidentialAssetHistoriesByAssetIdMaxEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MAX_EVENT_ID_DESC', + ConfidentialAssetHistoriesByAssetIdMaxExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MAX_EXTRINSIC_IDX_ASC', + ConfidentialAssetHistoriesByAssetIdMaxExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MAX_EXTRINSIC_IDX_DESC', + ConfidentialAssetHistoriesByAssetIdMaxFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MAX_FROM_ID_ASC', + ConfidentialAssetHistoriesByAssetIdMaxFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MAX_FROM_ID_DESC', + ConfidentialAssetHistoriesByAssetIdMaxIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MAX_ID_ASC', + ConfidentialAssetHistoriesByAssetIdMaxIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MAX_ID_DESC', + ConfidentialAssetHistoriesByAssetIdMaxMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MAX_MEMO_ASC', + ConfidentialAssetHistoriesByAssetIdMaxMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MAX_MEMO_DESC', + ConfidentialAssetHistoriesByAssetIdMaxToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MAX_TO_ID_ASC', + ConfidentialAssetHistoriesByAssetIdMaxToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MAX_TO_ID_DESC', + ConfidentialAssetHistoriesByAssetIdMaxTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MAX_TRANSACTION_ID_ASC', + ConfidentialAssetHistoriesByAssetIdMaxTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MAX_TRANSACTION_ID_DESC', + ConfidentialAssetHistoriesByAssetIdMaxUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MAX_UPDATED_AT_ASC', + ConfidentialAssetHistoriesByAssetIdMaxUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MAX_UPDATED_AT_DESC', + ConfidentialAssetHistoriesByAssetIdMaxUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MAX_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByAssetIdMaxUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MAX_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByAssetIdMinAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MIN_AMOUNT_ASC', + ConfidentialAssetHistoriesByAssetIdMinAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MIN_AMOUNT_DESC', + ConfidentialAssetHistoriesByAssetIdMinAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MIN_ASSET_ID_ASC', + ConfidentialAssetHistoriesByAssetIdMinAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MIN_ASSET_ID_DESC', + ConfidentialAssetHistoriesByAssetIdMinCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MIN_CREATED_AT_ASC', + ConfidentialAssetHistoriesByAssetIdMinCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MIN_CREATED_AT_DESC', + ConfidentialAssetHistoriesByAssetIdMinCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MIN_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByAssetIdMinCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MIN_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByAssetIdMinDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MIN_DATETIME_ASC', + ConfidentialAssetHistoriesByAssetIdMinDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MIN_DATETIME_DESC', + ConfidentialAssetHistoriesByAssetIdMinEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MIN_EVENT_IDX_ASC', + ConfidentialAssetHistoriesByAssetIdMinEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MIN_EVENT_IDX_DESC', + ConfidentialAssetHistoriesByAssetIdMinEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MIN_EVENT_ID_ASC', + ConfidentialAssetHistoriesByAssetIdMinEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MIN_EVENT_ID_DESC', + ConfidentialAssetHistoriesByAssetIdMinExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MIN_EXTRINSIC_IDX_ASC', + ConfidentialAssetHistoriesByAssetIdMinExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MIN_EXTRINSIC_IDX_DESC', + ConfidentialAssetHistoriesByAssetIdMinFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MIN_FROM_ID_ASC', + ConfidentialAssetHistoriesByAssetIdMinFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MIN_FROM_ID_DESC', + ConfidentialAssetHistoriesByAssetIdMinIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MIN_ID_ASC', + ConfidentialAssetHistoriesByAssetIdMinIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MIN_ID_DESC', + ConfidentialAssetHistoriesByAssetIdMinMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MIN_MEMO_ASC', + ConfidentialAssetHistoriesByAssetIdMinMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MIN_MEMO_DESC', + ConfidentialAssetHistoriesByAssetIdMinToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MIN_TO_ID_ASC', + ConfidentialAssetHistoriesByAssetIdMinToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MIN_TO_ID_DESC', + ConfidentialAssetHistoriesByAssetIdMinTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MIN_TRANSACTION_ID_ASC', + ConfidentialAssetHistoriesByAssetIdMinTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MIN_TRANSACTION_ID_DESC', + ConfidentialAssetHistoriesByAssetIdMinUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MIN_UPDATED_AT_ASC', + ConfidentialAssetHistoriesByAssetIdMinUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MIN_UPDATED_AT_DESC', + ConfidentialAssetHistoriesByAssetIdMinUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MIN_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByAssetIdMinUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MIN_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByAssetIdStddevPopulationAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_POPULATION_AMOUNT_ASC', + ConfidentialAssetHistoriesByAssetIdStddevPopulationAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_POPULATION_AMOUNT_DESC', + ConfidentialAssetHistoriesByAssetIdStddevPopulationAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_POPULATION_ASSET_ID_ASC', + ConfidentialAssetHistoriesByAssetIdStddevPopulationAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_POPULATION_ASSET_ID_DESC', + ConfidentialAssetHistoriesByAssetIdStddevPopulationCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_POPULATION_CREATED_AT_ASC', + ConfidentialAssetHistoriesByAssetIdStddevPopulationCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_POPULATION_CREATED_AT_DESC', + ConfidentialAssetHistoriesByAssetIdStddevPopulationCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByAssetIdStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByAssetIdStddevPopulationDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_POPULATION_DATETIME_ASC', + ConfidentialAssetHistoriesByAssetIdStddevPopulationDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_POPULATION_DATETIME_DESC', + ConfidentialAssetHistoriesByAssetIdStddevPopulationEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_POPULATION_EVENT_IDX_ASC', + ConfidentialAssetHistoriesByAssetIdStddevPopulationEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_POPULATION_EVENT_IDX_DESC', + ConfidentialAssetHistoriesByAssetIdStddevPopulationEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_POPULATION_EVENT_ID_ASC', + ConfidentialAssetHistoriesByAssetIdStddevPopulationEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_POPULATION_EVENT_ID_DESC', + ConfidentialAssetHistoriesByAssetIdStddevPopulationExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_POPULATION_EXTRINSIC_IDX_ASC', + ConfidentialAssetHistoriesByAssetIdStddevPopulationExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_POPULATION_EXTRINSIC_IDX_DESC', + ConfidentialAssetHistoriesByAssetIdStddevPopulationFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_POPULATION_FROM_ID_ASC', + ConfidentialAssetHistoriesByAssetIdStddevPopulationFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_POPULATION_FROM_ID_DESC', + ConfidentialAssetHistoriesByAssetIdStddevPopulationIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_POPULATION_ID_ASC', + ConfidentialAssetHistoriesByAssetIdStddevPopulationIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_POPULATION_ID_DESC', + ConfidentialAssetHistoriesByAssetIdStddevPopulationMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_POPULATION_MEMO_ASC', + ConfidentialAssetHistoriesByAssetIdStddevPopulationMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_POPULATION_MEMO_DESC', + ConfidentialAssetHistoriesByAssetIdStddevPopulationToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_POPULATION_TO_ID_ASC', + ConfidentialAssetHistoriesByAssetIdStddevPopulationToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_POPULATION_TO_ID_DESC', + ConfidentialAssetHistoriesByAssetIdStddevPopulationTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_POPULATION_TRANSACTION_ID_ASC', + ConfidentialAssetHistoriesByAssetIdStddevPopulationTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_POPULATION_TRANSACTION_ID_DESC', + ConfidentialAssetHistoriesByAssetIdStddevPopulationUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_POPULATION_UPDATED_AT_ASC', + ConfidentialAssetHistoriesByAssetIdStddevPopulationUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_POPULATION_UPDATED_AT_DESC', + ConfidentialAssetHistoriesByAssetIdStddevPopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByAssetIdStddevPopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByAssetIdStddevSampleAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_SAMPLE_AMOUNT_ASC', + ConfidentialAssetHistoriesByAssetIdStddevSampleAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_SAMPLE_AMOUNT_DESC', + ConfidentialAssetHistoriesByAssetIdStddevSampleAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_SAMPLE_ASSET_ID_ASC', + ConfidentialAssetHistoriesByAssetIdStddevSampleAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_SAMPLE_ASSET_ID_DESC', + ConfidentialAssetHistoriesByAssetIdStddevSampleCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_SAMPLE_CREATED_AT_ASC', + ConfidentialAssetHistoriesByAssetIdStddevSampleCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_SAMPLE_CREATED_AT_DESC', + ConfidentialAssetHistoriesByAssetIdStddevSampleCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByAssetIdStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByAssetIdStddevSampleDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_SAMPLE_DATETIME_ASC', + ConfidentialAssetHistoriesByAssetIdStddevSampleDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_SAMPLE_DATETIME_DESC', + ConfidentialAssetHistoriesByAssetIdStddevSampleEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', + ConfidentialAssetHistoriesByAssetIdStddevSampleEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', + ConfidentialAssetHistoriesByAssetIdStddevSampleEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_SAMPLE_EVENT_ID_ASC', + ConfidentialAssetHistoriesByAssetIdStddevSampleEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_SAMPLE_EVENT_ID_DESC', + ConfidentialAssetHistoriesByAssetIdStddevSampleExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_SAMPLE_EXTRINSIC_IDX_ASC', + ConfidentialAssetHistoriesByAssetIdStddevSampleExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_SAMPLE_EXTRINSIC_IDX_DESC', + ConfidentialAssetHistoriesByAssetIdStddevSampleFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_SAMPLE_FROM_ID_ASC', + ConfidentialAssetHistoriesByAssetIdStddevSampleFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_SAMPLE_FROM_ID_DESC', + ConfidentialAssetHistoriesByAssetIdStddevSampleIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_SAMPLE_ID_ASC', + ConfidentialAssetHistoriesByAssetIdStddevSampleIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_SAMPLE_ID_DESC', + ConfidentialAssetHistoriesByAssetIdStddevSampleMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_SAMPLE_MEMO_ASC', + ConfidentialAssetHistoriesByAssetIdStddevSampleMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_SAMPLE_MEMO_DESC', + ConfidentialAssetHistoriesByAssetIdStddevSampleToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_SAMPLE_TO_ID_ASC', + ConfidentialAssetHistoriesByAssetIdStddevSampleToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_SAMPLE_TO_ID_DESC', + ConfidentialAssetHistoriesByAssetIdStddevSampleTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_SAMPLE_TRANSACTION_ID_ASC', + ConfidentialAssetHistoriesByAssetIdStddevSampleTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_SAMPLE_TRANSACTION_ID_DESC', + ConfidentialAssetHistoriesByAssetIdStddevSampleUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', + ConfidentialAssetHistoriesByAssetIdStddevSampleUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', + ConfidentialAssetHistoriesByAssetIdStddevSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByAssetIdStddevSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByAssetIdSumAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_SUM_AMOUNT_ASC', + ConfidentialAssetHistoriesByAssetIdSumAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_SUM_AMOUNT_DESC', + ConfidentialAssetHistoriesByAssetIdSumAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_SUM_ASSET_ID_ASC', + ConfidentialAssetHistoriesByAssetIdSumAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_SUM_ASSET_ID_DESC', + ConfidentialAssetHistoriesByAssetIdSumCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_SUM_CREATED_AT_ASC', + ConfidentialAssetHistoriesByAssetIdSumCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_SUM_CREATED_AT_DESC', + ConfidentialAssetHistoriesByAssetIdSumCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_SUM_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByAssetIdSumCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_SUM_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByAssetIdSumDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_SUM_DATETIME_ASC', + ConfidentialAssetHistoriesByAssetIdSumDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_SUM_DATETIME_DESC', + ConfidentialAssetHistoriesByAssetIdSumEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_SUM_EVENT_IDX_ASC', + ConfidentialAssetHistoriesByAssetIdSumEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_SUM_EVENT_IDX_DESC', + ConfidentialAssetHistoriesByAssetIdSumEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_SUM_EVENT_ID_ASC', + ConfidentialAssetHistoriesByAssetIdSumEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_SUM_EVENT_ID_DESC', + ConfidentialAssetHistoriesByAssetIdSumExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_SUM_EXTRINSIC_IDX_ASC', + ConfidentialAssetHistoriesByAssetIdSumExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_SUM_EXTRINSIC_IDX_DESC', + ConfidentialAssetHistoriesByAssetIdSumFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_SUM_FROM_ID_ASC', + ConfidentialAssetHistoriesByAssetIdSumFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_SUM_FROM_ID_DESC', + ConfidentialAssetHistoriesByAssetIdSumIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_SUM_ID_ASC', + ConfidentialAssetHistoriesByAssetIdSumIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_SUM_ID_DESC', + ConfidentialAssetHistoriesByAssetIdSumMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_SUM_MEMO_ASC', + ConfidentialAssetHistoriesByAssetIdSumMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_SUM_MEMO_DESC', + ConfidentialAssetHistoriesByAssetIdSumToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_SUM_TO_ID_ASC', + ConfidentialAssetHistoriesByAssetIdSumToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_SUM_TO_ID_DESC', + ConfidentialAssetHistoriesByAssetIdSumTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_SUM_TRANSACTION_ID_ASC', + ConfidentialAssetHistoriesByAssetIdSumTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_SUM_TRANSACTION_ID_DESC', + ConfidentialAssetHistoriesByAssetIdSumUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_SUM_UPDATED_AT_ASC', + ConfidentialAssetHistoriesByAssetIdSumUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_SUM_UPDATED_AT_DESC', + ConfidentialAssetHistoriesByAssetIdSumUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_SUM_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByAssetIdSumUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_SUM_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByAssetIdVariancePopulationAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_POPULATION_AMOUNT_ASC', + ConfidentialAssetHistoriesByAssetIdVariancePopulationAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_POPULATION_AMOUNT_DESC', + ConfidentialAssetHistoriesByAssetIdVariancePopulationAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_POPULATION_ASSET_ID_ASC', + ConfidentialAssetHistoriesByAssetIdVariancePopulationAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_POPULATION_ASSET_ID_DESC', + ConfidentialAssetHistoriesByAssetIdVariancePopulationCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_POPULATION_CREATED_AT_ASC', + ConfidentialAssetHistoriesByAssetIdVariancePopulationCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_POPULATION_CREATED_AT_DESC', + ConfidentialAssetHistoriesByAssetIdVariancePopulationCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByAssetIdVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByAssetIdVariancePopulationDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_POPULATION_DATETIME_ASC', + ConfidentialAssetHistoriesByAssetIdVariancePopulationDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_POPULATION_DATETIME_DESC', + ConfidentialAssetHistoriesByAssetIdVariancePopulationEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', + ConfidentialAssetHistoriesByAssetIdVariancePopulationEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', + ConfidentialAssetHistoriesByAssetIdVariancePopulationEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_POPULATION_EVENT_ID_ASC', + ConfidentialAssetHistoriesByAssetIdVariancePopulationEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_POPULATION_EVENT_ID_DESC', + ConfidentialAssetHistoriesByAssetIdVariancePopulationExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_POPULATION_EXTRINSIC_IDX_ASC', + ConfidentialAssetHistoriesByAssetIdVariancePopulationExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_POPULATION_EXTRINSIC_IDX_DESC', + ConfidentialAssetHistoriesByAssetIdVariancePopulationFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_POPULATION_FROM_ID_ASC', + ConfidentialAssetHistoriesByAssetIdVariancePopulationFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_POPULATION_FROM_ID_DESC', + ConfidentialAssetHistoriesByAssetIdVariancePopulationIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_POPULATION_ID_ASC', + ConfidentialAssetHistoriesByAssetIdVariancePopulationIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_POPULATION_ID_DESC', + ConfidentialAssetHistoriesByAssetIdVariancePopulationMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_POPULATION_MEMO_ASC', + ConfidentialAssetHistoriesByAssetIdVariancePopulationMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_POPULATION_MEMO_DESC', + ConfidentialAssetHistoriesByAssetIdVariancePopulationToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_POPULATION_TO_ID_ASC', + ConfidentialAssetHistoriesByAssetIdVariancePopulationToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_POPULATION_TO_ID_DESC', + ConfidentialAssetHistoriesByAssetIdVariancePopulationTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_POPULATION_TRANSACTION_ID_ASC', + ConfidentialAssetHistoriesByAssetIdVariancePopulationTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_POPULATION_TRANSACTION_ID_DESC', + ConfidentialAssetHistoriesByAssetIdVariancePopulationUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', + ConfidentialAssetHistoriesByAssetIdVariancePopulationUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', + ConfidentialAssetHistoriesByAssetIdVariancePopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByAssetIdVariancePopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByAssetIdVarianceSampleAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_SAMPLE_AMOUNT_ASC', + ConfidentialAssetHistoriesByAssetIdVarianceSampleAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_SAMPLE_AMOUNT_DESC', + ConfidentialAssetHistoriesByAssetIdVarianceSampleAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_SAMPLE_ASSET_ID_ASC', + ConfidentialAssetHistoriesByAssetIdVarianceSampleAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_SAMPLE_ASSET_ID_DESC', + ConfidentialAssetHistoriesByAssetIdVarianceSampleCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', + ConfidentialAssetHistoriesByAssetIdVarianceSampleCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', + ConfidentialAssetHistoriesByAssetIdVarianceSampleCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByAssetIdVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByAssetIdVarianceSampleDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_SAMPLE_DATETIME_ASC', + ConfidentialAssetHistoriesByAssetIdVarianceSampleDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_SAMPLE_DATETIME_DESC', + ConfidentialAssetHistoriesByAssetIdVarianceSampleEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', + ConfidentialAssetHistoriesByAssetIdVarianceSampleEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', + ConfidentialAssetHistoriesByAssetIdVarianceSampleEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_SAMPLE_EVENT_ID_ASC', + ConfidentialAssetHistoriesByAssetIdVarianceSampleEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_SAMPLE_EVENT_ID_DESC', + ConfidentialAssetHistoriesByAssetIdVarianceSampleExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_SAMPLE_EXTRINSIC_IDX_ASC', + ConfidentialAssetHistoriesByAssetIdVarianceSampleExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_SAMPLE_EXTRINSIC_IDX_DESC', + ConfidentialAssetHistoriesByAssetIdVarianceSampleFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_SAMPLE_FROM_ID_ASC', + ConfidentialAssetHistoriesByAssetIdVarianceSampleFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_SAMPLE_FROM_ID_DESC', + ConfidentialAssetHistoriesByAssetIdVarianceSampleIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_SAMPLE_ID_ASC', + ConfidentialAssetHistoriesByAssetIdVarianceSampleIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_SAMPLE_ID_DESC', + ConfidentialAssetHistoriesByAssetIdVarianceSampleMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_SAMPLE_MEMO_ASC', + ConfidentialAssetHistoriesByAssetIdVarianceSampleMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_SAMPLE_MEMO_DESC', + ConfidentialAssetHistoriesByAssetIdVarianceSampleToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_SAMPLE_TO_ID_ASC', + ConfidentialAssetHistoriesByAssetIdVarianceSampleToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_SAMPLE_TO_ID_DESC', + ConfidentialAssetHistoriesByAssetIdVarianceSampleTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_SAMPLE_TRANSACTION_ID_ASC', + ConfidentialAssetHistoriesByAssetIdVarianceSampleTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_SAMPLE_TRANSACTION_ID_DESC', + ConfidentialAssetHistoriesByAssetIdVarianceSampleUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', + ConfidentialAssetHistoriesByAssetIdVarianceSampleUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', + ConfidentialAssetHistoriesByAssetIdVarianceSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByAssetIdVarianceSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByAssetIdAverageAccountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_AVERAGE_ACCOUNT_ID_ASC', + ConfidentialAssetHoldersByAssetIdAverageAccountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_AVERAGE_ACCOUNT_ID_DESC', + ConfidentialAssetHoldersByAssetIdAverageAmountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_AVERAGE_AMOUNT_ASC', + ConfidentialAssetHoldersByAssetIdAverageAmountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_AVERAGE_AMOUNT_DESC', + ConfidentialAssetHoldersByAssetIdAverageAssetIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_AVERAGE_ASSET_ID_ASC', + ConfidentialAssetHoldersByAssetIdAverageAssetIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_AVERAGE_ASSET_ID_DESC', + ConfidentialAssetHoldersByAssetIdAverageCreatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_AVERAGE_CREATED_AT_ASC', + ConfidentialAssetHoldersByAssetIdAverageCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_AVERAGE_CREATED_AT_DESC', + ConfidentialAssetHoldersByAssetIdAverageCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_AVERAGE_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHoldersByAssetIdAverageCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_AVERAGE_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByAssetIdAverageIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_AVERAGE_ID_ASC', + ConfidentialAssetHoldersByAssetIdAverageIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_AVERAGE_ID_DESC', + ConfidentialAssetHoldersByAssetIdAverageUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_AVERAGE_UPDATED_AT_ASC', + ConfidentialAssetHoldersByAssetIdAverageUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_AVERAGE_UPDATED_AT_DESC', + ConfidentialAssetHoldersByAssetIdAverageUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHoldersByAssetIdAverageUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByAssetIdCountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_COUNT_ASC', + ConfidentialAssetHoldersByAssetIdCountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_COUNT_DESC', + ConfidentialAssetHoldersByAssetIdDistinctCountAccountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_DISTINCT_COUNT_ACCOUNT_ID_ASC', + ConfidentialAssetHoldersByAssetIdDistinctCountAccountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_DISTINCT_COUNT_ACCOUNT_ID_DESC', + ConfidentialAssetHoldersByAssetIdDistinctCountAmountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_DISTINCT_COUNT_AMOUNT_ASC', + ConfidentialAssetHoldersByAssetIdDistinctCountAmountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_DISTINCT_COUNT_AMOUNT_DESC', + ConfidentialAssetHoldersByAssetIdDistinctCountAssetIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_DISTINCT_COUNT_ASSET_ID_ASC', + ConfidentialAssetHoldersByAssetIdDistinctCountAssetIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_DISTINCT_COUNT_ASSET_ID_DESC', + ConfidentialAssetHoldersByAssetIdDistinctCountCreatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_DISTINCT_COUNT_CREATED_AT_ASC', + ConfidentialAssetHoldersByAssetIdDistinctCountCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_DISTINCT_COUNT_CREATED_AT_DESC', + ConfidentialAssetHoldersByAssetIdDistinctCountCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHoldersByAssetIdDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByAssetIdDistinctCountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_DISTINCT_COUNT_ID_ASC', + ConfidentialAssetHoldersByAssetIdDistinctCountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_DISTINCT_COUNT_ID_DESC', + ConfidentialAssetHoldersByAssetIdDistinctCountUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_DISTINCT_COUNT_UPDATED_AT_ASC', + ConfidentialAssetHoldersByAssetIdDistinctCountUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_DISTINCT_COUNT_UPDATED_AT_DESC', + ConfidentialAssetHoldersByAssetIdDistinctCountUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHoldersByAssetIdDistinctCountUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByAssetIdMaxAccountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MAX_ACCOUNT_ID_ASC', + ConfidentialAssetHoldersByAssetIdMaxAccountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MAX_ACCOUNT_ID_DESC', + ConfidentialAssetHoldersByAssetIdMaxAmountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MAX_AMOUNT_ASC', + ConfidentialAssetHoldersByAssetIdMaxAmountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MAX_AMOUNT_DESC', + ConfidentialAssetHoldersByAssetIdMaxAssetIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MAX_ASSET_ID_ASC', + ConfidentialAssetHoldersByAssetIdMaxAssetIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MAX_ASSET_ID_DESC', + ConfidentialAssetHoldersByAssetIdMaxCreatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MAX_CREATED_AT_ASC', + ConfidentialAssetHoldersByAssetIdMaxCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MAX_CREATED_AT_DESC', + ConfidentialAssetHoldersByAssetIdMaxCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MAX_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHoldersByAssetIdMaxCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MAX_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByAssetIdMaxIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MAX_ID_ASC', + ConfidentialAssetHoldersByAssetIdMaxIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MAX_ID_DESC', + ConfidentialAssetHoldersByAssetIdMaxUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MAX_UPDATED_AT_ASC', + ConfidentialAssetHoldersByAssetIdMaxUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MAX_UPDATED_AT_DESC', + ConfidentialAssetHoldersByAssetIdMaxUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MAX_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHoldersByAssetIdMaxUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MAX_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByAssetIdMinAccountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MIN_ACCOUNT_ID_ASC', + ConfidentialAssetHoldersByAssetIdMinAccountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MIN_ACCOUNT_ID_DESC', + ConfidentialAssetHoldersByAssetIdMinAmountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MIN_AMOUNT_ASC', + ConfidentialAssetHoldersByAssetIdMinAmountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MIN_AMOUNT_DESC', + ConfidentialAssetHoldersByAssetIdMinAssetIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MIN_ASSET_ID_ASC', + ConfidentialAssetHoldersByAssetIdMinAssetIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MIN_ASSET_ID_DESC', + ConfidentialAssetHoldersByAssetIdMinCreatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MIN_CREATED_AT_ASC', + ConfidentialAssetHoldersByAssetIdMinCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MIN_CREATED_AT_DESC', + ConfidentialAssetHoldersByAssetIdMinCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MIN_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHoldersByAssetIdMinCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MIN_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByAssetIdMinIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MIN_ID_ASC', + ConfidentialAssetHoldersByAssetIdMinIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MIN_ID_DESC', + ConfidentialAssetHoldersByAssetIdMinUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MIN_UPDATED_AT_ASC', + ConfidentialAssetHoldersByAssetIdMinUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MIN_UPDATED_AT_DESC', + ConfidentialAssetHoldersByAssetIdMinUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MIN_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHoldersByAssetIdMinUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MIN_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByAssetIdStddevPopulationAccountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_POPULATION_ACCOUNT_ID_ASC', + ConfidentialAssetHoldersByAssetIdStddevPopulationAccountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_POPULATION_ACCOUNT_ID_DESC', + ConfidentialAssetHoldersByAssetIdStddevPopulationAmountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_POPULATION_AMOUNT_ASC', + ConfidentialAssetHoldersByAssetIdStddevPopulationAmountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_POPULATION_AMOUNT_DESC', + ConfidentialAssetHoldersByAssetIdStddevPopulationAssetIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_POPULATION_ASSET_ID_ASC', + ConfidentialAssetHoldersByAssetIdStddevPopulationAssetIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_POPULATION_ASSET_ID_DESC', + ConfidentialAssetHoldersByAssetIdStddevPopulationCreatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_POPULATION_CREATED_AT_ASC', + ConfidentialAssetHoldersByAssetIdStddevPopulationCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_POPULATION_CREATED_AT_DESC', + ConfidentialAssetHoldersByAssetIdStddevPopulationCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHoldersByAssetIdStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByAssetIdStddevPopulationIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_POPULATION_ID_ASC', + ConfidentialAssetHoldersByAssetIdStddevPopulationIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_POPULATION_ID_DESC', + ConfidentialAssetHoldersByAssetIdStddevPopulationUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_POPULATION_UPDATED_AT_ASC', + ConfidentialAssetHoldersByAssetIdStddevPopulationUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_POPULATION_UPDATED_AT_DESC', + ConfidentialAssetHoldersByAssetIdStddevPopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHoldersByAssetIdStddevPopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByAssetIdStddevSampleAccountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_SAMPLE_ACCOUNT_ID_ASC', + ConfidentialAssetHoldersByAssetIdStddevSampleAccountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_SAMPLE_ACCOUNT_ID_DESC', + ConfidentialAssetHoldersByAssetIdStddevSampleAmountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_SAMPLE_AMOUNT_ASC', + ConfidentialAssetHoldersByAssetIdStddevSampleAmountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_SAMPLE_AMOUNT_DESC', + ConfidentialAssetHoldersByAssetIdStddevSampleAssetIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_SAMPLE_ASSET_ID_ASC', + ConfidentialAssetHoldersByAssetIdStddevSampleAssetIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_SAMPLE_ASSET_ID_DESC', + ConfidentialAssetHoldersByAssetIdStddevSampleCreatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_SAMPLE_CREATED_AT_ASC', + ConfidentialAssetHoldersByAssetIdStddevSampleCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_SAMPLE_CREATED_AT_DESC', + ConfidentialAssetHoldersByAssetIdStddevSampleCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHoldersByAssetIdStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByAssetIdStddevSampleIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_SAMPLE_ID_ASC', + ConfidentialAssetHoldersByAssetIdStddevSampleIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_SAMPLE_ID_DESC', + ConfidentialAssetHoldersByAssetIdStddevSampleUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', + ConfidentialAssetHoldersByAssetIdStddevSampleUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', + ConfidentialAssetHoldersByAssetIdStddevSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHoldersByAssetIdStddevSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByAssetIdSumAccountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_SUM_ACCOUNT_ID_ASC', + ConfidentialAssetHoldersByAssetIdSumAccountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_SUM_ACCOUNT_ID_DESC', + ConfidentialAssetHoldersByAssetIdSumAmountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_SUM_AMOUNT_ASC', + ConfidentialAssetHoldersByAssetIdSumAmountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_SUM_AMOUNT_DESC', + ConfidentialAssetHoldersByAssetIdSumAssetIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_SUM_ASSET_ID_ASC', + ConfidentialAssetHoldersByAssetIdSumAssetIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_SUM_ASSET_ID_DESC', + ConfidentialAssetHoldersByAssetIdSumCreatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_SUM_CREATED_AT_ASC', + ConfidentialAssetHoldersByAssetIdSumCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_SUM_CREATED_AT_DESC', + ConfidentialAssetHoldersByAssetIdSumCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_SUM_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHoldersByAssetIdSumCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_SUM_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByAssetIdSumIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_SUM_ID_ASC', + ConfidentialAssetHoldersByAssetIdSumIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_SUM_ID_DESC', + ConfidentialAssetHoldersByAssetIdSumUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_SUM_UPDATED_AT_ASC', + ConfidentialAssetHoldersByAssetIdSumUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_SUM_UPDATED_AT_DESC', + ConfidentialAssetHoldersByAssetIdSumUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_SUM_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHoldersByAssetIdSumUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_SUM_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByAssetIdVariancePopulationAccountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_POPULATION_ACCOUNT_ID_ASC', + ConfidentialAssetHoldersByAssetIdVariancePopulationAccountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_POPULATION_ACCOUNT_ID_DESC', + ConfidentialAssetHoldersByAssetIdVariancePopulationAmountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_POPULATION_AMOUNT_ASC', + ConfidentialAssetHoldersByAssetIdVariancePopulationAmountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_POPULATION_AMOUNT_DESC', + ConfidentialAssetHoldersByAssetIdVariancePopulationAssetIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_POPULATION_ASSET_ID_ASC', + ConfidentialAssetHoldersByAssetIdVariancePopulationAssetIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_POPULATION_ASSET_ID_DESC', + ConfidentialAssetHoldersByAssetIdVariancePopulationCreatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_POPULATION_CREATED_AT_ASC', + ConfidentialAssetHoldersByAssetIdVariancePopulationCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_POPULATION_CREATED_AT_DESC', + ConfidentialAssetHoldersByAssetIdVariancePopulationCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHoldersByAssetIdVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByAssetIdVariancePopulationIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_POPULATION_ID_ASC', + ConfidentialAssetHoldersByAssetIdVariancePopulationIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_POPULATION_ID_DESC', + ConfidentialAssetHoldersByAssetIdVariancePopulationUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', + ConfidentialAssetHoldersByAssetIdVariancePopulationUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', + ConfidentialAssetHoldersByAssetIdVariancePopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHoldersByAssetIdVariancePopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByAssetIdVarianceSampleAccountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_SAMPLE_ACCOUNT_ID_ASC', + ConfidentialAssetHoldersByAssetIdVarianceSampleAccountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_SAMPLE_ACCOUNT_ID_DESC', + ConfidentialAssetHoldersByAssetIdVarianceSampleAmountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_SAMPLE_AMOUNT_ASC', + ConfidentialAssetHoldersByAssetIdVarianceSampleAmountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_SAMPLE_AMOUNT_DESC', + ConfidentialAssetHoldersByAssetIdVarianceSampleAssetIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_SAMPLE_ASSET_ID_ASC', + ConfidentialAssetHoldersByAssetIdVarianceSampleAssetIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_SAMPLE_ASSET_ID_DESC', + ConfidentialAssetHoldersByAssetIdVarianceSampleCreatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', + ConfidentialAssetHoldersByAssetIdVarianceSampleCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', + ConfidentialAssetHoldersByAssetIdVarianceSampleCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHoldersByAssetIdVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByAssetIdVarianceSampleIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_SAMPLE_ID_ASC', + ConfidentialAssetHoldersByAssetIdVarianceSampleIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_SAMPLE_ID_DESC', + ConfidentialAssetHoldersByAssetIdVarianceSampleUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', + ConfidentialAssetHoldersByAssetIdVarianceSampleUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', + ConfidentialAssetHoldersByAssetIdVarianceSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHoldersByAssetIdVarianceSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', + CreatedAtAsc = 'CREATED_AT_ASC', + CreatedAtDesc = 'CREATED_AT_DESC', + CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', + CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', + CreatorIdAsc = 'CREATOR_ID_ASC', + CreatorIdDesc = 'CREATOR_ID_DESC', + DataAsc = 'DATA_ASC', + DataDesc = 'DATA_DESC', + IdAsc = 'ID_ASC', + IdDesc = 'ID_DESC', + MediatorsAsc = 'MEDIATORS_ASC', + MediatorsDesc = 'MEDIATORS_DESC', + Natural = 'NATURAL', + PrimaryKeyAsc = 'PRIMARY_KEY_ASC', + PrimaryKeyDesc = 'PRIMARY_KEY_DESC', + TickerAsc = 'TICKER_ASC', + TickerDesc = 'TICKER_DESC', + TotalSupplyAsc = 'TOTAL_SUPPLY_ASC', + TotalSupplyDesc = 'TOTAL_SUPPLY_DESC', + UpdatedAtAsc = 'UPDATED_AT_ASC', + UpdatedAtDesc = 'UPDATED_AT_DESC', + UpdatedBlockIdAsc = 'UPDATED_BLOCK_ID_ASC', + UpdatedBlockIdDesc = 'UPDATED_BLOCK_ID_DESC', + VenueFilteringAsc = 'VENUE_FILTERING_ASC', + VenueFilteringDesc = 'VENUE_FILTERING_DESC', +} + +/** Represents a leg of a confidential asset transaction */ +export type ConfidentialLeg = Node & { + __typename?: 'ConfidentialLeg'; + assetAuditors: Scalars['JSON']['output']; + createdAt: Scalars['Datetime']['output']; + /** Reads a single `Block` that is related to this `ConfidentialLeg`. */ + createdBlock?: Maybe; + createdBlockId: Scalars['String']['output']; + id: Scalars['String']['output']; + mediators: Scalars['JSON']['output']; + /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ + nodeId: Scalars['ID']['output']; + /** Reads a single `ConfidentialAccount` that is related to this `ConfidentialLeg`. */ + receiver?: Maybe; + receiverId: Scalars['String']['output']; + /** Reads a single `ConfidentialAccount` that is related to this `ConfidentialLeg`. */ + sender?: Maybe; + senderId: Scalars['String']['output']; + /** Reads a single `ConfidentialTransaction` that is related to this `ConfidentialLeg`. */ + transaction?: Maybe; + transactionId: Scalars['String']['output']; + updatedAt: Scalars['Datetime']['output']; + /** Reads a single `Block` that is related to this `ConfidentialLeg`. */ + updatedBlock?: Maybe; + updatedBlockId: Scalars['String']['output']; +}; + +export type ConfidentialLegAggregates = { + __typename?: 'ConfidentialLegAggregates'; + /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ + distinctCount?: Maybe; + keys?: Maybe>; +}; + +/** A filter to be used against aggregates of `ConfidentialLeg` object types. */ +export type ConfidentialLegAggregatesFilter = { + /** Distinct count aggregate over matching `ConfidentialLeg` objects. */ + distinctCount?: InputMaybe; + /** A filter that must pass for the relevant `ConfidentialLeg` object to be included within the aggregate. */ + filter?: InputMaybe; +}; + +export type ConfidentialLegDistinctCountAggregateFilter = { + assetAuditors?: InputMaybe; + createdAt?: InputMaybe; + createdBlockId?: InputMaybe; + id?: InputMaybe; + mediators?: InputMaybe; + receiverId?: InputMaybe; + senderId?: InputMaybe; + transactionId?: InputMaybe; + updatedAt?: InputMaybe; + updatedBlockId?: InputMaybe; +}; + +export type ConfidentialLegDistinctCountAggregates = { + __typename?: 'ConfidentialLegDistinctCountAggregates'; + /** Distinct count of assetAuditors across the matching connection */ + assetAuditors?: Maybe; + /** Distinct count of createdAt across the matching connection */ + createdAt?: Maybe; + /** Distinct count of createdBlockId across the matching connection */ + createdBlockId?: Maybe; + /** Distinct count of id across the matching connection */ + id?: Maybe; + /** Distinct count of mediators across the matching connection */ + mediators?: Maybe; + /** Distinct count of receiverId across the matching connection */ + receiverId?: Maybe; + /** Distinct count of senderId across the matching connection */ + senderId?: Maybe; + /** Distinct count of transactionId across the matching connection */ + transactionId?: Maybe; + /** Distinct count of updatedAt across the matching connection */ + updatedAt?: Maybe; + /** Distinct count of updatedBlockId across the matching connection */ + updatedBlockId?: Maybe; +}; + +/** A filter to be used against `ConfidentialLeg` object types. All fields are combined with a logical ‘and.’ */ +export type ConfidentialLegFilter = { + /** Checks for all expressions in this list. */ + and?: InputMaybe>; + /** Filter by the object’s `assetAuditors` field. */ + assetAuditors?: InputMaybe; + /** Filter by the object’s `createdAt` field. */ + createdAt?: InputMaybe; + /** Filter by the object’s `createdBlock` relation. */ + createdBlock?: InputMaybe; + /** Filter by the object’s `createdBlockId` field. */ + createdBlockId?: InputMaybe; + /** Filter by the object’s `id` field. */ + id?: InputMaybe; + /** Filter by the object’s `mediators` field. */ + mediators?: InputMaybe; + /** Negates the expression. */ + not?: InputMaybe; + /** Checks for any expressions in this list. */ + or?: InputMaybe>; + /** Filter by the object’s `receiver` relation. */ + receiver?: InputMaybe; + /** Filter by the object’s `receiverId` field. */ + receiverId?: InputMaybe; + /** Filter by the object’s `sender` relation. */ + sender?: InputMaybe; + /** Filter by the object’s `senderId` field. */ + senderId?: InputMaybe; + /** Filter by the object’s `transaction` relation. */ + transaction?: InputMaybe; + /** Filter by the object’s `transactionId` field. */ + transactionId?: InputMaybe; + /** Filter by the object’s `updatedAt` field. */ + updatedAt?: InputMaybe; + /** Filter by the object’s `updatedBlock` relation. */ + updatedBlock?: InputMaybe; + /** Filter by the object’s `updatedBlockId` field. */ + updatedBlockId?: InputMaybe; +}; + +/** A connection to a list of `ConfidentialLeg` values. */ +export type ConfidentialLegsConnection = { + __typename?: 'ConfidentialLegsConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `ConfidentialLeg` and cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `ConfidentialLeg` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `ConfidentialLeg` you could get from the connection. */ + totalCount: Scalars['Int']['output']; +}; + +/** A connection to a list of `ConfidentialLeg` values. */ +export type ConfidentialLegsConnectionGroupedAggregatesArgs = { + groupBy: Array; + having?: InputMaybe; +}; + +/** A `ConfidentialLeg` edge in the connection. */ +export type ConfidentialLegsEdge = { + __typename?: 'ConfidentialLegsEdge'; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `ConfidentialLeg` at the end of the edge. */ + node?: Maybe; +}; + +/** Grouping methods for `ConfidentialLeg` for usage during aggregation. */ +export enum ConfidentialLegsGroupBy { + AssetAuditors = 'ASSET_AUDITORS', + CreatedAt = 'CREATED_AT', + CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', + CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', + CreatedBlockId = 'CREATED_BLOCK_ID', + Mediators = 'MEDIATORS', + ReceiverId = 'RECEIVER_ID', + SenderId = 'SENDER_ID', + TransactionId = 'TRANSACTION_ID', + UpdatedAt = 'UPDATED_AT', + UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', + UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', + UpdatedBlockId = 'UPDATED_BLOCK_ID', +} + +export type ConfidentialLegsHavingAverageInput = { + createdAt?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type ConfidentialLegsHavingDistinctCountInput = { + createdAt?: InputMaybe; + updatedAt?: InputMaybe; +}; + +/** Conditions for `ConfidentialLeg` aggregates. */ +export type ConfidentialLegsHavingInput = { + AND?: InputMaybe>; + OR?: InputMaybe>; + average?: InputMaybe; + distinctCount?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddevPopulation?: InputMaybe; + stddevSample?: InputMaybe; + sum?: InputMaybe; + variancePopulation?: InputMaybe; + varianceSample?: InputMaybe; +}; + +export type ConfidentialLegsHavingMaxInput = { + createdAt?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type ConfidentialLegsHavingMinInput = { + createdAt?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type ConfidentialLegsHavingStddevPopulationInput = { + createdAt?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type ConfidentialLegsHavingStddevSampleInput = { + createdAt?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type ConfidentialLegsHavingSumInput = { + createdAt?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type ConfidentialLegsHavingVariancePopulationInput = { + createdAt?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type ConfidentialLegsHavingVarianceSampleInput = { + createdAt?: InputMaybe; + updatedAt?: InputMaybe; +}; + +/** Methods to use when ordering `ConfidentialLeg`. */ +export enum ConfidentialLegsOrderBy { + AssetAuditorsAsc = 'ASSET_AUDITORS_ASC', + AssetAuditorsDesc = 'ASSET_AUDITORS_DESC', CreatedAtAsc = 'CREATED_AT_ASC', CreatedAtDesc = 'CREATED_AT_DESC', CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', - DatetimeAsc = 'DATETIME_ASC', - DatetimeDesc = 'DATETIME_DESC', - EventIdxAsc = 'EVENT_IDX_ASC', - EventIdxDesc = 'EVENT_IDX_DESC', - IdentityIdAsc = 'IDENTITY_ID_ASC', - IdentityIdDesc = 'IDENTITY_ID_DESC', IdAsc = 'ID_ASC', IdDesc = 'ID_DESC', + MediatorsAsc = 'MEDIATORS_ASC', + MediatorsDesc = 'MEDIATORS_DESC', Natural = 'NATURAL', PrimaryKeyAsc = 'PRIMARY_KEY_ASC', PrimaryKeyDesc = 'PRIMARY_KEY_DESC', - RecipientAsc = 'RECIPIENT_ASC', - RecipientDesc = 'RECIPIENT_DESC', - TxHashAsc = 'TX_HASH_ASC', - TxHashDesc = 'TX_HASH_DESC', + ReceiverIdAsc = 'RECEIVER_ID_ASC', + ReceiverIdDesc = 'RECEIVER_ID_DESC', + SenderIdAsc = 'SENDER_ID_ASC', + SenderIdDesc = 'SENDER_ID_DESC', + TransactionIdAsc = 'TRANSACTION_ID_ASC', + TransactionIdDesc = 'TRANSACTION_ID_DESC', UpdatedAtAsc = 'UPDATED_AT_ASC', UpdatedAtDesc = 'UPDATED_AT_DESC', UpdatedBlockIdAsc = 'UPDATED_BLOCK_ID_ASC', UpdatedBlockIdDesc = 'UPDATED_BLOCK_ID_DESC', } -/** Represents all known chain extrinsics */ -export enum CallIdEnum { - Abdicate = 'abdicate', - AbdicateMembership = 'abdicate_membership', - AcceptAssetOwnershipTransfer = 'accept_asset_ownership_transfer', - AcceptAuthorization = 'accept_authorization', - AcceptBecomeAgent = 'accept_become_agent', - AcceptMasterKey = 'accept_master_key', - AcceptMultisigSignerAsIdentity = 'accept_multisig_signer_as_identity', - AcceptMultisigSignerAsKey = 'accept_multisig_signer_as_key', - AcceptPayingKey = 'accept_paying_key', - AcceptPortfolioCustody = 'accept_portfolio_custody', - AcceptPrimaryIssuanceAgentTransfer = 'accept_primary_issuance_agent_transfer', - AcceptPrimaryKey = 'accept_primary_key', - AcceptTickerTransfer = 'accept_ticker_transfer', - AddActiveRule = 'add_active_rule', - AddAndAffirmInstruction = 'add_and_affirm_instruction', - AddAndAffirmInstructionWithMemo = 'add_and_affirm_instruction_with_memo', - AddAndAffirmInstructionWithMemoV2 = 'add_and_affirm_instruction_with_memo_v2', - AddAndAuthorizeInstruction = 'add_and_authorize_instruction', - AddAuthorization = 'add_authorization', - AddBallot = 'add_ballot', - AddClaim = 'add_claim', - AddComplianceRequirement = 'add_compliance_requirement', - AddDefaultTrustedClaimIssuer = 'add_default_trusted_claim_issuer', - AddDocuments = 'add_documents', - AddExemptedEntities = 'add_exempted_entities', - AddExtension = 'add_extension', - AddFreezeAdmin = 'add_freeze_admin', - AddInstruction = 'add_instruction', - AddInstructionWithMemo = 'add_instruction_with_memo', - AddInstructionWithMemoV2 = 'add_instruction_with_memo_v2', - AddInvestorUniquenessClaim = 'add_investor_uniqueness_claim', - AddInvestorUniquenessClaimV2 = 'add_investor_uniqueness_claim_v2', - AddMember = 'add_member', - AddMultisigSigner = 'add_multisig_signer', - AddMultisigSignersViaCreator = 'add_multisig_signers_via_creator', - AddPermissionedValidator = 'add_permissioned_validator', - AddRangeProof = 'add_range_proof', - AddSecondaryKeysWithAuthorization = 'add_secondary_keys_with_authorization', - AddSecondaryKeysWithAuthorizationOld = 'add_secondary_keys_with_authorization_old', - AddTransferManager = 'add_transfer_manager', - AddVerifyRangeProof = 'add_verify_range_proof', - AffirmInstruction = 'affirm_instruction', - AffirmInstructionV2 = 'affirm_instruction_v2', - AffirmInstructionWithCount = 'affirm_instruction_with_count', - AffirmWithReceipts = 'affirm_with_receipts', - AffirmWithReceiptsWithCount = 'affirm_with_receipts_with_count', - AllowIdentityToCreatePortfolios = 'allow_identity_to_create_portfolios', - AllowVenues = 'allow_venues', - AmendProposal = 'amend_proposal', - Approve = 'approve', - ApproveAsIdentity = 'approve_as_identity', - ApproveAsKey = 'approve_as_key', - ApproveCommitteeProposal = 'approve_committee_proposal', - ArchiveExtension = 'archive_extension', - AsDerivative = 'as_derivative', - AttachBallot = 'attach_ballot', - AuthorizeInstruction = 'authorize_instruction', - AuthorizeWithReceipts = 'authorize_with_receipts', - Batch = 'batch', - BatchAcceptAuthorization = 'batch_accept_authorization', - BatchAddAuthorization = 'batch_add_authorization', - BatchAddClaim = 'batch_add_claim', - BatchAddDefaultTrustedClaimIssuer = 'batch_add_default_trusted_claim_issuer', - BatchAddDocument = 'batch_add_document', - BatchAddSecondaryKeyWithAuthorization = 'batch_add_secondary_key_with_authorization', - BatchAddSigningKeyWithAuthorization = 'batch_add_signing_key_with_authorization', - BatchAll = 'batch_all', - BatchAtomic = 'batch_atomic', - BatchChangeAssetRule = 'batch_change_asset_rule', - BatchChangeComplianceRequirement = 'batch_change_compliance_requirement', - BatchForceHandleBridgeTx = 'batch_force_handle_bridge_tx', - BatchFreezeTx = 'batch_freeze_tx', - BatchHandleBridgeTx = 'batch_handle_bridge_tx', - BatchIssue = 'batch_issue', - BatchOld = 'batch_old', - BatchOptimistic = 'batch_optimistic', - BatchProposeBridgeTx = 'batch_propose_bridge_tx', - BatchRemoveAuthorization = 'batch_remove_authorization', - BatchRemoveDefaultTrustedClaimIssuer = 'batch_remove_default_trusted_claim_issuer', - BatchRemoveDocument = 'batch_remove_document', - BatchRevokeClaim = 'batch_revoke_claim', - BatchUnfreezeTx = 'batch_unfreeze_tx', - BatchUpdateAssetStats = 'batch_update_asset_stats', - Bond = 'bond', - BondAdditionalDeposit = 'bond_additional_deposit', - BondExtra = 'bond_extra', - BurnAccountBalance = 'burn_account_balance', - BuyTokens = 'buy_tokens', - Call = 'call', - CallOldWeight = 'call_old_weight', - Cancel = 'cancel', - CancelBallot = 'cancel_ballot', - CancelDeferredSlash = 'cancel_deferred_slash', - CancelNamed = 'cancel_named', - CancelProposal = 'cancel_proposal', - CddRegisterDid = 'cdd_register_did', - CddRegisterDidWithCdd = 'cdd_register_did_with_cdd', - ChangeAdmin = 'change_admin', - ChangeAllSignersAndSigsRequired = 'change_all_signers_and_sigs_required', - ChangeAssetRule = 'change_asset_rule', - ChangeBaseFee = 'change_base_fee', - ChangeBridgeExempted = 'change_bridge_exempted', - ChangeBridgeLimit = 'change_bridge_limit', - ChangeCddRequirementForMkRotation = 'change_cdd_requirement_for_mk_rotation', - ChangeCoefficient = 'change_coefficient', - ChangeComplianceRequirement = 'change_compliance_requirement', - ChangeController = 'change_controller', - ChangeEnd = 'change_end', - ChangeGroup = 'change_group', - ChangeMeta = 'change_meta', - ChangeRcv = 'change_rcv', - ChangeReceiptValidity = 'change_receipt_validity', - ChangeRecordDate = 'change_record_date', - ChangeSigsRequired = 'change_sigs_required', - ChangeSigsRequiredViaCreator = 'change_sigs_required_via_creator', - ChangeSlashingAllowedFor = 'change_slashing_allowed_for', - ChangeTemplateFees = 'change_template_fees', - ChangeTemplateMetaUrl = 'change_template_meta_url', - ChangeTimelock = 'change_timelock', - Chill = 'chill', - ChillFromGovernance = 'chill_from_governance', - Claim = 'claim', - ClaimClassicTicker = 'claim_classic_ticker', - ClaimItnReward = 'claim_itn_reward', - ClaimReceipt = 'claim_receipt', - ClaimSurcharge = 'claim_surcharge', - ClaimUnclaimed = 'claim_unclaimed', - ClearSnapshot = 'clear_snapshot', - Close = 'close', - ControllerRedeem = 'controller_redeem', - ControllerTransfer = 'controller_transfer', - CreateAndChangeCustomGroup = 'create_and_change_custom_group', - CreateAsset = 'create_asset', - CreateAssetAndMint = 'create_asset_and_mint', - CreateAssetWithCustomType = 'create_asset_with_custom_type', - CreateCheckpoint = 'create_checkpoint', - CreateChildIdentities = 'create_child_identities', - CreateChildIdentity = 'create_child_identity', - CreateCustodyPortfolio = 'create_custody_portfolio', - CreateFundraiser = 'create_fundraiser', - CreateGroup = 'create_group', - CreateGroupAndAddAuth = 'create_group_and_add_auth', - CreateMultisig = 'create_multisig', - CreateNftCollection = 'create_nft_collection', - CreateOrApproveProposalAsIdentity = 'create_or_approve_proposal_as_identity', - CreateOrApproveProposalAsKey = 'create_or_approve_proposal_as_key', - CreatePortfolio = 'create_portfolio', - CreateProposalAsIdentity = 'create_proposal_as_identity', - CreateProposalAsKey = 'create_proposal_as_key', - CreateSchedule = 'create_schedule', - CreateVenue = 'create_venue', - DecreasePolyxLimit = 'decrease_polyx_limit', - DeletePortfolio = 'delete_portfolio', - DepositBlockRewardReserveBalance = 'deposit_block_reward_reserve_balance', - DisableMember = 'disable_member', - DisallowVenues = 'disallow_venues', - Disbursement = 'disbursement', - DispatchAs = 'dispatch_as', - Distribute = 'distribute', - EmergencyReferendum = 'emergency_referendum', - EnableIndividualCommissions = 'enable_individual_commissions', - EnactReferendum = 'enact_referendum', - EnactSnapshotResults = 'enact_snapshot_results', - ExecuteManualInstruction = 'execute_manual_instruction', - ExecuteScheduledInstruction = 'execute_scheduled_instruction', - ExecuteScheduledInstructionV2 = 'execute_scheduled_instruction_v2', - ExecuteScheduledInstructionV3 = 'execute_scheduled_instruction_v3', - ExecuteScheduledPip = 'execute_scheduled_pip', - ExecuteScheduledProposal = 'execute_scheduled_proposal', - ExemptTickerAffirmation = 'exempt_ticker_affirmation', - ExpireScheduledPip = 'expire_scheduled_pip', - FastTrackProposal = 'fast_track_proposal', - FillBlock = 'fill_block', - FinalHint = 'final_hint', - ForceBatch = 'force_batch', - ForceHandleBridgeTx = 'force_handle_bridge_tx', - ForceNewEra = 'force_new_era', - ForceNewEraAlways = 'force_new_era_always', - ForceNoEras = 'force_no_eras', - ForceTransfer = 'force_transfer', - ForceUnstake = 'force_unstake', - ForwardedCall = 'forwarded_call', - Free = 'free', - Freeze = 'freeze', - FreezeFundraiser = 'freeze_fundraiser', - FreezeInstantiation = 'freeze_instantiation', - FreezeSecondaryKeys = 'freeze_secondary_keys', - FreezeSigningKeys = 'freeze_signing_keys', - FreezeTxs = 'freeze_txs', - GcAddCddClaim = 'gc_add_cdd_claim', - GcRevokeCddClaim = 'gc_revoke_cdd_claim', - GetCddOf = 'get_cdd_of', - GetMyDid = 'get_my_did', - HandleBridgeTx = 'handle_bridge_tx', - HandleScheduledBridgeTx = 'handle_scheduled_bridge_tx', - Heartbeat = 'heartbeat', - IncreaseCustodyAllowance = 'increase_custody_allowance', - IncreaseCustodyAllowanceOf = 'increase_custody_allowance_of', - IncreasePolyxLimit = 'increase_polyx_limit', - IncreaseValidatorCount = 'increase_validator_count', - InitiateCorporateAction = 'initiate_corporate_action', - InitiateCorporateActionAndDistribute = 'initiate_corporate_action_and_distribute', - Instantiate = 'instantiate', - InstantiateOldWeight = 'instantiate_old_weight', - InstantiateWithCode = 'instantiate_with_code', - InstantiateWithCodeAsPrimaryKey = 'instantiate_with_code_as_primary_key', - InstantiateWithCodeOldWeight = 'instantiate_with_code_old_weight', - InstantiateWithCodePerms = 'instantiate_with_code_perms', - InstantiateWithHashAsPrimaryKey = 'instantiate_with_hash_as_primary_key', - InstantiateWithHashPerms = 'instantiate_with_hash_perms', - InvalidateCddClaims = 'invalidate_cdd_claims', - Invest = 'invest', - IsIssuable = 'is_issuable', - Issue = 'issue', - IssueNft = 'issue_nft', - JoinIdentityAsIdentity = 'join_identity_as_identity', - JoinIdentityAsKey = 'join_identity_as_key', - KillPrefix = 'kill_prefix', - KillProposal = 'kill_proposal', - KillStorage = 'kill_storage', - LaunchSto = 'launch_sto', - LeaveIdentityAsIdentity = 'leave_identity_as_identity', - LeaveIdentityAsKey = 'leave_identity_as_key', - LegacySetPermissionToSigner = 'legacy_set_permission_to_signer', - LinkCaDoc = 'link_ca_doc', - MakeDivisible = 'make_divisible', - MakeMultisigPrimary = 'make_multisig_primary', - MakeMultisigSecondary = 'make_multisig_secondary', - MakeMultisigSigner = 'make_multisig_signer', - MockCddRegisterDid = 'mock_cdd_register_did', - ModifyExemptionList = 'modify_exemption_list', - ModifyFundraiserWindow = 'modify_fundraiser_window', - MovePortfolioFunds = 'move_portfolio_funds', - MovePortfolioFundsV2 = 'move_portfolio_funds_v2', - New = 'new', - Nominate = 'nominate', - NotePreimage = 'note_preimage', - NoteStalled = 'note_stalled', - OverrideReferendumEnactmentPeriod = 'override_referendum_enactment_period', - PauseAssetCompliance = 'pause_asset_compliance', - PauseAssetRules = 'pause_asset_rules', - PauseSto = 'pause_sto', - PayoutStakers = 'payout_stakers', - PayoutStakersBySystem = 'payout_stakers_by_system', - PlaceholderAddAndAffirmInstruction = 'placeholder_add_and_affirm_instruction', - PlaceholderAddAndAffirmInstructionWithMemo = 'placeholder_add_and_affirm_instruction_with_memo', - PlaceholderAddInstruction = 'placeholder_add_instruction', - PlaceholderAddInstructionWithMemo = 'placeholder_add_instruction_with_memo', - PlaceholderAffirmInstruction = 'placeholder_affirm_instruction', - PlaceholderClaimReceipt = 'placeholder_claim_receipt', - PlaceholderFillBlock = 'placeholder_fill_block', - PlaceholderLegacySetPermissionToSigner = 'placeholder_legacy_set_permission_to_signer', - PlaceholderRejectInstruction = 'placeholder_reject_instruction', - PlaceholderUnclaimReceipt = 'placeholder_unclaim_receipt', - PlaceholderWithdrawAffirmation = 'placeholder_withdraw_affirmation', - PlanConfigChange = 'plan_config_change', - PreApprovePortfolio = 'pre_approve_portfolio', - PreApproveTicker = 'pre_approve_ticker', - Propose = 'propose', - ProposeBridgeTx = 'propose_bridge_tx', - PruneProposal = 'prune_proposal', - PurgeKeys = 'purge_keys', - PushBenefit = 'push_benefit', - PutCode = 'put_code', - QuitPortfolioCustody = 'quit_portfolio_custody', - ReapStash = 'reap_stash', - Rebond = 'rebond', - Reclaim = 'reclaim', - Redeem = 'redeem', - RedeemFrom = 'redeem_from', - RedeemFromPortfolio = 'redeem_from_portfolio', - RedeemNft = 'redeem_nft', - RegisterAndSetLocalAssetMetadata = 'register_and_set_local_asset_metadata', - RegisterAssetMetadataGlobalType = 'register_asset_metadata_global_type', - RegisterAssetMetadataLocalType = 'register_asset_metadata_local_type', - RegisterCustomAssetType = 'register_custom_asset_type', - RegisterCustomClaimType = 'register_custom_claim_type', - RegisterDid = 'register_did', - RegisterTicker = 'register_ticker', - Reimbursement = 'reimbursement', - RejectAsIdentity = 'reject_as_identity', - RejectAsKey = 'reject_as_key', - RejectInstruction = 'reject_instruction', - RejectInstructionV2 = 'reject_instruction_v2', - RejectInstructionWithCount = 'reject_instruction_with_count', - RejectProposal = 'reject_proposal', - RejectReferendum = 'reject_referendum', - RelayTx = 'relay_tx', - Remark = 'remark', - RemarkWithEvent = 'remark_with_event', - RemoveActiveRule = 'remove_active_rule', - RemoveAgent = 'remove_agent', - RemoveAuthorization = 'remove_authorization', - RemoveBallot = 'remove_ballot', - RemoveCa = 'remove_ca', - RemoveCode = 'remove_code', - RemoveComplianceRequirement = 'remove_compliance_requirement', - RemoveCreatorControls = 'remove_creator_controls', - RemoveDefaultTrustedClaimIssuer = 'remove_default_trusted_claim_issuer', - RemoveDistribution = 'remove_distribution', - RemoveDocuments = 'remove_documents', - RemoveExemptedEntities = 'remove_exempted_entities', - RemoveFreezeAdmin = 'remove_freeze_admin', - RemoveLocalMetadataKey = 'remove_local_metadata_key', - RemoveMember = 'remove_member', - RemoveMetadataValue = 'remove_metadata_value', - RemoveMultisigSigner = 'remove_multisig_signer', - RemoveMultisigSignersViaCreator = 'remove_multisig_signers_via_creator', - RemovePayingKey = 'remove_paying_key', - RemovePermissionedValidator = 'remove_permissioned_validator', - RemovePortfolioPreApproval = 'remove_portfolio_pre_approval', - RemovePrimaryIssuanceAgent = 'remove_primary_issuance_agent', - RemoveSchedule = 'remove_schedule', - RemoveSecondaryKeys = 'remove_secondary_keys', - RemoveSecondaryKeysOld = 'remove_secondary_keys_old', - RemoveSigningKeys = 'remove_signing_keys', - RemoveSmartExtension = 'remove_smart_extension', - RemoveTickerAffirmationExemption = 'remove_ticker_affirmation_exemption', - RemoveTickerPreApproval = 'remove_ticker_pre_approval', - RemoveTransferManager = 'remove_transfer_manager', - RemoveTxs = 'remove_txs', - RenameAsset = 'rename_asset', - RenamePortfolio = 'rename_portfolio', - ReplaceAssetCompliance = 'replace_asset_compliance', - ReplaceAssetRules = 'replace_asset_rules', - ReportEquivocation = 'report_equivocation', - ReportEquivocationUnsigned = 'report_equivocation_unsigned', - RequestPreimage = 'request_preimage', - RescheduleExecution = 'reschedule_execution', - RescheduleInstruction = 'reschedule_instruction', - ReserveClassicTicker = 'reserve_classic_ticker', - ResetActiveRules = 'reset_active_rules', - ResetAssetCompliance = 'reset_asset_compliance', - ResetCaa = 'reset_caa', - ResetMembers = 'reset_members', - ResumeAssetCompliance = 'resume_asset_compliance', - ResumeAssetRules = 'resume_asset_rules', - RevokeClaim = 'revoke_claim', - RevokeClaimByIndex = 'revoke_claim_by_index', - RevokeCreatePortfoliosPermission = 'revoke_create_portfolios_permission', - RevokeOffchainAuthorization = 'revoke_offchain_authorization', - RotatePrimaryKeyToSecondary = 'rotate_primary_key_to_secondary', - ScaleValidatorCount = 'scale_validator_count', - Schedule = 'schedule', - ScheduleAfter = 'schedule_after', - ScheduleNamed = 'schedule_named', - ScheduleNamedAfter = 'schedule_named_after', - Set = 'set', - SetActiveAssetStats = 'set_active_asset_stats', - SetActiveMembersLimit = 'set_active_members_limit', - SetActivePipLimit = 'set_active_pip_limit', - SetAssetMetadata = 'set_asset_metadata', - SetAssetMetadataDetails = 'set_asset_metadata_details', - SetAssetTransferCompliance = 'set_asset_transfer_compliance', - SetBalance = 'set_balance', - SetChangesTrieConfig = 'set_changes_trie_config', - SetCode = 'set_code', - SetCodeWithoutChecks = 'set_code_without_checks', - SetCommissionCap = 'set_commission_cap', - SetController = 'set_controller', - SetDefaultEnactmentPeriod = 'set_default_enactment_period', - SetDefaultTargets = 'set_default_targets', - SetDefaultWithholdingTax = 'set_default_withholding_tax', - SetDidWithholdingTax = 'set_did_withholding_tax', - SetEntitiesExempt = 'set_entities_exempt', - SetExpiresAfter = 'set_expires_after', - SetFundingRound = 'set_funding_round', - SetGlobalCommission = 'set_global_commission', - SetGroupPermissions = 'set_group_permissions', - SetHeapPages = 'set_heap_pages', - SetHistoryDepth = 'set_history_depth', - SetInvulnerables = 'set_invulnerables', - SetItnRewardStatus = 'set_itn_reward_status', - SetKey = 'set_key', - SetKeys = 'set_keys', - SetMasterKey = 'set_master_key', - SetMaxDetailsLength = 'set_max_details_length', - SetMaxPipSkipCount = 'set_max_pip_skip_count', - SetMinBondThreshold = 'set_min_bond_threshold', - SetMinProposalDeposit = 'set_min_proposal_deposit', - SetPayee = 'set_payee', - SetPayingKey = 'set_paying_key', - SetPendingPipExpiry = 'set_pending_pip_expiry', - SetPermissionToSigner = 'set_permission_to_signer', - SetPrimaryKey = 'set_primary_key', - SetProposalCoolOffPeriod = 'set_proposal_cool_off_period', - SetProposalDuration = 'set_proposal_duration', - SetPruneHistoricalPips = 'set_prune_historical_pips', - SetReleaseCoordinator = 'set_release_coordinator', - SetSchedulesMaxComplexity = 'set_schedules_max_complexity', - SetSecondaryKeyPermissions = 'set_secondary_key_permissions', - SetStorage = 'set_storage', - SetUncles = 'set_uncles', - SetValidatorCount = 'set_validator_count', - SetVenueFiltering = 'set_venue_filtering', - SetVoteThreshold = 'set_vote_threshold', - Snapshot = 'snapshot', - Stop = 'stop', - SubmitElectionSolution = 'submit_election_solution', - SubmitElectionSolutionUnsigned = 'submit_election_solution_unsigned', - Sudo = 'sudo', - SudoAs = 'sudo_as', - SudoUncheckedWeight = 'sudo_unchecked_weight', - SwapMember = 'swap_member', - Transfer = 'transfer', - TransferWithMemo = 'transfer_with_memo', - Unbond = 'unbond', - UnclaimReceipt = 'unclaim_receipt', - Unfreeze = 'unfreeze', - UnfreezeFundraiser = 'unfreeze_fundraiser', - UnfreezeSecondaryKeys = 'unfreeze_secondary_keys', - UnfreezeTxs = 'unfreeze_txs', - UnlinkChildIdentity = 'unlink_child_identity', - UnnotePreimage = 'unnote_preimage', - UnrequestPreimage = 'unrequest_preimage', - UpdateAssetType = 'update_asset_type', - UpdateCallRuntimeWhitelist = 'update_call_runtime_whitelist', - UpdateIdentifiers = 'update_identifiers', - UpdatePermissionedValidatorIntendedCount = 'update_permissioned_validator_intended_count', - UpdatePolyxLimit = 'update_polyx_limit', - UpdateVenueDetails = 'update_venue_details', - UpdateVenueSigners = 'update_venue_signers', - UpdateVenueType = 'update_venue_type', - UpgradeApi = 'upgrade_api', - UploadCode = 'upload_code', - Validate = 'validate', - ValidateCddExpiryNominators = 'validate_cdd_expiry_nominators', - Vote = 'vote', - VoteOrPropose = 'vote_or_propose', - WithWeight = 'with_weight', - WithdrawAffirmation = 'withdraw_affirmation', - WithdrawAffirmationV2 = 'withdraw_affirmation_v2', - WithdrawAffirmationWithCount = 'withdraw_affirmation_with_count', - WithdrawUnbonded = 'withdraw_unbonded', -} +/** Represents a confidential transaction */ +export type ConfidentialTransaction = Node & { + __typename?: 'ConfidentialTransaction'; + /** Reads and enables pagination through a set of `ConfidentialTransactionAffirmation`. */ + affirmations: ConfidentialTransactionAffirmationsConnection; + /** Reads and enables pagination through a set of `Block`. */ + blocksByConfidentialAssetHistoryTransactionIdAndCreatedBlockId: ConfidentialTransactionBlocksByConfidentialAssetHistoryTransactionIdAndCreatedBlockIdManyToManyConnection; + /** Reads and enables pagination through a set of `Block`. */ + blocksByConfidentialAssetHistoryTransactionIdAndUpdatedBlockId: ConfidentialTransactionBlocksByConfidentialAssetHistoryTransactionIdAndUpdatedBlockIdManyToManyConnection; + /** Reads and enables pagination through a set of `Block`. */ + blocksByConfidentialLegTransactionIdAndCreatedBlockId: ConfidentialTransactionBlocksByConfidentialLegTransactionIdAndCreatedBlockIdManyToManyConnection; + /** Reads and enables pagination through a set of `Block`. */ + blocksByConfidentialLegTransactionIdAndUpdatedBlockId: ConfidentialTransactionBlocksByConfidentialLegTransactionIdAndUpdatedBlockIdManyToManyConnection; + /** Reads and enables pagination through a set of `Block`. */ + blocksByConfidentialTransactionAffirmationTransactionIdAndCreatedBlockId: ConfidentialTransactionBlocksByConfidentialTransactionAffirmationTransactionIdAndCreatedBlockIdManyToManyConnection; + /** Reads and enables pagination through a set of `Block`. */ + blocksByConfidentialTransactionAffirmationTransactionIdAndUpdatedBlockId: ConfidentialTransactionBlocksByConfidentialTransactionAffirmationTransactionIdAndUpdatedBlockIdManyToManyConnection; + /** Reads and enables pagination through a set of `ConfidentialAccount`. */ + confidentialAccountsByConfidentialAssetHistoryTransactionIdAndFromId: ConfidentialTransactionConfidentialAccountsByConfidentialAssetHistoryTransactionIdAndFromIdManyToManyConnection; + /** Reads and enables pagination through a set of `ConfidentialAccount`. */ + confidentialAccountsByConfidentialAssetHistoryTransactionIdAndToId: ConfidentialTransactionConfidentialAccountsByConfidentialAssetHistoryTransactionIdAndToIdManyToManyConnection; + /** Reads and enables pagination through a set of `ConfidentialAccount`. */ + confidentialAccountsByConfidentialLegTransactionIdAndReceiverId: ConfidentialTransactionConfidentialAccountsByConfidentialLegTransactionIdAndReceiverIdManyToManyConnection; + /** Reads and enables pagination through a set of `ConfidentialAccount`. */ + confidentialAccountsByConfidentialLegTransactionIdAndSenderId: ConfidentialTransactionConfidentialAccountsByConfidentialLegTransactionIdAndSenderIdManyToManyConnection; + /** Reads and enables pagination through a set of `ConfidentialAccount`. */ + confidentialAccountsByConfidentialTransactionAffirmationTransactionIdAndAccountId: ConfidentialTransactionConfidentialAccountsByConfidentialTransactionAffirmationTransactionIdAndAccountIdManyToManyConnection; + /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ + confidentialAssetHistoriesByTransactionId: ConfidentialAssetHistoriesConnection; + /** Reads and enables pagination through a set of `ConfidentialAsset`. */ + confidentialAssetsByConfidentialAssetHistoryTransactionIdAndAssetId: ConfidentialTransactionConfidentialAssetsByConfidentialAssetHistoryTransactionIdAndAssetIdManyToManyConnection; + createdAt: Scalars['Datetime']['output']; + /** Reads a single `Block` that is related to this `ConfidentialTransaction`. */ + createdBlock?: Maybe; + createdBlockId: Scalars['String']['output']; + eventId: EventIdEnum; + eventIdx: Scalars['Int']['output']; + id: Scalars['String']['output']; + /** Reads and enables pagination through a set of `Identity`. */ + identitiesByConfidentialTransactionAffirmationTransactionIdAndIdentityId: ConfidentialTransactionIdentitiesByConfidentialTransactionAffirmationTransactionIdAndIdentityIdManyToManyConnection; + /** Reads and enables pagination through a set of `ConfidentialLeg`. */ + legs: ConfidentialLegsConnection; + memo?: Maybe; + /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ + nodeId: Scalars['ID']['output']; + pendingAffirmations: Scalars['Int']['output']; + status: ConfidentialTransactionStatusEnum; + updatedAt: Scalars['Datetime']['output']; + /** Reads a single `Block` that is related to this `ConfidentialTransaction`. */ + updatedBlock?: Maybe; + updatedBlockId: Scalars['String']['output']; + /** Reads a single `ConfidentialVenue` that is related to this `ConfidentialTransaction`. */ + venue?: Maybe; + venueId: Scalars['String']['output']; +}; + +/** Represents a confidential transaction */ +export type ConfidentialTransactionAffirmationsArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** Represents a confidential transaction */ +export type ConfidentialTransactionBlocksByConfidentialAssetHistoryTransactionIdAndCreatedBlockIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** Represents a confidential transaction */ +export type ConfidentialTransactionBlocksByConfidentialAssetHistoryTransactionIdAndUpdatedBlockIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** Represents a confidential transaction */ +export type ConfidentialTransactionBlocksByConfidentialLegTransactionIdAndCreatedBlockIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** Represents a confidential transaction */ +export type ConfidentialTransactionBlocksByConfidentialLegTransactionIdAndUpdatedBlockIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** Represents a confidential transaction */ +export type ConfidentialTransactionBlocksByConfidentialTransactionAffirmationTransactionIdAndCreatedBlockIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; -/** A filter to be used against CallIdEnum fields. All fields are combined with a logical ‘and.’ */ -export type CallIdEnumFilter = { - /** Not equal to the specified value, treating null like an ordinary value. */ - distinctFrom?: InputMaybe; - /** Equal to the specified value. */ - equalTo?: InputMaybe; - /** Greater than the specified value. */ - greaterThan?: InputMaybe; - /** Greater than or equal to the specified value. */ - greaterThanOrEqualTo?: InputMaybe; - /** Included in the specified list. */ - in?: InputMaybe>; - /** Is null (if `true` is specified) or is not null (if `false` is specified). */ - isNull?: InputMaybe; - /** Less than the specified value. */ - lessThan?: InputMaybe; - /** Less than or equal to the specified value. */ - lessThanOrEqualTo?: InputMaybe; - /** Equal to the specified value, treating null like an ordinary value. */ - notDistinctFrom?: InputMaybe; - /** Not equal to the specified value. */ - notEqualTo?: InputMaybe; - /** Not included in the specified list. */ - notIn?: InputMaybe>; +/** Represents a confidential transaction */ +export type ConfidentialTransactionBlocksByConfidentialTransactionAffirmationTransactionIdAndUpdatedBlockIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** Represents a confidential transaction */ +export type ConfidentialTransactionConfidentialAccountsByConfidentialAssetHistoryTransactionIdAndFromIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** Represents a confidential transaction */ +export type ConfidentialTransactionConfidentialAccountsByConfidentialAssetHistoryTransactionIdAndToIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** Represents a confidential transaction */ +export type ConfidentialTransactionConfidentialAccountsByConfidentialLegTransactionIdAndReceiverIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** Represents a confidential transaction */ +export type ConfidentialTransactionConfidentialAccountsByConfidentialLegTransactionIdAndSenderIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** Represents a confidential transaction */ +export type ConfidentialTransactionConfidentialAccountsByConfidentialTransactionAffirmationTransactionIdAndAccountIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** Represents a confidential transaction */ +export type ConfidentialTransactionConfidentialAssetHistoriesByTransactionIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; }; -/** A connection to a list of `ChildIdentity` values. */ -export type ChildIdentitiesConnection = { - __typename?: 'ChildIdentitiesConnection'; +/** Represents a confidential transaction */ +export type ConfidentialTransactionConfidentialAssetsByConfidentialAssetHistoryTransactionIdAndAssetIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** Represents a confidential transaction */ +export type ConfidentialTransactionIdentitiesByConfidentialTransactionAffirmationTransactionIdAndIdentityIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** Represents a confidential transaction */ +export type ConfidentialTransactionLegsArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** Represents a confidential asset transaction affirmation */ +export type ConfidentialTransactionAffirmation = Node & { + __typename?: 'ConfidentialTransactionAffirmation'; + /** Reads a single `ConfidentialAccount` that is related to this `ConfidentialTransactionAffirmation`. */ + account?: Maybe; + accountId?: Maybe; + createdAt: Scalars['Datetime']['output']; + /** Reads a single `Block` that is related to this `ConfidentialTransactionAffirmation`. */ + createdBlock?: Maybe; + createdBlockId: Scalars['String']['output']; + id: Scalars['String']['output']; + /** Reads a single `Identity` that is related to this `ConfidentialTransactionAffirmation`. */ + identity?: Maybe; + identityId: Scalars['String']['output']; + legId: Scalars['Int']['output']; + /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ + nodeId: Scalars['ID']['output']; + proofs?: Maybe; + status: AffirmStatusEnum; + /** Reads a single `ConfidentialTransaction` that is related to this `ConfidentialTransactionAffirmation`. */ + transaction?: Maybe; + transactionId: Scalars['String']['output']; + type: AffirmingPartyEnum; + updatedAt: Scalars['Datetime']['output']; + /** Reads a single `Block` that is related to this `ConfidentialTransactionAffirmation`. */ + updatedBlock?: Maybe; + updatedBlockId: Scalars['String']['output']; +}; + +export type ConfidentialTransactionAffirmationAggregates = { + __typename?: 'ConfidentialTransactionAffirmationAggregates'; + /** Mean average aggregates across the matching connection (ignoring before/after/first/last/offset) */ + average?: Maybe; + /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ + distinctCount?: Maybe; + keys?: Maybe>; + /** Maximum aggregates across the matching connection (ignoring before/after/first/last/offset) */ + max?: Maybe; + /** Minimum aggregates across the matching connection (ignoring before/after/first/last/offset) */ + min?: Maybe; + /** Population standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ + stddevPopulation?: Maybe; + /** Sample standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ + stddevSample?: Maybe; + /** Sum aggregates across the matching connection (ignoring before/after/first/last/offset) */ + sum?: Maybe; + /** Population variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ + variancePopulation?: Maybe; + /** Sample variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ + varianceSample?: Maybe; +}; + +/** A filter to be used against aggregates of `ConfidentialTransactionAffirmation` object types. */ +export type ConfidentialTransactionAffirmationAggregatesFilter = { + /** Mean average aggregate over matching `ConfidentialTransactionAffirmation` objects. */ + average?: InputMaybe; + /** Distinct count aggregate over matching `ConfidentialTransactionAffirmation` objects. */ + distinctCount?: InputMaybe; + /** A filter that must pass for the relevant `ConfidentialTransactionAffirmation` object to be included within the aggregate. */ + filter?: InputMaybe; + /** Maximum aggregate over matching `ConfidentialTransactionAffirmation` objects. */ + max?: InputMaybe; + /** Minimum aggregate over matching `ConfidentialTransactionAffirmation` objects. */ + min?: InputMaybe; + /** Population standard deviation aggregate over matching `ConfidentialTransactionAffirmation` objects. */ + stddevPopulation?: InputMaybe; + /** Sample standard deviation aggregate over matching `ConfidentialTransactionAffirmation` objects. */ + stddevSample?: InputMaybe; + /** Sum aggregate over matching `ConfidentialTransactionAffirmation` objects. */ + sum?: InputMaybe; + /** Population variance aggregate over matching `ConfidentialTransactionAffirmation` objects. */ + variancePopulation?: InputMaybe; + /** Sample variance aggregate over matching `ConfidentialTransactionAffirmation` objects. */ + varianceSample?: InputMaybe; +}; + +export type ConfidentialTransactionAffirmationAverageAggregateFilter = { + legId?: InputMaybe; +}; + +export type ConfidentialTransactionAffirmationAverageAggregates = { + __typename?: 'ConfidentialTransactionAffirmationAverageAggregates'; + /** Mean average of legId across the matching connection */ + legId?: Maybe; +}; + +export type ConfidentialTransactionAffirmationDistinctCountAggregateFilter = { + accountId?: InputMaybe; + createdAt?: InputMaybe; + createdBlockId?: InputMaybe; + id?: InputMaybe; + identityId?: InputMaybe; + legId?: InputMaybe; + proofs?: InputMaybe; + status?: InputMaybe; + transactionId?: InputMaybe; + type?: InputMaybe; + updatedAt?: InputMaybe; + updatedBlockId?: InputMaybe; +}; + +export type ConfidentialTransactionAffirmationDistinctCountAggregates = { + __typename?: 'ConfidentialTransactionAffirmationDistinctCountAggregates'; + /** Distinct count of accountId across the matching connection */ + accountId?: Maybe; + /** Distinct count of createdAt across the matching connection */ + createdAt?: Maybe; + /** Distinct count of createdBlockId across the matching connection */ + createdBlockId?: Maybe; + /** Distinct count of id across the matching connection */ + id?: Maybe; + /** Distinct count of identityId across the matching connection */ + identityId?: Maybe; + /** Distinct count of legId across the matching connection */ + legId?: Maybe; + /** Distinct count of proofs across the matching connection */ + proofs?: Maybe; + /** Distinct count of status across the matching connection */ + status?: Maybe; + /** Distinct count of transactionId across the matching connection */ + transactionId?: Maybe; + /** Distinct count of type across the matching connection */ + type?: Maybe; + /** Distinct count of updatedAt across the matching connection */ + updatedAt?: Maybe; + /** Distinct count of updatedBlockId across the matching connection */ + updatedBlockId?: Maybe; +}; + +/** A filter to be used against `ConfidentialTransactionAffirmation` object types. All fields are combined with a logical ‘and.’ */ +export type ConfidentialTransactionAffirmationFilter = { + /** Filter by the object’s `account` relation. */ + account?: InputMaybe; + /** A related `account` exists. */ + accountExists?: InputMaybe; + /** Filter by the object’s `accountId` field. */ + accountId?: InputMaybe; + /** Checks for all expressions in this list. */ + and?: InputMaybe>; + /** Filter by the object’s `createdAt` field. */ + createdAt?: InputMaybe; + /** Filter by the object’s `createdBlock` relation. */ + createdBlock?: InputMaybe; + /** Filter by the object’s `createdBlockId` field. */ + createdBlockId?: InputMaybe; + /** Filter by the object’s `id` field. */ + id?: InputMaybe; + /** Filter by the object’s `identity` relation. */ + identity?: InputMaybe; + /** Filter by the object’s `identityId` field. */ + identityId?: InputMaybe; + /** Filter by the object’s `legId` field. */ + legId?: InputMaybe; + /** Negates the expression. */ + not?: InputMaybe; + /** Checks for any expressions in this list. */ + or?: InputMaybe>; + /** Filter by the object’s `proofs` field. */ + proofs?: InputMaybe; + /** Filter by the object’s `status` field. */ + status?: InputMaybe; + /** Filter by the object’s `transaction` relation. */ + transaction?: InputMaybe; + /** Filter by the object’s `transactionId` field. */ + transactionId?: InputMaybe; + /** Filter by the object’s `type` field. */ + type?: InputMaybe; + /** Filter by the object’s `updatedAt` field. */ + updatedAt?: InputMaybe; + /** Filter by the object’s `updatedBlock` relation. */ + updatedBlock?: InputMaybe; + /** Filter by the object’s `updatedBlockId` field. */ + updatedBlockId?: InputMaybe; +}; + +export type ConfidentialTransactionAffirmationMaxAggregateFilter = { + legId?: InputMaybe; +}; + +export type ConfidentialTransactionAffirmationMaxAggregates = { + __typename?: 'ConfidentialTransactionAffirmationMaxAggregates'; + /** Maximum of legId across the matching connection */ + legId?: Maybe; +}; + +export type ConfidentialTransactionAffirmationMinAggregateFilter = { + legId?: InputMaybe; +}; + +export type ConfidentialTransactionAffirmationMinAggregates = { + __typename?: 'ConfidentialTransactionAffirmationMinAggregates'; + /** Minimum of legId across the matching connection */ + legId?: Maybe; +}; + +export type ConfidentialTransactionAffirmationStddevPopulationAggregateFilter = { + legId?: InputMaybe; +}; + +export type ConfidentialTransactionAffirmationStddevPopulationAggregates = { + __typename?: 'ConfidentialTransactionAffirmationStddevPopulationAggregates'; + /** Population standard deviation of legId across the matching connection */ + legId?: Maybe; +}; + +export type ConfidentialTransactionAffirmationStddevSampleAggregateFilter = { + legId?: InputMaybe; +}; + +export type ConfidentialTransactionAffirmationStddevSampleAggregates = { + __typename?: 'ConfidentialTransactionAffirmationStddevSampleAggregates'; + /** Sample standard deviation of legId across the matching connection */ + legId?: Maybe; +}; + +export type ConfidentialTransactionAffirmationSumAggregateFilter = { + legId?: InputMaybe; +}; + +export type ConfidentialTransactionAffirmationSumAggregates = { + __typename?: 'ConfidentialTransactionAffirmationSumAggregates'; + /** Sum of legId across the matching connection */ + legId: Scalars['BigInt']['output']; +}; + +export type ConfidentialTransactionAffirmationVariancePopulationAggregateFilter = { + legId?: InputMaybe; +}; + +export type ConfidentialTransactionAffirmationVariancePopulationAggregates = { + __typename?: 'ConfidentialTransactionAffirmationVariancePopulationAggregates'; + /** Population variance of legId across the matching connection */ + legId?: Maybe; +}; + +export type ConfidentialTransactionAffirmationVarianceSampleAggregateFilter = { + legId?: InputMaybe; +}; + +export type ConfidentialTransactionAffirmationVarianceSampleAggregates = { + __typename?: 'ConfidentialTransactionAffirmationVarianceSampleAggregates'; + /** Sample variance of legId across the matching connection */ + legId?: Maybe; +}; + +/** A connection to a list of `ConfidentialTransactionAffirmation` values. */ +export type ConfidentialTransactionAffirmationsConnection = { + __typename?: 'ConfidentialTransactionAffirmationsConnection'; /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `ChildIdentity` and cursor to aid in pagination. */ - edges: Array; + aggregates?: Maybe; + /** A list of edges which contains the `ConfidentialTransactionAffirmation` and cursor to aid in pagination. */ + edges: Array; /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `ChildIdentity` objects. */ - nodes: Array>; + groupedAggregates?: Maybe>; + /** A list of `ConfidentialTransactionAffirmation` objects. */ + nodes: Array>; /** Information to aid in pagination. */ pageInfo: PageInfo; - /** The count of *all* `ChildIdentity` you could get from the connection. */ + /** The count of *all* `ConfidentialTransactionAffirmation` you could get from the connection. */ totalCount: Scalars['Int']['output']; }; -/** A connection to a list of `ChildIdentity` values. */ -export type ChildIdentitiesConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; +/** A connection to a list of `ConfidentialTransactionAffirmation` values. */ +export type ConfidentialTransactionAffirmationsConnectionGroupedAggregatesArgs = { + groupBy: Array; + having?: InputMaybe; }; -/** A `ChildIdentity` edge in the connection. */ -export type ChildIdentitiesEdge = { - __typename?: 'ChildIdentitiesEdge'; +/** A `ConfidentialTransactionAffirmation` edge in the connection. */ +export type ConfidentialTransactionAffirmationsEdge = { + __typename?: 'ConfidentialTransactionAffirmationsEdge'; /** A cursor for use in pagination. */ cursor?: Maybe; - /** The `ChildIdentity` at the end of the edge. */ - node?: Maybe; + /** The `ConfidentialTransactionAffirmation` at the end of the edge. */ + node?: Maybe; }; -/** Grouping methods for `ChildIdentity` for usage during aggregation. */ -export enum ChildIdentitiesGroupBy { - ChildId = 'CHILD_ID', +/** Grouping methods for `ConfidentialTransactionAffirmation` for usage during aggregation. */ +export enum ConfidentialTransactionAffirmationsGroupBy { + AccountId = 'ACCOUNT_ID', CreatedAt = 'CREATED_AT', CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', CreatedBlockId = 'CREATED_BLOCK_ID', - ParentId = 'PARENT_ID', + IdentityId = 'IDENTITY_ID', + LegId = 'LEG_ID', + Proofs = 'PROOFS', + Status = 'STATUS', + TransactionId = 'TRANSACTION_ID', + Type = 'TYPE', UpdatedAt = 'UPDATED_AT', UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', UpdatedBlockId = 'UPDATED_BLOCK_ID', } -export type ChildIdentitiesHavingAverageInput = { +export type ConfidentialTransactionAffirmationsHavingAverageInput = { createdAt?: InputMaybe; + legId?: InputMaybe; updatedAt?: InputMaybe; }; -export type ChildIdentitiesHavingDistinctCountInput = { +export type ConfidentialTransactionAffirmationsHavingDistinctCountInput = { createdAt?: InputMaybe; + legId?: InputMaybe; updatedAt?: InputMaybe; }; -/** Conditions for `ChildIdentity` aggregates. */ -export type ChildIdentitiesHavingInput = { - AND?: InputMaybe>; - OR?: InputMaybe>; - average?: InputMaybe; - distinctCount?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddevPopulation?: InputMaybe; - stddevSample?: InputMaybe; - sum?: InputMaybe; - variancePopulation?: InputMaybe; - varianceSample?: InputMaybe; +/** Conditions for `ConfidentialTransactionAffirmation` aggregates. */ +export type ConfidentialTransactionAffirmationsHavingInput = { + AND?: InputMaybe>; + OR?: InputMaybe>; + average?: InputMaybe; + distinctCount?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddevPopulation?: InputMaybe; + stddevSample?: InputMaybe; + sum?: InputMaybe; + variancePopulation?: InputMaybe; + varianceSample?: InputMaybe; }; -export type ChildIdentitiesHavingMaxInput = { +export type ConfidentialTransactionAffirmationsHavingMaxInput = { createdAt?: InputMaybe; + legId?: InputMaybe; updatedAt?: InputMaybe; }; -export type ChildIdentitiesHavingMinInput = { +export type ConfidentialTransactionAffirmationsHavingMinInput = { createdAt?: InputMaybe; + legId?: InputMaybe; updatedAt?: InputMaybe; }; -export type ChildIdentitiesHavingStddevPopulationInput = { +export type ConfidentialTransactionAffirmationsHavingStddevPopulationInput = { createdAt?: InputMaybe; + legId?: InputMaybe; updatedAt?: InputMaybe; }; -export type ChildIdentitiesHavingStddevSampleInput = { +export type ConfidentialTransactionAffirmationsHavingStddevSampleInput = { createdAt?: InputMaybe; + legId?: InputMaybe; updatedAt?: InputMaybe; }; -export type ChildIdentitiesHavingSumInput = { +export type ConfidentialTransactionAffirmationsHavingSumInput = { createdAt?: InputMaybe; + legId?: InputMaybe; updatedAt?: InputMaybe; }; -export type ChildIdentitiesHavingVariancePopulationInput = { +export type ConfidentialTransactionAffirmationsHavingVariancePopulationInput = { createdAt?: InputMaybe; + legId?: InputMaybe; updatedAt?: InputMaybe; }; -export type ChildIdentitiesHavingVarianceSampleInput = { +export type ConfidentialTransactionAffirmationsHavingVarianceSampleInput = { createdAt?: InputMaybe; + legId?: InputMaybe; updatedAt?: InputMaybe; }; -/** Methods to use when ordering `ChildIdentity`. */ -export enum ChildIdentitiesOrderBy { - ChildIdAsc = 'CHILD_ID_ASC', - ChildIdDesc = 'CHILD_ID_DESC', - CreatedAtAsc = 'CREATED_AT_ASC', - CreatedAtDesc = 'CREATED_AT_DESC', - CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', - CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', - IdAsc = 'ID_ASC', - IdDesc = 'ID_DESC', - Natural = 'NATURAL', - ParentIdAsc = 'PARENT_ID_ASC', - ParentIdDesc = 'PARENT_ID_DESC', - PrimaryKeyAsc = 'PRIMARY_KEY_ASC', - PrimaryKeyDesc = 'PRIMARY_KEY_DESC', - UpdatedAtAsc = 'UPDATED_AT_ASC', - UpdatedAtDesc = 'UPDATED_AT_DESC', - UpdatedBlockIdAsc = 'UPDATED_BLOCK_ID_ASC', - UpdatedBlockIdDesc = 'UPDATED_BLOCK_ID_DESC', -} +/** Methods to use when ordering `ConfidentialTransactionAffirmation`. */ +export enum ConfidentialTransactionAffirmationsOrderBy { + AccountIdAsc = 'ACCOUNT_ID_ASC', + AccountIdDesc = 'ACCOUNT_ID_DESC', + CreatedAtAsc = 'CREATED_AT_ASC', + CreatedAtDesc = 'CREATED_AT_DESC', + CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', + CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', + IdentityIdAsc = 'IDENTITY_ID_ASC', + IdentityIdDesc = 'IDENTITY_ID_DESC', + IdAsc = 'ID_ASC', + IdDesc = 'ID_DESC', + LegIdAsc = 'LEG_ID_ASC', + LegIdDesc = 'LEG_ID_DESC', + Natural = 'NATURAL', + PrimaryKeyAsc = 'PRIMARY_KEY_ASC', + PrimaryKeyDesc = 'PRIMARY_KEY_DESC', + ProofsAsc = 'PROOFS_ASC', + ProofsDesc = 'PROOFS_DESC', + StatusAsc = 'STATUS_ASC', + StatusDesc = 'STATUS_DESC', + TransactionIdAsc = 'TRANSACTION_ID_ASC', + TransactionIdDesc = 'TRANSACTION_ID_DESC', + TypeAsc = 'TYPE_ASC', + TypeDesc = 'TYPE_DESC', + UpdatedAtAsc = 'UPDATED_AT_ASC', + UpdatedAtDesc = 'UPDATED_AT_DESC', + UpdatedBlockIdAsc = 'UPDATED_BLOCK_ID_ASC', + UpdatedBlockIdDesc = 'UPDATED_BLOCK_ID_DESC', +} + +export type ConfidentialTransactionAggregates = { + __typename?: 'ConfidentialTransactionAggregates'; + /** Mean average aggregates across the matching connection (ignoring before/after/first/last/offset) */ + average?: Maybe; + /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ + distinctCount?: Maybe; + keys?: Maybe>; + /** Maximum aggregates across the matching connection (ignoring before/after/first/last/offset) */ + max?: Maybe; + /** Minimum aggregates across the matching connection (ignoring before/after/first/last/offset) */ + min?: Maybe; + /** Population standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ + stddevPopulation?: Maybe; + /** Sample standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ + stddevSample?: Maybe; + /** Sum aggregates across the matching connection (ignoring before/after/first/last/offset) */ + sum?: Maybe; + /** Population variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ + variancePopulation?: Maybe; + /** Sample variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ + varianceSample?: Maybe; +}; + +/** A filter to be used against aggregates of `ConfidentialTransaction` object types. */ +export type ConfidentialTransactionAggregatesFilter = { + /** Mean average aggregate over matching `ConfidentialTransaction` objects. */ + average?: InputMaybe; + /** Distinct count aggregate over matching `ConfidentialTransaction` objects. */ + distinctCount?: InputMaybe; + /** A filter that must pass for the relevant `ConfidentialTransaction` object to be included within the aggregate. */ + filter?: InputMaybe; + /** Maximum aggregate over matching `ConfidentialTransaction` objects. */ + max?: InputMaybe; + /** Minimum aggregate over matching `ConfidentialTransaction` objects. */ + min?: InputMaybe; + /** Population standard deviation aggregate over matching `ConfidentialTransaction` objects. */ + stddevPopulation?: InputMaybe; + /** Sample standard deviation aggregate over matching `ConfidentialTransaction` objects. */ + stddevSample?: InputMaybe; + /** Sum aggregate over matching `ConfidentialTransaction` objects. */ + sum?: InputMaybe; + /** Population variance aggregate over matching `ConfidentialTransaction` objects. */ + variancePopulation?: InputMaybe; + /** Sample variance aggregate over matching `ConfidentialTransaction` objects. */ + varianceSample?: InputMaybe; +}; + +export type ConfidentialTransactionAverageAggregateFilter = { + eventIdx?: InputMaybe; + pendingAffirmations?: InputMaybe; +}; + +export type ConfidentialTransactionAverageAggregates = { + __typename?: 'ConfidentialTransactionAverageAggregates'; + /** Mean average of eventIdx across the matching connection */ + eventIdx?: Maybe; + /** Mean average of pendingAffirmations across the matching connection */ + pendingAffirmations?: Maybe; +}; + +/** A connection to a list of `Block` values, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialTransactionBlocksByConfidentialAssetHistoryTransactionIdAndCreatedBlockIdManyToManyConnection = + { + __typename?: 'ConfidentialTransactionBlocksByConfidentialAssetHistoryTransactionIdAndCreatedBlockIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Block`, info from the `ConfidentialAssetHistory`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Block` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Block` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialTransactionBlocksByConfidentialAssetHistoryTransactionIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Block` edge in the connection, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialTransactionBlocksByConfidentialAssetHistoryTransactionIdAndCreatedBlockIdManyToManyEdge = + { + __typename?: 'ConfidentialTransactionBlocksByConfidentialAssetHistoryTransactionIdAndCreatedBlockIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ + confidentialAssetHistoriesByCreatedBlockId: ConfidentialAssetHistoriesConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Block` at the end of the edge. */ + node?: Maybe; + }; + +/** A `Block` edge in the connection, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialTransactionBlocksByConfidentialAssetHistoryTransactionIdAndCreatedBlockIdManyToManyEdgeConfidentialAssetHistoriesByCreatedBlockIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialTransactionBlocksByConfidentialAssetHistoryTransactionIdAndUpdatedBlockIdManyToManyConnection = + { + __typename?: 'ConfidentialTransactionBlocksByConfidentialAssetHistoryTransactionIdAndUpdatedBlockIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Block`, info from the `ConfidentialAssetHistory`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Block` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Block` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialTransactionBlocksByConfidentialAssetHistoryTransactionIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Block` edge in the connection, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialTransactionBlocksByConfidentialAssetHistoryTransactionIdAndUpdatedBlockIdManyToManyEdge = + { + __typename?: 'ConfidentialTransactionBlocksByConfidentialAssetHistoryTransactionIdAndUpdatedBlockIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ + confidentialAssetHistoriesByUpdatedBlockId: ConfidentialAssetHistoriesConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Block` at the end of the edge. */ + node?: Maybe; + }; + +/** A `Block` edge in the connection, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialTransactionBlocksByConfidentialAssetHistoryTransactionIdAndUpdatedBlockIdManyToManyEdgeConfidentialAssetHistoriesByUpdatedBlockIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialLeg`. */ +export type ConfidentialTransactionBlocksByConfidentialLegTransactionIdAndCreatedBlockIdManyToManyConnection = + { + __typename?: 'ConfidentialTransactionBlocksByConfidentialLegTransactionIdAndCreatedBlockIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Block`, info from the `ConfidentialLeg`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Block` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Block` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialLeg`. */ +export type ConfidentialTransactionBlocksByConfidentialLegTransactionIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Block` edge in the connection, with data from `ConfidentialLeg`. */ +export type ConfidentialTransactionBlocksByConfidentialLegTransactionIdAndCreatedBlockIdManyToManyEdge = + { + __typename?: 'ConfidentialTransactionBlocksByConfidentialLegTransactionIdAndCreatedBlockIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialLeg`. */ + confidentialLegsByCreatedBlockId: ConfidentialLegsConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Block` at the end of the edge. */ + node?: Maybe; + }; + +/** A `Block` edge in the connection, with data from `ConfidentialLeg`. */ +export type ConfidentialTransactionBlocksByConfidentialLegTransactionIdAndCreatedBlockIdManyToManyEdgeConfidentialLegsByCreatedBlockIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialLeg`. */ +export type ConfidentialTransactionBlocksByConfidentialLegTransactionIdAndUpdatedBlockIdManyToManyConnection = + { + __typename?: 'ConfidentialTransactionBlocksByConfidentialLegTransactionIdAndUpdatedBlockIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Block`, info from the `ConfidentialLeg`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Block` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Block` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialLeg`. */ +export type ConfidentialTransactionBlocksByConfidentialLegTransactionIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Block` edge in the connection, with data from `ConfidentialLeg`. */ +export type ConfidentialTransactionBlocksByConfidentialLegTransactionIdAndUpdatedBlockIdManyToManyEdge = + { + __typename?: 'ConfidentialTransactionBlocksByConfidentialLegTransactionIdAndUpdatedBlockIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialLeg`. */ + confidentialLegsByUpdatedBlockId: ConfidentialLegsConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Block` at the end of the edge. */ + node?: Maybe; + }; + +/** A `Block` edge in the connection, with data from `ConfidentialLeg`. */ +export type ConfidentialTransactionBlocksByConfidentialLegTransactionIdAndUpdatedBlockIdManyToManyEdgeConfidentialLegsByUpdatedBlockIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialTransactionAffirmation`. */ +export type ConfidentialTransactionBlocksByConfidentialTransactionAffirmationTransactionIdAndCreatedBlockIdManyToManyConnection = + { + __typename?: 'ConfidentialTransactionBlocksByConfidentialTransactionAffirmationTransactionIdAndCreatedBlockIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Block`, info from the `ConfidentialTransactionAffirmation`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Block` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Block` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialTransactionAffirmation`. */ +export type ConfidentialTransactionBlocksByConfidentialTransactionAffirmationTransactionIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Block` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ +export type ConfidentialTransactionBlocksByConfidentialTransactionAffirmationTransactionIdAndCreatedBlockIdManyToManyEdge = + { + __typename?: 'ConfidentialTransactionBlocksByConfidentialTransactionAffirmationTransactionIdAndCreatedBlockIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialTransactionAffirmation`. */ + confidentialTransactionAffirmationsByCreatedBlockId: ConfidentialTransactionAffirmationsConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Block` at the end of the edge. */ + node?: Maybe; + }; + +/** A `Block` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ +export type ConfidentialTransactionBlocksByConfidentialTransactionAffirmationTransactionIdAndCreatedBlockIdManyToManyEdgeConfidentialTransactionAffirmationsByCreatedBlockIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialTransactionAffirmation`. */ +export type ConfidentialTransactionBlocksByConfidentialTransactionAffirmationTransactionIdAndUpdatedBlockIdManyToManyConnection = + { + __typename?: 'ConfidentialTransactionBlocksByConfidentialTransactionAffirmationTransactionIdAndUpdatedBlockIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Block`, info from the `ConfidentialTransactionAffirmation`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Block` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Block` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialTransactionAffirmation`. */ +export type ConfidentialTransactionBlocksByConfidentialTransactionAffirmationTransactionIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Block` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ +export type ConfidentialTransactionBlocksByConfidentialTransactionAffirmationTransactionIdAndUpdatedBlockIdManyToManyEdge = + { + __typename?: 'ConfidentialTransactionBlocksByConfidentialTransactionAffirmationTransactionIdAndUpdatedBlockIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialTransactionAffirmation`. */ + confidentialTransactionAffirmationsByUpdatedBlockId: ConfidentialTransactionAffirmationsConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Block` at the end of the edge. */ + node?: Maybe; + }; + +/** A `Block` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ +export type ConfidentialTransactionBlocksByConfidentialTransactionAffirmationTransactionIdAndUpdatedBlockIdManyToManyEdgeConfidentialTransactionAffirmationsByUpdatedBlockIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialTransactionConfidentialAccountsByConfidentialAssetHistoryTransactionIdAndFromIdManyToManyConnection = + { + __typename?: 'ConfidentialTransactionConfidentialAccountsByConfidentialAssetHistoryTransactionIdAndFromIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `ConfidentialAccount`, info from the `ConfidentialAssetHistory`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `ConfidentialAccount` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `ConfidentialAccount` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; + +/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialTransactionConfidentialAccountsByConfidentialAssetHistoryTransactionIdAndFromIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialTransactionConfidentialAccountsByConfidentialAssetHistoryTransactionIdAndFromIdManyToManyEdge = + { + __typename?: 'ConfidentialTransactionConfidentialAccountsByConfidentialAssetHistoryTransactionIdAndFromIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ + confidentialAssetHistoriesByFromId: ConfidentialAssetHistoriesConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `ConfidentialAccount` at the end of the edge. */ + node?: Maybe; + }; -/** Represents the parent child mapping for an Identity */ -export type ChildIdentity = Node & { - __typename?: 'ChildIdentity'; - /** Reads a single `Identity` that is related to this `ChildIdentity`. */ - child?: Maybe; - childId: Scalars['String']['output']; - createdAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `ChildIdentity`. */ - createdBlock?: Maybe; - createdBlockId: Scalars['String']['output']; - id: Scalars['String']['output']; - /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ - nodeId: Scalars['ID']['output']; - /** Reads a single `Identity` that is related to this `ChildIdentity`. */ - parent?: Maybe; - parentId: Scalars['String']['output']; - updatedAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `ChildIdentity`. */ - updatedBlock?: Maybe; - updatedBlockId: Scalars['String']['output']; -}; +/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialTransactionConfidentialAccountsByConfidentialAssetHistoryTransactionIdAndFromIdManyToManyEdgeConfidentialAssetHistoriesByFromIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; -export type ChildIdentityAggregates = { - __typename?: 'ChildIdentityAggregates'; - /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ - distinctCount?: Maybe; - keys?: Maybe>; -}; +/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialTransactionConfidentialAccountsByConfidentialAssetHistoryTransactionIdAndToIdManyToManyConnection = + { + __typename?: 'ConfidentialTransactionConfidentialAccountsByConfidentialAssetHistoryTransactionIdAndToIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `ConfidentialAccount`, info from the `ConfidentialAssetHistory`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `ConfidentialAccount` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `ConfidentialAccount` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; -/** A filter to be used against aggregates of `ChildIdentity` object types. */ -export type ChildIdentityAggregatesFilter = { - /** Distinct count aggregate over matching `ChildIdentity` objects. */ - distinctCount?: InputMaybe; - /** A filter that must pass for the relevant `ChildIdentity` object to be included within the aggregate. */ - filter?: InputMaybe; -}; +/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialTransactionConfidentialAccountsByConfidentialAssetHistoryTransactionIdAndToIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; -export type ChildIdentityDistinctCountAggregateFilter = { - childId?: InputMaybe; - createdAt?: InputMaybe; - createdBlockId?: InputMaybe; - id?: InputMaybe; - parentId?: InputMaybe; - updatedAt?: InputMaybe; - updatedBlockId?: InputMaybe; -}; +/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialTransactionConfidentialAccountsByConfidentialAssetHistoryTransactionIdAndToIdManyToManyEdge = + { + __typename?: 'ConfidentialTransactionConfidentialAccountsByConfidentialAssetHistoryTransactionIdAndToIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ + confidentialAssetHistoriesByToId: ConfidentialAssetHistoriesConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `ConfidentialAccount` at the end of the edge. */ + node?: Maybe; + }; -export type ChildIdentityDistinctCountAggregates = { - __typename?: 'ChildIdentityDistinctCountAggregates'; - /** Distinct count of childId across the matching connection */ - childId?: Maybe; - /** Distinct count of createdAt across the matching connection */ - createdAt?: Maybe; - /** Distinct count of createdBlockId across the matching connection */ - createdBlockId?: Maybe; - /** Distinct count of id across the matching connection */ - id?: Maybe; - /** Distinct count of parentId across the matching connection */ - parentId?: Maybe; - /** Distinct count of updatedAt across the matching connection */ - updatedAt?: Maybe; - /** Distinct count of updatedBlockId across the matching connection */ - updatedBlockId?: Maybe; -}; +/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialTransactionConfidentialAccountsByConfidentialAssetHistoryTransactionIdAndToIdManyToManyEdgeConfidentialAssetHistoriesByToIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; -/** A filter to be used against `ChildIdentity` object types. All fields are combined with a logical ‘and.’ */ -export type ChildIdentityFilter = { - /** Checks for all expressions in this list. */ - and?: InputMaybe>; - /** Filter by the object’s `child` relation. */ - child?: InputMaybe; - /** Filter by the object’s `childId` field. */ - childId?: InputMaybe; - /** Filter by the object’s `createdAt` field. */ - createdAt?: InputMaybe; - /** Filter by the object’s `createdBlock` relation. */ - createdBlock?: InputMaybe; - /** Filter by the object’s `createdBlockId` field. */ - createdBlockId?: InputMaybe; - /** Filter by the object’s `id` field. */ - id?: InputMaybe; - /** Negates the expression. */ - not?: InputMaybe; - /** Checks for any expressions in this list. */ - or?: InputMaybe>; - /** Filter by the object’s `parent` relation. */ - parent?: InputMaybe; - /** Filter by the object’s `parentId` field. */ - parentId?: InputMaybe; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: InputMaybe; - /** Filter by the object’s `updatedBlock` relation. */ - updatedBlock?: InputMaybe; - /** Filter by the object’s `updatedBlockId` field. */ - updatedBlockId?: InputMaybe; -}; +/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialLeg`. */ +export type ConfidentialTransactionConfidentialAccountsByConfidentialLegTransactionIdAndReceiverIdManyToManyConnection = + { + __typename?: 'ConfidentialTransactionConfidentialAccountsByConfidentialLegTransactionIdAndReceiverIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `ConfidentialAccount`, info from the `ConfidentialLeg`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `ConfidentialAccount` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `ConfidentialAccount` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; -/** - * A claim made about an Identity. All active identities must have a valid CDD claim, but additional claims can be made. - * - * e.g. The Identity belongs to an accredited, US citizen - */ -export type Claim = Node & { - __typename?: 'Claim'; - cddId?: Maybe; - createdAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `Claim`. */ - createdBlock?: Maybe; - createdBlockId: Scalars['String']['output']; - /** Reads a single `CustomClaimType` that is related to this `Claim`. */ - customClaimType?: Maybe; - customClaimTypeId?: Maybe; - eventIdx: Scalars['Int']['output']; - expiry?: Maybe; - filterExpiry: Scalars['BigFloat']['output']; - id: Scalars['String']['output']; - issuanceDate: Scalars['BigFloat']['output']; - /** Reads a single `Identity` that is related to this `Claim`. */ - issuer?: Maybe; - issuerId: Scalars['String']['output']; - jurisdiction?: Maybe; - lastUpdateDate: Scalars['BigFloat']['output']; - /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ - nodeId: Scalars['ID']['output']; - revokeDate?: Maybe; - scope?: Maybe; - /** Reads a single `Identity` that is related to this `Claim`. */ - target?: Maybe; - targetId: Scalars['String']['output']; - type: ClaimTypeEnum; - updatedAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `Claim`. */ - updatedBlock?: Maybe; - updatedBlockId: Scalars['String']['output']; -}; +/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialLeg`. */ +export type ConfidentialTransactionConfidentialAccountsByConfidentialLegTransactionIdAndReceiverIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; -export type ClaimAggregates = { - __typename?: 'ClaimAggregates'; - /** Mean average aggregates across the matching connection (ignoring before/after/first/last/offset) */ - average?: Maybe; - /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ - distinctCount?: Maybe; - keys?: Maybe>; - /** Maximum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - max?: Maybe; - /** Minimum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - min?: Maybe; - /** Population standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevPopulation?: Maybe; - /** Sample standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevSample?: Maybe; - /** Sum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - sum?: Maybe; - /** Population variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - variancePopulation?: Maybe; - /** Sample variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - varianceSample?: Maybe; -}; +/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialLeg`. */ +export type ConfidentialTransactionConfidentialAccountsByConfidentialLegTransactionIdAndReceiverIdManyToManyEdge = + { + __typename?: 'ConfidentialTransactionConfidentialAccountsByConfidentialLegTransactionIdAndReceiverIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialLeg`. */ + confidentialLegsByReceiverId: ConfidentialLegsConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `ConfidentialAccount` at the end of the edge. */ + node?: Maybe; + }; -/** A filter to be used against aggregates of `Claim` object types. */ -export type ClaimAggregatesFilter = { - /** Mean average aggregate over matching `Claim` objects. */ - average?: InputMaybe; - /** Distinct count aggregate over matching `Claim` objects. */ - distinctCount?: InputMaybe; - /** A filter that must pass for the relevant `Claim` object to be included within the aggregate. */ - filter?: InputMaybe; - /** Maximum aggregate over matching `Claim` objects. */ - max?: InputMaybe; - /** Minimum aggregate over matching `Claim` objects. */ - min?: InputMaybe; - /** Population standard deviation aggregate over matching `Claim` objects. */ - stddevPopulation?: InputMaybe; - /** Sample standard deviation aggregate over matching `Claim` objects. */ - stddevSample?: InputMaybe; - /** Sum aggregate over matching `Claim` objects. */ - sum?: InputMaybe; - /** Population variance aggregate over matching `Claim` objects. */ - variancePopulation?: InputMaybe; - /** Sample variance aggregate over matching `Claim` objects. */ - varianceSample?: InputMaybe; -}; +/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialLeg`. */ +export type ConfidentialTransactionConfidentialAccountsByConfidentialLegTransactionIdAndReceiverIdManyToManyEdgeConfidentialLegsByReceiverIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; -export type ClaimAverageAggregateFilter = { - eventIdx?: InputMaybe; - expiry?: InputMaybe; - filterExpiry?: InputMaybe; - issuanceDate?: InputMaybe; - lastUpdateDate?: InputMaybe; - revokeDate?: InputMaybe; -}; +/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialLeg`. */ +export type ConfidentialTransactionConfidentialAccountsByConfidentialLegTransactionIdAndSenderIdManyToManyConnection = + { + __typename?: 'ConfidentialTransactionConfidentialAccountsByConfidentialLegTransactionIdAndSenderIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `ConfidentialAccount`, info from the `ConfidentialLeg`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `ConfidentialAccount` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `ConfidentialAccount` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; -export type ClaimAverageAggregates = { - __typename?: 'ClaimAverageAggregates'; - /** Mean average of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Mean average of expiry across the matching connection */ - expiry?: Maybe; - /** Mean average of filterExpiry across the matching connection */ - filterExpiry?: Maybe; - /** Mean average of issuanceDate across the matching connection */ - issuanceDate?: Maybe; - /** Mean average of lastUpdateDate across the matching connection */ - lastUpdateDate?: Maybe; - /** Mean average of revokeDate across the matching connection */ - revokeDate?: Maybe; -}; +/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialLeg`. */ +export type ConfidentialTransactionConfidentialAccountsByConfidentialLegTransactionIdAndSenderIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; -export type ClaimDistinctCountAggregateFilter = { - cddId?: InputMaybe; - createdAt?: InputMaybe; - createdBlockId?: InputMaybe; - customClaimTypeId?: InputMaybe; - eventIdx?: InputMaybe; - expiry?: InputMaybe; - filterExpiry?: InputMaybe; - id?: InputMaybe; - issuanceDate?: InputMaybe; - issuerId?: InputMaybe; - jurisdiction?: InputMaybe; - lastUpdateDate?: InputMaybe; - revokeDate?: InputMaybe; - scope?: InputMaybe; - targetId?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; - updatedBlockId?: InputMaybe; -}; +/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialLeg`. */ +export type ConfidentialTransactionConfidentialAccountsByConfidentialLegTransactionIdAndSenderIdManyToManyEdge = + { + __typename?: 'ConfidentialTransactionConfidentialAccountsByConfidentialLegTransactionIdAndSenderIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialLeg`. */ + confidentialLegsBySenderId: ConfidentialLegsConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `ConfidentialAccount` at the end of the edge. */ + node?: Maybe; + }; -export type ClaimDistinctCountAggregates = { - __typename?: 'ClaimDistinctCountAggregates'; - /** Distinct count of cddId across the matching connection */ - cddId?: Maybe; - /** Distinct count of createdAt across the matching connection */ - createdAt?: Maybe; - /** Distinct count of createdBlockId across the matching connection */ - createdBlockId?: Maybe; - /** Distinct count of customClaimTypeId across the matching connection */ - customClaimTypeId?: Maybe; - /** Distinct count of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Distinct count of expiry across the matching connection */ - expiry?: Maybe; - /** Distinct count of filterExpiry across the matching connection */ - filterExpiry?: Maybe; - /** Distinct count of id across the matching connection */ - id?: Maybe; - /** Distinct count of issuanceDate across the matching connection */ - issuanceDate?: Maybe; - /** Distinct count of issuerId across the matching connection */ - issuerId?: Maybe; - /** Distinct count of jurisdiction across the matching connection */ - jurisdiction?: Maybe; - /** Distinct count of lastUpdateDate across the matching connection */ - lastUpdateDate?: Maybe; - /** Distinct count of revokeDate across the matching connection */ - revokeDate?: Maybe; - /** Distinct count of scope across the matching connection */ - scope?: Maybe; - /** Distinct count of targetId across the matching connection */ - targetId?: Maybe; - /** Distinct count of type across the matching connection */ - type?: Maybe; - /** Distinct count of updatedAt across the matching connection */ - updatedAt?: Maybe; - /** Distinct count of updatedBlockId across the matching connection */ - updatedBlockId?: Maybe; -}; +/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialLeg`. */ +export type ConfidentialTransactionConfidentialAccountsByConfidentialLegTransactionIdAndSenderIdManyToManyEdgeConfidentialLegsBySenderIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; -/** A filter to be used against `Claim` object types. All fields are combined with a logical ‘and.’ */ -export type ClaimFilter = { - /** Checks for all expressions in this list. */ - and?: InputMaybe>; - /** Filter by the object’s `cddId` field. */ - cddId?: InputMaybe; - /** Filter by the object’s `createdAt` field. */ - createdAt?: InputMaybe; - /** Filter by the object’s `createdBlock` relation. */ - createdBlock?: InputMaybe; - /** Filter by the object’s `createdBlockId` field. */ - createdBlockId?: InputMaybe; - /** Filter by the object’s `customClaimType` relation. */ - customClaimType?: InputMaybe; - /** A related `customClaimType` exists. */ - customClaimTypeExists?: InputMaybe; - /** Filter by the object’s `customClaimTypeId` field. */ - customClaimTypeId?: InputMaybe; - /** Filter by the object’s `eventIdx` field. */ - eventIdx?: InputMaybe; - /** Filter by the object’s `expiry` field. */ - expiry?: InputMaybe; - /** Filter by the object’s `filterExpiry` field. */ - filterExpiry?: InputMaybe; - /** Filter by the object’s `id` field. */ - id?: InputMaybe; - /** Filter by the object’s `issuanceDate` field. */ - issuanceDate?: InputMaybe; - /** Filter by the object’s `issuer` relation. */ - issuer?: InputMaybe; - /** Filter by the object’s `issuerId` field. */ - issuerId?: InputMaybe; - /** Filter by the object’s `jurisdiction` field. */ - jurisdiction?: InputMaybe; - /** Filter by the object’s `lastUpdateDate` field. */ - lastUpdateDate?: InputMaybe; - /** Negates the expression. */ - not?: InputMaybe; - /** Checks for any expressions in this list. */ - or?: InputMaybe>; - /** Filter by the object’s `revokeDate` field. */ - revokeDate?: InputMaybe; - /** Filter by the object’s `scope` field. */ - scope?: InputMaybe; - /** Filter by the object’s `target` relation. */ - target?: InputMaybe; - /** Filter by the object’s `targetId` field. */ - targetId?: InputMaybe; - /** Filter by the object’s `type` field. */ - type?: InputMaybe; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: InputMaybe; - /** Filter by the object’s `updatedBlock` relation. */ - updatedBlock?: InputMaybe; - /** Filter by the object’s `updatedBlockId` field. */ - updatedBlockId?: InputMaybe; -}; +/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialTransactionAffirmation`. */ +export type ConfidentialTransactionConfidentialAccountsByConfidentialTransactionAffirmationTransactionIdAndAccountIdManyToManyConnection = + { + __typename?: 'ConfidentialTransactionConfidentialAccountsByConfidentialTransactionAffirmationTransactionIdAndAccountIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `ConfidentialAccount`, info from the `ConfidentialTransactionAffirmation`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `ConfidentialAccount` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `ConfidentialAccount` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; -export type ClaimMaxAggregateFilter = { - eventIdx?: InputMaybe; - expiry?: InputMaybe; - filterExpiry?: InputMaybe; - issuanceDate?: InputMaybe; - lastUpdateDate?: InputMaybe; - revokeDate?: InputMaybe; -}; +/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialTransactionAffirmation`. */ +export type ConfidentialTransactionConfidentialAccountsByConfidentialTransactionAffirmationTransactionIdAndAccountIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; -export type ClaimMaxAggregates = { - __typename?: 'ClaimMaxAggregates'; - /** Maximum of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Maximum of expiry across the matching connection */ - expiry?: Maybe; - /** Maximum of filterExpiry across the matching connection */ - filterExpiry?: Maybe; - /** Maximum of issuanceDate across the matching connection */ - issuanceDate?: Maybe; - /** Maximum of lastUpdateDate across the matching connection */ - lastUpdateDate?: Maybe; - /** Maximum of revokeDate across the matching connection */ - revokeDate?: Maybe; -}; +/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ +export type ConfidentialTransactionConfidentialAccountsByConfidentialTransactionAffirmationTransactionIdAndAccountIdManyToManyEdge = + { + __typename?: 'ConfidentialTransactionConfidentialAccountsByConfidentialTransactionAffirmationTransactionIdAndAccountIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialTransactionAffirmation`. */ + confidentialTransactionAffirmationsByAccountId: ConfidentialTransactionAffirmationsConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `ConfidentialAccount` at the end of the edge. */ + node?: Maybe; + }; -export type ClaimMinAggregateFilter = { - eventIdx?: InputMaybe; - expiry?: InputMaybe; - filterExpiry?: InputMaybe; - issuanceDate?: InputMaybe; - lastUpdateDate?: InputMaybe; - revokeDate?: InputMaybe; -}; +/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ +export type ConfidentialTransactionConfidentialAccountsByConfidentialTransactionAffirmationTransactionIdAndAccountIdManyToManyEdgeConfidentialTransactionAffirmationsByAccountIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; -export type ClaimMinAggregates = { - __typename?: 'ClaimMinAggregates'; - /** Minimum of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Minimum of expiry across the matching connection */ - expiry?: Maybe; - /** Minimum of filterExpiry across the matching connection */ - filterExpiry?: Maybe; - /** Minimum of issuanceDate across the matching connection */ - issuanceDate?: Maybe; - /** Minimum of lastUpdateDate across the matching connection */ - lastUpdateDate?: Maybe; - /** Minimum of revokeDate across the matching connection */ - revokeDate?: Maybe; -}; +/** A connection to a list of `ConfidentialAsset` values, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialTransactionConfidentialAssetsByConfidentialAssetHistoryTransactionIdAndAssetIdManyToManyConnection = + { + __typename?: 'ConfidentialTransactionConfidentialAssetsByConfidentialAssetHistoryTransactionIdAndAssetIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `ConfidentialAsset`, info from the `ConfidentialAssetHistory`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `ConfidentialAsset` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `ConfidentialAsset` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; -/** - * The scope of a claim. - * - * e.g. `target` is Blocked from owning "TICKER-A" or `target` is an Affiliate of "TICKER-B" - */ -export type ClaimScope = Node & { - __typename?: 'ClaimScope'; - createdAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `ClaimScope`. */ - createdBlock?: Maybe; - createdBlockId: Scalars['String']['output']; - id: Scalars['String']['output']; - /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ - nodeId: Scalars['ID']['output']; - scope?: Maybe; - target: Scalars['String']['output']; - ticker?: Maybe; - updatedAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `ClaimScope`. */ - updatedBlock?: Maybe; - updatedBlockId: Scalars['String']['output']; -}; +/** A connection to a list of `ConfidentialAsset` values, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialTransactionConfidentialAssetsByConfidentialAssetHistoryTransactionIdAndAssetIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; -export type ClaimScopeAggregates = { - __typename?: 'ClaimScopeAggregates'; - /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ - distinctCount?: Maybe; - keys?: Maybe>; -}; +/** A `ConfidentialAsset` edge in the connection, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialTransactionConfidentialAssetsByConfidentialAssetHistoryTransactionIdAndAssetIdManyToManyEdge = + { + __typename?: 'ConfidentialTransactionConfidentialAssetsByConfidentialAssetHistoryTransactionIdAndAssetIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ + confidentialAssetHistoriesByAssetId: ConfidentialAssetHistoriesConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `ConfidentialAsset` at the end of the edge. */ + node?: Maybe; + }; -/** A filter to be used against aggregates of `ClaimScope` object types. */ -export type ClaimScopeAggregatesFilter = { - /** Distinct count aggregate over matching `ClaimScope` objects. */ - distinctCount?: InputMaybe; - /** A filter that must pass for the relevant `ClaimScope` object to be included within the aggregate. */ - filter?: InputMaybe; -}; +/** A `ConfidentialAsset` edge in the connection, with data from `ConfidentialAssetHistory`. */ +export type ConfidentialTransactionConfidentialAssetsByConfidentialAssetHistoryTransactionIdAndAssetIdManyToManyEdgeConfidentialAssetHistoriesByAssetIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; -export type ClaimScopeDistinctCountAggregateFilter = { +export type ConfidentialTransactionDistinctCountAggregateFilter = { createdAt?: InputMaybe; createdBlockId?: InputMaybe; + eventId?: InputMaybe; + eventIdx?: InputMaybe; id?: InputMaybe; - scope?: InputMaybe; - target?: InputMaybe; - ticker?: InputMaybe; + memo?: InputMaybe; + pendingAffirmations?: InputMaybe; + status?: InputMaybe; updatedAt?: InputMaybe; updatedBlockId?: InputMaybe; + venueId?: InputMaybe; }; -export type ClaimScopeDistinctCountAggregates = { - __typename?: 'ClaimScopeDistinctCountAggregates'; +export type ConfidentialTransactionDistinctCountAggregates = { + __typename?: 'ConfidentialTransactionDistinctCountAggregates'; /** Distinct count of createdAt across the matching connection */ createdAt?: Maybe; /** Distinct count of createdBlockId across the matching connection */ createdBlockId?: Maybe; + /** Distinct count of eventId across the matching connection */ + eventId?: Maybe; + /** Distinct count of eventIdx across the matching connection */ + eventIdx?: Maybe; /** Distinct count of id across the matching connection */ id?: Maybe; - /** Distinct count of scope across the matching connection */ - scope?: Maybe; - /** Distinct count of target across the matching connection */ - target?: Maybe; - /** Distinct count of ticker across the matching connection */ - ticker?: Maybe; + /** Distinct count of memo across the matching connection */ + memo?: Maybe; + /** Distinct count of pendingAffirmations across the matching connection */ + pendingAffirmations?: Maybe; + /** Distinct count of status across the matching connection */ + status?: Maybe; /** Distinct count of updatedAt across the matching connection */ updatedAt?: Maybe; /** Distinct count of updatedBlockId across the matching connection */ updatedBlockId?: Maybe; + /** Distinct count of venueId across the matching connection */ + venueId?: Maybe; }; -/** A filter to be used against `ClaimScope` object types. All fields are combined with a logical ‘and.’ */ -export type ClaimScopeFilter = { +/** A filter to be used against `ConfidentialTransaction` object types. All fields are combined with a logical ‘and.’ */ +export type ConfidentialTransactionFilter = { + /** Filter by the object’s `affirmations` relation. */ + affirmations?: InputMaybe; + /** Some related `affirmations` exist. */ + affirmationsExist?: InputMaybe; /** Checks for all expressions in this list. */ - and?: InputMaybe>; + and?: InputMaybe>; + /** Filter by the object’s `confidentialAssetHistoriesByTransactionId` relation. */ + confidentialAssetHistoriesByTransactionId?: InputMaybe; + /** Some related `confidentialAssetHistoriesByTransactionId` exist. */ + confidentialAssetHistoriesByTransactionIdExist?: InputMaybe; /** Filter by the object’s `createdAt` field. */ createdAt?: InputMaybe; /** Filter by the object’s `createdBlock` relation. */ createdBlock?: InputMaybe; /** Filter by the object’s `createdBlockId` field. */ createdBlockId?: InputMaybe; + /** Filter by the object’s `eventId` field. */ + eventId?: InputMaybe; + /** Filter by the object’s `eventIdx` field. */ + eventIdx?: InputMaybe; /** Filter by the object’s `id` field. */ id?: InputMaybe; + /** Filter by the object’s `legs` relation. */ + legs?: InputMaybe; + /** Some related `legs` exist. */ + legsExist?: InputMaybe; + /** Filter by the object’s `memo` field. */ + memo?: InputMaybe; /** Negates the expression. */ - not?: InputMaybe; + not?: InputMaybe; /** Checks for any expressions in this list. */ - or?: InputMaybe>; - /** Filter by the object’s `scope` field. */ - scope?: InputMaybe; - /** Filter by the object’s `target` field. */ - target?: InputMaybe; - /** Filter by the object’s `ticker` field. */ - ticker?: InputMaybe; + or?: InputMaybe>; + /** Filter by the object’s `pendingAffirmations` field. */ + pendingAffirmations?: InputMaybe; + /** Filter by the object’s `status` field. */ + status?: InputMaybe; /** Filter by the object’s `updatedAt` field. */ updatedAt?: InputMaybe; /** Filter by the object’s `updatedBlock` relation. */ updatedBlock?: InputMaybe; /** Filter by the object’s `updatedBlockId` field. */ updatedBlockId?: InputMaybe; + /** Filter by the object’s `venue` relation. */ + venue?: InputMaybe; + /** Filter by the object’s `venueId` field. */ + venueId?: InputMaybe; }; -/** A connection to a list of `ClaimScope` values. */ -export type ClaimScopesConnection = { - __typename?: 'ClaimScopesConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `ClaimScope` and cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `ClaimScope` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `ClaimScope` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `ClaimScope` values. */ -export type ClaimScopesConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `ClaimScope` edge in the connection. */ -export type ClaimScopesEdge = { - __typename?: 'ClaimScopesEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `ClaimScope` at the end of the edge. */ - node?: Maybe; -}; - -/** Grouping methods for `ClaimScope` for usage during aggregation. */ -export enum ClaimScopesGroupBy { - CreatedAt = 'CREATED_AT', - CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', - CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', - CreatedBlockId = 'CREATED_BLOCK_ID', - Scope = 'SCOPE', - Target = 'TARGET', - Ticker = 'TICKER', - UpdatedAt = 'UPDATED_AT', - UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', - UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export type ClaimScopesHavingAverageInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; +/** A connection to a list of `Identity` values, with data from `ConfidentialTransactionAffirmation`. */ +export type ConfidentialTransactionIdentitiesByConfidentialTransactionAffirmationTransactionIdAndIdentityIdManyToManyConnection = + { + __typename?: 'ConfidentialTransactionIdentitiesByConfidentialTransactionAffirmationTransactionIdAndIdentityIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Identity`, info from the `ConfidentialTransactionAffirmation`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Identity` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Identity` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; -export type ClaimScopesHavingDistinctCountInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; +/** A connection to a list of `Identity` values, with data from `ConfidentialTransactionAffirmation`. */ +export type ConfidentialTransactionIdentitiesByConfidentialTransactionAffirmationTransactionIdAndIdentityIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; -/** Conditions for `ClaimScope` aggregates. */ -export type ClaimScopesHavingInput = { - AND?: InputMaybe>; - OR?: InputMaybe>; - average?: InputMaybe; - distinctCount?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddevPopulation?: InputMaybe; - stddevSample?: InputMaybe; - sum?: InputMaybe; - variancePopulation?: InputMaybe; - varianceSample?: InputMaybe; -}; +/** A `Identity` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ +export type ConfidentialTransactionIdentitiesByConfidentialTransactionAffirmationTransactionIdAndIdentityIdManyToManyEdge = + { + __typename?: 'ConfidentialTransactionIdentitiesByConfidentialTransactionAffirmationTransactionIdAndIdentityIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialTransactionAffirmation`. */ + confidentialTransactionAffirmations: ConfidentialTransactionAffirmationsConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Identity` at the end of the edge. */ + node?: Maybe; + }; -export type ClaimScopesHavingMaxInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; +/** A `Identity` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ +export type ConfidentialTransactionIdentitiesByConfidentialTransactionAffirmationTransactionIdAndIdentityIdManyToManyEdgeConfidentialTransactionAffirmationsArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; -export type ClaimScopesHavingMinInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; +export type ConfidentialTransactionMaxAggregateFilter = { + eventIdx?: InputMaybe; + pendingAffirmations?: InputMaybe; }; -export type ClaimScopesHavingStddevPopulationInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; +export type ConfidentialTransactionMaxAggregates = { + __typename?: 'ConfidentialTransactionMaxAggregates'; + /** Maximum of eventIdx across the matching connection */ + eventIdx?: Maybe; + /** Maximum of pendingAffirmations across the matching connection */ + pendingAffirmations?: Maybe; }; -export type ClaimScopesHavingStddevSampleInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; +export type ConfidentialTransactionMinAggregateFilter = { + eventIdx?: InputMaybe; + pendingAffirmations?: InputMaybe; }; -export type ClaimScopesHavingSumInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; +export type ConfidentialTransactionMinAggregates = { + __typename?: 'ConfidentialTransactionMinAggregates'; + /** Minimum of eventIdx across the matching connection */ + eventIdx?: Maybe; + /** Minimum of pendingAffirmations across the matching connection */ + pendingAffirmations?: Maybe; }; -export type ClaimScopesHavingVariancePopulationInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; +export enum ConfidentialTransactionStatusEnum { + Created = 'Created', + Executed = 'Executed', + Rejected = 'Rejected', +} -export type ClaimScopesHavingVarianceSampleInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; +/** A filter to be used against ConfidentialTransactionStatusEnum fields. All fields are combined with a logical ‘and.’ */ +export type ConfidentialTransactionStatusEnumFilter = { + /** Not equal to the specified value, treating null like an ordinary value. */ + distinctFrom?: InputMaybe; + /** Equal to the specified value. */ + equalTo?: InputMaybe; + /** Greater than the specified value. */ + greaterThan?: InputMaybe; + /** Greater than or equal to the specified value. */ + greaterThanOrEqualTo?: InputMaybe; + /** Included in the specified list. */ + in?: InputMaybe>; + /** Is null (if `true` is specified) or is not null (if `false` is specified). */ + isNull?: InputMaybe; + /** Less than the specified value. */ + lessThan?: InputMaybe; + /** Less than or equal to the specified value. */ + lessThanOrEqualTo?: InputMaybe; + /** Equal to the specified value, treating null like an ordinary value. */ + notDistinctFrom?: InputMaybe; + /** Not equal to the specified value. */ + notEqualTo?: InputMaybe; + /** Not included in the specified list. */ + notIn?: InputMaybe>; }; -/** Methods to use when ordering `ClaimScope`. */ -export enum ClaimScopesOrderBy { - CreatedAtAsc = 'CREATED_AT_ASC', - CreatedAtDesc = 'CREATED_AT_DESC', - CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', - CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', - IdAsc = 'ID_ASC', - IdDesc = 'ID_DESC', - Natural = 'NATURAL', - PrimaryKeyAsc = 'PRIMARY_KEY_ASC', - PrimaryKeyDesc = 'PRIMARY_KEY_DESC', - ScopeAsc = 'SCOPE_ASC', - ScopeDesc = 'SCOPE_DESC', - TargetAsc = 'TARGET_ASC', - TargetDesc = 'TARGET_DESC', - TickerAsc = 'TICKER_ASC', - TickerDesc = 'TICKER_DESC', - UpdatedAtAsc = 'UPDATED_AT_ASC', - UpdatedAtDesc = 'UPDATED_AT_DESC', - UpdatedBlockIdAsc = 'UPDATED_BLOCK_ID_ASC', - UpdatedBlockIdDesc = 'UPDATED_BLOCK_ID_DESC', -} - -export type ClaimStddevPopulationAggregateFilter = { +export type ConfidentialTransactionStddevPopulationAggregateFilter = { eventIdx?: InputMaybe; - expiry?: InputMaybe; - filterExpiry?: InputMaybe; - issuanceDate?: InputMaybe; - lastUpdateDate?: InputMaybe; - revokeDate?: InputMaybe; + pendingAffirmations?: InputMaybe; }; -export type ClaimStddevPopulationAggregates = { - __typename?: 'ClaimStddevPopulationAggregates'; +export type ConfidentialTransactionStddevPopulationAggregates = { + __typename?: 'ConfidentialTransactionStddevPopulationAggregates'; /** Population standard deviation of eventIdx across the matching connection */ eventIdx?: Maybe; - /** Population standard deviation of expiry across the matching connection */ - expiry?: Maybe; - /** Population standard deviation of filterExpiry across the matching connection */ - filterExpiry?: Maybe; - /** Population standard deviation of issuanceDate across the matching connection */ - issuanceDate?: Maybe; - /** Population standard deviation of lastUpdateDate across the matching connection */ - lastUpdateDate?: Maybe; - /** Population standard deviation of revokeDate across the matching connection */ - revokeDate?: Maybe; + /** Population standard deviation of pendingAffirmations across the matching connection */ + pendingAffirmations?: Maybe; }; -export type ClaimStddevSampleAggregateFilter = { +export type ConfidentialTransactionStddevSampleAggregateFilter = { eventIdx?: InputMaybe; - expiry?: InputMaybe; - filterExpiry?: InputMaybe; - issuanceDate?: InputMaybe; - lastUpdateDate?: InputMaybe; - revokeDate?: InputMaybe; + pendingAffirmations?: InputMaybe; }; -export type ClaimStddevSampleAggregates = { - __typename?: 'ClaimStddevSampleAggregates'; +export type ConfidentialTransactionStddevSampleAggregates = { + __typename?: 'ConfidentialTransactionStddevSampleAggregates'; /** Sample standard deviation of eventIdx across the matching connection */ eventIdx?: Maybe; - /** Sample standard deviation of expiry across the matching connection */ - expiry?: Maybe; - /** Sample standard deviation of filterExpiry across the matching connection */ - filterExpiry?: Maybe; - /** Sample standard deviation of issuanceDate across the matching connection */ - issuanceDate?: Maybe; - /** Sample standard deviation of lastUpdateDate across the matching connection */ - lastUpdateDate?: Maybe; - /** Sample standard deviation of revokeDate across the matching connection */ - revokeDate?: Maybe; + /** Sample standard deviation of pendingAffirmations across the matching connection */ + pendingAffirmations?: Maybe; }; -export type ClaimSumAggregateFilter = { +export type ConfidentialTransactionSumAggregateFilter = { eventIdx?: InputMaybe; - expiry?: InputMaybe; - filterExpiry?: InputMaybe; - issuanceDate?: InputMaybe; - lastUpdateDate?: InputMaybe; - revokeDate?: InputMaybe; + pendingAffirmations?: InputMaybe; }; -export type ClaimSumAggregates = { - __typename?: 'ClaimSumAggregates'; +export type ConfidentialTransactionSumAggregates = { + __typename?: 'ConfidentialTransactionSumAggregates'; /** Sum of eventIdx across the matching connection */ eventIdx: Scalars['BigInt']['output']; - /** Sum of expiry across the matching connection */ - expiry: Scalars['BigFloat']['output']; - /** Sum of filterExpiry across the matching connection */ - filterExpiry: Scalars['BigFloat']['output']; - /** Sum of issuanceDate across the matching connection */ - issuanceDate: Scalars['BigFloat']['output']; - /** Sum of lastUpdateDate across the matching connection */ - lastUpdateDate: Scalars['BigFloat']['output']; - /** Sum of revokeDate across the matching connection */ - revokeDate: Scalars['BigFloat']['output']; -}; - -/** Represents all possible claims that can be made of an identity */ -export enum ClaimTypeEnum { - Accredited = 'Accredited', - Affiliate = 'Affiliate', - Blocked = 'Blocked', - BuyLockup = 'BuyLockup', - Custom = 'Custom', - CustomerDueDiligence = 'CustomerDueDiligence', - Exempted = 'Exempted', - InvestorUniqueness = 'InvestorUniqueness', - InvestorUniquenessV2 = 'InvestorUniquenessV2', - Jurisdiction = 'Jurisdiction', - KnowYourCustomer = 'KnowYourCustomer', - NoData = 'NoData', - NoType = 'NoType', - SellLockup = 'SellLockup', -} - -/** A filter to be used against ClaimTypeEnum fields. All fields are combined with a logical ‘and.’ */ -export type ClaimTypeEnumFilter = { - /** Not equal to the specified value, treating null like an ordinary value. */ - distinctFrom?: InputMaybe; - /** Equal to the specified value. */ - equalTo?: InputMaybe; - /** Greater than the specified value. */ - greaterThan?: InputMaybe; - /** Greater than or equal to the specified value. */ - greaterThanOrEqualTo?: InputMaybe; - /** Included in the specified list. */ - in?: InputMaybe>; - /** Is null (if `true` is specified) or is not null (if `false` is specified). */ - isNull?: InputMaybe; - /** Less than the specified value. */ - lessThan?: InputMaybe; - /** Less than or equal to the specified value. */ - lessThanOrEqualTo?: InputMaybe; - /** Equal to the specified value, treating null like an ordinary value. */ - notDistinctFrom?: InputMaybe; - /** Not equal to the specified value. */ - notEqualTo?: InputMaybe; - /** Not included in the specified list. */ - notIn?: InputMaybe>; -}; - -export type ClaimVariancePopulationAggregateFilter = { + /** Sum of pendingAffirmations across the matching connection */ + pendingAffirmations: Scalars['BigInt']['output']; +}; + +/** A filter to be used against many `ConfidentialAssetHistory` object types. All fields are combined with a logical ‘and.’ */ +export type ConfidentialTransactionToManyConfidentialAssetHistoryFilter = { + /** Aggregates across related `ConfidentialAssetHistory` match the filter criteria. */ + aggregates?: InputMaybe; + /** Every related `ConfidentialAssetHistory` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe; + /** No related `ConfidentialAssetHistory` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe; + /** Some related `ConfidentialAssetHistory` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe; +}; + +/** A filter to be used against many `ConfidentialLeg` object types. All fields are combined with a logical ‘and.’ */ +export type ConfidentialTransactionToManyConfidentialLegFilter = { + /** Aggregates across related `ConfidentialLeg` match the filter criteria. */ + aggregates?: InputMaybe; + /** Every related `ConfidentialLeg` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe; + /** No related `ConfidentialLeg` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe; + /** Some related `ConfidentialLeg` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe; +}; + +/** A filter to be used against many `ConfidentialTransactionAffirmation` object types. All fields are combined with a logical ‘and.’ */ +export type ConfidentialTransactionToManyConfidentialTransactionAffirmationFilter = { + /** Aggregates across related `ConfidentialTransactionAffirmation` match the filter criteria. */ + aggregates?: InputMaybe; + /** Every related `ConfidentialTransactionAffirmation` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe; + /** No related `ConfidentialTransactionAffirmation` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe; + /** Some related `ConfidentialTransactionAffirmation` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe; +}; + +export type ConfidentialTransactionVariancePopulationAggregateFilter = { eventIdx?: InputMaybe; - expiry?: InputMaybe; - filterExpiry?: InputMaybe; - issuanceDate?: InputMaybe; - lastUpdateDate?: InputMaybe; - revokeDate?: InputMaybe; + pendingAffirmations?: InputMaybe; }; -export type ClaimVariancePopulationAggregates = { - __typename?: 'ClaimVariancePopulationAggregates'; +export type ConfidentialTransactionVariancePopulationAggregates = { + __typename?: 'ConfidentialTransactionVariancePopulationAggregates'; /** Population variance of eventIdx across the matching connection */ eventIdx?: Maybe; - /** Population variance of expiry across the matching connection */ - expiry?: Maybe; - /** Population variance of filterExpiry across the matching connection */ - filterExpiry?: Maybe; - /** Population variance of issuanceDate across the matching connection */ - issuanceDate?: Maybe; - /** Population variance of lastUpdateDate across the matching connection */ - lastUpdateDate?: Maybe; - /** Population variance of revokeDate across the matching connection */ - revokeDate?: Maybe; + /** Population variance of pendingAffirmations across the matching connection */ + pendingAffirmations?: Maybe; }; -export type ClaimVarianceSampleAggregateFilter = { +export type ConfidentialTransactionVarianceSampleAggregateFilter = { eventIdx?: InputMaybe; - expiry?: InputMaybe; - filterExpiry?: InputMaybe; - issuanceDate?: InputMaybe; - lastUpdateDate?: InputMaybe; - revokeDate?: InputMaybe; + pendingAffirmations?: InputMaybe; }; -export type ClaimVarianceSampleAggregates = { - __typename?: 'ClaimVarianceSampleAggregates'; +export type ConfidentialTransactionVarianceSampleAggregates = { + __typename?: 'ConfidentialTransactionVarianceSampleAggregates'; /** Sample variance of eventIdx across the matching connection */ eventIdx?: Maybe; - /** Sample variance of expiry across the matching connection */ - expiry?: Maybe; - /** Sample variance of filterExpiry across the matching connection */ - filterExpiry?: Maybe; - /** Sample variance of issuanceDate across the matching connection */ - issuanceDate?: Maybe; - /** Sample variance of lastUpdateDate across the matching connection */ - lastUpdateDate?: Maybe; - /** Sample variance of revokeDate across the matching connection */ - revokeDate?: Maybe; + /** Sample variance of pendingAffirmations across the matching connection */ + pendingAffirmations?: Maybe; }; -/** A connection to a list of `Claim` values. */ -export type ClaimsConnection = { - __typename?: 'ClaimsConnection'; +/** A connection to a list of `ConfidentialTransaction` values. */ +export type ConfidentialTransactionsConnection = { + __typename?: 'ConfidentialTransactionsConnection'; /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Claim` and cursor to aid in pagination. */ - edges: Array; + aggregates?: Maybe; + /** A list of edges which contains the `ConfidentialTransaction` and cursor to aid in pagination. */ + edges: Array; /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Claim` objects. */ - nodes: Array>; + groupedAggregates?: Maybe>; + /** A list of `ConfidentialTransaction` objects. */ + nodes: Array>; /** Information to aid in pagination. */ pageInfo: PageInfo; - /** The count of *all* `Claim` you could get from the connection. */ + /** The count of *all* `ConfidentialTransaction` you could get from the connection. */ totalCount: Scalars['Int']['output']; }; -/** A connection to a list of `Claim` values. */ -export type ClaimsConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; +/** A connection to a list of `ConfidentialTransaction` values. */ +export type ConfidentialTransactionsConnectionGroupedAggregatesArgs = { + groupBy: Array; + having?: InputMaybe; }; -/** A `Claim` edge in the connection. */ -export type ClaimsEdge = { - __typename?: 'ClaimsEdge'; +/** A `ConfidentialTransaction` edge in the connection. */ +export type ConfidentialTransactionsEdge = { + __typename?: 'ConfidentialTransactionsEdge'; /** A cursor for use in pagination. */ cursor?: Maybe; - /** The `Claim` at the end of the edge. */ - node?: Maybe; + /** The `ConfidentialTransaction` at the end of the edge. */ + node?: Maybe; }; -/** Grouping methods for `Claim` for usage during aggregation. */ -export enum ClaimsGroupBy { - CddId = 'CDD_ID', +/** Grouping methods for `ConfidentialTransaction` for usage during aggregation. */ +export enum ConfidentialTransactionsGroupBy { CreatedAt = 'CREATED_AT', CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', CreatedBlockId = 'CREATED_BLOCK_ID', - CustomClaimTypeId = 'CUSTOM_CLAIM_TYPE_ID', + EventId = 'EVENT_ID', EventIdx = 'EVENT_IDX', - Expiry = 'EXPIRY', - FilterExpiry = 'FILTER_EXPIRY', - IssuanceDate = 'ISSUANCE_DATE', - IssuerId = 'ISSUER_ID', - Jurisdiction = 'JURISDICTION', - LastUpdateDate = 'LAST_UPDATE_DATE', - RevokeDate = 'REVOKE_DATE', - Scope = 'SCOPE', - TargetId = 'TARGET_ID', - Type = 'TYPE', + Memo = 'MEMO', + PendingAffirmations = 'PENDING_AFFIRMATIONS', + Status = 'STATUS', UpdatedAt = 'UPDATED_AT', UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', UpdatedBlockId = 'UPDATED_BLOCK_ID', + VenueId = 'VENUE_ID', } -export type ClaimsHavingAverageInput = { +export type ConfidentialTransactionsHavingAverageInput = { createdAt?: InputMaybe; eventIdx?: InputMaybe; - expiry?: InputMaybe; - filterExpiry?: InputMaybe; - issuanceDate?: InputMaybe; - lastUpdateDate?: InputMaybe; - revokeDate?: InputMaybe; + pendingAffirmations?: InputMaybe; updatedAt?: InputMaybe; }; -export type ClaimsHavingDistinctCountInput = { +export type ConfidentialTransactionsHavingDistinctCountInput = { createdAt?: InputMaybe; eventIdx?: InputMaybe; - expiry?: InputMaybe; - filterExpiry?: InputMaybe; - issuanceDate?: InputMaybe; - lastUpdateDate?: InputMaybe; - revokeDate?: InputMaybe; + pendingAffirmations?: InputMaybe; updatedAt?: InputMaybe; }; -/** Conditions for `Claim` aggregates. */ -export type ClaimsHavingInput = { - AND?: InputMaybe>; - OR?: InputMaybe>; - average?: InputMaybe; - distinctCount?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddevPopulation?: InputMaybe; - stddevSample?: InputMaybe; - sum?: InputMaybe; - variancePopulation?: InputMaybe; - varianceSample?: InputMaybe; +/** Conditions for `ConfidentialTransaction` aggregates. */ +export type ConfidentialTransactionsHavingInput = { + AND?: InputMaybe>; + OR?: InputMaybe>; + average?: InputMaybe; + distinctCount?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddevPopulation?: InputMaybe; + stddevSample?: InputMaybe; + sum?: InputMaybe; + variancePopulation?: InputMaybe; + varianceSample?: InputMaybe; }; -export type ClaimsHavingMaxInput = { +export type ConfidentialTransactionsHavingMaxInput = { createdAt?: InputMaybe; eventIdx?: InputMaybe; - expiry?: InputMaybe; - filterExpiry?: InputMaybe; - issuanceDate?: InputMaybe; - lastUpdateDate?: InputMaybe; - revokeDate?: InputMaybe; + pendingAffirmations?: InputMaybe; updatedAt?: InputMaybe; }; -export type ClaimsHavingMinInput = { +export type ConfidentialTransactionsHavingMinInput = { createdAt?: InputMaybe; eventIdx?: InputMaybe; - expiry?: InputMaybe; - filterExpiry?: InputMaybe; - issuanceDate?: InputMaybe; - lastUpdateDate?: InputMaybe; - revokeDate?: InputMaybe; + pendingAffirmations?: InputMaybe; updatedAt?: InputMaybe; }; -export type ClaimsHavingStddevPopulationInput = { +export type ConfidentialTransactionsHavingStddevPopulationInput = { createdAt?: InputMaybe; eventIdx?: InputMaybe; - expiry?: InputMaybe; - filterExpiry?: InputMaybe; - issuanceDate?: InputMaybe; - lastUpdateDate?: InputMaybe; - revokeDate?: InputMaybe; + pendingAffirmations?: InputMaybe; updatedAt?: InputMaybe; }; -export type ClaimsHavingStddevSampleInput = { +export type ConfidentialTransactionsHavingStddevSampleInput = { createdAt?: InputMaybe; eventIdx?: InputMaybe; - expiry?: InputMaybe; - filterExpiry?: InputMaybe; - issuanceDate?: InputMaybe; - lastUpdateDate?: InputMaybe; - revokeDate?: InputMaybe; + pendingAffirmations?: InputMaybe; updatedAt?: InputMaybe; }; -export type ClaimsHavingSumInput = { +export type ConfidentialTransactionsHavingSumInput = { createdAt?: InputMaybe; eventIdx?: InputMaybe; - expiry?: InputMaybe; - filterExpiry?: InputMaybe; - issuanceDate?: InputMaybe; - lastUpdateDate?: InputMaybe; - revokeDate?: InputMaybe; + pendingAffirmations?: InputMaybe; updatedAt?: InputMaybe; }; -export type ClaimsHavingVariancePopulationInput = { +export type ConfidentialTransactionsHavingVariancePopulationInput = { createdAt?: InputMaybe; eventIdx?: InputMaybe; - expiry?: InputMaybe; - filterExpiry?: InputMaybe; - issuanceDate?: InputMaybe; - lastUpdateDate?: InputMaybe; - revokeDate?: InputMaybe; + pendingAffirmations?: InputMaybe; updatedAt?: InputMaybe; }; -export type ClaimsHavingVarianceSampleInput = { +export type ConfidentialTransactionsHavingVarianceSampleInput = { createdAt?: InputMaybe; eventIdx?: InputMaybe; - expiry?: InputMaybe; - filterExpiry?: InputMaybe; - issuanceDate?: InputMaybe; - lastUpdateDate?: InputMaybe; - revokeDate?: InputMaybe; + pendingAffirmations?: InputMaybe; updatedAt?: InputMaybe; }; -/** Methods to use when ordering `Claim`. */ -export enum ClaimsOrderBy { - CddIdAsc = 'CDD_ID_ASC', - CddIdDesc = 'CDD_ID_DESC', +/** Methods to use when ordering `ConfidentialTransaction`. */ +export enum ConfidentialTransactionsOrderBy { + AffirmationsAverageAccountIdAsc = 'AFFIRMATIONS_AVERAGE_ACCOUNT_ID_ASC', + AffirmationsAverageAccountIdDesc = 'AFFIRMATIONS_AVERAGE_ACCOUNT_ID_DESC', + AffirmationsAverageCreatedAtAsc = 'AFFIRMATIONS_AVERAGE_CREATED_AT_ASC', + AffirmationsAverageCreatedAtDesc = 'AFFIRMATIONS_AVERAGE_CREATED_AT_DESC', + AffirmationsAverageCreatedBlockIdAsc = 'AFFIRMATIONS_AVERAGE_CREATED_BLOCK_ID_ASC', + AffirmationsAverageCreatedBlockIdDesc = 'AFFIRMATIONS_AVERAGE_CREATED_BLOCK_ID_DESC', + AffirmationsAverageIdentityIdAsc = 'AFFIRMATIONS_AVERAGE_IDENTITY_ID_ASC', + AffirmationsAverageIdentityIdDesc = 'AFFIRMATIONS_AVERAGE_IDENTITY_ID_DESC', + AffirmationsAverageIdAsc = 'AFFIRMATIONS_AVERAGE_ID_ASC', + AffirmationsAverageIdDesc = 'AFFIRMATIONS_AVERAGE_ID_DESC', + AffirmationsAverageLegIdAsc = 'AFFIRMATIONS_AVERAGE_LEG_ID_ASC', + AffirmationsAverageLegIdDesc = 'AFFIRMATIONS_AVERAGE_LEG_ID_DESC', + AffirmationsAverageProofsAsc = 'AFFIRMATIONS_AVERAGE_PROOFS_ASC', + AffirmationsAverageProofsDesc = 'AFFIRMATIONS_AVERAGE_PROOFS_DESC', + AffirmationsAverageStatusAsc = 'AFFIRMATIONS_AVERAGE_STATUS_ASC', + AffirmationsAverageStatusDesc = 'AFFIRMATIONS_AVERAGE_STATUS_DESC', + AffirmationsAverageTransactionIdAsc = 'AFFIRMATIONS_AVERAGE_TRANSACTION_ID_ASC', + AffirmationsAverageTransactionIdDesc = 'AFFIRMATIONS_AVERAGE_TRANSACTION_ID_DESC', + AffirmationsAverageTypeAsc = 'AFFIRMATIONS_AVERAGE_TYPE_ASC', + AffirmationsAverageTypeDesc = 'AFFIRMATIONS_AVERAGE_TYPE_DESC', + AffirmationsAverageUpdatedAtAsc = 'AFFIRMATIONS_AVERAGE_UPDATED_AT_ASC', + AffirmationsAverageUpdatedAtDesc = 'AFFIRMATIONS_AVERAGE_UPDATED_AT_DESC', + AffirmationsAverageUpdatedBlockIdAsc = 'AFFIRMATIONS_AVERAGE_UPDATED_BLOCK_ID_ASC', + AffirmationsAverageUpdatedBlockIdDesc = 'AFFIRMATIONS_AVERAGE_UPDATED_BLOCK_ID_DESC', + AffirmationsCountAsc = 'AFFIRMATIONS_COUNT_ASC', + AffirmationsCountDesc = 'AFFIRMATIONS_COUNT_DESC', + AffirmationsDistinctCountAccountIdAsc = 'AFFIRMATIONS_DISTINCT_COUNT_ACCOUNT_ID_ASC', + AffirmationsDistinctCountAccountIdDesc = 'AFFIRMATIONS_DISTINCT_COUNT_ACCOUNT_ID_DESC', + AffirmationsDistinctCountCreatedAtAsc = 'AFFIRMATIONS_DISTINCT_COUNT_CREATED_AT_ASC', + AffirmationsDistinctCountCreatedAtDesc = 'AFFIRMATIONS_DISTINCT_COUNT_CREATED_AT_DESC', + AffirmationsDistinctCountCreatedBlockIdAsc = 'AFFIRMATIONS_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', + AffirmationsDistinctCountCreatedBlockIdDesc = 'AFFIRMATIONS_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', + AffirmationsDistinctCountIdentityIdAsc = 'AFFIRMATIONS_DISTINCT_COUNT_IDENTITY_ID_ASC', + AffirmationsDistinctCountIdentityIdDesc = 'AFFIRMATIONS_DISTINCT_COUNT_IDENTITY_ID_DESC', + AffirmationsDistinctCountIdAsc = 'AFFIRMATIONS_DISTINCT_COUNT_ID_ASC', + AffirmationsDistinctCountIdDesc = 'AFFIRMATIONS_DISTINCT_COUNT_ID_DESC', + AffirmationsDistinctCountLegIdAsc = 'AFFIRMATIONS_DISTINCT_COUNT_LEG_ID_ASC', + AffirmationsDistinctCountLegIdDesc = 'AFFIRMATIONS_DISTINCT_COUNT_LEG_ID_DESC', + AffirmationsDistinctCountProofsAsc = 'AFFIRMATIONS_DISTINCT_COUNT_PROOFS_ASC', + AffirmationsDistinctCountProofsDesc = 'AFFIRMATIONS_DISTINCT_COUNT_PROOFS_DESC', + AffirmationsDistinctCountStatusAsc = 'AFFIRMATIONS_DISTINCT_COUNT_STATUS_ASC', + AffirmationsDistinctCountStatusDesc = 'AFFIRMATIONS_DISTINCT_COUNT_STATUS_DESC', + AffirmationsDistinctCountTransactionIdAsc = 'AFFIRMATIONS_DISTINCT_COUNT_TRANSACTION_ID_ASC', + AffirmationsDistinctCountTransactionIdDesc = 'AFFIRMATIONS_DISTINCT_COUNT_TRANSACTION_ID_DESC', + AffirmationsDistinctCountTypeAsc = 'AFFIRMATIONS_DISTINCT_COUNT_TYPE_ASC', + AffirmationsDistinctCountTypeDesc = 'AFFIRMATIONS_DISTINCT_COUNT_TYPE_DESC', + AffirmationsDistinctCountUpdatedAtAsc = 'AFFIRMATIONS_DISTINCT_COUNT_UPDATED_AT_ASC', + AffirmationsDistinctCountUpdatedAtDesc = 'AFFIRMATIONS_DISTINCT_COUNT_UPDATED_AT_DESC', + AffirmationsDistinctCountUpdatedBlockIdAsc = 'AFFIRMATIONS_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', + AffirmationsDistinctCountUpdatedBlockIdDesc = 'AFFIRMATIONS_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', + AffirmationsMaxAccountIdAsc = 'AFFIRMATIONS_MAX_ACCOUNT_ID_ASC', + AffirmationsMaxAccountIdDesc = 'AFFIRMATIONS_MAX_ACCOUNT_ID_DESC', + AffirmationsMaxCreatedAtAsc = 'AFFIRMATIONS_MAX_CREATED_AT_ASC', + AffirmationsMaxCreatedAtDesc = 'AFFIRMATIONS_MAX_CREATED_AT_DESC', + AffirmationsMaxCreatedBlockIdAsc = 'AFFIRMATIONS_MAX_CREATED_BLOCK_ID_ASC', + AffirmationsMaxCreatedBlockIdDesc = 'AFFIRMATIONS_MAX_CREATED_BLOCK_ID_DESC', + AffirmationsMaxIdentityIdAsc = 'AFFIRMATIONS_MAX_IDENTITY_ID_ASC', + AffirmationsMaxIdentityIdDesc = 'AFFIRMATIONS_MAX_IDENTITY_ID_DESC', + AffirmationsMaxIdAsc = 'AFFIRMATIONS_MAX_ID_ASC', + AffirmationsMaxIdDesc = 'AFFIRMATIONS_MAX_ID_DESC', + AffirmationsMaxLegIdAsc = 'AFFIRMATIONS_MAX_LEG_ID_ASC', + AffirmationsMaxLegIdDesc = 'AFFIRMATIONS_MAX_LEG_ID_DESC', + AffirmationsMaxProofsAsc = 'AFFIRMATIONS_MAX_PROOFS_ASC', + AffirmationsMaxProofsDesc = 'AFFIRMATIONS_MAX_PROOFS_DESC', + AffirmationsMaxStatusAsc = 'AFFIRMATIONS_MAX_STATUS_ASC', + AffirmationsMaxStatusDesc = 'AFFIRMATIONS_MAX_STATUS_DESC', + AffirmationsMaxTransactionIdAsc = 'AFFIRMATIONS_MAX_TRANSACTION_ID_ASC', + AffirmationsMaxTransactionIdDesc = 'AFFIRMATIONS_MAX_TRANSACTION_ID_DESC', + AffirmationsMaxTypeAsc = 'AFFIRMATIONS_MAX_TYPE_ASC', + AffirmationsMaxTypeDesc = 'AFFIRMATIONS_MAX_TYPE_DESC', + AffirmationsMaxUpdatedAtAsc = 'AFFIRMATIONS_MAX_UPDATED_AT_ASC', + AffirmationsMaxUpdatedAtDesc = 'AFFIRMATIONS_MAX_UPDATED_AT_DESC', + AffirmationsMaxUpdatedBlockIdAsc = 'AFFIRMATIONS_MAX_UPDATED_BLOCK_ID_ASC', + AffirmationsMaxUpdatedBlockIdDesc = 'AFFIRMATIONS_MAX_UPDATED_BLOCK_ID_DESC', + AffirmationsMinAccountIdAsc = 'AFFIRMATIONS_MIN_ACCOUNT_ID_ASC', + AffirmationsMinAccountIdDesc = 'AFFIRMATIONS_MIN_ACCOUNT_ID_DESC', + AffirmationsMinCreatedAtAsc = 'AFFIRMATIONS_MIN_CREATED_AT_ASC', + AffirmationsMinCreatedAtDesc = 'AFFIRMATIONS_MIN_CREATED_AT_DESC', + AffirmationsMinCreatedBlockIdAsc = 'AFFIRMATIONS_MIN_CREATED_BLOCK_ID_ASC', + AffirmationsMinCreatedBlockIdDesc = 'AFFIRMATIONS_MIN_CREATED_BLOCK_ID_DESC', + AffirmationsMinIdentityIdAsc = 'AFFIRMATIONS_MIN_IDENTITY_ID_ASC', + AffirmationsMinIdentityIdDesc = 'AFFIRMATIONS_MIN_IDENTITY_ID_DESC', + AffirmationsMinIdAsc = 'AFFIRMATIONS_MIN_ID_ASC', + AffirmationsMinIdDesc = 'AFFIRMATIONS_MIN_ID_DESC', + AffirmationsMinLegIdAsc = 'AFFIRMATIONS_MIN_LEG_ID_ASC', + AffirmationsMinLegIdDesc = 'AFFIRMATIONS_MIN_LEG_ID_DESC', + AffirmationsMinProofsAsc = 'AFFIRMATIONS_MIN_PROOFS_ASC', + AffirmationsMinProofsDesc = 'AFFIRMATIONS_MIN_PROOFS_DESC', + AffirmationsMinStatusAsc = 'AFFIRMATIONS_MIN_STATUS_ASC', + AffirmationsMinStatusDesc = 'AFFIRMATIONS_MIN_STATUS_DESC', + AffirmationsMinTransactionIdAsc = 'AFFIRMATIONS_MIN_TRANSACTION_ID_ASC', + AffirmationsMinTransactionIdDesc = 'AFFIRMATIONS_MIN_TRANSACTION_ID_DESC', + AffirmationsMinTypeAsc = 'AFFIRMATIONS_MIN_TYPE_ASC', + AffirmationsMinTypeDesc = 'AFFIRMATIONS_MIN_TYPE_DESC', + AffirmationsMinUpdatedAtAsc = 'AFFIRMATIONS_MIN_UPDATED_AT_ASC', + AffirmationsMinUpdatedAtDesc = 'AFFIRMATIONS_MIN_UPDATED_AT_DESC', + AffirmationsMinUpdatedBlockIdAsc = 'AFFIRMATIONS_MIN_UPDATED_BLOCK_ID_ASC', + AffirmationsMinUpdatedBlockIdDesc = 'AFFIRMATIONS_MIN_UPDATED_BLOCK_ID_DESC', + AffirmationsStddevPopulationAccountIdAsc = 'AFFIRMATIONS_STDDEV_POPULATION_ACCOUNT_ID_ASC', + AffirmationsStddevPopulationAccountIdDesc = 'AFFIRMATIONS_STDDEV_POPULATION_ACCOUNT_ID_DESC', + AffirmationsStddevPopulationCreatedAtAsc = 'AFFIRMATIONS_STDDEV_POPULATION_CREATED_AT_ASC', + AffirmationsStddevPopulationCreatedAtDesc = 'AFFIRMATIONS_STDDEV_POPULATION_CREATED_AT_DESC', + AffirmationsStddevPopulationCreatedBlockIdAsc = 'AFFIRMATIONS_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', + AffirmationsStddevPopulationCreatedBlockIdDesc = 'AFFIRMATIONS_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', + AffirmationsStddevPopulationIdentityIdAsc = 'AFFIRMATIONS_STDDEV_POPULATION_IDENTITY_ID_ASC', + AffirmationsStddevPopulationIdentityIdDesc = 'AFFIRMATIONS_STDDEV_POPULATION_IDENTITY_ID_DESC', + AffirmationsStddevPopulationIdAsc = 'AFFIRMATIONS_STDDEV_POPULATION_ID_ASC', + AffirmationsStddevPopulationIdDesc = 'AFFIRMATIONS_STDDEV_POPULATION_ID_DESC', + AffirmationsStddevPopulationLegIdAsc = 'AFFIRMATIONS_STDDEV_POPULATION_LEG_ID_ASC', + AffirmationsStddevPopulationLegIdDesc = 'AFFIRMATIONS_STDDEV_POPULATION_LEG_ID_DESC', + AffirmationsStddevPopulationProofsAsc = 'AFFIRMATIONS_STDDEV_POPULATION_PROOFS_ASC', + AffirmationsStddevPopulationProofsDesc = 'AFFIRMATIONS_STDDEV_POPULATION_PROOFS_DESC', + AffirmationsStddevPopulationStatusAsc = 'AFFIRMATIONS_STDDEV_POPULATION_STATUS_ASC', + AffirmationsStddevPopulationStatusDesc = 'AFFIRMATIONS_STDDEV_POPULATION_STATUS_DESC', + AffirmationsStddevPopulationTransactionIdAsc = 'AFFIRMATIONS_STDDEV_POPULATION_TRANSACTION_ID_ASC', + AffirmationsStddevPopulationTransactionIdDesc = 'AFFIRMATIONS_STDDEV_POPULATION_TRANSACTION_ID_DESC', + AffirmationsStddevPopulationTypeAsc = 'AFFIRMATIONS_STDDEV_POPULATION_TYPE_ASC', + AffirmationsStddevPopulationTypeDesc = 'AFFIRMATIONS_STDDEV_POPULATION_TYPE_DESC', + AffirmationsStddevPopulationUpdatedAtAsc = 'AFFIRMATIONS_STDDEV_POPULATION_UPDATED_AT_ASC', + AffirmationsStddevPopulationUpdatedAtDesc = 'AFFIRMATIONS_STDDEV_POPULATION_UPDATED_AT_DESC', + AffirmationsStddevPopulationUpdatedBlockIdAsc = 'AFFIRMATIONS_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', + AffirmationsStddevPopulationUpdatedBlockIdDesc = 'AFFIRMATIONS_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', + AffirmationsStddevSampleAccountIdAsc = 'AFFIRMATIONS_STDDEV_SAMPLE_ACCOUNT_ID_ASC', + AffirmationsStddevSampleAccountIdDesc = 'AFFIRMATIONS_STDDEV_SAMPLE_ACCOUNT_ID_DESC', + AffirmationsStddevSampleCreatedAtAsc = 'AFFIRMATIONS_STDDEV_SAMPLE_CREATED_AT_ASC', + AffirmationsStddevSampleCreatedAtDesc = 'AFFIRMATIONS_STDDEV_SAMPLE_CREATED_AT_DESC', + AffirmationsStddevSampleCreatedBlockIdAsc = 'AFFIRMATIONS_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', + AffirmationsStddevSampleCreatedBlockIdDesc = 'AFFIRMATIONS_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', + AffirmationsStddevSampleIdentityIdAsc = 'AFFIRMATIONS_STDDEV_SAMPLE_IDENTITY_ID_ASC', + AffirmationsStddevSampleIdentityIdDesc = 'AFFIRMATIONS_STDDEV_SAMPLE_IDENTITY_ID_DESC', + AffirmationsStddevSampleIdAsc = 'AFFIRMATIONS_STDDEV_SAMPLE_ID_ASC', + AffirmationsStddevSampleIdDesc = 'AFFIRMATIONS_STDDEV_SAMPLE_ID_DESC', + AffirmationsStddevSampleLegIdAsc = 'AFFIRMATIONS_STDDEV_SAMPLE_LEG_ID_ASC', + AffirmationsStddevSampleLegIdDesc = 'AFFIRMATIONS_STDDEV_SAMPLE_LEG_ID_DESC', + AffirmationsStddevSampleProofsAsc = 'AFFIRMATIONS_STDDEV_SAMPLE_PROOFS_ASC', + AffirmationsStddevSampleProofsDesc = 'AFFIRMATIONS_STDDEV_SAMPLE_PROOFS_DESC', + AffirmationsStddevSampleStatusAsc = 'AFFIRMATIONS_STDDEV_SAMPLE_STATUS_ASC', + AffirmationsStddevSampleStatusDesc = 'AFFIRMATIONS_STDDEV_SAMPLE_STATUS_DESC', + AffirmationsStddevSampleTransactionIdAsc = 'AFFIRMATIONS_STDDEV_SAMPLE_TRANSACTION_ID_ASC', + AffirmationsStddevSampleTransactionIdDesc = 'AFFIRMATIONS_STDDEV_SAMPLE_TRANSACTION_ID_DESC', + AffirmationsStddevSampleTypeAsc = 'AFFIRMATIONS_STDDEV_SAMPLE_TYPE_ASC', + AffirmationsStddevSampleTypeDesc = 'AFFIRMATIONS_STDDEV_SAMPLE_TYPE_DESC', + AffirmationsStddevSampleUpdatedAtAsc = 'AFFIRMATIONS_STDDEV_SAMPLE_UPDATED_AT_ASC', + AffirmationsStddevSampleUpdatedAtDesc = 'AFFIRMATIONS_STDDEV_SAMPLE_UPDATED_AT_DESC', + AffirmationsStddevSampleUpdatedBlockIdAsc = 'AFFIRMATIONS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', + AffirmationsStddevSampleUpdatedBlockIdDesc = 'AFFIRMATIONS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', + AffirmationsSumAccountIdAsc = 'AFFIRMATIONS_SUM_ACCOUNT_ID_ASC', + AffirmationsSumAccountIdDesc = 'AFFIRMATIONS_SUM_ACCOUNT_ID_DESC', + AffirmationsSumCreatedAtAsc = 'AFFIRMATIONS_SUM_CREATED_AT_ASC', + AffirmationsSumCreatedAtDesc = 'AFFIRMATIONS_SUM_CREATED_AT_DESC', + AffirmationsSumCreatedBlockIdAsc = 'AFFIRMATIONS_SUM_CREATED_BLOCK_ID_ASC', + AffirmationsSumCreatedBlockIdDesc = 'AFFIRMATIONS_SUM_CREATED_BLOCK_ID_DESC', + AffirmationsSumIdentityIdAsc = 'AFFIRMATIONS_SUM_IDENTITY_ID_ASC', + AffirmationsSumIdentityIdDesc = 'AFFIRMATIONS_SUM_IDENTITY_ID_DESC', + AffirmationsSumIdAsc = 'AFFIRMATIONS_SUM_ID_ASC', + AffirmationsSumIdDesc = 'AFFIRMATIONS_SUM_ID_DESC', + AffirmationsSumLegIdAsc = 'AFFIRMATIONS_SUM_LEG_ID_ASC', + AffirmationsSumLegIdDesc = 'AFFIRMATIONS_SUM_LEG_ID_DESC', + AffirmationsSumProofsAsc = 'AFFIRMATIONS_SUM_PROOFS_ASC', + AffirmationsSumProofsDesc = 'AFFIRMATIONS_SUM_PROOFS_DESC', + AffirmationsSumStatusAsc = 'AFFIRMATIONS_SUM_STATUS_ASC', + AffirmationsSumStatusDesc = 'AFFIRMATIONS_SUM_STATUS_DESC', + AffirmationsSumTransactionIdAsc = 'AFFIRMATIONS_SUM_TRANSACTION_ID_ASC', + AffirmationsSumTransactionIdDesc = 'AFFIRMATIONS_SUM_TRANSACTION_ID_DESC', + AffirmationsSumTypeAsc = 'AFFIRMATIONS_SUM_TYPE_ASC', + AffirmationsSumTypeDesc = 'AFFIRMATIONS_SUM_TYPE_DESC', + AffirmationsSumUpdatedAtAsc = 'AFFIRMATIONS_SUM_UPDATED_AT_ASC', + AffirmationsSumUpdatedAtDesc = 'AFFIRMATIONS_SUM_UPDATED_AT_DESC', + AffirmationsSumUpdatedBlockIdAsc = 'AFFIRMATIONS_SUM_UPDATED_BLOCK_ID_ASC', + AffirmationsSumUpdatedBlockIdDesc = 'AFFIRMATIONS_SUM_UPDATED_BLOCK_ID_DESC', + AffirmationsVariancePopulationAccountIdAsc = 'AFFIRMATIONS_VARIANCE_POPULATION_ACCOUNT_ID_ASC', + AffirmationsVariancePopulationAccountIdDesc = 'AFFIRMATIONS_VARIANCE_POPULATION_ACCOUNT_ID_DESC', + AffirmationsVariancePopulationCreatedAtAsc = 'AFFIRMATIONS_VARIANCE_POPULATION_CREATED_AT_ASC', + AffirmationsVariancePopulationCreatedAtDesc = 'AFFIRMATIONS_VARIANCE_POPULATION_CREATED_AT_DESC', + AffirmationsVariancePopulationCreatedBlockIdAsc = 'AFFIRMATIONS_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', + AffirmationsVariancePopulationCreatedBlockIdDesc = 'AFFIRMATIONS_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', + AffirmationsVariancePopulationIdentityIdAsc = 'AFFIRMATIONS_VARIANCE_POPULATION_IDENTITY_ID_ASC', + AffirmationsVariancePopulationIdentityIdDesc = 'AFFIRMATIONS_VARIANCE_POPULATION_IDENTITY_ID_DESC', + AffirmationsVariancePopulationIdAsc = 'AFFIRMATIONS_VARIANCE_POPULATION_ID_ASC', + AffirmationsVariancePopulationIdDesc = 'AFFIRMATIONS_VARIANCE_POPULATION_ID_DESC', + AffirmationsVariancePopulationLegIdAsc = 'AFFIRMATIONS_VARIANCE_POPULATION_LEG_ID_ASC', + AffirmationsVariancePopulationLegIdDesc = 'AFFIRMATIONS_VARIANCE_POPULATION_LEG_ID_DESC', + AffirmationsVariancePopulationProofsAsc = 'AFFIRMATIONS_VARIANCE_POPULATION_PROOFS_ASC', + AffirmationsVariancePopulationProofsDesc = 'AFFIRMATIONS_VARIANCE_POPULATION_PROOFS_DESC', + AffirmationsVariancePopulationStatusAsc = 'AFFIRMATIONS_VARIANCE_POPULATION_STATUS_ASC', + AffirmationsVariancePopulationStatusDesc = 'AFFIRMATIONS_VARIANCE_POPULATION_STATUS_DESC', + AffirmationsVariancePopulationTransactionIdAsc = 'AFFIRMATIONS_VARIANCE_POPULATION_TRANSACTION_ID_ASC', + AffirmationsVariancePopulationTransactionIdDesc = 'AFFIRMATIONS_VARIANCE_POPULATION_TRANSACTION_ID_DESC', + AffirmationsVariancePopulationTypeAsc = 'AFFIRMATIONS_VARIANCE_POPULATION_TYPE_ASC', + AffirmationsVariancePopulationTypeDesc = 'AFFIRMATIONS_VARIANCE_POPULATION_TYPE_DESC', + AffirmationsVariancePopulationUpdatedAtAsc = 'AFFIRMATIONS_VARIANCE_POPULATION_UPDATED_AT_ASC', + AffirmationsVariancePopulationUpdatedAtDesc = 'AFFIRMATIONS_VARIANCE_POPULATION_UPDATED_AT_DESC', + AffirmationsVariancePopulationUpdatedBlockIdAsc = 'AFFIRMATIONS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', + AffirmationsVariancePopulationUpdatedBlockIdDesc = 'AFFIRMATIONS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', + AffirmationsVarianceSampleAccountIdAsc = 'AFFIRMATIONS_VARIANCE_SAMPLE_ACCOUNT_ID_ASC', + AffirmationsVarianceSampleAccountIdDesc = 'AFFIRMATIONS_VARIANCE_SAMPLE_ACCOUNT_ID_DESC', + AffirmationsVarianceSampleCreatedAtAsc = 'AFFIRMATIONS_VARIANCE_SAMPLE_CREATED_AT_ASC', + AffirmationsVarianceSampleCreatedAtDesc = 'AFFIRMATIONS_VARIANCE_SAMPLE_CREATED_AT_DESC', + AffirmationsVarianceSampleCreatedBlockIdAsc = 'AFFIRMATIONS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', + AffirmationsVarianceSampleCreatedBlockIdDesc = 'AFFIRMATIONS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', + AffirmationsVarianceSampleIdentityIdAsc = 'AFFIRMATIONS_VARIANCE_SAMPLE_IDENTITY_ID_ASC', + AffirmationsVarianceSampleIdentityIdDesc = 'AFFIRMATIONS_VARIANCE_SAMPLE_IDENTITY_ID_DESC', + AffirmationsVarianceSampleIdAsc = 'AFFIRMATIONS_VARIANCE_SAMPLE_ID_ASC', + AffirmationsVarianceSampleIdDesc = 'AFFIRMATIONS_VARIANCE_SAMPLE_ID_DESC', + AffirmationsVarianceSampleLegIdAsc = 'AFFIRMATIONS_VARIANCE_SAMPLE_LEG_ID_ASC', + AffirmationsVarianceSampleLegIdDesc = 'AFFIRMATIONS_VARIANCE_SAMPLE_LEG_ID_DESC', + AffirmationsVarianceSampleProofsAsc = 'AFFIRMATIONS_VARIANCE_SAMPLE_PROOFS_ASC', + AffirmationsVarianceSampleProofsDesc = 'AFFIRMATIONS_VARIANCE_SAMPLE_PROOFS_DESC', + AffirmationsVarianceSampleStatusAsc = 'AFFIRMATIONS_VARIANCE_SAMPLE_STATUS_ASC', + AffirmationsVarianceSampleStatusDesc = 'AFFIRMATIONS_VARIANCE_SAMPLE_STATUS_DESC', + AffirmationsVarianceSampleTransactionIdAsc = 'AFFIRMATIONS_VARIANCE_SAMPLE_TRANSACTION_ID_ASC', + AffirmationsVarianceSampleTransactionIdDesc = 'AFFIRMATIONS_VARIANCE_SAMPLE_TRANSACTION_ID_DESC', + AffirmationsVarianceSampleTypeAsc = 'AFFIRMATIONS_VARIANCE_SAMPLE_TYPE_ASC', + AffirmationsVarianceSampleTypeDesc = 'AFFIRMATIONS_VARIANCE_SAMPLE_TYPE_DESC', + AffirmationsVarianceSampleUpdatedAtAsc = 'AFFIRMATIONS_VARIANCE_SAMPLE_UPDATED_AT_ASC', + AffirmationsVarianceSampleUpdatedAtDesc = 'AFFIRMATIONS_VARIANCE_SAMPLE_UPDATED_AT_DESC', + AffirmationsVarianceSampleUpdatedBlockIdAsc = 'AFFIRMATIONS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', + AffirmationsVarianceSampleUpdatedBlockIdDesc = 'AFFIRMATIONS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByTransactionIdAverageAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_AVERAGE_AMOUNT_ASC', + ConfidentialAssetHistoriesByTransactionIdAverageAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_AVERAGE_AMOUNT_DESC', + ConfidentialAssetHistoriesByTransactionIdAverageAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_AVERAGE_ASSET_ID_ASC', + ConfidentialAssetHistoriesByTransactionIdAverageAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_AVERAGE_ASSET_ID_DESC', + ConfidentialAssetHistoriesByTransactionIdAverageCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_AVERAGE_CREATED_AT_ASC', + ConfidentialAssetHistoriesByTransactionIdAverageCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_AVERAGE_CREATED_AT_DESC', + ConfidentialAssetHistoriesByTransactionIdAverageCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_AVERAGE_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByTransactionIdAverageCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_AVERAGE_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByTransactionIdAverageDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_AVERAGE_DATETIME_ASC', + ConfidentialAssetHistoriesByTransactionIdAverageDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_AVERAGE_DATETIME_DESC', + ConfidentialAssetHistoriesByTransactionIdAverageEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_AVERAGE_EVENT_IDX_ASC', + ConfidentialAssetHistoriesByTransactionIdAverageEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_AVERAGE_EVENT_IDX_DESC', + ConfidentialAssetHistoriesByTransactionIdAverageEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_AVERAGE_EVENT_ID_ASC', + ConfidentialAssetHistoriesByTransactionIdAverageEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_AVERAGE_EVENT_ID_DESC', + ConfidentialAssetHistoriesByTransactionIdAverageExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_AVERAGE_EXTRINSIC_IDX_ASC', + ConfidentialAssetHistoriesByTransactionIdAverageExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_AVERAGE_EXTRINSIC_IDX_DESC', + ConfidentialAssetHistoriesByTransactionIdAverageFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_AVERAGE_FROM_ID_ASC', + ConfidentialAssetHistoriesByTransactionIdAverageFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_AVERAGE_FROM_ID_DESC', + ConfidentialAssetHistoriesByTransactionIdAverageIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_AVERAGE_ID_ASC', + ConfidentialAssetHistoriesByTransactionIdAverageIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_AVERAGE_ID_DESC', + ConfidentialAssetHistoriesByTransactionIdAverageMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_AVERAGE_MEMO_ASC', + ConfidentialAssetHistoriesByTransactionIdAverageMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_AVERAGE_MEMO_DESC', + ConfidentialAssetHistoriesByTransactionIdAverageToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_AVERAGE_TO_ID_ASC', + ConfidentialAssetHistoriesByTransactionIdAverageToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_AVERAGE_TO_ID_DESC', + ConfidentialAssetHistoriesByTransactionIdAverageTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_AVERAGE_TRANSACTION_ID_ASC', + ConfidentialAssetHistoriesByTransactionIdAverageTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_AVERAGE_TRANSACTION_ID_DESC', + ConfidentialAssetHistoriesByTransactionIdAverageUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_AVERAGE_UPDATED_AT_ASC', + ConfidentialAssetHistoriesByTransactionIdAverageUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_AVERAGE_UPDATED_AT_DESC', + ConfidentialAssetHistoriesByTransactionIdAverageUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByTransactionIdAverageUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByTransactionIdCountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_COUNT_ASC', + ConfidentialAssetHistoriesByTransactionIdCountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_COUNT_DESC', + ConfidentialAssetHistoriesByTransactionIdDistinctCountAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_DISTINCT_COUNT_AMOUNT_ASC', + ConfidentialAssetHistoriesByTransactionIdDistinctCountAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_DISTINCT_COUNT_AMOUNT_DESC', + ConfidentialAssetHistoriesByTransactionIdDistinctCountAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_DISTINCT_COUNT_ASSET_ID_ASC', + ConfidentialAssetHistoriesByTransactionIdDistinctCountAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_DISTINCT_COUNT_ASSET_ID_DESC', + ConfidentialAssetHistoriesByTransactionIdDistinctCountCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_DISTINCT_COUNT_CREATED_AT_ASC', + ConfidentialAssetHistoriesByTransactionIdDistinctCountCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_DISTINCT_COUNT_CREATED_AT_DESC', + ConfidentialAssetHistoriesByTransactionIdDistinctCountCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByTransactionIdDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByTransactionIdDistinctCountDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_DISTINCT_COUNT_DATETIME_ASC', + ConfidentialAssetHistoriesByTransactionIdDistinctCountDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_DISTINCT_COUNT_DATETIME_DESC', + ConfidentialAssetHistoriesByTransactionIdDistinctCountEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_DISTINCT_COUNT_EVENT_IDX_ASC', + ConfidentialAssetHistoriesByTransactionIdDistinctCountEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_DISTINCT_COUNT_EVENT_IDX_DESC', + ConfidentialAssetHistoriesByTransactionIdDistinctCountEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_DISTINCT_COUNT_EVENT_ID_ASC', + ConfidentialAssetHistoriesByTransactionIdDistinctCountEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_DISTINCT_COUNT_EVENT_ID_DESC', + ConfidentialAssetHistoriesByTransactionIdDistinctCountExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_DISTINCT_COUNT_EXTRINSIC_IDX_ASC', + ConfidentialAssetHistoriesByTransactionIdDistinctCountExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_DISTINCT_COUNT_EXTRINSIC_IDX_DESC', + ConfidentialAssetHistoriesByTransactionIdDistinctCountFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_DISTINCT_COUNT_FROM_ID_ASC', + ConfidentialAssetHistoriesByTransactionIdDistinctCountFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_DISTINCT_COUNT_FROM_ID_DESC', + ConfidentialAssetHistoriesByTransactionIdDistinctCountIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_DISTINCT_COUNT_ID_ASC', + ConfidentialAssetHistoriesByTransactionIdDistinctCountIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_DISTINCT_COUNT_ID_DESC', + ConfidentialAssetHistoriesByTransactionIdDistinctCountMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_DISTINCT_COUNT_MEMO_ASC', + ConfidentialAssetHistoriesByTransactionIdDistinctCountMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_DISTINCT_COUNT_MEMO_DESC', + ConfidentialAssetHistoriesByTransactionIdDistinctCountToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_DISTINCT_COUNT_TO_ID_ASC', + ConfidentialAssetHistoriesByTransactionIdDistinctCountToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_DISTINCT_COUNT_TO_ID_DESC', + ConfidentialAssetHistoriesByTransactionIdDistinctCountTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_DISTINCT_COUNT_TRANSACTION_ID_ASC', + ConfidentialAssetHistoriesByTransactionIdDistinctCountTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_DISTINCT_COUNT_TRANSACTION_ID_DESC', + ConfidentialAssetHistoriesByTransactionIdDistinctCountUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_DISTINCT_COUNT_UPDATED_AT_ASC', + ConfidentialAssetHistoriesByTransactionIdDistinctCountUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_DISTINCT_COUNT_UPDATED_AT_DESC', + ConfidentialAssetHistoriesByTransactionIdDistinctCountUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByTransactionIdDistinctCountUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByTransactionIdMaxAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MAX_AMOUNT_ASC', + ConfidentialAssetHistoriesByTransactionIdMaxAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MAX_AMOUNT_DESC', + ConfidentialAssetHistoriesByTransactionIdMaxAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MAX_ASSET_ID_ASC', + ConfidentialAssetHistoriesByTransactionIdMaxAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MAX_ASSET_ID_DESC', + ConfidentialAssetHistoriesByTransactionIdMaxCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MAX_CREATED_AT_ASC', + ConfidentialAssetHistoriesByTransactionIdMaxCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MAX_CREATED_AT_DESC', + ConfidentialAssetHistoriesByTransactionIdMaxCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MAX_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByTransactionIdMaxCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MAX_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByTransactionIdMaxDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MAX_DATETIME_ASC', + ConfidentialAssetHistoriesByTransactionIdMaxDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MAX_DATETIME_DESC', + ConfidentialAssetHistoriesByTransactionIdMaxEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MAX_EVENT_IDX_ASC', + ConfidentialAssetHistoriesByTransactionIdMaxEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MAX_EVENT_IDX_DESC', + ConfidentialAssetHistoriesByTransactionIdMaxEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MAX_EVENT_ID_ASC', + ConfidentialAssetHistoriesByTransactionIdMaxEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MAX_EVENT_ID_DESC', + ConfidentialAssetHistoriesByTransactionIdMaxExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MAX_EXTRINSIC_IDX_ASC', + ConfidentialAssetHistoriesByTransactionIdMaxExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MAX_EXTRINSIC_IDX_DESC', + ConfidentialAssetHistoriesByTransactionIdMaxFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MAX_FROM_ID_ASC', + ConfidentialAssetHistoriesByTransactionIdMaxFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MAX_FROM_ID_DESC', + ConfidentialAssetHistoriesByTransactionIdMaxIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MAX_ID_ASC', + ConfidentialAssetHistoriesByTransactionIdMaxIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MAX_ID_DESC', + ConfidentialAssetHistoriesByTransactionIdMaxMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MAX_MEMO_ASC', + ConfidentialAssetHistoriesByTransactionIdMaxMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MAX_MEMO_DESC', + ConfidentialAssetHistoriesByTransactionIdMaxToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MAX_TO_ID_ASC', + ConfidentialAssetHistoriesByTransactionIdMaxToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MAX_TO_ID_DESC', + ConfidentialAssetHistoriesByTransactionIdMaxTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MAX_TRANSACTION_ID_ASC', + ConfidentialAssetHistoriesByTransactionIdMaxTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MAX_TRANSACTION_ID_DESC', + ConfidentialAssetHistoriesByTransactionIdMaxUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MAX_UPDATED_AT_ASC', + ConfidentialAssetHistoriesByTransactionIdMaxUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MAX_UPDATED_AT_DESC', + ConfidentialAssetHistoriesByTransactionIdMaxUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MAX_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByTransactionIdMaxUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MAX_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByTransactionIdMinAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MIN_AMOUNT_ASC', + ConfidentialAssetHistoriesByTransactionIdMinAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MIN_AMOUNT_DESC', + ConfidentialAssetHistoriesByTransactionIdMinAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MIN_ASSET_ID_ASC', + ConfidentialAssetHistoriesByTransactionIdMinAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MIN_ASSET_ID_DESC', + ConfidentialAssetHistoriesByTransactionIdMinCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MIN_CREATED_AT_ASC', + ConfidentialAssetHistoriesByTransactionIdMinCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MIN_CREATED_AT_DESC', + ConfidentialAssetHistoriesByTransactionIdMinCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MIN_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByTransactionIdMinCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MIN_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByTransactionIdMinDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MIN_DATETIME_ASC', + ConfidentialAssetHistoriesByTransactionIdMinDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MIN_DATETIME_DESC', + ConfidentialAssetHistoriesByTransactionIdMinEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MIN_EVENT_IDX_ASC', + ConfidentialAssetHistoriesByTransactionIdMinEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MIN_EVENT_IDX_DESC', + ConfidentialAssetHistoriesByTransactionIdMinEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MIN_EVENT_ID_ASC', + ConfidentialAssetHistoriesByTransactionIdMinEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MIN_EVENT_ID_DESC', + ConfidentialAssetHistoriesByTransactionIdMinExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MIN_EXTRINSIC_IDX_ASC', + ConfidentialAssetHistoriesByTransactionIdMinExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MIN_EXTRINSIC_IDX_DESC', + ConfidentialAssetHistoriesByTransactionIdMinFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MIN_FROM_ID_ASC', + ConfidentialAssetHistoriesByTransactionIdMinFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MIN_FROM_ID_DESC', + ConfidentialAssetHistoriesByTransactionIdMinIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MIN_ID_ASC', + ConfidentialAssetHistoriesByTransactionIdMinIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MIN_ID_DESC', + ConfidentialAssetHistoriesByTransactionIdMinMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MIN_MEMO_ASC', + ConfidentialAssetHistoriesByTransactionIdMinMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MIN_MEMO_DESC', + ConfidentialAssetHistoriesByTransactionIdMinToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MIN_TO_ID_ASC', + ConfidentialAssetHistoriesByTransactionIdMinToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MIN_TO_ID_DESC', + ConfidentialAssetHistoriesByTransactionIdMinTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MIN_TRANSACTION_ID_ASC', + ConfidentialAssetHistoriesByTransactionIdMinTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MIN_TRANSACTION_ID_DESC', + ConfidentialAssetHistoriesByTransactionIdMinUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MIN_UPDATED_AT_ASC', + ConfidentialAssetHistoriesByTransactionIdMinUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MIN_UPDATED_AT_DESC', + ConfidentialAssetHistoriesByTransactionIdMinUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MIN_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByTransactionIdMinUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MIN_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByTransactionIdStddevPopulationAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_POPULATION_AMOUNT_ASC', + ConfidentialAssetHistoriesByTransactionIdStddevPopulationAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_POPULATION_AMOUNT_DESC', + ConfidentialAssetHistoriesByTransactionIdStddevPopulationAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_POPULATION_ASSET_ID_ASC', + ConfidentialAssetHistoriesByTransactionIdStddevPopulationAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_POPULATION_ASSET_ID_DESC', + ConfidentialAssetHistoriesByTransactionIdStddevPopulationCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_POPULATION_CREATED_AT_ASC', + ConfidentialAssetHistoriesByTransactionIdStddevPopulationCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_POPULATION_CREATED_AT_DESC', + ConfidentialAssetHistoriesByTransactionIdStddevPopulationCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByTransactionIdStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByTransactionIdStddevPopulationDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_POPULATION_DATETIME_ASC', + ConfidentialAssetHistoriesByTransactionIdStddevPopulationDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_POPULATION_DATETIME_DESC', + ConfidentialAssetHistoriesByTransactionIdStddevPopulationEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_POPULATION_EVENT_IDX_ASC', + ConfidentialAssetHistoriesByTransactionIdStddevPopulationEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_POPULATION_EVENT_IDX_DESC', + ConfidentialAssetHistoriesByTransactionIdStddevPopulationEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_POPULATION_EVENT_ID_ASC', + ConfidentialAssetHistoriesByTransactionIdStddevPopulationEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_POPULATION_EVENT_ID_DESC', + ConfidentialAssetHistoriesByTransactionIdStddevPopulationExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_POPULATION_EXTRINSIC_IDX_ASC', + ConfidentialAssetHistoriesByTransactionIdStddevPopulationExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_POPULATION_EXTRINSIC_IDX_DESC', + ConfidentialAssetHistoriesByTransactionIdStddevPopulationFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_POPULATION_FROM_ID_ASC', + ConfidentialAssetHistoriesByTransactionIdStddevPopulationFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_POPULATION_FROM_ID_DESC', + ConfidentialAssetHistoriesByTransactionIdStddevPopulationIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_POPULATION_ID_ASC', + ConfidentialAssetHistoriesByTransactionIdStddevPopulationIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_POPULATION_ID_DESC', + ConfidentialAssetHistoriesByTransactionIdStddevPopulationMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_POPULATION_MEMO_ASC', + ConfidentialAssetHistoriesByTransactionIdStddevPopulationMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_POPULATION_MEMO_DESC', + ConfidentialAssetHistoriesByTransactionIdStddevPopulationToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_POPULATION_TO_ID_ASC', + ConfidentialAssetHistoriesByTransactionIdStddevPopulationToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_POPULATION_TO_ID_DESC', + ConfidentialAssetHistoriesByTransactionIdStddevPopulationTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_POPULATION_TRANSACTION_ID_ASC', + ConfidentialAssetHistoriesByTransactionIdStddevPopulationTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_POPULATION_TRANSACTION_ID_DESC', + ConfidentialAssetHistoriesByTransactionIdStddevPopulationUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_POPULATION_UPDATED_AT_ASC', + ConfidentialAssetHistoriesByTransactionIdStddevPopulationUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_POPULATION_UPDATED_AT_DESC', + ConfidentialAssetHistoriesByTransactionIdStddevPopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByTransactionIdStddevPopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByTransactionIdStddevSampleAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_SAMPLE_AMOUNT_ASC', + ConfidentialAssetHistoriesByTransactionIdStddevSampleAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_SAMPLE_AMOUNT_DESC', + ConfidentialAssetHistoriesByTransactionIdStddevSampleAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_SAMPLE_ASSET_ID_ASC', + ConfidentialAssetHistoriesByTransactionIdStddevSampleAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_SAMPLE_ASSET_ID_DESC', + ConfidentialAssetHistoriesByTransactionIdStddevSampleCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_SAMPLE_CREATED_AT_ASC', + ConfidentialAssetHistoriesByTransactionIdStddevSampleCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_SAMPLE_CREATED_AT_DESC', + ConfidentialAssetHistoriesByTransactionIdStddevSampleCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByTransactionIdStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByTransactionIdStddevSampleDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_SAMPLE_DATETIME_ASC', + ConfidentialAssetHistoriesByTransactionIdStddevSampleDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_SAMPLE_DATETIME_DESC', + ConfidentialAssetHistoriesByTransactionIdStddevSampleEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', + ConfidentialAssetHistoriesByTransactionIdStddevSampleEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', + ConfidentialAssetHistoriesByTransactionIdStddevSampleEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_SAMPLE_EVENT_ID_ASC', + ConfidentialAssetHistoriesByTransactionIdStddevSampleEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_SAMPLE_EVENT_ID_DESC', + ConfidentialAssetHistoriesByTransactionIdStddevSampleExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_SAMPLE_EXTRINSIC_IDX_ASC', + ConfidentialAssetHistoriesByTransactionIdStddevSampleExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_SAMPLE_EXTRINSIC_IDX_DESC', + ConfidentialAssetHistoriesByTransactionIdStddevSampleFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_SAMPLE_FROM_ID_ASC', + ConfidentialAssetHistoriesByTransactionIdStddevSampleFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_SAMPLE_FROM_ID_DESC', + ConfidentialAssetHistoriesByTransactionIdStddevSampleIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_SAMPLE_ID_ASC', + ConfidentialAssetHistoriesByTransactionIdStddevSampleIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_SAMPLE_ID_DESC', + ConfidentialAssetHistoriesByTransactionIdStddevSampleMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_SAMPLE_MEMO_ASC', + ConfidentialAssetHistoriesByTransactionIdStddevSampleMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_SAMPLE_MEMO_DESC', + ConfidentialAssetHistoriesByTransactionIdStddevSampleToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_SAMPLE_TO_ID_ASC', + ConfidentialAssetHistoriesByTransactionIdStddevSampleToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_SAMPLE_TO_ID_DESC', + ConfidentialAssetHistoriesByTransactionIdStddevSampleTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_SAMPLE_TRANSACTION_ID_ASC', + ConfidentialAssetHistoriesByTransactionIdStddevSampleTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_SAMPLE_TRANSACTION_ID_DESC', + ConfidentialAssetHistoriesByTransactionIdStddevSampleUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', + ConfidentialAssetHistoriesByTransactionIdStddevSampleUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', + ConfidentialAssetHistoriesByTransactionIdStddevSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByTransactionIdStddevSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByTransactionIdSumAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_SUM_AMOUNT_ASC', + ConfidentialAssetHistoriesByTransactionIdSumAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_SUM_AMOUNT_DESC', + ConfidentialAssetHistoriesByTransactionIdSumAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_SUM_ASSET_ID_ASC', + ConfidentialAssetHistoriesByTransactionIdSumAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_SUM_ASSET_ID_DESC', + ConfidentialAssetHistoriesByTransactionIdSumCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_SUM_CREATED_AT_ASC', + ConfidentialAssetHistoriesByTransactionIdSumCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_SUM_CREATED_AT_DESC', + ConfidentialAssetHistoriesByTransactionIdSumCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_SUM_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByTransactionIdSumCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_SUM_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByTransactionIdSumDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_SUM_DATETIME_ASC', + ConfidentialAssetHistoriesByTransactionIdSumDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_SUM_DATETIME_DESC', + ConfidentialAssetHistoriesByTransactionIdSumEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_SUM_EVENT_IDX_ASC', + ConfidentialAssetHistoriesByTransactionIdSumEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_SUM_EVENT_IDX_DESC', + ConfidentialAssetHistoriesByTransactionIdSumEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_SUM_EVENT_ID_ASC', + ConfidentialAssetHistoriesByTransactionIdSumEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_SUM_EVENT_ID_DESC', + ConfidentialAssetHistoriesByTransactionIdSumExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_SUM_EXTRINSIC_IDX_ASC', + ConfidentialAssetHistoriesByTransactionIdSumExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_SUM_EXTRINSIC_IDX_DESC', + ConfidentialAssetHistoriesByTransactionIdSumFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_SUM_FROM_ID_ASC', + ConfidentialAssetHistoriesByTransactionIdSumFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_SUM_FROM_ID_DESC', + ConfidentialAssetHistoriesByTransactionIdSumIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_SUM_ID_ASC', + ConfidentialAssetHistoriesByTransactionIdSumIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_SUM_ID_DESC', + ConfidentialAssetHistoriesByTransactionIdSumMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_SUM_MEMO_ASC', + ConfidentialAssetHistoriesByTransactionIdSumMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_SUM_MEMO_DESC', + ConfidentialAssetHistoriesByTransactionIdSumToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_SUM_TO_ID_ASC', + ConfidentialAssetHistoriesByTransactionIdSumToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_SUM_TO_ID_DESC', + ConfidentialAssetHistoriesByTransactionIdSumTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_SUM_TRANSACTION_ID_ASC', + ConfidentialAssetHistoriesByTransactionIdSumTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_SUM_TRANSACTION_ID_DESC', + ConfidentialAssetHistoriesByTransactionIdSumUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_SUM_UPDATED_AT_ASC', + ConfidentialAssetHistoriesByTransactionIdSumUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_SUM_UPDATED_AT_DESC', + ConfidentialAssetHistoriesByTransactionIdSumUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_SUM_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByTransactionIdSumUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_SUM_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByTransactionIdVariancePopulationAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_POPULATION_AMOUNT_ASC', + ConfidentialAssetHistoriesByTransactionIdVariancePopulationAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_POPULATION_AMOUNT_DESC', + ConfidentialAssetHistoriesByTransactionIdVariancePopulationAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_POPULATION_ASSET_ID_ASC', + ConfidentialAssetHistoriesByTransactionIdVariancePopulationAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_POPULATION_ASSET_ID_DESC', + ConfidentialAssetHistoriesByTransactionIdVariancePopulationCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_POPULATION_CREATED_AT_ASC', + ConfidentialAssetHistoriesByTransactionIdVariancePopulationCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_POPULATION_CREATED_AT_DESC', + ConfidentialAssetHistoriesByTransactionIdVariancePopulationCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByTransactionIdVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByTransactionIdVariancePopulationDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_POPULATION_DATETIME_ASC', + ConfidentialAssetHistoriesByTransactionIdVariancePopulationDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_POPULATION_DATETIME_DESC', + ConfidentialAssetHistoriesByTransactionIdVariancePopulationEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', + ConfidentialAssetHistoriesByTransactionIdVariancePopulationEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', + ConfidentialAssetHistoriesByTransactionIdVariancePopulationEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_POPULATION_EVENT_ID_ASC', + ConfidentialAssetHistoriesByTransactionIdVariancePopulationEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_POPULATION_EVENT_ID_DESC', + ConfidentialAssetHistoriesByTransactionIdVariancePopulationExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_POPULATION_EXTRINSIC_IDX_ASC', + ConfidentialAssetHistoriesByTransactionIdVariancePopulationExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_POPULATION_EXTRINSIC_IDX_DESC', + ConfidentialAssetHistoriesByTransactionIdVariancePopulationFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_POPULATION_FROM_ID_ASC', + ConfidentialAssetHistoriesByTransactionIdVariancePopulationFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_POPULATION_FROM_ID_DESC', + ConfidentialAssetHistoriesByTransactionIdVariancePopulationIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_POPULATION_ID_ASC', + ConfidentialAssetHistoriesByTransactionIdVariancePopulationIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_POPULATION_ID_DESC', + ConfidentialAssetHistoriesByTransactionIdVariancePopulationMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_POPULATION_MEMO_ASC', + ConfidentialAssetHistoriesByTransactionIdVariancePopulationMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_POPULATION_MEMO_DESC', + ConfidentialAssetHistoriesByTransactionIdVariancePopulationToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_POPULATION_TO_ID_ASC', + ConfidentialAssetHistoriesByTransactionIdVariancePopulationToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_POPULATION_TO_ID_DESC', + ConfidentialAssetHistoriesByTransactionIdVariancePopulationTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_POPULATION_TRANSACTION_ID_ASC', + ConfidentialAssetHistoriesByTransactionIdVariancePopulationTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_POPULATION_TRANSACTION_ID_DESC', + ConfidentialAssetHistoriesByTransactionIdVariancePopulationUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', + ConfidentialAssetHistoriesByTransactionIdVariancePopulationUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', + ConfidentialAssetHistoriesByTransactionIdVariancePopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByTransactionIdVariancePopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByTransactionIdVarianceSampleAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_SAMPLE_AMOUNT_ASC', + ConfidentialAssetHistoriesByTransactionIdVarianceSampleAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_SAMPLE_AMOUNT_DESC', + ConfidentialAssetHistoriesByTransactionIdVarianceSampleAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_SAMPLE_ASSET_ID_ASC', + ConfidentialAssetHistoriesByTransactionIdVarianceSampleAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_SAMPLE_ASSET_ID_DESC', + ConfidentialAssetHistoriesByTransactionIdVarianceSampleCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', + ConfidentialAssetHistoriesByTransactionIdVarianceSampleCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', + ConfidentialAssetHistoriesByTransactionIdVarianceSampleCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByTransactionIdVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHistoriesByTransactionIdVarianceSampleDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_SAMPLE_DATETIME_ASC', + ConfidentialAssetHistoriesByTransactionIdVarianceSampleDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_SAMPLE_DATETIME_DESC', + ConfidentialAssetHistoriesByTransactionIdVarianceSampleEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', + ConfidentialAssetHistoriesByTransactionIdVarianceSampleEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', + ConfidentialAssetHistoriesByTransactionIdVarianceSampleEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_SAMPLE_EVENT_ID_ASC', + ConfidentialAssetHistoriesByTransactionIdVarianceSampleEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_SAMPLE_EVENT_ID_DESC', + ConfidentialAssetHistoriesByTransactionIdVarianceSampleExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_SAMPLE_EXTRINSIC_IDX_ASC', + ConfidentialAssetHistoriesByTransactionIdVarianceSampleExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_SAMPLE_EXTRINSIC_IDX_DESC', + ConfidentialAssetHistoriesByTransactionIdVarianceSampleFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_SAMPLE_FROM_ID_ASC', + ConfidentialAssetHistoriesByTransactionIdVarianceSampleFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_SAMPLE_FROM_ID_DESC', + ConfidentialAssetHistoriesByTransactionIdVarianceSampleIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_SAMPLE_ID_ASC', + ConfidentialAssetHistoriesByTransactionIdVarianceSampleIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_SAMPLE_ID_DESC', + ConfidentialAssetHistoriesByTransactionIdVarianceSampleMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_SAMPLE_MEMO_ASC', + ConfidentialAssetHistoriesByTransactionIdVarianceSampleMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_SAMPLE_MEMO_DESC', + ConfidentialAssetHistoriesByTransactionIdVarianceSampleToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_SAMPLE_TO_ID_ASC', + ConfidentialAssetHistoriesByTransactionIdVarianceSampleToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_SAMPLE_TO_ID_DESC', + ConfidentialAssetHistoriesByTransactionIdVarianceSampleTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_SAMPLE_TRANSACTION_ID_ASC', + ConfidentialAssetHistoriesByTransactionIdVarianceSampleTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_SAMPLE_TRANSACTION_ID_DESC', + ConfidentialAssetHistoriesByTransactionIdVarianceSampleUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', + ConfidentialAssetHistoriesByTransactionIdVarianceSampleUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', + ConfidentialAssetHistoriesByTransactionIdVarianceSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetHistoriesByTransactionIdVarianceSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', CreatedAtAsc = 'CREATED_AT_ASC', CreatedAtDesc = 'CREATED_AT_DESC', CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', - CustomClaimTypeIdAsc = 'CUSTOM_CLAIM_TYPE_ID_ASC', - CustomClaimTypeIdDesc = 'CUSTOM_CLAIM_TYPE_ID_DESC', EventIdxAsc = 'EVENT_IDX_ASC', EventIdxDesc = 'EVENT_IDX_DESC', - ExpiryAsc = 'EXPIRY_ASC', - ExpiryDesc = 'EXPIRY_DESC', - FilterExpiryAsc = 'FILTER_EXPIRY_ASC', - FilterExpiryDesc = 'FILTER_EXPIRY_DESC', + EventIdAsc = 'EVENT_ID_ASC', + EventIdDesc = 'EVENT_ID_DESC', IdAsc = 'ID_ASC', IdDesc = 'ID_DESC', - IssuanceDateAsc = 'ISSUANCE_DATE_ASC', - IssuanceDateDesc = 'ISSUANCE_DATE_DESC', - IssuerIdAsc = 'ISSUER_ID_ASC', - IssuerIdDesc = 'ISSUER_ID_DESC', - JurisdictionAsc = 'JURISDICTION_ASC', - JurisdictionDesc = 'JURISDICTION_DESC', - LastUpdateDateAsc = 'LAST_UPDATE_DATE_ASC', - LastUpdateDateDesc = 'LAST_UPDATE_DATE_DESC', + LegsAverageAssetAuditorsAsc = 'LEGS_AVERAGE_ASSET_AUDITORS_ASC', + LegsAverageAssetAuditorsDesc = 'LEGS_AVERAGE_ASSET_AUDITORS_DESC', + LegsAverageCreatedAtAsc = 'LEGS_AVERAGE_CREATED_AT_ASC', + LegsAverageCreatedAtDesc = 'LEGS_AVERAGE_CREATED_AT_DESC', + LegsAverageCreatedBlockIdAsc = 'LEGS_AVERAGE_CREATED_BLOCK_ID_ASC', + LegsAverageCreatedBlockIdDesc = 'LEGS_AVERAGE_CREATED_BLOCK_ID_DESC', + LegsAverageIdAsc = 'LEGS_AVERAGE_ID_ASC', + LegsAverageIdDesc = 'LEGS_AVERAGE_ID_DESC', + LegsAverageMediatorsAsc = 'LEGS_AVERAGE_MEDIATORS_ASC', + LegsAverageMediatorsDesc = 'LEGS_AVERAGE_MEDIATORS_DESC', + LegsAverageReceiverIdAsc = 'LEGS_AVERAGE_RECEIVER_ID_ASC', + LegsAverageReceiverIdDesc = 'LEGS_AVERAGE_RECEIVER_ID_DESC', + LegsAverageSenderIdAsc = 'LEGS_AVERAGE_SENDER_ID_ASC', + LegsAverageSenderIdDesc = 'LEGS_AVERAGE_SENDER_ID_DESC', + LegsAverageTransactionIdAsc = 'LEGS_AVERAGE_TRANSACTION_ID_ASC', + LegsAverageTransactionIdDesc = 'LEGS_AVERAGE_TRANSACTION_ID_DESC', + LegsAverageUpdatedAtAsc = 'LEGS_AVERAGE_UPDATED_AT_ASC', + LegsAverageUpdatedAtDesc = 'LEGS_AVERAGE_UPDATED_AT_DESC', + LegsAverageUpdatedBlockIdAsc = 'LEGS_AVERAGE_UPDATED_BLOCK_ID_ASC', + LegsAverageUpdatedBlockIdDesc = 'LEGS_AVERAGE_UPDATED_BLOCK_ID_DESC', + LegsCountAsc = 'LEGS_COUNT_ASC', + LegsCountDesc = 'LEGS_COUNT_DESC', + LegsDistinctCountAssetAuditorsAsc = 'LEGS_DISTINCT_COUNT_ASSET_AUDITORS_ASC', + LegsDistinctCountAssetAuditorsDesc = 'LEGS_DISTINCT_COUNT_ASSET_AUDITORS_DESC', + LegsDistinctCountCreatedAtAsc = 'LEGS_DISTINCT_COUNT_CREATED_AT_ASC', + LegsDistinctCountCreatedAtDesc = 'LEGS_DISTINCT_COUNT_CREATED_AT_DESC', + LegsDistinctCountCreatedBlockIdAsc = 'LEGS_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', + LegsDistinctCountCreatedBlockIdDesc = 'LEGS_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', + LegsDistinctCountIdAsc = 'LEGS_DISTINCT_COUNT_ID_ASC', + LegsDistinctCountIdDesc = 'LEGS_DISTINCT_COUNT_ID_DESC', + LegsDistinctCountMediatorsAsc = 'LEGS_DISTINCT_COUNT_MEDIATORS_ASC', + LegsDistinctCountMediatorsDesc = 'LEGS_DISTINCT_COUNT_MEDIATORS_DESC', + LegsDistinctCountReceiverIdAsc = 'LEGS_DISTINCT_COUNT_RECEIVER_ID_ASC', + LegsDistinctCountReceiverIdDesc = 'LEGS_DISTINCT_COUNT_RECEIVER_ID_DESC', + LegsDistinctCountSenderIdAsc = 'LEGS_DISTINCT_COUNT_SENDER_ID_ASC', + LegsDistinctCountSenderIdDesc = 'LEGS_DISTINCT_COUNT_SENDER_ID_DESC', + LegsDistinctCountTransactionIdAsc = 'LEGS_DISTINCT_COUNT_TRANSACTION_ID_ASC', + LegsDistinctCountTransactionIdDesc = 'LEGS_DISTINCT_COUNT_TRANSACTION_ID_DESC', + LegsDistinctCountUpdatedAtAsc = 'LEGS_DISTINCT_COUNT_UPDATED_AT_ASC', + LegsDistinctCountUpdatedAtDesc = 'LEGS_DISTINCT_COUNT_UPDATED_AT_DESC', + LegsDistinctCountUpdatedBlockIdAsc = 'LEGS_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', + LegsDistinctCountUpdatedBlockIdDesc = 'LEGS_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', + LegsMaxAssetAuditorsAsc = 'LEGS_MAX_ASSET_AUDITORS_ASC', + LegsMaxAssetAuditorsDesc = 'LEGS_MAX_ASSET_AUDITORS_DESC', + LegsMaxCreatedAtAsc = 'LEGS_MAX_CREATED_AT_ASC', + LegsMaxCreatedAtDesc = 'LEGS_MAX_CREATED_AT_DESC', + LegsMaxCreatedBlockIdAsc = 'LEGS_MAX_CREATED_BLOCK_ID_ASC', + LegsMaxCreatedBlockIdDesc = 'LEGS_MAX_CREATED_BLOCK_ID_DESC', + LegsMaxIdAsc = 'LEGS_MAX_ID_ASC', + LegsMaxIdDesc = 'LEGS_MAX_ID_DESC', + LegsMaxMediatorsAsc = 'LEGS_MAX_MEDIATORS_ASC', + LegsMaxMediatorsDesc = 'LEGS_MAX_MEDIATORS_DESC', + LegsMaxReceiverIdAsc = 'LEGS_MAX_RECEIVER_ID_ASC', + LegsMaxReceiverIdDesc = 'LEGS_MAX_RECEIVER_ID_DESC', + LegsMaxSenderIdAsc = 'LEGS_MAX_SENDER_ID_ASC', + LegsMaxSenderIdDesc = 'LEGS_MAX_SENDER_ID_DESC', + LegsMaxTransactionIdAsc = 'LEGS_MAX_TRANSACTION_ID_ASC', + LegsMaxTransactionIdDesc = 'LEGS_MAX_TRANSACTION_ID_DESC', + LegsMaxUpdatedAtAsc = 'LEGS_MAX_UPDATED_AT_ASC', + LegsMaxUpdatedAtDesc = 'LEGS_MAX_UPDATED_AT_DESC', + LegsMaxUpdatedBlockIdAsc = 'LEGS_MAX_UPDATED_BLOCK_ID_ASC', + LegsMaxUpdatedBlockIdDesc = 'LEGS_MAX_UPDATED_BLOCK_ID_DESC', + LegsMinAssetAuditorsAsc = 'LEGS_MIN_ASSET_AUDITORS_ASC', + LegsMinAssetAuditorsDesc = 'LEGS_MIN_ASSET_AUDITORS_DESC', + LegsMinCreatedAtAsc = 'LEGS_MIN_CREATED_AT_ASC', + LegsMinCreatedAtDesc = 'LEGS_MIN_CREATED_AT_DESC', + LegsMinCreatedBlockIdAsc = 'LEGS_MIN_CREATED_BLOCK_ID_ASC', + LegsMinCreatedBlockIdDesc = 'LEGS_MIN_CREATED_BLOCK_ID_DESC', + LegsMinIdAsc = 'LEGS_MIN_ID_ASC', + LegsMinIdDesc = 'LEGS_MIN_ID_DESC', + LegsMinMediatorsAsc = 'LEGS_MIN_MEDIATORS_ASC', + LegsMinMediatorsDesc = 'LEGS_MIN_MEDIATORS_DESC', + LegsMinReceiverIdAsc = 'LEGS_MIN_RECEIVER_ID_ASC', + LegsMinReceiverIdDesc = 'LEGS_MIN_RECEIVER_ID_DESC', + LegsMinSenderIdAsc = 'LEGS_MIN_SENDER_ID_ASC', + LegsMinSenderIdDesc = 'LEGS_MIN_SENDER_ID_DESC', + LegsMinTransactionIdAsc = 'LEGS_MIN_TRANSACTION_ID_ASC', + LegsMinTransactionIdDesc = 'LEGS_MIN_TRANSACTION_ID_DESC', + LegsMinUpdatedAtAsc = 'LEGS_MIN_UPDATED_AT_ASC', + LegsMinUpdatedAtDesc = 'LEGS_MIN_UPDATED_AT_DESC', + LegsMinUpdatedBlockIdAsc = 'LEGS_MIN_UPDATED_BLOCK_ID_ASC', + LegsMinUpdatedBlockIdDesc = 'LEGS_MIN_UPDATED_BLOCK_ID_DESC', + LegsStddevPopulationAssetAuditorsAsc = 'LEGS_STDDEV_POPULATION_ASSET_AUDITORS_ASC', + LegsStddevPopulationAssetAuditorsDesc = 'LEGS_STDDEV_POPULATION_ASSET_AUDITORS_DESC', + LegsStddevPopulationCreatedAtAsc = 'LEGS_STDDEV_POPULATION_CREATED_AT_ASC', + LegsStddevPopulationCreatedAtDesc = 'LEGS_STDDEV_POPULATION_CREATED_AT_DESC', + LegsStddevPopulationCreatedBlockIdAsc = 'LEGS_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', + LegsStddevPopulationCreatedBlockIdDesc = 'LEGS_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', + LegsStddevPopulationIdAsc = 'LEGS_STDDEV_POPULATION_ID_ASC', + LegsStddevPopulationIdDesc = 'LEGS_STDDEV_POPULATION_ID_DESC', + LegsStddevPopulationMediatorsAsc = 'LEGS_STDDEV_POPULATION_MEDIATORS_ASC', + LegsStddevPopulationMediatorsDesc = 'LEGS_STDDEV_POPULATION_MEDIATORS_DESC', + LegsStddevPopulationReceiverIdAsc = 'LEGS_STDDEV_POPULATION_RECEIVER_ID_ASC', + LegsStddevPopulationReceiverIdDesc = 'LEGS_STDDEV_POPULATION_RECEIVER_ID_DESC', + LegsStddevPopulationSenderIdAsc = 'LEGS_STDDEV_POPULATION_SENDER_ID_ASC', + LegsStddevPopulationSenderIdDesc = 'LEGS_STDDEV_POPULATION_SENDER_ID_DESC', + LegsStddevPopulationTransactionIdAsc = 'LEGS_STDDEV_POPULATION_TRANSACTION_ID_ASC', + LegsStddevPopulationTransactionIdDesc = 'LEGS_STDDEV_POPULATION_TRANSACTION_ID_DESC', + LegsStddevPopulationUpdatedAtAsc = 'LEGS_STDDEV_POPULATION_UPDATED_AT_ASC', + LegsStddevPopulationUpdatedAtDesc = 'LEGS_STDDEV_POPULATION_UPDATED_AT_DESC', + LegsStddevPopulationUpdatedBlockIdAsc = 'LEGS_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', + LegsStddevPopulationUpdatedBlockIdDesc = 'LEGS_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', + LegsStddevSampleAssetAuditorsAsc = 'LEGS_STDDEV_SAMPLE_ASSET_AUDITORS_ASC', + LegsStddevSampleAssetAuditorsDesc = 'LEGS_STDDEV_SAMPLE_ASSET_AUDITORS_DESC', + LegsStddevSampleCreatedAtAsc = 'LEGS_STDDEV_SAMPLE_CREATED_AT_ASC', + LegsStddevSampleCreatedAtDesc = 'LEGS_STDDEV_SAMPLE_CREATED_AT_DESC', + LegsStddevSampleCreatedBlockIdAsc = 'LEGS_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', + LegsStddevSampleCreatedBlockIdDesc = 'LEGS_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', + LegsStddevSampleIdAsc = 'LEGS_STDDEV_SAMPLE_ID_ASC', + LegsStddevSampleIdDesc = 'LEGS_STDDEV_SAMPLE_ID_DESC', + LegsStddevSampleMediatorsAsc = 'LEGS_STDDEV_SAMPLE_MEDIATORS_ASC', + LegsStddevSampleMediatorsDesc = 'LEGS_STDDEV_SAMPLE_MEDIATORS_DESC', + LegsStddevSampleReceiverIdAsc = 'LEGS_STDDEV_SAMPLE_RECEIVER_ID_ASC', + LegsStddevSampleReceiverIdDesc = 'LEGS_STDDEV_SAMPLE_RECEIVER_ID_DESC', + LegsStddevSampleSenderIdAsc = 'LEGS_STDDEV_SAMPLE_SENDER_ID_ASC', + LegsStddevSampleSenderIdDesc = 'LEGS_STDDEV_SAMPLE_SENDER_ID_DESC', + LegsStddevSampleTransactionIdAsc = 'LEGS_STDDEV_SAMPLE_TRANSACTION_ID_ASC', + LegsStddevSampleTransactionIdDesc = 'LEGS_STDDEV_SAMPLE_TRANSACTION_ID_DESC', + LegsStddevSampleUpdatedAtAsc = 'LEGS_STDDEV_SAMPLE_UPDATED_AT_ASC', + LegsStddevSampleUpdatedAtDesc = 'LEGS_STDDEV_SAMPLE_UPDATED_AT_DESC', + LegsStddevSampleUpdatedBlockIdAsc = 'LEGS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', + LegsStddevSampleUpdatedBlockIdDesc = 'LEGS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', + LegsSumAssetAuditorsAsc = 'LEGS_SUM_ASSET_AUDITORS_ASC', + LegsSumAssetAuditorsDesc = 'LEGS_SUM_ASSET_AUDITORS_DESC', + LegsSumCreatedAtAsc = 'LEGS_SUM_CREATED_AT_ASC', + LegsSumCreatedAtDesc = 'LEGS_SUM_CREATED_AT_DESC', + LegsSumCreatedBlockIdAsc = 'LEGS_SUM_CREATED_BLOCK_ID_ASC', + LegsSumCreatedBlockIdDesc = 'LEGS_SUM_CREATED_BLOCK_ID_DESC', + LegsSumIdAsc = 'LEGS_SUM_ID_ASC', + LegsSumIdDesc = 'LEGS_SUM_ID_DESC', + LegsSumMediatorsAsc = 'LEGS_SUM_MEDIATORS_ASC', + LegsSumMediatorsDesc = 'LEGS_SUM_MEDIATORS_DESC', + LegsSumReceiverIdAsc = 'LEGS_SUM_RECEIVER_ID_ASC', + LegsSumReceiverIdDesc = 'LEGS_SUM_RECEIVER_ID_DESC', + LegsSumSenderIdAsc = 'LEGS_SUM_SENDER_ID_ASC', + LegsSumSenderIdDesc = 'LEGS_SUM_SENDER_ID_DESC', + LegsSumTransactionIdAsc = 'LEGS_SUM_TRANSACTION_ID_ASC', + LegsSumTransactionIdDesc = 'LEGS_SUM_TRANSACTION_ID_DESC', + LegsSumUpdatedAtAsc = 'LEGS_SUM_UPDATED_AT_ASC', + LegsSumUpdatedAtDesc = 'LEGS_SUM_UPDATED_AT_DESC', + LegsSumUpdatedBlockIdAsc = 'LEGS_SUM_UPDATED_BLOCK_ID_ASC', + LegsSumUpdatedBlockIdDesc = 'LEGS_SUM_UPDATED_BLOCK_ID_DESC', + LegsVariancePopulationAssetAuditorsAsc = 'LEGS_VARIANCE_POPULATION_ASSET_AUDITORS_ASC', + LegsVariancePopulationAssetAuditorsDesc = 'LEGS_VARIANCE_POPULATION_ASSET_AUDITORS_DESC', + LegsVariancePopulationCreatedAtAsc = 'LEGS_VARIANCE_POPULATION_CREATED_AT_ASC', + LegsVariancePopulationCreatedAtDesc = 'LEGS_VARIANCE_POPULATION_CREATED_AT_DESC', + LegsVariancePopulationCreatedBlockIdAsc = 'LEGS_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', + LegsVariancePopulationCreatedBlockIdDesc = 'LEGS_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', + LegsVariancePopulationIdAsc = 'LEGS_VARIANCE_POPULATION_ID_ASC', + LegsVariancePopulationIdDesc = 'LEGS_VARIANCE_POPULATION_ID_DESC', + LegsVariancePopulationMediatorsAsc = 'LEGS_VARIANCE_POPULATION_MEDIATORS_ASC', + LegsVariancePopulationMediatorsDesc = 'LEGS_VARIANCE_POPULATION_MEDIATORS_DESC', + LegsVariancePopulationReceiverIdAsc = 'LEGS_VARIANCE_POPULATION_RECEIVER_ID_ASC', + LegsVariancePopulationReceiverIdDesc = 'LEGS_VARIANCE_POPULATION_RECEIVER_ID_DESC', + LegsVariancePopulationSenderIdAsc = 'LEGS_VARIANCE_POPULATION_SENDER_ID_ASC', + LegsVariancePopulationSenderIdDesc = 'LEGS_VARIANCE_POPULATION_SENDER_ID_DESC', + LegsVariancePopulationTransactionIdAsc = 'LEGS_VARIANCE_POPULATION_TRANSACTION_ID_ASC', + LegsVariancePopulationTransactionIdDesc = 'LEGS_VARIANCE_POPULATION_TRANSACTION_ID_DESC', + LegsVariancePopulationUpdatedAtAsc = 'LEGS_VARIANCE_POPULATION_UPDATED_AT_ASC', + LegsVariancePopulationUpdatedAtDesc = 'LEGS_VARIANCE_POPULATION_UPDATED_AT_DESC', + LegsVariancePopulationUpdatedBlockIdAsc = 'LEGS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', + LegsVariancePopulationUpdatedBlockIdDesc = 'LEGS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', + LegsVarianceSampleAssetAuditorsAsc = 'LEGS_VARIANCE_SAMPLE_ASSET_AUDITORS_ASC', + LegsVarianceSampleAssetAuditorsDesc = 'LEGS_VARIANCE_SAMPLE_ASSET_AUDITORS_DESC', + LegsVarianceSampleCreatedAtAsc = 'LEGS_VARIANCE_SAMPLE_CREATED_AT_ASC', + LegsVarianceSampleCreatedAtDesc = 'LEGS_VARIANCE_SAMPLE_CREATED_AT_DESC', + LegsVarianceSampleCreatedBlockIdAsc = 'LEGS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', + LegsVarianceSampleCreatedBlockIdDesc = 'LEGS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', + LegsVarianceSampleIdAsc = 'LEGS_VARIANCE_SAMPLE_ID_ASC', + LegsVarianceSampleIdDesc = 'LEGS_VARIANCE_SAMPLE_ID_DESC', + LegsVarianceSampleMediatorsAsc = 'LEGS_VARIANCE_SAMPLE_MEDIATORS_ASC', + LegsVarianceSampleMediatorsDesc = 'LEGS_VARIANCE_SAMPLE_MEDIATORS_DESC', + LegsVarianceSampleReceiverIdAsc = 'LEGS_VARIANCE_SAMPLE_RECEIVER_ID_ASC', + LegsVarianceSampleReceiverIdDesc = 'LEGS_VARIANCE_SAMPLE_RECEIVER_ID_DESC', + LegsVarianceSampleSenderIdAsc = 'LEGS_VARIANCE_SAMPLE_SENDER_ID_ASC', + LegsVarianceSampleSenderIdDesc = 'LEGS_VARIANCE_SAMPLE_SENDER_ID_DESC', + LegsVarianceSampleTransactionIdAsc = 'LEGS_VARIANCE_SAMPLE_TRANSACTION_ID_ASC', + LegsVarianceSampleTransactionIdDesc = 'LEGS_VARIANCE_SAMPLE_TRANSACTION_ID_DESC', + LegsVarianceSampleUpdatedAtAsc = 'LEGS_VARIANCE_SAMPLE_UPDATED_AT_ASC', + LegsVarianceSampleUpdatedAtDesc = 'LEGS_VARIANCE_SAMPLE_UPDATED_AT_DESC', + LegsVarianceSampleUpdatedBlockIdAsc = 'LEGS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', + LegsVarianceSampleUpdatedBlockIdDesc = 'LEGS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', + MemoAsc = 'MEMO_ASC', + MemoDesc = 'MEMO_DESC', Natural = 'NATURAL', + PendingAffirmationsAsc = 'PENDING_AFFIRMATIONS_ASC', + PendingAffirmationsDesc = 'PENDING_AFFIRMATIONS_DESC', PrimaryKeyAsc = 'PRIMARY_KEY_ASC', PrimaryKeyDesc = 'PRIMARY_KEY_DESC', - RevokeDateAsc = 'REVOKE_DATE_ASC', - RevokeDateDesc = 'REVOKE_DATE_DESC', - ScopeAsc = 'SCOPE_ASC', - ScopeDesc = 'SCOPE_DESC', - TargetIdAsc = 'TARGET_ID_ASC', - TargetIdDesc = 'TARGET_ID_DESC', - TypeAsc = 'TYPE_ASC', - TypeDesc = 'TYPE_DESC', + StatusAsc = 'STATUS_ASC', + StatusDesc = 'STATUS_DESC', UpdatedAtAsc = 'UPDATED_AT_ASC', UpdatedAtDesc = 'UPDATED_AT_DESC', UpdatedBlockIdAsc = 'UPDATED_BLOCK_ID_ASC', UpdatedBlockIdDesc = 'UPDATED_BLOCK_ID_DESC', + VenueIdAsc = 'VENUE_ID_ASC', + VenueIdDesc = 'VENUE_ID_DESC', } -/** - * Represents a restriction all investor must comply with for a given Asset - * - * e.g. All investors must be German citizens - */ -export type Compliance = Node & { - __typename?: 'Compliance'; - /** Reads a single `Asset` that is related to this `Compliance`. */ - asset?: Maybe; - assetId: Scalars['String']['output']; - complianceId: Scalars['Int']['output']; +/** Represents a confidential venue */ +export type ConfidentialVenue = Node & { + __typename?: 'ConfidentialVenue'; + /** Reads and enables pagination through a set of `Block`. */ + blocksByConfidentialTransactionVenueIdAndCreatedBlockId: ConfidentialVenueBlocksByConfidentialTransactionVenueIdAndCreatedBlockIdManyToManyConnection; + /** Reads and enables pagination through a set of `Block`. */ + blocksByConfidentialTransactionVenueIdAndUpdatedBlockId: ConfidentialVenueBlocksByConfidentialTransactionVenueIdAndUpdatedBlockIdManyToManyConnection; + /** Reads and enables pagination through a set of `ConfidentialTransaction`. */ + confidentialTransactionsByVenueId: ConfidentialTransactionsConnection; createdAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `Compliance`. */ + /** Reads a single `Block` that is related to this `ConfidentialVenue`. */ createdBlock?: Maybe; createdBlockId: Scalars['String']['output']; - data: Scalars['String']['output']; + /** Reads a single `Identity` that is related to this `ConfidentialVenue`. */ + creator?: Maybe; + creatorId: Scalars['String']['output']; id: Scalars['String']['output']; /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ nodeId: Scalars['ID']['output']; updatedAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `Compliance`. */ + /** Reads a single `Block` that is related to this `ConfidentialVenue`. */ updatedBlock?: Maybe; updatedBlockId: Scalars['String']['output']; + venueId: Scalars['Int']['output']; }; -export type ComplianceAggregates = { - __typename?: 'ComplianceAggregates'; +/** Represents a confidential venue */ +export type ConfidentialVenueBlocksByConfidentialTransactionVenueIdAndCreatedBlockIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** Represents a confidential venue */ +export type ConfidentialVenueBlocksByConfidentialTransactionVenueIdAndUpdatedBlockIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** Represents a confidential venue */ +export type ConfidentialVenueConfidentialTransactionsByVenueIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +export type ConfidentialVenueAggregates = { + __typename?: 'ConfidentialVenueAggregates'; /** Mean average aggregates across the matching connection (ignoring before/after/first/last/offset) */ - average?: Maybe; + average?: Maybe; /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ - distinctCount?: Maybe; + distinctCount?: Maybe; keys?: Maybe>; /** Maximum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - max?: Maybe; + max?: Maybe; /** Minimum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - min?: Maybe; + min?: Maybe; /** Population standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevPopulation?: Maybe; + stddevPopulation?: Maybe; /** Sample standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevSample?: Maybe; + stddevSample?: Maybe; /** Sum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - sum?: Maybe; + sum?: Maybe; /** Population variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - variancePopulation?: Maybe; + variancePopulation?: Maybe; /** Sample variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - varianceSample?: Maybe; -}; + varianceSample?: Maybe; +}; + +/** A filter to be used against aggregates of `ConfidentialVenue` object types. */ +export type ConfidentialVenueAggregatesFilter = { + /** Mean average aggregate over matching `ConfidentialVenue` objects. */ + average?: InputMaybe; + /** Distinct count aggregate over matching `ConfidentialVenue` objects. */ + distinctCount?: InputMaybe; + /** A filter that must pass for the relevant `ConfidentialVenue` object to be included within the aggregate. */ + filter?: InputMaybe; + /** Maximum aggregate over matching `ConfidentialVenue` objects. */ + max?: InputMaybe; + /** Minimum aggregate over matching `ConfidentialVenue` objects. */ + min?: InputMaybe; + /** Population standard deviation aggregate over matching `ConfidentialVenue` objects. */ + stddevPopulation?: InputMaybe; + /** Sample standard deviation aggregate over matching `ConfidentialVenue` objects. */ + stddevSample?: InputMaybe; + /** Sum aggregate over matching `ConfidentialVenue` objects. */ + sum?: InputMaybe; + /** Population variance aggregate over matching `ConfidentialVenue` objects. */ + variancePopulation?: InputMaybe; + /** Sample variance aggregate over matching `ConfidentialVenue` objects. */ + varianceSample?: InputMaybe; +}; + +export type ConfidentialVenueAverageAggregateFilter = { + venueId?: InputMaybe; +}; + +export type ConfidentialVenueAverageAggregates = { + __typename?: 'ConfidentialVenueAverageAggregates'; + /** Mean average of venueId across the matching connection */ + venueId?: Maybe; +}; + +/** A connection to a list of `Block` values, with data from `ConfidentialTransaction`. */ +export type ConfidentialVenueBlocksByConfidentialTransactionVenueIdAndCreatedBlockIdManyToManyConnection = + { + __typename?: 'ConfidentialVenueBlocksByConfidentialTransactionVenueIdAndCreatedBlockIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Block`, info from the `ConfidentialTransaction`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Block` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Block` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; -/** A filter to be used against aggregates of `Compliance` object types. */ -export type ComplianceAggregatesFilter = { - /** Mean average aggregate over matching `Compliance` objects. */ - average?: InputMaybe; - /** Distinct count aggregate over matching `Compliance` objects. */ - distinctCount?: InputMaybe; - /** A filter that must pass for the relevant `Compliance` object to be included within the aggregate. */ - filter?: InputMaybe; - /** Maximum aggregate over matching `Compliance` objects. */ - max?: InputMaybe; - /** Minimum aggregate over matching `Compliance` objects. */ - min?: InputMaybe; - /** Population standard deviation aggregate over matching `Compliance` objects. */ - stddevPopulation?: InputMaybe; - /** Sample standard deviation aggregate over matching `Compliance` objects. */ - stddevSample?: InputMaybe; - /** Sum aggregate over matching `Compliance` objects. */ - sum?: InputMaybe; - /** Population variance aggregate over matching `Compliance` objects. */ - variancePopulation?: InputMaybe; - /** Sample variance aggregate over matching `Compliance` objects. */ - varianceSample?: InputMaybe; -}; +/** A connection to a list of `Block` values, with data from `ConfidentialTransaction`. */ +export type ConfidentialVenueBlocksByConfidentialTransactionVenueIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; -export type ComplianceAverageAggregateFilter = { - complianceId?: InputMaybe; -}; +/** A `Block` edge in the connection, with data from `ConfidentialTransaction`. */ +export type ConfidentialVenueBlocksByConfidentialTransactionVenueIdAndCreatedBlockIdManyToManyEdge = + { + __typename?: 'ConfidentialVenueBlocksByConfidentialTransactionVenueIdAndCreatedBlockIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialTransaction`. */ + confidentialTransactionsByCreatedBlockId: ConfidentialTransactionsConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Block` at the end of the edge. */ + node?: Maybe; + }; -export type ComplianceAverageAggregates = { - __typename?: 'ComplianceAverageAggregates'; - /** Mean average of complianceId across the matching connection */ - complianceId?: Maybe; -}; +/** A `Block` edge in the connection, with data from `ConfidentialTransaction`. */ +export type ConfidentialVenueBlocksByConfidentialTransactionVenueIdAndCreatedBlockIdManyToManyEdgeConfidentialTransactionsByCreatedBlockIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; -export type ComplianceDistinctCountAggregateFilter = { - assetId?: InputMaybe; - complianceId?: InputMaybe; +/** A connection to a list of `Block` values, with data from `ConfidentialTransaction`. */ +export type ConfidentialVenueBlocksByConfidentialTransactionVenueIdAndUpdatedBlockIdManyToManyConnection = + { + __typename?: 'ConfidentialVenueBlocksByConfidentialTransactionVenueIdAndUpdatedBlockIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Block`, info from the `ConfidentialTransaction`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Block` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Block` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialTransaction`. */ +export type ConfidentialVenueBlocksByConfidentialTransactionVenueIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Block` edge in the connection, with data from `ConfidentialTransaction`. */ +export type ConfidentialVenueBlocksByConfidentialTransactionVenueIdAndUpdatedBlockIdManyToManyEdge = + { + __typename?: 'ConfidentialVenueBlocksByConfidentialTransactionVenueIdAndUpdatedBlockIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialTransaction`. */ + confidentialTransactionsByUpdatedBlockId: ConfidentialTransactionsConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Block` at the end of the edge. */ + node?: Maybe; + }; + +/** A `Block` edge in the connection, with data from `ConfidentialTransaction`. */ +export type ConfidentialVenueBlocksByConfidentialTransactionVenueIdAndUpdatedBlockIdManyToManyEdgeConfidentialTransactionsByUpdatedBlockIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +export type ConfidentialVenueDistinctCountAggregateFilter = { createdAt?: InputMaybe; createdBlockId?: InputMaybe; - data?: InputMaybe; + creatorId?: InputMaybe; id?: InputMaybe; updatedAt?: InputMaybe; updatedBlockId?: InputMaybe; + venueId?: InputMaybe; }; -export type ComplianceDistinctCountAggregates = { - __typename?: 'ComplianceDistinctCountAggregates'; - /** Distinct count of assetId across the matching connection */ - assetId?: Maybe; - /** Distinct count of complianceId across the matching connection */ - complianceId?: Maybe; +export type ConfidentialVenueDistinctCountAggregates = { + __typename?: 'ConfidentialVenueDistinctCountAggregates'; /** Distinct count of createdAt across the matching connection */ createdAt?: Maybe; /** Distinct count of createdBlockId across the matching connection */ createdBlockId?: Maybe; - /** Distinct count of data across the matching connection */ - data?: Maybe; + /** Distinct count of creatorId across the matching connection */ + creatorId?: Maybe; /** Distinct count of id across the matching connection */ id?: Maybe; /** Distinct count of updatedAt across the matching connection */ updatedAt?: Maybe; /** Distinct count of updatedBlockId across the matching connection */ updatedBlockId?: Maybe; + /** Distinct count of venueId across the matching connection */ + venueId?: Maybe; }; -/** A filter to be used against `Compliance` object types. All fields are combined with a logical ‘and.’ */ -export type ComplianceFilter = { +/** A filter to be used against `ConfidentialVenue` object types. All fields are combined with a logical ‘and.’ */ +export type ConfidentialVenueFilter = { /** Checks for all expressions in this list. */ - and?: InputMaybe>; - /** Filter by the object’s `asset` relation. */ - asset?: InputMaybe; - /** Filter by the object’s `assetId` field. */ - assetId?: InputMaybe; - /** Filter by the object’s `complianceId` field. */ - complianceId?: InputMaybe; + and?: InputMaybe>; + /** Filter by the object’s `confidentialTransactionsByVenueId` relation. */ + confidentialTransactionsByVenueId?: InputMaybe; + /** Some related `confidentialTransactionsByVenueId` exist. */ + confidentialTransactionsByVenueIdExist?: InputMaybe; /** Filter by the object’s `createdAt` field. */ createdAt?: InputMaybe; /** Filter by the object’s `createdBlock` relation. */ createdBlock?: InputMaybe; /** Filter by the object’s `createdBlockId` field. */ createdBlockId?: InputMaybe; - /** Filter by the object’s `data` field. */ - data?: InputMaybe; + /** Filter by the object’s `creator` relation. */ + creator?: InputMaybe; + /** Filter by the object’s `creatorId` field. */ + creatorId?: InputMaybe; /** Filter by the object’s `id` field. */ id?: InputMaybe; /** Negates the expression. */ - not?: InputMaybe; + not?: InputMaybe; /** Checks for any expressions in this list. */ - or?: InputMaybe>; + or?: InputMaybe>; /** Filter by the object’s `updatedAt` field. */ updatedAt?: InputMaybe; /** Filter by the object’s `updatedBlock` relation. */ updatedBlock?: InputMaybe; /** Filter by the object’s `updatedBlockId` field. */ updatedBlockId?: InputMaybe; + /** Filter by the object’s `venueId` field. */ + venueId?: InputMaybe; }; -export type ComplianceMaxAggregateFilter = { - complianceId?: InputMaybe; +export type ConfidentialVenueMaxAggregateFilter = { + venueId?: InputMaybe; }; -export type ComplianceMaxAggregates = { - __typename?: 'ComplianceMaxAggregates'; - /** Maximum of complianceId across the matching connection */ - complianceId?: Maybe; +export type ConfidentialVenueMaxAggregates = { + __typename?: 'ConfidentialVenueMaxAggregates'; + /** Maximum of venueId across the matching connection */ + venueId?: Maybe; }; -export type ComplianceMinAggregateFilter = { - complianceId?: InputMaybe; +export type ConfidentialVenueMinAggregateFilter = { + venueId?: InputMaybe; }; -export type ComplianceMinAggregates = { - __typename?: 'ComplianceMinAggregates'; - /** Minimum of complianceId across the matching connection */ - complianceId?: Maybe; +export type ConfidentialVenueMinAggregates = { + __typename?: 'ConfidentialVenueMinAggregates'; + /** Minimum of venueId across the matching connection */ + venueId?: Maybe; }; -export type ComplianceStddevPopulationAggregateFilter = { - complianceId?: InputMaybe; +export type ConfidentialVenueStddevPopulationAggregateFilter = { + venueId?: InputMaybe; }; -export type ComplianceStddevPopulationAggregates = { - __typename?: 'ComplianceStddevPopulationAggregates'; - /** Population standard deviation of complianceId across the matching connection */ - complianceId?: Maybe; +export type ConfidentialVenueStddevPopulationAggregates = { + __typename?: 'ConfidentialVenueStddevPopulationAggregates'; + /** Population standard deviation of venueId across the matching connection */ + venueId?: Maybe; }; -export type ComplianceStddevSampleAggregateFilter = { - complianceId?: InputMaybe; +export type ConfidentialVenueStddevSampleAggregateFilter = { + venueId?: InputMaybe; }; -export type ComplianceStddevSampleAggregates = { - __typename?: 'ComplianceStddevSampleAggregates'; - /** Sample standard deviation of complianceId across the matching connection */ - complianceId?: Maybe; +export type ConfidentialVenueStddevSampleAggregates = { + __typename?: 'ConfidentialVenueStddevSampleAggregates'; + /** Sample standard deviation of venueId across the matching connection */ + venueId?: Maybe; }; -export type ComplianceSumAggregateFilter = { - complianceId?: InputMaybe; +export type ConfidentialVenueSumAggregateFilter = { + venueId?: InputMaybe; }; -export type ComplianceSumAggregates = { - __typename?: 'ComplianceSumAggregates'; - /** Sum of complianceId across the matching connection */ - complianceId: Scalars['BigInt']['output']; +export type ConfidentialVenueSumAggregates = { + __typename?: 'ConfidentialVenueSumAggregates'; + /** Sum of venueId across the matching connection */ + venueId: Scalars['BigInt']['output']; }; -export type ComplianceVariancePopulationAggregateFilter = { - complianceId?: InputMaybe; +/** A filter to be used against many `ConfidentialTransaction` object types. All fields are combined with a logical ‘and.’ */ +export type ConfidentialVenueToManyConfidentialTransactionFilter = { + /** Aggregates across related `ConfidentialTransaction` match the filter criteria. */ + aggregates?: InputMaybe; + /** Every related `ConfidentialTransaction` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe; + /** No related `ConfidentialTransaction` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe; + /** Some related `ConfidentialTransaction` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe; }; -export type ComplianceVariancePopulationAggregates = { - __typename?: 'ComplianceVariancePopulationAggregates'; - /** Population variance of complianceId across the matching connection */ - complianceId?: Maybe; +export type ConfidentialVenueVariancePopulationAggregateFilter = { + venueId?: InputMaybe; }; -export type ComplianceVarianceSampleAggregateFilter = { - complianceId?: InputMaybe; +export type ConfidentialVenueVariancePopulationAggregates = { + __typename?: 'ConfidentialVenueVariancePopulationAggregates'; + /** Population variance of venueId across the matching connection */ + venueId?: Maybe; }; -export type ComplianceVarianceSampleAggregates = { - __typename?: 'ComplianceVarianceSampleAggregates'; - /** Sample variance of complianceId across the matching connection */ - complianceId?: Maybe; +export type ConfidentialVenueVarianceSampleAggregateFilter = { + venueId?: InputMaybe; }; -/** A connection to a list of `Compliance` values. */ -export type CompliancesConnection = { - __typename?: 'CompliancesConnection'; +export type ConfidentialVenueVarianceSampleAggregates = { + __typename?: 'ConfidentialVenueVarianceSampleAggregates'; + /** Sample variance of venueId across the matching connection */ + venueId?: Maybe; +}; + +/** A connection to a list of `ConfidentialVenue` values. */ +export type ConfidentialVenuesConnection = { + __typename?: 'ConfidentialVenuesConnection'; /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Compliance` and cursor to aid in pagination. */ - edges: Array; + aggregates?: Maybe; + /** A list of edges which contains the `ConfidentialVenue` and cursor to aid in pagination. */ + edges: Array; /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Compliance` objects. */ - nodes: Array>; + groupedAggregates?: Maybe>; + /** A list of `ConfidentialVenue` objects. */ + nodes: Array>; /** Information to aid in pagination. */ pageInfo: PageInfo; - /** The count of *all* `Compliance` you could get from the connection. */ + /** The count of *all* `ConfidentialVenue` you could get from the connection. */ totalCount: Scalars['Int']['output']; }; -/** A connection to a list of `Compliance` values. */ -export type CompliancesConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; +/** A connection to a list of `ConfidentialVenue` values. */ +export type ConfidentialVenuesConnectionGroupedAggregatesArgs = { + groupBy: Array; + having?: InputMaybe; }; -/** A `Compliance` edge in the connection. */ -export type CompliancesEdge = { - __typename?: 'CompliancesEdge'; +/** A `ConfidentialVenue` edge in the connection. */ +export type ConfidentialVenuesEdge = { + __typename?: 'ConfidentialVenuesEdge'; /** A cursor for use in pagination. */ cursor?: Maybe; - /** The `Compliance` at the end of the edge. */ - node?: Maybe; + /** The `ConfidentialVenue` at the end of the edge. */ + node?: Maybe; }; -/** Grouping methods for `Compliance` for usage during aggregation. */ -export enum CompliancesGroupBy { - AssetId = 'ASSET_ID', - ComplianceId = 'COMPLIANCE_ID', +/** Grouping methods for `ConfidentialVenue` for usage during aggregation. */ +export enum ConfidentialVenuesGroupBy { CreatedAt = 'CREATED_AT', CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', CreatedBlockId = 'CREATED_BLOCK_ID', - Data = 'DATA', + CreatorId = 'CREATOR_ID', UpdatedAt = 'UPDATED_AT', UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', UpdatedBlockId = 'UPDATED_BLOCK_ID', + VenueId = 'VENUE_ID', } -export type CompliancesHavingAverageInput = { - complianceId?: InputMaybe; +export type ConfidentialVenuesHavingAverageInput = { createdAt?: InputMaybe; updatedAt?: InputMaybe; + venueId?: InputMaybe; }; -export type CompliancesHavingDistinctCountInput = { - complianceId?: InputMaybe; +export type ConfidentialVenuesHavingDistinctCountInput = { createdAt?: InputMaybe; updatedAt?: InputMaybe; + venueId?: InputMaybe; }; -/** Conditions for `Compliance` aggregates. */ -export type CompliancesHavingInput = { - AND?: InputMaybe>; - OR?: InputMaybe>; - average?: InputMaybe; - distinctCount?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddevPopulation?: InputMaybe; - stddevSample?: InputMaybe; - sum?: InputMaybe; - variancePopulation?: InputMaybe; - varianceSample?: InputMaybe; +/** Conditions for `ConfidentialVenue` aggregates. */ +export type ConfidentialVenuesHavingInput = { + AND?: InputMaybe>; + OR?: InputMaybe>; + average?: InputMaybe; + distinctCount?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddevPopulation?: InputMaybe; + stddevSample?: InputMaybe; + sum?: InputMaybe; + variancePopulation?: InputMaybe; + varianceSample?: InputMaybe; }; -export type CompliancesHavingMaxInput = { - complianceId?: InputMaybe; +export type ConfidentialVenuesHavingMaxInput = { createdAt?: InputMaybe; updatedAt?: InputMaybe; + venueId?: InputMaybe; }; -export type CompliancesHavingMinInput = { - complianceId?: InputMaybe; +export type ConfidentialVenuesHavingMinInput = { createdAt?: InputMaybe; updatedAt?: InputMaybe; + venueId?: InputMaybe; }; -export type CompliancesHavingStddevPopulationInput = { - complianceId?: InputMaybe; +export type ConfidentialVenuesHavingStddevPopulationInput = { createdAt?: InputMaybe; updatedAt?: InputMaybe; + venueId?: InputMaybe; }; -export type CompliancesHavingStddevSampleInput = { - complianceId?: InputMaybe; +export type ConfidentialVenuesHavingStddevSampleInput = { createdAt?: InputMaybe; updatedAt?: InputMaybe; + venueId?: InputMaybe; }; -export type CompliancesHavingSumInput = { - complianceId?: InputMaybe; +export type ConfidentialVenuesHavingSumInput = { createdAt?: InputMaybe; updatedAt?: InputMaybe; + venueId?: InputMaybe; }; -export type CompliancesHavingVariancePopulationInput = { - complianceId?: InputMaybe; +export type ConfidentialVenuesHavingVariancePopulationInput = { createdAt?: InputMaybe; updatedAt?: InputMaybe; + venueId?: InputMaybe; }; -export type CompliancesHavingVarianceSampleInput = { - complianceId?: InputMaybe; +export type ConfidentialVenuesHavingVarianceSampleInput = { createdAt?: InputMaybe; updatedAt?: InputMaybe; -}; - -/** Methods to use when ordering `Compliance`. */ -export enum CompliancesOrderBy { - AssetIdAsc = 'ASSET_ID_ASC', - AssetIdDesc = 'ASSET_ID_DESC', - ComplianceIdAsc = 'COMPLIANCE_ID_ASC', - ComplianceIdDesc = 'COMPLIANCE_ID_DESC', + venueId?: InputMaybe; +}; + +/** Methods to use when ordering `ConfidentialVenue`. */ +export enum ConfidentialVenuesOrderBy { + ConfidentialTransactionsByVenueIdAverageCreatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_AVERAGE_CREATED_AT_ASC', + ConfidentialTransactionsByVenueIdAverageCreatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_AVERAGE_CREATED_AT_DESC', + ConfidentialTransactionsByVenueIdAverageCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_AVERAGE_CREATED_BLOCK_ID_ASC', + ConfidentialTransactionsByVenueIdAverageCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_AVERAGE_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionsByVenueIdAverageEventIdxAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_AVERAGE_EVENT_IDX_ASC', + ConfidentialTransactionsByVenueIdAverageEventIdxDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_AVERAGE_EVENT_IDX_DESC', + ConfidentialTransactionsByVenueIdAverageEventIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_AVERAGE_EVENT_ID_ASC', + ConfidentialTransactionsByVenueIdAverageEventIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_AVERAGE_EVENT_ID_DESC', + ConfidentialTransactionsByVenueIdAverageIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_AVERAGE_ID_ASC', + ConfidentialTransactionsByVenueIdAverageIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_AVERAGE_ID_DESC', + ConfidentialTransactionsByVenueIdAverageMemoAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_AVERAGE_MEMO_ASC', + ConfidentialTransactionsByVenueIdAverageMemoDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_AVERAGE_MEMO_DESC', + ConfidentialTransactionsByVenueIdAveragePendingAffirmationsAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_AVERAGE_PENDING_AFFIRMATIONS_ASC', + ConfidentialTransactionsByVenueIdAveragePendingAffirmationsDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_AVERAGE_PENDING_AFFIRMATIONS_DESC', + ConfidentialTransactionsByVenueIdAverageStatusAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_AVERAGE_STATUS_ASC', + ConfidentialTransactionsByVenueIdAverageStatusDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_AVERAGE_STATUS_DESC', + ConfidentialTransactionsByVenueIdAverageUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_AVERAGE_UPDATED_AT_ASC', + ConfidentialTransactionsByVenueIdAverageUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_AVERAGE_UPDATED_AT_DESC', + ConfidentialTransactionsByVenueIdAverageUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', + ConfidentialTransactionsByVenueIdAverageUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', + ConfidentialTransactionsByVenueIdAverageVenueIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_AVERAGE_VENUE_ID_ASC', + ConfidentialTransactionsByVenueIdAverageVenueIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_AVERAGE_VENUE_ID_DESC', + ConfidentialTransactionsByVenueIdCountAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_COUNT_ASC', + ConfidentialTransactionsByVenueIdCountDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_COUNT_DESC', + ConfidentialTransactionsByVenueIdDistinctCountCreatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_DISTINCT_COUNT_CREATED_AT_ASC', + ConfidentialTransactionsByVenueIdDistinctCountCreatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_DISTINCT_COUNT_CREATED_AT_DESC', + ConfidentialTransactionsByVenueIdDistinctCountCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', + ConfidentialTransactionsByVenueIdDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionsByVenueIdDistinctCountEventIdxAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_DISTINCT_COUNT_EVENT_IDX_ASC', + ConfidentialTransactionsByVenueIdDistinctCountEventIdxDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_DISTINCT_COUNT_EVENT_IDX_DESC', + ConfidentialTransactionsByVenueIdDistinctCountEventIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_DISTINCT_COUNT_EVENT_ID_ASC', + ConfidentialTransactionsByVenueIdDistinctCountEventIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_DISTINCT_COUNT_EVENT_ID_DESC', + ConfidentialTransactionsByVenueIdDistinctCountIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_DISTINCT_COUNT_ID_ASC', + ConfidentialTransactionsByVenueIdDistinctCountIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_DISTINCT_COUNT_ID_DESC', + ConfidentialTransactionsByVenueIdDistinctCountMemoAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_DISTINCT_COUNT_MEMO_ASC', + ConfidentialTransactionsByVenueIdDistinctCountMemoDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_DISTINCT_COUNT_MEMO_DESC', + ConfidentialTransactionsByVenueIdDistinctCountPendingAffirmationsAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_DISTINCT_COUNT_PENDING_AFFIRMATIONS_ASC', + ConfidentialTransactionsByVenueIdDistinctCountPendingAffirmationsDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_DISTINCT_COUNT_PENDING_AFFIRMATIONS_DESC', + ConfidentialTransactionsByVenueIdDistinctCountStatusAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_DISTINCT_COUNT_STATUS_ASC', + ConfidentialTransactionsByVenueIdDistinctCountStatusDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_DISTINCT_COUNT_STATUS_DESC', + ConfidentialTransactionsByVenueIdDistinctCountUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_DISTINCT_COUNT_UPDATED_AT_ASC', + ConfidentialTransactionsByVenueIdDistinctCountUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_DISTINCT_COUNT_UPDATED_AT_DESC', + ConfidentialTransactionsByVenueIdDistinctCountUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', + ConfidentialTransactionsByVenueIdDistinctCountUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', + ConfidentialTransactionsByVenueIdDistinctCountVenueIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_DISTINCT_COUNT_VENUE_ID_ASC', + ConfidentialTransactionsByVenueIdDistinctCountVenueIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_DISTINCT_COUNT_VENUE_ID_DESC', + ConfidentialTransactionsByVenueIdMaxCreatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MAX_CREATED_AT_ASC', + ConfidentialTransactionsByVenueIdMaxCreatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MAX_CREATED_AT_DESC', + ConfidentialTransactionsByVenueIdMaxCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MAX_CREATED_BLOCK_ID_ASC', + ConfidentialTransactionsByVenueIdMaxCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MAX_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionsByVenueIdMaxEventIdxAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MAX_EVENT_IDX_ASC', + ConfidentialTransactionsByVenueIdMaxEventIdxDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MAX_EVENT_IDX_DESC', + ConfidentialTransactionsByVenueIdMaxEventIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MAX_EVENT_ID_ASC', + ConfidentialTransactionsByVenueIdMaxEventIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MAX_EVENT_ID_DESC', + ConfidentialTransactionsByVenueIdMaxIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MAX_ID_ASC', + ConfidentialTransactionsByVenueIdMaxIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MAX_ID_DESC', + ConfidentialTransactionsByVenueIdMaxMemoAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MAX_MEMO_ASC', + ConfidentialTransactionsByVenueIdMaxMemoDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MAX_MEMO_DESC', + ConfidentialTransactionsByVenueIdMaxPendingAffirmationsAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MAX_PENDING_AFFIRMATIONS_ASC', + ConfidentialTransactionsByVenueIdMaxPendingAffirmationsDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MAX_PENDING_AFFIRMATIONS_DESC', + ConfidentialTransactionsByVenueIdMaxStatusAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MAX_STATUS_ASC', + ConfidentialTransactionsByVenueIdMaxStatusDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MAX_STATUS_DESC', + ConfidentialTransactionsByVenueIdMaxUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MAX_UPDATED_AT_ASC', + ConfidentialTransactionsByVenueIdMaxUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MAX_UPDATED_AT_DESC', + ConfidentialTransactionsByVenueIdMaxUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MAX_UPDATED_BLOCK_ID_ASC', + ConfidentialTransactionsByVenueIdMaxUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MAX_UPDATED_BLOCK_ID_DESC', + ConfidentialTransactionsByVenueIdMaxVenueIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MAX_VENUE_ID_ASC', + ConfidentialTransactionsByVenueIdMaxVenueIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MAX_VENUE_ID_DESC', + ConfidentialTransactionsByVenueIdMinCreatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MIN_CREATED_AT_ASC', + ConfidentialTransactionsByVenueIdMinCreatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MIN_CREATED_AT_DESC', + ConfidentialTransactionsByVenueIdMinCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MIN_CREATED_BLOCK_ID_ASC', + ConfidentialTransactionsByVenueIdMinCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MIN_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionsByVenueIdMinEventIdxAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MIN_EVENT_IDX_ASC', + ConfidentialTransactionsByVenueIdMinEventIdxDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MIN_EVENT_IDX_DESC', + ConfidentialTransactionsByVenueIdMinEventIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MIN_EVENT_ID_ASC', + ConfidentialTransactionsByVenueIdMinEventIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MIN_EVENT_ID_DESC', + ConfidentialTransactionsByVenueIdMinIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MIN_ID_ASC', + ConfidentialTransactionsByVenueIdMinIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MIN_ID_DESC', + ConfidentialTransactionsByVenueIdMinMemoAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MIN_MEMO_ASC', + ConfidentialTransactionsByVenueIdMinMemoDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MIN_MEMO_DESC', + ConfidentialTransactionsByVenueIdMinPendingAffirmationsAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MIN_PENDING_AFFIRMATIONS_ASC', + ConfidentialTransactionsByVenueIdMinPendingAffirmationsDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MIN_PENDING_AFFIRMATIONS_DESC', + ConfidentialTransactionsByVenueIdMinStatusAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MIN_STATUS_ASC', + ConfidentialTransactionsByVenueIdMinStatusDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MIN_STATUS_DESC', + ConfidentialTransactionsByVenueIdMinUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MIN_UPDATED_AT_ASC', + ConfidentialTransactionsByVenueIdMinUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MIN_UPDATED_AT_DESC', + ConfidentialTransactionsByVenueIdMinUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MIN_UPDATED_BLOCK_ID_ASC', + ConfidentialTransactionsByVenueIdMinUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MIN_UPDATED_BLOCK_ID_DESC', + ConfidentialTransactionsByVenueIdMinVenueIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MIN_VENUE_ID_ASC', + ConfidentialTransactionsByVenueIdMinVenueIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MIN_VENUE_ID_DESC', + ConfidentialTransactionsByVenueIdStddevPopulationCreatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_POPULATION_CREATED_AT_ASC', + ConfidentialTransactionsByVenueIdStddevPopulationCreatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_POPULATION_CREATED_AT_DESC', + ConfidentialTransactionsByVenueIdStddevPopulationCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', + ConfidentialTransactionsByVenueIdStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionsByVenueIdStddevPopulationEventIdxAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_POPULATION_EVENT_IDX_ASC', + ConfidentialTransactionsByVenueIdStddevPopulationEventIdxDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_POPULATION_EVENT_IDX_DESC', + ConfidentialTransactionsByVenueIdStddevPopulationEventIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_POPULATION_EVENT_ID_ASC', + ConfidentialTransactionsByVenueIdStddevPopulationEventIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_POPULATION_EVENT_ID_DESC', + ConfidentialTransactionsByVenueIdStddevPopulationIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_POPULATION_ID_ASC', + ConfidentialTransactionsByVenueIdStddevPopulationIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_POPULATION_ID_DESC', + ConfidentialTransactionsByVenueIdStddevPopulationMemoAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_POPULATION_MEMO_ASC', + ConfidentialTransactionsByVenueIdStddevPopulationMemoDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_POPULATION_MEMO_DESC', + ConfidentialTransactionsByVenueIdStddevPopulationPendingAffirmationsAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_POPULATION_PENDING_AFFIRMATIONS_ASC', + ConfidentialTransactionsByVenueIdStddevPopulationPendingAffirmationsDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_POPULATION_PENDING_AFFIRMATIONS_DESC', + ConfidentialTransactionsByVenueIdStddevPopulationStatusAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_POPULATION_STATUS_ASC', + ConfidentialTransactionsByVenueIdStddevPopulationStatusDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_POPULATION_STATUS_DESC', + ConfidentialTransactionsByVenueIdStddevPopulationUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_POPULATION_UPDATED_AT_ASC', + ConfidentialTransactionsByVenueIdStddevPopulationUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_POPULATION_UPDATED_AT_DESC', + ConfidentialTransactionsByVenueIdStddevPopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', + ConfidentialTransactionsByVenueIdStddevPopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', + ConfidentialTransactionsByVenueIdStddevPopulationVenueIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_POPULATION_VENUE_ID_ASC', + ConfidentialTransactionsByVenueIdStddevPopulationVenueIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_POPULATION_VENUE_ID_DESC', + ConfidentialTransactionsByVenueIdStddevSampleCreatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_SAMPLE_CREATED_AT_ASC', + ConfidentialTransactionsByVenueIdStddevSampleCreatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_SAMPLE_CREATED_AT_DESC', + ConfidentialTransactionsByVenueIdStddevSampleCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', + ConfidentialTransactionsByVenueIdStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionsByVenueIdStddevSampleEventIdxAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', + ConfidentialTransactionsByVenueIdStddevSampleEventIdxDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', + ConfidentialTransactionsByVenueIdStddevSampleEventIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_SAMPLE_EVENT_ID_ASC', + ConfidentialTransactionsByVenueIdStddevSampleEventIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_SAMPLE_EVENT_ID_DESC', + ConfidentialTransactionsByVenueIdStddevSampleIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_SAMPLE_ID_ASC', + ConfidentialTransactionsByVenueIdStddevSampleIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_SAMPLE_ID_DESC', + ConfidentialTransactionsByVenueIdStddevSampleMemoAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_SAMPLE_MEMO_ASC', + ConfidentialTransactionsByVenueIdStddevSampleMemoDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_SAMPLE_MEMO_DESC', + ConfidentialTransactionsByVenueIdStddevSamplePendingAffirmationsAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_SAMPLE_PENDING_AFFIRMATIONS_ASC', + ConfidentialTransactionsByVenueIdStddevSamplePendingAffirmationsDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_SAMPLE_PENDING_AFFIRMATIONS_DESC', + ConfidentialTransactionsByVenueIdStddevSampleStatusAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_SAMPLE_STATUS_ASC', + ConfidentialTransactionsByVenueIdStddevSampleStatusDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_SAMPLE_STATUS_DESC', + ConfidentialTransactionsByVenueIdStddevSampleUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', + ConfidentialTransactionsByVenueIdStddevSampleUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', + ConfidentialTransactionsByVenueIdStddevSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', + ConfidentialTransactionsByVenueIdStddevSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', + ConfidentialTransactionsByVenueIdStddevSampleVenueIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_SAMPLE_VENUE_ID_ASC', + ConfidentialTransactionsByVenueIdStddevSampleVenueIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_SAMPLE_VENUE_ID_DESC', + ConfidentialTransactionsByVenueIdSumCreatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_SUM_CREATED_AT_ASC', + ConfidentialTransactionsByVenueIdSumCreatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_SUM_CREATED_AT_DESC', + ConfidentialTransactionsByVenueIdSumCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_SUM_CREATED_BLOCK_ID_ASC', + ConfidentialTransactionsByVenueIdSumCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_SUM_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionsByVenueIdSumEventIdxAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_SUM_EVENT_IDX_ASC', + ConfidentialTransactionsByVenueIdSumEventIdxDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_SUM_EVENT_IDX_DESC', + ConfidentialTransactionsByVenueIdSumEventIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_SUM_EVENT_ID_ASC', + ConfidentialTransactionsByVenueIdSumEventIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_SUM_EVENT_ID_DESC', + ConfidentialTransactionsByVenueIdSumIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_SUM_ID_ASC', + ConfidentialTransactionsByVenueIdSumIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_SUM_ID_DESC', + ConfidentialTransactionsByVenueIdSumMemoAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_SUM_MEMO_ASC', + ConfidentialTransactionsByVenueIdSumMemoDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_SUM_MEMO_DESC', + ConfidentialTransactionsByVenueIdSumPendingAffirmationsAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_SUM_PENDING_AFFIRMATIONS_ASC', + ConfidentialTransactionsByVenueIdSumPendingAffirmationsDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_SUM_PENDING_AFFIRMATIONS_DESC', + ConfidentialTransactionsByVenueIdSumStatusAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_SUM_STATUS_ASC', + ConfidentialTransactionsByVenueIdSumStatusDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_SUM_STATUS_DESC', + ConfidentialTransactionsByVenueIdSumUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_SUM_UPDATED_AT_ASC', + ConfidentialTransactionsByVenueIdSumUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_SUM_UPDATED_AT_DESC', + ConfidentialTransactionsByVenueIdSumUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_SUM_UPDATED_BLOCK_ID_ASC', + ConfidentialTransactionsByVenueIdSumUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_SUM_UPDATED_BLOCK_ID_DESC', + ConfidentialTransactionsByVenueIdSumVenueIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_SUM_VENUE_ID_ASC', + ConfidentialTransactionsByVenueIdSumVenueIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_SUM_VENUE_ID_DESC', + ConfidentialTransactionsByVenueIdVariancePopulationCreatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_POPULATION_CREATED_AT_ASC', + ConfidentialTransactionsByVenueIdVariancePopulationCreatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_POPULATION_CREATED_AT_DESC', + ConfidentialTransactionsByVenueIdVariancePopulationCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', + ConfidentialTransactionsByVenueIdVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionsByVenueIdVariancePopulationEventIdxAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', + ConfidentialTransactionsByVenueIdVariancePopulationEventIdxDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', + ConfidentialTransactionsByVenueIdVariancePopulationEventIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_POPULATION_EVENT_ID_ASC', + ConfidentialTransactionsByVenueIdVariancePopulationEventIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_POPULATION_EVENT_ID_DESC', + ConfidentialTransactionsByVenueIdVariancePopulationIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_POPULATION_ID_ASC', + ConfidentialTransactionsByVenueIdVariancePopulationIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_POPULATION_ID_DESC', + ConfidentialTransactionsByVenueIdVariancePopulationMemoAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_POPULATION_MEMO_ASC', + ConfidentialTransactionsByVenueIdVariancePopulationMemoDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_POPULATION_MEMO_DESC', + ConfidentialTransactionsByVenueIdVariancePopulationPendingAffirmationsAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_POPULATION_PENDING_AFFIRMATIONS_ASC', + ConfidentialTransactionsByVenueIdVariancePopulationPendingAffirmationsDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_POPULATION_PENDING_AFFIRMATIONS_DESC', + ConfidentialTransactionsByVenueIdVariancePopulationStatusAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_POPULATION_STATUS_ASC', + ConfidentialTransactionsByVenueIdVariancePopulationStatusDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_POPULATION_STATUS_DESC', + ConfidentialTransactionsByVenueIdVariancePopulationUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', + ConfidentialTransactionsByVenueIdVariancePopulationUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', + ConfidentialTransactionsByVenueIdVariancePopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', + ConfidentialTransactionsByVenueIdVariancePopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', + ConfidentialTransactionsByVenueIdVariancePopulationVenueIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_POPULATION_VENUE_ID_ASC', + ConfidentialTransactionsByVenueIdVariancePopulationVenueIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_POPULATION_VENUE_ID_DESC', + ConfidentialTransactionsByVenueIdVarianceSampleCreatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', + ConfidentialTransactionsByVenueIdVarianceSampleCreatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', + ConfidentialTransactionsByVenueIdVarianceSampleCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', + ConfidentialTransactionsByVenueIdVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionsByVenueIdVarianceSampleEventIdxAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', + ConfidentialTransactionsByVenueIdVarianceSampleEventIdxDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', + ConfidentialTransactionsByVenueIdVarianceSampleEventIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_SAMPLE_EVENT_ID_ASC', + ConfidentialTransactionsByVenueIdVarianceSampleEventIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_SAMPLE_EVENT_ID_DESC', + ConfidentialTransactionsByVenueIdVarianceSampleIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_SAMPLE_ID_ASC', + ConfidentialTransactionsByVenueIdVarianceSampleIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_SAMPLE_ID_DESC', + ConfidentialTransactionsByVenueIdVarianceSampleMemoAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_SAMPLE_MEMO_ASC', + ConfidentialTransactionsByVenueIdVarianceSampleMemoDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_SAMPLE_MEMO_DESC', + ConfidentialTransactionsByVenueIdVarianceSamplePendingAffirmationsAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_SAMPLE_PENDING_AFFIRMATIONS_ASC', + ConfidentialTransactionsByVenueIdVarianceSamplePendingAffirmationsDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_SAMPLE_PENDING_AFFIRMATIONS_DESC', + ConfidentialTransactionsByVenueIdVarianceSampleStatusAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_SAMPLE_STATUS_ASC', + ConfidentialTransactionsByVenueIdVarianceSampleStatusDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_SAMPLE_STATUS_DESC', + ConfidentialTransactionsByVenueIdVarianceSampleUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', + ConfidentialTransactionsByVenueIdVarianceSampleUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', + ConfidentialTransactionsByVenueIdVarianceSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', + ConfidentialTransactionsByVenueIdVarianceSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', + ConfidentialTransactionsByVenueIdVarianceSampleVenueIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_SAMPLE_VENUE_ID_ASC', + ConfidentialTransactionsByVenueIdVarianceSampleVenueIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_SAMPLE_VENUE_ID_DESC', CreatedAtAsc = 'CREATED_AT_ASC', CreatedAtDesc = 'CREATED_AT_DESC', CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', - DataAsc = 'DATA_ASC', - DataDesc = 'DATA_DESC', + CreatorIdAsc = 'CREATOR_ID_ASC', + CreatorIdDesc = 'CREATOR_ID_DESC', IdAsc = 'ID_ASC', IdDesc = 'ID_DESC', Natural = 'NATURAL', @@ -50224,6 +65539,8 @@ export enum CompliancesOrderBy { UpdatedAtDesc = 'UPDATED_AT_DESC', UpdatedBlockIdAsc = 'UPDATED_BLOCK_ID_ASC', UpdatedBlockIdDesc = 'UPDATED_BLOCK_ID_DESC', + VenueIdAsc = 'VENUE_ID_ASC', + VenueIdDesc = 'VENUE_ID_DESC', } /** Represents the registered CustomClaimType */ @@ -53049,6 +68366,10 @@ export type EventFilter = { export enum EventIdEnum { AcceptedPayingKey = 'AcceptedPayingKey', AccountBalanceBurned = 'AccountBalanceBurned', + AccountCreated = 'AccountCreated', + AccountDeposit = 'AccountDeposit', + AccountDepositIncoming = 'AccountDepositIncoming', + AccountWithdraw = 'AccountWithdraw', ActiveLimitChanged = 'ActiveLimitChanged', ActivePipLimitChanged = 'ActivePipLimitChanged', AdminChanged = 'AdminChanged', @@ -53130,6 +68451,7 @@ export enum EventIdEnum { ComplianceRequirementChanged = 'ComplianceRequirementChanged', ComplianceRequirementCreated = 'ComplianceRequirementCreated', ComplianceRequirementRemoved = 'ComplianceRequirementRemoved', + ConfidentialAssetCreated = 'ConfidentialAssetCreated', ContractCodeUpdated = 'ContractCodeUpdated', ContractEmitted = 'ContractEmitted', ContractExecution = 'ContractExecution', @@ -53380,7 +68702,11 @@ export enum EventIdEnum { TickerRegistered = 'TickerRegistered', TickerTransferred = 'TickerTransferred', TimelockChanged = 'TimelockChanged', + TransactionAffirmed = 'TransactionAffirmed', + TransactionCreated = 'TransactionCreated', + TransactionExecuted = 'TransactionExecuted', TransactionFeePaid = 'TransactionFeePaid', + TransactionRejected = 'TransactionRejected', Transfer = 'Transfer', TransferConditionExemptionsAdded = 'TransferConditionExemptionsAdded', TransferConditionExemptionsRemoved = 'TransferConditionExemptionsRemoved', @@ -57659,6 +72985,734 @@ export enum IdentitiesOrderBy { ClaimsByTargetIdVarianceSampleUpdatedAtDesc = 'CLAIMS_BY_TARGET_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', ClaimsByTargetIdVarianceSampleUpdatedBlockIdAsc = 'CLAIMS_BY_TARGET_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', ClaimsByTargetIdVarianceSampleUpdatedBlockIdDesc = 'CLAIMS_BY_TARGET_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', + ConfidentialAccountsByCreatorIdAverageAccountAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_AVERAGE_ACCOUNT_ASC', + ConfidentialAccountsByCreatorIdAverageAccountDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_AVERAGE_ACCOUNT_DESC', + ConfidentialAccountsByCreatorIdAverageCreatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_AVERAGE_CREATED_AT_ASC', + ConfidentialAccountsByCreatorIdAverageCreatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_AVERAGE_CREATED_AT_DESC', + ConfidentialAccountsByCreatorIdAverageCreatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_AVERAGE_CREATED_BLOCK_ID_ASC', + ConfidentialAccountsByCreatorIdAverageCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_AVERAGE_CREATED_BLOCK_ID_DESC', + ConfidentialAccountsByCreatorIdAverageCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_AVERAGE_CREATOR_ID_ASC', + ConfidentialAccountsByCreatorIdAverageCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_AVERAGE_CREATOR_ID_DESC', + ConfidentialAccountsByCreatorIdAverageIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_AVERAGE_ID_ASC', + ConfidentialAccountsByCreatorIdAverageIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_AVERAGE_ID_DESC', + ConfidentialAccountsByCreatorIdAverageUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_AVERAGE_UPDATED_AT_ASC', + ConfidentialAccountsByCreatorIdAverageUpdatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_AVERAGE_UPDATED_AT_DESC', + ConfidentialAccountsByCreatorIdAverageUpdatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', + ConfidentialAccountsByCreatorIdAverageUpdatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', + ConfidentialAccountsByCreatorIdCountAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_COUNT_ASC', + ConfidentialAccountsByCreatorIdCountDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_COUNT_DESC', + ConfidentialAccountsByCreatorIdDistinctCountAccountAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_DISTINCT_COUNT_ACCOUNT_ASC', + ConfidentialAccountsByCreatorIdDistinctCountAccountDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_DISTINCT_COUNT_ACCOUNT_DESC', + ConfidentialAccountsByCreatorIdDistinctCountCreatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_DISTINCT_COUNT_CREATED_AT_ASC', + ConfidentialAccountsByCreatorIdDistinctCountCreatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_DISTINCT_COUNT_CREATED_AT_DESC', + ConfidentialAccountsByCreatorIdDistinctCountCreatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', + ConfidentialAccountsByCreatorIdDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', + ConfidentialAccountsByCreatorIdDistinctCountCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_DISTINCT_COUNT_CREATOR_ID_ASC', + ConfidentialAccountsByCreatorIdDistinctCountCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_DISTINCT_COUNT_CREATOR_ID_DESC', + ConfidentialAccountsByCreatorIdDistinctCountIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_DISTINCT_COUNT_ID_ASC', + ConfidentialAccountsByCreatorIdDistinctCountIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_DISTINCT_COUNT_ID_DESC', + ConfidentialAccountsByCreatorIdDistinctCountUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_DISTINCT_COUNT_UPDATED_AT_ASC', + ConfidentialAccountsByCreatorIdDistinctCountUpdatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_DISTINCT_COUNT_UPDATED_AT_DESC', + ConfidentialAccountsByCreatorIdDistinctCountUpdatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', + ConfidentialAccountsByCreatorIdDistinctCountUpdatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', + ConfidentialAccountsByCreatorIdMaxAccountAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MAX_ACCOUNT_ASC', + ConfidentialAccountsByCreatorIdMaxAccountDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MAX_ACCOUNT_DESC', + ConfidentialAccountsByCreatorIdMaxCreatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MAX_CREATED_AT_ASC', + ConfidentialAccountsByCreatorIdMaxCreatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MAX_CREATED_AT_DESC', + ConfidentialAccountsByCreatorIdMaxCreatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MAX_CREATED_BLOCK_ID_ASC', + ConfidentialAccountsByCreatorIdMaxCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MAX_CREATED_BLOCK_ID_DESC', + ConfidentialAccountsByCreatorIdMaxCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MAX_CREATOR_ID_ASC', + ConfidentialAccountsByCreatorIdMaxCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MAX_CREATOR_ID_DESC', + ConfidentialAccountsByCreatorIdMaxIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MAX_ID_ASC', + ConfidentialAccountsByCreatorIdMaxIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MAX_ID_DESC', + ConfidentialAccountsByCreatorIdMaxUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MAX_UPDATED_AT_ASC', + ConfidentialAccountsByCreatorIdMaxUpdatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MAX_UPDATED_AT_DESC', + ConfidentialAccountsByCreatorIdMaxUpdatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MAX_UPDATED_BLOCK_ID_ASC', + ConfidentialAccountsByCreatorIdMaxUpdatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MAX_UPDATED_BLOCK_ID_DESC', + ConfidentialAccountsByCreatorIdMinAccountAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MIN_ACCOUNT_ASC', + ConfidentialAccountsByCreatorIdMinAccountDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MIN_ACCOUNT_DESC', + ConfidentialAccountsByCreatorIdMinCreatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MIN_CREATED_AT_ASC', + ConfidentialAccountsByCreatorIdMinCreatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MIN_CREATED_AT_DESC', + ConfidentialAccountsByCreatorIdMinCreatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MIN_CREATED_BLOCK_ID_ASC', + ConfidentialAccountsByCreatorIdMinCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MIN_CREATED_BLOCK_ID_DESC', + ConfidentialAccountsByCreatorIdMinCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MIN_CREATOR_ID_ASC', + ConfidentialAccountsByCreatorIdMinCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MIN_CREATOR_ID_DESC', + ConfidentialAccountsByCreatorIdMinIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MIN_ID_ASC', + ConfidentialAccountsByCreatorIdMinIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MIN_ID_DESC', + ConfidentialAccountsByCreatorIdMinUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MIN_UPDATED_AT_ASC', + ConfidentialAccountsByCreatorIdMinUpdatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MIN_UPDATED_AT_DESC', + ConfidentialAccountsByCreatorIdMinUpdatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MIN_UPDATED_BLOCK_ID_ASC', + ConfidentialAccountsByCreatorIdMinUpdatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MIN_UPDATED_BLOCK_ID_DESC', + ConfidentialAccountsByCreatorIdStddevPopulationAccountAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_POPULATION_ACCOUNT_ASC', + ConfidentialAccountsByCreatorIdStddevPopulationAccountDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_POPULATION_ACCOUNT_DESC', + ConfidentialAccountsByCreatorIdStddevPopulationCreatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_POPULATION_CREATED_AT_ASC', + ConfidentialAccountsByCreatorIdStddevPopulationCreatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_POPULATION_CREATED_AT_DESC', + ConfidentialAccountsByCreatorIdStddevPopulationCreatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', + ConfidentialAccountsByCreatorIdStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialAccountsByCreatorIdStddevPopulationCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_POPULATION_CREATOR_ID_ASC', + ConfidentialAccountsByCreatorIdStddevPopulationCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_POPULATION_CREATOR_ID_DESC', + ConfidentialAccountsByCreatorIdStddevPopulationIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_POPULATION_ID_ASC', + ConfidentialAccountsByCreatorIdStddevPopulationIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_POPULATION_ID_DESC', + ConfidentialAccountsByCreatorIdStddevPopulationUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_POPULATION_UPDATED_AT_ASC', + ConfidentialAccountsByCreatorIdStddevPopulationUpdatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_POPULATION_UPDATED_AT_DESC', + ConfidentialAccountsByCreatorIdStddevPopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', + ConfidentialAccountsByCreatorIdStddevPopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', + ConfidentialAccountsByCreatorIdStddevSampleAccountAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_SAMPLE_ACCOUNT_ASC', + ConfidentialAccountsByCreatorIdStddevSampleAccountDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_SAMPLE_ACCOUNT_DESC', + ConfidentialAccountsByCreatorIdStddevSampleCreatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_SAMPLE_CREATED_AT_ASC', + ConfidentialAccountsByCreatorIdStddevSampleCreatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_SAMPLE_CREATED_AT_DESC', + ConfidentialAccountsByCreatorIdStddevSampleCreatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', + ConfidentialAccountsByCreatorIdStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialAccountsByCreatorIdStddevSampleCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_SAMPLE_CREATOR_ID_ASC', + ConfidentialAccountsByCreatorIdStddevSampleCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_SAMPLE_CREATOR_ID_DESC', + ConfidentialAccountsByCreatorIdStddevSampleIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_SAMPLE_ID_ASC', + ConfidentialAccountsByCreatorIdStddevSampleIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_SAMPLE_ID_DESC', + ConfidentialAccountsByCreatorIdStddevSampleUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', + ConfidentialAccountsByCreatorIdStddevSampleUpdatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', + ConfidentialAccountsByCreatorIdStddevSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', + ConfidentialAccountsByCreatorIdStddevSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', + ConfidentialAccountsByCreatorIdSumAccountAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_SUM_ACCOUNT_ASC', + ConfidentialAccountsByCreatorIdSumAccountDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_SUM_ACCOUNT_DESC', + ConfidentialAccountsByCreatorIdSumCreatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_SUM_CREATED_AT_ASC', + ConfidentialAccountsByCreatorIdSumCreatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_SUM_CREATED_AT_DESC', + ConfidentialAccountsByCreatorIdSumCreatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_SUM_CREATED_BLOCK_ID_ASC', + ConfidentialAccountsByCreatorIdSumCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_SUM_CREATED_BLOCK_ID_DESC', + ConfidentialAccountsByCreatorIdSumCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_SUM_CREATOR_ID_ASC', + ConfidentialAccountsByCreatorIdSumCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_SUM_CREATOR_ID_DESC', + ConfidentialAccountsByCreatorIdSumIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_SUM_ID_ASC', + ConfidentialAccountsByCreatorIdSumIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_SUM_ID_DESC', + ConfidentialAccountsByCreatorIdSumUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_SUM_UPDATED_AT_ASC', + ConfidentialAccountsByCreatorIdSumUpdatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_SUM_UPDATED_AT_DESC', + ConfidentialAccountsByCreatorIdSumUpdatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_SUM_UPDATED_BLOCK_ID_ASC', + ConfidentialAccountsByCreatorIdSumUpdatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_SUM_UPDATED_BLOCK_ID_DESC', + ConfidentialAccountsByCreatorIdVariancePopulationAccountAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_POPULATION_ACCOUNT_ASC', + ConfidentialAccountsByCreatorIdVariancePopulationAccountDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_POPULATION_ACCOUNT_DESC', + ConfidentialAccountsByCreatorIdVariancePopulationCreatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_POPULATION_CREATED_AT_ASC', + ConfidentialAccountsByCreatorIdVariancePopulationCreatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_POPULATION_CREATED_AT_DESC', + ConfidentialAccountsByCreatorIdVariancePopulationCreatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', + ConfidentialAccountsByCreatorIdVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialAccountsByCreatorIdVariancePopulationCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_POPULATION_CREATOR_ID_ASC', + ConfidentialAccountsByCreatorIdVariancePopulationCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_POPULATION_CREATOR_ID_DESC', + ConfidentialAccountsByCreatorIdVariancePopulationIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_POPULATION_ID_ASC', + ConfidentialAccountsByCreatorIdVariancePopulationIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_POPULATION_ID_DESC', + ConfidentialAccountsByCreatorIdVariancePopulationUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', + ConfidentialAccountsByCreatorIdVariancePopulationUpdatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', + ConfidentialAccountsByCreatorIdVariancePopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', + ConfidentialAccountsByCreatorIdVariancePopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', + ConfidentialAccountsByCreatorIdVarianceSampleAccountAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_SAMPLE_ACCOUNT_ASC', + ConfidentialAccountsByCreatorIdVarianceSampleAccountDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_SAMPLE_ACCOUNT_DESC', + ConfidentialAccountsByCreatorIdVarianceSampleCreatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', + ConfidentialAccountsByCreatorIdVarianceSampleCreatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', + ConfidentialAccountsByCreatorIdVarianceSampleCreatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', + ConfidentialAccountsByCreatorIdVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialAccountsByCreatorIdVarianceSampleCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_SAMPLE_CREATOR_ID_ASC', + ConfidentialAccountsByCreatorIdVarianceSampleCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_SAMPLE_CREATOR_ID_DESC', + ConfidentialAccountsByCreatorIdVarianceSampleIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_SAMPLE_ID_ASC', + ConfidentialAccountsByCreatorIdVarianceSampleIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_SAMPLE_ID_DESC', + ConfidentialAccountsByCreatorIdVarianceSampleUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', + ConfidentialAccountsByCreatorIdVarianceSampleUpdatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', + ConfidentialAccountsByCreatorIdVarianceSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', + ConfidentialAccountsByCreatorIdVarianceSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetsByCreatorIdAverageAllowedVenuesAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_AVERAGE_ALLOWED_VENUES_ASC', + ConfidentialAssetsByCreatorIdAverageAllowedVenuesDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_AVERAGE_ALLOWED_VENUES_DESC', + ConfidentialAssetsByCreatorIdAverageAssetIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_AVERAGE_ASSET_ID_ASC', + ConfidentialAssetsByCreatorIdAverageAssetIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_AVERAGE_ASSET_ID_DESC', + ConfidentialAssetsByCreatorIdAverageAuditorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_AVERAGE_AUDITORS_ASC', + ConfidentialAssetsByCreatorIdAverageAuditorsDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_AVERAGE_AUDITORS_DESC', + ConfidentialAssetsByCreatorIdAverageCreatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_AVERAGE_CREATED_AT_ASC', + ConfidentialAssetsByCreatorIdAverageCreatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_AVERAGE_CREATED_AT_DESC', + ConfidentialAssetsByCreatorIdAverageCreatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_AVERAGE_CREATED_BLOCK_ID_ASC', + ConfidentialAssetsByCreatorIdAverageCreatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_AVERAGE_CREATED_BLOCK_ID_DESC', + ConfidentialAssetsByCreatorIdAverageCreatorIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_AVERAGE_CREATOR_ID_ASC', + ConfidentialAssetsByCreatorIdAverageCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_AVERAGE_CREATOR_ID_DESC', + ConfidentialAssetsByCreatorIdAverageDataAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_AVERAGE_DATA_ASC', + ConfidentialAssetsByCreatorIdAverageDataDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_AVERAGE_DATA_DESC', + ConfidentialAssetsByCreatorIdAverageIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_AVERAGE_ID_ASC', + ConfidentialAssetsByCreatorIdAverageIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_AVERAGE_ID_DESC', + ConfidentialAssetsByCreatorIdAverageMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_AVERAGE_MEDIATORS_ASC', + ConfidentialAssetsByCreatorIdAverageMediatorsDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_AVERAGE_MEDIATORS_DESC', + ConfidentialAssetsByCreatorIdAverageTickerAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_AVERAGE_TICKER_ASC', + ConfidentialAssetsByCreatorIdAverageTickerDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_AVERAGE_TICKER_DESC', + ConfidentialAssetsByCreatorIdAverageTotalSupplyAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_AVERAGE_TOTAL_SUPPLY_ASC', + ConfidentialAssetsByCreatorIdAverageTotalSupplyDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_AVERAGE_TOTAL_SUPPLY_DESC', + ConfidentialAssetsByCreatorIdAverageUpdatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_AVERAGE_UPDATED_AT_ASC', + ConfidentialAssetsByCreatorIdAverageUpdatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_AVERAGE_UPDATED_AT_DESC', + ConfidentialAssetsByCreatorIdAverageUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetsByCreatorIdAverageUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetsByCreatorIdAverageVenueFilteringAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_AVERAGE_VENUE_FILTERING_ASC', + ConfidentialAssetsByCreatorIdAverageVenueFilteringDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_AVERAGE_VENUE_FILTERING_DESC', + ConfidentialAssetsByCreatorIdCountAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_COUNT_ASC', + ConfidentialAssetsByCreatorIdCountDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_COUNT_DESC', + ConfidentialAssetsByCreatorIdDistinctCountAllowedVenuesAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_DISTINCT_COUNT_ALLOWED_VENUES_ASC', + ConfidentialAssetsByCreatorIdDistinctCountAllowedVenuesDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_DISTINCT_COUNT_ALLOWED_VENUES_DESC', + ConfidentialAssetsByCreatorIdDistinctCountAssetIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_DISTINCT_COUNT_ASSET_ID_ASC', + ConfidentialAssetsByCreatorIdDistinctCountAssetIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_DISTINCT_COUNT_ASSET_ID_DESC', + ConfidentialAssetsByCreatorIdDistinctCountAuditorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_DISTINCT_COUNT_AUDITORS_ASC', + ConfidentialAssetsByCreatorIdDistinctCountAuditorsDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_DISTINCT_COUNT_AUDITORS_DESC', + ConfidentialAssetsByCreatorIdDistinctCountCreatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_DISTINCT_COUNT_CREATED_AT_ASC', + ConfidentialAssetsByCreatorIdDistinctCountCreatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_DISTINCT_COUNT_CREATED_AT_DESC', + ConfidentialAssetsByCreatorIdDistinctCountCreatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', + ConfidentialAssetsByCreatorIdDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', + ConfidentialAssetsByCreatorIdDistinctCountCreatorIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_DISTINCT_COUNT_CREATOR_ID_ASC', + ConfidentialAssetsByCreatorIdDistinctCountCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_DISTINCT_COUNT_CREATOR_ID_DESC', + ConfidentialAssetsByCreatorIdDistinctCountDataAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_DISTINCT_COUNT_DATA_ASC', + ConfidentialAssetsByCreatorIdDistinctCountDataDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_DISTINCT_COUNT_DATA_DESC', + ConfidentialAssetsByCreatorIdDistinctCountIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_DISTINCT_COUNT_ID_ASC', + ConfidentialAssetsByCreatorIdDistinctCountIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_DISTINCT_COUNT_ID_DESC', + ConfidentialAssetsByCreatorIdDistinctCountMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_DISTINCT_COUNT_MEDIATORS_ASC', + ConfidentialAssetsByCreatorIdDistinctCountMediatorsDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_DISTINCT_COUNT_MEDIATORS_DESC', + ConfidentialAssetsByCreatorIdDistinctCountTickerAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_DISTINCT_COUNT_TICKER_ASC', + ConfidentialAssetsByCreatorIdDistinctCountTickerDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_DISTINCT_COUNT_TICKER_DESC', + ConfidentialAssetsByCreatorIdDistinctCountTotalSupplyAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_DISTINCT_COUNT_TOTAL_SUPPLY_ASC', + ConfidentialAssetsByCreatorIdDistinctCountTotalSupplyDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_DISTINCT_COUNT_TOTAL_SUPPLY_DESC', + ConfidentialAssetsByCreatorIdDistinctCountUpdatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_DISTINCT_COUNT_UPDATED_AT_ASC', + ConfidentialAssetsByCreatorIdDistinctCountUpdatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_DISTINCT_COUNT_UPDATED_AT_DESC', + ConfidentialAssetsByCreatorIdDistinctCountUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetsByCreatorIdDistinctCountUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetsByCreatorIdDistinctCountVenueFilteringAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_DISTINCT_COUNT_VENUE_FILTERING_ASC', + ConfidentialAssetsByCreatorIdDistinctCountVenueFilteringDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_DISTINCT_COUNT_VENUE_FILTERING_DESC', + ConfidentialAssetsByCreatorIdMaxAllowedVenuesAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MAX_ALLOWED_VENUES_ASC', + ConfidentialAssetsByCreatorIdMaxAllowedVenuesDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MAX_ALLOWED_VENUES_DESC', + ConfidentialAssetsByCreatorIdMaxAssetIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MAX_ASSET_ID_ASC', + ConfidentialAssetsByCreatorIdMaxAssetIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MAX_ASSET_ID_DESC', + ConfidentialAssetsByCreatorIdMaxAuditorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MAX_AUDITORS_ASC', + ConfidentialAssetsByCreatorIdMaxAuditorsDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MAX_AUDITORS_DESC', + ConfidentialAssetsByCreatorIdMaxCreatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MAX_CREATED_AT_ASC', + ConfidentialAssetsByCreatorIdMaxCreatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MAX_CREATED_AT_DESC', + ConfidentialAssetsByCreatorIdMaxCreatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MAX_CREATED_BLOCK_ID_ASC', + ConfidentialAssetsByCreatorIdMaxCreatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MAX_CREATED_BLOCK_ID_DESC', + ConfidentialAssetsByCreatorIdMaxCreatorIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MAX_CREATOR_ID_ASC', + ConfidentialAssetsByCreatorIdMaxCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MAX_CREATOR_ID_DESC', + ConfidentialAssetsByCreatorIdMaxDataAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MAX_DATA_ASC', + ConfidentialAssetsByCreatorIdMaxDataDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MAX_DATA_DESC', + ConfidentialAssetsByCreatorIdMaxIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MAX_ID_ASC', + ConfidentialAssetsByCreatorIdMaxIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MAX_ID_DESC', + ConfidentialAssetsByCreatorIdMaxMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MAX_MEDIATORS_ASC', + ConfidentialAssetsByCreatorIdMaxMediatorsDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MAX_MEDIATORS_DESC', + ConfidentialAssetsByCreatorIdMaxTickerAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MAX_TICKER_ASC', + ConfidentialAssetsByCreatorIdMaxTickerDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MAX_TICKER_DESC', + ConfidentialAssetsByCreatorIdMaxTotalSupplyAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MAX_TOTAL_SUPPLY_ASC', + ConfidentialAssetsByCreatorIdMaxTotalSupplyDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MAX_TOTAL_SUPPLY_DESC', + ConfidentialAssetsByCreatorIdMaxUpdatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MAX_UPDATED_AT_ASC', + ConfidentialAssetsByCreatorIdMaxUpdatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MAX_UPDATED_AT_DESC', + ConfidentialAssetsByCreatorIdMaxUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MAX_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetsByCreatorIdMaxUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MAX_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetsByCreatorIdMaxVenueFilteringAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MAX_VENUE_FILTERING_ASC', + ConfidentialAssetsByCreatorIdMaxVenueFilteringDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MAX_VENUE_FILTERING_DESC', + ConfidentialAssetsByCreatorIdMinAllowedVenuesAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MIN_ALLOWED_VENUES_ASC', + ConfidentialAssetsByCreatorIdMinAllowedVenuesDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MIN_ALLOWED_VENUES_DESC', + ConfidentialAssetsByCreatorIdMinAssetIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MIN_ASSET_ID_ASC', + ConfidentialAssetsByCreatorIdMinAssetIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MIN_ASSET_ID_DESC', + ConfidentialAssetsByCreatorIdMinAuditorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MIN_AUDITORS_ASC', + ConfidentialAssetsByCreatorIdMinAuditorsDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MIN_AUDITORS_DESC', + ConfidentialAssetsByCreatorIdMinCreatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MIN_CREATED_AT_ASC', + ConfidentialAssetsByCreatorIdMinCreatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MIN_CREATED_AT_DESC', + ConfidentialAssetsByCreatorIdMinCreatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MIN_CREATED_BLOCK_ID_ASC', + ConfidentialAssetsByCreatorIdMinCreatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MIN_CREATED_BLOCK_ID_DESC', + ConfidentialAssetsByCreatorIdMinCreatorIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MIN_CREATOR_ID_ASC', + ConfidentialAssetsByCreatorIdMinCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MIN_CREATOR_ID_DESC', + ConfidentialAssetsByCreatorIdMinDataAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MIN_DATA_ASC', + ConfidentialAssetsByCreatorIdMinDataDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MIN_DATA_DESC', + ConfidentialAssetsByCreatorIdMinIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MIN_ID_ASC', + ConfidentialAssetsByCreatorIdMinIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MIN_ID_DESC', + ConfidentialAssetsByCreatorIdMinMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MIN_MEDIATORS_ASC', + ConfidentialAssetsByCreatorIdMinMediatorsDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MIN_MEDIATORS_DESC', + ConfidentialAssetsByCreatorIdMinTickerAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MIN_TICKER_ASC', + ConfidentialAssetsByCreatorIdMinTickerDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MIN_TICKER_DESC', + ConfidentialAssetsByCreatorIdMinTotalSupplyAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MIN_TOTAL_SUPPLY_ASC', + ConfidentialAssetsByCreatorIdMinTotalSupplyDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MIN_TOTAL_SUPPLY_DESC', + ConfidentialAssetsByCreatorIdMinUpdatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MIN_UPDATED_AT_ASC', + ConfidentialAssetsByCreatorIdMinUpdatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MIN_UPDATED_AT_DESC', + ConfidentialAssetsByCreatorIdMinUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MIN_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetsByCreatorIdMinUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MIN_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetsByCreatorIdMinVenueFilteringAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MIN_VENUE_FILTERING_ASC', + ConfidentialAssetsByCreatorIdMinVenueFilteringDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MIN_VENUE_FILTERING_DESC', + ConfidentialAssetsByCreatorIdStddevPopulationAllowedVenuesAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_POPULATION_ALLOWED_VENUES_ASC', + ConfidentialAssetsByCreatorIdStddevPopulationAllowedVenuesDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_POPULATION_ALLOWED_VENUES_DESC', + ConfidentialAssetsByCreatorIdStddevPopulationAssetIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_POPULATION_ASSET_ID_ASC', + ConfidentialAssetsByCreatorIdStddevPopulationAssetIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_POPULATION_ASSET_ID_DESC', + ConfidentialAssetsByCreatorIdStddevPopulationAuditorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_POPULATION_AUDITORS_ASC', + ConfidentialAssetsByCreatorIdStddevPopulationAuditorsDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_POPULATION_AUDITORS_DESC', + ConfidentialAssetsByCreatorIdStddevPopulationCreatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_POPULATION_CREATED_AT_ASC', + ConfidentialAssetsByCreatorIdStddevPopulationCreatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_POPULATION_CREATED_AT_DESC', + ConfidentialAssetsByCreatorIdStddevPopulationCreatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', + ConfidentialAssetsByCreatorIdStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialAssetsByCreatorIdStddevPopulationCreatorIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_POPULATION_CREATOR_ID_ASC', + ConfidentialAssetsByCreatorIdStddevPopulationCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_POPULATION_CREATOR_ID_DESC', + ConfidentialAssetsByCreatorIdStddevPopulationDataAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_POPULATION_DATA_ASC', + ConfidentialAssetsByCreatorIdStddevPopulationDataDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_POPULATION_DATA_DESC', + ConfidentialAssetsByCreatorIdStddevPopulationIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_POPULATION_ID_ASC', + ConfidentialAssetsByCreatorIdStddevPopulationIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_POPULATION_ID_DESC', + ConfidentialAssetsByCreatorIdStddevPopulationMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_POPULATION_MEDIATORS_ASC', + ConfidentialAssetsByCreatorIdStddevPopulationMediatorsDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_POPULATION_MEDIATORS_DESC', + ConfidentialAssetsByCreatorIdStddevPopulationTickerAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_POPULATION_TICKER_ASC', + ConfidentialAssetsByCreatorIdStddevPopulationTickerDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_POPULATION_TICKER_DESC', + ConfidentialAssetsByCreatorIdStddevPopulationTotalSupplyAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_POPULATION_TOTAL_SUPPLY_ASC', + ConfidentialAssetsByCreatorIdStddevPopulationTotalSupplyDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_POPULATION_TOTAL_SUPPLY_DESC', + ConfidentialAssetsByCreatorIdStddevPopulationUpdatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_POPULATION_UPDATED_AT_ASC', + ConfidentialAssetsByCreatorIdStddevPopulationUpdatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_POPULATION_UPDATED_AT_DESC', + ConfidentialAssetsByCreatorIdStddevPopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetsByCreatorIdStddevPopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetsByCreatorIdStddevPopulationVenueFilteringAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_POPULATION_VENUE_FILTERING_ASC', + ConfidentialAssetsByCreatorIdStddevPopulationVenueFilteringDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_POPULATION_VENUE_FILTERING_DESC', + ConfidentialAssetsByCreatorIdStddevSampleAllowedVenuesAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_SAMPLE_ALLOWED_VENUES_ASC', + ConfidentialAssetsByCreatorIdStddevSampleAllowedVenuesDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_SAMPLE_ALLOWED_VENUES_DESC', + ConfidentialAssetsByCreatorIdStddevSampleAssetIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_SAMPLE_ASSET_ID_ASC', + ConfidentialAssetsByCreatorIdStddevSampleAssetIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_SAMPLE_ASSET_ID_DESC', + ConfidentialAssetsByCreatorIdStddevSampleAuditorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_SAMPLE_AUDITORS_ASC', + ConfidentialAssetsByCreatorIdStddevSampleAuditorsDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_SAMPLE_AUDITORS_DESC', + ConfidentialAssetsByCreatorIdStddevSampleCreatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_SAMPLE_CREATED_AT_ASC', + ConfidentialAssetsByCreatorIdStddevSampleCreatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_SAMPLE_CREATED_AT_DESC', + ConfidentialAssetsByCreatorIdStddevSampleCreatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', + ConfidentialAssetsByCreatorIdStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialAssetsByCreatorIdStddevSampleCreatorIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_SAMPLE_CREATOR_ID_ASC', + ConfidentialAssetsByCreatorIdStddevSampleCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_SAMPLE_CREATOR_ID_DESC', + ConfidentialAssetsByCreatorIdStddevSampleDataAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_SAMPLE_DATA_ASC', + ConfidentialAssetsByCreatorIdStddevSampleDataDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_SAMPLE_DATA_DESC', + ConfidentialAssetsByCreatorIdStddevSampleIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_SAMPLE_ID_ASC', + ConfidentialAssetsByCreatorIdStddevSampleIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_SAMPLE_ID_DESC', + ConfidentialAssetsByCreatorIdStddevSampleMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_SAMPLE_MEDIATORS_ASC', + ConfidentialAssetsByCreatorIdStddevSampleMediatorsDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_SAMPLE_MEDIATORS_DESC', + ConfidentialAssetsByCreatorIdStddevSampleTickerAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_SAMPLE_TICKER_ASC', + ConfidentialAssetsByCreatorIdStddevSampleTickerDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_SAMPLE_TICKER_DESC', + ConfidentialAssetsByCreatorIdStddevSampleTotalSupplyAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_SAMPLE_TOTAL_SUPPLY_ASC', + ConfidentialAssetsByCreatorIdStddevSampleTotalSupplyDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_SAMPLE_TOTAL_SUPPLY_DESC', + ConfidentialAssetsByCreatorIdStddevSampleUpdatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', + ConfidentialAssetsByCreatorIdStddevSampleUpdatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', + ConfidentialAssetsByCreatorIdStddevSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetsByCreatorIdStddevSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetsByCreatorIdStddevSampleVenueFilteringAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_SAMPLE_VENUE_FILTERING_ASC', + ConfidentialAssetsByCreatorIdStddevSampleVenueFilteringDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_SAMPLE_VENUE_FILTERING_DESC', + ConfidentialAssetsByCreatorIdSumAllowedVenuesAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_SUM_ALLOWED_VENUES_ASC', + ConfidentialAssetsByCreatorIdSumAllowedVenuesDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_SUM_ALLOWED_VENUES_DESC', + ConfidentialAssetsByCreatorIdSumAssetIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_SUM_ASSET_ID_ASC', + ConfidentialAssetsByCreatorIdSumAssetIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_SUM_ASSET_ID_DESC', + ConfidentialAssetsByCreatorIdSumAuditorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_SUM_AUDITORS_ASC', + ConfidentialAssetsByCreatorIdSumAuditorsDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_SUM_AUDITORS_DESC', + ConfidentialAssetsByCreatorIdSumCreatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_SUM_CREATED_AT_ASC', + ConfidentialAssetsByCreatorIdSumCreatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_SUM_CREATED_AT_DESC', + ConfidentialAssetsByCreatorIdSumCreatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_SUM_CREATED_BLOCK_ID_ASC', + ConfidentialAssetsByCreatorIdSumCreatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_SUM_CREATED_BLOCK_ID_DESC', + ConfidentialAssetsByCreatorIdSumCreatorIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_SUM_CREATOR_ID_ASC', + ConfidentialAssetsByCreatorIdSumCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_SUM_CREATOR_ID_DESC', + ConfidentialAssetsByCreatorIdSumDataAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_SUM_DATA_ASC', + ConfidentialAssetsByCreatorIdSumDataDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_SUM_DATA_DESC', + ConfidentialAssetsByCreatorIdSumIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_SUM_ID_ASC', + ConfidentialAssetsByCreatorIdSumIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_SUM_ID_DESC', + ConfidentialAssetsByCreatorIdSumMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_SUM_MEDIATORS_ASC', + ConfidentialAssetsByCreatorIdSumMediatorsDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_SUM_MEDIATORS_DESC', + ConfidentialAssetsByCreatorIdSumTickerAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_SUM_TICKER_ASC', + ConfidentialAssetsByCreatorIdSumTickerDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_SUM_TICKER_DESC', + ConfidentialAssetsByCreatorIdSumTotalSupplyAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_SUM_TOTAL_SUPPLY_ASC', + ConfidentialAssetsByCreatorIdSumTotalSupplyDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_SUM_TOTAL_SUPPLY_DESC', + ConfidentialAssetsByCreatorIdSumUpdatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_SUM_UPDATED_AT_ASC', + ConfidentialAssetsByCreatorIdSumUpdatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_SUM_UPDATED_AT_DESC', + ConfidentialAssetsByCreatorIdSumUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_SUM_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetsByCreatorIdSumUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_SUM_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetsByCreatorIdSumVenueFilteringAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_SUM_VENUE_FILTERING_ASC', + ConfidentialAssetsByCreatorIdSumVenueFilteringDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_SUM_VENUE_FILTERING_DESC', + ConfidentialAssetsByCreatorIdVariancePopulationAllowedVenuesAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_POPULATION_ALLOWED_VENUES_ASC', + ConfidentialAssetsByCreatorIdVariancePopulationAllowedVenuesDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_POPULATION_ALLOWED_VENUES_DESC', + ConfidentialAssetsByCreatorIdVariancePopulationAssetIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_POPULATION_ASSET_ID_ASC', + ConfidentialAssetsByCreatorIdVariancePopulationAssetIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_POPULATION_ASSET_ID_DESC', + ConfidentialAssetsByCreatorIdVariancePopulationAuditorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_POPULATION_AUDITORS_ASC', + ConfidentialAssetsByCreatorIdVariancePopulationAuditorsDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_POPULATION_AUDITORS_DESC', + ConfidentialAssetsByCreatorIdVariancePopulationCreatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_POPULATION_CREATED_AT_ASC', + ConfidentialAssetsByCreatorIdVariancePopulationCreatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_POPULATION_CREATED_AT_DESC', + ConfidentialAssetsByCreatorIdVariancePopulationCreatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', + ConfidentialAssetsByCreatorIdVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialAssetsByCreatorIdVariancePopulationCreatorIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_POPULATION_CREATOR_ID_ASC', + ConfidentialAssetsByCreatorIdVariancePopulationCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_POPULATION_CREATOR_ID_DESC', + ConfidentialAssetsByCreatorIdVariancePopulationDataAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_POPULATION_DATA_ASC', + ConfidentialAssetsByCreatorIdVariancePopulationDataDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_POPULATION_DATA_DESC', + ConfidentialAssetsByCreatorIdVariancePopulationIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_POPULATION_ID_ASC', + ConfidentialAssetsByCreatorIdVariancePopulationIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_POPULATION_ID_DESC', + ConfidentialAssetsByCreatorIdVariancePopulationMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_POPULATION_MEDIATORS_ASC', + ConfidentialAssetsByCreatorIdVariancePopulationMediatorsDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_POPULATION_MEDIATORS_DESC', + ConfidentialAssetsByCreatorIdVariancePopulationTickerAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_POPULATION_TICKER_ASC', + ConfidentialAssetsByCreatorIdVariancePopulationTickerDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_POPULATION_TICKER_DESC', + ConfidentialAssetsByCreatorIdVariancePopulationTotalSupplyAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_POPULATION_TOTAL_SUPPLY_ASC', + ConfidentialAssetsByCreatorIdVariancePopulationTotalSupplyDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_POPULATION_TOTAL_SUPPLY_DESC', + ConfidentialAssetsByCreatorIdVariancePopulationUpdatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', + ConfidentialAssetsByCreatorIdVariancePopulationUpdatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', + ConfidentialAssetsByCreatorIdVariancePopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetsByCreatorIdVariancePopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetsByCreatorIdVariancePopulationVenueFilteringAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_POPULATION_VENUE_FILTERING_ASC', + ConfidentialAssetsByCreatorIdVariancePopulationVenueFilteringDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_POPULATION_VENUE_FILTERING_DESC', + ConfidentialAssetsByCreatorIdVarianceSampleAllowedVenuesAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_SAMPLE_ALLOWED_VENUES_ASC', + ConfidentialAssetsByCreatorIdVarianceSampleAllowedVenuesDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_SAMPLE_ALLOWED_VENUES_DESC', + ConfidentialAssetsByCreatorIdVarianceSampleAssetIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_SAMPLE_ASSET_ID_ASC', + ConfidentialAssetsByCreatorIdVarianceSampleAssetIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_SAMPLE_ASSET_ID_DESC', + ConfidentialAssetsByCreatorIdVarianceSampleAuditorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_SAMPLE_AUDITORS_ASC', + ConfidentialAssetsByCreatorIdVarianceSampleAuditorsDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_SAMPLE_AUDITORS_DESC', + ConfidentialAssetsByCreatorIdVarianceSampleCreatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', + ConfidentialAssetsByCreatorIdVarianceSampleCreatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', + ConfidentialAssetsByCreatorIdVarianceSampleCreatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', + ConfidentialAssetsByCreatorIdVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialAssetsByCreatorIdVarianceSampleCreatorIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_SAMPLE_CREATOR_ID_ASC', + ConfidentialAssetsByCreatorIdVarianceSampleCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_SAMPLE_CREATOR_ID_DESC', + ConfidentialAssetsByCreatorIdVarianceSampleDataAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_SAMPLE_DATA_ASC', + ConfidentialAssetsByCreatorIdVarianceSampleDataDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_SAMPLE_DATA_DESC', + ConfidentialAssetsByCreatorIdVarianceSampleIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_SAMPLE_ID_ASC', + ConfidentialAssetsByCreatorIdVarianceSampleIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_SAMPLE_ID_DESC', + ConfidentialAssetsByCreatorIdVarianceSampleMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_SAMPLE_MEDIATORS_ASC', + ConfidentialAssetsByCreatorIdVarianceSampleMediatorsDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_SAMPLE_MEDIATORS_DESC', + ConfidentialAssetsByCreatorIdVarianceSampleTickerAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_SAMPLE_TICKER_ASC', + ConfidentialAssetsByCreatorIdVarianceSampleTickerDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_SAMPLE_TICKER_DESC', + ConfidentialAssetsByCreatorIdVarianceSampleTotalSupplyAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_SAMPLE_TOTAL_SUPPLY_ASC', + ConfidentialAssetsByCreatorIdVarianceSampleTotalSupplyDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_SAMPLE_TOTAL_SUPPLY_DESC', + ConfidentialAssetsByCreatorIdVarianceSampleUpdatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', + ConfidentialAssetsByCreatorIdVarianceSampleUpdatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', + ConfidentialAssetsByCreatorIdVarianceSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', + ConfidentialAssetsByCreatorIdVarianceSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', + ConfidentialAssetsByCreatorIdVarianceSampleVenueFilteringAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_SAMPLE_VENUE_FILTERING_ASC', + ConfidentialAssetsByCreatorIdVarianceSampleVenueFilteringDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_SAMPLE_VENUE_FILTERING_DESC', + ConfidentialTransactionAffirmationsAverageAccountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_AVERAGE_ACCOUNT_ID_ASC', + ConfidentialTransactionAffirmationsAverageAccountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_AVERAGE_ACCOUNT_ID_DESC', + ConfidentialTransactionAffirmationsAverageCreatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_AVERAGE_CREATED_AT_ASC', + ConfidentialTransactionAffirmationsAverageCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_AVERAGE_CREATED_AT_DESC', + ConfidentialTransactionAffirmationsAverageCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_AVERAGE_CREATED_BLOCK_ID_ASC', + ConfidentialTransactionAffirmationsAverageCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_AVERAGE_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsAverageIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_AVERAGE_IDENTITY_ID_ASC', + ConfidentialTransactionAffirmationsAverageIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_AVERAGE_IDENTITY_ID_DESC', + ConfidentialTransactionAffirmationsAverageIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_AVERAGE_ID_ASC', + ConfidentialTransactionAffirmationsAverageIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_AVERAGE_ID_DESC', + ConfidentialTransactionAffirmationsAverageLegIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_AVERAGE_LEG_ID_ASC', + ConfidentialTransactionAffirmationsAverageLegIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_AVERAGE_LEG_ID_DESC', + ConfidentialTransactionAffirmationsAverageProofsAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_AVERAGE_PROOFS_ASC', + ConfidentialTransactionAffirmationsAverageProofsDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_AVERAGE_PROOFS_DESC', + ConfidentialTransactionAffirmationsAverageStatusAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_AVERAGE_STATUS_ASC', + ConfidentialTransactionAffirmationsAverageStatusDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_AVERAGE_STATUS_DESC', + ConfidentialTransactionAffirmationsAverageTransactionIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_AVERAGE_TRANSACTION_ID_ASC', + ConfidentialTransactionAffirmationsAverageTransactionIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_AVERAGE_TRANSACTION_ID_DESC', + ConfidentialTransactionAffirmationsAverageTypeAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_AVERAGE_TYPE_ASC', + ConfidentialTransactionAffirmationsAverageTypeDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_AVERAGE_TYPE_DESC', + ConfidentialTransactionAffirmationsAverageUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_AVERAGE_UPDATED_AT_ASC', + ConfidentialTransactionAffirmationsAverageUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_AVERAGE_UPDATED_AT_DESC', + ConfidentialTransactionAffirmationsAverageUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_AVERAGE_UPDATED_BLOCK_ID_ASC', + ConfidentialTransactionAffirmationsAverageUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_AVERAGE_UPDATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsCountAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_COUNT_ASC', + ConfidentialTransactionAffirmationsCountDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_COUNT_DESC', + ConfidentialTransactionAffirmationsDistinctCountAccountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_DISTINCT_COUNT_ACCOUNT_ID_ASC', + ConfidentialTransactionAffirmationsDistinctCountAccountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_DISTINCT_COUNT_ACCOUNT_ID_DESC', + ConfidentialTransactionAffirmationsDistinctCountCreatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_DISTINCT_COUNT_CREATED_AT_ASC', + ConfidentialTransactionAffirmationsDistinctCountCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_DISTINCT_COUNT_CREATED_AT_DESC', + ConfidentialTransactionAffirmationsDistinctCountCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', + ConfidentialTransactionAffirmationsDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsDistinctCountIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_DISTINCT_COUNT_IDENTITY_ID_ASC', + ConfidentialTransactionAffirmationsDistinctCountIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_DISTINCT_COUNT_IDENTITY_ID_DESC', + ConfidentialTransactionAffirmationsDistinctCountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_DISTINCT_COUNT_ID_ASC', + ConfidentialTransactionAffirmationsDistinctCountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_DISTINCT_COUNT_ID_DESC', + ConfidentialTransactionAffirmationsDistinctCountLegIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_DISTINCT_COUNT_LEG_ID_ASC', + ConfidentialTransactionAffirmationsDistinctCountLegIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_DISTINCT_COUNT_LEG_ID_DESC', + ConfidentialTransactionAffirmationsDistinctCountProofsAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_DISTINCT_COUNT_PROOFS_ASC', + ConfidentialTransactionAffirmationsDistinctCountProofsDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_DISTINCT_COUNT_PROOFS_DESC', + ConfidentialTransactionAffirmationsDistinctCountStatusAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_DISTINCT_COUNT_STATUS_ASC', + ConfidentialTransactionAffirmationsDistinctCountStatusDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_DISTINCT_COUNT_STATUS_DESC', + ConfidentialTransactionAffirmationsDistinctCountTransactionIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_DISTINCT_COUNT_TRANSACTION_ID_ASC', + ConfidentialTransactionAffirmationsDistinctCountTransactionIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_DISTINCT_COUNT_TRANSACTION_ID_DESC', + ConfidentialTransactionAffirmationsDistinctCountTypeAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_DISTINCT_COUNT_TYPE_ASC', + ConfidentialTransactionAffirmationsDistinctCountTypeDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_DISTINCT_COUNT_TYPE_DESC', + ConfidentialTransactionAffirmationsDistinctCountUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_DISTINCT_COUNT_UPDATED_AT_ASC', + ConfidentialTransactionAffirmationsDistinctCountUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_DISTINCT_COUNT_UPDATED_AT_DESC', + ConfidentialTransactionAffirmationsDistinctCountUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', + ConfidentialTransactionAffirmationsDistinctCountUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsMaxAccountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MAX_ACCOUNT_ID_ASC', + ConfidentialTransactionAffirmationsMaxAccountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MAX_ACCOUNT_ID_DESC', + ConfidentialTransactionAffirmationsMaxCreatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MAX_CREATED_AT_ASC', + ConfidentialTransactionAffirmationsMaxCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MAX_CREATED_AT_DESC', + ConfidentialTransactionAffirmationsMaxCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MAX_CREATED_BLOCK_ID_ASC', + ConfidentialTransactionAffirmationsMaxCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MAX_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsMaxIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MAX_IDENTITY_ID_ASC', + ConfidentialTransactionAffirmationsMaxIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MAX_IDENTITY_ID_DESC', + ConfidentialTransactionAffirmationsMaxIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MAX_ID_ASC', + ConfidentialTransactionAffirmationsMaxIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MAX_ID_DESC', + ConfidentialTransactionAffirmationsMaxLegIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MAX_LEG_ID_ASC', + ConfidentialTransactionAffirmationsMaxLegIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MAX_LEG_ID_DESC', + ConfidentialTransactionAffirmationsMaxProofsAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MAX_PROOFS_ASC', + ConfidentialTransactionAffirmationsMaxProofsDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MAX_PROOFS_DESC', + ConfidentialTransactionAffirmationsMaxStatusAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MAX_STATUS_ASC', + ConfidentialTransactionAffirmationsMaxStatusDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MAX_STATUS_DESC', + ConfidentialTransactionAffirmationsMaxTransactionIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MAX_TRANSACTION_ID_ASC', + ConfidentialTransactionAffirmationsMaxTransactionIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MAX_TRANSACTION_ID_DESC', + ConfidentialTransactionAffirmationsMaxTypeAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MAX_TYPE_ASC', + ConfidentialTransactionAffirmationsMaxTypeDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MAX_TYPE_DESC', + ConfidentialTransactionAffirmationsMaxUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MAX_UPDATED_AT_ASC', + ConfidentialTransactionAffirmationsMaxUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MAX_UPDATED_AT_DESC', + ConfidentialTransactionAffirmationsMaxUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MAX_UPDATED_BLOCK_ID_ASC', + ConfidentialTransactionAffirmationsMaxUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MAX_UPDATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsMinAccountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MIN_ACCOUNT_ID_ASC', + ConfidentialTransactionAffirmationsMinAccountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MIN_ACCOUNT_ID_DESC', + ConfidentialTransactionAffirmationsMinCreatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MIN_CREATED_AT_ASC', + ConfidentialTransactionAffirmationsMinCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MIN_CREATED_AT_DESC', + ConfidentialTransactionAffirmationsMinCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MIN_CREATED_BLOCK_ID_ASC', + ConfidentialTransactionAffirmationsMinCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MIN_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsMinIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MIN_IDENTITY_ID_ASC', + ConfidentialTransactionAffirmationsMinIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MIN_IDENTITY_ID_DESC', + ConfidentialTransactionAffirmationsMinIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MIN_ID_ASC', + ConfidentialTransactionAffirmationsMinIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MIN_ID_DESC', + ConfidentialTransactionAffirmationsMinLegIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MIN_LEG_ID_ASC', + ConfidentialTransactionAffirmationsMinLegIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MIN_LEG_ID_DESC', + ConfidentialTransactionAffirmationsMinProofsAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MIN_PROOFS_ASC', + ConfidentialTransactionAffirmationsMinProofsDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MIN_PROOFS_DESC', + ConfidentialTransactionAffirmationsMinStatusAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MIN_STATUS_ASC', + ConfidentialTransactionAffirmationsMinStatusDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MIN_STATUS_DESC', + ConfidentialTransactionAffirmationsMinTransactionIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MIN_TRANSACTION_ID_ASC', + ConfidentialTransactionAffirmationsMinTransactionIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MIN_TRANSACTION_ID_DESC', + ConfidentialTransactionAffirmationsMinTypeAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MIN_TYPE_ASC', + ConfidentialTransactionAffirmationsMinTypeDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MIN_TYPE_DESC', + ConfidentialTransactionAffirmationsMinUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MIN_UPDATED_AT_ASC', + ConfidentialTransactionAffirmationsMinUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MIN_UPDATED_AT_DESC', + ConfidentialTransactionAffirmationsMinUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MIN_UPDATED_BLOCK_ID_ASC', + ConfidentialTransactionAffirmationsMinUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MIN_UPDATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsStddevPopulationAccountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_POPULATION_ACCOUNT_ID_ASC', + ConfidentialTransactionAffirmationsStddevPopulationAccountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_POPULATION_ACCOUNT_ID_DESC', + ConfidentialTransactionAffirmationsStddevPopulationCreatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_POPULATION_CREATED_AT_ASC', + ConfidentialTransactionAffirmationsStddevPopulationCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_POPULATION_CREATED_AT_DESC', + ConfidentialTransactionAffirmationsStddevPopulationCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', + ConfidentialTransactionAffirmationsStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsStddevPopulationIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_POPULATION_IDENTITY_ID_ASC', + ConfidentialTransactionAffirmationsStddevPopulationIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_POPULATION_IDENTITY_ID_DESC', + ConfidentialTransactionAffirmationsStddevPopulationIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_POPULATION_ID_ASC', + ConfidentialTransactionAffirmationsStddevPopulationIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_POPULATION_ID_DESC', + ConfidentialTransactionAffirmationsStddevPopulationLegIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_POPULATION_LEG_ID_ASC', + ConfidentialTransactionAffirmationsStddevPopulationLegIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_POPULATION_LEG_ID_DESC', + ConfidentialTransactionAffirmationsStddevPopulationProofsAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_POPULATION_PROOFS_ASC', + ConfidentialTransactionAffirmationsStddevPopulationProofsDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_POPULATION_PROOFS_DESC', + ConfidentialTransactionAffirmationsStddevPopulationStatusAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_POPULATION_STATUS_ASC', + ConfidentialTransactionAffirmationsStddevPopulationStatusDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_POPULATION_STATUS_DESC', + ConfidentialTransactionAffirmationsStddevPopulationTransactionIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_POPULATION_TRANSACTION_ID_ASC', + ConfidentialTransactionAffirmationsStddevPopulationTransactionIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_POPULATION_TRANSACTION_ID_DESC', + ConfidentialTransactionAffirmationsStddevPopulationTypeAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_POPULATION_TYPE_ASC', + ConfidentialTransactionAffirmationsStddevPopulationTypeDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_POPULATION_TYPE_DESC', + ConfidentialTransactionAffirmationsStddevPopulationUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_POPULATION_UPDATED_AT_ASC', + ConfidentialTransactionAffirmationsStddevPopulationUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_POPULATION_UPDATED_AT_DESC', + ConfidentialTransactionAffirmationsStddevPopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', + ConfidentialTransactionAffirmationsStddevPopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsStddevSampleAccountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_SAMPLE_ACCOUNT_ID_ASC', + ConfidentialTransactionAffirmationsStddevSampleAccountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_SAMPLE_ACCOUNT_ID_DESC', + ConfidentialTransactionAffirmationsStddevSampleCreatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_SAMPLE_CREATED_AT_ASC', + ConfidentialTransactionAffirmationsStddevSampleCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_SAMPLE_CREATED_AT_DESC', + ConfidentialTransactionAffirmationsStddevSampleCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', + ConfidentialTransactionAffirmationsStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsStddevSampleIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_SAMPLE_IDENTITY_ID_ASC', + ConfidentialTransactionAffirmationsStddevSampleIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_SAMPLE_IDENTITY_ID_DESC', + ConfidentialTransactionAffirmationsStddevSampleIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_SAMPLE_ID_ASC', + ConfidentialTransactionAffirmationsStddevSampleIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_SAMPLE_ID_DESC', + ConfidentialTransactionAffirmationsStddevSampleLegIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_SAMPLE_LEG_ID_ASC', + ConfidentialTransactionAffirmationsStddevSampleLegIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_SAMPLE_LEG_ID_DESC', + ConfidentialTransactionAffirmationsStddevSampleProofsAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_SAMPLE_PROOFS_ASC', + ConfidentialTransactionAffirmationsStddevSampleProofsDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_SAMPLE_PROOFS_DESC', + ConfidentialTransactionAffirmationsStddevSampleStatusAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_SAMPLE_STATUS_ASC', + ConfidentialTransactionAffirmationsStddevSampleStatusDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_SAMPLE_STATUS_DESC', + ConfidentialTransactionAffirmationsStddevSampleTransactionIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_SAMPLE_TRANSACTION_ID_ASC', + ConfidentialTransactionAffirmationsStddevSampleTransactionIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_SAMPLE_TRANSACTION_ID_DESC', + ConfidentialTransactionAffirmationsStddevSampleTypeAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_SAMPLE_TYPE_ASC', + ConfidentialTransactionAffirmationsStddevSampleTypeDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_SAMPLE_TYPE_DESC', + ConfidentialTransactionAffirmationsStddevSampleUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_SAMPLE_UPDATED_AT_ASC', + ConfidentialTransactionAffirmationsStddevSampleUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_SAMPLE_UPDATED_AT_DESC', + ConfidentialTransactionAffirmationsStddevSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', + ConfidentialTransactionAffirmationsStddevSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsSumAccountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_SUM_ACCOUNT_ID_ASC', + ConfidentialTransactionAffirmationsSumAccountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_SUM_ACCOUNT_ID_DESC', + ConfidentialTransactionAffirmationsSumCreatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_SUM_CREATED_AT_ASC', + ConfidentialTransactionAffirmationsSumCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_SUM_CREATED_AT_DESC', + ConfidentialTransactionAffirmationsSumCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_SUM_CREATED_BLOCK_ID_ASC', + ConfidentialTransactionAffirmationsSumCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_SUM_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsSumIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_SUM_IDENTITY_ID_ASC', + ConfidentialTransactionAffirmationsSumIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_SUM_IDENTITY_ID_DESC', + ConfidentialTransactionAffirmationsSumIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_SUM_ID_ASC', + ConfidentialTransactionAffirmationsSumIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_SUM_ID_DESC', + ConfidentialTransactionAffirmationsSumLegIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_SUM_LEG_ID_ASC', + ConfidentialTransactionAffirmationsSumLegIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_SUM_LEG_ID_DESC', + ConfidentialTransactionAffirmationsSumProofsAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_SUM_PROOFS_ASC', + ConfidentialTransactionAffirmationsSumProofsDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_SUM_PROOFS_DESC', + ConfidentialTransactionAffirmationsSumStatusAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_SUM_STATUS_ASC', + ConfidentialTransactionAffirmationsSumStatusDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_SUM_STATUS_DESC', + ConfidentialTransactionAffirmationsSumTransactionIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_SUM_TRANSACTION_ID_ASC', + ConfidentialTransactionAffirmationsSumTransactionIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_SUM_TRANSACTION_ID_DESC', + ConfidentialTransactionAffirmationsSumTypeAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_SUM_TYPE_ASC', + ConfidentialTransactionAffirmationsSumTypeDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_SUM_TYPE_DESC', + ConfidentialTransactionAffirmationsSumUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_SUM_UPDATED_AT_ASC', + ConfidentialTransactionAffirmationsSumUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_SUM_UPDATED_AT_DESC', + ConfidentialTransactionAffirmationsSumUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_SUM_UPDATED_BLOCK_ID_ASC', + ConfidentialTransactionAffirmationsSumUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_SUM_UPDATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsVariancePopulationAccountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_POPULATION_ACCOUNT_ID_ASC', + ConfidentialTransactionAffirmationsVariancePopulationAccountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_POPULATION_ACCOUNT_ID_DESC', + ConfidentialTransactionAffirmationsVariancePopulationCreatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_POPULATION_CREATED_AT_ASC', + ConfidentialTransactionAffirmationsVariancePopulationCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_POPULATION_CREATED_AT_DESC', + ConfidentialTransactionAffirmationsVariancePopulationCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', + ConfidentialTransactionAffirmationsVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsVariancePopulationIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_POPULATION_IDENTITY_ID_ASC', + ConfidentialTransactionAffirmationsVariancePopulationIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_POPULATION_IDENTITY_ID_DESC', + ConfidentialTransactionAffirmationsVariancePopulationIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_POPULATION_ID_ASC', + ConfidentialTransactionAffirmationsVariancePopulationIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_POPULATION_ID_DESC', + ConfidentialTransactionAffirmationsVariancePopulationLegIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_POPULATION_LEG_ID_ASC', + ConfidentialTransactionAffirmationsVariancePopulationLegIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_POPULATION_LEG_ID_DESC', + ConfidentialTransactionAffirmationsVariancePopulationProofsAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_POPULATION_PROOFS_ASC', + ConfidentialTransactionAffirmationsVariancePopulationProofsDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_POPULATION_PROOFS_DESC', + ConfidentialTransactionAffirmationsVariancePopulationStatusAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_POPULATION_STATUS_ASC', + ConfidentialTransactionAffirmationsVariancePopulationStatusDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_POPULATION_STATUS_DESC', + ConfidentialTransactionAffirmationsVariancePopulationTransactionIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_POPULATION_TRANSACTION_ID_ASC', + ConfidentialTransactionAffirmationsVariancePopulationTransactionIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_POPULATION_TRANSACTION_ID_DESC', + ConfidentialTransactionAffirmationsVariancePopulationTypeAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_POPULATION_TYPE_ASC', + ConfidentialTransactionAffirmationsVariancePopulationTypeDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_POPULATION_TYPE_DESC', + ConfidentialTransactionAffirmationsVariancePopulationUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_POPULATION_UPDATED_AT_ASC', + ConfidentialTransactionAffirmationsVariancePopulationUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_POPULATION_UPDATED_AT_DESC', + ConfidentialTransactionAffirmationsVariancePopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', + ConfidentialTransactionAffirmationsVariancePopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsVarianceSampleAccountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_SAMPLE_ACCOUNT_ID_ASC', + ConfidentialTransactionAffirmationsVarianceSampleAccountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_SAMPLE_ACCOUNT_ID_DESC', + ConfidentialTransactionAffirmationsVarianceSampleCreatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_SAMPLE_CREATED_AT_ASC', + ConfidentialTransactionAffirmationsVarianceSampleCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_SAMPLE_CREATED_AT_DESC', + ConfidentialTransactionAffirmationsVarianceSampleCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', + ConfidentialTransactionAffirmationsVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsVarianceSampleIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_SAMPLE_IDENTITY_ID_ASC', + ConfidentialTransactionAffirmationsVarianceSampleIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_SAMPLE_IDENTITY_ID_DESC', + ConfidentialTransactionAffirmationsVarianceSampleIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_SAMPLE_ID_ASC', + ConfidentialTransactionAffirmationsVarianceSampleIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_SAMPLE_ID_DESC', + ConfidentialTransactionAffirmationsVarianceSampleLegIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_SAMPLE_LEG_ID_ASC', + ConfidentialTransactionAffirmationsVarianceSampleLegIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_SAMPLE_LEG_ID_DESC', + ConfidentialTransactionAffirmationsVarianceSampleProofsAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_SAMPLE_PROOFS_ASC', + ConfidentialTransactionAffirmationsVarianceSampleProofsDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_SAMPLE_PROOFS_DESC', + ConfidentialTransactionAffirmationsVarianceSampleStatusAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_SAMPLE_STATUS_ASC', + ConfidentialTransactionAffirmationsVarianceSampleStatusDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_SAMPLE_STATUS_DESC', + ConfidentialTransactionAffirmationsVarianceSampleTransactionIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_SAMPLE_TRANSACTION_ID_ASC', + ConfidentialTransactionAffirmationsVarianceSampleTransactionIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_SAMPLE_TRANSACTION_ID_DESC', + ConfidentialTransactionAffirmationsVarianceSampleTypeAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_SAMPLE_TYPE_ASC', + ConfidentialTransactionAffirmationsVarianceSampleTypeDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_SAMPLE_TYPE_DESC', + ConfidentialTransactionAffirmationsVarianceSampleUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_SAMPLE_UPDATED_AT_ASC', + ConfidentialTransactionAffirmationsVarianceSampleUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_SAMPLE_UPDATED_AT_DESC', + ConfidentialTransactionAffirmationsVarianceSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', + ConfidentialTransactionAffirmationsVarianceSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', + ConfidentialVenuesByCreatorIdAverageCreatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_AVERAGE_CREATED_AT_ASC', + ConfidentialVenuesByCreatorIdAverageCreatedAtDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_AVERAGE_CREATED_AT_DESC', + ConfidentialVenuesByCreatorIdAverageCreatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_AVERAGE_CREATED_BLOCK_ID_ASC', + ConfidentialVenuesByCreatorIdAverageCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_AVERAGE_CREATED_BLOCK_ID_DESC', + ConfidentialVenuesByCreatorIdAverageCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_AVERAGE_CREATOR_ID_ASC', + ConfidentialVenuesByCreatorIdAverageCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_AVERAGE_CREATOR_ID_DESC', + ConfidentialVenuesByCreatorIdAverageIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_AVERAGE_ID_ASC', + ConfidentialVenuesByCreatorIdAverageIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_AVERAGE_ID_DESC', + ConfidentialVenuesByCreatorIdAverageUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_AVERAGE_UPDATED_AT_ASC', + ConfidentialVenuesByCreatorIdAverageUpdatedAtDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_AVERAGE_UPDATED_AT_DESC', + ConfidentialVenuesByCreatorIdAverageUpdatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', + ConfidentialVenuesByCreatorIdAverageUpdatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', + ConfidentialVenuesByCreatorIdAverageVenueIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_AVERAGE_VENUE_ID_ASC', + ConfidentialVenuesByCreatorIdAverageVenueIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_AVERAGE_VENUE_ID_DESC', + ConfidentialVenuesByCreatorIdCountAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_COUNT_ASC', + ConfidentialVenuesByCreatorIdCountDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_COUNT_DESC', + ConfidentialVenuesByCreatorIdDistinctCountCreatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_DISTINCT_COUNT_CREATED_AT_ASC', + ConfidentialVenuesByCreatorIdDistinctCountCreatedAtDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_DISTINCT_COUNT_CREATED_AT_DESC', + ConfidentialVenuesByCreatorIdDistinctCountCreatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', + ConfidentialVenuesByCreatorIdDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', + ConfidentialVenuesByCreatorIdDistinctCountCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_DISTINCT_COUNT_CREATOR_ID_ASC', + ConfidentialVenuesByCreatorIdDistinctCountCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_DISTINCT_COUNT_CREATOR_ID_DESC', + ConfidentialVenuesByCreatorIdDistinctCountIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_DISTINCT_COUNT_ID_ASC', + ConfidentialVenuesByCreatorIdDistinctCountIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_DISTINCT_COUNT_ID_DESC', + ConfidentialVenuesByCreatorIdDistinctCountUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_DISTINCT_COUNT_UPDATED_AT_ASC', + ConfidentialVenuesByCreatorIdDistinctCountUpdatedAtDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_DISTINCT_COUNT_UPDATED_AT_DESC', + ConfidentialVenuesByCreatorIdDistinctCountUpdatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', + ConfidentialVenuesByCreatorIdDistinctCountUpdatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', + ConfidentialVenuesByCreatorIdDistinctCountVenueIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_DISTINCT_COUNT_VENUE_ID_ASC', + ConfidentialVenuesByCreatorIdDistinctCountVenueIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_DISTINCT_COUNT_VENUE_ID_DESC', + ConfidentialVenuesByCreatorIdMaxCreatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MAX_CREATED_AT_ASC', + ConfidentialVenuesByCreatorIdMaxCreatedAtDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MAX_CREATED_AT_DESC', + ConfidentialVenuesByCreatorIdMaxCreatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MAX_CREATED_BLOCK_ID_ASC', + ConfidentialVenuesByCreatorIdMaxCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MAX_CREATED_BLOCK_ID_DESC', + ConfidentialVenuesByCreatorIdMaxCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MAX_CREATOR_ID_ASC', + ConfidentialVenuesByCreatorIdMaxCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MAX_CREATOR_ID_DESC', + ConfidentialVenuesByCreatorIdMaxIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MAX_ID_ASC', + ConfidentialVenuesByCreatorIdMaxIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MAX_ID_DESC', + ConfidentialVenuesByCreatorIdMaxUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MAX_UPDATED_AT_ASC', + ConfidentialVenuesByCreatorIdMaxUpdatedAtDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MAX_UPDATED_AT_DESC', + ConfidentialVenuesByCreatorIdMaxUpdatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MAX_UPDATED_BLOCK_ID_ASC', + ConfidentialVenuesByCreatorIdMaxUpdatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MAX_UPDATED_BLOCK_ID_DESC', + ConfidentialVenuesByCreatorIdMaxVenueIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MAX_VENUE_ID_ASC', + ConfidentialVenuesByCreatorIdMaxVenueIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MAX_VENUE_ID_DESC', + ConfidentialVenuesByCreatorIdMinCreatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MIN_CREATED_AT_ASC', + ConfidentialVenuesByCreatorIdMinCreatedAtDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MIN_CREATED_AT_DESC', + ConfidentialVenuesByCreatorIdMinCreatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MIN_CREATED_BLOCK_ID_ASC', + ConfidentialVenuesByCreatorIdMinCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MIN_CREATED_BLOCK_ID_DESC', + ConfidentialVenuesByCreatorIdMinCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MIN_CREATOR_ID_ASC', + ConfidentialVenuesByCreatorIdMinCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MIN_CREATOR_ID_DESC', + ConfidentialVenuesByCreatorIdMinIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MIN_ID_ASC', + ConfidentialVenuesByCreatorIdMinIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MIN_ID_DESC', + ConfidentialVenuesByCreatorIdMinUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MIN_UPDATED_AT_ASC', + ConfidentialVenuesByCreatorIdMinUpdatedAtDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MIN_UPDATED_AT_DESC', + ConfidentialVenuesByCreatorIdMinUpdatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MIN_UPDATED_BLOCK_ID_ASC', + ConfidentialVenuesByCreatorIdMinUpdatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MIN_UPDATED_BLOCK_ID_DESC', + ConfidentialVenuesByCreatorIdMinVenueIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MIN_VENUE_ID_ASC', + ConfidentialVenuesByCreatorIdMinVenueIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MIN_VENUE_ID_DESC', + ConfidentialVenuesByCreatorIdStddevPopulationCreatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_POPULATION_CREATED_AT_ASC', + ConfidentialVenuesByCreatorIdStddevPopulationCreatedAtDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_POPULATION_CREATED_AT_DESC', + ConfidentialVenuesByCreatorIdStddevPopulationCreatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', + ConfidentialVenuesByCreatorIdStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialVenuesByCreatorIdStddevPopulationCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_POPULATION_CREATOR_ID_ASC', + ConfidentialVenuesByCreatorIdStddevPopulationCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_POPULATION_CREATOR_ID_DESC', + ConfidentialVenuesByCreatorIdStddevPopulationIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_POPULATION_ID_ASC', + ConfidentialVenuesByCreatorIdStddevPopulationIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_POPULATION_ID_DESC', + ConfidentialVenuesByCreatorIdStddevPopulationUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_POPULATION_UPDATED_AT_ASC', + ConfidentialVenuesByCreatorIdStddevPopulationUpdatedAtDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_POPULATION_UPDATED_AT_DESC', + ConfidentialVenuesByCreatorIdStddevPopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', + ConfidentialVenuesByCreatorIdStddevPopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', + ConfidentialVenuesByCreatorIdStddevPopulationVenueIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_POPULATION_VENUE_ID_ASC', + ConfidentialVenuesByCreatorIdStddevPopulationVenueIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_POPULATION_VENUE_ID_DESC', + ConfidentialVenuesByCreatorIdStddevSampleCreatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_SAMPLE_CREATED_AT_ASC', + ConfidentialVenuesByCreatorIdStddevSampleCreatedAtDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_SAMPLE_CREATED_AT_DESC', + ConfidentialVenuesByCreatorIdStddevSampleCreatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', + ConfidentialVenuesByCreatorIdStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialVenuesByCreatorIdStddevSampleCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_SAMPLE_CREATOR_ID_ASC', + ConfidentialVenuesByCreatorIdStddevSampleCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_SAMPLE_CREATOR_ID_DESC', + ConfidentialVenuesByCreatorIdStddevSampleIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_SAMPLE_ID_ASC', + ConfidentialVenuesByCreatorIdStddevSampleIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_SAMPLE_ID_DESC', + ConfidentialVenuesByCreatorIdStddevSampleUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', + ConfidentialVenuesByCreatorIdStddevSampleUpdatedAtDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', + ConfidentialVenuesByCreatorIdStddevSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', + ConfidentialVenuesByCreatorIdStddevSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', + ConfidentialVenuesByCreatorIdStddevSampleVenueIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_SAMPLE_VENUE_ID_ASC', + ConfidentialVenuesByCreatorIdStddevSampleVenueIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_SAMPLE_VENUE_ID_DESC', + ConfidentialVenuesByCreatorIdSumCreatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_SUM_CREATED_AT_ASC', + ConfidentialVenuesByCreatorIdSumCreatedAtDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_SUM_CREATED_AT_DESC', + ConfidentialVenuesByCreatorIdSumCreatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_SUM_CREATED_BLOCK_ID_ASC', + ConfidentialVenuesByCreatorIdSumCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_SUM_CREATED_BLOCK_ID_DESC', + ConfidentialVenuesByCreatorIdSumCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_SUM_CREATOR_ID_ASC', + ConfidentialVenuesByCreatorIdSumCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_SUM_CREATOR_ID_DESC', + ConfidentialVenuesByCreatorIdSumIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_SUM_ID_ASC', + ConfidentialVenuesByCreatorIdSumIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_SUM_ID_DESC', + ConfidentialVenuesByCreatorIdSumUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_SUM_UPDATED_AT_ASC', + ConfidentialVenuesByCreatorIdSumUpdatedAtDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_SUM_UPDATED_AT_DESC', + ConfidentialVenuesByCreatorIdSumUpdatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_SUM_UPDATED_BLOCK_ID_ASC', + ConfidentialVenuesByCreatorIdSumUpdatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_SUM_UPDATED_BLOCK_ID_DESC', + ConfidentialVenuesByCreatorIdSumVenueIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_SUM_VENUE_ID_ASC', + ConfidentialVenuesByCreatorIdSumVenueIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_SUM_VENUE_ID_DESC', + ConfidentialVenuesByCreatorIdVariancePopulationCreatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_POPULATION_CREATED_AT_ASC', + ConfidentialVenuesByCreatorIdVariancePopulationCreatedAtDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_POPULATION_CREATED_AT_DESC', + ConfidentialVenuesByCreatorIdVariancePopulationCreatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', + ConfidentialVenuesByCreatorIdVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialVenuesByCreatorIdVariancePopulationCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_POPULATION_CREATOR_ID_ASC', + ConfidentialVenuesByCreatorIdVariancePopulationCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_POPULATION_CREATOR_ID_DESC', + ConfidentialVenuesByCreatorIdVariancePopulationIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_POPULATION_ID_ASC', + ConfidentialVenuesByCreatorIdVariancePopulationIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_POPULATION_ID_DESC', + ConfidentialVenuesByCreatorIdVariancePopulationUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', + ConfidentialVenuesByCreatorIdVariancePopulationUpdatedAtDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', + ConfidentialVenuesByCreatorIdVariancePopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', + ConfidentialVenuesByCreatorIdVariancePopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', + ConfidentialVenuesByCreatorIdVariancePopulationVenueIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_POPULATION_VENUE_ID_ASC', + ConfidentialVenuesByCreatorIdVariancePopulationVenueIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_POPULATION_VENUE_ID_DESC', + ConfidentialVenuesByCreatorIdVarianceSampleCreatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', + ConfidentialVenuesByCreatorIdVarianceSampleCreatedAtDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', + ConfidentialVenuesByCreatorIdVarianceSampleCreatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', + ConfidentialVenuesByCreatorIdVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialVenuesByCreatorIdVarianceSampleCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_SAMPLE_CREATOR_ID_ASC', + ConfidentialVenuesByCreatorIdVarianceSampleCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_SAMPLE_CREATOR_ID_DESC', + ConfidentialVenuesByCreatorIdVarianceSampleIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_SAMPLE_ID_ASC', + ConfidentialVenuesByCreatorIdVarianceSampleIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_SAMPLE_ID_DESC', + ConfidentialVenuesByCreatorIdVarianceSampleUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', + ConfidentialVenuesByCreatorIdVarianceSampleUpdatedAtDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', + ConfidentialVenuesByCreatorIdVarianceSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', + ConfidentialVenuesByCreatorIdVarianceSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', + ConfidentialVenuesByCreatorIdVarianceSampleVenueIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_SAMPLE_VENUE_ID_ASC', + ConfidentialVenuesByCreatorIdVarianceSampleVenueIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_SAMPLE_VENUE_ID_DESC', CreatedAtAsc = 'CREATED_AT_ASC', CreatedAtDesc = 'CREATED_AT_DESC', CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', @@ -61970,6 +78024,22 @@ export type Identity = Node & { /** Reads and enables pagination through a set of `Block`. */ blocksByClaimTargetIdAndUpdatedBlockId: IdentityBlocksByClaimTargetIdAndUpdatedBlockIdManyToManyConnection; /** Reads and enables pagination through a set of `Block`. */ + blocksByConfidentialAccountCreatorIdAndCreatedBlockId: IdentityBlocksByConfidentialAccountCreatorIdAndCreatedBlockIdManyToManyConnection; + /** Reads and enables pagination through a set of `Block`. */ + blocksByConfidentialAccountCreatorIdAndUpdatedBlockId: IdentityBlocksByConfidentialAccountCreatorIdAndUpdatedBlockIdManyToManyConnection; + /** Reads and enables pagination through a set of `Block`. */ + blocksByConfidentialAssetCreatorIdAndCreatedBlockId: IdentityBlocksByConfidentialAssetCreatorIdAndCreatedBlockIdManyToManyConnection; + /** Reads and enables pagination through a set of `Block`. */ + blocksByConfidentialAssetCreatorIdAndUpdatedBlockId: IdentityBlocksByConfidentialAssetCreatorIdAndUpdatedBlockIdManyToManyConnection; + /** Reads and enables pagination through a set of `Block`. */ + blocksByConfidentialTransactionAffirmationIdentityIdAndCreatedBlockId: IdentityBlocksByConfidentialTransactionAffirmationIdentityIdAndCreatedBlockIdManyToManyConnection; + /** Reads and enables pagination through a set of `Block`. */ + blocksByConfidentialTransactionAffirmationIdentityIdAndUpdatedBlockId: IdentityBlocksByConfidentialTransactionAffirmationIdentityIdAndUpdatedBlockIdManyToManyConnection; + /** Reads and enables pagination through a set of `Block`. */ + blocksByConfidentialVenueCreatorIdAndCreatedBlockId: IdentityBlocksByConfidentialVenueCreatorIdAndCreatedBlockIdManyToManyConnection; + /** Reads and enables pagination through a set of `Block`. */ + blocksByConfidentialVenueCreatorIdAndUpdatedBlockId: IdentityBlocksByConfidentialVenueCreatorIdAndUpdatedBlockIdManyToManyConnection; + /** Reads and enables pagination through a set of `Block`. */ blocksByCustomClaimTypeIdentityIdAndCreatedBlockId: IdentityBlocksByCustomClaimTypeIdentityIdAndCreatedBlockIdManyToManyConnection; /** Reads and enables pagination through a set of `Block`. */ blocksByCustomClaimTypeIdentityIdAndUpdatedBlockId: IdentityBlocksByCustomClaimTypeIdentityIdAndUpdatedBlockIdManyToManyConnection; @@ -62049,6 +78119,18 @@ export type Identity = Node & { claimsByIssuerId: ClaimsConnection; /** Reads and enables pagination through a set of `Claim`. */ claimsByTargetId: ClaimsConnection; + /** Reads and enables pagination through a set of `ConfidentialAccount`. */ + confidentialAccountsByConfidentialTransactionAffirmationIdentityIdAndAccountId: IdentityConfidentialAccountsByConfidentialTransactionAffirmationIdentityIdAndAccountIdManyToManyConnection; + /** Reads and enables pagination through a set of `ConfidentialAccount`. */ + confidentialAccountsByCreatorId: ConfidentialAccountsConnection; + /** Reads and enables pagination through a set of `ConfidentialAsset`. */ + confidentialAssetsByCreatorId: ConfidentialAssetsConnection; + /** Reads and enables pagination through a set of `ConfidentialTransactionAffirmation`. */ + confidentialTransactionAffirmations: ConfidentialTransactionAffirmationsConnection; + /** Reads and enables pagination through a set of `ConfidentialTransaction`. */ + confidentialTransactionsByConfidentialTransactionAffirmationIdentityIdAndTransactionId: IdentityConfidentialTransactionsByConfidentialTransactionAffirmationIdentityIdAndTransactionIdManyToManyConnection; + /** Reads and enables pagination through a set of `ConfidentialVenue`. */ + confidentialVenuesByCreatorId: ConfidentialVenuesConnection; createdAt: Scalars['Datetime']['output']; /** Reads a single `Block` that is related to this `Identity`. */ createdBlock?: Maybe; @@ -62621,6 +78703,134 @@ export type IdentityBlocksByClaimTargetIdAndUpdatedBlockIdArgs = { orderBy?: InputMaybe>; }; +/** + * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") + * + * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain + */ +export type IdentityBlocksByConfidentialAccountCreatorIdAndCreatedBlockIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** + * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") + * + * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain + */ +export type IdentityBlocksByConfidentialAccountCreatorIdAndUpdatedBlockIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** + * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") + * + * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain + */ +export type IdentityBlocksByConfidentialAssetCreatorIdAndCreatedBlockIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** + * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") + * + * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain + */ +export type IdentityBlocksByConfidentialAssetCreatorIdAndUpdatedBlockIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** + * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") + * + * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain + */ +export type IdentityBlocksByConfidentialTransactionAffirmationIdentityIdAndCreatedBlockIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** + * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") + * + * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain + */ +export type IdentityBlocksByConfidentialTransactionAffirmationIdentityIdAndUpdatedBlockIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** + * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") + * + * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain + */ +export type IdentityBlocksByConfidentialVenueCreatorIdAndCreatedBlockIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** + * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") + * + * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain + */ +export type IdentityBlocksByConfidentialVenueCreatorIdAndUpdatedBlockIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + /** * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") * @@ -63261,6 +79471,104 @@ export type IdentityClaimsByTargetIdArgs = { orderBy?: InputMaybe>; }; +/** + * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") + * + * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain + */ +export type IdentityConfidentialAccountsByConfidentialTransactionAffirmationIdentityIdAndAccountIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** + * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") + * + * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain + */ +export type IdentityConfidentialAccountsByCreatorIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** + * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") + * + * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain + */ +export type IdentityConfidentialAssetsByCreatorIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** + * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") + * + * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain + */ +export type IdentityConfidentialTransactionAffirmationsArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** + * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") + * + * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain + */ +export type IdentityConfidentialTransactionsByConfidentialTransactionAffirmationIdentityIdAndTransactionIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** + * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") + * + * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain + */ +export type IdentityConfidentialVenuesByCreatorIdArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + /** * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") * @@ -65208,6 +81516,394 @@ export type IdentityBlocksByClaimTargetIdAndUpdatedBlockIdManyToManyEdgeClaimsBy orderBy?: InputMaybe>; }; +/** A connection to a list of `Block` values, with data from `ConfidentialAccount`. */ +export type IdentityBlocksByConfidentialAccountCreatorIdAndCreatedBlockIdManyToManyConnection = { + __typename?: 'IdentityBlocksByConfidentialAccountCreatorIdAndCreatedBlockIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Block`, info from the `ConfidentialAccount`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Block` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Block` you could get from the connection. */ + totalCount: Scalars['Int']['output']; +}; + +/** A connection to a list of `Block` values, with data from `ConfidentialAccount`. */ +export type IdentityBlocksByConfidentialAccountCreatorIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Block` edge in the connection, with data from `ConfidentialAccount`. */ +export type IdentityBlocksByConfidentialAccountCreatorIdAndCreatedBlockIdManyToManyEdge = { + __typename?: 'IdentityBlocksByConfidentialAccountCreatorIdAndCreatedBlockIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialAccount`. */ + confidentialAccountsByCreatedBlockId: ConfidentialAccountsConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Block` at the end of the edge. */ + node?: Maybe; +}; + +/** A `Block` edge in the connection, with data from `ConfidentialAccount`. */ +export type IdentityBlocksByConfidentialAccountCreatorIdAndCreatedBlockIdManyToManyEdgeConfidentialAccountsByCreatedBlockIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialAccount`. */ +export type IdentityBlocksByConfidentialAccountCreatorIdAndUpdatedBlockIdManyToManyConnection = { + __typename?: 'IdentityBlocksByConfidentialAccountCreatorIdAndUpdatedBlockIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Block`, info from the `ConfidentialAccount`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Block` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Block` you could get from the connection. */ + totalCount: Scalars['Int']['output']; +}; + +/** A connection to a list of `Block` values, with data from `ConfidentialAccount`. */ +export type IdentityBlocksByConfidentialAccountCreatorIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Block` edge in the connection, with data from `ConfidentialAccount`. */ +export type IdentityBlocksByConfidentialAccountCreatorIdAndUpdatedBlockIdManyToManyEdge = { + __typename?: 'IdentityBlocksByConfidentialAccountCreatorIdAndUpdatedBlockIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialAccount`. */ + confidentialAccountsByUpdatedBlockId: ConfidentialAccountsConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Block` at the end of the edge. */ + node?: Maybe; +}; + +/** A `Block` edge in the connection, with data from `ConfidentialAccount`. */ +export type IdentityBlocksByConfidentialAccountCreatorIdAndUpdatedBlockIdManyToManyEdgeConfidentialAccountsByUpdatedBlockIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialAsset`. */ +export type IdentityBlocksByConfidentialAssetCreatorIdAndCreatedBlockIdManyToManyConnection = { + __typename?: 'IdentityBlocksByConfidentialAssetCreatorIdAndCreatedBlockIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Block`, info from the `ConfidentialAsset`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Block` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Block` you could get from the connection. */ + totalCount: Scalars['Int']['output']; +}; + +/** A connection to a list of `Block` values, with data from `ConfidentialAsset`. */ +export type IdentityBlocksByConfidentialAssetCreatorIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Block` edge in the connection, with data from `ConfidentialAsset`. */ +export type IdentityBlocksByConfidentialAssetCreatorIdAndCreatedBlockIdManyToManyEdge = { + __typename?: 'IdentityBlocksByConfidentialAssetCreatorIdAndCreatedBlockIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialAsset`. */ + confidentialAssetsByCreatedBlockId: ConfidentialAssetsConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Block` at the end of the edge. */ + node?: Maybe; +}; + +/** A `Block` edge in the connection, with data from `ConfidentialAsset`. */ +export type IdentityBlocksByConfidentialAssetCreatorIdAndCreatedBlockIdManyToManyEdgeConfidentialAssetsByCreatedBlockIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialAsset`. */ +export type IdentityBlocksByConfidentialAssetCreatorIdAndUpdatedBlockIdManyToManyConnection = { + __typename?: 'IdentityBlocksByConfidentialAssetCreatorIdAndUpdatedBlockIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Block`, info from the `ConfidentialAsset`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Block` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Block` you could get from the connection. */ + totalCount: Scalars['Int']['output']; +}; + +/** A connection to a list of `Block` values, with data from `ConfidentialAsset`. */ +export type IdentityBlocksByConfidentialAssetCreatorIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Block` edge in the connection, with data from `ConfidentialAsset`. */ +export type IdentityBlocksByConfidentialAssetCreatorIdAndUpdatedBlockIdManyToManyEdge = { + __typename?: 'IdentityBlocksByConfidentialAssetCreatorIdAndUpdatedBlockIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialAsset`. */ + confidentialAssetsByUpdatedBlockId: ConfidentialAssetsConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Block` at the end of the edge. */ + node?: Maybe; +}; + +/** A `Block` edge in the connection, with data from `ConfidentialAsset`. */ +export type IdentityBlocksByConfidentialAssetCreatorIdAndUpdatedBlockIdManyToManyEdgeConfidentialAssetsByUpdatedBlockIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialTransactionAffirmation`. */ +export type IdentityBlocksByConfidentialTransactionAffirmationIdentityIdAndCreatedBlockIdManyToManyConnection = + { + __typename?: 'IdentityBlocksByConfidentialTransactionAffirmationIdentityIdAndCreatedBlockIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Block`, info from the `ConfidentialTransactionAffirmation`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Block` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Block` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialTransactionAffirmation`. */ +export type IdentityBlocksByConfidentialTransactionAffirmationIdentityIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Block` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ +export type IdentityBlocksByConfidentialTransactionAffirmationIdentityIdAndCreatedBlockIdManyToManyEdge = + { + __typename?: 'IdentityBlocksByConfidentialTransactionAffirmationIdentityIdAndCreatedBlockIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialTransactionAffirmation`. */ + confidentialTransactionAffirmationsByCreatedBlockId: ConfidentialTransactionAffirmationsConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Block` at the end of the edge. */ + node?: Maybe; + }; + +/** A `Block` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ +export type IdentityBlocksByConfidentialTransactionAffirmationIdentityIdAndCreatedBlockIdManyToManyEdgeConfidentialTransactionAffirmationsByCreatedBlockIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialTransactionAffirmation`. */ +export type IdentityBlocksByConfidentialTransactionAffirmationIdentityIdAndUpdatedBlockIdManyToManyConnection = + { + __typename?: 'IdentityBlocksByConfidentialTransactionAffirmationIdentityIdAndUpdatedBlockIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Block`, info from the `ConfidentialTransactionAffirmation`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Block` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Block` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialTransactionAffirmation`. */ +export type IdentityBlocksByConfidentialTransactionAffirmationIdentityIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Block` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ +export type IdentityBlocksByConfidentialTransactionAffirmationIdentityIdAndUpdatedBlockIdManyToManyEdge = + { + __typename?: 'IdentityBlocksByConfidentialTransactionAffirmationIdentityIdAndUpdatedBlockIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialTransactionAffirmation`. */ + confidentialTransactionAffirmationsByUpdatedBlockId: ConfidentialTransactionAffirmationsConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Block` at the end of the edge. */ + node?: Maybe; + }; + +/** A `Block` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ +export type IdentityBlocksByConfidentialTransactionAffirmationIdentityIdAndUpdatedBlockIdManyToManyEdgeConfidentialTransactionAffirmationsByUpdatedBlockIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialVenue`. */ +export type IdentityBlocksByConfidentialVenueCreatorIdAndCreatedBlockIdManyToManyConnection = { + __typename?: 'IdentityBlocksByConfidentialVenueCreatorIdAndCreatedBlockIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Block`, info from the `ConfidentialVenue`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Block` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Block` you could get from the connection. */ + totalCount: Scalars['Int']['output']; +}; + +/** A connection to a list of `Block` values, with data from `ConfidentialVenue`. */ +export type IdentityBlocksByConfidentialVenueCreatorIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Block` edge in the connection, with data from `ConfidentialVenue`. */ +export type IdentityBlocksByConfidentialVenueCreatorIdAndCreatedBlockIdManyToManyEdge = { + __typename?: 'IdentityBlocksByConfidentialVenueCreatorIdAndCreatedBlockIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialVenue`. */ + confidentialVenuesByCreatedBlockId: ConfidentialVenuesConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Block` at the end of the edge. */ + node?: Maybe; +}; + +/** A `Block` edge in the connection, with data from `ConfidentialVenue`. */ +export type IdentityBlocksByConfidentialVenueCreatorIdAndCreatedBlockIdManyToManyEdgeConfidentialVenuesByCreatedBlockIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `Block` values, with data from `ConfidentialVenue`. */ +export type IdentityBlocksByConfidentialVenueCreatorIdAndUpdatedBlockIdManyToManyConnection = { + __typename?: 'IdentityBlocksByConfidentialVenueCreatorIdAndUpdatedBlockIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `Block`, info from the `ConfidentialVenue`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `Block` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `Block` you could get from the connection. */ + totalCount: Scalars['Int']['output']; +}; + +/** A connection to a list of `Block` values, with data from `ConfidentialVenue`. */ +export type IdentityBlocksByConfidentialVenueCreatorIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `Block` edge in the connection, with data from `ConfidentialVenue`. */ +export type IdentityBlocksByConfidentialVenueCreatorIdAndUpdatedBlockIdManyToManyEdge = { + __typename?: 'IdentityBlocksByConfidentialVenueCreatorIdAndUpdatedBlockIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialVenue`. */ + confidentialVenuesByUpdatedBlockId: ConfidentialVenuesConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `Block` at the end of the edge. */ + node?: Maybe; +}; + +/** A `Block` edge in the connection, with data from `ConfidentialVenue`. */ +export type IdentityBlocksByConfidentialVenueCreatorIdAndUpdatedBlockIdManyToManyEdgeConfidentialVenuesByUpdatedBlockIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + /** A connection to a list of `Block` values, with data from `CustomClaimType`. */ export type IdentityBlocksByCustomClaimTypeIdentityIdAndCreatedBlockIdManyToManyConnection = { __typename?: 'IdentityBlocksByCustomClaimTypeIdentityIdAndCreatedBlockIdManyToManyConnection'; @@ -66938,6 +83634,106 @@ export type IdentityBlocksByVenueOwnerIdAndUpdatedBlockIdManyToManyEdgeVenuesByU orderBy?: InputMaybe>; }; +/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialTransactionAffirmation`. */ +export type IdentityConfidentialAccountsByConfidentialTransactionAffirmationIdentityIdAndAccountIdManyToManyConnection = + { + __typename?: 'IdentityConfidentialAccountsByConfidentialTransactionAffirmationIdentityIdAndAccountIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `ConfidentialAccount`, info from the `ConfidentialTransactionAffirmation`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `ConfidentialAccount` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `ConfidentialAccount` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; + +/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialTransactionAffirmation`. */ +export type IdentityConfidentialAccountsByConfidentialTransactionAffirmationIdentityIdAndAccountIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ +export type IdentityConfidentialAccountsByConfidentialTransactionAffirmationIdentityIdAndAccountIdManyToManyEdge = + { + __typename?: 'IdentityConfidentialAccountsByConfidentialTransactionAffirmationIdentityIdAndAccountIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialTransactionAffirmation`. */ + confidentialTransactionAffirmationsByAccountId: ConfidentialTransactionAffirmationsConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `ConfidentialAccount` at the end of the edge. */ + node?: Maybe; + }; + +/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ +export type IdentityConfidentialAccountsByConfidentialTransactionAffirmationIdentityIdAndAccountIdManyToManyEdgeConfidentialTransactionAffirmationsByAccountIdArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + +/** A connection to a list of `ConfidentialTransaction` values, with data from `ConfidentialTransactionAffirmation`. */ +export type IdentityConfidentialTransactionsByConfidentialTransactionAffirmationIdentityIdAndTransactionIdManyToManyConnection = + { + __typename?: 'IdentityConfidentialTransactionsByConfidentialTransactionAffirmationIdentityIdAndTransactionIdManyToManyConnection'; + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe; + /** A list of edges which contains the `ConfidentialTransaction`, info from the `ConfidentialTransactionAffirmation`, and the cursor to aid in pagination. */ + edges: Array; + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe>; + /** A list of `ConfidentialTransaction` objects. */ + nodes: Array>; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The count of *all* `ConfidentialTransaction` you could get from the connection. */ + totalCount: Scalars['Int']['output']; + }; + +/** A connection to a list of `ConfidentialTransaction` values, with data from `ConfidentialTransactionAffirmation`. */ +export type IdentityConfidentialTransactionsByConfidentialTransactionAffirmationIdentityIdAndTransactionIdManyToManyConnectionGroupedAggregatesArgs = + { + groupBy: Array; + having?: InputMaybe; + }; + +/** A `ConfidentialTransaction` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ +export type IdentityConfidentialTransactionsByConfidentialTransactionAffirmationIdentityIdAndTransactionIdManyToManyEdge = + { + __typename?: 'IdentityConfidentialTransactionsByConfidentialTransactionAffirmationIdentityIdAndTransactionIdManyToManyEdge'; + /** Reads and enables pagination through a set of `ConfidentialTransactionAffirmation`. */ + affirmations: ConfidentialTransactionAffirmationsConnection; + /** A cursor for use in pagination. */ + cursor?: Maybe; + /** The `ConfidentialTransaction` at the end of the edge. */ + node?: Maybe; + }; + +/** A `ConfidentialTransaction` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ +export type IdentityConfidentialTransactionsByConfidentialTransactionAffirmationIdentityIdAndTransactionIdManyToManyEdgeAffirmationsArgs = + { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; + }; + /** A connection to a list of `CustomClaimType` values, with data from `Claim`. */ export type IdentityCustomClaimTypesByClaimIssuerIdAndCustomClaimTypeIdManyToManyConnection = { __typename?: 'IdentityCustomClaimTypesByClaimIssuerIdAndCustomClaimTypeIdManyToManyConnection'; @@ -67146,6 +83942,22 @@ export type IdentityFilter = { claimsByTargetId?: InputMaybe; /** Some related `claimsByTargetId` exist. */ claimsByTargetIdExist?: InputMaybe; + /** Filter by the object’s `confidentialAccountsByCreatorId` relation. */ + confidentialAccountsByCreatorId?: InputMaybe; + /** Some related `confidentialAccountsByCreatorId` exist. */ + confidentialAccountsByCreatorIdExist?: InputMaybe; + /** Filter by the object’s `confidentialAssetsByCreatorId` relation. */ + confidentialAssetsByCreatorId?: InputMaybe; + /** Some related `confidentialAssetsByCreatorId` exist. */ + confidentialAssetsByCreatorIdExist?: InputMaybe; + /** Filter by the object’s `confidentialTransactionAffirmations` relation. */ + confidentialTransactionAffirmations?: InputMaybe; + /** Some related `confidentialTransactionAffirmations` exist. */ + confidentialTransactionAffirmationsExist?: InputMaybe; + /** Filter by the object’s `confidentialVenuesByCreatorId` relation. */ + confidentialVenuesByCreatorId?: InputMaybe; + /** Some related `confidentialVenuesByCreatorId` exist. */ + confidentialVenuesByCreatorIdExist?: InputMaybe; /** Filter by the object’s `createdAt` field. */ createdAt?: InputMaybe; /** Filter by the object’s `createdBlock` relation. */ @@ -67915,6 +84727,54 @@ export type IdentityToManyClaimFilter = { some?: InputMaybe; }; +/** A filter to be used against many `ConfidentialAccount` object types. All fields are combined with a logical ‘and.’ */ +export type IdentityToManyConfidentialAccountFilter = { + /** Aggregates across related `ConfidentialAccount` match the filter criteria. */ + aggregates?: InputMaybe; + /** Every related `ConfidentialAccount` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe; + /** No related `ConfidentialAccount` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe; + /** Some related `ConfidentialAccount` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe; +}; + +/** A filter to be used against many `ConfidentialAsset` object types. All fields are combined with a logical ‘and.’ */ +export type IdentityToManyConfidentialAssetFilter = { + /** Aggregates across related `ConfidentialAsset` match the filter criteria. */ + aggregates?: InputMaybe; + /** Every related `ConfidentialAsset` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe; + /** No related `ConfidentialAsset` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe; + /** Some related `ConfidentialAsset` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe; +}; + +/** A filter to be used against many `ConfidentialTransactionAffirmation` object types. All fields are combined with a logical ‘and.’ */ +export type IdentityToManyConfidentialTransactionAffirmationFilter = { + /** Aggregates across related `ConfidentialTransactionAffirmation` match the filter criteria. */ + aggregates?: InputMaybe; + /** Every related `ConfidentialTransactionAffirmation` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe; + /** No related `ConfidentialTransactionAffirmation` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe; + /** Some related `ConfidentialTransactionAffirmation` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe; +}; + +/** A filter to be used against many `ConfidentialVenue` object types. All fields are combined with a logical ‘and.’ */ +export type IdentityToManyConfidentialVenueFilter = { + /** Aggregates across related `ConfidentialVenue` match the filter criteria. */ + aggregates?: InputMaybe; + /** Every related `ConfidentialVenue` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe; + /** No related `ConfidentialVenue` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe; + /** Some related `ConfidentialVenue` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe; +}; + /** A filter to be used against many `CustomClaimType` object types. All fields are combined with a logical ‘and.’ */ export type IdentityToManyCustomClaimTypeFilter = { /** Aggregates across related `CustomClaimType` match the filter criteria. */ @@ -71260,6 +88120,7 @@ export enum ModuleIdEnum { Committeemembership = 'committeemembership', Compliancemanager = 'compliancemanager', Confidential = 'confidential', + Confidentialasset = 'confidentialasset', Contracts = 'contracts', Corporateaction = 'corporateaction', Corporateballot = 'corporateballot', @@ -83855,6 +100716,46 @@ export type Query = Node & { complianceByNodeId?: Maybe; /** Reads and enables pagination through a set of `Compliance`. */ compliances?: Maybe; + confidentialAccount?: Maybe; + /** Reads a single `ConfidentialAccount` using its globally unique `ID`. */ + confidentialAccountByNodeId?: Maybe; + /** Reads and enables pagination through a set of `ConfidentialAccount`. */ + confidentialAccounts?: Maybe; + confidentialAsset?: Maybe; + /** Reads a single `ConfidentialAsset` using its globally unique `ID`. */ + confidentialAssetByNodeId?: Maybe; + /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ + confidentialAssetHistories?: Maybe; + confidentialAssetHistory?: Maybe; + /** Reads a single `ConfidentialAssetHistory` using its globally unique `ID`. */ + confidentialAssetHistoryByNodeId?: Maybe; + confidentialAssetHolder?: Maybe; + /** Reads a single `ConfidentialAssetHolder` using its globally unique `ID`. */ + confidentialAssetHolderByNodeId?: Maybe; + /** Reads and enables pagination through a set of `ConfidentialAssetHolder`. */ + confidentialAssetHolders?: Maybe; + /** Reads and enables pagination through a set of `ConfidentialAsset`. */ + confidentialAssets?: Maybe; + confidentialLeg?: Maybe; + /** Reads a single `ConfidentialLeg` using its globally unique `ID`. */ + confidentialLegByNodeId?: Maybe; + /** Reads and enables pagination through a set of `ConfidentialLeg`. */ + confidentialLegs?: Maybe; + confidentialTransaction?: Maybe; + confidentialTransactionAffirmation?: Maybe; + /** Reads a single `ConfidentialTransactionAffirmation` using its globally unique `ID`. */ + confidentialTransactionAffirmationByNodeId?: Maybe; + /** Reads and enables pagination through a set of `ConfidentialTransactionAffirmation`. */ + confidentialTransactionAffirmations?: Maybe; + /** Reads a single `ConfidentialTransaction` using its globally unique `ID`. */ + confidentialTransactionByNodeId?: Maybe; + /** Reads and enables pagination through a set of `ConfidentialTransaction`. */ + confidentialTransactions?: Maybe; + confidentialVenue?: Maybe; + /** Reads a single `ConfidentialVenue` using its globally unique `ID`. */ + confidentialVenueByNodeId?: Maybe; + /** Reads and enables pagination through a set of `ConfidentialVenue`. */ + confidentialVenues?: Maybe; customClaimType?: Maybe; /** Reads a single `CustomClaimType` using its globally unique `ID`. */ customClaimTypeByNodeId?: Maybe; @@ -84430,6 +101331,190 @@ export type QueryCompliancesArgs = { orderBy?: InputMaybe>; }; +/** The root query type which gives access points into the data universe. */ +export type QueryConfidentialAccountArgs = { + id: Scalars['String']['input']; +}; + +/** The root query type which gives access points into the data universe. */ +export type QueryConfidentialAccountByNodeIdArgs = { + distinct?: InputMaybe>>; + nodeId: Scalars['ID']['input']; +}; + +/** The root query type which gives access points into the data universe. */ +export type QueryConfidentialAccountsArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** The root query type which gives access points into the data universe. */ +export type QueryConfidentialAssetArgs = { + id: Scalars['String']['input']; +}; + +/** The root query type which gives access points into the data universe. */ +export type QueryConfidentialAssetByNodeIdArgs = { + distinct?: InputMaybe>>; + nodeId: Scalars['ID']['input']; +}; + +/** The root query type which gives access points into the data universe. */ +export type QueryConfidentialAssetHistoriesArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** The root query type which gives access points into the data universe. */ +export type QueryConfidentialAssetHistoryArgs = { + id: Scalars['String']['input']; +}; + +/** The root query type which gives access points into the data universe. */ +export type QueryConfidentialAssetHistoryByNodeIdArgs = { + distinct?: InputMaybe>>; + nodeId: Scalars['ID']['input']; +}; + +/** The root query type which gives access points into the data universe. */ +export type QueryConfidentialAssetHolderArgs = { + id: Scalars['String']['input']; +}; + +/** The root query type which gives access points into the data universe. */ +export type QueryConfidentialAssetHolderByNodeIdArgs = { + distinct?: InputMaybe>>; + nodeId: Scalars['ID']['input']; +}; + +/** The root query type which gives access points into the data universe. */ +export type QueryConfidentialAssetHoldersArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** The root query type which gives access points into the data universe. */ +export type QueryConfidentialAssetsArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** The root query type which gives access points into the data universe. */ +export type QueryConfidentialLegArgs = { + id: Scalars['String']['input']; +}; + +/** The root query type which gives access points into the data universe. */ +export type QueryConfidentialLegByNodeIdArgs = { + distinct?: InputMaybe>>; + nodeId: Scalars['ID']['input']; +}; + +/** The root query type which gives access points into the data universe. */ +export type QueryConfidentialLegsArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** The root query type which gives access points into the data universe. */ +export type QueryConfidentialTransactionArgs = { + id: Scalars['String']['input']; +}; + +/** The root query type which gives access points into the data universe. */ +export type QueryConfidentialTransactionAffirmationArgs = { + id: Scalars['String']['input']; +}; + +/** The root query type which gives access points into the data universe. */ +export type QueryConfidentialTransactionAffirmationByNodeIdArgs = { + distinct?: InputMaybe>>; + nodeId: Scalars['ID']['input']; +}; + +/** The root query type which gives access points into the data universe. */ +export type QueryConfidentialTransactionAffirmationsArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** The root query type which gives access points into the data universe. */ +export type QueryConfidentialTransactionByNodeIdArgs = { + distinct?: InputMaybe>>; + nodeId: Scalars['ID']['input']; +}; + +/** The root query type which gives access points into the data universe. */ +export type QueryConfidentialTransactionsArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + +/** The root query type which gives access points into the data universe. */ +export type QueryConfidentialVenueArgs = { + id: Scalars['String']['input']; +}; + +/** The root query type which gives access points into the data universe. */ +export type QueryConfidentialVenueByNodeIdArgs = { + distinct?: InputMaybe>>; + nodeId: Scalars['ID']['input']; +}; + +/** The root query type which gives access points into the data universe. */ +export type QueryConfidentialVenuesArgs = { + after?: InputMaybe; + before?: InputMaybe; + distinct?: InputMaybe>>; + filter?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + offset?: InputMaybe; + orderBy?: InputMaybe>; +}; + /** The root query type which gives access points into the data universe. */ export type QueryCustomClaimTypeArgs = { id: Scalars['String']['input']; @@ -92495,6 +109580,114 @@ export enum Compliances_Distinct_Enum { UpdatedBlockId = 'UPDATED_BLOCK_ID', } +export enum Confidential_Accounts_Distinct_Enum { + Account = 'ACCOUNT', + CreatedAt = 'CREATED_AT', + CreatedBlockId = 'CREATED_BLOCK_ID', + CreatorId = 'CREATOR_ID', + Id = 'ID', + UpdatedAt = 'UPDATED_AT', + UpdatedBlockId = 'UPDATED_BLOCK_ID', +} + +export enum Confidential_Asset_Histories_Distinct_Enum { + Amount = 'AMOUNT', + AssetId = 'ASSET_ID', + CreatedAt = 'CREATED_AT', + CreatedBlockId = 'CREATED_BLOCK_ID', + Datetime = 'DATETIME', + EventId = 'EVENT_ID', + EventIdx = 'EVENT_IDX', + ExtrinsicIdx = 'EXTRINSIC_IDX', + FromId = 'FROM_ID', + Id = 'ID', + Memo = 'MEMO', + ToId = 'TO_ID', + TransactionId = 'TRANSACTION_ID', + UpdatedAt = 'UPDATED_AT', + UpdatedBlockId = 'UPDATED_BLOCK_ID', +} + +export enum Confidential_Asset_Holders_Distinct_Enum { + AccountId = 'ACCOUNT_ID', + Amount = 'AMOUNT', + AssetId = 'ASSET_ID', + CreatedAt = 'CREATED_AT', + CreatedBlockId = 'CREATED_BLOCK_ID', + Id = 'ID', + UpdatedAt = 'UPDATED_AT', + UpdatedBlockId = 'UPDATED_BLOCK_ID', +} + +export enum Confidential_Assets_Distinct_Enum { + AllowedVenues = 'ALLOWED_VENUES', + AssetId = 'ASSET_ID', + Auditors = 'AUDITORS', + CreatedAt = 'CREATED_AT', + CreatedBlockId = 'CREATED_BLOCK_ID', + CreatorId = 'CREATOR_ID', + Data = 'DATA', + Id = 'ID', + Mediators = 'MEDIATORS', + Ticker = 'TICKER', + TotalSupply = 'TOTAL_SUPPLY', + UpdatedAt = 'UPDATED_AT', + UpdatedBlockId = 'UPDATED_BLOCK_ID', + VenueFiltering = 'VENUE_FILTERING', +} + +export enum Confidential_Legs_Distinct_Enum { + AssetAuditors = 'ASSET_AUDITORS', + CreatedAt = 'CREATED_AT', + CreatedBlockId = 'CREATED_BLOCK_ID', + Id = 'ID', + Mediators = 'MEDIATORS', + ReceiverId = 'RECEIVER_ID', + SenderId = 'SENDER_ID', + TransactionId = 'TRANSACTION_ID', + UpdatedAt = 'UPDATED_AT', + UpdatedBlockId = 'UPDATED_BLOCK_ID', +} + +export enum Confidential_Transaction_Affirmations_Distinct_Enum { + AccountId = 'ACCOUNT_ID', + CreatedAt = 'CREATED_AT', + CreatedBlockId = 'CREATED_BLOCK_ID', + Id = 'ID', + IdentityId = 'IDENTITY_ID', + LegId = 'LEG_ID', + Proofs = 'PROOFS', + Status = 'STATUS', + TransactionId = 'TRANSACTION_ID', + Type = 'TYPE', + UpdatedAt = 'UPDATED_AT', + UpdatedBlockId = 'UPDATED_BLOCK_ID', +} + +export enum Confidential_Transactions_Distinct_Enum { + CreatedAt = 'CREATED_AT', + CreatedBlockId = 'CREATED_BLOCK_ID', + EventId = 'EVENT_ID', + EventIdx = 'EVENT_IDX', + Id = 'ID', + Memo = 'MEMO', + PendingAffirmations = 'PENDING_AFFIRMATIONS', + Status = 'STATUS', + UpdatedAt = 'UPDATED_AT', + UpdatedBlockId = 'UPDATED_BLOCK_ID', + VenueId = 'VENUE_ID', +} + +export enum Confidential_Venues_Distinct_Enum { + CreatedAt = 'CREATED_AT', + CreatedBlockId = 'CREATED_BLOCK_ID', + CreatorId = 'CREATOR_ID', + Id = 'ID', + UpdatedAt = 'UPDATED_AT', + UpdatedBlockId = 'UPDATED_BLOCK_ID', + VenueId = 'VENUE_ID', +} + export enum Custom_Claim_Types_Distinct_Enum { CreatedAt = 'CREATED_AT', CreatedBlockId = 'CREATED_BLOCK_ID', From a0b39c171d05f2e9c33d9eef7c0666d42bd15c43 Mon Sep 17 00:00:00 2001 From: Toms Veidemanis Date: Thu, 15 Feb 2024 20:32:37 +0700 Subject: [PATCH 086/120] =?UTF-8?q?refactor:=20=F0=9F=92=A1=20pr=20comment?= =?UTF-8?q?s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../confidential/ConfidentialAccount/index.ts | 31 ++++++++++++++---- .../__tests__/ConfidentialAccount/index.ts | 32 ++++++++++++------- src/middleware/__tests__/queries.ts | 21 ++++++++++++ src/middleware/queries.ts | 24 ++++++++------ 4 files changed, 80 insertions(+), 28 deletions(-) diff --git a/src/api/entities/confidential/ConfidentialAccount/index.ts b/src/api/entities/confidential/ConfidentialAccount/index.ts index 66cfd2da22..c3c88ad202 100644 --- a/src/api/entities/confidential/ConfidentialAccount/index.ts +++ b/src/api/entities/confidential/ConfidentialAccount/index.ts @@ -1,11 +1,12 @@ import { AugmentedQueries } from '@polkadot/api/types'; import { ConfidentialAssetsElgamalCipherText } from '@polkadot/types/lookup'; import type { Option, U8aFixed } from '@polkadot/types-codec'; +import BigNumber from 'bignumber.js'; import { ConfidentialAsset, Context, Entity, Identity, PolymeshError } from '~/internal'; import { confidentialAssetsByHolderQuery } from '~/middleware/queries'; import { Query } from '~/middleware/types'; -import { ConfidentialAssetBalance, ErrorCode } from '~/types'; +import { ConfidentialAssetBalance, ErrorCode, ResultSet } from '~/types'; import { Ensured } from '~/types/utils'; import { confidentialAccountToMeshPublicKey, @@ -13,7 +14,7 @@ import { meshConfidentialAssetToAssetId, serializeConfidentialAssetId, } from '~/utils/conversion'; -import { asConfidentialAsset } from '~/utils/internal'; +import { asConfidentialAsset,calculateNextKey } from '~/utils/internal'; /** * @hidden @@ -201,6 +202,7 @@ export class ConfidentialAccount extends Entity { /** * Determine whether this Account exists on chain + * */ public async exists(): Promise { const { @@ -228,19 +230,34 @@ export class ConfidentialAccount extends Entity { * Retrieve the ConfidentialAssets associated to this Account * * @note uses the middlewareV2 - * @note there is a possibility that the data is not ready by the time it is requested. In that case, `null` is returned + * @param filters.size - page size + * @param filters.start - page offset */ - public async getHeldAssets(): Promise { + public async getHeldAssets( + filters: { + size?: BigNumber; + start?: BigNumber; + } = {} + ): Promise> { const { context, publicKey } = this; + const { size, start } = filters; const { data: { - confidentialAssetHolders: { nodes }, + confidentialAssetHolders: { nodes, totalCount }, }, } = await context.queryMiddleware>( - confidentialAssetsByHolderQuery({ accountId: publicKey }) + confidentialAssetsByHolderQuery(publicKey, size, start) ); - return nodes.map(({ assetId }) => assetId); + const data = nodes.map(({ assetId: id }) => new ConfidentialAsset({ id }, context)); + const count = new BigNumber(totalCount); + const next = calculateNextKey(count, data.length, start); + + return { + data, + next, + count, + }; } } diff --git a/src/api/entities/confidential/__tests__/ConfidentialAccount/index.ts b/src/api/entities/confidential/__tests__/ConfidentialAccount/index.ts index e1e240761e..9eb5f8d17f 100644 --- a/src/api/entities/confidential/__tests__/ConfidentialAccount/index.ts +++ b/src/api/entities/confidential/__tests__/ConfidentialAccount/index.ts @@ -1,4 +1,4 @@ -import { ConfidentialAccount, Context, Entity, PolymeshError } from '~/internal'; +import { ConfidentialAccount, ConfidentialAsset, Context, Entity, PolymeshError } from '~/internal'; import { confidentialAssetsByHolderQuery } from '~/middleware/queries'; import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; import { Mocked } from '~/testUtils/types'; @@ -231,14 +231,11 @@ describe('ConfidentialAccount class', () => { }); describe('method: getHeldAssets', () => { - it('should return a string array of ids representing held assets by the ConfidentialAccount', async () => { - const variables = { - accountId: publicKey, - }; - const assetId = 'someId'; - const fakeResult = [assetId]; - - dsMockUtils.createApolloQueryMock(confidentialAssetsByHolderQuery(variables), { + it('should return an array of ConfidentialAssets held by the ConfidentialAccount', async () => { + const assetId = '76702175d8cbe3a55a19734433351e25'; + const asset = new ConfidentialAsset({ id: assetId }, context); + + dsMockUtils.createApolloQueryMock(confidentialAssetsByHolderQuery(publicKey), { confidentialAssetHolders: { nodes: [ { @@ -246,12 +243,25 @@ describe('ConfidentialAccount class', () => { accountId: publicKey, }, ], + totalCount: 1, }, }); - const result = await account.getHeldAssets(); + let result = await account.getHeldAssets(); + + expect(result.data[0].id).toEqual(asset.id); + expect(result.data[0]).toBeInstanceOf(ConfidentialAsset); + + dsMockUtils.createApolloQueryMock(confidentialAssetsByHolderQuery(publicKey), { + confidentialAssetHolders: { + nodes: [], + totalCount: 0, + }, + }); - expect(result).toEqual(fakeResult); + result = await account.getHeldAssets(); + expect(result.data).toEqual([]); + expect(result.next).toBeNull(); }); }); }); diff --git a/src/middleware/__tests__/queries.ts b/src/middleware/__tests__/queries.ts index 9387c28d7f..3f49bc7df6 100644 --- a/src/middleware/__tests__/queries.ts +++ b/src/middleware/__tests__/queries.ts @@ -7,6 +7,7 @@ import { authorizationsQuery, claimsGroupingQuery, claimsQuery, + confidentialAssetsByHolderQuery, createCustomClaimTypeQueryFilters, customClaimTypeQuery, distributionPaymentsQuery, @@ -601,3 +602,23 @@ describe('customClaimTypeQuery', () => { expect(result.variables).toEqual({ size: size.toNumber(), start: start.toNumber(), dids }); }); }); + +describe('confidentialAssetsByHolderQuery', () => { + it('should return correct query and variables when size, start are not provided', () => { + const result = confidentialAssetsByHolderQuery('1'); + expect(result.query).toBeDefined(); + expect(result.variables).toEqual({ size: undefined, start: undefined, accountId: '1' }); + }); + + it('should return correct query and variables when size, start are provided', () => { + const size = new BigNumber(10); + const start = new BigNumber(0); + const result = confidentialAssetsByHolderQuery('1', size, start); + expect(result.query).toBeDefined(); + expect(result.variables).toEqual({ + size: size.toNumber(), + start: start.toNumber(), + accountId: '1', + }); + }); +}); diff --git a/src/middleware/queries.ts b/src/middleware/queries.ts index 611bc59bee..24ac911809 100644 --- a/src/middleware/queries.ts +++ b/src/middleware/queries.ts @@ -15,6 +15,7 @@ import { ClaimsOrderBy, ClaimTypeEnum, ConfidentialAssetHolder, + ConfidentialAssetHoldersOrderBy, Distribution, DistributionPayment, Event, @@ -1609,29 +1610,32 @@ export function customClaimTypeQuery( /** * @hidden * - * Get Confidential Assets hel by a ConfidentialAccount + * Get Confidential Assets held by a ConfidentialAccount */ -export function confidentialAssetsByHolderQuery({ - accountId, -}: QueryArgs): QueryOptions< - QueryArgs -> { +export function confidentialAssetsByHolderQuery( + accountId: string, + size?: BigNumber, + start?: BigNumber +): QueryOptions>> { const query = gql` - query ConfidentialAssetsByAccount($accountId: String!) { + query ConfidentialAssetsByAccount($size: Int, $start: Int, $accountId: String!) { confidentialAssetHolders( - filter: { accountId: { equalTo: $accountId } } - orderBy: [${TickerExternalAgentHistoriesOrderBy.CreatedAtAsc}, ${TickerExternalAgentHistoriesOrderBy.CreatedBlockIdAsc}] + accountId: { equalTo: $accountId } + orderBy: [${ConfidentialAssetHoldersOrderBy.CreatedBlockIdAsc}] + first: $size + offset: $start ) { nodes { accountId, assetId } + totalCount } } `; return { query, - variables: { accountId }, + variables: { size: size?.toNumber(), start: start?.toNumber(), accountId }, }; } From ef624a6c9fb288e305f1c97605d5fc5e67c3107e Mon Sep 17 00:00:00 2001 From: Eric Richardson Date: Thu, 15 Feb 2024 12:41:54 -0500 Subject: [PATCH 087/120] =?UTF-8?q?fix:=20=F0=9F=90=9B=20allow=20mediators?= =?UTF-8?q?=20to=20affirm=20when=20not=20involved=20in=20trade?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fixes a bug where mediators would not be allowed to affirm due to non mediator validation. also adds validation to ensure mediators exist --- .../procedures/__tests__/addInstruction.ts | 2 +- src/api/procedures/addAssetMediators.ts | 7 ++- src/api/procedures/addInstruction.ts | 6 +++ .../modifyInstructionAffirmation.ts | 47 +++++++++++++------ src/utils/__tests__/internal.ts | 20 ++++++++ src/utils/internal.ts | 15 ++++++ 6 files changed, 80 insertions(+), 17 deletions(-) diff --git a/src/api/procedures/__tests__/addInstruction.ts b/src/api/procedures/__tests__/addInstruction.ts index efb50b06f3..33580af2f2 100644 --- a/src/api/procedures/__tests__/addInstruction.ts +++ b/src/api/procedures/__tests__/addInstruction.ts @@ -326,7 +326,7 @@ describe('addInstruction procedure', () => { venueId, instructions: [ { - mediators: [mediatorDid], + mediators: [entityMockUtils.getIdentityInstance({ did: mediatorDid })], legs: [ { from, diff --git a/src/api/procedures/addAssetMediators.ts b/src/api/procedures/addAssetMediators.ts index 9427d54257..07a21b1ded 100644 --- a/src/api/procedures/addAssetMediators.ts +++ b/src/api/procedures/addAssetMediators.ts @@ -3,7 +3,7 @@ import { AssetMediatorParams, ErrorCode, TxTags } from '~/types'; import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; import { MAX_ASSET_MEDIATORS } from '~/utils/constants'; import { identitiesToBtreeSet, stringToTicker } from '~/utils/conversion'; -import { asIdentity } from '~/utils/internal'; +import { asIdentity, assertIdentityExists } from '~/utils/internal'; /** * @hidden */ @@ -33,6 +33,9 @@ export async function prepareAddAssetMediators( const newMediators = mediatorInput.map(mediator => asIdentity(mediator, context)); + const mediatorsExistAsserts = newMediators.map(mediator => assertIdentityExists(mediator)); + await Promise.all(mediatorsExistAsserts); + newMediators.forEach(({ did: newDid }) => { const alreadySetDid = currentMediators.find(({ did: currentDid }) => currentDid === newDid); @@ -40,7 +43,7 @@ export async function prepareAddAssetMediators( throw new PolymeshError({ code: ErrorCode.ValidationError, message: 'One of the specified mediators is already set', - data: { ticker, alreadySetDid }, + data: { ticker, did: alreadySetDid.did }, }); } }); diff --git a/src/api/procedures/addInstruction.ts b/src/api/procedures/addInstruction.ts index 914b2b0596..998361173e 100644 --- a/src/api/procedures/addInstruction.ts +++ b/src/api/procedures/addInstruction.ts @@ -55,6 +55,7 @@ import { import { asIdentity, assembleBatchTransactions, + assertIdentityExists, asTicker, filterEventRecords, optionize, @@ -400,9 +401,14 @@ export async function prepareAddInstruction( } = this; const { instructions, venueId } = args; + const allMediators = instructions.flatMap( + ({ mediators }) => mediators?.map(mediator => asIdentity(mediator, context)) ?? [] + ); + const [latestBlock] = await Promise.all([ context.getLatestBlock(), assertVenueExists(venueId, context), + ...allMediators.map(mediator => assertIdentityExists(mediator)), ]); if (!instructions.length) { diff --git a/src/api/procedures/modifyInstructionAffirmation.ts b/src/api/procedures/modifyInstructionAffirmation.ts index 73cc42dcd1..241e75bd5f 100644 --- a/src/api/procedures/modifyInstructionAffirmation.ts +++ b/src/api/procedures/modifyInstructionAffirmation.ts @@ -46,6 +46,37 @@ export interface Storage { signer: Identity; } +/** + * @hidden + */ +const assertPortfoliosValid = ( + portfolioParams: PortfolioLike[], + portfolios: (DefaultPortfolio | NumberedPortfolio)[], + operation: InstructionAffirmationOperation +): void => { + if ( + operation === InstructionAffirmationOperation.AffirmAsMediator || + operation === InstructionAffirmationOperation.RejectAsMediator || + operation === InstructionAffirmationOperation.WithdrawAsMediator + ) { + return; + } + + if (portfolioParams.length && portfolioParams.length !== portfolios.length) { + throw new PolymeshError({ + code: ErrorCode.UnmetPrerequisite, + message: 'Some of the portfolios are not a involved in this instruction', + }); + } + + if (!portfolios.length) { + throw new PolymeshError({ + code: ErrorCode.UnmetPrerequisite, + message: 'The signing Identity is not involved in this Instruction', + }); + } +}; + /** * @hidden */ @@ -75,21 +106,9 @@ export async function prepareModifyInstructionAffirmation( const instruction = new Instruction({ id }, context); - await assertInstructionValid(instruction, context); + await Promise.all([assertInstructionValid(instruction, context)]); - if (portfolioParams.length && portfolioParams.length !== portfolios.length) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'Some of the portfolios are not a involved in this instruction', - }); - } - - if (!portfolios.length) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'The signing Identity is not involved in this Instruction', - }); - } + assertPortfoliosValid(portfolioParams, portfolios, operation); const rawInstructionId = bigNumberToU64(id, context); const rawPortfolioIds: PolymeshPrimitivesIdentityIdPortfolioId[] = portfolios.map(portfolio => diff --git a/src/utils/__tests__/internal.ts b/src/utils/__tests__/internal.ts index 528045d56f..1969e4cf73 100644 --- a/src/utils/__tests__/internal.ts +++ b/src/utils/__tests__/internal.ts @@ -72,6 +72,7 @@ import { assertAddressValid, assertExpectedChainVersion, assertExpectedSqVersion, + assertIdentityExists, assertIsInteger, assertIsPositive, assertNoPendingAuthorizationExists, @@ -2488,3 +2489,22 @@ describe('assertNoPendingAuthorizationExists', () => { ).toThrow(expectedError); }); }); + +describe('assertIdentityExists', () => { + it('should resolve if the identity exists', () => { + const identity = entityMockUtils.getIdentityInstance({ exists: true }); + + return expect(assertIdentityExists(identity)).resolves.not.toThrow(); + }); + + it('should throw an error if an identity does not exist', () => { + const identity = entityMockUtils.getIdentityInstance({ exists: false }); + + const expectedError = new PolymeshError({ + code: ErrorCode.DataUnavailable, + message: 'The identity does not exists', + }); + + return expect(assertIdentityExists(identity)).rejects.toThrow(expectedError); + }); +}); diff --git a/src/utils/internal.ts b/src/utils/internal.ts index 02bc82f712..cb4f35beea 100644 --- a/src/utils/internal.ts +++ b/src/utils/internal.ts @@ -1973,3 +1973,18 @@ export function assertNoPendingAuthorizationExists(params: { }); } } + +/** + * @hidden + */ +export async function assertIdentityExists(identity: Identity): Promise { + const exists = await identity.exists(); + + if (!exists) { + throw new PolymeshError({ + code: ErrorCode.DataUnavailable, + message: 'The identity does not exists', + data: { did: identity.did }, + }); + } +} From 6575b59cb86005493fa8d23811b7804dd583e6f7 Mon Sep 17 00:00:00 2001 From: Toms Veidemanis Date: Sat, 17 Feb 2024 00:58:00 +0700 Subject: [PATCH 088/120] =?UTF-8?q?refactor:=20=F0=9F=92=A1=20pr=20comment?= =?UTF-8?q?s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/entities/confidential/ConfidentialAccount/index.ts | 3 +-- .../confidential/__tests__/ConfidentialAccount/index.ts | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/api/entities/confidential/ConfidentialAccount/index.ts b/src/api/entities/confidential/ConfidentialAccount/index.ts index c3c88ad202..0d743d5454 100644 --- a/src/api/entities/confidential/ConfidentialAccount/index.ts +++ b/src/api/entities/confidential/ConfidentialAccount/index.ts @@ -14,7 +14,7 @@ import { meshConfidentialAssetToAssetId, serializeConfidentialAssetId, } from '~/utils/conversion'; -import { asConfidentialAsset,calculateNextKey } from '~/utils/internal'; +import { asConfidentialAsset, calculateNextKey } from '~/utils/internal'; /** * @hidden @@ -202,7 +202,6 @@ export class ConfidentialAccount extends Entity { /** * Determine whether this Account exists on chain - * */ public async exists(): Promise { const { diff --git a/src/api/entities/confidential/__tests__/ConfidentialAccount/index.ts b/src/api/entities/confidential/__tests__/ConfidentialAccount/index.ts index 9eb5f8d17f..24700fc6f3 100644 --- a/src/api/entities/confidential/__tests__/ConfidentialAccount/index.ts +++ b/src/api/entities/confidential/__tests__/ConfidentialAccount/index.ts @@ -233,7 +233,7 @@ describe('ConfidentialAccount class', () => { describe('method: getHeldAssets', () => { it('should return an array of ConfidentialAssets held by the ConfidentialAccount', async () => { const assetId = '76702175d8cbe3a55a19734433351e25'; - const asset = new ConfidentialAsset({ id: assetId }, context); + const asset = entityMockUtils.getConfidentialAssetInstance({ id: assetId }); dsMockUtils.createApolloQueryMock(confidentialAssetsByHolderQuery(publicKey), { confidentialAssetHolders: { From d6e63f990b10176388fa79e3250b12e202e101bf Mon Sep 17 00:00:00 2001 From: Toms Veidemanis Date: Fri, 9 Feb 2024 16:32:31 +0200 Subject: [PATCH 089/120] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20asset=20transact?= =?UTF-8?q?ion=20history?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../confidential/ConfidentialAsset/index.ts | 54 +++++++++++++++- .../confidential/ConfidentialAsset/types.ts | 13 ++++ .../__tests__/ConfidentialAsset/index.ts | 59 ++++++++++++++++- src/middleware/queries.ts | 64 +++++++++++++++++++ src/utils/__tests__/conversion.ts | 47 ++++++++++++++ src/utils/conversion.ts | 28 ++++++++ 6 files changed, 263 insertions(+), 2 deletions(-) diff --git a/src/api/entities/confidential/ConfidentialAsset/index.ts b/src/api/entities/confidential/ConfidentialAsset/index.ts index c5cc4cdce0..be87102046 100644 --- a/src/api/entities/confidential/ConfidentialAsset/index.ts +++ b/src/api/entities/confidential/ConfidentialAsset/index.ts @@ -1,5 +1,6 @@ import { PalletConfidentialAssetConfidentialAssetDetails } from '@polkadot/types/lookup'; import { Option } from '@polkadot/types-codec'; +import BigNumber from 'bignumber.js'; import { ConfidentialAccount, @@ -11,25 +12,31 @@ import { PolymeshError, setConfidentialVenueFiltering, } from '~/internal'; +import { transactionHistoryByConfidentialAssetQuery } from '~/middleware/queries'; +import { Query } from '~/middleware/types'; import { ConfidentialAssetDetails, + ConfidentialAssetTransactionHistory, ConfidentialVenueFilteringDetails, ErrorCode, GroupedAuditors, IssueConfidentialAssetParams, ProcedureMethod, + ResultSet, SetVenueFilteringParams, } from '~/types'; +import { Ensured } from '~/types/utils'; import { boolToBoolean, bytesToString, identityIdToString, + middlewareAssetHistoryToTransactionHistory, serializeConfidentialAssetId, tickerToString, u64ToBigNumber, u128ToBigNumber, } from '~/utils/conversion'; -import { assertCaAssetValid, createProcedureMethod } from '~/utils/internal'; +import { assertCaAssetValid, calculateNextKey, createProcedureMethod } from '~/utils/internal'; /** * Properties that uniquely identify a ConfidentialAsset @@ -232,4 +239,49 @@ export class ConfidentialAsset extends Entity { public toHuman(): string { return this.id; } + + /** + * Return transaction history for thee Asset + * + * @param opts.size - page size + * @param opts.start - page offset + * + * @note uses the middleware V2 + * @note supports pagination + */ + public async getTransactionHistory( + opts: { + size?: BigNumber; + start?: BigNumber; + } = {} + ): Promise> { + const { context, id } = this; + const { size, start } = opts; + + const { + data: { + confidentialAssetHistories: { nodes: transactionsResult, totalCount }, + }, + } = await context.queryMiddleware>( + transactionHistoryByConfidentialAssetQuery( + { + assetId: id.toString(), + }, + size, + start + ) + ); + + const data = transactionsResult.map(entry => middlewareAssetHistoryToTransactionHistory(entry)); + + const count = new BigNumber(totalCount); + + const next = calculateNextKey(count, data.length, start); + + return { + data, + next, + count, + }; + } } diff --git a/src/api/entities/confidential/ConfidentialAsset/types.ts b/src/api/entities/confidential/ConfidentialAsset/types.ts index febf115e70..2be3f40a04 100644 --- a/src/api/entities/confidential/ConfidentialAsset/types.ts +++ b/src/api/entities/confidential/ConfidentialAsset/types.ts @@ -1,6 +1,7 @@ import BigNumber from 'bignumber.js'; import { ConfidentialVenue } from '~/internal'; +import { EventIdEnum } from '~/middleware/types'; import { ConfidentialAccount, Identity } from '~/types'; export interface ConfidentialAssetDetails { @@ -60,3 +61,15 @@ export type ConfidentialVenueFilteringDetails = enabled: true; allowedConfidentialVenues: ConfidentialVenue[]; }; + +export type ConfidentialAssetTransactionHistory = { + id: string; + assetId: string; + amount: string; + fromId?: string; + toId?: string; + memo?: string; + eventId: EventIdEnum; + datetime: Date; + createdBlockId: BigNumber; +}; diff --git a/src/api/entities/confidential/__tests__/ConfidentialAsset/index.ts b/src/api/entities/confidential/__tests__/ConfidentialAsset/index.ts index fc13ffd7c7..73d42e4550 100644 --- a/src/api/entities/confidential/__tests__/ConfidentialAsset/index.ts +++ b/src/api/entities/confidential/__tests__/ConfidentialAsset/index.ts @@ -3,8 +3,9 @@ import BigNumber from 'bignumber.js'; import { when } from 'jest-when'; import { ConfidentialAsset, Context, Entity, PolymeshError, PolymeshTransaction } from '~/internal'; +import { transactionHistoryByConfidentialAssetQuery } from '~/middleware/queries'; import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { ErrorCode } from '~/types'; +import { ConfidentialAssetTransactionHistory, ErrorCode } from '~/types'; import { tuple } from '~/types/utils'; import * as utilsConversionModule from '~/utils/conversion'; @@ -334,4 +335,60 @@ describe('ConfidentialAsset class', () => { expect(confidentialAsset.toHuman()).toBe(id); }); }); + + describe('method: getTransactionHistory', () => { + it('should return the paginated list of transaction history for the entity', async () => { + const middlewareAssetHistoryToTransactionHistorySpy = jest.spyOn( + utilsConversionModule, + 'middlewareAssetHistoryToTransactionHistory' + ); + + const confidentialAssetHistoriesResponse = { + totalCount: 5, + nodes: ['instructions'], + }; + + dsMockUtils.createApolloQueryMock( + transactionHistoryByConfidentialAssetQuery( + { + assetId: confidentialAsset.toHuman(), + }, + new BigNumber(2), + new BigNumber(0) + ), + { + confidentialAssetHistories: confidentialAssetHistoriesResponse, + } + ); + + const mockTransactionHistory = 'mockData' as unknown as ConfidentialAssetTransactionHistory; + + middlewareAssetHistoryToTransactionHistorySpy.mockReturnValue(mockTransactionHistory); + + let result = await confidentialAsset.getTransactionHistory({ + size: new BigNumber(2), + start: new BigNumber(0), + }); + + const { data, next, count } = result; + + expect(next).toEqual(new BigNumber(1)); + expect(count).toEqual(new BigNumber(5)); + expect(data).toEqual([mockTransactionHistory]); + + dsMockUtils.createApolloQueryMock( + transactionHistoryByConfidentialAssetQuery({ + assetId: confidentialAsset.toHuman(), + }), + { + confidentialAssetHistories: confidentialAssetHistoriesResponse, + } + ); + + result = await confidentialAsset.getTransactionHistory(); + + expect(result.count).toEqual(new BigNumber(5)); + expect(result.next).toEqual(new BigNumber(result.data.length)); + }); + }); }); diff --git a/src/middleware/queries.ts b/src/middleware/queries.ts index 24ac911809..973f1148b9 100644 --- a/src/middleware/queries.ts +++ b/src/middleware/queries.ts @@ -14,6 +14,7 @@ import { ClaimsGroupBy, ClaimsOrderBy, ClaimTypeEnum, + ConfidentialAssetHistory, ConfidentialAssetHolder, ConfidentialAssetHoldersOrderBy, Distribution, @@ -1639,3 +1640,66 @@ export function confidentialAssetsByHolderQuery( variables: { size: size?.toNumber(), start: start?.toNumber(), accountId }, }; } + +/** + * @hidden + */ +export function createTransactionHistoryByConfidentialAssetQueryFilters(): { + args: string; + filter: string; +} { + const args = ['$size: Int, $start: Int', '$assetId: [String!]']; + const filters = ['assetId: { equalTo: $assetId }']; + + return { + args: `(${args.join()})`, + filter: `filter: { ${filters.join()} },`, + }; +} + +/** + * @hidden + * + * Get Confidential Asset transaction history + */ +export function transactionHistoryByConfidentialAssetQuery( + { assetId }: Pick, + size?: BigNumber, + start?: BigNumber +): QueryOptions>> { + const { args, filter } = createTransactionHistoryByConfidentialAssetQueryFilters(); + + const query = gql` + query TransactionHistoryQuery + ${args} + { + confidentialAssetHistories( + ${filter} + first: $size + offset: $start + ){ + nodes { + accountId, + fromId, + toId, + transactionId, + assetId, + createdBlock { + datetime, + hash, + blockId, + } + amount, + eventId, + memo, + } + totalCount + } + } +`; + + return { + query, + variables: { size: size?.toNumber(), start: start?.toNumber(), assetId }, + }; +} diff --git a/src/utils/__tests__/conversion.ts b/src/utils/__tests__/conversion.ts index 36a0f3644b..f118d1f3cb 100644 --- a/src/utils/__tests__/conversion.ts +++ b/src/utils/__tests__/conversion.ts @@ -96,7 +96,9 @@ import { CallIdEnum, Claim as MiddlewareClaim, ClaimTypeEnum, + ConfidentialAssetHistory, CustomClaimType as MiddlewareCustomClaimType, + EventIdEnum, Instruction, InstructionStatusEnum, ModuleIdEnum, @@ -105,6 +107,7 @@ import { import { ClaimScopeTypeEnum } from '~/middleware/typesV1'; import { dsMockUtils, entityMockUtils } from '~/testUtils/mocks'; import { + createMockBlock, createMockBTreeSet, createMockConfidentialAccount, createMockConfidentialTransactionStatus, @@ -284,6 +287,7 @@ import { metadataValueDetailToMeshMetadataValueDetail, metadataValueToMeshMetadataValue, middlewareAgentGroupDataToPermissionGroup, + middlewareAssetHistoryToTransactionHistory, middlewareAuthorizationDataToAuthorization, middlewareClaimToClaimData, middlewareEventDetailsToEventIdentifier, @@ -10408,3 +10412,46 @@ describe('confidentialLegStateToLegState', () => { ); }); }); + +describe('middlewareAssetHistoryToTransactionHistory', () => { + beforeAll(() => { + dsMockUtils.initMocks(); + }); + + afterEach(() => { + dsMockUtils.reset(); + }); + + afterAll(() => { + dsMockUtils.cleanup(); + }); + + it('should convert a middleware AssetHistory to TransactionHistory', () => { + const assetHistoryEntry = { + id: '1', + fromId: 'someString', + toId: 'someString', + amount: '0x01', + createdBlock: createMockBlock() as unknown as Block, + assetId: 'assetId', + eventId: EventIdEnum.AccountDeposit, + memo: '0x02', + } as ConfidentialAssetHistory; + + const expectedResult = { + id: assetHistoryEntry.id, + assetId: assetHistoryEntry.assetId, + fromId: assetHistoryEntry.fromId, + toId: assetHistoryEntry.toId, + amount: assetHistoryEntry.amount, + datetime: assetHistoryEntry.createdBlock!.datetime, + createdBlockId: new BigNumber(assetHistoryEntry.createdBlock!.id), + eventId: assetHistoryEntry.eventId, + memo: assetHistoryEntry.memo, + }; + + const result = middlewareAssetHistoryToTransactionHistory(assetHistoryEntry); + + expect(result).toEqual(expectedResult); + }); +}); diff --git a/src/utils/conversion.ts b/src/utils/conversion.ts index 62e86e12ec..400047f6e0 100644 --- a/src/utils/conversion.ts +++ b/src/utils/conversion.ts @@ -149,6 +149,7 @@ import { Block, CallIdEnum, Claim as MiddlewareClaim, + ConfidentialAssetHistory, CustomClaimType as MiddlewareCustomClaimType, Instruction, ModuleIdEnum, @@ -184,6 +185,7 @@ import { ConditionType, ConfidentialAffirmParty, ConfidentialAffirmTransaction, + ConfidentialAssetTransactionHistory, ConfidentialLeg, ConfidentialLegParty, ConfidentialLegProof, @@ -5257,3 +5259,29 @@ export function confidentialLegStateToLegState( assetState, }; } + +/** + * @hidden + */ +export function middlewareAssetHistoryToTransactionHistory({ + id, + assetId, + amount, + fromId, + toId, + createdBlock, + eventId, + memo, +}: ConfidentialAssetHistory): ConfidentialAssetTransactionHistory { + return { + id, + assetId, + fromId, + toId, + amount, + datetime: createdBlock!.datetime, + createdBlockId: new BigNumber(createdBlock!.blockId), + eventId, + memo, + }; +} From 5b579f00fa541655b88b44d60f4b2905b4bb8bda Mon Sep 17 00:00:00 2001 From: Toms Veidemanis Date: Tue, 20 Feb 2024 22:14:06 +0700 Subject: [PATCH 090/120] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20update=20sq=20ty?= =?UTF-8?q?pes=20to=20include=20eventIdx?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit BREAKING CHANGE: 🧨 this requires SQ version with eventIdx added to entities --- src/middleware/types.ts | 715 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 715 insertions(+) diff --git a/src/middleware/types.ts b/src/middleware/types.ts index 3d51e75ba8..dd843a4da0 100644 --- a/src/middleware/types.ts +++ b/src/middleware/types.ts @@ -38003,6 +38003,8 @@ export enum BlocksOrderBy { ConfidentialAccountsByCreatedBlockIdAverageCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', ConfidentialAccountsByCreatedBlockIdAverageCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_CREATOR_ID_ASC', ConfidentialAccountsByCreatedBlockIdAverageCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_CREATOR_ID_DESC', + ConfidentialAccountsByCreatedBlockIdAverageEventIdxAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_IDX_ASC', + ConfidentialAccountsByCreatedBlockIdAverageEventIdxDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_IDX_DESC', ConfidentialAccountsByCreatedBlockIdAverageIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_ID_ASC', ConfidentialAccountsByCreatedBlockIdAverageIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_ID_DESC', ConfidentialAccountsByCreatedBlockIdAverageUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', @@ -38019,6 +38021,8 @@ export enum BlocksOrderBy { ConfidentialAccountsByCreatedBlockIdDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', ConfidentialAccountsByCreatedBlockIdDistinctCountCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATOR_ID_ASC', ConfidentialAccountsByCreatedBlockIdDistinctCountCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATOR_ID_DESC', + ConfidentialAccountsByCreatedBlockIdDistinctCountEventIdxAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_ASC', + ConfidentialAccountsByCreatedBlockIdDistinctCountEventIdxDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_DESC', ConfidentialAccountsByCreatedBlockIdDistinctCountIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', ConfidentialAccountsByCreatedBlockIdDistinctCountIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', ConfidentialAccountsByCreatedBlockIdDistinctCountUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', @@ -38033,6 +38037,8 @@ export enum BlocksOrderBy { ConfidentialAccountsByCreatedBlockIdMaxCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', ConfidentialAccountsByCreatedBlockIdMaxCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_CREATOR_ID_ASC', ConfidentialAccountsByCreatedBlockIdMaxCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_CREATOR_ID_DESC', + ConfidentialAccountsByCreatedBlockIdMaxEventIdxAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_EVENT_IDX_ASC', + ConfidentialAccountsByCreatedBlockIdMaxEventIdxDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_EVENT_IDX_DESC', ConfidentialAccountsByCreatedBlockIdMaxIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_ID_ASC', ConfidentialAccountsByCreatedBlockIdMaxIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_ID_DESC', ConfidentialAccountsByCreatedBlockIdMaxUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_ASC', @@ -38047,6 +38053,8 @@ export enum BlocksOrderBy { ConfidentialAccountsByCreatedBlockIdMinCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', ConfidentialAccountsByCreatedBlockIdMinCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_CREATOR_ID_ASC', ConfidentialAccountsByCreatedBlockIdMinCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_CREATOR_ID_DESC', + ConfidentialAccountsByCreatedBlockIdMinEventIdxAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_EVENT_IDX_ASC', + ConfidentialAccountsByCreatedBlockIdMinEventIdxDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_EVENT_IDX_DESC', ConfidentialAccountsByCreatedBlockIdMinIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_ID_ASC', ConfidentialAccountsByCreatedBlockIdMinIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_ID_DESC', ConfidentialAccountsByCreatedBlockIdMinUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_ASC', @@ -38061,6 +38069,8 @@ export enum BlocksOrderBy { ConfidentialAccountsByCreatedBlockIdStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', ConfidentialAccountsByCreatedBlockIdStddevPopulationCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATOR_ID_ASC', ConfidentialAccountsByCreatedBlockIdStddevPopulationCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATOR_ID_DESC', + ConfidentialAccountsByCreatedBlockIdStddevPopulationEventIdxAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_ASC', + ConfidentialAccountsByCreatedBlockIdStddevPopulationEventIdxDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_DESC', ConfidentialAccountsByCreatedBlockIdStddevPopulationIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', ConfidentialAccountsByCreatedBlockIdStddevPopulationIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', ConfidentialAccountsByCreatedBlockIdStddevPopulationUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', @@ -38075,6 +38085,8 @@ export enum BlocksOrderBy { ConfidentialAccountsByCreatedBlockIdStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', ConfidentialAccountsByCreatedBlockIdStddevSampleCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATOR_ID_ASC', ConfidentialAccountsByCreatedBlockIdStddevSampleCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATOR_ID_DESC', + ConfidentialAccountsByCreatedBlockIdStddevSampleEventIdxAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', + ConfidentialAccountsByCreatedBlockIdStddevSampleEventIdxDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', ConfidentialAccountsByCreatedBlockIdStddevSampleIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', ConfidentialAccountsByCreatedBlockIdStddevSampleIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', ConfidentialAccountsByCreatedBlockIdStddevSampleUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', @@ -38089,6 +38101,8 @@ export enum BlocksOrderBy { ConfidentialAccountsByCreatedBlockIdSumCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', ConfidentialAccountsByCreatedBlockIdSumCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_CREATOR_ID_ASC', ConfidentialAccountsByCreatedBlockIdSumCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_CREATOR_ID_DESC', + ConfidentialAccountsByCreatedBlockIdSumEventIdxAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_EVENT_IDX_ASC', + ConfidentialAccountsByCreatedBlockIdSumEventIdxDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_EVENT_IDX_DESC', ConfidentialAccountsByCreatedBlockIdSumIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_ID_ASC', ConfidentialAccountsByCreatedBlockIdSumIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_ID_DESC', ConfidentialAccountsByCreatedBlockIdSumUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_ASC', @@ -38103,6 +38117,8 @@ export enum BlocksOrderBy { ConfidentialAccountsByCreatedBlockIdVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', ConfidentialAccountsByCreatedBlockIdVariancePopulationCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATOR_ID_ASC', ConfidentialAccountsByCreatedBlockIdVariancePopulationCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATOR_ID_DESC', + ConfidentialAccountsByCreatedBlockIdVariancePopulationEventIdxAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', + ConfidentialAccountsByCreatedBlockIdVariancePopulationEventIdxDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', ConfidentialAccountsByCreatedBlockIdVariancePopulationIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', ConfidentialAccountsByCreatedBlockIdVariancePopulationIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', ConfidentialAccountsByCreatedBlockIdVariancePopulationUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', @@ -38117,6 +38133,8 @@ export enum BlocksOrderBy { ConfidentialAccountsByCreatedBlockIdVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', ConfidentialAccountsByCreatedBlockIdVarianceSampleCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATOR_ID_ASC', ConfidentialAccountsByCreatedBlockIdVarianceSampleCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATOR_ID_DESC', + ConfidentialAccountsByCreatedBlockIdVarianceSampleEventIdxAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', + ConfidentialAccountsByCreatedBlockIdVarianceSampleEventIdxDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', ConfidentialAccountsByCreatedBlockIdVarianceSampleIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', ConfidentialAccountsByCreatedBlockIdVarianceSampleIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', ConfidentialAccountsByCreatedBlockIdVarianceSampleUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', @@ -38131,6 +38149,8 @@ export enum BlocksOrderBy { ConfidentialAccountsByUpdatedBlockIdAverageCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', ConfidentialAccountsByUpdatedBlockIdAverageCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATOR_ID_ASC', ConfidentialAccountsByUpdatedBlockIdAverageCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATOR_ID_DESC', + ConfidentialAccountsByUpdatedBlockIdAverageEventIdxAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_IDX_ASC', + ConfidentialAccountsByUpdatedBlockIdAverageEventIdxDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_IDX_DESC', ConfidentialAccountsByUpdatedBlockIdAverageIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_ASC', ConfidentialAccountsByUpdatedBlockIdAverageIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_DESC', ConfidentialAccountsByUpdatedBlockIdAverageUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', @@ -38147,6 +38167,8 @@ export enum BlocksOrderBy { ConfidentialAccountsByUpdatedBlockIdDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', ConfidentialAccountsByUpdatedBlockIdDistinctCountCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATOR_ID_ASC', ConfidentialAccountsByUpdatedBlockIdDistinctCountCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATOR_ID_DESC', + ConfidentialAccountsByUpdatedBlockIdDistinctCountEventIdxAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_ASC', + ConfidentialAccountsByUpdatedBlockIdDistinctCountEventIdxDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_DESC', ConfidentialAccountsByUpdatedBlockIdDistinctCountIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', ConfidentialAccountsByUpdatedBlockIdDistinctCountIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', ConfidentialAccountsByUpdatedBlockIdDistinctCountUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', @@ -38161,6 +38183,8 @@ export enum BlocksOrderBy { ConfidentialAccountsByUpdatedBlockIdMaxCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', ConfidentialAccountsByUpdatedBlockIdMaxCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_CREATOR_ID_ASC', ConfidentialAccountsByUpdatedBlockIdMaxCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_CREATOR_ID_DESC', + ConfidentialAccountsByUpdatedBlockIdMaxEventIdxAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_EVENT_IDX_ASC', + ConfidentialAccountsByUpdatedBlockIdMaxEventIdxDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_EVENT_IDX_DESC', ConfidentialAccountsByUpdatedBlockIdMaxIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_ID_ASC', ConfidentialAccountsByUpdatedBlockIdMaxIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_ID_DESC', ConfidentialAccountsByUpdatedBlockIdMaxUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_ASC', @@ -38175,6 +38199,8 @@ export enum BlocksOrderBy { ConfidentialAccountsByUpdatedBlockIdMinCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', ConfidentialAccountsByUpdatedBlockIdMinCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MIN_CREATOR_ID_ASC', ConfidentialAccountsByUpdatedBlockIdMinCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MIN_CREATOR_ID_DESC', + ConfidentialAccountsByUpdatedBlockIdMinEventIdxAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MIN_EVENT_IDX_ASC', + ConfidentialAccountsByUpdatedBlockIdMinEventIdxDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MIN_EVENT_IDX_DESC', ConfidentialAccountsByUpdatedBlockIdMinIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MIN_ID_ASC', ConfidentialAccountsByUpdatedBlockIdMinIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MIN_ID_DESC', ConfidentialAccountsByUpdatedBlockIdMinUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_ASC', @@ -38189,6 +38215,8 @@ export enum BlocksOrderBy { ConfidentialAccountsByUpdatedBlockIdStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', ConfidentialAccountsByUpdatedBlockIdStddevPopulationCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATOR_ID_ASC', ConfidentialAccountsByUpdatedBlockIdStddevPopulationCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATOR_ID_DESC', + ConfidentialAccountsByUpdatedBlockIdStddevPopulationEventIdxAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_ASC', + ConfidentialAccountsByUpdatedBlockIdStddevPopulationEventIdxDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_DESC', ConfidentialAccountsByUpdatedBlockIdStddevPopulationIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', ConfidentialAccountsByUpdatedBlockIdStddevPopulationIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', ConfidentialAccountsByUpdatedBlockIdStddevPopulationUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', @@ -38203,6 +38231,8 @@ export enum BlocksOrderBy { ConfidentialAccountsByUpdatedBlockIdStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', ConfidentialAccountsByUpdatedBlockIdStddevSampleCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATOR_ID_ASC', ConfidentialAccountsByUpdatedBlockIdStddevSampleCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATOR_ID_DESC', + ConfidentialAccountsByUpdatedBlockIdStddevSampleEventIdxAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', + ConfidentialAccountsByUpdatedBlockIdStddevSampleEventIdxDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', ConfidentialAccountsByUpdatedBlockIdStddevSampleIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', ConfidentialAccountsByUpdatedBlockIdStddevSampleIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', ConfidentialAccountsByUpdatedBlockIdStddevSampleUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', @@ -38217,6 +38247,8 @@ export enum BlocksOrderBy { ConfidentialAccountsByUpdatedBlockIdSumCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', ConfidentialAccountsByUpdatedBlockIdSumCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_SUM_CREATOR_ID_ASC', ConfidentialAccountsByUpdatedBlockIdSumCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_SUM_CREATOR_ID_DESC', + ConfidentialAccountsByUpdatedBlockIdSumEventIdxAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_SUM_EVENT_IDX_ASC', + ConfidentialAccountsByUpdatedBlockIdSumEventIdxDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_SUM_EVENT_IDX_DESC', ConfidentialAccountsByUpdatedBlockIdSumIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_SUM_ID_ASC', ConfidentialAccountsByUpdatedBlockIdSumIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_SUM_ID_DESC', ConfidentialAccountsByUpdatedBlockIdSumUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_ASC', @@ -38231,6 +38263,8 @@ export enum BlocksOrderBy { ConfidentialAccountsByUpdatedBlockIdVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', ConfidentialAccountsByUpdatedBlockIdVariancePopulationCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATOR_ID_ASC', ConfidentialAccountsByUpdatedBlockIdVariancePopulationCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATOR_ID_DESC', + ConfidentialAccountsByUpdatedBlockIdVariancePopulationEventIdxAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', + ConfidentialAccountsByUpdatedBlockIdVariancePopulationEventIdxDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', ConfidentialAccountsByUpdatedBlockIdVariancePopulationIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', ConfidentialAccountsByUpdatedBlockIdVariancePopulationIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', ConfidentialAccountsByUpdatedBlockIdVariancePopulationUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', @@ -38245,6 +38279,8 @@ export enum BlocksOrderBy { ConfidentialAccountsByUpdatedBlockIdVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', ConfidentialAccountsByUpdatedBlockIdVarianceSampleCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATOR_ID_ASC', ConfidentialAccountsByUpdatedBlockIdVarianceSampleCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATOR_ID_DESC', + ConfidentialAccountsByUpdatedBlockIdVarianceSampleEventIdxAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', + ConfidentialAccountsByUpdatedBlockIdVarianceSampleEventIdxDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', ConfidentialAccountsByUpdatedBlockIdVarianceSampleIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', ConfidentialAccountsByUpdatedBlockIdVarianceSampleIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', ConfidentialAccountsByUpdatedBlockIdVarianceSampleUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', @@ -38265,6 +38301,8 @@ export enum BlocksOrderBy { ConfidentialAssetsByCreatedBlockIdAverageCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_CREATOR_ID_DESC', ConfidentialAssetsByCreatedBlockIdAverageDataAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_DATA_ASC', ConfidentialAssetsByCreatedBlockIdAverageDataDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_DATA_DESC', + ConfidentialAssetsByCreatedBlockIdAverageEventIdxAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_IDX_ASC', + ConfidentialAssetsByCreatedBlockIdAverageEventIdxDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_IDX_DESC', ConfidentialAssetsByCreatedBlockIdAverageIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_ID_ASC', ConfidentialAssetsByCreatedBlockIdAverageIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_ID_DESC', ConfidentialAssetsByCreatedBlockIdAverageMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_MEDIATORS_ASC', @@ -38295,6 +38333,8 @@ export enum BlocksOrderBy { ConfidentialAssetsByCreatedBlockIdDistinctCountCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATOR_ID_DESC', ConfidentialAssetsByCreatedBlockIdDistinctCountDataAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_DATA_ASC', ConfidentialAssetsByCreatedBlockIdDistinctCountDataDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_DATA_DESC', + ConfidentialAssetsByCreatedBlockIdDistinctCountEventIdxAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_ASC', + ConfidentialAssetsByCreatedBlockIdDistinctCountEventIdxDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_DESC', ConfidentialAssetsByCreatedBlockIdDistinctCountIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', ConfidentialAssetsByCreatedBlockIdDistinctCountIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', ConfidentialAssetsByCreatedBlockIdDistinctCountMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_MEDIATORS_ASC', @@ -38323,6 +38363,8 @@ export enum BlocksOrderBy { ConfidentialAssetsByCreatedBlockIdMaxCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MAX_CREATOR_ID_DESC', ConfidentialAssetsByCreatedBlockIdMaxDataAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MAX_DATA_ASC', ConfidentialAssetsByCreatedBlockIdMaxDataDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MAX_DATA_DESC', + ConfidentialAssetsByCreatedBlockIdMaxEventIdxAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MAX_EVENT_IDX_ASC', + ConfidentialAssetsByCreatedBlockIdMaxEventIdxDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MAX_EVENT_IDX_DESC', ConfidentialAssetsByCreatedBlockIdMaxIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MAX_ID_ASC', ConfidentialAssetsByCreatedBlockIdMaxIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MAX_ID_DESC', ConfidentialAssetsByCreatedBlockIdMaxMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MAX_MEDIATORS_ASC', @@ -38351,6 +38393,8 @@ export enum BlocksOrderBy { ConfidentialAssetsByCreatedBlockIdMinCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MIN_CREATOR_ID_DESC', ConfidentialAssetsByCreatedBlockIdMinDataAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MIN_DATA_ASC', ConfidentialAssetsByCreatedBlockIdMinDataDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MIN_DATA_DESC', + ConfidentialAssetsByCreatedBlockIdMinEventIdxAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MIN_EVENT_IDX_ASC', + ConfidentialAssetsByCreatedBlockIdMinEventIdxDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MIN_EVENT_IDX_DESC', ConfidentialAssetsByCreatedBlockIdMinIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MIN_ID_ASC', ConfidentialAssetsByCreatedBlockIdMinIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MIN_ID_DESC', ConfidentialAssetsByCreatedBlockIdMinMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MIN_MEDIATORS_ASC', @@ -38379,6 +38423,8 @@ export enum BlocksOrderBy { ConfidentialAssetsByCreatedBlockIdStddevPopulationCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATOR_ID_DESC', ConfidentialAssetsByCreatedBlockIdStddevPopulationDataAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_DATA_ASC', ConfidentialAssetsByCreatedBlockIdStddevPopulationDataDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_DATA_DESC', + ConfidentialAssetsByCreatedBlockIdStddevPopulationEventIdxAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_ASC', + ConfidentialAssetsByCreatedBlockIdStddevPopulationEventIdxDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_DESC', ConfidentialAssetsByCreatedBlockIdStddevPopulationIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', ConfidentialAssetsByCreatedBlockIdStddevPopulationIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', ConfidentialAssetsByCreatedBlockIdStddevPopulationMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_MEDIATORS_ASC', @@ -38407,6 +38453,8 @@ export enum BlocksOrderBy { ConfidentialAssetsByCreatedBlockIdStddevSampleCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATOR_ID_DESC', ConfidentialAssetsByCreatedBlockIdStddevSampleDataAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_DATA_ASC', ConfidentialAssetsByCreatedBlockIdStddevSampleDataDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_DATA_DESC', + ConfidentialAssetsByCreatedBlockIdStddevSampleEventIdxAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', + ConfidentialAssetsByCreatedBlockIdStddevSampleEventIdxDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', ConfidentialAssetsByCreatedBlockIdStddevSampleIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', ConfidentialAssetsByCreatedBlockIdStddevSampleIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', ConfidentialAssetsByCreatedBlockIdStddevSampleMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_MEDIATORS_ASC', @@ -38435,6 +38483,8 @@ export enum BlocksOrderBy { ConfidentialAssetsByCreatedBlockIdSumCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_SUM_CREATOR_ID_DESC', ConfidentialAssetsByCreatedBlockIdSumDataAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_SUM_DATA_ASC', ConfidentialAssetsByCreatedBlockIdSumDataDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_SUM_DATA_DESC', + ConfidentialAssetsByCreatedBlockIdSumEventIdxAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_SUM_EVENT_IDX_ASC', + ConfidentialAssetsByCreatedBlockIdSumEventIdxDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_SUM_EVENT_IDX_DESC', ConfidentialAssetsByCreatedBlockIdSumIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_SUM_ID_ASC', ConfidentialAssetsByCreatedBlockIdSumIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_SUM_ID_DESC', ConfidentialAssetsByCreatedBlockIdSumMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_SUM_MEDIATORS_ASC', @@ -38463,6 +38513,8 @@ export enum BlocksOrderBy { ConfidentialAssetsByCreatedBlockIdVariancePopulationCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATOR_ID_DESC', ConfidentialAssetsByCreatedBlockIdVariancePopulationDataAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_DATA_ASC', ConfidentialAssetsByCreatedBlockIdVariancePopulationDataDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_DATA_DESC', + ConfidentialAssetsByCreatedBlockIdVariancePopulationEventIdxAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', + ConfidentialAssetsByCreatedBlockIdVariancePopulationEventIdxDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', ConfidentialAssetsByCreatedBlockIdVariancePopulationIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', ConfidentialAssetsByCreatedBlockIdVariancePopulationIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', ConfidentialAssetsByCreatedBlockIdVariancePopulationMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_MEDIATORS_ASC', @@ -38491,6 +38543,8 @@ export enum BlocksOrderBy { ConfidentialAssetsByCreatedBlockIdVarianceSampleCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATOR_ID_DESC', ConfidentialAssetsByCreatedBlockIdVarianceSampleDataAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_DATA_ASC', ConfidentialAssetsByCreatedBlockIdVarianceSampleDataDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_DATA_DESC', + ConfidentialAssetsByCreatedBlockIdVarianceSampleEventIdxAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', + ConfidentialAssetsByCreatedBlockIdVarianceSampleEventIdxDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', ConfidentialAssetsByCreatedBlockIdVarianceSampleIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', ConfidentialAssetsByCreatedBlockIdVarianceSampleIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', ConfidentialAssetsByCreatedBlockIdVarianceSampleMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_MEDIATORS_ASC', @@ -38519,6 +38573,8 @@ export enum BlocksOrderBy { ConfidentialAssetsByUpdatedBlockIdAverageCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATOR_ID_DESC', ConfidentialAssetsByUpdatedBlockIdAverageDataAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_DATA_ASC', ConfidentialAssetsByUpdatedBlockIdAverageDataDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_DATA_DESC', + ConfidentialAssetsByUpdatedBlockIdAverageEventIdxAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_IDX_ASC', + ConfidentialAssetsByUpdatedBlockIdAverageEventIdxDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_IDX_DESC', ConfidentialAssetsByUpdatedBlockIdAverageIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_ASC', ConfidentialAssetsByUpdatedBlockIdAverageIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_DESC', ConfidentialAssetsByUpdatedBlockIdAverageMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_MEDIATORS_ASC', @@ -38549,6 +38605,8 @@ export enum BlocksOrderBy { ConfidentialAssetsByUpdatedBlockIdDistinctCountCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATOR_ID_DESC', ConfidentialAssetsByUpdatedBlockIdDistinctCountDataAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_DATA_ASC', ConfidentialAssetsByUpdatedBlockIdDistinctCountDataDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_DATA_DESC', + ConfidentialAssetsByUpdatedBlockIdDistinctCountEventIdxAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_ASC', + ConfidentialAssetsByUpdatedBlockIdDistinctCountEventIdxDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_DESC', ConfidentialAssetsByUpdatedBlockIdDistinctCountIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', ConfidentialAssetsByUpdatedBlockIdDistinctCountIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', ConfidentialAssetsByUpdatedBlockIdDistinctCountMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_MEDIATORS_ASC', @@ -38577,6 +38635,8 @@ export enum BlocksOrderBy { ConfidentialAssetsByUpdatedBlockIdMaxCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MAX_CREATOR_ID_DESC', ConfidentialAssetsByUpdatedBlockIdMaxDataAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MAX_DATA_ASC', ConfidentialAssetsByUpdatedBlockIdMaxDataDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MAX_DATA_DESC', + ConfidentialAssetsByUpdatedBlockIdMaxEventIdxAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MAX_EVENT_IDX_ASC', + ConfidentialAssetsByUpdatedBlockIdMaxEventIdxDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MAX_EVENT_IDX_DESC', ConfidentialAssetsByUpdatedBlockIdMaxIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MAX_ID_ASC', ConfidentialAssetsByUpdatedBlockIdMaxIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MAX_ID_DESC', ConfidentialAssetsByUpdatedBlockIdMaxMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MAX_MEDIATORS_ASC', @@ -38605,6 +38665,8 @@ export enum BlocksOrderBy { ConfidentialAssetsByUpdatedBlockIdMinCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MIN_CREATOR_ID_DESC', ConfidentialAssetsByUpdatedBlockIdMinDataAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MIN_DATA_ASC', ConfidentialAssetsByUpdatedBlockIdMinDataDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MIN_DATA_DESC', + ConfidentialAssetsByUpdatedBlockIdMinEventIdxAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MIN_EVENT_IDX_ASC', + ConfidentialAssetsByUpdatedBlockIdMinEventIdxDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MIN_EVENT_IDX_DESC', ConfidentialAssetsByUpdatedBlockIdMinIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MIN_ID_ASC', ConfidentialAssetsByUpdatedBlockIdMinIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MIN_ID_DESC', ConfidentialAssetsByUpdatedBlockIdMinMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MIN_MEDIATORS_ASC', @@ -38633,6 +38695,8 @@ export enum BlocksOrderBy { ConfidentialAssetsByUpdatedBlockIdStddevPopulationCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATOR_ID_DESC', ConfidentialAssetsByUpdatedBlockIdStddevPopulationDataAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_DATA_ASC', ConfidentialAssetsByUpdatedBlockIdStddevPopulationDataDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_DATA_DESC', + ConfidentialAssetsByUpdatedBlockIdStddevPopulationEventIdxAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_ASC', + ConfidentialAssetsByUpdatedBlockIdStddevPopulationEventIdxDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_DESC', ConfidentialAssetsByUpdatedBlockIdStddevPopulationIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', ConfidentialAssetsByUpdatedBlockIdStddevPopulationIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', ConfidentialAssetsByUpdatedBlockIdStddevPopulationMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_MEDIATORS_ASC', @@ -38661,6 +38725,8 @@ export enum BlocksOrderBy { ConfidentialAssetsByUpdatedBlockIdStddevSampleCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATOR_ID_DESC', ConfidentialAssetsByUpdatedBlockIdStddevSampleDataAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_DATA_ASC', ConfidentialAssetsByUpdatedBlockIdStddevSampleDataDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_DATA_DESC', + ConfidentialAssetsByUpdatedBlockIdStddevSampleEventIdxAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', + ConfidentialAssetsByUpdatedBlockIdStddevSampleEventIdxDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', ConfidentialAssetsByUpdatedBlockIdStddevSampleIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', ConfidentialAssetsByUpdatedBlockIdStddevSampleIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', ConfidentialAssetsByUpdatedBlockIdStddevSampleMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_MEDIATORS_ASC', @@ -38689,6 +38755,8 @@ export enum BlocksOrderBy { ConfidentialAssetsByUpdatedBlockIdSumCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_SUM_CREATOR_ID_DESC', ConfidentialAssetsByUpdatedBlockIdSumDataAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_SUM_DATA_ASC', ConfidentialAssetsByUpdatedBlockIdSumDataDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_SUM_DATA_DESC', + ConfidentialAssetsByUpdatedBlockIdSumEventIdxAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_SUM_EVENT_IDX_ASC', + ConfidentialAssetsByUpdatedBlockIdSumEventIdxDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_SUM_EVENT_IDX_DESC', ConfidentialAssetsByUpdatedBlockIdSumIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_SUM_ID_ASC', ConfidentialAssetsByUpdatedBlockIdSumIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_SUM_ID_DESC', ConfidentialAssetsByUpdatedBlockIdSumMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_SUM_MEDIATORS_ASC', @@ -38717,6 +38785,8 @@ export enum BlocksOrderBy { ConfidentialAssetsByUpdatedBlockIdVariancePopulationCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATOR_ID_DESC', ConfidentialAssetsByUpdatedBlockIdVariancePopulationDataAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_DATA_ASC', ConfidentialAssetsByUpdatedBlockIdVariancePopulationDataDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_DATA_DESC', + ConfidentialAssetsByUpdatedBlockIdVariancePopulationEventIdxAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', + ConfidentialAssetsByUpdatedBlockIdVariancePopulationEventIdxDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', ConfidentialAssetsByUpdatedBlockIdVariancePopulationIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', ConfidentialAssetsByUpdatedBlockIdVariancePopulationIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', ConfidentialAssetsByUpdatedBlockIdVariancePopulationMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_MEDIATORS_ASC', @@ -38745,6 +38815,8 @@ export enum BlocksOrderBy { ConfidentialAssetsByUpdatedBlockIdVarianceSampleCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATOR_ID_DESC', ConfidentialAssetsByUpdatedBlockIdVarianceSampleDataAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_DATA_ASC', ConfidentialAssetsByUpdatedBlockIdVarianceSampleDataDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_DATA_DESC', + ConfidentialAssetsByUpdatedBlockIdVarianceSampleEventIdxAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', + ConfidentialAssetsByUpdatedBlockIdVarianceSampleEventIdxDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', ConfidentialAssetsByUpdatedBlockIdVarianceSampleIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', ConfidentialAssetsByUpdatedBlockIdVarianceSampleIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', ConfidentialAssetsByUpdatedBlockIdVarianceSampleMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_MEDIATORS_ASC', @@ -39313,6 +39385,8 @@ export enum BlocksOrderBy { ConfidentialAssetHoldersByCreatedBlockIdAverageCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', ConfidentialAssetHoldersByCreatedBlockIdAverageCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', ConfidentialAssetHoldersByCreatedBlockIdAverageCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByCreatedBlockIdAverageEventIdxAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_IDX_ASC', + ConfidentialAssetHoldersByCreatedBlockIdAverageEventIdxDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_IDX_DESC', ConfidentialAssetHoldersByCreatedBlockIdAverageIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_ID_ASC', ConfidentialAssetHoldersByCreatedBlockIdAverageIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_ID_DESC', ConfidentialAssetHoldersByCreatedBlockIdAverageUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', @@ -39331,6 +39405,8 @@ export enum BlocksOrderBy { ConfidentialAssetHoldersByCreatedBlockIdDistinctCountCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', ConfidentialAssetHoldersByCreatedBlockIdDistinctCountCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', ConfidentialAssetHoldersByCreatedBlockIdDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByCreatedBlockIdDistinctCountEventIdxAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_ASC', + ConfidentialAssetHoldersByCreatedBlockIdDistinctCountEventIdxDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_DESC', ConfidentialAssetHoldersByCreatedBlockIdDistinctCountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', ConfidentialAssetHoldersByCreatedBlockIdDistinctCountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', ConfidentialAssetHoldersByCreatedBlockIdDistinctCountUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', @@ -39347,6 +39423,8 @@ export enum BlocksOrderBy { ConfidentialAssetHoldersByCreatedBlockIdMaxCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_DESC', ConfidentialAssetHoldersByCreatedBlockIdMaxCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', ConfidentialAssetHoldersByCreatedBlockIdMaxCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByCreatedBlockIdMaxEventIdxAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MAX_EVENT_IDX_ASC', + ConfidentialAssetHoldersByCreatedBlockIdMaxEventIdxDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MAX_EVENT_IDX_DESC', ConfidentialAssetHoldersByCreatedBlockIdMaxIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MAX_ID_ASC', ConfidentialAssetHoldersByCreatedBlockIdMaxIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MAX_ID_DESC', ConfidentialAssetHoldersByCreatedBlockIdMaxUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_ASC', @@ -39363,6 +39441,8 @@ export enum BlocksOrderBy { ConfidentialAssetHoldersByCreatedBlockIdMinCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_DESC', ConfidentialAssetHoldersByCreatedBlockIdMinCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', ConfidentialAssetHoldersByCreatedBlockIdMinCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByCreatedBlockIdMinEventIdxAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MIN_EVENT_IDX_ASC', + ConfidentialAssetHoldersByCreatedBlockIdMinEventIdxDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MIN_EVENT_IDX_DESC', ConfidentialAssetHoldersByCreatedBlockIdMinIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MIN_ID_ASC', ConfidentialAssetHoldersByCreatedBlockIdMinIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MIN_ID_DESC', ConfidentialAssetHoldersByCreatedBlockIdMinUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_ASC', @@ -39379,6 +39459,8 @@ export enum BlocksOrderBy { ConfidentialAssetHoldersByCreatedBlockIdStddevPopulationCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', ConfidentialAssetHoldersByCreatedBlockIdStddevPopulationCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', ConfidentialAssetHoldersByCreatedBlockIdStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByCreatedBlockIdStddevPopulationEventIdxAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_ASC', + ConfidentialAssetHoldersByCreatedBlockIdStddevPopulationEventIdxDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_DESC', ConfidentialAssetHoldersByCreatedBlockIdStddevPopulationIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', ConfidentialAssetHoldersByCreatedBlockIdStddevPopulationIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', ConfidentialAssetHoldersByCreatedBlockIdStddevPopulationUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', @@ -39395,6 +39477,8 @@ export enum BlocksOrderBy { ConfidentialAssetHoldersByCreatedBlockIdStddevSampleCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', ConfidentialAssetHoldersByCreatedBlockIdStddevSampleCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', ConfidentialAssetHoldersByCreatedBlockIdStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByCreatedBlockIdStddevSampleEventIdxAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', + ConfidentialAssetHoldersByCreatedBlockIdStddevSampleEventIdxDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', ConfidentialAssetHoldersByCreatedBlockIdStddevSampleIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', ConfidentialAssetHoldersByCreatedBlockIdStddevSampleIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', ConfidentialAssetHoldersByCreatedBlockIdStddevSampleUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', @@ -39411,6 +39495,8 @@ export enum BlocksOrderBy { ConfidentialAssetHoldersByCreatedBlockIdSumCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_DESC', ConfidentialAssetHoldersByCreatedBlockIdSumCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', ConfidentialAssetHoldersByCreatedBlockIdSumCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByCreatedBlockIdSumEventIdxAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_SUM_EVENT_IDX_ASC', + ConfidentialAssetHoldersByCreatedBlockIdSumEventIdxDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_SUM_EVENT_IDX_DESC', ConfidentialAssetHoldersByCreatedBlockIdSumIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_SUM_ID_ASC', ConfidentialAssetHoldersByCreatedBlockIdSumIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_SUM_ID_DESC', ConfidentialAssetHoldersByCreatedBlockIdSumUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_ASC', @@ -39427,6 +39513,8 @@ export enum BlocksOrderBy { ConfidentialAssetHoldersByCreatedBlockIdVariancePopulationCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', ConfidentialAssetHoldersByCreatedBlockIdVariancePopulationCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', ConfidentialAssetHoldersByCreatedBlockIdVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByCreatedBlockIdVariancePopulationEventIdxAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', + ConfidentialAssetHoldersByCreatedBlockIdVariancePopulationEventIdxDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', ConfidentialAssetHoldersByCreatedBlockIdVariancePopulationIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', ConfidentialAssetHoldersByCreatedBlockIdVariancePopulationIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', ConfidentialAssetHoldersByCreatedBlockIdVariancePopulationUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', @@ -39443,6 +39531,8 @@ export enum BlocksOrderBy { ConfidentialAssetHoldersByCreatedBlockIdVarianceSampleCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', ConfidentialAssetHoldersByCreatedBlockIdVarianceSampleCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', ConfidentialAssetHoldersByCreatedBlockIdVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByCreatedBlockIdVarianceSampleEventIdxAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', + ConfidentialAssetHoldersByCreatedBlockIdVarianceSampleEventIdxDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', ConfidentialAssetHoldersByCreatedBlockIdVarianceSampleIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', ConfidentialAssetHoldersByCreatedBlockIdVarianceSampleIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', ConfidentialAssetHoldersByCreatedBlockIdVarianceSampleUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', @@ -39459,6 +39549,8 @@ export enum BlocksOrderBy { ConfidentialAssetHoldersByUpdatedBlockIdAverageCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', ConfidentialAssetHoldersByUpdatedBlockIdAverageCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', ConfidentialAssetHoldersByUpdatedBlockIdAverageCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdAverageEventIdxAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_IDX_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdAverageEventIdxDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_IDX_DESC', ConfidentialAssetHoldersByUpdatedBlockIdAverageIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_ASC', ConfidentialAssetHoldersByUpdatedBlockIdAverageIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_DESC', ConfidentialAssetHoldersByUpdatedBlockIdAverageUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', @@ -39477,6 +39569,8 @@ export enum BlocksOrderBy { ConfidentialAssetHoldersByUpdatedBlockIdDistinctCountCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', ConfidentialAssetHoldersByUpdatedBlockIdDistinctCountCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', ConfidentialAssetHoldersByUpdatedBlockIdDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdDistinctCountEventIdxAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdDistinctCountEventIdxDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_DESC', ConfidentialAssetHoldersByUpdatedBlockIdDistinctCountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', ConfidentialAssetHoldersByUpdatedBlockIdDistinctCountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', ConfidentialAssetHoldersByUpdatedBlockIdDistinctCountUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', @@ -39493,6 +39587,8 @@ export enum BlocksOrderBy { ConfidentialAssetHoldersByUpdatedBlockIdMaxCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_DESC', ConfidentialAssetHoldersByUpdatedBlockIdMaxCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', ConfidentialAssetHoldersByUpdatedBlockIdMaxCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdMaxEventIdxAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_EVENT_IDX_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdMaxEventIdxDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_EVENT_IDX_DESC', ConfidentialAssetHoldersByUpdatedBlockIdMaxIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_ID_ASC', ConfidentialAssetHoldersByUpdatedBlockIdMaxIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_ID_DESC', ConfidentialAssetHoldersByUpdatedBlockIdMaxUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_ASC', @@ -39509,6 +39605,8 @@ export enum BlocksOrderBy { ConfidentialAssetHoldersByUpdatedBlockIdMinCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_DESC', ConfidentialAssetHoldersByUpdatedBlockIdMinCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', ConfidentialAssetHoldersByUpdatedBlockIdMinCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdMinEventIdxAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_EVENT_IDX_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdMinEventIdxDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_EVENT_IDX_DESC', ConfidentialAssetHoldersByUpdatedBlockIdMinIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_ID_ASC', ConfidentialAssetHoldersByUpdatedBlockIdMinIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_ID_DESC', ConfidentialAssetHoldersByUpdatedBlockIdMinUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_ASC', @@ -39525,6 +39623,8 @@ export enum BlocksOrderBy { ConfidentialAssetHoldersByUpdatedBlockIdStddevPopulationCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', ConfidentialAssetHoldersByUpdatedBlockIdStddevPopulationCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', ConfidentialAssetHoldersByUpdatedBlockIdStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdStddevPopulationEventIdxAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdStddevPopulationEventIdxDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_DESC', ConfidentialAssetHoldersByUpdatedBlockIdStddevPopulationIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', ConfidentialAssetHoldersByUpdatedBlockIdStddevPopulationIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', ConfidentialAssetHoldersByUpdatedBlockIdStddevPopulationUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', @@ -39541,6 +39641,8 @@ export enum BlocksOrderBy { ConfidentialAssetHoldersByUpdatedBlockIdStddevSampleCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', ConfidentialAssetHoldersByUpdatedBlockIdStddevSampleCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', ConfidentialAssetHoldersByUpdatedBlockIdStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdStddevSampleEventIdxAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdStddevSampleEventIdxDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', ConfidentialAssetHoldersByUpdatedBlockIdStddevSampleIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', ConfidentialAssetHoldersByUpdatedBlockIdStddevSampleIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', ConfidentialAssetHoldersByUpdatedBlockIdStddevSampleUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', @@ -39557,6 +39659,8 @@ export enum BlocksOrderBy { ConfidentialAssetHoldersByUpdatedBlockIdSumCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_DESC', ConfidentialAssetHoldersByUpdatedBlockIdSumCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', ConfidentialAssetHoldersByUpdatedBlockIdSumCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdSumEventIdxAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_EVENT_IDX_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdSumEventIdxDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_EVENT_IDX_DESC', ConfidentialAssetHoldersByUpdatedBlockIdSumIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_ID_ASC', ConfidentialAssetHoldersByUpdatedBlockIdSumIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_ID_DESC', ConfidentialAssetHoldersByUpdatedBlockIdSumUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_ASC', @@ -39573,6 +39677,8 @@ export enum BlocksOrderBy { ConfidentialAssetHoldersByUpdatedBlockIdVariancePopulationCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', ConfidentialAssetHoldersByUpdatedBlockIdVariancePopulationCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', ConfidentialAssetHoldersByUpdatedBlockIdVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdVariancePopulationEventIdxAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdVariancePopulationEventIdxDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', ConfidentialAssetHoldersByUpdatedBlockIdVariancePopulationIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', ConfidentialAssetHoldersByUpdatedBlockIdVariancePopulationIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', ConfidentialAssetHoldersByUpdatedBlockIdVariancePopulationUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', @@ -39589,6 +39695,8 @@ export enum BlocksOrderBy { ConfidentialAssetHoldersByUpdatedBlockIdVarianceSampleCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', ConfidentialAssetHoldersByUpdatedBlockIdVarianceSampleCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', ConfidentialAssetHoldersByUpdatedBlockIdVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByUpdatedBlockIdVarianceSampleEventIdxAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', + ConfidentialAssetHoldersByUpdatedBlockIdVarianceSampleEventIdxDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', ConfidentialAssetHoldersByUpdatedBlockIdVarianceSampleIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', ConfidentialAssetHoldersByUpdatedBlockIdVarianceSampleIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', ConfidentialAssetHoldersByUpdatedBlockIdVarianceSampleUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', @@ -40365,6 +40473,8 @@ export enum BlocksOrderBy { ConfidentialTransactionAffirmationsByCreatedBlockIdAverageCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', ConfidentialTransactionAffirmationsByCreatedBlockIdAverageCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', ConfidentialTransactionAffirmationsByCreatedBlockIdAverageCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdAverageEventIdxAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_IDX_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdAverageEventIdxDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_IDX_DESC', ConfidentialTransactionAffirmationsByCreatedBlockIdAverageIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_AVERAGE_IDENTITY_ID_ASC', ConfidentialTransactionAffirmationsByCreatedBlockIdAverageIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_AVERAGE_IDENTITY_ID_DESC', ConfidentialTransactionAffirmationsByCreatedBlockIdAverageIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_AVERAGE_ID_ASC', @@ -40391,6 +40501,8 @@ export enum BlocksOrderBy { ConfidentialTransactionAffirmationsByCreatedBlockIdDistinctCountCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', ConfidentialTransactionAffirmationsByCreatedBlockIdDistinctCountCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', ConfidentialTransactionAffirmationsByCreatedBlockIdDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdDistinctCountEventIdxAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdDistinctCountEventIdxDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_DESC', ConfidentialTransactionAffirmationsByCreatedBlockIdDistinctCountIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_IDENTITY_ID_ASC', ConfidentialTransactionAffirmationsByCreatedBlockIdDistinctCountIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_IDENTITY_ID_DESC', ConfidentialTransactionAffirmationsByCreatedBlockIdDistinctCountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', @@ -40415,6 +40527,8 @@ export enum BlocksOrderBy { ConfidentialTransactionAffirmationsByCreatedBlockIdMaxCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_DESC', ConfidentialTransactionAffirmationsByCreatedBlockIdMaxCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', ConfidentialTransactionAffirmationsByCreatedBlockIdMaxCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdMaxEventIdxAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MAX_EVENT_IDX_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdMaxEventIdxDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MAX_EVENT_IDX_DESC', ConfidentialTransactionAffirmationsByCreatedBlockIdMaxIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MAX_IDENTITY_ID_ASC', ConfidentialTransactionAffirmationsByCreatedBlockIdMaxIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MAX_IDENTITY_ID_DESC', ConfidentialTransactionAffirmationsByCreatedBlockIdMaxIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MAX_ID_ASC', @@ -40439,6 +40553,8 @@ export enum BlocksOrderBy { ConfidentialTransactionAffirmationsByCreatedBlockIdMinCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_DESC', ConfidentialTransactionAffirmationsByCreatedBlockIdMinCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', ConfidentialTransactionAffirmationsByCreatedBlockIdMinCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdMinEventIdxAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MIN_EVENT_IDX_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdMinEventIdxDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MIN_EVENT_IDX_DESC', ConfidentialTransactionAffirmationsByCreatedBlockIdMinIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MIN_IDENTITY_ID_ASC', ConfidentialTransactionAffirmationsByCreatedBlockIdMinIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MIN_IDENTITY_ID_DESC', ConfidentialTransactionAffirmationsByCreatedBlockIdMinIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MIN_ID_ASC', @@ -40463,6 +40579,8 @@ export enum BlocksOrderBy { ConfidentialTransactionAffirmationsByCreatedBlockIdStddevPopulationCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', ConfidentialTransactionAffirmationsByCreatedBlockIdStddevPopulationCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', ConfidentialTransactionAffirmationsByCreatedBlockIdStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdStddevPopulationEventIdxAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdStddevPopulationEventIdxDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_DESC', ConfidentialTransactionAffirmationsByCreatedBlockIdStddevPopulationIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_IDENTITY_ID_ASC', ConfidentialTransactionAffirmationsByCreatedBlockIdStddevPopulationIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_IDENTITY_ID_DESC', ConfidentialTransactionAffirmationsByCreatedBlockIdStddevPopulationIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', @@ -40487,6 +40605,8 @@ export enum BlocksOrderBy { ConfidentialTransactionAffirmationsByCreatedBlockIdStddevSampleCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', ConfidentialTransactionAffirmationsByCreatedBlockIdStddevSampleCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', ConfidentialTransactionAffirmationsByCreatedBlockIdStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdStddevSampleEventIdxAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdStddevSampleEventIdxDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', ConfidentialTransactionAffirmationsByCreatedBlockIdStddevSampleIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_IDENTITY_ID_ASC', ConfidentialTransactionAffirmationsByCreatedBlockIdStddevSampleIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_IDENTITY_ID_DESC', ConfidentialTransactionAffirmationsByCreatedBlockIdStddevSampleIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', @@ -40511,6 +40631,8 @@ export enum BlocksOrderBy { ConfidentialTransactionAffirmationsByCreatedBlockIdSumCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_DESC', ConfidentialTransactionAffirmationsByCreatedBlockIdSumCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', ConfidentialTransactionAffirmationsByCreatedBlockIdSumCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdSumEventIdxAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_SUM_EVENT_IDX_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdSumEventIdxDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_SUM_EVENT_IDX_DESC', ConfidentialTransactionAffirmationsByCreatedBlockIdSumIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_SUM_IDENTITY_ID_ASC', ConfidentialTransactionAffirmationsByCreatedBlockIdSumIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_SUM_IDENTITY_ID_DESC', ConfidentialTransactionAffirmationsByCreatedBlockIdSumIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_SUM_ID_ASC', @@ -40535,6 +40657,8 @@ export enum BlocksOrderBy { ConfidentialTransactionAffirmationsByCreatedBlockIdVariancePopulationCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', ConfidentialTransactionAffirmationsByCreatedBlockIdVariancePopulationCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', ConfidentialTransactionAffirmationsByCreatedBlockIdVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdVariancePopulationEventIdxAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdVariancePopulationEventIdxDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', ConfidentialTransactionAffirmationsByCreatedBlockIdVariancePopulationIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_IDENTITY_ID_ASC', ConfidentialTransactionAffirmationsByCreatedBlockIdVariancePopulationIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_IDENTITY_ID_DESC', ConfidentialTransactionAffirmationsByCreatedBlockIdVariancePopulationIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', @@ -40559,6 +40683,8 @@ export enum BlocksOrderBy { ConfidentialTransactionAffirmationsByCreatedBlockIdVarianceSampleCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', ConfidentialTransactionAffirmationsByCreatedBlockIdVarianceSampleCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', ConfidentialTransactionAffirmationsByCreatedBlockIdVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByCreatedBlockIdVarianceSampleEventIdxAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', + ConfidentialTransactionAffirmationsByCreatedBlockIdVarianceSampleEventIdxDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', ConfidentialTransactionAffirmationsByCreatedBlockIdVarianceSampleIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_IDENTITY_ID_ASC', ConfidentialTransactionAffirmationsByCreatedBlockIdVarianceSampleIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_IDENTITY_ID_DESC', ConfidentialTransactionAffirmationsByCreatedBlockIdVarianceSampleIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', @@ -40583,6 +40709,8 @@ export enum BlocksOrderBy { ConfidentialTransactionAffirmationsByUpdatedBlockIdAverageCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', ConfidentialTransactionAffirmationsByUpdatedBlockIdAverageCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', ConfidentialTransactionAffirmationsByUpdatedBlockIdAverageCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdAverageEventIdxAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_IDX_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdAverageEventIdxDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_IDX_DESC', ConfidentialTransactionAffirmationsByUpdatedBlockIdAverageIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_IDENTITY_ID_ASC', ConfidentialTransactionAffirmationsByUpdatedBlockIdAverageIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_IDENTITY_ID_DESC', ConfidentialTransactionAffirmationsByUpdatedBlockIdAverageIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_ASC', @@ -40609,6 +40737,8 @@ export enum BlocksOrderBy { ConfidentialTransactionAffirmationsByUpdatedBlockIdDistinctCountCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', ConfidentialTransactionAffirmationsByUpdatedBlockIdDistinctCountCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', ConfidentialTransactionAffirmationsByUpdatedBlockIdDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdDistinctCountEventIdxAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdDistinctCountEventIdxDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_DESC', ConfidentialTransactionAffirmationsByUpdatedBlockIdDistinctCountIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_IDENTITY_ID_ASC', ConfidentialTransactionAffirmationsByUpdatedBlockIdDistinctCountIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_IDENTITY_ID_DESC', ConfidentialTransactionAffirmationsByUpdatedBlockIdDistinctCountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', @@ -40633,6 +40763,8 @@ export enum BlocksOrderBy { ConfidentialTransactionAffirmationsByUpdatedBlockIdMaxCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_DESC', ConfidentialTransactionAffirmationsByUpdatedBlockIdMaxCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', ConfidentialTransactionAffirmationsByUpdatedBlockIdMaxCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdMaxEventIdxAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MAX_EVENT_IDX_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdMaxEventIdxDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MAX_EVENT_IDX_DESC', ConfidentialTransactionAffirmationsByUpdatedBlockIdMaxIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MAX_IDENTITY_ID_ASC', ConfidentialTransactionAffirmationsByUpdatedBlockIdMaxIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MAX_IDENTITY_ID_DESC', ConfidentialTransactionAffirmationsByUpdatedBlockIdMaxIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MAX_ID_ASC', @@ -40657,6 +40789,8 @@ export enum BlocksOrderBy { ConfidentialTransactionAffirmationsByUpdatedBlockIdMinCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_DESC', ConfidentialTransactionAffirmationsByUpdatedBlockIdMinCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', ConfidentialTransactionAffirmationsByUpdatedBlockIdMinCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdMinEventIdxAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MIN_EVENT_IDX_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdMinEventIdxDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MIN_EVENT_IDX_DESC', ConfidentialTransactionAffirmationsByUpdatedBlockIdMinIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MIN_IDENTITY_ID_ASC', ConfidentialTransactionAffirmationsByUpdatedBlockIdMinIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MIN_IDENTITY_ID_DESC', ConfidentialTransactionAffirmationsByUpdatedBlockIdMinIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MIN_ID_ASC', @@ -40681,6 +40815,8 @@ export enum BlocksOrderBy { ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevPopulationCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevPopulationCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevPopulationEventIdxAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevPopulationEventIdxDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_DESC', ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevPopulationIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_IDENTITY_ID_ASC', ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevPopulationIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_IDENTITY_ID_DESC', ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevPopulationIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', @@ -40705,6 +40841,8 @@ export enum BlocksOrderBy { ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevSampleCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevSampleCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevSampleEventIdxAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevSampleEventIdxDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevSampleIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_IDENTITY_ID_ASC', ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevSampleIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_IDENTITY_ID_DESC', ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevSampleIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', @@ -40729,6 +40867,8 @@ export enum BlocksOrderBy { ConfidentialTransactionAffirmationsByUpdatedBlockIdSumCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_DESC', ConfidentialTransactionAffirmationsByUpdatedBlockIdSumCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', ConfidentialTransactionAffirmationsByUpdatedBlockIdSumCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdSumEventIdxAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_SUM_EVENT_IDX_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdSumEventIdxDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_SUM_EVENT_IDX_DESC', ConfidentialTransactionAffirmationsByUpdatedBlockIdSumIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_SUM_IDENTITY_ID_ASC', ConfidentialTransactionAffirmationsByUpdatedBlockIdSumIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_SUM_IDENTITY_ID_DESC', ConfidentialTransactionAffirmationsByUpdatedBlockIdSumIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_SUM_ID_ASC', @@ -40753,6 +40893,8 @@ export enum BlocksOrderBy { ConfidentialTransactionAffirmationsByUpdatedBlockIdVariancePopulationCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', ConfidentialTransactionAffirmationsByUpdatedBlockIdVariancePopulationCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', ConfidentialTransactionAffirmationsByUpdatedBlockIdVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdVariancePopulationEventIdxAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdVariancePopulationEventIdxDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', ConfidentialTransactionAffirmationsByUpdatedBlockIdVariancePopulationIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_IDENTITY_ID_ASC', ConfidentialTransactionAffirmationsByUpdatedBlockIdVariancePopulationIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_IDENTITY_ID_DESC', ConfidentialTransactionAffirmationsByUpdatedBlockIdVariancePopulationIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', @@ -40777,6 +40919,8 @@ export enum BlocksOrderBy { ConfidentialTransactionAffirmationsByUpdatedBlockIdVarianceSampleCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', ConfidentialTransactionAffirmationsByUpdatedBlockIdVarianceSampleCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', ConfidentialTransactionAffirmationsByUpdatedBlockIdVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdVarianceSampleEventIdxAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', + ConfidentialTransactionAffirmationsByUpdatedBlockIdVarianceSampleEventIdxDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', ConfidentialTransactionAffirmationsByUpdatedBlockIdVarianceSampleIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_IDENTITY_ID_ASC', ConfidentialTransactionAffirmationsByUpdatedBlockIdVarianceSampleIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_IDENTITY_ID_DESC', ConfidentialTransactionAffirmationsByUpdatedBlockIdVarianceSampleIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', @@ -40801,6 +40945,8 @@ export enum BlocksOrderBy { ConfidentialVenuesByCreatedBlockIdAverageCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', ConfidentialVenuesByCreatedBlockIdAverageCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_AVERAGE_CREATOR_ID_ASC', ConfidentialVenuesByCreatedBlockIdAverageCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_AVERAGE_CREATOR_ID_DESC', + ConfidentialVenuesByCreatedBlockIdAverageEventIdxAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_IDX_ASC', + ConfidentialVenuesByCreatedBlockIdAverageEventIdxDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_IDX_DESC', ConfidentialVenuesByCreatedBlockIdAverageIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_AVERAGE_ID_ASC', ConfidentialVenuesByCreatedBlockIdAverageIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_AVERAGE_ID_DESC', ConfidentialVenuesByCreatedBlockIdAverageUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', @@ -40817,6 +40963,8 @@ export enum BlocksOrderBy { ConfidentialVenuesByCreatedBlockIdDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', ConfidentialVenuesByCreatedBlockIdDistinctCountCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATOR_ID_ASC', ConfidentialVenuesByCreatedBlockIdDistinctCountCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATOR_ID_DESC', + ConfidentialVenuesByCreatedBlockIdDistinctCountEventIdxAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_ASC', + ConfidentialVenuesByCreatedBlockIdDistinctCountEventIdxDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_DESC', ConfidentialVenuesByCreatedBlockIdDistinctCountIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', ConfidentialVenuesByCreatedBlockIdDistinctCountIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', ConfidentialVenuesByCreatedBlockIdDistinctCountUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', @@ -40831,6 +40979,8 @@ export enum BlocksOrderBy { ConfidentialVenuesByCreatedBlockIdMaxCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', ConfidentialVenuesByCreatedBlockIdMaxCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MAX_CREATOR_ID_ASC', ConfidentialVenuesByCreatedBlockIdMaxCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MAX_CREATOR_ID_DESC', + ConfidentialVenuesByCreatedBlockIdMaxEventIdxAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MAX_EVENT_IDX_ASC', + ConfidentialVenuesByCreatedBlockIdMaxEventIdxDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MAX_EVENT_IDX_DESC', ConfidentialVenuesByCreatedBlockIdMaxIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MAX_ID_ASC', ConfidentialVenuesByCreatedBlockIdMaxIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MAX_ID_DESC', ConfidentialVenuesByCreatedBlockIdMaxUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_ASC', @@ -40845,6 +40995,8 @@ export enum BlocksOrderBy { ConfidentialVenuesByCreatedBlockIdMinCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', ConfidentialVenuesByCreatedBlockIdMinCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MIN_CREATOR_ID_ASC', ConfidentialVenuesByCreatedBlockIdMinCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MIN_CREATOR_ID_DESC', + ConfidentialVenuesByCreatedBlockIdMinEventIdxAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MIN_EVENT_IDX_ASC', + ConfidentialVenuesByCreatedBlockIdMinEventIdxDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MIN_EVENT_IDX_DESC', ConfidentialVenuesByCreatedBlockIdMinIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MIN_ID_ASC', ConfidentialVenuesByCreatedBlockIdMinIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MIN_ID_DESC', ConfidentialVenuesByCreatedBlockIdMinUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_ASC', @@ -40859,6 +41011,8 @@ export enum BlocksOrderBy { ConfidentialVenuesByCreatedBlockIdStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', ConfidentialVenuesByCreatedBlockIdStddevPopulationCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATOR_ID_ASC', ConfidentialVenuesByCreatedBlockIdStddevPopulationCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATOR_ID_DESC', + ConfidentialVenuesByCreatedBlockIdStddevPopulationEventIdxAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_ASC', + ConfidentialVenuesByCreatedBlockIdStddevPopulationEventIdxDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_DESC', ConfidentialVenuesByCreatedBlockIdStddevPopulationIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', ConfidentialVenuesByCreatedBlockIdStddevPopulationIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', ConfidentialVenuesByCreatedBlockIdStddevPopulationUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', @@ -40873,6 +41027,8 @@ export enum BlocksOrderBy { ConfidentialVenuesByCreatedBlockIdStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', ConfidentialVenuesByCreatedBlockIdStddevSampleCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATOR_ID_ASC', ConfidentialVenuesByCreatedBlockIdStddevSampleCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATOR_ID_DESC', + ConfidentialVenuesByCreatedBlockIdStddevSampleEventIdxAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', + ConfidentialVenuesByCreatedBlockIdStddevSampleEventIdxDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', ConfidentialVenuesByCreatedBlockIdStddevSampleIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', ConfidentialVenuesByCreatedBlockIdStddevSampleIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', ConfidentialVenuesByCreatedBlockIdStddevSampleUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', @@ -40887,6 +41043,8 @@ export enum BlocksOrderBy { ConfidentialVenuesByCreatedBlockIdSumCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', ConfidentialVenuesByCreatedBlockIdSumCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_SUM_CREATOR_ID_ASC', ConfidentialVenuesByCreatedBlockIdSumCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_SUM_CREATOR_ID_DESC', + ConfidentialVenuesByCreatedBlockIdSumEventIdxAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_SUM_EVENT_IDX_ASC', + ConfidentialVenuesByCreatedBlockIdSumEventIdxDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_SUM_EVENT_IDX_DESC', ConfidentialVenuesByCreatedBlockIdSumIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_SUM_ID_ASC', ConfidentialVenuesByCreatedBlockIdSumIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_SUM_ID_DESC', ConfidentialVenuesByCreatedBlockIdSumUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_ASC', @@ -40901,6 +41059,8 @@ export enum BlocksOrderBy { ConfidentialVenuesByCreatedBlockIdVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', ConfidentialVenuesByCreatedBlockIdVariancePopulationCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATOR_ID_ASC', ConfidentialVenuesByCreatedBlockIdVariancePopulationCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATOR_ID_DESC', + ConfidentialVenuesByCreatedBlockIdVariancePopulationEventIdxAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', + ConfidentialVenuesByCreatedBlockIdVariancePopulationEventIdxDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', ConfidentialVenuesByCreatedBlockIdVariancePopulationIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', ConfidentialVenuesByCreatedBlockIdVariancePopulationIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', ConfidentialVenuesByCreatedBlockIdVariancePopulationUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', @@ -40915,6 +41075,8 @@ export enum BlocksOrderBy { ConfidentialVenuesByCreatedBlockIdVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', ConfidentialVenuesByCreatedBlockIdVarianceSampleCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATOR_ID_ASC', ConfidentialVenuesByCreatedBlockIdVarianceSampleCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATOR_ID_DESC', + ConfidentialVenuesByCreatedBlockIdVarianceSampleEventIdxAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', + ConfidentialVenuesByCreatedBlockIdVarianceSampleEventIdxDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', ConfidentialVenuesByCreatedBlockIdVarianceSampleIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', ConfidentialVenuesByCreatedBlockIdVarianceSampleIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', ConfidentialVenuesByCreatedBlockIdVarianceSampleUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', @@ -40929,6 +41091,8 @@ export enum BlocksOrderBy { ConfidentialVenuesByUpdatedBlockIdAverageCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', ConfidentialVenuesByUpdatedBlockIdAverageCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATOR_ID_ASC', ConfidentialVenuesByUpdatedBlockIdAverageCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATOR_ID_DESC', + ConfidentialVenuesByUpdatedBlockIdAverageEventIdxAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_IDX_ASC', + ConfidentialVenuesByUpdatedBlockIdAverageEventIdxDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_IDX_DESC', ConfidentialVenuesByUpdatedBlockIdAverageIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_ID_ASC', ConfidentialVenuesByUpdatedBlockIdAverageIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_ID_DESC', ConfidentialVenuesByUpdatedBlockIdAverageUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', @@ -40945,6 +41109,8 @@ export enum BlocksOrderBy { ConfidentialVenuesByUpdatedBlockIdDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', ConfidentialVenuesByUpdatedBlockIdDistinctCountCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATOR_ID_ASC', ConfidentialVenuesByUpdatedBlockIdDistinctCountCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATOR_ID_DESC', + ConfidentialVenuesByUpdatedBlockIdDistinctCountEventIdxAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_ASC', + ConfidentialVenuesByUpdatedBlockIdDistinctCountEventIdxDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_DESC', ConfidentialVenuesByUpdatedBlockIdDistinctCountIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', ConfidentialVenuesByUpdatedBlockIdDistinctCountIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', ConfidentialVenuesByUpdatedBlockIdDistinctCountUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', @@ -40959,6 +41125,8 @@ export enum BlocksOrderBy { ConfidentialVenuesByUpdatedBlockIdMaxCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', ConfidentialVenuesByUpdatedBlockIdMaxCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MAX_CREATOR_ID_ASC', ConfidentialVenuesByUpdatedBlockIdMaxCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MAX_CREATOR_ID_DESC', + ConfidentialVenuesByUpdatedBlockIdMaxEventIdxAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MAX_EVENT_IDX_ASC', + ConfidentialVenuesByUpdatedBlockIdMaxEventIdxDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MAX_EVENT_IDX_DESC', ConfidentialVenuesByUpdatedBlockIdMaxIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MAX_ID_ASC', ConfidentialVenuesByUpdatedBlockIdMaxIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MAX_ID_DESC', ConfidentialVenuesByUpdatedBlockIdMaxUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_ASC', @@ -40973,6 +41141,8 @@ export enum BlocksOrderBy { ConfidentialVenuesByUpdatedBlockIdMinCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', ConfidentialVenuesByUpdatedBlockIdMinCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MIN_CREATOR_ID_ASC', ConfidentialVenuesByUpdatedBlockIdMinCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MIN_CREATOR_ID_DESC', + ConfidentialVenuesByUpdatedBlockIdMinEventIdxAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MIN_EVENT_IDX_ASC', + ConfidentialVenuesByUpdatedBlockIdMinEventIdxDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MIN_EVENT_IDX_DESC', ConfidentialVenuesByUpdatedBlockIdMinIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MIN_ID_ASC', ConfidentialVenuesByUpdatedBlockIdMinIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MIN_ID_DESC', ConfidentialVenuesByUpdatedBlockIdMinUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_ASC', @@ -40987,6 +41157,8 @@ export enum BlocksOrderBy { ConfidentialVenuesByUpdatedBlockIdStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', ConfidentialVenuesByUpdatedBlockIdStddevPopulationCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATOR_ID_ASC', ConfidentialVenuesByUpdatedBlockIdStddevPopulationCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATOR_ID_DESC', + ConfidentialVenuesByUpdatedBlockIdStddevPopulationEventIdxAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_ASC', + ConfidentialVenuesByUpdatedBlockIdStddevPopulationEventIdxDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_DESC', ConfidentialVenuesByUpdatedBlockIdStddevPopulationIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', ConfidentialVenuesByUpdatedBlockIdStddevPopulationIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', ConfidentialVenuesByUpdatedBlockIdStddevPopulationUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', @@ -41001,6 +41173,8 @@ export enum BlocksOrderBy { ConfidentialVenuesByUpdatedBlockIdStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', ConfidentialVenuesByUpdatedBlockIdStddevSampleCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATOR_ID_ASC', ConfidentialVenuesByUpdatedBlockIdStddevSampleCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATOR_ID_DESC', + ConfidentialVenuesByUpdatedBlockIdStddevSampleEventIdxAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', + ConfidentialVenuesByUpdatedBlockIdStddevSampleEventIdxDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', ConfidentialVenuesByUpdatedBlockIdStddevSampleIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', ConfidentialVenuesByUpdatedBlockIdStddevSampleIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', ConfidentialVenuesByUpdatedBlockIdStddevSampleUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', @@ -41015,6 +41189,8 @@ export enum BlocksOrderBy { ConfidentialVenuesByUpdatedBlockIdSumCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', ConfidentialVenuesByUpdatedBlockIdSumCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_SUM_CREATOR_ID_ASC', ConfidentialVenuesByUpdatedBlockIdSumCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_SUM_CREATOR_ID_DESC', + ConfidentialVenuesByUpdatedBlockIdSumEventIdxAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_SUM_EVENT_IDX_ASC', + ConfidentialVenuesByUpdatedBlockIdSumEventIdxDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_SUM_EVENT_IDX_DESC', ConfidentialVenuesByUpdatedBlockIdSumIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_SUM_ID_ASC', ConfidentialVenuesByUpdatedBlockIdSumIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_SUM_ID_DESC', ConfidentialVenuesByUpdatedBlockIdSumUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_ASC', @@ -41029,6 +41205,8 @@ export enum BlocksOrderBy { ConfidentialVenuesByUpdatedBlockIdVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', ConfidentialVenuesByUpdatedBlockIdVariancePopulationCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATOR_ID_ASC', ConfidentialVenuesByUpdatedBlockIdVariancePopulationCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATOR_ID_DESC', + ConfidentialVenuesByUpdatedBlockIdVariancePopulationEventIdxAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', + ConfidentialVenuesByUpdatedBlockIdVariancePopulationEventIdxDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', ConfidentialVenuesByUpdatedBlockIdVariancePopulationIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', ConfidentialVenuesByUpdatedBlockIdVariancePopulationIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', ConfidentialVenuesByUpdatedBlockIdVariancePopulationUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', @@ -41043,6 +41221,8 @@ export enum BlocksOrderBy { ConfidentialVenuesByUpdatedBlockIdVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', ConfidentialVenuesByUpdatedBlockIdVarianceSampleCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATOR_ID_ASC', ConfidentialVenuesByUpdatedBlockIdVarianceSampleCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATOR_ID_DESC', + ConfidentialVenuesByUpdatedBlockIdVarianceSampleEventIdxAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', + ConfidentialVenuesByUpdatedBlockIdVarianceSampleEventIdxDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', ConfidentialVenuesByUpdatedBlockIdVarianceSampleIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', ConfidentialVenuesByUpdatedBlockIdVarianceSampleIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', ConfidentialVenuesByUpdatedBlockIdVarianceSampleUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', @@ -56859,6 +57039,7 @@ export type ConfidentialAccount = Node & { /** Reads a single `Identity` that is related to this `ConfidentialAccount`. */ creator?: Maybe; creatorId: Scalars['String']['output']; + eventIdx: Scalars['Int']['output']; id: Scalars['String']['output']; /** Reads and enables pagination through a set of `Identity`. */ identitiesByConfidentialTransactionAffirmationAccountIdAndIdentityId: ConfidentialAccountIdentitiesByConfidentialTransactionAffirmationAccountIdAndIdentityIdManyToManyConnection; @@ -57253,17 +57434,59 @@ export type ConfidentialAccountIdentitiesByConfidentialTransactionAffirmationAcc export type ConfidentialAccountAggregates = { __typename?: 'ConfidentialAccountAggregates'; + /** Mean average aggregates across the matching connection (ignoring before/after/first/last/offset) */ + average?: Maybe; /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ distinctCount?: Maybe; keys?: Maybe>; + /** Maximum aggregates across the matching connection (ignoring before/after/first/last/offset) */ + max?: Maybe; + /** Minimum aggregates across the matching connection (ignoring before/after/first/last/offset) */ + min?: Maybe; + /** Population standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ + stddevPopulation?: Maybe; + /** Sample standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ + stddevSample?: Maybe; + /** Sum aggregates across the matching connection (ignoring before/after/first/last/offset) */ + sum?: Maybe; + /** Population variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ + variancePopulation?: Maybe; + /** Sample variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ + varianceSample?: Maybe; }; /** A filter to be used against aggregates of `ConfidentialAccount` object types. */ export type ConfidentialAccountAggregatesFilter = { + /** Mean average aggregate over matching `ConfidentialAccount` objects. */ + average?: InputMaybe; /** Distinct count aggregate over matching `ConfidentialAccount` objects. */ distinctCount?: InputMaybe; /** A filter that must pass for the relevant `ConfidentialAccount` object to be included within the aggregate. */ filter?: InputMaybe; + /** Maximum aggregate over matching `ConfidentialAccount` objects. */ + max?: InputMaybe; + /** Minimum aggregate over matching `ConfidentialAccount` objects. */ + min?: InputMaybe; + /** Population standard deviation aggregate over matching `ConfidentialAccount` objects. */ + stddevPopulation?: InputMaybe; + /** Sample standard deviation aggregate over matching `ConfidentialAccount` objects. */ + stddevSample?: InputMaybe; + /** Sum aggregate over matching `ConfidentialAccount` objects. */ + sum?: InputMaybe; + /** Population variance aggregate over matching `ConfidentialAccount` objects. */ + variancePopulation?: InputMaybe; + /** Sample variance aggregate over matching `ConfidentialAccount` objects. */ + varianceSample?: InputMaybe; +}; + +export type ConfidentialAccountAverageAggregateFilter = { + eventIdx?: InputMaybe; +}; + +export type ConfidentialAccountAverageAggregates = { + __typename?: 'ConfidentialAccountAverageAggregates'; + /** Mean average of eventIdx across the matching connection */ + eventIdx?: Maybe; }; /** A connection to a list of `Block` values, with data from `ConfidentialAssetHistory`. */ @@ -58467,6 +58690,7 @@ export type ConfidentialAccountDistinctCountAggregateFilter = { createdAt?: InputMaybe; createdBlockId?: InputMaybe; creatorId?: InputMaybe; + eventIdx?: InputMaybe; id?: InputMaybe; updatedAt?: InputMaybe; updatedBlockId?: InputMaybe; @@ -58482,6 +58706,8 @@ export type ConfidentialAccountDistinctCountAggregates = { createdBlockId?: Maybe; /** Distinct count of creatorId across the matching connection */ creatorId?: Maybe; + /** Distinct count of eventIdx across the matching connection */ + eventIdx?: Maybe; /** Distinct count of id across the matching connection */ id?: Maybe; /** Distinct count of updatedAt across the matching connection */ @@ -58530,6 +58756,8 @@ export type ConfidentialAccountFilter = { creator?: InputMaybe; /** Filter by the object’s `creatorId` field. */ creatorId?: InputMaybe; + /** Filter by the object’s `eventIdx` field. */ + eventIdx?: InputMaybe; /** Filter by the object’s `id` field. */ id?: InputMaybe; /** Negates the expression. */ @@ -58594,6 +58822,56 @@ export type ConfidentialAccountIdentitiesByConfidentialTransactionAffirmationAcc orderBy?: InputMaybe>; }; +export type ConfidentialAccountMaxAggregateFilter = { + eventIdx?: InputMaybe; +}; + +export type ConfidentialAccountMaxAggregates = { + __typename?: 'ConfidentialAccountMaxAggregates'; + /** Maximum of eventIdx across the matching connection */ + eventIdx?: Maybe; +}; + +export type ConfidentialAccountMinAggregateFilter = { + eventIdx?: InputMaybe; +}; + +export type ConfidentialAccountMinAggregates = { + __typename?: 'ConfidentialAccountMinAggregates'; + /** Minimum of eventIdx across the matching connection */ + eventIdx?: Maybe; +}; + +export type ConfidentialAccountStddevPopulationAggregateFilter = { + eventIdx?: InputMaybe; +}; + +export type ConfidentialAccountStddevPopulationAggregates = { + __typename?: 'ConfidentialAccountStddevPopulationAggregates'; + /** Population standard deviation of eventIdx across the matching connection */ + eventIdx?: Maybe; +}; + +export type ConfidentialAccountStddevSampleAggregateFilter = { + eventIdx?: InputMaybe; +}; + +export type ConfidentialAccountStddevSampleAggregates = { + __typename?: 'ConfidentialAccountStddevSampleAggregates'; + /** Sample standard deviation of eventIdx across the matching connection */ + eventIdx?: Maybe; +}; + +export type ConfidentialAccountSumAggregateFilter = { + eventIdx?: InputMaybe; +}; + +export type ConfidentialAccountSumAggregates = { + __typename?: 'ConfidentialAccountSumAggregates'; + /** Sum of eventIdx across the matching connection */ + eventIdx: Scalars['BigInt']['output']; +}; + /** A filter to be used against many `ConfidentialAssetHistory` object types. All fields are combined with a logical ‘and.’ */ export type ConfidentialAccountToManyConfidentialAssetHistoryFilter = { /** Aggregates across related `ConfidentialAssetHistory` match the filter criteria. */ @@ -58642,6 +58920,26 @@ export type ConfidentialAccountToManyConfidentialTransactionAffirmationFilter = some?: InputMaybe; }; +export type ConfidentialAccountVariancePopulationAggregateFilter = { + eventIdx?: InputMaybe; +}; + +export type ConfidentialAccountVariancePopulationAggregates = { + __typename?: 'ConfidentialAccountVariancePopulationAggregates'; + /** Population variance of eventIdx across the matching connection */ + eventIdx?: Maybe; +}; + +export type ConfidentialAccountVarianceSampleAggregateFilter = { + eventIdx?: InputMaybe; +}; + +export type ConfidentialAccountVarianceSampleAggregates = { + __typename?: 'ConfidentialAccountVarianceSampleAggregates'; + /** Sample variance of eventIdx across the matching connection */ + eventIdx?: Maybe; +}; + /** A connection to a list of `ConfidentialAccount` values. */ export type ConfidentialAccountsConnection = { __typename?: 'ConfidentialAccountsConnection'; @@ -58682,6 +58980,7 @@ export enum ConfidentialAccountsGroupBy { CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', CreatedBlockId = 'CREATED_BLOCK_ID', CreatorId = 'CREATOR_ID', + EventIdx = 'EVENT_IDX', UpdatedAt = 'UPDATED_AT', UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', @@ -58690,11 +58989,13 @@ export enum ConfidentialAccountsGroupBy { export type ConfidentialAccountsHavingAverageInput = { createdAt?: InputMaybe; + eventIdx?: InputMaybe; updatedAt?: InputMaybe; }; export type ConfidentialAccountsHavingDistinctCountInput = { createdAt?: InputMaybe; + eventIdx?: InputMaybe; updatedAt?: InputMaybe; }; @@ -58715,36 +59016,43 @@ export type ConfidentialAccountsHavingInput = { export type ConfidentialAccountsHavingMaxInput = { createdAt?: InputMaybe; + eventIdx?: InputMaybe; updatedAt?: InputMaybe; }; export type ConfidentialAccountsHavingMinInput = { createdAt?: InputMaybe; + eventIdx?: InputMaybe; updatedAt?: InputMaybe; }; export type ConfidentialAccountsHavingStddevPopulationInput = { createdAt?: InputMaybe; + eventIdx?: InputMaybe; updatedAt?: InputMaybe; }; export type ConfidentialAccountsHavingStddevSampleInput = { createdAt?: InputMaybe; + eventIdx?: InputMaybe; updatedAt?: InputMaybe; }; export type ConfidentialAccountsHavingSumInput = { createdAt?: InputMaybe; + eventIdx?: InputMaybe; updatedAt?: InputMaybe; }; export type ConfidentialAccountsHavingVariancePopulationInput = { createdAt?: InputMaybe; + eventIdx?: InputMaybe; updatedAt?: InputMaybe; }; export type ConfidentialAccountsHavingVarianceSampleInput = { createdAt?: InputMaybe; + eventIdx?: InputMaybe; updatedAt?: InputMaybe; }; @@ -59306,6 +59614,8 @@ export enum ConfidentialAccountsOrderBy { ConfidentialAssetHoldersByAccountIdAverageCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_AVERAGE_CREATED_AT_DESC', ConfidentialAssetHoldersByAccountIdAverageCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_AVERAGE_CREATED_BLOCK_ID_ASC', ConfidentialAssetHoldersByAccountIdAverageCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_AVERAGE_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByAccountIdAverageEventIdxAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_AVERAGE_EVENT_IDX_ASC', + ConfidentialAssetHoldersByAccountIdAverageEventIdxDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_AVERAGE_EVENT_IDX_DESC', ConfidentialAssetHoldersByAccountIdAverageIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_AVERAGE_ID_ASC', ConfidentialAssetHoldersByAccountIdAverageIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_AVERAGE_ID_DESC', ConfidentialAssetHoldersByAccountIdAverageUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_AVERAGE_UPDATED_AT_ASC', @@ -59324,6 +59634,8 @@ export enum ConfidentialAccountsOrderBy { ConfidentialAssetHoldersByAccountIdDistinctCountCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_DISTINCT_COUNT_CREATED_AT_DESC', ConfidentialAssetHoldersByAccountIdDistinctCountCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', ConfidentialAssetHoldersByAccountIdDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByAccountIdDistinctCountEventIdxAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_DISTINCT_COUNT_EVENT_IDX_ASC', + ConfidentialAssetHoldersByAccountIdDistinctCountEventIdxDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_DISTINCT_COUNT_EVENT_IDX_DESC', ConfidentialAssetHoldersByAccountIdDistinctCountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_DISTINCT_COUNT_ID_ASC', ConfidentialAssetHoldersByAccountIdDistinctCountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_DISTINCT_COUNT_ID_DESC', ConfidentialAssetHoldersByAccountIdDistinctCountUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_DISTINCT_COUNT_UPDATED_AT_ASC', @@ -59340,6 +59652,8 @@ export enum ConfidentialAccountsOrderBy { ConfidentialAssetHoldersByAccountIdMaxCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MAX_CREATED_AT_DESC', ConfidentialAssetHoldersByAccountIdMaxCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MAX_CREATED_BLOCK_ID_ASC', ConfidentialAssetHoldersByAccountIdMaxCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MAX_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByAccountIdMaxEventIdxAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MAX_EVENT_IDX_ASC', + ConfidentialAssetHoldersByAccountIdMaxEventIdxDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MAX_EVENT_IDX_DESC', ConfidentialAssetHoldersByAccountIdMaxIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MAX_ID_ASC', ConfidentialAssetHoldersByAccountIdMaxIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MAX_ID_DESC', ConfidentialAssetHoldersByAccountIdMaxUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MAX_UPDATED_AT_ASC', @@ -59356,6 +59670,8 @@ export enum ConfidentialAccountsOrderBy { ConfidentialAssetHoldersByAccountIdMinCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MIN_CREATED_AT_DESC', ConfidentialAssetHoldersByAccountIdMinCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MIN_CREATED_BLOCK_ID_ASC', ConfidentialAssetHoldersByAccountIdMinCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MIN_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByAccountIdMinEventIdxAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MIN_EVENT_IDX_ASC', + ConfidentialAssetHoldersByAccountIdMinEventIdxDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MIN_EVENT_IDX_DESC', ConfidentialAssetHoldersByAccountIdMinIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MIN_ID_ASC', ConfidentialAssetHoldersByAccountIdMinIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MIN_ID_DESC', ConfidentialAssetHoldersByAccountIdMinUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MIN_UPDATED_AT_ASC', @@ -59372,6 +59688,8 @@ export enum ConfidentialAccountsOrderBy { ConfidentialAssetHoldersByAccountIdStddevPopulationCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_POPULATION_CREATED_AT_DESC', ConfidentialAssetHoldersByAccountIdStddevPopulationCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', ConfidentialAssetHoldersByAccountIdStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByAccountIdStddevPopulationEventIdxAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_POPULATION_EVENT_IDX_ASC', + ConfidentialAssetHoldersByAccountIdStddevPopulationEventIdxDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_POPULATION_EVENT_IDX_DESC', ConfidentialAssetHoldersByAccountIdStddevPopulationIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_POPULATION_ID_ASC', ConfidentialAssetHoldersByAccountIdStddevPopulationIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_POPULATION_ID_DESC', ConfidentialAssetHoldersByAccountIdStddevPopulationUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_POPULATION_UPDATED_AT_ASC', @@ -59388,6 +59706,8 @@ export enum ConfidentialAccountsOrderBy { ConfidentialAssetHoldersByAccountIdStddevSampleCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_SAMPLE_CREATED_AT_DESC', ConfidentialAssetHoldersByAccountIdStddevSampleCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', ConfidentialAssetHoldersByAccountIdStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByAccountIdStddevSampleEventIdxAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', + ConfidentialAssetHoldersByAccountIdStddevSampleEventIdxDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', ConfidentialAssetHoldersByAccountIdStddevSampleIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_SAMPLE_ID_ASC', ConfidentialAssetHoldersByAccountIdStddevSampleIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_SAMPLE_ID_DESC', ConfidentialAssetHoldersByAccountIdStddevSampleUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', @@ -59404,6 +59724,8 @@ export enum ConfidentialAccountsOrderBy { ConfidentialAssetHoldersByAccountIdSumCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_SUM_CREATED_AT_DESC', ConfidentialAssetHoldersByAccountIdSumCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_SUM_CREATED_BLOCK_ID_ASC', ConfidentialAssetHoldersByAccountIdSumCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_SUM_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByAccountIdSumEventIdxAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_SUM_EVENT_IDX_ASC', + ConfidentialAssetHoldersByAccountIdSumEventIdxDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_SUM_EVENT_IDX_DESC', ConfidentialAssetHoldersByAccountIdSumIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_SUM_ID_ASC', ConfidentialAssetHoldersByAccountIdSumIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_SUM_ID_DESC', ConfidentialAssetHoldersByAccountIdSumUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_SUM_UPDATED_AT_ASC', @@ -59420,6 +59742,8 @@ export enum ConfidentialAccountsOrderBy { ConfidentialAssetHoldersByAccountIdVariancePopulationCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_POPULATION_CREATED_AT_DESC', ConfidentialAssetHoldersByAccountIdVariancePopulationCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', ConfidentialAssetHoldersByAccountIdVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByAccountIdVariancePopulationEventIdxAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', + ConfidentialAssetHoldersByAccountIdVariancePopulationEventIdxDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', ConfidentialAssetHoldersByAccountIdVariancePopulationIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_POPULATION_ID_ASC', ConfidentialAssetHoldersByAccountIdVariancePopulationIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_POPULATION_ID_DESC', ConfidentialAssetHoldersByAccountIdVariancePopulationUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', @@ -59436,6 +59760,8 @@ export enum ConfidentialAccountsOrderBy { ConfidentialAssetHoldersByAccountIdVarianceSampleCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', ConfidentialAssetHoldersByAccountIdVarianceSampleCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', ConfidentialAssetHoldersByAccountIdVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByAccountIdVarianceSampleEventIdxAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', + ConfidentialAssetHoldersByAccountIdVarianceSampleEventIdxDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', ConfidentialAssetHoldersByAccountIdVarianceSampleIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_ID_ASC', ConfidentialAssetHoldersByAccountIdVarianceSampleIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_ID_DESC', ConfidentialAssetHoldersByAccountIdVarianceSampleUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', @@ -59812,6 +60138,8 @@ export enum ConfidentialAccountsOrderBy { ConfidentialTransactionAffirmationsByAccountIdAverageCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_AVERAGE_CREATED_AT_DESC', ConfidentialTransactionAffirmationsByAccountIdAverageCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_AVERAGE_CREATED_BLOCK_ID_ASC', ConfidentialTransactionAffirmationsByAccountIdAverageCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_AVERAGE_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByAccountIdAverageEventIdxAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_AVERAGE_EVENT_IDX_ASC', + ConfidentialTransactionAffirmationsByAccountIdAverageEventIdxDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_AVERAGE_EVENT_IDX_DESC', ConfidentialTransactionAffirmationsByAccountIdAverageIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_AVERAGE_IDENTITY_ID_ASC', ConfidentialTransactionAffirmationsByAccountIdAverageIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_AVERAGE_IDENTITY_ID_DESC', ConfidentialTransactionAffirmationsByAccountIdAverageIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_AVERAGE_ID_ASC', @@ -59838,6 +60166,8 @@ export enum ConfidentialAccountsOrderBy { ConfidentialTransactionAffirmationsByAccountIdDistinctCountCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_DISTINCT_COUNT_CREATED_AT_DESC', ConfidentialTransactionAffirmationsByAccountIdDistinctCountCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', ConfidentialTransactionAffirmationsByAccountIdDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByAccountIdDistinctCountEventIdxAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_DISTINCT_COUNT_EVENT_IDX_ASC', + ConfidentialTransactionAffirmationsByAccountIdDistinctCountEventIdxDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_DISTINCT_COUNT_EVENT_IDX_DESC', ConfidentialTransactionAffirmationsByAccountIdDistinctCountIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_DISTINCT_COUNT_IDENTITY_ID_ASC', ConfidentialTransactionAffirmationsByAccountIdDistinctCountIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_DISTINCT_COUNT_IDENTITY_ID_DESC', ConfidentialTransactionAffirmationsByAccountIdDistinctCountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_DISTINCT_COUNT_ID_ASC', @@ -59862,6 +60192,8 @@ export enum ConfidentialAccountsOrderBy { ConfidentialTransactionAffirmationsByAccountIdMaxCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MAX_CREATED_AT_DESC', ConfidentialTransactionAffirmationsByAccountIdMaxCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MAX_CREATED_BLOCK_ID_ASC', ConfidentialTransactionAffirmationsByAccountIdMaxCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MAX_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByAccountIdMaxEventIdxAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MAX_EVENT_IDX_ASC', + ConfidentialTransactionAffirmationsByAccountIdMaxEventIdxDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MAX_EVENT_IDX_DESC', ConfidentialTransactionAffirmationsByAccountIdMaxIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MAX_IDENTITY_ID_ASC', ConfidentialTransactionAffirmationsByAccountIdMaxIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MAX_IDENTITY_ID_DESC', ConfidentialTransactionAffirmationsByAccountIdMaxIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MAX_ID_ASC', @@ -59886,6 +60218,8 @@ export enum ConfidentialAccountsOrderBy { ConfidentialTransactionAffirmationsByAccountIdMinCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MIN_CREATED_AT_DESC', ConfidentialTransactionAffirmationsByAccountIdMinCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MIN_CREATED_BLOCK_ID_ASC', ConfidentialTransactionAffirmationsByAccountIdMinCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MIN_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByAccountIdMinEventIdxAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MIN_EVENT_IDX_ASC', + ConfidentialTransactionAffirmationsByAccountIdMinEventIdxDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MIN_EVENT_IDX_DESC', ConfidentialTransactionAffirmationsByAccountIdMinIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MIN_IDENTITY_ID_ASC', ConfidentialTransactionAffirmationsByAccountIdMinIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MIN_IDENTITY_ID_DESC', ConfidentialTransactionAffirmationsByAccountIdMinIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MIN_ID_ASC', @@ -59910,6 +60244,8 @@ export enum ConfidentialAccountsOrderBy { ConfidentialTransactionAffirmationsByAccountIdStddevPopulationCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_POPULATION_CREATED_AT_DESC', ConfidentialTransactionAffirmationsByAccountIdStddevPopulationCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', ConfidentialTransactionAffirmationsByAccountIdStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByAccountIdStddevPopulationEventIdxAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_POPULATION_EVENT_IDX_ASC', + ConfidentialTransactionAffirmationsByAccountIdStddevPopulationEventIdxDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_POPULATION_EVENT_IDX_DESC', ConfidentialTransactionAffirmationsByAccountIdStddevPopulationIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_POPULATION_IDENTITY_ID_ASC', ConfidentialTransactionAffirmationsByAccountIdStddevPopulationIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_POPULATION_IDENTITY_ID_DESC', ConfidentialTransactionAffirmationsByAccountIdStddevPopulationIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_POPULATION_ID_ASC', @@ -59934,6 +60270,8 @@ export enum ConfidentialAccountsOrderBy { ConfidentialTransactionAffirmationsByAccountIdStddevSampleCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_SAMPLE_CREATED_AT_DESC', ConfidentialTransactionAffirmationsByAccountIdStddevSampleCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', ConfidentialTransactionAffirmationsByAccountIdStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByAccountIdStddevSampleEventIdxAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', + ConfidentialTransactionAffirmationsByAccountIdStddevSampleEventIdxDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', ConfidentialTransactionAffirmationsByAccountIdStddevSampleIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_SAMPLE_IDENTITY_ID_ASC', ConfidentialTransactionAffirmationsByAccountIdStddevSampleIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_SAMPLE_IDENTITY_ID_DESC', ConfidentialTransactionAffirmationsByAccountIdStddevSampleIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_SAMPLE_ID_ASC', @@ -59958,6 +60296,8 @@ export enum ConfidentialAccountsOrderBy { ConfidentialTransactionAffirmationsByAccountIdSumCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_SUM_CREATED_AT_DESC', ConfidentialTransactionAffirmationsByAccountIdSumCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_SUM_CREATED_BLOCK_ID_ASC', ConfidentialTransactionAffirmationsByAccountIdSumCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_SUM_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByAccountIdSumEventIdxAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_SUM_EVENT_IDX_ASC', + ConfidentialTransactionAffirmationsByAccountIdSumEventIdxDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_SUM_EVENT_IDX_DESC', ConfidentialTransactionAffirmationsByAccountIdSumIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_SUM_IDENTITY_ID_ASC', ConfidentialTransactionAffirmationsByAccountIdSumIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_SUM_IDENTITY_ID_DESC', ConfidentialTransactionAffirmationsByAccountIdSumIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_SUM_ID_ASC', @@ -59982,6 +60322,8 @@ export enum ConfidentialAccountsOrderBy { ConfidentialTransactionAffirmationsByAccountIdVariancePopulationCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_POPULATION_CREATED_AT_DESC', ConfidentialTransactionAffirmationsByAccountIdVariancePopulationCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', ConfidentialTransactionAffirmationsByAccountIdVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByAccountIdVariancePopulationEventIdxAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', + ConfidentialTransactionAffirmationsByAccountIdVariancePopulationEventIdxDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', ConfidentialTransactionAffirmationsByAccountIdVariancePopulationIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_POPULATION_IDENTITY_ID_ASC', ConfidentialTransactionAffirmationsByAccountIdVariancePopulationIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_POPULATION_IDENTITY_ID_DESC', ConfidentialTransactionAffirmationsByAccountIdVariancePopulationIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_POPULATION_ID_ASC', @@ -60006,6 +60348,8 @@ export enum ConfidentialAccountsOrderBy { ConfidentialTransactionAffirmationsByAccountIdVarianceSampleCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', ConfidentialTransactionAffirmationsByAccountIdVarianceSampleCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', ConfidentialTransactionAffirmationsByAccountIdVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsByAccountIdVarianceSampleEventIdxAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', + ConfidentialTransactionAffirmationsByAccountIdVarianceSampleEventIdxDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', ConfidentialTransactionAffirmationsByAccountIdVarianceSampleIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_IDENTITY_ID_ASC', ConfidentialTransactionAffirmationsByAccountIdVarianceSampleIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_IDENTITY_ID_DESC', ConfidentialTransactionAffirmationsByAccountIdVarianceSampleIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_ID_ASC', @@ -60030,6 +60374,8 @@ export enum ConfidentialAccountsOrderBy { CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', CreatorIdAsc = 'CREATOR_ID_ASC', CreatorIdDesc = 'CREATOR_ID_DESC', + EventIdxAsc = 'EVENT_IDX_ASC', + EventIdxDesc = 'EVENT_IDX_DESC', IdAsc = 'ID_ASC', IdDesc = 'ID_DESC', Natural = 'NATURAL', @@ -60075,6 +60421,7 @@ export type ConfidentialAsset = Node & { creator?: Maybe; creatorId: Scalars['String']['output']; data?: Maybe; + eventIdx: Scalars['Int']['output']; id: Scalars['String']['output']; mediators?: Maybe; /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ @@ -60258,11 +60605,14 @@ export type ConfidentialAssetAggregatesFilter = { }; export type ConfidentialAssetAverageAggregateFilter = { + eventIdx?: InputMaybe; totalSupply?: InputMaybe; }; export type ConfidentialAssetAverageAggregates = { __typename?: 'ConfidentialAssetAverageAggregates'; + /** Mean average of eventIdx across the matching connection */ + eventIdx?: Maybe; /** Mean average of totalSupply across the matching connection */ totalSupply?: Maybe; }; @@ -60675,6 +61025,7 @@ export type ConfidentialAssetDistinctCountAggregateFilter = { createdBlockId?: InputMaybe; creatorId?: InputMaybe; data?: InputMaybe; + eventIdx?: InputMaybe; id?: InputMaybe; mediators?: InputMaybe; ticker?: InputMaybe; @@ -60700,6 +61051,8 @@ export type ConfidentialAssetDistinctCountAggregates = { creatorId?: Maybe; /** Distinct count of data across the matching connection */ data?: Maybe; + /** Distinct count of eventIdx across the matching connection */ + eventIdx?: Maybe; /** Distinct count of id across the matching connection */ id?: Maybe; /** Distinct count of mediators across the matching connection */ @@ -60746,6 +61099,8 @@ export type ConfidentialAssetFilter = { creatorId?: InputMaybe; /** Filter by the object’s `data` field. */ data?: InputMaybe; + /** Filter by the object’s `eventIdx` field. */ + eventIdx?: InputMaybe; /** Filter by the object’s `id` field. */ id?: InputMaybe; /** Filter by the object’s `mediators` field. */ @@ -61258,6 +61613,7 @@ export type ConfidentialAssetHolder = Node & { /** Reads a single `Block` that is related to this `ConfidentialAssetHolder`. */ createdBlock?: Maybe; createdBlockId: Scalars['String']['output']; + eventIdx: Scalars['Int']['output']; id: Scalars['String']['output']; /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ nodeId: Scalars['ID']['output']; @@ -61269,17 +61625,59 @@ export type ConfidentialAssetHolder = Node & { export type ConfidentialAssetHolderAggregates = { __typename?: 'ConfidentialAssetHolderAggregates'; + /** Mean average aggregates across the matching connection (ignoring before/after/first/last/offset) */ + average?: Maybe; /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ distinctCount?: Maybe; keys?: Maybe>; + /** Maximum aggregates across the matching connection (ignoring before/after/first/last/offset) */ + max?: Maybe; + /** Minimum aggregates across the matching connection (ignoring before/after/first/last/offset) */ + min?: Maybe; + /** Population standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ + stddevPopulation?: Maybe; + /** Sample standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ + stddevSample?: Maybe; + /** Sum aggregates across the matching connection (ignoring before/after/first/last/offset) */ + sum?: Maybe; + /** Population variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ + variancePopulation?: Maybe; + /** Sample variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ + varianceSample?: Maybe; }; /** A filter to be used against aggregates of `ConfidentialAssetHolder` object types. */ export type ConfidentialAssetHolderAggregatesFilter = { + /** Mean average aggregate over matching `ConfidentialAssetHolder` objects. */ + average?: InputMaybe; /** Distinct count aggregate over matching `ConfidentialAssetHolder` objects. */ distinctCount?: InputMaybe; /** A filter that must pass for the relevant `ConfidentialAssetHolder` object to be included within the aggregate. */ filter?: InputMaybe; + /** Maximum aggregate over matching `ConfidentialAssetHolder` objects. */ + max?: InputMaybe; + /** Minimum aggregate over matching `ConfidentialAssetHolder` objects. */ + min?: InputMaybe; + /** Population standard deviation aggregate over matching `ConfidentialAssetHolder` objects. */ + stddevPopulation?: InputMaybe; + /** Sample standard deviation aggregate over matching `ConfidentialAssetHolder` objects. */ + stddevSample?: InputMaybe; + /** Sum aggregate over matching `ConfidentialAssetHolder` objects. */ + sum?: InputMaybe; + /** Population variance aggregate over matching `ConfidentialAssetHolder` objects. */ + variancePopulation?: InputMaybe; + /** Sample variance aggregate over matching `ConfidentialAssetHolder` objects. */ + varianceSample?: InputMaybe; +}; + +export type ConfidentialAssetHolderAverageAggregateFilter = { + eventIdx?: InputMaybe; +}; + +export type ConfidentialAssetHolderAverageAggregates = { + __typename?: 'ConfidentialAssetHolderAverageAggregates'; + /** Mean average of eventIdx across the matching connection */ + eventIdx?: Maybe; }; export type ConfidentialAssetHolderDistinctCountAggregateFilter = { @@ -61288,6 +61686,7 @@ export type ConfidentialAssetHolderDistinctCountAggregateFilter = { assetId?: InputMaybe; createdAt?: InputMaybe; createdBlockId?: InputMaybe; + eventIdx?: InputMaybe; id?: InputMaybe; updatedAt?: InputMaybe; updatedBlockId?: InputMaybe; @@ -61305,6 +61704,8 @@ export type ConfidentialAssetHolderDistinctCountAggregates = { createdAt?: Maybe; /** Distinct count of createdBlockId across the matching connection */ createdBlockId?: Maybe; + /** Distinct count of eventIdx across the matching connection */ + eventIdx?: Maybe; /** Distinct count of id across the matching connection */ id?: Maybe; /** Distinct count of updatedAt across the matching connection */ @@ -61333,6 +61734,8 @@ export type ConfidentialAssetHolderFilter = { createdBlock?: InputMaybe; /** Filter by the object’s `createdBlockId` field. */ createdBlockId?: InputMaybe; + /** Filter by the object’s `eventIdx` field. */ + eventIdx?: InputMaybe; /** Filter by the object’s `id` field. */ id?: InputMaybe; /** Negates the expression. */ @@ -61347,6 +61750,76 @@ export type ConfidentialAssetHolderFilter = { updatedBlockId?: InputMaybe; }; +export type ConfidentialAssetHolderMaxAggregateFilter = { + eventIdx?: InputMaybe; +}; + +export type ConfidentialAssetHolderMaxAggregates = { + __typename?: 'ConfidentialAssetHolderMaxAggregates'; + /** Maximum of eventIdx across the matching connection */ + eventIdx?: Maybe; +}; + +export type ConfidentialAssetHolderMinAggregateFilter = { + eventIdx?: InputMaybe; +}; + +export type ConfidentialAssetHolderMinAggregates = { + __typename?: 'ConfidentialAssetHolderMinAggregates'; + /** Minimum of eventIdx across the matching connection */ + eventIdx?: Maybe; +}; + +export type ConfidentialAssetHolderStddevPopulationAggregateFilter = { + eventIdx?: InputMaybe; +}; + +export type ConfidentialAssetHolderStddevPopulationAggregates = { + __typename?: 'ConfidentialAssetHolderStddevPopulationAggregates'; + /** Population standard deviation of eventIdx across the matching connection */ + eventIdx?: Maybe; +}; + +export type ConfidentialAssetHolderStddevSampleAggregateFilter = { + eventIdx?: InputMaybe; +}; + +export type ConfidentialAssetHolderStddevSampleAggregates = { + __typename?: 'ConfidentialAssetHolderStddevSampleAggregates'; + /** Sample standard deviation of eventIdx across the matching connection */ + eventIdx?: Maybe; +}; + +export type ConfidentialAssetHolderSumAggregateFilter = { + eventIdx?: InputMaybe; +}; + +export type ConfidentialAssetHolderSumAggregates = { + __typename?: 'ConfidentialAssetHolderSumAggregates'; + /** Sum of eventIdx across the matching connection */ + eventIdx: Scalars['BigInt']['output']; +}; + +export type ConfidentialAssetHolderVariancePopulationAggregateFilter = { + eventIdx?: InputMaybe; +}; + +export type ConfidentialAssetHolderVariancePopulationAggregates = { + __typename?: 'ConfidentialAssetHolderVariancePopulationAggregates'; + /** Population variance of eventIdx across the matching connection */ + eventIdx?: Maybe; +}; + +export type ConfidentialAssetHolderVarianceSampleAggregateFilter = { + eventIdx?: InputMaybe; +}; + +export type ConfidentialAssetHolderVarianceSampleAggregates = { + __typename?: 'ConfidentialAssetHolderVarianceSampleAggregates'; + /** Sample variance of eventIdx across the matching connection */ + eventIdx?: Maybe; +}; + /** A connection to a list of `ConfidentialAssetHolder` values. */ export type ConfidentialAssetHoldersConnection = { __typename?: 'ConfidentialAssetHoldersConnection'; @@ -61388,6 +61861,7 @@ export enum ConfidentialAssetHoldersGroupBy { CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', CreatedBlockId = 'CREATED_BLOCK_ID', + EventIdx = 'EVENT_IDX', UpdatedAt = 'UPDATED_AT', UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', @@ -61396,11 +61870,13 @@ export enum ConfidentialAssetHoldersGroupBy { export type ConfidentialAssetHoldersHavingAverageInput = { createdAt?: InputMaybe; + eventIdx?: InputMaybe; updatedAt?: InputMaybe; }; export type ConfidentialAssetHoldersHavingDistinctCountInput = { createdAt?: InputMaybe; + eventIdx?: InputMaybe; updatedAt?: InputMaybe; }; @@ -61421,36 +61897,43 @@ export type ConfidentialAssetHoldersHavingInput = { export type ConfidentialAssetHoldersHavingMaxInput = { createdAt?: InputMaybe; + eventIdx?: InputMaybe; updatedAt?: InputMaybe; }; export type ConfidentialAssetHoldersHavingMinInput = { createdAt?: InputMaybe; + eventIdx?: InputMaybe; updatedAt?: InputMaybe; }; export type ConfidentialAssetHoldersHavingStddevPopulationInput = { createdAt?: InputMaybe; + eventIdx?: InputMaybe; updatedAt?: InputMaybe; }; export type ConfidentialAssetHoldersHavingStddevSampleInput = { createdAt?: InputMaybe; + eventIdx?: InputMaybe; updatedAt?: InputMaybe; }; export type ConfidentialAssetHoldersHavingSumInput = { createdAt?: InputMaybe; + eventIdx?: InputMaybe; updatedAt?: InputMaybe; }; export type ConfidentialAssetHoldersHavingVariancePopulationInput = { createdAt?: InputMaybe; + eventIdx?: InputMaybe; updatedAt?: InputMaybe; }; export type ConfidentialAssetHoldersHavingVarianceSampleInput = { createdAt?: InputMaybe; + eventIdx?: InputMaybe; updatedAt?: InputMaybe; }; @@ -61466,6 +61949,8 @@ export enum ConfidentialAssetHoldersOrderBy { CreatedAtDesc = 'CREATED_AT_DESC', CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', + EventIdxAsc = 'EVENT_IDX_ASC', + EventIdxDesc = 'EVENT_IDX_DESC', IdAsc = 'ID_ASC', IdDesc = 'ID_DESC', Natural = 'NATURAL', @@ -61478,51 +61963,66 @@ export enum ConfidentialAssetHoldersOrderBy { } export type ConfidentialAssetMaxAggregateFilter = { + eventIdx?: InputMaybe; totalSupply?: InputMaybe; }; export type ConfidentialAssetMaxAggregates = { __typename?: 'ConfidentialAssetMaxAggregates'; + /** Maximum of eventIdx across the matching connection */ + eventIdx?: Maybe; /** Maximum of totalSupply across the matching connection */ totalSupply?: Maybe; }; export type ConfidentialAssetMinAggregateFilter = { + eventIdx?: InputMaybe; totalSupply?: InputMaybe; }; export type ConfidentialAssetMinAggregates = { __typename?: 'ConfidentialAssetMinAggregates'; + /** Minimum of eventIdx across the matching connection */ + eventIdx?: Maybe; /** Minimum of totalSupply across the matching connection */ totalSupply?: Maybe; }; export type ConfidentialAssetStddevPopulationAggregateFilter = { + eventIdx?: InputMaybe; totalSupply?: InputMaybe; }; export type ConfidentialAssetStddevPopulationAggregates = { __typename?: 'ConfidentialAssetStddevPopulationAggregates'; + /** Population standard deviation of eventIdx across the matching connection */ + eventIdx?: Maybe; /** Population standard deviation of totalSupply across the matching connection */ totalSupply?: Maybe; }; export type ConfidentialAssetStddevSampleAggregateFilter = { + eventIdx?: InputMaybe; totalSupply?: InputMaybe; }; export type ConfidentialAssetStddevSampleAggregates = { __typename?: 'ConfidentialAssetStddevSampleAggregates'; + /** Sample standard deviation of eventIdx across the matching connection */ + eventIdx?: Maybe; /** Sample standard deviation of totalSupply across the matching connection */ totalSupply?: Maybe; }; export type ConfidentialAssetSumAggregateFilter = { + eventIdx?: InputMaybe; totalSupply?: InputMaybe; }; export type ConfidentialAssetSumAggregates = { __typename?: 'ConfidentialAssetSumAggregates'; + /** Sum of eventIdx across the matching connection */ + eventIdx: Scalars['BigInt']['output']; /** Sum of totalSupply across the matching connection */ totalSupply: Scalars['BigFloat']['output']; }; @@ -61552,21 +62052,27 @@ export type ConfidentialAssetToManyConfidentialAssetHolderFilter = { }; export type ConfidentialAssetVariancePopulationAggregateFilter = { + eventIdx?: InputMaybe; totalSupply?: InputMaybe; }; export type ConfidentialAssetVariancePopulationAggregates = { __typename?: 'ConfidentialAssetVariancePopulationAggregates'; + /** Population variance of eventIdx across the matching connection */ + eventIdx?: Maybe; /** Population variance of totalSupply across the matching connection */ totalSupply?: Maybe; }; export type ConfidentialAssetVarianceSampleAggregateFilter = { + eventIdx?: InputMaybe; totalSupply?: InputMaybe; }; export type ConfidentialAssetVarianceSampleAggregates = { __typename?: 'ConfidentialAssetVarianceSampleAggregates'; + /** Sample variance of eventIdx across the matching connection */ + eventIdx?: Maybe; /** Sample variance of totalSupply across the matching connection */ totalSupply?: Maybe; }; @@ -61614,6 +62120,7 @@ export enum ConfidentialAssetsGroupBy { CreatedBlockId = 'CREATED_BLOCK_ID', CreatorId = 'CREATOR_ID', Data = 'DATA', + EventIdx = 'EVENT_IDX', Mediators = 'MEDIATORS', Ticker = 'TICKER', TotalSupply = 'TOTAL_SUPPLY', @@ -61626,12 +62133,14 @@ export enum ConfidentialAssetsGroupBy { export type ConfidentialAssetsHavingAverageInput = { createdAt?: InputMaybe; + eventIdx?: InputMaybe; totalSupply?: InputMaybe; updatedAt?: InputMaybe; }; export type ConfidentialAssetsHavingDistinctCountInput = { createdAt?: InputMaybe; + eventIdx?: InputMaybe; totalSupply?: InputMaybe; updatedAt?: InputMaybe; }; @@ -61653,42 +62162,49 @@ export type ConfidentialAssetsHavingInput = { export type ConfidentialAssetsHavingMaxInput = { createdAt?: InputMaybe; + eventIdx?: InputMaybe; totalSupply?: InputMaybe; updatedAt?: InputMaybe; }; export type ConfidentialAssetsHavingMinInput = { createdAt?: InputMaybe; + eventIdx?: InputMaybe; totalSupply?: InputMaybe; updatedAt?: InputMaybe; }; export type ConfidentialAssetsHavingStddevPopulationInput = { createdAt?: InputMaybe; + eventIdx?: InputMaybe; totalSupply?: InputMaybe; updatedAt?: InputMaybe; }; export type ConfidentialAssetsHavingStddevSampleInput = { createdAt?: InputMaybe; + eventIdx?: InputMaybe; totalSupply?: InputMaybe; updatedAt?: InputMaybe; }; export type ConfidentialAssetsHavingSumInput = { createdAt?: InputMaybe; + eventIdx?: InputMaybe; totalSupply?: InputMaybe; updatedAt?: InputMaybe; }; export type ConfidentialAssetsHavingVariancePopulationInput = { createdAt?: InputMaybe; + eventIdx?: InputMaybe; totalSupply?: InputMaybe; updatedAt?: InputMaybe; }; export type ConfidentialAssetsHavingVarianceSampleInput = { createdAt?: InputMaybe; + eventIdx?: InputMaybe; totalSupply?: InputMaybe; updatedAt?: InputMaybe; }; @@ -61983,6 +62499,8 @@ export enum ConfidentialAssetsOrderBy { ConfidentialAssetHoldersByAssetIdAverageCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_AVERAGE_CREATED_AT_DESC', ConfidentialAssetHoldersByAssetIdAverageCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_AVERAGE_CREATED_BLOCK_ID_ASC', ConfidentialAssetHoldersByAssetIdAverageCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_AVERAGE_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByAssetIdAverageEventIdxAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_AVERAGE_EVENT_IDX_ASC', + ConfidentialAssetHoldersByAssetIdAverageEventIdxDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_AVERAGE_EVENT_IDX_DESC', ConfidentialAssetHoldersByAssetIdAverageIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_AVERAGE_ID_ASC', ConfidentialAssetHoldersByAssetIdAverageIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_AVERAGE_ID_DESC', ConfidentialAssetHoldersByAssetIdAverageUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_AVERAGE_UPDATED_AT_ASC', @@ -62001,6 +62519,8 @@ export enum ConfidentialAssetsOrderBy { ConfidentialAssetHoldersByAssetIdDistinctCountCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_DISTINCT_COUNT_CREATED_AT_DESC', ConfidentialAssetHoldersByAssetIdDistinctCountCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', ConfidentialAssetHoldersByAssetIdDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByAssetIdDistinctCountEventIdxAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_DISTINCT_COUNT_EVENT_IDX_ASC', + ConfidentialAssetHoldersByAssetIdDistinctCountEventIdxDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_DISTINCT_COUNT_EVENT_IDX_DESC', ConfidentialAssetHoldersByAssetIdDistinctCountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_DISTINCT_COUNT_ID_ASC', ConfidentialAssetHoldersByAssetIdDistinctCountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_DISTINCT_COUNT_ID_DESC', ConfidentialAssetHoldersByAssetIdDistinctCountUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_DISTINCT_COUNT_UPDATED_AT_ASC', @@ -62017,6 +62537,8 @@ export enum ConfidentialAssetsOrderBy { ConfidentialAssetHoldersByAssetIdMaxCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MAX_CREATED_AT_DESC', ConfidentialAssetHoldersByAssetIdMaxCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MAX_CREATED_BLOCK_ID_ASC', ConfidentialAssetHoldersByAssetIdMaxCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MAX_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByAssetIdMaxEventIdxAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MAX_EVENT_IDX_ASC', + ConfidentialAssetHoldersByAssetIdMaxEventIdxDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MAX_EVENT_IDX_DESC', ConfidentialAssetHoldersByAssetIdMaxIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MAX_ID_ASC', ConfidentialAssetHoldersByAssetIdMaxIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MAX_ID_DESC', ConfidentialAssetHoldersByAssetIdMaxUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MAX_UPDATED_AT_ASC', @@ -62033,6 +62555,8 @@ export enum ConfidentialAssetsOrderBy { ConfidentialAssetHoldersByAssetIdMinCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MIN_CREATED_AT_DESC', ConfidentialAssetHoldersByAssetIdMinCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MIN_CREATED_BLOCK_ID_ASC', ConfidentialAssetHoldersByAssetIdMinCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MIN_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByAssetIdMinEventIdxAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MIN_EVENT_IDX_ASC', + ConfidentialAssetHoldersByAssetIdMinEventIdxDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MIN_EVENT_IDX_DESC', ConfidentialAssetHoldersByAssetIdMinIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MIN_ID_ASC', ConfidentialAssetHoldersByAssetIdMinIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MIN_ID_DESC', ConfidentialAssetHoldersByAssetIdMinUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MIN_UPDATED_AT_ASC', @@ -62049,6 +62573,8 @@ export enum ConfidentialAssetsOrderBy { ConfidentialAssetHoldersByAssetIdStddevPopulationCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_POPULATION_CREATED_AT_DESC', ConfidentialAssetHoldersByAssetIdStddevPopulationCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', ConfidentialAssetHoldersByAssetIdStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByAssetIdStddevPopulationEventIdxAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_POPULATION_EVENT_IDX_ASC', + ConfidentialAssetHoldersByAssetIdStddevPopulationEventIdxDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_POPULATION_EVENT_IDX_DESC', ConfidentialAssetHoldersByAssetIdStddevPopulationIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_POPULATION_ID_ASC', ConfidentialAssetHoldersByAssetIdStddevPopulationIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_POPULATION_ID_DESC', ConfidentialAssetHoldersByAssetIdStddevPopulationUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_POPULATION_UPDATED_AT_ASC', @@ -62065,6 +62591,8 @@ export enum ConfidentialAssetsOrderBy { ConfidentialAssetHoldersByAssetIdStddevSampleCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_SAMPLE_CREATED_AT_DESC', ConfidentialAssetHoldersByAssetIdStddevSampleCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', ConfidentialAssetHoldersByAssetIdStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByAssetIdStddevSampleEventIdxAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', + ConfidentialAssetHoldersByAssetIdStddevSampleEventIdxDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', ConfidentialAssetHoldersByAssetIdStddevSampleIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_SAMPLE_ID_ASC', ConfidentialAssetHoldersByAssetIdStddevSampleIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_SAMPLE_ID_DESC', ConfidentialAssetHoldersByAssetIdStddevSampleUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', @@ -62081,6 +62609,8 @@ export enum ConfidentialAssetsOrderBy { ConfidentialAssetHoldersByAssetIdSumCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_SUM_CREATED_AT_DESC', ConfidentialAssetHoldersByAssetIdSumCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_SUM_CREATED_BLOCK_ID_ASC', ConfidentialAssetHoldersByAssetIdSumCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_SUM_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByAssetIdSumEventIdxAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_SUM_EVENT_IDX_ASC', + ConfidentialAssetHoldersByAssetIdSumEventIdxDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_SUM_EVENT_IDX_DESC', ConfidentialAssetHoldersByAssetIdSumIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_SUM_ID_ASC', ConfidentialAssetHoldersByAssetIdSumIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_SUM_ID_DESC', ConfidentialAssetHoldersByAssetIdSumUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_SUM_UPDATED_AT_ASC', @@ -62097,6 +62627,8 @@ export enum ConfidentialAssetsOrderBy { ConfidentialAssetHoldersByAssetIdVariancePopulationCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_POPULATION_CREATED_AT_DESC', ConfidentialAssetHoldersByAssetIdVariancePopulationCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', ConfidentialAssetHoldersByAssetIdVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByAssetIdVariancePopulationEventIdxAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', + ConfidentialAssetHoldersByAssetIdVariancePopulationEventIdxDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', ConfidentialAssetHoldersByAssetIdVariancePopulationIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_POPULATION_ID_ASC', ConfidentialAssetHoldersByAssetIdVariancePopulationIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_POPULATION_ID_DESC', ConfidentialAssetHoldersByAssetIdVariancePopulationUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', @@ -62113,6 +62645,8 @@ export enum ConfidentialAssetsOrderBy { ConfidentialAssetHoldersByAssetIdVarianceSampleCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', ConfidentialAssetHoldersByAssetIdVarianceSampleCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', ConfidentialAssetHoldersByAssetIdVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialAssetHoldersByAssetIdVarianceSampleEventIdxAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', + ConfidentialAssetHoldersByAssetIdVarianceSampleEventIdxDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', ConfidentialAssetHoldersByAssetIdVarianceSampleIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_SAMPLE_ID_ASC', ConfidentialAssetHoldersByAssetIdVarianceSampleIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_SAMPLE_ID_DESC', ConfidentialAssetHoldersByAssetIdVarianceSampleUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', @@ -62127,6 +62661,8 @@ export enum ConfidentialAssetsOrderBy { CreatorIdDesc = 'CREATOR_ID_DESC', DataAsc = 'DATA_ASC', DataDesc = 'DATA_DESC', + EventIdxAsc = 'EVENT_IDX_ASC', + EventIdxDesc = 'EVENT_IDX_DESC', IdAsc = 'ID_ASC', IdDesc = 'ID_DESC', MediatorsAsc = 'MEDIATORS_ASC', @@ -62670,6 +63206,7 @@ export type ConfidentialTransactionAffirmation = Node & { /** Reads a single `Block` that is related to this `ConfidentialTransactionAffirmation`. */ createdBlock?: Maybe; createdBlockId: Scalars['String']['output']; + eventIdx: Scalars['Int']['output']; id: Scalars['String']['output']; /** Reads a single `Identity` that is related to this `ConfidentialTransactionAffirmation`. */ identity?: Maybe; @@ -62737,11 +63274,14 @@ export type ConfidentialTransactionAffirmationAggregatesFilter = { }; export type ConfidentialTransactionAffirmationAverageAggregateFilter = { + eventIdx?: InputMaybe; legId?: InputMaybe; }; export type ConfidentialTransactionAffirmationAverageAggregates = { __typename?: 'ConfidentialTransactionAffirmationAverageAggregates'; + /** Mean average of eventIdx across the matching connection */ + eventIdx?: Maybe; /** Mean average of legId across the matching connection */ legId?: Maybe; }; @@ -62750,6 +63290,7 @@ export type ConfidentialTransactionAffirmationDistinctCountAggregateFilter = { accountId?: InputMaybe; createdAt?: InputMaybe; createdBlockId?: InputMaybe; + eventIdx?: InputMaybe; id?: InputMaybe; identityId?: InputMaybe; legId?: InputMaybe; @@ -62769,6 +63310,8 @@ export type ConfidentialTransactionAffirmationDistinctCountAggregates = { createdAt?: Maybe; /** Distinct count of createdBlockId across the matching connection */ createdBlockId?: Maybe; + /** Distinct count of eventIdx across the matching connection */ + eventIdx?: Maybe; /** Distinct count of id across the matching connection */ id?: Maybe; /** Distinct count of identityId across the matching connection */ @@ -62805,6 +63348,8 @@ export type ConfidentialTransactionAffirmationFilter = { createdBlock?: InputMaybe; /** Filter by the object’s `createdBlockId` field. */ createdBlockId?: InputMaybe; + /** Filter by the object’s `eventIdx` field. */ + eventIdx?: InputMaybe; /** Filter by the object’s `id` field. */ id?: InputMaybe; /** Filter by the object’s `identity` relation. */ @@ -62836,71 +63381,92 @@ export type ConfidentialTransactionAffirmationFilter = { }; export type ConfidentialTransactionAffirmationMaxAggregateFilter = { + eventIdx?: InputMaybe; legId?: InputMaybe; }; export type ConfidentialTransactionAffirmationMaxAggregates = { __typename?: 'ConfidentialTransactionAffirmationMaxAggregates'; + /** Maximum of eventIdx across the matching connection */ + eventIdx?: Maybe; /** Maximum of legId across the matching connection */ legId?: Maybe; }; export type ConfidentialTransactionAffirmationMinAggregateFilter = { + eventIdx?: InputMaybe; legId?: InputMaybe; }; export type ConfidentialTransactionAffirmationMinAggregates = { __typename?: 'ConfidentialTransactionAffirmationMinAggregates'; + /** Minimum of eventIdx across the matching connection */ + eventIdx?: Maybe; /** Minimum of legId across the matching connection */ legId?: Maybe; }; export type ConfidentialTransactionAffirmationStddevPopulationAggregateFilter = { + eventIdx?: InputMaybe; legId?: InputMaybe; }; export type ConfidentialTransactionAffirmationStddevPopulationAggregates = { __typename?: 'ConfidentialTransactionAffirmationStddevPopulationAggregates'; + /** Population standard deviation of eventIdx across the matching connection */ + eventIdx?: Maybe; /** Population standard deviation of legId across the matching connection */ legId?: Maybe; }; export type ConfidentialTransactionAffirmationStddevSampleAggregateFilter = { + eventIdx?: InputMaybe; legId?: InputMaybe; }; export type ConfidentialTransactionAffirmationStddevSampleAggregates = { __typename?: 'ConfidentialTransactionAffirmationStddevSampleAggregates'; + /** Sample standard deviation of eventIdx across the matching connection */ + eventIdx?: Maybe; /** Sample standard deviation of legId across the matching connection */ legId?: Maybe; }; export type ConfidentialTransactionAffirmationSumAggregateFilter = { + eventIdx?: InputMaybe; legId?: InputMaybe; }; export type ConfidentialTransactionAffirmationSumAggregates = { __typename?: 'ConfidentialTransactionAffirmationSumAggregates'; + /** Sum of eventIdx across the matching connection */ + eventIdx: Scalars['BigInt']['output']; /** Sum of legId across the matching connection */ legId: Scalars['BigInt']['output']; }; export type ConfidentialTransactionAffirmationVariancePopulationAggregateFilter = { + eventIdx?: InputMaybe; legId?: InputMaybe; }; export type ConfidentialTransactionAffirmationVariancePopulationAggregates = { __typename?: 'ConfidentialTransactionAffirmationVariancePopulationAggregates'; + /** Population variance of eventIdx across the matching connection */ + eventIdx?: Maybe; /** Population variance of legId across the matching connection */ legId?: Maybe; }; export type ConfidentialTransactionAffirmationVarianceSampleAggregateFilter = { + eventIdx?: InputMaybe; legId?: InputMaybe; }; export type ConfidentialTransactionAffirmationVarianceSampleAggregates = { __typename?: 'ConfidentialTransactionAffirmationVarianceSampleAggregates'; + /** Sample variance of eventIdx across the matching connection */ + eventIdx?: Maybe; /** Sample variance of legId across the matching connection */ legId?: Maybe; }; @@ -62944,6 +63510,7 @@ export enum ConfidentialTransactionAffirmationsGroupBy { CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', CreatedBlockId = 'CREATED_BLOCK_ID', + EventIdx = 'EVENT_IDX', IdentityId = 'IDENTITY_ID', LegId = 'LEG_ID', Proofs = 'PROOFS', @@ -62958,12 +63525,14 @@ export enum ConfidentialTransactionAffirmationsGroupBy { export type ConfidentialTransactionAffirmationsHavingAverageInput = { createdAt?: InputMaybe; + eventIdx?: InputMaybe; legId?: InputMaybe; updatedAt?: InputMaybe; }; export type ConfidentialTransactionAffirmationsHavingDistinctCountInput = { createdAt?: InputMaybe; + eventIdx?: InputMaybe; legId?: InputMaybe; updatedAt?: InputMaybe; }; @@ -62985,42 +63554,49 @@ export type ConfidentialTransactionAffirmationsHavingInput = { export type ConfidentialTransactionAffirmationsHavingMaxInput = { createdAt?: InputMaybe; + eventIdx?: InputMaybe; legId?: InputMaybe; updatedAt?: InputMaybe; }; export type ConfidentialTransactionAffirmationsHavingMinInput = { createdAt?: InputMaybe; + eventIdx?: InputMaybe; legId?: InputMaybe; updatedAt?: InputMaybe; }; export type ConfidentialTransactionAffirmationsHavingStddevPopulationInput = { createdAt?: InputMaybe; + eventIdx?: InputMaybe; legId?: InputMaybe; updatedAt?: InputMaybe; }; export type ConfidentialTransactionAffirmationsHavingStddevSampleInput = { createdAt?: InputMaybe; + eventIdx?: InputMaybe; legId?: InputMaybe; updatedAt?: InputMaybe; }; export type ConfidentialTransactionAffirmationsHavingSumInput = { createdAt?: InputMaybe; + eventIdx?: InputMaybe; legId?: InputMaybe; updatedAt?: InputMaybe; }; export type ConfidentialTransactionAffirmationsHavingVariancePopulationInput = { createdAt?: InputMaybe; + eventIdx?: InputMaybe; legId?: InputMaybe; updatedAt?: InputMaybe; }; export type ConfidentialTransactionAffirmationsHavingVarianceSampleInput = { createdAt?: InputMaybe; + eventIdx?: InputMaybe; legId?: InputMaybe; updatedAt?: InputMaybe; }; @@ -63033,6 +63609,8 @@ export enum ConfidentialTransactionAffirmationsOrderBy { CreatedAtDesc = 'CREATED_AT_DESC', CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', + EventIdxAsc = 'EVENT_IDX_ASC', + EventIdxDesc = 'EVENT_IDX_DESC', IdentityIdAsc = 'IDENTITY_ID_ASC', IdentityIdDesc = 'IDENTITY_ID_DESC', IdAsc = 'ID_ASC', @@ -64151,6 +64729,8 @@ export enum ConfidentialTransactionsOrderBy { AffirmationsAverageCreatedAtDesc = 'AFFIRMATIONS_AVERAGE_CREATED_AT_DESC', AffirmationsAverageCreatedBlockIdAsc = 'AFFIRMATIONS_AVERAGE_CREATED_BLOCK_ID_ASC', AffirmationsAverageCreatedBlockIdDesc = 'AFFIRMATIONS_AVERAGE_CREATED_BLOCK_ID_DESC', + AffirmationsAverageEventIdxAsc = 'AFFIRMATIONS_AVERAGE_EVENT_IDX_ASC', + AffirmationsAverageEventIdxDesc = 'AFFIRMATIONS_AVERAGE_EVENT_IDX_DESC', AffirmationsAverageIdentityIdAsc = 'AFFIRMATIONS_AVERAGE_IDENTITY_ID_ASC', AffirmationsAverageIdentityIdDesc = 'AFFIRMATIONS_AVERAGE_IDENTITY_ID_DESC', AffirmationsAverageIdAsc = 'AFFIRMATIONS_AVERAGE_ID_ASC', @@ -64177,6 +64757,8 @@ export enum ConfidentialTransactionsOrderBy { AffirmationsDistinctCountCreatedAtDesc = 'AFFIRMATIONS_DISTINCT_COUNT_CREATED_AT_DESC', AffirmationsDistinctCountCreatedBlockIdAsc = 'AFFIRMATIONS_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', AffirmationsDistinctCountCreatedBlockIdDesc = 'AFFIRMATIONS_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', + AffirmationsDistinctCountEventIdxAsc = 'AFFIRMATIONS_DISTINCT_COUNT_EVENT_IDX_ASC', + AffirmationsDistinctCountEventIdxDesc = 'AFFIRMATIONS_DISTINCT_COUNT_EVENT_IDX_DESC', AffirmationsDistinctCountIdentityIdAsc = 'AFFIRMATIONS_DISTINCT_COUNT_IDENTITY_ID_ASC', AffirmationsDistinctCountIdentityIdDesc = 'AFFIRMATIONS_DISTINCT_COUNT_IDENTITY_ID_DESC', AffirmationsDistinctCountIdAsc = 'AFFIRMATIONS_DISTINCT_COUNT_ID_ASC', @@ -64201,6 +64783,8 @@ export enum ConfidentialTransactionsOrderBy { AffirmationsMaxCreatedAtDesc = 'AFFIRMATIONS_MAX_CREATED_AT_DESC', AffirmationsMaxCreatedBlockIdAsc = 'AFFIRMATIONS_MAX_CREATED_BLOCK_ID_ASC', AffirmationsMaxCreatedBlockIdDesc = 'AFFIRMATIONS_MAX_CREATED_BLOCK_ID_DESC', + AffirmationsMaxEventIdxAsc = 'AFFIRMATIONS_MAX_EVENT_IDX_ASC', + AffirmationsMaxEventIdxDesc = 'AFFIRMATIONS_MAX_EVENT_IDX_DESC', AffirmationsMaxIdentityIdAsc = 'AFFIRMATIONS_MAX_IDENTITY_ID_ASC', AffirmationsMaxIdentityIdDesc = 'AFFIRMATIONS_MAX_IDENTITY_ID_DESC', AffirmationsMaxIdAsc = 'AFFIRMATIONS_MAX_ID_ASC', @@ -64225,6 +64809,8 @@ export enum ConfidentialTransactionsOrderBy { AffirmationsMinCreatedAtDesc = 'AFFIRMATIONS_MIN_CREATED_AT_DESC', AffirmationsMinCreatedBlockIdAsc = 'AFFIRMATIONS_MIN_CREATED_BLOCK_ID_ASC', AffirmationsMinCreatedBlockIdDesc = 'AFFIRMATIONS_MIN_CREATED_BLOCK_ID_DESC', + AffirmationsMinEventIdxAsc = 'AFFIRMATIONS_MIN_EVENT_IDX_ASC', + AffirmationsMinEventIdxDesc = 'AFFIRMATIONS_MIN_EVENT_IDX_DESC', AffirmationsMinIdentityIdAsc = 'AFFIRMATIONS_MIN_IDENTITY_ID_ASC', AffirmationsMinIdentityIdDesc = 'AFFIRMATIONS_MIN_IDENTITY_ID_DESC', AffirmationsMinIdAsc = 'AFFIRMATIONS_MIN_ID_ASC', @@ -64249,6 +64835,8 @@ export enum ConfidentialTransactionsOrderBy { AffirmationsStddevPopulationCreatedAtDesc = 'AFFIRMATIONS_STDDEV_POPULATION_CREATED_AT_DESC', AffirmationsStddevPopulationCreatedBlockIdAsc = 'AFFIRMATIONS_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', AffirmationsStddevPopulationCreatedBlockIdDesc = 'AFFIRMATIONS_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', + AffirmationsStddevPopulationEventIdxAsc = 'AFFIRMATIONS_STDDEV_POPULATION_EVENT_IDX_ASC', + AffirmationsStddevPopulationEventIdxDesc = 'AFFIRMATIONS_STDDEV_POPULATION_EVENT_IDX_DESC', AffirmationsStddevPopulationIdentityIdAsc = 'AFFIRMATIONS_STDDEV_POPULATION_IDENTITY_ID_ASC', AffirmationsStddevPopulationIdentityIdDesc = 'AFFIRMATIONS_STDDEV_POPULATION_IDENTITY_ID_DESC', AffirmationsStddevPopulationIdAsc = 'AFFIRMATIONS_STDDEV_POPULATION_ID_ASC', @@ -64273,6 +64861,8 @@ export enum ConfidentialTransactionsOrderBy { AffirmationsStddevSampleCreatedAtDesc = 'AFFIRMATIONS_STDDEV_SAMPLE_CREATED_AT_DESC', AffirmationsStddevSampleCreatedBlockIdAsc = 'AFFIRMATIONS_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', AffirmationsStddevSampleCreatedBlockIdDesc = 'AFFIRMATIONS_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', + AffirmationsStddevSampleEventIdxAsc = 'AFFIRMATIONS_STDDEV_SAMPLE_EVENT_IDX_ASC', + AffirmationsStddevSampleEventIdxDesc = 'AFFIRMATIONS_STDDEV_SAMPLE_EVENT_IDX_DESC', AffirmationsStddevSampleIdentityIdAsc = 'AFFIRMATIONS_STDDEV_SAMPLE_IDENTITY_ID_ASC', AffirmationsStddevSampleIdentityIdDesc = 'AFFIRMATIONS_STDDEV_SAMPLE_IDENTITY_ID_DESC', AffirmationsStddevSampleIdAsc = 'AFFIRMATIONS_STDDEV_SAMPLE_ID_ASC', @@ -64297,6 +64887,8 @@ export enum ConfidentialTransactionsOrderBy { AffirmationsSumCreatedAtDesc = 'AFFIRMATIONS_SUM_CREATED_AT_DESC', AffirmationsSumCreatedBlockIdAsc = 'AFFIRMATIONS_SUM_CREATED_BLOCK_ID_ASC', AffirmationsSumCreatedBlockIdDesc = 'AFFIRMATIONS_SUM_CREATED_BLOCK_ID_DESC', + AffirmationsSumEventIdxAsc = 'AFFIRMATIONS_SUM_EVENT_IDX_ASC', + AffirmationsSumEventIdxDesc = 'AFFIRMATIONS_SUM_EVENT_IDX_DESC', AffirmationsSumIdentityIdAsc = 'AFFIRMATIONS_SUM_IDENTITY_ID_ASC', AffirmationsSumIdentityIdDesc = 'AFFIRMATIONS_SUM_IDENTITY_ID_DESC', AffirmationsSumIdAsc = 'AFFIRMATIONS_SUM_ID_ASC', @@ -64321,6 +64913,8 @@ export enum ConfidentialTransactionsOrderBy { AffirmationsVariancePopulationCreatedAtDesc = 'AFFIRMATIONS_VARIANCE_POPULATION_CREATED_AT_DESC', AffirmationsVariancePopulationCreatedBlockIdAsc = 'AFFIRMATIONS_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', AffirmationsVariancePopulationCreatedBlockIdDesc = 'AFFIRMATIONS_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', + AffirmationsVariancePopulationEventIdxAsc = 'AFFIRMATIONS_VARIANCE_POPULATION_EVENT_IDX_ASC', + AffirmationsVariancePopulationEventIdxDesc = 'AFFIRMATIONS_VARIANCE_POPULATION_EVENT_IDX_DESC', AffirmationsVariancePopulationIdentityIdAsc = 'AFFIRMATIONS_VARIANCE_POPULATION_IDENTITY_ID_ASC', AffirmationsVariancePopulationIdentityIdDesc = 'AFFIRMATIONS_VARIANCE_POPULATION_IDENTITY_ID_DESC', AffirmationsVariancePopulationIdAsc = 'AFFIRMATIONS_VARIANCE_POPULATION_ID_ASC', @@ -64345,6 +64939,8 @@ export enum ConfidentialTransactionsOrderBy { AffirmationsVarianceSampleCreatedAtDesc = 'AFFIRMATIONS_VARIANCE_SAMPLE_CREATED_AT_DESC', AffirmationsVarianceSampleCreatedBlockIdAsc = 'AFFIRMATIONS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', AffirmationsVarianceSampleCreatedBlockIdDesc = 'AFFIRMATIONS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', + AffirmationsVarianceSampleEventIdxAsc = 'AFFIRMATIONS_VARIANCE_SAMPLE_EVENT_IDX_ASC', + AffirmationsVarianceSampleEventIdxDesc = 'AFFIRMATIONS_VARIANCE_SAMPLE_EVENT_IDX_DESC', AffirmationsVarianceSampleIdentityIdAsc = 'AFFIRMATIONS_VARIANCE_SAMPLE_IDENTITY_ID_ASC', AffirmationsVarianceSampleIdentityIdDesc = 'AFFIRMATIONS_VARIANCE_SAMPLE_IDENTITY_ID_DESC', AffirmationsVarianceSampleIdAsc = 'AFFIRMATIONS_VARIANCE_SAMPLE_ID_ASC', @@ -64860,6 +65456,7 @@ export type ConfidentialVenue = Node & { /** Reads a single `Identity` that is related to this `ConfidentialVenue`. */ creator?: Maybe; creatorId: Scalars['String']['output']; + eventIdx: Scalars['Int']['output']; id: Scalars['String']['output']; /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ nodeId: Scalars['ID']['output']; @@ -64954,11 +65551,14 @@ export type ConfidentialVenueAggregatesFilter = { }; export type ConfidentialVenueAverageAggregateFilter = { + eventIdx?: InputMaybe; venueId?: InputMaybe; }; export type ConfidentialVenueAverageAggregates = { __typename?: 'ConfidentialVenueAverageAggregates'; + /** Mean average of eventIdx across the matching connection */ + eventIdx?: Maybe; /** Mean average of venueId across the matching connection */ venueId?: Maybe; }; @@ -65067,6 +65667,7 @@ export type ConfidentialVenueDistinctCountAggregateFilter = { createdAt?: InputMaybe; createdBlockId?: InputMaybe; creatorId?: InputMaybe; + eventIdx?: InputMaybe; id?: InputMaybe; updatedAt?: InputMaybe; updatedBlockId?: InputMaybe; @@ -65081,6 +65682,8 @@ export type ConfidentialVenueDistinctCountAggregates = { createdBlockId?: Maybe; /** Distinct count of creatorId across the matching connection */ creatorId?: Maybe; + /** Distinct count of eventIdx across the matching connection */ + eventIdx?: Maybe; /** Distinct count of id across the matching connection */ id?: Maybe; /** Distinct count of updatedAt across the matching connection */ @@ -65109,6 +65712,8 @@ export type ConfidentialVenueFilter = { creator?: InputMaybe; /** Filter by the object’s `creatorId` field. */ creatorId?: InputMaybe; + /** Filter by the object’s `eventIdx` field. */ + eventIdx?: InputMaybe; /** Filter by the object’s `id` field. */ id?: InputMaybe; /** Negates the expression. */ @@ -65126,51 +65731,66 @@ export type ConfidentialVenueFilter = { }; export type ConfidentialVenueMaxAggregateFilter = { + eventIdx?: InputMaybe; venueId?: InputMaybe; }; export type ConfidentialVenueMaxAggregates = { __typename?: 'ConfidentialVenueMaxAggregates'; + /** Maximum of eventIdx across the matching connection */ + eventIdx?: Maybe; /** Maximum of venueId across the matching connection */ venueId?: Maybe; }; export type ConfidentialVenueMinAggregateFilter = { + eventIdx?: InputMaybe; venueId?: InputMaybe; }; export type ConfidentialVenueMinAggregates = { __typename?: 'ConfidentialVenueMinAggregates'; + /** Minimum of eventIdx across the matching connection */ + eventIdx?: Maybe; /** Minimum of venueId across the matching connection */ venueId?: Maybe; }; export type ConfidentialVenueStddevPopulationAggregateFilter = { + eventIdx?: InputMaybe; venueId?: InputMaybe; }; export type ConfidentialVenueStddevPopulationAggregates = { __typename?: 'ConfidentialVenueStddevPopulationAggregates'; + /** Population standard deviation of eventIdx across the matching connection */ + eventIdx?: Maybe; /** Population standard deviation of venueId across the matching connection */ venueId?: Maybe; }; export type ConfidentialVenueStddevSampleAggregateFilter = { + eventIdx?: InputMaybe; venueId?: InputMaybe; }; export type ConfidentialVenueStddevSampleAggregates = { __typename?: 'ConfidentialVenueStddevSampleAggregates'; + /** Sample standard deviation of eventIdx across the matching connection */ + eventIdx?: Maybe; /** Sample standard deviation of venueId across the matching connection */ venueId?: Maybe; }; export type ConfidentialVenueSumAggregateFilter = { + eventIdx?: InputMaybe; venueId?: InputMaybe; }; export type ConfidentialVenueSumAggregates = { __typename?: 'ConfidentialVenueSumAggregates'; + /** Sum of eventIdx across the matching connection */ + eventIdx: Scalars['BigInt']['output']; /** Sum of venueId across the matching connection */ venueId: Scalars['BigInt']['output']; }; @@ -65188,21 +65808,27 @@ export type ConfidentialVenueToManyConfidentialTransactionFilter = { }; export type ConfidentialVenueVariancePopulationAggregateFilter = { + eventIdx?: InputMaybe; venueId?: InputMaybe; }; export type ConfidentialVenueVariancePopulationAggregates = { __typename?: 'ConfidentialVenueVariancePopulationAggregates'; + /** Population variance of eventIdx across the matching connection */ + eventIdx?: Maybe; /** Population variance of venueId across the matching connection */ venueId?: Maybe; }; export type ConfidentialVenueVarianceSampleAggregateFilter = { + eventIdx?: InputMaybe; venueId?: InputMaybe; }; export type ConfidentialVenueVarianceSampleAggregates = { __typename?: 'ConfidentialVenueVarianceSampleAggregates'; + /** Sample variance of eventIdx across the matching connection */ + eventIdx?: Maybe; /** Sample variance of venueId across the matching connection */ venueId?: Maybe; }; @@ -65246,6 +65872,7 @@ export enum ConfidentialVenuesGroupBy { CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', CreatedBlockId = 'CREATED_BLOCK_ID', CreatorId = 'CREATOR_ID', + EventIdx = 'EVENT_IDX', UpdatedAt = 'UPDATED_AT', UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', @@ -65255,12 +65882,14 @@ export enum ConfidentialVenuesGroupBy { export type ConfidentialVenuesHavingAverageInput = { createdAt?: InputMaybe; + eventIdx?: InputMaybe; updatedAt?: InputMaybe; venueId?: InputMaybe; }; export type ConfidentialVenuesHavingDistinctCountInput = { createdAt?: InputMaybe; + eventIdx?: InputMaybe; updatedAt?: InputMaybe; venueId?: InputMaybe; }; @@ -65282,42 +65911,49 @@ export type ConfidentialVenuesHavingInput = { export type ConfidentialVenuesHavingMaxInput = { createdAt?: InputMaybe; + eventIdx?: InputMaybe; updatedAt?: InputMaybe; venueId?: InputMaybe; }; export type ConfidentialVenuesHavingMinInput = { createdAt?: InputMaybe; + eventIdx?: InputMaybe; updatedAt?: InputMaybe; venueId?: InputMaybe; }; export type ConfidentialVenuesHavingStddevPopulationInput = { createdAt?: InputMaybe; + eventIdx?: InputMaybe; updatedAt?: InputMaybe; venueId?: InputMaybe; }; export type ConfidentialVenuesHavingStddevSampleInput = { createdAt?: InputMaybe; + eventIdx?: InputMaybe; updatedAt?: InputMaybe; venueId?: InputMaybe; }; export type ConfidentialVenuesHavingSumInput = { createdAt?: InputMaybe; + eventIdx?: InputMaybe; updatedAt?: InputMaybe; venueId?: InputMaybe; }; export type ConfidentialVenuesHavingVariancePopulationInput = { createdAt?: InputMaybe; + eventIdx?: InputMaybe; updatedAt?: InputMaybe; venueId?: InputMaybe; }; export type ConfidentialVenuesHavingVarianceSampleInput = { createdAt?: InputMaybe; + eventIdx?: InputMaybe; updatedAt?: InputMaybe; venueId?: InputMaybe; }; @@ -65530,6 +66166,8 @@ export enum ConfidentialVenuesOrderBy { CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', CreatorIdAsc = 'CREATOR_ID_ASC', CreatorIdDesc = 'CREATOR_ID_DESC', + EventIdxAsc = 'EVENT_IDX_ASC', + EventIdxDesc = 'EVENT_IDX_DESC', IdAsc = 'ID_ASC', IdDesc = 'ID_DESC', Natural = 'NATURAL', @@ -72993,6 +73631,8 @@ export enum IdentitiesOrderBy { ConfidentialAccountsByCreatorIdAverageCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_AVERAGE_CREATED_BLOCK_ID_DESC', ConfidentialAccountsByCreatorIdAverageCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_AVERAGE_CREATOR_ID_ASC', ConfidentialAccountsByCreatorIdAverageCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_AVERAGE_CREATOR_ID_DESC', + ConfidentialAccountsByCreatorIdAverageEventIdxAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_AVERAGE_EVENT_IDX_ASC', + ConfidentialAccountsByCreatorIdAverageEventIdxDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_AVERAGE_EVENT_IDX_DESC', ConfidentialAccountsByCreatorIdAverageIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_AVERAGE_ID_ASC', ConfidentialAccountsByCreatorIdAverageIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_AVERAGE_ID_DESC', ConfidentialAccountsByCreatorIdAverageUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_AVERAGE_UPDATED_AT_ASC', @@ -73009,6 +73649,8 @@ export enum IdentitiesOrderBy { ConfidentialAccountsByCreatorIdDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', ConfidentialAccountsByCreatorIdDistinctCountCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_DISTINCT_COUNT_CREATOR_ID_ASC', ConfidentialAccountsByCreatorIdDistinctCountCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_DISTINCT_COUNT_CREATOR_ID_DESC', + ConfidentialAccountsByCreatorIdDistinctCountEventIdxAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_DISTINCT_COUNT_EVENT_IDX_ASC', + ConfidentialAccountsByCreatorIdDistinctCountEventIdxDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_DISTINCT_COUNT_EVENT_IDX_DESC', ConfidentialAccountsByCreatorIdDistinctCountIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_DISTINCT_COUNT_ID_ASC', ConfidentialAccountsByCreatorIdDistinctCountIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_DISTINCT_COUNT_ID_DESC', ConfidentialAccountsByCreatorIdDistinctCountUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_DISTINCT_COUNT_UPDATED_AT_ASC', @@ -73023,6 +73665,8 @@ export enum IdentitiesOrderBy { ConfidentialAccountsByCreatorIdMaxCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MAX_CREATED_BLOCK_ID_DESC', ConfidentialAccountsByCreatorIdMaxCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MAX_CREATOR_ID_ASC', ConfidentialAccountsByCreatorIdMaxCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MAX_CREATOR_ID_DESC', + ConfidentialAccountsByCreatorIdMaxEventIdxAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MAX_EVENT_IDX_ASC', + ConfidentialAccountsByCreatorIdMaxEventIdxDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MAX_EVENT_IDX_DESC', ConfidentialAccountsByCreatorIdMaxIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MAX_ID_ASC', ConfidentialAccountsByCreatorIdMaxIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MAX_ID_DESC', ConfidentialAccountsByCreatorIdMaxUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MAX_UPDATED_AT_ASC', @@ -73037,6 +73681,8 @@ export enum IdentitiesOrderBy { ConfidentialAccountsByCreatorIdMinCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MIN_CREATED_BLOCK_ID_DESC', ConfidentialAccountsByCreatorIdMinCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MIN_CREATOR_ID_ASC', ConfidentialAccountsByCreatorIdMinCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MIN_CREATOR_ID_DESC', + ConfidentialAccountsByCreatorIdMinEventIdxAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MIN_EVENT_IDX_ASC', + ConfidentialAccountsByCreatorIdMinEventIdxDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MIN_EVENT_IDX_DESC', ConfidentialAccountsByCreatorIdMinIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MIN_ID_ASC', ConfidentialAccountsByCreatorIdMinIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MIN_ID_DESC', ConfidentialAccountsByCreatorIdMinUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MIN_UPDATED_AT_ASC', @@ -73051,6 +73697,8 @@ export enum IdentitiesOrderBy { ConfidentialAccountsByCreatorIdStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', ConfidentialAccountsByCreatorIdStddevPopulationCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_POPULATION_CREATOR_ID_ASC', ConfidentialAccountsByCreatorIdStddevPopulationCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_POPULATION_CREATOR_ID_DESC', + ConfidentialAccountsByCreatorIdStddevPopulationEventIdxAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_POPULATION_EVENT_IDX_ASC', + ConfidentialAccountsByCreatorIdStddevPopulationEventIdxDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_POPULATION_EVENT_IDX_DESC', ConfidentialAccountsByCreatorIdStddevPopulationIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_POPULATION_ID_ASC', ConfidentialAccountsByCreatorIdStddevPopulationIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_POPULATION_ID_DESC', ConfidentialAccountsByCreatorIdStddevPopulationUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_POPULATION_UPDATED_AT_ASC', @@ -73065,6 +73713,8 @@ export enum IdentitiesOrderBy { ConfidentialAccountsByCreatorIdStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', ConfidentialAccountsByCreatorIdStddevSampleCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_SAMPLE_CREATOR_ID_ASC', ConfidentialAccountsByCreatorIdStddevSampleCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_SAMPLE_CREATOR_ID_DESC', + ConfidentialAccountsByCreatorIdStddevSampleEventIdxAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', + ConfidentialAccountsByCreatorIdStddevSampleEventIdxDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', ConfidentialAccountsByCreatorIdStddevSampleIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_SAMPLE_ID_ASC', ConfidentialAccountsByCreatorIdStddevSampleIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_SAMPLE_ID_DESC', ConfidentialAccountsByCreatorIdStddevSampleUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', @@ -73079,6 +73729,8 @@ export enum IdentitiesOrderBy { ConfidentialAccountsByCreatorIdSumCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_SUM_CREATED_BLOCK_ID_DESC', ConfidentialAccountsByCreatorIdSumCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_SUM_CREATOR_ID_ASC', ConfidentialAccountsByCreatorIdSumCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_SUM_CREATOR_ID_DESC', + ConfidentialAccountsByCreatorIdSumEventIdxAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_SUM_EVENT_IDX_ASC', + ConfidentialAccountsByCreatorIdSumEventIdxDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_SUM_EVENT_IDX_DESC', ConfidentialAccountsByCreatorIdSumIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_SUM_ID_ASC', ConfidentialAccountsByCreatorIdSumIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_SUM_ID_DESC', ConfidentialAccountsByCreatorIdSumUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_SUM_UPDATED_AT_ASC', @@ -73093,6 +73745,8 @@ export enum IdentitiesOrderBy { ConfidentialAccountsByCreatorIdVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', ConfidentialAccountsByCreatorIdVariancePopulationCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_POPULATION_CREATOR_ID_ASC', ConfidentialAccountsByCreatorIdVariancePopulationCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_POPULATION_CREATOR_ID_DESC', + ConfidentialAccountsByCreatorIdVariancePopulationEventIdxAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', + ConfidentialAccountsByCreatorIdVariancePopulationEventIdxDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', ConfidentialAccountsByCreatorIdVariancePopulationIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_POPULATION_ID_ASC', ConfidentialAccountsByCreatorIdVariancePopulationIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_POPULATION_ID_DESC', ConfidentialAccountsByCreatorIdVariancePopulationUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', @@ -73107,6 +73761,8 @@ export enum IdentitiesOrderBy { ConfidentialAccountsByCreatorIdVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', ConfidentialAccountsByCreatorIdVarianceSampleCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_SAMPLE_CREATOR_ID_ASC', ConfidentialAccountsByCreatorIdVarianceSampleCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_SAMPLE_CREATOR_ID_DESC', + ConfidentialAccountsByCreatorIdVarianceSampleEventIdxAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', + ConfidentialAccountsByCreatorIdVarianceSampleEventIdxDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', ConfidentialAccountsByCreatorIdVarianceSampleIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_SAMPLE_ID_ASC', ConfidentialAccountsByCreatorIdVarianceSampleIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_SAMPLE_ID_DESC', ConfidentialAccountsByCreatorIdVarianceSampleUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', @@ -73127,6 +73783,8 @@ export enum IdentitiesOrderBy { ConfidentialAssetsByCreatorIdAverageCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_AVERAGE_CREATOR_ID_DESC', ConfidentialAssetsByCreatorIdAverageDataAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_AVERAGE_DATA_ASC', ConfidentialAssetsByCreatorIdAverageDataDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_AVERAGE_DATA_DESC', + ConfidentialAssetsByCreatorIdAverageEventIdxAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_AVERAGE_EVENT_IDX_ASC', + ConfidentialAssetsByCreatorIdAverageEventIdxDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_AVERAGE_EVENT_IDX_DESC', ConfidentialAssetsByCreatorIdAverageIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_AVERAGE_ID_ASC', ConfidentialAssetsByCreatorIdAverageIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_AVERAGE_ID_DESC', ConfidentialAssetsByCreatorIdAverageMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_AVERAGE_MEDIATORS_ASC', @@ -73157,6 +73815,8 @@ export enum IdentitiesOrderBy { ConfidentialAssetsByCreatorIdDistinctCountCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_DISTINCT_COUNT_CREATOR_ID_DESC', ConfidentialAssetsByCreatorIdDistinctCountDataAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_DISTINCT_COUNT_DATA_ASC', ConfidentialAssetsByCreatorIdDistinctCountDataDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_DISTINCT_COUNT_DATA_DESC', + ConfidentialAssetsByCreatorIdDistinctCountEventIdxAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_DISTINCT_COUNT_EVENT_IDX_ASC', + ConfidentialAssetsByCreatorIdDistinctCountEventIdxDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_DISTINCT_COUNT_EVENT_IDX_DESC', ConfidentialAssetsByCreatorIdDistinctCountIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_DISTINCT_COUNT_ID_ASC', ConfidentialAssetsByCreatorIdDistinctCountIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_DISTINCT_COUNT_ID_DESC', ConfidentialAssetsByCreatorIdDistinctCountMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_DISTINCT_COUNT_MEDIATORS_ASC', @@ -73185,6 +73845,8 @@ export enum IdentitiesOrderBy { ConfidentialAssetsByCreatorIdMaxCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MAX_CREATOR_ID_DESC', ConfidentialAssetsByCreatorIdMaxDataAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MAX_DATA_ASC', ConfidentialAssetsByCreatorIdMaxDataDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MAX_DATA_DESC', + ConfidentialAssetsByCreatorIdMaxEventIdxAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MAX_EVENT_IDX_ASC', + ConfidentialAssetsByCreatorIdMaxEventIdxDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MAX_EVENT_IDX_DESC', ConfidentialAssetsByCreatorIdMaxIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MAX_ID_ASC', ConfidentialAssetsByCreatorIdMaxIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MAX_ID_DESC', ConfidentialAssetsByCreatorIdMaxMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MAX_MEDIATORS_ASC', @@ -73213,6 +73875,8 @@ export enum IdentitiesOrderBy { ConfidentialAssetsByCreatorIdMinCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MIN_CREATOR_ID_DESC', ConfidentialAssetsByCreatorIdMinDataAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MIN_DATA_ASC', ConfidentialAssetsByCreatorIdMinDataDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MIN_DATA_DESC', + ConfidentialAssetsByCreatorIdMinEventIdxAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MIN_EVENT_IDX_ASC', + ConfidentialAssetsByCreatorIdMinEventIdxDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MIN_EVENT_IDX_DESC', ConfidentialAssetsByCreatorIdMinIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MIN_ID_ASC', ConfidentialAssetsByCreatorIdMinIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MIN_ID_DESC', ConfidentialAssetsByCreatorIdMinMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MIN_MEDIATORS_ASC', @@ -73241,6 +73905,8 @@ export enum IdentitiesOrderBy { ConfidentialAssetsByCreatorIdStddevPopulationCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_POPULATION_CREATOR_ID_DESC', ConfidentialAssetsByCreatorIdStddevPopulationDataAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_POPULATION_DATA_ASC', ConfidentialAssetsByCreatorIdStddevPopulationDataDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_POPULATION_DATA_DESC', + ConfidentialAssetsByCreatorIdStddevPopulationEventIdxAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_POPULATION_EVENT_IDX_ASC', + ConfidentialAssetsByCreatorIdStddevPopulationEventIdxDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_POPULATION_EVENT_IDX_DESC', ConfidentialAssetsByCreatorIdStddevPopulationIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_POPULATION_ID_ASC', ConfidentialAssetsByCreatorIdStddevPopulationIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_POPULATION_ID_DESC', ConfidentialAssetsByCreatorIdStddevPopulationMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_POPULATION_MEDIATORS_ASC', @@ -73269,6 +73935,8 @@ export enum IdentitiesOrderBy { ConfidentialAssetsByCreatorIdStddevSampleCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_SAMPLE_CREATOR_ID_DESC', ConfidentialAssetsByCreatorIdStddevSampleDataAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_SAMPLE_DATA_ASC', ConfidentialAssetsByCreatorIdStddevSampleDataDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_SAMPLE_DATA_DESC', + ConfidentialAssetsByCreatorIdStddevSampleEventIdxAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', + ConfidentialAssetsByCreatorIdStddevSampleEventIdxDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', ConfidentialAssetsByCreatorIdStddevSampleIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_SAMPLE_ID_ASC', ConfidentialAssetsByCreatorIdStddevSampleIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_SAMPLE_ID_DESC', ConfidentialAssetsByCreatorIdStddevSampleMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_SAMPLE_MEDIATORS_ASC', @@ -73297,6 +73965,8 @@ export enum IdentitiesOrderBy { ConfidentialAssetsByCreatorIdSumCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_SUM_CREATOR_ID_DESC', ConfidentialAssetsByCreatorIdSumDataAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_SUM_DATA_ASC', ConfidentialAssetsByCreatorIdSumDataDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_SUM_DATA_DESC', + ConfidentialAssetsByCreatorIdSumEventIdxAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_SUM_EVENT_IDX_ASC', + ConfidentialAssetsByCreatorIdSumEventIdxDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_SUM_EVENT_IDX_DESC', ConfidentialAssetsByCreatorIdSumIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_SUM_ID_ASC', ConfidentialAssetsByCreatorIdSumIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_SUM_ID_DESC', ConfidentialAssetsByCreatorIdSumMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_SUM_MEDIATORS_ASC', @@ -73325,6 +73995,8 @@ export enum IdentitiesOrderBy { ConfidentialAssetsByCreatorIdVariancePopulationCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_POPULATION_CREATOR_ID_DESC', ConfidentialAssetsByCreatorIdVariancePopulationDataAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_POPULATION_DATA_ASC', ConfidentialAssetsByCreatorIdVariancePopulationDataDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_POPULATION_DATA_DESC', + ConfidentialAssetsByCreatorIdVariancePopulationEventIdxAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', + ConfidentialAssetsByCreatorIdVariancePopulationEventIdxDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', ConfidentialAssetsByCreatorIdVariancePopulationIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_POPULATION_ID_ASC', ConfidentialAssetsByCreatorIdVariancePopulationIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_POPULATION_ID_DESC', ConfidentialAssetsByCreatorIdVariancePopulationMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_POPULATION_MEDIATORS_ASC', @@ -73353,6 +74025,8 @@ export enum IdentitiesOrderBy { ConfidentialAssetsByCreatorIdVarianceSampleCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_SAMPLE_CREATOR_ID_DESC', ConfidentialAssetsByCreatorIdVarianceSampleDataAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_SAMPLE_DATA_ASC', ConfidentialAssetsByCreatorIdVarianceSampleDataDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_SAMPLE_DATA_DESC', + ConfidentialAssetsByCreatorIdVarianceSampleEventIdxAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', + ConfidentialAssetsByCreatorIdVarianceSampleEventIdxDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', ConfidentialAssetsByCreatorIdVarianceSampleIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_SAMPLE_ID_ASC', ConfidentialAssetsByCreatorIdVarianceSampleIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_SAMPLE_ID_DESC', ConfidentialAssetsByCreatorIdVarianceSampleMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_SAMPLE_MEDIATORS_ASC', @@ -73373,6 +74047,8 @@ export enum IdentitiesOrderBy { ConfidentialTransactionAffirmationsAverageCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_AVERAGE_CREATED_AT_DESC', ConfidentialTransactionAffirmationsAverageCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_AVERAGE_CREATED_BLOCK_ID_ASC', ConfidentialTransactionAffirmationsAverageCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_AVERAGE_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsAverageEventIdxAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_AVERAGE_EVENT_IDX_ASC', + ConfidentialTransactionAffirmationsAverageEventIdxDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_AVERAGE_EVENT_IDX_DESC', ConfidentialTransactionAffirmationsAverageIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_AVERAGE_IDENTITY_ID_ASC', ConfidentialTransactionAffirmationsAverageIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_AVERAGE_IDENTITY_ID_DESC', ConfidentialTransactionAffirmationsAverageIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_AVERAGE_ID_ASC', @@ -73399,6 +74075,8 @@ export enum IdentitiesOrderBy { ConfidentialTransactionAffirmationsDistinctCountCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_DISTINCT_COUNT_CREATED_AT_DESC', ConfidentialTransactionAffirmationsDistinctCountCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', ConfidentialTransactionAffirmationsDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsDistinctCountEventIdxAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_DISTINCT_COUNT_EVENT_IDX_ASC', + ConfidentialTransactionAffirmationsDistinctCountEventIdxDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_DISTINCT_COUNT_EVENT_IDX_DESC', ConfidentialTransactionAffirmationsDistinctCountIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_DISTINCT_COUNT_IDENTITY_ID_ASC', ConfidentialTransactionAffirmationsDistinctCountIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_DISTINCT_COUNT_IDENTITY_ID_DESC', ConfidentialTransactionAffirmationsDistinctCountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_DISTINCT_COUNT_ID_ASC', @@ -73423,6 +74101,8 @@ export enum IdentitiesOrderBy { ConfidentialTransactionAffirmationsMaxCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MAX_CREATED_AT_DESC', ConfidentialTransactionAffirmationsMaxCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MAX_CREATED_BLOCK_ID_ASC', ConfidentialTransactionAffirmationsMaxCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MAX_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsMaxEventIdxAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MAX_EVENT_IDX_ASC', + ConfidentialTransactionAffirmationsMaxEventIdxDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MAX_EVENT_IDX_DESC', ConfidentialTransactionAffirmationsMaxIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MAX_IDENTITY_ID_ASC', ConfidentialTransactionAffirmationsMaxIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MAX_IDENTITY_ID_DESC', ConfidentialTransactionAffirmationsMaxIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MAX_ID_ASC', @@ -73447,6 +74127,8 @@ export enum IdentitiesOrderBy { ConfidentialTransactionAffirmationsMinCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MIN_CREATED_AT_DESC', ConfidentialTransactionAffirmationsMinCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MIN_CREATED_BLOCK_ID_ASC', ConfidentialTransactionAffirmationsMinCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MIN_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsMinEventIdxAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MIN_EVENT_IDX_ASC', + ConfidentialTransactionAffirmationsMinEventIdxDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MIN_EVENT_IDX_DESC', ConfidentialTransactionAffirmationsMinIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MIN_IDENTITY_ID_ASC', ConfidentialTransactionAffirmationsMinIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MIN_IDENTITY_ID_DESC', ConfidentialTransactionAffirmationsMinIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MIN_ID_ASC', @@ -73471,6 +74153,8 @@ export enum IdentitiesOrderBy { ConfidentialTransactionAffirmationsStddevPopulationCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_POPULATION_CREATED_AT_DESC', ConfidentialTransactionAffirmationsStddevPopulationCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', ConfidentialTransactionAffirmationsStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsStddevPopulationEventIdxAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_POPULATION_EVENT_IDX_ASC', + ConfidentialTransactionAffirmationsStddevPopulationEventIdxDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_POPULATION_EVENT_IDX_DESC', ConfidentialTransactionAffirmationsStddevPopulationIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_POPULATION_IDENTITY_ID_ASC', ConfidentialTransactionAffirmationsStddevPopulationIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_POPULATION_IDENTITY_ID_DESC', ConfidentialTransactionAffirmationsStddevPopulationIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_POPULATION_ID_ASC', @@ -73495,6 +74179,8 @@ export enum IdentitiesOrderBy { ConfidentialTransactionAffirmationsStddevSampleCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_SAMPLE_CREATED_AT_DESC', ConfidentialTransactionAffirmationsStddevSampleCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', ConfidentialTransactionAffirmationsStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsStddevSampleEventIdxAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_SAMPLE_EVENT_IDX_ASC', + ConfidentialTransactionAffirmationsStddevSampleEventIdxDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_SAMPLE_EVENT_IDX_DESC', ConfidentialTransactionAffirmationsStddevSampleIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_SAMPLE_IDENTITY_ID_ASC', ConfidentialTransactionAffirmationsStddevSampleIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_SAMPLE_IDENTITY_ID_DESC', ConfidentialTransactionAffirmationsStddevSampleIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_SAMPLE_ID_ASC', @@ -73519,6 +74205,8 @@ export enum IdentitiesOrderBy { ConfidentialTransactionAffirmationsSumCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_SUM_CREATED_AT_DESC', ConfidentialTransactionAffirmationsSumCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_SUM_CREATED_BLOCK_ID_ASC', ConfidentialTransactionAffirmationsSumCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_SUM_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsSumEventIdxAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_SUM_EVENT_IDX_ASC', + ConfidentialTransactionAffirmationsSumEventIdxDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_SUM_EVENT_IDX_DESC', ConfidentialTransactionAffirmationsSumIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_SUM_IDENTITY_ID_ASC', ConfidentialTransactionAffirmationsSumIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_SUM_IDENTITY_ID_DESC', ConfidentialTransactionAffirmationsSumIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_SUM_ID_ASC', @@ -73543,6 +74231,8 @@ export enum IdentitiesOrderBy { ConfidentialTransactionAffirmationsVariancePopulationCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_POPULATION_CREATED_AT_DESC', ConfidentialTransactionAffirmationsVariancePopulationCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', ConfidentialTransactionAffirmationsVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsVariancePopulationEventIdxAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_POPULATION_EVENT_IDX_ASC', + ConfidentialTransactionAffirmationsVariancePopulationEventIdxDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_POPULATION_EVENT_IDX_DESC', ConfidentialTransactionAffirmationsVariancePopulationIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_POPULATION_IDENTITY_ID_ASC', ConfidentialTransactionAffirmationsVariancePopulationIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_POPULATION_IDENTITY_ID_DESC', ConfidentialTransactionAffirmationsVariancePopulationIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_POPULATION_ID_ASC', @@ -73567,6 +74257,8 @@ export enum IdentitiesOrderBy { ConfidentialTransactionAffirmationsVarianceSampleCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_SAMPLE_CREATED_AT_DESC', ConfidentialTransactionAffirmationsVarianceSampleCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', ConfidentialTransactionAffirmationsVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', + ConfidentialTransactionAffirmationsVarianceSampleEventIdxAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_SAMPLE_EVENT_IDX_ASC', + ConfidentialTransactionAffirmationsVarianceSampleEventIdxDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_SAMPLE_EVENT_IDX_DESC', ConfidentialTransactionAffirmationsVarianceSampleIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_SAMPLE_IDENTITY_ID_ASC', ConfidentialTransactionAffirmationsVarianceSampleIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_SAMPLE_IDENTITY_ID_DESC', ConfidentialTransactionAffirmationsVarianceSampleIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_SAMPLE_ID_ASC', @@ -73591,6 +74283,8 @@ export enum IdentitiesOrderBy { ConfidentialVenuesByCreatorIdAverageCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_AVERAGE_CREATED_BLOCK_ID_DESC', ConfidentialVenuesByCreatorIdAverageCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_AVERAGE_CREATOR_ID_ASC', ConfidentialVenuesByCreatorIdAverageCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_AVERAGE_CREATOR_ID_DESC', + ConfidentialVenuesByCreatorIdAverageEventIdxAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_AVERAGE_EVENT_IDX_ASC', + ConfidentialVenuesByCreatorIdAverageEventIdxDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_AVERAGE_EVENT_IDX_DESC', ConfidentialVenuesByCreatorIdAverageIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_AVERAGE_ID_ASC', ConfidentialVenuesByCreatorIdAverageIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_AVERAGE_ID_DESC', ConfidentialVenuesByCreatorIdAverageUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_AVERAGE_UPDATED_AT_ASC', @@ -73607,6 +74301,8 @@ export enum IdentitiesOrderBy { ConfidentialVenuesByCreatorIdDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', ConfidentialVenuesByCreatorIdDistinctCountCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_DISTINCT_COUNT_CREATOR_ID_ASC', ConfidentialVenuesByCreatorIdDistinctCountCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_DISTINCT_COUNT_CREATOR_ID_DESC', + ConfidentialVenuesByCreatorIdDistinctCountEventIdxAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_DISTINCT_COUNT_EVENT_IDX_ASC', + ConfidentialVenuesByCreatorIdDistinctCountEventIdxDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_DISTINCT_COUNT_EVENT_IDX_DESC', ConfidentialVenuesByCreatorIdDistinctCountIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_DISTINCT_COUNT_ID_ASC', ConfidentialVenuesByCreatorIdDistinctCountIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_DISTINCT_COUNT_ID_DESC', ConfidentialVenuesByCreatorIdDistinctCountUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_DISTINCT_COUNT_UPDATED_AT_ASC', @@ -73621,6 +74317,8 @@ export enum IdentitiesOrderBy { ConfidentialVenuesByCreatorIdMaxCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MAX_CREATED_BLOCK_ID_DESC', ConfidentialVenuesByCreatorIdMaxCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MAX_CREATOR_ID_ASC', ConfidentialVenuesByCreatorIdMaxCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MAX_CREATOR_ID_DESC', + ConfidentialVenuesByCreatorIdMaxEventIdxAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MAX_EVENT_IDX_ASC', + ConfidentialVenuesByCreatorIdMaxEventIdxDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MAX_EVENT_IDX_DESC', ConfidentialVenuesByCreatorIdMaxIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MAX_ID_ASC', ConfidentialVenuesByCreatorIdMaxIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MAX_ID_DESC', ConfidentialVenuesByCreatorIdMaxUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MAX_UPDATED_AT_ASC', @@ -73635,6 +74333,8 @@ export enum IdentitiesOrderBy { ConfidentialVenuesByCreatorIdMinCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MIN_CREATED_BLOCK_ID_DESC', ConfidentialVenuesByCreatorIdMinCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MIN_CREATOR_ID_ASC', ConfidentialVenuesByCreatorIdMinCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MIN_CREATOR_ID_DESC', + ConfidentialVenuesByCreatorIdMinEventIdxAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MIN_EVENT_IDX_ASC', + ConfidentialVenuesByCreatorIdMinEventIdxDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MIN_EVENT_IDX_DESC', ConfidentialVenuesByCreatorIdMinIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MIN_ID_ASC', ConfidentialVenuesByCreatorIdMinIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MIN_ID_DESC', ConfidentialVenuesByCreatorIdMinUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MIN_UPDATED_AT_ASC', @@ -73649,6 +74349,8 @@ export enum IdentitiesOrderBy { ConfidentialVenuesByCreatorIdStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', ConfidentialVenuesByCreatorIdStddevPopulationCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_POPULATION_CREATOR_ID_ASC', ConfidentialVenuesByCreatorIdStddevPopulationCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_POPULATION_CREATOR_ID_DESC', + ConfidentialVenuesByCreatorIdStddevPopulationEventIdxAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_POPULATION_EVENT_IDX_ASC', + ConfidentialVenuesByCreatorIdStddevPopulationEventIdxDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_POPULATION_EVENT_IDX_DESC', ConfidentialVenuesByCreatorIdStddevPopulationIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_POPULATION_ID_ASC', ConfidentialVenuesByCreatorIdStddevPopulationIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_POPULATION_ID_DESC', ConfidentialVenuesByCreatorIdStddevPopulationUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_POPULATION_UPDATED_AT_ASC', @@ -73663,6 +74365,8 @@ export enum IdentitiesOrderBy { ConfidentialVenuesByCreatorIdStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', ConfidentialVenuesByCreatorIdStddevSampleCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_SAMPLE_CREATOR_ID_ASC', ConfidentialVenuesByCreatorIdStddevSampleCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_SAMPLE_CREATOR_ID_DESC', + ConfidentialVenuesByCreatorIdStddevSampleEventIdxAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', + ConfidentialVenuesByCreatorIdStddevSampleEventIdxDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', ConfidentialVenuesByCreatorIdStddevSampleIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_SAMPLE_ID_ASC', ConfidentialVenuesByCreatorIdStddevSampleIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_SAMPLE_ID_DESC', ConfidentialVenuesByCreatorIdStddevSampleUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', @@ -73677,6 +74381,8 @@ export enum IdentitiesOrderBy { ConfidentialVenuesByCreatorIdSumCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_SUM_CREATED_BLOCK_ID_DESC', ConfidentialVenuesByCreatorIdSumCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_SUM_CREATOR_ID_ASC', ConfidentialVenuesByCreatorIdSumCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_SUM_CREATOR_ID_DESC', + ConfidentialVenuesByCreatorIdSumEventIdxAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_SUM_EVENT_IDX_ASC', + ConfidentialVenuesByCreatorIdSumEventIdxDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_SUM_EVENT_IDX_DESC', ConfidentialVenuesByCreatorIdSumIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_SUM_ID_ASC', ConfidentialVenuesByCreatorIdSumIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_SUM_ID_DESC', ConfidentialVenuesByCreatorIdSumUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_SUM_UPDATED_AT_ASC', @@ -73691,6 +74397,8 @@ export enum IdentitiesOrderBy { ConfidentialVenuesByCreatorIdVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', ConfidentialVenuesByCreatorIdVariancePopulationCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_POPULATION_CREATOR_ID_ASC', ConfidentialVenuesByCreatorIdVariancePopulationCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_POPULATION_CREATOR_ID_DESC', + ConfidentialVenuesByCreatorIdVariancePopulationEventIdxAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', + ConfidentialVenuesByCreatorIdVariancePopulationEventIdxDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', ConfidentialVenuesByCreatorIdVariancePopulationIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_POPULATION_ID_ASC', ConfidentialVenuesByCreatorIdVariancePopulationIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_POPULATION_ID_DESC', ConfidentialVenuesByCreatorIdVariancePopulationUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', @@ -73705,6 +74413,8 @@ export enum IdentitiesOrderBy { ConfidentialVenuesByCreatorIdVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', ConfidentialVenuesByCreatorIdVarianceSampleCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_SAMPLE_CREATOR_ID_ASC', ConfidentialVenuesByCreatorIdVarianceSampleCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_SAMPLE_CREATOR_ID_DESC', + ConfidentialVenuesByCreatorIdVarianceSampleEventIdxAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', + ConfidentialVenuesByCreatorIdVarianceSampleEventIdxDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', ConfidentialVenuesByCreatorIdVarianceSampleIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_SAMPLE_ID_ASC', ConfidentialVenuesByCreatorIdVarianceSampleIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_SAMPLE_ID_DESC', ConfidentialVenuesByCreatorIdVarianceSampleUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', @@ -109585,6 +110295,7 @@ export enum Confidential_Accounts_Distinct_Enum { CreatedAt = 'CREATED_AT', CreatedBlockId = 'CREATED_BLOCK_ID', CreatorId = 'CREATOR_ID', + EventIdx = 'EVENT_IDX', Id = 'ID', UpdatedAt = 'UPDATED_AT', UpdatedBlockId = 'UPDATED_BLOCK_ID', @@ -109614,6 +110325,7 @@ export enum Confidential_Asset_Holders_Distinct_Enum { AssetId = 'ASSET_ID', CreatedAt = 'CREATED_AT', CreatedBlockId = 'CREATED_BLOCK_ID', + EventIdx = 'EVENT_IDX', Id = 'ID', UpdatedAt = 'UPDATED_AT', UpdatedBlockId = 'UPDATED_BLOCK_ID', @@ -109627,6 +110339,7 @@ export enum Confidential_Assets_Distinct_Enum { CreatedBlockId = 'CREATED_BLOCK_ID', CreatorId = 'CREATOR_ID', Data = 'DATA', + EventIdx = 'EVENT_IDX', Id = 'ID', Mediators = 'MEDIATORS', Ticker = 'TICKER', @@ -109653,6 +110366,7 @@ export enum Confidential_Transaction_Affirmations_Distinct_Enum { AccountId = 'ACCOUNT_ID', CreatedAt = 'CREATED_AT', CreatedBlockId = 'CREATED_BLOCK_ID', + EventIdx = 'EVENT_IDX', Id = 'ID', IdentityId = 'IDENTITY_ID', LegId = 'LEG_ID', @@ -109682,6 +110396,7 @@ export enum Confidential_Venues_Distinct_Enum { CreatedAt = 'CREATED_AT', CreatedBlockId = 'CREATED_BLOCK_ID', CreatorId = 'CREATOR_ID', + EventIdx = 'EVENT_IDX', Id = 'ID', UpdatedAt = 'UPDATED_AT', UpdatedBlockId = 'UPDATED_BLOCK_ID', From f6774c7cc9082ad5c50ce32f5ed00953bfb04336 Mon Sep 17 00:00:00 2001 From: Toms Veidemanis Date: Tue, 20 Feb 2024 22:16:51 +0700 Subject: [PATCH 091/120] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20get=20creation?= =?UTF-8?q?=20date=20of=20ConfidentialAsset?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../confidential/ConfidentialAsset/index.ts | 38 +++++++++++++- .../__tests__/ConfidentialAsset/index.ts | 51 ++++++++++++++++++- src/middleware/__tests__/queries.ts | 14 +++++ src/middleware/queries.ts | 30 +++++++++++ 4 files changed, 130 insertions(+), 3 deletions(-) diff --git a/src/api/entities/confidential/ConfidentialAsset/index.ts b/src/api/entities/confidential/ConfidentialAsset/index.ts index be87102046..6252818195 100644 --- a/src/api/entities/confidential/ConfidentialAsset/index.ts +++ b/src/api/entities/confidential/ConfidentialAsset/index.ts @@ -12,13 +12,17 @@ import { PolymeshError, setConfidentialVenueFiltering, } from '~/internal'; -import { transactionHistoryByConfidentialAssetQuery } from '~/middleware/queries'; +import { + confidentialAssetQuery, + transactionHistoryByConfidentialAssetQuery, +} from '~/middleware/queries'; import { Query } from '~/middleware/types'; import { ConfidentialAssetDetails, ConfidentialAssetTransactionHistory, ConfidentialVenueFilteringDetails, ErrorCode, + EventIdentifier, GroupedAuditors, IssueConfidentialAssetParams, ProcedureMethod, @@ -31,12 +35,18 @@ import { bytesToString, identityIdToString, middlewareAssetHistoryToTransactionHistory, + middlewareEventDetailsToEventIdentifier, serializeConfidentialAssetId, tickerToString, u64ToBigNumber, u128ToBigNumber, } from '~/utils/conversion'; -import { assertCaAssetValid, calculateNextKey, createProcedureMethod } from '~/utils/internal'; +import { + assertCaAssetValid, + calculateNextKey, + createProcedureMethod, + optionize, +} from '~/utils/internal'; /** * Properties that uniquely identify a ConfidentialAsset @@ -284,4 +294,28 @@ export class ConfidentialAsset extends Entity { count, }; } + + /** + * Retrieve the identifier data (block number, date and event index) of the event that was emitted when the ConfidentialAsset was created + * + * @note uses the middlewareV2 + * @note there is a possibility that the data is not ready by the time it is requested. In that case, `null` is returned + */ + public async createdAt(): Promise { + const { context, id } = this; + + const { + data: { + confidentialAssets: { + nodes: [asset], + }, + }, + } = await context.queryMiddleware>( + confidentialAssetQuery({ + id, + }) + ); + + return optionize(middlewareEventDetailsToEventIdentifier)(asset?.createdBlock, asset?.eventIdx); + } } diff --git a/src/api/entities/confidential/__tests__/ConfidentialAsset/index.ts b/src/api/entities/confidential/__tests__/ConfidentialAsset/index.ts index 73d42e4550..36fb439f54 100644 --- a/src/api/entities/confidential/__tests__/ConfidentialAsset/index.ts +++ b/src/api/entities/confidential/__tests__/ConfidentialAsset/index.ts @@ -3,7 +3,10 @@ import BigNumber from 'bignumber.js'; import { when } from 'jest-when'; import { ConfidentialAsset, Context, Entity, PolymeshError, PolymeshTransaction } from '~/internal'; -import { transactionHistoryByConfidentialAssetQuery } from '~/middleware/queries'; +import { + confidentialAssetQuery, + transactionHistoryByConfidentialAssetQuery, +} from '~/middleware/queries'; import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; import { ConfidentialAssetTransactionHistory, ErrorCode } from '~/types'; import { tuple } from '~/types/utils'; @@ -391,4 +394,50 @@ describe('ConfidentialAsset class', () => { expect(result.next).toEqual(new BigNumber(result.data.length)); }); }); + + describe('method: createdAt', () => { + it('should return the event identifier object of the ConfidentialAsset creation', async () => { + const blockNumber = new BigNumber(1234); + const blockDate = new Date('4/14/2020'); + const blockHash = 'someHash'; + const eventIdx = new BigNumber(1); + const variables = { + id, + }; + const fakeResult = { blockNumber, blockHash, blockDate, eventIndex: eventIdx }; + + dsMockUtils.createApolloQueryMock(confidentialAssetQuery(variables), { + confidentialAssets: { + nodes: [ + { + createdBlock: { + blockId: blockNumber.toNumber(), + datetime: blockDate, + hash: blockHash, + }, + eventIdx: eventIdx.toNumber(), + }, + ], + }, + }); + + const result = await confidentialAsset.createdAt(); + + expect(result).toEqual(fakeResult); + }); + + it('should return null if the query result is empty', async () => { + const variables = { + id, + }; + + dsMockUtils.createApolloQueryMock(confidentialAssetQuery(variables), { + confidentialAssets: { + nodes: [], + }, + }); + const result = await confidentialAsset.createdAt(); + expect(result).toBeNull(); + }); + }); }); diff --git a/src/middleware/__tests__/queries.ts b/src/middleware/__tests__/queries.ts index 3f49bc7df6..5b4ea17fae 100644 --- a/src/middleware/__tests__/queries.ts +++ b/src/middleware/__tests__/queries.ts @@ -7,6 +7,7 @@ import { authorizationsQuery, claimsGroupingQuery, claimsQuery, + confidentialAssetQuery, confidentialAssetsByHolderQuery, createCustomClaimTypeQueryFilters, customClaimTypeQuery, @@ -622,3 +623,16 @@ describe('confidentialAssetsByHolderQuery', () => { }); }); }); + +describe('confidentialAssetQuery', () => { + it('should pass the variables to the grapqhl query', () => { + const variables = { + id: 'assetId', + }; + + const result = confidentialAssetQuery(variables); + + expect(result.query).toBeDefined(); + expect(result.variables).toEqual(variables); + }); +}); diff --git a/src/middleware/queries.ts b/src/middleware/queries.ts index 973f1148b9..9e196eba10 100644 --- a/src/middleware/queries.ts +++ b/src/middleware/queries.ts @@ -14,6 +14,7 @@ import { ClaimsGroupBy, ClaimsOrderBy, ClaimTypeEnum, + ConfidentialAsset, ConfidentialAssetHistory, ConfidentialAssetHolder, ConfidentialAssetHoldersOrderBy, @@ -1703,3 +1704,32 @@ export function transactionHistoryByConfidentialAssetQuery( variables: { size: size?.toNumber(), start: start?.toNumber(), assetId }, }; } + +/** + * @hidden + * + * Get ConfidentialAsset details for a given id + */ +export function confidentialAssetQuery( + variables: QueryArgs +): QueryOptions> { + const query = gql` + query ConfidentialAssetQuery($id: String!) { + confidentialAssets(filter: { id: { equalTo: $id } }) { + nodes { + eventIdx + createdBlock { + blockId + datetime + hash + } + } + } + } + `; + + return { + query, + variables, + }; +} From 644bfcd9d397cc1739327baae8d371b898cd074b Mon Sep 17 00:00:00 2001 From: Prashant Bajpai <34747455+prashantasdeveloper@users.noreply.github.com> Date: Wed, 21 Feb 2024 16:43:08 +0530 Subject: [PATCH 092/120] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20Update=20polkado?= =?UTF-8?q?t-types=20and=20docs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vscode/settings.json | 6 +- scripts/transactions.json | 19 +- src/api/client/ConfidentialAccounts.ts | 2 +- src/api/client/ConfidentialAssets.ts | 35 - .../client/__tests__/ConfidentialAccounts.ts | 4 +- .../client/__tests__/ConfidentialAssets.ts | 54 - .../confidential/ConfidentialAccount/index.ts | 2 +- .../confidential/ConfidentialAccount/types.ts | 18 +- .../confidential/ConfidentialAsset/index.ts | 11 +- .../confidential/ConfidentialAsset/types.ts | 18 +- .../ConfidentialTransaction/types.ts | 9 + .../__tests__/ConfidentialAccount/index.ts | 4 +- .../__tests__/ConfidentialAsset/index.ts | 29 +- .../__tests__/applyIncomingAssetBalance.ts | 4 +- .../__tests__/createConfidentialAsset.ts | 24 +- .../__tests__/issueConfidentialAssets.ts | 14 +- .../procedures/applyIncomingAssetBalance.ts | 2 +- src/api/procedures/createConfidentialAsset.ts | 24 +- src/api/procedures/issueConfidentialAssets.ts | 14 +- src/generated/types.ts | 13 + src/polkadot/augment-api-errors.ts | 96 +- src/polkadot/augment-api-events.ts | 305 +++-- src/polkadot/augment-api-query.ts | 55 +- src/polkadot/augment-api-tx.ts | 344 +++++- src/polkadot/lookup.ts | 859 ++++++++------ src/polkadot/registry.ts | 4 + src/polkadot/types-lookup.ts | 1001 ++++++++++------- 27 files changed, 1867 insertions(+), 1103 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index adf854b6a1..26ecc8d0d7 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -14,11 +14,11 @@ ".vscode-insiders", "src/polkadot", "src/middleware", - ".eslintrc", + ".eslintrc" ], "cSpell.ignoreRegExpList": [ "/from\\s+(['\"]).*\\1/", // ignore imports - "/\/\/ TODO @\\w+/", // ignore github handles in TODOs + "/// TODO @\\w+/", // ignore github handles in TODOs "/0x.+/" // ignore hex values ], "cSpell.words": [ @@ -35,12 +35,14 @@ "discoverability", "dispatchable", "dispatchables", + "Elgamal", "Encodable", "Externalagents", "Extrinsics", "Falsyable", "Figi", "frontends", + "Gamal", "inmemory", "Isin", "millis", diff --git a/scripts/transactions.json b/scripts/transactions.json index 9d3255d5c8..c931e5c139 100644 --- a/scripts/transactions.json +++ b/scripts/transactions.json @@ -256,7 +256,9 @@ "exempt_ticker_affirmation": "exempt_ticker_affirmation", "remove_ticker_affirmation_exemption": "remove_ticker_affirmation_exemption", "pre_approve_ticker": "pre_approve_ticker", - "remove_ticker_pre_approval": "remove_ticker_pre_approval" + "remove_ticker_pre_approval": "remove_ticker_pre_approval", + "add_mandatory_mediators": "add_mandatory_mediators", + "remove_mandatory_mediators": "remove_mandatory_mediators" }, "CapitalDistribution": { "distribute": "distribute", @@ -387,7 +389,12 @@ "affirm_with_receipts_with_count": "affirm_with_receipts_with_count", "affirm_instruction_with_count": "affirm_instruction_with_count", "reject_instruction_with_count": "reject_instruction_with_count", - "withdraw_affirmation_with_count": "withdraw_affirmation_with_count" + "withdraw_affirmation_with_count": "withdraw_affirmation_with_count", + "add_instruction_with_mediators": "add_instruction_with_mediators", + "add_and_affirm_with_mediators": "add_and_affirm_with_mediators", + "affirm_instruction_as_mediator": "affirm_instruction_as_mediator", + "withdraw_affirmation_as_mediator": "withdraw_affirmation_as_mediator", + "reject_instruction_as_mediator": "reject_instruction_as_mediator" }, "Statistics": { "add_transfer_manager": "add_transfer_manager", @@ -499,6 +506,12 @@ "add_transaction": "add_transaction", "affirm_transactions": "affirm_transactions", "execute_transaction": "execute_transaction", - "reject_transaction": "reject_transaction" + "reject_transaction": "reject_transaction", + "create_asset": "create_asset", + "mint": "mint", + "set_asset_frozen": "set_asset_frozen", + "set_account_asset_frozen": "set_account_asset_frozen", + "apply_incoming_balances": "apply_incoming_balances", + "burn": "burn" } } diff --git a/src/api/client/ConfidentialAccounts.ts b/src/api/client/ConfidentialAccounts.ts index 6ec2d47a84..04fe28d33a 100644 --- a/src/api/client/ConfidentialAccounts.ts +++ b/src/api/client/ConfidentialAccounts.ts @@ -71,7 +71,7 @@ export class ConfidentialAccounts { >; /** - * Applies incoming balance to a Confidnetial Account + * Applies incoming balance to a Confidential Account */ public applyIncomingBalance: ProcedureMethod; } diff --git a/src/api/client/ConfidentialAssets.ts b/src/api/client/ConfidentialAssets.ts index 5c030a7633..b6f9249ddf 100644 --- a/src/api/client/ConfidentialAssets.ts +++ b/src/api/client/ConfidentialAssets.ts @@ -1,6 +1,5 @@ import { ConfidentialAsset, Context, createConfidentialAsset, PolymeshError } from '~/internal'; import { CreateConfidentialAssetParams, ErrorCode, ProcedureMethod } from '~/types'; -import { meshConfidentialAssetToAssetId, stringToTicker } from '~/utils/conversion'; import { createProcedureMethod } from '~/utils/internal'; /** @@ -45,40 +44,6 @@ export class ConfidentialAssets { return confidentialAsset; } - /** - * Retrieves a ConfidentialAsset for a given ticker - */ - public async getConfidentialAssetFromTicker(args: { - ticker: string; - }): Promise { - const { - context, - context: { - polymeshApi: { - query: { confidentialAsset }, - }, - }, - } = this; - - const { ticker } = args; - const rawTicker = stringToTicker(ticker, context); - const rawAssetId = await confidentialAsset.tickerToAsset(rawTicker); - - if (rawAssetId.isNone) { - throw new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: 'The ticker is not mapped to any Confidential Asset', - data: { - ticker, - }, - }); - } - - const assetId = meshConfidentialAssetToAssetId(rawAssetId.unwrap()); - - return new ConfidentialAsset({ id: assetId }, context); - } - /** * Create a confidential Asset */ diff --git a/src/api/client/__tests__/ConfidentialAccounts.ts b/src/api/client/__tests__/ConfidentialAccounts.ts index 5111048515..a38d7c0a82 100644 --- a/src/api/client/__tests__/ConfidentialAccounts.ts +++ b/src/api/client/__tests__/ConfidentialAccounts.ts @@ -91,8 +91,8 @@ describe('ConfidentialAccounts Class', () => { describe('method: applyIncomingBalance', () => { it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { const args = { - asset: 'someAsset', - account: 'someAccount', + confidentialAsset: 'someAsset', + confidentialAccount: 'someAccount', }; const expectedTransaction = diff --git a/src/api/client/__tests__/ConfidentialAssets.ts b/src/api/client/__tests__/ConfidentialAssets.ts index e93f339709..39d778c5b8 100644 --- a/src/api/client/__tests__/ConfidentialAssets.ts +++ b/src/api/client/__tests__/ConfidentialAssets.ts @@ -1,4 +1,3 @@ -import { PolymeshPrimitivesTicker } from '@polkadot/types/lookup'; import { when } from 'jest-when'; import { ConfidentialAssets } from '~/api/client/ConfidentialAssets'; @@ -6,7 +5,6 @@ import { ConfidentialAsset, Context, PolymeshError, PolymeshTransaction } from ' import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; import { Mocked } from '~/testUtils/types'; import { ErrorCode } from '~/types'; -import * as utilsConversionModule from '~/utils/conversion'; jest.mock( '~/api/entities/confidential/ConfidentialAsset', @@ -95,56 +93,4 @@ describe('ConfidentialAssets Class', () => { expect(tx).toBe(expectedTransaction); }); }); - - describe('method: getConfidentialAssetFromTicker', () => { - let ticker: string; - let rawTicker: PolymeshPrimitivesTicker; - let stringToTickerSpy: jest.SpyInstance; - let meshConfidentialAssetToAssetIdSpy: jest.SpyInstance; - let assetId: string; - - beforeAll(() => { - stringToTickerSpy = jest.spyOn(utilsConversionModule, 'stringToTicker'); - meshConfidentialAssetToAssetIdSpy = jest.spyOn( - utilsConversionModule, - 'meshConfidentialAssetToAssetId' - ); - }); - - beforeEach(() => { - ticker = 'SOME_TICKER'; - assetId = 'SOME_ASSET_ID'; - rawTicker = dsMockUtils.createMockTicker(ticker); - when(stringToTickerSpy).calledWith(ticker, context).mockReturnValue(rawTicker); - meshConfidentialAssetToAssetIdSpy.mockReturnValue(assetId); - }); - - it('should return the number of pending affirmations', async () => { - dsMockUtils.createQueryMock('confidentialAsset', 'tickerToAsset', { - returnValue: dsMockUtils.createMockOption(dsMockUtils.createMockU8aFixed(assetId)), - }); - - const result = await confidentialAssets.getConfidentialAssetFromTicker({ ticker }); - - expect(result).toEqual(expect.objectContaining({ id: assetId })); - }); - - it('should throw an error if the count is not found', async () => { - dsMockUtils.createQueryMock('confidentialAsset', 'tickerToAsset', { - returnValue: dsMockUtils.createMockOption(), - }); - - const expectedError = new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: 'The ticker is not mapped to any Confidential Asset', - data: { - ticker, - }, - }); - - return expect(confidentialAssets.getConfidentialAssetFromTicker({ ticker })).rejects.toThrow( - expectedError - ); - }); - }); }); diff --git a/src/api/entities/confidential/ConfidentialAccount/index.ts b/src/api/entities/confidential/ConfidentialAccount/index.ts index 0d743d5454..2dd9ad62c9 100644 --- a/src/api/entities/confidential/ConfidentialAccount/index.ts +++ b/src/api/entities/confidential/ConfidentialAccount/index.ts @@ -97,7 +97,7 @@ export class ConfidentialAccount extends Entity { const assetId = meshConfidentialAssetToAssetId(rawAssetId); const encryptedBalance = rawBalance.unwrap(); return { - asset: new ConfidentialAsset({ id: assetId }, context), + confidentialAsset: new ConfidentialAsset({ id: assetId }, context), balance: encryptedBalance.toString(), }; }; diff --git a/src/api/entities/confidential/ConfidentialAccount/types.ts b/src/api/entities/confidential/ConfidentialAccount/types.ts index 162ab582bb..f680f129fe 100644 --- a/src/api/entities/confidential/ConfidentialAccount/types.ts +++ b/src/api/entities/confidential/ConfidentialAccount/types.ts @@ -1,17 +1,27 @@ import { ConfidentialAccount, ConfidentialAsset } from '~/internal'; +export interface CreateConfidentialAccountParams { + /** + * Public key of the ElGamal key pair + */ + publicKey: string; +} + export interface ConfidentialAssetBalance { - asset: ConfidentialAsset; + confidentialAsset: ConfidentialAsset; + /** + * encrypted balance + */ balance: string; } export interface ApplyIncomingBalanceParams { /** - * Confidential Account to which the incoming balance is to be applied + * Confidential Account (or the public key of the ElGamal key pair) to which the incoming balance is to be applied */ - account: string | ConfidentialAccount; + confidentialAccount: string | ConfidentialAccount; /** * Confidential Asset whose balance is to be applied */ - asset: string | ConfidentialAsset; + confidentialAsset: string | ConfidentialAsset; } diff --git a/src/api/entities/confidential/ConfidentialAsset/index.ts b/src/api/entities/confidential/ConfidentialAsset/index.ts index be87102046..4535227b1f 100644 --- a/src/api/entities/confidential/ConfidentialAsset/index.ts +++ b/src/api/entities/confidential/ConfidentialAsset/index.ts @@ -32,7 +32,6 @@ import { identityIdToString, middlewareAssetHistoryToTransactionHistory, serializeConfidentialAssetId, - tickerToString, u64ToBigNumber, u128ToBigNumber, } from '~/utils/conversion'; @@ -80,7 +79,12 @@ export class ConfidentialAsset extends Entity { this.id = assertCaAssetValid(id); this.issue = createProcedureMethod( - { getProcedureAndArgs: args => [issueConfidentialAssets, { asset: this, ...args }] }, + { + getProcedureAndArgs: args => [ + issueConfidentialAssets, + { confidentialAsset: this, ...args }, + ], + }, context ); @@ -139,10 +143,9 @@ export class ConfidentialAsset extends Entity { }); } - const { data, ticker, ownerDid, totalSupply } = assetDetails.unwrap(); + const { data, ownerDid, totalSupply } = assetDetails.unwrap(); return { - ticker: ticker.isNone ? undefined : tickerToString(ticker.unwrap()), data: bytesToString(data), totalSupply: u128ToBigNumber(totalSupply), owner: new Identity({ did: identityIdToString(ownerDid) }, context), diff --git a/src/api/entities/confidential/ConfidentialAsset/types.ts b/src/api/entities/confidential/ConfidentialAsset/types.ts index 2be3f40a04..0e1379991a 100644 --- a/src/api/entities/confidential/ConfidentialAsset/types.ts +++ b/src/api/entities/confidential/ConfidentialAsset/types.ts @@ -8,10 +8,6 @@ export interface ConfidentialAssetDetails { owner: Identity; totalSupply: BigNumber; data: string; - /** - * optional ticker value if provided while creating the confidential Asset - */ - ticker?: string; } export interface GroupedAuditors { @@ -25,23 +21,15 @@ export interface CreateConfidentialAssetParams { */ data: string; /** - * optional ticker to be assigned to the Confidential Asset - */ - ticker?: string; - /** - * list of auditors for the Confidential Asset + * list of auditors for the Confidential Asset. This is a list of Confidential Accounts (or the public key of the ElGamal key pairs) of the auditors */ auditors: (ConfidentialAccount | string)[]; /** - * optional list of mediators for the Confidential Asset + * optional list of mediators for the Confidential Asset. This is a list of Identities or DIDs of the mediators */ mediators?: (Identity | string)[]; } -export interface CreateConfidentialAccountParams { - publicKey: string; -} - export interface IssueConfidentialAssetParams { /** * number of confidential Assets to be minted @@ -50,7 +38,7 @@ export interface IssueConfidentialAssetParams { /** * the asset issuer's Confidential Account to receive the minted Assets */ - account: ConfidentialAccount | string; + confidentialAccount: ConfidentialAccount | string; } export type ConfidentialVenueFilteringDetails = diff --git a/src/api/entities/confidential/ConfidentialTransaction/types.ts b/src/api/entities/confidential/ConfidentialTransaction/types.ts index af98c11fbc..055377b6b3 100644 --- a/src/api/entities/confidential/ConfidentialTransaction/types.ts +++ b/src/api/entities/confidential/ConfidentialTransaction/types.ts @@ -11,12 +11,21 @@ export interface GroupedTransactions { export interface ConfidentialLeg { id: BigNumber; + /** + * the sender Confidential Account + */ sender: ConfidentialAccount; + /** + * the receiver Confidential Account + */ receiver: ConfidentialAccount; /** * The auditors for the leg, grouped by asset they are auditors for. Note: the same auditor may appear for multiple assets */ assetAuditors: { asset: ConfidentialAsset; auditors: ConfidentialAccount[] }[]; + /** + * List of mediator Identities + */ mediators: Identity[]; } diff --git a/src/api/entities/confidential/__tests__/ConfidentialAccount/index.ts b/src/api/entities/confidential/__tests__/ConfidentialAccount/index.ts index 24700fc6f3..ed01ba2824 100644 --- a/src/api/entities/confidential/__tests__/ConfidentialAccount/index.ts +++ b/src/api/entities/confidential/__tests__/ConfidentialAccount/index.ts @@ -104,7 +104,7 @@ describe('ConfidentialAccount class', () => { expect(result).toEqual( expect.arrayContaining([ expect.objectContaining({ - asset: expect.objectContaining({ id: assetId }), + confidentialAsset: expect.objectContaining({ id: assetId }), balance: encryptedBalance, }), ]) @@ -164,7 +164,7 @@ describe('ConfidentialAccount class', () => { expect(result).toEqual( expect.arrayContaining([ expect.objectContaining({ - asset: expect.objectContaining({ id: assetId }), + confidentialAsset: expect.objectContaining({ id: assetId }), balance: encryptedBalance, }), ]) diff --git a/src/api/entities/confidential/__tests__/ConfidentialAsset/index.ts b/src/api/entities/confidential/__tests__/ConfidentialAsset/index.ts index 73d42e4550..090091ef79 100644 --- a/src/api/entities/confidential/__tests__/ConfidentialAsset/index.ts +++ b/src/api/entities/confidential/__tests__/ConfidentialAsset/index.ts @@ -92,18 +92,14 @@ describe('ConfidentialAsset class', () => { it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { const args = { amount: new BigNumber(100), - account: 'someAccount', + confidentialAccount: 'someAccount', }; const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; when(procedureMockUtils.getPrepareMock()) - .calledWith( - { args: { asset: confidentialAsset, ...args }, transformer: undefined }, - context, - {} - ) + .calledWith({ args: { confidentialAsset, ...args }, transformer: undefined }, context, {}) .mockResolvedValue(expectedTransaction); const tx = await confidentialAsset.issue(args); @@ -192,30 +188,11 @@ describe('ConfidentialAsset class', () => { did: assetDetails.ownerDid, }), totalSupply: assetDetails.totalSupply, - ticker: undefined, }; - let result = await confidentialAsset.details(); + const result = await confidentialAsset.details(); expect(result).toEqual(expect.objectContaining(expectedAssetDetails)); - - detailsQueryMock.mockResolvedValueOnce( - dsMockUtils.createMockOption( - dsMockUtils.createMockConfidentialAssetDetails({ - ...assetDetails, - ticker: dsMockUtils.createMockOption(dsMockUtils.createMockTicker('SOME_TICKER')), - }) - ) - ); - - result = await confidentialAsset.details(); - - expect(result).toEqual( - expect.objectContaining({ - ...expectedAssetDetails, - ticker: 'SOME_TICKER', - }) - ); }); it('should throw an error if confidential Asset details are not available', async () => { diff --git a/src/api/procedures/__tests__/applyIncomingAssetBalance.ts b/src/api/procedures/__tests__/applyIncomingAssetBalance.ts index 48974f87fd..c529bf2b69 100644 --- a/src/api/procedures/__tests__/applyIncomingAssetBalance.ts +++ b/src/api/procedures/__tests__/applyIncomingAssetBalance.ts @@ -41,8 +41,8 @@ describe('applyIncomingAssetBalance procedure', () => { account = entityMockUtils.getConfidentialAccountInstance(); args = { - asset, - account, + confidentialAsset: asset, + confidentialAccount: account, }; }); diff --git a/src/api/procedures/__tests__/createConfidentialAsset.ts b/src/api/procedures/__tests__/createConfidentialAsset.ts index 557a172b5d..d98409fd56 100644 --- a/src/api/procedures/__tests__/createConfidentialAsset.ts +++ b/src/api/procedures/__tests__/createConfidentialAsset.ts @@ -1,7 +1,4 @@ -import { - PalletConfidentialAssetConfidentialAuditors, - PolymeshPrimitivesTicker, -} from '@polkadot/types/lookup'; +import { PalletConfidentialAssetConfidentialAuditors } from '@polkadot/types/lookup'; import { ISubmittableResult } from '@polkadot/types/types'; import { Bytes } from '@polkadot/types-codec'; import { when } from 'jest-when'; @@ -20,14 +17,11 @@ import * as utilsInternalModule from '~/utils/internal'; describe('createConfidentialAsset procedure', () => { let mockContext: Mocked; - let ticker: string; - let rawTicker: PolymeshPrimitivesTicker; let data: string; let rawData: Bytes; let auditors: ConfidentialAccount[]; let mediators: Identity[]; let rawAuditors: PalletConfidentialAssetConfidentialAuditors; - let stringToTickerSpy: jest.SpyInstance; let stringToBytesSpy: jest.SpyInstance; let auditorsToConfidentialAuditorsSpy: jest.SpyInstance; @@ -36,7 +30,6 @@ describe('createConfidentialAsset procedure', () => { procedureMockUtils.initMocks(); entityMockUtils.initMocks(); - stringToTickerSpy = jest.spyOn(utilsConversionModule, 'stringToTicker'); stringToBytesSpy = jest.spyOn(utilsConversionModule, 'stringToBytes'); auditorsToConfidentialAuditorsSpy = jest.spyOn( utilsConversionModule, @@ -58,12 +51,9 @@ describe('createConfidentialAsset procedure', () => { mediators: ['someMediatorDid'], }); - ticker = 'SOME_TICKER'; - rawTicker = dsMockUtils.createMockTicker(ticker); data = 'SOME_DATA'; rawData = dsMockUtils.createMockBytes(data); - when(stringToTickerSpy).calledWith(ticker, mockContext).mockReturnValue(rawTicker); when(stringToBytesSpy).calledWith(data, mockContext).mockReturnValue(rawData); when(auditorsToConfidentialAuditorsSpy) .calledWith(mockContext, auditors, mediators) @@ -101,7 +91,6 @@ describe('createConfidentialAsset procedure', () => { }); return expect( prepareCreateConfidentialAsset.call(proc, { - ticker, data, auditors: invalidAuditors, }) @@ -115,11 +104,10 @@ describe('createConfidentialAsset procedure', () => { const createConfidentialAssetTransaction = dsMockUtils.createTxMock( 'confidentialAsset', - 'createConfidentialAsset' + 'createAsset' ); let result = await prepareCreateConfidentialAsset.call(proc, { - ticker, data, auditors, mediators, @@ -128,7 +116,7 @@ describe('createConfidentialAsset procedure', () => { expect(result).toEqual({ transaction: createConfidentialAssetTransaction, resolver: expect.any(Function), - args: [rawTicker, rawData, rawAuditors], + args: [rawData, rawAuditors], }); when(auditorsToConfidentialAuditorsSpy) @@ -136,7 +124,6 @@ describe('createConfidentialAsset procedure', () => { .mockReturnValue(rawAuditors); result = await prepareCreateConfidentialAsset.call(proc, { - ticker, data, auditors, mediators: [], @@ -145,11 +132,10 @@ describe('createConfidentialAsset procedure', () => { expect(result).toEqual({ transaction: createConfidentialAssetTransaction, resolver: expect.any(Function), - args: [rawTicker, rawData, rawAuditors], + args: [rawData, rawAuditors], }); result = await prepareCreateConfidentialAsset.call(proc, { - ticker, data, auditors, }); @@ -157,7 +143,7 @@ describe('createConfidentialAsset procedure', () => { expect(result).toEqual({ transaction: createConfidentialAssetTransaction, resolver: expect.any(Function), - args: [rawTicker, rawData, rawAuditors], + args: [rawData, rawAuditors], }); }); diff --git a/src/api/procedures/__tests__/issueConfidentialAssets.ts b/src/api/procedures/__tests__/issueConfidentialAssets.ts index 3d3dfb7eaa..aafda0abe9 100644 --- a/src/api/procedures/__tests__/issueConfidentialAssets.ts +++ b/src/api/procedures/__tests__/issueConfidentialAssets.ts @@ -58,9 +58,9 @@ describe('issueConfidentialAssets procedure', () => { account = entityMockUtils.getConfidentialAccountInstance(); args = { - asset, + confidentialAsset: asset, amount, - account, + confidentialAccount: account, }; }); @@ -102,7 +102,7 @@ describe('issueConfidentialAssets procedure', () => { await expect( prepareConfidentialAssets.call(proc, { ...args, - account: entityMockUtils.getConfidentialAccountInstance({ + confidentialAccount: entityMockUtils.getConfidentialAccountInstance({ getIdentity: null, }), }) @@ -111,7 +111,7 @@ describe('issueConfidentialAssets procedure', () => { await expect( prepareConfidentialAssets.call(proc, { ...args, - account: entityMockUtils.getConfidentialAccountInstance({ + confidentialAccount: entityMockUtils.getConfidentialAccountInstance({ getIdentity: entityMockUtils.getIdentityInstance({ did: 'someRandomDid', }), @@ -138,7 +138,7 @@ describe('issueConfidentialAssets procedure', () => { try { await prepareConfidentialAssets.call(proc, { ...args, - asset: entityMockUtils.getConfidentialAssetInstance(), + confidentialAsset: entityMockUtils.getConfidentialAssetInstance(), }); } catch (err) { error = err; @@ -154,7 +154,7 @@ describe('issueConfidentialAssets procedure', () => { }); it('should return a mint Confidential Asset transaction spec', async () => { - const transaction = dsMockUtils.createTxMock('confidentialAsset', 'mintConfidentialAsset'); + const transaction = dsMockUtils.createTxMock('confidentialAsset', 'mint'); const proc = procedureMockUtils.getInstance(mockContext); const result = await prepareConfidentialAssets.call(proc, args); @@ -173,7 +173,7 @@ describe('issueConfidentialAssets procedure', () => { expect(boundFunc(args)).toEqual({ roles: [{ type: RoleType.ConfidentialAssetOwner, assetId: asset.id }], permissions: { - transactions: [TxTags.confidentialAsset.MintConfidentialAsset], + transactions: [TxTags.confidentialAsset.Mint], assets: [], portfolios: [], }, diff --git a/src/api/procedures/applyIncomingAssetBalance.ts b/src/api/procedures/applyIncomingAssetBalance.ts index 1a09868a3d..f7e1de1ec5 100644 --- a/src/api/procedures/applyIncomingAssetBalance.ts +++ b/src/api/procedures/applyIncomingAssetBalance.ts @@ -21,7 +21,7 @@ export async function prepareApplyIncomingBalance( }, context, } = this; - const { asset: assetInput, account: accountInput } = args; + const { confidentialAsset: assetInput, confidentialAccount: accountInput } = args; const account = asConfidentialAccount(accountInput, context); const asset = asConfidentialAsset(assetInput, context); diff --git a/src/api/procedures/createConfidentialAsset.ts b/src/api/procedures/createConfidentialAsset.ts index 5c5ac8247a..93e541b81f 100644 --- a/src/api/procedures/createConfidentialAsset.ts +++ b/src/api/procedures/createConfidentialAsset.ts @@ -7,7 +7,6 @@ import { auditorsToConfidentialAuditors, meshConfidentialAssetToAssetId, stringToBytes, - stringToTicker, } from '~/utils/conversion'; import { asConfidentialAccount, asIdentity, filterEventRecords } from '~/utils/internal'; @@ -22,7 +21,7 @@ export type Params = CreateConfidentialAssetParams; export const createConfidentialAssetResolver = (context: Context) => (receipt: ISubmittableResult): ConfidentialAsset => { - const [{ data }] = filterEventRecords(receipt, 'confidentialAsset', 'ConfidentialAssetCreated'); + const [{ data }] = filterEventRecords(receipt, 'confidentialAsset', 'AssetCreated'); const id = meshConfidentialAssetToAssetId(data[1]); return new ConfidentialAsset({ id }, context); @@ -35,10 +34,7 @@ export async function prepareCreateConfidentialAsset( this: Procedure, args: Params ): Promise< - TransactionSpec< - ConfidentialAsset, - ExtrinsicParams<'confidentialAsset', 'createConfidentialAsset'> - > + TransactionSpec> > { const { context: { @@ -46,12 +42,8 @@ export async function prepareCreateConfidentialAsset( }, context, } = this; - const { ticker, data, auditors, mediators } = args; + const { data, auditors, mediators } = args; - let rawTicker = null; - if (ticker) { - rawTicker = stringToTicker(ticker, context); - } const rawData = stringToBytes(data, context); const auditorAccounts = auditors.map(auditor => asConfidentialAccount(auditor, context)); @@ -77,12 +69,8 @@ export async function prepareCreateConfidentialAsset( } return { - transaction: tx.confidentialAsset.createConfidentialAsset, - args: [ - rawTicker, - rawData, - auditorsToConfidentialAuditors(context, auditorAccounts, mediatorIdentities), - ], + transaction: tx.confidentialAsset.createAsset, + args: [rawData, auditorsToConfidentialAuditors(context, auditorAccounts, mediatorIdentities)], resolver: createConfidentialAssetResolver(context), }; } @@ -93,7 +81,7 @@ export async function prepareCreateConfidentialAsset( export const createConfidentialAsset = (): Procedure => new Procedure(prepareCreateConfidentialAsset, { permissions: { - transactions: [TxTags.confidentialAsset.CreateConfidentialAsset], + transactions: [TxTags.confidentialAsset.CreateAsset], assets: [], portfolios: [], }, diff --git a/src/api/procedures/issueConfidentialAssets.ts b/src/api/procedures/issueConfidentialAssets.ts index b2ec7fcf64..c75ae84a11 100644 --- a/src/api/procedures/issueConfidentialAssets.ts +++ b/src/api/procedures/issueConfidentialAssets.ts @@ -8,7 +8,7 @@ import { bigNumberToU128, serializeConfidentialAssetId } from '~/utils/conversio import { asConfidentialAccount } from '~/utils/internal'; export type Params = IssueConfidentialAssetParams & { - asset: ConfidentialAsset; + confidentialAsset: ConfidentialAsset; }; /** @@ -17,9 +17,7 @@ export type Params = IssueConfidentialAssetParams & { export async function prepareConfidentialAssets( this: Procedure, args: Params -): Promise< - TransactionSpec> -> { +): Promise>> { const { context: { polymeshApi: { @@ -28,7 +26,7 @@ export async function prepareConfidentialAssets( }, context, } = this; - const { asset, amount, account } = args; + const { confidentialAsset: asset, amount, confidentialAccount: account } = args; const { id: assetId } = asset; @@ -71,7 +69,7 @@ export async function prepareConfidentialAssets( } return { - transaction: confidentialAsset.mintConfidentialAsset, + transaction: confidentialAsset.mint, args: [ serializeConfidentialAssetId(assetId), bigNumberToU128(amount, context), @@ -89,13 +87,13 @@ export function getAuthorization( args: Params ): ProcedureAuthorization { const { - asset: { id: assetId }, + confidentialAsset: { id: assetId }, } = args; return { roles: [{ type: RoleType.ConfidentialAssetOwner, assetId }], permissions: { - transactions: [TxTags.confidentialAsset.MintConfidentialAsset], + transactions: [TxTags.confidentialAsset.Mint], assets: [], portfolios: [], }, diff --git a/src/generated/types.ts b/src/generated/types.ts index 986f47e3dc..52f5be7912 100644 --- a/src/generated/types.ts +++ b/src/generated/types.ts @@ -532,6 +532,8 @@ export enum AssetTx { RemoveTickerAffirmationExemption = 'asset.removeTickerAffirmationExemption', PreApproveTicker = 'asset.preApproveTicker', RemoveTickerPreApproval = 'asset.removeTickerPreApproval', + AddMandatoryMediators = 'asset.addMandatoryMediators', + RemoveMandatoryMediators = 'asset.removeMandatoryMediators', } export enum CapitalDistributionTx { @@ -673,6 +675,11 @@ export enum SettlementTx { AffirmInstructionWithCount = 'settlement.affirmInstructionWithCount', RejectInstructionWithCount = 'settlement.rejectInstructionWithCount', WithdrawAffirmationWithCount = 'settlement.withdrawAffirmationWithCount', + AddInstructionWithMediators = 'settlement.addInstructionWithMediators', + AddAndAffirmWithMediators = 'settlement.addAndAffirmWithMediators', + AffirmInstructionAsMediator = 'settlement.affirmInstructionAsMediator', + WithdrawAffirmationAsMediator = 'settlement.withdrawAffirmationAsMediator', + RejectInstructionAsMediator = 'settlement.rejectInstructionAsMediator', } export enum StatisticsTx { @@ -798,6 +805,12 @@ export enum ConfidentialAssetTx { AffirmTransactions = 'confidentialAsset.affirmTransactions', ExecuteTransaction = 'confidentialAsset.executeTransaction', RejectTransaction = 'confidentialAsset.rejectTransaction', + CreateAsset = 'confidentialAsset.createAsset', + Mint = 'confidentialAsset.mint', + SetAssetFrozen = 'confidentialAsset.setAssetFrozen', + SetAccountAssetFrozen = 'confidentialAsset.setAccountAssetFrozen', + ApplyIncomingBalances = 'confidentialAsset.applyIncomingBalances', + Burn = 'confidentialAsset.burn', } export enum ModuleName { diff --git a/src/polkadot/augment-api-errors.ts b/src/polkadot/augment-api-errors.ts index f6786cdcea..0e25e61dfa 100644 --- a/src/polkadot/augment-api-errors.ts +++ b/src/polkadot/augment-api-errors.ts @@ -120,6 +120,10 @@ declare module '@polkadot/api-base/types/errors' { * The asset must be frozen. **/ NotFrozen: AugmentedError; + /** + * Number of asset mediators would exceed the maximum allowed. + **/ + NumberOfAssetMediatorsExceeded: AugmentedError; /** * Transfers to self are not allowed **/ @@ -452,37 +456,49 @@ declare module '@polkadot/api-base/types/errors' { }; confidentialAsset: { /** - * Confidential mediator account already created. + * Confidential account for the asset is already frozen. **/ - AuditorAccountAlreadyCreated: AugmentedError; + AccountAssetAlreadyFrozen: AugmentedError; /** - * Mediator account hasn't been created yet. + * Confidential account is frozen for the asset. **/ - AuditorAccountMissing: AugmentedError; + AccountAssetFrozen: AugmentedError; /** - * Confidential account already created. + * Confidential account for the asset wasn't frozen. **/ - ConfidentialAccountAlreadyCreated: AugmentedError; + AccountAssetNotFrozen: AugmentedError; /** - * Confidential account's balance already initialized. + * Confidential asset is already frozen. **/ - ConfidentialAccountAlreadyInitialized: AugmentedError; + AlreadyFrozen: AugmentedError; /** - * Confidential account hasn't been created yet. + * The amount can't be zero. **/ - ConfidentialAccountMissing: AugmentedError; + AmountMustBeNonZero: AugmentedError; /** - * The confidential asset has already been created. + * Confidential asset is frozen. **/ - ConfidentialAssetAlreadyCreated: AugmentedError; + AssetFrozen: AugmentedError; /** - * Mediator account isn't a valid CompressedEncryptionPubKey. + * Can't burn more then the total supply. **/ - InvalidAuditorAccount: AugmentedError; + BurnAmountLargerThenTotalSupply: AugmentedError; /** - * Confidential account isn't a valid CompressedEncryptionPubKey. + * The caller is not a party of the transaction. **/ - InvalidConfidentialAccount: AugmentedError; + CallerNotPartyOfTransaction: AugmentedError; + /** + * Confidential account already created. + **/ + ConfidentialAccountAlreadyCreated: AugmentedError; + /** + * Confidential account hasn't been created yet. + **/ + ConfidentialAccountMissing: AugmentedError; + /** + * The confidential asset has already been created. + **/ + ConfidentialAssetAlreadyCreated: AugmentedError; /** * The confidential transfer sender proof is invalid. **/ @@ -495,14 +511,34 @@ declare module '@polkadot/api-base/types/errors' { * Legs count should matches with the total number of legs in the transaction. **/ LegCountTooSmall: AugmentedError; + /** + * Mediator identity doesn't exist. + **/ + MediatorIdentityInvalid: AugmentedError; + /** + * The caller isn't the account owner. + **/ + NotAccountOwner: AugmentedError; + /** + * The caller isn't the asset owner. + **/ + NotAssetOwner: AugmentedError; /** * The number of confidential asset auditors doesn't meet the minimum requirement. **/ NotEnoughAssetAuditors: AugmentedError; /** - * A required auditor/mediator is missing. + * Confidential asset wasn't frozen. + **/ + NotFrozen: AugmentedError; + /** + * The caller isn't the venue owner. + **/ + NotVenueOwner: AugmentedError; + /** + * The sender must affirm the leg before the receiver/mediator. **/ - RequiredAssetAuditorMissing: AugmentedError; + SenderMustAffirmFirst: AugmentedError; /** * Asset or leg has too many auditors. **/ @@ -515,10 +551,6 @@ declare module '@polkadot/api-base/types/errors' { * The balance values does not fit a confidential balance. **/ TotalSupplyAboveConfidentialBalanceLimit: AugmentedError; - /** - * A confidential asset's total supply must be positive. - **/ - TotalSupplyMustBePositive: AugmentedError; /** * A confidential asset's total supply can't go above `T::MaxTotalSupply`. **/ @@ -527,10 +559,6 @@ declare module '@polkadot/api-base/types/errors' { * Transaction has already been affirmed. **/ TransactionAlreadyAffirmed: AugmentedError; - /** - * Transaction failed to execute. - **/ - TransactionFailed: AugmentedError; /** * Transaction has no legs. **/ @@ -539,10 +567,6 @@ declare module '@polkadot/api-base/types/errors' { * Transaction has not been affirmed. **/ TransactionNotAffirmed: AugmentedError; - /** - * The user is not authorized. - **/ - Unauthorized: AugmentedError; /** * Venue does not have required permissions. **/ @@ -1585,6 +1609,10 @@ declare module '@polkadot/api-base/types/errors' { NoKeys: AugmentedError; }; settlement: { + /** + * The caller is not a mediator in the instruction. + **/ + CallerIsNotAMediator: AugmentedError; /** * The caller is not a party of this instruction. **/ @@ -1621,6 +1649,10 @@ declare module '@polkadot/api-base/types/errors' { * Instruction's target settle block reached. **/ InstructionSettleBlockPassed: AugmentedError; + /** + * The mediator's expiry date must be in the future. + **/ + InvalidExpiryDate: AugmentedError; /** * Only [`InstructionStatus::Pending`] or [`InstructionStatus::Failed`] instructions can be executed. **/ @@ -1653,6 +1685,10 @@ declare module '@polkadot/api-base/types/errors' { * The maximum number of receipts was exceeded. **/ MaxNumberOfReceiptsExceeded: AugmentedError; + /** + * The expiry date for the mediator's affirmation has passed. + **/ + MediatorAffirmationExpired: AugmentedError; /** * Multiple receipts for the same leg are not allowed. **/ diff --git a/src/polkadot/augment-api-events.ts b/src/polkadot/augment-api-events.ts index fea182ba97..746e4a45d4 100644 --- a/src/polkadot/augment-api-events.ts +++ b/src/polkadot/augment-api-events.ts @@ -7,6 +7,7 @@ import '@polkadot/api-base/types/events'; import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types'; import type { + BTreeSet, Bytes, Null, Option, @@ -142,6 +143,30 @@ declare module '@polkadot/api-base/types/events' { ApiType, [PolymeshPrimitivesIdentityId, PolymeshPrimitivesTicker] >; + /** + * An identity has added mandatory mediators to an asset. + * Parameters: [`IdentityId`] of caller, [`Ticker`] of the asset, the identity of all mediators added. + **/ + AssetMediatorsAdded: AugmentedEvent< + ApiType, + [ + PolymeshPrimitivesIdentityId, + PolymeshPrimitivesTicker, + BTreeSet + ] + >; + /** + * An identity has removed mediators from an asset. + * Parameters: [`IdentityId`] of caller, [`Ticker`] of the asset, the identity of all mediators removed. + **/ + AssetMediatorsRemoved: AugmentedEvent< + ApiType, + [ + PolymeshPrimitivesIdentityId, + PolymeshPrimitivesTicker, + BTreeSet + ] + >; /** * Emit when token ownership is transferred. * caller DID / token ownership transferred to DID, ticker, from @@ -802,155 +827,283 @@ declare module '@polkadot/api-base/types/events' { >; }; confidentialAsset: { + /** + * Confidential account asset frozen. + **/ + AccountAssetFrozen: AugmentedEvent< + ApiType, + [ + callerDid: PolymeshPrimitivesIdentityId, + account: PalletConfidentialAssetConfidentialAccount, + assetId: U8aFixed + ], + { + callerDid: PolymeshPrimitivesIdentityId; + account: PalletConfidentialAssetConfidentialAccount; + assetId: U8aFixed; + } + >; + /** + * Confidential account asset unfrozen. + **/ + AccountAssetUnfrozen: AugmentedEvent< + ApiType, + [ + callerDid: PolymeshPrimitivesIdentityId, + account: PalletConfidentialAssetConfidentialAccount, + assetId: U8aFixed + ], + { + callerDid: PolymeshPrimitivesIdentityId; + account: PalletConfidentialAssetConfidentialAccount; + assetId: U8aFixed; + } + >; /** * Event for creation of a Confidential account. - * - * caller DID, confidential account (public key) **/ AccountCreated: AugmentedEvent< ApiType, - [PolymeshPrimitivesIdentityId, PalletConfidentialAssetConfidentialAccount] + [ + callerDid: PolymeshPrimitivesIdentityId, + account: PalletConfidentialAssetConfidentialAccount + ], + { + callerDid: PolymeshPrimitivesIdentityId; + account: PalletConfidentialAssetConfidentialAccount; + } >; /** * Confidential account balance increased. * This happens when the receiver calls `apply_incoming_balance`. - * - * (confidential account, asset id, encrypted amount, new encrypted balance) **/ AccountDeposit: AugmentedEvent< ApiType, [ - PalletConfidentialAssetConfidentialAccount, - U8aFixed, - ConfidentialAssetsElgamalCipherText, - ConfidentialAssetsElgamalCipherText - ] + account: PalletConfidentialAssetConfidentialAccount, + assetId: U8aFixed, + amount: ConfidentialAssetsElgamalCipherText, + balance: ConfidentialAssetsElgamalCipherText + ], + { + account: PalletConfidentialAssetConfidentialAccount; + assetId: U8aFixed; + amount: ConfidentialAssetsElgamalCipherText; + balance: ConfidentialAssetsElgamalCipherText; + } >; /** * Confidential account has an incoming amount. * This happens when a transaction executes. - * - * (confidential account, asset id, encrypted amount, new encrypted incoming balance) **/ AccountDepositIncoming: AugmentedEvent< ApiType, [ - PalletConfidentialAssetConfidentialAccount, - U8aFixed, - ConfidentialAssetsElgamalCipherText, - ConfidentialAssetsElgamalCipherText - ] + account: PalletConfidentialAssetConfidentialAccount, + assetId: U8aFixed, + amount: ConfidentialAssetsElgamalCipherText, + incomingBalance: ConfidentialAssetsElgamalCipherText + ], + { + account: PalletConfidentialAssetConfidentialAccount; + assetId: U8aFixed; + amount: ConfidentialAssetsElgamalCipherText; + incomingBalance: ConfidentialAssetsElgamalCipherText; + } >; /** * Confidential account balance decreased. * This happens when the sender affirms the transaction. - * - * (confidential account, asset id, encrypted amount, new encrypted balance) **/ AccountWithdraw: AugmentedEvent< ApiType, [ - PalletConfidentialAssetConfidentialAccount, - U8aFixed, - ConfidentialAssetsElgamalCipherText, - ConfidentialAssetsElgamalCipherText - ] + account: PalletConfidentialAssetConfidentialAccount, + assetId: U8aFixed, + amount: ConfidentialAssetsElgamalCipherText, + balance: ConfidentialAssetsElgamalCipherText + ], + { + account: PalletConfidentialAssetConfidentialAccount; + assetId: U8aFixed; + amount: ConfidentialAssetsElgamalCipherText; + balance: ConfidentialAssetsElgamalCipherText; + } >; /** * Event for creation of a confidential asset. - * - * (caller DID, asset id, auditors and mediators) **/ - ConfidentialAssetCreated: AugmentedEvent< + AssetCreated: AugmentedEvent< + ApiType, + [ + callerDid: PolymeshPrimitivesIdentityId, + assetId: U8aFixed, + data: Bytes, + auditors: PalletConfidentialAssetConfidentialAuditors + ], + { + callerDid: PolymeshPrimitivesIdentityId; + assetId: U8aFixed; + data: Bytes; + auditors: PalletConfidentialAssetConfidentialAuditors; + } + >; + /** + * Confidential asset frozen. + **/ + AssetFrozen: AugmentedEvent< + ApiType, + [callerDid: PolymeshPrimitivesIdentityId, assetId: U8aFixed], + { callerDid: PolymeshPrimitivesIdentityId; assetId: U8aFixed } + >; + /** + * Confidential asset unfrozen. + **/ + AssetUnfrozen: AugmentedEvent< ApiType, - [PolymeshPrimitivesIdentityId, U8aFixed, PalletConfidentialAssetConfidentialAuditors] + [callerDid: PolymeshPrimitivesIdentityId, assetId: U8aFixed], + { callerDid: PolymeshPrimitivesIdentityId; assetId: U8aFixed } + >; + /** + * Burned confidential assets. + **/ + Burned: AugmentedEvent< + ApiType, + [ + callerDid: PolymeshPrimitivesIdentityId, + assetId: U8aFixed, + amount: u128, + totalSupply: u128 + ], + { + callerDid: PolymeshPrimitivesIdentityId; + assetId: U8aFixed; + amount: u128; + totalSupply: u128; + } >; /** * Issued confidential assets. - * - * (caller DID, asset id, amount issued, total_supply) **/ - Issued: AugmentedEvent; + Issued: AugmentedEvent< + ApiType, + [ + callerDid: PolymeshPrimitivesIdentityId, + assetId: U8aFixed, + amount: u128, + totalSupply: u128 + ], + { + callerDid: PolymeshPrimitivesIdentityId; + assetId: U8aFixed; + amount: u128; + totalSupply: u128; + } + >; /** * Confidential transaction leg affirmed. - * - * (caller DID, TransactionId, TransactionLegId, AffirmParty, PendingAffirms) **/ TransactionAffirmed: AugmentedEvent< ApiType, [ - PolymeshPrimitivesIdentityId, - PalletConfidentialAssetTransactionId, - PalletConfidentialAssetTransactionLegId, - PalletConfidentialAssetAffirmParty, - u32 - ] + callerDid: PolymeshPrimitivesIdentityId, + transactionId: PalletConfidentialAssetTransactionId, + legId: PalletConfidentialAssetTransactionLegId, + party: PalletConfidentialAssetAffirmParty, + pendingAffirms: u32 + ], + { + callerDid: PolymeshPrimitivesIdentityId; + transactionId: PalletConfidentialAssetTransactionId; + legId: PalletConfidentialAssetTransactionLegId; + party: PalletConfidentialAssetAffirmParty; + pendingAffirms: u32; + } >; /** * A new transaction has been created - * - * (caller DID, venue_id, transaction_id, legs, memo) **/ TransactionCreated: AugmentedEvent< ApiType, [ - PolymeshPrimitivesIdentityId, - u64, - PalletConfidentialAssetTransactionId, - Vec, - Option - ] + callerDid: PolymeshPrimitivesIdentityId, + venueId: u64, + transactionId: PalletConfidentialAssetTransactionId, + legs: Vec, + memo: Option + ], + { + callerDid: PolymeshPrimitivesIdentityId; + venueId: u64; + transactionId: PalletConfidentialAssetTransactionId; + legs: Vec; + memo: Option; + } >; /** * Confidential transaction executed. - * - * (caller DID, transaction_id, memo) **/ TransactionExecuted: AugmentedEvent< ApiType, [ - PolymeshPrimitivesIdentityId, - PalletConfidentialAssetTransactionId, - Option - ] + callerDid: PolymeshPrimitivesIdentityId, + transactionId: PalletConfidentialAssetTransactionId, + memo: Option + ], + { + callerDid: PolymeshPrimitivesIdentityId; + transactionId: PalletConfidentialAssetTransactionId; + memo: Option; + } >; /** * Confidential transaction rejected. - * - * (caller DID, transaction_id, memo) **/ TransactionRejected: AugmentedEvent< ApiType, [ - PolymeshPrimitivesIdentityId, - PalletConfidentialAssetTransactionId, - Option - ] + callerDid: PolymeshPrimitivesIdentityId, + transactionId: PalletConfidentialAssetTransactionId, + memo: Option + ], + { + callerDid: PolymeshPrimitivesIdentityId; + transactionId: PalletConfidentialAssetTransactionId; + memo: Option; + } >; /** * A new venue has been created. - * - * (caller DID, venue_id) **/ - VenueCreated: AugmentedEvent; + VenueCreated: AugmentedEvent< + ApiType, + [callerDid: PolymeshPrimitivesIdentityId, venueId: u64], + { callerDid: PolymeshPrimitivesIdentityId; venueId: u64 } + >; /** * Venue filtering changed for an asset. - * - * (caller DID, asset id, enabled) **/ - VenueFiltering: AugmentedEvent; + VenueFiltering: AugmentedEvent< + ApiType, + [callerDid: PolymeshPrimitivesIdentityId, assetId: U8aFixed, enabled: bool], + { callerDid: PolymeshPrimitivesIdentityId; assetId: U8aFixed; enabled: bool } + >; /** * Venues added to allow list. - * - * (caller DID, asset id, Vec) **/ - VenuesAllowed: AugmentedEvent]>; + VenuesAllowed: AugmentedEvent< + ApiType, + [callerDid: PolymeshPrimitivesIdentityId, assetId: U8aFixed, venues: Vec], + { callerDid: PolymeshPrimitivesIdentityId; assetId: U8aFixed; venues: Vec } + >; /** * Venues removed from the allow list. - * - * (caller DID, asset id, Vec) **/ - VenuesBlocked: AugmentedEvent]>; + VenuesBlocked: AugmentedEvent< + ApiType, + [callerDid: PolymeshPrimitivesIdentityId, assetId: U8aFixed, venues: Vec], + { callerDid: PolymeshPrimitivesIdentityId; assetId: U8aFixed; venues: Vec } + >; }; contracts: { /** @@ -2134,6 +2287,16 @@ declare module '@polkadot/api-base/types/events' { * Execution of a leg failed (did, instruction_id, leg_id) **/ LegFailedExecution: AugmentedEvent; + /** + * An instruction has affirmed by a mediator. + * Parameters: [`IdentityId`] of the mediator and [`InstructionId`] of the instruction. + **/ + MediatorAffirmationReceived: AugmentedEvent; + /** + * An instruction affirmation has been withdrawn by a mediator. + * Parameters: [`IdentityId`] of the mediator and [`InstructionId`] of the instruction. + **/ + MediatorAffirmationWithdrawn: AugmentedEvent; /** * A receipt has been claimed (did, instruction_id, leg_id, receipt_uid, signer, receipt metadata) **/ diff --git a/src/polkadot/augment-api-query.ts b/src/polkadot/augment-api-query.ts index 2cf03dfb47..d63f87fbe6 100644 --- a/src/polkadot/augment-api-query.ts +++ b/src/polkadot/augment-api-query.ts @@ -127,6 +127,7 @@ import type { PolymeshPrimitivesSettlementInstructionStatus, PolymeshPrimitivesSettlementLeg, PolymeshPrimitivesSettlementLegStatus, + PolymeshPrimitivesSettlementMediatorAffirmationStatus, PolymeshPrimitivesSettlementVenue, PolymeshPrimitivesStatisticsAssetScope, PolymeshPrimitivesStatisticsStat1stKey, @@ -374,6 +375,16 @@ declare module '@polkadot/api-base/types/storage' { ) => Observable, [ITuple<[PolymeshPrimitivesTicker, Bytes]>] >; + /** + * The list of mandatory mediators for every ticker. + **/ + mandatoryMediators: AugmentedQuery< + ApiType, + ( + arg: PolymeshPrimitivesTicker | string | Uint8Array + ) => Observable>, + [PolymeshPrimitivesTicker] + >; /** * All tickers that don't need an affirmation to be received by an identity. **/ @@ -913,6 +924,19 @@ declare module '@polkadot/api-base/types/storage' { >; }; confidentialAsset: { + /** + * Is the confidential account asset frozen. + * + * account -> asset id -> bool + **/ + accountAssetFrozen: AugmentedQuery< + ApiType, + ( + arg1: PalletConfidentialAssetConfidentialAccount | string | Uint8Array, + arg2: U8aFixed | string | Uint8Array + ) => Observable, + [PalletConfidentialAssetConfidentialAccount, U8aFixed] + >; /** * Contains the encrypted balance of a confidential account. * @@ -950,6 +974,16 @@ declare module '@polkadot/api-base/types/storage' { ) => Observable>, [U8aFixed] >; + /** + * Is the confidential asset frozen. + * + * asset id -> bool + **/ + assetFrozen: AugmentedQuery< + ApiType, + (arg: U8aFixed | string | Uint8Array) => Observable, + [U8aFixed] + >; /** * Details of the confidential asset. * @@ -1005,16 +1039,6 @@ declare module '@polkadot/api-base/types/storage' { * RngNonce - Nonce used as `subject` to `Randomness`. **/ rngNonce: AugmentedQuery Observable, []>; - /** - * Map a ticker to a confidential asset id. - * - * ticker -> asset id - **/ - tickerToAsset: AugmentedQuery< - ApiType, - (arg: PolymeshPrimitivesTicker | string | Uint8Array) => Observable>, - [PolymeshPrimitivesTicker] - >; /** * Number of transactions in the system (It's one more than the actual number) **/ @@ -2659,6 +2683,17 @@ declare module '@polkadot/api-base/types/storage' { ) => Observable, [u64, u64] >; + /** + * The status for the mediators affirmation. + **/ + instructionMediatorsAffirmations: AugmentedQuery< + ApiType, + ( + arg1: u64 | AnyNumber | Uint8Array, + arg2: PolymeshPrimitivesIdentityId | string | Uint8Array + ) => Observable, + [u64, PolymeshPrimitivesIdentityId] + >; /** * Instruction memo **/ diff --git a/src/polkadot/augment-api-tx.ts b/src/polkadot/augment-api-tx.ts index 6fcaf66355..831631df24 100644 --- a/src/polkadot/augment-api-tx.ts +++ b/src/polkadot/augment-api-tx.ts @@ -36,6 +36,7 @@ import type { Permill, } from '@polkadot/types/interfaces/runtime'; import type { + ConfidentialAssetsBurnConfidentialBurnProof, PalletBridgeBridgeTx, PalletConfidentialAssetAffirmTransactions, PalletConfidentialAssetConfidentialAccount, @@ -184,6 +185,24 @@ declare module '@polkadot/api-base/types/submittable' { ) => SubmittableExtrinsic, [Vec, PolymeshPrimitivesTicker] >; + /** + * Sets all identities in the `mediators` set as mandatory mediators for any instruction transfering `ticker`. + * + * # Arguments + * * `origin`: The secondary key of the sender. + * * `ticker`: The [`Ticker`] of the asset that will require the mediators. + * * `mediators`: A set of [`IdentityId`] of all the mandatory mediators for the given ticker. + * + * # Permissions + * * Asset + **/ + addMandatoryMediators: AugmentedSubmittable< + ( + ticker: PolymeshPrimitivesTicker | string | Uint8Array, + mediators: BTreeSet + ) => SubmittableExtrinsic, + [PolymeshPrimitivesTicker, BTreeSet] + >; /** * Forces a transfer of token from `from_portfolio` to the caller's default portfolio. * @@ -625,6 +644,24 @@ declare module '@polkadot/api-base/types/submittable' { ) => SubmittableExtrinsic, [PolymeshPrimitivesTicker, u64] >; + /** + * Removes all identities in the `mediators` set from the mandatory mediators list for the given `ticker`. + * + * # Arguments + * * `origin`: The secondary key of the sender. + * * `ticker`: The [`Ticker`] of the asset that will have mediators removed. + * * `mediators`: A set of [`IdentityId`] of all the mediators that will be removed from the mandatory mediators list. + * + * # Permissions + * * Asset + **/ + removeMandatoryMediators: AugmentedSubmittable< + ( + ticker: PolymeshPrimitivesTicker | string | Uint8Array, + mediators: BTreeSet + ) => SubmittableExtrinsic, + [PolymeshPrimitivesTicker, BTreeSet] + >; /** * Removes the asset metadata value of a metadata key. * @@ -2077,6 +2114,59 @@ declare module '@polkadot/api-base/types/submittable' { ) => SubmittableExtrinsic, [PalletConfidentialAssetConfidentialAccount, U8aFixed] >; + /** + * Applies any incoming balance to the confidential account balance. + * + * # Arguments + * * `origin` - contains the secondary key of the caller (i.e who signed the transaction to execute this function). + * * `account` - the confidential account (Elgamal public key) of the `origin`. + * * `max_updates` - The maximum number of incoming balances to apply. + * + * # Errors + * - `BadOrigin` if not signed. + **/ + applyIncomingBalances: AugmentedSubmittable< + ( + account: PalletConfidentialAssetConfidentialAccount | string | Uint8Array, + maxUpdates: u16 | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [PalletConfidentialAssetConfidentialAccount, u16] + >; + /** + * Burn assets from the issuer's `account`. + * + * # Arguments + * * `origin` - contains the secondary key of the caller (i.e who signed the transaction to execute this function). + * * `asset_id` - the asset_id symbol of the token. + * * `amount` - amount of tokens to mint. + * * `account` - the asset isser's confidential account to receive the minted assets. + * * `burn_proof` - The burn proof. + * + * # Errors + * - `BadOrigin` if not signed. + * - `NotAccountOwner` if origin is not the owner of the `account`. + * - `NotAssetOwner` if origin is not the owner of the asset. + * - `AmountMustBeNonZero` if `amount` is zero. + * - `UnknownConfidentialAsset` The asset_id is not a confidential asset. + **/ + burn: AugmentedSubmittable< + ( + assetId: U8aFixed | string | Uint8Array, + amount: u128 | AnyNumber | Uint8Array, + account: PalletConfidentialAssetConfidentialAccount | string | Uint8Array, + proof: + | ConfidentialAssetsBurnConfidentialBurnProof + | { encodedInnerProof?: any } + | string + | Uint8Array + ) => SubmittableExtrinsic, + [ + U8aFixed, + u128, + PalletConfidentialAssetConfidentialAccount, + ConfidentialAssetsBurnConfidentialBurnProof + ] + >; /** * Register a confidential account. * @@ -2095,24 +2185,17 @@ declare module '@polkadot/api-base/types/submittable' { /** * Initializes a new confidential security token. * Makes the initiating account the owner of the security token - * & the balance of the owner is set to total zero. To set to total supply, `mint_confidential_asset` should + * & the balance of the owner is set to total zero. To set to total supply, `mint` should * be called after a successful call of this function. * * # Arguments * * `origin` - contains the secondary key of the caller (i.e who signed the transaction to execute this function). * * # Errors - * - `TotalSupplyAboveLimit` if `total_supply` exceeds the limit. * - `BadOrigin` if not signed. **/ - createConfidentialAsset: AugmentedSubmittable< + createAsset: AugmentedSubmittable< ( - ticker: - | Option - | null - | Uint8Array - | PolymeshPrimitivesTicker - | string, data: Bytes | string | Uint8Array, auditors: | PalletConfidentialAssetConfidentialAuditors @@ -2120,7 +2203,7 @@ declare module '@polkadot/api-base/types/submittable' { | string | Uint8Array ) => SubmittableExtrinsic, - [Option, Bytes, PalletConfidentialAssetConfidentialAuditors] + [Bytes, PalletConfidentialAssetConfidentialAuditors] >; /** * Registers a new venue. @@ -2161,12 +2244,13 @@ declare module '@polkadot/api-base/types/submittable' { * * # Errors * - `BadOrigin` if not signed. - * - `Unauthorized` if origin is not the owner of the asset. - * - `TotalSupplyMustBePositive` if `amount` is zero. + * - `NotAccountOwner` if origin is not the owner of the `account`. + * - `NotAssetOwner` if origin is not the owner of the asset. + * - `AmountMustBeNonZero` if `amount` is zero. * - `TotalSupplyAboveConfidentialBalanceLimit` if `total_supply` exceeds the confidential balance limit. * - `UnknownConfidentialAsset` The asset_id is not a confidential asset. **/ - mintConfidentialAsset: AugmentedSubmittable< + mint: AugmentedSubmittable< ( assetId: U8aFixed | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array, @@ -2184,6 +2268,44 @@ declare module '@polkadot/api-base/types/submittable' { ) => SubmittableExtrinsic, [PalletConfidentialAssetTransactionId, u32] >; + /** + * The confidential asset issuer can freeze/unfreeze accounts. + * + * # Arguments + * * `origin` - Must be the asset issuer. + * * `account` - the confidential account to lock/unlock. + * * `asset_id` - AssetId of confidential account. + * * `freeze` - freeze/unfreeze. + * + * # Errors + * - `BadOrigin` if not signed. + **/ + setAccountAssetFrozen: AugmentedSubmittable< + ( + account: PalletConfidentialAssetConfidentialAccount | string | Uint8Array, + assetId: U8aFixed | string | Uint8Array, + freeze: bool | boolean | Uint8Array + ) => SubmittableExtrinsic, + [PalletConfidentialAssetConfidentialAccount, U8aFixed, bool] + >; + /** + * Freeze/unfreeze a confidential asset. + * + * # Arguments + * * `origin` - Must be the asset issuer. + * * `asset_id` - confidential asset to freeze/unfreeze. + * * `freeze` - freeze/unfreeze. + * + * # Errors + * - `BadOrigin` if not signed. + **/ + setAssetFrozen: AugmentedSubmittable< + ( + assetId: U8aFixed | string | Uint8Array, + freeze: bool | boolean | Uint8Array + ) => SubmittableExtrinsic, + [U8aFixed, bool] + >; /** * Enables or disabled venue filtering for a token. * @@ -5349,14 +5471,13 @@ declare module '@polkadot/api-base/types/submittable' { * Adds and affirms a new instruction. * * # Arguments - * * `venue_id` - ID of the venue this instruction belongs to. - * * `settlement_type` - Defines if the instruction should be settled in the next block, after receiving all affirmations - * or waiting till a specific block. - * * `trade_date` - Optional date from which people can interact with this instruction. - * * `value_date` - Optional date after which the instruction should be settled (not enforced) - * * `legs` - Legs included in this instruction. - * * `portfolios` - Portfolios that the sender controls and wants to use in this affirmations. - * * `instruction_memo` - Memo field for this instruction. + * * `venue_id`: The [`VenueId`] of the venue this instruction belongs to. + * * `settlement_type`: The [`SettlementType`] specifying when the instruction should be settled. + * * `trade_date`: Optional date from which people can interact with this instruction. + * * `value_date`: Optional date after which the instruction should be settled (not enforced). + * * `legs`: A vector of all [`Leg`] included in this instruction. + * * `portfolios`: A vector of [`PortfolioId`] under the caller's control and intended for affirmation. + * * `memo`: An optional [`Memo`] field for this instruction. * * # Permissions * * Portfolio @@ -5409,19 +5530,80 @@ declare module '@polkadot/api-base/types/submittable' { ] >; /** - * Adds a new instruction. + * Adds and affirms a new instruction with mediators. * * # Arguments - * * `venue_id` - ID of the venue this instruction belongs to. - * * `settlement_type` - Defines if the instruction should be settled in the next block, after receiving all affirmations - * or waiting till a specific block. - * * `trade_date` - Optional date from which people can interact with this instruction. - * * `value_date` - Optional date after which the instruction should be settled (not enforced) - * * `legs` - Legs included in this instruction. - * * `memo` - Memo field for this instruction. + * * `venue_id`: The [`VenueId`] of the venue this instruction belongs to. + * * `settlement_type`: The [`SettlementType`] specifying when the instruction should be settled. + * * `trade_date`: Optional date from which people can interact with this instruction. + * * `value_date`: Optional date after which the instruction should be settled (not enforced). + * * `legs`: A vector of all [`Leg`] included in this instruction. + * * `portfolios`: A vector of [`PortfolioId`] under the caller's control and intended for affirmation. + * * `instruction_memo`: An optional [`Memo`] field for this instruction. + * * `mediators`: A set of [`IdentityId`] of all the mandatory mediators for the instruction. * - * # Weight - * `950_000_000 + 1_000_000 * legs.len()` + * # Permissions + * * Portfolio + **/ + addAndAffirmWithMediators: AugmentedSubmittable< + ( + venueId: u64 | AnyNumber | Uint8Array, + settlementType: + | PolymeshPrimitivesSettlementSettlementType + | { SettleOnAffirmation: any } + | { SettleOnBlock: any } + | { SettleManual: any } + | string + | Uint8Array, + tradeDate: Option | null | Uint8Array | u64 | AnyNumber, + valueDate: Option | null | Uint8Array | u64 | AnyNumber, + legs: + | Vec + | ( + | PolymeshPrimitivesSettlementLeg + | { Fungible: any } + | { NonFungible: any } + | { OffChain: any } + | string + | Uint8Array + )[], + portfolios: + | Vec + | ( + | PolymeshPrimitivesIdentityIdPortfolioId + | { did?: any; kind?: any } + | string + | Uint8Array + )[], + instructionMemo: + | Option + | null + | Uint8Array + | PolymeshPrimitivesMemo + | string, + mediators: BTreeSet + ) => SubmittableExtrinsic, + [ + u64, + PolymeshPrimitivesSettlementSettlementType, + Option, + Option, + Vec, + Vec, + Option, + BTreeSet + ] + >; + /** + * Adds a new instruction. + * + * # Arguments + * * `venue_id`: The [`VenueId`] of the venue this instruction belongs to. + * * `settlement_type`: The [`SettlementType`] specifying when the instruction should be settled. + * * `trade_date`: Optional date from which people can interact with this instruction. + * * `value_date`: Optional date after which the instruction should be settled (not enforced). + * * `legs`: A vector of all [`Leg`] included in this instruction. + * * `memo`: An optional [`Memo`] field for this instruction. **/ addInstruction: AugmentedSubmittable< ( @@ -5461,6 +5643,58 @@ declare module '@polkadot/api-base/types/submittable' { Option ] >; + /** + * Adds a new instruction with mediators. + * + * # Arguments + * * `venue_id`: The [`VenueId`] of the venue this instruction belongs to. + * * `settlement_type`: The [`SettlementType`] specifying when the instruction should be settled. + * * `trade_date`: Optional date from which people can interact with this instruction. + * * `value_date`: Optional date after which the instruction should be settled (not enforced). + * * `legs`: A vector of all [`Leg`] included in this instruction. + * * `instruction_memo`: An optional [`Memo`] field for this instruction. + * * `mediators`: A set of [`IdentityId`] of all the mandatory mediators for the instruction. + **/ + addInstructionWithMediators: AugmentedSubmittable< + ( + venueId: u64 | AnyNumber | Uint8Array, + settlementType: + | PolymeshPrimitivesSettlementSettlementType + | { SettleOnAffirmation: any } + | { SettleOnBlock: any } + | { SettleManual: any } + | string + | Uint8Array, + tradeDate: Option | null | Uint8Array | u64 | AnyNumber, + valueDate: Option | null | Uint8Array | u64 | AnyNumber, + legs: + | Vec + | ( + | PolymeshPrimitivesSettlementLeg + | { Fungible: any } + | { NonFungible: any } + | { OffChain: any } + | string + | Uint8Array + )[], + instructionMemo: + | Option + | null + | Uint8Array + | PolymeshPrimitivesMemo + | string, + mediators: BTreeSet + ) => SubmittableExtrinsic, + [ + u64, + PolymeshPrimitivesSettlementSettlementType, + Option, + Option, + Vec, + Option, + BTreeSet + ] + >; /** * Provide affirmation to an existing instruction. * @@ -5485,6 +5719,21 @@ declare module '@polkadot/api-base/types/submittable' { ) => SubmittableExtrinsic, [u64, Vec] >; + /** + * Affirms the instruction as a mediator - should only be called by mediators, otherwise it will fail. + * + * # Arguments + * * `origin`: The secondary key of the sender. + * * `instruction_id`: The [`InstructionId`] that will be affirmed by the mediator. + * * `expiry`: An Optional value for defining when the affirmation will expire (None means it will always be valid). + **/ + affirmInstructionAsMediator: AugmentedSubmittable< + ( + instructionId: u64 | AnyNumber | Uint8Array, + expiry: Option | null | Uint8Array | u64 | AnyNumber + ) => SubmittableExtrinsic, + [u64, Option] + >; /** * Provide affirmation to an existing instruction. * @@ -5762,6 +6011,28 @@ declare module '@polkadot/api-base/types/submittable' { ) => SubmittableExtrinsic, [u64, PolymeshPrimitivesIdentityIdPortfolioId] >; + /** + * Rejects an existing instruction - should only be called by mediators, otherwise it will fail. + * + * # Arguments + * * `instruction_id` - the [`InstructionId`] of the instruction being rejected. + * * `number_of_assets` - an optional [`AssetCount`] that will be used for a precise fee estimation before executing the extrinsic. + * + * Note: calling the rpc method `get_execute_instruction_info` returns an instance of [`ExecuteInstructionInfo`], which contain the asset count. + **/ + rejectInstructionAsMediator: AugmentedSubmittable< + ( + instructionId: u64 | AnyNumber | Uint8Array, + numberOfAssets: + | Option + | null + | Uint8Array + | PolymeshPrimitivesSettlementAssetCount + | { fungible?: any; nonFungible?: any; offChain?: any } + | string + ) => SubmittableExtrinsic, + [u64, Option] + >; /** * Rejects an existing instruction. * @@ -5885,6 +6156,17 @@ declare module '@polkadot/api-base/types/submittable' { ) => SubmittableExtrinsic, [u64, Vec] >; + /** + * Removes the mediator's affirmation for the instruction - should only be called by mediators, otherwise it will fail. + * + * # Arguments + * * `origin`: The secondary key of the sender. + * * `instruction_id`: The [`InstructionId`] that will have the affirmation removed. + **/ + withdrawAffirmationAsMediator: AugmentedSubmittable< + (instructionId: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic, + [u64] + >; /** * Withdraw an affirmation for a given instruction. * diff --git a/src/polkadot/lookup.ts b/src/polkadot/lookup.ts index 611dbc7e6b..5624f0e1ed 100644 --- a/src/polkadot/lookup.ts +++ b/src/polkadot/lookup.ts @@ -1073,6 +1073,10 @@ export default { RemoveAssetAffirmationExemption: 'PolymeshPrimitivesTicker', PreApprovedAsset: '(PolymeshPrimitivesIdentityId,PolymeshPrimitivesTicker)', RemovePreApprovedAsset: '(PolymeshPrimitivesIdentityId,PolymeshPrimitivesTicker)', + AssetMediatorsAdded: + '(PolymeshPrimitivesIdentityId,PolymeshPrimitivesTicker,BTreeSet)', + AssetMediatorsRemoved: + '(PolymeshPrimitivesIdentityId,PolymeshPrimitivesTicker,BTreeSet)', }, }, /** @@ -1194,7 +1198,7 @@ export default { }, }, /** - * Lookup164: pallet_corporate_actions::distribution::Event + * Lookup165: pallet_corporate_actions::distribution::Event **/ PalletCorporateActionsDistributionEvent: { _enum: { @@ -1207,18 +1211,18 @@ export default { }, }, /** - * Lookup165: polymesh_primitives::event_only::EventOnly + * Lookup166: polymesh_primitives::event_only::EventOnly **/ PolymeshPrimitivesEventOnly: 'PolymeshPrimitivesIdentityId', /** - * Lookup166: pallet_corporate_actions::CAId + * Lookup167: pallet_corporate_actions::CAId **/ PalletCorporateActionsCaId: { ticker: 'PolymeshPrimitivesTicker', localId: 'u32', }, /** - * Lookup168: pallet_corporate_actions::distribution::Distribution + * Lookup169: pallet_corporate_actions::distribution::Distribution **/ PalletCorporateActionsDistribution: { from: 'PolymeshPrimitivesIdentityIdPortfolioId', @@ -1231,7 +1235,7 @@ export default { expiresAt: 'Option', }, /** - * Lookup170: polymesh_common_utilities::traits::checkpoint::Event + * Lookup171: polymesh_common_utilities::traits::checkpoint::Event **/ PolymeshCommonUtilitiesCheckpointEvent: { _enum: { @@ -1245,13 +1249,13 @@ export default { }, }, /** - * Lookup173: polymesh_common_utilities::traits::checkpoint::ScheduleCheckpoints + * Lookup174: polymesh_common_utilities::traits::checkpoint::ScheduleCheckpoints **/ PolymeshCommonUtilitiesCheckpointScheduleCheckpoints: { pending: 'BTreeSet', }, /** - * Lookup176: polymesh_common_utilities::traits::compliance_manager::Event + * Lookup177: polymesh_common_utilities::traits::compliance_manager::Event **/ PolymeshCommonUtilitiesComplianceManagerEvent: { _enum: { @@ -1272,7 +1276,7 @@ export default { }, }, /** - * Lookup177: polymesh_primitives::compliance_manager::ComplianceRequirement + * Lookup178: polymesh_primitives::compliance_manager::ComplianceRequirement **/ PolymeshPrimitivesComplianceManagerComplianceRequirement: { senderConditions: 'Vec', @@ -1280,14 +1284,14 @@ export default { id: 'u32', }, /** - * Lookup179: polymesh_primitives::condition::Condition + * Lookup180: polymesh_primitives::condition::Condition **/ PolymeshPrimitivesCondition: { conditionType: 'PolymeshPrimitivesConditionConditionType', issuers: 'Vec', }, /** - * Lookup180: polymesh_primitives::condition::ConditionType + * Lookup181: polymesh_primitives::condition::ConditionType **/ PolymeshPrimitivesConditionConditionType: { _enum: { @@ -1299,7 +1303,7 @@ export default { }, }, /** - * Lookup182: polymesh_primitives::condition::TargetIdentity + * Lookup183: polymesh_primitives::condition::TargetIdentity **/ PolymeshPrimitivesConditionTargetIdentity: { _enum: { @@ -1308,14 +1312,14 @@ export default { }, }, /** - * Lookup184: polymesh_primitives::condition::TrustedIssuer + * Lookup185: polymesh_primitives::condition::TrustedIssuer **/ PolymeshPrimitivesConditionTrustedIssuer: { issuer: 'PolymeshPrimitivesIdentityId', trustedFor: 'PolymeshPrimitivesConditionTrustedFor', }, /** - * Lookup185: polymesh_primitives::condition::TrustedFor + * Lookup186: polymesh_primitives::condition::TrustedFor **/ PolymeshPrimitivesConditionTrustedFor: { _enum: { @@ -1324,7 +1328,7 @@ export default { }, }, /** - * Lookup187: polymesh_primitives::identity_claim::ClaimType + * Lookup188: polymesh_primitives::identity_claim::ClaimType **/ PolymeshPrimitivesIdentityClaimClaimType: { _enum: { @@ -1341,7 +1345,7 @@ export default { }, }, /** - * Lookup189: pallet_corporate_actions::Event + * Lookup190: pallet_corporate_actions::Event **/ PalletCorporateActionsEvent: { _enum: { @@ -1361,20 +1365,20 @@ export default { }, }, /** - * Lookup190: pallet_corporate_actions::TargetIdentities + * Lookup191: pallet_corporate_actions::TargetIdentities **/ PalletCorporateActionsTargetIdentities: { identities: 'Vec', treatment: 'PalletCorporateActionsTargetTreatment', }, /** - * Lookup191: pallet_corporate_actions::TargetTreatment + * Lookup192: pallet_corporate_actions::TargetTreatment **/ PalletCorporateActionsTargetTreatment: { _enum: ['Include', 'Exclude'], }, /** - * Lookup193: pallet_corporate_actions::CorporateAction + * Lookup194: pallet_corporate_actions::CorporateAction **/ PalletCorporateActionsCorporateAction: { kind: 'PalletCorporateActionsCaKind', @@ -1385,7 +1389,7 @@ export default { withholdingTax: 'Vec<(PolymeshPrimitivesIdentityId,Permill)>', }, /** - * Lookup194: pallet_corporate_actions::CAKind + * Lookup195: pallet_corporate_actions::CAKind **/ PalletCorporateActionsCaKind: { _enum: [ @@ -1397,14 +1401,14 @@ export default { ], }, /** - * Lookup196: pallet_corporate_actions::RecordDate + * Lookup197: pallet_corporate_actions::RecordDate **/ PalletCorporateActionsRecordDate: { date: 'u64', checkpoint: 'PalletCorporateActionsCaCheckpoint', }, /** - * Lookup197: pallet_corporate_actions::CACheckpoint + * Lookup198: pallet_corporate_actions::CACheckpoint **/ PalletCorporateActionsCaCheckpoint: { _enum: { @@ -1413,7 +1417,7 @@ export default { }, }, /** - * Lookup202: pallet_corporate_actions::ballot::Event + * Lookup203: pallet_corporate_actions::ballot::Event **/ PalletCorporateActionsBallotEvent: { _enum: { @@ -1430,21 +1434,21 @@ export default { }, }, /** - * Lookup203: pallet_corporate_actions::ballot::BallotTimeRange + * Lookup204: pallet_corporate_actions::ballot::BallotTimeRange **/ PalletCorporateActionsBallotBallotTimeRange: { start: 'u64', end: 'u64', }, /** - * Lookup204: pallet_corporate_actions::ballot::BallotMeta + * Lookup205: pallet_corporate_actions::ballot::BallotMeta **/ PalletCorporateActionsBallotBallotMeta: { title: 'Bytes', motions: 'Vec', }, /** - * Lookup207: pallet_corporate_actions::ballot::Motion + * Lookup208: pallet_corporate_actions::ballot::Motion **/ PalletCorporateActionsBallotMotion: { title: 'Bytes', @@ -1452,14 +1456,14 @@ export default { choices: 'Vec', }, /** - * Lookup213: pallet_corporate_actions::ballot::BallotVote + * Lookup214: pallet_corporate_actions::ballot::BallotVote **/ PalletCorporateActionsBallotBallotVote: { power: 'u128', fallback: 'Option', }, /** - * Lookup216: pallet_pips::RawEvent + * Lookup217: pallet_pips::RawEvent **/ PalletPipsRawEvent: { _enum: { @@ -1489,7 +1493,7 @@ export default { }, }, /** - * Lookup217: pallet_pips::Proposer + * Lookup218: pallet_pips::Proposer **/ PalletPipsProposer: { _enum: { @@ -1498,13 +1502,13 @@ export default { }, }, /** - * Lookup218: pallet_pips::Committee + * Lookup219: pallet_pips::Committee **/ PalletPipsCommittee: { _enum: ['Technical', 'Upgrade'], }, /** - * Lookup222: pallet_pips::ProposalData + * Lookup223: pallet_pips::ProposalData **/ PalletPipsProposalData: { _enum: { @@ -1513,20 +1517,20 @@ export default { }, }, /** - * Lookup223: pallet_pips::ProposalState + * Lookup224: pallet_pips::ProposalState **/ PalletPipsProposalState: { _enum: ['Pending', 'Rejected', 'Scheduled', 'Failed', 'Executed', 'Expired'], }, /** - * Lookup226: pallet_pips::SnapshottedPip + * Lookup227: pallet_pips::SnapshottedPip **/ PalletPipsSnapshottedPip: { id: 'u32', weight: '(bool,u128)', }, /** - * Lookup232: polymesh_common_utilities::traits::portfolio::Event + * Lookup233: polymesh_common_utilities::traits::portfolio::Event **/ PolymeshCommonUtilitiesPortfolioEvent: { _enum: { @@ -1545,7 +1549,7 @@ export default { }, }, /** - * Lookup236: polymesh_primitives::portfolio::FundDescription + * Lookup237: polymesh_primitives::portfolio::FundDescription **/ PolymeshPrimitivesPortfolioFundDescription: { _enum: { @@ -1557,14 +1561,14 @@ export default { }, }, /** - * Lookup237: polymesh_primitives::nft::NFTs + * Lookup238: polymesh_primitives::nft::NFTs **/ PolymeshPrimitivesNftNfTs: { ticker: 'PolymeshPrimitivesTicker', ids: 'Vec', }, /** - * Lookup240: pallet_protocol_fee::RawEvent + * Lookup241: pallet_protocol_fee::RawEvent **/ PalletProtocolFeeRawEvent: { _enum: { @@ -1574,11 +1578,11 @@ export default { }, }, /** - * Lookup241: polymesh_primitives::PosRatio + * Lookup242: polymesh_primitives::PosRatio **/ PolymeshPrimitivesPosRatio: '(u32,u32)', /** - * Lookup242: pallet_scheduler::pallet::Event + * Lookup243: pallet_scheduler::pallet::Event **/ PalletSchedulerEvent: { _enum: { @@ -1610,7 +1614,7 @@ export default { }, }, /** - * Lookup245: polymesh_common_utilities::traits::settlement::RawEvent + * Lookup246: polymesh_common_utilities::traits::settlement::RawEvent **/ PolymeshCommonUtilitiesSettlementRawEvent: { _enum: { @@ -1641,20 +1645,22 @@ export default { FailedToExecuteInstruction: '(u64,SpRuntimeDispatchError)', InstructionAutomaticallyAffirmed: '(PolymeshPrimitivesIdentityId,PolymeshPrimitivesIdentityIdPortfolioId,u64)', + MediatorAffirmationReceived: '(PolymeshPrimitivesIdentityId,u64)', + MediatorAffirmationWithdrawn: '(PolymeshPrimitivesIdentityId,u64)', }, }, /** - * Lookup248: polymesh_primitives::settlement::VenueType + * Lookup249: polymesh_primitives::settlement::VenueType **/ PolymeshPrimitivesSettlementVenueType: { _enum: ['Other', 'Distribution', 'Sto', 'Exchange'], }, /** - * Lookup251: polymesh_primitives::settlement::ReceiptMetadata + * Lookup252: polymesh_primitives::settlement::ReceiptMetadata **/ PolymeshPrimitivesSettlementReceiptMetadata: '[u8;32]', /** - * Lookup253: polymesh_primitives::settlement::SettlementType + * Lookup254: polymesh_primitives::settlement::SettlementType **/ PolymeshPrimitivesSettlementSettlementType: { _enum: { @@ -1664,7 +1670,7 @@ export default { }, }, /** - * Lookup255: polymesh_primitives::settlement::Leg + * Lookup256: polymesh_primitives::settlement::Leg **/ PolymeshPrimitivesSettlementLeg: { _enum: { @@ -1688,7 +1694,7 @@ export default { }, }, /** - * Lookup256: polymesh_common_utilities::traits::statistics::Event + * Lookup257: polymesh_common_utilities::traits::statistics::Event **/ PolymeshCommonUtilitiesStatisticsEvent: { _enum: { @@ -1707,7 +1713,7 @@ export default { }, }, /** - * Lookup257: polymesh_primitives::statistics::AssetScope + * Lookup258: polymesh_primitives::statistics::AssetScope **/ PolymeshPrimitivesStatisticsAssetScope: { _enum: { @@ -1715,27 +1721,27 @@ export default { }, }, /** - * Lookup259: polymesh_primitives::statistics::StatType + * Lookup260: polymesh_primitives::statistics::StatType **/ PolymeshPrimitivesStatisticsStatType: { op: 'PolymeshPrimitivesStatisticsStatOpType', claimIssuer: 'Option<(PolymeshPrimitivesIdentityClaimClaimType,PolymeshPrimitivesIdentityId)>', }, /** - * Lookup260: polymesh_primitives::statistics::StatOpType + * Lookup261: polymesh_primitives::statistics::StatOpType **/ PolymeshPrimitivesStatisticsStatOpType: { _enum: ['Count', 'Balance'], }, /** - * Lookup264: polymesh_primitives::statistics::StatUpdate + * Lookup265: polymesh_primitives::statistics::StatUpdate **/ PolymeshPrimitivesStatisticsStatUpdate: { key2: 'PolymeshPrimitivesStatisticsStat2ndKey', value: 'Option', }, /** - * Lookup265: polymesh_primitives::statistics::Stat2ndKey + * Lookup266: polymesh_primitives::statistics::Stat2ndKey **/ PolymeshPrimitivesStatisticsStat2ndKey: { _enum: { @@ -1744,7 +1750,7 @@ export default { }, }, /** - * Lookup266: polymesh_primitives::statistics::StatClaim + * Lookup267: polymesh_primitives::statistics::StatClaim **/ PolymeshPrimitivesStatisticsStatClaim: { _enum: { @@ -1754,7 +1760,7 @@ export default { }, }, /** - * Lookup270: polymesh_primitives::transfer_compliance::TransferCondition + * Lookup271: polymesh_primitives::transfer_compliance::TransferCondition **/ PolymeshPrimitivesTransferComplianceTransferCondition: { _enum: { @@ -1767,7 +1773,7 @@ export default { }, }, /** - * Lookup271: polymesh_primitives::transfer_compliance::TransferConditionExemptKey + * Lookup272: polymesh_primitives::transfer_compliance::TransferConditionExemptKey **/ PolymeshPrimitivesTransferComplianceTransferConditionExemptKey: { asset: 'PolymeshPrimitivesStatisticsAssetScope', @@ -1775,7 +1781,7 @@ export default { claimType: 'Option', }, /** - * Lookup273: pallet_sto::RawEvent + * Lookup274: pallet_sto::RawEvent **/ PalletStoRawEvent: { _enum: { @@ -1789,7 +1795,7 @@ export default { }, }, /** - * Lookup276: pallet_sto::Fundraiser + * Lookup277: pallet_sto::Fundraiser **/ PalletStoFundraiser: { creator: 'PolymeshPrimitivesIdentityId', @@ -1805,7 +1811,7 @@ export default { minimumInvestment: 'u128', }, /** - * Lookup278: pallet_sto::FundraiserTier + * Lookup279: pallet_sto::FundraiserTier **/ PalletStoFundraiserTier: { total: 'u128', @@ -1813,13 +1819,13 @@ export default { remaining: 'u128', }, /** - * Lookup279: pallet_sto::FundraiserStatus + * Lookup280: pallet_sto::FundraiserStatus **/ PalletStoFundraiserStatus: { _enum: ['Live', 'Frozen', 'Closed', 'ClosedEarly'], }, /** - * Lookup280: pallet_treasury::RawEvent + * Lookup281: pallet_treasury::RawEvent **/ PalletTreasuryRawEvent: { _enum: { @@ -1831,7 +1837,7 @@ export default { }, }, /** - * Lookup281: pallet_utility::pallet::Event + * Lookup282: pallet_utility::pallet::Event **/ PalletUtilityEvent: { _enum: { @@ -1859,7 +1865,7 @@ export default { }, }, /** - * Lookup285: polymesh_common_utilities::traits::base::Event + * Lookup286: polymesh_common_utilities::traits::base::Event **/ PolymeshCommonUtilitiesBaseEvent: { _enum: { @@ -1867,7 +1873,7 @@ export default { }, }, /** - * Lookup287: polymesh_common_utilities::traits::external_agents::Event + * Lookup288: polymesh_common_utilities::traits::external_agents::Event **/ PolymeshCommonUtilitiesExternalAgentsEvent: { _enum: { @@ -1884,7 +1890,7 @@ export default { }, }, /** - * Lookup288: polymesh_common_utilities::traits::relayer::RawEvent + * Lookup289: polymesh_common_utilities::traits::relayer::RawEvent **/ PolymeshCommonUtilitiesRelayerRawEvent: { _enum: { @@ -1895,7 +1901,7 @@ export default { }, }, /** - * Lookup289: pallet_contracts::pallet::Event + * Lookup290: pallet_contracts::pallet::Event **/ PalletContractsEvent: { _enum: { @@ -1933,7 +1939,7 @@ export default { }, }, /** - * Lookup290: polymesh_contracts::RawEvent + * Lookup291: polymesh_contracts::RawEvent **/ PolymeshContractsRawEvent: { _enum: { @@ -1942,25 +1948,25 @@ export default { }, }, /** - * Lookup291: polymesh_contracts::Api + * Lookup292: polymesh_contracts::Api **/ PolymeshContractsApi: { desc: '[u8;4]', major: 'u32', }, /** - * Lookup292: polymesh_contracts::ChainVersion + * Lookup293: polymesh_contracts::ChainVersion **/ PolymeshContractsChainVersion: { specVersion: 'u32', txVersion: 'u32', }, /** - * Lookup293: polymesh_contracts::chain_extension::ExtrinsicId + * Lookup294: polymesh_contracts::chain_extension::ExtrinsicId **/ PolymeshContractsChainExtensionExtrinsicId: '(u8,u8)', /** - * Lookup294: pallet_preimage::pallet::Event + * Lookup295: pallet_preimage::pallet::Event **/ PalletPreimageEvent: { _enum: { @@ -1985,7 +1991,7 @@ export default { }, }, /** - * Lookup295: polymesh_common_utilities::traits::nft::Event + * Lookup296: polymesh_common_utilities::traits::nft::Event **/ PolymeshCommonUtilitiesNftEvent: { _enum: { @@ -1995,7 +2001,7 @@ export default { }, }, /** - * Lookup297: pallet_test_utils::RawEvent + * Lookup298: pallet_test_utils::RawEvent **/ PalletTestUtilsRawEvent: { _enum: { @@ -2004,59 +2010,138 @@ export default { }, }, /** - * Lookup298: pallet_confidential_asset::pallet::Event + * Lookup299: pallet_confidential_asset::pallet::Event **/ PalletConfidentialAssetEvent: { _enum: { - AccountCreated: '(PolymeshPrimitivesIdentityId,PalletConfidentialAssetConfidentialAccount)', - ConfidentialAssetCreated: - '(PolymeshPrimitivesIdentityId,[u8;16],PalletConfidentialAssetConfidentialAuditors)', - Issued: '(PolymeshPrimitivesIdentityId,[u8;16],u128,u128)', - VenueCreated: '(PolymeshPrimitivesIdentityId,u64)', - VenueFiltering: '(PolymeshPrimitivesIdentityId,[u8;16],bool)', - VenuesAllowed: '(PolymeshPrimitivesIdentityId,[u8;16],Vec)', - VenuesBlocked: '(PolymeshPrimitivesIdentityId,[u8;16],Vec)', - TransactionCreated: - '(PolymeshPrimitivesIdentityId,u64,PalletConfidentialAssetTransactionId,Vec,Option)', - TransactionExecuted: - '(PolymeshPrimitivesIdentityId,PalletConfidentialAssetTransactionId,Option)', - TransactionRejected: - '(PolymeshPrimitivesIdentityId,PalletConfidentialAssetTransactionId,Option)', - TransactionAffirmed: - '(PolymeshPrimitivesIdentityId,PalletConfidentialAssetTransactionId,PalletConfidentialAssetTransactionLegId,PalletConfidentialAssetAffirmParty,u32)', - AccountWithdraw: - '(PalletConfidentialAssetConfidentialAccount,[u8;16],ConfidentialAssetsElgamalCipherText,ConfidentialAssetsElgamalCipherText)', - AccountDeposit: - '(PalletConfidentialAssetConfidentialAccount,[u8;16],ConfidentialAssetsElgamalCipherText,ConfidentialAssetsElgamalCipherText)', - AccountDepositIncoming: - '(PalletConfidentialAssetConfidentialAccount,[u8;16],ConfidentialAssetsElgamalCipherText,ConfidentialAssetsElgamalCipherText)', - }, - }, - /** - * Lookup299: pallet_confidential_asset::ConfidentialAccount + AccountCreated: { + callerDid: 'PolymeshPrimitivesIdentityId', + account: 'PalletConfidentialAssetConfidentialAccount', + }, + AssetCreated: { + callerDid: 'PolymeshPrimitivesIdentityId', + assetId: '[u8;16]', + data: 'Bytes', + auditors: 'PalletConfidentialAssetConfidentialAuditors', + }, + Issued: { + callerDid: 'PolymeshPrimitivesIdentityId', + assetId: '[u8;16]', + amount: 'u128', + totalSupply: 'u128', + }, + Burned: { + callerDid: 'PolymeshPrimitivesIdentityId', + assetId: '[u8;16]', + amount: 'u128', + totalSupply: 'u128', + }, + VenueCreated: { + callerDid: 'PolymeshPrimitivesIdentityId', + venueId: 'u64', + }, + VenueFiltering: { + callerDid: 'PolymeshPrimitivesIdentityId', + assetId: '[u8;16]', + enabled: 'bool', + }, + VenuesAllowed: { + callerDid: 'PolymeshPrimitivesIdentityId', + assetId: '[u8;16]', + venues: 'Vec', + }, + VenuesBlocked: { + callerDid: 'PolymeshPrimitivesIdentityId', + assetId: '[u8;16]', + venues: 'Vec', + }, + TransactionCreated: { + callerDid: 'PolymeshPrimitivesIdentityId', + venueId: 'u64', + transactionId: 'PalletConfidentialAssetTransactionId', + legs: 'Vec', + memo: 'Option', + }, + TransactionExecuted: { + callerDid: 'PolymeshPrimitivesIdentityId', + transactionId: 'PalletConfidentialAssetTransactionId', + memo: 'Option', + }, + TransactionRejected: { + callerDid: 'PolymeshPrimitivesIdentityId', + transactionId: 'PalletConfidentialAssetTransactionId', + memo: 'Option', + }, + TransactionAffirmed: { + callerDid: 'PolymeshPrimitivesIdentityId', + transactionId: 'PalletConfidentialAssetTransactionId', + legId: 'PalletConfidentialAssetTransactionLegId', + party: 'PalletConfidentialAssetAffirmParty', + pendingAffirms: 'u32', + }, + AccountWithdraw: { + account: 'PalletConfidentialAssetConfidentialAccount', + assetId: '[u8;16]', + amount: 'ConfidentialAssetsElgamalCipherText', + balance: 'ConfidentialAssetsElgamalCipherText', + }, + AccountDeposit: { + account: 'PalletConfidentialAssetConfidentialAccount', + assetId: '[u8;16]', + amount: 'ConfidentialAssetsElgamalCipherText', + balance: 'ConfidentialAssetsElgamalCipherText', + }, + AccountDepositIncoming: { + account: 'PalletConfidentialAssetConfidentialAccount', + assetId: '[u8;16]', + amount: 'ConfidentialAssetsElgamalCipherText', + incomingBalance: 'ConfidentialAssetsElgamalCipherText', + }, + AssetFrozen: { + callerDid: 'PolymeshPrimitivesIdentityId', + assetId: '[u8;16]', + }, + AssetUnfrozen: { + callerDid: 'PolymeshPrimitivesIdentityId', + assetId: '[u8;16]', + }, + AccountAssetFrozen: { + callerDid: 'PolymeshPrimitivesIdentityId', + account: 'PalletConfidentialAssetConfidentialAccount', + assetId: '[u8;16]', + }, + AccountAssetUnfrozen: { + callerDid: 'PolymeshPrimitivesIdentityId', + account: 'PalletConfidentialAssetConfidentialAccount', + assetId: '[u8;16]', + }, + }, + }, + /** + * Lookup300: pallet_confidential_asset::ConfidentialAccount **/ PalletConfidentialAssetConfidentialAccount: 'ConfidentialAssetsElgamalCompressedElgamalPublicKey', /** - * Lookup300: confidential_assets::elgamal::CompressedElgamalPublicKey + * Lookup301: confidential_assets::elgamal::CompressedElgamalPublicKey **/ ConfidentialAssetsElgamalCompressedElgamalPublicKey: '[u8;32]', /** - * Lookup301: pallet_confidential_asset::ConfidentialAuditors + * Lookup303: pallet_confidential_asset::ConfidentialAuditors **/ PalletConfidentialAssetConfidentialAuditors: { auditors: 'BTreeSet', mediators: 'BTreeSet', }, /** - * Lookup303: pallet_confidential_asset::AuditorAccount + * Lookup305: pallet_confidential_asset::AuditorAccount **/ PalletConfidentialAssetAuditorAccount: 'ConfidentialAssetsElgamalCompressedElgamalPublicKey', /** - * Lookup308: pallet_confidential_asset::TransactionId + * Lookup309: pallet_confidential_asset::TransactionId **/ PalletConfidentialAssetTransactionId: 'Compact', /** - * Lookup310: pallet_confidential_asset::TransactionLegDetails + * Lookup311: pallet_confidential_asset::TransactionLegDetails **/ PalletConfidentialAssetTransactionLegDetails: { auditors: 'BTreeMap<[u8;16], BTreeSet>', @@ -2065,11 +2150,11 @@ export default { mediators: 'BTreeSet', }, /** - * Lookup318: pallet_confidential_asset::TransactionLegId + * Lookup319: pallet_confidential_asset::TransactionLegId **/ PalletConfidentialAssetTransactionLegId: 'Compact', /** - * Lookup320: pallet_confidential_asset::AffirmParty + * Lookup321: pallet_confidential_asset::AffirmParty **/ PalletConfidentialAssetAffirmParty: { _enum: { @@ -2079,17 +2164,17 @@ export default { }, }, /** - * Lookup321: pallet_confidential_asset::ConfidentialTransfers + * Lookup322: pallet_confidential_asset::ConfidentialTransfers **/ PalletConfidentialAssetConfidentialTransfers: { proofs: 'BTreeMap<[u8;16], Bytes>', }, /** - * Lookup327: confidential_assets::elgamal::CipherText + * Lookup328: confidential_assets::elgamal::CipherText **/ ConfidentialAssetsElgamalCipherText: '[u8;64]', /** - * Lookup328: frame_system::Phase + * Lookup329: frame_system::Phase **/ FrameSystemPhase: { _enum: { @@ -2099,14 +2184,14 @@ export default { }, }, /** - * Lookup331: frame_system::LastRuntimeUpgradeInfo + * Lookup332: frame_system::LastRuntimeUpgradeInfo **/ FrameSystemLastRuntimeUpgradeInfo: { specVersion: 'Compact', specName: 'Text', }, /** - * Lookup333: frame_system::pallet::Call + * Lookup334: frame_system::pallet::Call **/ FrameSystemCall: { _enum: { @@ -2141,7 +2226,7 @@ export default { }, }, /** - * Lookup337: frame_system::limits::BlockWeights + * Lookup338: frame_system::limits::BlockWeights **/ FrameSystemLimitsBlockWeights: { baseBlock: 'SpWeightsWeightV2Weight', @@ -2149,7 +2234,7 @@ export default { perClass: 'FrameSupportDispatchPerDispatchClassWeightsPerClass', }, /** - * Lookup338: frame_support::dispatch::PerDispatchClass + * Lookup339: frame_support::dispatch::PerDispatchClass **/ FrameSupportDispatchPerDispatchClassWeightsPerClass: { normal: 'FrameSystemLimitsWeightsPerClass', @@ -2157,7 +2242,7 @@ export default { mandatory: 'FrameSystemLimitsWeightsPerClass', }, /** - * Lookup339: frame_system::limits::WeightsPerClass + * Lookup340: frame_system::limits::WeightsPerClass **/ FrameSystemLimitsWeightsPerClass: { baseExtrinsic: 'SpWeightsWeightV2Weight', @@ -2166,13 +2251,13 @@ export default { reserved: 'Option', }, /** - * Lookup341: frame_system::limits::BlockLength + * Lookup342: frame_system::limits::BlockLength **/ FrameSystemLimitsBlockLength: { max: 'FrameSupportDispatchPerDispatchClassU32', }, /** - * Lookup342: frame_support::dispatch::PerDispatchClass + * Lookup343: frame_support::dispatch::PerDispatchClass **/ FrameSupportDispatchPerDispatchClassU32: { normal: 'u32', @@ -2180,14 +2265,14 @@ export default { mandatory: 'u32', }, /** - * Lookup343: sp_weights::RuntimeDbWeight + * Lookup344: sp_weights::RuntimeDbWeight **/ SpWeightsRuntimeDbWeight: { read: 'u64', write: 'u64', }, /** - * Lookup344: sp_version::RuntimeVersion + * Lookup345: sp_version::RuntimeVersion **/ SpVersionRuntimeVersion: { specName: 'Text', @@ -2200,7 +2285,7 @@ export default { stateVersion: 'u8', }, /** - * Lookup349: frame_system::pallet::Error + * Lookup350: frame_system::pallet::Error **/ FrameSystemError: { _enum: [ @@ -2213,11 +2298,11 @@ export default { ], }, /** - * Lookup352: sp_consensus_babe::app::Public + * Lookup353: sp_consensus_babe::app::Public **/ SpConsensusBabeAppPublic: 'SpCoreSr25519Public', /** - * Lookup355: sp_consensus_babe::digests::NextConfigDescriptor + * Lookup356: sp_consensus_babe::digests::NextConfigDescriptor **/ SpConsensusBabeDigestsNextConfigDescriptor: { _enum: { @@ -2229,13 +2314,13 @@ export default { }, }, /** - * Lookup357: sp_consensus_babe::AllowedSlots + * Lookup358: sp_consensus_babe::AllowedSlots **/ SpConsensusBabeAllowedSlots: { _enum: ['PrimarySlots', 'PrimaryAndSecondaryPlainSlots', 'PrimaryAndSecondaryVRFSlots'], }, /** - * Lookup361: sp_consensus_babe::digests::PreDigest + * Lookup362: sp_consensus_babe::digests::PreDigest **/ SpConsensusBabeDigestsPreDigest: { _enum: { @@ -2246,7 +2331,7 @@ export default { }, }, /** - * Lookup362: sp_consensus_babe::digests::PrimaryPreDigest + * Lookup363: sp_consensus_babe::digests::PrimaryPreDigest **/ SpConsensusBabeDigestsPrimaryPreDigest: { authorityIndex: 'u32', @@ -2255,14 +2340,14 @@ export default { vrfProof: '[u8;64]', }, /** - * Lookup363: sp_consensus_babe::digests::SecondaryPlainPreDigest + * Lookup364: sp_consensus_babe::digests::SecondaryPlainPreDigest **/ SpConsensusBabeDigestsSecondaryPlainPreDigest: { authorityIndex: 'u32', slot: 'u64', }, /** - * Lookup364: sp_consensus_babe::digests::SecondaryVRFPreDigest + * Lookup365: sp_consensus_babe::digests::SecondaryVRFPreDigest **/ SpConsensusBabeDigestsSecondaryVRFPreDigest: { authorityIndex: 'u32', @@ -2271,14 +2356,14 @@ export default { vrfProof: '[u8;64]', }, /** - * Lookup365: sp_consensus_babe::BabeEpochConfiguration + * Lookup366: sp_consensus_babe::BabeEpochConfiguration **/ SpConsensusBabeBabeEpochConfiguration: { c: '(u64,u64)', allowedSlots: 'SpConsensusBabeAllowedSlots', }, /** - * Lookup369: pallet_babe::pallet::Call + * Lookup370: pallet_babe::pallet::Call **/ PalletBabeCall: { _enum: { @@ -2296,7 +2381,7 @@ export default { }, }, /** - * Lookup370: sp_consensus_slots::EquivocationProof, sp_consensus_babe::app::Public> + * Lookup371: sp_consensus_slots::EquivocationProof, sp_consensus_babe::app::Public> **/ SpConsensusSlotsEquivocationProof: { offender: 'SpConsensusBabeAppPublic', @@ -2305,7 +2390,7 @@ export default { secondHeader: 'SpRuntimeHeader', }, /** - * Lookup371: sp_runtime::generic::header::Header + * Lookup372: sp_runtime::generic::header::Header **/ SpRuntimeHeader: { parentHash: 'H256', @@ -2315,11 +2400,11 @@ export default { digest: 'SpRuntimeDigest', }, /** - * Lookup372: sp_runtime::traits::BlakeTwo256 + * Lookup373: sp_runtime::traits::BlakeTwo256 **/ SpRuntimeBlakeTwo256: 'Null', /** - * Lookup373: sp_session::MembershipProof + * Lookup374: sp_session::MembershipProof **/ SpSessionMembershipProof: { session: 'u32', @@ -2327,7 +2412,7 @@ export default { validatorCount: 'u32', }, /** - * Lookup374: pallet_babe::pallet::Error + * Lookup375: pallet_babe::pallet::Error **/ PalletBabeError: { _enum: [ @@ -2338,7 +2423,7 @@ export default { ], }, /** - * Lookup375: pallet_timestamp::pallet::Call + * Lookup376: pallet_timestamp::pallet::Call **/ PalletTimestampCall: { _enum: { @@ -2348,7 +2433,7 @@ export default { }, }, /** - * Lookup377: pallet_indices::pallet::Call + * Lookup378: pallet_indices::pallet::Call **/ PalletIndicesCall: { _enum: { @@ -2379,13 +2464,13 @@ export default { }, }, /** - * Lookup379: pallet_indices::pallet::Error + * Lookup380: pallet_indices::pallet::Error **/ PalletIndicesError: { _enum: ['NotAssigned', 'NotOwner', 'InUse', 'NotTransfer', 'Permanent'], }, /** - * Lookup381: pallet_balances::BalanceLock + * Lookup382: pallet_balances::BalanceLock **/ PalletBalancesBalanceLock: { id: '[u8;8]', @@ -2393,13 +2478,13 @@ export default { reasons: 'PolymeshCommonUtilitiesBalancesReasons', }, /** - * Lookup382: polymesh_common_utilities::traits::balances::Reasons + * Lookup383: polymesh_common_utilities::traits::balances::Reasons **/ PolymeshCommonUtilitiesBalancesReasons: { _enum: ['Fee', 'Misc', 'All'], }, /** - * Lookup383: pallet_balances::Call + * Lookup384: pallet_balances::Call **/ PalletBalancesCall: { _enum: { @@ -2431,7 +2516,7 @@ export default { }, }, /** - * Lookup384: pallet_balances::Error + * Lookup385: pallet_balances::Error **/ PalletBalancesError: { _enum: [ @@ -2443,13 +2528,13 @@ export default { ], }, /** - * Lookup386: pallet_transaction_payment::Releases + * Lookup387: pallet_transaction_payment::Releases **/ PalletTransactionPaymentReleases: { _enum: ['V1Ancient', 'V2'], }, /** - * Lookup388: sp_weights::WeightToFeeCoefficient + * Lookup389: sp_weights::WeightToFeeCoefficient **/ SpWeightsWeightToFeeCoefficient: { coeffInteger: 'u128', @@ -2458,27 +2543,27 @@ export default { degree: 'u8', }, /** - * Lookup389: polymesh_primitives::identity::DidRecord + * Lookup390: polymesh_primitives::identity::DidRecord **/ PolymeshPrimitivesIdentityDidRecord: { primaryKey: 'Option', }, /** - * Lookup391: pallet_identity::types::Claim1stKey + * Lookup392: pallet_identity::types::Claim1stKey **/ PalletIdentityClaim1stKey: { target: 'PolymeshPrimitivesIdentityId', claimType: 'PolymeshPrimitivesIdentityClaimClaimType', }, /** - * Lookup392: pallet_identity::types::Claim2ndKey + * Lookup393: pallet_identity::types::Claim2ndKey **/ PalletIdentityClaim2ndKey: { issuer: 'PolymeshPrimitivesIdentityId', scope: 'Option', }, /** - * Lookup393: polymesh_primitives::secondary_key::KeyRecord + * Lookup394: polymesh_primitives::secondary_key::KeyRecord **/ PolymeshPrimitivesSecondaryKeyKeyRecord: { _enum: { @@ -2488,7 +2573,7 @@ export default { }, }, /** - * Lookup396: polymesh_primitives::authorization::Authorization + * Lookup397: polymesh_primitives::authorization::Authorization **/ PolymeshPrimitivesAuthorization: { authorizationData: 'PolymeshPrimitivesAuthorizationAuthorizationData', @@ -2498,7 +2583,7 @@ export default { count: 'u32', }, /** - * Lookup400: pallet_identity::Call + * Lookup401: pallet_identity::Call **/ PalletIdentityCall: { _enum: { @@ -2590,21 +2675,21 @@ export default { }, }, /** - * Lookup402: polymesh_common_utilities::traits::identity::SecondaryKeyWithAuth + * Lookup403: polymesh_common_utilities::traits::identity::SecondaryKeyWithAuth **/ PolymeshCommonUtilitiesIdentitySecondaryKeyWithAuth: { secondaryKey: 'PolymeshPrimitivesSecondaryKey', authSignature: 'H512', }, /** - * Lookup405: polymesh_common_utilities::traits::identity::CreateChildIdentityWithAuth + * Lookup406: polymesh_common_utilities::traits::identity::CreateChildIdentityWithAuth **/ PolymeshCommonUtilitiesIdentityCreateChildIdentityWithAuth: { key: 'AccountId32', authSignature: 'H512', }, /** - * Lookup406: pallet_identity::Error + * Lookup407: pallet_identity::Error **/ PalletIdentityError: { _enum: [ @@ -2644,7 +2729,7 @@ export default { ], }, /** - * Lookup408: polymesh_common_utilities::traits::group::InactiveMember + * Lookup409: polymesh_common_utilities::traits::group::InactiveMember **/ PolymeshCommonUtilitiesGroupInactiveMember: { id: 'PolymeshPrimitivesIdentityId', @@ -2652,7 +2737,7 @@ export default { expiry: 'Option', }, /** - * Lookup409: pallet_group::Call + * Lookup410: pallet_group::Call **/ PalletGroupCall: { _enum: { @@ -2681,7 +2766,7 @@ export default { }, }, /** - * Lookup410: pallet_group::Error + * Lookup411: pallet_group::Error **/ PalletGroupError: { _enum: [ @@ -2695,7 +2780,7 @@ export default { ], }, /** - * Lookup412: pallet_committee::Call + * Lookup413: pallet_committee::Call **/ PalletCommitteeCall: { _enum: { @@ -2721,7 +2806,7 @@ export default { }, }, /** - * Lookup418: pallet_multisig::Call + * Lookup419: pallet_multisig::Call **/ PalletMultisigCall: { _enum: { @@ -2815,7 +2900,7 @@ export default { }, }, /** - * Lookup419: pallet_bridge::Call + * Lookup420: pallet_bridge::Call **/ PalletBridgeCall: { _enum: { @@ -2870,7 +2955,7 @@ export default { }, }, /** - * Lookup423: pallet_staking::Call + * Lookup424: pallet_staking::Call **/ PalletStakingCall: { _enum: { @@ -2996,7 +3081,7 @@ export default { }, }, /** - * Lookup424: pallet_staking::RewardDestination + * Lookup425: pallet_staking::RewardDestination **/ PalletStakingRewardDestination: { _enum: { @@ -3007,14 +3092,14 @@ export default { }, }, /** - * Lookup425: pallet_staking::ValidatorPrefs + * Lookup426: pallet_staking::ValidatorPrefs **/ PalletStakingValidatorPrefs: { commission: 'Compact', blocked: 'bool', }, /** - * Lookup431: pallet_staking::CompactAssignments + * Lookup432: pallet_staking::CompactAssignments **/ PalletStakingCompactAssignments: { votes1: 'Vec<(Compact,Compact)>', @@ -3035,7 +3120,7 @@ export default { votes16: 'Vec<(Compact,[(Compact,Compact);15],Compact)>', }, /** - * Lookup482: sp_npos_elections::ElectionScore + * Lookup483: sp_npos_elections::ElectionScore **/ SpNposElectionsElectionScore: { minimalStake: 'u128', @@ -3043,14 +3128,14 @@ export default { sumStakeSquared: 'u128', }, /** - * Lookup483: pallet_staking::ElectionSize + * Lookup484: pallet_staking::ElectionSize **/ PalletStakingElectionSize: { validators: 'Compact', nominators: 'Compact', }, /** - * Lookup484: pallet_session::pallet::Call + * Lookup485: pallet_session::pallet::Call **/ PalletSessionCall: { _enum: { @@ -3065,7 +3150,7 @@ export default { }, }, /** - * Lookup485: polymesh_runtime_develop::runtime::SessionKeys + * Lookup486: polymesh_runtime_develop::runtime::SessionKeys **/ PolymeshRuntimeDevelopRuntimeSessionKeys: { grandpa: 'SpConsensusGrandpaAppPublic', @@ -3074,11 +3159,11 @@ export default { authorityDiscovery: 'SpAuthorityDiscoveryAppPublic', }, /** - * Lookup486: sp_authority_discovery::app::Public + * Lookup487: sp_authority_discovery::app::Public **/ SpAuthorityDiscoveryAppPublic: 'SpCoreSr25519Public', /** - * Lookup487: pallet_grandpa::pallet::Call + * Lookup488: pallet_grandpa::pallet::Call **/ PalletGrandpaCall: { _enum: { @@ -3097,14 +3182,14 @@ export default { }, }, /** - * Lookup488: sp_consensus_grandpa::EquivocationProof + * Lookup489: sp_consensus_grandpa::EquivocationProof **/ SpConsensusGrandpaEquivocationProof: { setId: 'u64', equivocation: 'SpConsensusGrandpaEquivocation', }, /** - * Lookup489: sp_consensus_grandpa::Equivocation + * Lookup490: sp_consensus_grandpa::Equivocation **/ SpConsensusGrandpaEquivocation: { _enum: { @@ -3113,7 +3198,7 @@ export default { }, }, /** - * Lookup490: finality_grandpa::Equivocation, sp_consensus_grandpa::app::Signature> + * Lookup491: finality_grandpa::Equivocation, sp_consensus_grandpa::app::Signature> **/ FinalityGrandpaEquivocationPrevote: { roundNumber: 'u64', @@ -3122,22 +3207,22 @@ export default { second: '(FinalityGrandpaPrevote,SpConsensusGrandpaAppSignature)', }, /** - * Lookup491: finality_grandpa::Prevote + * Lookup492: finality_grandpa::Prevote **/ FinalityGrandpaPrevote: { targetHash: 'H256', targetNumber: 'u32', }, /** - * Lookup492: sp_consensus_grandpa::app::Signature + * Lookup493: sp_consensus_grandpa::app::Signature **/ SpConsensusGrandpaAppSignature: 'SpCoreEd25519Signature', /** - * Lookup493: sp_core::ed25519::Signature + * Lookup494: sp_core::ed25519::Signature **/ SpCoreEd25519Signature: '[u8;64]', /** - * Lookup495: finality_grandpa::Equivocation, sp_consensus_grandpa::app::Signature> + * Lookup496: finality_grandpa::Equivocation, sp_consensus_grandpa::app::Signature> **/ FinalityGrandpaEquivocationPrecommit: { roundNumber: 'u64', @@ -3146,14 +3231,14 @@ export default { second: '(FinalityGrandpaPrecommit,SpConsensusGrandpaAppSignature)', }, /** - * Lookup496: finality_grandpa::Precommit + * Lookup497: finality_grandpa::Precommit **/ FinalityGrandpaPrecommit: { targetHash: 'H256', targetNumber: 'u32', }, /** - * Lookup498: pallet_im_online::pallet::Call + * Lookup499: pallet_im_online::pallet::Call **/ PalletImOnlineCall: { _enum: { @@ -3164,7 +3249,7 @@ export default { }, }, /** - * Lookup499: pallet_im_online::Heartbeat + * Lookup500: pallet_im_online::Heartbeat **/ PalletImOnlineHeartbeat: { blockNumber: 'u32', @@ -3174,22 +3259,22 @@ export default { validatorsLen: 'u32', }, /** - * Lookup500: sp_core::offchain::OpaqueNetworkState + * Lookup501: sp_core::offchain::OpaqueNetworkState **/ SpCoreOffchainOpaqueNetworkState: { peerId: 'OpaquePeerId', externalAddresses: 'Vec', }, /** - * Lookup504: pallet_im_online::sr25519::app_sr25519::Signature + * Lookup505: pallet_im_online::sr25519::app_sr25519::Signature **/ PalletImOnlineSr25519AppSr25519Signature: 'SpCoreSr25519Signature', /** - * Lookup505: sp_core::sr25519::Signature + * Lookup506: sp_core::sr25519::Signature **/ SpCoreSr25519Signature: '[u8;64]', /** - * Lookup506: pallet_sudo::Call + * Lookup507: pallet_sudo::Call **/ PalletSudoCall: { _enum: { @@ -3213,7 +3298,7 @@ export default { }, }, /** - * Lookup507: pallet_asset::Call + * Lookup508: pallet_asset::Call **/ PalletAssetCall: { _enum: { @@ -3344,10 +3429,18 @@ export default { remove_ticker_pre_approval: { ticker: 'PolymeshPrimitivesTicker', }, + add_mandatory_mediators: { + ticker: 'PolymeshPrimitivesTicker', + mediators: 'BTreeSet', + }, + remove_mandatory_mediators: { + ticker: 'PolymeshPrimitivesTicker', + mediators: 'BTreeSet', + }, }, }, /** - * Lookup509: pallet_corporate_actions::distribution::Call + * Lookup511: pallet_corporate_actions::distribution::Call **/ PalletCorporateActionsDistributionCall: { _enum: { @@ -3376,7 +3469,7 @@ export default { }, }, /** - * Lookup511: pallet_asset::checkpoint::Call + * Lookup513: pallet_asset::checkpoint::Call **/ PalletAssetCheckpointCall: { _enum: { @@ -3397,7 +3490,7 @@ export default { }, }, /** - * Lookup512: pallet_compliance_manager::Call + * Lookup514: pallet_compliance_manager::Call **/ PalletComplianceManagerCall: { _enum: { @@ -3438,7 +3531,7 @@ export default { }, }, /** - * Lookup513: pallet_corporate_actions::Call + * Lookup515: pallet_corporate_actions::Call **/ PalletCorporateActionsCall: { _enum: { @@ -3491,7 +3584,7 @@ export default { }, }, /** - * Lookup515: pallet_corporate_actions::RecordDateSpec + * Lookup517: pallet_corporate_actions::RecordDateSpec **/ PalletCorporateActionsRecordDateSpec: { _enum: { @@ -3501,7 +3594,7 @@ export default { }, }, /** - * Lookup518: pallet_corporate_actions::InitiateCorporateActionArgs + * Lookup520: pallet_corporate_actions::InitiateCorporateActionArgs **/ PalletCorporateActionsInitiateCorporateActionArgs: { ticker: 'PolymeshPrimitivesTicker', @@ -3514,7 +3607,7 @@ export default { withholdingTax: 'Option>', }, /** - * Lookup519: pallet_corporate_actions::ballot::Call + * Lookup521: pallet_corporate_actions::ballot::Call **/ PalletCorporateActionsBallotCall: { _enum: { @@ -3546,7 +3639,7 @@ export default { }, }, /** - * Lookup520: pallet_pips::Call + * Lookup522: pallet_pips::Call **/ PalletPipsCall: { _enum: { @@ -3607,13 +3700,13 @@ export default { }, }, /** - * Lookup523: pallet_pips::SnapshotResult + * Lookup525: pallet_pips::SnapshotResult **/ PalletPipsSnapshotResult: { _enum: ['Approve', 'Reject', 'Skip'], }, /** - * Lookup524: pallet_portfolio::Call + * Lookup526: pallet_portfolio::Call **/ PalletPortfolioCall: { _enum: { @@ -3659,14 +3752,14 @@ export default { }, }, /** - * Lookup526: polymesh_primitives::portfolio::Fund + * Lookup528: polymesh_primitives::portfolio::Fund **/ PolymeshPrimitivesPortfolioFund: { description: 'PolymeshPrimitivesPortfolioFundDescription', memo: 'Option', }, /** - * Lookup527: pallet_protocol_fee::Call + * Lookup529: pallet_protocol_fee::Call **/ PalletProtocolFeeCall: { _enum: { @@ -3680,7 +3773,7 @@ export default { }, }, /** - * Lookup528: polymesh_common_utilities::protocol_fee::ProtocolOp + * Lookup530: polymesh_common_utilities::protocol_fee::ProtocolOp **/ PolymeshCommonUtilitiesProtocolFeeProtocolOp: { _enum: [ @@ -3703,7 +3796,7 @@ export default { ], }, /** - * Lookup529: pallet_scheduler::pallet::Call + * Lookup531: pallet_scheduler::pallet::Call **/ PalletSchedulerCall: { _enum: { @@ -3743,7 +3836,7 @@ export default { }, }, /** - * Lookup531: pallet_settlement::Call + * Lookup533: pallet_settlement::Call **/ PalletSettlementCall: { _enum: { @@ -3844,10 +3937,40 @@ export default { portfolios: 'Vec', numberOfAssets: 'Option', }, + add_instruction_with_mediators: { + venueId: 'u64', + settlementType: 'PolymeshPrimitivesSettlementSettlementType', + tradeDate: 'Option', + valueDate: 'Option', + legs: 'Vec', + instructionMemo: 'Option', + mediators: 'BTreeSet', + }, + add_and_affirm_with_mediators: { + venueId: 'u64', + settlementType: 'PolymeshPrimitivesSettlementSettlementType', + tradeDate: 'Option', + valueDate: 'Option', + legs: 'Vec', + portfolios: 'Vec', + instructionMemo: 'Option', + mediators: 'BTreeSet', + }, + affirm_instruction_as_mediator: { + instructionId: 'u64', + expiry: 'Option', + }, + withdraw_affirmation_as_mediator: { + instructionId: 'u64', + }, + reject_instruction_as_mediator: { + instructionId: 'u64', + numberOfAssets: 'Option', + }, }, }, /** - * Lookup533: polymesh_primitives::settlement::ReceiptDetails + * Lookup535: polymesh_primitives::settlement::ReceiptDetails **/ PolymeshPrimitivesSettlementReceiptDetails: { uid: 'u64', @@ -3858,7 +3981,7 @@ export default { metadata: 'Option', }, /** - * Lookup534: sp_runtime::MultiSignature + * Lookup536: sp_runtime::MultiSignature **/ SpRuntimeMultiSignature: { _enum: { @@ -3868,11 +3991,11 @@ export default { }, }, /** - * Lookup535: sp_core::ecdsa::Signature + * Lookup537: sp_core::ecdsa::Signature **/ SpCoreEcdsaSignature: '[u8;65]', /** - * Lookup538: polymesh_primitives::settlement::AffirmationCount + * Lookup540: polymesh_primitives::settlement::AffirmationCount **/ PolymeshPrimitivesSettlementAffirmationCount: { senderAssetCount: 'PolymeshPrimitivesSettlementAssetCount', @@ -3880,7 +4003,7 @@ export default { offchainCount: 'u32', }, /** - * Lookup539: polymesh_primitives::settlement::AssetCount + * Lookup541: polymesh_primitives::settlement::AssetCount **/ PolymeshPrimitivesSettlementAssetCount: { fungible: 'u32', @@ -3888,7 +4011,7 @@ export default { offChain: 'u32', }, /** - * Lookup541: pallet_statistics::Call + * Lookup544: pallet_statistics::Call **/ PalletStatisticsCall: { _enum: { @@ -3913,7 +4036,7 @@ export default { }, }, /** - * Lookup545: pallet_sto::Call + * Lookup548: pallet_sto::Call **/ PalletStoCall: { _enum: { @@ -3959,14 +4082,14 @@ export default { }, }, /** - * Lookup547: pallet_sto::PriceTier + * Lookup550: pallet_sto::PriceTier **/ PalletStoPriceTier: { total: 'u128', price: 'u128', }, /** - * Lookup549: pallet_treasury::Call + * Lookup552: pallet_treasury::Call **/ PalletTreasuryCall: { _enum: { @@ -3979,14 +4102,14 @@ export default { }, }, /** - * Lookup551: polymesh_primitives::Beneficiary + * Lookup554: polymesh_primitives::Beneficiary **/ PolymeshPrimitivesBeneficiary: { id: 'PolymeshPrimitivesIdentityId', amount: 'u128', }, /** - * Lookup552: pallet_utility::pallet::Call + * Lookup555: pallet_utility::pallet::Call **/ PalletUtilityCall: { _enum: { @@ -4028,14 +4151,14 @@ export default { }, }, /** - * Lookup554: pallet_utility::UniqueCall + * Lookup557: pallet_utility::UniqueCall **/ PalletUtilityUniqueCall: { nonce: 'u64', call: 'Call', }, /** - * Lookup555: polymesh_runtime_develop::runtime::OriginCaller + * Lookup558: polymesh_runtime_develop::runtime::OriginCaller **/ PolymeshRuntimeDevelopRuntimeOriginCaller: { _enum: { @@ -4056,7 +4179,7 @@ export default { }, }, /** - * Lookup556: frame_support::dispatch::RawOrigin + * Lookup559: frame_support::dispatch::RawOrigin **/ FrameSupportDispatchRawOrigin: { _enum: { @@ -4066,33 +4189,33 @@ export default { }, }, /** - * Lookup557: pallet_committee::RawOrigin + * Lookup560: pallet_committee::RawOrigin **/ PalletCommitteeRawOriginInstance1: { _enum: ['Endorsed'], }, /** - * Lookup558: pallet_committee::RawOrigin + * Lookup561: pallet_committee::RawOrigin **/ PalletCommitteeRawOriginInstance3: { _enum: ['Endorsed'], }, /** - * Lookup559: pallet_committee::RawOrigin + * Lookup562: pallet_committee::RawOrigin **/ PalletCommitteeRawOriginInstance4: { _enum: ['Endorsed'], }, /** - * Lookup560: sp_core::Void + * Lookup563: sp_core::Void **/ SpCoreVoid: 'Null', /** - * Lookup561: pallet_base::Call + * Lookup564: pallet_base::Call **/ PalletBaseCall: 'Null', /** - * Lookup562: pallet_external_agents::Call + * Lookup565: pallet_external_agents::Call **/ PalletExternalAgentsCall: { _enum: { @@ -4134,7 +4257,7 @@ export default { }, }, /** - * Lookup563: pallet_relayer::Call + * Lookup566: pallet_relayer::Call **/ PalletRelayerCall: { _enum: { @@ -4164,7 +4287,7 @@ export default { }, }, /** - * Lookup564: pallet_contracts::pallet::Call + * Lookup567: pallet_contracts::pallet::Call **/ PalletContractsCall: { _enum: { @@ -4229,13 +4352,13 @@ export default { }, }, /** - * Lookup568: pallet_contracts::wasm::Determinism + * Lookup571: pallet_contracts::wasm::Determinism **/ PalletContractsWasmDeterminism: { _enum: ['Deterministic', 'AllowIndeterminism'], }, /** - * Lookup569: polymesh_contracts::Call + * Lookup572: polymesh_contracts::Call **/ PolymeshContractsCall: { _enum: { @@ -4283,14 +4406,14 @@ export default { }, }, /** - * Lookup572: polymesh_contracts::NextUpgrade + * Lookup575: polymesh_contracts::NextUpgrade **/ PolymeshContractsNextUpgrade: { chainVersion: 'PolymeshContractsChainVersion', apiHash: 'PolymeshContractsApiCodeHash', }, /** - * Lookup573: polymesh_contracts::ApiCodeHash + * Lookup576: polymesh_contracts::ApiCodeHash **/ PolymeshContractsApiCodeHash: { _alias: { @@ -4299,7 +4422,7 @@ export default { hash_: 'H256', }, /** - * Lookup574: pallet_preimage::pallet::Call + * Lookup577: pallet_preimage::pallet::Call **/ PalletPreimageCall: { _enum: { @@ -4327,7 +4450,7 @@ export default { }, }, /** - * Lookup575: pallet_nft::Call + * Lookup578: pallet_nft::Call **/ PalletNftCall: { _enum: { @@ -4355,18 +4478,18 @@ export default { }, }, /** - * Lookup577: polymesh_primitives::nft::NFTCollectionKeys + * Lookup580: polymesh_primitives::nft::NFTCollectionKeys **/ PolymeshPrimitivesNftNftCollectionKeys: 'Vec', /** - * Lookup580: polymesh_primitives::nft::NFTMetadataAttribute + * Lookup583: polymesh_primitives::nft::NFTMetadataAttribute **/ PolymeshPrimitivesNftNftMetadataAttribute: { key: 'PolymeshPrimitivesAssetMetadataAssetMetadataKey', value: 'Bytes', }, /** - * Lookup581: pallet_test_utils::Call + * Lookup584: pallet_test_utils::Call **/ PalletTestUtilsCall: { _enum: { @@ -4383,7 +4506,7 @@ export default { }, }, /** - * Lookup582: pallet_confidential_asset::pallet::Call + * Lookup585: pallet_confidential_asset::pallet::Call **/ PalletConfidentialAssetCall: { _enum: { @@ -4391,12 +4514,11 @@ export default { account: 'PalletConfidentialAssetConfidentialAccount', }, __Unused1: 'Null', - create_confidential_asset: { - ticker: 'Option', + create_asset: { data: 'Bytes', auditors: 'PalletConfidentialAssetConfidentialAuditors', }, - mint_confidential_asset: { + mint: { assetId: '[u8;16]', amount: 'u128', account: 'PalletConfidentialAssetConfidentialAccount', @@ -4434,10 +4556,29 @@ export default { transactionId: 'PalletConfidentialAssetTransactionId', legCount: 'u32', }, + set_asset_frozen: { + assetId: '[u8;16]', + freeze: 'bool', + }, + set_account_asset_frozen: { + account: 'PalletConfidentialAssetConfidentialAccount', + assetId: '[u8;16]', + freeze: 'bool', + }, + apply_incoming_balances: { + account: 'PalletConfidentialAssetConfidentialAccount', + maxUpdates: 'u16', + }, + burn: { + assetId: '[u8;16]', + amount: 'u128', + account: 'PalletConfidentialAssetConfidentialAccount', + proof: 'ConfidentialAssetsBurnConfidentialBurnProof', + }, }, }, /** - * Lookup586: pallet_confidential_asset::TransactionLeg + * Lookup587: pallet_confidential_asset::TransactionLeg **/ PalletConfidentialAssetTransactionLeg: { assets: 'BTreeSet<[u8;16]>', @@ -4447,25 +4588,31 @@ export default { mediators: 'BTreeSet', }, /** - * Lookup591: pallet_confidential_asset::AffirmTransactions + * Lookup592: pallet_confidential_asset::AffirmTransactions **/ PalletConfidentialAssetAffirmTransactions: 'Vec', /** - * Lookup593: pallet_confidential_asset::AffirmTransaction + * Lookup594: pallet_confidential_asset::AffirmTransaction **/ PalletConfidentialAssetAffirmTransaction: { id: 'PalletConfidentialAssetTransactionId', leg: 'PalletConfidentialAssetAffirmLeg', }, /** - * Lookup594: pallet_confidential_asset::AffirmLeg + * Lookup595: pallet_confidential_asset::AffirmLeg **/ PalletConfidentialAssetAffirmLeg: { legId: 'PalletConfidentialAssetTransactionLegId', party: 'PalletConfidentialAssetAffirmParty', }, /** - * Lookup596: pallet_committee::PolymeshVotes + * Lookup597: confidential_assets::burn::ConfidentialBurnProof + **/ + ConfidentialAssetsBurnConfidentialBurnProof: { + encodedInnerProof: 'Bytes', + }, + /** + * Lookup598: pallet_committee::PolymeshVotes **/ PalletCommitteePolymeshVotes: { index: 'u32', @@ -4474,7 +4621,7 @@ export default { expiry: 'PolymeshCommonUtilitiesMaybeBlock', }, /** - * Lookup598: pallet_committee::Error + * Lookup600: pallet_committee::Error **/ PalletCommitteeError: { _enum: [ @@ -4490,7 +4637,7 @@ export default { ], }, /** - * Lookup608: polymesh_primitives::multisig::ProposalDetails + * Lookup610: polymesh_primitives::multisig::ProposalDetails **/ PolymeshPrimitivesMultisigProposalDetails: { approvals: 'u64', @@ -4500,13 +4647,13 @@ export default { autoClose: 'bool', }, /** - * Lookup609: polymesh_primitives::multisig::ProposalStatus + * Lookup611: polymesh_primitives::multisig::ProposalStatus **/ PolymeshPrimitivesMultisigProposalStatus: { _enum: ['Invalid', 'ActiveOrExpired', 'ExecutionSuccessful', 'ExecutionFailed', 'Rejected'], }, /** - * Lookup611: pallet_multisig::Error + * Lookup613: pallet_multisig::Error **/ PalletMultisigError: { _enum: [ @@ -4539,7 +4686,7 @@ export default { ], }, /** - * Lookup613: pallet_bridge::BridgeTxDetail + * Lookup615: pallet_bridge::BridgeTxDetail **/ PalletBridgeBridgeTxDetail: { amount: 'u128', @@ -4548,7 +4695,7 @@ export default { txHash: 'H256', }, /** - * Lookup614: pallet_bridge::BridgeTxStatus + * Lookup616: pallet_bridge::BridgeTxStatus **/ PalletBridgeBridgeTxStatus: { _enum: { @@ -4560,7 +4707,7 @@ export default { }, }, /** - * Lookup617: pallet_bridge::Error + * Lookup619: pallet_bridge::Error **/ PalletBridgeError: { _enum: [ @@ -4580,7 +4727,7 @@ export default { ], }, /** - * Lookup618: pallet_staking::StakingLedger + * Lookup620: pallet_staking::StakingLedger **/ PalletStakingStakingLedger: { stash: 'AccountId32', @@ -4590,14 +4737,14 @@ export default { claimedRewards: 'Vec', }, /** - * Lookup620: pallet_staking::UnlockChunk + * Lookup622: pallet_staking::UnlockChunk **/ PalletStakingUnlockChunk: { value: 'Compact', era: 'Compact', }, /** - * Lookup621: pallet_staking::Nominations + * Lookup623: pallet_staking::Nominations **/ PalletStakingNominations: { targets: 'Vec', @@ -4605,27 +4752,27 @@ export default { suppressed: 'bool', }, /** - * Lookup622: pallet_staking::ActiveEraInfo + * Lookup624: pallet_staking::ActiveEraInfo **/ PalletStakingActiveEraInfo: { index: 'u32', start: 'Option', }, /** - * Lookup624: pallet_staking::EraRewardPoints + * Lookup626: pallet_staking::EraRewardPoints **/ PalletStakingEraRewardPoints: { total: 'u32', individual: 'BTreeMap', }, /** - * Lookup627: pallet_staking::Forcing + * Lookup629: pallet_staking::Forcing **/ PalletStakingForcing: { _enum: ['NotForcing', 'ForceNew', 'ForceNone', 'ForceAlways'], }, /** - * Lookup629: pallet_staking::UnappliedSlash + * Lookup631: pallet_staking::UnappliedSlash **/ PalletStakingUnappliedSlash: { validator: 'AccountId32', @@ -4635,7 +4782,7 @@ export default { payout: 'u128', }, /** - * Lookup633: pallet_staking::slashing::SlashingSpans + * Lookup635: pallet_staking::slashing::SlashingSpans **/ PalletStakingSlashingSlashingSpans: { spanIndex: 'u32', @@ -4644,14 +4791,14 @@ export default { prior: 'Vec', }, /** - * Lookup634: pallet_staking::slashing::SpanRecord + * Lookup636: pallet_staking::slashing::SpanRecord **/ PalletStakingSlashingSpanRecord: { slashed: 'u128', paidOut: 'u128', }, /** - * Lookup637: pallet_staking::ElectionResult + * Lookup639: pallet_staking::ElectionResult **/ PalletStakingElectionResult: { electedStashes: 'Vec', @@ -4659,7 +4806,7 @@ export default { compute: 'PalletStakingElectionCompute', }, /** - * Lookup638: pallet_staking::ElectionStatus + * Lookup640: pallet_staking::ElectionStatus **/ PalletStakingElectionStatus: { _enum: { @@ -4668,20 +4815,20 @@ export default { }, }, /** - * Lookup639: pallet_staking::PermissionedIdentityPrefs + * Lookup641: pallet_staking::PermissionedIdentityPrefs **/ PalletStakingPermissionedIdentityPrefs: { intendedCount: 'u32', runningCount: 'u32', }, /** - * Lookup640: pallet_staking::Releases + * Lookup642: pallet_staking::Releases **/ PalletStakingReleases: { _enum: ['V1_0_0Ancient', 'V2_0_0', 'V3_0_0', 'V4_0_0', 'V5_0_0', 'V6_0_0', 'V6_0_1', 'V7_0_0'], }, /** - * Lookup642: pallet_staking::Error + * Lookup644: pallet_staking::Error **/ PalletStakingError: { _enum: [ @@ -4731,24 +4878,24 @@ export default { ], }, /** - * Lookup643: sp_staking::offence::OffenceDetails + * Lookup645: sp_staking::offence::OffenceDetails **/ SpStakingOffenceOffenceDetails: { offender: '(AccountId32,PalletStakingExposure)', reporters: 'Vec', }, /** - * Lookup648: sp_core::crypto::KeyTypeId + * Lookup650: sp_core::crypto::KeyTypeId **/ SpCoreCryptoKeyTypeId: '[u8;4]', /** - * Lookup649: pallet_session::pallet::Error + * Lookup651: pallet_session::pallet::Error **/ PalletSessionError: { _enum: ['InvalidProof', 'NoAssociatedValidatorId', 'DuplicatedKey', 'NoKeys', 'NoAccount'], }, /** - * Lookup650: pallet_grandpa::StoredState + * Lookup652: pallet_grandpa::StoredState **/ PalletGrandpaStoredState: { _enum: { @@ -4765,7 +4912,7 @@ export default { }, }, /** - * Lookup651: pallet_grandpa::StoredPendingChange + * Lookup653: pallet_grandpa::StoredPendingChange **/ PalletGrandpaStoredPendingChange: { scheduledAt: 'u32', @@ -4774,7 +4921,7 @@ export default { forced: 'Option', }, /** - * Lookup653: pallet_grandpa::pallet::Error + * Lookup655: pallet_grandpa::pallet::Error **/ PalletGrandpaError: { _enum: [ @@ -4788,40 +4935,40 @@ export default { ], }, /** - * Lookup657: pallet_im_online::BoundedOpaqueNetworkState + * Lookup659: pallet_im_online::BoundedOpaqueNetworkState **/ PalletImOnlineBoundedOpaqueNetworkState: { peerId: 'Bytes', externalAddresses: 'Vec', }, /** - * Lookup661: pallet_im_online::pallet::Error + * Lookup663: pallet_im_online::pallet::Error **/ PalletImOnlineError: { _enum: ['InvalidKey', 'DuplicatedHeartbeat'], }, /** - * Lookup663: pallet_sudo::Error + * Lookup665: pallet_sudo::Error **/ PalletSudoError: { _enum: ['RequireSudo'], }, /** - * Lookup664: pallet_asset::TickerRegistration + * Lookup666: pallet_asset::TickerRegistration **/ PalletAssetTickerRegistration: { owner: 'PolymeshPrimitivesIdentityId', expiry: 'Option', }, /** - * Lookup665: pallet_asset::TickerRegistrationConfig + * Lookup667: pallet_asset::TickerRegistrationConfig **/ PalletAssetTickerRegistrationConfig: { maxTickerLength: 'u8', registrationLength: 'Option', }, /** - * Lookup666: pallet_asset::SecurityToken + * Lookup668: pallet_asset::SecurityToken **/ PalletAssetSecurityToken: { totalSupply: 'u128', @@ -4830,13 +4977,13 @@ export default { assetType: 'PolymeshPrimitivesAssetAssetType', }, /** - * Lookup670: pallet_asset::AssetOwnershipRelation + * Lookup672: pallet_asset::AssetOwnershipRelation **/ PalletAssetAssetOwnershipRelation: { _enum: ['NotOwned', 'TickerOwned', 'AssetOwned'], }, /** - * Lookup676: pallet_asset::Error + * Lookup678: pallet_asset::Error **/ PalletAssetError: { _enum: [ @@ -4877,10 +5024,11 @@ export default { 'IncompatibleAssetTypeUpdate', 'AssetMetadataKeyBelongsToNFTCollection', 'AssetMetadataValueIsEmpty', + 'NumberOfAssetMediatorsExceeded', ], }, /** - * Lookup679: pallet_corporate_actions::distribution::Error + * Lookup681: pallet_corporate_actions::distribution::Error **/ PalletCorporateActionsDistributionError: { _enum: [ @@ -4902,7 +5050,7 @@ export default { ], }, /** - * Lookup683: polymesh_common_utilities::traits::checkpoint::NextCheckpoints + * Lookup685: polymesh_common_utilities::traits::checkpoint::NextCheckpoints **/ PolymeshCommonUtilitiesCheckpointNextCheckpoints: { nextAt: 'u64', @@ -4910,7 +5058,7 @@ export default { schedules: 'BTreeMap', }, /** - * Lookup689: pallet_asset::checkpoint::Error + * Lookup691: pallet_asset::checkpoint::Error **/ PalletAssetCheckpointError: { _enum: [ @@ -4923,14 +5071,14 @@ export default { ], }, /** - * Lookup690: polymesh_primitives::compliance_manager::AssetCompliance + * Lookup692: polymesh_primitives::compliance_manager::AssetCompliance **/ PolymeshPrimitivesComplianceManagerAssetCompliance: { paused: 'bool', requirements: 'Vec', }, /** - * Lookup692: pallet_compliance_manager::Error + * Lookup694: pallet_compliance_manager::Error **/ PalletComplianceManagerError: { _enum: [ @@ -4944,7 +5092,7 @@ export default { ], }, /** - * Lookup695: pallet_corporate_actions::Error + * Lookup697: pallet_corporate_actions::Error **/ PalletCorporateActionsError: { _enum: [ @@ -4962,7 +5110,7 @@ export default { ], }, /** - * Lookup697: pallet_corporate_actions::ballot::Error + * Lookup699: pallet_corporate_actions::ballot::Error **/ PalletCorporateActionsBallotError: { _enum: [ @@ -4983,13 +5131,13 @@ export default { ], }, /** - * Lookup698: pallet_permissions::Error + * Lookup700: pallet_permissions::Error **/ PalletPermissionsError: { _enum: ['UnauthorizedCaller'], }, /** - * Lookup699: pallet_pips::PipsMetadata + * Lookup701: pallet_pips::PipsMetadata **/ PalletPipsPipsMetadata: { id: 'u32', @@ -5000,14 +5148,14 @@ export default { expiry: 'PolymeshCommonUtilitiesMaybeBlock', }, /** - * Lookup701: pallet_pips::DepositInfo + * Lookup703: pallet_pips::DepositInfo **/ PalletPipsDepositInfo: { owner: 'AccountId32', amount: 'u128', }, /** - * Lookup702: pallet_pips::Pip + * Lookup704: pallet_pips::Pip **/ PalletPipsPip: { id: 'u32', @@ -5015,7 +5163,7 @@ export default { proposer: 'PalletPipsProposer', }, /** - * Lookup703: pallet_pips::VotingResult + * Lookup705: pallet_pips::VotingResult **/ PalletPipsVotingResult: { ayesCount: 'u32', @@ -5024,11 +5172,11 @@ export default { naysStake: 'u128', }, /** - * Lookup704: pallet_pips::Vote + * Lookup706: pallet_pips::Vote **/ PalletPipsVote: '(bool,u128)', /** - * Lookup705: pallet_pips::SnapshotMetadata + * Lookup707: pallet_pips::SnapshotMetadata **/ PalletPipsSnapshotMetadata: { createdAt: 'u32', @@ -5036,7 +5184,7 @@ export default { id: 'u32', }, /** - * Lookup707: pallet_pips::Error + * Lookup709: pallet_pips::Error **/ PalletPipsError: { _enum: [ @@ -5061,7 +5209,7 @@ export default { ], }, /** - * Lookup715: pallet_portfolio::Error + * Lookup717: pallet_portfolio::Error **/ PalletPortfolioError: { _enum: [ @@ -5085,13 +5233,13 @@ export default { ], }, /** - * Lookup716: pallet_protocol_fee::Error + * Lookup718: pallet_protocol_fee::Error **/ PalletProtocolFeeError: { _enum: ['InsufficientAccountBalance', 'UnHandledImbalances', 'InsufficientSubsidyBalance'], }, /** - * Lookup719: pallet_scheduler::Scheduled, BlockNumber, polymesh_runtime_develop::runtime::OriginCaller, sp_core::crypto::AccountId32> + * Lookup721: pallet_scheduler::Scheduled, BlockNumber, polymesh_runtime_develop::runtime::OriginCaller, sp_core::crypto::AccountId32> **/ PalletSchedulerScheduled: { maybeId: 'Option<[u8;32]>', @@ -5101,7 +5249,7 @@ export default { origin: 'PolymeshRuntimeDevelopRuntimeOriginCaller', }, /** - * Lookup720: frame_support::traits::preimages::Bounded + * Lookup722: frame_support::traits::preimages::Bounded **/ FrameSupportPreimagesBounded: { _enum: { @@ -5122,7 +5270,7 @@ export default { }, }, /** - * Lookup723: pallet_scheduler::pallet::Error + * Lookup725: pallet_scheduler::pallet::Error **/ PalletSchedulerError: { _enum: [ @@ -5134,14 +5282,14 @@ export default { ], }, /** - * Lookup724: polymesh_primitives::settlement::Venue + * Lookup726: polymesh_primitives::settlement::Venue **/ PolymeshPrimitivesSettlementVenue: { creator: 'PolymeshPrimitivesIdentityId', venueType: 'PolymeshPrimitivesSettlementVenueType', }, /** - * Lookup728: polymesh_primitives::settlement::Instruction + * Lookup730: polymesh_primitives::settlement::Instruction **/ PolymeshPrimitivesSettlementInstruction: { instructionId: 'u64', @@ -5152,7 +5300,7 @@ export default { valueDate: 'Option', }, /** - * Lookup730: polymesh_primitives::settlement::LegStatus + * Lookup732: polymesh_primitives::settlement::LegStatus **/ PolymeshPrimitivesSettlementLegStatus: { _enum: { @@ -5162,13 +5310,13 @@ export default { }, }, /** - * Lookup732: polymesh_primitives::settlement::AffirmationStatus + * Lookup734: polymesh_primitives::settlement::AffirmationStatus **/ PolymeshPrimitivesSettlementAffirmationStatus: { _enum: ['Unknown', 'Pending', 'Affirmed'], }, /** - * Lookup736: polymesh_primitives::settlement::InstructionStatus + * Lookup738: polymesh_primitives::settlement::InstructionStatus **/ PolymeshPrimitivesSettlementInstructionStatus: { _enum: { @@ -5180,7 +5328,19 @@ export default { }, }, /** - * Lookup737: pallet_settlement::Error + * Lookup740: polymesh_primitives::settlement::MediatorAffirmationStatus + **/ + PolymeshPrimitivesSettlementMediatorAffirmationStatus: { + _enum: { + Unknown: 'Null', + Pending: 'Null', + Affirmed: { + expiry: 'Option', + }, + }, + }, + /** + * Lookup741: pallet_settlement::Error **/ PalletSettlementError: { _enum: [ @@ -5224,24 +5384,27 @@ export default { 'MultipleReceiptsForOneLeg', 'UnexpectedLegStatus', 'NumberOfVenueSignersExceeded', + 'CallerIsNotAMediator', + 'InvalidExpiryDate', + 'MediatorAffirmationExpired', ], }, /** - * Lookup740: polymesh_primitives::statistics::Stat1stKey + * Lookup744: polymesh_primitives::statistics::Stat1stKey **/ PolymeshPrimitivesStatisticsStat1stKey: { asset: 'PolymeshPrimitivesStatisticsAssetScope', statType: 'PolymeshPrimitivesStatisticsStatType', }, /** - * Lookup741: polymesh_primitives::transfer_compliance::AssetTransferCompliance + * Lookup745: polymesh_primitives::transfer_compliance::AssetTransferCompliance **/ PolymeshPrimitivesTransferComplianceAssetTransferCompliance: { paused: 'bool', requirements: 'BTreeSet', }, /** - * Lookup745: pallet_statistics::Error + * Lookup749: pallet_statistics::Error **/ PalletStatisticsError: { _enum: [ @@ -5255,7 +5418,7 @@ export default { ], }, /** - * Lookup747: pallet_sto::Error + * Lookup751: pallet_sto::Error **/ PalletStoError: { _enum: [ @@ -5274,13 +5437,13 @@ export default { ], }, /** - * Lookup748: pallet_treasury::Error + * Lookup752: pallet_treasury::Error **/ PalletTreasuryError: { _enum: ['InsufficientBalance', 'InvalidIdentity'], }, /** - * Lookup749: pallet_utility::pallet::Error + * Lookup753: pallet_utility::pallet::Error **/ PalletUtilityError: { _enum: [ @@ -5292,13 +5455,13 @@ export default { ], }, /** - * Lookup750: pallet_base::Error + * Lookup754: pallet_base::Error **/ PalletBaseError: { _enum: ['TooLong', 'CounterOverflow'], }, /** - * Lookup752: pallet_external_agents::Error + * Lookup756: pallet_external_agents::Error **/ PalletExternalAgentsError: { _enum: [ @@ -5311,14 +5474,14 @@ export default { ], }, /** - * Lookup753: pallet_relayer::Subsidy + * Lookup757: pallet_relayer::Subsidy **/ PalletRelayerSubsidy: { payingKey: 'AccountId32', remaining: 'u128', }, /** - * Lookup754: pallet_relayer::Error + * Lookup758: pallet_relayer::Error **/ PalletRelayerError: { _enum: [ @@ -5332,7 +5495,7 @@ export default { ], }, /** - * Lookup756: pallet_contracts::wasm::PrefabWasmModule + * Lookup760: pallet_contracts::wasm::PrefabWasmModule **/ PalletContractsWasmPrefabWasmModule: { instructionWeightsVersion: 'Compact', @@ -5342,7 +5505,7 @@ export default { determinism: 'PalletContractsWasmDeterminism', }, /** - * Lookup758: pallet_contracts::wasm::OwnerInfo + * Lookup762: pallet_contracts::wasm::OwnerInfo **/ PalletContractsWasmOwnerInfo: { owner: 'AccountId32', @@ -5350,7 +5513,7 @@ export default { refcount: 'Compact', }, /** - * Lookup759: pallet_contracts::storage::ContractInfo + * Lookup763: pallet_contracts::storage::ContractInfo **/ PalletContractsStorageContractInfo: { trieId: 'Bytes', @@ -5363,13 +5526,13 @@ export default { storageBaseDeposit: 'u128', }, /** - * Lookup762: pallet_contracts::storage::DeletedContract + * Lookup766: pallet_contracts::storage::DeletedContract **/ PalletContractsStorageDeletedContract: { trieId: 'Bytes', }, /** - * Lookup764: pallet_contracts::schedule::Schedule + * Lookup768: pallet_contracts::schedule::Schedule **/ PalletContractsSchedule: { limits: 'PalletContractsScheduleLimits', @@ -5377,7 +5540,7 @@ export default { hostFnWeights: 'PalletContractsScheduleHostFnWeights', }, /** - * Lookup765: pallet_contracts::schedule::Limits + * Lookup769: pallet_contracts::schedule::Limits **/ PalletContractsScheduleLimits: { eventTopics: 'u32', @@ -5391,7 +5554,7 @@ export default { payloadLen: 'u32', }, /** - * Lookup766: pallet_contracts::schedule::InstructionWeights + * Lookup770: pallet_contracts::schedule::InstructionWeights **/ PalletContractsScheduleInstructionWeights: { _alias: { @@ -5453,7 +5616,7 @@ export default { i64rotr: 'u32', }, /** - * Lookup767: pallet_contracts::schedule::HostFnWeights + * Lookup771: pallet_contracts::schedule::HostFnWeights **/ PalletContractsScheduleHostFnWeights: { _alias: { @@ -5520,7 +5683,7 @@ export default { instantiationNonce: 'SpWeightsWeightV2Weight', }, /** - * Lookup768: pallet_contracts::pallet::Error + * Lookup772: pallet_contracts::pallet::Error **/ PalletContractsError: { _enum: [ @@ -5555,7 +5718,7 @@ export default { ], }, /** - * Lookup770: polymesh_contracts::Error + * Lookup774: polymesh_contracts::Error **/ PolymeshContractsError: { _enum: [ @@ -5574,7 +5737,7 @@ export default { ], }, /** - * Lookup771: pallet_preimage::RequestStatus + * Lookup775: pallet_preimage::RequestStatus **/ PalletPreimageRequestStatus: { _enum: { @@ -5590,20 +5753,20 @@ export default { }, }, /** - * Lookup775: pallet_preimage::pallet::Error + * Lookup779: pallet_preimage::pallet::Error **/ PalletPreimageError: { _enum: ['TooBig', 'AlreadyNoted', 'NotAuthorized', 'NotNoted', 'Requested', 'NotRequested'], }, /** - * Lookup776: polymesh_primitives::nft::NFTCollection + * Lookup780: polymesh_primitives::nft::NFTCollection **/ PolymeshPrimitivesNftNftCollection: { id: 'u64', ticker: 'PolymeshPrimitivesTicker', }, /** - * Lookup781: pallet_nft::Error + * Lookup785: pallet_nft::Error **/ PalletNftError: { _enum: [ @@ -5632,26 +5795,25 @@ export default { ], }, /** - * Lookup782: pallet_test_utils::Error + * Lookup786: pallet_test_utils::Error **/ PalletTestUtilsError: 'Null', /** - * Lookup785: pallet_confidential_asset::ConfidentialAssetDetails + * Lookup789: pallet_confidential_asset::ConfidentialAssetDetails **/ PalletConfidentialAssetConfidentialAssetDetails: { totalSupply: 'u128', ownerDid: 'PolymeshPrimitivesIdentityId', data: 'Bytes', - ticker: 'Option', }, /** - * Lookup788: pallet_confidential_asset::TransactionLegState + * Lookup792: pallet_confidential_asset::TransactionLegState **/ PalletConfidentialAssetTransactionLegState: { assetState: 'BTreeMap<[u8;16], PalletConfidentialAssetTransactionLegAssetState>', }, /** - * Lookup790: pallet_confidential_asset::TransactionLegAssetState + * Lookup794: pallet_confidential_asset::TransactionLegAssetState **/ PalletConfidentialAssetTransactionLegAssetState: { senderInitBalance: 'ConfidentialAssetsElgamalCipherText', @@ -5659,13 +5821,13 @@ export default { receiverAmount: 'ConfidentialAssetsElgamalCipherText', }, /** - * Lookup796: pallet_confidential_asset::LegParty + * Lookup800: pallet_confidential_asset::LegParty **/ PalletConfidentialAssetLegParty: { _enum: ['Sender', 'Receiver', 'Mediator'], }, /** - * Lookup797: pallet_confidential_asset::TransactionStatus + * Lookup801: pallet_confidential_asset::TransactionStatus **/ PalletConfidentialAssetTransactionStatus: { _enum: { @@ -5675,7 +5837,7 @@ export default { }, }, /** - * Lookup798: pallet_confidential_asset::Transaction + * Lookup802: pallet_confidential_asset::Transaction **/ PalletConfidentialAssetTransaction: { venueId: 'u64', @@ -5683,33 +5845,38 @@ export default { memo: 'Option', }, /** - * Lookup799: pallet_confidential_asset::pallet::Error + * Lookup803: pallet_confidential_asset::pallet::Error **/ PalletConfidentialAssetError: { _enum: [ - 'AuditorAccountMissing', + 'MediatorIdentityInvalid', 'ConfidentialAccountMissing', - 'RequiredAssetAuditorMissing', + 'AccountAssetFrozen', + 'AccountAssetAlreadyFrozen', + 'AccountAssetNotFrozen', + 'AssetFrozen', + 'AlreadyFrozen', + 'NotFrozen', 'NotEnoughAssetAuditors', 'TooManyAuditors', 'TooManyMediators', - 'AuditorAccountAlreadyCreated', 'ConfidentialAccountAlreadyCreated', - 'ConfidentialAccountAlreadyInitialized', - 'InvalidConfidentialAccount', - 'InvalidAuditorAccount', 'TotalSupplyAboveConfidentialBalanceLimit', - 'Unauthorized', + 'NotAssetOwner', + 'NotVenueOwner', + 'NotAccountOwner', + 'CallerNotPartyOfTransaction', 'UnknownConfidentialAsset', 'ConfidentialAssetAlreadyCreated', 'TotalSupplyOverLimit', - 'TotalSupplyMustBePositive', + 'AmountMustBeNonZero', + 'BurnAmountLargerThenTotalSupply', 'InvalidSenderProof', 'InvalidVenue', 'TransactionNotAffirmed', + 'SenderMustAffirmFirst', 'TransactionAlreadyAffirmed', 'UnauthorizedVenue', - 'TransactionFailed', 'LegCountTooSmall', 'UnknownTransaction', 'UnknownTransactionLeg', @@ -5717,39 +5884,39 @@ export default { ], }, /** - * Lookup802: frame_system::extensions::check_spec_version::CheckSpecVersion + * Lookup806: frame_system::extensions::check_spec_version::CheckSpecVersion **/ FrameSystemExtensionsCheckSpecVersion: 'Null', /** - * Lookup803: frame_system::extensions::check_tx_version::CheckTxVersion + * Lookup807: frame_system::extensions::check_tx_version::CheckTxVersion **/ FrameSystemExtensionsCheckTxVersion: 'Null', /** - * Lookup804: frame_system::extensions::check_genesis::CheckGenesis + * Lookup808: frame_system::extensions::check_genesis::CheckGenesis **/ FrameSystemExtensionsCheckGenesis: 'Null', /** - * Lookup807: frame_system::extensions::check_nonce::CheckNonce + * Lookup811: frame_system::extensions::check_nonce::CheckNonce **/ FrameSystemExtensionsCheckNonce: 'Compact', /** - * Lookup808: polymesh_extensions::check_weight::CheckWeight + * Lookup812: polymesh_extensions::check_weight::CheckWeight **/ PolymeshExtensionsCheckWeight: 'FrameSystemExtensionsCheckWeight', /** - * Lookup809: frame_system::extensions::check_weight::CheckWeight + * Lookup813: frame_system::extensions::check_weight::CheckWeight **/ FrameSystemExtensionsCheckWeight: 'Null', /** - * Lookup810: pallet_transaction_payment::ChargeTransactionPayment + * Lookup814: pallet_transaction_payment::ChargeTransactionPayment **/ PalletTransactionPaymentChargeTransactionPayment: 'Compact', /** - * Lookup811: pallet_permissions::StoreCallMetadata + * Lookup815: pallet_permissions::StoreCallMetadata **/ PalletPermissionsStoreCallMetadata: 'Null', /** - * Lookup812: polymesh_runtime_develop::runtime::Runtime + * Lookup816: polymesh_runtime_develop::runtime::Runtime **/ PolymeshRuntimeDevelopRuntime: 'Null', }; diff --git a/src/polkadot/registry.ts b/src/polkadot/registry.ts index 855e692af5..6f5593a7e7 100644 --- a/src/polkadot/registry.ts +++ b/src/polkadot/registry.ts @@ -6,6 +6,7 @@ import '@polkadot/types/types/registry'; import type { + ConfidentialAssetsBurnConfidentialBurnProof, ConfidentialAssetsElgamalCipherText, ConfidentialAssetsElgamalCompressedElgamalPublicKey, FinalityGrandpaEquivocationPrecommit, @@ -337,6 +338,7 @@ import type { PolymeshPrimitivesSettlementInstructionStatus, PolymeshPrimitivesSettlementLeg, PolymeshPrimitivesSettlementLegStatus, + PolymeshPrimitivesSettlementMediatorAffirmationStatus, PolymeshPrimitivesSettlementReceiptDetails, PolymeshPrimitivesSettlementReceiptMetadata, PolymeshPrimitivesSettlementSettlementType, @@ -403,6 +405,7 @@ import type { declare module '@polkadot/types/types/registry' { interface InterfaceTypes { + ConfidentialAssetsBurnConfidentialBurnProof: ConfidentialAssetsBurnConfidentialBurnProof; ConfidentialAssetsElgamalCipherText: ConfidentialAssetsElgamalCipherText; ConfidentialAssetsElgamalCompressedElgamalPublicKey: ConfidentialAssetsElgamalCompressedElgamalPublicKey; FinalityGrandpaEquivocationPrecommit: FinalityGrandpaEquivocationPrecommit; @@ -734,6 +737,7 @@ declare module '@polkadot/types/types/registry' { PolymeshPrimitivesSettlementInstructionStatus: PolymeshPrimitivesSettlementInstructionStatus; PolymeshPrimitivesSettlementLeg: PolymeshPrimitivesSettlementLeg; PolymeshPrimitivesSettlementLegStatus: PolymeshPrimitivesSettlementLegStatus; + PolymeshPrimitivesSettlementMediatorAffirmationStatus: PolymeshPrimitivesSettlementMediatorAffirmationStatus; PolymeshPrimitivesSettlementReceiptDetails: PolymeshPrimitivesSettlementReceiptDetails; PolymeshPrimitivesSettlementReceiptMetadata: PolymeshPrimitivesSettlementReceiptMetadata; PolymeshPrimitivesSettlementSettlementType: PolymeshPrimitivesSettlementSettlementType; diff --git a/src/polkadot/types-lookup.ts b/src/polkadot/types-lookup.ts index 13cc516466..2f63cd20da 100644 --- a/src/polkadot/types-lookup.ts +++ b/src/polkadot/types-lookup.ts @@ -1853,6 +1853,22 @@ declare module '@polkadot/types/lookup' { readonly asRemovePreApprovedAsset: ITuple< [PolymeshPrimitivesIdentityId, PolymeshPrimitivesTicker] >; + readonly isAssetMediatorsAdded: boolean; + readonly asAssetMediatorsAdded: ITuple< + [ + PolymeshPrimitivesIdentityId, + PolymeshPrimitivesTicker, + BTreeSet + ] + >; + readonly isAssetMediatorsRemoved: boolean; + readonly asAssetMediatorsRemoved: ITuple< + [ + PolymeshPrimitivesIdentityId, + PolymeshPrimitivesTicker, + BTreeSet + ] + >; readonly type: | 'AssetCreated' | 'IdentifiersUpdated' @@ -1883,7 +1899,9 @@ declare module '@polkadot/types/lookup' { | 'AssetAffirmationExemption' | 'RemoveAssetAffirmationExemption' | 'PreApprovedAsset' - | 'RemovePreApprovedAsset'; + | 'RemovePreApprovedAsset' + | 'AssetMediatorsAdded' + | 'AssetMediatorsRemoved'; } /** @name PolymeshPrimitivesAssetAssetType (124) */ @@ -2020,7 +2038,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Issued' | 'Redeemed' | 'Transferred' | 'ControllerTransfer'; } - /** @name PalletCorporateActionsDistributionEvent (164) */ + /** @name PalletCorporateActionsDistributionEvent (165) */ interface PalletCorporateActionsDistributionEvent extends Enum { readonly isCreated: boolean; readonly asCreated: ITuple< @@ -2044,16 +2062,16 @@ declare module '@polkadot/types/lookup' { readonly type: 'Created' | 'BenefitClaimed' | 'Reclaimed' | 'Removed'; } - /** @name PolymeshPrimitivesEventOnly (165) */ + /** @name PolymeshPrimitivesEventOnly (166) */ interface PolymeshPrimitivesEventOnly extends PolymeshPrimitivesIdentityId {} - /** @name PalletCorporateActionsCaId (166) */ + /** @name PalletCorporateActionsCaId (167) */ interface PalletCorporateActionsCaId extends Struct { readonly ticker: PolymeshPrimitivesTicker; readonly localId: u32; } - /** @name PalletCorporateActionsDistribution (168) */ + /** @name PalletCorporateActionsDistribution (169) */ interface PalletCorporateActionsDistribution extends Struct { readonly from: PolymeshPrimitivesIdentityIdPortfolioId; readonly currency: PolymeshPrimitivesTicker; @@ -2065,7 +2083,7 @@ declare module '@polkadot/types/lookup' { readonly expiresAt: Option; } - /** @name PolymeshCommonUtilitiesCheckpointEvent (170) */ + /** @name PolymeshCommonUtilitiesCheckpointEvent (171) */ interface PolymeshCommonUtilitiesCheckpointEvent extends Enum { readonly isCheckpointCreated: boolean; readonly asCheckpointCreated: ITuple< @@ -2098,12 +2116,12 @@ declare module '@polkadot/types/lookup' { | 'ScheduleRemoved'; } - /** @name PolymeshCommonUtilitiesCheckpointScheduleCheckpoints (173) */ + /** @name PolymeshCommonUtilitiesCheckpointScheduleCheckpoints (174) */ interface PolymeshCommonUtilitiesCheckpointScheduleCheckpoints extends Struct { readonly pending: BTreeSet; } - /** @name PolymeshCommonUtilitiesComplianceManagerEvent (176) */ + /** @name PolymeshCommonUtilitiesComplianceManagerEvent (177) */ interface PolymeshCommonUtilitiesComplianceManagerEvent extends Enum { readonly isComplianceRequirementCreated: boolean; readonly asComplianceRequirementCreated: ITuple< @@ -2169,20 +2187,20 @@ declare module '@polkadot/types/lookup' { | 'TrustedDefaultClaimIssuerRemoved'; } - /** @name PolymeshPrimitivesComplianceManagerComplianceRequirement (177) */ + /** @name PolymeshPrimitivesComplianceManagerComplianceRequirement (178) */ interface PolymeshPrimitivesComplianceManagerComplianceRequirement extends Struct { readonly senderConditions: Vec; readonly receiverConditions: Vec; readonly id: u32; } - /** @name PolymeshPrimitivesCondition (179) */ + /** @name PolymeshPrimitivesCondition (180) */ interface PolymeshPrimitivesCondition extends Struct { readonly conditionType: PolymeshPrimitivesConditionConditionType; readonly issuers: Vec; } - /** @name PolymeshPrimitivesConditionConditionType (180) */ + /** @name PolymeshPrimitivesConditionConditionType (181) */ interface PolymeshPrimitivesConditionConditionType extends Enum { readonly isIsPresent: boolean; readonly asIsPresent: PolymeshPrimitivesIdentityClaimClaim; @@ -2197,7 +2215,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'IsPresent' | 'IsAbsent' | 'IsAnyOf' | 'IsNoneOf' | 'IsIdentity'; } - /** @name PolymeshPrimitivesConditionTargetIdentity (182) */ + /** @name PolymeshPrimitivesConditionTargetIdentity (183) */ interface PolymeshPrimitivesConditionTargetIdentity extends Enum { readonly isExternalAgent: boolean; readonly isSpecific: boolean; @@ -2205,13 +2223,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'ExternalAgent' | 'Specific'; } - /** @name PolymeshPrimitivesConditionTrustedIssuer (184) */ + /** @name PolymeshPrimitivesConditionTrustedIssuer (185) */ interface PolymeshPrimitivesConditionTrustedIssuer extends Struct { readonly issuer: PolymeshPrimitivesIdentityId; readonly trustedFor: PolymeshPrimitivesConditionTrustedFor; } - /** @name PolymeshPrimitivesConditionTrustedFor (185) */ + /** @name PolymeshPrimitivesConditionTrustedFor (186) */ interface PolymeshPrimitivesConditionTrustedFor extends Enum { readonly isAny: boolean; readonly isSpecific: boolean; @@ -2219,7 +2237,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Any' | 'Specific'; } - /** @name PolymeshPrimitivesIdentityClaimClaimType (187) */ + /** @name PolymeshPrimitivesIdentityClaimClaimType (188) */ interface PolymeshPrimitivesIdentityClaimClaimType extends Enum { readonly isAccredited: boolean; readonly isAffiliate: boolean; @@ -2245,7 +2263,7 @@ declare module '@polkadot/types/lookup' { | 'Custom'; } - /** @name PalletCorporateActionsEvent (189) */ + /** @name PalletCorporateActionsEvent (190) */ interface PalletCorporateActionsEvent extends Enum { readonly isMaxDetailsLengthChanged: boolean; readonly asMaxDetailsLengthChanged: ITuple<[PolymeshPrimitivesIdentityId, u32]>; @@ -2304,20 +2322,20 @@ declare module '@polkadot/types/lookup' { | 'RecordDateChanged'; } - /** @name PalletCorporateActionsTargetIdentities (190) */ + /** @name PalletCorporateActionsTargetIdentities (191) */ interface PalletCorporateActionsTargetIdentities extends Struct { readonly identities: Vec; readonly treatment: PalletCorporateActionsTargetTreatment; } - /** @name PalletCorporateActionsTargetTreatment (191) */ + /** @name PalletCorporateActionsTargetTreatment (192) */ interface PalletCorporateActionsTargetTreatment extends Enum { readonly isInclude: boolean; readonly isExclude: boolean; readonly type: 'Include' | 'Exclude'; } - /** @name PalletCorporateActionsCorporateAction (193) */ + /** @name PalletCorporateActionsCorporateAction (194) */ interface PalletCorporateActionsCorporateAction extends Struct { readonly kind: PalletCorporateActionsCaKind; readonly declDate: u64; @@ -2327,7 +2345,7 @@ declare module '@polkadot/types/lookup' { readonly withholdingTax: Vec>; } - /** @name PalletCorporateActionsCaKind (194) */ + /** @name PalletCorporateActionsCaKind (195) */ interface PalletCorporateActionsCaKind extends Enum { readonly isPredictableBenefit: boolean; readonly isUnpredictableBenefit: boolean; @@ -2342,13 +2360,13 @@ declare module '@polkadot/types/lookup' { | 'Other'; } - /** @name PalletCorporateActionsRecordDate (196) */ + /** @name PalletCorporateActionsRecordDate (197) */ interface PalletCorporateActionsRecordDate extends Struct { readonly date: u64; readonly checkpoint: PalletCorporateActionsCaCheckpoint; } - /** @name PalletCorporateActionsCaCheckpoint (197) */ + /** @name PalletCorporateActionsCaCheckpoint (198) */ interface PalletCorporateActionsCaCheckpoint extends Enum { readonly isScheduled: boolean; readonly asScheduled: ITuple<[u64, u64]>; @@ -2357,7 +2375,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Scheduled' | 'Existing'; } - /** @name PalletCorporateActionsBallotEvent (202) */ + /** @name PalletCorporateActionsBallotEvent (203) */ interface PalletCorporateActionsBallotEvent extends Enum { readonly isCreated: boolean; readonly asCreated: ITuple< @@ -2406,32 +2424,32 @@ declare module '@polkadot/types/lookup' { | 'Removed'; } - /** @name PalletCorporateActionsBallotBallotTimeRange (203) */ + /** @name PalletCorporateActionsBallotBallotTimeRange (204) */ interface PalletCorporateActionsBallotBallotTimeRange extends Struct { readonly start: u64; readonly end: u64; } - /** @name PalletCorporateActionsBallotBallotMeta (204) */ + /** @name PalletCorporateActionsBallotBallotMeta (205) */ interface PalletCorporateActionsBallotBallotMeta extends Struct { readonly title: Bytes; readonly motions: Vec; } - /** @name PalletCorporateActionsBallotMotion (207) */ + /** @name PalletCorporateActionsBallotMotion (208) */ interface PalletCorporateActionsBallotMotion extends Struct { readonly title: Bytes; readonly infoLink: Bytes; readonly choices: Vec; } - /** @name PalletCorporateActionsBallotBallotVote (213) */ + /** @name PalletCorporateActionsBallotBallotVote (214) */ interface PalletCorporateActionsBallotBallotVote extends Struct { readonly power: u128; readonly fallback: Option; } - /** @name PalletPipsRawEvent (216) */ + /** @name PalletPipsRawEvent (217) */ interface PalletPipsRawEvent extends Enum { readonly isHistoricalPipsPruned: boolean; readonly asHistoricalPipsPruned: ITuple<[PolymeshPrimitivesIdentityId, bool, bool]>; @@ -2519,7 +2537,7 @@ declare module '@polkadot/types/lookup' { | 'ExecutionCancellingFailed'; } - /** @name PalletPipsProposer (217) */ + /** @name PalletPipsProposer (218) */ interface PalletPipsProposer extends Enum { readonly isCommunity: boolean; readonly asCommunity: AccountId32; @@ -2528,14 +2546,14 @@ declare module '@polkadot/types/lookup' { readonly type: 'Community' | 'Committee'; } - /** @name PalletPipsCommittee (218) */ + /** @name PalletPipsCommittee (219) */ interface PalletPipsCommittee extends Enum { readonly isTechnical: boolean; readonly isUpgrade: boolean; readonly type: 'Technical' | 'Upgrade'; } - /** @name PalletPipsProposalData (222) */ + /** @name PalletPipsProposalData (223) */ interface PalletPipsProposalData extends Enum { readonly isHash: boolean; readonly asHash: H256; @@ -2544,7 +2562,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Hash' | 'Proposal'; } - /** @name PalletPipsProposalState (223) */ + /** @name PalletPipsProposalState (224) */ interface PalletPipsProposalState extends Enum { readonly isPending: boolean; readonly isRejected: boolean; @@ -2555,13 +2573,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'Pending' | 'Rejected' | 'Scheduled' | 'Failed' | 'Executed' | 'Expired'; } - /** @name PalletPipsSnapshottedPip (226) */ + /** @name PalletPipsSnapshottedPip (227) */ interface PalletPipsSnapshottedPip extends Struct { readonly id: u32; readonly weight: ITuple<[bool, u128]>; } - /** @name PolymeshCommonUtilitiesPortfolioEvent (232) */ + /** @name PolymeshCommonUtilitiesPortfolioEvent (233) */ interface PolymeshCommonUtilitiesPortfolioEvent extends Enum { readonly isPortfolioCreated: boolean; readonly asPortfolioCreated: ITuple<[PolymeshPrimitivesIdentityId, u64, Bytes]>; @@ -2616,7 +2634,7 @@ declare module '@polkadot/types/lookup' { | 'RevokePreApprovedPortfolio'; } - /** @name PolymeshPrimitivesPortfolioFundDescription (236) */ + /** @name PolymeshPrimitivesPortfolioFundDescription (237) */ interface PolymeshPrimitivesPortfolioFundDescription extends Enum { readonly isFungible: boolean; readonly asFungible: { @@ -2628,13 +2646,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'Fungible' | 'NonFungible'; } - /** @name PolymeshPrimitivesNftNfTs (237) */ + /** @name PolymeshPrimitivesNftNfTs (238) */ interface PolymeshPrimitivesNftNfTs extends Struct { readonly ticker: PolymeshPrimitivesTicker; readonly ids: Vec; } - /** @name PalletProtocolFeeRawEvent (240) */ + /** @name PalletProtocolFeeRawEvent (241) */ interface PalletProtocolFeeRawEvent extends Enum { readonly isFeeSet: boolean; readonly asFeeSet: ITuple<[PolymeshPrimitivesIdentityId, u128]>; @@ -2645,10 +2663,10 @@ declare module '@polkadot/types/lookup' { readonly type: 'FeeSet' | 'CoefficientSet' | 'FeeCharged'; } - /** @name PolymeshPrimitivesPosRatio (241) */ + /** @name PolymeshPrimitivesPosRatio (242) */ interface PolymeshPrimitivesPosRatio extends ITuple<[u32, u32]> {} - /** @name PalletSchedulerEvent (242) */ + /** @name PalletSchedulerEvent (243) */ interface PalletSchedulerEvent extends Enum { readonly isScheduled: boolean; readonly asScheduled: { @@ -2690,7 +2708,7 @@ declare module '@polkadot/types/lookup' { | 'PermanentlyOverweight'; } - /** @name PolymeshCommonUtilitiesSettlementRawEvent (245) */ + /** @name PolymeshCommonUtilitiesSettlementRawEvent (246) */ interface PolymeshCommonUtilitiesSettlementRawEvent extends Enum { readonly isVenueCreated: boolean; readonly asVenueCreated: ITuple< @@ -2774,6 +2792,10 @@ declare module '@polkadot/types/lookup' { readonly asInstructionAutomaticallyAffirmed: ITuple< [PolymeshPrimitivesIdentityId, PolymeshPrimitivesIdentityIdPortfolioId, u64] >; + readonly isMediatorAffirmationReceived: boolean; + readonly asMediatorAffirmationReceived: ITuple<[PolymeshPrimitivesIdentityId, u64]>; + readonly isMediatorAffirmationWithdrawn: boolean; + readonly asMediatorAffirmationWithdrawn: ITuple<[PolymeshPrimitivesIdentityId, u64]>; readonly type: | 'VenueCreated' | 'VenueDetailsUpdated' @@ -2795,10 +2817,12 @@ declare module '@polkadot/types/lookup' { | 'SettlementManuallyExecuted' | 'InstructionCreated' | 'FailedToExecuteInstruction' - | 'InstructionAutomaticallyAffirmed'; + | 'InstructionAutomaticallyAffirmed' + | 'MediatorAffirmationReceived' + | 'MediatorAffirmationWithdrawn'; } - /** @name PolymeshPrimitivesSettlementVenueType (248) */ + /** @name PolymeshPrimitivesSettlementVenueType (249) */ interface PolymeshPrimitivesSettlementVenueType extends Enum { readonly isOther: boolean; readonly isDistribution: boolean; @@ -2807,10 +2831,10 @@ declare module '@polkadot/types/lookup' { readonly type: 'Other' | 'Distribution' | 'Sto' | 'Exchange'; } - /** @name PolymeshPrimitivesSettlementReceiptMetadata (251) */ + /** @name PolymeshPrimitivesSettlementReceiptMetadata (252) */ interface PolymeshPrimitivesSettlementReceiptMetadata extends U8aFixed {} - /** @name PolymeshPrimitivesSettlementSettlementType (253) */ + /** @name PolymeshPrimitivesSettlementSettlementType (254) */ interface PolymeshPrimitivesSettlementSettlementType extends Enum { readonly isSettleOnAffirmation: boolean; readonly isSettleOnBlock: boolean; @@ -2820,7 +2844,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'SettleOnAffirmation' | 'SettleOnBlock' | 'SettleManual'; } - /** @name PolymeshPrimitivesSettlementLeg (255) */ + /** @name PolymeshPrimitivesSettlementLeg (256) */ interface PolymeshPrimitivesSettlementLeg extends Enum { readonly isFungible: boolean; readonly asFungible: { @@ -2845,7 +2869,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Fungible' | 'NonFungible' | 'OffChain'; } - /** @name PolymeshCommonUtilitiesStatisticsEvent (256) */ + /** @name PolymeshCommonUtilitiesStatisticsEvent (257) */ interface PolymeshCommonUtilitiesStatisticsEvent extends Enum { readonly isStatTypesAdded: boolean; readonly asStatTypesAdded: ITuple< @@ -2905,14 +2929,14 @@ declare module '@polkadot/types/lookup' { | 'TransferConditionExemptionsRemoved'; } - /** @name PolymeshPrimitivesStatisticsAssetScope (257) */ + /** @name PolymeshPrimitivesStatisticsAssetScope (258) */ interface PolymeshPrimitivesStatisticsAssetScope extends Enum { readonly isTicker: boolean; readonly asTicker: PolymeshPrimitivesTicker; readonly type: 'Ticker'; } - /** @name PolymeshPrimitivesStatisticsStatType (259) */ + /** @name PolymeshPrimitivesStatisticsStatType (260) */ interface PolymeshPrimitivesStatisticsStatType extends Struct { readonly op: PolymeshPrimitivesStatisticsStatOpType; readonly claimIssuer: Option< @@ -2920,20 +2944,20 @@ declare module '@polkadot/types/lookup' { >; } - /** @name PolymeshPrimitivesStatisticsStatOpType (260) */ + /** @name PolymeshPrimitivesStatisticsStatOpType (261) */ interface PolymeshPrimitivesStatisticsStatOpType extends Enum { readonly isCount: boolean; readonly isBalance: boolean; readonly type: 'Count' | 'Balance'; } - /** @name PolymeshPrimitivesStatisticsStatUpdate (264) */ + /** @name PolymeshPrimitivesStatisticsStatUpdate (265) */ interface PolymeshPrimitivesStatisticsStatUpdate extends Struct { readonly key2: PolymeshPrimitivesStatisticsStat2ndKey; readonly value: Option; } - /** @name PolymeshPrimitivesStatisticsStat2ndKey (265) */ + /** @name PolymeshPrimitivesStatisticsStat2ndKey (266) */ interface PolymeshPrimitivesStatisticsStat2ndKey extends Enum { readonly isNoClaimStat: boolean; readonly isClaim: boolean; @@ -2941,7 +2965,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'NoClaimStat' | 'Claim'; } - /** @name PolymeshPrimitivesStatisticsStatClaim (266) */ + /** @name PolymeshPrimitivesStatisticsStatClaim (267) */ interface PolymeshPrimitivesStatisticsStatClaim extends Enum { readonly isAccredited: boolean; readonly asAccredited: bool; @@ -2952,7 +2976,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Accredited' | 'Affiliate' | 'Jurisdiction'; } - /** @name PolymeshPrimitivesTransferComplianceTransferCondition (270) */ + /** @name PolymeshPrimitivesTransferComplianceTransferCondition (271) */ interface PolymeshPrimitivesTransferComplianceTransferCondition extends Enum { readonly isMaxInvestorCount: boolean; readonly asMaxInvestorCount: u64; @@ -2969,14 +2993,14 @@ declare module '@polkadot/types/lookup' { readonly type: 'MaxInvestorCount' | 'MaxInvestorOwnership' | 'ClaimCount' | 'ClaimOwnership'; } - /** @name PolymeshPrimitivesTransferComplianceTransferConditionExemptKey (271) */ + /** @name PolymeshPrimitivesTransferComplianceTransferConditionExemptKey (272) */ interface PolymeshPrimitivesTransferComplianceTransferConditionExemptKey extends Struct { readonly asset: PolymeshPrimitivesStatisticsAssetScope; readonly op: PolymeshPrimitivesStatisticsStatOpType; readonly claimType: Option; } - /** @name PalletStoRawEvent (273) */ + /** @name PalletStoRawEvent (274) */ interface PalletStoRawEvent extends Enum { readonly isFundraiserCreated: boolean; readonly asFundraiserCreated: ITuple< @@ -3012,7 +3036,7 @@ declare module '@polkadot/types/lookup' { | 'FundraiserClosed'; } - /** @name PalletStoFundraiser (276) */ + /** @name PalletStoFundraiser (277) */ interface PalletStoFundraiser extends Struct { readonly creator: PolymeshPrimitivesIdentityId; readonly offeringPortfolio: PolymeshPrimitivesIdentityIdPortfolioId; @@ -3027,14 +3051,14 @@ declare module '@polkadot/types/lookup' { readonly minimumInvestment: u128; } - /** @name PalletStoFundraiserTier (278) */ + /** @name PalletStoFundraiserTier (279) */ interface PalletStoFundraiserTier extends Struct { readonly total: u128; readonly price: u128; readonly remaining: u128; } - /** @name PalletStoFundraiserStatus (279) */ + /** @name PalletStoFundraiserStatus (280) */ interface PalletStoFundraiserStatus extends Enum { readonly isLive: boolean; readonly isFrozen: boolean; @@ -3043,7 +3067,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Live' | 'Frozen' | 'Closed' | 'ClosedEarly'; } - /** @name PalletTreasuryRawEvent (280) */ + /** @name PalletTreasuryRawEvent (281) */ interface PalletTreasuryRawEvent extends Enum { readonly isTreasuryDisbursement: boolean; readonly asTreasuryDisbursement: ITuple< @@ -3058,7 +3082,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'TreasuryDisbursement' | 'TreasuryDisbursementFailed' | 'TreasuryReimbursement'; } - /** @name PalletUtilityEvent (281) */ + /** @name PalletUtilityEvent (282) */ interface PalletUtilityEvent extends Enum { readonly isBatchInterrupted: boolean; readonly asBatchInterrupted: { @@ -3103,14 +3127,14 @@ declare module '@polkadot/types/lookup' { | 'BatchCompletedOld'; } - /** @name PolymeshCommonUtilitiesBaseEvent (285) */ + /** @name PolymeshCommonUtilitiesBaseEvent (286) */ interface PolymeshCommonUtilitiesBaseEvent extends Enum { readonly isUnexpectedError: boolean; readonly asUnexpectedError: Option; readonly type: 'UnexpectedError'; } - /** @name PolymeshCommonUtilitiesExternalAgentsEvent (287) */ + /** @name PolymeshCommonUtilitiesExternalAgentsEvent (288) */ interface PolymeshCommonUtilitiesExternalAgentsEvent extends Enum { readonly isGroupCreated: boolean; readonly asGroupCreated: ITuple< @@ -3155,7 +3179,7 @@ declare module '@polkadot/types/lookup' { | 'GroupChanged'; } - /** @name PolymeshCommonUtilitiesRelayerRawEvent (288) */ + /** @name PolymeshCommonUtilitiesRelayerRawEvent (289) */ interface PolymeshCommonUtilitiesRelayerRawEvent extends Enum { readonly isAuthorizedPayingKey: boolean; readonly asAuthorizedPayingKey: ITuple< @@ -3176,7 +3200,7 @@ declare module '@polkadot/types/lookup' { | 'UpdatedPolyxLimit'; } - /** @name PalletContractsEvent (289) */ + /** @name PalletContractsEvent (290) */ interface PalletContractsEvent extends Enum { readonly isInstantiated: boolean; readonly asInstantiated: { @@ -3228,7 +3252,7 @@ declare module '@polkadot/types/lookup' { | 'DelegateCalled'; } - /** @name PolymeshContractsRawEvent (290) */ + /** @name PolymeshContractsRawEvent (291) */ interface PolymeshContractsRawEvent extends Enum { readonly isApiHashUpdated: boolean; readonly asApiHashUpdated: ITuple<[PolymeshContractsApi, PolymeshContractsChainVersion, H256]>; @@ -3237,22 +3261,22 @@ declare module '@polkadot/types/lookup' { readonly type: 'ApiHashUpdated' | 'ScRuntimeCall'; } - /** @name PolymeshContractsApi (291) */ + /** @name PolymeshContractsApi (292) */ interface PolymeshContractsApi extends Struct { readonly desc: U8aFixed; readonly major: u32; } - /** @name PolymeshContractsChainVersion (292) */ + /** @name PolymeshContractsChainVersion (293) */ interface PolymeshContractsChainVersion extends Struct { readonly specVersion: u32; readonly txVersion: u32; } - /** @name PolymeshContractsChainExtensionExtrinsicId (293) */ + /** @name PolymeshContractsChainExtensionExtrinsicId (294) */ interface PolymeshContractsChainExtensionExtrinsicId extends ITuple<[u8, u8]> {} - /** @name PalletPreimageEvent (294) */ + /** @name PalletPreimageEvent (295) */ interface PalletPreimageEvent extends Enum { readonly isNoted: boolean; readonly asNoted: { @@ -3269,7 +3293,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Noted' | 'Requested' | 'Cleared'; } - /** @name PolymeshCommonUtilitiesNftEvent (295) */ + /** @name PolymeshCommonUtilitiesNftEvent (296) */ interface PolymeshCommonUtilitiesNftEvent extends Enum { readonly isNftCollectionCreated: boolean; readonly asNftCollectionCreated: ITuple< @@ -3288,7 +3312,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'NftCollectionCreated' | 'NftPortfolioUpdated'; } - /** @name PalletTestUtilsRawEvent (297) */ + /** @name PalletTestUtilsRawEvent (298) */ interface PalletTestUtilsRawEvent extends Enum { readonly isDidStatus: boolean; readonly asDidStatus: ITuple<[PolymeshPrimitivesIdentityId, AccountId32]>; @@ -3297,93 +3321,133 @@ declare module '@polkadot/types/lookup' { readonly type: 'DidStatus' | 'CddStatus'; } - /** @name PalletConfidentialAssetEvent (298) */ + /** @name PalletConfidentialAssetEvent (299) */ interface PalletConfidentialAssetEvent extends Enum { readonly isAccountCreated: boolean; - readonly asAccountCreated: ITuple< - [PolymeshPrimitivesIdentityId, PalletConfidentialAssetConfidentialAccount] - >; - readonly isConfidentialAssetCreated: boolean; - readonly asConfidentialAssetCreated: ITuple< - [PolymeshPrimitivesIdentityId, U8aFixed, PalletConfidentialAssetConfidentialAuditors] - >; + readonly asAccountCreated: { + readonly callerDid: PolymeshPrimitivesIdentityId; + readonly account: PalletConfidentialAssetConfidentialAccount; + } & Struct; + readonly isAssetCreated: boolean; + readonly asAssetCreated: { + readonly callerDid: PolymeshPrimitivesIdentityId; + readonly assetId: U8aFixed; + readonly data: Bytes; + readonly auditors: PalletConfidentialAssetConfidentialAuditors; + } & Struct; readonly isIssued: boolean; - readonly asIssued: ITuple<[PolymeshPrimitivesIdentityId, U8aFixed, u128, u128]>; + readonly asIssued: { + readonly callerDid: PolymeshPrimitivesIdentityId; + readonly assetId: U8aFixed; + readonly amount: u128; + readonly totalSupply: u128; + } & Struct; + readonly isBurned: boolean; + readonly asBurned: { + readonly callerDid: PolymeshPrimitivesIdentityId; + readonly assetId: U8aFixed; + readonly amount: u128; + readonly totalSupply: u128; + } & Struct; readonly isVenueCreated: boolean; - readonly asVenueCreated: ITuple<[PolymeshPrimitivesIdentityId, u64]>; + readonly asVenueCreated: { + readonly callerDid: PolymeshPrimitivesIdentityId; + readonly venueId: u64; + } & Struct; readonly isVenueFiltering: boolean; - readonly asVenueFiltering: ITuple<[PolymeshPrimitivesIdentityId, U8aFixed, bool]>; + readonly asVenueFiltering: { + readonly callerDid: PolymeshPrimitivesIdentityId; + readonly assetId: U8aFixed; + readonly enabled: bool; + } & Struct; readonly isVenuesAllowed: boolean; - readonly asVenuesAllowed: ITuple<[PolymeshPrimitivesIdentityId, U8aFixed, Vec]>; + readonly asVenuesAllowed: { + readonly callerDid: PolymeshPrimitivesIdentityId; + readonly assetId: U8aFixed; + readonly venues: Vec; + } & Struct; readonly isVenuesBlocked: boolean; - readonly asVenuesBlocked: ITuple<[PolymeshPrimitivesIdentityId, U8aFixed, Vec]>; + readonly asVenuesBlocked: { + readonly callerDid: PolymeshPrimitivesIdentityId; + readonly assetId: U8aFixed; + readonly venues: Vec; + } & Struct; readonly isTransactionCreated: boolean; - readonly asTransactionCreated: ITuple< - [ - PolymeshPrimitivesIdentityId, - u64, - PalletConfidentialAssetTransactionId, - Vec, - Option - ] - >; + readonly asTransactionCreated: { + readonly callerDid: PolymeshPrimitivesIdentityId; + readonly venueId: u64; + readonly transactionId: PalletConfidentialAssetTransactionId; + readonly legs: Vec; + readonly memo: Option; + } & Struct; readonly isTransactionExecuted: boolean; - readonly asTransactionExecuted: ITuple< - [ - PolymeshPrimitivesIdentityId, - PalletConfidentialAssetTransactionId, - Option - ] - >; + readonly asTransactionExecuted: { + readonly callerDid: PolymeshPrimitivesIdentityId; + readonly transactionId: PalletConfidentialAssetTransactionId; + readonly memo: Option; + } & Struct; readonly isTransactionRejected: boolean; - readonly asTransactionRejected: ITuple< - [ - PolymeshPrimitivesIdentityId, - PalletConfidentialAssetTransactionId, - Option - ] - >; + readonly asTransactionRejected: { + readonly callerDid: PolymeshPrimitivesIdentityId; + readonly transactionId: PalletConfidentialAssetTransactionId; + readonly memo: Option; + } & Struct; readonly isTransactionAffirmed: boolean; - readonly asTransactionAffirmed: ITuple< - [ - PolymeshPrimitivesIdentityId, - PalletConfidentialAssetTransactionId, - PalletConfidentialAssetTransactionLegId, - PalletConfidentialAssetAffirmParty, - u32 - ] - >; + readonly asTransactionAffirmed: { + readonly callerDid: PolymeshPrimitivesIdentityId; + readonly transactionId: PalletConfidentialAssetTransactionId; + readonly legId: PalletConfidentialAssetTransactionLegId; + readonly party: PalletConfidentialAssetAffirmParty; + readonly pendingAffirms: u32; + } & Struct; readonly isAccountWithdraw: boolean; - readonly asAccountWithdraw: ITuple< - [ - PalletConfidentialAssetConfidentialAccount, - U8aFixed, - ConfidentialAssetsElgamalCipherText, - ConfidentialAssetsElgamalCipherText - ] - >; + readonly asAccountWithdraw: { + readonly account: PalletConfidentialAssetConfidentialAccount; + readonly assetId: U8aFixed; + readonly amount: ConfidentialAssetsElgamalCipherText; + readonly balance: ConfidentialAssetsElgamalCipherText; + } & Struct; readonly isAccountDeposit: boolean; - readonly asAccountDeposit: ITuple< - [ - PalletConfidentialAssetConfidentialAccount, - U8aFixed, - ConfidentialAssetsElgamalCipherText, - ConfidentialAssetsElgamalCipherText - ] - >; + readonly asAccountDeposit: { + readonly account: PalletConfidentialAssetConfidentialAccount; + readonly assetId: U8aFixed; + readonly amount: ConfidentialAssetsElgamalCipherText; + readonly balance: ConfidentialAssetsElgamalCipherText; + } & Struct; readonly isAccountDepositIncoming: boolean; - readonly asAccountDepositIncoming: ITuple< - [ - PalletConfidentialAssetConfidentialAccount, - U8aFixed, - ConfidentialAssetsElgamalCipherText, - ConfidentialAssetsElgamalCipherText - ] - >; + readonly asAccountDepositIncoming: { + readonly account: PalletConfidentialAssetConfidentialAccount; + readonly assetId: U8aFixed; + readonly amount: ConfidentialAssetsElgamalCipherText; + readonly incomingBalance: ConfidentialAssetsElgamalCipherText; + } & Struct; + readonly isAssetFrozen: boolean; + readonly asAssetFrozen: { + readonly callerDid: PolymeshPrimitivesIdentityId; + readonly assetId: U8aFixed; + } & Struct; + readonly isAssetUnfrozen: boolean; + readonly asAssetUnfrozen: { + readonly callerDid: PolymeshPrimitivesIdentityId; + readonly assetId: U8aFixed; + } & Struct; + readonly isAccountAssetFrozen: boolean; + readonly asAccountAssetFrozen: { + readonly callerDid: PolymeshPrimitivesIdentityId; + readonly account: PalletConfidentialAssetConfidentialAccount; + readonly assetId: U8aFixed; + } & Struct; + readonly isAccountAssetUnfrozen: boolean; + readonly asAccountAssetUnfrozen: { + readonly callerDid: PolymeshPrimitivesIdentityId; + readonly account: PalletConfidentialAssetConfidentialAccount; + readonly assetId: U8aFixed; + } & Struct; readonly type: | 'AccountCreated' - | 'ConfidentialAssetCreated' + | 'AssetCreated' | 'Issued' + | 'Burned' | 'VenueCreated' | 'VenueFiltering' | 'VenuesAllowed' @@ -3394,30 +3458,34 @@ declare module '@polkadot/types/lookup' { | 'TransactionAffirmed' | 'AccountWithdraw' | 'AccountDeposit' - | 'AccountDepositIncoming'; + | 'AccountDepositIncoming' + | 'AssetFrozen' + | 'AssetUnfrozen' + | 'AccountAssetFrozen' + | 'AccountAssetUnfrozen'; } - /** @name PalletConfidentialAssetConfidentialAccount (299) */ + /** @name PalletConfidentialAssetConfidentialAccount (300) */ interface PalletConfidentialAssetConfidentialAccount extends ConfidentialAssetsElgamalCompressedElgamalPublicKey {} - /** @name ConfidentialAssetsElgamalCompressedElgamalPublicKey (300) */ + /** @name ConfidentialAssetsElgamalCompressedElgamalPublicKey (301) */ interface ConfidentialAssetsElgamalCompressedElgamalPublicKey extends U8aFixed {} - /** @name PalletConfidentialAssetConfidentialAuditors (301) */ + /** @name PalletConfidentialAssetConfidentialAuditors (303) */ interface PalletConfidentialAssetConfidentialAuditors extends Struct { readonly auditors: BTreeSet; readonly mediators: BTreeSet; } - /** @name PalletConfidentialAssetAuditorAccount (303) */ + /** @name PalletConfidentialAssetAuditorAccount (305) */ interface PalletConfidentialAssetAuditorAccount extends ConfidentialAssetsElgamalCompressedElgamalPublicKey {} - /** @name PalletConfidentialAssetTransactionId (308) */ + /** @name PalletConfidentialAssetTransactionId (309) */ interface PalletConfidentialAssetTransactionId extends Compact {} - /** @name PalletConfidentialAssetTransactionLegDetails (310) */ + /** @name PalletConfidentialAssetTransactionLegDetails (311) */ interface PalletConfidentialAssetTransactionLegDetails extends Struct { readonly auditors: BTreeMap>; readonly sender: PalletConfidentialAssetConfidentialAccount; @@ -3425,10 +3493,10 @@ declare module '@polkadot/types/lookup' { readonly mediators: BTreeSet; } - /** @name PalletConfidentialAssetTransactionLegId (318) */ + /** @name PalletConfidentialAssetTransactionLegId (319) */ interface PalletConfidentialAssetTransactionLegId extends Compact {} - /** @name PalletConfidentialAssetAffirmParty (320) */ + /** @name PalletConfidentialAssetAffirmParty (321) */ interface PalletConfidentialAssetAffirmParty extends Enum { readonly isSender: boolean; readonly asSender: PalletConfidentialAssetConfidentialTransfers; @@ -3437,15 +3505,15 @@ declare module '@polkadot/types/lookup' { readonly type: 'Sender' | 'Receiver' | 'Mediator'; } - /** @name PalletConfidentialAssetConfidentialTransfers (321) */ + /** @name PalletConfidentialAssetConfidentialTransfers (322) */ interface PalletConfidentialAssetConfidentialTransfers extends Struct { readonly proofs: BTreeMap; } - /** @name ConfidentialAssetsElgamalCipherText (327) */ + /** @name ConfidentialAssetsElgamalCipherText (328) */ interface ConfidentialAssetsElgamalCipherText extends U8aFixed {} - /** @name FrameSystemPhase (328) */ + /** @name FrameSystemPhase (329) */ interface FrameSystemPhase extends Enum { readonly isApplyExtrinsic: boolean; readonly asApplyExtrinsic: u32; @@ -3454,13 +3522,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization'; } - /** @name FrameSystemLastRuntimeUpgradeInfo (331) */ + /** @name FrameSystemLastRuntimeUpgradeInfo (332) */ interface FrameSystemLastRuntimeUpgradeInfo extends Struct { readonly specVersion: Compact; readonly specName: Text; } - /** @name FrameSystemCall (333) */ + /** @name FrameSystemCall (334) */ interface FrameSystemCall extends Enum { readonly isRemark: boolean; readonly asRemark: { @@ -3506,21 +3574,21 @@ declare module '@polkadot/types/lookup' { | 'RemarkWithEvent'; } - /** @name FrameSystemLimitsBlockWeights (337) */ + /** @name FrameSystemLimitsBlockWeights (338) */ interface FrameSystemLimitsBlockWeights extends Struct { readonly baseBlock: SpWeightsWeightV2Weight; readonly maxBlock: SpWeightsWeightV2Weight; readonly perClass: FrameSupportDispatchPerDispatchClassWeightsPerClass; } - /** @name FrameSupportDispatchPerDispatchClassWeightsPerClass (338) */ + /** @name FrameSupportDispatchPerDispatchClassWeightsPerClass (339) */ interface FrameSupportDispatchPerDispatchClassWeightsPerClass extends Struct { readonly normal: FrameSystemLimitsWeightsPerClass; readonly operational: FrameSystemLimitsWeightsPerClass; readonly mandatory: FrameSystemLimitsWeightsPerClass; } - /** @name FrameSystemLimitsWeightsPerClass (339) */ + /** @name FrameSystemLimitsWeightsPerClass (340) */ interface FrameSystemLimitsWeightsPerClass extends Struct { readonly baseExtrinsic: SpWeightsWeightV2Weight; readonly maxExtrinsic: Option; @@ -3528,25 +3596,25 @@ declare module '@polkadot/types/lookup' { readonly reserved: Option; } - /** @name FrameSystemLimitsBlockLength (341) */ + /** @name FrameSystemLimitsBlockLength (342) */ interface FrameSystemLimitsBlockLength extends Struct { readonly max: FrameSupportDispatchPerDispatchClassU32; } - /** @name FrameSupportDispatchPerDispatchClassU32 (342) */ + /** @name FrameSupportDispatchPerDispatchClassU32 (343) */ interface FrameSupportDispatchPerDispatchClassU32 extends Struct { readonly normal: u32; readonly operational: u32; readonly mandatory: u32; } - /** @name SpWeightsRuntimeDbWeight (343) */ + /** @name SpWeightsRuntimeDbWeight (344) */ interface SpWeightsRuntimeDbWeight extends Struct { readonly read: u64; readonly write: u64; } - /** @name SpVersionRuntimeVersion (344) */ + /** @name SpVersionRuntimeVersion (345) */ interface SpVersionRuntimeVersion extends Struct { readonly specName: Text; readonly implName: Text; @@ -3558,7 +3626,7 @@ declare module '@polkadot/types/lookup' { readonly stateVersion: u8; } - /** @name FrameSystemError (349) */ + /** @name FrameSystemError (350) */ interface FrameSystemError extends Enum { readonly isInvalidSpecName: boolean; readonly isSpecVersionNeedsToIncrease: boolean; @@ -3575,10 +3643,10 @@ declare module '@polkadot/types/lookup' { | 'CallFiltered'; } - /** @name SpConsensusBabeAppPublic (352) */ + /** @name SpConsensusBabeAppPublic (353) */ interface SpConsensusBabeAppPublic extends SpCoreSr25519Public {} - /** @name SpConsensusBabeDigestsNextConfigDescriptor (355) */ + /** @name SpConsensusBabeDigestsNextConfigDescriptor (356) */ interface SpConsensusBabeDigestsNextConfigDescriptor extends Enum { readonly isV1: boolean; readonly asV1: { @@ -3588,7 +3656,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'V1'; } - /** @name SpConsensusBabeAllowedSlots (357) */ + /** @name SpConsensusBabeAllowedSlots (358) */ interface SpConsensusBabeAllowedSlots extends Enum { readonly isPrimarySlots: boolean; readonly isPrimaryAndSecondaryPlainSlots: boolean; @@ -3596,7 +3664,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'PrimarySlots' | 'PrimaryAndSecondaryPlainSlots' | 'PrimaryAndSecondaryVRFSlots'; } - /** @name SpConsensusBabeDigestsPreDigest (361) */ + /** @name SpConsensusBabeDigestsPreDigest (362) */ interface SpConsensusBabeDigestsPreDigest extends Enum { readonly isPrimary: boolean; readonly asPrimary: SpConsensusBabeDigestsPrimaryPreDigest; @@ -3607,7 +3675,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Primary' | 'SecondaryPlain' | 'SecondaryVRF'; } - /** @name SpConsensusBabeDigestsPrimaryPreDigest (362) */ + /** @name SpConsensusBabeDigestsPrimaryPreDigest (363) */ interface SpConsensusBabeDigestsPrimaryPreDigest extends Struct { readonly authorityIndex: u32; readonly slot: u64; @@ -3615,13 +3683,13 @@ declare module '@polkadot/types/lookup' { readonly vrfProof: U8aFixed; } - /** @name SpConsensusBabeDigestsSecondaryPlainPreDigest (363) */ + /** @name SpConsensusBabeDigestsSecondaryPlainPreDigest (364) */ interface SpConsensusBabeDigestsSecondaryPlainPreDigest extends Struct { readonly authorityIndex: u32; readonly slot: u64; } - /** @name SpConsensusBabeDigestsSecondaryVRFPreDigest (364) */ + /** @name SpConsensusBabeDigestsSecondaryVRFPreDigest (365) */ interface SpConsensusBabeDigestsSecondaryVRFPreDigest extends Struct { readonly authorityIndex: u32; readonly slot: u64; @@ -3629,13 +3697,13 @@ declare module '@polkadot/types/lookup' { readonly vrfProof: U8aFixed; } - /** @name SpConsensusBabeBabeEpochConfiguration (365) */ + /** @name SpConsensusBabeBabeEpochConfiguration (366) */ interface SpConsensusBabeBabeEpochConfiguration extends Struct { readonly c: ITuple<[u64, u64]>; readonly allowedSlots: SpConsensusBabeAllowedSlots; } - /** @name PalletBabeCall (369) */ + /** @name PalletBabeCall (370) */ interface PalletBabeCall extends Enum { readonly isReportEquivocation: boolean; readonly asReportEquivocation: { @@ -3654,7 +3722,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'ReportEquivocation' | 'ReportEquivocationUnsigned' | 'PlanConfigChange'; } - /** @name SpConsensusSlotsEquivocationProof (370) */ + /** @name SpConsensusSlotsEquivocationProof (371) */ interface SpConsensusSlotsEquivocationProof extends Struct { readonly offender: SpConsensusBabeAppPublic; readonly slot: u64; @@ -3662,7 +3730,7 @@ declare module '@polkadot/types/lookup' { readonly secondHeader: SpRuntimeHeader; } - /** @name SpRuntimeHeader (371) */ + /** @name SpRuntimeHeader (372) */ interface SpRuntimeHeader extends Struct { readonly parentHash: H256; readonly number: Compact; @@ -3671,17 +3739,17 @@ declare module '@polkadot/types/lookup' { readonly digest: SpRuntimeDigest; } - /** @name SpRuntimeBlakeTwo256 (372) */ + /** @name SpRuntimeBlakeTwo256 (373) */ type SpRuntimeBlakeTwo256 = Null; - /** @name SpSessionMembershipProof (373) */ + /** @name SpSessionMembershipProof (374) */ interface SpSessionMembershipProof extends Struct { readonly session: u32; readonly trieNodes: Vec; readonly validatorCount: u32; } - /** @name PalletBabeError (374) */ + /** @name PalletBabeError (375) */ interface PalletBabeError extends Enum { readonly isInvalidEquivocationProof: boolean; readonly isInvalidKeyOwnershipProof: boolean; @@ -3694,7 +3762,7 @@ declare module '@polkadot/types/lookup' { | 'InvalidConfiguration'; } - /** @name PalletTimestampCall (375) */ + /** @name PalletTimestampCall (376) */ interface PalletTimestampCall extends Enum { readonly isSet: boolean; readonly asSet: { @@ -3703,7 +3771,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Set'; } - /** @name PalletIndicesCall (377) */ + /** @name PalletIndicesCall (378) */ interface PalletIndicesCall extends Enum { readonly isClaim: boolean; readonly asClaim: { @@ -3731,7 +3799,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Claim' | 'Transfer' | 'Free' | 'ForceTransfer' | 'Freeze'; } - /** @name PalletIndicesError (379) */ + /** @name PalletIndicesError (380) */ interface PalletIndicesError extends Enum { readonly isNotAssigned: boolean; readonly isNotOwner: boolean; @@ -3741,14 +3809,14 @@ declare module '@polkadot/types/lookup' { readonly type: 'NotAssigned' | 'NotOwner' | 'InUse' | 'NotTransfer' | 'Permanent'; } - /** @name PalletBalancesBalanceLock (381) */ + /** @name PalletBalancesBalanceLock (382) */ interface PalletBalancesBalanceLock extends Struct { readonly id: U8aFixed; readonly amount: u128; readonly reasons: PolymeshCommonUtilitiesBalancesReasons; } - /** @name PolymeshCommonUtilitiesBalancesReasons (382) */ + /** @name PolymeshCommonUtilitiesBalancesReasons (383) */ interface PolymeshCommonUtilitiesBalancesReasons extends Enum { readonly isFee: boolean; readonly isMisc: boolean; @@ -3756,7 +3824,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Fee' | 'Misc' | 'All'; } - /** @name PalletBalancesCall (383) */ + /** @name PalletBalancesCall (384) */ interface PalletBalancesCall extends Enum { readonly isTransfer: boolean; readonly asTransfer: { @@ -3798,7 +3866,7 @@ declare module '@polkadot/types/lookup' { | 'BurnAccountBalance'; } - /** @name PalletBalancesError (384) */ + /** @name PalletBalancesError (385) */ interface PalletBalancesError extends Enum { readonly isLiquidityRestrictions: boolean; readonly isOverflow: boolean; @@ -3813,14 +3881,14 @@ declare module '@polkadot/types/lookup' { | 'ReceiverCddMissing'; } - /** @name PalletTransactionPaymentReleases (386) */ + /** @name PalletTransactionPaymentReleases (387) */ interface PalletTransactionPaymentReleases extends Enum { readonly isV1Ancient: boolean; readonly isV2: boolean; readonly type: 'V1Ancient' | 'V2'; } - /** @name SpWeightsWeightToFeeCoefficient (388) */ + /** @name SpWeightsWeightToFeeCoefficient (389) */ interface SpWeightsWeightToFeeCoefficient extends Struct { readonly coeffInteger: u128; readonly coeffFrac: Perbill; @@ -3828,24 +3896,24 @@ declare module '@polkadot/types/lookup' { readonly degree: u8; } - /** @name PolymeshPrimitivesIdentityDidRecord (389) */ + /** @name PolymeshPrimitivesIdentityDidRecord (390) */ interface PolymeshPrimitivesIdentityDidRecord extends Struct { readonly primaryKey: Option; } - /** @name PalletIdentityClaim1stKey (391) */ + /** @name PalletIdentityClaim1stKey (392) */ interface PalletIdentityClaim1stKey extends Struct { readonly target: PolymeshPrimitivesIdentityId; readonly claimType: PolymeshPrimitivesIdentityClaimClaimType; } - /** @name PalletIdentityClaim2ndKey (392) */ + /** @name PalletIdentityClaim2ndKey (393) */ interface PalletIdentityClaim2ndKey extends Struct { readonly issuer: PolymeshPrimitivesIdentityId; readonly scope: Option; } - /** @name PolymeshPrimitivesSecondaryKeyKeyRecord (393) */ + /** @name PolymeshPrimitivesSecondaryKeyKeyRecord (394) */ interface PolymeshPrimitivesSecondaryKeyKeyRecord extends Enum { readonly isPrimaryKey: boolean; readonly asPrimaryKey: PolymeshPrimitivesIdentityId; @@ -3858,7 +3926,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'PrimaryKey' | 'SecondaryKey' | 'MultiSigSignerKey'; } - /** @name PolymeshPrimitivesAuthorization (396) */ + /** @name PolymeshPrimitivesAuthorization (397) */ interface PolymeshPrimitivesAuthorization extends Struct { readonly authorizationData: PolymeshPrimitivesAuthorizationAuthorizationData; readonly authorizedBy: PolymeshPrimitivesIdentityId; @@ -3867,7 +3935,7 @@ declare module '@polkadot/types/lookup' { readonly count: u32; } - /** @name PalletIdentityCall (400) */ + /** @name PalletIdentityCall (401) */ interface PalletIdentityCall extends Enum { readonly isCddRegisterDid: boolean; readonly asCddRegisterDid: { @@ -4002,19 +4070,19 @@ declare module '@polkadot/types/lookup' { | 'UnlinkChildIdentity'; } - /** @name PolymeshCommonUtilitiesIdentitySecondaryKeyWithAuth (402) */ + /** @name PolymeshCommonUtilitiesIdentitySecondaryKeyWithAuth (403) */ interface PolymeshCommonUtilitiesIdentitySecondaryKeyWithAuth extends Struct { readonly secondaryKey: PolymeshPrimitivesSecondaryKey; readonly authSignature: H512; } - /** @name PolymeshCommonUtilitiesIdentityCreateChildIdentityWithAuth (405) */ + /** @name PolymeshCommonUtilitiesIdentityCreateChildIdentityWithAuth (406) */ interface PolymeshCommonUtilitiesIdentityCreateChildIdentityWithAuth extends Struct { readonly key: AccountId32; readonly authSignature: H512; } - /** @name PalletIdentityError (406) */ + /** @name PalletIdentityError (407) */ interface PalletIdentityError extends Enum { readonly isAlreadyLinked: boolean; readonly isMissingCurrentIdentity: boolean; @@ -4085,14 +4153,14 @@ declare module '@polkadot/types/lookup' { | 'ExceptNotAllowedForExtrinsics'; } - /** @name PolymeshCommonUtilitiesGroupInactiveMember (408) */ + /** @name PolymeshCommonUtilitiesGroupInactiveMember (409) */ interface PolymeshCommonUtilitiesGroupInactiveMember extends Struct { readonly id: PolymeshPrimitivesIdentityId; readonly deactivatedAt: u64; readonly expiry: Option; } - /** @name PalletGroupCall (409) */ + /** @name PalletGroupCall (410) */ interface PalletGroupCall extends Enum { readonly isSetActiveMembersLimit: boolean; readonly asSetActiveMembersLimit: { @@ -4132,7 +4200,7 @@ declare module '@polkadot/types/lookup' { | 'AbdicateMembership'; } - /** @name PalletGroupError (410) */ + /** @name PalletGroupError (411) */ interface PalletGroupError extends Enum { readonly isOnlyPrimaryKeyAllowed: boolean; readonly isDuplicateMember: boolean; @@ -4151,7 +4219,7 @@ declare module '@polkadot/types/lookup' { | 'ActiveMembersLimitOverflow'; } - /** @name PalletCommitteeCall (412) */ + /** @name PalletCommitteeCall (413) */ interface PalletCommitteeCall extends Enum { readonly isSetVoteThreshold: boolean; readonly asSetVoteThreshold: { @@ -4185,7 +4253,7 @@ declare module '@polkadot/types/lookup' { | 'Vote'; } - /** @name PalletMultisigCall (418) */ + /** @name PalletMultisigCall (419) */ interface PalletMultisigCall extends Enum { readonly isCreateMultisig: boolean; readonly asCreateMultisig: { @@ -4319,7 +4387,7 @@ declare module '@polkadot/types/lookup' { | 'RemoveCreatorControls'; } - /** @name PalletBridgeCall (419) */ + /** @name PalletBridgeCall (420) */ interface PalletBridgeCall extends Enum { readonly isChangeController: boolean; readonly asChangeController: { @@ -4404,7 +4472,7 @@ declare module '@polkadot/types/lookup' { | 'RemoveTxs'; } - /** @name PalletStakingCall (423) */ + /** @name PalletStakingCall (424) */ interface PalletStakingCall extends Enum { readonly isBond: boolean; readonly asBond: { @@ -4581,7 +4649,7 @@ declare module '@polkadot/types/lookup' { | 'ChillFromGovernance'; } - /** @name PalletStakingRewardDestination (424) */ + /** @name PalletStakingRewardDestination (425) */ interface PalletStakingRewardDestination extends Enum { readonly isStaked: boolean; readonly isStash: boolean; @@ -4591,13 +4659,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'Staked' | 'Stash' | 'Controller' | 'Account'; } - /** @name PalletStakingValidatorPrefs (425) */ + /** @name PalletStakingValidatorPrefs (426) */ interface PalletStakingValidatorPrefs extends Struct { readonly commission: Compact; readonly blocked: bool; } - /** @name PalletStakingCompactAssignments (431) */ + /** @name PalletStakingCompactAssignments (432) */ interface PalletStakingCompactAssignments extends Struct { readonly votes1: Vec, Compact]>>; readonly votes2: Vec< @@ -4647,20 +4715,20 @@ declare module '@polkadot/types/lookup' { >; } - /** @name SpNposElectionsElectionScore (482) */ + /** @name SpNposElectionsElectionScore (483) */ interface SpNposElectionsElectionScore extends Struct { readonly minimalStake: u128; readonly sumStake: u128; readonly sumStakeSquared: u128; } - /** @name PalletStakingElectionSize (483) */ + /** @name PalletStakingElectionSize (484) */ interface PalletStakingElectionSize extends Struct { readonly validators: Compact; readonly nominators: Compact; } - /** @name PalletSessionCall (484) */ + /** @name PalletSessionCall (485) */ interface PalletSessionCall extends Enum { readonly isSetKeys: boolean; readonly asSetKeys: { @@ -4671,7 +4739,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'SetKeys' | 'PurgeKeys'; } - /** @name PolymeshRuntimeDevelopRuntimeSessionKeys (485) */ + /** @name PolymeshRuntimeDevelopRuntimeSessionKeys (486) */ interface PolymeshRuntimeDevelopRuntimeSessionKeys extends Struct { readonly grandpa: SpConsensusGrandpaAppPublic; readonly babe: SpConsensusBabeAppPublic; @@ -4679,10 +4747,10 @@ declare module '@polkadot/types/lookup' { readonly authorityDiscovery: SpAuthorityDiscoveryAppPublic; } - /** @name SpAuthorityDiscoveryAppPublic (486) */ + /** @name SpAuthorityDiscoveryAppPublic (487) */ interface SpAuthorityDiscoveryAppPublic extends SpCoreSr25519Public {} - /** @name PalletGrandpaCall (487) */ + /** @name PalletGrandpaCall (488) */ interface PalletGrandpaCall extends Enum { readonly isReportEquivocation: boolean; readonly asReportEquivocation: { @@ -4702,13 +4770,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'ReportEquivocation' | 'ReportEquivocationUnsigned' | 'NoteStalled'; } - /** @name SpConsensusGrandpaEquivocationProof (488) */ + /** @name SpConsensusGrandpaEquivocationProof (489) */ interface SpConsensusGrandpaEquivocationProof extends Struct { readonly setId: u64; readonly equivocation: SpConsensusGrandpaEquivocation; } - /** @name SpConsensusGrandpaEquivocation (489) */ + /** @name SpConsensusGrandpaEquivocation (490) */ interface SpConsensusGrandpaEquivocation extends Enum { readonly isPrevote: boolean; readonly asPrevote: FinalityGrandpaEquivocationPrevote; @@ -4717,7 +4785,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Prevote' | 'Precommit'; } - /** @name FinalityGrandpaEquivocationPrevote (490) */ + /** @name FinalityGrandpaEquivocationPrevote (491) */ interface FinalityGrandpaEquivocationPrevote extends Struct { readonly roundNumber: u64; readonly identity: SpConsensusGrandpaAppPublic; @@ -4725,19 +4793,19 @@ declare module '@polkadot/types/lookup' { readonly second: ITuple<[FinalityGrandpaPrevote, SpConsensusGrandpaAppSignature]>; } - /** @name FinalityGrandpaPrevote (491) */ + /** @name FinalityGrandpaPrevote (492) */ interface FinalityGrandpaPrevote extends Struct { readonly targetHash: H256; readonly targetNumber: u32; } - /** @name SpConsensusGrandpaAppSignature (492) */ + /** @name SpConsensusGrandpaAppSignature (493) */ interface SpConsensusGrandpaAppSignature extends SpCoreEd25519Signature {} - /** @name SpCoreEd25519Signature (493) */ + /** @name SpCoreEd25519Signature (494) */ interface SpCoreEd25519Signature extends U8aFixed {} - /** @name FinalityGrandpaEquivocationPrecommit (495) */ + /** @name FinalityGrandpaEquivocationPrecommit (496) */ interface FinalityGrandpaEquivocationPrecommit extends Struct { readonly roundNumber: u64; readonly identity: SpConsensusGrandpaAppPublic; @@ -4745,13 +4813,13 @@ declare module '@polkadot/types/lookup' { readonly second: ITuple<[FinalityGrandpaPrecommit, SpConsensusGrandpaAppSignature]>; } - /** @name FinalityGrandpaPrecommit (496) */ + /** @name FinalityGrandpaPrecommit (497) */ interface FinalityGrandpaPrecommit extends Struct { readonly targetHash: H256; readonly targetNumber: u32; } - /** @name PalletImOnlineCall (498) */ + /** @name PalletImOnlineCall (499) */ interface PalletImOnlineCall extends Enum { readonly isHeartbeat: boolean; readonly asHeartbeat: { @@ -4761,7 +4829,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Heartbeat'; } - /** @name PalletImOnlineHeartbeat (499) */ + /** @name PalletImOnlineHeartbeat (500) */ interface PalletImOnlineHeartbeat extends Struct { readonly blockNumber: u32; readonly networkState: SpCoreOffchainOpaqueNetworkState; @@ -4770,19 +4838,19 @@ declare module '@polkadot/types/lookup' { readonly validatorsLen: u32; } - /** @name SpCoreOffchainOpaqueNetworkState (500) */ + /** @name SpCoreOffchainOpaqueNetworkState (501) */ interface SpCoreOffchainOpaqueNetworkState extends Struct { readonly peerId: OpaquePeerId; readonly externalAddresses: Vec; } - /** @name PalletImOnlineSr25519AppSr25519Signature (504) */ + /** @name PalletImOnlineSr25519AppSr25519Signature (505) */ interface PalletImOnlineSr25519AppSr25519Signature extends SpCoreSr25519Signature {} - /** @name SpCoreSr25519Signature (505) */ + /** @name SpCoreSr25519Signature (506) */ interface SpCoreSr25519Signature extends U8aFixed {} - /** @name PalletSudoCall (506) */ + /** @name PalletSudoCall (507) */ interface PalletSudoCall extends Enum { readonly isSudo: boolean; readonly asSudo: { @@ -4805,7 +4873,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs'; } - /** @name PalletAssetCall (507) */ + /** @name PalletAssetCall (508) */ interface PalletAssetCall extends Enum { readonly isRegisterTicker: boolean; readonly asRegisterTicker: { @@ -4964,6 +5032,16 @@ declare module '@polkadot/types/lookup' { readonly asRemoveTickerPreApproval: { readonly ticker: PolymeshPrimitivesTicker; } & Struct; + readonly isAddMandatoryMediators: boolean; + readonly asAddMandatoryMediators: { + readonly ticker: PolymeshPrimitivesTicker; + readonly mediators: BTreeSet; + } & Struct; + readonly isRemoveMandatoryMediators: boolean; + readonly asRemoveMandatoryMediators: { + readonly ticker: PolymeshPrimitivesTicker; + readonly mediators: BTreeSet; + } & Struct; readonly type: | 'RegisterTicker' | 'AcceptTickerTransfer' @@ -4994,10 +5072,12 @@ declare module '@polkadot/types/lookup' { | 'ExemptTickerAffirmation' | 'RemoveTickerAffirmationExemption' | 'PreApproveTicker' - | 'RemoveTickerPreApproval'; + | 'RemoveTickerPreApproval' + | 'AddMandatoryMediators' + | 'RemoveMandatoryMediators'; } - /** @name PalletCorporateActionsDistributionCall (509) */ + /** @name PalletCorporateActionsDistributionCall (511) */ interface PalletCorporateActionsDistributionCall extends Enum { readonly isDistribute: boolean; readonly asDistribute: { @@ -5029,7 +5109,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Distribute' | 'Claim' | 'PushBenefit' | 'Reclaim' | 'RemoveDistribution'; } - /** @name PalletAssetCheckpointCall (511) */ + /** @name PalletAssetCheckpointCall (513) */ interface PalletAssetCheckpointCall extends Enum { readonly isCreateCheckpoint: boolean; readonly asCreateCheckpoint: { @@ -5056,7 +5136,7 @@ declare module '@polkadot/types/lookup' { | 'RemoveSchedule'; } - /** @name PalletComplianceManagerCall (512) */ + /** @name PalletComplianceManagerCall (514) */ interface PalletComplianceManagerCall extends Enum { readonly isAddComplianceRequirement: boolean; readonly asAddComplianceRequirement: { @@ -5113,7 +5193,7 @@ declare module '@polkadot/types/lookup' { | 'ChangeComplianceRequirement'; } - /** @name PalletCorporateActionsCall (513) */ + /** @name PalletCorporateActionsCall (515) */ interface PalletCorporateActionsCall extends Enum { readonly isSetMaxDetailsLength: boolean; readonly asSetMaxDetailsLength: { @@ -5182,7 +5262,7 @@ declare module '@polkadot/types/lookup' { | 'InitiateCorporateActionAndDistribute'; } - /** @name PalletCorporateActionsRecordDateSpec (515) */ + /** @name PalletCorporateActionsRecordDateSpec (517) */ interface PalletCorporateActionsRecordDateSpec extends Enum { readonly isScheduled: boolean; readonly asScheduled: u64; @@ -5193,7 +5273,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Scheduled' | 'ExistingSchedule' | 'Existing'; } - /** @name PalletCorporateActionsInitiateCorporateActionArgs (518) */ + /** @name PalletCorporateActionsInitiateCorporateActionArgs (520) */ interface PalletCorporateActionsInitiateCorporateActionArgs extends Struct { readonly ticker: PolymeshPrimitivesTicker; readonly kind: PalletCorporateActionsCaKind; @@ -5205,7 +5285,7 @@ declare module '@polkadot/types/lookup' { readonly withholdingTax: Option>>; } - /** @name PalletCorporateActionsBallotCall (519) */ + /** @name PalletCorporateActionsBallotCall (521) */ interface PalletCorporateActionsBallotCall extends Enum { readonly isAttachBallot: boolean; readonly asAttachBallot: { @@ -5247,7 +5327,7 @@ declare module '@polkadot/types/lookup' { | 'RemoveBallot'; } - /** @name PalletPipsCall (520) */ + /** @name PalletPipsCall (522) */ interface PalletPipsCall extends Enum { readonly isSetPruneHistoricalPips: boolean; readonly asSetPruneHistoricalPips: { @@ -5338,7 +5418,7 @@ declare module '@polkadot/types/lookup' { | 'ExpireScheduledPip'; } - /** @name PalletPipsSnapshotResult (523) */ + /** @name PalletPipsSnapshotResult (525) */ interface PalletPipsSnapshotResult extends Enum { readonly isApprove: boolean; readonly isReject: boolean; @@ -5346,7 +5426,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Approve' | 'Reject' | 'Skip'; } - /** @name PalletPortfolioCall (524) */ + /** @name PalletPortfolioCall (526) */ interface PalletPortfolioCall extends Enum { readonly isCreatePortfolio: boolean; readonly asCreatePortfolio: { @@ -5412,13 +5492,13 @@ declare module '@polkadot/types/lookup' { | 'CreateCustodyPortfolio'; } - /** @name PolymeshPrimitivesPortfolioFund (526) */ + /** @name PolymeshPrimitivesPortfolioFund (528) */ interface PolymeshPrimitivesPortfolioFund extends Struct { readonly description: PolymeshPrimitivesPortfolioFundDescription; readonly memo: Option; } - /** @name PalletProtocolFeeCall (527) */ + /** @name PalletProtocolFeeCall (529) */ interface PalletProtocolFeeCall extends Enum { readonly isChangeCoefficient: boolean; readonly asChangeCoefficient: { @@ -5432,7 +5512,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'ChangeCoefficient' | 'ChangeBaseFee'; } - /** @name PolymeshCommonUtilitiesProtocolFeeProtocolOp (528) */ + /** @name PolymeshCommonUtilitiesProtocolFeeProtocolOp (530) */ interface PolymeshCommonUtilitiesProtocolFeeProtocolOp extends Enum { readonly isAssetRegisterTicker: boolean; readonly isAssetIssue: boolean; @@ -5469,7 +5549,7 @@ declare module '@polkadot/types/lookup' { | 'IdentityCreateChildIdentity'; } - /** @name PalletSchedulerCall (529) */ + /** @name PalletSchedulerCall (531) */ interface PalletSchedulerCall extends Enum { readonly isSchedule: boolean; readonly asSchedule: { @@ -5519,7 +5599,7 @@ declare module '@polkadot/types/lookup' { | 'ScheduleNamedAfter'; } - /** @name PalletSettlementCall (531) */ + /** @name PalletSettlementCall (533) */ interface PalletSettlementCall extends Enum { readonly isCreateVenue: boolean; readonly asCreateVenue: { @@ -5637,6 +5717,41 @@ declare module '@polkadot/types/lookup' { readonly portfolios: Vec; readonly numberOfAssets: Option; } & Struct; + readonly isAddInstructionWithMediators: boolean; + readonly asAddInstructionWithMediators: { + readonly venueId: u64; + readonly settlementType: PolymeshPrimitivesSettlementSettlementType; + readonly tradeDate: Option; + readonly valueDate: Option; + readonly legs: Vec; + readonly instructionMemo: Option; + readonly mediators: BTreeSet; + } & Struct; + readonly isAddAndAffirmWithMediators: boolean; + readonly asAddAndAffirmWithMediators: { + readonly venueId: u64; + readonly settlementType: PolymeshPrimitivesSettlementSettlementType; + readonly tradeDate: Option; + readonly valueDate: Option; + readonly legs: Vec; + readonly portfolios: Vec; + readonly instructionMemo: Option; + readonly mediators: BTreeSet; + } & Struct; + readonly isAffirmInstructionAsMediator: boolean; + readonly asAffirmInstructionAsMediator: { + readonly instructionId: u64; + readonly expiry: Option; + } & Struct; + readonly isWithdrawAffirmationAsMediator: boolean; + readonly asWithdrawAffirmationAsMediator: { + readonly instructionId: u64; + } & Struct; + readonly isRejectInstructionAsMediator: boolean; + readonly asRejectInstructionAsMediator: { + readonly instructionId: u64; + readonly numberOfAssets: Option; + } & Struct; readonly type: | 'CreateVenue' | 'UpdateVenueDetails' @@ -5656,10 +5771,15 @@ declare module '@polkadot/types/lookup' { | 'AffirmWithReceiptsWithCount' | 'AffirmInstructionWithCount' | 'RejectInstructionWithCount' - | 'WithdrawAffirmationWithCount'; + | 'WithdrawAffirmationWithCount' + | 'AddInstructionWithMediators' + | 'AddAndAffirmWithMediators' + | 'AffirmInstructionAsMediator' + | 'WithdrawAffirmationAsMediator' + | 'RejectInstructionAsMediator'; } - /** @name PolymeshPrimitivesSettlementReceiptDetails (533) */ + /** @name PolymeshPrimitivesSettlementReceiptDetails (535) */ interface PolymeshPrimitivesSettlementReceiptDetails extends Struct { readonly uid: u64; readonly instructionId: u64; @@ -5669,7 +5789,7 @@ declare module '@polkadot/types/lookup' { readonly metadata: Option; } - /** @name SpRuntimeMultiSignature (534) */ + /** @name SpRuntimeMultiSignature (536) */ interface SpRuntimeMultiSignature extends Enum { readonly isEd25519: boolean; readonly asEd25519: SpCoreEd25519Signature; @@ -5680,24 +5800,24 @@ declare module '@polkadot/types/lookup' { readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa'; } - /** @name SpCoreEcdsaSignature (535) */ + /** @name SpCoreEcdsaSignature (537) */ interface SpCoreEcdsaSignature extends U8aFixed {} - /** @name PolymeshPrimitivesSettlementAffirmationCount (538) */ + /** @name PolymeshPrimitivesSettlementAffirmationCount (540) */ interface PolymeshPrimitivesSettlementAffirmationCount extends Struct { readonly senderAssetCount: PolymeshPrimitivesSettlementAssetCount; readonly receiverAssetCount: PolymeshPrimitivesSettlementAssetCount; readonly offchainCount: u32; } - /** @name PolymeshPrimitivesSettlementAssetCount (539) */ + /** @name PolymeshPrimitivesSettlementAssetCount (541) */ interface PolymeshPrimitivesSettlementAssetCount extends Struct { readonly fungible: u32; readonly nonFungible: u32; readonly offChain: u32; } - /** @name PalletStatisticsCall (541) */ + /** @name PalletStatisticsCall (544) */ interface PalletStatisticsCall extends Enum { readonly isSetActiveAssetStats: boolean; readonly asSetActiveAssetStats: { @@ -5728,7 +5848,7 @@ declare module '@polkadot/types/lookup' { | 'SetEntitiesExempt'; } - /** @name PalletStoCall (545) */ + /** @name PalletStoCall (548) */ interface PalletStoCall extends Enum { readonly isCreateFundraiser: boolean; readonly asCreateFundraiser: { @@ -5784,13 +5904,13 @@ declare module '@polkadot/types/lookup' { | 'Stop'; } - /** @name PalletStoPriceTier (547) */ + /** @name PalletStoPriceTier (550) */ interface PalletStoPriceTier extends Struct { readonly total: u128; readonly price: u128; } - /** @name PalletTreasuryCall (549) */ + /** @name PalletTreasuryCall (552) */ interface PalletTreasuryCall extends Enum { readonly isDisbursement: boolean; readonly asDisbursement: { @@ -5803,13 +5923,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'Disbursement' | 'Reimbursement'; } - /** @name PolymeshPrimitivesBeneficiary (551) */ + /** @name PolymeshPrimitivesBeneficiary (554) */ interface PolymeshPrimitivesBeneficiary extends Struct { readonly id: PolymeshPrimitivesIdentityId; readonly amount: u128; } - /** @name PalletUtilityCall (552) */ + /** @name PalletUtilityCall (555) */ interface PalletUtilityCall extends Enum { readonly isBatch: boolean; readonly asBatch: { @@ -5869,13 +5989,13 @@ declare module '@polkadot/types/lookup' { | 'AsDerivative'; } - /** @name PalletUtilityUniqueCall (554) */ + /** @name PalletUtilityUniqueCall (557) */ interface PalletUtilityUniqueCall extends Struct { readonly nonce: u64; readonly call: Call; } - /** @name PolymeshRuntimeDevelopRuntimeOriginCaller (555) */ + /** @name PolymeshRuntimeDevelopRuntimeOriginCaller (558) */ interface PolymeshRuntimeDevelopRuntimeOriginCaller extends Enum { readonly isSystem: boolean; readonly asSystem: FrameSupportDispatchRawOrigin; @@ -5894,7 +6014,7 @@ declare module '@polkadot/types/lookup' { | 'UpgradeCommittee'; } - /** @name FrameSupportDispatchRawOrigin (556) */ + /** @name FrameSupportDispatchRawOrigin (559) */ interface FrameSupportDispatchRawOrigin extends Enum { readonly isRoot: boolean; readonly isSigned: boolean; @@ -5903,31 +6023,31 @@ declare module '@polkadot/types/lookup' { readonly type: 'Root' | 'Signed' | 'None'; } - /** @name PalletCommitteeRawOriginInstance1 (557) */ + /** @name PalletCommitteeRawOriginInstance1 (560) */ interface PalletCommitteeRawOriginInstance1 extends Enum { readonly isEndorsed: boolean; readonly type: 'Endorsed'; } - /** @name PalletCommitteeRawOriginInstance3 (558) */ + /** @name PalletCommitteeRawOriginInstance3 (561) */ interface PalletCommitteeRawOriginInstance3 extends Enum { readonly isEndorsed: boolean; readonly type: 'Endorsed'; } - /** @name PalletCommitteeRawOriginInstance4 (559) */ + /** @name PalletCommitteeRawOriginInstance4 (562) */ interface PalletCommitteeRawOriginInstance4 extends Enum { readonly isEndorsed: boolean; readonly type: 'Endorsed'; } - /** @name SpCoreVoid (560) */ + /** @name SpCoreVoid (563) */ type SpCoreVoid = Null; - /** @name PalletBaseCall (561) */ + /** @name PalletBaseCall (564) */ type PalletBaseCall = Null; - /** @name PalletExternalAgentsCall (562) */ + /** @name PalletExternalAgentsCall (565) */ interface PalletExternalAgentsCall extends Enum { readonly isCreateGroup: boolean; readonly asCreateGroup: { @@ -5983,7 +6103,7 @@ declare module '@polkadot/types/lookup' { | 'CreateAndChangeCustomGroup'; } - /** @name PalletRelayerCall (563) */ + /** @name PalletRelayerCall (566) */ interface PalletRelayerCall extends Enum { readonly isSetPayingKey: boolean; readonly asSetPayingKey: { @@ -6023,7 +6143,7 @@ declare module '@polkadot/types/lookup' { | 'DecreasePolyxLimit'; } - /** @name PalletContractsCall (564) */ + /** @name PalletContractsCall (567) */ interface PalletContractsCall extends Enum { readonly isCallOldWeight: boolean; readonly asCallOldWeight: { @@ -6104,14 +6224,14 @@ declare module '@polkadot/types/lookup' { | 'Instantiate'; } - /** @name PalletContractsWasmDeterminism (568) */ + /** @name PalletContractsWasmDeterminism (571) */ interface PalletContractsWasmDeterminism extends Enum { readonly isDeterministic: boolean; readonly isAllowIndeterminism: boolean; readonly type: 'Deterministic' | 'AllowIndeterminism'; } - /** @name PolymeshContractsCall (569) */ + /** @name PolymeshContractsCall (572) */ interface PolymeshContractsCall extends Enum { readonly isInstantiateWithCodePerms: boolean; readonly asInstantiateWithCodePerms: { @@ -6169,18 +6289,18 @@ declare module '@polkadot/types/lookup' { | 'UpgradeApi'; } - /** @name PolymeshContractsNextUpgrade (572) */ + /** @name PolymeshContractsNextUpgrade (575) */ interface PolymeshContractsNextUpgrade extends Struct { readonly chainVersion: PolymeshContractsChainVersion; readonly apiHash: PolymeshContractsApiCodeHash; } - /** @name PolymeshContractsApiCodeHash (573) */ + /** @name PolymeshContractsApiCodeHash (576) */ interface PolymeshContractsApiCodeHash extends Struct { readonly hash_: H256; } - /** @name PalletPreimageCall (574) */ + /** @name PalletPreimageCall (577) */ interface PalletPreimageCall extends Enum { readonly isNotePreimage: boolean; readonly asNotePreimage: { @@ -6201,7 +6321,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'NotePreimage' | 'UnnotePreimage' | 'RequestPreimage' | 'UnrequestPreimage'; } - /** @name PalletNftCall (575) */ + /** @name PalletNftCall (578) */ interface PalletNftCall extends Enum { readonly isCreateNftCollection: boolean; readonly asCreateNftCollection: { @@ -6231,17 +6351,17 @@ declare module '@polkadot/types/lookup' { readonly type: 'CreateNftCollection' | 'IssueNft' | 'RedeemNft' | 'ControllerTransfer'; } - /** @name PolymeshPrimitivesNftNftCollectionKeys (577) */ + /** @name PolymeshPrimitivesNftNftCollectionKeys (580) */ interface PolymeshPrimitivesNftNftCollectionKeys extends Vec {} - /** @name PolymeshPrimitivesNftNftMetadataAttribute (580) */ + /** @name PolymeshPrimitivesNftNftMetadataAttribute (583) */ interface PolymeshPrimitivesNftNftMetadataAttribute extends Struct { readonly key: PolymeshPrimitivesAssetMetadataAssetMetadataKey; readonly value: Bytes; } - /** @name PalletTestUtilsCall (581) */ + /** @name PalletTestUtilsCall (584) */ interface PalletTestUtilsCall extends Enum { readonly isRegisterDid: boolean; readonly asRegisterDid: { @@ -6259,20 +6379,19 @@ declare module '@polkadot/types/lookup' { readonly type: 'RegisterDid' | 'MockCddRegisterDid' | 'GetMyDid' | 'GetCddOf'; } - /** @name PalletConfidentialAssetCall (582) */ + /** @name PalletConfidentialAssetCall (585) */ interface PalletConfidentialAssetCall extends Enum { readonly isCreateAccount: boolean; readonly asCreateAccount: { readonly account: PalletConfidentialAssetConfidentialAccount; } & Struct; - readonly isCreateConfidentialAsset: boolean; - readonly asCreateConfidentialAsset: { - readonly ticker: Option; + readonly isCreateAsset: boolean; + readonly asCreateAsset: { readonly data: Bytes; readonly auditors: PalletConfidentialAssetConfidentialAuditors; } & Struct; - readonly isMintConfidentialAsset: boolean; - readonly asMintConfidentialAsset: { + readonly isMint: boolean; + readonly asMint: { readonly assetId: U8aFixed; readonly amount: u128; readonly account: PalletConfidentialAssetConfidentialAccount; @@ -6318,10 +6437,33 @@ declare module '@polkadot/types/lookup' { readonly transactionId: PalletConfidentialAssetTransactionId; readonly legCount: u32; } & Struct; + readonly isSetAssetFrozen: boolean; + readonly asSetAssetFrozen: { + readonly assetId: U8aFixed; + readonly freeze: bool; + } & Struct; + readonly isSetAccountAssetFrozen: boolean; + readonly asSetAccountAssetFrozen: { + readonly account: PalletConfidentialAssetConfidentialAccount; + readonly assetId: U8aFixed; + readonly freeze: bool; + } & Struct; + readonly isApplyIncomingBalances: boolean; + readonly asApplyIncomingBalances: { + readonly account: PalletConfidentialAssetConfidentialAccount; + readonly maxUpdates: u16; + } & Struct; + readonly isBurn: boolean; + readonly asBurn: { + readonly assetId: U8aFixed; + readonly amount: u128; + readonly account: PalletConfidentialAssetConfidentialAccount; + readonly proof: ConfidentialAssetsBurnConfidentialBurnProof; + } & Struct; readonly type: | 'CreateAccount' - | 'CreateConfidentialAsset' - | 'MintConfidentialAsset' + | 'CreateAsset' + | 'Mint' | 'ApplyIncomingBalance' | 'CreateVenue' | 'SetVenueFiltering' @@ -6330,10 +6472,14 @@ declare module '@polkadot/types/lookup' { | 'AddTransaction' | 'AffirmTransactions' | 'ExecuteTransaction' - | 'RejectTransaction'; + | 'RejectTransaction' + | 'SetAssetFrozen' + | 'SetAccountAssetFrozen' + | 'ApplyIncomingBalances' + | 'Burn'; } - /** @name PalletConfidentialAssetTransactionLeg (586) */ + /** @name PalletConfidentialAssetTransactionLeg (587) */ interface PalletConfidentialAssetTransactionLeg extends Struct { readonly assets: BTreeSet; readonly sender: PalletConfidentialAssetConfidentialAccount; @@ -6342,23 +6488,28 @@ declare module '@polkadot/types/lookup' { readonly mediators: BTreeSet; } - /** @name PalletConfidentialAssetAffirmTransactions (591) */ + /** @name PalletConfidentialAssetAffirmTransactions (592) */ interface PalletConfidentialAssetAffirmTransactions extends Vec {} - /** @name PalletConfidentialAssetAffirmTransaction (593) */ + /** @name PalletConfidentialAssetAffirmTransaction (594) */ interface PalletConfidentialAssetAffirmTransaction extends Struct { readonly id: PalletConfidentialAssetTransactionId; readonly leg: PalletConfidentialAssetAffirmLeg; } - /** @name PalletConfidentialAssetAffirmLeg (594) */ + /** @name PalletConfidentialAssetAffirmLeg (595) */ interface PalletConfidentialAssetAffirmLeg extends Struct { readonly legId: PalletConfidentialAssetTransactionLegId; readonly party: PalletConfidentialAssetAffirmParty; } - /** @name PalletCommitteePolymeshVotes (596) */ + /** @name ConfidentialAssetsBurnConfidentialBurnProof (597) */ + interface ConfidentialAssetsBurnConfidentialBurnProof extends Struct { + readonly encodedInnerProof: Bytes; + } + + /** @name PalletCommitteePolymeshVotes (598) */ interface PalletCommitteePolymeshVotes extends Struct { readonly index: u32; readonly ayes: Vec; @@ -6366,7 +6517,7 @@ declare module '@polkadot/types/lookup' { readonly expiry: PolymeshCommonUtilitiesMaybeBlock; } - /** @name PalletCommitteeError (598) */ + /** @name PalletCommitteeError (600) */ interface PalletCommitteeError extends Enum { readonly isDuplicateVote: boolean; readonly isNotAMember: boolean; @@ -6389,7 +6540,7 @@ declare module '@polkadot/types/lookup' { | 'ProposalsLimitReached'; } - /** @name PolymeshPrimitivesMultisigProposalDetails (608) */ + /** @name PolymeshPrimitivesMultisigProposalDetails (610) */ interface PolymeshPrimitivesMultisigProposalDetails extends Struct { readonly approvals: u64; readonly rejections: u64; @@ -6398,7 +6549,7 @@ declare module '@polkadot/types/lookup' { readonly autoClose: bool; } - /** @name PolymeshPrimitivesMultisigProposalStatus (609) */ + /** @name PolymeshPrimitivesMultisigProposalStatus (611) */ interface PolymeshPrimitivesMultisigProposalStatus extends Enum { readonly isInvalid: boolean; readonly isActiveOrExpired: boolean; @@ -6413,7 +6564,7 @@ declare module '@polkadot/types/lookup' { | 'Rejected'; } - /** @name PalletMultisigError (611) */ + /** @name PalletMultisigError (613) */ interface PalletMultisigError extends Enum { readonly isCddMissing: boolean; readonly isProposalMissing: boolean; @@ -6470,7 +6621,7 @@ declare module '@polkadot/types/lookup' { | 'CreatorControlsHaveBeenRemoved'; } - /** @name PalletBridgeBridgeTxDetail (613) */ + /** @name PalletBridgeBridgeTxDetail (615) */ interface PalletBridgeBridgeTxDetail extends Struct { readonly amount: u128; readonly status: PalletBridgeBridgeTxStatus; @@ -6478,7 +6629,7 @@ declare module '@polkadot/types/lookup' { readonly txHash: H256; } - /** @name PalletBridgeBridgeTxStatus (614) */ + /** @name PalletBridgeBridgeTxStatus (616) */ interface PalletBridgeBridgeTxStatus extends Enum { readonly isAbsent: boolean; readonly isPending: boolean; @@ -6489,7 +6640,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Absent' | 'Pending' | 'Frozen' | 'Timelocked' | 'Handled'; } - /** @name PalletBridgeError (617) */ + /** @name PalletBridgeError (619) */ interface PalletBridgeError extends Enum { readonly isControllerNotSet: boolean; readonly isBadCaller: boolean; @@ -6520,7 +6671,7 @@ declare module '@polkadot/types/lookup' { | 'TimelockedTx'; } - /** @name PalletStakingStakingLedger (618) */ + /** @name PalletStakingStakingLedger (620) */ interface PalletStakingStakingLedger extends Struct { readonly stash: AccountId32; readonly total: Compact; @@ -6529,32 +6680,32 @@ declare module '@polkadot/types/lookup' { readonly claimedRewards: Vec; } - /** @name PalletStakingUnlockChunk (620) */ + /** @name PalletStakingUnlockChunk (622) */ interface PalletStakingUnlockChunk extends Struct { readonly value: Compact; readonly era: Compact; } - /** @name PalletStakingNominations (621) */ + /** @name PalletStakingNominations (623) */ interface PalletStakingNominations extends Struct { readonly targets: Vec; readonly submittedIn: u32; readonly suppressed: bool; } - /** @name PalletStakingActiveEraInfo (622) */ + /** @name PalletStakingActiveEraInfo (624) */ interface PalletStakingActiveEraInfo extends Struct { readonly index: u32; readonly start: Option; } - /** @name PalletStakingEraRewardPoints (624) */ + /** @name PalletStakingEraRewardPoints (626) */ interface PalletStakingEraRewardPoints extends Struct { readonly total: u32; readonly individual: BTreeMap; } - /** @name PalletStakingForcing (627) */ + /** @name PalletStakingForcing (629) */ interface PalletStakingForcing extends Enum { readonly isNotForcing: boolean; readonly isForceNew: boolean; @@ -6563,7 +6714,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'NotForcing' | 'ForceNew' | 'ForceNone' | 'ForceAlways'; } - /** @name PalletStakingUnappliedSlash (629) */ + /** @name PalletStakingUnappliedSlash (631) */ interface PalletStakingUnappliedSlash extends Struct { readonly validator: AccountId32; readonly own: u128; @@ -6572,7 +6723,7 @@ declare module '@polkadot/types/lookup' { readonly payout: u128; } - /** @name PalletStakingSlashingSlashingSpans (633) */ + /** @name PalletStakingSlashingSlashingSpans (635) */ interface PalletStakingSlashingSlashingSpans extends Struct { readonly spanIndex: u32; readonly lastStart: u32; @@ -6580,20 +6731,20 @@ declare module '@polkadot/types/lookup' { readonly prior: Vec; } - /** @name PalletStakingSlashingSpanRecord (634) */ + /** @name PalletStakingSlashingSpanRecord (636) */ interface PalletStakingSlashingSpanRecord extends Struct { readonly slashed: u128; readonly paidOut: u128; } - /** @name PalletStakingElectionResult (637) */ + /** @name PalletStakingElectionResult (639) */ interface PalletStakingElectionResult extends Struct { readonly electedStashes: Vec; readonly exposures: Vec>; readonly compute: PalletStakingElectionCompute; } - /** @name PalletStakingElectionStatus (638) */ + /** @name PalletStakingElectionStatus (640) */ interface PalletStakingElectionStatus extends Enum { readonly isClosed: boolean; readonly isOpen: boolean; @@ -6601,13 +6752,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'Closed' | 'Open'; } - /** @name PalletStakingPermissionedIdentityPrefs (639) */ + /** @name PalletStakingPermissionedIdentityPrefs (641) */ interface PalletStakingPermissionedIdentityPrefs extends Struct { readonly intendedCount: u32; readonly runningCount: u32; } - /** @name PalletStakingReleases (640) */ + /** @name PalletStakingReleases (642) */ interface PalletStakingReleases extends Enum { readonly isV100Ancient: boolean; readonly isV200: boolean; @@ -6620,7 +6771,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'V100Ancient' | 'V200' | 'V300' | 'V400' | 'V500' | 'V600' | 'V601' | 'V700'; } - /** @name PalletStakingError (642) */ + /** @name PalletStakingError (644) */ interface PalletStakingError extends Enum { readonly isNotController: boolean; readonly isNotStash: boolean; @@ -6711,16 +6862,16 @@ declare module '@polkadot/types/lookup' { | 'InvalidValidatorUnbondAmount'; } - /** @name SpStakingOffenceOffenceDetails (643) */ + /** @name SpStakingOffenceOffenceDetails (645) */ interface SpStakingOffenceOffenceDetails extends Struct { readonly offender: ITuple<[AccountId32, PalletStakingExposure]>; readonly reporters: Vec; } - /** @name SpCoreCryptoKeyTypeId (648) */ + /** @name SpCoreCryptoKeyTypeId (650) */ interface SpCoreCryptoKeyTypeId extends U8aFixed {} - /** @name PalletSessionError (649) */ + /** @name PalletSessionError (651) */ interface PalletSessionError extends Enum { readonly isInvalidProof: boolean; readonly isNoAssociatedValidatorId: boolean; @@ -6735,7 +6886,7 @@ declare module '@polkadot/types/lookup' { | 'NoAccount'; } - /** @name PalletGrandpaStoredState (650) */ + /** @name PalletGrandpaStoredState (652) */ interface PalletGrandpaStoredState extends Enum { readonly isLive: boolean; readonly isPendingPause: boolean; @@ -6752,7 +6903,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Live' | 'PendingPause' | 'Paused' | 'PendingResume'; } - /** @name PalletGrandpaStoredPendingChange (651) */ + /** @name PalletGrandpaStoredPendingChange (653) */ interface PalletGrandpaStoredPendingChange extends Struct { readonly scheduledAt: u32; readonly delay: u32; @@ -6760,7 +6911,7 @@ declare module '@polkadot/types/lookup' { readonly forced: Option; } - /** @name PalletGrandpaError (653) */ + /** @name PalletGrandpaError (655) */ interface PalletGrandpaError extends Enum { readonly isPauseFailed: boolean; readonly isResumeFailed: boolean; @@ -6779,38 +6930,38 @@ declare module '@polkadot/types/lookup' { | 'DuplicateOffenceReport'; } - /** @name PalletImOnlineBoundedOpaqueNetworkState (657) */ + /** @name PalletImOnlineBoundedOpaqueNetworkState (659) */ interface PalletImOnlineBoundedOpaqueNetworkState extends Struct { readonly peerId: Bytes; readonly externalAddresses: Vec; } - /** @name PalletImOnlineError (661) */ + /** @name PalletImOnlineError (663) */ interface PalletImOnlineError extends Enum { readonly isInvalidKey: boolean; readonly isDuplicatedHeartbeat: boolean; readonly type: 'InvalidKey' | 'DuplicatedHeartbeat'; } - /** @name PalletSudoError (663) */ + /** @name PalletSudoError (665) */ interface PalletSudoError extends Enum { readonly isRequireSudo: boolean; readonly type: 'RequireSudo'; } - /** @name PalletAssetTickerRegistration (664) */ + /** @name PalletAssetTickerRegistration (666) */ interface PalletAssetTickerRegistration extends Struct { readonly owner: PolymeshPrimitivesIdentityId; readonly expiry: Option; } - /** @name PalletAssetTickerRegistrationConfig (665) */ + /** @name PalletAssetTickerRegistrationConfig (667) */ interface PalletAssetTickerRegistrationConfig extends Struct { readonly maxTickerLength: u8; readonly registrationLength: Option; } - /** @name PalletAssetSecurityToken (666) */ + /** @name PalletAssetSecurityToken (668) */ interface PalletAssetSecurityToken extends Struct { readonly totalSupply: u128; readonly ownerDid: PolymeshPrimitivesIdentityId; @@ -6818,7 +6969,7 @@ declare module '@polkadot/types/lookup' { readonly assetType: PolymeshPrimitivesAssetAssetType; } - /** @name PalletAssetAssetOwnershipRelation (670) */ + /** @name PalletAssetAssetOwnershipRelation (672) */ interface PalletAssetAssetOwnershipRelation extends Enum { readonly isNotOwned: boolean; readonly isTickerOwned: boolean; @@ -6826,7 +6977,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'NotOwned' | 'TickerOwned' | 'AssetOwned'; } - /** @name PalletAssetError (676) */ + /** @name PalletAssetError (678) */ interface PalletAssetError extends Enum { readonly isUnauthorized: boolean; readonly isAssetAlreadyCreated: boolean; @@ -6865,6 +7016,7 @@ declare module '@polkadot/types/lookup' { readonly isIncompatibleAssetTypeUpdate: boolean; readonly isAssetMetadataKeyBelongsToNFTCollection: boolean; readonly isAssetMetadataValueIsEmpty: boolean; + readonly isNumberOfAssetMediatorsExceeded: boolean; readonly type: | 'Unauthorized' | 'AssetAlreadyCreated' @@ -6902,10 +7054,11 @@ declare module '@polkadot/types/lookup' { | 'UnexpectedNonFungibleToken' | 'IncompatibleAssetTypeUpdate' | 'AssetMetadataKeyBelongsToNFTCollection' - | 'AssetMetadataValueIsEmpty'; + | 'AssetMetadataValueIsEmpty' + | 'NumberOfAssetMediatorsExceeded'; } - /** @name PalletCorporateActionsDistributionError (679) */ + /** @name PalletCorporateActionsDistributionError (681) */ interface PalletCorporateActionsDistributionError extends Enum { readonly isCaNotBenefit: boolean; readonly isAlreadyExists: boolean; @@ -6940,14 +7093,14 @@ declare module '@polkadot/types/lookup' { | 'DistributionPerShareIsZero'; } - /** @name PolymeshCommonUtilitiesCheckpointNextCheckpoints (683) */ + /** @name PolymeshCommonUtilitiesCheckpointNextCheckpoints (685) */ interface PolymeshCommonUtilitiesCheckpointNextCheckpoints extends Struct { readonly nextAt: u64; readonly totalPending: u64; readonly schedules: BTreeMap; } - /** @name PalletAssetCheckpointError (689) */ + /** @name PalletAssetCheckpointError (691) */ interface PalletAssetCheckpointError extends Enum { readonly isNoSuchSchedule: boolean; readonly isScheduleNotRemovable: boolean; @@ -6964,13 +7117,13 @@ declare module '@polkadot/types/lookup' { | 'ScheduleHasExpiredCheckpoints'; } - /** @name PolymeshPrimitivesComplianceManagerAssetCompliance (690) */ + /** @name PolymeshPrimitivesComplianceManagerAssetCompliance (692) */ interface PolymeshPrimitivesComplianceManagerAssetCompliance extends Struct { readonly paused: bool; readonly requirements: Vec; } - /** @name PalletComplianceManagerError (692) */ + /** @name PalletComplianceManagerError (694) */ interface PalletComplianceManagerError extends Enum { readonly isUnauthorized: boolean; readonly isDidNotExist: boolean; @@ -6989,7 +7142,7 @@ declare module '@polkadot/types/lookup' { | 'WeightLimitExceeded'; } - /** @name PalletCorporateActionsError (695) */ + /** @name PalletCorporateActionsError (697) */ interface PalletCorporateActionsError extends Enum { readonly isDetailsTooLong: boolean; readonly isDuplicateDidTax: boolean; @@ -7016,7 +7169,7 @@ declare module '@polkadot/types/lookup' { | 'NotTargetedByCA'; } - /** @name PalletCorporateActionsBallotError (697) */ + /** @name PalletCorporateActionsBallotError (699) */ interface PalletCorporateActionsBallotError extends Enum { readonly isCaNotNotice: boolean; readonly isAlreadyExists: boolean; @@ -7049,13 +7202,13 @@ declare module '@polkadot/types/lookup' { | 'RcvNotAllowed'; } - /** @name PalletPermissionsError (698) */ + /** @name PalletPermissionsError (700) */ interface PalletPermissionsError extends Enum { readonly isUnauthorizedCaller: boolean; readonly type: 'UnauthorizedCaller'; } - /** @name PalletPipsPipsMetadata (699) */ + /** @name PalletPipsPipsMetadata (701) */ interface PalletPipsPipsMetadata extends Struct { readonly id: u32; readonly url: Option; @@ -7065,20 +7218,20 @@ declare module '@polkadot/types/lookup' { readonly expiry: PolymeshCommonUtilitiesMaybeBlock; } - /** @name PalletPipsDepositInfo (701) */ + /** @name PalletPipsDepositInfo (703) */ interface PalletPipsDepositInfo extends Struct { readonly owner: AccountId32; readonly amount: u128; } - /** @name PalletPipsPip (702) */ + /** @name PalletPipsPip (704) */ interface PalletPipsPip extends Struct { readonly id: u32; readonly proposal: Call; readonly proposer: PalletPipsProposer; } - /** @name PalletPipsVotingResult (703) */ + /** @name PalletPipsVotingResult (705) */ interface PalletPipsVotingResult extends Struct { readonly ayesCount: u32; readonly ayesStake: u128; @@ -7086,17 +7239,17 @@ declare module '@polkadot/types/lookup' { readonly naysStake: u128; } - /** @name PalletPipsVote (704) */ + /** @name PalletPipsVote (706) */ interface PalletPipsVote extends ITuple<[bool, u128]> {} - /** @name PalletPipsSnapshotMetadata (705) */ + /** @name PalletPipsSnapshotMetadata (707) */ interface PalletPipsSnapshotMetadata extends Struct { readonly createdAt: u32; readonly madeBy: AccountId32; readonly id: u32; } - /** @name PalletPipsError (707) */ + /** @name PalletPipsError (709) */ interface PalletPipsError extends Enum { readonly isRescheduleNotByReleaseCoordinator: boolean; readonly isNotFromCommunity: boolean; @@ -7137,7 +7290,7 @@ declare module '@polkadot/types/lookup' { | 'ProposalNotInScheduledState'; } - /** @name PalletPortfolioError (715) */ + /** @name PalletPortfolioError (717) */ interface PalletPortfolioError extends Enum { readonly isPortfolioDoesNotExist: boolean; readonly isInsufficientPortfolioBalance: boolean; @@ -7176,7 +7329,7 @@ declare module '@polkadot/types/lookup' { | 'MissingOwnersPermission'; } - /** @name PalletProtocolFeeError (716) */ + /** @name PalletProtocolFeeError (718) */ interface PalletProtocolFeeError extends Enum { readonly isInsufficientAccountBalance: boolean; readonly isUnHandledImbalances: boolean; @@ -7187,7 +7340,7 @@ declare module '@polkadot/types/lookup' { | 'InsufficientSubsidyBalance'; } - /** @name PalletSchedulerScheduled (719) */ + /** @name PalletSchedulerScheduled (721) */ interface PalletSchedulerScheduled extends Struct { readonly maybeId: Option; readonly priority: u8; @@ -7196,7 +7349,7 @@ declare module '@polkadot/types/lookup' { readonly origin: PolymeshRuntimeDevelopRuntimeOriginCaller; } - /** @name FrameSupportPreimagesBounded (720) */ + /** @name FrameSupportPreimagesBounded (722) */ interface FrameSupportPreimagesBounded extends Enum { readonly isLegacy: boolean; readonly asLegacy: { @@ -7212,7 +7365,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Legacy' | 'Inline' | 'Lookup'; } - /** @name PalletSchedulerError (723) */ + /** @name PalletSchedulerError (725) */ interface PalletSchedulerError extends Enum { readonly isFailedToSchedule: boolean; readonly isNotFound: boolean; @@ -7227,13 +7380,13 @@ declare module '@polkadot/types/lookup' { | 'Named'; } - /** @name PolymeshPrimitivesSettlementVenue (724) */ + /** @name PolymeshPrimitivesSettlementVenue (726) */ interface PolymeshPrimitivesSettlementVenue extends Struct { readonly creator: PolymeshPrimitivesIdentityId; readonly venueType: PolymeshPrimitivesSettlementVenueType; } - /** @name PolymeshPrimitivesSettlementInstruction (728) */ + /** @name PolymeshPrimitivesSettlementInstruction (730) */ interface PolymeshPrimitivesSettlementInstruction extends Struct { readonly instructionId: u64; readonly venueId: u64; @@ -7243,7 +7396,7 @@ declare module '@polkadot/types/lookup' { readonly valueDate: Option; } - /** @name PolymeshPrimitivesSettlementLegStatus (730) */ + /** @name PolymeshPrimitivesSettlementLegStatus (732) */ interface PolymeshPrimitivesSettlementLegStatus extends Enum { readonly isPendingTokenLock: boolean; readonly isExecutionPending: boolean; @@ -7252,7 +7405,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'PendingTokenLock' | 'ExecutionPending' | 'ExecutionToBeSkipped'; } - /** @name PolymeshPrimitivesSettlementAffirmationStatus (732) */ + /** @name PolymeshPrimitivesSettlementAffirmationStatus (734) */ interface PolymeshPrimitivesSettlementAffirmationStatus extends Enum { readonly isUnknown: boolean; readonly isPending: boolean; @@ -7260,7 +7413,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Unknown' | 'Pending' | 'Affirmed'; } - /** @name PolymeshPrimitivesSettlementInstructionStatus (736) */ + /** @name PolymeshPrimitivesSettlementInstructionStatus (738) */ interface PolymeshPrimitivesSettlementInstructionStatus extends Enum { readonly isUnknown: boolean; readonly isPending: boolean; @@ -7272,7 +7425,18 @@ declare module '@polkadot/types/lookup' { readonly type: 'Unknown' | 'Pending' | 'Failed' | 'Success' | 'Rejected'; } - /** @name PalletSettlementError (737) */ + /** @name PolymeshPrimitivesSettlementMediatorAffirmationStatus (740) */ + interface PolymeshPrimitivesSettlementMediatorAffirmationStatus extends Enum { + readonly isUnknown: boolean; + readonly isPending: boolean; + readonly isAffirmed: boolean; + readonly asAffirmed: { + readonly expiry: Option; + } & Struct; + readonly type: 'Unknown' | 'Pending' | 'Affirmed'; + } + + /** @name PalletSettlementError (741) */ interface PalletSettlementError extends Enum { readonly isInvalidVenue: boolean; readonly isUnauthorized: boolean; @@ -7314,6 +7478,9 @@ declare module '@polkadot/types/lookup' { readonly isMultipleReceiptsForOneLeg: boolean; readonly isUnexpectedLegStatus: boolean; readonly isNumberOfVenueSignersExceeded: boolean; + readonly isCallerIsNotAMediator: boolean; + readonly isInvalidExpiryDate: boolean; + readonly isMediatorAffirmationExpired: boolean; readonly type: | 'InvalidVenue' | 'Unauthorized' @@ -7354,22 +7521,25 @@ declare module '@polkadot/types/lookup' { | 'ReceiptInstructionIdMissmatch' | 'MultipleReceiptsForOneLeg' | 'UnexpectedLegStatus' - | 'NumberOfVenueSignersExceeded'; + | 'NumberOfVenueSignersExceeded' + | 'CallerIsNotAMediator' + | 'InvalidExpiryDate' + | 'MediatorAffirmationExpired'; } - /** @name PolymeshPrimitivesStatisticsStat1stKey (740) */ + /** @name PolymeshPrimitivesStatisticsStat1stKey (744) */ interface PolymeshPrimitivesStatisticsStat1stKey extends Struct { readonly asset: PolymeshPrimitivesStatisticsAssetScope; readonly statType: PolymeshPrimitivesStatisticsStatType; } - /** @name PolymeshPrimitivesTransferComplianceAssetTransferCompliance (741) */ + /** @name PolymeshPrimitivesTransferComplianceAssetTransferCompliance (745) */ interface PolymeshPrimitivesTransferComplianceAssetTransferCompliance extends Struct { readonly paused: bool; readonly requirements: BTreeSet; } - /** @name PalletStatisticsError (745) */ + /** @name PalletStatisticsError (749) */ interface PalletStatisticsError extends Enum { readonly isInvalidTransfer: boolean; readonly isStatTypeMissing: boolean; @@ -7388,7 +7558,7 @@ declare module '@polkadot/types/lookup' { | 'WeightLimitExceeded'; } - /** @name PalletStoError (747) */ + /** @name PalletStoError (751) */ interface PalletStoError extends Enum { readonly isUnauthorized: boolean; readonly isOverflow: boolean; @@ -7417,14 +7587,14 @@ declare module '@polkadot/types/lookup' { | 'InvestmentAmountTooLow'; } - /** @name PalletTreasuryError (748) */ + /** @name PalletTreasuryError (752) */ interface PalletTreasuryError extends Enum { readonly isInsufficientBalance: boolean; readonly isInvalidIdentity: boolean; readonly type: 'InsufficientBalance' | 'InvalidIdentity'; } - /** @name PalletUtilityError (749) */ + /** @name PalletUtilityError (753) */ interface PalletUtilityError extends Enum { readonly isTooManyCalls: boolean; readonly isInvalidSignature: boolean; @@ -7439,14 +7609,14 @@ declare module '@polkadot/types/lookup' { | 'UnableToDeriveAccountId'; } - /** @name PalletBaseError (750) */ + /** @name PalletBaseError (754) */ interface PalletBaseError extends Enum { readonly isTooLong: boolean; readonly isCounterOverflow: boolean; readonly type: 'TooLong' | 'CounterOverflow'; } - /** @name PalletExternalAgentsError (752) */ + /** @name PalletExternalAgentsError (756) */ interface PalletExternalAgentsError extends Enum { readonly isNoSuchAG: boolean; readonly isUnauthorizedAgent: boolean; @@ -7463,13 +7633,13 @@ declare module '@polkadot/types/lookup' { | 'SecondaryKeyNotAuthorizedForAsset'; } - /** @name PalletRelayerSubsidy (753) */ + /** @name PalletRelayerSubsidy (757) */ interface PalletRelayerSubsidy extends Struct { readonly payingKey: AccountId32; readonly remaining: u128; } - /** @name PalletRelayerError (754) */ + /** @name PalletRelayerError (758) */ interface PalletRelayerError extends Enum { readonly isUserKeyCddMissing: boolean; readonly isPayingKeyCddMissing: boolean; @@ -7488,7 +7658,7 @@ declare module '@polkadot/types/lookup' { | 'Overflow'; } - /** @name PalletContractsWasmPrefabWasmModule (756) */ + /** @name PalletContractsWasmPrefabWasmModule (760) */ interface PalletContractsWasmPrefabWasmModule extends Struct { readonly instructionWeightsVersion: Compact; readonly initial: Compact; @@ -7497,14 +7667,14 @@ declare module '@polkadot/types/lookup' { readonly determinism: PalletContractsWasmDeterminism; } - /** @name PalletContractsWasmOwnerInfo (758) */ + /** @name PalletContractsWasmOwnerInfo (762) */ interface PalletContractsWasmOwnerInfo extends Struct { readonly owner: AccountId32; readonly deposit: Compact; readonly refcount: Compact; } - /** @name PalletContractsStorageContractInfo (759) */ + /** @name PalletContractsStorageContractInfo (763) */ interface PalletContractsStorageContractInfo extends Struct { readonly trieId: Bytes; readonly depositAccount: AccountId32; @@ -7516,19 +7686,19 @@ declare module '@polkadot/types/lookup' { readonly storageBaseDeposit: u128; } - /** @name PalletContractsStorageDeletedContract (762) */ + /** @name PalletContractsStorageDeletedContract (766) */ interface PalletContractsStorageDeletedContract extends Struct { readonly trieId: Bytes; } - /** @name PalletContractsSchedule (764) */ + /** @name PalletContractsSchedule (768) */ interface PalletContractsSchedule extends Struct { readonly limits: PalletContractsScheduleLimits; readonly instructionWeights: PalletContractsScheduleInstructionWeights; readonly hostFnWeights: PalletContractsScheduleHostFnWeights; } - /** @name PalletContractsScheduleLimits (765) */ + /** @name PalletContractsScheduleLimits (769) */ interface PalletContractsScheduleLimits extends Struct { readonly eventTopics: u32; readonly globals: u32; @@ -7541,7 +7711,7 @@ declare module '@polkadot/types/lookup' { readonly payloadLen: u32; } - /** @name PalletContractsScheduleInstructionWeights (766) */ + /** @name PalletContractsScheduleInstructionWeights (770) */ interface PalletContractsScheduleInstructionWeights extends Struct { readonly version: u32; readonly fallback: u32; @@ -7599,7 +7769,7 @@ declare module '@polkadot/types/lookup' { readonly i64rotr: u32; } - /** @name PalletContractsScheduleHostFnWeights (767) */ + /** @name PalletContractsScheduleHostFnWeights (771) */ interface PalletContractsScheduleHostFnWeights extends Struct { readonly caller: SpWeightsWeightV2Weight; readonly isContract: SpWeightsWeightV2Weight; @@ -7662,7 +7832,7 @@ declare module '@polkadot/types/lookup' { readonly instantiationNonce: SpWeightsWeightV2Weight; } - /** @name PalletContractsError (768) */ + /** @name PalletContractsError (772) */ interface PalletContractsError extends Enum { readonly isInvalidScheduleVersion: boolean; readonly isInvalidCallFlags: boolean; @@ -7723,7 +7893,7 @@ declare module '@polkadot/types/lookup' { | 'Indeterministic'; } - /** @name PolymeshContractsError (770) */ + /** @name PolymeshContractsError (774) */ interface PolymeshContractsError extends Enum { readonly isInvalidFuncId: boolean; readonly isInvalidRuntimeCall: boolean; @@ -7752,7 +7922,7 @@ declare module '@polkadot/types/lookup' { | 'NoUpgradesSupported'; } - /** @name PalletPreimageRequestStatus (771) */ + /** @name PalletPreimageRequestStatus (775) */ interface PalletPreimageRequestStatus extends Enum { readonly isUnrequested: boolean; readonly asUnrequested: { @@ -7768,7 +7938,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Unrequested' | 'Requested'; } - /** @name PalletPreimageError (775) */ + /** @name PalletPreimageError (779) */ interface PalletPreimageError extends Enum { readonly isTooBig: boolean; readonly isAlreadyNoted: boolean; @@ -7785,13 +7955,13 @@ declare module '@polkadot/types/lookup' { | 'NotRequested'; } - /** @name PolymeshPrimitivesNftNftCollection (776) */ + /** @name PolymeshPrimitivesNftNftCollection (780) */ interface PolymeshPrimitivesNftNftCollection extends Struct { readonly id: u64; readonly ticker: PolymeshPrimitivesTicker; } - /** @name PalletNftError (781) */ + /** @name PalletNftError (785) */ interface PalletNftError extends Enum { readonly isBalanceOverflow: boolean; readonly isBalanceUnderflow: boolean; @@ -7840,30 +8010,29 @@ declare module '@polkadot/types/lookup' { | 'SupplyUnderflow'; } - /** @name PalletTestUtilsError (782) */ + /** @name PalletTestUtilsError (786) */ type PalletTestUtilsError = Null; - /** @name PalletConfidentialAssetConfidentialAssetDetails (785) */ + /** @name PalletConfidentialAssetConfidentialAssetDetails (789) */ interface PalletConfidentialAssetConfidentialAssetDetails extends Struct { readonly totalSupply: u128; readonly ownerDid: PolymeshPrimitivesIdentityId; readonly data: Bytes; - readonly ticker: Option; } - /** @name PalletConfidentialAssetTransactionLegState (788) */ + /** @name PalletConfidentialAssetTransactionLegState (792) */ interface PalletConfidentialAssetTransactionLegState extends Struct { readonly assetState: BTreeMap; } - /** @name PalletConfidentialAssetTransactionLegAssetState (790) */ + /** @name PalletConfidentialAssetTransactionLegAssetState (794) */ interface PalletConfidentialAssetTransactionLegAssetState extends Struct { readonly senderInitBalance: ConfidentialAssetsElgamalCipherText; readonly senderAmount: ConfidentialAssetsElgamalCipherText; readonly receiverAmount: ConfidentialAssetsElgamalCipherText; } - /** @name PalletConfidentialAssetLegParty (796) */ + /** @name PalletConfidentialAssetLegParty (800) */ interface PalletConfidentialAssetLegParty extends Enum { readonly isSender: boolean; readonly isReceiver: boolean; @@ -7871,7 +8040,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Sender' | 'Receiver' | 'Mediator'; } - /** @name PalletConfidentialAssetTransactionStatus (797) */ + /** @name PalletConfidentialAssetTransactionStatus (801) */ interface PalletConfidentialAssetTransactionStatus extends Enum { readonly isPending: boolean; readonly isExecuted: boolean; @@ -7881,96 +8050,106 @@ declare module '@polkadot/types/lookup' { readonly type: 'Pending' | 'Executed' | 'Rejected'; } - /** @name PalletConfidentialAssetTransaction (798) */ + /** @name PalletConfidentialAssetTransaction (802) */ interface PalletConfidentialAssetTransaction extends Struct { readonly venueId: u64; readonly createdAt: u32; readonly memo: Option; } - /** @name PalletConfidentialAssetError (799) */ + /** @name PalletConfidentialAssetError (803) */ interface PalletConfidentialAssetError extends Enum { - readonly isAuditorAccountMissing: boolean; + readonly isMediatorIdentityInvalid: boolean; readonly isConfidentialAccountMissing: boolean; - readonly isRequiredAssetAuditorMissing: boolean; + readonly isAccountAssetFrozen: boolean; + readonly isAccountAssetAlreadyFrozen: boolean; + readonly isAccountAssetNotFrozen: boolean; + readonly isAssetFrozen: boolean; + readonly isAlreadyFrozen: boolean; + readonly isNotFrozen: boolean; readonly isNotEnoughAssetAuditors: boolean; readonly isTooManyAuditors: boolean; readonly isTooManyMediators: boolean; - readonly isAuditorAccountAlreadyCreated: boolean; readonly isConfidentialAccountAlreadyCreated: boolean; - readonly isConfidentialAccountAlreadyInitialized: boolean; - readonly isInvalidConfidentialAccount: boolean; - readonly isInvalidAuditorAccount: boolean; readonly isTotalSupplyAboveConfidentialBalanceLimit: boolean; - readonly isUnauthorized: boolean; + readonly isNotAssetOwner: boolean; + readonly isNotVenueOwner: boolean; + readonly isNotAccountOwner: boolean; + readonly isCallerNotPartyOfTransaction: boolean; readonly isUnknownConfidentialAsset: boolean; readonly isConfidentialAssetAlreadyCreated: boolean; readonly isTotalSupplyOverLimit: boolean; - readonly isTotalSupplyMustBePositive: boolean; + readonly isAmountMustBeNonZero: boolean; + readonly isBurnAmountLargerThenTotalSupply: boolean; readonly isInvalidSenderProof: boolean; readonly isInvalidVenue: boolean; readonly isTransactionNotAffirmed: boolean; + readonly isSenderMustAffirmFirst: boolean; readonly isTransactionAlreadyAffirmed: boolean; readonly isUnauthorizedVenue: boolean; - readonly isTransactionFailed: boolean; readonly isLegCountTooSmall: boolean; readonly isUnknownTransaction: boolean; readonly isUnknownTransactionLeg: boolean; readonly isTransactionNoLegs: boolean; readonly type: - | 'AuditorAccountMissing' + | 'MediatorIdentityInvalid' | 'ConfidentialAccountMissing' - | 'RequiredAssetAuditorMissing' + | 'AccountAssetFrozen' + | 'AccountAssetAlreadyFrozen' + | 'AccountAssetNotFrozen' + | 'AssetFrozen' + | 'AlreadyFrozen' + | 'NotFrozen' | 'NotEnoughAssetAuditors' | 'TooManyAuditors' | 'TooManyMediators' - | 'AuditorAccountAlreadyCreated' | 'ConfidentialAccountAlreadyCreated' - | 'ConfidentialAccountAlreadyInitialized' - | 'InvalidConfidentialAccount' - | 'InvalidAuditorAccount' | 'TotalSupplyAboveConfidentialBalanceLimit' - | 'Unauthorized' + | 'NotAssetOwner' + | 'NotVenueOwner' + | 'NotAccountOwner' + | 'CallerNotPartyOfTransaction' | 'UnknownConfidentialAsset' | 'ConfidentialAssetAlreadyCreated' | 'TotalSupplyOverLimit' - | 'TotalSupplyMustBePositive' + | 'AmountMustBeNonZero' + | 'BurnAmountLargerThenTotalSupply' | 'InvalidSenderProof' | 'InvalidVenue' | 'TransactionNotAffirmed' + | 'SenderMustAffirmFirst' | 'TransactionAlreadyAffirmed' | 'UnauthorizedVenue' - | 'TransactionFailed' | 'LegCountTooSmall' | 'UnknownTransaction' | 'UnknownTransactionLeg' | 'TransactionNoLegs'; } - /** @name FrameSystemExtensionsCheckSpecVersion (802) */ + /** @name FrameSystemExtensionsCheckSpecVersion (806) */ type FrameSystemExtensionsCheckSpecVersion = Null; - /** @name FrameSystemExtensionsCheckTxVersion (803) */ + /** @name FrameSystemExtensionsCheckTxVersion (807) */ type FrameSystemExtensionsCheckTxVersion = Null; - /** @name FrameSystemExtensionsCheckGenesis (804) */ + /** @name FrameSystemExtensionsCheckGenesis (808) */ type FrameSystemExtensionsCheckGenesis = Null; - /** @name FrameSystemExtensionsCheckNonce (807) */ + /** @name FrameSystemExtensionsCheckNonce (811) */ interface FrameSystemExtensionsCheckNonce extends Compact {} - /** @name PolymeshExtensionsCheckWeight (808) */ + /** @name PolymeshExtensionsCheckWeight (812) */ interface PolymeshExtensionsCheckWeight extends FrameSystemExtensionsCheckWeight {} - /** @name FrameSystemExtensionsCheckWeight (809) */ + /** @name FrameSystemExtensionsCheckWeight (813) */ type FrameSystemExtensionsCheckWeight = Null; - /** @name PalletTransactionPaymentChargeTransactionPayment (810) */ + /** @name PalletTransactionPaymentChargeTransactionPayment (814) */ interface PalletTransactionPaymentChargeTransactionPayment extends Compact {} - /** @name PalletPermissionsStoreCallMetadata (811) */ + /** @name PalletPermissionsStoreCallMetadata (815) */ type PalletPermissionsStoreCallMetadata = Null; - /** @name PolymeshRuntimeDevelopRuntime (812) */ + /** @name PolymeshRuntimeDevelopRuntime (816) */ type PolymeshRuntimeDevelopRuntime = Null; } // declare module From ce98a27e808082e4cb034a857efc9b77c452cc99 Mon Sep 17 00:00:00 2001 From: Toms Veidemanis Date: Tue, 20 Feb 2024 01:17:56 +0700 Subject: [PATCH 093/120] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20getTransactions?= =?UTF-8?q?=20for=20ConfidentialAccount?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../confidential/ConfidentialAccount/index.ts | 58 +++++++++- .../__tests__/ConfidentialAccount/index.ts | 66 ++++++++++- src/middleware/__tests__/queries.ts | 106 ++++++++++++++++++ src/middleware/queries.ts | 63 +++++++++++ 4 files changed, 288 insertions(+), 5 deletions(-) diff --git a/src/api/entities/confidential/ConfidentialAccount/index.ts b/src/api/entities/confidential/ConfidentialAccount/index.ts index 0d743d5454..ee351fe453 100644 --- a/src/api/entities/confidential/ConfidentialAccount/index.ts +++ b/src/api/entities/confidential/ConfidentialAccount/index.ts @@ -3,8 +3,19 @@ import { ConfidentialAssetsElgamalCipherText } from '@polkadot/types/lookup'; import type { Option, U8aFixed } from '@polkadot/types-codec'; import BigNumber from 'bignumber.js'; -import { ConfidentialAsset, Context, Entity, Identity, PolymeshError } from '~/internal'; -import { confidentialAssetsByHolderQuery } from '~/middleware/queries'; +import { + ConfidentialAsset, + ConfidentialTransaction, + Context, + Entity, + Identity, + PolymeshError, +} from '~/internal'; +import { + confidentialAssetsByHolderQuery, + ConfidentialTransactionsByConfidentialAccountArgs, + getConfidentialTransactionsByConfidentialAccountQuery, +} from '~/middleware/queries'; import { Query } from '~/middleware/types'; import { ConfidentialAssetBalance, ErrorCode, ResultSet } from '~/types'; import { Ensured } from '~/types/utils'; @@ -259,4 +270,47 @@ export class ConfidentialAccount extends Entity { count, }; } + + /** + * Retrieve the ConfidentialTransactions associated to this Account + * + * @note uses the middlewareV2 + * @param filters.direction - the direction of the transaction (Incoming/Outgoing/All) + * @param filters.status - the transaction status (Created/Executed/Rejected) + * @param filters.size - page size + * @param filters.start - page offset + */ + public async getTransactions( + filters: Omit & { + size?: BigNumber; + start?: BigNumber; + } + ): Promise> { + const { context, publicKey } = this; + const { size, start, status, direction } = filters; + + const { + data: { + confidentialTransactions: { nodes, totalCount }, + }, + } = await context.queryMiddleware>( + getConfidentialTransactionsByConfidentialAccountQuery( + { accountId: publicKey, status, direction }, + size, + start + ) + ); + + const data = nodes.map( + ({ id }) => new ConfidentialTransaction({ id: new BigNumber(id) }, context) + ); + const count = new BigNumber(totalCount); + const next = calculateNextKey(count, data.length, start); + + return { + data, + next, + count, + }; + } } diff --git a/src/api/entities/confidential/__tests__/ConfidentialAccount/index.ts b/src/api/entities/confidential/__tests__/ConfidentialAccount/index.ts index 24700fc6f3..698f63e48a 100644 --- a/src/api/entities/confidential/__tests__/ConfidentialAccount/index.ts +++ b/src/api/entities/confidential/__tests__/ConfidentialAccount/index.ts @@ -1,5 +1,17 @@ -import { ConfidentialAccount, ConfidentialAsset, Context, Entity, PolymeshError } from '~/internal'; -import { confidentialAssetsByHolderQuery } from '~/middleware/queries'; +import BigNumber from 'bignumber.js'; + +import { + ConfidentialAccount, + ConfidentialAsset, + ConfidentialTransaction, + Context, + Entity, + PolymeshError, +} from '~/internal'; +import { + confidentialAssetsByHolderQuery, + getConfidentialTransactionsByConfidentialAccountQuery, +} from '~/middleware/queries'; import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; import { Mocked } from '~/testUtils/types'; import { ErrorCode } from '~/types'; @@ -231,7 +243,7 @@ describe('ConfidentialAccount class', () => { }); describe('method: getHeldAssets', () => { - it('should return an array of ConfidentialAssets held by the ConfidentialAccount', async () => { + it('should return a paginated list of ConfidentialAssets held by the ConfidentialAccount', async () => { const assetId = '76702175d8cbe3a55a19734433351e25'; const asset = entityMockUtils.getConfidentialAssetInstance({ id: assetId }); @@ -264,4 +276,52 @@ describe('ConfidentialAccount class', () => { expect(result.next).toBeNull(); }); }); + + describe('method: getTransactions', () => { + it('should return a paginated list of ConfidentialTransactions where the ConfidentialAccount is involved', async () => { + const txId = '1'; + const mockTransaction = entityMockUtils.getConfidentialTransactionInstance({ + id: new BigNumber(txId), + }); + + dsMockUtils.createApolloQueryMock( + getConfidentialTransactionsByConfidentialAccountQuery({ + accountId: publicKey, + direction: 'All', + }), + { + confidentialTransactions: { + nodes: [ + { + id: txId, + }, + ], + totalCount: 1, + }, + } + ); + + let result = await account.getTransactions({ direction: 'All' }); + + expect(result.data[0].id).toEqual(mockTransaction.id); + expect(result.data[0]).toBeInstanceOf(ConfidentialTransaction); + + dsMockUtils.createApolloQueryMock( + getConfidentialTransactionsByConfidentialAccountQuery({ + accountId: publicKey, + direction: 'All', + }), + { + confidentialTransactions: { + nodes: [], + totalCount: 0, + }, + } + ); + + result = await account.getTransactions({ direction: 'All' }); + expect(result.data).toEqual([]); + expect(result.next).toBeNull(); + }); + }); }); diff --git a/src/middleware/__tests__/queries.ts b/src/middleware/__tests__/queries.ts index 5b4ea17fae..686e64ab62 100644 --- a/src/middleware/__tests__/queries.ts +++ b/src/middleware/__tests__/queries.ts @@ -16,6 +16,7 @@ import { eventsByArgs, extrinsicByHash, extrinsicsByArgs, + getConfidentialTransactionsByConfidentialAccountQuery, heartbeatQuery, instructionsByDidQuery, instructionsQuery, @@ -41,6 +42,7 @@ import { AuthTypeEnum, CallIdEnum, ClaimTypeEnum, + ConfidentialTransactionStatusEnum, EventIdEnum, ModuleIdEnum, } from '~/middleware/types'; @@ -636,3 +638,107 @@ describe('confidentialAssetQuery', () => { expect(result.variables).toEqual(variables); }); }); + +describe('getConfidentialTransactionsByConfidentialAccountQuery', () => { + it('should return correct query and variables when direction is provided and start, status or size is not', () => { + let result = getConfidentialTransactionsByConfidentialAccountQuery({ + accountId: '1', + direction: 'All', + }); + + expect(result.query).toBeDefined(); + expect(result.variables).toEqual({ + size: undefined, + start: undefined, + accountId: '1', + }); + + result = getConfidentialTransactionsByConfidentialAccountQuery({ + accountId: '1', + direction: 'Incoming', + }); + + expect(result.query).toBeDefined(); + expect(result.variables).toEqual({ + size: undefined, + start: undefined, + accountId: '1', + }); + + result = getConfidentialTransactionsByConfidentialAccountQuery({ + accountId: '1', + direction: 'Outgoing', + }); + + expect(result.query).toBeDefined(); + expect(result.variables).toEqual({ + size: undefined, + start: undefined, + accountId: '1', + }); + }); + + it('should return correct query and variables when status is provided', () => { + let result = getConfidentialTransactionsByConfidentialAccountQuery({ + accountId: '1', + direction: 'All', + status: ConfidentialTransactionStatusEnum.Created, + }); + + expect(result.query).toBeDefined(); + expect(result.variables).toEqual({ + size: undefined, + start: undefined, + accountId: '1', + status: ConfidentialTransactionStatusEnum.Created, + }); + + result = getConfidentialTransactionsByConfidentialAccountQuery({ + accountId: '1', + direction: 'All', + status: ConfidentialTransactionStatusEnum.Rejected, + }); + + expect(result.query).toBeDefined(); + expect(result.variables).toEqual({ + size: undefined, + start: undefined, + accountId: '1', + status: ConfidentialTransactionStatusEnum.Rejected, + }); + + result = getConfidentialTransactionsByConfidentialAccountQuery({ + accountId: '1', + direction: 'All', + status: ConfidentialTransactionStatusEnum.Executed, + }); + + expect(result.query).toBeDefined(); + expect(result.variables).toEqual({ + size: undefined, + start: undefined, + accountId: '1', + status: ConfidentialTransactionStatusEnum.Executed, + }); + }); + + it('should return correct query and variables when size, start are provided', () => { + const size = new BigNumber(10); + const start = new BigNumber(0); + const result = getConfidentialTransactionsByConfidentialAccountQuery( + { + accountId: '1', + direction: 'All', + }, + size, + start + ); + + expect(result.query).toBeDefined(); + expect(result.variables).toEqual({ + size: size.toNumber(), + start: start.toNumber(), + accountId: '1', + }); + }); +}); diff --git a/src/middleware/queries.ts b/src/middleware/queries.ts index 9e196eba10..b44a8fe95f 100644 --- a/src/middleware/queries.ts +++ b/src/middleware/queries.ts @@ -18,6 +18,7 @@ import { ConfidentialAssetHistory, ConfidentialAssetHolder, ConfidentialAssetHoldersOrderBy, + ConfidentialTransactionStatusEnum, Distribution, DistributionPayment, Event, @@ -1733,3 +1734,65 @@ export function confidentialAssetQuery( variables, }; } + +export type ConfidentialTransactionsByConfidentialAccountArgs = { + accountId: string; + direction: 'Incoming' | 'Outgoing' | 'All'; + status?: ConfidentialTransactionStatusEnum; +}; + +/** + * @hidden + * + * Get Confidential Transactions where a ConfidentialAccount is involved + */ +export function getConfidentialTransactionsByConfidentialAccountQuery( + params: ConfidentialTransactionsByConfidentialAccountArgs, + size?: BigNumber, + start?: BigNumber +): QueryOptions< + PaginatedQueryArgs> +> { + const { status, accountId, direction } = params; + const filters = []; + + const args = ['$size: Int', '$start: Int', '$accountId: String!']; // Example adjustment + + if (status) { + args.push('$status: ConfidentialTransactionStatusEnum!'); + filters.push('status: { equalTo: $status }'); + } + + const legsFilters = []; + + if (direction === 'All' || direction === 'Incoming') { + legsFilters.push('{ receiverId: { equalTo: $accountId }}'); + } + if (direction === 'All' || direction === 'Outgoing') { + legsFilters.push('{ senderId: { equalTo: $accountId }}'); + } + + filters.push(`legs: { some: { or: [${legsFilters.join()}] } }`); + + const formattedArgs = `${args.join(', ')}`; + + const query = gql` + query ConfidentialTransactionsByConfidentialAccount(${formattedArgs}) { + confidentialTransactions( + filter: { ${filters.join(', ')} }, + first: $size, + offset: $start + ) { + nodes { + id + } + totalCount + } + } +`; + + return { + query, + variables: { size: size?.toNumber(), start: start?.toNumber(), accountId, status }, + }; +} From f3215a8000db445d69ba388ae5cae5ffbe404068 Mon Sep 17 00:00:00 2001 From: Toms Veidemanis Date: Thu, 22 Feb 2024 01:08:19 +0700 Subject: [PATCH 094/120] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20getTransactionHi?= =?UTF-8?q?story=20for=20ConfidentialAccount?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../confidential/ConfidentialAccount/index.ts | 62 ++++++++++++- .../confidential/ConfidentialAccount/types.ts | 11 ++- src/middleware/queries.ts | 88 +++++++++++++++++++ 3 files changed, 159 insertions(+), 2 deletions(-) diff --git a/src/api/entities/confidential/ConfidentialAccount/index.ts b/src/api/entities/confidential/ConfidentialAccount/index.ts index ee351fe453..4bf4b4c02c 100644 --- a/src/api/entities/confidential/ConfidentialAccount/index.ts +++ b/src/api/entities/confidential/ConfidentialAccount/index.ts @@ -12,12 +12,19 @@ import { PolymeshError, } from '~/internal'; import { + ConfidentialAssetHistoryByConfidentialAccountArgs, confidentialAssetsByHolderQuery, ConfidentialTransactionsByConfidentialAccountArgs, + getConfidentialAssetHistoryByConfidentialAccountQuery, getConfidentialTransactionsByConfidentialAccountQuery, } from '~/middleware/queries'; import { Query } from '~/middleware/types'; -import { ConfidentialAssetBalance, ErrorCode, ResultSet } from '~/types'; +import { + ConfidentialAssetBalance, + ConfidentialAssetHistoryEntry, + ErrorCode, + ResultSet, +} from '~/types'; import { Ensured } from '~/types/utils'; import { confidentialAccountToMeshPublicKey, @@ -313,4 +320,57 @@ export class ConfidentialAccount extends Entity { count, }; } + + /** + * Retrieve the ConfidentialTransactions associated to this Account + * + * @note uses the middlewareV2 + * @param filters.eventId - the type of transaction (AccountDepositIncoming/AccountDeposit/AccountWithdraw) + * @param filters.assetId - the assetId for which the transactions were made + * @param filters.size - page size + * @param filters.start - page offset + */ + public async getTransactionHistory( + filters: Omit & { + size?: BigNumber; + start?: BigNumber; + } + ): Promise> { + const { context, publicKey } = this; + const { size, start, ...rest } = filters; + + const { + data: { + confidentialAssetHistories: { nodes, totalCount }, + }, + } = await context.queryMiddleware>( + getConfidentialAssetHistoryByConfidentialAccountQuery( + { accountId: publicKey, ...rest }, + size, + start + ) + ); + + const data: ConfidentialAssetHistoryEntry[] = nodes.map( + ({ id, assetId, transactionId, amount, eventId }) => { + return { + id, + asset: new ConfidentialAsset({ id: assetId }, context), + ...(transactionId && { + transaction: new ConfidentialTransaction({ id: new BigNumber(transactionId) }, context), + }), + amount, + eventId, + }; + } + ); + const count = new BigNumber(totalCount); + const next = calculateNextKey(count, data.length, start); + + return { + data, + next, + count, + }; + } } diff --git a/src/api/entities/confidential/ConfidentialAccount/types.ts b/src/api/entities/confidential/ConfidentialAccount/types.ts index 162ab582bb..1e41f29cc7 100644 --- a/src/api/entities/confidential/ConfidentialAccount/types.ts +++ b/src/api/entities/confidential/ConfidentialAccount/types.ts @@ -1,4 +1,5 @@ -import { ConfidentialAccount, ConfidentialAsset } from '~/internal'; +import { ConfidentialAccount, ConfidentialAsset, ConfidentialTransaction } from '~/internal'; +import { EventIdEnum } from '~/types'; export interface ConfidentialAssetBalance { asset: ConfidentialAsset; @@ -15,3 +16,11 @@ export interface ApplyIncomingBalanceParams { */ asset: string | ConfidentialAsset; } + +export type ConfidentialAssetHistoryEntry = { + id: string; + asset: ConfidentialAsset; + transaction?: ConfidentialTransaction; + eventId: EventIdEnum; + amount: string; +}; diff --git a/src/middleware/queries.ts b/src/middleware/queries.ts index b44a8fe95f..a4a106900a 100644 --- a/src/middleware/queries.ts +++ b/src/middleware/queries.ts @@ -22,6 +22,7 @@ import { Distribution, DistributionPayment, Event, + EventIdEnum, EventsOrderBy, Extrinsic, ExtrinsicsOrderBy, @@ -1796,3 +1797,90 @@ export function getConfidentialTransactionsByConfidentialAccountQuery( variables: { size: size?.toNumber(), start: start?.toNumber(), accountId, status }, }; } + +export type ConfidentialAssetHistoryByConfidentialAccountArgs = { + accountId: string; + eventId?: + | EventIdEnum.AccountDepositIncoming + | EventIdEnum.AccountDeposit + | EventIdEnum.AccountWithdraw; + assetId?: string; +}; + +/** + * @hidden + */ +function createGetConfidentialAssetHistoryByConfidentialAccountQueryArgs( + variables: PaginatedQueryArgs +): { + args: string; + filter: string; + variables: PaginatedQueryArgs; +} { + const args = ['$size: Int, $start: Int']; + const filters = []; + const { assetId, eventId } = variables; + + args.push('$accountId: String!'); + filters.push('accountId: { equalTo: $accountId }'); + + if (assetId?.length) { + args.push('$assetId: String!'); + filters.push('assetId: { equalTo: $assetId }'); + } + if (eventId) { + args.push('$eventId: EventIdEnum!'); + filters.push('eventId: { equalTo: $eventId }'); + } + + return { + args: `(${args.join()})`, + filter: filters.length ? `filter: { ${filters.join()} }` : '', + variables, + }; +} + +/** + * @hidden + * + * Get ConfidentialAssetHistory where a ConfidentialAccount is involved + */ +export function getConfidentialAssetHistoryByConfidentialAccountQuery( + params: ConfidentialAssetHistoryByConfidentialAccountArgs, + size?: BigNumber, + start?: BigNumber +): QueryOptions> { + const { args, filter, variables } = + createGetConfidentialAssetHistoryByConfidentialAccountQueryArgs(params); + + const query = gql` + query ConfidentialAssetHistoryByConfidentialAccount${args} { + confidentialAssetHistories( + ${filter}, + first: $size, + offset: $start + ) { + nodes { + id + assetId + amount + eventId + eventIdx + memo + transactionId + createdBlock { + blockId + datetime + hash + } + } + totalCount + } + } +`; + + return { + query, + variables: { ...variables, size: size?.toNumber(), start: start?.toNumber() }, + }; +} From d52a5a65991deab1c1ec6b94c58f9d009d681aa6 Mon Sep 17 00:00:00 2001 From: Eric Richardson Date: Thu, 22 Feb 2024 11:17:18 -0500 Subject: [PATCH 095/120] =?UTF-8?q?test:=20=F0=9F=92=8D=20update=20applyIn?= =?UTF-8?q?comingBalance=20test?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/procedures/__tests__/applyIncomingAssetBalance.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/procedures/__tests__/applyIncomingAssetBalance.ts b/src/api/procedures/__tests__/applyIncomingAssetBalance.ts index c529bf2b69..1ce79e3f55 100644 --- a/src/api/procedures/__tests__/applyIncomingAssetBalance.ts +++ b/src/api/procedures/__tests__/applyIncomingAssetBalance.ts @@ -86,7 +86,7 @@ describe('applyIncomingAssetBalance procedure', () => { await expect( prepareApplyIncomingBalance.call(proc, { ...args, - account: entityMockUtils.getConfidentialAccountInstance({ + confidentialAccount: entityMockUtils.getConfidentialAccountInstance({ getIdentity: null, }), }) @@ -95,7 +95,7 @@ describe('applyIncomingAssetBalance procedure', () => { await expect( prepareApplyIncomingBalance.call(proc, { ...args, - account: entityMockUtils.getConfidentialAccountInstance({ + confidentialAccount: entityMockUtils.getConfidentialAccountInstance({ getIdentity: entityMockUtils.getIdentityInstance({ did: 'someRandomDid', }), From 7dd3e96a1767ac128eb2b646dc64eff4ecf50907 Mon Sep 17 00:00:00 2001 From: Toms Veidemanis Date: Fri, 23 Feb 2024 00:24:20 +0700 Subject: [PATCH 096/120] =?UTF-8?q?test:=20=F0=9F=92=8D=20add=20test=20for?= =?UTF-8?q?=20getTransactionHistory?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../confidential/ConfidentialAccount/index.ts | 15 ++- .../confidential/ConfidentialAccount/types.ts | 6 +- .../__tests__/ConfidentialAccount/index.ts | 98 ++++++++++++++++++- src/middleware/__tests__/queries.ts | 73 ++++++++++++++ src/middleware/queries.ts | 10 +- 5 files changed, 184 insertions(+), 18 deletions(-) diff --git a/src/api/entities/confidential/ConfidentialAccount/index.ts b/src/api/entities/confidential/ConfidentialAccount/index.ts index 4bf4b4c02c..712da4dbd0 100644 --- a/src/api/entities/confidential/ConfidentialAccount/index.ts +++ b/src/api/entities/confidential/ConfidentialAccount/index.ts @@ -30,9 +30,10 @@ import { confidentialAccountToMeshPublicKey, identityIdToString, meshConfidentialAssetToAssetId, + middlewareEventDetailsToEventIdentifier, serializeConfidentialAssetId, } from '~/utils/conversion'; -import { asConfidentialAsset, calculateNextKey } from '~/utils/internal'; +import { asConfidentialAsset, calculateNextKey, optionize } from '~/utils/internal'; /** * @hidden @@ -322,7 +323,7 @@ export class ConfidentialAccount extends Entity { } /** - * Retrieve the ConfidentialTransactions associated to this Account + * Retrieve the ConfidentialTransactionHistory associated to this Account * * @note uses the middlewareV2 * @param filters.eventId - the type of transaction (AccountDepositIncoming/AccountDeposit/AccountWithdraw) @@ -331,13 +332,13 @@ export class ConfidentialAccount extends Entity { * @param filters.start - page offset */ public async getTransactionHistory( - filters: Omit & { + filters?: Omit & { size?: BigNumber; start?: BigNumber; } ): Promise> { const { context, publicKey } = this; - const { size, start, ...rest } = filters; + const { size, start, ...rest } = filters ?? {}; const { data: { @@ -352,15 +353,13 @@ export class ConfidentialAccount extends Entity { ); const data: ConfidentialAssetHistoryEntry[] = nodes.map( - ({ id, assetId, transactionId, amount, eventId }) => { + ({ id, assetId, amount, eventId, createdBlock, eventIdx }) => { return { id, asset: new ConfidentialAsset({ id: assetId }, context), - ...(transactionId && { - transaction: new ConfidentialTransaction({ id: new BigNumber(transactionId) }, context), - }), amount, eventId, + createdAt: optionize(middlewareEventDetailsToEventIdentifier)(createdBlock, eventIdx), }; } ); diff --git a/src/api/entities/confidential/ConfidentialAccount/types.ts b/src/api/entities/confidential/ConfidentialAccount/types.ts index 1e41f29cc7..87edad9df2 100644 --- a/src/api/entities/confidential/ConfidentialAccount/types.ts +++ b/src/api/entities/confidential/ConfidentialAccount/types.ts @@ -1,5 +1,5 @@ -import { ConfidentialAccount, ConfidentialAsset, ConfidentialTransaction } from '~/internal'; -import { EventIdEnum } from '~/types'; +import { ConfidentialAccount, ConfidentialAsset } from '~/internal'; +import { EventIdentifier, EventIdEnum } from '~/types'; export interface ConfidentialAssetBalance { asset: ConfidentialAsset; @@ -20,7 +20,7 @@ export interface ApplyIncomingBalanceParams { export type ConfidentialAssetHistoryEntry = { id: string; asset: ConfidentialAsset; - transaction?: ConfidentialTransaction; eventId: EventIdEnum; amount: string; + createdAt: EventIdentifier | null; }; diff --git a/src/api/entities/confidential/__tests__/ConfidentialAccount/index.ts b/src/api/entities/confidential/__tests__/ConfidentialAccount/index.ts index 698f63e48a..1f08eef9f1 100644 --- a/src/api/entities/confidential/__tests__/ConfidentialAccount/index.ts +++ b/src/api/entities/confidential/__tests__/ConfidentialAccount/index.ts @@ -10,11 +10,12 @@ import { } from '~/internal'; import { confidentialAssetsByHolderQuery, + getConfidentialAssetHistoryByConfidentialAccountQuery, getConfidentialTransactionsByConfidentialAccountQuery, } from '~/middleware/queries'; import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; import { Mocked } from '~/testUtils/types'; -import { ErrorCode } from '~/types'; +import { ErrorCode, EventIdEnum } from '~/types'; import { tuple } from '~/types/utils'; import * as utilsConversionModule from '~/utils/conversion'; @@ -324,4 +325,99 @@ describe('ConfidentialAccount class', () => { expect(result.next).toBeNull(); }); }); + + describe('method: getTransactionHistory', () => { + const mockAsset = entityMockUtils.getConfidentialAssetInstance({ id: '1' }); + const blockNumber = new BigNumber(1234); + const blockDate = new Date('4/14/2020'); + const blockHash = 'someHash'; + const eventIdx = new BigNumber(1); + const fakeCreatedAt = { blockNumber, blockHash, blockDate, eventIndex: eventIdx }; + const mockData = { + id: 1, + assetId: mockAsset.toHuman(), + amount: '100000000000000000', + eventId: EventIdEnum.AccountDeposit, + memo: 'test', + createdBlock: { + blockId: blockNumber.toNumber(), + datetime: blockDate, + hash: blockHash, + }, + eventIdx: eventIdx.toNumber(), + }; + + it('should return a paginated list of transaction history for the ConfidentialAccount', async () => { + dsMockUtils.createApolloQueryMock( + getConfidentialAssetHistoryByConfidentialAccountQuery({ + accountId: publicKey, + }), + { + confidentialAssetHistories: { + nodes: [mockData], + totalCount: 1, + }, + } + ); + + const { + data: [historyEntry], + } = await account.getTransactionHistory({}); + + expect(historyEntry.id).toEqual(mockData.id); + expect(historyEntry.asset).toBeInstanceOf(ConfidentialAsset); + expect(historyEntry.amount).toEqual(mockData.amount); + expect(historyEntry.amount).toEqual(mockData.amount); + expect(historyEntry.createdAt).toEqual(fakeCreatedAt); + }); + + it('should return a paginated list of transaction history for the ConfidentialAccount when size, start provided', async () => { + const size = new BigNumber(1); + const start = new BigNumber(0); + + dsMockUtils.createApolloQueryMock( + getConfidentialAssetHistoryByConfidentialAccountQuery( + { + accountId: publicKey, + }, + size, + start + ), + { + confidentialAssetHistories: { + nodes: [mockData], + totalCount: 1, + }, + } + ); + + const { + data: [historyEntry], + } = await account.getTransactionHistory({ size, start }); + + expect(historyEntry.id).toEqual(mockData.id); + expect(historyEntry.asset).toBeInstanceOf(ConfidentialAsset); + expect(historyEntry.amount).toEqual(mockData.amount); + expect(historyEntry.amount).toEqual(mockData.amount); + expect(historyEntry.createdAt).toEqual(fakeCreatedAt); + }); + + it('should return a paginated list of transaction history where the ConfidentialAccount is involved', async () => { + dsMockUtils.createApolloQueryMock( + getConfidentialAssetHistoryByConfidentialAccountQuery({ + accountId: publicKey, + }), + { + confidentialAssetHistories: { + nodes: [], + totalCount: 0, + }, + } + ); + + const result = await account.getTransactionHistory(); + expect(result.data).toEqual([]); + expect(result.next).toBeNull(); + }); + }); }); diff --git a/src/middleware/__tests__/queries.ts b/src/middleware/__tests__/queries.ts index 686e64ab62..54b379abaa 100644 --- a/src/middleware/__tests__/queries.ts +++ b/src/middleware/__tests__/queries.ts @@ -16,6 +16,7 @@ import { eventsByArgs, extrinsicByHash, extrinsicsByArgs, + getConfidentialAssetHistoryByConfidentialAccountQuery, getConfidentialTransactionsByConfidentialAccountQuery, heartbeatQuery, instructionsByDidQuery, @@ -742,3 +743,75 @@ describe('getConfidentialTransactionsByConfidentialAccountQuery', () => { }); }); }); + +describe('getConfidentialAssetHistoryByConfidentialAccountQuery', () => { + const accountId = 'accountId'; + const assetId = 'assetId'; + const eventId = EventIdEnum.AccountDeposit; + + it('should return correct query and variables when accountId is provided', () => { + const result = getConfidentialAssetHistoryByConfidentialAccountQuery({ + accountId, + }); + + expect(result.query).toBeDefined(); + expect(result.variables).toEqual({ + size: undefined, + start: undefined, + eventId: undefined, + assetId: undefined, + accountId, + }); + }); + + it('should return correct query and variables when eventId is provided', () => { + const result = getConfidentialAssetHistoryByConfidentialAccountQuery({ + accountId, + eventId, + }); + + expect(result.query).toBeDefined(); + expect(result.variables).toEqual({ + size: undefined, + start: undefined, + eventId, + assetId: undefined, + accountId, + }); + }); + + it('should return correct query and variables when assetId is provided', () => { + const result = getConfidentialAssetHistoryByConfidentialAccountQuery({ + accountId, + assetId, + }); + + expect(result.query).toBeDefined(); + expect(result.variables).toEqual({ + size: undefined, + start: undefined, + eventId: undefined, + assetId, + accountId, + }); + }); + + it('should return correct query and variables when size, start are provided', () => { + const size = new BigNumber(10); + const start = new BigNumber(0); + const result = getConfidentialAssetHistoryByConfidentialAccountQuery( + { + accountId, + }, + size, + start + ); + + expect(result.query).toBeDefined(); + expect(result.variables).toEqual({ + size: size.toNumber(), + start: start.toNumber(), + accountId, + }); + }); +}); diff --git a/src/middleware/queries.ts b/src/middleware/queries.ts index a4a106900a..43ffb2dadf 100644 --- a/src/middleware/queries.ts +++ b/src/middleware/queries.ts @@ -1817,12 +1817,10 @@ function createGetConfidentialAssetHistoryByConfidentialAccountQueryArgs( filter: string; variables: PaginatedQueryArgs; } { - const args = ['$size: Int, $start: Int']; - const filters = []; - const { assetId, eventId } = variables; + const args = ['$size: Int, $start: Int, $accountId: String!']; + const filters = ['accountId: { equalTo: $accountId }']; - args.push('$accountId: String!'); - filters.push('accountId: { equalTo: $accountId }'); + const { assetId, eventId } = variables; if (assetId?.length) { args.push('$assetId: String!'); @@ -1835,7 +1833,7 @@ function createGetConfidentialAssetHistoryByConfidentialAccountQueryArgs( return { args: `(${args.join()})`, - filter: filters.length ? `filter: { ${filters.join()} }` : '', + filter: `filter: { ${filters.join()} }`, variables, }; } From 42ae6a46161d091b0114273af6075359fc67a974 Mon Sep 17 00:00:00 2001 From: Toms Veidemanis Date: Fri, 23 Feb 2024 14:55:23 +0700 Subject: [PATCH 097/120] =?UTF-8?q?refactor:=20=F0=9F=92=A1=20split=20quer?= =?UTF-8?q?ies.ts?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../__tests__/queries/confidential.ts | 218 ++++++++++++++ .../{queries.ts => queries/regular.ts} | 214 ------------- src/middleware/queries/confidential.ts | 285 ++++++++++++++++++ src/middleware/queries/index.ts | 4 + .../{queries.ts => queries/regular.ts} | 278 ----------------- 5 files changed, 507 insertions(+), 492 deletions(-) create mode 100644 src/middleware/__tests__/queries/confidential.ts rename src/middleware/__tests__/{queries.ts => queries/regular.ts} (72%) create mode 100644 src/middleware/queries/confidential.ts create mode 100644 src/middleware/queries/index.ts rename src/middleware/{queries.ts => queries/regular.ts} (84%) diff --git a/src/middleware/__tests__/queries/confidential.ts b/src/middleware/__tests__/queries/confidential.ts new file mode 100644 index 0000000000..9e051f16a5 --- /dev/null +++ b/src/middleware/__tests__/queries/confidential.ts @@ -0,0 +1,218 @@ +import BigNumber from 'bignumber.js'; + +import { + confidentialAssetQuery, + confidentialAssetsByHolderQuery, + getConfidentialAssetHistoryByConfidentialAccountQuery, + getConfidentialTransactionsByConfidentialAccountQuery, +} from '~/middleware/queries'; +import { ConfidentialTransactionStatusEnum, EventIdEnum } from '~/middleware/types'; + +describe('confidentialAssetsByHolderQuery', () => { + it('should return correct query and variables when size, start are not provided', () => { + const result = confidentialAssetsByHolderQuery('1'); + expect(result.query).toBeDefined(); + expect(result.variables).toEqual({ size: undefined, start: undefined, accountId: '1' }); + }); + + it('should return correct query and variables when size, start are provided', () => { + const size = new BigNumber(10); + const start = new BigNumber(0); + const result = confidentialAssetsByHolderQuery('1', size, start); + expect(result.query).toBeDefined(); + expect(result.variables).toEqual({ + size: size.toNumber(), + start: start.toNumber(), + accountId: '1', + }); + }); +}); + +describe('confidentialAssetQuery', () => { + it('should pass the variables to the grapqhl query', () => { + const variables = { + id: 'assetId', + }; + + const result = confidentialAssetQuery(variables); + + expect(result.query).toBeDefined(); + expect(result.variables).toEqual(variables); + }); +}); + +describe('getConfidentialTransactionsByConfidentialAccountQuery', () => { + it('should return correct query and variables when direction is provided and start, status or size is not', () => { + let result = getConfidentialTransactionsByConfidentialAccountQuery({ + accountId: '1', + direction: 'All', + }); + + expect(result.query).toBeDefined(); + expect(result.variables).toEqual({ + size: undefined, + start: undefined, + accountId: '1', + }); + + result = getConfidentialTransactionsByConfidentialAccountQuery({ + accountId: '1', + direction: 'Incoming', + }); + + expect(result.query).toBeDefined(); + expect(result.variables).toEqual({ + size: undefined, + start: undefined, + accountId: '1', + }); + + result = getConfidentialTransactionsByConfidentialAccountQuery({ + accountId: '1', + direction: 'Outgoing', + }); + + expect(result.query).toBeDefined(); + expect(result.variables).toEqual({ + size: undefined, + start: undefined, + accountId: '1', + }); + }); + + it('should return correct query and variables when status is provided', () => { + let result = getConfidentialTransactionsByConfidentialAccountQuery({ + accountId: '1', + direction: 'All', + status: ConfidentialTransactionStatusEnum.Created, + }); + + expect(result.query).toBeDefined(); + expect(result.variables).toEqual({ + size: undefined, + start: undefined, + accountId: '1', + status: ConfidentialTransactionStatusEnum.Created, + }); + + result = getConfidentialTransactionsByConfidentialAccountQuery({ + accountId: '1', + direction: 'All', + status: ConfidentialTransactionStatusEnum.Rejected, + }); + + expect(result.query).toBeDefined(); + expect(result.variables).toEqual({ + size: undefined, + start: undefined, + accountId: '1', + status: ConfidentialTransactionStatusEnum.Rejected, + }); + + result = getConfidentialTransactionsByConfidentialAccountQuery({ + accountId: '1', + direction: 'All', + status: ConfidentialTransactionStatusEnum.Executed, + }); + + expect(result.query).toBeDefined(); + expect(result.variables).toEqual({ + size: undefined, + start: undefined, + accountId: '1', + status: ConfidentialTransactionStatusEnum.Executed, + }); + }); + + it('should return correct query and variables when size, start are provided', () => { + const size = new BigNumber(10); + const start = new BigNumber(0); + const result = getConfidentialTransactionsByConfidentialAccountQuery( + { + accountId: '1', + direction: 'All', + }, + size, + start + ); + + expect(result.query).toBeDefined(); + expect(result.variables).toEqual({ + size: size.toNumber(), + start: start.toNumber(), + accountId: '1', + }); + }); +}); + +describe('getConfidentialAssetHistoryByConfidentialAccountQuery', () => { + const accountId = 'accountId'; + const assetId = 'assetId'; + const eventId = EventIdEnum.AccountDeposit; + + it('should return correct query and variables when accountId is provided', () => { + const result = getConfidentialAssetHistoryByConfidentialAccountQuery({ + accountId, + }); + + expect(result.query).toBeDefined(); + expect(result.variables).toEqual({ + size: undefined, + start: undefined, + eventId: undefined, + assetId: undefined, + accountId, + }); + }); + + it('should return correct query and variables when eventId is provided', () => { + const result = getConfidentialAssetHistoryByConfidentialAccountQuery({ + accountId, + eventId, + }); + + expect(result.query).toBeDefined(); + expect(result.variables).toEqual({ + size: undefined, + start: undefined, + eventId, + assetId: undefined, + accountId, + }); + }); + + it('should return correct query and variables when assetId is provided', () => { + const result = getConfidentialAssetHistoryByConfidentialAccountQuery({ + accountId, + assetId, + }); + + expect(result.query).toBeDefined(); + expect(result.variables).toEqual({ + size: undefined, + start: undefined, + eventId: undefined, + assetId, + accountId, + }); + }); + + it('should return correct query and variables when size, start are provided', () => { + const size = new BigNumber(10); + const start = new BigNumber(0); + const result = getConfidentialAssetHistoryByConfidentialAccountQuery( + { + accountId, + }, + size, + start + ); + + expect(result.query).toBeDefined(); + expect(result.variables).toEqual({ + size: size.toNumber(), + start: start.toNumber(), + accountId, + }); + }); +}); diff --git a/src/middleware/__tests__/queries.ts b/src/middleware/__tests__/queries/regular.ts similarity index 72% rename from src/middleware/__tests__/queries.ts rename to src/middleware/__tests__/queries/regular.ts index 54b379abaa..9387c28d7f 100644 --- a/src/middleware/__tests__/queries.ts +++ b/src/middleware/__tests__/queries/regular.ts @@ -7,8 +7,6 @@ import { authorizationsQuery, claimsGroupingQuery, claimsQuery, - confidentialAssetQuery, - confidentialAssetsByHolderQuery, createCustomClaimTypeQueryFilters, customClaimTypeQuery, distributionPaymentsQuery, @@ -16,8 +14,6 @@ import { eventsByArgs, extrinsicByHash, extrinsicsByArgs, - getConfidentialAssetHistoryByConfidentialAccountQuery, - getConfidentialTransactionsByConfidentialAccountQuery, heartbeatQuery, instructionsByDidQuery, instructionsQuery, @@ -43,7 +39,6 @@ import { AuthTypeEnum, CallIdEnum, ClaimTypeEnum, - ConfidentialTransactionStatusEnum, EventIdEnum, ModuleIdEnum, } from '~/middleware/types'; @@ -606,212 +601,3 @@ describe('customClaimTypeQuery', () => { expect(result.variables).toEqual({ size: size.toNumber(), start: start.toNumber(), dids }); }); }); - -describe('confidentialAssetsByHolderQuery', () => { - it('should return correct query and variables when size, start are not provided', () => { - const result = confidentialAssetsByHolderQuery('1'); - expect(result.query).toBeDefined(); - expect(result.variables).toEqual({ size: undefined, start: undefined, accountId: '1' }); - }); - - it('should return correct query and variables when size, start are provided', () => { - const size = new BigNumber(10); - const start = new BigNumber(0); - const result = confidentialAssetsByHolderQuery('1', size, start); - expect(result.query).toBeDefined(); - expect(result.variables).toEqual({ - size: size.toNumber(), - start: start.toNumber(), - accountId: '1', - }); - }); -}); - -describe('confidentialAssetQuery', () => { - it('should pass the variables to the grapqhl query', () => { - const variables = { - id: 'assetId', - }; - - const result = confidentialAssetQuery(variables); - - expect(result.query).toBeDefined(); - expect(result.variables).toEqual(variables); - }); -}); - -describe('getConfidentialTransactionsByConfidentialAccountQuery', () => { - it('should return correct query and variables when direction is provided and start, status or size is not', () => { - let result = getConfidentialTransactionsByConfidentialAccountQuery({ - accountId: '1', - direction: 'All', - }); - - expect(result.query).toBeDefined(); - expect(result.variables).toEqual({ - size: undefined, - start: undefined, - accountId: '1', - }); - - result = getConfidentialTransactionsByConfidentialAccountQuery({ - accountId: '1', - direction: 'Incoming', - }); - - expect(result.query).toBeDefined(); - expect(result.variables).toEqual({ - size: undefined, - start: undefined, - accountId: '1', - }); - - result = getConfidentialTransactionsByConfidentialAccountQuery({ - accountId: '1', - direction: 'Outgoing', - }); - - expect(result.query).toBeDefined(); - expect(result.variables).toEqual({ - size: undefined, - start: undefined, - accountId: '1', - }); - }); - - it('should return correct query and variables when status is provided', () => { - let result = getConfidentialTransactionsByConfidentialAccountQuery({ - accountId: '1', - direction: 'All', - status: ConfidentialTransactionStatusEnum.Created, - }); - - expect(result.query).toBeDefined(); - expect(result.variables).toEqual({ - size: undefined, - start: undefined, - accountId: '1', - status: ConfidentialTransactionStatusEnum.Created, - }); - - result = getConfidentialTransactionsByConfidentialAccountQuery({ - accountId: '1', - direction: 'All', - status: ConfidentialTransactionStatusEnum.Rejected, - }); - - expect(result.query).toBeDefined(); - expect(result.variables).toEqual({ - size: undefined, - start: undefined, - accountId: '1', - status: ConfidentialTransactionStatusEnum.Rejected, - }); - - result = getConfidentialTransactionsByConfidentialAccountQuery({ - accountId: '1', - direction: 'All', - status: ConfidentialTransactionStatusEnum.Executed, - }); - - expect(result.query).toBeDefined(); - expect(result.variables).toEqual({ - size: undefined, - start: undefined, - accountId: '1', - status: ConfidentialTransactionStatusEnum.Executed, - }); - }); - - it('should return correct query and variables when size, start are provided', () => { - const size = new BigNumber(10); - const start = new BigNumber(0); - const result = getConfidentialTransactionsByConfidentialAccountQuery( - { - accountId: '1', - direction: 'All', - }, - size, - start - ); - - expect(result.query).toBeDefined(); - expect(result.variables).toEqual({ - size: size.toNumber(), - start: start.toNumber(), - accountId: '1', - }); - }); -}); - -describe('getConfidentialAssetHistoryByConfidentialAccountQuery', () => { - const accountId = 'accountId'; - const assetId = 'assetId'; - const eventId = EventIdEnum.AccountDeposit; - - it('should return correct query and variables when accountId is provided', () => { - const result = getConfidentialAssetHistoryByConfidentialAccountQuery({ - accountId, - }); - - expect(result.query).toBeDefined(); - expect(result.variables).toEqual({ - size: undefined, - start: undefined, - eventId: undefined, - assetId: undefined, - accountId, - }); - }); - - it('should return correct query and variables when eventId is provided', () => { - const result = getConfidentialAssetHistoryByConfidentialAccountQuery({ - accountId, - eventId, - }); - - expect(result.query).toBeDefined(); - expect(result.variables).toEqual({ - size: undefined, - start: undefined, - eventId, - assetId: undefined, - accountId, - }); - }); - - it('should return correct query and variables when assetId is provided', () => { - const result = getConfidentialAssetHistoryByConfidentialAccountQuery({ - accountId, - assetId, - }); - - expect(result.query).toBeDefined(); - expect(result.variables).toEqual({ - size: undefined, - start: undefined, - eventId: undefined, - assetId, - accountId, - }); - }); - - it('should return correct query and variables when size, start are provided', () => { - const size = new BigNumber(10); - const start = new BigNumber(0); - const result = getConfidentialAssetHistoryByConfidentialAccountQuery( - { - accountId, - }, - size, - start - ); - - expect(result.query).toBeDefined(); - expect(result.variables).toEqual({ - size: size.toNumber(), - start: start.toNumber(), - accountId, - }); - }); -}); diff --git a/src/middleware/queries/confidential.ts b/src/middleware/queries/confidential.ts new file mode 100644 index 0000000000..524680d2b8 --- /dev/null +++ b/src/middleware/queries/confidential.ts @@ -0,0 +1,285 @@ +import { QueryOptions } from '@apollo/client/core'; +import BigNumber from 'bignumber.js'; +import gql from 'graphql-tag'; + +import { + ConfidentialAsset, + ConfidentialAssetHistory, + ConfidentialAssetHolder, + ConfidentialAssetHoldersOrderBy, + ConfidentialTransactionStatusEnum, + EventIdEnum, +} from '~/middleware/types'; +import { PaginatedQueryArgs, QueryArgs } from '~/types/utils'; + +/** + * @hidden + * + * Get Confidential Assets held by a ConfidentialAccount + */ +export function confidentialAssetsByHolderQuery( + accountId: string, + size?: BigNumber, + start?: BigNumber +): QueryOptions>> { + const query = gql` + query ConfidentialAssetsByAccount($size: Int, $start: Int, $accountId: String!) { + confidentialAssetHolders( + accountId: { equalTo: $accountId } + orderBy: [${ConfidentialAssetHoldersOrderBy.CreatedBlockIdAsc}] + first: $size + offset: $start + ) { + nodes { + accountId, + assetId + } + totalCount + } + } + `; + + return { + query, + variables: { size: size?.toNumber(), start: start?.toNumber(), accountId }, + }; +} + +/** + * @hidden + */ +export function createTransactionHistoryByConfidentialAssetQueryFilters(): { + args: string; + filter: string; +} { + const args = ['$size: Int, $start: Int', '$assetId: [String!]']; + const filters = ['assetId: { equalTo: $assetId }']; + + return { + args: `(${args.join()})`, + filter: `filter: { ${filters.join()} },`, + }; +} + +/** + * @hidden + * + * Get Confidential Asset transaction history + */ +export function transactionHistoryByConfidentialAssetQuery( + { assetId }: Pick, + size?: BigNumber, + start?: BigNumber +): QueryOptions>> { + const { args, filter } = createTransactionHistoryByConfidentialAssetQueryFilters(); + + const query = gql` + query TransactionHistoryQuery + ${args} + { + confidentialAssetHistories( + ${filter} + first: $size + offset: $start + ){ + nodes { + accountId, + fromId, + toId, + transactionId, + assetId, + createdBlock { + datetime, + hash, + blockId, + } + amount, + eventId, + memo, + } + totalCount + } + } +`; + + return { + query, + variables: { size: size?.toNumber(), start: start?.toNumber(), assetId }, + }; +} + +/** + * @hidden + * + * Get ConfidentialAsset details for a given id + */ +export function confidentialAssetQuery( + variables: QueryArgs +): QueryOptions> { + const query = gql` + query ConfidentialAssetQuery($id: String!) { + confidentialAssets(filter: { id: { equalTo: $id } }) { + nodes { + eventIdx + createdBlock { + blockId + datetime + hash + } + } + } + } + `; + + return { + query, + variables, + }; +} + +export type ConfidentialTransactionsByConfidentialAccountArgs = { + accountId: string; + direction: 'Incoming' | 'Outgoing' | 'All'; + status?: ConfidentialTransactionStatusEnum; +}; + +/** + * @hidden + * + * Get Confidential Transactions where a ConfidentialAccount is involved + */ +export function getConfidentialTransactionsByConfidentialAccountQuery( + params: ConfidentialTransactionsByConfidentialAccountArgs, + size?: BigNumber, + start?: BigNumber +): QueryOptions< + PaginatedQueryArgs> +> { + const { status, accountId, direction } = params; + const filters = []; + + const args = ['$size: Int', '$start: Int', '$accountId: String!']; // Example adjustment + + if (status) { + args.push('$status: ConfidentialTransactionStatusEnum!'); + filters.push('status: { equalTo: $status }'); + } + + const legsFilters = []; + + if (direction === 'All' || direction === 'Incoming') { + legsFilters.push('{ receiverId: { equalTo: $accountId }}'); + } + if (direction === 'All' || direction === 'Outgoing') { + legsFilters.push('{ senderId: { equalTo: $accountId }}'); + } + + filters.push(`legs: { some: { or: [${legsFilters.join()}] } }`); + + const formattedArgs = `${args.join(', ')}`; + + const query = gql` + query ConfidentialTransactionsByConfidentialAccount(${formattedArgs}) { + confidentialTransactions( + filter: { ${filters.join(', ')} }, + first: $size, + offset: $start + ) { + nodes { + id + } + totalCount + } + } +`; + + return { + query, + variables: { size: size?.toNumber(), start: start?.toNumber(), accountId, status }, + }; +} + +export type ConfidentialAssetHistoryByConfidentialAccountArgs = { + accountId: string; + eventId?: + | EventIdEnum.AccountDepositIncoming + | EventIdEnum.AccountDeposit + | EventIdEnum.AccountWithdraw; + assetId?: string; +}; + +/** + * @hidden + */ +function createGetConfidentialAssetHistoryByConfidentialAccountQueryArgs( + variables: PaginatedQueryArgs +): { + args: string; + filter: string; + variables: PaginatedQueryArgs; +} { + const args = ['$size: Int, $start: Int, $accountId: String!']; + const filters = ['accountId: { equalTo: $accountId }']; + + const { assetId, eventId } = variables; + + if (assetId?.length) { + args.push('$assetId: String!'); + filters.push('assetId: { equalTo: $assetId }'); + } + if (eventId) { + args.push('$eventId: EventIdEnum!'); + filters.push('eventId: { equalTo: $eventId }'); + } + + return { + args: `(${args.join()})`, + filter: `filter: { ${filters.join()} }`, + variables, + }; +} + +/** + * @hidden + * + * Get ConfidentialAssetHistory where a ConfidentialAccount is involved + */ +export function getConfidentialAssetHistoryByConfidentialAccountQuery( + params: ConfidentialAssetHistoryByConfidentialAccountArgs, + size?: BigNumber, + start?: BigNumber +): QueryOptions> { + const { args, filter, variables } = + createGetConfidentialAssetHistoryByConfidentialAccountQueryArgs(params); + + const query = gql` + query ConfidentialAssetHistoryByConfidentialAccount${args} { + confidentialAssetHistories( + ${filter}, + first: $size, + offset: $start + ) { + nodes { + id + assetId + amount + eventId + eventIdx + memo + transactionId + createdBlock { + blockId + datetime + hash + } + } + totalCount + } + } +`; + + return { + query, + variables: { ...variables, size: size?.toNumber(), start: start?.toNumber() }, + }; +} diff --git a/src/middleware/queries/index.ts b/src/middleware/queries/index.ts new file mode 100644 index 0000000000..39556c52bb --- /dev/null +++ b/src/middleware/queries/index.ts @@ -0,0 +1,4 @@ +/* istanbul ignore file */ + +export * from './regular'; +export * from './confidential'; diff --git a/src/middleware/queries.ts b/src/middleware/queries/regular.ts similarity index 84% rename from src/middleware/queries.ts rename to src/middleware/queries/regular.ts index 43ffb2dadf..201479ead0 100644 --- a/src/middleware/queries.ts +++ b/src/middleware/queries/regular.ts @@ -14,15 +14,9 @@ import { ClaimsGroupBy, ClaimsOrderBy, ClaimTypeEnum, - ConfidentialAsset, - ConfidentialAssetHistory, - ConfidentialAssetHolder, - ConfidentialAssetHoldersOrderBy, - ConfidentialTransactionStatusEnum, Distribution, DistributionPayment, Event, - EventIdEnum, EventsOrderBy, Extrinsic, ExtrinsicsOrderBy, @@ -1610,275 +1604,3 @@ export function customClaimTypeQuery( variables: { size: size?.toNumber(), start: start?.toNumber(), dids }, }; } - -/** - * @hidden - * - * Get Confidential Assets held by a ConfidentialAccount - */ -export function confidentialAssetsByHolderQuery( - accountId: string, - size?: BigNumber, - start?: BigNumber -): QueryOptions>> { - const query = gql` - query ConfidentialAssetsByAccount($size: Int, $start: Int, $accountId: String!) { - confidentialAssetHolders( - accountId: { equalTo: $accountId } - orderBy: [${ConfidentialAssetHoldersOrderBy.CreatedBlockIdAsc}] - first: $size - offset: $start - ) { - nodes { - accountId, - assetId - } - totalCount - } - } - `; - - return { - query, - variables: { size: size?.toNumber(), start: start?.toNumber(), accountId }, - }; -} - -/** - * @hidden - */ -export function createTransactionHistoryByConfidentialAssetQueryFilters(): { - args: string; - filter: string; -} { - const args = ['$size: Int, $start: Int', '$assetId: [String!]']; - const filters = ['assetId: { equalTo: $assetId }']; - - return { - args: `(${args.join()})`, - filter: `filter: { ${filters.join()} },`, - }; -} - -/** - * @hidden - * - * Get Confidential Asset transaction history - */ -export function transactionHistoryByConfidentialAssetQuery( - { assetId }: Pick, - size?: BigNumber, - start?: BigNumber -): QueryOptions>> { - const { args, filter } = createTransactionHistoryByConfidentialAssetQueryFilters(); - - const query = gql` - query TransactionHistoryQuery - ${args} - { - confidentialAssetHistories( - ${filter} - first: $size - offset: $start - ){ - nodes { - accountId, - fromId, - toId, - transactionId, - assetId, - createdBlock { - datetime, - hash, - blockId, - } - amount, - eventId, - memo, - } - totalCount - } - } -`; - - return { - query, - variables: { size: size?.toNumber(), start: start?.toNumber(), assetId }, - }; -} - -/** - * @hidden - * - * Get ConfidentialAsset details for a given id - */ -export function confidentialAssetQuery( - variables: QueryArgs -): QueryOptions> { - const query = gql` - query ConfidentialAssetQuery($id: String!) { - confidentialAssets(filter: { id: { equalTo: $id } }) { - nodes { - eventIdx - createdBlock { - blockId - datetime - hash - } - } - } - } - `; - - return { - query, - variables, - }; -} - -export type ConfidentialTransactionsByConfidentialAccountArgs = { - accountId: string; - direction: 'Incoming' | 'Outgoing' | 'All'; - status?: ConfidentialTransactionStatusEnum; -}; - -/** - * @hidden - * - * Get Confidential Transactions where a ConfidentialAccount is involved - */ -export function getConfidentialTransactionsByConfidentialAccountQuery( - params: ConfidentialTransactionsByConfidentialAccountArgs, - size?: BigNumber, - start?: BigNumber -): QueryOptions< - PaginatedQueryArgs> -> { - const { status, accountId, direction } = params; - const filters = []; - - const args = ['$size: Int', '$start: Int', '$accountId: String!']; // Example adjustment - - if (status) { - args.push('$status: ConfidentialTransactionStatusEnum!'); - filters.push('status: { equalTo: $status }'); - } - - const legsFilters = []; - - if (direction === 'All' || direction === 'Incoming') { - legsFilters.push('{ receiverId: { equalTo: $accountId }}'); - } - if (direction === 'All' || direction === 'Outgoing') { - legsFilters.push('{ senderId: { equalTo: $accountId }}'); - } - - filters.push(`legs: { some: { or: [${legsFilters.join()}] } }`); - - const formattedArgs = `${args.join(', ')}`; - - const query = gql` - query ConfidentialTransactionsByConfidentialAccount(${formattedArgs}) { - confidentialTransactions( - filter: { ${filters.join(', ')} }, - first: $size, - offset: $start - ) { - nodes { - id - } - totalCount - } - } -`; - - return { - query, - variables: { size: size?.toNumber(), start: start?.toNumber(), accountId, status }, - }; -} - -export type ConfidentialAssetHistoryByConfidentialAccountArgs = { - accountId: string; - eventId?: - | EventIdEnum.AccountDepositIncoming - | EventIdEnum.AccountDeposit - | EventIdEnum.AccountWithdraw; - assetId?: string; -}; - -/** - * @hidden - */ -function createGetConfidentialAssetHistoryByConfidentialAccountQueryArgs( - variables: PaginatedQueryArgs -): { - args: string; - filter: string; - variables: PaginatedQueryArgs; -} { - const args = ['$size: Int, $start: Int, $accountId: String!']; - const filters = ['accountId: { equalTo: $accountId }']; - - const { assetId, eventId } = variables; - - if (assetId?.length) { - args.push('$assetId: String!'); - filters.push('assetId: { equalTo: $assetId }'); - } - if (eventId) { - args.push('$eventId: EventIdEnum!'); - filters.push('eventId: { equalTo: $eventId }'); - } - - return { - args: `(${args.join()})`, - filter: `filter: { ${filters.join()} }`, - variables, - }; -} - -/** - * @hidden - * - * Get ConfidentialAssetHistory where a ConfidentialAccount is involved - */ -export function getConfidentialAssetHistoryByConfidentialAccountQuery( - params: ConfidentialAssetHistoryByConfidentialAccountArgs, - size?: BigNumber, - start?: BigNumber -): QueryOptions> { - const { args, filter, variables } = - createGetConfidentialAssetHistoryByConfidentialAccountQueryArgs(params); - - const query = gql` - query ConfidentialAssetHistoryByConfidentialAccount${args} { - confidentialAssetHistories( - ${filter}, - first: $size, - offset: $start - ) { - nodes { - id - assetId - amount - eventId - eventIdx - memo - transactionId - createdBlock { - blockId - datetime - hash - } - } - totalCount - } - } -`; - - return { - query, - variables: { ...variables, size: size?.toNumber(), start: start?.toNumber() }, - }; -} From 28c5f3a5c57b95f9f957bfd4436113890eb155a9 Mon Sep 17 00:00:00 2001 From: Eric Richardson Date: Fri, 23 Feb 2024 15:05:44 -0500 Subject: [PATCH 098/120] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20add=20burn=20met?= =?UTF-8?q?hod=20for=20confidential=20assets?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit allow users to burn confidential assets --- .../confidential/ConfidentialAsset/index.ts | 18 ++ .../confidential/ConfidentialAsset/types.ts | 15 ++ .../__tests__/ConfidentialAsset/index.ts | 21 ++ .../__tests__/burnConfidentialAssets.ts | 183 ++++++++++++++++++ src/api/procedures/burnConfidentialAssets.ts | 112 +++++++++++ src/internal.ts | 1 + src/testUtils/mocks/dataSources.ts | 29 +++ src/utils/__tests__/conversion.ts | 33 ++++ src/utils/conversion.ts | 15 ++ 9 files changed, 427 insertions(+) create mode 100644 src/api/procedures/__tests__/burnConfidentialAssets.ts create mode 100644 src/api/procedures/burnConfidentialAssets.ts diff --git a/src/api/entities/confidential/ConfidentialAsset/index.ts b/src/api/entities/confidential/ConfidentialAsset/index.ts index a32a671290..6aaccd9671 100644 --- a/src/api/entities/confidential/ConfidentialAsset/index.ts +++ b/src/api/entities/confidential/ConfidentialAsset/index.ts @@ -3,6 +3,7 @@ import { Option } from '@polkadot/types-codec'; import BigNumber from 'bignumber.js'; import { + burnConfidentialAssets, ConfidentialAccount, ConfidentialVenue, Context, @@ -18,6 +19,7 @@ import { } from '~/middleware/queries'; import { Query } from '~/middleware/types'; import { + BurnConfidentialAssetParams, ConfidentialAssetDetails, ConfidentialAssetTransactionHistory, ConfidentialVenueFilteringDetails, @@ -98,6 +100,13 @@ export class ConfidentialAsset extends Entity { context ); + this.burn = createProcedureMethod( + { + getProcedureAndArgs: args => [burnConfidentialAssets, { confidentialAsset: this, ...args }], + }, + context + ); + this.setVenueFiltering = createProcedureMethod( { getProcedureAndArgs: args => [setConfidentialVenueFiltering, { assetId: id, ...args }] }, context @@ -113,6 +122,15 @@ export class ConfidentialAsset extends Entity { */ public issue: ProcedureMethod; + /** + * Burn a certain amount of this Confidential Asset in the given `account` + * + * @note + * - Only the owner can burn a Confidential Asset + * - Confidential Assets can only be burned in accounts owned by the signer + */ + public burn: ProcedureMethod; + /** * Enable/disable confidential venue filtering for this Confidential Asset and/or set allowed/disallowed Confidential Venues */ diff --git a/src/api/entities/confidential/ConfidentialAsset/types.ts b/src/api/entities/confidential/ConfidentialAsset/types.ts index 0e1379991a..0ce9087b53 100644 --- a/src/api/entities/confidential/ConfidentialAsset/types.ts +++ b/src/api/entities/confidential/ConfidentialAsset/types.ts @@ -41,6 +41,21 @@ export interface IssueConfidentialAssetParams { confidentialAccount: ConfidentialAccount | string; } +export interface BurnConfidentialAssetParams { + /** + * number of confidential Assets to be burned + */ + amount: BigNumber; + /** + * the asset issuer's Confidential Account to burn the assets from + */ + confidentialAccount: ConfidentialAccount | string; + /** + * proof for the transaction + */ + proof: string; +} + export type ConfidentialVenueFilteringDetails = | { enabled: false; diff --git a/src/api/entities/confidential/__tests__/ConfidentialAsset/index.ts b/src/api/entities/confidential/__tests__/ConfidentialAsset/index.ts index 34af1883d5..2aec7fe3bf 100644 --- a/src/api/entities/confidential/__tests__/ConfidentialAsset/index.ts +++ b/src/api/entities/confidential/__tests__/ConfidentialAsset/index.ts @@ -111,6 +111,27 @@ describe('ConfidentialAsset class', () => { }); }); + describe('method: burn', () => { + it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { + const args = { + amount: new BigNumber(100), + confidentialAccount: 'someAccount', + proof: 'someBurnProof', + }; + + const expectedTransaction = + 'someTransaction' as unknown as PolymeshTransaction; + + when(procedureMockUtils.getPrepareMock()) + .calledWith({ args: { confidentialAsset, ...args }, transformer: undefined }, context, {}) + .mockResolvedValue(expectedTransaction); + + const tx = await confidentialAsset.burn(args); + + expect(tx).toBe(expectedTransaction); + }); + }); + describe('method: setVenueFiltering', () => { it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { const enabled = true; diff --git a/src/api/procedures/__tests__/burnConfidentialAssets.ts b/src/api/procedures/__tests__/burnConfidentialAssets.ts new file mode 100644 index 0000000000..1bb3267daa --- /dev/null +++ b/src/api/procedures/__tests__/burnConfidentialAssets.ts @@ -0,0 +1,183 @@ +import { Balance } from '@polkadot/types/interfaces'; +import { ConfidentialAssetsBurnConfidentialBurnProof } from '@polkadot/types/lookup'; +import BigNumber from 'bignumber.js'; +import { when } from 'jest-when'; + +import { + getAuthorization, + Params, + prepareBurnConfidentialAsset, +} from '~/api/procedures/burnConfidentialAssets'; +import { Context, PolymeshError } from '~/internal'; +import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; +import { Mocked } from '~/testUtils/types'; +import { ConfidentialAccount, ConfidentialAsset, ErrorCode, RoleType, TxTags } from '~/types'; +import * as utilsConversionModule from '~/utils/conversion'; + +jest.mock( + '~/api/entities/confidential/ConfidentialAsset', + require('~/testUtils/mocks/entities').mockConfidentialAssetModule( + '~/api/entities/confidential/ConfidentialAsset' + ) +); + +describe('burnConfidentialAssets procedure', () => { + let mockContext: Mocked; + let amount: BigNumber; + let rawAmount: Balance; + let account: ConfidentialAccount; + let serializeConfidentialAssetIdSpy: jest.SpyInstance; + let bigNumberToU128Spy: jest.SpyInstance; + let confidentialBurnProofToRawSpy: jest.SpyInstance; + let asset: Mocked; + let rawAssetId: string; + let proof: string; + let rawProof: ConfidentialAssetsBurnConfidentialBurnProof; + let args: Params; + + beforeAll(() => { + dsMockUtils.initMocks(); + procedureMockUtils.initMocks(); + entityMockUtils.initMocks(); + + bigNumberToU128Spy = jest.spyOn(utilsConversionModule, 'bigNumberToU128'); + serializeConfidentialAssetIdSpy = jest.spyOn( + utilsConversionModule, + 'serializeConfidentialAssetId' + ); + + confidentialBurnProofToRawSpy = jest.spyOn(utilsConversionModule, 'confidentialBurnProofToRaw'); + }); + + beforeEach(() => { + mockContext = dsMockUtils.getContextInstance(); + asset = entityMockUtils.getConfidentialAssetInstance({ + details: { totalSupply: new BigNumber(1000) }, + }); + rawAssetId = '0x10Asset'; + rawProof = dsMockUtils.createMockConfidentialBurnProof({ + encodedInnerProof: dsMockUtils.createMockBytes(proof), + }); + + when(serializeConfidentialAssetIdSpy).calledWith(asset.id).mockReturnValue(rawAssetId); + + when(confidentialBurnProofToRawSpy).calledWith(proof, mockContext).mockReturnValue(rawProof); + + amount = new BigNumber(100); + rawAmount = dsMockUtils.createMockBalance(amount); + + when(bigNumberToU128Spy).calledWith(amount, mockContext).mockReturnValue(rawAmount); + + account = entityMockUtils.getConfidentialAccountInstance(); + + args = { + confidentialAsset: asset, + amount, + confidentialAccount: account, + proof, + }; + }); + + afterEach(() => { + entityMockUtils.reset(); + procedureMockUtils.reset(); + dsMockUtils.reset(); + }); + + afterAll(() => { + procedureMockUtils.cleanup(); + dsMockUtils.cleanup(); + }); + + it('should throw an error if amount provided is less than equal to 0', () => { + const proc = procedureMockUtils.getInstance(mockContext); + + const expectedError = new PolymeshError({ + code: ErrorCode.UnmetPrerequisite, + message: 'Amount should be greater than zero', + data: { + amount, + }, + }); + + return expect( + prepareBurnConfidentialAsset.call(proc, { ...args, amount: new BigNumber(-10) }) + ).rejects.toThrowError(expectedError); + }); + + it('should throw an error if destination account is not owned by the signer', async () => { + const proc = procedureMockUtils.getInstance(mockContext); + + const expectedError = new PolymeshError({ + code: ErrorCode.UnmetPrerequisite, + message: 'The Signing Identity cannot burn confidential Assets in the specified account', + }); + + await expect( + prepareBurnConfidentialAsset.call(proc, { + ...args, + confidentialAccount: entityMockUtils.getConfidentialAccountInstance({ + getIdentity: null, + }), + }) + ).rejects.toThrowError(expectedError); + + await expect( + prepareBurnConfidentialAsset.call(proc, { + ...args, + confidentialAccount: entityMockUtils.getConfidentialAccountInstance({ + getIdentity: entityMockUtils.getIdentityInstance({ + did: 'someRandomDid', + }), + }), + }) + ).rejects.toThrowError(expectedError); + }); + + it('should throw an error if Asset supply is bigger than the current supply', async () => { + const proc = procedureMockUtils.getInstance(mockContext); + + let error; + + try { + await prepareBurnConfidentialAsset.call(proc, { + ...args, + confidentialAsset: entityMockUtils.getConfidentialAssetInstance(), + }); + } catch (err) { + error = err; + } + + expect(error.message).toBe( + `This burn operation will cause the total supply of "${asset.id}" to be negative` + ); + }); + + it('should return a burn Confidential Asset transaction spec', async () => { + const transaction = dsMockUtils.createTxMock('confidentialAsset', 'burn'); + const proc = procedureMockUtils.getInstance(mockContext); + + const result = await prepareBurnConfidentialAsset.call(proc, args); + expect(result).toEqual({ + transaction, + args: [rawAssetId, rawAmount, account.publicKey, rawProof], + resolver: expect.objectContaining({ id: asset.id }), + }); + }); + + describe('getAuthorization', () => { + it('should return the appropriate roles and permissions', () => { + const proc = procedureMockUtils.getInstance(mockContext); + const boundFunc = getAuthorization.bind(proc); + + expect(boundFunc(args)).toEqual({ + roles: [{ type: RoleType.ConfidentialAssetOwner, assetId: asset.id }], + permissions: { + transactions: [TxTags.confidentialAsset.Burn], + assets: [], + portfolios: [], + }, + }); + }); + }); +}); diff --git a/src/api/procedures/burnConfidentialAssets.ts b/src/api/procedures/burnConfidentialAssets.ts new file mode 100644 index 0000000000..ee7a0424b8 --- /dev/null +++ b/src/api/procedures/burnConfidentialAssets.ts @@ -0,0 +1,112 @@ +import BigNumber from 'bignumber.js'; + +import { ConfidentialAsset, PolymeshError, Procedure } from '~/internal'; +import { BurnConfidentialAssetParams, ErrorCode, RoleType, TxTags } from '~/types'; +import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; +import { + bigNumberToU128, + confidentialBurnProofToRaw, + serializeConfidentialAssetId, +} from '~/utils/conversion'; +import { asConfidentialAccount } from '~/utils/internal'; + +export type Params = BurnConfidentialAssetParams & { + confidentialAsset: ConfidentialAsset; +}; + +/** + * @hidden + */ +export async function prepareBurnConfidentialAsset( + this: Procedure, + args: Params +): Promise>> { + const { + context: { + polymeshApi: { + tx: { confidentialAsset }, + }, + }, + context, + } = this; + const { confidentialAsset: asset, amount, confidentialAccount: account, proof } = args; + + const { id: assetId } = asset; + + const sourceAccount = asConfidentialAccount(account, context); + + if (amount.lte(new BigNumber(0))) { + throw new PolymeshError({ + code: ErrorCode.UnmetPrerequisite, + message: 'Amount should be greater than zero', + data: { + amount, + }, + }); + } + + const [{ totalSupply }, { did: signingDid }, accountIdentity] = await Promise.all([ + asset.details(), + context.getSigningIdentity(), + sourceAccount.getIdentity(), + ]); + + if (!accountIdentity || accountIdentity.did !== signingDid) { + throw new PolymeshError({ + code: ErrorCode.UnmetPrerequisite, + message: 'The Signing Identity cannot burn confidential Assets in the specified account', + }); + } + + const supplyAfterBurn = totalSupply.minus(amount); + + if (supplyAfterBurn.isLessThan(0)) { + throw new PolymeshError({ + code: ErrorCode.LimitExceeded, + message: `This burn operation will cause the total supply of "${assetId}" to be negative`, + data: { + currentSupply: totalSupply, + }, + }); + } + + const rawProof = confidentialBurnProofToRaw(proof, context); + + return { + transaction: confidentialAsset.burn, + args: [ + serializeConfidentialAssetId(assetId), + bigNumberToU128(amount, context), + sourceAccount.publicKey, + rawProof, + ], + resolver: asset, + }; +} + +/** + * @hidden + */ +export function getAuthorization( + this: Procedure, + args: Params +): ProcedureAuthorization { + const { + confidentialAsset: { id: assetId }, + } = args; + + return { + roles: [{ type: RoleType.ConfidentialAssetOwner, assetId }], + permissions: { + transactions: [TxTags.confidentialAsset.Burn], + assets: [], + portfolios: [], + }, + }; +} + +/** + * @hidden + */ +export const burnConfidentialAssets = (): Procedure => + new Procedure(prepareBurnConfidentialAsset, getAuthorization); diff --git a/src/internal.ts b/src/internal.ts index 6d3e0615ab..0a705cff23 100644 --- a/src/internal.ts +++ b/src/internal.ts @@ -107,6 +107,7 @@ export { MultiSigProposal } from '~/api/entities/MultiSigProposal'; export { TickerReservation } from '~/api/entities/TickerReservation'; export { BaseAsset, FungibleAsset, NftCollection, Nft } from '~/api/entities/Asset'; export { issueConfidentialAssets } from '~/api/procedures/issueConfidentialAssets'; +export { burnConfidentialAssets } from '~/api/procedures/burnConfidentialAssets'; export { applyIncomingAssetBalance } from '~/api/procedures/applyIncomingAssetBalance'; export { ConfidentialAccount } from '~/api/entities/confidential/ConfidentialAccount'; export { ConfidentialAsset } from '~/api/entities/confidential/ConfidentialAsset'; diff --git a/src/testUtils/mocks/dataSources.ts b/src/testUtils/mocks/dataSources.ts index 96e109341e..189069566a 100644 --- a/src/testUtils/mocks/dataSources.ts +++ b/src/testUtils/mocks/dataSources.ts @@ -50,6 +50,7 @@ import { SignedBlock, } from '@polkadot/types/interfaces'; import { + ConfidentialAssetsBurnConfidentialBurnProof, ConfidentialAssetsElgamalCipherText, PalletAssetAssetOwnershipRelation, PalletAssetSecurityToken, @@ -4731,6 +4732,9 @@ export const createMockConfidentialLegParty = ( return createMockEnum(role); }; +/** + * NOTE: `isEmpty` will be set to true if no value is passed + */ export const createMockConfidentialLegState = ( state?: | { @@ -4766,3 +4770,28 @@ export const createMockElgamalCipherText = ( return createMockStringCodec(value); }; + +/** + * NOTE: `isEmpty` will be set to true if no value is passed + */ +export const createMockConfidentialBurnProof = ( + proof?: + | { + encodedInnerProof: Bytes; + } + | ConfidentialAssetsBurnConfidentialBurnProof +): MockCodec => { + if (isCodec(proof)) { + return proof as MockCodec; + } + const mockBytes = dsMockUtils.createMockBytes(); + + const { encodedInnerProof } = proof ?? { + encodedInnerProof: mockBytes, + }; + + return createMockCodec( + { encodedInnerProof }, + !proof + ); +}; diff --git a/src/utils/__tests__/conversion.ts b/src/utils/__tests__/conversion.ts index f118d1f3cb..9a70da2a49 100644 --- a/src/utils/__tests__/conversion.ts +++ b/src/utils/__tests__/conversion.ts @@ -10,6 +10,7 @@ import { Permill, } from '@polkadot/types/interfaces'; import { + ConfidentialAssetsBurnConfidentialBurnProof, PalletConfidentialAssetAffirmParty, PalletConfidentialAssetAffirmTransaction, PalletConfidentialAssetAffirmTransactions, @@ -224,6 +225,7 @@ import { confidentialAffirmPartyToRaw, confidentialAffirmsToRaw, confidentialAssetsToBtreeSet, + confidentialBurnProofToRaw, confidentialLegIdToId, confidentialLegPartyToRole, confidentialLegStateToLegState, @@ -10455,3 +10457,34 @@ describe('middlewareAssetHistoryToTransactionHistory', () => { expect(result).toEqual(expectedResult); }); }); + +describe('confidentialBurnProofToRaw', () => { + beforeAll(() => { + dsMockUtils.initMocks(); + }); + afterEach(() => { + dsMockUtils.reset(); + }); + + afterAll(() => { + dsMockUtils.cleanup(); + }); + + it('should return a raw burn proof', () => { + const mockContext = dsMockUtils.getContextInstance(); + + const proof = 'someProof'; + const rawProof = 'rawSomeProof' as unknown as Bytes; + const mockResult = 'mockResult' as unknown as ConfidentialAssetsBurnConfidentialBurnProof; + + when(mockContext.createType).calledWith('Bytes', proof).mockReturnValue(rawProof); + + when(mockContext.createType) + .calledWith('ConfidentialAssetsBurnConfidentialBurnProof', { encodedInnerProof: rawProof }) + .mockReturnValue(mockResult); + + const result = confidentialBurnProofToRaw(proof, mockContext); + + expect(result).toEqual(mockResult); + }); +}); diff --git a/src/utils/conversion.ts b/src/utils/conversion.ts index 400047f6e0..546e1139a5 100644 --- a/src/utils/conversion.ts +++ b/src/utils/conversion.ts @@ -16,6 +16,7 @@ import { import { AccountId, Balance, BlockHash, Hash, Permill } from '@polkadot/types/interfaces'; import { DispatchError, DispatchResult } from '@polkadot/types/interfaces/system'; import { + ConfidentialAssetsBurnConfidentialBurnProof, PalletConfidentialAssetAffirmLeg, PalletConfidentialAssetAffirmParty, PalletConfidentialAssetAffirmTransaction, @@ -5285,3 +5286,17 @@ export function middlewareAssetHistoryToTransactionHistory({ memo, }; } + +/** + * @hidden + */ +export function confidentialBurnProofToRaw( + proof: string, + context: Context +): ConfidentialAssetsBurnConfidentialBurnProof { + const rawProof = stringToBytes(proof, context); + + return context.createType('ConfidentialAssetsBurnConfidentialBurnProof', { + encodedInnerProof: rawProof, + }); +} From dfcf5174ec2d0138910789b6a5a3420e6bcef2dc Mon Sep 17 00:00:00 2001 From: Prashant Bajpai <34747455+prashantasdeveloper@users.noreply.github.com> Date: Tue, 27 Feb 2024 16:34:28 +0530 Subject: [PATCH 099/120] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20Add=20procedure?= =?UTF-8?q?=20to=20apply=20all=20incoming=20balances=20for=20CA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/client/ConfidentialAccounts.ts | 17 ++ .../client/__tests__/ConfidentialAccounts.ts | 21 +++ .../confidential/ConfidentialAccount/types.ts | 14 ++ .../applyIncomingConfidentialAssetBalances.ts | 152 ++++++++++++++++++ .../applyIncomingConfidentialAssetBalances.ts | 88 ++++++++++ src/internal.ts | 2 + src/testUtils/mocks/entities.ts | 5 + src/utils/constants.ts | 4 +- src/utils/conversion.ts | 9 ++ 9 files changed, 310 insertions(+), 2 deletions(-) create mode 100644 src/api/procedures/__tests__/applyIncomingConfidentialAssetBalances.ts create mode 100644 src/api/procedures/applyIncomingConfidentialAssetBalances.ts diff --git a/src/api/client/ConfidentialAccounts.ts b/src/api/client/ConfidentialAccounts.ts index 04fe28d33a..e418ed27ab 100644 --- a/src/api/client/ConfidentialAccounts.ts +++ b/src/api/client/ConfidentialAccounts.ts @@ -1,5 +1,6 @@ import { applyIncomingAssetBalance, + applyIncomingConfidentialAssetBalance, ConfidentialAccount, Context, createConfidentialAccount, @@ -7,6 +8,7 @@ import { } from '~/internal'; import { ApplyIncomingBalanceParams, + ApplyIncomingConfidentialAssetBalancesParams, CreateConfidentialAccountParams, ErrorCode, ProcedureMethod, @@ -38,6 +40,13 @@ export class ConfidentialAccounts { }, context ); + + this.applyIncomingBalances = createProcedureMethod( + { + getProcedureAndArgs: args => [applyIncomingConfidentialAssetBalance, { ...args }], + }, + context + ); } /** @@ -74,4 +83,12 @@ export class ConfidentialAccounts { * Applies incoming balance to a Confidential Account */ public applyIncomingBalance: ProcedureMethod; + + /** + * Applies any incoming balance to a Confidential Account + */ + public applyIncomingBalances: ProcedureMethod< + ApplyIncomingConfidentialAssetBalancesParams, + ConfidentialAccount + >; } diff --git a/src/api/client/__tests__/ConfidentialAccounts.ts b/src/api/client/__tests__/ConfidentialAccounts.ts index a38d7c0a82..2afa2cc1c6 100644 --- a/src/api/client/__tests__/ConfidentialAccounts.ts +++ b/src/api/client/__tests__/ConfidentialAccounts.ts @@ -1,3 +1,4 @@ +import BigNumber from 'bignumber.js'; import { when } from 'jest-when'; import { ConfidentialAccounts } from '~/api/client/ConfidentialAccounts'; @@ -107,4 +108,24 @@ describe('ConfidentialAccounts Class', () => { expect(tx).toBe(expectedTransaction); }); }); + + describe('method: applyIncomingBalances', () => { + it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { + const args = { + confidentialAccount: 'someAccount', + maxUpdates: new BigNumber(1), + }; + + const expectedTransaction = + 'someTransaction' as unknown as PolymeshTransaction; + + when(procedureMockUtils.getPrepareMock()) + .calledWith({ args, transformer: undefined }, context, {}) + .mockResolvedValue(expectedTransaction); + + const tx = await confidentialAccounts.applyIncomingBalances(args); + + expect(tx).toBe(expectedTransaction); + }); + }); }); diff --git a/src/api/entities/confidential/ConfidentialAccount/types.ts b/src/api/entities/confidential/ConfidentialAccount/types.ts index 2bcb37136d..dc4a77f87e 100644 --- a/src/api/entities/confidential/ConfidentialAccount/types.ts +++ b/src/api/entities/confidential/ConfidentialAccount/types.ts @@ -1,3 +1,5 @@ +import BigNumber from 'bignumber.js'; + import { ConfidentialAccount, ConfidentialAsset } from '~/internal'; import { EventIdentifier, EventIdEnum } from '~/types'; @@ -34,3 +36,15 @@ export type ConfidentialAssetHistoryEntry = { amount: string; createdAt: EventIdentifier | null; }; + +export interface ApplyIncomingConfidentialAssetBalancesParams { + /** + * Confidential Account (or the public key of the ElGamal key pair) to which any incoming balance is to be applied + */ + confidentialAccount: string | ConfidentialAccount; + + /** + * The maximum number of incoming balances to apply + */ + maxUpdates: BigNumber; +} diff --git a/src/api/procedures/__tests__/applyIncomingConfidentialAssetBalances.ts b/src/api/procedures/__tests__/applyIncomingConfidentialAssetBalances.ts new file mode 100644 index 0000000000..474ed6c313 --- /dev/null +++ b/src/api/procedures/__tests__/applyIncomingConfidentialAssetBalances.ts @@ -0,0 +1,152 @@ +import { u16 } from '@polkadot/types'; +import BigNumber from 'bignumber.js'; +import { when } from 'jest-when'; + +import { + getAuthorization, + prepareApplyIncomingConfidentialAssetBalance, +} from '~/api/procedures/applyIncomingConfidentialAssetBalances'; +import { Context, PolymeshError } from '~/internal'; +import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; +import { Mocked } from '~/testUtils/types'; +import { + ApplyIncomingConfidentialAssetBalancesParams, + ConfidentialAccount, + ErrorCode, + TxTags, +} from '~/types'; +import * as utilsConversionModule from '~/utils/conversion'; + +describe('applyIncomingConfidentialAssetBalance procedure', () => { + let mockContext: Mocked; + let account: ConfidentialAccount; + let maxUpdates: BigNumber; + let rawMaxUpdates: u16; + let args: ApplyIncomingConfidentialAssetBalancesParams; + let bigNumberToU16Spy: jest.SpyInstance; + + beforeAll(() => { + dsMockUtils.initMocks(); + procedureMockUtils.initMocks(); + entityMockUtils.initMocks(); + + bigNumberToU16Spy = jest.spyOn(utilsConversionModule, 'bigNumberToU16'); + }); + + beforeEach(() => { + mockContext = dsMockUtils.getContextInstance(); + + maxUpdates = new BigNumber(1); + account = entityMockUtils.getConfidentialAccountInstance({ + getIncomingBalances: [ + { + confidentialAsset: entityMockUtils.getConfidentialAssetInstance(), + balance: 'some_encrypted_balance', + }, + ], + }); + rawMaxUpdates = dsMockUtils.createMockU16(maxUpdates); + + when(bigNumberToU16Spy).calledWith(maxUpdates, mockContext).mockReturnValue(rawMaxUpdates); + + args = { + confidentialAccount: account, + maxUpdates, + }; + }); + + afterEach(() => { + entityMockUtils.reset(); + procedureMockUtils.reset(); + dsMockUtils.reset(); + }); + + afterAll(() => { + procedureMockUtils.cleanup(); + dsMockUtils.cleanup(); + }); + + it('should throw an error if account is not owned by the signer', async () => { + const proc = procedureMockUtils.getInstance< + ApplyIncomingConfidentialAssetBalancesParams, + ConfidentialAccount + >(mockContext); + + const expectedError = new PolymeshError({ + code: ErrorCode.UnmetPrerequisite, + message: 'The Signing Identity cannot apply incoming balances in the specified account', + }); + + await expect( + prepareApplyIncomingConfidentialAssetBalance.call(proc, { + ...args, + confidentialAccount: entityMockUtils.getConfidentialAccountInstance({ + getIdentity: null, + }), + }) + ).rejects.toThrowError(expectedError); + + await expect( + prepareApplyIncomingConfidentialAssetBalance.call(proc, { + ...args, + confidentialAccount: entityMockUtils.getConfidentialAccountInstance({ + getIdentity: entityMockUtils.getIdentityInstance({ + did: 'someRandomDid', + }), + }), + }) + ).rejects.toThrowError(expectedError); + }); + + it('should throw an error if no incoming balances are present', async () => { + const proc = procedureMockUtils.getInstance< + ApplyIncomingConfidentialAssetBalancesParams, + ConfidentialAccount + >(mockContext); + + const expectedError = new PolymeshError({ + code: ErrorCode.DataUnavailable, + message: 'No incoming balance found for the given confidential Account', + }); + + await expect( + prepareApplyIncomingConfidentialAssetBalance.call(proc, { + ...args, + confidentialAccount: entityMockUtils.getConfidentialAccountInstance(), + }) + ).rejects.toThrowError(expectedError); + }); + + it('should return a apply incoming balances transaction spec', async () => { + const transaction = dsMockUtils.createTxMock('confidentialAsset', 'applyIncomingBalances'); + const proc = procedureMockUtils.getInstance< + ApplyIncomingConfidentialAssetBalancesParams, + ConfidentialAccount + >(mockContext); + + const result = await prepareApplyIncomingConfidentialAssetBalance.call(proc, args); + expect(result).toEqual({ + transaction, + args: [account.publicKey, rawMaxUpdates], + resolver: expect.objectContaining({ publicKey: account.publicKey }), + }); + }); + + describe('getAuthorization', () => { + it('should return the appropriate roles and permissions', () => { + const proc = procedureMockUtils.getInstance< + ApplyIncomingConfidentialAssetBalancesParams, + ConfidentialAccount + >(mockContext); + const boundFunc = getAuthorization.bind(proc); + + expect(boundFunc()).toEqual({ + permissions: { + transactions: [TxTags.confidentialAsset.ApplyIncomingBalances], + assets: [], + portfolios: [], + }, + }); + }); + }); +}); diff --git a/src/api/procedures/applyIncomingConfidentialAssetBalances.ts b/src/api/procedures/applyIncomingConfidentialAssetBalances.ts new file mode 100644 index 0000000000..e80ce04ee5 --- /dev/null +++ b/src/api/procedures/applyIncomingConfidentialAssetBalances.ts @@ -0,0 +1,88 @@ +import { PolymeshError, Procedure } from '~/internal'; +import { + ApplyIncomingConfidentialAssetBalancesParams, + ConfidentialAccount, + ErrorCode, + TxTags, +} from '~/types'; +import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; +import { bigNumberToU16 } from '~/utils/conversion'; +import { asConfidentialAccount } from '~/utils/internal'; + +/** + * @hidden + */ +export async function prepareApplyIncomingConfidentialAssetBalance( + this: Procedure, + args: ApplyIncomingConfidentialAssetBalancesParams +): Promise< + TransactionSpec< + ConfidentialAccount, + ExtrinsicParams<'confidentialAsset', 'applyIncomingBalances'> + > +> { + const { + context: { + polymeshApi: { + tx: { confidentialAsset }, + }, + }, + context, + } = this; + const { maxUpdates, confidentialAccount: accountInput } = args; + + const account = asConfidentialAccount(accountInput, context); + const rawMaxUpdates = bigNumberToU16(maxUpdates, context); + + const [{ did: signingDid }, accountIdentity, incomingBalances] = await Promise.all([ + context.getSigningIdentity(), + account.getIdentity(), + account.getIncomingBalances(), + ]); + + if (!accountIdentity || accountIdentity.did !== signingDid) { + throw new PolymeshError({ + code: ErrorCode.UnmetPrerequisite, + message: 'The Signing Identity cannot apply incoming balances in the specified account', + }); + } + + if (!incomingBalances.length) { + throw new PolymeshError({ + code: ErrorCode.DataUnavailable, + message: 'No incoming balance found for the given confidential Account', + data: { + confidentialAccount: account.publicKey, + }, + }); + } + + return { + transaction: confidentialAsset.applyIncomingBalances, + args: [account.publicKey, rawMaxUpdates], + resolver: account, + }; +} + +/** + * @hidden + */ +export function getAuthorization( + this: Procedure +): ProcedureAuthorization { + return { + permissions: { + transactions: [TxTags.confidentialAsset.ApplyIncomingBalances], + assets: [], + portfolios: [], + }, + }; +} + +/** + * @hidden + */ +export const applyIncomingConfidentialAssetBalance = (): Procedure< + ApplyIncomingConfidentialAssetBalancesParams, + ConfidentialAccount +> => new Procedure(prepareApplyIncomingConfidentialAssetBalance, getAuthorization); diff --git a/src/internal.ts b/src/internal.ts index 6d3e0615ab..0f498b9fcb 100644 --- a/src/internal.ts +++ b/src/internal.ts @@ -1,4 +1,5 @@ /* istanbul ignore file */ + export { PolymeshError } from '~/base/PolymeshError'; export { Context } from '~/base/Context'; export { PolymeshTransactionBase } from '~/base/PolymeshTransactionBase'; @@ -108,6 +109,7 @@ export { TickerReservation } from '~/api/entities/TickerReservation'; export { BaseAsset, FungibleAsset, NftCollection, Nft } from '~/api/entities/Asset'; export { issueConfidentialAssets } from '~/api/procedures/issueConfidentialAssets'; export { applyIncomingAssetBalance } from '~/api/procedures/applyIncomingAssetBalance'; +export { applyIncomingConfidentialAssetBalance } from '~/api/procedures/applyIncomingConfidentialAssetBalances'; export { ConfidentialAccount } from '~/api/entities/confidential/ConfidentialAccount'; export { ConfidentialAsset } from '~/api/entities/confidential/ConfidentialAsset'; export { createConfidentialVenue } from '~/api/procedures/createConfidentialVenue'; diff --git a/src/testUtils/mocks/entities.ts b/src/testUtils/mocks/entities.ts index 5e9c3858e8..1c8a84a83d 100644 --- a/src/testUtils/mocks/entities.ts +++ b/src/testUtils/mocks/entities.ts @@ -51,6 +51,7 @@ import { CheckRolesResult, CollectionKey, ComplianceRequirements, + ConfidentialAssetBalance, ConfidentialAssetDetails, ConfidentialLeg, ConfidentialLegState, @@ -405,6 +406,7 @@ interface ConfidentialAccountOptions extends EntityOptions { publicKey?: string; getIdentity?: EntityGetter; getIncomingBalance?: EntityGetter; + getIncomingBalances?: EntityGetter; } type MockOptions = { @@ -2139,6 +2141,7 @@ const MockConfidentialAccountClass = createMockEntityClass ({ publicKey: 'somePublicKey', getIdentity: getIdentityInstance(), getIncomingBalance: 'someEncryptedBalance', + getIncomingBalances: [], }), ['ConfidentialAccount'] ); diff --git a/src/utils/constants.ts b/src/utils/constants.ts index c584774148..4cd57abb3f 100644 --- a/src/utils/constants.ts +++ b/src/utils/constants.ts @@ -105,7 +105,7 @@ export const ROOT_TYPES = rootTypes; /** * The Polymesh RPC node version range that is compatible with this version of the SDK */ -export const SUPPORTED_NODE_VERSION_RANGE = '6.0 || 6.1'; +export const SUPPORTED_NODE_VERSION_RANGE = '6.0 || 6.1 || 6.2'; // eslint-disable-next-line @typescript-eslint/no-non-null-assertion export const SUPPORTED_NODE_SEMVER = coerce(SUPPORTED_NODE_VERSION_RANGE)!.version; @@ -113,7 +113,7 @@ export const SUPPORTED_NODE_SEMVER = coerce(SUPPORTED_NODE_VERSION_RANGE)!.versi /** * The Polymesh chain spec version range that is compatible with this version of the SDK */ -export const SUPPORTED_SPEC_VERSION_RANGE = '6.0 || 6.1'; +export const SUPPORTED_SPEC_VERSION_RANGE = '6.0 || 6.1 || 6.2'; // eslint-disable-next-line @typescript-eslint/no-non-null-assertion export const SUPPORTED_SPEC_SEMVER = coerce(SUPPORTED_SPEC_VERSION_RANGE)!.version; diff --git a/src/utils/conversion.ts b/src/utils/conversion.ts index 400047f6e0..aee32aa678 100644 --- a/src/utils/conversion.ts +++ b/src/utils/conversion.ts @@ -1219,6 +1219,15 @@ export function meshPermissionsToPermissions( }; } +/** + * @hidden + */ +export function bigNumberToU16(value: BigNumber, context: Context): u16 { + assertIsInteger(value); + assertIsPositive(value); + return context.createType('u16', value.toString()); +} + /** * @hidden */ From 51d099b90af61a9f46a3301fc5d035a2ea6bd686 Mon Sep 17 00:00:00 2001 From: Prashant Bajpai <34747455+prashantasdeveloper@users.noreply.github.com> Date: Tue, 27 Feb 2024 16:45:34 +0530 Subject: [PATCH 100/120] =?UTF-8?q?test:=20=F0=9F=92=8D=20Add=20unit=20tes?= =?UTF-8?q?t=20for=20coversion=20func?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/__tests__/conversion.ts | 33 +++++++++++++++++++++++++++++-- 1 file changed, 31 insertions(+), 2 deletions(-) diff --git a/src/utils/__tests__/conversion.ts b/src/utils/__tests__/conversion.ts index f118d1f3cb..bed8490a4d 100644 --- a/src/utils/__tests__/conversion.ts +++ b/src/utils/__tests__/conversion.ts @@ -1,5 +1,5 @@ import { DecoratedErrors } from '@polkadot/api/types'; -import { bool, Bytes, Option, Text, u32, u64, u128, Vec } from '@polkadot/types'; +import { bool, Bytes, Option, Text, u16, u32, u64, u128, Vec } from '@polkadot/types'; import { AccountId, Balance, @@ -181,6 +181,7 @@ import { import { InstructionStatus, PermissionGroupIdentifier } from '~/types/internal'; import { tuple } from '~/types/utils'; import { DUMMY_ACCOUNT_ID, MAX_BALANCE, MAX_DECIMALS, MAX_TICKER_LENGTH } from '~/utils/constants'; +import { bigNumberToU16 } from '~/utils/conversion'; import * as internalUtils from '~/utils/internal'; import { padString } from '~/utils/internal'; @@ -2262,7 +2263,7 @@ describe('u128ToBigNumber', () => { }); }); -describe('u16ToBigNumber', () => { +describe('bigNumberToU16 anb u16ToBigNumber', () => { beforeAll(() => { dsMockUtils.initMocks(); }); @@ -2275,6 +2276,34 @@ describe('u16ToBigNumber', () => { dsMockUtils.cleanup(); }); + describe('bigNumberToU16', () => { + it('should convert a number to a polkadot u16 object', () => { + const value = new BigNumber(100); + const fakeResult = '100' as unknown as u16; + const context = dsMockUtils.getContextInstance(); + + when(context.createType).calledWith('u16', value.toString()).mockReturnValue(fakeResult); + + const result = bigNumberToU16(value, context); + + expect(result).toBe(fakeResult); + }); + + it('should throw an error if the number is negative', () => { + const value = new BigNumber(-100); + const context = dsMockUtils.getContextInstance(); + + expect(() => bigNumberToU16(value, context)).toThrow(); + }); + + it('should throw an error if the number is not an integer', () => { + const value = new BigNumber(1.5); + const context = dsMockUtils.getContextInstance(); + + expect(() => bigNumberToU16(value, context)).toThrow(); + }); + }); + describe('u16ToBigNumber', () => { it('should convert a polkadot u32 object to a BigNumber', () => { const fakeResult = new BigNumber(100); From 3b65fbb779f20f2ac5266025dfba11a10467ff1e Mon Sep 17 00:00:00 2001 From: Eric Richardson Date: Mon, 26 Feb 2024 13:40:50 -0500 Subject: [PATCH 101/120] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20allow=20freeze/u?= =?UTF-8?q?nfreeze=20of=20confidential=20assets?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit add .freeze and .unfreeze methods to ConfidentialAsset and a isFrozen getter ✅ Closes: DA-1085 --- .../confidential/ConfidentialAsset/index.ts | 54 +++++++++ .../__tests__/ConfidentialAsset/index.ts | 52 +++++++++ .../toggleFreezeConfidentialAsset.ts | 104 ++++++++++++++++++ .../toggleFreezeConfidentialAsset.ts | 69 ++++++++++++ src/internal.ts | 1 + src/testUtils/mocks/entities.ts | 4 + 6 files changed, 284 insertions(+) create mode 100644 src/api/procedures/__tests__/toggleFreezeConfidentialAsset.ts create mode 100644 src/api/procedures/toggleFreezeConfidentialAsset.ts diff --git a/src/api/entities/confidential/ConfidentialAsset/index.ts b/src/api/entities/confidential/ConfidentialAsset/index.ts index 6aaccd9671..0870a94845 100644 --- a/src/api/entities/confidential/ConfidentialAsset/index.ts +++ b/src/api/entities/confidential/ConfidentialAsset/index.ts @@ -12,6 +12,7 @@ import { issueConfidentialAssets, PolymeshError, setConfidentialVenueFiltering, + toggleFreezeConfidentialAsset, } from '~/internal'; import { confidentialAssetQuery, @@ -27,6 +28,7 @@ import { EventIdentifier, GroupedAuditors, IssueConfidentialAssetParams, + NoArgsProcedureMethod, ProcedureMethod, ResultSet, SetVenueFilteringParams, @@ -111,6 +113,28 @@ export class ConfidentialAsset extends Entity { { getProcedureAndArgs: args => [setConfidentialVenueFiltering, { assetId: id, ...args }] }, context ); + + this.freeze = createProcedureMethod( + { + getProcedureAndArgs: () => [ + toggleFreezeConfidentialAsset, + { confidentialAsset: this, freeze: true }, + ], + voidArgs: true, + }, + context + ); + + this.unfreeze = createProcedureMethod( + { + getProcedureAndArgs: () => [ + toggleFreezeConfidentialAsset, + { confidentialAsset: this, freeze: false }, + ], + voidArgs: true, + }, + context + ); } /** @@ -136,6 +160,16 @@ export class ConfidentialAsset extends Entity { */ public setVenueFiltering: ProcedureMethod; + /** + * Freezes all trading for the asset + */ + public freeze: NoArgsProcedureMethod; + + /** + * Allows trading to resume for the asset + */ + public unfreeze: NoArgsProcedureMethod; + /** * @hidden */ @@ -339,4 +373,24 @@ export class ConfidentialAsset extends Entity { return optionize(middlewareEventDetailsToEventIdentifier)(asset?.createdBlock, asset?.eventIdx); } + + /** + * Returns whether the asset has suspended all trading or not + */ + public async isFrozen(): Promise { + const { + id, + context: { + polymeshApi: { + query: { confidentialAsset }, + }, + }, + } = this; + + const rawAssetId = serializeConfidentialAssetId(id); + + const rawIsFrozen = await confidentialAsset.assetFrozen(rawAssetId); + + return boolToBoolean(rawIsFrozen); + } } diff --git a/src/api/entities/confidential/__tests__/ConfidentialAsset/index.ts b/src/api/entities/confidential/__tests__/ConfidentialAsset/index.ts index 2aec7fe3bf..e2da93dc6f 100644 --- a/src/api/entities/confidential/__tests__/ConfidentialAsset/index.ts +++ b/src/api/entities/confidential/__tests__/ConfidentialAsset/index.ts @@ -38,6 +38,7 @@ describe('ConfidentialAsset class', () => { ownerDid: 'SOME_DID', }; let detailsQueryMock: jest.Mock; + let assetFrozenMock: jest.Mock; beforeAll(() => { dsMockUtils.initMocks(); @@ -51,6 +52,7 @@ describe('ConfidentialAsset class', () => { context = dsMockUtils.getContextInstance(); confidentialAsset = new ConfidentialAsset({ id: assetId }, context); detailsQueryMock = dsMockUtils.createQueryMock('confidentialAsset', 'details'); + assetFrozenMock = dsMockUtils.createQueryMock('confidentialAsset', 'assetFrozen'); detailsQueryMock.mockResolvedValue( dsMockUtils.createMockOption( @@ -60,6 +62,8 @@ describe('ConfidentialAsset class', () => { }) ) ); + + assetFrozenMock.mockResolvedValue(dsMockUtils.createMockBool(false)); }); afterEach(() => { @@ -317,6 +321,54 @@ describe('ConfidentialAsset class', () => { }); }); + describe('method: isFrozen', () => { + it('should return false if Confidential Asset is not frozen', async () => { + const result = await confidentialAsset.isFrozen(); + + expect(result).toEqual(false); + }); + }); + + describe('method: freeze', () => { + it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { + const freeze = true; + + const args = { + freeze, + }; + + const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; + + when(procedureMockUtils.getPrepareMock()) + .calledWith({ args: { confidentialAsset, ...args }, transformer: undefined }, context, {}) + .mockResolvedValue(expectedTransaction); + + const tx = await confidentialAsset.freeze(); + + expect(tx).toBe(expectedTransaction); + }); + }); + + describe('method: unfreeze', () => { + it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { + const freeze = false; + + const args = { + freeze, + }; + + const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; + + when(procedureMockUtils.getPrepareMock()) + .calledWith({ args: { confidentialAsset, ...args }, transformer: undefined }, context, {}) + .mockResolvedValue(expectedTransaction); + + const tx = await confidentialAsset.unfreeze(); + + expect(tx).toBe(expectedTransaction); + }); + }); + describe('method: exists', () => { it('should return if Confidential Asset exists', async () => { let result = await confidentialAsset.exists(); diff --git a/src/api/procedures/__tests__/toggleFreezeConfidentialAsset.ts b/src/api/procedures/__tests__/toggleFreezeConfidentialAsset.ts new file mode 100644 index 0000000000..def1c65069 --- /dev/null +++ b/src/api/procedures/__tests__/toggleFreezeConfidentialAsset.ts @@ -0,0 +1,104 @@ +import { when } from 'jest-when'; + +import { + getAuthorization, + Params, + prepareToggleFreezeConfidentialAsset, +} from '~/api/procedures/toggleFreezeConfidentialAsset'; +import { Context } from '~/internal'; +import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; +import { Mocked } from '~/testUtils/types'; +import { ConfidentialAsset, RoleType, TxTags } from '~/types'; +import * as utilsConversionModule from '~/utils/conversion'; + +describe('toggleFreezeConfidentialAsset procedure', () => { + let mockContext: Mocked; + let confidentialAsset: ConfidentialAsset; + let rawId: string; + let booleanToBoolSpy: jest.SpyInstance; + + beforeAll(() => { + dsMockUtils.initMocks(); + procedureMockUtils.initMocks(); + entityMockUtils.initMocks(); + }); + + beforeEach(() => { + mockContext = dsMockUtils.getContextInstance(); + confidentialAsset = entityMockUtils.getConfidentialAssetInstance(); + rawId = '0x76702175d8cbe3a55a19734433351e26'; + booleanToBoolSpy = jest.spyOn(utilsConversionModule, 'booleanToBool'); + when(booleanToBoolSpy).calledWith(true).mockReturnValue(dsMockUtils.createMockBool(true)); + when(booleanToBoolSpy).calledWith(false).mockReturnValue(dsMockUtils.createMockBool(false)); + }); + + afterEach(() => { + entityMockUtils.reset(); + procedureMockUtils.reset(); + dsMockUtils.reset(); + }); + + afterAll(() => { + procedureMockUtils.cleanup(); + dsMockUtils.cleanup(); + }); + + it('should throw an error if freeze is set to true and the Asset is already frozen', () => { + const frozenAsset = entityMockUtils.getConfidentialAssetInstance({ + isFrozen: true, + }); + + const proc = procedureMockUtils.getInstance(mockContext); + + return expect( + prepareToggleFreezeConfidentialAsset.call(proc, { + confidentialAsset: frozenAsset, + freeze: true, + }) + ).rejects.toThrow('The Asset is already frozen'); + }); + + it('should throw an error if freeze is set to false and the Asset is already unfrozen', () => { + const proc = procedureMockUtils.getInstance(mockContext); + + return expect( + prepareToggleFreezeConfidentialAsset.call(proc, { + confidentialAsset, + freeze: false, + }) + ).rejects.toThrow('The Asset is already unfrozen'); + }); + + it('should return a freeze transaction spec', async () => { + const proc = procedureMockUtils.getInstance(mockContext); + + const transaction = dsMockUtils.createTxMock('confidentialAsset', 'setAssetFrozen'); + + const result = await prepareToggleFreezeConfidentialAsset.call(proc, { + confidentialAsset, + freeze: true, + }); + + expect(result).toEqual({ + transaction, + args: [rawId], + resolver: undefined, + }); + }); + + describe('getAuthorization', () => { + it('should return the appropriate roles and permissions', () => { + const proc = procedureMockUtils.getInstance(mockContext); + const boundFunc = getAuthorization.bind(proc); + + expect(boundFunc({ confidentialAsset, freeze: false })).toEqual({ + roles: [{ assetId: confidentialAsset.id, type: RoleType.ConfidentialAssetOwner }], + permissions: { + transactions: [TxTags.confidentialAsset.SetAssetFrozen], + assets: [], + portfolios: [], + }, + }); + }); + }); +}); diff --git a/src/api/procedures/toggleFreezeConfidentialAsset.ts b/src/api/procedures/toggleFreezeConfidentialAsset.ts new file mode 100644 index 0000000000..2cb964c8c9 --- /dev/null +++ b/src/api/procedures/toggleFreezeConfidentialAsset.ts @@ -0,0 +1,69 @@ +import { ConfidentialAsset, PolymeshError, Procedure } from '~/internal'; +import { ErrorCode, RoleType, TxTags } from '~/types'; +import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; +import { booleanToBool, serializeConfidentialAssetId } from '~/utils/conversion'; + +/** + * @hidden + */ +export type Params = { + confidentialAsset: ConfidentialAsset; + freeze: boolean; +}; + +/** + * @hidden + */ +export async function prepareToggleFreezeConfidentialAsset( + this: Procedure, + args: Params +): Promise>> { + const { + context: { + polymeshApi: { tx }, + }, + context, + } = this; + const { confidentialAsset, freeze } = args; + + const isFrozen = await confidentialAsset.isFrozen(); + + const rawAssetId = serializeConfidentialAssetId(confidentialAsset); + const rawFreeze = booleanToBool(freeze, context); + + if (freeze === isFrozen) { + throw new PolymeshError({ + code: ErrorCode.NoDataChange, + message: `The Asset is already ${freeze ? 'frozen' : 'unfrozen'}`, + }); + } + + return { + transaction: tx.confidentialAsset.setAssetFrozen, + args: [rawAssetId, rawFreeze], + resolver: undefined, + }; +} + +/** + * @hidden + */ +export function getAuthorization( + this: Procedure, + { confidentialAsset: asset }: Params +): ProcedureAuthorization { + return { + roles: [{ type: RoleType.ConfidentialAssetOwner, assetId: asset.id }], + permissions: { + transactions: [TxTags.confidentialAsset.SetAssetFrozen], + assets: [], + portfolios: [], + }, + }; +} + +/** + * @hidden + */ +export const toggleFreezeConfidentialAsset = (): Procedure => + new Procedure(prepareToggleFreezeConfidentialAsset, getAuthorization); diff --git a/src/internal.ts b/src/internal.ts index 0a705cff23..e6e4095575 100644 --- a/src/internal.ts +++ b/src/internal.ts @@ -174,3 +174,4 @@ export { removeAssetStat } from '~/api/procedures/removeAssetStat'; export { setVenueFiltering } from '~/api/procedures/setVenueFiltering'; export { setConfidentialVenueFiltering } from '~/api/procedures/setConfidentialVenueFiltering'; export { registerCustomClaimType } from '~/api/procedures/registerCustomClaimType'; +export { toggleFreezeConfidentialAsset } from '~/api/procedures/toggleFreezeConfidentialAsset'; diff --git a/src/testUtils/mocks/entities.ts b/src/testUtils/mocks/entities.ts index 5e9c3858e8..9327bcf65b 100644 --- a/src/testUtils/mocks/entities.ts +++ b/src/testUtils/mocks/entities.ts @@ -384,6 +384,7 @@ interface ConfidentialAssetOptions extends EntityOptions { id?: string; details?: EntityGetter; getVenueFilteringDetails?: EntityGetter; + isFrozen?: EntityGetter; } interface ConfidentialVenueOptions extends EntityOptions { @@ -2171,6 +2172,7 @@ const MockConfidentialAssetClass = createMockEntityClass ({ @@ -2198,6 +2201,7 @@ const MockConfidentialAssetClass = createMockEntityClass Date: Wed, 28 Feb 2024 22:08:41 +0530 Subject: [PATCH 102/120] =?UTF-8?q?chore:=20=F0=9F=A4=96=20Address=20PR=20?= =?UTF-8?q?comments?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/client/ConfidentialAccounts.ts | 4 +-- .../confidential/ConfidentialAccount/types.ts | 4 +-- .../applyIncomingConfidentialAssetBalances.ts | 31 ++++++++++++++----- .../applyIncomingConfidentialAssetBalances.ts | 20 ++++++++---- src/internal.ts | 2 +- src/utils/__tests__/conversion.ts | 2 +- 6 files changed, 44 insertions(+), 19 deletions(-) diff --git a/src/api/client/ConfidentialAccounts.ts b/src/api/client/ConfidentialAccounts.ts index e418ed27ab..9f481ad7d3 100644 --- a/src/api/client/ConfidentialAccounts.ts +++ b/src/api/client/ConfidentialAccounts.ts @@ -1,6 +1,6 @@ import { applyIncomingAssetBalance, - applyIncomingConfidentialAssetBalance, + applyIncomingConfidentialAssetBalances, ConfidentialAccount, Context, createConfidentialAccount, @@ -43,7 +43,7 @@ export class ConfidentialAccounts { this.applyIncomingBalances = createProcedureMethod( { - getProcedureAndArgs: args => [applyIncomingConfidentialAssetBalance, { ...args }], + getProcedureAndArgs: args => [applyIncomingConfidentialAssetBalances, { ...args }], }, context ); diff --git a/src/api/entities/confidential/ConfidentialAccount/types.ts b/src/api/entities/confidential/ConfidentialAccount/types.ts index dc4a77f87e..c1a4d66040 100644 --- a/src/api/entities/confidential/ConfidentialAccount/types.ts +++ b/src/api/entities/confidential/ConfidentialAccount/types.ts @@ -44,7 +44,7 @@ export interface ApplyIncomingConfidentialAssetBalancesParams { confidentialAccount: string | ConfidentialAccount; /** - * The maximum number of incoming balances to apply + * The maximum number of incoming balances to apply. Applies all incoming balances if no value is passed */ - maxUpdates: BigNumber; + maxUpdates?: BigNumber; } diff --git a/src/api/procedures/__tests__/applyIncomingConfidentialAssetBalances.ts b/src/api/procedures/__tests__/applyIncomingConfidentialAssetBalances.ts index 474ed6c313..0500275543 100644 --- a/src/api/procedures/__tests__/applyIncomingConfidentialAssetBalances.ts +++ b/src/api/procedures/__tests__/applyIncomingConfidentialAssetBalances.ts @@ -4,7 +4,7 @@ import { when } from 'jest-when'; import { getAuthorization, - prepareApplyIncomingConfidentialAssetBalance, + prepareApplyIncomingConfidentialAssetBalances, } from '~/api/procedures/applyIncomingConfidentialAssetBalances'; import { Context, PolymeshError } from '~/internal'; import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; @@ -17,7 +17,7 @@ import { } from '~/types'; import * as utilsConversionModule from '~/utils/conversion'; -describe('applyIncomingConfidentialAssetBalance procedure', () => { +describe('applyIncomingConfidentialAssetBalances procedure', () => { let mockContext: Mocked; let account: ConfidentialAccount; let maxUpdates: BigNumber; @@ -36,7 +36,7 @@ describe('applyIncomingConfidentialAssetBalance procedure', () => { beforeEach(() => { mockContext = dsMockUtils.getContextInstance(); - maxUpdates = new BigNumber(1); + maxUpdates = new BigNumber(2); account = entityMockUtils.getConfidentialAccountInstance({ getIncomingBalances: [ { @@ -78,7 +78,7 @@ describe('applyIncomingConfidentialAssetBalance procedure', () => { }); await expect( - prepareApplyIncomingConfidentialAssetBalance.call(proc, { + prepareApplyIncomingConfidentialAssetBalances.call(proc, { ...args, confidentialAccount: entityMockUtils.getConfidentialAccountInstance({ getIdentity: null, @@ -87,7 +87,7 @@ describe('applyIncomingConfidentialAssetBalance procedure', () => { ).rejects.toThrowError(expectedError); await expect( - prepareApplyIncomingConfidentialAssetBalance.call(proc, { + prepareApplyIncomingConfidentialAssetBalances.call(proc, { ...args, confidentialAccount: entityMockUtils.getConfidentialAccountInstance({ getIdentity: entityMockUtils.getIdentityInstance({ @@ -110,7 +110,7 @@ describe('applyIncomingConfidentialAssetBalance procedure', () => { }); await expect( - prepareApplyIncomingConfidentialAssetBalance.call(proc, { + prepareApplyIncomingConfidentialAssetBalances.call(proc, { ...args, confidentialAccount: entityMockUtils.getConfidentialAccountInstance(), }) @@ -124,12 +124,29 @@ describe('applyIncomingConfidentialAssetBalance procedure', () => { ConfidentialAccount >(mockContext); - const result = await prepareApplyIncomingConfidentialAssetBalance.call(proc, args); + let result = await prepareApplyIncomingConfidentialAssetBalances.call(proc, args); expect(result).toEqual({ transaction, args: [account.publicKey, rawMaxUpdates], resolver: expect.objectContaining({ publicKey: account.publicKey }), }); + + // maxUpdates to equal all incoming balances length + const newMaxUpdates = new BigNumber(1); + const rawNewMaxUpdates = dsMockUtils.createMockU16(newMaxUpdates); + when(bigNumberToU16Spy) + .calledWith(newMaxUpdates, mockContext) + .mockReturnValue(rawNewMaxUpdates); + + result = await prepareApplyIncomingConfidentialAssetBalances.call(proc, { + ...args, + maxUpdates: undefined, + }); + expect(result).toEqual({ + transaction, + args: [account.publicKey, rawNewMaxUpdates], + resolver: expect.objectContaining({ publicKey: account.publicKey }), + }); }); describe('getAuthorization', () => { diff --git a/src/api/procedures/applyIncomingConfidentialAssetBalances.ts b/src/api/procedures/applyIncomingConfidentialAssetBalances.ts index e80ce04ee5..27bdd166e1 100644 --- a/src/api/procedures/applyIncomingConfidentialAssetBalances.ts +++ b/src/api/procedures/applyIncomingConfidentialAssetBalances.ts @@ -1,3 +1,5 @@ +import { BigNumber } from 'bignumber.js'; + import { PolymeshError, Procedure } from '~/internal'; import { ApplyIncomingConfidentialAssetBalancesParams, @@ -12,7 +14,7 @@ import { asConfidentialAccount } from '~/utils/internal'; /** * @hidden */ -export async function prepareApplyIncomingConfidentialAssetBalance( +export async function prepareApplyIncomingConfidentialAssetBalances( this: Procedure, args: ApplyIncomingConfidentialAssetBalancesParams ): Promise< @@ -29,10 +31,8 @@ export async function prepareApplyIncomingConfidentialAssetBalance( }, context, } = this; - const { maxUpdates, confidentialAccount: accountInput } = args; - const account = asConfidentialAccount(accountInput, context); - const rawMaxUpdates = bigNumberToU16(maxUpdates, context); + const account = asConfidentialAccount(args.confidentialAccount, context); const [{ did: signingDid }, accountIdentity, incomingBalances] = await Promise.all([ context.getSigningIdentity(), @@ -57,6 +57,14 @@ export async function prepareApplyIncomingConfidentialAssetBalance( }); } + let { maxUpdates } = args; + + if (!maxUpdates) { + maxUpdates = new BigNumber(incomingBalances.length); + } + + const rawMaxUpdates = bigNumberToU16(maxUpdates, context); + return { transaction: confidentialAsset.applyIncomingBalances, args: [account.publicKey, rawMaxUpdates], @@ -82,7 +90,7 @@ export function getAuthorization( /** * @hidden */ -export const applyIncomingConfidentialAssetBalance = (): Procedure< +export const applyIncomingConfidentialAssetBalances = (): Procedure< ApplyIncomingConfidentialAssetBalancesParams, ConfidentialAccount -> => new Procedure(prepareApplyIncomingConfidentialAssetBalance, getAuthorization); +> => new Procedure(prepareApplyIncomingConfidentialAssetBalances, getAuthorization); diff --git a/src/internal.ts b/src/internal.ts index 0f498b9fcb..e663b0c437 100644 --- a/src/internal.ts +++ b/src/internal.ts @@ -109,7 +109,7 @@ export { TickerReservation } from '~/api/entities/TickerReservation'; export { BaseAsset, FungibleAsset, NftCollection, Nft } from '~/api/entities/Asset'; export { issueConfidentialAssets } from '~/api/procedures/issueConfidentialAssets'; export { applyIncomingAssetBalance } from '~/api/procedures/applyIncomingAssetBalance'; -export { applyIncomingConfidentialAssetBalance } from '~/api/procedures/applyIncomingConfidentialAssetBalances'; +export { applyIncomingConfidentialAssetBalances } from '~/api/procedures/applyIncomingConfidentialAssetBalances'; export { ConfidentialAccount } from '~/api/entities/confidential/ConfidentialAccount'; export { ConfidentialAsset } from '~/api/entities/confidential/ConfidentialAsset'; export { createConfidentialVenue } from '~/api/procedures/createConfidentialVenue'; diff --git a/src/utils/__tests__/conversion.ts b/src/utils/__tests__/conversion.ts index bed8490a4d..285d097002 100644 --- a/src/utils/__tests__/conversion.ts +++ b/src/utils/__tests__/conversion.ts @@ -2263,7 +2263,7 @@ describe('u128ToBigNumber', () => { }); }); -describe('bigNumberToU16 anb u16ToBigNumber', () => { +describe('bigNumberToU16 and u16ToBigNumber', () => { beforeAll(() => { dsMockUtils.initMocks(); }); From 80f5470021c0be275fb405143318d13999c482ff Mon Sep 17 00:00:00 2001 From: Eric Richardson Date: Wed, 28 Feb 2024 15:49:14 -0500 Subject: [PATCH 103/120] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20add=20freeze/unf?= =?UTF-8?q?reeze=20account=20for=20confidential=20asset?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit add freezeAccount, unfreezeAccount and isAccountFrozen method on Confidential Asset --- .../confidential/ConfidentialAsset/index.ts | 59 +++++++++ .../__tests__/ConfidentialAsset/index.ts | 61 ++++++++- .../toggleFreezeConfidentialAccountAsset.ts | 122 ++++++++++++++++++ .../toggleFreezeConfidentialAsset.ts | 8 +- .../toggleFreezeConfidentialAccountAsset.ts | 81 ++++++++++++ src/api/procedures/types.ts | 4 + src/internal.ts | 2 + src/testUtils/mocks/entities.ts | 4 + 8 files changed, 337 insertions(+), 4 deletions(-) create mode 100644 src/api/procedures/__tests__/toggleFreezeConfidentialAccountAsset.ts create mode 100644 src/api/procedures/toggleFreezeConfidentialAccountAsset.ts diff --git a/src/api/entities/confidential/ConfidentialAsset/index.ts b/src/api/entities/confidential/ConfidentialAsset/index.ts index 0870a94845..b8fbd357bb 100644 --- a/src/api/entities/confidential/ConfidentialAsset/index.ts +++ b/src/api/entities/confidential/ConfidentialAsset/index.ts @@ -12,6 +12,7 @@ import { issueConfidentialAssets, PolymeshError, setConfidentialVenueFiltering, + toggleFreezeConfidentialAccountAsset, toggleFreezeConfidentialAsset, } from '~/internal'; import { @@ -26,6 +27,7 @@ import { ConfidentialVenueFilteringDetails, ErrorCode, EventIdentifier, + FreezeConfidentialAccountAssetParams, GroupedAuditors, IssueConfidentialAssetParams, NoArgsProcedureMethod, @@ -37,6 +39,7 @@ import { Ensured } from '~/types/utils'; import { boolToBoolean, bytesToString, + confidentialAccountToMeshPublicKey, identityIdToString, middlewareAssetHistoryToTransactionHistory, middlewareEventDetailsToEventIdentifier, @@ -45,6 +48,7 @@ import { u128ToBigNumber, } from '~/utils/conversion'; import { + asConfidentialAccount, assertCaAssetValid, calculateNextKey, createProcedureMethod, @@ -135,6 +139,26 @@ export class ConfidentialAsset extends Entity { }, context ); + + this.freezeAccount = createProcedureMethod( + { + getProcedureAndArgs: args => [ + toggleFreezeConfidentialAccountAsset, + { confidentialAsset: this, freeze: true, ...args }, + ], + }, + context + ); + + this.unfreezeAccount = createProcedureMethod( + { + getProcedureAndArgs: args => [ + toggleFreezeConfidentialAccountAsset, + { confidentialAsset: this, freeze: false, ...args }, + ], + }, + context + ); } /** @@ -170,6 +194,16 @@ export class ConfidentialAsset extends Entity { */ public unfreeze: NoArgsProcedureMethod; + /** + * Freezes all trading for the asset for the specified account + */ + public freezeAccount: ProcedureMethod; + + /** + * Allows trading to resume for the asset for the specified account + */ + public unfreezeAccount: ProcedureMethod; + /** * @hidden */ @@ -393,4 +427,29 @@ export class ConfidentialAsset extends Entity { return boolToBoolean(rawIsFrozen); } + + /** + * Returns whether the confidential account has been suspended from trading the asset or not + */ + public async isAccountFrozen( + confidentialAccount: ConfidentialAccount | string + ): Promise { + const { + id, + context, + context: { + polymeshApi: { + query: { confidentialAsset }, + }, + }, + } = this; + + const account = asConfidentialAccount(confidentialAccount, context); + const rawAccountId = confidentialAccountToMeshPublicKey(account, context); + const rawAssetId = serializeConfidentialAssetId(id); + + const rawIsAccountFrozen = await confidentialAsset.accountAssetFrozen(rawAccountId, rawAssetId); + + return boolToBoolean(rawIsAccountFrozen); + } } diff --git a/src/api/entities/confidential/__tests__/ConfidentialAsset/index.ts b/src/api/entities/confidential/__tests__/ConfidentialAsset/index.ts index e2da93dc6f..865c931ce9 100644 --- a/src/api/entities/confidential/__tests__/ConfidentialAsset/index.ts +++ b/src/api/entities/confidential/__tests__/ConfidentialAsset/index.ts @@ -8,7 +8,7 @@ import { transactionHistoryByConfidentialAssetQuery, } from '~/middleware/queries'; import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { ConfidentialAssetTransactionHistory, ErrorCode } from '~/types'; +import { ConfidentialAccount, ConfidentialAssetTransactionHistory, ErrorCode } from '~/types'; import { tuple } from '~/types/utils'; import * as utilsConversionModule from '~/utils/conversion'; @@ -31,6 +31,7 @@ describe('ConfidentialAsset class', () => { let assetId: string; let id: string; let confidentialAsset: ConfidentialAsset; + let mockConfidentialAccount: ConfidentialAccount; let context: Context; const assetDetails = { totalSupply: new BigNumber(100), @@ -39,6 +40,7 @@ describe('ConfidentialAsset class', () => { }; let detailsQueryMock: jest.Mock; let assetFrozenMock: jest.Mock; + let accountAssetFrozenMock: jest.Mock; beforeAll(() => { dsMockUtils.initMocks(); @@ -51,8 +53,10 @@ describe('ConfidentialAsset class', () => { id = '76702175-d8cb-e3a5-5a19-734433351e25'; context = dsMockUtils.getContextInstance(); confidentialAsset = new ConfidentialAsset({ id: assetId }, context); + mockConfidentialAccount = entityMockUtils.getConfidentialAccountInstance(); detailsQueryMock = dsMockUtils.createQueryMock('confidentialAsset', 'details'); assetFrozenMock = dsMockUtils.createQueryMock('confidentialAsset', 'assetFrozen'); + accountAssetFrozenMock = dsMockUtils.createQueryMock('confidentialAsset', 'accountAssetFrozen'); detailsQueryMock.mockResolvedValue( dsMockUtils.createMockOption( @@ -64,6 +68,7 @@ describe('ConfidentialAsset class', () => { ); assetFrozenMock.mockResolvedValue(dsMockUtils.createMockBool(false)); + accountAssetFrozenMock.mockResolvedValue(dsMockUtils.createMockBool(false)); }); afterEach(() => { @@ -329,6 +334,14 @@ describe('ConfidentialAsset class', () => { }); }); + describe('method: isAccountFrozen', () => { + it('should return false if Confidential Account is not frozen for the asset', async () => { + const result = await confidentialAsset.isAccountFrozen(mockConfidentialAccount); + + expect(result).toEqual(false); + }); + }); + describe('method: freeze', () => { it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { const freeze = true; @@ -369,6 +382,52 @@ describe('ConfidentialAsset class', () => { }); }); + describe('method: freezeAccount', () => { + it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { + const freeze = true; + + const args = { + freeze, + confidentialAccount: mockConfidentialAccount, + }; + + const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; + + when(procedureMockUtils.getPrepareMock()) + .calledWith({ args: { confidentialAsset, ...args }, transformer: undefined }, context, {}) + .mockResolvedValue(expectedTransaction); + + const tx = await confidentialAsset.freezeAccount({ + confidentialAccount: mockConfidentialAccount, + }); + + expect(tx).toBe(expectedTransaction); + }); + }); + + describe('method: unfreezeAccount', () => { + it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { + const freeze = false; + + const args = { + freeze, + confidentialAccount: mockConfidentialAccount, + }; + + const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; + + when(procedureMockUtils.getPrepareMock()) + .calledWith({ args: { confidentialAsset, ...args }, transformer: undefined }, context, {}) + .mockResolvedValue(expectedTransaction); + + const tx = await confidentialAsset.unfreezeAccount({ + confidentialAccount: mockConfidentialAccount, + }); + + expect(tx).toBe(expectedTransaction); + }); + }); + describe('method: exists', () => { it('should return if Confidential Asset exists', async () => { let result = await confidentialAsset.exists(); diff --git a/src/api/procedures/__tests__/toggleFreezeConfidentialAccountAsset.ts b/src/api/procedures/__tests__/toggleFreezeConfidentialAccountAsset.ts new file mode 100644 index 0000000000..3feb9852cd --- /dev/null +++ b/src/api/procedures/__tests__/toggleFreezeConfidentialAccountAsset.ts @@ -0,0 +1,122 @@ +import { bool } from '@polkadot/types'; +import { PalletConfidentialAssetConfidentialAccount } from '@polkadot/types/lookup'; +import { when } from 'jest-when'; + +import { + getAuthorization, + Params, + prepareToggleFreezeConfidentialAccountAsset, +} from '~/api/procedures/toggleFreezeConfidentialAccountAsset'; +import { Context } from '~/internal'; +import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; +import { Mocked } from '~/testUtils/types'; +import { ConfidentialAccount, ConfidentialAsset, RoleType, TxTags } from '~/types'; +import * as utilsConversionModule from '~/utils/conversion'; + +describe('toggleFreezeConfidentialAccountAsset procedure', () => { + let mockContext: Mocked; + let confidentialAsset: ConfidentialAsset; + let confidentialAccount: ConfidentialAccount; + let rawAssetId: string; + let rawPublicKey: PalletConfidentialAssetConfidentialAccount; + let booleanToBoolSpy: jest.SpyInstance; + let confidentialAccountToMeshPublicKeySpy: jest.SpyInstance; + let rawTrue: bool; + + beforeAll(() => { + dsMockUtils.initMocks(); + procedureMockUtils.initMocks(); + entityMockUtils.initMocks(); + }); + + beforeEach(() => { + mockContext = dsMockUtils.getContextInstance(); + confidentialAsset = entityMockUtils.getConfidentialAssetInstance(); + confidentialAccount = entityMockUtils.getConfidentialAccountInstance(); + rawPublicKey = dsMockUtils.createMockConfidentialAccount(confidentialAccount.publicKey); + rawAssetId = '0x76702175d8cbe3a55a19734433351e26'; + rawTrue = dsMockUtils.createMockBool(true); + booleanToBoolSpy = jest.spyOn(utilsConversionModule, 'booleanToBool'); + confidentialAccountToMeshPublicKeySpy = jest.spyOn( + utilsConversionModule, + 'confidentialAccountToMeshPublicKey' + ); + when(booleanToBoolSpy).calledWith(true, mockContext).mockReturnValue(rawTrue); + when(confidentialAccountToMeshPublicKeySpy) + .calledWith(confidentialAccount, mockContext) + .mockReturnValue(rawPublicKey); + }); + + afterEach(() => { + entityMockUtils.reset(); + procedureMockUtils.reset(); + dsMockUtils.reset(); + }); + + afterAll(() => { + procedureMockUtils.cleanup(); + dsMockUtils.cleanup(); + }); + + it('should throw an error if freeze is set to true and the Asset is already frozen', () => { + const frozenAsset = entityMockUtils.getConfidentialAssetInstance({ + isAccountFrozen: true, + }); + + const proc = procedureMockUtils.getInstance(mockContext); + + return expect( + prepareToggleFreezeConfidentialAccountAsset.call(proc, { + confidentialAsset: frozenAsset, + confidentialAccount, + freeze: true, + }) + ).rejects.toThrow('The account is already frozen'); + }); + + it('should throw an error if freeze is set to false and the Asset is already unfrozen', () => { + const proc = procedureMockUtils.getInstance(mockContext); + + return expect( + prepareToggleFreezeConfidentialAccountAsset.call(proc, { + confidentialAsset, + confidentialAccount, + freeze: false, + }) + ).rejects.toThrow('The account is already unfrozen'); + }); + + it('should return a freeze account asset transaction spec', async () => { + const proc = procedureMockUtils.getInstance(mockContext); + + const transaction = dsMockUtils.createTxMock('confidentialAsset', 'setAccountAssetFrozen'); + + const result = await prepareToggleFreezeConfidentialAccountAsset.call(proc, { + confidentialAsset, + confidentialAccount, + freeze: true, + }); + + expect(result).toEqual({ + transaction, + args: [rawPublicKey, rawAssetId, rawTrue], + resolver: undefined, + }); + }); + + describe('getAuthorization', () => { + it('should return the appropriate roles and permissions', () => { + const proc = procedureMockUtils.getInstance(mockContext); + const boundFunc = getAuthorization.bind(proc); + + expect(boundFunc({ confidentialAsset, confidentialAccount, freeze: false })).toEqual({ + roles: [{ assetId: confidentialAsset.id, type: RoleType.ConfidentialAssetOwner }], + permissions: { + transactions: [TxTags.confidentialAsset.SetAccountAssetFrozen], + assets: [], + portfolios: [], + }, + }); + }); + }); +}); diff --git a/src/api/procedures/__tests__/toggleFreezeConfidentialAsset.ts b/src/api/procedures/__tests__/toggleFreezeConfidentialAsset.ts index def1c65069..f58917ac4e 100644 --- a/src/api/procedures/__tests__/toggleFreezeConfidentialAsset.ts +++ b/src/api/procedures/__tests__/toggleFreezeConfidentialAsset.ts @@ -1,3 +1,4 @@ +import { bool } from '@polkadot/types'; import { when } from 'jest-when'; import { @@ -15,6 +16,7 @@ describe('toggleFreezeConfidentialAsset procedure', () => { let mockContext: Mocked; let confidentialAsset: ConfidentialAsset; let rawId: string; + let rawTrue: bool; let booleanToBoolSpy: jest.SpyInstance; beforeAll(() => { @@ -27,9 +29,9 @@ describe('toggleFreezeConfidentialAsset procedure', () => { mockContext = dsMockUtils.getContextInstance(); confidentialAsset = entityMockUtils.getConfidentialAssetInstance(); rawId = '0x76702175d8cbe3a55a19734433351e26'; + rawTrue = dsMockUtils.createMockBool(true); booleanToBoolSpy = jest.spyOn(utilsConversionModule, 'booleanToBool'); - when(booleanToBoolSpy).calledWith(true).mockReturnValue(dsMockUtils.createMockBool(true)); - when(booleanToBoolSpy).calledWith(false).mockReturnValue(dsMockUtils.createMockBool(false)); + when(booleanToBoolSpy).calledWith(true, mockContext).mockReturnValue(rawTrue); }); afterEach(() => { @@ -81,7 +83,7 @@ describe('toggleFreezeConfidentialAsset procedure', () => { expect(result).toEqual({ transaction, - args: [rawId], + args: [rawId, rawTrue], resolver: undefined, }); }); diff --git a/src/api/procedures/toggleFreezeConfidentialAccountAsset.ts b/src/api/procedures/toggleFreezeConfidentialAccountAsset.ts new file mode 100644 index 0000000000..e06be3b19e --- /dev/null +++ b/src/api/procedures/toggleFreezeConfidentialAccountAsset.ts @@ -0,0 +1,81 @@ +import { ConfidentialAsset, PolymeshError, Procedure } from '~/internal'; +import { ErrorCode, FreezeConfidentialAccountAssetParams, RoleType, TxTags } from '~/types'; +import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; +import { + booleanToBool, + confidentialAccountToMeshPublicKey, + serializeConfidentialAssetId, +} from '~/utils/conversion'; +import { asConfidentialAccount } from '~/utils/internal'; + +/** + * @hidden + */ +export type Params = { + confidentialAsset: ConfidentialAsset; + freeze: boolean; +} & FreezeConfidentialAccountAssetParams; + +/** + * @hidden + */ +export async function prepareToggleFreezeConfidentialAccountAsset( + this: Procedure, + args: Params +): Promise>> { + const { + context: { + polymeshApi: { tx }, + }, + context, + } = this; + const { confidentialAccount, confidentialAsset, freeze } = args; + + const account = asConfidentialAccount(confidentialAccount, context); + + const isAccountFrozen = await confidentialAsset.isAccountFrozen(account); + + const rawAccountId = confidentialAccountToMeshPublicKey(account, context); + const rawAssetId = serializeConfidentialAssetId(confidentialAsset); + const rawFreeze = booleanToBool(freeze, context); + + if (freeze === isAccountFrozen) { + throw new PolymeshError({ + code: ErrorCode.NoDataChange, + message: `The account is already ${freeze ? 'frozen' : 'unfrozen'}`, + data: { + confidentialAccount: account.publicKey, + confidentialAsset: confidentialAsset.id, + }, + }); + } + + return { + transaction: tx.confidentialAsset.setAccountAssetFrozen, + args: [rawAccountId, rawAssetId, rawFreeze], + resolver: undefined, + }; +} + +/** + * @hidden + */ +export function getAuthorization( + this: Procedure, + { confidentialAsset: asset }: Params +): ProcedureAuthorization { + return { + roles: [{ type: RoleType.ConfidentialAssetOwner, assetId: asset.id }], + permissions: { + transactions: [TxTags.confidentialAsset.SetAccountAssetFrozen], + assets: [], + portfolios: [], + }, + }; +} + +/** + * @hidden + */ +export const toggleFreezeConfidentialAccountAsset = (): Procedure => + new Procedure(prepareToggleFreezeConfidentialAccountAsset, getAuthorization); diff --git a/src/api/procedures/types.ts b/src/api/procedures/types.ts index 67f926fcd2..2deb504721 100644 --- a/src/api/procedures/types.ts +++ b/src/api/procedures/types.ts @@ -1193,3 +1193,7 @@ export interface UnlinkChildParams { export interface RegisterCustomClaimTypeParams { name: string; } + +export interface FreezeConfidentialAccountAssetParams { + confidentialAccount: ConfidentialAccount | string; +} diff --git a/src/internal.ts b/src/internal.ts index e6e4095575..2af010b925 100644 --- a/src/internal.ts +++ b/src/internal.ts @@ -1,4 +1,5 @@ /* istanbul ignore file */ + export { PolymeshError } from '~/base/PolymeshError'; export { Context } from '~/base/Context'; export { PolymeshTransactionBase } from '~/base/PolymeshTransactionBase'; @@ -175,3 +176,4 @@ export { setVenueFiltering } from '~/api/procedures/setVenueFiltering'; export { setConfidentialVenueFiltering } from '~/api/procedures/setConfidentialVenueFiltering'; export { registerCustomClaimType } from '~/api/procedures/registerCustomClaimType'; export { toggleFreezeConfidentialAsset } from '~/api/procedures/toggleFreezeConfidentialAsset'; +export { toggleFreezeConfidentialAccountAsset } from '~/api/procedures/toggleFreezeConfidentialAccountAsset'; diff --git a/src/testUtils/mocks/entities.ts b/src/testUtils/mocks/entities.ts index 9327bcf65b..5f7c67d066 100644 --- a/src/testUtils/mocks/entities.ts +++ b/src/testUtils/mocks/entities.ts @@ -385,6 +385,7 @@ interface ConfidentialAssetOptions extends EntityOptions { details?: EntityGetter; getVenueFilteringDetails?: EntityGetter; isFrozen?: EntityGetter; + isAccountFrozen?: EntityGetter; } interface ConfidentialVenueOptions extends EntityOptions { @@ -2173,6 +2174,7 @@ const MockConfidentialAssetClass = createMockEntityClass ({ @@ -2202,6 +2205,7 @@ const MockConfidentialAssetClass = createMockEntityClass Date: Thu, 29 Feb 2024 10:10:00 -0500 Subject: [PATCH 104/120] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20update=20SDK=20r?= =?UTF-8?q?efs=20to=20the=20confidential=20repo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 22 +++++++++++----------- package.json | 10 +++++----- release.config.js | 6 +----- scripts/processDocs.js | 2 +- sonar-project.properties | 2 +- 5 files changed, 19 insertions(+), 23 deletions(-) diff --git a/README.md b/README.md index 55c8a334dc..8f1b76c077 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,12 @@ [![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release) [![js-semistandard-style](https://img.shields.io/badge/code%20style-semistandard-brightgreen.svg?style=flat-square)](https://github.com/standard/semistandard) -[![Types](https://img.shields.io/npm/types/@polymeshassociation/polymesh-sdk)](https://) -[![npm](https://img.shields.io/npm/v/@polymeshassociation/polymesh-sdk)](https://www.npmjs.com/package/@polymeshassociation/polymesh-sdk) +[![Types](https://img.shields.io/npm/types/@polymeshassociation/confidential-polymesh-sdk)](https://) +[![npm](https://img.shields.io/npm/v/@polymeshassociation/confidential-polymesh-sdk)](https://www.npmjs.com/package/@polymeshassociation/confidential-polymesh-sdk) [![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) -[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=PolymeshAssociation_polymesh-sdk&metric=coverage)](https://sonarcloud.io/summary/new_code?id=PolymeshAssociation_polymesh-sdk) -[![Github Actions Workflow](https://github.com/PolymeshAssociation/polymesh-sdk/actions/workflows/main.yml/badge.svg)](https://github.com/PolymeshAssociation/polymesh-sdk/actions) -[![Sonar Status](https://sonarcloud.io/api/project_badges/measure?project=PolymeshAssociation_polymesh-sdk&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=PolymeshAssociation_polymesh-sdk) -[![Issues](https://img.shields.io/github/issues/PolymeshAssociation/polymesh-sdk)](https://github.com/PolymeshAssociation/polymesh-sdk/issues) +[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=PolymeshAssociation_confidential-polymesh-sdk&metric=coverage)](https://sonarcloud.io/summary/new_code?id=PolymeshAssociation_polymesh-sdk) +[![Github Actions Workflow](https://github.com/PolymeshAssociation/confidential-polymesh-sdk/actions/workflows/main.yml/badge.svg)](https://github.com/PolymeshAssociation/confidential-polymesh-sdk/actions) +[![Sonar Status](https://sonarcloud.io/api/project_badges/measure?project=PolymeshAssociation_confidential-polymesh-sdk&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=PolymeshAssociation_confidential-polymesh-sdk) +[![Issues](https://img.shields.io/github/issues/PolymeshAssociation/confidential-polymesh-sdk)](https://github.com/PolymeshAssociation/confidential-polymesh-sdk/issues) ## \@polymeshassociation/polymesh-sdk @@ -42,15 +42,15 @@ https://developers.polymesh.network/sdk-docs/ #### Installation -`npm i @polymeshassociation/polymesh-sdk --save` +`npm i @polymeshassociation/confidential-polymesh-sdk --save` Or, if you're using yarn -`yarn add @polymeshassociation/polymesh-sdk` +`yarn add @polymeshassociation/confidential-polymesh-sdk` Or, if using pnpm -`pnpm add @polymeshassociation/polymesh-sdk` +`pnpm add @polymeshassociation/confidential-polymesh-sdk` **NOTE** it is _highly_ recommended that you use one of these three package managers. This project uses package resolutions/overrides to pin certain problematic dependencies, and these are only supported by the aforementioned package managers. Using a different package manager may result in unexpected behavior @@ -61,7 +61,7 @@ Or, if using pnpm Before you can start registering Tickers and creating Assets, you have to connect the Polymesh SDK client to a Polymesh node. This is a pretty straightforward process: ```typescript -import { Polymesh } from '@polymeshassociation/polymesh-sdk'; +import { Polymesh } from '@polymeshassociation/confidential-polymesh-sdk'; import { LocalSigningManager } from '@polymeshassociation/local-signing-manager'; async function run() { @@ -92,7 +92,7 @@ Here is an overview of the parameters passed to the `connect` function: **NOTE:** if using the SDK on a browser environment \(i.e. with the Polymesh wallet browser extension\), you would use the `BrowserExtensionSigningManager` provided by `@polymeshassociation/browser-extension-signing-manager` ```typescript -import { Polymesh } from '@polymeshassociation/polymesh-sdk'; +import { Polymesh } from '@polymeshassociation/confidential-polymesh-sdk'; import { BrowserExtensionSigningManager } from '@polymeshassociation/browser-extension-signing-manager'; async function run() { diff --git a/package.json b/package.json index 5f079c741b..0870abb9fd 100644 --- a/package.json +++ b/package.json @@ -1,18 +1,18 @@ { - "name": "@polymeshassociation/polymesh-sdk", + "name": "@polymeshassociation/confidential-polymesh-sdk", "version": "0.0.0", - "description": "High-level API to interact with the Polymesh blockchain", + "description": "High-level API to interact with the Polymesh blockchain, with confidential asset support", "main": "dist/index.js", "types": "dist/index.d.ts", "author": "Polymesh Association", "license": "ISC", - "homepage": "https://github.com/PolymeshAssociation/polymesh-sdk/wiki", + "homepage": "https://github.com/PolymeshAssociation/confidential-polymesh-sdk/wiki", "bugs": { - "url": "https://github.com/PolymeshAssociation/polymesh-sdk/issues" + "url": "https://github.com/PolymeshAssociation/confidential-polymesh-sdk/issues" }, "repository": { "type": "git", - "url": "https://github.com/PolymeshAssociation/polymesh-sdk" + "url": "https://github.com/PolymeshAssociation/confidential-polymesh-sdk" }, "keywords": [ "polymesh", diff --git a/release.config.js b/release.config.js index 18f851abe9..3c5d343b54 100644 --- a/release.config.js +++ b/release.config.js @@ -1,5 +1,5 @@ module.exports = { - repositoryUrl: 'https://github.com/PolymeshAssociation/polymesh-sdk.git', + repositoryUrl: 'https://github.com/PolymeshAssociation/confidential-polymesh-sdk.git', branches: [ 'master', { @@ -10,10 +10,6 @@ module.exports = { name: 'alpha', prerelease: true, }, - { - name: 'confidential-assets', - prerelease: true, - }, ], /* * In this order the **prepare** step of @semantic-release/npm will run first diff --git a/scripts/processDocs.js b/scripts/processDocs.js index 054b8799a3..1e6b6b8a8f 100644 --- a/scripts/processDocs.js +++ b/scripts/processDocs.js @@ -117,7 +117,7 @@ const markdownLinks = getMarkdownLinks(hierarchy, 0); fs.writeFileSync( sidebarFilePath, - `## @polymeshassociation/polymesh-sdk + `## @polymeshassociation/confidential-polymesh-sdk - [Home](../wiki/Home) diff --git a/sonar-project.properties b/sonar-project.properties index 1465b3d0bd..049ce816c6 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -1,5 +1,5 @@ sonar.organization=polymeshassociation -sonar.projectKey=PolymeshAssociation_polymesh-sdk +sonar.projectKey=PolymeshAssociation_confidential-polymesh-sdk sonar.sources=src sonar.coverage.exclusions=**/testUtils/**,**/polkadot/**,**/__tests__/**,**/generated/**,src/utils/typeguards.ts,src/types/internal.ts,src/middleware/enums.ts sonar.cpd.exclusions=**/__tests__/**,**/polkadot/** From 9acff9ad58a6468768f1024ef1adacfdcf40141d Mon Sep 17 00:00:00 2001 From: Eric Richardson Date: Thu, 29 Feb 2024 17:20:45 -0500 Subject: [PATCH 105/120] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20update=20expecte?= =?UTF-8?q?d=20node=20versions=20to=201.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/testUtils/mocks/dataSources.ts | 4 ++-- src/utils/constants.ts | 4 ++-- src/utils/internal.ts | 13 ++----------- 3 files changed, 6 insertions(+), 15 deletions(-) diff --git a/src/testUtils/mocks/dataSources.ts b/src/testUtils/mocks/dataSources.ts index a4519e86e4..621b9cd83c 100644 --- a/src/testUtils/mocks/dataSources.ts +++ b/src/testUtils/mocks/dataSources.ts @@ -270,10 +270,10 @@ export class MockWebSocket { const nodeVersionId = SYSTEM_VERSION_RPC_CALL.id; if (msg.indexOf(nodeVersionId) >= 0) { - response = { data: `{ "result": "6.0.0", "id": "${nodeVersionId}" }` }; + response = { data: `{ "result": "1.0.0", "id": "${nodeVersionId}" }` }; } else { response = { - data: `{ "result": { "specVersion": "6000000"}, "id": "${STATE_RUNTIME_VERSION_CALL.id}" }`, + data: `{ "result": { "specVersion": "1000000"}, "id": "${STATE_RUNTIME_VERSION_CALL.id}" }`, }; } diff --git a/src/utils/constants.ts b/src/utils/constants.ts index 7981c583ec..67fd288de6 100644 --- a/src/utils/constants.ts +++ b/src/utils/constants.ts @@ -109,7 +109,7 @@ export const ROOT_TYPES = rootTypes; /** * The Polymesh RPC node version range that is compatible with this version of the SDK */ -export const SUPPORTED_NODE_VERSION_RANGE = '6.0 || 6.1 || 6.2'; +export const SUPPORTED_NODE_VERSION_RANGE = '1.0'; // eslint-disable-next-line @typescript-eslint/no-non-null-assertion export const SUPPORTED_NODE_SEMVER = coerce(SUPPORTED_NODE_VERSION_RANGE)!.version; @@ -117,7 +117,7 @@ export const SUPPORTED_NODE_SEMVER = coerce(SUPPORTED_NODE_VERSION_RANGE)!.versi /** * The Polymesh chain spec version range that is compatible with this version of the SDK */ -export const SUPPORTED_SPEC_VERSION_RANGE = '6.0 || 6.1 || 6.2'; +export const SUPPORTED_SPEC_VERSION_RANGE = '1.0'; // eslint-disable-next-line @typescript-eslint/no-non-null-assertion export const SUPPORTED_SPEC_SEMVER = coerce(SUPPORTED_SPEC_VERSION_RANGE)!.version; diff --git a/src/utils/internal.ts b/src/utils/internal.ts index cb4f35beea..3675c1cfe1 100644 --- a/src/utils/internal.ts +++ b/src/utils/internal.ts @@ -1299,12 +1299,8 @@ function handleNodeVersionResponse( reject: (reason?: unknown) => void ): boolean { const { result: version } = data; - const lowMajor = major(SUPPORTED_NODE_SEMVER).toString(); - // eslint-disable-next-line @typescript-eslint/no-non-null-assertion - const high = coerce(SUPPORTED_NODE_VERSION_RANGE.split('||')[1].trim())!.version; - const highMajor = major(high).toString(); - if (!satisfies(version, lowMajor) && !satisfies(version, highMajor)) { + if (!satisfies(version, major(SUPPORTED_NODE_SEMVER).toString())) { const error = new PolymeshError({ code: ErrorCode.FatalError, message: 'Unsupported Polymesh RPC node version. Please upgrade the SDK', @@ -1375,12 +1371,7 @@ function handleSpecVersionResponse( .map((ver: string) => ver.replace(/^0+(?!$)/g, '')) .join('.'); - const lowMajor = major(SUPPORTED_SPEC_SEMVER).toString(); - // eslint-disable-next-line @typescript-eslint/no-non-null-assertion - const high = coerce(SUPPORTED_SPEC_VERSION_RANGE.split('||')[1].trim())!.version; - const highMajor = major(high).toString(); - - if (!satisfies(specVersionAsSemver, lowMajor) && !satisfies(specVersionAsSemver, highMajor)) { + if (!satisfies(specVersionAsSemver, major(SUPPORTED_NODE_SEMVER).toString())) { const error = new PolymeshError({ code: ErrorCode.FatalError, message: 'Unsupported Polymesh chain spec version. Please upgrade the SDK', From 5d7507da5fe56a98d58621ff6c4cc68221923946 Mon Sep 17 00:00:00 2001 From: Prashant Bajpai <34747455+prashantasdeveloper@users.noreply.github.com> Date: Fri, 1 Mar 2024 08:32:07 +0530 Subject: [PATCH 106/120] =?UTF-8?q?chore:=20=F0=9F=A4=96=20update=20logic?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/internal.ts | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/src/utils/internal.ts b/src/utils/internal.ts index 0f3ca50f6f..25ea2e24b7 100644 --- a/src/utils/internal.ts +++ b/src/utils/internal.ts @@ -1301,8 +1301,13 @@ function handleNodeVersionResponse( reject: (reason?: unknown) => void ): boolean { const { result: version } = data; + const lowMajor = major(SUPPORTED_NODE_SEMVER).toString(); + const versions = SUPPORTED_NODE_VERSION_RANGE.split('||'); + // eslint-disable-next-line @typescript-eslint/no-non-null-assertion + const high = coerce(versions[versions.length - 1].trim())!.version; + const highMajor = major(high).toString(); - if (!satisfies(version, major(SUPPORTED_NODE_SEMVER).toString())) { + if (!satisfies(version, lowMajor) && !satisfies(version, highMajor)) { const error = new PolymeshError({ code: ErrorCode.FatalError, message: 'Unsupported Polymesh RPC node version. Please upgrade the SDK', @@ -1373,7 +1378,14 @@ function handleSpecVersionResponse( .map((ver: string) => ver.replace(/^0+(?!$)/g, '')) .join('.'); - if (!satisfies(specVersionAsSemver, major(SUPPORTED_NODE_SEMVER).toString())) { + const lowMajor = major(SUPPORTED_SPEC_SEMVER).toString(); + const versions = SUPPORTED_SPEC_VERSION_RANGE.split('||'); + + // eslint-disable-next-line @typescript-eslint/no-non-null-assertion + const high = coerce(versions[versions.length - 1].trim())!.version; + const highMajor = major(high).toString(); + + if (!satisfies(specVersionAsSemver, lowMajor) && !satisfies(specVersionAsSemver, highMajor)) { const error = new PolymeshError({ code: ErrorCode.FatalError, message: 'Unsupported Polymesh chain spec version. Please upgrade the SDK', From 935b79bf1c1cf9db3976ecac021a00720bd44a86 Mon Sep 17 00:00:00 2001 From: Prashant Bajpai <34747455+prashantasdeveloper@users.noreply.github.com> Date: Mon, 4 Mar 2024 22:42:34 +0530 Subject: [PATCH 107/120] =?UTF-8?q?fix:=20=F0=9F=90=9B=20Correct=20the=20i?= =?UTF-8?q?nput=20parameters=20for=20CA=20related=20SQ=20calls?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../entities/confidential/ConfidentialAccount/index.ts | 5 ++++- src/api/entities/confidential/ConfidentialAsset/index.ts | 4 ++-- .../confidential/__tests__/ConfidentialAsset/index.ts | 8 ++++---- src/middleware/queries/confidential.ts | 2 +- 4 files changed, 11 insertions(+), 8 deletions(-) diff --git a/src/api/entities/confidential/ConfidentialAccount/index.ts b/src/api/entities/confidential/ConfidentialAccount/index.ts index cf0a48eca7..c7b5b39ba0 100644 --- a/src/api/entities/confidential/ConfidentialAccount/index.ts +++ b/src/api/entities/confidential/ConfidentialAccount/index.ts @@ -1,6 +1,7 @@ import { AugmentedQueries } from '@polkadot/api/types'; import { ConfidentialAssetsElgamalCipherText } from '@polkadot/types/lookup'; import type { Option, U8aFixed } from '@polkadot/types-codec'; +import { hexStripPrefix } from '@polkadot/util'; import BigNumber from 'bignumber.js'; import { @@ -268,7 +269,9 @@ export class ConfidentialAccount extends Entity { confidentialAssetsByHolderQuery(publicKey, size, start) ); - const data = nodes.map(({ assetId: id }) => new ConfidentialAsset({ id }, context)); + const data = nodes.map( + ({ assetId: id }) => new ConfidentialAsset({ id: hexStripPrefix(id) }, context) + ); const count = new BigNumber(totalCount); const next = calculateNextKey(count, data.length, start); diff --git a/src/api/entities/confidential/ConfidentialAsset/index.ts b/src/api/entities/confidential/ConfidentialAsset/index.ts index b8fbd357bb..6033b3c803 100644 --- a/src/api/entities/confidential/ConfidentialAsset/index.ts +++ b/src/api/entities/confidential/ConfidentialAsset/index.ts @@ -364,7 +364,7 @@ export class ConfidentialAsset extends Entity { } = await context.queryMiddleware>( transactionHistoryByConfidentialAssetQuery( { - assetId: id.toString(), + assetId: serializeConfidentialAssetId(id), }, size, start @@ -401,7 +401,7 @@ export class ConfidentialAsset extends Entity { }, } = await context.queryMiddleware>( confidentialAssetQuery({ - id, + id: serializeConfidentialAssetId(id), }) ); diff --git a/src/api/entities/confidential/__tests__/ConfidentialAsset/index.ts b/src/api/entities/confidential/__tests__/ConfidentialAsset/index.ts index 865c931ce9..86b2d3fd13 100644 --- a/src/api/entities/confidential/__tests__/ConfidentialAsset/index.ts +++ b/src/api/entities/confidential/__tests__/ConfidentialAsset/index.ts @@ -463,7 +463,7 @@ describe('ConfidentialAsset class', () => { dsMockUtils.createApolloQueryMock( transactionHistoryByConfidentialAssetQuery( { - assetId: confidentialAsset.toHuman(), + assetId: `0x${assetId}`, }, new BigNumber(2), new BigNumber(0) @@ -490,7 +490,7 @@ describe('ConfidentialAsset class', () => { dsMockUtils.createApolloQueryMock( transactionHistoryByConfidentialAssetQuery({ - assetId: confidentialAsset.toHuman(), + assetId: `0x${assetId}`, }), { confidentialAssetHistories: confidentialAssetHistoriesResponse, @@ -511,7 +511,7 @@ describe('ConfidentialAsset class', () => { const blockHash = 'someHash'; const eventIdx = new BigNumber(1); const variables = { - id, + id: `0x${assetId}`, }; const fakeResult = { blockNumber, blockHash, blockDate, eventIndex: eventIdx }; @@ -537,7 +537,7 @@ describe('ConfidentialAsset class', () => { it('should return null if the query result is empty', async () => { const variables = { - id, + id: `0x${assetId}`, }; dsMockUtils.createApolloQueryMock(confidentialAssetQuery(variables), { diff --git a/src/middleware/queries/confidential.ts b/src/middleware/queries/confidential.ts index 524680d2b8..eb0e268b6b 100644 --- a/src/middleware/queries/confidential.ts +++ b/src/middleware/queries/confidential.ts @@ -25,7 +25,7 @@ export function confidentialAssetsByHolderQuery( const query = gql` query ConfidentialAssetsByAccount($size: Int, $start: Int, $accountId: String!) { confidentialAssetHolders( - accountId: { equalTo: $accountId } + filter: { accountId: { equalTo: $accountId } } orderBy: [${ConfidentialAssetHoldersOrderBy.CreatedBlockIdAsc}] first: $size offset: $start From 4bc66fe294dc6f6a2af1647a6c8e180fb87b1458 Mon Sep 17 00:00:00 2001 From: Prashant Bajpai <34747455+prashantasdeveloper@users.noreply.github.com> Date: Tue, 5 Mar 2024 00:25:21 +0530 Subject: [PATCH 108/120] =?UTF-8?q?fix:=20=F0=9F=90=9B=20Correct=20gql=20q?= =?UTF-8?q?uery=20to=20get=20transaction=20history=20for=20CA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../confidential/ConfidentialAccount/index.ts | 3 +- .../confidential/ConfidentialAccount/types.ts | 1 - .../__tests__/ConfidentialAccount/index.ts | 3 -- src/middleware/queries/confidential.ts | 32 ++++++++++--------- 4 files changed, 18 insertions(+), 21 deletions(-) diff --git a/src/api/entities/confidential/ConfidentialAccount/index.ts b/src/api/entities/confidential/ConfidentialAccount/index.ts index c7b5b39ba0..c7589f42e9 100644 --- a/src/api/entities/confidential/ConfidentialAccount/index.ts +++ b/src/api/entities/confidential/ConfidentialAccount/index.ts @@ -356,9 +356,8 @@ export class ConfidentialAccount extends Entity { ); const data: ConfidentialAssetHistoryEntry[] = nodes.map( - ({ id, assetId, amount, eventId, createdBlock, eventIdx }) => { + ({ assetId, amount, eventId, createdBlock, eventIdx }) => { return { - id, asset: new ConfidentialAsset({ id: assetId }, context), amount, eventId, diff --git a/src/api/entities/confidential/ConfidentialAccount/types.ts b/src/api/entities/confidential/ConfidentialAccount/types.ts index c1a4d66040..ff15f07e79 100644 --- a/src/api/entities/confidential/ConfidentialAccount/types.ts +++ b/src/api/entities/confidential/ConfidentialAccount/types.ts @@ -30,7 +30,6 @@ export interface ApplyIncomingBalanceParams { } export type ConfidentialAssetHistoryEntry = { - id: string; asset: ConfidentialAsset; eventId: EventIdEnum; amount: string; diff --git a/src/api/entities/confidential/__tests__/ConfidentialAccount/index.ts b/src/api/entities/confidential/__tests__/ConfidentialAccount/index.ts index fd4ddb9a94..f21ad72e6e 100644 --- a/src/api/entities/confidential/__tests__/ConfidentialAccount/index.ts +++ b/src/api/entities/confidential/__tests__/ConfidentialAccount/index.ts @@ -334,7 +334,6 @@ describe('ConfidentialAccount class', () => { const eventIdx = new BigNumber(1); const fakeCreatedAt = { blockNumber, blockHash, blockDate, eventIndex: eventIdx }; const mockData = { - id: 1, assetId: mockAsset.toHuman(), amount: '100000000000000000', eventId: EventIdEnum.AccountDeposit, @@ -364,7 +363,6 @@ describe('ConfidentialAccount class', () => { data: [historyEntry], } = await account.getTransactionHistory({}); - expect(historyEntry.id).toEqual(mockData.id); expect(historyEntry.asset).toBeInstanceOf(ConfidentialAsset); expect(historyEntry.amount).toEqual(mockData.amount); expect(historyEntry.amount).toEqual(mockData.amount); @@ -395,7 +393,6 @@ describe('ConfidentialAccount class', () => { data: [historyEntry], } = await account.getTransactionHistory({ size, start }); - expect(historyEntry.id).toEqual(mockData.id); expect(historyEntry.asset).toBeInstanceOf(ConfidentialAsset); expect(historyEntry.amount).toEqual(mockData.amount); expect(historyEntry.amount).toEqual(mockData.amount); diff --git a/src/middleware/queries/confidential.ts b/src/middleware/queries/confidential.ts index eb0e268b6b..1c59470d74 100644 --- a/src/middleware/queries/confidential.ts +++ b/src/middleware/queries/confidential.ts @@ -31,7 +31,7 @@ export function confidentialAssetsByHolderQuery( offset: $start ) { nodes { - accountId, + accountId assetId } totalCount @@ -52,7 +52,7 @@ export function createTransactionHistoryByConfidentialAssetQueryFilters(): { args: string; filter: string; } { - const args = ['$size: Int, $start: Int', '$assetId: [String!]']; + const args = ['$size: Int, $start: Int', '$assetId: String!']; const filters = ['assetId: { equalTo: $assetId }']; return { @@ -73,7 +73,7 @@ export function transactionHistoryByConfidentialAssetQuery( ): QueryOptions>> { const { args, filter } = createTransactionHistoryByConfidentialAssetQueryFilters(); - const query = gql` + const query = ` query TransactionHistoryQuery ${args} { @@ -83,27 +83,29 @@ export function transactionHistoryByConfidentialAssetQuery( offset: $start ){ nodes { - accountId, - fromId, - toId, - transactionId, - assetId, + fromId + toId + transactionId + assetId createdBlock { - datetime, - hash, - blockId, + datetime + hash + blockId } - amount, - eventId, - memo, + amount + eventId + memo } totalCount } } `; + console.log(query); return { - query, + query: gql` + ${query} + `, variables: { size: size?.toNumber(), start: start?.toNumber(), assetId }, }; } From 2190426efb072a0e9b635c1740522ab2c7083a6d Mon Sep 17 00:00:00 2001 From: Eric Richardson Date: Mon, 4 Mar 2024 15:41:47 -0500 Subject: [PATCH 109/120] =?UTF-8?q?fix:=20=F0=9F=90=9B=20remove=20debug=20?= =?UTF-8?q?console.log?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/middleware/queries/confidential.ts | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/middleware/queries/confidential.ts b/src/middleware/queries/confidential.ts index 1c59470d74..c76191a9cb 100644 --- a/src/middleware/queries/confidential.ts +++ b/src/middleware/queries/confidential.ts @@ -73,7 +73,7 @@ export function transactionHistoryByConfidentialAssetQuery( ): QueryOptions>> { const { args, filter } = createTransactionHistoryByConfidentialAssetQueryFilters(); - const query = ` + const query = gql` query TransactionHistoryQuery ${args} { @@ -101,11 +101,8 @@ export function transactionHistoryByConfidentialAssetQuery( } `; - console.log(query); return { - query: gql` - ${query} - `, + query, variables: { size: size?.toNumber(), start: start?.toNumber(), assetId }, }; } From bebf6823be010354c56f95a1966fa1c61328dbcb Mon Sep 17 00:00:00 2001 From: Eric Richardson Date: Wed, 6 Mar 2024 11:41:41 -0500 Subject: [PATCH 110/120] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20update=20repo=20?= =?UTF-8?q?refs=20to=20use=20private=20naming=20scheme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 22 +++++++++++----------- package.json | 10 +++++----- release.config.js | 2 +- scripts/processDocs.js | 2 +- sonar-project.properties | 2 +- 5 files changed, 19 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index 8f1b76c077..f77a22bb58 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,12 @@ [![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release) [![js-semistandard-style](https://img.shields.io/badge/code%20style-semistandard-brightgreen.svg?style=flat-square)](https://github.com/standard/semistandard) -[![Types](https://img.shields.io/npm/types/@polymeshassociation/confidential-polymesh-sdk)](https://) -[![npm](https://img.shields.io/npm/v/@polymeshassociation/confidential-polymesh-sdk)](https://www.npmjs.com/package/@polymeshassociation/confidential-polymesh-sdk) +[![Types](https://img.shields.io/npm/types/@polymeshassociation/polymesh-private-sdk)](https://) +[![npm](https://img.shields.io/npm/v/@polymeshassociation/polymesh-private-sdk)](https://www.npmjs.com/package/@polymeshassociation/polymesh-private-sdk) [![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) -[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=PolymeshAssociation_confidential-polymesh-sdk&metric=coverage)](https://sonarcloud.io/summary/new_code?id=PolymeshAssociation_polymesh-sdk) -[![Github Actions Workflow](https://github.com/PolymeshAssociation/confidential-polymesh-sdk/actions/workflows/main.yml/badge.svg)](https://github.com/PolymeshAssociation/confidential-polymesh-sdk/actions) -[![Sonar Status](https://sonarcloud.io/api/project_badges/measure?project=PolymeshAssociation_confidential-polymesh-sdk&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=PolymeshAssociation_confidential-polymesh-sdk) -[![Issues](https://img.shields.io/github/issues/PolymeshAssociation/confidential-polymesh-sdk)](https://github.com/PolymeshAssociation/confidential-polymesh-sdk/issues) +[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=PolymeshAssociation_polymesh-private-sdk&metric=coverage)](https://sonarcloud.io/summary/new_code?id=PolymeshAssociation_polymesh-sdk) +[![Github Actions Workflow](https://github.com/PolymeshAssociation/polymesh-private-sdk/actions/workflows/main.yml/badge.svg)](https://github.com/PolymeshAssociation/polymesh-private-sdk/actions) +[![Sonar Status](https://sonarcloud.io/api/project_badges/measure?project=PolymeshAssociation_polymesh-private-sdk&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=PolymeshAssociation_polymesh-private-sdk) +[![Issues](https://img.shields.io/github/issues/PolymeshAssociation/polymesh-private-sdk)](https://github.com/PolymeshAssociation/polymesh-private-sdk/issues) ## \@polymeshassociation/polymesh-sdk @@ -42,15 +42,15 @@ https://developers.polymesh.network/sdk-docs/ #### Installation -`npm i @polymeshassociation/confidential-polymesh-sdk --save` +`npm i @polymeshassociation/polymesh-private-sdk --save` Or, if you're using yarn -`yarn add @polymeshassociation/confidential-polymesh-sdk` +`yarn add @polymeshassociation/polymesh-private-sdk` Or, if using pnpm -`pnpm add @polymeshassociation/confidential-polymesh-sdk` +`pnpm add @polymeshassociation/polymesh-private-sdk` **NOTE** it is _highly_ recommended that you use one of these three package managers. This project uses package resolutions/overrides to pin certain problematic dependencies, and these are only supported by the aforementioned package managers. Using a different package manager may result in unexpected behavior @@ -61,7 +61,7 @@ Or, if using pnpm Before you can start registering Tickers and creating Assets, you have to connect the Polymesh SDK client to a Polymesh node. This is a pretty straightforward process: ```typescript -import { Polymesh } from '@polymeshassociation/confidential-polymesh-sdk'; +import { Polymesh } from '@polymeshassociation/polymesh-private-sdk'; import { LocalSigningManager } from '@polymeshassociation/local-signing-manager'; async function run() { @@ -92,7 +92,7 @@ Here is an overview of the parameters passed to the `connect` function: **NOTE:** if using the SDK on a browser environment \(i.e. with the Polymesh wallet browser extension\), you would use the `BrowserExtensionSigningManager` provided by `@polymeshassociation/browser-extension-signing-manager` ```typescript -import { Polymesh } from '@polymeshassociation/confidential-polymesh-sdk'; +import { Polymesh } from '@polymeshassociation/polymesh-private-sdk'; import { BrowserExtensionSigningManager } from '@polymeshassociation/browser-extension-signing-manager'; async function run() { diff --git a/package.json b/package.json index 2db47aec3b..7ee50e5025 100644 --- a/package.json +++ b/package.json @@ -1,18 +1,18 @@ { - "name": "@polymeshassociation/confidential-polymesh-sdk", + "name": "@polymeshassociation/polymesh-private-sdk", "version": "0.0.0", - "description": "High-level API to interact with the Polymesh blockchain, with confidential asset support", + "description": "High-level API to interact with the Polymesh Private blockchain", "main": "dist/index.js", "types": "dist/index.d.ts", "author": "Polymesh Association", "license": "ISC", - "homepage": "https://github.com/PolymeshAssociation/confidential-polymesh-sdk/wiki", + "homepage": "https://github.com/PolymeshAssociation/polymesh-private-sdk/wiki", "bugs": { - "url": "https://github.com/PolymeshAssociation/confidential-polymesh-sdk/issues" + "url": "https://github.com/PolymeshAssociation/polymesh-private-sdk/issues" }, "repository": { "type": "git", - "url": "https://github.com/PolymeshAssociation/confidential-polymesh-sdk" + "url": "https://github.com/PolymeshAssociation/polymesh-private-sdk" }, "keywords": [ "polymesh", diff --git a/release.config.js b/release.config.js index 3c5d343b54..c50c1f4626 100644 --- a/release.config.js +++ b/release.config.js @@ -1,5 +1,5 @@ module.exports = { - repositoryUrl: 'https://github.com/PolymeshAssociation/confidential-polymesh-sdk.git', + repositoryUrl: 'https://github.com/PolymeshAssociation/polymesh-private-sdk.git', branches: [ 'master', { diff --git a/scripts/processDocs.js b/scripts/processDocs.js index 1e6b6b8a8f..4736e90f16 100644 --- a/scripts/processDocs.js +++ b/scripts/processDocs.js @@ -117,7 +117,7 @@ const markdownLinks = getMarkdownLinks(hierarchy, 0); fs.writeFileSync( sidebarFilePath, - `## @polymeshassociation/confidential-polymesh-sdk + `## @polymeshassociation/polymesh-private-sdk - [Home](../wiki/Home) diff --git a/sonar-project.properties b/sonar-project.properties index 049ce816c6..eb235448ef 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -1,5 +1,5 @@ sonar.organization=polymeshassociation -sonar.projectKey=PolymeshAssociation_confidential-polymesh-sdk +sonar.projectKey=PolymeshAssociation_polymesh-private-sdk sonar.sources=src sonar.coverage.exclusions=**/testUtils/**,**/polkadot/**,**/__tests__/**,**/generated/**,src/utils/typeguards.ts,src/types/internal.ts,src/middleware/enums.ts sonar.cpd.exclusions=**/__tests__/**,**/polkadot/** From e082911465abde4ecd5e240a98ccaa73c1c2ea04 Mon Sep 17 00:00:00 2001 From: Toms Veidemanis Date: Wed, 6 Mar 2024 23:12:47 +0700 Subject: [PATCH 111/120] =?UTF-8?q?fix:=20=F0=9F=90=9B=20getTransactionHis?= =?UTF-8?q?tory=20query?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ConfidentialAccount/helpers.ts | 11 ++++++++ .../confidential/ConfidentialAccount/index.ts | 4 ++- .../__tests__/ConfidentialAccount/helpers.ts | 25 +++++++++++++++++++ .../__tests__/ConfidentialAccount/index.ts | 8 +++--- src/middleware/queries/confidential.ts | 2 +- 5 files changed, 45 insertions(+), 5 deletions(-) create mode 100644 src/api/entities/confidential/ConfidentialAccount/helpers.ts create mode 100644 src/api/entities/confidential/__tests__/ConfidentialAccount/helpers.ts diff --git a/src/api/entities/confidential/ConfidentialAccount/helpers.ts b/src/api/entities/confidential/ConfidentialAccount/helpers.ts new file mode 100644 index 0000000000..ae470ecb21 --- /dev/null +++ b/src/api/entities/confidential/ConfidentialAccount/helpers.ts @@ -0,0 +1,11 @@ +import { assertCaAssetValid } from '~/utils/internal'; + +/** + * @hidden + * + */ +export function convertSubQueryAssetIdToUuid(hexString: string): string { + const cleanString = hexString.startsWith('0x') ? hexString.slice(2) : hexString; + + return assertCaAssetValid(cleanString); +} diff --git a/src/api/entities/confidential/ConfidentialAccount/index.ts b/src/api/entities/confidential/ConfidentialAccount/index.ts index c7589f42e9..7f0d2c3774 100644 --- a/src/api/entities/confidential/ConfidentialAccount/index.ts +++ b/src/api/entities/confidential/ConfidentialAccount/index.ts @@ -36,6 +36,8 @@ import { } from '~/utils/conversion'; import { asConfidentialAsset, calculateNextKey, optionize } from '~/utils/internal'; +import { convertSubQueryAssetIdToUuid } from './helpers'; + /** * @hidden */ @@ -358,7 +360,7 @@ export class ConfidentialAccount extends Entity { const data: ConfidentialAssetHistoryEntry[] = nodes.map( ({ assetId, amount, eventId, createdBlock, eventIdx }) => { return { - asset: new ConfidentialAsset({ id: assetId }, context), + asset: new ConfidentialAsset({ id: convertSubQueryAssetIdToUuid(assetId) }, context), amount, eventId, createdAt: optionize(middlewareEventDetailsToEventIdentifier)(createdBlock, eventIdx), diff --git a/src/api/entities/confidential/__tests__/ConfidentialAccount/helpers.ts b/src/api/entities/confidential/__tests__/ConfidentialAccount/helpers.ts new file mode 100644 index 0000000000..9aa46a4e0f --- /dev/null +++ b/src/api/entities/confidential/__tests__/ConfidentialAccount/helpers.ts @@ -0,0 +1,25 @@ +import { convertSubQueryAssetIdToUuid } from '~/api/entities/confidential/ConfidentialAccount/helpers'; + +describe('convertSubQueryAssetIdToUuid', () => { + it('converts a valid hex string with 0x prefix to UUID format', () => { + const hexString = '0x1234567890abcdef1234567890abcdef'; + const expectedUuid = '12345678-90ab-cdef-1234-567890abcdef'; + expect(convertSubQueryAssetIdToUuid(hexString)).toEqual(expectedUuid); + }); + + it('correctly handles a hex string without 0x prefix, directly using it', () => { + const hexStringWithoutPrefix = '1234567890abcdef1234567890abcdef'; + const expectedUuid = '12345678-90ab-cdef-1234-567890abcdef'; + expect(convertSubQueryAssetIdToUuid(hexStringWithoutPrefix)).toEqual(expectedUuid); + }); + + it('should throw if string is too short', () => { + const hexString = '12345678'; + expect(() => convertSubQueryAssetIdToUuid(hexString)).toThrow(); + }); + + it('should throw if string is too long', () => { + const hexString = '1234567890abcdef1234567890abcdef12345'; + expect(() => convertSubQueryAssetIdToUuid(hexString)).toThrow(); + }); +}); diff --git a/src/api/entities/confidential/__tests__/ConfidentialAccount/index.ts b/src/api/entities/confidential/__tests__/ConfidentialAccount/index.ts index f21ad72e6e..2404aaa3e5 100644 --- a/src/api/entities/confidential/__tests__/ConfidentialAccount/index.ts +++ b/src/api/entities/confidential/__tests__/ConfidentialAccount/index.ts @@ -327,14 +327,16 @@ describe('ConfidentialAccount class', () => { }); describe('method: getTransactionHistory', () => { - const mockAsset = entityMockUtils.getConfidentialAssetInstance({ id: '1' }); + const mockAssetSqId = '0x76702175d8cbe3a55a19734433351e25'; + const mockAssetId = '76702175-d8cb-e3a5-5a19-734433351e25'; + const blockNumber = new BigNumber(1234); const blockDate = new Date('4/14/2020'); const blockHash = 'someHash'; const eventIdx = new BigNumber(1); const fakeCreatedAt = { blockNumber, blockHash, blockDate, eventIndex: eventIdx }; const mockData = { - assetId: mockAsset.toHuman(), + assetId: mockAssetSqId, amount: '100000000000000000', eventId: EventIdEnum.AccountDeposit, memo: 'test', @@ -363,7 +365,7 @@ describe('ConfidentialAccount class', () => { data: [historyEntry], } = await account.getTransactionHistory({}); - expect(historyEntry.asset).toBeInstanceOf(ConfidentialAsset); + expect(historyEntry.asset.id).toEqual(mockAssetId); expect(historyEntry.amount).toEqual(mockData.amount); expect(historyEntry.amount).toEqual(mockData.amount); expect(historyEntry.createdAt).toEqual(fakeCreatedAt); diff --git a/src/middleware/queries/confidential.ts b/src/middleware/queries/confidential.ts index c76191a9cb..2daa2f6e5c 100644 --- a/src/middleware/queries/confidential.ts +++ b/src/middleware/queries/confidential.ts @@ -218,7 +218,7 @@ function createGetConfidentialAssetHistoryByConfidentialAccountQueryArgs( variables: PaginatedQueryArgs; } { const args = ['$size: Int, $start: Int, $accountId: String!']; - const filters = ['accountId: { equalTo: $accountId }']; + const filters = ['or: [{ toId: { equalTo: $accountId }},{ fromId: { equalTo: $accountId }}]']; const { assetId, eventId } = variables; From d11feb3842afde04a262d5d57eefd14dbf9e9bd3 Mon Sep 17 00:00:00 2001 From: Eric Richardson Date: Thu, 7 Mar 2024 10:14:59 -0500 Subject: [PATCH 112/120] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20allow=20for=20un?= =?UTF-8?q?linked=20auditor=20accounts?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit remmoves assertions that auditors must have a record on chain. auditor accounts can exist off chain --- .../__tests__/createConfidentialAsset.ts | 22 ++++++--------- .../procedures/addConfidentialTransaction.ts | 1 - src/api/procedures/createConfidentialAsset.ts | 27 +++++++------------ 3 files changed, 17 insertions(+), 33 deletions(-) diff --git a/src/api/procedures/__tests__/createConfidentialAsset.ts b/src/api/procedures/__tests__/createConfidentialAsset.ts index d98409fd56..43bb66e28f 100644 --- a/src/api/procedures/__tests__/createConfidentialAsset.ts +++ b/src/api/procedures/__tests__/createConfidentialAsset.ts @@ -72,29 +72,23 @@ describe('createConfidentialAsset procedure', () => { dsMockUtils.cleanup(); }); - it('should throw an error if one or more auditors is not linked to an Identity', () => { + it('should throw an error if a mediator does not exist', () => { const proc = procedureMockUtils.getInstance( mockContext ); - const invalidAuditors = [ - ...auditors, - entityMockUtils.getConfidentialAccountInstance({ - getIdentity: null, - }), - ]; + const expectedError = new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'One or more auditors do not exists', - data: { - invalidAuditors, - }, + code: ErrorCode.DataUnavailable, + message: 'The identity does not exists', }); + return expect( prepareCreateConfidentialAsset.call(proc, { data, - auditors: invalidAuditors, + auditors, + mediators: [entityMockUtils.getIdentityInstance({ exists: false })], }) - ).rejects.toThrowError(expectedError); + ).rejects.toThrow(expectedError); }); it('should add a create CreateConfidentialAsset transaction to the queue', async () => { diff --git a/src/api/procedures/addConfidentialTransaction.ts b/src/api/procedures/addConfidentialTransaction.ts index 857dfc1dde..bfa1a789a6 100644 --- a/src/api/procedures/addConfidentialTransaction.ts +++ b/src/api/procedures/addConfidentialTransaction.ts @@ -152,7 +152,6 @@ async function getTxArgsAndErrors( assertConfidentialAccountExists(sender), assertConfidentialAccountExists(receiver), ...assets.map(asset => assertConfidentialAssetExists(asset, context)), - ...auditors.map(auditor => assertConfidentialAccountExists(auditor)), ...mediators.map(mediator => assertIdentityExists(mediator)), ]); diff --git a/src/api/procedures/createConfidentialAsset.ts b/src/api/procedures/createConfidentialAsset.ts index 93e541b81f..a6d81877b5 100644 --- a/src/api/procedures/createConfidentialAsset.ts +++ b/src/api/procedures/createConfidentialAsset.ts @@ -1,14 +1,19 @@ import { ISubmittableResult } from '@polkadot/types/types'; -import { ConfidentialAsset, Context, PolymeshError, Procedure } from '~/internal'; -import { CreateConfidentialAssetParams, ErrorCode, TxTags } from '~/types'; +import { ConfidentialAsset, Context, Procedure } from '~/internal'; +import { CreateConfidentialAssetParams, TxTags } from '~/types'; import { ExtrinsicParams, TransactionSpec } from '~/types/internal'; import { auditorsToConfidentialAuditors, meshConfidentialAssetToAssetId, stringToBytes, } from '~/utils/conversion'; -import { asConfidentialAccount, asIdentity, filterEventRecords } from '~/utils/internal'; +import { + asConfidentialAccount, + asIdentity, + assertIdentityExists, + filterEventRecords, +} from '~/utils/internal'; /** * @hidden @@ -48,24 +53,10 @@ export async function prepareCreateConfidentialAsset( const auditorAccounts = auditors.map(auditor => asConfidentialAccount(auditor, context)); - const auditorIdentities = await Promise.all( - auditorAccounts.map(auditor => auditor.getIdentity()) - ); - - const invalidAuditors = auditorIdentities.filter(identity => identity === null); - if (invalidAuditors.length) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'One or more auditors do not exists', - data: { - invalidAuditors, - }, - }); - } - let mediatorIdentities; if (mediators?.length) { mediatorIdentities = mediators.map(mediator => asIdentity(mediator, context)); + await Promise.all(mediatorIdentities.map(identity => assertIdentityExists(identity))); } return { From 2e4ea40d7bb03a73eb9a704efc949c4d71b2a595 Mon Sep 17 00:00:00 2001 From: Eric Richardson Date: Thu, 14 Mar 2024 18:13:19 -0400 Subject: [PATCH 113/120] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20add=20`getSender?= =?UTF-8?q?Proofs`=20method=20to=20ConfidentialTransaction?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit allow users to get all sender proofs for a transaction --- .../ConfidentialTransaction/index.ts | 35 +++++++++++++ .../ConfidentialTransaction/types.ts | 10 ++++ .../ConfidentialTransaction/index.ts | 40 ++++++++++++++ src/middleware/queries/confidential.ts | 52 +++++++++++++++++++ 4 files changed, 137 insertions(+) diff --git a/src/api/entities/confidential/ConfidentialTransaction/index.ts b/src/api/entities/confidential/ConfidentialTransaction/index.ts index 2675c10abb..6c6af9a5dc 100644 --- a/src/api/entities/confidential/ConfidentialTransaction/index.ts +++ b/src/api/entities/confidential/ConfidentialTransaction/index.ts @@ -2,6 +2,7 @@ import { Option } from '@polkadot/types'; import { PalletConfidentialAssetTransactionStatus } from '@polkadot/types/lookup'; import BigNumber from 'bignumber.js'; +import { convertSubQueryAssetIdToUuid } from '~/api/entities/confidential/ConfidentialAccount/helpers'; import { affirmConfidentialTransactions, Context, @@ -11,6 +12,8 @@ import { PolymeshError, rejectConfidentialTransaction, } from '~/internal'; +import { getConfidentialTransactionProofsQuery } from '~/middleware/queries'; +import { Query } from '~/middleware/types'; import { AffirmConfidentialTransactionParams, ConfidentialLeg, @@ -21,9 +24,11 @@ import { ErrorCode, NoArgsProcedureMethod, ProcedureMethod, + SenderProofs, SubCallback, UnsubCallback, } from '~/types'; +import { Ensured } from '~/types/utils'; import { bigNumberToConfidentialTransactionId, bigNumberToConfidentialTransactionLegId, @@ -358,6 +363,36 @@ export class ConfidentialTransaction extends Entity { return confidentialLegStateToLegState(rawLegState, context); } + /** + * Get all submitted sender proofs for this transaction + * + * @note uses the middlewareV2 + */ + public async getSenderProofs(): Promise { + const { context } = this; + const { + data: { + confidentialTransactionAffirmations: { nodes }, + }, + } = await context.queryMiddleware>( + getConfidentialTransactionProofsQuery(this.id) + ); + + return nodes.map(({ proofs: sqProofs, legId: sqLegId }) => { + const legId = new BigNumber(sqLegId); + + const proofs = sqProofs.map(({ assetId, proof }: { assetId: string; proof: string }) => ({ + assetId: convertSubQueryAssetIdToUuid(assetId), + proof, + })); + + return { + proofs, + legId, + }; + }); + } + /** * Executes this transaction * diff --git a/src/api/entities/confidential/ConfidentialTransaction/types.ts b/src/api/entities/confidential/ConfidentialTransaction/types.ts index 055377b6b3..37a56878d7 100644 --- a/src/api/entities/confidential/ConfidentialTransaction/types.ts +++ b/src/api/entities/confidential/ConfidentialTransaction/types.ts @@ -117,3 +117,13 @@ export type AffirmConfidentialTransactionParams = { legId: BigNumber } & ( | SenderAffirm | ObserverAffirm ); + +export interface SenderAssetProof { + proof: string; + assetId: string; +} + +export type SenderProofs = { + legId: BigNumber; + proofs: SenderAssetProof[]; +}; diff --git a/src/api/entities/confidential/__tests__/ConfidentialTransaction/index.ts b/src/api/entities/confidential/__tests__/ConfidentialTransaction/index.ts index 2f12e3e58c..15cb8c85d6 100644 --- a/src/api/entities/confidential/__tests__/ConfidentialTransaction/index.ts +++ b/src/api/entities/confidential/__tests__/ConfidentialTransaction/index.ts @@ -10,6 +10,7 @@ import { PolymeshError, PolymeshTransaction, } from '~/internal'; +import { getConfidentialTransactionProofsQuery } from '~/middleware/queries'; import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; import { createMockConfidentialAssetTransaction, @@ -561,4 +562,43 @@ describe('ConfidentialTransaction class', () => { expect(transaction.toHuman()).toBe('1'); }); }); + + describe('method: getSenderProofs', () => { + it('should return the query results', async () => { + const senderProofsResult = { + confidentialTransactionAffirmations: { + nodes: [ + { + legId: 1, + proofs: [ + { + assetId: '0x08abb6e3550f385721cfd4a35bd5c6fa', + proof: '0xsomeProof', + }, + ], + }, + ], + }, + }; + + dsMockUtils.createApolloQueryMock( + getConfidentialTransactionProofsQuery(transaction.id), + senderProofsResult + ); + + const result = await transaction.getSenderProofs(); + + expect(result).toEqual([ + { + legId: new BigNumber('1'), + proofs: [ + { + assetId: '08abb6e3-550f-3857-21cf-d4a35bd5c6fa', + proof: '0xsomeProof', + }, + ], + }, + ]); + }); + }); }); diff --git a/src/middleware/queries/confidential.ts b/src/middleware/queries/confidential.ts index 2daa2f6e5c..508c55eaf3 100644 --- a/src/middleware/queries/confidential.ts +++ b/src/middleware/queries/confidential.ts @@ -282,3 +282,55 @@ export function getConfidentialAssetHistoryByConfidentialAccountQuery( variables: { ...variables, size: size?.toNumber(), start: start?.toNumber() }, }; } + +export type ConfidentialTransactionProofsArgs = { + transactionId: string; +}; + +/** + * @hidden + */ +function createGetConfidentialTransactionProofArgs(transactionId: BigNumber): { + args: string; + filter: string; + variables: { transactionId: string }; +} { + const args = ['$transactionId: String!']; + const filter = ['transactionId: { equalTo: $transactionId }']; + + return { + args: `(${args.join()})`, + filter: `filter: { ${filter.join()} }`, + variables: { transactionId: transactionId.toString() }, + }; +} + +/** + * @hidden + * + * Get sender proofs for a transaction + */ +export function getConfidentialTransactionProofsQuery( + transactionId: BigNumber +): QueryOptions { + const { args, filter, variables } = createGetConfidentialTransactionProofArgs(transactionId); + + const query = gql` + query ConfidentialTransactionProofs + ${args} + { + confidentialTransactionAffirmations( + ${filter} + ) { + nodes { + proofs + legId + } + } + }`; + + return { + query, + variables, + }; +} From 6d2b3895f067f309f0e1d3a727f69840f99ef08b Mon Sep 17 00:00:00 2001 From: Eric Richardson Date: Tue, 19 Mar 2024 11:25:48 -0400 Subject: [PATCH 114/120] =?UTF-8?q?fix:=20=F0=9F=90=9B=20filter=20for=20se?= =?UTF-8?q?nder=20in=20getSenderProofs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/middleware/queries/confidential.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/middleware/queries/confidential.ts b/src/middleware/queries/confidential.ts index 508c55eaf3..7e26701f84 100644 --- a/src/middleware/queries/confidential.ts +++ b/src/middleware/queries/confidential.ts @@ -296,7 +296,7 @@ function createGetConfidentialTransactionProofArgs(transactionId: BigNumber): { variables: { transactionId: string }; } { const args = ['$transactionId: String!']; - const filter = ['transactionId: { equalTo: $transactionId }']; + const filter = ['transactionId: { equalTo: $transactionId }, party: { equalTo: Sender }']; return { args: `(${args.join()})`, From 7f9dbfd8acad610622eee7bc80177306e1f1d8d2 Mon Sep 17 00:00:00 2001 From: Eric Richardson Date: Wed, 20 Mar 2024 11:07:27 -0400 Subject: [PATCH 115/120] =?UTF-8?q?fix:=20=F0=9F=90=9B=20order=20confident?= =?UTF-8?q?ial=20tx=20legs=20according=20to=20ID?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit sort confidential legs so array index is equal to legId ✅ Closes: DA-1128 --- .../ConfidentialTransaction/index.ts | 24 +++--- .../ConfidentialTransaction/index.ts | 83 +++++++++++++++++-- 2 files changed, 88 insertions(+), 19 deletions(-) diff --git a/src/api/entities/confidential/ConfidentialTransaction/index.ts b/src/api/entities/confidential/ConfidentialTransaction/index.ts index 6c6af9a5dc..8311e441aa 100644 --- a/src/api/entities/confidential/ConfidentialTransaction/index.ts +++ b/src/api/entities/confidential/ConfidentialTransaction/index.ts @@ -308,7 +308,7 @@ export class ConfidentialTransaction extends Entity { }; }); - return legs; + return legs.sort((a, b) => a.id.minus(b.id).toNumber()); } /** @@ -329,16 +329,18 @@ export class ConfidentialTransaction extends Entity { const rawLegStates = await confidentialAsset.txLegStates.entries(rawId); - return rawLegStates.map(([key, rawLegState]) => { - const rawLegId = key.args[1]; - const legId = confidentialTransactionLegIdToBigNumber(rawLegId); - const state = confidentialLegStateToLegState(rawLegState, context); - - return { - legId, - ...state, - }; - }); + return rawLegStates + .map(([key, rawLegState]) => { + const rawLegId = key.args[1]; + const legId = confidentialTransactionLegIdToBigNumber(rawLegId); + const state = confidentialLegStateToLegState(rawLegState, context); + + return { + legId, + ...state, + }; + }) + .sort((a, b) => a.legId.minus(b.legId).toNumber()); } /** diff --git a/src/api/entities/confidential/__tests__/ConfidentialTransaction/index.ts b/src/api/entities/confidential/__tests__/ConfidentialTransaction/index.ts index 15cb8c85d6..f438c211e1 100644 --- a/src/api/entities/confidential/__tests__/ConfidentialTransaction/index.ts +++ b/src/api/entities/confidential/__tests__/ConfidentialTransaction/index.ts @@ -311,6 +311,14 @@ describe('ConfidentialTransaction class', () => { const sender = dsMockUtils.createMockConfidentialAccount(senderKey); const receiver = dsMockUtils.createMockConfidentialAccount(receiverKey); const mediator = dsMockUtils.createMockIdentityId(mediatorDid); + const legDetails = dsMockUtils.createMockOption( + dsMockUtils.createMockConfidentialLegDetails({ + sender, + receiver, + auditors: dsMockUtils.createMockBTreeMap(), + mediators: [mediator], + }) + ); beforeEach(() => {}); @@ -319,14 +327,7 @@ describe('ConfidentialTransaction class', () => { entries: [ tuple( [rawTransactionId, dsMockUtils.createMockConfidentialTransactionLegId(legId)], - dsMockUtils.createMockOption( - dsMockUtils.createMockConfidentialLegDetails({ - sender, - receiver, - auditors: dsMockUtils.createMockBTreeMap(), - mediators: [mediator], - }) - ) + legDetails ), ], }); @@ -337,6 +338,39 @@ describe('ConfidentialTransaction class', () => { ); }); + it('should return the transaction legs in order of their IDs', async () => { + dsMockUtils.createQueryMock('confidentialAsset', 'transactionLegs', { + entries: [ + tuple( + [ + rawTransactionId, + dsMockUtils.createMockConfidentialTransactionLegId(new BigNumber(2)), + ], + legDetails + ), + tuple( + [ + rawTransactionId, + dsMockUtils.createMockConfidentialTransactionLegId(new BigNumber(0)), + ], + legDetails + ), + tuple( + [ + rawTransactionId, + dsMockUtils.createMockConfidentialTransactionLegId(new BigNumber(1)), + ], + legDetails + ), + ], + }); + + const result = await transaction.getLegs(); + expect(result[0].id).toEqual(new BigNumber(0)); + expect(result[1].id).toEqual(new BigNumber(1)); + expect(result[2].id).toEqual(new BigNumber(2)); + }); + it('should throw an error if details are None', () => { dsMockUtils.createQueryMock('confidentialAsset', 'transactionLegs', { entries: [ @@ -522,6 +556,39 @@ describe('ConfidentialTransaction class', () => { ]) ); }); + + it('should return the leg states ordered by their id', async () => { + dsMockUtils.createQueryMock('confidentialAsset', 'txLegStates', { + entries: [ + tuple( + [ + dsMockUtils.createMockConfidentialTransactionId(new BigNumber(2)), + dsMockUtils.createMockConfidentialTransactionLegId(legId), + ], + mockLegReturn + ), + tuple( + [ + dsMockUtils.createMockConfidentialTransactionId(id), + dsMockUtils.createMockConfidentialTransactionLegId(new BigNumber(0)), + ], + dsMockUtils.createMockOption() + ), + tuple( + [ + dsMockUtils.createMockConfidentialTransactionId(id), + dsMockUtils.createMockConfidentialTransactionLegId(new BigNumber(1)), + ], + dsMockUtils.createMockOption() + ), + ], + }); + + const result = await transaction.getLegStates(); + expect(result[0].legId).toEqual(new BigNumber(0)); + expect(result[1].legId).toEqual(new BigNumber(1)); + expect(result[2].legId).toEqual(new BigNumber(2)); + }); }); describe('method: getLegState', () => { From 1a489e43eae97ebc8dad3626d2c6f5a8e32587ef Mon Sep 17 00:00:00 2001 From: Prashant Bajpai <34747455+prashantasdeveloper@users.noreply.github.com> Date: Wed, 3 Apr 2024 11:47:55 +0530 Subject: [PATCH 116/120] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20Add=20`createdAt?= =?UTF-8?q?`=20method=20to=20`ConfidentialTransaction`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This returns the identifier data for the transaction created event --- .../ConfidentialTransaction/index.ts | 32 ++++++++++++- .../ConfidentialTransaction/types.ts | 3 ++ .../ConfidentialTransaction/index.ts | 45 ++++++++++++++++++- .../__tests__/queries/confidential.ts | 14 ++++++ src/middleware/queries/confidential.ts | 28 ++++++++++++ 5 files changed, 119 insertions(+), 3 deletions(-) diff --git a/src/api/entities/confidential/ConfidentialTransaction/index.ts b/src/api/entities/confidential/ConfidentialTransaction/index.ts index 8311e441aa..7d863a9bfa 100644 --- a/src/api/entities/confidential/ConfidentialTransaction/index.ts +++ b/src/api/entities/confidential/ConfidentialTransaction/index.ts @@ -12,7 +12,10 @@ import { PolymeshError, rejectConfidentialTransaction, } from '~/internal'; -import { getConfidentialTransactionProofsQuery } from '~/middleware/queries'; +import { + confidentialTransactionQuery, + getConfidentialTransactionProofsQuery, +} from '~/middleware/queries'; import { Query } from '~/middleware/types'; import { AffirmConfidentialTransactionParams, @@ -22,6 +25,7 @@ import { ConfidentialTransactionDetails, ConfidentialTransactionStatus, ErrorCode, + EventIdentifier, NoArgsProcedureMethod, ProcedureMethod, SenderProofs, @@ -41,10 +45,11 @@ import { meshConfidentialLegDetailsToDetails, meshConfidentialTransactionDetailsToDetails, meshConfidentialTransactionStatusToStatus, + middlewareEventDetailsToEventIdentifier, u32ToBigNumber, u64ToBigNumber, } from '~/utils/conversion'; -import { createProcedureMethod } from '~/utils/internal'; +import { createProcedureMethod, optionize } from '~/utils/internal'; export interface UniqueIdentifiers { id: BigNumber; @@ -395,6 +400,29 @@ export class ConfidentialTransaction extends Entity { }); } + /** + * Retrieve the identifier data (block number, date and event index) of the event that was emitted when the Confidential Transaction was created + * + * @note uses the middlewareV2 + * @note there is a possibility that the data is not ready by the time it is requested. In that case, `null` is returned + */ + public async createdAt(): Promise { + const { context, id } = this; + + const { + data: { confidentialTransaction }, + } = await context.queryMiddleware>( + confidentialTransactionQuery({ + id: id.toString(), + }) + ); + + return optionize(middlewareEventDetailsToEventIdentifier)( + confidentialTransaction?.createdBlock, + confidentialTransaction?.eventIdx + ); + } + /** * Executes this transaction * diff --git a/src/api/entities/confidential/ConfidentialTransaction/types.ts b/src/api/entities/confidential/ConfidentialTransaction/types.ts index 37a56878d7..2f8490626b 100644 --- a/src/api/entities/confidential/ConfidentialTransaction/types.ts +++ b/src/api/entities/confidential/ConfidentialTransaction/types.ts @@ -61,6 +61,9 @@ export enum ConfidentialTransactionStatus { */ export interface ConfidentialTransactionDetails { venueId: BigNumber; + /** + * block number at which the Confidential Transaction was created + */ createdAt: BigNumber; status: ConfidentialTransactionStatus; memo?: string; diff --git a/src/api/entities/confidential/__tests__/ConfidentialTransaction/index.ts b/src/api/entities/confidential/__tests__/ConfidentialTransaction/index.ts index f438c211e1..f8bfa0f3a9 100644 --- a/src/api/entities/confidential/__tests__/ConfidentialTransaction/index.ts +++ b/src/api/entities/confidential/__tests__/ConfidentialTransaction/index.ts @@ -10,7 +10,10 @@ import { PolymeshError, PolymeshTransaction, } from '~/internal'; -import { getConfidentialTransactionProofsQuery } from '~/middleware/queries'; +import { + confidentialTransactionQuery, + getConfidentialTransactionProofsQuery, +} from '~/middleware/queries'; import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; import { createMockConfidentialAssetTransaction, @@ -668,4 +671,44 @@ describe('ConfidentialTransaction class', () => { ]); }); }); + + describe('method: createdAt', () => { + it('should return the event identifier object of the ConfidentialTransaction creation', async () => { + const eventIdx = new BigNumber(1); + const blockNumber = new BigNumber(1234); + const blockHash = 'someHash'; + const blockDate = new Date('4/14/2020'); + + const fakeResult = { blockNumber, blockHash, blockDate, eventIndex: eventIdx }; + + dsMockUtils.createApolloQueryMock( + confidentialTransactionQuery({ id: transaction.id.toString() }), + { + confidentialTransaction: { + createdBlock: { + blockId: blockNumber.toNumber(), + datetime: blockDate, + hash: blockHash, + }, + eventIdx: eventIdx.toNumber(), + }, + } + ); + + const result = await transaction.createdAt(); + + expect(result).toEqual(fakeResult); + }); + + it('should return null if the query result is empty', async () => { + dsMockUtils.createApolloQueryMock( + confidentialTransactionQuery({ id: transaction.id.toString() }), + { + confidentialTransaction: null, + } + ); + const result = await transaction.createdAt(); + expect(result).toBeNull(); + }); + }); }); diff --git a/src/middleware/__tests__/queries/confidential.ts b/src/middleware/__tests__/queries/confidential.ts index 9e051f16a5..467bfae410 100644 --- a/src/middleware/__tests__/queries/confidential.ts +++ b/src/middleware/__tests__/queries/confidential.ts @@ -3,6 +3,7 @@ import BigNumber from 'bignumber.js'; import { confidentialAssetQuery, confidentialAssetsByHolderQuery, + confidentialTransactionQuery, getConfidentialAssetHistoryByConfidentialAccountQuery, getConfidentialTransactionsByConfidentialAccountQuery, } from '~/middleware/queries'; @@ -216,3 +217,16 @@ describe('getConfidentialAssetHistoryByConfidentialAccountQuery', () => { }); }); }); + +describe('confidentialTransactionQuery', () => { + it('should pass the variables to the grapqhl query', () => { + const variables = { + id: '1', + }; + + const result = confidentialTransactionQuery(variables); + + expect(result.query).toBeDefined(); + expect(result.variables).toEqual(variables); + }); +}); diff --git a/src/middleware/queries/confidential.ts b/src/middleware/queries/confidential.ts index 7e26701f84..478c5abda8 100644 --- a/src/middleware/queries/confidential.ts +++ b/src/middleware/queries/confidential.ts @@ -7,6 +7,7 @@ import { ConfidentialAssetHistory, ConfidentialAssetHolder, ConfidentialAssetHoldersOrderBy, + ConfidentialTransaction, ConfidentialTransactionStatusEnum, EventIdEnum, } from '~/middleware/types'; @@ -334,3 +335,30 @@ export function getConfidentialTransactionProofsQuery( variables, }; } + +/** + * @hidden + * + * Get confidential transaction details by ID + */ +export function confidentialTransactionQuery( + variables: QueryArgs +): QueryOptions> { + const query = gql` + query ConfidentialTransaction($id: String!) { + confidentialTransaction(id: $id) { + eventIdx + createdBlock { + blockId + datetime + hash + } + } + } + `; + + return { + query, + variables, + }; +} From 38ade78a112bdbbfc34f643d39e5dec232db2499 Mon Sep 17 00:00:00 2001 From: Eric Richardson Date: Thu, 4 Apr 2024 15:02:43 -0400 Subject: [PATCH 117/120] =?UTF-8?q?refactor:=20=F0=9F=92=A1=20extend=20pub?= =?UTF-8?q?lic=20SDK=20to=20reduce=20duplication?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 16 +- package.json | 2 + src/api/client/AccountManagement.ts | 308 - src/api/client/Assets.ts | 366 - src/api/client/Claims.ts | 589 - src/api/client/ConfidentialAccounts.ts | 25 +- src/api/client/ConfidentialAssets.ts | 16 +- src/api/client/ConfidentialSettlements.ts | 18 +- src/api/client/Identities.ts | 168 - src/api/client/Network.ts | 460 - src/api/client/Polymesh.ts | 211 +- src/api/client/Settlements.ts | 122 - src/api/client/__tests__/AccountManagement.ts | 399 - src/api/client/__tests__/Assets.ts | 668 - src/api/client/__tests__/Claims.ts | 948 - .../client/__tests__/ConfidentialAccounts.ts | 12 +- .../client/__tests__/ConfidentialAssets.ts | 12 +- .../__tests__/ConfidentialSettlements.ts | 14 +- src/api/client/__tests__/Identities.ts | 210 - src/api/client/__tests__/Network.ts | 620 - src/api/client/__tests__/Polymesh.ts | 209 +- src/api/client/__tests__/Settlements.ts | 183 - src/api/entities/Account/MultiSig/index.ts | 148 - src/api/entities/Account/MultiSig/types.ts | 8 - .../entities/Account/__tests__/MultiSig.ts | 197 - src/api/entities/Account/__tests__/index.ts | 949 - src/api/entities/Account/helpers.ts | 203 - src/api/entities/Account/index.ts | 554 - src/api/entities/Account/types.ts | 98 - src/api/entities/Asset/Base/BaseAsset.ts | 377 - .../Asset/Base/Compliance/Requirements.ts | 210 - .../Base/Compliance/TrustedClaimIssuers.ts | 142 - .../entities/Asset/Base/Compliance/index.ts | 22 - .../entities/Asset/Base/Documents/index.ts | 62 - src/api/entities/Asset/Base/Metadata/index.ts | 148 - .../entities/Asset/Base/Permissions/index.ts | 175 - .../entities/Asset/Base/Settlements/index.ts | 179 - src/api/entities/Asset/Base/index.ts | 1 - .../Asset/Fungible/AssetHolders/index.ts | 44 - .../Asset/Fungible/Checkpoints/Schedules.ts | 133 - .../Checkpoints/__tests__/Schedules.ts | 203 - .../Fungible/Checkpoints/__tests__/index.ts | 163 - .../Asset/Fungible/Checkpoints/index.ts | 140 - .../Asset/Fungible/Checkpoints/types.ts | 27 - .../CorporateActions/Distributions.ts | 119 - .../__tests__/Distributions.ts | 230 - .../CorporateActions/__tests__/index.ts | 185 - .../Asset/Fungible/CorporateActions/index.ts | 134 - .../Asset/Fungible/CorporateActions/types.ts | 9 - .../entities/Asset/Fungible/Issuance/index.ts | 31 - .../Asset/Fungible/Offerings/index.ts | 136 - .../TransferRestrictions/ClaimCount.ts | 87 - .../TransferRestrictions/ClaimPercentage.ts | 78 - .../Fungible/TransferRestrictions/Count.ts | 103 - .../TransferRestrictions/Percentage.ts | 75 - .../TransferRestrictionBase.ts | 284 - .../TransferRestrictions/__tests__/Count.ts | 28 - .../__tests__/Percentage.ts | 28 - .../__tests__/TransferRestrictionBase.ts | 686 - .../TransferRestrictions/__tests__/index.ts | 9 - .../Fungible/TransferRestrictions/index.ts | 28 - src/api/entities/Asset/Fungible/index.ts | 331 - src/api/entities/Asset/NonFungible/Nft.ts | 388 - .../Asset/NonFungible/NftCollection.ts | 282 - src/api/entities/Asset/NonFungible/index.ts | 2 - .../Asset/__tests__/Base/BaseAsset.ts | 74 - .../__tests__/Base/Compliance/Requirements.ts | 555 - .../Base/Compliance/TrustedClaimIssuers.ts | 244 - .../Asset/__tests__/Base/Compliance/index.ts | 9 - .../Asset/__tests__/Base/Documents.ts | 134 - .../entities/Asset/__tests__/Base/Metadata.ts | 235 - .../Asset/__tests__/Base/Permissions.ts | 264 - .../Asset/__tests__/Base/Settlements.ts | 317 - .../Asset/__tests__/Fungible/AssetHolders.ts | 151 - .../Asset/__tests__/Fungible/Issuance.ts | 63 - .../Asset/__tests__/Fungible/Offerings.ts | 316 - .../Asset/__tests__/Fungible/index.ts | 1012 - .../Asset/__tests__/NonFungible/Nft.ts | 460 - .../__tests__/NonFungible/NftCollection.ts | 574 - src/api/entities/Asset/index.ts | 4 - src/api/entities/Asset/types.ts | 161 - src/api/entities/AuthorizationRequest.ts | 236 - src/api/entities/Checkpoint.ts | 273 - .../CheckpointSchedule/__tests__/index.ts | 257 - src/api/entities/CheckpointSchedule/index.ts | 188 - src/api/entities/CheckpointSchedule/types.ts | 10 - .../ConfidentialAccount/helpers.ts | 0 .../ConfidentialAccount/index.ts | 14 +- .../ConfidentialAccount/types.ts | 3 +- .../ConfidentialAsset/index.ts | 63 +- .../ConfidentialAsset/types.ts | 5 +- .../ConfidentialTransaction/index.ts | 48 +- .../ConfidentialTransaction/types.ts | 5 +- .../ConfidentialVenue/index.ts | 20 +- src/api/entities/CorporateAction.ts | 64 - .../CorporateActionBase/__tests__/index.ts | 315 - src/api/entities/CorporateActionBase/index.ts | 275 - src/api/entities/CorporateActionBase/types.ts | 43 - src/api/entities/CustomPermissionGroup.ts | 120 - src/api/entities/DefaultPortfolio.ts | 25 - src/api/entities/DefaultTrustedClaimIssuer.ts | 109 - .../DividendDistribution/__tests__/index.ts | 666 - .../entities/DividendDistribution/index.ts | 606 - .../entities/DividendDistribution/types.ts | 27 - src/api/entities/Entity.ts | 74 - src/api/entities/Identity/AssetPermissions.ts | 412 - src/api/entities/Identity/ChildIdentity.ts | 80 - .../Identity/IdentityAuthorizations.ts | 100 - src/api/entities/Identity/Portfolios.ts | 227 - .../Identity/__tests__/AssetPermissions.ts | 501 - .../Identity/__tests__/ChildIdentity.ts | 118 - .../__tests__/IdentityAuthorizations.ts | 253 - .../entities/Identity/__tests__/Portfolios.ts | 456 - src/api/entities/Identity/__tests__/index.ts | 1473 - src/api/entities/Identity/index.ts | 1011 - .../entities/Instruction/__tests__/index.ts | 1221 - src/api/entities/Instruction/index.ts | 668 - src/api/entities/Instruction/types.ts | 97 - src/api/entities/KnownPermissionGroup.ts | 105 - .../entities/MetadataEntry/__tests__/index.ts | 344 - src/api/entities/MetadataEntry/index.ts | 306 - src/api/entities/MetadataEntry/types.ts | 55 - .../MultiSigProposal/__tests__/index.ts | 377 - src/api/entities/MultiSigProposal/index.ts | 299 - src/api/entities/MultiSigProposal/types.ts | 58 - src/api/entities/Namespace.ts | 20 - src/api/entities/NumberedPortfolio.ts | 139 - src/api/entities/Offering/__tests__/index.ts | 442 - src/api/entities/Offering/index.ts | 271 - src/api/entities/Offering/types.ts | 91 - src/api/entities/PermissionGroup.ts | 36 - src/api/entities/Portfolio/__tests__/index.ts | 805 - src/api/entities/Portfolio/index.ts | 460 - src/api/entities/Portfolio/types.ts | 41 - src/api/entities/Subsidies.ts | 79 - src/api/entities/Subsidy/__tests__/index.ts | 248 - src/api/entities/Subsidy/index.ts | 214 - src/api/entities/Subsidy/types.ts | 23 - .../TickerReservation/__tests__/index.ts | 329 - src/api/entities/TickerReservation/index.ts | 214 - src/api/entities/TickerReservation/types.ts | 28 - src/api/entities/Venue/__tests__/index.ts | 421 - src/api/entities/Venue/index.ts | 275 - src/api/entities/Venue/types.ts | 36 - .../__tests__/AuthorizationRequest.ts | 498 - src/api/entities/__tests__/Checkpoint.ts | 260 - .../__tests__/ConfidentialAccount/helpers.ts | 2 +- .../__tests__/ConfidentialAccount/index.ts | 10 +- .../__tests__/ConfidentialAsset/index.ts | 27 +- .../ConfidentialTransaction/index.ts | 15 +- .../__tests__/ConfidentialVenue/index.ts | 17 +- src/api/entities/__tests__/CorporateAction.ts | 108 - .../__tests__/CustomPermissionGroup.ts | 171 - .../entities/__tests__/DefaultPortfolio.ts | 34 - .../__tests__/DefaultTrustedClaimIssuer.ts | 187 - src/api/entities/__tests__/Entity.ts | 71 - .../__tests__/KnownPermissionGroup.ts | 132 - .../entities/__tests__/NumberedPortfolio.ts | 202 - src/api/entities/__tests__/PermissionGroup.ts | 7 - src/api/entities/__tests__/Subsidies.ts | 140 - .../common/namespaces/Authorizations.ts | 212 - .../namespaces/__tests__/Authorizations.ts | 314 - src/api/entities/confidential/types.ts | 3 - src/api/entities/types.ts | 63 +- .../__tests__/acceptPrimaryKeyRotation.ts | 207 - .../procedures/__tests__/addAssetMediators.ts | 145 - .../__tests__/addAssetRequirement.ts | 161 - src/api/procedures/__tests__/addAssetStat.ts | 279 - .../__tests__/addConfidentialTransaction.ts | 42 +- .../procedures/__tests__/addInstruction.ts | 1152 - .../__tests__/addTransferRestriction.ts | 592 - .../affirmConfidentialTransactions.ts | 9 +- .../__tests__/applyIncomingAssetBalance.ts | 3 +- .../applyIncomingConfidentialAssetBalances.ts | 8 +- .../__tests__/attestPrimaryKeyRotation.ts | 161 - .../__tests__/burnConfidentialAssets.ts | 16 +- .../procedures/__tests__/claimDividends.ts | 169 - src/api/procedures/__tests__/clearMetadata.ts | 136 - src/api/procedures/__tests__/closeOffering.ts | 114 - .../configureDividendDistribution.ts | 774 - .../consumeAddMultiSigSignerAuthorization.ts | 399 - ...consumeAddRelayerPayingKeyAuthorization.ts | 349 - .../__tests__/consumeAuthorizationRequests.ts | 313 - .../consumeJoinOrRotateAuthorization.ts | 565 - .../__tests__/controllerTransfer.ts | 189 - src/api/procedures/__tests__/createAsset.ts | 777 - .../procedures/__tests__/createCheckpoint.ts | 110 - .../__tests__/createCheckpointSchedule.ts | 163 - .../__tests__/createChildIdentity.ts | 258 - .../__tests__/createConfidentialAccount.ts | 4 +- .../__tests__/createConfidentialAsset.ts | 7 +- .../__tests__/createConfidentialVenue.ts | 6 +- src/api/procedures/__tests__/createGroup.ts | 221 - .../procedures/__tests__/createMultiSig.ts | 116 - .../__tests__/createNftCollection.ts | 714 - .../procedures/__tests__/createPortfolios.ts | 115 - .../__tests__/createTransactionBatch.ts | 208 - src/api/procedures/__tests__/createVenue.ts | 102 - .../procedures/__tests__/deletePortfolio.ts | 157 - .../__tests__/evaluateMultiSigProposal.ts | 254 - .../executeConfidentialTransaction.ts | 2 +- .../__tests__/executeManualInstruction.ts | 361 - .../procedures/__tests__/investInOffering.ts | 428 - src/api/procedures/__tests__/inviteAccount.ts | 287 - .../__tests__/inviteExternalAgent.ts | 327 - .../__tests__/issueConfidentialAssets.ts | 10 +- src/api/procedures/__tests__/issueNft.ts | 336 - src/api/procedures/__tests__/issueTokens.ts | 330 - .../procedures/__tests__/launchOffering.ts | 411 - src/api/procedures/__tests__/leaveIdentity.ts | 97 - src/api/procedures/__tests__/linkCaDocs.ts | 165 - .../procedures/__tests__/modifyAllowance.ts | 185 - src/api/procedures/__tests__/modifyAsset.ts | 249 - .../modifyAssetTrustedClaimIssuers.ts | 375 - .../__tests__/modifyCaCheckpoint.ts | 263 - .../__tests__/modifyCaDefaultConfig.ts | 326 - src/api/procedures/__tests__/modifyClaims.ts | 595 - .../__tests__/modifyComplianceRequirement.ts | 179 - .../__tests__/modifyCorporateActionsAgent.ts | 219 - .../__tests__/modifyInstructionAffirmation.ts | 857 - .../procedures/__tests__/modifyMultiSig.ts | 336 - .../__tests__/modifyOfferingTimes.ts | 320 - .../__tests__/modifySignerPermissions.ts | 246 - src/api/procedures/__tests__/modifyVenue.ts | 190 - src/api/procedures/__tests__/moveFunds.ts | 741 - src/api/procedures/__tests__/payDividends.ts | 233 - src/api/procedures/__tests__/quitCustody.ts | 193 - src/api/procedures/__tests__/quitSubsidy.ts | 127 - .../reclaimDividendDistributionFunds.ts | 147 - src/api/procedures/__tests__/redeemNft.ts | 214 - src/api/procedures/__tests__/redeemTokens.ts | 253 - .../__tests__/registerCustomClaimType.ts | 166 - .../procedures/__tests__/registerIdentity.ts | 212 - .../procedures/__tests__/registerMetadata.ts | 318 - .../rejectConfidentialTransaction.ts | 2 +- .../__tests__/removeAssetMediators.ts | 130 - .../__tests__/removeAssetRequirement.ts | 148 - .../procedures/__tests__/removeAssetStat.ts | 310 - .../__tests__/removeCheckpointSchedule.ts | 149 - .../__tests__/removeCorporateAction.ts | 196 - .../__tests__/removeExternalAgent.ts | 205 - .../__tests__/removeLocalMetadata.ts | 183 - .../__tests__/removeSecondaryAccounts.ts | 116 - .../procedures/__tests__/renamePortfolio.ts | 150 - src/api/procedures/__tests__/reserveTicker.ts | 270 - .../procedures/__tests__/rotatePrimaryKey.ts | 203 - .../procedures/__tests__/setAssetDocuments.ts | 253 - .../__tests__/setAssetRequirements.ts | 230 - .../setConfidentialVenueFiltering.ts | 9 +- src/api/procedures/__tests__/setCustodian.ts | 232 - .../__tests__/setGroupPermissions.ts | 150 - src/api/procedures/__tests__/setMetadata.ts | 293 - .../__tests__/setPermissionGroup.ts | 448 - .../__tests__/setTransferRestrictions.ts | 990 - .../procedures/__tests__/setVenueFiltering.ts | 225 - .../procedures/__tests__/subsidizeAccount.ts | 177 - .../toggleFreezeConfidentialAccountAsset.ts | 3 +- .../toggleFreezeConfidentialAsset.ts | 6 +- .../__tests__/toggleFreezeOffering.ts | 230 - .../__tests__/toggleFreezeSecondayAccounts.ts | 134 - .../__tests__/toggleFreezeTransfers.ts | 141 - .../__tests__/togglePauseRequirements.ts | 156 - .../__tests__/transferAssetOwnership.ts | 194 - src/api/procedures/__tests__/transferPolyx.ts | 181 - .../__tests__/transferTickerOwnership.ts | 220 - .../__tests__/unlinkChildIdentity.ts | 173 - src/api/procedures/__tests__/utils.ts | 1723 - .../procedures/__tests__/waivePermissions.ts | 174 - .../procedures/acceptPrimaryKeyRotation.ts | 115 - src/api/procedures/addAssetMediators.ts | 88 - src/api/procedures/addAssetRequirement.ts | 95 - src/api/procedures/addAssetStat.ts | 109 - .../procedures/addConfidentialTransaction.ts | 45 +- src/api/procedures/addInstruction.ts | 626 - src/api/procedures/addTransferRestriction.ts | 178 - .../affirmConfidentialTransactions.ts | 22 +- .../procedures/applyIncomingAssetBalance.ts | 25 +- .../applyIncomingConfidentialAssetBalances.ts | 19 +- .../procedures/attestPrimaryKeyRotation.ts | 93 - src/api/procedures/burnConfidentialAssets.ts | 29 +- src/api/procedures/claimDividends.ts | 76 - src/api/procedures/clearMetadata.ts | 80 - src/api/procedures/closeOffering.ts | 77 - .../configureDividendDistribution.ts | 271 - .../consumeAddMultiSigSignerAuthorization.ts | 143 - ...consumeAddRelayerPayingKeyAuthorization.ts | 159 - .../consumeAuthorizationRequests.ts | 175 - .../consumeJoinOrRotateAuthorization.ts | 197 - src/api/procedures/controllerTransfer.ts | 116 - src/api/procedures/createAsset.ts | 324 - src/api/procedures/createCheckpoint.ts | 67 - .../procedures/createCheckpointSchedule.ts | 95 - src/api/procedures/createChildIdentity.ts | 151 - .../procedures/createConfidentialAccount.ts | 16 +- src/api/procedures/createConfidentialAsset.ts | 24 +- src/api/procedures/createConfidentialVenue.ts | 22 +- src/api/procedures/createGroup.ts | 98 - src/api/procedures/createMultiSig.ts | 57 - src/api/procedures/createNftCollection.ts | 360 - src/api/procedures/createPortfolios.ts | 101 - src/api/procedures/createTransactionBatch.ts | 151 - src/api/procedures/createVenue.ts | 59 - src/api/procedures/deletePortfolio.ts | 83 - .../procedures/evaluateMultiSigProposal.ts | 129 - .../executeConfidentialTransaction.ts | 21 +- .../procedures/executeManualInstruction.ts | 177 - src/api/procedures/investInOffering.ts | 226 - src/api/procedures/inviteAccount.ts | 104 - src/api/procedures/inviteExternalAgent.ts | 197 - src/api/procedures/issueConfidentialAssets.ts | 27 +- src/api/procedures/issueNft.ts | 135 - src/api/procedures/issueTokens.ts | 105 - src/api/procedures/launchOffering.ts | 184 - src/api/procedures/leaveIdentity.ts | 57 - src/api/procedures/linkCaDocs.ts | 98 - src/api/procedures/modifyAllowance.ts | 130 - src/api/procedures/modifyAsset.ts | 176 - .../modifyAssetTrustedClaimIssuers.ts | 226 - src/api/procedures/modifyCaCheckpoint.ts | 100 - src/api/procedures/modifyCaDefaultConfig.ts | 188 - src/api/procedures/modifyClaims.ts | 256 - .../procedures/modifyComplianceRequirement.ts | 102 - .../procedures/modifyCorporateActionsAgent.ts | 111 - .../modifyInstructionAffirmation.ts | 433 - src/api/procedures/modifyMultiSig.ts | 143 - src/api/procedures/modifyOfferingTimes.ts | 145 - src/api/procedures/modifySignerPermissions.ts | 117 - src/api/procedures/modifyVenue.ts | 100 - src/api/procedures/moveFunds.ts | 258 - src/api/procedures/payDividends.ts | 121 - src/api/procedures/quitCustody.ts | 92 - src/api/procedures/quitSubsidy.ts | 85 - .../reclaimDividendDistributionFunds.ts | 92 - src/api/procedures/redeemNft.ts | 110 - src/api/procedures/redeemTokens.ts | 129 - src/api/procedures/registerCustomClaimType.ts | 85 - src/api/procedures/registerIdentity.ts | 90 - src/api/procedures/registerMetadata.ts | 148 - .../rejectConfidentialTransaction.ts | 28 +- src/api/procedures/removeAssetMediators.ts | 74 - src/api/procedures/removeAssetRequirement.ts | 72 - src/api/procedures/removeAssetStat.ts | 109 - .../procedures/removeCheckpointSchedule.ts | 87 - src/api/procedures/removeCorporateAction.ts | 134 - src/api/procedures/removeExternalAgent.ts | 110 - src/api/procedures/removeLocalMetadata.ts | 109 - src/api/procedures/removeSecondaryAccounts.ts | 62 - src/api/procedures/renamePortfolio.ts | 85 - src/api/procedures/reserveTicker.ts | 108 - src/api/procedures/rotatePrimaryKey.ts | 100 - src/api/procedures/setAssetDocuments.ts | 146 - src/api/procedures/setAssetRequirements.ts | 108 - .../setConfidentialVenueFiltering.ts | 23 +- src/api/procedures/setCustodian.ts | 114 - src/api/procedures/setGroupPermissions.ts | 84 - src/api/procedures/setMetadata.ts | 140 - src/api/procedures/setPermissionGroup.ts | 195 - src/api/procedures/setTransferRestrictions.ts | 433 - src/api/procedures/setVenueFiltering.ts | 99 - src/api/procedures/subsidizeAccount.ts | 87 - .../toggleFreezeConfidentialAccountAsset.ts | 27 +- .../toggleFreezeConfidentialAsset.ts | 25 +- src/api/procedures/toggleFreezeOffering.ts | 106 - .../toggleFreezeSecondaryAccounts.ts | 78 - src/api/procedures/toggleFreezeTransfers.ts | 88 - src/api/procedures/togglePauseRequirements.ts | 79 - src/api/procedures/transferAssetOwnership.ts | 93 - src/api/procedures/transferPolyx.ts | 112 - src/api/procedures/transferTickerOwnership.ts | 108 - src/api/procedures/types.ts | 1185 +- src/api/procedures/unlinkChildIdentity.ts | 109 - src/api/procedures/utils.ts | 723 +- src/api/procedures/waivePermissions.ts | 92 - ...{Procedure.ts => ConfidentialProcedure.ts} | 71 +- src/base/Context.ts | 1311 - src/base/PolymeshError.ts | 37 - src/base/PolymeshTransaction.ts | 128 - src/base/PolymeshTransactionBase.ts | 804 - src/base/PolymeshTransactionBatch.ts | 263 - ...{Procedure.ts => ConfidentialProcedure.ts} | 124 +- src/base/__tests__/Context.ts | 2299 - src/base/__tests__/Namespace.ts | 16 - src/base/__tests__/PolymeshError.ts | 28 - src/base/__tests__/PolymeshTransaction.ts | 104 - src/base/__tests__/PolymeshTransactionBase.ts | 1191 - .../__tests__/PolymeshTransactionBatch.ts | 308 - src/base/__tests__/utils.ts | 20 - src/base/types.ts | 48 - src/base/utils.ts | 172 - src/index.ts | 2 +- src/internal.ts | 173 +- .../__tests__/queries/confidential.ts | 5 +- src/middleware/__tests__/queries/regular.ts | 603 - src/middleware/queries/confidential.ts | 29 +- src/middleware/queries/index.ts | 1 - src/middleware/queries/regular.ts | 1606 - src/middleware/types.ts | 110921 --------------- src/middleware/typesV1.ts | 15 - src/testUtils/mocks/dataSources.ts | 790 +- src/testUtils/mocks/entities.ts | 98 +- src/testUtils/mocks/polymeshTransaction.ts | 2 +- src/testUtils/mocks/procedure.ts | 13 +- src/types/index.ts | 1790 +- src/types/internal.ts | 299 +- src/types/utils/index.ts | 7 + src/utils/__tests__/conversion.ts | 10446 +- src/utils/__tests__/internal.ts | 2741 +- src/utils/constants.ts | 113 +- src/utils/conversion.ts | 5007 +- src/utils/index.ts | 8 - src/utils/internal.ts | 2011 +- src/utils/typeguards.ts | 416 +- yarn.lock | 27 + 413 files changed, 2002 insertions(+), 219554 deletions(-) delete mode 100644 src/api/client/AccountManagement.ts delete mode 100644 src/api/client/Assets.ts delete mode 100644 src/api/client/Claims.ts delete mode 100644 src/api/client/Identities.ts delete mode 100644 src/api/client/Network.ts delete mode 100644 src/api/client/Settlements.ts delete mode 100644 src/api/client/__tests__/AccountManagement.ts delete mode 100644 src/api/client/__tests__/Assets.ts delete mode 100644 src/api/client/__tests__/Claims.ts delete mode 100644 src/api/client/__tests__/Identities.ts delete mode 100644 src/api/client/__tests__/Network.ts delete mode 100644 src/api/client/__tests__/Settlements.ts delete mode 100644 src/api/entities/Account/MultiSig/index.ts delete mode 100644 src/api/entities/Account/MultiSig/types.ts delete mode 100644 src/api/entities/Account/__tests__/MultiSig.ts delete mode 100644 src/api/entities/Account/__tests__/index.ts delete mode 100644 src/api/entities/Account/helpers.ts delete mode 100644 src/api/entities/Account/index.ts delete mode 100644 src/api/entities/Account/types.ts delete mode 100644 src/api/entities/Asset/Base/BaseAsset.ts delete mode 100644 src/api/entities/Asset/Base/Compliance/Requirements.ts delete mode 100644 src/api/entities/Asset/Base/Compliance/TrustedClaimIssuers.ts delete mode 100644 src/api/entities/Asset/Base/Compliance/index.ts delete mode 100644 src/api/entities/Asset/Base/Documents/index.ts delete mode 100644 src/api/entities/Asset/Base/Metadata/index.ts delete mode 100644 src/api/entities/Asset/Base/Permissions/index.ts delete mode 100644 src/api/entities/Asset/Base/Settlements/index.ts delete mode 100644 src/api/entities/Asset/Base/index.ts delete mode 100644 src/api/entities/Asset/Fungible/AssetHolders/index.ts delete mode 100644 src/api/entities/Asset/Fungible/Checkpoints/Schedules.ts delete mode 100644 src/api/entities/Asset/Fungible/Checkpoints/__tests__/Schedules.ts delete mode 100644 src/api/entities/Asset/Fungible/Checkpoints/__tests__/index.ts delete mode 100644 src/api/entities/Asset/Fungible/Checkpoints/index.ts delete mode 100644 src/api/entities/Asset/Fungible/Checkpoints/types.ts delete mode 100644 src/api/entities/Asset/Fungible/CorporateActions/Distributions.ts delete mode 100644 src/api/entities/Asset/Fungible/CorporateActions/__tests__/Distributions.ts delete mode 100644 src/api/entities/Asset/Fungible/CorporateActions/__tests__/index.ts delete mode 100644 src/api/entities/Asset/Fungible/CorporateActions/index.ts delete mode 100644 src/api/entities/Asset/Fungible/CorporateActions/types.ts delete mode 100644 src/api/entities/Asset/Fungible/Issuance/index.ts delete mode 100644 src/api/entities/Asset/Fungible/Offerings/index.ts delete mode 100644 src/api/entities/Asset/Fungible/TransferRestrictions/ClaimCount.ts delete mode 100644 src/api/entities/Asset/Fungible/TransferRestrictions/ClaimPercentage.ts delete mode 100644 src/api/entities/Asset/Fungible/TransferRestrictions/Count.ts delete mode 100644 src/api/entities/Asset/Fungible/TransferRestrictions/Percentage.ts delete mode 100644 src/api/entities/Asset/Fungible/TransferRestrictions/TransferRestrictionBase.ts delete mode 100644 src/api/entities/Asset/Fungible/TransferRestrictions/__tests__/Count.ts delete mode 100644 src/api/entities/Asset/Fungible/TransferRestrictions/__tests__/Percentage.ts delete mode 100644 src/api/entities/Asset/Fungible/TransferRestrictions/__tests__/TransferRestrictionBase.ts delete mode 100644 src/api/entities/Asset/Fungible/TransferRestrictions/__tests__/index.ts delete mode 100644 src/api/entities/Asset/Fungible/TransferRestrictions/index.ts delete mode 100644 src/api/entities/Asset/Fungible/index.ts delete mode 100644 src/api/entities/Asset/NonFungible/Nft.ts delete mode 100644 src/api/entities/Asset/NonFungible/NftCollection.ts delete mode 100644 src/api/entities/Asset/NonFungible/index.ts delete mode 100644 src/api/entities/Asset/__tests__/Base/BaseAsset.ts delete mode 100644 src/api/entities/Asset/__tests__/Base/Compliance/Requirements.ts delete mode 100644 src/api/entities/Asset/__tests__/Base/Compliance/TrustedClaimIssuers.ts delete mode 100644 src/api/entities/Asset/__tests__/Base/Compliance/index.ts delete mode 100644 src/api/entities/Asset/__tests__/Base/Documents.ts delete mode 100644 src/api/entities/Asset/__tests__/Base/Metadata.ts delete mode 100644 src/api/entities/Asset/__tests__/Base/Permissions.ts delete mode 100644 src/api/entities/Asset/__tests__/Base/Settlements.ts delete mode 100644 src/api/entities/Asset/__tests__/Fungible/AssetHolders.ts delete mode 100644 src/api/entities/Asset/__tests__/Fungible/Issuance.ts delete mode 100644 src/api/entities/Asset/__tests__/Fungible/Offerings.ts delete mode 100644 src/api/entities/Asset/__tests__/Fungible/index.ts delete mode 100644 src/api/entities/Asset/__tests__/NonFungible/Nft.ts delete mode 100644 src/api/entities/Asset/__tests__/NonFungible/NftCollection.ts delete mode 100644 src/api/entities/Asset/index.ts delete mode 100644 src/api/entities/Asset/types.ts delete mode 100644 src/api/entities/AuthorizationRequest.ts delete mode 100644 src/api/entities/Checkpoint.ts delete mode 100644 src/api/entities/CheckpointSchedule/__tests__/index.ts delete mode 100644 src/api/entities/CheckpointSchedule/index.ts delete mode 100644 src/api/entities/CheckpointSchedule/types.ts rename src/api/entities/{confidential => }/ConfidentialAccount/helpers.ts (100%) rename src/api/entities/{confidential => }/ConfidentialAccount/index.ts (96%) rename src/api/entities/{confidential => }/ConfidentialAccount/types.ts (91%) rename src/api/entities/{confidential => }/ConfidentialAsset/index.ts (88%) rename src/api/entities/{confidential => }/ConfidentialAsset/types.ts (90%) rename src/api/entities/{confidential => }/ConfidentialTransaction/index.ts (92%) rename src/api/entities/{confidential => }/ConfidentialTransaction/types.ts (94%) rename src/api/entities/{confidential => }/ConfidentialVenue/index.ts (89%) delete mode 100644 src/api/entities/CorporateAction.ts delete mode 100644 src/api/entities/CorporateActionBase/__tests__/index.ts delete mode 100644 src/api/entities/CorporateActionBase/index.ts delete mode 100644 src/api/entities/CorporateActionBase/types.ts delete mode 100644 src/api/entities/CustomPermissionGroup.ts delete mode 100644 src/api/entities/DefaultPortfolio.ts delete mode 100644 src/api/entities/DefaultTrustedClaimIssuer.ts delete mode 100644 src/api/entities/DividendDistribution/__tests__/index.ts delete mode 100644 src/api/entities/DividendDistribution/index.ts delete mode 100644 src/api/entities/DividendDistribution/types.ts delete mode 100644 src/api/entities/Entity.ts delete mode 100644 src/api/entities/Identity/AssetPermissions.ts delete mode 100644 src/api/entities/Identity/ChildIdentity.ts delete mode 100644 src/api/entities/Identity/IdentityAuthorizations.ts delete mode 100644 src/api/entities/Identity/Portfolios.ts delete mode 100644 src/api/entities/Identity/__tests__/AssetPermissions.ts delete mode 100644 src/api/entities/Identity/__tests__/ChildIdentity.ts delete mode 100644 src/api/entities/Identity/__tests__/IdentityAuthorizations.ts delete mode 100644 src/api/entities/Identity/__tests__/Portfolios.ts delete mode 100644 src/api/entities/Identity/__tests__/index.ts delete mode 100644 src/api/entities/Identity/index.ts delete mode 100644 src/api/entities/Instruction/__tests__/index.ts delete mode 100644 src/api/entities/Instruction/index.ts delete mode 100644 src/api/entities/Instruction/types.ts delete mode 100644 src/api/entities/KnownPermissionGroup.ts delete mode 100644 src/api/entities/MetadataEntry/__tests__/index.ts delete mode 100644 src/api/entities/MetadataEntry/index.ts delete mode 100644 src/api/entities/MetadataEntry/types.ts delete mode 100644 src/api/entities/MultiSigProposal/__tests__/index.ts delete mode 100644 src/api/entities/MultiSigProposal/index.ts delete mode 100644 src/api/entities/MultiSigProposal/types.ts delete mode 100644 src/api/entities/Namespace.ts delete mode 100644 src/api/entities/NumberedPortfolio.ts delete mode 100644 src/api/entities/Offering/__tests__/index.ts delete mode 100644 src/api/entities/Offering/index.ts delete mode 100644 src/api/entities/Offering/types.ts delete mode 100644 src/api/entities/PermissionGroup.ts delete mode 100644 src/api/entities/Portfolio/__tests__/index.ts delete mode 100644 src/api/entities/Portfolio/index.ts delete mode 100644 src/api/entities/Portfolio/types.ts delete mode 100644 src/api/entities/Subsidies.ts delete mode 100644 src/api/entities/Subsidy/__tests__/index.ts delete mode 100644 src/api/entities/Subsidy/index.ts delete mode 100644 src/api/entities/Subsidy/types.ts delete mode 100644 src/api/entities/TickerReservation/__tests__/index.ts delete mode 100644 src/api/entities/TickerReservation/index.ts delete mode 100644 src/api/entities/TickerReservation/types.ts delete mode 100644 src/api/entities/Venue/__tests__/index.ts delete mode 100644 src/api/entities/Venue/index.ts delete mode 100644 src/api/entities/Venue/types.ts delete mode 100644 src/api/entities/__tests__/AuthorizationRequest.ts delete mode 100644 src/api/entities/__tests__/Checkpoint.ts rename src/api/entities/{confidential => }/__tests__/ConfidentialAccount/helpers.ts (90%) rename src/api/entities/{confidential => }/__tests__/ConfidentialAccount/index.ts (97%) rename src/api/entities/{confidential => }/__tests__/ConfidentialAsset/index.ts (95%) rename src/api/entities/{confidential => }/__tests__/ConfidentialTransaction/index.ts (98%) rename src/api/entities/{confidential => }/__tests__/ConfidentialVenue/index.ts (93%) delete mode 100644 src/api/entities/__tests__/CorporateAction.ts delete mode 100644 src/api/entities/__tests__/CustomPermissionGroup.ts delete mode 100644 src/api/entities/__tests__/DefaultPortfolio.ts delete mode 100644 src/api/entities/__tests__/DefaultTrustedClaimIssuer.ts delete mode 100644 src/api/entities/__tests__/Entity.ts delete mode 100644 src/api/entities/__tests__/KnownPermissionGroup.ts delete mode 100644 src/api/entities/__tests__/NumberedPortfolio.ts delete mode 100644 src/api/entities/__tests__/PermissionGroup.ts delete mode 100644 src/api/entities/__tests__/Subsidies.ts delete mode 100644 src/api/entities/common/namespaces/Authorizations.ts delete mode 100644 src/api/entities/common/namespaces/__tests__/Authorizations.ts delete mode 100644 src/api/entities/confidential/types.ts delete mode 100644 src/api/procedures/__tests__/acceptPrimaryKeyRotation.ts delete mode 100644 src/api/procedures/__tests__/addAssetMediators.ts delete mode 100644 src/api/procedures/__tests__/addAssetRequirement.ts delete mode 100644 src/api/procedures/__tests__/addAssetStat.ts delete mode 100644 src/api/procedures/__tests__/addInstruction.ts delete mode 100644 src/api/procedures/__tests__/addTransferRestriction.ts delete mode 100644 src/api/procedures/__tests__/attestPrimaryKeyRotation.ts delete mode 100644 src/api/procedures/__tests__/claimDividends.ts delete mode 100644 src/api/procedures/__tests__/clearMetadata.ts delete mode 100644 src/api/procedures/__tests__/closeOffering.ts delete mode 100644 src/api/procedures/__tests__/configureDividendDistribution.ts delete mode 100644 src/api/procedures/__tests__/consumeAddMultiSigSignerAuthorization.ts delete mode 100644 src/api/procedures/__tests__/consumeAddRelayerPayingKeyAuthorization.ts delete mode 100644 src/api/procedures/__tests__/consumeAuthorizationRequests.ts delete mode 100644 src/api/procedures/__tests__/consumeJoinOrRotateAuthorization.ts delete mode 100644 src/api/procedures/__tests__/controllerTransfer.ts delete mode 100644 src/api/procedures/__tests__/createAsset.ts delete mode 100644 src/api/procedures/__tests__/createCheckpoint.ts delete mode 100644 src/api/procedures/__tests__/createCheckpointSchedule.ts delete mode 100644 src/api/procedures/__tests__/createChildIdentity.ts delete mode 100644 src/api/procedures/__tests__/createGroup.ts delete mode 100644 src/api/procedures/__tests__/createMultiSig.ts delete mode 100644 src/api/procedures/__tests__/createNftCollection.ts delete mode 100644 src/api/procedures/__tests__/createPortfolios.ts delete mode 100644 src/api/procedures/__tests__/createTransactionBatch.ts delete mode 100644 src/api/procedures/__tests__/createVenue.ts delete mode 100644 src/api/procedures/__tests__/deletePortfolio.ts delete mode 100644 src/api/procedures/__tests__/evaluateMultiSigProposal.ts delete mode 100644 src/api/procedures/__tests__/executeManualInstruction.ts delete mode 100644 src/api/procedures/__tests__/investInOffering.ts delete mode 100644 src/api/procedures/__tests__/inviteAccount.ts delete mode 100644 src/api/procedures/__tests__/inviteExternalAgent.ts delete mode 100644 src/api/procedures/__tests__/issueNft.ts delete mode 100644 src/api/procedures/__tests__/issueTokens.ts delete mode 100644 src/api/procedures/__tests__/launchOffering.ts delete mode 100644 src/api/procedures/__tests__/leaveIdentity.ts delete mode 100644 src/api/procedures/__tests__/linkCaDocs.ts delete mode 100644 src/api/procedures/__tests__/modifyAllowance.ts delete mode 100644 src/api/procedures/__tests__/modifyAsset.ts delete mode 100644 src/api/procedures/__tests__/modifyAssetTrustedClaimIssuers.ts delete mode 100644 src/api/procedures/__tests__/modifyCaCheckpoint.ts delete mode 100644 src/api/procedures/__tests__/modifyCaDefaultConfig.ts delete mode 100644 src/api/procedures/__tests__/modifyClaims.ts delete mode 100644 src/api/procedures/__tests__/modifyComplianceRequirement.ts delete mode 100644 src/api/procedures/__tests__/modifyCorporateActionsAgent.ts delete mode 100644 src/api/procedures/__tests__/modifyInstructionAffirmation.ts delete mode 100644 src/api/procedures/__tests__/modifyMultiSig.ts delete mode 100644 src/api/procedures/__tests__/modifyOfferingTimes.ts delete mode 100644 src/api/procedures/__tests__/modifySignerPermissions.ts delete mode 100644 src/api/procedures/__tests__/modifyVenue.ts delete mode 100644 src/api/procedures/__tests__/moveFunds.ts delete mode 100644 src/api/procedures/__tests__/payDividends.ts delete mode 100644 src/api/procedures/__tests__/quitCustody.ts delete mode 100644 src/api/procedures/__tests__/quitSubsidy.ts delete mode 100644 src/api/procedures/__tests__/reclaimDividendDistributionFunds.ts delete mode 100644 src/api/procedures/__tests__/redeemNft.ts delete mode 100644 src/api/procedures/__tests__/redeemTokens.ts delete mode 100644 src/api/procedures/__tests__/registerCustomClaimType.ts delete mode 100644 src/api/procedures/__tests__/registerIdentity.ts delete mode 100644 src/api/procedures/__tests__/registerMetadata.ts delete mode 100644 src/api/procedures/__tests__/removeAssetMediators.ts delete mode 100644 src/api/procedures/__tests__/removeAssetRequirement.ts delete mode 100644 src/api/procedures/__tests__/removeAssetStat.ts delete mode 100644 src/api/procedures/__tests__/removeCheckpointSchedule.ts delete mode 100644 src/api/procedures/__tests__/removeCorporateAction.ts delete mode 100644 src/api/procedures/__tests__/removeExternalAgent.ts delete mode 100644 src/api/procedures/__tests__/removeLocalMetadata.ts delete mode 100644 src/api/procedures/__tests__/removeSecondaryAccounts.ts delete mode 100644 src/api/procedures/__tests__/renamePortfolio.ts delete mode 100644 src/api/procedures/__tests__/reserveTicker.ts delete mode 100644 src/api/procedures/__tests__/rotatePrimaryKey.ts delete mode 100644 src/api/procedures/__tests__/setAssetDocuments.ts delete mode 100644 src/api/procedures/__tests__/setAssetRequirements.ts delete mode 100644 src/api/procedures/__tests__/setCustodian.ts delete mode 100644 src/api/procedures/__tests__/setGroupPermissions.ts delete mode 100644 src/api/procedures/__tests__/setMetadata.ts delete mode 100644 src/api/procedures/__tests__/setPermissionGroup.ts delete mode 100644 src/api/procedures/__tests__/setTransferRestrictions.ts delete mode 100644 src/api/procedures/__tests__/setVenueFiltering.ts delete mode 100644 src/api/procedures/__tests__/subsidizeAccount.ts delete mode 100644 src/api/procedures/__tests__/toggleFreezeOffering.ts delete mode 100644 src/api/procedures/__tests__/toggleFreezeSecondayAccounts.ts delete mode 100644 src/api/procedures/__tests__/toggleFreezeTransfers.ts delete mode 100644 src/api/procedures/__tests__/togglePauseRequirements.ts delete mode 100644 src/api/procedures/__tests__/transferAssetOwnership.ts delete mode 100644 src/api/procedures/__tests__/transferPolyx.ts delete mode 100644 src/api/procedures/__tests__/transferTickerOwnership.ts delete mode 100644 src/api/procedures/__tests__/unlinkChildIdentity.ts delete mode 100644 src/api/procedures/__tests__/utils.ts delete mode 100644 src/api/procedures/__tests__/waivePermissions.ts delete mode 100644 src/api/procedures/acceptPrimaryKeyRotation.ts delete mode 100644 src/api/procedures/addAssetMediators.ts delete mode 100644 src/api/procedures/addAssetRequirement.ts delete mode 100644 src/api/procedures/addAssetStat.ts delete mode 100644 src/api/procedures/addInstruction.ts delete mode 100644 src/api/procedures/addTransferRestriction.ts delete mode 100644 src/api/procedures/attestPrimaryKeyRotation.ts delete mode 100644 src/api/procedures/claimDividends.ts delete mode 100644 src/api/procedures/clearMetadata.ts delete mode 100644 src/api/procedures/closeOffering.ts delete mode 100644 src/api/procedures/configureDividendDistribution.ts delete mode 100644 src/api/procedures/consumeAddMultiSigSignerAuthorization.ts delete mode 100644 src/api/procedures/consumeAddRelayerPayingKeyAuthorization.ts delete mode 100644 src/api/procedures/consumeAuthorizationRequests.ts delete mode 100644 src/api/procedures/consumeJoinOrRotateAuthorization.ts delete mode 100644 src/api/procedures/controllerTransfer.ts delete mode 100644 src/api/procedures/createAsset.ts delete mode 100644 src/api/procedures/createCheckpoint.ts delete mode 100644 src/api/procedures/createCheckpointSchedule.ts delete mode 100644 src/api/procedures/createChildIdentity.ts delete mode 100644 src/api/procedures/createGroup.ts delete mode 100644 src/api/procedures/createMultiSig.ts delete mode 100644 src/api/procedures/createNftCollection.ts delete mode 100644 src/api/procedures/createPortfolios.ts delete mode 100644 src/api/procedures/createTransactionBatch.ts delete mode 100644 src/api/procedures/createVenue.ts delete mode 100644 src/api/procedures/deletePortfolio.ts delete mode 100644 src/api/procedures/evaluateMultiSigProposal.ts delete mode 100644 src/api/procedures/executeManualInstruction.ts delete mode 100644 src/api/procedures/investInOffering.ts delete mode 100644 src/api/procedures/inviteAccount.ts delete mode 100644 src/api/procedures/inviteExternalAgent.ts delete mode 100644 src/api/procedures/issueNft.ts delete mode 100644 src/api/procedures/issueTokens.ts delete mode 100644 src/api/procedures/launchOffering.ts delete mode 100644 src/api/procedures/leaveIdentity.ts delete mode 100644 src/api/procedures/linkCaDocs.ts delete mode 100644 src/api/procedures/modifyAllowance.ts delete mode 100644 src/api/procedures/modifyAsset.ts delete mode 100644 src/api/procedures/modifyAssetTrustedClaimIssuers.ts delete mode 100644 src/api/procedures/modifyCaCheckpoint.ts delete mode 100644 src/api/procedures/modifyCaDefaultConfig.ts delete mode 100644 src/api/procedures/modifyClaims.ts delete mode 100644 src/api/procedures/modifyComplianceRequirement.ts delete mode 100644 src/api/procedures/modifyCorporateActionsAgent.ts delete mode 100644 src/api/procedures/modifyInstructionAffirmation.ts delete mode 100644 src/api/procedures/modifyMultiSig.ts delete mode 100644 src/api/procedures/modifyOfferingTimes.ts delete mode 100644 src/api/procedures/modifySignerPermissions.ts delete mode 100644 src/api/procedures/modifyVenue.ts delete mode 100644 src/api/procedures/moveFunds.ts delete mode 100644 src/api/procedures/payDividends.ts delete mode 100644 src/api/procedures/quitCustody.ts delete mode 100644 src/api/procedures/quitSubsidy.ts delete mode 100644 src/api/procedures/reclaimDividendDistributionFunds.ts delete mode 100644 src/api/procedures/redeemNft.ts delete mode 100644 src/api/procedures/redeemTokens.ts delete mode 100644 src/api/procedures/registerCustomClaimType.ts delete mode 100644 src/api/procedures/registerIdentity.ts delete mode 100644 src/api/procedures/registerMetadata.ts delete mode 100644 src/api/procedures/removeAssetMediators.ts delete mode 100644 src/api/procedures/removeAssetRequirement.ts delete mode 100644 src/api/procedures/removeAssetStat.ts delete mode 100644 src/api/procedures/removeCheckpointSchedule.ts delete mode 100644 src/api/procedures/removeCorporateAction.ts delete mode 100644 src/api/procedures/removeExternalAgent.ts delete mode 100644 src/api/procedures/removeLocalMetadata.ts delete mode 100644 src/api/procedures/removeSecondaryAccounts.ts delete mode 100644 src/api/procedures/renamePortfolio.ts delete mode 100644 src/api/procedures/reserveTicker.ts delete mode 100644 src/api/procedures/rotatePrimaryKey.ts delete mode 100644 src/api/procedures/setAssetDocuments.ts delete mode 100644 src/api/procedures/setAssetRequirements.ts delete mode 100644 src/api/procedures/setCustodian.ts delete mode 100644 src/api/procedures/setGroupPermissions.ts delete mode 100644 src/api/procedures/setMetadata.ts delete mode 100644 src/api/procedures/setPermissionGroup.ts delete mode 100644 src/api/procedures/setTransferRestrictions.ts delete mode 100644 src/api/procedures/setVenueFiltering.ts delete mode 100644 src/api/procedures/subsidizeAccount.ts delete mode 100644 src/api/procedures/toggleFreezeOffering.ts delete mode 100644 src/api/procedures/toggleFreezeSecondaryAccounts.ts delete mode 100644 src/api/procedures/toggleFreezeTransfers.ts delete mode 100644 src/api/procedures/togglePauseRequirements.ts delete mode 100644 src/api/procedures/transferAssetOwnership.ts delete mode 100644 src/api/procedures/transferPolyx.ts delete mode 100644 src/api/procedures/transferTickerOwnership.ts delete mode 100644 src/api/procedures/unlinkChildIdentity.ts delete mode 100644 src/api/procedures/waivePermissions.ts rename src/base/{Procedure.ts => ConfidentialProcedure.ts} (84%) delete mode 100644 src/base/Context.ts delete mode 100644 src/base/PolymeshError.ts delete mode 100644 src/base/PolymeshTransaction.ts delete mode 100644 src/base/PolymeshTransactionBase.ts delete mode 100644 src/base/PolymeshTransactionBatch.ts rename src/base/__tests__/{Procedure.ts => ConfidentialProcedure.ts} (84%) delete mode 100644 src/base/__tests__/Context.ts delete mode 100644 src/base/__tests__/Namespace.ts delete mode 100644 src/base/__tests__/PolymeshError.ts delete mode 100644 src/base/__tests__/PolymeshTransaction.ts delete mode 100644 src/base/__tests__/PolymeshTransactionBase.ts delete mode 100644 src/base/__tests__/PolymeshTransactionBatch.ts delete mode 100644 src/base/__tests__/utils.ts delete mode 100644 src/base/types.ts delete mode 100644 src/base/utils.ts delete mode 100644 src/middleware/__tests__/queries/regular.ts delete mode 100644 src/middleware/queries/regular.ts delete mode 100644 src/middleware/types.ts delete mode 100644 src/middleware/typesV1.ts diff --git a/README.md b/README.md index f77a22bb58..2567943a4d 100644 --- a/README.md +++ b/README.md @@ -14,27 +14,29 @@ ## Polymesh version -This release is compatible with Polymesh v6.x.x +This release is compatible with Polymesh v6.x.x and Polymesh Private v1.x.x ## Getting Started -### Purpose +This package provides confidential asset support (aka [Polymesh Private](https://polymesh.network/private)) and is an extension of the [public SDK](https://github.com/PolymeshAssociation/polymesh-sdk). + +Unless you specifically need confidential asset support, then you should use the public version. If you are adding confidential support then upgrading from public version should be a matter of updating the import from `@polymeshassociation/polymesh-sdk` to `@polymeshassociation/private-polymesh-sdk`, and updating the version. The public API should remain unchanged. -The Polymesh SDK's main goal is to provide external developers with a set of tools that will allow them to build powerful applications that interact with the Polymesh protocol. It focuses on abstracting away all the complexities of the Polymesh blockchain and expose a simple but complete interface. The result is a feature-rich, user-friendly node.js library. +Note, the SDK does not contain any logic around generating confidential proofs. To generate zero knowledge proofs a [confidential proof server](https://github.com/PolymeshAssociation/polymesh-private-proof-api) needs to be available, and integrating code will need to call the right endpoints when appropriate. -### Before moving on +### Purpose -This document assumes you are already familiar with [Security Tokens](https://thesecuritytokenstandard.org/) in general and [Polymath](https://www.polymath.network/) as well as [Polymesh](https://polymath.network/polymesh) in particular. +The Polymesh Private SDK's provides additional functions to the Polymesh SDK to provide support for confidential assets. ### Technical Pre-requisites -In order to use the Polymath SDK, you must install [node](https://nodejs.org/) \(version 16\) and [npm](https://www.npmjs.com/). The library is written in [typescript](https://www.typescriptlang.org/), but can also be used in plain javascript. This document will assume you are using typescript, but the translation to javascript is very simple. +In order to use the Polymesh Private SDK, you must install [node](https://nodejs.org/) \(version 16\) and [npm](https://www.npmjs.com/). The library is written in [typescript](https://www.typescriptlang.org/), but can also be used in plain javascript. This document will assume you are using typescript, but the translation to javascript is very simple. ### Documentation -Polymesh SDK API Reference: +Polymesh Public SDK API Reference: https://developers.polymesh.network/sdk-docs/ diff --git a/package.json b/package.json index 7ee50e5025..b79480a23b 100644 --- a/package.json +++ b/package.json @@ -49,6 +49,7 @@ "@babel/plugin-transform-modules-commonjs": "7.22.11", "@commitlint/cli": "^17.7.1", "@commitlint/config-conventional": "^17.7.0", + "@golevelup/ts-jest": "^0.4.0", "@graphql-codegen/cli": "5.0.0", "@graphql-codegen/typescript": "4.0.1", "@ovos-media/ts-transform-paths": "^1.7.18-1", @@ -125,6 +126,7 @@ "@polkadot/api": "10.9.1", "@polkadot/util": "12.4.2", "@polkadot/util-crypto": "12.4.2", + "@polymeshassociation/polymesh-sdk": "24.0.0-alpha.25", "bignumber.js": "9.0.1", "bluebird": "^3.7.2", "cross-fetch": "^4.0.0", diff --git a/src/api/client/AccountManagement.ts b/src/api/client/AccountManagement.ts deleted file mode 100644 index a83a65ab07..0000000000 --- a/src/api/client/AccountManagement.ts +++ /dev/null @@ -1,308 +0,0 @@ -import { MultiSig } from '~/api/entities/Account/MultiSig'; -import { - acceptPrimaryKeyRotation, - Account, - AuthorizationRequest, - Context, - createMultiSigAccount, - inviteAccount, - leaveIdentity, - modifySignerPermissions, - modifySignerPermissionsStorage, - removeSecondaryAccounts, - subsidizeAccount, - Subsidy, - toggleFreezeSecondaryAccounts, -} from '~/internal'; -import { - AcceptPrimaryKeyRotationParams, - AccountBalance, - CreateMultiSigParams, - InviteAccountParams, - ModifySignerPermissionsParams, - NoArgsProcedureMethod, - PermissionType, - ProcedureMethod, - RemoveSecondaryAccountsParams, - SubCallback, - SubsidizeAccountParams, - UnsubCallback, -} from '~/types'; -import { stringToAccountId } from '~/utils/conversion'; -import { asAccount, assertAddressValid, createProcedureMethod } from '~/utils/internal'; - -/** - * Handles functionality related to Account Management - */ -export class AccountManagement { - private context: Context; - - /** - * @hidden - */ - constructor(context: Context) { - this.context = context; - - this.leaveIdentity = createProcedureMethod( - { getProcedureAndArgs: () => [leaveIdentity, undefined], voidArgs: true }, - context - ); - this.removeSecondaryAccounts = createProcedureMethod( - { - getProcedureAndArgs: args => [removeSecondaryAccounts, { ...args }], - }, - context - ); - this.revokePermissions = createProcedureMethod< - { secondaryAccounts: (string | Account)[] }, - ModifySignerPermissionsParams, - void, - modifySignerPermissionsStorage - >( - { - getProcedureAndArgs: args => { - const { secondaryAccounts } = args; - const accounts = secondaryAccounts.map(account => { - return { - account, - permissions: { - tokens: { type: PermissionType.Include, values: [] }, - transactions: { type: PermissionType.Include, values: [] }, - portfolios: { type: PermissionType.Include, values: [] }, - }, - }; - }); - return [modifySignerPermissions, { secondaryAccounts: accounts }]; - }, - }, - context - ); - this.modifyPermissions = createProcedureMethod( - { getProcedureAndArgs: args => [modifySignerPermissions, { ...args }] }, - context - ); - this.inviteAccount = createProcedureMethod( - { getProcedureAndArgs: args => [inviteAccount, { ...args }] }, - context - ); - this.freezeSecondaryAccounts = createProcedureMethod( - { - getProcedureAndArgs: () => [toggleFreezeSecondaryAccounts, { freeze: true }], - voidArgs: true, - }, - context - ); - this.unfreezeSecondaryAccounts = createProcedureMethod( - { - getProcedureAndArgs: () => [toggleFreezeSecondaryAccounts, { freeze: false }], - voidArgs: true, - }, - context - ); - this.subsidizeAccount = createProcedureMethod( - { getProcedureAndArgs: args => [subsidizeAccount, { ...args }] }, - context - ); - this.createMultiSigAccount = createProcedureMethod( - { getProcedureAndArgs: args => [createMultiSigAccount, args] }, - context - ); - this.acceptPrimaryKey = createProcedureMethod( - { getProcedureAndArgs: args => [acceptPrimaryKeyRotation, args] }, - context - ); - } - - /** - * Disassociate the signing Account from its Identity. This operation can only be done if the signing Account is a secondary Account - */ - public leaveIdentity: NoArgsProcedureMethod; - - /** - * Remove a list of secondary Accounts associated with the signing Identity - */ - public removeSecondaryAccounts: ProcedureMethod; - - /** - * Revoke all permissions of a list of secondary Accounts associated with the signing Identity - * - * @throws if the signing Account is not the primary Account of the Identity whose secondary Account permissions are being revoked - */ - public revokePermissions: ProcedureMethod<{ secondaryAccounts: (string | Account)[] }, void>; - - /** - * Modify all permissions of a list of secondary Accounts associated with the signing Identity - * - * @throws if the signing Account is not the primary Account of the Identity whose secondary Account permissions are being modified - */ - public modifyPermissions: ProcedureMethod; - - /** - * Send an invitation to an Account to join the signing Identity as a secondary Account - * - * @note this will create an {@link api/entities/AuthorizationRequest!AuthorizationRequest | Authorization Request} which has to be accepted by the `targetAccount`. - * An {@link api/entities/Account!Account} or {@link api/entities/Identity!Identity} can fetch its pending Authorization Requests by calling {@link api/entities/common/namespaces/Authorizations!Authorizations.getReceived | authorizations.getReceived}. - * Also, an Account or Identity can directly fetch the details of an Authorization Request by calling {@link api/entities/common/namespaces/Authorizations!Authorizations.getOne | authorizations.getOne} - */ - public inviteAccount: ProcedureMethod; - - /** - * Freeze all of the secondary Accounts in the signing Identity. This means revoking their permission to perform any operation on the blockchain and freezing their funds until the Accounts are unfrozen via {@link unfreezeSecondaryAccounts} - */ - public freezeSecondaryAccounts: NoArgsProcedureMethod; - - /** - * Unfreeze all of the secondary Accounts in the signing Identity. This will restore their permissions as they were before being frozen - */ - public unfreezeSecondaryAccounts: NoArgsProcedureMethod; - - /** - * Send an Authorization Request to an Account to subsidize its transaction fees - * - * @note this will create an {@link api/entities/AuthorizationRequest!AuthorizationRequest | Authorization Request} which has to be accepted by the `beneficiary` Account. - * An {@link api/entities/Account!Account} or {@link api/entities/Identity!Identity} can fetch its pending Authorization Requests by calling {@link api/entities/common/namespaces/Authorizations!Authorizations.getReceived | authorizations.getReceived}. - * Also, an Account or Identity can directly fetch the details of an Authorization Request by calling {@link api/entities/common/namespaces/Authorizations!Authorizations.getOne | authorizations.getOne} - */ - public subsidizeAccount: ProcedureMethod; - - /** - * Create a MultiSig Account - * - * @note this will create an {@link api/entities/AuthorizationRequest!AuthorizationRequest | Authorization Request} for each signing Account which will have to be accepted before they can approve transactions. None of the signing Accounts can be associated with an Identity when accepting the Authorization - * An {@link api/entities/Account!Account} or {@link api/entities/Identity!Identity} can fetch its pending Authorization Requests by calling {@link api/entities/common/namespaces/Authorizations!Authorizations.getReceived | authorizations.getReceived}. - * Also, an Account or Identity can directly fetch the details of an Authorization Request by calling {@link api/entities/common/namespaces/Authorizations!Authorizations.getOne | authorizations.getOne} - */ - public createMultiSigAccount: ProcedureMethod; - - /** - * Get the free/locked POLYX balance of an Account - * - * @param args.account - defaults to the signing Account - * - * @note can be subscribed to - */ - public getAccountBalance(args?: { account: string | Account }): Promise; - public getAccountBalance(callback: SubCallback): Promise; - public getAccountBalance( - args: { account: string | Account }, - callback: SubCallback - ): Promise; - - // eslint-disable-next-line require-jsdoc - public getAccountBalance( - args?: { account: string | Account } | SubCallback, - callback?: SubCallback - ): Promise { - const { context } = this; - let account: string | Account | undefined; - let cb: SubCallback | undefined = callback; - - switch (typeof args) { - case 'undefined': { - break; - } - case 'function': { - cb = args; - break; - } - default: { - ({ account } = args); - break; - } - } - - if (!account) { - account = context.getSigningAccount(); - } else { - account = asAccount(account, context); - } - - if (cb) { - return account.getBalance(cb); - } - - return account.getBalance(); - } - - /** - * Return an Account instance from an address. If the Account has multiSig signers, the returned value will be a {@link api/entities/Account/MultiSig!MultiSig} instance - */ - public async getAccount(args: { address: string }): Promise { - const { - context, - context: { - polymeshApi: { - query: { multiSig }, - }, - }, - } = this; - const { address } = args; - const rawAddress = stringToAccountId(address, context); - const rawSigners = await multiSig.multiSigSigners.entries(rawAddress); - if (rawSigners.length > 0) { - return new MultiSig(args, context); - } - - return new Account(args, context); - } - - /** - * Return the signing Account, or null if no signing Account has been set - */ - public getSigningAccount(): Account | null { - try { - return this.context.getSigningAccount(); - } catch (err) { - return null; - } - } - - /** - * Return a list that contains all the signing Accounts associated to the SDK instance's Signing Manager - * - * @throws — if there is no Signing Manager attached to the SDK - */ - public async getSigningAccounts(): Promise { - return this.context.getSigningAccounts(); - } - - /** - * Return an Subsidy instance for a pair of beneficiary and subsidizer Account - */ - public getSubsidy(args: { - beneficiary: string | Account; - subsidizer: string | Account; - }): Subsidy { - const { context } = this; - - const { beneficiary, subsidizer } = args; - - const { address: beneficiaryAddress } = asAccount(beneficiary, context); - const { address: subsidizerAddress } = asAccount(subsidizer, context); - - return new Subsidy({ beneficiary: beneficiaryAddress, subsidizer: subsidizerAddress }, context); - } - - /** - * Returns `true` @param args.address is a valid ss58 address for the connected network - */ - public isValidAddress(args: { address: string }): boolean { - try { - assertAddressValid(args.address, this.context.ss58Format); - } catch (error) { - return false; - } - - return true; - } - - /** - * Accepts the authorization to become the new primary key of the issuing identity. - * - * If a CDD service provider approved this change (or this is not required), primary key of the Identity is updated. - * - * @note The caller (new primary key) must be either a secondary key of the issuing identity, or - * unlinked to any identity. - */ - public acceptPrimaryKey: ProcedureMethod; -} diff --git a/src/api/client/Assets.ts b/src/api/client/Assets.ts deleted file mode 100644 index d39a43c69c..0000000000 --- a/src/api/client/Assets.ts +++ /dev/null @@ -1,366 +0,0 @@ -import { PolymeshPrimitivesTicker } from '@polkadot/types/lookup'; - -import { - Context, - createAsset, - createNftCollection, - FungibleAsset, - Identity, - NftCollection, - PolymeshError, - reserveTicker, - TickerReservation, -} from '~/internal'; -import { - Asset, - CreateAssetWithTickerParams, - CreateNftCollectionParams, - ErrorCode, - GlobalMetadataKey, - PaginationOptions, - ProcedureMethod, - ReserveTickerParams, - ResultSet, - SubCallback, - TickerReservationStatus, - UnsubCallback, -} from '~/types'; -import { - bytesToString, - meshMetadataSpecToMetadataSpec, - stringToIdentityId, - tickerToString, - u64ToBigNumber, -} from '~/utils/conversion'; -import { - asAsset, - assembleAssetQuery, - createProcedureMethod, - getDid, - isPrintableAscii, - requestPaginated, -} from '~/utils/internal'; - -/** - * Handles all Asset related functionality - */ -export class Assets { - private context: Context; - - /** - * @hidden - */ - constructor(context: Context) { - this.context = context; - - this.reserveTicker = createProcedureMethod( - { - getProcedureAndArgs: args => [reserveTicker, args], - }, - context - ); - - this.createAsset = createProcedureMethod( - { - getProcedureAndArgs: args => [createAsset, { reservationRequired: false, ...args }], - }, - context - ); - - this.createNftCollection = createProcedureMethod( - { - getProcedureAndArgs: args => [createNftCollection, args], - }, - context - ); - } - - /** - * Reserve a ticker symbol under the ownership of the signing Identity to later use in the creation of an Asset. - * The ticker will expire after a set amount of time, after which other users can reserve it - */ - public reserveTicker: ProcedureMethod; - - /** - * Create an Asset - * - * @note if ticker is already reserved, then required role: - * - Ticker Owner - */ - public createAsset: ProcedureMethod; - - /** - * Create an NftCollection - * - * @note if ticker is already reserved, then required role: - * - Ticker Owner - */ - public createNftCollection: ProcedureMethod; - - /** - * Check if a ticker hasn't been reserved - * - * @note can be subscribed to - */ - public isTickerAvailable(args: { ticker: string }): Promise; - public isTickerAvailable( - args: { ticker: string }, - callback: SubCallback - ): Promise; - - // eslint-disable-next-line require-jsdoc - public async isTickerAvailable( - args: { ticker: string }, - callback?: SubCallback - ): Promise { - const reservation = new TickerReservation(args, this.context); - - if (callback) { - return reservation.details(({ status: reservationStatus }) => { - // eslint-disable-next-line n/no-callback-literal, @typescript-eslint/no-floating-promises -- callback errors should be handled by the caller - callback(reservationStatus === TickerReservationStatus.Free); - }); - } - const { status } = await reservation.details(); - - return status === TickerReservationStatus.Free; - } - - /** - * Retrieve all the ticker reservations currently owned by an Identity. This doesn't include Assets that - * have already been launched - * - * @param args.owner - defaults to the signing Identity - * - * @note reservations with unreadable characters in their tickers will be left out - */ - public async getTickerReservations(args?: { - owner: string | Identity; - }): Promise { - const { - context: { - polymeshApi: { query }, - }, - context, - } = this; - - const did = await getDid(args?.owner, context); - - const entries = await query.asset.assetOwnershipRelations.entries( - stringToIdentityId(did, context) - ); - - return entries.reduce((result, [key, relation]) => { - if (relation.isTickerOwned) { - const ticker = tickerToString(key.args[1]); - - if (isPrintableAscii(ticker)) { - return [...result, new TickerReservation({ ticker }, context)]; - } - } - - return result; - }, []); - } - - /** - * Retrieve a Ticker Reservation - * - * @param args.ticker - Asset ticker - */ - public getTickerReservation(args: { ticker: string }): TickerReservation { - const { ticker } = args; - const { context } = this; - - return new TickerReservation({ ticker }, context); - } - - /** - * Retrieve a FungibleAsset or NftCollection - * - * @note `getFungibleAsset` and `getNftCollection` are similar to this method, but return a more specific type - */ - public async getAsset(args: { ticker: string }): Promise { - const { context } = this; - const { ticker } = args; - - return asAsset(ticker, context); - } - - /** - * Retrieve all of the Assets owned by an Identity - * - * @param args.owner - Identity representation or Identity ID as stored in the blockchain - * - * @note Assets with unreadable characters in their tickers will be left out - */ - public async getAssets(args?: { owner: string | Identity }): Promise { - const { - context: { - polymeshApi: { query }, - }, - context, - } = this; - - const did = await getDid(args?.owner, context); - - const entries = await query.asset.assetOwnershipRelations.entries( - stringToIdentityId(did, context) - ); - - const ownedTickers: string[] = []; - const rawTickers: PolymeshPrimitivesTicker[] = []; - - entries.forEach(([key, relation]) => { - if (relation.isAssetOwned) { - const rawTicker = key.args[1]; - const ticker = tickerToString(rawTicker); - if (isPrintableAscii(ticker)) { - ownedTickers.push(ticker); - rawTickers.push(rawTicker); - } - } - }); - - const ownedDetails = await query.asset.tokens.multi(rawTickers); - - return assembleAssetQuery(ownedDetails, ownedTickers, context); - } - - /** - * Retrieve a FungibleAsset - * - * @param args.ticker - Asset ticker - */ - public async getFungibleAsset(args: { ticker: string }): Promise { - const { ticker } = args; - - const asset = new FungibleAsset({ ticker }, this.context); - const exists = await asset.exists(); - - if (!exists) { - throw new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: `There is no Asset with ticker "${ticker}"`, - }); - } - - return asset; - } - - /** - * Retrieve an NftCollection - * - * @param args.ticker - NftCollection ticker - */ - public async getNftCollection(args: { ticker: string }): Promise { - const { ticker } = args; - - const nftCollection = new NftCollection({ ticker }, this.context); - const exists = await nftCollection.exists(); - - if (!exists) { - throw new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: `There is no NftCollection with ticker "${ticker}"`, - }); - } - - return nftCollection; - } - - /** - * Retrieve all the Assets on chain - * - * @note supports pagination - */ - public async get( - paginationOpts?: PaginationOptions - ): Promise> { - const { - context: { - polymeshApi: { - query: { - asset: { assetNames, tokens }, - }, - }, - }, - context, - } = this; - - const { entries, lastKey: next } = await requestPaginated(assetNames, { - paginationOpts, - }); - - const tickers: string[] = []; - const rawTickers: PolymeshPrimitivesTicker[] = []; - - entries.forEach( - ([ - { - args: [rawTicker], - }, - ]) => { - rawTickers.push(rawTicker); - tickers.push(tickerToString(rawTicker)); - } - ); - - const details = await tokens.multi(rawTickers); - - const data = assembleAssetQuery(details, tickers, context); - - return { - data, - next, - }; - } - - /** - * Retrieve all the Asset Global Metadata on chain. This includes metadata id, name and specs - */ - public async getGlobalMetadataKeys(): Promise { - const { - context: { - polymeshApi: { - query: { - asset: { assetMetadataGlobalKeyToName, assetMetadataGlobalSpecs }, - }, - }, - }, - } = this; - - const [keyToNameEntries, specsEntries] = await Promise.all([ - assetMetadataGlobalKeyToName.entries(), - assetMetadataGlobalSpecs.entries(), - ]); - - const specsEntryMap = new Map( - specsEntries.map( - ([ - { - args: [rawKeyId], - }, - rawSpecs, - ]) => [rawKeyId.toString(), rawSpecs] - ) - ); - - return keyToNameEntries.map( - ([ - { - args: [rawId], - }, - rawName, - ]) => { - const rawSpecs = specsEntryMap.get(rawId.toString()); - - return { - id: u64ToBigNumber(rawId), - name: bytesToString(rawName.unwrap()), - specs: meshMetadataSpecToMetadataSpec(rawSpecs), - }; - } - ); - } -} diff --git a/src/api/client/Claims.ts b/src/api/client/Claims.ts deleted file mode 100644 index e4913bb959..0000000000 --- a/src/api/client/Claims.ts +++ /dev/null @@ -1,589 +0,0 @@ -import BigNumber from 'bignumber.js'; -import { filter, flatten, isEqual, uniqBy, uniqWith } from 'lodash'; - -import { - Context, - Identity, - modifyClaims, - PolymeshError, - registerCustomClaimType, -} from '~/internal'; -import { claimsGroupingQuery, claimsQuery, customClaimTypeQuery } from '~/middleware/queries'; -import { ClaimsGroupBy, ClaimsOrderBy, ClaimTypeEnum, Query } from '~/middleware/types'; -import { - CddClaim, - ClaimData, - ClaimOperation, - ClaimScope, - ClaimType, - CustomClaimType, - CustomClaimTypeWithDid, - ErrorCode, - IdentityWithClaims, - ModifyClaimsParams, - ProcedureMethod, - RegisterCustomClaimTypeParams, - ResultSet, - Scope, - ScopedClaim, - ScopeType, -} from '~/types'; -import { Ensured } from '~/types/utils'; -import { DEFAULT_GQL_PAGE_SIZE } from '~/utils/constants'; -import { - bigNumberToU32, - bytesToString, - identityIdToString, - meshClaimToClaim, - momentToDate, - scopeToMiddlewareScope, - signerToString, - stringToIdentityId, - toCustomClaimTypeWithIdentity, - toIdentityWithClaimsArray, - u32ToBigNumber, -} from '~/utils/conversion'; -import { calculateNextKey, createProcedureMethod, getDid, removePadding } from '~/utils/internal'; - -/** - * Handles all Claims related functionality - */ -export class Claims { - private context: Context; - - /** - * @hidden - */ - constructor(context: Context) { - this.context = context; - - this.addClaims = createProcedureMethod< - Omit, - ModifyClaimsParams, - void - >( - { - getProcedureAndArgs: args => [ - modifyClaims, - { - ...args, - operation: ClaimOperation.Add, - } as ModifyClaimsParams, - ], - }, - context - ); - - this.editClaims = createProcedureMethod< - Omit, - ModifyClaimsParams, - void - >( - { - getProcedureAndArgs: args => [ - modifyClaims, - { - ...args, - operation: ClaimOperation.Edit, - } as ModifyClaimsParams, - ], - }, - context - ); - - this.revokeClaims = createProcedureMethod< - Omit, - ModifyClaimsParams, - void - >( - { - getProcedureAndArgs: args => [ - modifyClaims, - { - ...args, - operation: ClaimOperation.Revoke, - } as ModifyClaimsParams, - ], - }, - context - ); - - this.registerCustomClaimType = createProcedureMethod( - { getProcedureAndArgs: args => [registerCustomClaimType, args] }, - context - ); - } - - /** - * Add claims to Identities - * - * @note required roles: - * - Customer Due Diligence Provider: if there is at least one CDD claim in the arguments - */ - public addClaims: ProcedureMethod, void>; - - /** - * Edit claims associated to Identities (only the expiry date can be modified) - * - * @note required roles: - * - Customer Due Diligence Provider: if there is at least one CDD claim in the arguments - */ - - public editClaims: ProcedureMethod, void>; - - /** - * Revoke claims from Identities - * - * @note required roles: - * - Customer Due Diligence Provider: if there is at least one CDD claim in the arguments - */ - public revokeClaims: ProcedureMethod, void>; - - /** - * Retrieve all claims issued by an Identity - * - * @param opts.target - Identity (optional, defaults to the signing Identity) - * @param opts.includeExpired - whether to include expired claims. Defaults to true - * - * @note supports pagination - * @note uses the middlewareV2 - */ - public async getIssuedClaims( - opts: { - target?: string | Identity; - includeExpired?: boolean; - size?: BigNumber; - start?: BigNumber; - } = {} - ): Promise> { - const { context } = this; - const { target, includeExpired = true, size, start } = opts; - - const did = await getDid(target, context); - - return context.getIdentityClaimsFromMiddleware({ - trustedClaimIssuers: [did], - includeExpired, - size, - start, - }); - } - - /** - * Retrieve a list of Identities with claims associated to them. Can be filtered using parameters - * - * @param opts.targets - Identities (or Identity IDs) for which to fetch targeting claims. Defaults to all targets - * @param opts.trustedClaimIssuers - Identity IDs of claim issuers. Defaults to all claim issuers - * @param opts.scope - scope of the claims to fetch. Defaults to any scope - * @param opts.claimTypes - types of the claims to fetch. Defaults to any type - * @param opts.includeExpired - whether to include expired claims. Defaults to true - * @param opts.size - page size - * @param opts.start - page offset - * - * @note supports pagination - * @note uses the middleware V2 - */ - public async getIdentitiesWithClaims( - opts: { - targets?: (string | Identity)[]; - trustedClaimIssuers?: (string | Identity)[]; - scope?: Scope; - claimTypes?: ClaimType[]; - includeExpired?: boolean; - size?: BigNumber; - start?: BigNumber; - } = {} - ): Promise> { - const { context } = this; - - const { - targets, - trustedClaimIssuers, - scope, - claimTypes, - includeExpired = true, - size = new BigNumber(DEFAULT_GQL_PAGE_SIZE), - start = new BigNumber(0), - } = opts; - - let targetIssuers; - - const filters = { - scope: scope ? scopeToMiddlewareScope(scope, false) : undefined, - trustedClaimIssuers: trustedClaimIssuers?.map(trustedClaimIssuer => - signerToString(trustedClaimIssuer) - ), - claimTypes: claimTypes?.map(ct => ClaimTypeEnum[ct]), - includeExpired, - }; - - if (!targets) { - const { - data: { - claims: { groupedAggregates: groupedTargets }, - }, - } = await context.queryMiddleware>( - claimsGroupingQuery({ - ...filters, - }) - ); - - // eslint-disable-next-line @typescript-eslint/no-non-null-assertion - targetIssuers = flatten(groupedTargets!.map(groupedTarget => groupedTarget.keys!)); - } else { - targetIssuers = targets.map(target => signerToString(target)); - } - - // note: pagination count is based on the target issuers and not the claims count - const count = new BigNumber(targetIssuers.length); - - // tooling-gql does pagination based on sorted target issuers, hence the explicit `sort()` function (as graphql doesn't sort the final data) - targetIssuers.sort(); - targetIssuers = targetIssuers.slice(start.toNumber(), size.plus(start).toNumber()); - - const { - data: { - claims: { nodes }, - }, - } = await context.queryMiddleware>( - claimsQuery({ - dids: targetIssuers, - ...filters, - }) - ); - - const data = toIdentityWithClaimsArray(nodes, context, 'targetId'); - const next = calculateNextKey(count, data.length, start); - - return { - data, - next, - count, - }; - } - - /** - * Retrieve all scopes in which claims have been made for the target Identity. - * If the scope is an asset DID, the corresponding ticker is returned as well - * - * @param opts.target - Identity for which to fetch claim scopes (optional, defaults to the signing Identity) - */ - public async getClaimScopes(opts: { target?: string | Identity } = {}): Promise { - const { context } = this; - const { target } = opts; - - const did = await getDid(target, context); - - const identityClaimsFromChain = await context.getIdentityClaimsFromChain({ - targets: [did], - claimTypes: [ - ClaimType.Accredited, - ClaimType.Affiliate, - ClaimType.Blocked, - ClaimType.BuyLockup, - ClaimType.Exempted, - ClaimType.Jurisdiction, - ClaimType.KnowYourCustomer, - ClaimType.SellLockup, - ], - trustedClaimIssuers: undefined, - includeExpired: true, - }); - - const claimScopeList = identityClaimsFromChain.map(({ claim }) => { - // only Scoped Claims were fetched so this assertion is reasonable - const { - scope: { type, value }, - } = claim as ScopedClaim; - - let ticker: string | undefined; - - if (type === ScopeType.Ticker) { - ticker = removePadding(value); - } - - return { - scope: { type, value: ticker ?? value }, - ticker, - }; - }); - - return uniqWith(claimScopeList, isEqual); - } - - /** - * Retrieve the list of CDD claims for a target Identity - * - * @param opts.target - Identity for which to fetch CDD claims (optional, defaults to the signing Identity) - * @param opts.includeExpired - whether to include expired claims. Defaults to true - */ - public async getCddClaims( - opts: { - target?: string | Identity; - includeExpired?: boolean; - } = {} - ): Promise[]> { - const { - context, - context: { - polymeshApi: { - rpc: { identity }, - }, - }, - } = this; - - const { target, includeExpired = true } = opts; - - const did = await getDid(target, context); - - const rawDid = stringToIdentityId(did, context); - - const result = await identity.validCDDClaims(rawDid); - - const data: ClaimData[] = []; - - result.forEach(optClaim => { - const { - claim_issuer: claimIssuer, - issuance_date: issuanceDate, - last_update_date: lastUpdateDate, - expiry: rawExpiry, - claim, - } = optClaim; - - const expiry = !rawExpiry.isEmpty ? momentToDate(rawExpiry.unwrap()) : null; - - if ((!includeExpired && (expiry === null || expiry > new Date())) || includeExpired) { - data.push({ - target: new Identity({ did }, context), - issuer: new Identity({ did: identityIdToString(claimIssuer) }, context), - issuedAt: momentToDate(issuanceDate), - lastUpdatedAt: momentToDate(lastUpdateDate), - expiry, - claim: meshClaimToClaim(claim) as CddClaim, - }); - } - }); - - return data; - } - - /** - * @hidden - */ - private async getClaimsFromChain( - context: Context, - did: string, - trustedClaimIssuers: (string | Identity)[] | undefined, - includeExpired: boolean - ): Promise> { - const identityClaimsFromChain = await context.getIdentityClaimsFromChain({ - targets: [did], - trustedClaimIssuers: trustedClaimIssuers?.map(signerToString), - includeExpired, - }); - - const issuers = uniqBy( - identityClaimsFromChain.map(i => i.issuer), - identity => identity.did - ); - - const identitiesWithClaims = issuers.map(identity => ({ - identity, - claims: filter(identityClaimsFromChain, ({ issuer }) => issuer.isEqual(identity)), - })); - - return { - data: identitiesWithClaims, - next: null, - count: new BigNumber(identitiesWithClaims.length), - }; - } - - /** - * Retrieve all claims issued about an Identity, grouped by claim issuer - * - * @param opts.target - Identity for which to fetch targeting claims (optional, defaults to the signing Identity) - * @param opts.includeExpired - whether to include expired claims. Defaults to true - * - * @note supports pagination - * @note uses the middlewareV2 (optional) - */ - public async getTargetingClaims( - opts: { - target?: string | Identity; - scope?: Scope; - trustedClaimIssuers?: (string | Identity)[]; - includeExpired?: boolean; - size?: BigNumber; - start?: BigNumber; - } = {} - ): Promise> { - const { context } = this; - - const { - target, - trustedClaimIssuers, - scope, - includeExpired = true, - size = new BigNumber(DEFAULT_GQL_PAGE_SIZE), - start = new BigNumber(0), - } = opts; - - const did = await getDid(target, context); - - const isMiddlewareAvailable = await context.isMiddlewareAvailable(); - - if (isMiddlewareAvailable) { - const filters = { - dids: [did], - scope: scope ? scopeToMiddlewareScope(scope, false) : undefined, - includeExpired, - }; - - let claimIssuers; - if (!trustedClaimIssuers) { - const { - data: { - claims: { groupedAggregates: groupedIssuers }, - }, - } = await context.queryMiddleware>( - claimsGroupingQuery(filters, ClaimsOrderBy.IssuerIdAsc, ClaimsGroupBy.IssuerId) - ); - - // eslint-disable-next-line @typescript-eslint/no-non-null-assertion - claimIssuers = flatten(groupedIssuers!.map(groupedAggregate => groupedAggregate.keys!)); - } else { - claimIssuers = trustedClaimIssuers.map(signerToString); - } - - // note: pagination count is based on the claim issuers and not the claims count - const count = new BigNumber(claimIssuers.length); - - claimIssuers.sort(); - claimIssuers = claimIssuers.slice(start.toNumber(), size.plus(start).toNumber()); - - const { - data: { - claims: { nodes }, - }, - } = await context.queryMiddleware>( - claimsQuery({ - trustedClaimIssuers: claimIssuers, - ...filters, - }) - ); - - const data = toIdentityWithClaimsArray(nodes, context, 'issuerId'); - const next = calculateNextKey(count, data.length, start); - - return { - data, - next, - count, - }; - } - - return this.getClaimsFromChain(context, did, trustedClaimIssuers, includeExpired); - } - - /** - * Creates a custom claim type using the `name` and returns the `id` of the created claim type - * - * @throws if - * - the `name` is longer than allowed - * - a custom claim type with the same `name` already exists - */ - public registerCustomClaimType: ProcedureMethod; - - /** - * Retrieves a custom claim type based on its name - * - * @param name - The name of the custom claim type to retrieve - */ - public async getCustomClaimTypeByName(name: string): Promise { - const { - context: { - polymeshApi: { - query: { identity }, - }, - }, - } = this; - - const customClaimTypeIdOpt = await identity.customClaimsInverse(name); - - if (customClaimTypeIdOpt.isEmpty) { - return null; - } - - return { id: u32ToBigNumber(customClaimTypeIdOpt.value), name }; - } - - /** - * Retrieves a custom claim type based on its ID - * - * @param id - The ID of the custom claim type to retrieve - */ - public async getCustomClaimTypeById(id: BigNumber): Promise { - const { context } = this; - const { - polymeshApi: { - query: { identity }, - }, - } = context; - - const customClaimTypeIdOpt = await identity.customClaims(bigNumberToU32(id, context)); - - if (customClaimTypeIdOpt.isEmpty) { - return null; - } - - return { id, name: bytesToString(customClaimTypeIdOpt.value) }; - } - - /** - * Retrieve registered CustomClaimTypes - * - * @param opts.dids - Fetch CustomClaimTypes issued by the given `dids` - * - * @note supports pagination - * @note uses the middlewareV2 (Required) - */ - public async getAllCustomClaimTypes( - opts: { - size?: BigNumber; - start?: BigNumber; - dids?: string[]; - } = {} - ): Promise> { - const { context } = this; - - const isMiddlewareAvailable = await context.isMiddlewareAvailable(); - - if (!isMiddlewareAvailable) { - throw new PolymeshError({ - code: ErrorCode.MiddlewareError, - message: 'Cannot perform this action without an active middleware V2 connection', - }); - } - - const { size = new BigNumber(DEFAULT_GQL_PAGE_SIZE), start = new BigNumber(0), dids } = opts; - - const { - data: { - customClaimTypes: { nodes, totalCount }, - }, - } = await context.queryMiddleware>( - customClaimTypeQuery(size, start, dids) - ); - - const count = new BigNumber(totalCount); - const next = calculateNextKey(new BigNumber(totalCount), nodes.length, start); - - return { - data: toCustomClaimTypeWithIdentity(nodes), - next, - count, - }; - } -} diff --git a/src/api/client/ConfidentialAccounts.ts b/src/api/client/ConfidentialAccounts.ts index 9f481ad7d3..e56e4ba7f6 100644 --- a/src/api/client/ConfidentialAccounts.ts +++ b/src/api/client/ConfidentialAccounts.ts @@ -1,19 +1,19 @@ +import { Context, PolymeshError } from '@polymeshassociation/polymesh-sdk/internal'; +import { ErrorCode } from '@polymeshassociation/polymesh-sdk/types'; + import { applyIncomingAssetBalance, applyIncomingConfidentialAssetBalances, ConfidentialAccount, - Context, createConfidentialAccount, - PolymeshError, } from '~/internal'; import { ApplyIncomingBalanceParams, ApplyIncomingConfidentialAssetBalancesParams, + ConfidentialProcedureMethod, CreateConfidentialAccountParams, - ErrorCode, - ProcedureMethod, } from '~/types'; -import { createProcedureMethod } from '~/utils/internal'; +import { createConfidentialProcedureMethod } from '~/utils/internal'; /** * Handles all Confidential Account related functionality @@ -27,21 +27,21 @@ export class ConfidentialAccounts { constructor(context: Context) { this.context = context; - this.createConfidentialAccount = createProcedureMethod( + this.createConfidentialAccount = createConfidentialProcedureMethod( { getProcedureAndArgs: args => [createConfidentialAccount, { ...args }], }, context ); - this.applyIncomingBalance = createProcedureMethod( + this.applyIncomingBalance = createConfidentialProcedureMethod( { getProcedureAndArgs: args => [applyIncomingAssetBalance, { ...args }], }, context ); - this.applyIncomingBalances = createProcedureMethod( + this.applyIncomingBalances = createConfidentialProcedureMethod( { getProcedureAndArgs: args => [applyIncomingConfidentialAssetBalances, { ...args }], }, @@ -74,7 +74,7 @@ export class ConfidentialAccounts { /** * Create a confidential Account */ - public createConfidentialAccount: ProcedureMethod< + public createConfidentialAccount: ConfidentialProcedureMethod< CreateConfidentialAccountParams, ConfidentialAccount >; @@ -82,12 +82,15 @@ export class ConfidentialAccounts { /** * Applies incoming balance to a Confidential Account */ - public applyIncomingBalance: ProcedureMethod; + public applyIncomingBalance: ConfidentialProcedureMethod< + ApplyIncomingBalanceParams, + ConfidentialAccount + >; /** * Applies any incoming balance to a Confidential Account */ - public applyIncomingBalances: ProcedureMethod< + public applyIncomingBalances: ConfidentialProcedureMethod< ApplyIncomingConfidentialAssetBalancesParams, ConfidentialAccount >; diff --git a/src/api/client/ConfidentialAssets.ts b/src/api/client/ConfidentialAssets.ts index b6f9249ddf..85e50faab8 100644 --- a/src/api/client/ConfidentialAssets.ts +++ b/src/api/client/ConfidentialAssets.ts @@ -1,6 +1,9 @@ -import { ConfidentialAsset, Context, createConfidentialAsset, PolymeshError } from '~/internal'; -import { CreateConfidentialAssetParams, ErrorCode, ProcedureMethod } from '~/types'; -import { createProcedureMethod } from '~/utils/internal'; +import { Context, PolymeshError } from '@polymeshassociation/polymesh-sdk/internal'; +import { ErrorCode } from '@polymeshassociation/polymesh-sdk/types'; + +import { ConfidentialAsset, createConfidentialAsset } from '~/internal'; +import { ConfidentialProcedureMethod, CreateConfidentialAssetParams } from '~/types'; +import { createConfidentialProcedureMethod } from '~/utils/internal'; /** * Handles all Confidential Asset related functionality @@ -14,7 +17,7 @@ export class ConfidentialAssets { constructor(context: Context) { this.context = context; - this.createConfidentialAsset = createProcedureMethod( + this.createConfidentialAsset = createConfidentialProcedureMethod( { getProcedureAndArgs: args => [createConfidentialAsset, { ...args }], }, @@ -47,5 +50,8 @@ export class ConfidentialAssets { /** * Create a confidential Asset */ - public createConfidentialAsset: ProcedureMethod; + public createConfidentialAsset: ConfidentialProcedureMethod< + CreateConfidentialAssetParams, + ConfidentialAsset + >; } diff --git a/src/api/client/ConfidentialSettlements.ts b/src/api/client/ConfidentialSettlements.ts index 47afacc5ec..ec93b9bb9c 100644 --- a/src/api/client/ConfidentialSettlements.ts +++ b/src/api/client/ConfidentialSettlements.ts @@ -1,14 +1,10 @@ +import { Context, PolymeshError } from '@polymeshassociation/polymesh-sdk/internal'; +import { ErrorCode } from '@polymeshassociation/polymesh-sdk/types'; import BigNumber from 'bignumber.js'; -import { - ConfidentialTransaction, - ConfidentialVenue, - Context, - createConfidentialVenue, - PolymeshError, -} from '~/internal'; -import { ErrorCode, NoArgsProcedureMethod } from '~/types'; -import { createProcedureMethod } from '~/utils/internal'; +import { ConfidentialTransaction, ConfidentialVenue, createConfidentialVenue } from '~/internal'; +import { ConfidentialNoArgsProcedureMethod } from '~/types'; +import { createConfidentialProcedureMethod } from '~/utils/internal'; /** * Handles all functionalities for venues and transactions of confidential Assets @@ -22,7 +18,7 @@ export class ConfidentialSettlements { constructor(context: Context) { this.context = context; - this.createVenue = createProcedureMethod( + this.createVenue = createConfidentialProcedureMethod( { getProcedureAndArgs: () => [createConfidentialVenue, undefined], voidArgs: true }, context ); @@ -31,7 +27,7 @@ export class ConfidentialSettlements { /** * Create a Confidential Venue under the ownership of the signing Identity */ - public createVenue: NoArgsProcedureMethod; + public createVenue: ConfidentialNoArgsProcedureMethod; /** * Retrieve a confidential Venue by its ID diff --git a/src/api/client/Identities.ts b/src/api/client/Identities.ts deleted file mode 100644 index 2beeb118e4..0000000000 --- a/src/api/client/Identities.ts +++ /dev/null @@ -1,168 +0,0 @@ -import { createPortfolioTransformer } from '~/api/entities/Venue'; -import { - attestPrimaryKeyRotation, - AuthorizationRequest, - ChildIdentity, - Context, - createChildIdentity, - createPortfolios, - Identity, - NumberedPortfolio, - registerIdentity, - rotatePrimaryKey, -} from '~/internal'; -import { - AttestPrimaryKeyRotationParams, - CreateChildIdentityParams, - ProcedureMethod, - RegisterIdentityParams, - RotatePrimaryKeyParams, -} from '~/types'; -import { asIdentity, createProcedureMethod } from '~/utils/internal'; - -/** - * Handles all Identity related functionality - */ -export class Identities { - private context: Context; - - /** - * @hidden - */ - constructor(context: Context) { - this.context = context; - - this.registerIdentity = createProcedureMethod( - { getProcedureAndArgs: args => [registerIdentity, args] }, - context - ); - - this.attestPrimaryKeyRotation = createProcedureMethod( - { getProcedureAndArgs: args => [attestPrimaryKeyRotation, args] }, - context - ); - - this.rotatePrimaryKey = createProcedureMethod( - { getProcedureAndArgs: args => [rotatePrimaryKey, args] }, - context - ); - - this.createPortfolio = createProcedureMethod< - { name: string }, - { names: string[] }, - NumberedPortfolio[], - NumberedPortfolio - >( - { - getProcedureAndArgs: args => [ - createPortfolios, - { - names: [args.name], - }, - ], - transformer: createPortfolioTransformer, - }, - context - ); - - this.createPortfolios = createProcedureMethod( - { - getProcedureAndArgs: args => [createPortfolios, args], - }, - context - ); - - this.createChild = createProcedureMethod( - { - getProcedureAndArgs: args => [createChildIdentity, args], - }, - context - ); - } - - /** - * Register an Identity, possibly with a CDD claim - * - * @note the transaction signer must be a CDD provider - * @note this may create {@link api/entities/AuthorizationRequest!AuthorizationRequest | Authorization Requests} which have to be accepted by the `targetAccount`. - * An {@link api/entities/Account!Account} or {@link api/entities/Identity!Identity} can fetch its pending Authorization Requests by calling {@link api/entities/common/namespaces/Authorizations!Authorizations.getReceived | authorizations.getReceived}. - * Also, an Account or Identity can directly fetch the details of an Authorization Request by calling {@link api/entities/common/namespaces/Authorizations!Authorizations.getOne | authorizations.getOne} - * - * @note required role: - * - Customer Due Diligence Provider - */ - public registerIdentity: ProcedureMethod; - - /** - * Get CDD Provider's attestation to change primary key - * - * @note the transaction signer must be a CDD provider - * @note this creates an {@link api/entities/AuthorizationRequest!AuthorizationRequest | Authorization Requests} which have to be accepted by the `targetAccount` along with the authorization for `RotatingPrimaryKey`. - * An {@link api/entities/Account!Account} or {@link api/entities/Identity!Identity} can fetch its pending Authorization Requests by calling {@link api/entities/common/namespaces/Authorizations!Authorizations.getReceived | authorizations.getReceived}. - * Also, an Account or Identity can directly fetch the details of an Authorization Request by calling {@link api/entities/common/namespaces/Authorizations!Authorizations.getOne | authorizations.getOne} - * - * @note required role: - * - Customer Due Diligence Provider - */ - public attestPrimaryKeyRotation: ProcedureMethod< - AttestPrimaryKeyRotationParams, - AuthorizationRequest - >; - - /** - * Creates an Authorization to rotate primary key of the signing Identity by the `targetAccount` - * - * @note this creates an {@link api/entities/AuthorizationRequest!AuthorizationRequest | Authorization Requests} which have to be accepted by the `targetAccount` along with the optional CDD authorization generated by CDD provider attesting the rotation of primary key - * An {@link api/entities/Account!Account} or {@link api/entities/Identity!Identity} can fetch its pending Authorization Requests by calling {@link api/entities/common/namespaces/Authorizations!Authorizations.getReceived | authorizations.getReceived}. - * Also, an Account or Identity can directly fetch the details of an Authorization Request by calling {@link api/entities/common/namespaces/Authorizations!Authorizations.getOne | authorizations.getOne} - */ - public rotatePrimaryKey: ProcedureMethod; - - /** - * Create a new Portfolio under the ownership of the signing Identity - */ - public createPortfolio: ProcedureMethod<{ name: string }, NumberedPortfolio[], NumberedPortfolio>; - - /** - * Creates a set of new Portfolios under the ownership of the signing Identity - */ - public createPortfolios: ProcedureMethod<{ names: string[] }, NumberedPortfolio[]>; - - /** - * Create an Identity instance from a DID - * - * @throws if there is no Identity with the passed DID - */ - public getIdentity(args: { did: string }): Promise { - return this.context.getIdentity(args.did); - } - - /** - * Create a ChildIdentity instance from a DID - * - * @throws if there is no ChildIdentity with the passed DID - */ - public getChildIdentity(args: { did: string }): Promise { - return this.context.getChildIdentity(args.did); - } - - /** - * Return whether the supplied Identity/DID exists - */ - public isIdentityValid(args: { identity: Identity | string }): Promise { - return asIdentity(args.identity, this.context).exists(); - } - - /** - * Creates a child identity and makes the `secondaryKey` as the primary key of the child identity - * - * @note the given `secondaryKey` is removed as secondary key from the signing Identity - * - * @throws if - * - the transaction signer is not the primary account of which the `secondaryKey` is a secondary key - * - the `secondaryKey` can't be unlinked (can happen when it's part of a multisig with some balance) - * - the signing account is not a primary key - * - the signing Identity is already a child of some other identity - */ - public createChild: ProcedureMethod; -} diff --git a/src/api/client/Network.ts b/src/api/client/Network.ts deleted file mode 100644 index 71e5cea85a..0000000000 --- a/src/api/client/Network.ts +++ /dev/null @@ -1,460 +0,0 @@ -import { isHex } from '@polkadot/util'; -import BigNumber from 'bignumber.js'; - -import { handleExtrinsicFailure } from '~/base/utils'; -import { Account, Context, PolymeshError, transferPolyx } from '~/internal'; -import { eventsByArgs, extrinsicByHash } from '~/middleware/queries'; -import { EventIdEnum, ModuleIdEnum, Query } from '~/middleware/types'; -import { - ErrorCode, - EventIdentifier, - ExtrinsicDataWithFees, - MiddlewareMetadata, - NetworkProperties, - ProcedureMethod, - ProtocolFees, - SubCallback, - SubmissionDetails, - TransactionPayload, - TransferPolyxParams, - TxTag, - UnsubCallback, -} from '~/types'; -import { Ensured } from '~/types/utils'; -import { TREASURY_MODULE_ADDRESS } from '~/utils/constants'; -import { - balanceToBigNumber, - extrinsicIdentifierToTxTag, - hashToString, - middlewareEventDetailsToEventIdentifier, - moduleAddressToString, - stringToBlockHash, - textToString, - u32ToBigNumber, -} from '~/utils/conversion'; -import { createProcedureMethod, filterEventRecords, optionize } from '~/utils/internal'; - -/** - * Handles all Network related functionality, including querying for historical events from middleware - */ -export class Network { - private context: Context; - - /** - * @hidden - */ - constructor(context: Context) { - this.context = context; - - this.transferPolyx = createProcedureMethod( - { getProcedureAndArgs: args => [transferPolyx, args] }, - context - ); - } - - /** - * Retrieve the number of the latest finalized block in the chain - */ - public getLatestBlock(): Promise { - return this.context.getLatestBlock(); - } - - /** - * Fetch the current network version (e.g. 3.1.0) - */ - public async getVersion(): Promise { - return this.context.getNetworkVersion(); - } - - /** - * Retrieve the chain's SS58 format - */ - public getSs58Format(): BigNumber { - return this.context.ss58Format; - } - - /** - * Retrieve information for the current network - */ - public async getNetworkProperties(): Promise { - const { - context: { - polymeshApi: { - runtimeVersion: { specVersion }, - rpc: { - system: { chain }, - }, - }, - }, - } = this; - const name = await chain(); - - return { - name: textToString(name), - version: u32ToBigNumber(specVersion), - }; - } - - /** - * Retrieve the protocol fees associated with running specific transactions - * - * @param args.tags - list of transaction tags (e.g. [TxTags.asset.CreateAsset, TxTags.asset.RegisterTicker] or ["asset.createAsset", "asset.registerTicker"]) - */ - public getProtocolFees(args: { tags: TxTag[] }): Promise { - return this.context.getProtocolFees(args); - } - - /** - * Get the treasury wallet address - */ - public getTreasuryAccount(): Account { - const { context } = this; - return new Account( - { address: moduleAddressToString(TREASURY_MODULE_ADDRESS, context) }, - context - ); - } - - /** - * Get the Treasury POLYX balance - * - * @note can be subscribed to - */ - public getTreasuryBalance(): Promise; - public getTreasuryBalance(callback: SubCallback): Promise; - - // eslint-disable-next-line require-jsdoc - public async getTreasuryBalance( - callback?: SubCallback - ): Promise { - const account = this.getTreasuryAccount(); - - if (callback) { - return account.getBalance(({ free: freeBalance }) => { - // eslint-disable-next-line @typescript-eslint/no-floating-promises -- callback errors should be handled by the caller - callback(freeBalance); - }); - } - - const { free } = await account.getBalance(); - return free; - } - - /** - * Transfer an amount of POLYX to a specified Account - */ - public transferPolyx: ProcedureMethod; - - /** - * Retrieve a single event by any of its indexed arguments. Can be filtered using parameters - * - * @param opts.moduleId - type of the module to fetch - * @param opts.eventId - type of the event to fetch - * @param opts.eventArg0 - event parameter value to filter by in position 0 - * @param opts.eventArg1 - event parameter value to filter by in position 1 - * @param opts.eventArg2 - event parameter value to filter by in position 2 - * - * @note uses the middlewareV2 - */ - public async getEventByIndexedArgs(opts: { - moduleId: ModuleIdEnum; - eventId: EventIdEnum; - eventArg0?: string; - eventArg1?: string; - eventArg2?: string; - }): Promise { - const { context } = this; - - const { moduleId, eventId, eventArg0, eventArg1, eventArg2 } = opts; - - const { - data: { - events: { - nodes: [event], - }, - }, - } = await context.queryMiddleware>( - eventsByArgs( - { - moduleId, - eventId, - eventArg0, - eventArg1, - eventArg2, - }, - new BigNumber(1) - ) - ); - - return optionize(middlewareEventDetailsToEventIdentifier)(event?.block, event?.eventIdx); - } - - /** - * Submits a transaction payload with its signature to the chain. `signature` should be hex encoded - * - * @throws if the signature is not hex encoded - */ - public async submitTransaction( - txPayload: TransactionPayload, - signature: string - ): Promise { - const { context } = this; - const { method, payload } = txPayload; - const transaction = context.polymeshApi.tx(method); - - if (!signature.startsWith('0x')) { - signature = `0x${signature}`; - } - - if (!isHex(signature)) - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: '`signature` should be a hex encoded string', - data: { signature }, - }); - - transaction.addSignature(payload.address, signature, payload); - - const submissionDetails: SubmissionDetails = { - blockHash: '', - transactionHash: transaction.hash.toString(), - transactionIndex: new BigNumber(0), - }; - - return new Promise((resolve, reject) => { - const gettingUnsub = transaction.send(receipt => { - const { status } = receipt; - let isLastCallback = false; - let unsubscribing = Promise.resolve(); - let extrinsicFailedEvent; - - // isCompleted implies status is one of: isFinalized, isInBlock or isError - if (receipt.isCompleted) { - if (receipt.isInBlock) { - const inBlockHash = status.asInBlock; - submissionDetails.blockHash = hashToString(inBlockHash); - - // we know that the index has to be set by the time the transaction is included in a block - // eslint-disable-next-line @typescript-eslint/no-non-null-assertion - submissionDetails.transactionIndex = new BigNumber(receipt.txIndex!); - - // if the extrinsic failed due to an on-chain error, we should handle it in a special way - [extrinsicFailedEvent] = filterEventRecords(receipt, 'system', 'ExtrinsicFailed', true); - - // extrinsic failed so we can unsubscribe - isLastCallback = !!extrinsicFailedEvent; - } else { - // isFinalized || isError so we know we can unsubscribe - isLastCallback = true; - } - - if (isLastCallback) { - unsubscribing = gettingUnsub.then(unsub => { - unsub(); - }); - } - - /* - * Promise chain that handles all sub-promises in this pass through the signAndSend callback. - * Primarily for consistent error handling - */ - let finishing = Promise.resolve(); - - if (extrinsicFailedEvent) { - const { data } = extrinsicFailedEvent; - - finishing = Promise.all([unsubscribing]).then(() => { - handleExtrinsicFailure(reject, data[0]); - }); - } else if (receipt.isFinalized) { - finishing = Promise.all([unsubscribing]).then(() => { - resolve(submissionDetails); - }); - } else if (receipt.isError) { - reject(new PolymeshError({ code: ErrorCode.TransactionAborted })); - } - - finishing.catch((err: Error) => reject(err)); - } - }); - }); - } - - /** - * Retrieve a list of events. Can be filtered using parameters - * - * @param opts.moduleId - type of the module to fetch - * @param opts.eventId - type of the event to fetch - * @param opts.eventArg0 - event parameter value to filter by in position 0 - * @param opts.eventArg1 - event parameter value to filter by in position 1 - * @param opts.eventArg2 - event parameter value to filter by in position 2 - * @param opts.size - page size - * @param opts.start - page offset - * - * @note uses the middlewareV2 - */ - public async getEventsByIndexedArgs(opts: { - moduleId: ModuleIdEnum; - eventId: EventIdEnum; - eventArg0?: string; - eventArg1?: string; - eventArg2?: string; - size?: BigNumber; - start?: BigNumber; - }): Promise { - const { context } = this; - - const { moduleId, eventId, eventArg0, eventArg1, eventArg2, size, start } = opts; - - const { - data: { - events: { nodes: events }, - }, - } = await context.queryMiddleware>( - eventsByArgs( - { - moduleId, - eventId, - eventArg0, - eventArg1, - eventArg2, - }, - size, - start - ) - ); - - if (events.length) { - return events.map(({ block, eventIdx }) => - // eslint-disable-next-line @typescript-eslint/no-non-null-assertion - middlewareEventDetailsToEventIdentifier(block!, eventIdx) - ); - } - - return null; - } - - /** - * Retrieve a transaction by hash - * - * @param opts.txHash - hash of the transaction - * - * @note uses the middlewareV2 - */ - public async getTransactionByHash(opts: { - txHash: string; - }): Promise { - const { - context: { - polymeshApi: { - rpc: { - chain: { getBlock }, - payment: { queryInfo }, - }, - }, - }, - context, - } = this; - - const { - data: { - extrinsics: { - nodes: [transaction], - }, - }, - } = await context.queryMiddleware>( - extrinsicByHash({ - extrinsicHash: opts.txHash, - }) - ); - - if (transaction) { - const { - extrinsicIdx, - address: rawAddress, - nonce, - moduleId, - callId, - paramsTxt, - success: txSuccess, - specVersionId, - extrinsicHash, - block, - } = transaction; - - const txTag = extrinsicIdentifierToTxTag({ - moduleId, - callId, - }); - - // eslint-disable-next-line @typescript-eslint/no-non-null-assertion - const { hash: blockHash, blockId: blockNumber, datetime } = block!; - - const rawBlockHash = stringToBlockHash(blockHash, context); - - const { - block: { extrinsics: blockExtrinsics }, - } = await getBlock(rawBlockHash); - - const [{ partialFee }, [{ fees: protocol }]] = await Promise.all([ - queryInfo(blockExtrinsics[extrinsicIdx].toHex(), rawBlockHash), - context.getProtocolFees({ tags: [txTag], blockHash }), - ]); - - const gas = balanceToBigNumber(partialFee); - - return { - blockNumber: new BigNumber(blockNumber), - blockHash, - blockDate: new Date(`${datetime}Z`), - extrinsicIdx: new BigNumber(extrinsicIdx), - address: rawAddress ?? null, - nonce: nonce ? new BigNumber(nonce) : null, - txTag, - params: JSON.parse(paramsTxt), - success: !!txSuccess, - specVersionId: new BigNumber(specVersionId), - // eslint-disable-next-line @typescript-eslint/no-non-null-assertion - extrinsicHash: extrinsicHash!, - fee: { - gas, - protocol, - total: gas.plus(protocol), - }, - }; - } - - return null; - } - - /** - * Retrieve middleware metadata. - * Returns null if middleware is disabled - * - * @note uses the middleware V2 - */ - public async getMiddlewareMetadata(): Promise { - return this.context.getMiddlewareMetadata(); - } - - /** - * Get the number of blocks the middleware needs to process to be synced with chain. - * The lag can be around somewhere upto 15 blocks, but this can increase if the block size being processed by the Middleware is too large. - * If the lag is too large, its recommended to check the indexer health to make sure the Middleware is processing the blocks. - * - * @note uses the middleware V2 - */ - public async getMiddlewareLag(): Promise { - let lastProcessedBlockFromMiddleware = new BigNumber(0); - const [latestBlockFromChain, middlewareMetadata] = await Promise.all([ - this.context.getLatestBlock(), - this.context.getMiddlewareMetadata(), - ]); - - if (middlewareMetadata) { - lastProcessedBlockFromMiddleware = middlewareMetadata.lastProcessedHeight; - } - - return latestBlockFromChain.minus(lastProcessedBlockFromMiddleware); - } -} diff --git a/src/api/client/Polymesh.ts b/src/api/client/Polymesh.ts index 3aca498876..035ad08c68 100644 --- a/src/api/client/Polymesh.ts +++ b/src/api/client/Polymesh.ts @@ -5,34 +5,24 @@ import { NormalizedCacheObject, } from '@apollo/client/core'; import { ApiPromise, WsProvider } from '@polkadot/api'; -import { SigningManager } from '@polymeshassociation/signing-manager-types'; -import fetch from 'cross-fetch'; -import schema from 'polymesh-types/schema'; - -import { ConfidentialAccounts } from '~/api/client/ConfidentialAccounts'; -import { ConfidentialSettlements } from '~/api/client/ConfidentialSettlements'; -import { Account, Context, createTransactionBatch, Identity, PolymeshError } from '~/internal'; +import { Polymesh as PublicPolymesh } from '@polymeshassociation/polymesh-sdk'; +import { Context, PolymeshError } from '@polymeshassociation/polymesh-sdk/internal'; import { - CreateTransactionBatchProcedureMethod, ErrorCode, MiddlewareConfig, PolkadotConfig, - UnsubCallback, -} from '~/types'; -import { signerToString } from '~/utils/conversion'; +} from '@polymeshassociation/polymesh-sdk/types'; import { assertExpectedChainVersion, assertExpectedSqVersion, - createProcedureMethod, -} from '~/utils/internal'; +} from '@polymeshassociation/polymesh-sdk/utils/internal'; +import { SigningManager } from '@polymeshassociation/signing-manager-types'; + +import { ConfidentialAccounts } from '~/api/client/ConfidentialAccounts'; +import { ConfidentialSettlements } from '~/api/client/ConfidentialSettlements'; +import schema from '~/polkadot/schema'; -import { AccountManagement } from './AccountManagement'; -import { Assets } from './Assets'; -import { Claims } from './Claims'; import { ConfidentialAssets } from './ConfidentialAssets'; -import { Identities } from './Identities'; -import { Network } from './Network'; -import { Settlements } from './Settlements'; export interface ConnectParams { /** @@ -83,35 +73,9 @@ function createMiddlewareApi( /** * Main entry point of the Polymesh SDK */ -export class Polymesh { - private context: Context = {} as Context; - +export class ConfidentialPolymesh extends PublicPolymesh { // Namespaces - /** - * A set of methods to deal with Claims - */ - public claims: Claims; - /** - * A set of methods to interact with the Polymesh network. This includes transferring POLYX, reading network properties and querying for historical events - */ - public network: Network; - /** - * A set of methods for exchanging Assets - */ - public settlements: Settlements; - /** - * A set of methods for managing a Polymesh Identity's Accounts and their permissions - */ - public accountManagement: AccountManagement; - /** - * A set of methods for interacting with Polymesh Identities. - */ - public identities: Identities; - /** - * A set of methods for interacting with Assets - */ - public assets: Assets; /** * A set of methods for interacting with Confidential Assets */ @@ -130,25 +94,11 @@ export class Polymesh { /** * @hidden */ - private constructor(context: Context) { - this.context = context; - - this.claims = new Claims(context); - this.network = new Network(context); - this.settlements = new Settlements(context); - this.accountManagement = new AccountManagement(context); - this.identities = new Identities(context); - this.assets = new Assets(context); + protected constructor(context: Context) { + super(context); this.confidentialAssets = new ConfidentialAssets(context); this.confidentialSettlements = new ConfidentialSettlements(context); this.confidentialAccounts = new ConfidentialAccounts(context); - - this.createTransactionBatch = createProcedureMethod( - { - getProcedureAndArgs: args => [createTransactionBatch, { ...args }], - }, - context - ) as CreateTransactionBatchProcedureMethod; } /** @@ -161,7 +111,7 @@ export class Polymesh { * @param params.middlewareV2 - middleware V2 API URL (optional, used for historic queries) * @param params.polkadot - optional config for polkadot `ApiPromise` */ - static async connect(params: ConnectParams): Promise { + static override async connect(params: ConnectParams): Promise { const { nodeUrl, signingManager, middlewareV2, polkadot } = params; let context: Context; let polymeshApi: ApiPromise; @@ -228,139 +178,6 @@ export class Polymesh { await Promise.all(requiredChecks); - return new Polymesh(context); - } - - /** - * Retrieve the Identity associated to the signing Account (null if there is none) - * - * @throws if there is no signing Account associated to the SDK - */ - public getSigningIdentity(): Promise { - return this.context.getSigningAccount().getIdentity(); - } - - /** - * Handle connection errors - * - * @returns an unsubscribe callback - */ - public onConnectionError(callback: (...args: unknown[]) => unknown): UnsubCallback { - const { - context: { polymeshApi }, - } = this; - - polymeshApi.on('error', callback); - - return (): void => { - polymeshApi.off('error', callback); - }; - } - - /** - * Handle disconnection - * - * @returns an unsubscribe callback - */ - public onDisconnect(callback: (...args: unknown[]) => unknown): UnsubCallback { - const { - context: { polymeshApi }, - } = this; - - polymeshApi.on('disconnected', callback); - - return (): void => { - polymeshApi.off('disconnected', callback); - }; - } - - /** - * Disconnect the client and close all open connections and subscriptions - * - * @note the SDK will become unusable after this operation. It will throw an error when attempting to - * access any chain or middleware data. If you wish to continue using the SDK, you must - * create a new instance by calling {@link connect} - */ - public disconnect(): Promise { - return this.context.disconnect(); - } - - /** - * Set the SDK's signing Account to the provided one - * - * @throws if the passed Account is not present in the Signing Manager (or there is no Signing Manager) - */ - public setSigningAccount(signer: string | Account): Promise { - return this.context.setSigningAddress(signerToString(signer)); - } - - /** - * Set the SDK's Signing Manager to the provided one. - * - * @note Pass `null` to unset the current signing manager - */ - public setSigningManager(signingManager: SigningManager | null): Promise { - return this.context.setSigningManager(signingManager); - } - - /** - * Create a batch transaction from a list of separate transactions. The list can contain batch transactions as well. - * The result of running this transaction will be an array of the results of each transaction in the list, in the same order. - * Transactions with no return value will produce `undefined` in the resulting array - * - * @param args.transactions - list of {@link base/PolymeshTransaction!PolymeshTransaction} or {@link base/PolymeshTransactionBatch!PolymeshTransactionBatch} - * - * @example Batching 3 ticker reservation transactions - * - * ```typescript - * const tx1 = await sdk.assets.reserveTicker({ ticker: 'FOO' }); - * const tx2 = await sdk.assets.reserveTicker({ ticker: 'BAR' }); - * const tx3 = await sdk.assets.reserveTicker({ ticker: 'BAZ' }); - * - * const batch = sdk.createTransactionBatch({ transactions: [tx1, tx2, tx3] as const }); - * - * const [res1, res2, res3] = await batch.run(); - * ``` - * - * @example Specifying the signer account for the whole batch - * - * ```typescript - * const batch = sdk.createTransactionBatch({ transactions: [tx1, tx2, tx3] as const }, { signingAccount: 'someAddress' }); - * - * const [res1, res2, res3] = await batch.run(); - * ``` - * - * @note it is mandatory to use the `as const` type assertion when passing in the transaction array to the method in order to get the correct types - * for the results of running the batch - * @note if a signing Account is not specified, the default one will be used (the one returned by `sdk.accountManagement.getSigningAccount()`) - * @note all fees in the resulting batch must be paid by the calling Account, regardless of any exceptions that would normally be made for - * the individual transactions (such as subsidies or accepting invitations to join an Identity) - */ - public createTransactionBatch: CreateTransactionBatchProcedureMethod; - - /* eslint-disable @typescript-eslint/naming-convention */ - /* istanbul ignore next: not part of the official public API */ - /** - * Polkadot client - */ - public get _polkadotApi(): ApiPromise { - return this.context.getPolymeshApi(); - } - - /* istanbul ignore next: not part of the official public API */ - /** - * signing address (to manually submit transactions with the polkadot API) - */ - public get _signingAddress(): string { - return this.context.getSigningAddress(); - } - - /* istanbul ignore next: not part of the official public API */ - /** - * MiddlewareV2 client - */ - public get _middlewareApiV2(): ApolloClient { - return this.context.middlewareApi; + return new ConfidentialPolymesh(context); } - /* eslint-enable @typescript-eslint/naming-convention */ } diff --git a/src/api/client/Settlements.ts b/src/api/client/Settlements.ts deleted file mode 100644 index f99f337d8a..0000000000 --- a/src/api/client/Settlements.ts +++ /dev/null @@ -1,122 +0,0 @@ -import BigNumber from 'bignumber.js'; - -import { addInstruction } from '~/api/procedures/addInstruction'; -import { - addInstructionTransformer, - Context, - createVenue, - Instruction, - modifyInstructionAffirmation, - PolymeshError, - Venue, -} from '~/internal'; -import { - AddInstructionWithVenueIdParams, - CreateVenueParams, - ErrorCode, - InstructionAffirmationOperation, - InstructionIdParams, - ProcedureMethod, -} from '~/types'; -import { createProcedureMethod } from '~/utils/internal'; - -/** - * Handles all Settlement related functionality - */ -export class Settlements { - private context: Context; - - /** - * @hidden - */ - constructor(context: Context) { - this.context = context; - - this.createVenue = createProcedureMethod( - { getProcedureAndArgs: args => [createVenue, args] }, - context - ); - - this.addInstruction = createProcedureMethod( - { - getProcedureAndArgs: args => { - const { venueId, ...instruction } = args; - return [addInstruction, { instructions: [instruction], venueId }]; - }, - transformer: addInstructionTransformer, - }, - context - ); - - this.affirmInstruction = createProcedureMethod( - { - getProcedureAndArgs: args => [ - modifyInstructionAffirmation, - { id: args.id, operation: InstructionAffirmationOperation.Affirm }, - ], - }, - context - ); - } - - /** - * Retrieve a Venue by its ID - * - * @param args.id - identifier number of the Venue - */ - public async getVenue(args: { id: BigNumber }): Promise { - const { context } = this; - - const venue = new Venue(args, context); - - const venueExists = await venue.exists(); - if (!venueExists) { - throw new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: "The Venue doesn't exist", - }); - } - - return venue; - } - - /** - * Retrieve an Instruction by its ID - * - * @param args.id - identifier number of the Instruction - */ - public async getInstruction(args: { id: BigNumber }): Promise { - const { context } = this; - - const instruction = new Instruction(args, context); - - const instructionExists = await instruction.exists(); - if (!instructionExists) { - throw new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: "The Instruction doesn't exist", - }); - } - - return instruction; - } - - /** - * Create a Venue under the ownership of the signing Identity - */ - public createVenue: ProcedureMethod; - - /** - * Create an Instruction to exchange Assets - */ - public addInstruction: ProcedureMethod< - AddInstructionWithVenueIdParams, - Instruction[], - Instruction - >; - - /** - * Affirm an Instruction (authorize) - */ - public affirmInstruction: ProcedureMethod; -} diff --git a/src/api/client/__tests__/AccountManagement.ts b/src/api/client/__tests__/AccountManagement.ts deleted file mode 100644 index 30796b2841..0000000000 --- a/src/api/client/__tests__/AccountManagement.ts +++ /dev/null @@ -1,399 +0,0 @@ -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { AccountManagement } from '~/api/client/AccountManagement'; -import { Account, MultiSig, PolymeshTransaction, Subsidy } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { MockContext } from '~/testUtils/mocks/dataSources'; -import { AccountBalance, PermissionType, SubCallback } from '~/types'; -import * as utilsConversionModule from '~/utils/conversion'; -import * as utilsInternalModule from '~/utils/internal'; - -jest.mock( - '~/base/Procedure', - require('~/testUtils/mocks/procedure').mockProcedureModule('~/base/Procedure') -); -jest.mock( - '~/api/entities/Account', - require('~/testUtils/mocks/entities').mockAccountModule('~/api/entities/Account') -); - -jest.mock( - '~/api/entities/Subsidy', - require('~/testUtils/mocks/entities').mockSubsidyModule('~/api/entities/Subsidy') -); - -describe('AccountManagement class', () => { - let context: MockContext; - let accountManagement: AccountManagement; - - beforeAll(() => { - dsMockUtils.initMocks(); - entityMockUtils.initMocks(); - procedureMockUtils.initMocks(); - }); - - beforeEach(() => { - context = dsMockUtils.getContextInstance(); - accountManagement = new AccountManagement(context); - }); - - afterEach(() => { - dsMockUtils.reset(); - entityMockUtils.reset(); - procedureMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - procedureMockUtils.cleanup(); - }); - - describe('method: leaveIdentity', () => { - it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args: undefined, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const tx = await accountManagement.leaveIdentity(); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: removeSecondaryAccounts', () => { - it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { - const accounts = [entityMockUtils.getAccountInstance({ address: 'someAccount' })]; - - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args: { accounts }, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const tx = await accountManagement.removeSecondaryAccounts({ accounts }); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: revokePermissions', () => { - it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { - const account = entityMockUtils.getAccountInstance({ address: 'someAccount' }); - const secondaryAccounts = [ - { - account, - permissions: { - tokens: { type: PermissionType.Include, values: [] }, - transactions: { type: PermissionType.Include, values: [] }, - portfolios: { type: PermissionType.Include, values: [] }, - }, - }, - ]; - - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args: { secondaryAccounts }, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const tx = await accountManagement.revokePermissions({ secondaryAccounts: [account] }); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: modifyPermissions', () => { - it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { - const secondaryAccounts = [ - { - account: entityMockUtils.getAccountInstance({ address: 'someAccount' }), - permissions: { tokens: null, transactions: null, portfolios: null }, - }, - ]; - - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args: { secondaryAccounts }, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const tx = await accountManagement.modifyPermissions({ secondaryAccounts }); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: inviteAccount', () => { - it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { - const args = { - targetAccount: 'someAccount', - }; - - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const tx = await accountManagement.inviteAccount(args); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: freezeSecondaryAccounts', () => { - it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { - const args = { - freeze: true, - }; - - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const tx = await accountManagement.freezeSecondaryAccounts(); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: unfreezeSecondaryAccounts', () => { - it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { - const args = { - freeze: false, - }; - - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const tx = await accountManagement.unfreezeSecondaryAccounts(); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: subsidizeAccount', () => { - it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { - const args = { - beneficiary: 'someAccount', - allowance: new BigNumber(1000), - }; - - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const tx = await accountManagement.subsidizeAccount(args); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: getAccount', () => { - beforeAll(() => { - jest.spyOn(utilsConversionModule, 'stringToAccountId').mockImplementation(); - }); - - it('should return an Account object with the passed address', async () => { - const params = { address: 'testAddress' }; - dsMockUtils.createQueryMock('multiSig', 'multiSigSigners', { - returnValue: [], - }); - - const result = await accountManagement.getAccount(params); - - expect(result).toBeInstanceOf(Account); - expect(result.address).toBe(params.address); - }); - - it('should return a MultiSig instance if the address is for a MultiSig', async () => { - const params = { address: 'testAddress' }; - dsMockUtils.createQueryMock('multiSig', 'multiSigSigners', { - entries: [[['someSignerAddress'], 'someSignerAddress']], - }); - - const result = await accountManagement.getAccount(params); - - expect(result).toBeInstanceOf(MultiSig); - expect(result.address).toBe(params.address); - }); - }); - - describe('method: getSigningAccount', () => { - const stringToAccountIdSpy = jest.spyOn(utilsConversionModule, 'stringToAccountId'); - it('should return the signing Account', async () => { - const address = 'someAddress'; - const rawAddress = dsMockUtils.createMockAccountId(address); - when(stringToAccountIdSpy).calledWith(address, context).mockReturnValue(rawAddress); - dsMockUtils.configureMocks({ contextOptions: { signingAddress: address } }); - - const result = accountManagement.getSigningAccount(); - - expect(result && result.address).toBe(address); - }); - - it('should return null if there is no set signing Account', async () => { - context.getSigningAccount.mockImplementation(() => { - throw new Error('err'); - }); - - const result = accountManagement.getSigningAccount(); - - expect(result).toBeNull(); - }); - }); - - describe('method: getAccountBalance', () => { - const fakeBalance = { - free: new BigNumber(100), - locked: new BigNumber(0), - total: new BigNumber(100), - }; - it('should return the free and locked POLYX balance of the signing Account', async () => { - dsMockUtils.configureMocks({ contextOptions: { balance: fakeBalance } }); - - const result = await accountManagement.getAccountBalance(); - expect(result).toEqual(fakeBalance); - }); - - it('should return the free and locked POLYX balance of the supplied Account', async () => { - entityMockUtils.configureMocks({ accountOptions: { getBalance: fakeBalance } }); - - let result = await accountManagement.getAccountBalance({ account: 'someId' }); - expect(result).toEqual(fakeBalance); - - result = await accountManagement.getAccountBalance({ - account: new Account({ address: 'someId ' }, dsMockUtils.getContextInstance()), - }); - expect(result).toEqual(fakeBalance); - }); - - it('should allow subscription (with and without a supplied Account id)', async () => { - const unsubCallback = 'unsubCallback'; - dsMockUtils.configureMocks({ contextOptions: { balance: fakeBalance } }); - entityMockUtils.configureMocks({ accountOptions: { getBalance: fakeBalance } }); - - let accountBalanceMock = ( - dsMockUtils.getContextInstance().getSigningAccount().getBalance as jest.Mock - ).mockResolvedValue(unsubCallback); - - const callback = (() => 1 as unknown) as SubCallback; - let result = await accountManagement.getAccountBalance(callback); - expect(result).toEqual(unsubCallback); - expect(accountBalanceMock).toBeCalledWith(callback); - - accountBalanceMock = jest.fn().mockResolvedValue(unsubCallback); - entityMockUtils.configureMocks({ - accountOptions: { - getBalance: accountBalanceMock, - }, - }); - const account = 'someId'; - result = await accountManagement.getAccountBalance({ account }, callback); - expect(result).toEqual(unsubCallback); - expect(accountBalanceMock).toBeCalledWith(callback); - }); - }); - - describe('method: getSigningAccounts', () => { - it('should return the list of signer Accounts associated to the SDK', async () => { - const accounts = [entityMockUtils.getAccountInstance()]; - dsMockUtils.configureMocks({ - contextOptions: { - getSigningAccounts: accounts, - }, - }); - - const result = await accountManagement.getSigningAccounts(); - - expect(result).toEqual(accounts); - }); - }); - - describe('method: createMultiSigAccount', () => { - it('should prepare the procedure with the correct arguments and context, and return the resulting transaction queue', async () => { - const args = { - signers: [entityMockUtils.getAccountInstance()], - requiredSignatures: new BigNumber(1), - }; - - const expectedQueue = 'someQueue' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args, transformer: undefined }, context, {}) - .mockResolvedValue(expectedQueue); - - const queue = await accountManagement.createMultiSigAccount(args); - - expect(queue).toBe(expectedQueue); - }); - }); - - describe('method: getSubsidy', () => { - it('should return an Subsidy object with the passed beneficiary and subsidizer', () => { - const params = { beneficiary: 'beneficiary', subsidizer: 'subsidizer' }; - - const result = accountManagement.getSubsidy(params); - - expect(result).toBeInstanceOf(Subsidy); - }); - }); - - describe('method: validateAddress', () => { - let assertAddressValidSpy: jest.SpyInstance; - beforeAll(() => { - assertAddressValidSpy = jest - .spyOn(utilsInternalModule, 'assertAddressValid') - .mockImplementation(); - }); - - it('should return the false if assert address valid throws', () => { - const expectedError = new Error('some error'); - - assertAddressValidSpy.mockImplementationOnce(() => { - throw expectedError; - }); - - const isValid = accountManagement.isValidAddress({ address: 'someAddress' }); - - expect(isValid).toEqual(isValid); - }); - - it('should return true if assert address valid does not throw', () => { - assertAddressValidSpy.mockReturnValue(undefined); - - const isValid = accountManagement.isValidAddress({ address: 'someAddress' }); - - expect(isValid).toEqual(true); - }); - }); - - describe('method: acceptPrimaryKey', () => { - it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { - const args = { - ownerAuth: new BigNumber(1), - cddAuth: new BigNumber(2), - }; - - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const tx = await accountManagement.acceptPrimaryKey(args); - - expect(tx).toBe(expectedTransaction); - }); - }); -}); diff --git a/src/api/client/__tests__/Assets.ts b/src/api/client/__tests__/Assets.ts deleted file mode 100644 index 6337380bf0..0000000000 --- a/src/api/client/__tests__/Assets.ts +++ /dev/null @@ -1,668 +0,0 @@ -import { StorageKey } from '@polkadot/types'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { Assets } from '~/api/client/Assets'; -import { - Context, - FungibleAsset, - NftCollection, - PolymeshTransaction, - TickerReservation, -} from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { - GlobalMetadataKey, - KnownAssetType, - KnownNftType, - SecurityIdentifierType, - TickerReservationStatus, -} from '~/types'; -import { tuple } from '~/types/utils'; -import * as utilsConversionModule from '~/utils/conversion'; -import * as utilsInternalModule from '~/utils/internal'; - -jest.mock( - '~/api/entities/TickerReservation', - require('~/testUtils/mocks/entities').mockTickerReservationModule( - '~/api/entities/TickerReservation' - ) -); -jest.mock( - '~/base/Procedure', - require('~/testUtils/mocks/procedure').mockProcedureModule('~/base/Procedure') -); -jest.mock( - '~/api/entities/Asset/Fungible', - require('~/testUtils/mocks/entities').mockFungibleAssetModule('~/api/entities/Asset/Fungible') -); -jest.mock( - '~/api/entities/Asset/NonFungible', - require('~/testUtils/mocks/entities').mockNftCollectionModule('~/api/entities/Asset/NonFungible') -); - -describe('Assets Class', () => { - let context: Mocked; - let assets: Assets; - - beforeAll(() => { - dsMockUtils.initMocks(); - entityMockUtils.initMocks(); - procedureMockUtils.initMocks(); - }); - - beforeEach(() => { - context = dsMockUtils.getContextInstance(); - assets = new Assets(context); - }); - - afterEach(() => { - dsMockUtils.reset(); - entityMockUtils.reset(); - procedureMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - procedureMockUtils.cleanup(); - }); - - describe('method: reserveTicker', () => { - it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { - const args = { - ticker: 'SOME_TICKER', - }; - - const expectedTransaction = - 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const tx = await assets.reserveTicker(args); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: createAsset', () => { - it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { - const ticker = 'FAKE_TICKER'; - - const args = { - ticker, - name: 'TEST', - totalSupply: new BigNumber(100), - isDivisible: true, - assetType: KnownAssetType.EquityCommon, - securityIdentifier: [{ type: SecurityIdentifierType.Isin, value: '12345' }], - fundingRound: 'Series A', - requireInvestorUniqueness: false, - reservationRequired: false, - }; - - const expectedTransaction = - 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const tx = await assets.createAsset(args); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: createNftCollection', () => { - it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { - const ticker = 'FAKE_TICKER'; - - const args = { - ticker, - name: 'TEST', - nftType: KnownNftType.Derivative, - collectionKeys: [], - }; - - const expectedTransaction = - 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const tx = await assets.createNftCollection(args); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: isTickerAvailable', () => { - afterEach(() => { - entityMockUtils.reset(); - }); - - it('should return true if ticker is available to reserve it', async () => { - entityMockUtils.configureMocks({ - tickerReservationOptions: { - details: { - owner: entityMockUtils.getIdentityInstance(), - expiryDate: new Date(), - status: TickerReservationStatus.Free, - }, - }, - }); - - const isTickerAvailable = await assets.isTickerAvailable({ ticker: 'SOME_TICKER' }); - - expect(isTickerAvailable).toBeTruthy(); - }); - - it('should return false if ticker is not available to reserve it', async () => { - entityMockUtils.configureMocks({ - tickerReservationOptions: { - details: { - owner: entityMockUtils.getIdentityInstance(), - expiryDate: new Date(), - status: TickerReservationStatus.Reserved, - }, - }, - }); - - const isTickerAvailable = await assets.isTickerAvailable({ ticker: 'SOME_TICKER' }); - - expect(isTickerAvailable).toBeFalsy(); - }); - - it('should allow subscription', async () => { - const unsubCallback = 'unsubCallBack'; - - entityMockUtils.configureMocks({ - tickerReservationOptions: { - details: async cbFunc => { - cbFunc({ - owner: entityMockUtils.getIdentityInstance(), - expiryDate: new Date(), - status: TickerReservationStatus.Free, - }); - - return unsubCallback; - }, - }, - }); - - const callback = jest.fn(); - const result = await assets.isTickerAvailable({ ticker: 'SOME_TICKER' }, callback); - - expect(result).toBe(unsubCallback); - expect(callback).toBeCalledWith(true); - }); - }); - - describe('method: getTickerReservations', () => { - beforeAll(() => { - jest.spyOn(utilsConversionModule, 'signerValueToSignatory'); - }); - - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should return a list of ticker reservations if did parameter is set', async () => { - const fakeTicker = 'TEST'; - const did = 'someDid'; - - dsMockUtils.configureMocks({ contextOptions: { withSigningManager: true } }); - - dsMockUtils.createQueryMock('asset', 'assetOwnershipRelations', { - entries: [ - tuple( - [dsMockUtils.createMockIdentityId(did), dsMockUtils.createMockTicker(fakeTicker)], - dsMockUtils.createMockAssetOwnershipRelation('TickerOwned') - ), - ], - }); - - const tickerReservations = await assets.getTickerReservations({ owner: did }); - - expect(tickerReservations).toHaveLength(1); - expect(tickerReservations[0].ticker).toBe(fakeTicker); - }); - - it('should return a list of ticker reservations owned by the Identity', async () => { - const fakeTicker = 'TEST'; - const did = 'someDid'; - - dsMockUtils.configureMocks({ contextOptions: { withSigningManager: true } }); - - dsMockUtils.createQueryMock('asset', 'assetOwnershipRelations', { - entries: [ - tuple( - [dsMockUtils.createMockIdentityId(did), dsMockUtils.createMockTicker(fakeTicker)], - dsMockUtils.createMockAssetOwnershipRelation('TickerOwned') - ), - ], - }); - - const tickerReservations = await assets.getTickerReservations(); - - expect(tickerReservations).toHaveLength(1); - expect(tickerReservations[0].ticker).toBe(fakeTicker); - }); - - it('should filter out tickers with unreadable characters', async () => { - const fakeTicker = 'TEST'; - const unreadableTicker = String.fromCharCode(65533); - const did = 'someDid'; - - dsMockUtils.configureMocks({ contextOptions: { withSigningManager: true } }); - - dsMockUtils.createQueryMock('asset', 'assetOwnershipRelations', { - entries: [ - tuple( - [dsMockUtils.createMockIdentityId(did), dsMockUtils.createMockTicker(fakeTicker)], - dsMockUtils.createMockAssetOwnershipRelation('TickerOwned') - ), - tuple( - [dsMockUtils.createMockIdentityId(did), dsMockUtils.createMockTicker('SOME_TICKER')], - dsMockUtils.createMockAssetOwnershipRelation('AssetOwned') - ), - tuple( - [dsMockUtils.createMockIdentityId(did), dsMockUtils.createMockTicker(unreadableTicker)], - dsMockUtils.createMockAssetOwnershipRelation('TickerOwned') - ), - ], - }); - - const tickerReservations = await assets.getTickerReservations(); - - expect(tickerReservations).toHaveLength(1); - expect(tickerReservations[0].ticker).toBe(fakeTicker); - }); - }); - - describe('method: getTickerReservation', () => { - it('should return a Ticker Reservation', () => { - const ticker = 'TEST'; - const tickerReservation = assets.getTickerReservation({ ticker }); - expect(tickerReservation.ticker).toBe(ticker); - }); - }); - - describe('method: getAsset', () => { - it('should return a specific Asset', async () => { - const ticker = 'TEST'; - - entityMockUtils.configureMocks({ - fungibleAssetOptions: { exists: false }, - nftCollectionOptions: { exists: true }, - }); - - const asset = await assets.getAsset({ ticker }); - expect(asset).toBeInstanceOf(NftCollection); - }); - - it('should throw if the Asset does not exist', async () => { - const ticker = 'TEST'; - entityMockUtils.configureMocks({ - fungibleAssetOptions: { exists: false }, - nftCollectionOptions: { exists: false }, - }); - - return expect(assets.getAsset({ ticker })).rejects.toThrow( - `No asset exists with ticker: "${ticker}"` - ); - }); - }); - - describe('method: getFungibleAsset', () => { - it('should return a specific Asset', async () => { - const ticker = 'TEST'; - - const asset = await assets.getFungibleAsset({ ticker }); - expect(asset.ticker).toBe(ticker); - }); - - it('should throw if the Asset does not exist', async () => { - const ticker = 'TEST'; - entityMockUtils.configureMocks({ fungibleAssetOptions: { exists: false } }); - - return expect(assets.getFungibleAsset({ ticker })).rejects.toThrow( - `There is no Asset with ticker "${ticker}"` - ); - }); - }); - - describe('method: getNftCollection', () => { - const ticker = 'NFTTEST'; - - it('should return the collection if it exists', async () => { - const nftCollection = await assets.getNftCollection({ ticker }); - expect(nftCollection.ticker).toBe(ticker); - }); - - it('should throw if the collection does not exist', async () => { - entityMockUtils.configureMocks({ nftCollectionOptions: { exists: false } }); - - return expect(assets.getNftCollection({ ticker })).rejects.toThrow( - `There is no NftCollection with ticker "${ticker}"` - ); - }); - }); - - describe('method: getAssets', () => { - beforeAll(() => { - jest.spyOn(utilsConversionModule, 'signerValueToSignatory'); - }); - - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should return a list of Assets owned by the supplied did', async () => { - const fakeTicker = 'TEST'; - const did = 'someDid'; - - dsMockUtils.configureMocks({ contextOptions: { withSigningManager: true } }); - - dsMockUtils.createQueryMock('asset', 'assetOwnershipRelations', { - entries: [ - tuple( - [dsMockUtils.createMockIdentityId(did), dsMockUtils.createMockTicker(fakeTicker)], - dsMockUtils.createMockAssetOwnershipRelation('AssetOwned') - ), - ], - }); - - dsMockUtils.createQueryMock('asset', 'tokens', { - multi: [ - dsMockUtils.createMockOption( - dsMockUtils.createMockSecurityToken({ - ownerDid: dsMockUtils.createMockIdentityId('someDid'), - assetType: dsMockUtils.createMockAssetType(KnownAssetType.Commodity), - divisible: dsMockUtils.createMockBool(false), - totalSupply: dsMockUtils.createMockBalance(new BigNumber(0)), - }) - ), - ], - }); - - const asset = await assets.getAssets({ owner: 'someDid' }); - - expect(asset).toHaveLength(1); - expect(asset[0].ticker).toBe(fakeTicker); - }); - - it('should return a list of Assets owned by the signing Identity if no did is supplied', async () => { - const fakeTicker = 'TEST'; - const did = 'someDid'; - - dsMockUtils.configureMocks({ contextOptions: { withSigningManager: true } }); - - dsMockUtils.createQueryMock('asset', 'assetOwnershipRelations', { - entries: [ - tuple( - [dsMockUtils.createMockIdentityId(did), dsMockUtils.createMockTicker(fakeTicker)], - dsMockUtils.createMockAssetOwnershipRelation('AssetOwned') - ), - ], - }); - - dsMockUtils.createQueryMock('asset', 'tokens', { - multi: [ - dsMockUtils.createMockOption( - dsMockUtils.createMockSecurityToken({ - ownerDid: dsMockUtils.createMockIdentityId('someDid'), - assetType: dsMockUtils.createMockAssetType(KnownAssetType.Commodity), - divisible: dsMockUtils.createMockBool(false), - totalSupply: dsMockUtils.createMockBalance(new BigNumber(0)), - }) - ), - ], - }); - - const assetResults = await assets.getAssets(); - - expect(assetResults).toHaveLength(1); - expect(assetResults[0].ticker).toBe(fakeTicker); - }); - - it('should filter out Assets whose tickers have unreadable characters', async () => { - const fakeTicker = 'TEST'; - const unreadableTicker = String.fromCharCode(65533); - const did = 'someDid'; - - dsMockUtils.configureMocks({ contextOptions: { withSigningManager: true } }); - - dsMockUtils.createQueryMock('asset', 'assetOwnershipRelations', { - entries: [ - tuple( - [dsMockUtils.createMockIdentityId(did), dsMockUtils.createMockTicker(fakeTicker)], - dsMockUtils.createMockAssetOwnershipRelation('AssetOwned') - ), - tuple( - [dsMockUtils.createMockIdentityId(did), dsMockUtils.createMockTicker('SOME_TICKER')], - dsMockUtils.createMockAssetOwnershipRelation('TickerOwned') - ), - tuple( - [dsMockUtils.createMockIdentityId(did), dsMockUtils.createMockTicker(unreadableTicker)], - dsMockUtils.createMockAssetOwnershipRelation('AssetOwned') - ), - ], - }); - - dsMockUtils.createQueryMock('asset', 'tokens', { - multi: [ - dsMockUtils.createMockOption( - dsMockUtils.createMockSecurityToken({ - ownerDid: dsMockUtils.createMockIdentityId(did), - assetType: dsMockUtils.createMockAssetType(KnownAssetType.Commodity), - divisible: dsMockUtils.createMockBool(false), - totalSupply: dsMockUtils.createMockBalance(new BigNumber(0)), - }) - ), - ], - }); - - const assetResults = await assets.getAssets(); - - expect(assetResults).toHaveLength(1); - expect(assetResults[0].ticker).toBe(fakeTicker); - }); - }); - - describe('method: get', () => { - let requestPaginatedSpy: jest.SpyInstance; - const expectedAssets = [ - { - name: 'someAsset', - ticker: 'SOME_ASSET', - }, - { - name: 'otherAsset', - ticker: 'OTHER_ASSET', - }, - ]; - - beforeAll(() => { - requestPaginatedSpy = jest - .spyOn(utilsInternalModule, 'requestPaginated') - .mockClear() - .mockImplementation(); - }); - - beforeEach(() => { - dsMockUtils.createQueryMock('asset', 'assetNames'); - }); - - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should retrieve all Assets on the chain', async () => { - const entries = expectedAssets.map(({ name, ticker }) => - tuple( - { - args: [dsMockUtils.createMockTicker(ticker)], - } as unknown as StorageKey, - dsMockUtils.createMockBytes(name) - ) - ); - - dsMockUtils.createQueryMock('asset', 'tokens', { - multi: [ - dsMockUtils.createMockOption( - dsMockUtils.createMockSecurityToken({ - ownerDid: dsMockUtils.createMockIdentityId('someDid'), - assetType: dsMockUtils.createMockAssetType(KnownAssetType.Commodity), - divisible: dsMockUtils.createMockBool(false), - totalSupply: dsMockUtils.createMockBalance(new BigNumber(0)), - }) - ), - dsMockUtils.createMockOption( - dsMockUtils.createMockSecurityToken({ - ownerDid: dsMockUtils.createMockIdentityId('someDid'), - assetType: dsMockUtils.createMockAssetType({ - NonFungible: dsMockUtils.createMockNftType(KnownAssetType.Derivative), - }), - divisible: dsMockUtils.createMockBool(false), - totalSupply: dsMockUtils.createMockBalance(new BigNumber(0)), - }) - ), - ], - }); - - requestPaginatedSpy.mockResolvedValue({ entries, lastKey: null }); - - const result = await assets.get(); - - const expectedData = expectedAssets.map(({ ticker }) => expect.objectContaining({ ticker })); - expect(result).toEqual({ data: expectedData, next: null }); - }); - - it('should retrieve the first page of results', async () => { - const entries = [ - tuple( - { - args: [dsMockUtils.createMockTicker(expectedAssets[0].ticker)], - } as unknown as StorageKey, - dsMockUtils.createMockBytes(expectedAssets[0].name) - ), - ]; - - dsMockUtils.createQueryMock('asset', 'tokens', { - multi: [ - dsMockUtils.createMockOption( - dsMockUtils.createMockSecurityToken({ - ownerDid: dsMockUtils.createMockIdentityId('someDid'), - assetType: dsMockUtils.createMockAssetType(KnownAssetType.Commodity), - divisible: dsMockUtils.createMockBool(false), - totalSupply: dsMockUtils.createMockBalance(new BigNumber(0)), - }) - ), - ], - }); - - requestPaginatedSpy.mockResolvedValue({ entries, lastKey: 'someKey' }); - - const result = await assets.get({ size: new BigNumber(1) }); - - expect(result).toEqual({ - data: [expect.objectContaining({ ticker: expectedAssets[0].ticker })], - next: 'someKey', - }); - }); - }); - - describe('method: getGlobalMetadataKeys', () => { - let bytesToStringSpy: jest.SpyInstance; - let u64ToBigNumberSpy: jest.SpyInstance; - let meshMetadataSpecToMetadataSpecSpy: jest.SpyInstance; - - const rawIds = [ - dsMockUtils.createMockU64(new BigNumber(1)), - dsMockUtils.createMockU64(new BigNumber(2)), - ]; - const globalMetadata: GlobalMetadataKey[] = [ - { - id: new BigNumber(1), - name: 'SOME_NAME1', - specs: { - url: 'SOME_URL1', - description: 'SOME_DESCRIPTION1', - typeDef: 'SOME_TYPEDEF1', - }, - }, - { - id: new BigNumber(2), - name: 'SOME_NAME2', - specs: {}, - }, - ]; - let rawGlobalMetadata; - - beforeAll(() => { - u64ToBigNumberSpy = jest.spyOn(utilsConversionModule, 'u64ToBigNumber'); - bytesToStringSpy = jest.spyOn(utilsConversionModule, 'bytesToString'); - meshMetadataSpecToMetadataSpecSpy = jest.spyOn( - utilsConversionModule, - 'meshMetadataSpecToMetadataSpec' - ); - }); - - beforeEach(() => { - rawIds.forEach(rawId => { - when(rawId.eq).calledWith(rawId).mockReturnValue(true); - }); - rawGlobalMetadata = globalMetadata.map(({ id, name, specs }, index) => { - const rawId = rawIds[index]; - const rawName = dsMockUtils.createMockBytes(name); - const { url, description, typeDef } = specs; - const rawUrl = dsMockUtils.createMockBytes(url); - const rawDescription = dsMockUtils.createMockBytes(description); - const rawTypeDef = dsMockUtils.createMockBytes(typeDef); - const rawSpecs = { - url: dsMockUtils.createMockOption(rawUrl), - description: dsMockUtils.createMockOption(rawDescription), - typeDef: dsMockUtils.createMockOption(rawTypeDef), - }; - when(bytesToStringSpy).calledWith(rawUrl).mockReturnValue(url); - when(bytesToStringSpy).calledWith(rawDescription).mockReturnValue(description); - when(bytesToStringSpy).calledWith(rawTypeDef).mockReturnValue(typeDef); - when(bytesToStringSpy).calledWith(rawName).mockReturnValue(name); - when(u64ToBigNumberSpy).calledWith(rawId).mockReturnValue(id); - - const rawMetadataSpecs = dsMockUtils.createMockOption( - dsMockUtils.createMockAssetMetadataSpec(rawSpecs) - ); - when(meshMetadataSpecToMetadataSpecSpy).calledWith(rawMetadataSpecs).mockReturnValue(specs); - - return { - rawId, - rawName: dsMockUtils.createMockOption(rawName), - rawSpecs: rawMetadataSpecs, - }; - }); - - dsMockUtils.createQueryMock('asset', 'assetMetadataGlobalKeyToName', { - entries: rawGlobalMetadata.map(({ rawId, rawName }) => tuple([rawId], rawName)), - }); - - dsMockUtils.createQueryMock('asset', 'assetMetadataGlobalSpecs', { - entries: rawGlobalMetadata.map(({ rawId, rawSpecs }) => tuple([rawId], rawSpecs)), - }); - }); - - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should retrieve all Asset Global Metadata on the chain', async () => { - const result = await assets.getGlobalMetadataKeys(); - expect(result).toEqual(globalMetadata); - }); - }); -}); diff --git a/src/api/client/__tests__/Claims.ts b/src/api/client/__tests__/Claims.ts deleted file mode 100644 index 4760ae4dc0..0000000000 --- a/src/api/client/__tests__/Claims.ts +++ /dev/null @@ -1,948 +0,0 @@ -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { Claims } from '~/api/client/Claims'; -import { Context, PolymeshTransaction } from '~/internal'; -import { claimsGroupingQuery, claimsQuery, customClaimTypeQuery } from '~/middleware/queries'; -import { - Claim, - ClaimsGroupBy, - ClaimsOrderBy, - ClaimTypeEnum, - CustomClaimType as MiddlewareCustomClaimType, -} from '~/middleware/types'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { - ClaimData, - ClaimOperation, - ClaimTarget, - ClaimType, - IdentityWithClaims, - ResultSet, - Scope, - ScopeType, -} from '~/types'; -import { DEFAULT_GQL_PAGE_SIZE } from '~/utils/constants'; -import * as utilsConversionModule from '~/utils/conversion'; -import * as utilsInternalModule from '~/utils/internal'; - -jest.mock( - '~/api/entities/Identity', - require('~/testUtils/mocks/entities').mockIdentityModule('~/api/entities/Identity') -); -jest.mock( - '~/base/Procedure', - require('~/testUtils/mocks/procedure').mockProcedureModule('~/base/Procedure') -); - -describe('Claims Class', () => { - let context: Mocked; - let claims: Claims; - - beforeAll(() => { - dsMockUtils.initMocks(); - entityMockUtils.initMocks(); - procedureMockUtils.initMocks(); - }); - - beforeEach(() => { - context = dsMockUtils.getContextInstance(); - claims = new Claims(context); - }); - - afterEach(() => { - dsMockUtils.reset(); - entityMockUtils.reset(); - procedureMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - procedureMockUtils.cleanup(); - }); - - describe('method: getIssuedClaims', () => { - it('should return a list of issued claims', async () => { - const target = 'someDid'; - const getIdentityClaimsFromMiddleware: ResultSet = { - data: [ - { - target: entityMockUtils.getIdentityInstance({ did: target }), - issuer: entityMockUtils.getIdentityInstance({ did: 'otherDid' }), - issuedAt: new Date(), - lastUpdatedAt: new Date(), - expiry: null, - claim: { - type: ClaimType.Accredited, - scope: { type: ScopeType.Ticker, value: 'TICKER' }, - }, - }, - ], - next: new BigNumber(1), - count: new BigNumber(1), - }; - - dsMockUtils.configureMocks({ - contextOptions: { - getIdentityClaimsFromMiddleware, - }, - }); - - let result = await claims.getIssuedClaims(); - expect(result).toEqual(getIdentityClaimsFromMiddleware); - - result = await claims.getIssuedClaims({ target }); - expect(result).toEqual(getIdentityClaimsFromMiddleware); - }); - }); - - describe('method: getIdentitiesWithClaims', () => { - beforeAll(() => { - jest.useFakeTimers(); - jest.setSystemTime(new Date(2023, 4, 17)); - }); - - afterAll(() => { - jest.useRealTimers(); - }); - - it('should return a list of Identities with claims associated to them', async () => { - const targetDid = 'someTargetDid'; - const issuerDid = 'someIssuerDid'; - const date = 1589816265000; - const customerDueDiligenceType = ClaimTypeEnum.CustomerDueDiligence; - const cddId = 'someCddId'; - const claimData = { - type: ClaimTypeEnum.CustomerDueDiligence, - id: cddId, - }; - const claim = { - target: entityMockUtils.getIdentityInstance({ did: targetDid }), - issuer: entityMockUtils.getIdentityInstance({ did: issuerDid }), - issuedAt: new Date(date), - lastUpdatedAt: new Date(date), - }; - - const fakeClaims = [ - { - identity: entityMockUtils.getIdentityInstance({ did: targetDid }), - claims: [ - { - ...claim, - expiry: new Date(date), - claim: claimData, - }, - { - ...claim, - expiry: null, - claim: claimData, - }, - ], - }, - ]; - - const commonClaimData = { - targetId: targetDid, - issuerId: issuerDid, - issuanceDate: date, - lastUpdateDate: date, - }; - const claimsQueryResponse = { - nodes: [ - { - ...commonClaimData, - expiry: date, - type: customerDueDiligenceType, - cddId, - }, - { - ...commonClaimData, - expiry: null, - type: customerDueDiligenceType, - cddId, - }, - ], - }; - - dsMockUtils.configureMocks({ contextOptions: { withSigningManager: true } }); - - dsMockUtils.createApolloQueryMock( - claimsQuery({ - dids: [targetDid], - scope: undefined, - trustedClaimIssuers: [issuerDid], - claimTypes: [ClaimTypeEnum.CustomerDueDiligence], - includeExpired: false, - }), - { - claims: claimsQueryResponse, - } - ); - - let result = await claims.getIdentitiesWithClaims({ - targets: [targetDid], - trustedClaimIssuers: [issuerDid], - claimTypes: [ClaimType.CustomerDueDiligence], - includeExpired: false, - size: new BigNumber(1), - start: new BigNumber(0), - }); - - expect(JSON.stringify(result.data)).toBe(JSON.stringify(fakeClaims)); - expect(result.count).toEqual(new BigNumber(1)); - expect(result.next).toEqual(null); - - dsMockUtils.createApolloMultipleQueriesMock([ - { - query: claimsGroupingQuery({ - scope: undefined, - trustedClaimIssuers: undefined, - claimTypes: undefined, - includeExpired: true, - }), - returnData: { - claims: { - groupedAggregates: [ - { - keys: [targetDid], - }, - ], - }, - }, - }, - { - query: claimsQuery({ - dids: [targetDid], - scope: undefined, - trustedClaimIssuers: undefined, - claimTypes: undefined, - includeExpired: true, - }), - returnData: { - claims: claimsQueryResponse, - }, - }, - ]); - - result = await claims.getIdentitiesWithClaims(); - - expect(JSON.stringify(result.data)).toBe(JSON.stringify(fakeClaims)); - expect(result.count).toEqual(new BigNumber(1)); - expect(result.next).toEqual(null); - }); - - it('should return a list of Identities with claims associated to them filtered by scope', async () => { - const targetDid = 'someTargetDid'; - const issuerDid = 'someIssuerDid'; - const scope: Scope = { type: ScopeType.Ticker, value: 'someValue' }; - const date = 1589816265000; - const accreditedType = ClaimTypeEnum.Accredited; - const claimData = { - type: ClaimTypeEnum.Accredited, - scope, - }; - const claim = { - target: entityMockUtils.getIdentityInstance({ did: targetDid }), - issuer: entityMockUtils.getIdentityInstance({ did: issuerDid }), - issuedAt: new Date(date), - lastUpdatedAt: new Date(date), - }; - - const fakeClaims = [ - { - identity: entityMockUtils.getIdentityInstance({ did: targetDid }), - claims: [ - { - ...claim, - expiry: new Date(date), - claim: claimData, - }, - { - ...claim, - expiry: null, - claim: claimData, - }, - ], - }, - ]; - const commonClaimData = { - targetId: targetDid, - issuerId: issuerDid, - issuanceDate: date, - lastUpdateDate: date, - }; - const claimsQueryResponse = { - nodes: [ - { - ...commonClaimData, - expiry: date, - type: accreditedType, - scope: { type: 'Ticker', value: 'someValue' }, - }, - { - ...commonClaimData, - expiry: null, - type: accreditedType, - scope: { type: 'Ticker', value: 'someValue' }, - }, - ], - }; - - dsMockUtils.configureMocks({ contextOptions: { withSigningManager: true } }); - - dsMockUtils.createApolloQueryMock( - claimsQuery({ - dids: [targetDid], - scope: { type: 'Ticker', value: 'someValue' }, - trustedClaimIssuers: [issuerDid], - claimTypes: [ClaimTypeEnum.Accredited], - includeExpired: false, - }), - { - claims: claimsQueryResponse, - } - ); - - const result = await claims.getIdentitiesWithClaims({ - targets: [targetDid], - trustedClaimIssuers: [issuerDid], - scope, - claimTypes: [ClaimType.Accredited], - includeExpired: false, - size: new BigNumber(1), - start: new BigNumber(0), - }); - - expect(JSON.stringify(result.data)).toBe(JSON.stringify(fakeClaims)); - expect(result.count).toEqual(new BigNumber(1)); - expect(result.next).toBeNull(); - }); - }); - - describe('method: addClaims', () => { - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { - const targets: ClaimTarget[] = [ - { - target: 'someDid', - claim: { - type: ClaimType.Accredited, - scope: { type: ScopeType.Identity, value: 'someDid' }, - }, - }, - ]; - - const args = { claims: targets }; - - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith( - { args: { ...args, operation: ClaimOperation.Add }, transformer: undefined }, - context, - {} - ) - .mockResolvedValue(expectedTransaction); - - const tx = await claims.addClaims(args); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: editClaims', () => { - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { - const targets: ClaimTarget[] = [ - { - target: 'someDid', - claim: { - type: ClaimType.Accredited, - scope: { type: ScopeType.Identity, value: 'someDid' }, - }, - }, - ]; - - const args = { claims: targets }; - - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith( - { args: { ...args, operation: ClaimOperation.Edit }, transformer: undefined }, - context, - {} - ) - .mockResolvedValue(expectedTransaction); - - const tx = await claims.editClaims(args); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: revokeClaims', () => { - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { - const targets: ClaimTarget[] = [ - { - target: 'someDid', - claim: { - type: ClaimType.Accredited, - scope: { type: ScopeType.Identity, value: 'someDid' }, - }, - }, - ]; - - const args = { claims: targets }; - - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith( - { args: { ...args, operation: ClaimOperation.Revoke }, transformer: undefined }, - context, - {} - ) - .mockResolvedValue(expectedTransaction); - - const tx = await claims.revokeClaims(args); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: getCddClaims', () => { - afterAll(() => { - jest.restoreAllMocks(); - }); - it('should return a list of cdd claims', async () => { - const target = 'someTarget'; - jest.spyOn(utilsInternalModule, 'getDid').mockResolvedValue(target); - - const rawTarget = dsMockUtils.createMockIdentityId(target); - jest.spyOn(utilsConversionModule, 'stringToIdentityId').mockReturnValue(rawTarget); - - const claimIssuer = 'someClaimIssuer'; - const issuanceDate = new Date('2023/01/01'); - const lastUpdateDate = new Date('2023/06/01'); - const claim = { - type: ClaimType.CustomerDueDiligence, - id: 'someCddId', - }; - - /* eslint-disable @typescript-eslint/naming-convention */ - const rawIdentityClaim = { - claim_issuer: dsMockUtils.createMockIdentityId(claimIssuer), - issuance_date: dsMockUtils.createMockMoment(new BigNumber(issuanceDate.getTime())), - last_update_date: dsMockUtils.createMockMoment(new BigNumber(lastUpdateDate.getTime())), - expiry: dsMockUtils.createMockOption(), - claim: dsMockUtils.createMockClaim({ - CustomerDueDiligence: dsMockUtils.createMockCddId(claim.id), - }), - }; - /* eslint-enable @typescript-eslint/naming-convention */ - - jest.spyOn(utilsConversionModule, 'identityIdToString').mockReturnValue(claimIssuer); - dsMockUtils.createRpcMock('identity', 'validCDDClaims', { - returnValue: [rawIdentityClaim], - }); - - const mockResult = { - target: expect.objectContaining({ - did: target, - }), - issuer: expect.objectContaining({ - did: claimIssuer, - }), - issuedAt: issuanceDate, - lastUpdatedAt: lastUpdateDate, - expiry: null, - claim, - }; - let result = await claims.getCddClaims(); - - expect(result).toEqual([mockResult]); - - const expiry = new Date('2030/01/01'); - dsMockUtils.createRpcMock('identity', 'validCDDClaims', { - returnValue: [ - { - ...rawIdentityClaim, - expiry: dsMockUtils.createMockOption( - dsMockUtils.createMockMoment(new BigNumber(expiry.getTime())) - ), - }, - ], - }); - - result = await claims.getCddClaims({ target, includeExpired: false }); - - expect(result).toEqual([ - { - ...mockResult, - expiry, - }, - ]); - }); - }); - - describe('method: getClaimScopes', () => { - it('should return a list of scopes and tickers', async () => { - const target = 'someTarget'; - const someDid = 'someDid'; - const fakeClaimData = [ - { - claim: { - type: ClaimType.Jurisdiction, - scope: { - type: ScopeType.Identity, - value: someDid, - }, - }, - }, - { - claim: { - type: ClaimType.Jurisdiction, - scope: { - type: ScopeType.Ticker, - value: 'someTicker', - }, - }, - }, - ] as ClaimData[]; - - dsMockUtils.configureMocks({ - contextOptions: { - did: target, - getIdentityClaimsFromChain: fakeClaimData, - }, - }); - - let result = await claims.getClaimScopes({ target }); - - expect(result[0].ticker).toBeUndefined(); - expect(result[0].scope).toEqual({ type: ScopeType.Identity, value: someDid }); - - result = await claims.getClaimScopes(); - - expect(result.length).toEqual(2); - }); - }); - - describe('method: getTargetingClaims', () => { - beforeAll(() => { - jest.useFakeTimers(); - jest.setSystemTime(new Date(2023, 4, 17)); - }); - - afterAll(() => { - jest.useRealTimers(); - jest.restoreAllMocks(); - }); - - it('should return a list of claims issued with an Identity as target', async () => { - const did = 'someDid'; - const issuerDid = 'someIssuerDid'; - const date = 1589816265000; - const scope = { type: ScopeType.Custom, value: 'someValue' }; - const claim = { - target: entityMockUtils.getIdentityInstance({ did }), - issuer: entityMockUtils.getIdentityInstance({ did: issuerDid }), - issuedAt: new Date(date), - lastUpdatedAt: new Date(date), - }; - const fakeClaims: IdentityWithClaims[] = [ - { - identity: entityMockUtils.getIdentityInstance({ did }), - claims: [ - { - ...claim, - expiry: new Date(date), - claim: { - type: ClaimType.CustomerDueDiligence, - id: 'someCddId', - }, - }, - ], - }, - ]; - - const claimsQueryResponse = { - nodes: [ - { - targetId: did, - issuerId: issuerDid, - issuanceDate: date, - lastUpdateDate: date, - expiry: date, - type: ClaimTypeEnum.CustomerDueDiligence, - }, - ], - }; - - dsMockUtils.configureMocks({ contextOptions: { withSigningManager: true } }); - - when(jest.spyOn(utilsConversionModule, 'toIdentityWithClaimsArray')) - .calledWith(claimsQueryResponse.nodes as unknown as Claim[], context, 'issuerId') - .mockReturnValue(fakeClaims); - - dsMockUtils.createApolloQueryMock( - claimsQuery({ - dids: [did], - scope, - trustedClaimIssuers: [issuerDid], - includeExpired: false, - }), - { - claims: claimsQueryResponse, - } - ); - - let result = await claims.getTargetingClaims({ - target: did, - trustedClaimIssuers: [issuerDid], - scope, - includeExpired: false, - size: new BigNumber(1), - start: new BigNumber(0), - }); - - expect(result.data).toEqual(fakeClaims); - expect(result.count).toEqual(new BigNumber(1)); - expect(result.next).toEqual(null); - - dsMockUtils.createApolloMultipleQueriesMock([ - { - query: claimsGroupingQuery( - { - dids: ['someDid'], - scope: undefined, - includeExpired: true, - }, - ClaimsOrderBy.IssuerIdAsc, - ClaimsGroupBy.IssuerId - ), - returnData: { - claims: { - groupedAggregates: [ - { - keys: [issuerDid], - }, - ], - }, - }, - }, - { - query: claimsQuery({ - dids: ['someDid'], - scope: undefined, - trustedClaimIssuers: [issuerDid], - includeExpired: true, - }), - returnData: { - claims: claimsQueryResponse, - }, - }, - ]); - - result = await claims.getTargetingClaims(); - - expect(result.data).toEqual(fakeClaims); - expect(result.count).toEqual(new BigNumber(1)); - expect(result.next).toBeNull(); - }); - - it('should return a list of claims issued with an Identity as target from chain', async () => { - const target = 'someTarget'; - const issuer = 'someIssuer'; - const otherIssuer = 'otherIssuer'; - - const scope = { - type: ScopeType.Identity, - value: 'someIdentityScope', - }; - - const issuer1 = entityMockUtils.getIdentityInstance({ did: issuer }); - issuer1.isEqual = jest.fn(); - when(issuer1.isEqual).calledWith(issuer1).mockReturnValue(true); - const issuer2 = entityMockUtils.getIdentityInstance({ did: issuer }); - issuer2.isEqual = jest.fn(); - when(issuer2.isEqual).calledWith(issuer1).mockReturnValue(true); - const issuer3 = entityMockUtils.getIdentityInstance({ did: otherIssuer }); - issuer3.isEqual = jest.fn(); - when(issuer3.isEqual).calledWith(issuer3).mockReturnValue(true); - - const identityClaims: ClaimData[] = [ - { - target: entityMockUtils.getIdentityInstance({ did: target }), - issuer: issuer1, - issuedAt: new Date(), - lastUpdatedAt: new Date(), - expiry: null, - claim: { - type: ClaimType.Accredited, - scope, - }, - }, - { - target: entityMockUtils.getIdentityInstance({ did: target }), - issuer: issuer2, - issuedAt: new Date(), - lastUpdatedAt: new Date(), - expiry: null, - claim: { - type: ClaimType.Affiliate, - scope, - }, - }, - { - target: entityMockUtils.getIdentityInstance({ did: target }), - issuer: issuer3, - issuedAt: new Date(), - lastUpdatedAt: new Date(), - expiry: null, - claim: { - type: ClaimType.Accredited, - scope, - }, - }, - ]; - - dsMockUtils.configureMocks({ - contextOptions: { - middlewareAvailable: false, - getIdentityClaimsFromChain: identityClaims, - }, - }); - - let result = await claims.getTargetingClaims({ - target, - }); - - expect(result.data.length).toEqual(2); - expect(result.data[0].identity.did).toEqual(issuer); - expect(result.data[0].claims.length).toEqual(2); - expect(result.data[0].claims[0].claim).toEqual(identityClaims[0].claim); - expect(result.data[0].claims[1].claim).toEqual(identityClaims[1].claim); - expect(result.data[1].identity.did).toEqual(otherIssuer); - expect(result.data[1].claims.length).toEqual(1); - expect(result.data[1].claims[0].claim).toEqual(identityClaims[2].claim); - - result = await claims.getTargetingClaims({ - target, - trustedClaimIssuers: ['trusted'], - }); - - expect(result.data.length).toEqual(2); - }); - }); - - describe('method: registerCustomClaimType', () => { - it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { - const args = { - name: 'someClaimTypeName', - }; - - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const tx = await claims.registerCustomClaimType(args); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: getCustomClaimTypeByName', () => { - const name = 'custom-claim-type'; - const id = new BigNumber(12); - const rawId = dsMockUtils.createMockU32(id); - - beforeEach(() => { - jest.spyOn(utilsConversionModule, 'u32ToBigNumber').mockClear().mockReturnValue(id); - jest.spyOn(utilsConversionModule, 'bytesToString').mockClear().mockReturnValue(name); - }); - - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should fetch custom claim type by name', async () => { - dsMockUtils.createQueryMock('identity', 'customClaimsInverse', { - returnValue: dsMockUtils.createMockOption(dsMockUtils.createMockOption(rawId)), - }); - - const result = await claims.getCustomClaimTypeByName(name); - expect(result).toEqual({ id, name }); - }); - - it('should return null if custom claim type name does not exist', async () => { - dsMockUtils.createQueryMock('identity', 'customClaimsInverse', { - returnValue: dsMockUtils.createMockOption( - dsMockUtils.createMockOption(dsMockUtils.createMockOption()) - ), - }); - - const result = await claims.getCustomClaimTypeByName(name); - expect(result).toBeNull(); - }); - }); - - describe('method: getCustomClaimTypeById', () => { - const name = 'custom-claim-type'; - const id = new BigNumber(12); - const rawId = dsMockUtils.createMockU32(id); - - beforeEach(() => { - jest.spyOn(utilsConversionModule, 'bigNumberToU32').mockClear().mockReturnValue(rawId); - jest.spyOn(utilsConversionModule, 'bytesToString').mockClear().mockReturnValue(name); - }); - - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should fetch custom claim type by id', async () => { - dsMockUtils.createQueryMock('identity', 'customClaims', { - returnValue: dsMockUtils.createMockOption( - dsMockUtils.createMockOption(dsMockUtils.createMockBytes(name)) - ), - }); - - const result = await claims.getCustomClaimTypeById(id); - expect(result).toEqual({ id, name }); - }); - - it('should return null if custom claim type id does not exist', async () => { - dsMockUtils.createQueryMock('identity', 'customClaims', { - returnValue: dsMockUtils.createMockOption( - dsMockUtils.createMockOption(dsMockUtils.createMockOption()) - ), - }); - - const result = await claims.getCustomClaimTypeById(id); - expect(result).toBeNull(); - }); - }); - - describe('method: getAllCustomClaimTypes', () => { - beforeAll(() => { - jest.useFakeTimers(); - jest.setSystemTime(new Date(2023, 4, 17)); - }); - - afterAll(() => { - jest.useRealTimers(); - jest.restoreAllMocks(); - }); - - it('should return a list of CustomClaimType(s)', async () => { - const did = 'someDid'; - - const customClaimsTypeQueryResponse = { - nodes: [ - { - id: '1', - name: 'Some Claim Type', - identity: { - did, - }, - }, - ], - totalCount: 1, - }; - - const customClaimsTypeTransformed = [ - { - id: new BigNumber(1), - name: 'Some Claim Type', - did, - }, - ]; - - dsMockUtils.configureMocks({ contextOptions: { withSigningManager: true } }); - - when(jest.spyOn(utilsConversionModule, 'toCustomClaimTypeWithIdentity')) - .calledWith(customClaimsTypeQueryResponse.nodes as MiddlewareCustomClaimType[]) - .mockReturnValue(customClaimsTypeTransformed); - - dsMockUtils.createApolloQueryMock(customClaimTypeQuery(new BigNumber(1), new BigNumber(0)), { - customClaimTypes: customClaimsTypeQueryResponse, - }); - - const result = await claims.getAllCustomClaimTypes({ - size: new BigNumber(1), - start: new BigNumber(0), - }); - - expect(result.data).toEqual(customClaimsTypeTransformed); - expect(result.count).toEqual(new BigNumber(1)); - expect(result.next).toBeNull(); - }); - - it('should return a list of CustomClaimType(s) using default pagination', async () => { - const did = 'someDid'; - - const customClaimsTypeQueryResponse = { - nodes: [ - { - id: '1', - name: 'Some Claim Type', - identity: { - did, - }, - }, - ], - totalCount: 1, - }; - - const customClaimsTypeTransformed = [ - { - id: new BigNumber(1), - name: 'Some Claim Type', - did, - }, - ]; - - dsMockUtils.configureMocks({ contextOptions: { withSigningManager: true } }); - - when(jest.spyOn(utilsConversionModule, 'toCustomClaimTypeWithIdentity')) - .calledWith(customClaimsTypeQueryResponse.nodes as MiddlewareCustomClaimType[]) - .mockReturnValue(customClaimsTypeTransformed); - - dsMockUtils.createApolloQueryMock( - customClaimTypeQuery(new BigNumber(DEFAULT_GQL_PAGE_SIZE), new BigNumber(0)), - { - customClaimTypes: customClaimsTypeQueryResponse, - } - ); - - const result = await claims.getAllCustomClaimTypes(); - - expect(result.data).toEqual(customClaimsTypeTransformed); - expect(result.count).toEqual(new BigNumber(1)); - expect(result.next).toBeNull(); - }); - - it('should throw an error if Middleware is not available', async () => { - dsMockUtils.configureMocks({ contextOptions: { middlewareAvailable: false } }); - - await expect( - claims.getAllCustomClaimTypes({ size: new BigNumber(1), start: new BigNumber(0) }) - ).rejects.toThrow('Cannot perform this action without an active middleware V2 connection'); - }); - }); -}); diff --git a/src/api/client/__tests__/ConfidentialAccounts.ts b/src/api/client/__tests__/ConfidentialAccounts.ts index 2afa2cc1c6..9df9511c20 100644 --- a/src/api/client/__tests__/ConfidentialAccounts.ts +++ b/src/api/client/__tests__/ConfidentialAccounts.ts @@ -1,3 +1,4 @@ +import { ErrorCode } from '@polymeshassociation/polymesh-sdk/types'; import BigNumber from 'bignumber.js'; import { when } from 'jest-when'; @@ -5,17 +6,18 @@ import { ConfidentialAccounts } from '~/api/client/ConfidentialAccounts'; import { ConfidentialAccount, Context, PolymeshError, PolymeshTransaction } from '~/internal'; import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; import { Mocked } from '~/testUtils/types'; -import { ErrorCode } from '~/types'; jest.mock( - '~/api/entities/confidential/ConfidentialAccount', + '~/api/entities/ConfidentialAccount', require('~/testUtils/mocks/entities').mockConfidentialAccountModule( - '~/api/entities/confidential/ConfidentialAccount' + '~/api/entities/ConfidentialAccount' ) ); jest.mock( - '~/base/Procedure', - require('~/testUtils/mocks/procedure').mockProcedureModule('~/base/Procedure') + '~/base/ConfidentialProcedure', + require('~/testUtils/mocks/procedure').mockConfidentialProcedureModule( + '~/base/ConfidentialProcedure' + ) ); describe('ConfidentialAccounts Class', () => { diff --git a/src/api/client/__tests__/ConfidentialAssets.ts b/src/api/client/__tests__/ConfidentialAssets.ts index 39d778c5b8..e0ded02e5e 100644 --- a/src/api/client/__tests__/ConfidentialAssets.ts +++ b/src/api/client/__tests__/ConfidentialAssets.ts @@ -1,20 +1,22 @@ +import { ErrorCode } from '@polymeshassociation/polymesh-sdk/types'; import { when } from 'jest-when'; import { ConfidentialAssets } from '~/api/client/ConfidentialAssets'; import { ConfidentialAsset, Context, PolymeshError, PolymeshTransaction } from '~/internal'; import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; import { Mocked } from '~/testUtils/types'; -import { ErrorCode } from '~/types'; jest.mock( - '~/api/entities/confidential/ConfidentialAsset', + '~/api/entities/ConfidentialAsset', require('~/testUtils/mocks/entities').mockConfidentialAssetModule( - '~/api/entities/confidential/ConfidentialAsset' + '~/api/entities/ConfidentialAsset' ) ); jest.mock( - '~/base/Procedure', - require('~/testUtils/mocks/procedure').mockProcedureModule('~/base/Procedure') + '~/base/ConfidentialProcedure', + require('~/testUtils/mocks/procedure').mockConfidentialProcedureModule( + '~/base/ConfidentialProcedure' + ) ); describe('ConfidentialAssets Class', () => { diff --git a/src/api/client/__tests__/ConfidentialSettlements.ts b/src/api/client/__tests__/ConfidentialSettlements.ts index 56833b92d5..2276db4fbf 100644 --- a/src/api/client/__tests__/ConfidentialSettlements.ts +++ b/src/api/client/__tests__/ConfidentialSettlements.ts @@ -8,21 +8,23 @@ import { Mocked } from '~/testUtils/types'; import { ConfidentialVenue } from '~/types'; jest.mock( - '~/base/Procedure', - require('~/testUtils/mocks/procedure').mockProcedureModule('~/base/Procedure') + '~/base/ConfidentialProcedure', + require('~/testUtils/mocks/procedure').mockConfidentialProcedureModule( + '~/base/ConfidentialProcedure' + ) ); jest.mock( - '~/api/entities/confidential/ConfidentialVenue', + '~/api/entities/ConfidentialVenue', require('~/testUtils/mocks/entities').mockConfidentialVenueModule( - '~/api/entities/confidential/ConfidentialVenue' + '~/api/entities/ConfidentialVenue' ) ); jest.mock( - '~/api/entities/confidential/ConfidentialTransaction', + '~/api/entities/ConfidentialTransaction', require('~/testUtils/mocks/entities').mockConfidentialTransactionModule( - '~/api/entities/confidential/ConfidentialTransaction' + '~/api/entities/ConfidentialTransaction' ) ); diff --git a/src/api/client/__tests__/Identities.ts b/src/api/client/__tests__/Identities.ts deleted file mode 100644 index 0aea6c65f6..0000000000 --- a/src/api/client/__tests__/Identities.ts +++ /dev/null @@ -1,210 +0,0 @@ -import { when } from 'jest-when'; - -import { Identities } from '~/api/client/Identities'; -import { createPortfolioTransformer } from '~/api/entities/Venue'; -import { - ChildIdentity, - Context, - Identity, - NumberedPortfolio, - PolymeshTransaction, -} from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; - -jest.mock( - '~/api/entities/Identity', - require('~/testUtils/mocks/entities').mockIdentityModule('~/api/entities/Identity') -); -jest.mock( - '~/base/Procedure', - require('~/testUtils/mocks/procedure').mockProcedureModule('~/base/Procedure') -); - -describe('Identities Class', () => { - let context: Mocked; - let identities: Identities; - - beforeAll(() => { - dsMockUtils.initMocks(); - entityMockUtils.initMocks(); - procedureMockUtils.initMocks(); - }); - - beforeEach(() => { - context = dsMockUtils.getContextInstance(); - identities = new Identities(context); - }); - - afterEach(() => { - dsMockUtils.reset(); - entityMockUtils.reset(); - procedureMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - procedureMockUtils.cleanup(); - }); - - describe('method: getIdentity', () => { - it('should return an Identity object with the passed did', async () => { - const params = { did: 'testDid' }; - - const identity = new Identity(params, context); - context.getIdentity.mockResolvedValue(identity); - - const result = await identities.getIdentity(params); - - expect(result).toMatchObject(identity); - }); - }); - - describe('method: getChildIdentity', () => { - it('should return a ChildIdentity object with the passed did', async () => { - const params = { did: 'testDid' }; - - const childIdentity = new ChildIdentity(params, context); - context.getChildIdentity.mockResolvedValue(childIdentity); - - const result = await identities.getChildIdentity(params); - - expect(result).toMatchObject(childIdentity); - }); - }); - - describe('method: createChild', () => { - it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { - const args = { - secondaryKey: 'someChild', - }; - - const expectedTransaction = - 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const tx = await identities.createChild(args); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: registerIdentity', () => { - it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { - const args = { - targetAccount: 'someTarget', - }; - - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const tx = await identities.registerIdentity(args); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: createPortfolio', () => { - it('should prepare the procedure and return the resulting transaction', async () => { - const args = { name: 'someName' }; - - const expectedTransaction = - 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith( - { args: { names: [args.name] }, transformer: createPortfolioTransformer }, - context, - {} - ) - .mockResolvedValue(expectedTransaction); - - const tx = await identities.createPortfolio(args); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: createPortfolios', () => { - it('should prepare the procedure and return the resulting transaction', async () => { - const args = { names: ['someName'] }; - - const expectedTransaction = - 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const tx = await identities.createPortfolios(args); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: isIdentityValid', () => { - it('should return true if the supplied Identity exists', async () => { - const did = 'someDid'; - - const result = await identities.isIdentityValid({ - identity: entityMockUtils.getIdentityInstance({ did }), - }); - - expect(result).toBe(true); - }); - - it('should return false if the supplied Identity is invalid', async () => { - const did = 'someDid'; - entityMockUtils.configureMocks({ identityOptions: { exists: false } }); - - const result = await identities.isIdentityValid({ identity: did }); - - expect(result).toBe(false); - }); - }); - - describe('method: attestPrimaryKeyRotation', () => { - it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { - const args = { - targetAccount: 'someAccount', - identity: 'someDid', - expiry: new Date('01/01/2040'), - }; - - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const tx = await identities.attestPrimaryKeyRotation(args); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: rotatePrimaryKey', () => { - it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { - const args = { - targetAccount: 'someAccount', - expiry: new Date('01/01/2050'), - }; - - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const tx = await identities.rotatePrimaryKey(args); - - expect(tx).toBe(expectedTransaction); - }); - }); -}); diff --git a/src/api/client/__tests__/Network.ts b/src/api/client/__tests__/Network.ts deleted file mode 100644 index c1b1abfd18..0000000000 --- a/src/api/client/__tests__/Network.ts +++ /dev/null @@ -1,620 +0,0 @@ -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { Network } from '~/api/client/Network'; -import { Context, PolymeshError, PolymeshTransaction } from '~/internal'; -import { eventsByArgs, extrinsicByHash } from '~/middleware/queries'; -import { CallIdEnum, EventIdEnum, ModuleIdEnum } from '~/middleware/types'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { MockTxStatus } from '~/testUtils/mocks/dataSources'; -import { Mocked } from '~/testUtils/types'; -import { AccountBalance, ErrorCode, MiddlewareMetadata, TransactionPayload, TxTags } from '~/types'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/Account', - require('~/testUtils/mocks/entities').mockAccountModule('~/api/entities/Account') -); -jest.mock( - '~/base/Procedure', - require('~/testUtils/mocks/procedure').mockProcedureModule('~/base/Procedure') -); - -describe('Network Class', () => { - let context: Mocked; - let network: Network; - let stringToBlockHashSpy: jest.SpyInstance; - let balanceToBigNumberSpy: jest.SpyInstance; - let metadata: MiddlewareMetadata | null; - - beforeEach(async () => { - context = dsMockUtils.getContextInstance(); - network = new Network(context); - metadata = await context.getMiddlewareMetadata(); - }); - - beforeAll(() => { - dsMockUtils.initMocks(); - entityMockUtils.initMocks(); - procedureMockUtils.initMocks(); - stringToBlockHashSpy = jest.spyOn(utilsConversionModule, 'stringToBlockHash'); - balanceToBigNumberSpy = jest.spyOn(utilsConversionModule, 'balanceToBigNumber'); - }); - - afterEach(() => { - dsMockUtils.reset(); - entityMockUtils.reset(); - procedureMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - procedureMockUtils.cleanup(); - }); - - describe('method: getLatestBlock', () => { - it('should return the latest block number', async () => { - const blockNumber = new BigNumber(100); - - dsMockUtils.configureMocks({ - contextOptions: { withSigningManager: true, latestBlock: blockNumber }, - }); - - const result = await network.getLatestBlock(); - - expect(result).toEqual(blockNumber); - }); - }); - - describe('method: getVersion', () => { - it('should return the network version', async () => { - const networkVersion = '1.0.0'; - - dsMockUtils.configureMocks({ contextOptions: { withSigningManager: true, networkVersion } }); - - const result = await network.getVersion(); - - expect(result).toEqual(networkVersion); - }); - }); - - describe('method: getSs58Format', () => { - it("should return the chain's SS58 format", () => { - const ss58Format = new BigNumber(42); - - dsMockUtils.configureMocks({ contextOptions: { ss58Format } }); - - const result = network.getSs58Format(); - - expect(result).toEqual(ss58Format); - }); - }); - - describe('method: getNetworkProperties', () => { - it('should return current network information', async () => { - const name = 'someName'; - const version = new BigNumber(1); - const fakeResult = { - name, - version, - }; - - dsMockUtils.setRuntimeVersion({ specVersion: dsMockUtils.createMockU32(version) }); - dsMockUtils - .createRpcMock('system', 'chain') - .mockResolvedValue(dsMockUtils.createMockText(name)); - - const result = await network.getNetworkProperties(); - expect(result).toEqual(fakeResult); - }); - }); - - describe('method: getProtocolFees', () => { - it('should return the fees associated to the supplied transaction', async () => { - const mockResult = [ - { - tag: TxTags.asset.CreateAsset, - fees: new BigNumber(500), - }, - ]; - dsMockUtils.configureMocks({ - contextOptions: { - transactionFees: mockResult, - }, - }); - const result = await network.getProtocolFees({ tags: [TxTags.asset.CreateAsset] }); - - expect(result).toEqual(mockResult); - }); - }); - - describe('method: getTreasuryAccount', () => { - it('should return the treasury Account', async () => { - const treasuryAddress = '5EYCAe5ijAx5xEfZdpCna3grUpY1M9M5vLUH5vpmwV1EnaYR'; - - expect(network.getTreasuryAccount().address).toEqual(treasuryAddress); - }); - }); - - describe('method: getTreasuryBalance', () => { - let fakeBalance: AccountBalance; - - beforeAll(() => { - fakeBalance = { - free: new BigNumber(500000), - locked: new BigNumber(0), - total: new BigNumber(500000), - }; - entityMockUtils.configureMocks({ accountOptions: { getBalance: fakeBalance } }); - }); - - it('should return the POLYX balance of the treasury Account', async () => { - const result = await network.getTreasuryBalance(); - expect(result).toEqual(fakeBalance.free); - }); - - it('should allow subscription', async () => { - const unsubCallback = 'unsubCallback'; - - entityMockUtils.configureMocks({ - accountOptions: { - getBalance: jest.fn().mockImplementation(async cbFunc => { - cbFunc(fakeBalance); - return unsubCallback; - }), - }, - }); - - const callback = jest.fn(); - const result = await network.getTreasuryBalance(callback); - expect(result).toEqual(unsubCallback); - expect(callback).toBeCalledWith(fakeBalance.free); - }); - }); - - describe('method: transferPolyx', () => { - it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { - const args = { - to: 'someAccount', - amount: new BigNumber(50), - }; - - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const tx = await network.transferPolyx(args); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: getEventByIndexedArgs', () => { - const variables = { - moduleId: ModuleIdEnum.Asset, - eventId: EventIdEnum.AssetCreated, - }; - - it('should return a single event', async () => { - const blockNumber = new BigNumber(1234); - const blockDate = new Date('4/14/2020'); - const eventIdx = new BigNumber(1); - const blockHash = 'blockHash'; - const fakeResult = { blockNumber, blockDate, blockHash, eventIndex: eventIdx }; - - dsMockUtils.configureMocks({ contextOptions: { withSigningManager: true } }); - dsMockUtils.createApolloQueryMock( - eventsByArgs( - { - ...variables, - eventArg0: undefined, - eventArg1: undefined, - eventArg2: undefined, - }, - new BigNumber(1) - ), - { - events: { - nodes: [ - { - block: { - blockId: blockNumber.toNumber(), - datetime: blockDate, - hash: blockHash, - }, - eventIdx: eventIdx.toNumber(), - }, - ], - }, - } - ); - - const result = await network.getEventByIndexedArgs(variables); - expect(result).toEqual(fakeResult); - }); - - it('should return null if the query result is empty', async () => { - dsMockUtils.createApolloQueryMock( - eventsByArgs( - { - ...variables, - eventArg0: 'someDid', - eventArg1: undefined, - eventArg2: undefined, - }, - new BigNumber(1) - ), - { - events: { - nodes: [], - }, - } - ); - const result = await network.getEventByIndexedArgs({ ...variables, eventArg0: 'someDid' }); - expect(result).toBeNull(); - }); - }); - - describe('method: getEventsByIndexedArgs', () => { - const variables = { - moduleId: ModuleIdEnum.Asset, - eventId: EventIdEnum.AssetCreated, - }; - - it('should return a list of events', async () => { - const blockNumber = new BigNumber(1234); - const blockDate = new Date('4/14/2020'); - const eventIdx = new BigNumber(1); - const blockHash = 'blockHash'; - const start = new BigNumber(0); - const size = new BigNumber(1); - const fakeResult = [{ blockNumber, blockHash, blockDate, eventIndex: eventIdx }]; - - dsMockUtils.configureMocks({ contextOptions: { withSigningManager: true } }); - - dsMockUtils.createApolloQueryMock( - eventsByArgs( - { - ...variables, - eventArg0: undefined, - eventArg1: undefined, - eventArg2: undefined, - }, - size, - start - ), - { - events: { - nodes: [ - { - block: { - blockId: blockNumber.toNumber(), - datetime: blockDate, - hash: blockHash, - }, - eventIdx: eventIdx.toNumber(), - }, - ], - }, - } - ); - - const result = await network.getEventsByIndexedArgs({ - ...variables, - start, - size, - }); - expect(result).toEqual(fakeResult); - }); - - it('should return null if the query result is empty', async () => { - dsMockUtils.createApolloQueryMock( - eventsByArgs({ - ...variables, - eventArg0: 'someDid', - eventArg1: undefined, - eventArg2: undefined, - }), - { - events: { nodes: [] }, - } - ); - const result = await network.getEventsByIndexedArgs({ - ...variables, - eventArg0: 'someDid', - }); - expect(result).toBeNull(); - }); - }); - - describe('method: getTransactionByHash', () => { - const variable = { txHash: 'someHash' }; - let getBlockMock: jest.Mock; - let queryInfoMock: jest.Mock; - - beforeEach(() => { - getBlockMock = dsMockUtils.createRpcMock('chain', 'getBlock'); - queryInfoMock = dsMockUtils.createRpcMock('payment', 'queryInfo'); - }); - - it('should return a transaction', async () => { - const blockNumber = new BigNumber(1); - const blockHash = 'blockHash'; - const blockDate = new Date('2022-12-25T00:00:00Z'); - const extrinsicIdx = new BigNumber(0); - const address = 'someAddress'; - const specVersionId = new BigNumber(2006); - const gasFees = new BigNumber(10); - const protocolFees = new BigNumber(1000); - - dsMockUtils.configureMocks({ - contextOptions: { - withSigningManager: true, - transactionFees: [ - { - tag: TxTags.asset.RegisterTicker, - fees: protocolFees, - }, - ], - }, - }); - - dsMockUtils.createApolloQueryMock(extrinsicByHash({ extrinsicHash: variable.txHash }), { - extrinsics: { - nodes: [ - { - moduleId: ModuleIdEnum.Asset, - callId: CallIdEnum.RegisterTicker, - extrinsicIdx: extrinsicIdx.toNumber(), - specVersionId: specVersionId.toNumber(), - paramsTxt: '[]', - address, - success: 0, - block: { - blockId: blockNumber.toNumber(), - hash: blockHash, - datetime: blockDate.toISOString().replace('Z', ''), - }, - }, - ], - }, - }); - - const rawBlockHash = dsMockUtils.createMockBlockHash(blockHash); - - when(stringToBlockHashSpy).calledWith(blockHash, context).mockReturnValue(rawBlockHash); - - when(getBlockMock) - .calledWith(rawBlockHash) - .mockResolvedValue( - dsMockUtils.createMockSignedBlock({ - block: { - header: undefined, - extrinsics: [ - { - toHex: jest.fn().mockImplementation(() => 'hex'), - }, - ], - }, - }) - ); - - const rawGasFees = dsMockUtils.createMockBalance(gasFees); - - when(balanceToBigNumberSpy).calledWith(rawGasFees).mockReturnValue(gasFees); - - when(queryInfoMock) - .calledWith('hex', rawBlockHash) - .mockResolvedValue( - dsMockUtils.createMockRuntimeDispatchInfo({ - partialFee: rawGasFees, - }) - ); - - let result = await network.getTransactionByHash(variable); - expect(result).toEqual({ - blockNumber, - blockHash, - blockDate, - extrinsicIdx, - address, - nonce: null, - txTag: 'asset.registerTicker', - params: [], - success: false, - specVersionId, - extrinsicHash: undefined, - fee: { - gas: gasFees, - protocol: protocolFees, - total: gasFees.plus(protocolFees), - }, - }); - - dsMockUtils.createApolloQueryMock(extrinsicByHash({ extrinsicHash: variable.txHash }), { - extrinsics: { - nodes: [ - { - moduleId: ModuleIdEnum.Asset, - callId: CallIdEnum.RegisterTicker, - extrinsicIdx, - specVersionId, - paramsTxt: '[]', - nonce: 12345, - address: null, - success: 0, - block: { - blockId: blockNumber.toNumber(), - hash: blockHash, - datetime: blockDate.toISOString().replace('Z', ''), - }, - }, - ], - }, - }); - - result = await network.getTransactionByHash(variable); - expect(result).toEqual({ - blockNumber, - blockHash, - blockDate, - extrinsicIdx, - address: null, - nonce: new BigNumber(12345), - txTag: 'asset.registerTicker', - params: [], - success: false, - specVersionId, - extrinsicHash: undefined, - fee: { - gas: gasFees, - protocol: protocolFees, - total: gasFees.plus(protocolFees), - }, - }); - }); - - it('should return null if the query result is empty', async () => { - dsMockUtils.createApolloQueryMock( - extrinsicByHash({ - extrinsicHash: variable.txHash, - }), - { extrinsics: { nodes: [] } } - ); - const result = await network.getTransactionByHash(variable); - expect(result).toBeNull(); - }); - }); - - describe('method: getMiddlewareMetadata', () => { - it('should return the middleware metadata', async () => { - const result = await network.getMiddlewareMetadata(); - expect(result).toEqual(metadata); - }); - }); - - describe('method: getMiddlewareLag', () => { - it('should return the number of blocks by which middleware is lagged', async () => { - dsMockUtils.configureMocks({ - contextOptions: { - latestBlock: new BigNumber(10000), - }, - }); - - let result = await network.getMiddlewareLag(); - expect(result).toEqual(new BigNumber(0)); - - dsMockUtils.configureMocks({ - contextOptions: { - latestBlock: new BigNumber(10034), - }, - }); - - result = await network.getMiddlewareLag(); - expect(result).toEqual(new BigNumber(34)); - - dsMockUtils.configureMocks({ - contextOptions: { - latestBlock: new BigNumber(10000), - getMiddlewareMetadata: undefined, - }, - }); - result = await network.getMiddlewareLag(); - expect(result).toEqual(new BigNumber(10000)); - }); - }); - - describe('method: submitTransaction', () => { - beforeEach(() => { - dsMockUtils.configureMocks(); - }); - - const mockPayload = { - payload: {}, - rawPayload: {}, - method: '0x01', - metadata: {}, - } as unknown as TransactionPayload; - - it('should submit the transaction to the chain', async () => { - const transaction = dsMockUtils.createTxMock('staking', 'bond', { - autoResolve: MockTxStatus.Succeeded, - }); - - // eslint-disable-next-line @typescript-eslint/no-explicit-any - (context.polymeshApi as any).tx = jest.fn().mockReturnValue(transaction); - - const signature = '0x01'; - await network.submitTransaction(mockPayload, signature); - }); - - it('should handle non prefixed hex strings', async () => { - const transaction = dsMockUtils.createTxMock('asset', 'registerTicker', { - autoResolve: MockTxStatus.Succeeded, - }); - - // eslint-disable-next-line @typescript-eslint/no-explicit-any - (context.polymeshApi as any).tx = jest.fn().mockReturnValue(transaction); - - const signature = '01'; - - await expect(network.submitTransaction(mockPayload, signature)).resolves.not.toThrow(); - }); - - it('should throw an error if the status is rejected', async () => { - const transaction = dsMockUtils.createTxMock('asset', 'registerTicker', { - autoResolve: false, - }); - - // eslint-disable-next-line @typescript-eslint/no-explicit-any - (context.polymeshApi as any).tx = jest.fn().mockReturnValue(transaction); - - const signature = '0x01'; - - const submitPromise = network.submitTransaction(mockPayload, signature); - - dsMockUtils.updateTxStatus(transaction, dsMockUtils.MockTxStatus.Failed); - - await expect(submitPromise).rejects.toThrow(); - }); - - it('should throw an error if there is an error submitting', async () => { - const transaction = dsMockUtils.createTxMock('asset', 'registerTicker', { - autoResolve: false, - }); - - // eslint-disable-next-line @typescript-eslint/no-explicit-any - (context.polymeshApi as any).tx = jest.fn().mockReturnValue(transaction); - - const signature = '0x01'; - - const submitPromise = network.submitTransaction(mockPayload, signature); - - dsMockUtils.updateTxStatus(transaction, dsMockUtils.MockTxStatus.Aborted); - - await expect(submitPromise).rejects.toThrow(); - }); - - it("should throw an error if signature isn't hex encoded", async () => { - const transaction = dsMockUtils.createTxMock('asset', 'registerTicker', { - autoResolve: false, - }); - - // eslint-disable-next-line @typescript-eslint/no-explicit-any - (context.polymeshApi as any).tx = jest.fn().mockReturnValue(transaction); - - const signature = 'xyz'; - - const expectedError = new PolymeshError({ - code: ErrorCode.ValidationError, - message: '`signature` should be a hex encoded string', - }); - - await expect(network.submitTransaction(mockPayload, signature)).rejects.toThrow( - expectedError - ); - }); - }); -}); diff --git a/src/api/client/__tests__/Polymesh.ts b/src/api/client/__tests__/Polymesh.ts index 73d8d6fc48..92d6735912 100644 --- a/src/api/client/__tests__/Polymesh.ts +++ b/src/api/client/__tests__/Polymesh.ts @@ -1,49 +1,29 @@ +import { ErrorCode } from '@polymeshassociation/polymesh-sdk/types'; +import * as internalUtils from '@polymeshassociation/polymesh-sdk/utils/internal'; import { SigningManager } from '@polymeshassociation/signing-manager-types'; -import { when } from 'jest-when'; -import { Polymesh } from '~/api/client/Polymesh'; -import { PolymeshError, PolymeshTransactionBatch } from '~/internal'; +import { ConfidentialPolymesh } from '~/api/client/Polymesh'; +import { PolymeshError } from '~/internal'; import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { ErrorCode, TransactionArray } from '~/types'; import { SUPPORTED_NODE_VERSION_RANGE } from '~/utils/constants'; -import * as internalUtils from '~/utils/internal'; jest.mock( '@polkadot/api', require('~/testUtils/mocks/dataSources').mockPolkadotModule('@polkadot/api') ); -jest.mock( - '~/base/Context', - require('~/testUtils/mocks/dataSources').mockContextModule('~/base/Context') -); jest.mock( '@apollo/client/core', require('~/testUtils/mocks/dataSources').mockApolloModule('@apollo/client/core') ); + jest.mock( - '~/api/entities/TickerReservation', - require('~/testUtils/mocks/entities').mockTickerReservationModule( - '~/api/entities/TickerReservation' + '@polymeshassociation/polymesh-sdk/base/Context', + require('~/testUtils/mocks/dataSources').mockContextModule( + '@polymeshassociation/polymesh-sdk/base/Context' ) ); -jest.mock( - '~/api/entities/Identity', - require('~/testUtils/mocks/entities').mockIdentityModule('~/api/entities/Identity') -); -jest.mock( - '~/api/entities/Account', - require('~/testUtils/mocks/entities').mockAccountModule('~/api/entities/Account') -); -jest.mock( - '~/base/Procedure', - require('~/testUtils/mocks/procedure').mockProcedureModule('~/base/Procedure') -); -jest.mock( - '~/api/entities/Asset/Fungible', - require('~/testUtils/mocks/entities').mockFungibleAssetModule('~/api/entities/Asset/Fungible') -); -describe('Polymesh Class', () => { +describe('ConfidentialPolymesh Class', () => { let versionSpy: jest.SpyInstance; beforeEach(() => { versionSpy = jest @@ -75,18 +55,18 @@ describe('Polymesh Class', () => { describe('method: connect', () => { it('should instantiate Context and return a Polymesh instance', async () => { - const polymesh = await Polymesh.connect({ + const polymesh = await ConfidentialPolymesh.connect({ nodeUrl: 'wss://some.url', }); - expect(polymesh instanceof Polymesh).toBe(true); + expect(polymesh instanceof ConfidentialPolymesh).toBe(true); }); it('should instantiate Context with a Signing Manager and return a Polymesh instance', async () => { const signingManager = 'signingManager' as unknown as SigningManager; const createMock = dsMockUtils.getContextCreateMock(); - await Polymesh.connect({ + await ConfidentialPolymesh.connect({ nodeUrl: 'wss://some.url', signingManager, }); @@ -107,7 +87,7 @@ describe('Polymesh Class', () => { key: '', }; - await Polymesh.connect({ + await ConfidentialPolymesh.connect({ nodeUrl: 'wss://some.url', middlewareV2, }); @@ -115,7 +95,7 @@ describe('Polymesh Class', () => { expect(createMock).toHaveBeenCalledTimes(1); }); - it('should instantiate Context with Polkadot config and return Polymesh instance', async () => { + it('should instantiate Context with Polkadot config and return ConfidentialPolymesh instance', async () => { const createMock = dsMockUtils.getContextCreateMock(); const metadata = { @@ -126,7 +106,7 @@ describe('Polymesh Class', () => { metadata, }; - await Polymesh.connect({ + await ConfidentialPolymesh.connect({ nodeUrl: 'wss://some.url', polkadot, }); @@ -145,7 +125,7 @@ describe('Polymesh Class', () => { }); await expect( - Polymesh.connect({ + ConfidentialPolymesh.connect({ nodeUrl: 'wss://some.url', }) ).rejects.toThrow(error); @@ -161,7 +141,7 @@ describe('Polymesh Class', () => { }); return expect( - Polymesh.connect({ + ConfidentialPolymesh.connect({ nodeUrl: 'wss://some.url', }) ).rejects.toThrowError(error); @@ -182,7 +162,7 @@ describe('Polymesh Class', () => { dsMockUtils.getContextCreateMock().mockResolvedValue(context); return expect( - Polymesh.connect({ + ConfidentialPolymesh.connect({ nodeUrl: 'wss://some.url', middlewareV2, }) @@ -196,7 +176,7 @@ describe('Polymesh Class', () => { jest.spyOn(context.polymeshApi.genesisHash, 'toString').mockReturnValue(genesisHash); dsMockUtils.getContextCreateMock().mockResolvedValue(context); - const connection = Polymesh.connect({ + const connection = ConfidentialPolymesh.connect({ nodeUrl: 'wss://some.url', middlewareV2: { link: 'someLink', @@ -219,7 +199,7 @@ describe('Polymesh Class', () => { it('should throw if Context fails in the connection process', async () => { dsMockUtils.throwOnApiCreation(); const nodeUrl = 'wss://some.url'; - const polymeshApiPromise = Polymesh.connect({ + const polymeshApiPromise = ConfidentialPolymesh.connect({ nodeUrl, }); @@ -232,7 +212,7 @@ describe('Polymesh Class', () => { dsMockUtils.throwOnApiCreation(new Error()); const nodeUrl = 'wss://some.url'; - const polymeshApiPromise = Polymesh.connect({ + const polymeshApiPromise = ConfidentialPolymesh.connect({ nodeUrl, }); @@ -244,7 +224,7 @@ describe('Polymesh Class', () => { it('should throw if Context create method fails', () => { dsMockUtils.throwOnContextCreation(); const nodeUrl = 'wss://some.url'; - const polymeshApiPromise = Polymesh.connect({ + const polymeshApiPromise = ConfidentialPolymesh.connect({ nodeUrl, }); @@ -253,149 +233,4 @@ describe('Polymesh Class', () => { ); }); }); - - describe('method: getSigningIdentity', () => { - it('should return the signing Identity', async () => { - const polymesh = await Polymesh.connect({ - nodeUrl: 'wss://some.url', - signingManager: 'signingManager' as unknown as SigningManager, - }); - - const context = dsMockUtils.getContextInstance(); - const [result, signingIdentity] = await Promise.all([ - polymesh.getSigningIdentity(), - context.getSigningIdentity(), - ]); - - expect(result).toEqual(signingIdentity); - }); - }); - - describe('method: onConnectionError', () => { - it('should call the supplied listener when the event is emitted and return an unsubscribe callback', async () => { - const polkadot = dsMockUtils.getApiInstance(); - - const polymesh = await Polymesh.connect({ - nodeUrl: 'wss://some.url', - }); - - const callback = jest.fn(); - - const unsub = polymesh.onConnectionError(callback); - - polkadot.emit('error'); - polkadot.emit('disconnected'); - - unsub(); - - polkadot.emit('error'); - - expect(callback).toHaveBeenCalledTimes(1); - }); - }); - - describe('method: onDisconnect', () => { - it('should call the supplied listener when the event is emitted and return an unsubscribe callback', async () => { - const polkadot = dsMockUtils.getApiInstance(); - - const polymesh = await Polymesh.connect({ - nodeUrl: 'wss://some.url', - }); - - const callback = jest.fn(); - - const unsub = polymesh.onDisconnect(callback); - - polkadot.emit('disconnected'); - polkadot.emit('error'); - - unsub(); - - polkadot.emit('disconnected'); - - expect(callback).toHaveBeenCalledTimes(1); - }); - }); - - describe('method: disconnect', () => { - it('should call the underlying disconnect function', async () => { - const polymesh = await Polymesh.connect({ - nodeUrl: 'wss://some.url', - middlewareV2: { - link: 'someLink', - key: '', - }, - }); - - await polymesh.disconnect(); - expect(dsMockUtils.getContextInstance().disconnect).toHaveBeenCalledTimes(1); - }); - }); - - describe('method: setSigningAccount', () => { - it('should call the underlying setSigningAccount function', async () => { - const polymesh = await Polymesh.connect({ - nodeUrl: 'wss://some.url', - signingManager: 'signingManager' as unknown as SigningManager, - middlewareV2: { - link: 'someLink', - key: '', - }, - }); - - const address = 'address'; - - await polymesh.setSigningAccount(address); - expect(dsMockUtils.getContextInstance().setSigningAddress).toHaveBeenCalledWith(address); - }); - }); - - describe('method: setSigningManager', () => { - it('should call the underlying setSigningManager function', async () => { - const polymesh = await Polymesh.connect({ - nodeUrl: 'wss://some.url', - signingManager: 'signingManager' as unknown as SigningManager, - middlewareV2: { - link: 'someLink', - key: '', - }, - }); - - const signingManager = 'manager' as unknown as SigningManager; - - await polymesh.setSigningManager(signingManager); - expect(dsMockUtils.getContextInstance().setSigningManager).toHaveBeenCalledWith( - signingManager - ); - }); - }); - - describe('method: createTransactionBatch', () => { - it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { - const polymesh = await Polymesh.connect({ - nodeUrl: 'wss://some.url', - signingManager: 'signingManager' as unknown as SigningManager, - middlewareV2: { - link: 'someLink', - key: '', - }, - }); - const context = dsMockUtils.getContextInstance(); - - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransactionBatch< - [void, void] - >; - const transactions = ['foo', 'bar', 'baz'] as unknown as TransactionArray<[void, void]>; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args: { transactions }, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const tx = await polymesh.createTransactionBatch({ - transactions, - }); - - expect(tx).toBe(expectedTransaction); - }); - }); }); diff --git a/src/api/client/__tests__/Settlements.ts b/src/api/client/__tests__/Settlements.ts deleted file mode 100644 index 4a2d10a910..0000000000 --- a/src/api/client/__tests__/Settlements.ts +++ /dev/null @@ -1,183 +0,0 @@ -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { Settlements } from '~/api/client/Settlements'; -import { addInstructionTransformer, Context, PolymeshTransaction, Venue } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { Instruction, InstructionAffirmationOperation, VenueType } from '~/types'; - -jest.mock( - '~/api/entities/Venue', - require('~/testUtils/mocks/entities').mockVenueModule('~/api/entities/Venue') -); - -jest.mock( - '~/api/entities/Instruction', - require('~/testUtils/mocks/entities').mockInstructionModule('~/api/entities/Instruction') -); - -jest.mock( - '~/base/Procedure', - require('~/testUtils/mocks/procedure').mockProcedureModule('~/base/Procedure') -); - -describe('Settlements Class', () => { - let context: Mocked; - let settlements: Settlements; - - beforeAll(() => { - dsMockUtils.initMocks(); - entityMockUtils.initMocks(); - procedureMockUtils.initMocks(); - }); - - beforeEach(() => { - context = dsMockUtils.getContextInstance(); - settlements = new Settlements(context); - }); - - afterEach(() => { - dsMockUtils.reset(); - entityMockUtils.reset(); - procedureMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - procedureMockUtils.cleanup(); - }); - - describe('method: getVenue', () => { - it('should return a Venue by its id', async () => { - const venueId = new BigNumber(1); - - entityMockUtils.configureMocks({ - venueOptions: { exists: true }, - }); - - const result = await settlements.getVenue({ id: venueId }); - - expect(result.id).toEqual(venueId); - }); - - it('should throw if the Venue does not exist', async () => { - const venueId = new BigNumber(1); - - entityMockUtils.configureMocks({ - venueOptions: { exists: false }, - }); - - return expect(settlements.getVenue({ id: venueId })).rejects.toThrow( - "The Venue doesn't exist" - ); - }); - }); - - describe('method: getInstruction', () => { - it('should return an Instruction by its id', async () => { - const instructionId = new BigNumber(1); - - entityMockUtils.configureMocks({ - instructionOptions: { exists: true }, - }); - - const result = await settlements.getInstruction({ id: instructionId }); - - expect(result.id).toEqual(instructionId); - }); - - it('should throw if the Instruction does not exist', async () => { - const instructionId = new BigNumber(1); - - entityMockUtils.configureMocks({ - instructionOptions: { exists: false }, - }); - - return expect(settlements.getInstruction({ id: instructionId })).rejects.toThrow( - "The Instruction doesn't exist" - ); - }); - }); - - describe('method: createVenue', () => { - it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { - const args = { - description: 'description', - type: VenueType.Distribution, - }; - - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const tx = await settlements.createVenue(args); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: addInstruction', () => { - it('should prepare the procedure and return the resulting transaction', async () => { - const venueId = new BigNumber(1); - const legs = [ - { - from: 'someDid', - to: 'anotherDid', - amount: new BigNumber(1000), - asset: 'SOME_ASSET', - }, - { - from: 'anotherDid', - to: 'aThirdDid', - amount: new BigNumber(100), - asset: 'ANOTHER_ASSET', - }, - ]; - - const tradeDate = new Date(new Date().getTime() + 24 * 60 * 60 * 1000); - const endBlock = new BigNumber(10000); - - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith( - { - args: { instructions: [{ legs, tradeDate, endBlock }], venueId }, - transformer: addInstructionTransformer, - }, - context, - {} - ) - .mockResolvedValue(expectedTransaction); - - const tx = await settlements.addInstruction({ venueId, legs, tradeDate, endBlock }); - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: affirmInstruction', () => { - it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { - const instructionId = new BigNumber(1); - - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith( - { - args: { id: instructionId, operation: InstructionAffirmationOperation.Affirm }, - transformer: undefined, - }, - context, - {} - ) - .mockResolvedValue(expectedTransaction); - - const tx = await settlements.affirmInstruction({ id: instructionId }); - - expect(tx).toBe(expectedTransaction); - }); - }); -}); diff --git a/src/api/entities/Account/MultiSig/index.ts b/src/api/entities/Account/MultiSig/index.ts deleted file mode 100644 index 7530dcbeb1..0000000000 --- a/src/api/entities/Account/MultiSig/index.ts +++ /dev/null @@ -1,148 +0,0 @@ -import BigNumber from 'bignumber.js'; - -import { UniqueIdentifiers } from '~/api/entities/Account'; -import { MultiSigProposal } from '~/api/entities/MultiSigProposal'; -import { Account, Context, Identity, modifyMultiSig, PolymeshError } from '~/internal'; -import { ErrorCode, ModifyMultiSigParams, MultiSigDetails, ProcedureMethod } from '~/types'; -import { - addressToKey, - identityIdToString, - signatoryToSignerValue, - signerValueToSigner, - stringToAccountId, - u64ToBigNumber, -} from '~/utils/conversion'; -import { createProcedureMethod } from '~/utils/internal'; - -/** - * Represents a MultiSig Account. A MultiSig Account is composed of one or more signing Accounts. In order to submit a transaction, a specific amount of those signing Accounts must approve it first - */ -export class MultiSig extends Account { - /** - * @hidden - */ - public constructor(identifiers: UniqueIdentifiers, context: Context) { - super(identifiers, context); - this.modify = createProcedureMethod( - { - getProcedureAndArgs: modifyArgs => [modifyMultiSig, { multiSig: this, ...modifyArgs }], - }, - context - ); - } - - /** - * Return details about this MultiSig such as the signing Accounts and the required number of signatures to execute a MultiSigProposal - */ - public async details(): Promise { - const { - context: { - polymeshApi: { - query: { multiSig }, - }, - }, - context, - address, - } = this; - - const rawAddress = stringToAccountId(address, context); - const [rawSigners, rawSignersRequired] = await Promise.all([ - multiSig.multiSigSigners.entries(rawAddress), - multiSig.multiSigSignsRequired(rawAddress), - ]); - const signers = rawSigners.map( - ([ - { - args: [, signatory], - }, - ]) => { - return signerValueToSigner(signatoryToSignerValue(signatory), context); - } - ); - const requiredSignatures = u64ToBigNumber(rawSignersRequired); - - return { signers, requiredSignatures }; - } - - /** - * Given an ID, fetch a { @link api/entities/MultiSigProposal!MultiSigProposal } for this MultiSig - * - * @throws if the MultiSigProposal is not found - */ - public async getProposal(args: { id: BigNumber }): Promise { - const { id } = args; - const { address, context } = this; - const proposal = new MultiSigProposal({ multiSigAddress: address, id }, context); - - const exists = await proposal.exists(); - - if (!exists) { - throw new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: `Proposal with ID "${id}" was not found`, - }); - } - - return proposal; - } - - /** - * Return all { @link api/entities/MultiSigProposal!MultiSigProposal } for this MultiSig Account - */ - public async getProposals(): Promise { - const { - context: { - polymeshApi: { - query: { multiSig }, - }, - }, - context, - address, - } = this; - - const rawAddress = stringToAccountId(address, context); - - const rawProposalEntries = await multiSig.proposals.entries(rawAddress); - - return rawProposalEntries.map( - ([ - { - args: [, rawId], - }, - ]) => new MultiSigProposal({ multiSigAddress: address, id: u64ToBigNumber(rawId) }, context) - ); - } - - /** - * Returns the Identity of the MultiSig creator. This Identity can add or remove signers directly without creating a MultiSigProposal first. - */ - public async getCreator(): Promise { - const { - context: { - polymeshApi: { - query: { multiSig }, - }, - }, - context, - address, - } = this; - - const rawAddress = addressToKey(address, context); - const rawCreatorDid = await multiSig.multiSigToIdentity(rawAddress); - if (rawCreatorDid.isEmpty) { - throw new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: 'No creator was found for this MultiSig address', - }); - } - - const did = identityIdToString(rawCreatorDid); - - return new Identity({ did }, context); - } - - /** - * Modify the signers for the MultiSig. The signing Account must belong to the Identity of the creator of the MultiSig - */ - public modify: ProcedureMethod, void>; -} diff --git a/src/api/entities/Account/MultiSig/types.ts b/src/api/entities/Account/MultiSig/types.ts deleted file mode 100644 index 9046bebb2d..0000000000 --- a/src/api/entities/Account/MultiSig/types.ts +++ /dev/null @@ -1,8 +0,0 @@ -import BigNumber from 'bignumber.js'; - -import { Signer } from '~/types'; - -export interface MultiSigDetails { - signers: Signer[]; - requiredSignatures: BigNumber; -} diff --git a/src/api/entities/Account/__tests__/MultiSig.ts b/src/api/entities/Account/__tests__/MultiSig.ts deleted file mode 100644 index 305d29918c..0000000000 --- a/src/api/entities/Account/__tests__/MultiSig.ts +++ /dev/null @@ -1,197 +0,0 @@ -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { Account, Context, MultiSig, PolymeshError, PolymeshTransaction } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { - createMockAccountId, - createMockBool, - createMockCall, - createMockIdentityId, - createMockOption, - createMockSignatory, -} from '~/testUtils/mocks/dataSources'; -import { Mocked } from '~/testUtils/types'; -import { ErrorCode } from '~/types'; -import * as utilsConversionModule from '~/utils/conversion'; -import * as utilsInternalModule from '~/utils/internal'; - -jest.mock( - '~/api/entities/MultiSigProposal', - require('~/testUtils/mocks/entities').mockMultiSigProposalModule( - '~/api/entities/MultiSigProposal' - ) -); - -jest.mock( - '~/base/Procedure', - require('~/testUtils/mocks/procedure').mockProcedureModule('~/base/Procedure') -); - -describe('MultiSig class', () => { - let context: Mocked; - - let address: string; - let multiSig: MultiSig; - - beforeAll(() => { - entityMockUtils.initMocks(); - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - jest.spyOn(utilsInternalModule, 'assertAddressValid').mockImplementation(); - jest.spyOn(utilsConversionModule, 'addressToKey').mockImplementation(); - - address = 'someAddress'; - }); - - beforeEach(() => { - context = dsMockUtils.getContextInstance(); - multiSig = new MultiSig({ address }, context); - }); - - afterEach(() => { - entityMockUtils.reset(); - dsMockUtils.reset(); - procedureMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - procedureMockUtils.cleanup(); - jest.restoreAllMocks(); - }); - - it('should extend Account', () => { - expect(MultiSig.prototype).toBeInstanceOf(Account); - }); - - describe('method: details', () => { - it('should return the details of the MultiSig', async () => { - dsMockUtils.createQueryMock('multiSig', 'multiSigSigners', { - entries: [ - [ - [ - createMockAccountId(), - createMockSignatory({ - Identity: createMockIdentityId('def'), - }), - ], - createMockBool(true), - ], - [ - [ - createMockAccountId(), - createMockSignatory({ - Account: createMockAccountId('abc'), - }), - ], - createMockBool(true), - ], - ], - }); - - dsMockUtils.createQueryMock('multiSig', 'multiSigSignsRequired', { - returnValue: 2, - }); - const result = await multiSig.details(); - - expect(result).toBeDefined(); - }); - }); - - describe('method: getProposal', () => { - const id = new BigNumber(1); - - it('should return a proposal', async () => { - entityMockUtils.configureMocks({ - multiSigProposalOptions: { exists: true }, - }); - const result = await multiSig.getProposal({ id }); - expect(result).toMatchObject({ - id, - multiSig: expect.objectContaining({ address }), - }); - }); - - it("should throw if the proposal doesn't exist", () => { - entityMockUtils.configureMocks({ - multiSigProposalOptions: { exists: false }, - }); - - const expectedError = new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: 'Proposal with ID "1" was not found', - }); - return expect(multiSig.getProposal({ id })).rejects.toThrowError(expectedError); - }); - }); - - describe('method: getProposals', () => { - const id = new BigNumber(1); - it('should get proposals', async () => { - dsMockUtils.createQueryMock('multiSig', 'proposals', { - entries: [ - [ - [dsMockUtils.createMockAccountId(address), dsMockUtils.createMockU64(id)], - createMockOption(createMockCall()), - ], - ], - }); - const result = await multiSig.getProposals(); - - expect(result).toMatchObject([{ multiSig: expect.objectContaining({ address }), id }]); - }); - - it('should return an empty array if no proposals are pending', async () => { - dsMockUtils.createQueryMock('multiSig', 'proposals', { - entries: [], - }); - - const result = await multiSig.getProposals(); - - expect(result).toEqual([]); - }); - }); - - describe('method: getCreator', () => { - it('should return the Identity of the creator of the MultiSig', async () => { - const expectedDid = 'abc'; - dsMockUtils.createQueryMock('multiSig', 'multiSigToIdentity', { - returnValue: createMockIdentityId(expectedDid), - }); - - const result = await multiSig.getCreator(); - return expect(result.did).toEqual(expectedDid); - }); - - it('should throw an error if there is no creator', () => { - dsMockUtils.createQueryMock('multiSig', 'multiSigToIdentity', { - returnValue: createMockIdentityId(), - }); - const expectedError = new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: 'No creator was found for this MultiSig address', - }); - - return expect(multiSig.getCreator()).rejects.toThrowError(expectedError); - }); - }); - - describe('method: modify', () => { - const account = entityMockUtils.getAccountInstance({ address }); - it('should prepare the procedure and return the resulting transaction queue', async () => { - const expectedTransaction = 'someQueue' as unknown as PolymeshTransaction; - const args = { - signers: [account], - }; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args: { multiSig, ...args }, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const queue = await multiSig.modify(args); - - expect(queue).toBe(expectedTransaction); - }); - }); -}); diff --git a/src/api/entities/Account/__tests__/index.ts b/src/api/entities/Account/__tests__/index.ts deleted file mode 100644 index 591970eadb..0000000000 --- a/src/api/entities/Account/__tests__/index.ts +++ /dev/null @@ -1,949 +0,0 @@ -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { - AccountIdentityRelation, - AccountKeyType, - HistoricPolyxTransaction, -} from '~/api/entities/Account/types'; -import { Account, Context, Entity } from '~/internal'; -import { extrinsicsByArgs } from '~/middleware/queries'; -import { CallIdEnum, ExtrinsicsOrderBy, ModuleIdEnum } from '~/middleware/types'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { - createMockAccountId, - createMockIdentityId, - createMockOption, - createMockPermissions, - createMockU64, -} from '~/testUtils/mocks/dataSources'; -import { Mocked } from '~/testUtils/types'; -import { - AccountBalance, - Balance, - ModuleName, - Permissions, - PermissionType, - ResultSet, - SubsidyWithAllowance, - TxTags, - UnsubCallback, -} from '~/types'; -import * as utilsConversionModule from '~/utils/conversion'; -import * as utilsInternalModule from '~/utils/internal'; - -jest.mock( - '~/base/Procedure', - require('~/testUtils/mocks/procedure').mockProcedureModule('~/base/Procedure') -); - -describe('Account class', () => { - let context: Mocked; - - let address: string; - let account: Account; - let assertAddressValidSpy: jest.SpyInstance; - let getSecondaryAccountPermissionsSpy: jest.SpyInstance; - let txTagToExtrinsicIdentifierSpy: jest.SpyInstance; - - beforeAll(() => { - entityMockUtils.initMocks(); - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - assertAddressValidSpy = jest - .spyOn(utilsInternalModule, 'assertAddressValid') - .mockImplementation(); - jest.spyOn(utilsConversionModule, 'addressToKey').mockImplementation(); - getSecondaryAccountPermissionsSpy = jest.spyOn( - utilsInternalModule, - 'getSecondaryAccountPermissions' - ); - txTagToExtrinsicIdentifierSpy = jest.spyOn(utilsConversionModule, 'txTagToExtrinsicIdentifier'); - - address = 'someAddress'; - }); - - beforeEach(() => { - context = dsMockUtils.getContextInstance(); - account = new Account({ address }, context); - }); - - afterEach(() => { - entityMockUtils.reset(); - dsMockUtils.reset(); - procedureMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - procedureMockUtils.cleanup(); - jest.restoreAllMocks(); - }); - - it('should extend Entity', () => { - expect(Account.prototype).toBeInstanceOf(Entity); - }); - - it('should throw an error if the supplied address is not encoded with the correct SS58 format', () => { - assertAddressValidSpy.mockImplementationOnce(() => { - throw new Error('err'); - }); - - expect( - // cSpell: disable-next-line - () => new Account({ address: 'ajYMsCKsEAhEvHpeA4XqsfiA9v1CdzZPrCfS6pEfeGHW9j8' }, context) - ).toThrow(); - }); - - describe('method: isUniqueIdentifiers', () => { - it('should return true if the object conforms to the interface', () => { - expect(Account.isUniqueIdentifiers({ address: 'someAddress' })).toBe(true); - expect(Account.isUniqueIdentifiers({})).toBe(false); - expect(Account.isUniqueIdentifiers({ address: 3 })).toBe(false); - }); - }); - - describe('method: getBalance', () => { - let fakeResult: AccountBalance; - - beforeAll(() => { - fakeResult = { - free: new BigNumber(100), - locked: new BigNumber(10), - total: new BigNumber(110), - }; - }); - - beforeEach(() => { - context = dsMockUtils.getContextInstance({ balance: fakeResult }); - account = new Account({ address }, context); - }); - - it("should return the Account's balance", async () => { - const result = await account.getBalance(); - - expect(result).toEqual(fakeResult); - }); - - it('should allow subscription', async () => { - const unsubCallback = 'unsubCallback' as unknown as Promise; - const callback = jest.fn(); - - context.accountBalance = jest.fn(); - context.accountBalance.mockImplementation((_, cbFunc: (balance: Balance) => void) => { - cbFunc(fakeResult); - return unsubCallback; - }); - - const result = await account.getBalance(callback); - - expect(result).toEqual(unsubCallback); - expect(callback).toBeCalledWith(fakeResult); - }); - }); - - describe('method: getSubsidy', () => { - let fakeResult: SubsidyWithAllowance; - - beforeEach(() => { - fakeResult = { - subsidy: entityMockUtils.getSubsidyInstance({ - beneficiary: address, - }), - allowance: new BigNumber(1000), - }; - - context = dsMockUtils.getContextInstance({ - subsidy: fakeResult, - }); - account = new Account({ address }, context); - }); - - it('should return the Subsidy with allowance', async () => { - const result = await account.getSubsidy(); - - expect(result).toEqual(fakeResult); - }); - - it('should allow subscription', async () => { - const unsubCallback = 'unsubCallback' as unknown as Promise; - const callback = jest.fn(); - - context.accountSubsidy.mockImplementation( - async (_, cbFunc: (balance: SubsidyWithAllowance) => void) => { - cbFunc(fakeResult); - return unsubCallback; - } - ); - - const result = await account.getSubsidy(callback); - - expect(result).toEqual(unsubCallback); - expect(callback).toBeCalledWith(fakeResult); - }); - }); - - describe('method: getIdentity', () => { - it('should return the Identity associated to the Account', async () => { - const did = 'someDid'; - dsMockUtils.createQueryMock('identity', 'keyRecords', { - returnValue: dsMockUtils.createMockOption( - dsMockUtils.createMockKeyRecord({ - PrimaryKey: createMockIdentityId(did), - }) - ), - }); - - let result = await account.getIdentity(); - expect(result?.did).toBe(did); - - const secondaryDid = 'secondaryDid'; - dsMockUtils.createQueryMock('identity', 'keyRecords', { - returnValue: dsMockUtils.createMockOption( - dsMockUtils.createMockKeyRecord({ - SecondaryKey: [ - dsMockUtils.createMockIdentityId(secondaryDid), - dsMockUtils.createMockPermissions(), - ], - }) - ), - }); - result = await account.getIdentity(); - expect(result?.did).toBe(secondaryDid); - - const multiDid = 'multiDid'; - const keyRecordsMock = dsMockUtils.createQueryMock('identity', 'keyRecords'); - - keyRecordsMock.mockReturnValueOnce( - dsMockUtils.createMockOption( - dsMockUtils.createMockKeyRecord({ - MultiSigSignerKey: createMockAccountId('someAddress'), - }) - ) - ); - - keyRecordsMock.mockReturnValueOnce( - dsMockUtils.createMockOption( - dsMockUtils.createMockKeyRecord({ - PrimaryKey: createMockIdentityId(did), - }) - ) - ); - - dsMockUtils.createQueryMock('identity', 'keyRecords', { - returnValue: dsMockUtils.createMockOption( - dsMockUtils.createMockKeyRecord({ - PrimaryKey: createMockIdentityId(did), - }) - ), - }); - - dsMockUtils.createQueryMock('multiSig', 'multiSigToIdentity', { - returnValue: multiDid, - }); - - result = await account.getIdentity(); - expect(result?.did).toBe(did); - }); - - it('should return null if there is no Identity associated to the Account', async () => { - dsMockUtils.createQueryMock('identity', 'keyRecords', { - returnValue: dsMockUtils.createMockOption(null), - }); - - const result = await account.getIdentity(); - - expect(result).toBe(null); - }); - }); - - describe('method: getTransactionHistory', () => { - it('should return a list of transactions', async () => { - const tag = TxTags.identity.CddRegisterDid; - const moduleId = ModuleIdEnum.Identity; - const callId = CallIdEnum.CddRegisterDid; - const blockNumber1 = new BigNumber(1); - const blockNumber2 = new BigNumber(2); - const blockHash1 = 'someHash'; - const blockHash2 = 'otherHash'; - const blockDate1 = new Date('2022-12-25T00:00:00Z'); - const blockDate2 = new Date('2022-12-25T12:00:00Z'); - const order = ExtrinsicsOrderBy.CreatedAtAsc; - - when(txTagToExtrinsicIdentifierSpy).calledWith(tag).mockReturnValue({ - moduleId, - callId, - }); - - const extrinsicsQueryResponse = { - totalCount: 20, - nodes: [ - { - moduleId: ModuleIdEnum.Asset, - callId: CallIdEnum.RegisterTicker, - extrinsicIdx: 2, - specVersionId: 2006, - paramsTxt: '[]', - blockId: blockNumber1.toNumber(), - address, - nonce: 1, - success: 0, - signedbyAddress: 1, - block: { - hash: blockHash1, - datetime: blockDate1.toISOString().replace('Z', ''), - }, - }, - { - moduleId: ModuleIdEnum.Asset, - callId: CallIdEnum.RegisterTicker, - extrinsicIdx: 2, - specVersionId: 2006, - paramsTxt: '[]', - blockId: blockNumber2.toNumber(), - success: 1, - signedbyAddress: 1, - block: { - hash: blockHash2, - id: blockNumber2.toNumber(), - datetime: blockDate2.toISOString().replace('Z', ''), - }, - }, - ], - }; - - dsMockUtils.configureMocks({ contextOptions: { withSigningManager: true } }); - - dsMockUtils.createApolloQueryMock( - extrinsicsByArgs( - { - blockId: blockNumber1.toString(), - address, - moduleId, - callId, - success: undefined, - }, - new BigNumber(2), - new BigNumber(1), - order - ), - { - extrinsics: extrinsicsQueryResponse, - } - ); - - dsMockUtils.createRpcMock('chain', 'getBlock', { - returnValue: dsMockUtils.createMockSignedBlock({ - block: { - header: { - parentHash: 'hash', - number: dsMockUtils.createMockCompact(dsMockUtils.createMockU32(blockNumber1)), - extrinsicsRoot: 'hash', - stateRoot: 'hash', - }, - extrinsics: undefined, - }, - }), - }); - - let result = await account.getTransactionHistory({ - blockNumber: blockNumber1, - tag, - size: new BigNumber(2), - start: new BigNumber(1), - }); - - expect(result.data[0].blockNumber).toEqual(blockNumber1); - expect(result.data[1].blockNumber).toEqual(blockNumber2); - expect(result.data[0].blockHash).toEqual(blockHash1); - expect(result.data[1].blockHash).toEqual(blockHash2); - expect(result.data[0].blockDate).toEqual(blockDate1); - expect(result.data[1].blockDate).toEqual(blockDate2); - expect(result.data[0].address).toEqual(address); - expect(result.data[1].address).toBeUndefined(); - expect(result.data[0].nonce).toEqual(new BigNumber(1)); - expect(result.data[1].nonce).toBeNull(); - expect(result.data[0].success).toBeFalsy(); - expect(result.data[1].success).toBeTruthy(); - expect(result.count).toEqual(new BigNumber(20)); - expect(result.next).toEqual(new BigNumber(3)); - - dsMockUtils.createApolloQueryMock( - extrinsicsByArgs( - { - blockId: blockNumber1.toString(), - address, - moduleId, - callId, - success: 0, - }, - new BigNumber(2), - new BigNumber(1), - order - ), - { - extrinsics: extrinsicsQueryResponse, - } - ); - - result = await account.getTransactionHistory({ - blockHash: blockHash1, - tag, - success: false, - size: new BigNumber(2), - start: new BigNumber(1), - }); - - expect(result.data[0].blockNumber).toEqual(blockNumber1); - expect(result.data[1].blockNumber).toEqual(blockNumber2); - expect(result.data[0].blockHash).toEqual(blockHash1); - expect(result.data[1].blockHash).toEqual(blockHash2); - expect(result.data[0].blockDate).toEqual(blockDate1); - expect(result.data[1].blockDate).toEqual(blockDate2); - expect(result.data[0].address).toEqual(address); - expect(result.data[1].address).toBeUndefined(); - expect(result.data[0].success).toBeFalsy(); - expect(result.data[1].success).toBeTruthy(); - expect(result.count).toEqual(new BigNumber(20)); - expect(result.next).toEqual(new BigNumber(3)); - - dsMockUtils.createApolloQueryMock( - extrinsicsByArgs( - { - blockId: undefined, - address, - moduleId: undefined, - callId: undefined, - success: 1, - }, - undefined, - undefined, - ExtrinsicsOrderBy.ModuleIdAsc - ), - { - extrinsics: extrinsicsQueryResponse, - } - ); - - result = await account.getTransactionHistory({ - success: true, - orderBy: ExtrinsicsOrderBy.ModuleIdAsc, - }); - - expect(result.data[0].blockNumber).toEqual(blockNumber1); - expect(result.data[0].address).toEqual(address); - expect(result.data[0].success).toBeFalsy(); - expect(result.count).toEqual(new BigNumber(20)); - expect(result.next).toEqual(new BigNumber(result.data.length)); - - dsMockUtils.createApolloQueryMock( - extrinsicsByArgs( - { - blockId: undefined, - address, - moduleId: undefined, - callId: undefined, - success: undefined, - }, - undefined, - undefined, - order - ), - { - extrinsics: { nodes: [] }, - } - ); - - result = await account.getTransactionHistory(); - expect(result.data).toEqual([]); - expect(result.next).toBeNull(); - }); - }); - - describe('method: isFrozen', () => { - it('should return if the Account is frozen or not', async () => { - const didRecordsMock = dsMockUtils.createQueryMock('identity', 'didRecords'); - - const keyRecordsMock = dsMockUtils.createQueryMock('identity', 'keyRecords').mockReturnValue( - dsMockUtils.createMockOption( - dsMockUtils.createMockKeyRecord({ - SecondaryKey: [ - dsMockUtils.createMockIdentityId('someDid'), - dsMockUtils.createMockPermissions(), - ], - }) - ) - ); - - didRecordsMock.mockReturnValue( - dsMockUtils.createMockOption( - dsMockUtils.createMockIdentityDidRecord({ - primaryKey: dsMockUtils.createMockOption(dsMockUtils.createMockAccountId(address)), - }) - ) - ); - - const isDidFrozenMock = dsMockUtils.createQueryMock('identity', 'isDidFrozen', { - returnValue: dsMockUtils.createMockBool(false), - }); - - let result = await account.isFrozen(); - expect(result).toBe(false); - - const otherAddress = 'otherAddress'; - account = new Account({ address: otherAddress }, context); - - result = await account.isFrozen(); - expect(result).toBe(false); - - isDidFrozenMock.mockResolvedValue(dsMockUtils.createMockBool(true)); - - result = await account.isFrozen(); - expect(result).toBe(true); - - keyRecordsMock.mockResolvedValue(dsMockUtils.createMockOption()); - - result = await account.isFrozen(); - expect(result).toBe(false); - }); - }); - - describe('method: toHuman', () => { - it('should return a human readable version of the entity', () => { - expect(account.toHuman()).toBe(account.address); - }); - }); - - describe('method: exists', () => { - it('should return true', () => { - return expect(account.exists()).resolves.toBe(true); - }); - }); - - describe('method: getPermissions', () => { - it('should throw if no Identity is associated with the Account', async () => { - context = dsMockUtils.getContextInstance(); - - account = new Account({ address }, context); - - const getIdentitySpy = jest.spyOn(account, 'getIdentity').mockResolvedValue(null); - - await expect(() => account.getPermissions()).rejects.toThrowError( - 'There is no Identity associated with this Account' - ); - - getIdentitySpy.mockRestore(); - }); - - it('should return full permissions if the Account is the primary Account', async () => { - getSecondaryAccountPermissionsSpy.mockReturnValue([]); - const identity = entityMockUtils.getIdentityInstance({ - getPrimaryAccount: { - account: entityMockUtils.getAccountInstance({ address }), - }, - }); - - account = new Account({ address }, context); - - const getIdentitySpy = jest.spyOn(account, 'getIdentity').mockResolvedValue(identity); - - const result = await account.getPermissions(); - - expect(result).toEqual({ - assets: null, - transactions: null, - transactionGroups: [], - portfolios: null, - }); - - getIdentitySpy.mockRestore(); - }); - - it("should return the Account's permissions if it is a secondary Account", async () => { - const permissions = { - assets: null, - transactions: { - values: [TxTags.identity.AcceptPrimaryKey], - type: PermissionType.Include, - }, - transactionGroups: [], - portfolios: null, - }; - - getSecondaryAccountPermissionsSpy.mockReturnValue([ - { - account: entityMockUtils.getAccountInstance({ address: 'otherAddress' }), - permissions, - }, - ]); - - const identity = entityMockUtils.getIdentityInstance({}); - - account = new Account({ address: 'otherAddress' }, context); - - const getIdentitySpy = jest.spyOn(account, 'getIdentity').mockResolvedValue(identity); - - const result = await account.getPermissions(); - - expect(result).toEqual(permissions); - - getIdentitySpy.mockRestore(); - }); - }); - - describe('method: checkPermissions', () => { - it('should return whether the Account has the passed permissions', async () => { - const getPermissionsSpy = jest.spyOn(account, 'getPermissions'); - - let permissions: Permissions = { - assets: null, - transactions: null, - transactionGroups: [], - portfolios: null, - }; - - getPermissionsSpy.mockResolvedValue(permissions); - - let result = await account.checkPermissions({ - assets: null, - portfolios: null, - transactions: null, - }); - expect(result).toEqual({ - result: true, - }); - - const asset = entityMockUtils.getFungibleAssetInstance({ ticker: 'SOME_ASSET' }); - permissions = { - assets: { values: [asset], type: PermissionType.Include }, - transactions: { values: [TxTags.asset.CreateAsset], type: PermissionType.Include }, - transactionGroups: [], - portfolios: { - values: [entityMockUtils.getDefaultPortfolioInstance({ did: 'someDid' })], - type: PermissionType.Include, - }, - }; - - getPermissionsSpy.mockResolvedValue(permissions); - - const portfolio = entityMockUtils.getDefaultPortfolioInstance({ did: 'otherDid' }); - - result = await account.checkPermissions({ - assets: [asset], - portfolios: [portfolio], - transactions: [TxTags.asset.CreateAsset], - }); - - expect(result).toEqual({ - result: false, - missingPermissions: { - portfolios: [portfolio], - }, - }); - - permissions = { - assets: { values: [asset], type: PermissionType.Exclude }, - transactions: { values: [TxTags.asset.CreateAsset], type: PermissionType.Exclude }, - transactionGroups: [], - portfolios: { - values: [entityMockUtils.getDefaultPortfolioInstance({ did: 'someDid' })], - type: PermissionType.Exclude, - }, - }; - - getPermissionsSpy.mockResolvedValue(permissions); - - result = await account.checkPermissions({ - assets: [asset], - portfolios: null, - transactions: null, - }); - - expect(result).toEqual({ - result: false, - missingPermissions: { - assets: [asset], - portfolios: null, - transactions: null, - }, - }); - - result = await account.checkPermissions({ - assets: null, - portfolios: [], - transactions: [TxTags.asset.CreateAsset], - }); - - expect(result).toEqual({ - result: false, - missingPermissions: { - assets: null, - transactions: [TxTags.asset.CreateAsset], - }, - }); - - result = await account.checkPermissions({ - assets: [], - portfolios: [entityMockUtils.getDefaultPortfolioInstance({ did: 'otherDid' })], - transactions: [], - }); - - expect(result).toEqual({ - result: true, - }); - - result = await account.checkPermissions({}); - - expect(result).toEqual({ - result: true, - }); - - permissions = { - assets: { values: [asset], type: PermissionType.Exclude }, - transactions: { - values: [ModuleName.Identity, TxTags.identity.LeaveIdentityAsKey], - type: PermissionType.Exclude, - exceptions: [TxTags.identity.AddClaim], - }, - transactionGroups: [], - portfolios: { - values: [entityMockUtils.getDefaultPortfolioInstance({ did: 'someDid' })], - type: PermissionType.Exclude, - }, - }; - - getPermissionsSpy.mockResolvedValue(permissions); - - result = await account.checkPermissions({ - assets: [], - portfolios: null, - transactions: [TxTags.identity.AcceptPrimaryKey, TxTags.identity.LeaveIdentityAsKey], - }); - - expect(result).toEqual({ - result: false, - missingPermissions: { - portfolios: null, - transactions: [TxTags.identity.AcceptPrimaryKey], - }, - }); - - permissions = { - assets: { values: [asset], type: PermissionType.Exclude }, - transactions: { - values: [ModuleName.Identity], - type: PermissionType.Include, - exceptions: [TxTags.identity.AddClaim], - }, - transactionGroups: [], - portfolios: { - values: [entityMockUtils.getDefaultPortfolioInstance({ did: 'someDid' })], - type: PermissionType.Exclude, - }, - }; - - getPermissionsSpy.mockResolvedValue(permissions); - - result = await account.checkPermissions({ - assets: [], - portfolios: null, - transactions: [TxTags.identity.AddClaim], - }); - - expect(result).toEqual({ - result: false, - missingPermissions: { - portfolios: null, - transactions: [TxTags.identity.AddClaim], - }, - }); - getPermissionsSpy.mockRestore(); - }); - - it('should exempt certain transactions from requiring permissions', async () => { - const permissions: Permissions = { - assets: null, - transactions: null, - transactionGroups: [], - portfolios: null, - }; - - const getPermissionsSpy = jest - .spyOn(account, 'getPermissions') - .mockResolvedValue(permissions); - - const result = await account.checkPermissions({ - assets: [], - portfolios: [], - transactions: [ - TxTags.balances.Transfer, - TxTags.balances.TransferWithMemo, - TxTags.staking.AddPermissionedValidator, - TxTags.sudo.SetKey, - TxTags.session.PurgeKeys, - ], - }); - - expect(result).toEqual({ - result: true, - }); - getPermissionsSpy.mockRestore(); - }); - }); - - describe('method: getCurrentNonce', () => { - it('should return the current nonce of the Account', async () => { - const nonce = new BigNumber(123); - jest.spyOn(utilsConversionModule, 'stringToAccountId').mockImplementation(); - dsMockUtils - .createRpcMock('system', 'accountNextIndex') - .mockResolvedValue(dsMockUtils.createMockU32(nonce)); - - const result = await account.getCurrentNonce(); - expect(result).toEqual(nonce); - }); - }); - - describe('method: getMultiSig', () => { - it('should return null if the Account is not a MultiSig signer', async () => { - dsMockUtils.createQueryMock('identity', 'keyRecords', { - returnValue: dsMockUtils.createMockOption( - dsMockUtils.createMockKeyRecord({ - PrimaryKey: dsMockUtils.createMockAccountId(), - }) - ), - }); - account = new Account({ address }, context); - - let result = await account.getMultiSig(); - - expect(result).toBeNull(); - - dsMockUtils.createQueryMock('identity', 'keyRecords', { - returnValue: dsMockUtils.createMockOption(), - }); - - result = await account.getMultiSig(); - expect(result).toBeNull(); - }); - - it('should return the MultiSig the Account is a signer for', async () => { - dsMockUtils.createQueryMock('identity', 'keyRecords', { - returnValue: dsMockUtils.createMockOption( - dsMockUtils.createMockKeyRecord({ - MultiSigSignerKey: dsMockUtils.createMockAccountId('multiAddress'), - }) - ), - }); - - account = new Account({ address }, context); - - const result = await account.getMultiSig(); - - expect(result?.address).toEqual('multiAddress'); - }); - }); - - describe('method: getAccountInfo', () => { - // eslint-disable-next-line @typescript-eslint/no-explicit-any - let mockQueryMulti: any; - beforeEach(() => { - mockQueryMulti = context.polymeshApi.queryMulti; - dsMockUtils.createQueryMock('identity', 'keyRecords', { - returnValue: createMockOption(), - }); - dsMockUtils.createQueryMock('multiSig', 'multiSigSignsRequired', { - returnValue: createMockU64(new BigNumber(0)), - }); - - dsMockUtils.createQueryMock('contracts', 'contractInfoOf', { - returnValue: dsMockUtils.createMockOption(), - }); - }); - - it('should return unassigned', async () => { - mockQueryMulti.mockResolvedValue([ - dsMockUtils.createMockOption(), - dsMockUtils.createMockU64(new BigNumber(0)), - dsMockUtils.createMockOption(), - ]); - - const result = await account.getTypeInfo(); - - expect(result).toEqual({ - keyType: AccountKeyType.Normal, - relation: AccountIdentityRelation.Unassigned, - }); - }); - - it('should return the type for a normal primary key', async () => { - mockQueryMulti.mockResolvedValue([ - dsMockUtils.createMockOption( - dsMockUtils.createMockKeyRecord({ - PrimaryKey: createMockAccountId('multiSigAddress'), - }) - ), - dsMockUtils.createMockU64(new BigNumber(0)), - dsMockUtils.createMockOption(), - ]); - - const result = await account.getTypeInfo(); - - expect(result).toEqual({ - keyType: AccountKeyType.Normal, - relation: AccountIdentityRelation.Primary, - }); - }); - - it('should return the type for a MultiSig secondary key', async () => { - mockQueryMulti.mockResolvedValue([ - dsMockUtils.createMockOption( - dsMockUtils.createMockKeyRecord({ - SecondaryKey: [createMockAccountId('secondaryAddress'), createMockPermissions()], - }) - ), - dsMockUtils.createMockU64(new BigNumber(2)), - dsMockUtils.createMockOption(), - ]); - - const result = await account.getTypeInfo(); - - expect(result).toEqual({ - keyType: AccountKeyType.MultiSig, - relation: AccountIdentityRelation.Secondary, - }); - }); - - it('should return the type for a SmartContract', async () => { - mockQueryMulti.mockResolvedValue([ - dsMockUtils.createMockOption( - dsMockUtils.createMockKeyRecord({ - MultiSigSignerKey: createMockAccountId('multiSigAddress'), - }) - ), - dsMockUtils.createMockU64(new BigNumber(0)), - dsMockUtils.createMockOption(dsMockUtils.createMockContractInfo()), - ]); - - const result = await account.getTypeInfo(); - - expect(result).toEqual({ - keyType: AccountKeyType.SmartContract, - relation: AccountIdentityRelation.MultiSigSigner, - }); - }); - }); - - describe('method: getPolyxTransactions', () => { - it('should return the polyx transactions for the current Account', async () => { - const fakeResult = 'someTransactions' as unknown as ResultSet; - context = dsMockUtils.getContextInstance({ - getPolyxTransactions: fakeResult, - }); - account = new Account({ address }, context); - const result = await account.getPolyxTransactions({}); - - expect(result).toEqual(fakeResult); - }); - }); -}); diff --git a/src/api/entities/Account/helpers.ts b/src/api/entities/Account/helpers.ts deleted file mode 100644 index 871fde54a8..0000000000 --- a/src/api/entities/Account/helpers.ts +++ /dev/null @@ -1,203 +0,0 @@ -import { - difference, - differenceBy, - differenceWith, - intersection, - intersectionBy, - intersectionWith, - isEqual, - union, -} from 'lodash'; - -import { BaseAsset } from '~/internal'; -import { - DefaultPortfolio, - ModuleName, - NumberedPortfolio, - PermissionType, - SectionPermissions, - SimplePermissions, - TransactionPermissions, - TxTag, - TxTags, -} from '~/types'; -import { portfolioToPortfolioId } from '~/utils/conversion'; -import { isModuleOrTagMatch } from '~/utils/internal'; - -/** - * Calculate the difference between the required Transaction permissions and the current ones - */ -export function getMissingPortfolioPermissions( - requiredPermissions: (DefaultPortfolio | NumberedPortfolio)[] | null | undefined, - currentPermissions: SectionPermissions | null -): SimplePermissions['portfolios'] { - if (currentPermissions === null) { - return undefined; - } else if (requiredPermissions === null) { - return null; - } else if (requiredPermissions) { - const { type: portfoliosType, values: portfoliosValues } = currentPermissions; - - if (requiredPermissions.length) { - let missingPermissions: (DefaultPortfolio | NumberedPortfolio)[]; - - const portfolioComparator = ( - a: DefaultPortfolio | NumberedPortfolio, - b: DefaultPortfolio | NumberedPortfolio - ): boolean => { - const aId = portfolioToPortfolioId(a); - const bId = portfolioToPortfolioId(b); - - return isEqual(aId, bId); - }; - - if (portfoliosType === PermissionType.Include) { - missingPermissions = differenceWith( - requiredPermissions, - portfoliosValues, - portfolioComparator - ); - } else { - missingPermissions = intersectionWith( - requiredPermissions, - portfoliosValues, - portfolioComparator - ); - } - - if (missingPermissions.length) { - return missingPermissions; - } - } - } - - return undefined; -} - -/** - * @hidden - * - * Calculate the difference between the required Asset permissions and the current ones - */ -export function getMissingAssetPermissions( - requiredPermissions: BaseAsset[] | null | undefined, - currentPermissions: SectionPermissions | null -): SimplePermissions['assets'] { - if (currentPermissions === null) { - return undefined; - } else if (requiredPermissions === null) { - return null; - } else if (requiredPermissions) { - const { type: permissionType, values: assetValues } = currentPermissions; - - if (requiredPermissions.length) { - let missingPermissions: BaseAsset[]; - - if (permissionType === PermissionType.Include) { - missingPermissions = differenceBy(requiredPermissions, assetValues, 'ticker'); - } else { - missingPermissions = intersectionBy(requiredPermissions, assetValues, 'ticker'); - } - - if (missingPermissions.length) { - return missingPermissions; - } - } - } - - return undefined; -} - -/** - * @hidden - * - * Calculate the difference between the required Transaction permissions and the current ones - */ -export function getMissingTransactionPermissions( - requiredPermissions: TxTag[] | null | undefined, - currentPermissions: TransactionPermissions | null -): SimplePermissions['transactions'] { - // these transactions are allowed to any Account, independent of permissions - const exemptedTransactions: (TxTag | ModuleName)[] = [ - TxTags.identity.LeaveIdentityAsKey, - TxTags.identity.JoinIdentityAsKey, - TxTags.multiSig.AcceptMultisigSignerAsKey, - ...difference(Object.values(TxTags.balances), [ - TxTags.balances.DepositBlockRewardReserveBalance, - TxTags.balances.BurnAccountBalance, - ]), - ModuleName.Staking, - ModuleName.Sudo, - ModuleName.Session, - ModuleName.Authorship, - ModuleName.Babe, - ModuleName.Grandpa, - ModuleName.ImOnline, - ModuleName.Indices, - ModuleName.Scheduler, - ModuleName.System, - ModuleName.Timestamp, - ]; - - if (currentPermissions === null) { - return undefined; - } - - if (requiredPermissions === null) { - return null; - } - - if (!requiredPermissions?.length) { - return undefined; - } - - const { - type: transactionsType, - values: transactionsValues, - exceptions = [], - } = currentPermissions; - - let missingPermissions: TxTag[]; - - const exceptionMatches = intersection(requiredPermissions, exceptions); - - if (transactionsType === PermissionType.Include) { - const includedTransactions = union(transactionsValues, exemptedTransactions); - - missingPermissions = union( - differenceWith(requiredPermissions, includedTransactions, isModuleOrTagMatch), - exceptionMatches - ); - } else { - /* - * if the exclusion is a module, we only remove it from the list if the module itself is present in `exemptedTransactions`. - * Otherwise, if, for example, `transactionsValues` contains `ModuleName.Identity`, - * since `exemptedTransactions` contains `TxTags.identity.LeaveIdentityAsKey`, we would be - * removing the entire Identity module from the result, which doesn't make sense - */ - const txComparator = (tx: TxTag | ModuleName, exemptedTx: TxTag | ModuleName): boolean => { - if (!tx.includes('.')) { - return tx === exemptedTx; - } - - return isModuleOrTagMatch(tx, exemptedTx); - }; - - const excludedTransactions = differenceWith( - transactionsValues, - exemptedTransactions, - txComparator - ); - - missingPermissions = difference( - intersectionWith(requiredPermissions, excludedTransactions, isModuleOrTagMatch), - exceptionMatches - ); - } - - if (missingPermissions.length) { - return missingPermissions; - } - - return undefined; -} diff --git a/src/api/entities/Account/index.ts b/src/api/entities/Account/index.ts deleted file mode 100644 index 082f246528..0000000000 --- a/src/api/entities/Account/index.ts +++ /dev/null @@ -1,554 +0,0 @@ -import BigNumber from 'bignumber.js'; - -import { - getMissingAssetPermissions, - getMissingPortfolioPermissions, - getMissingTransactionPermissions, -} from '~/api/entities/Account/helpers'; -import { - AccountIdentityRelation, - AccountKeyType, - AccountTypeInfo, - HistoricPolyxTransaction, -} from '~/api/entities/Account/types'; -import { Subsidies } from '~/api/entities/Subsidies'; -import { Authorizations, Context, Entity, Identity, MultiSig, PolymeshError } from '~/internal'; -import { extrinsicsByArgs } from '~/middleware/queries'; -import { CallIdEnum, ExtrinsicsOrderBy, ModuleIdEnum, Query } from '~/middleware/types'; -import { - AccountBalance, - CheckPermissionsResult, - ErrorCode, - ExtrinsicData, - Permissions, - ResultSet, - SignerType, - SimplePermissions, - SubCallback, - SubsidyWithAllowance, - TxTag, - UnsubCallback, -} from '~/types'; -import { Ensured } from '~/types/utils'; -import { - accountIdToString, - addressToKey, - extrinsicIdentifierToTxTag, - stringToAccountId, - stringToHash, - txTagToExtrinsicIdentifier, - u32ToBigNumber, -} from '~/utils/conversion'; -import { - assertAddressValid, - calculateNextKey, - getIdentityFromKeyRecord, - getSecondaryAccountPermissions, - requestMulti, -} from '~/utils/internal'; - -/** - * @hidden - */ -export interface UniqueIdentifiers { - address: string; -} - -/** - * Represents an Account in the Polymesh blockchain. Accounts can hold POLYX, control Identities and vote on proposals (among other things) - */ -export class Account extends Entity { - /** - * @hidden - * Check if a value is of type {@link UniqueIdentifiers} - */ - public static override isUniqueIdentifiers(identifier: unknown): identifier is UniqueIdentifiers { - const { address } = identifier as UniqueIdentifiers; - - return typeof address === 'string'; - } - - /** - * Polymesh-specific address of the Account. Serves as an identifier - */ - public address: string; - - /** - * A hex representation of the cryptographic public key of the Account. This is consistent across - * Substrate chains, while the address depends on the chain as well. - */ - public key: string; - - // Namespaces - public authorizations: Authorizations; - public subsidies: Subsidies; - - /** - * @hidden - */ - public constructor(identifiers: UniqueIdentifiers, context: Context) { - super(identifiers, context); - - const { address } = identifiers; - - assertAddressValid(address, context.ss58Format); - - this.address = address; - this.key = addressToKey(address, context); - this.authorizations = new Authorizations(this, context); - this.subsidies = new Subsidies(this, context); - } - - /** - * Get the free/locked POLYX balance of the Account - * - * @note can be subscribed to - */ - public getBalance(): Promise; - public getBalance(callback: SubCallback): Promise; - - // eslint-disable-next-line require-jsdoc - public getBalance( - callback?: SubCallback - ): Promise { - const { context, address } = this; - - if (callback) { - return context.accountBalance(address, callback); - } - - return context.accountBalance(address); - } - - /** - * Get the subsidized balance of this Account and the subsidizer Account. If - * this Account isn't being subsidized, return null - * - * @note can be subscribed to - * - * @deprecated in favour of {@link api/entities/Subsidies!Subsidies.getSubsidizer | subsidies.getSubsidizer} - */ - public getSubsidy(): Promise; - public getSubsidy(callback: SubCallback): Promise; - - // eslint-disable-next-line require-jsdoc - public getSubsidy( - callback?: SubCallback - ): Promise { - const { context, address } = this; - - if (callback) { - return context.accountSubsidy(address, callback); - } - - return context.accountSubsidy(address); - } - - /** - * Retrieve the Identity associated to this Account (null if there is none) - */ - public async getIdentity(): Promise { - const { - context: { - polymeshApi: { - query: { identity }, - }, - }, - context, - address, - } = this; - - const optKeyRecord = await identity.keyRecords(stringToAccountId(address, context)); - - if (optKeyRecord.isNone) { - return null; - } - - const keyRecord = optKeyRecord.unwrap(); - - return getIdentityFromKeyRecord(keyRecord, context); - } - - /** - * Retrieve a list of transactions signed by this Account. Can be filtered using parameters - * - * @note if both `blockNumber` and `blockHash` are passed, only `blockNumber` is taken into account. - * Also, for ordering by block_id, one should pass `ExtrinsicsOrderBy.CreatedAtAsc` or `ExtrinsicsOrderBy.CreatedAtDesc` - * in order of their choice (since block ID is a string field in middleware v2) - * - * @param filters.tag - tag associated with the transaction - * @param filters.success - whether the transaction was successful or not - * @param filters.size - page size - * @param filters.start - page offset - * - * @note uses the middleware v2 - */ - public async getTransactionHistory( - filters: { - blockNumber?: BigNumber; - blockHash?: string; - tag?: TxTag; - success?: boolean; - size?: BigNumber; - start?: BigNumber; - orderBy?: ExtrinsicsOrderBy; - } = {} - ): Promise> { - const { - tag, - success, - size, - start, - orderBy = ExtrinsicsOrderBy.CreatedAtAsc, - blockHash, - } = filters; - - const { context, address } = this; - - let moduleId; - let callId; - if (tag) { - ({ moduleId, callId } = txTagToExtrinsicIdentifier(tag)); - } - - let successFilter; - if (success !== undefined) { - successFilter = success ? 1 : 0; - } - - let { blockNumber } = filters; - - if (!blockNumber && blockHash) { - const { - block: { - header: { number }, - }, - } = await context.polymeshApi.rpc.chain.getBlock(stringToHash(blockHash, context)); - - blockNumber = u32ToBigNumber(number.unwrap()); - } - - const { - data: { - extrinsics: { nodes: transactionList, totalCount }, - }, - } = await context.queryMiddleware>( - extrinsicsByArgs( - { - blockId: blockNumber ? blockNumber.toString() : undefined, - address, - moduleId, - callId, - success: successFilter, - }, - size, - start, - orderBy - ) - ); - - const count = new BigNumber(totalCount); - - /* eslint-disable @typescript-eslint/no-non-null-assertion */ - const data = transactionList.map( - ({ - blockId, - extrinsicIdx, - address: signerAddress, - nonce, - moduleId: extrinsicModuleId, - callId: extrinsicCallId, - paramsTxt, - success: txSuccess, - specVersionId, - extrinsicHash, - block, - }) => { - const { hash, datetime } = block!; - return { - blockNumber: new BigNumber(blockId), - blockHash: hash, - blockDate: new Date(`${datetime}Z`), - extrinsicIdx: new BigNumber(extrinsicIdx), - address: signerAddress!, - nonce: nonce ? new BigNumber(nonce) : null, - txTag: extrinsicIdentifierToTxTag({ - moduleId: extrinsicModuleId as ModuleIdEnum, - callId: extrinsicCallId as CallIdEnum, - }), - params: JSON.parse(paramsTxt), - success: !!txSuccess, - specVersionId: new BigNumber(specVersionId), - extrinsicHash: extrinsicHash!, - }; - } - ); - /* eslint-enable @typescript-eslint/no-non-null-assertion */ - - const next = calculateNextKey(count, data.length, start); - - return { - data, - next, - count, - }; - } - - /** - * Check whether this Account is frozen. If frozen, it cannot perform any Identity related action until the primary Account of the Identity unfreezes all secondary Accounts - * - * @note returns false if the Account isn't associated to any Identity - */ - public async isFrozen(): Promise { - const identity = await this.getIdentity(); - - if (identity === null) { - return false; - } - - const { account } = await identity.getPrimaryAccount(); - - if (account.isEqual(this)) { - return false; - } - - return identity.areSecondaryAccountsFrozen(); - } - - /** - * Retrieve the Permissions this Account has as a Permissioned Account for its corresponding Identity - * - * @throws if there is no Identity associated with the Account - */ - public async getPermissions(): Promise { - const { address, context } = this; - - const identity = await this.getIdentity(); - - if (identity === null) { - throw new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: 'There is no Identity associated with this Account', - }); - } - - const [ - { - account: { address: primaryAccountAddress }, - }, - [permissionedAccount], - ] = await Promise.all([ - identity.getPrimaryAccount(), - getSecondaryAccountPermissions({ accounts: [this], identity }, context), - ]); - - if (address === primaryAccountAddress) { - return { - assets: null, - transactions: null, - transactionGroups: [], - portfolios: null, - }; - } - - return permissionedAccount.permissions; - } - - /** - * Check if this Account possesses certain Permissions to act on behalf of its corresponding Identity - * - * @return which permissions the Account is missing (if any) and the final result - */ - public async checkPermissions( - permissions: SimplePermissions - ): Promise> { - const { assets, transactions, portfolios } = permissions; - - const { - assets: currentAssets, - transactions: currentTransactions, - portfolios: currentPortfolios, - } = await this.getPermissions(); - - const missingPermissions: SimplePermissions = {}; - - const missingAssetPermissions = getMissingAssetPermissions(assets, currentAssets); - - const hasAssets = missingAssetPermissions === undefined; - if (!hasAssets) { - missingPermissions.assets = missingAssetPermissions; - } - - const missingTransactionPermissions = getMissingTransactionPermissions( - transactions, - currentTransactions - ); - - const hasTransactions = missingTransactionPermissions === undefined; - if (!hasTransactions) { - missingPermissions.transactions = missingTransactionPermissions; - } - - const missingPortfolioPermissions = getMissingPortfolioPermissions( - portfolios, - currentPortfolios - ); - - const hasPortfolios = missingPortfolioPermissions === undefined; - if (!hasPortfolios) { - missingPermissions.portfolios = missingPortfolioPermissions; - } - - const result = hasAssets && hasTransactions && hasPortfolios; - - if (result) { - return { result }; - } - - return { - result, - missingPermissions, - }; - } - - /** - * Fetch the MultiSig this Account is part of. If this Account is not a signer on any MultiSig, return null - */ - public async getMultiSig(): Promise { - const { - context: { - polymeshApi: { - query: { identity }, - }, - }, - context, - address, - } = this; - - const rawAddress = stringToAccountId(address, context); - - const rawOptKeyRecord = await identity.keyRecords(rawAddress); - if (rawOptKeyRecord.isNone) { - return null; - } - const rawKeyRecord = rawOptKeyRecord.unwrap(); - if (!rawKeyRecord.isMultiSigSignerKey) { - return null; - } - - return new MultiSig({ address: accountIdToString(rawKeyRecord.asMultiSigSignerKey) }, context); - } - - /** - * Determine whether this Account exists on chain - */ - public async exists(): Promise { - return true; - } - - /** - * Return the Account's address - */ - public toHuman(): string { - return this.address; - } - - /** - * Retrieve the current nonce for this Account - */ - public async getCurrentNonce(): Promise { - const { - context: { - polymeshApi: { - rpc: { - system: { accountNextIndex }, - }, - }, - }, - address, - context, - } = this; - - const index = await accountNextIndex(stringToAccountId(address, context)); - - return u32ToBigNumber(index); - } - - /** - * Retrieve the type of Account, and its relation to an Identity, if applicable - */ - public async getTypeInfo(): Promise { - const { - context: { - polymeshApi: { - query: { identity, multiSig, contracts }, - }, - }, - context, - address, - } = this; - - const accountId = stringToAccountId(address, context); - const [optKeyRecord, multiSignsRequired, smartContract] = await requestMulti< - [ - typeof identity.keyRecords, - typeof multiSig.multiSigSignsRequired, - typeof contracts.contractInfoOf - ] - >(context, [ - [identity.keyRecords, accountId], - [multiSig.multiSigSignsRequired, accountId], - [contracts.contractInfoOf, accountId], - ]); - - let keyType: AccountKeyType = AccountKeyType.Normal; - if (!multiSignsRequired.isZero()) { - keyType = AccountKeyType.MultiSig; - } else if (smartContract.isSome) { - keyType = AccountKeyType.SmartContract; - } - - if (optKeyRecord.isNone) { - return { - keyType, - relation: AccountIdentityRelation.Unassigned, - }; - } - - const keyRecord = optKeyRecord.unwrap(); - - let relation: AccountIdentityRelation; - if (keyRecord.isPrimaryKey) { - relation = AccountIdentityRelation.Primary; - } else if (keyRecord.isSecondaryKey) { - relation = AccountIdentityRelation.Secondary; - } else { - relation = AccountIdentityRelation.MultiSigSigner; - } - - return { - keyType, - relation, - }; - } - - /** - * Returns POLYX transactions associated with this account - * - * @param filters.size - page size - * @param filters.start - page offset - * - * @note uses the middleware - */ - public async getPolyxTransactions(filters: { - size?: BigNumber; - start?: BigNumber; - }): Promise> { - const { context } = this; - - return context.getPolyxTransactions({ - accounts: [this], - ...filters, - }); - } -} diff --git a/src/api/entities/Account/types.ts b/src/api/entities/Account/types.ts deleted file mode 100644 index b89aa369fd..0000000000 --- a/src/api/entities/Account/types.ts +++ /dev/null @@ -1,98 +0,0 @@ -import BigNumber from 'bignumber.js'; - -import { Account, Identity } from '~/internal'; -import { BalanceTypeEnum, CallIdEnum, EventIdEnum, ModuleIdEnum } from '~/middleware/types'; -import { EventIdentifier, Signer } from '~/types'; -export interface MultiSigDetails { - signers: Signer[]; - requiredSignatures: BigNumber; -} - -/** - * Distinguishes MultiSig and Smart Contract accounts - */ -export enum AccountKeyType { - /** - * Account is a standard type (e.g. corresponds to the public key of a sr25519 pair) - */ - Normal = '', - /** - * Account is a MultiSig. (i.e. multiple signatures are required to authorize transactions) - */ - MultiSig = 'MultiSig', - /** - * Account represents a smart contract - */ - SmartContract = 'SmartContract', -} - -/** - * Represents the how an Account is associated to an Identity - */ -export enum AccountIdentityRelation { - /** - * The Account is not associated to any Identity - */ - Unassigned = 'Unassigned', - /** - * The Account is the Identity's primary key (i.e. it has full permission) - */ - Primary = 'Primary', - /** - * The Account is a Secondary account. There are associated permissions that may limit what transactions it may authorize for the Identity - */ - Secondary = 'Secondary', - /** - * The Account is one of many signers for a MultiSig - */ - MultiSigSigner = 'MultiSigSigner', -} - -/** - * The type of account, and its relation to an Identity - */ -export interface AccountTypeInfo { - /** - * The type of Account - */ - keyType: AccountKeyType; - /** - * How or if the account is associated to an Identity - */ - relation: AccountIdentityRelation; -} - -export interface HistoricPolyxTransaction extends EventIdentifier { - /** - * Identity from which the POLYX transaction has been initiated/deducted in case of a transfer. - * @note this can be null in cases where some balance are endowed/transferred from treasury - */ - fromIdentity?: Identity; - /** - * Account from which the POLYX transaction has been initiated/deducted in case of a transfer. - * @note this can be null in cases where some balance are endowed/transferred from treasury - */ - fromAccount?: Account; - /** - * Identity in which the POLYX amount was deposited. - * @note this can be null in case when account balance was burned - */ - toIdentity?: Identity; - /** - * Account in which the POLYX amount was deposited. - * @note this can be null in case when account balance was burned - */ - toAccount?: Account; - - amount: BigNumber; - type: BalanceTypeEnum; - /** - * identifier string to help differentiate transfers - */ - memo?: string; - extrinsicIdx?: BigNumber; - - callId?: CallIdEnum; - moduleId: ModuleIdEnum; - eventId: EventIdEnum; -} diff --git a/src/api/entities/Asset/Base/BaseAsset.ts b/src/api/entities/Asset/Base/BaseAsset.ts deleted file mode 100644 index 02a95e54de..0000000000 --- a/src/api/entities/Asset/Base/BaseAsset.ts +++ /dev/null @@ -1,377 +0,0 @@ -import { Bytes, Option, StorageKey } from '@polkadot/types'; -import { - PalletAssetSecurityToken, - PolymeshPrimitivesAgentAgentGroup, - PolymeshPrimitivesIdentityId, - PolymeshPrimitivesTicker, -} from '@polkadot/types/lookup'; -import BigNumber from 'bignumber.js'; - -import { Compliance } from '~/api/entities/Asset/Base/Compliance'; -import { Documents } from '~/api/entities/Asset/Base/Documents'; -import { Metadata } from '~/api/entities/Asset/Base/Metadata'; -import { Permissions } from '~/api/entities/Asset/Base/Permissions'; -import { - addAssetMediators, - Context, - Entity, - Identity, - PolymeshError, - removeAssetMediators, - toggleFreezeTransfers, - transferAssetOwnership, -} from '~/internal'; -import { - AssetDetails, - AssetMediatorParams, - AuthorizationRequest, - ErrorCode, - NoArgsProcedureMethod, - ProcedureMethod, - SecurityIdentifier, - SubCallback, - TransferAssetOwnershipParams, - UniqueIdentifiers, - UnsubCallback, -} from '~/types'; -import { tickerToDid } from '~/utils'; -import { - assetIdentifierToSecurityIdentifier, - assetTypeToKnownOrId, - balanceToBigNumber, - bigNumberToU32, - boolToBoolean, - bytesToString, - identitiesSetToIdentities, - identityIdToString, - stringToTicker, -} from '~/utils/conversion'; -import { createProcedureMethod } from '~/utils/internal'; - -/** - * Class used to manage functionality common to all assets. - * - */ -export class BaseAsset extends Entity { - // Namespaces - public compliance: Compliance; - public documents: Documents; - public metadata: Metadata; - public permissions: Permissions; - - /** - * Identity ID of the Asset (used for Claims) - */ - public did: string; - - /** - * ticker of the Asset - */ - public ticker: string; - - /** - * Transfer ownership of the Asset to another Identity. This generates an authorization request that must be accepted - * by the recipient - * - * @note this will create {@link api/entities/AuthorizationRequest!AuthorizationRequest | Authorization Request} which has to be accepted by the `target` Identity. - * An {@link api/entities/Account!Account} or {@link api/entities/Identity!Identity} can fetch its pending Authorization Requests by calling {@link api/entities/common/namespaces/Authorizations!Authorizations.getReceived | authorizations.getReceived}. - * Also, an Account or Identity can directly fetch the details of an Authorization Request by calling {@link api/entities/common/namespaces/Authorizations!Authorizations.getOne | authorizations.getOne} - */ - public transferOwnership: ProcedureMethod; - - /** - * @hidden - * Check if a value is of type {@link UniqueIdentifiers} - */ - public static override isUniqueIdentifiers(identifier: unknown): identifier is UniqueIdentifiers { - const { ticker } = identifier as UniqueIdentifiers; - - return typeof ticker === 'string'; - } - - /** - * @hidden - * - * @note It is generally preferable to instantiate `FungibleAsset` or `NftCollection` - */ - constructor(identifiers: UniqueIdentifiers, context: Context) { - super(identifiers, context); - - const { ticker } = identifiers; - - this.ticker = ticker; - this.did = tickerToDid(ticker); - - this.compliance = new Compliance(this, context); - this.documents = new Documents(this, context); - this.metadata = new Metadata(this, context); - this.permissions = new Permissions(this, context); - - this.freeze = createProcedureMethod( - { - getProcedureAndArgs: () => [toggleFreezeTransfers, { ticker, freeze: true }], - voidArgs: true, - }, - context - ); - - this.unfreeze = createProcedureMethod( - { - getProcedureAndArgs: () => [toggleFreezeTransfers, { ticker, freeze: false }], - voidArgs: true, - }, - context - ); - - this.transferOwnership = createProcedureMethod( - { getProcedureAndArgs: args => [transferAssetOwnership, { ticker, ...args }] }, - context - ); - - this.addRequiredMediators = createProcedureMethod( - { - getProcedureAndArgs: args => [addAssetMediators, { asset: this, ...args }], - }, - context - ); - - this.removeRequiredMediators = createProcedureMethod( - { - getProcedureAndArgs: args => [removeAssetMediators, { asset: this, ...args }], - }, - context - ); - } - - /** - * Freeze transfers of the Asset - */ - public freeze: NoArgsProcedureMethod; - - /** - * Unfreeze transfers of the Asset - */ - public unfreeze: NoArgsProcedureMethod; - - /** - * Add required mediators. Mediators must approve any trades involving the asset - */ - public addRequiredMediators: ProcedureMethod; - - /** - * Remove required mediators - */ - public removeRequiredMediators: ProcedureMethod; - - /** - * Retrieve the Asset's identifiers list - * - * @note can be subscribed to - */ - public getIdentifiers(): Promise; - public getIdentifiers(callback?: SubCallback): Promise; - - // eslint-disable-next-line require-jsdoc - public async getIdentifiers( - callback?: SubCallback - ): Promise { - const { - context: { - polymeshApi: { - query: { asset }, - }, - }, - ticker, - context, - } = this; - - const rawTicker = stringToTicker(ticker, context); - - if (callback) { - return asset.identifiers(rawTicker, identifiers => { - // eslint-disable-next-line @typescript-eslint/no-floating-promises -- callback errors should be handled by the caller - callback(identifiers.map(assetIdentifierToSecurityIdentifier)); - }); - } - - const assetIdentifiers = await asset.identifiers(rawTicker); - - return assetIdentifiers.map(assetIdentifierToSecurityIdentifier); - } - - /** - * Check whether transfers are frozen for the Asset - * - * @note can be subscribed to - */ - public isFrozen(): Promise; - public isFrozen(callback: SubCallback): Promise; - - // eslint-disable-next-line require-jsdoc - public async isFrozen(callback?: SubCallback): Promise { - const { - ticker, - context: { - polymeshApi: { - query: { asset }, - }, - }, - context, - } = this; - - const rawTicker = stringToTicker(ticker, context); - - if (callback) { - return asset.frozen(rawTicker, frozen => { - // eslint-disable-next-line @typescript-eslint/no-floating-promises -- callback errors should be handled by the caller - callback(boolToBoolean(frozen)); - }); - } - - const result = await asset.frozen(rawTicker); - - return boolToBoolean(result); - } - - /** - * Retrieve the Asset's data - * - * @note can be subscribed to - */ - public details(): Promise; - public details(callback: SubCallback): Promise; - - // eslint-disable-next-line require-jsdoc - public async details( - callback?: SubCallback - ): Promise { - const { - context: { - polymeshApi: { - query: { asset, externalAgents }, - }, - }, - ticker, - context, - } = this; - - const assembleResult = async ( - optToken: Option, - agentGroups: [ - StorageKey<[PolymeshPrimitivesTicker, PolymeshPrimitivesIdentityId]>, - Option - ][], - assetName: Option - ): Promise => { - const fullAgents: Identity[] = []; - - if (optToken.isNone) { - throw new PolymeshError({ - message: 'Asset detail information not found', - code: ErrorCode.DataUnavailable, - }); - } - - const { totalSupply, divisible, ownerDid, assetType: rawAssetType } = optToken.unwrap(); - - agentGroups.forEach(([storageKey, agentGroup]) => { - const rawAgentGroup = agentGroup.unwrap(); - if (rawAgentGroup.isFull) { - fullAgents.push(new Identity({ did: identityIdToString(storageKey.args[1]) }, context)); - } - }); - - const owner = new Identity({ did: identityIdToString(ownerDid) }, context); - const { value, type } = assetTypeToKnownOrId(rawAssetType); - - let assetType: string; - if (value instanceof BigNumber) { - const customType = await asset.customTypes(bigNumberToU32(value, context)); - assetType = bytesToString(customType); - } else { - assetType = value; - } - - return { - assetType, - nonFungible: type === 'NonFungible', - isDivisible: boolToBoolean(divisible), - name: bytesToString(assetName.unwrap()), - owner, - totalSupply: balanceToBigNumber(totalSupply), - fullAgents, - }; - }; - - const rawTicker = stringToTicker(ticker, context); - - const groupOfAgentPromise = externalAgents.groupOfAgent.entries(rawTicker); - const namePromise = asset.assetNames(rawTicker); - - if (callback) { - const groupEntries = await groupOfAgentPromise; - const assetName = await namePromise; - - return asset.tokens(rawTicker, async securityToken => { - const result = await assembleResult(securityToken, groupEntries, assetName); - - // eslint-disable-next-line @typescript-eslint/no-floating-promises -- callback errors should be handled by the caller - callback(result); - }); - } - - const [token, groups, name] = await Promise.all([ - asset.tokens(rawTicker), - groupOfAgentPromise, - namePromise, - ]); - return assembleResult(token, groups, name); - } - - /** - * Get required Asset mediators. These Identities must approve any Instruction involving the asset - */ - public async getRequiredMediators(): Promise { - const { - context, - ticker, - context: { - polymeshApi: { query }, - }, - } = this; - - const rawTicker = stringToTicker(ticker, context); - - const rawMediators = await query.asset.mandatoryMediators(rawTicker); - - return identitiesSetToIdentities(rawMediators, context); - } - - /** - * @hidden - */ - public async exists(): Promise { - const { - ticker, - context, - context: { - polymeshApi: { query }, - }, - } = this; - const rawTicker = stringToTicker(ticker, context); - - const [tokenSize, nftId] = await Promise.all([ - query.asset.tokens.size(rawTicker), - query.nft.collectionTicker(rawTicker), - ]); - - return !tokenSize.isZero() && nftId.isZero(); - } - - /** - * Return the NftCollection's ticker - */ - public toHuman(): string { - return this.ticker; - } -} diff --git a/src/api/entities/Asset/Base/Compliance/Requirements.ts b/src/api/entities/Asset/Base/Compliance/Requirements.ts deleted file mode 100644 index de8d23700f..0000000000 --- a/src/api/entities/Asset/Base/Compliance/Requirements.ts +++ /dev/null @@ -1,210 +0,0 @@ -import { Vec } from '@polkadot/types/codec'; -import { - PolymeshPrimitivesComplianceManagerAssetCompliance, - PolymeshPrimitivesConditionTrustedIssuer, -} from '@polkadot/types/lookup'; - -import { - addAssetRequirement, - BaseAsset, - Context, - modifyComplianceRequirement, - Namespace, - removeAssetRequirement, - setAssetRequirements, - togglePauseRequirements, -} from '~/internal'; -import { - AddAssetRequirementParams, - ComplianceRequirements, - ModifyComplianceRequirementParams, - NoArgsProcedureMethod, - ProcedureMethod, - RemoveAssetRequirementParams, - SetAssetRequirementsParams, - SubCallback, - UnsubCallback, -} from '~/types'; -import { - boolToBoolean, - complianceRequirementToRequirement, - stringToTicker, - trustedIssuerToTrustedClaimIssuer, -} from '~/utils/conversion'; -import { createProcedureMethod, requestMulti } from '~/utils/internal'; - -/** - * Handles all Asset Compliance Requirements related functionality - */ -export class Requirements extends Namespace { - /** - * @hidden - */ - constructor(parent: BaseAsset, context: Context) { - super(parent, context); - - const { ticker } = parent; - - this.add = createProcedureMethod( - { getProcedureAndArgs: args => [addAssetRequirement, { ticker, ...args }] }, - context - ); - this.remove = createProcedureMethod( - { getProcedureAndArgs: args => [removeAssetRequirement, { ticker, ...args }] }, - context - ); - this.set = createProcedureMethod( - { getProcedureAndArgs: args => [setAssetRequirements, { ticker, ...args }] }, - context - ); - this.reset = createProcedureMethod( - { - getProcedureAndArgs: () => [setAssetRequirements, { ticker, requirements: [] }], - voidArgs: true, - }, - context - ); - this.pause = createProcedureMethod( - { - getProcedureAndArgs: () => [togglePauseRequirements, { ticker, pause: true }], - voidArgs: true, - }, - context - ); - this.unpause = createProcedureMethod( - { - getProcedureAndArgs: () => [togglePauseRequirements, { ticker, pause: false }], - voidArgs: true, - }, - context - ); - this.modify = createProcedureMethod( - { getProcedureAndArgs: args => [modifyComplianceRequirement, { ticker, ...args }] }, - context - ); - } - - /** - * Add a new compliance requirement to the the Asset. This doesn't modify existing requirements - */ - public add: ProcedureMethod; - - /** - * Remove an existing compliance requirement from the Asset - */ - public remove: ProcedureMethod; - - /** - * Configure compliance requirements for the Asset. This operation will replace all existing requirements with a new requirement set - * - * @example Say A, B, C, D and E are requirements and we arrange them as `[[A, B], [C, D], [E]]`. - * For a transfer to succeed, it must either comply with A AND B, C AND D, OR E. - */ - public set: ProcedureMethod; - - /** - * Retrieve all of the Asset's compliance requirements, together with the Default Trusted Claim Issuers - * - * @note can be subscribed to - */ - public get(): Promise; - public get(callback: SubCallback): Promise; - - // eslint-disable-next-line require-jsdoc - public async get( - callback?: SubCallback - ): Promise { - const { - parent: { ticker }, - context: { - polymeshApi: { - query: { complianceManager }, - }, - }, - context, - } = this; - - const rawTicker = stringToTicker(ticker, context); - - const assembleResult = ([assetCompliance, claimIssuers]: [ - PolymeshPrimitivesComplianceManagerAssetCompliance, - Vec - ]): ComplianceRequirements => { - const requirements = assetCompliance.requirements.map(complianceRequirement => - complianceRequirementToRequirement(complianceRequirement, context) - ); - - const defaultTrustedClaimIssuers = claimIssuers.map(issuer => - trustedIssuerToTrustedClaimIssuer(issuer, context) - ); - - return { requirements, defaultTrustedClaimIssuers }; - }; - - if (callback) { - return requestMulti< - [typeof complianceManager.assetCompliances, typeof complianceManager.trustedClaimIssuer] - >( - context, - [ - [complianceManager.assetCompliances, rawTicker], - [complianceManager.trustedClaimIssuer, rawTicker], - ], - res => { - // eslint-disable-next-line @typescript-eslint/no-floating-promises -- callback errors should be handled by the caller - callback(assembleResult(res)); - } - ); - } - - const result = await requestMulti< - [typeof complianceManager.assetCompliances, typeof complianceManager.trustedClaimIssuer] - >(context, [ - [complianceManager.assetCompliances, rawTicker], - [complianceManager.trustedClaimIssuer, rawTicker], - ]); - - return assembleResult(result); - } - - /** - * Delete all the current requirements for the Asset. - */ - public reset: NoArgsProcedureMethod; - - /** - * Pause all the Asset's requirements. This means that all transfers will be allowed until requirements are unpaused - */ - public pause: NoArgsProcedureMethod; - - /** - * Un-pause all the Asset's current requirements - */ - public unpause: NoArgsProcedureMethod; - - /** - * Check whether Asset compliance requirements are paused or not - */ - public async arePaused(): Promise { - const { - parent: { ticker }, - context: { - polymeshApi: { - query: { complianceManager }, - }, - }, - context, - } = this; - - const rawTicker = stringToTicker(ticker, context); - - const { paused } = await complianceManager.assetCompliances(rawTicker); - - return boolToBoolean(paused); - } - - /** - * Modify a compliance requirement for the Asset - */ - public modify: ProcedureMethod; -} diff --git a/src/api/entities/Asset/Base/Compliance/TrustedClaimIssuers.ts b/src/api/entities/Asset/Base/Compliance/TrustedClaimIssuers.ts deleted file mode 100644 index 145b857ed6..0000000000 --- a/src/api/entities/Asset/Base/Compliance/TrustedClaimIssuers.ts +++ /dev/null @@ -1,142 +0,0 @@ -import { PolymeshPrimitivesConditionTrustedIssuer } from '@polkadot/types/lookup'; - -import { - BaseAsset, - Context, - DefaultTrustedClaimIssuer, - modifyAssetTrustedClaimIssuers, - ModifyAssetTrustedClaimIssuersParams, - Namespace, -} from '~/internal'; -import { - ModifyAssetTrustedClaimIssuersAddSetParams, - ModifyAssetTrustedClaimIssuersRemoveParams, - ProcedureMethod, - SubCallback, - TrustedClaimIssuer, - UnsubCallback, -} from '~/types'; -import { TrustedClaimIssuerOperation } from '~/types/internal'; -import { stringToTicker, trustedIssuerToTrustedClaimIssuer } from '~/utils/conversion'; -import { createProcedureMethod } from '~/utils/internal'; - -/** - * Handles all Asset Default Trusted Claim Issuers related functionality - */ -export class TrustedClaimIssuers extends Namespace { - /** - * @hidden - */ - constructor(parent: BaseAsset, context: Context) { - super(parent, context); - - const { ticker } = parent; - - this.set = createProcedureMethod< - ModifyAssetTrustedClaimIssuersAddSetParams, - ModifyAssetTrustedClaimIssuersParams, - void - >( - { - getProcedureAndArgs: args => [ - modifyAssetTrustedClaimIssuers, - { ticker, ...args, operation: TrustedClaimIssuerOperation.Set }, - ], - }, - context - ); - this.add = createProcedureMethod< - ModifyAssetTrustedClaimIssuersAddSetParams, - ModifyAssetTrustedClaimIssuersParams, - void - >( - { - getProcedureAndArgs: args => [ - modifyAssetTrustedClaimIssuers, - { ticker, ...args, operation: TrustedClaimIssuerOperation.Add }, - ], - }, - context - ); - this.remove = createProcedureMethod< - ModifyAssetTrustedClaimIssuersRemoveParams, - ModifyAssetTrustedClaimIssuersParams, - void - >( - { - getProcedureAndArgs: args => [ - modifyAssetTrustedClaimIssuers, - { ticker, ...args, operation: TrustedClaimIssuerOperation.Remove }, - ], - }, - context - ); - } - - /** - * Assign a new default list of trusted claim issuers to the Asset by replacing the existing ones with the list passed as a parameter - * - * This requires two transactions - */ - public set: ProcedureMethod; - - /** - * Add the supplied Identities to the Asset's list of trusted claim issuers - */ - public add: ProcedureMethod; - - /** - * Remove the supplied Identities from the Asset's list of trusted claim issuers * - */ - public remove: ProcedureMethod; - - /** - * Retrieve the current Default Trusted Claim Issuers of the Asset - * - * @note can be subscribed to - */ - public get(): Promise[]>; - public get(callback: SubCallback[]>): Promise; - - // eslint-disable-next-line require-jsdoc - public async get( - callback?: SubCallback[]> - ): Promise[] | UnsubCallback> { - const { - context: { - polymeshApi: { - query: { complianceManager }, - }, - }, - context, - parent: { ticker }, - } = this; - - const rawTicker = stringToTicker(ticker, context); - - const assembleResult = ( - issuers: PolymeshPrimitivesConditionTrustedIssuer[] - ): TrustedClaimIssuer[] => - issuers.map(issuer => { - const { - identity: { did }, - trustedFor, - } = trustedIssuerToTrustedClaimIssuer(issuer, context); - return { - identity: new DefaultTrustedClaimIssuer({ did, ticker }, context), - trustedFor, - }; - }); - - if (callback) { - return complianceManager.trustedClaimIssuer(rawTicker, issuers => { - // eslint-disable-next-line @typescript-eslint/no-floating-promises -- callback errors should be handled by the caller - callback(assembleResult(issuers)); - }); - } - - const claimIssuers = await complianceManager.trustedClaimIssuer(rawTicker); - - return assembleResult(claimIssuers); - } -} diff --git a/src/api/entities/Asset/Base/Compliance/index.ts b/src/api/entities/Asset/Base/Compliance/index.ts deleted file mode 100644 index ee4af6259a..0000000000 --- a/src/api/entities/Asset/Base/Compliance/index.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { BaseAsset, Context, Namespace } from '~/internal'; - -import { Requirements } from './Requirements'; -import { TrustedClaimIssuers } from './TrustedClaimIssuers'; - -/** - * Handles all Asset Compliance related functionality - */ -export class Compliance extends Namespace { - public trustedClaimIssuers: TrustedClaimIssuers; - public requirements: Requirements; - - /** - * @hidden - */ - constructor(parent: BaseAsset, context: Context) { - super(parent, context); - - this.trustedClaimIssuers = new TrustedClaimIssuers(parent, context); - this.requirements = new Requirements(parent, context); - } -} diff --git a/src/api/entities/Asset/Base/Documents/index.ts b/src/api/entities/Asset/Base/Documents/index.ts deleted file mode 100644 index cf6d5e1629..0000000000 --- a/src/api/entities/Asset/Base/Documents/index.ts +++ /dev/null @@ -1,62 +0,0 @@ -import { BaseAsset } from '~/api/entities/Asset/Base/BaseAsset'; -import { Context, Namespace, setAssetDocuments } from '~/internal'; -import { - AssetDocument, - PaginationOptions, - ProcedureMethod, - ResultSet, - SetAssetDocumentsParams, -} from '~/types'; -import { documentToAssetDocument, stringToTicker } from '~/utils/conversion'; -import { createProcedureMethod, requestPaginated } from '~/utils/internal'; - -/** - * Handles all Asset Document related functionality - */ -export class Documents extends Namespace { - /** - * @hidden - */ - constructor(parent: BaseAsset, context: Context) { - super(parent, context); - - const { ticker } = parent; - - this.set = createProcedureMethod( - { getProcedureAndArgs: args => [setAssetDocuments, { ticker, ...args }] }, - context - ); - } - - /** - * Assign a new list of documents to the Asset by replacing the existing list of documents with the ones passed in the parameters - */ - public set: ProcedureMethod; - - /** - * Retrieve all documents linked to the Asset - * - * @note supports pagination - */ - public async get(paginationOpts?: PaginationOptions): Promise> { - const { - context: { - polymeshApi: { query }, - }, - context, - parent: { ticker }, - } = this; - - const { entries, lastKey: next } = await requestPaginated(query.asset.assetDocuments, { - arg: stringToTicker(ticker, context), - paginationOpts, - }); - - const data: AssetDocument[] = entries.map(([, doc]) => documentToAssetDocument(doc.unwrap())); - - return { - data, - next, - }; - } -} diff --git a/src/api/entities/Asset/Base/Metadata/index.ts b/src/api/entities/Asset/Base/Metadata/index.ts deleted file mode 100644 index 2e5924ef10..0000000000 --- a/src/api/entities/Asset/Base/Metadata/index.ts +++ /dev/null @@ -1,148 +0,0 @@ -import { Bytes, Option, u64 } from '@polkadot/types'; -import BigNumber from 'bignumber.js'; - -import { - BaseAsset, - Context, - MetadataEntry, - Namespace, - PolymeshError, - registerMetadata, -} from '~/internal'; -import { ErrorCode, MetadataType, ProcedureMethod, RegisterMetadataParams } from '~/types'; -import { bigNumberToU64, stringToTicker, u64ToBigNumber } from '~/utils/conversion'; -import { createProcedureMethod } from '~/utils/internal'; - -/** - * Handles all Asset Metadata related functionality - */ -export class Metadata extends Namespace { - /** - * @hidden - */ - constructor(parent: BaseAsset, context: Context) { - super(parent, context); - - const { ticker } = parent; - - this.register = createProcedureMethod( - { getProcedureAndArgs: args => [registerMetadata, { ticker, ...args }] }, - context - ); - } - - /** - * Register a metadata for this Asset and optionally set its value. - * The metadata value can be set by passing `value` parameter and specifying other optional `details` about the value - * - * @note This registers a metadata of type `Local` - */ - public register: ProcedureMethod; - - /** - * Retrieve all the MetadataEntry for this Asset - */ - public async get(): Promise { - const { - context: { - polymeshApi: { - query: { - asset: { assetMetadataLocalKeyToName, assetMetadataGlobalKeyToName }, - }, - }, - }, - context, - parent: { ticker }, - } = this; - - const rawTicker = stringToTicker(ticker, context); - - const [rawGlobalKeys, rawLocalKeys] = await Promise.all([ - assetMetadataGlobalKeyToName.entries(), - assetMetadataLocalKeyToName.entries(rawTicker), - ]); - - const assembleResult = (rawId: u64, type: MetadataType): MetadataEntry => - new MetadataEntry({ ticker, type, id: u64ToBigNumber(rawId) }, context); - - return [ - ...rawGlobalKeys.map( - ([ - { - args: [rawId], - }, - ]) => assembleResult(rawId, MetadataType.Global) - ), - ...rawLocalKeys.map( - ([ - { - args: [, rawId], - }, - ]) => assembleResult(rawId, MetadataType.Local) - ), - ]; - } - - /** - * Retrieve a single MetadataEntry by its ID and type - * - * @throws if there is no MetadataEntry with the passed ID and specified type - */ - public async getOne(args: { type: MetadataType; id: BigNumber }): Promise { - const { - context: { - polymeshApi: { - query: { - asset: { assetMetadataLocalKeyToName, assetMetadataGlobalKeyToName }, - }, - }, - }, - context, - parent: { ticker }, - } = this; - - const { id, type } = args; - - const rawId = bigNumberToU64(id, context); - - let rawName: Option; - - if (type === MetadataType.Global) { - rawName = await assetMetadataGlobalKeyToName(rawId); - } else { - const rawTicker = stringToTicker(ticker, context); - rawName = await assetMetadataLocalKeyToName(rawTicker, rawId); - } - - if (rawName.isEmpty) { - throw new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: `There is no ${type.toLowerCase()} Asset Metadata with id "${id.toString()}"`, - }); - } - - return new MetadataEntry({ ticker, type, id }, context); - } - - /** - * Gets the next local metadata ID for the Asset - * - * @hidden - */ - public async getNextLocalId(): Promise { - const { - parent: { ticker }, - context: { - polymeshApi: { - query: { - asset: { assetMetadataNextLocalKey }, - }, - }, - }, - } = this; - - const rawId = await assetMetadataNextLocalKey(ticker); - - return u64ToBigNumber(rawId).plus(1); // "next" is actually the last used - } -} diff --git a/src/api/entities/Asset/Base/Permissions/index.ts b/src/api/entities/Asset/Base/Permissions/index.ts deleted file mode 100644 index 6fc2e25b0e..0000000000 --- a/src/api/entities/Asset/Base/Permissions/index.ts +++ /dev/null @@ -1,175 +0,0 @@ -import BigNumber from 'bignumber.js'; - -import { - AuthorizationRequest, - BaseAsset, - Context, - createGroup, - CustomPermissionGroup, - Identity, - inviteExternalAgent, - KnownPermissionGroup, - Namespace, - PolymeshError, - removeExternalAgent, -} from '~/internal'; -import { - AgentWithGroup, - CreateGroupParams, - ErrorCode, - InviteExternalAgentParams, - PermissionGroups, - PermissionGroupType, - ProcedureMethod, - RemoveExternalAgentParams, -} from '~/types'; -import { - agentGroupToPermissionGroup, - identityIdToString, - stringToTicker, - u32ToBigNumber, -} from '~/utils/conversion'; -import { createProcedureMethod } from '~/utils/internal'; - -/** - * Handles all Asset Permissions related functionality - */ -export class Permissions extends Namespace { - /** - * @hidden - */ - constructor(parent: BaseAsset, context: Context) { - super(parent, context); - - const { ticker } = parent; - - this.createGroup = createProcedureMethod( - { getProcedureAndArgs: args => [createGroup, { ticker, ...args }] }, - context - ); - - this.inviteAgent = createProcedureMethod( - { getProcedureAndArgs: args => [inviteExternalAgent, { ticker, ...args }] }, - context - ); - - this.removeAgent = createProcedureMethod( - { getProcedureAndArgs: args => [removeExternalAgent, { ticker, ...args }] }, - context - ); - } - - /** - * Create a Permission Group for this Asset. Identities can be assigned to Permission Groups as agents. Agents assigned to a Permission Group have said group's permissions over the Asset - */ - public createGroup: ProcedureMethod; - - /** - * Invite an Identity to be an agent with permissions over this Asset - * - * @note this will create an {@link api/entities/AuthorizationRequest!AuthorizationRequest | Authorization Request} which has to be accepted by the `target` Identity. - * An {@link api/entities/Account!Account} or {@link api/entities/Identity!Identity} can fetch its pending Authorization Requests by calling {@link api/entities/common/namespaces/Authorizations!Authorizations.getReceived | authorizations.getReceived}. - * Also, an Account or Identity can directly fetch the details of an Authorization Request by calling {@link api/entities/common/namespaces/Authorizations!Authorizations.getOne | authorizations.getOne} - */ - public inviteAgent: ProcedureMethod; - - /** - * Revoke an agent's permissions over this Asset - */ - public removeAgent: ProcedureMethod; - - /** - * Retrieve a single Permission Group by its ID (or type). Passing an ID will fetch a Custom Permission Group, - * while passing a type will fetch a Known Permission Group - * - * @throws if there is no Permission Group with the passed ID - */ - public async getGroup(args: { id: BigNumber }): Promise; - public async getGroup(args: { type: PermissionGroupType }): Promise; - - // eslint-disable-next-line require-jsdoc - public async getGroup( - args: { id: BigNumber } | { type: PermissionGroupType } - ): Promise { - const { - parent: { ticker }, - context, - } = this; - - if ('type' in args) { - return new KnownPermissionGroup({ ticker, type: args.type }, context); - } - - const customGroup = new CustomPermissionGroup({ ticker, id: args.id }, context); - - const exists = await customGroup.exists(); - - if (!exists) { - throw new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: 'The Permission Group does not exist', - }); - } - - return customGroup; - } - - /** - * Retrieve all Permission Groups of this Asset - */ - public async getGroups(): Promise { - const { - context: { - polymeshApi: { - query: { externalAgents }, - }, - }, - context, - parent: { ticker }, - } = this; - - const known = Object.values(PermissionGroupType).map( - type => new KnownPermissionGroup({ type, ticker }, context) - ); - - const rawCustomPermissionGroups = await externalAgents.groupPermissions.entries( - stringToTicker(ticker, context) - ); - - const custom: CustomPermissionGroup[] = rawCustomPermissionGroups.map( - ([storageKey]) => - new CustomPermissionGroup({ ticker, id: u32ToBigNumber(storageKey.args[1]) }, context) - ); - - return { - known, - custom, - }; - } - - /** - * Retrieve a list of agents (Identities which have permissions over the Asset) and - * their respective Permission Groups - */ - public async getAgents(): Promise { - const { - context: { - polymeshApi: { - query: { externalAgents }, - }, - }, - parent: { ticker }, - context, - } = this; - - const groups = await externalAgents.groupOfAgent.entries(stringToTicker(ticker, context)); - - return groups.map(([storageKey, agentGroup]) => { - const rawAgentGroup = agentGroup.unwrap(); - return { - agent: new Identity({ did: identityIdToString(storageKey.args[1]) }, context), - group: agentGroupToPermissionGroup(rawAgentGroup, ticker, context), - }; - }); - } -} diff --git a/src/api/entities/Asset/Base/Settlements/index.ts b/src/api/entities/Asset/Base/Settlements/index.ts deleted file mode 100644 index f450c086dd..0000000000 --- a/src/api/entities/Asset/Base/Settlements/index.ts +++ /dev/null @@ -1,179 +0,0 @@ -import BigNumber from 'bignumber.js'; - -import { assertPortfolioExists } from '~/api/procedures/utils'; -import { BaseAsset, FungibleAsset, Namespace, Nft, PolymeshError } from '~/internal'; -import { ErrorCode, NftCollection, PortfolioLike, TransferBreakdown } from '~/types'; -import { isFungibleAsset } from '~/utils'; -import { - bigNumberToBalance, - granularCanTransferResultToTransferBreakdown, - nftToMeshNft, - portfolioIdToMeshPortfolioId, - portfolioIdToPortfolio, - portfolioLikeToPortfolioId, - stringToIdentityId, - stringToTicker, -} from '~/utils/conversion'; - -/** - * @hidden - */ -class BaseSettlements extends Namespace { - /** - * Check whether it is possible to create a settlement instruction to transfer a certain amount of this asset between two Portfolios. Returns a breakdown of - * the transaction containing general errors (such as insufficient balance or invalid receiver), any broken transfer restrictions, and any compliance - * failures - * - * @note this takes locked tokens into account. For example, if portfolio A has 1000 tokens and this function is called to check if 700 of them can be - * transferred to portfolio B (assuming everything else checks out) the result will be success. If an instruction is created and authorized to transfer those 700 tokens, - * they would become locked. From that point, further calls to this function would return failed results because of the funds being locked, even though they haven't been - * transferred yet - * - * @param args.from - sender Portfolio (optional, defaults to the signing Identity's Default Portfolio) - * @param args.to - receiver Portfolio - * @param args.amount - amount of fungible tokens to transfer - * @param args.nfts - the NFTs to transfer - * - */ - protected async canTransferBase( - args: - | { - from?: PortfolioLike; - to: PortfolioLike; - amount: BigNumber; - } - | { - from?: PortfolioLike; - to: PortfolioLike; - nfts: (Nft | BigNumber)[]; - } - ): Promise { - const { - parent: { ticker }, - context: { - polymeshApi: { rpc }, - }, - context, - parent, - } = this; - - const { to } = args; - const from = args.from ?? (await context.getSigningIdentity()); - - let isDivisible = false; - let amount = new BigNumber(0); - const fromPortfolioId = portfolioLikeToPortfolioId(from); - const toPortfolioId = portfolioLikeToPortfolioId(to); - const fromPortfolio = portfolioIdToPortfolio(fromPortfolioId, context); - const toPortfolio = portfolioIdToPortfolio(toPortfolioId, context); - - const [, , fromCustodian, toCustodian] = await Promise.all([ - assertPortfolioExists(fromPortfolioId, context), - assertPortfolioExists(toPortfolioId, context), - fromPortfolio.getCustodian(), - toPortfolio.getCustodian(), - ]); - - if (isFungibleAsset(parent)) { - ({ isDivisible } = await parent.details()); - } - - const rawFromPortfolio = portfolioIdToMeshPortfolioId(fromPortfolioId, context); - const rawToPortfolio = portfolioIdToMeshPortfolioId(toPortfolioId, context); - - let granularResult; - let nftResult; - - if ('amount' in args) { - amount = args.amount; - ({ isDivisible } = await parent.details()); - granularResult = await rpc.asset.canTransferGranular( - stringToIdentityId(fromCustodian.did, context), - rawFromPortfolio, - stringToIdentityId(toCustodian.did, context), - rawToPortfolio, - stringToTicker(ticker, context), - bigNumberToBalance(amount, context, isDivisible) - ); - } else { - const rawNfts = nftToMeshNft(ticker, args.nfts, context); - [granularResult, nftResult] = await Promise.all([ - rpc.asset.canTransferGranular( - stringToIdentityId(fromCustodian.did, context), - rawFromPortfolio, - stringToIdentityId(toCustodian.did, context), - rawToPortfolio, - stringToTicker(ticker, context), - bigNumberToBalance(amount, context, isDivisible) - ), - rpc.nft.validateNFTTransfer(rawFromPortfolio, rawToPortfolio, rawNfts), - ]); - } - - if (!granularResult.isOk) { - throw new PolymeshError({ - code: ErrorCode.LimitExceeded, - message: - 'RPC result from "asset.canTransferGranular" was not OK. Execution meter was likely exceeded', - }); - } - - return granularCanTransferResultToTransferBreakdown(granularResult.asOk, nftResult, context); - } -} - -/** - * Handles all Asset Settlements related functionality - */ -export class FungibleSettlements extends BaseSettlements { - /** - * Check whether it is possible to create a settlement instruction to transfer a certain amount of this asset between two Portfolios. Returns a breakdown of - * the transaction containing general errors (such as insufficient balance or invalid receiver), any broken transfer restrictions, and any compliance - * failures - * - * @note this takes locked tokens into account. For example, if portfolio A has 1000 tokens and this function is called to check if 700 of them can be - * transferred to portfolio B (assuming everything else checks out) the result will be success. If an instruction is created and authorized to transfer those 700 tokens, - * they would become locked. From that point, further calls to this function would return failed results because of the funds being locked, even though they haven't been - * transferred yet - * - * @param args.from - sender Portfolio (optional, defaults to the signing Identity's Default Portfolio) - * @param args.to - receiver Portfolio - * @param args.amount - amount of tokens to transfer - * - */ - public async canTransfer(args: { - from?: PortfolioLike; - to: PortfolioLike; - amount: BigNumber; - }): Promise { - return this.canTransferBase(args); - } -} - -/** - * Handles all Asset Settlements related functionality - */ -export class NonFungibleSettlements extends BaseSettlements { - /** - * Check whether it is possible to create a settlement instruction to transfer an NFT between two Portfolios. Returns a breakdown of - * the transaction containing general errors (such as insufficient balance or invalid receiver), any broken transfer restrictions, and any compliance - * failures - * - * @note this takes locked tokens into account. For example, if portfolio A has NFTs 1, 2 and 3 of a collection and this function is called to check if 1 of them can be - * transferred to portfolio B (assuming everything else checks out) the result will be success. If an instruction is created and authorized to transfer that token, - * they would become locked. From that point, further calls to this function would return failed results because of the funds being locked, even though it hasn't been - * transferred yet - * - * @param args.from - sender Portfolio (optional, defaults to the signing Identity's Default Portfolio) - * @param args.to - receiver Portfolio - * @param args.nfts - the NFTs to transfer - * - */ - public async canTransfer(args: { - from?: PortfolioLike; - to: PortfolioLike; - nfts: (BigNumber | Nft)[]; - }): Promise { - return this.canTransferBase(args); - } -} diff --git a/src/api/entities/Asset/Base/index.ts b/src/api/entities/Asset/Base/index.ts deleted file mode 100644 index 6ed3bb5ea5..0000000000 --- a/src/api/entities/Asset/Base/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './BaseAsset'; diff --git a/src/api/entities/Asset/Fungible/AssetHolders/index.ts b/src/api/entities/Asset/Fungible/AssetHolders/index.ts deleted file mode 100644 index 153c26afef..0000000000 --- a/src/api/entities/Asset/Fungible/AssetHolders/index.ts +++ /dev/null @@ -1,44 +0,0 @@ -import BigNumber from 'bignumber.js'; - -import { FungibleAsset, Identity, Namespace } from '~/internal'; -import { IdentityBalance, PaginationOptions, ResultSet } from '~/types'; -import { balanceToBigNumber, identityIdToString, stringToTicker } from '~/utils/conversion'; -import { requestPaginated } from '~/utils/internal'; - -/** - * Handles all Asset Holders related functionality - */ -export class AssetHolders extends Namespace { - /** - * Retrieve all the Asset Holders with their respective balance - * - * @note supports pagination - */ - public async get(paginationOpts?: PaginationOptions): Promise> { - const { - context: { - polymeshApi: { query }, - }, - context, - parent: { ticker }, - } = this; - - const rawTicker = stringToTicker(ticker, context); - const { entries, lastKey: next } = await requestPaginated(query.asset.balanceOf, { - arg: rawTicker, - paginationOpts, - }); - - const data: { identity: Identity; balance: BigNumber }[] = entries.map( - ([storageKey, balance]) => ({ - identity: new Identity({ did: identityIdToString(storageKey.args[1]) }, context), - balance: balanceToBigNumber(balance), - }) - ); - - return { - data, - next, - }; - } -} diff --git a/src/api/entities/Asset/Fungible/Checkpoints/Schedules.ts b/src/api/entities/Asset/Fungible/Checkpoints/Schedules.ts deleted file mode 100644 index d78d4a3c06..0000000000 --- a/src/api/entities/Asset/Fungible/Checkpoints/Schedules.ts +++ /dev/null @@ -1,133 +0,0 @@ -import BigNumber from 'bignumber.js'; - -import { - CheckpointSchedule, - Context, - createCheckpointSchedule, - FungibleAsset, - Namespace, - PolymeshError, - removeCheckpointSchedule, -} from '~/internal'; -import { - CreateCheckpointScheduleParams, - ErrorCode, - ProcedureMethod, - RemoveCheckpointScheduleParams, - ScheduleWithDetails, -} from '~/types'; -import { momentToDate, stringToTicker, u64ToBigNumber } from '~/utils/conversion'; -import { createProcedureMethod } from '~/utils/internal'; - -/** - * Handles all Asset Checkpoint Schedules related functionality - */ -export class Schedules extends Namespace { - /** - * @hidden - */ - constructor(parent: FungibleAsset, context: Context) { - super(parent, context); - - const { ticker } = parent; - - this.create = createProcedureMethod( - { getProcedureAndArgs: args => [createCheckpointSchedule, { ticker, ...args }] }, - context - ); - this.remove = createProcedureMethod( - { getProcedureAndArgs: args => [removeCheckpointSchedule, { ticker, ...args }] }, - context - ); - } - - /** - * Create a schedule for Checkpoint creation (e.g. "Create a checkpoint every week for 5 weeks, starting next tuesday") - * - * @note ⚠️ Chain v6 introduces changes in how checkpoints are created. Only a set amount of points can be specified, infinitely repeating schedules are deprecated - * - * @note due to chain limitations, schedules are advanced and (if appropriate) executed whenever the Asset is - * redeemed, issued or transferred between portfolios. This means that on an Asset without much movement, there may be disparities between intended Checkpoint creation dates - * and the actual date when they are created. This, however, has no effect on the Checkpoint's accuracy regarding to balances - */ - public create: ProcedureMethod; - - /** - * Remove the supplied Checkpoint Schedule for a given Asset - */ - public remove: ProcedureMethod; - - /** - * Retrieve a single Checkpoint Schedule associated to this Asset by its ID - * - * @throws if there is no Schedule with the passed ID - */ - public async getOne({ id }: { id: BigNumber }): Promise { - const schedules = await this.get(); - - const result = schedules.find(({ schedule }) => schedule.id.eq(id)); - - if (!result) { - throw new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: 'The Schedule does not exist', - }); - } - - return result; - } - - /** - * Retrieve all active Checkpoint Schedules - */ - public async get(): Promise { - const { - parent: { ticker }, - context: { - polymeshApi: { - query: { checkpoint }, - }, - }, - context, - } = this; - - const rawTicker = stringToTicker(ticker, context); - - const rawSchedulesEntries = await checkpoint.scheduledCheckpoints.entries(rawTicker); - - return rawSchedulesEntries.map(([key, rawScheduleOpt]) => { - const rawSchedule = rawScheduleOpt.unwrap(); - const rawId = key.args[1]; - const id = u64ToBigNumber(rawId); - const points = [...rawSchedule.pending].map(rawPoint => momentToDate(rawPoint)); - const schedule = new CheckpointSchedule( - { - ticker, - id, - pendingPoints: points, - }, - context - ); - - const remainingCheckpoints = new BigNumber([...rawSchedule.pending].length); - return { - schedule, - details: { - remainingCheckpoints, - nextCheckpointDate: points[0], - }, - }; - }); - } - - /** - * Retrieve the maximum allowed Schedule complexity for this Asset - */ - public async maxComplexity(): Promise { - const { context } = this; - - const complexity = await context.polymeshApi.query.checkpoint.schedulesMaxComplexity(); - - return u64ToBigNumber(complexity); - } -} diff --git a/src/api/entities/Asset/Fungible/Checkpoints/__tests__/Schedules.ts b/src/api/entities/Asset/Fungible/Checkpoints/__tests__/Schedules.ts deleted file mode 100644 index b34dcbf725..0000000000 --- a/src/api/entities/Asset/Fungible/Checkpoints/__tests__/Schedules.ts +++ /dev/null @@ -1,203 +0,0 @@ -import { PolymeshPrimitivesTicker } from '@polkadot/types/lookup'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { CheckpointSchedule, Context, Namespace, PolymeshTransaction } from '~/internal'; -import { Moment } from '~/polkadot'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { tuple } from '~/types/utils'; -import * as utilsConversionModule from '~/utils/conversion'; - -import { Schedules } from '../Schedules'; - -jest.mock( - '~/api/entities/CheckpointSchedule', - require('~/testUtils/mocks/entities').mockCheckpointScheduleModule( - '~/api/entities/CheckpointSchedule' - ) -); -jest.mock( - '~/base/Procedure', - require('~/testUtils/mocks/procedure').mockProcedureModule('~/base/Procedure') -); - -describe('Schedules class', () => { - let context: Context; - let schedules: Schedules; - - let ticker: string; - - let stringToTickerSpy: jest.SpyInstance; - - beforeAll(() => { - entityMockUtils.initMocks(); - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - - ticker = 'SOME_TICKER'; - - stringToTickerSpy = jest.spyOn(utilsConversionModule, 'stringToTicker'); - }); - - afterEach(() => { - entityMockUtils.reset(); - dsMockUtils.reset(); - procedureMockUtils.reset(); - - context = dsMockUtils.getContextInstance(); - - const asset = entityMockUtils.getFungibleAssetInstance({ ticker }); - schedules = new Schedules(asset, context); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - procedureMockUtils.cleanup(); - }); - - it('should extend namespace', () => { - expect(Schedules.prototype instanceof Namespace).toBe(true); - }); - - describe('method: create', () => { - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { - const expectedTransaction = - 'someTransaction' as unknown as PolymeshTransaction; - - const now = new Date(); - const nextMonth = new Date(now.getTime() + 30 * 24 * 60 * 60 * 1000); - const args = { - points: [nextMonth], - }; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args: { ticker, ...args }, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const tx = await schedules.create(args); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: remove', () => { - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - const args = { - schedule: new BigNumber(1), - }; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args: { ticker, ...args }, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const tx = await schedules.remove(args); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: getOne', () => { - let getSpy: jest.SpyInstance; - let id: BigNumber; - - beforeAll(() => { - id = new BigNumber(1); - }); - - beforeEach(() => { - getSpy = jest.spyOn(schedules, 'get'); - }); - - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should return the requested Checkpoint Schedule', async () => { - const fakeResult = { - schedule: entityMockUtils.getCheckpointScheduleInstance({ id }), - details: { - remainingCheckpoints: 1, - nextCheckpointDate: new Date(), - }, - }; - - getSpy.mockResolvedValue([fakeResult]); - - const result = await schedules.getOne({ id }); - expect(result).toEqual(fakeResult); - }); - - it('should throw an error if the Schedule does not exist', () => { - getSpy.mockResolvedValue([]); - - return expect(schedules.getOne({ id })).rejects.toThrow('The Schedule does not exist'); - }); - }); - - describe('method: get', () => { - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should return the current checkpoint schedules', async () => { - const rawTicker = dsMockUtils.createMockTicker(ticker); - const id = new BigNumber(1); - const rawId = dsMockUtils.createMockU64(id); - const start = new Date('10/14/1987'); - const nextCheckpointDate = new Date('10/14/2030'); - const remaining = new BigNumber(2); - - when(stringToTickerSpy).calledWith(ticker, context).mockReturnValue(rawTicker); - - dsMockUtils.createQueryMock('checkpoint', 'scheduledCheckpoints', { - entries: [ - tuple( - [dsMockUtils.createMockTicker(rawTicker), rawId], - dsMockUtils.createMockOption( - dsMockUtils.createMockCheckpointSchedule({ - pending: dsMockUtils.createMockBTreeSet([ - dsMockUtils.createMockMoment(new BigNumber(start.getTime())), - dsMockUtils.createMockMoment(new BigNumber(nextCheckpointDate.getTime())), - ]), - }) - ) - ), - ], - }); - - const result = await schedules.get(); - - expect(result[0].details).toEqual({ - remainingCheckpoints: remaining, - nextCheckpointDate: start, - }); - expect(result[0].schedule.id).toEqual(id); - expect(result[0].schedule.asset.ticker).toEqual(ticker); - }); - }); - - describe('method: maxComplexity', () => { - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should return the maximum complexity from the chain', async () => { - dsMockUtils.createQueryMock('checkpoint', 'schedulesMaxComplexity', { - returnValue: dsMockUtils.createMockU64(new BigNumber(20)), - }); - - const result = await schedules.maxComplexity(); - - expect(result).toEqual(new BigNumber(20)); - }); - }); -}); diff --git a/src/api/entities/Asset/Fungible/Checkpoints/__tests__/index.ts b/src/api/entities/Asset/Fungible/Checkpoints/__tests__/index.ts deleted file mode 100644 index 64fed76814..0000000000 --- a/src/api/entities/Asset/Fungible/Checkpoints/__tests__/index.ts +++ /dev/null @@ -1,163 +0,0 @@ -import { StorageKey } from '@polkadot/types'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { Checkpoint, Context, Namespace, PolymeshTransaction } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { tuple } from '~/types/utils'; -import * as utilsConversionModule from '~/utils/conversion'; -import * as utilsInternalModule from '~/utils/internal'; - -import { Checkpoints } from '..'; - -jest.mock( - '~/api/entities/Checkpoint', - require('~/testUtils/mocks/entities').mockCheckpointModule('~/api/entities/Checkpoint') -); -jest.mock( - '~/api/entities/CheckpointSchedule', - require('~/testUtils/mocks/entities').mockCheckpointScheduleModule( - '~/api/entities/CheckpointSchedule' - ) -); -jest.mock( - '~/base/Procedure', - require('~/testUtils/mocks/procedure').mockProcedureModule('~/base/Procedure') -); - -describe('Checkpoints class', () => { - const ticker = 'SOME_TICKER'; - const rawTicker = dsMockUtils.createMockTicker(ticker); - - let checkpoints: Checkpoints; - let context: Context; - - beforeAll(() => { - entityMockUtils.initMocks(); - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - }); - - afterEach(() => { - entityMockUtils.reset(); - dsMockUtils.reset(); - procedureMockUtils.reset(); - - context = dsMockUtils.getContextInstance(); - const asset = entityMockUtils.getFungibleAssetInstance({ ticker }); - checkpoints = new Checkpoints(asset, context); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - procedureMockUtils.cleanup(); - }); - - it('should extend namespace', () => { - expect(Checkpoints.prototype instanceof Namespace).toBe(true); - }); - - describe('method: create', () => { - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args: { ticker }, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const tx = await checkpoints.create(); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: getOne', () => { - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should return the requested Checkpoint', async () => { - const id = new BigNumber(1); - - const result = await checkpoints.getOne({ id }); - - expect(result.id).toEqual(id); - expect(result.asset.ticker).toBe(ticker); - }); - - it('should throw an error if the Checkpoint does not exist', async () => { - const id = new BigNumber(1); - - entityMockUtils.configureMocks({ checkpointOptions: { exists: false } }); - - return expect(checkpoints.getOne({ id })).rejects.toThrow('The Checkpoint does not exist'); - }); - }); - - describe('method: get', () => { - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should return all created checkpoints with their timestamps and total supply', async () => { - const stringToTickerSpy = jest.spyOn(utilsConversionModule, 'stringToTicker'); - - dsMockUtils.createQueryMock('checkpoint', 'totalSupply'); - - const requestPaginatedSpy = jest.spyOn(utilsInternalModule, 'requestPaginated'); - - const totalSupply = [ - { - checkpointId: new BigNumber(1), - balance: new BigNumber(100), - moment: new Date('10/10/2020'), - }, - { - checkpointId: new BigNumber(2), - balance: new BigNumber(1000), - moment: new Date('11/11/2020'), - }, - ]; - - when(stringToTickerSpy).calledWith(ticker, context).mockReturnValue(rawTicker); - - const rawTotalSupply = totalSupply.map(({ checkpointId, balance }) => ({ - checkpointId: dsMockUtils.createMockU64(checkpointId), - balance: dsMockUtils.createMockBalance(balance), - })); - - const totalSupplyEntries = rawTotalSupply.map(({ checkpointId, balance }) => - tuple({ args: [rawTicker, checkpointId] } as unknown as StorageKey, balance) - ); - - requestPaginatedSpy.mockResolvedValue({ entries: totalSupplyEntries, lastKey: null }); - - const timestampsMock = dsMockUtils.createQueryMock('checkpoint', 'timestamps'); - timestampsMock.multi.mockResolvedValue( - totalSupply.map(({ moment }) => - dsMockUtils.createMockMoment(new BigNumber(moment.getTime())) - ) - ); - - const result = await checkpoints.get(); - - result.data.forEach(({ checkpoint, totalSupply: ts, createdAt }, index) => { - const { - checkpointId: expectedCheckpointId, - balance: expectedBalance, - moment: expectedMoment, - } = totalSupply[index]; - - expect(checkpoint.id).toEqual(expectedCheckpointId); - expect(checkpoint.asset.ticker).toBe(ticker); - expect(ts).toEqual(expectedBalance.shiftedBy(-6)); - expect(createdAt).toEqual(expectedMoment); - }); - expect(result.next).toBeNull(); - }); - }); -}); diff --git a/src/api/entities/Asset/Fungible/Checkpoints/index.ts b/src/api/entities/Asset/Fungible/Checkpoints/index.ts deleted file mode 100644 index 08963d498d..0000000000 --- a/src/api/entities/Asset/Fungible/Checkpoints/index.ts +++ /dev/null @@ -1,140 +0,0 @@ -import { u64 } from '@polkadot/types'; -import { PolymeshPrimitivesTicker } from '@polkadot/types/lookup'; -import BigNumber from 'bignumber.js'; - -import { - Checkpoint, - Context, - createCheckpoint, - FungibleAsset, - Namespace, - PolymeshError, -} from '~/internal'; -import { - CheckpointWithData, - ErrorCode, - NoArgsProcedureMethod, - PaginationOptions, - ResultSet, -} from '~/types'; -import { tuple } from '~/types/utils'; -import { - balanceToBigNumber, - momentToDate, - stringToTicker, - u64ToBigNumber, -} from '~/utils/conversion'; -import { createProcedureMethod, requestPaginated } from '~/utils/internal'; - -import { Schedules } from './Schedules'; - -/** - * Handles all Asset Checkpoints related functionality - */ -export class Checkpoints extends Namespace { - public schedules: Schedules; - - /** - * @hidden - */ - constructor(parent: FungibleAsset, context: Context) { - super(parent, context); - - const { ticker } = parent; - - this.create = createProcedureMethod( - { getProcedureAndArgs: () => [createCheckpoint, { ticker }], voidArgs: true }, - context - ); - - this.schedules = new Schedules(parent, context); - } - - /** - * Create a snapshot of Asset Holders and their respective balances at this moment - */ - public create: NoArgsProcedureMethod; - - /** - * Retrieve a single Checkpoint for this Asset by its ID - * - * @throws if there is no Checkpoint with the passed ID - */ - public async getOne(args: { id: BigNumber }): Promise { - const { - parent: { ticker }, - context, - } = this; - - const checkpoint = new Checkpoint({ id: args.id, ticker }, context); - - const exists = await checkpoint.exists(); - - if (!exists) { - throw new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: 'The Checkpoint does not exist', - }); - } - - return checkpoint; - } - - /** - * Retrieve all Checkpoints created on this Asset, together with their corresponding creation Date and Total Supply - * - * @note supports pagination - */ - public async get(paginationOpts?: PaginationOptions): Promise> { - const { - parent: { ticker }, - context, - context: { - polymeshApi: { - query: { checkpoint: checkpointQuery }, - }, - }, - } = this; - - const rawTicker = stringToTicker(ticker, context); - - const { entries, lastKey: next } = await requestPaginated(checkpointQuery.totalSupply, { - arg: rawTicker, - paginationOpts, - }); - - const checkpointsMultiParams: [PolymeshPrimitivesTicker, u64][] = []; - const checkpoints: { checkpoint: Checkpoint; totalSupply: BigNumber }[] = []; - - entries.forEach( - ([ - { - args: [, id], - }, - balance, - ]) => { - checkpointsMultiParams.push(tuple(rawTicker, id)); - checkpoints.push({ - checkpoint: new Checkpoint({ id: u64ToBigNumber(id), ticker }, context), - totalSupply: balanceToBigNumber(balance), - }); - } - ); - - const timestamps = await checkpointQuery.timestamps.multi(checkpointsMultiParams); - - const data = timestamps.map((moment, i) => { - const { totalSupply, checkpoint } = checkpoints[i]; - return { - checkpoint, - totalSupply, - createdAt: momentToDate(moment), - }; - }); - - return { - data, - next, - }; - } -} diff --git a/src/api/entities/Asset/Fungible/Checkpoints/types.ts b/src/api/entities/Asset/Fungible/Checkpoints/types.ts deleted file mode 100644 index 9b059df248..0000000000 --- a/src/api/entities/Asset/Fungible/Checkpoints/types.ts +++ /dev/null @@ -1,27 +0,0 @@ -import BigNumber from 'bignumber.js'; - -import { Checkpoint, CheckpointSchedule } from '~/internal'; - -export enum CaCheckpointType { - Existing = 'Existing', - Schedule = 'Schedule', -} - -export type InputCaCheckpoint = - | Checkpoint - | CheckpointSchedule - | Date - | { - type: CaCheckpointType.Existing; - /** - * identifier for an existing Checkpoint - */ - id: BigNumber; - } - | { - type: CaCheckpointType.Schedule; - /** - * identifier for a Checkpoint Schedule - */ - id: BigNumber; - }; diff --git a/src/api/entities/Asset/Fungible/CorporateActions/Distributions.ts b/src/api/entities/Asset/Fungible/CorporateActions/Distributions.ts deleted file mode 100644 index df3645a899..0000000000 --- a/src/api/entities/Asset/Fungible/CorporateActions/Distributions.ts +++ /dev/null @@ -1,119 +0,0 @@ -import BigNumber from 'bignumber.js'; - -import { - configureDividendDistribution, - Context, - DividendDistribution, - FungibleAsset, - Namespace, - PolymeshError, -} from '~/internal'; -import { - ConfigureDividendDistributionParams, - DistributionWithDetails, - ErrorCode, - ProcedureMethod, -} from '~/types'; -import { - balanceToBigNumber, - bigNumberToU32, - boolToBoolean, - corporateActionIdentifierToCaId, - distributionToDividendDistributionParams, - meshCorporateActionToCorporateActionParams, - stringToTicker, -} from '~/utils/conversion'; -import { createProcedureMethod } from '~/utils/internal'; - -/** - * Handles all Asset Distributions related functionality - */ -export class Distributions extends Namespace { - /** - * Create a Dividend Distribution for a subset of the Asset Holders at a certain (existing or future) Checkpoint - * - * @note required role: - * - Origin Portfolio Custodian - */ - public configureDividendDistribution: ProcedureMethod< - ConfigureDividendDistributionParams, - DividendDistribution - >; - - /** - * @hidden - */ - constructor(parent: FungibleAsset, context: Context) { - super(parent, context); - - const { ticker } = parent; - - this.configureDividendDistribution = createProcedureMethod( - { getProcedureAndArgs: args => [configureDividendDistribution, { ticker, ...args }] }, - context - ); - } - - /** - * Retrieve a single Dividend Distribution associated to this Asset by its ID - * - * @throws if there is no Distribution with the passed ID - */ - public async getOne(args: { id: BigNumber }): Promise { - const { - parent: { ticker }, - context: { - polymeshApi: { query }, - }, - context, - } = this; - const { id } = args; - - const rawTicker = stringToTicker(ticker, context); - const rawLocalId = bigNumberToU32(id, context); - const rawCaId = corporateActionIdentifierToCaId({ ticker, localId: id }, context); - const [corporateAction, capitalDistribution, details] = await Promise.all([ - query.corporateAction.corporateActions(rawTicker, rawLocalId), - query.capitalDistribution.distributions(rawCaId), - query.corporateAction.details(rawCaId), - ]); - - if (corporateAction.isNone || capitalDistribution.isNone) { - throw new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: 'The Dividend Distribution does not exist', - }); - } - - const dist = capitalDistribution.unwrap(); - - const distribution = new DividendDistribution( - { - id, - ticker, - ...meshCorporateActionToCorporateActionParams(corporateAction.unwrap(), details, context), - ...distributionToDividendDistributionParams(dist, context), - }, - context - ); - - const { reclaimed, remaining } = dist; - - return { - distribution, - details: { - remainingFunds: balanceToBigNumber(remaining), - fundsReclaimed: boolToBoolean(reclaimed), - }, - }; - } - - /** - * Retrieve all Dividend Distributions associated to this Asset, along with their details - */ - public get(): Promise { - const { parent, context } = this; - - return context.getDividendDistributionsForAssets({ assets: [parent] }); - } -} diff --git a/src/api/entities/Asset/Fungible/CorporateActions/__tests__/Distributions.ts b/src/api/entities/Asset/Fungible/CorporateActions/__tests__/Distributions.ts deleted file mode 100644 index e7eb2b6c53..0000000000 --- a/src/api/entities/Asset/Fungible/CorporateActions/__tests__/Distributions.ts +++ /dev/null @@ -1,230 +0,0 @@ -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { DividendDistribution, Namespace, PolymeshTransaction } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { ConfigureDividendDistributionParams, DistributionWithDetails } from '~/types'; -import * as utilsConversionModule from '~/utils/conversion'; - -import { Distributions } from '../Distributions'; - -jest.mock( - '~/api/entities/DividendDistribution', - require('~/testUtils/mocks/entities').mockDividendDistributionModule( - '~/api/entities/DividendDistribution' - ) -); -jest.mock( - '~/api/entities/DefaultPortfolio', - require('~/testUtils/mocks/entities').mockDefaultPortfolioModule( - '~/api/entities/DefaultPortfolio' - ) -); -jest.mock( - '~/api/entities/NumberedPortfolio', - require('~/testUtils/mocks/entities').mockNumberedPortfolioModule( - '~/api/entities/NumberedPortfolio' - ) -); -jest.mock( - '~/base/Procedure', - require('~/testUtils/mocks/procedure').mockProcedureModule('~/base/Procedure') -); - -describe('Distributions class', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - entityMockUtils.initMocks(); - procedureMockUtils.initMocks(); - }); - - beforeEach(() => { - dsMockUtils.reset(); - entityMockUtils.reset(); - procedureMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - procedureMockUtils.cleanup(); - }); - - it('should extend namespace', () => { - expect(Distributions.prototype instanceof Namespace).toBe(true); - }); - - describe('method: configureDividendDistribution', () => { - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { - const context = dsMockUtils.getContextInstance(); - const asset = entityMockUtils.getFungibleAssetInstance(); - const distributions = new Distributions(asset, context); - - const args = { foo: 'bar' } as unknown as ConfigureDividendDistributionParams; - - const expectedTransaction = - 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith( - { args: { ticker: asset.ticker, ...args }, transformer: undefined }, - context, - {} - ) - .mockResolvedValue(expectedTransaction); - - const tx = await distributions.configureDividendDistribution(args); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: getOne', () => { - beforeAll(() => { - jest.spyOn(utilsConversionModule, 'stringToTicker').mockImplementation(); - jest.spyOn(utilsConversionModule, 'bigNumberToU32').mockImplementation(); - }); - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should return the requested Distribution', async () => { - const ticker = 'SOME_TICKER'; - const id = new BigNumber(1); - - dsMockUtils.createQueryMock('corporateAction', 'corporateActions', { - returnValue: dsMockUtils.createMockOption( - dsMockUtils.createMockCorporateAction({ - kind: 'PredictableBenefit', - targets: { - identities: ['someDid'], - treatment: 'Exclude', - }, - /* eslint-disable @typescript-eslint/naming-convention */ - decl_date: new BigNumber(0), - record_date: null, - default_withholding_tax: new BigNumber(3), - withholding_tax: [], - /* eslint-enable @typescript-eslint/naming-convention */ - }) - ), - }); - dsMockUtils.createQueryMock('corporateAction', 'details', { - returnValue: dsMockUtils.createMockBytes('something'), - }); - dsMockUtils.createQueryMock('capitalDistribution', 'distributions', { - returnValue: dsMockUtils.createMockOption( - dsMockUtils.createMockDistribution({ - from: { did: 'someDid', kind: 'Default' }, - currency: 'CLP', - perShare: new BigNumber(1000000000), - amount: new BigNumber(100000000000), - remaining: new BigNumber(5000000000), - reclaimed: false, - paymentAt: new BigNumber(10000000000), - expiresAt: dsMockUtils.createMockOption(), - }) - ), - }); - - const context = dsMockUtils.getContextInstance(); - const asset = entityMockUtils.getFungibleAssetInstance({ ticker }); - - const target = new Distributions(asset, context); - - const { distribution, details } = await target.getOne({ id }); - - expect(distribution.id).toEqual(id); - expect(distribution.asset.ticker).toBe(ticker); - expect(distribution instanceof DividendDistribution).toBe(true); - expect(details.fundsReclaimed).toBe(false); - expect(details.remainingFunds).toEqual(new BigNumber(5000)); - }); - - it('should throw an error if the Distribution does not exist', async () => { - const ticker = 'SOME_TICKER'; - const id = new BigNumber(1); - - dsMockUtils.createQueryMock('corporateAction', 'corporateActions', { - returnValue: dsMockUtils.createMockOption( - dsMockUtils.createMockCorporateAction({ - kind: 'PredictableBenefit', - targets: { - identities: ['someDid'], - treatment: 'Exclude', - }, - /* eslint-disable @typescript-eslint/naming-convention */ - decl_date: new BigNumber(0), - record_date: null, - default_withholding_tax: new BigNumber(3), - withholding_tax: [], - /* eslint-enable @typescript-eslint/naming-convention */ - }) - ), - }); - dsMockUtils.createQueryMock('corporateAction', 'details', { - returnValue: dsMockUtils.createMockText('something'), - }); - dsMockUtils.createQueryMock('capitalDistribution', 'distributions', { - returnValue: dsMockUtils.createMockOption(), - }); - - const context = dsMockUtils.getContextInstance(); - const asset = entityMockUtils.getFungibleAssetInstance({ ticker }); - - const target = new Distributions(asset, context); - - await expect(target.getOne({ id })).rejects.toThrow( - 'The Dividend Distribution does not exist' - ); - - dsMockUtils.createQueryMock('corporateAction', 'corporateActions', { - returnValue: dsMockUtils.createMockOption(), - }); - dsMockUtils.createQueryMock('capitalDistribution', 'distributions', { - returnValue: dsMockUtils.createMockOption( - dsMockUtils.createMockDistribution({ - from: { did: 'someDid', kind: 'Default' }, - currency: 'CLP', - perShare: new BigNumber(1000), - amount: new BigNumber(100000), - remaining: new BigNumber(5000), - reclaimed: false, - paymentAt: new BigNumber(100000000), - expiresAt: dsMockUtils.createMockOption(), - }) - ), - }); - - return expect(target.getOne({ id })).rejects.toThrow( - 'The Dividend Distribution does not exist' - ); - }); - }); - - describe('method: get', () => { - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should return all distributions associated to the Asset', async () => { - const ticker = 'SOME_TICKER'; - - const context = dsMockUtils.getContextInstance(); - const asset = entityMockUtils.getFungibleAssetInstance({ ticker }); - - when(context.getDividendDistributionsForAssets) - .calledWith({ assets: [asset] }) - .mockResolvedValue('distributions' as unknown as DistributionWithDetails[]); - - const target = new Distributions(asset, context); - - const result = await target.get(); - - expect(result).toBe('distributions'); - }); - }); -}); diff --git a/src/api/entities/Asset/Fungible/CorporateActions/__tests__/index.ts b/src/api/entities/Asset/Fungible/CorporateActions/__tests__/index.ts deleted file mode 100644 index d5ec18edfa..0000000000 --- a/src/api/entities/Asset/Fungible/CorporateActions/__tests__/index.ts +++ /dev/null @@ -1,185 +0,0 @@ -import { PolymeshPrimitivesTicker } from '@polkadot/types/lookup'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { Context, FungibleAsset, Namespace, PolymeshTransaction } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { TargetTreatment } from '~/types'; -import { tuple } from '~/types/utils'; -import * as utilsConversionModule from '~/utils/conversion'; - -import { CorporateActions } from '..'; - -jest.mock( - '~/api/entities/Identity', - require('~/testUtils/mocks/entities').mockIdentityModule('~/api/entities/Identity') -); -jest.mock( - '~/api/entities/Asset/Fungible', - require('~/testUtils/mocks/entities').mockFungibleAssetModule('~/api/entities/Asset/Fungible') -); -jest.mock( - '~/base/Procedure', - require('~/testUtils/mocks/procedure').mockProcedureModule('~/base/Procedure') -); - -describe('CorporateActions class', () => { - let context: Context; - let ticker: string; - let rawTicker: PolymeshPrimitivesTicker; - let asset: FungibleAsset; - let corporateActions: CorporateActions; - - beforeAll(() => { - dsMockUtils.initMocks(); - entityMockUtils.initMocks(); - procedureMockUtils.initMocks(); - - ticker = 'SOME_TICKER'; - - when(jest.spyOn(utilsConversionModule, 'stringToTicker')) - .calledWith(ticker, context) - .mockReturnValue(rawTicker); - }); - - beforeEach(() => { - dsMockUtils.reset(); - entityMockUtils.reset(); - procedureMockUtils.reset(); - - context = dsMockUtils.getContextInstance(); - rawTicker = dsMockUtils.createMockTicker(ticker); - asset = entityMockUtils.getFungibleAssetInstance(); - corporateActions = new CorporateActions(asset, context); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - procedureMockUtils.cleanup(); - }); - - it('should extend namespace', () => { - expect(CorporateActions.prototype instanceof Namespace).toBe(true); - }); - - describe('method: setDefaultConfig', () => { - it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { - const targets = { - identities: ['someDid'], - treatment: TargetTreatment.Exclude, - }; - const defaultTaxWithholding = new BigNumber(15); - const taxWithholdings = [ - { - identity: 'someDid', - percentage: new BigNumber(20), - }, - ]; - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith( - { - args: { ticker: 'SOME_TICKER', targets, taxWithholdings, defaultTaxWithholding }, - transformer: undefined, - }, - context, - {} - ) - .mockResolvedValue(expectedTransaction); - - const tx = await corporateActions.setDefaultConfig({ - targets, - taxWithholdings, - defaultTaxWithholding, - }); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: remove', () => { - it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - const corporateAction = new BigNumber(100); - - when(procedureMockUtils.getPrepareMock()) - .calledWith( - { args: { corporateAction, ticker: 'SOME_TICKER' }, transformer: undefined }, - context, - {} - ) - .mockResolvedValue(expectedTransaction); - - const tx = await corporateActions.remove({ corporateAction }); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: getAgents', () => { - it('should retrieve a list of agent Identities', async () => { - const did = 'someDid'; - const otherDid = 'otherDid'; - const fakeTicker = 'TEST'; - - dsMockUtils.createQueryMock('externalAgents', 'groupOfAgent', { - entries: [ - tuple( - [dsMockUtils.createMockTicker(fakeTicker), dsMockUtils.createMockIdentityId(did)], - dsMockUtils.createMockOption(dsMockUtils.createMockAgentGroup('PolymeshV1CAA')) - ), - tuple( - [dsMockUtils.createMockTicker(fakeTicker), dsMockUtils.createMockIdentityId(otherDid)], - dsMockUtils.createMockOption(dsMockUtils.createMockAgentGroup('PolymeshV1PIA')) - ), - ], - }); - - const result = await corporateActions.getAgents(); - - expect(result).toEqual([expect.objectContaining({ did })]); - }); - }); - - describe('method: getDefaultConfig', () => { - it("should retrieve the Asset's Corporate Actions Default Config", async () => { - const dids = ['someDid', 'otherDid']; - const defaultTaxWithholding = new BigNumber(10); - - dsMockUtils.createQueryMock('corporateAction', 'defaultTargetIdentities'); - dsMockUtils.createQueryMock('corporateAction', 'defaultWithholdingTax'); - dsMockUtils.createQueryMock('corporateAction', 'didWithholdingTax'); - - dsMockUtils.getQueryMultiMock().mockResolvedValue([ - dsMockUtils.createMockTargetIdentities({ - identities: dids, - treatment: 'Include', - }), - dsMockUtils.createMockPermill(new BigNumber(10 * 10000)), - [ - [ - dsMockUtils.createMockIdentityId(dids[0]), - dsMockUtils.createMockPermill(new BigNumber(15 * 10000)), - ], - ], - ]); - - const result = await corporateActions.getDefaultConfig(); - - expect(result).toEqual({ - targets: { - identities: dids.map(did => expect.objectContaining({ did })), - treatment: TargetTreatment.Include, - }, - defaultTaxWithholding, - taxWithholdings: [ - { - identity: expect.objectContaining({ did: dids[0] }), - percentage: new BigNumber(15), - }, - ], - }); - }); - }); -}); diff --git a/src/api/entities/Asset/Fungible/CorporateActions/index.ts b/src/api/entities/Asset/Fungible/CorporateActions/index.ts deleted file mode 100644 index bb0701ead8..0000000000 --- a/src/api/entities/Asset/Fungible/CorporateActions/index.ts +++ /dev/null @@ -1,134 +0,0 @@ -import { - Context, - FungibleAsset, - Identity, - modifyCaDefaultConfig, - Namespace, - removeCorporateAction, -} from '~/internal'; -import { ModifyCaDefaultConfigParams, ProcedureMethod, RemoveCorporateActionParams } from '~/types'; -import { - identityIdToString, - permillToBigNumber, - stringToTicker, - targetIdentitiesToCorporateActionTargets, -} from '~/utils/conversion'; -import { createProcedureMethod, requestMulti } from '~/utils/internal'; - -import { Distributions } from './Distributions'; -import { CorporateActionDefaultConfig } from './types'; - -/** - * Handles all Asset Corporate Actions related functionality - */ -export class CorporateActions extends Namespace { - public distributions: Distributions; - - /** - * @hidden - */ - constructor(parent: FungibleAsset, context: Context) { - super(parent, context); - - const { ticker } = parent; - - this.distributions = new Distributions(parent, context); - - this.setDefaultConfig = createProcedureMethod( - { getProcedureAndArgs: args => [modifyCaDefaultConfig, { ticker, ...args }] }, - context - ); - - this.remove = createProcedureMethod( - { getProcedureAndArgs: args => [removeCorporateAction, { ticker, ...args }] }, - context - ); - } - - /** - * Assign default config values(targets, global tax withholding percentage and per-Identity tax withholding percentages) - * - * @note These config values are applied to every Corporate Action that is created until they are modified. Modifying these values - * does not impact existing Corporate Actions. - * When creating a Corporate Action, values passed explicitly will override these default config values - */ - public setDefaultConfig: ProcedureMethod; - - /** - * Remove a Corporate Action - */ - public remove: ProcedureMethod; - - /** - * Retrieve a list of agent Identities - */ - public async getAgents(): Promise { - const { - context: { - polymeshApi: { - query: { externalAgents }, - }, - }, - parent: { ticker }, - context, - } = this; - - const groupOfAgent = await externalAgents.groupOfAgent.entries(stringToTicker(ticker, context)); - - const agentIdentities: Identity[] = []; - - groupOfAgent.forEach(([storageKey, agentGroup]) => { - const rawAgentGroup = agentGroup.unwrap(); - if (rawAgentGroup.isPolymeshV1CAA) { - agentIdentities.push( - new Identity({ did: identityIdToString(storageKey.args[1]) }, context) - ); - } - }); - - return agentIdentities; - } - - /** - * Retrieve default config comprising of targets, global tax withholding percentage and per-Identity tax withholding percentages. - * - * - * @note This config is applied to every Corporate Action that is created until they are modified. Modifying the default config - * does not impact existing Corporate Actions. - * When creating a Corporate Action, values passed explicitly will override this default config - */ - public async getDefaultConfig(): Promise { - const { - parent: { ticker }, - context: { - polymeshApi: { - query: { corporateAction }, - }, - }, - context, - } = this; - - const rawTicker = stringToTicker(ticker, context); - - const [targets, defaultTaxWithholding, taxWithholdings] = await requestMulti< - [ - typeof corporateAction.defaultTargetIdentities, - typeof corporateAction.defaultWithholdingTax, - typeof corporateAction.didWithholdingTax - ] - >(context, [ - [corporateAction.defaultTargetIdentities, rawTicker], - [corporateAction.defaultWithholdingTax, rawTicker], - [corporateAction.didWithholdingTax, rawTicker], - ]); - - return { - targets: targetIdentitiesToCorporateActionTargets(targets, context), - defaultTaxWithholding: permillToBigNumber(defaultTaxWithholding), - taxWithholdings: taxWithholdings.map(([identity, tax]) => ({ - identity: new Identity({ did: identityIdToString(identity) }, context), - percentage: permillToBigNumber(tax), - })), - }; - } -} diff --git a/src/api/entities/Asset/Fungible/CorporateActions/types.ts b/src/api/entities/Asset/Fungible/CorporateActions/types.ts deleted file mode 100644 index 9da71ec943..0000000000 --- a/src/api/entities/Asset/Fungible/CorporateActions/types.ts +++ /dev/null @@ -1,9 +0,0 @@ -import BigNumber from 'bignumber.js'; - -import { CorporateActionTargets, TaxWithholding } from '~/types'; - -export interface CorporateActionDefaultConfig { - targets: CorporateActionTargets; - defaultTaxWithholding: BigNumber; - taxWithholdings: TaxWithholding[]; -} diff --git a/src/api/entities/Asset/Fungible/Issuance/index.ts b/src/api/entities/Asset/Fungible/Issuance/index.ts deleted file mode 100644 index b67b1946a9..0000000000 --- a/src/api/entities/Asset/Fungible/Issuance/index.ts +++ /dev/null @@ -1,31 +0,0 @@ -import BigNumber from 'bignumber.js'; - -import { Context, FungibleAsset, issueTokens, Namespace } from '~/internal'; -import { ProcedureMethod } from '~/types'; -import { createProcedureMethod } from '~/utils/internal'; - -/** - * Handles all Asset Issuance related functionality - */ -export class Issuance extends Namespace { - /** - * @hidden - */ - constructor(parent: FungibleAsset, context: Context) { - super(parent, context); - - const { ticker } = parent; - - this.issue = createProcedureMethod( - { getProcedureAndArgs: args => [issueTokens, { ticker, ...args }] }, - context - ); - } - - /** - * Issue a certain amount of Asset tokens to the caller's default portfolio - * - * @param args.amount - amount of Asset tokens to be issued - */ - public issue: ProcedureMethod<{ amount: BigNumber }, FungibleAsset>; -} diff --git a/src/api/entities/Asset/Fungible/Offerings/index.ts b/src/api/entities/Asset/Fungible/Offerings/index.ts deleted file mode 100644 index b41219b8be..0000000000 --- a/src/api/entities/Asset/Fungible/Offerings/index.ts +++ /dev/null @@ -1,136 +0,0 @@ -import BigNumber from 'bignumber.js'; -import { remove } from 'lodash'; - -import { - Context, - FungibleAsset, - launchOffering, - Namespace, - Offering, - PolymeshError, -} from '~/internal'; -import { - ErrorCode, - LaunchOfferingParams, - OfferingStatus, - OfferingWithDetails, - ProcedureMethod, -} from '~/types'; -import { fundraiserToOfferingDetails, stringToTicker, u64ToBigNumber } from '~/utils/conversion'; -import { createProcedureMethod } from '~/utils/internal'; - -/** - * Handles all Asset Offering related functionality - */ -export class Offerings extends Namespace { - /** - * @hidden - */ - constructor(parent: FungibleAsset, context: Context) { - super(parent, context); - - const { ticker } = parent; - - this.launch = createProcedureMethod( - { getProcedureAndArgs: args => [launchOffering, { ticker, ...args }] }, - context - ); - } - - /** - * Launch an Asset Offering - * - * @note required roles: - * - Offering Portfolio Custodian - * - Raising Portfolio Custodian - */ - public launch: ProcedureMethod; - - /** - * Retrieve a single Offering associated to this Asset by its ID - * - * @throws if there is no Offering with the passed ID - */ - public async getOne(args: { id: BigNumber }): Promise { - const { - parent: { ticker }, - context, - } = this; - const { id } = args; - const offering = new Offering({ ticker, id }, context); - - const exists = await offering.exists(); - - if (!exists) { - throw new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: 'The Offering does not exist', - }); - } - - return offering; - } - - /** - * Retrieve all of the Asset's Offerings and their details. Can be filtered using parameters - * - * @param opts.status - status of the Offerings to fetch. If defined, only Offerings that have all passed statuses will be returned - */ - public async get( - opts: { status?: Partial } = {} - ): Promise { - const { - parent: { ticker }, - context: { - polymeshApi: { - query: { sto }, - }, - }, - context, - } = this; - - const { status: { timing: timingFilter, balance: balanceFilter, sale: saleFilter } = {} } = - opts; - - const rawTicker = stringToTicker(ticker, context); - - const [fundraiserEntries, nameEntries] = await Promise.all([ - sto.fundraisers.entries(rawTicker), - sto.fundraiserNames.entries(rawTicker), - ]); - - const offerings = fundraiserEntries.map( - ([ - { - args: [, rawFundraiserId], - }, - fundraiser, - ]) => { - const id = u64ToBigNumber(rawFundraiserId); - const [[, name]] = remove( - nameEntries, - ([ - { - args: [, rawId], - }, - ]) => u64ToBigNumber(rawId).eq(id) - ); - return { - offering: new Offering({ id, ticker }, context), - details: fundraiserToOfferingDetails(fundraiser.unwrap(), name.unwrap(), context), - }; - } - ); - - return offerings.filter( - ({ - details: { - status: { timing, sale, balance }, - }, - }) => - (!timingFilter || timingFilter === timing) && - (!saleFilter || saleFilter === sale) && - (!balanceFilter || balanceFilter === balance) - ); - } -} diff --git a/src/api/entities/Asset/Fungible/TransferRestrictions/ClaimCount.ts b/src/api/entities/Asset/Fungible/TransferRestrictions/ClaimCount.ts deleted file mode 100644 index 5326486783..0000000000 --- a/src/api/entities/Asset/Fungible/TransferRestrictions/ClaimCount.ts +++ /dev/null @@ -1,87 +0,0 @@ -import BigNumber from 'bignumber.js'; - -import { TransferRestrictionBase } from '~/internal'; -import { - ActiveTransferRestrictions, - AddClaimCountStatParams, - AddClaimCountTransferRestrictionParams, - ClaimCountTransferRestriction, - NoArgsProcedureMethod, - ProcedureMethod, - RemoveScopedCountParams, - SetClaimCountTransferRestrictionsParams, - TransferRestrictionType, -} from '~/types'; - -/** - * Handles all Claim Count Transfer Restriction related functionality - */ -export class ClaimCount extends TransferRestrictionBase { - protected type = TransferRestrictionType.ClaimCount as const; - - /** - * Add a ClaimCount Transfer Restriction to this Asset. This limits to total number of individual - * investors that may hold the Asset scoped by some Claim. This can limit the number of holders that - * are non accredited, or ensure all holders are of a certain nationality - * - * @note the result is the total amount of restrictions after the procedure has run - * - * @throws if the appropriate count statistic (matching ClaimType and issuer) is not enabled for the Asset. {@link ClaimCount.enableStat} should be called with appropriate arguments before this method - */ - public declare addRestriction: ProcedureMethod< - Omit, - BigNumber - >; - - /** - * Sets all Claim Count Transfer Restrictions on this Asset - * - * @note this method sets exempted Identities for restrictions as well. If an Identity is currently exempted from a Claim Count Transfer Restriction - * but not passed into this call then it will be removed - * - * @note the result is the total amount of restrictions after the procedure has run - */ - public declare setRestrictions: ProcedureMethod< - Omit, - BigNumber - >; - - /** - * Removes all Claim Count Transfer Restrictions from this Asset - * - * @note the result is the total amount of restrictions after the procedure has run - */ - public declare removeRestrictions: NoArgsProcedureMethod; - - /** - * Enables an investor count statistic for the Asset to be scoped by a claim, which is required before creating restrictions - * - * The counter is only updated automatically with each transfer of tokens after the stat has been enabled. - * As such the initial values for the stat should be passed in. - * For `Affiliate` and `Accredited` scoped stats the both the number of investors who have the Claim and who do not have the claim - * should be given. For `Jurisdiction` scoped stats the amount of holders for each CountryCode need to be given. - * - * @note Currently there is a potential race condition if passing in counts values when the Asset is being traded. - * It is recommended to call this method during the initial configuration of the Asset, before people are trading it. - * Otherwise the Asset should be frozen, or the stat checked after being set to ensure the correct value is used. Future - * versions of the chain may expose a new extrinsic to avoid this issue - */ - public declare enableStat: ProcedureMethod, void>; - - /** - * Disables a claim count statistic for the Asset. Since statistics introduce slight overhead to each transaction - * involving the Asset, disabling unused stats will reduce gas fees for investors - * - * @throws if the stat is being used by a restriction or is not set - */ - public declare disableStat: ProcedureMethod, void>; - - /** - * Retrieve all active Claim Count Transfer Restrictions - * - * @note there is a maximum number of restrictions allowed across all types. - * The `availableSlots` property of the result represents how many more restrictions can be added - * before reaching that limit - */ - public declare get: () => Promise>; -} diff --git a/src/api/entities/Asset/Fungible/TransferRestrictions/ClaimPercentage.ts b/src/api/entities/Asset/Fungible/TransferRestrictions/ClaimPercentage.ts deleted file mode 100644 index de35d618e9..0000000000 --- a/src/api/entities/Asset/Fungible/TransferRestrictions/ClaimPercentage.ts +++ /dev/null @@ -1,78 +0,0 @@ -import BigNumber from 'bignumber.js'; - -import { TransferRestrictionBase } from '~/internal'; -import { - ActiveTransferRestrictions, - AddClaimPercentageStatParams, - AddClaimPercentageTransferRestrictionParams, - ClaimPercentageTransferRestriction, - NoArgsProcedureMethod, - ProcedureMethod, - RemoveScopedBalanceParams, - SetClaimPercentageTransferRestrictionsParams, - TransferRestrictionType, -} from '~/types'; - -/** - * Handles all Claim Percentage Transfer Restriction related functionality - */ -export class ClaimPercentage extends TransferRestrictionBase { - protected type = TransferRestrictionType.ClaimPercentage as const; - - /** - * Add a Percentage Transfer Restriction to this Asset. This can be used to limit the total amount of supply - * investors who share a ClaimType may hold. For example a restriction can be made so Canadian investors must hold - * at least 50% of the supply. - * - * @returns the total amount of restrictions after the procedure has run - * - * @throws if the appropriately scoped Balance statistic (by ClaimType and issuer) is not enabled for this Asset. {@link ClaimPercentage.enableStat} with appropriate arguments should be called before this method - */ - public declare addRestriction: ProcedureMethod< - Omit, - BigNumber - >; - - /** - * Sets all Claim Percentage Transfer Restrictions on this Asset - * - * @note this method sets exempted Identities for restrictions as well. If an Identity is currently exempted from a Claim Percentage Transfer Restriction - * but not passed into this call then it will be removed - * - * @note the result is the total amount of restrictions after the procedure has run - */ - public declare setRestrictions: ProcedureMethod< - Omit, - BigNumber - >; - - /** - * Removes all Claim Percentage Transfer Restrictions from this Asset - * - * @note the result is the total amount of restrictions after the procedure has run - */ - public declare removeRestrictions: NoArgsProcedureMethod; - - /** - * Enables investor balance statistic for the Asset, which is required before creating restrictions - * that limit the total ownership the Asset's supply - */ - public declare enableStat: ProcedureMethod, void>; - - /** - * Disables an investor balance statistic for the Asset. Since statistics introduce slight overhead to each transaction - * involving the Asset, disabling unused stats will reduce gas fees for investors - * - * @throws if the stat is being used by a restriction or is not set - */ - public declare disableStat: ProcedureMethod, void>; - - /** - * Retrieve all active Claim Percentage Transfer Restrictions - * - * @note there is a maximum number of restrictions allowed across all types. - * The `availableSlots` property of the result represents how many more restrictions can be added - * before reaching that limit - */ - public declare get: () => Promise>; -} diff --git a/src/api/entities/Asset/Fungible/TransferRestrictions/Count.ts b/src/api/entities/Asset/Fungible/TransferRestrictions/Count.ts deleted file mode 100644 index 987f4e1ee1..0000000000 --- a/src/api/entities/Asset/Fungible/TransferRestrictions/Count.ts +++ /dev/null @@ -1,103 +0,0 @@ -import BigNumber from 'bignumber.js'; - -import { Context, FungibleAsset, TransferRestrictionBase } from '~/internal'; -import { - ActiveTransferRestrictions, - AddCountStatParams, - AddCountTransferRestrictionParams, - CountTransferRestriction, - NoArgsProcedureMethod, - ProcedureMethod, - SetCountTransferRestrictionsParams, - TransferRestrictionType, -} from '~/types'; - -/** - * Handles all Count Transfer Restriction related functionality - */ -export class Count extends TransferRestrictionBase { - /** - * @hidden - */ - constructor(parent: FungibleAsset, context: Context) { - super(parent, context); - this.investorCount = parent.investorCount.bind(parent); - } - - protected type = TransferRestrictionType.Count as const; - - /** - * Add a Count Transfer Restriction to this Asset. This limits to total number of individual - * investors that may hold the Asset. In some jurisdictions once a threshold of investors is - * passed, different regulations may apply. Count Transfer Restriction can ensure such limits are not exceeded - * - * @returns the total amount of restrictions after the procedure has run - * - * @throws if a count statistic is not enabled for the Asset. {@link api/entities/Asset/Fungible/TransferRestrictions/Count!Count.enableStat | Count.enableStat } should be called before this method - */ - public declare addRestriction: ProcedureMethod< - Omit, - BigNumber - >; - - /** - * Sets all Count Transfer Restrictions on this Asset - * - * @note this method sets exempted Identities for restrictions as well. If an Identity is currently exempted from a Count Transfer Restriction - * but not passed into this call then it will be removed - * - * @note the result is the total amount of restrictions after the procedure has run - */ - public declare setRestrictions: ProcedureMethod< - Omit, - BigNumber - >; - - /** - * Removes all Count Transfer Restrictions from this Asset - * - * @note the result is the total amount of restrictions after the procedure has run - */ - public declare removeRestrictions: NoArgsProcedureMethod; - - /** - * Enables an investor count statistic for the Asset, which is required before creating restrictions - * - * The counter is only updated automatically with each transfer of tokens after the stat has been enabled. - * As such the initial value for the stat should be passed in, which can be fetched with {@link api/entities/Asset/Fungible/TransferRestrictions/Count!Count.investorCount | Count.investorCount } - * - * @note Currently there is a potential race condition if passing in counts values when the Asset is being traded. - * It is recommended to call this method during the initial configuration of the Asset, before people are trading it. - * Otherwise the Asset should be frozen, or the stat checked after being set to ensure the correct value is used. Future - * versions of the chain may expose a new extrinsic to avoid this issue - */ - public declare enableStat: ProcedureMethod, void>; - - /** - * Disables the investor count statistic for the Asset. Since statistics introduce slight overhead to each transaction - * involving the Asset, disabling unused stats will reduce gas fees for investors when they transact with the Asset - * - * @throws if the stat is being used by a restriction or is not set - */ - public declare disableStat: NoArgsProcedureMethod; - - /** - - /** - * Retrieve all active Count Transfer Restrictions - * - * @note there is a maximum number of restrictions allowed across all types. - * The `availableSlots` property of the result represents how many more restrictions can be added - * before reaching that limit - */ - public declare get: () => Promise>; - - /** - * Returns the count of individual holders of the Asset - * - * @note This value can be used to initialize `enableStat`. If used for this purpose there is a potential race condition - * if Asset transfers happen between the time of check and time of use. Either pause Asset transfers, or check after stat - * creation and try again if a race occurred. Future versions of the chain should introduce an extrinsic to avoid this issue - */ - public investorCount: () => Promise; -} diff --git a/src/api/entities/Asset/Fungible/TransferRestrictions/Percentage.ts b/src/api/entities/Asset/Fungible/TransferRestrictions/Percentage.ts deleted file mode 100644 index 196613eb70..0000000000 --- a/src/api/entities/Asset/Fungible/TransferRestrictions/Percentage.ts +++ /dev/null @@ -1,75 +0,0 @@ -import BigNumber from 'bignumber.js'; - -import { TransferRestrictionBase } from '~/internal'; -import { - ActiveTransferRestrictions, - AddPercentageTransferRestrictionParams, - NoArgsProcedureMethod, - PercentageTransferRestriction, - ProcedureMethod, - SetPercentageTransferRestrictionsParams, - TransferRestrictionType, -} from '~/types'; - -/** - * Handles all Percentage Transfer Restriction related functionality - */ -export class Percentage extends TransferRestrictionBase { - protected type = TransferRestrictionType.Percentage as const; - - /** - * Add a Percentage Transfer Restriction to this Asset. This limits the total percentage of the supply - * a single investor can acquire without an exemption - * - * @returns the total amount of restrictions after the procedure has run - * - * @throws if the Balance statistic is not enabled for this Asset. {@link Percentage.enableStat} should be called before this method - */ - public declare addRestriction: ProcedureMethod< - Omit, - BigNumber - >; - - /** - * Sets all Percentage Transfer Restrictions on this Asset - * - * @note this method sets exempted Identities for restrictions as well. If an Identity is currently exempted from a Percentage Transfer Restriction - * but not passed into this call then it will be removed - * - * @note the result is the total amount of restrictions after the procedure has run - */ - public declare setRestrictions: ProcedureMethod< - Omit, - BigNumber - >; - - /** - * Removes all Percentage Transfer Restrictions from this Asset - * - * @note the result is the total amount of restrictions after the procedure has run - */ - public declare removeRestrictions: NoArgsProcedureMethod; - - /** - * Enables investor balance statistic for the Asset, which is required before creating restrictions - * that limit the total ownership of the Assets' supply - */ - public declare enableStat: NoArgsProcedureMethod; - - /** - * Disables the investor balance statistic for the Asset. Since statistics introduce slight overhead to each transaction - * involving the Asset, disabling unused stats will reduce gas fees for investors when they transact with the Asset - * - * @throws if the stat is being used by a restriction or is not set - */ - public declare disableStat: NoArgsProcedureMethod; - - /** - * Retrieve all active Percentage Transfer Restrictions - * - * @note there is a maximum number of restrictions allowed across all types. - * The `availableSlots` property of the result represents how many more restrictions can be added - * before reaching that limit - */ - public declare get: () => Promise>; -} diff --git a/src/api/entities/Asset/Fungible/TransferRestrictions/TransferRestrictionBase.ts b/src/api/entities/Asset/Fungible/TransferRestrictions/TransferRestrictionBase.ts deleted file mode 100644 index 0780589bf2..0000000000 --- a/src/api/entities/Asset/Fungible/TransferRestrictions/TransferRestrictionBase.ts +++ /dev/null @@ -1,284 +0,0 @@ -import BigNumber from 'bignumber.js'; - -import { - addAssetStat, - addTransferRestriction, - AddTransferRestrictionParams, - Context, - FungibleAsset, - Namespace, - removeAssetStat, - setTransferRestrictions, - SetTransferRestrictionsStorage, -} from '~/internal'; -import { - AddAssetStatParams, - AddRestrictionParams, - ClaimCountRestrictionValue, - GetTransferRestrictionReturnType, - NoArgsProcedureMethod, - ProcedureMethod, - RemoveAssetStatParams, - RemoveBalanceStatParams, - RemoveCountStatParams, - RemoveScopedBalanceParams, - RemoveScopedCountParams, - SetAssetStatParams, - SetClaimCountTransferRestrictionsParams, - SetClaimPercentageTransferRestrictionsParams, - SetCountTransferRestrictionsParams, - SetPercentageTransferRestrictionsParams, - SetRestrictionsParams, - StatType, - TransferRestrictionType, -} from '~/types'; -import { - identityIdToString, - stringToTickerKey, - transferConditionToTransferRestriction, - u32ToBigNumber, -} from '~/utils/conversion'; -import { createProcedureMethod } from '~/utils/internal'; - -export type SetTransferRestrictionsParams = { ticker: string } & ( - | SetCountTransferRestrictionsParams - | SetPercentageTransferRestrictionsParams - | SetClaimCountTransferRestrictionsParams - | SetClaimPercentageTransferRestrictionsParams -); - -export type RemoveAssetStatParamsBase = Omit< - T extends TransferRestrictionType.Count - ? RemoveCountStatParams - : T extends TransferRestrictionType.Percentage - ? RemoveBalanceStatParams - : T extends TransferRestrictionType.ClaimCount - ? RemoveScopedCountParams - : RemoveScopedBalanceParams, - 'type' ->; - -const restrictionTypeToStatType = { - [TransferRestrictionType.Count]: StatType.Count, - [TransferRestrictionType.Percentage]: StatType.Balance, - [TransferRestrictionType.ClaimCount]: StatType.ScopedCount, - [TransferRestrictionType.ClaimPercentage]: StatType.ScopedBalance, -}; - -/** - * Base class for managing Transfer Restrictions - */ -export abstract class TransferRestrictionBase< - T extends TransferRestrictionType -> extends Namespace { - protected abstract type: T; - - /** - * @hidden - */ - constructor(parent: FungibleAsset, context: Context) { - super(parent, context); - - const { ticker } = parent; - - this.addRestriction = createProcedureMethod< - AddRestrictionParams, - AddTransferRestrictionParams, - BigNumber - >( - { - getProcedureAndArgs: args => [ - addTransferRestriction, - { ...args, type: this.type, ticker } as unknown as AddTransferRestrictionParams, - ], - }, - context - ); - - this.setRestrictions = createProcedureMethod< - SetRestrictionsParams, - SetTransferRestrictionsParams, - BigNumber, - SetTransferRestrictionsStorage - >( - { - getProcedureAndArgs: args => [ - setTransferRestrictions, - { ...args, type: this.type, ticker } as SetTransferRestrictionsParams, - ], - }, - context - ); - - this.removeRestrictions = createProcedureMethod< - SetTransferRestrictionsParams, - BigNumber, - SetTransferRestrictionsStorage - >( - { - getProcedureAndArgs: () => [ - setTransferRestrictions, - { - restrictions: [], - type: this.type, - ticker, - } as SetTransferRestrictionsParams, - ], - voidArgs: true, - }, - context - ); - - this.enableStat = createProcedureMethod, AddAssetStatParams, void>( - { - getProcedureAndArgs: args => [ - addAssetStat, - { - ...args, - type: restrictionTypeToStatType[this.type], - ticker, - } as AddAssetStatParams, - ], - }, - context - ); - - this.disableStat = createProcedureMethod< - RemoveAssetStatParamsBase, - RemoveAssetStatParams, - void - >( - { - getProcedureAndArgs: args => [ - removeAssetStat, - { - ...args, - type: restrictionTypeToStatType[this.type], - ticker, - } as RemoveAssetStatParams, - ], - }, - context - ); - } - - /** - * Add a Transfer Restriction of the corresponding type to this Asset - * - * @note the result is the total amount of restrictions after the procedure has run - */ - public addRestriction: ProcedureMethod, BigNumber>; - - /** - * Sets all Transfer Restrictions of the corresponding type on this Asset - * - * @note the result is the total amount of restrictions after the procedure has run - */ - public setRestrictions: ProcedureMethod, BigNumber>; - - /** - * Removes all Transfer Restrictions of the corresponding type from this Asset - * - * @note the result is the total amount of restrictions after the procedure has run - */ - public removeRestrictions: NoArgsProcedureMethod; - - /** - * Enables statistic of the corresponding type for this Asset, which are required for restrictions to be created - */ - public enableStat: ProcedureMethod, void>; - - /** - * Removes an Asset statistic - * - * @throws if the statistic is being used or is not set - */ - public disableStat: ProcedureMethod, void>; - - /** - * Retrieve all active Transfer Restrictions of the corresponding type - * - * @note there is a maximum number of restrictions allowed across all types. - * The `availableSlots` property of the result represents how many more restrictions can be added - * before reaching that limit - */ - public async get(): Promise> { - const { - parent: { ticker }, - context: { - polymeshApi: { - query: { statistics }, - consts, - }, - }, - context, - type, - } = this; - const tickerKey = stringToTickerKey(ticker, context); - const { requirements } = await statistics.assetTransferCompliances(tickerKey); - const filteredRequirements = [...requirements].filter(requirement => { - if (type === TransferRestrictionType.Count) { - return requirement.isMaxInvestorCount; - } else if (type === TransferRestrictionType.Percentage) { - return requirement.isMaxInvestorOwnership; - } else if (type === TransferRestrictionType.ClaimCount) { - return requirement.isClaimCount; - } else { - return requirement.isClaimOwnership; - } - }); - const rawExemptedLists = await Promise.all( - filteredRequirements.map(() => - statistics.transferConditionExemptEntities.entries({ asset: tickerKey }) - ) - ); - - const restrictions = rawExemptedLists.map((list, index) => { - const exemptedIds = list.map( - ([ - { - args: [, scopeId], - }, - ]) => identityIdToString(scopeId) // `ScopeId` and `PolymeshPrimitivesIdentityId` are the same type, so this is fine - ); - const { value } = transferConditionToTransferRestriction( - filteredRequirements[index], - context - ); - let restriction; - - if (type === TransferRestrictionType.Count) { - restriction = { - count: value, - }; - } else if (type === TransferRestrictionType.Percentage) { - restriction = { - percentage: value, - }; - } else { - const { min, max, claim, issuer } = value as ClaimCountRestrictionValue; - restriction = { - min, - max, - claim, - issuer, - }; - } - - if (exemptedIds.length) { - return { - ...restriction, - exemptedIds, - }; - } - return restriction; - }); - - const maxTransferConditions = u32ToBigNumber(consts.statistics.maxTransferConditionsPerAsset); - - return { - restrictions, - availableSlots: maxTransferConditions.minus(restrictions.length), - } as GetTransferRestrictionReturnType; - } -} diff --git a/src/api/entities/Asset/Fungible/TransferRestrictions/__tests__/Count.ts b/src/api/entities/Asset/Fungible/TransferRestrictions/__tests__/Count.ts deleted file mode 100644 index 3cae4795ec..0000000000 --- a/src/api/entities/Asset/Fungible/TransferRestrictions/__tests__/Count.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { Namespace } from '~/internal'; -import { dsMockUtils, entityMockUtils } from '~/testUtils/mocks'; - -import { Count } from '../Count'; - -jest.mock( - '~/api/entities/Identity', - require('~/testUtils/mocks/entities').mockIdentityModule('~/api/entities/Identity') -); - -describe('Count class', () => { - beforeAll(() => { - entityMockUtils.initMocks(); - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should extend namespace', () => { - expect(Count.prototype instanceof Namespace).toBe(true); - }); -}); diff --git a/src/api/entities/Asset/Fungible/TransferRestrictions/__tests__/Percentage.ts b/src/api/entities/Asset/Fungible/TransferRestrictions/__tests__/Percentage.ts deleted file mode 100644 index 8efe2a0f40..0000000000 --- a/src/api/entities/Asset/Fungible/TransferRestrictions/__tests__/Percentage.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { Namespace } from '~/internal'; -import { dsMockUtils, entityMockUtils } from '~/testUtils/mocks'; - -import { Percentage } from '../Percentage'; - -jest.mock( - '~/api/entities/Identity', - require('~/testUtils/mocks/entities').mockIdentityModule('~/api/entities/Identity') -); - -describe('Percentage class', () => { - beforeAll(() => { - entityMockUtils.initMocks(); - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should extend namespace', () => { - expect(Percentage.prototype instanceof Namespace).toBe(true); - }); -}); diff --git a/src/api/entities/Asset/Fungible/TransferRestrictions/__tests__/TransferRestrictionBase.ts b/src/api/entities/Asset/Fungible/TransferRestrictions/__tests__/TransferRestrictionBase.ts deleted file mode 100644 index 04077b7435..0000000000 --- a/src/api/entities/Asset/Fungible/TransferRestrictions/__tests__/TransferRestrictionBase.ts +++ /dev/null @@ -1,686 +0,0 @@ -import { PolymeshPrimitivesTransferComplianceTransferCondition } from '@polkadot/types/lookup'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { ClaimCount } from '~/api/entities/Asset/Fungible/TransferRestrictions/ClaimCount'; -import { ClaimPercentage } from '~/api/entities/Asset/Fungible/TransferRestrictions/ClaimPercentage'; -import { - Context, - FungibleAsset, - Namespace, - NumberedPortfolio, - PolymeshTransaction, -} from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { - AddCountTransferRestrictionParams, - AddPercentageTransferRestrictionParams, - ClaimType, - CountTransferRestriction, - PercentageTransferRestriction, - SetClaimCountTransferRestrictionsParams, - SetClaimPercentageTransferRestrictionsParams, - SetCountTransferRestrictionsParams, - SetPercentageTransferRestrictionsParams, - StatType, - TransferRestrictionType, -} from '~/types'; -import * as utilsConversionModule from '~/utils/conversion'; - -import { Count } from '../Count'; -import { Percentage } from '../Percentage'; -import { TransferRestrictionBase } from '../TransferRestrictionBase'; - -jest.mock( - '~/api/entities/Identity', - require('~/testUtils/mocks/entities').mockIdentityModule('~/api/entities/Identity') -); -jest.mock( - '~/base/Procedure', - require('~/testUtils/mocks/procedure').mockProcedureModule('~/base/Procedure') -); - -describe('TransferRestrictionBase class', () => { - beforeAll(() => { - entityMockUtils.initMocks(); - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - entityMockUtils.reset(); - procedureMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - procedureMockUtils.cleanup(); - }); - - it('should extend namespace', () => { - expect(TransferRestrictionBase.prototype instanceof Namespace).toBe(true); - }); - - describe('method: addRestriction', () => { - let context: Context; - let asset: FungibleAsset; - - beforeEach(() => { - context = dsMockUtils.getContextInstance(); - asset = entityMockUtils.getFungibleAssetInstance(); - }); - - afterEach(() => { - jest.restoreAllMocks(); - }); - - it('should prepare the procedure (count) with the correct arguments and context, and return the resulting transaction', async () => { - const count = new Count(asset, context); - - const args: Omit = { - count: new BigNumber(3), - exemptedIdentities: ['someScopeId'], - }; - - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith( - { - args: { ticker: asset.ticker, ...args, type: TransferRestrictionType.Count }, - transformer: undefined, - }, - context, - {} - ) - .mockResolvedValue(expectedTransaction); - - const tx = await count.addRestriction({ - ...args, - }); - - expect(tx).toBe(expectedTransaction); - }); - - it('should prepare the procedure (percentage) with the correct arguments and context, and return the resulting transaction', async () => { - const percentage = new Percentage(asset, context); - - const args: Omit = { - percentage: new BigNumber(3), - exemptedIdentities: ['someScopeId'], - }; - - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith( - { - args: { ticker: asset.ticker, ...args, type: TransferRestrictionType.Percentage }, - transformer: undefined, - }, - context, - {} - ) - .mockResolvedValue(expectedTransaction); - - const tx = await percentage.addRestriction({ - ...args, - }); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: setRestrictions', () => { - let context: Context; - let asset: FungibleAsset; - - beforeEach(() => { - context = dsMockUtils.getContextInstance(); - asset = entityMockUtils.getFungibleAssetInstance(); - }); - - afterEach(() => { - jest.restoreAllMocks(); - }); - - it('should prepare the procedure (count) with the correct arguments and context, and return the resulting transaction', async () => { - const count = new Count(asset, context); - - const args: Omit = { - restrictions: [{ count: new BigNumber(3), exemptedIdentities: ['someScopeId'] }], - }; - - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith( - { - args: { ticker: asset.ticker, ...args, type: TransferRestrictionType.Count }, - transformer: undefined, - }, - context, - {} - ) - .mockResolvedValue(expectedTransaction); - - const tx = await count.setRestrictions({ - ...args, - }); - - expect(tx).toBe(expectedTransaction); - }); - - it('should prepare the procedure (percentage) with the correct arguments and context, and return the resulting transaction', async () => { - const percentage = new Percentage(asset, context); - - const args: Omit = { - restrictions: [{ percentage: new BigNumber(49), exemptedIdentities: ['someScopeId'] }], - }; - - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith( - { - args: { ticker: asset.ticker, ...args, type: TransferRestrictionType.Percentage }, - transformer: undefined, - }, - context, - {} - ) - .mockResolvedValue(expectedTransaction); - - const tx = await percentage.setRestrictions({ - ...args, - }); - - expect(tx).toBe(expectedTransaction); - }); - - it('should prepare the procedure (ClaimCount) with the correct arguments and context, and return the resulting transaction queue', async () => { - const did = 'someDid'; - const issuer = entityMockUtils.getIdentityInstance({ did }); - const count = new ClaimCount(asset, context); - - const args: Omit = { - restrictions: [ - { - min: new BigNumber(10), - issuer, - claim: { type: ClaimType.Accredited, accredited: true }, - exemptedIdentities: ['someScopeId'], - }, - ], - }; - - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction< - NumberedPortfolio[] - >; - - when(procedureMockUtils.getPrepareMock()) - .calledWith( - { - args: { ticker: asset.ticker, ...args, type: TransferRestrictionType.ClaimCount }, - transformer: undefined, - }, - context, - {} - ) - .mockResolvedValue(expectedTransaction); - - const transaction = await count.setRestrictions({ - ...args, - }); - - expect(transaction).toBe(expectedTransaction); - }); - - it('should prepare the procedure (ClaimPercentage) with the correct arguments and context, and return the resulting transaction queue', async () => { - const claimPercentage = new ClaimPercentage(asset, context); - - const args: Omit = { - restrictions: [], - }; - - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction< - NumberedPortfolio[] - >; - - when(procedureMockUtils.getPrepareMock()) - .calledWith( - { - args: { ticker: asset.ticker, ...args, type: TransferRestrictionType.ClaimPercentage }, - transformer: undefined, - }, - context, - {} - ) - .mockResolvedValue(expectedTransaction); - - const transaction = await claimPercentage.setRestrictions({ - ...args, - }); - - expect(transaction).toBe(expectedTransaction); - }); - }); - - describe('method: removeRestrictions', () => { - let context: Context; - let asset: FungibleAsset; - - beforeEach(() => { - context = dsMockUtils.getContextInstance(); - asset = entityMockUtils.getFungibleAssetInstance(); - }); - - afterEach(() => { - jest.restoreAllMocks(); - }); - - it('should prepare the procedure (count) with the correct arguments and context, and return the resulting transaction', async () => { - const count = new Count(asset, context); - - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith( - { - args: { ticker: asset.ticker, restrictions: [], type: TransferRestrictionType.Count }, - transformer: undefined, - }, - context, - {} - ) - .mockResolvedValue(expectedTransaction); - - const tx = await count.removeRestrictions(); - - expect(tx).toBe(expectedTransaction); - }); - - it('should prepare the procedure (percentage) with the correct arguments and context, and return the resulting transaction', async () => { - const percentage = new Percentage(asset, context); - - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith( - { - args: { - ticker: asset.ticker, - restrictions: [], - type: TransferRestrictionType.Percentage, - }, - transformer: undefined, - }, - context, - {} - ) - .mockResolvedValue(expectedTransaction); - - const tx = await percentage.removeRestrictions(); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: get', () => { - let context: Context; - let asset: FungibleAsset; - let scopeId: string; - let countRestriction: CountTransferRestriction; - let percentageRestriction: PercentageTransferRestriction; - let rawCountRestriction: PolymeshPrimitivesTransferComplianceTransferCondition; - let rawPercentageRestriction: PolymeshPrimitivesTransferComplianceTransferCondition; - let rawClaimCountRestriction: PolymeshPrimitivesTransferComplianceTransferCondition; - let rawClaimPercentageRestriction: PolymeshPrimitivesTransferComplianceTransferCondition; - const issuer = entityMockUtils.getIdentityInstance({ did: 'someDid' }); - const min = new BigNumber(10); - const max = new BigNumber(20); - - beforeAll(() => { - scopeId = 'someScopeId'; - countRestriction = { - exemptedIds: [scopeId], - count: new BigNumber(10), - }; - percentageRestriction = { - exemptedIds: [scopeId], - percentage: new BigNumber(49), - }; - rawCountRestriction = dsMockUtils.createMockTransferCondition({ - MaxInvestorCount: dsMockUtils.createMockU64(countRestriction.count), - }); - rawPercentageRestriction = dsMockUtils.createMockTransferCondition({ - MaxInvestorOwnership: dsMockUtils.createMockPermill( - percentageRestriction.percentage.multipliedBy(10000) - ), - }); - rawClaimCountRestriction = dsMockUtils.createMockTransferCondition({ - ClaimCount: [ - dsMockUtils.createMockStatisticsStatClaim({ - Accredited: dsMockUtils.createMockBool(true), - }), - dsMockUtils.createMockIdentityId('someDid'), - dsMockUtils.createMockU64(min), - dsMockUtils.createMockOption(dsMockUtils.createMockU64(max)), - ], - }); - rawClaimPercentageRestriction = dsMockUtils.createMockTransferCondition({ - ClaimOwnership: [ - dsMockUtils.createMockStatisticsStatClaim({ - Affiliate: dsMockUtils.createMockBool(true), - }), - dsMockUtils.createMockIdentityId('someDid'), - dsMockUtils.createMockU64(min), - dsMockUtils.createMockU64(max), - ], - }); - }); - - beforeEach(() => { - const maxStats = new BigNumber(2); - context = dsMockUtils.getContextInstance(); - asset = entityMockUtils.getFungibleAssetInstance(); - dsMockUtils.setConstMock('statistics', 'maxStatsPerAsset', { - returnValue: dsMockUtils.createMockU32(maxStats), - }); - dsMockUtils.createQueryMock('statistics', 'assetTransferCompliances', { - returnValue: { - requirements: [ - rawCountRestriction, - rawPercentageRestriction, - rawClaimCountRestriction, - rawClaimPercentageRestriction, - ], - }, - }); - dsMockUtils.createQueryMock('statistics', 'transferConditionExemptEntities', { - entries: [[[null, dsMockUtils.createMockIdentityId(scopeId)], true]], - }); - jest.spyOn(utilsConversionModule, 'u32ToBigNumber').mockClear().mockReturnValue(maxStats); - }); - - afterEach(() => { - jest.restoreAllMocks(); - }); - - it('should return all count transfer restrictions', async () => { - const count = new Count(asset, context); - const result = await count.get(); - - expect(result).toEqual({ - restrictions: [countRestriction], - availableSlots: new BigNumber(1), - }); - }); - - it('should return all percentage transfer restrictions', async () => { - const percentage = new Percentage(asset, context); - - let result = await percentage.get(); - - expect(result).toEqual({ - restrictions: [percentageRestriction], - availableSlots: new BigNumber(1), - }); - - dsMockUtils.createQueryMock('statistics', 'transferConditionExemptEntities', { - entries: [], - }); - - result = await percentage.get(); - - expect(result).toEqual({ - restrictions: [ - { - percentage: new BigNumber(49), - }, - ], - availableSlots: new BigNumber(1), - }); - }); - - it('should return all claimCount transfer restrictions', async () => { - const claimCount = new ClaimCount(asset, context); - - const result = await claimCount.get(); - - expect(JSON.stringify(result)).toEqual( - JSON.stringify({ - restrictions: [ - { - min: new BigNumber(10), - max: new BigNumber(20), - claim: { type: ClaimType.Accredited, accredited: true }, - issuer, - exemptedIds: ['someScopeId'], - }, - ], - availableSlots: new BigNumber(1), - }) - ); - }); - - it('should return all claimPercentage transfer restrictions', async () => { - const claimPercentage = new ClaimPercentage(asset, context); - - const result = await claimPercentage.get(); - - expect(JSON.stringify(result)).toEqual( - JSON.stringify({ - restrictions: [ - { - min: '0.001', - max: '0.002', - claim: { type: ClaimType.Affiliate, affiliate: true }, - issuer, - exemptedIds: ['someScopeId'], - }, - ], - availableSlots: new BigNumber(1), - }) - ); - }); - }); - - describe('method: enableStat', () => { - let context: Context; - let asset: FungibleAsset; - - beforeEach(() => { - context = dsMockUtils.getContextInstance(); - asset = entityMockUtils.getFungibleAssetInstance(); - }); - - afterEach(() => { - jest.restoreAllMocks(); - }); - - it('should prepare the procedure (count) with the correct arguments and context, and return the resulting transaction queue', async () => { - const count = new Count(asset, context); - - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction< - NumberedPortfolio[] - >; - - when(procedureMockUtils.getPrepareMock()) - .calledWith( - { - args: { - ticker: asset.ticker, - count: new BigNumber(3), - type: TransferRestrictionType.Count, - }, - transformer: undefined, - }, - context, - {} - ) - .mockResolvedValue(expectedTransaction); - - const transaction = await count.enableStat({ count: new BigNumber(3) }); - - expect(transaction).toBe(expectedTransaction); - }); - - it('should prepare the procedure (percentage) with the correct arguments and context, and return the resulting transaction queue', async () => { - const percentage = new Percentage(asset, context); - - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction< - NumberedPortfolio[] - >; - - when(procedureMockUtils.getPrepareMock()) - .calledWith( - { - args: { - ticker: asset.ticker, - type: StatType.Balance, - }, - transformer: undefined, - }, - context, - {} - ) - .mockResolvedValue(expectedTransaction); - - const transaction = await percentage.enableStat(); - - expect(transaction).toBe(expectedTransaction); - }); - }); - - describe('method: disableStat', () => { - let context: Context; - let asset: FungibleAsset; - - beforeEach(() => { - context = dsMockUtils.getContextInstance(); - asset = entityMockUtils.getFungibleAssetInstance(); - }); - - afterEach(() => { - jest.restoreAllMocks(); - }); - - it('should prepare the procedure (count) with the correct arguments and context, and return the resulting transaction queue', async () => { - const count = new Count(asset, context); - - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction< - NumberedPortfolio[] - >; - - when(procedureMockUtils.getPrepareMock()) - .calledWith( - { - args: { - ticker: asset.ticker, - type: StatType.Count, - }, - transformer: undefined, - }, - context, - {} - ) - .mockResolvedValue(expectedTransaction); - - const transaction = await count.disableStat(); - - expect(transaction).toBe(expectedTransaction); - }); - - it('should prepare the procedure (percentage) with the correct arguments and context, and return the resulting transaction queue', async () => { - const percentage = new Percentage(asset, context); - - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction< - NumberedPortfolio[] - >; - - when(procedureMockUtils.getPrepareMock()) - .calledWith( - { - args: { - ticker: asset.ticker, - type: StatType.Balance, - }, - transformer: undefined, - }, - context, - {} - ) - .mockResolvedValue(expectedTransaction); - - const transaction = await percentage.disableStat(); - - expect(transaction).toBe(expectedTransaction); - }); - - it('should prepare the procedure (ClaimCount) with the correct arguments and context, and return the resulting transaction queue', async () => { - const claimCount = new ClaimCount(asset, context); - const issuer = entityMockUtils.getIdentityInstance(); - - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction< - NumberedPortfolio[] - >; - - when(procedureMockUtils.getPrepareMock()) - .calledWith( - { - args: { - ticker: asset.ticker, - type: StatType.ScopedCount, - issuer, - claimType: ClaimType.Jurisdiction, - }, - transformer: undefined, - }, - context, - {} - ) - .mockResolvedValue(expectedTransaction); - - const transaction = await claimCount.disableStat({ - issuer, - claimType: ClaimType.Jurisdiction, - }); - - expect(transaction).toBe(expectedTransaction); - }); - - it('should prepare the procedure (ClaimPercentage) with the correct arguments and context, and return the resulting transaction queue', async () => { - const claimPercentage = new ClaimPercentage(asset, context); - const issuer = entityMockUtils.getIdentityInstance(); - - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction< - NumberedPortfolio[] - >; - - when(procedureMockUtils.getPrepareMock()) - .calledWith( - { - args: { - ticker: asset.ticker, - type: StatType.ScopedBalance, - issuer, - claimType: ClaimType.Jurisdiction, - }, - transformer: undefined, - }, - context, - {} - ) - .mockResolvedValue(expectedTransaction); - - const transaction = await claimPercentage.disableStat({ - issuer, - claimType: ClaimType.Jurisdiction, - }); - - expect(transaction).toBe(expectedTransaction); - }); - }); -}); diff --git a/src/api/entities/Asset/Fungible/TransferRestrictions/__tests__/index.ts b/src/api/entities/Asset/Fungible/TransferRestrictions/__tests__/index.ts deleted file mode 100644 index 867a2dc3d9..0000000000 --- a/src/api/entities/Asset/Fungible/TransferRestrictions/__tests__/index.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { Namespace } from '~/internal'; - -import { TransferRestrictions } from '..'; - -describe('TransferRestrictions class', () => { - it('should extend namespace', () => { - expect(TransferRestrictions.prototype instanceof Namespace).toBe(true); - }); -}); diff --git a/src/api/entities/Asset/Fungible/TransferRestrictions/index.ts b/src/api/entities/Asset/Fungible/TransferRestrictions/index.ts deleted file mode 100644 index 928d033d94..0000000000 --- a/src/api/entities/Asset/Fungible/TransferRestrictions/index.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { Context, FungibleAsset, Namespace } from '~/internal'; - -import { ClaimCount } from './ClaimCount'; -import { ClaimPercentage } from './ClaimPercentage'; -import { Count } from './Count'; -import { Percentage } from './Percentage'; - -/** - * Handles all Asset Transfer Restrictions related functionality - */ -export class TransferRestrictions extends Namespace { - public count: Count; - public percentage: Percentage; - public claimCount: ClaimCount; - public claimPercentage: ClaimPercentage; - - /** - * @hidden - */ - constructor(parent: FungibleAsset, context: Context) { - super(parent, context); - - this.count = new Count(parent, context); - this.percentage = new Percentage(parent, context); - this.claimCount = new ClaimCount(parent, context); - this.claimPercentage = new ClaimPercentage(parent, context); - } -} diff --git a/src/api/entities/Asset/Fungible/index.ts b/src/api/entities/Asset/Fungible/index.ts deleted file mode 100644 index 5e30e27a8f..0000000000 --- a/src/api/entities/Asset/Fungible/index.ts +++ /dev/null @@ -1,331 +0,0 @@ -import { Bytes } from '@polkadot/types'; -import BigNumber from 'bignumber.js'; -import { groupBy, map } from 'lodash'; - -import { BaseAsset } from '~/api/entities/Asset/Base'; -import { - Context, - controllerTransfer, - Identity, - modifyAsset, - redeemTokens, - setVenueFiltering, -} from '~/internal'; -import { - assetQuery, - assetTransactionQuery, - tickerExternalAgentHistoryQuery, -} from '~/middleware/queries'; -import { Query } from '~/middleware/types'; -import { - ControllerTransferParams, - EventIdentifier, - HistoricAgentOperation, - HistoricAssetTransaction, - ModifyAssetParams, - ProcedureMethod, - RedeemTokensParams, - ResultSet, - SetVenueFilteringParams, - SubCallback, - UnsubCallback, -} from '~/types'; -import { Ensured } from '~/types/utils'; -import { - balanceToBigNumber, - bytesToString, - middlewareEventDetailsToEventIdentifier, - middlewarePortfolioToPortfolio, - stringToTicker, - tickerToDid, -} from '~/utils/conversion'; -import { calculateNextKey, createProcedureMethod, optionize } from '~/utils/internal'; - -import { FungibleSettlements } from '../Base/Settlements'; -import { UniqueIdentifiers } from '../types'; -import { AssetHolders } from './AssetHolders'; -import { Checkpoints } from './Checkpoints'; -import { CorporateActions } from './CorporateActions'; -import { Issuance } from './Issuance'; -import { Offerings } from './Offerings'; -import { TransferRestrictions } from './TransferRestrictions'; - -/** - * Class used to manage all Fungible Asset functionality - */ -export class FungibleAsset extends BaseAsset { - public settlements: FungibleSettlements; - public assetHolders: AssetHolders; - public issuance: Issuance; - public transferRestrictions: TransferRestrictions; - public offerings: Offerings; - public checkpoints: Checkpoints; - public corporateActions: CorporateActions; - - /** - * @hidden - */ - constructor(identifiers: UniqueIdentifiers, context: Context) { - super(identifiers, context); - - const { ticker } = identifiers; - - this.ticker = ticker; - this.did = tickerToDid(ticker); - - this.settlements = new FungibleSettlements(this, context); - this.assetHolders = new AssetHolders(this, context); - this.issuance = new Issuance(this, context); - this.transferRestrictions = new TransferRestrictions(this, context); - this.offerings = new Offerings(this, context); - this.checkpoints = new Checkpoints(this, context); - this.corporateActions = new CorporateActions(this, context); - - this.modify = createProcedureMethod( - { getProcedureAndArgs: args => [modifyAsset, { ticker, ...args }] }, - context - ); - - this.redeem = createProcedureMethod( - { getProcedureAndArgs: args => [redeemTokens, { ticker, ...args }] }, - context - ); - this.controllerTransfer = createProcedureMethod( - { getProcedureAndArgs: args => [controllerTransfer, { ticker, ...args }] }, - context - ); - this.setVenueFiltering = createProcedureMethod( - { getProcedureAndArgs: args => [setVenueFiltering, { ticker, ...args }] }, - context - ); - } - - /** - * Modify some properties of the Asset - * - * @throws if the passed values result in no changes being made to the Asset - */ - public modify: ProcedureMethod; - - /** - * Retrieve the Asset's funding round - * - * @note can be subscribed to - */ - public currentFundingRound(): Promise; - public currentFundingRound(callback: SubCallback): Promise; - - // eslint-disable-next-line require-jsdoc - public async currentFundingRound( - callback?: SubCallback - ): Promise { - const { - context: { - polymeshApi: { - query: { asset }, - }, - }, - ticker, - context, - } = this; - - const rawTicker = stringToTicker(ticker, context); - - const assembleResult = (roundName: Bytes): string | null => bytesToString(roundName) || null; - - if (callback) { - return asset.fundingRound(rawTicker, round => { - // eslint-disable-next-line @typescript-eslint/no-floating-promises -- callback errors should be handled by the caller - callback(assembleResult(round)); - }); - } - - const fundingRound = await asset.fundingRound(rawTicker); - return assembleResult(fundingRound); - } - - /** - * Retrieve the identifier data (block number, date and event index) of the event that was emitted when the token was created - * - * @note uses the middlewareV2 - * @note there is a possibility that the data is not ready by the time it is requested. In that case, `null` is returned - */ - public async createdAt(): Promise { - const { ticker, context } = this; - - const { - data: { - assets: { - nodes: [asset], - }, - }, - } = await context.queryMiddleware>( - assetQuery({ - ticker, - }) - ); - - return optionize(middlewareEventDetailsToEventIdentifier)(asset?.createdBlock, asset?.eventIdx); - } - - /** - * Redeem (burn) an amount of this Asset's tokens - * - * @note tokens are removed from the caller's Default Portfolio - */ - public redeem: ProcedureMethod; - - /** - * Retrieve the amount of unique investors that hold this Asset - */ - public async investorCount(): Promise { - const { - context: { - polymeshApi: { - query: { - asset: { balanceOf }, - }, - }, - }, - context, - ticker, - } = this; - - const rawTicker = stringToTicker(ticker, context); - - const balanceEntries = await balanceOf.entries(rawTicker); - - const assetBalances = balanceEntries.filter( - ([, balance]) => !balanceToBigNumber(balance).isZero() - ); - - return new BigNumber(assetBalances.length); - } - - /** - * Force a transfer from a given Portfolio to the caller’s default Portfolio - */ - public controllerTransfer: ProcedureMethod; - - /** - * Retrieve this Asset's Operation History - * - * @note Operations are grouped by the agent Identity who performed them - * - * @note uses the middlewareV2 - */ - public async getOperationHistory(): Promise { - const { context, ticker: assetId } = this; - - const { - data: { - tickerExternalAgentHistories: { nodes }, - }, - } = await context.queryMiddleware>( - tickerExternalAgentHistoryQuery({ - assetId, - }) - ); - - const groupedData = groupBy(nodes, 'identityId'); - - return map(groupedData, (history, did) => ({ - identity: new Identity({ did }, context), - history: history.map(({ createdBlock, eventIdx }) => - // eslint-disable-next-line @typescript-eslint/no-non-null-assertion - middlewareEventDetailsToEventIdentifier(createdBlock!, eventIdx) - ), - })); - } - - /** - * Retrieve this Asset's transaction History - * - * @note uses the middlewareV2 - */ - public async getTransactionHistory(opts: { - size?: BigNumber; - start?: BigNumber; - }): Promise> { - const { context, ticker } = this; - const { size, start } = opts; - - const { - data: { - assetTransactions: { nodes, totalCount }, - }, - } = await context.queryMiddleware>( - assetTransactionQuery( - { - assetId: ticker, - }, - size, - start - ) - ); - - const data: HistoricAssetTransaction[] = nodes.map( - ({ - assetId, - amount, - fromPortfolio, - toPortfolio, - createdBlock, - eventId, - eventIdx, - extrinsicIdx, - fundingRound, - instructionId, - instructionMemo, - }) => ({ - asset: new FungibleAsset({ ticker: assetId }, context), - amount: new BigNumber(amount).shiftedBy(-6), - event: eventId, - from: optionize(middlewarePortfolioToPortfolio)(fromPortfolio, context), - to: optionize(middlewarePortfolioToPortfolio)(toPortfolio, context), - fundingRound, - instructionId: instructionId ? new BigNumber(instructionId) : undefined, - instructionMemo, - // eslint-disable-next-line @typescript-eslint/no-non-null-assertion - extrinsicIndex: new BigNumber(extrinsicIdx!), - // eslint-disable-next-line @typescript-eslint/no-non-null-assertion - ...middlewareEventDetailsToEventIdentifier(createdBlock!, eventIdx), - }) - ); - - const count = new BigNumber(totalCount); - const next = calculateNextKey(count, data.length, start); - - return { - data, - next, - count, - }; - } - - /** - * Determine whether this FungibleAsset exists on chain - */ - public override async exists(): Promise { - const { - ticker, - context, - context: { - polymeshApi: { query }, - }, - } = this; - const rawTicker = stringToTicker(ticker, context); - - const [tokenSize, nftId] = await Promise.all([ - query.asset.tokens.size(rawTicker), - query.nft.collectionTicker(rawTicker), - ]); - - return !tokenSize.isZero() && nftId.isZero(); - } - - /** - * Enable/disable venue filtering for this Asset and/or set allowed/disallowed venues - */ - public setVenueFiltering: ProcedureMethod; -} diff --git a/src/api/entities/Asset/NonFungible/Nft.ts b/src/api/entities/Asset/NonFungible/Nft.ts deleted file mode 100644 index f1697dc0b7..0000000000 --- a/src/api/entities/Asset/NonFungible/Nft.ts +++ /dev/null @@ -1,388 +0,0 @@ -import BigNumber from 'bignumber.js'; - -import { Context, Entity, NftCollection, PolymeshError, redeemNft } from '~/internal'; -import { - DefaultPortfolio, - ErrorCode, - NftMetadata, - NumberedPortfolio, - OptionalArgsProcedureMethod, - RedeemNftParams, -} from '~/types'; -import { - GLOBAL_BASE_IMAGE_URI_NAME, - GLOBAL_BASE_TOKEN_URI_NAME, - GLOBAL_IMAGE_URI_NAME, - GLOBAL_TOKEN_URI_NAME, -} from '~/utils/constants'; -import { - bigNumberToU64, - boolToBoolean, - bytesToString, - meshMetadataKeyToMetadataKey, - meshPortfolioIdToPortfolio, - portfolioToPortfolioId, - stringToTicker, - u64ToBigNumber, -} from '~/utils/conversion'; -import { createProcedureMethod } from '~/utils/internal'; - -export type NftUniqueIdentifiers = { - ticker: string; - id: BigNumber; -}; - -export interface HumanReadable { - id: string; - collection: string; -} - -/** - * Class used to manage Nft functionality. Each NFT belongs to an NftCollection, which specifies the expected metadata values for each NFT - */ -export class Nft extends Entity { - public id: BigNumber; - - /** - * The {@link api/entities/Asset/NonFungible/NftCollection | NftCollection} this NFT belongs to - */ - public collection: NftCollection; - - /** - * Redeem (or "burns") the NFT, removing it from circulation - */ - public redeem: OptionalArgsProcedureMethod; - - /** - * @hidden - * Check if a value is of type {@link UniqueIdentifiers} - */ - public static override isUniqueIdentifiers( - identifier: unknown - ): identifier is NftUniqueIdentifiers { - const { ticker, id } = identifier as NftUniqueIdentifiers; - - return typeof ticker === 'string' && id instanceof BigNumber; - } - - /** - * @hidden - */ - constructor(identifiers: NftUniqueIdentifiers, context: Context) { - super(identifiers, context); - - const { ticker, id } = identifiers; - - this.id = id; - - this.collection = new NftCollection({ ticker }, context); - - this.redeem = createProcedureMethod( - { getProcedureAndArgs: args => [redeemNft, { ticker, id, ...args }], optionalArgs: true }, - context - ); - } - - /** - * Get metadata associated with this token - */ - public async getMetadata(): Promise { - const { - id, - context, - collection, - context: { - polymeshApi: { query }, - }, - } = this; - - const collectionId = await collection.getCollectionId(); - - const rawCollectionId = bigNumberToU64(collectionId, context); - const rawId = bigNumberToU64(id, context); - - const entries = await query.nft.metadataValue.entries([rawCollectionId, rawId]); - - return entries.map(([storageKey, rawValue]) => { - const rawMetadataKey = storageKey.args[1]; - const key = meshMetadataKeyToMetadataKey(rawMetadataKey, collection.ticker); - const value = bytesToString(rawValue); - - return { key, value }; - }); - } - - /** - * Determine if the NFT exists on chain - */ - public async exists(): Promise { - const owner = await this.getOwner(); - - return owner !== null; - } - - /** - * Get the conventional image URI for the NFT - * - * This function will check for a token level value and a collection level value. Token level values take precedence over base values in case of a conflict. - * - * When creating a collection an issuer can either require per token images by specifying global metadata key `imageUri` as a collection key or by - * setting a collection base image URL by setting a value on the collection corresponding to the global metadata key `baseImageUri`. - * - * This method will return `null` if the NFT issuer did not configure the collection according to the convention. - * - * Per token URIs provide the most flexibility, but require more chain space to store, increasing the POLYX fee to issue each token. - * - * The URI values can include `{tokenId}` that will be replaced with the NFTs ID. If a base URI does not specify this the ID will be appended onto the URL. Examples: - * - `https://example.com/nfts/{tokenId}/image.png` becomes `https://example.com/nfts/1/image.png` - * - `https://example.com/nfts` becomes `https://example.com/nfts/1` if used a base value, but remain unchanged as a local value - */ - public async getImageUri(): Promise { - const [localId, collectionId] = await Promise.all([ - this.getGlobalMetadataId(GLOBAL_IMAGE_URI_NAME), - this.getGlobalMetadataId(GLOBAL_BASE_IMAGE_URI_NAME), - ]); - - const [localImageUrl, collectionBaseImageUrl] = await Promise.all([ - this.getLocalUri(localId), - this.getBaseUri(collectionId), - ]); - - if (localImageUrl) { - return localImageUrl; - } else if (collectionBaseImageUrl) { - return collectionBaseImageUrl; - } - - return null; - } - - /** - * Get the conventional token URI for the NFT - * - * This function will check for a token level value and a collection level value. Token level values take precedence over base values in case of a conflict. - * - * When creating a collection an issuer can either require per token URL by specifying global metadata key `tokenURI` as a collection key or by - * setting a collection base URL by setting a value on the collection corresponding to the global metadata key `baseTokenUri` on the collection. - * - * This method will return `null` if the NFT issuer did not configure the collection according to the convention. - * - * Per token URIs provide the most flexibility, but require more chain space to store, increasing the POLYX fee to issue each token. - * - * The URI values can include `{tokenId}` that will be replaced with the NFTs ID. If a base URI does not specify this the ID will be appended onto the URL. Examples: - * - `https://example.com/nfts/{tokenId}/info.json` becomes `https://example.com/nfts/1/info.json` - * - `https://example.com/nfts` becomes `https://example.com/nfts/1` if used a base value, but remain unchanged as a local value - */ - public async getTokenUri(): Promise { - const [localId, baseId] = await Promise.all([ - this.getGlobalMetadataId(GLOBAL_TOKEN_URI_NAME), - this.getGlobalMetadataId(GLOBAL_BASE_TOKEN_URI_NAME), - ]); - - const [localTokenUri, baseUri] = await Promise.all([ - this.getLocalUri(localId), - this.getBaseUri(baseId), - ]); - - if (localTokenUri) { - return localTokenUri; - } else if (baseUri) { - return baseUri; - } - - return null; - } - - /** - * Get owner of the NFT - * - * @note This method returns `null` if there is no existing holder for the token. This may happen even if the token has been redeemed/burned - */ - public async getOwner(): Promise { - const { - collection: { ticker }, - id, - context: { - polymeshApi: { - query: { - nft: { nftOwner }, - }, - }, - }, - context, - } = this; - - const rawTicker = stringToTicker(ticker, context); - const rawNftId = bigNumberToU64(id, context); - - const owner = await nftOwner(rawTicker, rawNftId); - - if (owner.isEmpty) { - return null; - } - - return meshPortfolioIdToPortfolio(owner.unwrap(), context); - } - - /** - * Check if the NFT is locked in any settlement instruction - * - * @throws if NFT has no owner (has been redeemed) - */ - public async isLocked(): Promise { - const { - collection: { ticker }, - id, - context: { - polymeshApi: { - query: { portfolio }, - }, - }, - context, - } = this; - - const owner = await this.getOwner(); - - if (!owner) { - throw new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: 'NFT does not exists. The token may have been redeemed', - }); - } - - const rawLocked = await portfolio.portfolioLockedNFT(portfolioToPortfolioId(owner), [ - stringToTicker(ticker, context), - bigNumberToU64(id, context), - ]); - - return boolToBoolean(rawLocked); - } - - /** - * @hidden - */ - public toHuman(): HumanReadable { - const { - collection: { ticker }, - id, - } = this; - - return { - collection: ticker, - id: id.toString(), - }; - } - - /** - * given a global metadata ID fetches a local URI value - * - * @hidden - */ - private async getLocalUri(metadataId: BigNumber | null): Promise { - const { - id, - context, - collection, - context: { - polymeshApi: { query }, - }, - } = this; - - if (!metadataId) { - return null; - } - - const collectionId = await collection.getCollectionId(); - - const rawCollectionId = bigNumberToU64(collectionId, context); - const rawNftId = bigNumberToU64(id, context); - - const rawNftValue = await query.nft.metadataValue([rawCollectionId, rawNftId], { - Global: bigNumberToU64(metadataId, context), - }); - - const nftValue = bytesToString(rawNftValue); - if (nftValue === '') { - return null; - } - - return this.templateId(nftValue); - } - - /** - * - * given a global metadata ID fetches a base URI value - * - * @hidden - */ - private async getBaseUri(metadataId: BigNumber | null): Promise { - const { - collection: { ticker }, - context, - context: { - polymeshApi: { query }, - }, - } = this; - - if (!metadataId) { - return null; - } - - const rawId = bigNumberToU64(metadataId, context); - const rawTicker = stringToTicker(ticker, context); - const rawValue = await query.asset.assetMetadataValues(rawTicker, { Global: rawId }); - - if (rawValue.isNone) { - return null; - } - - const baseUrl = bytesToString(rawValue.unwrap()); - return this.templateBaseUri(baseUrl); - } - - /** - * @hidden - */ - private templateId(input: string): string { - const { id } = this; - - return input.replace('{tokenId}', id.toString()); - } - - /** - * @hidden - */ - private templateBaseUri(input: string): string { - const { id } = this; - - const templatedPath = this.templateId(input); - - if (input !== templatedPath) { - return templatedPath; - } else if (input.endsWith('/')) { - return `${input}${id.toString()}`; - } else { - return `${input}/${id.toString()}`; - } - } - - /** - * helper to lookup global metadata ID by name - * - * @hidden - */ - private async getGlobalMetadataId(keyName: string): Promise { - const { - context: { - polymeshApi: { query }, - }, - } = this; - - const metadataId = await query.asset.assetMetadataGlobalNameToKey(keyName); - - if (metadataId.isSome) { - return u64ToBigNumber(metadataId.unwrap()); - } - return null; - } -} diff --git a/src/api/entities/Asset/NonFungible/NftCollection.ts b/src/api/entities/Asset/NonFungible/NftCollection.ts deleted file mode 100644 index 63e757be67..0000000000 --- a/src/api/entities/Asset/NonFungible/NftCollection.ts +++ /dev/null @@ -1,282 +0,0 @@ -import { StorageKey, u64 } from '@polkadot/types'; -import { PolymeshPrimitivesIdentityId, PolymeshPrimitivesTicker } from '@polkadot/types/lookup'; -import BigNumber from 'bignumber.js'; - -import { BaseAsset } from '~/api/entities/Asset/Base'; -import { NonFungibleSettlements } from '~/api/entities/Asset/Base/Settlements'; -import { issueNft } from '~/api/procedures/issueNft'; -import { Context, Nft, PolymeshError, transferAssetOwnership } from '~/internal'; -import { assetQuery } from '~/middleware/queries'; -import { Query } from '~/middleware/types'; -import { - AssetDetails, - CollectionKey, - ErrorCode, - EventIdentifier, - IssueNftParams, - MetadataType, - ProcedureMethod, - SubCallback, - UniqueIdentifiers, - UnsubCallback, -} from '~/types'; -import { Ensured } from '~/types/utils'; -import { - bigNumberToU64, - meshMetadataKeyToMetadataKey, - middlewareEventDetailsToEventIdentifier, - stringToTicker, - u64ToBigNumber, -} from '~/utils/conversion'; -import { createProcedureMethod, optionize } from '~/utils/internal'; - -const sumNftIssuance = ( - numberOfNfts: [StorageKey<[PolymeshPrimitivesTicker, PolymeshPrimitivesIdentityId]>, u64][] -): BigNumber => { - let numberIssued = new BigNumber(0); - numberOfNfts.forEach(([, holderEntry]) => { - const holderAmount = u64ToBigNumber(holderEntry); - numberIssued = numberIssued.plus(holderAmount); - }); - - return numberIssued; -}; - -/** - * Class used to manage NFT functionality - */ -export class NftCollection extends BaseAsset { - public settlements: NonFungibleSettlements; - /** - * Issues a new NFT for the collection - * - * @note Each NFT requires metadata for each value returned by `collectionKeys`. The SDK and chain only validate the presence of these fields. Additional validation may be needed to ensure each value complies with the specification. - */ - public issue: ProcedureMethod; - - /** - * Local cache for `getCollectionId` - * - * @hidden - */ - private _id?: BigNumber; - - /** - * @hidden - */ - constructor(identifiers: UniqueIdentifiers, context: Context) { - super(identifiers, context); - - const { ticker } = identifiers; - this.settlements = new NonFungibleSettlements(this, context); - - this.transferOwnership = createProcedureMethod( - { getProcedureAndArgs: args => [transferAssetOwnership, { ticker, ...args }] }, - context - ); - - this.issue = createProcedureMethod( - { - getProcedureAndArgs: args => [issueNft, { ticker, ...args }], - }, - context - ); - } - - /** - * Retrieve the NftCollection's data - * - * @note can be subscribed to - */ - public override details(): Promise; - public override details(callback: SubCallback): Promise; - - // eslint-disable-next-line require-jsdoc - public override async details( - callback?: SubCallback - ): Promise { - const { - context: { - polymeshApi: { query }, - }, - ticker, - context, - } = this; - - const rawTicker = stringToTicker(ticker, context); - - const rawNumberNftsPromise = query.nft.numberOfNFTs.entries(rawTicker); - - if (callback) { - const rawNumberNfts = await rawNumberNftsPromise; - const numberIssued = sumNftIssuance(rawNumberNfts); - - // currently `asset.tokens` does not track Nft `totalSupply', we wrap the callback to provide it - const wrappedCallback = async (commonDetails: AssetDetails): Promise => { - const nftDetails = { ...commonDetails, totalSupply: numberIssued }; - - // eslint-disable-next-line @typescript-eslint/no-floating-promises - callback(nftDetails); - }; - - return super.details(wrappedCallback); - } - - const [rawNumberNfts, commonDetails] = await Promise.all([ - rawNumberNftsPromise, - super.details(), - ]); - const numberIssued = sumNftIssuance(rawNumberNfts); - - return { ...commonDetails, totalSupply: numberIssued }; - } - - /** - * Retrieve the metadata that defines the NFT collection. Every `issue` call for this collection must provide a value for each element returned - * - * @note Each NFT **must** have an entry for each value, it **should** comply with the spec. - * In other words, the SDK only validates the presence of metadata keys, additional validation should be used when issuing - */ - public async collectionKeys(): Promise { - const { - context, - ticker, - context: { - polymeshApi: { query }, - }, - } = this; - - const collectionId = await this.getCollectionId(); - const rawCollectionId = bigNumberToU64(collectionId, context); - - const rawKeys = await query.nft.collectionKeys(rawCollectionId); - const neededKeys = [...rawKeys].map(value => meshMetadataKeyToMetadataKey(value, ticker)); - - const allMetadata = await this.metadata.get(); - return Promise.all( - neededKeys.map(async ({ type, id }) => { - const neededMetadata = allMetadata.find(entry => entry.type === type && entry.id.eq(id)); - if (!neededMetadata) { - throw new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: 'Failed to find metadata details', - data: { type, id }, - }); - } - - const details = await neededMetadata.details(); - - if (type === MetadataType.Local) { - return { ...details, id, type, ticker }; - } else { - return { ...details, id, type }; - } - }) - ); - } - - /** - * Retrieve the amount of unique investors that hold this Nft - */ - public async investorCount(): Promise { - const { - context: { - polymeshApi: { query }, - }, - context, - ticker, - } = this; - - const rawTicker = stringToTicker(ticker, context); - - const holderEntries = await query.nft.numberOfNFTs.entries(rawTicker); - - const assetBalances = holderEntries.filter(([, balance]) => !balance.isZero()); - - return new BigNumber(assetBalances.length); - } - - /** - * Get an NFT belonging to this collection - * - * @throws if the given NFT does not exist - */ - public async getNft(args: { id: BigNumber }): Promise { - const { context, ticker } = this; - const { id } = args; - - const nft = new Nft({ ticker, id }, context); - - const exists = await nft.exists(); - if (!exists) { - throw new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: 'The NFT does not exist', - data: { id }, - }); - } - - return nft; - } - - /** - * Retrieve the identifier data (block number, date and event index) of the event that was emitted when the token was created - * - * @note uses the middlewareV2 - * @note there is a possibility that the data is not ready by the time it is requested. In that case, `null` is returned - */ - public async createdAt(): Promise { - const { ticker, context } = this; - - const { - data: { - assets: { - nodes: [asset], - }, - }, - } = await context.queryMiddleware>( - assetQuery({ - ticker, - }) - ); - - return optionize(middlewareEventDetailsToEventIdentifier)(asset?.createdBlock, asset?.eventIdx); - } - - /** - * Determine whether this NftCollection exists on chain - */ - public override async exists(): Promise { - const { ticker, context } = this; - - const rawTokenId = await context.polymeshApi.query.nft.collectionTicker( - stringToTicker(ticker, context) - ); - - return !rawTokenId.isZero(); - } - - /** - * Returns the collection's on chain numeric ID. Used primarily to access NFT specific storage values - */ - public async getCollectionId(): Promise { - const { - ticker, - context, - context: { - polymeshApi: { query }, - }, - } = this; - - if (this._id) { - return this._id; - } - - const rawTicker = stringToTicker(ticker, context); - const rawId = await query.nft.collectionTicker(rawTicker); - - this._id = u64ToBigNumber(rawId); - - return this._id; - } -} diff --git a/src/api/entities/Asset/NonFungible/index.ts b/src/api/entities/Asset/NonFungible/index.ts deleted file mode 100644 index f016c05575..0000000000 --- a/src/api/entities/Asset/NonFungible/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './NftCollection'; -export * from './Nft'; diff --git a/src/api/entities/Asset/__tests__/Base/BaseAsset.ts b/src/api/entities/Asset/__tests__/Base/BaseAsset.ts deleted file mode 100644 index 1cad52d4e5..0000000000 --- a/src/api/entities/Asset/__tests__/Base/BaseAsset.ts +++ /dev/null @@ -1,74 +0,0 @@ -import BigNumber from 'bignumber.js'; - -import { BaseAsset } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { createMockBTreeSet, MockContext } from '~/testUtils/mocks/dataSources'; - -describe('BaseAsset class', () => { - let ticker: string; - let context: MockContext; - let mediatorDid: string; - - beforeAll(() => { - dsMockUtils.initMocks(); - entityMockUtils.initMocks(); - procedureMockUtils.initMocks(); - }); - - beforeEach(() => { - context = dsMockUtils.getContextInstance(); - ticker = 'TICKER'; - - mediatorDid = 'someDid'; - - dsMockUtils.createQueryMock('asset', 'mandatoryMediators', { - returnValue: createMockBTreeSet([dsMockUtils.createMockIdentityId(mediatorDid)]), - }); - }); - - afterEach(() => { - dsMockUtils.reset(); - entityMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - describe('method: exists', () => { - it('should return whether the BaseAsset exists', async () => { - const asset = new BaseAsset({ ticker }, context); - dsMockUtils.createQueryMock('asset', 'tokens', { - size: new BigNumber(10), - }); - - dsMockUtils.createQueryMock('nft', 'collectionTicker', { - returnValue: dsMockUtils.createMockU64(new BigNumber(0)), - }); - - let result = await asset.exists(); - - expect(result).toBe(true); - - dsMockUtils.createQueryMock('nft', 'collectionTicker', { - returnValue: dsMockUtils.createMockU64(new BigNumber(2)), - }); - - result = await asset.exists(); - - expect(result).toBe(false); - - dsMockUtils.createQueryMock('asset', 'tokens', { - size: new BigNumber(0), - }); - - dsMockUtils.createQueryMock('nft', 'collectionTicker', { - returnValue: dsMockUtils.createMockU64(new BigNumber(0)), - }); - - result = await asset.exists(); - - expect(result).toBe(false); - }); - }); -}); diff --git a/src/api/entities/Asset/__tests__/Base/Compliance/Requirements.ts b/src/api/entities/Asset/__tests__/Base/Compliance/Requirements.ts deleted file mode 100644 index 35cdc4f14c..0000000000 --- a/src/api/entities/Asset/__tests__/Base/Compliance/Requirements.ts +++ /dev/null @@ -1,555 +0,0 @@ -import { Vec } from '@polkadot/types/codec'; -import { - PolymeshPrimitivesComplianceManagerAssetCompliance, - PolymeshPrimitivesIdentityId, -} from '@polkadot/types/lookup'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { Params } from '~/api/procedures/setAssetRequirements'; -import { Context, FungibleAsset, Namespace, PolymeshTransaction } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { MockCodec } from '~/testUtils/mocks/dataSources'; -import { - ClaimType, - ComplianceRequirements, - ConditionTarget, - ConditionType, - InputCondition, - ScopeType, - TrustedClaimIssuer, -} from '~/types'; -import * as utilsConversionModule from '~/utils/conversion'; - -import { Requirements } from '../../../Base/Compliance/Requirements'; - -jest.mock( - '~/api/entities/Identity', - require('~/testUtils/mocks/entities').mockIdentityModule('~/api/entities/Identity') -); -jest.mock( - '~/base/Procedure', - require('~/testUtils/mocks/procedure').mockProcedureModule('~/base/Procedure') -); - -describe('Requirements class', () => { - beforeAll(() => { - entityMockUtils.initMocks(); - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - }); - - afterEach(() => { - entityMockUtils.reset(); - dsMockUtils.reset(); - procedureMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - procedureMockUtils.cleanup(); - }); - - it('should extend namespace', () => { - expect(Requirements.prototype instanceof Namespace).toBe(true); - }); - - describe('method: set', () => { - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { - const context = dsMockUtils.getContextInstance(); - const asset = entityMockUtils.getFungibleAssetInstance(); - const requirements = new Requirements(asset, context); - - const args: Omit = { - requirements: [ - [ - { - type: ConditionType.IsPresent, - claim: { - type: ClaimType.Exempted, - scope: { type: ScopeType.Ticker, value: 'SOME_TICKER' }, - }, - target: ConditionTarget.Both, - }, - { - type: ConditionType.IsAbsent, - claim: { - type: ClaimType.Blocked, - scope: { type: ScopeType.Ticker, value: 'SOME_TICKER' }, - }, - target: ConditionTarget.Both, - }, - ], - ], - }; - - const expectedTransaction = - 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith( - { args: { ticker: asset.ticker, ...args }, transformer: undefined }, - context, - {} - ) - .mockResolvedValue(expectedTransaction); - - const tx = await requirements.set(args); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: add', () => { - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { - const context = dsMockUtils.getContextInstance(); - const asset = entityMockUtils.getFungibleAssetInstance(); - const requirements = new Requirements(asset, context); - - const args = { - conditions: [ - { - type: ConditionType.IsPresent, - claim: { - type: ClaimType.Exempted, - scope: { type: ScopeType.Ticker, value: 'SOME_TICKER' }, - }, - target: ConditionTarget.Both, - }, - { - type: ConditionType.IsAbsent, - claim: { - type: ClaimType.Blocked, - scope: { type: ScopeType.Ticker, value: 'SOME_TICKER' }, - }, - target: ConditionTarget.Both, - }, - ] as InputCondition[], - }; - - const expectedTransaction = - 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith( - { args: { ticker: asset.ticker, ...args }, transformer: undefined }, - context, - {} - ) - .mockResolvedValue(expectedTransaction); - - const tx = await requirements.add(args); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: remove', () => { - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { - const context = dsMockUtils.getContextInstance(); - const asset = entityMockUtils.getFungibleAssetInstance(); - const requirements = new Requirements(asset, context); - - const args = { - requirement: new BigNumber(10), - }; - - const expectedTransaction = - 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith( - { args: { ticker: asset.ticker, ...args }, transformer: undefined }, - context, - {} - ) - .mockResolvedValue(expectedTransaction); - - const tx = await requirements.remove(args); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: reset', () => { - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { - const context = dsMockUtils.getContextInstance(); - const asset = entityMockUtils.getFungibleAssetInstance(); - const requirements = new Requirements(asset, context); - - const expectedQueue = 'someQueue' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith( - { args: { ticker: asset.ticker, requirements: [] }, transformer: undefined }, - context, - {} - ) - .mockResolvedValue(expectedQueue); - - const tx = await requirements.reset(); - - expect(tx).toBe(expectedQueue); - }); - }); - - describe('method: get', () => { - let ticker: string; - let context: Context; - let asset: FungibleAsset; - let requirements: Requirements; - let defaultClaimIssuers: TrustedClaimIssuer[]; - let notDefaultClaimIssuer: TrustedClaimIssuer; - let assetDid: string; - let cddId: string; - let trustedIssuerToTrustedClaimIssuerSpy: jest.SpyInstance; - - let expected: ComplianceRequirements; - - let queryMultiMock: jest.Mock; - let queryMultiResult: [ - MockCodec, - Vec - ]; - - beforeAll(() => { - trustedIssuerToTrustedClaimIssuerSpy = jest.spyOn( - utilsConversionModule, - 'trustedIssuerToTrustedClaimIssuer' - ); - }); - - beforeEach(() => { - ticker = 'FAKE_TICKER'; - context = dsMockUtils.getContextInstance(); - asset = entityMockUtils.getFungibleAssetInstance({ ticker }); - requirements = new Requirements(asset, context); - defaultClaimIssuers = [ - { - identity: entityMockUtils.getIdentityInstance({ did: 'defaultIssuer' }), - trustedFor: null, - }, - ]; - notDefaultClaimIssuer = { - identity: entityMockUtils.getIdentityInstance({ did: 'notDefaultClaimIssuer' }), - trustedFor: null, - }; - assetDid = 'someAssetDid'; - cddId = 'someCddId'; - dsMockUtils.createQueryMock('complianceManager', 'assetCompliances'); - dsMockUtils.createQueryMock('complianceManager', 'trustedClaimIssuer'); - - queryMultiMock = dsMockUtils.getQueryMultiMock(); - - trustedIssuerToTrustedClaimIssuerSpy.mockReturnValue({ - identity: defaultClaimIssuers[0].identity, - trustedFor: null, - }); - - const scope = dsMockUtils.createMockScope({ - Identity: dsMockUtils.createMockIdentityId(assetDid), - }); - const conditionForBoth = dsMockUtils.createMockCondition({ - conditionType: dsMockUtils.createMockConditionType({ - IsAnyOf: [ - dsMockUtils.createMockClaim({ - KnowYourCustomer: scope, - }), - dsMockUtils.createMockClaim({ - CustomerDueDiligence: dsMockUtils.createMockCddId(cddId), - }), - ], - }), - issuers: [], - }); - - queryMultiResult = [ - { - requirements: [ - dsMockUtils.createMockComplianceRequirement({ - senderConditions: [ - dsMockUtils.createMockCondition({ - conditionType: dsMockUtils.createMockConditionType({ - IsPresent: dsMockUtils.createMockClaim({ - Exempted: scope, - }), - }), - issuers: [ - dsMockUtils.createMockTrustedIssuer({ - issuer: dsMockUtils.createMockIdentityId(notDefaultClaimIssuer.identity.did), - trustedFor: dsMockUtils.createMockTrustedFor('Any'), - }), - ], - }), - ], - receiverConditions: [], - id: dsMockUtils.createMockU32(new BigNumber(1)), - }), - dsMockUtils.createMockComplianceRequirement({ - senderConditions: [conditionForBoth], - receiverConditions: [ - conditionForBoth, - dsMockUtils.createMockCondition({ - conditionType: dsMockUtils.createMockConditionType({ - IsAbsent: dsMockUtils.createMockClaim({ - Blocked: scope, - }), - }), - issuers: [], - }), - ], - id: dsMockUtils.createMockU32(new BigNumber(2)), - }), - ], - } as unknown as MockCodec, - defaultClaimIssuers as unknown as Vec, - ]; - - expected = { - requirements: [ - { - id: new BigNumber(1), - conditions: [ - { - target: ConditionTarget.Sender, - type: ConditionType.IsPresent, - claim: { - type: ClaimType.Exempted, - scope: { type: ScopeType.Identity, value: assetDid }, - }, - trustedClaimIssuers: [ - { - identity: expect.objectContaining({ did: notDefaultClaimIssuer.identity.did }), - trustedFor: null, - }, - ], - }, - ], - }, - { - id: new BigNumber(2), - conditions: [ - { - target: ConditionTarget.Both, - type: ConditionType.IsAnyOf, - claims: [ - { - type: ClaimType.KnowYourCustomer, - scope: { type: ScopeType.Identity, value: assetDid }, - }, - { type: ClaimType.CustomerDueDiligence, id: cddId }, - ], - }, - { - target: ConditionTarget.Receiver, - type: ConditionType.IsAbsent, - claim: { - type: ClaimType.Blocked, - scope: { type: ScopeType.Identity, value: assetDid }, - }, - }, - ], - }, - ], - defaultTrustedClaimIssuers: [ - { identity: expect.objectContaining({ did: 'defaultIssuer' }), trustedFor: null }, - ], - }; - }); - - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should return all requirements attached to the Asset, along with the default trusted claim issuers', async () => { - queryMultiMock.mockResolvedValue(queryMultiResult); - const result = await requirements.get(); - - expect(result).toEqual(expected); - }); - - it('should allow subscription', async () => { - const unsubCallback = 'unsubCallback'; - queryMultiMock.mockImplementation((_, cbFunc) => { - cbFunc(queryMultiResult); - return unsubCallback; - }); - - const callback = jest.fn(); - - const result = await requirements.get(callback); - - expect(result).toBe(unsubCallback); - - expect(callback).toHaveBeenCalledWith( - expect.objectContaining({ - requirements: [ - { - id: new BigNumber(1), - conditions: [ - { - ...expected.requirements[0].conditions[0], - trustedClaimIssuers: [ - { - identity: expect.objectContaining({ - did: notDefaultClaimIssuer.identity.did, - }), - trustedFor: null, - }, - ], - }, - ], - }, - { - id: new BigNumber(2), - conditions: expected.requirements[1].conditions, - }, - ], - defaultTrustedClaimIssuers: [ - { - identity: expect.objectContaining({ did: 'defaultIssuer' }), - trustedFor: null, - }, - ], - }) - ); - }); - }); - - describe('method: pause', () => { - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { - const context = dsMockUtils.getContextInstance(); - const asset = entityMockUtils.getFungibleAssetInstance(); - const requirements = new Requirements(asset, context); - - const expectedQueue = 'someQueue' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith( - { args: { ticker: asset.ticker, pause: true }, transformer: undefined }, - context, - {} - ) - .mockResolvedValue(expectedQueue); - - const tx = await requirements.pause(); - - expect(tx).toBe(expectedQueue); - }); - }); - - describe('method: unpause', () => { - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { - const context = dsMockUtils.getContextInstance(); - const asset = entityMockUtils.getFungibleAssetInstance(); - const requirements = new Requirements(asset, context); - - const expectedQueue = 'someQueue' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith( - { args: { ticker: asset.ticker, pause: false }, transformer: undefined }, - context, - {} - ) - .mockResolvedValue(expectedQueue); - - const tx = await requirements.unpause(); - - expect(tx).toBe(expectedQueue); - }); - }); - - describe('method: modify', () => { - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { - const context = dsMockUtils.getContextInstance(); - const asset = entityMockUtils.getFungibleAssetInstance(); - const requirements = new Requirements(asset, context); - - const args = { - id: new BigNumber(1), - conditions: [ - { - type: ConditionType.IsIdentity, - identity: entityMockUtils.getIdentityInstance(), - target: ConditionTarget.Both, - }, - ] as InputCondition[], - }; - - const expectedQueue = 'someQueue' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith( - { args: { ticker: asset.ticker, ...args }, transformer: undefined }, - context, - {} - ) - .mockResolvedValue(expectedQueue); - - const tx = await requirements.modify(args); - - expect(tx).toBe(expectedQueue); - }); - }); - - describe('method: arePaused', () => { - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should return whether compliance conditions are paused or not', async () => { - const fakeResult = false; - const context = dsMockUtils.getContextInstance(); - const asset = entityMockUtils.getFungibleAssetInstance(); - const rawTicker = dsMockUtils.createMockTicker(asset.ticker); - const mockBool = dsMockUtils.createMockBool(fakeResult); - - const requirements = new Requirements(asset, context); - - when(jest.spyOn(utilsConversionModule, 'stringToTicker')) - .calledWith(asset.ticker, context) - .mockReturnValue(rawTicker); - - when(jest.spyOn(utilsConversionModule, 'boolToBoolean')) - .calledWith(mockBool) - .mockReturnValue(fakeResult); - - when(dsMockUtils.createQueryMock('complianceManager', 'assetCompliances')) - .calledWith(rawTicker) - .mockResolvedValue({ paused: mockBool }); - - const result = await requirements.arePaused(); - - expect(result).toEqual(fakeResult); - }); - }); -}); diff --git a/src/api/entities/Asset/__tests__/Base/Compliance/TrustedClaimIssuers.ts b/src/api/entities/Asset/__tests__/Base/Compliance/TrustedClaimIssuers.ts deleted file mode 100644 index 1d87d44a77..0000000000 --- a/src/api/entities/Asset/__tests__/Base/Compliance/TrustedClaimIssuers.ts +++ /dev/null @@ -1,244 +0,0 @@ -import { - PolymeshPrimitivesConditionTrustedIssuer, - PolymeshPrimitivesTicker, -} from '@polkadot/types/lookup'; -import { when } from 'jest-when'; - -import { Context, FungibleAsset, Namespace, PolymeshTransaction } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { ModifyAssetTrustedClaimIssuersAddSetParams } from '~/types'; -import { TrustedClaimIssuerOperation } from '~/types/internal'; -import * as utilsConversionModule from '~/utils/conversion'; - -import { TrustedClaimIssuers } from '../../../Base/Compliance/TrustedClaimIssuers'; - -jest.mock( - '~/api/entities/Identity', - require('~/testUtils/mocks/entities').mockIdentityModule('~/api/entities/Identity') -); -jest.mock( - '~/api/entities/Asset/Fungible', - require('~/testUtils/mocks/entities').mockFungibleAssetModule('~/api/entities/Asset/Fungible') -); -jest.mock( - '~/base/Procedure', - require('~/testUtils/mocks/procedure').mockProcedureModule('~/base/Procedure') -); - -describe('TrustedClaimIssuers class', () => { - beforeAll(() => { - entityMockUtils.initMocks(); - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - procedureMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - procedureMockUtils.cleanup(); - }); - - it('should extend namespace', () => { - expect(TrustedClaimIssuers.prototype instanceof Namespace).toBe(true); - }); - - describe('method: set', () => { - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { - const context = dsMockUtils.getContextInstance(); - const asset = entityMockUtils.getFungibleAssetInstance(); - const trustedClaimIssuers = new TrustedClaimIssuers(asset, context); - - const args: ModifyAssetTrustedClaimIssuersAddSetParams = { - claimIssuers: [ - { identity: entityMockUtils.getIdentityInstance({ did: 'someDid' }), trustedFor: null }, - { identity: entityMockUtils.getIdentityInstance({ did: 'otherDid' }), trustedFor: null }, - ], - }; - - const expectedTransaction = - 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith( - { - args: { ticker: asset.ticker, ...args, operation: TrustedClaimIssuerOperation.Set }, - transformer: undefined, - }, - context, - {} - ) - .mockResolvedValue(expectedTransaction); - - const tx = await trustedClaimIssuers.set({ - ...args, - }); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: add', () => { - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { - const context = dsMockUtils.getContextInstance(); - const asset = entityMockUtils.getFungibleAssetInstance(); - const trustedClaimIssuers = new TrustedClaimIssuers(asset, context); - - const args: ModifyAssetTrustedClaimIssuersAddSetParams = { - claimIssuers: [ - { identity: entityMockUtils.getIdentityInstance({ did: 'someDid' }), trustedFor: null }, - { identity: entityMockUtils.getIdentityInstance({ did: 'otherDid' }), trustedFor: null }, - ], - }; - - const expectedTransaction = - 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith( - { - args: { ticker: asset.ticker, ...args, operation: TrustedClaimIssuerOperation.Add }, - transformer: undefined, - }, - context, - {} - ) - .mockResolvedValue(expectedTransaction); - - const tx = await trustedClaimIssuers.add({ - ...args, - }); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: remove', () => { - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { - const context = dsMockUtils.getContextInstance(); - const asset = entityMockUtils.getFungibleAssetInstance(); - const trustedClaimIssuers = new TrustedClaimIssuers(asset, context); - - const args = { - claimIssuers: ['someDid', 'otherDid'], - }; - - const expectedTransaction = - 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith( - { - args: { ticker: asset.ticker, ...args, operation: TrustedClaimIssuerOperation.Remove }, - transformer: undefined, - }, - context, - {} - ) - .mockResolvedValue(expectedTransaction); - - const tx = await trustedClaimIssuers.remove({ - ...args, - }); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: get', () => { - let ticker: string; - let rawTicker: PolymeshPrimitivesTicker; - let stringToTickerSpy: jest.SpyInstance; - let context: Context; - let asset: FungibleAsset; - let expectedDids: string[]; - let claimIssuers: PolymeshPrimitivesConditionTrustedIssuer[]; - - let trustedClaimIssuerMock: jest.Mock; - - let trustedClaimIssuers: TrustedClaimIssuers; - - beforeAll(() => { - ticker = 'test'; - rawTicker = dsMockUtils.createMockTicker(ticker); - stringToTickerSpy = jest.spyOn(utilsConversionModule, 'stringToTicker'); - context = dsMockUtils.getContextInstance(); - asset = entityMockUtils.getFungibleAssetInstance({ ticker }); - - expectedDids = ['someDid', 'otherDid', 'yetAnotherDid']; - - claimIssuers = []; - - expectedDids.forEach(did => { - claimIssuers.push( - dsMockUtils.createMockTrustedIssuer({ - issuer: dsMockUtils.createMockIdentityId(did), - trustedFor: dsMockUtils.createMockTrustedFor('Any'), - }) - ); - }); - - when(stringToTickerSpy).calledWith(ticker, context).mockReturnValue(rawTicker); - trustedClaimIssuerMock = dsMockUtils.createQueryMock( - 'complianceManager', - 'trustedClaimIssuer' - ); - - trustedClaimIssuers = new TrustedClaimIssuers(asset, context); - }); - - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should return the current default trusted claim issuers', async () => { - when(trustedClaimIssuerMock).calledWith(rawTicker).mockResolvedValue(claimIssuers); - - const result = await trustedClaimIssuers.get(); - - expect(result).toEqual( - expectedDids.map(did => ({ identity: expect.objectContaining({ did }), trustedFor: null })) - ); - }); - - it('should allow subscription', async () => { - const unsubCallback = 'unsubCallback'; - - when(trustedClaimIssuerMock) - .calledWith(rawTicker, expect.any(Function)) - .mockImplementation((_, cbFunc) => { - cbFunc(claimIssuers); - return unsubCallback; - }); - - const callback = jest.fn(); - - const result = await trustedClaimIssuers.get(callback); - - expect(result).toBe(unsubCallback); - expect(callback).toHaveBeenCalledWith( - expect.objectContaining( - expectedDids.map(did => ({ - identity: expect.objectContaining({ did }), - trustedFor: null, - })) - ) - ); - }); - }); -}); diff --git a/src/api/entities/Asset/__tests__/Base/Compliance/index.ts b/src/api/entities/Asset/__tests__/Base/Compliance/index.ts deleted file mode 100644 index 6f9bfd22e5..0000000000 --- a/src/api/entities/Asset/__tests__/Base/Compliance/index.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { Namespace } from '~/internal'; - -import { Compliance } from '../../../Base/Compliance'; - -describe('Compliance class', () => { - it('should extend namespace', () => { - expect(Compliance.prototype instanceof Namespace).toBe(true); - }); -}); diff --git a/src/api/entities/Asset/__tests__/Base/Documents.ts b/src/api/entities/Asset/__tests__/Base/Documents.ts deleted file mode 100644 index d4fe73e904..0000000000 --- a/src/api/entities/Asset/__tests__/Base/Documents.ts +++ /dev/null @@ -1,134 +0,0 @@ -import { StorageKey } from '@polkadot/types'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { FungibleAsset, Namespace, PolymeshTransaction } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { AssetDocument } from '~/types'; -import { tuple } from '~/types/utils'; -import * as utilsInternalModule from '~/utils/internal'; - -import { Documents } from '../../Base/Documents'; - -jest.mock( - '~/base/Procedure', - require('~/testUtils/mocks/procedure').mockProcedureModule('~/base/Procedure') -); - -describe('Documents class', () => { - beforeAll(() => { - entityMockUtils.initMocks(); - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - entityMockUtils.reset(); - procedureMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - procedureMockUtils.cleanup(); - }); - - it('should extend namespace', () => { - expect(Documents.prototype instanceof Namespace).toBe(true); - }); - - describe('method: set', () => { - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { - const context = dsMockUtils.getContextInstance(); - const asset = entityMockUtils.getFungibleAssetInstance(); - const documents = new Documents(asset, context); - - const args = { - documents: [ - { - name: 'someName', - uri: 'someUri', - contentHash: 'someHash', - }, - ], - }; - - const expectedTransaction = - 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith( - { args: { ticker: asset.ticker, ...args }, transformer: undefined }, - context, - {} - ) - .mockResolvedValue(expectedTransaction); - - const tx = await documents.set(args); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: get', () => { - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should retrieve all documents linked to the Asset', async () => { - const asset = entityMockUtils.getFungibleAssetInstance(); - dsMockUtils.createQueryMock('asset', 'assetDocuments'); - const requestPaginatedSpy = jest.spyOn(utilsInternalModule, 'requestPaginated'); - - const expectedDocuments: AssetDocument[] = [ - { - name: 'someDocument', - uri: 'someUri', - contentHash: '0x01', - }, - { - name: 'otherDocument', - uri: 'otherUri', - contentHash: '0x02', - }, - ]; - const entries = expectedDocuments.map(({ name, uri, contentHash, type, filedAt }, index) => - tuple( - { - args: [ - dsMockUtils.createMockTicker(asset.ticker), - dsMockUtils.createMockU32(new BigNumber(index)), - ], - } as unknown as StorageKey, - dsMockUtils.createMockOption( - dsMockUtils.createMockDocument({ - uri: dsMockUtils.createMockBytes(uri), - name: dsMockUtils.createMockBytes(name), - contentHash: dsMockUtils.createMockDocumentHash({ - H128: dsMockUtils.createMockU8aFixed(contentHash, true), - }), - docType: dsMockUtils.createMockOption( - type ? dsMockUtils.createMockBytes(type) : null - ), - filingDate: dsMockUtils.createMockOption( - filedAt ? dsMockUtils.createMockMoment(new BigNumber(filedAt.getTime())) : null - ), - }) - ) - ) - ); - - requestPaginatedSpy.mockResolvedValue({ entries, lastKey: null }); - - const context = dsMockUtils.getContextInstance(); - const documents = new Documents(asset, context); - const result = await documents.get(); - - expect(result).toEqual({ data: expectedDocuments, next: null }); - }); - }); -}); diff --git a/src/api/entities/Asset/__tests__/Base/Metadata.ts b/src/api/entities/Asset/__tests__/Base/Metadata.ts deleted file mode 100644 index b3d4ee9cfc..0000000000 --- a/src/api/entities/Asset/__tests__/Base/Metadata.ts +++ /dev/null @@ -1,235 +0,0 @@ -import { u64 } from '@polkadot/types'; -import { PolymeshPrimitivesTicker } from '@polkadot/types/lookup'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { Metadata } from '~/api/entities/Asset/Base/Metadata'; -import { Context, FungibleAsset, MetadataEntry, Namespace, PolymeshTransaction } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { MetadataType } from '~/types'; -import { tuple } from '~/types/utils'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/Asset/Fungible', - require('~/testUtils/mocks/entities').mockFungibleAssetModule('~/api/entities/Asset/Fungible') -); -jest.mock( - '~/api/entities/MetadataEntry', - require('~/testUtils/mocks/entities').mockMetadataEntryModule('~/api/entities/MetadataEntry') -); -jest.mock( - '~/base/Procedure', - require('~/testUtils/mocks/procedure').mockProcedureModule('~/base/Procedure') -); - -describe('Metadata class', () => { - let ticker: string; - let asset: FungibleAsset; - let context: Context; - let metadata: Metadata; - let rawTicker: PolymeshPrimitivesTicker; - let stringToTickerSpy: jest.SpyInstance; - - beforeAll(() => { - entityMockUtils.initMocks(); - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - - stringToTickerSpy = jest.spyOn(utilsConversionModule, 'stringToTicker'); - }); - - beforeEach(() => { - context = dsMockUtils.getContextInstance(); - ticker = 'SOME_TICKER'; - rawTicker = dsMockUtils.createMockTicker(ticker); - asset = entityMockUtils.getFungibleAssetInstance({ ticker }); - - metadata = new Metadata(asset, context); - - when(stringToTickerSpy).calledWith(ticker, context).mockReturnValue(rawTicker); - }); - - afterEach(() => { - entityMockUtils.reset(); - dsMockUtils.reset(); - procedureMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - procedureMockUtils.cleanup(); - }); - - it('should extend namespace', () => { - expect(Metadata.prototype instanceof Namespace).toBe(true); - }); - - describe('method: register', () => { - it('should prepare the procedure and return the resulting transaction', async () => { - const expectedTransaction = - 'someTransaction' as unknown as PolymeshTransaction; - - const params = { name: 'SOME_METADATA', specs: {} }; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args: { ticker, ...params }, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const tx = await metadata.register(params); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: get', () => { - let ids: BigNumber[]; - let rawIds: u64[]; - let u64ToBigNumberSpy: jest.SpyInstance; - - beforeAll(() => { - u64ToBigNumberSpy = jest.spyOn(utilsConversionModule, 'u64ToBigNumber'); - }); - - beforeEach(() => { - ids = [new BigNumber(1), new BigNumber(2)]; - rawIds = [dsMockUtils.createMockU64(ids[0]), dsMockUtils.createMockU64(ids[1])]; - - rawIds.forEach((rawId, index) => - when(u64ToBigNumberSpy).calledWith(rawId).mockReturnValue(ids[index]) - ); - - dsMockUtils.createQueryMock('asset', 'assetMetadataGlobalKeyToName', { - entries: [ - tuple( - [rawIds[0]], - dsMockUtils.createMockOption(dsMockUtils.createMockBytes('GLOBAL_NAME')) - ), - ], - }); - - dsMockUtils.createQueryMock('asset', 'assetMetadataLocalKeyToName', { - entries: rawIds.map((rawId, index) => - tuple( - [rawTicker, rawId], - dsMockUtils.createMockOption(dsMockUtils.createMockBytes(`LOCAL_NAME_${index}`)) - ) - ), - }); - }); - - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should return all MetadataEntry associated to the Asset', async () => { - const result = await metadata.get(); - - expect(result).toEqual([ - expect.objectContaining({ - id: new BigNumber(1), - asset: expect.objectContaining({ ticker }), - type: MetadataType.Global, - }), - expect.objectContaining({ - id: new BigNumber(1), - asset: expect.objectContaining({ ticker }), - type: MetadataType.Local, - }), - expect.objectContaining({ - id: new BigNumber(2), - asset: expect.objectContaining({ ticker }), - type: MetadataType.Local, - }), - ]); - }); - }); - - describe('method: getOne', () => { - let id: BigNumber; - - beforeAll(() => { - jest.spyOn(utilsConversionModule, 'bigNumberToU64').mockImplementation(); - }); - - beforeEach(() => { - id = new BigNumber(1); - }); - - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should throw an error if no MetadataEntry is found', async () => { - dsMockUtils.createQueryMock('asset', 'assetMetadataGlobalKeyToName', { - returnValue: dsMockUtils.createMockOption(), - }); - await expect(metadata.getOne({ id, type: MetadataType.Global })).rejects.toThrow( - `There is no global Asset Metadata with id "${id.toString()}"` - ); - - dsMockUtils.createQueryMock('asset', 'assetMetadataLocalKeyToName', { - returnValue: dsMockUtils.createMockOption(), - }); - await expect(metadata.getOne({ id, type: MetadataType.Local })).rejects.toThrow( - `There is no local Asset Metadata with id "${id.toString()}"` - ); - }); - - it('should return the MetadataEntry for requested id and type', async () => { - const rawName = dsMockUtils.createMockOption(dsMockUtils.createMockBytes('SOME_NAME')); - dsMockUtils.createQueryMock('asset', 'assetMetadataGlobalKeyToName', { - returnValue: rawName, - }); - - let result = await metadata.getOne({ id, type: MetadataType.Global }); - expect(result).toEqual( - expect.objectContaining({ - id, - asset: expect.objectContaining({ ticker }), - type: MetadataType.Global, - }) - ); - - dsMockUtils.createQueryMock('asset', 'assetMetadataGlobalKeyToName', { - returnValue: dsMockUtils.createMockOption(), - }); - - dsMockUtils.createQueryMock('asset', 'assetMetadataLocalKeyToName', { - returnValue: rawName, - }); - - result = await metadata.getOne({ id, type: MetadataType.Local }); - expect(result).toEqual( - expect.objectContaining({ - id, - asset: expect.objectContaining({ ticker }), - type: MetadataType.Local, - }) - ); - }); - }); - - describe('method: getNextLocalId', () => { - let id: BigNumber; - let rawId: u64; - - beforeEach(() => { - id = new BigNumber(1); - rawId = dsMockUtils.createMockU64(id); - }); - - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should return the MetadataEntry for requested id and type', async () => { - dsMockUtils.createQueryMock('asset', 'assetMetadataNextLocalKey', { - returnValue: rawId, - }); - - const result = await metadata.getNextLocalId(); - expect(result).toEqual(new BigNumber(2)); - }); - }); -}); diff --git a/src/api/entities/Asset/__tests__/Base/Permissions.ts b/src/api/entities/Asset/__tests__/Base/Permissions.ts deleted file mode 100644 index e43b421609..0000000000 --- a/src/api/entities/Asset/__tests__/Base/Permissions.ts +++ /dev/null @@ -1,264 +0,0 @@ -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; -import { range } from 'lodash'; - -import { - Context, - CustomPermissionGroup, - FungibleAsset, - KnownPermissionGroup, - Namespace, - PolymeshTransaction, -} from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { PermissionGroupType, TransactionPermissions } from '~/types'; -import { tuple } from '~/types/utils'; - -import { Permissions } from '../../Base/Permissions'; - -jest.mock( - '~/base/Procedure', - require('~/testUtils/mocks/procedure').mockProcedureModule('~/base/Procedure') -); -jest.mock( - '~/api/entities/CustomPermissionGroup', - require('~/testUtils/mocks/entities').mockCustomPermissionGroupModule( - '~/api/entities/CustomPermissionGroup' - ) -); -jest.mock( - '~/api/entities/KnownPermissionGroup', - require('~/testUtils/mocks/entities').mockKnownPermissionGroupModule( - '~/api/entities/KnownPermissionGroup' - ) -); - -describe('Permissions class', () => { - let ticker: string; - let asset: FungibleAsset; - let context: Context; - let target: string; - let permissions: Permissions; - - beforeAll(() => { - entityMockUtils.initMocks(); - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - - ticker = 'SOME_ASSET'; - target = 'someDid'; - }); - - beforeEach(() => { - context = dsMockUtils.getContextInstance(); - asset = entityMockUtils.getFungibleAssetInstance({ ticker }); - permissions = new Permissions(asset, context); - }); - - afterEach(() => { - entityMockUtils.reset(); - dsMockUtils.reset(); - procedureMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - procedureMockUtils.cleanup(); - }); - - it('should extend namespace', () => { - expect(Permissions.prototype instanceof Namespace).toBe(true); - }); - - describe('method: createGroup', () => { - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { - const args = { - ticker: asset.ticker, - permissions: { transactions: {} as TransactionPermissions }, - }; - - const expectedTransaction = - 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const tx = await permissions.createGroup(args); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: inviteAgent', () => { - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { - const args = { - ticker: asset.ticker, - target, - permissions: { transactions: {} as TransactionPermissions }, - }; - - const expectedTransaction = - 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const tx = await permissions.inviteAgent(args); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: removeAgent', () => { - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { - const args = { - ticker: asset.ticker, - target, - }; - - const expectedTransaction = - 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const tx = await permissions.removeAgent(args); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: getGroup', () => { - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should retrieve a specific Custom Permission Group', async () => { - entityMockUtils.configureMocks({ - customPermissionGroupOptions: { - ticker, - }, - }); - const id = new BigNumber(1); - - const result = await permissions.getGroup({ id }); - - expect(result.id).toEqual(id); - expect(result.asset.ticker).toBe(ticker); - }); - - it('should throw an error if the Custom Permission Group does not exist', () => { - const id = new BigNumber(1); - - entityMockUtils.configureMocks({ customPermissionGroupOptions: { exists: false } }); - - return expect(permissions.getGroup({ id })).rejects.toThrow( - 'The Permission Group does not exist' - ); - }); - - it('should retrieve a specific Known Permission Group', async () => { - entityMockUtils.configureMocks({ - knownPermissionGroupOptions: { - ticker, - }, - }); - const type = PermissionGroupType.Full; - - const result = await permissions.getGroup({ type }); - - expect(result.type).toEqual(type); - expect(result.asset.ticker).toBe(ticker); - }); - }); - - describe('method: getGroups', () => { - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should retrieve all the permission groups of the Asset', async () => { - const id = new BigNumber(1); - - dsMockUtils.createQueryMock('externalAgents', 'groupPermissions', { - entries: [ - tuple( - [dsMockUtils.createMockTicker(ticker), dsMockUtils.createMockU32(id)], - dsMockUtils.createMockOption(dsMockUtils.createMockExtrinsicPermissions()) - ), - ], - }); - - const { known, custom } = await permissions.getGroups(); - - expect(known.length).toEqual(4); - expect(custom.length).toEqual(1); - - known.forEach(group => { - expect(group instanceof KnownPermissionGroup).toBe(true); - }); - - expect(custom[0] instanceof CustomPermissionGroup).toBe(true); - }); - }); - - describe('method: getAgents', () => { - it('should retrieve a list of agent Identities', async () => { - const did = 'someDid'; - const otherDid = 'otherDid'; - const customId = new BigNumber(1); - - dsMockUtils.createQueryMock('externalAgents', 'groupOfAgent', { - entries: [ - tuple( - [dsMockUtils.createMockTicker(ticker), dsMockUtils.createMockIdentityId(did)], - dsMockUtils.createMockOption(dsMockUtils.createMockAgentGroup('ExceptMeta')) - ), - tuple( - [dsMockUtils.createMockTicker(ticker), dsMockUtils.createMockIdentityId(otherDid)], - dsMockUtils.createMockOption(dsMockUtils.createMockAgentGroup('Full')) - ), - tuple( - [dsMockUtils.createMockTicker(ticker), dsMockUtils.createMockIdentityId(did)], - dsMockUtils.createMockOption(dsMockUtils.createMockAgentGroup('PolymeshV1CAA')) - ), - tuple( - [dsMockUtils.createMockTicker(ticker), dsMockUtils.createMockIdentityId(otherDid)], - dsMockUtils.createMockOption(dsMockUtils.createMockAgentGroup('PolymeshV1PIA')) - ), - tuple( - [dsMockUtils.createMockTicker(ticker), dsMockUtils.createMockIdentityId(otherDid)], - dsMockUtils.createMockOption( - dsMockUtils.createMockAgentGroup({ - Custom: dsMockUtils.createMockU32(customId), - }) - ) - ), - ], - }); - - const result = await permissions.getAgents(); - - expect(result.length).toEqual(5); - for (const i in range(4)) { - expect(result[i].group instanceof KnownPermissionGroup).toEqual(true); - } - expect(result[4].group instanceof CustomPermissionGroup).toEqual(true); - }); - }); -}); diff --git a/src/api/entities/Asset/__tests__/Base/Settlements.ts b/src/api/entities/Asset/__tests__/Base/Settlements.ts deleted file mode 100644 index ec28a02b06..0000000000 --- a/src/api/entities/Asset/__tests__/Base/Settlements.ts +++ /dev/null @@ -1,317 +0,0 @@ -import { AccountId, Balance, DispatchError } from '@polkadot/types/interfaces'; -import { - PolymeshPrimitivesIdentityId, - PolymeshPrimitivesIdentityIdPortfolioId, - PolymeshPrimitivesTicker, -} from '@polkadot/types/lookup'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { FungibleSettlements, NonFungibleSettlements } from '~/api/entities/Asset/Base/Settlements'; -import { Context, Namespace, PolymeshError } from '~/internal'; -import { GranularCanTransferResult } from '~/polkadot'; -import { dsMockUtils, entityMockUtils } from '~/testUtils/mocks'; -import { createMockCanTransferGranularReturn } from '~/testUtils/mocks/dataSources'; -import { Mocked } from '~/testUtils/types'; -import { - DefaultPortfolio, - ErrorCode, - NftCollection, - NumberedPortfolio, - PortfolioId, - PortfolioLike, - TransferBreakdown, -} from '~/types'; -import { DUMMY_ACCOUNT_ID } from '~/utils/constants'; -import * as utilsConversionModule from '~/utils/conversion'; - -import { FungibleAsset } from '../../Fungible'; - -describe('Settlements class', () => { - let mockContext: Mocked; - let mockAsset: Mocked; - let stringToAccountIdSpy: jest.SpyInstance; - let stringToTickerSpy: jest.SpyInstance; - let bigNumberToBalanceSpy: jest.SpyInstance; - let portfolioIdToMeshPortfolioIdSpy: jest.SpyInstance< - PolymeshPrimitivesIdentityIdPortfolioId, - [PortfolioId, Context] - >; - let portfolioLikeToPortfolioIdSpy: jest.SpyInstance; - let portfolioIdToPortfolioSpy: jest.SpyInstance< - DefaultPortfolio | NumberedPortfolio, - [PortfolioId, Context] - >; - let stringToIdentityIdSpy: jest.SpyInstance; - let rawAccountId: AccountId; - let rawTicker: PolymeshPrimitivesTicker; - let rawToDid: PolymeshPrimitivesIdentityId; - let rawAmount: Balance; - let amount: BigNumber; - let toDid: string; - let ticker: string; - let fromDid: string; - let fromPortfolioId: PortfolioId; - let toPortfolioId: PortfolioId; - let rawFromPortfolio: PolymeshPrimitivesIdentityIdPortfolioId; - let rawToPortfolio: PolymeshPrimitivesIdentityIdPortfolioId; - let rawFromDid: PolymeshPrimitivesIdentityId; - let fromPortfolio: entityMockUtils.MockDefaultPortfolio; - let toPortfolio: entityMockUtils.MockDefaultPortfolio; - let granularCanTransferResultToTransferBreakdownSpy: jest.SpyInstance; - - beforeAll(() => { - entityMockUtils.initMocks(); - dsMockUtils.initMocks(); - - toDid = 'toDid'; - amount = new BigNumber(100); - stringToAccountIdSpy = jest.spyOn(utilsConversionModule, 'stringToAccountId'); - stringToTickerSpy = jest.spyOn(utilsConversionModule, 'stringToTicker'); - bigNumberToBalanceSpy = jest.spyOn(utilsConversionModule, 'bigNumberToBalance'); - portfolioIdToMeshPortfolioIdSpy = jest.spyOn( - utilsConversionModule, - 'portfolioIdToMeshPortfolioId' - ); - portfolioLikeToPortfolioIdSpy = jest.spyOn(utilsConversionModule, 'portfolioLikeToPortfolioId'); - portfolioIdToPortfolioSpy = jest.spyOn(utilsConversionModule, 'portfolioIdToPortfolio'); - stringToIdentityIdSpy = jest.spyOn(utilsConversionModule, 'stringToIdentityId'); - rawAmount = dsMockUtils.createMockBalance(amount); - fromDid = 'fromDid'; - fromPortfolioId = { did: fromDid }; - toPortfolioId = { did: toDid }; - rawFromDid = dsMockUtils.createMockIdentityId(fromDid); - rawFromPortfolio = dsMockUtils.createMockPortfolioId({ did: fromDid, kind: 'Default' }); - rawToPortfolio = dsMockUtils.createMockPortfolioId({ did: toDid, kind: 'Default' }); - granularCanTransferResultToTransferBreakdownSpy = jest.spyOn( - utilsConversionModule, - 'granularCanTransferResultToTransferBreakdown' - ); - }); - - beforeEach(() => { - mockContext = dsMockUtils.getContextInstance(); - mockAsset = entityMockUtils.getFungibleAssetInstance(); - - ticker = mockAsset.ticker; - rawAccountId = dsMockUtils.createMockAccountId(DUMMY_ACCOUNT_ID); - rawTicker = dsMockUtils.createMockTicker(ticker); - rawToDid = dsMockUtils.createMockIdentityId(toDid); - toPortfolio = entityMockUtils.getDefaultPortfolioInstance({ - ...toPortfolioId, - getCustodian: entityMockUtils.getIdentityInstance({ did: toPortfolioId.did }), - }); - fromPortfolio = entityMockUtils.getDefaultPortfolioInstance({ - ...fromPortfolioId, - getCustodian: entityMockUtils.getIdentityInstance({ did: fromPortfolioId.did }), - }); - when(portfolioLikeToPortfolioIdSpy).calledWith(toDid).mockReturnValue(toPortfolioId); - when(portfolioLikeToPortfolioIdSpy).calledWith(fromDid).mockReturnValue(fromPortfolioId); - when(portfolioIdToMeshPortfolioIdSpy) - .calledWith(toPortfolioId, mockContext) - .mockReturnValue(rawToPortfolio); - when(portfolioIdToPortfolioSpy) - .calledWith(toPortfolioId, mockContext) - .mockReturnValue(toPortfolio); - when(portfolioIdToPortfolioSpy) - .calledWith(fromPortfolioId, mockContext) - .mockReturnValue(fromPortfolio); - when(stringToIdentityIdSpy).calledWith(fromDid, mockContext).mockReturnValue(rawFromDid); - when(stringToAccountIdSpy) - .calledWith(DUMMY_ACCOUNT_ID, mockContext) - .mockReturnValue(rawAccountId); - when(stringToTickerSpy).calledWith(ticker, mockContext).mockReturnValue(rawTicker); - when(stringToIdentityIdSpy).calledWith(toDid, mockContext).mockReturnValue(rawToDid); - when(bigNumberToBalanceSpy).calledWith(amount, mockContext, false).mockReturnValue(rawAmount); - }); - - afterEach(() => { - dsMockUtils.reset(); - entityMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - describe('FungibleSettlements', () => { - let settlements: FungibleSettlements; - - beforeEach(() => { - settlements = new FungibleSettlements(mockAsset, mockContext); - }); - - it('should extend namespace', () => { - expect(FungibleSettlements.prototype instanceof Namespace).toBe(true); - }); - - describe('method: canTransfer', () => { - it('should return a transfer breakdown representing whether the transaction can be made from the signing Identity', async () => { - const signingIdentity = await mockContext.getSigningIdentity(); - const { did: signingDid } = signingIdentity; - const rawSigningDid = dsMockUtils.createMockIdentityId(signingDid); - - const currentDefaultPortfolioId = { did: signingDid }; - - when(stringToIdentityIdSpy) - .calledWith(signingDid, mockContext) - .mockReturnValue(rawSigningDid); - - when(portfolioLikeToPortfolioIdSpy) - .calledWith(signingIdentity) - .mockReturnValue(currentDefaultPortfolioId); - when(portfolioIdToMeshPortfolioIdSpy) - .calledWith(currentDefaultPortfolioId, mockContext) - .mockReturnValue(rawFromPortfolio); - when(portfolioIdToPortfolioSpy) - .calledWith(currentDefaultPortfolioId, mockContext) - .mockReturnValue( - entityMockUtils.getDefaultPortfolioInstance({ - did: signingDid, - getCustodian: entityMockUtils.getIdentityInstance({ did: signingDid }), - }) - ); - - const okResponse = 'rpcResponse' as unknown as GranularCanTransferResult; - const response = createMockCanTransferGranularReturn({ - Ok: okResponse, - }); - - when(dsMockUtils.createRpcMock('asset', 'canTransferGranular')) - .calledWith( - rawSigningDid, - rawFromPortfolio, - rawToDid, - rawToPortfolio, - rawTicker, - rawAmount - ) - .mockReturnValue(response); - - const expected = 'breakdown' as unknown as TransferBreakdown; - - when(granularCanTransferResultToTransferBreakdownSpy) - .calledWith(okResponse, undefined, mockContext) - .mockReturnValue(expected); - - const result = await settlements.canTransfer({ to: toDid, amount }); - - expect(result).toEqual(expected); - }); - - it('should return a transfer breakdown representing whether the transaction can be made from another Identity', async () => { - const okResponse = 'rpcResponse' as unknown as GranularCanTransferResult; - const response = createMockCanTransferGranularReturn({ - Ok: okResponse, - }); - - when(portfolioIdToMeshPortfolioIdSpy) - .calledWith({ did: fromDid }, mockContext) - .mockReturnValue(rawFromPortfolio); - - fromPortfolio.getCustodian.mockResolvedValue( - entityMockUtils.getIdentityInstance({ did: fromDid }) - ); - toPortfolio.getCustodian.mockResolvedValue( - entityMockUtils.getIdentityInstance({ did: toDid }) - ); - when(dsMockUtils.createRpcMock('asset', 'canTransferGranular')) - .calledWith(rawFromDid, rawFromPortfolio, rawToDid, rawToPortfolio, rawTicker, rawAmount) - .mockReturnValue(response); - - const expected = 'breakdown' as unknown as TransferBreakdown; - - when(granularCanTransferResultToTransferBreakdownSpy) - .calledWith(okResponse, undefined, mockContext) - .mockReturnValue(expected); - - const result = await settlements.canTransfer({ from: fromDid, to: toDid, amount }); - - expect(result).toEqual(expected); - }); - - it('should error if response is Err', () => { - const errResponse = 'unexpected error' as unknown as DispatchError; - const response = createMockCanTransferGranularReturn({ - Err: errResponse, - }); - - when(portfolioIdToMeshPortfolioIdSpy) - .calledWith({ did: fromDid }, mockContext) - .mockReturnValue(rawFromPortfolio); - - fromPortfolio.getCustodian.mockResolvedValue( - entityMockUtils.getIdentityInstance({ did: fromDid }) - ); - toPortfolio.getCustodian.mockResolvedValue( - entityMockUtils.getIdentityInstance({ did: toDid }) - ); - when(dsMockUtils.createRpcMock('asset', 'canTransferGranular')) - .calledWith(rawFromDid, rawFromPortfolio, rawToDid, rawToPortfolio, rawTicker, rawAmount) - .mockReturnValue(response); - - const expectedError = new PolymeshError({ - message: - 'RPC result from "asset.canTransferGranular" was not OK. Execution meter was likely exceeded', - code: ErrorCode.LimitExceeded, - }); - - return expect( - settlements.canTransfer({ from: fromDid, to: toDid, amount }) - ).rejects.toThrow(expectedError); - }); - }); - }); - - describe('NonFungibleSettlements', () => { - let settlements: NonFungibleSettlements; - let nftCollection: NftCollection; - - beforeEach(() => { - nftCollection = entityMockUtils.getNftCollectionInstance(); - settlements = new NonFungibleSettlements(nftCollection, mockContext); - }); - - it('should extend namespace', () => { - expect(NonFungibleSettlements.prototype instanceof Namespace).toBe(true); - }); - - it('should work for NftCollections', async () => { - const okResponse = 'rpcResponse' as unknown as GranularCanTransferResult; - const response = createMockCanTransferGranularReturn({ - Ok: okResponse, - }); - - when(portfolioIdToMeshPortfolioIdSpy) - .calledWith({ did: fromDid }, mockContext) - .mockReturnValue(rawFromPortfolio); - - fromPortfolio.getCustodian.mockResolvedValue( - entityMockUtils.getIdentityInstance({ did: fromDid }) - ); - toPortfolio.getCustodian.mockResolvedValue( - entityMockUtils.getIdentityInstance({ did: toDid }) - ); - dsMockUtils.createRpcMock('asset', 'canTransferGranular').mockReturnValue(response); - - const mockDispatch = dsMockUtils.createMockDispatchResult(); - dsMockUtils.createRpcMock('nft', 'validateNFTTransfer', { - returnValue: mockDispatch, - }); - - const expected = 'breakdown' as unknown as TransferBreakdown; - - when(granularCanTransferResultToTransferBreakdownSpy) - .calledWith(okResponse, mockDispatch, mockContext) - .mockReturnValue(expected); - - const result = await settlements.canTransfer({ - from: fromDid, - to: toDid, - nfts: [new BigNumber(1)], - }); - - expect(result).toEqual(expected); - }); - }); -}); diff --git a/src/api/entities/Asset/__tests__/Fungible/AssetHolders.ts b/src/api/entities/Asset/__tests__/Fungible/AssetHolders.ts deleted file mode 100644 index abe21ddb89..0000000000 --- a/src/api/entities/Asset/__tests__/Fungible/AssetHolders.ts +++ /dev/null @@ -1,151 +0,0 @@ -import { StorageKey } from '@polkadot/types'; -import { Balance } from '@polkadot/types/interfaces'; -import { PolymeshPrimitivesIdentityId, PolymeshPrimitivesTicker } from '@polkadot/types/lookup'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { Context, Namespace } from '~/internal'; -import { dsMockUtils, entityMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { IdentityBalance } from '~/types'; -import { tuple } from '~/types/utils'; -import * as utilsConversionModule from '~/utils/conversion'; -import * as utilsInternalModule from '~/utils/internal'; - -import { AssetHolders } from '../../Fungible/AssetHolders'; - -jest.mock( - '~/api/entities/Asset/Fungible', - require('~/testUtils/mocks/entities').mockFungibleAssetModule('~/api/entities/Asset/Fungible') -); -jest.mock( - '~/api/entities/Identity', - require('~/testUtils/mocks/entities').mockIdentityModule('~/api/entities/Identity') -); - -describe('AssetHolder class', () => { - let ticker: string; - let mockContext: Mocked; - let rawTicker: PolymeshPrimitivesTicker; - let requestPaginatedSpy: jest.SpyInstance; - let identityIdToStringSpy: jest.SpyInstance; - let balanceToBigNumberSpy: jest.SpyInstance; - const fakeData = [ - { - identity: 'someIdentity', - value: new BigNumber(1000), - }, - { - identity: 'otherIdentity', - value: new BigNumber(2000), - }, - ]; - - beforeAll(() => { - entityMockUtils.initMocks(); - dsMockUtils.initMocks(); - ticker = 'TEST'; - mockContext = dsMockUtils.getContextInstance(); - rawTicker = dsMockUtils.createMockTicker(ticker); - requestPaginatedSpy = jest.spyOn(utilsInternalModule, 'requestPaginated'); - identityIdToStringSpy = jest.spyOn(utilsConversionModule, 'identityIdToString'); - balanceToBigNumberSpy = jest.spyOn(utilsConversionModule, 'balanceToBigNumber'); - when(jest.spyOn(utilsConversionModule, 'stringToTicker')) - .calledWith(ticker, mockContext) - .mockReturnValue(rawTicker); - }); - - afterEach(() => { - entityMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should extend namespace', () => { - expect(AssetHolders.prototype instanceof Namespace).toBe(true); - }); - - describe('method: get', () => { - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should retrieve all the Asset Holders with balance', async () => { - dsMockUtils.createQueryMock('asset', 'balanceOf'); - - const expectedHolders: IdentityBalance[] = []; - - const balanceOfEntries: [StorageKey, Balance][] = []; - - const context = dsMockUtils.getContextInstance(); - - fakeData.forEach(({ identity, value }) => { - const identityId = dsMockUtils.createMockIdentityId(identity); - const fakeBalance = dsMockUtils.createMockBalance(value); - const balance = new BigNumber(value); - - when(identityIdToStringSpy).calledWith(identityId).mockReturnValue(identity); - when(balanceToBigNumberSpy).calledWith(fakeBalance).mockReturnValue(balance); - - balanceOfEntries.push( - tuple({ args: [rawTicker, identityId] } as unknown as StorageKey, fakeBalance) - ); - - expectedHolders.push({ - identity: expect.objectContaining({ did: identity }), - balance, - }); - }); - - requestPaginatedSpy.mockResolvedValue({ entries: balanceOfEntries, lastKey: null }); - - const asset = entityMockUtils.getFungibleAssetInstance(); - const assetHolders = new AssetHolders(asset, context); - - const result = await assetHolders.get(); - - expect(result.data).toEqual(expectedHolders); - expect(result.next).toBeNull(); - }); - - it('should retrieve the first page of results with only one Asset Holder', async () => { - dsMockUtils.createQueryMock('asset', 'balanceOf'); - - const expectedHolders: IdentityBalance[] = []; - - const balanceOfEntries: [StorageKey, Balance][] = []; - - const context = dsMockUtils.getContextInstance(); - - const { identity, value } = fakeData[0]; - const identityId = dsMockUtils.createMockIdentityId(identity); - const fakeBalance = dsMockUtils.createMockBalance(value); - const balance = new BigNumber(value); - - when(identityIdToStringSpy).calledWith(identityId).mockReturnValue(identity); - when(balanceToBigNumberSpy).calledWith(fakeBalance).mockReturnValue(balance); - - balanceOfEntries.push( - tuple({ args: [rawTicker, identityId] } as unknown as StorageKey, fakeBalance) - ); - - expectedHolders.push({ - identity: expect.objectContaining({ did: identity }), - balance, - }); - - requestPaginatedSpy.mockResolvedValue({ entries: balanceOfEntries, lastKey: 'someKey' }); - - const asset = entityMockUtils.getFungibleAssetInstance(); - const assetHolders = new AssetHolders(asset, context); - - const result = await assetHolders.get({ size: new BigNumber(1) }); - - expect(result.data).toEqual(expectedHolders); - expect(result.next).toBe('someKey'); - }); - }); -}); diff --git a/src/api/entities/Asset/__tests__/Fungible/Issuance.ts b/src/api/entities/Asset/__tests__/Fungible/Issuance.ts deleted file mode 100644 index 239573c963..0000000000 --- a/src/api/entities/Asset/__tests__/Fungible/Issuance.ts +++ /dev/null @@ -1,63 +0,0 @@ -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { FungibleAsset, Namespace, PolymeshTransaction } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; - -import { Issuance } from '../../Fungible/Issuance'; - -jest.mock( - '~/base/Procedure', - require('~/testUtils/mocks/procedure').mockProcedureModule('~/base/Procedure') -); - -describe('Issuance class', () => { - beforeAll(() => { - entityMockUtils.initMocks(); - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - }); - - afterEach(() => { - entityMockUtils.reset(); - dsMockUtils.reset(); - procedureMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - procedureMockUtils.cleanup(); - }); - - it('should extend namespace', () => { - expect(Issuance.prototype instanceof Namespace).toBe(true); - }); - - describe('method: issue', () => { - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { - const context = dsMockUtils.getContextInstance(); - const asset = entityMockUtils.getFungibleAssetInstance(); - const issuance = new Issuance(asset, context); - - const args = { - ticker: asset.ticker, - amount: new BigNumber(100), - }; - - const expectedTransaction = - 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const tx = await issuance.issue(args); - - expect(tx).toBe(expectedTransaction); - }); - }); -}); diff --git a/src/api/entities/Asset/__tests__/Fungible/Offerings.ts b/src/api/entities/Asset/__tests__/Fungible/Offerings.ts deleted file mode 100644 index 6accd760d8..0000000000 --- a/src/api/entities/Asset/__tests__/Fungible/Offerings.ts +++ /dev/null @@ -1,316 +0,0 @@ -import { Bytes, Option } from '@polkadot/types'; -import { PalletStoFundraiser, PolymeshPrimitivesTicker } from '@polkadot/types/lookup'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { Context, FungibleAsset, Namespace, Offering, PolymeshTransaction } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { - OfferingBalanceStatus, - OfferingDetails, - OfferingSaleStatus, - OfferingTimingStatus, -} from '~/types'; -import { tuple } from '~/types/utils'; -import * as utilsConversionModule from '~/utils/conversion'; - -import { Offerings } from '../../Fungible/Offerings'; - -jest.mock( - '~/api/entities/Asset/Fungible', - require('~/testUtils/mocks/entities').mockFungibleAssetModule('~/api/entities/Asset/Fungible') -); -jest.mock( - '~/api/entities/Offering', - require('~/testUtils/mocks/entities').mockOfferingModule('~/api/entities/Offering') -); -jest.mock( - '~/base/Procedure', - require('~/testUtils/mocks/procedure').mockProcedureModule('~/base/Procedure') -); - -describe('Offerings class', () => { - let ticker: string; - let asset: FungibleAsset; - let context: Context; - - let offerings: Offerings; - - beforeAll(() => { - entityMockUtils.initMocks(); - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - - ticker = 'SOME_ASSET'; - }); - - beforeEach(() => { - context = dsMockUtils.getContextInstance(); - asset = entityMockUtils.getFungibleAssetInstance({ ticker }); - - offerings = new Offerings(asset, context); - }); - - afterEach(() => { - entityMockUtils.reset(); - dsMockUtils.reset(); - procedureMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - procedureMockUtils.cleanup(); - }); - - it('should extend namespace', () => { - expect(Offerings.prototype instanceof Namespace).toBe(true); - }); - - describe('method: launch', () => { - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - const args = { - offeringPortfolio: 'otherDid', - raisingCurrency: 'USD', - raisingPortfolio: 'someDid', - name: 'someName', - tiers: [], - minInvestment: new BigNumber(100), - }; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args: { ticker, ...args }, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const tx = await offerings.launch(args); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: getOne', () => { - it('should return the requested Offering', async () => { - entityMockUtils.configureMocks({ - offeringOptions: { - ticker, - }, - }); - const id = new BigNumber(1); - const result = await offerings.getOne({ id }); - - expect(result.id).toEqual(id); - }); - - it('should throw an error if the Offering does not exist', () => { - entityMockUtils.configureMocks({ - offeringOptions: { - exists: false, - }, - }); - - const id = new BigNumber(1); - return expect(offerings.getOne({ id })).rejects.toThrow('The Offering does not exist'); - }); - }); - - describe('method: get', () => { - let rawTicker: PolymeshPrimitivesTicker; - let rawName: Option; - - let stringToTickerSpy: jest.SpyInstance; - let fundraiserToOfferingDetailsSpy: jest.SpyInstance< - OfferingDetails, - [PalletStoFundraiser, Bytes, Context] - >; - - let details: OfferingDetails[]; - let fundraisers: PalletStoFundraiser[]; - - beforeAll(() => { - rawTicker = dsMockUtils.createMockTicker(ticker); - stringToTickerSpy = jest.spyOn(utilsConversionModule, 'stringToTicker'); - fundraiserToOfferingDetailsSpy = jest.spyOn( - utilsConversionModule, - 'fundraiserToOfferingDetails' - ); - - const creator = entityMockUtils.getIdentityInstance(); - const name = 'someSto'; - rawName = dsMockUtils.createMockOption(dsMockUtils.createMockFundraiserName(name)); - const offeringPortfolio = entityMockUtils.getDefaultPortfolioInstance(); - const raisingPortfolio = entityMockUtils.getDefaultPortfolioInstance(); - const venue = entityMockUtils.getVenueInstance(); - const raisingCurrency = 'USD'; - const now = new Date(); - const start = new Date(now.getTime() + 70000); - const end = new Date(start.getTime() + 70000); - const minInvestment = new BigNumber(100); - const tiers = [ - { - amount: new BigNumber(1000), - price: new BigNumber(50), - remaining: new BigNumber(300), - }, - ]; - details = [ - { - creator, - name, - offeringPortfolio, - raisingPortfolio, - raisingCurrency, - start, - end, - tiers, - minInvestment, - venue, - status: { - sale: OfferingSaleStatus.Closed, - timing: OfferingTimingStatus.Started, - balance: OfferingBalanceStatus.Available, - }, - totalAmount: tiers[0].amount, - totalRemaining: tiers[0].remaining, - }, - { - creator, - name, - offeringPortfolio, - raisingPortfolio, - raisingCurrency, - start, - end, - tiers, - minInvestment, - venue, - status: { - sale: OfferingSaleStatus.Live, - timing: OfferingTimingStatus.Started, - balance: OfferingBalanceStatus.Available, - }, - totalAmount: tiers[0].amount, - totalRemaining: tiers[0].remaining, - }, - ]; - fundraisers = [ - dsMockUtils.createMockFundraiser({ - creator: dsMockUtils.createMockIdentityId(creator.did), - offeringPortfolio: dsMockUtils.createMockPortfolioId({ - did: dsMockUtils.createMockIdentityId(offeringPortfolio.owner.did), - kind: dsMockUtils.createMockPortfolioKind('Default'), - }), - raisingPortfolio: dsMockUtils.createMockPortfolioId({ - did: dsMockUtils.createMockIdentityId(raisingPortfolio.owner.did), - kind: dsMockUtils.createMockPortfolioKind('Default'), - }), - offeringAsset: rawTicker, - raisingAsset: dsMockUtils.createMockTicker(raisingCurrency), - venueId: dsMockUtils.createMockU64(venue.id), - tiers: [ - dsMockUtils.createMockFundraiserTier({ - total: dsMockUtils.createMockBalance(tiers[0].amount), - price: dsMockUtils.createMockBalance(tiers[0].price), - remaining: dsMockUtils.createMockBalance(tiers[0].remaining), - }), - ], - start: dsMockUtils.createMockMoment(new BigNumber(start.getTime())), - end: dsMockUtils.createMockOption( - dsMockUtils.createMockMoment(new BigNumber(end.getTime())) - ), - minimumInvestment: dsMockUtils.createMockBalance(minInvestment), - status: dsMockUtils.createMockFundraiserStatus('Closed'), - }), - dsMockUtils.createMockFundraiser({ - creator: dsMockUtils.createMockIdentityId(creator.did), - offeringPortfolio: dsMockUtils.createMockPortfolioId({ - did: dsMockUtils.createMockIdentityId(offeringPortfolio.owner.did), - kind: dsMockUtils.createMockPortfolioKind('Default'), - }), - raisingPortfolio: dsMockUtils.createMockPortfolioId({ - did: dsMockUtils.createMockIdentityId(raisingPortfolio.owner.did), - kind: dsMockUtils.createMockPortfolioKind('Default'), - }), - offeringAsset: rawTicker, - raisingAsset: dsMockUtils.createMockTicker(raisingCurrency), - venueId: dsMockUtils.createMockU64(venue.id), - tiers: [ - dsMockUtils.createMockFundraiserTier({ - total: dsMockUtils.createMockBalance(tiers[0].amount), - price: dsMockUtils.createMockBalance(tiers[0].price), - remaining: dsMockUtils.createMockBalance(tiers[0].remaining), - }), - ], - start: dsMockUtils.createMockMoment(new BigNumber(start.getTime())), - end: dsMockUtils.createMockOption( - dsMockUtils.createMockMoment(new BigNumber(end.getTime())) - ), - minimumInvestment: dsMockUtils.createMockBalance(minInvestment), - status: dsMockUtils.createMockFundraiserStatus('Live'), - }), - ]; - }); - - beforeEach(() => { - when(stringToTickerSpy).calledWith(ticker, context).mockReturnValue(rawTicker); - when(fundraiserToOfferingDetailsSpy) - .calledWith(fundraisers[0], rawName.unwrap(), context) - .mockReturnValue(details[0]); - when(fundraiserToOfferingDetailsSpy) - .calledWith(fundraisers[1], rawName.unwrap(), context) - .mockReturnValue(details[1]); - - dsMockUtils.createQueryMock('sto', 'fundraisers', { - entries: [ - tuple( - [rawTicker, dsMockUtils.createMockU64(new BigNumber(1))], - dsMockUtils.createMockOption(fundraisers[0]) - ), - tuple( - [rawTicker, dsMockUtils.createMockU64(new BigNumber(2))], - dsMockUtils.createMockOption(fundraisers[1]) - ), - ], - }); - dsMockUtils.createQueryMock('sto', 'fundraiserNames', { - entries: [ - tuple([rawTicker, dsMockUtils.createMockU64(new BigNumber(1))], rawName), - tuple([rawTicker, dsMockUtils.createMockU64(new BigNumber(2))], rawName), - ], - }); - }); - - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should return all Offerings associated to the Asset', async () => { - const result = await offerings.get(); - - expect(result[0].offering.id).toEqual(new BigNumber(1)); - expect(result[0].details).toEqual(details[0]); - expect(result[1].offering.id).toEqual(new BigNumber(2)); - expect(result[1].details).toEqual(details[1]); - - expect(result.length).toBe(2); - }); - - it('should return Offerings associated to the Asset filtered by status', async () => { - const result = await offerings.get({ - status: { - sale: OfferingSaleStatus.Live, - timing: OfferingTimingStatus.Started, - balance: OfferingBalanceStatus.Available, - }, - }); - - expect(result[0].offering.id).toEqual(new BigNumber(2)); - expect(result[0].details).toEqual(details[1]); - - expect(result.length).toBe(1); - }); - }); -}); diff --git a/src/api/entities/Asset/__tests__/Fungible/index.ts b/src/api/entities/Asset/__tests__/Fungible/index.ts deleted file mode 100644 index b73fe28da8..0000000000 --- a/src/api/entities/Asset/__tests__/Fungible/index.ts +++ /dev/null @@ -1,1012 +0,0 @@ -import { bool, Bytes, Option } from '@polkadot/types'; -import { Balance } from '@polkadot/types/interfaces'; -import { - PalletAssetSecurityToken, - PolymeshPrimitivesAssetIdentifier, - PolymeshPrimitivesTicker, -} from '@polkadot/types/lookup'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { - Context, - DefaultPortfolio, - Entity, - FungibleAsset, - NumberedPortfolio, - PolymeshError, - PolymeshTransaction, -} from '~/internal'; -import { - assetQuery, - assetTransactionQuery, - tickerExternalAgentHistoryQuery, -} from '~/middleware/queries'; -import { EventIdEnum } from '~/middleware/types'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { ErrorCode, SecurityIdentifier, SecurityIdentifierType } from '~/types'; -import { tuple } from '~/types/utils'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/Identity', - require('~/testUtils/mocks/entities').mockIdentityModule('~/api/entities/Identity') -); -jest.mock( - '~/base/Procedure', - require('~/testUtils/mocks/procedure').mockProcedureModule('~/base/Procedure') -); - -describe('Asset class', () => { - let bytesToStringSpy: jest.SpyInstance; - beforeAll(() => { - dsMockUtils.initMocks(); - entityMockUtils.initMocks(); - procedureMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - entityMockUtils.reset(); - procedureMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - procedureMockUtils.cleanup(); - }); - - it('should extend Entity', () => { - expect(FungibleAsset.prototype instanceof Entity).toBe(true); - }); - - describe('constructor', () => { - it('should assign ticker and did to instance', () => { - const ticker = 'test'; - const context = dsMockUtils.getContextInstance(); - const asset = new FungibleAsset({ ticker }, context); - - expect(asset.ticker).toBe(ticker); - expect(asset.did).toBe(utilsConversionModule.tickerToDid(ticker)); - }); - }); - - describe('method: isUniqueIdentifiers', () => { - it('should return true if the object conforms to the interface', () => { - expect(FungibleAsset.isUniqueIdentifiers({ ticker: 'SOME_TICKER' })).toBe(true); - expect(FungibleAsset.isUniqueIdentifiers({})).toBe(false); - expect(FungibleAsset.isUniqueIdentifiers({ ticker: 3 })).toBe(false); - }); - }); - - describe('method: details', () => { - let ticker: string; - let name: string; - let totalSupply: BigNumber; - let isDivisible: boolean; - let owner: string; - let assetType: 'EquityCommon'; - let did: string; - - let rawToken: Option; - let rawName: Option; - - let context: Context; - let asset: FungibleAsset; - - beforeAll(() => { - ticker = 'FAKE_TICKER'; - name = 'tokenName'; - totalSupply = new BigNumber(1000); - isDivisible = true; - owner = '0x0wn3r'; - assetType = 'EquityCommon'; - did = 'someDid'; - bytesToStringSpy = jest.spyOn(utilsConversionModule, 'bytesToString'); - }); - - beforeEach(() => { - rawToken = dsMockUtils.createMockOption( - dsMockUtils.createMockSecurityToken({ - ownerDid: dsMockUtils.createMockIdentityId(owner), - assetType: dsMockUtils.createMockAssetType(assetType), - divisible: dsMockUtils.createMockBool(isDivisible), - totalSupply: dsMockUtils.createMockBalance(totalSupply), - }) - ); - rawName = dsMockUtils.createMockOption(dsMockUtils.createMockBytes(name)); - context = dsMockUtils.getContextInstance(); - asset = new FungibleAsset({ ticker }, context); - - dsMockUtils.createQueryMock('externalAgents', 'groupOfAgent', { - entries: [ - tuple( - [dsMockUtils.createMockTicker(ticker), dsMockUtils.createMockIdentityId(did)], - dsMockUtils.createMockOption(dsMockUtils.createMockAgentGroup('PolymeshV1PIA')) - ), - tuple( - [dsMockUtils.createMockTicker(ticker), dsMockUtils.createMockIdentityId(owner)], - dsMockUtils.createMockOption(dsMockUtils.createMockAgentGroup('Full')) - ), - tuple( - [dsMockUtils.createMockTicker(ticker), dsMockUtils.createMockIdentityId(did)], - dsMockUtils.createMockOption(dsMockUtils.createMockAgentGroup('ExceptMeta')) - ), - ], - }); - dsMockUtils.createQueryMock('asset', 'assetNames', { - returnValue: rawName, - }); - }); - - it('should return details for an Asset', async () => { - const tokensMock = dsMockUtils.createQueryMock('asset', 'tokens', { - returnValue: rawToken, - }); - - when(bytesToStringSpy).calledWith(rawName).mockReturnValue(name); - let details = await asset.details(); - - expect(details.name).toBe(name); - expect(details.totalSupply).toEqual( - utilsConversionModule.balanceToBigNumber(totalSupply as unknown as Balance) - ); - expect(details.isDivisible).toBe(isDivisible); - expect(details.owner.did).toBe(owner); - expect(details.assetType).toBe(assetType); - expect(details.fullAgents[0].did).toBe(owner); - - dsMockUtils.createQueryMock('externalAgents', 'groupOfAgent', { - entries: [ - tuple( - [dsMockUtils.createMockTicker(ticker), dsMockUtils.createMockIdentityId(did)], - dsMockUtils.createMockOption(dsMockUtils.createMockAgentGroup('Full')) - ), - ], - }); - - details = await asset.details(); - expect(details.fullAgents[0].did).toEqual(did); - - tokensMock.mockResolvedValue( - dsMockUtils.createMockOption( - dsMockUtils.createMockSecurityToken({ - ownerDid: dsMockUtils.createMockIdentityId(owner), - assetType: dsMockUtils.createMockAssetType({ - Custom: dsMockUtils.createMockU32(new BigNumber(10)), - }), - divisible: dsMockUtils.createMockBool(isDivisible), - totalSupply: dsMockUtils.createMockBalance(totalSupply), - }) - ) - ); - - const customType = 'something'; - const rawCustomType = dsMockUtils.createMockBytes(customType); - dsMockUtils.createQueryMock('asset', 'customTypes', { - returnValue: rawCustomType, - }); - when(bytesToStringSpy).calledWith(rawCustomType).mockReturnValue(customType); - - details = await asset.details(); - expect(details.assetType).toEqual(customType); - }); - - it('should throw if asset was not found', () => { - const tokensMock = dsMockUtils.createQueryMock('asset', 'tokens', { - returnValue: dsMockUtils.createMockOption(), - }); - tokensMock.mockResolvedValue(dsMockUtils.createMockOption()); - - const expectedError = new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: 'Asset detail information not found', - }); - - return expect(asset.details()).rejects.toThrow(expectedError); - }); - - it('should allow subscription', async () => { - const unsubCallback = 'unsubCallBack'; - // eslint-disable-next-line @typescript-eslint/no-explicit-any - (rawToken as any).primaryIssuanceAgent = dsMockUtils.createMockOption(); - - dsMockUtils.createQueryMock('asset', 'tokens').mockImplementation(async (_, cbFunc) => { - cbFunc(rawToken); - - return unsubCallback; - }); - - when(bytesToStringSpy).calledWith(rawName).mockReturnValue(name); - - const callback = jest.fn(); - const result = await asset.details(callback); - expect(result).toBe(unsubCallback); - expect(callback).toBeCalledWith( - expect.objectContaining({ - assetType, - isDivisible, - name, - owner: expect.objectContaining({ did: owner }), - totalSupply: new BigNumber(totalSupply).div(Math.pow(10, 6)), - fullAgents: [expect.objectContaining({ did: owner })], - }) - ); - }); - }); - - describe('method: transferOwnership', () => { - it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { - const ticker = 'TEST'; - const context = dsMockUtils.getContextInstance(); - const asset = new FungibleAsset({ ticker }, context); - const target = 'someOtherDid'; - const expiry = new Date('10/14/3040'); - - const args = { - target, - expiry, - }; - - const expectedTransaction = - 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args: { ticker, ...args }, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const tx = await asset.transferOwnership(args); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: addRequiredMediators', () => { - it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { - const ticker = 'TEST'; - const context = dsMockUtils.getContextInstance(); - const asset = new FungibleAsset({ ticker }, context); - const args = { - asset, - mediators: ['newDid'], - }; - - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const tx = await asset.addRequiredMediators(args); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: removeRequiredMediators', () => { - it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { - const ticker = 'TEST'; - const context = dsMockUtils.getContextInstance(); - const asset = new FungibleAsset({ ticker }, context); - const args = { - asset, - mediators: ['currentDid'], - }; - - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const tx = await asset.removeRequiredMediators(args); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: modify', () => { - it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { - const ticker = 'TEST'; - const context = dsMockUtils.getContextInstance(); - const asset = new FungibleAsset({ ticker }, context); - const makeDivisible = true as const; - - const args = { - makeDivisible, - }; - - const expectedTransaction = - 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args: { ticker, ...args }, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const tx = await asset.modify(args); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: currentFundingRound', () => { - let ticker: string; - let fundingRound: string; - let rawFundingRound: Bytes; - - let context: Context; - let asset: FungibleAsset; - - beforeAll(() => { - ticker = 'FAKE_TICKER'; - fundingRound = 'Series A'; - }); - - beforeEach(() => { - rawFundingRound = dsMockUtils.createMockBytes(fundingRound); - context = dsMockUtils.getContextInstance(); - asset = new FungibleAsset({ ticker }, context); - }); - - it('should return null if there is no funding round for an Asset', async () => { - dsMockUtils.createQueryMock('asset', 'fundingRound', { - returnValue: dsMockUtils.createMockBytes(), - }); - - const result = await asset.currentFundingRound(); - - expect(result).toBeNull(); - }); - - it('should return the funding round for an Asset', async () => { - dsMockUtils.createQueryMock('asset', 'fundingRound', { - returnValue: rawFundingRound, - }); - when(bytesToStringSpy).calledWith(rawFundingRound).mockReturnValue(fundingRound); - const result = await asset.currentFundingRound(); - - expect(result).toBe(fundingRound); - }); - - it('should allow subscription', async () => { - const unsubCallback = 'unsubCallBack'; - - dsMockUtils.createQueryMock('asset', 'fundingRound').mockImplementation(async (_, cbFunc) => { - cbFunc(rawFundingRound); - - return unsubCallback; - }); - when(bytesToStringSpy).calledWith(rawFundingRound).mockReturnValue(fundingRound); - - const callback = jest.fn(); - const result = await asset.currentFundingRound(callback); - - expect(result).toBe(unsubCallback); - expect(callback).toBeCalledWith(fundingRound); - }); - }); - - describe('method: getIdentifiers', () => { - let ticker: string; - let isinValue: string; - let cusipValue: string; - let cinsValue: string; - let leiValue: string; - let figiValue: string; - let isinMock: PolymeshPrimitivesAssetIdentifier; - let cusipMock: PolymeshPrimitivesAssetIdentifier; - let cinsMock: PolymeshPrimitivesAssetIdentifier; - let leiMock: PolymeshPrimitivesAssetIdentifier; - let figiMock: PolymeshPrimitivesAssetIdentifier; - let securityIdentifiers: SecurityIdentifier[]; - - let context: Context; - let asset: FungibleAsset; - - beforeAll(() => { - ticker = 'TEST'; - isinValue = 'FAKE ISIN'; - cusipValue = 'FAKE CUSIP'; - cinsValue = 'FAKE CINS'; - leiValue = 'FAKE LEI'; - figiValue = 'FAKE FIGI'; - isinMock = dsMockUtils.createMockAssetIdentifier({ - Isin: dsMockUtils.createMockU8aFixed(isinValue), - }); - cusipMock = dsMockUtils.createMockAssetIdentifier({ - Cusip: dsMockUtils.createMockU8aFixed(cusipValue), - }); - cinsMock = dsMockUtils.createMockAssetIdentifier({ - Cins: dsMockUtils.createMockU8aFixed(cinsValue), - }); - leiMock = dsMockUtils.createMockAssetIdentifier({ - Lei: dsMockUtils.createMockU8aFixed(leiValue), - }); - figiMock = dsMockUtils.createMockAssetIdentifier({ - Figi: dsMockUtils.createMockU8aFixed(figiValue), - }); - securityIdentifiers = [ - { - type: SecurityIdentifierType.Isin, - value: isinValue, - }, - { - type: SecurityIdentifierType.Cusip, - value: cusipValue, - }, - { - type: SecurityIdentifierType.Cins, - value: cinsValue, - }, - { - type: SecurityIdentifierType.Lei, - value: leiValue, - }, - { - type: SecurityIdentifierType.Figi, - value: figiValue, - }, - ]; - }); - - beforeEach(() => { - context = dsMockUtils.getContextInstance(); - asset = new FungibleAsset({ ticker }, context); - }); - - it('should return the list of security identifiers for an Asset', async () => { - dsMockUtils.createQueryMock('asset', 'identifiers', { - returnValue: [isinMock, cusipMock, cinsMock, leiMock, figiMock], - }); - - const result = await asset.getIdentifiers(); - - expect(result[0].value).toBe(isinValue); - expect(result[1].value).toBe(cusipValue); - expect(result[2].value).toBe(cinsValue); - expect(result[3].value).toBe(leiValue); - expect(result[4].value).toBe(figiValue); - }); - - it('should allow subscription', async () => { - const unsubCallback = 'unsubCallBack'; - - dsMockUtils.createQueryMock('asset', 'identifiers').mockImplementation(async (_, cbFunc) => { - cbFunc([isinMock, cusipMock, cinsMock, leiMock, figiMock]); - - return unsubCallback; - }); - - const callback = jest.fn(); - const result = await asset.getIdentifiers(callback); - - expect(result).toBe(unsubCallback); - expect(callback).toBeCalledWith(securityIdentifiers); - }); - }); - - describe('method: createdAt', () => { - it('should return the event identifier object of the Asset creation', async () => { - const ticker = 'SOME_TICKER'; - const blockNumber = new BigNumber(1234); - const blockDate = new Date('4/14/2020'); - const blockHash = 'someHash'; - const eventIdx = new BigNumber(1); - const variables = { - ticker, - }; - const fakeResult = { blockNumber, blockHash, blockDate, eventIndex: eventIdx }; - const context = dsMockUtils.getContextInstance(); - const asset = new FungibleAsset({ ticker }, context); - - dsMockUtils.createApolloQueryMock(assetQuery(variables), { - assets: { - nodes: [ - { - createdBlock: { - blockId: blockNumber.toNumber(), - datetime: blockDate, - hash: blockHash, - }, - eventIdx: eventIdx.toNumber(), - }, - ], - }, - }); - - const result = await asset.createdAt(); - - expect(result).toEqual(fakeResult); - }); - - it('should return null if the query result is empty', async () => { - const ticker = 'SOME_TICKER'; - const variables = { - ticker, - }; - const context = dsMockUtils.getContextInstance(); - const asset = new FungibleAsset({ ticker }, context); - - dsMockUtils.createApolloQueryMock(assetQuery(variables), { - assets: { - nodes: [], - }, - }); - const result = await asset.createdAt(); - expect(result).toBeNull(); - }); - }); - - describe('method: freeze', () => { - it('should prepare the procedure and return the resulting transaction', async () => { - const ticker = 'TICKER'; - const context = dsMockUtils.getContextInstance(); - const asset = new FungibleAsset({ ticker }, context); - - const expectedTransaction = - 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args: { ticker, freeze: true }, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const tx = await asset.freeze(); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: unfreeze', () => { - it('should prepare the procedure and return the resulting transaction', async () => { - const ticker = 'TICKER'; - const context = dsMockUtils.getContextInstance(); - const asset = new FungibleAsset({ ticker }, context); - - const expectedTransaction = - 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args: { ticker, freeze: false }, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const tx = await asset.unfreeze(); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: isFrozen', () => { - let frozenMock: jest.Mock; - let boolValue: boolean; - let rawBoolValue: bool; - - beforeAll(() => { - boolValue = true; - rawBoolValue = dsMockUtils.createMockBool(boolValue); - }); - - beforeEach(() => { - frozenMock = dsMockUtils.createQueryMock('asset', 'frozen'); - }); - - it('should return whether the Asset is frozen or not', async () => { - const ticker = 'TICKER'; - const context = dsMockUtils.getContextInstance(); - const asset = new FungibleAsset({ ticker }, context); - - frozenMock.mockResolvedValue(rawBoolValue); - - const result = await asset.isFrozen(); - - expect(result).toBe(boolValue); - }); - - it('should allow subscription', async () => { - const ticker = 'TICKER'; - const context = dsMockUtils.getContextInstance(); - const asset = new FungibleAsset({ ticker }, context); - const unsubCallback = 'unsubCallBack'; - - frozenMock.mockImplementation(async (_, cbFunc) => { - cbFunc(rawBoolValue); - return unsubCallback; - }); - - const callback = jest.fn(); - const result = await asset.isFrozen(callback); - - expect(result).toBe(unsubCallback); - expect(callback).toBeCalledWith(boolValue); - }); - }); - - describe('method: redeem', () => { - it('should prepare the procedure and return the resulting transaction', async () => { - const ticker = 'TICKER'; - const amount = new BigNumber(100); - const context = dsMockUtils.getContextInstance(); - const asset = new FungibleAsset({ ticker }, context); - - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args: { amount, ticker }, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const queue = await asset.redeem({ amount }); - - expect(queue).toBe(expectedTransaction); - }); - }); - - describe('method: investorCount', () => { - let ticker: string; - let rawTicker: PolymeshPrimitivesTicker; - let stringToTickerSpy: jest.SpyInstance; - let boolToBooleanSpy: jest.SpyInstance; - - beforeAll(() => { - ticker = 'TICKER'; - rawTicker = dsMockUtils.createMockTicker(ticker); - stringToTickerSpy = jest.spyOn(utilsConversionModule, 'stringToTicker'); - boolToBooleanSpy = jest.spyOn(utilsConversionModule, 'boolToBoolean'); - }); - - beforeEach(() => { - when(stringToTickerSpy).calledWith(ticker).mockReturnValue(rawTicker); - }); - - it('should return the amount of unique investors that hold the Asset when PUIS is disabled', async () => { - const context = dsMockUtils.getContextInstance(); - const asset = new FungibleAsset({ ticker }, context); - - boolToBooleanSpy.mockReturnValue(true); - - dsMockUtils.createQueryMock('asset', 'balanceOf', { - entries: [ - tuple( - [rawTicker, dsMockUtils.createMockIdentityId('0x600')], - dsMockUtils.createMockBalance(new BigNumber(100)) - ), - tuple( - [rawTicker, dsMockUtils.createMockIdentityId('0x500')], - dsMockUtils.createMockBalance(new BigNumber(100)) - ), - tuple( - [rawTicker, dsMockUtils.createMockIdentityId('0x400')], - dsMockUtils.createMockBalance(new BigNumber(0)) - ), - ], - }); - - const result = await asset.investorCount(); - - expect(result).toEqual(new BigNumber(2)); - }); - }); - - describe('method: controllerTransfer', () => { - it('should prepare the procedure and return the resulting transaction', async () => { - const ticker = 'TICKER'; - const originPortfolio = 'portfolio'; - const amount = new BigNumber(1); - const context = dsMockUtils.getContextInstance(); - const asset = new FungibleAsset({ ticker }, context); - - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith( - { args: { ticker, originPortfolio, amount }, transformer: undefined }, - context, - {} - ) - .mockResolvedValue(expectedTransaction); - - const queue = await asset.controllerTransfer({ originPortfolio, amount }); - - expect(queue).toBe(expectedTransaction); - }); - }); - - describe('method: getOperationHistory', () => { - it('should return a list of agent operations', async () => { - const ticker = 'TICKER'; - const context = dsMockUtils.getContextInstance(); - const asset = new FungibleAsset({ ticker }, context); - - const did = 'someDid'; - const blockId = new BigNumber(1); - const blockHash = 'someHash'; - const eventIndex = new BigNumber(1); - const datetime = '2020-10-10'; - - dsMockUtils.createApolloQueryMock( - tickerExternalAgentHistoryQuery({ - assetId: ticker, - }), - { - tickerExternalAgentHistories: { - nodes: [ - { - identityId: did, - eventIdx: eventIndex.toNumber(), - createdBlock: { - blockId: blockId.toNumber(), - datetime, - hash: blockHash, - }, - }, - ], - }, - } - ); - - let result = await asset.getOperationHistory(); - - expect(result.length).toEqual(1); - expect(result[0].identity.did).toEqual(did); - expect(result[0].history.length).toEqual(1); - expect(result[0].history[0]).toEqual({ - blockNumber: blockId, - blockHash, - blockDate: new Date(`${datetime}Z`), - eventIndex, - }); - - dsMockUtils.createApolloQueryMock( - tickerExternalAgentHistoryQuery({ - assetId: ticker, - }), - { - tickerExternalAgentHistories: { - nodes: [], - }, - } - ); - - result = await asset.getOperationHistory(); - - expect(result.length).toEqual(0); - }); - }); - - describe('method: getTransactionHistory', () => { - it('should return the list of asset transactions', async () => { - const ticker = 'TICKER'; - const context = dsMockUtils.getContextInstance(); - const asset = new FungibleAsset({ ticker }, context); - const transactionResponse = { - totalCount: new BigNumber(5), - nodes: [ - { - assetId: ticker, - amount: new BigNumber(100).shiftedBy(6), - eventId: EventIdEnum.Issued, - toPortfolio: { - identityId: 'SOME_DID', - number: 0, - }, - fromPortfolio: null, - eventIdx: 1, - extrinsicIdx: 1, - createdBlock: { - blockId: new BigNumber(123), - hash: 'SOME_HASH', - datetime: new Date('2022/12/31'), - }, - }, - { - assetId: ticker, - amount: new BigNumber(1).shiftedBy(6), - eventId: EventIdEnum.Redeemed, - fromPortfolio: { - identityId: 'SOME_DID', - number: 0, - }, - toPortfolio: null, - eventIdx: 1, - extrinsicIdx: 1, - createdBlock: { - blockId: new BigNumber(123), - hash: 'SOME_HASH', - datetime: new Date('2022/12/31'), - }, - }, - { - assetId: ticker, - amount: new BigNumber(10).shiftedBy(6), - eventId: EventIdEnum.Transfer, - fromPortfolio: { - identityId: 'SOME_DID', - number: 0, - }, - toPortfolio: { - identityId: 'SOME_OTHER_DID', - number: 1, - }, - instructionId: '2', - instructionMemo: 'Some memo', - eventIdx: 1, - extrinsicIdx: 1, - createdBlock: { - blockId: new BigNumber(123), - hash: 'SOME_HASH', - datetime: new Date('2022/12/31'), - }, - }, - ], - }; - - dsMockUtils.createApolloQueryMock( - assetTransactionQuery({ assetId: ticker }, new BigNumber(3), new BigNumber(0)), - { - assetTransactions: transactionResponse, - } - ); - - const result = await asset.getTransactionHistory({ - size: new BigNumber(3), - start: new BigNumber(0), - }); - - expect(result.data[0].asset.ticker).toEqual(ticker); - expect(result.data[0].amount).toEqual(new BigNumber(100)); - expect(result.data[0].event).toEqual(transactionResponse.nodes[0].eventId); - expect(result.data[0].from).toBeNull(); - expect(result.data[0].to instanceof DefaultPortfolio).toBe(true); - - expect(result.data[1].asset.ticker).toEqual(ticker); - expect(result.data[1].amount).toEqual(new BigNumber(1)); - expect(result.data[1].event).toEqual(transactionResponse.nodes[1].eventId); - expect(result.data[1].to).toBeNull(); - expect(result.data[1].from).toBeInstanceOf(DefaultPortfolio); - - expect(result.data[2].asset.ticker).toEqual(ticker); - expect(result.data[2].amount).toEqual(new BigNumber(10)); - expect(result.data[2].event).toEqual(transactionResponse.nodes[2].eventId); - expect(result.data[2].from).toBeInstanceOf(DefaultPortfolio); - expect(result.data[2].to).toBeInstanceOf(NumberedPortfolio); - expect(result.data[2].instructionId).toEqual(new BigNumber(2)); - expect(result.data[2].instructionMemo).toEqual('Some memo'); - - expect(result.count).toEqual(transactionResponse.totalCount); - expect(result.next).toEqual(new BigNumber(3)); - }); - }); - - describe('method: exists', () => { - it('should return whether the Asset exists', async () => { - const ticker = 'TICKER'; - const context = dsMockUtils.getContextInstance(); - const asset = new FungibleAsset({ ticker }, context); - - dsMockUtils.createQueryMock('asset', 'tokens', { - size: new BigNumber(10), - }); - - dsMockUtils.createQueryMock('nft', 'collectionTicker', { - returnValue: dsMockUtils.createMockU64(new BigNumber(0)), - }); - - let result = await asset.exists(); - - expect(result).toBe(true); - - dsMockUtils.createQueryMock('nft', 'collectionTicker', { - returnValue: dsMockUtils.createMockU64(new BigNumber(2)), - }); - - result = await asset.exists(); - - expect(result).toBe(false); - - dsMockUtils.createQueryMock('asset', 'tokens', { - size: new BigNumber(0), - }); - - dsMockUtils.createQueryMock('nft', 'collectionTicker', { - returnValue: dsMockUtils.createMockU64(new BigNumber(0)), - }); - - result = await asset.exists(); - - expect(result).toBe(false); - }); - }); - - describe('method: toHuman', () => { - it('should return a human readable version of the entity', () => { - const context = dsMockUtils.getContextInstance(); - const asset = new FungibleAsset({ ticker: 'SOME_TICKER' }, context); - - expect(asset.toHuman()).toBe('SOME_TICKER'); - }); - }); - - describe('method: setVenueFiltering', () => { - it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { - const ticker = 'TEST'; - const context = dsMockUtils.getContextInstance(); - const asset = new FungibleAsset({ ticker }, context); - const enabled = true; - - const args = { - enabled, - }; - - const expectedTransaction = - 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args: { ticker, ...args }, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const tx = await asset.setVenueFiltering(args); - - expect(tx).toBe(expectedTransaction); - }); - - it('should prepare the procedure and return the resulting transaction for allowingVenues', async () => { - const ticker = 'TICKER'; - const venues = [new BigNumber(1), new BigNumber(2)]; - - const context = dsMockUtils.getContextInstance(); - const asset = new FungibleAsset({ ticker }, context); - - const args = { - allowedVenues: venues, - }; - - const expectedTransaction = - 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args: { ticker, ...args }, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const tx = await asset.setVenueFiltering(args); - - expect(tx).toBe(expectedTransaction); - }); - - it('should prepare the procedure and return the resulting transaction for disallowingVenues', async () => { - const ticker = 'TICKER'; - const venues = [new BigNumber(1), new BigNumber(2)]; - - const context = dsMockUtils.getContextInstance(); - const asset = new FungibleAsset({ ticker }, context); - - const args = { - disallowedVenues: venues, - }; - - const expectedTransaction = - 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args: { ticker, ...args }, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const tx = await asset.setVenueFiltering(args); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: getRequiredMediators', () => { - it('should return the required mediators', async () => { - dsMockUtils.createQueryMock('asset', 'mandatoryMediators', { - returnValue: [dsMockUtils.createMockIdentityId('someDid')], - }); - - const ticker = 'TICKER'; - const context = dsMockUtils.getContextInstance(); - const asset = new FungibleAsset({ ticker }, context); - - const result = await asset.getRequiredMediators(); - - expect(result).toEqual(expect.arrayContaining([expect.objectContaining({ did: 'someDid' })])); - }); - }); -}); diff --git a/src/api/entities/Asset/__tests__/NonFungible/Nft.ts b/src/api/entities/Asset/__tests__/NonFungible/Nft.ts deleted file mode 100644 index 033a2caed7..0000000000 --- a/src/api/entities/Asset/__tests__/NonFungible/Nft.ts +++ /dev/null @@ -1,460 +0,0 @@ -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { Context, Entity, Nft, PolymeshError, PolymeshTransaction } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { ErrorCode } from '~/types'; -import { tuple } from '~/types/utils'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/Asset/NonFungible', - require('~/testUtils/mocks/entities').mockNftCollectionModule('~/api/entities/Asset/NonFungible') -); -jest.mock( - '~/base/Procedure', - require('~/testUtils/mocks/procedure').mockProcedureModule('~/base/Procedure') -); - -describe('Nft class', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - entityMockUtils.initMocks(); - procedureMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - entityMockUtils.reset(); - procedureMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - procedureMockUtils.cleanup(); - }); - - it('should extend Entity', () => { - expect(Nft.prototype).toBeInstanceOf(Entity); - }); - - describe('constructor', () => { - it('should assign ticker and did to instance', () => { - const ticker = 'TICKER'; - const context = dsMockUtils.getContextInstance(); - const id = new BigNumber(1); - const nft = new Nft({ ticker, id }, context); - - expect(nft.collection.ticker).toBe(ticker); - expect(nft.id).toEqual(id); - expect(nft.collection.ticker).toEqual(ticker); - }); - }); - - describe('method: isUniqueIdentifiers', () => { - it('should return true if the object conforms to the interface', () => { - expect(Nft.isUniqueIdentifiers({ ticker: 'TICKER', id: new BigNumber(1) })).toBe(true); - expect(Nft.isUniqueIdentifiers({})).toBe(false); - expect(Nft.isUniqueIdentifiers({ ticker: 3 })).toBe(false); - }); - }); - - describe('method: getMetadata', () => { - it('should return values for the metadata associated to the Nft', async () => { - const id = new BigNumber(1); - const ticker = 'TICKER'; - const context = dsMockUtils.getContextInstance(); - entityMockUtils.getNftCollectionInstance({ - getCollectionId: new BigNumber(1), - }); - - const rawCollectionId = dsMockUtils.createMockU64(new BigNumber(1)); - const rawId = dsMockUtils.createMockU64(new BigNumber(1)); - - const mockMetadataKey = dsMockUtils.createMockAssetMetadataKey({ Local: rawId }); - - dsMockUtils.createQueryMock('nft', 'metadataValue', { - entries: [ - tuple( - [[rawCollectionId, rawId], mockMetadataKey], - dsMockUtils.createMockBytes('This is a test metadata value') - ), - ], - }); - - const nft = new Nft({ ticker, id }, context); - - const result = await nft.getMetadata(); - - expect(result).toEqual([ - { - key: { id, ticker: 'TICKER', type: 'Local' }, - value: 'This is a test metadata value', - }, - ]); - }); - }); - - describe('method: exists', () => { - it('should return whether NFT exists or not', async () => { - const ticker = 'TICKER'; - const context = dsMockUtils.getContextInstance(); - const id = new BigNumber(3); - const nft = new Nft({ ticker, id }, context); - - const getOwnerSpy = jest.spyOn(nft, 'getOwner'); - - getOwnerSpy.mockResolvedValueOnce(entityMockUtils.getDefaultPortfolioInstance()); - - let result = await nft.exists(); - - expect(result).toBe(true); - - getOwnerSpy.mockResolvedValueOnce(null); - - result = await nft.exists(); - - expect(result).toBe(false); - }); - }); - - describe('getImageUrl', () => { - const ticker = 'TEST'; - const id = new BigNumber(1); - let context: Context; - - beforeEach(async () => { - context = dsMockUtils.getContextInstance(); - const globalId = new BigNumber(2); - dsMockUtils.createQueryMock('asset', 'assetMetadataGlobalNameToKey', { - returnValue: dsMockUtils.createMockOption(dsMockUtils.createMockU64(globalId)), - }); - }); - - describe('when image URL is set at the token level', () => { - beforeEach(() => { - dsMockUtils.createQueryMock('asset', 'assetMetadataValues', { - returnValue: dsMockUtils.createMockOption(), - }); - }); - - it('should return the NFT image URL when the NFT has a value set', async () => { - const imageUrl = 'https://example.com/nfts/{tokenId}/image.png'; - - dsMockUtils.createQueryMock('nft', 'metadataValue', { - returnValue: dsMockUtils.createMockBytes(imageUrl), - }); - - const nft = new Nft({ ticker, id }, context); - - const result = await nft.getImageUri(); - - expect(result).toEqual('https://example.com/nfts/1/image.png'); - }); - - it('should return null if no image metadata is set', async () => { - dsMockUtils.createQueryMock('nft', 'metadataValue', { - returnValue: dsMockUtils.createMockBytes(''), - }); - - dsMockUtils.createQueryMock('asset', 'assetMetadataValues', { - returnValue: dsMockUtils.createMockOption(), - }); - - const nft = new Nft({ ticker, id }, context); - - const result = await nft.getImageUri(); - expect(result).toBeNull(); - }); - }); - - describe('when image URL is set at the collection level', () => { - beforeEach(() => { - dsMockUtils.createQueryMock('nft', 'metadataValue', { - returnValue: dsMockUtils.createMockBytes(''), - }); - }); - - it('should return image URL', async () => { - const testUrl = 'https://example.com/nfts'; - dsMockUtils.createQueryMock('asset', 'assetMetadataValues', { - returnValue: dsMockUtils.createMockOption(dsMockUtils.createMockBytes(testUrl)), - }); - - const nft = new Nft({ ticker, id }, context); - - const result = await nft.getImageUri(); - - expect(result).toEqual(`${testUrl}/1`); - }); - - it('should template in ID if {tokenId} is present in value', async () => { - const testUrl = 'https://example.com/nfts/{tokenId}/image.jpg'; - dsMockUtils.createQueryMock('asset', 'assetMetadataValues', { - returnValue: dsMockUtils.createMockOption(dsMockUtils.createMockBytes(testUrl)), - }); - - const nft = new Nft({ ticker, id }, context); - - const result = await nft.getImageUri(); - - expect(result).toEqual('https://example.com/nfts/1/image.jpg'); - }); - - it('should not double / a path', async () => { - const testUrl = 'https://example.com/nfts/'; - - dsMockUtils.createQueryMock('asset', 'assetMetadataValues', { - returnValue: dsMockUtils.createMockOption(dsMockUtils.createMockBytes(testUrl)), - }); - - const nft = new Nft({ ticker, id }, context); - - const result = await nft.getImageUri(); - - expect(result).toEqual(`${testUrl}1`); - }); - - it('should return null if no value is set', async () => { - dsMockUtils.createQueryMock('asset', 'assetMetadataValues', { - returnValue: dsMockUtils.createMockOption(), - }); - - dsMockUtils.createQueryMock('nft', 'metadataValue', { - returnValue: dsMockUtils.createMockBytes(''), - }); - - const nft = new Nft({ ticker, id }, context); - - const result = await nft.getImageUri(); - expect(result).toBeNull(); - }); - }); - - describe('with null storage values', () => { - it('should handle null global key Id', async () => { - dsMockUtils.createQueryMock('asset', 'assetMetadataGlobalNameToKey', { - returnValue: dsMockUtils.createMockOption(), - }); - - const nft = new Nft({ ticker, id }, context); - - const result = await nft.getImageUri(); - - expect(result).toBeNull(); - }); - }); - }); - - describe('getTokenUri', () => { - const ticker = 'TEST'; - const id = new BigNumber(1); - let context: Context; - - beforeEach(async () => { - context = dsMockUtils.getContextInstance(); - const globalId = new BigNumber(2); - dsMockUtils.createQueryMock('asset', 'assetMetadataGlobalNameToKey', { - returnValue: dsMockUtils.createMockOption(dsMockUtils.createMockU64(globalId)), - }); - }); - - describe('when image URL is set at the token level', () => { - beforeEach(() => { - dsMockUtils.createQueryMock('asset', 'assetMetadataValues', { - returnValue: dsMockUtils.createMockOption(), - }); - }); - - it('should return the NFT token URI when the NFT has a value set', async () => { - const imageUrl = 'https://example.com/nfts/{tokenId}/info.json'; - - dsMockUtils.createQueryMock('nft', 'metadataValue', { - returnValue: dsMockUtils.createMockBytes(imageUrl), - }); - - const nft = new Nft({ ticker, id }, context); - - const result = await nft.getTokenUri(); - - expect(result).toEqual('https://example.com/nfts/1/info.json'); - }); - - it('should return null if no token URI metadata is set', async () => { - dsMockUtils.createQueryMock('nft', 'metadataValue', { - returnValue: dsMockUtils.createMockBytes(''), - }); - - dsMockUtils.createQueryMock('asset', 'assetMetadataValues', { - returnValue: dsMockUtils.createMockOption(), - }); - - const nft = new Nft({ ticker, id }, context); - - const result = await nft.getTokenUri(); - expect(result).toBeNull(); - }); - }); - - describe('when image URI is set at the collection level', () => { - beforeEach(() => { - dsMockUtils.createQueryMock('nft', 'metadataValue', { - returnValue: dsMockUtils.createMockBytes(''), - }); - }); - - it('should return image URL', async () => { - const testUrl = 'https://example.com/nfts'; - dsMockUtils.createQueryMock('asset', 'assetMetadataValues', { - returnValue: dsMockUtils.createMockOption(dsMockUtils.createMockBytes(testUrl)), - }); - - const nft = new Nft({ ticker, id }, context); - - const result = await nft.getTokenUri(); - - expect(result).toEqual(`${testUrl}/1`); - }); - - it('should template in ID if {tokenId} is present in value', async () => { - const testUrl = 'https://example.com/nfts/{tokenId}/info.json'; - dsMockUtils.createQueryMock('asset', 'assetMetadataValues', { - returnValue: dsMockUtils.createMockOption(dsMockUtils.createMockBytes(testUrl)), - }); - - const nft = new Nft({ ticker, id }, context); - - const result = await nft.getTokenUri(); - - expect(result).toEqual('https://example.com/nfts/1/info.json'); - }); - - it('should return null if no value is set', async () => { - dsMockUtils.createQueryMock('asset', 'assetMetadataValues', { - returnValue: dsMockUtils.createMockOption(), - }); - - dsMockUtils.createQueryMock('nft', 'metadataValue', { - returnValue: dsMockUtils.createMockBytes(''), - }); - - const nft = new Nft({ ticker, id }, context); - - const result = await nft.getTokenUri(); - expect(result).toBeNull(); - }); - }); - }); - - describe('method: redeem', () => { - it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { - const ticker = 'TEST'; - const id = new BigNumber(1); - const context = dsMockUtils.getContextInstance(); - const nft = new Nft({ ticker, id }, context); - - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args: { ticker, id }, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const tx = await nft.redeem(); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: getOwner', () => { - const ticker = 'TEST'; - const id = new BigNumber(1); - let context: Context; - let nftOwnerMock: jest.Mock; - let nft: Nft; - - beforeEach(async () => { - context = dsMockUtils.getContextInstance(); - nftOwnerMock = dsMockUtils.createQueryMock('nft', 'nftOwner'); - nft = new Nft({ ticker, id }, context); - }); - - it('should return null if no owner exists', async () => { - nftOwnerMock.mockResolvedValueOnce(dsMockUtils.createMockOption()); - - const result = await nft.getOwner(); - - expect(result).toBeNull(); - }); - - it('should return the owner of the NFT', async () => { - const meshPortfolioIdToPortfolioSpy = jest.spyOn( - utilsConversionModule, - 'meshPortfolioIdToPortfolio' - ); - - const rawPortfolio = dsMockUtils.createMockPortfolioId({ - did: 'someDid', - kind: dsMockUtils.createMockPortfolioKind({ - User: dsMockUtils.createMockU64(new BigNumber(1)), - }), - }); - - nftOwnerMock.mockResolvedValueOnce(dsMockUtils.createMockOption(rawPortfolio)); - const portfolio = entityMockUtils.getNumberedPortfolioInstance(); - - when(meshPortfolioIdToPortfolioSpy) - .calledWith(rawPortfolio, context) - .mockReturnValue(portfolio); - - const result = await nft.getOwner(); - - expect(result).toBe(portfolio); - }); - }); - - describe('method: isLocked', () => { - const ticker = 'TEST'; - const id = new BigNumber(1); - let context: Context; - let nft: Nft; - let ownerSpy: jest.SpyInstance; - - beforeEach(async () => { - context = dsMockUtils.getContextInstance(); - nft = new Nft({ ticker, id }, context); - ownerSpy = jest.spyOn(nft, 'getOwner'); - }); - - it('should throw an error if NFT has no owner', () => { - ownerSpy.mockResolvedValueOnce(null); - - const error = new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: 'NFT does not exists. The token may have been redeemed', - }); - return expect(nft.isLocked()).rejects.toThrow(error); - }); - - it('should return whether NFT is locked in any settlement', async () => { - ownerSpy.mockResolvedValue(entityMockUtils.getDefaultPortfolioInstance()); - - dsMockUtils.createQueryMock('portfolio', 'portfolioLockedNFT', { - returnValue: dsMockUtils.createMockBool(true), - }); - - const result = await nft.isLocked(); - - expect(result).toBe(true); - }); - }); - - describe('method: toHuman', () => { - it('should return a human readable version of the entity', () => { - const context = dsMockUtils.getContextInstance(); - const ticker = 'TICKER'; - const nft = new Nft({ ticker, id: new BigNumber(1) }, context); - - expect(nft.toHuman()).toEqual({ collection: 'TICKER', id: '1' }); - }); - }); -}); diff --git a/src/api/entities/Asset/__tests__/NonFungible/NftCollection.ts b/src/api/entities/Asset/__tests__/NonFungible/NftCollection.ts deleted file mode 100644 index c2eb7928d1..0000000000 --- a/src/api/entities/Asset/__tests__/NonFungible/NftCollection.ts +++ /dev/null @@ -1,574 +0,0 @@ -import { bool } from '@polkadot/types'; -import { PolymeshPrimitivesAssetIdentifier } from '@polkadot/types/lookup'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { - BaseAsset, - Context, - Entity, - NftCollection, - PolymeshError, - PolymeshTransaction, -} from '~/internal'; -import { assetQuery } from '~/middleware/queries'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { - ErrorCode, - KnownNftType, - MetadataType, - SecurityIdentifier, - SecurityIdentifierType, -} from '~/types'; -import { tuple } from '~/types/utils'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/Identity', - require('~/testUtils/mocks/entities').mockIdentityModule('~/api/entities/Identity') -); -jest.mock( - '~/api/entities/MetadataEntry', - require('~/testUtils/mocks/entities').mockMetadataEntryModule('~/api/entities/MetadataEntry') -); -jest.mock( - '~/base/Procedure', - require('~/testUtils/mocks/procedure').mockProcedureModule('~/base/Procedure') -); -jest.mock( - '~/api/entities/Asset/NonFungible', - require('~/testUtils/mocks/entities').mockNftModule('~/api/entities/Asset/NonFungible') -); - -describe('NftCollection class', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - entityMockUtils.initMocks(); - procedureMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - entityMockUtils.reset(); - procedureMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - procedureMockUtils.cleanup(); - jest.clearAllMocks(); - }); - - it('should extend Entity', () => { - expect(NftCollection.prototype).toBeInstanceOf(Entity); - }); - - describe('constructor', () => { - it('should assign ticker and did to instance', () => { - const ticker = 'test'; - const context = dsMockUtils.getContextInstance(); - const nftCollection = new NftCollection({ ticker }, context); - - expect(nftCollection.ticker).toBe(ticker); - expect(nftCollection.did).toBe(utilsConversionModule.tickerToDid(ticker)); - }); - }); - - describe('method: isUniqueIdentifiers', () => { - it('should return true if the object conforms to the interface', () => { - expect(NftCollection.isUniqueIdentifiers({ ticker: 'SOME_TICKER' })).toBe(true); - expect(NftCollection.isUniqueIdentifiers({})).toBe(false); - expect(NftCollection.isUniqueIdentifiers({ ticker: 3 })).toBe(false); - }); - }); - - describe('method: transferOwnership', () => { - it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { - const ticker = 'TEST'; - const context = dsMockUtils.getContextInstance(); - const nftCollection = new NftCollection({ ticker }, context); - const target = 'someOtherDid'; - const expiry = new Date('10/14/3040'); - - const args = { - target, - expiry, - }; - - const expectedTransaction = - 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args: { ticker, ...args }, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const tx = await nftCollection.transferOwnership(args); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: investorCount', () => { - it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { - const ticker = 'TEST'; - const context = dsMockUtils.getContextInstance(); - const nftCollection = new NftCollection({ ticker }, context); - - dsMockUtils.createQueryMock('nft', 'numberOfNFTs', { - entries: [ - tuple( - [dsMockUtils.createMockTicker(ticker), dsMockUtils.createMockIdentityId('someDid')], - dsMockUtils.createMockU64(new BigNumber(3)) - ), - ], - }); - - const investorCount = await nftCollection.investorCount(); - - expect(investorCount).toEqual(new BigNumber(1)); - }); - }); - - describe('method: getIdentifiers', () => { - let ticker: string; - let isinValue: string; - let isinMock: PolymeshPrimitivesAssetIdentifier; - let securityIdentifiers: SecurityIdentifier[]; - - let context: Context; - let nftCollection: NftCollection; - - beforeAll(() => { - ticker = 'TEST'; - isinValue = 'FAKE ISIN'; - isinMock = dsMockUtils.createMockAssetIdentifier({ - Isin: dsMockUtils.createMockU8aFixed(isinValue), - }); - securityIdentifiers = [ - { - type: SecurityIdentifierType.Isin, - value: isinValue, - }, - ]; - }); - - beforeEach(() => { - context = dsMockUtils.getContextInstance(); - nftCollection = new NftCollection({ ticker }, context); - }); - - it('should return the list of security identifiers for an NftCollection', async () => { - dsMockUtils.createQueryMock('asset', 'identifiers', { - returnValue: [isinMock], - }); - - const result = await nftCollection.getIdentifiers(); - - expect(result[0].value).toBe(isinValue); - }); - - it('should allow subscription', async () => { - const unsubCallback = 'unsubCallBack'; - - dsMockUtils.createQueryMock('asset', 'identifiers').mockImplementation(async (_, cbFunc) => { - cbFunc([isinMock]); - - return unsubCallback; - }); - - const callback = jest.fn(); - const result = await nftCollection.getIdentifiers(callback); - - expect(result).toBe(unsubCallback); - expect(callback).toBeCalledWith(securityIdentifiers); - }); - }); - - describe('method: createdAt', () => { - it('should return the event identifier object of the Asset creation', async () => { - const ticker = 'SOME_TICKER'; - const blockNumber = new BigNumber(1234); - const blockDate = new Date('4/14/2020'); - const blockHash = 'someHash'; - const eventIdx = new BigNumber(1); - const variables = { - ticker, - }; - const fakeResult = { blockNumber, blockHash, blockDate, eventIndex: eventIdx }; - const context = dsMockUtils.getContextInstance(); - const nftCollection = new NftCollection({ ticker }, context); - - dsMockUtils.createApolloQueryMock(assetQuery(variables), { - assets: { - nodes: [ - { - createdBlock: { - blockId: blockNumber.toNumber(), - datetime: blockDate, - hash: blockHash, - }, - eventIdx: eventIdx.toNumber(), - }, - ], - }, - }); - - const result = await nftCollection.createdAt(); - - expect(result).toEqual(fakeResult); - }); - - it('should return null if the query result is empty', async () => { - const ticker = 'SOME_TICKER'; - const variables = { - ticker, - }; - const context = dsMockUtils.getContextInstance(); - const nftCollection = new NftCollection({ ticker }, context); - - dsMockUtils.createApolloQueryMock(assetQuery(variables), { - assets: { - nodes: [], - }, - }); - const result = await nftCollection.createdAt(); - expect(result).toBeNull(); - }); - }); - - describe('method: isFrozen', () => { - let frozenMock: jest.Mock; - let boolValue: boolean; - let rawBoolValue: bool; - - beforeAll(() => { - boolValue = true; - rawBoolValue = dsMockUtils.createMockBool(boolValue); - }); - - beforeEach(() => { - frozenMock = dsMockUtils.createQueryMock('asset', 'frozen'); - }); - - it('should return whether the NftCollection is frozen or not', async () => { - const ticker = 'TICKER'; - const context = dsMockUtils.getContextInstance(); - const nftCollection = new NftCollection({ ticker }, context); - - frozenMock.mockResolvedValue(rawBoolValue); - - const result = await nftCollection.isFrozen(); - - expect(result).toBe(boolValue); - }); - - it('should allow subscription', async () => { - const ticker = 'TICKER'; - const context = dsMockUtils.getContextInstance(); - const nftCollection = new NftCollection({ ticker }, context); - const unsubCallback = 'unsubCallBack'; - - frozenMock.mockImplementation(async (_, cbFunc) => { - cbFunc(rawBoolValue); - return unsubCallback; - }); - - const callback = jest.fn(); - const result = await nftCollection.isFrozen(callback); - - expect(result).toBe(unsubCallback); - expect(callback).toBeCalledWith(boolValue); - }); - }); - - describe('method: details', () => { - let ticker: string; - let internalDetailsSpy: jest.SpyInstance; - - const did = 'someDid'; - const mockDetails = { - owner: dsMockUtils.createMockIdentityId('someDid'), - totalSupply: new BigNumber(0), // chain doesn't track supply for NFTs - type: dsMockUtils.createMockAssetType({ - NonFungible: dsMockUtils.createMockNftType(KnownNftType.FixedIncome), - }), - divisible: false, - }; - - let context: Context; - - beforeEach(() => { - dsMockUtils.createQueryMock('nft', 'numberOfNFTs', { - entries: [ - tuple( - [dsMockUtils.createMockTicker(ticker), dsMockUtils.createMockIdentityId(did)], - dsMockUtils.createMockU64(new BigNumber(3)) - ), - ], - }); - }); - - beforeAll(() => { - ticker = 'TICKER'; - }); - - beforeEach(() => { - context = dsMockUtils.getContextInstance(); - - // eslint-disable-next-line @typescript-eslint/no-explicit-any - internalDetailsSpy = jest.spyOn(BaseAsset.prototype as any, 'details'); - internalDetailsSpy.mockResolvedValue(mockDetails); - }); - - it('should return details about the collection', async () => { - const nftCollection = new NftCollection({ ticker }, context); - - const result = await nftCollection.details(); - - expect(result).toEqual({ - ...mockDetails, - totalSupply: new BigNumber(3), - }); - }); - - it('should allow subscription', async () => { - const nftCollection = new NftCollection({ ticker }, context); - const fakeUnsubCallback = 'unsubCallback'; - - internalDetailsSpy.mockImplementation(cb => { - cb(mockDetails); - return fakeUnsubCallback; - }); - - const callback = jest.fn(); - const result = await nftCollection.details(callback); - - expect(result).toBe(fakeUnsubCallback); - expect(callback).toBeCalledWith({ ...mockDetails, totalSupply: new BigNumber(3) }); - }); - }); - - describe('method: collectionKeys', () => { - let u64ToBigNumberSpy: jest.SpyInstance; - let meshMetadataKeyToMetadataKeySpy: jest.SpyInstance; - - beforeAll(() => { - u64ToBigNumberSpy = jest.spyOn(utilsConversionModule, 'u64ToBigNumber'); - meshMetadataKeyToMetadataKeySpy = jest.spyOn( - utilsConversionModule, - 'meshMetadataKeyToMetadataKey' - ); - }); - - it('should return required metadata', async () => { - const context = dsMockUtils.getContextInstance(); - const ticker = 'TICKER'; - const id = new BigNumber(1); - const collection = new NftCollection({ ticker }, context); - const mockGlobalKey = dsMockUtils.createMockAssetMetadataKey({ - Global: dsMockUtils.createMockU64(id), - }); - const mockLocalKey = dsMockUtils.createMockAssetMetadataKey({ - Local: dsMockUtils.createMockU64(id), - }); - - jest.spyOn(collection, 'getCollectionId').mockResolvedValue(id); - - when(meshMetadataKeyToMetadataKeySpy) - .calledWith(mockGlobalKey, ticker) - .mockReturnValue({ type: MetadataType.Global, id }); - - when(meshMetadataKeyToMetadataKeySpy) - .calledWith(mockLocalKey, ticker) - .mockReturnValue({ type: MetadataType.Local, id }); - - u64ToBigNumberSpy.mockReturnValue(id); - dsMockUtils.createQueryMock('nft', 'collectionKeys', { - returnValue: dsMockUtils.createMockBTreeSet([mockGlobalKey, mockLocalKey]), - }); - - const mockGlobalEntry = entityMockUtils.getMetadataEntryInstance({ - id, - type: MetadataType.Global, - }); - const mockLocalEntry = entityMockUtils.getMetadataEntryInstance({ - id, - ticker, - type: MetadataType.Local, - }); - mockGlobalEntry.details.mockResolvedValue({ - name: 'Example Global Name', - specs: {}, - }); - mockLocalEntry.details.mockResolvedValue({ - name: 'Example Local Name', - specs: {}, - }); - jest.spyOn(collection.metadata, 'get').mockResolvedValue([mockGlobalEntry, mockLocalEntry]); - const result = await collection.collectionKeys(); - - expect(result).toEqual( - expect.arrayContaining([ - expect.objectContaining({ - type: MetadataType.Global, - id: new BigNumber(1), - name: 'Example Global Name', - specs: {}, - }), - expect.objectContaining({ - ticker, - type: MetadataType.Local, - id: new BigNumber(1), - name: 'Example Local Name', - specs: {}, - }), - ]) - ); - }); - - it('should throw an error if needed metadata details are not found', async () => { - const context = dsMockUtils.getContextInstance(); - const ticker = 'TICKER'; - const id = new BigNumber(1); - const collection = new NftCollection({ ticker }, context); - const mockMetadataKey = dsMockUtils.createMockAssetMetadataKey({ - Global: dsMockUtils.createMockU64(id), - }); - - jest.spyOn(collection, 'getCollectionId').mockResolvedValue(id); - - when(meshMetadataKeyToMetadataKeySpy) - .calledWith(mockMetadataKey, ticker) - .mockReturnValue({ type: MetadataType.Global, id }); - - u64ToBigNumberSpy.mockReturnValue(id); - dsMockUtils.createQueryMock('nft', 'collectionKeys', { - returnValue: dsMockUtils.createMockBTreeSet([mockMetadataKey]), - }); - - const mockMetadataEntry = entityMockUtils.getMetadataEntryInstance({ - id: id.plus(1), - type: MetadataType.Global, - }); - jest.spyOn(collection.metadata, 'get').mockResolvedValue([mockMetadataEntry]); - - const expectedError = new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: 'Failed to find metadata details', - }); - - await expect(collection.collectionKeys()).rejects.toThrow(expectedError); - }); - }); - - describe('method: getCollectionId', () => { - it('should return and cache the collection ID', async () => { - const context = dsMockUtils.getContextInstance(); - const ticker = 'TICKER'; - const collection = new NftCollection({ ticker }, context); - const id = new BigNumber(1); - const rawId = dsMockUtils.createMockU64(id); - - const idMock = dsMockUtils.createQueryMock('nft', 'collectionTicker', { returnValue: rawId }); - - const result = await collection.getCollectionId(); - - expect(result).toEqual(new BigNumber(1)); - - await collection.getCollectionId(); - - expect(idMock).toHaveBeenCalledTimes(1); - }); - }); - - describe('method: issue', () => { - it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { - const ticker = 'TEST'; - const context = dsMockUtils.getContextInstance(); - const collection = new NftCollection({ ticker }, context); - - const args = { - metadata: [], - }; - - const expectedTransaction = - 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args: { ticker, ...args }, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const tx = await collection.issue(args); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: getNft', () => { - it('should return the NFT if it exists', async () => { - const ticker = 'TEST'; - const id = new BigNumber(1); - const context = dsMockUtils.getContextInstance(); - const collection = new NftCollection({ ticker }, context); - - entityMockUtils.configureMocks({ - nftOptions: { exists: true }, - }); - - const nft = await collection.getNft({ id }); - - expect(nft).toEqual(expect.objectContaining({ id })); - }); - - it('should throw an error if the NFT does not exist', async () => { - const ticker = 'TEST'; - const id = new BigNumber(1); - const context = dsMockUtils.getContextInstance(); - const collection = new NftCollection({ ticker }, context); - - entityMockUtils.configureMocks({ - nftOptions: { exists: false }, - }); - - const expectedError = new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: 'The NFT does not exist', - }); - - await expect(collection.getNft({ id })).rejects.toThrow(expectedError); - }); - }); - - describe('method: exists', () => { - it('should return whether the NftCollection exists', async () => { - const ticker = 'TICKER'; - const context = dsMockUtils.getContextInstance(); - const nftCollection = new NftCollection({ ticker }, context); - - dsMockUtils.createQueryMock('nft', 'collectionTicker', { - returnValue: new BigNumber(10), - }); - - let result = await nftCollection.exists(); - - expect(result).toBe(true); - - dsMockUtils.createQueryMock('nft', 'collectionTicker', { - returnValue: new BigNumber(0), - }); - - result = await nftCollection.exists(); - - expect(result).toBe(false); - }); - }); - - describe('method: toHuman', () => { - it('should return a human readable version of the entity', () => { - const context = dsMockUtils.getContextInstance(); - const nftCollection = new NftCollection({ ticker: 'SOME_TICKER' }, context); - - expect(nftCollection.toHuman()).toBe('SOME_TICKER'); - }); - }); -}); diff --git a/src/api/entities/Asset/index.ts b/src/api/entities/Asset/index.ts deleted file mode 100644 index 26e1253f38..0000000000 --- a/src/api/entities/Asset/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -export * from './Fungible'; -export * from './NonFungible'; -export * from './Base'; -export * from './types'; diff --git a/src/api/entities/Asset/types.ts b/src/api/entities/Asset/types.ts deleted file mode 100644 index d386a7c4b2..0000000000 --- a/src/api/entities/Asset/types.ts +++ /dev/null @@ -1,161 +0,0 @@ -import BigNumber from 'bignumber.js'; - -import { - CustomPermissionGroup, - DefaultPortfolio, - FungibleAsset, - Identity, - KnownPermissionGroup, - NftCollection, - NumberedPortfolio, -} from '~/internal'; -import { EventIdEnum } from '~/middleware/types'; -import { - Compliance, - EventIdentifier, - MetadataDetails, - MetadataType, - TransferError, - TransferRestriction, -} from '~/types'; - -/** - * Represents a generic asset on chain. Common functionality (e.g. documents) can be interacted with directly. For type specific functionality (e.g. issue) the type can - * be narrowed via `instanceof` operator, or by using a more specific getter - */ -export type Asset = FungibleAsset | NftCollection; - -/** - * Properties that uniquely identify an Asset - */ -export interface UniqueIdentifiers { - /** - * ticker of the Asset - */ - ticker: string; -} - -export interface AssetDetails { - assetType: string; - nonFungible: boolean; - isDivisible: boolean; - name: string; - owner: Identity; - totalSupply: BigNumber; - fullAgents: Identity[]; -} - -/** - * Represents the balance of an Asset Holder - */ -export interface IdentityBalance { - identity: Identity; - balance: BigNumber; -} - -export interface TransferRestrictionResult { - restriction: TransferRestriction; - result: boolean; -} - -/** - * Object containing every reason why a specific Asset transfer would fail - */ -export interface TransferBreakdown { - /** - * list of general transfer errors - */ - general: TransferError[]; - /** - * how the transfer adheres to the asset's compliance rules - */ - compliance: Compliance; - /** - * list of transfer restrictions and whether the transfer satisfies each one - */ - restrictions: TransferRestrictionResult[]; - /** - * true if the transfer is possible - */ - result: boolean; -} - -export interface AgentWithGroup { - agent: Identity; - group: KnownPermissionGroup | CustomPermissionGroup; -} - -export interface HistoricAssetTransaction extends EventIdentifier { - asset: FungibleAsset; - /** - * Origin portfolio involved in the transaction. This value will be null when the `event` value is `Issued` - */ - from: DefaultPortfolio | NumberedPortfolio | null; - /** - * Destination portfolio involved in the transaction . This value will be null when the `event` value is `Redeemed` - */ - to: DefaultPortfolio | NumberedPortfolio | null; - - /** - * Event identifying the type of transaction - */ - event: EventIdEnum; - - /** - * Amount of the fungible tokens involved in the transaction - */ - amount: BigNumber; - - /** - * Index value of the extrinsic which led to the Asset transaction within the `blockNumber` block - */ - extrinsicIndex: BigNumber; - - /** - * Name of the funding round (if provided while issuing the Asset). This value is present only when the value of `event` is `Issued` - */ - fundingRound?: string; - /** - * ID of the instruction being executed. This value is present only when the value of `event` is `Transfer` - */ - instructionId?: BigNumber; - /** - * Memo provided against the executed instruction. This value is present only when the value of `event` is `Transfer` - */ - instructionMemo?: string; -} - -/** - * The data needed to uniquely identify a metadata specification - */ -export type MetadataKeyId = - | { - type: MetadataType.Global; - id: BigNumber; - } - | { - type: MetadataType.Local; - id: BigNumber; - ticker: string; - }; - -export interface NftMetadata { - /** - * The metadata key this value is intended for - */ - key: MetadataKeyId; - /** - * The value the particular NFT has for the metadata - */ - value: string; -} - -/** - * A metadata entry for which each NFT in the collection must have an entry for - * - * @note each NFT **must** have an entry for each metadata value, the entry **should** comply with the relevant spec - */ -export type CollectionKey = MetadataKeyId & MetadataDetails; - -export * from './Fungible/Checkpoints/types'; -export * from './Fungible/CorporateActions/types'; diff --git a/src/api/entities/AuthorizationRequest.ts b/src/api/entities/AuthorizationRequest.ts deleted file mode 100644 index 8e2226c380..0000000000 --- a/src/api/entities/AuthorizationRequest.ts +++ /dev/null @@ -1,236 +0,0 @@ -import BigNumber from 'bignumber.js'; - -import { - consumeAddMultiSigSignerAuthorization, - ConsumeAddMultiSigSignerAuthorizationParams, - consumeAddRelayerPayingKeyAuthorization, - ConsumeAddRelayerPayingKeyAuthorizationParams, - consumeAuthorizationRequests, - ConsumeAuthorizationRequestsParams, - consumeJoinOrRotateAuthorization, - ConsumeJoinOrRotateAuthorizationParams, - Context, - Entity, - Identity, -} from '~/internal'; -import { - Authorization, - AuthorizationType, - NoArgsProcedureMethod, - Signer, - SignerValue, -} from '~/types'; -import { HumanReadableType } from '~/types/utils'; -import { bigNumberToU64, signerToSignerValue, signerValueToSignatory } from '~/utils/conversion'; -import { createProcedureMethod, toHumanReadable } from '~/utils/internal'; - -export interface UniqueIdentifiers { - authId: BigNumber; -} - -export interface HumanReadable { - issuer: HumanReadableType; - expiry: string | null; - target: SignerValue; - data: HumanReadableType; - id: string; -} - -export interface Params { - target: Signer; - issuer: Identity; - expiry: Date | null; - data: Authorization; -} - -/** - * Represents a request made by an Identity to another Identity (or Account) for some sort of authorization. This has multiple uses. For example, if Alice - * wants to transfer ownership of one of her Assets to Bob, this method emits an authorization request for Bob, - * who then has to accept it in order to complete the ownership transfer - */ -export class AuthorizationRequest extends Entity { - /** - * @hidden - * Check if a value is of type {@link UniqueIdentifiers} - */ - public static override isUniqueIdentifiers(identifier: unknown): identifier is UniqueIdentifiers { - const { authId } = identifier as UniqueIdentifiers; - - return authId instanceof BigNumber; - } - - /** - * Identity or Account to which the request was emitted - */ - public target: Signer; - - /** - * Identity that emitted the request - */ - public issuer: Identity; - - /** - * Authorization Request data corresponding to type of Authorization - * - * | Type | Data | - * |---------------------------------|---------------------------------| - * | Add Relayer Paying Key | Beneficiary, Relayer, Allowance | - * | Become Agent | Permission Group | - * | Attest Primary Key Rotation | DID | - * | Rotate Primary Key | N/A | - * | Rotate Primary Key to Secondary | Permissions | - * | Transfer Ticker | Ticker | - * | Add MultiSig Signer | Account | - * | Transfer Asset Ownership | Ticker | - * | Join Identity | Permissions | - * | Portfolio Custody | Portfolio | - */ - public data: Authorization; - - /** - * date at which the Authorization Request expires and can no longer be accepted. - * At this point, a new Authorization Request must be emitted. Null if the Request never expires - */ - public expiry: Date | null; - - /** - * internal identifier for the Request (used to accept/reject/cancel) - */ - public authId: BigNumber; - - /** - * @hidden - */ - public constructor(args: UniqueIdentifiers & Params, context: Context) { - const { target, issuer, expiry, data, ...identifiers } = args; - - super(identifiers, context); - - const { authId } = identifiers; - - this.target = target; - this.issuer = issuer; - this.authId = authId; - this.expiry = expiry; - this.data = data; - - this.accept = createProcedureMethod< - | ConsumeAuthorizationRequestsParams - | ConsumeJoinOrRotateAuthorizationParams - | ConsumeAddMultiSigSignerAuthorizationParams - | ConsumeAddRelayerPayingKeyAuthorizationParams, - void, - // eslint-disable-next-line @typescript-eslint/no-explicit-any - any - >( - { - getProcedureAndArgs: () => { - switch (this.data.type) { - case AuthorizationType.AddRelayerPayingKey: { - return [consumeAddRelayerPayingKeyAuthorization, { authRequest: this, accept: true }]; - } - case AuthorizationType.JoinIdentity: - case AuthorizationType.RotatePrimaryKey: - case AuthorizationType.RotatePrimaryKeyToSecondary: { - return [consumeJoinOrRotateAuthorization, { authRequest: this, accept: true }]; - } - case AuthorizationType.AddMultiSigSigner: { - return [consumeAddMultiSigSignerAuthorization, { authRequest: this, accept: true }]; - } - default: { - return [consumeAuthorizationRequests, { authRequests: [this], accept: true }]; - } - } - }, - voidArgs: true, - }, - context - ); - - this.remove = createProcedureMethod< - | ConsumeAuthorizationRequestsParams - | ConsumeJoinOrRotateAuthorizationParams - | ConsumeAddMultiSigSignerAuthorizationParams - | ConsumeAddRelayerPayingKeyAuthorizationParams, - void, - // eslint-disable-next-line @typescript-eslint/no-explicit-any - any - >( - { - getProcedureAndArgs: () => { - switch (this.data.type) { - case AuthorizationType.AddRelayerPayingKey: { - return [ - consumeAddRelayerPayingKeyAuthorization, - { authRequest: this, accept: false }, - ]; - } - case AuthorizationType.JoinIdentity: - case AuthorizationType.RotatePrimaryKeyToSecondary: { - return [consumeJoinOrRotateAuthorization, { authRequest: this, accept: false }]; - } - case AuthorizationType.AddMultiSigSigner: { - return [consumeAddMultiSigSignerAuthorization, { authRequest: this, accept: false }]; - } - default: { - return [consumeAuthorizationRequests, { authRequests: [this], accept: false }]; - } - } - }, - voidArgs: true, - }, - context - ); - } - - /** - * Accept the Authorization Request. You must be the target of the Request to be able to accept it - */ - public accept: NoArgsProcedureMethod; - - /** - * Remove the Authorization Request - * - * - If you are the Request issuer, this will cancel the Authorization - * - If you are the Request target, this will reject the Authorization - */ - public remove: NoArgsProcedureMethod; - - /** - * Returns whether the Authorization Request has expired - */ - public isExpired(): boolean { - const { expiry } = this; - - return expiry !== null && expiry < new Date(); - } - - /** - * Determine whether this Authorization Request exists on chain - */ - public async exists(): Promise { - const { authId, target, context } = this; - - const auth = await context.polymeshApi.query.identity.authorizations( - signerValueToSignatory(signerToSignerValue(target), context), - bigNumberToU64(authId, context) - ); - - return auth.isSome; - } - - /** - * Return the Authorization's static data - */ - public toHuman(): HumanReadable { - const { data, issuer, target, expiry, authId } = this; - - return toHumanReadable({ - id: authId, - expiry, - data, - issuer, - target: signerToSignerValue(target), - }); - } -} diff --git a/src/api/entities/Checkpoint.ts b/src/api/entities/Checkpoint.ts deleted file mode 100644 index e39750c31d..0000000000 --- a/src/api/entities/Checkpoint.ts +++ /dev/null @@ -1,273 +0,0 @@ -import { u64 } from '@polkadot/types'; -import { PolymeshPrimitivesIdentityId, PolymeshPrimitivesTicker } from '@polkadot/types/lookup'; -import BigNumber from 'bignumber.js'; - -import { Context, Entity, FungibleAsset, Identity } from '~/internal'; -import { IdentityBalance, PaginationOptions, ResultSet } from '~/types'; -import { tuple } from '~/types/utils'; -import { - balanceToBigNumber, - bigNumberToU64, - identityIdToString, - momentToDate, - stringToIdentityId, - stringToTicker, - u64ToBigNumber, -} from '~/utils/conversion'; -import { getIdentity, requestPaginated, toHumanReadable } from '~/utils/internal'; - -export interface UniqueIdentifiers { - id: BigNumber; - ticker: string; -} - -export interface HumanReadable { - id: string; - ticker: string; -} - -/** - * Represents a snapshot of the Asset's holders and their respective balances - * at a certain point in time - */ -export class Checkpoint extends Entity { - /** - * @hidden - * Check if a value is of type {@link UniqueIdentifiers} - */ - public static override isUniqueIdentifiers(identifier: unknown): identifier is UniqueIdentifiers { - const { id, ticker } = identifier as UniqueIdentifiers; - - return id instanceof BigNumber && typeof ticker === 'string'; - } - - /** - * Checkpoint identifier number - */ - public id: BigNumber; - - /** - * Asset whose balances are being recorded in this Checkpoint - */ - public asset: FungibleAsset; - - /** - * @hidden - */ - public constructor(identifiers: UniqueIdentifiers, context: Context) { - super(identifiers, context); - - const { id, ticker } = identifiers; - - this.id = id; - this.asset = new FungibleAsset({ ticker }, context); - } - - /** - * Retrieve the Asset's total supply at this checkpoint - */ - public async totalSupply(): Promise { - const { - context, - asset: { ticker }, - id, - } = this; - - const rawSupply = await context.polymeshApi.query.checkpoint.totalSupply( - stringToTicker(ticker, context), - bigNumberToU64(id, context) - ); - - return balanceToBigNumber(rawSupply); - } - - /** - * Retrieve this Checkpoint's creation date - */ - public async createdAt(): Promise { - const { - context, - asset: { ticker }, - id, - } = this; - - const creationTime = await context.polymeshApi.query.checkpoint.timestamps( - stringToTicker(ticker, context), - bigNumberToU64(id, context) - ); - - return momentToDate(creationTime); - } - - /** - * Retrieve all Asset Holder balances at this Checkpoint - * - * @note supports pagination - * @note current Asset holders who didn't hold any tokens when the Checkpoint was created will be listed with a balance of 0. - * This arises from a chain storage optimization and pagination. @see {@link balance} for a more detailed explanation of the logic - */ - public async allBalances( - paginationOpts?: PaginationOptions - ): Promise> { - const { - context: { - polymeshApi: { - query: { checkpoint, asset }, - }, - }, - context, - asset: { ticker }, - id, - } = this; - - const rawTicker = stringToTicker(ticker, context); - - // Get one page of current Asset balances - const { entries, lastKey: next } = await requestPaginated(asset.balanceOf, { - arg: rawTicker, - paginationOpts, - }); - - const currentDidBalances: { did: string; balance: BigNumber }[] = []; - const balanceUpdatesMultiParams: [PolymeshPrimitivesTicker, PolymeshPrimitivesIdentityId][] = - []; - - // Prepare the query for balance updates. Push to currentDidBalances to be used if there are no updates for the balance - entries.forEach(([storageKey, balance]) => { - const { - args: [, identityId], - } = storageKey; - currentDidBalances.push({ - did: identityIdToString(identityId), - balance: balanceToBigNumber(balance), - }); - balanceUpdatesMultiParams.push(tuple(rawTicker, identityId)); - }); - - // Query for balance updates - const rawBalanceUpdates = await checkpoint.balanceUpdates.multi(balanceUpdatesMultiParams); - - const checkpointBalanceMultiParams: { - did: string; - params: [(PolymeshPrimitivesTicker | u64)[], PolymeshPrimitivesIdentityId]; - }[] = []; - const currentIdentityBalances: IdentityBalance[] = []; - - rawBalanceUpdates.forEach((rawCheckpointIds, index) => { - const firstUpdatedCheckpoint = rawCheckpointIds.find(checkpointId => - u64ToBigNumber(checkpointId).gte(id) - ); - const { did, balance } = currentDidBalances[index]; - if (firstUpdatedCheckpoint) { - // If a balance update has occurred for the Identity since the desired Checkpoint, then query Checkpoint storage directly - checkpointBalanceMultiParams.push({ - did, - params: tuple([rawTicker, firstUpdatedCheckpoint], stringToIdentityId(did, context)), - }); - } else { - // Otherwise use the current balance - currentIdentityBalances.push({ - identity: new Identity({ did }, context), - balance, - }); - } - }); - - // Query for Identities with balance updates - const checkpointBalances = await checkpoint.balance.multi( - checkpointBalanceMultiParams.map(({ params }) => params) - ); - - return { - data: [ - ...checkpointBalanceMultiParams.map(({ did }, index) => ({ - identity: new Identity({ did }, context), - balance: balanceToBigNumber(checkpointBalances[index]), - })), - ...currentIdentityBalances, - ], - next, - }; - } - - /** - * Retrieve the balance of a specific Asset Holder Identity at this Checkpoint - * - * @param args.identity - defaults to the signing Identity - * @note A checkpoint only records balances when they change. The implementation is to query for all balance updates for [ticker, did] pair. - * If no balance updates have happened since the Checkpoint has been created, then the storage will not have an entry for the user. Instead the current balance should be used. - * The balance is stored only when the Identity makes a transaction after a Checkpoint is created. This helps keep storage usage to a minimum - */ - public async balance(args?: { identity: string | Identity }): Promise { - const { - context, - context: { - polymeshApi: { - query: { checkpoint }, - }, - }, - asset: { ticker }, - id, - } = this; - - const identity = await getIdentity(args?.identity, context); - - const rawTicker = stringToTicker(ticker, context); - const rawIdentityId = stringToIdentityId(identity.did, context); - - const balanceUpdates = await checkpoint.balanceUpdates(rawTicker, rawIdentityId); - const firstUpdatedCheckpoint = balanceUpdates.find(checkpointId => - u64ToBigNumber(checkpointId).gte(id) - ); - - /* - * If there has been a balance change since the Checkpoint was created, then query the Checkpoint storage. - * Otherwise, the storage will not have an entry for the Identity. The current balance should be queried instead. - */ - let balance: BigNumber; - if (firstUpdatedCheckpoint) { - const rawBalance = await checkpoint.balance( - tuple(rawTicker, firstUpdatedCheckpoint), - rawIdentityId - ); - balance = balanceToBigNumber(rawBalance); - } else { - // if no balanceUpdate has occurred since the Checkpoint has been created, then the current balance should be used. The Checkpoint storage will not have an entry - balance = await identity.getAssetBalance({ ticker }); - } - - return balance; - } - - /** - * Determine whether this Checkpoint exists on chain - */ - public async exists(): Promise { - const { - context: { - polymeshApi: { - query: { checkpoint }, - }, - }, - context, - asset: { ticker }, - id, - } = this; - - const rawCheckpointId = await checkpoint.checkpointIdSequence(stringToTicker(ticker, context)); - - return id.lte(u64ToBigNumber(rawCheckpointId)); - } - - /** - * Return the Checkpoint's ticker and identifier - */ - public toHuman(): HumanReadable { - const { asset, id } = this; - - return toHumanReadable({ - ticker: asset, - id, - }); - } -} diff --git a/src/api/entities/CheckpointSchedule/__tests__/index.ts b/src/api/entities/CheckpointSchedule/__tests__/index.ts deleted file mode 100644 index 42e3601c0e..0000000000 --- a/src/api/entities/CheckpointSchedule/__tests__/index.ts +++ /dev/null @@ -1,257 +0,0 @@ -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { CheckpointSchedule, Context, Entity } from '~/internal'; -import { dsMockUtils, entityMockUtils } from '~/testUtils/mocks'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/Identity', - require('~/testUtils/mocks/entities').mockIdentityModule('~/api/entities/Identity') -); -jest.mock( - '~/api/entities/Asset/Fungible', - require('~/testUtils/mocks/entities').mockFungibleAssetModule('~/api/entities/Asset/Fungible') -); - -describe('CheckpointSchedule class', () => { - let context: Context; - - let id: BigNumber; - let ticker: string; - let start: Date; - let nextCheckpointDate: Date; - let stringToTickerSpy: jest.SpyInstance; - let bigNumberToU64Spy: jest.SpyInstance; - - beforeAll(() => { - dsMockUtils.initMocks(); - entityMockUtils.initMocks(); - - id = new BigNumber(1); - ticker = 'SOME_TICKER'; - start = new Date('10/14/1987 UTC'); - nextCheckpointDate = new Date(new Date().getTime() + 60 * 60 * 1000 * 24 * 365 * 60); - stringToTickerSpy = jest.spyOn(utilsConversionModule, 'stringToTicker'); - bigNumberToU64Spy = jest.spyOn(utilsConversionModule, 'bigNumberToU64'); - }); - - beforeEach(() => { - context = dsMockUtils.getContextInstance(); - }); - - afterEach(() => { - dsMockUtils.reset(); - entityMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should extend Entity', () => { - expect(CheckpointSchedule.prototype instanceof Entity).toBe(true); - }); - - describe('constructor', () => { - it('should assign ticker and id to instance', () => { - let schedule = new CheckpointSchedule({ id, ticker, pendingPoints: [start] }, context); - - expect(schedule.asset.ticker).toBe(ticker); - expect(schedule.id).toEqual(id); - - schedule = new CheckpointSchedule( - { - id, - ticker, - pendingPoints: [start], - }, - context - ); - - expect(schedule.asset.ticker).toBe(ticker); - expect(schedule.id).toEqual(id); - expect(schedule.expiryDate).toEqual(start); - - schedule = new CheckpointSchedule( - { - id, - ticker, - pendingPoints: [start], - }, - context - ); - - expect(schedule.expiryDate).toEqual(new Date('10/14/1987 UTC')); - }); - }); - - describe('method: isUniqueIdentifiers', () => { - it('should return true if the object conforms to the interface', () => { - expect( - CheckpointSchedule.isUniqueIdentifiers({ id: new BigNumber(1), ticker: 'symbol' }) - ).toBe(true); - expect(CheckpointSchedule.isUniqueIdentifiers({})).toBe(false); - expect(CheckpointSchedule.isUniqueIdentifiers({ id: new BigNumber(1) })).toBe(false); - expect(CheckpointSchedule.isUniqueIdentifiers({ id: 'id' })).toBe(false); - }); - }); - - describe('method: details', () => { - it('should throw an error if Schedule does not exists', async () => { - const checkpointSchedule = new CheckpointSchedule( - { id: new BigNumber(2), ticker, pendingPoints: [start] }, - context - ); - - stringToTickerSpy.mockReturnValue(dsMockUtils.createMockTicker(ticker)); - dsMockUtils.createQueryMock('checkpoint', 'scheduledCheckpoints', { - returnValue: dsMockUtils.createMockOption(), - }); - - let error; - - try { - await checkpointSchedule.details(); - } catch (err) { - error = err; - } - - expect(error.message).toBe('Schedule no longer exists. It was either removed or it expired'); - }); - - it('should return the Schedule details ', async () => { - const rawRemaining = new BigNumber(1); - const checkpointSchedule = new CheckpointSchedule( - { id, ticker, pendingPoints: [start] }, - context - ); - - stringToTickerSpy.mockReturnValue(dsMockUtils.createMockTicker(ticker)); - jest.spyOn(utilsConversionModule, 'u32ToBigNumber').mockClear().mockReturnValue(rawRemaining); - jest.spyOn(utilsConversionModule, 'momentToDate').mockReturnValue(nextCheckpointDate); - - dsMockUtils.createQueryMock('checkpoint', 'scheduledCheckpoints', { - returnValue: dsMockUtils.createMockOption( - dsMockUtils.createMockCheckpointSchedule({ pending: [start] }) - ), - }); - - const result = await checkpointSchedule.details(); - - expect(result.remainingCheckpoints).toEqual(rawRemaining); - expect(result.nextCheckpointDate).toEqual(nextCheckpointDate); - }); - }); - - describe('method: getCheckpoints', () => { - it("should throw an error if the schedule doesn't exist", async () => { - const schedule = new CheckpointSchedule( - { id: new BigNumber(2), ticker, pendingPoints: [start] }, - context - ); - - dsMockUtils.createQueryMock('checkpoint', 'scheduledCheckpoints', { - returnValue: [ - { - pending: dsMockUtils.createMockBTreeSet([ - dsMockUtils.createMockMoment(new BigNumber(start.getTime())), - ]), - }, - ], - }); - - let err; - - try { - await schedule.getCheckpoints(); - } catch (error) { - err = error; - } - - expect(err.message).toBe('Schedule no longer exists. It was either removed or it expired'); - }); - - it('should return all the checkpoints created by the schedule', async () => { - const schedule = new CheckpointSchedule( - { - id: new BigNumber(2), - ticker, - pendingPoints: [start], - }, - context - ); - const firstId = new BigNumber(1); - const secondId = new BigNumber(2); - const rawFirstId = dsMockUtils.createMockU64(firstId); - const rawSecondId = dsMockUtils.createMockU64(secondId); - - dsMockUtils.createQueryMock('checkpoint', 'scheduledCheckpoints', { - returnValue: dsMockUtils.createMockOption( - dsMockUtils.createMockCheckpointSchedule({ pending: [start] }) - ), - }); - - dsMockUtils.createQueryMock('checkpoint', 'schedulePoints', { - returnValue: [rawFirstId, rawSecondId], - }); - - when(bigNumberToU64Spy).calledWith(firstId).mockReturnValue(rawFirstId); - when(bigNumberToU64Spy).calledWith(secondId).mockReturnValue(rawSecondId); - - const result = await schedule.getCheckpoints(); - - expect(result[0].id).toEqual(firstId); - expect(result[1].id).toEqual(secondId); - }); - }); - - describe('method: exists', () => { - it('should return whether the schedule exists', async () => { - let schedule = new CheckpointSchedule({ id, ticker, pendingPoints: [start] }, context); - - dsMockUtils.createQueryMock('checkpoint', 'scheduledCheckpoints', { - returnValue: dsMockUtils.createMockOption( - dsMockUtils.createMockCheckpointSchedule({ - pending: dsMockUtils.createMockBTreeSet([start]), - }) - ), - }); - let result = await schedule.exists(); - - expect(result).toBe(true); - - dsMockUtils.createQueryMock('checkpoint', 'scheduledCheckpoints', { - returnValue: dsMockUtils.createMockOption(), - }); - - schedule = new CheckpointSchedule( - { id: new BigNumber(2), ticker, pendingPoints: [start] }, - context - ); - - result = await schedule.exists(); - - expect(result).toBe(false); - }); - }); - - describe('method: toHuman', () => { - it('should return a human readable version of the entity', () => { - const schedule = new CheckpointSchedule( - { - id: new BigNumber(1), - ticker: 'SOME_TICKER', - pendingPoints: [start], - }, - context - ); - expect(schedule.toHuman()).toEqual({ - id: '1', - ticker: 'SOME_TICKER', - pendingPoints: ['1987-10-14T00:00:00.000Z'], - expiryDate: schedule.expiryDate?.toISOString(), - }); - }); - }); -}); diff --git a/src/api/entities/CheckpointSchedule/index.ts b/src/api/entities/CheckpointSchedule/index.ts deleted file mode 100644 index 7cc7bfecad..0000000000 --- a/src/api/entities/CheckpointSchedule/index.ts +++ /dev/null @@ -1,188 +0,0 @@ -import BigNumber from 'bignumber.js'; - -import { Checkpoint, Context, Entity, FungibleAsset, PolymeshError } from '~/internal'; -import { ErrorCode, ScheduleDetails } from '~/types'; -import { bigNumberToU64, momentToDate, stringToTicker, u64ToBigNumber } from '~/utils/conversion'; -import { toHumanReadable } from '~/utils/internal'; - -export interface UniqueIdentifiers { - id: BigNumber; - ticker: string; -} - -export interface HumanReadable { - id: string; - ticker: string; - pendingPoints: string[]; - expiryDate: string | null; -} - -/** - * @hidden - */ -export interface Params { - pendingPoints: Date[]; -} - -const notExistsMessage = 'Schedule no longer exists. It was either removed or it expired'; - -/** - * Represents a Checkpoint Schedule for an Asset. Schedules can be set up to create Checkpoints at regular intervals - */ -export class CheckpointSchedule extends Entity { - /** - * @hidden - * Check if a value is of type {@link UniqueIdentifiers} - */ - public static override isUniqueIdentifiers(identifier: unknown): identifier is UniqueIdentifiers { - const { id, ticker } = identifier as UniqueIdentifiers; - - return id instanceof BigNumber && typeof ticker === 'string'; - } - - /** - * schedule identifier number - */ - public id: BigNumber; - - /** - * Asset for which Checkpoints are scheduled - */ - public asset: FungibleAsset; - - /** - * dates in the future where checkpoints are schedule to be created - */ - public pendingPoints: Date[]; - - /** - * date at which the last Checkpoint will be created with this Schedule. - */ - public expiryDate: Date; - - /** - * @hidden - */ - public constructor(args: UniqueIdentifiers & Params, context: Context) { - const { pendingPoints, ...identifiers } = args; - - super(identifiers, context); - - const { id, ticker } = identifiers; - - const sortedPoints = [...pendingPoints].sort((a, b) => a.getTime() - b.getTime()); - this.pendingPoints = sortedPoints; - this.expiryDate = sortedPoints[sortedPoints.length - 1]; - this.id = id; - this.asset = new FungibleAsset({ ticker }, context); - } - - /** - * Retrieve information specific to this Schedule - */ - public async details(): Promise { - const { - context: { - polymeshApi: { - query: { checkpoint }, - }, - }, - id, - context, - asset: { ticker }, - } = this; - - const rawId = bigNumberToU64(id, context); - - const scheduleOpt = await checkpoint.scheduledCheckpoints( - stringToTicker(ticker, context), - rawId - ); - - if (scheduleOpt.isNone) { - throw new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: notExistsMessage, - }); - } - - const schedule = scheduleOpt.unwrap(); - const points = [...schedule.pending].map(point => momentToDate(point)); - - return { - remainingCheckpoints: new BigNumber(points.length), - nextCheckpointDate: points[0], - }; - } - - /** - * Retrieve all Checkpoints created by this Schedule - */ - public async getCheckpoints(): Promise { - const { - context: { - polymeshApi: { - query: { checkpoint }, - }, - }, - context, - asset: { ticker }, - id, - } = this; - - const exists = await this.exists(); - - if (!exists) { - throw new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: notExistsMessage, - }); - } - - const result = await checkpoint.schedulePoints( - stringToTicker(ticker, context), - bigNumberToU64(id, context) - ); - - return result.map(rawId => new Checkpoint({ id: u64ToBigNumber(rawId), ticker }, context)); - } - - /** - * Determine whether this Checkpoint Schedule exists on chain - */ - public async exists(): Promise { - const { - context: { - polymeshApi: { - query: { checkpoint }, - }, - }, - context, - asset: { ticker }, - id, - } = this; - - const rawId = bigNumberToU64(id, context); - - const rawSchedule = await checkpoint.scheduledCheckpoints( - stringToTicker(ticker, context), - rawId - ); - - return rawSchedule.isSome; - } - - /** - * Return the Schedule's static data - */ - public toHuman(): HumanReadable { - const { asset, id, pendingPoints } = this; - - return toHumanReadable({ - ticker: asset, - id, - pendingPoints, - expiryDate: pendingPoints[pendingPoints.length - 1], - }); - } -} diff --git a/src/api/entities/CheckpointSchedule/types.ts b/src/api/entities/CheckpointSchedule/types.ts deleted file mode 100644 index f010c7cb9e..0000000000 --- a/src/api/entities/CheckpointSchedule/types.ts +++ /dev/null @@ -1,10 +0,0 @@ -import BigNumber from 'bignumber.js'; - -import { Params, UniqueIdentifiers } from '.'; - -export interface ScheduleDetails { - remainingCheckpoints: BigNumber; - nextCheckpointDate: Date; -} - -export type CheckpointScheduleParams = Omit; diff --git a/src/api/entities/confidential/ConfidentialAccount/helpers.ts b/src/api/entities/ConfidentialAccount/helpers.ts similarity index 100% rename from src/api/entities/confidential/ConfidentialAccount/helpers.ts rename to src/api/entities/ConfidentialAccount/helpers.ts diff --git a/src/api/entities/confidential/ConfidentialAccount/index.ts b/src/api/entities/ConfidentialAccount/index.ts similarity index 96% rename from src/api/entities/confidential/ConfidentialAccount/index.ts rename to src/api/entities/ConfidentialAccount/index.ts index 7f0d2c3774..3552ce8574 100644 --- a/src/api/entities/confidential/ConfidentialAccount/index.ts +++ b/src/api/entities/ConfidentialAccount/index.ts @@ -2,6 +2,10 @@ import { AugmentedQueries } from '@polkadot/api/types'; import { ConfidentialAssetsElgamalCipherText } from '@polkadot/types/lookup'; import type { Option, U8aFixed } from '@polkadot/types-codec'; import { hexStripPrefix } from '@polkadot/util'; +import { Query } from '@polymeshassociation/polymesh-sdk/middleware/types'; +import { ErrorCode, ResultSet } from '@polymeshassociation/polymesh-sdk/types'; +import { identityIdToString } from '@polymeshassociation/polymesh-sdk/utils/conversion'; +import { calculateNextKey, optionize } from '@polymeshassociation/polymesh-sdk/utils/internal'; import BigNumber from 'bignumber.js'; import { @@ -13,28 +17,24 @@ import { PolymeshError, } from '~/internal'; import { - ConfidentialAssetHistoryByConfidentialAccountArgs, confidentialAssetsByHolderQuery, - ConfidentialTransactionsByConfidentialAccountArgs, getConfidentialAssetHistoryByConfidentialAccountQuery, getConfidentialTransactionsByConfidentialAccountQuery, } from '~/middleware/queries'; -import { Query } from '~/middleware/types'; import { ConfidentialAssetBalance, + ConfidentialAssetHistoryByConfidentialAccountArgs, ConfidentialAssetHistoryEntry, - ErrorCode, - ResultSet, + ConfidentialTransactionsByConfidentialAccountArgs, } from '~/types'; import { Ensured } from '~/types/utils'; import { confidentialAccountToMeshPublicKey, - identityIdToString, meshConfidentialAssetToAssetId, middlewareEventDetailsToEventIdentifier, serializeConfidentialAssetId, } from '~/utils/conversion'; -import { asConfidentialAsset, calculateNextKey, optionize } from '~/utils/internal'; +import { asConfidentialAsset } from '~/utils/internal'; import { convertSubQueryAssetIdToUuid } from './helpers'; diff --git a/src/api/entities/confidential/ConfidentialAccount/types.ts b/src/api/entities/ConfidentialAccount/types.ts similarity index 91% rename from src/api/entities/confidential/ConfidentialAccount/types.ts rename to src/api/entities/ConfidentialAccount/types.ts index ff15f07e79..43b849dc0b 100644 --- a/src/api/entities/confidential/ConfidentialAccount/types.ts +++ b/src/api/entities/ConfidentialAccount/types.ts @@ -1,7 +1,8 @@ +import { EventIdentifier } from '@polymeshassociation/polymesh-sdk/types'; import BigNumber from 'bignumber.js'; import { ConfidentialAccount, ConfidentialAsset } from '~/internal'; -import { EventIdentifier, EventIdEnum } from '~/types'; +import { EventIdEnum } from '~/types'; export interface CreateConfidentialAccountParams { /** diff --git a/src/api/entities/confidential/ConfidentialAsset/index.ts b/src/api/entities/ConfidentialAsset/index.ts similarity index 88% rename from src/api/entities/confidential/ConfidentialAsset/index.ts rename to src/api/entities/ConfidentialAsset/index.ts index 6033b3c803..7adfd20045 100644 --- a/src/api/entities/confidential/ConfidentialAsset/index.ts +++ b/src/api/entities/ConfidentialAsset/index.ts @@ -1,5 +1,21 @@ import { PalletConfidentialAssetConfidentialAssetDetails } from '@polkadot/types/lookup'; import { Option } from '@polkadot/types-codec'; +import { Query } from '@polymeshassociation/polymesh-sdk/middleware/types'; +import { + ErrorCode, + EventIdentifier, + ResultSet, + SetVenueFilteringParams, +} from '@polymeshassociation/polymesh-sdk/types'; +import { + boolToBoolean, + bytesToString, + identityIdToString, + middlewareEventDetailsToEventIdentifier, + u64ToBigNumber, + u128ToBigNumber, +} from '@polymeshassociation/polymesh-sdk/utils/conversion'; +import { calculateNextKey, optionize } from '@polymeshassociation/polymesh-sdk/utils/internal'; import BigNumber from 'bignumber.js'; import { @@ -19,40 +35,27 @@ import { confidentialAssetQuery, transactionHistoryByConfidentialAssetQuery, } from '~/middleware/queries'; -import { Query } from '~/middleware/types'; import { BurnConfidentialAssetParams, ConfidentialAssetDetails, ConfidentialAssetTransactionHistory, + ConfidentialNoArgsProcedureMethod, + ConfidentialProcedureMethod, ConfidentialVenueFilteringDetails, - ErrorCode, - EventIdentifier, FreezeConfidentialAccountAssetParams, GroupedAuditors, IssueConfidentialAssetParams, - NoArgsProcedureMethod, - ProcedureMethod, - ResultSet, - SetVenueFilteringParams, } from '~/types'; import { Ensured } from '~/types/utils'; import { - boolToBoolean, - bytesToString, confidentialAccountToMeshPublicKey, - identityIdToString, middlewareAssetHistoryToTransactionHistory, - middlewareEventDetailsToEventIdentifier, serializeConfidentialAssetId, - u64ToBigNumber, - u128ToBigNumber, } from '~/utils/conversion'; import { asConfidentialAccount, assertCaAssetValid, - calculateNextKey, - createProcedureMethod, - optionize, + createConfidentialProcedureMethod, } from '~/utils/internal'; /** @@ -96,7 +99,7 @@ export class ConfidentialAsset extends Entity { this.id = assertCaAssetValid(id); - this.issue = createProcedureMethod( + this.issue = createConfidentialProcedureMethod( { getProcedureAndArgs: args => [ issueConfidentialAssets, @@ -106,19 +109,19 @@ export class ConfidentialAsset extends Entity { context ); - this.burn = createProcedureMethod( + this.burn = createConfidentialProcedureMethod( { getProcedureAndArgs: args => [burnConfidentialAssets, { confidentialAsset: this, ...args }], }, context ); - this.setVenueFiltering = createProcedureMethod( + this.setVenueFiltering = createConfidentialProcedureMethod( { getProcedureAndArgs: args => [setConfidentialVenueFiltering, { assetId: id, ...args }] }, context ); - this.freeze = createProcedureMethod( + this.freeze = createConfidentialProcedureMethod( { getProcedureAndArgs: () => [ toggleFreezeConfidentialAsset, @@ -129,7 +132,7 @@ export class ConfidentialAsset extends Entity { context ); - this.unfreeze = createProcedureMethod( + this.unfreeze = createConfidentialProcedureMethod( { getProcedureAndArgs: () => [ toggleFreezeConfidentialAsset, @@ -140,7 +143,7 @@ export class ConfidentialAsset extends Entity { context ); - this.freezeAccount = createProcedureMethod( + this.freezeAccount = createConfidentialProcedureMethod( { getProcedureAndArgs: args => [ toggleFreezeConfidentialAccountAsset, @@ -150,7 +153,7 @@ export class ConfidentialAsset extends Entity { context ); - this.unfreezeAccount = createProcedureMethod( + this.unfreezeAccount = createConfidentialProcedureMethod( { getProcedureAndArgs: args => [ toggleFreezeConfidentialAccountAsset, @@ -168,7 +171,7 @@ export class ConfidentialAsset extends Entity { * - Only the owner can issue a Confidential Asset * - Confidential Assets can only be issued in accounts owned by the signer */ - public issue: ProcedureMethod; + public issue: ConfidentialProcedureMethod; /** * Burn a certain amount of this Confidential Asset in the given `account` @@ -177,32 +180,32 @@ export class ConfidentialAsset extends Entity { * - Only the owner can burn a Confidential Asset * - Confidential Assets can only be burned in accounts owned by the signer */ - public burn: ProcedureMethod; + public burn: ConfidentialProcedureMethod; /** * Enable/disable confidential venue filtering for this Confidential Asset and/or set allowed/disallowed Confidential Venues */ - public setVenueFiltering: ProcedureMethod; + public setVenueFiltering: ConfidentialProcedureMethod; /** * Freezes all trading for the asset */ - public freeze: NoArgsProcedureMethod; + public freeze: ConfidentialNoArgsProcedureMethod; /** * Allows trading to resume for the asset */ - public unfreeze: NoArgsProcedureMethod; + public unfreeze: ConfidentialNoArgsProcedureMethod; /** * Freezes all trading for the asset for the specified account */ - public freezeAccount: ProcedureMethod; + public freezeAccount: ConfidentialProcedureMethod; /** * Allows trading to resume for the asset for the specified account */ - public unfreezeAccount: ProcedureMethod; + public unfreezeAccount: ConfidentialProcedureMethod; /** * @hidden diff --git a/src/api/entities/confidential/ConfidentialAsset/types.ts b/src/api/entities/ConfidentialAsset/types.ts similarity index 90% rename from src/api/entities/confidential/ConfidentialAsset/types.ts rename to src/api/entities/ConfidentialAsset/types.ts index 0ce9087b53..71fbccf6eb 100644 --- a/src/api/entities/confidential/ConfidentialAsset/types.ts +++ b/src/api/entities/ConfidentialAsset/types.ts @@ -1,8 +1,9 @@ +import { EventIdEnum } from '@polymeshassociation/polymesh-sdk/middleware/types'; +import { Identity } from '@polymeshassociation/polymesh-sdk/types'; import BigNumber from 'bignumber.js'; import { ConfidentialVenue } from '~/internal'; -import { EventIdEnum } from '~/middleware/types'; -import { ConfidentialAccount, Identity } from '~/types'; +import { ConfidentialAccount } from '~/types'; export interface ConfidentialAssetDetails { owner: Identity; diff --git a/src/api/entities/confidential/ConfidentialTransaction/index.ts b/src/api/entities/ConfidentialTransaction/index.ts similarity index 92% rename from src/api/entities/confidential/ConfidentialTransaction/index.ts rename to src/api/entities/ConfidentialTransaction/index.ts index 7d863a9bfa..b1d8d8e6e5 100644 --- a/src/api/entities/confidential/ConfidentialTransaction/index.ts +++ b/src/api/entities/ConfidentialTransaction/index.ts @@ -1,8 +1,23 @@ import { Option } from '@polkadot/types'; import { PalletConfidentialAssetTransactionStatus } from '@polkadot/types/lookup'; +import { Query } from '@polymeshassociation/polymesh-sdk/middleware/types'; +import { + ErrorCode, + EventIdentifier, + SubCallback, + UnsubCallback, +} from '@polymeshassociation/polymesh-sdk/types'; +import { + bigNumberToU32, + bigNumberToU64, + identityIdToString, + u32ToBigNumber, + u64ToBigNumber, +} from '@polymeshassociation/polymesh-sdk/utils/conversion'; +import { optionize } from '@polymeshassociation/polymesh-sdk/utils/internal'; import BigNumber from 'bignumber.js'; -import { convertSubQueryAssetIdToUuid } from '~/api/entities/confidential/ConfidentialAccount/helpers'; +import { convertSubQueryAssetIdToUuid } from '~/api/entities/ConfidentialAccount/helpers'; import { affirmConfidentialTransactions, Context, @@ -16,40 +31,30 @@ import { confidentialTransactionQuery, getConfidentialTransactionProofsQuery, } from '~/middleware/queries'; -import { Query } from '~/middleware/types'; import { AffirmConfidentialTransactionParams, ConfidentialLeg, ConfidentialLegState, ConfidentialLegStateWithId, + ConfidentialNoArgsProcedureMethod, + ConfidentialProcedureMethod, ConfidentialTransactionDetails, ConfidentialTransactionStatus, - ErrorCode, - EventIdentifier, - NoArgsProcedureMethod, - ProcedureMethod, SenderProofs, - SubCallback, - UnsubCallback, } from '~/types'; import { Ensured } from '~/types/utils'; import { bigNumberToConfidentialTransactionId, bigNumberToConfidentialTransactionLegId, - bigNumberToU32, - bigNumberToU64, confidentialLegIdToId, confidentialLegStateToLegState, confidentialTransactionLegIdToBigNumber, - identityIdToString, meshConfidentialLegDetailsToDetails, meshConfidentialTransactionDetailsToDetails, meshConfidentialTransactionStatusToStatus, middlewareEventDetailsToEventIdentifier, - u32ToBigNumber, - u64ToBigNumber, } from '~/utils/conversion'; -import { createProcedureMethod, optionize } from '~/utils/internal'; +import { createConfidentialProcedureMethod } from '~/utils/internal'; export interface UniqueIdentifiers { id: BigNumber; @@ -84,7 +89,7 @@ export class ConfidentialTransaction extends Entity { this.id = id; - this.execute = createProcedureMethod( + this.execute = createConfidentialProcedureMethod( { getProcedureAndArgs: () => [executeConfidentialTransaction, { transaction: this }], optionalArgs: true, @@ -92,7 +97,7 @@ export class ConfidentialTransaction extends Entity { context ); - this.affirmLeg = createProcedureMethod( + this.affirmLeg = createConfidentialProcedureMethod( { getProcedureAndArgs: args => [ affirmConfidentialTransactions, @@ -102,7 +107,7 @@ export class ConfidentialTransaction extends Entity { context ); - this.reject = createProcedureMethod( + this.reject = createConfidentialProcedureMethod( { getProcedureAndArgs: () => [rejectConfidentialTransaction, { transaction: this }], optionalArgs: true, @@ -428,19 +433,22 @@ export class ConfidentialTransaction extends Entity { * * @note - The transaction can only be executed if all the involved parties have already affirmed the transaction */ - public execute: NoArgsProcedureMethod; + public execute: ConfidentialNoArgsProcedureMethod; /** * Affirms a leg of this transaction * * @note - The sender must provide their affirmation before anyone else can. (Sender affirmation is where amounts are specified) */ - public affirmLeg: ProcedureMethod; + public affirmLeg: ConfidentialProcedureMethod< + AffirmConfidentialTransactionParams, + ConfidentialTransaction + >; /** * Rejects this transaction */ - public reject: NoArgsProcedureMethod; + public reject: ConfidentialNoArgsProcedureMethod; /** * Return the settlement Transaction's ID diff --git a/src/api/entities/confidential/ConfidentialTransaction/types.ts b/src/api/entities/ConfidentialTransaction/types.ts similarity index 94% rename from src/api/entities/confidential/ConfidentialTransaction/types.ts rename to src/api/entities/ConfidentialTransaction/types.ts index 2f8490626b..2f5b7f63ba 100644 --- a/src/api/entities/confidential/ConfidentialTransaction/types.ts +++ b/src/api/entities/ConfidentialTransaction/types.ts @@ -1,7 +1,8 @@ +import { Identity } from '@polymeshassociation/polymesh-sdk/types'; import BigNumber from 'bignumber.js'; -import { ConfidentialTransaction } from '~/internal'; -import { ConfidentialAccount, ConfidentialAsset, Identity } from '~/types'; +import { ConfidentialAsset, ConfidentialTransaction } from '~/internal'; +import { ConfidentialAccount } from '~/types'; export interface GroupedTransactions { pending: ConfidentialTransaction[]; diff --git a/src/api/entities/confidential/ConfidentialVenue/index.ts b/src/api/entities/ConfidentialVenue/index.ts similarity index 89% rename from src/api/entities/confidential/ConfidentialVenue/index.ts rename to src/api/entities/ConfidentialVenue/index.ts index 4c196eea48..e0e0134606 100644 --- a/src/api/entities/confidential/ConfidentialVenue/index.ts +++ b/src/api/entities/ConfidentialVenue/index.ts @@ -1,3 +1,9 @@ +import { ErrorCode } from '@polymeshassociation/polymesh-sdk/types'; +import { + bigNumberToU64, + identityIdToString, + u64ToBigNumber, +} from '@polymeshassociation/polymesh-sdk/utils/conversion'; import BigNumber from 'bignumber.js'; import { @@ -11,13 +17,11 @@ import { import { AddConfidentialTransactionParams, AddConfidentialTransactionsParams, + ConfidentialProcedureMethod, ConfidentialTransactionStatus, - ErrorCode, GroupedTransactions, - ProcedureMethod, } from '~/types'; -import { bigNumberToU64, identityIdToString, u64ToBigNumber } from '~/utils/conversion'; -import { createProcedureMethod } from '~/utils/internal'; +import { createConfidentialProcedureMethod } from '~/utils/internal'; export interface UniqueIdentifiers { id: BigNumber; @@ -61,7 +65,7 @@ export class ConfidentialVenue extends Entity { this.id = id; - this.addTransaction = createProcedureMethod( + this.addTransaction = createConfidentialProcedureMethod( { getProcedureAndArgs: args => [ addConfidentialTransaction, @@ -72,7 +76,7 @@ export class ConfidentialVenue extends Entity { context ); - this.addTransactions = createProcedureMethod( + this.addTransactions = createConfidentialProcedureMethod( { getProcedureAndArgs: args => [addConfidentialTransaction, { ...args, venueId: this.id }] }, context ); @@ -188,7 +192,7 @@ export class ConfidentialVenue extends Entity { * @note required role: * - Venue Owner */ - public addTransaction: ProcedureMethod< + public addTransaction: ConfidentialProcedureMethod< AddConfidentialTransactionParams, ConfidentialTransaction[], ConfidentialTransaction @@ -200,7 +204,7 @@ export class ConfidentialVenue extends Entity { * @note required role: * - Venue Owner */ - public addTransactions: ProcedureMethod< + public addTransactions: ConfidentialProcedureMethod< AddConfidentialTransactionsParams, ConfidentialTransaction[] >; diff --git a/src/api/entities/CorporateAction.ts b/src/api/entities/CorporateAction.ts deleted file mode 100644 index 523d1df136..0000000000 --- a/src/api/entities/CorporateAction.ts +++ /dev/null @@ -1,64 +0,0 @@ -import BigNumber from 'bignumber.js'; - -import { Context, CorporateActionBase, modifyCaCheckpoint } from '~/internal'; -import { - CorporateActionKind, - CorporateActionTargets, - ModifyCaCheckpointParams, - ProcedureMethod, - TaxWithholding, -} from '~/types'; -import { HumanReadableType } from '~/types/utils'; -import { createProcedureMethod } from '~/utils/internal'; - -export interface UniqueIdentifiers { - id: BigNumber; - ticker: string; -} - -export interface HumanReadable { - id: string; - ticker: string; - declarationDate: string; - description: string; - targets: HumanReadableType; - defaultTaxWithholding: string; - taxWithholdings: HumanReadableType; -} - -export interface Params { - kind: CorporateActionKind; - declarationDate: Date; - description: string; - targets: CorporateActionTargets; - defaultTaxWithholding: BigNumber; - taxWithholdings: TaxWithholding[]; -} - -/** - * Represents an action initiated by the issuer of an Asset which may affect the positions of - * the Asset Holders - */ -export class CorporateAction extends CorporateActionBase { - /** - * @hidden - */ - public constructor(args: UniqueIdentifiers & Params, context: Context) { - super(args, context); - - this.modifyCheckpoint = createProcedureMethod( - { - getProcedureAndArgs: modifyCaCheckpointArgs => [ - modifyCaCheckpoint, - { corporateAction: this, ...modifyCaCheckpointArgs }, - ], - }, - context - ); - } - - /** - * Modify the Corporate Action's Checkpoint - */ - public modifyCheckpoint: ProcedureMethod; -} diff --git a/src/api/entities/CorporateActionBase/__tests__/index.ts b/src/api/entities/CorporateActionBase/__tests__/index.ts deleted file mode 100644 index 1d442cbb0e..0000000000 --- a/src/api/entities/CorporateActionBase/__tests__/index.ts +++ /dev/null @@ -1,315 +0,0 @@ -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { - Checkpoint, - CheckpointSchedule, - Context, - CorporateActionBase, - Entity, - PolymeshTransaction, -} from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { createMockBTreeSet, createMockU64 } from '~/testUtils/mocks/dataSources'; -import { - CorporateActionKind, - CorporateActionTargets, - TargetTreatment, - TaxWithholding, -} from '~/types'; - -jest.mock( - '~/api/entities/Checkpoint', - require('~/testUtils/mocks/entities').mockCheckpointModule('~/api/entities/Checkpoint') -); -jest.mock( - '~/api/entities/CheckpointSchedule', - require('~/testUtils/mocks/entities').mockCheckpointScheduleModule( - '~/api/entities/CheckpointSchedule' - ) -); -jest.mock( - '~/api/entities/Asset/Fungible', - require('~/testUtils/mocks/entities').mockFungibleAssetModule('~/api/entities/Asset/Fungible') -); -jest.mock( - '~/base/Procedure', - require('~/testUtils/mocks/procedure').mockProcedureModule('~/base/Procedure') -); - -describe('CorporateAction class', () => { - let context: Context; - let id: BigNumber; - let ticker: string; - let declarationDate: Date; - let kind: CorporateActionKind; - let description: string; - let targets: CorporateActionTargets; - let defaultTaxWithholding: BigNumber; - let taxWithholdings: TaxWithholding[]; - - let corporateAction: CorporateActionBase; - - let corporateActionsQueryMock: jest.Mock; - - // eslint-disable-next-line require-jsdoc - class NonAbstract extends CorporateActionBase { - // eslint-disable-next-line @typescript-eslint/no-explicit-any - modifyCheckpoint = {} as any; - } - - beforeAll(() => { - dsMockUtils.initMocks(); - entityMockUtils.initMocks(); - procedureMockUtils.initMocks(); - }); - - beforeEach(() => { - context = dsMockUtils.getContextInstance(); - - id = new BigNumber(1); - ticker = 'SOME_TICKER'; - declarationDate = new Date('10/14/1987 UTC'); - kind = CorporateActionKind.UnpredictableBenefit; - description = 'someDescription'; - targets = { - identities: [], - treatment: TargetTreatment.Exclude, - }; - defaultTaxWithholding = new BigNumber(10); - taxWithholdings = []; - - corporateActionsQueryMock = dsMockUtils.createQueryMock('corporateAction', 'corporateActions', { - returnValue: dsMockUtils.createMockOption( - dsMockUtils.createMockCorporateAction({ - kind, - /* eslint-disable @typescript-eslint/naming-convention */ - decl_date: new BigNumber(declarationDate.getTime()), - record_date: dsMockUtils.createMockRecordDate({ - date: new BigNumber(new Date('10/14/2019').getTime()), - checkpoint: { - Scheduled: [ - dsMockUtils.createMockU64(new BigNumber(1)), - dsMockUtils.createMockU64(new BigNumber(1)), - ], - }, - }), - targets: { - identities: [], - treatment: TargetTreatment.Exclude, - }, - default_withholding_tax: new BigNumber(100000), - withholding_tax: [], - /* eslint-enable @typescript-eslint/naming-convention */ - }) - ), - }); - - corporateAction = new NonAbstract( - { - id, - ticker, - kind, - declarationDate, - description, - targets, - defaultTaxWithholding, - taxWithholdings, - }, - context - ); - }); - - afterEach(() => { - dsMockUtils.reset(); - entityMockUtils.reset(); - procedureMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - procedureMockUtils.cleanup(); - }); - - it('should extend Entity', () => { - expect(CorporateActionBase.prototype instanceof Entity).toBe(true); - }); - - describe('constructor', () => { - it('should assign parameters to instance', () => { - expect(corporateAction.id).toEqual(id); - expect(corporateAction.asset.ticker).toBe(ticker); - expect(corporateAction.declarationDate).toEqual(declarationDate); - expect(corporateAction.description).toEqual(description); - expect(corporateAction.targets).toEqual(targets); - expect(corporateAction.defaultTaxWithholding).toEqual(defaultTaxWithholding); - expect(corporateAction.taxWithholdings).toEqual(taxWithholdings); - }); - }); - - describe('method: isUniqueIdentifiers', () => { - it('should return true if the object conforms to the interface', () => { - expect( - CorporateActionBase.isUniqueIdentifiers({ ticker: 'SYMBOL', id: new BigNumber(1) }) - ).toBe(true); - expect(CorporateActionBase.isUniqueIdentifiers({})).toBe(false); - expect(CorporateActionBase.isUniqueIdentifiers({ ticker: 'SYMBOL' })).toBe(false); - expect(CorporateActionBase.isUniqueIdentifiers({ id: 1 })).toBe(false); - }); - }); - - describe('method: linkDocuments', () => { - it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { - const args = { - documents: [ - { - name: 'someName', - uri: 'someUri', - contentHash: 'someHash', - }, - ], - }; - - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args: { id, ticker, ...args }, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const tx = await corporateAction.linkDocuments(args); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: exists', () => { - it('should return whether the CA exists', async () => { - let result = await corporateAction.exists(); - - expect(result).toBe(true); - - corporateActionsQueryMock.mockResolvedValue(dsMockUtils.createMockOption()); - - result = await corporateAction.exists(); - - expect(result).toBe(false); - }); - }); - - describe('method: checkpoint', () => { - let schedulePointsQueryMock: jest.Mock; - - beforeEach(() => { - dsMockUtils.createQueryMock('checkpoint', 'scheduledCheckpoints', { - returnValue: dsMockUtils.createMockOption(), - }); - - schedulePointsQueryMock = dsMockUtils.createQueryMock('checkpoint', 'schedulePoints', { - returnValue: [ - dsMockUtils.createMockU64(new BigNumber(1)), - dsMockUtils.createMockU64(new BigNumber(2)), - ], - }); - }); - - it('should throw an error if the Corporate Action does not exist', () => { - corporateActionsQueryMock.mockResolvedValue(dsMockUtils.createMockOption()); - - return expect(corporateAction.checkpoint()).rejects.toThrow( - 'The Corporate Action no longer exists' - ); - }); - - it('should return the Checkpoint Schedule associated to the Corporate Action', async () => { - dsMockUtils.createQueryMock('checkpoint', 'scheduledCheckpoints', { - returnValue: dsMockUtils.createMockOption( - dsMockUtils.createMockCheckpointSchedule({ - pending: createMockBTreeSet([createMockU64(new BigNumber(1))]), - }) - ), - }); - const result = (await corporateAction.checkpoint()) as CheckpointSchedule; - - expect(result.id).toEqual(new BigNumber(1)); - }); - - it('should return null if the CA does not have a record date', async () => { - corporateActionsQueryMock.mockResolvedValue( - dsMockUtils.createMockOption( - dsMockUtils.createMockCorporateAction({ - kind, - /* eslint-disable @typescript-eslint/naming-convention */ - decl_date: new BigNumber(declarationDate.getTime()), - record_date: dsMockUtils.createMockOption(), - targets: { - identities: [], - treatment: TargetTreatment.Exclude, - }, - default_withholding_tax: new BigNumber(100000), - withholding_tax: [], - /* eslint-enable @typescript-eslint/naming-convention */ - }) - ) - ); - const result = await corporateAction.checkpoint(); - - expect(result).toBeNull(); - }); - - it('should return a Checkpoint if the CA has a record date', async () => { - schedulePointsQueryMock.mockResolvedValue([ - dsMockUtils.createMockU64(new BigNumber(new Date().getTime())), - [dsMockUtils.createMockU64(new BigNumber(1))], - ]); - let result = (await corporateAction.checkpoint()) as Checkpoint; - - expect(result.id).toEqual(new BigNumber(1)); - expect(result instanceof Checkpoint); - - corporateActionsQueryMock.mockResolvedValue( - dsMockUtils.createMockOption( - dsMockUtils.createMockCorporateAction({ - kind, - /* eslint-disable @typescript-eslint/naming-convention */ - decl_date: new BigNumber(declarationDate.getTime()), - record_date: dsMockUtils.createMockOption( - dsMockUtils.createMockRecordDate({ - date: createMockU64(new BigNumber(new Date('10/14/1987').getTime())), - checkpoint: { Existing: dsMockUtils.createMockU64(new BigNumber(1)) }, - }) - ), - targets: { - identities: [], - treatment: TargetTreatment.Exclude, - }, - default_withholding_tax: new BigNumber(100000), - withholding_tax: [], - /* eslint-enable @typescript-eslint/naming-convention */ - }) - ) - ); - - result = (await corporateAction.checkpoint()) as Checkpoint; - - expect(result.id).toEqual(new BigNumber(1)); - expect(result).toBeInstanceOf(Checkpoint); - }); - }); - - describe('method: toHuman', () => { - it('should return a human readable version of the entity', () => { - expect(corporateAction.toHuman()).toEqual({ - id: '1', - ticker: 'SOME_TICKER', - declarationDate: '1987-10-14T00:00:00.000Z', - defaultTaxWithholding: '10', - description: 'someDescription', - targets: { - identities: [], - treatment: TargetTreatment.Exclude, - }, - taxWithholdings: [], - }); - }); - }); -}); diff --git a/src/api/entities/CorporateActionBase/index.ts b/src/api/entities/CorporateActionBase/index.ts deleted file mode 100644 index 9e22bacd1e..0000000000 --- a/src/api/entities/CorporateActionBase/index.ts +++ /dev/null @@ -1,275 +0,0 @@ -import { Option } from '@polkadot/types'; -import { PalletCorporateActionsCorporateAction } from '@polkadot/types/lookup'; -import BigNumber from 'bignumber.js'; - -import { - Checkpoint, - CheckpointSchedule, - Context, - Entity, - FungibleAsset, - linkCaDocs, - PolymeshError, -} from '~/internal'; -import { - ErrorCode, - InputCaCheckpoint, - LinkCaDocsParams, - ModifyCaCheckpointParams, - ProcedureMethod, -} from '~/types'; -import { HumanReadableType, Modify } from '~/types/utils'; -import { bigNumberToU32, momentToDate, stringToTicker, u64ToBigNumber } from '~/utils/conversion'; -import { createProcedureMethod, toHumanReadable } from '~/utils/internal'; - -import { CorporateActionKind, CorporateActionTargets, TaxWithholding } from './types'; - -export interface UniqueIdentifiers { - id: BigNumber; - ticker: string; -} - -export interface HumanReadable { - id: string; - ticker: string; - declarationDate: string; - description: string; - targets: HumanReadableType; - defaultTaxWithholding: string; - taxWithholdings: HumanReadableType; -} - -export interface Params { - kind: CorporateActionKind; - declarationDate: Date; - description: string; - targets: CorporateActionTargets; - defaultTaxWithholding: BigNumber; - taxWithholdings: TaxWithholding[]; -} - -/** - * Represents an action initiated by the issuer of an Asset which may affect the positions of - * the Asset Holders - */ -export abstract class CorporateActionBase extends Entity { - /** - * @hidden - * Check if a value is of type {@link UniqueIdentifiers} - */ - public static override isUniqueIdentifiers(identifier: unknown): identifier is UniqueIdentifiers { - const { id, ticker } = identifier as UniqueIdentifiers; - - return id instanceof BigNumber && typeof ticker === 'string'; - } - - /** - * internal Corporate Action ID - */ - public id: BigNumber; - - /** - * Asset affected by this Corporate Action - */ - public asset: FungibleAsset; - - /** - * date at which the Corporate Action was created - */ - public declarationDate: Date; - - /** - * brief text description of the Corporate Action - */ - public description: string; - - /** - * Asset Holder Identities related to this Corporate action. If the treatment is `Exclude`, the Identities - * in the array will not be targeted by the Action, Identities not in the array will be targeted, and vice versa - */ - public targets: CorporateActionTargets; - - /** - * default percentage (0-100) of tax withholding for this Corporate Action - */ - public defaultTaxWithholding: BigNumber; - - /** - * percentage (0-100) of tax withholding per Identity. Any Identity not present - * in this array uses the default tax withholding percentage - */ - public taxWithholdings: TaxWithholding[]; - - /** - * type of corporate action being represented - */ - protected kind: CorporateActionKind; - - /** - * @hidden - */ - public constructor(args: UniqueIdentifiers & Params, context: Context) { - const { - kind, - declarationDate, - targets, - description, - defaultTaxWithholding, - taxWithholdings, - ...identifiers - } = args; - - super(identifiers, context); - - const { id, ticker } = identifiers; - - this.id = id; - this.asset = new FungibleAsset({ ticker }, context); - this.kind = kind; - this.declarationDate = declarationDate; - this.description = description; - this.targets = targets; - this.defaultTaxWithholding = defaultTaxWithholding; - this.taxWithholdings = taxWithholdings; - - this.linkDocuments = createProcedureMethod( - { getProcedureAndArgs: procedureArgs => [linkCaDocs, { id, ticker, ...procedureArgs }] }, - context - ); - } - - /** - * Link a list of documents to this corporate action - * - * @note any previous links are removed in favor of the new list - */ - public linkDocuments: ProcedureMethod; - - /** - * Modify the Corporate Action's Checkpoint - */ - public abstract modifyCheckpoint: ProcedureMethod< - Modify< - ModifyCaCheckpointParams, - { - checkpoint: InputCaCheckpoint; - } - >, - void - >; - - /** - * Determine whether this Corporate Action exists on chain - */ - public async exists(): Promise { - const corporateAction = await this.fetchCorporateAction(); - - return corporateAction.isSome; - } - - /** - * Retrieve the Checkpoint associated with this Corporate Action. If the Checkpoint is scheduled and has - * not been created yet, the corresponding CheckpointSchedule is returned instead. A null value means - * the Corporate Action was created without an associated Checkpoint - */ - public async checkpoint(): Promise { - const { - context: { - polymeshApi: { query }, - }, - context, - asset: { ticker }, - } = this; - - const rawTicker = stringToTicker(ticker, context); - - const corporateAction = await this.fetchCorporateAction(); - if (corporateAction.isNone) { - throw new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: 'The Corporate Action no longer exists', - }); - } - - const { recordDate } = corporateAction.unwrap(); - - if (recordDate.isNone) { - return null; - } - - const { checkpoint } = recordDate.unwrap(); - - if (checkpoint.isExisting) { - return new Checkpoint({ ticker, id: u64ToBigNumber(checkpoint.asExisting) }, context); - } - - const [scheduleId, amount] = checkpoint.asScheduled; - - const [schedule, rawCheckpointIds] = await Promise.all([ - query.checkpoint.scheduledCheckpoints(rawTicker, scheduleId), - query.checkpoint.schedulePoints(rawTicker, scheduleId), - ]); - - const createdCheckpointIndex = u64ToBigNumber(amount).toNumber(); - if (schedule.isSome) { - const id = u64ToBigNumber(scheduleId); - const points = [...schedule.unwrap().pending].map(rawPoint => momentToDate(rawPoint)); - return new CheckpointSchedule( - { - ticker, - id, - pendingPoints: points, - }, - context - ); - } - - return new Checkpoint( - { ticker, id: u64ToBigNumber(rawCheckpointIds[createdCheckpointIndex]) }, - context - ); - } - - /** - * @hidden - */ - private fetchCorporateAction(): Promise> { - const { - context: { - polymeshApi: { query }, - }, - context, - id, - asset: { ticker }, - } = this; - - const rawTicker = stringToTicker(ticker, context); - - return query.corporateAction.corporateActions(rawTicker, bigNumberToU32(id, context)); - } - - /** - * Return the Corporate Action's static data - */ - public toHuman(): HumanReadable { - const { - asset, - id, - declarationDate, - description, - targets, - defaultTaxWithholding, - taxWithholdings, - } = this; - - return toHumanReadable({ - ticker: asset, - id, - declarationDate, - defaultTaxWithholding, - taxWithholdings, - targets, - description, - }); - } -} diff --git a/src/api/entities/CorporateActionBase/types.ts b/src/api/entities/CorporateActionBase/types.ts deleted file mode 100644 index b41a0d5047..0000000000 --- a/src/api/entities/CorporateActionBase/types.ts +++ /dev/null @@ -1,43 +0,0 @@ -import BigNumber from 'bignumber.js'; - -import { Identity } from '~/internal'; -import { Modify } from '~/types/utils'; - -export enum TargetTreatment { - Include = 'Include', - Exclude = 'Exclude', -} - -export interface CorporateActionTargets { - identities: Identity[]; - treatment: TargetTreatment; -} - -export interface TaxWithholding { - identity: Identity; - percentage: BigNumber; -} - -export type InputTargets = Modify< - CorporateActionTargets, - { - identities: (string | Identity)[]; - } ->; - -export type InputTaxWithholding = Modify< - TaxWithholding, - { - identity: string | Identity; - } ->; - -export enum CorporateActionKind { - PredictableBenefit = 'PredictableBenefit', - UnpredictableBenefit = 'UnpredictableBenefit', - IssuerNotice = 'IssuerNotice', - Reorganization = 'Reorganization', - Other = 'Other', -} - -export { Params as CorporateActionParams } from '.'; diff --git a/src/api/entities/CustomPermissionGroup.ts b/src/api/entities/CustomPermissionGroup.ts deleted file mode 100644 index 1885c9151e..0000000000 --- a/src/api/entities/CustomPermissionGroup.ts +++ /dev/null @@ -1,120 +0,0 @@ -import BigNumber from 'bignumber.js'; - -import { Context, PermissionGroup, setGroupPermissions } from '~/internal'; -import { GroupPermissions, ProcedureMethod, SetGroupPermissionsParams } from '~/types'; -import { - bigNumberToU32, - extrinsicPermissionsToTransactionPermissions, - stringToTicker, - transactionPermissionsToTxGroups, - u32ToBigNumber, -} from '~/utils/conversion'; -import { createProcedureMethod, toHumanReadable } from '~/utils/internal'; - -export interface HumanReadable { - id: string; - ticker: string; -} - -export interface UniqueIdentifiers { - id: BigNumber; - ticker: string; -} - -/** - * Represents a group of custom permissions for an Asset - */ -export class CustomPermissionGroup extends PermissionGroup { - /** - * @hidden - * Check if a value is of type {@link UniqueIdentifiers} - */ - public static override isUniqueIdentifiers(identifier: unknown): identifier is UniqueIdentifiers { - const { id, ticker } = identifier as UniqueIdentifiers; - - return id instanceof BigNumber && typeof ticker === 'string'; - } - - public id: BigNumber; - - /** - * @hidden - */ - public constructor(identifiers: UniqueIdentifiers, context: Context) { - super(identifiers, context); - - const { id } = identifiers; - - this.id = id; - - this.setPermissions = createProcedureMethod( - { getProcedureAndArgs: args => [setGroupPermissions, { group: this, ...args }] }, - context - ); - } - - /** - * Modify the group's permissions - */ - public setPermissions: ProcedureMethod; - - /** - * Retrieve the list of permissions and transaction groups associated with this Permission Group - */ - public async getPermissions(): Promise { - const { - context: { - polymeshApi: { - query: { externalAgents }, - }, - }, - context, - asset: { ticker }, - id, - } = this; - - const rawTicker = stringToTicker(ticker, context); - const rawAgId = bigNumberToU32(id, context); - - const rawGroupPermissions = await externalAgents.groupPermissions(rawTicker, rawAgId); - - const transactions = extrinsicPermissionsToTransactionPermissions(rawGroupPermissions.unwrap()); - - const transactionGroups = transactionPermissionsToTxGroups(transactions); - - return { - transactions, - transactionGroups, - }; - } - - /** - * Determine whether this Custom Permission Group exists on chain - */ - public async exists(): Promise { - const { - asset: { ticker }, - id, - context, - } = this; - - const currentId = await context.polymeshApi.query.externalAgents.agIdSequence( - stringToTicker(ticker, context) - ); - - // 1 <= id <= currentId - return u32ToBigNumber(currentId).gte(id) && id.gte(1); - } - - /** - * Return the Group's static data - */ - public toHuman(): HumanReadable { - const { id, asset } = this; - - return toHumanReadable({ - id, - ticker: asset, - }); - } -} diff --git a/src/api/entities/DefaultPortfolio.ts b/src/api/entities/DefaultPortfolio.ts deleted file mode 100644 index 74b2059077..0000000000 --- a/src/api/entities/DefaultPortfolio.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { Context, Portfolio } from '~/internal'; - -export interface UniqueIdentifiers { - did: string; -} - -/** - * Represents the default Portfolio for an Identity - */ -export class DefaultPortfolio extends Portfolio { - /** - * @hidden - */ - constructor(identifiers: UniqueIdentifiers, context: Context) { - // NOTE @monitz87: this is necessary to remove `id` from the DefaultPortfolio constructor signature - super({ ...identifiers, id: undefined }, context); - } - - /** - * Determine whether this Portfolio exists on chain - */ - public async exists(): Promise { - return true; - } -} diff --git a/src/api/entities/DefaultTrustedClaimIssuer.ts b/src/api/entities/DefaultTrustedClaimIssuer.ts deleted file mode 100644 index a2af40d604..0000000000 --- a/src/api/entities/DefaultTrustedClaimIssuer.ts +++ /dev/null @@ -1,109 +0,0 @@ -import { Context, FungibleAsset, Identity, PolymeshError } from '~/internal'; -import { trustedClaimIssuerQuery } from '~/middleware/queries'; -import { Query } from '~/middleware/types'; -import { ClaimType, ErrorCode, EventIdentifier } from '~/types'; -import { Ensured } from '~/types/utils'; -import { - middlewareEventDetailsToEventIdentifier, - stringToTicker, - trustedIssuerToTrustedClaimIssuer, -} from '~/utils/conversion'; -import { optionize } from '~/utils/internal'; - -export interface UniqueIdentifiers { - did: string; - ticker: string; -} - -/** - * Represents a default trusted claim issuer for a specific Asset in the Polymesh blockchain - */ -export class DefaultTrustedClaimIssuer extends Identity { - /** - * @hidden - * Check if a value is of type {@link UniqueIdentifiers} - */ - public static override isUniqueIdentifiers(identifier: unknown): identifier is UniqueIdentifiers { - const { did, ticker } = identifier as UniqueIdentifiers; - - return typeof did === 'string' && typeof ticker === 'string'; - } - - /** - * Asset for which this Identity is a Default Trusted Claim Issuer - */ - public asset: FungibleAsset; - - /** - * @hidden - */ - public constructor(args: UniqueIdentifiers, context: Context) { - const { ticker, ...identifiers } = args; - - super(identifiers, context); - - this.asset = new FungibleAsset({ ticker }, context); - } - - /** - * Retrieve the identifier data (block number, date and event index) of the event that was emitted when the trusted claim issuer was added - * - * @note uses the middlewareV2 - * @note there is a possibility that the data is not ready by the time it is requested. In that case, `null` is returned - */ - public async addedAt(): Promise { - const { - asset: { ticker: assetId }, - did: issuer, - context, - } = this; - - const { - data: { - trustedClaimIssuers: { - nodes: [node], - }, - }, - } = await context.queryMiddleware>( - trustedClaimIssuerQuery({ - assetId, - issuer, - }) - ); - - return optionize(middlewareEventDetailsToEventIdentifier)(node?.createdBlock, node?.eventIdx); - } - - /** - * Retrieve claim types for which this Claim Issuer is trusted. A null value means that the issuer is trusted for all claim types - */ - public async trustedFor(): Promise { - const { - context: { - polymeshApi: { - query: { complianceManager }, - }, - }, - context, - asset: { ticker }, - did, - } = this; - - const rawTicker = stringToTicker(ticker, context); - - const claimIssuers = await complianceManager.trustedClaimIssuer(rawTicker); - - const claimIssuer = claimIssuers - .map(issuer => trustedIssuerToTrustedClaimIssuer(issuer, context)) - .find(({ identity }) => this.isEqual(identity)); - - if (!claimIssuer) { - throw new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: `The Identity with DID "${did}" is no longer a trusted issuer for "${ticker}"`, - }); - } - - return claimIssuer.trustedFor; - } -} diff --git a/src/api/entities/DividendDistribution/__tests__/index.ts b/src/api/entities/DividendDistribution/__tests__/index.ts deleted file mode 100644 index 0c1f2ea36f..0000000000 --- a/src/api/entities/DividendDistribution/__tests__/index.ts +++ /dev/null @@ -1,666 +0,0 @@ -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { - Checkpoint, - Context, - CorporateActionBase, - DefaultPortfolio, - DividendDistribution, - PolymeshTransaction, -} from '~/internal'; -import { distributionPaymentsQuery, distributionQuery } from '~/middleware/queries'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { - CorporateActionKind, - CorporateActionTargets, - TargetTreatment, - TaxWithholding, -} from '~/types'; -import { MAX_DECIMALS } from '~/utils/constants'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/Identity', - require('~/testUtils/mocks/entities').mockIdentityModule('~/api/entities/Identity') -); -jest.mock( - '~/base/Procedure', - require('~/testUtils/mocks/procedure').mockProcedureModule('~/base/Procedure') -); -jest.mock( - '~/api/entities/Asset/Fungible', - require('~/testUtils/mocks/entities').mockFungibleAssetModule('~/api/entities/Asset/Fungible') -); - -describe('DividendDistribution class', () => { - let context: Context; - - let id: BigNumber; - let ticker: string; - let declarationDate: Date; - let description: string; - let targets: CorporateActionTargets; - let defaultTaxWithholding: BigNumber; - let taxWithholdings: TaxWithholding[]; - let origin: DefaultPortfolio; - let currency: string; - let perShare: BigNumber; - let maxAmount: BigNumber; - let expiryDate: Date | null; - let paymentDate: Date; - let dividendDistribution: DividendDistribution; - - beforeAll(() => { - dsMockUtils.initMocks(); - entityMockUtils.initMocks(); - procedureMockUtils.initMocks(); - }); - - beforeEach(() => { - context = dsMockUtils.getContextInstance(); - - id = new BigNumber(1); - ticker = 'SOME_TICKER'; - declarationDate = new Date('10/14/1987 UTC'); - description = 'something'; - const targetIdentity = entityMockUtils.getIdentityInstance({ - did: 'targetDid', - toHuman: 'targetDid', - }); - targets = { - identities: [entityMockUtils.getIdentityInstance(), targetIdentity], - treatment: TargetTreatment.Include, - }; - defaultTaxWithholding = new BigNumber(0.123456); - taxWithholdings = [ - { - identity: targetIdentity, - percentage: new BigNumber(5), - }, - ]; - origin = entityMockUtils.getDefaultPortfolioInstance(); - currency = 'USD'; - perShare = new BigNumber(0.234567); - maxAmount = new BigNumber(10000); - expiryDate = null; - paymentDate = new Date(new Date().getTime() + 60 * 60 * 24 * 365); - dividendDistribution = new DividendDistribution( - { - id, - ticker, - declarationDate, - description, - targets, - defaultTaxWithholding, - taxWithholdings, - origin, - currency, - perShare, - maxAmount, - expiryDate, - paymentDate, - kind: CorporateActionKind.UnpredictableBenefit, - }, - context - ); - - dsMockUtils.createQueryMock('capitalDistribution', 'distributions', { - returnValue: dsMockUtils.createMockOption( - dsMockUtils.createMockDistribution({ - from: { - kind: 'Default', - did: 'someDid', - }, - currency: 'USD', - perShare: new BigNumber(20000000), - amount: new BigNumber(50000000000), - remaining: new BigNumber(40000000000), - paymentAt: new BigNumber(new Date(new Date().getTime() + 60 * 60 * 1000).getTime()), - expiresAt: dsMockUtils.createMockOption(), - reclaimed: false, - }) - ), - }); - }); - - afterEach(() => { - dsMockUtils.reset(); - entityMockUtils.reset(); - procedureMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - procedureMockUtils.cleanup(); - }); - - it('should extend CorporateActionBase', () => { - expect(DividendDistribution.prototype instanceof CorporateActionBase).toBe(true); - }); - - describe('constructor', () => { - it('should assign parameters to instance', () => { - expect(dividendDistribution.id).toEqual(id); - expect(dividendDistribution.asset.ticker).toBe(ticker); - expect(dividendDistribution.declarationDate).toEqual(declarationDate); - expect(dividendDistribution.description).toEqual(description); - expect(dividendDistribution.targets).toEqual(targets); - expect(dividendDistribution.defaultTaxWithholding).toEqual(defaultTaxWithholding); - expect(dividendDistribution.taxWithholdings).toEqual(taxWithholdings); - }); - }); - - describe('method: checkpoint', () => { - it('should just pass the call down the line', async () => { - const fakeResult = 'checkpoint' as unknown as Checkpoint; - jest.spyOn(CorporateActionBase.prototype, 'checkpoint').mockResolvedValue(fakeResult); - - const result = await dividendDistribution.checkpoint(); - - expect(result).toEqual(fakeResult); - }); - - it('should throw an error if the Dividend Distribution does not exist', () => { - dsMockUtils.createQueryMock('capitalDistribution', 'distributions', { - returnValue: dsMockUtils.createMockOption(), - }); - - return expect(dividendDistribution.checkpoint()).rejects.toThrow( - 'The Dividend Distribution no longer exists' - ); - }); - }); - - describe('method: exists', () => { - it('should return whether the Distribution exists', async () => { - let result = await dividendDistribution.exists(); - - expect(result).toBe(true); - - dsMockUtils.createQueryMock('capitalDistribution', 'distributions', { - returnValue: dsMockUtils.createMockOption(), - }); - - result = await dividendDistribution.exists(); - - expect(result).toBe(false); - }); - }); - - describe('method: claim', () => { - it('should prepare the procedure and return the resulting transaction', async () => { - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith( - { args: { distribution: dividendDistribution }, transformer: undefined }, - context, - {} - ) - .mockResolvedValue(expectedTransaction); - - const tx = await dividendDistribution.claim(); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: pay', () => { - it('should prepare the procedure and return the resulting transaction', async () => { - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - const identityTargets = ['identityDid']; - - when(procedureMockUtils.getPrepareMock()) - .calledWith( - { - args: { targets: identityTargets, distribution: dividendDistribution }, - transformer: undefined, - }, - context, - {} - ) - .mockResolvedValue(expectedTransaction); - - const tx = await dividendDistribution.pay({ targets: identityTargets }); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: details', () => { - it('should return the distribution details', async () => { - const result = await dividendDistribution.details(); - - expect(result).toEqual({ - remainingFunds: new BigNumber(40000), - fundsReclaimed: false, - }); - }); - - it('should throw an error if the Dividend Distribution does not exist', async () => { - dsMockUtils.createQueryMock('capitalDistribution', 'distributions', { - returnValue: dsMockUtils.createMockOption(), - }); - - let err; - try { - await dividendDistribution.details(); - } catch (error) { - err = error; - } - - expect(err.message).toBe('The Dividend Distribution no longer exists'); - }); - }); - - describe('method: modifyCheckpoint', () => { - it('should prepare the procedure and return the resulting transaction', async () => { - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - const args = { - checkpoint: new Date(), - }; - - when(procedureMockUtils.getPrepareMock()) - .calledWith( - { args: { corporateAction: dividendDistribution, ...args }, transformer: undefined }, - context, - {} - ) - .mockResolvedValue(expectedTransaction); - - const tx = await dividendDistribution.modifyCheckpoint(args); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: getWithheldTax', () => { - it('should return the amount of the withheld tax', async () => { - const fakeTax = new BigNumber(1000000); - - dsMockUtils.createApolloQueryMock( - distributionQuery({ - id: `${ticker}/${id.toString()}`, - }), - { - distribution: { - taxes: fakeTax.toNumber(), - }, - } - ); - - const result = await dividendDistribution.getWithheldTax(); - - expect(result).toEqual(new BigNumber(1)); - }); - - it('should throw an error if the Dividend Distribution does not exist', () => { - dsMockUtils.createQueryMock('capitalDistribution', 'distributions', { - returnValue: dsMockUtils.createMockOption(), - }); - - dsMockUtils.createApolloQueryMock( - distributionQuery({ - id: `${ticker}/${id.toString()}`, - }), - { - distribution: { - taxes: 0, - }, - } - ); - - return expect(dividendDistribution.getWithheldTax()).rejects.toThrow( - 'The Dividend Distribution no longer exists' - ); - }); - }); - - describe('method: getParticipants', () => { - it('should return the distribution participants', async () => { - const excluded = entityMockUtils.getIdentityInstance({ did: 'excluded', isEqual: true }); - - const balances = [ - { - identity: entityMockUtils.getIdentityInstance({ did: 'someDid', isEqual: false }), - balance: new BigNumber(10), - }, - { - identity: entityMockUtils.getIdentityInstance({ did: 'otherDid', isEqual: false }), - balance: new BigNumber(0), - }, - { - identity: excluded, - balance: new BigNumber(20), - }, - ]; - - const allBalancesMock = jest.fn(); - - allBalancesMock - .mockResolvedValueOnce({ data: balances, next: 'notNull' }) - .mockResolvedValueOnce({ data: [], next: null }); - - entityMockUtils.configureMocks({ - checkpointOptions: { - allBalances: allBalancesMock, - }, - }); - - dividendDistribution.targets = { - identities: [excluded], - treatment: TargetTreatment.Exclude, - }; - jest - .spyOn(dividendDistribution, 'checkpoint') - .mockResolvedValue(entityMockUtils.getCheckpointInstance()); - - dsMockUtils.createQueryMock('capitalDistribution', 'holderPaid', { - multi: [dsMockUtils.createMockBool(true)], - }); - - let result = await dividendDistribution.getParticipants(); - - const amount = balances[0].balance.multipliedBy(dividendDistribution.perShare); - const amountAfterTax = amount - .minus( - amount.multipliedBy(defaultTaxWithholding).dividedBy(100).decimalPlaces(MAX_DECIMALS) - ) - .decimalPlaces(MAX_DECIMALS); - - expect(result).toEqual([ - { - identity: balances[0].identity, - amount, - taxWithholdingPercentage: defaultTaxWithholding, - amountAfterTax, - paid: true, - }, - ]); - - expect(result[0].amountAfterTax.decimalPlaces()).toBeLessThanOrEqual(MAX_DECIMALS); - - dividendDistribution.paymentDate = new Date('10/14/1987'); - - balances[0].identity = entityMockUtils.getIdentityInstance({ - did: 'targetDid', - isEqual: false, - }); - balances[0].identity.isEqual.mockReturnValueOnce(false).mockReturnValue(true); - - allBalancesMock.mockResolvedValue({ data: balances, next: null }); - - result = await dividendDistribution.getParticipants(); - - expect(result).toEqual([ - expect.objectContaining({ - identity: balances[0].identity, - amount, - taxWithholdingPercentage: new BigNumber(5), - paid: false, - }), - ]); - expect(result[0].amountAfterTax.decimalPlaces()).toBeLessThanOrEqual(MAX_DECIMALS); - }); - - it("should return an empty array if the distribution checkpoint hasn't been created yet", async () => { - jest - .spyOn(dividendDistribution, 'checkpoint') - .mockResolvedValue(entityMockUtils.getCheckpointScheduleInstance()); - - const result = await dividendDistribution.getParticipants(); - - expect(result).toEqual([]); - }); - }); - - describe('method: getParticipant', () => { - it('should return the distribution participant', async () => { - const did = 'someDid'; - const balance = new BigNumber(100); - const excluded = entityMockUtils.getIdentityInstance({ did: 'excluded' }); - - dividendDistribution.targets = { - identities: [excluded], - treatment: TargetTreatment.Exclude, - }; - jest.spyOn(dividendDistribution, 'checkpoint').mockResolvedValue( - entityMockUtils.getCheckpointInstance({ - balance, - }) - ); - - jest - .spyOn(utilsConversionModule, 'stringToIdentityId') - .mockReturnValue(dsMockUtils.createMockIdentityId(did)); - - jest - .spyOn(utilsConversionModule, 'corporateActionIdentifierToCaId') - .mockReturnValue(dsMockUtils.createMockCAId({ ticker, localId: id })); - jest.spyOn(utilsConversionModule, 'boolToBoolean').mockReturnValue(false); - - dsMockUtils.createQueryMock('capitalDistribution', 'holderPaid', { - returnValue: false, - }); - - let result = await dividendDistribution.getParticipant({ - identity: entityMockUtils.getIdentityInstance({ isEqual: false, did }), - }); - - expect(result?.identity.did).toBe(did); - expect(result?.amount).toEqual(balance.multipliedBy(dividendDistribution.perShare)); - expect(result?.paid).toBe(false); - expect(result?.taxWithholdingPercentage).toEqual(defaultTaxWithholding); - expect(result?.amountAfterTax.decimalPlaces()).toBeLessThanOrEqual(MAX_DECIMALS); - - dividendDistribution.paymentDate = new Date('10/14/1987'); - - const targetIdentity = entityMockUtils.getIdentityInstance({ - isEqual: false, - did: 'targetDid', - }); - targetIdentity.isEqual.mockReturnValueOnce(false).mockReturnValue(true); - - result = await dividendDistribution.getParticipant({ - identity: targetIdentity, - }); - - expect(result?.identity.did).toBe('targetDid'); - expect(result?.amount).toEqual(balance.multipliedBy(dividendDistribution.perShare)); - expect(result?.paid).toBe(false); - expect(result?.taxWithholdingPercentage).toEqual(new BigNumber(5)); - expect(result?.amountAfterTax.decimalPlaces()).toBeLessThanOrEqual(MAX_DECIMALS); - - context.getSigningIdentity = jest - .fn() - .mockResolvedValue(entityMockUtils.getIdentityInstance({ did, isEqual: false })); - - result = await dividendDistribution.getParticipant(); - - expect(result?.identity.did).toBe(did); - expect(result?.amount).toEqual(balance.multipliedBy(dividendDistribution.perShare)); - expect(result?.paid).toBe(false); - expect(result?.taxWithholdingPercentage).toEqual(defaultTaxWithholding); - expect(result?.amountAfterTax.decimalPlaces()).toBeLessThanOrEqual(MAX_DECIMALS); - }); - - it("should return null if the distribution checkpoint hasn't been created yet", async () => { - jest - .spyOn(dividendDistribution, 'checkpoint') - .mockResolvedValue(entityMockUtils.getCheckpointScheduleInstance()); - - const result = await dividendDistribution.getParticipant({ - identity: 'someDid', - }); - - expect(result).toEqual(null); - }); - - it('should return null if the identity is excluded of the distribution', async () => { - const did = 'someDid'; - const excluded = entityMockUtils.getIdentityInstance({ did }); - dividendDistribution.targets = { - identities: [excluded], - treatment: TargetTreatment.Exclude, - }; - jest.spyOn(dividendDistribution, 'checkpoint').mockResolvedValue( - entityMockUtils.getCheckpointInstance({ - balance: new BigNumber(10), - }) - ); - - const result = await dividendDistribution.getParticipant({ - identity: did, - }); - - expect(result).toEqual(null); - }); - }); - - describe('method: reclaimFunds', () => { - it('should prepare the procedure and return the resulting transaction', async () => { - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith( - { args: { distribution: dividendDistribution }, transformer: undefined }, - context, - {} - ) - .mockResolvedValue(expectedTransaction); - - const tx = await dividendDistribution.reclaimFunds(); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: getPaymentHistory', () => { - it('should return the amount of the withheld tax', async () => { - const blockId = new BigNumber(1); - const blockHash = 'someHash'; - const eventId = 'eventId'; - const datetime = '2020-10-10'; - const eventDid = 'eventDid'; - const balance = new BigNumber(100); - const tax = new BigNumber(10); - const size = new BigNumber(1); - const start = new BigNumber(0); - - dsMockUtils.createApolloQueryMock( - distributionPaymentsQuery( - { - distributionId: `${ticker}/${id.toString()}`, - }, - size, - start - ), - { - distributionPayments: { - totalCount: 1, - nodes: [ - { - eventId, - targetId: eventDid, - datetime, - amount: balance.toNumber(), - tax: tax.toNumber(), - - createdBlock: { - blockId: blockId.toNumber(), - hash: blockHash, - }, - }, - ], - }, - } - ); - - const { - data: [result], - } = await dividendDistribution.getPaymentHistory({ - size, - start, - }); - - expect(result.blockNumber).toEqual(blockId); - expect(result.blockHash).toEqual(blockHash); - expect(result.date).toEqual(new Date(`${datetime}Z`)); - expect(result.target.did).toBe(eventDid); - expect(result.amount).toEqual(balance.shiftedBy(-6)); - expect(result.withheldTax).toEqual(tax.shiftedBy(-4)); - }); - - it('should return null if the query result is empty', async () => { - dsMockUtils.createApolloQueryMock( - distributionPaymentsQuery({ - distributionId: `${ticker}/${id.toString()}`, - }), - { - distributionPayments: { - totalCount: 0, - nodes: [], - }, - } - ); - const result = await dividendDistribution.getPaymentHistory(); - expect(result.data).toEqual([]); - expect(result.next).toBeNull(); - }); - - it('should throw an error if the Dividend Distribution does not exist', () => { - dsMockUtils.createQueryMock('capitalDistribution', 'distributions', { - returnValue: dsMockUtils.createMockOption(), - }); - - dsMockUtils.createApolloQueryMock( - distributionPaymentsQuery({ - distributionId: `${ticker}/${id.toString()}`, - }), - { - distributionPayments: { - totalCount: 0, - nodes: [], - }, - } - ); - - return expect(dividendDistribution.getPaymentHistory()).rejects.toThrow( - 'The Dividend Distribution no longer exists' - ); - }); - }); - - describe('method: toHuman', () => { - it('should return a human readable version of the entity', () => { - dividendDistribution.targets = { - treatment: TargetTreatment.Exclude, - identities: [], - }; - expect(dividendDistribution.toHuman()).toEqual({ - id: '1', - ticker: 'SOME_TICKER', - declarationDate: '1987-10-14T00:00:00.000Z', - defaultTaxWithholding: '0.123456', - description: 'something', - targets: { - identities: [], - treatment: TargetTreatment.Exclude, - }, - taxWithholdings: [ - { - identity: 'targetDid', - percentage: '5', - }, - ], - currency: 'USD', - expiryDate: null, - paymentDate: dividendDistribution.paymentDate.toISOString(), - maxAmount: '10000', - origin: { did: 'someDid' }, - perShare: '0.234567', - }); - }); - }); -}); diff --git a/src/api/entities/DividendDistribution/index.ts b/src/api/entities/DividendDistribution/index.ts deleted file mode 100644 index 946eeaa6bb..0000000000 --- a/src/api/entities/DividendDistribution/index.ts +++ /dev/null @@ -1,606 +0,0 @@ -import { Option } from '@polkadot/types'; -import { PalletCorporateActionsDistribution } from '@polkadot/types/lookup'; -import BigNumber from 'bignumber.js'; -import P from 'bluebird'; -import { chunk, flatten, remove } from 'lodash'; - -import { - HumanReadable as CorporateActionHumanReadable, - Params as CorporateActionParams, - UniqueIdentifiers, -} from '~/api/entities/CorporateAction'; -import { - Checkpoint, - CheckpointSchedule, - claimDividends, - Context, - CorporateActionBase, - DefaultPortfolio, - Identity, - modifyCaCheckpoint, - NumberedPortfolio, - payDividends, - PolymeshError, - reclaimDividendDistributionFunds, -} from '~/internal'; -import { distributionPaymentsQuery, distributionQuery } from '~/middleware/queries'; -import { Query } from '~/middleware/types'; -import { - CorporateActionKind, - DistributionPayment, - DividendDistributionDetails, - ErrorCode, - IdentityBalance, - InputCaCheckpoint, - ModifyCaCheckpointParams, - NoArgsProcedureMethod, - PayDividendsParams, - ProcedureMethod, - ResultSet, - TargetTreatment, -} from '~/types'; -import { ProcedureParams } from '~/types/internal'; -import { Ensured, HumanReadableType, Modify, tuple } from '~/types/utils'; -import { MAX_CONCURRENT_REQUESTS, MAX_DECIMALS, MAX_PAGE_SIZE } from '~/utils/constants'; -import { - balanceToBigNumber, - boolToBoolean, - corporateActionIdentifierToCaId, - stringToIdentityId, -} from '~/utils/conversion'; -import { - calculateNextKey, - createProcedureMethod, - getIdentity, - toHumanReadable, - xor, -} from '~/utils/internal'; - -import { DistributionParticipant } from './types'; - -export interface HumanReadable extends CorporateActionHumanReadable { - origin: HumanReadableType; - currency: string; - perShare: string; - maxAmount: string; - expiryDate: string | null; - paymentDate: string; -} - -export interface DividendDistributionParams { - origin: DefaultPortfolio | NumberedPortfolio; - currency: string; - perShare: BigNumber; - maxAmount: BigNumber; - expiryDate: null | Date; - paymentDate: Date; -} - -export type Params = CorporateActionParams & DividendDistributionParams; - -const notExistsMessage = 'The Dividend Distribution no longer exists'; - -/** - * Represents a Corporate Action via which an Asset issuer wishes to distribute dividends - * between a subset of the Asset Holders (targets) - */ -export class DividendDistribution extends CorporateActionBase { - /** - * Portfolio from which the dividends will be distributed - */ - public origin: DefaultPortfolio | NumberedPortfolio; - - /** - * ticker of the currency in which dividends are being distributed - */ - public currency: string; - - /** - * amount of `currency` to pay for each share held by the Asset Holders - */ - public perShare: BigNumber; - - /** - * maximum amount of `currency` to be distributed. Distributions are "first come, first served", so funds can be depleted before - * every Asset Holder receives their corresponding amount - */ - public maxAmount: BigNumber; - - /** - * date after which dividends can no longer be paid/reclaimed. A null value means the distribution never expires - */ - public expiryDate: null | Date; - - /** - * date starting from which dividends can be paid/reclaimed - */ - public paymentDate: Date; - - /** - * type of dividend distribution being represented. The chain enforces it to be either PredictableBenefit or UnpredictableBenefit - */ - protected declare kind: - | CorporateActionKind.UnpredictableBenefit - | CorporateActionKind.PredictableBenefit; - - /** - * @hidden - */ - public constructor(args: UniqueIdentifiers & Params, context: Context) { - const { - origin, - currency, - perShare, - maxAmount, - expiryDate, - paymentDate, - ...corporateActionArgs - } = args; - - super({ ...corporateActionArgs }, context); - - this.origin = origin; - this.currency = currency; - this.perShare = perShare; - this.maxAmount = maxAmount; - this.expiryDate = expiryDate; - this.paymentDate = paymentDate; - - this.pay = createProcedureMethod( - { - getProcedureAndArgs: payDividendsArgs => [ - payDividends, - { ...payDividendsArgs, distribution: this }, - ], - }, - context - ); - - this.claim = createProcedureMethod( - { getProcedureAndArgs: () => [claimDividends, { distribution: this }], voidArgs: true }, - context - ); - - this.modifyCheckpoint = createProcedureMethod< - Modify< - ModifyCaCheckpointParams, - { - checkpoint: InputCaCheckpoint; - } - >, - ProcedureParams, - void - >( - { - getProcedureAndArgs: modifyCheckpointArgs => [ - modifyCaCheckpoint, - { corporateAction: this, ...modifyCheckpointArgs }, - ], - }, - context - ); - - this.reclaimFunds = createProcedureMethod( - { - getProcedureAndArgs: () => [reclaimDividendDistributionFunds, { distribution: this }], - voidArgs: true, - }, - context - ); - } - - /** - * Claim the Dividends corresponding to the signing Identity - * - * @note if `currency` is indivisible, the Identity's share will be rounded down to the nearest integer (after taxes are withheld) - */ - public claim: NoArgsProcedureMethod; - - /** - * Modify the Distribution's Checkpoint - */ - public modifyCheckpoint: ProcedureMethod< - Modify< - ModifyCaCheckpointParams, - { - checkpoint: InputCaCheckpoint; - } - >, - void - >; - - /** - * Transfer the corresponding share of the dividends to a list of Identities - * - * @note due to performance issues, we do not validate that the distribution has enough remaining funds to pay the corresponding amount to the supplied Identities - * @note if `currency` is indivisible, the Identity's share will be rounded down to the nearest integer (after taxes are withheld) - */ - public pay: ProcedureMethod; - - /** - * Reclaim any remaining funds back to the origin Portfolio. This can only be done after the Distribution has expired - * - * @note withheld taxes are also reclaimed in the same transaction - * - * @note required roles: - * - Origin Portfolio Custodian - */ - public reclaimFunds: NoArgsProcedureMethod; - - /** - * Retrieve the Checkpoint associated with this Dividend Distribution. If the Checkpoint is scheduled and has not been created yet, - * the corresponding CheckpointSchedule is returned instead - */ - public override async checkpoint(): Promise { - const exists = await this.exists(); - - if (!exists) { - throw new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: notExistsMessage, - }); - } - - const checkpoint = await super.checkpoint(); - - // eslint-disable-next-line @typescript-eslint/no-non-null-assertion - return checkpoint!; - } - - /** - * Retrieve whether the Distribution exists - */ - public override async exists(): Promise { - const distribution = await this.fetchDistribution(); - - return distribution.isSome; - } - - /** - * Retrieve details associated with this Dividend Distribution - */ - public async details(): Promise { - const distribution = await this.fetchDistribution(); - - if (distribution.isNone) { - throw new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: notExistsMessage, - }); - } - - const { reclaimed, remaining } = distribution.unwrap(); - - return { - remainingFunds: balanceToBigNumber(remaining), - fundsReclaimed: boolToBoolean(reclaimed), - }; - } - - /** - * Retrieve a comprehensive list of all Identities that are entitled to dividends in this Distribution (participants), - * the amount they are entitled to and whether they have been paid or not - * - * @note this request can take a lot of time with large amounts of Asset Holders - * @note if the Distribution Checkpoint hasn't been created yet, the result will be an empty array. - * This is because the Distribution participants cannot be determined without a Checkpoint - */ - public async getParticipants(): Promise { - const { - targets: { identities: targetIdentities, treatment }, - paymentDate, - } = this; - - let balances: IdentityBalance[] = []; - - const checkpoint = await this.checkpoint(); - - if (checkpoint instanceof CheckpointSchedule) { - return []; - } - - let allFetched = false; - let start: string | undefined; - - while (!allFetched) { - const { data, next } = await checkpoint.allBalances({ size: MAX_PAGE_SIZE, start }); - start = (next as string) || undefined; - allFetched = !next; - balances = [...balances, ...data]; - } - - const isExclusion = treatment === TargetTreatment.Exclude; - - const participants: DistributionParticipant[] = []; - const clonedTargets = [...targetIdentities]; - - balances.forEach(({ identity, balance }) => { - const isTarget = !!remove(clonedTargets, target => identity.isEqual(target)).length; - if (balance.gt(0) && xor(isTarget, isExclusion)) { - participants.push(this.assembleParticipant(identity, balance)); - } - }); - - // participants can't be paid before the payment date - if (paymentDate < new Date()) { - return participants; - } - - const paidStatuses = await this.getParticipantStatuses(participants); - - return paidStatuses.map((paid, index) => ({ ...participants[index], paid })); - } - - /** - * Retrieve an Identity that is entitled to dividends in this Distribution (participant), - * the amount it is entitled to and whether it has been paid or not - * - * @param args.identity - defaults to the signing Identity - * - * @note if the Distribution Checkpoint hasn't been created yet, the result will be null. - * This is because the Distribution participant's corresponding payment cannot be determined without a Checkpoint - */ - public async getParticipant(args?: { - identity: string | Identity; - }): Promise { - const { - id: localId, - asset: { ticker }, - targets: { identities: targetIdentities, treatment }, - paymentDate, - context, - context: { - polymeshApi: { query }, - }, - } = this; - - const checkpoint = await this.checkpoint(); - - if (checkpoint instanceof CheckpointSchedule) { - return null; - } - - const [identity, balance] = await Promise.all([ - getIdentity(args?.identity, context), - checkpoint.balance(args), - ]); - - const isTarget = !!targetIdentities.find(target => identity.isEqual(target)); - - let participant: DistributionParticipant; - - const isExclusion = treatment === TargetTreatment.Exclude; - - if (balance.gt(0) && xor(isTarget, isExclusion)) { - participant = this.assembleParticipant(identity, balance); - } else { - return null; - } - - // participant can't be paid before the payment date - if (paymentDate < new Date()) { - return participant; - } - - const rawDid = stringToIdentityId(identity.did, context); - const rawCaId = corporateActionIdentifierToCaId({ ticker, localId }, context); - const holderPaid = await query.capitalDistribution.holderPaid([rawCaId, rawDid]); - const paid = boolToBoolean(holderPaid); - - return { ...participant, paid }; - } - - /** - * @hidden - */ - private assembleParticipant(identity: Identity, balance: BigNumber): DistributionParticipant { - const { defaultTaxWithholding, taxWithholdings, perShare } = this; - - let taxWithholdingPercentage = defaultTaxWithholding; - - const taxWithholding = taxWithholdings.find(({ identity: taxIdentity }) => - identity.isEqual(taxIdentity) - ); - if (taxWithholding) { - taxWithholdingPercentage = taxWithholding.percentage; - } - - const amount = balance.multipliedBy(perShare); - - const amountAfterTax = amount - .minus( - amount.multipliedBy(taxWithholdingPercentage).dividedBy(100).decimalPlaces(MAX_DECIMALS) - ) - .decimalPlaces(MAX_DECIMALS); - - return { - identity, - amount, - taxWithholdingPercentage, - amountAfterTax, - paid: false, - }; - } - - /** - * @hidden - */ - private fetchDistribution(): Promise> { - const { - asset: { ticker }, - id, - context, - } = this; - - return context.polymeshApi.query.capitalDistribution.distributions( - corporateActionIdentifierToCaId({ ticker, localId: id }, context) - ); - } - - /** - * Retrieve the amount of taxes that have been withheld up to this point in this Distribution - * - * @note uses the middlewareV2 - */ - public async getWithheldTax(): Promise { - const { - id, - asset: { ticker }, - context, - } = this; - - const taxPromise = context.queryMiddleware>( - distributionQuery({ - id: `${ticker}/${id.toString()}`, - }) - ); - - const [ - exists, - { - data: { - distribution: { taxes }, - }, - }, - ] = await Promise.all([this.exists(), taxPromise]); - - if (!exists) { - throw new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: notExistsMessage, - }); - } - - return new BigNumber(taxes).shiftedBy(-6); - } - - /** - * Retrieve the payment history for this Distribution - * - * @note uses the middleware V2 - * @note supports pagination - */ - public async getPaymentHistory( - opts: { size?: BigNumber; start?: BigNumber } = {} - ): Promise> { - const { - id, - asset: { ticker }, - context, - } = this; - const { size, start } = opts; - - const paymentsPromise = context.queryMiddleware>( - distributionPaymentsQuery( - { - distributionId: `${ticker}/${id.toString()}`, - }, - size, - start - ) - ); - - const [exists, result] = await Promise.all([this.exists(), paymentsPromise]); - - if (!exists) { - throw new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: notExistsMessage, - }); - } - - const { - data: { - distributionPayments: { nodes, totalCount }, - }, - } = result; - - const count = new BigNumber(totalCount); - const data: DistributionPayment[] = []; - - nodes.forEach(({ createdBlock, datetime, targetId: did, amount, tax }) => { - // eslint-disable-next-line @typescript-eslint/no-non-null-assertion - const { blockId, hash } = createdBlock!; - - data.push({ - blockNumber: new BigNumber(blockId), - blockHash: hash, - date: new Date(datetime), - target: new Identity({ did }, context), - amount: new BigNumber(amount).shiftedBy(-6), - /** - * Since we want to depict the `withheldTax` as percentage value between 0-100, - * we multiply the tax(`Permill`) by 100, hence shifted by -4 - */ - withheldTax: new BigNumber(tax).shiftedBy(-4), - }); - }); - - const next = calculateNextKey(count, data.length, start); - - return { - data, - next, - count, - }; - } - - /** - * @hidden - */ - private async getParticipantStatuses( - participants: DistributionParticipant[] - ): Promise { - const { - asset: { ticker }, - id: localId, - context: { - polymeshApi: { - query: { capitalDistribution }, - }, - }, - context, - } = this; - - /* - * For optimization, we separate the participants into chunks that can fit into one multi call - * and then sequentially perform bunches of said multi requests in parallel - */ - const participantChunks = chunk(participants, MAX_PAGE_SIZE.toNumber()); - const parallelCallChunks = chunk(participantChunks, MAX_CONCURRENT_REQUESTS); - - let paidStatuses: boolean[] = []; - - const caId = corporateActionIdentifierToCaId({ localId, ticker }, context); - - await P.each(parallelCallChunks, async callChunk => { - const parallelMultiCalls = callChunk.map(participantChunk => { - const multiParams = participantChunk.map(({ identity: { did } }) => - tuple(caId, stringToIdentityId(did, context)) - ); - - return capitalDistribution.holderPaid.multi(multiParams); - }); - - const results = await Promise.all(parallelMultiCalls); - - paidStatuses = [...paidStatuses, ...flatten(results).map(paid => boolToBoolean(paid))]; - }); - - return paidStatuses; - } - - /** - * Return the Dividend Distribution's static data - */ - public override toHuman(): HumanReadable { - const { origin, currency, perShare, maxAmount, expiryDate, paymentDate } = this; - - const parentReadable = super.toHuman(); - - return { - ...toHumanReadable({ origin, currency, perShare, maxAmount, expiryDate, paymentDate }), - ...parentReadable, - }; - } -} diff --git a/src/api/entities/DividendDistribution/types.ts b/src/api/entities/DividendDistribution/types.ts deleted file mode 100644 index 2e1d47e121..0000000000 --- a/src/api/entities/DividendDistribution/types.ts +++ /dev/null @@ -1,27 +0,0 @@ -import BigNumber from 'bignumber.js'; - -import { Identity } from '~/internal'; - -export interface DividendDistributionDetails { - remainingFunds: BigNumber; - /** - * whether the unclaimed funds have been reclaimed - */ - fundsReclaimed: boolean; -} - -export interface DistributionParticipant { - identity: Identity; - amount: BigNumber; - /** - * percentage (0-100) of tax withholding for this participant - */ - taxWithholdingPercentage: BigNumber; - /** - * amount to be paid to the participant after tax deductions - */ - amountAfterTax: BigNumber; - paid: boolean; -} - -export { DividendDistributionParams } from '.'; diff --git a/src/api/entities/Entity.ts b/src/api/entities/Entity.ts deleted file mode 100644 index 899a556d1a..0000000000 --- a/src/api/entities/Entity.ts +++ /dev/null @@ -1,74 +0,0 @@ -import { Context, PolymeshError } from '~/internal'; -import { ErrorCode } from '~/types'; -import { serialize, unserialize } from '~/utils/internal'; - -/** - * Represents an object or resource in the Polymesh Ecosystem with its own set of properties and functionality - */ -export abstract class Entity { - /** - * Generate the Entity's UUID from its identifying properties - * - * @param identifiers - */ - public static generateUuid(identifiers: Identifiers): string { - return serialize(this.name, identifiers); - } - - /** - * Unserialize a UUID into its Unique Identifiers - * - * @param serialized - UUID to unserialize - */ - public static unserialize(serialized: string): Identifiers { - const unserialized = unserialize(serialized); - - if (!this.isUniqueIdentifiers(unserialized)) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: `The string doesn't correspond to the UUID of type ${this.name}`, - }); - } - - return unserialized; - } - - /* istanbul ignore next: this function should always be overridden */ - /** - * Typeguard that checks whether the object passed corresponds to the unique identifiers of the class. Must be overridden - * - * @param identifiers - object to type check - */ - public static isUniqueIdentifiers(identifiers: unknown): boolean { - return !!identifiers; - } - - public uuid: string; - - protected context: Context; - - /** - * @hidden - */ - constructor(identifiers: UniqueIdentifiers, context: Context) { - this.uuid = (this.constructor as typeof Entity).generateUuid(identifiers); - this.context = context; - } - - /** - * Determine whether this Entity is the same as another one - */ - public isEqual(entity: Entity): boolean { - return this.uuid === entity.uuid; - } - - /** - * Determine whether this Entity exists on chain - */ - public abstract exists(): Promise; - - /** - * Returns Entity data in a human readable (JSON) format - */ - public abstract toHuman(): HumanReadable; -} diff --git a/src/api/entities/Identity/AssetPermissions.ts b/src/api/entities/Identity/AssetPermissions.ts deleted file mode 100644 index 7b83a8b875..0000000000 --- a/src/api/entities/Identity/AssetPermissions.ts +++ /dev/null @@ -1,412 +0,0 @@ -import BigNumber from 'bignumber.js'; -import P from 'bluebird'; - -import { - BaseAsset, - Context, - CustomPermissionGroup, - FungibleAsset, - Identity, - KnownPermissionGroup, - Namespace, - PolymeshError, - setPermissionGroup, - waivePermissions, -} from '~/internal'; -import { tickerExternalAgentActionsQuery, tickerExternalAgentsQuery } from '~/middleware/queries'; -import { EventIdEnum, ModuleIdEnum, Query } from '~/middleware/types'; -import { - AssetWithGroup, - CheckPermissionsResult, - ErrorCode, - EventIdentifier, - ModuleName, - NftCollection, - PermissionType, - ProcedureMethod, - ResultSet, - SetPermissionGroupParams, - SignerType, - TxTag, - TxTags, - WaivePermissionsParams, -} from '~/types'; -import { Ensured } from '~/types/utils'; -import { - agentGroupToPermissionGroup, - extrinsicPermissionsToTransactionPermissions, - middlewareEventDetailsToEventIdentifier, - stringToIdentityId, - stringToTicker, - tickerToString, -} from '~/utils/conversion'; -import { - asTicker, - calculateNextKey, - createProcedureMethod, - isModuleOrTagMatch, - optionize, -} from '~/utils/internal'; - -/** - * @hidden - * - * Check whether a tag is "present" in (represented by) a set of values and exceptions, using the following criteria: - * - * - if type is include: - * the passed tags are in the values array AND are not in the exceptions array (isInValues && !isInExceptions) - * - if type is exclude: - * the passed tags are not in the values array OR are in the exceptions array (!isInValues || isInExceptions) - */ -function isPresent( - tag: TxTag, - values: (TxTag | ModuleName)[], - exceptions: TxTag[] | undefined, - flipResult: boolean -): boolean { - const isInValues = values.some(value => isModuleOrTagMatch(value, tag)); - const isInExceptions = !!exceptions?.includes(tag); - - const result = isInValues && !isInExceptions; - - return flipResult ? result : !result; -} - -/** - * Handles all Asset Permissions (External Agents) related functionality on the Identity side - */ -export class AssetPermissions extends Namespace { - /** - * @hidden - */ - constructor(parent: Identity, context: Context) { - super(parent, context); - - this.waive = createProcedureMethod( - { getProcedureAndArgs: args => [waivePermissions, { ...args, identity: parent }] }, - context - ); - - this.setGroup = createProcedureMethod( - { getProcedureAndArgs: args => [setPermissionGroup, { ...args, identity: parent }] }, - context - ); - } - - /** - * Retrieve all the Assets over which this Identity has permissions, with the corresponding Permission Group - */ - public async get(): Promise { - const { - context: { - polymeshApi: { - query: { externalAgents }, - }, - }, - parent: { did }, - context, - } = this; - - const rawDid = stringToIdentityId(did, context); - const assetEntries = await externalAgents.agentOf.entries(rawDid); - - return P.map(assetEntries, async ([key]) => { - const ticker = tickerToString(key.args[1]); - const asset = new FungibleAsset({ ticker }, context); - const group = await this.getGroup({ asset }); - - return { - asset, - group, - }; - }); - } - - /** - * Check whether this Identity has specific transaction Permissions over an Asset - */ - public async checkPermissions(args: { - asset: BaseAsset | string; - transactions: TxTag[] | null; - }): Promise> { - const { - context: { - polymeshApi: { - query: { externalAgents }, - }, - }, - context, - parent: { did }, - } = this; - const { asset, transactions } = args; - - if (transactions?.length === 0) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'Cannot check Permissions for an empty transaction array', - }); - } - - const ticker = asTicker(asset); - const rawTicker = stringToTicker(ticker, context); - - const groupOption = await externalAgents.groupOfAgent( - rawTicker, - stringToIdentityId(did, context) - ); - - if (groupOption.isNone) { - return { - missingPermissions: transactions, - result: false, - message: 'The Identity is not an Agent for the Asset', - }; - } - - const group = groupOption.unwrap(); - - if (group.isFull) { - return { - result: true, - }; - } - - let missingPermissions: TxTag[]; - - if (group.isCustom) { - const groupId = group.asCustom; - - const groupPermissionsOption = await externalAgents.groupPermissions(rawTicker, groupId); - - const permissions = extrinsicPermissionsToTransactionPermissions( - groupPermissionsOption.unwrap() - ); - - if (permissions === null) { - return { - result: true, - }; - } - - if (transactions === null) { - return { - result: false, - missingPermissions: null, - }; - } - - const { type, exceptions, values } = permissions; - - const isInclude = type === PermissionType.Include; - - missingPermissions = transactions.filter( - tag => !isPresent(tag, values, exceptions, isInclude) - ); - } - - if (transactions === null) { - return { - result: false, - missingPermissions: null, - }; - } - - /* - * Not authorized: - * - externalAgents - */ - if (group.isExceptMeta) { - missingPermissions = transactions.filter( - tag => tag.split('.')[0] === ModuleName.ExternalAgents - ); - } - - /* - * Authorized: - * - asset.issue - * - asset.redeem - * - asset.controllerTransfer - * - sto (except for sto.invest) - */ - if (group.isPolymeshV1PIA) { - missingPermissions = transactions.filter(tag => { - const isSto = tag.split('.')[0] === ModuleName.Sto && tag !== TxTags.sto.Invest; - const isAsset = ([ - TxTags.asset.Issue, - TxTags.asset.Redeem, - TxTags.asset.ControllerTransfer, - ]).includes(tag); - - return !isSto && !isAsset; - }); - } - - /* - * Authorized: - * - corporateAction - * - corporateBallot - * - capitalDistribution - */ - if (group.isPolymeshV1CAA) { - missingPermissions = transactions.filter( - tag => - ![ - ModuleName.CorporateAction, - ModuleName.CorporateBallot, - ModuleName.CapitalDistribution, - ].includes(tag.split('.')[0] as ModuleName) - ); - } - - /* eslint-disable @typescript-eslint/no-non-null-assertion */ - if (missingPermissions!.length) { - return { - missingPermissions: missingPermissions!, - result: false, - }; - } - /* eslint-enable @typescript-eslint/no-non-null-assertion */ - - return { - result: true, - }; - } - - /** - * Retrieve this Identity's Permission Group for a specific Asset - */ - public async getGroup({ - asset, - }: { - asset: string | BaseAsset; - }): Promise { - const { - context: { - polymeshApi: { - query: { externalAgents }, - }, - }, - context, - parent: { did }, - } = this; - - const ticker = asTicker(asset); - - const rawTicker = stringToTicker(ticker, context); - const rawIdentityId = stringToIdentityId(did, context); - - const rawGroupPermissions = await externalAgents.groupOfAgent(rawTicker, rawIdentityId); - - if (rawGroupPermissions.isNone) { - throw new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: 'This Identity is no longer an Agent for this Asset', - }); - } - const agentGroup = rawGroupPermissions.unwrap(); - - return agentGroupToPermissionGroup(agentGroup, ticker, context); - } - - /** - * Retrieve the identifier data (block number, date and event index) of the event that was emitted when this Identity was enabled/added as - * an Agent with permissions over a specific Asset - * - * @note uses the middlewareV2 - * @note there is a possibility that the data is not ready by the time it is requested. In that case, `null` is returned - */ - public async enabledAt({ - asset, - }: { - asset: string | FungibleAsset | NftCollection; - }): Promise { - const { context } = this; - const ticker = asTicker(asset); - - const { - data: { - tickerExternalAgents: { - nodes: [node], - }, - }, - } = await context.queryMiddleware>( - tickerExternalAgentsQuery({ - assetId: ticker, - }) - ); - - return optionize(middlewareEventDetailsToEventIdentifier)(node?.createdBlock, node?.eventIdx); - } - - /** - * Abdicate from the current Permissions Group for a given Asset. This means that this Identity will no longer have any permissions over said Asset - */ - public waive: ProcedureMethod; - - /** - * Assign this Identity to a different Permission Group for a given Asset - */ - public setGroup: ProcedureMethod< - SetPermissionGroupParams, - CustomPermissionGroup | KnownPermissionGroup - >; - - /** - * Retrieve all Events triggered by Operations this Identity has performed on a specific Asset - * - * @param opts.moduleId - filters results by module - * @param opts.eventId - filters results by event - * @param opts.size - page size - * @param opts.start - page offset - * - * @note uses the middlewareV2 - * @note supports pagination - */ - public async getOperationHistory(opts: { - asset: string | FungibleAsset; - moduleId?: ModuleIdEnum; - eventId?: EventIdEnum; - size?: BigNumber; - start?: BigNumber; - }): Promise> { - const { - context, - parent: { did }, - } = this; - - const { asset, moduleId: palletName, eventId, size, start } = opts; - - const ticker = asTicker(asset); - - const { - data: { - tickerExternalAgentActions: { nodes, totalCount }, - }, - } = await context.queryMiddleware>( - tickerExternalAgentActionsQuery( - { - assetId: ticker, - callerId: did, - palletName, - eventId, - }, - size, - start - ) - ); - - const data = nodes.map(({ createdBlock, eventIdx }) => - // eslint-disable-next-line @typescript-eslint/no-non-null-assertion - middlewareEventDetailsToEventIdentifier(createdBlock!, eventIdx) - ); - - const count = new BigNumber(totalCount); - const next = calculateNextKey(count, data.length, start); - - return { - data, - next, - count, - }; - } -} diff --git a/src/api/entities/Identity/ChildIdentity.ts b/src/api/entities/Identity/ChildIdentity.ts deleted file mode 100644 index 7cb398a015..0000000000 --- a/src/api/entities/Identity/ChildIdentity.ts +++ /dev/null @@ -1,80 +0,0 @@ -import { UniqueIdentifiers } from '~/api/entities/Identity'; -import { unlinkChildIdentity } from '~/api/procedures/unlinkChildIdentity'; -import { Context, Identity } from '~/internal'; -import { NoArgsProcedureMethod } from '~/types'; -import { identityIdToString, stringToIdentityId } from '~/utils/conversion'; -import { createProcedureMethod } from '~/utils/internal'; - -/** - * Represents a child identity - */ -export class ChildIdentity extends Identity { - /** - * @hidden - */ - public constructor(identifiers: UniqueIdentifiers, context: Context) { - super(identifiers, context); - - this.unlinkFromParent = createProcedureMethod( - { - getProcedureAndArgs: () => [unlinkChildIdentity, { child: this }], - voidArgs: true, - }, - context - ); - } - - /** - * Returns the parent of this Identity (if any) - */ - public async getParentDid(): Promise { - const { - context: { - polymeshApi: { - query: { identity }, - }, - }, - context, - did, - } = this; - - const rawIdentityId = stringToIdentityId(did, context); - const rawParentDid = await identity.parentDid(rawIdentityId); - - if (rawParentDid.isEmpty) { - return null; - } - - const parentDid = identityIdToString(rawParentDid.unwrap()); - - return new Identity({ did: parentDid }, context); - } - - /** - * @hidden - * since a child Identity doesn't has any other children, this method overrides the base implementation to return empty array - */ - public override getChildIdentities(): Promise { - return Promise.resolve([]); - } - - /** - * Determine whether this child Identity exists - * - * @note asset Identities aren't considered to exist for this check - */ - public override async exists(): Promise { - const parentDid = await this.getParentDid(); - - return parentDid !== null; - } - - /** - * Unlinks this child identity from its parent - * - * @throws if - * - this identity doesn't have a parent - * - the transaction signer is not the primary key of the child identity - */ - public unlinkFromParent: NoArgsProcedureMethod; -} diff --git a/src/api/entities/Identity/IdentityAuthorizations.ts b/src/api/entities/Identity/IdentityAuthorizations.ts deleted file mode 100644 index b7bcf636ec..0000000000 --- a/src/api/entities/Identity/IdentityAuthorizations.ts +++ /dev/null @@ -1,100 +0,0 @@ -import BigNumber from 'bignumber.js'; - -import { AuthorizationRequest, Authorizations, Identity } from '~/internal'; -import { PaginationOptions, ResultSet } from '~/types'; -import { tuple } from '~/types/utils'; -import { bigNumberToU64, signatoryToSignerValue, stringToIdentityId } from '~/utils/conversion'; -import { defusePromise, requestPaginated } from '~/utils/internal'; - -/** - * Handles all Identity Authorization related functionality - */ -export class IdentityAuthorizations extends Authorizations { - /** - * Fetch all pending authorization requests issued by this Identity - * - * @note supports pagination - */ - public async getSent( - paginationOpts?: PaginationOptions - ): Promise> { - const { - context: { - polymeshApi: { - query: { identity }, - }, - }, - context, - parent: { did }, - } = this; - - const { entries, lastKey: next } = await requestPaginated(identity.authorizationsGiven, { - arg: stringToIdentityId(did, context), - paginationOpts, - }); - - const authQueryParams = entries.map(([storageKey, signatory]) => - tuple(signatory, storageKey.args[1]) - ); - - const authorizations = await identity.authorizations.multi(authQueryParams); - - const data = this.createAuthorizationRequests( - authorizations.map((auth, index) => ({ - auth: auth.unwrap(), - target: signatoryToSignerValue(authQueryParams[index][0]), - })) - ); - - return { - data, - next, - }; - } - - /** - * Retrieve a single Authorization Request targeting or issued by this Identity by its ID - * - * @throws if there is no Authorization Request with the passed ID targeting or issued by this Identity - */ - public override async getOne(args: { id: BigNumber }): Promise { - const { - context, - parent: { did }, - context: { - polymeshApi: { - query: { identity }, - }, - }, - } = this; - - const { id } = args; - - const rawId = bigNumberToU64(id, context); - - /* - * We're using `defusePromise` here because if the id corresponds to a sent auth, - * we don't care about the error, and if it doesn't, then we return the promise and - * the error will be handled by the caller - */ - const gettingReceivedAuth = defusePromise(super.getOne({ id })); - - /** - * `authorizations` storage only returns results for the authorization target, - * so `authorizationsGiven` needs to be queried first to find the relevant target if present - */ - const targetSignatory = await identity.authorizationsGiven( - stringToIdentityId(did, context), - rawId - ); - - if (!targetSignatory.isEmpty) { - const auth = await identity.authorizations(targetSignatory, rawId); - const target = signatoryToSignerValue(targetSignatory); - - return this.createAuthorizationRequests([{ auth: auth.unwrap(), target }])[0]; - } - - return gettingReceivedAuth; - } -} diff --git a/src/api/entities/Identity/Portfolios.ts b/src/api/entities/Identity/Portfolios.ts deleted file mode 100644 index d4b3167811..0000000000 --- a/src/api/entities/Identity/Portfolios.ts +++ /dev/null @@ -1,227 +0,0 @@ -import BigNumber from 'bignumber.js'; - -import { - Context, - DefaultPortfolio, - deletePortfolio, - Identity, - Namespace, - NumberedPortfolio, - PolymeshError, -} from '~/internal'; -import { portfoliosMovementsQuery, settlementsForAllPortfoliosQuery } from '~/middleware/queries'; -import { Query } from '~/middleware/types'; -import { - ErrorCode, - HistoricSettlement, - PaginationOptions, - ProcedureMethod, - ResultSet, -} from '~/types'; -import { Ensured } from '~/types/utils'; -import { - addressToKey, - identityIdToString, - stringToIdentityId, - toHistoricalSettlements, - u64ToBigNumber, -} from '~/utils/conversion'; -import { createProcedureMethod, requestPaginated } from '~/utils/internal'; - -/** - * Handles all Portfolio related functionality on the Identity side - */ -export class Portfolios extends Namespace { - /** - * @hidden - */ - constructor(parent: Identity, context: Context) { - super(parent, context); - - const { did } = parent; - - this.delete = createProcedureMethod( - { - getProcedureAndArgs: args => { - const { portfolio } = args; - const id = portfolio instanceof BigNumber ? portfolio : portfolio.id; - - return [deletePortfolio, { id, did }]; - }, - }, - context - ); - } - - /** - * Retrieve all the Portfolios owned by this Identity - */ - public async getPortfolios(): Promise<[DefaultPortfolio, ...NumberedPortfolio[]]> { - const { - context, - context: { - polymeshApi: { - query: { portfolio }, - }, - }, - parent: { did }, - } = this; - - const identityId = stringToIdentityId(did, context); - const rawPortfolios = await portfolio.portfolios.entries(identityId); - - const portfolios: [DefaultPortfolio, ...NumberedPortfolio[]] = [ - new DefaultPortfolio({ did }, context), - ]; - rawPortfolios.forEach(([key]) => { - portfolios.push(new NumberedPortfolio({ id: u64ToBigNumber(key.args[1]), did }, context)); - }); - - return portfolios; - } - - /** - * Retrieve all Portfolios custodied by this Identity. - * This only includes portfolios owned by a different Identity but custodied by this one. - * To fetch Portfolios owned by this Identity, use {@link getPortfolios} - * - * @note supports pagination - */ - public async getCustodiedPortfolios( - paginationOpts?: PaginationOptions - ): Promise> { - const { - context, - context: { - polymeshApi: { - query: { portfolio }, - }, - }, - parent: { did: custodianDid }, - } = this; - - const custodian = stringToIdentityId(custodianDid, context); - const { entries: portfolioEntries, lastKey: next } = await requestPaginated( - portfolio.portfoliosInCustody, - { - arg: custodian, - paginationOpts, - } - ); - - const data = portfolioEntries.map(([{ args }]) => { - const { did: ownerDid, kind } = args[1]; - - const did = identityIdToString(ownerDid); - - if (kind.isDefault) { - return new DefaultPortfolio({ did }, context); - } - - const id = u64ToBigNumber(kind.asUser); - - return new NumberedPortfolio({ did, id }, context); - }); - - return { - data, - next, - }; - } - - /** - * Retrieve a Numbered Portfolio or the Default Portfolio if Portfolio ID is not passed - * - * @param args.portfolioId - optional, defaults to the Default Portfolio - */ - public async getPortfolio(): Promise; - public async getPortfolio(args: { portfolioId: BigNumber }): Promise; - - // eslint-disable-next-line require-jsdoc - public async getPortfolio(args?: { - portfolioId: BigNumber; - }): Promise { - const { - context, - parent: { did }, - } = this; - - const portfolioId = args?.portfolioId; - - if (!portfolioId) { - return new DefaultPortfolio({ did }, context); - } - - const numberedPortfolio = new NumberedPortfolio({ id: portfolioId, did }, context); - const exists = await numberedPortfolio.exists(); - - if (!exists) { - throw new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: "The Portfolio doesn't exist", - }); - } - - return numberedPortfolio; - } - - /** - * Delete a Portfolio by ID - * - * @note required role: - * - Portfolio Custodian - */ - public delete: ProcedureMethod<{ portfolio: BigNumber | NumberedPortfolio }, void>; - - /** - * Retrieve a list of transactions where this identity was involved. Can be filtered using parameters - * - * @param filters.account - Account involved in the settlement - * @param filters.ticker - ticker involved in the transaction - * - * @note uses the middlewareV2 - */ - public async getTransactionHistory( - filters: { - account?: string; - ticker?: string; - } = {} - ): Promise { - const { - context, - parent: { did: identityId }, - } = this; - - const { account, ticker } = filters; - - const address = account ? addressToKey(account, context) : undefined; - - const settlementsPromise = context.queryMiddleware>( - settlementsForAllPortfoliosQuery({ - identityId, - address, - ticker, - }) - ); - - const portfolioMovementsPromise = context.queryMiddleware>( - portfoliosMovementsQuery({ - identityId, - address, - ticker, - }) - ); - - const [settlementsResult, portfolioMovementsResult] = await Promise.all([ - settlementsPromise, - portfolioMovementsPromise, - ]); - - return toHistoricalSettlements( - settlementsResult, - portfolioMovementsResult, - identityId, - context - ); - } -} diff --git a/src/api/entities/Identity/__tests__/AssetPermissions.ts b/src/api/entities/Identity/__tests__/AssetPermissions.ts deleted file mode 100644 index 9ab84a34e6..0000000000 --- a/src/api/entities/Identity/__tests__/AssetPermissions.ts +++ /dev/null @@ -1,501 +0,0 @@ -import { PolymeshPrimitivesIdentityId, PolymeshPrimitivesTicker } from '@polkadot/types/lookup'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { - Context, - Identity, - KnownPermissionGroup, - Namespace, - PolymeshTransaction, -} from '~/internal'; -import { tickerExternalAgentActionsQuery, tickerExternalAgentsQuery } from '~/middleware/queries'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { FungibleAsset, PermissionGroupType, PermissionType, TxTags } from '~/types'; -import { tuple } from '~/types/utils'; -import * as utilsConversionModule from '~/utils/conversion'; - -import { AssetPermissions } from '../AssetPermissions'; - -jest.mock( - '~/base/Procedure', - require('~/testUtils/mocks/procedure').mockProcedureModule('~/base/Procedure') -); - -describe('AssetPermissions class', () => { - const did = 'someDid'; - const ticker = 'SOME_TICKER'; - let asset: Mocked; - - let context: Mocked; - let assetPermissions: AssetPermissions; - let identity: Identity; - - beforeAll(() => { - dsMockUtils.initMocks(); - entityMockUtils.initMocks(); - procedureMockUtils.initMocks(); - }); - - beforeEach(() => { - context = dsMockUtils.getContextInstance(); - identity = entityMockUtils.getIdentityInstance({ did }); - asset = entityMockUtils.getFungibleAssetInstance({ ticker }); - assetPermissions = new AssetPermissions(identity, context); - }); - - afterEach(() => { - entityMockUtils.reset(); - dsMockUtils.reset(); - procedureMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - procedureMockUtils.cleanup(); - }); - - it('should extend namespace', () => { - expect(AssetPermissions.prototype instanceof Namespace).toBe(true); - }); - - describe('method: getGroup', () => { - it('should throw an error if the Identity is no longer an Agent', async () => { - dsMockUtils.createQueryMock('externalAgents', 'groupOfAgent', { - returnValue: dsMockUtils.createMockOption(), - }); - - let error; - - try { - await assetPermissions.getGroup({ asset }); - } catch (err) { - error = err; - } - - expect(error.message).toBe('This Identity is no longer an Agent for this Asset'); - }); - - it('should return the permission group associated with the Agent', async () => { - dsMockUtils.createQueryMock('externalAgents', 'groupOfAgent', { - returnValue: dsMockUtils.createMockOption(dsMockUtils.createMockAgentGroup('Full')), - }); - - const result = await assetPermissions.getGroup({ asset }); - - expect(result instanceof KnownPermissionGroup).toEqual(true); - expect((result as KnownPermissionGroup).type).toEqual(PermissionGroupType.Full); - }); - }); - - describe('method: enabledAt', () => { - it('should return the event identifier object of the agent added', async () => { - const blockNumber = new BigNumber(1234); - const blockDate = new Date('4/14/2020'); - const blockHash = 'someHash'; - const eventIdx = new BigNumber(1); - const variables = { - assetId: ticker, - }; - const fakeResult = { blockNumber, blockHash, blockDate, eventIndex: eventIdx }; - - dsMockUtils.createApolloQueryMock(tickerExternalAgentsQuery(variables), { - tickerExternalAgents: { - nodes: [ - { - createdBlock: { - blockId: blockNumber.toNumber(), - datetime: blockDate, - hash: blockHash, - }, - eventIdx: eventIdx.toNumber(), - }, - ], - }, - }); - - const result = await assetPermissions.enabledAt({ asset }); - - expect(result).toEqual(fakeResult); - }); - - it('should return null if the query result is empty', async () => { - const variables = { - assetId: ticker, - }; - - dsMockUtils.createApolloQueryMock(tickerExternalAgentsQuery(variables), { - tickerExternalAgents: { nodes: [] }, - }); - const result = await assetPermissions.enabledAt({ asset }); - expect(result).toBeNull(); - }); - }); - - describe('method: setGroup', () => { - it('should prepare the procedure and return the resulting transaction', async () => { - const group = { - transactions: { - type: PermissionType.Include, - values: [], - }, - asset, - }; - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args: { identity, group }, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const tx = await assetPermissions.setGroup({ group }); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: checkPermissions', () => { - beforeAll(() => { - entityMockUtils.initMocks(); - }); - - afterEach(() => { - entityMockUtils.reset(); - }); - - it('should check whether the Identity has the appropriate permissions for the Asset', async () => { - dsMockUtils.createQueryMock('externalAgents', 'groupOfAgent', { - returnValue: dsMockUtils.createMockOption(), - }); - - let result = await assetPermissions.checkPermissions({ asset, transactions: null }); - - expect(result).toEqual({ - result: false, - missingPermissions: null, - message: 'The Identity is not an Agent for the Asset', - }); - dsMockUtils.createQueryMock('externalAgents', 'groupOfAgent', { - returnValue: dsMockUtils.createMockOption(dsMockUtils.createMockAgentGroup('Full')), - }); - - result = await assetPermissions.checkPermissions({ asset, transactions: null }); - - expect(result).toEqual({ result: true }); - - dsMockUtils.createQueryMock('externalAgents', 'groupOfAgent', { - returnValue: dsMockUtils.createMockOption(dsMockUtils.createMockAgentGroup('ExceptMeta')), - }); - - result = await assetPermissions.checkPermissions({ asset, transactions: null }); - - expect(result).toEqual({ result: false, missingPermissions: null }); - - result = await assetPermissions.checkPermissions({ - asset, - transactions: [TxTags.externalAgents.RemoveAgent], - }); - - expect(result).toEqual({ - result: false, - missingPermissions: [TxTags.externalAgents.RemoveAgent], - }); - - result = await assetPermissions.checkPermissions({ - asset, - transactions: [TxTags.asset.ControllerTransfer], - }); - - expect(result).toEqual({ result: true }); - - dsMockUtils.createQueryMock('externalAgents', 'groupOfAgent', { - returnValue: dsMockUtils.createMockOption( - dsMockUtils.createMockAgentGroup('PolymeshV1PIA') - ), - }); - - result = await assetPermissions.checkPermissions({ - asset, - transactions: [TxTags.asset.CreateAsset], - }); - - expect(result).toEqual({ - result: false, - missingPermissions: [TxTags.asset.CreateAsset], - }); - - result = await assetPermissions.checkPermissions({ - asset, - transactions: [TxTags.asset.ControllerTransfer, TxTags.sto.Invest], - }); - - expect(result).toEqual({ - result: false, - missingPermissions: [TxTags.sto.Invest], - }); - - result = await assetPermissions.checkPermissions({ - asset, - transactions: [TxTags.asset.ControllerTransfer, TxTags.sto.FreezeFundraiser], - }); - - expect(result).toEqual({ - result: true, - }); - - dsMockUtils.createQueryMock('externalAgents', 'groupOfAgent', { - returnValue: dsMockUtils.createMockOption( - dsMockUtils.createMockAgentGroup('PolymeshV1CAA') - ), - }); - - result = await assetPermissions.checkPermissions({ - asset, - transactions: [TxTags.asset.CreateAsset], - }); - - expect(result).toEqual({ - result: false, - missingPermissions: [TxTags.asset.CreateAsset], - }); - - result = await assetPermissions.checkPermissions({ - asset, - transactions: [TxTags.corporateAction.ChangeRecordDate], - }); - - expect(result).toEqual({ - result: true, - }); - - dsMockUtils.createQueryMock('externalAgents', 'groupOfAgent', { - returnValue: dsMockUtils.createMockOption( - dsMockUtils.createMockAgentGroup({ Custom: dsMockUtils.createMockU32(new BigNumber(1)) }) - ), - }); - dsMockUtils.createQueryMock('externalAgents', 'groupPermissions', { - returnValue: dsMockUtils.createMockOption( - dsMockUtils.createMockExtrinsicPermissions('Whole') - ), - }); - - result = await assetPermissions.checkPermissions({ - asset, - transactions: [TxTags.corporateAction.ChangeRecordDate], - }); - - expect(result).toEqual({ - result: true, - }); - - /* eslint-disable @typescript-eslint/naming-convention */ - dsMockUtils.createQueryMock('externalAgents', 'groupPermissions', { - returnValue: dsMockUtils.createMockOption( - dsMockUtils.createMockExtrinsicPermissions({ - These: [ - dsMockUtils.createMockPalletPermissions({ - palletName: 'asset', - dispatchableNames: { - Except: [dsMockUtils.createMockBytes('createAsset')], - }, - }), - ], - }) - ), - }); - - result = await assetPermissions.checkPermissions({ - asset, - transactions: null, - }); - - expect(result).toEqual({ - result: false, - missingPermissions: null, - }); - - result = await assetPermissions.checkPermissions({ - asset, - transactions: [TxTags.asset.CreateAsset], - }); - - expect(result).toEqual({ - result: false, - missingPermissions: [TxTags.asset.CreateAsset], - }); - - dsMockUtils.createQueryMock('externalAgents', 'groupPermissions', { - returnValue: dsMockUtils.createMockOption( - dsMockUtils.createMockExtrinsicPermissions({ - Except: [ - dsMockUtils.createMockPalletPermissions({ - palletName: 'asset', - dispatchableNames: 'Whole', - }), - ], - }) - ), - }); - - result = await assetPermissions.checkPermissions({ - asset, - transactions: [TxTags.identity.AddClaim], - }); - - expect(result).toEqual({ - result: true, - }); - /* eslint-enable @typescript-eslint/naming-convention */ - }); - - it('should throw an error if the transaction array is empty', () => { - return expect(assetPermissions.checkPermissions({ asset, transactions: [] })).rejects.toThrow( - 'Cannot check Permissions for an empty transaction array' - ); - }); - }); - - describe('method: waive', () => { - it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { - const args = { - asset, - identity, - }; - - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const tx = await assetPermissions.waive(args); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: get', () => { - let rawDid: PolymeshPrimitivesIdentityId; - let rawTicker: PolymeshPrimitivesTicker; - let stringToIdentityIdSpy: jest.SpyInstance; - - beforeAll(() => { - stringToIdentityIdSpy = jest.spyOn(utilsConversionModule, 'stringToIdentityId'); - rawDid = dsMockUtils.createMockIdentityId(did); - rawTicker = dsMockUtils.createMockTicker(ticker); - }); - - beforeEach(() => { - when(stringToIdentityIdSpy).calledWith(did, context).mockReturnValue(rawDid); - }); - - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should return a list of AgentWithGroup', async () => { - const group = entityMockUtils.getKnownPermissionGroupInstance({ - ticker, - type: PermissionGroupType.Full, - getPermissions: { - transactions: null, - transactionGroups: [], - }, - }); - - entityMockUtils.configureMocks({ - fungibleAssetOptions: { - ticker, - }, - }); - - jest.spyOn(assetPermissions, 'getGroup').mockResolvedValue(group); - - dsMockUtils.createQueryMock('externalAgents', 'agentOf', { - entries: [tuple([rawDid, rawTicker], {})], - }); - - const result = await assetPermissions.get(); - expect(result.length).toEqual(1); - expect(result[0].asset.ticker).toEqual(ticker); - expect(result[0].group instanceof KnownPermissionGroup).toEqual(true); - }); - }); - - describe('method: getOperationHistory', () => { - it('should return the Events triggered by Operations the Identity has performed on a specific Asset', async () => { - const blockId = new BigNumber(1); - const blockHash = 'someHash'; - const eventIndex = new BigNumber(1); - const datetime = '2020-10-10'; - - dsMockUtils.createApolloQueryMock( - tickerExternalAgentActionsQuery( - { - assetId: ticker, - callerId: did, - palletName: undefined, - eventId: undefined, - }, - new BigNumber(1), - new BigNumber(0) - ), - { - tickerExternalAgentActions: { - totalCount: 1, - nodes: [ - { - createdBlock: { - blockId: blockId.toNumber(), - datetime, - hash: blockHash, - }, - eventIdx: eventIndex.toNumber(), - }, - ], - }, - } - ); - - let result = await assetPermissions.getOperationHistory({ - asset: ticker, - start: new BigNumber(0), - size: new BigNumber(1), - }); - - expect(result.next).toEqual(null); - expect(result.count).toEqual(new BigNumber(1)); - expect(result.data).toEqual([ - { - blockNumber: blockId, - blockHash, - blockDate: new Date(`${datetime}Z`), - eventIndex, - }, - ]); - - dsMockUtils.createApolloQueryMock( - tickerExternalAgentActionsQuery({ - assetId: ticker, - callerId: did, - palletName: undefined, - eventId: undefined, - }), - { - tickerExternalAgentActions: { - totalCount: 0, - nodes: [], - }, - } - ); - - result = await assetPermissions.getOperationHistory({ - asset: ticker, - }); - - expect(result.next).toEqual(null); - expect(result.count).toEqual(new BigNumber(0)); - expect(result.data).toEqual([]); - }); - }); -}); diff --git a/src/api/entities/Identity/__tests__/ChildIdentity.ts b/src/api/entities/Identity/__tests__/ChildIdentity.ts deleted file mode 100644 index 162f961dac..0000000000 --- a/src/api/entities/Identity/__tests__/ChildIdentity.ts +++ /dev/null @@ -1,118 +0,0 @@ -import { PolymeshPrimitivesIdentityId } from '@polkadot/types/lookup'; -import { when } from 'jest-when'; - -import { ChildIdentity, Context, Entity, PolymeshTransaction } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { MockContext } from '~/testUtils/mocks/dataSources'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/base/Procedure', - require('~/testUtils/mocks/procedure').mockProcedureModule('~/base/Procedure') -); - -describe('ChildIdentity class', () => { - let context: MockContext; - - let childIdentity: ChildIdentity; - let did: string; - - let stringToIdentityIdSpy: jest.SpyInstance; - let identityIdToStringSpy: jest.SpyInstance; - - beforeAll(() => { - dsMockUtils.initMocks(); - entityMockUtils.initMocks(); - procedureMockUtils.initMocks(); - - did = 'someDid'; - stringToIdentityIdSpy = jest.spyOn(utilsConversionModule, 'stringToIdentityId'); - identityIdToStringSpy = jest.spyOn(utilsConversionModule, 'identityIdToString'); - }); - - beforeEach(() => { - context = dsMockUtils.getContextInstance(); - childIdentity = new ChildIdentity({ did }, context); - }); - - afterEach(() => { - dsMockUtils.reset(); - entityMockUtils.reset(); - procedureMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - procedureMockUtils.reset(); - }); - - it('should extend Entity', () => { - expect(ChildIdentity.prototype).toBeInstanceOf(Entity); - }); - - describe('constructor', () => { - it('should assign did to instance', () => { - expect(childIdentity.did).toBe(did); - }); - }); - - describe('method: getParentDid', () => { - it('should parent identity for the current child identity instance', async () => { - const rawIdentity = dsMockUtils.createMockIdentityId(did); - when(stringToIdentityIdSpy).calledWith(did, context).mockReturnValue(rawIdentity); - - dsMockUtils.createQueryMock('identity', 'parentDid', { - returnValue: dsMockUtils.createMockOption(), - }); - - let result = await childIdentity.getParentDid(); - - expect(result).toBe(null); - - const parentDid = 'parentDid'; - - const rawParentDid = dsMockUtils.createMockIdentityId(parentDid); - when(identityIdToStringSpy).calledWith(rawParentDid).mockReturnValue(parentDid); - - dsMockUtils.createQueryMock('identity', 'parentDid', { - returnValue: dsMockUtils.createMockOption(rawParentDid), - }); - - result = await childIdentity.getParentDid(); - - expect(result?.did).toBe(parentDid); - }); - }); - - describe('method: getChildIdentities', () => { - it('should return an empty array', async () => { - await expect(childIdentity.getChildIdentities()).resolves.toEqual([]); - }); - }); - - describe('method: exists', () => { - it('should return whether the ChildIdentity exists', async () => { - const getParentDidSpy = jest.spyOn(childIdentity, 'getParentDid'); - - getParentDidSpy.mockResolvedValueOnce(null); - await expect(childIdentity.exists()).resolves.toBe(false); - - getParentDidSpy.mockResolvedValueOnce(entityMockUtils.getIdentityInstance()); - await expect(childIdentity.exists()).resolves.toBe(true); - }); - }); - - describe('method: unlinkFromParent', () => { - it('should prepare the procedure and return the resulting transaction', async () => { - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args: { child: childIdentity }, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const transaction = await childIdentity.unlinkFromParent(); - - expect(transaction).toBe(expectedTransaction); - }); - }); -}); diff --git a/src/api/entities/Identity/__tests__/IdentityAuthorizations.ts b/src/api/entities/Identity/__tests__/IdentityAuthorizations.ts deleted file mode 100644 index 337f9be0ed..0000000000 --- a/src/api/entities/Identity/__tests__/IdentityAuthorizations.ts +++ /dev/null @@ -1,253 +0,0 @@ -import { StorageKey } from '@polkadot/types'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { Authorizations, Identity, Namespace } from '~/internal'; -import { dsMockUtils, entityMockUtils } from '~/testUtils/mocks'; -import { AuthorizationType } from '~/types'; -import { tuple } from '~/types/utils'; -import * as utilsConversionModule from '~/utils/conversion'; -import * as utilsInternalModule from '~/utils/internal'; - -import { IdentityAuthorizations } from '../IdentityAuthorizations'; - -jest.mock( - '~/api/entities/Identity', - require('~/testUtils/mocks/entities').mockIdentityModule('~/api/entities/Identity') -); -jest.mock( - '~/api/entities/AuthorizationRequest', - require('~/testUtils/mocks/entities').mockAuthorizationRequestModule( - '~/api/entities/AuthorizationRequest' - ) -); - -describe('IdentityAuthorizations class', () => { - beforeAll(() => { - entityMockUtils.initMocks(); - dsMockUtils.initMocks(); - }); - - afterEach(() => { - entityMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should extend namespace', () => { - expect(IdentityAuthorizations.prototype instanceof Namespace).toBe(true); - }); - - describe('method: getSent', () => { - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should retrieve all pending authorizations sent by the Identity', async () => { - jest.spyOn(utilsConversionModule, 'signerValueToSignatory').mockImplementation(); - dsMockUtils.createQueryMock('identity', 'authorizationsGiven'); - - const requestPaginatedSpy = jest.spyOn(utilsInternalModule, 'requestPaginated'); - - const did = 'someDid'; - - const context = dsMockUtils.getContextInstance({ did }); - const identity = entityMockUtils.getIdentityInstance({ did }); - const authsNamespace = new IdentityAuthorizations(identity, context); - - const authParams = [ - { - authId: new BigNumber(1), - expiry: null, - data: { type: AuthorizationType.TransferAssetOwnership, value: 'myTicker' }, - target: entityMockUtils.getIdentityInstance({ did: 'alice' }), - issuer: identity, - } as const, - { - authId: new BigNumber(2), - expiry: new Date('10/14/3040'), - data: { type: AuthorizationType.TransferAssetOwnership, value: 'otherTicker' }, - target: entityMockUtils.getIdentityInstance({ did: 'bob' }), - issuer: identity, - } as const, - ]; - - /* eslint-disable @typescript-eslint/naming-convention */ - const authorizations = authParams.map(({ authId, expiry, data }) => - dsMockUtils.createMockAuthorization({ - authId: dsMockUtils.createMockU64(authId), - expiry: dsMockUtils.createMockOption( - expiry ? dsMockUtils.createMockMoment(new BigNumber(expiry.getTime())) : expiry - ), - authorizationData: dsMockUtils.createMockAuthorizationData({ - TransferAssetOwnership: dsMockUtils.createMockTicker(data.value), - }), - authorizedBy: dsMockUtils.createMockIdentityId(did), - }) - ); - - const authorizationsGivenEntries = authorizations.map( - ({ authorizedBy: issuer, authId }, index) => - tuple( - { args: [issuer, authId] } as unknown as StorageKey, - dsMockUtils.createMockSignatory({ - Identity: dsMockUtils.createMockIdentityId(authParams[index].target.did), - }) - ) - ); - - requestPaginatedSpy.mockResolvedValue({ - entries: authorizationsGivenEntries, - lastKey: null, - }); - - const authsMultiArgs = authorizationsGivenEntries.map(([keys, signatory]) => - tuple(signatory, keys.args[1]) - ); - - const authorizationsMock = dsMockUtils.createQueryMock('identity', 'authorizations'); - when(authorizationsMock.multi) - .calledWith(authsMultiArgs) - .mockResolvedValue(authorizations.map(dsMockUtils.createMockOption)); - - const expectedAuthorizations = authParams.map(({ authId, target, issuer, expiry, data }) => - entityMockUtils.getAuthorizationRequestInstance({ - authId, - issuer, - target, - expiry, - data, - }) - ); - - const result = await authsNamespace.getSent(); - - result.data.forEach(({ issuer, authId, target, expiry, data }, index) => { - const { - issuer: expectedIssuer, - authId: expectedAuthId, - target: expectedTarget, - expiry: expectedExpiry, - data: expectedData, - } = expectedAuthorizations[index]; - - expect(issuer.did).toBe(expectedIssuer.did); - expect(utilsConversionModule.signerToString(target)).toBe( - utilsConversionModule.signerToString(expectedTarget) - ); - expect(authId).toEqual(expectedAuthId); - expect(expiry).toEqual(expectedExpiry); - expect(data).toEqual(expectedData); - }); - expect(result.next).toBeNull(); - }); - }); - - describe('method: getOne', () => { - afterAll(() => { - jest.restoreAllMocks(); - }); - - beforeAll(() => { - jest.spyOn(utilsConversionModule, 'signerValueToSignatory').mockImplementation(); - jest.spyOn(utilsConversionModule, 'bigNumberToU64').mockImplementation(); - }); - - it('should return the requested Authorization Request issued by the parent Identity', async () => { - const did = 'someDid'; - const targetDid = 'alice'; - const context = dsMockUtils.getContextInstance({ did }); - const identity = entityMockUtils.getIdentityInstance({ did }); - - const identityAuthorization = new IdentityAuthorizations(identity, context); - const id = new BigNumber(1); - - const data = { type: AuthorizationType.TransferAssetOwnership, value: 'myTicker' } as const; - - dsMockUtils.createQueryMock('identity', 'authorizationsGiven', { - returnValue: dsMockUtils.createMockSignatory({ - Identity: dsMockUtils.createMockIdentityId(targetDid), - }), - }); - - /* eslint-disable @typescript-eslint/naming-convention */ - dsMockUtils.createQueryMock('identity', 'authorizations', { - returnValue: dsMockUtils.createMockOption( - dsMockUtils.createMockAuthorization({ - authId: dsMockUtils.createMockU64(id), - authorizationData: dsMockUtils.createMockAuthorizationData({ - TransferAssetOwnership: dsMockUtils.createMockTicker(data.value), - }), - expiry: dsMockUtils.createMockOption(), - authorizedBy: dsMockUtils.createMockIdentityId(did), - }) - ), - }); - /* eslint-enable @typescript-eslint/naming-convention */ - - const result = await identityAuthorization.getOne({ id }); - - expect(result.authId).toEqual(id); - expect(result.expiry).toBeNull(); - expect(result.data).toEqual(data); - expect((result.target as Identity).did).toEqual(targetDid); - expect(result.issuer.did).toEqual(did); - }); - - it('should return the requested Authorization Request targeting the parent Identity', async () => { - const did = 'someDid'; - const issuerDid = 'alice'; - const context = dsMockUtils.getContextInstance({ did }); - const identity = entityMockUtils.getIdentityInstance({ did }); - - const identityAuthorization = new IdentityAuthorizations(identity, context); - const id = new BigNumber(1); - - const data = { type: AuthorizationType.TransferAssetOwnership, value: 'myTicker' } as const; - - dsMockUtils.createQueryMock('identity', 'authorizationsGiven', { - returnValue: dsMockUtils.createMockSignatory(), - }); - - const authParams = { - authId: id, - expiry: null, - data, - target: identity, - issuer: entityMockUtils.getIdentityInstance({ did: issuerDid }), - }; - const mockAuthRequest = entityMockUtils.getAuthorizationRequestInstance(authParams); - - const spy = jest.spyOn(Authorizations.prototype, 'getOne').mockResolvedValue(mockAuthRequest); - - const result = await identityAuthorization.getOne({ id }); - - expect(result).toBe(mockAuthRequest); - spy.mockRestore(); - }); - - it('should throw an error if the Authorization Request does not exist', async () => { - const did = 'someDid'; - const context = dsMockUtils.getContextInstance({ did }); - const identity = entityMockUtils.getIdentityInstance({ did }); - const authsNamespace = new IdentityAuthorizations(identity, context); - const id = new BigNumber(1); - - dsMockUtils.createQueryMock('identity', 'authorizationsGiven', { - returnValue: dsMockUtils.createMockSignatory(), - }); - - const spy = jest - .spyOn(Authorizations.prototype, 'getOne') - .mockRejectedValue(new Error('The Authorization Request does not exist')); - - await expect(authsNamespace.getOne({ id })).rejects.toThrow( - 'The Authorization Request does not exist' - ); - spy.mockRestore(); - }); - }); -}); diff --git a/src/api/entities/Identity/__tests__/Portfolios.ts b/src/api/entities/Identity/__tests__/Portfolios.ts deleted file mode 100644 index fe5f2e42b5..0000000000 --- a/src/api/entities/Identity/__tests__/Portfolios.ts +++ /dev/null @@ -1,456 +0,0 @@ -import { StorageKey, u64 } from '@polkadot/types'; -import { PolymeshPrimitivesIdentityId } from '@polkadot/types/lookup'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { - Context, - DefaultPortfolio, - Identity, - Namespace, - NumberedPortfolio, - PolymeshTransaction, -} from '~/internal'; -import { portfoliosMovementsQuery, settlementsForAllPortfoliosQuery } from '~/middleware/queries'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { FungibleLeg, SettlementDirectionEnum, SettlementResultEnum } from '~/types'; -import { tuple } from '~/types/utils'; -import * as utilsConversionModule from '~/utils/conversion'; -import * as utilsInternalModule from '~/utils/internal'; - -import { Portfolios } from '../Portfolios'; - -jest.mock( - '~/api/entities/NumberedPortfolio', - require('~/testUtils/mocks/entities').mockNumberedPortfolioModule( - '~/api/entities/NumberedPortfolio' - ) -); -jest.mock( - '~/base/Procedure', - require('~/testUtils/mocks/procedure').mockProcedureModule('~/base/Procedure') -); - -describe('Portfolios class', () => { - const did = 'someDid'; - const rawIdentityId = dsMockUtils.createMockIdentityId(did); - const numberedPortfolioId = new BigNumber(1); - const rawNumberedPortfolioId = dsMockUtils.createMockU64(numberedPortfolioId); - let mockContext: Mocked; - let stringToIdentityIdSpy: jest.SpyInstance; - let u64ToBigNumberSpy: jest.SpyInstance; - let portfolios: Portfolios; - let identity: Identity; - - beforeAll(() => { - dsMockUtils.initMocks(); - entityMockUtils.initMocks(); - procedureMockUtils.initMocks(); - stringToIdentityIdSpy = jest.spyOn(utilsConversionModule, 'stringToIdentityId'); - u64ToBigNumberSpy = jest.spyOn(utilsConversionModule, 'u64ToBigNumber'); - }); - - beforeEach(() => { - mockContext = dsMockUtils.getContextInstance(); - identity = new Identity({ did }, mockContext); - portfolios = new Portfolios(identity, mockContext); - }); - - afterEach(() => { - entityMockUtils.reset(); - dsMockUtils.reset(); - procedureMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - procedureMockUtils.cleanup(); - }); - - it('should extend namespace', () => { - expect(Portfolios.prototype instanceof Namespace).toBe(true); - }); - - describe('method: getPortfolios', () => { - it('should retrieve all the portfolios for the Identity', async () => { - dsMockUtils.createQueryMock('portfolio', 'portfolios', { - entries: [ - tuple( - [dsMockUtils.createMockIdentityId(did), rawNumberedPortfolioId], - dsMockUtils.createMockBytes() - ), - ], - }); - - when(stringToIdentityIdSpy).calledWith(did, mockContext).mockReturnValue(rawIdentityId); - u64ToBigNumberSpy.mockReturnValue(numberedPortfolioId); - - const result = await portfolios.getPortfolios(); - expect(result).toHaveLength(2); - expect(result[0] instanceof DefaultPortfolio).toBe(true); - expect(result[1] instanceof NumberedPortfolio).toBe(true); - expect(result[0].owner.did).toEqual(did); - expect(result[1].id).toEqual(numberedPortfolioId); - }); - }); - - describe('method: getCustodiedPortfolios', () => { - it('should retrieve all the Portfolios custodied by the Identity', async () => { - dsMockUtils.createQueryMock('portfolio', 'portfoliosInCustody'); - - const entries = [ - tuple( - { - args: [ - rawIdentityId, - dsMockUtils.createMockPortfolioId({ - did: rawIdentityId, - kind: dsMockUtils.createMockPortfolioKind('Default'), - }), - ], - } as unknown as StorageKey, - dsMockUtils.createMockBool(true) - ), - tuple( - { - args: [ - rawIdentityId, - dsMockUtils.createMockPortfolioId({ - did: rawIdentityId, - kind: dsMockUtils.createMockPortfolioKind({ User: rawNumberedPortfolioId }), - }), - ], - } as unknown as StorageKey, - dsMockUtils.createMockBool(true) - ), - ]; - - jest - .spyOn(utilsInternalModule, 'requestPaginated') - .mockResolvedValue({ entries, lastKey: null }); - - when(stringToIdentityIdSpy).calledWith(did, mockContext).mockReturnValue(rawIdentityId); - u64ToBigNumberSpy.mockReturnValue(numberedPortfolioId); - - const { data } = await portfolios.getCustodiedPortfolios(); - expect(data).toHaveLength(2); - expect(data[0] instanceof DefaultPortfolio).toBe(true); - expect(data[1] instanceof NumberedPortfolio).toBe(true); - expect(data[0].owner.did).toEqual(did); - expect((data[1] as NumberedPortfolio).id).toEqual(numberedPortfolioId); - }); - }); - - describe('method: getPortfolio', () => { - it('should return the default portfolio for the signing Identity', async () => { - const result = await portfolios.getPortfolio(); - expect(result instanceof DefaultPortfolio).toBe(true); - expect(result.owner.did).toEqual(did); - }); - - it('should return a numbered portfolio', async () => { - const portfolioId = new BigNumber(1); - - const result = await portfolios.getPortfolio({ portfolioId }); - - expect(result instanceof NumberedPortfolio).toBe(true); - expect(result.id).toEqual(portfolioId); - }); - - it("should throw an error if a numbered portfolio doesn't exist", () => { - const portfolioId = new BigNumber(1); - - entityMockUtils.configureMocks({ - numberedPortfolioOptions: { - exists: false, - }, - }); - - return expect(portfolios.getPortfolio({ portfolioId })).rejects.toThrow( - "The Portfolio doesn't exist" - ); - }); - }); - - describe('method: delete', () => { - it('should prepare the procedure and return the resulting transaction', async () => { - const portfolioId = new BigNumber(5); - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args: { id: portfolioId, did }, transformer: undefined }, mockContext, {}) - .mockResolvedValue(expectedTransaction); - - let tx = await portfolios.delete({ portfolio: portfolioId }); - - expect(tx).toBe(expectedTransaction); - - tx = await portfolios.delete({ - portfolio: new NumberedPortfolio({ id: portfolioId, did }, mockContext), - }); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: getTransactionHistory', () => { - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should return a list of transactions', async () => { - const account = 'someAccount'; - const key = 'someKey'; - - const blockNumber1 = new BigNumber(1); - const blockNumber2 = new BigNumber(2); - - const blockHash1 = 'someHash'; - const blockHash2 = 'otherHash'; - const blockHash3 = 'hash3'; - - const ticker1 = 'TICKER_1'; - const ticker2 = 'TICKER_2'; - - const amount1 = new BigNumber(1000); - const amount2 = new BigNumber(2000); - - const portfolioDid1 = 'portfolioDid1'; - const portfolioNumber1 = '0'; - - const portfolioDid2 = 'someDid'; - const portfolioNumber2 = '1'; - - const portfolioId2 = new BigNumber(portfolioNumber2); - - const legs1 = [ - { - assetId: ticker1, - amount: amount1, - direction: SettlementDirectionEnum.Incoming, - addresses: ['be865155e5b6be843e99117a825e9580bb03e401a9c2ace644fff604fe624917'], - from: { - number: portfolioNumber1, - identityId: portfolioDid1, - }, - fromId: `${portfolioDid1}/${portfolioNumber1}`, - to: { - number: portfolioNumber2, - identityId: did, - }, - toId: `${did}/${portfolioNumber2}`, - }, - ]; - const legs2 = [ - { - assetId: ticker2, - amount: amount2, - direction: SettlementDirectionEnum.Outgoing, - addresses: ['be865155e5b6be843e99117a825e9580bb03e401a9c2ace644fff604fe624917'], - to: { - number: portfolioNumber1, - identityId: portfolioDid1, - }, - toId: `${portfolioDid1}/${portfolioNumber1}`, - from: { - number: portfolioNumber2, - identityId: did, - }, - fromId: `${did}/${portfolioNumber2}`, - }, - ]; - - const legs3 = [ - { - assetId: ticker2, - amount: amount2, - direction: SettlementDirectionEnum.None, - addresses: ['be865155e5b6be843e99117a825e9580bb03e401a9c2ace644fff604fe624917'], - to: { - number: portfolioNumber1, - identityId: did, - }, - toId: `${did}/${portfolioNumber1}`, - from: { - number: portfolioNumber2, - identityId: did, - }, - fromId: `${did}/${portfolioNumber2}`, - }, - ]; - - const legs4 = [ - { - assetId: ticker2, - amount: amount2, - direction: SettlementDirectionEnum.None, - addresses: ['be865155e5b6be843e99117a825e9580bb03e401a9c2ace644fff604fe624917'], - to: { - number: portfolioNumber1, - identityId: did, - }, - toId: `${did}/${portfolioNumber1}`, - from: { - number: portfolioNumber1, - identityId: did, - }, - fromId: `${did}/${portfolioNumber1}`, - }, - ]; - - const settlementsResponse = { - nodes: [ - { - settlement: { - createdBlock: { - blockId: blockNumber1.toNumber(), - hash: blockHash1, - }, - result: SettlementResultEnum.Executed, - legs: { nodes: legs1 }, - }, - }, - { - settlement: { - createdBlock: { - blockId: blockNumber2.toNumber(), - hash: blockHash2, - }, - result: SettlementResultEnum.Executed, - legs: { nodes: legs2 }, - }, - }, - { - settlement: { - createdBlock: { - blockId: blockNumber2.toNumber(), - hash: blockHash3, - }, - result: SettlementResultEnum.Executed, - legs: { nodes: legs3 }, - }, - }, - { - settlement: { - createdBlock: { - blockId: blockNumber2.toNumber(), - hash: blockHash3, - }, - result: SettlementResultEnum.Executed, - legs: { nodes: legs4 }, - }, - }, - ], - }; - - dsMockUtils.configureMocks({ contextOptions: { withSigningManager: true } }); - when(jest.spyOn(utilsConversionModule, 'addressToKey')) - .calledWith(account, mockContext) - .mockReturnValue(key); - - dsMockUtils.createApolloMultipleQueriesMock([ - { - query: settlementsForAllPortfoliosQuery({ - identityId: did, - address: key, - ticker: undefined, - }), - returnData: { - legs: settlementsResponse, - }, - }, - { - query: portfoliosMovementsQuery({ - identityId: did, - address: key, - ticker: undefined, - }), - returnData: { - portfolioMovements: { - nodes: [], - }, - }, - }, - ]); - - let result = await identity.portfolios.getTransactionHistory({ - account, - }); - - expect(result[0].blockNumber).toEqual(blockNumber1); - expect(result[1].blockNumber).toEqual(blockNumber2); - expect(result[0].blockHash).toBe(blockHash1); - expect(result[1].blockHash).toBe(blockHash2); - expect(result[0].legs[0].asset.ticker).toBe(ticker1); - expect(result[1].legs[0].asset.ticker).toBe(ticker2); - expect((result[0].legs[0] as FungibleLeg).amount).toEqual(amount1.div(Math.pow(10, 6))); - expect((result[1].legs[0] as FungibleLeg).amount).toEqual(amount2.div(Math.pow(10, 6))); - expect(result[0].legs[0].from.owner.did).toBe(portfolioDid1); - expect(result[0].legs[0].to.owner.did).toBe(portfolioDid2); - expect((result[0].legs[0].to as NumberedPortfolio).id).toEqual(portfolioId2); - expect(result[1].legs[0].from.owner.did).toBe(portfolioDid2); - expect((result[1].legs[0].from as NumberedPortfolio).id).toEqual(portfolioId2); - expect(result[1].legs[0].to.owner.did).toEqual(portfolioDid1); - expect(result[2].legs[0].direction).toEqual(SettlementDirectionEnum.None); - expect(result[3].legs[0].direction).toEqual(SettlementDirectionEnum.None); - - dsMockUtils.createApolloMultipleQueriesMock([ - { - query: settlementsForAllPortfoliosQuery({ - identityId: did, - address: undefined, - ticker: undefined, - }), - returnData: { - legs: { - nodes: [], - }, - }, - }, - { - query: portfoliosMovementsQuery({ - identityId: did, - address: undefined, - ticker: undefined, - }), - returnData: { - portfolioMovements: { - nodes: [ - { - createdBlock: { - blockId: blockNumber1.toNumber(), - hash: 'someHash', - }, - assetId: ticker2, - amount: amount2, - address: 'be865155e5b6be843e99117a825e9580bb03e401a9c2ace644fff604fe624917', - from: { - number: portfolioNumber1, - identityId: portfolioDid1, - }, - fromId: `${portfolioDid1}/${portfolioNumber1}`, - to: { - number: portfolioNumber2, - identityId: portfolioDid1, - }, - toId: `${portfolioDid1}/${portfolioNumber2}`, - }, - ], - }, - }, - }, - ]); - - result = await identity.portfolios.getTransactionHistory(); - - expect(result[0].blockNumber).toEqual(blockNumber1); - expect(result[0].blockHash).toBe(blockHash1); - expect(result[0].legs[0].asset.ticker).toBe(ticker2); - expect((result[0].legs[0] as FungibleLeg).amount).toEqual(amount2.div(Math.pow(10, 6))); - expect(result[0].legs[0].from.owner.did).toBe(portfolioDid1); - expect(result[0].legs[0].to.owner.did).toBe(portfolioDid1); - expect((result[0].legs[0].to as NumberedPortfolio).id).toEqual(portfolioId2); - }); - }); -}); diff --git a/src/api/entities/Identity/__tests__/index.ts b/src/api/entities/Identity/__tests__/index.ts deleted file mode 100644 index 6060052a2a..0000000000 --- a/src/api/entities/Identity/__tests__/index.ts +++ /dev/null @@ -1,1473 +0,0 @@ -import { StorageKey, u64 } from '@polkadot/types'; -import { AccountId, Balance } from '@polkadot/types/interfaces'; -import { - PolymeshPrimitivesIdentityDidRecord, - PolymeshPrimitivesIdentityId, - PolymeshPrimitivesSecondaryKeyKeyRecord, - PolymeshPrimitivesSecondaryKeyPermissions, - PolymeshPrimitivesTicker, -} from '@polkadot/types/lookup'; -import { bool } from '@polkadot/types/primitive'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { - Context, - Entity, - FungibleAsset, - Identity, - PolymeshError, - PolymeshTransaction, -} from '~/internal'; -import { - assetHoldersQuery, - instructionsByDidQuery, - nftHoldersQuery, - trustingAssetsQuery, -} from '~/middleware/queries'; -import { AssetHoldersOrderBy, NftHoldersOrderBy } from '~/middleware/types'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { MockContext } from '~/testUtils/mocks/dataSources'; -import { - Account, - ConfidentialAssetOwnerRole, - ConfidentialLegParty, - ConfidentialVenueOwnerRole, - DistributionWithDetails, - ErrorCode, - HistoricInstruction, - IdentityRole, - PermissionedAccount, - Permissions, - PortfolioCustodianRole, - Role, - RoleType, - TickerOwnerRole, - VenueOwnerRole, - VenueType, -} from '~/types'; -import { tuple } from '~/types/utils'; -import * as utilsConversionModule from '~/utils/conversion'; -import * as utilsInternalModule from '~/utils/internal'; - -jest.mock( - '~/api/entities/TickerReservation', - require('~/testUtils/mocks/entities').mockTickerReservationModule( - '~/api/entities/TickerReservation' - ) -); -jest.mock( - '~/api/entities/Asset/Fungible', - require('~/testUtils/mocks/entities').mockFungibleAssetModule('~/api/entities/Asset/Fungible') -); -jest.mock( - '~/api/entities/Account', - require('~/testUtils/mocks/entities').mockAccountModule('~/api/entities/Account') -); -jest.mock( - '~/api/entities/Venue', - require('~/testUtils/mocks/entities').mockVenueModule('~/api/entities/Venue') -); -jest.mock( - '~/api/entities/confidential/ConfidentialAsset', - require('~/testUtils/mocks/entities').mockConfidentialAssetModule( - '~/api/entities/confidential/ConfidentialAsset' - ) -); -jest.mock( - '~/api/entities/NumberedPortfolio', - require('~/testUtils/mocks/entities').mockNumberedPortfolioModule( - '~/api/entities/NumberedPortfolio' - ) -); -jest.mock( - '~/api/entities/DefaultPortfolio', - require('~/testUtils/mocks/entities').mockDefaultPortfolioModule( - '~/api/entities/DefaultPortfolio' - ) -); -jest.mock( - '~/api/entities/Identity/ChildIdentity', - require('~/testUtils/mocks/entities').mockChildIdentityModule( - '~/api/entities/Identity/ChildIdentity' - ) -); -jest.mock( - '~/api/entities/Instruction', - require('~/testUtils/mocks/entities').mockInstructionModule('~/api/entities/Instruction') -); - -jest.mock( - '~/base/Procedure', - require('~/testUtils/mocks/procedure').mockProcedureModule('~/base/Procedure') -); - -jest.mock( - '~/api/entities/confidential/ConfidentialVenue', - require('~/testUtils/mocks/entities').mockConfidentialVenueModule( - '~/api/entities/confidential/ConfidentialVenue' - ) -); - -describe('Identity class', () => { - let context: MockContext; - let stringToIdentityIdSpy: jest.SpyInstance; - let identityIdToStringSpy: jest.SpyInstance; - let u64ToBigNumberSpy: jest.SpyInstance; - - beforeAll(() => { - dsMockUtils.initMocks(); - entityMockUtils.initMocks(); - procedureMockUtils.initMocks(); - stringToIdentityIdSpy = jest.spyOn(utilsConversionModule, 'stringToIdentityId'); - identityIdToStringSpy = jest.spyOn(utilsConversionModule, 'identityIdToString'); - u64ToBigNumberSpy = jest.spyOn(utilsConversionModule, 'u64ToBigNumber'); - }); - - beforeEach(() => { - context = dsMockUtils.getContextInstance({ - middlewareEnabled: true, - }); - }); - - afterEach(() => { - dsMockUtils.reset(); - entityMockUtils.reset(); - procedureMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - procedureMockUtils.cleanup(); - }); - - it('should extend Entity', () => { - expect(Identity.prototype instanceof Entity).toBe(true); - }); - - describe('constructor', () => { - it('should assign did to instance', () => { - const did = 'abc'; - const identity = new Identity({ did }, context); - - expect(identity.did).toBe(did); - }); - }); - - describe('method: isUniqueIdentifiers', () => { - it('should return true if the object conforms to the interface', () => { - expect(Identity.isUniqueIdentifiers({ did: 'someDid' })).toBe(true); - expect(Identity.isUniqueIdentifiers({})).toBe(false); - expect(Identity.isUniqueIdentifiers({ did: 3 })).toBe(false); - }); - }); - - describe('method: checkRoles', () => { - beforeAll(() => { - entityMockUtils.initMocks(); - }); - - afterEach(() => { - entityMockUtils.reset(); - }); - - it('should return whether the Identity possesses all roles', async () => { - const identity = new Identity({ did: 'someDid' }, context); - const roles: TickerOwnerRole[] = [ - { type: RoleType.TickerOwner, ticker: 'SOME_TICKER' }, - { type: RoleType.TickerOwner, ticker: 'otherTicker' }, - ]; - const spy = jest.spyOn(identity, 'isEqual').mockReturnValue(true); - - let result = await identity.checkRoles(roles); - - expect(result).toEqual({ - result: true, - }); - - const mock = jest.fn(); - - mock - .mockResolvedValueOnce({ - owner: identity, - }) - .mockResolvedValue({ - owner: null, - }); - - entityMockUtils.configureMocks({ - tickerReservationOptions: { - details: mock, - }, - }); - - result = await identity.checkRoles(roles); - - expect(result).toEqual({ - result: false, - missingRoles: [{ type: RoleType.TickerOwner, ticker: 'otherTicker' }], - }); - - spy.mockRestore(); - }); - }); - - describe('method: hasRole', () => { - beforeAll(() => { - entityMockUtils.initMocks(); - }); - - afterEach(() => { - entityMockUtils.reset(); - }); - - it('should check whether the Identity has the Ticker Owner role', async () => { - const identity = new Identity({ did: 'someDid' }, context); - const role: TickerOwnerRole = { type: RoleType.TickerOwner, ticker: 'SOME_TICKER' }; - const spy = jest.spyOn(identity, 'isEqual').mockReturnValue(true); - - let hasRole = await identity.hasRole(role); - - expect(hasRole).toBe(true); - - identity.did = 'otherDid'; - spy.mockReturnValue(false); - - hasRole = await identity.hasRole(role); - - expect(hasRole).toBe(false); - spy.mockRestore(); - }); - - it('should check whether the Identity has the CDD Provider role', async () => { - const did = 'someDid'; - const identity = new Identity({ did }, context); - const role: Role = { type: RoleType.CddProvider }; - const rawDid = dsMockUtils.createMockIdentityId(did); - - dsMockUtils - .createQueryMock('cddServiceProviders', 'activeMembers') - .mockResolvedValue([rawDid]); - - when(identityIdToStringSpy).calledWith(rawDid).mockReturnValue(did); - - let hasRole = await identity.hasRole(role); - - expect(hasRole).toBe(true); - - identity.did = 'otherDid'; - - hasRole = await identity.hasRole(role); - - expect(hasRole).toBe(false); - }); - - it('should check whether the Identity has the Venue Owner role', async () => { - const did = 'someDid'; - const identity = new Identity({ did }, context); - const role: VenueOwnerRole = { type: RoleType.VenueOwner, venueId: new BigNumber(10) }; - - entityMockUtils.configureMocks({ - venueOptions: { - details: { - owner: new Identity({ did }, context), - type: VenueType.Sto, - description: 'aVenue', - }, - }, - }); - - const spy = jest.spyOn(identity, 'isEqual').mockReturnValue(true); - let hasRole = await identity.hasRole(role); - - expect(hasRole).toBe(true); - - identity.did = 'otherDid'; - - spy.mockReturnValue(false); - hasRole = await identity.hasRole(role); - - expect(hasRole).toBe(false); - spy.mockRestore(); - }); - - it('should check whether the Identity has the Confidential Venue Owner role', async () => { - const did = 'someDid'; - const identity = new Identity({ did }, context); - const role: ConfidentialVenueOwnerRole = { - type: RoleType.ConfidentialVenueOwner, - venueId: new BigNumber(10), - }; - - entityMockUtils.configureMocks({ - confidentialVenueOptions: { - creator: entityMockUtils.getIdentityInstance({ did }), - }, - }); - - const spy = jest.spyOn(identity, 'isEqual').mockReturnValue(true); - let hasRole = await identity.hasRole(role); - - expect(hasRole).toBe(true); - - identity.did = 'otherDid'; - - spy.mockReturnValue(false); - hasRole = await identity.hasRole(role); - - expect(hasRole).toBe(false); - spy.mockRestore(); - }); - - it('should check whether the Identity has the Portfolio Custodian role', async () => { - const did = 'someDid'; - const identity = new Identity({ did }, context); - const portfolioId = { - did, - number: new BigNumber(1), - }; - let role: PortfolioCustodianRole = { type: RoleType.PortfolioCustodian, portfolioId }; - - entityMockUtils.configureMocks({ - numberedPortfolioOptions: { isCustodiedBy: true }, - defaultPortfolioOptions: { isCustodiedBy: false }, - }); - - let hasRole = await identity.hasRole(role); - - expect(hasRole).toBe(true); - - role = { type: RoleType.PortfolioCustodian, portfolioId: { did } }; - - hasRole = await identity.hasRole(role); - - expect(hasRole).toBe(false); - }); - - it('should check whether the Identity has the Identity role', async () => { - const did = 'someDid'; - const identity = new Identity({ did }, context); - const role: IdentityRole = { type: RoleType.Identity, did }; - - let hasRole = await identity.hasRole(role); - - expect(hasRole).toBe(true); - - identity.did = 'otherDid'; - - hasRole = await identity.hasRole(role); - - expect(hasRole).toBe(false); - }); - - it('should check whether the Identity has the Confidential Asset Owner role', async () => { - const did = 'someDid'; - const identity = new Identity({ did }, context); - const role: ConfidentialAssetOwnerRole = { - type: RoleType.ConfidentialAssetOwner, - assetId: 'someAssetId', - }; - - entityMockUtils.configureMocks({ - confidentialAssetOptions: { - details: { - owner: new Identity({ did }, context), - }, - }, - }); - - const spy = jest.spyOn(identity, 'isEqual').mockReturnValue(true); - let hasRole = await identity.hasRole(role); - - expect(hasRole).toBe(true); - - identity.did = 'otherDid'; - - spy.mockReturnValue(false); - hasRole = await identity.hasRole(role); - - expect(hasRole).toBe(false); - spy.mockRestore(); - }); - - it('should throw an error if the role is not recognized', () => { - const identity = new Identity({ did: 'someDid' }, context); - const type = 'Fake' as RoleType; - const role = { type, ticker: 'SOME_TICKER' } as TickerOwnerRole; - - const hasRole = identity.hasRole(role); - - return expect(hasRole).rejects.toThrow(`Unrecognized role "${JSON.stringify(role)}"`); - }); - }); - - describe('method: getAssetBalance', () => { - let ticker: string; - let did: string; - let rawTicker: PolymeshPrimitivesTicker; - let rawIdentityId: PolymeshPrimitivesIdentityId; - let fakeValue: BigNumber; - let fakeBalance: Balance; - let mockContext: Context; - let balanceOfMock: jest.Mock; - let assetMock: jest.Mock; - - let identity: Identity; - - beforeAll(() => { - ticker = 'TEST'; - did = 'someDid'; - rawTicker = dsMockUtils.createMockTicker(ticker); - rawIdentityId = dsMockUtils.createMockIdentityId(did); - fakeValue = new BigNumber(100); - fakeBalance = dsMockUtils.createMockBalance(fakeValue); - mockContext = dsMockUtils.getContextInstance(); - balanceOfMock = dsMockUtils.createQueryMock('asset', 'balanceOf'); - assetMock = dsMockUtils.createQueryMock('asset', 'tokens'); - - when(stringToIdentityIdSpy).calledWith(did, mockContext).mockReturnValue(rawIdentityId); - - identity = new Identity({ did }, mockContext); - - when(jest.spyOn(utilsConversionModule, 'stringToTicker')) - .calledWith(ticker, mockContext) - .mockReturnValue(rawTicker); - - when(jest.spyOn(utilsConversionModule, 'balanceToBigNumber')) - .calledWith(fakeBalance) - .mockReturnValue(fakeValue); - }); - - beforeEach(() => { - when(assetMock) - .calledWith(rawTicker) - .mockResolvedValue( - dsMockUtils.createMockSecurityToken({ - ownerDid: dsMockUtils.createMockIdentityId('tokenOwner'), - totalSupply: dsMockUtils.createMockBalance(new BigNumber(3000)), - divisible: dsMockUtils.createMockBool(true), - assetType: dsMockUtils.createMockAssetType('EquityCommon'), - }) - ); - }); - - it('should return the balance of a given Asset', async () => { - when(balanceOfMock).calledWith(rawTicker, rawIdentityId).mockResolvedValue(fakeBalance); - - const result = await identity.getAssetBalance({ ticker }); - - expect(result).toEqual(fakeValue); - }); - - it('should allow subscription', async () => { - const unsubCallback = 'unsubCallback'; - const callback = jest.fn(); - - when(balanceOfMock) - .calledWith(rawTicker, rawIdentityId, expect.any(Function)) - .mockImplementation(async (_a, _b, cbFunc) => { - cbFunc(fakeBalance); - return unsubCallback; - }); - - const result = await identity.getAssetBalance({ ticker }, callback); - - expect(result).toEqual(unsubCallback); - expect(callback).toBeCalledWith(fakeValue); - }); - - it("should throw an error if the Asset doesn't exist", () => { - when(assetMock).calledWith(rawTicker).mockResolvedValue(dsMockUtils.createMockOption()); - - const expectedError = new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: `There is no Asset with ticker "${ticker}"`, - }); - - return expect(identity.getAssetBalance({ ticker })).rejects.toThrow(expectedError); - }); - }); - - describe('method: hasValidCdd', () => { - it('should return whether the Identity has valid CDD', async () => { - const did = 'someDid'; - const statusResponse = true; - const mockContext = dsMockUtils.getContextInstance(); - const rawIdentityId = dsMockUtils.createMockIdentityId(did); - const fakeHasValidCdd = dsMockUtils.createMockCddStatus({ - Ok: rawIdentityId, - }); - - when(stringToIdentityIdSpy).calledWith(did, mockContext).mockReturnValue(rawIdentityId); - - when(dsMockUtils.createRpcMock('identity', 'isIdentityHasValidCdd')) - .calledWith(rawIdentityId) - .mockResolvedValue(fakeHasValidCdd); - - when(jest.spyOn(utilsConversionModule, 'cddStatusToBoolean')) - .calledWith(fakeHasValidCdd) - .mockReturnValue(statusResponse); - - const identity = new Identity({ did }, context); - const result = await identity.hasValidCdd(); - - expect(result).toEqual(statusResponse); - }); - }); - - describe('method: isGcMember', () => { - it('should return whether the Identity is GC member', async () => { - const did = 'someDid'; - const rawDid = dsMockUtils.createMockIdentityId(did); - const mockContext = dsMockUtils.getContextInstance(); - const identity = new Identity({ did }, mockContext); - - when(identityIdToStringSpy).calledWith(rawDid).mockReturnValue(did); - - dsMockUtils - .createQueryMock('committeeMembership', 'activeMembers') - .mockResolvedValue([rawDid, dsMockUtils.createMockIdentityId('otherDid')]); - - const result = await identity.isGcMember(); - - expect(result).toBeTruthy(); - }); - }); - - describe('method: isCddProvider', () => { - it('should return whether the Identity is a CDD provider', async () => { - const did = 'someDid'; - const rawDid = dsMockUtils.createMockIdentityId(did); - const mockContext = dsMockUtils.getContextInstance(); - const identity = new Identity({ did }, mockContext); - - when(identityIdToStringSpy).calledWith(rawDid).mockReturnValue(did); - - dsMockUtils - .createQueryMock('cddServiceProviders', 'activeMembers') - .mockResolvedValue([rawDid, dsMockUtils.createMockIdentityId('otherDid')]); - - const result = await identity.isCddProvider(); - - expect(result).toBeTruthy(); - }); - }); - - describe('method: getPrimaryAccount', () => { - const did = 'someDid'; - const accountId = '5EYCAe5ijAx5xEfZdpCna3grUpY1M9M5vLUH5vpmwV1EnaYR'; - - let accountIdToStringSpy: jest.SpyInstance; - let didRecordsSpy: jest.Mock; - let rawDidRecord: PolymeshPrimitivesIdentityDidRecord; - let fakeResult: PermissionedAccount; - - beforeAll(() => { - accountIdToStringSpy = jest.spyOn(utilsConversionModule, 'accountIdToString'); - accountIdToStringSpy.mockReturnValue(accountId); - }); - - beforeEach(() => { - didRecordsSpy = dsMockUtils.createQueryMock('identity', 'didRecords'); - rawDidRecord = dsMockUtils.createMockIdentityDidRecord({ - primaryKey: dsMockUtils.createMockOption(dsMockUtils.createMockAccountId(accountId)), - }); - - const account = expect.objectContaining({ address: accountId }); - - fakeResult = { - account, - permissions: { - assets: null, - portfolios: null, - transactions: null, - transactionGroups: [], - }, - }; - }); - - it('should return a PrimaryAccount', async () => { - const mockContext = dsMockUtils.getContextInstance(); - const identity = new Identity({ did }, mockContext); - - didRecordsSpy.mockReturnValue(dsMockUtils.createMockOption(rawDidRecord)); - - const result = await identity.getPrimaryAccount(); - expect(result).toEqual({ - account: expect.objectContaining({ address: accountId }), - permissions: { - assets: null, - transactions: null, - portfolios: null, - transactionGroups: [], - }, - }); - }); - - it('should allow subscription', async () => { - const mockContext = dsMockUtils.getContextInstance(); - const identity = new Identity({ did }, mockContext); - - const unsubCallback = 'unsubCallBack'; - - didRecordsSpy.mockImplementation(async (_, cbFunc) => { - cbFunc(dsMockUtils.createMockOption(rawDidRecord)); - return unsubCallback; - }); - - const callback = jest.fn(); - const result = await identity.getPrimaryAccount(callback); - - expect(result).toBe(unsubCallback); - expect(callback).toHaveBeenCalledWith({ - ...fakeResult, - account: expect.objectContaining({ address: accountId }), - }); - }); - }); - - describe('method: getTrustingAssets', () => { - const did = 'someDid'; - const tickers = ['ASSET1', 'ASSET2']; - - it('should return a list of Assets', async () => { - const identity = new Identity({ did }, context); - - dsMockUtils.createApolloQueryMock(trustingAssetsQuery({ issuer: did }), { - trustedClaimIssuers: { - nodes: tickers.map(ticker => ({ assetId: ticker })), - }, - }); - - const result = await identity.getTrustingAssets(); - - expect(result[0].ticker).toBe('ASSET1'); - expect(result[1].ticker).toBe('ASSET2'); - }); - }); - - describe('method: getHeldAssets', () => { - const did = 'someDid'; - const tickers = ['ASSET1', 'ASSET2']; - - it('should return a list of Assets', async () => { - const identity = new Identity({ did }, context); - - dsMockUtils.createApolloQueryMock(assetHoldersQuery({ identityId: did }), { - assetHolders: { nodes: tickers.map(ticker => ({ assetId: ticker })), totalCount: 2 }, - }); - - let result = await identity.getHeldAssets(); - - expect(result.data[0].ticker).toBe(tickers[0]); - expect(result.data[1].ticker).toBe(tickers[1]); - - dsMockUtils.createApolloQueryMock( - assetHoldersQuery( - { identityId: did }, - new BigNumber(1), - new BigNumber(0), - AssetHoldersOrderBy.CreatedBlockIdAsc - ), - { - assetHolders: { nodes: tickers.map(ticker => ({ assetId: ticker })), totalCount: 2 }, - } - ); - - result = await identity.getHeldAssets({ - start: new BigNumber(0), - size: new BigNumber(1), - order: AssetHoldersOrderBy.CreatedBlockIdAsc, - }); - - expect(result.data[0].ticker).toBe(tickers[0]); - expect(result.data[1].ticker).toBe(tickers[1]); - }); - }); - - describe('method: getHeldNfts', () => { - const did = 'someDid'; - const tickers = ['ASSET1', 'ASSET2']; - - it('should return a list of HeldNfts', async () => { - const identity = new Identity({ did }, context); - - dsMockUtils.createApolloQueryMock(nftHoldersQuery({ identityId: did }), { - nftHolders: { - nodes: tickers.map(ticker => ({ assetId: ticker, nftIds: [] })), - totalCount: 2, - }, - }); - - let result = await identity.getHeldNfts(); - - expect(result.data[0].collection.ticker).toBe(tickers[0]); - expect(result.data[1].collection.ticker).toBe(tickers[1]); - - dsMockUtils.createApolloQueryMock( - nftHoldersQuery( - { identityId: did }, - new BigNumber(1), - new BigNumber(0), - NftHoldersOrderBy.CreatedBlockIdAsc - ), - { - nftHolders: { - nodes: tickers.map(ticker => ({ assetId: ticker, nftIds: [1, 3] })), - totalCount: 2, - }, - } - ); - - result = await identity.getHeldNfts({ - start: new BigNumber(0), - size: new BigNumber(1), - order: NftHoldersOrderBy.CreatedBlockIdAsc, - }); - - expect(result.data[0].collection.ticker).toBe(tickers[0]); - expect(result.data[1].collection.ticker).toBe(tickers[1]); - expect(result.data[0].nfts).toEqual( - expect.arrayContaining([ - expect.objectContaining({ id: new BigNumber(1) }), - expect.objectContaining({ id: new BigNumber(3) }), - ]) - ); - }); - }); - - describe('method: getVenues', () => { - let did: string; - let venueId: BigNumber; - - let rawDid: PolymeshPrimitivesIdentityId; - let rawVenueId: u64; - - beforeAll(() => { - did = 'someDid'; - venueId = new BigNumber(10); - - rawDid = dsMockUtils.createMockIdentityId(did); - rawVenueId = dsMockUtils.createMockU64(venueId); - }); - - beforeEach(() => { - when(stringToIdentityIdSpy).calledWith(did, context).mockReturnValue(rawDid); - }); - - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should return a list of Venues', async () => { - when(u64ToBigNumberSpy).calledWith(rawVenueId).mockReturnValue(venueId); - const mock = dsMockUtils.createQueryMock('settlement', 'userVenues'); - const mockStorageKey = { args: [rawDid, rawVenueId] }; - - mock.keys = jest.fn().mockResolvedValue([mockStorageKey]); - - const identity = new Identity({ did }, context); - - const result = await identity.getVenues(); - expect(result[0].id).toEqual(venueId); - }); - }); - - describe('method: exists', () => { - it('should return whether the Identity exists', async () => { - const identity = new Identity({ did: 'someDid' }, context); - - dsMockUtils.createQueryMock('identity', 'didRecords', { - returnValue: dsMockUtils.createMockOption( - dsMockUtils.createMockIdentityDidRecord({ - primaryKey: dsMockUtils.createMockOption(dsMockUtils.createMockAccountId('someId')), - }) - ), - }); - - await expect(identity.exists()).resolves.toBe(true); - - dsMockUtils.createQueryMock('identity', 'didRecords', { - returnValue: dsMockUtils.createMockOption(), - }); - - await expect(identity.exists()).resolves.toBe(false); - - dsMockUtils.createQueryMock('identity', 'didRecords', { - returnValue: dsMockUtils.createMockOption( - dsMockUtils.createMockIdentityDidRecord({ - primaryKey: dsMockUtils.createMockOption(), - }) - ), - }); - - return expect(identity.exists()).resolves.toBe(false); - }); - }); - - describe('method: getInstructions & getInvolvedInstructions', () => { - let id1: BigNumber; - let id2: BigNumber; - let id3: BigNumber; - let id4: BigNumber; - let id5: BigNumber; - let identity: Identity; - - afterAll(() => { - jest.restoreAllMocks(); - }); - - beforeEach(() => { - id1 = new BigNumber(1); - id2 = new BigNumber(2); - id3 = new BigNumber(3); - id4 = new BigNumber(4); - id5 = new BigNumber(5); - - const did = 'someDid'; - identity = new Identity({ did }, context); - - const defaultPortfolioDid = 'someDid'; - const numberedPortfolioDid = 'someDid'; - const numberedPortfolioId = new BigNumber(1); - const custodiedPortfolioDid = 'someOtherDid'; - const custodiedPortfolioId = new BigNumber(1); - - const defaultPortfolio = entityMockUtils.getDefaultPortfolioInstance({ - did: defaultPortfolioDid, - isCustodiedBy: true, - }); - - const numberedPortfolio = entityMockUtils.getNumberedPortfolioInstance({ - did: numberedPortfolioDid, - id: numberedPortfolioId, - isCustodiedBy: false, - }); - - const custodiedPortfolio = entityMockUtils.getNumberedPortfolioInstance({ - did: custodiedPortfolioDid, - id: custodiedPortfolioId, - }); - - identity.portfolios.getPortfolios = jest - .fn() - .mockResolvedValue([defaultPortfolio, numberedPortfolio]); - - identity.portfolios.getCustodiedPortfolios = jest - .fn() - .mockResolvedValue({ data: [custodiedPortfolio], next: null }); - - const portfolioLikeToPortfolioIdSpy = jest.spyOn( - utilsConversionModule, - 'portfolioLikeToPortfolioId' - ); - - when(portfolioLikeToPortfolioIdSpy) - .calledWith(defaultPortfolio) - .mockReturnValue({ did: defaultPortfolioDid, number: undefined }); - when(portfolioLikeToPortfolioIdSpy) - .calledWith(numberedPortfolio) - .mockReturnValue({ did: numberedPortfolioDid, number: numberedPortfolioId }); - - const rawPortfolio = dsMockUtils.createMockPortfolioId({ - did: dsMockUtils.createMockIdentityId(did), - kind: dsMockUtils.createMockPortfolioKind('Default'), - }); - - const rawNumberedPortfolio = dsMockUtils.createMockPortfolioId({ - did: dsMockUtils.createMockIdentityId(numberedPortfolioDid), - kind: dsMockUtils.createMockPortfolioKind({ - User: dsMockUtils.createMockU64(numberedPortfolioId), - }), - }); - - const rawCustodiedPortfolio = dsMockUtils.createMockPortfolioId({ - did: dsMockUtils.createMockIdentityId(custodiedPortfolioDid), - kind: dsMockUtils.createMockPortfolioKind({ - User: dsMockUtils.createMockU64(custodiedPortfolioId), - }), - }); - - const portfolioIdToMeshPortfolioIdSpy = jest.spyOn( - utilsConversionModule, - 'portfolioIdToMeshPortfolioId' - ); - - when(portfolioIdToMeshPortfolioIdSpy) - .calledWith({ did, number: undefined }, context) - .mockReturnValue(rawPortfolio); - - when(portfolioIdToMeshPortfolioIdSpy) - .calledWith({ did: numberedPortfolioDid, number: numberedPortfolioId }, context) - .mockReturnValue(rawNumberedPortfolio); - - when(portfolioIdToMeshPortfolioIdSpy) - .calledWith({ did: custodiedPortfolioDid, number: custodiedPortfolioId }, context) - .mockReturnValue(rawCustodiedPortfolio); - - const userAuthsMock = dsMockUtils.createQueryMock('settlement', 'userAffirmations'); - - const rawId1 = dsMockUtils.createMockU64(id1); - const rawId2 = dsMockUtils.createMockU64(id2); - const rawId3 = dsMockUtils.createMockU64(id3); - const rawId4 = dsMockUtils.createMockU64(id4); - const rawId5 = dsMockUtils.createMockU64(id5); - - const entriesMock = jest.fn(); - when(entriesMock) - .calledWith(rawPortfolio) - .mockResolvedValue([ - tuple( - { args: [rawPortfolio, rawId1] }, - dsMockUtils.createMockAffirmationStatus('Affirmed') - ), - tuple( - { args: [rawPortfolio, rawId2] }, - dsMockUtils.createMockAffirmationStatus('Pending') - ), - tuple( - { args: [rawPortfolio, rawId3] }, - dsMockUtils.createMockAffirmationStatus('Unknown') - ), - tuple( - { args: [rawPortfolio, rawId4] }, - dsMockUtils.createMockAffirmationStatus('Affirmed') - ), - ]); - - when(entriesMock) - .calledWith(rawCustodiedPortfolio) - .mockResolvedValue([ - tuple( - { args: [rawCustodiedPortfolio, rawId1] }, - dsMockUtils.createMockAffirmationStatus('Affirmed') - ), - tuple( - { args: [rawCustodiedPortfolio, rawId2] }, - dsMockUtils.createMockAffirmationStatus('Affirmed') - ), - ]); - - when(entriesMock) - .calledWith(rawNumberedPortfolio) - .mockResolvedValue([ - tuple( - { args: [rawNumberedPortfolio, rawId5] }, - dsMockUtils.createMockAffirmationStatus('Pending') - ), - ]); - - userAuthsMock.entries = entriesMock; - - const instructionStatusesMock = dsMockUtils.createQueryMock( - 'settlement', - 'instructionStatuses', - { - multi: [], - } - ); - - const multiMock = jest.fn(); - - const rawInstructionStatuses = [ - dsMockUtils.createMockInstructionStatus('Pending'), - dsMockUtils.createMockInstructionStatus('Pending'), - dsMockUtils.createMockInstructionStatus('Unknown'), - dsMockUtils.createMockInstructionStatus('Failed'), - ]; - - multiMock.mockResolvedValueOnce([ - ...rawInstructionStatuses, - rawInstructionStatuses[0], - rawInstructionStatuses[1], - ]); - multiMock.mockResolvedValueOnce([ - ...rawInstructionStatuses, - rawInstructionStatuses[0], - rawInstructionStatuses[1], - ]); - multiMock.mockResolvedValueOnce([ - dsMockUtils.createMockInstruction({ - instructionId: dsMockUtils.createMockU64(id5), - venueId: dsMockUtils.createMockU64(), - settlementType: dsMockUtils.createMockSettlementType('SettleOnAffirmation'), - createdAt: dsMockUtils.createMockOption(), - tradeDate: dsMockUtils.createMockOption(), - valueDate: dsMockUtils.createMockOption(), - }), - ]); - - instructionStatusesMock.multi = multiMock; - }); - - it('should return all instructions in which the identity is involved, grouped by status', async () => { - const result = await identity.getInstructions(); - - expect(result).toEqual({ - affirmed: [expect.objectContaining({ id: id1 })], - pending: [expect.objectContaining({ id: id2 })], - failed: [expect.objectContaining({ id: id4 })], - }); - }); - - it('should return all instructions in which the identity is involved, grouped by role and status', async () => { - const result = await identity.getInvolvedInstructions(); - - expect(result).toEqual({ - owned: { - affirmed: [], - pending: [expect.objectContaining({ id: id5 })], - failed: [], - partiallyAffirmed: [], - }, - custodied: { - affirmed: [expect.objectContaining({ id: id1 })], - pending: [], - failed: [expect.objectContaining({ id: id4 })], - partiallyAffirmed: [expect.objectContaining({ id: id2 })], - }, - }); - }); - }); - - describe('method: areSecondaryAccountsFrozen', () => { - let frozenMock: jest.Mock; - let boolValue: boolean; - let rawBoolValue: bool; - - beforeAll(() => { - boolValue = true; - rawBoolValue = dsMockUtils.createMockBool(boolValue); - }); - - beforeEach(() => { - frozenMock = dsMockUtils.createQueryMock('identity', 'isDidFrozen'); - }); - - it('should return whether secondary key is frozen or not', async () => { - const identity = new Identity({ did: 'someDid' }, context); - - frozenMock.mockResolvedValue(rawBoolValue); - - const result = await identity.areSecondaryAccountsFrozen(); - - expect(result).toBe(boolValue); - }); - - it('should allow subscription', async () => { - const identity = new Identity({ did: 'someDid' }, context); - const unsubCallback = 'unsubCallBack'; - - frozenMock.mockImplementation(async (_, cbFunc) => { - cbFunc(rawBoolValue); - return unsubCallback; - }); - - const callback = jest.fn(); - const result = await identity.areSecondaryAccountsFrozen(callback); - - expect(result).toBe(unsubCallback); - expect(callback).toBeCalledWith(boolValue); - }); - }); - - describe('method: getPendingDistributions', () => { - let assets: FungibleAsset[]; - let distributions: DistributionWithDetails[]; - let expectedDistribution: DistributionWithDetails; - - beforeAll(() => { - assets = [ - entityMockUtils.getFungibleAssetInstance({ ticker: 'TICKER_1' }), - entityMockUtils.getFungibleAssetInstance({ ticker: 'TICKER_2' }), - ]; - const distributionTemplate = { - expiryDate: null, - perShare: new BigNumber(1), - checkpoint: entityMockUtils.getCheckpointInstance({ - balance: new BigNumber(1000), - }), - paymentDate: new Date('10/14/1987'), - }; - const detailsTemplate = { - remainingFunds: new BigNumber(10000), - fundsReclaimed: false, - }; - expectedDistribution = { - distribution: entityMockUtils.getDividendDistributionInstance(distributionTemplate), - details: detailsTemplate, - }; - distributions = [ - expectedDistribution, - { - distribution: entityMockUtils.getDividendDistributionInstance({ - ...distributionTemplate, - expiryDate: new Date('10/14/1987'), - }), - details: detailsTemplate, - }, - { - distribution: entityMockUtils.getDividendDistributionInstance({ - ...distributionTemplate, - paymentDate: new Date(new Date().getTime() + 3 * 60 * 1000), - }), - details: detailsTemplate, - }, - { - distribution: entityMockUtils.getDividendDistributionInstance({ - ...distributionTemplate, - id: new BigNumber(5), - ticker: 'HOLDER_PAID', - }), - details: detailsTemplate, - }, - ]; - }); - - beforeEach(() => { - when(context.getDividendDistributionsForAssets) - .calledWith({ assets }) - .mockResolvedValue(distributions); - }); - - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should return all distributions where the Identity can claim funds', async () => { - const holderPaidMock = dsMockUtils.createQueryMock('capitalDistribution', 'holderPaid'); - - const rawCaId = dsMockUtils.createMockCAId({ - ticker: 'HOLDER_PAID', - localId: new BigNumber(5), - }); - const rawIdentityId = dsMockUtils.createMockIdentityId('someDid'); - - when(jest.spyOn(utilsConversionModule, 'stringToIdentityId')) - .calledWith('someDid', context) - .mockReturnValue(rawIdentityId); - when(jest.spyOn(utilsConversionModule, 'corporateActionIdentifierToCaId')) - .calledWith({ ticker: 'HOLDER_PAID', localId: new BigNumber(5) }, context) - .mockReturnValue(rawCaId); - - holderPaidMock.mockResolvedValue(dsMockUtils.createMockBool(false)); - when(holderPaidMock) - .calledWith([rawCaId, rawIdentityId]) - .mockResolvedValue(dsMockUtils.createMockBool(true)); - - const identity = new Identity({ did: 'someDid' }, context); - - const heldAssetsSpy = jest.spyOn(identity, 'getHeldAssets'); - heldAssetsSpy - .mockResolvedValueOnce({ data: [assets[0]], next: new BigNumber(1) }) - .mockResolvedValue({ data: [assets[1]], next: null }); - - const result = await identity.getPendingDistributions(); - - expect(result).toEqual([expectedDistribution]); - }); - }); - - describe('method: getSecondaryAccounts', () => { - const accountId = 'someAccountId'; - - let account: Account; - let fakeResult: PermissionedAccount[]; - - let rawPrimaryKeyRecord: PolymeshPrimitivesSecondaryKeyKeyRecord; - let rawSecondaryKeyRecord: PolymeshPrimitivesSecondaryKeyKeyRecord; - let rawMultiSigKeyRecord: PolymeshPrimitivesSecondaryKeyKeyRecord; - let rawDidRecord: StorageKey; - let meshPermissionsToPermissionsSpy: jest.SpyInstance< - Permissions, - [PolymeshPrimitivesSecondaryKeyPermissions, Context] - >; - let getSecondaryAccountPermissionsSpy: jest.SpyInstance; - - beforeAll(() => { - account = entityMockUtils.getAccountInstance({ address: accountId }); - meshPermissionsToPermissionsSpy = jest.spyOn( - utilsConversionModule, - 'meshPermissionsToPermissions' - ); - getSecondaryAccountPermissionsSpy = jest.spyOn( - utilsInternalModule, - 'getSecondaryAccountPermissions' - ); - fakeResult = [ - { - account, - permissions: { - assets: null, - portfolios: null, - transactions: null, - transactionGroups: [], - }, - }, - ]; - }); - - afterAll(() => { - jest.restoreAllMocks(); - }); - - beforeEach(() => { - rawPrimaryKeyRecord = dsMockUtils.createMockKeyRecord({ - PrimaryKey: dsMockUtils.createMockIdentityId('someDid'), - }); - rawSecondaryKeyRecord = dsMockUtils.createMockKeyRecord({ - SecondaryKey: [dsMockUtils.createMockIdentityId(), dsMockUtils.createMockPermissions()], - }); - rawMultiSigKeyRecord = dsMockUtils.createMockKeyRecord({ - MultiSigSignerKey: dsMockUtils.createMockAccountId('someAddress'), - }); - rawDidRecord = { - args: [dsMockUtils.createMockIdentityId(), dsMockUtils.createMockAccountId(accountId)], - } as unknown as StorageKey; - const entriesMock = jest.fn(); - entriesMock.mockResolvedValue([[rawDidRecord]]); - dsMockUtils.createQueryMock('identity', 'didKeys', { - entries: [[rawDidRecord.args, true]], - }); - - meshPermissionsToPermissionsSpy.mockReturnValue({ - assets: null, - portfolios: null, - transactions: null, - transactionGroups: [], - }); - }); - - it('should return a list of Accounts', async () => { - dsMockUtils.createQueryMock('identity', 'keyRecords', { - multi: [ - dsMockUtils.createMockOption(rawPrimaryKeyRecord), - dsMockUtils.createMockOption(rawSecondaryKeyRecord), - dsMockUtils.createMockOption(rawMultiSigKeyRecord), - ], - }); - - getSecondaryAccountPermissionsSpy.mockReturnValue(fakeResult); - const identity = new Identity({ did: 'someDid' }, context); - - let result = await identity.getSecondaryAccounts(); - expect(result).toEqual({ data: fakeResult, next: null }); - - result = await identity.getSecondaryAccounts({ size: new BigNumber(20) }); - expect(result).toEqual({ data: fakeResult, next: null }); - }); - - it('should allow subscription', async () => { - const identity = new Identity({ did: 'someDid' }, context); - const unsubCallback = 'unsubCallBack'; - - const callback = jest.fn(); - - getSecondaryAccountPermissionsSpy.mockResolvedValue([ - { - account, - permissions: { - assets: null, - portfolios: null, - transactions: null, - transactionGroups: [], - }, - }, - ]); - getSecondaryAccountPermissionsSpy.mockReturnValue(unsubCallback); - - const result = await identity.getSecondaryAccounts(callback); - - expect(result).toBe(unsubCallback); - }); - }); - - describe('method: toHuman', () => { - it('should return a human readable version of the entity', () => { - const identity = new Identity({ did: 'someDid' }, context); - expect(identity.toHuman()).toBe('someDid'); - }); - }); - - describe('method: getHistoricalInstructions', () => { - it('should return the list of all instructions where the Identity was involved', async () => { - const identity = new Identity({ did: 'someDid' }, context); - const middlewareInstructionToHistoricInstructionSpy = jest.spyOn( - utilsConversionModule, - 'middlewareInstructionToHistoricInstruction' - ); - - const legsResponse = { - totalCount: 5, - nodes: [{ instruction: 'instruction' }], - }; - - dsMockUtils.createApolloQueryMock(instructionsByDidQuery(identity.did), { - legs: legsResponse, - }); - - const mockHistoricInstruction = 'mockData' as unknown as HistoricInstruction; - - middlewareInstructionToHistoricInstructionSpy.mockReturnValue(mockHistoricInstruction); - - const result = await identity.getHistoricalInstructions(); - - expect(result).toEqual([mockHistoricInstruction]); - }); - }); - - describe('method: getChildIdentities', () => { - it('should return the list of all child identities of which the given Identity is a parent', async () => { - const identity = new Identity({ did: 'someDid' }, context); - - const rawIdentity = dsMockUtils.createMockIdentityId(identity.did); - when(identityIdToStringSpy).calledWith(rawIdentity).mockReturnValue(identity.did); - - const children = ['someChild', 'someOtherChild']; - const rawChildren = children.map(child => dsMockUtils.createMockIdentityId(child)); - - when(identityIdToStringSpy).calledWith(rawChildren[0]).mockReturnValue(children[0]); - when(identityIdToStringSpy).calledWith(rawChildren[1]).mockReturnValue(children[1]); - - dsMockUtils.createQueryMock('identity', 'parentDid', { - entries: rawChildren.map(child => - tuple([child], dsMockUtils.createMockOption(rawIdentity)) - ), - }); - - const result = await identity.getChildIdentities(); - - expect(result).toEqual( - expect.arrayContaining([ - expect.objectContaining({ did: children[0] }), - expect.objectContaining({ did: children[1] }), - ]) - ); - }); - }); - - describe('method: unlinkChild', () => { - it('should prepare the procedure and return the resulting transaction', async () => { - const expectedTransaction = 'someQueue' as unknown as PolymeshTransaction; - - const identity = new Identity({ did: 'someDid' }, context); - - const args = { - child: 'someChild', - }; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const transaction = await identity.unlinkChild(args); - - expect(transaction).toBe(expectedTransaction); - }); - }); - - describe('method: isChild', () => { - it('should return whether the Identity is a child Identity', async () => { - entityMockUtils.configureMocks({ - childIdentityOptions: { - exists: true, - }, - }); - const identity = new Identity({ did: 'someDid' }, context); - let result = await identity.isChild(); - - expect(result).toBeTruthy(); - - entityMockUtils.configureMocks({ - childIdentityOptions: { - exists: false, - }, - }); - - result = await identity.isChild(); - - expect(result).toBeFalsy(); - }); - }); - - describe('method: getInvolvedConfidentialTransactions', () => { - const transactionId = new BigNumber(1); - const legId = new BigNumber(2); - - it('should return the transactions with the identity affirmation status', async () => { - dsMockUtils.createQueryMock('confidentialAsset', 'userAffirmations', { - entries: [ - tuple( - [ - dsMockUtils.createMockIdentityId('someDid'), - [ - dsMockUtils.createMockConfidentialTransactionId(transactionId), - dsMockUtils.createMockConfidentialTransactionLegId(legId), - dsMockUtils.createMockConfidentialLegParty('Sender'), - ], - ], - dsMockUtils.createMockOption(dsMockUtils.createMockBool(false)) - ), - ], - }); - - const identity = new Identity({ did: 'someDid' }, context); - - const result = await identity.getInvolvedConfidentialTransactions(); - - expect(result).toEqual({ - data: expect.arrayContaining([ - expect.objectContaining({ - affirmed: false, - legId: new BigNumber(2), - role: ConfidentialLegParty.Sender, - transaction: expect.objectContaining({ id: transactionId }), - }), - ]), - next: null, - }); - }); - }); - - describe('method: getConfidentialVenues', () => { - let did: string; - let confidentialVenueId: BigNumber; - - let rawDid: PolymeshPrimitivesIdentityId; - let rawConfidentialVenueId: u64; - - beforeAll(() => { - did = 'someDid'; - confidentialVenueId = new BigNumber(5); - - rawDid = dsMockUtils.createMockIdentityId(did); - rawConfidentialVenueId = dsMockUtils.createMockU64(confidentialVenueId); - }); - - beforeEach(() => { - when(stringToIdentityIdSpy).calledWith(did, context).mockReturnValue(rawDid); - }); - - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should return a list of Confidential Venues', async () => { - when(u64ToBigNumberSpy) - .calledWith(rawConfidentialVenueId) - .mockReturnValue(confidentialVenueId); - - const mock = dsMockUtils.createQueryMock('confidentialAsset', 'identityVenues'); - const mockStorageKey = { args: [rawDid, rawConfidentialVenueId] }; - - mock.keys = jest.fn().mockResolvedValue([mockStorageKey]); - - const identity = new Identity({ did }, context); - - const result = await identity.getConfidentialVenues(); - expect(result).toEqual( - expect.arrayContaining([expect.objectContaining({ id: confidentialVenueId })]) - ); - }); - }); -}); diff --git a/src/api/entities/Identity/index.ts b/src/api/entities/Identity/index.ts deleted file mode 100644 index d4289bd619..0000000000 --- a/src/api/entities/Identity/index.ts +++ /dev/null @@ -1,1011 +0,0 @@ -import { Option, StorageKey, u64 } from '@polkadot/types'; -import { AccountId32 } from '@polkadot/types/interfaces'; -import { - PolymeshPrimitivesIdentityDidRecord, - PolymeshPrimitivesIdentityId, -} from '@polkadot/types/lookup'; -import BigNumber from 'bignumber.js'; -import P from 'bluebird'; -import { chunk, differenceWith, flatten, intersectionWith, uniqBy } from 'lodash'; - -import { unlinkChildIdentity } from '~/api/procedures/unlinkChildIdentity'; -import { assertPortfolioExists } from '~/api/procedures/utils'; -import { - Account, - ChildIdentity, - ConfidentialAsset, - ConfidentialTransaction, - ConfidentialVenue, - Context, - Entity, - FungibleAsset, - Instruction, - Nft, - NftCollection, - PolymeshError, - TickerReservation, - Venue, -} from '~/internal'; -import { - assetHoldersQuery, - instructionsByDidQuery, - nftHoldersQuery, - trustingAssetsQuery, -} from '~/middleware/queries'; -import { AssetHoldersOrderBy, NftHoldersOrderBy, Query } from '~/middleware/types'; -import { - CheckRolesResult, - ConfidentialAffirmation, - DefaultPortfolio, - DistributionWithDetails, - ErrorCode, - GroupedInstructions, - GroupedInvolvedInstructions, - HeldNfts, - HistoricInstruction, - InstructionsByStatus, - NumberedPortfolio, - PaginationOptions, - PermissionedAccount, - ProcedureMethod, - ResultSet, - Role, - SubCallback, - UnlinkChildParams, - UnsubCallback, -} from '~/types'; -import { Ensured, tuple } from '~/types/utils'; -import { - isCddProviderRole, - isConfidentialAssetOwnerRole, - isConfidentialVenueOwnerRole, - isIdentityRole, - isPortfolioCustodianRole, - isTickerOwnerRole, - isVenueOwnerRole, -} from '~/utils'; -import { MAX_CONCURRENT_REQUESTS, MAX_PAGE_SIZE } from '~/utils/constants'; -import { - accountIdToString, - balanceToBigNumber, - boolToBoolean, - cddStatusToBoolean, - confidentialLegPartyToRole, - confidentialTransactionIdToBigNumber, - confidentialTransactionLegIdToBigNumber, - corporateActionIdentifierToCaId, - identityIdToString, - middlewareInstructionToHistoricInstruction, - portfolioIdToMeshPortfolioId, - portfolioIdToPortfolio, - portfolioLikeToPortfolioId, - stringToIdentityId, - stringToTicker, - transactionPermissionsToTxGroups, - u64ToBigNumber, -} from '~/utils/conversion'; -import { - calculateNextKey, - createProcedureMethod, - getSecondaryAccountPermissions, - requestPaginated, -} from '~/utils/internal'; - -import { AssetPermissions } from './AssetPermissions'; -import { IdentityAuthorizations } from './IdentityAuthorizations'; -import { Portfolios } from './Portfolios'; - -/** - * Properties that uniquely identify an Identity - */ -export interface UniqueIdentifiers { - did: string; -} - -/** - * Represents an Identity in the Polymesh blockchain - */ -export class Identity extends Entity { - /** - * @hidden - * Checks if a value is of type {@link UniqueIdentifiers} - */ - public static override isUniqueIdentifiers(identifier: unknown): identifier is UniqueIdentifiers { - const { did } = identifier as UniqueIdentifiers; - - return typeof did === 'string'; - } - - /** - * Identity ID as stored in the blockchain - */ - public did: string; - - // Namespaces - public authorizations: IdentityAuthorizations; - public portfolios: Portfolios; - public assetPermissions: AssetPermissions; - - /** - * Create an Identity entity - * - * @hidden - */ - constructor(identifiers: UniqueIdentifiers, context: Context) { - super(identifiers, context); - - const { did } = identifiers; - - this.did = did; - this.authorizations = new IdentityAuthorizations(this, context); - this.portfolios = new Portfolios(this, context); - this.assetPermissions = new AssetPermissions(this, context); - - this.unlinkChild = createProcedureMethod( - { - getProcedureAndArgs: args => [unlinkChildIdentity, args], - }, - context - ); - } - - /** - * Check whether this Identity possesses the specified Role - */ - public async hasRole(role: Role): Promise { - const { context, did } = this; - - if (isTickerOwnerRole(role)) { - const { ticker } = role; - - const reservation = new TickerReservation({ ticker }, context); - const { owner } = await reservation.details(); - - return owner ? this.isEqual(owner) : false; - } else if (isCddProviderRole(role)) { - const { - polymeshApi: { - query: { cddServiceProviders }, - }, - } = context; - - const activeMembers = await cddServiceProviders.activeMembers(); - const memberDids = activeMembers.map(identityIdToString); - - return memberDids.includes(did); - } else if (isVenueOwnerRole(role)) { - const venue = new Venue({ id: role.venueId }, context); - - const { owner } = await venue.details(); - - return this.isEqual(owner); - } else if (isConfidentialVenueOwnerRole(role)) { - const confidentialVenue = new ConfidentialVenue({ id: role.venueId }, context); - - const owner = await confidentialVenue.creator(); - - return this.isEqual(owner); - } else if (isPortfolioCustodianRole(role)) { - const { portfolioId } = role; - - const portfolio = portfolioIdToPortfolio(portfolioId, context); - - return portfolio.isCustodiedBy(); - } else if (isIdentityRole(role)) { - return did === role.did; - } else if (isConfidentialAssetOwnerRole(role)) { - const { assetId } = role; - - const confidentialAsset = new ConfidentialAsset({ id: assetId }, context); - const { owner } = await confidentialAsset.details(); - - return this.isEqual(owner); - } - - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: `Unrecognized role "${JSON.stringify(role)}"`, - }); - } - - /** - * Retrieve the balance of a particular Asset - * - * @note can be subscribed to - */ - public getAssetBalance(args: { ticker: string }): Promise; - public getAssetBalance( - args: { ticker: string }, - callback: SubCallback - ): Promise; - - // eslint-disable-next-line require-jsdoc - public async getAssetBalance( - args: { ticker: string }, - callback?: SubCallback - ): Promise { - const { - did, - context, - context: { - polymeshApi: { - query: { asset }, - }, - }, - } = this; - const { ticker } = args; - - const rawTicker = stringToTicker(ticker, context); - const rawIdentityId = stringToIdentityId(did, context); - - const meshAsset = await asset.tokens(rawTicker); - - if (meshAsset.isNone) { - throw new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: `There is no Asset with ticker "${ticker}"`, - }); - } - - if (callback) { - return asset.balanceOf(rawTicker, rawIdentityId, res => { - // eslint-disable-next-line @typescript-eslint/no-floating-promises -- callback errors should be handled by the caller - callback(balanceToBigNumber(res)); - }); - } - - const balance = await asset.balanceOf(rawTicker, rawIdentityId); - - return balanceToBigNumber(balance); - } - - /** - * Check whether this Identity has a valid CDD claim - */ - public async hasValidCdd(): Promise { - const { - context, - did, - context: { - polymeshApi: { rpc }, - }, - } = this; - const identityId = stringToIdentityId(did, context); - const result = await rpc.identity.isIdentityHasValidCdd(identityId); - return cddStatusToBoolean(result); - } - - /** - * Check whether this Identity is Governance Committee member - */ - public async isGcMember(): Promise { - const { - context: { - polymeshApi: { - query: { committeeMembership }, - }, - }, - did, - } = this; - - const activeMembers = await committeeMembership.activeMembers(); - return activeMembers.map(identityIdToString).includes(did); - } - - /** - * Check whether this Identity is a CDD provider - */ - public async isCddProvider(): Promise { - const { - context: { - polymeshApi: { - query: { cddServiceProviders }, - }, - }, - did, - } = this; - - const activeMembers = await cddServiceProviders.activeMembers(); - return activeMembers.map(identityIdToString).includes(did); - } - - /** - * Retrieve the primary Account associated with the Identity - * - * @note can be subscribed to - */ - public async getPrimaryAccount(): Promise; - public async getPrimaryAccount( - callback: SubCallback - ): Promise; - - // eslint-disable-next-line require-jsdoc - public async getPrimaryAccount( - callback?: SubCallback - ): Promise { - const { - context: { - polymeshApi: { - query: { identity }, - }, - }, - did, - context, - } = this; - - const assembleResult = ( - record: Option - ): PermissionedAccount => { - // we know the record exists because otherwise the Identity couldn't have been fetched - const { primaryKey } = record.unwrap(); - - return { - // we know the primary key exists because Asset Identities aren't considered Identities by the SDK for now - account: new Account({ address: accountIdToString(primaryKey.unwrap()) }, context), - permissions: { - assets: null, - portfolios: null, - transactions: null, - transactionGroups: transactionPermissionsToTxGroups(null), - }, - }; - }; - - const rawDid = stringToIdentityId(did, context); - - if (callback) { - return identity.didRecords(rawDid, records => callback(assembleResult(records))); - } - - const didRecords = await identity.didRecords(rawDid); - return assembleResult(didRecords); - } - - /** - * Retrieve a list of all Assets which were held at one point by this Identity - * - * @note uses the middlewareV2 - * @note supports pagination - */ - public async getHeldAssets( - opts: { - order?: AssetHoldersOrderBy; - size?: BigNumber; - start?: BigNumber; - } = {} - ): Promise> { - const { context, did } = this; - - const { size, start, order } = opts; - - const { - data: { - assetHolders: { nodes, totalCount }, - }, - } = await context.queryMiddleware>( - assetHoldersQuery( - { - identityId: did, - }, - size, - start, - order - ) - ); - - const count = new BigNumber(totalCount); - - const data = nodes.map(({ assetId: ticker }) => new FungibleAsset({ ticker }, context)); - - const next = calculateNextKey(count, data.length, start); - - return { - data, - next, - count, - }; - } - - /** - * Retrieve a list of all NftCollections which were held at one point by this Identity - * - * @note uses the middlewareV2 - * @note supports pagination - */ - public async getHeldNfts( - opts: { - order?: NftHoldersOrderBy; - size?: BigNumber; - start?: BigNumber; - } = {} - ): Promise> { - const { context, did } = this; - - const { size, start, order } = opts; - - const { - data: { - nftHolders: { nodes, totalCount }, - }, - } = await context.queryMiddleware>( - nftHoldersQuery( - { - identityId: did, - }, - size, - start, - order - ) - ); - - const count = new BigNumber(totalCount); - - const data = nodes.map(({ assetId: ticker, nftIds }) => { - const collection = new NftCollection({ ticker }, context); - const nfts = nftIds.map((id: number) => new Nft({ ticker, id: new BigNumber(id) }, context)); - - return { collection, nfts }; - }); - - const next = calculateNextKey(count, data.length, start); - - return { - data, - next, - count, - }; - } - - /** - * Check whether this Identity possesses all specified roles - */ - public async checkRoles(roles: Role[]): Promise { - const missingRoles = await P.filter(roles, async role => { - const hasRole = await this.hasRole(role); - - return !hasRole; - }); - - if (missingRoles.length) { - return { - missingRoles, - result: false, - }; - } - - return { - result: true, - }; - } - - /** - * Get the list of Assets for which this Identity is a trusted claim issuer - * - * @note uses the middlewareV2 - */ - public async getTrustingAssets(): Promise { - const { context, did } = this; - - const { - data: { - trustedClaimIssuers: { nodes }, - }, - } = await context.queryMiddleware>( - trustingAssetsQuery({ issuer: did }) - ); - - return nodes.map(({ assetId: ticker }) => new FungibleAsset({ ticker }, context)); - } - - /** - * Retrieve all Venues created by this Identity - */ - public async getVenues(): Promise { - const { - context: { - polymeshApi: { - query: { settlement }, - }, - }, - did, - context, - } = this; - - const assembleResult = (ids: u64[]): Venue[] => - ids.map(id => new Venue({ id: u64ToBigNumber(id) }, context)); - - const rawDid = stringToIdentityId(did, context); - - const venueIdsKeys = await settlement.userVenues.keys(rawDid); - const venueIds = venueIdsKeys.map(key => { - return key.args[1]; - }); - - return assembleResult(venueIds); - } - - /** - * Retrieve all Instructions where this Identity is a custodian of one or more portfolios in the legs, - * grouped by status - */ - public async getInstructions(): Promise { - const { did, portfolios } = this; - - const ownedPortfolios = await portfolios.getPortfolios(); - - const [ownedCustodiedPortfolios, { data: custodiedPortfolios }] = await Promise.all([ - P.filter(ownedPortfolios, portfolio => portfolio.isCustodiedBy({ identity: did })), - this.portfolios.getCustodiedPortfolios(), - ]); - - const allPortfolios = [...ownedCustodiedPortfolios, ...custodiedPortfolios]; - - const { affirmed, pending, failed } = await this.assembleGroupedInstructions(allPortfolios); - - return { - affirmed: differenceWith(affirmed, pending, (obj1, obj2) => obj1.id.eq(obj2.id)), - pending, - failed, - }; - } - - /** - * Get all the instructions grouped by status, where given portfolios are involved - * - * @hidden - */ - private async assembleGroupedInstructions( - portfolios: (DefaultPortfolio | NumberedPortfolio)[] - ): Promise { - const { - context: { - polymeshApi: { - query: { settlement }, - }, - }, - context, - } = this; - - const affirmed: Instruction[] = []; - const pending: Instruction[] = []; - const failed: Instruction[] = []; - - const portfolioIds = portfolios.map(portfolioLikeToPortfolioId); - - await P.map(portfolioIds, portfolioId => assertPortfolioExists(portfolioId, context)); - - const portfolioIdChunks = chunk(portfolioIds, MAX_CONCURRENT_REQUESTS); - - await P.each(portfolioIdChunks, async portfolioIdChunk => { - const auths = await P.map(portfolioIdChunk, portfolioId => - settlement.userAffirmations.entries(portfolioIdToMeshPortfolioId(portfolioId, context)) - ); - - const uniqueEntries = uniqBy( - flatten(auths).map(([key, status]) => ({ id: key.args[1], status })), - ({ id, status }) => `${id.toString()}-${status.type}` - ); - - const instructionStatuses = await settlement.instructionStatuses.multi( - uniqueEntries.map(({ id }) => id) - ); - - uniqueEntries.forEach(({ id, status: affirmationStatus }, index) => { - const instruction = new Instruction({ id: u64ToBigNumber(id) }, context); - const status = instructionStatuses[index]; - - if (status.isFailed) { - failed.push(instruction); - } else if (affirmationStatus.isAffirmed) { - affirmed.push(instruction); - } else if (status.isPending) { - pending.push(instruction); - } - }); - }); - - return { - affirmed, - pending, - failed, - }; - } - - /** - * Retrieve all Instructions where this Identity is a participant (owner/custodian), - * grouped by the role of the Identity and Instruction status - */ - public async getInvolvedInstructions(): Promise { - const { portfolios, did } = this; - - const [allPortfolios, { data: custodiedPortfolios }] = await Promise.all([ - portfolios.getPortfolios(), - portfolios.getCustodiedPortfolios(), - ]); - - const ownedPortfolios: (DefaultPortfolio | NumberedPortfolio)[] = []; - const ownedCustodiedPortfolios: (DefaultPortfolio | NumberedPortfolio)[] = []; - const custodies = await Promise.all( - allPortfolios.map(portfolio => portfolio.isCustodiedBy({ identity: did })) - ); - - custodies.forEach((custody, index) => { - if (custody) { - ownedCustodiedPortfolios.push(allPortfolios[index]); - } else { - ownedPortfolios.push(allPortfolios[index]); - } - }); - - /** - * This gathers all the partiallyAffirmed Instructions as the intersection of pending + affirmed. - * These partiallyAffirmed ones, are then removed from the affirmed and pending to get the unique sets. - */ - const assembleResult = ({ - affirmed, - pending, - failed, - }: GroupedInstructions): InstructionsByStatus => { - const partiallyAffirmed = intersectionWith(affirmed, pending, (obj1, obj2) => - obj1.id.eq(obj2.id) - ); - - return { - affirmed: differenceWith(affirmed, partiallyAffirmed, (obj1, obj2) => obj1.id.eq(obj2.id)), - pending: differenceWith(pending, partiallyAffirmed, (obj1, obj2) => obj1.id.eq(obj2.id)), - partiallyAffirmed, - failed, - }; - }; - - const [owned, custodied] = await Promise.all([ - this.assembleGroupedInstructions(ownedPortfolios), - this.assembleGroupedInstructions([...ownedCustodiedPortfolios, ...custodiedPortfolios]), - ]); - - return { - owned: assembleResult(owned), - custodied: assembleResult(custodied), - }; - } - - /** - * Check whether secondary Accounts are frozen - * - * @note can be subscribed to - */ - public areSecondaryAccountsFrozen(): Promise; - public areSecondaryAccountsFrozen(callback: SubCallback): Promise; - - // eslint-disable-next-line require-jsdoc - public async areSecondaryAccountsFrozen( - callback?: SubCallback - ): Promise { - const { - did, - context: { - polymeshApi: { - query: { identity }, - }, - }, - context, - } = this; - - const rawIdentityId = stringToIdentityId(did, context); - - if (callback) { - return identity.isDidFrozen(rawIdentityId, frozen => { - // eslint-disable-next-line @typescript-eslint/no-floating-promises -- callback errors should be handled by the caller - callback(boolToBoolean(frozen)); - }); - } - - const result = await identity.isDidFrozen(rawIdentityId); - - return boolToBoolean(result); - } - - /** - * Retrieve every Dividend Distribution for which this Identity is eligible and hasn't been paid - * - * @note uses the middleware - * @note this query can be potentially **SLOW** depending on which Assets this Identity has held - */ - public async getPendingDistributions(): Promise { - const { context, did } = this; - let assets: FungibleAsset[] = []; - let allFetched = false; - let start: BigNumber | undefined; - - while (!allFetched) { - const { data, next } = await this.getHeldAssets({ size: MAX_PAGE_SIZE, start }); - start = next ? new BigNumber(next) : undefined; - allFetched = !next; - assets = [...assets, ...data]; - } - - const distributions = await this.context.getDividendDistributionsForAssets({ assets }); - - const now = new Date(); - - /* - * We filter distributions out if: - * - They have expired - * - They have not begun - * - This Identity has already been paid - */ - return P.filter(distributions, async ({ distribution }): Promise => { - const { - expiryDate, - asset: { ticker }, - id: localId, - paymentDate, - } = distribution; - - const isExpired = expiryDate && expiryDate < now; - const hasNotStarted = paymentDate > now; - - if (isExpired || hasNotStarted) { - return false; - } - - const holderPaid = await context.polymeshApi.query.capitalDistribution.holderPaid( - tuple( - corporateActionIdentifierToCaId({ ticker, localId }, context), - stringToIdentityId(did, context) - ) - ); - - return !boolToBoolean(holderPaid); - }); - } - - /** - * Get the list of secondary Accounts related to the Identity - * - * @note supports pagination - * @note can be subscribed to - */ - public async getSecondaryAccounts( - paginationOpts?: PaginationOptions - ): Promise>; - - public async getSecondaryAccounts( - callback: SubCallback - ): Promise; - - public getSecondaryAccounts( - paginationOpts: PaginationOptions, - callback: SubCallback - ): Promise; - - // eslint-disable-next-line require-jsdoc - public async getSecondaryAccounts( - args?: PaginationOptions | SubCallback, - callback?: SubCallback - ): Promise | UnsubCallback> { - const { - did, - context, - context: { - polymeshApi: { - query: { identity }, - }, - }, - } = this; - - let opts; - let cb: SubCallback | undefined = callback; - switch (typeof args) { - case 'undefined': { - break; - } - case 'function': { - cb = args; - break; - } - default: { - opts = args; - break; - } - } - - const keyToAccount = ( - key: StorageKey<[PolymeshPrimitivesIdentityId, AccountId32]> - ): Account => { - const [, value] = key.args; - const address = accountIdToString(value); - return new Account({ address }, context); - }; - - const { entries: keys, lastKey: next } = await requestPaginated(identity.didKeys, { - arg: did, - paginationOpts: opts, - }); - const accounts = keys.map(([key]) => keyToAccount(key)); - - if (cb) { - return getSecondaryAccountPermissions({ accounts }, context, cb); - } - - const data = await getSecondaryAccountPermissions({ accounts }, context); - return { - data, - next, - }; - } - - /** - * Determine whether this Identity exists on chain - * - * @note asset Identities aren't considered to exist for this check - */ - public async exists(): Promise { - const { did, context } = this; - - const didRecord = await context.polymeshApi.query.identity.didRecords( - stringToIdentityId(did, context) - ); - - if (didRecord.isNone) { - return false; - } - - const record = didRecord.unwrap(); - - if (record.primaryKey.isNone) { - return false; - } - - return true; - } - - /** - * Return the Identity's DID - */ - public toHuman(): string { - return this.did; - } - - /** - * Retrieve all Instructions that have been associated with this Identity's DID - * - * @note uses the middleware V2 - */ - public async getHistoricalInstructions(): Promise { - const { context, did } = this; - - const { - data: { - legs: { nodes: instructionsResult }, - }, - } = await context.queryMiddleware>(instructionsByDidQuery(did)); - - return instructionsResult.map(({ instruction }) => - // eslint-disable-next-line @typescript-eslint/no-non-null-assertion - middlewareInstructionToHistoricInstruction(instruction!, context) - ); - } - - /** - * Returns the list of all child identities - * - * @note this query can be potentially **SLOW** depending on the number of parent Identities present on the chain - */ - public async getChildIdentities(): Promise { - const { - context: { - polymeshApi: { - query: { identity }, - }, - }, - context, - did, - } = this; - - const rawEntries = await identity.parentDid.entries(); - - return rawEntries - .filter(([, rawParentDid]) => identityIdToString(rawParentDid.unwrapOrDefault()) === did) - .map( - ([ - { - args: [rawChildDid], - }, - ]) => new ChildIdentity({ did: identityIdToString(rawChildDid) }, context) - ); - } - - /** - * Unlinks a child identity - * - * @throws if - * - the `child` is not a child of this identity - * - the transaction signer is not the primary key of the parent identity - */ - public unlinkChild: ProcedureMethod; - - /** - * Check whether this Identity is a child Identity - */ - public async isChild(): Promise { - const { did, context } = this; - - const childIdentity = new ChildIdentity({ did }, context); - - return childIdentity.exists(); - } - - /** - * Get Confidential Transactions affirmations involving this identity - * - * @note supports pagination - */ - public async getInvolvedConfidentialTransactions( - paginationOpts?: PaginationOptions - ): Promise> { - const { - did, - context, - context: { - polymeshApi: { - query: { confidentialAsset }, - }, - }, - } = this; - - const { entries, lastKey: next } = await requestPaginated(confidentialAsset.userAffirmations, { - arg: did, - paginationOpts, - }); - - const data = entries.map(entry => { - const [key, value] = entry; - const affirmed = boolToBoolean(value.unwrap()); - const [rawTransactionId, rawLegId, rawLegParty] = key.args[1]; - - const transactionId = confidentialTransactionIdToBigNumber(rawTransactionId); - const legId = confidentialTransactionLegIdToBigNumber(rawLegId); - const role = confidentialLegPartyToRole(rawLegParty); - - const transaction = new ConfidentialTransaction({ id: transactionId }, context); - - return { - affirmed, - legId, - transaction, - role, - }; - }); - - return { - data, - next, - }; - } - - /** - * Retrieve all Confidential Venues created by this Identity - */ - public async getConfidentialVenues(): Promise { - const { - context: { - polymeshApi: { - query: { confidentialAsset }, - }, - }, - did, - context, - } = this; - - const rawDid = stringToIdentityId(did, context); - - const venueIdsKeys = await confidentialAsset.identityVenues.keys(rawDid); - - return venueIdsKeys.map(key => { - const rawVenueId = key.args[1]; - - return new ConfidentialVenue({ id: u64ToBigNumber(rawVenueId) }, context); - }); - } -} diff --git a/src/api/entities/Instruction/__tests__/index.ts b/src/api/entities/Instruction/__tests__/index.ts deleted file mode 100644 index 7e70b665a6..0000000000 --- a/src/api/entities/Instruction/__tests__/index.ts +++ /dev/null @@ -1,1221 +0,0 @@ -import { StorageKey, u64 } from '@polkadot/types'; -import { PolymeshPrimitivesIdentityIdPortfolioId } from '@polkadot/types/lookup'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { Context, Entity, Instruction, PolymeshTransaction } from '~/internal'; -import { instructionsQuery } from '~/middleware/queries'; -import { InstructionStatusEnum } from '~/middleware/types'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { - createMockInstructionStatus, - createMockNfts, - createMockTicker, - createMockU64, -} from '~/testUtils/mocks/dataSources'; -import { Mocked } from '~/testUtils/types'; -import { - AffirmationStatus, - FungibleLeg, - InstructionAffirmationOperation, - InstructionStatus, - InstructionType, - NftLeg, - UnsubCallback, -} from '~/types'; -import { InstructionStatus as InternalInstructionStatus } from '~/types/internal'; -import { tuple } from '~/types/utils'; -import * as utilsConversionModule from '~/utils/conversion'; -import * as utilsInternalModule from '~/utils/internal'; - -jest.mock( - '~/api/entities/Identity', - require('~/testUtils/mocks/entities').mockIdentityModule('~/api/entities/Identity') -); -jest.mock( - '~/api/entities/Asset/Fungible', - require('~/testUtils/mocks/entities').mockFungibleAssetModule('~/api/entities/Asset/Fungible') -); -jest.mock( - '~/api/entities/Venue', - require('~/testUtils/mocks/entities').mockVenueModule('~/api/entities/Venue') -); -jest.mock( - '~/base/Procedure', - require('~/testUtils/mocks/procedure').mockProcedureModule('~/base/Procedure') -); - -describe('Instruction class', () => { - let context: Mocked; - let instruction: Instruction; - let id: BigNumber; - let rawId: u64; - - beforeAll(() => { - dsMockUtils.initMocks(); - entityMockUtils.initMocks(); - procedureMockUtils.initMocks(); - - id = new BigNumber(1); - rawId = dsMockUtils.createMockU64(id); - }); - - beforeEach(() => { - context = dsMockUtils.getContextInstance(); - instruction = new Instruction({ id }, context); - }); - - afterEach(() => { - dsMockUtils.reset(); - entityMockUtils.reset(); - procedureMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - procedureMockUtils.cleanup(); - }); - - it('should extend Entity', () => { - expect(Instruction.prototype instanceof Entity).toBe(true); - }); - - describe('method: isUniqueIdentifiers', () => { - it('should return true if the object conforms to the interface', () => { - expect(Instruction.isUniqueIdentifiers({ id: new BigNumber(1) })).toBe(true); - expect(Instruction.isUniqueIdentifiers({})).toBe(false); - expect(Instruction.isUniqueIdentifiers({ id: 3 })).toBe(false); - }); - }); - - describe('method: isExecuted', () => { - afterAll(() => { - jest.restoreAllMocks(); - }); - - let bigNumberToU64Spy: jest.SpyInstance; - let instructionCounterMock: jest.Mock; - - beforeAll(() => { - bigNumberToU64Spy = jest.spyOn(utilsConversionModule, 'bigNumberToU64'); - }); - - beforeEach(() => { - instructionCounterMock = dsMockUtils.createQueryMock('settlement', 'instructionCounter', { - returnValue: dsMockUtils.createMockU64(new BigNumber(1000)), - }); - when(bigNumberToU64Spy).calledWith(id, context).mockReturnValue(rawId); - }); - - it('should return whether the instruction is executed', async () => { - const owner = 'someDid'; - - entityMockUtils.configureMocks({ identityOptions: { did: owner } }); - - const instructionStatusesMock = dsMockUtils.createQueryMock( - 'settlement', - 'instructionStatuses' - ); - when(instructionStatusesMock) - .calledWith(rawId) - .mockResolvedValue(dsMockUtils.createMockInstructionStatus('Success')); - - let result = await instruction.isExecuted(); - - expect(result).toBe(true); - - when(instructionStatusesMock) - .calledWith(rawId) - .mockResolvedValue( - dsMockUtils.createMockInstructionStatus(InternalInstructionStatus.Unknown) - ); - instructionCounterMock.mockResolvedValue(dsMockUtils.createMockU64(new BigNumber(0))); - - result = await instruction.isExecuted(); - - expect(result).toBe(false); - - instructionStatusesMock.mockResolvedValue( - dsMockUtils.createMockInstructionStatus(InternalInstructionStatus.Pending) - ); - - result = await instruction.isExecuted(); - - expect(result).toBe(false); - }); - }); - - describe('method: isPending', () => { - afterAll(() => { - jest.restoreAllMocks(); - }); - - let bigNumberToU64Spy: jest.SpyInstance; - - beforeAll(() => { - bigNumberToU64Spy = jest.spyOn(utilsConversionModule, 'bigNumberToU64'); - }); - - beforeEach(() => { - when(bigNumberToU64Spy).calledWith(id, context).mockReturnValue(rawId); - }); - - it('should return whether the instruction is pending', async () => { - const owner = 'someDid'; - - entityMockUtils.configureMocks({ identityOptions: { did: owner } }); - - const instructionStatusesMock = dsMockUtils.createQueryMock( - 'settlement', - 'instructionStatuses' - ); - when(instructionStatusesMock) - .calledWith(rawId) - .mockResolvedValue( - dsMockUtils.createMockInstructionStatus(InternalInstructionStatus.Pending) - ); - - let result = await instruction.isPending(); - - expect(result).toBe(true); - - instructionStatusesMock.mockResolvedValue(dsMockUtils.createMockInstructionStatus('Success')); - - result = await instruction.isPending(); - - expect(result).toBe(false); - }); - }); - - describe('method: onStatusChange', () => { - let bigNumberToU64Spy: jest.SpyInstance; - let instructionStatusesMock: jest.Mock; - - afterAll(() => { - jest.restoreAllMocks(); - }); - - beforeAll(() => { - bigNumberToU64Spy = jest.spyOn(utilsConversionModule, 'bigNumberToU64'); - }); - - beforeEach(() => { - const owner = 'someDid'; - entityMockUtils.configureMocks({ identityOptions: { did: owner } }); - when(bigNumberToU64Spy).calledWith(id, context).mockReturnValue(rawId); - - instructionStatusesMock = dsMockUtils.createQueryMock('settlement', 'instructionStatuses'); - }); - - it('should allow subscription', async () => { - const unsubCallback = 'unsubCallback' as unknown as Promise; - const callback = jest.fn(); - - const mockPendingStatus = dsMockUtils.createMockInstructionStatus(InstructionStatus.Pending); - - instructionStatusesMock.mockImplementationOnce(async (_, cbFunc) => { - cbFunc(createMockInstructionStatus(InternalInstructionStatus.Pending)); - return unsubCallback; - }); - - when(instructionStatusesMock).calledWith(rawId).mockResolvedValue(mockPendingStatus); - - let result = await instruction.onStatusChange(callback); - - expect(result).toEqual(unsubCallback); - expect(callback).toBeCalledWith(InstructionStatus.Pending); - - instructionStatusesMock.mockImplementationOnce(async (_, cbFunc) => { - cbFunc(dsMockUtils.createMockInstructionStatus(InternalInstructionStatus.Failed)); - return unsubCallback; - }); - - result = await instruction.onStatusChange(callback); - - expect(result).toEqual(unsubCallback); - expect(callback).toBeCalledWith(InstructionStatus.Failed); - - instructionStatusesMock.mockImplementationOnce(async (_, cbFunc) => { - cbFunc(dsMockUtils.createMockInstructionStatus(InternalInstructionStatus.Success)); - return unsubCallback; - }); - - result = await instruction.onStatusChange(callback); - - expect(result).toEqual(unsubCallback); - expect(callback).toBeCalledWith(InstructionStatus.Success); - - instructionStatusesMock.mockImplementationOnce(async (_, cbFunc) => { - cbFunc(dsMockUtils.createMockInstructionStatus(InternalInstructionStatus.Rejected)); - return unsubCallback; - }); - - result = await instruction.onStatusChange(callback); - - expect(result).toEqual(unsubCallback); - expect(callback).toBeCalledWith(InstructionStatus.Rejected); - }); - - it('should error on unknown instruction status', () => { - const unsubCallback = 'unsubCallback' as unknown as Promise; - const callback = jest.fn(); - - instructionStatusesMock.mockImplementationOnce(async (_, cbFunc) => { - cbFunc(createMockInstructionStatus(InternalInstructionStatus.Unknown)); - return unsubCallback; - }); - - when(instructionStatusesMock) - .calledWith(rawId) - .mockResolvedValue(dsMockUtils.createMockInstructionStatus('Unknown')); - - const expectedError = new Error('Unknown instruction status'); - - return expect(instruction.onStatusChange(callback)).rejects.toThrow(expectedError); - }); - }); - - describe('method: exists', () => { - afterAll(() => { - jest.restoreAllMocks(); - }); - - let bigNumberToU64Spy: jest.SpyInstance; - - beforeAll(() => { - bigNumberToU64Spy = jest.spyOn(utilsConversionModule, 'bigNumberToU64'); - }); - - beforeEach(() => { - when(bigNumberToU64Spy).calledWith(id, context).mockReturnValue(rawId); - }); - - it('should return whether the instruction exists', async () => { - const owner = 'someDid'; - - entityMockUtils.configureMocks({ identityOptions: { did: owner } }); - - const instructionCounterMock = dsMockUtils - .createQueryMock('settlement', 'instructionCounter') - .mockResolvedValue(dsMockUtils.createMockU64(new BigNumber(10))); - - let result = await instruction.exists(); - - expect(result).toBe(true); - - instructionCounterMock.mockResolvedValue(dsMockUtils.createMockU64(new BigNumber(0))); - - result = await instruction.exists(); - - expect(result).toBe(false); - }); - }); - - describe('method: details', () => { - afterAll(() => { - jest.restoreAllMocks(); - }); - - let bigNumberToU64Spy: jest.SpyInstance; - let queryMultiMock: jest.Mock; - let instructionMemoToStringSpy: jest.SpyInstance; - let meshSettlementTypeToEndConditionSpy: jest.SpyInstance; - - beforeAll(() => { - bigNumberToU64Spy = jest.spyOn(utilsConversionModule, 'bigNumberToU64'); - instructionMemoToStringSpy = jest.spyOn(utilsConversionModule, 'instructionMemoToString'); - meshSettlementTypeToEndConditionSpy = jest.spyOn( - utilsConversionModule, - 'meshSettlementTypeToEndCondition' - ); - }); - - beforeEach(() => { - when(bigNumberToU64Spy).calledWith(id, context).mockReturnValue(rawId); - dsMockUtils.createQueryMock('settlement', 'instructionDetails'); - dsMockUtils.createQueryMock('settlement', 'instructionStatuses'); - dsMockUtils.createQueryMock('settlement', 'instructionMemos'); - queryMultiMock = dsMockUtils.getQueryMultiMock(); - }); - - it('should return the Instruction details', async () => { - let status = InstructionStatus.Pending; - const createdAt = new Date('10/14/1987'); - const tradeDate = new Date('11/17/1987'); - const valueDate = new Date('11/17/1987'); - const venueId = new BigNumber(1); - let type = InstructionType.SettleOnAffirmation; - const owner = 'someDid'; - const memo = 'someMemo'; - - entityMockUtils.configureMocks({ identityOptions: { did: owner } }); - - let rawSettlementType = dsMockUtils.createMockSettlementType(type); - const rawInstructionDetails = dsMockUtils.createMockInstruction({ - instructionId: dsMockUtils.createMockU64(new BigNumber(1)), - venueId: dsMockUtils.createMockU64(venueId), - createdAt: dsMockUtils.createMockOption( - dsMockUtils.createMockMoment(new BigNumber(createdAt.getTime())) - ), - tradeDate: dsMockUtils.createMockOption( - dsMockUtils.createMockMoment(new BigNumber(tradeDate.getTime())) - ), - valueDate: dsMockUtils.createMockOption( - dsMockUtils.createMockMoment(new BigNumber(valueDate.getTime())) - ), - settlementType: rawSettlementType, - }); - const rawInstructionStatus = dsMockUtils.createMockInstructionStatus( - InternalInstructionStatus.Pending - ); - when(meshSettlementTypeToEndConditionSpy) - .calledWith(rawSettlementType) - .mockReturnValueOnce({ type }); - const rawInstructionMemo = dsMockUtils.createMockMemo(memo); - const rawOptionalMemo = dsMockUtils.createMockOption(rawInstructionMemo); - - when(instructionMemoToStringSpy).calledWith(rawInstructionMemo).mockReturnValue(memo); - - queryMultiMock.mockResolvedValueOnce([ - rawInstructionDetails, - rawInstructionStatus, - rawOptionalMemo, - ]); - - let result = await instruction.details(); - - expect(result).toMatchObject({ - status, - createdAt, - tradeDate, - valueDate, - type, - memo, - }); - expect(result.venue.id).toEqual(venueId); - - type = InstructionType.SettleOnBlock; - const endBlock = new BigNumber(100); - - rawSettlementType = dsMockUtils.createMockSettlementType({ - SettleOnBlock: dsMockUtils.createMockU32(endBlock), - }); - when(meshSettlementTypeToEndConditionSpy) - .calledWith(rawSettlementType) - .mockReturnValueOnce({ type, endBlock }); - queryMultiMock.mockResolvedValueOnce([ - dsMockUtils.createMockInstruction({ - ...rawInstructionDetails, - tradeDate: dsMockUtils.createMockOption(), - valueDate: dsMockUtils.createMockOption(), - settlementType: rawSettlementType, - }), - rawInstructionStatus, - dsMockUtils.createMockOption(), - ]); - - result = await instruction.details(); - - expect(result).toMatchObject({ - status, - createdAt, - tradeDate: null, - valueDate: null, - type, - endBlock, - memo: null, - }); - expect(result.venue.id).toEqual(venueId); - - type = InstructionType.SettleManual; - - rawSettlementType = dsMockUtils.createMockSettlementType({ - SettleManual: dsMockUtils.createMockU32(endBlock), - }); - when(meshSettlementTypeToEndConditionSpy) - .calledWith(rawSettlementType) - .mockReturnValueOnce({ type, endAfterBlock: endBlock }); - - queryMultiMock.mockResolvedValueOnce([ - dsMockUtils.createMockInstruction({ - ...rawInstructionDetails, - tradeDate: dsMockUtils.createMockOption(), - valueDate: dsMockUtils.createMockOption(), - settlementType: rawSettlementType, - }), - rawInstructionStatus, - dsMockUtils.createMockOption(), - ]); - - result = await instruction.details(); - - expect(result).toMatchObject({ - status, - createdAt, - tradeDate: null, - valueDate: null, - type, - endAfterBlock: endBlock, - memo: null, - }); - expect(result.venue.id).toEqual(venueId); - - status = InstructionStatus.Failed; - type = InstructionType.SettleOnAffirmation; - - when(meshSettlementTypeToEndConditionSpy) - .calledWith(rawSettlementType) - .mockReturnValueOnce({ type }); - - queryMultiMock.mockResolvedValueOnce([ - dsMockUtils.createMockInstruction({ - ...rawInstructionDetails, - }), - dsMockUtils.createMockInstructionStatus(InternalInstructionStatus.Failed), - rawOptionalMemo, - ]); - - result = await instruction.details(); - - expect(result).toMatchObject({ - status, - createdAt, - tradeDate, - valueDate, - type, - memo, - }); - expect(result.venue.id).toEqual(venueId); - }); - - it('should throw an error if an Instruction leg is not present', () => { - queryMultiMock.mockResolvedValueOnce([ - dsMockUtils.createMockInstruction({ - instructionId: dsMockUtils.createMockU64(new BigNumber(1)), - venueId: dsMockUtils.createMockU64(new BigNumber(1)), - createdAt: dsMockUtils.createMockOption(), - tradeDate: dsMockUtils.createMockOption(), - valueDate: dsMockUtils.createMockOption(), - settlementType: dsMockUtils.createMockSettlementType(), - }), - dsMockUtils.createMockOption(), - ]); - - return expect(instruction.details()).rejects.toThrow( - 'Instruction has already been executed/rejected and it was purged from chain' - ); - }); - }); - - describe('method: getAffirmations', () => { - const did = 'someDid'; - const status = AffirmationStatus.Affirmed; - let rawStorageKey: [u64, PolymeshPrimitivesIdentityIdPortfolioId][]; - - let instructionStatusesMock: jest.Mock; - - afterAll(() => { - jest.restoreAllMocks(); - }); - - beforeAll(() => { - rawStorageKey = [ - tuple( - dsMockUtils.createMockU64(), - dsMockUtils.createMockPortfolioId({ - did: dsMockUtils.createMockIdentityId(did), - kind: dsMockUtils.createMockPortfolioKind('Default'), - }) - ), - ]; - const authsReceivedEntries = rawStorageKey.map(([instructionId, portfolioId]) => - tuple( - { - args: [instructionId, portfolioId], - } as unknown as StorageKey, - dsMockUtils.createMockAffirmationStatus(AffirmationStatus.Affirmed) - ) - ); - jest - .spyOn(utilsInternalModule, 'requestPaginated') - .mockResolvedValue({ entries: authsReceivedEntries, lastKey: null }); - - jest.spyOn(utilsConversionModule, 'identityIdToString').mockClear().mockReturnValue(did); - jest - .spyOn(utilsConversionModule, 'meshAffirmationStatusToAffirmationStatus') - .mockReturnValue(status); - }); - - beforeEach(() => { - dsMockUtils.createQueryMock('settlement', 'instructionCounter', { - returnValue: dsMockUtils.createMockU64(new BigNumber(1000)), - }); - instructionStatusesMock = dsMockUtils.createQueryMock('settlement', 'instructionStatuses'); - - instructionStatusesMock.mockResolvedValue( - createMockInstructionStatus(InternalInstructionStatus.Pending) - ); - dsMockUtils.createQueryMock('settlement', 'affirmsReceived'); - }); - - it('should throw an error if the instruction is not pending', () => { - instructionStatusesMock.mockResolvedValue(dsMockUtils.createMockInstructionStatus('Success')); - - return expect(instruction.getAffirmations()).rejects.toThrow( - 'Instruction has already been executed/rejected and it was purged from chain' - ); - }); - - it('should return a list of Affirmation Statuses', async () => { - const { data } = await instruction.getAffirmations(); - - expect(data).toHaveLength(1); - expect(data[0].identity.did).toEqual(did); - expect(data[0].status).toEqual(status); - }); - }); - - describe('method: getLegs', () => { - let instructionStatusMock: jest.Mock; - - afterAll(() => { - jest.restoreAllMocks(); - }); - - let bigNumberToU64Spy: jest.SpyInstance; - - beforeAll(() => { - bigNumberToU64Spy = jest.spyOn(utilsConversionModule, 'bigNumberToU64'); - }); - - beforeEach(() => { - dsMockUtils.createQueryMock('settlement', 'instructionCounter', { - returnValue: dsMockUtils.createMockU64(new BigNumber(1000)), - }); - when(bigNumberToU64Spy).calledWith(id, context).mockReturnValue(rawId); - dsMockUtils.createQueryMock('settlement', 'instructionLegs'); - instructionStatusMock = dsMockUtils.createQueryMock('settlement', 'instructionStatuses'); - }); - - it("should return the instruction's legs", async () => { - const fromDid = 'fromDid'; - const toDid = 'toDid'; - const ticker = 'SOME_TICKER'; - const amount = new BigNumber(1000); - - entityMockUtils.configureMocks({ fungibleAssetOptions: { ticker } }); - instructionStatusMock.mockResolvedValue( - createMockInstructionStatus(InternalInstructionStatus.Pending) - ); - const mockLeg = dsMockUtils.createMockOption( - dsMockUtils.createMockInstructionLeg({ - Fungible: { - sender: dsMockUtils.createMockPortfolioId({ - did: dsMockUtils.createMockIdentityId(fromDid), - kind: dsMockUtils.createMockPortfolioKind('Default'), - }), - receiver: dsMockUtils.createMockPortfolioId({ - did: dsMockUtils.createMockIdentityId(toDid), - kind: dsMockUtils.createMockPortfolioKind('Default'), - }), - ticker: dsMockUtils.createMockTicker(ticker), - amount: dsMockUtils.createMockU128(amount.shiftedBy(6)), - }, - }) - ); - const entries = [tuple(['instructionId', 'legId'] as unknown as StorageKey, mockLeg)]; - - jest - .spyOn(utilsInternalModule, 'requestPaginated') - .mockClear() - .mockImplementation() - .mockResolvedValue({ entries, lastKey: null }); - - const { data: leg } = await instruction.getLegs(); - - expect((leg[0] as FungibleLeg).amount).toEqual(amount); - expect(leg[0].asset.ticker).toBe(ticker); - expect(leg[0].from.owner.did).toBe(fromDid); - expect(leg[0].to.owner.did).toBe(toDid); - }); - - it('should throw an error if the instruction is not pending', () => { - instructionStatusMock.mockResolvedValue(createMockInstructionStatus('Success')); - return expect(instruction.getLegs()).rejects.toThrow( - 'Instruction has already been executed/rejected and it was purged from chain' - ); - }); - - it('should handle NFT legs', async () => { - const fromDid = 'fromDid'; - const toDid = 'toDid'; - const ticker = 'SOME_TICKER'; - - entityMockUtils.configureMocks({ fungibleAssetOptions: { ticker } }); - instructionStatusMock.mockResolvedValue( - createMockInstructionStatus(InternalInstructionStatus.Pending) - ); - const mockLeg = dsMockUtils.createMockOption( - dsMockUtils.createMockInstructionLeg({ - NonFungible: { - sender: dsMockUtils.createMockPortfolioId({ - did: dsMockUtils.createMockIdentityId(fromDid), - kind: dsMockUtils.createMockPortfolioKind('Default'), - }), - receiver: dsMockUtils.createMockPortfolioId({ - did: dsMockUtils.createMockIdentityId(toDid), - kind: dsMockUtils.createMockPortfolioKind('Default'), - }), - nfts: createMockNfts({ - ticker: createMockTicker(ticker), - ids: [createMockU64(new BigNumber(1))], - }), - }, - }) - ); - const entries = [tuple(['instructionId', 'legId'] as unknown as StorageKey, mockLeg)]; - - jest - .spyOn(utilsInternalModule, 'requestPaginated') - .mockClear() - .mockImplementation() - .mockResolvedValue({ entries, lastKey: null }); - - const { data: leg } = await instruction.getLegs(); - - expect((leg[0] as NftLeg).nfts).toEqual( - expect.arrayContaining([expect.objectContaining({ id: new BigNumber(1) })]) - ); - expect(leg[0].asset.ticker).toBe(ticker); - expect(leg[0].from.owner.did).toBe(fromDid); - expect(leg[0].to.owner.did).toBe(toDid); - }); - - it('should throw an error if a leg is a off chain (to be implemented)', () => { - const fromDid = 'fromDid'; - const toDid = 'toDid'; - const ticker = 'SOME_TICKER'; - - entityMockUtils.configureMocks({ fungibleAssetOptions: { ticker } }); - instructionStatusMock.mockResolvedValue( - createMockInstructionStatus(InternalInstructionStatus.Pending) - ); - const mockLeg = dsMockUtils.createMockOption( - dsMockUtils.createMockInstructionLeg({ - OffChain: { - senderIdentity: dsMockUtils.createMockIdentityId(fromDid), - receiverIdentity: dsMockUtils.createMockIdentityId(toDid), - ticker: dsMockUtils.createMockTicker(ticker), - amount: dsMockUtils.createMockU128(new BigNumber(1)), - }, - }) - ); - const entries = [tuple(['instructionId', 'legId'] as unknown as StorageKey, mockLeg)]; - - jest - .spyOn(utilsInternalModule, 'requestPaginated') - .mockClear() - .mockImplementation() - .mockResolvedValue({ entries, lastKey: null }); - - return expect(instruction.getLegs()).rejects.toThrow(); - }); - - it('should throw an error if a leg in None', () => { - const ticker = 'SOME_TICKER'; - - entityMockUtils.configureMocks({ fungibleAssetOptions: { ticker } }); - instructionStatusMock.mockResolvedValue( - createMockInstructionStatus(InternalInstructionStatus.Pending) - ); - const mockLeg = dsMockUtils.createMockOption(); - const entries = [tuple(['instructionId', 'legId'] as unknown as StorageKey, mockLeg)]; - - jest - .spyOn(utilsInternalModule, 'requestPaginated') - .mockClear() - .mockImplementation() - .mockResolvedValue({ entries, lastKey: null }); - - return expect(instruction.getLegs()).rejects.toThrow(); - }); - }); - - describe('method: reject', () => { - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should prepare the procedure and return the resulting transaction', async () => { - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith( - { - args: { id, operation: InstructionAffirmationOperation.Reject }, - transformer: undefined, - }, - context, - {} - ) - .mockResolvedValue(expectedTransaction); - - const tx = await instruction.reject(); - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: affirm', () => { - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should prepare the procedure and return the resulting transaction', async () => { - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith( - { - args: { id, operation: InstructionAffirmationOperation.Affirm }, - transformer: undefined, - }, - context, - {} - ) - .mockResolvedValue(expectedTransaction); - - const tx = await instruction.affirm(); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: withdraw', () => { - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should prepare the procedure and return the resulting transaction', async () => { - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith( - { - args: { id, operation: InstructionAffirmationOperation.Withdraw }, - transformer: undefined, - }, - context, - {} - ) - .mockResolvedValue(expectedTransaction); - - const tx = await instruction.withdraw(); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: rejectAsMediator', () => { - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should prepare the procedure and return the resulting transaction', async () => { - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith( - { - args: { id, operation: InstructionAffirmationOperation.RejectAsMediator }, - transformer: undefined, - }, - context, - {} - ) - .mockResolvedValue(expectedTransaction); - - const tx = await instruction.rejectAsMediator(); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: affirmAsMediator', () => { - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should prepare the procedure and return the resulting transaction', async () => { - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith( - { - args: { id, operation: InstructionAffirmationOperation.AffirmAsMediator }, - transformer: undefined, - }, - context, - {} - ) - .mockResolvedValue(expectedTransaction); - - const tx = await instruction.affirmAsMediator(); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: withdrawAsMediator', () => { - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should prepare the procedure and return the resulting transaction', async () => { - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith( - { - args: { id, operation: InstructionAffirmationOperation.WithdrawAsMediator }, - transformer: undefined, - }, - context, - {} - ) - .mockResolvedValue(expectedTransaction); - - const tx = await instruction.withdrawAsMediator(); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: executeManually', () => { - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should prepare the procedure and return the resulting transaction', async () => { - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith( - { - args: { id, skipAffirmationCheck: false }, - transformer: undefined, - }, - context, - {} - ) - .mockResolvedValue(expectedTransaction); - - const tx = await instruction.executeManually({ id, skipAffirmationCheck: false }); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: getStatus', () => { - afterAll(() => { - jest.restoreAllMocks(); - }); - - let bigNumberToU64Spy: jest.SpyInstance; - - beforeAll(() => { - bigNumberToU64Spy = jest.spyOn(utilsConversionModule, 'bigNumberToU64'); - }); - - beforeEach(() => { - when(bigNumberToU64Spy).calledWith(id, context).mockReturnValue(rawId); - }); - - it('should return Pending Instruction status', async () => { - const queryResult = dsMockUtils.createMockInstruction({ - instructionId: dsMockUtils.createMockU64(new BigNumber(1)), - venueId: dsMockUtils.createMockU64(), - createdAt: dsMockUtils.createMockOption(), - tradeDate: dsMockUtils.createMockOption(), - valueDate: dsMockUtils.createMockOption(), - settlementType: dsMockUtils.createMockSettlementType(), - }); - - when(dsMockUtils.createQueryMock('settlement', 'instructionDetails')) - .calledWith(rawId) - .mockResolvedValue(queryResult); - - when(dsMockUtils.createQueryMock('settlement', 'instructionStatuses')) - .calledWith(rawId) - .mockResolvedValue( - dsMockUtils.createMockInstructionStatus(InternalInstructionStatus.Pending) - ); - - const result = await instruction.getStatus(); - expect(result).toMatchObject({ - status: InstructionStatus.Pending, - }); - }); - - it('should return Executed Instruction status', async () => { - const blockNumber = new BigNumber(1234); - const blockDate = new Date('4/14/2020'); - const eventIdx = new BigNumber(1); - const blockHash = 'someHash'; - const fakeQueryResult = { - updatedBlock: { blockId: blockNumber.toNumber(), hash: blockHash, datetime: blockDate }, - eventIdx: eventIdx.toNumber(), - }; - const fakeEventIdentifierResult = { blockNumber, blockDate, blockHash, eventIndex: eventIdx }; - - const queryVariables = { - status: InstructionStatusEnum.Executed, - id: id.toString(), - }; - - // Should return Pending status - const queryResult = dsMockUtils.createMockInstruction({ - instructionId: dsMockUtils.createMockU64(new BigNumber(1)), - venueId: dsMockUtils.createMockU64(), - createdAt: dsMockUtils.createMockOption(), - tradeDate: dsMockUtils.createMockOption(), - valueDate: dsMockUtils.createMockOption(), - settlementType: dsMockUtils.createMockSettlementType(), - }); - - when(dsMockUtils.createQueryMock('settlement', 'instructionDetails')) - .calledWith(rawId) - .mockResolvedValue(queryResult); - - when(dsMockUtils.createQueryMock('settlement', 'instructionStatuses')) - .calledWith(rawId) - .mockResolvedValue(dsMockUtils.createMockInstructionStatus('Success')); - - dsMockUtils.createApolloMultipleQueriesMock([ - { - query: instructionsQuery(queryVariables, new BigNumber(1), new BigNumber(0)), - returnData: { - instructions: { nodes: [fakeQueryResult] }, - }, - }, - { - query: instructionsQuery( - { - ...queryVariables, - status: InstructionStatusEnum.Failed, - }, - new BigNumber(1), - new BigNumber(0) - ), - returnData: { - instructions: { nodes: [] }, - }, - }, - ]); - - const result = await instruction.getStatus(); - expect(result).toMatchObject({ - status: InstructionStatus.Success, - eventIdentifier: fakeEventIdentifierResult, - }); - }); - - it('should return Failed Instruction status', async () => { - const blockNumber = new BigNumber(1234); - const blockDate = new Date('4/14/2020'); - const eventIdx = new BigNumber(1); - const blockHash = 'someHash'; - const fakeQueryResult = { - updatedBlock: { blockId: blockNumber.toNumber(), hash: blockHash, datetime: blockDate }, - eventIdx: eventIdx.toNumber(), - }; - const fakeEventIdentifierResult = { blockNumber, blockDate, blockHash, eventIndex: eventIdx }; - - const queryVariables = { - status: InstructionStatusEnum.Executed, - id: id.toString(), - }; - - // Should return Pending status - const queryResult = dsMockUtils.createMockInstruction({ - instructionId: dsMockUtils.createMockU64(new BigNumber(1)), - venueId: dsMockUtils.createMockU64(), - createdAt: dsMockUtils.createMockOption(), - tradeDate: dsMockUtils.createMockOption(), - valueDate: dsMockUtils.createMockOption(), - settlementType: dsMockUtils.createMockSettlementType(), - }); - - when(dsMockUtils.createQueryMock('settlement', 'instructionDetails')) - .calledWith(rawId) - .mockResolvedValue(queryResult); - - when(dsMockUtils.createQueryMock('settlement', 'instructionStatuses')) - .calledWith(rawId) - .mockResolvedValue(dsMockUtils.createMockInstructionStatus('Failed')); - - dsMockUtils.createApolloMultipleQueriesMock([ - { - query: instructionsQuery(queryVariables, new BigNumber(1), new BigNumber(0)), - returnData: { - instructions: { - nodes: [], - }, - }, - }, - { - query: instructionsQuery( - { - ...queryVariables, - status: InstructionStatusEnum.Failed, - }, - new BigNumber(1), - new BigNumber(0) - ), - returnData: { - instructions: { - nodes: [fakeQueryResult], - }, - }, - }, - ]); - - const result = await instruction.getStatus(); - expect(result).toMatchObject({ - status: InstructionStatus.Failed, - eventIdentifier: fakeEventIdentifierResult, - }); - }); - - it("should throw an error if Instruction status couldn't be determined", async () => { - const queryVariables = { - status: InstructionStatusEnum.Executed, - id: id.toString(), - }; - - // Should return Pending status - const queryResult = dsMockUtils.createMockInstruction({ - instructionId: dsMockUtils.createMockU64(new BigNumber(1)), - venueId: dsMockUtils.createMockU64(), - createdAt: dsMockUtils.createMockOption(), - tradeDate: dsMockUtils.createMockOption(), - valueDate: dsMockUtils.createMockOption(), - settlementType: dsMockUtils.createMockSettlementType(), - }); - - when(dsMockUtils.createQueryMock('settlement', 'instructionDetails')) - .calledWith(rawId) - .mockResolvedValue(queryResult); - - when(dsMockUtils.createQueryMock('settlement', 'instructionStatuses')) - .calledWith(rawId) - .mockResolvedValue( - dsMockUtils.createMockInstructionStatus(InternalInstructionStatus.Unknown) - ); - - dsMockUtils.createApolloMultipleQueriesMock([ - { - query: instructionsQuery(queryVariables, new BigNumber(1), new BigNumber(0)), - returnData: { - instructions: { nodes: [] }, - }, - }, - { - query: instructionsQuery( - { - ...queryVariables, - status: InstructionStatusEnum.Failed, - }, - new BigNumber(1), - new BigNumber(0) - ), - returnData: { - instructions: { nodes: [] }, - }, - }, - ]); - - return expect(instruction.getStatus()).rejects.toThrow( - "It isn't possible to determine the current status of this Instruction" - ); - }); - }); - - describe('method: toHuman', () => { - it('should return a human readable version of the entity', () => { - expect(instruction.toHuman()).toBe('1'); - }); - }); - - describe('method: getInvolvedPortfolios', () => { - it('should return the portfolios in the instruction where the given DID is the custodian', async () => { - const fromDid = 'fromDid'; - const toDid = 'toDid'; - - const from1 = entityMockUtils.getDefaultPortfolioInstance({ - did: fromDid, - isCustodiedBy: true, - exists: true, - }); - const from2 = entityMockUtils.getNumberedPortfolioInstance({ - did: 'someOtherDid', - id: new BigNumber(1), - exists: false, - }); - const to1 = entityMockUtils.getDefaultPortfolioInstance({ - did: toDid, - isCustodiedBy: true, - exists: true, - }); - const to2 = entityMockUtils.getNumberedPortfolioInstance({ - did: 'someDid', - id: new BigNumber(1), - exists: false, - }); - const amount = new BigNumber(1); - const asset = entityMockUtils.getFungibleAssetInstance({ ticker: 'SOME_ASSET' }); - - jest.spyOn(instruction, 'getLegs').mockResolvedValue({ - data: [ - { from: from1, to: to1, amount, asset }, - { from: from2, to: to2, amount, asset }, - ], - next: null, - }); - - const result = await instruction.getInvolvedPortfolios({ did: 'someDid' }); - expect(result).toEqual([ - expect.objectContaining({ owner: expect.objectContaining({ did: fromDid }) }), - expect.objectContaining({ owner: expect.objectContaining({ did: toDid }) }), - expect.objectContaining({ - owner: expect.objectContaining({ did: 'someDid' }), - id: new BigNumber(1), - }), - ]); - }); - }); - - describe('method: getMediators', () => { - const mediatorDid = 'mediatorDid'; - - it('should return the instruction mediators', async () => { - dsMockUtils.createQueryMock('settlement', 'instructionMediatorsAffirmations', { - entries: [ - tuple( - [rawId, dsMockUtils.createMockIdentityId(mediatorDid)], - dsMockUtils.createMockMediatorAffirmationStatus('Pending') - ), - ], - }); - - const result = await instruction.getMediators(); - - expect(result).toEqual([ - expect.objectContaining({ - identity: expect.objectContaining({ did: mediatorDid }), - status: AffirmationStatus.Pending, - expiry: undefined, - }), - ]); - }); - }); -}); diff --git a/src/api/entities/Instruction/index.ts b/src/api/entities/Instruction/index.ts deleted file mode 100644 index d1e624d07c..0000000000 --- a/src/api/entities/Instruction/index.ts +++ /dev/null @@ -1,668 +0,0 @@ -import { - PolymeshPrimitivesSettlementInstructionStatus, - PolymeshPrimitivesSettlementLeg, -} from '@polkadot/types/lookup'; -import BigNumber from 'bignumber.js'; -import P from 'bluebird'; - -import { executeManualInstruction } from '~/api/procedures/executeManualInstruction'; -import { - Context, - Entity, - FungibleAsset, - Identity, - modifyInstructionAffirmation, - Nft, - NftCollection, - PolymeshError, - Venue, -} from '~/internal'; -import { instructionsQuery } from '~/middleware/queries'; -import { InstructionStatusEnum, Query } from '~/middleware/types'; -import { - AffirmAsMediatorParams, - AffirmOrWithdrawInstructionParams, - DefaultPortfolio, - ErrorCode, - EventIdentifier, - ExecuteManualInstructionParams, - InstructionAffirmationOperation, - NoArgsProcedureMethod, - NumberedPortfolio, - OptionalArgsProcedureMethod, - PaginationOptions, - RejectInstructionParams, - ResultSet, - SubCallback, - UnsubCallback, -} from '~/types'; -import { InstructionStatus as InternalInstructionStatus } from '~/types/internal'; -import { Ensured } from '~/types/utils'; -import { - balanceToBigNumber, - bigNumberToU64, - identityIdToString, - instructionMemoToString, - mediatorAffirmationStatusToStatus, - meshAffirmationStatusToAffirmationStatus, - meshInstructionStatusToInstructionStatus, - meshNftToNftId, - meshPortfolioIdToPortfolio, - meshSettlementTypeToEndCondition, - middlewareEventDetailsToEventIdentifier, - momentToDate, - tickerToString, - u64ToBigNumber, -} from '~/utils/conversion'; -import { createProcedureMethod, optionize, requestMulti, requestPaginated } from '~/utils/internal'; - -import { - InstructionAffirmation, - InstructionDetails, - InstructionStatus, - InstructionStatusResult, - Leg, - MediatorAffirmation, -} from './types'; - -export interface UniqueIdentifiers { - id: BigNumber; -} - -const executedMessage = - 'Instruction has already been executed/rejected and it was purged from chain'; - -/** - * Represents a settlement Instruction to be executed on a certain Venue - */ -export class Instruction extends Entity { - /** - * @hidden - * Check if a value is of type {@link UniqueIdentifiers} - */ - public static override isUniqueIdentifiers(identifier: unknown): identifier is UniqueIdentifiers { - const { id } = identifier as UniqueIdentifiers; - - return id instanceof BigNumber; - } - - /** - * Unique identifier number of the instruction - */ - public id: BigNumber; - - /** - * @hidden - */ - public constructor(identifiers: UniqueIdentifiers, context: Context) { - super(identifiers, context); - - const { id } = identifiers; - - this.id = id; - - this.reject = createProcedureMethod( - { - getProcedureAndArgs: args => [ - modifyInstructionAffirmation, - { id, operation: InstructionAffirmationOperation.Reject, ...args }, - ], - optionalArgs: true, - }, - context - ); - - this.affirm = createProcedureMethod( - { - getProcedureAndArgs: args => [ - modifyInstructionAffirmation, - { id, operation: InstructionAffirmationOperation.Affirm, ...args }, - ], - optionalArgs: true, - }, - context - ); - - this.withdraw = createProcedureMethod( - { - getProcedureAndArgs: args => [ - modifyInstructionAffirmation, - { id, operation: InstructionAffirmationOperation.Withdraw, ...args }, - ], - optionalArgs: true, - }, - context - ); - - this.rejectAsMediator = createProcedureMethod( - { - getProcedureAndArgs: () => [ - modifyInstructionAffirmation, - { id, operation: InstructionAffirmationOperation.RejectAsMediator }, - ], - voidArgs: true, - }, - context - ); - - this.affirmAsMediator = createProcedureMethod( - { - getProcedureAndArgs: args => [ - modifyInstructionAffirmation, - { id, operation: InstructionAffirmationOperation.AffirmAsMediator, ...args }, - ], - optionalArgs: true, - }, - context - ); - - this.withdrawAsMediator = createProcedureMethod( - { - getProcedureAndArgs: () => [ - modifyInstructionAffirmation, - { id, operation: InstructionAffirmationOperation.WithdrawAsMediator }, - ], - voidArgs: true, - }, - context - ); - - this.executeManually = createProcedureMethod( - { - getProcedureAndArgs: args => [executeManualInstruction, { id, ...args }], - optionalArgs: true, - }, - context - ); - } - - /** - * Retrieve whether the Instruction has already been executed and pruned from - * the chain. - */ - public async isExecuted(): Promise { - const { - context: { - polymeshApi: { - query: { settlement }, - }, - }, - id, - context, - } = this; - - const [status, exists] = await Promise.all([ - settlement.instructionStatuses(bigNumberToU64(id, context)), - this.exists(), - ]); - - const statusResult = meshInstructionStatusToInstructionStatus(status); - - return ( - (statusResult === InternalInstructionStatus.Unknown || - statusResult === InternalInstructionStatus.Success || - statusResult === InternalInstructionStatus.Rejected) && - exists - ); - } - - /** - * Retrieve whether the Instruction is still pending on chain - */ - public async isPending(): Promise { - const { - context: { - polymeshApi: { - query: { settlement }, - }, - }, - id, - context, - } = this; - - const status = await settlement.instructionStatuses(bigNumberToU64(id, context)); - - const statusResult = meshInstructionStatusToInstructionStatus(status); - - return statusResult === InternalInstructionStatus.Pending; - } - - /** - * Retrieve current status of the Instruction. This can be subscribed to know if instruction fails - * - * @note can be subscribed to - * @note current status as `Executed` means that the Instruction has been executed/rejected and pruned from - * the chain. - */ - public async onStatusChange(callback: SubCallback): Promise { - const { - context: { - polymeshApi: { - query: { settlement }, - }, - }, - id, - context, - } = this; - - const assembleResult = ( - rawStatus: PolymeshPrimitivesSettlementInstructionStatus - ): InstructionStatus => { - const internalStatus = meshInstructionStatusToInstructionStatus(rawStatus); - const status = this.internalToExternalStatus(internalStatus); - - if (!status) { - throw new Error('Unknown instruction status'); - } - - return status; - }; - - return settlement.instructionStatuses(bigNumberToU64(id, context), status => { - return callback(assembleResult(status)); - }); - } - - /** - * Determine whether this Instruction exists on chain (or existed and was pruned) - */ - public async exists(): Promise { - const { - context: { - polymeshApi: { - query: { settlement }, - }, - }, - id, - } = this; - - const instructionCounter = await settlement.instructionCounter(); - - return id.lte(u64ToBigNumber(instructionCounter)); - } - - /** - * Retrieve information specific to this Instruction - */ - public async details(): Promise { - const { - context: { - polymeshApi: { - query: { settlement }, - }, - }, - id, - context, - } = this; - - const rawId = bigNumberToU64(id, context); - - const [{ createdAt, tradeDate, valueDate, settlementType: type, venueId }, rawStatus, memo] = - await requestMulti< - [ - typeof settlement.instructionDetails, - typeof settlement.instructionStatuses, - typeof settlement.instructionMemos - ] - >(context, [ - [settlement.instructionDetails, rawId], - [settlement.instructionStatuses, rawId], - [settlement.instructionMemos, rawId], - ]); - - const internalStatus = meshInstructionStatusToInstructionStatus(rawStatus); - - const status = this.internalToExternalStatus(internalStatus); - if (!status) { - throw new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: executedMessage, - }); - } - - return { - status, - createdAt: momentToDate(createdAt.unwrap()), - tradeDate: tradeDate.isSome ? momentToDate(tradeDate.unwrap()) : null, - valueDate: valueDate.isSome ? momentToDate(valueDate.unwrap()) : null, - venue: new Venue({ id: u64ToBigNumber(venueId) }, context), - memo: memo.isSome ? instructionMemoToString(memo.unwrap()) : null, - ...meshSettlementTypeToEndCondition(type), - }; - } - - /** - * Retrieve every authorization generated by this Instruction (status and authorizing Identity) - * - * @note supports pagination - */ - public async getAffirmations( - paginationOpts?: PaginationOptions - ): Promise> { - const { - context: { - polymeshApi: { - query: { settlement }, - }, - }, - id, - context, - } = this; - - const isExecuted = await this.isExecuted(); - - if (isExecuted) { - throw new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: executedMessage, - }); - } - - const { entries, lastKey: next } = await requestPaginated(settlement.affirmsReceived, { - arg: bigNumberToU64(id, context), - paginationOpts, - }); - - const data = entries.map(([{ args }, meshAffirmationStatus]) => { - const [, { did }] = args; - return { - identity: new Identity({ did: identityIdToString(did) }, context), - status: meshAffirmationStatusToAffirmationStatus(meshAffirmationStatus), - }; - }); - - return { - data, - next, - }; - } - - /** - * Retrieve all legs of this Instruction - * - * @note supports pagination - */ - public async getLegs(paginationOpts?: PaginationOptions): Promise> { - const { - context: { - polymeshApi: { - query: { settlement }, - }, - }, - id, - context, - } = this; - - const isExecuted = await this.isExecuted(); - - if (isExecuted) { - throw new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: executedMessage, - }); - } - - const { entries: legs, lastKey: next } = await requestPaginated(settlement.instructionLegs, { - arg: bigNumberToU64(id, context), - paginationOpts, - }); - - const data = legs.map(([, leg]) => { - if (leg.isSome) { - const legValue: PolymeshPrimitivesSettlementLeg = leg.unwrap(); - if (legValue.isFungible) { - const { sender, receiver, amount, ticker: rawTicker } = legValue.asFungible; - - const ticker = tickerToString(rawTicker); - const fromPortfolio = meshPortfolioIdToPortfolio(sender, context); - const toPortfolio = meshPortfolioIdToPortfolio(receiver, context); - - return { - from: fromPortfolio, - to: toPortfolio, - amount: balanceToBigNumber(amount), - asset: new FungibleAsset({ ticker }, context), - }; - } else if (legValue.isNonFungible) { - const { sender, receiver, nfts } = legValue.asNonFungible; - - const from = meshPortfolioIdToPortfolio(sender, context); - const to = meshPortfolioIdToPortfolio(receiver, context); - const { ticker, ids } = meshNftToNftId(nfts); - - return { - from, - to, - nfts: ids.map(nftId => new Nft({ ticker, id: nftId }, context)), - asset: new NftCollection({ ticker }, context), - }; - } else { - // assume it is offchain - throw new Error('TODO ERROR: Offchain legs are not supported yet'); - } - } else { - throw new Error( - 'Instruction has already been executed/rejected and it was purged from chain' - ); - } - }); - - return { - data, - next, - }; - } - - /** - * Retrieve current status of this Instruction - * - * @note uses the middlewareV2 - */ - public async getStatus(): Promise { - const isPending = await this.isPending(); - - if (isPending) { - return { - status: InstructionStatus.Pending, - }; - } - - const [executedEventIdentifier, failedEventIdentifier] = await Promise.all([ - this.getInstructionEventFromMiddleware(InstructionStatusEnum.Executed), - this.getInstructionEventFromMiddleware(InstructionStatusEnum.Failed), - ]); - - if (executedEventIdentifier) { - return { - status: InstructionStatus.Success, - eventIdentifier: executedEventIdentifier, - }; - } - - if (failedEventIdentifier) { - return { - status: InstructionStatus.Failed, - eventIdentifier: failedEventIdentifier, - }; - } - - throw new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: "It isn't possible to determine the current status of this Instruction", - }); - } - - /** - * Reject this instruction - * - * @note reject on `SettleOnAffirmation` will execute the settlement and it will fail immediately. - * @note reject on `SettleOnBlock` behaves just like unauthorize - * @note reject on `SettleManual` behaves just like unauthorize - */ - public reject: OptionalArgsProcedureMethod; - - /** - * Affirm this instruction (authorize) - */ - public affirm: OptionalArgsProcedureMethod; - - /** - * Withdraw affirmation from this instruction (unauthorize) - */ - public withdraw: OptionalArgsProcedureMethod; - - /** - * Reject this instruction as a mediator - * - * @note reject on `SettleOnAffirmation` will execute the settlement and it will fail immediately. - * @note reject on `SettleOnBlock` behaves just like unauthorize - * @note reject on `SettleManual` behaves just like unauthorize - */ - public rejectAsMediator: NoArgsProcedureMethod; - - /** - * Affirm this instruction as a mediator (authorize) - */ - public affirmAsMediator: OptionalArgsProcedureMethod; - - /** - * Withdraw affirmation from this instruction as a mediator (unauthorize) - */ - public withdrawAsMediator: NoArgsProcedureMethod; - - /** - * Executes an Instruction either of type `SettleManual` or a `Failed` instruction - */ - public executeManually: OptionalArgsProcedureMethod; - - /** - * @hidden - * Retrieve Instruction status event from middleware V2 - */ - private async getInstructionEventFromMiddleware( - status: InstructionStatusEnum - ): Promise { - const { id, context } = this; - - const { - data: { - instructions: { - nodes: [details], - }, - }, - } = await context.queryMiddleware>( - instructionsQuery( - { - status, - id: id.toString(), - }, - new BigNumber(1), - new BigNumber(0) - ) - ); - - return optionize(middlewareEventDetailsToEventIdentifier)( - details?.updatedBlock, - details?.eventIdx - ); - } - - /** - * Return the Instruction's ID - */ - public toHuman(): string { - return this.id.toString(); - } - - /** - * Retrieve all the involved portfolios in this Instruction where the given identity is a custodian of - */ - public async getInvolvedPortfolios(args: { - did: string; - }): Promise<(DefaultPortfolio | NumberedPortfolio)[]> { - const { did } = args; - - const { data: legs } = await this.getLegs(); - - const assemblePortfolios = async ( - involvedPortfolios: (DefaultPortfolio | NumberedPortfolio)[], - from: DefaultPortfolio | NumberedPortfolio, - to: DefaultPortfolio | NumberedPortfolio - ): Promise<(DefaultPortfolio | NumberedPortfolio)[]> => { - const [fromExists, toExists] = await Promise.all([from.exists(), to.exists()]); - - const checkCustody = async ( - legPortfolio: DefaultPortfolio | NumberedPortfolio, - exists: boolean - ): Promise => { - if (exists) { - const isCustodied = await legPortfolio.isCustodiedBy({ identity: did }); - if (isCustodied) { - involvedPortfolios.push(legPortfolio); - } - } else if (legPortfolio.owner.did === did) { - involvedPortfolios.push(legPortfolio); - } - }; - - await Promise.all([checkCustody(from, fromExists), checkCustody(to, toExists)]); - - return involvedPortfolios; - }; - - const portfolios = await P.reduce( - legs, - async (result, { from, to }) => assemblePortfolios(result, from, to), - [] - ); - - return portfolios; - } - - /** - * Returns the mediators for the Instruction, along with their affirmation status - */ - public async getMediators(): Promise { - const { - id, - context, - context: { - polymeshApi: { - query: { settlement }, - }, - }, - } = this; - - const rawId = bigNumberToU64(id, context); - - const rawAffirms = await settlement.instructionMediatorsAffirmations.entries(rawId); - - return rawAffirms.map(([key, affirmStatus]) => { - const rawDid = key.args[1]; - const did = identityIdToString(rawDid); - const identity = new Identity({ did }, context); - - const { status, expiry } = mediatorAffirmationStatusToStatus(affirmStatus); - - return { identity, status, expiry }; - }); - } - - /** - * @hidden - */ - private internalToExternalStatus(status: InternalInstructionStatus): InstructionStatus | null { - switch (status) { - case InternalInstructionStatus.Pending: - return InstructionStatus.Pending; - case InternalInstructionStatus.Failed: - return InstructionStatus.Failed; - case InternalInstructionStatus.Success: - return InstructionStatus.Success; - case InternalInstructionStatus.Rejected: - return InstructionStatus.Rejected; - } - - return null; - } -} diff --git a/src/api/entities/Instruction/types.ts b/src/api/entities/Instruction/types.ts deleted file mode 100644 index 8ebcca47a1..0000000000 --- a/src/api/entities/Instruction/types.ts +++ /dev/null @@ -1,97 +0,0 @@ -import BigNumber from 'bignumber.js'; - -import { - DefaultPortfolio, - FungibleAsset, - Identity, - Nft, - NumberedPortfolio, - Venue, -} from '~/internal'; -import { EventIdentifier, NftCollection } from '~/types'; - -export enum InstructionStatus { - Pending = 'Pending', - Failed = 'Failed', - Success = 'Success', - Rejected = 'Rejected', -} - -export enum InstructionType { - SettleOnAffirmation = 'SettleOnAffirmation', - SettleOnBlock = 'SettleOnBlock', - SettleManual = 'SettleManual', -} - -export type InstructionEndCondition = - | { - type: InstructionType.SettleOnAffirmation; - } - | { - type: InstructionType.SettleOnBlock; - endBlock: BigNumber; - } - | { - type: InstructionType.SettleManual; - endAfterBlock: BigNumber; - }; - -export type InstructionDetails = { - status: InstructionStatus; - createdAt: Date; - /** - * Date at which the trade was agreed upon (optional, for offchain trades) - */ - tradeDate: Date | null; - /** - * Date at which the trade was executed (optional, for offchain trades) - */ - valueDate: Date | null; - venue: Venue; - memo: string | null; -} & InstructionEndCondition; - -export interface FungibleLeg { - from: DefaultPortfolio | NumberedPortfolio; - to: DefaultPortfolio | NumberedPortfolio; - amount: BigNumber; - asset: FungibleAsset; -} - -export interface NftLeg { - from: DefaultPortfolio | NumberedPortfolio; - to: DefaultPortfolio | NumberedPortfolio; - nfts: Nft[]; - asset: NftCollection; -} - -export type Leg = FungibleLeg | NftLeg; - -export enum AffirmationStatus { - Unknown = 'Unknown', - Pending = 'Pending', - Affirmed = 'Affirmed', -} - -export interface InstructionAffirmation { - identity: Identity; - status: AffirmationStatus; -} - -export type InstructionStatusResult = - | { - status: InstructionStatus.Pending; - } - | { - status: Exclude; - eventIdentifier: EventIdentifier; - }; - -export type MediatorAffirmation = { - identity: Identity; - status: AffirmationStatus; - /** - * Affirmations may have an expiration time - */ - expiry?: Date; -}; diff --git a/src/api/entities/KnownPermissionGroup.ts b/src/api/entities/KnownPermissionGroup.ts deleted file mode 100644 index 8d675b2421..0000000000 --- a/src/api/entities/KnownPermissionGroup.ts +++ /dev/null @@ -1,105 +0,0 @@ -import { Context, PermissionGroup } from '~/internal'; -import { GroupPermissions, ModuleName, PermissionGroupType, PermissionType, TxTags } from '~/types'; -import { transactionPermissionsToTxGroups } from '~/utils/conversion'; -import { toHumanReadable } from '~/utils/internal'; - -export interface HumanReadable { - type: PermissionGroupType; - ticker: string; -} - -export interface UniqueIdentifiers { - type: PermissionGroupType; - ticker: string; -} - -/** - * Represents a pre-defined group of permissions for an Asset - */ -export class KnownPermissionGroup extends PermissionGroup { - /** - * @hidden - * Check if a value is of type {@link UniqueIdentifiers} - */ - public static override isUniqueIdentifiers(identifier: unknown): identifier is UniqueIdentifiers { - const { type, ticker } = identifier as UniqueIdentifiers; - - return type in PermissionGroupType && typeof ticker === 'string'; - } - - public type: PermissionGroupType; - - /** - * @hidden - */ - public constructor(identifiers: UniqueIdentifiers, context: Context) { - super(identifiers, context); - - const { type } = identifiers; - - this.type = type; - } - - /** - * Retrieve the Permissions associated with this Permission Group - */ - public async getPermissions(): Promise { - const { type } = this; - let transactions; - - switch (type) { - case PermissionGroupType.ExceptMeta: - transactions = { values: [ModuleName.ExternalAgents], type: PermissionType.Exclude }; - break; - case PermissionGroupType.PolymeshV1Caa: - transactions = { - values: [ - ModuleName.CapitalDistribution, - ModuleName.CorporateAction, - ModuleName.CorporateBallot, - ], - type: PermissionType.Include, - }; - break; - case PermissionGroupType.PolymeshV1Pia: - transactions = { - values: [ - TxTags.asset.ControllerTransfer, - TxTags.asset.Issue, - TxTags.asset.Redeem, - ModuleName.Sto, - ], - exceptions: [TxTags.sto.Invest], - type: PermissionType.Include, - }; - break; - default: - transactions = null; - break; - } - - return { - transactions, - transactionGroups: transactions ? transactionPermissionsToTxGroups(transactions) : [], - }; - } - - /** - * Determine whether this Known Permission Group exists on chain - */ - public async exists(): Promise { - return true; - } - - /** - * Return the KnownPermissionGroup's static data - */ - public toHuman(): HumanReadable { - const { type, asset } = this; - - return toHumanReadable({ - type, - ticker: asset, - }); - } -} diff --git a/src/api/entities/MetadataEntry/__tests__/index.ts b/src/api/entities/MetadataEntry/__tests__/index.ts deleted file mode 100644 index a2f70ce407..0000000000 --- a/src/api/entities/MetadataEntry/__tests__/index.ts +++ /dev/null @@ -1,344 +0,0 @@ -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { Context, Entity, MetadataEntry, PolymeshError, PolymeshTransaction } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { ErrorCode, MetadataLockStatus, MetadataSpec, MetadataType, MetadataValue } from '~/types'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/base/Procedure', - require('~/testUtils/mocks/procedure').mockProcedureModule('~/base/Procedure') -); - -describe('MetadataEntry class', () => { - let context: Context; - const ticker = 'SOME_TICKER'; - const id = new BigNumber(1); - const type = MetadataType.Local; - let metadataEntry: MetadataEntry; - - beforeAll(() => { - dsMockUtils.initMocks(); - entityMockUtils.initMocks(); - procedureMockUtils.initMocks(); - - jest.spyOn(utilsConversionModule, 'stringToTicker').mockImplementation(); - }); - - beforeEach(() => { - context = dsMockUtils.getContextInstance(); - metadataEntry = new MetadataEntry({ id, ticker, type }, context); - }); - - afterEach(() => { - dsMockUtils.reset(); - entityMockUtils.reset(); - procedureMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - procedureMockUtils.cleanup(); - }); - - it('should extend Entity', () => { - expect(MetadataEntry.prototype instanceof Entity).toBe(true); - }); - - describe('constructor', () => { - it('should assign ticker, type and id to instance', () => { - expect(metadataEntry).toEqual( - expect.objectContaining({ - id, - type, - asset: expect.objectContaining({ ticker }), - }) - ); - }); - }); - - describe('method: isUniqueIdentifiers', () => { - it('should return true if the object conforms to the interface', () => { - expect( - MetadataEntry.isUniqueIdentifiers({ - id: new BigNumber(1), - ticker: 'SOME_TICKER', - type: MetadataType.Local, - }) - ).toBe(true); - expect(MetadataEntry.isUniqueIdentifiers({})).toBe(false); - expect(MetadataEntry.isUniqueIdentifiers({ id: 2 })).toBe(false); - expect(MetadataEntry.isUniqueIdentifiers({ id: new BigNumber(1), ticker: 3 })).toBe(false); - expect( - MetadataEntry.isUniqueIdentifiers({ id: new BigNumber(1), ticker: 3, type: 'Random' }) - ).toBe(false); - }); - }); - - describe('method: set', () => { - it('should prepare the procedure and return the resulting transaction', async () => { - const expectedTransaction = - 'someTransaction' as unknown as PolymeshTransaction; - - const params = { value: 'SOME_VALUE' }; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args: { metadataEntry, ...params }, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const tx = await metadataEntry.set(params); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: clear', () => { - it('should prepare the procedure and return the resulting transaction', async () => { - const expectedTransaction = - 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args: { metadataEntry }, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const tx = await metadataEntry.clear(); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: remove', () => { - it('should prepare the procedure and return the resulting transaction', async () => { - const expectedTransaction = - 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args: { metadataEntry }, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const tx = await metadataEntry.remove(); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: details', () => { - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should return the name and specs of MetadataEntry', async () => { - jest.spyOn(utilsConversionModule, 'bigNumberToU64').mockImplementation(); - - const rawName = dsMockUtils.createMockOption(dsMockUtils.createMockBytes('SOME_NAME')); - const rawSpecs = dsMockUtils.createMockOption(dsMockUtils.createMockAssetMetadataSpec()); - dsMockUtils.createQueryMock('asset', 'assetMetadataLocalKeyToName', { - returnValue: rawName, - }); - dsMockUtils.createQueryMock('asset', 'assetMetadataLocalSpecs', { - returnValue: rawSpecs, - }); - - const fakeSpecs: MetadataSpec = { url: 'SOME_URL' }; - when(jest.spyOn(utilsConversionModule, 'meshMetadataSpecToMetadataSpec')) - .calledWith(rawSpecs) - .mockReturnValue(fakeSpecs); - - let result = await metadataEntry.details(); - - expect(result).toEqual({ - name: 'SOME_NAME', - specs: fakeSpecs, - }); - - dsMockUtils.createQueryMock('asset', 'assetMetadataLocalKeyToName', { - returnValue: null, - }); - dsMockUtils.createQueryMock('asset', 'assetMetadataLocalSpecs', { - returnValue: null, - }); - - dsMockUtils.createQueryMock('asset', 'assetMetadataGlobalKeyToName', { - returnValue: rawName, - }); - dsMockUtils.createQueryMock('asset', 'assetMetadataGlobalSpecs', { - returnValue: rawSpecs, - }); - - const globalMetadataEntry = new MetadataEntry( - { ticker, id, type: MetadataType.Global }, - context - ); - result = await globalMetadataEntry.details(); - expect(result).toEqual({ - name: 'SOME_NAME', - specs: fakeSpecs, - }); - }); - }); - - describe('method: value', () => { - it('should return the value and its details of the MetadataEntry', async () => { - jest.spyOn(utilsConversionModule, 'metadataToMeshMetadataKey').mockImplementation(); - dsMockUtils.createQueryMock('asset', 'assetMetadataValues'); - dsMockUtils.createQueryMock('asset', 'assetMetadataValueDetails'); - - const meshMetadataValueToMetadataValueSpy = jest.spyOn( - utilsConversionModule, - 'meshMetadataValueToMetadataValue' - ); - - meshMetadataValueToMetadataValueSpy.mockReturnValue(null); - - let result = await metadataEntry.value(); - - expect(result).toBeNull(); - - const fakeResult: MetadataValue = { - value: 'SOME_VALUE', - lockStatus: MetadataLockStatus.Unlocked, - expiry: new Date('2030/01/01'), - }; - meshMetadataValueToMetadataValueSpy.mockReturnValue(fakeResult); - - result = await metadataEntry.value(); - - expect(result).toEqual(fakeResult); - }); - }); - - describe('method: exists', () => { - beforeAll(() => { - jest.spyOn(utilsConversionModule, 'bigNumberToU64').mockImplementation(); - }); - - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should return whether a global Metadata Entry exists', async () => { - dsMockUtils.createQueryMock('asset', 'assetMetadataGlobalKeyToName', { - returnValue: dsMockUtils.createMockOption(), - }); - - metadataEntry = new MetadataEntry({ id, ticker, type: MetadataType.Global }, context); - - await expect(metadataEntry.exists()).resolves.toBeFalsy(); - - dsMockUtils.createQueryMock('asset', 'assetMetadataGlobalKeyToName', { - returnValue: dsMockUtils.createMockOption(dsMockUtils.createMockBytes('someName')), - }); - await expect(metadataEntry.exists()).resolves.toBeTruthy(); - }); - - it('should return whether a local Metadata Entry exists', async () => { - dsMockUtils.createQueryMock('asset', 'assetMetadataLocalKeyToName', { - returnValue: dsMockUtils.createMockOption(), - }); - await expect(metadataEntry.exists()).resolves.toBeFalsy(); - - dsMockUtils.createQueryMock('asset', 'assetMetadataLocalKeyToName', { - returnValue: dsMockUtils.createMockOption(dsMockUtils.createMockBytes('someName')), - }); - await expect(metadataEntry.exists()).resolves.toBeTruthy(); - }); - }); - - describe('method: isModifiable', () => { - let existsSpy: jest.SpyInstance; - let valueSpy: jest.SpyInstance; - - beforeEach(() => { - existsSpy = jest.spyOn(metadataEntry, 'exists'); - valueSpy = jest.spyOn(metadataEntry, 'value'); - }); - - it('should return canModify as true if MetadataEntry exists and can be modified', async () => { - existsSpy.mockResolvedValue(true); - valueSpy.mockResolvedValue(null); - const result = await metadataEntry.isModifiable(); - - expect(result).toEqual({ - canModify: true, - }); - }); - - it('should return canModify as false along with the reason if the MetadataEntry does not exists', async () => { - existsSpy.mockResolvedValue(false); - valueSpy.mockResolvedValue(null); - const error = new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: 'Metadata does not exists for the Asset', - data: { - ticker, - type, - id, - }, - }); - const result = await metadataEntry.isModifiable(); - - expect(result).toEqual({ - canModify: false, - reason: error, - }); - }); - - it('should return canModify as false along with the reason if the MetadataEntry status is Locked', async () => { - existsSpy.mockResolvedValue(true); - valueSpy.mockResolvedValue({ - value: 'SOME_VALUE', - expiry: null, - lockStatus: MetadataLockStatus.Locked, - }); - - const error = new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'Metadata is locked and cannot be modified', - }); - - const result = await metadataEntry.isModifiable(); - - expect(result).toEqual({ - canModify: false, - reason: error, - }); - }); - - it('should return canModify as false along with the reason if the MetadataEntry is still in locked phase', async () => { - existsSpy.mockResolvedValue(true); - const lockedUntil = new Date('2099/01/01'); - valueSpy.mockResolvedValue({ - value: 'SOME_VALUE', - expiry: null, - lockStatus: MetadataLockStatus.LockedUntil, - lockedUntil, - }); - - const error = new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'Metadata is currently locked', - data: { - lockedUntil, - }, - }); - - const result = await metadataEntry.isModifiable(); - - expect(result).toEqual({ - canModify: false, - reason: error, - }); - }); - }); - - describe('method: toHuman', () => { - it('should return a human readable version of the entity', () => { - expect(metadataEntry.toHuman()).toEqual({ - id: '1', - ticker: 'SOME_TICKER', - type: 'Local', - }); - }); - }); -}); diff --git a/src/api/entities/MetadataEntry/index.ts b/src/api/entities/MetadataEntry/index.ts deleted file mode 100644 index 6ce2d861b2..0000000000 --- a/src/api/entities/MetadataEntry/index.ts +++ /dev/null @@ -1,306 +0,0 @@ -import { Bytes, Option } from '@polkadot/types-codec'; -import BigNumber from 'bignumber.js'; - -import { - BaseAsset, - clearMetadata, - Context, - Entity, - PolymeshError, - removeLocalMetadata, - setMetadata, -} from '~/internal'; -import { ErrorCode, NoArgsProcedureMethod, ProcedureMethod, SetMetadataParams } from '~/types'; -import { - bigNumberToU64, - bytesToString, - meshMetadataSpecToMetadataSpec, - meshMetadataValueToMetadataValue, - metadataToMeshMetadataKey, - stringToTicker, -} from '~/utils/conversion'; -import { createProcedureMethod, toHumanReadable } from '~/utils/internal'; - -import { MetadataDetails, MetadataLockStatus, MetadataType, MetadataValue } from './types'; - -export interface UniqueIdentifiers { - ticker: string; - type: MetadataType; - id: BigNumber; -} - -export interface HumanReadable { - id: string; - ticker: string; - type: MetadataType; -} - -/** - * Represents an Asset MetadataEntry in the Polymesh blockchain - */ -export class MetadataEntry extends Entity { - /** - * Asset for which this is the metadata - */ - public asset: BaseAsset; - - /** - * Type of metadata represented by this instance - */ - public type: MetadataType; - - /** - * identifier number of the MetadataEntry - */ - public id: BigNumber; - - /** - * @hidden - * Check if a value is of type {@link UniqueIdentifiers} - */ - public static override isUniqueIdentifiers(identifier: unknown): identifier is UniqueIdentifiers { - const { id, ticker, type } = identifier as UniqueIdentifiers; - - return id instanceof BigNumber && typeof ticker === 'string' && type in MetadataType; - } - - /** - * @hidden - */ - public constructor(identifiers: UniqueIdentifiers, context: Context) { - super(identifiers, context); - - const { ticker, type, id } = identifiers; - - this.asset = new BaseAsset({ ticker }, context); - this.type = type; - this.id = id; - - this.set = createProcedureMethod( - { getProcedureAndArgs: args => [setMetadata, { ...args, metadataEntry: this }] }, - context - ); - this.clear = createProcedureMethod( - { getProcedureAndArgs: () => [clearMetadata, { metadataEntry: this }], voidArgs: true }, - context - ); - this.remove = createProcedureMethod( - { getProcedureAndArgs: () => [removeLocalMetadata, { metadataEntry: this }], voidArgs: true }, - context - ); - } - - /** - * Assign new value for the MetadataEntry along with its details or optionally only set the details (expiry + lock status) of any Metadata value - * - * @note - Value or the details can only be set if the MetadataEntry is not locked - */ - public set: ProcedureMethod; - - /** - * Removes the asset metadata value - * - * @throws - * - if the Metadata doesn't exists - * - if the Metadata value is locked - */ - public clear: NoArgsProcedureMethod; - - /** - * Removes a local Asset Metadata key along with its value - * - * @note A global Metadata key cannot be deleted - * - * @throws - * - if the Metadata type is global - * - if the Metadata doesn't exists - * - if the Metadata value is locked - * - if the Metadata is a mandatory key for any NFT Collection - */ - public remove: NoArgsProcedureMethod; - - /** - * Retrieve name and specs for this MetadataEntry - */ - public async details(): Promise { - const { - context: { - polymeshApi: { - query: { - asset: { - assetMetadataLocalKeyToName, - assetMetadataLocalSpecs, - assetMetadataGlobalKeyToName, - assetMetadataGlobalSpecs, - }, - }, - }, - }, - id, - asset: { ticker }, - type, - context, - } = this; - - const rawId = bigNumberToU64(id, context); - const rawTicker = stringToTicker(ticker, context); - - let rawName, rawSpecs; - if (type === MetadataType.Local) { - [rawName, rawSpecs] = await Promise.all([ - assetMetadataLocalKeyToName(rawTicker, rawId), - assetMetadataLocalSpecs(rawTicker, rawId), - ]); - } else { - [rawName, rawSpecs] = await Promise.all([ - assetMetadataGlobalKeyToName(rawId), - assetMetadataGlobalSpecs(rawId), - ]); - } - - return { - name: bytesToString(rawName.unwrap()), - specs: meshMetadataSpecToMetadataSpec(rawSpecs), - }; - } - - /** - * Retrieve the value and details (expiry + lock status) for this MetadataEntry - * - * @note - This returns `null` if no value is yet specified for this MetadataEntry - */ - public async value(): Promise { - const { - context: { - polymeshApi: { - query: { - asset: { assetMetadataValues, assetMetadataValueDetails }, - }, - }, - }, - id, - type, - asset: { ticker }, - context, - } = this; - - const rawMetadataKey = metadataToMeshMetadataKey(type, id, context); - const rawTicker = stringToTicker(ticker, context); - - const [rawValue, rawValueDetails] = await Promise.all([ - assetMetadataValues(rawTicker, rawMetadataKey), - assetMetadataValueDetails(rawTicker, rawMetadataKey), - ]); - - return meshMetadataValueToMetadataValue(rawValue, rawValueDetails); - } - - /** - * Determine whether this MetadataEntry exists on chain - */ - public async exists(): Promise { - const { - context: { - polymeshApi: { - query: { - asset: { assetMetadataGlobalKeyToName, assetMetadataLocalKeyToName }, - }, - }, - }, - id, - type, - asset: { ticker }, - context, - } = this; - - const rawId = bigNumberToU64(id, context); - - let rawName: Option; - - if (type === MetadataType.Global) { - rawName = await assetMetadataGlobalKeyToName(rawId); - } else { - const rawTicker = stringToTicker(ticker, context); - rawName = await assetMetadataLocalKeyToName(rawTicker, rawId); - } - - return rawName.isSome; - } - - /** - * Check if the MetadataEntry can be modified. - * A MetadataEntry is modifiable if it exists and is not locked - */ - public async isModifiable(): Promise<{ canModify: boolean; reason?: PolymeshError }> { - const { - id, - type, - asset: { ticker }, - } = this; - - const [exists, metadataValue] = await Promise.all([this.exists(), this.value()]); - - if (!exists) { - return { - canModify: false, - reason: new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: 'Metadata does not exists for the Asset', - data: { - ticker, - type, - id, - }, - }), - }; - } - - if (metadataValue) { - const { lockStatus } = metadataValue; - - if (lockStatus === MetadataLockStatus.Locked) { - return { - canModify: false, - reason: new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'Metadata is locked and cannot be modified', - }), - }; - } - - if (lockStatus === MetadataLockStatus.LockedUntil) { - const { lockedUntil } = metadataValue; - - if (new Date() < lockedUntil) { - return { - canModify: false, - reason: new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'Metadata is currently locked', - data: { - lockedUntil, - }, - }), - }; - } - } - } - - return { - canModify: true, - }; - } - - /** - * Return the MetadataEntry's ID, Asset ticker and Metadata type - */ - public toHuman(): HumanReadable { - const { asset, id, type } = this; - - return toHumanReadable({ - ticker: asset, - id, - type, - }); - } -} diff --git a/src/api/entities/MetadataEntry/types.ts b/src/api/entities/MetadataEntry/types.ts deleted file mode 100644 index 070a07c85b..0000000000 --- a/src/api/entities/MetadataEntry/types.ts +++ /dev/null @@ -1,55 +0,0 @@ -import BigNumber from 'bignumber.js'; - -export enum MetadataType { - Local = 'Local', - Global = 'Global', -} - -export enum MetadataLockStatus { - Unlocked = 'Unlocked', - Locked = 'Locked', - LockedUntil = 'LockedUntil', -} - -export interface MetadataSpec { - url?: string; - description?: string; - typeDef?: string; -} - -export interface MetadataDetails { - name: string; - specs: MetadataSpec; -} - -export type MetadataValueDetails = { - /** - * Date at which the Metadata value expires, null if it never expires - */ - expiry: Date | null; -} & ( - | { - /** - * Lock status of the Metadata value - */ - lockStatus: Exclude; - } - | { - /** - * Lock status of the Metadata value - */ - lockStatus: MetadataLockStatus.LockedUntil; - /** - * Date till which the Metadata value will be locked - */ - lockedUntil: Date; - } -); - -export type MetadataValue = { - value: string; -} & MetadataValueDetails; - -export type GlobalMetadataKey = MetadataDetails & { - id: BigNumber; -}; diff --git a/src/api/entities/MultiSigProposal/__tests__/index.ts b/src/api/entities/MultiSigProposal/__tests__/index.ts deleted file mode 100644 index 17bfc81da8..0000000000 --- a/src/api/entities/MultiSigProposal/__tests__/index.ts +++ /dev/null @@ -1,377 +0,0 @@ -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { MultiSigProposal } from '~/api/entities/MultiSigProposal'; -import { Account, Context, MultiSig, PolymeshError, PolymeshTransaction } from '~/internal'; -import { multiSigProposalQuery, multiSigProposalVotesQuery } from '~/middleware/queries'; -import { MultiSigProposalVoteActionEnum, SignerTypeEnum } from '~/middleware/types'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { createMockMoment, createMockOption } from '~/testUtils/mocks/dataSources'; -import { Mocked } from '~/testUtils/types'; -import { ErrorCode, MultiSigProposalAction, ProposalStatus } from '~/types'; -import { tuple } from '~/types/utils'; -import { DUMMY_ACCOUNT_ID } from '~/utils/constants'; -import * as utilsConversionModule from '~/utils/conversion'; -import * as utilsInternalModule from '~/utils/internal'; - -jest.mock( - '~/api/entities/Account/MultiSig', - require('~/testUtils/mocks/entities').mockMultiSigModule('~/api/entities/Account/MultiSig') -); -jest.mock( - '~/base/Procedure', - require('~/testUtils/mocks/procedure').mockProcedureModule('~/base/Procedure') -); - -describe('MultiSigProposal class', () => { - let context: Mocked; - - let address: string; - let proposal: MultiSigProposal; - let id: BigNumber; - - beforeAll(() => { - entityMockUtils.initMocks(); - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - jest.spyOn(utilsInternalModule, 'assertAddressValid').mockImplementation(); - - address = 'someAddress'; - id = new BigNumber(1); - }); - - beforeEach(() => { - context = dsMockUtils.getContextInstance(); - proposal = new MultiSigProposal({ multiSigAddress: address, id }, context); - }); - - afterEach(() => { - entityMockUtils.reset(); - dsMockUtils.reset(); - procedureMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - procedureMockUtils.cleanup(); - jest.restoreAllMocks(); - }); - - it('should extend Entity', () => { - expect(MultiSig.prototype).toBeInstanceOf(Account); - }); - - describe('method: details', () => { - it('should return the details of the MultiSigProposal', async () => { - dsMockUtils.createQueryMock('multiSig', 'proposalDetail', { - returnValue: dsMockUtils.createMockProposalDetails({ - approvals: new BigNumber(1), - rejections: new BigNumber(1), - status: dsMockUtils.createMockProposalStatus('ActiveOrExpired'), - autoClose: true, - expiry: createMockOption(createMockMoment(new BigNumber(3))), - }), - }); - - const mockProposal = dsMockUtils.createMockCall({ - args: ['ABC'], - method: 'reserveTicker', - section: 'asset', - }); - mockProposal.toJSON = jest.fn().mockReturnValue({ args: ['ABC'] }); - dsMockUtils.createQueryMock('multiSig', 'proposals', { - returnValue: createMockOption(mockProposal), - }); - dsMockUtils.createQueryMock('multiSig', 'votes', { - entries: [ - tuple( - [ - [dsMockUtils.createMockAccountId(), dsMockUtils.createMockU64()], - dsMockUtils.createMockSignatory({ - Account: dsMockUtils.createMockAccountId(DUMMY_ACCOUNT_ID), - }), - ], - dsMockUtils.createMockBool(true) - ), - tuple( - [ - [dsMockUtils.createMockAccountId(), dsMockUtils.createMockU64()], - dsMockUtils.createMockSignatory({ - Identity: dsMockUtils.createMockIdentityId('some_did'), - }), - ], - dsMockUtils.createMockBool(true) - ), - ], - }); - - let result = await proposal.details(); - - expect(result).toEqual({ - approvalAmount: new BigNumber(1), - args: ['ABC'], - autoClose: undefined, - expiry: new Date(3), - rejectionAmount: new BigNumber(1), - status: ProposalStatus.Expired, - txTag: 'asset.reserveTicker', - voted: [new Account({ address: DUMMY_ACCOUNT_ID }, dsMockUtils.getContextInstance())], - }); - - dsMockUtils.createQueryMock('multiSig', 'proposalDetail', { - returnValue: dsMockUtils.createMockProposalDetails({ - approvals: new BigNumber(1), - rejections: new BigNumber(1), - status: dsMockUtils.createMockProposalStatus('ActiveOrExpired'), - autoClose: true, - expiry: createMockOption(), - }), - }); - - result = await proposal.details(); - - expect(result).toEqual({ - approvalAmount: new BigNumber(1), - args: ['ABC'], - autoClose: undefined, - expiry: null, - rejectionAmount: new BigNumber(1), - status: ProposalStatus.Active, - txTag: 'asset.reserveTicker', - voted: [new Account({ address: DUMMY_ACCOUNT_ID }, dsMockUtils.getContextInstance())], - }); - }); - - it('should throw an error if no data is returned', () => { - dsMockUtils.createQueryMock('multiSig', 'proposals', { - returnValue: createMockOption(), - }); - - dsMockUtils.createQueryMock('multiSig', 'proposalDetail', { - returnValue: dsMockUtils.createMockProposalDetails({ - approvals: new BigNumber(1), - rejections: new BigNumber(1), - status: dsMockUtils.createMockProposalStatus('ActiveOrExpired'), - autoClose: true, - expiry: null, - }), - }); - - dsMockUtils.createQueryMock('multiSig', 'votes', { - entries: [], - }); - - const expectedError = new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: 'Proposal with ID: "1" was not found. It may have already been executed', - }); - - return expect(proposal.details()).rejects.toThrowError(expectedError); - }); - }); - - describe('method: exists', () => { - it('should return true if the MultiSigProposal is present on chain', async () => { - dsMockUtils.createQueryMock('multiSig', 'proposals', { - returnValue: dsMockUtils.createMockOption( - dsMockUtils.createMockCall({ - args: [], - method: 'Asset', - section: 'create', - }) - ), - }); - - const result = await proposal.exists(); - expect(result).toBe(true); - }); - - it('should return false if the MultiSigProposal is not present on chain', async () => { - dsMockUtils.createQueryMock('multiSig', 'proposals', { - returnValue: dsMockUtils.createMockOption(), - }); - - const result = await proposal.exists(); - expect(result).toBe(false); - }); - }); - - describe('method: toHuman', () => { - it('should return a human readable representation of the entity', () => { - const result = proposal.toHuman(); - expect(result).toEqual({ id: '1', multiSigAddress: 'someAddress' }); - }); - }); - - describe('method: votes', () => { - it('should return the votes for the MultiSigProposal', async () => { - jest.spyOn(utilsConversionModule, 'addressToKey').mockImplementation(); - - const voter = 'voter'; - const blockNumber = new BigNumber(1234); - const blockDate = new Date('4/14/2020'); - const eventIdx = new BigNumber(1); - const blockHash = 'blockHash'; - const action = MultiSigProposalVoteActionEnum.Approved; - - dsMockUtils.createApolloQueryMock( - multiSigProposalVotesQuery({ - proposalId: `${address}/${id.toString()}`, - }), - { - multiSigProposalVotes: { - nodes: [ - { - signer: { - signerType: SignerTypeEnum.Account, - signerValue: voter, - }, - action, - eventIdx: eventIdx.toNumber(), - createdBlock: { - blockId: blockNumber.toNumber(), - datetime: blockDate, - hash: blockHash, - }, - }, - ], - }, - } - ); - - const mockVoter = new Account({ address: voter }, context); - jest.spyOn(utilsConversionModule, 'signerValueToSigner').mockReturnValue(mockVoter); - - const fakeResult = [ - { blockNumber, blockHash, blockDate, eventIndex: eventIdx, action, signer: mockVoter }, - ]; - - const result = await proposal.votes(); - - expect(result).toEqual(fakeResult); - }); - }); - - describe('method: createdAt and method: creator', () => { - const blockNumber = new BigNumber(1234); - const blockDate = new Date('4/14/2020'); - const eventIdx = new BigNumber(1); - const blockHash = 'blockHash'; - - beforeEach(() => { - jest.spyOn(utilsConversionModule, 'addressToKey').mockImplementation(); - - dsMockUtils.createApolloQueryMock( - multiSigProposalQuery({ - multisigId: address, - proposalId: id.toNumber(), - }), - { - multiSigProposals: { - nodes: [ - { - creatorAccount: 'creator', - eventIdx: eventIdx.toNumber(), - createdBlock: { - blockId: blockNumber.toNumber(), - datetime: blockDate, - hash: blockHash, - }, - }, - ], - }, - } - ); - }); - - describe('method: createdAt', () => { - it('should return the event details when the MultiSig proposal was created', async () => { - let result = await proposal.createdAt(); - expect(result).toEqual({ blockNumber, blockHash, blockDate, eventIndex: eventIdx }); - - dsMockUtils.createApolloQueryMock( - multiSigProposalQuery({ - multisigId: address, - proposalId: id.toNumber(), - }), - { - multiSigProposals: { - nodes: [], - }, - } - ); - - result = await proposal.createdAt(); - expect(result).toBeNull(); - }); - }); - - describe('method: creator', () => { - it('should return the creator of the MultiSig proposal', async () => { - let result = await proposal.creator(); - expect(result).toEqual( - expect.objectContaining({ - address: 'creator', - }) - ); - - dsMockUtils.createApolloQueryMock( - multiSigProposalQuery({ - multisigId: address, - proposalId: id.toNumber(), - }), - { - multiSigProposals: { - nodes: [], - }, - } - ); - - result = await proposal.creator(); - expect(result).toBeNull(); - }); - }); - }); - - describe('method: approve', () => { - it('should prepare the procedure and return the resulting transaction', async () => { - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith( - { - args: { proposal, action: MultiSigProposalAction.Approve }, - transformer: undefined, - }, - context, - {} - ) - .mockReturnValue(expectedTransaction); - - const tx = await proposal.approve(); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: reject', () => { - it('should prepare the procedure and return the resulting transaction', async () => { - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith( - { - args: { proposal, action: MultiSigProposalAction.Reject }, - transformer: undefined, - }, - context, - {} - ) - .mockReturnValue(expectedTransaction); - - const tx = await proposal.reject(); - - expect(tx).toBe(expectedTransaction); - }); - }); -}); diff --git a/src/api/entities/MultiSigProposal/index.ts b/src/api/entities/MultiSigProposal/index.ts deleted file mode 100644 index 18f279c6ea..0000000000 --- a/src/api/entities/MultiSigProposal/index.ts +++ /dev/null @@ -1,299 +0,0 @@ -import { BigNumber } from 'bignumber.js'; - -import { - Account, - Context, - Entity, - evaluateMultiSigProposal, - MultiSig, - PolymeshError, -} from '~/internal'; -import { multiSigProposalQuery, multiSigProposalVotesQuery } from '~/middleware/queries'; -import { MultiSigProposal as MiddlewareMultiSigProposal, Query } from '~/middleware/types'; -import { - ErrorCode, - EventIdentifier, - MultiSigProposalAction, - MultiSigProposalDetails, - MultiSigProposalVote, - NoArgsProcedureMethod, - SignerType, - TxTag, -} from '~/types'; -import { Ensured } from '~/types/utils'; -import { - accountIdToString, - bigNumberToU64, - boolToBoolean, - meshProposalStatusToProposalStatus, - middlewareEventDetailsToEventIdentifier, - momentToDate, - signerValueToSigner, - stringToAccountId, - u64ToBigNumber, -} from '~/utils/conversion'; -import { asAccount, assertAddressValid, createProcedureMethod, optionize } from '~/utils/internal'; - -interface UniqueIdentifiers { - multiSigAddress: string; - id: BigNumber; -} - -export interface HumanReadable { - multiSigAddress: string; - id: string; -} - -/** - * A proposal for a MultiSig transaction. This is a wrapper around an extrinsic that will be executed when the amount of approvals reaches the signature threshold set on the MultiSig Account - */ -export class MultiSigProposal extends Entity { - public multiSig: MultiSig; - public id: BigNumber; - - /** - * @hidden - */ - constructor(identifiers: UniqueIdentifiers, context: Context) { - super(identifiers, context); - - const { multiSigAddress, id } = identifiers; - - assertAddressValid(multiSigAddress, context.ss58Format); - - this.multiSig = new MultiSig({ address: multiSigAddress }, context); - this.id = id; - - this.approve = createProcedureMethod( - { - getProcedureAndArgs: () => [ - evaluateMultiSigProposal, - { proposal: this, action: MultiSigProposalAction.Approve }, - ], - voidArgs: true, - }, - context - ); - - this.reject = createProcedureMethod( - { - getProcedureAndArgs: () => [ - evaluateMultiSigProposal, - { proposal: this, action: MultiSigProposalAction.Reject }, - ], - voidArgs: true, - }, - context - ); - } - - /** - * Approve this MultiSig proposal - */ - public approve: NoArgsProcedureMethod; - - /** - * Reject this MultiSig proposal - */ - public reject: NoArgsProcedureMethod; - - /** - * Fetches the details of the Proposal. This includes the amount of approvals and rejections, the expiry, and details of the wrapped extrinsic - */ - public async details(): Promise { - const { - context: { - polymeshApi: { - query: { multiSig }, - }, - }, - multiSig: { address: multiSigAddress }, - id, - context, - } = this; - - const rawMultiSignAddress = stringToAccountId(multiSigAddress, context); - const rawId = bigNumberToU64(id, context); - - const [ - { - approvals: rawApprovals, - rejections: rawRejections, - status: rawStatus, - expiry: rawExpiry, - autoClose: rawAutoClose, - }, - proposalOpt, - votes, - ] = await Promise.all([ - multiSig.proposalDetail(rawMultiSignAddress, rawId), - multiSig.proposals(rawMultiSignAddress, rawId), - multiSig.votes.entries([rawMultiSignAddress, rawId]), - ]); - - if (proposalOpt.isNone) { - throw new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: `Proposal with ID: "${id}" was not found. It may have already been executed`, - }); - } - - const proposal = proposalOpt.unwrap(); - const { method, section } = proposal; - const { args } = proposal.toJSON(); - - const approvalAmount = u64ToBigNumber(rawApprovals); - const rejectionAmount = u64ToBigNumber(rawRejections); - const expiry = optionize(momentToDate)(rawExpiry.unwrapOr(null)); - const status = meshProposalStatusToProposalStatus(rawStatus, expiry); - const autoClose = boolToBoolean(rawAutoClose); - const voted: Account[] = []; - if (votes.length > 0) { - votes.forEach(([voteStorageKey, didVote]) => { - if (didVote.isTrue && voteStorageKey.args[1].isAccount) - voted.push( - new Account({ address: accountIdToString(voteStorageKey.args[1].asAccount) }, context) - ); - }); - } - - return { - approvalAmount, - rejectionAmount, - status, - expiry, - autoClose, - args, - txTag: `${section}.${method}` as TxTag, - voted, - }; - } - - /** - * Determines whether this Proposal exists on chain - */ - public async exists(): Promise { - const { - context: { - polymeshApi: { - query: { multiSig }, - }, - }, - multiSig: { address: multiSigAddress }, - id, - context, - } = this; - - const rawId = bigNumberToU64(id, context); - const rawMultiSignAddress = stringToAccountId(multiSigAddress, context); - const rawProposal = await multiSig.proposals(rawMultiSignAddress, rawId); - - return rawProposal.isSome; - } - - /** - * Returns a human readable representation - */ - public toHuman(): HumanReadable { - const { - multiSig: { address: multiSigAddress }, - id, - } = this; - - return { - multiSigAddress, - id: id.toString(), - }; - } - - /** - * Fetches the individual votes for this MultiSig proposal and their identifier data (block number, date and event index) of the event that was emitted when this MultiSig Proposal Vote was casted - * - * @note uses the middlewareV2 - */ - public async votes(): Promise { - const { - multiSig: { address }, - id, - context, - } = this; - - const { - data: { - multiSigProposalVotes: { nodes: signerVotes }, - }, - } = await context.queryMiddleware>( - multiSigProposalVotesQuery({ - proposalId: `${address}/${id.toString()}`, - }) - ); - - return signerVotes.map(signerVote => { - const { signer, action, createdBlock, eventIdx } = signerVote; - - const { signerType, signerValue } = signer!; - return { - signer: signerValueToSigner( - { type: signerType as unknown as SignerType, value: signerValue }, - context - ), - action: action!, - ...middlewareEventDetailsToEventIdentifier(createdBlock!, eventIdx), - }; - }); - } - - /** - * @hidden - * - * Queries the SQ to get MultiSig Proposal details - */ - private async getProposalDetails(): Promise { - const { - context, - id, - multiSig: { address }, - } = this; - const { - data: { - multiSigProposals: { - nodes: [node], - }, - }, - } = await context.queryMiddleware>( - multiSigProposalQuery({ - multisigId: address, - proposalId: id.toNumber(), - }) - ); - return node; - } - - /** - * Retrieve the identifier data (block number, date and event index) of the event that was emitted when this MultiSig Proposal was created - * - * @note uses the middlewareV2 - * @note there is a possibility that the data is not ready by the time it is requested. In that case, `null` is returned - */ - public async createdAt(): Promise { - const proposal = await this.getProposalDetails(); - - return optionize(middlewareEventDetailsToEventIdentifier)( - proposal?.createdBlock, - proposal?.eventIdx - ); - } - - /** - * Retrieve the account which created this MultiSig Proposal - * - * @note uses the middlewareV2 - * @note there is a possibility that the data is not ready by the time it is requested. In that case, `null` is returned - */ - public async creator(): Promise { - const { context } = this; - const proposal = await this.getProposalDetails(); - - return optionize(asAccount)(proposal?.creatorAccount, context); - } -} diff --git a/src/api/entities/MultiSigProposal/types.ts b/src/api/entities/MultiSigProposal/types.ts deleted file mode 100644 index ccb05bfc5e..0000000000 --- a/src/api/entities/MultiSigProposal/types.ts +++ /dev/null @@ -1,58 +0,0 @@ -import BigNumber from 'bignumber.js'; - -import { MultiSigProposalVoteActionEnum } from '~/middleware/types'; -import { Account, AnyJson, EventIdentifier, Signer, TxTag } from '~/types'; - -export enum ProposalStatus { - Invalid = 'Invalid', - Active = 'Active', - Expired = 'Expired', - Successful = 'ExecutionSuccessful', - Failed = 'ExecutionFailed', - Rejected = 'Rejected', -} - -export interface MultiSigProposalDetails { - /** - * The number of approvals this proposal has received - */ - approvalAmount: BigNumber; - /** - * The number of rejections this proposal has received - */ - rejectionAmount: BigNumber; - /** - * The current status of the proposal - */ - status: ProposalStatus; - /** - * An optional time in which this proposal will expire if a decision isn't reached by then - */ - expiry: Date | null; - /** - * Determines if the proposal will automatically be closed once a threshold of reject votes has been reached - */ - autoClose: boolean; - /** - * The tag for the transaction being proposed for the MultiSig to execute - */ - txTag: TxTag; - /** - * The arguments to be passed to the transaction for this proposal - */ - args: AnyJson; - /** - * Accounts of signing keys that have already voted on this proposal - */ - voted: Account[]; -} - -export enum MultiSigProposalAction { - Approve = 'approve', - Reject = 'reject', -} - -export type MultiSigProposalVote = EventIdentifier & { - signer: Signer; - action: MultiSigProposalVoteActionEnum; -}; diff --git a/src/api/entities/Namespace.ts b/src/api/entities/Namespace.ts deleted file mode 100644 index 00ff785e60..0000000000 --- a/src/api/entities/Namespace.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { Context, Entity } from '~/internal'; - -/** - * @hidden - * - * Represents a namespace within an Entity with the purpose of grouping related functionality - */ -export class Namespace> { - protected parent: Parent; - - protected context: Context; - - /** - * @hidden - */ - constructor(parent: Parent, context: Context) { - this.parent = parent; - this.context = context; - } -} diff --git a/src/api/entities/NumberedPortfolio.ts b/src/api/entities/NumberedPortfolio.ts deleted file mode 100644 index 3708030e00..0000000000 --- a/src/api/entities/NumberedPortfolio.ts +++ /dev/null @@ -1,139 +0,0 @@ -import BigNumber from 'bignumber.js'; - -import { Context, PolymeshError, Portfolio, renamePortfolio } from '~/internal'; -import { portfolioQuery } from '~/middleware/queries'; -import { Query } from '~/middleware/types'; -import { ErrorCode, EventIdentifier, ProcedureMethod, RenamePortfolioParams } from '~/types'; -import { Ensured } from '~/types/utils'; -import { - bigNumberToU64, - bytesToString, - middlewareEventDetailsToEventIdentifier, - stringToIdentityId, -} from '~/utils/conversion'; -import { createProcedureMethod, optionize } from '~/utils/internal'; - -export interface UniqueIdentifiers { - did: string; - id: BigNumber; -} - -/** - * Represents a numbered (non-default) Portfolio for an Identity - */ -export class NumberedPortfolio extends Portfolio { - /** - * @hidden - * Check if a value is of type {@link UniqueIdentifiers} - */ - public static override isUniqueIdentifiers(identifier: unknown): identifier is UniqueIdentifiers { - const { did, id } = identifier as UniqueIdentifiers; - - return typeof did === 'string' && id instanceof BigNumber; - } - - /** - * Portfolio identifier number - */ - public id: BigNumber; - - /** - * @hidden - */ - public constructor(identifiers: UniqueIdentifiers, context: Context) { - super(identifiers, context); - - const { id, did } = identifiers; - - this.id = id; - - this.modifyName = createProcedureMethod( - { getProcedureAndArgs: args => [renamePortfolio, { ...args, did, id }] }, - context - ); - } - - /** - * Rename portfolio - * - * @note Only the owner is allowed to rename the Portfolio. - */ - public modifyName: ProcedureMethod; - - /** - * Return the Portfolio name - */ - public async getName(): Promise { - const { - owner: { did }, - id, - context: { - polymeshApi: { - query: { portfolio }, - }, - }, - context, - } = this; - const rawPortfolioName = await portfolio.portfolios(did, bigNumberToU64(id, context)); - - if (rawPortfolioName.isNone) { - throw new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: "The Portfolio doesn't exist", - }); - } - - return bytesToString(rawPortfolioName.unwrap()); - } - - /** - * Retrieve the identifier data (block number, date and event index) of the event that was emitted when this Portfolio was created - * - * @note uses the middlewareV2 - * @note there is a possibility that the data is not ready by the time it is requested. In that case, `null` is returned - */ - public async createdAt(): Promise { - const { - owner: { did }, - id, - context, - } = this; - - const { - data: { - portfolios: { - nodes: [node], - }, - }, - } = await context.queryMiddleware>( - portfolioQuery({ - identityId: did, - number: id.toNumber(), - }) - ); - - return optionize(middlewareEventDetailsToEventIdentifier)(node?.createdBlock, node?.eventIdx); - } - - /** - * Return whether this Portfolio exists - */ - public async exists(): Promise { - const { - owner: { did }, - id, - context, - context: { - polymeshApi: { - query: { portfolio }, - }, - }, - } = this; - - const identityId = stringToIdentityId(did, context); - const rawPortfolioNumber = bigNumberToU64(id, context); - const size = await portfolio.portfolios.size(identityId, rawPortfolioNumber); - - return !size.isZero(); - } -} diff --git a/src/api/entities/Offering/__tests__/index.ts b/src/api/entities/Offering/__tests__/index.ts deleted file mode 100644 index e934719bab..0000000000 --- a/src/api/entities/Offering/__tests__/index.ts +++ /dev/null @@ -1,442 +0,0 @@ -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { Context, Entity, Offering, PolymeshTransaction } from '~/internal'; -import { investmentsQuery } from '~/middleware/queries'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { - OfferingBalanceStatus, - OfferingDetails, - OfferingSaleStatus, - OfferingTimingStatus, -} from '~/types'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/Identity', - require('~/testUtils/mocks/entities').mockIdentityModule('~/api/entities/Identity') -); -jest.mock( - '~/api/entities/Asset/Fungible', - require('~/testUtils/mocks/entities').mockFungibleAssetModule('~/api/entities/Asset/Fungible') -); -jest.mock( - '~/api/entities/DefaultPortfolio', - require('~/testUtils/mocks/entities').mockDefaultPortfolioModule( - '~/api/entities/DefaultPortfolio' - ) -); -jest.mock( - '~/api/entities/NumberedPortfolio', - require('~/testUtils/mocks/entities').mockNumberedPortfolioModule( - '~/api/entities/NumberedPortfolio' - ) -); -jest.mock( - '~/api/entities/Venue', - require('~/testUtils/mocks/entities').mockVenueModule('~/api/entities/Venue') -); -jest.mock( - '~/base/Procedure', - require('~/testUtils/mocks/procedure').mockProcedureModule('~/base/Procedure') -); - -describe('Offering class', () => { - let context: Context; - - beforeAll(() => { - dsMockUtils.initMocks(); - entityMockUtils.initMocks(); - procedureMockUtils.initMocks(); - }); - - beforeEach(() => { - context = dsMockUtils.getContextInstance(); - }); - - afterEach(() => { - dsMockUtils.reset(); - entityMockUtils.reset(); - procedureMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - procedureMockUtils.cleanup(); - }); - - it('should extend Entity', () => { - expect(Offering.prototype instanceof Entity).toBe(true); - }); - - describe('constructor', () => { - it('should assign ticker and id to instance', () => { - const ticker = 'SOME_TICKER'; - const id = new BigNumber(1); - const offering = new Offering({ id, ticker }, context); - - expect(offering.asset.ticker).toBe(ticker); - expect(offering.id).toEqual(id); - }); - }); - - describe('method: isUniqueIdentifiers', () => { - it('should return true if the object conforms to the interface', () => { - expect(Offering.isUniqueIdentifiers({ id: new BigNumber(1), ticker: 'symbol' })).toBe(true); - expect(Offering.isUniqueIdentifiers({})).toBe(false); - expect(Offering.isUniqueIdentifiers({ id: new BigNumber(1) })).toBe(false); - expect(Offering.isUniqueIdentifiers({ id: 1 })).toBe(false); - }); - }); - - describe('method: details', () => { - const ticker = 'FAKE_TICKER'; - const id = new BigNumber(1); - const someDid = 'someDid'; - const name = 'someSto'; - const otherDid = 'otherDid'; - const raisingCurrency = 'USD'; - const amount = new BigNumber(1000); - const price = new BigNumber(100); - const remaining = new BigNumber(700); - const date = new Date(); - const minInvestmentValue = new BigNumber(1); - - const rawFundraiser = dsMockUtils.createMockOption( - dsMockUtils.createMockFundraiser({ - creator: dsMockUtils.createMockIdentityId(someDid), - offeringPortfolio: dsMockUtils.createMockPortfolioId({ - did: dsMockUtils.createMockIdentityId(someDid), - kind: dsMockUtils.createMockPortfolioKind('Default'), - }), - offeringAsset: dsMockUtils.createMockTicker(ticker), - raisingPortfolio: dsMockUtils.createMockPortfolioId({ - did: dsMockUtils.createMockIdentityId(otherDid), - kind: dsMockUtils.createMockPortfolioKind({ - User: dsMockUtils.createMockU64(new BigNumber(1)), - }), - }), - raisingAsset: dsMockUtils.createMockTicker(raisingCurrency), - tiers: [ - dsMockUtils.createMockFundraiserTier({ - total: dsMockUtils.createMockBalance(amount), - price: dsMockUtils.createMockBalance(price), - remaining: dsMockUtils.createMockBalance(remaining), - }), - ], - venueId: dsMockUtils.createMockU64(new BigNumber(1)), - start: dsMockUtils.createMockMoment(new BigNumber(date.getTime())), - end: dsMockUtils.createMockOption( - dsMockUtils.createMockMoment(new BigNumber(date.getTime())) - ), - status: dsMockUtils.createMockFundraiserStatus('Live'), - minimumInvestment: dsMockUtils.createMockBalance(minInvestmentValue), - }) - ); - - const rawName = dsMockUtils.createMockOption(dsMockUtils.createMockBytes(name)); - - let offering: Offering; - - beforeEach(() => { - context = dsMockUtils.getContextInstance(); - offering = new Offering({ ticker, id }, context); - }); - - it('should return details for an Asset offering', async () => { - const fakeResult = { - creator: expect.objectContaining({ did: someDid }), - name, - offeringPortfolio: expect.objectContaining({ - owner: expect.objectContaining({ did: someDid }), - }), - raisingPortfolio: expect.objectContaining({ - owner: expect.objectContaining({ did: otherDid }), - id: new BigNumber(1), - }), - raisingCurrency, - tiers: [ - { - amount: amount.shiftedBy(-6), - price: price.shiftedBy(-6), - remaining: remaining.shiftedBy(-6), - }, - ], - venue: expect.objectContaining({ id: new BigNumber(1) }), - start: date, - end: date, - status: { - sale: OfferingSaleStatus.Live, - timing: OfferingTimingStatus.Expired, - balance: OfferingBalanceStatus.Residual, - }, - minInvestment: minInvestmentValue.shiftedBy(-6), - totalAmount: amount.shiftedBy(-6), - totalRemaining: remaining.shiftedBy(-6), - }; - - dsMockUtils.createQueryMock('sto', 'fundraisers', { - returnValue: rawFundraiser, - }); - - dsMockUtils.createQueryMock('sto', 'fundraiserNames', { - returnValue: rawName, - }); - - const details = await offering.details(); - expect(details).toEqual(fakeResult); - }); - - it('should allow subscription', async () => { - const unsubCallback = 'unsubCallBack'; - - dsMockUtils.createQueryMock('sto', 'fundraiserNames', { - returnValue: rawName, - }); - - dsMockUtils - .createQueryMock('sto', 'fundraisers') - .mockImplementation(async (_a, _b, cbFunc) => { - cbFunc(rawFundraiser, rawName); - return unsubCallback; - }); - - const callback = jest.fn(); - const result = await offering.details(callback); - - jest - .spyOn(utilsConversionModule, 'fundraiserToOfferingDetails') - .mockReturnValue({} as OfferingDetails); - - expect(result).toBe(unsubCallback); - expect(callback).toBeCalledWith(expect.objectContaining({})); - }); - }); - - describe('method: close', () => { - it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { - const ticker = 'SOME_TICKER'; - const id = new BigNumber(1); - const offering = new Offering({ id, ticker }, context); - - const args = { - ticker, - id, - }; - - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const tx = await offering.close(); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: modifyTimes', () => { - it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { - const ticker = 'SOME_TICKER'; - const id = new BigNumber(1); - const offering = new Offering({ id, ticker }, context); - - const now = new Date(); - const start = new Date(now.getTime() + 100000); - const end = new Date(start.getTime() + 100000); - - const args = { - ticker, - id, - start, - end, - }; - - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const tx = await offering.modifyTimes({ - start, - end, - }); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: getInvestments', () => { - it('should return a list of investors', async () => { - const ticker = 'SOME_TICKER'; - const id = new BigNumber(1); - const offering = new Offering({ id, ticker }, context); - const did = 'someDid'; - const offeringToken = 'TICKER'; - const raiseToken = 'USD'; - const offeringTokenAmount = new BigNumber(10000); - const raiseTokenAmount = new BigNumber(1000); - - const nodes = [ - { - investorId: did, - offeringToken, - raiseToken, - offeringTokenAmount: offeringTokenAmount.toNumber(), - raiseTokenAmount: raiseTokenAmount.toNumber(), - }, - ]; - - const investmentQueryResponse = { - totalCount: 1, - nodes, - }; - - dsMockUtils.createApolloQueryMock( - investmentsQuery( - { - stoId: id.toNumber(), - offeringToken: ticker, - }, - new BigNumber(5), - new BigNumber(0) - ), - { - investments: investmentQueryResponse, - } - ); - - let result = await offering.getInvestments({ - size: new BigNumber(5), - start: new BigNumber(0), - }); - - const { data } = result; - - expect(data[0].investor.did).toBe(did); - expect(data[0].soldAmount).toEqual(offeringTokenAmount.div(Math.pow(10, 6))); - expect(data[0].investedAmount).toEqual(raiseTokenAmount.div(Math.pow(10, 6))); - - dsMockUtils.createApolloQueryMock( - investmentsQuery({ - stoId: id.toNumber(), - offeringToken: ticker, - }), - { - investments: { - totalCount: 0, - nodes: [], - }, - } - ); - - result = await offering.getInvestments(); - expect(result.data).toEqual([]); - expect(result.next).toBeNull(); - }); - }); - - describe('method: freeze', () => { - it('should prepare the procedure and return the resulting transaction', async () => { - const ticker = 'SOME_TICKER'; - const id = new BigNumber(1); - const offering = new Offering({ id, ticker }, context); - - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args: { ticker, id, freeze: true }, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const tx = await offering.freeze(); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: unfreeze', () => { - it('should prepare the procedure and return the resulting transaction', async () => { - const ticker = 'SOME_TICKER'; - const id = new BigNumber(1); - const offering = new Offering({ id, ticker }, context); - - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args: { ticker, id, freeze: false }, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const tx = await offering.unfreeze(); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: invest', () => { - it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { - const ticker = 'SOME_TICKER'; - const id = new BigNumber(1); - const offering = new Offering({ id, ticker }, context); - const did = 'someDid'; - - const purchasePortfolio = entityMockUtils.getDefaultPortfolioInstance({ did }); - const fundingPortfolio = entityMockUtils.getDefaultPortfolioInstance({ did }); - const purchaseAmount = new BigNumber(10); - - const args = { - ticker, - id, - purchasePortfolio, - fundingPortfolio, - purchaseAmount, - }; - - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const tx = await offering.invest({ - purchasePortfolio, - fundingPortfolio, - purchaseAmount, - }); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: exists', () => { - it('should return whether the Offering exists', async () => { - const offering = new Offering({ ticker: 'SOME_TICKER', id: new BigNumber(1) }, context); - - dsMockUtils.createQueryMock('sto', 'fundraisers', { - returnValue: dsMockUtils.createMockOption(dsMockUtils.createMockFundraiser()), - }); - - let result = await offering.exists(); - expect(result).toBe(true); - - dsMockUtils.createQueryMock('sto', 'fundraisers', { - returnValue: dsMockUtils.createMockOption(), - }); - - result = await offering.exists(); - expect(result).toBe(false); - }); - }); - - describe('method: toHuman', () => { - it('should return a human readable version of the entity', () => { - const offering = new Offering({ ticker: 'SOME_TICKER', id: new BigNumber(1) }, context); - - expect(offering.toHuman()).toEqual({ - id: '1', - ticker: 'SOME_TICKER', - }); - }); - }); -}); diff --git a/src/api/entities/Offering/index.ts b/src/api/entities/Offering/index.ts deleted file mode 100644 index 2b5793d829..0000000000 --- a/src/api/entities/Offering/index.ts +++ /dev/null @@ -1,271 +0,0 @@ -import { Bytes, Option } from '@polkadot/types'; -import { PalletStoFundraiser } from '@polkadot/types/lookup'; -import BigNumber from 'bignumber.js'; - -import { - closeOffering, - Context, - Entity, - FungibleAsset, - Identity, - investInOffering, - modifyOfferingTimes, - toggleFreezeOffering, -} from '~/internal'; -import { investmentsQuery } from '~/middleware/queries'; -import { Query } from '~/middleware/types'; -import { - InvestInOfferingParams, - ModifyOfferingTimesParams, - NoArgsProcedureMethod, - ProcedureMethod, - ResultSet, - SubCallback, - UnsubCallback, -} from '~/types'; -import { Ensured } from '~/types/utils'; -import { bigNumberToU64, fundraiserToOfferingDetails, stringToTicker } from '~/utils/conversion'; -import { calculateNextKey, createProcedureMethod, toHumanReadable } from '~/utils/internal'; - -import { Investment, OfferingDetails } from './types'; - -export interface UniqueIdentifiers { - id: BigNumber; - ticker: string; -} - -export interface HumanReadable { - id: string; - ticker: string; -} - -/** - * Represents an Asset Offering in the Polymesh blockchain - */ -export class Offering extends Entity { - /** - * @hidden - * Check if a value is of type {@link UniqueIdentifiers} - */ - public static override isUniqueIdentifiers(identifier: unknown): identifier is UniqueIdentifiers { - const { id, ticker } = identifier as UniqueIdentifiers; - - return id instanceof BigNumber && typeof ticker === 'string'; - } - - /** - * identifier number of the Offering - */ - public id: BigNumber; - - /** - * Asset being offered - */ - public asset: FungibleAsset; - - /** - * @hidden - */ - public constructor(identifiers: UniqueIdentifiers, context: Context) { - super(identifiers, context); - - const { id, ticker } = identifiers; - - this.id = id; - this.asset = new FungibleAsset({ ticker }, context); - - this.freeze = createProcedureMethod( - { - getProcedureAndArgs: () => [toggleFreezeOffering, { ticker, id, freeze: true }], - voidArgs: true, - }, - context - ); - this.unfreeze = createProcedureMethod( - { - getProcedureAndArgs: () => [toggleFreezeOffering, { ticker, id, freeze: false }], - voidArgs: true, - }, - context - ); - this.close = createProcedureMethod( - { getProcedureAndArgs: () => [closeOffering, { ticker, id }], voidArgs: true }, - context - ); - this.modifyTimes = createProcedureMethod( - { getProcedureAndArgs: args => [modifyOfferingTimes, { ticker, id, ...args }] }, - context - ); - this.invest = createProcedureMethod( - { getProcedureAndArgs: args => [investInOffering, { ticker, id, ...args }] }, - context - ); - } - - /** - * Retrieve the Offering's details - * - * @note can be subscribed to - */ - public details(): Promise; - public details(callback: SubCallback): Promise; - - // eslint-disable-next-line require-jsdoc - public async details( - callback?: SubCallback - ): Promise { - const { - context: { - polymeshApi: { - query: { sto }, - }, - }, - id, - asset: { ticker }, - context, - } = this; - - const assembleResult = ( - rawFundraiser: Option, - rawName: Option - ): OfferingDetails => { - return fundraiserToOfferingDetails(rawFundraiser.unwrap(), rawName.unwrap(), context); - }; - - const rawTicker = stringToTicker(ticker, context); - const rawU64 = bigNumberToU64(id, context); - - const fetchName = (): Promise> => sto.fundraiserNames(rawTicker, rawU64); - - if (callback) { - const fundraiserName = await fetchName(); - return sto.fundraisers(rawTicker, rawU64, fundraiserData => { - // eslint-disable-next-line @typescript-eslint/no-floating-promises -- callback errors should be handled by the caller - callback(assembleResult(fundraiserData, fundraiserName)); - }); - } - - const [fundraiser, name] = await Promise.all([sto.fundraisers(rawTicker, rawU64), fetchName()]); - - return assembleResult(fundraiser, name); - } - - /** - * Close the Offering - */ - public close: NoArgsProcedureMethod; - - /** - * Freeze the Offering - */ - public freeze: NoArgsProcedureMethod; - - /** - * Unfreeze the Offering - */ - public unfreeze: NoArgsProcedureMethod; - - /** - * Modify the start/end time of the Offering - * - * @throws if: - * - Trying to modify the start time on an Offering that already started - * - Trying to modify anything on an Offering that already ended - * - Trying to change start or end time to a past date - */ - public modifyTimes: ProcedureMethod; - - /** - * Invest in the Offering - * - * @note required roles: - * - Purchase Portfolio Custodian - * - Funding Portfolio Custodian - */ - public invest: ProcedureMethod; - - /** - * Retrieve all investments made on this Offering - * - * @param opts.size - page size - * @param opts.start - page offset - * - * @note supports pagination - * @note uses the middleware V2 - */ - public async getInvestments( - opts: { - size?: BigNumber; - start?: BigNumber; - } = {} - ): Promise> { - const { - context, - id, - asset: { ticker }, - } = this; - - const { size, start } = opts; - - const { - data: { - investments: { nodes, totalCount }, - }, - } = await context.queryMiddleware>( - investmentsQuery( - { - stoId: id.toNumber(), - offeringToken: ticker, - }, - size, - start - ) - ); - - const count = new BigNumber(totalCount); - - const data = nodes.map(({ investorId: did, offeringTokenAmount, raiseTokenAmount }) => ({ - investor: new Identity({ did }, context), - soldAmount: new BigNumber(offeringTokenAmount).shiftedBy(-6), - investedAmount: new BigNumber(raiseTokenAmount).shiftedBy(-6), - })); - - const next = calculateNextKey(count, data.length, start); - - return { - data, - next, - count, - }; - } - - /** - * Determine whether this Offering exists on chain - */ - public async exists(): Promise { - const { - asset: { ticker }, - id, - context, - } = this; - - const fundraiser = await context.polymeshApi.query.sto.fundraisers( - stringToTicker(ticker, context), - bigNumberToU64(id, context) - ); - - return fundraiser.isSome; - } - - /** - * Return the Offering's ID and Asset ticker - */ - public toHuman(): HumanReadable { - const { asset, id } = this; - - return toHumanReadable({ - ticker: asset, - id, - }); - } -} diff --git a/src/api/entities/Offering/types.ts b/src/api/entities/Offering/types.ts deleted file mode 100644 index 03a3857cf3..0000000000 --- a/src/api/entities/Offering/types.ts +++ /dev/null @@ -1,91 +0,0 @@ -import BigNumber from 'bignumber.js'; - -import { DefaultPortfolio, Identity, NumberedPortfolio, Venue } from '~/internal'; - -export enum OfferingTimingStatus { - /** - * Start date not reached yet - */ - NotStarted = 'NotStarted', - /** - * Between start and end date - */ - Started = 'Started', - /** - * End date reached - */ - Expired = 'Expired', -} - -export enum OfferingBalanceStatus { - /** - * There still are Asset tokens available for purchase - */ - Available = 'Available', - /** - * All Asset tokens in the Offering have been sold - */ - SoldOut = 'SoldOut', - /** - * There are remaining Asset tokens, but their added value is lower than the Offering's - * minimum investment, so they cannot be purchased. The Offering should be manually closed - * to retrieve them - */ - Residual = 'Residual', -} - -export enum OfferingSaleStatus { - /** - * Sale temporarily paused, can be resumed (unfrozen) - */ - Frozen = 'Frozen', - /** - * Investments can be made - */ - Live = 'Live', - /** - * Sale was manually closed before the end date was reached - */ - ClosedEarly = 'ClosedEarly', - /** - * Sale was manually closed after the end date was reached - */ - Closed = 'Closed', -} - -export interface OfferingStatus { - timing: OfferingTimingStatus; - balance: OfferingBalanceStatus; - sale: OfferingSaleStatus; -} - -export interface OfferingTier { - amount: BigNumber; - price: BigNumber; -} - -export interface Tier extends OfferingTier { - remaining: BigNumber; -} - -export interface OfferingDetails { - creator: Identity; - name: string; - offeringPortfolio: NumberedPortfolio | DefaultPortfolio; - raisingPortfolio: NumberedPortfolio | DefaultPortfolio; - raisingCurrency: string; - tiers: Tier[]; - venue: Venue; - start: Date; - end: Date | null; - status: OfferingStatus; - minInvestment: BigNumber; - totalAmount: BigNumber; - totalRemaining: BigNumber; -} - -export interface Investment { - investor: Identity; - soldAmount: BigNumber; - investedAmount: BigNumber; -} diff --git a/src/api/entities/PermissionGroup.ts b/src/api/entities/PermissionGroup.ts deleted file mode 100644 index ce1ff78ae1..0000000000 --- a/src/api/entities/PermissionGroup.ts +++ /dev/null @@ -1,36 +0,0 @@ -import BigNumber from 'bignumber.js'; - -import { Context, Entity, FungibleAsset } from '~/internal'; -import { GroupPermissions, PermissionGroupType } from '~/types'; - -export interface UniqueIdentifiers { - ticker: string; - id?: BigNumber; - type?: PermissionGroupType; -} - -/** - * Represents a group of permissions for an Asset - */ -export abstract class PermissionGroup extends Entity { - /** - * Asset for which this group specifies permissions - */ - public asset: FungibleAsset; - - /** - * @hidden - */ - public constructor(identifiers: UniqueIdentifiers, context: Context) { - super(identifiers, context); - - const { ticker } = identifiers; - - this.asset = new FungibleAsset({ ticker }, context); - } - - /** - * Retrieve the Permissions associated with this Permission Group - */ - public abstract getPermissions(): Promise; -} diff --git a/src/api/entities/Portfolio/__tests__/index.ts b/src/api/entities/Portfolio/__tests__/index.ts deleted file mode 100644 index eac21b7794..0000000000 --- a/src/api/entities/Portfolio/__tests__/index.ts +++ /dev/null @@ -1,805 +0,0 @@ -import { u64 } from '@polkadot/types'; -import { Balance } from '@polkadot/types/interfaces'; -import { - PolymeshPrimitivesIdentityIdPortfolioId, - PolymeshPrimitivesTicker, -} from '@polkadot/types/lookup'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { - Context, - Entity, - FungibleAsset, - NumberedPortfolio, - PolymeshTransaction, - Portfolio, -} from '~/internal'; -import { portfolioMovementsQuery, settlementsQuery } from '~/middleware/queries'; -import { SettlementResultEnum } from '~/middleware/types'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { FungibleLeg, MoveFundsParams, SettlementDirectionEnum } from '~/types'; -import { tuple } from '~/types/utils'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/Identity', - require('~/testUtils/mocks/entities').mockIdentityModule('~/api/entities/Identity') -); -jest.mock( - '~/api/entities/NumberedPortfolio', - require('~/testUtils/mocks/entities').mockNumberedPortfolioModule( - '~/api/entities/NumberedPortfolio' - ) -); -jest.mock( - '~/api/entities/DefaultPortfolio', - require('~/testUtils/mocks/entities').mockDefaultPortfolioModule( - '~/api/entities/DefaultPortfolio' - ) -); -jest.mock( - '~/base/Procedure', - require('~/testUtils/mocks/procedure').mockProcedureModule('~/base/Procedure') -); - -let exists: boolean; - -// eslint-disable-next-line require-jsdoc -class NonAbstract extends Portfolio { - // eslint-disable-next-line require-jsdoc - public async exists(): Promise { - return exists; - } -} - -describe('Portfolio class', () => { - let context: Context; - - beforeAll(() => { - dsMockUtils.initMocks(); - entityMockUtils.initMocks(); - procedureMockUtils.initMocks(); - }); - - beforeEach(() => { - context = dsMockUtils.getContextInstance(); - exists = true; - }); - - afterEach(() => { - dsMockUtils.reset(); - entityMockUtils.reset(); - procedureMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - procedureMockUtils.cleanup(); - }); - - it('should extend Entity', () => { - expect(Portfolio.prototype instanceof Entity).toBe(true); - }); - - describe('constructor', () => { - it('should assign Identity to instance', () => { - const did = 'someDid'; - const portfolio = new NonAbstract({ did }, context); - - expect(portfolio.owner.did).toBe(did); - }); - }); - - describe('method: isUniqueIdentifiers', () => { - it('should return true if the object conforms to the interface', () => { - expect(Portfolio.isUniqueIdentifiers({ did: 'someDid', id: new BigNumber(1) })).toBe(true); - expect(Portfolio.isUniqueIdentifiers({ did: 'someDid' })).toBe(true); - expect(Portfolio.isUniqueIdentifiers({})).toBe(false); - expect(Portfolio.isUniqueIdentifiers({ did: 'someDid', id: 3 })).toBe(false); - expect(Portfolio.isUniqueIdentifiers({ did: 1 })).toBe(false); - }); - }); - - describe('method: isOwnedBy', () => { - let did: string; - - beforeAll(() => { - did = 'signingIdentity'; - dsMockUtils.configureMocks({ contextOptions: { did } }); - }); - - it('should return whether the signing Identity is the Portfolio owner', async () => { - let portfolio = new NonAbstract({ did }, context); - - let result = await portfolio.isOwnedBy(); - - expect(result).toBe(true); - - portfolio = new NonAbstract({ did: 'notTheSigningIdentity' }, context); - const spy = jest.spyOn(portfolio.owner, 'isEqual').mockReturnValue(false); - - result = await portfolio.isOwnedBy({ identity: did }); - - expect(result).toBe(false); - spy.mockRestore(); - }); - }); - - describe('method: isCustodiedBy', () => { - let did: string; - let id: BigNumber; - - beforeAll(() => { - did = 'someDid'; - id = new BigNumber(1); - }); - - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should return the custodian of the portfolio', async () => { - const portfolio = new NonAbstract({ did, id }, context); - const custodianDid = 'custodianDid'; - const signingIdentityDid = 'signingIdentity'; - const identityIdToStringSpy = jest.spyOn(utilsConversionModule, 'identityIdToString'); - const portfolioCustodianMock = dsMockUtils.createQueryMock('portfolio', 'portfolioCustodian'); - - portfolioCustodianMock.mockReturnValue( - dsMockUtils.createMockOption(dsMockUtils.createMockIdentityId(custodianDid)) - ); - identityIdToStringSpy.mockReturnValue(custodianDid); - - const spy = jest - .spyOn(portfolio, 'getCustodian') - .mockResolvedValue(entityMockUtils.getIdentityInstance({ isEqual: false })); - - let result = await portfolio.isCustodiedBy(); - expect(result).toEqual(false); - - portfolioCustodianMock.mockReturnValue( - dsMockUtils.createMockOption(dsMockUtils.createMockIdentityId(signingIdentityDid)) - ); - identityIdToStringSpy.mockReturnValue(signingIdentityDid); - spy.mockResolvedValue(entityMockUtils.getIdentityInstance({ isEqual: true })); - - result = await portfolio.isCustodiedBy({ - identity: entityMockUtils.getIdentityInstance({ isEqual: true }), - }); - expect(result).toEqual(true); - spy.mockRestore(); - }); - }); - - describe('method: getAssetBalances', () => { - let did: string; - let id: BigNumber; - let ticker0: string; - let ticker1: string; - let ticker2: string; - let total0: BigNumber; - let total1: BigNumber; - let locked0: BigNumber; - let locked1: BigNumber; - let locked2: BigNumber; - let rawTicker0: PolymeshPrimitivesTicker; - let rawTicker1: PolymeshPrimitivesTicker; - let rawTicker2: PolymeshPrimitivesTicker; - let rawTotal0: Balance; - let rawTotal1: Balance; - let rawLocked0: Balance; - let rawLocked1: Balance; - let rawLocked2: Balance; - let rawPortfolioId: PolymeshPrimitivesIdentityIdPortfolioId; - - beforeAll(() => { - did = 'someDid'; - id = new BigNumber(1); - ticker0 = 'TICKER0'; - ticker1 = 'TICKER1'; - ticker2 = 'TICKER2'; - total0 = new BigNumber(100); - total1 = new BigNumber(200); - locked0 = new BigNumber(50); - locked1 = new BigNumber(25); - locked2 = new BigNumber(0); - rawTicker0 = dsMockUtils.createMockTicker(ticker0); - rawTicker1 = dsMockUtils.createMockTicker(ticker1); - rawTicker2 = dsMockUtils.createMockTicker(ticker2); - rawTotal0 = dsMockUtils.createMockBalance(total0.shiftedBy(6)); - rawTotal1 = dsMockUtils.createMockBalance(total1.shiftedBy(6)); - rawLocked0 = dsMockUtils.createMockBalance(locked0.shiftedBy(6)); - rawLocked1 = dsMockUtils.createMockBalance(locked1.shiftedBy(6)); - rawLocked2 = dsMockUtils.createMockBalance(locked2.shiftedBy(6)); - rawPortfolioId = dsMockUtils.createMockPortfolioId({ - did: dsMockUtils.createMockIdentityId(did), - kind: dsMockUtils.createMockPortfolioKind({ - User: dsMockUtils.createMockU64(id), - }), - }); - jest.spyOn(utilsConversionModule, 'portfolioIdToMeshPortfolioId').mockImplementation(); - dsMockUtils.configureMocks({ contextOptions: { did } }); - }); - - beforeEach(() => { - dsMockUtils.createQueryMock('portfolio', 'portfolioAssetBalances', { - entries: [ - tuple([rawPortfolioId, rawTicker0], rawTotal0), - tuple([rawPortfolioId, rawTicker1], rawTotal1), - ], - }); - dsMockUtils.createQueryMock('portfolio', 'portfolioLockedAssets', { - entries: [ - tuple([rawPortfolioId, rawTicker0], rawLocked0), - tuple([rawPortfolioId, rawTicker1], rawLocked1), - tuple([rawPortfolioId, rawTicker2], rawLocked2), - ], - }); - }); - - afterAll(() => { - jest.restoreAllMocks(); - }); - - it("should return all of the portfolio's assets and their balances", async () => { - const portfolio = new NonAbstract({ did, id }, context); - - const result = await portfolio.getAssetBalances(); - - expect(result[0].asset.ticker).toBe(ticker0); - expect(result[0].total).toEqual(total0); - expect(result[0].locked).toEqual(locked0); - expect(result[0].free).toEqual(total0.minus(locked0)); - expect(result[1].asset.ticker).toBe(ticker1); - expect(result[1].total).toEqual(total1); - expect(result[1].locked).toEqual(locked1); - expect(result[1].free).toEqual(total1.minus(locked1)); - }); - - it('should return the requested portfolio assets and their balances', async () => { - const portfolio = new NonAbstract({ did, id }, context); - - const otherTicker = 'OTHER_TICKER'; - const result = await portfolio.getAssetBalances({ - assets: [ticker0, new FungibleAsset({ ticker: otherTicker }, context)], - }); - - expect(result.length).toBe(2); - expect(result[0].asset.ticker).toBe(ticker0); - expect(result[0].total).toEqual(total0); - expect(result[0].locked).toEqual(locked0); - expect(result[0].free).toEqual(total0.minus(locked0)); - expect(result[1].asset.ticker).toBe(otherTicker); - expect(result[1].total).toEqual(new BigNumber(0)); - expect(result[1].locked).toEqual(new BigNumber(0)); - expect(result[1].free).toEqual(new BigNumber(0)); - }); - - it('should throw an error if the portfolio does not exist', () => { - const portfolio = new NonAbstract({ did, id }, context); - exists = false; - - return expect(portfolio.getAssetBalances()).rejects.toThrow( - "The Portfolio doesn't exist or was removed by its owner" - ); - }); - }); - - describe('method: getCollections', () => { - let portfolioId: BigNumber; - let did: string; - let nftId: BigNumber; - let secondNftId: BigNumber; - let lockedNftId: BigNumber; - let heldOnlyNftId: BigNumber; - let lockedOnlyNftId: BigNumber; - let ticker: string; - let heldOnlyTicker: string; - let lockedOnlyTicker: string; - let rawTicker: PolymeshPrimitivesTicker; - let rawHeldOnlyTicker: PolymeshPrimitivesTicker; - let rawLockedOnlyTicker: PolymeshPrimitivesTicker; - let rawNftId: u64; - let rawSecondId: u64; - let rawLockedId: u64; - let rawHeldOnlyId: u64; - let rawLockedOnlyId: u64; - let rawPortfolioId: PolymeshPrimitivesIdentityIdPortfolioId; - const rawTrue = dsMockUtils.createMockBool(true); - - beforeAll(() => { - did = 'someDid'; - portfolioId = new BigNumber(1); - nftId = new BigNumber(11); - secondNftId = new BigNumber(12); - lockedNftId = new BigNumber(13); - heldOnlyNftId = new BigNumber(20); - lockedOnlyNftId = new BigNumber(30); - ticker = 'TICKER'; - heldOnlyTicker = 'HELD'; - lockedOnlyTicker = 'LOCKED'; - rawTicker = dsMockUtils.createMockTicker(ticker); - rawHeldOnlyTicker = dsMockUtils.createMockTicker(heldOnlyTicker); - rawLockedOnlyTicker = dsMockUtils.createMockTicker(lockedOnlyTicker); - rawNftId = dsMockUtils.createMockU64(nftId); - rawSecondId = dsMockUtils.createMockU64(secondNftId); - rawLockedId = dsMockUtils.createMockU64(lockedNftId); - rawHeldOnlyId = dsMockUtils.createMockU64(heldOnlyNftId); - rawLockedOnlyId = dsMockUtils.createMockU64(lockedOnlyNftId); - rawPortfolioId = dsMockUtils.createMockPortfolioId({ - did: dsMockUtils.createMockIdentityId(did), - kind: dsMockUtils.createMockPortfolioKind({ - User: dsMockUtils.createMockU64(portfolioId), - }), - }); - jest.spyOn(utilsConversionModule, 'portfolioIdToMeshPortfolioId').mockImplementation(); - dsMockUtils.configureMocks({ contextOptions: { did } }); - }); - - beforeEach(() => { - dsMockUtils.createQueryMock('portfolio', 'portfolioNFT', { - entries: [ - tuple([rawPortfolioId, [rawTicker, rawNftId]], rawTrue), - tuple([rawPortfolioId, [rawTicker, rawSecondId]], rawTrue), - tuple([rawPortfolioId, [rawTicker, rawLockedId]], rawTrue), - tuple([rawPortfolioId, [rawHeldOnlyTicker, rawHeldOnlyId]], rawTrue), - tuple([rawPortfolioId, [rawLockedOnlyTicker, rawLockedOnlyId]], rawTrue), - ], - }); - dsMockUtils.createQueryMock('portfolio', 'portfolioLockedNFT', { - entries: [ - tuple([rawPortfolioId, [rawTicker, rawLockedId]], rawTrue), - tuple([rawPortfolioId, [rawLockedOnlyTicker, rawLockedOnlyId]], rawTrue), - ], - }); - }); - - afterAll(() => { - jest.restoreAllMocks(); - }); - - it("should return all of the portfolio's NFTs when no args are given", async () => { - const portfolio = new NonAbstract({ did, id: portfolioId }, context); - - const result = await portfolio.getCollections(); - - expect(result).toEqual( - expect.arrayContaining([ - { - collection: expect.objectContaining({ ticker }), - free: expect.arrayContaining([ - expect.objectContaining({ id: nftId }), - expect.objectContaining({ id: secondNftId }), - ]), - locked: expect.arrayContaining([expect.objectContaining({ id: lockedNftId })]), - total: new BigNumber(3), - }, - expect.objectContaining({ - collection: expect.objectContaining({ ticker: heldOnlyTicker }), - free: expect.arrayContaining([expect.objectContaining({ id: heldOnlyNftId })]), - locked: [], - total: new BigNumber(1), - }), - expect.objectContaining({ - collection: expect.objectContaining({ ticker: lockedOnlyTicker }), - free: [], - locked: expect.arrayContaining([expect.objectContaining({ id: lockedOnlyNftId })]), - total: new BigNumber(1), - }), - ]) - ); - }); - - it('should filter assets if any are specified', async () => { - const portfolio = new NonAbstract({ did, id: portfolioId }, context); - - const result = await portfolio.getCollections({ collections: [ticker] }); - - expect(result.length).toEqual(1); - expect(result).toEqual( - expect.arrayContaining([ - { - collection: expect.objectContaining({ ticker }), - free: expect.arrayContaining([ - expect.objectContaining({ id: nftId }), - expect.objectContaining({ id: secondNftId }), - ]), - locked: expect.arrayContaining([expect.objectContaining({ id: lockedNftId })]), - total: new BigNumber(3), - }, - ]) - ); - }); - - it('should throw an error if the portfolio does not exist', () => { - const portfolio = new NonAbstract({ did, id: portfolioId }, context); - exists = false; - - return expect(portfolio.getCollections()).rejects.toThrow( - "The Portfolio doesn't exist or was removed by its owner" - ); - }); - }); - - describe('method: getCustodian', () => { - let did: string; - let id: BigNumber; - - beforeAll(() => { - did = 'someDid'; - id = new BigNumber(1); - jest.spyOn(utilsConversionModule, 'portfolioIdToMeshPortfolioId').mockImplementation(); - }); - - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should return the custodian of the portfolio', async () => { - const custodianDid = 'custodianDid'; - const identityIdToStringSpy = jest.spyOn(utilsConversionModule, 'identityIdToString'); - - dsMockUtils - .createQueryMock('portfolio', 'portfolioCustodian') - .mockReturnValue( - dsMockUtils.createMockOption(dsMockUtils.createMockIdentityId(custodianDid)) - ); - - identityIdToStringSpy.mockReturnValue(custodianDid); - - const portfolio = new NonAbstract({ did, id }, context); - - let result = await portfolio.getCustodian(); - expect(result.did).toEqual(custodianDid); - - dsMockUtils.createQueryMock('portfolio', 'portfolioCustodian').mockReturnValue({}); - - identityIdToStringSpy.mockReturnValue(did); - - result = await portfolio.getCustodian(); - expect(result.did).toEqual(did); - }); - - it('should throw an error if the portfolio does not exist', () => { - const portfolio = new NonAbstract({ did, id }, context); - exists = false; - dsMockUtils.createQueryMock('portfolio', 'portfolioCustodian'); - - return expect(portfolio.getCustodian()).rejects.toThrow( - "The Portfolio doesn't exist or was removed by its owner" - ); - }); - }); - - describe('method: moveFunds', () => { - it('should prepare the procedure and return the resulting transaction', async () => { - const args: MoveFundsParams = { - to: new NumberedPortfolio({ id: new BigNumber(1), did: 'someDid' }, context), - items: [{ asset: 'someAsset', amount: new BigNumber(100) }], - }; - const portfolio = new NonAbstract({ did: 'someDid' }, context); - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args: { ...args, from: portfolio }, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const tx = await portfolio.moveFunds(args); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: quitCustody', () => { - it('should prepare the procedure and return the resulting transaction', async () => { - const portfolio = new NonAbstract({ did: 'someDid' }, context); - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args: { portfolio }, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const tx = await portfolio.quitCustody(); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: setCustodian', () => { - let did: string; - let id: BigNumber; - - beforeAll(() => { - did = 'someDid'; - id = new BigNumber(1); - }); - - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should prepare the procedure and return the resulting transaction', async () => { - const portfolio = new NonAbstract({ id, did }, context); - const targetIdentity = 'someTarget'; - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args: { id, did, targetIdentity }, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const tx = await portfolio.setCustodian({ targetIdentity }); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: getTransactionHistory', () => { - let did: string; - let id: BigNumber; - - beforeAll(() => { - did = 'someDid'; - id = new BigNumber(1); - }); - - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should return a list of transactions', async () => { - let portfolio = new NonAbstract({ id, did }, context); - - const account = 'someAccount'; - const key = 'someKey'; - - const blockNumber1 = new BigNumber(1); - const blockNumber2 = new BigNumber(2); - - const blockHash1 = 'someHash'; - const blockHash2 = 'otherHash'; - - const ticker1 = 'TICKER_1'; - const ticker2 = 'TICKER_2'; - - const amount1 = new BigNumber(1000); - const amount2 = new BigNumber(2000); - - const portfolioDid1 = 'portfolioDid1'; - const portfolioNumber1 = '0'; - - const portfolioDid2 = 'someDid'; - const portfolioNumber2 = '1'; - - const portfolioId2 = new BigNumber(portfolioNumber2); - - const legs1 = [ - { - assetId: ticker1, - amount: amount1, - direction: SettlementDirectionEnum.Incoming, - addresses: ['be865155e5b6be843e99117a825e9580bb03e401a9c2ace644fff604fe624917'], - from: { - number: portfolioNumber1, - identityId: portfolioDid1, - }, - fromId: `${portfolioDid1}/${portfolioNumber1}`, - to: { - number: portfolioNumber2, - identityId: portfolioDid2, - }, - toId: `${portfolioDid2}/${portfolioNumber2}`, - }, - ]; - const legs2 = [ - { - assetId: ticker2, - amount: amount2, - direction: SettlementDirectionEnum.Outgoing, - addresses: ['be865155e5b6be843e99117a825e9580bb03e401a9c2ace644fff604fe624917'], - to: { - number: portfolioNumber1, - identityId: portfolioDid1, - }, - toId: `${portfolioDid1}/${portfolioNumber1}`, - from: { - number: portfolioNumber2, - identityId: portfolioDid2, - }, - fromId: `${portfolioDid2}/${portfolioNumber2}`, - }, - ]; - - const settlementsResponse = { - nodes: [ - { - settlement: { - createdBlock: { - blockId: blockNumber1.toNumber(), - hash: blockHash1, - }, - result: SettlementResultEnum.Executed, - legs: { nodes: legs1 }, - }, - }, - { - settlement: { - createdBlock: { - blockId: blockNumber2.toNumber(), - hash: blockHash2, - }, - result: SettlementResultEnum.Executed, - legs: { nodes: legs2 }, - }, - }, - ], - }; - - dsMockUtils.configureMocks({ contextOptions: { withSigningManager: true } }); - when(jest.spyOn(utilsConversionModule, 'addressToKey')) - .calledWith(account, context) - .mockReturnValue(key); - - dsMockUtils.createApolloMultipleQueriesMock([ - { - query: settlementsQuery({ - identityId: did, - portfolioId: id, - address: key, - ticker: undefined, - }), - returnData: { - legs: settlementsResponse, - }, - }, - { - query: portfolioMovementsQuery({ - identityId: did, - portfolioId: id, - address: key, - ticker: undefined, - }), - returnData: { - portfolioMovements: { - nodes: [], - }, - }, - }, - ]); - - let result = await portfolio.getTransactionHistory({ - account, - }); - - expect(result[0].blockNumber).toEqual(blockNumber1); - expect(result[1].blockNumber).toEqual(blockNumber2); - expect(result[0].blockHash).toBe(blockHash1); - expect(result[1].blockHash).toBe(blockHash2); - expect(result[0].legs[0].asset.ticker).toBe(ticker1); - expect(result[1].legs[0].asset.ticker).toBe(ticker2); - expect((result[0].legs[0] as FungibleLeg).amount).toEqual(amount1.div(Math.pow(10, 6))); - expect((result[1].legs[0] as FungibleLeg).amount).toEqual(amount2.div(Math.pow(10, 6))); - expect(result[0].legs[0].from.owner.did).toBe(portfolioDid1); - expect(result[0].legs[0].to.owner.did).toBe(portfolioDid2); - expect((result[0].legs[0].to as NumberedPortfolio).id).toEqual(portfolioId2); - expect(result[1].legs[0].from.owner.did).toBe(portfolioDid2); - expect((result[1].legs[0].from as NumberedPortfolio).id).toEqual(portfolioId2); - expect(result[1].legs[0].to.owner.did).toEqual(portfolioDid1); - - dsMockUtils.createApolloMultipleQueriesMock([ - { - query: settlementsQuery({ - identityId: did, - portfolioId: undefined, - address: undefined, - ticker: undefined, - }), - returnData: { - legs: { - nodes: [], - }, - }, - }, - { - query: portfolioMovementsQuery({ - identityId: did, - portfolioId: undefined, - address: undefined, - ticker: undefined, - }), - returnData: { - portfolioMovements: { - nodes: [ - { - createdBlock: { - blockId: blockNumber1.toNumber(), - hash: 'someHash', - }, - assetId: ticker2, - amount: amount2, - address: 'be865155e5b6be843e99117a825e9580bb03e401a9c2ace644fff604fe624917', - from: { - number: portfolioNumber1, - identityId: portfolioDid1, - }, - fromId: `${portfolioDid1}/${portfolioNumber1}`, - to: { - number: portfolioNumber2, - identityId: portfolioDid1, - }, - toId: `${portfolioDid1}/${portfolioNumber2}`, - }, - ], - }, - }, - }, - ]); - - portfolio = new NonAbstract({ did }, context); - result = await portfolio.getTransactionHistory(); - - expect(result[0].blockNumber).toEqual(blockNumber1); - expect(result[0].blockHash).toBe(blockHash1); - expect(result[0].legs[0].asset.ticker).toBe(ticker2); - expect((result[0].legs[0] as FungibleLeg).amount).toEqual(amount2.div(Math.pow(10, 6))); - expect(result[0].legs[0].from.owner.did).toBe(portfolioDid1); - expect(result[0].legs[0].to.owner.did).toBe(portfolioDid1); - expect((result[0].legs[0].to as NumberedPortfolio).id).toEqual(portfolioId2); - }); - - it('should throw an error if the portfolio does not exist', () => { - const portfolio = new NonAbstract({ did, id }, context); - exists = false; - - dsMockUtils.createApolloMultipleQueriesMock([ - { - query: settlementsQuery({ - identityId: did, - portfolioId: undefined, - address: undefined, - ticker: undefined, - }), - returnData: { - legs: { - nodes: [], - }, - }, - }, - { - query: portfolioMovementsQuery({ - identityId: did, - portfolioId: undefined, - address: undefined, - ticker: undefined, - }), - returnData: { - portfolioMovements: { - nodes: [], - }, - }, - }, - ]); - - return expect(portfolio.getTransactionHistory()).rejects.toThrow( - "The Portfolio doesn't exist or was removed by its owner" - ); - }); - }); - - describe('method: toHuman', () => { - it('should return a human readable version of the entity', () => { - let portfolio = new NonAbstract({ did: 'someDid', id: new BigNumber(1) }, context); - - expect(portfolio.toHuman()).toEqual({ - did: 'someDid', - id: '1', - }); - - portfolio = new NonAbstract({ did: 'someDid' }, context); - - expect(portfolio.toHuman()).toEqual({ - did: 'someDid', - }); - }); - }); -}); diff --git a/src/api/entities/Portfolio/index.ts b/src/api/entities/Portfolio/index.ts deleted file mode 100644 index 5e0cb9a7a7..0000000000 --- a/src/api/entities/Portfolio/index.ts +++ /dev/null @@ -1,460 +0,0 @@ -import BigNumber from 'bignumber.js'; -import { values } from 'lodash'; - -import { - AuthorizationRequest, - Context, - Entity, - FungibleAsset, - Identity, - moveFunds, - Nft, - NftCollection, - PolymeshError, - quitCustody, - setCustodian, -} from '~/internal'; -import { portfolioMovementsQuery, settlementsQuery } from '~/middleware/queries'; -import { Query } from '~/middleware/types'; -import { - ErrorCode, - MoveFundsParams, - NoArgsProcedureMethod, - ProcedureMethod, - SetCustodianParams, -} from '~/types'; -import { Ensured } from '~/types/utils'; -import { - addressToKey, - balanceToBigNumber, - identityIdToString, - portfolioIdToMeshPortfolioId, - tickerToString, - toHistoricalSettlements, - u64ToBigNumber, -} from '~/utils/conversion'; -import { - asFungibleAsset, - asTicker, - createProcedureMethod, - getIdentity, - toHumanReadable, -} from '~/utils/internal'; - -import { HistoricSettlement, PortfolioBalance, PortfolioCollection } from './types'; - -export interface UniqueIdentifiers { - did: string; - id?: BigNumber; -} - -export interface HumanReadable { - did: string; - id?: string; -} - -const notExistsMessage = "The Portfolio doesn't exist or was removed by its owner"; - -/** - * Represents a base Portfolio for a specific Identity in the Polymesh blockchain - */ -export abstract class Portfolio extends Entity { - /** - * @hidden - * Check if a value is of type {@link UniqueIdentifiers} - */ - public static override isUniqueIdentifiers(identifier: unknown): identifier is UniqueIdentifiers { - const { did, id } = identifier as UniqueIdentifiers; - - return typeof did === 'string' && (id === undefined || id instanceof BigNumber); - } - - /** - * Identity of the Portfolio's owner - */ - public owner: Identity; - - /** - * internal Portfolio identifier (unused for default Portfolio) - */ - protected _id?: BigNumber; - - /** - * @hidden - */ - public constructor(identifiers: UniqueIdentifiers, context: Context) { - super(identifiers, context); - - const { did, id } = identifiers; - - this.owner = new Identity({ did }, context); - this._id = id; - - this.setCustodian = createProcedureMethod( - { getProcedureAndArgs: args => [setCustodian, { ...args, did, id }] }, - context - ); - this.moveFunds = createProcedureMethod( - { getProcedureAndArgs: args => [moveFunds, { ...args, from: this }] }, - context - ); - this.quitCustody = createProcedureMethod( - { getProcedureAndArgs: () => [quitCustody, { portfolio: this }], voidArgs: true }, - context - ); - } - - /** - * Return whether an Identity is the Portfolio owner - * - * @param args.identity - defaults to the signing Identity - */ - public async isOwnedBy(args?: { identity: string | Identity }): Promise { - const { owner, context } = this; - - const identity = await getIdentity(args?.identity, context); - - return owner.isEqual(identity); - } - - /** - * Return whether an Identity is the Portfolio custodian - * - * @param args.identity - optional, defaults to the signing Identity - */ - public async isCustodiedBy(args?: { identity: string | Identity }): Promise { - const { context } = this; - - const [portfolioCustodian, targetIdentity] = await Promise.all([ - this.getCustodian(), - getIdentity(args?.identity, context), - ]); - - return portfolioCustodian.isEqual(targetIdentity); - } - - /** - * Retrieve the balances of all fungible assets in this Portfolio - * - * @param args.assets - array of FungibleAssets (or tickers) for which to fetch balances (optional, all balances are retrieved if not passed) - */ - public async getAssetBalances(args?: { - assets: (string | FungibleAsset)[]; - }): Promise { - const { - owner: { did }, - _id: portfolioId, - context: { - polymeshApi: { - query: { portfolio }, - }, - }, - context, - } = this; - - const rawPortfolioId = portfolioIdToMeshPortfolioId({ did, number: portfolioId }, context); - const [exists, totalBalanceEntries, lockedBalanceEntries] = await Promise.all([ - this.exists(), - portfolio.portfolioAssetBalances.entries(rawPortfolioId), - portfolio.portfolioLockedAssets.entries(rawPortfolioId), - ]); - - if (!exists) { - throw new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: notExistsMessage, - }); - } - - const assetBalances: Record = {}; - - totalBalanceEntries.forEach(([key, balance]) => { - const ticker = tickerToString(key.args[1]); - const total = balanceToBigNumber(balance); - - assetBalances[ticker] = { - asset: new FungibleAsset({ ticker }, context), - total, - locked: new BigNumber(0), - free: total, - }; - }); - - lockedBalanceEntries.forEach(([key, balance]) => { - const ticker = tickerToString(key.args[1]); - const locked = balanceToBigNumber(balance); - - if (!locked.isZero()) { - const tickerBalance = assetBalances[ticker]; - - tickerBalance.locked = locked; - tickerBalance.free = assetBalances[ticker].total.minus(locked); - } - }); - - const mask: PortfolioBalance[] | undefined = args?.assets.map(asset => ({ - total: new BigNumber(0), - locked: new BigNumber(0), - free: new BigNumber(0), - asset: asFungibleAsset(asset, context), - })); - - if (mask) { - return mask.map(portfolioBalance => { - const { - asset: { ticker }, - } = portfolioBalance; - - return assetBalances[ticker] ?? portfolioBalance; - }); - } - - return values(assetBalances); - } - - /** - * Retrieve the NFTs held in this portfolio - * - * @param args.assets - array of NftCollection (or tickers) for which to fetch holdings (optional, all holdings are retrieved if not passed) - */ - public async getCollections(args?: { - collections: (string | NftCollection)[]; - }): Promise { - const { - owner: { did }, - _id: portfolioId, - context: { - polymeshApi: { - query: { portfolio }, - }, - }, - context, - } = this; - - const rawPortfolioId = portfolioIdToMeshPortfolioId({ did, number: portfolioId }, context); - const [exists, heldCollectionEntries, lockedCollectionEntries] = await Promise.all([ - this.exists(), - portfolio.portfolioNFT.entries(rawPortfolioId), - portfolio.portfolioLockedNFT.entries(rawPortfolioId), - ]); - - if (!exists) { - throw new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: notExistsMessage, - }); - } - - const queriedCollections = args?.collections.map(asset => asTicker(asset)); - const seenTickers = new Set(); - - const processCollectionEntry = ( - collectionRecord: Record, - entry: (typeof heldCollectionEntries)[0] - ): Record => { - const [ - { - args: [, [rawTicker, rawNftId]], - }, - ] = entry; - - const ticker = tickerToString(rawTicker); - const heldId = u64ToBigNumber(rawNftId); - - if (queriedCollections && !queriedCollections.includes(ticker)) { - return collectionRecord; - } - - // if the user provided a filter arg, then ignore any asset not specified - if (!queriedCollections || queriedCollections.includes(ticker)) { - seenTickers.add(ticker); - const nft = new Nft({ id: heldId, ticker }, context); - - if (!collectionRecord[ticker]) { - collectionRecord[ticker] = [nft]; - } else { - collectionRecord[ticker].push(nft); - } - } - - return collectionRecord; - }; - - const heldCollections: Record = heldCollectionEntries.reduce( - (collection, entry) => processCollectionEntry(collection, entry), - {} - ); - - const lockedCollections: Record = lockedCollectionEntries.reduce( - (collection, entry) => processCollectionEntry(collection, entry), - {} - ); - - const collections: PortfolioCollection[] = []; - seenTickers.forEach(ticker => { - const held = heldCollections[ticker]; - const locked = lockedCollections[ticker] || []; - // calculate free NFTs by filtering held NFTs by locked NFT IDs - const lockedIds = new Set(locked.map(({ id }) => id.toString())); - const free = held.filter(({ id }) => !lockedIds.has(id.toString())); - const total = new BigNumber(held.length); - - collections.push({ - collection: new NftCollection({ ticker }, context), - free, - locked, - total, - }); - }); - - return collections; - } - - /** - * Send an invitation to an Identity to assign it as custodian for this Portfolio - * - * @note this will create an {@link api/entities/AuthorizationRequest!AuthorizationRequest | Authorization Request} which has to be accepted by the `targetIdentity`. - * An {@link api/entities/Account!Account} or {@link api/entities/Identity!Identity} can fetch its pending Authorization Requests by calling {@link api/entities/common/namespaces/Authorizations!Authorizations.getReceived | authorizations.getReceived}. - * Also, an Account or Identity can directly fetch the details of an Authorization Request by calling {@link api/entities/common/namespaces/Authorizations!Authorizations.getOne | authorizations.getOne} - * - * @note required role: - * - Portfolio Custodian - */ - public setCustodian: ProcedureMethod; - - /** - * Moves funds from this Portfolio to another one owned by the same Identity - * - * @note required role: - * - Portfolio Custodian - */ - public moveFunds: ProcedureMethod; - - /** - * Returns the custody of the portfolio to the portfolio owner unilaterally - * - * @note required role: - * - Portfolio Custodian - */ - public quitCustody: NoArgsProcedureMethod; - - /** - * Retrieve the custodian Identity of this Portfolio - * - * @note if no custodian is set, the owner Identity is returned - */ - public async getCustodian(): Promise { - const { - owner, - owner: { did }, - _id: portfolioId, - context: { - polymeshApi: { - query: { portfolio }, - }, - }, - context, - } = this; - - const rawPortfolioId = portfolioIdToMeshPortfolioId({ did, number: portfolioId }, context); - const [portfolioCustodian, exists] = await Promise.all([ - portfolio.portfolioCustodian(rawPortfolioId), - this.exists(), - ]); - - if (!exists) { - throw new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: notExistsMessage, - }); - } - - try { - const rawIdentityId = portfolioCustodian.unwrap(); - return new Identity({ did: identityIdToString(rawIdentityId) }, context); - } catch (_) { - return owner; - } - } - - /** - * Retrieve a list of transactions where this portfolio was involved. Can be filtered using parameters - * - * @param filters.account - Account involved in the settlement - * @param filters.ticker - ticker involved in the transaction - * - * @note uses the middlewareV2 - */ - public async getTransactionHistory( - filters: { - account?: string; - ticker?: string; - } = {} - ): Promise { - const { - context, - owner: { did: identityId }, - _id: portfolioId, - } = this; - - const { account, ticker } = filters; - - const address = account ? addressToKey(account, context) : undefined; - - const settlementsPromise = context.queryMiddleware>( - settlementsQuery({ - identityId, - portfolioId, - address, - ticker, - }) - ); - - const portfolioMovementsPromise = context.queryMiddleware>( - portfolioMovementsQuery({ - identityId, - portfolioId, - address, - ticker, - }) - ); - - const [settlementsResult, portfolioMovementsResult, exists] = await Promise.all([ - settlementsPromise, - portfolioMovementsPromise, - this.exists(), - ]); - - if (!exists) { - throw new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: notExistsMessage, - }); - } - - const portfolioFilter = `${identityId}/${new BigNumber(portfolioId || 0).toString()}`; - - return toHistoricalSettlements( - settlementsResult, - portfolioMovementsResult, - portfolioFilter, - context - ); - } - - /** - * Return the Portfolio ID and owner DID - */ - public toHuman(): HumanReadable { - const { - _id: id, - owner: { did }, - } = this; - - const result = { - did, - }; - - return id ? toHumanReadable({ ...result, id }) : result; - } -} diff --git a/src/api/entities/Portfolio/types.ts b/src/api/entities/Portfolio/types.ts deleted file mode 100644 index 33e9efc7e5..0000000000 --- a/src/api/entities/Portfolio/types.ts +++ /dev/null @@ -1,41 +0,0 @@ -import BigNumber from 'bignumber.js'; - -import { Account, FungibleAsset, Nft } from '~/internal'; -import { SettlementResultEnum as SettlementResult } from '~/middleware/types'; -import { SettlementDirectionEnum as SettlementDirection } from '~/middleware/typesV1'; -import { Balance, Leg, NftCollection } from '~/types'; - -export interface PortfolioBalance extends Balance { - asset: FungibleAsset; -} - -export interface PortfolioCollection { - collection: NftCollection; - /** - * NFTs available for transferring - */ - free: Nft[]; - /** - * NFTs that are locked, such as being involved in a pending instruction - */ - locked: Nft[]; - /** - * Total number of NFTs held for a collection - */ - total: BigNumber; -} - -export type SettlementLeg = Leg & { - direction: SettlementDirection; -}; - -export interface HistoricSettlement { - blockNumber: BigNumber; - blockHash: string; - status: SettlementResult; - /** - * Array of Accounts that participated by affirming the settlement - */ - accounts: Account[]; - legs: SettlementLeg[]; -} diff --git a/src/api/entities/Subsidies.ts b/src/api/entities/Subsidies.ts deleted file mode 100644 index 7388ab64fd..0000000000 --- a/src/api/entities/Subsidies.ts +++ /dev/null @@ -1,79 +0,0 @@ -import { Account, Namespace, Subsidy } from '~/internal'; -import { SubCallback, SubsidyWithAllowance, UnsubCallback } from '~/types'; -import { accountIdToString, balanceToBigNumber, stringToAccountId } from '~/utils/conversion'; - -/** - * Handles all Account Subsidies related functionality - */ -export class Subsidies extends Namespace { - /** - * Get the list of Subsidy relationship along with their subsidized amount for which this Account is the subsidizer - */ - public async getBeneficiaries(): Promise { - const { - context: { - polymeshApi: { - query: { - relayer: { subsidies }, - }, - }, - }, - context, - parent: { address: subsidizer }, - } = this; - - const rawSubsidizer = stringToAccountId(subsidizer, context); - - const entries = await subsidies.entries(); - - return entries.reduce( - ( - result, - [ - { - args: [rawBeneficiary], - }, - rawSubsidy, - ] - ) => { - const { payingKey, remaining } = rawSubsidy.unwrap(); - - if (rawSubsidizer.eq(payingKey)) { - const beneficiary = accountIdToString(rawBeneficiary); - const subsidy = new Subsidy({ beneficiary, subsidizer }, context); - const allowance = balanceToBigNumber(remaining); - - return [...result, { subsidy, allowance }]; - } - - return result; - }, - [] - ); - } - - /** - * Get the Subsidy relationship along with the subsidized amount for this Account is the beneficiary. - * If this Account isn't being subsidized, return null - * - * @note can be subscribed to - */ - public getSubsidizer(): Promise; - public getSubsidizer(callback: SubCallback): Promise; - - // eslint-disable-next-line require-jsdoc - public getSubsidizer( - callback?: SubCallback - ): Promise { - const { - context, - parent: { address }, - } = this; - - if (callback) { - return context.accountSubsidy(address, callback); - } - - return context.accountSubsidy(address); - } -} diff --git a/src/api/entities/Subsidy/__tests__/index.ts b/src/api/entities/Subsidy/__tests__/index.ts deleted file mode 100644 index 66c9027b86..0000000000 --- a/src/api/entities/Subsidy/__tests__/index.ts +++ /dev/null @@ -1,248 +0,0 @@ -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { Context, Entity, PolymeshTransaction, Subsidy } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { AllowanceOperation } from '~/types'; - -jest.mock( - '~/base/Procedure', - require('~/testUtils/mocks/procedure').mockProcedureModule('~/base/Procedure') -); -jest.mock( - '~/api/entities/Account', - require('~/testUtils/mocks/entities').mockAccountModule('~/api/entities/Account') -); - -describe('Subsidy class', () => { - let context: Mocked; - let beneficiary: string; - let subsidizer: string; - let subsidy: Subsidy; - - beforeAll(() => { - dsMockUtils.initMocks(); - entityMockUtils.initMocks(); - procedureMockUtils.initMocks(); - }); - - beforeEach(() => { - context = dsMockUtils.getContextInstance(); - beneficiary = 'beneficiary'; - subsidizer = 'subsidizer'; - subsidy = new Subsidy({ beneficiary, subsidizer }, context); - }); - - afterEach(() => { - dsMockUtils.reset(); - entityMockUtils.reset(); - procedureMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - procedureMockUtils.cleanup(); - }); - - it('should extend Entity', () => { - expect(Subsidy.prototype instanceof Entity).toBe(true); - }); - - describe('constructor', () => { - it('should assign beneficiary and subsidizer to instance', () => { - const fakeResult = expect.objectContaining({ - beneficiary: expect.objectContaining({ address: beneficiary }), - subsidizer: expect.objectContaining({ address: subsidizer }), - }); - - expect(subsidy).toEqual(fakeResult); - }); - }); - - describe('method: isUniqueIdentifiers', () => { - it('should return true if the object conforms to the interface', () => { - expect(Subsidy.isUniqueIdentifiers({ beneficiary, subsidizer })).toBe(true); - expect(Subsidy.isUniqueIdentifiers({})).toBe(false); - expect(Subsidy.isUniqueIdentifiers({ beneficiary: 1, subsidizer: 2 })).toBe(false); - }); - }); - - describe('method: quit', () => { - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should prepare the quit procedure with the correct arguments and context, and return the resulting transaction', async () => { - const args = { subsidy }; - - const expectedTransaction = 'mockTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const tx = await subsidy.quit(); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: setAllowance', () => { - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should prepare the setAllowance procedure with the correct arguments and context, and return the resulting transaction', async () => { - const args = { allowance: new BigNumber(50) }; - - const expectedTransaction = 'mockTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith( - { args: { ...args, subsidy, operation: AllowanceOperation.Set }, transformer: undefined }, - context, - {} - ) - .mockResolvedValue(expectedTransaction); - - const tx = await subsidy.setAllowance(args); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: increaseAllowance', () => { - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should prepare the increaseAllowance procedure with the correct arguments and context, and return the resulting transaction', async () => { - const args = { allowance: new BigNumber(50) }; - - const expectedTransaction = 'mockTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith( - { - args: { ...args, subsidy, operation: AllowanceOperation.Increase }, - transformer: undefined, - }, - context, - {} - ) - .mockResolvedValue(expectedTransaction); - - const tx = await subsidy.increaseAllowance(args); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: decreaseAllowance', () => { - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should prepare the decreaseAllowance procedure with the correct arguments and context, and return the resulting transaction', async () => { - const args = { allowance: new BigNumber(50) }; - - const expectedTransaction = 'mockTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith( - { - args: { ...args, subsidy, operation: AllowanceOperation.Decrease }, - transformer: undefined, - }, - context, - {} - ) - .mockResolvedValue(expectedTransaction); - - const tx = await subsidy.decreaseAllowance(args); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: exists', () => { - it('should return whether the Subsidy exists', async () => { - context.accountSubsidy = jest.fn().mockReturnValue(null); - await expect(subsidy.exists()).resolves.toBe(false); - - entityMockUtils.configureMocks({ - accountOptions: { - isEqual: false, - }, - }); - context.accountSubsidy = jest.fn().mockReturnValue({ - subsidy: entityMockUtils.getSubsidyInstance({ subsidizer: 'mockSubsidizer' }), - allowance: new BigNumber(1), - }); - await expect(subsidy.exists()).resolves.toBe(false); - - entityMockUtils.configureMocks({ - accountOptions: { - isEqual: true, - }, - }); - context.accountSubsidy = jest.fn().mockReturnValue({ - subsidy: entityMockUtils.getSubsidyInstance(), - allowance: new BigNumber(1), - }); - await expect(subsidy.exists()).resolves.toBe(true); - }); - }); - - describe('method: getAllowance', () => { - it('should throw an error if the Subsidy relationship does not exist', async () => { - context.accountSubsidy = jest.fn().mockReturnValue(null); - - let error; - - try { - await subsidy.getAllowance(); - } catch (err) { - error = err; - } - - expect(error.message).toBe('The Subsidy no longer exists'); - - context.accountSubsidy = jest.fn().mockReturnValue({ - subsidy: entityMockUtils.getSubsidyInstance({ subsidizer: 'otherAddress' }), - allowance: new BigNumber(1), - }); - entityMockUtils.configureMocks({ - accountOptions: { - isEqual: false, - }, - }); - - try { - await subsidy.getAllowance(); - } catch (err) { - error = err; - } - - expect(error.message).toBe('The Subsidy no longer exists'); - }); - - it('should return allowance of the Subsidy relationship', async () => { - const allowance = new BigNumber(100); - context.accountSubsidy = jest.fn().mockReturnValue({ - subsidy: entityMockUtils.getSubsidyInstance(), - allowance, - }); - await expect(subsidy.getAllowance()).resolves.toBe(allowance); - }); - }); - - describe('method: toHuman', () => { - it('should return a human readable version of the entity', () => { - subsidy.beneficiary.toHuman = jest.fn().mockReturnValue(beneficiary); - subsidy.subsidizer.toHuman = jest.fn().mockReturnValue(subsidizer); - expect(subsidy.toHuman()).toEqual({ beneficiary, subsidizer }); - }); - }); -}); diff --git a/src/api/entities/Subsidy/index.ts b/src/api/entities/Subsidy/index.ts deleted file mode 100644 index 021667d45e..0000000000 --- a/src/api/entities/Subsidy/index.ts +++ /dev/null @@ -1,214 +0,0 @@ -import BigNumber from 'bignumber.js'; - -import { - Account, - Context, - Entity, - modifyAllowance, - ModifyAllowanceParams, - PolymeshError, - quitSubsidy, -} from '~/internal'; -import { - AllowanceOperation, - DecreaseAllowanceParams, - ErrorCode, - IncreaseAllowanceParams, - NoArgsProcedureMethod, - ProcedureMethod, - SetAllowanceParams, -} from '~/types'; -import { createProcedureMethod, toHumanReadable } from '~/utils/internal'; - -export interface UniqueIdentifiers { - /** - * beneficiary address - */ - beneficiary: string; - /** - * subsidizer address - */ - subsidizer: string; -} - -type HumanReadable = UniqueIdentifiers; - -/** - * Represents a Subsidy relationship on chain - */ -export class Subsidy extends Entity { - /** - * @hidden - * Check if a value is of type {@link UniqueIdentifiers} - */ - public static override isUniqueIdentifiers(identifier: unknown): identifier is UniqueIdentifiers { - const { beneficiary, subsidizer } = identifier as UniqueIdentifiers; - - return typeof beneficiary === 'string' && typeof subsidizer === 'string'; - } - - /** - * Account whose transactions are being paid for - */ - public beneficiary: Account; - /** - * Account that is paying for the transactions - */ - public subsidizer: Account; - - /** - * @hidden - */ - public constructor(identifiers: UniqueIdentifiers, context: Context) { - const { beneficiary, subsidizer } = identifiers; - - super(identifiers, context); - - this.beneficiary = new Account({ address: beneficiary }, context); - this.subsidizer = new Account({ address: subsidizer }, context); - - this.quit = createProcedureMethod( - { getProcedureAndArgs: () => [quitSubsidy, { subsidy: this }], voidArgs: true }, - context - ); - - this.setAllowance = createProcedureMethod< - Pick, - ModifyAllowanceParams, - void - >( - { - getProcedureAndArgs: args => [ - modifyAllowance, - { - ...args, - subsidy: this, - operation: AllowanceOperation.Set, - } as ModifyAllowanceParams, - ], - }, - context - ); - - this.increaseAllowance = createProcedureMethod< - Pick, - ModifyAllowanceParams, - void - >( - { - getProcedureAndArgs: args => [ - modifyAllowance, - { - ...args, - subsidy: this, - operation: AllowanceOperation.Increase, - } as ModifyAllowanceParams, - ], - }, - context - ); - - this.decreaseAllowance = createProcedureMethod< - Pick, - ModifyAllowanceParams, - void - >( - { - getProcedureAndArgs: args => [ - modifyAllowance, - { - ...args, - subsidy: this, - operation: AllowanceOperation.Decrease, - } as ModifyAllowanceParams, - ], - }, - context - ); - } - - /** - * Terminate this Subsidy relationship. The beneficiary Account will be forced to pay for their own transactions - * - * @note both the beneficiary and the subsidizer are allowed to unilaterally quit the Subsidy - */ - public quit: NoArgsProcedureMethod; - - /** - * Set allowance for this Subsidy relationship - * - * @note Only the subsidizer is allowed to set the allowance - * - * @throws if the allowance to set is equal to the current allowance - */ - public setAllowance: ProcedureMethod, void>; - - /** - * Increase allowance for this Subsidy relationship - * - * @note Only the subsidizer is allowed to increase the allowance - */ - public increaseAllowance: ProcedureMethod, void>; - - /** - * Decrease allowance for this Subsidy relationship - * - * @note Only the subsidizer is allowed to decrease the allowance - * - * @throws if the amount to decrease by is more than the existing allowance - */ - public decreaseAllowance: ProcedureMethod, void>; - - /** - * Determine whether this Subsidy relationship exists on chain - */ - public async exists(): Promise { - const { - beneficiary: { address: beneficiaryAddress }, - subsidizer, - context, - } = this; - - const subsidyWithAllowance = await context.accountSubsidy(beneficiaryAddress); - - return ( - subsidyWithAllowance !== null && subsidyWithAllowance.subsidy.subsidizer.isEqual(subsidizer) - ); - } - - /** - * Get amount of POLYX subsidized for this Subsidy relationship - * - * @throws if the Subsidy does not exist - */ - public async getAllowance(): Promise { - const { - beneficiary: { address: beneficiaryAddress }, - subsidizer, - context, - } = this; - - const subsidyWithAllowance = await context.accountSubsidy(beneficiaryAddress); - - if (!subsidyWithAllowance || !subsidyWithAllowance.subsidy.subsidizer.isEqual(subsidizer)) { - throw new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: 'The Subsidy no longer exists', - }); - } - - return subsidyWithAllowance.allowance; - } - - /** - * Return the Subsidy's static data - */ - public toHuman(): HumanReadable { - const { beneficiary, subsidizer } = this; - - return toHumanReadable({ - beneficiary, - subsidizer, - }); - } -} diff --git a/src/api/entities/Subsidy/types.ts b/src/api/entities/Subsidy/types.ts deleted file mode 100644 index 3f74f3faa0..0000000000 --- a/src/api/entities/Subsidy/types.ts +++ /dev/null @@ -1,23 +0,0 @@ -import BigNumber from 'bignumber.js'; - -import { Account, Subsidy } from '~/internal'; - -export interface SubsidyData { - /** - * Account whose transactions are being paid for - */ - beneficiary: Account; - /** - * Account that is paying for the transactions - */ - subsidizer: Account; - /** - * amount of POLYX to be subsidized. This can be increased/decreased later on - */ - allowance: BigNumber; -} - -export interface SubsidyWithAllowance { - subsidy: Subsidy; - allowance: BigNumber; -} diff --git a/src/api/entities/TickerReservation/__tests__/index.ts b/src/api/entities/TickerReservation/__tests__/index.ts deleted file mode 100644 index d6c530f9b7..0000000000 --- a/src/api/entities/TickerReservation/__tests__/index.ts +++ /dev/null @@ -1,329 +0,0 @@ -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { Context, Entity, FungibleAsset, PolymeshTransaction, TickerReservation } from '~/internal'; -import { dsMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { KnownAssetType, SecurityIdentifierType, TickerReservationStatus } from '~/types'; -import * as utilsInternalModule from '~/utils/internal'; - -jest.mock( - '~/base/Procedure', - require('~/testUtils/mocks/procedure').mockProcedureModule('~/base/Procedure') -); - -describe('TickerReservation class', () => { - const ticker = 'FAKE_TICKER'; - let assertTickerValidSpy: jest.SpyInstance; - let context: Mocked; - - beforeAll(() => { - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - assertTickerValidSpy = jest.spyOn(utilsInternalModule, 'assertTickerValid'); - }); - - afterEach(() => { - dsMockUtils.reset(); - procedureMockUtils.reset(); - context = dsMockUtils.getContextInstance(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - procedureMockUtils.cleanup(); - }); - - it('should extend Entity', () => { - expect(TickerReservation.prototype instanceof Entity).toBe(true); - }); - - describe('constructor', () => { - it('should throw an error if the supplied ticker is invalid', () => { - assertTickerValidSpy.mockImplementation(() => { - throw new Error('err'); - }); - - expect(() => new TickerReservation({ ticker: 'some_ticker' }, context)).toThrow(); - - jest.restoreAllMocks(); - }); - - it('should assign ticker to instance', () => { - const tickerReservation = new TickerReservation({ ticker }, context); - - expect(tickerReservation.ticker).toBe(ticker); - }); - }); - - describe('method: isUniqueIdentifiers', () => { - it('should return true if the object conforms to the interface', () => { - expect(TickerReservation.isUniqueIdentifiers({ ticker: 'SOME_TICKER' })).toBe(true); - expect(TickerReservation.isUniqueIdentifiers({})).toBe(false); - expect(TickerReservation.isUniqueIdentifiers({ ticker: 3 })).toBe(false); - }); - }); - - describe('method: details', () => { - let queryMultiMock: jest.Mock; - - beforeEach(() => { - dsMockUtils.createQueryMock('asset', 'tickers'); - dsMockUtils.createQueryMock('asset', 'tokens'); - queryMultiMock = dsMockUtils.getQueryMultiMock(); - }); - - it('should return details for a free ticker', async () => { - const tickerReservation = new TickerReservation({ ticker }, context); - - queryMultiMock.mockResolvedValue([ - dsMockUtils.createMockOption(), - dsMockUtils.createMockOption(), - ]); - - const details = await tickerReservation.details(); - - expect(details).toMatchObject({ - owner: null, - expiryDate: null, - status: TickerReservationStatus.Free, - }); - }); - - it('should return details for a reserved ticker', async () => { - const ownerDid = 'someDid'; - const expiryDate = new Date(new Date().getTime() + 100000); - - const tickerReservation = new TickerReservation({ ticker }, context); - - queryMultiMock.mockResolvedValue([ - dsMockUtils.createMockOption( - dsMockUtils.createMockTickerRegistration({ - owner: dsMockUtils.createMockIdentityId(ownerDid), - expiry: dsMockUtils.createMockOption( - dsMockUtils.createMockMoment(new BigNumber(expiryDate.getTime())) - ), - }) - ), - dsMockUtils.createMockOption(), - ]); - - const details = await tickerReservation.details(); - - expect(details).toMatchObject({ - owner: { did: ownerDid }, - expiryDate, - status: TickerReservationStatus.Reserved, - }); - }); - - it('should return details for a permanently reserved ticker', async () => { - const ownerDid = 'someDid'; - const expiryDate = null; - - const tickerReservation = new TickerReservation({ ticker }, context); - - queryMultiMock.mockResolvedValue([ - dsMockUtils.createMockOption( - dsMockUtils.createMockTickerRegistration({ - owner: dsMockUtils.createMockIdentityId(ownerDid), - expiry: dsMockUtils.createMockOption(), // null expiry - }) - ), - dsMockUtils.createMockOption(), - ]); - - const details = await tickerReservation.details(); - - expect(details).toMatchObject({ - owner: { did: ownerDid }, - expiryDate, - status: TickerReservationStatus.Reserved, - }); - }); - - it('should return details for a ticker for which a reservation expired', async () => { - const ownerDid = 'someDid'; - const expiryDate = new Date(new Date().getTime() - 100000); - - const tickerReservation = new TickerReservation({ ticker }, context); - - queryMultiMock.mockResolvedValue([ - dsMockUtils.createMockOption( - dsMockUtils.createMockTickerRegistration({ - owner: dsMockUtils.createMockIdentityId(ownerDid), - expiry: dsMockUtils.createMockOption( - dsMockUtils.createMockMoment(new BigNumber(expiryDate.getTime())) - ), - }) - ), - dsMockUtils.createMockOption(), - ]); - - const details = await tickerReservation.details(); - - expect(details).toMatchObject({ - owner: { did: ownerDid }, - expiryDate, - status: TickerReservationStatus.Free, - }); - }); - - it('should return details for a ticker for which an Asset has already been created', async () => { - const ownerDid = 'someDid'; - const expiryDate = null; - - const tickerReservation = new TickerReservation({ ticker }, context); - - queryMultiMock.mockResolvedValue([ - dsMockUtils.createMockOption( - dsMockUtils.createMockTickerRegistration({ - owner: dsMockUtils.createMockIdentityId(ownerDid), - expiry: dsMockUtils.createMockOption(), - }) - ), - dsMockUtils.createMockOption( - dsMockUtils.createMockSecurityToken({ - ownerDid: dsMockUtils.createMockIdentityId(ownerDid), - assetType: dsMockUtils.createMockAssetType('EquityCommon'), - divisible: dsMockUtils.createMockBool(true), - totalSupply: dsMockUtils.createMockBalance(new BigNumber(1000)), - }) - ), - ]); - - const details = await tickerReservation.details(); - - expect(details).toMatchObject({ - owner: { did: ownerDid }, - expiryDate, - status: TickerReservationStatus.AssetCreated, - }); - }); - - it('should allow subscription', async () => { - const tickerReservation = new TickerReservation({ ticker }, context); - - const unsubCallback = 'unsubCallback'; - - queryMultiMock.mockImplementation(async (_, cbFunc) => { - cbFunc([dsMockUtils.createMockOption(), dsMockUtils.createMockOption()]); - return unsubCallback; - }); - - const callback = jest.fn(); - const unsub = await tickerReservation.details(callback); - - expect(unsub).toBe(unsubCallback); - expect(callback).toHaveBeenCalledWith({ - owner: null, - expiryDate: null, - status: TickerReservationStatus.Free, - }); - }); - }); - - describe('method: extend', () => { - it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { - const tickerReservation = new TickerReservation({ ticker }, context); - - const args = { - ticker, - extendPeriod: true, - }; - - const expectedTransaction = - 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const tx = await tickerReservation.extend(); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: createAsset', () => { - it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { - const tickerReservation = new TickerReservation({ ticker }, context); - - const args = { - ticker, - name: 'TEST', - totalSupply: new BigNumber(100), - isDivisible: true, - assetType: KnownAssetType.EquityCommon, - securityIdentifiers: [{ type: SecurityIdentifierType.Isin, value: '12345' }], - fundingRound: 'Series A', - requireInvestorUniqueness: false, - reservationRequired: true, - }; - - const expectedTransaction = - 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const tx = await tickerReservation.createAsset(args); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: transferOwnership', () => { - it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { - const tickerReservation = new TickerReservation({ ticker }, context); - const target = 'someOtherDid'; - const expiry = new Date('10/10/2022'); - - const args = { - ticker, - target, - expiry, - }; - - const expectedTransaction = - 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const tx = await tickerReservation.transferOwnership(args); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: exists', () => { - it('should return whether the Reservation exists', async () => { - const tickerRes = new TickerReservation({ ticker: 'SOME_TICKER' }, context); - - dsMockUtils.createQueryMock('asset', 'tickers', { - size: new BigNumber(10), - }); - - let result = await tickerRes.exists(); - expect(result).toBe(true); - - dsMockUtils.createQueryMock('asset', 'tickers', { - size: new BigNumber(0), - }); - - result = await tickerRes.exists(); - expect(result).toBe(false); - }); - }); - - describe('method: toHuman', () => { - it('should return a human readable version of the entity', () => { - const tickerRes = new TickerReservation({ ticker: 'SOME_TICKER' }, context); - - expect(tickerRes.toHuman()).toBe('SOME_TICKER'); - }); - }); -}); diff --git a/src/api/entities/TickerReservation/index.ts b/src/api/entities/TickerReservation/index.ts deleted file mode 100644 index 9f868f2141..0000000000 --- a/src/api/entities/TickerReservation/index.ts +++ /dev/null @@ -1,214 +0,0 @@ -import { PalletAssetSecurityToken, PalletAssetTickerRegistration } from '@polkadot/types/lookup'; -import { Option } from '@polkadot/types-codec'; - -import { - AuthorizationRequest, - Context, - createAsset, - Entity, - FungibleAsset, - Identity, - reserveTicker, - transferTickerOwnership, -} from '~/internal'; -import { - CreateAssetParams, - NoArgsProcedureMethod, - ProcedureMethod, - SubCallback, - TransferTickerOwnershipParams, - UnsubCallback, -} from '~/types'; -import { identityIdToString, momentToDate, stringToTicker } from '~/utils/conversion'; -import { assertTickerValid, createProcedureMethod, requestMulti } from '~/utils/internal'; - -import { TickerReservationDetails, TickerReservationStatus } from './types'; - -/** - * Properties that uniquely identify a TickerReservation - */ -export interface UniqueIdentifiers { - ticker: string; -} - -/** - * Represents a reserved Asset symbol in the Polymesh blockchain. Ticker reservations expire - * after a set length of time, after which they can be reserved by another Identity. - * A Ticker must be previously reserved by an Identity for that Identity to be able create an Asset with it - */ -export class TickerReservation extends Entity { - /** - * @hidden - * Check if a value is of type {@link UniqueIdentifiers} - */ - public static override isUniqueIdentifiers(identifier: unknown): identifier is UniqueIdentifiers { - const { ticker } = identifier as UniqueIdentifiers; - - return typeof ticker === 'string'; - } - - /** - * reserved ticker - */ - public ticker: string; - - /** - * @hidden - */ - constructor(identifiers: UniqueIdentifiers, context: Context) { - super(identifiers, context); - - const { ticker } = identifiers; - - assertTickerValid(ticker); - - this.ticker = ticker; - - this.extend = createProcedureMethod( - { - getProcedureAndArgs: () => [reserveTicker, { ticker, extendPeriod: true }], - voidArgs: true, - }, - context - ); - - this.createAsset = createProcedureMethod( - { - getProcedureAndArgs: args => [createAsset, { ...args, ticker, reservationRequired: true }], - }, - context - ); - - this.transferOwnership = createProcedureMethod( - { getProcedureAndArgs: args => [transferTickerOwnership, { ticker, ...args }] }, - context - ); - } - - /** - * Retrieve the Reservation's owner, expiry date and status - * - * @note can be subscribed to - */ - public details(): Promise; - public details(callback: SubCallback): Promise; - - // eslint-disable-next-line require-jsdoc - public async details( - callback?: SubCallback - ): Promise { - const { - context: { - polymeshApi: { - query: { asset }, - }, - }, - ticker, - context, - } = this; - - const rawTicker = stringToTicker(ticker, context); - - const assembleResult = ( - reservationOpt: Option, - tokenOpt: Option - ): TickerReservationDetails => { - let owner: Identity | null = null; - let status = TickerReservationStatus.Free; - let expiryDate: Date | null = null; - - if (tokenOpt.isSome) { - status = TickerReservationStatus.AssetCreated; - const rawOwnerDid = tokenOpt.unwrap().ownerDid; - owner = new Identity({ did: identityIdToString(rawOwnerDid) }, context); - } else if (reservationOpt.isSome) { - const { owner: rawOwnerDid, expiry } = reservationOpt.unwrap(); - owner = new Identity({ did: identityIdToString(rawOwnerDid) }, context); - - expiryDate = expiry.isSome ? momentToDate(expiry.unwrap()) : null; - if (!expiryDate || expiryDate > new Date()) { - status = TickerReservationStatus.Reserved; - } - } - - return { - owner, - expiryDate, - status, - }; - }; - - if (callback) { - return requestMulti<[typeof asset.tickers, typeof asset.tokens]>( - context, - [ - [asset.tickers, rawTicker], - [asset.tokens, rawTicker], - ], - ([registration, token]) => { - // eslint-disable-next-line @typescript-eslint/no-floating-promises -- callback errors should be handled by the caller - callback(assembleResult(registration, token)); - } - ); - } - - const [tickerRegistration, meshAsset] = await requestMulti< - [typeof asset.tickers, typeof asset.tokens] - >(context, [ - [asset.tickers, rawTicker], - [asset.tokens, rawTicker], - ]); - - return assembleResult(tickerRegistration, meshAsset); - } - - /** - * Extend the Reservation time period of the ticker for 60 days from now - * to later use it in the creation of an Asset. - * - * @note required role: - * - Ticker Owner - */ - public extend: NoArgsProcedureMethod; - - /** - * Create an Asset using the reserved ticker - * - * @note required role: - * - Ticker Owner - */ - public createAsset: ProcedureMethod; - - /** - * Transfer ownership of the Ticker Reservation to another Identity. This generates an authorization request that must be accepted - * by the target - * - * @note this will create {@link api/entities/AuthorizationRequest!AuthorizationRequest | Authorization Request} which has to be accepted by the `target` Identity. - * An {@link api/entities/Account!Account} or {@link api/entities/Identity!Identity} can fetch its pending Authorization Requests by calling {@link api/entities/common/namespaces/Authorizations!Authorizations.getReceived | authorizations.getReceived}. - * Also, an Account or Identity can directly fetch the details of an Authorization Request by calling {@link api/entities/common/namespaces/Authorizations!Authorizations.getOne | authorizations.getOne} - * - * @note required role: - * - Ticker Owner - */ - public transferOwnership: ProcedureMethod; - - /** - * Determine whether this Ticker Reservation exists on chain - */ - public async exists(): Promise { - const { ticker, context } = this; - - const tickerSize = await context.polymeshApi.query.asset.tickers.size( - stringToTicker(ticker, context) - ); - - return !tickerSize.isZero(); - } - - /** - * Return the Reservation's ticker - */ - public toHuman(): string { - return this.ticker; - } -} diff --git a/src/api/entities/TickerReservation/types.ts b/src/api/entities/TickerReservation/types.ts deleted file mode 100644 index 3b4c44f384..0000000000 --- a/src/api/entities/TickerReservation/types.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { Identity } from '~/internal'; - -export enum TickerReservationStatus { - /** - * ticker hasn't been reserved or previous reservation expired - */ - Free = 'Free', - /** - * ticker is currently reserved - */ - Reserved = 'Reserved', - /** - * an Asset using this ticker has already been created - */ - AssetCreated = 'AssetCreated', -} - -export interface TickerReservationDetails { - /** - * Identity ID of the owner of the ticker, null if it hasn't been reserved - */ - owner: Identity | null; - /** - * date at which the reservation expires, null if it never expires (permanent reservation or Asset already launched) - */ - expiryDate: Date | null; - status: TickerReservationStatus; -} diff --git a/src/api/entities/Venue/__tests__/index.ts b/src/api/entities/Venue/__tests__/index.ts deleted file mode 100644 index 0e8cfc7576..0000000000 --- a/src/api/entities/Venue/__tests__/index.ts +++ /dev/null @@ -1,421 +0,0 @@ -import { u64 } from '@polkadot/types'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { createPortfolioTransformer } from '~/api/entities/Venue'; -import { - addInstructionTransformer, - Context, - Entity, - Instruction, - PolymeshTransaction, - Venue, -} from '~/internal'; -import { instructionsQuery } from '~/middleware/queries'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { HistoricInstruction, InstructionStatus, VenueType } from '~/types'; -import { tuple } from '~/types/utils'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/Identity', - require('~/testUtils/mocks/entities').mockIdentityModule('~/api/entities/Identity') -); -jest.mock( - '~/api/entities/Asset/Fungible', - require('~/testUtils/mocks/entities').mockFungibleAssetModule('~/api/entities/Asset/Fungible') -); -jest.mock( - '~/api/entities/DefaultPortfolio', - require('~/testUtils/mocks/entities').mockDefaultPortfolioModule( - '~/api/entities/DefaultPortfolio' - ) -); -jest.mock( - '~/api/entities/NumberedPortfolio', - require('~/testUtils/mocks/entities').mockNumberedPortfolioModule( - '~/api/entities/NumberedPortfolio' - ) -); -jest.mock( - '~/api/entities/Instruction', - require('~/testUtils/mocks/entities').mockInstructionModule('~/api/entities/Instruction') -); -jest.mock( - '~/base/Procedure', - require('~/testUtils/mocks/procedure').mockProcedureModule('~/base/Procedure') -); - -describe('Venue class', () => { - let context: Mocked; - let venue: Venue; - - let id: BigNumber; - - let rawId: u64; - - beforeAll(() => { - dsMockUtils.initMocks(); - entityMockUtils.initMocks(); - procedureMockUtils.initMocks(); - - id = new BigNumber(1); - rawId = dsMockUtils.createMockU64(id); - }); - - beforeEach(() => { - context = dsMockUtils.getContextInstance(); - venue = new Venue({ id }, context); - }); - - afterEach(() => { - dsMockUtils.reset(); - entityMockUtils.reset(); - procedureMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - procedureMockUtils.cleanup(); - }); - - it('should extend Entity', () => { - expect(Venue.prototype instanceof Entity).toBe(true); - }); - - describe('method: isUniqueIdentifiers', () => { - it('should return true if the object conforms to the interface', () => { - expect(Venue.isUniqueIdentifiers({ id: new BigNumber(1) })).toBe(true); - expect(Venue.isUniqueIdentifiers({})).toBe(false); - expect(Venue.isUniqueIdentifiers({ id: 3 })).toBe(false); - }); - }); - - describe('method: exists', () => { - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should return whether if the venue exists or not', async () => { - const owner = 'someDid'; - - entityMockUtils.configureMocks({ identityOptions: { did: owner } }); - when(jest.spyOn(utilsConversionModule, 'bigNumberToU64')) - .calledWith(id, context) - .mockReturnValue(rawId); - - when(dsMockUtils.createQueryMock('settlement', 'venueInfo')) - .calledWith(rawId) - .mockResolvedValue(dsMockUtils.createMockOption()); - - const result = await venue.exists(); - - expect(result).toEqual(false); - }); - }); - - describe('method: details', () => { - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should return the Venue details', async () => { - const description = 'someDescription'; - const type = VenueType.Other; - const owner = 'someDid'; - - entityMockUtils.configureMocks({ identityOptions: { did: owner } }); - when(jest.spyOn(utilsConversionModule, 'bigNumberToU64')) - .calledWith(id, context) - .mockReturnValue(rawId); - when(jest.spyOn(utilsConversionModule, 'bytesToString')).mockReturnValue(description); - - when(dsMockUtils.createQueryMock('settlement', 'venueInfo')) - .calledWith(rawId) - .mockResolvedValue( - dsMockUtils.createMockOption( - dsMockUtils.createMockVenue({ - creator: dsMockUtils.createMockIdentityId(owner), - venueType: dsMockUtils.createMockVenueType(type), - }) - ) - ); - when(dsMockUtils.createQueryMock('settlement', 'details')) - .calledWith(rawId) - .mockResolvedValue(dsMockUtils.createMockBytes(description)); - - const result = await venue.details(); - - expect(result).toEqual({ - owner: expect.objectContaining({ did: owner }), - description, - type, - }); - }); - }); - - describe('method: getHistoricalInstructions', () => { - it('should return the paginated list of all instructions that have been associated with a Venue', async () => { - const middlewareInstructionToHistoricInstructionSpy = jest.spyOn( - utilsConversionModule, - 'middlewareInstructionToHistoricInstruction' - ); - - const venueId = new BigNumber(1); - - const instructionsResponse = { - totalCount: 5, - nodes: ['instructions'], - }; - - dsMockUtils.createApolloQueryMock( - instructionsQuery( - { - venueId: venueId.toString(), - }, - new BigNumber(2), - new BigNumber(0) - ), - { - instructions: instructionsResponse, - } - ); - - const mockHistoricInstruction = 'mockData' as unknown as HistoricInstruction; - - middlewareInstructionToHistoricInstructionSpy.mockReturnValue(mockHistoricInstruction); - - let result = await venue.getHistoricalInstructions({ - size: new BigNumber(2), - start: new BigNumber(0), - }); - - const { data, next, count } = result; - - expect(next).toEqual(new BigNumber(1)); - expect(count).toEqual(new BigNumber(5)); - expect(data).toEqual([mockHistoricInstruction]); - - dsMockUtils.createApolloQueryMock( - instructionsQuery({ - venueId: venueId.toString(), - }), - { - instructions: instructionsResponse, - } - ); - - result = await venue.getHistoricalInstructions(); - - expect(result.count).toEqual(new BigNumber(5)); - expect(result.next).toEqual(new BigNumber(result.data.length)); - }); - }); - - describe('method: getInstructions', () => { - afterAll(() => { - jest.restoreAllMocks(); - }); - - it("should return the Venue's pending and failed instructions", async () => { - const id1 = new BigNumber(1); - const id2 = new BigNumber(2); - - const detailsMock = jest.fn(); - - detailsMock - .mockResolvedValueOnce({ - status: InstructionStatus.Pending, - }) - .mockResolvedValueOnce({ - status: InstructionStatus.Failed, - }) - .mockResolvedValue({ - status: InstructionStatus.Success, - }); - - entityMockUtils.configureMocks({ - instructionOptions: { - details: detailsMock, - }, - }); - - when(jest.spyOn(utilsConversionModule, 'bigNumberToU64')) - .calledWith(id, context) - .mockReturnValue(rawId); - - dsMockUtils - .createQueryMock('settlement', 'venueInfo') - .mockResolvedValue(dsMockUtils.createMockOption(dsMockUtils.createMockVenue())); - - dsMockUtils.createQueryMock('settlement', 'venueInstructions', { - entries: [ - [tuple(rawId, dsMockUtils.createMockU64(id1)), []], - [tuple(rawId, dsMockUtils.createMockU64(id2)), []], - [tuple(rawId, dsMockUtils.createMockU64(new BigNumber(3))), []], - ], - }); - - const result = await venue.getInstructions(); - - expect(result.pending[0].id).toEqual(id1); - expect(result.failed[0].id).toEqual(id2); - expect(result.pending).toHaveLength(1); - expect(result.failed).toHaveLength(1); - }); - }); - - describe('method: addInstruction', () => { - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should prepare the procedure and return the resulting transaction', async () => { - const legs = [ - { - from: 'someDid', - to: 'anotherDid', - amount: new BigNumber(1000), - asset: 'SOME_ASSET', - }, - { - from: 'anotherDid', - to: 'aThirdDid', - amount: new BigNumber(100), - asset: 'ANOTHER_ASSET', - }, - ]; - - const tradeDate = new Date(new Date().getTime() + 24 * 60 * 60 * 1000); - const endBlock = new BigNumber(10000); - - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith( - { - args: { instructions: [{ legs, tradeDate, endBlock }], venueId: venue.id }, - transformer: addInstructionTransformer, - }, - context, - {} - ) - .mockResolvedValue(expectedTransaction); - - const tx = await venue.addInstruction({ legs, tradeDate, endBlock }); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: addInstructions', () => { - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should prepare the procedure and return the resulting transaction', async () => { - const legs = [ - { - from: 'someDid', - to: 'anotherDid', - amount: new BigNumber(1000), - asset: 'SOME_ASSET', - }, - { - from: 'anotherDid', - to: 'aThirdDid', - amount: new BigNumber(100), - asset: 'ANOTHER_ASSET', - }, - ]; - - const tradeDate = new Date(new Date().getTime() + 24 * 60 * 60 * 1000); - const endBlock = new BigNumber(10000); - - const instructions = [ - { - legs, - tradeDate, - endBlock, - }, - ]; - - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith( - { - args: { venueId: venue.id, instructions }, - transformer: undefined, - }, - context, - {} - ) - .mockResolvedValue(expectedTransaction); - - const tx = await venue.addInstructions({ instructions }); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: modify', () => { - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should prepare the procedure and return the resulting transaction', async () => { - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - const description = 'someDetails'; - const type = VenueType.Other; - - when(procedureMockUtils.getPrepareMock()) - .calledWith( - { - args: { venue, description, type }, - transformer: undefined, - }, - context, - {} - ) - .mockResolvedValue(expectedTransaction); - - const tx = await venue.modify({ description, type }); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: toHuman', () => { - it('should return a human readable version of the entity', () => { - const venueEntity = new Venue({ id: new BigNumber(1) }, context); - - expect(venueEntity.toHuman()).toBe('1'); - }); - }); -}); - -describe('addInstructionTransformer', () => { - it('should return a single Instruction', () => { - const id = new BigNumber(1); - - const result = addInstructionTransformer([entityMockUtils.getInstructionInstance({ id })]); - - expect(result.id).toEqual(id); - }); -}); - -describe('createPortfolioTransformer', () => { - it('should return a single Portfolio', () => { - const id = new BigNumber(1); - const did = 'someDid'; - - const result = createPortfolioTransformer([ - entityMockUtils.getNumberedPortfolioInstance({ id, did }), - ]); - - expect(result.id).toEqual(id); - expect(result.owner.did).toBe(did); - }); -}); diff --git a/src/api/entities/Venue/index.ts b/src/api/entities/Venue/index.ts deleted file mode 100644 index 03519835ff..0000000000 --- a/src/api/entities/Venue/index.ts +++ /dev/null @@ -1,275 +0,0 @@ -import BigNumber from 'bignumber.js'; -import P from 'bluebird'; - -import { addInstruction, Context, Entity, Identity, Instruction, modifyVenue } from '~/internal'; -import { instructionsQuery } from '~/middleware/queries'; -import { Query } from '~/middleware/types'; -import { - AddInstructionParams, - AddInstructionsParams, - GroupedInstructions, - InstructionStatus, - ModifyVenueParams, - NumberedPortfolio, - ProcedureMethod, - ResultSet, -} from '~/types'; -import { Ensured } from '~/types/utils'; -import { - bigNumberToU64, - bytesToString, - identityIdToString, - meshVenueTypeToVenueType, - middlewareInstructionToHistoricInstruction, - u64ToBigNumber, -} from '~/utils/conversion'; -import { calculateNextKey, createProcedureMethod } from '~/utils/internal'; - -import { HistoricInstruction, VenueDetails } from './types'; - -export interface UniqueIdentifiers { - id: BigNumber; -} - -/** - * @hidden - */ -export function addInstructionTransformer([instruction]: Instruction[]): Instruction { - return instruction; -} - -/** - * @hidden - */ -export function createPortfolioTransformer([portfolio]: NumberedPortfolio[]): NumberedPortfolio { - return portfolio; -} - -/** - * Represents a Venue through which settlements are handled - */ -export class Venue extends Entity { - /** - * @hidden - * Check if a value is of type {@link UniqueIdentifiers} - */ - public static override isUniqueIdentifiers(identifier: unknown): identifier is UniqueIdentifiers { - const { id } = identifier as UniqueIdentifiers; - - return id instanceof BigNumber; - } - - /** - * identifier number of the Venue - */ - public id: BigNumber; - - /** - * @hidden - */ - public constructor(identifiers: UniqueIdentifiers, context: Context) { - super(identifiers, context); - - const { id } = identifiers; - - this.id = id; - - this.addInstruction = createProcedureMethod( - { - getProcedureAndArgs: args => [addInstruction, { instructions: [args], venueId: this.id }], - transformer: addInstructionTransformer, - }, - context - ); - - this.addInstructions = createProcedureMethod( - { getProcedureAndArgs: args => [addInstruction, { ...args, venueId: this.id }] }, - context - ); - - this.modify = createProcedureMethod( - { getProcedureAndArgs: args => [modifyVenue, { ...args, venue: this }] }, - context - ); - } - - /** - * Determine whether this Venue exists on chain - */ - public async exists(): Promise { - const { - context: { - polymeshApi: { - query: { settlement }, - }, - }, - id, - context, - } = this; - - const venueInfo = await settlement.venueInfo(bigNumberToU64(id, context)); - - return !venueInfo.isNone; - } - - /** - * Retrieve information specific to this Venue - */ - public async details(): Promise { - const { - context: { - polymeshApi: { - query: { settlement }, - }, - }, - id, - context, - } = this; - - const venueId = bigNumberToU64(id, context); - const [venueInfo, details] = await Promise.all([ - settlement.venueInfo(venueId), - settlement.details(venueId), - ]); - const { creator, venueType: type } = venueInfo.unwrap(); - - return { - owner: new Identity({ did: identityIdToString(creator) }, context), - description: bytesToString(details), - type: meshVenueTypeToVenueType(type), - }; - } - - /** - * Retrieve all pending and failed Instructions in this Venue - */ - public async getInstructions(): Promise> { - const instructions = await this.fetchInstructions(); - - const failed: Instruction[] = []; - const pending: Instruction[] = []; - - const details = await P.map(instructions, instruction => instruction.details()); - - details.forEach(({ status }, index) => { - if (status === InstructionStatus.Pending) { - pending.push(instructions[index]); - } - - if (status === InstructionStatus.Failed) { - failed.push(instructions[index]); - } - }); - - return { - failed, - pending, - }; - } - - /** - * Fetch instructions from the chain - */ - private async fetchInstructions(): Promise { - const { - context: { - polymeshApi: { - query: { settlement }, - }, - }, - id, - context, - } = this; - - const instructionEntries = await settlement.venueInstructions.entries( - bigNumberToU64(id, context) - ); - - return instructionEntries.map( - ([ - { - args: [, instructionId], - }, - ]) => new Instruction({ id: u64ToBigNumber(instructionId) }, context) - ); - } - - /** - * Retrieve all Instructions that have been associated with this Venue instance - * - * @param opts.size - page size - * @param opts.start - page offset - * - * @note uses the middleware V2 - * @note supports pagination - */ - public async getHistoricalInstructions( - opts: { - size?: BigNumber; - start?: BigNumber; - } = {} - ): Promise> { - const { context, id } = this; - - const { size, start } = opts; - - const { - data: { - instructions: { nodes: instructionsResult, totalCount }, - }, - } = await context.queryMiddleware>( - instructionsQuery( - { - venueId: id.toString(), - }, - size, - start - ) - ); - - const data = instructionsResult.map(middlewareInstruction => - middlewareInstructionToHistoricInstruction(middlewareInstruction, context) - ); - - const count = new BigNumber(totalCount); - - const next = calculateNextKey(count, data.length, start); - - return { - data, - next, - count, - }; - } - - /** - * Creates a settlement Instruction in this Venue - * - * @note required role: - * - Venue Owner - */ - public addInstruction: ProcedureMethod; - - /** - * Creates a batch of settlement Instructions in this Venue - * - * @note required role: - * - Venue Owner - */ - public addInstructions: ProcedureMethod; - - /** - * Modify description and type - * - * @note required role: - * - Venue Owner - */ - public modify: ProcedureMethod; - - /** - * Return the Venue's ID - */ - public toHuman(): string { - return this.id.toString(); - } -} diff --git a/src/api/entities/Venue/types.ts b/src/api/entities/Venue/types.ts deleted file mode 100644 index 3c222a86c4..0000000000 --- a/src/api/entities/Venue/types.ts +++ /dev/null @@ -1,36 +0,0 @@ -import BigNumber from 'bignumber.js'; - -import { Identity } from '~/internal'; -import { InstructionStatusEnum } from '~/middleware/types'; -import { InstructionDetails, Leg } from '~/types'; - -export enum VenueType { - /** - * Default type - */ - Other = 'Other', - /** - * Primary issuance - */ - Distribution = 'Distribution', - /** - * Offering/Fundraise - */ - Sto = 'Sto', - Exchange = 'Exchange', -} - -export interface VenueDetails { - type: VenueType; - owner: Identity; - description: string; -} - -export type HistoricInstruction = Omit & { - id: BigNumber; - status: InstructionStatusEnum; - venueId: BigNumber; - blockNumber: BigNumber; - blockHash: string; - legs: Leg[]; -}; diff --git a/src/api/entities/__tests__/AuthorizationRequest.ts b/src/api/entities/__tests__/AuthorizationRequest.ts deleted file mode 100644 index 960c8612d1..0000000000 --- a/src/api/entities/__tests__/AuthorizationRequest.ts +++ /dev/null @@ -1,498 +0,0 @@ -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { - Account, - AuthorizationRequest, - Context, - Entity, - Identity, - PolymeshTransaction, -} from '~/internal'; -import { dsMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Authorization, AuthorizationType, SignerType } from '~/types'; - -jest.mock( - '~/base/Procedure', - require('~/testUtils/mocks/procedure').mockProcedureModule('~/base/Procedure') -); - -jest.mock( - '~/api/entities/Account', - require('~/testUtils/mocks/entities').mockAccountModule('~/api/entities/Account') -); - -describe('AuthorizationRequest class', () => { - let context: Context; - - beforeAll(() => { - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - }); - - beforeEach(() => { - context = dsMockUtils.getContextInstance(); - }); - - afterEach(() => { - dsMockUtils.reset(); - procedureMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - procedureMockUtils.cleanup(); - }); - - it('should extend Entity', () => { - expect(AuthorizationRequest.prototype instanceof Entity).toBe(true); - }); - - describe('constructor', () => { - it('should assign target did, issuer did, expiry and data to instance', () => { - const targetDid = 'someDid'; - const issuerDid = 'otherDid'; - const targetIdentity = new Identity({ did: targetDid }, context); - const issuerIdentity = new Identity({ did: issuerDid }, context); - const expiry = new Date(); - const data = 'something' as unknown as Authorization; - const authRequest = new AuthorizationRequest( - { target: targetIdentity, issuer: issuerIdentity, expiry, data, authId: new BigNumber(1) }, - context - ); - - expect(authRequest.target).toEqual(targetIdentity); - expect(authRequest.issuer).toEqual(issuerIdentity); - expect(authRequest.expiry).toBe(expiry); - expect(authRequest.data).toBe(data); - }); - }); - - describe('method: isUniqueIdentifiers', () => { - it('should return true if the object conforms to the interface', () => { - expect(AuthorizationRequest.isUniqueIdentifiers({ authId: new BigNumber(1) })).toBe(true); - expect(AuthorizationRequest.isUniqueIdentifiers({})).toBe(false); - expect(AuthorizationRequest.isUniqueIdentifiers({ authId: 3 })).toBe(false); - }); - }); - - describe('method: accept', () => { - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should prepare the consumeAuthorizationRequests procedure with the correct arguments and context, and return the resulting transaction', async () => { - const authorizationRequest = new AuthorizationRequest( - { - authId: new BigNumber(1), - expiry: null, - target: new Identity({ did: 'someDid' }, context), - issuer: new Identity({ did: 'otherDid' }, context), - data: { type: AuthorizationType.TransferTicker, value: 'TICKER' }, - }, - context - ); - - const args = { - accept: true, - authRequests: [authorizationRequest], - }; - - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const tx = await authorizationRequest.accept(); - - expect(tx).toBe(expectedTransaction); - }); - - it('should prepare the consumeJoinOrRotateAuthorization procedure with the correct arguments and context, and return the resulting transaction', async () => { - const authorizationRequest = new AuthorizationRequest( - { - authId: new BigNumber(1), - expiry: null, - target: new Identity({ did: 'someDid' }, context), - issuer: new Identity({ did: 'otherDid' }, context), - data: { - type: AuthorizationType.JoinIdentity, - value: { - assets: null, - transactions: null, - transactionGroups: [], - portfolios: null, - }, - }, - }, - context - ); - - const args = { - authRequest: authorizationRequest, - accept: true, - }; - - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const tx = await authorizationRequest.accept(); - - expect(tx).toBe(expectedTransaction); - }); - - it('should prepare the consumeJoinOrRotateAuthorization procedure with a RotatePrimaryKeyToSecondary auth and return the resulting transaction', async () => { - const authorizationRequest = new AuthorizationRequest( - { - authId: new BigNumber(1), - expiry: null, - target: new Identity({ did: 'someDid' }, context), - issuer: new Identity({ did: 'otherDid' }, context), - data: { - type: AuthorizationType.RotatePrimaryKeyToSecondary, - value: { - assets: null, - transactions: null, - transactionGroups: [], - portfolios: null, - }, - }, - }, - context - ); - - const args = { - authRequest: authorizationRequest, - accept: true, - }; - - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const tx = await authorizationRequest.accept(); - - expect(tx).toBe(expectedTransaction); - }); - - it('should prepare the consumeAddMultiSigSignerAuthorization procedure with the correct arguments and context, and return the resulting transaction', async () => { - const authorizationRequest = new AuthorizationRequest( - { - authId: new BigNumber(1), - expiry: null, - target: new Identity({ did: 'someDid' }, context), - issuer: new Identity({ did: 'otherDid' }, context), - data: { - type: AuthorizationType.AddMultiSigSigner, - value: 'someAddress', - }, - }, - context - ); - - const args = { - authRequest: authorizationRequest, - accept: true, - }; - - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const tx = await authorizationRequest.accept(); - - expect(tx).toBe(expectedTransaction); - }); - - it('should prepare the consumeAddRelayerPayingKeyAuthorization procedure with the correct arguments and context, and return the resulting transaction', async () => { - const authorizationRequest = new AuthorizationRequest( - { - authId: new BigNumber(1), - expiry: null, - target: new Identity({ did: 'someDid' }, context), - issuer: new Identity({ did: 'otherDid' }, context), - data: { - type: AuthorizationType.AddRelayerPayingKey, - value: { - beneficiary: new Account({ address: 'beneficiary' }, context), - subsidizer: new Account({ address: 'subsidizer' }, context), - allowance: new BigNumber(100), - }, - }, - }, - context - ); - - const args = { - authRequest: authorizationRequest, - accept: true, - }; - - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const tx = await authorizationRequest.accept(); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: remove', () => { - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should prepare the consumeAuthorizationRequest procedure with the correct arguments and context, and return the resulting transaction', async () => { - const authorizationRequest = new AuthorizationRequest( - { - authId: new BigNumber(1), - expiry: null, - target: new Identity({ did: 'someDid' }, context), - issuer: new Identity({ did: 'otherDid' }, context), - data: { type: AuthorizationType.RotatePrimaryKey }, - }, - context - ); - - const args = { - accept: false, - authRequests: [authorizationRequest], - }; - - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const tx = await authorizationRequest.remove(); - - expect(tx).toBe(expectedTransaction); - }); - - it('should prepare the consumeJoinOrRotateAuthorization procedure with the correct arguments and context, and return the resulting transaction', async () => { - const authorizationRequest = new AuthorizationRequest( - { - authId: new BigNumber(1), - expiry: null, - target: new Identity({ did: 'someDid' }, context), - issuer: new Identity({ did: 'otherDid' }, context), - data: { - type: AuthorizationType.JoinIdentity, - value: { - assets: null, - transactions: null, - transactionGroups: [], - portfolios: null, - }, - }, - }, - context - ); - - const args = { - authRequest: authorizationRequest, - accept: false, - }; - - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const tx = await authorizationRequest.remove(); - - expect(tx).toBe(expectedTransaction); - }); - - it('should prepare the consumeAddMultiSigSignerAuthorization procedure with the correct arguments and context, and return the resulting transaction', async () => { - const authorizationRequest = new AuthorizationRequest( - { - authId: new BigNumber(1), - expiry: null, - target: new Identity({ did: 'someDid' }, context), - issuer: new Identity({ did: 'otherDid' }, context), - data: { - type: AuthorizationType.AddMultiSigSigner, - value: 'someAddress', - }, - }, - context - ); - - const args = { - authRequest: authorizationRequest, - accept: false, - }; - - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const tx = await authorizationRequest.remove(); - - expect(tx).toBe(expectedTransaction); - }); - - it('should prepare the consumeRotatePrimaryKeyToSecondary procedure with the correct arguments and context, and return the resulting transaction', async () => { - const authorizationRequest = new AuthorizationRequest( - { - authId: new BigNumber(1), - expiry: null, - target: new Identity({ did: 'someDid' }, context), - issuer: new Identity({ did: 'otherDid' }, context), - data: { - type: AuthorizationType.RotatePrimaryKeyToSecondary, - value: { - assets: null, - transactions: null, - transactionGroups: [], - portfolios: null, - }, - }, - }, - context - ); - - const args = { - authRequest: authorizationRequest, - accept: false, - }; - - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const tx = await authorizationRequest.remove(); - - expect(tx).toBe(expectedTransaction); - }); - - it('should prepare the consumeAddRelayerPayingKeyAuthorization procedure with the correct arguments and context, and return the resulting transaction', async () => { - const authorizationRequest = new AuthorizationRequest( - { - authId: new BigNumber(1), - expiry: null, - target: new Identity({ did: 'someDid' }, context), - issuer: new Identity({ did: 'otherDid' }, context), - data: { - type: AuthorizationType.AddRelayerPayingKey, - value: { - beneficiary: new Account({ address: 'beneficiary' }, context), - subsidizer: new Account({ address: 'subsidizer' }, context), - allowance: new BigNumber(100), - }, - }, - }, - context - ); - - const args = { - authRequest: authorizationRequest, - accept: false, - }; - - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const tx = await authorizationRequest.remove(); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: isExpired', () => { - it('should return whether the request has expired', () => { - const authorizationRequest = new AuthorizationRequest( - { - authId: new BigNumber(1), - expiry: new Date('10/14/1987 UTC'), - target: new Identity({ did: 'someDid' }, context), - issuer: new Identity({ did: 'otherDid' }, context), - data: { type: AuthorizationType.RotatePrimaryKey }, - }, - context - ); - expect(authorizationRequest.isExpired()).toBe(true); - - authorizationRequest.expiry = null; - expect(authorizationRequest.isExpired()).toBe(false); - }); - }); - - describe('method: exists', () => { - it('should return whether the request exists', async () => { - const authorizationRequest = new AuthorizationRequest( - { - authId: new BigNumber(1), - expiry: new Date('10/14/1987 UTC'), - target: new Identity({ did: 'someDid' }, context), - issuer: new Identity({ did: 'otherDid' }, context), - data: { type: AuthorizationType.RotatePrimaryKey }, - }, - context - ); - - dsMockUtils.createQueryMock('identity', 'authorizations', { - returnValue: dsMockUtils.createMockOption(), - }); - await expect(authorizationRequest.exists()).resolves.toBe(false); - - dsMockUtils.createQueryMock('identity', 'authorizations', { - returnValue: dsMockUtils.createMockOption( - dsMockUtils.createMockAuthorization({ - authId: new BigNumber(1), - authorizationData: dsMockUtils.createMockAuthorizationData('RotatePrimaryKey'), - authorizedBy: 'someDid', - expiry: dsMockUtils.createMockOption(), - }) - ), - }); - return expect(authorizationRequest.exists()).resolves.toBe(true); - }); - }); - - describe('method: toHuman', () => { - it('should return a human readable version of the entity', () => { - const authorizationRequest = new AuthorizationRequest( - { - authId: new BigNumber(1), - expiry: new Date('10/14/1987 UTC'), - target: new Identity({ did: 'someDid' }, context), - issuer: new Identity({ did: 'otherDid' }, context), - data: { type: AuthorizationType.RotatePrimaryKey }, - }, - context - ); - expect(authorizationRequest.toHuman()).toEqual({ - id: '1', - expiry: '1987-10-14T00:00:00.000Z', - target: { - type: SignerType.Identity, - value: 'someDid', - }, - issuer: 'otherDid', - data: { type: AuthorizationType.RotatePrimaryKey }, - }); - }); - }); -}); diff --git a/src/api/entities/__tests__/Checkpoint.ts b/src/api/entities/__tests__/Checkpoint.ts deleted file mode 100644 index 2dcfe47946..0000000000 --- a/src/api/entities/__tests__/Checkpoint.ts +++ /dev/null @@ -1,260 +0,0 @@ -import { StorageKey } from '@polkadot/types'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { Checkpoint, Context, Entity } from '~/internal'; -import { dsMockUtils, entityMockUtils } from '~/testUtils/mocks'; -import { tuple } from '~/types/utils'; -import * as utilsConversionModule from '~/utils/conversion'; -import * as utilsInternalModule from '~/utils/internal'; - -jest.mock( - '~/api/entities/Identity', - require('~/testUtils/mocks/entities').mockIdentityModule('~/api/entities/Identity') -); -jest.mock( - '~/api/entities/Asset/Fungible', - require('~/testUtils/mocks/entities').mockFungibleAssetModule('~/api/entities/Asset/Fungible') -); - -describe('Checkpoint class', () => { - let context: Context; - - let id: BigNumber; - let ticker: string; - - let balanceToBigNumberSpy: jest.SpyInstance; - - beforeAll(() => { - dsMockUtils.initMocks(); - entityMockUtils.initMocks(); - - id = new BigNumber(1); - ticker = 'SOME_TICKER'; - - balanceToBigNumberSpy = jest.spyOn(utilsConversionModule, 'balanceToBigNumber'); - }); - - beforeEach(() => { - context = dsMockUtils.getContextInstance(); - }); - - afterEach(() => { - dsMockUtils.reset(); - entityMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should extend Entity', () => { - expect(Checkpoint.prototype instanceof Entity).toBe(true); - }); - - describe('constructor', () => { - it('should assign ticker and id to instance', () => { - const checkpoint = new Checkpoint({ id, ticker }, context); - - expect(checkpoint.asset.ticker).toBe(ticker); - expect(checkpoint.id).toEqual(id); - }); - }); - - describe('method: isUniqueIdentifiers', () => { - it('should return true if the object conforms to the interface', () => { - expect(Checkpoint.isUniqueIdentifiers({ id: new BigNumber(1), ticker: 'symbol' })).toBe(true); - expect(Checkpoint.isUniqueIdentifiers({})).toBe(false); - expect(Checkpoint.isUniqueIdentifiers({ id: new BigNumber(1) })).toBe(false); - expect(Checkpoint.isUniqueIdentifiers({ id: 'id' })).toBe(false); - }); - }); - - describe('method: createdAt', () => { - it("should return the Checkpoint's creation date", async () => { - const checkpoint = new Checkpoint({ id, ticker }, context); - const timestamp = 12000; - - dsMockUtils.createQueryMock('checkpoint', 'timestamps', { - returnValue: dsMockUtils.createMockMoment(new BigNumber(timestamp)), - }); - - const result = await checkpoint.createdAt(); - - expect(result).toEqual(new Date(timestamp)); - }); - }); - - describe('method: totalSupply', () => { - it("should return the Checkpoint's total supply", async () => { - const checkpoint = new Checkpoint({ id, ticker }, context); - const balance = new BigNumber(10000000000); - const expected = new BigNumber(balance).shiftedBy(-6); - - dsMockUtils.createQueryMock('checkpoint', 'totalSupply', { - returnValue: dsMockUtils.createMockBalance(balance), - }); - - balanceToBigNumberSpy.mockReturnValue(expected); - - const result = await checkpoint.totalSupply(); - expect(result).toEqual(expected); - }); - }); - - describe('method: allBalances', () => { - let stringToIdentityIdSpy: jest.SpyInstance; - - beforeAll(() => { - stringToIdentityIdSpy = jest.spyOn(utilsConversionModule, 'stringToIdentityId'); - }); - - it("should return the Checkpoint's Asset Holder balances", async () => { - const checkpoint = new Checkpoint({ id, ticker }, context); - - const balanceOf = [ - { - identity: 'did', - balance: new BigNumber(100), - }, - { - identity: 'did2', - balance: new BigNumber(200), - }, - { - identity: 'did3', - balance: new BigNumber(10), - }, - ]; - - const rawTicker = dsMockUtils.createMockTicker(ticker); - const rawBalanceOf = balanceOf.map(({ identity, balance }) => ({ - identityId: dsMockUtils.createMockIdentityId(identity), - balance: dsMockUtils.createMockBalance(balance), - })); - - rawBalanceOf.forEach(({ identityId, balance: rawBalance }, index) => { - const { identity, balance } = balanceOf[index]; - when(balanceToBigNumberSpy).calledWith(rawBalance).mockReturnValue(balance); - when(stringToIdentityIdSpy).calledWith(identity).mockReturnValue(identityId); - }); - - const balanceOfEntries = rawBalanceOf.map(({ identityId, balance }) => - tuple({ args: [rawTicker, identityId] } as unknown as StorageKey, balance) - ); - - dsMockUtils.createQueryMock('asset', 'balanceOf'); - - jest - .spyOn(utilsInternalModule, 'requestPaginated') - .mockResolvedValue({ entries: balanceOfEntries, lastKey: null }); - - dsMockUtils.createQueryMock('checkpoint', 'balanceUpdates', { - multi: [ - [ - dsMockUtils.createMockU64(new BigNumber(1)), - dsMockUtils.createMockU64(new BigNumber(2)), - ], - [dsMockUtils.createMockU64(new BigNumber(2))], - [], - ], - }); - - const balanceMulti = [new BigNumber(10000), new BigNumber(20000)]; - - const rawBalanceMulti = balanceMulti.map(balance => dsMockUtils.createMockBalance(balance)); - - dsMockUtils.createQueryMock('checkpoint', 'balance', { - multi: rawBalanceMulti, - }); - - rawBalanceMulti.forEach((rawBalance, index) => { - when(balanceToBigNumberSpy).calledWith(rawBalance).mockReturnValue(balanceMulti[index]); - }); - - const { data } = await checkpoint.allBalances(); - - expect(data[0].identity.did).toEqual(balanceOf[0].identity); - expect(data[1].identity.did).toEqual(balanceOf[1].identity); - expect(data[2].identity.did).toEqual(balanceOf[2].identity); - expect(data[0].balance).toEqual(balanceMulti[0]); - expect(data[1].balance).toEqual(balanceMulti[1]); - expect(data[2].balance).toEqual(balanceOf[2].balance); - }); - }); - - describe('method: balance', () => { - it("should return a specific Identity's balance at the Checkpoint", async () => { - const checkpoint = new Checkpoint({ id, ticker }, context); - const balance = new BigNumber(10000000000); - - const expected = new BigNumber(balance).shiftedBy(-6); - - balanceToBigNumberSpy.mockReturnValue(expected); - - dsMockUtils.createQueryMock('checkpoint', 'balanceUpdates', { - returnValue: [ - dsMockUtils.createMockU64(new BigNumber(1)), - dsMockUtils.createMockU64(new BigNumber(2)), - dsMockUtils.createMockU64(new BigNumber(5)), - ], - }); - - dsMockUtils.createQueryMock('checkpoint', 'balance', { - returnValue: dsMockUtils.createMockBalance(balance), - }); - - let result = await checkpoint.balance({ identity: entityMockUtils.getIdentityInstance() }); - - expect(result).toEqual(expected); - - result = await checkpoint.balance(); - - expect(result).toEqual(expected); - - dsMockUtils.createQueryMock('checkpoint', 'balanceUpdates', { - returnValue: [], - }); - - const assetBalance = new BigNumber(1000); - - result = await checkpoint.balance(); - - expect(result).toEqual(assetBalance); - }); - }); - - describe('method: exists', () => { - it('should return whether the checkpoint exists', async () => { - jest.spyOn(utilsConversionModule, 'stringToTicker').mockImplementation(); - - const checkpoint = new Checkpoint({ id, ticker }, context); - - dsMockUtils.createQueryMock('checkpoint', 'checkpointIdSequence', { - returnValue: [dsMockUtils.createMockU64(new BigNumber(5))], - }); - - let result = await checkpoint.exists(); - - expect(result).toBe(true); - - dsMockUtils.createQueryMock('checkpoint', 'checkpointIdSequence', { - returnValue: [dsMockUtils.createMockU64(new BigNumber(0))], - }); - - result = await checkpoint.exists(); - - expect(result).toBe(false); - }); - }); - - describe('method: toHuman', () => { - it('should return a human readable version of the entity', () => { - const checkpoint = new Checkpoint({ id: new BigNumber(1), ticker: 'SOME_TICKER' }, context); - expect(checkpoint.toHuman()).toEqual({ - id: '1', - ticker: 'SOME_TICKER', - }); - }); - }); -}); diff --git a/src/api/entities/confidential/__tests__/ConfidentialAccount/helpers.ts b/src/api/entities/__tests__/ConfidentialAccount/helpers.ts similarity index 90% rename from src/api/entities/confidential/__tests__/ConfidentialAccount/helpers.ts rename to src/api/entities/__tests__/ConfidentialAccount/helpers.ts index 9aa46a4e0f..09e4dcafb1 100644 --- a/src/api/entities/confidential/__tests__/ConfidentialAccount/helpers.ts +++ b/src/api/entities/__tests__/ConfidentialAccount/helpers.ts @@ -1,4 +1,4 @@ -import { convertSubQueryAssetIdToUuid } from '~/api/entities/confidential/ConfidentialAccount/helpers'; +import { convertSubQueryAssetIdToUuid } from '~/api/entities/ConfidentialAccount/helpers'; describe('convertSubQueryAssetIdToUuid', () => { it('converts a valid hex string with 0x prefix to UUID format', () => { diff --git a/src/api/entities/confidential/__tests__/ConfidentialAccount/index.ts b/src/api/entities/__tests__/ConfidentialAccount/index.ts similarity index 97% rename from src/api/entities/confidential/__tests__/ConfidentialAccount/index.ts rename to src/api/entities/__tests__/ConfidentialAccount/index.ts index 2404aaa3e5..e4986d1abe 100644 --- a/src/api/entities/confidential/__tests__/ConfidentialAccount/index.ts +++ b/src/api/entities/__tests__/ConfidentialAccount/index.ts @@ -1,3 +1,5 @@ +import { ErrorCode } from '@polymeshassociation/polymesh-sdk/types'; +import * as utilsPublicConversionModule from '@polymeshassociation/polymesh-sdk/utils/conversion'; import BigNumber from 'bignumber.js'; import { @@ -15,14 +17,14 @@ import { } from '~/middleware/queries'; import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; import { Mocked } from '~/testUtils/types'; -import { ErrorCode, EventIdEnum } from '~/types'; +import { EventIdEnum } from '~/types'; import { tuple } from '~/types/utils'; import * as utilsConversionModule from '~/utils/conversion'; jest.mock( - '~/api/entities/confidential/ConfidentialAsset', + '~/api/entities/ConfidentialAsset', require('~/testUtils/mocks/entities').mockConfidentialAssetModule( - '~/api/entities/confidential/ConfidentialAsset' + '~/api/entities/ConfidentialAsset' ) ); @@ -36,7 +38,7 @@ describe('ConfidentialAccount class', () => { entityMockUtils.initMocks(); dsMockUtils.initMocks(); procedureMockUtils.initMocks(); - jest.spyOn(utilsConversionModule, 'addressToKey').mockImplementation(); + jest.spyOn(utilsPublicConversionModule, 'addressToKey').mockImplementation(); publicKey = '0xb8bb6107ef0dacb727199b329e2d09141ea6f36774818797e843df800c746d19'; }); diff --git a/src/api/entities/confidential/__tests__/ConfidentialAsset/index.ts b/src/api/entities/__tests__/ConfidentialAsset/index.ts similarity index 95% rename from src/api/entities/confidential/__tests__/ConfidentialAsset/index.ts rename to src/api/entities/__tests__/ConfidentialAsset/index.ts index 86b2d3fd13..d6f26b1543 100644 --- a/src/api/entities/confidential/__tests__/ConfidentialAsset/index.ts +++ b/src/api/entities/__tests__/ConfidentialAsset/index.ts @@ -1,4 +1,6 @@ import { bool } from '@polkadot/types'; +import { ErrorCode } from '@polymeshassociation/polymesh-sdk/types'; +import * as utilsPublicConversionModule from '@polymeshassociation/polymesh-sdk/utils/conversion'; import BigNumber from 'bignumber.js'; import { when } from 'jest-when'; @@ -8,22 +10,21 @@ import { transactionHistoryByConfidentialAssetQuery, } from '~/middleware/queries'; import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { ConfidentialAccount, ConfidentialAssetTransactionHistory, ErrorCode } from '~/types'; +import { ConfidentialAccount, ConfidentialAssetTransactionHistory } from '~/types'; import { tuple } from '~/types/utils'; import * as utilsConversionModule from '~/utils/conversion'; jest.mock( - '~/base/Procedure', - require('~/testUtils/mocks/procedure').mockProcedureModule('~/base/Procedure') -); -jest.mock( - '~/api/entities/Identity', - require('~/testUtils/mocks/entities').mockIdentityModule('~/api/entities/Identity') + '~/base/ConfidentialProcedure', + require('~/testUtils/mocks/procedure').mockConfidentialProcedureModule( + '~/base/ConfidentialProcedure' + ) ); + jest.mock( - '~/api/entities/confidential/ConfidentialAccount', + '~/api/entities/ConfidentialAccount', require('~/testUtils/mocks/entities').mockConfidentialAccountModule( - '~/api/entities/confidential/ConfidentialAccount' + '~/api/entities/ConfidentialAccount' ) ); @@ -199,9 +200,9 @@ describe('ConfidentialAsset class', () => { let identityIdToStringSpy: jest.SpyInstance; beforeAll(() => { - u128ToBigNumberSpy = jest.spyOn(utilsConversionModule, 'u128ToBigNumber'); - bytesToStringSpy = jest.spyOn(utilsConversionModule, 'bytesToString'); - identityIdToStringSpy = jest.spyOn(utilsConversionModule, 'identityIdToString'); + u128ToBigNumberSpy = jest.spyOn(utilsPublicConversionModule, 'u128ToBigNumber'); + bytesToStringSpy = jest.spyOn(utilsPublicConversionModule, 'bytesToString'); + identityIdToStringSpy = jest.spyOn(utilsPublicConversionModule, 'identityIdToString'); }); beforeEach(() => { @@ -286,7 +287,7 @@ describe('ConfidentialAsset class', () => { let rawFalse: bool; beforeAll(() => { - boolToBooleanSpy = jest.spyOn(utilsConversionModule, 'boolToBoolean'); + boolToBooleanSpy = jest.spyOn(utilsPublicConversionModule, 'boolToBoolean'); }); beforeEach(() => { diff --git a/src/api/entities/confidential/__tests__/ConfidentialTransaction/index.ts b/src/api/entities/__tests__/ConfidentialTransaction/index.ts similarity index 98% rename from src/api/entities/confidential/__tests__/ConfidentialTransaction/index.ts rename to src/api/entities/__tests__/ConfidentialTransaction/index.ts index f8bfa0f3a9..3436886e10 100644 --- a/src/api/entities/confidential/__tests__/ConfidentialTransaction/index.ts +++ b/src/api/entities/__tests__/ConfidentialTransaction/index.ts @@ -1,5 +1,7 @@ import { Bytes, u64 } from '@polkadot/types'; import { PalletConfidentialAssetTransactionLegState } from '@polkadot/types/lookup'; +import { ErrorCode, UnsubCallback } from '@polymeshassociation/polymesh-sdk/types'; +import * as utilsConversionModule from '@polymeshassociation/polymesh-sdk/utils/conversion'; import BigNumber from 'bignumber.js'; import { when } from 'jest-when'; @@ -25,22 +27,21 @@ import { ConfidentialAffirmParty, ConfidentialLegStateBalances, ConfidentialTransactionStatus, - ErrorCode, - UnsubCallback, } from '~/types'; import { tuple } from '~/types/utils'; -import * as utilsConversionModule from '~/utils/conversion'; jest.mock( - '~/api/entities/confidential/ConfidentialAsset', + '~/api/entities/ConfidentialAsset', require('~/testUtils/mocks/entities').mockConfidentialAssetModule( - '~/api/entities/confidential/ConfidentialAsset' + '~/api/entities/ConfidentialAsset' ) ); jest.mock( - '~/base/Procedure', - require('~/testUtils/mocks/procedure').mockProcedureModule('~/base/Procedure') + '~/base/ConfidentialProcedure', + require('~/testUtils/mocks/procedure').mockConfidentialProcedureModule( + '~/base/ConfidentialProcedure' + ) ); describe('ConfidentialTransaction class', () => { diff --git a/src/api/entities/confidential/__tests__/ConfidentialVenue/index.ts b/src/api/entities/__tests__/ConfidentialVenue/index.ts similarity index 93% rename from src/api/entities/confidential/__tests__/ConfidentialVenue/index.ts rename to src/api/entities/__tests__/ConfidentialVenue/index.ts index d16ffb5a88..f4f4ce8143 100644 --- a/src/api/entities/confidential/__tests__/ConfidentialVenue/index.ts +++ b/src/api/entities/__tests__/ConfidentialVenue/index.ts @@ -1,25 +1,28 @@ import { u64 } from '@polkadot/types'; +import { ErrorCode } from '@polymeshassociation/polymesh-sdk/types'; +import * as utilsConversionModule from '@polymeshassociation/polymesh-sdk/utils/conversion'; import BigNumber from 'bignumber.js'; import { when } from 'jest-when'; -import { addTransactionTransformer } from '~/api/entities/confidential/ConfidentialVenue'; +import { addTransactionTransformer } from '~/api/entities/ConfidentialVenue'; import { ConfidentialVenue, Context, Entity, PolymeshError, PolymeshTransaction } from '~/internal'; import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; import { Mocked } from '~/testUtils/types'; -import { ConfidentialTransaction, ConfidentialTransactionStatus, ErrorCode } from '~/types'; +import { ConfidentialTransaction, ConfidentialTransactionStatus } from '~/types'; import { tuple } from '~/types/utils'; -import * as utilsConversionModule from '~/utils/conversion'; jest.mock( - '~/api/entities/confidential/ConfidentialTransaction', + '~/api/entities/ConfidentialTransaction', require('~/testUtils/mocks/entities').mockConfidentialTransactionModule( - '~/api/entities/confidential/ConfidentialTransaction' + '~/api/entities/ConfidentialTransaction' ) ); jest.mock( - '~/base/Procedure', - require('~/testUtils/mocks/procedure').mockProcedureModule('~/base/Procedure') + '~/base/ConfidentialProcedure', + require('~/testUtils/mocks/procedure').mockConfidentialProcedureModule( + '~/base/ConfidentialProcedure' + ) ); describe('ConfidentialVenue class', () => { diff --git a/src/api/entities/__tests__/CorporateAction.ts b/src/api/entities/__tests__/CorporateAction.ts deleted file mode 100644 index ec6a00ca1f..0000000000 --- a/src/api/entities/__tests__/CorporateAction.ts +++ /dev/null @@ -1,108 +0,0 @@ -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { Context, CorporateAction, CorporateActionBase, PolymeshTransaction } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { - CorporateActionKind, - CorporateActionTargets, - TargetTreatment, - TaxWithholding, -} from '~/types'; - -jest.mock( - '~/api/entities/Checkpoint', - require('~/testUtils/mocks/entities').mockCheckpointModule('~/api/entities/Checkpoint') -); -jest.mock( - '~/api/entities/CheckpointSchedule', - require('~/testUtils/mocks/entities').mockCheckpointScheduleModule( - '~/api/entities/CheckpointSchedule' - ) -); -jest.mock( - '~/base/Procedure', - require('~/testUtils/mocks/procedure').mockProcedureModule('~/base/Procedure') -); - -describe('CorporateAction class', () => { - let context: Context; - let id: BigNumber; - let ticker: string; - let declarationDate: Date; - let kind: CorporateActionKind; - let description: string; - let targets: CorporateActionTargets; - let defaultTaxWithholding: BigNumber; - let taxWithholdings: TaxWithholding[]; - - let corporateAction: CorporateAction; - - beforeAll(() => { - dsMockUtils.initMocks(); - entityMockUtils.initMocks(); - procedureMockUtils.initMocks(); - }); - - beforeEach(() => { - context = dsMockUtils.getContextInstance(); - - id = new BigNumber(1); - ticker = 'SOME_TICKER'; - declarationDate = new Date('10/14/1987 UTC'); - kind = CorporateActionKind.UnpredictableBenefit; - description = 'someDescription'; - targets = { - identities: [], - treatment: TargetTreatment.Exclude, - }; - defaultTaxWithholding = new BigNumber(10); - taxWithholdings = []; - - corporateAction = new CorporateAction( - { - id, - ticker, - kind, - declarationDate, - description, - targets, - defaultTaxWithholding, - taxWithholdings, - }, - context - ); - }); - - afterEach(() => { - dsMockUtils.reset(); - entityMockUtils.reset(); - procedureMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - procedureMockUtils.cleanup(); - }); - - it('should extend CorporateActionBase', () => { - expect(CorporateAction.prototype instanceof CorporateActionBase).toBe(true); - }); - - describe('method: modifyCheckpoint', () => { - it('should prepare the procedure and return the resulting transaction', async () => { - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - const args = { - checkpoint: new Date(), - }; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args: { corporateAction, ...args }, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const tx = await corporateAction.modifyCheckpoint(args); - - expect(tx).toBe(expectedTransaction); - }); - }); -}); diff --git a/src/api/entities/__tests__/CustomPermissionGroup.ts b/src/api/entities/__tests__/CustomPermissionGroup.ts deleted file mode 100644 index 4f594c527e..0000000000 --- a/src/api/entities/__tests__/CustomPermissionGroup.ts +++ /dev/null @@ -1,171 +0,0 @@ -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { Context, CustomPermissionGroup, PermissionGroup, PolymeshTransaction } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/Asset/Fungible', - require('~/testUtils/mocks/entities').mockFungibleAssetModule('~/api/entities/Asset/Fungible') -); -jest.mock( - '~/base/Procedure', - require('~/testUtils/mocks/procedure').mockProcedureModule('~/base/Procedure') -); - -describe('CustomPermissionGroup class', () => { - const ticker = 'ASSET_NAME'; - const id = new BigNumber(1); - - let context: Context; - - beforeAll(() => { - dsMockUtils.initMocks(); - entityMockUtils.initMocks(); - procedureMockUtils.initMocks(); - - jest.spyOn(utilsConversionModule, 'stringToTicker').mockImplementation(); - }); - - beforeEach(() => { - context = dsMockUtils.getContextInstance(); - }); - - afterEach(() => { - dsMockUtils.reset(); - entityMockUtils.reset(); - procedureMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - procedureMockUtils.cleanup(); - }); - - it('should extend PermissionGroup', () => { - expect(CustomPermissionGroup.prototype instanceof PermissionGroup).toBe(true); - }); - - describe('constructor', () => { - it('should assign id to instance', () => { - const customPermissionGroup = new CustomPermissionGroup({ id, ticker }, context); - - expect(customPermissionGroup.id).toBe(id); - expect(customPermissionGroup.asset.ticker).toBe(ticker); - }); - }); - - describe('method: isUniqueIdentifiers', () => { - it('should return true if the object conforms to the interface', () => { - expect(CustomPermissionGroup.isUniqueIdentifiers({ id: new BigNumber(1), ticker })).toBe( - true - ); - expect(CustomPermissionGroup.isUniqueIdentifiers({})).toBe(false); - expect(CustomPermissionGroup.isUniqueIdentifiers({ id: 1 })).toBe(false); - }); - }); - - describe('method: toHuman', () => { - it('should return a human readable version of the entity', () => { - entityMockUtils.configureMocks({ - fungibleAssetOptions: { - toHuman: ticker, - }, - }); - const customPermissionGroup = new CustomPermissionGroup({ id, ticker }, context); - expect(customPermissionGroup.toHuman()).toEqual({ - id: id.toString(), - ticker, - }); - }); - }); - - describe('method: setPermissions', () => { - it('should prepare the procedure with the correct arguments and context, and return the resulting transaction', async () => { - const customPermissionGroup = new CustomPermissionGroup({ id, ticker }, context); - - const args = { - permissions: { - transactionGroups: [], - }, - }; - - const expectedTransaction = 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith( - { args: { ...args, group: customPermissionGroup }, transformer: undefined }, - context, - {} - ) - .mockResolvedValue(expectedTransaction); - - const tx = await customPermissionGroup.setPermissions(args); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: getPermissions', () => { - it('should return a list of permissions and transaction groups', async () => { - const customPermissionGroup = new CustomPermissionGroup({ id, ticker }, context); - - dsMockUtils.createQueryMock('externalAgents', 'groupPermissions', { - returnValue: dsMockUtils.createMockOption( - dsMockUtils.createMockExtrinsicPermissions({ - These: [ - dsMockUtils.createMockPalletPermissions({ - palletName: 'Sto', - dispatchableNames: dsMockUtils.createMockDispatchableNames({ - These: [dsMockUtils.createMockBytes('invest')], - }), - }), - dsMockUtils.createMockPalletPermissions({ - palletName: 'Identity', - dispatchableNames: dsMockUtils.createMockDispatchableNames({ - These: [dsMockUtils.createMockBytes('addClaim')], - }), - }), - ], - }) - ), - }); - - const result = await customPermissionGroup.getPermissions(); - - expect(result).toEqual({ - transactions: { type: 'Include', values: ['sto.invest', 'identity.addClaim'] }, - transactionGroups: [], - }); - }); - }); - - describe('method: exists', () => { - it('should return whether the Custom Permission Group exists', async () => { - const customPermissionGroup = new CustomPermissionGroup({ id, ticker }, context); - - dsMockUtils.createQueryMock('externalAgents', 'agIdSequence', { - returnValue: dsMockUtils.createMockU32(new BigNumber(0)), - }); - - await expect(customPermissionGroup.exists()).resolves.toBe(false); - - dsMockUtils.createQueryMock('externalAgents', 'agIdSequence', { - returnValue: dsMockUtils.createMockU32(new BigNumber(10)), - }); - - await expect(customPermissionGroup.exists()).resolves.toBe(true); - - dsMockUtils.createQueryMock('externalAgents', 'agIdSequence', { - returnValue: dsMockUtils.createMockU32(new BigNumber(1)), - }); - - await expect(customPermissionGroup.exists()).resolves.toBe(true); - - customPermissionGroup.id = new BigNumber(0); - - return expect(customPermissionGroup.exists()).resolves.toBe(false); - }); - }); -}); diff --git a/src/api/entities/__tests__/DefaultPortfolio.ts b/src/api/entities/__tests__/DefaultPortfolio.ts deleted file mode 100644 index c6a141ed1f..0000000000 --- a/src/api/entities/__tests__/DefaultPortfolio.ts +++ /dev/null @@ -1,34 +0,0 @@ -import { Context, DefaultPortfolio, Portfolio } from '~/internal'; -import { dsMockUtils } from '~/testUtils/mocks'; - -describe('DefaultPortfolio class', () => { - it('should extend Portfolio', () => { - expect(DefaultPortfolio.prototype instanceof Portfolio).toBe(true); - }); - - let context: Context; - - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - beforeEach(() => { - context = dsMockUtils.getContextInstance(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - describe('exists', () => { - it('should return true', () => { - const portfolio = new DefaultPortfolio({ did: 'someDid' }, context); - - return expect(portfolio.exists()).resolves.toBe(true); - }); - }); -}); diff --git a/src/api/entities/__tests__/DefaultTrustedClaimIssuer.ts b/src/api/entities/__tests__/DefaultTrustedClaimIssuer.ts deleted file mode 100644 index 83f73f42b6..0000000000 --- a/src/api/entities/__tests__/DefaultTrustedClaimIssuer.ts +++ /dev/null @@ -1,187 +0,0 @@ -import { - PolymeshPrimitivesConditionTrustedIssuer, - PolymeshPrimitivesTicker, -} from '@polkadot/types/lookup'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { Context, DefaultTrustedClaimIssuer, Identity } from '~/internal'; -import { trustedClaimIssuerQuery } from '~/middleware/queries'; -import { dsMockUtils, entityMockUtils } from '~/testUtils/mocks'; -import { ClaimType } from '~/types'; -import * as utilsConversionModule from '~/utils/conversion'; - -describe('DefaultTrustedClaimIssuer class', () => { - let context: Context; - - beforeAll(() => { - dsMockUtils.initMocks(); - entityMockUtils.initMocks(); - }); - - beforeEach(() => { - context = dsMockUtils.getContextInstance(); - }); - - afterEach(() => { - dsMockUtils.reset(); - entityMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should extend Entity', () => { - expect(DefaultTrustedClaimIssuer.prototype instanceof Identity).toBe(true); - }); - - describe('constructor', () => { - it('should assign ticker and Identity to instance', () => { - const did = 'someDid'; - const ticker = 'SOME_TICKER'; - const trustedClaimIssuer = new DefaultTrustedClaimIssuer({ did, ticker }, context); - - expect(trustedClaimIssuer.asset.ticker).toBe(ticker); - expect(trustedClaimIssuer.did).toEqual(did); - }); - }); - - describe('method: isUniqueIdentifiers', () => { - it('should return true if the object conforms to the interface', () => { - expect( - DefaultTrustedClaimIssuer.isUniqueIdentifiers({ did: 'someDid', ticker: 'symbol' }) - ).toBe(true); - expect(DefaultTrustedClaimIssuer.isUniqueIdentifiers({})).toBe(false); - expect(DefaultTrustedClaimIssuer.isUniqueIdentifiers({ did: 'someDid' })).toBe(false); - expect(DefaultTrustedClaimIssuer.isUniqueIdentifiers({ did: 1 })).toBe(false); - }); - }); - - describe('method: addedAt', () => { - const did = 'someDid'; - const ticker = 'SOME_TICKER'; - const variables = { - assetId: ticker, - issuer: did, - }; - - it('should return the event identifier object of the trusted claim issuer creation', async () => { - const blockNumber = new BigNumber(1234); - const blockDate = new Date('4/14/2020'); - const eventIdx = new BigNumber(1); - const blockHash = 'someHash'; - const fakeResult = { blockNumber, blockHash, blockDate, eventIndex: eventIdx }; - const trustedClaimIssuer = new DefaultTrustedClaimIssuer({ did, ticker }, context); - - dsMockUtils.createApolloQueryMock(trustedClaimIssuerQuery(variables), { - trustedClaimIssuers: { - nodes: [ - { - createdBlock: { - datetime: blockDate, - hash: blockHash, - blockId: blockNumber.toNumber(), - }, - eventIdx: eventIdx.toNumber(), - }, - ], - }, - }); - - const result = await trustedClaimIssuer.addedAt(); - - expect(result).toEqual(fakeResult); - }); - - it('should return null if the query result is empty', async () => { - const trustedClaimIssuer = new DefaultTrustedClaimIssuer({ did, ticker }, context); - - dsMockUtils.createApolloQueryMock(trustedClaimIssuerQuery(variables), { - trustedClaimIssuers: { - nodes: [], - }, - }); - const result = await trustedClaimIssuer.addedAt(); - expect(result).toBeNull(); - }); - }); - - describe('method: trustedFor', () => { - let ticker: string; - let rawTicker: PolymeshPrimitivesTicker; - let stringToTickerSpy: jest.SpyInstance; - let claimIssuers: PolymeshPrimitivesConditionTrustedIssuer[]; - let trustedClaimIssuerMock: jest.Mock; - - beforeAll(() => { - ticker = 'SOME_TICKER'; - rawTicker = dsMockUtils.createMockTicker(ticker); - stringToTickerSpy = jest.spyOn(utilsConversionModule, 'stringToTicker'); - claimIssuers = [ - dsMockUtils.createMockTrustedIssuer({ - issuer: dsMockUtils.createMockIdentityId('someDid'), - // eslint-disable-next-line @typescript-eslint/naming-convention - trustedFor: dsMockUtils.createMockTrustedFor('Any'), - }), - dsMockUtils.createMockTrustedIssuer({ - issuer: dsMockUtils.createMockIdentityId('otherDid'), - // eslint-disable-next-line @typescript-eslint/naming-convention - trustedFor: dsMockUtils.createMockTrustedFor({ - Specific: [dsMockUtils.createMockClaimType(ClaimType.Exempted)], - }), - }), - ]; - }); - - beforeEach(() => { - when(stringToTickerSpy).calledWith(ticker, context).mockReturnValue(rawTicker); - trustedClaimIssuerMock = dsMockUtils.createQueryMock( - 'complianceManager', - 'trustedClaimIssuer' - ); - when(trustedClaimIssuerMock).calledWith(rawTicker).mockResolvedValue(claimIssuers); - }); - - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should return the claim types for which the Claim Issuer is trusted', async () => { - let trustedClaimIssuer = new DefaultTrustedClaimIssuer({ did: 'someDid', ticker }, context); - let spy = jest.spyOn(trustedClaimIssuer, 'isEqual').mockReturnValue(true); - - let result = await trustedClaimIssuer.trustedFor(); - - expect(result).toBeNull(); - spy.mockRestore(); - - trustedClaimIssuer = new DefaultTrustedClaimIssuer({ did: 'otherDid', ticker }, context); - - spy = jest - .spyOn(trustedClaimIssuer, 'isEqual') - .mockReturnValueOnce(false) - .mockReturnValueOnce(true); - result = await trustedClaimIssuer.trustedFor(); - - expect(result).toEqual([ClaimType.Exempted]); - spy.mockRestore(); - }); - - it('should throw an error if the Identity is no longer a trusted Claim Issuer', async () => { - const did = 'randomDid'; - const trustedClaimIssuer = new DefaultTrustedClaimIssuer({ did, ticker }, context); - - let err; - try { - await trustedClaimIssuer.trustedFor(); - } catch (error) { - err = error; - } - - expect(err.message).toBe( - `The Identity with DID "${did}" is no longer a trusted issuer for "${ticker}"` - ); - }); - }); -}); diff --git a/src/api/entities/__tests__/Entity.ts b/src/api/entities/__tests__/Entity.ts deleted file mode 100644 index f8f8ab6f8f..0000000000 --- a/src/api/entities/__tests__/Entity.ts +++ /dev/null @@ -1,71 +0,0 @@ -import { when } from 'jest-when'; - -import { Context, Entity } from '~/internal'; -import * as utilsInternalModule from '~/utils/internal'; - -// eslint-disable-next-line require-jsdoc -class NonAbstract extends Entity { - // eslint-disable-next-line require-jsdoc - public toHuman(): boolean { - return true; - } - - // eslint-disable-next-line require-jsdoc - public async exists(): Promise { - return true; - } -} - -describe('Entity class', () => { - afterAll(() => { - jest.restoreAllMocks(); - }); - - const serializeSpy = jest.spyOn(utilsInternalModule, 'serialize'); - describe('method: generateUuid', () => { - it("should generate the Entity's UUID", async () => { - when(serializeSpy) - .calledWith('Entity', { - did: 'abc', - }) - .mockReturnValue('uuid'); - const result = Entity.generateUuid({ did: 'abc' }); - expect(result).toBe('uuid'); - }); - }); - - describe('method: unserialize', () => { - let unserializeSpy: jest.SpyInstance; - - beforeAll(() => { - unserializeSpy = jest.spyOn(utilsInternalModule, 'unserialize'); - }); - - it('should throw an error if the string is not related to an Entity Unique Identifier', async () => { - unserializeSpy.mockReturnValue(undefined); - expect(() => Entity.unserialize('def')).toThrow( - "The string doesn't correspond to the UUID of type Entity" - ); - }); - - it('should return an Entity Unique Identifier object', async () => { - const fakeReturn = { someIdentifier: 'abc' }; - unserializeSpy.mockReturnValue(fakeReturn); - expect(Entity.unserialize('def')).toEqual(fakeReturn); - }); - }); - - describe('method: isEqual', () => { - it('should return whether the entities are the same', () => { - when(serializeSpy).calledWith('NonAbstract', { foo: 'bar' }).mockReturnValue('first'); - when(serializeSpy).calledWith('NonAbstract', { bar: 'baz' }).mockReturnValue('second'); - - const first = new NonAbstract({ foo: 'bar' }, {} as Context); - const second = new NonAbstract({ bar: 'baz' }, {} as Context); - - expect(first.isEqual(first)).toBe(true); - expect(first.isEqual(second)).toBe(false); - expect(second.isEqual(first)).toBe(false); - }); - }); -}); diff --git a/src/api/entities/__tests__/KnownPermissionGroup.ts b/src/api/entities/__tests__/KnownPermissionGroup.ts deleted file mode 100644 index 4b4c653010..0000000000 --- a/src/api/entities/__tests__/KnownPermissionGroup.ts +++ /dev/null @@ -1,132 +0,0 @@ -import { Context, KnownPermissionGroup, PermissionGroup } from '~/internal'; -import { dsMockUtils, entityMockUtils } from '~/testUtils/mocks'; -import { PermissionGroupType } from '~/types'; - -jest.mock( - '~/api/entities/Asset/Fungible', - require('~/testUtils/mocks/entities').mockFungibleAssetModule('~/api/entities/Asset/Fungible') -); - -describe('KnownPermissionGroup class', () => { - const ticker = 'ASSET_NAME'; - - let context: Context; - - beforeAll(() => { - dsMockUtils.initMocks(); - entityMockUtils.initMocks(); - }); - - beforeEach(() => { - context = dsMockUtils.getContextInstance(); - }); - - afterEach(() => { - dsMockUtils.reset(); - entityMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should extend PermissionGroup', () => { - expect(KnownPermissionGroup.prototype instanceof PermissionGroup).toBe(true); - }); - - describe('constructor', () => { - it('should assign id to instance', () => { - const type = PermissionGroupType.Full; - const knownPermissionGroup = new KnownPermissionGroup({ type, ticker }, context); - - expect(knownPermissionGroup.asset.ticker).toBe(ticker); - expect(knownPermissionGroup.type).toBe(type); - }); - }); - - describe('method: isUniqueIdentifiers', () => { - it('should return true if the object conforms to the interface', () => { - expect( - KnownPermissionGroup.isUniqueIdentifiers({ - type: PermissionGroupType.PolymeshV1Caa, - ticker, - }) - ).toBe(true); - expect(KnownPermissionGroup.isUniqueIdentifiers({})).toBe(false); - expect(KnownPermissionGroup.isUniqueIdentifiers({ ticker })).toBe(false); - }); - }); - - describe('method: toHuman', () => { - it('should return a human readable version of the entity', () => { - entityMockUtils.configureMocks({ - fungibleAssetOptions: { - toHuman: ticker, - }, - }); - const type = PermissionGroupType.Full; - const knownPermissionGroup = new KnownPermissionGroup({ type, ticker }, context); - expect(knownPermissionGroup.toHuman()).toEqual({ - type, - ticker, - }); - }); - }); - - describe('method: getPermissions', () => { - it('should return a list of permissions and transaction groups', async () => { - let type = PermissionGroupType.ExceptMeta; - let knownPermissionGroup = new KnownPermissionGroup({ type, ticker }, context); - - let result = await knownPermissionGroup.getPermissions(); - - expect(result).toEqual({ - transactions: { values: ['externalAgents'], type: 'Exclude' }, - transactionGroups: [], - }); - - type = PermissionGroupType.PolymeshV1Caa; - knownPermissionGroup = new KnownPermissionGroup({ type, ticker }, context); - - result = await knownPermissionGroup.getPermissions(); - - expect(result).toEqual({ - transactions: { - values: ['capitalDistribution', 'corporateAction', 'corporateBallot'], - type: 'Include', - }, - transactionGroups: [], - }); - - type = PermissionGroupType.PolymeshV1Pia; - knownPermissionGroup = new KnownPermissionGroup({ type, ticker }, context); - - result = await knownPermissionGroup.getPermissions(); - - expect(result).toEqual({ - transactions: { - values: ['asset.controllerTransfer', 'asset.issue', 'asset.redeem', 'sto'], - exceptions: ['sto.invest'], - type: 'Include', - }, - transactionGroups: ['Issuance'], - }); - - type = PermissionGroupType.Full; - knownPermissionGroup = new KnownPermissionGroup({ type, ticker }, context); - - result = await knownPermissionGroup.getPermissions(); - - expect(result).toEqual({ transactions: null, transactionGroups: [] }); - }); - }); - - describe('exists', () => { - it('should return true', () => { - const type = PermissionGroupType.ExceptMeta; - const knownPermissionGroup = new KnownPermissionGroup({ type, ticker }, context); - - return expect(knownPermissionGroup.exists()).resolves.toBe(true); - }); - }); -}); diff --git a/src/api/entities/__tests__/NumberedPortfolio.ts b/src/api/entities/__tests__/NumberedPortfolio.ts deleted file mode 100644 index c14d6b3860..0000000000 --- a/src/api/entities/__tests__/NumberedPortfolio.ts +++ /dev/null @@ -1,202 +0,0 @@ -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { Context, Entity, NumberedPortfolio, PolymeshError, PolymeshTransaction } from '~/internal'; -import { portfolioQuery } from '~/middleware/queries'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { ErrorCode } from '~/types'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/Identity', - require('~/testUtils/mocks/entities').mockIdentityModule('~/api/entities/Identity') -); -jest.mock( - '~/base/Procedure', - require('~/testUtils/mocks/procedure').mockProcedureModule('~/base/Procedure') -); - -describe('NumberedPortfolio class', () => { - let context: Context; - - beforeAll(() => { - dsMockUtils.initMocks(); - entityMockUtils.initMocks(); - procedureMockUtils.initMocks(); - }); - - beforeEach(() => { - context = dsMockUtils.getContextInstance(); - }); - - afterEach(() => { - dsMockUtils.reset(); - entityMockUtils.reset(); - procedureMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - procedureMockUtils.cleanup(); - }); - - it('should extend Entity', () => { - expect(NumberedPortfolio.prototype instanceof Entity).toBe(true); - }); - - describe('constructor', () => { - it('should assign Identity and id to instance', () => { - const did = 'someDid'; - const id = new BigNumber(1); - const portfolio = new NumberedPortfolio({ did, id }, context); - - expect(portfolio.owner.did).toBe(did); - expect(portfolio.id).toEqual(id); - }); - }); - - describe('method: isUniqueIdentifiers', () => { - it('should return true if the object conforms to the interface', () => { - expect(NumberedPortfolio.isUniqueIdentifiers({ did: 'someDid', id: new BigNumber(1) })).toBe( - true - ); - expect(NumberedPortfolio.isUniqueIdentifiers({ did: 'someDid' })).toBe(false); - expect(NumberedPortfolio.isUniqueIdentifiers({})).toBe(false); - expect(NumberedPortfolio.isUniqueIdentifiers({ did: 'someDid', id: 3 })).toBe(false); - expect(NumberedPortfolio.isUniqueIdentifiers({ did: 1, id: new BigNumber(1) })).toBe(false); - }); - }); - - describe('method: modifyName', () => { - it('should prepare the procedure and return the resulting transaction', async () => { - const id = new BigNumber(1); - const did = 'someDid'; - const name = 'newName'; - const numberedPortfolio = new NumberedPortfolio({ id, did }, context); - const expectedTransaction = - 'someTransaction' as unknown as PolymeshTransaction; - - when(procedureMockUtils.getPrepareMock()) - .calledWith({ args: { id, did, name }, transformer: undefined }, context, {}) - .mockResolvedValue(expectedTransaction); - - const tx = await numberedPortfolio.modifyName({ name }); - - expect(tx).toBe(expectedTransaction); - }); - }); - - describe('method: getName', () => { - const id = new BigNumber(1); - const did = 'someDid'; - const portfolioName = 'someName'; - it('should return the name of the Portfolio', async () => { - const numberedPortfolio = new NumberedPortfolio({ id, did }, context); - const spy = jest.spyOn(numberedPortfolio, 'exists').mockResolvedValue(true); - const rawPortfolioName = dsMockUtils.createMockBytes(portfolioName); - dsMockUtils.createQueryMock('portfolio', 'portfolios', { - returnValue: dsMockUtils.createMockOption(rawPortfolioName), - }); - when(jest.spyOn(utilsConversionModule, 'bytesToString')) - .calledWith(rawPortfolioName) - .mockReturnValue(portfolioName); - - const result = await numberedPortfolio.getName(); - - expect(result).toEqual(portfolioName); - spy.mockRestore(); - }); - - it('should throw an error if the Portfolio no longer exists', () => { - dsMockUtils.createQueryMock('portfolio', 'portfolios', { - returnValue: dsMockUtils.createMockOption(), - }); - const numberedPortfolio = new NumberedPortfolio({ id, did }, context); - - const expectedError = new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: "The Portfolio doesn't exist", - }); - - return expect(numberedPortfolio.getName()).rejects.toThrow(expectedError); - }); - }); - - describe('method: createdAt', () => { - const id = new BigNumber(1); - const did = 'someDid'; - const variables = { - identityId: did, - number: id.toNumber(), - }; - - it('should return the event identifier object of the portfolio creation', async () => { - const blockNumber = new BigNumber(1234); - const blockDate = new Date('4/14/2020'); - const eventIdx = new BigNumber(1); - const blockHash = 'someHash'; - const fakeResult = { blockNumber, blockHash, blockDate, eventIndex: eventIdx }; - const numberedPortfolio = new NumberedPortfolio({ id, did }, context); - - dsMockUtils.createApolloQueryMock(portfolioQuery(variables), { - portfolios: { - nodes: [ - { - createdBlock: { - datetime: blockDate, - hash: blockHash, - blockId: blockNumber.toNumber(), - }, - eventIdx: eventIdx.toNumber(), - }, - ], - }, - }); - - const result = await numberedPortfolio.createdAt(); - - expect(result).toEqual(fakeResult); - }); - - it('should return null if the query result is empty', async () => { - const numberedPortfolio = new NumberedPortfolio({ id, did }, context); - - dsMockUtils.createApolloQueryMock(portfolioQuery(variables), { - portfolios: { - nodes: [], - }, - }); - const result = await numberedPortfolio.createdAt(); - expect(result).toBeNull(); - }); - }); - - describe('method: exists', () => { - it('should return whether the portfolio exists', async () => { - const did = 'someDid'; - const id = new BigNumber(1); - const portfolioId = new BigNumber(0); - - const portfoliosMock = dsMockUtils.createQueryMock('portfolio', 'portfolios', { - size: new BigNumber(0), - }); - - jest - .spyOn(utilsConversionModule, 'stringToIdentityId') - .mockReturnValue(dsMockUtils.createMockIdentityId(did)); - jest - .spyOn(utilsConversionModule, 'bigNumberToU64') - .mockReturnValue(dsMockUtils.createMockU64(portfolioId)); - - const numberedPortfolio = new NumberedPortfolio({ id, did }, context); - - let result = await numberedPortfolio.exists(); - expect(result).toBe(false); - - portfoliosMock.size.mockResolvedValue(dsMockUtils.createMockU64(new BigNumber(10))); - - result = await numberedPortfolio.exists(); - expect(result).toBe(true); - }); - }); -}); diff --git a/src/api/entities/__tests__/PermissionGroup.ts b/src/api/entities/__tests__/PermissionGroup.ts deleted file mode 100644 index 9473fa9eb1..0000000000 --- a/src/api/entities/__tests__/PermissionGroup.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { Entity, PermissionGroup } from '~/internal'; - -describe('PermissionGroup class', () => { - it('should extend Entity', () => { - expect(PermissionGroup.prototype instanceof Entity).toBe(true); - }); -}); diff --git a/src/api/entities/__tests__/Subsidies.ts b/src/api/entities/__tests__/Subsidies.ts deleted file mode 100644 index 675b682825..0000000000 --- a/src/api/entities/__tests__/Subsidies.ts +++ /dev/null @@ -1,140 +0,0 @@ -import { AccountId } from '@polkadot/types/interfaces'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { Subsidies } from '~/api/entities/Subsidies'; -import { Context } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { Account, SubsidyWithAllowance, UnsubCallback } from '~/types'; -import { tuple } from '~/types/utils'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/Account', - require('~/testUtils/mocks/entities').mockAccountModule('~/api/entities/Account') -); -jest.mock( - '~/api/entities/Subsidy', - require('~/testUtils/mocks/entities').mockSubsidyModule('~/api/entities/Subsidy') -); - -describe('Subsidies Class', () => { - let context: Mocked; - let address: string; - let account: Account; - let rawAccount: AccountId; - let subsidies: Subsidies; - - let stringToAccountIdSpy: jest.SpyInstance; - - beforeAll(() => { - dsMockUtils.initMocks(); - entityMockUtils.initMocks(); - procedureMockUtils.initMocks(); - }); - - beforeEach(() => { - context = dsMockUtils.getContextInstance(); - address = 'address'; - account = entityMockUtils.getAccountInstance({ address }); - subsidies = new Subsidies(account, context); - - rawAccount = dsMockUtils.createMockAccountId(address); - - stringToAccountIdSpy = jest.spyOn(utilsConversionModule, 'stringToAccountId'); - - when(stringToAccountIdSpy).calledWith(address, context).mockReturnValue(rawAccount); - }); - - afterEach(() => { - dsMockUtils.reset(); - entityMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - describe('method: getBeneficiaries', () => { - it('should return a list of Subsidy relationship along with remaining subsidized amount', async () => { - const beneficiary = 'beneficiary'; - const rawBeneficiary = dsMockUtils.createMockAccountId(beneficiary); - rawAccount.eq = jest.fn(); - when(rawAccount.eq).calledWith(rawAccount).mockReturnValue(true); - const allowance = new BigNumber(100); - const rawBalance = dsMockUtils.createMockBalance(allowance); - when(jest.spyOn(utilsConversionModule, 'balanceToBigNumber')) - .calledWith(rawBalance) - .mockReturnValue(allowance); - - dsMockUtils.createQueryMock('relayer', 'subsidies', { - entries: [ - tuple( - [rawBeneficiary], - dsMockUtils.createMockOption( - dsMockUtils.createMockSubsidy({ payingKey: rawAccount, remaining: rawBalance }) - ) - ), - tuple( - [dsMockUtils.createMockAccountId('someBeneficiary')], - dsMockUtils.createMockOption( - dsMockUtils.createMockSubsidy({ - payingKey: dsMockUtils.createMockAccountId('someAccount'), - remaining: rawBalance, - }) - ) - ), - ], - }); - - const beneficiaries = await subsidies.getBeneficiaries(); - - expect(beneficiaries).toHaveLength(1); - expect(beneficiaries[0].allowance).toEqual(allowance); - expect(beneficiaries[0].subsidy.beneficiary.address).toEqual(beneficiary); - expect(beneficiaries[0].subsidy.subsidizer.address).toEqual(address); - }); - }); - - describe('method: getSubsidizer', () => { - let fakeResult: SubsidyWithAllowance; - - beforeEach(() => { - fakeResult = { - subsidy: entityMockUtils.getSubsidyInstance({ - beneficiary: address, - subsidizer: 'someSubsidizer', - }), - allowance: new BigNumber(1000), - }; - - context = dsMockUtils.getContextInstance({ - subsidy: fakeResult, - }); - }); - - it('should return the Subsidy with allowance', async () => { - const result = await subsidies.getSubsidizer(); - - expect(result).toEqual(fakeResult); - }); - - it('should allow subscription', async () => { - const unsubCallback = 'unsubCallback' as unknown as Promise; - const callback = jest.fn(); - - context.accountSubsidy.mockImplementation( - async (_, cbFunc: (balance: SubsidyWithAllowance) => void) => { - cbFunc(fakeResult); - return unsubCallback; - } - ); - - const result = await subsidies.getSubsidizer(callback); - - expect(result).toEqual(unsubCallback); - expect(callback).toBeCalledWith(fakeResult); - }); - }); -}); diff --git a/src/api/entities/common/namespaces/Authorizations.ts b/src/api/entities/common/namespaces/Authorizations.ts deleted file mode 100644 index e35f543a08..0000000000 --- a/src/api/entities/common/namespaces/Authorizations.ts +++ /dev/null @@ -1,212 +0,0 @@ -import { PolymeshPrimitivesAuthorization } from '@polkadot/types/lookup'; -import BigNumber from 'bignumber.js'; - -import { Account, AuthorizationRequest, Identity, Namespace, PolymeshError } from '~/internal'; -import { AuthorizationArgs, authorizationsQuery } from '~/middleware/queries'; -import { - Authorization as MiddlewareAuthorization, - AuthorizationStatusEnum, - AuthTypeEnum, - Query, -} from '~/middleware/types'; -import { AuthorizationType, ErrorCode, ResultSet, Signer, SignerType, SignerValue } from '~/types'; -import { Ensured, QueryArgs } from '~/types/utils'; -import { - addressToKey, - authorizationDataToAuthorization, - authorizationTypeToMeshAuthorizationType, - bigNumberToU64, - booleanToBool, - identityIdToString, - keyToAddress, - middlewareAuthorizationDataToAuthorization, - momentToDate, - signerToSignerValue, - signerValueToSignatory, - signerValueToSigner, - u64ToBigNumber, -} from '~/utils/conversion'; -import { calculateNextKey } from '~/utils/internal'; - -/** - * Handles all Authorization related functionality - */ -export class Authorizations extends Namespace { - /** - * Fetch all pending Authorization Requests for which this Signer is the target - * - * @param opts.type - fetch only authorizations of this type. Fetches all types if not passed - * @param opts.includeExpired - whether to include expired authorizations. Defaults to true - */ - public async getReceived(opts?: { - type?: AuthorizationType; - includeExpired?: boolean; - }): Promise { - const { - context, - parent, - context: { - polymeshApi: { rpc }, - }, - } = this; - - const signerValue = signerToSignerValue(parent); - const signatory = signerValueToSignatory(signerValue, context); - const rawBoolean = booleanToBool(opts?.includeExpired ?? true, context); - - let result: PolymeshPrimitivesAuthorization[]; - - if (opts?.type) { - result = await rpc.identity.getFilteredAuthorizations( - signatory, - rawBoolean, - authorizationTypeToMeshAuthorizationType(opts.type, context) - ); - } else { - result = await rpc.identity.getFilteredAuthorizations(signatory, rawBoolean); - } - - return this.createAuthorizationRequests(result.map(auth => ({ auth, target: signerValue }))); - } - - /** - * Retrieve a single Authorization Request targeting this Signer by its ID - * - * @throws if there is no Authorization Request with the passed ID targeting this Signer - */ - public async getOne(args: { id: BigNumber }): Promise { - const { - context, - parent, - context: { - polymeshApi: { query }, - }, - } = this; - const { id } = args; - - const signerValue = signerToSignerValue(parent); - const signatory = signerValueToSignatory(signerValue, context); - const rawId = bigNumberToU64(id, context); - - const auth = await query.identity.authorizations(signatory, rawId); - - if (auth.isNone) { - throw new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: 'The Authorization Request does not exist', - }); - } - - return this.createAuthorizationRequests([{ auth: auth.unwrap(), target: signerValue }])[0]; - } - - /** - * @hidden - * - * Create an array of AuthorizationRequests from an array of on-chain Authorizations - */ - protected createAuthorizationRequests( - auths: { auth: PolymeshPrimitivesAuthorization; target: SignerValue }[] - ): AuthorizationRequest[] { - const { context } = this; - - return auths - .map(auth => { - const { - auth: { expiry, authId, authorizationData: data, authorizedBy: issuer }, - target: rawTarget, - } = auth; - - const target = signerValueToSigner(rawTarget, context); - - return { - authId: u64ToBigNumber(authId), - expiry: expiry.isSome ? momentToDate(expiry.unwrap()) : null, - data: authorizationDataToAuthorization(data, context), - target, - issuer: new Identity({ did: identityIdToString(issuer) }, context), - }; - }) - .filter(({ expiry }) => expiry === null || expiry > new Date()) - .map(args => { - return new AuthorizationRequest(args, context); - }); - } - - /** - * Fetch all historical Authorization Requests for which this Signer is the target - * - * @param opts.type - fetch only authorizations of this type. Fetches all types if not passed - * @param opts.status - fetch only authorizations with this status. Fetches all statuses if not passed - * @param opts.size - page size - * @param opts.start - page offset - * - * @note supports pagination - * @note uses the middlewareV2 - */ - public async getHistoricalAuthorizations( - opts: { - status?: AuthorizationStatusEnum; - type?: AuthTypeEnum; - size?: BigNumber; - start?: BigNumber; - } = {} - ): Promise> { - const { context, parent } = this; - - const signerValue = signerToSignerValue(parent); - - const { status, type, start, size } = opts; - - const filters: QueryArgs = { type, status }; - if (signerValue.type === SignerType.Identity) { - filters.toId = signerValue.value; - } else { - filters.toKey = addressToKey(signerValue.value, context); - } - - const { - data: { - authorizations: { totalCount, nodes: authorizationResult }, - }, - } = await context.queryMiddleware>( - authorizationsQuery(filters, size, start) - ); - - const data = authorizationResult.map(middlewareAuthorization => { - const { - id, - type: authType, - data: authData, - fromId, - toId, - toKey, - expiry, - } = middlewareAuthorization; - - return new AuthorizationRequest( - { - authId: new BigNumber(id), - expiry: expiry ? new Date(expiry) : null, - data: middlewareAuthorizationDataToAuthorization(context, authType, authData), - target: toId - ? new Identity({ did: toId }, context) - : // eslint-disable-next-line @typescript-eslint/no-non-null-assertion - new Account({ address: keyToAddress(toKey!, context) }, context), - issuer: new Identity({ did: fromId }, context), - }, - context - ); - }); - - const count = new BigNumber(totalCount); - - const next = calculateNextKey(count, data.length, start); - - return { - data, - next, - count, - }; - } -} diff --git a/src/api/entities/common/namespaces/__tests__/Authorizations.ts b/src/api/entities/common/namespaces/__tests__/Authorizations.ts deleted file mode 100644 index 47601954fe..0000000000 --- a/src/api/entities/common/namespaces/__tests__/Authorizations.ts +++ /dev/null @@ -1,314 +0,0 @@ -import { bool } from '@polkadot/types'; -import { PolymeshPrimitivesSecondaryKeySignatory } from '@polkadot/types/lookup'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { Context, Namespace } from '~/internal'; -import { authorizationsQuery } from '~/middleware/queries'; -import { AuthorizationStatusEnum, AuthTypeEnum } from '~/middleware/types'; -import { AuthorizationType as MeshAuthorizationType } from '~/polkadot/polymesh'; -import { dsMockUtils, entityMockUtils } from '~/testUtils/mocks'; -import { AuthorizationType, Identity, SignerValue } from '~/types'; -import { DUMMY_ACCOUNT_ID } from '~/utils/constants'; -import * as utilsConversionModule from '~/utils/conversion'; - -import { Authorizations } from '../Authorizations'; - -jest.mock( - '~/api/entities/Identity', - require('~/testUtils/mocks/entities').mockIdentityModule('~/api/entities/Identity') -); -jest.mock( - '~/api/entities/AuthorizationRequest', - require('~/testUtils/mocks/entities').mockAuthorizationRequestModule( - '~/api/entities/AuthorizationRequest' - ) -); - -describe('Authorizations class', () => { - beforeAll(() => { - entityMockUtils.initMocks(); - dsMockUtils.initMocks(); - }); - - afterEach(() => { - entityMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should extend namespace', () => { - expect(Authorizations.prototype instanceof Namespace).toBe(true); - }); - - describe('method: getReceived', () => { - let signerValueToSignatorySpy: jest.SpyInstance< - PolymeshPrimitivesSecondaryKeySignatory, - [SignerValue, Context] - >; - let booleanToBoolSpy: jest.SpyInstance; - let authorizationTypeToMeshAuthorizationTypeSpy: jest.SpyInstance< - MeshAuthorizationType, - [AuthorizationType, Context] - >; - - afterAll(() => { - jest.restoreAllMocks(); - }); - - beforeAll(() => { - signerValueToSignatorySpy = jest.spyOn(utilsConversionModule, 'signerValueToSignatory'); - booleanToBoolSpy = jest.spyOn(utilsConversionModule, 'booleanToBool'); - authorizationTypeToMeshAuthorizationTypeSpy = jest.spyOn( - utilsConversionModule, - 'authorizationTypeToMeshAuthorizationType' - ); - }); - - it('should retrieve all pending authorizations received by the Identity and filter out expired ones', async () => { - const did = 'someDid'; - const filter = AuthorizationType.RotatePrimaryKey; - const context = dsMockUtils.getContextInstance({ did }); - const identity = entityMockUtils.getIdentityInstance({ did }); - const authsNamespace = new Authorizations(identity, context); - const rawSignatory = dsMockUtils.createMockSignatory(); - const rawAuthorizationType = dsMockUtils.createMockAuthorizationType(filter); - - const authParams = [ - { - authId: new BigNumber(1), - expiry: null, - data: { type: AuthorizationType.TransferAssetOwnership, value: 'myTicker' }, - target: identity, - issuer: entityMockUtils.getIdentityInstance({ did: 'alice' }), - } as const, - { - authId: new BigNumber(2), - expiry: new Date('10/14/3040'), - data: { type: AuthorizationType.TransferAssetOwnership, value: 'otherTicker' }, - target: identity, - issuer: entityMockUtils.getIdentityInstance({ did: 'bob' }), - } as const, - ]; - - when(signerValueToSignatorySpy).mockReturnValue(rawSignatory); - when(booleanToBoolSpy) - .calledWith(true, context) - .mockReturnValue(dsMockUtils.createMockBool(true)); - when(booleanToBoolSpy) - .calledWith(false, context) - .mockReturnValue(dsMockUtils.createMockBool(false)); - when(authorizationTypeToMeshAuthorizationTypeSpy) - .calledWith(filter, context) - .mockReturnValue(rawAuthorizationType); - - const fakeRpcAuthorizations = authParams.map(({ authId, expiry, issuer, data }) => - dsMockUtils.createMockAuthorization({ - authId: dsMockUtils.createMockU64(authId), - expiry: dsMockUtils.createMockOption( - expiry ? dsMockUtils.createMockMoment(new BigNumber(expiry.getTime())) : expiry - ), - authorizationData: dsMockUtils.createMockAuthorizationData({ - TransferAssetOwnership: dsMockUtils.createMockTicker(data.value), - }), - authorizedBy: dsMockUtils.createMockIdentityId(issuer.did), - }) - ); - - dsMockUtils - .createRpcMock('identity', 'getFilteredAuthorizations') - .mockResolvedValue(fakeRpcAuthorizations); - - const expectedAuthorizations = authParams.map(({ authId, target, issuer, expiry, data }) => - entityMockUtils.getAuthorizationRequestInstance({ - authId, - issuer, - target, - expiry, - data, - }) - ); - - let result = await authsNamespace.getReceived(); - - expect(JSON.stringify(result)).toBe(JSON.stringify(expectedAuthorizations)); - - result = await authsNamespace.getReceived({ - type: AuthorizationType.RotatePrimaryKey, - includeExpired: false, - }); - - expect(JSON.stringify(result)).toBe(JSON.stringify(expectedAuthorizations)); - }); - }); - - describe('method: getOne', () => { - afterAll(() => { - jest.restoreAllMocks(); - }); - - beforeAll(() => { - jest.spyOn(utilsConversionModule, 'signerValueToSignatory').mockImplementation(); - jest.spyOn(utilsConversionModule, 'bigNumberToU64').mockImplementation(); - }); - - it('should return the requested Authorization Request', async () => { - const did = 'someDid'; - const issuerDid = 'alice'; - const context = dsMockUtils.getContextInstance({ did }); - const identity = entityMockUtils.getIdentityInstance({ did }); - const authsNamespace = new Authorizations(identity, context); - const id = new BigNumber(1); - - const authId = new BigNumber(1); - const data = { type: AuthorizationType.TransferAssetOwnership, value: 'myTicker' } as const; - - dsMockUtils.createQueryMock('identity', 'authorizations', { - returnValue: dsMockUtils.createMockOption( - dsMockUtils.createMockAuthorization({ - authId: dsMockUtils.createMockU64(authId), - authorizationData: dsMockUtils.createMockAuthorizationData({ - TransferAssetOwnership: dsMockUtils.createMockTicker(data.value), - }), - expiry: dsMockUtils.createMockOption(), - authorizedBy: dsMockUtils.createMockIdentityId(issuerDid), - }) - ), - }); - - const result = await authsNamespace.getOne({ id }); - - expect(result.authId).toEqual(authId); - expect(result.expiry).toBeNull(); - expect(result.data).toEqual(data); - expect((result.target as Identity).did).toEqual(did); - expect(result.issuer.did).toEqual(issuerDid); - }); - - it('should throw an error if the Authorization Request does not exist', async () => { - const did = 'someDid'; - const context = dsMockUtils.getContextInstance({ did }); - const identity = entityMockUtils.getIdentityInstance({ did }); - const authsNamespace = new Authorizations(identity, context); - const id = new BigNumber(1); - - dsMockUtils.createQueryMock('identity', 'authorizations', { - returnValue: dsMockUtils.createMockOption(), - }); - - return expect(authsNamespace.getOne({ id })).rejects.toThrow( - 'The Authorization Request does not exist' - ); - }); - }); - - describe('method: getHistoricalAuthorizations', () => { - it('should retrieve all historical authorizations with given filters', async () => { - const did = 'someDid'; - const context = dsMockUtils.getContextInstance({ did }); - const identity = entityMockUtils.getIdentityInstance({ did }); - const authsNamespace = new Authorizations(identity, context); - - const authParams = [ - { - authId: new BigNumber(1), - expiry: null, - data: { type: AuthorizationType.TransferAssetOwnership, value: 'myTicker' }, - target: identity, - issuer: entityMockUtils.getIdentityInstance({ did: 'alice' }), - } as const, - { - authId: new BigNumber(2), - expiry: new Date('10/14/3040'), - data: { type: AuthorizationType.TransferAssetOwnership, value: 'otherTicker' }, - target: identity, - issuer: entityMockUtils.getIdentityInstance({ did: 'bob' }), - } as const, - ]; - - const fakeAuths = authParams.map(({ authId, expiry, issuer, data }) => ({ - id: authId, - expiry, - type: data.type, - data: data.value, - fromId: issuer.did, - toId: did, - })); - - dsMockUtils.createApolloQueryMock(authorizationsQuery({ toId: did }), { - authorizations: { - nodes: fakeAuths, - totalCount: new BigNumber(10), - }, - }); - - const expectedAuthorizations = authParams.map(({ authId, target, issuer, expiry, data }) => - entityMockUtils.getAuthorizationRequestInstance({ - authId, - issuer, - target, - expiry, - data, - }) - ); - - let result = await authsNamespace.getHistoricalAuthorizations(); - - expect(JSON.stringify(result.data)).toBe(JSON.stringify(expectedAuthorizations)); - expect(result.next).toEqual(new BigNumber(2)); - expect(result.count).toEqual(new BigNumber(10)); - - const address = '0xd43593c715fdd31c61141abd04a99fd6822c8558854ccde39a5684e7a56da27d'; - const account = entityMockUtils.getAccountInstance({ address: DUMMY_ACCOUNT_ID }); - const accountAuthsNamespace = new Authorizations(account, context); - - const accountAuth = { - id: new BigNumber(3), - expiry: null, - type: AuthorizationType.RotatePrimaryKey, - data: null, - toKey: address, - fromId: did, - }; - dsMockUtils.createApolloQueryMock( - authorizationsQuery( - { - type: AuthTypeEnum.RotatePrimaryKey, - status: AuthorizationStatusEnum.Consumed, - toKey: address, - }, - new BigNumber(10), - new BigNumber(3) - ), - { - authorizations: { - nodes: [accountAuth], - totalCount: new BigNumber(4), - }, - } - ); - - result = await accountAuthsNamespace.getHistoricalAuthorizations({ - type: AuthTypeEnum.RotatePrimaryKey, - status: AuthorizationStatusEnum.Consumed, - start: new BigNumber(3), - size: new BigNumber(10), - }); - - expect(result.data).toEqual([ - expect.objectContaining({ - authId: accountAuth.id, - issuer: expect.objectContaining({ did }), - target: expect.objectContaining({ address: DUMMY_ACCOUNT_ID }), - expiry: null, - data: { type: AuthorizationType.RotatePrimaryKey }, - }), - ]); - expect(result.next).toBeNull(); - expect(result.count).toEqual(new BigNumber(4)); - }); - }); -}); diff --git a/src/api/entities/confidential/types.ts b/src/api/entities/confidential/types.ts deleted file mode 100644 index 991901b276..0000000000 --- a/src/api/entities/confidential/types.ts +++ /dev/null @@ -1,3 +0,0 @@ -export * from './ConfidentialAsset/types'; -export * from './ConfidentialTransaction/types'; -export * from './ConfidentialAccount/types'; diff --git a/src/api/entities/types.ts b/src/api/entities/types.ts index a06c7b7903..59f7ea9ab8 100644 --- a/src/api/entities/types.ts +++ b/src/api/entities/types.ts @@ -1,72 +1,15 @@ import { - Account as AccountClass, - AuthorizationRequest as AuthorizationRequestClass, - Checkpoint as CheckpointClass, - CheckpointSchedule as CheckpointScheduleClass, - ChildIdentity as ChildIdentityClass, ConfidentialAccount as ConfidentialAccountClass, ConfidentialAsset as ConfidentialAssetClass, ConfidentialTransaction as ConfidentialTransactionClass, ConfidentialVenue as ConfidentialVenueClass, - CorporateAction as CorporateActionClass, - CustomPermissionGroup as CustomPermissionGroupClass, - DefaultPortfolio as DefaultPortfolioClass, - DefaultTrustedClaimIssuer as DefaultTrustedClaimIssuerClass, - DividendDistribution as DividendDistributionClass, - FungibleAsset as FungibleAssetClass, - Identity as IdentityClass, - Instruction as InstructionClass, - KnownPermissionGroup as KnownPermissionGroupClass, - MetadataEntry as MetadataEntryClass, - MultiSig as MultiSigClass, - Nft as NftClass, - NftCollection as NftCollectionClass, - NumberedPortfolio as NumberedPortfolioClass, - Offering as OfferingClass, - Subsidy as SubsidyClass, - TickerReservation as TickerReservationClass, - Venue as VenueClass, } from '~/internal'; -export type Account = AccountClass; -export type MultiSig = MultiSigClass; -export type AuthorizationRequest = AuthorizationRequestClass; -export type Checkpoint = CheckpointClass; -export type CheckpointSchedule = CheckpointScheduleClass; -export type CorporateAction = CorporateActionClass; -export type CustomPermissionGroup = CustomPermissionGroupClass; -export type DefaultPortfolio = DefaultPortfolioClass; -export type DefaultTrustedClaimIssuer = DefaultTrustedClaimIssuerClass; -export type DividendDistribution = DividendDistributionClass; -export type Identity = IdentityClass; -export type ChildIdentity = ChildIdentityClass; -export type Instruction = InstructionClass; -export type KnownPermissionGroup = KnownPermissionGroupClass; -export type NumberedPortfolio = NumberedPortfolioClass; export type ConfidentialAccount = ConfidentialAccountClass; export type ConfidentialAsset = ConfidentialAssetClass; export type ConfidentialVenue = ConfidentialVenueClass; export type ConfidentialTransaction = ConfidentialTransactionClass; -export type FungibleAsset = FungibleAssetClass; -export type Nft = NftClass; -export type NftCollection = NftCollectionClass; -export type MetadataEntry = MetadataEntryClass; -export type Offering = OfferingClass; -export type TickerReservation = TickerReservationClass; -export type Venue = VenueClass; -export type Subsidy = SubsidyClass; -export * from './CheckpointSchedule/types'; -export * from './CorporateActionBase/types'; -export * from './DividendDistribution/types'; -export * from './Instruction/types'; -export * from './Portfolio/types'; -export * from './Asset/types'; -export * from './Offering/types'; -export * from './TickerReservation/types'; -export * from './Venue/types'; -export * from './Subsidy/types'; -export * from './Account/MultiSig/types'; -export * from './MultiSigProposal/types'; -export * from './MetadataEntry/types'; -export * from './confidential/types'; +export * from './ConfidentialAsset/types'; +export * from './ConfidentialTransaction/types'; +export * from './ConfidentialAccount/types'; diff --git a/src/api/procedures/__tests__/acceptPrimaryKeyRotation.ts b/src/api/procedures/__tests__/acceptPrimaryKeyRotation.ts deleted file mode 100644 index 26d2e59c33..0000000000 --- a/src/api/procedures/__tests__/acceptPrimaryKeyRotation.ts +++ /dev/null @@ -1,207 +0,0 @@ -import { u64 } from '@polkadot/types'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { - getAuthorization, - prepareAcceptPrimaryKeyRotation, - prepareStorage, - Storage, -} from '~/api/procedures/acceptPrimaryKeyRotation'; -import * as procedureUtilsModule from '~/api/procedures/utils'; -import { AuthorizationRequest, Context } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { AcceptPrimaryKeyRotationParams, Account, AuthorizationType } from '~/types'; -import * as utilsConversionModule from '~/utils/conversion'; - -describe('acceptPrimaryKeyRotation procedure', () => { - let mockContext: Mocked; - let bigNumberToU64Spy: jest.SpyInstance; - let ownerAuthId: BigNumber; - let rawOwnerAuthId: u64; - let cddAuthId: BigNumber; - let rawCddAuthId: u64; - let ownerAuthRequest: AuthorizationRequest; - let cddAuthRequest: AuthorizationRequest; - let targetAddress: string; - let targetAccount: Account; - let getOneMock: jest.Mock; - - beforeAll(() => { - targetAddress = 'someAddress'; - dsMockUtils.initMocks({ - contextOptions: { - signingAddress: targetAddress, - }, - }); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - - bigNumberToU64Spy = jest.spyOn(utilsConversionModule, 'bigNumberToU64'); - jest.spyOn(procedureUtilsModule, 'assertAuthorizationRequestValid').mockImplementation(); - - ownerAuthId = new BigNumber(1); - rawOwnerAuthId = dsMockUtils.createMockU64(ownerAuthId); - - cddAuthId = new BigNumber(2); - rawCddAuthId = dsMockUtils.createMockU64(cddAuthId); - - getOneMock = jest.fn(); - }); - - beforeEach(() => { - mockContext = dsMockUtils.getContextInstance(); - when(bigNumberToU64Spy).calledWith(ownerAuthId, mockContext).mockReturnValue(rawOwnerAuthId); - when(bigNumberToU64Spy).calledWith(cddAuthId, mockContext).mockReturnValue(rawCddAuthId); - mockContext.getSigningAccount().authorizations.getOne = getOneMock; - targetAccount = entityMockUtils.getAccountInstance({ - address: targetAddress, - authorizationsGetOne: getOneMock, - }); - - ownerAuthRequest = entityMockUtils.getAuthorizationRequestInstance({ - authId: ownerAuthId, - target: targetAccount, - }); - cddAuthRequest = entityMockUtils.getAuthorizationRequestInstance({ - authId: cddAuthId, - issuer: entityMockUtils.getIdentityInstance(), - target: targetAccount, - }); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it('should return an acceptPrimaryKey transaction spec', async () => { - const transaction = dsMockUtils.createTxMock('identity', 'acceptPrimaryKey'); - - let proc = procedureMockUtils.getInstance( - mockContext, - { - calledByTarget: true, - ownerAuthRequest, - } - ); - - let result = await prepareAcceptPrimaryKeyRotation.call(proc); - - expect(result).toEqual({ - transaction, - paidForBy: ownerAuthRequest.issuer, - args: [rawOwnerAuthId, null], - resolver: undefined, - }); - - proc = procedureMockUtils.getInstance( - mockContext, - { - calledByTarget: true, - ownerAuthRequest, - cddAuthRequest, - } - ); - - result = await prepareAcceptPrimaryKeyRotation.call(proc); - - expect(result).toEqual({ - transaction, - paidForBy: ownerAuthRequest.issuer, - args: [rawOwnerAuthId, rawCddAuthId], - resolver: undefined, - }); - }); - - describe('prepareStorage', () => { - it('should return whether the target is the caller, owner AuthorizationRequest and the CDD AuthorizationRequest (if any)', async () => { - dsMockUtils.getContextInstance({ - signingAddress: targetAddress, - signingAccountIsEqual: true, - }); - - mockContext.getSigningAccount().authorizations.getOne = getOneMock; - - when(getOneMock).calledWith({ id: ownerAuthId }).mockResolvedValue(ownerAuthRequest); - - when(getOneMock).calledWith({ id: cddAuthId }).mockResolvedValue(cddAuthRequest); - - let proc = procedureMockUtils.getInstance( - mockContext - ); - let boundFunc = prepareStorage.bind(proc); - - let result = await boundFunc({ - ownerAuth: ownerAuthId, - cddAuth: cddAuthId, - }); - - expect(result).toEqual({ - calledByTarget: true, - ownerAuthRequest, - cddAuthRequest, - }); - - proc = procedureMockUtils.getInstance( - mockContext - ); - - boundFunc = prepareStorage.bind(proc); - - dsMockUtils.getContextInstance({ - signingAddress: 'someOtherAddress', - signingAccountIsEqual: false, - }); - - result = await boundFunc({ - ownerAuth: ownerAuthRequest, - }); - - expect(result).toEqual({ - calledByTarget: false, - ownerAuthRequest, - cddAuthRequest: undefined, - }); - }); - }); - - describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', async () => { - let proc = procedureMockUtils.getInstance( - mockContext, - { - calledByTarget: false, - ownerAuthRequest: entityMockUtils.getAuthorizationRequestInstance(), - } - ); - - let boundFunc = getAuthorization.bind(proc); - let result = await boundFunc(); - expect(result).toEqual({ - roles: `"${AuthorizationType.RotatePrimaryKey}" Authorization Requests must be accepted by the target Account`, - }); - - proc = procedureMockUtils.getInstance( - mockContext, - { - calledByTarget: true, - ownerAuthRequest: entityMockUtils.getAuthorizationRequestInstance(), - } - ); - boundFunc = getAuthorization.bind(proc); - - result = await boundFunc(); - expect(result).toEqual({ - roles: true, - }); - }); - }); -}); diff --git a/src/api/procedures/__tests__/addAssetMediators.ts b/src/api/procedures/__tests__/addAssetMediators.ts deleted file mode 100644 index 766563d942..0000000000 --- a/src/api/procedures/__tests__/addAssetMediators.ts +++ /dev/null @@ -1,145 +0,0 @@ -import { PolymeshPrimitivesIdentityId, PolymeshPrimitivesTicker } from '@polkadot/types/lookup'; -import { BTreeSet } from '@polkadot/types-codec'; -import { when } from 'jest-when'; - -import { - getAuthorization, - Params, - prepareAddAssetMediators, -} from '~/api/procedures/addAssetMediators'; -import { BaseAsset, Context, Identity, PolymeshError } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { ErrorCode, TxTags } from '~/types'; -import { PolymeshTx } from '~/types/internal'; -import { MAX_ASSET_MEDIATORS } from '~/utils/constants'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/Asset/Base', - require('~/testUtils/mocks/entities').mockBaseAssetModule('~/api/entities/Asset/Base') -); - -describe('addAssetRequirement procedure', () => { - let mockContext: Mocked; - let identitiesToSetSpy: jest.SpyInstance; - let asset: BaseAsset; - let ticker: string; - let rawTicker: PolymeshPrimitivesTicker; - let currentMediator: Identity; - let newMediator: Identity; - let rawNewMediatorDid: PolymeshPrimitivesIdentityId; - let stringToTickerSpy: jest.SpyInstance; - let mockNewMediators: BTreeSet; - - beforeAll(() => { - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - stringToTickerSpy = jest.spyOn(utilsConversionModule, 'stringToTicker'); - identitiesToSetSpy = jest.spyOn(utilsConversionModule, 'identitiesToBtreeSet'); - ticker = 'TICKER'; - rawTicker = dsMockUtils.createMockTicker(ticker); - currentMediator = entityMockUtils.getIdentityInstance({ did: 'currentDid' }); - newMediator = entityMockUtils.getIdentityInstance({ did: 'newDid' }); - rawNewMediatorDid = dsMockUtils.createMockIdentityId(newMediator.did); - asset = entityMockUtils.getBaseAssetInstance({ - ticker, - getRequiredMediators: [currentMediator], - }); - mockNewMediators = dsMockUtils.createMockBTreeSet([ - rawNewMediatorDid, - ]); - }); - - let addMandatoryMediatorsTransaction: PolymeshTx< - [PolymeshPrimitivesTicker, BTreeSet] - >; - - beforeEach(() => { - addMandatoryMediatorsTransaction = dsMockUtils.createTxMock('asset', 'addMandatoryMediators'); - - mockContext = dsMockUtils.getContextInstance(); - - when(stringToTickerSpy).calledWith(ticker, mockContext).mockReturnValue(rawTicker); - when(identitiesToSetSpy) - .calledWith( - expect.arrayContaining([expect.objectContaining({ did: newMediator.did })]), - mockContext - ) - .mockReturnValue(mockNewMediators); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it('should throw an error if a supplied mediator is already required for the Asset', () => { - const proc = procedureMockUtils.getInstance(mockContext); - - const expectedError = new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'One of the specified mediators is already set', - }); - - return expect( - prepareAddAssetMediators.call(proc, { asset, mediators: [currentMediator] }) - ).rejects.toThrow(expectedError); - }); - - it('should throw an error if new mediators exceed the max mediators', () => { - const mediators = new Array(MAX_ASSET_MEDIATORS).fill(newMediator); - - const proc = procedureMockUtils.getInstance(mockContext); - - const expectedError = new PolymeshError({ - code: ErrorCode.ValidationError, - message: `At most ${MAX_ASSET_MEDIATORS} are allowed`, - }); - - return expect(prepareAddAssetMediators.call(proc, { asset, mediators })).rejects.toThrow( - expectedError - ); - }); - - it('should return an add required mediators transaction spec', async () => { - const proc = procedureMockUtils.getInstance(mockContext); - - const result = await prepareAddAssetMediators.call(proc, { - asset, - mediators: [newMediator], - }); - - expect(result).toEqual({ - transaction: addMandatoryMediatorsTransaction, - args: [rawTicker, mockNewMediators], - resolver: undefined, - }); - }); - - describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', () => { - const proc = procedureMockUtils.getInstance(mockContext); - const boundFunc = getAuthorization.bind(proc); - const params = { - asset, - mediators: [], - } as Params; - - expect(boundFunc(params)).toEqual({ - permissions: { - transactions: [TxTags.asset.AddMandatoryMediators], - assets: [expect.objectContaining({ ticker })], - portfolios: [], - }, - }); - }); - }); -}); diff --git a/src/api/procedures/__tests__/addAssetRequirement.ts b/src/api/procedures/__tests__/addAssetRequirement.ts deleted file mode 100644 index f5f66ba864..0000000000 --- a/src/api/procedures/__tests__/addAssetRequirement.ts +++ /dev/null @@ -1,161 +0,0 @@ -import { - PolymeshPrimitivesComplianceManagerComplianceRequirement, - PolymeshPrimitivesCondition, - PolymeshPrimitivesTicker, -} from '@polkadot/types/lookup'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { - getAuthorization, - Params, - prepareAddAssetRequirement, -} from '~/api/procedures/addAssetRequirement'; -import { Context } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { Condition, ConditionTarget, ConditionType, InputRequirement, TxTags } from '~/types'; -import { PolymeshTx } from '~/types/internal'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/Asset/Base', - require('~/testUtils/mocks/entities').mockBaseAssetModule('~/api/entities/Asset/Base') -); - -describe('addAssetRequirement procedure', () => { - let mockContext: Mocked; - let stringToTickerSpy: jest.SpyInstance; - let requirementToComplianceRequirementSpy: jest.SpyInstance< - PolymeshPrimitivesComplianceManagerComplianceRequirement, - [InputRequirement, Context] - >; - let ticker: string; - let conditions: Condition[]; - let rawTicker: PolymeshPrimitivesTicker; - let args: Params; - - beforeAll(() => { - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - stringToTickerSpy = jest.spyOn(utilsConversionModule, 'stringToTicker'); - requirementToComplianceRequirementSpy = jest.spyOn( - utilsConversionModule, - 'requirementToComplianceRequirement' - ); - ticker = 'TICKER'; - conditions = [ - { - type: ConditionType.IsIdentity, - identity: entityMockUtils.getIdentityInstance(), - target: ConditionTarget.Both, - }, - { - type: ConditionType.IsExternalAgent, - target: ConditionTarget.Both, - }, - ]; - - args = { - ticker, - conditions, - }; - }); - - let addComplianceRequirementTransaction: PolymeshTx<[PolymeshPrimitivesTicker]>; - - beforeEach(() => { - dsMockUtils.setConstMock('complianceManager', 'maxConditionComplexity', { - returnValue: dsMockUtils.createMockU32(new BigNumber(50)), - }); - - addComplianceRequirementTransaction = dsMockUtils.createTxMock( - 'complianceManager', - 'addComplianceRequirement' - ); - - mockContext = dsMockUtils.getContextInstance(); - - when(stringToTickerSpy).calledWith(ticker, mockContext).mockReturnValue(rawTicker); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it('should throw an error if the supplied requirement is already a part of the Asset', () => { - entityMockUtils.configureMocks({ - baseAssetOptions: { - complianceRequirementsGet: { - requirements: [ - { - conditions, - id: new BigNumber(1), - }, - ], - defaultTrustedClaimIssuers: [], - }, - }, - }); - const proc = procedureMockUtils.getInstance(mockContext); - - return expect(prepareAddAssetRequirement.call(proc, args)).rejects.toThrow( - 'There already exists a Requirement with the same conditions for this Asset' - ); - }); - - it('should return an add compliance requirement transaction spec', async () => { - const fakeConditions = ['condition'] as unknown as Condition[]; - const fakeSenderConditions = 'senderConditions' as unknown as PolymeshPrimitivesCondition[]; - const fakeReceiverConditions = 'receiverConditions' as unknown as PolymeshPrimitivesCondition[]; - - when(requirementToComplianceRequirementSpy) - .calledWith({ conditions: fakeConditions, id: new BigNumber(1) }, mockContext) - .mockReturnValue( - dsMockUtils.createMockComplianceRequirement({ - senderConditions: fakeSenderConditions, - receiverConditions: fakeReceiverConditions, - id: dsMockUtils.createMockU32(new BigNumber(1)), - }) - ); - - const proc = procedureMockUtils.getInstance(mockContext); - - const result = await prepareAddAssetRequirement.call(proc, { - ...args, - conditions: fakeConditions, - }); - - expect(result).toEqual({ - transaction: addComplianceRequirementTransaction, - args: [rawTicker, fakeSenderConditions, fakeReceiverConditions], - resolver: undefined, - }); - }); - - describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', () => { - const proc = procedureMockUtils.getInstance(mockContext); - const boundFunc = getAuthorization.bind(proc); - const params = { - ticker, - } as Params; - - expect(boundFunc(params)).toEqual({ - permissions: { - transactions: [TxTags.complianceManager.AddComplianceRequirement], - assets: [expect.objectContaining({ ticker })], - portfolios: [], - }, - }); - }); - }); -}); diff --git a/src/api/procedures/__tests__/addAssetStat.ts b/src/api/procedures/__tests__/addAssetStat.ts deleted file mode 100644 index 53480ef80e..0000000000 --- a/src/api/procedures/__tests__/addAssetStat.ts +++ /dev/null @@ -1,279 +0,0 @@ -import { - PolymeshPrimitivesIdentityClaimClaimType, - PolymeshPrimitivesIdentityId, - PolymeshPrimitivesStatisticsStat2ndKey, - PolymeshPrimitivesStatisticsStatOpType, - PolymeshPrimitivesStatisticsStatType, - PolymeshPrimitivesStatisticsStatUpdate, - PolymeshPrimitivesTicker, - PolymeshPrimitivesTransferComplianceTransferCondition, -} from '@polkadot/types/lookup'; -import { BTreeSet } from '@polkadot/types-codec'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { getAuthorization, prepareAddAssetStat } from '~/api/procedures/addAssetStat'; -import { Context, PolymeshError } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { - AddAssetStatParams, - ClaimType, - CountryCode, - ErrorCode, - StatClaimType, - StatType, - TxTags, -} from '~/types'; -import { PolymeshTx, TickerKey } from '~/types/internal'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/Asset/Fungible', - require('~/testUtils/mocks/entities').mockFungibleAssetModule('~/api/entities/Asset/Fungible') -); - -describe('addAssetStat procedure', () => { - let mockContext: Mocked; - let stringToTickerKeySpy: jest.SpyInstance; - let ticker: string; - let count: BigNumber; - let rawTicker: PolymeshPrimitivesTicker; - let args: AddAssetStatParams; - let rawStatType: PolymeshPrimitivesStatisticsStatType; - let rawStatBtreeSet: BTreeSet; - let rawStatUpdate: PolymeshPrimitivesStatisticsStatUpdate; - let raw2ndKey: PolymeshPrimitivesStatisticsStat2ndKey; - - let setActiveAssetStatsTxMock: PolymeshTx< - [PolymeshPrimitivesTicker, PolymeshPrimitivesTransferComplianceTransferCondition] - >; - let batchUpdateAssetStatsTxMock: PolymeshTx< - [ - PolymeshPrimitivesTicker, - PolymeshPrimitivesStatisticsStatType, - BTreeSet - ] - >; - let statisticsOpTypeToStatOpTypeSpy: jest.SpyInstance< - PolymeshPrimitivesStatisticsStatType, - [ - { - op: PolymeshPrimitivesStatisticsStatOpType; - claimIssuer?: [PolymeshPrimitivesIdentityClaimClaimType, PolymeshPrimitivesIdentityId]; - }, - Context - ] - >; - let statisticStatTypesToBtreeStatTypeSpy: jest.SpyInstance< - BTreeSet, - [PolymeshPrimitivesStatisticsStatType[], Context] - >; - let statUpdatesToBtreeStatUpdateSpy: jest.SpyInstance< - BTreeSet, - [PolymeshPrimitivesStatisticsStatUpdate[], Context] - >; - let createStat2ndKeySpy: jest.SpyInstance< - PolymeshPrimitivesStatisticsStat2ndKey, - [ - type: 'NoClaimStat' | StatClaimType, - context: Context, - claimStat?: CountryCode | 'yes' | 'no' | undefined - ] - >; - let statUpdateBtreeSet: BTreeSet; - let activeAssetStatsMock: jest.Mock; - let statSpy: jest.SpyInstance; - - beforeAll(() => { - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - mockContext = dsMockUtils.getContextInstance(); - ticker = 'TICKER'; - count = new BigNumber(10); - stringToTickerKeySpy = jest.spyOn(utilsConversionModule, 'stringToTickerKey'); - createStat2ndKeySpy = jest.spyOn(utilsConversionModule, 'createStat2ndKey'); - statisticsOpTypeToStatOpTypeSpy = jest.spyOn( - utilsConversionModule, - 'statisticsOpTypeToStatType' - ); - statUpdatesToBtreeStatUpdateSpy = jest.spyOn( - utilsConversionModule, - 'statUpdatesToBtreeStatUpdate' - ); - dsMockUtils.setConstMock('statistics', 'maxTransferConditionsPerAsset', { - returnValue: dsMockUtils.createMockU32(new BigNumber(3)), - }); - statSpy = jest.spyOn(utilsConversionModule, 'meshStatToStatType'); - activeAssetStatsMock = dsMockUtils.createQueryMock('statistics', 'activeAssetStats'); - activeAssetStatsMock.mockReturnValue(dsMockUtils.createMockBTreeSet([])); - statisticStatTypesToBtreeStatTypeSpy = jest.spyOn( - utilsConversionModule, - 'statisticStatTypesToBtreeStatType' - ); - }); - - beforeEach(() => { - statSpy.mockReturnValue(StatType.Balance); - setActiveAssetStatsTxMock = dsMockUtils.createTxMock('statistics', 'setActiveAssetStats'); - batchUpdateAssetStatsTxMock = dsMockUtils.createTxMock('statistics', 'batchUpdateAssetStats'); - - rawStatType = dsMockUtils.createMockStatisticsStatType(); - rawStatBtreeSet = dsMockUtils.createMockBTreeSet([rawStatType]); - rawTicker = dsMockUtils.createMockTicker(ticker); - rawStatUpdate = dsMockUtils.createMockStatUpdate(); - statUpdateBtreeSet = dsMockUtils.createMockBTreeSet([rawStatUpdate]); - - when(createStat2ndKeySpy) - .calledWith('NoClaimStat', mockContext, undefined) - .mockReturnValue(raw2ndKey); - when(statUpdatesToBtreeStatUpdateSpy) - .calledWith([rawStatUpdate], mockContext) - .mockReturnValue(statUpdateBtreeSet); - statisticsOpTypeToStatOpTypeSpy.mockReturnValue(rawStatType); - - when(stringToTickerKeySpy) - .calledWith(ticker, mockContext) - .mockReturnValue({ Ticker: rawTicker }); - statisticStatTypesToBtreeStatTypeSpy.mockReturnValue(rawStatBtreeSet); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - jest.restoreAllMocks(); - }); - - it('should add an setAssetStats transaction to the queue', async () => { - args = { - type: StatType.Balance, - ticker, - }; - const proc = procedureMockUtils.getInstance(mockContext, {}); - - let result = await prepareAddAssetStat.call(proc, args); - - expect(result).toEqual({ - transactions: [ - { - transaction: setActiveAssetStatsTxMock, - args: [{ Ticker: rawTicker }, rawStatBtreeSet], - }, - ], - resolver: undefined, - }); - - args = { - type: StatType.Count, - ticker, - count, - }; - - jest - .spyOn(utilsConversionModule, 'countStatInputToStatUpdates') - .mockReturnValue(statUpdateBtreeSet); - result = await prepareAddAssetStat.call(proc, args); - - expect(result).toEqual({ - transactions: [ - { - transaction: setActiveAssetStatsTxMock, - args: [{ Ticker: rawTicker }, rawStatBtreeSet], - }, - { - transaction: batchUpdateAssetStatsTxMock, - args: [{ Ticker: rawTicker }, rawStatType, statUpdateBtreeSet], - }, - ], - resolver: undefined, - }); - - args = { - type: StatType.ScopedCount, - ticker, - issuer: entityMockUtils.getIdentityInstance(), - claimType: ClaimType.Accredited, - value: { - accredited: new BigNumber(1), - nonAccredited: new BigNumber(2), - }, - }; - - jest - .spyOn(utilsConversionModule, 'claimCountStatInputToStatUpdates') - .mockReturnValue(statUpdateBtreeSet); - - result = await prepareAddAssetStat.call(proc, args); - - expect(result).toEqual({ - transactions: [ - { - transaction: setActiveAssetStatsTxMock, - args: [{ Ticker: rawTicker }, rawStatBtreeSet], - }, - { - transaction: batchUpdateAssetStatsTxMock, - args: [{ Ticker: rawTicker }, rawStatType, statUpdateBtreeSet], - }, - ], - resolver: undefined, - }); - }); - - it('should throw an error if the appropriate stat is not set', () => { - const proc = procedureMockUtils.getInstance(mockContext, {}); - args = { - type: StatType.Balance, - ticker, - }; - - activeAssetStatsMock.mockReturnValue([rawStatType]); - - statSpy.mockReturnValue(StatType.Balance); - - const expectedError = new PolymeshError({ - code: ErrorCode.NoDataChange, - message: 'Stat is already enabled', - }); - - return expect(prepareAddAssetStat.call(proc, args)).rejects.toThrowError(expectedError); - }); - - describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', () => { - args = { - ticker, - count, - type: StatType.Count, - }; - - const proc = procedureMockUtils.getInstance(mockContext); - const boundFunc = getAuthorization.bind(proc); - - expect(boundFunc(args)).toEqual({ - permissions: { - assets: [expect.objectContaining({ ticker })], - transactions: [ - TxTags.statistics.SetActiveAssetStats, - TxTags.statistics.BatchUpdateAssetStats, - ], - portfolios: [], - }, - }); - expect(boundFunc({ ticker, type: StatType.Balance })).toEqual({ - permissions: { - assets: [expect.objectContaining({ ticker })], - transactions: [TxTags.statistics.SetActiveAssetStats], - portfolios: [], - }, - }); - }); - }); -}); diff --git a/src/api/procedures/__tests__/addConfidentialTransaction.ts b/src/api/procedures/__tests__/addConfidentialTransaction.ts index 7ebf696f21..f28bc8749a 100644 --- a/src/api/procedures/__tests__/addConfidentialTransaction.ts +++ b/src/api/procedures/__tests__/addConfidentialTransaction.ts @@ -9,6 +9,10 @@ import { PolymeshPrimitivesTicker, } from '@polkadot/types/lookup'; import { ISubmittableResult } from '@polkadot/types/types'; +import { ErrorCode, TickerReservationStatus } from '@polymeshassociation/polymesh-sdk/types'; +import { PolymeshTx } from '@polymeshassociation/polymesh-sdk/types/internal'; +import * as utilsPublicConversionModule from '@polymeshassociation/polymesh-sdk/utils/conversion'; +import * as utilsInternalModule from '@polymeshassociation/polymesh-sdk/utils/internal'; import BigNumber from 'bignumber.js'; import { when } from 'jest-when'; @@ -21,44 +25,38 @@ import { import { Context, PolymeshError } from '~/internal'; import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; import { Mocked } from '~/testUtils/types'; -import { - ConfidentialTransaction, - ErrorCode, - RoleType, - TickerReservationStatus, - TxTags, -} from '~/types'; -import { PolymeshTx } from '~/types/internal'; +import { ConfidentialTransaction, RoleType, TxTags } from '~/types'; import * as utilsConversionModule from '~/utils/conversion'; -import * as utilsInternalModule from '~/utils/internal'; jest.mock( - '~/api/entities/confidential/ConfidentialVenue', + '~/api/entities/ConfidentialVenue', require('~/testUtils/mocks/entities').mockConfidentialVenueModule( - '~/api/entities/confidential/ConfidentialVenue' + '~/api/entities/ConfidentialVenue' ) ); jest.mock( - '~/api/entities/confidential/ConfidentialAsset', + '~/api/entities/ConfidentialAsset', require('~/testUtils/mocks/entities').mockConfidentialAssetModule( - '~/api/entities/confidential/ConfidentialAsset' + '~/api/entities/ConfidentialAsset' ) ); jest.mock( - '~/api/entities/confidential/ConfidentialAccount', + '~/api/entities/ConfidentialAccount', require('~/testUtils/mocks/entities').mockConfidentialAccountModule( - '~/api/entities/confidential/ConfidentialAccount' + '~/api/entities/ConfidentialAccount' ) ); jest.mock( - '~/api/entities/Identity', - require('~/testUtils/mocks/entities').mockIdentityModule('~/api/entities/Identity') + '@polymeshassociation/polymesh-sdk/api/entities/Identity', + require('~/testUtils/mocks/entities').mockIdentityModule( + '@polymeshassociation/polymesh-sdk/api/entities/Identity' + ) ); -describe('addTransaction procedure', () => { +describe('addConfidentialTransaction procedure', () => { let mockContext: Mocked; let getCustodianMock: jest.Mock; let stringToTickerSpy: jest.SpyInstance; @@ -114,9 +112,9 @@ describe('addTransaction procedure', () => { procedureMockUtils.initMocks(); entityMockUtils.initMocks(); getCustodianMock = jest.fn(); - stringToTickerSpy = jest.spyOn(utilsConversionModule, 'stringToTicker'); - bigNumberToU64Spy = jest.spyOn(utilsConversionModule, 'bigNumberToU64'); - stringToInstructionMemoSpy = jest.spyOn(utilsConversionModule, 'stringToMemo'); + stringToTickerSpy = jest.spyOn(utilsPublicConversionModule, 'stringToTicker'); + bigNumberToU64Spy = jest.spyOn(utilsPublicConversionModule, 'bigNumberToU64'); + stringToInstructionMemoSpy = jest.spyOn(utilsPublicConversionModule, 'stringToMemo'); confidentialLegToMeshLegSpy = jest.spyOn(utilsConversionModule, 'confidentialLegToMeshLeg'); venueId = new BigNumber(1); @@ -373,7 +371,7 @@ describe('addTransaction procedure', () => { const expectedError = new PolymeshError({ code: ErrorCode.DataUnavailable, - message: 'The Identity does not exist', + message: 'The identity does not exists', }); const legs = Array(2).fill({ sender, diff --git a/src/api/procedures/__tests__/addInstruction.ts b/src/api/procedures/__tests__/addInstruction.ts deleted file mode 100644 index 33580af2f2..0000000000 --- a/src/api/procedures/__tests__/addInstruction.ts +++ /dev/null @@ -1,1152 +0,0 @@ -import { BTreeSet, Option, u32, u64 } from '@polkadot/types'; -import { Balance, Moment } from '@polkadot/types/interfaces'; -import { - PolymeshPrimitivesIdentityId, - PolymeshPrimitivesIdentityIdPortfolioId, - PolymeshPrimitivesMemo, - PolymeshPrimitivesNftNfTs, - PolymeshPrimitivesSettlementLeg, - PolymeshPrimitivesSettlementSettlementType, - PolymeshPrimitivesTicker, -} from '@polkadot/types/lookup'; -import { ISubmittableResult } from '@polkadot/types/types'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { - createAddInstructionResolver, - getAuthorization, - Params, - prepareAddInstruction, - prepareStorage, - Storage, -} from '~/api/procedures/addInstruction'; -import { - Context, - DefaultPortfolio, - Instruction, - NumberedPortfolio, - PolymeshError, -} from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { - ErrorCode, - InstructionEndCondition, - InstructionType, - PortfolioLike, - RoleType, - TickerReservationStatus, - TxTags, -} from '~/types'; -import { PolymeshTx } from '~/types/internal'; -import * as utilsConversionModule from '~/utils/conversion'; -import * as utilsInternalModule from '~/utils/internal'; - -jest.mock( - '~/api/entities/Venue', - require('~/testUtils/mocks/entities').mockVenueModule('~/api/entities/Venue') -); -jest.mock( - '~/api/entities/Asset/Fungible', - require('~/testUtils/mocks/entities').mockFungibleAssetModule('~/api/entities/Asset/Fungible') -); -jest.mock( - '~/api/entities/Asset/NonFungible', - require('~/testUtils/mocks/entities').mockNftCollectionModule('~/api/entities/Asset/NonFungible') -); - -describe('addInstruction procedure', () => { - let mockContext: Mocked; - let portfolioIdToMeshPortfolioIdSpy: jest.SpyInstance; - let portfolioLikeToPortfolioIdSpy: jest.SpyInstance; - let portfolioLikeToPortfolioSpy: jest.SpyInstance; - let getCustodianMock: jest.Mock; - let stringToTickerSpy: jest.SpyInstance; - let bigNumberToU64Spy: jest.SpyInstance; - let bigNumberToBalanceSpy: jest.SpyInstance< - Balance, - [BigNumber, Context, (boolean | undefined)?] - >; - let endConditionToSettlementTypeSpy: jest.SpyInstance< - PolymeshPrimitivesSettlementSettlementType, - [InstructionEndCondition, Context] - >; - let dateToMomentSpy: jest.SpyInstance; - let stringToInstructionMemoSpy: jest.SpyInstance; - let legToFungibleLegSpy: jest.SpyInstance; - let legToNonFungibleLegSpy: jest.SpyInstance; - let identityToBtreeSetSpy: jest.SpyInstance; - let venueId: BigNumber; - let amount: BigNumber; - let from: PortfolioLike; - let to: PortfolioLike; - let fromDid: string; - let toDid: string; - let mediatorDid: string; - let fromPortfolio: DefaultPortfolio | NumberedPortfolio; - let toPortfolio: DefaultPortfolio | NumberedPortfolio; - let asset: string; - let nftAsset: string; - let tradeDate: Date; - let valueDate: Date; - let endBlock: BigNumber; - let memo: string; - let args: Params; - - let rawVenueId: u64; - let rawAmount: Balance; - let rawFrom: PolymeshPrimitivesIdentityIdPortfolioId; - let rawTo: PolymeshPrimitivesIdentityIdPortfolioId; - let rawTicker: PolymeshPrimitivesTicker; - let rawNftTicker: PolymeshPrimitivesTicker; - let rawTradeDate: Moment; - let rawValueDate: Moment; - let rawEndBlock: u32; - let rawInstructionMemo: PolymeshPrimitivesMemo; - let rawAuthSettlementType: PolymeshPrimitivesSettlementSettlementType; - let rawBlockSettlementType: PolymeshPrimitivesSettlementSettlementType; - let rawManualSettlementType: PolymeshPrimitivesSettlementSettlementType; - let rawNfts: PolymeshPrimitivesNftNfTs; - let rawLeg: PolymeshPrimitivesSettlementLeg; - let rawNftLeg: PolymeshPrimitivesSettlementLeg; - let rawMediatorSet: BTreeSet; - let rawEmptyMediatorSet: BTreeSet; - - beforeAll(() => { - dsMockUtils.initMocks({ - contextOptions: { - balance: { - free: new BigNumber(500), - locked: new BigNumber(0), - total: new BigNumber(500), - }, - }, - }); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - portfolioIdToMeshPortfolioIdSpy = jest.spyOn( - utilsConversionModule, - 'portfolioIdToMeshPortfolioId' - ); - portfolioLikeToPortfolioIdSpy = jest.spyOn(utilsConversionModule, 'portfolioLikeToPortfolioId'); - portfolioLikeToPortfolioSpy = jest.spyOn(utilsConversionModule, 'portfolioLikeToPortfolio'); - getCustodianMock = jest.fn(); - stringToTickerSpy = jest.spyOn(utilsConversionModule, 'stringToTicker'); - bigNumberToU64Spy = jest.spyOn(utilsConversionModule, 'bigNumberToU64'); - bigNumberToBalanceSpy = jest.spyOn(utilsConversionModule, 'bigNumberToBalance'); - endConditionToSettlementTypeSpy = jest.spyOn( - utilsConversionModule, - 'endConditionToSettlementType' - ); - dateToMomentSpy = jest.spyOn(utilsConversionModule, 'dateToMoment'); - stringToInstructionMemoSpy = jest.spyOn(utilsConversionModule, 'stringToMemo'); - legToFungibleLegSpy = jest.spyOn(utilsConversionModule, 'legToFungibleLeg'); - legToNonFungibleLegSpy = jest.spyOn(utilsConversionModule, 'legToNonFungibleLeg'); - identityToBtreeSetSpy = jest.spyOn(utilsConversionModule, 'identitiesToBtreeSet'); - - venueId = new BigNumber(1); - amount = new BigNumber(100); - from = 'fromDid'; - to = 'toDid'; - fromDid = 'fromDid'; - toDid = 'toDid'; - mediatorDid = 'mediatorDid'; - fromPortfolio = entityMockUtils.getNumberedPortfolioInstance({ - did: fromDid, - id: new BigNumber(1), - }); - toPortfolio = entityMockUtils.getNumberedPortfolioInstance({ - did: toDid, - id: new BigNumber(2), - }); - asset = 'SOME_ASSET'; - nftAsset = 'TEST_NFT'; - const now = new Date(); - tradeDate = new Date(now.getTime() + 24 * 60 * 60 * 1000); - valueDate = new Date(now.getTime() + 24 * 60 * 60 * 1000 + 1); - endBlock = new BigNumber(1000); - memo = 'SOME_MEMO'; - rawVenueId = dsMockUtils.createMockU64(venueId); - rawAmount = dsMockUtils.createMockBalance(amount); - rawFrom = dsMockUtils.createMockPortfolioId({ - did: dsMockUtils.createMockIdentityId(from), - kind: dsMockUtils.createMockPortfolioKind('Default'), - }); - rawTo = dsMockUtils.createMockPortfolioId({ - did: dsMockUtils.createMockIdentityId(to), - kind: dsMockUtils.createMockPortfolioKind('Default'), - }); - rawMediatorSet = dsMockUtils.createMockBTreeSet([ - dsMockUtils.createMockIdentityId(mediatorDid), - ]); - rawEmptyMediatorSet = dsMockUtils.createMockBTreeSet([]); - rawTicker = dsMockUtils.createMockTicker(asset); - rawNftTicker = dsMockUtils.createMockTicker(nftAsset); - rawTradeDate = dsMockUtils.createMockMoment(new BigNumber(tradeDate.getTime())); - rawValueDate = dsMockUtils.createMockMoment(new BigNumber(valueDate.getTime())); - rawEndBlock = dsMockUtils.createMockU32(endBlock); - rawInstructionMemo = dsMockUtils.createMockMemo(memo); - rawAuthSettlementType = dsMockUtils.createMockSettlementType('SettleOnAffirmation'); - rawBlockSettlementType = dsMockUtils.createMockSettlementType({ SettleOnBlock: rawEndBlock }); - rawManualSettlementType = dsMockUtils.createMockSettlementType({ SettleManual: rawEndBlock }); - rawNfts = dsMockUtils.createMockNfts({ - ticker: rawNftTicker, - ids: [dsMockUtils.createMockU64()], - }); - rawLeg = dsMockUtils.createMockInstructionLeg({ - Fungible: { - sender: rawFrom, - receiver: rawTo, - amount: rawAmount, - ticker: rawTicker, - }, - }); - rawNftLeg = dsMockUtils.createMockInstructionLeg({ - NonFungible: { - sender: rawFrom, - receiver: rawTo, - nfts: rawNfts, - }, - }); - }); - - let addAndAffirmTransaction: PolymeshTx; - let addTransaction: PolymeshTx; - let addAndAffirmWithMediatorsTransaction: PolymeshTx< - [ - u64, - PolymeshPrimitivesSettlementSettlementType, - Option, - { - from: PolymeshPrimitivesIdentityIdPortfolioId; - to: PolymeshPrimitivesIdentityIdPortfolioId; - asset: PolymeshPrimitivesTicker; - amount: Balance; - }[], - PolymeshPrimitivesIdentityIdPortfolioId[], - Option, - BTreeSet - ] - >; - let addWithMediatorsTransaction: PolymeshTx< - [ - u64, - PolymeshPrimitivesSettlementSettlementType, - Option, - { - from: PolymeshPrimitivesIdentityIdPortfolioId; - to: PolymeshPrimitivesIdentityIdPortfolioId; - asset: PolymeshPrimitivesTicker; - amount: Balance; - }[], - Option, - BTreeSet - ] - >; - - beforeEach(() => { - const tickerReservationDetailsMock = jest.fn(); - tickerReservationDetailsMock.mockResolvedValue({ - owner: entityMockUtils.getIdentityInstance(), - expiryDate: null, - status: TickerReservationStatus.Free, - }); - - addAndAffirmTransaction = dsMockUtils.createTxMock('settlement', 'addAndAffirmInstruction'); - addTransaction = dsMockUtils.createTxMock('settlement', 'addInstruction'); - addAndAffirmWithMediatorsTransaction = dsMockUtils.createTxMock( - 'settlement', - 'addAndAffirmWithMediators' - ); - addWithMediatorsTransaction = dsMockUtils.createTxMock( - 'settlement', - 'addInstructionWithMediators' - ); - - mockContext = dsMockUtils.getContextInstance(); - - when(portfolioLikeToPortfolioIdSpy).calledWith(from).mockReturnValue({ did: fromDid }); - when(portfolioLikeToPortfolioIdSpy).calledWith(to).mockReturnValue({ did: toDid }); - when(portfolioLikeToPortfolioIdSpy).calledWith(fromPortfolio).mockReturnValue({ did: fromDid }); - when(portfolioLikeToPortfolioIdSpy).calledWith(toPortfolio).mockReturnValue({ did: toDid }); - when(portfolioLikeToPortfolioSpy).calledWith(from, mockContext).mockReturnValue(fromPortfolio); - when(portfolioLikeToPortfolioSpy).calledWith(to, mockContext).mockReturnValue(toPortfolio); - when(portfolioIdToMeshPortfolioIdSpy) - .calledWith({ did: fromDid }, mockContext) - .mockReturnValue(rawFrom); - when(portfolioIdToMeshPortfolioIdSpy) - .calledWith({ did: toDid }, mockContext) - .mockReturnValue(rawTo); - getCustodianMock.mockReturnValueOnce({ did: fromDid }).mockReturnValue({ did: toDid }); - entityMockUtils.configureMocks({ - numberedPortfolioOptions: { - getCustodian: getCustodianMock, - }, - tickerReservationOptions: { - details: tickerReservationDetailsMock, - }, - }); - when(stringToTickerSpy).calledWith(asset, mockContext).mockReturnValue(rawTicker); - when(bigNumberToU64Spy).calledWith(venueId, mockContext).mockReturnValue(rawVenueId); - when(bigNumberToBalanceSpy).calledWith(amount, mockContext).mockReturnValue(rawAmount); - when(endConditionToSettlementTypeSpy) - .calledWith({ type: InstructionType.SettleOnBlock, endBlock }, mockContext) - .mockReturnValue(rawBlockSettlementType); - when(endConditionToSettlementTypeSpy) - .calledWith({ type: InstructionType.SettleManual, endAfterBlock: endBlock }, mockContext) - .mockReturnValue(rawManualSettlementType); - when(endConditionToSettlementTypeSpy) - .calledWith({ type: InstructionType.SettleOnAffirmation }, mockContext) - .mockReturnValue(rawAuthSettlementType); - when(dateToMomentSpy).calledWith(tradeDate, mockContext).mockReturnValue(rawTradeDate); - when(dateToMomentSpy).calledWith(valueDate, mockContext).mockReturnValue(rawValueDate); - when(stringToInstructionMemoSpy) - .calledWith(memo, mockContext) - .mockReturnValue(rawInstructionMemo); - - when(legToFungibleLegSpy.mockReturnValue(rawLeg)) - .calledWith({ from, to, asset, amount }, mockContext) - .mockReturnValue(rawLeg); - - when(legToNonFungibleLegSpy) - .calledWith({ from, to, asset, nfts: [] }, mockContext) - .mockReturnValue(rawNftLeg); - - when(identityToBtreeSetSpy) - .calledWith( - expect.arrayContaining([expect.objectContaining({ did: mediatorDid })]), - mockContext - ) - .mockReturnValue(rawMediatorSet); - - when(identityToBtreeSetSpy).calledWith([], mockContext).mockReturnValue(rawEmptyMediatorSet); - - args = { - venueId, - instructions: [ - { - mediators: [entityMockUtils.getIdentityInstance({ did: mediatorDid })], - legs: [ - { - from, - to, - asset, - amount, - }, - ], - }, - ], - }; - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - jest.resetAllMocks(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it('should throw an error if the instructions array is empty', async () => { - const proc = procedureMockUtils.getInstance(mockContext, { - withMediatorsPresent: true, - portfoliosToAffirm: [], - }); - - let error; - - try { - await prepareAddInstruction.call(proc, { venueId, instructions: [] }); - } catch (err) { - error = err; - } - - expect(error.message).toBe('The Instructions array cannot be empty'); - expect(error.code).toBe(ErrorCode.ValidationError); - }); - - it('should throw an error if the legs array is empty', async () => { - const proc = procedureMockUtils.getInstance(mockContext, { - withMediatorsPresent: true, - portfoliosToAffirm: [], - }); - - entityMockUtils.configureMocks({ - venueOptions: { exists: true }, - }); - - let error; - - try { - await prepareAddInstruction.call(proc, { venueId, instructions: [{ legs: [] }] }); - } catch (err) { - error = err; - } - - expect(error.message).toBe("The legs array can't be empty"); - expect(error.code).toBe(ErrorCode.ValidationError); - expect(error.data.failedInstructionIndexes[0]).toBe(0); - }); - - it('should throw an error if any instruction contains leg with zero amount', async () => { - const proc = procedureMockUtils.getInstance(mockContext, { - withMediatorsPresent: true, - portfoliosToAffirm: [], - }); - - entityMockUtils.configureMocks({ - venueOptions: { exists: true }, - }); - - let error; - const legs = Array(2).fill({ - from, - to, - amount: new BigNumber(0), - asset: entityMockUtils.getFungibleAssetInstance({ ticker: asset }), - }); - try { - await prepareAddInstruction.call(proc, { venueId, instructions: [{ legs }] }); - } catch (err) { - error = err; - } - - expect(error.message).toBe('Instruction legs cannot have zero amount'); - expect(error.code).toBe(ErrorCode.ValidationError); - expect(error.data.failedInstructionIndexes[0]).toBe(0); - }); - - it('should throw an error if any instruction contains leg with zero NFTs', async () => { - const proc = procedureMockUtils.getInstance(mockContext, { - withMediatorsPresent: true, - portfoliosToAffirm: [], - }); - - entityMockUtils.configureMocks({ - venueOptions: { exists: true }, - }); - - let error; - const legs = Array(2).fill({ - from, - to, - nfts: [], - asset: entityMockUtils.getNftCollectionInstance({ ticker: asset }), - }); - try { - await prepareAddInstruction.call(proc, { venueId, instructions: [{ legs }] }); - } catch (err) { - error = err; - } - - expect(error.message).toBe('Instruction legs cannot have zero amount'); - expect(error.code).toBe(ErrorCode.ValidationError); - expect(error.data.failedInstructionIndexes[0]).toBe(0); - }); - - it('should throw an error if given an string asset that does not exist', async () => { - const proc = procedureMockUtils.getInstance(mockContext, { - withMediatorsPresent: true, - portfoliosToAffirm: [], - }); - - entityMockUtils.configureMocks({ - venueOptions: { exists: true }, - fungibleAssetOptions: { - exists: false, - }, - nftCollectionOptions: { - exists: false, - }, - }); - - let error; - const legs = Array(2).fill({ - from, - to, - amount: new BigNumber(0), - asset, - }); - try { - await prepareAddInstruction.call(proc, { venueId, instructions: [{ legs }] }); - } catch (err) { - error = err; - } - - expect(error.message).toBe('No asset exists with ticker: "SOME_ASSET"'); - expect(error.code).toBe(ErrorCode.DataUnavailable); - }); - - it('should throw an error if any instruction contains leg with transferring Assets within same Identity portfolios', async () => { - const proc = procedureMockUtils.getInstance(mockContext, { - withMediatorsPresent: true, - portfoliosToAffirm: [], - }); - - entityMockUtils.configureMocks({ - venueOptions: { exists: true }, - }); - - let error; - const legs = Array(2).fill({ - from: to, - to, - amount: new BigNumber(10), - asset: entityMockUtils.getFungibleAssetInstance({ ticker: asset }), - }); - try { - await prepareAddInstruction.call(proc, { venueId, instructions: [{ legs }] }); - } catch (err) { - error = err; - } - - expect(error.message).toBe('Instruction leg cannot transfer Assets between same identity'); - expect(error.code).toBe(ErrorCode.ValidationError); - expect(error.data.failedInstructionIndexes[0]).toBe(0); - }); - - it("should throw an error if the Venue doesn't exist", async () => { - const proc = procedureMockUtils.getInstance(mockContext, { - withMediatorsPresent: true, - portfoliosToAffirm: [], - }); - - entityMockUtils.configureMocks({ - venueOptions: { exists: false }, - }); - - let error; - - try { - await prepareAddInstruction.call(proc, args); - } catch (err) { - error = err; - } - - expect(error.message).toBe("The Venue doesn't exist"); - expect(error.code).toBe(ErrorCode.DataUnavailable); - }); - - it('should throw an error if the legs array exceeds limit', async () => { - const proc = procedureMockUtils.getInstance(mockContext, { - withMediatorsPresent: true, - portfoliosToAffirm: [], - }); - - entityMockUtils.configureMocks({ - venueOptions: { - exists: true, - }, - }); - - let error; - - const legs = Array(11).fill({ - from, - to, - amount, - asset: entityMockUtils.getFungibleAssetInstance({ ticker: asset }), - }); - - try { - await prepareAddInstruction.call(proc, { venueId, instructions: [{ legs }] }); - } catch (err) { - error = err; - } - - expect(error.message).toBe('The legs array exceeds the maximum allowed length'); - expect(error.code).toBe(ErrorCode.LimitExceeded); - }); - - it('should throw an error if the end block is in the past', async () => { - dsMockUtils.configureMocks({ contextOptions: { latestBlock: new BigNumber(1000) } }); - - entityMockUtils.configureMocks({ - venueOptions: { - exists: true, - }, - }); - - const proc = procedureMockUtils.getInstance(mockContext, { - withMediatorsPresent: true, - portfoliosToAffirm: [], - }); - - const expectedError = new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'End block must be a future block', - data: { failedInstructionIndexes: [0] }, - }); - - await expect( - prepareAddInstruction.call(proc, { - venueId, - instructions: [ - { - legs: [ - { - from, - to, - amount, - asset: entityMockUtils.getFungibleAssetInstance({ ticker: asset }), - }, - ], - endBlock: new BigNumber(100), - }, - ], - }) - ).rejects.toThrowError(expectedError); - - await expect( - prepareAddInstruction.call(proc, { - venueId, - instructions: [ - { - legs: [ - { - from, - to, - amount, - asset: entityMockUtils.getFungibleAssetInstance({ ticker: asset }), - }, - ], - endAfterBlock: new BigNumber(100), - }, - ], - }) - ).rejects.toThrowError(expectedError); - }); - - it('should throw an error if the value date is before the trade date', async () => { - dsMockUtils.configureMocks({ contextOptions: { latestBlock: new BigNumber(1000) } }); - entityMockUtils.configureMocks({ - venueOptions: { - exists: true, - }, - nftCollectionOptions: { - exists: false, - }, - }); - const proc = procedureMockUtils.getInstance(mockContext, { - withMediatorsPresent: true, - portfoliosToAffirm: [], - }); - - let error; - - try { - await prepareAddInstruction.call(proc, { - venueId, - instructions: [ - { - legs: [ - { - from, - to, - asset, - amount, - }, - ], - tradeDate: new Date(valueDate.getTime() + 1), - valueDate, - }, - ], - }); - } catch (err) { - error = err; - } - - expect(error.message).toBe('Value date must be after trade date'); - expect(error.code).toBe(ErrorCode.ValidationError); - expect(error.data.failedInstructionIndexes[0]).toBe(0); - }); - - it('should return an add and authorize instruction transaction spec', async () => { - dsMockUtils.configureMocks({ contextOptions: { did: fromDid } }); - entityMockUtils.configureMocks({ - venueOptions: { - exists: true, - }, - nftCollectionOptions: { - exists: false, - }, - }); - getCustodianMock.mockReturnValue({ did: fromDid }); - const proc = procedureMockUtils.getInstance(mockContext, { - withMediatorsPresent: true, - portfoliosToAffirm: [[fromPortfolio, toPortfolio]], - }); - - const result = await prepareAddInstruction.call(proc, args); - - expect(result).toEqual({ - transactions: [ - { - transaction: addAndAffirmWithMediatorsTransaction, - args: [ - rawVenueId, - rawAuthSettlementType, - null, - null, - [rawLeg], - [rawFrom, rawTo], - null, - rawMediatorSet, - ], - }, - ], - resolver: expect.any(Function), - }); - }); - - it('should throw an error if key "amount" is not in a fungible leg', async () => { - dsMockUtils.configureMocks({ contextOptions: { did: fromDid } }); - entityMockUtils.configureMocks({ - venueOptions: { - exists: true, - }, - fungibleAssetOptions: { - exists: true, - }, - nftCollectionOptions: { - exists: false, - }, - }); - getCustodianMock.mockReturnValue({ did: fromDid }); - const proc = procedureMockUtils.getInstance(mockContext, { - withMediatorsPresent: true, - portfoliosToAffirm: [[fromPortfolio, toPortfolio]], - }); - - const expectedError = new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'The key "amount" should be present in a fungible leg', - }); - - await expect( - prepareAddInstruction.call(proc, { - venueId: args.venueId, - instructions: [{ legs: [{ from, to, asset, nfts: [new BigNumber(1)] }] }], - }) - ).rejects.toThrow(expectedError); - }); - - it('should throw an error if key "nfts" is not in an NFT leg', async () => { - dsMockUtils.configureMocks({ contextOptions: { did: fromDid } }); - entityMockUtils.configureMocks({ - venueOptions: { - exists: true, - }, - fungibleAssetOptions: { - exists: false, - }, - nftCollectionOptions: { - exists: true, - }, - }); - getCustodianMock.mockReturnValue({ did: fromDid }); - const proc = procedureMockUtils.getInstance(mockContext, { - withMediatorsPresent: true, - portfoliosToAffirm: [[fromPortfolio, toPortfolio]], - }); - - const expectedError = new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'The key "nfts" should be present in an NFT leg', - }); - - await expect( - prepareAddInstruction.call(proc, { - venueId: args.venueId, - instructions: [{ legs: [{ from, to, asset, amount: new BigNumber(1) }] }], - }) - ).rejects.toThrow(expectedError); - }); - - it('should handle NFT legs', async () => { - dsMockUtils.configureMocks({ contextOptions: { did: fromDid } }); - entityMockUtils.configureMocks({ - venueOptions: { - exists: true, - }, - nftCollectionOptions: { - exists: true, - }, - }); - getCustodianMock.mockReturnValue({ did: fromDid }); - const proc = procedureMockUtils.getInstance(mockContext, { - withMediatorsPresent: true, - portfoliosToAffirm: [[fromPortfolio, toPortfolio]], - }); - - const result = await prepareAddInstruction.call(proc, { - venueId: args.venueId, - instructions: [{ legs: [{ from, to, asset, nfts: [new BigNumber(1)] }] }], - }); - - expect(result).toEqual({ - transactions: [ - { - transaction: addAndAffirmWithMediatorsTransaction, - args: [ - rawVenueId, - rawAuthSettlementType, - null, - null, - [undefined], - [rawFrom, rawTo], - null, - rawEmptyMediatorSet, - ], - }, - ], - resolver: expect.any(Function), - }); - }); - - it('should return an add instruction transaction spec', async () => { - dsMockUtils.configureMocks({ contextOptions: { did: fromDid } }); - entityMockUtils.configureMocks({ - venueOptions: { - exists: true, - }, - }); - getCustodianMock.mockReturnValue({ did: toDid }); - const proc = procedureMockUtils.getInstance(mockContext, { - withMediatorsPresent: true, - portfoliosToAffirm: [[]], - }); - - const instructionDetails = { - legs: [ - { - from, - to, - amount, - asset: entityMockUtils.getFungibleAssetInstance({ ticker: asset }), - }, - ], - tradeDate, - valueDate, - memo, - }; - - let result = await prepareAddInstruction.call(proc, { - venueId, - instructions: [ - { - ...instructionDetails, - endBlock, - }, - ], - }); - - expect(result).toEqual({ - transactions: [ - { - transaction: addWithMediatorsTransaction, - args: [ - rawVenueId, - rawBlockSettlementType, - rawTradeDate, - rawValueDate, - [rawLeg], - rawInstructionMemo, - rawEmptyMediatorSet, - ], - }, - ], - resolver: expect.any(Function), - }); - - result = await prepareAddInstruction.call(proc, { - venueId, - instructions: [ - { - ...instructionDetails, - endAfterBlock: endBlock, - }, - ], - }); - - expect(result).toEqual({ - transactions: [ - { - transaction: addWithMediatorsTransaction, - args: [ - rawVenueId, - rawManualSettlementType, - rawTradeDate, - rawValueDate, - [rawLeg], - rawInstructionMemo, - rawEmptyMediatorSet, - ], - }, - ], - resolver: expect.any(Function), - }); - }); - - it('should instruction transaction spec when mediator tx are not present', async () => { - dsMockUtils.configureMocks({ contextOptions: { did: fromDid } }); - entityMockUtils.configureMocks({ - venueOptions: { - exists: true, - }, - }); - getCustodianMock.mockReturnValue({ did: toDid }); - let proc = procedureMockUtils.getInstance(mockContext, { - withMediatorsPresent: false, - portfoliosToAffirm: [[]], - }); - - const instructionDetails = { - legs: [ - { - from, - to, - amount, - asset: entityMockUtils.getFungibleAssetInstance({ ticker: asset }), - }, - ], - tradeDate, - valueDate, - memo, - }; - - let result = await prepareAddInstruction.call(proc, { - venueId, - instructions: [ - { - ...instructionDetails, - endBlock, - }, - ], - }); - - expect(result).toEqual({ - transactions: [ - { - transaction: addTransaction, - args: [ - rawVenueId, - rawBlockSettlementType, - rawTradeDate, - rawValueDate, - [rawLeg], - rawInstructionMemo, - ], - }, - ], - resolver: expect.any(Function), - }); - - proc = procedureMockUtils.getInstance(mockContext, { - withMediatorsPresent: false, - portfoliosToAffirm: [[fromPortfolio, toPortfolio]], - }); - - result = await prepareAddInstruction.call(proc, { - venueId, - instructions: [ - { - ...instructionDetails, - endBlock, - }, - ], - }); - - expect(result).toEqual({ - transactions: [ - { - transaction: addAndAffirmTransaction, - args: [ - rawVenueId, - rawBlockSettlementType, - rawTradeDate, - rawValueDate, - [rawLeg], - [rawFrom, rawTo], - rawInstructionMemo, - ], - }, - ], - resolver: expect.any(Function), - }); - }); - - describe('getAuthorization', () => { - it('should return the appropriate roles and permissions when "withMediators" are not present', async () => { - let proc = procedureMockUtils.getInstance(mockContext, { - withMediatorsPresent: false, - portfoliosToAffirm: [[fromPortfolio, toPortfolio]], - }); - let boundFunc = getAuthorization.bind(proc); - - let result = await boundFunc({ - venueId, - instructions: [ - { legs: [{ from: fromPortfolio, to: toPortfolio, amount, asset: 'SOME_ASSET' }] }, - ], - }); - - expect(result).toEqual({ - roles: [{ type: RoleType.VenueOwner, venueId }], - permissions: { - assets: [], - portfolios: [fromPortfolio, toPortfolio], - transactions: [TxTags.settlement.AddAndAffirmInstructionWithMemo], - }, - }); - - proc = procedureMockUtils.getInstance(mockContext, { - withMediatorsPresent: false, - portfoliosToAffirm: [[]], - }); - boundFunc = getAuthorization.bind(proc); - - result = await boundFunc({ - venueId, - instructions: [ - { legs: [{ from: fromPortfolio, to: toPortfolio, amount, asset: 'SOME_ASSET' }] }, - ], - }); - - expect(result).toEqual({ - roles: [{ type: RoleType.VenueOwner, venueId }], - permissions: { - assets: [], - portfolios: [], - transactions: [TxTags.settlement.AddInstructionWithMemo], - }, - }); - }); - - it('should return the appropriate roles and permissions', async () => { - let proc = procedureMockUtils.getInstance(mockContext, { - withMediatorsPresent: true, - portfoliosToAffirm: [[fromPortfolio, toPortfolio]], - }); - let boundFunc = getAuthorization.bind(proc); - - let result = await boundFunc({ - venueId, - instructions: [ - { - mediators: [mediatorDid], - legs: [{ from: fromPortfolio, to: toPortfolio, amount, asset: 'SOME_ASSET' }], - }, - ], - }); - - expect(result).toEqual({ - roles: [{ type: RoleType.VenueOwner, venueId }], - permissions: { - assets: [], - portfolios: [fromPortfolio, toPortfolio], - transactions: [TxTags.settlement.AddAndAffirmWithMediators], - }, - }); - - proc = procedureMockUtils.getInstance(mockContext, { - withMediatorsPresent: true, - portfoliosToAffirm: [[]], - }); - boundFunc = getAuthorization.bind(proc); - - result = await boundFunc({ - venueId, - instructions: [ - { - mediators: [mediatorDid], - legs: [{ from: fromPortfolio, to: toPortfolio, amount, asset: 'SOME_ASSET' }], - }, - ], - }); - - expect(result).toEqual({ - roles: [{ type: RoleType.VenueOwner, venueId }], - permissions: { - assets: [], - portfolios: [], - transactions: [TxTags.settlement.AddInstructionWithMediators], - }, - }); - }); - }); - - describe('prepareStorage', () => { - it('should return the list of portfolios that will be affirmed', async () => { - const proc = procedureMockUtils.getInstance(mockContext); - const boundFunc = prepareStorage.bind(proc); - - fromPortfolio = entityMockUtils.getNumberedPortfolioInstance({ isCustodiedBy: true }); - toPortfolio = entityMockUtils.getNumberedPortfolioInstance({ isCustodiedBy: true }); - - when(portfolioLikeToPortfolioSpy) - .calledWith(from, mockContext) - .mockReturnValue(fromPortfolio); - when(portfolioLikeToPortfolioSpy).calledWith(to, mockContext).mockReturnValue(toPortfolio); - - let result = await boundFunc(args); - - expect(result).toEqual({ - withMediatorsPresent: true, - portfoliosToAffirm: [[fromPortfolio, toPortfolio]], - }); - - fromPortfolio = entityMockUtils.getNumberedPortfolioInstance({ isCustodiedBy: false }); - toPortfolio = entityMockUtils.getNumberedPortfolioInstance({ isCustodiedBy: false }); - - when(portfolioLikeToPortfolioSpy) - .calledWith(from, mockContext) - .mockReturnValue(fromPortfolio); - when(portfolioLikeToPortfolioSpy).calledWith(to, mockContext).mockReturnValue(toPortfolio); - - result = await boundFunc(args); - - expect(result).toEqual({ - withMediatorsPresent: true, - portfoliosToAffirm: [[]], - }); - }); - }); -}); - -describe('createAddInstructionResolver', () => { - const filterEventRecordsSpy = jest.spyOn(utilsInternalModule, 'filterEventRecords'); - const id = new BigNumber(10); - const rawId = dsMockUtils.createMockU64(id); - - beforeAll(() => { - entityMockUtils.initMocks({ - instructionOptions: { - id, - }, - }); - }); - - beforeEach(() => { - filterEventRecordsSpy.mockReturnValue([ - dsMockUtils.createMockIEvent(['did', 'venueId', rawId]), - ]); - }); - - afterEach(() => { - filterEventRecordsSpy.mockReset(); - }); - - it('should return the new Instruction', () => { - const fakeContext = {} as Context; - - const result = createAddInstructionResolver(fakeContext)({} as ISubmittableResult); - - expect(result[0].id).toEqual(id); - }); -}); diff --git a/src/api/procedures/__tests__/addTransferRestriction.ts b/src/api/procedures/__tests__/addTransferRestriction.ts deleted file mode 100644 index 5bd83b3b8e..0000000000 --- a/src/api/procedures/__tests__/addTransferRestriction.ts +++ /dev/null @@ -1,592 +0,0 @@ -import { BTreeSet, u64 } from '@polkadot/types'; -import { Permill } from '@polkadot/types/interfaces'; -import { - PolymeshPrimitivesIdentityId, - PolymeshPrimitivesStatisticsStatOpType, - PolymeshPrimitivesStatisticsStatType, - PolymeshPrimitivesTicker, - PolymeshPrimitivesTransferComplianceAssetTransferCompliance, - PolymeshPrimitivesTransferComplianceTransferCondition, -} from '@polkadot/types/lookup'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { - AddTransferRestrictionParams, - getAuthorization, - prepareAddTransferRestriction, -} from '~/api/procedures/addTransferRestriction'; -import { Context, Identity, PolymeshError } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { - ClaimType, - CountryCode, - ErrorCode, - StatJurisdictionClaimInput, - StatType, - TransferRestriction, - TransferRestrictionType, - TxTags, -} from '~/types'; -import { PolymeshTx, TickerKey } from '~/types/internal'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/Asset/Fungible', - require('~/testUtils/mocks/entities').mockFungibleAssetModule('~/api/entities/Asset/Fungible') -); -jest.mock( - '~/api/entities/Identity', - require('~/testUtils/mocks/entities').mockIdentityModule('~/api/entities/Identity') -); - -describe('addTransferRestriction procedure', () => { - let mockContext: Mocked; - - let count: BigNumber; - let percentage: BigNumber; - let min: BigNumber; - let max: BigNumber; - let claim: StatJurisdictionClaimInput; - let issuer: Identity; - let countRestriction: TransferRestriction; - let claimCountRestriction: TransferRestriction; - let percentageRestriction: TransferRestriction; - let claimPercentageRestriction: TransferRestriction; - let rawTicker: PolymeshPrimitivesTicker; - let rawCount: u64; - let rawPercentage: Permill; - let rawCountCondition: PolymeshPrimitivesTransferComplianceTransferCondition; - let rawPercentageCondition: PolymeshPrimitivesTransferComplianceTransferCondition; - let rawClaimCountCondition: PolymeshPrimitivesTransferComplianceTransferCondition; - let rawClaimPercentageCondition: PolymeshPrimitivesTransferComplianceTransferCondition; - let args: AddTransferRestrictionParams; - let rawCountOp: PolymeshPrimitivesStatisticsStatOpType; - let rawBalanceOp: PolymeshPrimitivesStatisticsStatOpType; - let rawScopeId: PolymeshPrimitivesIdentityId; - let rawCountStatType: PolymeshPrimitivesStatisticsStatType; - let rawBalanceStatType: PolymeshPrimitivesStatisticsStatType; - let rawClaimCountStatType: PolymeshPrimitivesStatisticsStatType; - let transferRestrictionToPolymeshTransferConditionSpy: jest.SpyInstance< - PolymeshPrimitivesTransferComplianceTransferCondition, - [TransferRestriction, Context] - >; - let stringToTickerKeySpy: jest.SpyInstance; - let complianceConditionsToBtreeSetSpy: jest.SpyInstance< - BTreeSet, - [PolymeshPrimitivesTransferComplianceTransferCondition[], Context] - >; - let transferConditionsToBtreeTransferConditionsSpy: jest.SpyInstance< - BTreeSet, - [PolymeshPrimitivesTransferComplianceTransferCondition[], Context] - >; - let setAssetTransferCompliance: PolymeshTx< - [PolymeshPrimitivesTicker, PolymeshPrimitivesTransferComplianceTransferCondition] - >; - let setExemptedEntitiesTransaction: PolymeshTx< - [ - PolymeshPrimitivesTicker, - PolymeshPrimitivesTransferComplianceTransferCondition, - PolymeshPrimitivesIdentityId[] - ] - >; - let transferRestrictionTypeToStatOpTypeSpy: jest.SpyInstance< - PolymeshPrimitivesStatisticsStatOpType, - [TransferRestrictionType, Context] - >; - let mockStatTypeBtree: BTreeSet; - let mockCountBtreeSet: BTreeSet; - let mockPercentBtree: BTreeSet; - let mockClaimCountBtree: BTreeSet; - let mockClaimPercentageBtree: BTreeSet; - let queryMultiMock: jest.Mock; - let queryMultiResult: [ - BTreeSet, - PolymeshPrimitivesTransferComplianceAssetTransferCompliance - ]; - let statCompareEqMock: jest.Mock; - let stringToIdentityIdSpy: jest.SpyInstance; - const did = 'someDid'; - const ticker = 'TICKER'; - - beforeAll(() => { - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - - count = new BigNumber(10); - percentage = new BigNumber(49); - min = new BigNumber(0); - issuer = entityMockUtils.getIdentityInstance({ did }); - claim = { - type: ClaimType.Jurisdiction, - countryCode: CountryCode.Ca, - }; - max = new BigNumber(50); - countRestriction = { type: TransferRestrictionType.Count, value: count }; - percentageRestriction = { type: TransferRestrictionType.Percentage, value: percentage }; - claimCountRestriction = { - type: TransferRestrictionType.ClaimCount, - value: { - min, - issuer, - claim, - }, - }; - claimPercentageRestriction = { - type: TransferRestrictionType.ClaimPercentage, - value: { - min, - max, - issuer, - claim, - }, - }; - }); - - beforeEach(() => { - mockContext = dsMockUtils.getContextInstance(); - setAssetTransferCompliance = dsMockUtils.createTxMock( - 'statistics', - 'setAssetTransferCompliance' - ); - setExemptedEntitiesTransaction = dsMockUtils.createTxMock('statistics', 'setEntitiesExempt'); - - dsMockUtils.setConstMock('statistics', 'maxTransferConditionsPerAsset', { - returnValue: dsMockUtils.createMockU32(new BigNumber(3)), - }); - transferRestrictionToPolymeshTransferConditionSpy = jest.spyOn( - utilsConversionModule, - 'transferRestrictionToPolymeshTransferCondition' - ); - stringToTickerKeySpy = jest.spyOn(utilsConversionModule, 'stringToTickerKey'); - transferConditionsToBtreeTransferConditionsSpy = jest.spyOn( - utilsConversionModule, - 'transferConditionsToBtreeTransferConditions' - ); - complianceConditionsToBtreeSetSpy = jest.spyOn( - utilsConversionModule, - 'complianceConditionsToBtreeSet' - ); - transferRestrictionTypeToStatOpTypeSpy = jest.spyOn( - utilsConversionModule, - 'transferRestrictionTypeToStatOpType' - ); - stringToIdentityIdSpy = jest.spyOn(utilsConversionModule, 'stringToIdentityId'); - - rawCountStatType = dsMockUtils.createMockStatisticsStatType(); - rawBalanceStatType = dsMockUtils.createMockStatisticsStatType({ - op: dsMockUtils.createMockStatisticsOpType(StatType.Balance), - claimIssuer: dsMockUtils.createMockOption(), - }); - rawClaimCountStatType = dsMockUtils.createMockStatisticsStatType({ - op: dsMockUtils.createMockStatisticsOpType(StatType.ScopedCount), - claimIssuer: dsMockUtils.createMockOption([ - dsMockUtils.createMockClaimType(), - dsMockUtils.createMockIdentityId(), - ]), - }); - mockStatTypeBtree = dsMockUtils.createMockBTreeSet([ - rawCountStatType, - rawBalanceStatType, - rawClaimCountStatType, - ]); - statCompareEqMock = rawCountStatType.eq as jest.Mock; - statCompareEqMock.mockReturnValue(true); - rawCountOp = dsMockUtils.createMockStatisticsOpType(StatType.Count); - rawBalanceOp = dsMockUtils.createMockStatisticsOpType(StatType.Balance); - rawTicker = dsMockUtils.createMockTicker(ticker); - rawCount = dsMockUtils.createMockU64(count); - rawScopeId = dsMockUtils.createMockIdentityId(did); - rawPercentage = dsMockUtils.createMockPermill(percentage.multipliedBy(10000)); - rawCountCondition = dsMockUtils.createMockTransferCondition({ MaxInvestorCount: rawCount }); - rawPercentageCondition = dsMockUtils.createMockTransferCondition({ - MaxInvestorOwnership: rawPercentage, - }); - rawClaimCountCondition = dsMockUtils.createMockTransferCondition({ - ClaimCount: [ - dsMockUtils.createMockStatisticsStatClaim({ - Jurisdiction: dsMockUtils.createMockOption(dsMockUtils.createMockCountryCode()), - }), - dsMockUtils.createMockIdentityId(), - dsMockUtils.createMockU64(), - dsMockUtils.createMockOption(), - ], - }); - rawClaimPercentageCondition = dsMockUtils.createMockTransferCondition({ - ClaimCount: [ - dsMockUtils.createMockStatisticsStatClaim({ Accredited: dsMockUtils.createMockBool() }), - dsMockUtils.createMockIdentityId(), - dsMockUtils.createMockU64(), - dsMockUtils.createMockOption(), - ], - }); - - queryMultiMock = dsMockUtils.getQueryMultiMock(); - queryMultiResult = [ - mockStatTypeBtree, - dsMockUtils.createMockAssetTransferCompliance({ - paused: false, - requirements: [], - }), - ]; - queryMultiMock.mockReturnValue(queryMultiResult); - - mockCountBtreeSet = dsMockUtils.createMockBTreeSet([rawCountCondition]); - mockPercentBtree = - dsMockUtils.createMockBTreeSet([ - rawPercentageCondition, - ]); - - mockClaimCountBtree = dsMockUtils.createMockBTreeSet([rawClaimCountCondition]); - mockClaimPercentageBtree = dsMockUtils.createMockBTreeSet([rawClaimPercentageCondition]); - - when(stringToIdentityIdSpy).calledWith(did, mockContext).mockReturnValue(rawScopeId); - - when(transferRestrictionToPolymeshTransferConditionSpy) - .calledWith(countRestriction, mockContext) - .mockReturnValue(rawCountCondition); - when(transferRestrictionToPolymeshTransferConditionSpy) - .calledWith(percentageRestriction, mockContext) - .mockReturnValue(rawPercentageCondition); - when(transferRestrictionToPolymeshTransferConditionSpy) - .calledWith(expect.objectContaining(claimCountRestriction), mockContext) - .mockReturnValue(rawClaimCountCondition); - when(transferRestrictionToPolymeshTransferConditionSpy) - .calledWith(expect.objectContaining(claimPercentageRestriction), mockContext) - .mockReturnValue(rawClaimPercentageCondition); - when(stringToTickerKeySpy) - .calledWith(ticker, mockContext) - .mockReturnValue({ Ticker: rawTicker }); - when(complianceConditionsToBtreeSetSpy) - .calledWith([rawCountCondition], mockContext) - .mockReturnValue(mockCountBtreeSet); - when(complianceConditionsToBtreeSetSpy) - .calledWith([rawPercentageCondition], mockContext) - .mockReturnValue(mockPercentBtree); - when(complianceConditionsToBtreeSetSpy) - .calledWith([rawClaimCountCondition], mockContext) - .mockReturnValue(mockClaimCountBtree); - when(complianceConditionsToBtreeSetSpy) - .calledWith([rawClaimPercentageCondition], mockContext) - .mockReturnValue(mockClaimPercentageBtree); - when(transferRestrictionTypeToStatOpTypeSpy) - .calledWith(TransferRestrictionType.Count, mockContext) - .mockReturnValue(rawCountOp); - when(transferRestrictionTypeToStatOpTypeSpy) - .calledWith(TransferRestrictionType.ClaimCount, mockContext) - .mockReturnValue(rawCountOp); - when(transferRestrictionTypeToStatOpTypeSpy) - .calledWith(TransferRestrictionType.Percentage, mockContext) - .mockReturnValue(rawBalanceOp); - when(transferRestrictionTypeToStatOpTypeSpy) - .calledWith(TransferRestrictionType.ClaimPercentage, mockContext) - .mockReturnValue(rawBalanceOp); - - dsMockUtils.createQueryMock('statistics', 'activeAssetStats'); - - args = { - type: TransferRestrictionType.Count, - exemptedIdentities: [], - count, - ticker, - }; - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - jest.restoreAllMocks(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it('should return an add asset transfer compliance transaction spec', async () => { - const proc = procedureMockUtils.getInstance( - mockContext - ); - args = { - type: TransferRestrictionType.Count, - exemptedIdentities: [], - count, - ticker, - }; - transferConditionsToBtreeTransferConditionsSpy.mockReturnValue(mockCountBtreeSet); - - let result = await prepareAddTransferRestriction.call(proc, args); - - expect(result).toEqual({ - transactions: [ - { - transaction: setAssetTransferCompliance, - args: [{ Ticker: rawTicker }, mockCountBtreeSet], - }, - ], - resolver: new BigNumber(1), - }); - - transferConditionsToBtreeTransferConditionsSpy.mockReturnValue(mockPercentBtree); - - args = { - type: TransferRestrictionType.Percentage, - exemptedIdentities: [], - percentage, - ticker, - }; - - result = await prepareAddTransferRestriction.call(proc, args); - - expect(result).toEqual({ - transactions: [ - { - transaction: setAssetTransferCompliance, - args: [{ Ticker: rawTicker }, mockPercentBtree], - }, - ], - resolver: new BigNumber(1), - }); - }); - - it('should return an add exempted entities transaction spec', async () => { - const identityScopeId = 'anotherScopeId'; - const rawIdentityScopeId = dsMockUtils.createMockIdentityId(identityScopeId); - const rawIdentityBtree = dsMockUtils.createMockBTreeSet([ - rawIdentityScopeId, - ]); - - when(mockContext.createType) - .calledWith('BTreeSet', [undefined]) - .mockReturnValue(rawIdentityBtree); - - entityMockUtils.configureMocks({ - identityOptions: { getScopeId: identityScopeId }, - }); - args = { - type: TransferRestrictionType.ClaimCount, - exemptedIdentities: [did], - min, - issuer, - claim, - ticker, - }; - const proc = procedureMockUtils.getInstance( - mockContext - ); - - let result = await prepareAddTransferRestriction.call(proc, args); - expect(result).toEqual({ - transactions: [ - { - transaction: setAssetTransferCompliance, - args: [{ Ticker: rawTicker }, mockClaimCountBtree], - }, - { - transaction: setExemptedEntitiesTransaction, - feeMultiplier: new BigNumber(1), - args: [ - true, - { asset: { Ticker: rawTicker }, op: rawCountOp, claimType: ClaimType.Jurisdiction }, - rawIdentityBtree, - ], - }, - ], - resolver: new BigNumber(1), - }); - - args = { - type: TransferRestrictionType.ClaimPercentage, - exemptedIdentities: [did], - min, - max, - issuer, - claim, - ticker, - }; - - result = await prepareAddTransferRestriction.call(proc, args); - - expect(result).toEqual({ - transactions: [ - { - transaction: setAssetTransferCompliance, - args: [{ Ticker: rawTicker }, mockClaimPercentageBtree], - }, - { - transaction: setExemptedEntitiesTransaction, - feeMultiplier: new BigNumber(1), - args: [ - true, - { asset: { Ticker: rawTicker }, op: rawBalanceOp, claimType: ClaimType.Jurisdiction }, - rawIdentityBtree, - ], - }, - ], - resolver: new BigNumber(1), - }); - }); - - it('should throw an error if attempting to add a restriction that already exists', () => { - args = { - type: TransferRestrictionType.Count, - exemptedIdentities: [], - count, - ticker, - }; - const proc = procedureMockUtils.getInstance( - mockContext, - { - currentRestrictions: - dsMockUtils.createMockBTreeSet([ - rawCountCondition, - ]), - } - ); - - rawCountCondition.eq = jest.fn().mockReturnValue(true); - - const existingRequirements = - dsMockUtils.createMockBTreeSet([ - rawCountCondition, - rawPercentageCondition, - ]); - queryMultiMock.mockResolvedValue([ - mockStatTypeBtree, - dsMockUtils.createMockAssetTransferCompliance({ - paused: dsMockUtils.createMockBool(false), - requirements: existingRequirements, - }), - ]); - - const expectedError = new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'Cannot add the same restriction more than once', - }); - - return expect(prepareAddTransferRestriction.call(proc, args)).rejects.toThrowError( - expectedError - ); - }); - - it('should throw an error if attempting to add a restriction when the restriction limit has been reached', () => { - args = { - type: TransferRestrictionType.Count, - count, - ticker, - }; - const maxedRequirements = - dsMockUtils.createMockBTreeSet([ - rawPercentageCondition, - rawClaimCountCondition, - rawClaimPercentageCondition, - ]); - queryMultiMock.mockResolvedValue([ - mockStatTypeBtree, - dsMockUtils.createMockAssetTransferCompliance({ - paused: dsMockUtils.createMockBool(false), - requirements: maxedRequirements, - }), - ]); - - const proc = procedureMockUtils.getInstance( - mockContext - ); - - const expectedError = new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'Transfer Restriction limit reached', - data: { limit: 3 }, - }); - - return expect(prepareAddTransferRestriction.call(proc, args)).rejects.toThrowError( - expectedError - ); - }); - - it('should throw an error if exempted entities are repeated', () => { - args = { - type: TransferRestrictionType.Count, - exemptedIdentities: ['someScopeId', 'someScopeId'], - count, - ticker, - }; - const proc = procedureMockUtils.getInstance( - mockContext - ); - - const expectedError = new PolymeshError({ - code: ErrorCode.ValidationError, - message: - 'One or more of the passed exempted Identities are repeated or have the same Scope ID', - }); - - return expect(prepareAddTransferRestriction.call(proc, args)).rejects.toThrowError( - expectedError - ); - }); - - it('should throw an error if the appropriate stat is not set', () => { - statCompareEqMock.mockReturnValue(false); - const proc = procedureMockUtils.getInstance( - mockContext - ); - - const expectedError = new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: - 'The appropriate stat type for this restriction is not set. Try calling enableStat in the namespace first', - }); - - return expect(prepareAddTransferRestriction.call(proc, args)).rejects.toThrowError( - expectedError - ); - }); - - describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', () => { - args = { - ticker, - count, - type: TransferRestrictionType.Count, - }; - - let proc = procedureMockUtils.getInstance( - mockContext - ); - let boundFunc = getAuthorization.bind(proc); - - expect(boundFunc(args)).toEqual({ - permissions: { - assets: [expect.objectContaining({ ticker })], - transactions: [TxTags.statistics.SetAssetTransferCompliance], - portfolios: [], - }, - }); - expect(boundFunc({ ...args, exemptedIdentities: ['someScopeId'] })).toEqual({ - permissions: { - assets: [expect.objectContaining({ ticker })], - transactions: [ - TxTags.statistics.SetAssetTransferCompliance, - TxTags.statistics.SetEntitiesExempt, - ], - portfolios: [], - }, - }); - - proc = procedureMockUtils.getInstance(mockContext); - boundFunc = getAuthorization.bind(proc); - - expect(boundFunc(args)).toEqual({ - permissions: { - assets: [expect.objectContaining({ ticker })], - transactions: [TxTags.statistics.SetAssetTransferCompliance], - portfolios: [], - }, - }); - }); - }); -}); diff --git a/src/api/procedures/__tests__/affirmConfidentialTransactions.ts b/src/api/procedures/__tests__/affirmConfidentialTransactions.ts index d205c1c7fb..4e6eccf059 100644 --- a/src/api/procedures/__tests__/affirmConfidentialTransactions.ts +++ b/src/api/procedures/__tests__/affirmConfidentialTransactions.ts @@ -1,4 +1,5 @@ import { u32, u64 } from '@polkadot/types'; +import * as utilsPublicConversionModule from '@polymeshassociation/polymesh-sdk/utils/conversion'; import BigNumber from 'bignumber.js'; import { when } from 'jest-when'; @@ -19,9 +20,9 @@ import { import * as utilsConversionModule from '~/utils/conversion'; jest.mock( - '~/api/entities/confidential/ConfidentialTransaction', + '~/api/entities/ConfidentialTransaction', require('~/testUtils/mocks/entities').mockConfidentialTransactionModule( - '~/api/entities/confidential/ConfidentialTransaction' + '~/api/entities/ConfidentialTransaction' ) ); @@ -41,8 +42,8 @@ describe('affirmConfidentialTransactions procedure', () => { procedureMockUtils.initMocks(); entityMockUtils.initMocks(); - bigNumberToU64Spy = jest.spyOn(utilsConversionModule, 'bigNumberToU64'); - bigNumberToU32Spy = jest.spyOn(utilsConversionModule, 'bigNumberToU32'); + bigNumberToU64Spy = jest.spyOn(utilsPublicConversionModule, 'bigNumberToU64'); + bigNumberToU32Spy = jest.spyOn(utilsPublicConversionModule, 'bigNumberToU32'); confidentialAffirmsToRawSpy = jest.spyOn(utilsConversionModule, 'confidentialAffirmsToRaw'); legId = new BigNumber(1); }); diff --git a/src/api/procedures/__tests__/applyIncomingAssetBalance.ts b/src/api/procedures/__tests__/applyIncomingAssetBalance.ts index 1ce79e3f55..6268aaaa65 100644 --- a/src/api/procedures/__tests__/applyIncomingAssetBalance.ts +++ b/src/api/procedures/__tests__/applyIncomingAssetBalance.ts @@ -1,3 +1,4 @@ +import { ErrorCode } from '@polymeshassociation/polymesh-sdk/types'; import { when } from 'jest-when'; import { @@ -7,7 +8,7 @@ import { import { Context, PolymeshError } from '~/internal'; import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; import { Mocked } from '~/testUtils/types'; -import { ApplyIncomingBalanceParams, ConfidentialAsset, ErrorCode, TxTags } from '~/types'; +import { ApplyIncomingBalanceParams, ConfidentialAsset, TxTags } from '~/types'; import * as utilsConversionModule from '~/utils/conversion'; import { ConfidentialAccount } from './../../entities/types'; diff --git a/src/api/procedures/__tests__/applyIncomingConfidentialAssetBalances.ts b/src/api/procedures/__tests__/applyIncomingConfidentialAssetBalances.ts index 0500275543..c5532468b9 100644 --- a/src/api/procedures/__tests__/applyIncomingConfidentialAssetBalances.ts +++ b/src/api/procedures/__tests__/applyIncomingConfidentialAssetBalances.ts @@ -1,4 +1,5 @@ import { u16 } from '@polkadot/types'; +import { ErrorCode } from '@polymeshassociation/polymesh-sdk/types'; import BigNumber from 'bignumber.js'; import { when } from 'jest-when'; @@ -9,12 +10,7 @@ import { import { Context, PolymeshError } from '~/internal'; import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; import { Mocked } from '~/testUtils/types'; -import { - ApplyIncomingConfidentialAssetBalancesParams, - ConfidentialAccount, - ErrorCode, - TxTags, -} from '~/types'; +import { ApplyIncomingConfidentialAssetBalancesParams, ConfidentialAccount, TxTags } from '~/types'; import * as utilsConversionModule from '~/utils/conversion'; describe('applyIncomingConfidentialAssetBalances procedure', () => { diff --git a/src/api/procedures/__tests__/attestPrimaryKeyRotation.ts b/src/api/procedures/__tests__/attestPrimaryKeyRotation.ts deleted file mode 100644 index cdea492334..0000000000 --- a/src/api/procedures/__tests__/attestPrimaryKeyRotation.ts +++ /dev/null @@ -1,161 +0,0 @@ -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { prepareAttestPrimaryKeyRotation } from '~/api/procedures/attestPrimaryKeyRotation'; -import { Account, AuthorizationRequest, Context } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { AttestPrimaryKeyRotationParams, AuthorizationType, Identity } from '~/types'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/Account', - require('~/testUtils/mocks/entities').mockAccountModule('~/api/entities/Account') -); - -describe('attestPrimaryKeyRotation procedure', () => { - let mockContext: Mocked; - let authorizationToAuthorizationDataSpy: jest.SpyInstance; - let expiryToMomentSpy: jest.SpyInstance; - let signerToSignatorySpy: jest.SpyInstance; - - let args: AttestPrimaryKeyRotationParams; - const authId = new BigNumber(1); - const address = 'someAddress'; - let getReceivedMock: jest.Mock; - let targetAccount: Account; - let identity: Identity; - - beforeAll(() => { - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - - authorizationToAuthorizationDataSpy = jest.spyOn( - utilsConversionModule, - 'authorizationToAuthorizationData' - ); - expiryToMomentSpy = jest.spyOn(utilsConversionModule, 'expiryToMoment'); - signerToSignatorySpy = jest.spyOn(utilsConversionModule, 'signerToSignatory'); - getReceivedMock = jest.fn(); - }); - - beforeEach(() => { - mockContext = dsMockUtils.getContextInstance(); - targetAccount = entityMockUtils.getAccountInstance({ - address, - authorizationsGetReceived: getReceivedMock, - }); - identity = entityMockUtils.getIdentityInstance({ did: 'someDid' }); - args = { - identity, - targetAccount, - }; - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it('should return an add authorization transaction spec', async () => { - const expiry = new Date('1/1/2040'); - - when(getReceivedMock) - .calledWith({ - type: AuthorizationType.AttestPrimaryKeyRotation, - includeExpired: false, - }) - .mockResolvedValue([]); - - const rawSignatory = dsMockUtils.createMockSignatory({ - Account: dsMockUtils.createMockAccountId('someAccountId'), - }); - - const authorization = { - type: AuthorizationType.AttestPrimaryKeyRotation, - value: identity, - }; - const rawAuthorizationData = dsMockUtils.createMockAuthorizationData({ - AttestPrimaryKeyRotation: dsMockUtils.createMockIdentityId(identity.did), - }); - - const rawExpiry = dsMockUtils.createMockMoment(new BigNumber(expiry.getTime())); - - signerToSignatorySpy.mockReturnValue(rawSignatory); - - when(authorizationToAuthorizationDataSpy) - .calledWith(authorization, mockContext) - .mockReturnValue(rawAuthorizationData); - - const proc = procedureMockUtils.getInstance< - AttestPrimaryKeyRotationParams, - AuthorizationRequest - >(mockContext); - - const transaction = dsMockUtils.createTxMock('identity', 'addAuthorization'); - - when(expiryToMomentSpy).calledWith(expiry, mockContext).mockReturnValue(rawExpiry); - - let result = await prepareAttestPrimaryKeyRotation.call(proc, args); - - expect(result).toEqual({ - transaction, - args: [rawSignatory, rawAuthorizationData, null], - resolver: expect.any(Function), - }); - - result = await prepareAttestPrimaryKeyRotation.call(proc, { ...args, expiry }); - - expect(result).toEqual({ - transaction, - args: [rawSignatory, rawAuthorizationData, rawExpiry], - resolver: expect.any(Function), - }); - }); - - it('should throw an error if the passed Account has a pending authorization to accept', () => { - const target = entityMockUtils.getAccountInstance({ - address, - }); - dsMockUtils.createTxMock('identity', 'addAuthorization'); - - const receivedAuthorizations: AuthorizationRequest[] = [ - new AuthorizationRequest( - { - target, - issuer: entityMockUtils.getIdentityInstance(), - authId, - expiry: null, - data: { - type: AuthorizationType.AttestPrimaryKeyRotation, - value: identity, - }, - }, - mockContext - ), - ]; - - when(getReceivedMock) - .calledWith({ - type: AuthorizationType.AttestPrimaryKeyRotation, - includeExpired: false, - }) - .mockResolvedValue(receivedAuthorizations); - - const proc = procedureMockUtils.getInstance< - AttestPrimaryKeyRotationParams, - AuthorizationRequest - >(mockContext); - - return expect(prepareAttestPrimaryKeyRotation.call(proc, { ...args })).rejects.toThrow( - 'The target Account already has a pending attestation to become the primary key of the target Identity' - ); - }); -}); diff --git a/src/api/procedures/__tests__/burnConfidentialAssets.ts b/src/api/procedures/__tests__/burnConfidentialAssets.ts index 1bb3267daa..9c1593cb24 100644 --- a/src/api/procedures/__tests__/burnConfidentialAssets.ts +++ b/src/api/procedures/__tests__/burnConfidentialAssets.ts @@ -1,5 +1,7 @@ import { Balance } from '@polkadot/types/interfaces'; import { ConfidentialAssetsBurnConfidentialBurnProof } from '@polkadot/types/lookup'; +import { ErrorCode } from '@polymeshassociation/polymesh-sdk/types'; +import * as utilsPublicConversionModule from '@polymeshassociation/polymesh-sdk/utils/conversion'; import BigNumber from 'bignumber.js'; import { when } from 'jest-when'; @@ -11,13 +13,13 @@ import { import { Context, PolymeshError } from '~/internal'; import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; import { Mocked } from '~/testUtils/types'; -import { ConfidentialAccount, ConfidentialAsset, ErrorCode, RoleType, TxTags } from '~/types'; +import { ConfidentialAccount, ConfidentialAsset, RoleType, TxTags } from '~/types'; import * as utilsConversionModule from '~/utils/conversion'; jest.mock( - '~/api/entities/confidential/ConfidentialAsset', + '~/api/entities/ConfidentialAsset', require('~/testUtils/mocks/entities').mockConfidentialAssetModule( - '~/api/entities/confidential/ConfidentialAsset' + '~/api/entities/ConfidentialAsset' ) ); @@ -40,7 +42,7 @@ describe('burnConfidentialAssets procedure', () => { procedureMockUtils.initMocks(); entityMockUtils.initMocks(); - bigNumberToU128Spy = jest.spyOn(utilsConversionModule, 'bigNumberToU128'); + bigNumberToU128Spy = jest.spyOn(utilsPublicConversionModule, 'bigNumberToU128'); serializeConfidentialAssetIdSpy = jest.spyOn( utilsConversionModule, 'serializeConfidentialAssetId' @@ -68,7 +70,11 @@ describe('burnConfidentialAssets procedure', () => { when(bigNumberToU128Spy).calledWith(amount, mockContext).mockReturnValue(rawAmount); - account = entityMockUtils.getConfidentialAccountInstance(); + account = entityMockUtils.getConfidentialAccountInstance({ + getIdentity: entityMockUtils.getIdentityInstance({ + did: 'someDid', + }), + }); args = { confidentialAsset: asset, diff --git a/src/api/procedures/__tests__/claimDividends.ts b/src/api/procedures/__tests__/claimDividends.ts deleted file mode 100644 index b0977f270a..0000000000 --- a/src/api/procedures/__tests__/claimDividends.ts +++ /dev/null @@ -1,169 +0,0 @@ -import BigNumber from 'bignumber.js'; - -import { Params, prepareClaimDividends } from '~/api/procedures/claimDividends'; -import { Context, DividendDistribution } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { TargetTreatment } from '~/types'; -import { PolymeshTx } from '~/types/internal'; -import * as utilsConversionModule from '~/utils/conversion'; - -describe('claimDividends procedure', () => { - const ticker = 'SOME_TICKER'; - const did = 'someDid'; - const id = new BigNumber(1); - const paymentDate = new Date('10/14/1987'); - const expiryDate = new Date(new Date().getTime() + 1000 * 60 * 60 * 24 * 365); - - const rawCaId = dsMockUtils.createMockCAId({ ticker, localId: id }); - const rawDid = dsMockUtils.createMockIdentityId(did); - - let distribution: DividendDistribution; - - let mockContext: Mocked; - let claimDividendsTransaction: PolymeshTx; - - beforeAll(() => { - entityMockUtils.initMocks(); - dsMockUtils.initMocks({ contextOptions: { did } }); - procedureMockUtils.initMocks(); - - jest.spyOn(utilsConversionModule, 'corporateActionIdentifierToCaId').mockReturnValue(rawCaId); - jest.spyOn(utilsConversionModule, 'stringToIdentityId').mockReturnValue(rawDid); - }); - - beforeEach(() => { - claimDividendsTransaction = dsMockUtils.createTxMock('capitalDistribution', 'claim'); - mockContext = dsMockUtils.getContextInstance(); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it('should throw an error if the Distribution is expired', async () => { - const date = new Date(new Date().getTime() + 1000 * 60 * 60); - distribution = entityMockUtils.getDividendDistributionInstance({ - paymentDate: date, - expiryDate, - targets: { - identities: [], - treatment: TargetTreatment.Exclude, - }, - }); - - const proc = procedureMockUtils.getInstance(mockContext); - - let err; - - try { - await prepareClaimDividends.call(proc, { distribution }); - } catch (error) { - err = error; - } - - expect(err.message).toBe("The Distribution's payment date hasn't been reached"); - expect(err.data).toEqual({ - paymentDate: date, - }); - }); - - it('should throw an error if the Distribution is expired', async () => { - const date = new Date(new Date().getTime() - 1000); - distribution = entityMockUtils.getDividendDistributionInstance({ - expiryDate: date, - paymentDate, - targets: { - identities: [], - treatment: TargetTreatment.Exclude, - }, - }); - - const proc = procedureMockUtils.getInstance(mockContext); - - let err; - - try { - await prepareClaimDividends.call(proc, { distribution }); - } catch (error) { - err = error; - } - - expect(err.message).toBe('The Distribution has already expired'); - expect(err.data).toEqual({ - expiryDate: date, - }); - }); - - it('should throw an error if the signing Identity is not included in the Distribution', async () => { - distribution = entityMockUtils.getDividendDistributionInstance({ - paymentDate, - getParticipant: null, - }); - - const proc = procedureMockUtils.getInstance(mockContext); - - let err; - - try { - await prepareClaimDividends.call(proc, { distribution }); - } catch (error) { - err = error; - } - - expect(err.message).toBe('The signing Identity is not included in this Distribution'); - }); - - it('should throw an error if the signing Identity has already claimed', async () => { - distribution = entityMockUtils.getDividendDistributionInstance({ - paymentDate, - getParticipant: { - paid: true, - identity: entityMockUtils.getIdentityInstance({ did }), - amount: new BigNumber(100), - }, - }); - - const proc = procedureMockUtils.getInstance(mockContext); - - let err; - - try { - await prepareClaimDividends.call(proc, { distribution }); - } catch (error) { - err = error; - } - - expect(err.message).toBe('The signing Identity has already claimed dividends'); - }); - - it('should return a claim dividends transaction spec', async () => { - distribution = entityMockUtils.getDividendDistributionInstance({ - paymentDate, - getParticipant: { - paid: false, - identity: entityMockUtils.getIdentityInstance({ did }), - amount: new BigNumber(100), - }, - }); - - const proc = procedureMockUtils.getInstance(mockContext); - - const result = await prepareClaimDividends.call(proc, { - distribution, - }); - - expect(result).toEqual({ - transaction: claimDividendsTransaction, - args: [rawCaId], - resolver: undefined, - }); - }); -}); diff --git a/src/api/procedures/__tests__/clearMetadata.ts b/src/api/procedures/__tests__/clearMetadata.ts deleted file mode 100644 index 3fc865c2c5..0000000000 --- a/src/api/procedures/__tests__/clearMetadata.ts +++ /dev/null @@ -1,136 +0,0 @@ -import { - PolymeshPrimitivesAssetMetadataAssetMetadataKey, - PolymeshPrimitivesTicker, -} from '@polkadot/types/lookup'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { getAuthorization, Params, prepareClearMetadata } from '~/api/procedures/clearMetadata'; -import { Context, MetadataEntry, PolymeshError } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { ErrorCode, MetadataType, TxTags } from '~/types'; -import { PolymeshTx } from '~/types/internal'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/Asset/Fungible', - require('~/testUtils/mocks/entities').mockFungibleAssetModule('~/api/entities/Asset/Fungible') -); -jest.mock( - '~/api/entities/MetadataEntry', - require('~/testUtils/mocks/entities').mockMetadataEntryModule('~/api/entities/MetadataEntry') -); - -describe('clearMetadata procedure', () => { - let mockContext: Mocked; - let stringToTickerSpy: jest.SpyInstance; - let metadataToMeshMetadataKeySpy: jest.SpyInstance; - - let ticker: string; - let id: BigNumber; - let type: MetadataType; - let rawTicker: PolymeshPrimitivesTicker; - let rawMetadataKey: PolymeshPrimitivesAssetMetadataAssetMetadataKey; - let params: Params; - - let removeMetadataValueMock: PolymeshTx< - [PolymeshPrimitivesTicker, PolymeshPrimitivesAssetMetadataAssetMetadataKey] - >; - - let isModifiableSpy: jest.SpyInstance; - - let metadataEntry: MetadataEntry; - - beforeAll(() => { - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - - stringToTickerSpy = jest.spyOn(utilsConversionModule, 'stringToTicker'); - metadataToMeshMetadataKeySpy = jest.spyOn(utilsConversionModule, 'metadataToMeshMetadataKey'); - }); - - beforeEach(() => { - mockContext = dsMockUtils.getContextInstance(); - ticker = 'SOME_TICKER'; - rawTicker = dsMockUtils.createMockTicker(ticker); - - id = new BigNumber(1); - type = MetadataType.Local; - - metadataEntry = new MetadataEntry({ id, type, ticker }, mockContext); - - isModifiableSpy = jest.spyOn(metadataEntry, 'isModifiable'); - isModifiableSpy.mockResolvedValue({ - canModify: true, - }); - - params = { metadataEntry }; - - when(stringToTickerSpy).calledWith(ticker, mockContext).mockReturnValue(rawTicker); - - rawMetadataKey = dsMockUtils.createMockAssetMetadataKey({ - Local: dsMockUtils.createMockU64(id), - }); - when(metadataToMeshMetadataKeySpy) - .calledWith(type, id, mockContext) - .mockReturnValue(rawMetadataKey); - - removeMetadataValueMock = dsMockUtils.createTxMock('asset', 'removeMetadataValue'); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - jest.restoreAllMocks(); - }); - - it('should return a remove metadata value transaction spec', async () => { - const proc = procedureMockUtils.getInstance(mockContext); - - const result = await prepareClearMetadata.call(proc, params); - - expect(result).toEqual({ - transaction: removeMetadataValueMock, - args: [rawTicker, rawMetadataKey], - resolver: undefined, - }); - }); - - it('should throw an error if MetadataEntry is not modifiable', () => { - const mockError = new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: 'Metadata does not exists', - }); - isModifiableSpy.mockResolvedValue({ - canModify: false, - reason: mockError, - }); - const proc = procedureMockUtils.getInstance(mockContext); - - return expect(prepareClearMetadata.call(proc, params)).rejects.toThrow(mockError); - }); - - describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', () => { - const proc = procedureMockUtils.getInstance(mockContext); - - const boundFunc = getAuthorization.bind(proc); - - expect(boundFunc(params)).toEqual({ - permissions: { - transactions: [TxTags.asset.RemoveMetadataValue], - assets: [expect.objectContaining({ ticker })], - portfolios: [], - }, - }); - }); - }); -}); diff --git a/src/api/procedures/__tests__/closeOffering.ts b/src/api/procedures/__tests__/closeOffering.ts deleted file mode 100644 index 007728c222..0000000000 --- a/src/api/procedures/__tests__/closeOffering.ts +++ /dev/null @@ -1,114 +0,0 @@ -import BigNumber from 'bignumber.js'; - -import { getAuthorization, Params, prepareCloseOffering } from '~/api/procedures/closeOffering'; -import { Context } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { OfferingBalanceStatus, OfferingSaleStatus, OfferingTimingStatus, TxTags } from '~/types'; -import { PolymeshTx } from '~/types/internal'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/Offering', - require('~/testUtils/mocks/entities').mockOfferingModule('~/api/entities/Offering') -); -jest.mock( - '~/api/entities/Asset/Fungible', - require('~/testUtils/mocks/entities').mockFungibleAssetModule('~/api/entities/Asset/Fungible') -); - -describe('closeOffering procedure', () => { - const ticker = 'SOME_TICKER'; - const id = new BigNumber(1); - - const rawTicker = dsMockUtils.createMockTicker(ticker); - const rawId = dsMockUtils.createMockU64(id); - - let mockContext: Mocked; - let stopStoTransaction: PolymeshTx; - - beforeAll(() => { - entityMockUtils.initMocks({ - offeringOptions: { - details: { - status: { - sale: OfferingSaleStatus.Live, - timing: OfferingTimingStatus.Started, - balance: OfferingBalanceStatus.Available, - }, - }, - }, - }); - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - - jest.spyOn(utilsConversionModule, 'stringToTicker').mockReturnValue(rawTicker); - jest.spyOn(utilsConversionModule, 'bigNumberToU64').mockReturnValue(rawId); - }); - - beforeEach(() => { - stopStoTransaction = dsMockUtils.createTxMock('sto', 'stop'); - mockContext = dsMockUtils.getContextInstance(); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it('should return a stop sto transaction spec', async () => { - const proc = procedureMockUtils.getInstance(mockContext); - - const result = await prepareCloseOffering.call(proc, { ticker, id }); - - expect(result).toEqual({ - transaction: stopStoTransaction, - args: [rawTicker, rawId], - resolver: undefined, - }); - }); - - it('should throw an error if the Offering is already closed', async () => { - entityMockUtils.configureMocks({ - offeringOptions: { - details: { - status: { - sale: OfferingSaleStatus.Closed, - timing: OfferingTimingStatus.Started, - balance: OfferingBalanceStatus.Available, - }, - }, - }, - }); - - const proc = procedureMockUtils.getInstance(mockContext); - - return expect(prepareCloseOffering.call(proc, { ticker, id })).rejects.toThrow( - 'The Offering is already closed' - ); - }); - - describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', () => { - const proc = procedureMockUtils.getInstance(mockContext); - const boundFunc = getAuthorization.bind(proc); - const args = { - ticker, - } as Params; - - expect(boundFunc(args)).toEqual({ - permissions: { - transactions: [TxTags.sto.Stop], - assets: [expect.objectContaining({ ticker })], - portfolios: [], - }, - }); - }); - }); -}); diff --git a/src/api/procedures/__tests__/configureDividendDistribution.ts b/src/api/procedures/__tests__/configureDividendDistribution.ts deleted file mode 100644 index 8bdfd8e12d..0000000000 --- a/src/api/procedures/__tests__/configureDividendDistribution.ts +++ /dev/null @@ -1,774 +0,0 @@ -import { u64 } from '@polkadot/types'; -import { Balance } from '@polkadot/types/interfaces'; -import { - PalletCorporateActionsCorporateAction, - PalletCorporateActionsDistribution, - PalletCorporateActionsInitiateCorporateActionArgs, - PolymeshPrimitivesTicker, -} from '@polkadot/types/lookup'; -import { ISubmittableResult } from '@polkadot/types/types'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { - createDividendDistributionResolver, - getAuthorization, - Params, - prepareConfigureDividendDistribution, - prepareStorage, - Storage, -} from '~/api/procedures/configureDividendDistribution'; -import { Context, DividendDistribution, NumberedPortfolio } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { CorporateActionKind, InputCaCheckpoint, RoleType, TargetTreatment, TxTags } from '~/types'; -import { PolymeshTx } from '~/types/internal'; -import { tuple } from '~/types/utils'; -import * as utilsConversionModule from '~/utils/conversion'; -import * as utilsInternalModule from '~/utils/internal'; - -jest.mock( - '~/api/entities/DefaultPortfolio', - require('~/testUtils/mocks/entities').mockDefaultPortfolioModule( - '~/api/entities/DefaultPortfolio' - ) -); -jest.mock( - '~/api/entities/NumberedPortfolio', - require('~/testUtils/mocks/entities').mockNumberedPortfolioModule( - '~/api/entities/NumberedPortfolio' - ) -); -jest.mock( - '~/api/entities/DividendDistribution', - require('~/testUtils/mocks/entities').mockDividendDistributionModule( - '~/api/entities/DividendDistribution' - ) -); -jest.mock( - '~/api/entities/Identity', - require('~/testUtils/mocks/entities').mockIdentityModule('~/api/entities/Identity') -); -jest.mock( - '~/api/entities/Asset/Fungible', - require('~/testUtils/mocks/entities').mockFungibleAssetModule('~/api/entities/Asset/Fungible') -); - -describe('configureDividendDistribution procedure', () => { - let ticker: string; - let declarationDate: Date; - let checkpoint: InputCaCheckpoint; - let description: string; - let targets: { identities: string[]; treatment: TargetTreatment }; - let defaultTaxWithholding: BigNumber; - let taxWithholdings: { identity: string; percentage: BigNumber }[]; - let originPortfolio: NumberedPortfolio; - let currency: string; - let perShare: BigNumber; - let maxAmount: BigNumber; - let paymentDate: Date; - let expiryDate: Date; - - let rawPortfolioNumber: u64; - let rawCurrency: PolymeshPrimitivesTicker; - let rawPerShare: Balance; - let rawAmount: Balance; - let rawPaymentAt: u64; - let rawExpiresAt: u64; - let rawCorporateActionArgs: PalletCorporateActionsInitiateCorporateActionArgs; - - let mockContext: Mocked; - let initiateCorporateActionAndDistributeTransaction: PolymeshTx; - - let stringToTickerSpy: jest.SpyInstance; - let bigNumberToU64Spy: jest.SpyInstance; - let dateToMomentSpy: jest.SpyInstance; - let bigNumberToBalanceSpy: jest.SpyInstance; - let corporateActionParamsToMeshCorporateActionArgsSpy: jest.SpyInstance; - - beforeAll(() => { - entityMockUtils.initMocks(); - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - - ticker = 'SOME_TICKER'; - declarationDate = new Date('10/14/1987'); - checkpoint = new Date(new Date().getTime() + 60 * 60 * 1000); - description = 'someDescription'; - targets = { - identities: ['someDid'], - treatment: TargetTreatment.Exclude, - }; - defaultTaxWithholding = new BigNumber(10); - taxWithholdings = [{ identity: 'someDid', percentage: new BigNumber(30) }]; - originPortfolio = entityMockUtils.getNumberedPortfolioInstance({ - id: new BigNumber(2), - getAssetBalances: [ - { - asset: entityMockUtils.getFungibleAssetInstance({ ticker: currency }), - total: new BigNumber(1000001), - locked: new BigNumber(0), - free: new BigNumber(1000001), - }, - ], - }); - currency = 'USD'; - perShare = new BigNumber(100); - maxAmount = new BigNumber(1000000); - paymentDate = new Date(checkpoint.getTime() + 60 * 60 * 1000); - expiryDate = new Date(paymentDate.getTime() + 60 * 60 * 1000 * 24 * 365); - - rawPortfolioNumber = dsMockUtils.createMockU64(originPortfolio.id); - rawCurrency = dsMockUtils.createMockTicker(currency); - rawPerShare = dsMockUtils.createMockBalance(perShare); - rawAmount = dsMockUtils.createMockBalance(maxAmount); - rawPaymentAt = dsMockUtils.createMockMoment(new BigNumber(paymentDate.getTime())); - rawExpiresAt = dsMockUtils.createMockMoment(new BigNumber(expiryDate.getTime())); - rawCorporateActionArgs = dsMockUtils.createMockInitiateCorporateActionArgs({ - ticker, - kind: CorporateActionKind.UnpredictableBenefit, - declDate: dsMockUtils.createMockMoment(new BigNumber(declarationDate.getTime())), - recordDate: dsMockUtils.createMockOption( - dsMockUtils.createMockRecordDateSpec({ - Scheduled: dsMockUtils.createMockMoment(new BigNumber(checkpoint.getTime())), - }) - ), - details: description, - targets: dsMockUtils.createMockOption(dsMockUtils.createMockTargetIdentities(targets)), - defaultWithholdingTax: dsMockUtils.createMockOption( - dsMockUtils.createMockPermill(defaultTaxWithholding) - ), - withholdingTax: [[taxWithholdings[0].identity, taxWithholdings[0].percentage]], - }); - - stringToTickerSpy = jest.spyOn(utilsConversionModule, 'stringToTicker'); - bigNumberToU64Spy = jest.spyOn(utilsConversionModule, 'bigNumberToU64'); - dateToMomentSpy = jest.spyOn(utilsConversionModule, 'dateToMoment'); - bigNumberToBalanceSpy = jest.spyOn(utilsConversionModule, 'bigNumberToBalance'); - corporateActionParamsToMeshCorporateActionArgsSpy = jest.spyOn( - utilsConversionModule, - 'corporateActionParamsToMeshCorporateActionArgs' - ); - }); - - beforeEach(() => { - initiateCorporateActionAndDistributeTransaction = dsMockUtils.createTxMock( - 'corporateAction', - 'initiateCorporateActionAndDistribute' - ); - - mockContext = dsMockUtils.getContextInstance(); - - when(stringToTickerSpy).calledWith(currency, mockContext).mockReturnValue(rawCurrency); - when(bigNumberToU64Spy) - .calledWith(originPortfolio.id, mockContext) - .mockReturnValue(rawPortfolioNumber); - when(dateToMomentSpy).calledWith(paymentDate, mockContext).mockReturnValue(rawPaymentAt); - when(dateToMomentSpy).calledWith(expiryDate, mockContext).mockReturnValue(rawExpiresAt); - when(bigNumberToBalanceSpy).calledWith(perShare, mockContext).mockReturnValue(rawPerShare); - when(bigNumberToBalanceSpy).calledWith(maxAmount, mockContext).mockReturnValue(rawAmount); - when(corporateActionParamsToMeshCorporateActionArgsSpy) - .calledWith( - { - ticker, - kind: CorporateActionKind.UnpredictableBenefit, - declarationDate, - checkpoint, - description, - targets, - defaultTaxWithholding, - taxWithholdings, - }, - mockContext - ) - .mockReturnValue(rawCorporateActionArgs); - when(corporateActionParamsToMeshCorporateActionArgsSpy) - .calledWith( - { - ticker, - kind: CorporateActionKind.UnpredictableBenefit, - declarationDate: expect.any(Date), - checkpoint, - description, - targets: null, - defaultTaxWithholding: null, - taxWithholdings: null, - }, - mockContext - ) - .mockReturnValue(rawCorporateActionArgs); - - dsMockUtils.createQueryMock('corporateAction', 'maxDetailsLength', { - returnValue: dsMockUtils.createMockU32(new BigNumber(100)), - }); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it('should throw an error if the Asset is being used as the distribution currency', async () => { - const proc = procedureMockUtils.getInstance( - mockContext, - { portfolio: originPortfolio } - ); - - let err; - - try { - await prepareConfigureDividendDistribution.call(proc, { - ticker, - declarationDate, - checkpoint, - description, - targets, - defaultTaxWithholding, - taxWithholdings, - originPortfolio, - currency: ticker, - perShare, - maxAmount, - paymentDate, - expiryDate, - }); - } catch (error) { - err = error; - } - - expect(err.message).toBe('Cannot distribute Dividends using the Asset as currency'); - }); - - it('should throw an error if the payment date is in the past', async () => { - const proc = procedureMockUtils.getInstance( - mockContext, - { portfolio: originPortfolio } - ); - - let err; - - try { - await prepareConfigureDividendDistribution.call(proc, { - ticker, - declarationDate, - checkpoint, - description, - targets, - defaultTaxWithholding, - taxWithholdings, - originPortfolio, - currency, - perShare, - maxAmount, - paymentDate: new Date('10/14/1987'), - expiryDate, - }); - } catch (error) { - err = error; - } - - expect(err.message).toBe('Payment date must be in the future'); - }); - - it('should throw an error if the declaration date is in the future', async () => { - const proc = procedureMockUtils.getInstance( - mockContext, - { portfolio: originPortfolio } - ); - - let err; - - try { - await prepareConfigureDividendDistribution.call(proc, { - ticker, - declarationDate: new Date(new Date().getTime() + 500000), - checkpoint, - description, - targets, - defaultTaxWithholding, - taxWithholdings, - originPortfolio, - currency, - perShare, - maxAmount, - paymentDate, - expiryDate, - }); - } catch (error) { - err = error; - } - - expect(err.message).toBe('Declaration date must be in the past'); - }); - - it('should throw an error if the payment date is earlier than the Checkpoint date', async () => { - const proc = procedureMockUtils.getInstance( - mockContext, - { portfolio: originPortfolio } - ); - - let err; - - try { - await prepareConfigureDividendDistribution.call(proc, { - ticker, - declarationDate, - checkpoint, - description, - targets, - defaultTaxWithholding, - taxWithholdings, - originPortfolio, - currency, - perShare, - maxAmount, - paymentDate: new Date(new Date().getTime() + 1000 * 60 * 20), - expiryDate, - }); - } catch (error) { - err = error; - } - - expect(err.message).toBe('Payment date must be after the Checkpoint date'); - - try { - await prepareConfigureDividendDistribution.call(proc, { - ticker, - declarationDate, - checkpoint: entityMockUtils.getCheckpointScheduleInstance(), - description, - targets, - defaultTaxWithholding, - taxWithholdings, - originPortfolio, - currency, - perShare, - maxAmount, - paymentDate: new Date(new Date().getTime() + 1000 * 60 * 20), - expiryDate, - }); - } catch (error) { - err = error; - } - - expect(err.message).toBe('Payment date must be after the Checkpoint date'); - }); - - it('should throw an error if the description length is greater than the allowed maximum', async () => { - const proc = procedureMockUtils.getInstance( - mockContext, - { portfolio: originPortfolio } - ); - - dsMockUtils.createQueryMock('corporateAction', 'maxDetailsLength', { - returnValue: dsMockUtils.createMockU32(new BigNumber(1)), - }); - - let err; - - try { - await prepareConfigureDividendDistribution.call(proc, { - ticker, - declarationDate, - checkpoint, - description, - targets, - defaultTaxWithholding, - taxWithholdings, - currency, - perShare, - maxAmount, - paymentDate, - expiryDate, - }); - } catch (error) { - err = error; - } - - expect(err.message).toBe('Description too long'); - }); - - it('should throw an error if the payment date is after the expiry date', async () => { - const proc = procedureMockUtils.getInstance( - mockContext, - { portfolio: originPortfolio } - ); - - let err; - - try { - await prepareConfigureDividendDistribution.call(proc, { - ticker, - declarationDate, - checkpoint, - description, - targets, - defaultTaxWithholding, - taxWithholdings, - currency, - perShare, - maxAmount, - paymentDate, - expiryDate: new Date(paymentDate.getTime() - 1000), - }); - } catch (error) { - err = error; - } - - expect(err.message).toBe('Expiry date must be after payment date'); - }); - - it('should throw an error if the origin Portfolio does not have enough balance', async () => { - const proc = procedureMockUtils.getInstance( - mockContext, - { - portfolio: entityMockUtils.getNumberedPortfolioInstance({ - getAssetBalances: [ - { - asset: entityMockUtils.getFungibleAssetInstance({ ticker: currency }), - total: new BigNumber(1), - locked: new BigNumber(0), - free: new BigNumber(1), - }, - ], - }), - } - ); - - let err; - - try { - await prepareConfigureDividendDistribution.call(proc, { - ticker, - declarationDate, - checkpoint: entityMockUtils.getCheckpointInstance(), - description, - targets, - defaultTaxWithholding, - taxWithholdings, - originPortfolio, - currency, - perShare, - maxAmount, - paymentDate, - expiryDate, - }); - } catch (error) { - err = error; - } - - expect(err.message).toBe( - "The origin Portfolio's free balance is not enough to cover the Distribution amount" - ); - expect(err.data).toEqual({ - free: new BigNumber(1), - }); - }); - - it('should throw an error if the origin Portfolio does not exist', async () => { - const proc = procedureMockUtils.getInstance( - mockContext, - { - portfolio: entityMockUtils.getNumberedPortfolioInstance({ - exists: false, - }), - } - ); - - let err; - - try { - await prepareConfigureDividendDistribution.call(proc, { - ticker, - declarationDate, - checkpoint: entityMockUtils.getCheckpointInstance(), - description, - targets, - defaultTaxWithholding, - taxWithholdings, - originPortfolio, - currency, - perShare, - maxAmount, - paymentDate, - expiryDate, - }); - } catch (error) { - err = error; - } - - expect(err.message).toBe("The origin Portfolio doesn't exist"); - }); - - it('should return an initiate corporate action and distribute transaction spec', async () => { - let proc = procedureMockUtils.getInstance(mockContext, { - portfolio: originPortfolio, - }); - - let result = await prepareConfigureDividendDistribution.call(proc, { - ticker, - declarationDate, - checkpoint, - description, - targets, - defaultTaxWithholding, - taxWithholdings, - originPortfolio, - currency, - perShare, - maxAmount, - paymentDate, - expiryDate, - }); - - expect(result).toEqual({ - transaction: initiateCorporateActionAndDistributeTransaction, - resolver: expect.any(Function), - args: [ - rawCorporateActionArgs, - rawPortfolioNumber, - rawCurrency, - rawPerShare, - rawAmount, - rawPaymentAt, - rawExpiresAt, - ], - }); - - result = await prepareConfigureDividendDistribution.call(proc, { - ticker, - declarationDate, - checkpoint, - description, - targets, - defaultTaxWithholding, - taxWithholdings, - originPortfolio: originPortfolio.id, - currency, - perShare, - maxAmount, - paymentDate, - expiryDate, - }); - - expect(result).toEqual({ - transaction: initiateCorporateActionAndDistributeTransaction, - resolver: expect.any(Function), - args: [ - rawCorporateActionArgs, - rawPortfolioNumber, - rawCurrency, - rawPerShare, - rawAmount, - rawPaymentAt, - rawExpiresAt, - ], - }); - - proc = procedureMockUtils.getInstance(mockContext, { - portfolio: entityMockUtils.getDefaultPortfolioInstance({ - did: 'someDid', - getAssetBalances: [ - { - asset: entityMockUtils.getFungibleAssetInstance({ ticker: currency }), - total: new BigNumber(1000001), - locked: new BigNumber(0), - free: new BigNumber(1000001), - }, - ], - }), - }); - - result = await prepareConfigureDividendDistribution.call(proc, { - ticker, - checkpoint, - description, - currency, - perShare, - maxAmount, - paymentDate, - }); - - expect(result).toEqual({ - transaction: initiateCorporateActionAndDistributeTransaction, - resolver: expect.any(Function), - args: [rawCorporateActionArgs, null, rawCurrency, rawPerShare, rawAmount, rawPaymentAt, null], - }); - }); - - describe('dividendDistributionResolver', () => { - const filterEventRecordsSpy = jest.spyOn(utilsInternalModule, 'filterEventRecords'); - const id = new BigNumber(1); - const portfolioNumber = new BigNumber(3); - const did = 'someDid'; - - let rawCorporateAction: PalletCorporateActionsCorporateAction; - let rawDistribution: PalletCorporateActionsDistribution; - - beforeAll(() => { - entityMockUtils.initMocks(); - - /* eslint-disable @typescript-eslint/naming-convention */ - rawCorporateAction = dsMockUtils.createMockCorporateAction({ - kind: 'UnpredictableBenefit', - decl_date: new BigNumber(declarationDate.getTime()), - record_date: dsMockUtils.createMockRecordDate({ - date: new BigNumber(new Date('10/14/2021').getTime()), - checkpoint: { - Scheduled: [ - dsMockUtils.createMockU64(new BigNumber(1)), - dsMockUtils.createMockU64(new BigNumber(2)), - ], - }, - }), - targets, - default_withholding_tax: defaultTaxWithholding.shiftedBy(4), - withholding_tax: taxWithholdings.map(({ identity, percentage }) => - tuple(identity, percentage.shiftedBy(4)) - ), - }); - rawDistribution = dsMockUtils.createMockDistribution({ - from: { did, kind: { User: dsMockUtils.createMockU64(portfolioNumber) } }, - currency, - perShare: perShare.shiftedBy(6), - amount: maxAmount.shiftedBy(6), - remaining: new BigNumber(10000), - reclaimed: false, - paymentAt: new BigNumber(paymentDate.getTime()), - expiresAt: dsMockUtils.createMockOption( - dsMockUtils.createMockMoment(new BigNumber(expiryDate?.getTime())) - ), - }); - /* eslint-enable @typescript-eslint/naming-convention */ - - dsMockUtils.createQueryMock('corporateAction', 'corporateActions', { - returnValue: dsMockUtils.createMockOption(rawCorporateAction), - }); - dsMockUtils.createQueryMock('corporateAction', 'details', { - returnValue: dsMockUtils.createMockBytes(description), - }); - }); - - beforeEach(() => { - filterEventRecordsSpy.mockReturnValue([ - dsMockUtils.createMockIEvent([ - 'data', - dsMockUtils.createMockCAId({ - ticker, - localId: id, - }), - rawDistribution, - ]), - ]); - }); - - afterEach(() => { - filterEventRecordsSpy.mockReset(); - }); - - it('should return the new DividendDistribution', async () => { - const result = await createDividendDistributionResolver(mockContext)( - {} as ISubmittableResult - ); - - expect(result.asset.ticker).toBe(ticker); - expect(result.id).toEqual(id); - expect(result.declarationDate).toEqual(declarationDate); - expect(result.description).toEqual(description); - expect(result.targets).toEqual({ - identities: targets.identities.map(targetDid => - expect.objectContaining({ did: targetDid }) - ), - - treatment: targets.treatment, - }); - expect(result.defaultTaxWithholding).toEqual(defaultTaxWithholding); - expect(result.taxWithholdings).toEqual([ - { - identity: expect.objectContaining({ did: taxWithholdings[0].identity }), - percentage: taxWithholdings[0].percentage, - }, - ]); - expect(result.origin).toEqual( - expect.objectContaining({ - owner: expect.objectContaining({ did }), - id: new BigNumber(portfolioNumber), - }) - ); - expect(result.currency).toEqual(currency); - expect(result.maxAmount).toEqual(maxAmount); - expect(result.expiryDate).toEqual(expiryDate); - expect(result.paymentDate).toEqual(paymentDate); - }); - }); - - describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', () => { - const proc = procedureMockUtils.getInstance( - mockContext, - { portfolio: originPortfolio } - ); - const boundFunc = getAuthorization.bind(proc); - const args = { - ticker, - } as Params; - - expect(boundFunc(args)).toEqual({ - roles: [ - { - type: RoleType.PortfolioCustodian, - portfolioId: { did: originPortfolio.owner.did, number: originPortfolio.id }, - }, - ], - permissions: { - transactions: [TxTags.capitalDistribution.Distribute], - assets: [expect.objectContaining({ ticker })], - portfolios: [originPortfolio], - }, - }); - }); - }); - - describe('prepareStorage', () => { - it('should return the origin Portfolio', async () => { - const did = 'someDid'; - dsMockUtils.configureMocks({ - contextOptions: { - did, - }, - }); - const proc = procedureMockUtils.getInstance( - mockContext - ); - const boundFunc = prepareStorage.bind(proc); - - let result = await boundFunc({ originPortfolio } as Params); - - expect(result).toEqual({ - portfolio: originPortfolio, - }); - - const portfolioId = new BigNumber(1); - result = await boundFunc({ originPortfolio: portfolioId } as Params); - - expect(result).toEqual({ - portfolio: expect.objectContaining({ - owner: expect.objectContaining({ did }), - id: portfolioId, - }), - }); - - result = await boundFunc({} as Params); - - expect(result).toEqual({ - portfolio: expect.objectContaining({ owner: expect.objectContaining({ did }) }), - }); - }); - }); -}); diff --git a/src/api/procedures/__tests__/consumeAddMultiSigSignerAuthorization.ts b/src/api/procedures/__tests__/consumeAddMultiSigSignerAuthorization.ts deleted file mode 100644 index f2529a7ef1..0000000000 --- a/src/api/procedures/__tests__/consumeAddMultiSigSignerAuthorization.ts +++ /dev/null @@ -1,399 +0,0 @@ -import { bool, u64 } from '@polkadot/types'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { - ConsumeAddMultiSigSignerAuthorizationParams, - getAuthorization, - prepareConsumeAddMultiSigSignerAuthorization, -} from '~/api/procedures/consumeAddMultiSigSignerAuthorization'; -import { AuthorizationRequest, Context, PolymeshError } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { - createMockIdentityId, - createMockKeyRecord, - createMockOption, -} from '~/testUtils/mocks/dataSources'; -import { Mocked } from '~/testUtils/types'; -import { Authorization, AuthorizationType, ErrorCode, Signer, TxTags } from '~/types'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/Identity', - require('~/testUtils/mocks/entities').mockIdentityModule('~/api/entities/Identity') -); - -describe('consumeAddMultiSigSignerAuthorization procedure', () => { - let mockContext: Mocked; - let targetAddress: string; - let bigNumberToU64Spy: jest.SpyInstance; - let booleanToBoolSpy: jest.SpyInstance; - let rawTrue: bool; - let rawFalse: bool; - let authId: BigNumber; - let rawAuthId: u64; - - beforeAll(() => { - targetAddress = 'someAddress'; - dsMockUtils.initMocks({ - contextOptions: { - signingAddress: targetAddress, - }, - }); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - bigNumberToU64Spy = jest.spyOn(utilsConversionModule, 'bigNumberToU64'); - booleanToBoolSpy = jest.spyOn(utilsConversionModule, 'booleanToBool'); - authId = new BigNumber(1); - rawAuthId = dsMockUtils.createMockU64(authId); - rawTrue = dsMockUtils.createMockBool(true); - rawFalse = dsMockUtils.createMockBool(false); - - jest.spyOn(utilsConversionModule, 'addressToKey').mockImplementation(); - }); - - beforeEach(() => { - mockContext = dsMockUtils.getContextInstance(); - when(bigNumberToU64Spy).calledWith(authId, mockContext).mockReturnValue(rawAuthId); - when(booleanToBoolSpy).calledWith(true, mockContext).mockReturnValue(rawTrue); - when(booleanToBoolSpy).calledWith(false, mockContext).mockReturnValue(rawFalse); - dsMockUtils.createQueryMock('identity', 'authorizations', { - returnValue: dsMockUtils.createMockOption( - dsMockUtils.createMockAuthorization({ - authorizationData: dsMockUtils.createMockAuthorizationData('RotatePrimaryKey'), - authId: new BigNumber(1), - authorizedBy: 'someDid', - expiry: dsMockUtils.createMockOption(), - }) - ), - }); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it('should throw an error if the Authorization Request is expired', () => { - const proc = procedureMockUtils.getInstance( - mockContext - ); - - const target = entityMockUtils.getAccountInstance({ address: 'someAddress' }); - - return expect( - prepareConsumeAddMultiSigSignerAuthorization.call(proc, { - authRequest: new AuthorizationRequest( - { - target, - issuer: entityMockUtils.getIdentityInstance(), - authId, - expiry: new Date('10/14/1987'), - data: { - type: AuthorizationType.AddMultiSigSigner, - value: 'someAddress', - }, - }, - mockContext - ), - accept: true, - }) - ).rejects.toThrow('The Authorization Request has expired'); - }); - - it('should throw an error if the passed Account is already part of an Identity', async () => { - const proc = procedureMockUtils.getInstance( - mockContext - ); - - dsMockUtils.createTxMock('multiSig', 'acceptMultisigSignerAsKey'); - dsMockUtils - .createQueryMock('identity', 'keyRecords') - .mockReturnValue( - createMockOption(createMockKeyRecord({ PrimaryKey: createMockIdentityId('someId') })) - ); - - const identity = entityMockUtils.getIdentityInstance(); - const target = entityMockUtils.getAccountInstance({ - address: 'someAddress', - getIdentity: identity, - }); - - const expectedError = new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'The target Account is already part of an Identity', - }); - - return expect( - prepareConsumeAddMultiSigSignerAuthorization.call(proc, { - authRequest: new AuthorizationRequest( - { - target, - issuer: entityMockUtils.getIdentityInstance(), - authId, - expiry: null, - data: { - type: AuthorizationType.AddMultiSigSigner, - value: 'multisigAddr', - }, - }, - mockContext - ), - accept: true, - }) - ).rejects.toThrowError(expectedError); - }); - - it('should return a acceptMultisigSignerAsKey transaction spec if the target is an Account', async () => { - const proc = procedureMockUtils.getInstance( - mockContext - ); - dsMockUtils.createQueryMock('identity', 'keyRecords', { - returnValue: dsMockUtils.createMockAccountId(), - }); - - const transaction = dsMockUtils.createTxMock('multiSig', 'acceptMultisigSignerAsKey'); - - const issuer = entityMockUtils.getIdentityInstance(); - const target = entityMockUtils.getAccountInstance({ - address: 'someAddress', - getIdentity: null, - }); - - const result = await prepareConsumeAddMultiSigSignerAuthorization.call(proc, { - authRequest: new AuthorizationRequest( - { - target, - issuer, - authId, - expiry: null, - data: { - type: AuthorizationType.AddMultiSigSigner, - value: 'someAccount', - }, - }, - mockContext - ), - accept: true, - }); - - expect(result).toEqual({ - transaction, - paidForBy: issuer, - args: [rawAuthId], - resolver: undefined, - }); - }); - - it('should return a acceptMultisigSignerAsIdentity transaction spec if the target is an Identity', async () => { - const proc = procedureMockUtils.getInstance( - mockContext - ); - - const transaction = dsMockUtils.createTxMock('multiSig', 'acceptMultisigSignerAsIdentity'); - - const issuer = entityMockUtils.getIdentityInstance(); - const target = entityMockUtils.getIdentityInstance({ did: 'someOtherDid' }); - - const result = await prepareConsumeAddMultiSigSignerAuthorization.call(proc, { - authRequest: new AuthorizationRequest( - { - target, - issuer, - authId, - expiry: null, - data: { - type: AuthorizationType.AddMultiSigSigner, - value: 'someAccount', - }, - }, - mockContext - ), - accept: true, - }); - - expect(result).toEqual({ - transaction, - paidForBy: issuer, - args: [rawAuthId], - resolver: undefined, - }); - }); - - it('should return a removeAuthorization transaction spec if accept is set to false', async () => { - const proc = procedureMockUtils.getInstance( - mockContext - ); - - const transaction = dsMockUtils.createTxMock('identity', 'removeAuthorization'); - - const issuer = entityMockUtils.getIdentityInstance(); - let target: Signer = entityMockUtils.getIdentityInstance({ did: 'someOtherDid' }); - - const rawSignatory = dsMockUtils.createMockSignatory({ - Identity: dsMockUtils.createMockIdentityId(target.did), - }); - - jest.spyOn(utilsConversionModule, 'signerValueToSignatory').mockReturnValue(rawSignatory); - - let result = await prepareConsumeAddMultiSigSignerAuthorization.call(proc, { - authRequest: new AuthorizationRequest( - { - target, - issuer, - authId, - expiry: null, - data: { - type: AuthorizationType.AddMultiSigSigner, - value: 'multiSigAddr', - }, - }, - mockContext - ), - accept: false, - }); - - expect(result).toEqual({ - transaction, - args: [rawSignatory, rawAuthId, rawFalse], - resolver: undefined, - }); - - target = entityMockUtils.getAccountInstance({ - address: targetAddress, - isEqual: false, - getIdentity: null, - }); - - result = await prepareConsumeAddMultiSigSignerAuthorization.call(proc, { - authRequest: new AuthorizationRequest( - { - target, - issuer, - authId, - expiry: null, - data: { - type: AuthorizationType.AddMultiSigSigner, - value: 'multiSigAddr', - }, - }, - mockContext - ), - accept: false, - }); - - expect(result).toEqual({ - transaction, - paidForBy: issuer, - args: [rawSignatory, rawAuthId, rawTrue], - resolver: undefined, - }); - }); - - describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', async () => { - const proc = procedureMockUtils.getInstance< - ConsumeAddMultiSigSignerAuthorizationParams, - void - >(mockContext); - const { address } = mockContext.getSigningAccount(); - const constructorParams = { - authId, - expiry: null, - target: entityMockUtils.getAccountInstance({ address }), - issuer: entityMockUtils.getIdentityInstance({ did: 'issuerDid1' }), - data: { - type: AuthorizationType.AddMultiSigSigner, - } as Authorization, - }; - const args = { - authRequest: new AuthorizationRequest(constructorParams, mockContext), - accept: true, - }; - - const boundFunc = getAuthorization.bind(proc); - let result = await boundFunc(args); - expect(result).toEqual({ - roles: true, - permissions: undefined, - }); - - args.authRequest.target = entityMockUtils.getIdentityInstance({ - did: 'notTheSigningIdentity', - }); - - dsMockUtils.configureMocks({ - contextOptions: { - signingIdentityIsEqual: false, - }, - }); - - result = await boundFunc(args); - expect(result).toEqual({ - roles: - '"AddMultiSigSigner" Authorization Requests can only be accepted by the target Signer', - permissions: { - transactions: [TxTags.multiSig.AcceptMultisigSignerAsIdentity], - }, - }); - - args.accept = false; - args.authRequest.issuer = await mockContext.getSigningIdentity(); - - dsMockUtils.configureMocks({ - contextOptions: { - signingIdentityIsEqual: true, - }, - }); - - result = await boundFunc(args); - expect(result).toEqual({ - roles: true, - permissions: { - transactions: [TxTags.identity.RemoveAuthorization], - }, - }); - - dsMockUtils.configureMocks({ - contextOptions: { - signingIdentityIsEqual: false, - }, - }); - - result = await boundFunc(args); - expect(result).toEqual({ - roles: - '"AddMultiSigSigner" Authorization Request can only be removed by the issuing Identity or the target Signer', - permissions: { - transactions: [TxTags.identity.RemoveAuthorization], - }, - }); - - mockContext.getSigningAccount.mockReturnValue( - entityMockUtils.getAccountInstance({ address, getIdentity: null }) - ); - - result = await boundFunc(args); - expect(result).toEqual({ - roles: - '"AddMultiSigSigner" Authorization Request can only be removed by the issuing Identity or the target Signer', - permissions: { - transactions: [TxTags.identity.RemoveAuthorization], - }, - }); - - args.authRequest.target = entityMockUtils.getAccountInstance({ address, getIdentity: null }); - - result = await boundFunc(args); - expect(result).toEqual({ - roles: true, - }); - }); - }); -}); diff --git a/src/api/procedures/__tests__/consumeAddRelayerPayingKeyAuthorization.ts b/src/api/procedures/__tests__/consumeAddRelayerPayingKeyAuthorization.ts deleted file mode 100644 index 36a38f6a78..0000000000 --- a/src/api/procedures/__tests__/consumeAddRelayerPayingKeyAuthorization.ts +++ /dev/null @@ -1,349 +0,0 @@ -import { bool, u64 } from '@polkadot/types'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { - ConsumeAddRelayerPayingKeyAuthorizationParams, - getAuthorization, - prepareConsumeAddRelayerPayingKeyAuthorization, - prepareStorage, - Storage, -} from '~/api/procedures/consumeAddRelayerPayingKeyAuthorization'; -import * as utilsProcedureModule from '~/api/procedures/utils'; -import { Account, AuthorizationRequest, Context, Identity, KnownPermissionGroup } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { Authorization, AuthorizationType, TxTags } from '~/types'; -import * as utilsConversionModule from '~/utils/conversion'; - -describe('consumeAddRelayerPayingKeyAuthorization procedure', () => { - let mockContext: Mocked; - let targetAddress: string; - let booleanToBoolSpy: jest.SpyInstance; - let bigNumberToU64Spy: jest.SpyInstance; - - let rawTrue: bool; - let rawFalse: bool; - let authId: BigNumber; - let rawAuthId: u64; - - let targetAccount: Account; - let issuerIdentity: Identity; - - beforeAll(() => { - targetAddress = 'someAddress'; - dsMockUtils.initMocks({ - contextOptions: { - signingAddress: targetAddress, - }, - }); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - - jest.spyOn(utilsProcedureModule, 'assertAuthorizationRequestValid').mockImplementation(); - - bigNumberToU64Spy = jest.spyOn(utilsConversionModule, 'bigNumberToU64'); - booleanToBoolSpy = jest.spyOn(utilsConversionModule, 'booleanToBool'); - - authId = new BigNumber(1); - rawAuthId = dsMockUtils.createMockU64(authId); - - rawFalse = dsMockUtils.createMockBool(false); - rawTrue = dsMockUtils.createMockBool(true); - - jest.spyOn(utilsConversionModule, 'addressToKey').mockImplementation(); - }); - - beforeEach(() => { - mockContext = dsMockUtils.getContextInstance(); - - when(bigNumberToU64Spy).calledWith(authId, mockContext).mockReturnValue(rawAuthId); - - when(booleanToBoolSpy).calledWith(false, mockContext).mockReturnValue(rawFalse); - when(booleanToBoolSpy).calledWith(true, mockContext).mockReturnValue(rawTrue); - - targetAccount = entityMockUtils.getAccountInstance({ address: targetAddress }); - - issuerIdentity = entityMockUtils.getIdentityInstance(); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it('should throw if called with an Authorization other than AddRelayerPayingKey', () => { - const proc = procedureMockUtils.getInstance< - ConsumeAddRelayerPayingKeyAuthorizationParams, - void, - Storage - >(mockContext, { - signingAccount: targetAccount, - calledByTarget: true, - }); - - return expect( - prepareConsumeAddRelayerPayingKeyAuthorization.call(proc, { - authRequest: new AuthorizationRequest( - { - target: targetAccount, - issuer: issuerIdentity, - authId, - expiry: null, - data: { - type: AuthorizationType.BecomeAgent, - value: {} as KnownPermissionGroup, - }, - }, - mockContext - ), - accept: true, - }) - ).rejects.toThrow( - 'Unrecognized auth type: "BecomeAgent" for consumeAddRelayerPayingKeyAuthorization method' - ); - }); - - it('should return an acceptPayingKey transaction spec if accept is set to true', async () => { - const proc = procedureMockUtils.getInstance< - ConsumeAddRelayerPayingKeyAuthorizationParams, - void, - Storage - >(mockContext, { - signingAccount: targetAccount, - calledByTarget: true, - }); - - const transaction = dsMockUtils.createTxMock('relayer', 'acceptPayingKey'); - - const result = await prepareConsumeAddRelayerPayingKeyAuthorization.call(proc, { - authRequest: new AuthorizationRequest( - { - target: targetAccount, - issuer: issuerIdentity, - authId, - expiry: null, - data: { - type: AuthorizationType.AddRelayerPayingKey, - value: { - subsidizer: entityMockUtils.getAccountInstance(), - beneficiary: targetAccount, - allowance: new BigNumber(100), - }, - }, - }, - mockContext - ), - accept: true, - }); - - expect(result).toEqual({ - transaction, - paidForBy: issuerIdentity, - args: [rawAuthId], - resolver: undefined, - }); - }); - - it('should return a removeAuthorization transaction spec if accept is set to false', async () => { - let proc = procedureMockUtils.getInstance< - ConsumeAddRelayerPayingKeyAuthorizationParams, - void, - Storage - >(mockContext, { - signingAccount: targetAccount, - calledByTarget: false, - }); - - const transaction = dsMockUtils.createTxMock('identity', 'removeAuthorization'); - - const rawSignatory = dsMockUtils.createMockSignatory({ - Account: dsMockUtils.createMockAccountId(targetAccount.address), - }); - - jest.spyOn(utilsConversionModule, 'signerValueToSignatory').mockReturnValue(rawSignatory); - - const params = { - authRequest: new AuthorizationRequest( - { - target: targetAccount, - issuer: issuerIdentity, - authId, - expiry: null, - data: { - type: AuthorizationType.AddRelayerPayingKey, - value: { - subsidizer: entityMockUtils.getAccountInstance(), - beneficiary: targetAccount, - allowance: new BigNumber(100), - }, - }, - }, - mockContext - ), - accept: false, - }; - - let result = await prepareConsumeAddRelayerPayingKeyAuthorization.call(proc, params); - - expect(result).toEqual({ - transaction, - args: [rawSignatory, rawAuthId, rawFalse], - resolver: undefined, - }); - - proc = procedureMockUtils.getInstance< - ConsumeAddRelayerPayingKeyAuthorizationParams, - void, - Storage - >(mockContext, { - signingAccount: targetAccount, - calledByTarget: true, - }); - - result = await prepareConsumeAddRelayerPayingKeyAuthorization.call(proc, params); - - expect(result).toEqual({ - transaction, - paidForBy: issuerIdentity, - args: [rawSignatory, rawAuthId, rawTrue], - resolve: undefined, - }); - }); - - describe('prepareStorage', () => { - it("should return the signing Account, whether the target is the caller and the target's Identity (if any)", async () => { - const proc = procedureMockUtils.getInstance< - ConsumeAddRelayerPayingKeyAuthorizationParams, - void, - Storage - >(mockContext); - const boundFunc = prepareStorage.bind(proc); - - const result = await boundFunc({ - authRequest: { target: targetAccount }, - } as unknown as ConsumeAddRelayerPayingKeyAuthorizationParams); - - expect(result).toEqual({ - signingAccount: mockContext.getSigningAccount(), - calledByTarget: true, - }); - }); - }); - - describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', async () => { - let proc = procedureMockUtils.getInstance< - ConsumeAddRelayerPayingKeyAuthorizationParams, - void, - Storage - >(mockContext, { - signingAccount: targetAccount, - calledByTarget: true, - }); - const constructorParams = { - authId, - expiry: null, - target: targetAccount, - issuer: issuerIdentity, - data: { - type: AuthorizationType.AddRelayerPayingKey, - } as Authorization, - }; - const args = { - authRequest: new AuthorizationRequest(constructorParams, mockContext), - accept: true, - }; - - let boundFunc = getAuthorization.bind(proc); - let result = await boundFunc(args); - expect(result).toEqual({ - roles: true, - }); - - args.accept = false; - - result = await boundFunc(args); - expect(result).toEqual({ - roles: true, - permissions: { - transactions: [TxTags.identity.RemoveAuthorization], - }, - }); - - proc = procedureMockUtils.getInstance< - ConsumeAddRelayerPayingKeyAuthorizationParams, - void, - Storage - >(mockContext, { - signingAccount: targetAccount, - calledByTarget: false, - }); - boundFunc = getAuthorization.bind(proc); - - result = await boundFunc(args); - expect(result).toEqual({ - roles: true, - permissions: { - transactions: [TxTags.identity.RemoveAuthorization], - }, - }); - - proc = procedureMockUtils.getInstance< - ConsumeAddRelayerPayingKeyAuthorizationParams, - void, - Storage - >(mockContext, { - signingAccount: entityMockUtils.getAccountInstance({ - address: 'someOtherAddress', - getIdentity: undefined, - }), - calledByTarget: false, - }); - boundFunc = getAuthorization.bind(proc); - - result = await boundFunc(args); - expect(result).toEqual({ - roles: - '"AddRelayerPayingKey" Authorization Requests can only be removed by the issuer Identity or the target Account', - permissions: { - transactions: [TxTags.identity.RemoveAuthorization], - }, - }); - - proc = procedureMockUtils.getInstance< - ConsumeAddRelayerPayingKeyAuthorizationParams, - void, - Storage - >(mockContext, { - signingAccount: entityMockUtils.getAccountInstance({ - address: 'someOtherAddress', - getIdentity: entityMockUtils.getIdentityInstance({ did: 'someOtherDid', isEqual: false }), - }), - calledByTarget: false, - }); - boundFunc = getAuthorization.bind(proc); - - result = await boundFunc(args); - expect(result).toEqual({ - roles: - '"AddRelayerPayingKey" Authorization Requests can only be removed by the issuer Identity or the target Account', - permissions: { - transactions: [TxTags.identity.RemoveAuthorization], - }, - }); - - result = await boundFunc({ ...args, accept: true }); - expect(result).toEqual({ - roles: - '"AddRelayerPayingKey" Authorization Requests must be accepted by the target Account', - }); - }); - }); -}); diff --git a/src/api/procedures/__tests__/consumeAuthorizationRequests.ts b/src/api/procedures/__tests__/consumeAuthorizationRequests.ts deleted file mode 100644 index 878bada7ce..0000000000 --- a/src/api/procedures/__tests__/consumeAuthorizationRequests.ts +++ /dev/null @@ -1,313 +0,0 @@ -import { bool, u64 } from '@polkadot/types'; -import { PolymeshPrimitivesSecondaryKeySignatory } from '@polkadot/types/lookup'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { - ConsumeAuthorizationRequestsParams, - getAuthorization, - prepareConsumeAuthorizationRequests, -} from '~/api/procedures/consumeAuthorizationRequests'; -import { Account, AuthorizationRequest, Context, Identity } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { Authorization, AuthorizationType, SignerValue, TxTags } from '~/types'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/Asset/Fungible', - require('~/testUtils/mocks/entities').mockFungibleAssetModule('~/api/entities/Asset/Fungible') -); - -jest.mock( - '~/api/entities/TickerReservation', - require('~/testUtils/mocks/entities').mockTickerReservationModule( - '~/api/entities/TickerReservation' - ) -); - -describe('consumeAuthorizationRequests procedure', () => { - let mockContext: Mocked; - let signerValueToSignatorySpy: jest.SpyInstance< - PolymeshPrimitivesSecondaryKeySignatory, - [SignerValue, Context] - >; - let bigNumberToU64Spy: jest.SpyInstance; - let booleanToBoolSpy: jest.SpyInstance; - let authParams: { - authId: BigNumber; - expiry: Date | null; - issuer: Identity; - target: Identity | Account; - data: Authorization; - }[]; - let auths: AuthorizationRequest[]; - let rawAuthIdentifiers: [PolymeshPrimitivesSecondaryKeySignatory, u64, bool][]; - let rawAuthIds: [u64][]; - let rawFalseBool: bool; - - let acceptAssetOwnershipTransferTransaction: jest.Mock; - let acceptBecomeAgentTransaction: jest.Mock; - let acceptPortfolioCustodyTransaction: jest.Mock; - let acceptTickerTransferTransaction: jest.Mock; - - beforeAll(() => { - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - signerValueToSignatorySpy = jest.spyOn(utilsConversionModule, 'signerValueToSignatory'); - bigNumberToU64Spy = jest.spyOn(utilsConversionModule, 'bigNumberToU64'); - booleanToBoolSpy = jest.spyOn(utilsConversionModule, 'booleanToBool'); - jest.spyOn(utilsConversionModule, 'addressToKey').mockImplementation(); - dsMockUtils.createQueryMock('identity', 'authorizations', { - returnValue: dsMockUtils.createMockOption( - dsMockUtils.createMockAuthorization({ - authorizationData: dsMockUtils.createMockAuthorizationData({ - TransferTicker: dsMockUtils.createMockTicker('TICKER'), - }), - authId: new BigNumber(1), - authorizedBy: 'someDid', - expiry: dsMockUtils.createMockOption(), - }) - ), - }); - }); - - beforeEach(() => { - mockContext = dsMockUtils.getContextInstance(); - rawFalseBool = dsMockUtils.createMockBool(false); - authParams = [ - { - authId: new BigNumber(1), - expiry: new Date('10/14/3040'), - target: entityMockUtils.getIdentityInstance({ did: 'targetDid1' }), - issuer: entityMockUtils.getIdentityInstance({ did: 'issuerDid1' }), - data: { - type: AuthorizationType.TransferAssetOwnership, - value: 'SOME_TICKER1', - }, - }, - { - authId: new BigNumber(3), - expiry: null, - target: entityMockUtils.getIdentityInstance({ did: 'targetDid4' }), - issuer: entityMockUtils.getIdentityInstance({ did: 'issuerDid4' }), - data: { - type: AuthorizationType.BecomeAgent, - value: entityMockUtils.getKnownPermissionGroupInstance(), - }, - }, - { - authId: new BigNumber(4), - expiry: null, - target: entityMockUtils.getIdentityInstance({ did: 'targetDid5' }), - issuer: entityMockUtils.getIdentityInstance({ did: 'issuerDid5' }), - data: { - type: AuthorizationType.PortfolioCustody, - value: entityMockUtils.getDefaultPortfolioInstance({ did: 'issuerDid5' }), - }, - }, - { - authId: new BigNumber(5), - expiry: null, - target: entityMockUtils.getIdentityInstance({ did: 'targetDid6' }), - issuer: entityMockUtils.getIdentityInstance({ did: 'issuerDid6' }), - data: { - type: AuthorizationType.TransferTicker, - value: 'SOME_TICKER6', - }, - }, - { - authId: new BigNumber(6), - expiry: new Date('10/14/1987'), // expired - target: entityMockUtils.getIdentityInstance({ did: 'targetDid7' }), - issuer: entityMockUtils.getIdentityInstance({ did: 'issuerDid7' }), - data: { - type: AuthorizationType.TransferAssetOwnership, - value: 'SOME_TICKER7', - }, - }, - ]; - auths = []; - rawAuthIds = []; - rawAuthIdentifiers = []; - authParams.forEach(params => { - const { authId, target } = params; - - const signerValue = utilsConversionModule.signerToSignerValue(target); - - auths.push(new AuthorizationRequest(params, mockContext)); - - const rawAuthId = dsMockUtils.createMockU64(authId); - rawAuthIds.push([rawAuthId]); - when(bigNumberToU64Spy).calledWith(authId, mockContext).mockReturnValue(rawAuthId); - const rawSignatory = dsMockUtils.createMockSignatory({ - Identity: dsMockUtils.createMockIdentityId(signerValue.value), - }); - - rawAuthIdentifiers.push([rawSignatory, rawAuthId, rawFalseBool]); - when(signerValueToSignatorySpy) - .calledWith(signerValue, mockContext) - .mockReturnValue(rawSignatory); - }); - when(booleanToBoolSpy).calledWith(false, mockContext).mockReturnValue(rawFalseBool); - - acceptAssetOwnershipTransferTransaction = dsMockUtils.createTxMock( - 'asset', - 'acceptAssetOwnershipTransfer' - ); - acceptBecomeAgentTransaction = dsMockUtils.createTxMock('externalAgents', 'acceptBecomeAgent'); - acceptPortfolioCustodyTransaction = dsMockUtils.createTxMock( - 'portfolio', - 'acceptPortfolioCustody' - ); - acceptTickerTransferTransaction = dsMockUtils.createTxMock('asset', 'acceptTickerTransfer'); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it('should return a batch spec of accept authorization transactions (dependent on the type of auth) and ignore expired requests', async () => { - const proc = procedureMockUtils.getInstance( - mockContext - ); - - const result = await prepareConsumeAuthorizationRequests.call(proc, { - accept: true, - authRequests: auths, - }); - - expect(result).toEqual({ - transactions: [ - { - transaction: acceptBecomeAgentTransaction, - args: rawAuthIds[1], - }, - { - transaction: acceptPortfolioCustodyTransaction, - args: rawAuthIds[2], - }, - { - transaction: acceptAssetOwnershipTransferTransaction, - args: rawAuthIds[0], - }, - { - transaction: acceptTickerTransferTransaction, - args: rawAuthIds[3], - }, - ], - resolver: undefined, - }); - }); - - it('should return a batch of remove authorization transactions spec and ignore expired requests', async () => { - const proc = procedureMockUtils.getInstance( - mockContext - ); - - const transaction = dsMockUtils.createTxMock('identity', 'removeAuthorization'); - - const result = await prepareConsumeAuthorizationRequests.call(proc, { - accept: false, - authRequests: auths, - }); - - const authIds = rawAuthIdentifiers.slice(0, -1); - - expect(result).toEqual({ - transactions: authIds.map(authId => ({ transaction, args: authId })), - resolver: undefined, - }); - }); - - describe('getAuthorization', () => { - it('should return whether the signing Identity or Account is the target of all non-expired requests if trying to accept', async () => { - const proc = procedureMockUtils.getInstance( - mockContext - ); - const { did } = await mockContext.getSigningIdentity(); - const constructorParams = [ - { - authId: new BigNumber(1), - expiry: null, - target: entityMockUtils.getIdentityInstance({ did }), - issuer: entityMockUtils.getIdentityInstance({ did: 'issuerDid1' }), - data: { - type: AuthorizationType.BecomeAgent, - } as Authorization, - }, - { - authId: new BigNumber(2), - expiry: new Date('10/14/1987'), // expired - target: entityMockUtils.getIdentityInstance({ did: 'notTheSigningIdentity' }), - issuer: entityMockUtils.getIdentityInstance({ did: 'issuerDid2' }), - data: { - type: AuthorizationType.PortfolioCustody, - } as Authorization, - }, - ]; - const args = { - accept: true, - authRequests: constructorParams.map( - params => new AuthorizationRequest(params, mockContext) - ), - } as ConsumeAuthorizationRequestsParams; - - const boundFunc = getAuthorization.bind(proc); - let result = await boundFunc(args); - expect(result).toEqual({ - roles: true, - permissions: { - assets: [], - portfolios: [], - transactions: [ - TxTags.externalAgents.AcceptBecomeAgent, - TxTags.portfolio.AcceptPortfolioCustody, - ], - }, - }); - - args.authRequests[0].target = entityMockUtils.getIdentityInstance({ - isEqual: false, - did: 'someoneElse', - }); - args.authRequests[0].issuer = entityMockUtils.getIdentityInstance({ - isEqual: false, - did: 'someoneElse', - }); - args.accept = false; - - result = await boundFunc(args); - expect(result).toEqual({ - roles: - 'Authorization Requests can only be accepted by the target Account/Identity. They can only be rejected by the target Account/Identity or the issuing Identity', - permissions: { - assets: [], - portfolios: [], - transactions: [TxTags.identity.RemoveAuthorization], - }, - }); - - args.authRequests[0].target = entityMockUtils.getAccountInstance({ isEqual: false }); - - result = await boundFunc(args); - expect(result).toEqual({ - roles: - 'Authorization Requests can only be accepted by the target Account/Identity. They can only be rejected by the target Account/Identity or the issuing Identity', - permissions: { - assets: [], - portfolios: [], - transactions: [TxTags.identity.RemoveAuthorization], - }, - }); - }); - }); -}); diff --git a/src/api/procedures/__tests__/consumeJoinOrRotateAuthorization.ts b/src/api/procedures/__tests__/consumeJoinOrRotateAuthorization.ts deleted file mode 100644 index a1415c3b09..0000000000 --- a/src/api/procedures/__tests__/consumeJoinOrRotateAuthorization.ts +++ /dev/null @@ -1,565 +0,0 @@ -import { bool, u64 } from '@polkadot/types'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { - ConsumeJoinOrRotateAuthorizationParams, - getAuthorization, - prepareConsumeJoinOrRotateAuthorization, - prepareStorage, - Storage, -} from '~/api/procedures/consumeJoinOrRotateAuthorization'; -import { - Account, - AuthorizationRequest, - Context, - Identity, - KnownPermissionGroup, - PolymeshError, -} from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { Authorization, AuthorizationType, ErrorCode, Signer, TxTags } from '~/types'; -import * as utilsConversionModule from '~/utils/conversion'; - -describe('consumeJoinOrRotateAuthorization procedure', () => { - let mockContext: Mocked; - let targetAddress: string; - let bigNumberToU64Spy: jest.SpyInstance; - let booleanToBoolSpy: jest.SpyInstance; - let rawTrue: bool; - let rawFalse: bool; - let authId: BigNumber; - let rawAuthId: u64; - - let targetAccount: Account; - - beforeAll(() => { - targetAddress = 'someAddress'; - dsMockUtils.initMocks({ - contextOptions: { - signingAddress: targetAddress, - }, - }); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - bigNumberToU64Spy = jest.spyOn(utilsConversionModule, 'bigNumberToU64'); - booleanToBoolSpy = jest.spyOn(utilsConversionModule, 'booleanToBool'); - authId = new BigNumber(1); - rawAuthId = dsMockUtils.createMockU64(authId); - rawTrue = dsMockUtils.createMockBool(true); - rawFalse = dsMockUtils.createMockBool(false); - - jest.spyOn(utilsConversionModule, 'addressToKey').mockImplementation(); - }); - - beforeEach(() => { - dsMockUtils.createQueryMock('identity', 'authorizations', { - returnValue: dsMockUtils.createMockOption( - dsMockUtils.createMockAuthorization({ - authorizationData: dsMockUtils.createMockAuthorizationData('RotatePrimaryKey'), - authId: new BigNumber(1), - authorizedBy: 'someDid', - expiry: dsMockUtils.createMockOption(), - }) - ), - }); - mockContext = dsMockUtils.getContextInstance(); - when(bigNumberToU64Spy).calledWith(authId, mockContext).mockReturnValue(rawAuthId); - when(booleanToBoolSpy).calledWith(true, mockContext).mockReturnValue(rawTrue); - when(booleanToBoolSpy).calledWith(false, mockContext).mockReturnValue(rawFalse); - - targetAccount = entityMockUtils.getAccountInstance({ address: targetAddress }); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it('should throw an error if the Authorization Request is expired', () => { - const proc = procedureMockUtils.getInstance< - ConsumeJoinOrRotateAuthorizationParams, - void, - Storage - >(mockContext, { - signingAccount: targetAccount, - calledByTarget: true, - }); - - const target = targetAccount; - - return expect( - prepareConsumeJoinOrRotateAuthorization.call(proc, { - authRequest: new AuthorizationRequest( - { - target, - issuer: entityMockUtils.getIdentityInstance(), - authId, - expiry: new Date('10/14/1987'), - data: { - type: AuthorizationType.JoinIdentity, - value: { - assets: null, - transactions: null, - transactionGroups: [], - portfolios: null, - }, - }, - }, - mockContext - ), - accept: true, - }) - ).rejects.toThrow('The Authorization Request has expired'); - }); - - it('should throw an error if the target Account is already part of an Identity', () => { - const proc = procedureMockUtils.getInstance< - ConsumeJoinOrRotateAuthorizationParams, - void, - Storage - >(mockContext, { - signingAccount: targetAccount, - calledByTarget: true, - }); - - const target = targetAccount; - - return expect( - prepareConsumeJoinOrRotateAuthorization.call(proc, { - authRequest: new AuthorizationRequest( - { - target, - issuer: entityMockUtils.getIdentityInstance(), - authId, - expiry: null, - data: { - type: AuthorizationType.JoinIdentity, - value: { - assets: null, - transactions: null, - transactionGroups: [], - portfolios: null, - }, - }, - }, - mockContext - ), - accept: true, - }) - ).rejects.toThrow('The target Account already has an associated Identity'); - }); - - it('should return a joinIdentityAsKey transaction spec if the target is an Account', async () => { - const proc = procedureMockUtils.getInstance< - ConsumeJoinOrRotateAuthorizationParams, - void, - Storage - >(mockContext, { - signingAccount: targetAccount, - calledByTarget: true, - }); - - const transaction = dsMockUtils.createTxMock('identity', 'joinIdentityAsKey'); - - const issuer = entityMockUtils.getIdentityInstance(); - const target = entityMockUtils.getAccountInstance({ - address: 'someAddress', - getIdentity: null, - }); - - const result = await prepareConsumeJoinOrRotateAuthorization.call(proc, { - authRequest: new AuthorizationRequest( - { - target, - issuer, - authId, - expiry: null, - data: { - type: AuthorizationType.JoinIdentity, - value: { - assets: null, - transactions: null, - transactionGroups: [], - portfolios: null, - }, - }, - }, - mockContext - ), - accept: true, - }); - - expect(result).toEqual({ - transaction, - paidForBy: issuer, - args: [rawAuthId], - resolver: undefined, - }); - }); - - it('should return a rotatePrimaryKeyToSecondary transaction spec if the target is an Account', async () => { - const proc = procedureMockUtils.getInstance< - ConsumeJoinOrRotateAuthorizationParams, - void, - Storage - >(mockContext, { - signingAccount: targetAccount, - calledByTarget: true, - }); - - const transaction = dsMockUtils.createTxMock('identity', 'rotatePrimaryKeyToSecondary'); - - const issuer = entityMockUtils.getIdentityInstance(); - const target = entityMockUtils.getAccountInstance({ - address: 'someAddress', - getIdentity: null, - }); - - const result = await prepareConsumeJoinOrRotateAuthorization.call(proc, { - authRequest: new AuthorizationRequest( - { - target, - issuer, - authId, - expiry: null, - data: { - type: AuthorizationType.RotatePrimaryKeyToSecondary, - value: { - assets: null, - transactions: null, - transactionGroups: [], - portfolios: null, - }, - }, - }, - mockContext - ), - accept: true, - }); - - expect(result).toEqual({ - transaction, - paidForBy: issuer, - args: [rawAuthId, null], - resolver: undefined, - }); - }); - - it('should return an acceptPrimaryKey transaction spec if called with RotatePrimaryKey', async () => { - const proc = procedureMockUtils.getInstance< - ConsumeJoinOrRotateAuthorizationParams, - void, - Storage - >(mockContext, { - signingAccount: targetAccount, - calledByTarget: true, - }); - - const transaction = dsMockUtils.createTxMock('identity', 'acceptPrimaryKey'); - - const issuer = entityMockUtils.getIdentityInstance(); - const target = entityMockUtils.getAccountInstance({ - address: 'someAddress', - getIdentity: null, - }); - - const result = await prepareConsumeJoinOrRotateAuthorization.call(proc, { - authRequest: new AuthorizationRequest( - { - target, - issuer, - authId, - expiry: null, - data: { - type: AuthorizationType.RotatePrimaryKey, - }, - }, - mockContext - ), - accept: true, - }); - - expect(result).toEqual({ - transaction, - paidForBy: issuer, - args: [rawAuthId, null], - resolver: undefined, - }); - }); - - it('should throw if called with an Authorization that is not JoinIdentity, RotatePrimaryKeyToSecondary or RotatePrimaryKey', async () => { - const proc = procedureMockUtils.getInstance< - ConsumeJoinOrRotateAuthorizationParams, - void, - Storage - >(mockContext, { - signingAccount: targetAccount, - calledByTarget: true, - }); - - const issuer = entityMockUtils.getIdentityInstance(); - const target = entityMockUtils.getAccountInstance({ - address: 'someAddress', - getIdentity: null, - }); - - let error; - try { - await prepareConsumeJoinOrRotateAuthorization.call(proc, { - authRequest: new AuthorizationRequest( - { - target, - issuer, - authId, - expiry: null, - data: { - type: AuthorizationType.BecomeAgent, - value: {} as KnownPermissionGroup, - }, - }, - mockContext - ), - accept: true, - }); - } catch (err) { - error = err; - } - const expectedError = new PolymeshError({ - code: ErrorCode.UnexpectedError, - message: 'Unrecognized auth type: "BecomeAgent" for consumeJoinOrRotateAuthorization method', - }); - expect(error).toEqual(expectedError); - }); - - it('should return a removeAuthorization transaction spec if accept is set to false', async () => { - let proc = procedureMockUtils.getInstance< - ConsumeJoinOrRotateAuthorizationParams, - void, - Storage - >(mockContext, { - signingAccount: targetAccount, - calledByTarget: false, - }); - - const transaction = dsMockUtils.createTxMock('identity', 'removeAuthorization'); - - const issuer = entityMockUtils.getIdentityInstance(); - let target: Signer = new Identity({ did: 'someOtherDid' }, mockContext); - - const rawSignatory = dsMockUtils.createMockSignatory({ - Identity: dsMockUtils.createMockIdentityId(target.did), - }); - - jest.spyOn(utilsConversionModule, 'signerValueToSignatory').mockReturnValue(rawSignatory); - - let result = await prepareConsumeJoinOrRotateAuthorization.call(proc, { - authRequest: new AuthorizationRequest( - { - target, - issuer, - authId, - expiry: null, - data: { - type: AuthorizationType.JoinIdentity, - value: { - assets: null, - transactions: null, - transactionGroups: [], - portfolios: null, - }, - }, - }, - mockContext - ), - accept: false, - }); - - expect(result).toEqual({ - transaction, - args: [rawSignatory, rawAuthId, rawFalse], - resolver: undefined, - }); - - target = targetAccount; - proc = procedureMockUtils.getInstance( - mockContext, - { - signingAccount: targetAccount, - calledByTarget: true, - } - ); - - result = await prepareConsumeJoinOrRotateAuthorization.call(proc, { - authRequest: new AuthorizationRequest( - { - target, - issuer, - authId, - expiry: null, - data: { - type: AuthorizationType.JoinIdentity, - value: { - assets: null, - transactions: null, - transactionGroups: [], - portfolios: null, - }, - }, - }, - mockContext - ), - accept: false, - }); - - expect(result).toEqual({ - transaction, - paidForBy: issuer, - args: [rawSignatory, rawAuthId, rawTrue], - resolve: undefined, - }); - }); - - describe('prepareStorage', () => { - it("should return the signing Account, whether the target is the caller and the target's Identity (if any)", async () => { - const proc = procedureMockUtils.getInstance< - ConsumeJoinOrRotateAuthorizationParams, - void, - Storage - >(mockContext); - const boundFunc = prepareStorage.bind(proc); - const target = entityMockUtils.getAccountInstance({ getIdentity: null }); - - const result = await boundFunc({ - authRequest: { target }, - } as unknown as ConsumeJoinOrRotateAuthorizationParams); - - expect(result).toEqual({ - signingAccount: mockContext.getSigningAccount(), - calledByTarget: true, - }); - }); - }); - - describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', async () => { - let proc = procedureMockUtils.getInstance< - ConsumeJoinOrRotateAuthorizationParams, - void, - Storage - >(mockContext, { - signingAccount: targetAccount, - calledByTarget: true, - }); - const { address } = mockContext.getSigningAccount(); - const constructorParams = { - authId, - expiry: null, - target: entityMockUtils.getAccountInstance({ address }), - issuer: entityMockUtils.getIdentityInstance({ did: 'issuerDid1' }), - data: { - type: AuthorizationType.JoinIdentity, - } as Authorization, - }; - const args = { - authRequest: new AuthorizationRequest(constructorParams, mockContext), - accept: true, - }; - - let boundFunc = getAuthorization.bind(proc); - let result = await boundFunc(args); - expect(result).toEqual({ - roles: true, - }); - - args.accept = false; - args.authRequest.issuer = await mockContext.getSigningIdentity(); - - dsMockUtils.configureMocks({ - contextOptions: { - signingIdentityIsEqual: true, - }, - }); - - result = await boundFunc(args); - expect(result).toEqual({ - roles: true, - permissions: { - transactions: [TxTags.identity.RemoveAuthorization], - }, - }); - - targetAccount = entityMockUtils.getAccountInstance({ address, getIdentity: null }); - mockContext.getSigningAccount.mockReturnValue(targetAccount); - - proc = procedureMockUtils.getInstance( - mockContext, - { - signingAccount: targetAccount, - calledByTarget: false, - } - ); - boundFunc = getAuthorization.bind(proc); - - result = await boundFunc(args); - expect(result).toEqual({ - roles: - '"JoinIdentity" Authorization Requests can only be removed by the issuer Identity or the target Account', - permissions: { - transactions: [TxTags.identity.RemoveAuthorization], - }, - }); - - targetAccount = entityMockUtils.getAccountInstance({ - address, - getIdentity: entityMockUtils.getIdentityInstance({ isEqual: false }), - }); - - proc = procedureMockUtils.getInstance( - mockContext, - { - signingAccount: targetAccount, - calledByTarget: false, - } - ); - boundFunc = getAuthorization.bind(proc); - - result = await boundFunc({ ...args, accept: true }); - expect(result).toEqual({ - roles: '"JoinIdentity" Authorization Requests must be accepted by the target Account', - }); - - result = await boundFunc(args); - expect(result).toEqual({ - roles: - '"JoinIdentity" Authorization Requests can only be removed by the issuer Identity or the target Account', - permissions: { - transactions: [TxTags.identity.RemoveAuthorization], - }, - }); - - targetAccount = entityMockUtils.getAccountInstance({ address, getIdentity: null }); - - proc = procedureMockUtils.getInstance( - mockContext, - { - signingAccount: targetAccount, - calledByTarget: true, - } - ); - boundFunc = getAuthorization.bind(proc); - - result = await boundFunc(args); - expect(result).toEqual({ - roles: true, - }); - }); - }); -}); diff --git a/src/api/procedures/__tests__/controllerTransfer.ts b/src/api/procedures/__tests__/controllerTransfer.ts deleted file mode 100644 index 19189afb20..0000000000 --- a/src/api/procedures/__tests__/controllerTransfer.ts +++ /dev/null @@ -1,189 +0,0 @@ -import { Balance } from '@polkadot/types/interfaces'; -import { - PolymeshPrimitivesIdentityIdPortfolioId, - PolymeshPrimitivesTicker, -} from '@polkadot/types/lookup'; -import BigNumber from 'bignumber.js'; - -import { - getAuthorization, - Params, - prepareControllerTransfer, - prepareStorage, - Storage, -} from '~/api/procedures/controllerTransfer'; -import { Context, DefaultPortfolio, NumberedPortfolio } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { PortfolioBalance, PortfolioId, RoleType, TxTags } from '~/types'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/Asset/Fungible', - require('~/testUtils/mocks/entities').mockFungibleAssetModule('~/api/entities/Asset/Fungible') -); -jest.mock( - '~/api/entities/DefaultPortfolio', - require('~/testUtils/mocks/entities').mockDefaultPortfolioModule( - '~/api/entities/DefaultPortfolio' - ) -); - -describe('controllerTransfer procedure', () => { - let mockContext: Mocked; - let portfolioIdToPortfolioSpy: jest.SpyInstance< - DefaultPortfolio | NumberedPortfolio, - [PortfolioId, Context] - >; - let bigNumberToBalanceSpy: jest.SpyInstance< - Balance, - [BigNumber, Context, (boolean | undefined)?] - >; - let portfolioIdToMeshPortfolioIdSpy: jest.SpyInstance; - let stringToTickerSpy: jest.SpyInstance; - let ticker: string; - let rawTicker: PolymeshPrimitivesTicker; - let did: string; - let rawPortfolioId: PolymeshPrimitivesIdentityIdPortfolioId; - let originPortfolio: DefaultPortfolio; - let rawAmount: Balance; - let amount: BigNumber; - - beforeAll(() => { - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - portfolioIdToPortfolioSpy = jest.spyOn(utilsConversionModule, 'portfolioIdToPortfolio'); - bigNumberToBalanceSpy = jest.spyOn(utilsConversionModule, 'bigNumberToBalance'); - portfolioIdToMeshPortfolioIdSpy = jest.spyOn( - utilsConversionModule, - 'portfolioIdToMeshPortfolioId' - ); - stringToTickerSpy = jest.spyOn(utilsConversionModule, 'stringToTicker'); - ticker = 'SOME_TICKER'; - rawTicker = dsMockUtils.createMockTicker(ticker); - did = 'fakeDid'; - rawPortfolioId = dsMockUtils.createMockPortfolioId({ - did: dsMockUtils.createMockIdentityId(did), - kind: dsMockUtils.createMockPortfolioKind('Default'), - }); - originPortfolio = entityMockUtils.getDefaultPortfolioInstance({ - did, - getAssetBalances: [{ free: new BigNumber(90) }] as PortfolioBalance[], - }); - amount = new BigNumber(50); - rawAmount = dsMockUtils.createMockBalance(amount); - }); - - beforeEach(() => { - mockContext = dsMockUtils.getContextInstance(); - stringToTickerSpy.mockReturnValue(rawTicker); - portfolioIdToPortfolioSpy.mockReturnValue(originPortfolio); - bigNumberToBalanceSpy.mockReturnValue(rawAmount); - portfolioIdToMeshPortfolioIdSpy.mockReturnValue(rawPortfolioId); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it('should throw an error in case of self Transfer', () => { - const selfPortfolio = entityMockUtils.getDefaultPortfolioInstance({ - did: 'someDid', - getAssetBalances: [{ free: new BigNumber(90) }] as PortfolioBalance[], - }); - const proc = procedureMockUtils.getInstance(mockContext, { - did: 'someDid', - }); - - return expect( - prepareControllerTransfer.call(proc, { - ticker, - originPortfolio: selfPortfolio, - amount: new BigNumber(1000), - }) - ).rejects.toThrow('Controller transfers to self are not allowed'); - }); - - it('should throw an error if the Portfolio does not have enough balance to transfer', () => { - const proc = procedureMockUtils.getInstance(mockContext, { - did: 'someDid', - }); - - return expect( - prepareControllerTransfer.call(proc, { - ticker, - originPortfolio, - amount: new BigNumber(1000), - }) - ).rejects.toThrow('The origin Portfolio does not have enough free balance for this transfer'); - }); - - it('should return a controller transfer transaction spec', async () => { - const proc = procedureMockUtils.getInstance(mockContext, { - did: 'someDid', - }); - - const transaction = dsMockUtils.createTxMock('asset', 'controllerTransfer'); - - const result = await prepareControllerTransfer.call(proc, { - ticker, - originPortfolio, - amount, - }); - - expect(result).toEqual({ - transaction, - args: [rawTicker, rawAmount, rawPortfolioId], - resolver: undefined, - }); - }); - - describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', async () => { - const portfolioId = { did: 'oneDid' }; - - const proc = procedureMockUtils.getInstance(mockContext, { - did: 'oneDid', - }); - const boundFunc = getAuthorization.bind(proc); - - const roles = [ - { - type: RoleType.PortfolioCustodian, - portfolioId, - }, - ]; - - expect(await boundFunc({ ticker, originPortfolio, amount })).toEqual({ - roles, - permissions: { - transactions: [TxTags.asset.ControllerTransfer], - assets: [expect.objectContaining({ ticker })], - portfolios: [ - expect.objectContaining({ owner: expect.objectContaining({ did: portfolioId.did }) }), - ], - }, - }); - }); - }); - - describe('prepareStorage', () => { - it('should return the DID of signing Identity', async () => { - const proc = procedureMockUtils.getInstance(mockContext); - const boundFunc = prepareStorage.bind(proc); - const result = await boundFunc(); - - expect(result).toEqual({ - did: 'someDid', - }); - }); - }); -}); diff --git a/src/api/procedures/__tests__/createAsset.ts b/src/api/procedures/__tests__/createAsset.ts deleted file mode 100644 index 76a56d644b..0000000000 --- a/src/api/procedures/__tests__/createAsset.ts +++ /dev/null @@ -1,777 +0,0 @@ -import { bool, BTreeSet, Bytes, Option, Vec } from '@polkadot/types'; -import { Balance } from '@polkadot/types/interfaces'; -import { - PolymeshPrimitivesAssetAssetType, - PolymeshPrimitivesAssetIdentifier, - PolymeshPrimitivesDocument, - PolymeshPrimitivesIdentityIdPortfolioKind, - PolymeshPrimitivesStatisticsStatType, - PolymeshPrimitivesTicker, -} from '@polkadot/types/lookup'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { - getAuthorization, - Params, - prepareCreateAsset, - prepareStorage, - Storage, -} from '~/api/procedures/createAsset'; -import { Context, FungibleAsset, Portfolio } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { MockCodec } from '~/testUtils/mocks/dataSources'; -import { - EntityGetter, - MockDefaultPortfolio, - MockNumberedPortfolio, -} from '~/testUtils/mocks/entities'; -import { Mocked } from '~/testUtils/types'; -import { - AssetDocument, - ClaimType, - Identity, - KnownAssetType, - RoleType, - SecurityIdentifier, - SecurityIdentifierType, - StatType, - TickerReservationStatus, - TxTags, -} from '~/types'; -import { InternalAssetType, InternalNftType, PolymeshTx, TickerKey } from '~/types/internal'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/TickerReservation', - require('~/testUtils/mocks/entities').mockTickerReservationModule( - '~/api/entities/TickerReservation' - ) -); -jest.mock( - '~/api/entities/Asset/Fungible', - require('~/testUtils/mocks/entities').mockFungibleAssetModule('~/api/entities/Asset/Fungible') -); - -describe('createAsset procedure', () => { - let mockContext: Mocked; - let stringToTickerSpy: jest.SpyInstance; - let bigNumberToBalanceSpy: jest.SpyInstance; - let stringToBytesSpy: jest.SpyInstance; - let nameToAssetNameSpy: jest.SpyInstance; - let fundingRoundToAssetFundingRoundSpy: jest.SpyInstance; - let booleanToBoolSpy: jest.SpyInstance; - let stringToTickerKeySpy: jest.SpyInstance; - let statisticStatTypesToBtreeStatTypeSpy: jest.SpyInstance< - BTreeSet, - [PolymeshPrimitivesStatisticsStatType[], Context] - >; - let internalAssetTypeToAssetTypeSpy: jest.SpyInstance< - PolymeshPrimitivesAssetAssetType, - [InternalAssetType | { NonFungible: InternalNftType }, Context] - >; - let securityIdentifierToAssetIdentifierSpy: jest.SpyInstance< - PolymeshPrimitivesAssetIdentifier, - [SecurityIdentifier, Context] - >; - let assetDocumentToDocumentSpy: jest.SpyInstance< - PolymeshPrimitivesDocument, - [AssetDocument, Context] - >; - let ticker: string; - let signingIdentity: Identity; - let name: string; - let initialSupply: BigNumber; - let isDivisible: boolean; - let assetType: string; - let securityIdentifiers: SecurityIdentifier[]; - let fundingRound: string; - let documents: AssetDocument[]; - let rawTicker: PolymeshPrimitivesTicker; - let rawName: Bytes; - let rawInitialSupply: Balance; - let rawIsDivisible: bool; - let rawType: PolymeshPrimitivesAssetAssetType; - let rawIdentifiers: PolymeshPrimitivesAssetIdentifier[]; - let rawFundingRound: Bytes; - let rawDocuments: PolymeshPrimitivesDocument[]; - let args: Params; - let protocolFees: BigNumber[]; - let defaultPortfolioId: BigNumber; - let numberedPortfolioId: BigNumber; - let defaultPortfolioKind: MockCodec; - let numberedPortfolioKind: MockCodec; - let mockDefaultPortfolio: MockDefaultPortfolio; - let mockNumberedPortfolio: MockNumberedPortfolio; - let portfolioToPortfolioKindSpy: jest.SpyInstance; - - const getPortfolio: EntityGetter = jest.fn(); - - beforeAll(() => { - dsMockUtils.initMocks({ - contextOptions: { - balance: { - free: new BigNumber(1000), - locked: new BigNumber(0), - total: new BigNumber(1000), - }, - }, - }); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - stringToTickerSpy = jest.spyOn(utilsConversionModule, 'stringToTicker'); - bigNumberToBalanceSpy = jest.spyOn(utilsConversionModule, 'bigNumberToBalance'); - stringToBytesSpy = jest.spyOn(utilsConversionModule, 'stringToBytes'); - nameToAssetNameSpy = jest.spyOn(utilsConversionModule, 'nameToAssetName'); - fundingRoundToAssetFundingRoundSpy = jest.spyOn( - utilsConversionModule, - 'fundingRoundToAssetFundingRound' - ); - booleanToBoolSpy = jest.spyOn(utilsConversionModule, 'booleanToBool'); - stringToTickerKeySpy = jest.spyOn(utilsConversionModule, 'stringToTickerKey'); - statisticStatTypesToBtreeStatTypeSpy = jest.spyOn( - utilsConversionModule, - 'statisticStatTypesToBtreeStatType' - ); - internalAssetTypeToAssetTypeSpy = jest.spyOn( - utilsConversionModule, - 'internalAssetTypeToAssetType' - ); - securityIdentifierToAssetIdentifierSpy = jest.spyOn( - utilsConversionModule, - 'securityIdentifierToAssetIdentifier' - ); - assetDocumentToDocumentSpy = jest.spyOn(utilsConversionModule, 'assetDocumentToDocument'); - ticker = 'TICKER'; - name = 'someName'; - signingIdentity = entityMockUtils.getIdentityInstance({ portfoliosGetPortfolio: getPortfolio }); - initialSupply = new BigNumber(100); - isDivisible = false; - assetType = KnownAssetType.EquityCommon; - securityIdentifiers = [ - { - type: SecurityIdentifierType.Isin, - value: '12345', - }, - ]; - fundingRound = 'Series A'; - documents = [ - { - name: 'someDocument', - uri: 'someUri', - contentHash: 'someHash', - }, - ]; - rawTicker = dsMockUtils.createMockTicker(ticker); - rawName = dsMockUtils.createMockBytes(name); - rawInitialSupply = dsMockUtils.createMockBalance(initialSupply); - rawIsDivisible = dsMockUtils.createMockBool(isDivisible); - rawType = dsMockUtils.createMockAssetType(assetType as KnownAssetType); - rawIdentifiers = securityIdentifiers.map(({ type, value }) => - dsMockUtils.createMockAssetIdentifier({ - [type as 'Lei']: dsMockUtils.createMockU8aFixed(value), - }) - ); - rawDocuments = documents.map(({ uri, contentHash, name: docName, type, filedAt }) => - dsMockUtils.createMockDocument({ - name: dsMockUtils.createMockBytes(docName), - uri: dsMockUtils.createMockBytes(uri), - contentHash: dsMockUtils.createMockDocumentHash({ - H128: dsMockUtils.createMockU8aFixed(contentHash), - }), - docType: dsMockUtils.createMockOption(type ? dsMockUtils.createMockBytes(type) : null), - filingDate: dsMockUtils.createMockOption( - filedAt ? dsMockUtils.createMockMoment(new BigNumber(filedAt.getTime())) : null - ), - }) - ); - rawFundingRound = dsMockUtils.createMockBytes(fundingRound); - args = { - ticker, - name, - isDivisible, - assetType, - securityIdentifiers, - fundingRound, - reservationRequired: true, - }; - protocolFees = [new BigNumber(250), new BigNumber(150), new BigNumber(100)]; - - portfolioToPortfolioKindSpy = jest.spyOn(utilsConversionModule, 'portfolioToPortfolioKind'); - - defaultPortfolioId = new BigNumber(0); - numberedPortfolioId = new BigNumber(1); - }); - - let createAssetTransaction: PolymeshTx< - [ - Bytes, - PolymeshPrimitivesTicker, - Balance, - bool, - PolymeshPrimitivesAssetAssetType, - Vec, - Option, - bool - ] - >; - - beforeEach(() => { - dsMockUtils.createQueryMock('asset', 'tickerConfig', { - returnValue: dsMockUtils.createMockTickerRegistrationConfig(), - }); - - createAssetTransaction = dsMockUtils.createTxMock('asset', 'createAsset'); - - mockContext = dsMockUtils.getContextInstance({ withSigningManager: true }); - - when(stringToTickerSpy).calledWith(ticker, mockContext).mockReturnValue(rawTicker); - when(bigNumberToBalanceSpy) - .calledWith(initialSupply, mockContext, isDivisible) - .mockReturnValue(rawInitialSupply); - when(nameToAssetNameSpy).calledWith(name, mockContext).mockReturnValue(rawName); - when(booleanToBoolSpy).calledWith(isDivisible, mockContext).mockReturnValue(rawIsDivisible); - when(stringToTickerKeySpy) - .calledWith(ticker, mockContext) - .mockReturnValue({ Ticker: rawTicker }); - when(internalAssetTypeToAssetTypeSpy) - .calledWith(assetType as KnownAssetType, mockContext) - .mockReturnValue(rawType); - when(securityIdentifierToAssetIdentifierSpy) - .calledWith(securityIdentifiers[0], mockContext) - .mockReturnValue(rawIdentifiers[0]); - when(fundingRoundToAssetFundingRoundSpy) - .calledWith(fundingRound, mockContext) - .mockReturnValue(rawFundingRound); - when(assetDocumentToDocumentSpy) - .calledWith( - { uri: documents[0].uri, contentHash: documents[0].contentHash, name: documents[0].name }, - mockContext - ) - .mockReturnValue(rawDocuments[0]); - - when(mockContext.getProtocolFees) - .calledWith({ tags: [TxTags.asset.RegisterTicker, TxTags.asset.CreateAsset] }) - .mockResolvedValue([ - { tag: TxTags.asset.RegisterTicker, fees: protocolFees[0] }, - { tag: TxTags.asset.CreateAsset, fees: protocolFees[1] }, - ]); - - when(mockContext.getProtocolFees) - .calledWith({ tags: [TxTags.asset.RegisterCustomAssetType] }) - .mockResolvedValue([{ tag: TxTags.asset.RegisterCustomAssetType, fees: protocolFees[2] }]); - - defaultPortfolioKind = dsMockUtils.createMockPortfolioKind('Default'); - numberedPortfolioKind = dsMockUtils.createMockPortfolioKind({ - User: dsMockUtils.createMockU64(numberedPortfolioId), - }); - - mockDefaultPortfolio = entityMockUtils.getDefaultPortfolioInstance(); - mockNumberedPortfolio = entityMockUtils.getNumberedPortfolioInstance({ - did: 'did', - id: numberedPortfolioId, - }); - - when(mockContext.createType) - .calledWith('PolymeshPrimitivesIdentityIdPortfolioKind', 'Default') - .mockReturnValue(defaultPortfolioKind); - when(mockContext.createType) - .calledWith('PolymeshPrimitivesIdentityIdPortfolioKind', numberedPortfolioKind) - .mockReturnValue(numberedPortfolioKind); - when(getPortfolio) - .calledWith() - .mockResolvedValue(mockDefaultPortfolio) - .calledWith({ portfolioId: defaultPortfolioId }) - .mockResolvedValue(mockDefaultPortfolio) - .calledWith({ portfolioId: numberedPortfolioId }) - .mockResolvedValue(mockNumberedPortfolio); - - when(portfolioToPortfolioKindSpy) - .calledWith(mockDefaultPortfolio, mockContext) - .mockReturnValue(defaultPortfolioKind) - .calledWith(mockNumberedPortfolio, mockContext) - .mockReturnValue(numberedPortfolioKind); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it('should throw an error if an Asset with that ticker has already been launched', () => { - const proc = procedureMockUtils.getInstance(mockContext, { - customTypeData: null, - status: TickerReservationStatus.AssetCreated, - signingIdentity, - }); - - return expect(prepareCreateAsset.call(proc, args)).rejects.toThrow( - `An Asset with ticker "${ticker}" already exists` - ); - }); - - it("should throw an error if that ticker hasn't been reserved and reservation is required", () => { - const proc = procedureMockUtils.getInstance(mockContext, { - customTypeData: null, - status: TickerReservationStatus.Free, - signingIdentity, - }); - - return expect(prepareCreateAsset.call(proc, args)).rejects.toThrow( - `You must first reserve ticker "${ticker}" in order to create an Asset with it` - ); - }); - - it('should throw an error if the ticker contains non numeric characters', () => { - const proc = procedureMockUtils.getInstance(mockContext, { - customTypeData: null, - status: TickerReservationStatus.Reserved, - signingIdentity, - }); - - return expect( - prepareCreateAsset.call(proc, { ...args, ticker: 'SOME_TICKER' }) - ).rejects.toThrow('New Tickers can only contain alphanumeric values'); - }); - - it('should add an Asset creation transaction to the batch', async () => { - const proc = procedureMockUtils.getInstance(mockContext, { - customTypeData: null, - status: TickerReservationStatus.Reserved, - signingIdentity, - }); - - let result = await prepareCreateAsset.call(proc, args); - - expect(result).toEqual({ - transactions: [ - { - transaction: createAssetTransaction, - args: [rawName, rawTicker, rawIsDivisible, rawType, rawIdentifiers, rawFundingRound], - }, - ], - fee: undefined, - resolver: expect.objectContaining({ ticker }), - }); - - result = await prepareCreateAsset.call(proc, { - ...args, - initialSupply: new BigNumber(0), - securityIdentifiers: undefined, - fundingRound: undefined, - requireInvestorUniqueness: false, - }); - - expect(result).toEqual({ - transactions: [ - { - transaction: createAssetTransaction, - args: [rawName, rawTicker, rawIsDivisible, rawType, [], null], - }, - ], - fee: undefined, - resolver: expect.objectContaining({ ticker }), - }); - }); - - it('should issue Asset to the default portfolio if initial supply is provided', async () => { - const proc = procedureMockUtils.getInstance(mockContext, { - customTypeData: null, - status: TickerReservationStatus.Reserved, - signingIdentity, - }); - const issueTransaction = dsMockUtils.createTxMock('asset', 'issue'); - - const result = await prepareCreateAsset.call(proc, { ...args, initialSupply }); - - expect(result).toEqual({ - transactions: [ - { - transaction: createAssetTransaction, - args: [rawName, rawTicker, rawIsDivisible, rawType, rawIdentifiers, rawFundingRound], - }, - { - transaction: issueTransaction, - args: [rawTicker, rawInitialSupply, defaultPortfolioKind], - }, - ], - fee: undefined, - resolver: expect.objectContaining({ ticker }), - }); - }); - - it('should issue Asset to the default portfolio if initial supply is provided and portfolioId is Default', async () => { - const proc = procedureMockUtils.getInstance(mockContext, { - customTypeData: null, - status: TickerReservationStatus.Reserved, - signingIdentity, - }); - const issueTransaction = dsMockUtils.createTxMock('asset', 'issue'); - - const result = await prepareCreateAsset.call(proc, { - ...args, - initialSupply, - portfolioId: defaultPortfolioId, - }); - - expect(result).toEqual({ - transactions: [ - { - transaction: createAssetTransaction, - args: [rawName, rawTicker, rawIsDivisible, rawType, rawIdentifiers, rawFundingRound], - }, - { - transaction: issueTransaction, - args: [rawTicker, rawInitialSupply, defaultPortfolioKind], - }, - ], - fee: undefined, - resolver: expect.objectContaining({ ticker }), - }); - }); - - it('should issue Asset to the Numbered portfolio if initial supply is provided and portfolioId is Numbered', async () => { - const proc = procedureMockUtils.getInstance(mockContext, { - customTypeData: null, - status: TickerReservationStatus.Reserved, - signingIdentity, - }); - const issueTransaction = dsMockUtils.createTxMock('asset', 'issue'); - - const result = await prepareCreateAsset.call(proc, { - ...args, - initialSupply, - portfolioId: numberedPortfolioId, - }); - - expect(result).toEqual({ - transactions: [ - { - transaction: createAssetTransaction, - args: [rawName, rawTicker, rawIsDivisible, rawType, rawIdentifiers, rawFundingRound], - }, - { - transaction: issueTransaction, - args: [rawTicker, rawInitialSupply, numberedPortfolioKind], - }, - ], - fee: undefined, - resolver: expect.objectContaining({ ticker }), - }); - }); - - it('should add an Asset creation transaction to the batch when reservationRequired is false', async () => { - let proc = procedureMockUtils.getInstance(mockContext, { - customTypeData: null, - status: TickerReservationStatus.Reserved, - signingIdentity, - }); - - let result = await prepareCreateAsset.call(proc, { - ...args, - reservationRequired: false, - }); - - expect(result).toEqual({ - transactions: [ - { - transaction: createAssetTransaction, - args: [rawName, rawTicker, rawIsDivisible, rawType, rawIdentifiers, rawFundingRound], - }, - ], - fee: undefined, - resolver: expect.objectContaining({ ticker }), - }); - - proc = procedureMockUtils.getInstance(mockContext, { - customTypeData: null, - status: TickerReservationStatus.Free, - signingIdentity, - }); - - result = await prepareCreateAsset.call(proc, { - ...args, - reservationRequired: false, - }); - - expect(result).toEqual({ - transactions: [ - { - transaction: createAssetTransaction, - fee: protocolFees[0].plus(protocolFees[1]), - args: [rawName, rawTicker, rawIsDivisible, rawType, rawIdentifiers, rawFundingRound], - }, - ], - resolver: expect.objectContaining({ ticker }), - }); - }); - - it('should add a document add transaction to the batch', async () => { - const rawValue = dsMockUtils.createMockBytes('something'); - const rawTypeId = dsMockUtils.createMockU32(new BigNumber(10)); - const proc = procedureMockUtils.getInstance(mockContext, { - customTypeData: { - rawValue, - id: rawTypeId, - }, - status: TickerReservationStatus.Free, - signingIdentity, - }); - const createAssetTx = dsMockUtils.createTxMock('asset', 'createAsset'); - const addDocumentsTx = dsMockUtils.createTxMock('asset', 'addDocuments'); - - when(internalAssetTypeToAssetTypeSpy) - .calledWith({ Custom: rawTypeId }, mockContext) - .mockReturnValue(rawType); - const result = await prepareCreateAsset.call(proc, { - ...args, - documents, - reservationRequired: false, - }); - - expect(result).toEqual({ - transactions: [ - { - transaction: createAssetTx, - args: [rawName, rawTicker, rawIsDivisible, rawType, rawIdentifiers, rawFundingRound], - fee: protocolFees[0].plus(protocolFees[1]).plus(protocolFees[2]), - }, - { - transaction: addDocumentsTx, - feeMultiplier: new BigNumber(rawDocuments.length), - args: [rawDocuments, rawTicker], - }, - ], - resolver: expect.objectContaining({ ticker }), - }); - }); - - it('should add a set statistics transaction to the batch', async () => { - const mockStatsBtree = dsMockUtils.createMockBTreeSet([]); - - const proc = procedureMockUtils.getInstance(mockContext, { - customTypeData: null, - status: TickerReservationStatus.Reserved, - signingIdentity, - }); - const createAssetTx = dsMockUtils.createTxMock('asset', 'createAsset'); - const addStatsTx = dsMockUtils.createTxMock('statistics', 'setActiveAssetStats'); - const issuer = entityMockUtils.getIdentityInstance(); - statisticStatTypesToBtreeStatTypeSpy.mockReturnValue(mockStatsBtree); - - const result = await prepareCreateAsset.call(proc, { - ...args, - initialStatistics: [ - { type: StatType.Balance }, - { type: StatType.ScopedCount, claimIssuer: { claimType: ClaimType.Accredited, issuer } }, - ], - }); - - expect(result).toEqual({ - transactions: [ - { - transaction: createAssetTx, - args: [rawName, rawTicker, rawIsDivisible, rawType, rawIdentifiers, rawFundingRound], - }, - { - transaction: addStatsTx, - args: [{ Ticker: rawTicker }, mockStatsBtree], - }, - ], - resolver: expect.objectContaining({ ticker }), - }); - }); - - it('should add a create asset with custom type transaction to the batch', async () => { - const rawValue = dsMockUtils.createMockBytes('something'); - const proc = procedureMockUtils.getInstance(mockContext, { - customTypeData: { - id: dsMockUtils.createMockU32(), - rawValue, - }, - status: TickerReservationStatus.Reserved, - signingIdentity, - }); - const createAssetWithCustomTypeTx = dsMockUtils.createTxMock( - 'asset', - 'createAssetWithCustomType' - ); - - const result = await prepareCreateAsset.call(proc, args); - - expect(result).toEqual({ - transactions: [ - { - transaction: createAssetWithCustomTypeTx, - args: [rawName, rawTicker, rawIsDivisible, rawValue, rawIdentifiers, rawFundingRound], - }, - ], - resolver: expect.objectContaining({ ticker }), - }); - }); - - describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', async () => { - let proc = procedureMockUtils.getInstance(mockContext, { - customTypeData: null, - status: TickerReservationStatus.Reserved, - signingIdentity, - }); - - let boundFunc = getAuthorization.bind(proc); - - let result = await boundFunc(args); - - expect(result).toEqual({ - roles: [{ type: RoleType.TickerOwner, ticker }], - permissions: { - assets: [], - portfolios: [], - transactions: [TxTags.asset.CreateAsset], - }, - }); - - proc = procedureMockUtils.getInstance(mockContext, { - customTypeData: { - id: dsMockUtils.createMockU32(), - rawValue: dsMockUtils.createMockBytes('something'), - }, - status: TickerReservationStatus.Reserved, - signingIdentity, - }); - - boundFunc = getAuthorization.bind(proc); - - result = await boundFunc({ - ...args, - documents: [{ uri: 'www.doc.com', name: 'myDoc' }], - initialStatistics: [{ type: StatType.Count }], - }); - - expect(result).toEqual({ - roles: [{ type: RoleType.TickerOwner, ticker }], - permissions: { - assets: [], - portfolios: [], - transactions: [ - TxTags.asset.CreateAsset, - TxTags.asset.AddDocuments, - TxTags.asset.RegisterCustomAssetType, - TxTags.statistics.SetActiveAssetStats, - ], - }, - }); - - proc = procedureMockUtils.getInstance(mockContext, { - customTypeData: { - id: dsMockUtils.createMockU32(new BigNumber(10)), - rawValue: dsMockUtils.createMockBytes('something'), - }, - status: TickerReservationStatus.Reserved, - signingIdentity, - }); - - boundFunc = getAuthorization.bind(proc); - - result = await boundFunc({ ...args, documents: [] }); - - expect(result).toEqual({ - roles: [{ type: RoleType.TickerOwner, ticker }], - permissions: { - assets: [], - portfolios: [], - transactions: [TxTags.asset.CreateAsset], - }, - }); - - proc = procedureMockUtils.getInstance(mockContext, { - customTypeData: { - id: dsMockUtils.createMockU32(new BigNumber(10)), - rawValue: dsMockUtils.createMockBytes('something'), - }, - status: TickerReservationStatus.Free, - signingIdentity, - }); - - boundFunc = getAuthorization.bind(proc); - - result = await boundFunc({ ...args, documents: [], reservationRequired: false }); - - expect(result).toEqual({ - permissions: { - assets: [], - portfolios: [], - transactions: [TxTags.asset.CreateAsset], - }, - }); - }); - }); - - describe('prepareStorage', () => { - beforeEach(() => { - mockContext.getSigningIdentity.mockResolvedValue(signingIdentity); - }); - - it('should return the custom asset type ID and bytes representation along with ticker reservation status', async () => { - const proc = procedureMockUtils.getInstance(mockContext); - const boundFunc = prepareStorage.bind(proc); - - entityMockUtils.configureMocks({ - tickerReservationOptions: { - details: { - owner: entityMockUtils.getIdentityInstance(), - expiryDate: null, - status: TickerReservationStatus.Reserved, - }, - }, - }); - - let result = await boundFunc({ assetType: KnownAssetType.EquityCommon } as Params); - - expect(result).toEqual({ - customTypeData: null, - status: TickerReservationStatus.Reserved, - signingIdentity, - }); - - const rawValue = dsMockUtils.createMockBytes('something'); - when(stringToBytesSpy).calledWith('something', mockContext).mockReturnValue(rawValue); - let id = dsMockUtils.createMockU32(); - - const customTypesMock = dsMockUtils.createQueryMock('asset', 'customTypesInverse', { - returnValue: dsMockUtils.createMockOption(id), - }); - - result = await boundFunc({ assetType: 'something' } as Params); - - expect(result).toEqual({ - customTypeData: { - rawValue, - id, - }, - status: TickerReservationStatus.Reserved, - signingIdentity, - }); - - id = dsMockUtils.createMockU32(new BigNumber(10)); - customTypesMock.mockResolvedValue(dsMockUtils.createMockOption(id)); - - result = await boundFunc({ assetType: 'something' } as Params); - - expect(result).toEqual({ - customTypeData: { - rawValue, - id, - }, - status: TickerReservationStatus.Reserved, - signingIdentity, - }); - }); - }); -}); diff --git a/src/api/procedures/__tests__/createCheckpoint.ts b/src/api/procedures/__tests__/createCheckpoint.ts deleted file mode 100644 index 21630e2d81..0000000000 --- a/src/api/procedures/__tests__/createCheckpoint.ts +++ /dev/null @@ -1,110 +0,0 @@ -import { PolymeshPrimitivesTicker } from '@polkadot/types/lookup'; -import { ISubmittableResult } from '@polkadot/types/types'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { - createCheckpointResolver, - getAuthorization, - Params, - prepareCreateCheckpoint, -} from '~/api/procedures/createCheckpoint'; -import { Checkpoint, Context } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { TxTags } from '~/types'; -import * as utilsConversionModule from '~/utils/conversion'; -import * as utilsInternalModule from '~/utils/internal'; - -jest.mock( - '~/api/entities/Checkpoint', - require('~/testUtils/mocks/entities').mockCheckpointModule('~/api/entities/Checkpoint') -); -jest.mock( - '~/api/entities/Asset/Fungible', - require('~/testUtils/mocks/entities').mockFungibleAssetModule('~/api/entities/Asset/Fungible') -); - -describe('createCheckpoint procedure', () => { - let mockContext: Mocked; - let stringToTickerSpy: jest.SpyInstance; - let ticker: string; - let rawTicker: PolymeshPrimitivesTicker; - - beforeAll(() => { - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - stringToTickerSpy = jest.spyOn(utilsConversionModule, 'stringToTicker'); - ticker = 'SOME_TICKER'; - rawTicker = dsMockUtils.createMockTicker(ticker); - }); - - beforeEach(() => { - mockContext = dsMockUtils.getContextInstance(); - when(stringToTickerSpy).calledWith(ticker, mockContext).mockReturnValue(rawTicker); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it('should return a create checkpoint transaction spec', async () => { - const proc = procedureMockUtils.getInstance(mockContext); - - const transaction = dsMockUtils.createTxMock('checkpoint', 'createCheckpoint'); - - const result = await prepareCreateCheckpoint.call(proc, { - ticker, - }); - - expect(result).toEqual({ transaction, resolver: expect.any(Function), args: [rawTicker] }); - }); - - describe('createCheckpointResolver', () => { - const filterEventRecordsSpy = jest.spyOn(utilsInternalModule, 'filterEventRecords'); - const id = new BigNumber(1); - - beforeAll(() => { - entityMockUtils.initMocks({ checkpointOptions: { ticker, id } }); - }); - - beforeEach(() => { - filterEventRecordsSpy.mockReturnValue([ - dsMockUtils.createMockIEvent(['someDid', ticker, id]), - ]); - }); - - afterEach(() => { - filterEventRecordsSpy.mockReset(); - }); - - it('should return the new Checkpoint', () => { - const result = createCheckpointResolver(ticker, mockContext)({} as ISubmittableResult); - expect(result.asset.ticker).toBe(ticker); - expect(result.id).toEqual(id); - }); - }); - - describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', () => { - const proc = procedureMockUtils.getInstance(mockContext); - const boundFunc = getAuthorization.bind(proc); - - expect(boundFunc({ ticker })).toEqual({ - permissions: { - transactions: [TxTags.checkpoint.CreateCheckpoint], - assets: [expect.objectContaining({ ticker })], - portfolios: [], - }, - }); - }); - }); -}); diff --git a/src/api/procedures/__tests__/createCheckpointSchedule.ts b/src/api/procedures/__tests__/createCheckpointSchedule.ts deleted file mode 100644 index 7a8a416531..0000000000 --- a/src/api/procedures/__tests__/createCheckpointSchedule.ts +++ /dev/null @@ -1,163 +0,0 @@ -import { PolymeshPrimitivesTicker } from '@polkadot/types/lookup'; -import { ISubmittableResult } from '@polkadot/types/types'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { - createCheckpointScheduleResolver, - getAuthorization, - Params, - prepareCreateCheckpointSchedule, -} from '~/api/procedures/createCheckpointSchedule'; -import { CheckpointSchedule, Context } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { TxTags } from '~/types'; -import * as utilsConversionModule from '~/utils/conversion'; -import * as utilsInternalModule from '~/utils/internal'; - -jest.mock( - '~/api/entities/CheckpointSchedule', - require('~/testUtils/mocks/entities').mockCheckpointScheduleModule( - '~/api/entities/CheckpointSchedule' - ) -); -jest.mock( - '~/api/entities/Asset/Fungible', - require('~/testUtils/mocks/entities').mockFungibleAssetModule('~/api/entities/Asset/Fungible') -); - -describe('createCheckpointSchedule procedure', () => { - let mockContext: Mocked; - let stringToTickerSpy: jest.SpyInstance; - // eslint-disable-next-line @typescript-eslint/no-explicit-any - let datesToScheduleCheckpointsSpy: jest.SpyInstance; - let ticker: string; - let rawTicker: PolymeshPrimitivesTicker; - - beforeAll(() => { - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - stringToTickerSpy = jest.spyOn(utilsConversionModule, 'stringToTicker'); - datesToScheduleCheckpointsSpy = jest.spyOn(utilsConversionModule, 'datesToScheduleCheckpoints'); - ticker = 'SOME_TICKER'; - rawTicker = dsMockUtils.createMockTicker(ticker); - }); - - beforeEach(() => { - mockContext = dsMockUtils.getContextInstance(); - when(stringToTickerSpy).calledWith(ticker, mockContext).mockReturnValue(rawTicker); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it('should throw an error if the start date is in the past', () => { - const proc = procedureMockUtils.getInstance(mockContext); - - return expect( - prepareCreateCheckpointSchedule.call(proc, { - ticker, - points: [new Date(new Date().getTime() - 10000)], - }) - ).rejects.toThrow('Schedule points must be in the future'); - }); - - it('should return a create checkpoint schedule transaction spec', async () => { - const proc = procedureMockUtils.getInstance(mockContext); - - const transaction = dsMockUtils.createTxMock('checkpoint', 'createSchedule'); - - const start = new Date(new Date().getTime() + 10000); - - const rawSchedule = dsMockUtils.createMockScheduleSpec({ - start: dsMockUtils.createMockOption( - dsMockUtils.createMockMoment(new BigNumber(start.getTime())) - ), - period: dsMockUtils.createMockCalendarPeriod({}), - remaining: dsMockUtils.createMockU32(new BigNumber(1)), - }); - - datesToScheduleCheckpointsSpy.mockReturnValue(rawSchedule); - - const result = await prepareCreateCheckpointSchedule.call(proc, { - ticker, - points: [start], - }); - - expect(result).toEqual({ - transaction, - resolver: expect.any(Function), - args: [rawTicker, rawSchedule], - }); - }); - - describe('createCheckpointScheduleResolver', () => { - const filterEventRecordsSpy = jest.spyOn(utilsInternalModule, 'filterEventRecords'); - const id = new BigNumber(1); - const start = new Date('10/14/1987'); - - beforeAll(() => { - entityMockUtils.initMocks({ - checkpointScheduleOptions: { - ticker, - id, - start, - }, - }); - }); - beforeEach(() => { - filterEventRecordsSpy.mockReturnValue([ - dsMockUtils.createMockIEvent([ - dsMockUtils.createMockIdentityId('someDid'), - dsMockUtils.createMockTicker(ticker), - dsMockUtils.createMockU64(id), - dsMockUtils.createMockCheckpointSchedule({ - pending: dsMockUtils.createMockBTreeSet([ - dsMockUtils.createMockMoment(new BigNumber(start.getTime())), - ]), - }), - ]), - ]); - }); - - afterEach(() => { - filterEventRecordsSpy.mockReset(); - }); - - it('should return the new CheckpointSchedule', () => { - const result = createCheckpointScheduleResolver( - ticker, - mockContext - )({} as ISubmittableResult); - expect(result.asset.ticker).toBe(ticker); - expect(result.id).toEqual(id); - }); - }); - - describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', () => { - const proc = procedureMockUtils.getInstance(mockContext); - const boundFunc = getAuthorization.bind(proc); - - const start = new Date('10/14/1987'); - - expect(boundFunc({ ticker, points: [start] })).toEqual({ - permissions: { - transactions: [TxTags.checkpoint.CreateSchedule], - assets: [expect.objectContaining({ ticker })], - portfolios: [], - }, - }); - }); - }); -}); diff --git a/src/api/procedures/__tests__/createChildIdentity.ts b/src/api/procedures/__tests__/createChildIdentity.ts deleted file mode 100644 index 762a4125e6..0000000000 --- a/src/api/procedures/__tests__/createChildIdentity.ts +++ /dev/null @@ -1,258 +0,0 @@ -import { AccountId } from '@polkadot/types/interfaces'; -import { PolymeshPrimitivesIdentityId } from '@polkadot/types/lookup'; -import { ISubmittableResult } from '@polkadot/types/types'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { ChildIdentity } from '~/api/entities/Identity/ChildIdentity'; -import { - createChildIdentityResolver, - getAuthorization, - prepareCreateChildIdentity, - prepareStorage, - Storage, -} from '~/api/procedures/createChildIdentity'; -import { Account, Context, Identity } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { CreateChildIdentityParams, TxTags } from '~/types'; -import * as utilsConversionModule from '~/utils/conversion'; -import * as utilsInternalModule from '~/utils/internal'; - -jest.mock( - '~/api/entities/Identity/ChildIdentity', - require('~/testUtils/mocks/entities').mockChildIdentityModule( - '~/api/entities/Identity/ChildIdentity' - ) -); - -describe('createChildIdentity procedure', () => { - let mockContext: Mocked; - let identity: Identity; - let rawIdentity: PolymeshPrimitivesIdentityId; - let childAccount: Account; - let rawChildAccount: AccountId; - let stringToIdentityIdSpy: jest.SpyInstance; - let stringToAccountIdSpy: jest.SpyInstance; - let boolToBooleanSpy: jest.SpyInstance; - - let didKeysQueryMock: jest.Mock; - - beforeAll(() => { - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - - stringToIdentityIdSpy = jest.spyOn(utilsConversionModule, 'stringToIdentityId'); - stringToAccountIdSpy = jest.spyOn(utilsConversionModule, 'stringToAccountId'); - boolToBooleanSpy = jest.spyOn(utilsConversionModule, 'boolToBoolean'); - }); - - beforeEach(() => { - entityMockUtils.configureMocks({ - childIdentityOptions: { - getParentDid: null, - }, - }); - childAccount = entityMockUtils.getAccountInstance(); - rawChildAccount = dsMockUtils.createMockAccountId(childAccount.address); - - identity = entityMockUtils.getIdentityInstance(); - rawIdentity = dsMockUtils.createMockIdentityId(identity.did); - - mockContext = dsMockUtils.getContextInstance({ - getIdentity: identity, - }); - - when(stringToIdentityIdSpy).calledWith(identity.did, mockContext).mockReturnValue(rawIdentity); - when(stringToAccountIdSpy) - .calledWith(childAccount.address, mockContext) - .mockReturnValue(rawChildAccount); - - const rawTrue = dsMockUtils.createMockBool(true); - didKeysQueryMock = dsMockUtils.createQueryMock('identity', 'didKeys'); - when(didKeysQueryMock).calledWith(rawIdentity, rawChildAccount).mockResolvedValue(rawTrue); - - when(boolToBooleanSpy).calledWith(rawTrue).mockReturnValue(true); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - jest.resetAllMocks(); - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it('should throw an error if the `secondaryKey` provided is not a secondary account of the signing Identity', () => { - const mockAccount = entityMockUtils.getAccountInstance({ address: 'someOtherAddress' }); - - const rawOtherAccount = dsMockUtils.createMockAccountId(mockAccount.address); - when(stringToAccountIdSpy) - .calledWith(mockAccount.address, mockContext) - .mockReturnValue(rawOtherAccount); - - const rawFalse = dsMockUtils.createMockBool(false); - when(didKeysQueryMock).calledWith(rawIdentity, rawOtherAccount).mockResolvedValue(rawFalse); - - when(boolToBooleanSpy).calledWith(rawFalse).mockReturnValue(false); - - const proc = procedureMockUtils.getInstance( - mockContext, - { identity } - ); - - return expect( - prepareCreateChildIdentity.call(proc, { - secondaryKey: mockAccount, - }) - ).rejects.toThrow('The `secondaryKey` provided is not a secondary key of the signing Identity'); - }); - - it('should throw an error if the account provided is a part of multisig with some POLYX balance', () => { - childAccount.getMultiSig = jest.fn().mockResolvedValue( - entityMockUtils.getMultiSigInstance({ - getBalance: { - total: new BigNumber(100), - }, - }) - ); - - const proc = procedureMockUtils.getInstance( - mockContext, - { identity } - ); - - return expect( - prepareCreateChildIdentity.call(proc, { - secondaryKey: childAccount, - }) - ).rejects.toThrow("The `secondaryKey` can't be unlinked from the signing Identity"); - }); - - it('should throw an error if the signing Identity is already a child Identity', () => { - entityMockUtils.configureMocks({ - childIdentityOptions: { - getParentDid: entityMockUtils.getIdentityInstance({ did: 'someParentDid' }), - }, - }); - - const proc = procedureMockUtils.getInstance( - mockContext, - { identity } - ); - - return expect( - prepareCreateChildIdentity.call(proc, { - secondaryKey: childAccount, - }) - ).rejects.toThrow( - 'The signing Identity is already a child Identity and cannot create further child identities' - ); - }); - - it('should add a create ChildIdentity transaction to the queue', async () => { - const proc = procedureMockUtils.getInstance( - mockContext, - { identity } - ); - - const createChildIdentityTransaction = dsMockUtils.createTxMock( - 'identity', - 'createChildIdentity' - ); - - const result = await prepareCreateChildIdentity.call(proc, { - secondaryKey: childAccount, - }); - - expect(result).toEqual({ - transaction: createChildIdentityTransaction, - resolver: expect.any(Function), - args: [rawChildAccount], - }); - }); - - describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', async () => { - let proc = procedureMockUtils.getInstance( - mockContext, - { identity } - ); - let boundFunc = getAuthorization.bind(proc); - - let result = await boundFunc(); - expect(result).toEqual({ - permissions: { - transactions: [TxTags.identity.CreateChildIdentity], - assets: [], - portfolios: [], - }, - }); - - proc = procedureMockUtils.getInstance( - dsMockUtils.getContextInstance({ - signingAccountIsEqual: false, - }), - { identity } - ); - - boundFunc = getAuthorization.bind(proc); - - result = await boundFunc(); - expect(result).toEqual({ - signerPermissions: "A child Identity can only be created by an Identity's primary Account", - }); - }); - }); - - describe('prepareStorage', () => { - it('should return the signing Identity', async () => { - const proc = procedureMockUtils.getInstance< - CreateChildIdentityParams, - ChildIdentity, - Storage - >(mockContext); - const boundFunc = prepareStorage.bind(proc); - - const result = await boundFunc(); - - expect(result).toEqual({ - identity: expect.objectContaining({ - did: 'someDid', - }), - }); - }); - }); - - describe('createChildIdentityResolver', () => { - const filterEventRecordsSpy = jest.spyOn(utilsInternalModule, 'filterEventRecords'); - const did = 'someDid'; - const rawIdentityId = dsMockUtils.createMockIdentityId(did); - const childDid = 'someChildDid'; - const rawChildIdentity = dsMockUtils.createMockIdentityId(childDid); - - beforeEach(() => { - filterEventRecordsSpy.mockReturnValue([ - dsMockUtils.createMockIEvent([rawIdentityId, rawChildIdentity]), - ]); - }); - - afterEach(() => { - jest.resetAllMocks(); - filterEventRecordsSpy.mockReset(); - }); - - it('should return the new ChildIdentity', () => { - const fakeContext = {} as Context; - - const result = createChildIdentityResolver(fakeContext)({} as ISubmittableResult); - - expect(result.did).toEqual(childDid); - }); - }); -}); diff --git a/src/api/procedures/__tests__/createConfidentialAccount.ts b/src/api/procedures/__tests__/createConfidentialAccount.ts index deb5a0d4d7..a8a62ae8b8 100644 --- a/src/api/procedures/__tests__/createConfidentialAccount.ts +++ b/src/api/procedures/__tests__/createConfidentialAccount.ts @@ -5,9 +5,9 @@ import { Mocked } from '~/testUtils/types'; import { CreateConfidentialAccountParams } from '~/types'; jest.mock( - '~/api/entities/confidential/ConfidentialAccount', + '~/api/entities/ConfidentialAccount', require('~/testUtils/mocks/entities').mockConfidentialAccountModule( - '~/api/entities/confidential/ConfidentialAccount' + '~/api/entities/ConfidentialAccount' ) ); diff --git a/src/api/procedures/__tests__/createConfidentialAsset.ts b/src/api/procedures/__tests__/createConfidentialAsset.ts index 43bb66e28f..9e4e0d8fad 100644 --- a/src/api/procedures/__tests__/createConfidentialAsset.ts +++ b/src/api/procedures/__tests__/createConfidentialAsset.ts @@ -1,6 +1,8 @@ import { PalletConfidentialAssetConfidentialAuditors } from '@polkadot/types/lookup'; import { ISubmittableResult } from '@polkadot/types/types'; import { Bytes } from '@polkadot/types-codec'; +import { ErrorCode } from '@polymeshassociation/polymesh-sdk/types'; +import * as utilsPublicInternalModule from '@polymeshassociation/polymesh-sdk/utils/internal'; import { when } from 'jest-when'; import { @@ -10,9 +12,8 @@ import { import { ConfidentialAsset, Context, Identity, PolymeshError } from '~/internal'; import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; import { Mocked } from '~/testUtils/types'; -import { ConfidentialAccount, CreateConfidentialAssetParams, ErrorCode } from '~/types'; +import { ConfidentialAccount, CreateConfidentialAssetParams } from '~/types'; import * as utilsConversionModule from '~/utils/conversion'; -import * as utilsInternalModule from '~/utils/internal'; describe('createConfidentialAsset procedure', () => { let mockContext: Mocked; @@ -142,7 +143,7 @@ describe('createConfidentialAsset procedure', () => { }); describe('createConfidentialAssetResolver', () => { - const filterEventRecordsSpy = jest.spyOn(utilsInternalModule, 'filterEventRecords'); + const filterEventRecordsSpy = jest.spyOn(utilsPublicInternalModule, 'filterEventRecords'); const did = 'someDid'; const rawIdentityId = dsMockUtils.createMockIdentityId(did); const rawConfidentialAsset = '0x76702175d8cbe3a55a19734433351e25'; diff --git a/src/api/procedures/__tests__/createConfidentialVenue.ts b/src/api/procedures/__tests__/createConfidentialVenue.ts index 0de0e8f30b..f9a66c34ec 100644 --- a/src/api/procedures/__tests__/createConfidentialVenue.ts +++ b/src/api/procedures/__tests__/createConfidentialVenue.ts @@ -1,4 +1,6 @@ import { ISubmittableResult } from '@polkadot/types/types'; +import { PolymeshTx } from '@polymeshassociation/polymesh-sdk/types/internal'; +import * as utilsPublicInternalModule from '@polymeshassociation/polymesh-sdk/utils/internal'; import BigNumber from 'bignumber.js'; import { @@ -10,8 +12,6 @@ import { Context } from '~/internal'; import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; import { Mocked } from '~/testUtils/types'; import { ConfidentialVenue, TxTags } from '~/types'; -import { PolymeshTx } from '~/types/internal'; -import * as utilsInternalModule from '~/utils/internal'; describe('createConfidentialVenue procedure', () => { let mockContext: Mocked; @@ -66,7 +66,7 @@ describe('createConfidentialVenue procedure', () => { }); describe('createCreateConfidentialVenueResolver', () => { - const filterEventRecordsSpy = jest.spyOn(utilsInternalModule, 'filterEventRecords'); + const filterEventRecordsSpy = jest.spyOn(utilsPublicInternalModule, 'filterEventRecords'); const id = new BigNumber(10); const rawId = dsMockUtils.createMockU64(id); diff --git a/src/api/procedures/__tests__/createGroup.ts b/src/api/procedures/__tests__/createGroup.ts deleted file mode 100644 index 115e33d6bf..0000000000 --- a/src/api/procedures/__tests__/createGroup.ts +++ /dev/null @@ -1,221 +0,0 @@ -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { - getAuthorization, - Params, - prepareCreateGroup, - prepareStorage, - Storage, -} from '~/api/procedures/createGroup'; -import * as procedureUtilsModule from '~/api/procedures/utils'; -import { Context, CustomPermissionGroup } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { PermissionType, TxTags } from '~/types'; -import { PolymeshTx } from '~/types/internal'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/Offering', - require('~/testUtils/mocks/entities').mockOfferingModule('~/api/entities/Offering') -); -jest.mock( - '~/api/entities/Asset/Fungible', - require('~/testUtils/mocks/entities').mockFungibleAssetModule('~/api/entities/Asset/Fungible') -); - -describe('createGroup procedure', () => { - const ticker = 'SOME_TICKER'; - const transactions = { - type: PermissionType.Include, - values: [TxTags.sto.Invest, TxTags.asset.CreateAsset], - }; - let target: string; - const rawTicker = dsMockUtils.createMockTicker(ticker); - const rawExtrinsicPermissions = dsMockUtils.createMockExtrinsicPermissions({ - These: [ - dsMockUtils.createMockPalletPermissions({ - palletName: 'Sto', - dispatchableNames: dsMockUtils.createMockDispatchableNames({ - These: [dsMockUtils.createMockBytes('invest')], - }), - }), - ], - }); - - let mockContext: Mocked; - let externalAgentsCreateGroupTransaction: PolymeshTx; - let permissionsLikeToPermissionsSpy: jest.SpyInstance; - - beforeAll(() => { - entityMockUtils.initMocks(); - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - - jest.spyOn(utilsConversionModule, 'stringToTicker').mockReturnValue(rawTicker); - jest - .spyOn(utilsConversionModule, 'transactionPermissionsToExtrinsicPermissions') - .mockReturnValue(rawExtrinsicPermissions); - - permissionsLikeToPermissionsSpy = jest.spyOn( - utilsConversionModule, - 'permissionsLikeToPermissions' - ); - target = 'someDid'; - }); - - beforeEach(() => { - externalAgentsCreateGroupTransaction = dsMockUtils.createTxMock( - 'externalAgents', - 'createGroup' - ); - mockContext = dsMockUtils.getContextInstance(); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it('should throw an error if there already exists a group with exactly the same permissions', async () => { - const errorMsg = 'ERROR'; - const assertGroupDoesNotExistSpy = jest.spyOn(procedureUtilsModule, 'assertGroupDoesNotExist'); - assertGroupDoesNotExistSpy.mockImplementation(() => { - throw new Error(errorMsg); - }); - - const args = { - ticker, - permissions: { transactions }, - }; - - when(permissionsLikeToPermissionsSpy) - .calledWith({ transactions }, mockContext) - .mockReturnValue({ transactions }); - - const proc = procedureMockUtils.getInstance( - mockContext, - { - asset: entityMockUtils.getFungibleAssetInstance({ - permissionsGetAgents: [ - { - agent: entityMockUtils.getIdentityInstance({ did: target }), - group: entityMockUtils.getKnownPermissionGroupInstance(), - }, - ], - }), - } - ); - - await expect(prepareCreateGroup.call(proc, args)).rejects.toThrow(errorMsg); - - assertGroupDoesNotExistSpy.mockRestore(); - }); - - it('should return a create group transaction spec', async () => { - const proc = procedureMockUtils.getInstance( - mockContext, - { - asset: entityMockUtils.getFungibleAssetInstance({ - ticker, - permissionsGetGroups: { - custom: [ - entityMockUtils.getCustomPermissionGroupInstance({ - ticker, - id: new BigNumber(2), - getPermissions: { - transactions: null, - transactionGroups: [], - }, - }), - ], - known: [], - }, - }), - } - ); - - const fakePermissions = { transactions }; - when(permissionsLikeToPermissionsSpy) - .calledWith(fakePermissions, mockContext) - .mockReturnValue({ transactions }); - - let result = await prepareCreateGroup.call(proc, { - ticker, - permissions: fakePermissions, - }); - - expect(result).toEqual({ - transaction: externalAgentsCreateGroupTransaction, - args: [rawTicker, rawExtrinsicPermissions], - resolver: expect.any(Function), - }); - - when(permissionsLikeToPermissionsSpy) - .calledWith( - { - transactions: { - type: PermissionType.Include, - values: [], - }, - }, - mockContext - ) - .mockReturnValue({ transactions: null }); - - result = await prepareCreateGroup.call(proc, { - ticker, - permissions: { transactions }, - }); - - expect(result).toEqual({ - transaction: externalAgentsCreateGroupTransaction, - args: [rawTicker, rawExtrinsicPermissions], - resolver: expect.any(Function), - }); - }); - - describe('prepareStorage', () => { - it('should return the Asset', () => { - const proc = procedureMockUtils.getInstance( - mockContext - ); - const boundFunc = prepareStorage.bind(proc); - - const result = boundFunc({ ticker } as Params); - - expect(result).toEqual({ - asset: expect.objectContaining({ ticker }), - }); - }); - }); - - describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', () => { - const proc = procedureMockUtils.getInstance( - mockContext, - { - asset: entityMockUtils.getFungibleAssetInstance({ - ticker, - }), - } - ); - const boundFunc = getAuthorization.bind(proc); - - expect(boundFunc()).toEqual({ - permissions: { - transactions: [TxTags.externalAgents.CreateGroup], - assets: [expect.objectContaining({ ticker })], - portfolios: [], - }, - }); - }); - }); -}); diff --git a/src/api/procedures/__tests__/createMultiSig.ts b/src/api/procedures/__tests__/createMultiSig.ts deleted file mode 100644 index 32cd81c3f7..0000000000 --- a/src/api/procedures/__tests__/createMultiSig.ts +++ /dev/null @@ -1,116 +0,0 @@ -import { ISubmittableResult } from '@polkadot/types/types'; -import BigNumber from 'bignumber.js'; - -import { MultiSig } from '~/api/entities/Account/MultiSig'; -import { - createMultiSigResolver, - prepareCreateMultiSigAccount, -} from '~/api/procedures/createMultiSig'; -import { Context, PolymeshError } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { CreateMultiSigParams, ErrorCode } from '~/types'; -import * as utilsConversionModule from '~/utils/conversion'; -import * as utilsInternalModule from '~/utils/internal'; - -describe('createMultiSig procedure', () => { - let mockContext: Mocked; - - beforeAll(() => { - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - jest.spyOn(utilsInternalModule, 'assertAddressValid').mockImplementation(); - jest.spyOn(utilsConversionModule, 'addressToKey').mockImplementation(); - }); - - beforeEach(() => { - mockContext = dsMockUtils.getContextInstance(); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it('should add a create multiSig transaction to the queue', async () => { - const proc = procedureMockUtils.getInstance(mockContext); - const createMultiSigTransaction = dsMockUtils.createTxMock('multiSig', 'createMultisig'); - const mockAccount = entityMockUtils.getAccountInstance(); - - const signers = [mockAccount]; - const requiredSignatures = new BigNumber(1); - - const rawSignatories = signers.map(s => - utilsConversionModule.signerToSignatory(s, mockContext) - ); - const rawRequiredSignatures = utilsConversionModule.bigNumberToU64( - requiredSignatures, - mockContext - ); - - const result = await prepareCreateMultiSigAccount.call(proc, { - signers, - requiredSignatures, - }); - - expect(result).toEqual({ - transaction: createMultiSigTransaction, - resolver: expect.any(Function), - args: [rawSignatories, rawRequiredSignatures], - }); - }); - - it('should throw an error if more signatures are required than signers', () => { - const proc = procedureMockUtils.getInstance(mockContext); - const mockAccount = entityMockUtils.getAccountInstance(); - - const signers = [mockAccount]; - const requiredSignatures = new BigNumber(2); - - const expectedError = new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'The number of required signatures should not exceed the number of signers', - }); - - return expect( - prepareCreateMultiSigAccount.call(proc, { - signers, - requiredSignatures, - }) - ).rejects.toThrowError(expectedError); - }); -}); - -describe('createMultiSigResolver', () => { - const filterEventRecordsSpy = jest.spyOn(utilsInternalModule, 'filterEventRecords'); - const did = 'someDid'; - const rawIdentityId = dsMockUtils.createMockIdentityId(did); - const address = '5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY'; - const rawAddress = dsMockUtils.createMockAccountId(address); - - beforeEach(() => { - filterEventRecordsSpy.mockReturnValue([ - dsMockUtils.createMockIEvent([rawIdentityId, rawAddress]), - ]); - }); - - afterEach(() => { - jest.resetAllMocks(); - filterEventRecordsSpy.mockReset(); - }); - - it('should return the new MultiSig', () => { - const fakeContext = {} as Context; - - const multiSig = createMultiSigResolver(fakeContext)({} as ISubmittableResult); - - expect(multiSig.address).toEqual(address); - }); -}); diff --git a/src/api/procedures/__tests__/createNftCollection.ts b/src/api/procedures/__tests__/createNftCollection.ts deleted file mode 100644 index f94b5fc4e1..0000000000 --- a/src/api/procedures/__tests__/createNftCollection.ts +++ /dev/null @@ -1,714 +0,0 @@ -import { bool, Bytes, Option, u32, Vec } from '@polkadot/types'; -import { Balance } from '@polkadot/types/interfaces'; -import { - PolymeshPrimitivesAssetAssetType, - PolymeshPrimitivesAssetIdentifier, - PolymeshPrimitivesAssetMetadataAssetMetadataSpec, - PolymeshPrimitivesAssetNonFungibleType, - PolymeshPrimitivesDocument, - PolymeshPrimitivesNftNftCollectionKeys, - PolymeshPrimitivesTicker, -} from '@polkadot/types/lookup'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { - getAuthorization, - Params, - prepareCreateNftCollection, - prepareStorage, - Storage, -} from '~/api/procedures/createNftCollection'; -import { Context, NftCollection, PolymeshError } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { - AssetDocument, - ErrorCode, - Identity, - KnownNftType, - MetadataType, - RoleType, - SecurityIdentifier, - SecurityIdentifierType, - TickerReservationStatus, - TxTags, -} from '~/types'; -import { InternalNftType, PolymeshTx, TickerKey } from '~/types/internal'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/TickerReservation', - require('~/testUtils/mocks/entities').mockTickerReservationModule( - '~/api/entities/TickerReservation' - ) -); -jest.mock( - '~/api/entities/Asset/Fungible', - require('~/testUtils/mocks/entities').mockFungibleAssetModule('~/api/entities/Asset/Fungible') -); - -describe('createNftCollection procedure', () => { - let mockContext: Mocked; - let stringToTickerSpy: jest.SpyInstance; - let nameToAssetNameSpy: jest.SpyInstance; - let stringToTickerKeySpy: jest.SpyInstance; - let internalNftTypeToNftTypeSpy: jest.SpyInstance< - PolymeshPrimitivesAssetNonFungibleType, - [InternalNftType, Context] - >; - let securityIdentifierToAssetIdentifierSpy: jest.SpyInstance< - PolymeshPrimitivesAssetIdentifier, - [SecurityIdentifier, Context] - >; - let assetDocumentToDocumentSpy: jest.SpyInstance< - PolymeshPrimitivesDocument, - [AssetDocument, Context] - >; - let stringToBytesSpy: jest.SpyInstance; - let bigNumberToU32: jest.SpyInstance; - let ticker: string; - let signingIdentity: Identity; - let name: string; - let nftType: string; - let securityIdentifiers: SecurityIdentifier[]; - let documents: AssetDocument[]; - let rawTicker: PolymeshPrimitivesTicker; - let rawName: Bytes; - let rawType: PolymeshPrimitivesAssetNonFungibleType; - let rawIdentifiers: PolymeshPrimitivesAssetIdentifier[]; - let rawDocuments: PolymeshPrimitivesDocument[]; - let args: Params; - let protocolFees: BigNumber[]; - - beforeAll(() => { - dsMockUtils.initMocks({ - contextOptions: { - balance: { - free: new BigNumber(1000), - locked: new BigNumber(0), - total: new BigNumber(1000), - }, - }, - }); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - stringToTickerSpy = jest.spyOn(utilsConversionModule, 'stringToTicker'); - nameToAssetNameSpy = jest.spyOn(utilsConversionModule, 'nameToAssetName'); - stringToTickerKeySpy = jest.spyOn(utilsConversionModule, 'stringToTickerKey'); - internalNftTypeToNftTypeSpy = jest.spyOn(utilsConversionModule, 'internalNftTypeToNftType'); - securityIdentifierToAssetIdentifierSpy = jest.spyOn( - utilsConversionModule, - 'securityIdentifierToAssetIdentifier' - ); - - assetDocumentToDocumentSpy = jest.spyOn(utilsConversionModule, 'assetDocumentToDocument'); - stringToBytesSpy = jest.spyOn(utilsConversionModule, 'stringToBytes'); - bigNumberToU32 = jest.spyOn(utilsConversionModule, 'bigNumberToU32'); - ticker = 'NFT'; - name = 'someName'; - signingIdentity = entityMockUtils.getIdentityInstance(); - nftType = KnownNftType.Derivative; - securityIdentifiers = [ - { - type: SecurityIdentifierType.Isin, - value: '12345', - }, - ]; - documents = [ - { - name: 'someDocument', - uri: 'someUri', - contentHash: 'someHash', - }, - ]; - rawTicker = dsMockUtils.createMockTicker(ticker); - rawName = dsMockUtils.createMockBytes(name); - rawType = dsMockUtils.createMockNftType(nftType as KnownNftType); - rawIdentifiers = securityIdentifiers.map(({ type, value }) => - dsMockUtils.createMockAssetIdentifier({ - [type as 'Lei']: dsMockUtils.createMockU8aFixed(value), - }) - ); - rawDocuments = documents.map(({ uri, contentHash, name: docName, type, filedAt }) => - dsMockUtils.createMockDocument({ - name: dsMockUtils.createMockBytes(docName), - uri: dsMockUtils.createMockBytes(uri), - contentHash: dsMockUtils.createMockDocumentHash({ - H128: dsMockUtils.createMockU8aFixed(contentHash), - }), - docType: dsMockUtils.createMockOption(type ? dsMockUtils.createMockBytes(type) : null), - filingDate: dsMockUtils.createMockOption( - filedAt ? dsMockUtils.createMockMoment(new BigNumber(filedAt.getTime())) : null - ), - }) - ); - args = { - ticker, - name, - nftType, - collectionKeys: [], - }; - protocolFees = [new BigNumber(250), new BigNumber(150), new BigNumber(100)]; - }); - - let createAssetTransaction: PolymeshTx< - [ - Bytes, - PolymeshPrimitivesTicker, - Balance, - bool, - PolymeshPrimitivesAssetAssetType, - Vec, - Option, - bool - ] - >; - let createNftCollectionTransaction: PolymeshTx< - [ - PolymeshPrimitivesTicker, - Option, - PolymeshPrimitivesNftNftCollectionKeys - ] - >; - let registerAssetMetadataLocalTypeTransaction: PolymeshTx< - [PolymeshPrimitivesTicker, PolymeshPrimitivesAssetMetadataAssetMetadataSpec] - >; - let addDocumentsTransaction: PolymeshTx<[PolymeshPrimitivesDocument[], PolymeshPrimitivesTicker]>; - - beforeEach(() => { - dsMockUtils.createQueryMock('asset', 'tickerConfig', { - returnValue: dsMockUtils.createMockTickerRegistrationConfig(), - }); - - createAssetTransaction = dsMockUtils.createTxMock('asset', 'createAsset'); - createNftCollectionTransaction = dsMockUtils.createTxMock('nft', 'createNftCollection'); - registerAssetMetadataLocalTypeTransaction = dsMockUtils.createTxMock( - 'asset', - 'registerAssetMetadataLocalType' - ); - addDocumentsTransaction = dsMockUtils.createTxMock('asset', 'addDocuments'); - - mockContext = dsMockUtils.getContextInstance({ withSigningManager: true }); - - when(stringToTickerSpy).calledWith(ticker, mockContext).mockReturnValue(rawTicker); - when(nameToAssetNameSpy).calledWith(name, mockContext).mockReturnValue(rawName); - when(stringToTickerKeySpy) - .calledWith(ticker, mockContext) - .mockReturnValue({ Ticker: rawTicker }); - when(internalNftTypeToNftTypeSpy) - .calledWith(nftType as KnownNftType, mockContext) - .mockReturnValue(rawType); - when(securityIdentifierToAssetIdentifierSpy) - .calledWith(securityIdentifiers[0], mockContext) - .mockReturnValue(rawIdentifiers[0]); - when(assetDocumentToDocumentSpy) - .calledWith( - { uri: documents[0].uri, contentHash: documents[0].contentHash, name: documents[0].name }, - mockContext - ) - .mockReturnValue(rawDocuments[0]); - - when(mockContext.getProtocolFees) - .calledWith({ tags: [TxTags.asset.RegisterTicker, TxTags.asset.CreateAsset] }) - .mockResolvedValue([ - { tag: TxTags.asset.RegisterTicker, fees: protocolFees[0] }, - { tag: TxTags.asset.CreateAsset, fees: protocolFees[1] }, - ]); - when(mockContext.getProtocolFees) - .calledWith({ tags: [TxTags.asset.RegisterCustomAssetType] }) - .mockResolvedValue([{ tag: TxTags.asset.RegisterCustomAssetType, fees: protocolFees[2] }]); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it('should throw an error if an Asset with that ticker has already been launched for non NFT type', () => { - const proc = procedureMockUtils.getInstance(mockContext, { - customTypeData: null, - status: TickerReservationStatus.AssetCreated, - signingIdentity, - needsLocalMetadata: false, - }); - - return expect(prepareCreateNftCollection.call(proc, args)).rejects.toThrow( - 'Only assets with type NFT can be turned into NFT collections' - ); - }); - - it('should throw an error if the ticker contains non numeric characters', () => { - const proc = procedureMockUtils.getInstance(mockContext, { - customTypeData: null, - status: TickerReservationStatus.Reserved, - signingIdentity, - needsLocalMetadata: false, - }); - - return expect( - prepareCreateNftCollection.call(proc, { ...args, ticker: 'SOME_TICKER' }) - ).rejects.toThrow('New Tickers can only contain alphanumeric values'); - }); - - describe('prepareCreateNftCollection', () => { - const rawDivisible = dsMockUtils.createMockBool(false); - const rawAssetType = dsMockUtils.createMockAssetType({ NonFungible: rawType }); - let collectionKeysSpy: jest.SpyInstance; - let metadataSpecToMeshMetadataSpecSpy: jest.SpyInstance; - beforeEach(() => { - jest.spyOn(utilsConversionModule, 'nameToAssetName').mockReturnValue(rawName); - jest.spyOn(utilsConversionModule, 'stringToTicker').mockReturnValue(rawTicker); - jest.spyOn(utilsConversionModule, 'booleanToBool').mockReturnValue(rawDivisible); - jest - .spyOn(utilsConversionModule, 'internalAssetTypeToAssetType') - .mockReturnValue(rawAssetType); - jest - .spyOn(utilsConversionModule, 'securityIdentifierToAssetIdentifier') - .mockReturnValue('fakeId' as unknown as PolymeshPrimitivesAssetIdentifier); - - collectionKeysSpy = jest.spyOn(utilsConversionModule, 'collectionKeysToMetadataKeys'); - metadataSpecToMeshMetadataSpecSpy = jest.spyOn( - utilsConversionModule, - 'metadataSpecToMeshMetadataSpec' - ); - }); - - it('should add an Asset creation transaction to the batch', async () => { - const proc = procedureMockUtils.getInstance(mockContext, { - customTypeData: null, - status: TickerReservationStatus.Reserved, - signingIdentity, - needsLocalMetadata: false, - }); - const rawNftType = dsMockUtils.createMockNftType(KnownNftType.Derivative); - const rawCollectionKeys = [] as const; - collectionKeysSpy.mockReturnValue(rawCollectionKeys); - stringToBytesSpy.mockReturnValue(rawName); - - const result = await prepareCreateNftCollection.call(proc, { - ticker, - nftType: KnownNftType.Derivative, - collectionKeys: [], - securityIdentifiers: [{ type: SecurityIdentifierType.Lei, value: '' }], - documents, - }); - - expect(JSON.stringify(result.transactions)).toEqual( - JSON.stringify([ - { - transaction: createAssetTransaction, - args: [rawName, rawTicker, rawDivisible, rawAssetType, ['fakeId'], null], - }, - { - transaction: addDocumentsTransaction, - feeMultiplier: new BigNumber(1), - args: [rawDocuments, rawTicker], - }, - { - transaction: createNftCollectionTransaction, - fee: new BigNumber('200'), - args: [rawTicker, rawNftType, []], - }, - ]) - ); - }); - - it('should not have createAsset if Asset is already created', async () => { - entityMockUtils.configureMocks({ - fungibleAssetOptions: { - details: { assetType: KnownNftType.Derivative, nonFungible: true }, - }, - }); - - const proc = procedureMockUtils.getInstance(mockContext, { - customTypeData: null, - status: TickerReservationStatus.AssetCreated, - signingIdentity, - needsLocalMetadata: false, - }); - const rawNftType = dsMockUtils.createMockNftType(KnownNftType.Derivative); - const rawCollectionKeys = [] as const; - collectionKeysSpy.mockReturnValue(rawCollectionKeys); - stringToBytesSpy.mockReturnValue(rawName); - - const result = await prepareCreateNftCollection.call(proc, { - ticker, - nftType: KnownNftType.Derivative, - collectionKeys: [], - }); - - expect(JSON.stringify(result.transactions)).toEqual( - JSON.stringify([ - { - transaction: createNftCollectionTransaction, - fee: new BigNumber('200'), - args: [rawTicker, rawNftType, []], - }, - ]) - ); - }); - - it('should handle custom type data', async () => { - const typeId = new BigNumber(1); - const rawId = dsMockUtils.createMockU32(typeId); - const proc = procedureMockUtils.getInstance(mockContext, { - customTypeData: { - rawId, - rawValue: dsMockUtils.createMockBytes('someCustomType'), - }, - status: TickerReservationStatus.Free, - signingIdentity, - needsLocalMetadata: false, - }); - const rawNftType = dsMockUtils.createMockNftType({ - Custom: dsMockUtils.createMockU32(typeId), - }); - const rawCollectionKeys = [] as const; - - collectionKeysSpy.mockReturnValue(rawCollectionKeys); - stringToBytesSpy.mockReturnValue(rawName); - when(internalNftTypeToNftTypeSpy) - .calledWith({ Custom: rawId }, mockContext) - .mockReturnValue(rawNftType); - - const result = await prepareCreateNftCollection.call(proc, { - ticker, - nftType: KnownNftType.Derivative, - collectionKeys: [], - }); - - expect(JSON.stringify(result.transactions)).toEqual( - JSON.stringify([ - { - transaction: createAssetTransaction, - args: [rawName, rawTicker, rawDivisible, rawAssetType, [], null], - }, - { - transaction: createNftCollectionTransaction, - fee: new BigNumber('200'), - args: [rawTicker, rawNftType, []], - }, - ]) - ); - }); - - it('should register local metadata if needed', async () => { - const proc = procedureMockUtils.getInstance(mockContext, { - customTypeData: null, - status: TickerReservationStatus.Free, - signingIdentity, - needsLocalMetadata: true, - }); - const rawNftType = dsMockUtils.createMockNftType(KnownNftType.Derivative); - const rawCollectionKeys = [ - dsMockUtils.createMockU64(new BigNumber(1)), - dsMockUtils.createMockU64(new BigNumber(2)), - ] as const; - collectionKeysSpy.mockReturnValue(rawCollectionKeys); - stringToBytesSpy.mockReturnValue(rawName); - const fakeMetadataSpec = 'fakeMetadataSpec'; - - metadataSpecToMeshMetadataSpecSpy.mockReturnValue(fakeMetadataSpec); - - const result = await prepareCreateNftCollection.call(proc, { - ticker, - nftType: KnownNftType.Derivative, - collectionKeys: [ - { type: MetadataType.Local, name: 'Test Metadata', spec: { url: 'https://example.com' } }, - { type: MetadataType.Global, id: new BigNumber(2) }, - ], - }); - - expect(JSON.stringify(result.transactions)).toEqual( - JSON.stringify([ - { - transaction: createAssetTransaction, - args: [rawName, rawTicker, rawDivisible, rawAssetType, [], null], - }, - { - transaction: registerAssetMetadataLocalTypeTransaction, - args: [rawTicker, rawName, fakeMetadataSpec], - }, - { - transaction: createNftCollectionTransaction, - fee: new BigNumber('200'), - args: [rawTicker, rawNftType, rawCollectionKeys], - }, - ]) - ); - }); - }); - - describe('getAuthorization', () => { - it('should return all needed permissions', async () => { - const proc = procedureMockUtils.getInstance(mockContext, { - customTypeData: null, - status: TickerReservationStatus.Free, - signingIdentity, - needsLocalMetadata: true, - }); - - const boundFunc = getAuthorization.bind(proc); - - const result = await boundFunc({ ...args, documents }); - - expect(result).toEqual({ - permissions: { - assets: [], - portfolios: [], - transactions: [ - TxTags.nft.CreateNftCollection, - TxTags.asset.CreateAsset, - TxTags.asset.RegisterAssetMetadataLocalType, - TxTags.asset.AddDocuments, - ], - }, - }); - }); - - it('should handle ticker already reserved', async () => { - const proc = procedureMockUtils.getInstance(mockContext, { - customTypeData: null, - status: TickerReservationStatus.Reserved, - signingIdentity, - needsLocalMetadata: false, - }); - - const boundFunc = getAuthorization.bind(proc); - - const result = await boundFunc(args); - - expect(result).toEqual({ - roles: [{ ticker, type: RoleType.TickerOwner }], - permissions: { - assets: [], - portfolios: [], - transactions: [TxTags.nft.CreateNftCollection, TxTags.asset.CreateAsset], - }, - }); - }); - - it('should handle asset already created', async () => { - const proc = procedureMockUtils.getInstance(mockContext, { - customTypeData: null, - status: TickerReservationStatus.AssetCreated, - signingIdentity, - needsLocalMetadata: false, - }); - - const boundFunc = getAuthorization.bind(proc); - - const result = await boundFunc(args); - - expect(result).toEqual({ - permissions: { - assets: expect.arrayContaining([expect.objectContaining({ ticker })]), - portfolios: [], - transactions: [TxTags.nft.CreateNftCollection], - }, - }); - }); - }); - - describe('prepareStorage', () => { - const customId = new BigNumber(1); - const rawId = dsMockUtils.createMockU32(customId); - const customType = 'customNftType'; - const rawValue = dsMockUtils.createMockBytes(customType); - - beforeEach(() => { - mockContext.getSigningIdentity.mockResolvedValue(signingIdentity); - - entityMockUtils.configureMocks({ - tickerReservationOptions: { - details: { - owner: entityMockUtils.getIdentityInstance(), - expiryDate: null, - status: TickerReservationStatus.Free, - }, - }, - }); - - dsMockUtils.createQueryMock('nft', 'collectionTicker', { - returnValue: dsMockUtils.createMockU64(new BigNumber(0)), - }); - }); - - describe('with known type', () => { - it('should indicate if local metadata is needed', async () => { - const proc = procedureMockUtils.getInstance(mockContext); - const boundFunc = prepareStorage.bind(proc); - stringToBytesSpy.mockReturnValue(rawValue); - - const result = await boundFunc({ - ticker, - nftType: KnownNftType.Derivative, - collectionKeys: [ - { - type: MetadataType.Local, - name: 'Test Metadata', - spec: { url: 'https://example.com' }, - }, - ], - }); - - expect(JSON.stringify(result)).toEqual( - JSON.stringify({ - customTypeData: null, - status: TickerReservationStatus.Free, - signingIdentity: entityMockUtils.getIdentityInstance(), - needsLocalMetadata: true, - }) - ); - }); - - it('should indicate if local metadata is not needed', async () => { - const proc = procedureMockUtils.getInstance(mockContext); - const boundFunc = prepareStorage.bind(proc); - stringToBytesSpy.mockReturnValue(rawValue); - - const result = await boundFunc({ - ticker, - nftType: KnownNftType.Derivative, - collectionKeys: [ - { - type: MetadataType.Global, - id: new BigNumber(2), - }, - ], - }); - - expect(JSON.stringify(result)).toEqual( - JSON.stringify({ - customTypeData: null, - status: TickerReservationStatus.Free, - signingIdentity: entityMockUtils.getIdentityInstance(), - needsLocalMetadata: false, - }) - ); - }); - }); - - describe('with custom type strings', () => { - it('should handle custom type strings', async () => { - const proc = procedureMockUtils.getInstance(mockContext); - const boundFunc = prepareStorage.bind(proc); - stringToBytesSpy.mockReturnValue(rawValue); - - dsMockUtils.createQueryMock('asset', 'customTypesInverse', { - returnValue: dsMockUtils.createMockOption(dsMockUtils.createMockU64(customId)), - }); - - const result = await boundFunc({ - ticker, - nftType: customType, - collectionKeys: [], - }); - - expect(JSON.stringify(result.customTypeData)).toEqual( - JSON.stringify({ - rawId, - rawValue, - }) - ); - }); - - it('should throw if custom type string was not registered', () => { - const proc = procedureMockUtils.getInstance(mockContext); - const boundFunc = prepareStorage.bind(proc); - stringToBytesSpy.mockReturnValue(rawValue); - - dsMockUtils.createQueryMock('asset', 'customTypesInverse', { - returnValue: dsMockUtils.createMockOption(), - }); - - const expectedError = new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: - 'createNftCollection procedure was given a custom type string that does not have a corresponding ID. Register the type and try again', - }); - - return expect( - boundFunc({ - ticker, - nftType: customType, - collectionKeys: [], - }) - ).rejects.toThrow(expectedError); - }); - }); - - describe('with custom type ID', () => { - it('should handle existing ID', async () => { - const proc = procedureMockUtils.getInstance(mockContext); - const boundFunc = prepareStorage.bind(proc); - bigNumberToU32.mockReturnValue(rawId); - - dsMockUtils.createQueryMock('asset', 'customTypes', { - returnValue: rawValue, - }); - - const result = await boundFunc({ - ticker, - nftType: customId, - collectionKeys: [], - }); - - expect(JSON.stringify(result.customTypeData)).toEqual( - JSON.stringify({ - rawId, - rawValue, - }) - ); - }); - - it('should throw if Id does not exist', () => { - const proc = procedureMockUtils.getInstance(mockContext); - const boundFunc = prepareStorage.bind(proc); - - dsMockUtils.createQueryMock('asset', 'customTypes', { - returnValue: dsMockUtils.createMockOption(), - }); - - const expectedError = new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: - 'createNftCollection was given a custom type ID that does not have an corresponding value', - }); - - return expect( - boundFunc({ - ticker, - nftType: customId, - collectionKeys: [], - }) - ).rejects.toThrow(expectedError); - }); - }); - - it('should throw if the NftCollection already exists', () => { - const proc = procedureMockUtils.getInstance(mockContext); - const boundFunc = prepareStorage.bind(proc); - - dsMockUtils.createQueryMock('nft', 'collectionTicker', { - returnValue: dsMockUtils.createMockU64(new BigNumber(1)), - }); - - const expectedError = new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'An NFT collection already exists with the ticker', - }); - - return expect( - boundFunc({ ticker, nftType: KnownNftType.Derivative, collectionKeys: [] }) - ).rejects.toThrow(expectedError); - }); - }); -}); diff --git a/src/api/procedures/__tests__/createPortfolios.ts b/src/api/procedures/__tests__/createPortfolios.ts deleted file mode 100644 index 90a7dd1a3d..0000000000 --- a/src/api/procedures/__tests__/createPortfolios.ts +++ /dev/null @@ -1,115 +0,0 @@ -import { Bytes, u64 } from '@polkadot/types'; -import { PolymeshPrimitivesIdentityId } from '@polkadot/types/lookup'; -import { ISubmittableResult } from '@polkadot/types/types'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { - createPortfoliosResolver, - Params, - prepareCreatePortfolios, -} from '~/api/procedures/createPortfolios'; -import { Context, NumberedPortfolio } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import * as utilsConversionModule from '~/utils/conversion'; -import * as utilsInternalModule from '~/utils/internal'; - -describe('createPortfolios procedure', () => { - let mockContext: Mocked; - let stringToBytesSpy: jest.SpyInstance; - let getPortfolioIdsByNameSpy: jest.SpyInstance; - let newPortfolioName: string; - let rawNewPortfolioName: Bytes; - - beforeAll(() => { - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - - stringToBytesSpy = jest.spyOn(utilsConversionModule, 'stringToBytes'); - getPortfolioIdsByNameSpy = jest.spyOn(utilsInternalModule, 'getPortfolioIdsByName'); - - newPortfolioName = 'newPortfolioName'; - rawNewPortfolioName = dsMockUtils.createMockBytes(newPortfolioName); - }); - - beforeEach(() => { - mockContext = dsMockUtils.getContextInstance(); - when(stringToBytesSpy) - .calledWith(newPortfolioName, mockContext) - .mockReturnValue(rawNewPortfolioName); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it('should throw an error if the portfolio name is duplicated', () => { - const proc = procedureMockUtils.getInstance(mockContext); - getPortfolioIdsByNameSpy.mockResolvedValue([new BigNumber(1)]); - - return expect( - prepareCreatePortfolios.call(proc, { names: [newPortfolioName] }) - ).rejects.toThrow('There already exist Portfolios with some of the given names'); - }); - - it('should return a create portfolio transaction spec', async () => { - const proc = procedureMockUtils.getInstance(mockContext); - const createPortfolioTransaction = dsMockUtils.createTxMock('portfolio', 'createPortfolio'); - getPortfolioIdsByNameSpy.mockResolvedValue([null]); - - const result = await prepareCreatePortfolios.call(proc, { names: [newPortfolioName] }); - - expect(result).toEqual({ - transactions: [ - { - transaction: createPortfolioTransaction, - args: [rawNewPortfolioName], - }, - ], - resolver: expect.any(Function), - }); - }); -}); - -describe('createPortfoliosResolver', () => { - const filterEventRecordsSpy = jest.spyOn(utilsInternalModule, 'filterEventRecords'); - const did = 'someDid'; - const rawIdentityId = dsMockUtils.createMockIdentityId(did); - const id = new BigNumber(1); - const rawId = dsMockUtils.createMockU64(id); - let identityIdToStringSpy: jest.SpyInstance; - let u64ToBigNumberSpy: jest.SpyInstance; - - beforeAll(() => { - identityIdToStringSpy = jest.spyOn(utilsConversionModule, 'identityIdToString'); - u64ToBigNumberSpy = jest.spyOn(utilsConversionModule, 'u64ToBigNumber'); - }); - - beforeEach(() => { - when(identityIdToStringSpy).calledWith(rawIdentityId).mockReturnValue(did); - when(u64ToBigNumberSpy).calledWith(rawId).mockReturnValue(id); - filterEventRecordsSpy.mockReturnValue([dsMockUtils.createMockIEvent([rawIdentityId, rawId])]); - }); - - afterEach(() => { - jest.resetAllMocks(); - filterEventRecordsSpy.mockReset(); - }); - - it('should return the new Numbered Portfolios', () => { - const fakeContext = {} as Context; - - const [result] = createPortfoliosResolver(fakeContext)({} as ISubmittableResult); - - expect(result.id).toEqual(id); - }); -}); diff --git a/src/api/procedures/__tests__/createTransactionBatch.ts b/src/api/procedures/__tests__/createTransactionBatch.ts deleted file mode 100644 index b3221c0789..0000000000 --- a/src/api/procedures/__tests__/createTransactionBatch.ts +++ /dev/null @@ -1,208 +0,0 @@ -import { ISubmittableResult } from '@polkadot/types/types'; -import { PolkadotSigner } from '@polymeshassociation/signing-manager-types'; - -import { - getAuthorization, - prepareCreateTransactionBatch, - prepareStorage, - Storage, -} from '~/api/procedures/createTransactionBatch'; -import { Context, PolymeshTransaction, PolymeshTransactionBatch } from '~/internal'; -import { - dsMockUtils, - entityMockUtils, - polymeshTransactionMockUtils, - procedureMockUtils, -} from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { CreateTransactionBatchParams, TxTags } from '~/types'; -import { BatchTransactionSpec, PolymeshTx, ProcedureAuthorization } from '~/types/internal'; -import * as utilsInternalModule from '~/utils/internal'; - -type ReturnValues = [number, number]; - -describe('createTransactionBatch procedure', () => { - let mockContext: Mocked; - let tx1: PolymeshTx, tx2: PolymeshTx, tx3: PolymeshTx; - - beforeAll(() => { - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - polymeshTransactionMockUtils.initMocks(); - }); - - beforeEach(() => { - mockContext = dsMockUtils.getContextInstance(); - - tx1 = dsMockUtils.createTxMock('asset', 'registerTicker'); - tx2 = dsMockUtils.createTxMock('asset', 'createAsset'); - tx3 = dsMockUtils.createTxMock('portfolio', 'createPortfolio'); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it('should return a batch transaction spec with every transaction in the arguments', async () => { - const processedTransactions = [ - { - transaction: tx1, - args: [], - }, - { - transaction: tx2, - args: [], - }, - { - transaction: tx3, - args: [], - }, - ]; - - const proc = procedureMockUtils.getInstance< - CreateTransactionBatchParams, - ReturnValues, - Storage - >(mockContext, { - processedTransactions, - tags: [ - TxTags.asset.RegisterTicker, - TxTags.asset.CreateAsset, - TxTags.portfolio.CreatePortfolio, - ], - resolvers: [(): number => 1, (): number => 2], - }); - - const result = await prepareCreateTransactionBatch.call< - typeof proc, - never[], - Promise> - >(proc); - - expect(result).toEqual({ - transactions: processedTransactions, - resolver: expect.any(Function), - }); - - expect(await (result.resolver as () => Promise)()).toEqual([1, 2]); - }); - - describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', async () => { - const tags = [ - TxTags.asset.RegisterTicker, - TxTags.asset.CreateAsset, - TxTags.portfolio.CreatePortfolio, - ]; - - const proc = procedureMockUtils.getInstance< - CreateTransactionBatchParams, - ReturnValues, - Storage - >(mockContext, { - processedTransactions: [], - tags, - resolvers: [], - }); - - const boundFunc = getAuthorization.bind(proc); - - expect(boundFunc()).toEqual({ - permissions: { - transactions: [...tags, TxTags.utility.BatchAll], - }, - }); - }); - }); - - describe('prepareStorage', () => { - it('should return the DID of signing Identity', async () => { - const transactions = [ - new PolymeshTransactionBatch( - { - transactions: [ - { - transaction: tx1, - args: ['foo'] as unknown[], - }, - { - transaction: tx2, - args: ['bar'] as unknown[], - }, - ], - resolver: 1, - signingAddress: 'someAddress', - signer: {} as PolkadotSigner, - mortality: { immortal: false }, - }, - mockContext - ), - new PolymeshTransaction( - { - transaction: tx3, - args: ['baz'] as unknown[], - resolver: (): number => 2, - transformer: (val): number => val * 2, - signingAddress: 'someAddress', - signer: {} as PolkadotSigner, - mortality: { immortal: false }, - }, - mockContext - ), - ] as const; - const proc = procedureMockUtils.getInstance< - CreateTransactionBatchParams, - ReturnValues, - Storage - >(mockContext); - const boundFunc = prepareStorage.bind< - typeof proc, - CreateTransactionBatchParams, - Storage - >(proc); - const result = boundFunc({ transactions }); - - expect(result).toEqual({ - processedTransactions: [ - { - transaction: tx1, - args: ['foo'], - fee: undefined, - feeMultiplier: undefined, - }, - { - transaction: tx2, - args: ['bar'], - fee: undefined, - feeMultiplier: undefined, - }, - { - transaction: tx3, - args: ['baz'], - fee: undefined, - feeMultiplier: undefined, - }, - ], - tags: [ - TxTags.asset.RegisterTicker, - TxTags.asset.CreateAsset, - TxTags.portfolio.CreatePortfolio, - ], - resolvers: [expect.any(Function), expect.any(Function)], - }); - - jest.spyOn(utilsInternalModule, 'sliceBatchReceipt').mockImplementation(); - - await expect(result.resolvers[0]({} as ISubmittableResult)).resolves.toBe(1); - await expect(result.resolvers[1]({} as ISubmittableResult)).resolves.toBe(4); - }); - }); -}); diff --git a/src/api/procedures/__tests__/createVenue.ts b/src/api/procedures/__tests__/createVenue.ts deleted file mode 100644 index 8f6eaeed3c..0000000000 --- a/src/api/procedures/__tests__/createVenue.ts +++ /dev/null @@ -1,102 +0,0 @@ -import { Bytes } from '@polkadot/types'; -import { PolymeshPrimitivesSettlementVenueType } from '@polkadot/types/lookup'; -import { ISubmittableResult } from '@polkadot/types/types'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { createCreateVenueResolver, prepareCreateVenue } from '~/api/procedures/createVenue'; -import { Context, Venue } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { CreateVenueParams, VenueType } from '~/types'; -import { PolymeshTx } from '~/types/internal'; -import * as utilsConversionModule from '~/utils/conversion'; -import * as utilsInternalModule from '~/utils/internal'; - -describe('createVenue procedure', () => { - let mockContext: Mocked; - let stringToBytes: jest.SpyInstance; - let venueTypeToMeshVenueTypeSpy: jest.SpyInstance< - PolymeshPrimitivesSettlementVenueType, - [VenueType, Context] - >; - let createVenueTransaction: PolymeshTx; - - beforeAll(() => { - entityMockUtils.initMocks(); - procedureMockUtils.initMocks(); - dsMockUtils.initMocks(); - stringToBytes = jest.spyOn(utilsConversionModule, 'stringToBytes'); - venueTypeToMeshVenueTypeSpy = jest.spyOn(utilsConversionModule, 'venueTypeToMeshVenueType'); - }); - - beforeEach(() => { - mockContext = dsMockUtils.getContextInstance(); - createVenueTransaction = dsMockUtils.createTxMock('settlement', 'createVenue'); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it('should return a createVenue transaction spec', async () => { - const description = 'description'; - const type = VenueType.Distribution; - const args = { - description, - type, - }; - const rawDetails = dsMockUtils.createMockBytes(description); - const rawType = dsMockUtils.createMockVenueType(type); - - const proc = procedureMockUtils.getInstance(mockContext); - - when(stringToBytes).calledWith(description, mockContext).mockReturnValue(rawDetails); - when(venueTypeToMeshVenueTypeSpy).calledWith(type, mockContext).mockReturnValue(rawType); - - const result = await prepareCreateVenue.call(proc, args); - - expect(result).toEqual({ - transaction: createVenueTransaction, - args: [rawDetails, [], rawType], - resolver: expect.any(Function), - }); - }); -}); - -describe('createCreateVenueResolver', () => { - const filterEventRecordsSpy = jest.spyOn(utilsInternalModule, 'filterEventRecords'); - const id = new BigNumber(10); - const rawId = dsMockUtils.createMockU64(id); - - beforeAll(() => { - entityMockUtils.initMocks({ - venueOptions: { - id, - }, - }); - }); - - beforeEach(() => { - filterEventRecordsSpy.mockReturnValue([dsMockUtils.createMockIEvent(['did', rawId])]); - }); - - afterEach(() => { - filterEventRecordsSpy.mockReset(); - }); - - it('should return the new Venue', () => { - const fakeContext = {} as Context; - - const result = createCreateVenueResolver(fakeContext)({} as ISubmittableResult); - - expect(result.id).toEqual(id); - }); -}); diff --git a/src/api/procedures/__tests__/deletePortfolio.ts b/src/api/procedures/__tests__/deletePortfolio.ts deleted file mode 100644 index 92f0a21e49..0000000000 --- a/src/api/procedures/__tests__/deletePortfolio.ts +++ /dev/null @@ -1,157 +0,0 @@ -import { u64 } from '@polkadot/types'; -import { PolymeshPrimitivesIdentityId } from '@polkadot/types/lookup'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { - DeletePortfolioParams, - getAuthorization, - prepareDeletePortfolio, -} from '~/api/procedures/deletePortfolio'; -import { Context } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { PortfolioBalance, RoleType, TxTags } from '~/types'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/NumberedPortfolio', - require('~/testUtils/mocks/entities').mockNumberedPortfolioModule( - '~/api/entities/NumberedPortfolio' - ) -); - -describe('deletePortfolio procedure', () => { - const id = new BigNumber(1); - const did = 'someDid'; - const identityId = dsMockUtils.createMockIdentityId(did); - const portfolioNumber = dsMockUtils.createMockU64(id); - const zeroBalance = { total: new BigNumber(0) } as PortfolioBalance; - let mockContext: Mocked; - let stringToIdentityIdSpy: jest.SpyInstance; - let bigNumberToU64Spy: jest.SpyInstance; - - beforeAll(() => { - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - stringToIdentityIdSpy = jest.spyOn(utilsConversionModule, 'stringToIdentityId'); - bigNumberToU64Spy = jest.spyOn(utilsConversionModule, 'bigNumberToU64'); - }); - - beforeEach(() => { - mockContext = dsMockUtils.getContextInstance(); - when(stringToIdentityIdSpy).calledWith(did, mockContext).mockReturnValue(identityId); - when(bigNumberToU64Spy).calledWith(id, mockContext).mockReturnValue(portfolioNumber); - dsMockUtils - .createQueryMock('portfolio', 'portfolios') - .mockReturnValue(dsMockUtils.createMockBytes('someName')); - entityMockUtils.configureMocks({ - numberedPortfolioOptions: { - isOwnedBy: true, - getAssetBalances: [zeroBalance, zeroBalance], - }, - }); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it('should throw an error if the Portfolio has balance in it', () => { - entityMockUtils.configureMocks({ - numberedPortfolioOptions: { - getAssetBalances: [ - { total: new BigNumber(1) }, - { total: new BigNumber(0) }, - ] as PortfolioBalance[], - }, - }); - - const proc = procedureMockUtils.getInstance(mockContext); - - return expect( - prepareDeletePortfolio.call(proc, { - id, - did, - }) - ).rejects.toThrow('Only empty Portfolios can be deleted'); - }); - - it('should throw an error if the Portfolio has balance in it', () => { - entityMockUtils.configureMocks({ - numberedPortfolioOptions: { - exists: false, - }, - }); - - const proc = procedureMockUtils.getInstance(mockContext); - - return expect( - prepareDeletePortfolio.call(proc, { - id, - did, - }) - ).rejects.toThrow("The Portfolio doesn't exist"); - }); - - it('should return a delete portfolio transaction spec', async () => { - const proc = procedureMockUtils.getInstance(mockContext); - - const transaction = dsMockUtils.createTxMock('portfolio', 'deletePortfolio'); - - let result = await prepareDeletePortfolio.call(proc, { - id, - did, - }); - - expect(result).toEqual({ transaction, args: [portfolioNumber] }); - - entityMockUtils.configureMocks({ - numberedPortfolioOptions: { - getAssetBalances: [], - }, - }); - - result = await prepareDeletePortfolio.call(proc, { - id, - did, - }); - - expect(result).toEqual({ transaction, args: [portfolioNumber] }); - }); - - describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', () => { - const proc = procedureMockUtils.getInstance(mockContext); - const boundFunc = getAuthorization.bind(proc); - const args = { - id: new BigNumber(1), - did: 'someDid', - }; - - const portfolioId = { did: args.did, number: args.id }; - const portfolio = entityMockUtils.getNumberedPortfolioInstance(args); - - when(jest.spyOn(utilsConversionModule, 'portfolioLikeToPortfolio')) - .calledWith({ identity: args.did, id: args.id }, mockContext) - .mockReturnValue(portfolio); - - expect(boundFunc(args)).toEqual({ - roles: [{ type: RoleType.PortfolioCustodian, portfolioId }], - permissions: { - assets: [], - portfolios: [portfolio], - transactions: [TxTags.portfolio.DeletePortfolio], - }, - }); - }); - }); -}); diff --git a/src/api/procedures/__tests__/evaluateMultiSigProposal.ts b/src/api/procedures/__tests__/evaluateMultiSigProposal.ts deleted file mode 100644 index 7e8bc5bca0..0000000000 --- a/src/api/procedures/__tests__/evaluateMultiSigProposal.ts +++ /dev/null @@ -1,254 +0,0 @@ -import { u64 } from '@polkadot/types'; -import { AccountId } from '@polkadot/types/interfaces'; -import { PolymeshPrimitivesSecondaryKeySignatory } from '@polkadot/types/lookup'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { - MultiSigProposalVoteParams, - prepareMultiSigProposalEvaluation, -} from '~/api/procedures/evaluateMultiSigProposal'; -import { Account, Context, MultiSigProposal, PolymeshError } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { ErrorCode, Identity, MultiSigProposalAction, ProposalStatus } from '~/types'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/Asset/Base', - require('~/testUtils/mocks/entities').mockBaseAssetModule('~/api/entities/Asset/Base') -); -jest.mock( - '~/api/entities/Account', - require('~/testUtils/mocks/entities').mockAccountModule('~/api/entities/Account') -); - -describe('evaluateMultiSigProposal', () => { - let mockContext: Mocked; - let stringToAccountId: jest.SpyInstance; - let bigNumberToU64Spy: jest.SpyInstance; - let signerToSignatorySpy: jest.SpyInstance; - let multiSigAddress: string; - let proposalId: BigNumber; - let rawMultiSigAccount: AccountId; - let rawProposalId: u64; - let proposal: MultiSigProposal; - let rawSigner: PolymeshPrimitivesSecondaryKeySignatory; - let creator: Identity; - let proposalDetails; - let votesQuery: jest.Mock; - - beforeAll(() => { - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - - stringToAccountId = jest.spyOn(utilsConversionModule, 'stringToAccountId'); - bigNumberToU64Spy = jest.spyOn(utilsConversionModule, 'bigNumberToU64'); - signerToSignatorySpy = jest.spyOn(utilsConversionModule, 'signerToSignatory'); - - multiSigAddress = 'multiSigAddress'; - proposalId = new BigNumber(1); - }); - - beforeEach(() => { - mockContext = dsMockUtils.getContextInstance({ - signingAddress: 'someAddress', - }); - - votesQuery = dsMockUtils.createQueryMock('multiSig', 'votes'); - - rawMultiSigAccount = dsMockUtils.createMockAccountId(multiSigAddress); - when(stringToAccountId) - .calledWith(multiSigAddress, mockContext) - .mockReturnValue(rawMultiSigAccount); - - rawProposalId = dsMockUtils.createMockU64(proposalId); - when(bigNumberToU64Spy).calledWith(proposalId, mockContext).mockReturnValue(rawProposalId); - - rawSigner = dsMockUtils.createMockSignatory({ - Account: dsMockUtils.createMockAccountId('someAddress'), - }); - - creator = entityMockUtils.getIdentityInstance(); - when(signerToSignatorySpy).mockReturnValue(rawSigner); - - proposalDetails = { - status: ProposalStatus.Active, - }; - proposal = entityMockUtils.getMultiSigProposalInstance({ - id: proposalId, - multiSig: entityMockUtils.getMultiSigInstance({ - address: multiSigAddress, - getCreator: creator, - details: { - signers: [ - new Account({ address: 'someAddress' }, mockContext), - new Account({ address: 'someOtherAddress' }, mockContext), - ], - requiredSignatures: new BigNumber(1), - }, - }), - details: proposalDetails, - }); - - votesQuery.mockResolvedValue(dsMockUtils.createMockBool(false)); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - describe('prepareMultiSigProposalEvaluation', () => { - it('should throw an error if the signing Account is not a part of the MultiSig', async () => { - mockContext = dsMockUtils.getContextInstance({ - signingAccountIsEqual: false, - }); - - const proc = procedureMockUtils.getInstance(mockContext); - - const expectedError = new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'The signing Account is not a signer of the MultiSig', - }); - - await expect( - prepareMultiSigProposalEvaluation.call(proc, { - proposal, - action: MultiSigProposalAction.Approve, - }) - ).rejects.toThrow(expectedError); - }); - - it('should throw an error if the signing Account has already voted for the proposal', async () => { - votesQuery.mockResolvedValueOnce(dsMockUtils.createMockBool(true)); - - const proc = procedureMockUtils.getInstance(mockContext); - - const expectedError = new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'The signing Account has already voted for this MultiSig Proposal', - }); - - await expect( - prepareMultiSigProposalEvaluation.call(proc, { - proposal, - action: MultiSigProposalAction.Approve, - }) - ).rejects.toThrow(expectedError); - votesQuery.mockReset(); - }); - - it('should throw an error if the proposal is not active', async () => { - const errorCases: [ProposalStatus, { code: ErrorCode; message: string }][] = [ - [ - ProposalStatus.Invalid, - { - code: ErrorCode.DataUnavailable, - message: 'The MultiSig Proposal does not exist', - }, - ], - [ - ProposalStatus.Rejected, - { - code: ErrorCode.UnmetPrerequisite, - message: 'The MultiSig Proposal has already been rejected', - }, - ], - [ - ProposalStatus.Successful, - { - code: ErrorCode.UnmetPrerequisite, - message: 'The MultiSig Proposal has already been executed', - }, - ], - [ - ProposalStatus.Failed, - { - code: ErrorCode.UnmetPrerequisite, - message: 'The MultiSig Proposal has already been executed', - }, - ], - [ - ProposalStatus.Expired, - { - code: ErrorCode.UnmetPrerequisite, - message: 'The MultiSig Proposal has expired', - }, - ], - ]; - - const proc = procedureMockUtils.getInstance(mockContext); - - for (const errorCase of errorCases) { - proposal = entityMockUtils.getMultiSigProposalInstance({ - id: proposalId, - multiSig: entityMockUtils.getMultiSigInstance({ - address: multiSigAddress, - getCreator: creator, - details: { - signers: [ - new Account({ address: 'someAddress' }, mockContext), - new Account({ address: 'someOtherAddress' }, mockContext), - ], - requiredSignatures: new BigNumber(1), - }, - }), - details: { - status: errorCase[0], - }, - }); - - const expectedError = new PolymeshError(errorCase[1]); - - await expect( - prepareMultiSigProposalEvaluation.call(proc, { - proposal, - action: MultiSigProposalAction.Approve, - }) - ).rejects.toThrow(expectedError); - } - }); - - it('should return a approveAsKey transaction spec', async () => { - const proc = procedureMockUtils.getInstance(mockContext); - - const transaction = dsMockUtils.createTxMock('multiSig', 'approveAsKey'); - - const result = await prepareMultiSigProposalEvaluation.call(proc, { - proposal, - action: MultiSigProposalAction.Approve, - }); - - expect(result).toEqual({ - transaction, - paidForBy: creator, - args: [rawMultiSigAccount, rawProposalId], - }); - }); - - it('should return a rejectAsKey transaction spec', async () => { - const proc = procedureMockUtils.getInstance(mockContext); - - const transaction = dsMockUtils.createTxMock('multiSig', 'rejectAsKey'); - - const result = await prepareMultiSigProposalEvaluation.call(proc, { - proposal, - action: MultiSigProposalAction.Reject, - }); - - expect(result).toEqual({ - transaction, - paidForBy: creator, - args: [rawMultiSigAccount, rawProposalId], - }); - }); - }); -}); diff --git a/src/api/procedures/__tests__/executeConfidentialTransaction.ts b/src/api/procedures/__tests__/executeConfidentialTransaction.ts index e3dda59347..64ca6eaa24 100644 --- a/src/api/procedures/__tests__/executeConfidentialTransaction.ts +++ b/src/api/procedures/__tests__/executeConfidentialTransaction.ts @@ -1,4 +1,5 @@ import { u32, u64 } from '@polkadot/types'; +import * as utilsConversionModule from '@polymeshassociation/polymesh-sdk/utils/conversion'; import BigNumber from 'bignumber.js'; import { when } from 'jest-when'; @@ -11,7 +12,6 @@ import { Context } from '~/internal'; import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; import { Mocked } from '~/testUtils/types'; import { ConfidentialTransaction, ConfidentialTransactionStatus, TxTags } from '~/types'; -import * as utilsConversionModule from '~/utils/conversion'; describe('executeConfidentialTransaction procedure', () => { let mockContext: Mocked; diff --git a/src/api/procedures/__tests__/executeManualInstruction.ts b/src/api/procedures/__tests__/executeManualInstruction.ts deleted file mode 100644 index 89f09e0a5c..0000000000 --- a/src/api/procedures/__tests__/executeManualInstruction.ts +++ /dev/null @@ -1,361 +0,0 @@ -import { u32, u64 } from '@polkadot/types'; -import { PolymeshPrimitivesIdentityIdPortfolioId } from '@polkadot/types/lookup'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { - getAuthorization, - prepareExecuteManualInstruction, - prepareStorage, - Storage, -} from '~/api/procedures/executeManualInstruction'; -import * as procedureUtilsModule from '~/api/procedures/utils'; -import { Context, DefaultPortfolio, Instruction, Venue } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { - ExecuteManualInstructionParams, - InstructionAffirmationOperation, - InstructionDetails, - InstructionStatus, - InstructionType, - PortfolioId, - PortfolioLike, - TxTags, -} from '~/types'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/Instruction', - require('~/testUtils/mocks/entities').mockInstructionModule('~/api/entities/Instruction') -); -jest.mock( - '~/api/entities/Venue', - require('~/testUtils/mocks/entities').mockVenueModule('~/api/entities/Venue') -); -jest.mock( - '~/api/entities/DefaultPortfolio', - require('~/testUtils/mocks/entities').mockDefaultPortfolioModule( - '~/api/entities/DefaultPortfolio' - ) -); - -describe('executeManualInstruction procedure', () => { - const id = new BigNumber(1); - const rawInstructionId = dsMockUtils.createMockU64(id); - const rawPortfolioId = dsMockUtils.createMockPortfolioId({ - did: dsMockUtils.createMockIdentityId('someDid'), - kind: dsMockUtils.createMockPortfolioKind('Default'), - }); - const fungibleTokens = dsMockUtils.createMockU32(new BigNumber(1)); - const nonFungibleTokens = dsMockUtils.createMockU32(new BigNumber(2)); - const offChainAssets = dsMockUtils.createMockU32(new BigNumber(3)); - - const did = 'someDid'; - let portfolio: DefaultPortfolio; - let legAmount: BigNumber; - let rawLegAmount: u32; - const portfolioId: PortfolioId = { did }; - const latestBlock = new BigNumber(100); - let mockContext: Mocked; - let bigNumberToU64Spy: jest.SpyInstance; - let bigNumberToU32Spy: jest.SpyInstance; - let portfolioLikeToPortfolioIdSpy: jest.SpyInstance; - let portfolioIdToMeshPortfolioIdSpy: jest.SpyInstance< - PolymeshPrimitivesIdentityIdPortfolioId, - [PortfolioId, Context] - >; - let instructionDetails: InstructionDetails; - - beforeAll(() => { - dsMockUtils.initMocks({ - contextOptions: { - latestBlock, - }, - }); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - - portfolio = entityMockUtils.getDefaultPortfolioInstance({ did: 'someDid ' }); - legAmount = new BigNumber(2); - bigNumberToU64Spy = jest.spyOn(utilsConversionModule, 'bigNumberToU64'); - bigNumberToU32Spy = jest.spyOn(utilsConversionModule, 'bigNumberToU32'); - portfolioLikeToPortfolioIdSpy = jest.spyOn(utilsConversionModule, 'portfolioLikeToPortfolioId'); - portfolioIdToMeshPortfolioIdSpy = jest.spyOn( - utilsConversionModule, - 'portfolioIdToMeshPortfolioId' - ); - - jest - .spyOn(procedureUtilsModule, 'assertInstructionValidForManualExecution') - .mockImplementation(); - }); - - beforeEach(() => { - rawLegAmount = dsMockUtils.createMockU32(legAmount); - dsMockUtils.createTxMock('settlement', 'executeManualInstruction'); - mockContext = dsMockUtils.getContextInstance(); - when(bigNumberToU64Spy).calledWith(id, mockContext).mockReturnValue(rawInstructionId); - when(bigNumberToU32Spy).calledWith(legAmount, mockContext).mockReturnValue(rawLegAmount); - when(portfolioLikeToPortfolioIdSpy).calledWith(portfolio).mockReturnValue(portfolioId); - when(portfolioIdToMeshPortfolioIdSpy) - .calledWith(portfolioId, mockContext) - .mockReturnValue(rawPortfolioId); - instructionDetails = { - status: InstructionStatus.Pending, - createdAt: new Date('2022/01/01'), - tradeDate: null, - valueDate: null, - venue: new Venue({ id: new BigNumber(1) }, mockContext), - memo: null, - type: InstructionType.SettleManual, - endAfterBlock: new BigNumber(1000), - }; - - dsMockUtils.createRpcMock('settlement', 'getExecuteInstructionInfo', { - returnValue: { - fungibleTokens, - nonFungibleTokens, - offChainAssets, - consumedWeight: 'someWeight', - }, - }); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it('should throw an error if the signing identity is not the custodian of any of the involved portfolios', () => { - const proc = procedureMockUtils.getInstance< - ExecuteManualInstructionParams, - Instruction, - Storage - >(mockContext, { - portfolios: [], - instructionDetails, - signerDid: 'someOtherDid', - }); - - return expect( - prepareExecuteManualInstruction.call(proc, { - id, - skipAffirmationCheck: false, - }) - ).rejects.toThrow('The signing identity is not involved in this Instruction'); - }); - - it('should throw an error if there are some pending affirmations', () => { - dsMockUtils.createQueryMock('settlement', 'instructionAffirmsPending', { - returnValue: dsMockUtils.createMockU64(new BigNumber(1)), - }); - - const proc = procedureMockUtils.getInstance< - ExecuteManualInstructionParams, - Instruction, - Storage - >(mockContext, { - portfolios: [portfolio, portfolio], - instructionDetails, - signerDid: did, - }); - - return expect( - prepareExecuteManualInstruction.call(proc, { - id, - skipAffirmationCheck: false, - }) - ).rejects.toThrow('Instruction needs to be affirmed by all parties before it can be executed'); - }); - - it('should not throw an error if there are some pending affirmations but skipAffirmationCheck is `true`', () => { - dsMockUtils.createQueryMock('settlement', 'instructionAffirmsPending', { - returnValue: dsMockUtils.createMockU64(new BigNumber(1)), - }); - - const proc = procedureMockUtils.getInstance< - ExecuteManualInstructionParams, - Instruction, - Storage - >(mockContext, { - portfolios: [portfolio, portfolio], - instructionDetails, - signerDid: did, - }); - - return expect( - prepareExecuteManualInstruction.call(proc, { - id, - skipAffirmationCheck: true, - }) - ).resolves.not.toThrow(); - }); - - it('should return an execute manual instruction transaction spec', async () => { - const transaction = dsMockUtils.createTxMock('settlement', 'executeManualInstruction'); - - dsMockUtils.createQueryMock('settlement', 'instructionAffirmsPending', { - returnValue: dsMockUtils.createMockU64(new BigNumber(0)), - }); - - let proc = procedureMockUtils.getInstance( - mockContext, - { - portfolios: [portfolio, portfolio], - instructionDetails, - signerDid: did, - } - ); - - let result = await prepareExecuteManualInstruction.call(proc, { - id, - skipAffirmationCheck: false, - operation: InstructionAffirmationOperation.Affirm, - }); - - expect(result).toEqual({ - transaction, - args: [ - rawInstructionId, - rawPortfolioId, - fungibleTokens, - nonFungibleTokens, - offChainAssets, - 'someWeight', - ], - resolver: expect.objectContaining({ id }), - }); - - proc = procedureMockUtils.getInstance( - mockContext, - { - portfolios: [], - instructionDetails, - signerDid: did, - } - ); - - result = await prepareExecuteManualInstruction.call(proc, { - id, - skipAffirmationCheck: false, - operation: InstructionAffirmationOperation.Affirm, - }); - - expect(result).toEqual({ - transaction, - args: [ - rawInstructionId, - null, - fungibleTokens, - nonFungibleTokens, - offChainAssets, - 'someWeight', - ], - resolver: expect.objectContaining({ id }), - }); - }); - - describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', async () => { - const from = entityMockUtils.getNumberedPortfolioInstance(); - const to = entityMockUtils.getDefaultPortfolioInstance(); - - const proc = procedureMockUtils.getInstance< - ExecuteManualInstructionParams, - Instruction, - Storage - >(mockContext, { - portfolios: [from, to], - instructionDetails, - signerDid: did, - }); - const boundFunc = getAuthorization.bind(proc); - - const result = await boundFunc(); - - expect(result).toEqual({ - permissions: { - assets: [], - portfolios: [from, to], - transactions: [TxTags.settlement.ExecuteManualInstruction], - }, - }); - }); - }); - - describe('prepareStorage', () => { - const fromDid = 'fromDid'; - const toDid = 'toDid'; - - let from = entityMockUtils.getDefaultPortfolioInstance({ did: fromDid, isCustodiedBy: true }); - let to = entityMockUtils.getDefaultPortfolioInstance({ did: toDid, isCustodiedBy: true }); - const amount = new BigNumber(1); - const asset = entityMockUtils.getFungibleAssetInstance({ ticker: 'TICKER' }); - - it('should return the custodied portfolios associated in the instruction legs for the signing identity', async () => { - const proc = procedureMockUtils.getInstance< - ExecuteManualInstructionParams, - Instruction, - Storage - >(mockContext); - - const boundFunc = prepareStorage.bind(proc); - entityMockUtils.configureMocks({ - instructionOptions: { - getLegs: { data: [{ from, to, amount, asset }], next: null }, - details: instructionDetails, - }, - }); - const result = await boundFunc({ - id: new BigNumber(1), - skipAffirmationCheck: false, - }); - - expect(result).toEqual({ - portfolios: [ - expect.objectContaining({ owner: expect.objectContaining({ did: fromDid }) }), - expect.objectContaining({ owner: expect.objectContaining({ did: toDid }) }), - ], - instructionDetails, - signerDid: did, - }); - }); - - it('should return no portfolios when signing identity is not part of any legs', async () => { - const proc = procedureMockUtils.getInstance< - ExecuteManualInstructionParams, - Instruction, - Storage - >(mockContext); - - const boundFunc = prepareStorage.bind(proc); - from = entityMockUtils.getDefaultPortfolioInstance({ did: fromDid, isCustodiedBy: false }); - to = entityMockUtils.getDefaultPortfolioInstance({ did: toDid, isCustodiedBy: false }); - - entityMockUtils.configureMocks({ - instructionOptions: { - getLegs: { data: [{ from, to, amount, asset }], next: null }, - details: instructionDetails, - }, - }); - - const result = await boundFunc({ - id: new BigNumber(1), - skipAffirmationCheck: false, - }); - - expect(result).toEqual({ - portfolios: [], - instructionDetails, - signerDid: did, - }); - }); - }); -}); diff --git a/src/api/procedures/__tests__/investInOffering.ts b/src/api/procedures/__tests__/investInOffering.ts deleted file mode 100644 index 765787a81b..0000000000 --- a/src/api/procedures/__tests__/investInOffering.ts +++ /dev/null @@ -1,428 +0,0 @@ -import { u64 } from '@polkadot/types'; -import { Balance } from '@polkadot/types/interfaces'; -import { - PolymeshPrimitivesIdentityIdPortfolioId, - PolymeshPrimitivesTicker, -} from '@polkadot/types/lookup'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { - getAuthorization, - Params, - prepareInvestInSto, - prepareStorage, - Storage, -} from '~/api/procedures/investInOffering'; -import { Context, DefaultPortfolio } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { - OfferingBalanceStatus, - OfferingSaleStatus, - OfferingTimingStatus, - PortfolioBalance, - PortfolioId, - PortfolioLike, - RoleType, - TxTags, -} from '~/types'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/Offering', - require('~/testUtils/mocks/entities').mockOfferingModule('~/api/entities/Offering') -); -jest.mock( - '~/api/entities/DefaultPortfolio', - require('~/testUtils/mocks/entities').mockDefaultPortfolioModule( - '~/api/entities/DefaultPortfolio' - ) -); - -describe('investInOffering procedure', () => { - let mockContext: Mocked; - let stringToTickerSpy: jest.SpyInstance; - let portfolioIdToMeshPortfolioIdSpy: jest.SpyInstance< - PolymeshPrimitivesIdentityIdPortfolioId, - [PortfolioId, Context] - >; - let portfolioLikeToPortfolioIdSpy: jest.SpyInstance; - let bigNumberToU64Spy: jest.SpyInstance; - let bigNumberToBalanceSpy: jest.SpyInstance; - - let id: BigNumber; - let ticker: string; - let purchasePortfolio: PortfolioLike; - let purchasePortfolioId: PortfolioId; - let fundingPortfolio: PortfolioLike; - let fundingPortfolioId: PortfolioId; - let purchaseAmount: BigNumber; - let maxPrice: BigNumber; - let rawId: u64; - let rawTicker: PolymeshPrimitivesTicker; - let rawPurchasePortfolio: PolymeshPrimitivesIdentityIdPortfolioId; - let rawFundingPortfolio: PolymeshPrimitivesIdentityIdPortfolioId; - let rawPurchaseAmount: Balance; - let rawMaxPrice: Balance; - let args: Params; - - beforeAll(() => { - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - stringToTickerSpy = jest.spyOn(utilsConversionModule, 'stringToTicker'); - portfolioIdToMeshPortfolioIdSpy = jest.spyOn( - utilsConversionModule, - 'portfolioIdToMeshPortfolioId' - ); - portfolioLikeToPortfolioIdSpy = jest.spyOn(utilsConversionModule, 'portfolioLikeToPortfolioId'); - bigNumberToU64Spy = jest.spyOn(utilsConversionModule, 'bigNumberToU64'); - bigNumberToBalanceSpy = jest.spyOn(utilsConversionModule, 'bigNumberToBalance'); - id = new BigNumber(id); - rawId = dsMockUtils.createMockU64(id); - ticker = 'tickerFrozen'; - rawTicker = dsMockUtils.createMockTicker(ticker); - purchasePortfolio = 'purchasePortfolioDid'; - fundingPortfolio = 'fundingPortfolioDid'; - purchasePortfolioId = { did: purchasePortfolio }; - fundingPortfolioId = { did: fundingPortfolio }; - purchaseAmount = new BigNumber(50); - maxPrice = new BigNumber(1); - rawPurchasePortfolio = dsMockUtils.createMockPortfolioId({ - did: dsMockUtils.createMockIdentityId(purchasePortfolio), - kind: dsMockUtils.createMockPortfolioKind('Default'), - }); - rawFundingPortfolio = dsMockUtils.createMockPortfolioId({ - did: dsMockUtils.createMockIdentityId(fundingPortfolio), - kind: dsMockUtils.createMockPortfolioKind('Default'), - }); - rawPurchaseAmount = dsMockUtils.createMockBalance(purchaseAmount); - rawMaxPrice = dsMockUtils.createMockBalance(maxPrice); - }); - - beforeEach(() => { - mockContext = dsMockUtils.getContextInstance(); - when(stringToTickerSpy).calledWith(ticker, mockContext).mockReturnValue(rawTicker); - when(portfolioLikeToPortfolioIdSpy) - .calledWith(purchasePortfolio) - .mockReturnValue(purchasePortfolioId); - when(portfolioIdToMeshPortfolioIdSpy) - .calledWith(purchasePortfolioId, mockContext) - .mockReturnValue(rawPurchasePortfolio); - when(portfolioLikeToPortfolioIdSpy) - .calledWith(fundingPortfolio) - .mockReturnValue(fundingPortfolioId); - when(portfolioIdToMeshPortfolioIdSpy) - .calledWith(fundingPortfolioId, mockContext) - .mockReturnValue(rawFundingPortfolio); - when(bigNumberToU64Spy).calledWith(id, mockContext).mockReturnValue(rawId); - when(bigNumberToBalanceSpy) - .calledWith(purchaseAmount, mockContext) - .mockReturnValue(rawPurchaseAmount); - when(bigNumberToBalanceSpy).calledWith(maxPrice, mockContext).mockReturnValue(rawMaxPrice); - - args = { - id, - ticker, - purchasePortfolio, - fundingPortfolio, - purchaseAmount, - }; - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it('should throw an error if the Offering is not accepting investments', () => { - entityMockUtils.configureMocks({ - offeringOptions: { - details: { - status: { - sale: OfferingSaleStatus.Frozen, - timing: OfferingTimingStatus.Started, - balance: OfferingBalanceStatus.Available, - }, - }, - }, - }); - const proc = procedureMockUtils.getInstance(mockContext, { - purchasePortfolioId, - fundingPortfolioId, - }); - - return expect(prepareInvestInSto.call(proc, args)).rejects.toThrow( - 'The Offering is not accepting investments at the moment' - ); - }); - - it('should throw an error if the minimum investment is not reached', async () => { - entityMockUtils.configureMocks({ - offeringOptions: { - details: { - status: { - sale: OfferingSaleStatus.Live, - timing: OfferingTimingStatus.Started, - balance: OfferingBalanceStatus.Available, - }, - end: new Date('12/12/2030'), - minInvestment: new BigNumber(10), - tiers: [ - { - remaining: new BigNumber(0), - amount: new BigNumber(100), - price: new BigNumber(1), - }, - ], - }, - }, - defaultPortfolioOptions: { - getAssetBalances: [{ free: new BigNumber(20) }] as PortfolioBalance[], - }, - }); - - const proc = procedureMockUtils.getInstance(mockContext, { - purchasePortfolioId, - fundingPortfolioId, - }); - - let error; - - try { - await prepareInvestInSto.call(proc, args); - } catch (err) { - error = err; - } - - expect(error.message).toBe('Minimum investment not reached'); - expect(error.data.priceTotal).toEqual(new BigNumber(0)); - }); - - it("should throw an error if the funding Portfolio doesn't have enough balance to purchase the Assets", async () => { - entityMockUtils.configureMocks({ - offeringOptions: { - details: { - status: { - sale: OfferingSaleStatus.Live, - timing: OfferingTimingStatus.Started, - balance: OfferingBalanceStatus.Available, - }, - end: new Date('12/12/2030'), - minInvestment: new BigNumber(25), - tiers: [ - { - remaining: new BigNumber(50), - amount: new BigNumber(100), - price: new BigNumber(1), - }, - ], - }, - }, - defaultPortfolioOptions: { - getAssetBalances: [{ free: new BigNumber(1) }] as PortfolioBalance[], - }, - }); - - const proc = procedureMockUtils.getInstance(mockContext, { - purchasePortfolioId, - fundingPortfolioId, - }); - - let error; - - try { - await prepareInvestInSto.call(proc, args); - } catch (err) { - error = err; - } - - expect(error.message).toBe( - 'The Portfolio does not have enough free balance for this investment' - ); - expect(error.data.free).toEqual(new BigNumber(1)); - expect(error.data.priceTotal).toEqual(new BigNumber(50)); - }); - - it('should throw an error if the Offering does not have enough remaining Assets', async () => { - entityMockUtils.configureMocks({ - offeringOptions: { - details: { - status: { - sale: OfferingSaleStatus.Live, - timing: OfferingTimingStatus.Started, - balance: OfferingBalanceStatus.Available, - }, - end: new Date('12/12/2030'), - minInvestment: new BigNumber(10), - tiers: [ - { - remaining: new BigNumber(10), - amount: new BigNumber(100), - price: new BigNumber(1), - }, - { - remaining: new BigNumber(30), - amount: new BigNumber(100), - price: new BigNumber(2), - }, - ], - }, - }, - defaultPortfolioOptions: { - getAssetBalances: [{ free: new BigNumber(200) }] as PortfolioBalance[], - }, - }); - - const proc = procedureMockUtils.getInstance(mockContext, { - purchasePortfolioId, - fundingPortfolioId, - }); - - await expect(prepareInvestInSto.call(proc, args)).rejects.toThrow( - 'The Offering does not have enough remaining tokens' - ); - - return expect(prepareInvestInSto.call(proc, { ...args, maxPrice })).rejects.toThrow( - 'The Offering does not have enough remaining tokens below the stipulated max price' - ); - }); - - it('should return an invest transaction spec', async () => { - entityMockUtils.configureMocks({ - offeringOptions: { - details: { - status: { - sale: OfferingSaleStatus.Live, - timing: OfferingTimingStatus.Started, - balance: OfferingBalanceStatus.Available, - }, - end: new Date('12/12/2030'), - minInvestment: new BigNumber(10), - tiers: [ - { - remaining: new BigNumber(100), - amount: new BigNumber(100), - price: new BigNumber(1), - }, - { - remaining: new BigNumber(100), - amount: new BigNumber(100), - price: new BigNumber(2), - }, - { - remaining: new BigNumber(200), - amount: new BigNumber(200), - price: new BigNumber(20), - }, - ], - }, - }, - defaultPortfolioOptions: { - getAssetBalances: [{ free: new BigNumber(200) }] as PortfolioBalance[], - }, - }); - - const proc = procedureMockUtils.getInstance(mockContext, { - purchasePortfolioId, - fundingPortfolioId, - }); - - const transaction = dsMockUtils.createTxMock('sto', 'invest'); - - let result = await prepareInvestInSto.call(proc, args); - - expect(result).toEqual({ - transaction, - args: [ - rawPurchasePortfolio, - rawFundingPortfolio, - rawTicker, - rawId, - rawPurchaseAmount, - null, - null, - ], - resolver: undefined, - }); - - result = await prepareInvestInSto.call(proc, { - ...args, - maxPrice, - }); - - expect(result).toEqual({ - transaction, - args: [ - rawPurchasePortfolio, - rawFundingPortfolio, - rawTicker, - rawId, - rawPurchaseAmount, - rawMaxPrice, - null, - ], - resolver: undefined, - }); - }); - - describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', () => { - const proc = procedureMockUtils.getInstance(mockContext, { - purchasePortfolioId, - fundingPortfolioId, - }); - const boundFunc = getAuthorization.bind(proc); - - const portfolioIdToPortfolioSpy = jest - .spyOn(utilsConversionModule, 'portfolioIdToPortfolio') - .mockClear() - .mockImplementation(); - const portfolios = [ - 'investment' as unknown as DefaultPortfolio, - 'funding' as unknown as DefaultPortfolio, - ]; - when(portfolioIdToPortfolioSpy) - .calledWith(purchasePortfolioId, mockContext) - .mockReturnValue(portfolios[0]); - when(portfolioIdToPortfolioSpy) - .calledWith(fundingPortfolioId, mockContext) - .mockReturnValue(portfolios[1]); - - const roles = [ - { type: RoleType.PortfolioCustodian, portfolioId: purchasePortfolioId }, - { type: RoleType.PortfolioCustodian, portfolioId: fundingPortfolioId }, - ]; - - expect(boundFunc()).toEqual({ - roles, - permissions: { - transactions: [TxTags.sto.Invest], - assets: [], - portfolios, - }, - }); - }); - }); - - describe('prepareStorage', () => { - it('should return the investment and funding portfolio ids', () => { - const proc = procedureMockUtils.getInstance(mockContext); - const boundFunc = prepareStorage.bind(proc); - - const result = boundFunc(args); - - expect(result).toEqual({ - purchasePortfolioId, - fundingPortfolioId, - }); - }); - }); -}); diff --git a/src/api/procedures/__tests__/inviteAccount.ts b/src/api/procedures/__tests__/inviteAccount.ts deleted file mode 100644 index 0b67e1d57b..0000000000 --- a/src/api/procedures/__tests__/inviteAccount.ts +++ /dev/null @@ -1,287 +0,0 @@ -import { Moment } from '@polkadot/types/interfaces'; -import { - PolymeshPrimitivesAuthorizationAuthorizationData, - PolymeshPrimitivesSecondaryKeySignatory, -} from '@polkadot/types/lookup'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { prepareInviteAccount } from '~/api/procedures/inviteAccount'; -import { Account, AuthorizationRequest, Context } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { - Authorization, - AuthorizationType, - Identity, - InviteAccountParams, - ResultSet, - SignerType, - SignerValue, -} from '~/types'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/Account', - require('~/testUtils/mocks/entities').mockAccountModule('~/api/entities/Account') -); - -describe('inviteAccount procedure', () => { - let mockContext: Mocked; - let authorizationToAuthorizationDataSpy: jest.SpyInstance< - PolymeshPrimitivesAuthorizationAuthorizationData, - [Authorization, Context] - >; - let dateToMomentSpy: jest.SpyInstance; - let signerToStringSpy: jest.SpyInstance; - let signerValueToSignatorySpy: jest.SpyInstance< - PolymeshPrimitivesSecondaryKeySignatory, - [SignerValue, Context] - >; - let permissionsLikeToPermissionsSpy: jest.SpyInstance; - - let args: InviteAccountParams; - const authId = new BigNumber(1); - const address = 'targetAccount'; - - beforeAll(() => { - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - - authorizationToAuthorizationDataSpy = jest.spyOn( - utilsConversionModule, - 'authorizationToAuthorizationData' - ); - dateToMomentSpy = jest.spyOn(utilsConversionModule, 'dateToMoment'); - signerToStringSpy = jest.spyOn(utilsConversionModule, 'signerToString'); - signerValueToSignatorySpy = jest.spyOn(utilsConversionModule, 'signerValueToSignatory'); - permissionsLikeToPermissionsSpy = jest.spyOn( - utilsConversionModule, - 'permissionsLikeToPermissions' - ); - }); - - beforeEach(() => { - mockContext = dsMockUtils.getContextInstance(); - args = { targetAccount: address }; - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it('should return an add authorization transaction spec', async () => { - const expiry = new Date('1/1/2040'); - const target = new Account({ address }, mockContext); - const account = entityMockUtils.getAccountInstance({ address: 'someFakeAccount' }); - const rawSignatory = dsMockUtils.createMockSignatory({ - Account: dsMockUtils.createMockAccountId('someAccountId'), - }); - const rawAuthorizationData = dsMockUtils.createMockAuthorizationData({ - JoinIdentity: dsMockUtils.createMockPermissions({ - asset: dsMockUtils.createMockAssetPermissions('Whole'), - extrinsic: dsMockUtils.createMockExtrinsicPermissions('Whole'), - portfolio: dsMockUtils.createMockPortfolioPermissions('Whole'), - }), - }); - const rawExpiry = dsMockUtils.createMockMoment(new BigNumber(expiry.getTime())); - const sentAuthorizations: ResultSet = { - data: [ - new AuthorizationRequest( - { - target, - issuer: entityMockUtils.getIdentityInstance(), - authId, - expiry: null, - data: { - type: AuthorizationType.JoinIdentity, - value: { - assets: null, - transactions: null, - transactionGroups: [], - portfolios: null, - }, - }, - }, - mockContext - ), - ], - next: new BigNumber(1), - count: new BigNumber(1), - }; - - dsMockUtils.configureMocks({ - contextOptions: { - sentAuthorizations, - secondaryAccounts: { - data: [ - { - account, - permissions: { - assets: null, - portfolios: null, - transactions: null, - transactionGroups: [], - }, - }, - ], - next: null, - }, - }, - }); - - entityMockUtils.configureMocks({ - accountOptions: { - getIdentity: null, - }, - }); - - when(signerToStringSpy).calledWith(account).mockReturnValue(account.address); - when(signerToStringSpy).calledWith(args.targetAccount).mockReturnValue(address); - when(signerToStringSpy).calledWith(target).mockReturnValue('someValue'); - when(signerValueToSignatorySpy) - .calledWith({ type: SignerType.Account, value: address }, mockContext) - .mockReturnValue(rawSignatory); - authorizationToAuthorizationDataSpy.mockReturnValue(rawAuthorizationData); - when(dateToMomentSpy).calledWith(expiry, mockContext).mockReturnValue(rawExpiry); - - const proc = procedureMockUtils.getInstance( - mockContext - ); - - const transaction = dsMockUtils.createTxMock('identity', 'addAuthorization'); - - let result = await prepareInviteAccount.call(proc, args); - - expect(result).toEqual({ - transaction, - args: [rawSignatory, rawAuthorizationData, null], - resolver: expect.any(Function), - }); - - result = await prepareInviteAccount.call(proc, { ...args, expiry }); - - expect(result).toEqual({ - transaction, - args: [rawSignatory, rawAuthorizationData, rawExpiry], - resolver: expect.any(Function), - }); - - permissionsLikeToPermissionsSpy.mockResolvedValue({ - assets: null, - transactions: null, - portfolios: null, - }); - - result = await prepareInviteAccount.call(proc, { - ...args, - permissions: { - assets: null, - transactions: null, - portfolios: null, - }, - }); - - expect(result).toEqual({ - transaction, - args: [rawSignatory, rawAuthorizationData, null], - resolver: expect.any(Function), - }); - }); - - it('should throw an error if the passed Account is already part of an Identity', () => { - const identity = entityMockUtils.getIdentityInstance(); - const targetAccount = entityMockUtils.getAccountInstance({ - address: 'someAddress', - getIdentity: identity, - }); - - when(signerToStringSpy).calledWith(args.targetAccount).mockReturnValue(address); - - const proc = procedureMockUtils.getInstance( - mockContext - ); - - return expect(prepareInviteAccount.call(proc, { targetAccount })).rejects.toThrow( - 'The target Account is already part of an Identity' - ); - }); - - it('should throw an error if the passed Account has a pending authorization to accept', () => { - const target = entityMockUtils.getAccountInstance({ - address, - }); - const account = entityMockUtils.getAccountInstance({ address: 'someFakeAccount' }); - - const sentAuthorizations: ResultSet = { - data: [ - new AuthorizationRequest( - { - target, - issuer: entityMockUtils.getIdentityInstance(), - authId, - expiry: null, - data: { - type: AuthorizationType.JoinIdentity, - value: { - assets: null, - transactions: null, - transactionGroups: [], - portfolios: null, - }, - }, - }, - mockContext - ), - ], - next: new BigNumber(1), - count: new BigNumber(1), - }; - - dsMockUtils.configureMocks({ - contextOptions: { - withSigningManager: true, - sentAuthorizations, - secondaryAccounts: { - data: [ - { - account, - permissions: { - assets: null, - portfolios: null, - transactions: null, - transactionGroups: [], - }, - }, - ], - next: null, - }, - }, - }); - - entityMockUtils.configureMocks({ - accountOptions: { - getIdentity: null, - }, - }); - - when(signerToStringSpy).calledWith(args.targetAccount).mockReturnValue(address); - when(signerToStringSpy).calledWith(target).mockReturnValue(address); - - const proc = procedureMockUtils.getInstance( - mockContext - ); - - return expect(prepareInviteAccount.call(proc, { ...args })).rejects.toThrow( - 'The target Account already has a pending invitation to join this Identity' - ); - }); -}); diff --git a/src/api/procedures/__tests__/inviteExternalAgent.ts b/src/api/procedures/__tests__/inviteExternalAgent.ts deleted file mode 100644 index 7ff603ab16..0000000000 --- a/src/api/procedures/__tests__/inviteExternalAgent.ts +++ /dev/null @@ -1,327 +0,0 @@ -import { - PolymeshPrimitivesAgentAgentGroup, - PolymeshPrimitivesAuthorizationAuthorizationData, - PolymeshPrimitivesIdentityId, - PolymeshPrimitivesSecondaryKeySignatory, - PolymeshPrimitivesTicker, -} from '@polkadot/types/lookup'; -import { ISubmittableResult } from '@polkadot/types/types'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { - createGroupAndAuthorizationResolver, - getAuthorization, - Params, - prepareInviteExternalAgent, - prepareStorage, - Storage, -} from '~/api/procedures/inviteExternalAgent'; -import * as procedureUtilsModule from '~/api/procedures/utils'; -import { Account, AuthorizationRequest, Context, FungibleAsset, Identity } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { Authorization, PermissionType, SignerValue, TxTags } from '~/types'; -import * as utilsConversionModule from '~/utils/conversion'; -import * as utilsInternalModule from '~/utils/internal'; - -jest.mock( - '~/api/entities/Asset/Fungible', - require('~/testUtils/mocks/entities').mockFungibleAssetModule('~/api/entities/Asset/Fungible') -); -jest.mock( - '~/api/entities/CustomPermissionGroup', - require('~/testUtils/mocks/entities').mockCustomPermissionGroupModule( - '~/api/entities/CustomPermissionGroup' - ) -); -jest.mock( - '~/api/entities/KnownPermissionGroup', - require('~/testUtils/mocks/entities').mockKnownPermissionGroupModule( - '~/api/entities/KnownPermissionGroup' - ) -); - -describe('inviteExternalAgent procedure', () => { - let mockContext: Mocked; - let authorizationToAuthorizationDataSpy: jest.SpyInstance< - PolymeshPrimitivesAuthorizationAuthorizationData, - [Authorization, Context] - >; - let signerToStringSpy: jest.SpyInstance; - let signerValueToSignatorySpy: jest.SpyInstance< - PolymeshPrimitivesSecondaryKeySignatory, - [SignerValue, Context] - >; - let stringToIdentityIdSpy: jest.SpyInstance; - let ticker: string; - let asset: FungibleAsset; - let rawTicker: PolymeshPrimitivesTicker; - let rawAgentGroup: PolymeshPrimitivesAgentAgentGroup; - let target: string; - let rawSignatory: PolymeshPrimitivesSecondaryKeySignatory; - let rawAuthorizationData: PolymeshPrimitivesAuthorizationAuthorizationData; - let rawIdentityId: PolymeshPrimitivesIdentityId; - - beforeAll(() => { - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - authorizationToAuthorizationDataSpy = jest.spyOn( - utilsConversionModule, - 'authorizationToAuthorizationData' - ); - signerToStringSpy = jest.spyOn(utilsConversionModule, 'signerToString'); - stringToIdentityIdSpy = jest.spyOn(utilsConversionModule, 'stringToIdentityId'); - signerValueToSignatorySpy = jest.spyOn(utilsConversionModule, 'signerValueToSignatory'); - ticker = 'SOME_TICKER'; - rawTicker = dsMockUtils.createMockTicker(ticker); - rawAgentGroup = dsMockUtils.createMockAgentGroup('Full'); - asset = entityMockUtils.getFungibleAssetInstance({ ticker }); - target = 'someDid'; - rawSignatory = dsMockUtils.createMockSignatory({ - Identity: dsMockUtils.createMockIdentityId(target), - }); - rawAuthorizationData = dsMockUtils.createMockAuthorizationData({ - BecomeAgent: [rawTicker, rawAgentGroup], - }); - rawIdentityId = dsMockUtils.createMockIdentityId(target); - }); - - beforeEach(() => { - entityMockUtils.configureMocks({ - fungibleAssetOptions: { - corporateActionsGetAgents: [], - }, - }); - mockContext = dsMockUtils.getContextInstance(); - authorizationToAuthorizationDataSpy.mockReturnValue(rawAuthorizationData); - signerToStringSpy.mockReturnValue(target); - signerValueToSignatorySpy.mockReturnValue(rawSignatory); - stringToIdentityIdSpy.mockReturnValue(rawIdentityId); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - jest.resetAllMocks(); - }); - - describe('prepareStorage', () => { - it('should return the Asset', () => { - const proc = procedureMockUtils.getInstance( - mockContext - ); - const boundFunc = prepareStorage.bind(proc); - - const result = boundFunc({ - ticker, - target, - permissions: entityMockUtils.getCustomPermissionGroupInstance(), - }); - - expect(result).toEqual({ - asset: expect.objectContaining({ ticker }), - }); - }); - }); - - describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', () => { - const proc = procedureMockUtils.getInstance( - mockContext, - { - asset, - } - ); - const boundFunc = getAuthorization.bind(proc); - - expect(boundFunc()).toEqual({ - permissions: { - transactions: [TxTags.identity.AddAuthorization], - assets: [expect.objectContaining({ ticker })], - portfolios: [], - }, - }); - }); - }); - - it('should throw an error if the target Identity is already an external agent', () => { - const args = { - target, - ticker, - permissions: entityMockUtils.getKnownPermissionGroupInstance(), - }; - - const proc = procedureMockUtils.getInstance( - mockContext, - { - asset: entityMockUtils.getFungibleAssetInstance({ - permissionsGetAgents: [ - { - agent: entityMockUtils.getIdentityInstance({ did: target }), - group: entityMockUtils.getKnownPermissionGroupInstance(), - }, - ], - }), - } - ); - - return expect(prepareInviteExternalAgent.call(proc, args)).rejects.toThrow( - 'The target Identity is already an External Agent' - ); - }); - - it('should return an add authorization transaction spec if an existing group is passed', async () => { - const transaction = dsMockUtils.createTxMock('identity', 'addAuthorization'); - const proc = procedureMockUtils.getInstance( - mockContext, - { - asset: entityMockUtils.getFungibleAssetInstance({ - permissionsGetAgents: [ - { - agent: entityMockUtils.getIdentityInstance({ isEqual: false }), - group: entityMockUtils.getCustomPermissionGroupInstance(), - }, - ], - }), - } - ); - - const result = await prepareInviteExternalAgent.call(proc, { - target, - ticker, - permissions: entityMockUtils.getKnownPermissionGroupInstance(), - }); - - expect(result).toEqual({ - transaction, - args: [rawSignatory, rawAuthorizationData, null], - resolver: expect.any(Function), - }); - }); - - it('should use the existing group ID if there is a group with the same permissions as the ones passed', async () => { - const groupId = new BigNumber(10); - const transaction = dsMockUtils.createTxMock('identity', 'addAuthorization'); - const getGroupFromPermissionsSpy = jest - .spyOn(procedureUtilsModule, 'getGroupFromPermissions') - .mockResolvedValue( - entityMockUtils.getCustomPermissionGroupInstance({ - ticker, - id: groupId, - }) - ); - - const args = { - target, - ticker, - permissions: { - transactions: { - type: PermissionType.Include, - values: [TxTags.asset.AcceptAssetOwnershipTransfer], - }, - }, - }; - - const proc = procedureMockUtils.getInstance( - mockContext, - { - asset: entityMockUtils.getFungibleAssetInstance({ - permissionsGetAgents: [], - }), - } - ); - - const result = await prepareInviteExternalAgent.call(proc, args); - - expect(result).toEqual({ - transaction, - args: [rawSignatory, rawAuthorizationData, null], - resolver: expect.any(Function), - }); - - getGroupFromPermissionsSpy.mockRestore(); - }); - - it('should return a create group and add authorization transaction spec if the group does not exist', async () => { - const transaction = dsMockUtils.createTxMock('externalAgents', 'createGroupAndAddAuth'); - const proc = procedureMockUtils.getInstance( - mockContext, - { - asset: entityMockUtils.getFungibleAssetInstance({ - permissionsGetAgents: [ - { - agent: entityMockUtils.getIdentityInstance({ isEqual: false }), - group: entityMockUtils.getCustomPermissionGroupInstance(), - }, - ], - }), - } - ); - - jest.spyOn(utilsConversionModule, 'permissionsLikeToPermissions').mockClear().mockReturnValue({ - transactions: null, - assets: null, - portfolios: null, - transactionGroups: [], - }); - const rawPermissions = dsMockUtils.createMockExtrinsicPermissions('Whole'); - jest - .spyOn(utilsConversionModule, 'transactionPermissionsToExtrinsicPermissions') - .mockReturnValue(rawPermissions); - jest.spyOn(utilsConversionModule, 'stringToTicker').mockReturnValue(rawTicker); - - const result = await prepareInviteExternalAgent.call(proc, { - target: entityMockUtils.getIdentityInstance({ did: target }), - ticker, - permissions: { - transactions: { - values: [], - type: PermissionType.Include, - }, - }, - }); - - expect(result).toEqual({ - transaction, - args: [rawTicker, rawPermissions, rawIdentityId, null], - resolver: expect.any(Function), - }); - }); -}); - -describe('createGroupAndAuthorizationResolver', () => { - const filterEventRecordsSpy = jest.spyOn(utilsInternalModule, 'filterEventRecords'); - const id = new BigNumber(10); - const rawId = dsMockUtils.createMockU64(id); - - beforeEach(() => { - filterEventRecordsSpy.mockReturnValue([ - dsMockUtils.createMockIEvent([undefined, undefined, undefined, rawId, undefined]), - ]); - }); - - afterEach(() => { - filterEventRecordsSpy.mockReset(); - }); - - it('should return the new Authorization', async () => { - when(jest.spyOn(utilsConversionModule, 'u64ToBigNumber')).calledWith(rawId).mockReturnValue(id); - const target = entityMockUtils.getIdentityInstance({ - authorizationsGetOne: entityMockUtils.getAuthorizationRequestInstance({ - authId: id, - }), - }); - - const result = await createGroupAndAuthorizationResolver(target)({} as ISubmittableResult); - - expect(result.authId).toEqual(id); - }); -}); diff --git a/src/api/procedures/__tests__/issueConfidentialAssets.ts b/src/api/procedures/__tests__/issueConfidentialAssets.ts index aafda0abe9..fb740cd65c 100644 --- a/src/api/procedures/__tests__/issueConfidentialAssets.ts +++ b/src/api/procedures/__tests__/issueConfidentialAssets.ts @@ -1,4 +1,6 @@ import { Balance } from '@polkadot/types/interfaces'; +import { ErrorCode } from '@polymeshassociation/polymesh-sdk/types'; +import * as utilsPublicConversionModule from '@polymeshassociation/polymesh-sdk/utils/conversion'; import BigNumber from 'bignumber.js'; import { when } from 'jest-when'; @@ -10,13 +12,13 @@ import { import { Context, PolymeshError } from '~/internal'; import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; import { Mocked } from '~/testUtils/types'; -import { ConfidentialAccount, ConfidentialAsset, ErrorCode, RoleType, TxTags } from '~/types'; +import { ConfidentialAccount, ConfidentialAsset, RoleType, TxTags } from '~/types'; import * as utilsConversionModule from '~/utils/conversion'; jest.mock( - '~/api/entities/confidential/ConfidentialAsset', + '~/api/entities/ConfidentialAsset', require('~/testUtils/mocks/entities').mockConfidentialAssetModule( - '~/api/entities/confidential/ConfidentialAsset' + '~/api/entities/ConfidentialAsset' ) ); @@ -36,7 +38,7 @@ describe('issueConfidentialAssets procedure', () => { procedureMockUtils.initMocks(); entityMockUtils.initMocks(); - bigNumberToU128Spy = jest.spyOn(utilsConversionModule, 'bigNumberToU128'); + bigNumberToU128Spy = jest.spyOn(utilsPublicConversionModule, 'bigNumberToU128'); serializeConfidentialAssetIdSpy = jest.spyOn( utilsConversionModule, 'serializeConfidentialAssetId' diff --git a/src/api/procedures/__tests__/issueNft.ts b/src/api/procedures/__tests__/issueNft.ts deleted file mode 100644 index ec0c324253..0000000000 --- a/src/api/procedures/__tests__/issueNft.ts +++ /dev/null @@ -1,336 +0,0 @@ -import { PolymeshPrimitivesTicker } from '@polkadot/types/lookup'; -import { ISubmittableResult } from '@polkadot/types/types'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { Nft } from '~/api/entities/Asset/NonFungible/Nft'; -import { - getAuthorization, - IssueNftParams, - issueNftResolver, - prepareIssueNft, - prepareStorage, - Storage, -} from '~/api/procedures/issueNft'; -import { Context, PolymeshError, Portfolio } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { EntityGetter } from '~/testUtils/mocks/entities'; -import { Mocked } from '~/testUtils/types'; -import { ErrorCode, MetadataType, TxTags } from '~/types'; -import * as utilsConversionModule from '~/utils/conversion'; -import * as utilsInternalModule from '~/utils/internal'; - -jest.mock( - '~/api/entities/Asset/NonFungible', - require('~/testUtils/mocks/entities').mockNftCollectionModule('~/api/entities/Asset/NonFungible') -); -jest.mock( - '~/api/entities/Asset/NonFungible', - require('~/testUtils/mocks/entities').mockNftModule('~/api/entities/Asset/NonFungible') -); - -describe('issueNft procedure', () => { - let mockContext: Mocked; - let stringToTickerSpy: jest.SpyInstance; - let ticker: string; - let rawTicker: PolymeshPrimitivesTicker; - let portfolioToPortfolioKindSpy: jest.SpyInstance; - let nftInputToMetadataValueSpy: jest.SpyInstance; - - beforeAll(() => { - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - stringToTickerSpy = jest.spyOn(utilsConversionModule, 'stringToTicker'); - nftInputToMetadataValueSpy = jest.spyOn(utilsConversionModule, 'nftInputToNftMetadataVec'); - portfolioToPortfolioKindSpy = jest.spyOn(utilsConversionModule, 'portfolioToPortfolioKind'); - ticker = 'SOME_TICKER'; - rawTicker = dsMockUtils.createMockTicker(ticker); - }); - - beforeEach(() => { - mockContext = dsMockUtils.getContextInstance(); - when(stringToTickerSpy).calledWith(ticker, mockContext).mockReturnValue(rawTicker); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - describe('prepareStorage', () => { - it('should return the NftCollection', () => { - const proc = procedureMockUtils.getInstance(mockContext); - const boundFunc = prepareStorage.bind(proc); - - const result = boundFunc({ - ticker, - metadata: [], - }); - - expect(result).toEqual({ - collection: expect.objectContaining({ ticker }), - }); - }); - }); - - describe('issue NFT', () => { - const defaultPortfolioId = new BigNumber(0); - const numberedPortfolioId = new BigNumber(1); - - const defaultPortfolioKind = dsMockUtils.createMockPortfolioKind('Default'); - const numberedPortfolioKind = dsMockUtils.createMockPortfolioKind({ - User: dsMockUtils.createMockU64(numberedPortfolioId), - }); - - const getPortfolio: EntityGetter = jest.fn(); - const mockDefaultPortfolio = entityMockUtils.getDefaultPortfolioInstance(); - const mockNumberedPortfolio = entityMockUtils.getNumberedPortfolioInstance({ - did: 'did', - id: numberedPortfolioId, - }); - - beforeEach(() => { - when(mockContext.createType) - .calledWith('PolymeshPrimitivesIdentityIdPortfolioKind', 'Default') - .mockReturnValue(defaultPortfolioKind); - when(mockContext.createType) - .calledWith('PolymeshPrimitivesIdentityIdPortfolioKind', numberedPortfolioKind) - .mockReturnValue(numberedPortfolioKind); - when(getPortfolio) - .calledWith() - .mockResolvedValue(mockDefaultPortfolio) - .calledWith({ portfolioId: defaultPortfolioId }) - .mockResolvedValue(mockDefaultPortfolio) - .calledWith({ portfolioId: numberedPortfolioId }) - .mockResolvedValue(mockNumberedPortfolio); - - when(portfolioToPortfolioKindSpy) - .calledWith(mockDefaultPortfolio, mockContext) - .mockReturnValue(defaultPortfolioKind) - .calledWith(mockNumberedPortfolio, mockContext) - .mockReturnValue(numberedPortfolioKind); - }); - - it('should return an issueNft transaction spec', async () => { - const args = { - metadata: [], - ticker, - }; - nftInputToMetadataValueSpy.mockReturnValue([]); - mockContext.getSigningIdentity.mockResolvedValue(entityMockUtils.getIdentityInstance()); - - const transaction = dsMockUtils.createTxMock('nft', 'issueNft'); - const proc = procedureMockUtils.getInstance(mockContext, { - collection: entityMockUtils.getNftCollectionInstance(), - }); - - const result = await prepareIssueNft.call(proc, args); - expect(result).toEqual({ - transaction, - args: [rawTicker, [], defaultPortfolioKind], - resolver: expect.any(Function), - }); - }); - - it('should issue tokens to Default portfolio if portfolioId is not specified', async () => { - const args = { - metadata: [], - ticker, - }; - mockContext.getSigningIdentity.mockResolvedValue( - entityMockUtils.getIdentityInstance({ portfoliosGetPortfolio: getPortfolio }) - ); - nftInputToMetadataValueSpy.mockReturnValue([]); - const transaction = dsMockUtils.createTxMock('nft', 'issueNft'); - const proc = procedureMockUtils.getInstance(mockContext, { - collection: entityMockUtils.getNftCollectionInstance(), - }); - const result = await prepareIssueNft.call(proc, args); - - expect(result).toEqual({ - transaction, - args: [rawTicker, [], defaultPortfolioKind], - resolver: expect.any(Function), - }); - }); - - it('should issue tokens to Default portfolio if default portfolioId is provided', async () => { - const args = { - metadata: [], - ticker, - portfolioId: defaultPortfolioId, - }; - mockContext.getSigningIdentity.mockResolvedValue( - entityMockUtils.getIdentityInstance({ portfoliosGetPortfolio: getPortfolio }) - ); - nftInputToMetadataValueSpy.mockReturnValue([]); - const transaction = dsMockUtils.createTxMock('nft', 'issueNft'); - const proc = procedureMockUtils.getInstance(mockContext, { - collection: entityMockUtils.getNftCollectionInstance(), - }); - const result = await prepareIssueNft.call(proc, args); - - expect(result).toEqual({ - transaction, - args: [rawTicker, [], defaultPortfolioKind], - resolver: expect.any(Function), - }); - }); - - it('should issue the Nft to the Numbered portfolio that is specified', async () => { - const args = { - metadata: [], - ticker, - portfolioId: numberedPortfolioId, - }; - mockContext.getSigningIdentity.mockResolvedValue( - entityMockUtils.getIdentityInstance({ portfoliosGetPortfolio: getPortfolio }) - ); - - nftInputToMetadataValueSpy.mockReturnValue([]); - - const transaction = dsMockUtils.createTxMock('nft', 'issueNft'); - const proc = procedureMockUtils.getInstance(mockContext, { - collection: entityMockUtils.getNftCollectionInstance(), - }); - const result = await prepareIssueNft.call(proc, args); - - expect(result).toEqual({ - transaction, - args: [rawTicker, [], numberedPortfolioKind], - resolver: expect.any(Function), - }); - }); - - it('should throw if unneeded metadata is provided', () => { - const args = { - metadata: [{ type: MetadataType.Local, id: new BigNumber(1), value: 'test' }], - ticker, - }; - nftInputToMetadataValueSpy.mockReturnValue([]); - mockContext.getSigningIdentity.mockResolvedValue(entityMockUtils.getIdentityInstance()); - - dsMockUtils.createTxMock('nft', 'issueNft'); - - const proc = procedureMockUtils.getInstance(mockContext, { - collection: entityMockUtils.getNftCollectionInstance(), - }); - - const expectedError = new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'A metadata value was given that is not required for this collection', - }); - - return expect(prepareIssueNft.call(proc, args)).rejects.toThrow(expectedError); - }); - - it('should throw if not all needed metadata is given', () => { - const args = { - metadata: [], - ticker, - }; - nftInputToMetadataValueSpy.mockReturnValue([]); - mockContext.getSigningIdentity.mockResolvedValue(entityMockUtils.getIdentityInstance()); - - dsMockUtils.createTxMock('nft', 'issueNft'); - - const proc = procedureMockUtils.getInstance(mockContext, { - collection: entityMockUtils.getNftCollectionInstance({ - collectionKeys: [ - { type: MetadataType.Global, id: new BigNumber(1), specs: {}, name: 'Example Global' }, - ], - }), - }); - - const expectedError = new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'The collection requires metadata that was not provided', - }); - - return expect(prepareIssueNft.call(proc, args)).rejects.toThrow(expectedError); - }); - - it('should not throw when all required metadata is provided', () => { - const args = { - metadata: [ - { type: MetadataType.Local, id: new BigNumber(1), value: 'local' }, - { type: MetadataType.Global, id: new BigNumber(2), value: 'global' }, - ], - ticker, - }; - nftInputToMetadataValueSpy.mockReturnValue([]); - mockContext.getSigningIdentity.mockResolvedValue(entityMockUtils.getIdentityInstance()); - - dsMockUtils.createTxMock('nft', 'issueNft'); - - const proc = procedureMockUtils.getInstance(mockContext, { - collection: entityMockUtils.getNftCollectionInstance({ - collectionKeys: [ - { - type: MetadataType.Local, - id: new BigNumber(1), - ticker, - name: 'Example Local', - specs: {}, - }, - { type: MetadataType.Global, id: new BigNumber(2), specs: {}, name: 'Example Global' }, - ], - }), - }); - - return expect(prepareIssueNft.call(proc, args)).resolves.not.toThrow(); - }); - }); - - describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', () => { - const proc = procedureMockUtils.getInstance(mockContext, { - collection: entityMockUtils.getNftCollectionInstance({ ticker }), - }); - const boundFunc = getAuthorization.bind(proc); - - expect(boundFunc()).toEqual({ - permissions: { - transactions: [TxTags.nft.IssueNft], - assets: [expect.objectContaining({ ticker })], - portfolios: [], - }, - }); - }); - }); - - describe('issueNftResolver', () => { - const filterEventRecordsSpy = jest.spyOn(utilsInternalModule, 'filterEventRecords'); - const id = new BigNumber(1); - - beforeAll(() => { - entityMockUtils.initMocks({ checkpointOptions: { ticker, id } }); - }); - - beforeEach(() => { - const mockNft = dsMockUtils.createMockNfts({ - ticker: dsMockUtils.createMockTicker(ticker), - ids: [dsMockUtils.createMockU64(id)], - }); - filterEventRecordsSpy.mockReturnValue([dsMockUtils.createMockIEvent(['someDid', mockNft])]); - }); - - afterEach(() => { - filterEventRecordsSpy.mockReset(); - }); - - it('should create an NFT entity', () => { - const context = dsMockUtils.getContextInstance(); - const result = issueNftResolver(context)({} as ISubmittableResult); - - expect(result.collection).toEqual(expect.objectContaining({ ticker })); - }); - }); -}); diff --git a/src/api/procedures/__tests__/issueTokens.ts b/src/api/procedures/__tests__/issueTokens.ts deleted file mode 100644 index 6558249c3c..0000000000 --- a/src/api/procedures/__tests__/issueTokens.ts +++ /dev/null @@ -1,330 +0,0 @@ -import { Balance } from '@polkadot/types/interfaces'; -import { PolymeshPrimitivesTicker } from '@polkadot/types/lookup'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { - getAuthorization, - IssueTokensParams, - prepareIssueTokens, - prepareStorage, - Storage, -} from '~/api/procedures/issueTokens'; -import { Context, FungibleAsset, Portfolio } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { EntityGetter } from '~/testUtils/mocks/entities'; -import { Mocked } from '~/testUtils/types'; -import { TxTags } from '~/types'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/Asset/Fungible', - require('~/testUtils/mocks/entities').mockFungibleAssetModule('~/api/entities/Asset/Fungible') -); - -describe('issueTokens procedure', () => { - let mockContext: Mocked; - let stringToTickerSpy: jest.SpyInstance; - let bigNumberToBalance: jest.SpyInstance; - let ticker: string; - let rawTicker: PolymeshPrimitivesTicker; - let amount: BigNumber; - let rawAmount: Balance; - let portfolioToPortfolioKindSpy: jest.SpyInstance; - - beforeAll(() => { - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - stringToTickerSpy = jest.spyOn(utilsConversionModule, 'stringToTicker'); - portfolioToPortfolioKindSpy = jest.spyOn(utilsConversionModule, 'portfolioToPortfolioKind'); - bigNumberToBalance = jest.spyOn(utilsConversionModule, 'bigNumberToBalance'); - ticker = 'SOME_TICKER'; - rawTicker = dsMockUtils.createMockTicker(ticker); - amount = new BigNumber(100); - rawAmount = dsMockUtils.createMockBalance(amount); - }); - - beforeEach(() => { - mockContext = dsMockUtils.getContextInstance(); - when(stringToTickerSpy).calledWith(ticker, mockContext).mockReturnValue(rawTicker); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - describe('prepareStorage', () => { - it('should return the Asset', () => { - const proc = procedureMockUtils.getInstance( - mockContext - ); - const boundFunc = prepareStorage.bind(proc); - - const result = boundFunc({ - ticker, - amount: new BigNumber(10), - }); - - expect(result).toEqual({ - asset: expect.objectContaining({ ticker }), - }); - }); - }); - - it('should throw an error if Asset supply is bigger than the limit total supply', async () => { - const args = { - amount, - ticker, - }; - - const limitTotalSupply = new BigNumber(Math.pow(10, 12)); - - entityMockUtils.configureMocks({ - fungibleAssetOptions: { - details: { - totalSupply: limitTotalSupply, - }, - }, - }); - - const proc = procedureMockUtils.getInstance( - mockContext, - { - asset: entityMockUtils.getFungibleAssetInstance(), - } - ); - - let error; - - try { - await prepareIssueTokens.call(proc, args); - } catch (err) { - error = err; - } - - expect(error.message).toBe( - `This issuance operation will cause the total supply of "${ticker}" to exceed the supply limit` - ); - expect(error.data).toMatchObject({ - currentSupply: limitTotalSupply, - supplyLimit: limitTotalSupply, - }); - }); - - it('should return a issue transaction spec', async () => { - const isDivisible = true; - const args = { - amount, - ticker, - }; - mockContext.getSigningIdentity.mockResolvedValue(entityMockUtils.getIdentityInstance()); - - entityMockUtils.configureMocks({ - fungibleAssetOptions: { - ticker, - details: { - isDivisible, - }, - }, - }); - - when(bigNumberToBalance) - .calledWith(amount, mockContext, isDivisible) - .mockReturnValue(rawAmount); - - const transaction = dsMockUtils.createTxMock('asset', 'issue'); - const proc = procedureMockUtils.getInstance( - mockContext, - { - asset: entityMockUtils.getFungibleAssetInstance(), - } - ); - - const result = await prepareIssueTokens.call(proc, args); - expect(result).toEqual({ - transaction, - args: [rawTicker, rawAmount], - resolver: expect.objectContaining({ ticker }), - }); - }); - - describe('issue tokens to portfolio', () => { - const defaultPortfolioId = new BigNumber(0); - const numberedPortfolioId = new BigNumber(1); - - const defaultPortfolioKind = dsMockUtils.createMockPortfolioKind('Default'); - const numberedPortfolioKind = dsMockUtils.createMockPortfolioKind({ - User: dsMockUtils.createMockU64(numberedPortfolioId), - }); - - const getPortfolio: EntityGetter = jest.fn(); - const mockDefaultPortfolio = entityMockUtils.getDefaultPortfolioInstance(); - const mockNumberedPortfolio = entityMockUtils.getNumberedPortfolioInstance({ - did: 'did', - id: numberedPortfolioId, - }); - - beforeEach(() => { - when(mockContext.createType) - .calledWith('PolymeshPrimitivesIdentityIdPortfolioKind', 'Default') - .mockReturnValue(defaultPortfolioKind); - when(mockContext.createType) - .calledWith('PolymeshPrimitivesIdentityIdPortfolioKind', numberedPortfolioKind) - .mockReturnValue(numberedPortfolioKind); - when(getPortfolio) - .calledWith() - .mockResolvedValue(mockDefaultPortfolio) - .calledWith({ portfolioId: defaultPortfolioId }) - .mockResolvedValue(mockDefaultPortfolio) - .calledWith({ portfolioId: numberedPortfolioId }) - .mockResolvedValue(mockNumberedPortfolio); - - when(portfolioToPortfolioKindSpy) - .calledWith(mockDefaultPortfolio, mockContext) - .mockReturnValue(defaultPortfolioKind) - .calledWith(mockNumberedPortfolio, mockContext) - .mockReturnValue(numberedPortfolioKind); - }); - - it('should issue tokens to Default portfolio if portfolioId is not specified', async () => { - const isDivisible = true; - - const args = { - amount, - ticker, - }; - mockContext.getSigningIdentity.mockResolvedValue( - entityMockUtils.getIdentityInstance({ portfoliosGetPortfolio: getPortfolio }) - ); - entityMockUtils.configureMocks({ - fungibleAssetOptions: { - ticker, - details: { - isDivisible, - }, - }, - }); - when(bigNumberToBalance) - .calledWith(amount, mockContext, isDivisible) - .mockReturnValue(rawAmount); - const transaction = dsMockUtils.createTxMock('asset', 'issue'); - const proc = procedureMockUtils.getInstance( - mockContext, - { - asset: entityMockUtils.getFungibleAssetInstance(), - } - ); - const result = await prepareIssueTokens.call(proc, args); - - expect(result).toEqual({ - transaction, - args: [rawTicker, rawAmount, defaultPortfolioKind], - resolver: expect.objectContaining({ ticker }), - }); - }); - - it('should issue tokens to Default portfolio if default portfolioId is provided', async () => { - const isDivisible = true; - - const args = { - amount, - ticker, - portfolioId: defaultPortfolioId, - }; - mockContext.getSigningIdentity.mockResolvedValue( - entityMockUtils.getIdentityInstance({ portfoliosGetPortfolio: getPortfolio }) - ); - entityMockUtils.configureMocks({ - fungibleAssetOptions: { - ticker, - details: { - isDivisible, - }, - }, - }); - when(bigNumberToBalance) - .calledWith(amount, mockContext, isDivisible) - .mockReturnValue(rawAmount); - const transaction = dsMockUtils.createTxMock('asset', 'issue'); - const proc = procedureMockUtils.getInstance( - mockContext, - { - asset: entityMockUtils.getFungibleAssetInstance(), - } - ); - const result = await prepareIssueTokens.call(proc, args); - - expect(result).toEqual({ - transaction, - args: [rawTicker, rawAmount, defaultPortfolioKind], - resolver: expect.objectContaining({ ticker }), - }); - }); - - it('should issue tokens to the Numbered portfolio that is specified', async () => { - const isDivisible = true; - - const args = { - amount, - ticker, - portfolioId: numberedPortfolioId, - }; - mockContext.getSigningIdentity.mockResolvedValue( - entityMockUtils.getIdentityInstance({ portfoliosGetPortfolio: getPortfolio }) - ); - entityMockUtils.configureMocks({ - fungibleAssetOptions: { - ticker, - details: { - isDivisible, - }, - }, - }); - when(bigNumberToBalance) - .calledWith(amount, mockContext, isDivisible) - .mockReturnValue(rawAmount); - const transaction = dsMockUtils.createTxMock('asset', 'issue'); - const proc = procedureMockUtils.getInstance( - mockContext, - { - asset: entityMockUtils.getFungibleAssetInstance(), - } - ); - const result = await prepareIssueTokens.call(proc, args); - - expect(result).toEqual({ - transaction, - args: [rawTicker, rawAmount, numberedPortfolioKind], - resolver: expect.objectContaining({ ticker }), - }); - }); - }); - - describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', () => { - const proc = procedureMockUtils.getInstance( - mockContext, - { - asset: entityMockUtils.getFungibleAssetInstance({ ticker }), - } - ); - const boundFunc = getAuthorization.bind(proc); - - expect(boundFunc()).toEqual({ - permissions: { - transactions: [TxTags.asset.Issue], - assets: [expect.objectContaining({ ticker })], - portfolios: [], - }, - }); - }); - }); -}); diff --git a/src/api/procedures/__tests__/launchOffering.ts b/src/api/procedures/__tests__/launchOffering.ts deleted file mode 100644 index ae58a8382d..0000000000 --- a/src/api/procedures/__tests__/launchOffering.ts +++ /dev/null @@ -1,411 +0,0 @@ -import { Bytes, u64 } from '@polkadot/types'; -import { Balance } from '@polkadot/types/interfaces'; -import { - PalletStoPriceTier, - PolymeshPrimitivesIdentityIdPortfolioId, - PolymeshPrimitivesTicker, -} from '@polkadot/types/lookup'; -import { ISubmittableResult } from '@polkadot/types/types'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { - createOfferingResolver, - getAuthorization, - Params, - prepareLaunchOffering, - prepareStorage, - Storage, -} from '~/api/procedures/launchOffering'; -import { Context, DefaultPortfolio, Offering, Venue } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { - OfferingTier, - PortfolioBalance, - PortfolioId, - PortfolioLike, - RoleType, - TxTags, - VenueType, -} from '~/types'; -import * as utilsConversionModule from '~/utils/conversion'; -import * as utilsInternalModule from '~/utils/internal'; - -jest.mock( - '~/api/entities/Asset/Fungible', - require('~/testUtils/mocks/entities').mockFungibleAssetModule('~/api/entities/Asset/Fungible') -); -jest.mock( - '~/api/entities/Identity', - require('~/testUtils/mocks/entities').mockIdentityModule('~/api/entities/Identity') -); -jest.mock( - '~/api/entities/Offering', - require('~/testUtils/mocks/entities').mockOfferingModule('~/api/entities/Offering') -); -jest.mock( - '~/api/entities/DefaultPortfolio', - require('~/testUtils/mocks/entities').mockDefaultPortfolioModule( - '~/api/entities/DefaultPortfolio' - ) -); - -describe('launchOffering procedure', () => { - let mockContext: Mocked; - let stringToTickerSpy: jest.SpyInstance; - let portfolioIdToMeshPortfolioIdSpy: jest.SpyInstance< - PolymeshPrimitivesIdentityIdPortfolioId, - [PortfolioId, Context] - >; - let portfolioLikeToPortfolioIdSpy: jest.SpyInstance; - let bigNumberToU64Spy: jest.SpyInstance; - let dateToMomentSpy: jest.SpyInstance; - let bigNumberToBalanceSpy: jest.SpyInstance; - let offeringTierToPriceTierSpy: jest.SpyInstance; - let stringToBytesSpy: jest.SpyInstance; - let portfolioIdToPortfolioSpy: jest.SpyInstance; - let ticker: string; - let offeringPortfolio: PortfolioLike; - let portfolio: entityMockUtils.MockDefaultPortfolio; - let offeringPortfolioId: PortfolioId; - let raisingPortfolio: PortfolioLike; - let raisingPortfolioId: PortfolioId; - let raisingCurrency: string; - let venueId: BigNumber; - let venue: Venue; - let name: string; - let start: Date; - let end: Date; - let amount: BigNumber; - let price: BigNumber; - let minInvestment: BigNumber; - let rawTicker: PolymeshPrimitivesTicker; - let rawOfferingPortfolio: PolymeshPrimitivesIdentityIdPortfolioId; - let rawRaisingPortfolio: PolymeshPrimitivesIdentityIdPortfolioId; - let rawRaisingCurrency: PolymeshPrimitivesTicker; - let rawVenueId: u64; - let rawName: Bytes; - let rawStart: u64; - let rawEnd: u64; - let rawTiers: PalletStoPriceTier[]; - let rawMinInvestment: Balance; - - let args: Params; - - beforeAll(() => { - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - stringToTickerSpy = jest.spyOn(utilsConversionModule, 'stringToTicker'); - portfolioIdToMeshPortfolioIdSpy = jest.spyOn( - utilsConversionModule, - 'portfolioIdToMeshPortfolioId' - ); - portfolioLikeToPortfolioIdSpy = jest.spyOn(utilsConversionModule, 'portfolioLikeToPortfolioId'); - offeringTierToPriceTierSpy = jest.spyOn(utilsConversionModule, 'offeringTierToPriceTier'); - bigNumberToU64Spy = jest.spyOn(utilsConversionModule, 'bigNumberToU64'); - dateToMomentSpy = jest.spyOn(utilsConversionModule, 'dateToMoment'); - bigNumberToBalanceSpy = jest.spyOn(utilsConversionModule, 'bigNumberToBalance'); - stringToBytesSpy = jest.spyOn(utilsConversionModule, 'stringToBytes'); - portfolioIdToPortfolioSpy = jest.spyOn(utilsConversionModule, 'portfolioIdToPortfolio'); - ticker = 'tickerFrozen'; - rawTicker = dsMockUtils.createMockTicker(ticker); - offeringPortfolio = 'oneDid'; - raisingPortfolio = 'treasuryDid'; - offeringPortfolioId = { did: offeringPortfolio }; - raisingPortfolioId = { did: raisingPortfolio }; - raisingCurrency = 'USD'; - venueId = new BigNumber(1); - name = 'someOffering'; - const now = new Date(); - start = new Date(now.getTime() + 10000); - end = new Date(start.getTime() + 10000); - amount = new BigNumber(100); - price = new BigNumber(1000); - minInvestment = new BigNumber(50); - rawOfferingPortfolio = dsMockUtils.createMockPortfolioId({ - did: dsMockUtils.createMockIdentityId(offeringPortfolio), - kind: dsMockUtils.createMockPortfolioKind('Default'), - }); - rawRaisingPortfolio = dsMockUtils.createMockPortfolioId({ - did: dsMockUtils.createMockIdentityId(raisingPortfolio), - kind: dsMockUtils.createMockPortfolioKind('Default'), - }); - rawRaisingCurrency = dsMockUtils.createMockTicker(raisingCurrency); - rawVenueId = dsMockUtils.createMockU64(venueId); - rawName = dsMockUtils.createMockBytes(name); - rawStart = dsMockUtils.createMockMoment(new BigNumber(start.getTime())); - rawEnd = dsMockUtils.createMockMoment(new BigNumber(end.getTime())); - rawTiers = [ - dsMockUtils.createMockPriceTier({ - total: dsMockUtils.createMockBalance(amount), - price: dsMockUtils.createMockBalance(price), - }), - ]; - rawMinInvestment = dsMockUtils.createMockBalance(minInvestment); - }); - - beforeEach(() => { - venue = entityMockUtils.getVenueInstance({ - id: venueId, - details: { - type: VenueType.Sto, - }, - }); - mockContext = dsMockUtils.getContextInstance(); - when(stringToTickerSpy).calledWith(ticker, mockContext).mockReturnValue(rawTicker); - when(stringToTickerSpy) - .calledWith(raisingCurrency, mockContext) - .mockReturnValue(rawRaisingCurrency); - when(portfolioLikeToPortfolioIdSpy) - .calledWith(offeringPortfolio) - .mockReturnValue(offeringPortfolioId); - when(portfolioIdToMeshPortfolioIdSpy) - .calledWith(offeringPortfolioId, mockContext) - .mockReturnValue(rawOfferingPortfolio); - when(portfolioLikeToPortfolioIdSpy) - .calledWith(raisingPortfolio) - .mockReturnValue(raisingPortfolioId); - when(portfolioIdToMeshPortfolioIdSpy) - .calledWith(raisingPortfolioId, mockContext) - .mockReturnValue(rawRaisingPortfolio); - when(offeringTierToPriceTierSpy) - .calledWith({ amount, price }, mockContext) - .mockReturnValue(rawTiers[0]); - when(bigNumberToU64Spy).calledWith(venue.id, mockContext).mockReturnValue(rawVenueId); - when(dateToMomentSpy).calledWith(start, mockContext).mockReturnValue(rawStart); - when(dateToMomentSpy).calledWith(end, mockContext).mockReturnValue(rawEnd); - when(stringToBytesSpy).calledWith(name, mockContext).mockReturnValue(rawName); - when(bigNumberToBalanceSpy) - .calledWith(minInvestment, mockContext) - .mockReturnValue(rawMinInvestment); - portfolio = entityMockUtils.getDefaultPortfolioInstance(offeringPortfolioId); - when(portfolioIdToPortfolioSpy) - .calledWith(offeringPortfolioId, mockContext) - .mockReturnValue(portfolio); - - args = { - ticker, - offeringPortfolio, - raisingPortfolio, - raisingCurrency, - venue, - name, - start, - end, - tiers: [{ amount, price }], - minInvestment, - }; - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it('should throw an error if no valid Venue was supplied or found', async () => { - portfolio.getAssetBalances = jest.fn().mockResolvedValue([{ free: new BigNumber(20) }]); - entityMockUtils.configureMocks({ - identityOptions: { - getVenues: [entityMockUtils.getVenueInstance({ details: { type: VenueType.Exchange } })], - }, - }); - const proc = procedureMockUtils.getInstance(mockContext, { - offeringPortfolioId, - raisingPortfolioId, - }); - - let err: Error | undefined; - - try { - await prepareLaunchOffering.call(proc, { - ...args, - venue: entityMockUtils.getVenueInstance({ exists: false }), - }); - } catch (error) { - err = error; - } - - expect(err?.message).toBe('A valid Venue for the Offering was neither supplied nor found'); - - err = undefined; - - try { - await prepareLaunchOffering.call(proc, { ...args, venue: undefined }); - } catch (error) { - err = error; - } - - expect(err?.message).toBe('A valid Venue for the Offering was neither supplied nor found'); - }); - - it("should throw an error if Asset tokens offered exceed the Portfolio's balance", async () => { - portfolio.getAssetBalances = jest.fn().mockResolvedValue([{ free: new BigNumber(1) }]); - - const proc = procedureMockUtils.getInstance(mockContext, { - offeringPortfolioId, - raisingPortfolioId, - }); - - let err: Error | undefined; - - try { - await prepareLaunchOffering.call(proc, args); - } catch (error) { - err = error; - } - - expect(err?.message).toBe("There isn't enough free balance in the offering Portfolio"); - }); - - it('should return a create fundraiser transaction spec', async () => { - portfolio.getAssetBalances = jest.fn().mockResolvedValue([{ free: new BigNumber(1000) }]); - - const proc = procedureMockUtils.getInstance(mockContext, { - offeringPortfolioId, - raisingPortfolioId, - }); - - const transaction = dsMockUtils.createTxMock('sto', 'createFundraiser'); - - let result = await prepareLaunchOffering.call(proc, args); - - expect(result).toEqual({ - transaction, - args: [ - rawOfferingPortfolio, - rawTicker, - rawRaisingPortfolio, - rawRaisingCurrency, - rawTiers, - rawVenueId, - rawStart, - rawEnd, - rawMinInvestment, - rawName, - ], - resolver: expect.any(Function), - }); - - entityMockUtils.configureMocks({ - venueOptions: { - details: { - type: VenueType.Sto, - }, - }, - identityOptions: { - getVenues: [venue], - }, - defaultPortfolioOptions: { - getAssetBalances: [{ free: new BigNumber(1000) }] as PortfolioBalance[], - }, - }); - - result = await prepareLaunchOffering.call(proc, { - ...args, - venue: undefined, - start: undefined, - end: undefined, - }); - - expect(result).toEqual({ - transaction, - args: [ - rawOfferingPortfolio, - rawTicker, - rawRaisingPortfolio, - rawRaisingCurrency, - rawTiers, - rawVenueId, - null, - null, - rawMinInvestment, - rawName, - ], - resolver: expect.any(Function), - }); - }); - - describe('stoResolver', () => { - const filterEventRecordsSpy = jest.spyOn(utilsInternalModule, 'filterEventRecords'); - const stoId = new BigNumber(15); - - beforeAll(() => { - entityMockUtils.initMocks({ offeringOptions: { ticker, id: stoId } }); - }); - - beforeEach(() => { - filterEventRecordsSpy.mockReturnValue([ - dsMockUtils.createMockIEvent(['filler', dsMockUtils.createMockU64(stoId)]), - ]); - }); - - afterEach(() => { - filterEventRecordsSpy.mockReset(); - }); - - it('should return the new Offering', () => { - const result = createOfferingResolver(ticker, mockContext)({} as ISubmittableResult); - - expect(result).toEqual( - expect.objectContaining({ asset: expect.objectContaining({ ticker }), id: stoId }) - ); - }); - }); - - describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', () => { - const proc = procedureMockUtils.getInstance(mockContext, { - offeringPortfolioId, - raisingPortfolioId, - }); - const boundFunc = getAuthorization.bind(proc); - - const portfolios = [ - 'offering' as unknown as DefaultPortfolio, - 'raising' as unknown as DefaultPortfolio, - ]; - when(portfolioIdToPortfolioSpy) - .calledWith(offeringPortfolioId, mockContext) - .mockReturnValue(portfolios[0]); - when(portfolioIdToPortfolioSpy) - .calledWith(raisingPortfolioId, mockContext) - .mockReturnValue(portfolios[1]); - - const roles = [ - { type: RoleType.PortfolioCustodian, portfolioId: offeringPortfolioId }, - { type: RoleType.PortfolioCustodian, portfolioId: raisingPortfolioId }, - ]; - - expect(boundFunc(args)).toEqual({ - roles, - permissions: { - transactions: [TxTags.sto.CreateFundraiser], - assets: [expect.objectContaining({ ticker })], - portfolios, - }, - }); - }); - }); - - describe('prepareStorage', () => { - it('should return the offering and raising portfolio ids', async () => { - const proc = procedureMockUtils.getInstance(mockContext); - const boundFunc = prepareStorage.bind(proc); - - const result = await boundFunc(args); - - expect(result).toEqual({ - offeringPortfolioId, - raisingPortfolioId, - }); - }); - }); -}); diff --git a/src/api/procedures/__tests__/leaveIdentity.ts b/src/api/procedures/__tests__/leaveIdentity.ts deleted file mode 100644 index 01e63a514d..0000000000 --- a/src/api/procedures/__tests__/leaveIdentity.ts +++ /dev/null @@ -1,97 +0,0 @@ -import { prepareLeaveIdentity } from '~/api/procedures/leaveIdentity'; -import { Context, PolymeshError } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { ErrorCode } from '~/types'; -import * as utilsInternalModule from '~/utils/internal'; - -jest.mock( - '~/api/entities/Asset/Fungible', - require('~/testUtils/mocks/entities').mockFungibleAssetModule('~/api/entities/Asset/Fungible') -); - -describe('leaveIdentity procedure', () => { - let mockContext: Mocked; - let getSecondaryAccountPermissionsSpy: jest.SpyInstance; - - beforeAll(() => { - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - - getSecondaryAccountPermissionsSpy = jest.spyOn( - utilsInternalModule, - 'getSecondaryAccountPermissions' - ); - }); - - beforeEach(() => { - mockContext = dsMockUtils.getContextInstance(); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it('should throw an error if the Account is not associated to any Identity', async () => { - const proc = procedureMockUtils.getInstance(mockContext); - mockContext.getSigningAccount.mockReturnValue( - entityMockUtils.getAccountInstance({ - getIdentity: null, - }) - ); - getSecondaryAccountPermissionsSpy.mockReturnValue([]); - - const expectedError = new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'There is no Identity associated to the signing Account', - }); - - return expect(prepareLeaveIdentity.call(proc)).rejects.toThrowError(expectedError); - }); - - it('should throw an error if the signing Account is not a secondary Account', () => { - const proc = procedureMockUtils.getInstance(mockContext); - mockContext.getSigningAccount.mockReturnValue(entityMockUtils.getAccountInstance()); - - const expectedError = new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: 'Only secondary Accounts are allowed to leave an Identity', - }); - - return expect(prepareLeaveIdentity.call(proc)).rejects.toThrowError(expectedError); - }); - - it('should return a leave Identity as Account transaction spec', async () => { - const address = 'someAddress'; - const leaveIdentityAsKeyTransaction = dsMockUtils.createTxMock( - 'identity', - 'leaveIdentityAsKey' - ); - - getSecondaryAccountPermissionsSpy.mockReturnValue([ - { - account: entityMockUtils.getAccountInstance({ address }), - permissions: { - assets: null, - portfolios: null, - transactionGroups: [], - transactions: null, - }, - }, - ]); - - const proc = procedureMockUtils.getInstance(mockContext); - - const result = await prepareLeaveIdentity.call(proc); - - expect(result).toEqual({ transaction: leaveIdentityAsKeyTransaction, resolver: undefined }); - }); -}); diff --git a/src/api/procedures/__tests__/linkCaDocs.ts b/src/api/procedures/__tests__/linkCaDocs.ts deleted file mode 100644 index fd3dba11e2..0000000000 --- a/src/api/procedures/__tests__/linkCaDocs.ts +++ /dev/null @@ -1,165 +0,0 @@ -import { Option, u32, Vec } from '@polkadot/types'; -import { - PalletCorporateActionsCaId, - PolymeshPrimitivesDocument, - PolymeshPrimitivesTicker, -} from '@polkadot/types/lookup'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { getAuthorization, Params, prepareLinkCaDocs } from '~/api/procedures/linkCaDocs'; -import { Context } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { AssetDocument, TxTags } from '~/types'; -import { PolymeshTx } from '~/types/internal'; -import { tuple } from '~/types/utils'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/Asset/Fungible', - require('~/testUtils/mocks/entities').mockFungibleAssetModule('~/api/entities/Asset/Fungible') -); - -describe('linkCaDocs procedure', () => { - let mockContext: Mocked; - let stringToTickerSpy: jest.SpyInstance; - let ticker: string; - let id: BigNumber; - let documents: AssetDocument[]; - let rawTicker: PolymeshPrimitivesTicker; - let rawDocuments: PolymeshPrimitivesDocument[]; - let rawDocumentIds: u32[]; - let documentEntries: [[PolymeshPrimitivesTicker, u32], Option][]; - let args: Params; - let rawCaId: PalletCorporateActionsCaId; - - beforeAll(() => { - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - stringToTickerSpy = jest.spyOn(utilsConversionModule, 'stringToTicker'); - ticker = 'SOME_TICKER'; - id = new BigNumber(1); - documents = [ - { - name: 'someDocument', - uri: 'someUri', - contentHash: '0x01', - }, - { - name: 'otherDocument', - uri: 'otherUri', - contentHash: '0x02', - }, - ]; - rawTicker = dsMockUtils.createMockTicker(ticker); - rawDocuments = documents.map(({ name, uri, contentHash, type, filedAt }) => - dsMockUtils.createMockDocument({ - name: dsMockUtils.createMockBytes(name), - uri: dsMockUtils.createMockBytes(uri), - contentHash: dsMockUtils.createMockDocumentHash({ - H128: dsMockUtils.createMockU8aFixed(contentHash, true), - }), - docType: dsMockUtils.createMockOption(type ? dsMockUtils.createMockBytes(type) : null), - filingDate: dsMockUtils.createMockOption( - filedAt ? dsMockUtils.createMockMoment(new BigNumber(filedAt.getTime())) : null - ), - }) - ); - documentEntries = []; - rawDocumentIds = []; - rawDocuments.forEach((doc, index) => { - const rawId = dsMockUtils.createMockU32(new BigNumber(index)); - documentEntries.push(tuple([rawTicker, rawId], dsMockUtils.createMockOption(doc))); - rawDocumentIds.push(rawId); - }); - args = { - id, - ticker, - documents, - }; - rawCaId = dsMockUtils.createMockCAId({ ticker, localId: id }); - jest.spyOn(utilsConversionModule, 'corporateActionIdentifierToCaId').mockReturnValue(rawCaId); - }); - - let linkCaDocTransaction: PolymeshTx<[Vec, PolymeshPrimitivesTicker]>; - - beforeEach(() => { - dsMockUtils.createQueryMock('asset', 'assetDocuments', { - entries: [documentEntries[0], documentEntries[1]], - }); - - linkCaDocTransaction = dsMockUtils.createTxMock('corporateAction', 'linkCaDoc'); - - mockContext = dsMockUtils.getContextInstance(); - - when(stringToTickerSpy).calledWith(ticker, mockContext).mockReturnValue(rawTicker); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it('should throw an error if some of the provided documents are not associated to the Asset', async () => { - const proc = procedureMockUtils.getInstance(mockContext); - const name = 'customName'; - - let error; - - try { - await prepareLinkCaDocs.call(proc, { - id, - ticker, - documents: [ - documents[0], - { - name, - uri: 'someUri', - contentHash: 'someHash', - }, - ], - }); - } catch (err) { - error = err; - } - - expect(error.message).toBe('Some of the provided documents are not associated with the Asset'); - expect(error.data.documents.length).toEqual(1); - expect(error.data.documents[0].name).toEqual(name); - }); - - it('should return a link ca doc transaction spec', async () => { - const proc = procedureMockUtils.getInstance(mockContext); - - const result = await prepareLinkCaDocs.call(proc, args); - - expect(result).toEqual({ - transaction: linkCaDocTransaction, - args: [rawCaId, rawDocumentIds], - resolver: undefined, - }); - }); - - describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', () => { - const proc = procedureMockUtils.getInstance(mockContext); - const boundFunc = getAuthorization.bind(proc); - - expect(boundFunc(args)).toEqual({ - permissions: { - assets: [expect.objectContaining({ ticker })], - transactions: [TxTags.corporateAction.LinkCaDoc], - portfolios: [], - }, - }); - }); - }); -}); diff --git a/src/api/procedures/__tests__/modifyAllowance.ts b/src/api/procedures/__tests__/modifyAllowance.ts deleted file mode 100644 index 25f40213a4..0000000000 --- a/src/api/procedures/__tests__/modifyAllowance.ts +++ /dev/null @@ -1,185 +0,0 @@ -import { AccountId, Balance } from '@polkadot/types/interfaces'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { getAuthorization, prepareModifyAllowance } from '~/api/procedures/modifyAllowance'; -import { Context, ModifyAllowanceParams, Procedure, Subsidy } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { AllowanceOperation, TxTags } from '~/types'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/Account', - require('~/testUtils/mocks/entities').mockAccountModule('~/api/entities/Account') -); - -jest.mock( - '~/api/entities/Subsidy', - require('~/testUtils/mocks/entities').mockSubsidyModule('~/api/entities/Subsidy') -); - -describe('modifyAllowance procedure', () => { - let mockContext: Mocked; - let subsidy: Subsidy; - let stringToAccountIdSpy: jest.SpyInstance; - let bigNumberToBalanceSpy: jest.SpyInstance< - Balance, - [BigNumber, Context, (boolean | undefined)?] - >; - let args: ModifyAllowanceParams; - let allowance: BigNumber; - let rawBeneficiaryAccountId: AccountId; - let rawAllowance: Balance; - - let increasePolyxLimitTransaction: jest.Mock; - - let proc: Procedure; - - beforeAll(() => { - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks({ - subsidyOptions: { - getAllowance: new BigNumber(100), - }, - }); - - stringToAccountIdSpy = jest.spyOn(utilsConversionModule, 'stringToAccountId'); - bigNumberToBalanceSpy = jest.spyOn(utilsConversionModule, 'bigNumberToBalance'); - }); - - beforeEach(() => { - mockContext = dsMockUtils.getContextInstance(); - - subsidy = entityMockUtils.getSubsidyInstance(); - allowance = new BigNumber(50); - args = { subsidy, operation: AllowanceOperation.Set, allowance }; - - rawBeneficiaryAccountId = dsMockUtils.createMockAccountId('beneficiary'); - when(stringToAccountIdSpy) - .calledWith('beneficiary', mockContext) - .mockReturnValue(rawBeneficiaryAccountId); - - rawAllowance = dsMockUtils.createMockBalance(allowance); - when(bigNumberToBalanceSpy).calledWith(allowance, mockContext).mockReturnValue(rawAllowance); - - increasePolyxLimitTransaction = dsMockUtils.createTxMock('relayer', 'increasePolyxLimit'); - - proc = procedureMockUtils.getInstance(mockContext); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it('should throw an error if the Subsidy does not exist', () => - expect(() => - prepareModifyAllowance.call(proc, { - ...args, - subsidy: entityMockUtils.getSubsidyInstance({ exists: false }), - }) - ).rejects.toThrowError('The Subsidy no longer exists')); - - it('should throw an error if the allowance to be set is same as the current allowance', () => - expect( - prepareModifyAllowance.call(proc, { - ...args, - allowance: new BigNumber(100), - }) - ).rejects.toThrowError('Amount of allowance to set is equal to the current allowance')); - - it('should throw an error if the amount of allowance to decrease is more than the current allowance', () => - expect( - prepareModifyAllowance.call(proc, { - ...args, - operation: AllowanceOperation.Decrease, - allowance: new BigNumber(1000), - }) - ).rejects.toThrowError( - 'Amount of allowance to decrease cannot be more than the current allowance' - )); - - it('should return a transaction spec', async () => { - const updatePolyxLimitTransaction = dsMockUtils.createTxMock('relayer', 'updatePolyxLimit'); - - let result = await prepareModifyAllowance.call(proc, args); - - expect(result).toEqual({ - transaction: updatePolyxLimitTransaction, - args: [rawBeneficiaryAccountId, rawAllowance], - resolver: undefined, - }); - - result = await prepareModifyAllowance.call(proc, { - ...args, - operation: AllowanceOperation.Increase, - }); - - expect(result).toEqual({ - transaction: increasePolyxLimitTransaction, - args: [rawBeneficiaryAccountId, rawAllowance], - resolver: undefined, - }); - - const decreasePolyxLimitTransaction = dsMockUtils.createTxMock('relayer', 'decreasePolyxLimit'); - - result = await prepareModifyAllowance.call(proc, { - ...args, - operation: AllowanceOperation.Decrease, - }); - - expect(result).toEqual({ - transaction: decreasePolyxLimitTransaction, - args: [rawBeneficiaryAccountId, rawAllowance], - resolver: undefined, - }); - }); - - describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', () => { - const boundFunc = getAuthorization.bind(proc); - - let result = boundFunc(args); - expect(result).toEqual({ - roles: true, - permissions: { - transactions: [TxTags.relayer.UpdatePolyxLimit], - }, - }); - - result = boundFunc({ ...args, operation: AllowanceOperation.Increase }); - expect(result).toEqual({ - roles: true, - permissions: { - transactions: [TxTags.relayer.IncreasePolyxLimit], - }, - }); - - result = boundFunc({ ...args, operation: AllowanceOperation.Decrease }); - expect(result).toEqual({ - roles: true, - permissions: { - transactions: [TxTags.relayer.DecreasePolyxLimit], - }, - }); - - subsidy.subsidizer.isEqual = jest.fn().mockReturnValue(false); - - result = boundFunc(args); - expect(result).toEqual({ - roles: 'Only the subsidizer is allowed to modify the allowance of a Subsidy', - permissions: { - transactions: [TxTags.relayer.UpdatePolyxLimit], - }, - }); - }); - }); -}); diff --git a/src/api/procedures/__tests__/modifyAsset.ts b/src/api/procedures/__tests__/modifyAsset.ts deleted file mode 100644 index 43c53a460d..0000000000 --- a/src/api/procedures/__tests__/modifyAsset.ts +++ /dev/null @@ -1,249 +0,0 @@ -import { PolymeshPrimitivesTicker } from '@polkadot/types/lookup'; -import { when } from 'jest-when'; - -import { getAuthorization, Params, prepareModifyAsset } from '~/api/procedures/modifyAsset'; -import { Context, FungibleAsset } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { SecurityIdentifier, SecurityIdentifierType, TxTags } from '~/types'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/Asset/Fungible', - require('~/testUtils/mocks/entities').mockFungibleAssetModule('~/api/entities/Asset/Fungible') -); - -describe('modifyAsset procedure', () => { - let mockContext: Mocked; - let stringToTickerSpy: jest.SpyInstance; - let ticker: string; - let rawTicker: PolymeshPrimitivesTicker; - let fundingRound: string; - let identifiers: SecurityIdentifier[]; - - beforeAll(() => { - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - stringToTickerSpy = jest.spyOn(utilsConversionModule, 'stringToTicker'); - ticker = 'SOME_TICKER'; - rawTicker = dsMockUtils.createMockTicker(ticker); - fundingRound = 'Series A'; - identifiers = [ - { - type: SecurityIdentifierType.Isin, - value: 'someValue', - }, - ]; - }); - - beforeEach(() => { - mockContext = dsMockUtils.getContextInstance(); - when(stringToTickerSpy).calledWith(ticker, mockContext).mockReturnValue(rawTicker); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it('should throw an error if the user has not passed any arguments', () => { - const proc = procedureMockUtils.getInstance(mockContext); - - return expect(prepareModifyAsset.call(proc, {} as unknown as Params)).rejects.toThrow( - 'Nothing to modify' - ); - }); - - it('should throw an error if makeDivisible is set to true and the Asset is already divisible', () => { - entityMockUtils.configureMocks({ - fungibleAssetOptions: { - details: { isDivisible: true }, - }, - }); - - const proc = procedureMockUtils.getInstance(mockContext); - - return expect( - prepareModifyAsset.call(proc, { - ticker, - makeDivisible: true, - }) - ).rejects.toThrow('The Asset is already divisible'); - }); - - it('should throw an error if newName is the same name currently in the Asset', () => { - const proc = procedureMockUtils.getInstance(mockContext); - - return expect( - prepareModifyAsset.call(proc, { - ticker, - name: 'ASSET_NAME', - }) - ).rejects.toThrow('New name is the same as current name'); - }); - - it('should throw an error if newFundingRound is the same funding round name currently in the Asset', () => { - const proc = procedureMockUtils.getInstance(mockContext); - - return expect( - prepareModifyAsset.call(proc, { - ticker, - fundingRound, - }) - ).rejects.toThrow('New funding round name is the same as current funding round'); - }); - - it('should throw an error if newIdentifiers are the same identifiers currently in the Asset', () => { - entityMockUtils.configureMocks({ - fungibleAssetOptions: { - getIdentifiers: identifiers, - }, - }); - - const proc = procedureMockUtils.getInstance(mockContext); - - return expect( - prepareModifyAsset.call(proc, { - ticker, - identifiers, - }) - ).rejects.toThrow('New identifiers are the same as current identifiers'); - }); - - it('should add a make divisible transaction to the batch', async () => { - const proc = procedureMockUtils.getInstance(mockContext); - - const transaction = dsMockUtils.createTxMock('asset', 'makeDivisible'); - - const result = await prepareModifyAsset.call(proc, { - ticker, - makeDivisible: true, - }); - - expect(result).toEqual({ - transactions: [{ transaction, args: [rawTicker] }], - resolver: expect.objectContaining({ ticker }), - }); - }); - - it('should add a rename Asset transaction to the batch', async () => { - const newName = 'NEW_NAME'; - const rawAssetName = dsMockUtils.createMockBytes(newName); - when(jest.spyOn(utilsConversionModule, 'nameToAssetName')) - .calledWith(newName, mockContext) - .mockReturnValue(rawAssetName); - - const proc = procedureMockUtils.getInstance(mockContext); - - const transaction = dsMockUtils.createTxMock('asset', 'renameAsset'); - - const result = await prepareModifyAsset.call(proc, { - ticker, - name: newName, - }); - - expect(result).toEqual({ - transactions: [ - { - transaction, - args: [rawTicker, rawAssetName], - }, - ], - resolver: expect.objectContaining({ ticker }), - }); - }); - - it('should add a set funding round transaction to the batch', async () => { - const newFundingRound = 'Series B'; - const rawFundingRound = dsMockUtils.createMockBytes(newFundingRound); - when(jest.spyOn(utilsConversionModule, 'fundingRoundToAssetFundingRound')) - .calledWith(newFundingRound, mockContext) - .mockReturnValue(rawFundingRound); - - const proc = procedureMockUtils.getInstance(mockContext); - - const transaction = dsMockUtils.createTxMock('asset', 'setFundingRound'); - - const result = await prepareModifyAsset.call(proc, { - ticker, - fundingRound: newFundingRound, - }); - - expect(result).toEqual({ - transactions: [ - { - transaction, - args: [rawTicker, rawFundingRound], - }, - ], - resolver: expect.objectContaining({ ticker }), - }); - }); - - it('should add a update identifiers transaction to the batch', async () => { - const rawIdentifier = dsMockUtils.createMockAssetIdentifier({ - Isin: dsMockUtils.createMockU8aFixed(identifiers[0].value), - }); - jest - .spyOn(utilsConversionModule, 'securityIdentifierToAssetIdentifier') - .mockReturnValue(rawIdentifier); - - const proc = procedureMockUtils.getInstance(mockContext); - - const transaction = dsMockUtils.createTxMock('asset', 'updateIdentifiers'); - - const result = await prepareModifyAsset.call(proc, { - ticker, - identifiers, - }); - - expect(result).toEqual({ - transactions: [ - { - transaction, - args: [rawTicker, [rawIdentifier]], - }, - ], - resolver: expect.objectContaining({ ticker }), - }); - }); - - describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', () => { - const proc = procedureMockUtils.getInstance(mockContext); - const boundFunc = getAuthorization.bind(proc); - const name = 'NEW NAME'; - const args = { - ticker, - } as Params; - - expect(boundFunc(args)).toEqual({ - permissions: { - transactions: [], - portfolios: [], - assets: [expect.objectContaining({ ticker })], - }, - }); - - expect(boundFunc({ ...args, makeDivisible: true, name, fundingRound, identifiers })).toEqual({ - permissions: { - transactions: [ - TxTags.asset.MakeDivisible, - TxTags.asset.RenameAsset, - TxTags.asset.SetFundingRound, - TxTags.asset.UpdateIdentifiers, - ], - portfolios: [], - assets: [expect.objectContaining({ ticker })], - }, - }); - }); - }); -}); diff --git a/src/api/procedures/__tests__/modifyAssetTrustedClaimIssuers.ts b/src/api/procedures/__tests__/modifyAssetTrustedClaimIssuers.ts deleted file mode 100644 index a1759f2b5f..0000000000 --- a/src/api/procedures/__tests__/modifyAssetTrustedClaimIssuers.ts +++ /dev/null @@ -1,375 +0,0 @@ -import { Vec } from '@polkadot/types'; -import { - PolymeshPrimitivesConditionTrustedIssuer, - PolymeshPrimitivesIdentityId, - PolymeshPrimitivesTicker, -} from '@polkadot/types/lookup'; -import { when } from 'jest-when'; - -import { - getAuthorization, - Params, - prepareModifyAssetTrustedClaimIssuers, -} from '~/api/procedures/modifyAssetTrustedClaimIssuers'; -import { Context } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { InputTrustedClaimIssuer, TrustedClaimIssuer, TxTags } from '~/types'; -import { PolymeshTx, TrustedClaimIssuerOperation } from '~/types/internal'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/Identity', - require('~/testUtils/mocks/entities').mockIdentityModule('~/api/entities/Identity') -); -jest.mock( - '~/api/entities/Asset/Fungible', - require('~/testUtils/mocks/entities').mockFungibleAssetModule('~/api/entities/Asset/Fungible') -); - -describe('modifyAssetTrustedClaimIssuers procedure', () => { - let mockContext: Mocked; - let stringToTickerSpy: jest.SpyInstance; - let trustedClaimIssuerToTrustedIssuerSpy: jest.SpyInstance< - PolymeshPrimitivesConditionTrustedIssuer, - [InputTrustedClaimIssuer, Context] - >; - let stringToIdentityIdSpy: jest.SpyInstance; - let identityIdToStringSpy: jest.SpyInstance; - let trustedClaimIssuerMock: jest.Mock; - let ticker: string; - let claimIssuerDids: string[]; - let claimIssuers: TrustedClaimIssuer[]; - let rawTicker: PolymeshPrimitivesTicker; - let rawClaimIssuers: PolymeshPrimitivesConditionTrustedIssuer[]; - let args: Omit; - - beforeAll(() => { - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - stringToTickerSpy = jest.spyOn(utilsConversionModule, 'stringToTicker'); - trustedClaimIssuerToTrustedIssuerSpy = jest.spyOn( - utilsConversionModule, - 'trustedClaimIssuerToTrustedIssuer' - ); - stringToIdentityIdSpy = jest.spyOn(utilsConversionModule, 'stringToIdentityId'); - identityIdToStringSpy = jest.spyOn(utilsConversionModule, 'identityIdToString'); - ticker = 'SOME_TICKER'; - claimIssuerDids = ['aDid', 'otherDid', 'differentDid']; - claimIssuers = claimIssuerDids.map(did => ({ - identity: entityMockUtils.getIdentityInstance({ did }), - trustedFor: null, - })); - rawTicker = dsMockUtils.createMockTicker(ticker); - rawClaimIssuers = claimIssuerDids.map(did => - dsMockUtils.createMockTrustedIssuer({ - issuer: dsMockUtils.createMockIdentityId(did), - trustedFor: dsMockUtils.createMockTrustedFor('Any'), - }) - ); - args = { - ticker, - }; - }); - - let removeDefaultTrustedClaimIssuerTransaction: PolymeshTx< - [Vec, PolymeshPrimitivesTicker] - >; - let addDefaultTrustedClaimIssuerTransaction: PolymeshTx< - [Vec, PolymeshPrimitivesTicker] - >; - - beforeEach(() => { - trustedClaimIssuerMock = dsMockUtils.createQueryMock( - 'complianceManager', - 'trustedClaimIssuer', - { - returnValue: [], - } - ); - - removeDefaultTrustedClaimIssuerTransaction = dsMockUtils.createTxMock( - 'complianceManager', - 'removeDefaultTrustedClaimIssuer' - ); - addDefaultTrustedClaimIssuerTransaction = dsMockUtils.createTxMock( - 'complianceManager', - 'addDefaultTrustedClaimIssuer' - ); - - mockContext = dsMockUtils.getContextInstance(); - - when(stringToTickerSpy).calledWith(ticker, mockContext).mockReturnValue(rawTicker); - claimIssuerDids.forEach((did, index) => { - when(trustedClaimIssuerToTrustedIssuerSpy) - .calledWith( - expect.objectContaining({ identity: expect.objectContaining({ did }) }), - mockContext - ) - .mockReturnValue(rawClaimIssuers[index]); - }); - claimIssuers.forEach((issuer, index) => { - when(identityIdToStringSpy) - .calledWith(rawClaimIssuers[index].issuer) - .mockReturnValue(issuer.identity.did); - when(stringToIdentityIdSpy) - .calledWith(utilsConversionModule.signerToString(issuer.identity), mockContext) - .mockReturnValue(rawClaimIssuers[index].issuer); - }); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it('should throw an error if the new list is the same as the current one (set)', () => { - const alternativeClaimIssuers: PolymeshPrimitivesConditionTrustedIssuer[] = rawClaimIssuers.map( - ({ issuer }) => - dsMockUtils.createMockTrustedIssuer({ - issuer, - trustedFor: dsMockUtils.createMockTrustedFor({ Specific: [] }), - }) - ); - when(trustedClaimIssuerMock).calledWith(rawTicker).mockReturnValue(alternativeClaimIssuers); - claimIssuerDids.forEach((did, index) => { - when(trustedClaimIssuerToTrustedIssuerSpy) - .calledWith( - expect.objectContaining({ identity: expect.objectContaining({ did }) }), - mockContext - ) - .mockReturnValue(alternativeClaimIssuers[index]); - }); - const proc = procedureMockUtils.getInstance(mockContext); - - return expect( - prepareModifyAssetTrustedClaimIssuers.call(proc, { - ...args, - claimIssuers: claimIssuers.map(({ identity }) => ({ identity, trustedFor: [] })), - operation: TrustedClaimIssuerOperation.Set, - }) - ).rejects.toThrow('The supplied claim issuer list is equal to the current one'); - }); - - it("should throw an error if some of the supplied dids don't exist", async () => { - const nonExistentDid = claimIssuerDids[1]; - dsMockUtils.configureMocks({ contextOptions: { invalidDids: [nonExistentDid] } }); - const proc = procedureMockUtils.getInstance(mockContext); - - let error; - - try { - await prepareModifyAssetTrustedClaimIssuers.call(proc, { - ...args, - claimIssuers, - operation: TrustedClaimIssuerOperation.Set, - }); - } catch (err) { - error = err; - } - - expect(error.message).toBe('Some of the supplied Identities do not exist'); - expect(error.data).toMatchObject({ nonExistentDids: [nonExistentDid] }); - }); - - it('should add a transaction to remove the current claim issuers and another one to add the ones in the input (set)', async () => { - const currentClaimIssuers = rawClaimIssuers.slice(0, -1); - when(trustedClaimIssuerMock).calledWith(rawTicker).mockReturnValue(currentClaimIssuers); - const proc = procedureMockUtils.getInstance(mockContext); - - const result = await prepareModifyAssetTrustedClaimIssuers.call(proc, { - ...args, - claimIssuers, - operation: TrustedClaimIssuerOperation.Set, - }); - - expect(result).toEqual({ - transactions: [ - ...currentClaimIssuers.map(({ issuer }) => ({ - transaction: removeDefaultTrustedClaimIssuerTransaction, - args: [rawTicker, issuer], - })), - ...rawClaimIssuers.map(issuer => ({ - transaction: addDefaultTrustedClaimIssuerTransaction, - args: [rawTicker, issuer], - })), - ], - resolver: undefined, - }); - }); - - it('should not add a remove claim issuers transaction if there are no default claim issuers set on the Asset (set)', async () => { - const proc = procedureMockUtils.getInstance(mockContext); - - const result = await prepareModifyAssetTrustedClaimIssuers.call(proc, { - ...args, - claimIssuers: claimIssuers.map(({ identity, trustedFor }) => ({ - identity: utilsConversionModule.signerToString(identity), - trustedFor, - })), - operation: TrustedClaimIssuerOperation.Set, - }); - - expect(result).toEqual({ - transactions: rawClaimIssuers.map(issuer => ({ - transaction: addDefaultTrustedClaimIssuerTransaction, - args: [rawTicker, issuer], - })), - resolver: undefined, - }); - }); - - it('should not add an add claim issuers transaction if there are no claim issuers passed as arguments (set)', async () => { - const currentClaimIssuers = rawClaimIssuers.slice(0, -1); - when(trustedClaimIssuerMock).calledWith(rawTicker).mockReturnValue(currentClaimIssuers); - const proc = procedureMockUtils.getInstance(mockContext); - - const result = await prepareModifyAssetTrustedClaimIssuers.call(proc, { - ...args, - claimIssuers: [], - operation: TrustedClaimIssuerOperation.Set, - }); - - expect(result).toEqual({ - transactions: currentClaimIssuers.map(({ issuer }) => ({ - transaction: removeDefaultTrustedClaimIssuerTransaction, - args: [rawTicker, issuer], - })), - resolver: undefined, - }); - }); - - it('should throw an error if trying to remove an Identity that is not a trusted claim issuer', async () => { - const currentClaimIssuers: PolymeshPrimitivesIdentityId[] = []; - when(trustedClaimIssuerMock).calledWith(rawTicker).mockReturnValue(currentClaimIssuers); - const proc = procedureMockUtils.getInstance(mockContext); - - let error; - - try { - await prepareModifyAssetTrustedClaimIssuers.call(proc, { - ...args, - claimIssuers: claimIssuerDids, - operation: TrustedClaimIssuerOperation.Remove, - }); - } catch (err) { - error = err; - } - - expect(error.message).toBe( - 'One or more of the supplied Identities are not Trusted Claim Issuers' - ); - expect(error.data).toMatchObject({ notPresent: claimIssuerDids }); - }); - - it('should add a transaction to remove the supplied Trusted Claim Issuers (remove)', async () => { - const currentClaimIssuers = rawClaimIssuers; - when(trustedClaimIssuerMock).calledWith(rawTicker).mockReturnValue(currentClaimIssuers); - const proc = procedureMockUtils.getInstance(mockContext); - - const result = await prepareModifyAssetTrustedClaimIssuers.call(proc, { - ...args, - claimIssuers: claimIssuerDids, - operation: TrustedClaimIssuerOperation.Remove, - }); - - expect(result).toEqual({ - transactions: currentClaimIssuers.map(({ issuer }) => ({ - transaction: removeDefaultTrustedClaimIssuerTransaction, - args: [rawTicker, issuer], - })), - resolver: undefined, - }); - }); - - it('should throw an error if trying to add an Identity that is already a Trusted Claim Issuer', async () => { - const currentClaimIssuers = rawClaimIssuers; - when(trustedClaimIssuerMock).calledWith(rawTicker).mockReturnValue(currentClaimIssuers); - const proc = procedureMockUtils.getInstance(mockContext); - - let error; - - try { - await prepareModifyAssetTrustedClaimIssuers.call(proc, { - ...args, - claimIssuers, - operation: TrustedClaimIssuerOperation.Add, - }); - } catch (err) { - error = err; - } - - expect(error.message).toBe( - 'One or more of the supplied Identities already are Trusted Claim Issuers' - ); - expect(error.data).toMatchObject({ present: claimIssuerDids }); - }); - - it('should add a transaction to add the supplied Trusted Claim Issuers (add)', async () => { - const currentClaimIssuers: PolymeshPrimitivesIdentityId[] = []; - when(trustedClaimIssuerMock).calledWith(rawTicker).mockReturnValue(currentClaimIssuers); - const proc = procedureMockUtils.getInstance(mockContext); - - const result = await prepareModifyAssetTrustedClaimIssuers.call(proc, { - ...args, - claimIssuers, - operation: TrustedClaimIssuerOperation.Add, - }); - - expect(result).toEqual({ - transactions: rawClaimIssuers.map(issuer => ({ - transaction: addDefaultTrustedClaimIssuerTransaction, - args: [rawTicker, issuer], - })), - resolver: undefined, - }); - }); - - describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', () => { - const proc = procedureMockUtils.getInstance(mockContext); - const boundFunc = getAuthorization.bind(proc); - const asset = expect.objectContaining({ ticker }); - - expect( - boundFunc({ ticker, operation: TrustedClaimIssuerOperation.Add, claimIssuers: [] }) - ).toEqual({ - permissions: { - transactions: [TxTags.complianceManager.AddDefaultTrustedClaimIssuer], - assets: [asset], - portfolios: [], - }, - }); - - expect( - boundFunc({ ticker, operation: TrustedClaimIssuerOperation.Remove, claimIssuers: [] }) - ).toEqual({ - permissions: { - transactions: [TxTags.complianceManager.RemoveDefaultTrustedClaimIssuer], - assets: [asset], - portfolios: [], - }, - }); - - expect( - boundFunc({ ticker, operation: TrustedClaimIssuerOperation.Set, claimIssuers: [] }) - ).toEqual({ - permissions: { - transactions: [ - TxTags.complianceManager.RemoveDefaultTrustedClaimIssuer, - TxTags.complianceManager.AddDefaultTrustedClaimIssuer, - ], - assets: [asset], - portfolios: [], - }, - }); - }); - }); -}); diff --git a/src/api/procedures/__tests__/modifyCaCheckpoint.ts b/src/api/procedures/__tests__/modifyCaCheckpoint.ts deleted file mode 100644 index 0f0eb0fed6..0000000000 --- a/src/api/procedures/__tests__/modifyCaCheckpoint.ts +++ /dev/null @@ -1,263 +0,0 @@ -import BigNumber from 'bignumber.js'; - -import { - getAuthorization, - Params, - prepareModifyCaCheckpoint, -} from '~/api/procedures/modifyCaCheckpoint'; -import { Context, PolymeshError } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { ErrorCode, TxTags } from '~/types'; -import { PolymeshTx } from '~/types/internal'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/Asset/Fungible', - require('~/testUtils/mocks/entities').mockFungibleAssetModule('~/api/entities/Asset/Fungible') -); - -describe('modifyCaCheckpoint procedure', () => { - const ticker = 'SOME_TICKER'; - - let mockContext: Mocked; - let changeRecordDateTransaction: PolymeshTx; - - beforeAll(() => { - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - }); - - beforeEach(() => { - changeRecordDateTransaction = dsMockUtils.createTxMock('corporateAction', 'changeRecordDate'); - mockContext = dsMockUtils.getContextInstance(); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it('should throw an error if the distribution has already started', async () => { - const args = { - corporateAction: entityMockUtils.getDividendDistributionInstance({ - paymentDate: new Date('10/14/1987'), - }), - checkpoint: new Date(new Date().getTime() + 60 * 60 * 1000), - }; - - const proc = procedureMockUtils.getInstance(mockContext); - - let err; - - try { - await prepareModifyCaCheckpoint.call(proc, args); - } catch (error) { - err = error; - } - - expect(err.message).toBe('Cannot modify a Distribution checkpoint after the payment date'); - }); - - it('should throw an error if the payment date is earlier than the Checkpoint date', async () => { - const checkpoint = new Date(new Date().getTime() + 1000); - const args = { - corporateAction: entityMockUtils.getDividendDistributionInstance({ - paymentDate: new Date(checkpoint.getTime() - 100), - }), - checkpoint, - }; - - const proc = procedureMockUtils.getInstance(mockContext); - - let err; - - try { - await prepareModifyCaCheckpoint.call(proc, args); - } catch (error) { - err = error; - } - - expect(err.message).toBe('Payment date must be after the Checkpoint date'); - }); - - it('should throw an error if the checkpoint date is after the expiry date', () => { - const checkpoint = new Date(new Date().getTime() + 1000); - const paymentDate = new Date(checkpoint.getTime() + 2000); - const args = { - corporateAction: entityMockUtils.getDividendDistributionInstance({ - paymentDate, - expiryDate: new Date(checkpoint.getTime() - 1000), - }), - checkpoint: entityMockUtils.getCheckpointScheduleInstance({ - details: { - nextCheckpointDate: checkpoint, - }, - }), - }; - - const proc = procedureMockUtils.getInstance(mockContext); - - return expect(prepareModifyCaCheckpoint.call(proc, args)).rejects.toThrow( - 'Expiry date must be after the Checkpoint date' - ); - }); - - it('should throw an error if the checkpoint does not exist', async () => { - const args = { - corporateAction: entityMockUtils.getCorporateActionInstance(), - checkpoint: entityMockUtils.getCheckpointInstance({ - exists: false, - }), - }; - - const proc = procedureMockUtils.getInstance(mockContext); - - let err; - - try { - await prepareModifyCaCheckpoint.call(proc, args); - } catch (error) { - err = error; - } - - expect(err.message).toBe("Checkpoint doesn't exist"); - }); - - it('should throw an error if checkpoint schedule no longer exists', () => { - const args = { - corporateAction: entityMockUtils.getCorporateActionInstance(), - checkpoint: entityMockUtils.getCheckpointScheduleInstance({ - exists: false, - }), - }; - - const proc = procedureMockUtils.getInstance(mockContext); - - const expectedError = new PolymeshError({ - message: "Checkpoint Schedule doesn't exist", - code: ErrorCode.DataUnavailable, - }); - - return expect(prepareModifyCaCheckpoint.call(proc, args)).rejects.toThrow(expectedError); - }); - - it('should throw an error if date is in the past', async () => { - const args = { - corporateAction: entityMockUtils.getCorporateActionInstance(), - checkpoint: new Date(new Date().getTime() - 100000), - }; - - const proc = procedureMockUtils.getInstance(mockContext); - - let err; - - try { - await prepareModifyCaCheckpoint.call(proc, args); - } catch (error) { - err = error; - } - - expect(err.message).toBe('Checkpoint date must be in the future'); - }); - - it('should return a change record date transaction spec', async () => { - const proc = procedureMockUtils.getInstance(mockContext); - const id = new BigNumber(1); - - const rawCaId = dsMockUtils.createMockCAId({ ticker, localId: id }); - - jest.spyOn(utilsConversionModule, 'corporateActionIdentifierToCaId').mockReturnValue(rawCaId); - - const rawRecordDateSpec = dsMockUtils.createMockRecordDateSpec({ - Scheduled: dsMockUtils.createMockMoment(new BigNumber(new Date().getTime())), - }); - - jest - .spyOn(utilsConversionModule, 'checkpointToRecordDateSpec') - .mockReturnValue(rawRecordDateSpec); - - let result = await prepareModifyCaCheckpoint.call(proc, { - corporateAction: entityMockUtils.getCorporateActionInstance({ - id, - }), - checkpoint: entityMockUtils.getCheckpointInstance({ - exists: true, - }), - }); - - expect(result).toEqual({ - transaction: changeRecordDateTransaction, - args: [rawCaId, rawRecordDateSpec], - resolver: undefined, - }); - - result = await prepareModifyCaCheckpoint.call(proc, { - corporateAction: entityMockUtils.getCorporateActionInstance({ - id, - }), - checkpoint: entityMockUtils.getCheckpointScheduleInstance({ - exists: true, - }), - }); - - expect(result).toEqual({ - transaction: changeRecordDateTransaction, - args: [rawCaId, rawRecordDateSpec], - resolver: undefined, - }); - - result = await prepareModifyCaCheckpoint.call(proc, { - corporateAction: entityMockUtils.getCorporateActionInstance({ - id, - }), - checkpoint: new Date(new Date().getTime() + 100000), - }); - - expect(result).toEqual({ - transaction: changeRecordDateTransaction, - args: [rawCaId, rawRecordDateSpec], - resolver: undefined, - }); - - result = await prepareModifyCaCheckpoint.call(proc, { - corporateAction: entityMockUtils.getCorporateActionInstance({ - id, - }), - checkpoint: null, - }); - - expect(result).toEqual({ - transaction: changeRecordDateTransaction, - args: [rawCaId, null], - resolver: undefined, - }); - }); - - describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', () => { - const proc = procedureMockUtils.getInstance(mockContext); - const boundFunc = getAuthorization.bind(proc); - const args = { - corporateAction: { - asset: { ticker }, - }, - } as Params; - - expect(boundFunc(args)).toEqual({ - permissions: { - assets: [expect.objectContaining({ ticker })], - transactions: [TxTags.corporateAction.ChangeRecordDate], - portfolios: [], - }, - }); - }); - }); -}); diff --git a/src/api/procedures/__tests__/modifyCaDefaultConfig.ts b/src/api/procedures/__tests__/modifyCaDefaultConfig.ts deleted file mode 100644 index c2a66f3584..0000000000 --- a/src/api/procedures/__tests__/modifyCaDefaultConfig.ts +++ /dev/null @@ -1,326 +0,0 @@ -import { PolymeshPrimitivesTicker } from '@polkadot/types/lookup'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { - getAuthorization, - Params, - prepareModifyCaDefaultConfig, -} from '~/api/procedures/modifyCaDefaultConfig'; -import * as utilsProcedureModule from '~/api/procedures/utils'; -import { Context } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { InputTargets, TargetTreatment, TxTags } from '~/types'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/Asset/Fungible', - require('~/testUtils/mocks/entities').mockFungibleAssetModule('~/api/entities/Asset/Fungible') -); - -describe('modifyCaDefaultConfig procedure', () => { - let mockContext: Mocked; - let stringToTickerSpy: jest.SpyInstance; - let targetsToTargetIdentitiesSpy: jest.SpyInstance; - let percentageToPermillSpy: jest.SpyInstance; - let stringToIdentityIdSpy: jest.SpyInstance; - - let assertCaTaxWithholdingsValidSpy: jest.SpyInstance; - - let ticker: string; - let rawTicker: PolymeshPrimitivesTicker; - - beforeAll(() => { - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - stringToTickerSpy = jest.spyOn(utilsConversionModule, 'stringToTicker'); - targetsToTargetIdentitiesSpy = jest.spyOn(utilsConversionModule, 'targetsToTargetIdentities'); - percentageToPermillSpy = jest.spyOn(utilsConversionModule, 'percentageToPermill'); - stringToIdentityIdSpy = jest.spyOn(utilsConversionModule, 'stringToIdentityId'); - ticker = 'SOME_TICKER'; - rawTicker = dsMockUtils.createMockTicker(ticker); - assertCaTaxWithholdingsValidSpy = jest.spyOn( - utilsProcedureModule, - 'assertCaTaxWithholdingsValid' - ); - assertCaTaxWithholdingsValidSpy.mockImplementation(); - }); - - beforeEach(() => { - mockContext = dsMockUtils.getContextInstance(); - when(stringToTickerSpy).calledWith(ticker, mockContext).mockReturnValue(rawTicker); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it('should throw an error if the user has not passed any arguments', () => { - const proc = procedureMockUtils.getInstance(mockContext); - - return expect(prepareModifyCaDefaultConfig.call(proc, {} as unknown as Params)).rejects.toThrow( - 'Nothing to modify' - ); - }); - - it('should throw an error if the new targets are the same as the current ones', () => { - const proc = procedureMockUtils.getInstance(mockContext); - - const targets = { - identities: [], - treatment: TargetTreatment.Exclude, - }; - entityMockUtils.configureMocks({ - fungibleAssetOptions: { corporateActionsGetDefaultConfig: { targets } }, - }); - - return expect( - prepareModifyCaDefaultConfig.call(proc, { - ticker, - targets, - }) - ).rejects.toThrow('New targets are the same as the current ones'); - }); - - it('should throw an error if the new default tax withholding is the same as the current one', () => { - const proc = procedureMockUtils.getInstance(mockContext); - - const defaultTaxWithholding = new BigNumber(10); - entityMockUtils.configureMocks({ - fungibleAssetOptions: { corporateActionsGetDefaultConfig: { defaultTaxWithholding } }, - }); - - return expect( - prepareModifyCaDefaultConfig.call(proc, { - ticker, - defaultTaxWithholding, - }) - ).rejects.toThrow('New default tax withholding is the same as the current one'); - }); - - it('should throw an error if the new tax withholdings are the same as the current ones', () => { - const proc = procedureMockUtils.getInstance(mockContext); - - const taxWithholdings = [ - { - identity: entityMockUtils.getIdentityInstance({ did: 'someDid' }), - percentage: new BigNumber(15), - }, - ]; - entityMockUtils.configureMocks({ - fungibleAssetOptions: { corporateActionsGetDefaultConfig: { taxWithholdings } }, - }); - - return expect( - prepareModifyCaDefaultConfig.call(proc, { - ticker, - taxWithholdings, - }) - ).rejects.toThrow('New per-Identity tax withholding percentages are the same as current ones'); - }); - - it('should throw an error if the new tax withholding entries exceed the maximum amount', () => { - const proc = procedureMockUtils.getInstance(mockContext); - - const taxWithholdings = [ - { - identity: entityMockUtils.getIdentityInstance({ did: 'someDid' }), - percentage: new BigNumber(15), - }, - ]; - entityMockUtils.configureMocks({ - fungibleAssetOptions: { corporateActionsGetDefaultConfig: { taxWithholdings } }, - }); - - when(assertCaTaxWithholdingsValidSpy) - .calledWith(taxWithholdings, mockContext) - .mockImplementation(() => { - throw new Error('err'); - }); - - return expect( - prepareModifyCaDefaultConfig.call(proc, { - ticker, - taxWithholdings, - }) - ).rejects.toThrow(); - }); - - it('should add a set default targets transaction to the batch', async () => { - const proc = procedureMockUtils.getInstance(mockContext); - - const transaction = dsMockUtils.createTxMock('corporateAction', 'setDefaultTargets'); - - let targets: InputTargets = { - identities: [], - treatment: TargetTreatment.Exclude, - }; - - entityMockUtils.configureMocks({ - fungibleAssetOptions: { - corporateActionsGetDefaultConfig: { - targets: { - identities: [entityMockUtils.getIdentityInstance({ did: 'someDid' })], - treatment: TargetTreatment.Include, - }, - }, - }, - }); - - let rawTargets = dsMockUtils.createMockTargetIdentities({ - identities: [], - treatment: 'Exclude', - }); - when(targetsToTargetIdentitiesSpy).calledWith(targets, mockContext).mockReturnValue(rawTargets); - - let result = await prepareModifyCaDefaultConfig.call(proc, { - ticker, - targets, - }); - - expect(result).toEqual({ - transactions: [{ transaction, args: [rawTicker, rawTargets] }], - resolver: undefined, - }); - - rawTargets = dsMockUtils.createMockTargetIdentities({ - identities: ['someDid', 'otherDid'], - treatment: 'Exclude', - }); - - targets = { - identities: ['someDid', 'otherDid'], - treatment: TargetTreatment.Exclude, - }; - when(targetsToTargetIdentitiesSpy).calledWith(targets, mockContext).mockReturnValue(rawTargets); - - result = await prepareModifyCaDefaultConfig.call(proc, { - ticker, - targets, - }); - - expect(result).toEqual({ - transactions: [{ transaction, args: [rawTicker, rawTargets] }], - resolver: undefined, - }); - }); - - it('should add a set default withholding tax transaction to the batch', async () => { - const proc = procedureMockUtils.getInstance(mockContext); - - const transaction = dsMockUtils.createTxMock('corporateAction', 'setDefaultWithholdingTax'); - - entityMockUtils.configureMocks({ - fungibleAssetOptions: { - corporateActionsGetDefaultConfig: { - defaultTaxWithholding: new BigNumber(10), - }, - }, - }); - - const rawPercentage = dsMockUtils.createMockPermill(new BigNumber(150000)); - when(percentageToPermillSpy) - .calledWith(new BigNumber(15), mockContext) - .mockReturnValue(rawPercentage); - - const result = await prepareModifyCaDefaultConfig.call(proc, { - ticker, - defaultTaxWithholding: new BigNumber(15), - }); - - expect(result).toEqual({ - transactions: [{ transaction, args: [rawTicker, rawPercentage] }], - resolver: undefined, - }); - }); - - it('should add a batch of set did withholding tax transactions to the batch', async () => { - const proc = procedureMockUtils.getInstance(mockContext); - - const transaction = dsMockUtils.createTxMock('corporateAction', 'setDidWithholdingTax'); - - entityMockUtils.configureMocks({ - fungibleAssetOptions: { - corporateActionsGetDefaultConfig: { - taxWithholdings: [], - }, - }, - }); - - const rawDid = dsMockUtils.createMockIdentityId('someDid'); - const rawPercentage = dsMockUtils.createMockPermill(new BigNumber(250000)); - - when(stringToIdentityIdSpy).calledWith('someDid', mockContext).mockReturnValue(rawDid); - when(percentageToPermillSpy) - .calledWith(new BigNumber(25), mockContext) - .mockReturnValue(rawPercentage); - - const taxWithholdings = [ - { - identity: 'someDid', - percentage: new BigNumber(25), - }, - ]; - const result = await prepareModifyCaDefaultConfig.call(proc, { - ticker, - taxWithholdings, - }); - - expect(assertCaTaxWithholdingsValidSpy).toHaveBeenCalledWith(taxWithholdings, mockContext); - expect(result).toEqual({ - transactions: [ - { - transaction, - args: [rawTicker, rawDid, rawPercentage], - }, - ], - resolver: undefined, - }); - }); - - describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', () => { - const proc = procedureMockUtils.getInstance(mockContext); - const boundFunc = getAuthorization.bind(proc); - const args = { - ticker, - } as Params; - - expect(boundFunc(args)).toEqual({ - permissions: { - transactions: [], - portfolios: [], - assets: [expect.objectContaining({ ticker })], - }, - }); - - expect( - boundFunc({ - ...args, - targets: { identities: [], treatment: TargetTreatment.Include }, - defaultTaxWithholding: new BigNumber(10), - taxWithholdings: [], - }) - ).toEqual({ - permissions: { - transactions: [ - TxTags.corporateAction.SetDefaultTargets, - TxTags.corporateAction.SetDefaultWithholdingTax, - TxTags.corporateAction.SetDidWithholdingTax, - ], - portfolios: [], - assets: [expect.objectContaining({ ticker })], - }, - }); - }); - }); -}); diff --git a/src/api/procedures/__tests__/modifyClaims.ts b/src/api/procedures/__tests__/modifyClaims.ts deleted file mode 100644 index 9b953dce75..0000000000 --- a/src/api/procedures/__tests__/modifyClaims.ts +++ /dev/null @@ -1,595 +0,0 @@ -import { Option } from '@polkadot/types'; -import { Balance, Moment } from '@polkadot/types/interfaces'; -import { - PolymeshPrimitivesIdentityClaimClaim, - PolymeshPrimitivesIdentityId, -} from '@polkadot/types/lookup'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { getAuthorization, prepareModifyClaims } from '~/api/procedures/modifyClaims'; -import { Context, Identity } from '~/internal'; -import { claimsQuery } from '~/middleware/queries'; -import { Claim as MiddlewareClaim, ClaimTypeEnum } from '~/middleware/types'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { - Claim, - ClaimOperation, - ClaimType, - ModifyClaimsParams, - RoleType, - ScopeType, - TxTags, -} from '~/types'; -import { PolymeshTx } from '~/types/internal'; -import { DEFAULT_CDD_ID } from '~/utils/constants'; -import * as utilsConversionModule from '~/utils/conversion'; - -describe('modifyClaims procedure', () => { - let mockContext: Mocked; - let claimToMeshClaimSpy: jest.SpyInstance; - let dateToMomentSpy: jest.SpyInstance; - let identityIdToStringSpy: jest.SpyInstance; - let stringToIdentityIdSpy: jest.SpyInstance; - let addClaimTransaction: PolymeshTx<[PolymeshPrimitivesIdentityId, Claim, Option]>; - let revokeClaimTransaction: PolymeshTx<[PolymeshPrimitivesIdentityId, Claim]>; - let balanceToBigNumberSpy: jest.SpyInstance; - - let someDid: string; - let otherDid: string; - let cddId: string; - let defaultCddClaim: Claim; - let cddClaim: Claim; - let buyLockupClaim: Claim; - let expiry: Date; - let args: ModifyClaimsParams; - let otherIssuerClaims: Partial[]; - - let rawCddClaim: PolymeshPrimitivesIdentityClaimClaim; - let rawBuyLockupClaim: PolymeshPrimitivesIdentityClaimClaim; - let rawDefaultCddClaim: PolymeshPrimitivesIdentityClaimClaim; - let rawSomeDid: PolymeshPrimitivesIdentityId; - let rawOtherDid: PolymeshPrimitivesIdentityId; - let rawExpiry: Moment; - - let issuer: Identity; - let otherIssuerDid: string; - - const includeExpired = true; - - beforeAll(() => { - entityMockUtils.initMocks(); - procedureMockUtils.initMocks(); - dsMockUtils.initMocks(); - - claimToMeshClaimSpy = jest.spyOn(utilsConversionModule, 'claimToMeshClaim'); - dateToMomentSpy = jest.spyOn(utilsConversionModule, 'dateToMoment'); - identityIdToStringSpy = jest.spyOn(utilsConversionModule, 'identityIdToString'); - stringToIdentityIdSpy = jest.spyOn(utilsConversionModule, 'stringToIdentityId'); - balanceToBigNumberSpy = jest.spyOn(utilsConversionModule, 'balanceToBigNumber'); - - jest.spyOn(utilsConversionModule, 'stringToTicker').mockImplementation(); - - someDid = 'someDid'; - otherDid = 'otherDid'; - cddId = 'cddId'; - cddClaim = { type: ClaimType.CustomerDueDiligence, id: cddId }; - defaultCddClaim = { type: ClaimType.CustomerDueDiligence, id: DEFAULT_CDD_ID }; - buyLockupClaim = { - type: ClaimType.BuyLockup, - scope: { type: ScopeType.Identity, value: 'someIdentityId' }, - }; - expiry = new Date(); - args = { - claims: [ - { - target: someDid, - claim: cddClaim, - }, - { - target: otherDid, - claim: cddClaim, - }, - { - target: someDid, - claim: buyLockupClaim, - expiry, - }, - ], - operation: ClaimOperation.Add, - }; - - rawCddClaim = dsMockUtils.createMockClaim({ - CustomerDueDiligence: dsMockUtils.createMockCddId(), - }); - - rawDefaultCddClaim = dsMockUtils.createMockClaim({ - CustomerDueDiligence: dsMockUtils.createMockCddId(DEFAULT_CDD_ID), - }); - - rawBuyLockupClaim = dsMockUtils.createMockClaim({ - BuyLockup: dsMockUtils.createMockScope(), - }); - rawSomeDid = dsMockUtils.createMockIdentityId(someDid); - rawOtherDid = dsMockUtils.createMockIdentityId(otherDid); - rawExpiry = dsMockUtils.createMockMoment(new BigNumber(expiry.getTime())); - - otherIssuerDid = 'otherSignerDid'; - - otherIssuerClaims = [ - { - targetId: otherDid, - issuerId: otherIssuerDid, - type: cddClaim.type as unknown as ClaimTypeEnum, - cddId, - }, - ]; - }); - - beforeEach(async () => { - mockContext = dsMockUtils.getContextInstance(); - addClaimTransaction = dsMockUtils.createTxMock('identity', 'addClaim'); - revokeClaimTransaction = dsMockUtils.createTxMock('identity', 'revokeClaim'); - when(claimToMeshClaimSpy).calledWith(cddClaim, mockContext).mockReturnValue(rawCddClaim); - when(claimToMeshClaimSpy) - .calledWith(buyLockupClaim, mockContext) - .mockReturnValue(rawBuyLockupClaim); - when(claimToMeshClaimSpy) - .calledWith(defaultCddClaim, mockContext) - .mockReturnValue(rawDefaultCddClaim); - when(stringToIdentityIdSpy).calledWith(someDid, mockContext).mockReturnValue(rawSomeDid); - when(stringToIdentityIdSpy).calledWith(otherDid, mockContext).mockReturnValue(rawOtherDid); - when(dateToMomentSpy).calledWith(expiry, mockContext).mockReturnValue(rawExpiry); - when(identityIdToStringSpy).calledWith(rawOtherDid).mockReturnValue(otherDid); - - issuer = await mockContext.getSigningIdentity(); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it("should throw an error if some of the supplied target dids don't exist", async () => { - dsMockUtils.configureMocks({ contextOptions: { invalidDids: [otherDid] } }); - - const proc = procedureMockUtils.getInstance(mockContext); - - let error; - - try { - await prepareModifyClaims.call(proc, args); - } catch (err) { - error = err; - } - - expect(error.message).toBe('Some of the supplied Identity IDs do not exist'); - expect(error.data).toMatchObject({ nonExistentDids: [otherDid] }); - }); - - it('should return a batch of add claim transactions spec', async () => { - dsMockUtils.configureMocks({ - contextOptions: { - issuedClaims: { - data: [ - { - target: new Identity({ did: someDid }, mockContext), - issuer, - issuedAt: new Date(), - lastUpdatedAt: new Date(), - expiry: null, - claim: defaultCddClaim, - }, - ], - next: new BigNumber(1), - count: new BigNumber(1), - }, - }, - }); - const proc = procedureMockUtils.getInstance(mockContext); - - let result = await prepareModifyClaims.call(proc, { - claims: [ - { - target: someDid, - claim: buyLockupClaim, - expiry, - }, - ], - operation: ClaimOperation.Add, - }); - - expect(result).toEqual({ - transactions: [ - { - transaction: addClaimTransaction, - args: [rawSomeDid, rawBuyLockupClaim, rawExpiry], - }, - ], - resolver: undefined, - }); - - result = await prepareModifyClaims.call(proc, args); - - const rawAddClaimItems = [ - [rawSomeDid, rawCddClaim, null], - [rawOtherDid, rawCddClaim, null], - [rawSomeDid, rawBuyLockupClaim, rawExpiry], - ] as const; - - expect(result).toEqual({ - transactions: rawAddClaimItems.map(item => ({ - transaction: addClaimTransaction, - args: item, - })), - resolver: undefined, - }); - - jest.clearAllMocks(); - - dsMockUtils.createApolloQueryMock( - claimsQuery({ - dids: [someDid, otherDid], - trustedClaimIssuers: [issuer.did], - includeExpired, - }), - { - claims: { - nodes: [ - { - targetId: otherDid, - issuer, - issuerId: issuer.did, - type: ClaimTypeEnum.NoData, - }, - { - targetId: otherDid, - issuer, - issuerId: issuer.did, - type: ClaimTypeEnum.NoType, - }, - { - targetId: otherDid, - issuer, - issuerId: issuer.did, - type: ClaimTypeEnum.InvestorUniqueness, - }, - { - targetId: otherDid, - issuer, - issuerId: issuer.did, - type: ClaimTypeEnum.InvestorUniquenessV2, - }, - ], - }, - } - ); - - result = await prepareModifyClaims.call(proc, { ...args, operation: ClaimOperation.Edit }); - - expect(result).toEqual({ - transactions: rawAddClaimItems.map(item => ({ - transaction: addClaimTransaction, - args: item, - })), - resolver: undefined, - }); - - dsMockUtils.configureMocks({ - contextOptions: { - issuedClaims: { - data: [ - { - target: new Identity({ did: someDid }, mockContext), - issuer: 'issuerIdentity' as unknown as Identity, - issuedAt: new Date(), - lastUpdatedAt: new Date(), - expiry: null, - claim: cddClaim, - }, - ], - next: new BigNumber(1), - count: new BigNumber(1), - }, - }, - }); - - result = await prepareModifyClaims.call(proc, { - claims: [ - { - target: someDid, - claim: defaultCddClaim, - expiry, - }, - ], - operation: ClaimOperation.Add, - }); - - expect(result).toEqual({ - transactions: [ - { - transaction: addClaimTransaction, - args: [rawSomeDid, rawDefaultCddClaim, rawExpiry], - }, - ], - resolver: undefined, - }); - }); - - it('should throw an error if any of the CDD IDs of the claims that will be added are neither equal to the CDD ID of current CDD claims nor equal to default CDD ID', async () => { - const otherId = 'otherId'; - dsMockUtils.configureMocks({ - contextOptions: { - issuedClaims: { - data: [ - { - target: new Identity({ did: someDid }, mockContext), - issuer: 'issuerIdentity' as unknown as Identity, - issuedAt: new Date(), - lastUpdatedAt: new Date(), - expiry: null, - claim: { type: ClaimType.CustomerDueDiligence, id: otherId }, - }, - ], - next: new BigNumber(1), - count: new BigNumber(1), - }, - }, - }); - const proc = procedureMockUtils.getInstance(mockContext); - const { did } = await mockContext.getSigningIdentity(); - - dsMockUtils.createApolloQueryMock( - claimsQuery({ - trustedClaimIssuers: [did], - dids: [someDid, otherDid], - includeExpired, - }), - { - claims: { - nodes: [ - { - targetId: otherDid, - issuer, - issuerId: issuer.did, - type: ClaimTypeEnum.NoData, - }, - { - targetId: otherDid, - issuer, - issuerId: issuer.did, - type: ClaimTypeEnum.NoType, - }, - { - targetId: otherDid, - issuer, - issuerId: issuer.did, - type: ClaimTypeEnum.InvestorUniqueness, - }, - { - targetId: otherDid, - issuer, - issuerId: issuer.did, - type: ClaimTypeEnum.InvestorUniquenessV2, - }, - ...otherIssuerClaims, - ], - }, - } - ); - - let error; - - try { - await prepareModifyClaims.call(proc, { - claims: [ - { - target: someDid, - claim: cddClaim, - }, - { - target: otherDid, - claim: cddClaim, - }, - { - target: new Identity({ did: someDid }, mockContext), - claim: cddClaim, - }, - ], - operation: ClaimOperation.Add, - }); - } catch (err) { - error = err; - } - - expect(error.message).toBe('A target Identity cannot have CDD claims with different IDs'); - - const { - target: { did: targetDid }, - currentCddId, - newCddId, - } = error.data.invalidCddClaims[0]; - expect(targetDid).toEqual(someDid); - expect(currentCddId).toEqual(otherId); - expect(newCddId).toEqual(cddId); - }); - - it("should throw an error if any of the claims that will be modified weren't issued by the signing Identity", async () => { - const proc = procedureMockUtils.getInstance(mockContext); - - dsMockUtils.createApolloQueryMock( - claimsQuery({ - trustedClaimIssuers: [issuer.did], - dids: [someDid, otherDid], - includeExpired, - }), - { - claims: { - nodes: [], - }, - } - ); - - dsMockUtils.createApolloQueryMock( - claimsQuery({ - dids: [someDid, otherDid], - trustedClaimIssuers: [issuer.did], - includeExpired, - }), - { - claims: { - nodes: [ - { - targetId: otherDid, - issuer, - issuerId: issuer.did, - type: ClaimTypeEnum.NoData, - }, - { - targetId: otherDid, - issuer, - issuerId: issuer.did, - type: ClaimTypeEnum.NoType, - }, - { - targetId: otherDid, - issuer, - issuerId: issuer.did, - type: ClaimTypeEnum.InvestorUniqueness, - }, - { - targetId: otherDid, - issuer, - issuerId: issuer.did, - type: ClaimTypeEnum.InvestorUniquenessV2, - }, - ...otherIssuerClaims, - ], - }, - } - ); - - await expect( - prepareModifyClaims.call(proc, { ...args, operation: ClaimOperation.Edit }) - ).rejects.toThrow("Attempt to edit claims that weren't issued by the signing Identity"); - - return expect( - prepareModifyClaims.call(proc, { ...args, operation: ClaimOperation.Revoke }) - ).rejects.toThrow("Attempt to revoke claims that weren't issued by the signing Identity"); - }); - - it('should return a batch of revoke claim transactions spec', async () => { - const proc = procedureMockUtils.getInstance(mockContext); - const { did } = await mockContext.getSigningIdentity(); - - dsMockUtils.createApolloQueryMock( - claimsQuery({ - trustedClaimIssuers: [did], - dids: [someDid, otherDid], - includeExpired, - }), - { - claims: { - nodes: [ - { - targetId: otherDid, - issuer, - issuerId: issuer.did, - type: ClaimTypeEnum.NoData, - }, - { - targetId: otherDid, - issuer, - issuerId: issuer.did, - type: ClaimTypeEnum.NoType, - }, - { - targetId: otherDid, - issuer, - issuerId: issuer.did, - type: ClaimTypeEnum.InvestorUniqueness, - }, - { - targetId: otherDid, - issuer, - issuerId: issuer.did, - type: ClaimTypeEnum.InvestorUniquenessV2, - }, - ], - }, - } - ); - - balanceToBigNumberSpy.mockReturnValue(new BigNumber(0)); - - const result = await prepareModifyClaims.call(proc, { - ...args, - operation: ClaimOperation.Revoke, - }); - - const rawRevokeClaimItems = [ - [rawSomeDid, rawCddClaim], - [rawOtherDid, rawCddClaim], - [rawSomeDid, rawBuyLockupClaim], - ]; - - expect(result).toEqual({ - transactions: rawRevokeClaimItems.map(item => ({ - transaction: revokeClaimTransaction, - args: item, - })), - resolver: undefined, - }); - }); -}); - -describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', () => { - let args = { - claims: [ - { - target: 'someDid', - claim: { type: ClaimType.CustomerDueDiligence }, - }, - ], - operation: ClaimOperation.Add, - } as ModifyClaimsParams; - - expect(getAuthorization(args)).toEqual({ - roles: [{ type: RoleType.CddProvider }], - permissions: { - assets: [], - portfolios: [], - transactions: [TxTags.identity.AddClaim], - }, - }); - - args = { - claims: [ - { - target: 'someDid', - claim: { - type: ClaimType.Accredited, - scope: { type: ScopeType.Identity, value: 'someIdentityId' }, - }, - }, - ], - operation: ClaimOperation.Revoke, - } as ModifyClaimsParams; - - expect(getAuthorization(args)).toEqual({ - permissions: { - assets: [], - portfolios: [], - transactions: [TxTags.identity.RevokeClaim], - }, - }); - }); -}); diff --git a/src/api/procedures/__tests__/modifyComplianceRequirement.ts b/src/api/procedures/__tests__/modifyComplianceRequirement.ts deleted file mode 100644 index 26e7954f90..0000000000 --- a/src/api/procedures/__tests__/modifyComplianceRequirement.ts +++ /dev/null @@ -1,179 +0,0 @@ -import { - PolymeshPrimitivesComplianceManagerComplianceRequirement, - PolymeshPrimitivesCondition, - PolymeshPrimitivesTicker, -} from '@polkadot/types/lookup'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { - getAuthorization, - Params, - prepareModifyComplianceRequirement, -} from '~/api/procedures/modifyComplianceRequirement'; -import { Context } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { Condition, ConditionTarget, ConditionType, InputRequirement, TxTags } from '~/types'; -import { PolymeshTx } from '~/types/internal'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/Asset/Fungible', - require('~/testUtils/mocks/entities').mockFungibleAssetModule('~/api/entities/Asset/Fungible') -); - -describe('modifyComplianceRequirement procedure', () => { - let mockContext: Mocked; - let stringToTickerSpy: jest.SpyInstance; - let requirementToComplianceRequirementSpy: jest.SpyInstance< - PolymeshPrimitivesComplianceManagerComplianceRequirement, - [InputRequirement, Context] - >; - let ticker: string; - let conditions: Condition[]; - let rawTicker: PolymeshPrimitivesTicker; - let args: Params; - - beforeAll(() => { - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - stringToTickerSpy = jest.spyOn(utilsConversionModule, 'stringToTicker'); - requirementToComplianceRequirementSpy = jest.spyOn( - utilsConversionModule, - 'requirementToComplianceRequirement' - ); - ticker = 'SOME_TICKER'; - conditions = [ - { - type: ConditionType.IsIdentity, - identity: entityMockUtils.getIdentityInstance(), - target: ConditionTarget.Both, - }, - { - type: ConditionType.IsExternalAgent, - target: ConditionTarget.Both, - }, - ]; - }); - - let modifyComplianceRequirementTransaction: PolymeshTx<[PolymeshPrimitivesTicker]>; - - beforeEach(() => { - dsMockUtils.setConstMock('complianceManager', 'maxConditionComplexity', { - returnValue: dsMockUtils.createMockU32(new BigNumber(50)), - }); - - modifyComplianceRequirementTransaction = dsMockUtils.createTxMock( - 'complianceManager', - 'changeComplianceRequirement' - ); - - mockContext = dsMockUtils.getContextInstance(); - - when(stringToTickerSpy).calledWith(ticker, mockContext).mockReturnValue(rawTicker); - - entityMockUtils.configureMocks({ - fungibleAssetOptions: { - complianceRequirementsGet: { - requirements: [ - { - conditions, - id: new BigNumber(1), - }, - ], - defaultTrustedClaimIssuers: [], - }, - }, - }); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it('should throw an error if the supplied requirement id does not belong to the Asset', () => { - const fakeConditions = ['condition'] as unknown as Condition[]; - args = { - ticker, - id: new BigNumber(2), - conditions: fakeConditions, - }; - const proc = procedureMockUtils.getInstance(mockContext); - - return expect(prepareModifyComplianceRequirement.call(proc, args)).rejects.toThrow( - 'The Compliance Requirement does not exist' - ); - }); - - it('should throw an error if the supplied requirement conditions have no change', () => { - args = { - ticker, - id: new BigNumber(1), - conditions, - }; - const proc = procedureMockUtils.getInstance(mockContext); - - return expect(prepareModifyComplianceRequirement.call(proc, args)).rejects.toThrow( - 'The supplied condition list is equal to the current one' - ); - }); - - it('should return a modify compliance requirement transaction spec', async () => { - const fakeConditions = [{ claim: '' }] as unknown as Condition[]; - const fakeSenderConditions = 'senderConditions' as unknown as PolymeshPrimitivesCondition[]; - const fakeReceiverConditions = 'receiverConditions' as unknown as PolymeshPrimitivesCondition[]; - - const rawComplianceRequirement = dsMockUtils.createMockComplianceRequirement({ - senderConditions: fakeSenderConditions, - receiverConditions: fakeReceiverConditions, - id: dsMockUtils.createMockU32(new BigNumber(1)), - }); - - when(requirementToComplianceRequirementSpy) - .calledWith({ conditions: fakeConditions, id: new BigNumber(1) }, mockContext) - .mockReturnValue(rawComplianceRequirement); - - args = { - ticker, - id: new BigNumber(1), - conditions: fakeConditions, - }; - - const proc = procedureMockUtils.getInstance(mockContext); - - const result = await prepareModifyComplianceRequirement.call(proc, args); - - expect(result).toEqual({ - transaction: modifyComplianceRequirementTransaction, - args: [rawTicker, rawComplianceRequirement], - resolver: undefined, - }); - }); - - describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', () => { - const proc = procedureMockUtils.getInstance(mockContext); - const boundFunc = getAuthorization.bind(proc); - const params = { - ticker, - } as Params; - - expect(boundFunc(params)).toEqual({ - permissions: { - transactions: [TxTags.complianceManager.ChangeComplianceRequirement], - assets: [expect.objectContaining({ ticker })], - portfolios: [], - }, - }); - }); - }); -}); diff --git a/src/api/procedures/__tests__/modifyCorporateActionsAgent.ts b/src/api/procedures/__tests__/modifyCorporateActionsAgent.ts deleted file mode 100644 index 3abe9d4bbc..0000000000 --- a/src/api/procedures/__tests__/modifyCorporateActionsAgent.ts +++ /dev/null @@ -1,219 +0,0 @@ -import { Moment } from '@polkadot/types/interfaces'; -import { - PolymeshPrimitivesAgentAgentGroup, - PolymeshPrimitivesAuthorizationAuthorizationData, - PolymeshPrimitivesSecondaryKeySignatory, - PolymeshPrimitivesTicker, -} from '@polkadot/types/lookup'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { - getAuthorization, - modifyCorporateActionsAgent, - Params, - prepareModifyCorporateActionsAgent, -} from '~/api/procedures/modifyCorporateActionsAgent'; -import { Procedure } from '~/base/Procedure'; -import { Account, Context, Identity } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { Authorization, SignerValue, TxTags } from '~/types'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/Asset/Fungible', - require('~/testUtils/mocks/entities').mockFungibleAssetModule('~/api/entities/Asset/Fungible') -); - -describe('modifyCorporateActionsAgent procedure', () => { - let mockContext: Mocked; - let authorizationToAuthorizationDataSpy: jest.SpyInstance< - PolymeshPrimitivesAuthorizationAuthorizationData, - [Authorization, Context] - >; - let dateToMomentSpy: jest.SpyInstance; - let signerToStringSpy: jest.SpyInstance; - let signerValueToSignatorySpy: jest.SpyInstance< - PolymeshPrimitivesSecondaryKeySignatory, - [SignerValue, Context] - >; - let ticker: string; - let rawTicker: PolymeshPrimitivesTicker; - let rawAgentGroup: PolymeshPrimitivesAgentAgentGroup; - let target: string; - let rawSignatory: PolymeshPrimitivesSecondaryKeySignatory; - let rawAuthorizationData: PolymeshPrimitivesAuthorizationAuthorizationData; - - beforeAll(() => { - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - authorizationToAuthorizationDataSpy = jest.spyOn( - utilsConversionModule, - 'authorizationToAuthorizationData' - ); - dateToMomentSpy = jest.spyOn(utilsConversionModule, 'dateToMoment'); - signerToStringSpy = jest.spyOn(utilsConversionModule, 'signerToString'); - signerValueToSignatorySpy = jest.spyOn(utilsConversionModule, 'signerValueToSignatory'); - ticker = 'SOME_TICKER'; - rawTicker = dsMockUtils.createMockTicker(ticker); - rawAgentGroup = dsMockUtils.createMockAgentGroup('Full'); - target = 'someDid'; - rawSignatory = dsMockUtils.createMockSignatory({ - Identity: dsMockUtils.createMockIdentityId(target), - }); - rawAuthorizationData = dsMockUtils.createMockAuthorizationData({ - BecomeAgent: [rawTicker, rawAgentGroup], - }); - }); - - beforeEach(() => { - entityMockUtils.configureMocks({ - fungibleAssetOptions: { - corporateActionsGetAgents: [], - }, - }); - mockContext = dsMockUtils.getContextInstance(); - authorizationToAuthorizationDataSpy.mockReturnValue(rawAuthorizationData); - signerToStringSpy.mockReturnValue(target); - signerValueToSignatorySpy.mockReturnValue(rawSignatory); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it("should throw an error if the supplied target doesn't exist", () => { - const args = { - target, - ticker, - }; - - dsMockUtils.configureMocks({ contextOptions: { invalidDids: [target] } }); - - const proc = procedureMockUtils.getInstance(mockContext); - - return expect(prepareModifyCorporateActionsAgent.call(proc, args)).rejects.toThrow( - 'The supplied Identity does not exist' - ); - }); - - it('should throw an error if the supplied Identity is currently the corporate actions agent', () => { - entityMockUtils.configureMocks({ - fungibleAssetOptions: { - corporateActionsGetAgents: [entityMockUtils.getIdentityInstance({ did: target })], - }, - }); - - const args = { - target, - ticker, - requestExpiry: new Date(), - }; - - const proc = procedureMockUtils.getInstance(mockContext); - - return expect(prepareModifyCorporateActionsAgent.call(proc, args)).rejects.toThrow( - 'The Corporate Actions Agent must be undefined to perform this procedure' - ); - }); - - it('should throw an error if the supplied expiry date is not a future date', () => { - entityMockUtils.configureMocks({ - fungibleAssetOptions: { - corporateActionsGetAgents: [], - }, - }); - - const args = { - target, - ticker, - requestExpiry: new Date(), - }; - - const proc = procedureMockUtils.getInstance(mockContext); - - return expect(prepareModifyCorporateActionsAgent.call(proc, args)).rejects.toThrow( - 'The request expiry must be a future date' - ); - }); - - it('should return an add authorization transaction spec', async () => { - const args = { - target, - ticker, - }; - const requestExpiry = new Date('12/12/2050'); - const rawExpiry = dsMockUtils.createMockMoment(new BigNumber(requestExpiry.getTime())); - - when(dateToMomentSpy).calledWith(requestExpiry, mockContext).mockReturnValue(rawExpiry); - - const transaction = dsMockUtils.createTxMock('identity', 'addAuthorization'); - const proc = procedureMockUtils.getInstance(mockContext); - - let result = await prepareModifyCorporateActionsAgent.call(proc, args); - - expect(result).toEqual({ - transaction, - args: [rawSignatory, rawAuthorizationData, null], - resolver: undefined, - }); - - result = await prepareModifyCorporateActionsAgent.call(proc, { - ...args, - requestExpiry, - }); - - expect(result).toEqual({ - transaction, - args: [rawSignatory, rawAuthorizationData, rawExpiry], - resolver: undefined, - }); - }); - - describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', () => { - const proc = procedureMockUtils.getInstance(mockContext); - const boundFunc = getAuthorization.bind(proc); - const args = { - ticker, - } as Params; - - expect(boundFunc(args)).toEqual({ - permissions: { - portfolios: [], - transactions: [TxTags.identity.AddAuthorization], - assets: [expect.objectContaining({ ticker })], - }, - }); - }); - }); -}); - -jest.mock('~/base/Procedure'); - -describe('modifyCorporateActionsAgent', () => { - afterAll(() => { - // Reset the mock after all tests have run - jest.resetAllMocks(); - }); - - it('should be defined', () => { - expect(modifyCorporateActionsAgent).toBeDefined(); - }); - - it('should return new Procedure called with prepareModifyCorporateActionsAgent and getAuthorization', () => { - const result = modifyCorporateActionsAgent(); - - expect(Procedure).toHaveBeenCalledWith(prepareModifyCorporateActionsAgent, getAuthorization); - expect(result).toBeInstanceOf(Procedure); - }); -}); diff --git a/src/api/procedures/__tests__/modifyInstructionAffirmation.ts b/src/api/procedures/__tests__/modifyInstructionAffirmation.ts deleted file mode 100644 index 243e5e25a7..0000000000 --- a/src/api/procedures/__tests__/modifyInstructionAffirmation.ts +++ /dev/null @@ -1,857 +0,0 @@ -import { u32, u64 } from '@polkadot/types'; -import { - PolymeshPrimitivesIdentityIdPortfolioId, - PolymeshPrimitivesSettlementAffirmationStatus, -} from '@polkadot/types/lookup'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { - getAuthorization, - prepareModifyInstructionAffirmation, - prepareStorage, - Storage, -} from '~/api/procedures/modifyInstructionAffirmation'; -import * as procedureUtilsModule from '~/api/procedures/utils'; -import { Context, DefaultPortfolio, Instruction, PolymeshError } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { createMockMediatorAffirmationStatus } from '~/testUtils/mocks/dataSources'; -import { Mocked } from '~/testUtils/types'; -import { - AffirmationStatus, - ErrorCode, - Identity, - InstructionAffirmationOperation, - ModifyInstructionAffirmationParams, - PortfolioId, - PortfolioLike, - TxTags, -} from '~/types'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/Instruction', - require('~/testUtils/mocks/entities').mockInstructionModule('~/api/entities/Instruction') -); -jest.mock( - '~/api/entities/DefaultPortfolio', - require('~/testUtils/mocks/entities').mockDefaultPortfolioModule( - '~/api/entities/DefaultPortfolio' - ) -); - -describe('modifyInstructionAffirmation procedure', () => { - const id = new BigNumber(1); - const rawInstructionId = dsMockUtils.createMockU64(new BigNumber(1)); - const rawPortfolioId = dsMockUtils.createMockPortfolioId({ - did: dsMockUtils.createMockIdentityId('someDid'), - kind: dsMockUtils.createMockPortfolioKind('Default'), - }); - const did = 'someDid'; - let signer: Identity; - let portfolio: DefaultPortfolio; - let legAmount: BigNumber; - let rawLegAmount: u32; - const portfolioId: PortfolioId = { did }; - const latestBlock = new BigNumber(100); - let mockContext: Mocked; - let bigNumberToU64Spy: jest.SpyInstance; - let bigNumberToU32Spy: jest.SpyInstance; - let portfolioLikeToPortfolioIdSpy: jest.SpyInstance; - let portfolioIdToMeshPortfolioIdSpy: jest.SpyInstance< - PolymeshPrimitivesIdentityIdPortfolioId, - [PortfolioId, Context] - >; - let meshAffirmationStatusToAffirmationStatusSpy: jest.SpyInstance< - AffirmationStatus, - [PolymeshPrimitivesSettlementAffirmationStatus] - >; - let mediatorAffirmationStatusToStatusSpy: jest.SpyInstance; - - beforeAll(() => { - dsMockUtils.initMocks({ - contextOptions: { - latestBlock, - }, - }); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - - portfolio = entityMockUtils.getDefaultPortfolioInstance({ did: 'someDid ' }); - legAmount = new BigNumber(2); - bigNumberToU64Spy = jest.spyOn(utilsConversionModule, 'bigNumberToU64'); - bigNumberToU32Spy = jest.spyOn(utilsConversionModule, 'bigNumberToU32'); - portfolioLikeToPortfolioIdSpy = jest.spyOn(utilsConversionModule, 'portfolioLikeToPortfolioId'); - portfolioIdToMeshPortfolioIdSpy = jest.spyOn( - utilsConversionModule, - 'portfolioIdToMeshPortfolioId' - ); - meshAffirmationStatusToAffirmationStatusSpy = jest.spyOn( - utilsConversionModule, - 'meshAffirmationStatusToAffirmationStatus' - ); - - mediatorAffirmationStatusToStatusSpy = jest.spyOn( - utilsConversionModule, - 'mediatorAffirmationStatusToStatus' - ); - - jest.spyOn(procedureUtilsModule, 'assertInstructionValid').mockImplementation(); - }); - - beforeEach(() => { - rawLegAmount = dsMockUtils.createMockU32(new BigNumber(2)); - dsMockUtils.createTxMock('settlement', 'affirmInstruction'); - dsMockUtils.createTxMock('settlement', 'withdrawAffirmation'); - dsMockUtils.createTxMock('settlement', 'rejectInstruction'); - dsMockUtils.createTxMock('settlement', 'affirmInstructionAsMediator'); - dsMockUtils.createTxMock('settlement', 'withdrawAffirmationAsMediator'); - dsMockUtils.createTxMock('settlement', 'rejectInstructionAsMediator'); - mockContext = dsMockUtils.getContextInstance({ getSigningIdentity: signer }); - bigNumberToU64Spy.mockReturnValue(rawInstructionId); - bigNumberToU32Spy.mockReturnValue(rawLegAmount); - signer = entityMockUtils.getIdentityInstance({ did }); - when(portfolioLikeToPortfolioIdSpy).calledWith(portfolio).mockReturnValue(portfolioId); - when(portfolioIdToMeshPortfolioIdSpy) - .calledWith(portfolioId, mockContext) - .mockReturnValue(rawPortfolioId); - dsMockUtils.createQueryMock('settlement', 'instructionMediatorsAffirmations', { - returnValue: dsMockUtils.createMockAffirmationStatus(AffirmationStatus.Unknown), - }); - dsMockUtils.createQueryMock('settlement', 'userAffirmations', { - multi: [], - }); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it('should throw an error if the one or more portfolio params are not a part of the Instruction', () => { - const proc = procedureMockUtils.getInstance< - ModifyInstructionAffirmationParams, - Instruction, - Storage - >(mockContext, { - portfolios: [], - portfolioParams: ['someDid'], - senderLegAmount: legAmount, - totalLegAmount: legAmount, - signer, - }); - - return expect( - prepareModifyInstructionAffirmation.call(proc, { - id, - operation: InstructionAffirmationOperation.Affirm, - }) - ).rejects.toThrow('Some of the portfolios are not a involved in this instruction'); - }); - - it('should throw an error if the signing Identity is not the custodian of any of the involved portfolios', () => { - const rawAffirmationStatus = dsMockUtils.createMockAffirmationStatus('Affirmed'); - dsMockUtils.createQueryMock('settlement', 'userAffirmations', { - multi: [rawAffirmationStatus, rawAffirmationStatus], - }); - when(meshAffirmationStatusToAffirmationStatusSpy) - .calledWith(rawAffirmationStatus) - .mockReturnValue(AffirmationStatus.Affirmed); - - const proc = procedureMockUtils.getInstance< - ModifyInstructionAffirmationParams, - Instruction, - Storage - >(mockContext, { - portfolios: [], - portfolioParams: [], - senderLegAmount: legAmount, - totalLegAmount: legAmount, - signer, - }); - - return expect( - prepareModifyInstructionAffirmation.call(proc, { - id, - operation: InstructionAffirmationOperation.Affirm, - }) - ).rejects.toThrow('The signing Identity is not involved in this Instruction'); - }); - - it("should throw an error if the operation is Affirm and all of the signing Identity's Portfolios are affirmed", () => { - const rawAffirmationStatus = dsMockUtils.createMockAffirmationStatus('Affirmed'); - dsMockUtils.createQueryMock('settlement', 'userAffirmations', { - multi: [rawAffirmationStatus, rawAffirmationStatus], - }); - when(meshAffirmationStatusToAffirmationStatusSpy) - .calledWith(rawAffirmationStatus) - .mockReturnValue(AffirmationStatus.Affirmed); - - const proc = procedureMockUtils.getInstance< - ModifyInstructionAffirmationParams, - Instruction, - Storage - >(mockContext, { - portfolios: [portfolio, portfolio], - portfolioParams: [], - senderLegAmount: legAmount, - totalLegAmount: legAmount, - signer, - }); - - return expect( - prepareModifyInstructionAffirmation.call(proc, { - id, - operation: InstructionAffirmationOperation.Affirm, - }) - ).rejects.toThrow('The Instruction is already affirmed'); - }); - - it('should return an affirm instruction transaction spec', async () => { - const rawAffirmationStatus = dsMockUtils.createMockAffirmationStatus('Pending'); - dsMockUtils.createQueryMock('settlement', 'userAffirmations', { - multi: [rawAffirmationStatus, rawAffirmationStatus], - }); - when(meshAffirmationStatusToAffirmationStatusSpy) - .calledWith(rawAffirmationStatus) - .mockReturnValue(AffirmationStatus.Pending); - - const proc = procedureMockUtils.getInstance< - ModifyInstructionAffirmationParams, - Instruction, - Storage - >(mockContext, { - portfolios: [portfolio, portfolio], - portfolioParams: [], - senderLegAmount: legAmount, - totalLegAmount: legAmount, - signer, - }); - - const transaction = dsMockUtils.createTxMock('settlement', 'affirmInstruction'); - - const result = await prepareModifyInstructionAffirmation.call(proc, { - id, - operation: InstructionAffirmationOperation.Affirm, - }); - - expect(result).toEqual({ - transaction, - feeMultiplier: new BigNumber(2), - args: [rawInstructionId, [rawPortfolioId, rawPortfolioId]], - resolver: expect.objectContaining({ id }), - }); - }); - - it('should throw an error if affirmed by a mediator without a pending affirmation', async () => { - const rawAffirmationStatus = dsMockUtils.createMockAffirmationStatus('Unknown'); - dsMockUtils.createQueryMock('settlement', 'instructionMediatorsAffirmations', { - returnValue: rawAffirmationStatus, - }); - when(mediatorAffirmationStatusToStatusSpy) - .calledWith(rawAffirmationStatus) - .mockReturnValue({ status: AffirmationStatus.Unknown }); - - const proc = procedureMockUtils.getInstance< - ModifyInstructionAffirmationParams, - Instruction, - Storage - >(mockContext, { - portfolios: [portfolio, portfolio], - portfolioParams: [], - senderLegAmount: legAmount, - totalLegAmount: legAmount, - signer, - }); - - const expectedError = new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'The signer is not a mediator', - }); - - return expect( - prepareModifyInstructionAffirmation.call(proc, { - id, - operation: InstructionAffirmationOperation.AffirmAsMediator, - }) - ).rejects.toThrow(expectedError); - }); - - it('should throw an error if expiry is set at a point in the future', async () => { - const rawAffirmationStatus = dsMockUtils.createMockAffirmationStatus('Pending'); - dsMockUtils.createQueryMock('settlement', 'instructionMediatorsAffirmations', { - returnValue: rawAffirmationStatus, - }); - when(mediatorAffirmationStatusToStatusSpy) - .calledWith(rawAffirmationStatus) - .mockReturnValue({ status: AffirmationStatus.Pending }); - - const proc = procedureMockUtils.getInstance< - ModifyInstructionAffirmationParams, - Instruction, - Storage - >(mockContext, { - portfolios: [portfolio, portfolio], - portfolioParams: [], - senderLegAmount: legAmount, - totalLegAmount: legAmount, - signer, - }); - - const expectedError = new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'The expiry must be in the future', - }); - - return expect( - prepareModifyInstructionAffirmation.call(proc, { - id, - operation: InstructionAffirmationOperation.AffirmAsMediator, - expiry: new Date(1), - }) - ).rejects.toThrow(expectedError); - }); - - it('should return an affirm as mediator instruction transaction spec', async () => { - const rawAffirmationStatus = dsMockUtils.createMockAffirmationStatus('Pending'); - dsMockUtils.createQueryMock('settlement', 'instructionMediatorsAffirmations', { - returnValue: rawAffirmationStatus, - }); - when(mediatorAffirmationStatusToStatusSpy) - .calledWith(rawAffirmationStatus) - .mockReturnValue({ status: AffirmationStatus.Pending }); - - const proc = procedureMockUtils.getInstance< - ModifyInstructionAffirmationParams, - Instruction, - Storage - >(mockContext, { - portfolios: [portfolio, portfolio], - portfolioParams: [], - senderLegAmount: legAmount, - totalLegAmount: legAmount, - signer, - }); - - const transaction = dsMockUtils.createTxMock('settlement', 'affirmInstructionAsMediator'); - - const result = await prepareModifyInstructionAffirmation.call(proc, { - id, - operation: InstructionAffirmationOperation.AffirmAsMediator, - }); - - expect(result).toEqual({ - transaction, - args: [rawInstructionId, null], - resolver: expect.objectContaining({ id }), - }); - }); - - it('should throw an error if operation is Withdraw and the current status of the instruction is pending', () => { - const rawAffirmationStatus = dsMockUtils.createMockAffirmationStatus('Pending'); - dsMockUtils.createQueryMock('settlement', 'userAffirmations', { - multi: [rawAffirmationStatus, rawAffirmationStatus], - }); - when(meshAffirmationStatusToAffirmationStatusSpy) - .calledWith(rawAffirmationStatus) - .mockReturnValue(AffirmationStatus.Pending); - - const proc = procedureMockUtils.getInstance< - ModifyInstructionAffirmationParams, - Instruction, - Storage - >(mockContext, { - portfolios: [portfolio, portfolio], - portfolioParams: [], - senderLegAmount: legAmount, - totalLegAmount: legAmount, - signer, - }); - - return expect( - prepareModifyInstructionAffirmation.call(proc, { - id, - operation: InstructionAffirmationOperation.Withdraw, - }) - ).rejects.toThrow('The instruction is not affirmed'); - }); - - it('should return a withdraw instruction transaction spec', async () => { - const rawAffirmationStatus = dsMockUtils.createMockAffirmationStatus('Affirmed'); - dsMockUtils.createQueryMock('settlement', 'userAffirmations', { - multi: [rawAffirmationStatus, rawAffirmationStatus], - }); - when(meshAffirmationStatusToAffirmationStatusSpy) - .calledWith(rawAffirmationStatus) - .mockReturnValue(AffirmationStatus.Affirmed); - - const proc = procedureMockUtils.getInstance< - ModifyInstructionAffirmationParams, - Instruction, - Storage - >(mockContext, { - portfolios: [portfolio, portfolio], - portfolioParams: [], - senderLegAmount: legAmount, - totalLegAmount: legAmount, - signer, - }); - - const transaction = dsMockUtils.createTxMock('settlement', 'withdrawAffirmation'); - - const result = await prepareModifyInstructionAffirmation.call(proc, { - id, - operation: InstructionAffirmationOperation.Withdraw, - }); - - expect(result).toEqual({ - transaction, - feeMultiplier: new BigNumber(2), - args: [rawInstructionId, [rawPortfolioId, rawPortfolioId]], - resolver: expect.objectContaining({ id }), - }); - }); - - it('should throw an error if a mediator attempts to withdraw a non affirmed transaction', async () => { - const rawAffirmationStatus = createMockMediatorAffirmationStatus(AffirmationStatus.Pending); - dsMockUtils.createQueryMock('settlement', 'instructionMediatorsAffirmations', { - returnValue: rawAffirmationStatus, - }); - when(mediatorAffirmationStatusToStatusSpy) - .calledWith(rawAffirmationStatus) - .mockReturnValue({ status: AffirmationStatus.Pending }); - - const proc = procedureMockUtils.getInstance< - ModifyInstructionAffirmationParams, - Instruction, - Storage - >(mockContext, { - portfolios: [portfolio, portfolio], - portfolioParams: [], - senderLegAmount: legAmount, - totalLegAmount: legAmount, - signer, - }); - - const expectedError = new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'The signer is not a mediator that has already affirmed the instruction', - }); - - return expect( - prepareModifyInstructionAffirmation.call(proc, { - id, - operation: InstructionAffirmationOperation.WithdrawAsMediator, - }) - ).rejects.toThrow(expectedError); - }); - - it('should return a withdraw as mediator instruction transaction spec', async () => { - const rawAffirmationStatus = createMockMediatorAffirmationStatus({ - Affirmed: dsMockUtils.createMockOption(), - }); - dsMockUtils.createQueryMock('settlement', 'instructionMediatorsAffirmations', { - returnValue: rawAffirmationStatus, - }); - when(mediatorAffirmationStatusToStatusSpy) - .calledWith(rawAffirmationStatus) - .mockReturnValue({ status: AffirmationStatus.Affirmed }); - - const proc = procedureMockUtils.getInstance< - ModifyInstructionAffirmationParams, - Instruction, - Storage - >(mockContext, { - portfolios: [portfolio, portfolio], - portfolioParams: [], - senderLegAmount: legAmount, - totalLegAmount: legAmount, - signer, - }); - - const transaction = dsMockUtils.createTxMock('settlement', 'withdrawAffirmationAsMediator'); - - const result = await prepareModifyInstructionAffirmation.call(proc, { - id, - operation: InstructionAffirmationOperation.WithdrawAsMediator, - }); - - expect(result).toEqual({ - transaction, - args: [rawInstructionId], - resolver: expect.objectContaining({ id }), - }); - }); - - it('should return a reject instruction transaction spec', async () => { - const rawAffirmationStatus = dsMockUtils.createMockAffirmationStatus('Pending'); - dsMockUtils.createQueryMock('settlement', 'userAffirmations', { - multi: [rawAffirmationStatus, rawAffirmationStatus], - }); - when(meshAffirmationStatusToAffirmationStatusSpy) - .calledWith(rawAffirmationStatus) - .mockReturnValue(AffirmationStatus.Pending); - - const isCustodiedBySpy = jest - .fn() - .mockReturnValueOnce(true) - .mockReturnValueOnce(true) - .mockReturnValueOnce(false) - .mockReturnValue(false); - - entityMockUtils.configureMocks({ - defaultPortfolioOptions: { - isCustodiedBy: isCustodiedBySpy, - }, - }); - - const proc = procedureMockUtils.getInstance< - ModifyInstructionAffirmationParams, - Instruction, - Storage - >(mockContext, { - portfolios: [portfolio, portfolio], - portfolioParams: [], - senderLegAmount: legAmount, - totalLegAmount: legAmount, - signer, - }); - - const transaction = dsMockUtils.createTxMock('settlement', 'rejectInstruction'); - - const result = await prepareModifyInstructionAffirmation.call(proc, { - id, - operation: InstructionAffirmationOperation.Reject, - }); - - expect(result).toEqual({ - transaction, - feeMultiplier: new BigNumber(2), - args: [rawInstructionId, rawPortfolioId], - resolver: expect.objectContaining({ id }), - }); - }); - - it('should throw an error if a non involved identity attempts to reject the transaction', () => { - const rawAffirmationStatus = createMockMediatorAffirmationStatus(AffirmationStatus.Unknown); - dsMockUtils.createQueryMock('settlement', 'instructionMediatorsAffirmations', { - returnValue: rawAffirmationStatus, - }); - when(mediatorAffirmationStatusToStatusSpy) - .calledWith(rawAffirmationStatus) - .mockReturnValue({ status: AffirmationStatus.Unknown }); - - const proc = procedureMockUtils.getInstance< - ModifyInstructionAffirmationParams, - Instruction, - Storage - >(mockContext, { - portfolios: [portfolio, portfolio], - portfolioParams: [], - senderLegAmount: legAmount, - totalLegAmount: legAmount, - signer: entityMockUtils.getIdentityInstance({ did: 'someOtherDid' }), - }); - - const expectedError = new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'The signer is not a mediator for the instruction', - }); - - return expect( - prepareModifyInstructionAffirmation.call(proc, { - id, - operation: InstructionAffirmationOperation.RejectAsMediator, - }) - ).rejects.toThrow(expectedError); - }); - - it('should return a reject as mediator instruction transaction spec', async () => { - const rawAffirmationStatus = createMockMediatorAffirmationStatus(AffirmationStatus.Pending); - dsMockUtils.createQueryMock('settlement', 'instructionMediatorsAffirmations', { - returnValue: rawAffirmationStatus, - }); - when(mediatorAffirmationStatusToStatusSpy) - .calledWith(rawAffirmationStatus) - .mockReturnValue({ status: AffirmationStatus.Pending }); - - const proc = procedureMockUtils.getInstance< - ModifyInstructionAffirmationParams, - Instruction, - Storage - >(mockContext, { - portfolios: [portfolio, portfolio], - portfolioParams: [], - senderLegAmount: legAmount, - totalLegAmount: legAmount, - signer, - }); - - const transaction = dsMockUtils.createTxMock('settlement', 'rejectInstructionAsMediator'); - - const result = await prepareModifyInstructionAffirmation.call(proc, { - id, - operation: InstructionAffirmationOperation.RejectAsMediator, - }); - - expect(result).toEqual({ - transaction, - args: [rawInstructionId, null], - resolver: expect.objectContaining({ id }), - }); - }); - - describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', async () => { - const args = { - id: new BigNumber(1), - operation: InstructionAffirmationOperation.Affirm, - }; - const from = entityMockUtils.getNumberedPortfolioInstance(); - const to = entityMockUtils.getDefaultPortfolioInstance(); - - let proc = procedureMockUtils.getInstance< - ModifyInstructionAffirmationParams, - Instruction, - Storage - >(mockContext, { - portfolios: [from, to], - portfolioParams: [], - senderLegAmount: legAmount, - totalLegAmount: legAmount, - signer, - }); - let boundFunc = getAuthorization.bind(proc); - - let result = await boundFunc(args); - - expect(result).toEqual({ - permissions: { - assets: [], - portfolios: [from, to], - transactions: [TxTags.settlement.AffirmInstruction], - }, - }); - - proc = procedureMockUtils.getInstance< - ModifyInstructionAffirmationParams, - Instruction, - Storage - >(mockContext, { - portfolios: [], - portfolioParams: [], - senderLegAmount: legAmount, - totalLegAmount: legAmount, - signer, - }); - - boundFunc = getAuthorization.bind(proc); - - result = await boundFunc({ ...args, operation: InstructionAffirmationOperation.Reject }); - - expect(result).toEqual({ - permissions: { - assets: [], - portfolios: [], - transactions: [TxTags.settlement.RejectInstruction], - }, - }); - - result = await boundFunc({ ...args, operation: InstructionAffirmationOperation.Withdraw }); - - expect(result).toEqual({ - permissions: { - assets: [], - portfolios: [], - transactions: [TxTags.settlement.WithdrawAffirmation], - }, - }); - - result = await boundFunc({ - ...args, - operation: InstructionAffirmationOperation.AffirmAsMediator, - }); - - expect(result).toEqual({ - permissions: { - assets: [], - portfolios: [], - transactions: [TxTags.settlement.AffirmInstructionAsMediator], - }, - }); - - result = await boundFunc({ - ...args, - operation: InstructionAffirmationOperation.WithdrawAsMediator, - }); - - expect(result).toEqual({ - permissions: { - assets: [], - portfolios: [], - transactions: [TxTags.settlement.WithdrawAffirmationAsMediator], - }, - }); - - result = await boundFunc({ - ...args, - operation: InstructionAffirmationOperation.RejectAsMediator, - }); - - expect(result).toEqual({ - permissions: { - assets: [], - portfolios: [], - transactions: [TxTags.settlement.RejectInstructionAsMediator], - }, - }); - }); - }); - - describe('prepareStorage', () => { - const fromDid = 'fromDid'; - const toDid = 'toDid'; - - let from1 = entityMockUtils.getDefaultPortfolioInstance({ - did: fromDid, - isCustodiedBy: true, - exists: true, - }); - const from2 = entityMockUtils.getNumberedPortfolioInstance({ - did: 'someOtherDid', - id: new BigNumber(1), - exists: false, - }); - let to1 = entityMockUtils.getDefaultPortfolioInstance({ - did: toDid, - isCustodiedBy: true, - exists: true, - }); - const to2 = entityMockUtils.getNumberedPortfolioInstance({ - did: 'someDid', - id: new BigNumber(1), - exists: false, - }); - const amount = new BigNumber(1); - const asset = entityMockUtils.getFungibleAssetInstance({ ticker: 'SOME_ASSET' }); - - it('should return the portfolios for which to modify affirmation status', async () => { - const proc = procedureMockUtils.getInstance< - ModifyInstructionAffirmationParams, - Instruction, - Storage - >(mockContext); - - const boundFunc = prepareStorage.bind(proc); - entityMockUtils.configureMocks({ - instructionOptions: { - getLegs: { - data: [ - { from: from1, to: to1, amount, asset }, - { from: from2, to: to2, amount, asset }, - ], - next: null, - }, - }, - }); - let result = await boundFunc({ - id: new BigNumber(1), - operation: InstructionAffirmationOperation.Affirm, - }); - - expect(result).toEqual({ - portfolios: [ - expect.objectContaining({ owner: expect.objectContaining({ did: fromDid }) }), - expect.objectContaining({ owner: expect.objectContaining({ did: toDid }) }), - expect.objectContaining({ - owner: expect.objectContaining({ did: 'someDid' }), - id: new BigNumber(1), - }), - ], - portfolioParams: [], - senderLegAmount: new BigNumber(1), - totalLegAmount: new BigNumber(2), - signer: expect.objectContaining({ did: signer.did }), - }); - - result = await boundFunc({ - id: new BigNumber(1), - operation: InstructionAffirmationOperation.Affirm, - portfolios: [fromDid], - }); - - expect(result).toEqual({ - portfolios: [expect.objectContaining({ owner: expect.objectContaining({ did: fromDid }) })], - portfolioParams: [fromDid], - senderLegAmount: new BigNumber(1), - totalLegAmount: new BigNumber(2), - signer: expect.objectContaining({ did: signer.did }), - }); - - result = await boundFunc({ - id: new BigNumber(1), - operation: InstructionAffirmationOperation.Withdraw, - portfolios: [fromDid], - }); - - expect(result).toEqual({ - portfolios: [expect.objectContaining({ owner: expect.objectContaining({ did: fromDid }) })], - portfolioParams: [fromDid], - senderLegAmount: new BigNumber(1), - totalLegAmount: new BigNumber(2), - signer: expect.objectContaining({ did: signer.did }), - }); - - result = await boundFunc({ - id: new BigNumber(1), - operation: InstructionAffirmationOperation.Reject, - portfolio: fromDid, - }); - - expect(result).toEqual({ - portfolios: [expect.objectContaining({ owner: expect.objectContaining({ did: fromDid }) })], - portfolioParams: [fromDid], - senderLegAmount: new BigNumber(1), - totalLegAmount: new BigNumber(2), - signer: expect.objectContaining({ did: signer.did }), - }); - }); - - it('should return the portfolios for which to modify affirmation status when there is no sender legs', async () => { - const proc = procedureMockUtils.getInstance< - ModifyInstructionAffirmationParams, - Instruction, - Storage - >(mockContext); - - const boundFunc = prepareStorage.bind(proc); - from1 = entityMockUtils.getDefaultPortfolioInstance({ did: fromDid, isCustodiedBy: false }); - to1 = entityMockUtils.getDefaultPortfolioInstance({ did: toDid, isCustodiedBy: false }); - - entityMockUtils.configureMocks({ - instructionOptions: { - getLegs: { data: [{ from: from1, to: to1, amount, asset }], next: null }, - }, - }); - - const result = await boundFunc({ - id: new BigNumber(1), - operation: InstructionAffirmationOperation.Affirm, - }); - - expect(result).toEqual({ - portfolios: [], - portfolioParams: [], - senderLegAmount: new BigNumber(0), - totalLegAmount: new BigNumber(1), - signer: expect.objectContaining({ did: signer.did }), - }); - }); - }); -}); diff --git a/src/api/procedures/__tests__/modifyMultiSig.ts b/src/api/procedures/__tests__/modifyMultiSig.ts deleted file mode 100644 index 52738da292..0000000000 --- a/src/api/procedures/__tests__/modifyMultiSig.ts +++ /dev/null @@ -1,336 +0,0 @@ -import { AccountId } from '@polkadot/types/interfaces'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { - getAuthorization, - prepareModifyMultiSig, - prepareStorage, -} from '~/api/procedures/modifyMultiSig'; -import { Context, ModifyMultiSigStorage, MultiSig, PolymeshError } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { getAccountInstance, getIdentityInstance, MockMultiSig } from '~/testUtils/mocks/entities'; -import { Mocked } from '~/testUtils/types'; -import { ErrorCode, ModifyMultiSigParams, TxTags } from '~/types'; -import { DUMMY_ACCOUNT_ID } from '~/utils/constants'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/Account/MultiSig', - require('~/testUtils/mocks/entities').mockMultiSigModule('~/api/entities/Account/MultiSig') -); - -describe('modifyMultiSig procedure', () => { - let mockContext: Mocked; - let rawAccountId: AccountId; - let stringToAccountIdSpy: jest.SpyInstance; - let signerToSignatorySpy: jest.SpyInstance; - - const oldSigner1 = getAccountInstance({ address: 'abc' }); - const oldSigner2 = getAccountInstance({ address: 'def' }); - const newSigner1 = getAccountInstance({ address: 'xyz' }); - const newSigner2 = getAccountInstance({ address: 'jki' }); - - beforeAll(() => { - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - stringToAccountIdSpy = jest - .spyOn(utilsConversionModule, 'stringToAccountId') - .mockImplementation(); - signerToSignatorySpy = jest - .spyOn(utilsConversionModule, 'signerToSignatory') - .mockImplementation(); - }); - - beforeEach(() => { - entityMockUtils.configureMocks({ - multiSigOptions: { - getCreator: getIdentityInstance({ did: 'abc' }), - }, - }); - rawAccountId = dsMockUtils.createMockAccountId(DUMMY_ACCOUNT_ID); - mockContext = dsMockUtils.getContextInstance(); - when(stringToAccountIdSpy) - .calledWith(DUMMY_ACCOUNT_ID, mockContext) - .mockReturnValue(rawAccountId); - - when(signerToSignatorySpy).calledWith(oldSigner1, mockContext).mockReturnValue('oldOne'); - when(signerToSignatorySpy).calledWith(oldSigner2, mockContext).mockReturnValue('oldTwo'); - when(signerToSignatorySpy).calledWith(newSigner1, mockContext).mockReturnValue('newOne'); - when(signerToSignatorySpy).calledWith(newSigner2, mockContext).mockReturnValue('newTwo'); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it('should throw an error if the supplied type signers are the same as the current ones', () => { - const signers = [getAccountInstance({ address: 'abc' })]; - - const args = { - multiSig: entityMockUtils.getMultiSigInstance({ - details: { - signers, - requiredSignatures: new BigNumber(1), - }, - }), - signers, - }; - - const proc = procedureMockUtils.getInstance( - mockContext, - { - signersToAdd: [], - signersToRemove: [], - requiredSignatures: new BigNumber(2), - } - ); - - const expectedError = new PolymeshError({ - code: ErrorCode.NoDataChange, - message: - 'The given signers are equal to the current signers. At least one signer should be added or removed', - }); - - return expect(prepareModifyMultiSig.call(proc, args)).rejects.toThrowError(expectedError); - }); - - it('should throw an error if called by someone who is not the creator', () => { - const args = { - multiSig: entityMockUtils.getMultiSigInstance({ - getCreator: getIdentityInstance({ isEqual: false }), - }), - signers: [getAccountInstance()], - }; - - const proc = procedureMockUtils.getInstance( - mockContext, - { - signersToAdd: [newSigner1], - signersToRemove: [], - requiredSignatures: new BigNumber(1), - } - ); - - const expectedError = new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'A MultiSig can only be modified by its creator', - }); - - return expect(prepareModifyMultiSig.call(proc, args)).rejects.toThrowError(expectedError); - }); - - it('should throw an error if the number of signatures required exceeds the number of signers', () => { - const args = { - multiSig: entityMockUtils.getMultiSigInstance({ - getCreator: getIdentityInstance(), - }), - signers: [newSigner1], - }; - - const proc = procedureMockUtils.getInstance( - mockContext, - { signersToAdd: [newSigner1], signersToRemove: [], requiredSignatures: new BigNumber(3) } - ); - - const expectedError = new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'The number of required signatures should not exceed the number of signers', - }); - - return expect(prepareModifyMultiSig.call(proc, args)).rejects.toThrowError(expectedError); - }); - - it('should add update and remove signer transactions to the queue', async () => { - const multiSig = entityMockUtils.getMultiSigInstance({ - address: DUMMY_ACCOUNT_ID, - getCreator: getIdentityInstance(), - }); - - const args = { - multiSig, - signers: [newSigner1, newSigner2], - }; - - const addTransaction = dsMockUtils.createTxMock('multiSig', 'addMultisigSignersViaCreator'); - const removeTransaction = dsMockUtils.createTxMock( - 'multiSig', - 'removeMultisigSignersViaCreator' - ); - - const proc = procedureMockUtils.getInstance( - mockContext, - { - signersToAdd: [newSigner1, newSigner2], - signersToRemove: [oldSigner1, oldSigner2], - requiredSignatures: new BigNumber(2), - } - ); - - const result = await prepareModifyMultiSig.call(proc, args); - - expect(result).toEqual({ - transactions: [ - { - transaction: addTransaction, - args: [rawAccountId, ['newOne', 'newTwo']], - }, - { - transaction: removeTransaction, - args: [rawAccountId, ['oldOne', 'oldTwo']], - }, - ], - }); - }); - - it('should only add an add signers transaction if no signers are to be removed', async () => { - const multiSig = entityMockUtils.getMultiSigInstance({ - address: DUMMY_ACCOUNT_ID, - getCreator: getIdentityInstance(), - }); - - const args = { - multiSig, - signers: [oldSigner1, oldSigner2, newSigner1, newSigner2], - }; - - const addTransaction = dsMockUtils.createTxMock('multiSig', 'addMultisigSignersViaCreator'); - - when(signerToSignatorySpy).calledWith(newSigner1, mockContext).mockReturnValue('newOne'); - when(signerToSignatorySpy).calledWith(newSigner2, mockContext).mockReturnValue('newTwo'); - - const proc = procedureMockUtils.getInstance( - mockContext, - { - signersToAdd: [newSigner1, newSigner2], - signersToRemove: [], - requiredSignatures: new BigNumber(2), - } - ); - - const result = await prepareModifyMultiSig.call(proc, args); - - expect(result).toEqual({ - transactions: [ - { - transaction: addTransaction, - args: [rawAccountId, ['newOne', 'newTwo']], - }, - ], - }); - }); - - it('should add only a remove transaction to the queue if there are no signers to add', async () => { - const multiSig = entityMockUtils.getMultiSigInstance({ - address: DUMMY_ACCOUNT_ID, - getCreator: getIdentityInstance(), - }); - - const args = { - multiSig, - signers: [oldSigner1], - }; - - const removeTransaction = dsMockUtils.createTxMock( - 'multiSig', - 'removeMultisigSignersViaCreator' - ); - - const proc = procedureMockUtils.getInstance( - mockContext, - { - signersToAdd: [], - signersToRemove: [oldSigner2], - requiredSignatures: new BigNumber(1), - } - ); - - const result = await prepareModifyMultiSig.call(proc, args); - - expect(result).toEqual({ - transactions: [{ transaction: removeTransaction, args: [rawAccountId, ['oldTwo']] }], - }); - }); - - describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', () => { - let proc = procedureMockUtils.getInstance( - mockContext, - { - signersToAdd: [newSigner1], - signersToRemove: [], - requiredSignatures: new BigNumber(1), - } - ); - - let boundFunc = getAuthorization.bind(proc); - - let result = boundFunc(); - expect(result).toEqual({ - permissions: { - transactions: [TxTags.multiSig.AddMultisigSignersViaCreator], - assets: undefined, - portfolios: undefined, - }, - }); - - proc = procedureMockUtils.getInstance( - mockContext, - { - signersToAdd: [], - signersToRemove: [oldSigner1], - requiredSignatures: new BigNumber(1), - } - ); - - boundFunc = getAuthorization.bind(proc); - - result = boundFunc(); - - expect(result).toEqual({ - permissions: { - transactions: [TxTags.multiSig.RemoveMultisigSignersViaCreator], - assets: undefined, - portfolios: undefined, - }, - }); - }); - }); - - describe('prepareStorage', () => { - it('should return the relevant data', async () => { - const multiSig = new MultiSig({ address: 'abc' }, mockContext) as MockMultiSig; - multiSig.details.mockResolvedValue({ - signers: [oldSigner1, oldSigner2], - requiredSignatures: new BigNumber(3), - }); - - const proc = procedureMockUtils.getInstance< - ModifyMultiSigParams, - void, - ModifyMultiSigStorage - >(mockContext, { - signersToAdd: [], - signersToRemove: [], - requiredSignatures: new BigNumber(3), - }); - - const boundFunc = prepareStorage.bind(proc); - - const result = await boundFunc({ signers: [newSigner1, newSigner2], multiSig }); - expect(result).toEqual({ - signersToRemove: [oldSigner1, oldSigner2], - signersToAdd: [newSigner1, newSigner2], - requiredSignatures: new BigNumber(3), - }); - }); - }); -}); diff --git a/src/api/procedures/__tests__/modifyOfferingTimes.ts b/src/api/procedures/__tests__/modifyOfferingTimes.ts deleted file mode 100644 index b35e049da3..0000000000 --- a/src/api/procedures/__tests__/modifyOfferingTimes.ts +++ /dev/null @@ -1,320 +0,0 @@ -import { u64 } from '@polkadot/types'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { - getAuthorization, - Params, - prepareModifyOfferingTimes, -} from '~/api/procedures/modifyOfferingTimes'; -import { Context } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { OfferingBalanceStatus, OfferingSaleStatus, OfferingTimingStatus, TxTags } from '~/types'; -import { PolymeshTx } from '~/types/internal'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/Offering', - require('~/testUtils/mocks/entities').mockOfferingModule('~/api/entities/Offering') -); -jest.mock( - '~/api/entities/Asset/Fungible', - require('~/testUtils/mocks/entities').mockFungibleAssetModule('~/api/entities/Asset/Fungible') -); - -describe('modifyStoTimes procedure', () => { - const ticker = 'SOME_TICKER'; - const id = new BigNumber(1); - const now = new Date(); - const newStart = new Date(now.getTime() + 700000); - const newEnd = new Date(newStart.getTime() + 700000); - const start = new Date(now.getTime() + 500000); - const end = new Date(start.getTime() + 500000); - - const rawTicker = dsMockUtils.createMockTicker(ticker); - const rawId = dsMockUtils.createMockU64(id); - const rawNewStart = dsMockUtils.createMockMoment(new BigNumber(newStart.getTime())); - const rawNewEnd = dsMockUtils.createMockMoment(new BigNumber(newEnd.getTime())); - const rawStart = dsMockUtils.createMockMoment(new BigNumber(start.getTime())); - const rawEnd = dsMockUtils.createMockMoment(new BigNumber(end.getTime())); - - let mockContext: Mocked; - let modifyFundraiserWindowTransaction: PolymeshTx; - - let dateToMomentSpy: jest.SpyInstance; - - const args = { - ticker, - id, - start: newStart, - end: newEnd, - }; - - beforeAll(() => { - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - - jest.spyOn(utilsConversionModule, 'stringToTicker').mockReturnValue(rawTicker); - jest.spyOn(utilsConversionModule, 'bigNumberToU64').mockReturnValue(rawId); - dateToMomentSpy = jest.spyOn(utilsConversionModule, 'dateToMoment'); - }); - - beforeEach(() => { - entityMockUtils.configureMocks({ - offeringOptions: { - details: { - status: { - sale: OfferingSaleStatus.Live, - timing: OfferingTimingStatus.NotStarted, - balance: OfferingBalanceStatus.Available, - }, - start, - end, - }, - }, - }); - mockContext = dsMockUtils.getContextInstance(); - - when(dateToMomentSpy).calledWith(newStart, mockContext).mockReturnValue(rawNewStart); - when(dateToMomentSpy).calledWith(newEnd, mockContext).mockReturnValue(rawNewEnd); - when(dateToMomentSpy).calledWith(start, mockContext).mockReturnValue(rawStart); - when(dateToMomentSpy).calledWith(end, mockContext).mockReturnValue(rawEnd); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it('should return a modify fundraiser window transaction spec', async () => { - const proc = procedureMockUtils.getInstance(mockContext); - modifyFundraiserWindowTransaction = dsMockUtils.createTxMock('sto', 'modifyFundraiserWindow'); - - let result = await prepareModifyOfferingTimes.call(proc, args); - - expect(result).toEqual({ - transaction: modifyFundraiserWindowTransaction, - args: [rawTicker, rawId, rawNewStart, rawNewEnd], - resolver: undefined, - }); - - result = await prepareModifyOfferingTimes.call(proc, { ...args, start: undefined }); - - expect(result).toEqual({ - transaction: modifyFundraiserWindowTransaction, - args: [rawTicker, rawId, rawStart, rawNewEnd], - resolver: undefined, - }); - - result = await prepareModifyOfferingTimes.call(proc, { ...args, end: null }); - - expect(result).toEqual({ - transaction: modifyFundraiserWindowTransaction, - args: [rawTicker, rawId, rawNewStart, null], - resolver: undefined, - }); - - result = await prepareModifyOfferingTimes.call(proc, { ...args, end: undefined }); - - expect(result).toEqual({ - transaction: modifyFundraiserWindowTransaction, - args: [rawTicker, rawId, rawNewStart, rawEnd], - resolver: undefined, - }); - - entityMockUtils.configureMocks({ - offeringOptions: { - details: { - start, - end: null, - status: { - sale: OfferingSaleStatus.Live, - timing: OfferingTimingStatus.NotStarted, - balance: OfferingBalanceStatus.Available, - }, - }, - }, - }); - - result = await prepareModifyOfferingTimes.call(proc, { ...args, end: undefined }); - - expect(result).toEqual({ - transaction: modifyFundraiserWindowTransaction, - args: [rawTicker, rawId, rawNewStart, null], - resolver: undefined, - }); - }); - - it('should throw an error if nothing is being modified', async () => { - const proc = procedureMockUtils.getInstance(mockContext); - - let err: Error | undefined; - - const message = 'Nothing to modify'; - - try { - await prepareModifyOfferingTimes.call(proc, { ...args, start, end }); - } catch (error) { - err = error; - } - - expect(err?.message).toBe(message); - - err = undefined; - - try { - await prepareModifyOfferingTimes.call(proc, { ...args, start: undefined, end }); - } catch (error) { - err = error; - } - - expect(err?.message).toBe(message); - - try { - await prepareModifyOfferingTimes.call(proc, { ...args, start, end: undefined }); - } catch (error) { - err = error; - } - - expect(err?.message).toBe(message); - }); - - it('should throw an error if the Offering is already closed', () => { - entityMockUtils.configureMocks({ - offeringOptions: { - details: { - status: { - sale: OfferingSaleStatus.Closed, - timing: OfferingTimingStatus.Started, - balance: OfferingBalanceStatus.Available, - }, - }, - }, - }); - - const proc = procedureMockUtils.getInstance(mockContext); - - return expect(prepareModifyOfferingTimes.call(proc, args)).rejects.toThrow( - 'The Offering is already closed' - ); - }); - - it('should throw an error if the Offering has already ended', async () => { - const proc = procedureMockUtils.getInstance(mockContext); - - entityMockUtils.configureMocks({ - offeringOptions: { - details: { - start: now, - end: now, - status: { - sale: OfferingSaleStatus.Live, - timing: OfferingTimingStatus.Expired, - balance: OfferingBalanceStatus.Available, - }, - }, - }, - }); - - let err: Error | undefined; - - try { - await prepareModifyOfferingTimes.call(proc, args); - } catch (error) { - err = error; - } - - expect(err?.message).toBe('The Offering has already ended'); - }); - - it('should throw an error if attempting to modify the start time of an Offering that has already started', async () => { - const proc = procedureMockUtils.getInstance(mockContext); - - entityMockUtils.configureMocks({ - offeringOptions: { - details: { - start: new Date(now.getTime() - 1000), - end, - status: { - sale: OfferingSaleStatus.Live, - timing: OfferingTimingStatus.Started, - balance: OfferingBalanceStatus.Available, - }, - }, - }, - }); - - let err: Error | undefined; - - try { - await prepareModifyOfferingTimes.call(proc, args); - } catch (error) { - err = error; - } - - expect(err?.message).toBe('Cannot modify the start time of an Offering that already started'); - }); - - it('should throw an error if the new times are in the past', async () => { - entityMockUtils.configureMocks({ - offeringOptions: { - details: { - status: { - timing: OfferingTimingStatus.NotStarted, - balance: OfferingBalanceStatus.Available, - sale: OfferingSaleStatus.Live, - }, - }, - }, - }); - - const proc = procedureMockUtils.getInstance(mockContext); - - let err: Error | undefined; - - const past = new Date(now.getTime() - 1000); - - const message = 'New dates are in the past'; - - try { - await prepareModifyOfferingTimes.call(proc, { ...args, start: past }); - } catch (error) { - err = error; - } - - expect(err?.message).toBe(message); - - err = undefined; - - try { - await prepareModifyOfferingTimes.call(proc, { ...args, end: past }); - } catch (error) { - err = error; - } - - expect(err?.message).toBe(message); - }); - - describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', () => { - const proc = procedureMockUtils.getInstance(mockContext); - const boundFunc = getAuthorization.bind(proc); - - expect(boundFunc(args)).toEqual({ - permissions: { - transactions: [TxTags.sto.ModifyFundraiserWindow], - assets: [expect.objectContaining({ ticker })], - portfolios: [], - }, - }); - }); - }); -}); diff --git a/src/api/procedures/__tests__/modifySignerPermissions.ts b/src/api/procedures/__tests__/modifySignerPermissions.ts deleted file mode 100644 index 00a4611531..0000000000 --- a/src/api/procedures/__tests__/modifySignerPermissions.ts +++ /dev/null @@ -1,246 +0,0 @@ -import { when } from 'jest-when'; - -import { - getAuthorization, - prepareModifySignerPermissions, - prepareStorage, - Storage, -} from '~/api/procedures/modifySignerPermissions'; -import { Account, Context, Identity } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { - ModifySignerPermissionsParams, - PermissionedAccount, - PermissionType, - TxTags, -} from '~/types'; -import * as utilsConversionModule from '~/utils/conversion'; -import * as utilsInternalModule from '~/utils/internal'; - -describe('modifySignerPermissions procedure', () => { - let mockContext: Mocked; - let stringToAccountIdSpy: jest.SpyInstance; - let permissionsToMeshPermissionsSpy: jest.SpyInstance; - let permissionsLikeToPermissionsSpy: jest.SpyInstance; - let getSecondaryAccountPermissionsSpy: jest.SpyInstance; - let identity: Identity; - let account: Account; - - beforeAll(() => { - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - stringToAccountIdSpy = jest.spyOn(utilsConversionModule, 'stringToAccountId'); - permissionsToMeshPermissionsSpy = jest.spyOn( - utilsConversionModule, - 'permissionsToMeshPermissions' - ); - permissionsLikeToPermissionsSpy = jest.spyOn( - utilsConversionModule, - 'permissionsLikeToPermissions' - ); - getSecondaryAccountPermissionsSpy = jest.spyOn( - utilsInternalModule, - 'getSecondaryAccountPermissions' - ); - }); - - beforeEach(() => { - account = entityMockUtils.getAccountInstance({ address: 'someFakeAccount' }); - getSecondaryAccountPermissionsSpy.mockReturnValue([ - { - account, - permissions: { - assets: { - type: PermissionType.Include, - values: [], - }, - portfolios: { - type: PermissionType.Include, - values: [], - }, - transactions: { - type: PermissionType.Include, - values: [], - }, - transactionGroups: [], - }, - }, - ]); - identity = entityMockUtils.getIdentityInstance(); - mockContext = dsMockUtils.getContextInstance({ - getIdentity: identity, - }); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it('should return a batch of Set Permission To Signer transactions spec', async () => { - let secondaryAccounts: PermissionedAccount[] = [ - { - account, - permissions: { - assets: null, - transactions: null, - transactionGroups: [], - portfolios: null, - }, - }, - ]; - let fakeMeshPermissions = dsMockUtils.createMockPermissions({ - asset: dsMockUtils.createMockAssetPermissions(), - extrinsic: dsMockUtils.createMockExtrinsicPermissions(), - portfolio: dsMockUtils.createMockPortfolioPermissions(), - }); - - const rawSignatory = dsMockUtils.createMockAccountId(account.address); - - dsMockUtils.configureMocks({ - contextOptions: { - secondaryAccounts: { data: secondaryAccounts, next: null }, - }, - }); - - when(stringToAccountIdSpy) - .calledWith(account.address, mockContext) - .mockReturnValue(rawSignatory); - - const proc = procedureMockUtils.getInstance( - mockContext, - { - identity, - } - ); - - const transaction = dsMockUtils.createTxMock('identity', 'setSecondaryKeyPermissions'); - - permissionsToMeshPermissionsSpy.mockReturnValue(fakeMeshPermissions); - - let signersList = [[rawSignatory, fakeMeshPermissions]]; - - let result = await prepareModifySignerPermissions.call(proc, { secondaryAccounts }); - - expect(result).toEqual({ - transactions: signersList.map(signers => ({ transaction, args: signers })), - resolver: undefined, - }); - - secondaryAccounts = [ - { - account, - permissions: { - assets: null, - transactions: null, - transactionGroups: [], - portfolios: null, - }, - }, - ]; - fakeMeshPermissions = dsMockUtils.createMockPermissions({ - asset: dsMockUtils.createMockAssetPermissions('Whole'), - extrinsic: dsMockUtils.createMockExtrinsicPermissions('Whole'), - portfolio: dsMockUtils.createMockPortfolioPermissions('Whole'), - }); - - permissionsToMeshPermissionsSpy.mockReturnValue(fakeMeshPermissions); - - signersList = [[rawSignatory, fakeMeshPermissions]]; - - permissionsLikeToPermissionsSpy.mockResolvedValue(secondaryAccounts[0].permissions); - - result = await prepareModifySignerPermissions.call(proc, { secondaryAccounts, identity }); - - expect(result).toEqual({ - transactions: signersList.map(signers => ({ transaction, args: signers })), - resolver: undefined, - }); - }); - - it('should throw an error if at least one of the Accounts for which to modify permissions is not a secondary Account for the Identity', () => { - const mockAccount = entityMockUtils.getAccountInstance({ address: 'mockAccount' }); - const secondaryAccounts = [ - { - account: mockAccount, - permissions: { - assets: null, - transactions: null, - portfolios: null, - }, - }, - ]; - - when(mockAccount.isEqual).calledWith(account).mockReturnValue(false); - - const proc = procedureMockUtils.getInstance( - mockContext, - { identity } - ); - - return expect( - prepareModifySignerPermissions.call(proc, { - secondaryAccounts, - }) - ).rejects.toThrow('One of the Accounts is not a secondary Account for the Identity'); - }); - - describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', async () => { - let proc = procedureMockUtils.getInstance( - mockContext, - { identity } - ); - let boundFunc = getAuthorization.bind(proc); - - let result = await boundFunc(); - expect(result).toEqual({ - permissions: { - transactions: [TxTags.identity.SetPermissionToSigner], - assets: [], - portfolios: [], - }, - }); - - proc = procedureMockUtils.getInstance( - dsMockUtils.getContextInstance({ - signingAccountIsEqual: false, - }), - { identity } - ); - - boundFunc = getAuthorization.bind(proc); - - result = await boundFunc(); - expect(result).toEqual({ - signerPermissions: - "Secondary Account permissions can only be modified by the Identity's primary Account", - }); - }); - }); - - describe('prepareStorage', () => { - it('should return the signing Identity', async () => { - const proc = procedureMockUtils.getInstance( - mockContext - ); - const boundFunc = prepareStorage.bind(proc); - - const result = await boundFunc(); - - expect(result).toEqual({ - identity: expect.objectContaining({ - did: 'someDid', - }), - }); - }); - }); -}); diff --git a/src/api/procedures/__tests__/modifyVenue.ts b/src/api/procedures/__tests__/modifyVenue.ts deleted file mode 100644 index b0b3410fb0..0000000000 --- a/src/api/procedures/__tests__/modifyVenue.ts +++ /dev/null @@ -1,190 +0,0 @@ -import BigNumber from 'bignumber.js'; - -import { getAuthorization, Params, prepareModifyVenue } from '~/api/procedures/modifyVenue'; -import { Context, Venue } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { RoleType, TxTags, VenueType } from '~/types'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/Venue', - require('~/testUtils/mocks/entities').mockVenueModule('~/api/entities/Venue') -); - -describe('modifyVenue procedure', () => { - let mockContext: Mocked; - let venueId: BigNumber; - - let venue: Venue; - - beforeAll(() => { - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - venueId = new BigNumber(1); - }); - - beforeEach(() => { - entityMockUtils.configureMocks(); - mockContext = dsMockUtils.getContextInstance(); - - venue = entityMockUtils.getVenueInstance({ id: venueId }); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it('should throw an error if the supplied description is the same as the current one', () => { - const description = 'someDetails'; - - const args = { - venue: entityMockUtils.getVenueInstance({ - details: { - description, - }, - }), - description, - }; - - const proc = procedureMockUtils.getInstance(mockContext); - - return expect(prepareModifyVenue.call(proc, args)).rejects.toThrow( - 'New description is the same as the current one' - ); - }); - - it('should throw an error if the supplied type is the same as the current one', () => { - const type = VenueType.Exchange; - - const args = { - venue: entityMockUtils.getVenueInstance({ - details: { - description: 'someDescription', - type, - }, - }), - type, - }; - - const proc = procedureMockUtils.getInstance(mockContext); - - return expect(prepareModifyVenue.call(proc, args)).rejects.toThrow( - 'New type is the same as the current one' - ); - }); - - it('should add an update venue transaction to the batch', async () => { - const description = 'someDetails'; - const type = VenueType.Exchange; - - const rawDetails = dsMockUtils.createMockBytes(description); - const rawType = dsMockUtils.createMockVenueType(type); - const rawId = dsMockUtils.createMockU64(venueId); - - const args = { - venue, - description, - type, - }; - - jest.spyOn(utilsConversionModule, 'bigNumberToU64').mockReturnValue(rawId); - jest.spyOn(utilsConversionModule, 'stringToBytes').mockReturnValue(rawDetails); - jest.spyOn(utilsConversionModule, 'venueTypeToMeshVenueType').mockReturnValue(rawType); - - const updateVenueDetailsTransaction = dsMockUtils.createTxMock( - 'settlement', - 'updateVenueDetails' - ); - const updateVenueTypeTransaction = dsMockUtils.createTxMock('settlement', 'updateVenueType'); - const proc = procedureMockUtils.getInstance(mockContext); - - let result = await prepareModifyVenue.call(proc, args); - - expect(result).toEqual({ - transactions: [ - { - transaction: updateVenueDetailsTransaction, - args: [rawId, rawDetails], - }, - { - transaction: updateVenueTypeTransaction, - args: [rawId, rawType], - }, - ], - resolver: undefined, - }); - - result = await prepareModifyVenue.call(proc, { - venue, - type, - }); - - expect(result).toEqual({ - transactions: [ - { - transaction: updateVenueTypeTransaction, - args: [rawId, rawType], - }, - ], - resolver: undefined, - }); - - result = await prepareModifyVenue.call(proc, { - venue, - description, - }); - - expect(result).toEqual({ - transactions: [ - { - transaction: updateVenueDetailsTransaction, - args: [rawId, rawDetails], - }, - ], - resolver: undefined, - }); - }); - - describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', () => { - const proc = procedureMockUtils.getInstance(mockContext); - const boundFunc = getAuthorization.bind(proc); - let args = { - venue, - type: VenueType.Distribution, - } as Params; - - expect(boundFunc(args)).toEqual({ - roles: [{ type: RoleType.VenueOwner, venueId }], - permissions: { - portfolios: [], - transactions: [TxTags.settlement.UpdateVenueType], - assets: [], - }, - }); - - args = { - venue, - description: 'someDescription', - } as Params; - - expect(boundFunc(args)).toEqual({ - roles: [{ type: RoleType.VenueOwner, venueId }], - permissions: { - portfolios: [], - transactions: [TxTags.settlement.UpdateVenueDetails], - assets: [], - }, - }); - }); - }); -}); diff --git a/src/api/procedures/__tests__/moveFunds.ts b/src/api/procedures/__tests__/moveFunds.ts deleted file mode 100644 index 7a685a38bc..0000000000 --- a/src/api/procedures/__tests__/moveFunds.ts +++ /dev/null @@ -1,741 +0,0 @@ -import { - PolymeshPrimitivesIdentityIdPortfolioId, - PolymeshPrimitivesPortfolioFund, -} from '@polkadot/types/lookup'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { getAuthorization, Params, prepareMoveFunds } from '~/api/procedures/moveFunds'; -import * as procedureUtilsModule from '~/api/procedures/utils'; -import { - Context, - DefaultPortfolio, - Nft, - NftCollection, - NumberedPortfolio, - PolymeshError, -} from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { - ErrorCode, - FungiblePortfolioMovement, - NonFungiblePortfolioMovement, - PortfolioBalance, - PortfolioId, - PortfolioMovement, - RoleType, - TxTags, -} from '~/types'; -import * as utilsConversionModule from '~/utils/conversion'; -import { asTicker } from '~/utils/internal'; - -jest.mock( - '~/api/entities/NumberedPortfolio', - require('~/testUtils/mocks/entities').mockNumberedPortfolioModule( - '~/api/entities/NumberedPortfolio' - ) -); - -jest.mock( - '~/api/entities/DefaultPortfolio', - require('~/testUtils/mocks/entities').mockDefaultPortfolioModule( - '~/api/entities/DefaultPortfolio' - ) -); - -jest.mock( - '~/api/entities/Asset/Fungible', - require('~/testUtils/mocks/entities').mockFungibleAssetModule('~/api/entities/Asset/Fungible') -); -jest.mock( - '~/api/entities/Asset/NonFungible', - require('~/testUtils/mocks/entities').mockNftCollectionModule('~/api/entities/Asset/NonFungible') -); - -describe('moveFunds procedure', () => { - let mockContext: Mocked; - let portfolioIdToMeshPortfolioIdSpy: jest.SpyInstance< - PolymeshPrimitivesIdentityIdPortfolioId, - [PortfolioId, Context] - >; - let fungiblePortfolioMovementToMovePortfolioFundSpy: jest.SpyInstance< - PolymeshPrimitivesPortfolioFund, - [FungiblePortfolioMovement, Context] - >; - let nftMovementToMovePortfolioFundSpy: jest.SpyInstance< - PolymeshPrimitivesPortfolioFund, - [NonFungiblePortfolioMovement, Context] - >; - let portfolioLikeToPortfolioIdSpy: jest.SpyInstance; - let assertPortfolioExistsSpy: jest.SpyInstance; - - beforeAll(() => { - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - portfolioIdToMeshPortfolioIdSpy = jest.spyOn( - utilsConversionModule, - 'portfolioIdToMeshPortfolioId' - ); - fungiblePortfolioMovementToMovePortfolioFundSpy = jest.spyOn( - utilsConversionModule, - 'fungibleMovementToPortfolioFund' - ); - nftMovementToMovePortfolioFundSpy = jest.spyOn( - utilsConversionModule, - 'nftMovementToPortfolioFund' - ); - portfolioLikeToPortfolioIdSpy = jest.spyOn(utilsConversionModule, 'portfolioLikeToPortfolioId'); - assertPortfolioExistsSpy = jest.spyOn(procedureUtilsModule, 'assertPortfolioExists'); - }); - - beforeEach(() => { - mockContext = dsMockUtils.getContextInstance(); - entityMockUtils.configureMocks({ - numberedPortfolioOptions: { - isOwnedBy: true, - }, - }); - assertPortfolioExistsSpy.mockReturnValue(true); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it('should throw an error if both portfolios do not have the same owner', () => { - const fromId = new BigNumber(1); - const fromDid = 'someDid'; - const toId = new BigNumber(2); - const toDid = 'otherDid'; - const fromPortfolio = new NumberedPortfolio({ id: fromId, did: fromDid }, mockContext); - const toPortfolio = entityMockUtils.getNumberedPortfolioInstance({ - id: toId, - did: toDid, - }); - const proc = procedureMockUtils.getInstance(mockContext); - - when(portfolioLikeToPortfolioIdSpy) - .calledWith(fromPortfolio) - .mockReturnValue({ did: fromDid, number: toId }); - when(portfolioLikeToPortfolioIdSpy) - .calledWith(toPortfolio) - .mockReturnValue({ did: toDid, number: toId }); - - return expect( - prepareMoveFunds.call(proc, { - from: fromPortfolio, - to: toPortfolio, - items: [], - }) - ).rejects.toThrow('Both portfolios should have the same owner'); - }); - - it('should throw an error if both portfolios are the same', () => { - const id = new BigNumber(1); - const did = 'someDid'; - const samePortfolio = new NumberedPortfolio({ id, did }, mockContext); - const proc = procedureMockUtils.getInstance(mockContext); - const fakePortfolioId = { did, number: id }; - - when(portfolioLikeToPortfolioIdSpy).calledWith(samePortfolio).mockReturnValue(fakePortfolioId); - when(portfolioLikeToPortfolioIdSpy).calledWith(samePortfolio).mockReturnValue(fakePortfolioId); - - return expect( - prepareMoveFunds.call(proc, { - from: samePortfolio, - to: samePortfolio, - items: [], - }) - ).rejects.toThrow('Origin and destination should be different Portfolios'); - }); - - it('should throw an error if an Asset is specified more than once', () => { - const fromId = new BigNumber(1); - const fromDid = 'someDid'; - const id = new BigNumber(1); - const did = 'someDid'; - const toPortfolio = new NumberedPortfolio({ id, did }, mockContext); - const fromPortfolio = new NumberedPortfolio({ id: fromId, did: fromDid }, mockContext); - const proc = procedureMockUtils.getInstance(mockContext); - const toPortfolioId = { did, number: id }; - - entityMockUtils.configureMocks({ - fungibleAssetOptions: { - exists: true, - }, - nftCollectionOptions: { - exists: false, - }, - }); - - when(portfolioLikeToPortfolioIdSpy).calledWith(toPortfolio).mockReturnValue(toPortfolioId); - when(portfolioLikeToPortfolioIdSpy).calledWith(toPortfolio).mockReturnValue(fromId); - - return expect( - prepareMoveFunds.call(proc, { - from: fromPortfolio, - to: toPortfolio, - items: [ - { asset: 'TICKER', amount: new BigNumber(10) }, - { asset: 'TICKER', amount: new BigNumber(20) }, - ], - }) - ).rejects.toThrow('Portfolio movements cannot contain any Asset more than once'); - }); - - it('should throw an error if some of the amount Asset to move exceeds its balance', async () => { - const fromId = new BigNumber(1); - const toId = new BigNumber(2); - const did = 'someDid'; - const asset1 = entityMockUtils.getFungibleAssetInstance({ ticker: 'TICKER001' }); - const asset2 = entityMockUtils.getFungibleAssetInstance({ ticker: 'TICKER002' }); - - entityMockUtils.configureMocks({ - nftCollectionOptions: { exists: false }, - }); - const items: PortfolioMovement[] = [ - { - asset: asset1.ticker, - amount: new BigNumber(100), - }, - { - asset: asset2, - amount: new BigNumber(20), - }, - ]; - - entityMockUtils.configureMocks({ - numberedPortfolioOptions: { - getAssetBalances: [ - { asset: asset1, free: new BigNumber(50) }, - { asset: asset2, free: new BigNumber(10) }, - ] as unknown as PortfolioBalance[], - }, - }); - - const from = entityMockUtils.getNumberedPortfolioInstance({ id: fromId, did }); - const to = entityMockUtils.getNumberedPortfolioInstance({ id: toId, did }); - - when(portfolioLikeToPortfolioIdSpy).calledWith(from).mockReturnValue({ did, number: fromId }); - when(portfolioLikeToPortfolioIdSpy).calledWith(to).mockReturnValue({ did, number: toId }); - - const proc = procedureMockUtils.getInstance(mockContext); - - let error; - - try { - await prepareMoveFunds.call(proc, { - from, - to, - items, - }); - } catch (err) { - error = err; - } - - expect(error.message).toBe( - "Some of the amounts being transferred exceed the Portfolio's balance" - ); - expect(error.data.balanceExceeded).toMatchObject(items); - }); - - it('should throw if the NFT is not owned', async () => { - const fromId = new BigNumber(1); - const toId = new BigNumber(2); - const did = 'someDid'; - const ticker = 'TICKER'; - const context = dsMockUtils.getContextInstance(); - - const asset = new NftCollection({ ticker }, context); - - entityMockUtils.configureMocks({ - fungibleAssetOptions: { - exists: false, - }, - nftCollectionOptions: { - exists: true, - }, - numberedPortfolioOptions: { - did, - getAssetBalances: [], - getCollections: [], - }, - defaultPortfolioOptions: { - did, - getAssetBalances: [], - getCollections: [], - }, - }); - - const items: PortfolioMovement[] = [ - { - asset, - nfts: [new BigNumber(100)], - }, - ]; - - const from = entityMockUtils.getNumberedPortfolioInstance({ id: fromId, did }); - const to = entityMockUtils.getNumberedPortfolioInstance({ id: toId, did }); - - const proc = procedureMockUtils.getInstance(mockContext); - - const expectedError = new PolymeshError({ - code: ErrorCode.InsufficientBalance, - message: 'Some of the NFTs are not available in the sending portfolio', - }); - - await expect( - prepareMoveFunds.call(proc, { - from, - to, - items, - }) - ).rejects.toThrow(expectedError); - }); - - it('should throw an error if "amount" is not given for a fungible asset', async () => { - const fromId = new BigNumber(1); - const toId = new BigNumber(2); - const did = 'someDid'; - const ticker = 'TICKER'; - - entityMockUtils.configureMocks({ - fungibleAssetOptions: { - exists: true, - }, - nftCollectionOptions: { - exists: false, - }, - }); - - const items: PortfolioMovement[] = [ - { - asset: ticker, - nfts: [new BigNumber(100)], - }, - ]; - - const from = entityMockUtils.getNumberedPortfolioInstance({ id: fromId, did }); - const to = entityMockUtils.getNumberedPortfolioInstance({ id: toId, did }); - - const proc = procedureMockUtils.getInstance(mockContext); - - const expectedError = new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'The key "amount" should be present in a fungible portfolio movement', - }); - - await expect( - prepareMoveFunds.call(proc, { - from, - to, - items, - }) - ).rejects.toThrow(expectedError); - }); - - it('should throw an error if "nfts" is not given for a collection', async () => { - const fromId = new BigNumber(1); - const toId = new BigNumber(2); - const did = 'someDid'; - const ticker = 'TICKER'; - - entityMockUtils.configureMocks({ - fungibleAssetOptions: { - exists: false, - }, - nftCollectionOptions: { - exists: true, - }, - }); - - const items: PortfolioMovement[] = [ - { - asset: ticker, - amount: new BigNumber(100), - }, - ]; - - const from = entityMockUtils.getNumberedPortfolioInstance({ id: fromId, did }); - const to = entityMockUtils.getNumberedPortfolioInstance({ id: toId, did }); - - const proc = procedureMockUtils.getInstance(mockContext); - - const expectedError = new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'The key "nfts" should be present in an NFT portfolio movement', - }); - - await expect( - prepareMoveFunds.call(proc, { - from, - to, - items, - }) - ).rejects.toThrow(expectedError); - }); - - it('should throw if given an asset that does not exist', async () => { - const fromId = new BigNumber(1); - const toId = new BigNumber(2); - const did = 'someDid'; - const ticker = 'TICKER'; - - entityMockUtils.configureMocks({ - fungibleAssetOptions: { exists: false }, - nftCollectionOptions: { exists: false }, - }); - const items: PortfolioMovement[] = [ - { - asset: ticker, - amount: new BigNumber(100), - }, - ]; - - const from = entityMockUtils.getNumberedPortfolioInstance({ id: fromId, did }); - const to = entityMockUtils.getNumberedPortfolioInstance({ id: toId, did }); - - const proc = procedureMockUtils.getInstance(mockContext); - - const expectedError = new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: `No asset exists with ticker: "${ticker}"`, - }); - - await expect( - prepareMoveFunds.call(proc, { - from, - to, - items, - }) - ).rejects.toThrow(expectedError); - }); - - it('should return a move portfolio funds transaction spec', async () => { - const fromId = new BigNumber(1); - const toId = new BigNumber(2); - const did = 'someDid'; - const asset = entityMockUtils.getFungibleAssetInstance({ ticker: 'TICKER001' }); - entityMockUtils.configureMocks({ - nftCollectionOptions: { exists: false }, - }); - - const items: FungiblePortfolioMovement[] = [ - { - asset: asset.ticker, - amount: new BigNumber(100), - }, - ]; - - entityMockUtils.configureMocks({ - numberedPortfolioOptions: { - did, - getAssetBalances: [{ asset, total: new BigNumber(150) }] as unknown as PortfolioBalance[], - getCollections: [], - }, - defaultPortfolioOptions: { - did, - getAssetBalances: [{ asset, total: new BigNumber(150) }] as unknown as PortfolioBalance[], - getCollections: [], - }, - }); - - const from = entityMockUtils.getNumberedPortfolioInstance({ id: fromId, did }); - const to = entityMockUtils.getNumberedPortfolioInstance({ id: toId, did }); - - let fromPortfolioId: { did: string; number?: BigNumber } = { did, number: fromId }; - let toPortfolioId: { did: string; number?: BigNumber } = { did, number: toId }; - - when(portfolioLikeToPortfolioIdSpy).calledWith(from).mockReturnValue(fromPortfolioId); - when(portfolioLikeToPortfolioIdSpy).calledWith(to).mockReturnValue(toPortfolioId); - when(portfolioLikeToPortfolioIdSpy) - .calledWith(expect.objectContaining({ owner: expect.objectContaining({ did }), id: toId })) - .mockReturnValue(toPortfolioId); - - let rawFromMeshPortfolioId = dsMockUtils.createMockPortfolioId({ - did: dsMockUtils.createMockIdentityId(did), - kind: dsMockUtils.createMockPortfolioKind({ - User: dsMockUtils.createMockU64(fromId), - }), - }); - when(portfolioIdToMeshPortfolioIdSpy) - .calledWith(fromPortfolioId, mockContext) - .mockReturnValue(rawFromMeshPortfolioId); - - let rawToMeshPortfolioId = dsMockUtils.createMockPortfolioId({ - did: dsMockUtils.createMockIdentityId(did), - kind: dsMockUtils.createMockPortfolioKind({ - User: dsMockUtils.createMockU64(toId), - }), - }); - when(portfolioIdToMeshPortfolioIdSpy) - .calledWith(toPortfolioId, mockContext) - .mockReturnValue(rawToMeshPortfolioId); - - const rawMovePortfolioItem = dsMockUtils.createMockMovePortfolioItem({ - ticker: dsMockUtils.createMockTicker(asTicker(items[0].asset)), - amount: dsMockUtils.createMockBalance(items[0].amount), - }); - when(fungiblePortfolioMovementToMovePortfolioFundSpy) - .calledWith(items[0], mockContext) - .mockReturnValue(rawMovePortfolioItem); - - const proc = procedureMockUtils.getInstance(mockContext); - - const transaction = dsMockUtils.createTxMock('portfolio', 'movePortfolioFunds'); - - let result = await prepareMoveFunds.call(proc, { - from, - to: toId, - items, - }); - - expect(result).toEqual({ - transaction, - args: [rawFromMeshPortfolioId, rawToMeshPortfolioId, [rawMovePortfolioItem]], - resolver: undefined, - }); - - toPortfolioId = { did }; - - when(portfolioLikeToPortfolioIdSpy) - .calledWith( - expect.objectContaining({ owner: expect.objectContaining({ did }), id: undefined }) - ) - .mockReturnValue(toPortfolioId); - - rawToMeshPortfolioId = dsMockUtils.createMockPortfolioId({ - did: dsMockUtils.createMockIdentityId(did), - kind: dsMockUtils.createMockPortfolioKind('Default'), - }); - when(portfolioIdToMeshPortfolioIdSpy) - .calledWith(toPortfolioId, mockContext) - .mockReturnValue(rawToMeshPortfolioId); - - result = await prepareMoveFunds.call(proc, { - from, - items, - }); - - expect(result).toEqual({ - transaction, - args: [rawFromMeshPortfolioId, rawToMeshPortfolioId, [rawMovePortfolioItem]], - resolver: undefined, - }); - - const defaultFrom = entityMockUtils.getDefaultPortfolioInstance({ did }); - - fromPortfolioId = { did }; - toPortfolioId = { did, number: toId }; - - when(portfolioLikeToPortfolioIdSpy).calledWith(defaultFrom).mockReturnValue(fromPortfolioId); - when(portfolioLikeToPortfolioIdSpy).calledWith(to).mockReturnValue(toPortfolioId); - - rawFromMeshPortfolioId = dsMockUtils.createMockPortfolioId({ - did: dsMockUtils.createMockIdentityId(did), - kind: dsMockUtils.createMockPortfolioKind('Default'), - }); - when(portfolioIdToMeshPortfolioIdSpy) - .calledWith(fromPortfolioId, mockContext) - .mockReturnValue(rawFromMeshPortfolioId); - - rawToMeshPortfolioId = dsMockUtils.createMockPortfolioId({ - did: dsMockUtils.createMockIdentityId(did), - kind: dsMockUtils.createMockPortfolioKind({ - User: dsMockUtils.createMockU64(toId), - }), - }); - when(portfolioIdToMeshPortfolioIdSpy) - .calledWith(toPortfolioId, mockContext) - .mockReturnValue(rawToMeshPortfolioId); - - result = await prepareMoveFunds.call(proc, { - from: defaultFrom, - to, - items, - }); - - expect(result).toEqual({ - transaction, - args: [rawFromMeshPortfolioId, rawToMeshPortfolioId, [rawMovePortfolioItem]], - resolver: undefined, - }); - }); - - it('should handle NFT movements', async () => { - const fromId = new BigNumber(1); - const toId = new BigNumber(2); - const did = 'someDid'; - const ticker = 'TICKER'; - const context = dsMockUtils.getContextInstance(); - const asset = entityMockUtils.getNftCollectionInstance({ ticker: 'TICKER001' }); - const assetTwo = entityMockUtils.getNftCollectionInstance({ ticker: 'TICKER002' }); - entityMockUtils.configureMocks({ - nftCollectionOptions: { exists: true }, - }); - - const nftOne = new Nft({ ticker, id: new BigNumber(1) }, context); - const nftTwo = new Nft({ ticker: assetTwo.ticker, id: new BigNumber(2) }, context); - - const items: NonFungiblePortfolioMovement[] = [ - { - asset: asset.ticker, - nfts: [nftOne.id], - }, - { - asset: assetTwo, - nfts: [nftTwo], - }, - ]; - - entityMockUtils.configureMocks({ - numberedPortfolioOptions: { - did, - getAssetBalances: [], - getCollections: [ - { collection: asset, free: [nftOne], locked: [], total: new BigNumber(1) }, - { collection: assetTwo, free: [nftTwo], locked: [], total: new BigNumber(1) }, - ], - }, - defaultPortfolioOptions: { - did, - getAssetBalances: [], - getCollections: [], - }, - }); - - const from = entityMockUtils.getNumberedPortfolioInstance({ id: fromId, did }); - const to = entityMockUtils.getNumberedPortfolioInstance({ id: toId, did }); - - const fromPortfolioId: { did: string; number?: BigNumber } = { did, number: fromId }; - const toPortfolioId: { did: string; number?: BigNumber } = { did, number: toId }; - - when(portfolioLikeToPortfolioIdSpy).calledWith(from).mockReturnValue(fromPortfolioId); - when(portfolioLikeToPortfolioIdSpy).calledWith(to).mockReturnValue(toPortfolioId); - when(portfolioLikeToPortfolioIdSpy) - .calledWith(expect.objectContaining({ owner: expect.objectContaining({ did }), id: toId })) - .mockReturnValue(toPortfolioId); - - const rawFromMeshPortfolioId = dsMockUtils.createMockPortfolioId({ - did: dsMockUtils.createMockIdentityId(did), - kind: dsMockUtils.createMockPortfolioKind({ - User: dsMockUtils.createMockU64(fromId), - }), - }); - when(portfolioIdToMeshPortfolioIdSpy) - .calledWith(fromPortfolioId, mockContext) - .mockReturnValue(rawFromMeshPortfolioId); - - const rawToMeshPortfolioId = dsMockUtils.createMockPortfolioId({ - did: dsMockUtils.createMockIdentityId(did), - kind: dsMockUtils.createMockPortfolioKind({ - User: dsMockUtils.createMockU64(toId), - }), - }); - when(portfolioIdToMeshPortfolioIdSpy) - .calledWith(toPortfolioId, mockContext) - .mockReturnValue(rawToMeshPortfolioId); - - const rawMovePortfolioItem = 'mockItem' as unknown as PolymeshPrimitivesPortfolioFund; - when(nftMovementToMovePortfolioFundSpy) - .calledWith(items[0], mockContext) - .mockReturnValue(rawMovePortfolioItem); - - const proc = procedureMockUtils.getInstance(mockContext); - - const transaction = dsMockUtils.createTxMock('portfolio', 'movePortfolioFunds'); - - const result = await prepareMoveFunds.call(proc, { - from, - to: toId, - items, - }); - - expect(result).toEqual({ - transaction, - args: [rawFromMeshPortfolioId, rawToMeshPortfolioId, [rawMovePortfolioItem]], - resolver: undefined, - }); - }); - - describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', () => { - const proc = procedureMockUtils.getInstance(mockContext); - const boundFunc = getAuthorization.bind(proc); - const fromId = new BigNumber(1); - const toId = new BigNumber(10); - const did = 'someDid'; - let from: DefaultPortfolio | NumberedPortfolio = entityMockUtils.getNumberedPortfolioInstance( - { did, id: fromId } - ); - const to = entityMockUtils.getNumberedPortfolioInstance({ did, id: toId }); - - let args = { - from, - } as unknown as Params; - - let portfolioId: PortfolioId = { did, number: fromId }; - - expect(boundFunc(args)).toEqual({ - roles: [{ type: RoleType.PortfolioCustodian, portfolioId }], - permissions: { - transactions: [TxTags.portfolio.MovePortfolioFunds], - portfolios: [ - expect.objectContaining({ owner: expect.objectContaining({ did }), id: fromId }), - expect.objectContaining({ owner: expect.objectContaining({ did }) }), - ], - assets: [], - }, - }); - - from = entityMockUtils.getDefaultPortfolioInstance({ did }); - - args = { - from, - to: toId, - } as unknown as Params; - - portfolioId = { did }; - - expect(boundFunc(args)).toEqual({ - roles: [{ type: RoleType.PortfolioCustodian, portfolioId }], - permissions: { - transactions: [TxTags.portfolio.MovePortfolioFunds], - portfolios: [ - expect.objectContaining({ owner: expect.objectContaining({ did }) }), - expect.objectContaining({ owner: expect.objectContaining({ did }), id: toId }), - ], - assets: [], - }, - }); - - args = { - from, - to, - } as unknown as Params; - - portfolioId = { did }; - - expect(boundFunc(args)).toEqual({ - roles: [{ type: RoleType.PortfolioCustodian, portfolioId }], - permissions: { - transactions: [TxTags.portfolio.MovePortfolioFunds], - portfolios: [ - expect.objectContaining({ owner: expect.objectContaining({ did }) }), - expect.objectContaining({ owner: expect.objectContaining({ did }), id: toId }), - ], - assets: [], - }, - }); - }); - }); -}); diff --git a/src/api/procedures/__tests__/payDividends.ts b/src/api/procedures/__tests__/payDividends.ts deleted file mode 100644 index 09266ba2a0..0000000000 --- a/src/api/procedures/__tests__/payDividends.ts +++ /dev/null @@ -1,233 +0,0 @@ -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { getAuthorization, Params, preparePayDividends } from '~/api/procedures/payDividends'; -import { Context, DividendDistribution } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { TargetTreatment, TxTags } from '~/types'; -import { PolymeshTx } from '~/types/internal'; -import * as utilsConversionModule from '~/utils/conversion'; - -describe('payDividends procedure', () => { - const ticker = 'SOME_TICKER'; - const did = 'someDid'; - const id = new BigNumber(1); - const paymentDate = new Date('10/14/1987'); - const expiryDate = new Date(new Date().getTime() + 1000 * 60 * 60 * 24 * 365); - - const rawCaId = dsMockUtils.createMockCAId({ ticker, localId: id }); - - let distribution: DividendDistribution; - - let mockContext: Mocked; - let stringToIdentityIdSpy: jest.SpyInstance; - let payDividendsTransaction: PolymeshTx; - - beforeAll(() => { - entityMockUtils.initMocks({ - dividendDistributionOptions: { - ticker, - id, - paymentDate, - expiryDate, - }, - }); - dsMockUtils.initMocks({ contextOptions: { did } }); - procedureMockUtils.initMocks(); - - jest.spyOn(utilsConversionModule, 'corporateActionIdentifierToCaId').mockReturnValue(rawCaId); - stringToIdentityIdSpy = jest.spyOn(utilsConversionModule, 'stringToIdentityId'); - }); - - beforeEach(() => { - payDividendsTransaction = dsMockUtils.createTxMock('capitalDistribution', 'pushBenefit'); - mockContext = dsMockUtils.getContextInstance(); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it('should return a stop Offering transaction spec', async () => { - const targets = ['someDid']; - const identityId = dsMockUtils.createMockIdentityId(targets[0]); - - dsMockUtils.createQueryMock('capitalDistribution', 'holderPaid', { - multi: [dsMockUtils.createMockBool(false)], - }); - - distribution = entityMockUtils.getDividendDistributionInstance({ - targets: { - identities: targets.map(identityDid => - entityMockUtils.getIdentityInstance({ did: identityDid }) - ), - treatment: TargetTreatment.Include, - }, - ticker, - id, - paymentDate, - expiryDate, - }); - - stringToIdentityIdSpy.mockReturnValue(identityId); - - const proc = procedureMockUtils.getInstance(mockContext); - - const result = await preparePayDividends.call(proc, { targets, distribution }); - - expect(result).toEqual({ - transactions: [{ transaction: payDividendsTransaction, args: [rawCaId, identityId] }], - resolver: undefined, - }); - }); - - it('should throw an error if the Distribution is expired', async () => { - const targets = ['someDid']; - const date = new Date(new Date().getTime() + 1000 * 60 * 60); - distribution = entityMockUtils.getDividendDistributionInstance({ - paymentDate: date, - expiryDate, - }); - - const proc = procedureMockUtils.getInstance(mockContext); - - let err; - - try { - await preparePayDividends.call(proc, { targets, distribution }); - } catch (error) { - err = error; - } - - expect(err.message).toBe("The Distribution's payment date hasn't been reached"); - expect(err.data).toEqual({ - paymentDate: date, - }); - }); - - it('should throw an error if the Distribution is expired', async () => { - const targets = ['someDid']; - const date = new Date(new Date().getTime() - 1000); - distribution = entityMockUtils.getDividendDistributionInstance({ - expiryDate: date, - paymentDate, - }); - - const proc = procedureMockUtils.getInstance(mockContext); - - let err; - - try { - await preparePayDividends.call(proc, { targets, distribution }); - } catch (error) { - err = error; - } - - expect(err.message).toBe('The Distribution has already expired'); - expect(err.data).toEqual({ - expiryDate: date, - }); - }); - - it('should throw an error if some of the supplied targets are not included in the Distribution', async () => { - const excludedDid = 'someDid'; - - dsMockUtils.createQueryMock('capitalDistribution', 'holderPaid', { - multi: [dsMockUtils.createMockBool(true)], - }); - - distribution = entityMockUtils.getDividendDistributionInstance({ - targets: { - identities: [entityMockUtils.getIdentityInstance({ isEqual: false, did: 'otherDid' })], - treatment: TargetTreatment.Include, - }, - paymentDate, - expiryDate, - }); - - const proc = procedureMockUtils.getInstance(mockContext); - - let err; - - try { - await preparePayDividends.call(proc, { targets: [excludedDid], distribution }); - } catch (error) { - err = error; - } - - expect(err.message).toBe( - 'Some of the supplied Identities are not included in this Distribution' - ); - expect(err.data.excluded[0].did).toBe(excludedDid); - }); - - it('should throw an error if some of the supplied targets has already claimed their benefits', async () => { - const dids = ['someDid', 'otherDid']; - const targets = [dids[0], entityMockUtils.getIdentityInstance({ isEqual: true, did: dids[1] })]; - - dsMockUtils.createQueryMock('capitalDistribution', 'holderPaid', { - multi: [dsMockUtils.createMockBool(true)], - }); - - dids.forEach(targetDid => - when(stringToIdentityIdSpy) - .calledWith(targetDid) - .mockReturnValue(dsMockUtils.createMockIdentityId(targetDid)) - ); - - distribution = entityMockUtils.getDividendDistributionInstance({ - targets: { - identities: dids.map(identityDid => - entityMockUtils.getIdentityInstance({ isEqual: true, did: identityDid }) - ), - treatment: TargetTreatment.Include, - }, - expiryDate, - paymentDate, - }); - - const proc = procedureMockUtils.getInstance(mockContext); - - let err; - - try { - await preparePayDividends.call(proc, { targets, distribution }); - } catch (error) { - err = error; - } - - expect(err.message).toBe( - 'Some of the supplied Identities have already either been paid or claimed their share of the Distribution' - ); - expect(err.data.targets[0].did).toEqual(dids[0]); - }); - - describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', async () => { - const proc = procedureMockUtils.getInstance(mockContext); - const boundFunc = getAuthorization.bind(proc); - - distribution = entityMockUtils.getDividendDistributionInstance({ - ticker, - }); - - const result = await boundFunc(); - - expect(result).toEqual({ - permissions: { - assets: [], - portfolios: [], - transactions: [TxTags.capitalDistribution.PushBenefit], - }, - }); - }); - }); -}); diff --git a/src/api/procedures/__tests__/quitCustody.ts b/src/api/procedures/__tests__/quitCustody.ts deleted file mode 100644 index c730029cea..0000000000 --- a/src/api/procedures/__tests__/quitCustody.ts +++ /dev/null @@ -1,193 +0,0 @@ -import { PolymeshPrimitivesIdentityIdPortfolioId } from '@polkadot/types/lookup'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { - getAuthorization, - Params, - prepareQuitCustody, - prepareStorage, - Storage, -} from '~/api/procedures/quitCustody'; -import * as procedureUtilsModule from '~/api/procedures/utils'; -import { Context, DefaultPortfolio, NumberedPortfolio } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { PortfolioId, RoleType, TxTags } from '~/types'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/NumberedPortfolio', - require('~/testUtils/mocks/entities').mockNumberedPortfolioModule( - '~/api/entities/NumberedPortfolio' - ) -); - -describe('quitCustody procedure', () => { - const id = new BigNumber(1); - const did = 'someDid'; - - let mockContext: Mocked; - let portfolioIdToMeshPortfolioIdSpy: jest.SpyInstance< - PolymeshPrimitivesIdentityIdPortfolioId, - [PortfolioId, Context] - >; - let portfolioLikeToPortfolioIdSpy: jest.SpyInstance; - let assertPortfolioExistsSpy: jest.SpyInstance; - - beforeAll(() => { - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - portfolioIdToMeshPortfolioIdSpy = jest.spyOn( - utilsConversionModule, - 'portfolioIdToMeshPortfolioId' - ); - portfolioLikeToPortfolioIdSpy = jest.spyOn(utilsConversionModule, 'portfolioLikeToPortfolioId'); - assertPortfolioExistsSpy = jest.spyOn(procedureUtilsModule, 'assertPortfolioExists'); - }); - - beforeEach(() => { - mockContext = dsMockUtils.getContextInstance(); - entityMockUtils.configureMocks({ - numberedPortfolioOptions: { - isOwnedBy: true, - }, - }); - assertPortfolioExistsSpy.mockReturnValue(true); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it('should throw an error if the signing Identity is the Portfolio owner', async () => { - const portfolio = new NumberedPortfolio({ id, did }, mockContext); - const identity = await mockContext.getSigningIdentity(); - - const proc = procedureMockUtils.getInstance(mockContext, { - portfolioId: { did, number: id }, - }); - - let error; - - try { - await prepareQuitCustody.call(proc, { - portfolio, - }); - } catch (err) { - error = err; - } - - expect(error.message).toBe('The Portfolio owner cannot quit custody'); - expect(portfolio.isOwnedBy).toHaveBeenCalledWith({ identity }); - }); - - it('should return a quit portfolio custody transaction spec', async () => { - const portfolio = entityMockUtils.getNumberedPortfolioInstance({ - id, - did, - isOwnedBy: false, - }); - - const rawMeshPortfolioId = dsMockUtils.createMockPortfolioId({ - did: dsMockUtils.createMockIdentityId(did), - kind: dsMockUtils.createMockPortfolioKind({ - User: dsMockUtils.createMockU64(id), - }), - }); - - const portfolioId: { did: string; number?: BigNumber } = { did, number: id }; - - when(portfolioIdToMeshPortfolioIdSpy) - .calledWith(portfolioId, mockContext) - .mockReturnValue(rawMeshPortfolioId); - - const proc = procedureMockUtils.getInstance(mockContext, { - portfolioId, - }); - - const transaction = dsMockUtils.createTxMock('portfolio', 'quitPortfolioCustody'); - - const result = await prepareQuitCustody.call(proc, { - portfolio, - }); - - expect(result).toEqual({ transaction, args: [rawMeshPortfolioId], resolver: undefined }); - }); - - describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', () => { - let portfolioId: PortfolioId = { did, number: id }; - - let proc = procedureMockUtils.getInstance(mockContext, { - portfolioId, - }); - let boundFunc = getAuthorization.bind(proc); - - let portfolio: DefaultPortfolio | NumberedPortfolio = - entityMockUtils.getNumberedPortfolioInstance({ id, did }); - - let args = { - portfolio, - } as Params; - - expect(boundFunc(args)).toEqual({ - roles: [{ type: RoleType.PortfolioCustodian, portfolioId }], - permissions: { - transactions: [TxTags.portfolio.QuitPortfolioCustody], - portfolios: [expect.objectContaining({ owner: expect.objectContaining({ did }), id })], - assets: [], - }, - }); - - portfolioId = { did }; - - proc = procedureMockUtils.getInstance(mockContext, { - portfolioId, - }); - boundFunc = getAuthorization.bind(proc); - - portfolio = entityMockUtils.getDefaultPortfolioInstance(portfolioId); - - args = { - portfolio, - } as Params; - - expect(boundFunc(args)).toEqual({ - roles: [{ type: RoleType.PortfolioCustodian, portfolioId }], - permissions: { - transactions: [TxTags.portfolio.QuitPortfolioCustody], - portfolios: [expect.objectContaining({ owner: expect.objectContaining({ did }) })], - assets: [], - }, - }); - }); - }); - - describe('prepareStorage', () => { - it('should return the portfolio id', async () => { - const portfolio = new NumberedPortfolio({ id, did }, mockContext); - - const portfolioId: { did: string; number?: BigNumber } = { did, number: id }; - - const proc = procedureMockUtils.getInstance(mockContext); - const boundFunc = prepareStorage.bind(proc); - - when(portfolioLikeToPortfolioIdSpy).calledWith(portfolio).mockReturnValue(portfolioId); - - const result = await boundFunc({ portfolio }); - - expect(result).toEqual({ - portfolioId, - }); - }); - }); -}); diff --git a/src/api/procedures/__tests__/quitSubsidy.ts b/src/api/procedures/__tests__/quitSubsidy.ts deleted file mode 100644 index 2b25c964c8..0000000000 --- a/src/api/procedures/__tests__/quitSubsidy.ts +++ /dev/null @@ -1,127 +0,0 @@ -import { AccountId } from '@polkadot/types/interfaces'; -import { when } from 'jest-when'; - -import { getAuthorization, prepareQuitSubsidy } from '~/api/procedures/quitSubsidy'; -import { Account, Context, QuitSubsidyParams, Subsidy } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { TxTags } from '~/types'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/Subsidy', - require('~/testUtils/mocks/entities').mockSubsidyModule('~/api/entities/Subsidy') -); - -describe('quitSubsidy procedure', () => { - let mockContext: Mocked; - let beneficiary: Account; - let subsidizer: Account; - let subsidy: Subsidy; - let stringToAccountIdSpy: jest.SpyInstance; - let args: QuitSubsidyParams; - - beforeAll(() => { - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - - stringToAccountIdSpy = jest.spyOn(utilsConversionModule, 'stringToAccountId'); - }); - - beforeEach(() => { - mockContext = dsMockUtils.getContextInstance(); - subsidy = entityMockUtils.getSubsidyInstance(); - - subsidizer = entityMockUtils.getAccountInstance({ address: 'subsidizer' }); - beneficiary = entityMockUtils.getAccountInstance({ address: 'beneficiary' }); - - args = { subsidy }; - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it('should throw an error if the Subsidy does not exist', async () => { - const proc = procedureMockUtils.getInstance(mockContext); - - let error; - - try { - await prepareQuitSubsidy.call(proc, { - subsidy: entityMockUtils.getSubsidyInstance({ exists: false }), - }); - } catch (err) { - error = err; - } - - expect(error.message).toBe('The Subsidy no longer exists'); - }); - - it('should return a transaction spec', async () => { - const removePayingKeyTransaction = dsMockUtils.createTxMock('relayer', 'removePayingKey'); - - const rawBeneficiaryAccountId = dsMockUtils.createMockAccountId('beneficiary'); - const rawSubsidizerAccountId = dsMockUtils.createMockAccountId('subsidizer'); - when(stringToAccountIdSpy) - .calledWith('beneficiary', mockContext) - .mockReturnValue(rawBeneficiaryAccountId); - when(stringToAccountIdSpy) - .calledWith('subsidizer', mockContext) - .mockReturnValue(rawSubsidizerAccountId); - - const proc = procedureMockUtils.getInstance(mockContext); - - const result = await prepareQuitSubsidy.call(proc, args); - - expect(result).toEqual({ - transaction: removePayingKeyTransaction, - args: [rawBeneficiaryAccountId, rawSubsidizerAccountId], - resolver: undefined, - }); - }); - - describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', async () => { - const proc = procedureMockUtils.getInstance(mockContext); - - const boundFunc = getAuthorization.bind(proc); - - let result = await boundFunc(args); - expect(result).toEqual({ - roles: 'Only the subsidizer or the beneficiary are allowed to quit a Subsidy', - permissions: { - transactions: [TxTags.relayer.RemovePayingKey], - }, - }); - - mockContext.getSigningAccount.mockReturnValue(subsidizer); - - result = await boundFunc(args); - expect(result).toEqual({ - roles: true, - permissions: { - transactions: [TxTags.relayer.RemovePayingKey], - }, - }); - - mockContext.getSigningAccount.mockReturnValue(beneficiary); - - result = await boundFunc(args); - expect(result).toEqual({ - roles: true, - permissions: { - transactions: [TxTags.relayer.RemovePayingKey], - }, - }); - }); - }); -}); diff --git a/src/api/procedures/__tests__/reclaimDividendDistributionFunds.ts b/src/api/procedures/__tests__/reclaimDividendDistributionFunds.ts deleted file mode 100644 index 783a08bc48..0000000000 --- a/src/api/procedures/__tests__/reclaimDividendDistributionFunds.ts +++ /dev/null @@ -1,147 +0,0 @@ -import BigNumber from 'bignumber.js'; - -import { - getAuthorization, - Params, - prepareReclaimDividendDistributionFunds, -} from '~/api/procedures/reclaimDividendDistributionFunds'; -import { Context, DividendDistribution } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { DefaultPortfolio, RoleType, TxTags } from '~/types'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/Asset/Fungible', - require('~/testUtils/mocks/entities').mockFungibleAssetModule('~/api/entities/Asset/Fungible') -); - -describe('reclaimDividendDistributionFunds procedure', () => { - const ticker = 'SOME_TICKER'; - const id = new BigNumber(1); - const expiryDate = new Date(new Date().getTime() + 1000 * 60 * 60 * 24 * 365); - const did = 'someDid'; - - const rawCaId = dsMockUtils.createMockCAId({ ticker, localId: id }); - - let origin: DefaultPortfolio; - let distribution: DividendDistribution; - - let mockContext: Mocked; - - beforeAll(() => { - entityMockUtils.initMocks(); - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - - jest.spyOn(utilsConversionModule, 'corporateActionIdentifierToCaId').mockReturnValue(rawCaId); - }); - - beforeEach(() => { - mockContext = dsMockUtils.getContextInstance(); - origin = entityMockUtils.getDefaultPortfolioInstance({ - did, - }); - distribution = entityMockUtils.getDividendDistributionInstance({ - origin, - ticker, - id, - expiryDate, - }); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it('should throw an error if the Distribution is not expired', async () => { - const proc = procedureMockUtils.getInstance(mockContext); - - let err; - - try { - await prepareReclaimDividendDistributionFunds.call(proc, { distribution }); - } catch (error) { - err = error; - } - - expect(err.message).toBe('The Distribution must be expired'); - expect(err.data.expiryDate).toEqual(expiryDate); - }); - - it('should throw an error if the Distribution was already reclaimed', async () => { - const proc = procedureMockUtils.getInstance(mockContext); - - let err; - - try { - await prepareReclaimDividendDistributionFunds.call(proc, { - distribution: entityMockUtils.getDividendDistributionInstance({ - origin, - ticker, - id, - expiryDate: new Date(new Date().getTime() - 1000 * 60 * 60 * 24 * 365), - details: { - fundsReclaimed: true, - }, - }), - }); - } catch (error) { - err = error; - } - - expect(err.message).toBe('Distribution funds have already been reclaimed'); - }); - - it('should return a reclaim transaction spec', async () => { - const proc = procedureMockUtils.getInstance(mockContext); - - const transaction = dsMockUtils.createTxMock('capitalDistribution', 'reclaim'); - - const result = await prepareReclaimDividendDistributionFunds.call(proc, { - distribution: entityMockUtils.getDividendDistributionInstance({ - origin, - ticker, - id, - }), - }); - - expect(result).toEqual({ - transaction, - args: [rawCaId], - resolver: undefined, - }); - }); - - describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', async () => { - const params = { - distribution: { - origin, - asset: { ticker }, - }, - } as unknown as Params; - - const proc = procedureMockUtils.getInstance(mockContext); - const boundFunc = getAuthorization.bind(proc); - - const result = await boundFunc(params); - - expect(result).toEqual({ - roles: [{ type: RoleType.PortfolioCustodian, portfolioId: { did } }], - permissions: { - transactions: [TxTags.capitalDistribution.Reclaim], - assets: [expect.objectContaining({ ticker })], - portfolios: [expect.objectContaining({ owner: expect.objectContaining({ did }) })], - }, - }); - }); - }); -}); diff --git a/src/api/procedures/__tests__/redeemNft.ts b/src/api/procedures/__tests__/redeemNft.ts deleted file mode 100644 index b3dd29931a..0000000000 --- a/src/api/procedures/__tests__/redeemNft.ts +++ /dev/null @@ -1,214 +0,0 @@ -import { u64 } from '@polkadot/types'; -import { PolymeshPrimitivesTicker } from '@polkadot/types/lookup'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { - getAuthorization, - Params, - prepareRedeemNft, - prepareStorage, - Storage, -} from '~/api/procedures/redeemNft'; -import { Context, NumberedPortfolio, PolymeshError } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { ErrorCode, TxTags } from '~/types'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/Asset/Fungible', - require('~/testUtils/mocks/entities').mockFungibleAssetModule('~/api/entities/Asset/Fungible') -); -jest.mock( - '~/api/entities/Asset/NonFungible', - require('~/testUtils/mocks/entities').mockNftCollectionModule('~/api/entities/Asset/NonFungible') -); -jest.mock( - '~/api/entities/DefaultPortfolio', - require('~/testUtils/mocks/entities').mockDefaultPortfolioModule( - '~/api/entities/DefaultPortfolio' - ) -); -jest.mock( - '~/api/entities/NumberedPortfolio', - require('~/testUtils/mocks/entities').mockNumberedPortfolioModule( - '~/api/entities/NumberedPortfolio' - ) -); - -describe('redeemNft procedure', () => { - let mockContext: Mocked; - let ticker: string; - let rawTicker: PolymeshPrimitivesTicker; - let id: BigNumber; - let rawId: u64; - let stringToTickerSpy: jest.SpyInstance; - let bigNumberToU64Spy: jest.SpyInstance; - - beforeAll(() => { - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - ticker = 'SOME_TICKER'; - rawTicker = dsMockUtils.createMockTicker(ticker); - id = new BigNumber(1); - rawId = dsMockUtils.createMockU64(id); - stringToTickerSpy = jest.spyOn(utilsConversionModule, 'stringToTicker'); - bigNumberToU64Spy = jest.spyOn(utilsConversionModule, 'bigNumberToU64'); - }); - - beforeEach(() => { - mockContext = dsMockUtils.getContextInstance(); - when(stringToTickerSpy).calledWith(ticker, mockContext).mockReturnValue(rawTicker); - when(bigNumberToU64Spy).calledWith(id, mockContext).mockReturnValue(rawId); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it('should return a redeemNft transaction spec', async () => { - const nft = entityMockUtils.getNftInstance({ ticker, id }); - - const from = entityMockUtils.getNumberedPortfolioInstance({ - id: new BigNumber(1), - getCollections: [ - { - collection: entityMockUtils.getNftCollectionInstance({ ticker }), - free: [nft], - locked: [], - total: new BigNumber(1), - }, - ], - }); - const proc = procedureMockUtils.getInstance(mockContext, { - fromPortfolio: from, - }); - - const transaction = dsMockUtils.createTxMock('nft', 'redeemNft'); - - const rawPortfolioKind = dsMockUtils.createMockPortfolioKind({ - User: dsMockUtils.createMockU64(new BigNumber(1)), - }); - - when(jest.spyOn(utilsConversionModule, 'portfolioToPortfolioKind')) - .calledWith(from, mockContext) - .mockReturnValue(rawPortfolioKind); - - const result = await prepareRedeemNft.call(proc, { - ticker, - id, - from, - }); - expect(result).toEqual({ - transaction, - args: [rawTicker, rawId, rawPortfolioKind], - resolver: undefined, - }); - }); - - it('should throw an error if the portfolio does not have the NFT to redeem', () => { - const proc = procedureMockUtils.getInstance(mockContext, { - fromPortfolio: entityMockUtils.getNumberedPortfolioInstance({ - getCollections: [ - { - collection: entityMockUtils.getNftCollectionInstance({ ticker }), - free: [], - locked: [], - total: new BigNumber(0), - }, - ], - }), - }); - - const expectedError = new PolymeshError({ - code: ErrorCode.InsufficientBalance, - message: 'Portfolio does not hold NFT to redeem', - }); - - return expect( - prepareRedeemNft.call(proc, { - ticker, - id, - }) - ).rejects.toThrow(expectedError); - }); - - describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', async () => { - const someDid = 'someDid'; - - dsMockUtils.getContextInstance({ did: someDid }); - - const fromPortfolio = entityMockUtils.getDefaultPortfolioInstance({ - did: someDid, - }); - - const proc = procedureMockUtils.getInstance(mockContext, { - fromPortfolio, - }); - - const params = { - ticker, - id, - }; - const boundFunc = getAuthorization.bind(proc); - - const result = await boundFunc(params); - - expect(result).toEqual({ - permissions: { - transactions: [TxTags.nft.RedeemNft], - assets: [expect.objectContaining({ ticker })], - portfolios: [fromPortfolio], - }, - }); - }); - }); - - describe('prepareStorage', () => { - it('should return the Portfolio from which the NFT will be redeemed from', async () => { - const proc = procedureMockUtils.getInstance(mockContext); - const boundFunc = prepareStorage.bind(proc); - let result = await boundFunc({} as Params); - - expect(result).toEqual({ - fromPortfolio: expect.objectContaining({ - owner: expect.objectContaining({ - did: 'someDid', - }), - }), - }); - - result = await boundFunc({ - from: new BigNumber(1), - } as Params); - - expect(result).toEqual({ - fromPortfolio: expect.objectContaining({ - id: new BigNumber(1), - owner: expect.objectContaining({ - did: 'someDid', - }), - }), - }); - - const from = new NumberedPortfolio({ did: 'someDid', id: new BigNumber(1) }, mockContext); - result = await boundFunc({ - from, - } as Params); - - expect(result).toEqual({ - fromPortfolio: from, - }); - }); - }); -}); diff --git a/src/api/procedures/__tests__/redeemTokens.ts b/src/api/procedures/__tests__/redeemTokens.ts deleted file mode 100644 index 490bb13094..0000000000 --- a/src/api/procedures/__tests__/redeemTokens.ts +++ /dev/null @@ -1,253 +0,0 @@ -import { Balance } from '@polkadot/types/interfaces'; -import { PolymeshPrimitivesTicker } from '@polkadot/types/lookup'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { - getAuthorization, - Params, - prepareRedeemTokens, - prepareStorage, - Storage, -} from '~/api/procedures/redeemTokens'; -import { Context, NumberedPortfolio } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { PortfolioBalance, TxTags } from '~/types'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/Asset/Fungible', - require('~/testUtils/mocks/entities').mockFungibleAssetModule('~/api/entities/Asset/Fungible') -); -jest.mock( - '~/api/entities/Asset/NonFungible', - require('~/testUtils/mocks/entities').mockNftCollectionModule('~/api/entities/Asset/NonFungible') -); -jest.mock( - '~/api/entities/DefaultPortfolio', - require('~/testUtils/mocks/entities').mockDefaultPortfolioModule( - '~/api/entities/DefaultPortfolio' - ) -); -jest.mock( - '~/api/entities/NumberedPortfolio', - require('~/testUtils/mocks/entities').mockNumberedPortfolioModule( - '~/api/entities/NumberedPortfolio' - ) -); - -describe('redeemTokens procedure', () => { - let mockContext: Mocked; - let ticker: string; - let rawTicker: PolymeshPrimitivesTicker; - let amount: BigNumber; - let rawAmount: Balance; - let stringToTickerSpy: jest.SpyInstance; - let bigNumberToBalanceSpy: jest.SpyInstance< - Balance, - [BigNumber, Context, (boolean | undefined)?] - >; - - beforeAll(() => { - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - ticker = 'SOME_TICKER'; - rawTicker = dsMockUtils.createMockTicker(ticker); - amount = new BigNumber(100); - rawAmount = dsMockUtils.createMockBalance(amount); - stringToTickerSpy = jest.spyOn(utilsConversionModule, 'stringToTicker'); - bigNumberToBalanceSpy = jest.spyOn(utilsConversionModule, 'bigNumberToBalance'); - }); - - beforeEach(() => { - mockContext = dsMockUtils.getContextInstance(); - when(stringToTickerSpy).calledWith(ticker, mockContext).mockReturnValue(rawTicker); - when(bigNumberToBalanceSpy).calledWith(amount, mockContext, true).mockReturnValue(rawAmount); - entityMockUtils.configureMocks({ - fungibleAssetOptions: { - details: { - isDivisible: true, - }, - }, - }); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it('should return a redeem transaction spec', async () => { - const proc = procedureMockUtils.getInstance(mockContext, { - fromPortfolio: entityMockUtils.getDefaultPortfolioInstance({ - getAssetBalances: [ - { - asset: entityMockUtils.getFungibleAssetInstance({ ticker }), - free: new BigNumber(500), - } as unknown as PortfolioBalance, - ], - }), - }); - - const transaction = dsMockUtils.createTxMock('asset', 'redeem'); - - const result = await prepareRedeemTokens.call(proc, { - ticker, - amount, - }); - - expect(result).toEqual({ transaction, args: [rawTicker, rawAmount], resolver: undefined }); - }); - - it('should return a redeemFromPortfolio transaction spec', async () => { - const from = entityMockUtils.getNumberedPortfolioInstance({ - id: new BigNumber(1), - getAssetBalances: [ - { - asset: entityMockUtils.getFungibleAssetInstance({ ticker }), - free: new BigNumber(500), - } as unknown as PortfolioBalance, - ], - }); - const proc = procedureMockUtils.getInstance(mockContext, { - fromPortfolio: from, - }); - - const transaction = dsMockUtils.createTxMock('asset', 'redeemFromPortfolio'); - - const rawPortfolioKind = dsMockUtils.createMockPortfolioKind({ - User: dsMockUtils.createMockU64(new BigNumber(1)), - }); - - when(jest.spyOn(utilsConversionModule, 'portfolioToPortfolioKind')) - .calledWith(from, mockContext) - .mockReturnValue(rawPortfolioKind); - - const result = await prepareRedeemTokens.call(proc, { - ticker, - amount, - from, - }); - expect(result).toEqual({ - transaction, - args: [rawTicker, rawAmount, rawPortfolioKind], - resolver: undefined, - }); - }); - - it('should throw an error if the portfolio has not sufficient balance to redeem', () => { - const proc = procedureMockUtils.getInstance(mockContext, { - fromPortfolio: entityMockUtils.getNumberedPortfolioInstance({ - getAssetBalances: [ - { - asset: entityMockUtils.getFungibleAssetInstance({ ticker }), - free: new BigNumber(0), - } as unknown as PortfolioBalance, - ], - }), - }); - - return expect( - prepareRedeemTokens.call(proc, { - ticker, - amount, - }) - ).rejects.toThrow('Insufficient free balance'); - }); - - describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', async () => { - const someDid = 'someDid'; - - dsMockUtils.getContextInstance({ did: someDid }); - - let fromPortfolio = entityMockUtils.getDefaultPortfolioInstance({ - did: someDid, - }); - - let proc = procedureMockUtils.getInstance(mockContext, { - fromPortfolio, - }); - - const params = { - ticker, - amount, - }; - let boundFunc = getAuthorization.bind(proc); - - let result = await boundFunc(params); - - expect(result).toEqual({ - permissions: { - transactions: [TxTags.asset.Redeem], - assets: [expect.objectContaining({ ticker })], - portfolios: [fromPortfolio], - }, - }); - - fromPortfolio = entityMockUtils.getNumberedPortfolioInstance(); - - proc = procedureMockUtils.getInstance(mockContext, { - fromPortfolio, - }); - - boundFunc = getAuthorization.bind(proc); - - result = await boundFunc({ ...params, from: fromPortfolio }); - - expect(result).toEqual({ - permissions: { - transactions: [TxTags.asset.RedeemFromPortfolio], - assets: [expect.objectContaining({ ticker })], - portfolios: [fromPortfolio], - }, - }); - }); - }); - - describe('prepareStorage', () => { - it('should return the Portfolio from which the Assets will be redeemed', async () => { - const proc = procedureMockUtils.getInstance(mockContext); - const boundFunc = prepareStorage.bind(proc); - let result = await boundFunc({} as Params); - - expect(result).toEqual({ - fromPortfolio: expect.objectContaining({ - owner: expect.objectContaining({ - did: 'someDid', - }), - }), - }); - - result = await boundFunc({ - from: new BigNumber(1), - } as Params); - - expect(result).toEqual({ - fromPortfolio: expect.objectContaining({ - id: new BigNumber(1), - owner: expect.objectContaining({ - did: 'someDid', - }), - }), - }); - - const from = new NumberedPortfolio({ did: 'someDid', id: new BigNumber(1) }, mockContext); - result = await boundFunc({ - from, - } as Params); - - expect(result).toEqual({ - fromPortfolio: from, - }); - }); - }); -}); diff --git a/src/api/procedures/__tests__/registerCustomClaimType.ts b/src/api/procedures/__tests__/registerCustomClaimType.ts deleted file mode 100644 index 26290d10ac..0000000000 --- a/src/api/procedures/__tests__/registerCustomClaimType.ts +++ /dev/null @@ -1,166 +0,0 @@ -import { Bytes, u32 } from '@polkadot/types'; -import { ISubmittableResult } from '@polkadot/types/types'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { - createRegisterCustomClaimTypeResolver, - Params, - prepareRegisterCustomClaimType, - registerCustomClaimType, -} from '~/api/procedures/registerCustomClaimType'; -import { Context, PolymeshError, Procedure } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { ErrorCode } from '~/types'; -import { PolymeshTx } from '~/types/internal'; -import * as utilsConversionModule from '~/utils/conversion'; -import * as utilsInternalModule from '~/utils/internal'; - -describe('registerCustomClaimType procedure', () => { - let mockContext: Mocked; - let u32ToBigNumberSpy: jest.SpyInstance; - let stringToBytesSpy: jest.SpyInstance; - - let customClaimTypeNameMaxLength: BigNumber; - let rawCustomClaimTypeNameMaxLength: u32; - let params: Params; - let name: string; - let rawName: Bytes; - let registerCustomClaimTypeTxMock: PolymeshTx<[string]>; - - beforeAll(() => { - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - - u32ToBigNumberSpy = jest.spyOn(utilsConversionModule, 'u32ToBigNumber'); - stringToBytesSpy = jest.spyOn(utilsConversionModule, 'stringToBytes'); - }); - - beforeEach(() => { - mockContext = dsMockUtils.getContextInstance(); - customClaimTypeNameMaxLength = new BigNumber(15); - rawCustomClaimTypeNameMaxLength = dsMockUtils.createMockU32(customClaimTypeNameMaxLength); - - dsMockUtils.setConstMock('base', 'maxLen', { - returnValue: rawCustomClaimTypeNameMaxLength, - }); - - when(u32ToBigNumberSpy) - .calledWith(rawCustomClaimTypeNameMaxLength) - .mockReturnValue(customClaimTypeNameMaxLength); - - name = 'SOME_NAME'; - rawName = dsMockUtils.createMockBytes(name); - when(stringToBytesSpy).calledWith(name, mockContext).mockReturnValue(rawName); - - params = { - name, - }; - - dsMockUtils.createQueryMock('identity', 'customClaimsInverse'); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - jest.restoreAllMocks(); - }); - - it('should throw an error if attempting to add a CustomClaimType with a name exceeding the max length', () => { - params = { - ...params, - name: 'NAME_EXCEEDING_MAX_LENGTH', - }; - const proc = procedureMockUtils.getInstance(mockContext); - - const expectedError = new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'CustomClaimType name length exceeded', - }); - - return expect(prepareRegisterCustomClaimType.call(proc, params)).rejects.toThrowError( - expectedError - ); - }); - - it('should throw an error if attempting to add a CustomClaimType already present', async () => { - const rawId = dsMockUtils.createMockU32(new BigNumber(1)); - - const proc = procedureMockUtils.getInstance(mockContext); - - dsMockUtils.createQueryMock('identity', 'customClaimsInverse', { - returnValue: dsMockUtils.createMockOption(rawId), - }); - - const expectedError = new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: `The CustomClaimType with "${name}" already exists`, - }); - - await expect(prepareRegisterCustomClaimType.call(proc, params)).rejects.toThrowError( - expectedError - ); - }); - - it('should return a register CustomClaimType transaction spec', async () => { - dsMockUtils.createQueryMock('identity', 'customClaimsInverse', { - returnValue: dsMockUtils.createMockOption(), - }); - - registerCustomClaimTypeTxMock = dsMockUtils.createTxMock('identity', 'registerCustomClaimType'); - - const proc = procedureMockUtils.getInstance(mockContext); - - const result = await prepareRegisterCustomClaimType.call(proc, params); - - expect(result).toEqual({ - transaction: registerCustomClaimTypeTxMock, - args: [name], - resolver: expect.any(Function), - }); - }); - - describe('createRegisterCustomClaimTypeResolver', () => { - const id = new BigNumber(10); - const rawId = dsMockUtils.createMockU64(id); - - beforeEach(() => { - jest.spyOn(utilsInternalModule, 'filterEventRecords').mockReturnValue([ - { - data: ['ignoredData', rawId], - }, - ]); - - jest.spyOn(utilsConversionModule, 'u64ToBigNumber').mockReturnValue(id); - }); - - afterEach(() => { - jest.resetAllMocks(); - }); - - it('should return the new id of the new CustomClaimType', () => { - const fakeSubmittableResult = {} as ISubmittableResult; - - const resolver = createRegisterCustomClaimTypeResolver(); - const result = resolver(fakeSubmittableResult); - - expect(result).toEqual(id); - }); - }); - - describe('registerCustomClaimType procedure', () => { - it('should return a Procedure with the appropriate roles and permissions', () => { - const proc = registerCustomClaimType(); - - expect(proc).toBeInstanceOf(Procedure); - }); - }); -}); diff --git a/src/api/procedures/__tests__/registerIdentity.ts b/src/api/procedures/__tests__/registerIdentity.ts deleted file mode 100644 index 482c2eb631..0000000000 --- a/src/api/procedures/__tests__/registerIdentity.ts +++ /dev/null @@ -1,212 +0,0 @@ -import { AccountId } from '@polkadot/types/interfaces'; -import { PolymeshPrimitivesSecondaryKey } from '@polkadot/types/lookup'; -import { ISubmittableResult } from '@polkadot/types/types'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { - createRegisterIdentityResolver, - prepareRegisterIdentity, -} from '~/api/procedures/registerIdentity'; -import { Context, Identity, PolymeshError, Procedure } from '~/internal'; -import { Moment } from '~/polkadot'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { ErrorCode, PermissionedAccount, RegisterIdentityParams } from '~/types'; -import { PolymeshTx } from '~/types/internal'; -import * as utilsConversionModule from '~/utils/conversion'; -import * as utilsInternalModule from '~/utils/internal'; - -describe('registerIdentity procedure', () => { - const targetAccount = '5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY'; - const secondaryAccounts = [ - { - account: entityMockUtils.getAccountInstance({ address: 'someValue' }), - permissions: { - assets: null, - portfolios: null, - transactions: null, - transactionGroups: [], - }, - }, - ]; - const rawAccountId = dsMockUtils.createMockAccountId(targetAccount); - const rawSecondaryAccount = dsMockUtils.createMockSecondaryKey({ - signer: dsMockUtils.createMockSignatory({ - Account: dsMockUtils.createMockAccountId(secondaryAccounts[0].account.address), - }), - permissions: dsMockUtils.createMockPermissions(), - }); - - let mockContext: Mocked; - let stringToAccountIdSpy: jest.SpyInstance; - let secondaryAccountToMeshSecondaryKeySpy: jest.SpyInstance< - PolymeshPrimitivesSecondaryKey, - [PermissionedAccount, Context] - >; - let dateToMomentSpy: jest.SpyInstance; - let registerIdentityTransaction: PolymeshTx; - let proc: Procedure>; - - beforeAll(() => { - entityMockUtils.initMocks(); - procedureMockUtils.initMocks(); - dsMockUtils.initMocks(); - stringToAccountIdSpy = jest.spyOn(utilsConversionModule, 'stringToAccountId'); - dateToMomentSpy = jest.spyOn(utilsConversionModule, 'dateToMoment'); - secondaryAccountToMeshSecondaryKeySpy = jest.spyOn( - utilsConversionModule, - 'secondaryAccountToMeshSecondaryKey' - ); - }); - - beforeEach(() => { - mockContext = dsMockUtils.getContextInstance(); - registerIdentityTransaction = dsMockUtils.createTxMock('identity', 'cddRegisterDid'); - proc = procedureMockUtils.getInstance(mockContext); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - describe('with falsy `createCdd` arg', () => { - beforeEach(() => { - registerIdentityTransaction = dsMockUtils.createTxMock('identity', 'cddRegisterDid'); - }); - - it('should return a cddRegisterIdentity transaction spec', async () => { - const args = { - targetAccount, - secondaryAccounts, - }; - - when(stringToAccountIdSpy) - .calledWith(targetAccount, mockContext) - .mockReturnValue(rawAccountId); - when(secondaryAccountToMeshSecondaryKeySpy) - .calledWith(secondaryAccounts[0], mockContext) - .mockReturnValue(rawSecondaryAccount); - - let result = await prepareRegisterIdentity.call(proc, args); - - expect(result).toEqual({ - transaction: registerIdentityTransaction, - args: [rawAccountId, [rawSecondaryAccount]], - resolver: expect.any(Function), - }); - - result = await prepareRegisterIdentity.call(proc, { targetAccount, createCdd: false }); - - expect(result).toEqual({ - transaction: registerIdentityTransaction, - args: [rawAccountId, []], - resolver: expect.any(Function), - }); - }); - - it('should throw if `expiry` is passed', () => { - const args = { - targetAccount, - secondaryAccounts, - createCdd: false, - expiry: new Date(), - }; - - const expectedError = new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'Expiry cannot be set unless a CDD claim is being created', - }); - - return expect(() => prepareRegisterIdentity.call(proc, args)).rejects.toThrow(expectedError); - }); - }); - - describe('with true `createCdd` arg', () => { - beforeEach(() => { - registerIdentityTransaction = dsMockUtils.createTxMock('identity', 'cddRegisterDidWithCdd'); - }); - - it('should return a cddRegisterIdentityWithCdd transaction spec', async () => { - const args = { - targetAccount, - secondaryAccounts, - createCdd: true, - }; - - when(stringToAccountIdSpy) - .calledWith(targetAccount, mockContext) - .mockReturnValue(rawAccountId); - when(secondaryAccountToMeshSecondaryKeySpy) - .calledWith(secondaryAccounts[0], mockContext) - .mockReturnValue(rawSecondaryAccount); - - let result = await prepareRegisterIdentity.call(proc, args); - - expect(result).toEqual({ - transaction: registerIdentityTransaction, - args: [rawAccountId, [rawSecondaryAccount], null], - resolver: expect.any(Function), - }); - - const expiryDate = new Date(); - expiryDate.setDate(expiryDate.getDate() + 30); - const expiry = new BigNumber(expiryDate.getTime()); - - const mockExpiry = dsMockUtils.createMockMoment(expiry); - - when(dateToMomentSpy).calledWith(expiryDate, mockContext).mockReturnValue(mockExpiry); - - result = await prepareRegisterIdentity.call(proc, { - targetAccount, - createCdd: true, - expiry: expiryDate, - }); - - expect(result).toEqual({ - transaction: registerIdentityTransaction, - args: [rawAccountId, [], mockExpiry], - resolver: expect.any(Function), - }); - }); - }); -}); - -describe('createRegisterIdentityResolver', () => { - const filterEventRecordsSpy = jest.spyOn(utilsInternalModule, 'filterEventRecords'); - const did = 'someDid'; - const rawDid = dsMockUtils.createMockIdentityId(did); - - beforeAll(() => { - entityMockUtils.initMocks({ - identityOptions: { - did, - }, - }); - }); - - beforeEach(() => { - filterEventRecordsSpy.mockReturnValue([ - dsMockUtils.createMockIEvent([rawDid, 'accountId', 'signingItem']), - ]); - }); - - afterEach(() => { - filterEventRecordsSpy.mockReset(); - }); - - it('should return the new Identity', () => { - const fakeContext = {} as Context; - - const result = createRegisterIdentityResolver(fakeContext)({} as ISubmittableResult); - - expect(result.did).toEqual(did); - }); -}); diff --git a/src/api/procedures/__tests__/registerMetadata.ts b/src/api/procedures/__tests__/registerMetadata.ts deleted file mode 100644 index 5fd2a1b74b..0000000000 --- a/src/api/procedures/__tests__/registerMetadata.ts +++ /dev/null @@ -1,318 +0,0 @@ -import { Bytes, Option, u32 } from '@polkadot/types'; -import { - PolymeshPrimitivesAssetMetadataAssetMetadataSpec, - PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail, - PolymeshPrimitivesTicker, -} from '@polkadot/types/lookup'; -import { ISubmittableResult } from '@polkadot/types/types'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { - createMetadataResolver, - getAuthorization, - Params, - prepareRegisterMetadata, -} from '~/api/procedures/registerMetadata'; -import { Context, MetadataEntry, PolymeshError } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { ErrorCode, MetadataLockStatus, MetadataType, TxTags } from '~/types'; -import { PolymeshTx } from '~/types/internal'; -import * as utilsConversionModule from '~/utils/conversion'; -import * as utilsInternalModule from '~/utils/internal'; - -jest.mock( - '~/api/entities/Asset/Fungible', - require('~/testUtils/mocks/entities').mockFungibleAssetModule('~/api/entities/Asset/Fungible') -); -jest.mock( - '~/api/entities/MetadataEntry', - require('~/testUtils/mocks/entities').mockMetadataEntryModule('~/api/entities/MetadataEntry') -); - -describe('registerMetadata procedure', () => { - let mockContext: Mocked; - let stringToTickerSpy: jest.SpyInstance; - let u32ToBigNumberSpy: jest.SpyInstance; - let stringToBytesSpy: jest.SpyInstance; - let metadataSpecToMeshMetadataSpecSpy: jest.SpyInstance; - - let queryMultiMock: jest.Mock; - let ticker: string; - let rawTicker: PolymeshPrimitivesTicker; - let metadataNameMaxLength: BigNumber; - let rawMetadataNameMaxLength: u32; - let params: Params; - let name: string; - let rawName: Bytes; - let rawSpecs: PolymeshPrimitivesAssetMetadataAssetMetadataSpec; - let registerAssetMetadataLocalTypeTxMock: PolymeshTx< - [PolymeshPrimitivesTicker, Bytes, PolymeshPrimitivesAssetMetadataAssetMetadataSpec] - >; - - let registerAndSetLocalAssetMetadataMock: PolymeshTx< - [ - PolymeshPrimitivesTicker, - Bytes, - PolymeshPrimitivesAssetMetadataAssetMetadataSpec, - Bytes, - Option - ] - >; - - beforeAll(() => { - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - - stringToTickerSpy = jest.spyOn(utilsConversionModule, 'stringToTicker'); - u32ToBigNumberSpy = jest.spyOn(utilsConversionModule, 'u32ToBigNumber'); - stringToBytesSpy = jest.spyOn(utilsConversionModule, 'stringToBytes'); - metadataSpecToMeshMetadataSpecSpy = jest.spyOn( - utilsConversionModule, - 'metadataSpecToMeshMetadataSpec' - ); - }); - - beforeEach(() => { - mockContext = dsMockUtils.getContextInstance(); - ticker = 'SOME_TICKER'; - rawTicker = dsMockUtils.createMockTicker(ticker); - - when(stringToTickerSpy).calledWith(ticker, mockContext).mockReturnValue(rawTicker); - - metadataNameMaxLength = new BigNumber(15); - rawMetadataNameMaxLength = dsMockUtils.createMockU32(metadataNameMaxLength); - - dsMockUtils.setConstMock('asset', 'assetMetadataNameMaxLength', { - returnValue: rawMetadataNameMaxLength, - }); - - when(u32ToBigNumberSpy) - .calledWith(rawMetadataNameMaxLength) - .mockReturnValue(metadataNameMaxLength); - - name = 'SOME_NAME'; - rawName = dsMockUtils.createMockBytes(name); - when(stringToBytesSpy).calledWith(name, mockContext).mockReturnValue(rawName); - - rawSpecs = dsMockUtils.createMockAssetMetadataSpec(); - metadataSpecToMeshMetadataSpecSpy.mockReturnValue(rawSpecs); - - params = { - ticker, - name, - specs: {}, - }; - - dsMockUtils.createQueryMock('asset', 'assetMetadataGlobalNameToKey'); - dsMockUtils.createQueryMock('asset', 'assetMetadataLocalNameToKey'); - queryMultiMock = dsMockUtils.getQueryMultiMock(); - - registerAssetMetadataLocalTypeTxMock = dsMockUtils.createTxMock( - 'asset', - 'registerAssetMetadataLocalType' - ); - registerAndSetLocalAssetMetadataMock = dsMockUtils.createTxMock( - 'asset', - 'registerAndSetLocalAssetMetadata' - ); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - jest.restoreAllMocks(); - }); - - it('should throw an error if attempting to add a metadata exceeding the allowed name ', () => { - params = { - ...params, - name: 'NAME_EXCEEDING_MAX_LENGTH', - }; - const proc = procedureMockUtils.getInstance(mockContext); - - const expectedError = new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'Asset Metadata name length exceeded', - data: { - maxLength: metadataNameMaxLength, - }, - }); - - return expect(prepareRegisterMetadata.call(proc, params)).rejects.toThrowError(expectedError); - }); - - it('should throw an error if attempting to register a metadata with duplicate name', async () => { - const rawId = dsMockUtils.createMockU64(new BigNumber(1)); - - const proc = procedureMockUtils.getInstance(mockContext); - - const expectedError = new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: `Metadata with name "${name}" already exists`, - }); - - queryMultiMock.mockResolvedValue([ - dsMockUtils.createMockOption(rawId), - dsMockUtils.createMockOption(), - ]); - - await expect(prepareRegisterMetadata.call(proc, params)).rejects.toThrowError(expectedError); - - queryMultiMock.mockResolvedValue([ - dsMockUtils.createMockOption(), - dsMockUtils.createMockOption(rawId), - ]); - - await expect(prepareRegisterMetadata.call(proc, params)).rejects.toThrowError(expectedError); - }); - - it('should return a register asset metadata local type transaction spec', async () => { - queryMultiMock.mockResolvedValue([ - dsMockUtils.createMockOption(), - dsMockUtils.createMockOption(), - ]); - - const proc = procedureMockUtils.getInstance(mockContext); - - const result = await prepareRegisterMetadata.call(proc, params); - - expect(result).toEqual({ - transaction: registerAssetMetadataLocalTypeTxMock, - args: [rawTicker, rawName, rawSpecs], - resolver: expect.any(Function), - }); - }); - - it('should return a register and set local asset metadata transaction spec', async () => { - const metadataValueToMeshMetadataValueSpy = jest.spyOn( - utilsConversionModule, - 'metadataValueToMeshMetadataValue' - ); - const rawValue = dsMockUtils.createMockBytes('SOME_VALUE'); - metadataValueToMeshMetadataValueSpy.mockReturnValue(rawValue); - - const metadataValueDetailToMeshMetadataValueDetailSpy = jest.spyOn( - utilsConversionModule, - 'metadataValueDetailToMeshMetadataValueDetail' - ); - const rawValueDetail = dsMockUtils.createMockAssetMetadataValueDetail({ - lockStatus: dsMockUtils.createMockAssetMetadataLockStatus({ - lockStatus: 'LockedUntil', - lockedUntil: new Date('2025/01/01'), - }), - expire: dsMockUtils.createMockOption(), - }); - metadataValueDetailToMeshMetadataValueDetailSpy.mockReturnValue(rawValueDetail); - - queryMultiMock.mockResolvedValue([ - dsMockUtils.createMockOption(), - dsMockUtils.createMockOption(), - ]); - - params = { - ...params, - value: 'SOME_VALUE', - }; - - const proc = procedureMockUtils.getInstance(mockContext); - - let result = await prepareRegisterMetadata.call(proc, params); - - expect(result).toEqual({ - transaction: registerAndSetLocalAssetMetadataMock, - args: [rawTicker, rawName, rawSpecs, rawValue, null], - resolver: expect.any(Function), - }); - - result = await prepareRegisterMetadata.call(proc, { - ...params, - details: { - expiry: null, - lockStatus: MetadataLockStatus.LockedUntil, - lockedUntil: new Date('2025/01/01'), - }, - }); - - expect(result).toEqual({ - transaction: registerAndSetLocalAssetMetadataMock, - args: [rawTicker, rawName, rawSpecs, rawValue, rawValueDetail], - resolver: expect.any(Function), - }); - }); - - describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', () => { - const proc = procedureMockUtils.getInstance(mockContext); - - const boundFunc = getAuthorization.bind(proc); - - expect(boundFunc(params)).toEqual({ - permissions: { - transactions: [TxTags.asset.RegisterAssetMetadataLocalType], - assets: [expect.objectContaining({ ticker })], - portfolios: [], - }, - }); - - expect(boundFunc({ ...params, value: 'SOME_VALUE' })).toEqual({ - permissions: { - transactions: [TxTags.asset.RegisterAndSetLocalAssetMetadata], - assets: [expect.objectContaining({ ticker })], - portfolios: [], - }, - }); - }); - }); - - describe('createMetadataResolver', () => { - let filterEventRecordsSpy: jest.SpyInstance; - let u64ToBigNumberSpy: jest.SpyInstance; - const id = new BigNumber(10); - const rawId = dsMockUtils.createMockU64(id); - - beforeAll(() => { - entityMockUtils.initMocks({ - instructionOptions: { - id, - }, - }); - - filterEventRecordsSpy = jest.spyOn(utilsInternalModule, 'filterEventRecords'); - u64ToBigNumberSpy = jest.spyOn(utilsConversionModule, 'u64ToBigNumber'); - }); - - beforeEach(() => { - filterEventRecordsSpy.mockReturnValue([ - dsMockUtils.createMockIEvent(['someIdentity', 'someTicker', 'someName', rawId]), - ]); - when(u64ToBigNumberSpy).calledWith(rawId).mockReturnValue(id); - }); - - afterEach(() => { - filterEventRecordsSpy.mockReset(); - }); - - it('should return the new MetadataEntry', () => { - const fakeContext = {} as Context; - - const result = createMetadataResolver(ticker, fakeContext)({} as ISubmittableResult); - - expect(result).toEqual( - expect.objectContaining({ - id, - asset: expect.objectContaining({ ticker }), - type: MetadataType.Local, - }) - ); - }); - }); -}); diff --git a/src/api/procedures/__tests__/rejectConfidentialTransaction.ts b/src/api/procedures/__tests__/rejectConfidentialTransaction.ts index 6170165283..b19cdef65d 100644 --- a/src/api/procedures/__tests__/rejectConfidentialTransaction.ts +++ b/src/api/procedures/__tests__/rejectConfidentialTransaction.ts @@ -1,4 +1,5 @@ import { u32, u64 } from '@polkadot/types'; +import * as utilsConversionModule from '@polymeshassociation/polymesh-sdk/utils/conversion'; import BigNumber from 'bignumber.js'; import { when } from 'jest-when'; @@ -11,7 +12,6 @@ import { Context } from '~/internal'; import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; import { Mocked } from '~/testUtils/types'; import { ConfidentialTransaction, ConfidentialTransactionStatus, TxTags } from '~/types'; -import * as utilsConversionModule from '~/utils/conversion'; describe('rejectConfidentialTransaction procedure', () => { let mockContext: Mocked; diff --git a/src/api/procedures/__tests__/removeAssetMediators.ts b/src/api/procedures/__tests__/removeAssetMediators.ts deleted file mode 100644 index ce4834a7d9..0000000000 --- a/src/api/procedures/__tests__/removeAssetMediators.ts +++ /dev/null @@ -1,130 +0,0 @@ -import { PolymeshPrimitivesIdentityId, PolymeshPrimitivesTicker } from '@polkadot/types/lookup'; -import { BTreeSet } from '@polkadot/types-codec'; -import { when } from 'jest-when'; - -import { - getAuthorization, - Params, - prepareRemoveAssetMediators, -} from '~/api/procedures/removeAssetMediators'; -import { BaseAsset, Context, Identity, PolymeshError } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { ErrorCode, TxTags } from '~/types'; -import { PolymeshTx } from '~/types/internal'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/Asset/Base', - require('~/testUtils/mocks/entities').mockBaseAssetModule('~/api/entities/Asset/Base') -); - -describe('removeAssetMediators procedure', () => { - let mockContext: Mocked; - let identitiesToSetSpy: jest.SpyInstance; - let asset: BaseAsset; - let ticker: string; - let rawTicker: PolymeshPrimitivesTicker; - let currentMediator: Identity; - let rawCurrentMediator: PolymeshPrimitivesIdentityId; - let stringToTickerSpy: jest.SpyInstance; - let mockRemoveMediators: BTreeSet; - - beforeAll(() => { - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - stringToTickerSpy = jest.spyOn(utilsConversionModule, 'stringToTicker'); - identitiesToSetSpy = jest.spyOn(utilsConversionModule, 'identitiesToBtreeSet'); - ticker = 'TICKER'; - rawTicker = dsMockUtils.createMockTicker(ticker); - currentMediator = entityMockUtils.getIdentityInstance({ did: 'currentDid' }); - rawCurrentMediator = dsMockUtils.createMockIdentityId(currentMediator.did); - asset = entityMockUtils.getBaseAssetInstance({ - ticker, - getRequiredMediators: [currentMediator], - }); - mockRemoveMediators = dsMockUtils.createMockBTreeSet([ - rawCurrentMediator, - ]); - }); - - let removeMandatoryMediatorsTransaction: PolymeshTx< - [PolymeshPrimitivesTicker, BTreeSet] - >; - - beforeEach(() => { - removeMandatoryMediatorsTransaction = dsMockUtils.createTxMock( - 'asset', - 'removeMandatoryMediators' - ); - - mockContext = dsMockUtils.getContextInstance(); - - when(stringToTickerSpy).calledWith(ticker, mockContext).mockReturnValue(rawTicker); - when(identitiesToSetSpy) - .calledWith( - expect.arrayContaining([expect.objectContaining({ did: currentMediator.did })]), - mockContext - ) - .mockReturnValue(mockRemoveMediators); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it('should throw an error if a supplied mediator is not already required for the Asset', () => { - const proc = procedureMockUtils.getInstance(mockContext); - - const expectedError = new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'One of the specified mediators to remove is not set', - }); - - return expect( - prepareRemoveAssetMediators.call(proc, { asset, mediators: ['someOtherDid'] }) - ).rejects.toThrow(expectedError); - }); - - it('should return an remove required mediators transaction spec', async () => { - const proc = procedureMockUtils.getInstance(mockContext); - - const result = await prepareRemoveAssetMediators.call(proc, { - asset, - mediators: [currentMediator], - }); - - expect(result).toEqual({ - transaction: removeMandatoryMediatorsTransaction, - args: [rawTicker, mockRemoveMediators], - resolver: undefined, - }); - }); - - describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', () => { - const proc = procedureMockUtils.getInstance(mockContext); - const boundFunc = getAuthorization.bind(proc); - const params = { - asset, - mediators: [], - } as Params; - - expect(boundFunc(params)).toEqual({ - permissions: { - transactions: [TxTags.asset.RemoveMandatoryMediators], - assets: [expect.objectContaining({ ticker })], - portfolios: [], - }, - }); - }); - }); -}); diff --git a/src/api/procedures/__tests__/removeAssetRequirement.ts b/src/api/procedures/__tests__/removeAssetRequirement.ts deleted file mode 100644 index d7d833080d..0000000000 --- a/src/api/procedures/__tests__/removeAssetRequirement.ts +++ /dev/null @@ -1,148 +0,0 @@ -import { - PolymeshPrimitivesComplianceManagerComplianceRequirement, - PolymeshPrimitivesCondition, - PolymeshPrimitivesTicker, -} from '@polkadot/types/lookup'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { - getAuthorization, - Params, - prepareRemoveAssetRequirement, -} from '~/api/procedures/removeAssetRequirement'; -import { Context } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { TxTags } from '~/types'; -import { PolymeshTx } from '~/types/internal'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/Asset/Fungible', - require('~/testUtils/mocks/entities').mockFungibleAssetModule('~/api/entities/Asset/Fungible') -); - -describe('removeAssetRequirement procedure', () => { - let mockContext: Mocked; - let stringToTickerSpy: jest.SpyInstance; - let ticker: string; - let requirement: BigNumber; - let rawTicker: PolymeshPrimitivesTicker; - let senderConditions: PolymeshPrimitivesCondition[][]; - let receiverConditions: PolymeshPrimitivesCondition[][]; - let rawComplianceRequirement: PolymeshPrimitivesComplianceManagerComplianceRequirement[]; - let args: Params; - - beforeAll(() => { - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - stringToTickerSpy = jest.spyOn(utilsConversionModule, 'stringToTicker'); - ticker = 'SOME_TICKER'; - requirement = new BigNumber(1); - - args = { - ticker, - requirement, - }; - }); - - let removeComplianceRequirementTransaction: PolymeshTx<[PolymeshPrimitivesTicker]>; - - beforeEach(() => { - dsMockUtils.setConstMock('complianceManager', 'maxConditionComplexity', { - returnValue: dsMockUtils.createMockU32(new BigNumber(50)), - }); - - removeComplianceRequirementTransaction = dsMockUtils.createTxMock( - 'complianceManager', - 'removeComplianceRequirement' - ); - - mockContext = dsMockUtils.getContextInstance(); - - when(stringToTickerSpy).calledWith(ticker, mockContext).mockReturnValue(rawTicker); - - senderConditions = [ - 'senderConditions0' as unknown as PolymeshPrimitivesCondition[], - 'senderConditions1' as unknown as PolymeshPrimitivesCondition[], - ]; - receiverConditions = [ - 'receiverConditions0' as unknown as PolymeshPrimitivesCondition[], - 'receiverConditions1' as unknown as PolymeshPrimitivesCondition[], - ]; - rawComplianceRequirement = senderConditions.map( - (sConditions, index) => - ({ - /* eslint-disable @typescript-eslint/naming-convention */ - sender_conditions: sConditions, - receiver_conditions: receiverConditions[index], - /* eslint-enable @typescript-eslint/naming-convention */ - id: dsMockUtils.createMockU32(new BigNumber(index)), - } as unknown as PolymeshPrimitivesComplianceManagerComplianceRequirement) - ); - - dsMockUtils.createQueryMock('complianceManager', 'assetCompliances', { - returnValue: { - requirements: rawComplianceRequirement, - }, - }); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it('should throw an error if the supplied id is not present in the current requirements', () => { - const proc = procedureMockUtils.getInstance(mockContext); - const complianceRequirementId = new BigNumber(10); - - return expect( - prepareRemoveAssetRequirement.call(proc, { - ...args, - requirement: { id: complianceRequirementId, conditions: [] }, - }) - ).rejects.toThrow(`There is no compliance requirement with id "${complianceRequirementId}"`); - }); - - it('should return a remove compliance requirement transaction spec', async () => { - const rawId = dsMockUtils.createMockU32(requirement); - jest.spyOn(utilsConversionModule, 'bigNumberToU32').mockClear().mockReturnValue(rawId); - - const proc = procedureMockUtils.getInstance(mockContext); - - const result = await prepareRemoveAssetRequirement.call(proc, args); - - expect(result).toEqual({ - transaction: removeComplianceRequirementTransaction, - args: [rawTicker, rawId], - resolver: undefined, - }); - }); - - describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', () => { - const proc = procedureMockUtils.getInstance(mockContext); - const boundFunc = getAuthorization.bind(proc); - const params = { - ticker, - } as Params; - - expect(boundFunc(params)).toEqual({ - permissions: { - transactions: [TxTags.complianceManager.RemoveComplianceRequirement], - assets: [expect.objectContaining({ ticker })], - portfolios: [], - }, - }); - }); - }); -}); diff --git a/src/api/procedures/__tests__/removeAssetStat.ts b/src/api/procedures/__tests__/removeAssetStat.ts deleted file mode 100644 index 9fa700d606..0000000000 --- a/src/api/procedures/__tests__/removeAssetStat.ts +++ /dev/null @@ -1,310 +0,0 @@ -import { - PolymeshPrimitivesStatisticsStat2ndKey, - PolymeshPrimitivesStatisticsStatType, - PolymeshPrimitivesStatisticsStatUpdate, - PolymeshPrimitivesTicker, - PolymeshPrimitivesTransferComplianceAssetTransferCompliance, - PolymeshPrimitivesTransferComplianceTransferCondition, -} from '@polkadot/types/lookup'; -import { BTreeSet } from '@polkadot/types-codec'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { getAuthorization, prepareRemoveAssetStat } from '~/api/procedures/removeAssetStat'; -import { Context, PolymeshError } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { - ClaimType, - CountryCode, - ErrorCode, - RemoveAssetStatParams, - StatClaimType, - StatType, - TxTags, -} from '~/types'; -import { PolymeshTx, TickerKey } from '~/types/internal'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/Asset/Fungible', - require('~/testUtils/mocks/entities').mockFungibleAssetModule('~/api/entities/Asset/Fungible') -); - -describe('removeAssetStat procedure', () => { - const did = 'someDid'; - let mockContext: Mocked; - let stringToTickerKeySpy: jest.SpyInstance; - let ticker: string; - let rawTicker: PolymeshPrimitivesTicker; - let args: RemoveAssetStatParams; - let rawCountStatType: PolymeshPrimitivesStatisticsStatType; - let rawBalanceStatType: PolymeshPrimitivesStatisticsStatType; - let rawClaimCountStatType: PolymeshPrimitivesStatisticsStatType; - let rawStatUpdate: PolymeshPrimitivesStatisticsStatUpdate; - let raw2ndKey: PolymeshPrimitivesStatisticsStat2ndKey; - let rawCountCondition: PolymeshPrimitivesTransferComplianceTransferCondition; - let rawPercentageCondition: PolymeshPrimitivesTransferComplianceTransferCondition; - let rawClaimCountCondition: PolymeshPrimitivesTransferComplianceTransferCondition; - let mockRemoveTarget: PolymeshPrimitivesStatisticsStatType; - let mockRemoveTargetEqSub: jest.Mock; - let queryMultiMock: jest.Mock; - let queryMultiResult: [ - BTreeSet, - PolymeshPrimitivesTransferComplianceAssetTransferCompliance - ]; - - let setActiveAssetStats: PolymeshTx< - [PolymeshPrimitivesTicker, PolymeshPrimitivesTransferComplianceTransferCondition] - >; - let statUpdatesToBtreeStatUpdateSpy: jest.SpyInstance< - BTreeSet, - [PolymeshPrimitivesStatisticsStatUpdate[], Context] - >; - let statisticsOpTypeToStatTypeSpy: jest.SpyInstance; - let createStat2ndKeySpy: jest.SpyInstance< - PolymeshPrimitivesStatisticsStat2ndKey, - [ - type: 'NoClaimStat' | StatClaimType, - context: Context, - claimStat?: CountryCode | 'yes' | 'no' | undefined - ] - >; - let rawStatUpdateBtree: BTreeSet; - let statisticStatTypesToBtreeStatTypeSpy: jest.SpyInstance< - BTreeSet, - [PolymeshPrimitivesStatisticsStatType[], Context] - >; - let statSpy: jest.SpyInstance; - let emptyStatTypeBtreeSet: BTreeSet; - let statBtreeSet: BTreeSet; - - const fakeCurrentRequirements: PolymeshPrimitivesTransferComplianceAssetTransferCompliance = - dsMockUtils.createMockAssetTransferCompliance({ - paused: dsMockUtils.createMockBool(false), - requirements: - dsMockUtils.createMockBTreeSet([ - dsMockUtils.createMockTransferCondition({ - MaxInvestorOwnership: dsMockUtils.createMockU64(new BigNumber(10)), - }), - dsMockUtils.createMockTransferCondition({ - MaxInvestorCount: dsMockUtils.createMockU64(new BigNumber(20)), - }), - dsMockUtils.createMockTransferCondition({ - ClaimCount: [ - dsMockUtils.createMockStatisticsStatClaim({ - Accredited: dsMockUtils.createMockBool(true), - }), - dsMockUtils.createMockIdentityId(did), - dsMockUtils.createMockU64(new BigNumber(20)), - dsMockUtils.createMockOption(), - ], - }), - ]), - }); - - beforeAll(() => { - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - mockContext = dsMockUtils.getContextInstance(); - ticker = 'TICKER'; - stringToTickerKeySpy = jest.spyOn(utilsConversionModule, 'stringToTickerKey'); - createStat2ndKeySpy = jest.spyOn(utilsConversionModule, 'createStat2ndKey'); - statUpdatesToBtreeStatUpdateSpy = jest.spyOn( - utilsConversionModule, - 'statUpdatesToBtreeStatUpdate' - ); - dsMockUtils.setConstMock('statistics', 'maxTransferConditionsPerAsset', { - returnValue: dsMockUtils.createMockU32(new BigNumber(3)), - }); - - statisticsOpTypeToStatTypeSpy = jest.spyOn(utilsConversionModule, 'statisticsOpTypeToStatType'); - statSpy = jest.spyOn(utilsConversionModule, 'meshStatToStatType'); - statisticStatTypesToBtreeStatTypeSpy = jest.spyOn( - utilsConversionModule, - 'statisticStatTypesToBtreeStatType' - ); - // queryMulti is mocked for the results, but query still needs to be mocked to avoid dereference on undefined - dsMockUtils.createQueryMock('statistics', 'activeAssetStats'); - queryMultiMock = dsMockUtils.getQueryMultiMock(); - }); - - beforeEach(() => { - statSpy.mockReturnValue(StatType.Balance); - mockRemoveTarget = dsMockUtils.createMockStatisticsStatType(); - mockRemoveTargetEqSub = mockRemoveTarget.eq as jest.Mock; - setActiveAssetStats = dsMockUtils.createTxMock('statistics', 'setActiveAssetStats'); - - rawCountStatType = dsMockUtils.createMockStatisticsStatType(); - rawBalanceStatType = dsMockUtils.createMockStatisticsStatType({ - op: dsMockUtils.createMockStatisticsOpType(StatType.Balance), - claimIssuer: dsMockUtils.createMockOption(), - }); - rawClaimCountStatType = dsMockUtils.createMockStatisticsStatType({ - op: dsMockUtils.createMockStatisticsOpType(StatType.ScopedCount), - claimIssuer: dsMockUtils.createMockOption([ - dsMockUtils.createMockClaimType(), - dsMockUtils.createMockIdentityId(), - ]), - }); - statBtreeSet = dsMockUtils.createMockBTreeSet([ - rawCountStatType, - rawBalanceStatType, - rawClaimCountStatType, - ]); - emptyStatTypeBtreeSet = dsMockUtils.createMockBTreeSet([]); - rawTicker = dsMockUtils.createMockTicker(ticker); - rawStatUpdate = dsMockUtils.createMockStatUpdate(); - rawStatUpdateBtree = dsMockUtils.createMockBTreeSet([rawStatUpdate]); - - rawCountCondition = dsMockUtils.createMockTransferCondition({ - MaxInvestorCount: dsMockUtils.createMockU64(new BigNumber(10)), - }); - rawPercentageCondition = dsMockUtils.createMockTransferCondition({ - MaxInvestorOwnership: dsMockUtils.createMockU64(new BigNumber(10)), - }); - rawClaimCountCondition = dsMockUtils.createMockTransferCondition({ - ClaimCount: [ - dsMockUtils.createMockStatisticsStatClaim({ - Accredited: dsMockUtils.createMockBool(true), - }), - dsMockUtils.createMockIdentityId(did), - dsMockUtils.createMockU64(), - dsMockUtils.createMockOption(), - ], - }); - - when(createStat2ndKeySpy) - .calledWith('NoClaimStat', mockContext, undefined) - .mockReturnValue(raw2ndKey); - statisticsOpTypeToStatTypeSpy.mockReturnValue(mockRemoveTarget); - - when(statUpdatesToBtreeStatUpdateSpy) - .calledWith([rawStatUpdate], mockContext) - .mockReturnValue(rawStatUpdateBtree); - queryMultiResult = [dsMockUtils.createMockBTreeSet([]), fakeCurrentRequirements]; - queryMultiMock.mockReturnValue(queryMultiResult); - - when(stringToTickerKeySpy) - .calledWith(ticker, mockContext) - .mockReturnValue({ Ticker: rawTicker }); - statisticStatTypesToBtreeStatTypeSpy.mockReturnValue(emptyStatTypeBtreeSet); - args = { - type: StatType.Balance, - ticker, - }; - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - jest.restoreAllMocks(); - }); - - it('should add a setAssetStats transaction to the queue', async () => { - mockRemoveTargetEqSub.mockReturnValue(true); - queryMultiMock.mockResolvedValue([statBtreeSet, { requirements: [] }]); - const proc = procedureMockUtils.getInstance(mockContext); - - let result = await prepareRemoveAssetStat.call(proc, args); - - expect(result).toEqual({ - transaction: setActiveAssetStats, - args: [{ Ticker: rawTicker }, emptyStatTypeBtreeSet], - resolver: undefined, - }); - - args = { - type: StatType.ScopedCount, - ticker, - issuer: entityMockUtils.getIdentityInstance(), - claimType: ClaimType.Affiliate, - }; - - result = await prepareRemoveAssetStat.call(proc, args); - - expect(result).toEqual({ - transaction: setActiveAssetStats, - args: [{ Ticker: rawTicker }, emptyStatTypeBtreeSet], - resolver: undefined, - }); - }); - - it('should throw if the stat is not set', async () => { - queryMultiMock.mockResolvedValue([statBtreeSet, { requirements: [] }]); - const proc = procedureMockUtils.getInstance(mockContext); - - const expectedError = new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'Cannot remove a stat that is not enabled for this Asset', - }); - - await expect(prepareRemoveAssetStat.call(proc, args)).rejects.toThrowError(expectedError); - }); - - it('should throw an error if the stat is being used', async () => { - const proc = procedureMockUtils.getInstance(mockContext); - queryMultiMock.mockResolvedValue([ - statBtreeSet, - { - requirements: dsMockUtils.createMockBTreeSet([ - rawCountCondition, - rawPercentageCondition, - rawClaimCountCondition, - ]), - }, - ]); - - const expectedError = new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: - 'The statistic cannot be removed because a Transfer Restriction is currently using it', - }); - - await expect(prepareRemoveAssetStat.call(proc, args)).rejects.toThrowError(expectedError); - - statSpy.mockReturnValue(StatType.Count); - - args = { - ticker: 'TICKER', - type: StatType.Count, - }; - await expect(prepareRemoveAssetStat.call(proc, args)).rejects.toThrowError(expectedError); - - args = { - ticker: 'TICKER', - type: StatType.ScopedCount, - issuer: entityMockUtils.getIdentityInstance({ did }), - claimType: ClaimType.Accredited, - }; - - await expect(prepareRemoveAssetStat.call(proc, args)).rejects.toThrowError(expectedError); - }); - - describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', () => { - args = { - ticker, - type: StatType.Count, - }; - - const proc = procedureMockUtils.getInstance(mockContext); - const boundFunc = getAuthorization.bind(proc); - - expect(boundFunc(args)).toEqual({ - permissions: { - assets: [expect.objectContaining({ ticker })], - transactions: [TxTags.statistics.SetActiveAssetStats], - portfolios: [], - }, - }); - }); - }); -}); diff --git a/src/api/procedures/__tests__/removeCheckpointSchedule.ts b/src/api/procedures/__tests__/removeCheckpointSchedule.ts deleted file mode 100644 index 17da0dae5e..0000000000 --- a/src/api/procedures/__tests__/removeCheckpointSchedule.ts +++ /dev/null @@ -1,149 +0,0 @@ -import { u64 } from '@polkadot/types'; -import { PolymeshPrimitivesTicker } from '@polkadot/types/lookup'; -import BigNumber from 'bignumber.js'; - -import { - getAuthorization, - Params, - prepareRemoveCheckpointSchedule, -} from '~/api/procedures/removeCheckpointSchedule'; -import { Context } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { createMockBTreeSet } from '~/testUtils/mocks/dataSources'; -import { Mocked } from '~/testUtils/types'; -import { TxTags } from '~/types'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/Asset/Fungible', - require('~/testUtils/mocks/entities').mockFungibleAssetModule('~/api/entities/Asset/Fungible') -); - -describe('removeCheckpointSchedule procedure', () => { - let mockContext: Mocked; - let stringToTickerSpy: jest.SpyInstance; - let bigNumberToU64Spy: jest.SpyInstance; - let u32ToBigNumberSpy: jest.SpyInstance; - let ticker: string; - let rawTicker: PolymeshPrimitivesTicker; - let id: BigNumber; - let rawId: u64; - - beforeAll(() => { - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - stringToTickerSpy = jest.spyOn(utilsConversionModule, 'stringToTicker'); - bigNumberToU64Spy = jest.spyOn(utilsConversionModule, 'bigNumberToU64'); - u32ToBigNumberSpy = jest.spyOn(utilsConversionModule, 'u32ToBigNumber'); - ticker = 'SOME_TICKER'; - rawTicker = dsMockUtils.createMockTicker(ticker); - id = new BigNumber(1); - rawId = dsMockUtils.createMockU64(id); - }); - - beforeEach(() => { - mockContext = dsMockUtils.getContextInstance(); - stringToTickerSpy.mockReturnValue(rawTicker); - bigNumberToU64Spy.mockReturnValue(rawId); - - dsMockUtils.createQueryMock('checkpoint', 'scheduleRefCount'); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it('should throw an error if the Schedule no longer exists', () => { - const args = { - ticker, - schedule: id, - }; - - dsMockUtils.createQueryMock('checkpoint', 'scheduledCheckpoints', { - returnValue: [dsMockUtils.createMockCheckpointSchedule()], - }); - - const proc = procedureMockUtils.getInstance(mockContext); - - return expect(prepareRemoveCheckpointSchedule.call(proc, args)).rejects.toThrow( - 'Schedule was not found. It may have been removed or expired' - ); - }); - - it('should throw an error if Schedule Ref Count is not zero', () => { - const args = { - ticker, - schedule: id, - }; - - dsMockUtils.createQueryMock('checkpoint', 'scheduledCheckpoints', { - returnValue: dsMockUtils.createMockOption( - dsMockUtils.createMockCheckpointSchedule({ pending: createMockBTreeSet() }) - ), - }); - - u32ToBigNumberSpy.mockReturnValue(new BigNumber(1)); - - const proc = procedureMockUtils.getInstance(mockContext); - - return expect(prepareRemoveCheckpointSchedule.call(proc, args)).rejects.toThrow( - 'This Schedule is being referenced by other Entities. It cannot be removed' - ); - }); - - it('should return a remove schedule transaction spec', async () => { - const args = { - ticker, - schedule: id, - }; - - dsMockUtils.createQueryMock('checkpoint', 'scheduledCheckpoints', { - returnValue: dsMockUtils.createMockOption(dsMockUtils.createMockCheckpointSchedule()), - }); - - u32ToBigNumberSpy.mockReturnValue(new BigNumber(0)); - - let transaction = dsMockUtils.createTxMock('checkpoint', 'removeSchedule'); - let proc = procedureMockUtils.getInstance(mockContext); - - let result = await prepareRemoveCheckpointSchedule.call(proc, args); - - expect(result).toEqual({ transaction, args: [rawTicker, rawId], resolver: undefined }); - - transaction = dsMockUtils.createTxMock('checkpoint', 'removeSchedule'); - proc = procedureMockUtils.getInstance(mockContext); - - result = await prepareRemoveCheckpointSchedule.call(proc, { - ticker, - schedule: entityMockUtils.getCheckpointScheduleInstance(), - }); - - expect(result).toEqual({ transaction, args: [rawTicker, rawId], resolver: undefined }); - }); - - describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', () => { - const proc = procedureMockUtils.getInstance(mockContext); - const boundFunc = getAuthorization.bind(proc); - const args = { - ticker, - } as Params; - - expect(boundFunc(args)).toEqual({ - permissions: { - transactions: [TxTags.checkpoint.RemoveSchedule], - assets: [expect.objectContaining({ ticker })], - portfolios: [], - }, - }); - }); - }); -}); diff --git a/src/api/procedures/__tests__/removeCorporateAction.ts b/src/api/procedures/__tests__/removeCorporateAction.ts deleted file mode 100644 index ff6f4799fe..0000000000 --- a/src/api/procedures/__tests__/removeCorporateAction.ts +++ /dev/null @@ -1,196 +0,0 @@ -import BigNumber from 'bignumber.js'; - -import { - getAuthorization, - Params, - prepareRemoveCorporateAction, -} from '~/api/procedures/removeCorporateAction'; -import { Context } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { TxTags } from '~/types'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/Asset/Fungible', - require('~/testUtils/mocks/entities').mockFungibleAssetModule('~/api/entities/Asset/Fungible') -); -jest.mock( - '~/api/entities/CorporateAction', - require('~/testUtils/mocks/entities').mockCorporateActionModule('~/api/entities/CorporateAction') -); - -describe('removeCorporateAction procedure', () => { - let mockContext: Mocked; - let corporateActionsQueryMock: jest.Mock; - - const ticker = 'SOME_TICKER'; - const id = new BigNumber(1); - const rawCaId = dsMockUtils.createMockCAId({ ticker, localId: id }); - - beforeAll(() => { - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - - jest.spyOn(utilsConversionModule, 'corporateActionIdentifierToCaId').mockReturnValue(rawCaId); - }); - - beforeEach(() => { - mockContext = dsMockUtils.getContextInstance(); - corporateActionsQueryMock = dsMockUtils.createQueryMock('corporateAction', 'corporateActions'); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it("should throw an error if the Corporate Action is a Distribution and it doesn't exist", () => { - dsMockUtils.createQueryMock('capitalDistribution', 'distributions', { - returnValue: dsMockUtils.createMockOption(), - }); - - const proc = procedureMockUtils.getInstance(mockContext); - - return expect( - prepareRemoveCorporateAction.call(proc, { - corporateAction: entityMockUtils.getDividendDistributionInstance(), - ticker, - }) - ).rejects.toThrow("The Distribution doesn't exist"); - }); - - it("should throw an error if the Corporate Action is not a Distribution and the Corporate Action doesn't exist", () => { - dsMockUtils.createQueryMock('capitalDistribution', 'distributions', { - returnValue: dsMockUtils.createMockOption(), - }); - - corporateActionsQueryMock.mockReturnValue(dsMockUtils.createMockOption()); - - const proc = procedureMockUtils.getInstance(mockContext); - - return expect( - prepareRemoveCorporateAction.call(proc, { - corporateAction: new BigNumber(1), - ticker, - }) - ).rejects.toThrow("The Corporate Action doesn't exist"); - }); - - it('should throw an error if the distribution has already started', () => { - dsMockUtils.createQueryMock('capitalDistribution', 'distributions', { - returnValue: dsMockUtils.createMockOption( - dsMockUtils.createMockDistribution({ - from: { - kind: 'Default', - did: 'someDid', - }, - currency: 'USD', - perShare: new BigNumber(20000000), - amount: new BigNumber(50000000000), - remaining: new BigNumber(40000000000), - paymentAt: new BigNumber(new Date('1/1/2020').getTime()), - expiresAt: dsMockUtils.createMockOption(), - reclaimed: false, - }) - ), - }); - - const proc = procedureMockUtils.getInstance(mockContext); - - return expect( - prepareRemoveCorporateAction.call(proc, { - corporateAction: entityMockUtils.getDividendDistributionInstance(), - ticker, - }) - ).rejects.toThrow('The Distribution has already started'); - }); - - it('should throw an error if the corporate action does not exist', () => { - const proc = procedureMockUtils.getInstance(mockContext); - - return expect( - prepareRemoveCorporateAction.call(proc, { - corporateAction: entityMockUtils.getCorporateActionInstance({ - exists: false, - }), - ticker, - }) - ).rejects.toThrow("The Corporate Action doesn't exist"); - }); - - it('should return a remove corporate agent transaction spec', async () => { - const transaction = dsMockUtils.createTxMock('corporateAction', 'removeCa'); - const proc = procedureMockUtils.getInstance(mockContext); - - let result = await prepareRemoveCorporateAction.call(proc, { - corporateAction: entityMockUtils.getCorporateActionInstance({ - exists: true, - }), - ticker, - }); - - expect(result).toEqual({ transaction, args: [rawCaId], resolver: undefined }); - - dsMockUtils.createQueryMock('capitalDistribution', 'distributions', { - returnValue: dsMockUtils.createMockOption( - dsMockUtils.createMockDistribution({ - from: { - kind: 'Default', - did: 'someDid', - }, - currency: 'USD', - perShare: new BigNumber(20000000), - amount: new BigNumber(50000000000), - remaining: new BigNumber(40000000000), - paymentAt: new BigNumber(new Date('10/10/2030').getTime()), - expiresAt: dsMockUtils.createMockOption(), - reclaimed: false, - }) - ), - }); - - result = await prepareRemoveCorporateAction.call(proc, { - corporateAction: entityMockUtils.getDividendDistributionInstance(), - ticker, - }); - - expect(result).toEqual({ transaction, args: [rawCaId], resolver: undefined }); - - corporateActionsQueryMock.mockReturnValue( - dsMockUtils.createMockOption(dsMockUtils.createMockCorporateAction()) - ); - - result = await prepareRemoveCorporateAction.call(proc, { - corporateAction: new BigNumber(1), - ticker, - }); - - expect(result).toEqual({ transaction, args: [rawCaId], resolver: undefined }); - }); - - describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', () => { - const proc = procedureMockUtils.getInstance(mockContext); - const boundFunc = getAuthorization.bind(proc); - const args = { - ticker, - } as Params; - - expect(boundFunc(args)).toEqual({ - permissions: { - transactions: [TxTags.corporateAction.RemoveCa], - assets: [expect.objectContaining({ ticker })], - portfolios: [], - }, - }); - }); - }); -}); diff --git a/src/api/procedures/__tests__/removeExternalAgent.ts b/src/api/procedures/__tests__/removeExternalAgent.ts deleted file mode 100644 index 075e7a809c..0000000000 --- a/src/api/procedures/__tests__/removeExternalAgent.ts +++ /dev/null @@ -1,205 +0,0 @@ -import { - getAuthorization, - Params, - prepareRemoveExternalAgent, - prepareStorage, - Storage, -} from '~/api/procedures/removeExternalAgent'; -import { Context, FungibleAsset } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { PermissionGroupType, TxTags } from '~/types'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/Asset/Fungible', - require('~/testUtils/mocks/entities').mockFungibleAssetModule('~/api/entities/Asset/Fungible') -); -jest.mock( - '~/api/entities/CustomPermissionGroup', - require('~/testUtils/mocks/entities').mockCustomPermissionGroupModule( - '~/api/entities/CustomPermissionGroup' - ) -); -jest.mock( - '~/api/entities/KnownPermissionGroup', - require('~/testUtils/mocks/entities').mockKnownPermissionGroupModule( - '~/api/entities/KnownPermissionGroup' - ) -); - -describe('removeExternalAgent procedure', () => { - let mockContext: Mocked; - let ticker: string; - let asset: FungibleAsset; - let target: string; - let stringToTickerSpy: jest.SpyInstance; - let stringToIdentityIdSpy: jest.SpyInstance; - - beforeAll(() => { - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - ticker = 'SOME_TICKER'; - asset = entityMockUtils.getFungibleAssetInstance({ ticker }); - target = 'someDid'; - stringToTickerSpy = jest.spyOn(utilsConversionModule, 'stringToTicker'); - stringToIdentityIdSpy = jest.spyOn(utilsConversionModule, 'stringToIdentityId'); - }); - - beforeEach(() => { - entityMockUtils.configureMocks(); - mockContext = dsMockUtils.getContextInstance(); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - describe('prepareStorage', () => { - it('should return the Asset', () => { - const proc = procedureMockUtils.getInstance(mockContext); - const boundFunc = prepareStorage.bind(proc); - - const result = boundFunc({ - ticker, - target, - }); - - expect(result).toEqual({ - asset: expect.objectContaining({ ticker }), - }); - }); - }); - - describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', () => { - const proc = procedureMockUtils.getInstance(mockContext, { - asset, - }); - const boundFunc = getAuthorization.bind(proc); - - expect(boundFunc()).toEqual({ - permissions: { - transactions: [TxTags.externalAgents.RemoveAgent], - assets: [expect.objectContaining({ ticker })], - portfolios: [], - }, - }); - }); - }); - - it('should throw an error if the Identity is not an external agent', () => { - const args = { - target, - ticker, - }; - - const proc = procedureMockUtils.getInstance(mockContext, { - asset: entityMockUtils.getFungibleAssetInstance({ - permissionsGetAgents: [], - }), - }); - - return expect(prepareRemoveExternalAgent.call(proc, args)).rejects.toThrow( - 'The target Identity is not an External Agent' - ); - }); - - it('should throw an error if the agent to remove is the last one assigned to the full group', () => { - const args = { - target, - ticker, - }; - - const proc = procedureMockUtils.getInstance(mockContext, { - asset: entityMockUtils.getFungibleAssetInstance({ - permissionsGetAgents: [ - { - agent: entityMockUtils.getIdentityInstance({ isEqual: true }), - group: entityMockUtils.getKnownPermissionGroupInstance({ - ticker, - type: PermissionGroupType.Full, - }), - }, - ], - }), - }); - - return expect(prepareRemoveExternalAgent.call(proc, args)).rejects.toThrow( - 'The target is the last Agent with full permissions for this Asset. There should always be at least one Agent with full permissions' - ); - }); - - it('should return a remove agent transaction spec', async () => { - const transaction = dsMockUtils.createTxMock('externalAgents', 'removeAgent'); - let proc = procedureMockUtils.getInstance(mockContext, { - asset: entityMockUtils.getFungibleAssetInstance({ - permissionsGetAgents: [ - { - agent: entityMockUtils.getIdentityInstance({ isEqual: true }), - group: entityMockUtils.getKnownPermissionGroupInstance({ - ticker, - type: PermissionGroupType.ExceptMeta, - }), - }, - { - agent: entityMockUtils.getIdentityInstance({ isEqual: false }), - group: entityMockUtils.getKnownPermissionGroupInstance({ - ticker, - type: PermissionGroupType.Full, - }), - }, - ], - }), - }); - - const rawTicker = dsMockUtils.createMockTicker(ticker); - const rawAgent = dsMockUtils.createMockIdentityId(target); - - stringToTickerSpy.mockReturnValue(rawTicker); - stringToIdentityIdSpy.mockReturnValue(rawAgent); - - let result = await prepareRemoveExternalAgent.call(proc, { - target, - ticker, - }); - - expect(result).toEqual({ transaction, args: [rawTicker, rawAgent], resolver: undefined }); - - proc = procedureMockUtils.getInstance(mockContext, { - asset: entityMockUtils.getFungibleAssetInstance({ - permissionsGetAgents: [ - { - agent: entityMockUtils.getIdentityInstance({ isEqual: false }), - group: entityMockUtils.getKnownPermissionGroupInstance({ - ticker, - type: PermissionGroupType.Full, - }), - }, - { - agent: entityMockUtils.getIdentityInstance({ isEqual: true }), - group: entityMockUtils.getKnownPermissionGroupInstance({ - ticker, - type: PermissionGroupType.Full, - }), - }, - ], - }), - }); - - result = await prepareRemoveExternalAgent.call(proc, { - target, - ticker, - }); - - expect(result).toEqual({ transaction, args: [rawTicker, rawAgent], resolver: undefined }); - }); -}); diff --git a/src/api/procedures/__tests__/removeLocalMetadata.ts b/src/api/procedures/__tests__/removeLocalMetadata.ts deleted file mode 100644 index f1c3ef649c..0000000000 --- a/src/api/procedures/__tests__/removeLocalMetadata.ts +++ /dev/null @@ -1,183 +0,0 @@ -import { - PolymeshPrimitivesAssetMetadataAssetMetadataKey, - PolymeshPrimitivesTicker, -} from '@polkadot/types/lookup'; -import { u64 } from '@polkadot/types-codec'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { - getAuthorization, - Params, - prepareRemoveLocalMetadata, -} from '~/api/procedures/removeLocalMetadata'; -import { Context, MetadataEntry, PolymeshError } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { ErrorCode, MetadataType, TxTags } from '~/types'; -import { PolymeshTx } from '~/types/internal'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/Asset/Fungible', - require('~/testUtils/mocks/entities').mockFungibleAssetModule('~/api/entities/Asset/Fungible') -); -jest.mock( - '~/api/entities/MetadataEntry', - require('~/testUtils/mocks/entities').mockMetadataEntryModule('~/api/entities/MetadataEntry') -); - -describe('removeLocalMetadata procedure', () => { - let mockContext: Mocked; - let stringToTickerSpy: jest.SpyInstance; - let bigNumberToU64Spy: jest.SpyInstance; - let collectionTickerMock: jest.Mock; - - let ticker: string; - let rawTicker: PolymeshPrimitivesTicker; - let id: BigNumber; - let rawKey: u64; - - let type: MetadataType; - let params: Params; - - let rawMetadataKey: PolymeshPrimitivesAssetMetadataAssetMetadataKey; - - let removeLocalMetadataKeyMock: PolymeshTx< - [PolymeshPrimitivesTicker, PolymeshPrimitivesAssetMetadataAssetMetadataKey] - >; - - let metadataEntry: MetadataEntry; - let isModifiableSpy: jest.SpyInstance; - - beforeAll(() => { - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - - stringToTickerSpy = jest.spyOn(utilsConversionModule, 'stringToTicker'); - bigNumberToU64Spy = jest.spyOn(utilsConversionModule, 'bigNumberToU64'); - }); - - beforeEach(() => { - mockContext = dsMockUtils.getContextInstance(); - ticker = 'SOME_TICKER'; - rawTicker = dsMockUtils.createMockTicker(ticker); - - id = new BigNumber(1); - type = MetadataType.Local; - - metadataEntry = new MetadataEntry({ id, type, ticker }, mockContext); - - isModifiableSpy = jest.spyOn(metadataEntry, 'isModifiable'); - isModifiableSpy.mockResolvedValue({ - canModify: true, - }); - - params = { metadataEntry }; - - rawMetadataKey = dsMockUtils.createMockAssetMetadataKey({ - Local: dsMockUtils.createMockU64(id), - }); - - when(stringToTickerSpy).calledWith(ticker, mockContext).mockReturnValue(rawTicker); - - rawKey = dsMockUtils.createMockU64(id); - when(bigNumberToU64Spy).calledWith(id, mockContext).mockReturnValue(rawKey); - - removeLocalMetadataKeyMock = dsMockUtils.createTxMock('asset', 'removeLocalMetadataKey'); - collectionTickerMock = dsMockUtils.createQueryMock('nft', 'collectionTicker'); - - collectionTickerMock.mockReturnValue(dsMockUtils.createMockU64(new BigNumber(0))); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - jest.restoreAllMocks(); - }); - - it('should return a remove local metadata key transaction spec', async () => { - const proc = procedureMockUtils.getInstance(mockContext); - - const result = await prepareRemoveLocalMetadata.call(proc, params); - - expect(result).toEqual({ - transaction: removeLocalMetadataKeyMock, - args: [rawTicker, rawKey], - resolver: undefined, - }); - }); - - it('should throw an error if MetadataEntry is of global type', async () => { - const mockError = new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'Global Metadata keys cannot be deleted', - }); - isModifiableSpy.mockResolvedValue({ - canModify: false, - reason: mockError, - }); - const proc = procedureMockUtils.getInstance(mockContext); - - await expect( - prepareRemoveLocalMetadata.call(proc, { - metadataEntry: new MetadataEntry({ id, ticker, type: MetadataType.Global }, mockContext), - }) - ).rejects.toThrow(mockError); - isModifiableSpy.mockRestore(); - }); - - it('should throw an error if MetadataEntry is not modifiable', async () => { - const mockError = new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: 'Metadata does not exists', - }); - isModifiableSpy.mockResolvedValue({ - canModify: false, - reason: mockError, - }); - const proc = procedureMockUtils.getInstance(mockContext); - - await expect(prepareRemoveLocalMetadata.call(proc, params)).rejects.toThrow(mockError); - isModifiableSpy.mockRestore(); - }); - - it('should throw an error if the Metadata entry is mandatory NFT collection key', () => { - collectionTickerMock.mockReturnValue(dsMockUtils.createMockU64(new BigNumber(1))); - dsMockUtils.createQueryMock('nft', 'collectionKeys', { - returnValue: dsMockUtils.createMockBTreeSet([rawMetadataKey]), - }); - const proc = procedureMockUtils.getInstance(mockContext); - - const result = prepareRemoveLocalMetadata.call(proc, params); - - const expectedError = new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'Cannot delete a mandatory NFT Collection Key', - }); - return expect(result).rejects.toThrow(expectedError); - }); - - describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', () => { - const proc = procedureMockUtils.getInstance(mockContext); - - const boundFunc = getAuthorization.bind(proc); - - expect(boundFunc(params)).toEqual({ - permissions: { - transactions: [TxTags.asset.RemoveLocalMetadataKey], - assets: [expect.objectContaining({ ticker })], - portfolios: [], - }, - }); - }); - }); -}); diff --git a/src/api/procedures/__tests__/removeSecondaryAccounts.ts b/src/api/procedures/__tests__/removeSecondaryAccounts.ts deleted file mode 100644 index 700081ef59..0000000000 --- a/src/api/procedures/__tests__/removeSecondaryAccounts.ts +++ /dev/null @@ -1,116 +0,0 @@ -import { AccountId } from '@polkadot/types/interfaces'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { prepareRemoveSecondaryAccounts } from '~/api/procedures/removeSecondaryAccounts'; -import { Context } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { RemoveSecondaryAccountsParams, Signer, SignerType, SignerValue } from '~/types'; -import * as utilsConversionModule from '~/utils/conversion'; -import * as utilsInternalModule from '~/utils/internal'; - -describe('removeSecondaryAccounts procedure', () => { - let mockContext: Mocked; - let signerToSignerValueSpy: jest.SpyInstance; - let stringToAccountIdSpy: jest.SpyInstance; - let getSecondaryAccountPermissionsSpy: jest.SpyInstance; - - let args: RemoveSecondaryAccountsParams; - - beforeAll(() => { - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - signerToSignerValueSpy = jest.spyOn(utilsConversionModule, 'signerToSignerValue'); - stringToAccountIdSpy = jest.spyOn(utilsConversionModule, 'stringToAccountId'); - getSecondaryAccountPermissionsSpy = jest.spyOn( - utilsInternalModule, - 'getSecondaryAccountPermissions' - ); - }); - - beforeEach(() => { - mockContext = dsMockUtils.getContextInstance(); - - const secondaryAccount = entityMockUtils.getAccountInstance({ - address: '', - }); - secondaryAccount.isEqual.mockReturnValueOnce(false).mockReturnValue(true); - - const accounts = [secondaryAccount]; - - args = { - accounts, - }; - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - jest.restoreAllMocks(); - }); - - it('should return a remove secondary items transaction spec', async () => { - const { accounts } = args; - - const rawAccountId = dsMockUtils.createMockAccountId(accounts[0].address); - getSecondaryAccountPermissionsSpy.mockReturnValue(accounts.map(account => ({ account }))); - when(stringToAccountIdSpy) - .calledWith(accounts[0].address, mockContext) - .mockReturnValue(rawAccountId); - - const proc = procedureMockUtils.getInstance(mockContext); - - const transaction = dsMockUtils.createTxMock('identity', 'removeSecondaryKeys'); - - const result = await prepareRemoveSecondaryAccounts.call(proc, args); - - expect(result).toEqual({ - transaction, - feeMultiplier: new BigNumber(1), - args: [[rawAccountId]], - resolver: undefined, - }); - }); - - it('should throw an error if attempting to remove the primary Account', () => { - const proc = procedureMockUtils.getInstance(mockContext); - const account = entityMockUtils.getAccountInstance({ address: 'primaryAccount' }); - when(stringToAccountIdSpy) - .calledWith('primaryAccount', mockContext) - .mockReturnValue(dsMockUtils.createMockAccountId('primaryAccount')); - getSecondaryAccountPermissionsSpy.mockReturnValue([account]); - mockContext.getSigningIdentity = jest - .fn() - .mockReturnValue(entityMockUtils.getIdentityInstance({ getPrimaryAccount: { account } })); - - return expect( - prepareRemoveSecondaryAccounts.call(proc, { - ...args, - accounts: [account], - }) - ).rejects.toThrow('You cannot remove the primary Account'); - }); - - it('should throw an error if at least one of the secondary Accounts to remove is not present in the secondary Accounts list', () => { - const { accounts } = args; - const signerValue = { type: SignerType.Account, value: accounts[0].address }; - - when(signerToSignerValueSpy).calledWith(accounts[0]).mockReturnValue(signerValue); - getSecondaryAccountPermissionsSpy.mockReturnValue([]); - - const proc = procedureMockUtils.getInstance(mockContext); - return expect( - prepareRemoveSecondaryAccounts.call(proc, { - ...args, - }) - ).rejects.toThrow('One of the Accounts is not a secondary Account for the Identity'); - }); -}); diff --git a/src/api/procedures/__tests__/renamePortfolio.ts b/src/api/procedures/__tests__/renamePortfolio.ts deleted file mode 100644 index 3fc10c27e7..0000000000 --- a/src/api/procedures/__tests__/renamePortfolio.ts +++ /dev/null @@ -1,150 +0,0 @@ -import { Bytes, u64 } from '@polkadot/types'; -import { PolymeshPrimitivesIdentityId } from '@polkadot/types/lookup'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { getAuthorization, Params, prepareRenamePortfolio } from '~/api/procedures/renamePortfolio'; -import { Context, NumberedPortfolio } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { TxTags } from '~/types'; -import * as utilsConversionModule from '~/utils/conversion'; -import * as utilsInternalModule from '~/utils/internal'; - -jest.mock( - '~/api/entities/NumberedPortfolio', - require('~/testUtils/mocks/entities').mockNumberedPortfolioModule( - '~/api/entities/NumberedPortfolio' - ) -); - -describe('renamePortfolio procedure', () => { - const id = new BigNumber(1); - const did = 'someDid'; - const identityId = dsMockUtils.createMockIdentityId(did); - const rawPortfolioNumber = dsMockUtils.createMockU64(id); - const newName = 'newName'; - const rawNewName = dsMockUtils.createMockBytes(newName); - let mockContext: Mocked; - let stringToIdentityIdSpy: jest.SpyInstance; - let bigNumberToU64Spy: jest.SpyInstance; - let stringToBytesSpy: jest.SpyInstance; - let getPortfolioIdsByNameSpy: jest.SpyInstance; - - beforeAll(() => { - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - stringToIdentityIdSpy = jest.spyOn(utilsConversionModule, 'stringToIdentityId'); - bigNumberToU64Spy = jest.spyOn(utilsConversionModule, 'bigNumberToU64'); - stringToBytesSpy = jest.spyOn(utilsConversionModule, 'stringToBytes'); - getPortfolioIdsByNameSpy = jest.spyOn(utilsInternalModule, 'getPortfolioIdsByName'); - }); - - beforeEach(() => { - mockContext = dsMockUtils.getContextInstance(); - when(stringToIdentityIdSpy).calledWith(did, mockContext).mockReturnValue(identityId); - when(bigNumberToU64Spy).calledWith(id, mockContext).mockReturnValue(rawPortfolioNumber); - entityMockUtils.configureMocks({ - numberedPortfolioOptions: { - isOwnedBy: true, - }, - }); - stringToBytesSpy.mockReturnValue(rawNewName); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it('should throw an error if the new name is the same as the current one', () => { - getPortfolioIdsByNameSpy.mockReturnValue([id]); - - const proc = procedureMockUtils.getInstance(mockContext); - - return expect( - prepareRenamePortfolio.call(proc, { - id, - did, - name: newName, - }) - ).rejects.toThrow('New name is the same as current name'); - }); - - it('should throw an error if there already is a portfolio with the new name', () => { - getPortfolioIdsByNameSpy.mockReturnValue([new BigNumber(2)]); - - const proc = procedureMockUtils.getInstance(mockContext); - - return expect( - prepareRenamePortfolio.call(proc, { - id, - did, - name: newName, - }) - ).rejects.toThrow('A Portfolio with that name already exists'); - }); - - it('should return a rename portfolio transaction spec', async () => { - getPortfolioIdsByNameSpy.mockReturnValue([]); - - const transaction = dsMockUtils.createTxMock('portfolio', 'renamePortfolio'); - const proc = procedureMockUtils.getInstance(mockContext); - - const result = await prepareRenamePortfolio.call(proc, { - id, - did, - name: newName, - }); - - expect(result).toEqual({ - transaction, - args: [rawPortfolioNumber, rawNewName], - resolver: expect.objectContaining({ id }), - }); - }); - - describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', async () => { - let proc = procedureMockUtils.getInstance(mockContext); - let boundFunc = getAuthorization.bind(proc); - const args = { - did, - id, - } as Params; - - let result = await boundFunc(args); - expect(result).toEqual({ - roles: true, - permissions: { - assets: [], - portfolios: [expect.objectContaining({ owner: expect.objectContaining({ did }), id })], - transactions: [TxTags.portfolio.RenamePortfolio], - }, - }); - - proc = procedureMockUtils.getInstance( - dsMockUtils.getContextInstance({ did: 'custodianDid' }) - ); - - boundFunc = getAuthorization.bind(proc); - - result = await boundFunc(args); - expect(result).toEqual({ - roles: 'Only the owner is allowed to modify the name of a Portfolio', - permissions: { - assets: [], - portfolios: [expect.objectContaining({ owner: expect.objectContaining({ did }), id })], - transactions: [TxTags.portfolio.RenamePortfolio], - }, - }); - }); - }); -}); diff --git a/src/api/procedures/__tests__/reserveTicker.ts b/src/api/procedures/__tests__/reserveTicker.ts deleted file mode 100644 index 1521d73412..0000000000 --- a/src/api/procedures/__tests__/reserveTicker.ts +++ /dev/null @@ -1,270 +0,0 @@ -import { PolymeshPrimitivesTicker } from '@polkadot/types/lookup'; -import { ISubmittableResult } from '@polkadot/types/types'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { - createTickerReservationResolver, - getAuthorization, - prepareReserveTicker, -} from '~/api/procedures/reserveTicker'; -import { Context, TickerReservation } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { ReserveTickerParams, RoleType, TickerReservationStatus, TxTags } from '~/types'; -import { PolymeshTx } from '~/types/internal'; -import * as utilsConversionModule from '~/utils/conversion'; -import * as utilsInternalModule from '~/utils/internal'; - -jest.mock( - '~/api/entities/TickerReservation', - require('~/testUtils/mocks/entities').mockTickerReservationModule( - '~/api/entities/TickerReservation' - ) -); - -describe('reserveTicker procedure', () => { - let mockContext: Mocked; - let stringToTickerSpy: jest.SpyInstance; - let ticker: string; - let rawTicker: PolymeshPrimitivesTicker; - let args: ReserveTickerParams; - - beforeAll(() => { - dsMockUtils.initMocks({ - contextOptions: { - balance: { - free: new BigNumber(1000), - locked: new BigNumber(0), - total: new BigNumber(1000), - }, - }, - }); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - stringToTickerSpy = jest.spyOn(utilsConversionModule, 'stringToTicker'); - ticker = 'TICKER'; - rawTicker = dsMockUtils.createMockTicker(ticker); - args = { - ticker, - }; - }); - - let transaction: PolymeshTx<[PolymeshPrimitivesTicker]>; - - beforeEach(() => { - entityMockUtils.configureMocks({ - tickerReservationOptions: { - details: { - owner: entityMockUtils.getIdentityInstance({ did: 'someOtherDid' }), - expiryDate: null, - status: TickerReservationStatus.Free, - }, - }, - }); - - dsMockUtils.createQueryMock('asset', 'tickerConfig', { - returnValue: dsMockUtils.createMockTickerRegistrationConfig(), - }); - - transaction = dsMockUtils.createTxMock('asset', 'registerTicker'); - - mockContext = dsMockUtils.getContextInstance(); - - when(stringToTickerSpy).calledWith(ticker, mockContext).mockReturnValue(rawTicker); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it('should throw an error if the ticker is already reserved', async () => { - const expiryDate = new Date(new Date().getTime() + 1000); - entityMockUtils.configureMocks({ - tickerReservationOptions: { - details: { - owner: entityMockUtils.getIdentityInstance({ did: 'someOtherDid' }), - expiryDate, - status: TickerReservationStatus.Reserved, - }, - }, - }); - const proc = procedureMockUtils.getInstance( - mockContext - ); - - let error; - - try { - await prepareReserveTicker.call(proc, args); - } catch (err) { - error = err; - } - - expect(error.message).toBe(`Ticker "${ticker}" already reserved`); - expect(error.data).toMatchObject({ expiryDate }); - }); - - it('should throw an error if the current reservation is permanent', async () => { - entityMockUtils.configureMocks({ - tickerReservationOptions: { - details: { - owner: entityMockUtils.getIdentityInstance({ did: 'someOtherDid' }), - expiryDate: null, - status: TickerReservationStatus.Reserved, - }, - }, - }); - const proc = procedureMockUtils.getInstance( - mockContext - ); - - let error; - - try { - await prepareReserveTicker.call(proc, args); - } catch (err) { - error = err; - } - - expect(error.message).toBe(`Ticker "${ticker}" already reserved`); - expect(error.data).toMatchObject({ expiryDate: null }); - }); - - it('should throw an error if an Asset with that ticker has already been launched', () => { - entityMockUtils.configureMocks({ - tickerReservationOptions: { - details: { - owner: entityMockUtils.getIdentityInstance({ did: 'someOtherDid' }), - expiryDate: null, - status: TickerReservationStatus.AssetCreated, - }, - }, - }); - const proc = procedureMockUtils.getInstance( - mockContext - ); - - return expect(prepareReserveTicker.call(proc, args)).rejects.toThrow( - `An Asset with ticker "${ticker}" already exists` - ); - }); - - it('should throw an error if extendPeriod property is set to true and the ticker has not been reserved or the reservation has expired', () => { - const expiryDate = new Date(2019, 1, 1); - entityMockUtils.configureMocks({ - tickerReservationOptions: { - details: { - owner: entityMockUtils.getIdentityInstance({ did: 'someOtherDid' }), - expiryDate, - status: TickerReservationStatus.Free, - }, - }, - }); - const proc = procedureMockUtils.getInstance( - mockContext - ); - - return expect(prepareReserveTicker.call(proc, { ...args, extendPeriod: true })).rejects.toThrow( - 'Ticker not reserved or the reservation has expired' - ); - }); - - it('should throw an error if the ticker contains non alphanumeric components', () => { - const proc = procedureMockUtils.getInstance( - mockContext - ); - - return expect( - prepareReserveTicker.call(proc, { ...args, ticker: 'TICKER-()_+=' }) - ).rejects.toThrow('New Tickers can only contain alphanumeric values'); - }); - - it('should return a register ticker transaction spec', async () => { - const proc = procedureMockUtils.getInstance( - mockContext - ); - - let result = await prepareReserveTicker.call(proc, args); - - expect(result).toEqual({ - transaction, - args: [rawTicker], - resolver: expect.any(Function), - }); - - entityMockUtils.configureMocks({ - tickerReservationOptions: { - details: { - owner: entityMockUtils.getIdentityInstance({ did: 'someOtherDid' }), - expiryDate: new Date(3000, 12, 12), - status: TickerReservationStatus.Reserved, - }, - }, - }); - - result = await prepareReserveTicker.call(proc, { ...args, extendPeriod: true }); - - expect(result).toEqual({ transaction, resolver: expect.any(Function), args: [rawTicker] }); - }); -}); - -describe('tickerReservationResolver', () => { - const filterEventRecordsSpy = jest.spyOn(utilsInternalModule, 'filterEventRecords'); - const tickerString = 'TICKER'; - const ticker = dsMockUtils.createMockTicker(tickerString); - - beforeAll(() => { - entityMockUtils.initMocks({ tickerReservationOptions: { ticker: tickerString } }); - }); - - beforeEach(() => { - filterEventRecordsSpy.mockReturnValue([dsMockUtils.createMockIEvent(['someDid', ticker])]); - }); - - afterEach(() => { - filterEventRecordsSpy.mockReset(); - }); - - it('should return the new PolymeshPrimitivesTicker Reservation', () => { - const fakeContext = {} as Context; - - const result = createTickerReservationResolver(fakeContext)({} as ISubmittableResult); - - expect(result.ticker).toBe(tickerString); - }); -}); - -describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', () => { - const ticker = 'TICKER'; - const args = { - ticker, - extendPeriod: true, - }; - - const permissions = { - transactions: [TxTags.asset.RegisterTicker], - assets: [], - portfolios: [], - }; - - expect(getAuthorization(args)).toEqual({ - roles: [{ type: RoleType.TickerOwner, ticker }], - permissions, - }); - - args.extendPeriod = false; - - expect(getAuthorization(args)).toEqual({ - permissions, - }); - }); -}); diff --git a/src/api/procedures/__tests__/rotatePrimaryKey.ts b/src/api/procedures/__tests__/rotatePrimaryKey.ts deleted file mode 100644 index d01d384d06..0000000000 --- a/src/api/procedures/__tests__/rotatePrimaryKey.ts +++ /dev/null @@ -1,203 +0,0 @@ -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { prepareRotatePrimaryKey } from '~/api/procedures/rotatePrimaryKey'; -import { Account, AuthorizationRequest, Context } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { AuthorizationType, ResultSet, RotatePrimaryKeyParams } from '~/types'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/Account', - require('~/testUtils/mocks/entities').mockAccountModule('~/api/entities/Account') -); - -describe('rotatePrimaryKey procedure', () => { - let mockContext: Mocked; - let authorizationToAuthorizationDataSpy: jest.SpyInstance; - let expiryToMomentSpy: jest.SpyInstance; - let signerToSignatorySpy: jest.SpyInstance; - let signerToStringSpy: jest.SpyInstance; - - let args: RotatePrimaryKeyParams; - const authId = new BigNumber(1); - const address = 'targetAccount'; - - beforeAll(() => { - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - - authorizationToAuthorizationDataSpy = jest.spyOn( - utilsConversionModule, - 'authorizationToAuthorizationData' - ); - expiryToMomentSpy = jest.spyOn(utilsConversionModule, 'expiryToMoment'); - signerToStringSpy = jest.spyOn(utilsConversionModule, 'signerToString'); - signerToSignatorySpy = jest.spyOn(utilsConversionModule, 'signerToSignatory'); - }); - - beforeEach(() => { - mockContext = dsMockUtils.getContextInstance(); - args = { targetAccount: address }; - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it('should return an add authorization transaction spec', async () => { - const expiry = new Date('1/1/2040'); - const target = new Account({ address }, mockContext); - const someOtherTarget = new Account({ address: 'someOtherAccount' }, mockContext); - - const sentAuthorizations: ResultSet = { - data: [ - new AuthorizationRequest( - { - target: someOtherTarget, - issuer: entityMockUtils.getIdentityInstance(), - authId: new BigNumber(1), - expiry: null, - data: { - type: AuthorizationType.RotatePrimaryKey, - }, - }, - mockContext - ), - new AuthorizationRequest( - { - target, - issuer: entityMockUtils.getIdentityInstance(), - authId: new BigNumber(2), - expiry: new Date('01/01/2023'), - data: { - type: AuthorizationType.RotatePrimaryKey, - }, - }, - mockContext - ), - new AuthorizationRequest( - { - target, - issuer: entityMockUtils.getIdentityInstance(), - authId: new BigNumber(3), - expiry: null, - data: { - type: AuthorizationType.JoinIdentity, - value: { - assets: null, - transactions: null, - transactionGroups: [], - portfolios: null, - }, - }, - }, - mockContext - ), - ], - next: new BigNumber(1), - count: new BigNumber(1), - }; - - dsMockUtils.configureMocks({ - contextOptions: { - sentAuthorizations, - }, - }); - - const rawSignatory = dsMockUtils.createMockSignatory({ - Account: dsMockUtils.createMockAccountId('someAccountId'), - }); - - const authorization = { - type: AuthorizationType.RotatePrimaryKey, - }; - const rawAuthorizationData = dsMockUtils.createMockAuthorizationData('RotatePrimaryKey'); - - const rawExpiry = dsMockUtils.createMockMoment(new BigNumber(expiry.getTime())); - - signerToSignatorySpy.mockReturnValue(rawSignatory); - when(signerToStringSpy).calledWith(target).mockReturnValue(address); - when(signerToStringSpy).calledWith(someOtherTarget).mockReturnValue('someOtherAccount'); - - when(authorizationToAuthorizationDataSpy) - .calledWith(authorization, mockContext) - .mockReturnValue(rawAuthorizationData); - - const proc = procedureMockUtils.getInstance( - mockContext - ); - - const transaction = dsMockUtils.createTxMock('identity', 'addAuthorization'); - - let result = await prepareRotatePrimaryKey.call(proc, args); - - expect(result).toEqual({ - transaction, - args: [rawSignatory, rawAuthorizationData, null], - resolver: expect.any(Function), - }); - - when(expiryToMomentSpy).calledWith(expiry, mockContext).mockReturnValue(rawExpiry); - - result = await prepareRotatePrimaryKey.call(proc, { ...args, expiry }); - - expect(result).toEqual({ - transaction, - args: [rawSignatory, rawAuthorizationData, rawExpiry], - resolver: expect.any(Function), - }); - }); - - it('should throw an error if the passed Account has a pending authorization to accept', () => { - const target = entityMockUtils.getAccountInstance({ - address, - }); - dsMockUtils.createTxMock('identity', 'addAuthorization'); - - const sentAuthorizations: ResultSet = { - data: [ - new AuthorizationRequest( - { - target, - issuer: entityMockUtils.getIdentityInstance(), - authId, - expiry: null, - data: { - type: AuthorizationType.RotatePrimaryKey, - }, - }, - mockContext - ), - ], - next: new BigNumber(1), - count: new BigNumber(1), - }; - - dsMockUtils.configureMocks({ - contextOptions: { - sentAuthorizations, - }, - }); - - when(signerToStringSpy).calledWith(args.targetAccount).mockReturnValue(address); - when(signerToStringSpy).calledWith(target).mockReturnValue(address); - - const proc = procedureMockUtils.getInstance( - mockContext - ); - - return expect(prepareRotatePrimaryKey.call(proc, { ...args })).rejects.toThrow( - 'The target Account already has a pending invitation to become the primary key of the given Identity' - ); - }); -}); diff --git a/src/api/procedures/__tests__/setAssetDocuments.ts b/src/api/procedures/__tests__/setAssetDocuments.ts deleted file mode 100644 index 66ed8384d3..0000000000 --- a/src/api/procedures/__tests__/setAssetDocuments.ts +++ /dev/null @@ -1,253 +0,0 @@ -import { Option, u32, Vec } from '@polkadot/types'; -import { PolymeshPrimitivesDocument, PolymeshPrimitivesTicker } from '@polkadot/types/lookup'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { - getAuthorization, - Params, - prepareSetAssetDocuments, - prepareStorage, - Storage, -} from '~/api/procedures/setAssetDocuments'; -import { Context } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { AssetDocument, TxTags } from '~/types'; -import { PolymeshTx } from '~/types/internal'; -import { tuple } from '~/types/utils'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/Asset/Fungible', - require('~/testUtils/mocks/entities').mockFungibleAssetModule('~/api/entities/Asset/Fungible') -); - -describe('setAssetDocuments procedure', () => { - let mockContext: Mocked; - let stringToTickerSpy: jest.SpyInstance; - let assetDocumentToDocumentSpy: jest.SpyInstance< - PolymeshPrimitivesDocument, - [AssetDocument, Context] - >; - let ticker: string; - let documents: AssetDocument[]; - let rawTicker: PolymeshPrimitivesTicker; - let rawDocuments: PolymeshPrimitivesDocument[]; - let documentEntries: [[PolymeshPrimitivesTicker, u32], Option][]; - let args: Params; - - beforeAll(() => { - dsMockUtils.initMocks({ - contextOptions: { - balance: { - free: new BigNumber(500), - locked: new BigNumber(0), - total: new BigNumber(500), - }, - }, - }); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - stringToTickerSpy = jest.spyOn(utilsConversionModule, 'stringToTicker'); - jest.spyOn(utilsConversionModule, 'signerValueToSignatory'); - assetDocumentToDocumentSpy = jest.spyOn(utilsConversionModule, 'assetDocumentToDocument'); - ticker = 'SOME_TICKER'; - documents = [ - { - name: 'someDocument', - uri: 'someUri', - contentHash: '0x01', - }, - { - name: 'otherDocument', - uri: 'otherUri', - contentHash: '0x02', - }, - ]; - rawTicker = dsMockUtils.createMockTicker(ticker); - rawDocuments = documents.map(({ name, uri, contentHash, type, filedAt }) => - dsMockUtils.createMockDocument({ - name: dsMockUtils.createMockBytes(name), - uri: dsMockUtils.createMockBytes(uri), - contentHash: dsMockUtils.createMockDocumentHash({ - H128: dsMockUtils.createMockU8aFixed(contentHash, true), - }), - docType: dsMockUtils.createMockOption(type ? dsMockUtils.createMockBytes(type) : null), - filingDate: dsMockUtils.createMockOption( - filedAt ? dsMockUtils.createMockMoment(new BigNumber(filedAt.getTime())) : null - ), - }) - ); - documentEntries = rawDocuments.map((doc, index) => - tuple( - [rawTicker, dsMockUtils.createMockU32(new BigNumber(index))], - dsMockUtils.createMockOption(doc) - ) - ); - args = { - ticker, - documents, - }; - }); - - let removeDocumentsTransaction: PolymeshTx<[Vec, PolymeshPrimitivesTicker]>; - let addDocumentsTransaction: PolymeshTx<[Vec, PolymeshPrimitivesTicker]>; - - beforeEach(() => { - dsMockUtils.createQueryMock('asset', 'assetDocuments', { - entries: [documentEntries[0]], - }); - - removeDocumentsTransaction = dsMockUtils.createTxMock('asset', 'removeDocuments'); - addDocumentsTransaction = dsMockUtils.createTxMock('asset', 'addDocuments'); - - mockContext = dsMockUtils.getContextInstance(); - - when(stringToTickerSpy).calledWith(ticker, mockContext).mockReturnValue(rawTicker); - documents.forEach((doc, index) => { - when(assetDocumentToDocumentSpy) - .calledWith(doc, mockContext) - .mockReturnValue(rawDocuments[index]); - }); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it('should throw an error if the new list is the same as the current one', () => { - const proc = procedureMockUtils.getInstance(mockContext, { - currentDocs: documents, - currentDocIds: [], - }); - - return expect(prepareSetAssetDocuments.call(proc, args)).rejects.toThrow( - 'The supplied document list is equal to the current one' - ); - }); - - it('should add a remove documents transaction and an add documents transaction to the batch', async () => { - const docIds = [documentEntries[0][0][1]]; - const proc = procedureMockUtils.getInstance(mockContext, { - currentDocIds: docIds, - currentDocs: [], - }); - - const result = await prepareSetAssetDocuments.call(proc, args); - - expect(result).toEqual({ - transactions: [ - { - transaction: removeDocumentsTransaction, - feeMultiplier: new BigNumber(1), - args: [docIds, rawTicker], - }, - { - transaction: addDocumentsTransaction, - feeMultiplier: new BigNumber(rawDocuments.length), - args: [rawDocuments, rawTicker], - }, - ], - resolver: undefined, - }); - }); - - it('should not add a remove documents transaction if there are no documents linked to the Asset', async () => { - const proc = procedureMockUtils.getInstance(mockContext, { - currentDocIds: [], - currentDocs: [], - }); - - const result = await prepareSetAssetDocuments.call(proc, args); - - expect(result).toEqual({ - transactions: [ - { - transaction: addDocumentsTransaction, - feeMultiplier: new BigNumber(rawDocuments.length), - args: [rawDocuments, rawTicker], - }, - ], - resolver: undefined, - }); - }); - - it('should not add an add documents transaction if there are no documents passed as arguments', async () => { - const docIds = [documentEntries[0][0][1]]; - const proc = procedureMockUtils.getInstance(mockContext, { - currentDocs: [documents[0]], - currentDocIds: docIds, - }); - - const result = await prepareSetAssetDocuments.call(proc, { ...args, documents: [] }); - - expect(result).toEqual({ - transactions: [ - { - transaction: removeDocumentsTransaction, - feeMultiplier: new BigNumber(1), - args: [docIds, rawTicker], - }, - ], - resolver: undefined, - }); - }); - - describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', () => { - let proc = procedureMockUtils.getInstance(mockContext, { - currentDocIds: [documentEntries[0][0][1]], - currentDocs: [], - }); - let boundFunc = getAuthorization.bind(proc); - - expect(boundFunc(args)).toEqual({ - permissions: { - assets: [expect.objectContaining({ ticker })], - transactions: [TxTags.asset.AddDocuments, TxTags.asset.RemoveDocuments], - portfolios: [], - }, - }); - - proc = procedureMockUtils.getInstance(mockContext, { - currentDocIds: [], - currentDocs: [], - }); - boundFunc = getAuthorization.bind(proc); - - expect(boundFunc({ ...args, documents: [] })).toEqual({ - permissions: { - assets: [expect.objectContaining({ ticker })], - transactions: [], - portfolios: [], - }, - }); - }); - }); - - describe('prepareStorage', () => { - it('should return the current documents and their ids', async () => { - const proc = procedureMockUtils.getInstance(mockContext); - const boundFunc = prepareStorage.bind(proc); - - dsMockUtils.createQueryMock('asset', 'assetDocuments', { - entries: documentEntries, - }); - - const result = await boundFunc(args); - - expect(result).toEqual({ - currentDocs: documents, - currentDocIds: documentEntries.map(([[, id]]) => id), - }); - }); - }); -}); diff --git a/src/api/procedures/__tests__/setAssetRequirements.ts b/src/api/procedures/__tests__/setAssetRequirements.ts deleted file mode 100644 index b5419946ff..0000000000 --- a/src/api/procedures/__tests__/setAssetRequirements.ts +++ /dev/null @@ -1,230 +0,0 @@ -import { Vec } from '@polkadot/types'; -import { - PolymeshPrimitivesComplianceManagerComplianceRequirement, - PolymeshPrimitivesCondition, - PolymeshPrimitivesTicker, -} from '@polkadot/types/lookup'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { - getAuthorization, - Params, - prepareSetAssetRequirements, -} from '~/api/procedures/setAssetRequirements'; -import { Context } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { - Condition, - ConditionTarget, - ConditionType, - InputCondition, - InputRequirement, - Requirement, - TxTags, -} from '~/types'; -import { PolymeshTx } from '~/types/internal'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/Asset/Fungible', - require('~/testUtils/mocks/entities').mockFungibleAssetModule('~/api/entities/Asset/Fungible') -); - -describe('setAssetRequirements procedure', () => { - let mockContext: Mocked; - let stringToTickerSpy: jest.SpyInstance; - let requirementToComplianceRequirementSpy: jest.SpyInstance< - PolymeshPrimitivesComplianceManagerComplianceRequirement, - [InputRequirement, Context] - >; - let ticker: string; - let requirements: Condition[][]; - let currentRequirements: Requirement[]; - let rawTicker: PolymeshPrimitivesTicker; - let senderConditions: PolymeshPrimitivesCondition[][]; - let receiverConditions: PolymeshPrimitivesCondition[][]; - let rawComplianceRequirements: PolymeshPrimitivesComplianceManagerComplianceRequirement[]; - let args: Params; - - beforeAll(() => { - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - stringToTickerSpy = jest.spyOn(utilsConversionModule, 'stringToTicker'); - requirementToComplianceRequirementSpy = jest.spyOn( - utilsConversionModule, - 'requirementToComplianceRequirement' - ); - ticker = 'SOME_TICKER'; - requirements = [ - [ - { - type: ConditionType.IsIdentity, - identity: entityMockUtils.getIdentityInstance(), - target: ConditionTarget.Both, - }, - { - type: ConditionType.IsExternalAgent, - target: ConditionTarget.Both, - }, - ], - [ - { - type: ConditionType.IsExternalAgent, - target: ConditionTarget.Both, - }, - { - type: ConditionType.IsNoneOf, - claims: [], - target: ConditionTarget.Both, - }, - { - type: ConditionType.IsAnyOf, - claims: [], - target: ConditionTarget.Both, - }, - ], - ]; - currentRequirements = requirements.map((conditions, index) => ({ - conditions, - id: new BigNumber(index), - })); - senderConditions = [ - 'senderConditions0' as unknown as PolymeshPrimitivesCondition[], - 'senderConditions1' as unknown as PolymeshPrimitivesCondition[], - 'senderConditions2' as unknown as PolymeshPrimitivesCondition[], - ]; - receiverConditions = [ - 'receiverConditions0' as unknown as PolymeshPrimitivesCondition[], - 'receiverConditions1' as unknown as PolymeshPrimitivesCondition[], - 'receiverConditions2' as unknown as PolymeshPrimitivesCondition[], - ]; - rawTicker = dsMockUtils.createMockTicker(ticker); - args = { - ticker, - requirements, - }; - }); - - let resetAssetComplianceTransaction: PolymeshTx<[PolymeshPrimitivesTicker]>; - let replaceAssetComplianceTransaction: PolymeshTx< - Vec - >; - - beforeEach(() => { - dsMockUtils.setConstMock('complianceManager', 'maxConditionComplexity', { - returnValue: dsMockUtils.createMockU32(new BigNumber(50)), - }); - entityMockUtils.configureMocks({ - fungibleAssetOptions: { - complianceRequirementsGet: { - requirements: currentRequirements, - defaultTrustedClaimIssuers: [], - }, - }, - }); - - resetAssetComplianceTransaction = dsMockUtils.createTxMock( - 'complianceManager', - 'resetAssetCompliance' - ); - replaceAssetComplianceTransaction = dsMockUtils.createTxMock( - 'complianceManager', - 'replaceAssetCompliance' - ); - - mockContext = dsMockUtils.getContextInstance(); - - rawComplianceRequirements = []; - when(stringToTickerSpy).calledWith(ticker, mockContext).mockReturnValue(rawTicker); - requirements.forEach((conditions, index) => { - const complianceRequirement = dsMockUtils.createMockComplianceRequirement({ - senderConditions: senderConditions[index], - receiverConditions: receiverConditions[index], - id: dsMockUtils.createMockU32(new BigNumber(index)), - }); - rawComplianceRequirements.push(complianceRequirement); - when(requirementToComplianceRequirementSpy) - .calledWith({ conditions, id: new BigNumber(index) }, mockContext) - .mockReturnValue(complianceRequirement); - }); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it('should throw an error if the new list is the same as the current one', () => { - const proc = procedureMockUtils.getInstance(mockContext); - - return expect(prepareSetAssetRequirements.call(proc, args)).rejects.toThrow( - 'The supplied condition list is equal to the current one' - ); - }); - - it('should return a reset asset compliance transaction spec if the new requirements are empty', async () => { - const proc = procedureMockUtils.getInstance(mockContext); - - const result = await prepareSetAssetRequirements.call(proc, { ...args, requirements: [] }); - - expect(result).toEqual({ - transaction: resetAssetComplianceTransaction, - args: [rawTicker], - }); - }); - - it('should return a replace asset compliance transaction spec', async () => { - entityMockUtils.configureMocks({ - fungibleAssetOptions: { - complianceRequirementsGet: { - requirements: currentRequirements.slice(0, 1), - defaultTrustedClaimIssuers: [], - }, - }, - }); - const proc = procedureMockUtils.getInstance(mockContext); - - const result = await prepareSetAssetRequirements.call(proc, args); - - expect(result).toEqual({ - transaction: replaceAssetComplianceTransaction, - args: [rawTicker, rawComplianceRequirements], - }); - }); - - describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', () => { - const proc = procedureMockUtils.getInstance(mockContext); - const boundFunc = getAuthorization.bind(proc); - const params = { - ticker, - requirements: [], - }; - - expect(boundFunc(params)).toEqual({ - permissions: { - transactions: [TxTags.complianceManager.ResetAssetCompliance], - assets: [expect.objectContaining({ ticker })], - portfolios: [], - }, - }); - - expect(boundFunc({ ...params, requirements: [1] as unknown as InputCondition[][] })).toEqual({ - permissions: { - transactions: [TxTags.complianceManager.ReplaceAssetCompliance], - assets: [expect.objectContaining({ ticker })], - portfolios: [], - }, - }); - }); - }); -}); diff --git a/src/api/procedures/__tests__/setConfidentialVenueFiltering.ts b/src/api/procedures/__tests__/setConfidentialVenueFiltering.ts index 2c14876967..c27a770627 100644 --- a/src/api/procedures/__tests__/setConfidentialVenueFiltering.ts +++ b/src/api/procedures/__tests__/setConfidentialVenueFiltering.ts @@ -1,4 +1,5 @@ import { bool, u64 } from '@polkadot/types'; +import * as utilsPublicConversionModule from '@polymeshassociation/polymesh-sdk/utils/conversion'; import BigNumber from 'bignumber.js'; import { when } from 'jest-when'; @@ -16,9 +17,9 @@ import { RoleType, TxTags } from '~/types'; import * as utilsConversionModule from '~/utils/conversion'; jest.mock( - '~/api/entities/confidential/ConfidentialVenue', + '~/api/entities/ConfidentialVenue', require('~/testUtils/mocks/entities').mockConfidentialVenueModule( - '~/api/entities/confidential/ConfidentialVenue' + '~/api/entities/ConfidentialVenue' ) ); @@ -42,8 +43,8 @@ describe('setConfidentialVenueFiltering procedure', () => { utilsConversionModule, 'serializeConfidentialAssetId' ); - booleanToBoolSpy = jest.spyOn(utilsConversionModule, 'booleanToBool'); - bigNumberToU64Spy = jest.spyOn(utilsConversionModule, 'bigNumberToU64'); + booleanToBoolSpy = jest.spyOn(utilsPublicConversionModule, 'booleanToBool'); + bigNumberToU64Spy = jest.spyOn(utilsPublicConversionModule, 'bigNumberToU64'); rawFalse = dsMockUtils.createMockBool(false); }); diff --git a/src/api/procedures/__tests__/setCustodian.ts b/src/api/procedures/__tests__/setCustodian.ts deleted file mode 100644 index 2e17bc14e4..0000000000 --- a/src/api/procedures/__tests__/setCustodian.ts +++ /dev/null @@ -1,232 +0,0 @@ -import { Moment } from '@polkadot/types/interfaces'; -import { - PolymeshPrimitivesAuthorizationAuthorizationData, - PolymeshPrimitivesSecondaryKeySignatory, -} from '@polkadot/types/lookup'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { getAuthorization, Params, prepareSetCustodian } from '~/api/procedures/setCustodian'; -import { Account, AuthorizationRequest, Context, Identity } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { - Authorization, - AuthorizationType, - PortfolioId, - RoleType, - SignerType, - SignerValue, - TxTags, -} from '~/types'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/Identity', - require('~/testUtils/mocks/entities').mockIdentityModule('~/api/entities/Identity') -); -jest.mock( - '~/api/entities/DefaultPortfolio', - require('~/testUtils/mocks/entities').mockDefaultPortfolioModule( - '~/api/entities/DefaultPortfolio' - ) -); -jest.mock( - '~/api/entities/NumberedPortfolio', - require('~/testUtils/mocks/entities').mockNumberedPortfolioModule( - '~/api/entities/NumberedPortfolio' - ) -); -jest.mock( - '~/api/entities/AuthorizationRequest', - require('~/testUtils/mocks/entities').mockAuthorizationRequestModule( - '~/api/entities/AuthorizationRequest' - ) -); - -describe('setCustodian procedure', () => { - let mockContext: Mocked; - let authorizationToAuthorizationDataSpy: jest.SpyInstance< - PolymeshPrimitivesAuthorizationAuthorizationData, - [Authorization, Context] - >; - let dateToMomentSpy: jest.SpyInstance; - let signerToStringSpy: jest.SpyInstance; - let signerValueToSignatorySpy: jest.SpyInstance< - PolymeshPrimitivesSecondaryKeySignatory, - [SignerValue, Context] - >; - - beforeAll(() => { - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - - authorizationToAuthorizationDataSpy = jest.spyOn( - utilsConversionModule, - 'authorizationToAuthorizationData' - ); - dateToMomentSpy = jest.spyOn(utilsConversionModule, 'dateToMoment'); - signerToStringSpy = jest.spyOn(utilsConversionModule, 'signerToString'); - signerValueToSignatorySpy = jest.spyOn(utilsConversionModule, 'signerValueToSignatory'); - }); - - beforeEach(() => { - mockContext = dsMockUtils.getContextInstance(); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it('should throw an error if the passed Account has a pending authorization to accept', () => { - const did = 'someDid'; - const args = { targetIdentity: 'targetIdentity', did }; - - const target = entityMockUtils.getIdentityInstance({ did: args.targetIdentity }); - const signer = entityMockUtils.getAccountInstance({ address: 'someFakeAccount' }); - const fakePortfolio = entityMockUtils.getDefaultPortfolioInstance({ did }); - const receivedAuthorizations: AuthorizationRequest[] = [ - entityMockUtils.getAuthorizationRequestInstance({ - target, - issuer: entityMockUtils.getIdentityInstance({ did }), - authId: new BigNumber(1), - expiry: null, - data: { type: AuthorizationType.PortfolioCustody, value: fakePortfolio }, - }), - ]; - - entityMockUtils.configureMocks({ - identityOptions: { - authorizationsGetReceived: receivedAuthorizations, - }, - }); - - when(signerToStringSpy).calledWith(signer).mockReturnValue(signer.address); - when(signerToStringSpy).calledWith(args.targetIdentity).mockReturnValue(args.targetIdentity); - when(signerToStringSpy).calledWith(target).mockReturnValue(args.targetIdentity); - - const proc = procedureMockUtils.getInstance(mockContext); - - return expect(prepareSetCustodian.call(proc, args)).rejects.toThrow( - "The target Identity already has a pending invitation to be the Portfolio's custodian" - ); - }); - - it('should return an add authorization transaction spec', async () => { - const did = 'someDid'; - const id = new BigNumber(1); - const expiry = new Date('1/1/2040'); - const args = { targetIdentity: 'targetIdentity', did }; - const target = entityMockUtils.getIdentityInstance({ did: args.targetIdentity }); - const signer = entityMockUtils.getAccountInstance({ address: 'someFakeAccount' }); - const rawSignatory = dsMockUtils.createMockSignatory({ - Account: dsMockUtils.createMockAccountId('someAccountId'), - }); - const rawDid = dsMockUtils.createMockIdentityId(did); - const rawPortfolioKind = dsMockUtils.createMockPortfolioKind({ - User: dsMockUtils.createMockU64(id), - }); - const rawAuthorizationData = dsMockUtils.createMockAuthorizationData({ - PortfolioCustody: dsMockUtils.createMockPortfolioId({ did: rawDid, kind: rawPortfolioKind }), - }); - const rawExpiry = dsMockUtils.createMockMoment(new BigNumber(expiry.getTime())); - const fakePortfolio = entityMockUtils.getNumberedPortfolioInstance({ isEqual: false }); - const receivedAuthorizations: AuthorizationRequest[] = [ - entityMockUtils.getAuthorizationRequestInstance({ - target, - issuer: entityMockUtils.getIdentityInstance(), - authId: new BigNumber(1), - expiry: null, - data: { type: AuthorizationType.PortfolioCustody, value: fakePortfolio }, - }), - ]; - - entityMockUtils.configureMocks({ - identityOptions: { - authorizationsGetReceived: receivedAuthorizations, - }, - defaultPortfolioOptions: { - isEqual: false, - }, - numberedPortfolioOptions: { - isEqual: false, - }, - }); - - when(signerToStringSpy).calledWith(signer).mockReturnValue(signer.address); - when(signerToStringSpy).calledWith(args.targetIdentity).mockReturnValue(args.targetIdentity); - when(signerToStringSpy).calledWith(target).mockReturnValue('someValue'); - when(signerValueToSignatorySpy) - .calledWith({ type: SignerType.Identity, value: args.targetIdentity }, mockContext) - .mockReturnValue(rawSignatory); - authorizationToAuthorizationDataSpy.mockReturnValue(rawAuthorizationData); - when(dateToMomentSpy).calledWith(expiry, mockContext).mockReturnValue(rawExpiry); - - const proc = procedureMockUtils.getInstance(mockContext); - - const transaction = dsMockUtils.createTxMock('identity', 'addAuthorization'); - - let result = await prepareSetCustodian.call(proc, args); - - expect(result).toEqual({ - transaction, - args: [rawSignatory, rawAuthorizationData, null], - resolver: expect.any(Function), - }); - - result = await prepareSetCustodian.call(proc, { ...args, id, expiry }); - - expect(result).toEqual({ - transaction, - args: [rawSignatory, rawAuthorizationData, rawExpiry], - resolver: expect.any(Function), - }); - }); - - describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', () => { - const proc = procedureMockUtils.getInstance(mockContext); - const boundFunc = getAuthorization.bind(proc); - const id = new BigNumber(1); - const did = 'someDid'; - let args = { - id, - did, - } as Params; - - let portfolioId: PortfolioId = { did: args.did, number: args.id }; - - expect(boundFunc(args)).toEqual({ - roles: [{ type: RoleType.PortfolioCustodian, portfolioId }], - permissions: { - transactions: [TxTags.identity.AddAuthorization], - portfolios: [expect.objectContaining({ owner: expect.objectContaining({ did }), id })], - assets: [], - }, - }); - - args = { - did, - } as Params; - - portfolioId = { did: args.did }; - - expect(boundFunc(args)).toEqual({ - roles: [{ type: RoleType.PortfolioCustodian, portfolioId }], - permissions: { - transactions: [TxTags.identity.AddAuthorization], - portfolios: [expect.objectContaining({ owner: expect.objectContaining({ did }) })], - assets: [], - }, - }); - }); - }); -}); diff --git a/src/api/procedures/__tests__/setGroupPermissions.ts b/src/api/procedures/__tests__/setGroupPermissions.ts deleted file mode 100644 index 494b65f2eb..0000000000 --- a/src/api/procedures/__tests__/setGroupPermissions.ts +++ /dev/null @@ -1,150 +0,0 @@ -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { - getAuthorization, - Params, - prepareSetGroupPermissions, -} from '~/api/procedures/setGroupPermissions'; -import { Context } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { PermissionType, TxTags } from '~/types'; -import { PolymeshTx } from '~/types/internal'; -import * as utilsConversionModule from '~/utils/conversion'; - -describe('setGroupPermissions procedure', () => { - const ticker = 'SOME_TICKER'; - const permissions = { - transactions: { - type: PermissionType.Include, - values: [TxTags.sto.Invest], - }, - }; - const rawTicker = dsMockUtils.createMockTicker(ticker); - const rawExtrinsicPermissions = dsMockUtils.createMockExtrinsicPermissions({ - These: [ - dsMockUtils.createMockPalletPermissions({ - palletName: 'Sto', - dispatchableNames: dsMockUtils.createMockDispatchableNames({ - These: [dsMockUtils.createMockBytes('invest')], - }), - }), - ], - }); - const customId = new BigNumber(1); - const rawAgId = dsMockUtils.createMockU32(customId); - - let mockContext: Mocked; - let externalAgentsSetGroupPermissionsTransaction: PolymeshTx; - let permissionsLikeToPermissionsSpy: jest.SpyInstance; - - beforeAll(() => { - entityMockUtils.initMocks(); - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - - jest.spyOn(utilsConversionModule, 'stringToTicker').mockReturnValue(rawTicker); - jest - .spyOn(utilsConversionModule, 'transactionPermissionsToExtrinsicPermissions') - .mockReturnValue(rawExtrinsicPermissions); - jest.spyOn(utilsConversionModule, 'bigNumberToU32').mockReturnValue(rawAgId); - - permissionsLikeToPermissionsSpy = jest.spyOn( - utilsConversionModule, - 'permissionsLikeToPermissions' - ); - }); - - beforeEach(() => { - externalAgentsSetGroupPermissionsTransaction = dsMockUtils.createTxMock( - 'externalAgents', - 'setGroupPermissions' - ); - mockContext = dsMockUtils.getContextInstance(); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it('should throw an error if new permissions are the same as the current ones', async () => { - const proc = procedureMockUtils.getInstance(mockContext); - - permissionsLikeToPermissionsSpy.mockReturnValue(permissions); - - let error; - - try { - await prepareSetGroupPermissions.call(proc, { - group: entityMockUtils.getCustomPermissionGroupInstance({ - ticker, - id: customId, - getPermissions: { - transactions: permissions.transactions, - transactionGroups: [], - }, - }), - permissions: { transactions: permissions.transactions }, - }); - } catch (err) { - error = err; - } - - expect(error.message).toBe('New permissions are the same as the current ones'); - }); - - it('should return a set group permissions transaction spec', async () => { - const proc = procedureMockUtils.getInstance(mockContext); - - const fakePermissions = { transactions: permissions.transactions }; - when(permissionsLikeToPermissionsSpy) - .calledWith(fakePermissions, mockContext) - .mockReturnValue(permissions.transactions); - - const result = await prepareSetGroupPermissions.call(proc, { - group: entityMockUtils.getCustomPermissionGroupInstance({ - ticker, - id: customId, - getPermissions: { - transactions: permissions.transactions, - transactionGroups: [], - }, - }), - permissions: fakePermissions, - }); - - expect(result).toEqual({ - transaction: externalAgentsSetGroupPermissionsTransaction, - args: [rawTicker, rawAgId, rawExtrinsicPermissions], - resolver: undefined, - }); - }); - - describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', () => { - const proc = procedureMockUtils.getInstance(mockContext); - const boundFunc = getAuthorization.bind(proc); - - expect( - boundFunc({ - permissions: { transactionGroups: [] }, - group: entityMockUtils.getCustomPermissionGroupInstance(), - }) - ).toEqual({ - permissions: { - transactions: [TxTags.externalAgents.SetGroupPermissions], - assets: [expect.objectContaining({ ticker })], - portfolios: [], - }, - }); - }); - }); -}); diff --git a/src/api/procedures/__tests__/setMetadata.ts b/src/api/procedures/__tests__/setMetadata.ts deleted file mode 100644 index 06d6618641..0000000000 --- a/src/api/procedures/__tests__/setMetadata.ts +++ /dev/null @@ -1,293 +0,0 @@ -import { Bytes, Option } from '@polkadot/types'; -import { - PolymeshPrimitivesAssetMetadataAssetMetadataKey, - PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail, - PolymeshPrimitivesTicker, -} from '@polkadot/types/lookup'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { getAuthorization, Params, prepareSetMetadata } from '~/api/procedures/setMetadata'; -import { Context, MetadataEntry, PolymeshError } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { ErrorCode, MetadataLockStatus, MetadataType, TxTags } from '~/types'; -import { PolymeshTx } from '~/types/internal'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/Asset/Fungible', - require('~/testUtils/mocks/entities').mockFungibleAssetModule('~/api/entities/Asset/Fungible') -); -jest.mock( - '~/api/entities/MetadataEntry', - require('~/testUtils/mocks/entities').mockMetadataEntryModule('~/api/entities/MetadataEntry') -); - -describe('setMetadata procedure', () => { - let mockContext: Mocked; - let stringToTickerSpy: jest.SpyInstance; - let metadataToMeshMetadataKeySpy: jest.SpyInstance; - let metadataValueDetailToMeshMetadataValueDetailSpy: jest.SpyInstance; - - let ticker: string; - let id: BigNumber; - let type: MetadataType; - let rawTicker: PolymeshPrimitivesTicker; - let rawMetadataKey: PolymeshPrimitivesAssetMetadataAssetMetadataKey; - let params: Params; - let setAssetMetadataMock: PolymeshTx< - [ - PolymeshPrimitivesTicker, - PolymeshPrimitivesAssetMetadataAssetMetadataKey, - Bytes, - Option - ] - >; - - let setAssetMetadataDetailsMock: PolymeshTx< - [ - PolymeshPrimitivesTicker, - PolymeshPrimitivesAssetMetadataAssetMetadataKey, - PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail - ] - >; - let metadataEntry: MetadataEntry; - let lockedUntil: Date; - let rawValueDetail: PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail; - - beforeAll(() => { - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - - stringToTickerSpy = jest.spyOn(utilsConversionModule, 'stringToTicker'); - metadataToMeshMetadataKeySpy = jest.spyOn(utilsConversionModule, 'metadataToMeshMetadataKey'); - metadataValueDetailToMeshMetadataValueDetailSpy = jest.spyOn( - utilsConversionModule, - 'metadataValueDetailToMeshMetadataValueDetail' - ); - }); - - beforeEach(() => { - mockContext = dsMockUtils.getContextInstance(); - ticker = 'SOME_TICKER'; - rawTicker = dsMockUtils.createMockTicker(ticker); - - id = new BigNumber(1); - type = MetadataType.Local; - - metadataEntry = entityMockUtils.getMetadataEntryInstance({ - id, - type, - ticker, - value: { - value: 'OLD_VALUE', - expiry: null, - lockStatus: MetadataLockStatus.LockedUntil, - lockedUntil: new Date('1987/01/01'), - }, - }); - - when(stringToTickerSpy).calledWith(ticker, mockContext).mockReturnValue(rawTicker); - - rawMetadataKey = dsMockUtils.createMockAssetMetadataKey({ - Local: dsMockUtils.createMockU64(id), - }); - when(metadataToMeshMetadataKeySpy) - .calledWith(type, id, mockContext) - .mockReturnValue(rawMetadataKey); - - lockedUntil = new Date('2030/01/01'); - rawValueDetail = dsMockUtils.createMockAssetMetadataValueDetail({ - lockStatus: dsMockUtils.createMockAssetMetadataLockStatus({ - lockStatus: 'LockedUntil', - lockedUntil, - }), - expire: dsMockUtils.createMockOption(), - }); - metadataValueDetailToMeshMetadataValueDetailSpy.mockReturnValue(rawValueDetail); - - setAssetMetadataMock = dsMockUtils.createTxMock('asset', 'setAssetMetadata'); - setAssetMetadataDetailsMock = dsMockUtils.createTxMock('asset', 'setAssetMetadataDetails'); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - jest.restoreAllMocks(); - }); - - it('should throw an error if MetadataEntry status is Locked', () => { - params = { - metadataEntry: entityMockUtils.getMetadataEntryInstance({ - id, - type, - ticker, - value: { - lockStatus: MetadataLockStatus.Locked, - }, - }), - value: 'SOME_VALUE', - }; - const proc = procedureMockUtils.getInstance(mockContext); - - const expectedError = new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'You cannot set details of a locked Metadata', - }); - - return expect(prepareSetMetadata.call(proc, params)).rejects.toThrowError(expectedError); - }); - - it('should throw an error if MetadataEntry is still in locked phase', () => { - params = { - metadataEntry: entityMockUtils.getMetadataEntryInstance({ - id, - type, - ticker, - value: { - lockStatus: MetadataLockStatus.LockedUntil, - lockedUntil, - }, - }), - value: 'SOME_VALUE', - }; - const proc = procedureMockUtils.getInstance(mockContext); - - const expectedError = new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'Metadata is currently locked', - data: { - lockedUntil, - }, - }); - - return expect(prepareSetMetadata.call(proc, params)).rejects.toThrowError(expectedError); - }); - - it('should throw an error if MetadataEntry value details are being set without specifying the value', () => { - params = { - metadataEntry: entityMockUtils.getMetadataEntryInstance({ id, type, ticker, value: null }), - details: { - expiry: null, - lockStatus: MetadataLockStatus.Unlocked, - }, - }; - - const proc = procedureMockUtils.getInstance(mockContext); - - const expectedError = new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'Metadata value details cannot be set for a metadata with no value', - }); - - return expect(prepareSetMetadata.call(proc, params)).rejects.toThrowError(expectedError); - }); - - it('should return a set asset metadata transaction spec', async () => { - const proc = procedureMockUtils.getInstance(mockContext); - - params = { - value: 'SOME_VALUE', - metadataEntry, - }; - const metadataValueToMeshMetadataValueSpy = jest.spyOn( - utilsConversionModule, - 'metadataValueToMeshMetadataValue' - ); - const rawValue = dsMockUtils.createMockBytes('SOME_VALUE'); - metadataValueToMeshMetadataValueSpy.mockReturnValue(rawValue); - - let result = await prepareSetMetadata.call(proc, params); - - const fakeResult = expect.objectContaining({ - id, - type, - asset: expect.objectContaining({ ticker }), - }); - - expect(result).toEqual({ - transaction: setAssetMetadataMock, - args: [rawTicker, rawMetadataKey, rawValue, null], - resolver: fakeResult, - }); - - result = await prepareSetMetadata.call(proc, { - ...params, - details: { - expiry: null, - lockStatus: MetadataLockStatus.LockedUntil, - lockedUntil, - }, - }); - - expect(result).toEqual({ - transaction: setAssetMetadataMock, - args: [rawTicker, rawMetadataKey, rawValue, rawValueDetail], - resolver: fakeResult, - }); - }); - - it('should return a set asset metadata details transaction spec', async () => { - const proc = procedureMockUtils.getInstance(mockContext); - - params = { - metadataEntry, - details: { - expiry: null, - lockStatus: MetadataLockStatus.LockedUntil, - lockedUntil, - }, - }; - - const result = await prepareSetMetadata.call(proc, params); - - const fakeResult = expect.objectContaining({ - id, - type, - asset: expect.objectContaining({ ticker }), - }); - - expect(result).toEqual({ - transaction: setAssetMetadataDetailsMock, - args: [rawTicker, rawMetadataKey, rawValueDetail], - resolver: fakeResult, - }); - }); - - describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', () => { - const proc = procedureMockUtils.getInstance(mockContext); - - const boundFunc = getAuthorization.bind(proc); - - params = { - metadataEntry, - details: { expiry: null, lockStatus: MetadataLockStatus.Unlocked }, - }; - - expect(boundFunc(params)).toEqual({ - permissions: { - transactions: [TxTags.asset.SetAssetMetadataDetails], - assets: [expect.objectContaining({ ticker })], - portfolios: [], - }, - }); - - expect(boundFunc({ ...params, value: 'SOME_VALUE' })).toEqual({ - permissions: { - transactions: [TxTags.asset.SetAssetMetadata], - assets: [expect.objectContaining({ ticker })], - portfolios: [], - }, - }); - }); - }); -}); diff --git a/src/api/procedures/__tests__/setPermissionGroup.ts b/src/api/procedures/__tests__/setPermissionGroup.ts deleted file mode 100644 index f05575056c..0000000000 --- a/src/api/procedures/__tests__/setPermissionGroup.ts +++ /dev/null @@ -1,448 +0,0 @@ -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { - getAuthorization, - Params, - prepareSetPermissionGroup, - prepareStorage, - Storage, -} from '~/api/procedures/setPermissionGroup'; -import * as utilsProcedureModule from '~/api/procedures/utils'; -import { Context, CustomPermissionGroup, KnownPermissionGroup } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { MockCustomPermissionGroup, MockKnownPermissionGroup } from '~/testUtils/mocks/entities'; -import { Mocked } from '~/testUtils/types'; -import { PermissionGroupType, PermissionType, TxGroup, TxTags } from '~/types'; -import { PolymeshTx } from '~/types/internal'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/Asset/Fungible', - require('~/testUtils/mocks/entities').mockFungibleAssetModule('~/api/entities/Asset/Fungible') -); - -describe('setPermissionGroup procedure', () => { - const ticker = 'SOME_TICKER'; - const did = 'someDid'; - const rawTicker = dsMockUtils.createMockTicker(ticker); - const rawIdentityId = dsMockUtils.createMockIdentityId(did); - const rawExtrinsicPermissions = dsMockUtils.createMockExtrinsicPermissions({ - These: [ - dsMockUtils.createMockPalletPermissions({ - palletName: 'Sto', - dispatchableNames: dsMockUtils.createMockDispatchableNames({ - These: [dsMockUtils.createMockBytes('invest')], - }), - }), - ], - }); - - let mockContext: Mocked; - let externalAgentsChangeGroupTransaction: PolymeshTx; - let externalAgentsCreateAndChangeGroupTransaction: PolymeshTx; - let permissionGroupIdentifierToAgentGroupSpy: jest.SpyInstance; - let transactionPermissionsToExtrinsicPermissionsSpy: jest.SpyInstance; - let stringToTickerSpy: jest.SpyInstance; - let stringToIdentityIdSpy: jest.SpyInstance; - let getGroupFromPermissionsSpy: jest.SpyInstance; - - beforeAll(() => { - entityMockUtils.initMocks(); - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - - transactionPermissionsToExtrinsicPermissionsSpy = jest.spyOn( - utilsConversionModule, - 'transactionPermissionsToExtrinsicPermissions' - ); - - permissionGroupIdentifierToAgentGroupSpy = jest.spyOn( - utilsConversionModule, - 'permissionGroupIdentifierToAgentGroup' - ); - stringToTickerSpy = jest.spyOn(utilsConversionModule, 'stringToTicker'); - stringToIdentityIdSpy = jest.spyOn(utilsConversionModule, 'stringToIdentityId'); - getGroupFromPermissionsSpy = jest.spyOn(utilsProcedureModule, 'getGroupFromPermissions'); - }); - - beforeEach(() => { - externalAgentsChangeGroupTransaction = dsMockUtils.createTxMock( - 'externalAgents', - 'changeGroup' - ); - externalAgentsCreateAndChangeGroupTransaction = dsMockUtils.createTxMock( - 'externalAgents', - 'createAndChangeCustomGroup' - ); - mockContext = dsMockUtils.getContextInstance(); - stringToTickerSpy.mockReturnValue(rawTicker); - stringToIdentityIdSpy.mockReturnValue(rawIdentityId); - transactionPermissionsToExtrinsicPermissionsSpy.mockReturnValue(rawExtrinsicPermissions); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it('should throw an error if the target is the last agent with full permissions', async () => { - const group = entityMockUtils.getKnownPermissionGroupInstance({ - ticker, - type: PermissionGroupType.Full, - }); - - const proc = procedureMockUtils.getInstance< - Params, - CustomPermissionGroup | KnownPermissionGroup, - Storage - >(mockContext, { - asset: entityMockUtils.getFungibleAssetInstance({ - ticker, - permissionsGetAgents: [ - { - agent: entityMockUtils.getIdentityInstance(), - group, - }, - ], - }), - }); - - let error; - - try { - await prepareSetPermissionGroup.call(proc, { - identity: entityMockUtils.getIdentityInstance({ - assetPermissionsGetGroup: group, - }), - group: { - asset: ticker, - transactions: { - type: PermissionType.Include, - values: [], - }, - }, - }); - } catch (err) { - error = err; - } - - expect(error.message).toBe( - 'The target is the last Agent with full permissions for this Asset. There should always be at least one Agent with full permissions' - ); - }); - - it('should throw an error if the target is not an agent', async () => { - const proc = procedureMockUtils.getInstance< - Params, - CustomPermissionGroup | KnownPermissionGroup, - Storage - >(mockContext, { - asset: entityMockUtils.getFungibleAssetInstance({ - ticker, - permissionsGetAgents: [], - }), - }); - - let error; - - try { - await prepareSetPermissionGroup.call(proc, { - identity: entityMockUtils.getIdentityInstance(), - group: { - asset: ticker, - transactions: { - type: PermissionType.Include, - values: [], - }, - }, - }); - } catch (err) { - error = err; - } - - expect(error.message).toBe('The target must already be an Agent for the Asset'); - }); - - it('should throw an error if the Agent is already part of the permission group', async () => { - const identity = entityMockUtils.getIdentityInstance({ - assetPermissionsGetGroup: entityMockUtils.getKnownPermissionGroupInstance({ - ticker, - type: PermissionGroupType.PolymeshV1Caa, - }), - }); - let group: Mocked = - entityMockUtils.getKnownPermissionGroupInstance({ - ticker, - type: PermissionGroupType.PolymeshV1Caa, - }); - const proc = procedureMockUtils.getInstance< - Params, - CustomPermissionGroup | KnownPermissionGroup, - Storage - >(mockContext, { - asset: entityMockUtils.getFungibleAssetInstance({ - ticker, - permissionsGetAgents: [ - { - agent: identity, - group, - }, - ], - }), - }); - - let error; - - try { - await prepareSetPermissionGroup.call(proc, { - identity, - asset: ticker, - group, - }); - } catch (err) { - error = err; - } - - expect(error.message).toBe('The Agent is already part of this permission group'); - - const id = new BigNumber(1); - group = entityMockUtils.getCustomPermissionGroupInstance({ - ticker, - id, - }); - - try { - await prepareSetPermissionGroup.call(proc, { - identity: entityMockUtils.getIdentityInstance({ - assetPermissionsGetGroup: group, - }), - asset: ticker, - group, - }); - } catch (err) { - error = err; - } - - expect(error.message).toBe('The Agent is already part of this permission group'); - }); - - it('should return a change group transaction spec if the passed group exists', async () => { - const identity = entityMockUtils.getIdentityInstance({ - assetPermissionsGetGroup: entityMockUtils.getKnownPermissionGroupInstance({ - ticker, - type: PermissionGroupType.Full, - }), - }); - - const existingGroupId = new BigNumber(3); - - let expectedGroup: MockKnownPermissionGroup | MockCustomPermissionGroup = - entityMockUtils.getCustomPermissionGroupInstance({ - id: existingGroupId, - isEqual: false, - }); - - getGroupFromPermissionsSpy.mockResolvedValue(expectedGroup); - - const proc = procedureMockUtils.getInstance< - Params, - CustomPermissionGroup | KnownPermissionGroup, - Storage - >(mockContext, { - asset: entityMockUtils.getFungibleAssetInstance({ - ticker, - permissionsGetAgents: [ - { - agent: identity, - group: entityMockUtils.getCustomPermissionGroupInstance(), - }, - ], - }), - }); - - const rawAgentGroup = dsMockUtils.createMockAgentGroup({ - Custom: dsMockUtils.createMockU32(existingGroupId), - }); - - when(permissionGroupIdentifierToAgentGroupSpy) - .calledWith({ custom: existingGroupId }, mockContext) - .mockReturnValue(rawAgentGroup); - - let result = await prepareSetPermissionGroup.call(proc, { - identity, - group: { - asset: ticker, - transactions: { - type: PermissionType.Include, - values: [], - }, - }, - }); - - expect(result).toEqual({ - transaction: externalAgentsChangeGroupTransaction, - args: [rawTicker, rawIdentityId, rawAgentGroup], - resolver: expectedGroup, - }); - - expectedGroup = entityMockUtils.getKnownPermissionGroupInstance({ - type: PermissionGroupType.ExceptMeta, - isEqual: false, - }); - getGroupFromPermissionsSpy.mockResolvedValue(expectedGroup); - - when(permissionGroupIdentifierToAgentGroupSpy) - .calledWith(PermissionGroupType.ExceptMeta, mockContext) - .mockReturnValue(rawAgentGroup); - - result = await prepareSetPermissionGroup.call(proc, { - identity, - group: { - asset: ticker, - transactions: { - type: PermissionType.Include, - values: [], - }, - }, - }); - - expect(result).toEqual({ - transaction: externalAgentsChangeGroupTransaction, - args: [rawTicker, rawIdentityId, rawAgentGroup], - resolver: expectedGroup, - }); - }); - - it('should return a create and change group transaction spec if the passed permissions do not correspond to an existing group', async () => { - const id = new BigNumber(1); - const identity = entityMockUtils.getIdentityInstance({ - assetPermissionsGetGroup: entityMockUtils.getKnownPermissionGroupInstance({ - ticker, - type: PermissionGroupType.Full, - }), - }); - - const proc = procedureMockUtils.getInstance< - Params, - CustomPermissionGroup | KnownPermissionGroup, - Storage - >(mockContext, { - asset: entityMockUtils.getFungibleAssetInstance({ - ticker, - permissionsGetAgents: [ - { - agent: identity, - group: entityMockUtils.getCustomPermissionGroupInstance(), - }, - ], - }), - }); - - getGroupFromPermissionsSpy.mockResolvedValue(undefined); - - const rawAgentGroup = dsMockUtils.createMockAgentGroup({ - Custom: dsMockUtils.createMockU32(id), - }); - - when(permissionGroupIdentifierToAgentGroupSpy) - .calledWith({ custom: id }, mockContext) - .mockReturnValue(rawAgentGroup); - - let result = await prepareSetPermissionGroup.call(proc, { - identity, - group: { - asset: ticker, - transactions: { - type: PermissionType.Include, - values: [], - }, - }, - }); - - expect(result).toEqual({ - transaction: externalAgentsCreateAndChangeGroupTransaction, - args: [rawTicker, rawExtrinsicPermissions, rawIdentityId], - resolver: expect.any(Function), - }); - - result = await prepareSetPermissionGroup.call(proc, { - identity: entityMockUtils.getIdentityInstance({ - assetPermissionsGetGroup: entityMockUtils.getCustomPermissionGroupInstance({ - ticker, - id, - }), - }), - group: { - asset: ticker, - transactionGroups: [TxGroup.AdvancedAssetManagement], - }, - }); - - expect(result).toEqual({ - transaction: externalAgentsCreateAndChangeGroupTransaction, - args: [rawTicker, rawExtrinsicPermissions, rawIdentityId], - resolver: expect.any(Function), - }); - }); - - describe('prepareStorage', () => { - it('should return the Asset', () => { - const proc = procedureMockUtils.getInstance< - Params, - CustomPermissionGroup | KnownPermissionGroup, - Storage - >(mockContext); - const boundFunc = prepareStorage.bind(proc); - - let result = boundFunc({ - identity: entityMockUtils.getIdentityInstance(), - group: { transactionGroups: [], asset: ticker }, - } as Params); - - expect(result).toEqual({ - asset: expect.objectContaining({ ticker }), - }); - - result = boundFunc({ - identity: entityMockUtils.getIdentityInstance(), - group: entityMockUtils.getCustomPermissionGroupInstance({ - ticker, - }), - } as Params); - - expect(result).toEqual({ - asset: expect.objectContaining({ ticker }), - }); - }); - }); - - describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', () => { - const proc = procedureMockUtils.getInstance< - Params, - CustomPermissionGroup | KnownPermissionGroup, - Storage - >(mockContext, { - asset: entityMockUtils.getFungibleAssetInstance({ - ticker, - }), - }); - const boundFunc = getAuthorization.bind(proc); - - expect(boundFunc()).toEqual({ - permissions: { - transactions: [TxTags.externalAgents.ChangeGroup], - assets: [expect.objectContaining({ ticker })], - portfolios: [], - }, - }); - }); - }); -}); diff --git a/src/api/procedures/__tests__/setTransferRestrictions.ts b/src/api/procedures/__tests__/setTransferRestrictions.ts deleted file mode 100644 index ee30b98619..0000000000 --- a/src/api/procedures/__tests__/setTransferRestrictions.ts +++ /dev/null @@ -1,990 +0,0 @@ -import { bool, BTreeSet, u64 } from '@polkadot/types'; -import { Permill } from '@polkadot/types/interfaces'; -import { - PolymeshPrimitivesIdentityClaimClaimType, - PolymeshPrimitivesIdentityId, - PolymeshPrimitivesStatisticsStatOpType, - PolymeshPrimitivesStatisticsStatType, - PolymeshPrimitivesTicker, - PolymeshPrimitivesTransferComplianceTransferCondition, -} from '@polkadot/types/lookup'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { SetTransferRestrictionsParams } from '~/api/entities/Asset/Fungible/TransferRestrictions/TransferRestrictionBase'; -import { - addExemptionIfNotPresent, - getAuthorization, - newExemptionRecord, - prepareSetTransferRestrictions, - prepareStorage, - Storage, -} from '~/api/procedures/setTransferRestrictions'; -import { Context, PolymeshError } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { - ClaimCountRestrictionValue, - ClaimPercentageRestrictionValue, - ClaimType, - ErrorCode, - Identity, - StatType, - TransferRestriction, - TransferRestrictionType, - TxTags, -} from '~/types'; -import { PolymeshTx, TickerKey } from '~/types/internal'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/Asset/Fungible', - require('~/testUtils/mocks/entities').mockFungibleAssetModule('~/api/entities/Asset/Fungible') -); -jest.mock( - '~/api/entities/Identity', - require('~/testUtils/mocks/entities').mockIdentityModule('~/api/entities/Identity') -); - -describe('setTransferRestrictions procedure', () => { - let mockContext: Mocked; - let transferRestrictionToPolymeshTransferConditionSpy: jest.SpyInstance< - PolymeshPrimitivesTransferComplianceTransferCondition, - [TransferRestriction, Context] - >; - let stringToTickerKeySpy: jest.SpyInstance; - let stringToIdentityIdSpy: jest.SpyInstance; - let identitiesToBtreeSetSpy: jest.SpyInstance< - BTreeSet, - [Identity[], Context] - >; - let transferRestrictionTypeToStatOpTypeSpy: jest.SpyInstance< - PolymeshPrimitivesStatisticsStatOpType, - [TransferRestrictionType, Context] - >; - let complianceConditionsToBtreeSetSpy: jest.SpyInstance< - BTreeSet, - [PolymeshPrimitivesTransferComplianceTransferCondition[], Context] - >; - let statisticsOpTypeToStatTypeSpy: jest.SpyInstance< - PolymeshPrimitivesStatisticsStatType, - [ - { - op: PolymeshPrimitivesStatisticsStatOpType; - claimIssuer?: [PolymeshPrimitivesIdentityClaimClaimType, PolymeshPrimitivesIdentityId]; - }, - Context - ] - >; - let statSpy: jest.SpyInstance; - let ticker: string; - let count: BigNumber; - let percentage: BigNumber; - let maxInvestorRestriction: TransferRestriction; - let maxOwnershipRestriction: TransferRestriction; - let claimCountRestriction: TransferRestriction; - let claimPercentageRestriction: TransferRestriction; - let claimCountRestrictionValue: ClaimCountRestrictionValue; - let claimPercentageRestrictionValue: ClaimPercentageRestrictionValue; - let rawTicker: PolymeshPrimitivesTicker; - let rawCount: u64; - let rawPercentage: Permill; - let rawCountRestriction: PolymeshPrimitivesTransferComplianceTransferCondition; - let rawPercentageRestriction: PolymeshPrimitivesTransferComplianceTransferCondition; - let rawClaimCountRestriction: PolymeshPrimitivesTransferComplianceTransferCondition; - let rawClaimPercentageRestriction: PolymeshPrimitivesTransferComplianceTransferCondition; - let rawExemptedDid: PolymeshPrimitivesIdentityId; - let rawStatType: PolymeshPrimitivesStatisticsStatType; - let rawStatTypeBtree: BTreeSet; - let mockNeededStat: PolymeshPrimitivesStatisticsStatType; - let rawStatStatTypeEqMock: jest.Mock; - let args: SetTransferRestrictionsParams; - let rawCountRestrictionBtreeSet: BTreeSet; - let rawPercentageRestrictionBtreeSet: BTreeSet; - let rawClaimCountRestrictionBtreeSet: BTreeSet; - let rawClaimPercentageRestrictionBtreeSet: BTreeSet; - let identityIdToStringSpy: jest.SpyInstance; - let booleanToBoolSpy: jest.SpyInstance; - - const min = new BigNumber(10); - const max = new BigNumber(20); - const did = 'issuerDid'; - const exemptedDid = 'exemptedDid'; - const issuer = entityMockUtils.getIdentityInstance({ did }); - const emptyExemptions = { - Accredited: [], - Affiliate: [], - Jurisdiction: [], - None: [], - }; - const rawTrue = dsMockUtils.createMockBool(true); - const rawFalse = dsMockUtils.createMockBool(false); - - beforeAll(() => { - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - transferRestrictionToPolymeshTransferConditionSpy = jest.spyOn( - utilsConversionModule, - 'transferRestrictionToPolymeshTransferCondition' - ); - stringToTickerKeySpy = jest.spyOn(utilsConversionModule, 'stringToTickerKey'); - stringToIdentityIdSpy = jest.spyOn(utilsConversionModule, 'stringToIdentityId'); - identitiesToBtreeSetSpy = jest.spyOn(utilsConversionModule, 'identitiesToBtreeSet'); - transferRestrictionTypeToStatOpTypeSpy = jest.spyOn( - utilsConversionModule, - 'transferRestrictionTypeToStatOpType' - ); - statSpy = jest.spyOn(utilsConversionModule, 'statTypeToStatOpType'); - complianceConditionsToBtreeSetSpy = jest.spyOn( - utilsConversionModule, - 'complianceConditionsToBtreeSet' - ); - statisticsOpTypeToStatTypeSpy = jest.spyOn(utilsConversionModule, 'statisticsOpTypeToStatType'); - identityIdToStringSpy = jest.spyOn(utilsConversionModule, 'identityIdToString'); - booleanToBoolSpy = jest.spyOn(utilsConversionModule, 'booleanToBool'); - ticker = 'TICKER'; - count = new BigNumber(10); - percentage = new BigNumber(49); - maxInvestorRestriction = { type: TransferRestrictionType.Count, value: count }; - maxOwnershipRestriction = { type: TransferRestrictionType.Percentage, value: percentage }; - claimCountRestrictionValue = { - min, - max, - issuer, - claim: { - type: ClaimType.Accredited, - accredited: true, - }, - }; - claimCountRestriction = { - type: TransferRestrictionType.ClaimCount, - value: claimCountRestrictionValue, - }; - claimPercentageRestrictionValue = { - min, - max, - issuer, - claim: { - type: ClaimType.Accredited, - accredited: true, - }, - }; - claimPercentageRestriction = { - type: TransferRestrictionType.ClaimPercentage, - value: claimPercentageRestrictionValue, - }; - }); - - let setAssetTransferComplianceTransaction: PolymeshTx< - [PolymeshPrimitivesTicker, PolymeshPrimitivesTransferComplianceTransferCondition] - >; - let setEntitiesExemptTransaction: PolymeshTx< - [ - boolean, - { asset: { Ticker: PolymeshPrimitivesTicker }; op: PolymeshPrimitivesStatisticsStatOpType }, - BTreeSet - ] - >; - - beforeEach(() => { - args = { - ticker, - restrictions: [{ count }], - type: TransferRestrictionType.Count, - }; - dsMockUtils.setConstMock('statistics', 'maxTransferConditionsPerAsset', { - returnValue: dsMockUtils.createMockU32(new BigNumber(3)), - }); - - setAssetTransferComplianceTransaction = dsMockUtils.createTxMock( - 'statistics', - 'setAssetTransferCompliance' - ); - setEntitiesExemptTransaction = dsMockUtils.createTxMock('statistics', 'setEntitiesExempt'); - - mockContext = dsMockUtils.getContextInstance(); - - rawTicker = dsMockUtils.createMockTicker(ticker); - rawCount = dsMockUtils.createMockU64(count); - rawPercentage = dsMockUtils.createMockPermill(percentage.multipliedBy(10000)); - rawCountRestriction = dsMockUtils.createMockTransferCondition({ MaxInvestorCount: rawCount }); - rawPercentageRestriction = dsMockUtils.createMockTransferCondition({ - MaxInvestorOwnership: rawPercentage, - }); - rawClaimCountRestriction = dsMockUtils.createMockTransferCondition({ - ClaimCount: [ - dsMockUtils.createMockStatisticsStatClaim({ Accredited: dsMockUtils.createMockBool(true) }), - dsMockUtils.createMockIdentityId(did), - rawCount, - dsMockUtils.createMockOption(), - ], - }); - rawClaimPercentageRestriction = dsMockUtils.createMockTransferCondition({ - ClaimOwnership: [ - dsMockUtils.createMockStatisticsStatClaim({ Accredited: dsMockUtils.createMockBool(true) }), - dsMockUtils.createMockIdentityId(), - rawPercentage, - rawPercentage, - ], - }); - rawCountRestrictionBtreeSet = dsMockUtils.createMockBTreeSet([rawCountRestriction]); - rawPercentageRestrictionBtreeSet = dsMockUtils.createMockBTreeSet([rawPercentageRestriction]); - rawClaimCountRestrictionBtreeSet = dsMockUtils.createMockBTreeSet([rawClaimCountRestriction]); - rawClaimPercentageRestrictionBtreeSet = dsMockUtils.createMockBTreeSet([ - rawClaimPercentageRestriction, - ]); - rawExemptedDid = dsMockUtils.createMockIdentityId(exemptedDid); - rawStatType = dsMockUtils.createMockStatisticsStatType(); - mockNeededStat = dsMockUtils.createMockStatisticsStatType(); - rawStatStatTypeEqMock = rawStatType.eq as jest.Mock; - rawStatTypeBtree = dsMockUtils.createMockBTreeSet([rawStatType]); - - when(transferRestrictionToPolymeshTransferConditionSpy) - .calledWith(maxInvestorRestriction, mockContext) - .mockReturnValue(rawCountRestriction); - when(transferRestrictionToPolymeshTransferConditionSpy) - .calledWith(maxOwnershipRestriction, mockContext) - .mockReturnValue(rawPercentageRestriction); - when(transferRestrictionToPolymeshTransferConditionSpy) - .calledWith(expect.objectContaining(claimCountRestriction), mockContext) - .mockReturnValue(rawClaimCountRestriction); - when(transferRestrictionToPolymeshTransferConditionSpy) - .calledWith(claimPercentageRestriction, mockContext) - .mockReturnValue(rawClaimPercentageRestriction); - when(stringToTickerKeySpy) - .calledWith(ticker, mockContext) - .mockReturnValue({ Ticker: rawTicker }); - when(stringToIdentityIdSpy) - .calledWith(exemptedDid, mockContext) - .mockReturnValue(rawExemptedDid); - when(complianceConditionsToBtreeSetSpy) - .calledWith([rawCountRestriction], mockContext) - .mockReturnValue(rawCountRestrictionBtreeSet); - when(complianceConditionsToBtreeSetSpy) - .calledWith([rawPercentageRestriction], mockContext) - .mockReturnValue(rawPercentageRestrictionBtreeSet); - when(complianceConditionsToBtreeSetSpy) - .calledWith([rawClaimCountRestriction], mockContext) - .mockReturnValue(rawClaimCountRestrictionBtreeSet); - when(complianceConditionsToBtreeSetSpy) - .calledWith([rawClaimPercentageRestriction], mockContext) - .mockReturnValue(rawClaimPercentageRestrictionBtreeSet); - statisticsOpTypeToStatTypeSpy.mockReturnValue(mockNeededStat); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it('should add a setTransferRestrictions transaction to the batch', async () => { - let proc = procedureMockUtils.getInstance( - mockContext, - { - currentRestrictions: [rawPercentageRestriction], - currentExemptions: emptyExemptions, - occupiedSlots: new BigNumber(0), - } - ); - - let result = await prepareSetTransferRestrictions.call(proc, args); - - expect(result).toEqual({ - transactions: [ - { - transaction: setAssetTransferComplianceTransaction, - args: [{ Ticker: rawTicker }, rawCountRestrictionBtreeSet], - }, - ], - resolver: new BigNumber(1), - }); - - proc = procedureMockUtils.getInstance( - mockContext, - { - currentRestrictions: [rawCountRestriction], - currentExemptions: emptyExemptions, - occupiedSlots: new BigNumber(0), - } - ); - - args = { - ticker, - restrictions: [{ percentage }], - type: TransferRestrictionType.Percentage, - }; - - result = await prepareSetTransferRestrictions.call(proc, args); - - expect(result).toEqual({ - transactions: [ - { - transaction: setAssetTransferComplianceTransaction, - args: [{ Ticker: rawTicker }, rawPercentageRestrictionBtreeSet], - }, - ], - resolver: new BigNumber(1), - }); - - proc = procedureMockUtils.getInstance( - mockContext, - { - currentRestrictions: [], - currentExemptions: emptyExemptions, - occupiedSlots: new BigNumber(0), - } - ); - - args = { - ticker, - restrictions: [claimCountRestrictionValue], - type: TransferRestrictionType.ClaimCount, - }; - - result = await prepareSetTransferRestrictions.call(proc, args); - - expect(result).toEqual({ - transactions: [ - { - transaction: setAssetTransferComplianceTransaction, - args: [{ Ticker: rawTicker }, rawClaimCountRestrictionBtreeSet], - }, - ], - resolver: new BigNumber(1), - }); - - args = { - ticker, - restrictions: [claimPercentageRestrictionValue], - type: TransferRestrictionType.ClaimPercentage, - }; - - result = await prepareSetTransferRestrictions.call(proc, args); - - expect(result).toEqual({ - transactions: [ - { - transaction: setAssetTransferComplianceTransaction, - args: [{ Ticker: rawTicker }, rawClaimPercentageRestrictionBtreeSet], - }, - ], - resolver: new BigNumber(1), - }); - }); - - it('should add exempted identities if they were given', async () => { - when(booleanToBoolSpy).calledWith(true, mockContext).mockReturnValue(rawTrue); - const proc = procedureMockUtils.getInstance( - mockContext, - { - currentRestrictions: [], - currentExemptions: emptyExemptions, - occupiedSlots: new BigNumber(0), - } - ); - const exemptedDids = [ - '0x1000', - '0x2000', - entityMockUtils.getIdentityInstance({ did: '0x3000' }), - ]; - const exemptedDidsBtreeSet = - dsMockUtils.createMockBTreeSet(exemptedDids); - const op = 'Count'; - - identitiesToBtreeSetSpy.mockReturnValue(exemptedDidsBtreeSet); - - when(transferRestrictionTypeToStatOpTypeSpy) - .calledWith(TransferRestrictionType.Count, mockContext) - .mockReturnValue(op as unknown as PolymeshPrimitivesStatisticsStatOpType); - - when(transferRestrictionTypeToStatOpTypeSpy) - .calledWith(TransferRestrictionType.ClaimCount, mockContext) - .mockReturnValue(op as unknown as PolymeshPrimitivesStatisticsStatOpType); - args = { - ticker, - restrictions: [{ ...claimCountRestrictionValue, exemptedIdentities: exemptedDids }], - type: TransferRestrictionType.ClaimCount, - }; - complianceConditionsToBtreeSetSpy.mockReturnValue(rawClaimCountRestrictionBtreeSet); - - let result = await prepareSetTransferRestrictions.call(proc, args); - - expect(result).toEqual({ - transactions: [ - { - transaction: setAssetTransferComplianceTransaction, - args: [{ Ticker: rawTicker }, rawClaimCountRestrictionBtreeSet], - }, - { - transaction: setEntitiesExemptTransaction, - feeMultiplier: new BigNumber(3), - args: [ - rawTrue, - { asset: { Ticker: rawTicker }, op, claimType: ClaimType.Accredited }, - exemptedDidsBtreeSet, - ], - }, - ], - resolver: new BigNumber(1), - }); - - args = { - ticker, - restrictions: [ - { - count, - exemptedIdentities: exemptedDids, - }, - ], - type: TransferRestrictionType.Count, - }; - complianceConditionsToBtreeSetSpy.mockReturnValue(rawCountRestrictionBtreeSet); - - result = await prepareSetTransferRestrictions.call(proc, args); - - expect(result).toEqual({ - transactions: [ - { - transaction: setAssetTransferComplianceTransaction, - args: [{ Ticker: rawTicker }, rawCountRestrictionBtreeSet], - }, - { - transaction: setEntitiesExemptTransaction, - feeMultiplier: new BigNumber(3), - args: [ - rawTrue, - { asset: { Ticker: rawTicker }, op, claimType: undefined }, - exemptedDidsBtreeSet, - ], - }, - ], - resolver: new BigNumber(1), - }); - }); - - it('should remove exempted identities if they were not given', async () => { - when(booleanToBoolSpy).calledWith(false, mockContext).mockReturnValue(rawFalse); - let proc = procedureMockUtils.getInstance( - mockContext, - { - currentRestrictions: [], - currentExemptions: { - ...emptyExemptions, - None: [ - entityMockUtils.getIdentityInstance({ did: '0x1000' }), - entityMockUtils.getIdentityInstance({ did: '0x2000' }), - ], - }, - occupiedSlots: new BigNumber(0), - } - ); - - const exemptedDids = ['0x1000', '0x2000']; - const exemptedDidsBtreeSet = - dsMockUtils.createMockBTreeSet(exemptedDids); - const op = 'Count'; - - identitiesToBtreeSetSpy.mockReturnValue(exemptedDidsBtreeSet); - - when(transferRestrictionTypeToStatOpTypeSpy) - .calledWith(TransferRestrictionType.Count, mockContext) - .mockReturnValue(op as unknown as PolymeshPrimitivesStatisticsStatOpType); - - args = { - ticker, - restrictions: [{ count }], - type: TransferRestrictionType.Count, - }; - - let result = await prepareSetTransferRestrictions.call(proc, args); - expect(result).toEqual({ - transactions: [ - { - transaction: setAssetTransferComplianceTransaction, - args: [{ Ticker: rawTicker }, rawCountRestrictionBtreeSet], - }, - { - transaction: setEntitiesExemptTransaction, - feeMultiplier: new BigNumber(2), - args: [ - rawFalse, - { asset: { Ticker: rawTicker }, op, claimType: undefined }, - exemptedDidsBtreeSet, - ], - }, - ], - resolver: new BigNumber(1), - }); - - proc = procedureMockUtils.getInstance( - mockContext, - { - currentRestrictions: [], - currentExemptions: { - ...emptyExemptions, - Accredited: [ - entityMockUtils.getIdentityInstance({ did: '0x1000' }), - entityMockUtils.getIdentityInstance({ did: '0x2000' }), - ], - }, - occupiedSlots: new BigNumber(0), - } - ); - - when(transferRestrictionTypeToStatOpTypeSpy) - .calledWith(TransferRestrictionType.ClaimCount, mockContext) - .mockReturnValue(op as unknown as PolymeshPrimitivesStatisticsStatOpType); - - args = { - ticker, - restrictions: [claimCountRestrictionValue], - type: TransferRestrictionType.ClaimCount, - }; - - result = await prepareSetTransferRestrictions.call(proc, args); - - expect(result).toEqual({ - transactions: [ - { - transaction: setAssetTransferComplianceTransaction, - args: [{ Ticker: rawTicker }, rawClaimCountRestrictionBtreeSet], - }, - { - transaction: setEntitiesExemptTransaction, - feeMultiplier: new BigNumber(2), - args: [ - rawFalse, - { asset: { Ticker: rawTicker }, op, claimType: ClaimType.Accredited }, - exemptedDidsBtreeSet, - ], - }, - ], - resolver: new BigNumber(1), - }); - }); - - it('should remove restrictions by adding a setTransferRestriction transaction to the batch', async () => { - args = { - type: TransferRestrictionType.Count, - restrictions: [], - ticker, - }; - - const proc = procedureMockUtils.getInstance( - mockContext, - { - currentRestrictions: [rawCountRestriction], - currentExemptions: emptyExemptions, - occupiedSlots: new BigNumber(0), - } - ); - const emptyConditionsBtreeSet = - dsMockUtils.createMockBTreeSet([]); - when(complianceConditionsToBtreeSetSpy) - .calledWith([], mockContext) - .mockReturnValue(emptyConditionsBtreeSet); - - const result = await prepareSetTransferRestrictions.call(proc, args); - - expect(result).toEqual({ - transactions: [ - { - transaction: setAssetTransferComplianceTransaction, - args: [{ Ticker: rawTicker }, emptyConditionsBtreeSet], - }, - ], - resolver: new BigNumber(0), - }); - }); - - it('should throw an error if attempting to add restrictions that already exist', async () => { - let proc = procedureMockUtils.getInstance( - mockContext, - { - currentRestrictions: [rawCountRestriction], - currentExemptions: emptyExemptions, - occupiedSlots: new BigNumber(0), - } - ); - - const expectedError = new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'The restrictions and exemptions are already in place', - }); - - await expect( - prepareSetTransferRestrictions.call(proc, { - ticker, - restrictions: [{ count }], - type: TransferRestrictionType.Count, - }) - ).rejects.toThrowError(expectedError); - - proc = procedureMockUtils.getInstance( - mockContext, - { - currentRestrictions: [rawPercentageRestriction], - currentExemptions: emptyExemptions, - occupiedSlots: new BigNumber(0), - } - ); - - return expect( - prepareSetTransferRestrictions.call(proc, { - ticker, - restrictions: [{ percentage }], - type: TransferRestrictionType.Percentage, - }) - ).rejects.toThrowError(expectedError); - }); - - it('should throw an error if attempting to remove an empty restriction list', async () => { - args = { - ticker, - restrictions: [], - type: TransferRestrictionType.Count, - }; - const proc = procedureMockUtils.getInstance( - mockContext, - { - currentRestrictions: [], - currentExemptions: emptyExemptions, - occupiedSlots: new BigNumber(0), - } - ); - let err; - try { - await prepareSetTransferRestrictions.call(proc, args); - } catch (error) { - err = error; - } - expect(err.message).toBe('The restrictions and exemptions are already in place'); - }); - - it('should throw an eStatTypeng to add more restrictions than there are slots available', async () => { - args = { - ticker, - restrictions: [{ count }, { count: new BigNumber(2) }], - type: TransferRestrictionType.Count, - }; - - const proc = procedureMockUtils.getInstance( - mockContext, - { - currentRestrictions: [rawCountRestriction], - currentExemptions: emptyExemptions, - occupiedSlots: new BigNumber(3), - } - ); - - let err; - - try { - await prepareSetTransferRestrictions.call(proc, args); - } catch (error) { - err = error; - } - - expect(err.message).toBe( - 'Cannot set more Transfer Restrictions than there are slots available' - ); - expect(err.data).toEqual({ availableSlots: new BigNumber(0) }); - }); - - describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', () => { - let proc = procedureMockUtils.getInstance( - mockContext, - { - currentRestrictions: [], - currentExemptions: emptyExemptions, - occupiedSlots: new BigNumber(0), - } - ); - - let boundFunc = getAuthorization.bind(proc); - - expect(boundFunc(args)).toEqual({ - permissions: { - assets: [expect.objectContaining({ ticker })], - transactions: [TxTags.statistics.SetAssetTransferCompliance], - portfolios: [], - }, - }); - - args.restrictions = [{ count, exemptedIdentities: ['0x1000'] }]; - - proc = procedureMockUtils.getInstance( - mockContext, - { - currentRestrictions: [], - currentExemptions: emptyExemptions, - occupiedSlots: new BigNumber(0), - } - ); - - boundFunc = getAuthorization.bind(proc); - - expect(boundFunc(args)).toEqual({ - permissions: { - assets: [expect.objectContaining({ ticker })], - transactions: [ - TxTags.statistics.SetAssetTransferCompliance, - TxTags.statistics.SetEntitiesExempt, - ], - portfolios: [], - }, - }); - }); - }); - - describe('prepareStorage', () => { - let identityScopeId: string; - - let rawIdentityScopeId: PolymeshPrimitivesIdentityId; - - const getCountMock = jest.fn(); - const getPercentageMock = jest.fn(); - const getClaimCountMock = jest.fn(); - const getClaimPercentageMock = jest.fn(); - - beforeAll(() => { - identityScopeId = 'someScopeId'; - - rawIdentityScopeId = dsMockUtils.createMockIdentityId(identityScopeId); - }); - - beforeEach(() => { - dsMockUtils.createQueryMock('statistics', 'transferConditionExemptEntities', { - entries: [], - }); - when(stringToIdentityIdSpy) - .calledWith(identityScopeId, mockContext) - .mockReturnValue(rawIdentityScopeId); - - getCountMock.mockResolvedValue({ - restrictions: [{ count }], - availableSlots: new BigNumber(1), - }); - getPercentageMock.mockResolvedValue({ - restrictions: [{ percentage }], - availableSlots: new BigNumber(1), - }); - getClaimCountMock.mockResolvedValue({ - restrictions: [claimCountRestrictionValue], - availableSlots: new BigNumber(1), - }); - getClaimPercentageMock.mockResolvedValue({ - restrictions: [claimPercentageRestrictionValue], - availableSlots: new BigNumber(1), - }); - entityMockUtils.configureMocks({ - identityOptions: { - getScopeId: identityScopeId, - }, - fungibleAssetOptions: { - transferRestrictionsCountGet: getCountMock, - transferRestrictionsPercentageGet: getPercentageMock, - transferRestrictionsClaimCountGet: getClaimCountMock, - transferRestrictionsClaimPercentageGet: getClaimPercentageMock, - }, - }); - - dsMockUtils.createQueryMock('statistics', 'activeAssetStats', { - returnValue: rawStatTypeBtree, - }); - }); - - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should fetch, process and return shared data', async () => { - rawStatStatTypeEqMock.mockReturnValue(true); - identityIdToStringSpy.mockReturnValue('someDid'); - const proc = procedureMockUtils.getInstance< - SetTransferRestrictionsParams, - BigNumber, - Storage - >(mockContext); - const boundFunc = prepareStorage.bind(proc); - - args = { - ticker, - type: TransferRestrictionType.Count, - restrictions: [ - { - count, - }, - ], - }; - - let result = await boundFunc(args); - expect(result).toEqual({ - occupiedSlots: new BigNumber(3), - currentRestrictions: [rawCountRestriction], - currentExemptions: emptyExemptions, - }); - - args = { - ticker, - type: TransferRestrictionType.Percentage, - restrictions: [ - { - percentage, - }, - ], - }; - - statSpy.mockReturnValue(StatType.Balance); - - result = await boundFunc(args); - - expect(result).toEqual({ - currentRestrictions: [rawPercentageRestriction], - occupiedSlots: new BigNumber(3), - currentExemptions: emptyExemptions, - }); - - args.restrictions = []; - - getCountMock.mockResolvedValue({ restrictions: [{ count }], availableSlots: 1 }); - - result = await boundFunc(args); - expect(result).toEqual({ - currentRestrictions: [rawPercentageRestriction], - occupiedSlots: new BigNumber(3), - currentExemptions: emptyExemptions, - }); - - getCountMock.mockResolvedValue({ - restrictions: [{ count, exemptedIds: [exemptedDid] }], - availableSlots: 1, - }); - - result = await boundFunc(args); - - expect(result).toEqual({ - currentRestrictions: [rawPercentageRestriction], - occupiedSlots: new BigNumber(3), - currentExemptions: emptyExemptions, - }); - - args = { - ticker, - type: TransferRestrictionType.ClaimCount, - restrictions: [claimCountRestrictionValue], - }; - result = await boundFunc(args); - expect(result).toEqual({ - currentRestrictions: [rawClaimCountRestriction], - occupiedSlots: new BigNumber(3), - currentExemptions: emptyExemptions, - }); - - args = { - ticker, - type: TransferRestrictionType.ClaimPercentage, - restrictions: [claimPercentageRestrictionValue], - }; - result = await boundFunc(args); - expect(result).toEqual({ - currentRestrictions: [rawClaimPercentageRestriction], - occupiedSlots: new BigNumber(3), - currentExemptions: emptyExemptions, - }); - }); - - it('should return current exemptions for the restriction', async () => { - rawStatStatTypeEqMock.mockReturnValue(true); - const proc = procedureMockUtils.getInstance< - SetTransferRestrictionsParams, - BigNumber, - Storage - >(mockContext); - const boundFunc = prepareStorage.bind(proc); - identityIdToStringSpy.mockReturnValue('someDid'); - const mock = dsMockUtils.createQueryMock('statistics', 'transferConditionExemptEntities'); - mock.entries.mockResolvedValue([ - [ - { - args: [ - { - claimType: dsMockUtils.createMockOption( - dsMockUtils.createMockClaimType(ClaimType.Accredited) - ), - }, - dsMockUtils.createMockIdentityId('someDid'), - ], - }, - true, - ], - ]); - const mockIdentity = entityMockUtils.getIdentityInstance({ did: 'someDid' }); - const result = await boundFunc(args); - expect(JSON.stringify(result)).toEqual( - JSON.stringify({ - occupiedSlots: new BigNumber(3), - currentRestrictions: [rawCountRestriction], - currentExemptions: { - ...emptyExemptions, - Accredited: [mockIdentity], - }, - }) - ); - }); - - it('should throw an error if the appropriate stat is not set', async () => { - dsMockUtils.createQueryMock('statistics', 'activeAssetStats', { - returnValue: rawStatTypeBtree, - }); - rawStatStatTypeEqMock.mockReturnValue(false); - - const proc = procedureMockUtils.getInstance< - SetTransferRestrictionsParams, - BigNumber, - Storage - >(mockContext); - const boundFunc = prepareStorage.bind(proc); - - const expectedError = new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: - 'The appropriate stat type for this restriction is not set. Try calling enableStat in the namespace first', - }); - - return expect(boundFunc(args)).rejects.toThrowError(expectedError); - }); - }); - - describe('addExemptionIfNotPresent', () => { - it('should not add the toInsertId object to exemptionRecords if it is already present in the filterSet', () => { - const toInsertId = { did: 'testDid' } as Identity; - const exemptionRecords = newExemptionRecord(); - const claimType = ClaimType.Accredited; - const filterSet = [toInsertId] as Identity[]; - - addExemptionIfNotPresent(toInsertId, exemptionRecords, claimType, filterSet); - - expect(exemptionRecords[claimType]).toEqual([]); - }); - - it('should add the toInsertId object to exemptionRecords if it is not already present in the filterSet', () => { - const toInsertId = { did: 'testDid' } as Identity; - const exemptionRecords = newExemptionRecord(); - const claimType = ClaimType.Accredited; - const filterSet = [] as Identity[]; - - addExemptionIfNotPresent(toInsertId, exemptionRecords, claimType, filterSet); - - expect(exemptionRecords[claimType]).toEqual([toInsertId]); - }); - }); -}); diff --git a/src/api/procedures/__tests__/setVenueFiltering.ts b/src/api/procedures/__tests__/setVenueFiltering.ts deleted file mode 100644 index fcba567517..0000000000 --- a/src/api/procedures/__tests__/setVenueFiltering.ts +++ /dev/null @@ -1,225 +0,0 @@ -import { bool, u64 } from '@polkadot/types'; -import { PolymeshPrimitivesTicker } from '@polkadot/types/lookup'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { - getAuthorization, - Params, - prepareVenueFiltering, - setVenueFiltering, -} from '~/api/procedures/setVenueFiltering'; -import { Context } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { MockCodec } from '~/testUtils/mocks/dataSources'; -import { Mocked } from '~/testUtils/types'; -import { TxTags } from '~/types'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/Venue', - require('~/testUtils/mocks/entities').mockVenueModule('~/api/entities/Venue') -); - -describe('setVenueFiltering procedure', () => { - let mockContext: Mocked; - let venueFilteringMock: jest.Mock; - const enabledTicker = 'ENABLED'; - const disabledTicker = 'DISABLED'; - let stringToTickerSpy: jest.SpyInstance; - let booleanToBoolSpy: jest.SpyInstance; - let bigNumberToU64Spy: jest.SpyInstance; - let rawEnabledTicker: PolymeshPrimitivesTicker; - let rawDisabledTicker: PolymeshPrimitivesTicker; - let rawFalse: bool; - const venues: BigNumber[] = [new BigNumber(1)]; - let rawVenues: MockCodec[]; - - beforeAll(() => { - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - stringToTickerSpy = jest.spyOn(utilsConversionModule, 'stringToTicker'); - booleanToBoolSpy = jest.spyOn(utilsConversionModule, 'booleanToBool'); - bigNumberToU64Spy = jest.spyOn(utilsConversionModule, 'bigNumberToU64'); - rawEnabledTicker = dsMockUtils.createMockTicker(enabledTicker); - rawDisabledTicker = dsMockUtils.createMockTicker(disabledTicker); - rawFalse = dsMockUtils.createMockBool(false); - }); - - beforeEach(() => { - entityMockUtils.configureMocks(); - mockContext = dsMockUtils.getContextInstance(); - venueFilteringMock = dsMockUtils.createQueryMock('settlement', 'venueFiltering'); - rawVenues = venues.map(venue => dsMockUtils.createMockU64(venue)); - - when(stringToTickerSpy) - .calledWith(enabledTicker, mockContext) - .mockReturnValue(rawEnabledTicker); - when(stringToTickerSpy) - .calledWith(disabledTicker, mockContext) - .mockReturnValue(rawDisabledTicker); - - when(venueFilteringMock) - .calledWith(rawEnabledTicker) - .mockResolvedValue(dsMockUtils.createMockBool(true)); - when(venueFilteringMock) - .calledWith(rawDisabledTicker) - .mockResolvedValue(dsMockUtils.createMockBool(false)); - - when(booleanToBoolSpy).calledWith(false, mockContext).mockReturnValue(rawFalse); - when(bigNumberToU64Spy).calledWith(venues[0], mockContext).mockReturnValue(rawVenues[0]); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - describe('setVenueFiltering', () => { - it('the procedure method should be defined', () => { - expect(setVenueFiltering).toBeDefined(); - }); - - it('calling it should return a new procedure', () => { - const boundFunc = setVenueFiltering.bind(mockContext); - - expect(boundFunc).not.toThrow(); - expect(procedureMockUtils.getInstance(mockContext)).toBeDefined(); - }); - }); - - describe('prepareVenueFiltering', () => { - it('should return a setVenueFiltering transaction spec', async () => { - const proc = procedureMockUtils.getInstance(mockContext); - const setEnabled = false; - const transaction = dsMockUtils.createTxMock('settlement', 'setVenueFiltering'); - - const result = await prepareVenueFiltering.call(proc, { - ticker: enabledTicker, - enabled: setEnabled, - }); - - expect(result).toEqual({ - transactions: [ - { - transaction, - args: [rawEnabledTicker, rawFalse], - }, - ], - resolver: undefined, - }); - }); - - it('should return a allowVenues transaction spec', async () => { - const proc = procedureMockUtils.getInstance(mockContext); - const transaction = dsMockUtils.createTxMock('settlement', 'allowVenues'); - - const result = await prepareVenueFiltering.call(proc, { - ticker: enabledTicker, - allowedVenues: venues, - }); - - expect(result).toEqual({ - transactions: [ - { - transaction, - args: [rawEnabledTicker, rawVenues], - }, - ], - resolver: undefined, - }); - }); - - it('should return a disallowVenues transaction spec', async () => { - const proc = procedureMockUtils.getInstance(mockContext); - const transaction = dsMockUtils.createTxMock('settlement', 'disallowVenues'); - - const result = await prepareVenueFiltering.call(proc, { - ticker: enabledTicker, - disallowedVenues: venues, - }); - - expect(result).toEqual({ - transactions: [ - { - transaction, - args: [rawEnabledTicker, rawVenues], - }, - ], - resolver: undefined, - }); - }); - - it('should return empty transaction spec', async () => { - const proc = procedureMockUtils.getInstance(mockContext); - - const result = await prepareVenueFiltering.call(proc, { - ticker: enabledTicker, - disallowedVenues: [], - allowedVenues: [], - }); - - expect(result).toEqual({ - transactions: [], - resolver: undefined, - }); - }); - }); - - describe('getAuthorization', () => { - it('should return the appropriate roles and permissions for setVenueFiltering', () => { - const proc = procedureMockUtils.getInstance(mockContext); - const boundFunc = getAuthorization.bind(proc); - const args: Params = { - ticker: enabledTicker, - enabled: true, - }; - - expect(boundFunc(args)).toEqual({ - permissions: { - transactions: [TxTags.settlement.SetVenueFiltering], - assets: [expect.objectContaining({ ticker: enabledTicker })], - }, - }); - }); - - it('should return the appropriate roles and permissions for allowVenues', () => { - const proc = procedureMockUtils.getInstance(mockContext); - const boundFunc = getAuthorization.bind(proc); - const args: Params = { - ticker: enabledTicker, - allowedVenues: venues, - }; - - expect(boundFunc(args)).toEqual({ - permissions: { - transactions: [TxTags.settlement.AllowVenues], - assets: [expect.objectContaining({ ticker: enabledTicker })], - }, - }); - }); - - it('should return the appropriate roles and permissions for disallowVenues', () => { - const proc = procedureMockUtils.getInstance(mockContext); - const boundFunc = getAuthorization.bind(proc); - const args: Params = { - ticker: enabledTicker, - disallowedVenues: venues, - }; - - expect(boundFunc(args)).toEqual({ - permissions: { - transactions: [TxTags.settlement.DisallowVenues], - assets: [expect.objectContaining({ ticker: enabledTicker })], - }, - }); - }); - }); -}); diff --git a/src/api/procedures/__tests__/subsidizeAccount.ts b/src/api/procedures/__tests__/subsidizeAccount.ts deleted file mode 100644 index 6ac5b7e2bb..0000000000 --- a/src/api/procedures/__tests__/subsidizeAccount.ts +++ /dev/null @@ -1,177 +0,0 @@ -import { AccountId, Balance } from '@polkadot/types/interfaces'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { prepareSubsidizeAccount } from '~/api/procedures/subsidizeAccount'; -import { Account, AuthorizationRequest, Context } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { AuthorizationType, Identity, ResultSet, SubsidizeAccountParams } from '~/types'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/Account', - require('~/testUtils/mocks/entities').mockAccountModule('~/api/entities/Account') -); - -describe('subsidizeAccount procedure', () => { - let mockContext: Mocked; - - let signerToStringSpy: jest.SpyInstance; - let stringToAccountIdSpy: jest.SpyInstance; - let bigNumberToBalanceSpy: jest.SpyInstance; - - let args: SubsidizeAccountParams; - const authId = new BigNumber(1); - const address = 'beneficiary'; - const allowance = new BigNumber(1000); - let beneficiary: Account; - let rawBeneficiaryAccount: AccountId; - let rawAllowance: Balance; - - beforeAll(() => { - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - - signerToStringSpy = jest.spyOn(utilsConversionModule, 'signerToString'); - stringToAccountIdSpy = jest.spyOn(utilsConversionModule, 'stringToAccountId'); - bigNumberToBalanceSpy = jest.spyOn(utilsConversionModule, 'bigNumberToBalance'); - }); - - beforeEach(() => { - mockContext = dsMockUtils.getContextInstance(); - args = { beneficiary: address, allowance }; - beneficiary = entityMockUtils.getAccountInstance({ address }); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it('should throw an error if the subsidizer has already sent a pending authorization to beneficiary Account with the same allowance to accept', () => { - const sentAuthorizations: ResultSet = { - data: [ - new AuthorizationRequest( - { - target: beneficiary, - issuer: entityMockUtils.getIdentityInstance(), - authId, - expiry: null, - data: { - type: AuthorizationType.AddRelayerPayingKey, - value: { - beneficiary, - subsidizer: entityMockUtils.getAccountInstance(), - allowance: new BigNumber(1000), - }, - }, - }, - mockContext - ), - ], - next: null, - count: new BigNumber(1), - }; - - dsMockUtils.configureMocks({ - contextOptions: { - sentAuthorizations, - }, - }); - - when(signerToStringSpy).calledWith(beneficiary).mockReturnValue(address); - - const proc = procedureMockUtils.getInstance( - mockContext - ); - - return expect(prepareSubsidizeAccount.call(proc, args)).rejects.toThrow( - 'The Beneficiary Account already has a pending invitation to add this account as a subsidizer' - ); - }); - - it('should return an add authorization transaction spec', async () => { - const mockBeneficiary = entityMockUtils.getAccountInstance({ address: 'mockAddress' }); - const issuer = entityMockUtils.getIdentityInstance(); - const subsidizer = entityMockUtils.getAccountInstance(); - - const sentAuthorizations: ResultSet = { - data: [ - new AuthorizationRequest( - { - target: mockBeneficiary, - issuer, - authId, - expiry: null, - data: { - type: AuthorizationType.AddRelayerPayingKey, - value: { - beneficiary: mockBeneficiary, - subsidizer, - allowance: new BigNumber(100), - }, - }, - }, - mockContext - ), - new AuthorizationRequest( - { - target: beneficiary, - issuer: entityMockUtils.getIdentityInstance(), - authId, - expiry: null, - data: { - type: AuthorizationType.AddRelayerPayingKey, - value: { - beneficiary, - subsidizer, - allowance: new BigNumber(100), - }, - }, - }, - mockContext - ), - ], - next: null, - count: new BigNumber(2), - }; - - dsMockUtils.configureMocks({ - contextOptions: { - sentAuthorizations, - }, - }); - - rawBeneficiaryAccount = dsMockUtils.createMockAccountId(address); - - rawAllowance = dsMockUtils.createMockBalance(allowance); - - when(stringToAccountIdSpy) - .calledWith(address, mockContext) - .mockReturnValue(rawBeneficiaryAccount); - - when(bigNumberToBalanceSpy).calledWith(allowance, mockContext).mockReturnValue(rawAllowance); - - const proc = procedureMockUtils.getInstance( - mockContext - ); - - const transaction = dsMockUtils.createTxMock('relayer', 'setPayingKey'); - - const result = await prepareSubsidizeAccount.call(proc, { ...args, beneficiary }); - - expect(result).toEqual({ - transaction, - args: [rawBeneficiaryAccount, rawAllowance], - resolver: expect.any(Function), - }); - }); -}); diff --git a/src/api/procedures/__tests__/toggleFreezeConfidentialAccountAsset.ts b/src/api/procedures/__tests__/toggleFreezeConfidentialAccountAsset.ts index 3feb9852cd..bd6991d823 100644 --- a/src/api/procedures/__tests__/toggleFreezeConfidentialAccountAsset.ts +++ b/src/api/procedures/__tests__/toggleFreezeConfidentialAccountAsset.ts @@ -1,5 +1,6 @@ import { bool } from '@polkadot/types'; import { PalletConfidentialAssetConfidentialAccount } from '@polkadot/types/lookup'; +import * as utilsPublicConversionModule from '@polymeshassociation/polymesh-sdk/utils/conversion'; import { when } from 'jest-when'; import { @@ -36,7 +37,7 @@ describe('toggleFreezeConfidentialAccountAsset procedure', () => { rawPublicKey = dsMockUtils.createMockConfidentialAccount(confidentialAccount.publicKey); rawAssetId = '0x76702175d8cbe3a55a19734433351e26'; rawTrue = dsMockUtils.createMockBool(true); - booleanToBoolSpy = jest.spyOn(utilsConversionModule, 'booleanToBool'); + booleanToBoolSpy = jest.spyOn(utilsPublicConversionModule, 'booleanToBool'); confidentialAccountToMeshPublicKeySpy = jest.spyOn( utilsConversionModule, 'confidentialAccountToMeshPublicKey' diff --git a/src/api/procedures/__tests__/toggleFreezeConfidentialAsset.ts b/src/api/procedures/__tests__/toggleFreezeConfidentialAsset.ts index f58917ac4e..4a0edeb929 100644 --- a/src/api/procedures/__tests__/toggleFreezeConfidentialAsset.ts +++ b/src/api/procedures/__tests__/toggleFreezeConfidentialAsset.ts @@ -1,4 +1,5 @@ import { bool } from '@polkadot/types'; +import * as utilsPublicConversionModule from '@polymeshassociation/polymesh-sdk/utils/conversion'; import { when } from 'jest-when'; import { @@ -10,7 +11,6 @@ import { Context } from '~/internal'; import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; import { Mocked } from '~/testUtils/types'; import { ConfidentialAsset, RoleType, TxTags } from '~/types'; -import * as utilsConversionModule from '~/utils/conversion'; describe('toggleFreezeConfidentialAsset procedure', () => { let mockContext: Mocked; @@ -30,7 +30,7 @@ describe('toggleFreezeConfidentialAsset procedure', () => { confidentialAsset = entityMockUtils.getConfidentialAssetInstance(); rawId = '0x76702175d8cbe3a55a19734433351e26'; rawTrue = dsMockUtils.createMockBool(true); - booleanToBoolSpy = jest.spyOn(utilsConversionModule, 'booleanToBool'); + booleanToBoolSpy = jest.spyOn(utilsPublicConversionModule, 'booleanToBool'); when(booleanToBoolSpy).calledWith(true, mockContext).mockReturnValue(rawTrue); }); @@ -93,7 +93,7 @@ describe('toggleFreezeConfidentialAsset procedure', () => { const proc = procedureMockUtils.getInstance(mockContext); const boundFunc = getAuthorization.bind(proc); - expect(boundFunc({ confidentialAsset, freeze: false })).toEqual({ + return expect(boundFunc({ confidentialAsset, freeze: false })).resolves.toEqual({ roles: [{ assetId: confidentialAsset.id, type: RoleType.ConfidentialAssetOwner }], permissions: { transactions: [TxTags.confidentialAsset.SetAssetFrozen], diff --git a/src/api/procedures/__tests__/toggleFreezeOffering.ts b/src/api/procedures/__tests__/toggleFreezeOffering.ts deleted file mode 100644 index bbab2164d3..0000000000 --- a/src/api/procedures/__tests__/toggleFreezeOffering.ts +++ /dev/null @@ -1,230 +0,0 @@ -import { u64 } from '@polkadot/types'; -import { PolymeshPrimitivesTicker } from '@polkadot/types/lookup'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { - getAuthorization, - prepareToggleFreezeOffering, - ToggleFreezeOfferingParams, -} from '~/api/procedures/toggleFreezeOffering'; -import { Context, Offering } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { OfferingBalanceStatus, OfferingSaleStatus, OfferingTimingStatus, TxTags } from '~/types'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/Asset/Fungible', - require('~/testUtils/mocks/entities').mockFungibleAssetModule('~/api/entities/Asset/Fungible') -); -jest.mock( - '~/api/entities/Offering', - require('~/testUtils/mocks/entities').mockOfferingModule('~/api/entities/Offering') -); - -describe('toggleFreezeOffering procedure', () => { - let mockContext: Mocked; - let stringToTickerSpy: jest.SpyInstance; - let bigNumberToU64Spy: jest.SpyInstance; - let ticker: string; - let rawTicker: PolymeshPrimitivesTicker; - let id: BigNumber; - let rawId: u64; - - beforeAll(() => { - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - stringToTickerSpy = jest.spyOn(utilsConversionModule, 'stringToTicker'); - bigNumberToU64Spy = jest.spyOn(utilsConversionModule, 'bigNumberToU64'); - ticker = 'tickerFrozen'; - id = new BigNumber(1); - rawTicker = dsMockUtils.createMockTicker(ticker); - rawId = dsMockUtils.createMockU64(id); - }); - - beforeEach(() => { - mockContext = dsMockUtils.getContextInstance(); - when(stringToTickerSpy).calledWith(ticker, mockContext).mockReturnValue(rawTicker); - when(bigNumberToU64Spy).calledWith(id, mockContext).mockReturnValue(rawId); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it('should throw an error if the Offering has reached its end date', () => { - entityMockUtils.configureMocks({ - offeringOptions: { - details: { - status: { - timing: OfferingTimingStatus.Expired, - balance: OfferingBalanceStatus.Available, - sale: OfferingSaleStatus.Closed, - }, - }, - }, - }); - - const proc = procedureMockUtils.getInstance(mockContext); - - return expect( - prepareToggleFreezeOffering.call(proc, { - ticker, - id, - freeze: true, - }) - ).rejects.toThrow('The Offering has already ended'); - }); - - it('should throw an error if freeze is set to true and the Offering is already frozen', () => { - entityMockUtils.configureMocks({ - offeringOptions: { - details: { - status: { - sale: OfferingSaleStatus.Frozen, - timing: OfferingTimingStatus.Started, - balance: OfferingBalanceStatus.Available, - }, - }, - }, - }); - - const proc = procedureMockUtils.getInstance(mockContext); - - return expect( - prepareToggleFreezeOffering.call(proc, { - ticker, - id, - freeze: true, - }) - ).rejects.toThrow('The Offering is already frozen'); - }); - - it('should throw an error if freeze is set to false and the Offering status is live or close', async () => { - const proc = procedureMockUtils.getInstance(mockContext); - - entityMockUtils.configureMocks({ - offeringOptions: { - details: { - status: { - sale: OfferingSaleStatus.Live, - timing: OfferingTimingStatus.Started, - balance: OfferingBalanceStatus.Available, - }, - }, - }, - }); - - await expect( - prepareToggleFreezeOffering.call(proc, { - ticker, - id, - freeze: false, - }) - ).rejects.toThrow('The Offering is already unfrozen'); - - entityMockUtils.configureMocks({ - offeringOptions: { - details: { - status: { - sale: OfferingSaleStatus.Closed, - timing: OfferingTimingStatus.Started, - balance: OfferingBalanceStatus.Available, - }, - }, - }, - }); - - return expect( - prepareToggleFreezeOffering.call(proc, { - ticker, - id, - freeze: false, - }) - ).rejects.toThrow('The Offering is already closed'); - }); - - it('should return a freeze transaction spec', async () => { - const proc = procedureMockUtils.getInstance(mockContext); - - const transaction = dsMockUtils.createTxMock('sto', 'freezeFundraiser'); - - const result = await prepareToggleFreezeOffering.call(proc, { - ticker, - id, - freeze: true, - }); - - expect(result).toEqual({ - transaction, - args: [rawTicker, rawId], - resolver: expect.objectContaining({ asset: expect.objectContaining({ ticker }) }), - }); - }); - - it('should return an unfreeze transaction spec', async () => { - entityMockUtils.configureMocks({ - offeringOptions: { - details: { - status: { - timing: OfferingTimingStatus.Started, - balance: OfferingBalanceStatus.Available, - sale: OfferingSaleStatus.Frozen, - }, - }, - }, - }); - - const proc = procedureMockUtils.getInstance(mockContext); - - const transaction = dsMockUtils.createTxMock('sto', 'unfreezeFundraiser'); - - const result = await prepareToggleFreezeOffering.call(proc, { - ticker, - id, - freeze: false, - }); - - expect(result).toEqual({ - transaction, - args: [rawTicker, rawId], - resolver: expect.objectContaining({ asset: expect.objectContaining({ ticker }) }), - }); - }); - - describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', () => { - const proc = procedureMockUtils.getInstance( - mockContext - ); - const boundFunc = getAuthorization.bind(proc); - - const asset = expect.objectContaining({ ticker }); - - expect(boundFunc({ ticker, id, freeze: true })).toEqual({ - permissions: { - transactions: [TxTags.sto.FreezeFundraiser], - assets: [asset], - portfolios: [], - }, - }); - - expect(boundFunc({ ticker, id, freeze: false })).toEqual({ - permissions: { - transactions: [TxTags.sto.UnfreezeFundraiser], - assets: [asset], - portfolios: [], - }, - }); - }); - }); -}); diff --git a/src/api/procedures/__tests__/toggleFreezeSecondayAccounts.ts b/src/api/procedures/__tests__/toggleFreezeSecondayAccounts.ts deleted file mode 100644 index 4e39f93e8e..0000000000 --- a/src/api/procedures/__tests__/toggleFreezeSecondayAccounts.ts +++ /dev/null @@ -1,134 +0,0 @@ -import { - getAuthorization, - prepareToggleFreezeSecondaryAccounts, - ToggleFreezeSecondaryAccountsParams, -} from '~/api/procedures/toggleFreezeSecondaryAccounts'; -import { Context } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { TxTags } from '~/types'; - -describe('toggleFreezeSecondaryAccounts procedure', () => { - let mockContext: Mocked; - - beforeAll(() => { - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - }); - - beforeEach(() => { - mockContext = dsMockUtils.getContextInstance({ - areSecondaryAccountsFrozen: true, - }); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it('should throw an error if freeze is set to true and the secondary Accounts are already frozen', () => { - const proc = procedureMockUtils.getInstance( - mockContext - ); - - return expect( - prepareToggleFreezeSecondaryAccounts.call(proc, { - freeze: true, - identity: entityMockUtils.getIdentityInstance({ - areSecondaryAccountsFrozen: true, - }), - }) - ).rejects.toThrow('The secondary Accounts are already frozen'); - }); - - it('should throw an error if freeze is set to false and the secondary Accounts are already unfrozen', () => { - dsMockUtils.configureMocks({ - contextOptions: { - areSecondaryAccountsFrozen: false, - }, - }); - - const proc = procedureMockUtils.getInstance( - mockContext - ); - - return expect( - prepareToggleFreezeSecondaryAccounts.call(proc, { - freeze: false, - }) - ).rejects.toThrow('The secondary Accounts are already unfrozen'); - }); - - it('should return a freeze secondary Accounts transaction spec', async () => { - dsMockUtils.configureMocks({ - contextOptions: { - areSecondaryAccountsFrozen: false, - }, - }); - - const proc = procedureMockUtils.getInstance( - mockContext - ); - - const transaction = dsMockUtils.createTxMock('identity', 'freezeSecondaryKeys'); - - const result = await prepareToggleFreezeSecondaryAccounts.call(proc, { - freeze: true, - }); - - expect(result).toEqual({ transaction, resolver: undefined }); - }); - - it('should return an unfreeze secondary Accounts transaction spec', async () => { - dsMockUtils.configureMocks({ - contextOptions: { - areSecondaryAccountsFrozen: true, - }, - }); - - const proc = procedureMockUtils.getInstance( - mockContext - ); - - const transaction = dsMockUtils.createTxMock('identity', 'unfreezeSecondaryKeys'); - - const result = await prepareToggleFreezeSecondaryAccounts.call(proc, { - freeze: false, - }); - - expect(result).toEqual({ transaction, resolver: undefined }); - }); - - describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', () => { - const proc = procedureMockUtils.getInstance( - mockContext - ); - const boundFunc = getAuthorization.bind(proc); - - expect(boundFunc({ freeze: true })).toEqual({ - permissions: { - transactions: [TxTags.identity.FreezeSecondaryKeys], - assets: [], - portfolios: [], - }, - }); - - expect(boundFunc({ freeze: false })).toEqual({ - permissions: { - transactions: [TxTags.identity.UnfreezeSecondaryKeys], - assets: [], - portfolios: [], - }, - }); - }); - }); -}); diff --git a/src/api/procedures/__tests__/toggleFreezeTransfers.ts b/src/api/procedures/__tests__/toggleFreezeTransfers.ts deleted file mode 100644 index fd72550f19..0000000000 --- a/src/api/procedures/__tests__/toggleFreezeTransfers.ts +++ /dev/null @@ -1,141 +0,0 @@ -import { PolymeshPrimitivesTicker } from '@polkadot/types/lookup'; -import { when } from 'jest-when'; - -import { - getAuthorization, - Params, - prepareToggleFreezeTransfers, -} from '~/api/procedures/toggleFreezeTransfers'; -import { Context } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { TxTags } from '~/types'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/Asset/Base', - require('~/testUtils/mocks/entities').mockBaseAssetModule('~/api/entities/Asset/Base') -); - -describe('toggleFreezeTransfers procedure', () => { - let mockContext: Mocked; - let stringToTickerSpy: jest.SpyInstance; - let ticker: string; - let rawTicker: PolymeshPrimitivesTicker; - - beforeAll(() => { - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - stringToTickerSpy = jest.spyOn(utilsConversionModule, 'stringToTicker'); - ticker = 'tickerFrozen'; - rawTicker = dsMockUtils.createMockTicker(ticker); - }); - - beforeEach(() => { - mockContext = dsMockUtils.getContextInstance(); - when(stringToTickerSpy).calledWith(ticker, mockContext).mockReturnValue(rawTicker); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it('should throw an error if freeze is set to true and the Asset is already frozen', () => { - entityMockUtils.configureMocks({ - baseAssetOptions: { - isFrozen: true, - }, - }); - - const proc = procedureMockUtils.getInstance(mockContext); - - return expect( - prepareToggleFreezeTransfers.call(proc, { - ticker, - freeze: true, - }) - ).rejects.toThrow('The Asset is already frozen'); - }); - - it('should throw an error if freeze is set to false and the Asset is already unfrozen', () => { - const proc = procedureMockUtils.getInstance(mockContext); - - return expect( - prepareToggleFreezeTransfers.call(proc, { - ticker, - freeze: false, - }) - ).rejects.toThrow('The Asset is already unfrozen'); - }); - - it('should return a freeze transaction spec', async () => { - const proc = procedureMockUtils.getInstance(mockContext); - - const transaction = dsMockUtils.createTxMock('asset', 'freeze'); - - const result = await prepareToggleFreezeTransfers.call(proc, { - ticker, - freeze: true, - }); - - expect(result).toEqual({ - transaction, - args: [rawTicker], - }); - }); - - it('should add an unfreeze transaction spec', async () => { - entityMockUtils.configureMocks({ - baseAssetOptions: { - isFrozen: true, - }, - }); - - const proc = procedureMockUtils.getInstance(mockContext); - - const transaction = dsMockUtils.createTxMock('asset', 'unfreeze'); - - const result = await prepareToggleFreezeTransfers.call(proc, { - ticker, - freeze: false, - }); - - expect(result).toEqual({ - transaction, - args: [rawTicker], - }); - }); - - describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', () => { - const proc = procedureMockUtils.getInstance(mockContext); - const boundFunc = getAuthorization.bind(proc); - - const asset = expect.objectContaining({ ticker }); - - expect(boundFunc({ ticker, freeze: true })).toEqual({ - permissions: { - transactions: [TxTags.asset.Freeze], - assets: [asset], - portfolios: [], - }, - }); - - expect(boundFunc({ ticker, freeze: false })).toEqual({ - permissions: { - transactions: [TxTags.asset.Unfreeze], - assets: [asset], - portfolios: [], - }, - }); - }); - }); -}); diff --git a/src/api/procedures/__tests__/togglePauseRequirements.ts b/src/api/procedures/__tests__/togglePauseRequirements.ts deleted file mode 100644 index 430a0b4f83..0000000000 --- a/src/api/procedures/__tests__/togglePauseRequirements.ts +++ /dev/null @@ -1,156 +0,0 @@ -import { bool } from '@polkadot/types'; -import { PolymeshPrimitivesTicker } from '@polkadot/types/lookup'; -import { when } from 'jest-when'; - -import { - getAuthorization, - Params, - prepareTogglePauseRequirements, -} from '~/api/procedures/togglePauseRequirements'; -import { Context } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { TxTags } from '~/types'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/Asset/Fungible', - require('~/testUtils/mocks/entities').mockFungibleAssetModule('~/api/entities/Asset/Fungible') -); - -describe('togglePauseRequirements procedure', () => { - let mockContext: Mocked; - let stringToTickerSpy: jest.SpyInstance; - let assetCompliancesMock: jest.Mock; - let boolToBooleanSpy: jest.SpyInstance; - let ticker: string; - let rawTicker: PolymeshPrimitivesTicker; - - beforeAll(() => { - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - stringToTickerSpy = jest.spyOn(utilsConversionModule, 'stringToTicker'); - boolToBooleanSpy = jest.spyOn(utilsConversionModule, 'boolToBoolean'); - ticker = 'TEST'; - rawTicker = dsMockUtils.createMockTicker(ticker); - }); - - beforeEach(() => { - mockContext = dsMockUtils.getContextInstance(); - when(stringToTickerSpy).calledWith(ticker, mockContext).mockReturnValue(rawTicker); - assetCompliancesMock = dsMockUtils.createQueryMock('complianceManager', 'assetCompliances', { - returnValue: [], - }); - when(assetCompliancesMock).calledWith(rawTicker).mockResolvedValue({ - paused: true, - }); - boolToBooleanSpy.mockReturnValue(true); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it('should throw an error if pause is set to true and the asset compliance requirements are already paused', () => { - const proc = procedureMockUtils.getInstance(mockContext); - - return expect( - prepareTogglePauseRequirements.call(proc, { - ticker, - pause: true, - }) - ).rejects.toThrow('Requirements are already paused'); - }); - - it('should throw an error if pause is set to false and the asset compliance requirements are already unpaused', () => { - when(assetCompliancesMock).calledWith(rawTicker).mockReturnValue({ - paused: false, - }); - - boolToBooleanSpy.mockReturnValue(false); - - const proc = procedureMockUtils.getInstance(mockContext); - - return expect( - prepareTogglePauseRequirements.call(proc, { - ticker, - pause: false, - }) - ).rejects.toThrow('Requirements are already unpaused'); - }); - - it('should return a pause asset compliance transaction spec', async () => { - when(assetCompliancesMock).calledWith(rawTicker).mockReturnValue({ - paused: false, - }); - - boolToBooleanSpy.mockReturnValue(false); - - const proc = procedureMockUtils.getInstance(mockContext); - - const transaction = dsMockUtils.createTxMock('complianceManager', 'pauseAssetCompliance'); - - const result = await prepareTogglePauseRequirements.call(proc, { - ticker, - pause: true, - }); - - expect(result).toEqual({ - transaction, - args: [rawTicker], - }); - }); - - it('should return a resume asset compliance transaction spec', async () => { - const proc = procedureMockUtils.getInstance(mockContext); - - const transaction = dsMockUtils.createTxMock('complianceManager', 'resumeAssetCompliance'); - - const result = await prepareTogglePauseRequirements.call(proc, { - ticker, - pause: false, - }); - - expect(result).toEqual({ - transaction, - args: [rawTicker], - }); - }); - - describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', () => { - const proc = procedureMockUtils.getInstance(mockContext); - const boundFunc = getAuthorization.bind(proc); - const args: Params = { - ticker, - pause: true, - }; - - expect(boundFunc(args)).toEqual({ - permissions: { - transactions: [TxTags.complianceManager.PauseAssetCompliance], - assets: [expect.objectContaining({ ticker })], - portfolios: [], - }, - }); - - args.pause = false; - - expect(boundFunc(args)).toEqual({ - permissions: { - transactions: [TxTags.complianceManager.ResumeAssetCompliance], - assets: [expect.objectContaining({ ticker })], - portfolios: [], - }, - }); - }); - }); -}); diff --git a/src/api/procedures/__tests__/transferAssetOwnership.ts b/src/api/procedures/__tests__/transferAssetOwnership.ts deleted file mode 100644 index c1f4b21dab..0000000000 --- a/src/api/procedures/__tests__/transferAssetOwnership.ts +++ /dev/null @@ -1,194 +0,0 @@ -import { Option } from '@polkadot/types'; -import { Moment } from '@polkadot/types/interfaces'; -import { - PolymeshPrimitivesAuthorizationAuthorizationData, - PolymeshPrimitivesSecondaryKeySignatory, -} from '@polkadot/types/lookup'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { - getAuthorization, - Params, - prepareTransferAssetOwnership, -} from '~/api/procedures/transferAssetOwnership'; -import { AuthorizationRequest, Context } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { - Account, - Authorization, - AuthorizationType, - Identity, - SignerType, - SignerValue, - TxTags, -} from '~/types'; -import { PolymeshTx } from '~/types/internal'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/Identity', - require('~/testUtils/mocks/entities').mockIdentityModule('~/api/entities/Identity') -); - -jest.mock( - '~/api/entities/Asset/Fungible', - require('~/testUtils/mocks/entities').mockFungibleAssetModule('~/api/entities/Asset/Fungible') -); - -describe('transferAssetOwnership procedure', () => { - let mockContext: Mocked; - let signerValueToSignatorySpy: jest.SpyInstance< - PolymeshPrimitivesSecondaryKeySignatory, - [SignerValue, Context] - >; - let authorizationToAuthorizationDataSpy: jest.SpyInstance< - PolymeshPrimitivesAuthorizationAuthorizationData, - [Authorization, Context] - >; - let dateToMomentSpy: jest.SpyInstance; - let ticker: string; - let did: string; - let expiry: Date; - let rawSignatory: PolymeshPrimitivesSecondaryKeySignatory; - let rawAuthorizationData: PolymeshPrimitivesAuthorizationAuthorizationData; - let rawMoment: Moment; - let args: Params; - let signerToStringSpy: jest.SpyInstance; - let target: Identity; - - beforeAll(() => { - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - signerValueToSignatorySpy = jest.spyOn(utilsConversionModule, 'signerValueToSignatory'); - authorizationToAuthorizationDataSpy = jest.spyOn( - utilsConversionModule, - 'authorizationToAuthorizationData' - ); - dateToMomentSpy = jest.spyOn(utilsConversionModule, 'dateToMoment'); - ticker = 'SOME_TICKER'; - did = 'someDid'; - expiry = new Date('10/14/3040'); - rawSignatory = dsMockUtils.createMockSignatory({ - Identity: dsMockUtils.createMockIdentityId(did), - }); - rawAuthorizationData = dsMockUtils.createMockAuthorizationData({ - TransferAssetOwnership: dsMockUtils.createMockTicker(ticker), - }); - rawMoment = dsMockUtils.createMockMoment(new BigNumber(expiry.getTime())); - args = { - ticker, - target: did, - }; - signerToStringSpy = jest.spyOn(utilsConversionModule, 'signerToString'); - target = entityMockUtils.getIdentityInstance({ did: args.target as string }); - }); - - let transaction: PolymeshTx< - [ - PolymeshPrimitivesSecondaryKeySignatory, - PolymeshPrimitivesAuthorizationAuthorizationData, - Option - ] - >; - - beforeEach(() => { - transaction = dsMockUtils.createTxMock('identity', 'addAuthorization'); - - mockContext = dsMockUtils.getContextInstance(); - - entityMockUtils.configureMocks({ - identityOptions: { - authorizationsGetReceived: [], - }, - }); - - when(signerValueToSignatorySpy) - .calledWith({ type: SignerType.Identity, value: did }, mockContext) - .mockReturnValue(rawSignatory); - when(authorizationToAuthorizationDataSpy) - .calledWith({ type: AuthorizationType.TransferAssetOwnership, value: ticker }, mockContext) - .mockReturnValue(rawAuthorizationData); - when(dateToMomentSpy).calledWith(expiry, mockContext).mockReturnValue(rawMoment); - when(signerToStringSpy) - .calledWith(args.target) - .mockReturnValue(args.target as string); - when(signerToStringSpy) - .calledWith(target) - .mockReturnValue(args.target as string); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it('should throw an error if has Pending Authorization', async () => { - entityMockUtils.configureMocks({ - identityOptions: { - authorizationsGetReceived: [ - entityMockUtils.getAuthorizationRequestInstance({ - target, - issuer: entityMockUtils.getIdentityInstance({ did }), - authId: new BigNumber(1), - expiry: null, - data: { type: AuthorizationType.TransferAssetOwnership, value: ticker }, - }), - ], - }, - }); - - const proc = procedureMockUtils.getInstance(mockContext); - - return expect(prepareTransferAssetOwnership.call(proc, args)).rejects.toThrow( - 'The target Identity already has a pending transfer Asset Ownership request' - ); - }); - - it('should return an add authorization transaction spec', async () => { - const proc = procedureMockUtils.getInstance(mockContext); - - const result = await prepareTransferAssetOwnership.call(proc, args); - - expect(result).toEqual({ - transaction, - args: [rawSignatory, rawAuthorizationData, null], - resolver: expect.any(Function), - }); - }); - - it('should return an add authorization transaction with expiry spec if an expiry date was passed', async () => { - const proc = procedureMockUtils.getInstance(mockContext); - - const result = await prepareTransferAssetOwnership.call(proc, { ...args, expiry }); - - expect(result).toEqual({ - transaction, - args: [rawSignatory, rawAuthorizationData, rawMoment], - resolver: expect.any(Function), - }); - }); - - describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', () => { - const proc = procedureMockUtils.getInstance(mockContext); - const boundFunc = getAuthorization.bind(proc); - - expect(boundFunc(args)).toEqual({ - permissions: { - assets: [expect.objectContaining({ ticker })], - transactions: [TxTags.identity.AddAuthorization], - portfolios: [], - }, - }); - }); - }); -}); diff --git a/src/api/procedures/__tests__/transferPolyx.ts b/src/api/procedures/__tests__/transferPolyx.ts deleted file mode 100644 index c868a8229b..0000000000 --- a/src/api/procedures/__tests__/transferPolyx.ts +++ /dev/null @@ -1,181 +0,0 @@ -import { PolymeshPrimitivesMemo } from '@polkadot/types/lookup'; -import BigNumber from 'bignumber.js'; - -import { getAuthorization, prepareTransferPolyx } from '~/api/procedures/transferPolyx'; -import { Context } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { TransferPolyxParams, TxTags } from '~/types'; -import * as utilsConversionModule from '~/utils/conversion'; -import * as utilsInternalModule from '~/utils/internal'; - -jest.mock( - '~/api/entities/Identity', - require('~/testUtils/mocks/entities').mockIdentityModule('~/api/entities/Identity') -); -jest.mock( - '~/api/entities/Account', - require('~/testUtils/mocks/entities').mockAccountModule('~/api/entities/Account') -); - -describe('transferPolyx procedure', () => { - let mockContext: Mocked; - - beforeAll(() => { - entityMockUtils.initMocks(); - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - jest.spyOn(utilsInternalModule, 'assertAddressValid').mockImplementation(); - }); - - beforeEach(() => { - mockContext = dsMockUtils.getContextInstance(); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - jest.restoreAllMocks(); - }); - - it('should throw an error if the user has insufficient balance to transfer', () => { - dsMockUtils.createQueryMock('identity', 'didRecords', { returnValue: {} }); - - const proc = procedureMockUtils.getInstance(mockContext); - - return expect( - prepareTransferPolyx.call(proc, { - to: 'someAccount', - amount: new BigNumber(101), - }) - ).rejects.toThrow('Insufficient free balance'); - }); - - it("should throw an error if destination Account doesn't have an associated Identity", () => { - entityMockUtils.configureMocks({ - accountOptions: { - getIdentity: null, - }, - }); - - const proc = procedureMockUtils.getInstance(mockContext); - - return expect( - prepareTransferPolyx.call(proc, { to: 'someAccount', amount: new BigNumber(99) }) - ).rejects.toThrow("The destination Account doesn't have an associated Identity"); - }); - - it("should throw an error if sender Identity doesn't have valid CDD", () => { - dsMockUtils - .createQueryMock('identity', 'didRecords') - .mockReturnValue(dsMockUtils.createMockIdentityId('signingIdentityId')); - - mockContext = dsMockUtils.getContextInstance({ - validCdd: false, - }); - - const proc = procedureMockUtils.getInstance(mockContext); - - return expect( - prepareTransferPolyx.call(proc, { to: 'someAccount', amount: new BigNumber(99) }) - ).rejects.toThrow('The sender Identity has an invalid CDD claim'); - }); - - it("should throw an error if destination Account doesn't have valid CDD", () => { - dsMockUtils - .createQueryMock('identity', 'didRecords') - .mockReturnValue(dsMockUtils.createMockIdentityId('signingIdentityId')); - - entityMockUtils.configureMocks({ - accountOptions: { - getIdentity: entityMockUtils.getIdentityInstance({ - hasValidCdd: false, - }), - }, - }); - - const proc = procedureMockUtils.getInstance(mockContext); - - return expect( - prepareTransferPolyx.call(proc, { to: 'someAccount', amount: new BigNumber(99) }) - ).rejects.toThrow('The receiver Identity has an invalid CDD claim'); - }); - - it('should return a balance transfer transaction spec', async () => { - const to = entityMockUtils.getAccountInstance({ address: 'someAccount' }); - const amount = new BigNumber(99); - const memo = 'someMessage'; - const rawAccount = dsMockUtils.createMockAccountId(to.address); - const rawAmount = dsMockUtils.createMockBalance(amount); - const rawMemo = 'memo' as unknown as PolymeshPrimitivesMemo; - - dsMockUtils - .createQueryMock('identity', 'didRecords') - .mockReturnValue(dsMockUtils.createMockIdentityId('signingIdentityId')); - - jest.spyOn(utilsConversionModule, 'stringToAccountId').mockReturnValue(rawAccount); - jest.spyOn(utilsConversionModule, 'bigNumberToBalance').mockReturnValue(rawAmount); - jest.spyOn(utilsConversionModule, 'stringToMemo').mockReturnValue(rawMemo); - - let tx = dsMockUtils.createTxMock('balances', 'transfer'); - const proc = procedureMockUtils.getInstance(mockContext); - - let result = await prepareTransferPolyx.call(proc, { - to, - amount, - }); - - expect(result).toEqual({ - transaction: tx, - args: [rawAccount, rawAmount], - resolver: undefined, - }); - - tx = dsMockUtils.createTxMock('balances', 'transferWithMemo'); - - result = await prepareTransferPolyx.call(proc, { - to, - amount, - memo, - }); - - expect(result).toEqual({ - transaction: tx, - args: [rawAccount, rawAmount, rawMemo], - resolver: undefined, - }); - }); - - describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', () => { - const memo = 'something'; - const args = { - memo, - } as TransferPolyxParams; - - expect(getAuthorization(args)).toEqual({ - permissions: { - transactions: [TxTags.balances.TransferWithMemo], - assets: [], - portfolios: [], - }, - }); - - args.memo = undefined; - - expect(getAuthorization(args)).toEqual({ - permissions: { - transactions: [TxTags.balances.Transfer], - assets: [], - portfolios: [], - }, - }); - }); - }); -}); diff --git a/src/api/procedures/__tests__/transferTickerOwnership.ts b/src/api/procedures/__tests__/transferTickerOwnership.ts deleted file mode 100644 index ee8a8e91d5..0000000000 --- a/src/api/procedures/__tests__/transferTickerOwnership.ts +++ /dev/null @@ -1,220 +0,0 @@ -import { Option } from '@polkadot/types'; -import { Moment } from '@polkadot/types/interfaces'; -import { - PolymeshPrimitivesAuthorizationAuthorizationData, - PolymeshPrimitivesSecondaryKeySignatory, -} from '@polkadot/types/lookup'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; - -import { - getAuthorization, - Params, - prepareTransferTickerOwnership, -} from '~/api/procedures/transferTickerOwnership'; -import { AuthorizationRequest, Context } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { - Account, - Authorization, - AuthorizationType, - Identity, - RoleType, - SignerType, - SignerValue, - TickerReservationStatus, - TxTags, -} from '~/types'; -import { PolymeshTx } from '~/types/internal'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/Identity', - require('~/testUtils/mocks/entities').mockIdentityModule('~/api/entities/Identity') -); - -jest.mock( - '~/api/entities/TickerReservation', - require('~/testUtils/mocks/entities').mockTickerReservationModule( - '~/api/entities/TickerReservation' - ) -); - -describe('transferTickerOwnership procedure', () => { - let mockContext: Mocked; - let signerValueToSignatorySpy: jest.SpyInstance< - PolymeshPrimitivesSecondaryKeySignatory, - [SignerValue, Context] - >; - let authorizationToAuthorizationDataSpy: jest.SpyInstance< - PolymeshPrimitivesAuthorizationAuthorizationData, - [Authorization, Context] - >; - let dateToMomentSpy: jest.SpyInstance; - let ticker: string; - let did: string; - let expiry: Date; - let rawSignatory: PolymeshPrimitivesSecondaryKeySignatory; - let rawAuthorizationData: PolymeshPrimitivesAuthorizationAuthorizationData; - let rawMoment: Moment; - let args: Params; - let signerToStringSpy: jest.SpyInstance; - let target: Identity; - - beforeAll(() => { - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - signerValueToSignatorySpy = jest.spyOn(utilsConversionModule, 'signerValueToSignatory'); - authorizationToAuthorizationDataSpy = jest.spyOn( - utilsConversionModule, - 'authorizationToAuthorizationData' - ); - dateToMomentSpy = jest.spyOn(utilsConversionModule, 'dateToMoment'); - ticker = 'SOME_TICKER'; - did = 'someDid'; - expiry = new Date('10/14/3040'); - rawSignatory = dsMockUtils.createMockSignatory({ - Identity: dsMockUtils.createMockIdentityId(did), - }); - rawAuthorizationData = dsMockUtils.createMockAuthorizationData({ - TransferTicker: dsMockUtils.createMockTicker(ticker), - }); - rawMoment = dsMockUtils.createMockMoment(new BigNumber(expiry.getTime())); - args = { - ticker, - target: did, - }; - signerToStringSpy = jest.spyOn(utilsConversionModule, 'signerToString'); - }); - - let transaction: PolymeshTx< - [ - PolymeshPrimitivesSecondaryKeySignatory, - PolymeshPrimitivesAuthorizationAuthorizationData, - Option - ] - >; - - beforeEach(() => { - transaction = dsMockUtils.createTxMock('identity', 'addAuthorization'); - mockContext = dsMockUtils.getContextInstance(); - target = entityMockUtils.getIdentityInstance({ did: args.target as string }); - - entityMockUtils.configureMocks({ - identityOptions: { - authorizationsGetReceived: [], - }, - }); - - when(signerValueToSignatorySpy) - .calledWith({ type: SignerType.Identity, value: did }, mockContext) - .mockReturnValue(rawSignatory); - - when(authorizationToAuthorizationDataSpy) - .calledWith({ type: AuthorizationType.TransferTicker, value: ticker }, mockContext) - .mockReturnValue(rawAuthorizationData); - when(dateToMomentSpy).calledWith(expiry, mockContext).mockReturnValue(rawMoment); - when(signerToStringSpy) - .calledWith(args.target) - .mockReturnValue(args.target as string); - when(signerToStringSpy) - .calledWith(target) - .mockReturnValue(args.target as string); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it('should throw an error if there is a Pending Authorization', () => { - entityMockUtils.configureMocks({ - identityOptions: { - authorizationsGetReceived: [ - entityMockUtils.getAuthorizationRequestInstance({ - target, - issuer: entityMockUtils.getIdentityInstance({ did }), - authId: new BigNumber(1), - expiry: null, - data: { type: AuthorizationType.TransferTicker, value: ticker }, - }), - ], - }, - }); - - const proc = procedureMockUtils.getInstance(mockContext); - - return expect(prepareTransferTickerOwnership.call(proc, args)).rejects.toThrow( - 'The target Identity already has a pending Ticker Ownership transfer request' - ); - }); - - it('should throw an error if an Asset with that ticker has already been launched', () => { - entityMockUtils.configureMocks({ - tickerReservationOptions: { - details: { - owner: entityMockUtils.getIdentityInstance(), - expiryDate: null, - status: TickerReservationStatus.AssetCreated, - }, - }, - identityOptions: { - authorizationsGetReceived: [], - }, - }); - - const proc = procedureMockUtils.getInstance(mockContext); - - return expect(prepareTransferTickerOwnership.call(proc, args)).rejects.toThrow( - 'An Asset with this ticker has already been created' - ); - }); - - it('should return an add authorization transaction spec', async () => { - const proc = procedureMockUtils.getInstance(mockContext); - - const result = await prepareTransferTickerOwnership.call(proc, args); - - expect(result).toEqual({ - transaction, - args: [rawSignatory, rawAuthorizationData, null], - resolver: expect.any(Function), - }); - }); - - it('should return an add authorization transaction with expiry spec if an expiry date was passed', async () => { - const proc = procedureMockUtils.getInstance(mockContext); - - const result = await prepareTransferTickerOwnership.call(proc, { ...args, expiry }); - - expect(result).toEqual({ - transaction, - args: [rawSignatory, rawAuthorizationData, rawMoment], - resolver: expect.any(Function), - }); - }); - - describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', () => { - const proc = procedureMockUtils.getInstance(mockContext); - const boundFunc = getAuthorization.bind(proc); - - expect(boundFunc(args)).toEqual({ - roles: [{ type: RoleType.TickerOwner, ticker }], - permissions: { - assets: [], - transactions: [TxTags.identity.AddAuthorization], - portfolios: [], - }, - }); - }); - }); -}); diff --git a/src/api/procedures/__tests__/unlinkChildIdentity.ts b/src/api/procedures/__tests__/unlinkChildIdentity.ts deleted file mode 100644 index bacd4d5cbc..0000000000 --- a/src/api/procedures/__tests__/unlinkChildIdentity.ts +++ /dev/null @@ -1,173 +0,0 @@ -import { PolymeshPrimitivesIdentityId } from '@polkadot/types/lookup'; -import { when } from 'jest-when'; - -import { ChildIdentity } from '~/api/entities/Identity/ChildIdentity'; -import { - getAuthorization, - prepareStorage, - prepareUnlinkChildIdentity, - Storage, -} from '~/api/procedures/unlinkChildIdentity'; -import { Context, Identity } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { TxTags, UnlinkChildParams } from '~/types'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/Identity/ChildIdentity', - require('~/testUtils/mocks/entities').mockChildIdentityModule( - '~/api/entities/Identity/ChildIdentity' - ) -); - -describe('unlinkChildIdentity procedure', () => { - let mockContext: Mocked; - let identity: Identity; - let childIdentity: ChildIdentity; - let rawChildIdentity: PolymeshPrimitivesIdentityId; - let stringToIdentityIdSpy: jest.SpyInstance; - - beforeAll(() => { - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - entityMockUtils.initMocks(); - - stringToIdentityIdSpy = jest.spyOn(utilsConversionModule, 'stringToIdentityId'); - }); - - beforeEach(() => { - identity = entityMockUtils.getIdentityInstance(); - - childIdentity = entityMockUtils.getChildIdentityInstance({ - did: 'someChild', - getParentDid: identity, - }); - rawChildIdentity = dsMockUtils.createMockIdentityId(childIdentity.did); - - mockContext = dsMockUtils.getContextInstance({ - getIdentity: identity, - }); - - when(stringToIdentityIdSpy) - .calledWith(childIdentity.did, mockContext) - .mockReturnValue(rawChildIdentity); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - jest.resetAllMocks(); - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it("should throw an error if the child Identity doesn't exists ", () => { - const child = entityMockUtils.getChildIdentityInstance({ - did: 'randomDid', - getParentDid: null, - }); - - const proc = procedureMockUtils.getInstance(mockContext, { - identity, - }); - - return expect( - prepareUnlinkChildIdentity.call(proc, { - child, - }) - ).rejects.toThrow("The `child` doesn't have a parent identity"); - }); - - it('should throw an error if the signing Identity is neither the parent nor child', () => { - const child = entityMockUtils.getChildIdentityInstance({ - did: 'randomChild', - getParentDid: entityMockUtils.getIdentityInstance({ did: 'randomParent' }), - }); - - const proc = procedureMockUtils.getInstance(mockContext, { - identity, - }); - - return expect( - prepareUnlinkChildIdentity.call(proc, { - child, - }) - ).rejects.toThrow( - 'Only the parent or the child identity is authorized to unlink a child identity' - ); - }); - - it('should add a create unlinkChildIdentity transaction to the queue', async () => { - const proc = procedureMockUtils.getInstance(mockContext, { - identity, - }); - - const unlinkChildIdentityTransaction = dsMockUtils.createTxMock( - 'identity', - 'unlinkChildIdentity' - ); - - const result = await prepareUnlinkChildIdentity.call(proc, { - child: childIdentity, - }); - - expect(result).toEqual({ - transaction: unlinkChildIdentityTransaction, - args: [rawChildIdentity], - resolver: undefined, - }); - }); - - describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', async () => { - let proc = procedureMockUtils.getInstance(mockContext, { - identity, - }); - let boundFunc = getAuthorization.bind(proc); - - let result = await boundFunc(); - expect(result).toEqual({ - permissions: { - transactions: [TxTags.identity.UnlinkChildIdentity], - assets: [], - portfolios: [], - }, - }); - - proc = procedureMockUtils.getInstance( - dsMockUtils.getContextInstance({ - signingAccountIsEqual: false, - }), - { identity } - ); - - boundFunc = getAuthorization.bind(proc); - - result = await boundFunc(); - expect(result).toEqual({ - signerPermissions: - 'Child identity can only be unlinked by primary key of either the child Identity or parent Identity', - }); - }); - }); - - describe('prepareStorage', () => { - it('should return the signing Identity', async () => { - const proc = procedureMockUtils.getInstance(mockContext); - const boundFunc = prepareStorage.bind(proc); - - const result = await boundFunc(); - - expect(result).toEqual({ - identity: expect.objectContaining({ - did: 'someDid', - }), - }); - }); - }); -}); diff --git a/src/api/procedures/__tests__/utils.ts b/src/api/procedures/__tests__/utils.ts deleted file mode 100644 index bd53090adf..0000000000 --- a/src/api/procedures/__tests__/utils.ts +++ /dev/null @@ -1,1723 +0,0 @@ -import { u64 } from '@polkadot/types'; -import { PolymeshPrimitivesTicker } from '@polkadot/types/lookup'; -import { ISubmittableResult } from '@polkadot/types/types'; -import BigNumber from 'bignumber.js'; - -import { - assertAuthorizationRequestValid, - assertCaCheckpointValid, - assertCaTaxWithholdingsValid, - assertDistributionDatesValid, - assertGroupDoesNotExist, - assertInstructionValid, - assertInstructionValidForManualExecution, - assertPortfolioExists, - assertRequirementsNotTooComplex, - assertSecondaryAccounts, - createAuthorizationResolver, - createCreateGroupResolver, - getGroupFromPermissions, - UnreachableCaseError, -} from '~/api/procedures/utils'; -import { - AuthorizationRequest, - CheckpointSchedule, - Context, - CustomPermissionGroup, - FungibleAsset, - Identity, - Instruction, - PolymeshError, -} from '~/internal'; -import { dsMockUtils, entityMockUtils } from '~/testUtils/mocks'; -import { createMockAccountId, createMockIdentityId } from '~/testUtils/mocks/dataSources'; -import { Mocked } from '~/testUtils/types'; -import { - Account, - Authorization, - AuthorizationType, - Condition, - ConditionTarget, - ConditionType, - ErrorCode, - InstructionDetails, - InstructionStatus, - InstructionType, - PermissionGroupType, - PermissionType, - Signer, - SignerType, - SignerValue, - TickerReservationStatus, - TrustedClaimIssuer, - TxTags, -} from '~/types'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/NumberedPortfolio', - require('~/testUtils/mocks/entities').mockNumberedPortfolioModule( - '~/api/entities/NumberedPortfolio' - ) -); - -jest.mock( - '~/api/entities/Identity', - require('~/testUtils/mocks/entities').mockIdentityModule('~/api/entities/Identity') -); - -jest.mock( - '~/api/entities/KnownPermissionGroup', - require('~/testUtils/mocks/entities').mockKnownPermissionGroupModule( - '~/api/entities/KnownPermissionGroup' - ) -); - -jest.mock( - '~/api/entities/Account', - require('~/testUtils/mocks/entities').mockAccountModule('~/api/entities/Account') -); - -jest.mock( - '~/api/entities/Asset/Fungible', - require('~/testUtils/mocks/entities').mockFungibleAssetModule('~/api/entities/Asset/Fungible') -); - -jest.mock( - '~/api/entities/TickerReservation', - require('~/testUtils/mocks/entities').mockTickerReservationModule( - '~/api/entities/TickerReservation' - ) -); - -jest.mock( - '~/api/entities/Venue', - require('~/testUtils/mocks/entities').mockVenueModule('~/api/entities/Venue') -); - -describe('assertInstructionValid', () => { - const latestBlock = new BigNumber(100); - let mockContext: Mocked; - let instruction: Instruction; - - beforeAll(() => { - dsMockUtils.initMocks({ - contextOptions: { - latestBlock, - }, - }); - entityMockUtils.initMocks(); - }); - - beforeEach(() => { - mockContext = dsMockUtils.getContextInstance(); - }); - - afterEach(() => { - entityMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should throw an error if instruction is not in pending or failed state', () => { - entityMockUtils.configureMocks({ - instructionOptions: { - details: { - status: InstructionStatus.Success, - } as InstructionDetails, - }, - }); - - instruction = entityMockUtils.getInstructionInstance(); - - return expect(assertInstructionValid(instruction, mockContext)).rejects.toThrow( - 'The Instruction must be in pending or failed state' - ); - }); - - it('should throw an error if the instruction can not be modified', async () => { - const endBlock = new BigNumber(10); - - entityMockUtils.configureMocks({ - instructionOptions: { - details: { - status: InstructionStatus.Pending, - type: InstructionType.SettleOnBlock, - tradeDate: new Date('10/10/2010'), - endBlock, - } as InstructionDetails, - }, - }); - - instruction = entityMockUtils.getInstructionInstance(); - - let error; - - try { - await assertInstructionValid(instruction, mockContext); - } catch (err) { - error = err; - } - - expect(error.message).toBe( - 'The Instruction cannot be modified; it has already reached its end block' - ); - expect(error.data.currentBlock).toBe(latestBlock); - expect(error.data.endBlock).toEqual(endBlock); - }); - - it('should not throw an error', async () => { - entityMockUtils.configureMocks({ - instructionOptions: { - details: { - status: InstructionStatus.Pending, - type: InstructionType.SettleOnAffirmation, - } as InstructionDetails, - }, - }); - - instruction = entityMockUtils.getInstructionInstance(); - - let result = await assertInstructionValid(instruction, mockContext); - - expect(result).toBeUndefined(); - - entityMockUtils.configureMocks({ - instructionOptions: { - details: { - status: InstructionStatus.Failed, - type: InstructionType.SettleOnAffirmation, - } as InstructionDetails, - }, - }); - - instruction = entityMockUtils.getInstructionInstance(); - - result = await assertInstructionValid(instruction, mockContext); - - expect(result).toBeUndefined(); - - entityMockUtils.configureMocks({ - instructionOptions: { - details: { - status: InstructionStatus.Pending, - type: InstructionType.SettleOnBlock, - endBlock: new BigNumber(1000000), - } as InstructionDetails, - }, - }); - - instruction = entityMockUtils.getInstructionInstance(); - - result = await assertInstructionValid(instruction, mockContext); - - expect(result).toBeUndefined(); - }); -}); - -describe('assertInstructionValidForManualExecution', () => { - const latestBlock = new BigNumber(200); - let mockContext: Mocked; - let instructionDetails: InstructionDetails; - - beforeAll(() => { - dsMockUtils.initMocks({ - contextOptions: { - latestBlock, - }, - }); - entityMockUtils.initMocks(); - }); - - beforeEach(() => { - mockContext = dsMockUtils.getContextInstance(); - instructionDetails = { - status: InstructionStatus.Pending, - type: InstructionType.SettleManual, - endAfterBlock: new BigNumber(100), - } as InstructionDetails; - }); - - afterEach(() => { - entityMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should throw an error if instruction is already Executed', () => { - return expect( - assertInstructionValidForManualExecution( - { - ...instructionDetails, - status: InstructionStatus.Success, - }, - mockContext - ) - ).rejects.toThrow('The Instruction has already been executed'); - }); - - it('should throw an error if the instruction is not of type SettleManual', async () => { - return expect( - assertInstructionValidForManualExecution( - { - ...instructionDetails, - type: InstructionType.SettleOnAffirmation, - }, - mockContext - ) - ).rejects.toThrow("You cannot manually execute settlement of type 'SettleOnAffirmation'"); - }); - - it('should throw an error if the instruction is being executed before endAfterBlock', async () => { - const endAfterBlock = new BigNumber(1000); - - const expectedError = new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'The Instruction cannot be executed until the specified end after block', - data: { - currentBlock: latestBlock, - endAfterBlock, - }, - }); - return expect( - assertInstructionValidForManualExecution( - { - ...instructionDetails, - endAfterBlock, - } as InstructionDetails, - mockContext - ) - ).rejects.toThrowError(expectedError); - }); - - it('should not throw an error', async () => { - // executing instruction of type SettleManual - await expect( - assertInstructionValidForManualExecution(instructionDetails, mockContext) - ).resolves.not.toThrow(); - - // executing failed instruction - await expect( - assertInstructionValidForManualExecution( - { - ...instructionDetails, - status: InstructionStatus.Failed, - type: InstructionType.SettleOnAffirmation, - }, - mockContext - ) - ).resolves.not.toThrow(); - }); -}); - -describe('assertPortfolioExists', () => { - it("should throw an error if the portfolio doesn't exist", async () => { - entityMockUtils.configureMocks({ numberedPortfolioOptions: { exists: false } }); - - const context = dsMockUtils.getContextInstance(); - - let error; - try { - await assertPortfolioExists({ did: 'someDid', number: new BigNumber(10) }, context); - } catch (err) { - error = err; - } - - expect(error.message).toBe("The Portfolio doesn't exist"); - }); - - it('should not throw an error if the portfolio exists', async () => { - entityMockUtils.configureMocks({ numberedPortfolioOptions: { exists: true } }); - - const context = dsMockUtils.getContextInstance(); - - let error; - try { - await assertPortfolioExists({ did: 'someDid', number: new BigNumber(10) }, context); - await assertPortfolioExists({ did: 'someDid' }, context); - } catch (err) { - error = err; - } - - expect(error).toBeUndefined(); - }); -}); - -describe('assertSecondaryAccounts', () => { - let signerToSignerValueSpy: jest.SpyInstance; - - beforeAll(() => { - signerToSignerValueSpy = jest.spyOn(utilsConversionModule, 'signerToSignerValue'); - }); - - it('should not throw an error if all signers are secondary Accounts', async () => { - const address = 'someAddress'; - const account = entityMockUtils.getAccountInstance({ address }); - const secondaryAccounts = [ - { - account, - permissions: { - assets: null, - transactions: null, - transactionGroups: [], - portfolios: null, - }, - }, - ]; - - const result = assertSecondaryAccounts([account], secondaryAccounts); - expect(result).toBeUndefined(); - }); - - it('should throw an error if one of the Accounts is not a Secondary Account for the Identity', () => { - const address = 'someAddress'; - const secondaryAccounts = [ - { - account: entityMockUtils.getAccountInstance({ address }), - permissions: { - assets: null, - transactions: null, - transactionGroups: [], - portfolios: null, - }, - }, - ]; - const accounts = [ - entityMockUtils.getAccountInstance({ address: 'otherAddress', isEqual: false }), - ]; - - signerToSignerValueSpy.mockReturnValue({ type: SignerType.Account, value: address }); - - let error; - - try { - assertSecondaryAccounts(accounts, secondaryAccounts); - } catch (err) { - error = err; - } - - expect(error.message).toBe('One of the Accounts is not a secondary Account for the Identity'); - expect(error.data.missing).toEqual([accounts[0].address]); - }); -}); - -describe('assertCaTaxWithholdingsValid', () => { - let mockContext: Mocked; - - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - beforeEach(() => { - mockContext = dsMockUtils.getContextInstance(); - dsMockUtils.setConstMock('corporateAction', 'maxDidWhts', { - returnValue: dsMockUtils.createMockU32(new BigNumber(1)), - }); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should throw an error if there are more target Identities than the maximum', async () => { - expect(() => - assertCaTaxWithholdingsValid( - [ - { identity: 'someDid', percentage: new BigNumber(15) }, - { identity: 'otherDid', percentage: new BigNumber(16) }, - ], - mockContext - ) - ).toThrow('Too many tax withholding entries'); - }); - - it('should not throw an error if the number of target Identities is appropriate', async () => { - expect(() => - assertCaTaxWithholdingsValid( - [{ identity: 'someDid', percentage: new BigNumber(15) }], - mockContext - ) - ).not.toThrow(); - }); -}); - -describe('assertCaCheckpointValid', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should throw an error if date is in the past', async () => { - let checkpoint = new Date(new Date().getTime() - 100000); - - let error; - try { - await assertCaCheckpointValid(checkpoint); - } catch (err) { - error = err; - } - - expect(error.message).toBe('Checkpoint date must be in the future'); - - checkpoint = new Date(new Date().getTime() + 100000); - - return expect(assertCaCheckpointValid(checkpoint)).resolves.not.toThrow(); - }); - - it('should throw an error if the checkpoint does not exist', async () => { - let checkpoint = entityMockUtils.getCheckpointInstance({ - exists: false, - }); - - let error; - try { - await assertCaCheckpointValid(checkpoint); - } catch (err) { - error = err; - } - - expect(error.message).toBe("Checkpoint doesn't exist"); - - checkpoint = entityMockUtils.getCheckpointInstance({ - exists: true, - }); - - return expect(assertCaCheckpointValid(checkpoint)).resolves.not.toThrow(); - }); - - it('should throw an error if checkpoint schedule no longer exists', async () => { - const checkpoint = entityMockUtils.getCheckpointScheduleInstance({ - exists: false, - }); - - let error; - try { - await assertCaCheckpointValid(checkpoint); - } catch (err) { - error = err; - } - - expect(error.message).toBe("Checkpoint Schedule doesn't exist"); - }); -}); - -describe('assertCaCheckpointValid', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should throw an error if the payment date is earlier than the Checkpoint date', async () => { - const date = new Date(new Date().getTime() + 10000); - - let checkpoint: CheckpointSchedule | Date = date; - const paymentDate = new Date(new Date().getTime() - 100000); - const expiryDate = new Date(); - - let error; - try { - await assertDistributionDatesValid(checkpoint, paymentDate, expiryDate); - } catch (err) { - error = err; - } - - expect(error.message).toBe('Payment date must be after the Checkpoint date'); - - checkpoint = entityMockUtils.getCheckpointScheduleInstance({ - details: { - nextCheckpointDate: date, - }, - }); - try { - await assertDistributionDatesValid(checkpoint, paymentDate, expiryDate); - } catch (err) { - error = err; - } - - expect(error.message).toBe('Payment date must be after the Checkpoint date'); - }); - - it('should throw an error if the expiry date is earlier than the Checkpoint date', async () => { - const date = new Date(new Date().getTime() + 10000); - - let checkpoint: CheckpointSchedule | Date = date; - const paymentDate = new Date(new Date().getTime() + 20000); - const expiryDate = new Date(new Date().getTime() - 200000); - - let error; - try { - await assertDistributionDatesValid(checkpoint, paymentDate, expiryDate); - } catch (err) { - error = err; - } - - expect(error.message).toBe('Expiry date must be after the Checkpoint date'); - - checkpoint = entityMockUtils.getCheckpointScheduleInstance({ - details: { - nextCheckpointDate: date, - }, - }); - - try { - await assertDistributionDatesValid(checkpoint, paymentDate, expiryDate); - } catch (err) { - error = err; - } - - expect(error.message).toBe('Expiry date must be after the Checkpoint date'); - - checkpoint = entityMockUtils.getCheckpointScheduleInstance({ - details: { - nextCheckpointDate: new Date(new Date().getTime() - 300000), - }, - }); - - return expect( - assertDistributionDatesValid(checkpoint, paymentDate, expiryDate) - ).resolves.not.toThrow(); - }); -}); - -describe('assertRequirementsNotTooComplex', () => { - let mockContext: Mocked; - - beforeEach(() => { - mockContext = dsMockUtils.getContextInstance(); - }); - - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should throw an error if the total added complexity is greater than max condition complexity', async () => { - dsMockUtils.setConstMock('complianceManager', 'maxConditionComplexity', { - returnValue: dsMockUtils.createMockU32(new BigNumber(2)), - }); - expect(() => - assertRequirementsNotTooComplex( - [ - { - type: ConditionType.IsPresent, - target: ConditionTarget.Both, - trustedClaimIssuers: ['issuer' as unknown as TrustedClaimIssuer], - }, - { - type: ConditionType.IsAnyOf, - claims: [dsMockUtils.createMockClaim(), dsMockUtils.createMockClaim()], - target: ConditionTarget.Sender, - }, - ] as Condition[], - new BigNumber(1), - mockContext - ) - ).toThrow('Compliance Requirement complexity limit exceeded'); - }); - - it('should not throw an error if the complexity is less than the max condition complexity', async () => { - dsMockUtils.setConstMock('complianceManager', 'maxConditionComplexity', { - returnValue: dsMockUtils.createMockU32(new BigNumber(10)), - }); - expect(() => - assertRequirementsNotTooComplex( - [{ type: ConditionType.IsPresent, target: ConditionTarget.Receiver }] as Condition[], - new BigNumber(1), - mockContext - ) - ).not.toThrow(); - }); -}); - -describe('authorization request validations', () => { - let mockContext: Context; - let target: Identity; - let issuer: Identity; - let expiry: Date; - - beforeEach(() => { - mockContext = dsMockUtils.getContextInstance(); - issuer = entityMockUtils.getIdentityInstance(); - target = entityMockUtils.getIdentityInstance(); - dsMockUtils.createQueryMock('identity', 'authorizations', { - returnValue: dsMockUtils.createMockOption( - dsMockUtils.createMockAuthorization({ - authorizationData: dsMockUtils.createMockAuthorizationData('RotatePrimaryKey'), - authId: new BigNumber(1), - authorizedBy: 'someDid', - expiry: dsMockUtils.createMockOption(), - }) - ), - }); - }); - - afterEach(() => { - dsMockUtils.reset(); - entityMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - describe('assertAuthorizationRequestValid', () => { - it('should throw with an expired request', () => { - const auth = entityMockUtils.getAuthorizationRequestInstance({ isExpired: true }); - - const expectedError = new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'The Authorization Request has expired', - }); - - return expect(assertAuthorizationRequestValid(auth, mockContext)).rejects.toThrowError( - expectedError - ); - }); - - it('should throw with an Authorization that does not exist', () => { - const auth = entityMockUtils.getAuthorizationRequestInstance({ exists: false }); - - const expectedError = new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'The Authorization Request no longer exists', - }); - - return expect(assertAuthorizationRequestValid(auth, mockContext)).rejects.toThrowError( - expectedError - ); - }); - }); - - describe('assertPrimaryKeyRotationValid', () => { - const data = { type: AuthorizationType.RotatePrimaryKey } as Authorization; - it('should not throw with a valid request', () => { - const goodTarget = entityMockUtils.getAccountInstance({ getIdentity: null }); - const auth = new AuthorizationRequest( - { authId: new BigNumber(1), target: goodTarget, issuer, expiry, data }, - mockContext - ); - - return expect(assertAuthorizationRequestValid(auth, mockContext)).resolves.not.toThrow(); - }); - - it('should throw with target that is an Identity', () => { - const badTarget = entityMockUtils.getIdentityInstance(); - const auth = new AuthorizationRequest( - { authId: new BigNumber(1), target: badTarget, issuer, expiry, data }, - mockContext - ); - - const expectedError = new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'An Identity can not become the primary Account of another Identity', - }); - - return expect(assertAuthorizationRequestValid(auth, mockContext)).rejects.toThrowError( - expectedError - ); - }); - }); - - describe('assertAttestPrimaryKeyAuthorizationValid', () => { - const data: Authorization = { - type: AuthorizationType.AttestPrimaryKeyRotation, - value: entityMockUtils.getIdentityInstance(), - }; - - it('should not throw with a valid request', () => { - const mockIssuer = entityMockUtils.getIdentityInstance({ isCddProvider: true }); - const auth = new AuthorizationRequest( - { - authId: new BigNumber(1), - target, - issuer: mockIssuer, - expiry, - data, - }, - mockContext - ); - - return expect(assertAuthorizationRequestValid(auth, mockContext)).resolves.not.toThrow(); - }); - - it('should throw with non CDD provider Issuer', () => { - const mockIssuer = entityMockUtils.getIdentityInstance({ isCddProvider: false }); - const auth = new AuthorizationRequest( - { - authId: new BigNumber(1), - target, - issuer: mockIssuer, - expiry, - data, - }, - mockContext - ); - - const expectedError = new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'Issuer must be a CDD provider', - }); - - return expect(assertAuthorizationRequestValid(auth, mockContext)).rejects.toThrowError( - expectedError - ); - }); - }); - - describe('assertTransferTickerAuthorizationValid', () => { - it('should not throw with a valid request', () => { - entityMockUtils.configureMocks({ - tickerReservationOptions: { details: { status: TickerReservationStatus.Reserved } }, - }); - const data: Authorization = { - type: AuthorizationType.TransferTicker, - value: 'TICKER', - }; - const auth = new AuthorizationRequest( - { - authId: new BigNumber(1), - target, - issuer, - expiry, - data, - }, - mockContext - ); - - return expect(assertAuthorizationRequestValid(auth, mockContext)).resolves.not.toThrow(); - }); - - it('should throw with an unreserved ticker', () => { - entityMockUtils.configureMocks({ - tickerReservationOptions: { details: { status: TickerReservationStatus.Free } }, - }); - const data: Authorization = { - type: AuthorizationType.TransferTicker, - value: 'TICKER', - }; - const auth = new AuthorizationRequest( - { - authId: new BigNumber(1), - target, - issuer, - expiry, - data, - }, - mockContext - ); - - const expectedError = new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'The Ticker is not reserved', - }); - return expect(assertAuthorizationRequestValid(auth, mockContext)).rejects.toThrowError( - expectedError - ); - }); - - it('should throw with an already used ticker', () => { - entityMockUtils.configureMocks({ - tickerReservationOptions: { details: { status: TickerReservationStatus.AssetCreated } }, - }); - const data: Authorization = { - type: AuthorizationType.TransferTicker, - value: 'TICKER', - }; - const auth = new AuthorizationRequest( - { - authId: new BigNumber(1), - target, - issuer, - expiry, - data, - }, - mockContext - ); - - const expectedError = new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'The Ticker has already been used to create an Asset', - }); - - return expect(assertAuthorizationRequestValid(auth, mockContext)).rejects.toThrowError( - expectedError - ); - }); - }); - - describe('assertTransferAssetOwnershipAuthorizationValid', () => { - it('should not throw with a valid request', () => { - entityMockUtils.configureMocks({ fungibleAssetOptions: { exists: true } }); - const data: Authorization = { - type: AuthorizationType.TransferAssetOwnership, - value: 'TICKER', - }; - const auth = new AuthorizationRequest( - { - authId: new BigNumber(1), - issuer, - target, - expiry, - data, - }, - mockContext - ); - - return expect(assertAuthorizationRequestValid(auth, mockContext)).resolves.not.toThrow(); - }); - - it('should throw with a Asset that does not exist', () => { - entityMockUtils.configureMocks({ fungibleAssetOptions: { exists: false } }); - const data: Authorization = { - type: AuthorizationType.TransferAssetOwnership, - value: 'TICKER', - }; - const auth = new AuthorizationRequest( - { - authId: new BigNumber(1), - issuer, - target, - expiry, - data, - }, - mockContext - ); - - const expectedError = new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'The Asset does not exist', - }); - - return expect(assertAuthorizationRequestValid(auth, mockContext)).rejects.toThrowError( - expectedError - ); - }); - }); - - describe('assertPortfolioCustodyAuthorizationValid', () => { - it('should throw with a valid request', () => { - const data: Authorization = { - type: AuthorizationType.PortfolioCustody, - value: entityMockUtils.getNumberedPortfolioInstance(), - }; - const auth = new AuthorizationRequest( - { - authId: new BigNumber(1), - target, - issuer, - expiry, - data, - }, - mockContext - ); - - return expect(assertAuthorizationRequestValid(auth, mockContext)).resolves.not.toThrow(); - }); - }); - - describe('assertJoinOrRotateAuthorizationValid', () => { - const permissions = { - assets: null, - transactions: null, - transactionGroups: [], - portfolios: null, - }; - const data: Authorization = { - type: AuthorizationType.JoinIdentity, - value: permissions, - }; - it('should not throw with a valid request', () => { - const mockTarget = entityMockUtils.getAccountInstance({ getIdentity: null }); - const auth = new AuthorizationRequest( - { - authId: new BigNumber(1), - target: mockTarget, - issuer, - expiry, - data, - }, - mockContext - ); - - return expect(assertAuthorizationRequestValid(auth, mockContext)).resolves.not.toThrow(); - }); - - it('should throw when the issuer lacks a valid CDD', () => { - const mockIssuer = entityMockUtils.getIdentityInstance({ hasValidCdd: false }); - const auth = new AuthorizationRequest( - { - authId: new BigNumber(1), - target, - issuer: mockIssuer, - expiry, - data, - }, - mockContext - ); - - const expectedError = new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'Issuing Identity does not have a valid CDD claim', - }); - - return expect(assertAuthorizationRequestValid(auth, mockContext)).rejects.toThrowError( - expectedError - ); - }); - - it('should throw when the target is an Identity', () => { - const mockIssuer = entityMockUtils.getIdentityInstance({ hasValidCdd: true }); - const mockTarget = entityMockUtils.getIdentityInstance(); - const auth = new AuthorizationRequest( - { - authId: new BigNumber(1), - target: mockTarget, - issuer: mockIssuer, - expiry, - data, - }, - mockContext - ); - - const expectedError = new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'The target cannot be an Identity', - }); - - return expect(assertAuthorizationRequestValid(auth, mockContext)).rejects.toThrowError( - expectedError - ); - }); - - it('should throw if the target already has an Identity', () => { - const mockIssuer = entityMockUtils.getIdentityInstance({ hasValidCdd: true }); - const mockTarget = entityMockUtils.getAccountInstance({ - getIdentity: entityMockUtils.getIdentityInstance(), - }); - const auth = new AuthorizationRequest( - { - authId: new BigNumber(1), - target: mockTarget, - issuer: mockIssuer, - expiry, - data, - }, - mockContext - ); - - const expectedError = new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'The target Account already has an associated Identity', - }); - - return expect(assertAuthorizationRequestValid(auth, mockContext)).rejects.toThrowError( - expectedError - ); - }); - }); - - describe('assertAddRelayerPayingKeyAuthorizationValid', () => { - const allowance = new BigNumber(100); - it('should not throw with a valid request', () => { - const subsidizer = entityMockUtils.getAccountInstance({ - getIdentity: entityMockUtils.getIdentityInstance({ hasValidCdd: true }), - }); - const beneficiary = entityMockUtils.getAccountInstance({ getIdentity: target }); - - const subsidy = { - beneficiary, - subsidizer, - allowance, - remaining: allowance, - }; - const data: Authorization = { - type: AuthorizationType.AddRelayerPayingKey, - value: subsidy, - }; - - const auth = new AuthorizationRequest( - { - authId: new BigNumber(1), - target, - issuer, - expiry, - data, - }, - mockContext - ); - - return expect(assertAuthorizationRequestValid(auth, mockContext)).resolves.not.toThrow(); - }); - - it('should throw with a beneficiary that does not have a CDD Claim', () => { - const subsidizer = entityMockUtils.getAccountInstance({ - getIdentity: entityMockUtils.getIdentityInstance(), - }); - const beneficiary = entityMockUtils.getAccountInstance({ - getIdentity: entityMockUtils.getIdentityInstance({ hasValidCdd: false }), - }); - - const subsidy = { - beneficiary, - subsidizer, - allowance, - remaining: allowance, - }; - const data: Authorization = { - type: AuthorizationType.AddRelayerPayingKey, - value: subsidy, - }; - const auth = new AuthorizationRequest( - { - authId: new BigNumber(1), - target, - issuer, - expiry, - data, - }, - mockContext - ); - - const expectedError = new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'Beneficiary Account does not have a valid CDD Claim', - }); - - return expect(assertAuthorizationRequestValid(auth, mockContext)).rejects.toThrowError( - expectedError - ); - }); - - it('should throw with a Subsidizer that does not have a CDD Claim', () => { - const beneficiary = entityMockUtils.getAccountInstance({ - getIdentity: entityMockUtils.getIdentityInstance({ hasValidCdd: true }), - }); - // getIdentityInstance modifies the prototype, which prevents two mocks from returning different values - const subsidizer = { - getIdentity: () => { - return { hasValidCdd: (): boolean => false }; - }, - } as unknown as Account; - - const subsidy = { - beneficiary, - subsidizer, - allowance, - remaining: allowance, - }; - const data: Authorization = { - type: AuthorizationType.AddRelayerPayingKey, - value: subsidy, - }; - const auth = new AuthorizationRequest( - { - authId: new BigNumber(1), - target, - issuer, - expiry, - data, - }, - mockContext - ); - - const expectedError = new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'Subsidizer Account does not have a valid CDD Claim', - }); - - return expect(assertAuthorizationRequestValid(auth, mockContext)).rejects.toThrowError( - expectedError - ); - }); - - it('should throw with a beneficiary that does not have an Identity', () => { - const subsidizer = entityMockUtils.getAccountInstance({ - getIdentity: entityMockUtils.getIdentityInstance({ hasValidCdd: false }), - }); - const beneficiary = entityMockUtils.getAccountInstance({ getIdentity: null }); - - const subsidy = { - beneficiary, - subsidizer, - allowance, - remaining: allowance, - }; - const data: Authorization = { - type: AuthorizationType.AddRelayerPayingKey, - value: subsidy, - }; - const auth = new AuthorizationRequest( - { - authId: new BigNumber(1), - target, - issuer, - expiry, - data, - }, - mockContext - ); - const expectedError = new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'Beneficiary Account does not have an Identity', - }); - - return expect(assertAuthorizationRequestValid(auth, mockContext)).rejects.toThrowError( - expectedError - ); - }); - - it('should throw with a Subsidizer that does not have an Identity', () => { - const beneficiary = entityMockUtils.getAccountInstance({ - getIdentity: entityMockUtils.getIdentityInstance({ hasValidCdd: true }), - }); - // getIdentityInstance modifies the prototype, which prevents two mocks from returning different values - const subsidizer = { - getIdentity: () => null, - } as unknown as Account; - - const subsidy = { - beneficiary, - subsidizer, - allowance, - remaining: allowance, - }; - const data: Authorization = { - type: AuthorizationType.AddRelayerPayingKey, - value: subsidy, - }; - const auth = new AuthorizationRequest( - { - authId: new BigNumber(1), - target, - issuer, - expiry, - data, - }, - mockContext - ); - - const expectedError = new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'Subsidizer Account does not have an Identity', - }); - - return expect(assertAuthorizationRequestValid(auth, mockContext)).rejects.toThrowError( - expectedError - ); - }); - }); - - describe('assertMultiSigSignerAuthorizationValid', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should not throw with a valid request', () => { - const auth = new AuthorizationRequest( - { - authId: new BigNumber(1), - target, - issuer, - expiry, - data: { - type: AuthorizationType.AddMultiSigSigner, - value: 'multisigAddress', - }, - }, - mockContext - ); - - return expect(assertAuthorizationRequestValid(auth, mockContext)).resolves.not.toThrow(); - }); - - it('should throw if the multisig is being added as its own signer', () => { - const address = 'multiSigAddress'; - - const badTarget = entityMockUtils.getAccountInstance({ - address, - getIdentity: null, - }); - const auth = new AuthorizationRequest( - { - authId: new BigNumber(1), - target: badTarget, - issuer, - expiry, - data: { - type: AuthorizationType.AddMultiSigSigner, - value: address, - }, - }, - mockContext - ); - - const expectedError = new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'A multisig cannot be its own signer', - }); - - return expect(assertAuthorizationRequestValid(auth, mockContext)).rejects.toThrowError( - expectedError - ); - }); - - it('should throw if the target Account is already associated to an Identity', () => { - const auth = new AuthorizationRequest( - { - authId: new BigNumber(1), - target: entityMockUtils.getAccountInstance(), - issuer, - expiry, - data: { - type: AuthorizationType.AddMultiSigSigner, - value: 'address', - }, - }, - mockContext - ); - - dsMockUtils - .createQueryMock('identity', 'keyRecords') - .mockResolvedValue( - dsMockUtils.createMockOption( - dsMockUtils.createMockKeyRecord({ PrimaryKey: createMockIdentityId('someDid') }) - ) - ); - - const expectedError = new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'The target Account is already part of an Identity', - }); - - return expect(assertAuthorizationRequestValid(auth, mockContext)).rejects.toThrowError( - expectedError - ); - }); - - it('should throw if the target Account is already associated to a multisig', () => { - const auth = new AuthorizationRequest( - { - authId: new BigNumber(1), - target: entityMockUtils.getAccountInstance({ getIdentity: null }), - issuer, - expiry, - data: { - type: AuthorizationType.AddMultiSigSigner, - value: 'address', - }, - }, - mockContext - ); - - dsMockUtils.createQueryMock('identity', 'keyRecords').mockReturnValue( - dsMockUtils.createMockOption( - dsMockUtils.createMockKeyRecord({ - MultiSigSignerKey: createMockAccountId('someAddress'), - }) - ) - ); - - const expectedError = new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'The target Account is already associated to a multisig address', - }); - - return expect(assertAuthorizationRequestValid(auth, mockContext)).rejects.toThrow( - expectedError - ); - }); - }); - - describe('assertRotatePrimaryKeyToSecondaryAuthorization', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - const permissions = { - assets: null, - transactions: null, - transactionGroups: [], - portfolios: null, - }; - const data: Authorization = { - type: AuthorizationType.RotatePrimaryKeyToSecondary, - value: permissions, - }; - - it('should not throw with a valid request', () => { - const validTarget = entityMockUtils.getAccountInstance({ getIdentity: null }); - const auth = new AuthorizationRequest( - { - authId: new BigNumber(1), - target: validTarget, - issuer, - expiry, - data, - }, - mockContext - ); - - return expect(assertAuthorizationRequestValid(auth, mockContext)).resolves.not.toThrow(); - }); - - it('should throw when the issuer lacks a valid CDD', () => { - const noCddIssuer = entityMockUtils.getIdentityInstance({ hasValidCdd: false }); - const auth = new AuthorizationRequest( - { - authId: new BigNumber(1), - target, - issuer: noCddIssuer, - expiry, - data, - }, - mockContext - ); - - const expectedError = new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'Issuing Identity does not have a valid CDD claim', - }); - - return expect(assertAuthorizationRequestValid(auth, mockContext)).rejects.toThrowError( - expectedError - ); - }); - - it('should throw when the target is an Identity', () => { - const mockIssuer = entityMockUtils.getIdentityInstance({ hasValidCdd: true }); - const identityTarget = entityMockUtils.getIdentityInstance(); - const auth = new AuthorizationRequest( - { - authId: new BigNumber(1), - target: identityTarget, - issuer: mockIssuer, - expiry, - data, - }, - mockContext - ); - - const expectedError = new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'The target cannot be an Identity', - }); - - return expect(assertAuthorizationRequestValid(auth, mockContext)).rejects.toThrowError( - expectedError - ); - }); - - it('should throw if the target already has an Identity', () => { - const mockIssuer = entityMockUtils.getIdentityInstance({ hasValidCdd: true }); - const unavailableTarget = entityMockUtils.getAccountInstance({ - getIdentity: entityMockUtils.getIdentityInstance(), - }); - const auth = new AuthorizationRequest( - { - authId: new BigNumber(1), - target: unavailableTarget, - issuer: mockIssuer, - expiry, - data, - }, - mockContext - ); - - const expectedError = new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'The target Account already has an associated Identity', - }); - - return expect(assertAuthorizationRequestValid(auth, mockContext)).rejects.toThrowError( - expectedError - ); - }); - }); - - describe('unreachable code', () => { - it('should throw an error with an any assertion', () => { - const expectedError = new UnreachableCaseError({ type: 'FAKE_TYPE' } as never); - return expect( - assertAuthorizationRequestValid( - { - data: { type: 'FAKE_TYPE' }, - isExpired: () => false, - exists: () => true, - } as never, - mockContext - ) - ).rejects.toThrowError(expectedError); - }); - }); -}); - -describe('Unreachable error case', () => { - it('should throw error if called via type assertion', () => { - const message = 'Should never happen' as never; - const error = new UnreachableCaseError(message); - expect(error.message).toEqual(`Unreachable case: "${message}"`); - }); -}); - -describe('createAuthorizationResolver', () => { - let mockContext: Mocked; - - beforeAll(() => { - dsMockUtils.initMocks(); - entityMockUtils.initMocks(); - }); - - beforeEach(() => { - mockContext = dsMockUtils.getContextInstance(); - }); - - afterEach(() => { - dsMockUtils.reset(); - entityMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - const filterRecords = (): unknown => [ - { event: { data: [undefined, undefined, undefined, '3', undefined] } }, - ]; - - it('should return a function that creates an AuthorizationRequest', () => { - const authData: Authorization = { - type: AuthorizationType.RotatePrimaryKey, - }; - - const resolver = createAuthorizationResolver( - authData, - entityMockUtils.getIdentityInstance(), - entityMockUtils.getIdentityInstance(), - null, - mockContext - ); - const authRequest = resolver({ - filterRecords, - } as unknown as ISubmittableResult); - expect(authRequest.authId).toEqual(new BigNumber(3)); - }); -}); - -describe('createCreateGroupResolver', () => { - const agId = new BigNumber(1); - const ticker = 'SOME_TICKER'; - - let rawAgId: u64; - let rawTicker: PolymeshPrimitivesTicker; - - let mockContext: Mocked; - - beforeAll(() => { - dsMockUtils.initMocks(); - entityMockUtils.initMocks(); - }); - - beforeEach(() => { - mockContext = dsMockUtils.getContextInstance(); - - rawAgId = dsMockUtils.createMockU64(agId); - rawTicker = dsMockUtils.createMockTicker(ticker); - }); - - afterEach(() => { - dsMockUtils.reset(); - entityMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should return the new CustomPermissionGroup', () => { - const filterRecords = (): unknown => [{ event: { data: ['someDid', rawTicker, rawAgId] } }]; - - const resolver = createCreateGroupResolver(mockContext); - const result = resolver({ - filterRecords, - } as unknown as ISubmittableResult); - - expect(result.id).toEqual(agId); - expect(result.asset.ticker).toEqual(ticker); - }); -}); - -describe('assertGroupNotExists', () => { - beforeAll(() => { - entityMockUtils.initMocks(); - dsMockUtils.initMocks(); - }); - - it('should throw an error if there already exists a group for the asset with exactly the same permissions as the ones passed', async () => { - const ticker = 'SOME_TICKER'; - - const transactions = { - type: PermissionType.Include, - values: [TxTags.sto.Invest, TxTags.asset.CreateAsset], - }; - const customId = new BigNumber(1); - - let asset = entityMockUtils.getFungibleAssetInstance({ - ticker, - permissionsGetGroups: { - custom: [ - entityMockUtils.getCustomPermissionGroupInstance({ - ticker, - id: customId, - getPermissions: { - transactions, - transactionGroups: [], - }, - }), - ], - known: [], - }, - }); - - let error; - - try { - await assertGroupDoesNotExist(asset, transactions); - } catch (err) { - error = err; - } - - expect(error.message).toBe('There already exists a group with the exact same permissions'); - expect(error.data.groupId).toEqual(customId); - - asset = entityMockUtils.getFungibleAssetInstance({ - ticker, - permissionsGetGroups: { - custom: [], - known: [ - entityMockUtils.getKnownPermissionGroupInstance({ - ticker, - type: PermissionGroupType.Full, - getPermissions: { - transactions: null, - transactionGroups: [], - }, - }), - ], - }, - }); - - error = undefined; - - try { - await assertGroupDoesNotExist(asset, null); - } catch (err) { - error = err; - } - - expect(error.message).toBe('There already exists a group with the exact same permissions'); - expect(error.data.groupId).toEqual(PermissionGroupType.Full); - - error = undefined; - - try { - await assertGroupDoesNotExist(asset, { - type: PermissionType.Include, - values: [TxTags.asset.AcceptAssetOwnershipTransfer], - }); - } catch (err) { - error = err; - } - - expect(error).toBeUndefined(); - }); -}); - -describe('getGroupFromPermissions', () => { - const ticker = 'SOME_TICKER'; - - const transactions = { - type: PermissionType.Include, - values: [TxTags.sto.Invest, TxTags.asset.CreateAsset], - }; - const customId = new BigNumber(1); - - let asset: FungibleAsset; - - beforeAll(() => { - entityMockUtils.initMocks(); - dsMockUtils.initMocks(); - }); - - beforeEach(() => { - asset = entityMockUtils.getFungibleAssetInstance({ - ticker, - permissionsGetGroups: { - custom: [ - entityMockUtils.getCustomPermissionGroupInstance({ - ticker, - id: customId, - getPermissions: { - transactions, - transactionGroups: [], - }, - }), - ], - known: [], - }, - }); - }); - - it('should return a Permission Group if there is one with the same permissions', async () => { - const result = (await getGroupFromPermissions(asset, transactions)) as CustomPermissionGroup; - - expect(result.id).toEqual(customId); - }); - - it('should return undefined if there is no group with the passed permissions', async () => { - const result = await getGroupFromPermissions(asset, { - type: PermissionType.Exclude, - values: [TxTags.authorship.SetUncles], - }); - - expect(result).toBeUndefined(); - }); -}); diff --git a/src/api/procedures/__tests__/waivePermissions.ts b/src/api/procedures/__tests__/waivePermissions.ts deleted file mode 100644 index 8caf213721..0000000000 --- a/src/api/procedures/__tests__/waivePermissions.ts +++ /dev/null @@ -1,174 +0,0 @@ -import { - getAuthorization, - Params, - prepareStorage, - prepareWaivePermissions, - Storage, -} from '~/api/procedures/waivePermissions'; -import { Context } from '~/internal'; -import { dsMockUtils, entityMockUtils, procedureMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { RoleType, TxTags } from '~/types'; -import { PolymeshTx } from '~/types/internal'; -import * as utilsConversionModule from '~/utils/conversion'; - -jest.mock( - '~/api/entities/Asset/Fungible', - require('~/testUtils/mocks/entities').mockFungibleAssetModule('~/api/entities/Asset/Fungible') -); - -describe('waivePermissions procedure', () => { - const ticker = 'SOME_TICKER'; - const did = 'someDid'; - const rawTicker = dsMockUtils.createMockTicker(ticker); - - let mockContext: Mocked; - let externalAgentsAbdicateTransaction: PolymeshTx; - - beforeAll(() => { - entityMockUtils.initMocks(); - dsMockUtils.initMocks(); - procedureMockUtils.initMocks(); - - jest.spyOn(utilsConversionModule, 'stringToTicker').mockReturnValue(rawTicker); - }); - - beforeEach(() => { - externalAgentsAbdicateTransaction = dsMockUtils.createTxMock('externalAgents', 'abdicate'); - mockContext = dsMockUtils.getContextInstance(); - }); - - afterEach(() => { - entityMockUtils.reset(); - procedureMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - procedureMockUtils.cleanup(); - dsMockUtils.cleanup(); - }); - - it('should throw an error if the Identity is not an Agent for the Asset', async () => { - const asset = entityMockUtils.getFungibleAssetInstance({ - ticker, - permissionsGetAgents: [ - { - group: entityMockUtils.getKnownPermissionGroupInstance(), - agent: entityMockUtils.getIdentityInstance({ - did: 'aDifferentDid', - isEqual: false, - }), - }, - { - group: entityMockUtils.getKnownPermissionGroupInstance(), - agent: entityMockUtils.getIdentityInstance({ - did: 'anotherDifferentDid', - isEqual: false, - }), - }, - ], - }); - - const proc = procedureMockUtils.getInstance(mockContext, { - asset, - }); - - let error; - - try { - await prepareWaivePermissions.call(proc, { - asset, - identity: entityMockUtils.getIdentityInstance({ - did, - }), - }); - } catch (err) { - error = err; - } - - expect(error.message).toBe('The Identity is not an Agent for the Asset'); - }); - - it('should return an abdicate transaction spec', async () => { - const asset = entityMockUtils.getFungibleAssetInstance({ - ticker, - permissionsGetAgents: [ - { - group: entityMockUtils.getKnownPermissionGroupInstance(), - agent: entityMockUtils.getIdentityInstance({ - did, - }), - }, - ], - }); - - const proc = procedureMockUtils.getInstance(mockContext, { - asset, - }); - - const result = await prepareWaivePermissions.call(proc, { - asset, - identity: entityMockUtils.getIdentityInstance({ - did, - }), - }); - - expect(result).toEqual({ - transaction: externalAgentsAbdicateTransaction, - args: [rawTicker], - resolver: undefined, - }); - }); - - describe('prepareStorage', () => { - it('should return the Asset', () => { - const asset = entityMockUtils.getFungibleAssetInstance({ - ticker, - }); - - const proc = procedureMockUtils.getInstance(mockContext); - const boundFunc = prepareStorage.bind(proc); - - const result = boundFunc({ - identity: entityMockUtils.getIdentityInstance({ - did, - }), - asset, - }); - - expect(result).toEqual({ - asset, - }); - }); - }); - - describe('getAuthorization', () => { - it('should return the appropriate roles and permissions', () => { - const asset = entityMockUtils.getFungibleAssetInstance({ - ticker, - }); - - const proc = procedureMockUtils.getInstance(mockContext, { - asset, - }); - const boundFunc = getAuthorization.bind(proc); - - expect( - boundFunc({ - identity: entityMockUtils.getIdentityInstance({ - did, - }), - asset, - }) - ).toEqual({ - signerPermissions: { - transactions: [TxTags.externalAgents.Abdicate], - assets: [expect.objectContaining({ ticker })], - portfolios: [], - }, - roles: [{ type: RoleType.Identity, did }], - }); - }); - }); -}); diff --git a/src/api/procedures/acceptPrimaryKeyRotation.ts b/src/api/procedures/acceptPrimaryKeyRotation.ts deleted file mode 100644 index 1172bb2428..0000000000 --- a/src/api/procedures/acceptPrimaryKeyRotation.ts +++ /dev/null @@ -1,115 +0,0 @@ -import BigNumber from 'bignumber.js'; - -import { assertAuthorizationRequestValid } from '~/api/procedures/utils'; -import { AuthorizationRequest, Procedure } from '~/internal'; -import { AcceptPrimaryKeyRotationParams, AuthorizationType } from '~/types'; -import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; -import { bigNumberToU64 } from '~/utils/conversion'; -import { optionize } from '~/utils/internal'; - -/** - * @hidden - */ -export interface Storage { - calledByTarget: boolean; - ownerAuthRequest: AuthorizationRequest; - cddAuthRequest?: AuthorizationRequest; -} - -/** - * @hidden - */ -export async function prepareAcceptPrimaryKeyRotation( - this: Procedure -): Promise>> { - const { - context: { - polymeshApi: { - tx: { identity }, - }, - }, - storage: { ownerAuthRequest, cddAuthRequest }, - context, - } = this; - - const validationPromises = [assertAuthorizationRequestValid(ownerAuthRequest, context)]; - if (cddAuthRequest) { - validationPromises.push(assertAuthorizationRequestValid(cddAuthRequest, context)); - } - - await Promise.all(validationPromises); - - const { authId: ownerAuthId, issuer } = ownerAuthRequest; - return { - transaction: identity.acceptPrimaryKey, - paidForBy: issuer, - args: [ - bigNumberToU64(ownerAuthId, context), - optionize(bigNumberToU64)(cddAuthRequest?.authId, context), - ], - resolver: undefined, - }; -} - -/** - * @hidden - */ -export async function getAuthorization( - this: Procedure -): Promise { - const { - storage: { calledByTarget }, - } = this; - - return { - roles: - calledByTarget || - `"${AuthorizationType.RotatePrimaryKey}" Authorization Requests must be accepted by the target Account`, - }; -} - -/** - * @hidden - */ -export async function prepareStorage( - this: Procedure, - { ownerAuth, cddAuth }: AcceptPrimaryKeyRotationParams -): Promise { - const { context } = this; - - const signingAccount = context.getSigningAccount(); - - const getAuthRequest = async ( - auth: BigNumber | AuthorizationRequest - ): Promise => { - if (auth && auth instanceof BigNumber) { - return signingAccount.authorizations.getOne({ id: auth }); - } - return auth; - }; - - const ownerAuthRequest = await getAuthRequest(ownerAuth); - - let calledByTarget = signingAccount.isEqual(ownerAuthRequest.target); - - let cddAuthRequest; - if (cddAuth) { - cddAuthRequest = await getAuthRequest(cddAuth); - calledByTarget = calledByTarget && signingAccount.isEqual(cddAuthRequest.target); - } - - return { - calledByTarget, - ownerAuthRequest, - cddAuthRequest, - }; -} - -/** - * @hidden - */ -export const acceptPrimaryKeyRotation = (): Procedure< - AcceptPrimaryKeyRotationParams, - void, - Storage -> => new Procedure(prepareAcceptPrimaryKeyRotation, getAuthorization, prepareStorage); diff --git a/src/api/procedures/addAssetMediators.ts b/src/api/procedures/addAssetMediators.ts deleted file mode 100644 index 07a21b1ded..0000000000 --- a/src/api/procedures/addAssetMediators.ts +++ /dev/null @@ -1,88 +0,0 @@ -import { BaseAsset, PolymeshError, Procedure } from '~/internal'; -import { AssetMediatorParams, ErrorCode, TxTags } from '~/types'; -import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; -import { MAX_ASSET_MEDIATORS } from '~/utils/constants'; -import { identitiesToBtreeSet, stringToTicker } from '~/utils/conversion'; -import { asIdentity, assertIdentityExists } from '~/utils/internal'; -/** - * @hidden - */ -export type Params = { asset: BaseAsset } & AssetMediatorParams; - -/** - * @hidden - */ -export async function prepareAddAssetMediators( - this: Procedure, - args: Params -): Promise>> { - const { - context: { - polymeshApi: { tx }, - }, - context, - } = this; - - const { - asset, - asset: { ticker }, - mediators: mediatorInput, - } = args; - - const currentMediators = await asset.getRequiredMediators(); - - const newMediators = mediatorInput.map(mediator => asIdentity(mediator, context)); - - const mediatorsExistAsserts = newMediators.map(mediator => assertIdentityExists(mediator)); - await Promise.all(mediatorsExistAsserts); - - newMediators.forEach(({ did: newDid }) => { - const alreadySetDid = currentMediators.find(({ did: currentDid }) => currentDid === newDid); - - if (alreadySetDid) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'One of the specified mediators is already set', - data: { ticker, did: alreadySetDid.did }, - }); - } - }); - - const newMediatorCount = currentMediators.length + newMediators.length; - - if (newMediatorCount > MAX_ASSET_MEDIATORS) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: `At most ${MAX_ASSET_MEDIATORS} are allowed`, - data: { newMediatorCount }, - }); - } - - const rawNewMediators = identitiesToBtreeSet(newMediators, context); - const rawTicker = stringToTicker(ticker, context); - - return { - transaction: tx.asset.addMandatoryMediators, - args: [rawTicker, rawNewMediators], - resolver: undefined, - }; -} - -/** - * @hidden - */ -export function getAuthorization(this: Procedure, args: Params): ProcedureAuthorization { - return { - permissions: { - transactions: [TxTags.asset.AddMandatoryMediators], - portfolios: [], - assets: [args.asset], - }, - }; -} - -/** - * @hidden - */ -export const addAssetMediators = (): Procedure => - new Procedure(prepareAddAssetMediators, getAuthorization); diff --git a/src/api/procedures/addAssetRequirement.ts b/src/api/procedures/addAssetRequirement.ts deleted file mode 100644 index 2263f2b697..0000000000 --- a/src/api/procedures/addAssetRequirement.ts +++ /dev/null @@ -1,95 +0,0 @@ -import BigNumber from 'bignumber.js'; -import { flatten, map } from 'lodash'; - -import { assertRequirementsNotTooComplex } from '~/api/procedures/utils'; -import { BaseAsset, PolymeshError, Procedure } from '~/internal'; -import { AddAssetRequirementParams, ErrorCode, TxTags } from '~/types'; -import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; -import { requirementToComplianceRequirement, stringToTicker } from '~/utils/conversion'; -import { conditionsAreEqual, hasSameElements } from '~/utils/internal'; - -/** - * @hidden - */ -export type Params = AddAssetRequirementParams & { - ticker: string; -}; - -/** - * @hidden - */ -export async function prepareAddAssetRequirement( - this: Procedure, - args: Params -): Promise< - TransactionSpec> -> { - const { - context: { - polymeshApi: { tx }, - }, - context, - } = this; - const { ticker, conditions } = args; - - const rawTicker = stringToTicker(ticker, context); - - const asset = new BaseAsset({ ticker }, context); - - const { requirements: currentRequirements, defaultTrustedClaimIssuers } = - await asset.compliance.requirements.get(); - - const currentConditions = map(currentRequirements, 'conditions'); - - // if the new requirement has the same conditions as any existing one, we throw an error - if ( - currentConditions.some(requirementConditions => - hasSameElements(requirementConditions, conditions, conditionsAreEqual) - ) - ) { - throw new PolymeshError({ - code: ErrorCode.NoDataChange, - message: 'There already exists a Requirement with the same conditions for this Asset', - }); - } - - // check that the new requirement won't cause the current ones to exceed the max complexity - assertRequirementsNotTooComplex( - [...flatten(currentConditions), ...conditions], - new BigNumber(defaultTrustedClaimIssuers.length), - context - ); - - const { senderConditions, receiverConditions } = requirementToComplianceRequirement( - { conditions, id: new BigNumber(1) }, - context - ); - - return { - transaction: tx.complianceManager.addComplianceRequirement, - args: [rawTicker, senderConditions, receiverConditions], - resolver: undefined, - }; -} - -/** - * @hidden - */ -export function getAuthorization( - this: Procedure, - { ticker }: Params -): ProcedureAuthorization { - return { - permissions: { - transactions: [TxTags.complianceManager.AddComplianceRequirement], - assets: [new BaseAsset({ ticker }, this.context)], - portfolios: [], - }, - }; -} - -/** - * @hidden - */ -export const addAssetRequirement = (): Procedure => - new Procedure(prepareAddAssetRequirement, getAuthorization); diff --git a/src/api/procedures/addAssetStat.ts b/src/api/procedures/addAssetStat.ts deleted file mode 100644 index cc9e595c6d..0000000000 --- a/src/api/procedures/addAssetStat.ts +++ /dev/null @@ -1,109 +0,0 @@ -import { FungibleAsset, PolymeshError, Procedure } from '~/internal'; -import { AddAssetStatParams, ErrorCode, StatType, TxTags } from '~/types'; -import { BatchTransactionSpec, ProcedureAuthorization } from '~/types/internal'; -import { - claimCountStatInputToStatUpdates, - claimIssuerToMeshClaimIssuer, - countStatInputToStatUpdates, - statisticsOpTypeToStatType, - statisticStatTypesToBtreeStatType, - statTypeToStatOpType, - stringToTickerKey, -} from '~/utils/conversion'; -import { checkTxType, compareStatsToInput } from '~/utils/internal'; - -/** - * @hidden - */ -export async function prepareAddAssetStat( - this: Procedure, - args: AddAssetStatParams -): Promise> { - const { - context: { - polymeshApi: { - query: { statistics: statisticsQuery }, - tx: { statistics }, - }, - }, - context, - } = this; - const { ticker, type } = args; - - const tickerKey = stringToTickerKey(ticker, context); - const currentStats = await statisticsQuery.activeAssetStats(tickerKey); - const needStat = ![...currentStats].find(s => compareStatsToInput(s, args)); - - if (!needStat) { - throw new PolymeshError({ - code: ErrorCode.NoDataChange, - message: 'Stat is already enabled', - }); - } - - const op = statTypeToStatOpType(type, context); - - const transactions = []; - - let rawClaimIssuer; - if (type === StatType.ScopedCount || type === StatType.ScopedBalance) { - rawClaimIssuer = claimIssuerToMeshClaimIssuer(args, context); - } - - const newStat = statisticsOpTypeToStatType({ op, claimIssuer: rawClaimIssuer }, context); - const newStats = statisticStatTypesToBtreeStatType([...currentStats, newStat], context); - transactions.push( - checkTxType({ - transaction: statistics.setActiveAssetStats, - args: [tickerKey, newStats], - }) - ); - - // Count stats need the user to provide the initial value for the counter as computing may cause prohibitive gas charges on the chain - // We require users to provide initial stats in this method so they won't miss setting initial values. It could be its own step - if (args.type === StatType.Count) { - const statValue = countStatInputToStatUpdates(args, context); - transactions.push( - checkTxType({ - transaction: statistics.batchUpdateAssetStats, - args: [tickerKey, newStat, statValue], - }) - ); - } else if (args.type === StatType.ScopedCount) { - const statValue = claimCountStatInputToStatUpdates(args, context); - transactions.push( - checkTxType({ - transaction: statistics.batchUpdateAssetStats, - args: [tickerKey, newStat, statValue], - }) - ); - } - return { transactions, resolver: undefined }; -} - -/** - * @hidden - */ -export function getAuthorization( - this: Procedure, - { type, ticker }: AddAssetStatParams -): ProcedureAuthorization { - const transactions = [TxTags.statistics.SetActiveAssetStats]; - if (type === StatType.Count || type === StatType.ScopedCount) { - transactions.push(TxTags.statistics.BatchUpdateAssetStats); - } - const asset = new FungibleAsset({ ticker }, this.context); - return { - permissions: { - transactions, - assets: [asset], - portfolios: [], - }, - }; -} - -/** - * @hidden - */ -export const addAssetStat = (): Procedure => - new Procedure(prepareAddAssetStat, getAuthorization); diff --git a/src/api/procedures/addConfidentialTransaction.ts b/src/api/procedures/addConfidentialTransaction.ts index bfa1a789a6..53d26ff241 100644 --- a/src/api/procedures/addConfidentialTransaction.ts +++ b/src/api/procedures/addConfidentialTransaction.ts @@ -4,6 +4,20 @@ import { PolymeshPrimitivesMemo, } from '@polkadot/types/lookup'; import { ISubmittableResult } from '@polkadot/types/types'; +import { ErrorCode } from '@polymeshassociation/polymesh-sdk/types'; +import { BatchTransactionSpec } from '@polymeshassociation/polymesh-sdk/types/internal'; +import { + bigNumberToU64, + identitiesToBtreeSet, + stringToMemo, +} from '@polymeshassociation/polymesh-sdk/utils/conversion'; +import { + asIdentity, + assembleBatchTransactions, + assertIdentityExists, + filterEventRecords, + optionize, +} from '@polymeshassociation/polymesh-sdk/utils/internal'; import BigNumber from 'bignumber.js'; import { @@ -11,36 +25,25 @@ import { assertConfidentialAssetExists, assertConfidentialAssetsEnabledForVenue, assertConfidentialVenueExists, - assertIdentityExists, } from '~/api/procedures/utils'; -import { ConfidentialTransaction, Context, PolymeshError, Procedure } from '~/internal'; +import { ConfidentialProcedure } from '~/base/ConfidentialProcedure'; +import { ConfidentialTransaction, Context, PolymeshError } from '~/internal'; import { AddConfidentialTransactionParams, AddConfidentialTransactionsParams, ConfidentialAssetTx, - ErrorCode, + ConfidentialProcedureAuthorization, RoleType, } from '~/types'; -import { BatchTransactionSpec, ProcedureAuthorization } from '~/types/internal'; import { MAX_LEGS_LENGTH } from '~/utils/constants'; import { auditorsToBtreeSet, - bigNumberToU64, confidentialAccountToMeshPublicKey, confidentialAssetsToBtreeSet, confidentialLegToMeshLeg, confidentialTransactionIdToBigNumber, - identitiesToBtreeSet, - stringToMemo, } from '~/utils/conversion'; -import { - asConfidentialAccount, - asConfidentialAsset, - asIdentity, - assembleBatchTransactions, - filterEventRecords, - optionize, -} from '~/utils/internal'; +import { asConfidentialAccount, asConfidentialAsset } from '~/utils/internal'; /** * @hidden @@ -196,7 +199,7 @@ async function getTxArgsAndErrors( * @hidden */ export async function prepareAddTransaction( - this: Procedure, + this: ConfidentialProcedure, args: Params ): Promise> { const { @@ -286,9 +289,9 @@ export async function prepareAddTransaction( * @hidden */ export async function getAuthorization( - this: Procedure, + this: ConfidentialProcedure, { venueId }: Params -): Promise { +): Promise { return { roles: [{ type: RoleType.ConfidentialVenueOwner, venueId }], permissions: { @@ -302,5 +305,7 @@ export async function getAuthorization( /** * @hidden */ -export const addConfidentialTransaction = (): Procedure => - new Procedure(prepareAddTransaction, getAuthorization); +export const addConfidentialTransaction = (): ConfidentialProcedure< + Params, + ConfidentialTransaction[] +> => new ConfidentialProcedure(prepareAddTransaction, getAuthorization); diff --git a/src/api/procedures/addInstruction.ts b/src/api/procedures/addInstruction.ts deleted file mode 100644 index 998361173e..0000000000 --- a/src/api/procedures/addInstruction.ts +++ /dev/null @@ -1,626 +0,0 @@ -import { BTreeSet, u64 } from '@polkadot/types'; -import { - PolymeshPrimitivesIdentityId, - PolymeshPrimitivesIdentityIdPortfolioId, - PolymeshPrimitivesMemo, - PolymeshPrimitivesSettlementLeg, - PolymeshPrimitivesSettlementSettlementType, -} from '@polkadot/types/lookup'; -import { ISubmittableResult } from '@polkadot/types/types'; -import BigNumber from 'bignumber.js'; -import P from 'bluebird'; -import { flatten, isEqual, union, unionWith } from 'lodash'; - -import { assertPortfolioExists, assertVenueExists } from '~/api/procedures/utils'; -import { - Context, - DefaultPortfolio, - Instruction, - NumberedPortfolio, - PolymeshError, - Procedure, -} from '~/internal'; -import { - AddInstructionParams, - AddInstructionsParams, - ErrorCode, - InstructionEndCondition, - InstructionFungibleLeg, - InstructionLeg, - InstructionNftLeg, - InstructionType, - RoleType, - SettlementTx, - TxTags, -} from '~/types'; -import { BatchTransactionSpec, ProcedureAuthorization } from '~/types/internal'; -import { isFungibleLegBuilder, isNftLegBuilder } from '~/utils'; -import { MAX_LEGS_LENGTH } from '~/utils/constants'; -import { - bigNumberToBalance, - bigNumberToU64, - dateToMoment, - endConditionToSettlementType, - identitiesToBtreeSet, - legToFungibleLeg, - legToNonFungibleLeg, - nftToMeshNft, - portfolioIdToMeshPortfolioId, - portfolioLikeToPortfolio, - portfolioLikeToPortfolioId, - stringToMemo, - stringToTicker, - u64ToBigNumber, -} from '~/utils/conversion'; -import { - asIdentity, - assembleBatchTransactions, - assertIdentityExists, - asTicker, - filterEventRecords, - optionize, -} from '~/utils/internal'; - -/** - * @hidden - */ -export type Params = AddInstructionsParams & { - venueId: BigNumber; -}; - -/** - * @hidden - */ -export interface Storage { - portfoliosToAffirm: (DefaultPortfolio | NumberedPortfolio)[][]; - /** - * TODO: WithMediator variants are expected in v 6.2. This check is to ensure a smooth transition and can be removed - */ - withMediatorsPresent: boolean; -} - -/** - * @hidden - */ -type InternalAddAndAffirmInstructionParams = [ - u64, - PolymeshPrimitivesSettlementSettlementType, - u64 | null, - u64 | null, - PolymeshPrimitivesSettlementLeg[], - PolymeshPrimitivesIdentityIdPortfolioId[], - PolymeshPrimitivesMemo | null, - BTreeSet -][]; - -/** - * @hidden - */ -type InternalAddInstructionParams = [ - u64, - PolymeshPrimitivesSettlementSettlementType, - u64 | null, - u64 | null, - PolymeshPrimitivesSettlementLeg[], - PolymeshPrimitivesMemo | null, - BTreeSet -][]; - -/** - * @hidden - */ -export const createAddInstructionResolver = - (context: Context) => - (receipt: ISubmittableResult): Instruction[] => { - const events = filterEventRecords(receipt, 'settlement', 'InstructionCreated'); - - const result = events.map( - ({ data }) => new Instruction({ id: u64ToBigNumber(data[2]) }, context) - ); - - return result; - }; - -/** - * @hidden - */ -function getEndCondition( - instruction: AddInstructionParams, - latestBlock: BigNumber, - index: number -): { endCondition: InstructionEndCondition; errorIndex: number | null } { - let endCondition: InstructionEndCondition; - let errorIndex = null; - - if ('endBlock' in instruction && instruction.endBlock) { - const { endBlock } = instruction; - - if (endBlock.lte(latestBlock)) { - errorIndex = index; - } - - endCondition = { type: InstructionType.SettleOnBlock, endBlock }; - } else if ('endAfterBlock' in instruction && instruction.endAfterBlock) { - const { endAfterBlock } = instruction; - - if (endAfterBlock.lte(latestBlock)) { - errorIndex = index; - } - - endCondition = { type: InstructionType.SettleManual, endAfterBlock }; - } else { - endCondition = { type: InstructionType.SettleOnAffirmation }; - } - - return { - endCondition, - errorIndex, - }; -} - -/** - * @hidden - */ -async function separateLegs( - legs: InstructionLeg[], - context: Context -): Promise<{ fungibleLegs: InstructionFungibleLeg[]; nftLegs: InstructionNftLeg[] }> { - const fungibleLegs: InstructionFungibleLeg[] = []; - const nftLegs: InstructionNftLeg[] = []; - - for (const leg of legs) { - const ticker = asTicker(leg.asset); - const [isFungible, isNft] = await Promise.all([ - isFungibleLegBuilder(leg, context), - isNftLegBuilder(leg, context), - ]); - - if (isFungible(leg)) { - if (!('amount' in leg)) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'The key "amount" should be present in a fungible leg', - data: { ticker }, - }); - } - fungibleLegs.push(leg); - } else if (isNft(leg)) { - if (!('nfts' in leg)) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'The key "nfts" should be present in an NFT leg', - data: { ticker }, - }); - } - nftLegs.push(leg); - } - } - - return { fungibleLegs, nftLegs }; -} - -/** - * @hidden - */ -async function getTxArgsAndErrors( - instructions: AddInstructionParams[], - portfoliosToAffirm: (DefaultPortfolio | NumberedPortfolio)[][], - latestBlock: BigNumber, - venueId: BigNumber, - context: Context -): Promise<{ - errIndexes: { - legEmptyErrIndexes: number[]; - legLengthErrIndexes: number[]; - legAmountErrIndexes: number[]; - endBlockErrIndexes: number[]; - datesErrIndexes: number[]; - sameIdentityErrIndexes: number[]; - }; - addAndAffirmInstructionParams: InternalAddAndAffirmInstructionParams; - addInstructionParams: InternalAddInstructionParams; -}> { - const addAndAffirmInstructionParams: InternalAddAndAffirmInstructionParams = []; - const addInstructionParams: InternalAddInstructionParams = []; - - const legEmptyErrIndexes: number[] = []; - const legLengthErrIndexes: number[] = []; - const legAmountErrIndexes: number[] = []; - const endBlockErrIndexes: number[] = []; - const sameIdentityErrIndexes: number[] = []; - /** - * array of indexes of Instructions where the value date is before the trade date - */ - const datesErrIndexes: number[] = []; - - await P.each(instructions, async (instruction, i) => { - const { legs, tradeDate, valueDate, memo, mediators } = instruction; - if (!legs.length) { - legEmptyErrIndexes.push(i); - } - - if (legs.length > MAX_LEGS_LENGTH) { - legLengthErrIndexes.push(i); - } - - const { fungibleLegs, nftLegs } = await separateLegs(legs, context); - - const zeroAmountFungibleLegs = fungibleLegs.filter(leg => leg.amount.isZero()); - if (zeroAmountFungibleLegs.length) { - legAmountErrIndexes.push(i); - } - - const zeroNftsNonFungible = nftLegs.filter(leg => leg.nfts.length === 0); - if (zeroNftsNonFungible.length) { - legAmountErrIndexes.push(i); - } - - const sameIdentityLegs = legs.filter(({ from, to }) => { - const fromId = portfolioLikeToPortfolioId(from); - const toId = portfolioLikeToPortfolioId(to); - return fromId.did === toId.did; - }); - - if (sameIdentityLegs.length) { - sameIdentityErrIndexes.push(i); - } - - const { endCondition, errorIndex } = getEndCondition(instruction, latestBlock, i); - - if (errorIndex !== null) { - endBlockErrIndexes.push(errorIndex); - } - - if (tradeDate && valueDate && tradeDate > valueDate) { - datesErrIndexes.push(i); - } - - if ( - !legEmptyErrIndexes.length && - !legLengthErrIndexes.length && - !legAmountErrIndexes.length && - !endBlockErrIndexes.length && - !datesErrIndexes.length && - !sameIdentityErrIndexes.length - ) { - const rawVenueId = bigNumberToU64(venueId, context); - const rawSettlementType = endConditionToSettlementType(endCondition, context); - const rawTradeDate = optionize(dateToMoment)(tradeDate, context); - const rawValueDate = optionize(dateToMoment)(valueDate, context); - const rawLegs: PolymeshPrimitivesSettlementLeg[] = []; - const rawInstructionMemo = optionize(stringToMemo)(memo, context); - const mediatorIds = mediators?.map(mediator => asIdentity(mediator, context)); - const rawMediators = identitiesToBtreeSet(mediatorIds ?? [], context); - - await Promise.all([ - ...fungibleLegs.map(async ({ from, to, amount, asset }) => { - const fromId = portfolioLikeToPortfolioId(from); - const toId = portfolioLikeToPortfolioId(to); - - await Promise.all([ - assertPortfolioExists(fromId, context), - assertPortfolioExists(toId, context), - ]); - - const rawFromPortfolio = portfolioIdToMeshPortfolioId(fromId, context); - const rawToPortfolio = portfolioIdToMeshPortfolioId(toId, context); - - const rawLeg = legToFungibleLeg( - { - sender: rawFromPortfolio, - receiver: rawToPortfolio, - ticker: stringToTicker(asTicker(asset), context), - amount: bigNumberToBalance(amount, context), - }, - context - ); - - rawLegs.push(rawLeg); - }), - ...nftLegs.map(async ({ from, to, nfts, asset }) => { - const fromId = portfolioLikeToPortfolioId(from); - const toId = portfolioLikeToPortfolioId(to); - - await Promise.all([ - assertPortfolioExists(fromId, context), - assertPortfolioExists(toId, context), - ]); - - const rawFromPortfolio = portfolioIdToMeshPortfolioId(fromId, context); - const rawToPortfolio = portfolioIdToMeshPortfolioId(toId, context); - - const rawLeg = legToNonFungibleLeg( - { - sender: rawFromPortfolio, - receiver: rawToPortfolio, - nfts: nftToMeshNft(asTicker(asset), nfts, context), - }, - context - ); - - rawLegs.push(rawLeg); - }), - ]); - - if (portfoliosToAffirm[i].length) { - addAndAffirmInstructionParams.push([ - rawVenueId, - rawSettlementType, - rawTradeDate, - rawValueDate, - rawLegs, - portfoliosToAffirm[i].map(portfolio => - portfolioIdToMeshPortfolioId(portfolioLikeToPortfolioId(portfolio), context) - ), - rawInstructionMemo, - rawMediators, - ]); - } else { - addInstructionParams.push([ - rawVenueId, - rawSettlementType, - rawTradeDate, - rawValueDate, - rawLegs, - rawInstructionMemo, - rawMediators, - ]); - } - } - }); - - return { - errIndexes: { - legEmptyErrIndexes, - legLengthErrIndexes, - legAmountErrIndexes, - endBlockErrIndexes, - datesErrIndexes, - sameIdentityErrIndexes, - }, - addAndAffirmInstructionParams, - addInstructionParams, - }; -} - -/** - * @hidden - */ -export async function prepareAddInstruction( - this: Procedure, - args: Params -): Promise> { - const { - context: { - polymeshApi: { - tx: { settlement }, - }, - }, - context, - storage: { portfoliosToAffirm, withMediatorsPresent }, - } = this; - const { instructions, venueId } = args; - - const allMediators = instructions.flatMap( - ({ mediators }) => mediators?.map(mediator => asIdentity(mediator, context)) ?? [] - ); - - const [latestBlock] = await Promise.all([ - context.getLatestBlock(), - assertVenueExists(venueId, context), - ...allMediators.map(mediator => assertIdentityExists(mediator)), - ]); - - if (!instructions.length) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'The Instructions array cannot be empty', - }); - } - - const { - errIndexes: { - legEmptyErrIndexes, - legLengthErrIndexes, - legAmountErrIndexes, - endBlockErrIndexes, - datesErrIndexes, - sameIdentityErrIndexes, - }, - addAndAffirmInstructionParams, - addInstructionParams, - } = await getTxArgsAndErrors(instructions, portfoliosToAffirm, latestBlock, venueId, context); - - if (legEmptyErrIndexes.length) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: "The legs array can't be empty", - data: { - failedInstructionIndexes: legEmptyErrIndexes, - }, - }); - } - - if (legAmountErrIndexes.length) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'Instruction legs cannot have zero amount', - data: { - failedInstructionIndexes: legAmountErrIndexes, - }, - }); - } - - if (legLengthErrIndexes.length) { - throw new PolymeshError({ - code: ErrorCode.LimitExceeded, - message: 'The legs array exceeds the maximum allowed length', - data: { - maxLength: MAX_LEGS_LENGTH, - failedInstructionIndexes: legLengthErrIndexes, - }, - }); - } - - if (endBlockErrIndexes.length) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'End block must be a future block', - data: { - failedInstructionIndexes: endBlockErrIndexes, - }, - }); - } - - if (datesErrIndexes.length) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'Value date must be after trade date', - data: { - failedInstructionIndexes: datesErrIndexes, - }, - }); - } - - if (sameIdentityErrIndexes.length) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'Instruction leg cannot transfer Assets between same identity', - data: { - failedInstructionIndexes: sameIdentityErrIndexes, - }, - }); - } - - /** - * After the upgrade is out, the "withMediator" variants are safe to use exclusively - */ - let addTx; - let addAndAffirmTx; - if (withMediatorsPresent) { - addTx = { - transaction: settlement.addInstructionWithMediators, - argsArray: addInstructionParams, - }; - addAndAffirmTx = { - transaction: settlement.addAndAffirmWithMediators, - argsArray: addAndAffirmInstructionParams, - }; - } else { - // remove the "mediators" if calling legacy extrinsics - addTx = { - transaction: settlement.addInstruction, - argsArray: addInstructionParams.map(params => - params.slice(0, -1) - ) as typeof addInstructionParams, - }; - addAndAffirmTx = { - transaction: settlement.addAndAffirmInstruction, - argsArray: addAndAffirmInstructionParams.map(params => - params.slice(0, -1) - ) as typeof addAndAffirmInstructionParams, - }; - } - - const transactions = assembleBatchTransactions([addTx, addAndAffirmTx] as const); - - return { - transactions, - resolver: createAddInstructionResolver(context), - }; -} - -/** - * @hidden - */ -export async function getAuthorization( - this: Procedure, - { venueId }: Params -): Promise { - const { - storage: { portfoliosToAffirm, withMediatorsPresent }, - } = this; - - const addAndAffirmTag = withMediatorsPresent - ? TxTags.settlement.AddAndAffirmWithMediators - : TxTags.settlement.AddAndAffirmInstructionWithMemo; - - const addInstructionTag = withMediatorsPresent - ? TxTags.settlement.AddInstructionWithMediators - : TxTags.settlement.AddInstructionWithMemo; - - let transactions: SettlementTx[] = []; - let portfolios: (DefaultPortfolio | NumberedPortfolio)[] = []; - - portfoliosToAffirm.forEach(portfoliosList => { - transactions = union(transactions, [ - portfoliosList.length ? addAndAffirmTag : addInstructionTag, - ]); - portfolios = unionWith(portfolios, portfoliosList, isEqual); - }); - - return { - roles: [{ type: RoleType.VenueOwner, venueId }], - permissions: { - assets: [], - portfolios, - transactions, - }, - }; -} - -/** - * @hidden - */ -export async function prepareStorage( - this: Procedure, - { instructions }: Params -): Promise { - const { - context, - context: { - polymeshApi: { - tx: { settlement }, - }, - }, - } = this; - - const identity = await context.getSigningIdentity(); - - const portfoliosToAffirm = await P.map(instructions, async ({ legs }) => { - const portfolios = await P.map(legs, async ({ from, to }) => { - const fromPortfolio = portfolioLikeToPortfolio(from, context); - const toPortfolio = portfolioLikeToPortfolio(to, context); - - const result = []; - const [fromCustodied, toCustodied] = await Promise.all([ - fromPortfolio.isCustodiedBy({ identity }), - toPortfolio.isCustodiedBy({ identity }), - ]); - - if (fromCustodied) { - result.push(fromPortfolio); - } - - if (toCustodied) { - result.push(toPortfolio); - } - - return result; - }); - return flatten(portfolios); - }); - - const withMediatorsPresent = - !!settlement.addInstructionWithMediators && !!settlement.addAndAffirmWithMediators; - return { - withMediatorsPresent, - portfoliosToAffirm, - }; -} - -/** - * @hidden - */ -export const addInstruction = (): Procedure => - new Procedure(prepareAddInstruction, getAuthorization, prepareStorage); diff --git a/src/api/procedures/addTransferRestriction.ts b/src/api/procedures/addTransferRestriction.ts deleted file mode 100644 index ed1dbfdc2b..0000000000 --- a/src/api/procedures/addTransferRestriction.ts +++ /dev/null @@ -1,178 +0,0 @@ -import BigNumber from 'bignumber.js'; - -import { FungibleAsset, PolymeshError, Procedure } from '~/internal'; -import { - AddClaimCountTransferRestrictionParams, - AddClaimPercentageTransferRestrictionParams, - AddCountTransferRestrictionParams, - AddPercentageTransferRestrictionParams, - ErrorCode, - TransferRestriction, - TransferRestrictionType, - TxTags, -} from '~/types'; -import { BatchTransactionSpec, ProcedureAuthorization } from '~/types/internal'; -import { - complianceConditionsToBtreeSet, - stringToTickerKey, - toExemptKey, - transferRestrictionToPolymeshTransferCondition, - transferRestrictionTypeToStatOpType, - u32ToBigNumber, -} from '~/utils/conversion'; -import { - assertStatIsSet, - checkTxType, - getExemptedBtreeSet, - neededStatTypeForRestrictionInput, - requestMulti, -} from '~/utils/internal'; - -/** - * @hidden - */ -export type AddTransferRestrictionParams = { ticker: string } & ( - | AddCountTransferRestrictionParams - | AddPercentageTransferRestrictionParams - | AddClaimCountTransferRestrictionParams - | AddClaimPercentageTransferRestrictionParams -); - -/** - * @hidden - */ -export async function prepareAddTransferRestriction( - this: Procedure, - args: AddTransferRestrictionParams -): Promise> { - const { - context: { - polymeshApi: { - tx: { statistics }, - query: { statistics: statisticsQuery }, - consts, - }, - }, - context, - } = this; - const { ticker, exemptedIdentities = [], type } = args; - const tickerKey = stringToTickerKey(ticker, context); - - let claimIssuer; - if ( - type === TransferRestrictionType.ClaimCount || - type === TransferRestrictionType.ClaimPercentage - ) { - const { - claim: { type: cType }, - issuer, - } = args; - claimIssuer = { claimType: cType, issuer }; - } - - const [currentStats, { requirements: currentRestrictions }] = await requestMulti< - [typeof statisticsQuery.activeAssetStats, typeof statisticsQuery.assetTransferCompliances] - >(context, [ - [statisticsQuery.activeAssetStats, tickerKey], - [statisticsQuery.assetTransferCompliances, tickerKey], - ]); - - const neededStat = neededStatTypeForRestrictionInput({ type, claimIssuer }, context); - assertStatIsSet(currentStats, neededStat); - const maxConditions = u32ToBigNumber(consts.statistics.maxTransferConditionsPerAsset); - - const restrictionAmount = new BigNumber(currentRestrictions.size); - - if (restrictionAmount.gte(maxConditions)) { - throw new PolymeshError({ - code: ErrorCode.LimitExceeded, - message: 'Transfer Restriction limit reached', - data: { limit: maxConditions }, - }); - } - - let restriction: TransferRestriction; - let claimType; - - if (type === TransferRestrictionType.Count) { - const value = args.count; - restriction = { type, value }; - } else if (type === TransferRestrictionType.Percentage) { - const value = args.percentage; - restriction = { type, value }; - } else if (type === TransferRestrictionType.ClaimCount) { - const { min, max: maybeMax, issuer, claim } = args; - restriction = { type, value: { min, max: maybeMax, issuer, claim } }; - claimType = claim.type; - } else { - const { min, max, issuer, claim } = args; - restriction = { type, value: { min, max, issuer, claim } }; - claimType = claim.type; - } - - const rawTransferCondition = transferRestrictionToPolymeshTransferCondition(restriction, context); - const hasRestriction = !![...currentRestrictions].find(r => r.eq(rawTransferCondition)); - - if (hasRestriction) { - throw new PolymeshError({ - code: ErrorCode.NoDataChange, - message: 'Cannot add the same restriction more than once', - }); - } - - const conditions = complianceConditionsToBtreeSet( - [...currentRestrictions, rawTransferCondition], - context - ); - - const transactions = []; - transactions.push( - checkTxType({ - transaction: statistics.setAssetTransferCompliance, - args: [tickerKey, conditions], - }) - ); - - if (exemptedIdentities.length) { - const op = transferRestrictionTypeToStatOpType(type, context); - const exemptedIdBtreeSet = await getExemptedBtreeSet(exemptedIdentities, ticker, context); - const exemptKey = toExemptKey(tickerKey, op, claimType); - transactions.push( - checkTxType({ - transaction: statistics.setEntitiesExempt, - feeMultiplier: new BigNumber(exemptedIdBtreeSet.size), - args: [true, exemptKey, exemptedIdBtreeSet], - }) - ); - } - - return { transactions, resolver: restrictionAmount.plus(1) }; -} - -/** - * @hidden - */ -export function getAuthorization( - this: Procedure, - { ticker, exemptedIdentities = [] }: AddTransferRestrictionParams -): ProcedureAuthorization { - const transactions = [TxTags.statistics.SetAssetTransferCompliance]; - - if (exemptedIdentities.length) { - transactions.push(TxTags.statistics.SetEntitiesExempt); - } - - return { - permissions: { - assets: [new FungibleAsset({ ticker }, this.context)], - transactions, - portfolios: [], - }, - }; -} - -/** - * @hidden - */ -export const addTransferRestriction = (): Procedure => - new Procedure(prepareAddTransferRestriction, getAuthorization); diff --git a/src/api/procedures/affirmConfidentialTransactions.ts b/src/api/procedures/affirmConfidentialTransactions.ts index b15b6c5c90..046d383e1e 100644 --- a/src/api/procedures/affirmConfidentialTransactions.ts +++ b/src/api/procedures/affirmConfidentialTransactions.ts @@ -1,13 +1,17 @@ -import { PolymeshError, Procedure } from '~/internal'; +import { ErrorCode } from '@polymeshassociation/polymesh-sdk/types'; +import { TransactionSpec } from '@polymeshassociation/polymesh-sdk/types/internal'; + +import { ConfidentialProcedure } from '~/base/ConfidentialProcedure'; +import { PolymeshError } from '~/internal'; import { AffirmConfidentialTransactionParams, ConfidentialAffirmParty, + ConfidentialProcedureAuthorization, ConfidentialTransaction, ConfidentialTransactionStatus, - ErrorCode, TxTags, } from '~/types'; -import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; +import { ExtrinsicParams } from '~/types/internal'; import { confidentialAffirmsToRaw, confidentialAffirmTransactionToMeshTransaction, @@ -21,7 +25,7 @@ export type Params = { * @hidden */ export async function prepareAffirmConfidentialTransactions( - this: Procedure, + this: ConfidentialProcedure, args: Params ): Promise< TransactionSpec< @@ -104,8 +108,8 @@ export async function prepareAffirmConfidentialTransactions( * @hidden */ export async function getAuthorization( - this: Procedure -): Promise { + this: ConfidentialProcedure +): Promise { return { permissions: { assets: [], @@ -118,5 +122,7 @@ export async function getAuthorization( /** * @hidden */ -export const affirmConfidentialTransactions = (): Procedure => - new Procedure(prepareAffirmConfidentialTransactions, getAuthorization); +export const affirmConfidentialTransactions = (): ConfidentialProcedure< + Params, + ConfidentialTransaction +> => new ConfidentialProcedure(prepareAffirmConfidentialTransactions, getAuthorization); diff --git a/src/api/procedures/applyIncomingAssetBalance.ts b/src/api/procedures/applyIncomingAssetBalance.ts index f7e1de1ec5..85278f4ae0 100644 --- a/src/api/procedures/applyIncomingAssetBalance.ts +++ b/src/api/procedures/applyIncomingAssetBalance.ts @@ -1,6 +1,15 @@ -import { PolymeshError, Procedure } from '~/internal'; -import { ApplyIncomingBalanceParams, ConfidentialAccount, ErrorCode, TxTags } from '~/types'; -import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; +import { ErrorCode } from '@polymeshassociation/polymesh-sdk/types'; +import { TransactionSpec } from '@polymeshassociation/polymesh-sdk/types/internal'; + +import { ConfidentialProcedure } from '~/base/ConfidentialProcedure'; +import { PolymeshError } from '~/internal'; +import { + ApplyIncomingBalanceParams, + ConfidentialAccount, + ConfidentialProcedureAuthorization, + TxTags, +} from '~/types'; +import { ExtrinsicParams } from '~/types/internal'; import { serializeConfidentialAssetId } from '~/utils/conversion'; import { asConfidentialAccount, asConfidentialAsset } from '~/utils/internal'; @@ -8,7 +17,7 @@ import { asConfidentialAccount, asConfidentialAsset } from '~/utils/internal'; * @hidden */ export async function prepareApplyIncomingBalance( - this: Procedure, + this: ConfidentialProcedure, args: ApplyIncomingBalanceParams ): Promise< TransactionSpec> @@ -51,8 +60,8 @@ export async function prepareApplyIncomingBalance( * @hidden */ export function getAuthorization( - this: Procedure -): ProcedureAuthorization { + this: ConfidentialProcedure +): ConfidentialProcedureAuthorization { return { permissions: { transactions: [TxTags.confidentialAsset.ApplyIncomingBalance], @@ -65,7 +74,7 @@ export function getAuthorization( /** * @hidden */ -export const applyIncomingAssetBalance = (): Procedure< +export const applyIncomingAssetBalance = (): ConfidentialProcedure< ApplyIncomingBalanceParams, ConfidentialAccount -> => new Procedure(prepareApplyIncomingBalance, getAuthorization); +> => new ConfidentialProcedure(prepareApplyIncomingBalance, getAuthorization); diff --git a/src/api/procedures/applyIncomingConfidentialAssetBalances.ts b/src/api/procedures/applyIncomingConfidentialAssetBalances.ts index 27bdd166e1..252722d6f3 100644 --- a/src/api/procedures/applyIncomingConfidentialAssetBalances.ts +++ b/src/api/procedures/applyIncomingConfidentialAssetBalances.ts @@ -1,13 +1,16 @@ +import { ErrorCode } from '@polymeshassociation/polymesh-sdk/types'; +import { TransactionSpec } from '@polymeshassociation/polymesh-sdk/types/internal'; import { BigNumber } from 'bignumber.js'; -import { PolymeshError, Procedure } from '~/internal'; +import { ConfidentialProcedure } from '~/base/ConfidentialProcedure'; +import { PolymeshError } from '~/internal'; import { ApplyIncomingConfidentialAssetBalancesParams, ConfidentialAccount, - ErrorCode, + ConfidentialProcedureAuthorization, TxTags, } from '~/types'; -import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; +import { ExtrinsicParams } from '~/types/internal'; import { bigNumberToU16 } from '~/utils/conversion'; import { asConfidentialAccount } from '~/utils/internal'; @@ -15,7 +18,7 @@ import { asConfidentialAccount } from '~/utils/internal'; * @hidden */ export async function prepareApplyIncomingConfidentialAssetBalances( - this: Procedure, + this: ConfidentialProcedure, args: ApplyIncomingConfidentialAssetBalancesParams ): Promise< TransactionSpec< @@ -76,8 +79,8 @@ export async function prepareApplyIncomingConfidentialAssetBalances( * @hidden */ export function getAuthorization( - this: Procedure -): ProcedureAuthorization { + this: ConfidentialProcedure +): ConfidentialProcedureAuthorization { return { permissions: { transactions: [TxTags.confidentialAsset.ApplyIncomingBalances], @@ -90,7 +93,7 @@ export function getAuthorization( /** * @hidden */ -export const applyIncomingConfidentialAssetBalances = (): Procedure< +export const applyIncomingConfidentialAssetBalances = (): ConfidentialProcedure< ApplyIncomingConfidentialAssetBalancesParams, ConfidentialAccount -> => new Procedure(prepareApplyIncomingConfidentialAssetBalances, getAuthorization); +> => new ConfidentialProcedure(prepareApplyIncomingConfidentialAssetBalances, getAuthorization); diff --git a/src/api/procedures/attestPrimaryKeyRotation.ts b/src/api/procedures/attestPrimaryKeyRotation.ts deleted file mode 100644 index de0eaa600a..0000000000 --- a/src/api/procedures/attestPrimaryKeyRotation.ts +++ /dev/null @@ -1,93 +0,0 @@ -import { createAuthorizationResolver } from '~/api/procedures/utils'; -import { Procedure } from '~/internal'; -import { - AttestPrimaryKeyRotationParams, - Authorization, - AuthorizationRequest, - AuthorizationType, - RoleType, - TxTags, -} from '~/types'; -import { ExtrinsicParams, TransactionSpec } from '~/types/internal'; -import { - authorizationToAuthorizationData, - expiryToMoment, - signerToSignatory, -} from '~/utils/conversion'; -import { asAccount, asIdentity, assertNoPendingAuthorizationExists } from '~/utils/internal'; - -/** - * @hidden - */ -export async function prepareAttestPrimaryKeyRotation( - this: Procedure, - args: AttestPrimaryKeyRotationParams -): Promise>> { - const { - context: { - polymeshApi: { - tx: { - identity: { addAuthorization }, - }, - }, - }, - context, - } = this; - const { targetAccount, identity, expiry } = args; - - const issuerIdentity = await context.getSigningIdentity(); - - const target = asAccount(targetAccount, context); - const targetIdentity = asIdentity(identity, context); - - const authorizationRequests = await target.authorizations.getReceived({ - type: AuthorizationType.AttestPrimaryKeyRotation, - includeExpired: false, - }); - - const authorization: Authorization = { - type: AuthorizationType.AttestPrimaryKeyRotation, - value: targetIdentity, - }; - - assertNoPendingAuthorizationExists({ - authorizationRequests, - message: - 'The target Account already has a pending attestation to become the primary key of the target Identity', - authorization, - }); - - const rawSignatory = signerToSignatory(target, context); - - const rawAuthorizationData = authorizationToAuthorizationData(authorization, context); - - const rawExpiry = expiryToMoment(expiry, context); - - return { - transaction: addAuthorization, - args: [rawSignatory, rawAuthorizationData, rawExpiry], - resolver: createAuthorizationResolver( - authorization, - issuerIdentity, - target, - expiry ?? null, - context - ), - }; -} - -/** - * @hidden - */ -export const attestPrimaryKeyRotation = (): Procedure< - AttestPrimaryKeyRotationParams, - AuthorizationRequest -> => - new Procedure(prepareAttestPrimaryKeyRotation, { - roles: [{ type: RoleType.CddProvider }], - permissions: { - assets: [], - portfolios: [], - transactions: [TxTags.identity.AddAuthorization], - }, - }); diff --git a/src/api/procedures/burnConfidentialAssets.ts b/src/api/procedures/burnConfidentialAssets.ts index ee7a0424b8..a416c9c30e 100644 --- a/src/api/procedures/burnConfidentialAssets.ts +++ b/src/api/procedures/burnConfidentialAssets.ts @@ -1,13 +1,18 @@ +import { ErrorCode } from '@polymeshassociation/polymesh-sdk/types'; +import { TransactionSpec } from '@polymeshassociation/polymesh-sdk/types/internal'; +import { bigNumberToU128 } from '@polymeshassociation/polymesh-sdk/utils/conversion'; import BigNumber from 'bignumber.js'; -import { ConfidentialAsset, PolymeshError, Procedure } from '~/internal'; -import { BurnConfidentialAssetParams, ErrorCode, RoleType, TxTags } from '~/types'; -import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; +import { ConfidentialProcedure } from '~/base/ConfidentialProcedure'; +import { ConfidentialAsset, PolymeshError } from '~/internal'; import { - bigNumberToU128, - confidentialBurnProofToRaw, - serializeConfidentialAssetId, -} from '~/utils/conversion'; + BurnConfidentialAssetParams, + ConfidentialProcedureAuthorization, + RoleType, + TxTags, +} from '~/types'; +import { ExtrinsicParams } from '~/types/internal'; +import { confidentialBurnProofToRaw, serializeConfidentialAssetId } from '~/utils/conversion'; import { asConfidentialAccount } from '~/utils/internal'; export type Params = BurnConfidentialAssetParams & { @@ -18,7 +23,7 @@ export type Params = BurnConfidentialAssetParams & { * @hidden */ export async function prepareBurnConfidentialAsset( - this: Procedure, + this: ConfidentialProcedure, args: Params ): Promise>> { const { @@ -88,9 +93,9 @@ export async function prepareBurnConfidentialAsset( * @hidden */ export function getAuthorization( - this: Procedure, + this: ConfidentialProcedure, args: Params -): ProcedureAuthorization { +): ConfidentialProcedureAuthorization { const { confidentialAsset: { id: assetId }, } = args; @@ -108,5 +113,5 @@ export function getAuthorization( /** * @hidden */ -export const burnConfidentialAssets = (): Procedure => - new Procedure(prepareBurnConfidentialAsset, getAuthorization); +export const burnConfidentialAssets = (): ConfidentialProcedure => + new ConfidentialProcedure(prepareBurnConfidentialAsset, getAuthorization); diff --git a/src/api/procedures/claimDividends.ts b/src/api/procedures/claimDividends.ts deleted file mode 100644 index 717b6468c1..0000000000 --- a/src/api/procedures/claimDividends.ts +++ /dev/null @@ -1,76 +0,0 @@ -import { assertDistributionOpen } from '~/api/procedures/utils'; -import { DividendDistribution, PolymeshError, Procedure } from '~/internal'; -import { ErrorCode, TxTags } from '~/types'; -import { ExtrinsicParams, TransactionSpec } from '~/types/internal'; -import { corporateActionIdentifierToCaId } from '~/utils/conversion'; - -/** - * @hidden - */ -export interface Params { - distribution: DividendDistribution; -} - -/** - * @hidden - */ -export async function prepareClaimDividends( - this: Procedure, - args: Params -): Promise>> { - const { - context: { - polymeshApi: { tx }, - }, - context, - } = this; - const { - distribution, - distribution: { - id: localId, - asset: { ticker }, - paymentDate, - expiryDate, - }, - } = args; - - assertDistributionOpen(paymentDate, expiryDate); - - const participant = await distribution.getParticipant(); - - if (!participant) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'The signing Identity is not included in this Distribution', - }); - } - - const { paid } = participant; - - if (paid) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'The signing Identity has already claimed dividends', - }); - } - - const rawCaId = corporateActionIdentifierToCaId({ ticker, localId }, context); - - return { - transaction: tx.capitalDistribution.claim, - args: [rawCaId], - resolver: undefined, - }; -} - -/** - * @hidden - */ -export const claimDividends = (): Procedure => - new Procedure(prepareClaimDividends, { - permissions: { - transactions: [TxTags.capitalDistribution.Claim], - assets: [], - portfolios: [], - }, - }); diff --git a/src/api/procedures/clearMetadata.ts b/src/api/procedures/clearMetadata.ts deleted file mode 100644 index c89e262555..0000000000 --- a/src/api/procedures/clearMetadata.ts +++ /dev/null @@ -1,80 +0,0 @@ -import { FungibleAsset, MetadataEntry, Procedure } from '~/internal'; -import { TxTags } from '~/types'; -import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; -import { metadataToMeshMetadataKey, stringToTicker } from '~/utils/conversion'; - -/** - * @hidden - */ -export type Params = { - metadataEntry: MetadataEntry; -}; - -/** - * @hidden - */ -export async function prepareClearMetadata( - this: Procedure, - params: Params -): Promise>> { - const { - context: { - polymeshApi: { tx }, - }, - context, - } = this; - - const { - metadataEntry: { - id, - type, - asset: { ticker }, - }, - metadataEntry, - } = params; - - const rawTicker = stringToTicker(ticker, context); - const rawMetadataKey = metadataToMeshMetadataKey(type, id, context); - - const { canModify, reason } = await metadataEntry.isModifiable(); - - if (!canModify) { - throw reason; - } - - return { - transaction: tx.asset.removeMetadataValue, - args: [rawTicker, rawMetadataKey], - resolver: undefined, - }; -} - -/** - * @hidden - */ -export function getAuthorization( - this: Procedure, - params: Params -): ProcedureAuthorization { - const { context } = this; - - const { - metadataEntry: { - asset: { ticker }, - }, - } = params; - - return { - permissions: { - transactions: [TxTags.asset.RemoveMetadataValue], - assets: [new FungibleAsset({ ticker }, context)], - portfolios: [], - }, - }; -} - -/** - * @hidden - */ -export const clearMetadata = (): Procedure => - new Procedure(prepareClearMetadata, getAuthorization); diff --git a/src/api/procedures/closeOffering.ts b/src/api/procedures/closeOffering.ts deleted file mode 100644 index f8e8f9cecf..0000000000 --- a/src/api/procedures/closeOffering.ts +++ /dev/null @@ -1,77 +0,0 @@ -import BigNumber from 'bignumber.js'; - -import { FungibleAsset, Offering, PolymeshError, Procedure } from '~/internal'; -import { ErrorCode, OfferingSaleStatus, TxTags } from '~/types'; -import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; -import { bigNumberToU64, stringToTicker } from '~/utils/conversion'; - -/** - * @hidden - */ -export interface Params { - ticker: string; - id: BigNumber; -} - -/** - * @hidden - */ -export async function prepareCloseOffering( - this: Procedure, - args: Params -): Promise>> { - const { - context: { - polymeshApi: { - tx: { sto: txSto }, - }, - }, - context, - } = this; - const { ticker, id } = args; - - const offering = new Offering({ ticker, id }, context); - - const { - status: { sale }, - } = await offering.details(); - - if ([OfferingSaleStatus.Closed, OfferingSaleStatus.ClosedEarly].includes(sale)) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'The Offering is already closed', - }); - } - - const rawTicker = stringToTicker(ticker, context); - const rawId = bigNumberToU64(id, context); - - return { - transaction: txSto.stop, - args: [rawTicker, rawId], - resolver: undefined, - }; -} - -/** - * @hidden - */ -export function getAuthorization( - this: Procedure, - { ticker }: Params -): ProcedureAuthorization { - const { context } = this; - return { - permissions: { - transactions: [TxTags.sto.Stop], - assets: [new FungibleAsset({ ticker }, context)], - portfolios: [], - }, - }; -} - -/** - * @hidden - */ -export const closeOffering = (): Procedure => - new Procedure(prepareCloseOffering, getAuthorization); diff --git a/src/api/procedures/configureDividendDistribution.ts b/src/api/procedures/configureDividendDistribution.ts deleted file mode 100644 index 7e4a0abc49..0000000000 --- a/src/api/procedures/configureDividendDistribution.ts +++ /dev/null @@ -1,271 +0,0 @@ -import { ISubmittableResult } from '@polkadot/types/types'; -import BigNumber from 'bignumber.js'; - -import { assertDistributionDatesValid } from '~/api/procedures/utils'; -import { - Checkpoint, - Context, - DefaultPortfolio, - DividendDistribution, - FungibleAsset, - NumberedPortfolio, - PolymeshError, - Procedure, -} from '~/internal'; -import { - ConfigureDividendDistributionParams, - CorporateActionKind, - ErrorCode, - RoleType, - TxTags, -} from '~/types'; -import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; -import { - bigNumberToBalance, - bigNumberToU64, - corporateActionParamsToMeshCorporateActionArgs, - dateToMoment, - distributionToDividendDistributionParams, - meshCorporateActionToCorporateActionParams, - portfolioToPortfolioId, - stringToTicker, - tickerToString, - u32ToBigNumber, -} from '~/utils/conversion'; -import { filterEventRecords, getCheckpointValue, optionize } from '~/utils/internal'; - -/** - * @hidden - */ -export const createDividendDistributionResolver = - (context: Context) => - async (receipt: ISubmittableResult): Promise => { - const [{ data }] = filterEventRecords(receipt, 'capitalDistribution', 'Created'); - const [, caId, distribution] = data; - const { ticker, localId } = caId; - - const { corporateAction } = context.polymeshApi.query; - - const [corpAction, details] = await Promise.all([ - corporateAction.corporateActions(ticker, localId), - corporateAction.details(caId), - ]); - - return new DividendDistribution( - { - ticker: tickerToString(ticker), - id: u32ToBigNumber(localId), - ...meshCorporateActionToCorporateActionParams(corpAction.unwrap(), details, context), - ...distributionToDividendDistributionParams(distribution, context), - }, - context - ); - }; - -/** - * @hidden - */ -export type Params = ConfigureDividendDistributionParams & { - ticker: string; -}; - -/** - * @hidden - */ -export interface Storage { - portfolio: DefaultPortfolio | NumberedPortfolio; -} - -/** - * @hidden - */ -export async function prepareConfigureDividendDistribution( - this: Procedure, - args: Params -): Promise< - TransactionSpec< - DividendDistribution, - ExtrinsicParams<'corporateAction', 'initiateCorporateActionAndDistribute'> - > -> { - const { - context: { - polymeshApi: { tx, query }, - }, - context, - storage: { portfolio }, - } = this; - const { - ticker, - originPortfolio = null, - currency, - perShare, - maxAmount, - paymentDate, - expiryDate = null, - checkpoint, - targets = null, - description, - declarationDate = new Date(), - defaultTaxWithholding = null, - taxWithholdings = null, - } = args; - - if (currency === ticker) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'Cannot distribute Dividends using the Asset as currency', - }); - } - - if (paymentDate <= new Date()) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'Payment date must be in the future', - }); - } - - if (expiryDate && expiryDate < paymentDate) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'Expiry date must be after payment date', - }); - } - - if (declarationDate > new Date()) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'Declaration date must be in the past', - }); - } - - const rawMaxDetailsLength = await query.corporateAction.maxDetailsLength(); - const maxDetailsLength = u32ToBigNumber(rawMaxDetailsLength); - - if (maxDetailsLength.lt(description.length)) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'Description too long', - data: { - maxLength: maxDetailsLength.toNumber(), - }, - }); - } - - const checkpointValue = await getCheckpointValue(checkpoint, ticker, context); - - if (!(checkpointValue instanceof Checkpoint)) { - await assertDistributionDatesValid(checkpointValue, paymentDate, expiryDate); - } - - if (portfolio instanceof NumberedPortfolio) { - const exists = await portfolio.exists(); - - if (!exists) { - throw new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: "The origin Portfolio doesn't exist", - }); - } - } - - const [{ free }] = await portfolio.getAssetBalances({ assets: [currency] }); - - if (free.lt(maxAmount)) { - throw new PolymeshError({ - code: ErrorCode.InsufficientBalance, - message: "The origin Portfolio's free balance is not enough to cover the Distribution amount", - data: { - free, - }, - }); - } - - const rawPortfolioNumber = - originPortfolio && - optionize(bigNumberToU64)( - originPortfolio instanceof BigNumber ? originPortfolio : originPortfolio.id, - context - ); - const rawCurrency = stringToTicker(currency, context); - const rawPerShare = bigNumberToBalance(perShare, context); - const rawAmount = bigNumberToBalance(maxAmount, context); - const rawPaymentAt = dateToMoment(paymentDate, context); - const rawExpiresAt = optionize(dateToMoment)(expiryDate, context); - - return { - transaction: tx.corporateAction.initiateCorporateActionAndDistribute, - resolver: createDividendDistributionResolver(context), - args: [ - corporateActionParamsToMeshCorporateActionArgs( - { - ticker, - kind: CorporateActionKind.UnpredictableBenefit, - declarationDate, - checkpoint: checkpointValue, - description, - targets, - defaultTaxWithholding, - taxWithholdings, - }, - context - ), - rawPortfolioNumber, - rawCurrency, - rawPerShare, - rawAmount, - rawPaymentAt, - rawExpiresAt, - ], - }; -} - -/** - * @hidden - */ -export function getAuthorization( - this: Procedure, - { ticker }: Params -): ProcedureAuthorization { - const { - storage: { portfolio }, - context, - } = this; - - return { - roles: [{ type: RoleType.PortfolioCustodian, portfolioId: portfolioToPortfolioId(portfolio) }], - permissions: { - transactions: [TxTags.capitalDistribution.Distribute], - assets: [new FungibleAsset({ ticker }, context)], - portfolios: [portfolio], - }, - }; -} - -/** - * @hidden - */ -export async function prepareStorage( - this: Procedure, - { originPortfolio }: Params -): Promise { - const { context } = this; - - const { did } = await context.getSigningIdentity(); - - let portfolio = originPortfolio || new DefaultPortfolio({ did }, context); - - if (portfolio instanceof BigNumber) { - portfolio = new NumberedPortfolio({ id: portfolio, did }, context); - } - - return { - portfolio, - }; -} - -/** - * @hidden - */ -export const configureDividendDistribution = (): Procedure => - new Procedure(prepareConfigureDividendDistribution, getAuthorization, prepareStorage); diff --git a/src/api/procedures/consumeAddMultiSigSignerAuthorization.ts b/src/api/procedures/consumeAddMultiSigSignerAuthorization.ts deleted file mode 100644 index 77456aeebe..0000000000 --- a/src/api/procedures/consumeAddMultiSigSignerAuthorization.ts +++ /dev/null @@ -1,143 +0,0 @@ -import { assertAuthorizationRequestValid } from '~/api/procedures/utils'; -import { Account, AuthorizationRequest, Identity, Procedure } from '~/internal'; -import { TxTags } from '~/types'; -import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; -import { - bigNumberToU64, - booleanToBool, - signerToSignerValue, - signerToString, - signerValueToSignatory, -} from '~/utils/conversion'; - -/** - * @hidden - */ -export interface ConsumeAddMultiSigSignerAuthorizationParams { - authRequest: AuthorizationRequest; - accept: boolean; -} - -/** - * @hidden - */ -export async function prepareConsumeAddMultiSigSignerAuthorization( - this: Procedure, - args: ConsumeAddMultiSigSignerAuthorizationParams -): Promise< - | TransactionSpec> - | TransactionSpec> - | TransactionSpec> -> { - const { - context: { - polymeshApi: { - tx: { identity, multiSig }, - }, - }, - context, - } = this; - const { authRequest, accept } = args; - - const { target, authId, issuer } = authRequest; - - const rawAuthId = bigNumberToU64(authId, context); - - if (!accept) { - const { address } = context.getSigningAccount(); - - const paidByThirdParty = address === signerToString(target); - const addTransactionArgs: { paidForBy?: Identity } = {}; - - if (paidByThirdParty) { - addTransactionArgs.paidForBy = issuer; - } - - return { - transaction: identity.removeAuthorization, - ...addTransactionArgs, - args: [ - signerValueToSignatory(signerToSignerValue(target), context), - rawAuthId, - booleanToBool(paidByThirdParty, context), - ], - resolver: undefined, - }; - } - - await assertAuthorizationRequestValid(authRequest, context); - - const transaction = - target instanceof Account - ? multiSig.acceptMultisigSignerAsKey - : multiSig.acceptMultisigSignerAsIdentity; - - return { transaction, paidForBy: issuer, args: [rawAuthId], resolver: undefined }; -} - -/** - * @hidden - */ -export async function getAuthorization( - this: Procedure, - { authRequest, accept }: ConsumeAddMultiSigSignerAuthorizationParams -): Promise { - const { target, issuer } = authRequest; - const { context } = this; - - let hasRoles; - - const signingAccount = context.getSigningAccount(); - const identity = await signingAccount.getIdentity(); - - let calledByTarget: boolean; - - let permissions; - if (target instanceof Account) { - calledByTarget = target.isEqual(signingAccount); - hasRoles = calledByTarget; - // An account accepting multisig cannot be part of an Identity, so we cannot check for permissions - } else { - calledByTarget = !!identity?.isEqual(target); - hasRoles = calledByTarget; - permissions = { transactions: [TxTags.multiSig.AcceptMultisigSignerAsIdentity] }; - } - - if (accept) { - return { - roles: - hasRoles || - '"AddMultiSigSigner" Authorization Requests can only be accepted by the target Signer', - permissions, - }; - } - - const transactions = [TxTags.identity.RemoveAuthorization]; - - /* - * if the target is removing the auth request and they don't have an Identity, - * no permissions are required - */ - if (calledByTarget && !identity) { - return { - roles: true, - }; - } - - // both the issuer and the target can remove the authorization request - hasRoles = hasRoles || !!identity?.isEqual(issuer); - - return { - roles: - hasRoles || - '"AddMultiSigSigner" Authorization Request can only be removed by the issuing Identity or the target Signer', - permissions: { transactions }, - }; -} - -/** - * @hidden - */ -export const consumeAddMultiSigSignerAuthorization = - (): Procedure => - new Procedure(prepareConsumeAddMultiSigSignerAuthorization, getAuthorization); diff --git a/src/api/procedures/consumeAddRelayerPayingKeyAuthorization.ts b/src/api/procedures/consumeAddRelayerPayingKeyAuthorization.ts deleted file mode 100644 index 13986932a5..0000000000 --- a/src/api/procedures/consumeAddRelayerPayingKeyAuthorization.ts +++ /dev/null @@ -1,159 +0,0 @@ -import { assertAuthorizationRequestValid } from '~/api/procedures/utils'; -import { Account, AuthorizationRequest, Identity, PolymeshError, Procedure } from '~/internal'; -import { AuthorizationType, ErrorCode, TxTags } from '~/types'; -import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; -import { - bigNumberToU64, - booleanToBool, - signerToSignerValue, - signerValueToSignatory, -} from '~/utils/conversion'; - -/** - * @hidden - */ -export interface ConsumeAddRelayerPayingKeyAuthorizationParams { - authRequest: AuthorizationRequest; - accept: boolean; -} - -export interface Storage { - signingAccount: Account; - calledByTarget: boolean; -} - -/** - * @hidden - * - * Consumes AddRelayerPayingKey Authorizations - */ -export async function prepareConsumeAddRelayerPayingKeyAuthorization( - this: Procedure, - args: ConsumeAddRelayerPayingKeyAuthorizationParams -): Promise< - | TransactionSpec> - | TransactionSpec> -> { - const { - context: { - polymeshApi: { - tx: { relayer, identity }, - }, - }, - storage: { calledByTarget }, - context, - } = this; - const { authRequest, accept } = args; - - const { - target, - authId, - issuer, - data: { type }, - } = authRequest; - - if (type !== AuthorizationType.AddRelayerPayingKey) { - throw new PolymeshError({ - code: ErrorCode.UnexpectedError, - message: `Unrecognized auth type: "${type}" for consumeAddRelayerPayingKeyAuthorization method`, - }); - } - - const rawAuthId = bigNumberToU64(authId, context); - - if (!accept) { - const baseArgs: { paidForBy?: Identity } = {}; - - if (calledByTarget) { - baseArgs.paidForBy = issuer; - } - - return { - transaction: identity.removeAuthorization, - ...baseArgs, - args: [ - signerValueToSignatory(signerToSignerValue(target), context), - rawAuthId, - booleanToBool(calledByTarget, context), - ], - resolver: undefined, - }; - } - - await assertAuthorizationRequestValid(authRequest, context); - - return { - transaction: relayer.acceptPayingKey, - paidForBy: issuer, - args: [rawAuthId], - resolver: undefined, - }; -} - -/** - * @hidden - * - * - If the auth is being accepted, we check that the caller is the target - * - If the auth is being rejected, we check that the caller is either the target or the issuer - */ -export async function getAuthorization( - this: Procedure, - { authRequest, accept }: ConsumeAddRelayerPayingKeyAuthorizationParams -): Promise { - const { issuer } = authRequest; - const { - storage: { signingAccount, calledByTarget }, - } = this; - let hasRoles = calledByTarget; - - if (accept) { - return { - roles: - hasRoles || - `"${AuthorizationType.AddRelayerPayingKey}" Authorization Requests must be accepted by the target Account`, - }; - } - - const identity = await signingAccount.getIdentity(); - - hasRoles = hasRoles || !!identity?.isEqual(issuer); - - return { - roles: - hasRoles || - `"${AuthorizationType.AddRelayerPayingKey}" Authorization Requests can only be removed by the issuer Identity or the target Account`, - permissions: { - transactions: [TxTags.identity.RemoveAuthorization], - }, - }; -} - -/** - * @hidden - */ -export async function prepareStorage( - this: Procedure, - { authRequest: { target } }: ConsumeAddRelayerPayingKeyAuthorizationParams -): Promise { - const { context } = this; - - // AddRelayerPayingKey Authorizations always target an Account - const targetAccount = target as Account; - const signingAccount = context.getSigningAccount(); - const calledByTarget = targetAccount.isEqual(signingAccount); - - return { - signingAccount, - calledByTarget, - }; -} - -/** - * @hidden - */ -export const consumeAddRelayerPayingKeyAuthorization = (): Procedure< - ConsumeAddRelayerPayingKeyAuthorizationParams, - void, - Storage -> => - new Procedure(prepareConsumeAddRelayerPayingKeyAuthorization, getAuthorization, prepareStorage); diff --git a/src/api/procedures/consumeAuthorizationRequests.ts b/src/api/procedures/consumeAuthorizationRequests.ts deleted file mode 100644 index b1e14fe5d2..0000000000 --- a/src/api/procedures/consumeAuthorizationRequests.ts +++ /dev/null @@ -1,175 +0,0 @@ -import { u64 } from '@polkadot/types'; -import P from 'bluebird'; -import { forEach, mapValues } from 'lodash'; - -import { assertAuthorizationRequestValid } from '~/api/procedures/utils'; -import { Account, AuthorizationRequest, Identity, Procedure } from '~/internal'; -import { AuthorizationType, TxTag, TxTags } from '~/types'; -import { BatchTransactionSpec, ProcedureAuthorization, TxWithArgs } from '~/types/internal'; -import { tuple } from '~/types/utils'; -import { - bigNumberToU64, - booleanToBool, - signerToSignerValue, - signerValueToSignatory, -} from '~/utils/conversion'; -import { assembleBatchTransactions } from '~/utils/internal'; - -export interface ConsumeParams { - accept: boolean; -} - -/** - * @hidden - */ -export type ConsumeAuthorizationRequestsParams = ConsumeParams & { - authRequests: AuthorizationRequest[]; -}; - -/** - * @hidden - */ -export async function prepareConsumeAuthorizationRequests( - this: Procedure, - args: ConsumeAuthorizationRequestsParams -): Promise> { - const { - context: { - polymeshApi: { tx }, - }, - context, - } = this; - const { accept, authRequests } = args; - - const liveRequests = authRequests.filter(request => !request.isExpired()); - - if (accept) { - // auth types not present in this object should not be possible in this procedure - const typesToExtrinsics = { - [AuthorizationType.BecomeAgent]: tx.externalAgents.acceptBecomeAgent, - [AuthorizationType.PortfolioCustody]: tx.portfolio.acceptPortfolioCustody, - [AuthorizationType.TransferAssetOwnership]: tx.asset.acceptAssetOwnershipTransfer, - [AuthorizationType.TransferTicker]: tx.asset.acceptTickerTransfer, - } as const; - - type AllowedAuthType = keyof typeof typesToExtrinsics; - - const idsPerType: Record = mapValues(typesToExtrinsics, () => []); - - const validations: Promise[] = []; - liveRequests.forEach(authRequest => { - validations.push(assertAuthorizationRequestValid(authRequest, context)); - const { - authId, - data: { type }, - } = authRequest; - const id = tuple(bigNumberToU64(authId, context)); - - idsPerType[type as AllowedAuthType].push(id); - }); - await Promise.all(validations); - - const transactions: TxWithArgs[] = []; - - forEach(idsPerType, (ids, key) => { - const type = key as AllowedAuthType; - - transactions.push( - ...assembleBatchTransactions([ - { - transaction: typesToExtrinsics[type], - argsArray: ids, - }, - ]) - ); - }); - - return { - transactions, - resolver: undefined, - }; - } else { - const falseBool = booleanToBool(false, context); - const authIdentifiers = liveRequests.map(({ authId, target }) => - tuple( - signerValueToSignatory(signerToSignerValue(target), context), - bigNumberToU64(authId, context), - falseBool - ) - ); - const transactions = assembleBatchTransactions([ - { - transaction: tx.identity.removeAuthorization, - argsArray: authIdentifiers, - }, - ]); - - return { transactions, resolver: undefined }; - } -} - -/** - * @hidden - */ -export async function getAuthorization( - this: Procedure, - { authRequests, accept }: ConsumeAuthorizationRequestsParams -): Promise { - const { context } = this; - - let identity: Identity; - const fetchIdentity = async (): Promise => identity || context.getSigningIdentity(); - - const unexpiredRequests = authRequests.filter(request => !request.isExpired()); - - const authorized = await P.mapSeries(unexpiredRequests, async ({ target, issuer }) => { - let condition; - - if (target instanceof Account) { - const account = context.getSigningAccount(); - condition = target.isEqual(account); - } else { - identity = await fetchIdentity(); - condition = target.isEqual(identity); - } - - if (!accept) { - identity = await fetchIdentity(); - condition = condition || issuer.isEqual(identity); - } - - return condition; - }); - - let transactions: TxTag[] = [TxTags.identity.RemoveAuthorization]; - - if (accept) { - const typesToTags = { - [AuthorizationType.BecomeAgent]: TxTags.externalAgents.AcceptBecomeAgent, - [AuthorizationType.PortfolioCustody]: TxTags.portfolio.AcceptPortfolioCustody, - [AuthorizationType.TransferAssetOwnership]: TxTags.asset.AcceptAssetOwnershipTransfer, - [AuthorizationType.TransferTicker]: TxTags.asset.AcceptTickerTransfer, - } as const; - - transactions = authRequests.map( - ({ data: { type } }) => typesToTags[type as keyof typeof typesToTags] - ); - } - - return { - roles: - authorized.every(res => res) || - 'Authorization Requests can only be accepted by the target Account/Identity. They can only be rejected by the target Account/Identity or the issuing Identity', - permissions: { - transactions, - assets: [], - portfolios: [], - }, - }; -} - -/** - * @hidden - */ -export const consumeAuthorizationRequests = (): Procedure => - new Procedure(prepareConsumeAuthorizationRequests, getAuthorization); diff --git a/src/api/procedures/consumeJoinOrRotateAuthorization.ts b/src/api/procedures/consumeJoinOrRotateAuthorization.ts deleted file mode 100644 index b4afdef240..0000000000 --- a/src/api/procedures/consumeJoinOrRotateAuthorization.ts +++ /dev/null @@ -1,197 +0,0 @@ -import { assertAuthorizationRequestValid } from '~/api/procedures/utils'; -import { Account, AuthorizationRequest, Identity, PolymeshError, Procedure } from '~/internal'; -import { AuthorizationType, ErrorCode, TxTags } from '~/types'; -import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; -import { - bigNumberToU64, - booleanToBool, - signerToSignerValue, - signerValueToSignatory, -} from '~/utils/conversion'; - -/** - * @hidden - */ -export interface ConsumeJoinOrRotateAuthorizationParams { - authRequest: AuthorizationRequest; - accept: boolean; -} - -export interface Storage { - signingAccount: Account; - calledByTarget: boolean; -} - -/** - * @hidden - * - * Consumes JoinIdentity, RotatePrimaryKey and RotatePrimaryKeyToSecondaryKey Authorizations - */ -export async function prepareConsumeJoinOrRotateAuthorization( - this: Procedure, - args: ConsumeJoinOrRotateAuthorizationParams -): Promise< - | TransactionSpec> - | TransactionSpec> - | TransactionSpec> - | TransactionSpec> -> { - const { - context: { - polymeshApi: { - tx: { identity }, - }, - }, - storage: { calledByTarget }, - context, - } = this; - const { authRequest, accept } = args; - - const { - target, - authId, - issuer, - data: { type }, - } = authRequest; - - if ( - ![ - AuthorizationType.JoinIdentity, - AuthorizationType.RotatePrimaryKeyToSecondary, - AuthorizationType.RotatePrimaryKey, - ].includes(type) - ) { - throw new PolymeshError({ - code: ErrorCode.UnexpectedError, - message: `Unrecognized auth type: "${type}" for consumeJoinOrRotateAuthorization method`, - }); - } - - const rawAuthId = bigNumberToU64(authId, context); - - if (!accept) { - const baseArgs: { paidForBy?: Identity } = {}; - - if (calledByTarget) { - baseArgs.paidForBy = issuer; - } - - return { - transaction: identity.removeAuthorization, - ...baseArgs, - args: [ - signerValueToSignatory(signerToSignerValue(target), context), - rawAuthId, - booleanToBool(calledByTarget, context), - ], - resolver: undefined, - }; - } - - await assertAuthorizationRequestValid(authRequest, context); - - if (type === AuthorizationType.JoinIdentity) { - return { - transaction: identity.joinIdentityAsKey, - paidForBy: issuer, - args: [rawAuthId], - resolver: undefined, - }; - } else { - const transaction = - type === AuthorizationType.RotatePrimaryKey - ? identity.acceptPrimaryKey - : identity.rotatePrimaryKeyToSecondary; - - return { - transaction, - paidForBy: issuer, - args: [rawAuthId, null], - resolver: undefined, - }; - } -} - -/** - * @hidden - * - * - If the auth is being accepted, we check that the caller is the target - * - If the auth is being rejected, we check that the caller is either the target or the issuer - */ -export async function getAuthorization( - this: Procedure, - { authRequest, accept }: ConsumeJoinOrRotateAuthorizationParams -): Promise { - const { issuer } = authRequest; - const { - storage: { signingAccount, calledByTarget }, - } = this; - let hasRoles = calledByTarget; - - const { - data: { type }, - } = authRequest; - - /* - * when accepting a JoinIdentity request, you don't need permissions (and can't have them by definition), - * you just need to be the target - */ - if (accept) { - return { - roles: hasRoles || `"${type}" Authorization Requests must be accepted by the target Account`, - }; - } - - const identity = await signingAccount.getIdentity(); - - /* - * if the target is removing the auth request and they don't have an Identity, - * no permissions are required - */ - if (calledByTarget && !identity) { - return { - roles: true, - }; - } - - // both the issuer and the target can remove the authorization request - hasRoles = hasRoles || !!identity?.isEqual(issuer); - - return { - roles: - hasRoles || - `"${type}" Authorization Requests can only be removed by the issuer Identity or the target Account`, - permissions: { - transactions: [TxTags.identity.RemoveAuthorization], - }, - }; -} - -/** - * @hidden - */ -export async function prepareStorage( - this: Procedure, - { authRequest: { target } }: ConsumeJoinOrRotateAuthorizationParams -): Promise { - const { context } = this; - - // JoinIdentity Authorizations always target an Account - const targetAccount = target as Account; - const signingAccount = context.getSigningAccount(); - const calledByTarget = targetAccount.isEqual(signingAccount); - - return { - signingAccount, - calledByTarget, - }; -} - -/** - * @hidden - */ -export const consumeJoinOrRotateAuthorization = (): Procedure< - ConsumeJoinOrRotateAuthorizationParams, - void, - Storage -> => new Procedure(prepareConsumeJoinOrRotateAuthorization, getAuthorization, prepareStorage); diff --git a/src/api/procedures/controllerTransfer.ts b/src/api/procedures/controllerTransfer.ts deleted file mode 100644 index 5f886cee95..0000000000 --- a/src/api/procedures/controllerTransfer.ts +++ /dev/null @@ -1,116 +0,0 @@ -import { DefaultPortfolio, FungibleAsset, PolymeshError, Procedure } from '~/internal'; -import { ControllerTransferParams, ErrorCode, RoleType, TxTags } from '~/types'; -import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; -import { - bigNumberToBalance, - portfolioIdToMeshPortfolioId, - portfolioIdToPortfolio, - portfolioLikeToPortfolioId, - stringToTicker, -} from '~/utils/conversion'; - -export interface Storage { - did: string; -} - -/** - * @hidden - */ -export type Params = { ticker: string } & ControllerTransferParams; - -/** - * @hidden - */ -export async function prepareControllerTransfer( - this: Procedure, - args: Params -): Promise>> { - const { - context: { - polymeshApi: { tx }, - }, - storage: { did }, - context, - } = this; - const { ticker, originPortfolio, amount } = args; - - const asset = new FungibleAsset({ ticker }, context); - - const originPortfolioId = portfolioLikeToPortfolioId(originPortfolio); - - if (did === originPortfolioId.did) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'Controller transfers to self are not allowed', - }); - } - - const fromPortfolio = portfolioIdToPortfolio(originPortfolioId, context); - - const [{ free }] = await fromPortfolio.getAssetBalances({ - assets: [asset], - }); - - if (free.lt(amount)) { - throw new PolymeshError({ - code: ErrorCode.InsufficientBalance, - message: 'The origin Portfolio does not have enough free balance for this transfer', - data: { free }, - }); - } - - return { - transaction: tx.asset.controllerTransfer, - args: [ - stringToTicker(ticker, context), - bigNumberToBalance(amount, context), - portfolioIdToMeshPortfolioId(originPortfolioId, context), - ], - resolver: undefined, - }; -} - -/** - * @hidden - */ -export async function getAuthorization( - this: Procedure, - { ticker }: Params -): Promise { - const { - context, - storage: { did }, - } = this; - - const asset = new FungibleAsset({ ticker }, context); - - const portfolioId = { did }; - - return { - roles: [{ type: RoleType.PortfolioCustodian, portfolioId }], - permissions: { - assets: [asset], - transactions: [TxTags.asset.ControllerTransfer], - portfolios: [new DefaultPortfolio({ did }, context)], - }, - }; -} - -/** - * @hidden - */ -export async function prepareStorage(this: Procedure): Promise { - const { context } = this; - - const { did } = await context.getSigningIdentity(); - - return { - did, - }; -} - -/** - * @hidden - */ -export const controllerTransfer = (): Procedure => - new Procedure(prepareControllerTransfer, getAuthorization, prepareStorage); diff --git a/src/api/procedures/createAsset.ts b/src/api/procedures/createAsset.ts deleted file mode 100644 index 6d9361a545..0000000000 --- a/src/api/procedures/createAsset.ts +++ /dev/null @@ -1,324 +0,0 @@ -import { Bytes, u32 } from '@polkadot/types'; -import BigNumber from 'bignumber.js'; -import { values } from 'lodash'; - -import { addManualFees } from '~/api/procedures/utils'; -import { FungibleAsset, Identity, PolymeshError, Procedure, TickerReservation } from '~/internal'; -import { - AssetTx, - CreateAssetWithTickerParams, - ErrorCode, - KnownAssetType, - RoleType, - StatisticsTx, - TickerReservationStatus, - TxTags, -} from '~/types'; -import { BatchTransactionSpec, ProcedureAuthorization } from '~/types/internal'; -import { - assetDocumentToDocument, - bigNumberToBalance, - booleanToBool, - fundingRoundToAssetFundingRound, - inputStatTypeToMeshStatType, - internalAssetTypeToAssetType, - nameToAssetName, - portfolioToPortfolioKind, - securityIdentifierToAssetIdentifier, - statisticStatTypesToBtreeStatType, - stringToBytes, - stringToTicker, - stringToTickerKey, -} from '~/utils/conversion'; -import { checkTxType, isAlphanumeric, optionize } from '~/utils/internal'; - -/** - * @hidden - */ -export type Params = CreateAssetWithTickerParams & { - reservationRequired: boolean; -}; - -/** - * @hidden - */ -export interface Storage { - /** - * fetched custom asset type ID and raw value in bytes. If `id.isEmpty`, then the type should be registered. A - * null value means the type is not custom - */ - customTypeData: { - id: u32; - rawValue: Bytes; - } | null; - - status: TickerReservationStatus; - - signingIdentity: Identity; -} - -/** - * @throws if the Ticker is not available - */ -function assertTickerAvailable( - ticker: string, - status: TickerReservationStatus, - reservationRequired: boolean -): void { - if (status === TickerReservationStatus.AssetCreated) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: `An Asset with ticker "${ticker}" already exists`, - }); - } - - if (status === TickerReservationStatus.Free && reservationRequired) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: `You must first reserve ticker "${ticker}" in order to create an Asset with it`, - }); - } - - if (!isAlphanumeric(ticker)) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'New Tickers can only contain alphanumeric values', - }); - } -} - -/** - * @hidden - */ -export async function prepareCreateAsset( - this: Procedure, - args: Params -): Promise> { - const { - context: { - polymeshApi: { tx }, - }, - context, - storage: { customTypeData, status, signingIdentity }, - } = this; - const { - ticker, - name, - initialSupply, - portfolioId, - isDivisible, - assetType, - securityIdentifiers = [], - fundingRound, - documents, - reservationRequired, - initialStatistics, - } = args; - - assertTickerAvailable(ticker, status, reservationRequired); - - const rawTicker = stringToTicker(ticker, context); - const rawName = nameToAssetName(name, context); - const rawIsDivisible = booleanToBool(isDivisible, context); - const rawIdentifiers = securityIdentifiers.map(identifier => - securityIdentifierToAssetIdentifier(identifier, context) - ); - const rawFundingRound = optionize(fundingRoundToAssetFundingRound)(fundingRound, context); - - const newAsset = new FungibleAsset({ ticker }, context); - - const transactions = []; - - let fee: BigNumber | undefined; - if (status === TickerReservationStatus.Free) { - fee = await addManualFees( - new BigNumber(0), - [TxTags.asset.RegisterTicker, TxTags.asset.CreateAsset], - context - ); - } - - /* - * - if the passed Asset type isn't one of the fixed ones (custom), we check if there is already - * an on-chain custom Asset type with that name: - * - if not, we create it together with the Asset - * - otherwise, we create the asset with the id of the existing custom asset type - * - if the passed Asset type is a fixed one, we create the asset using that Asset type - */ - if (customTypeData) { - const { rawValue, id } = customTypeData; - - /* - * We add the fee for registering a custom asset type in case we're calculating - * the Asset creation fees manually - */ - fee = await addManualFees(fee, [TxTags.asset.RegisterCustomAssetType], context); - - if (id.isEmpty) { - transactions.push( - checkTxType({ - transaction: tx.asset.createAssetWithCustomType, - fee, - args: [rawName, rawTicker, rawIsDivisible, rawValue, rawIdentifiers, rawFundingRound], - }) - ); - } else { - const rawType = internalAssetTypeToAssetType({ Custom: id }, context); - - transactions.push( - checkTxType({ - transaction: tx.asset.createAsset, - fee, - args: [rawName, rawTicker, rawIsDivisible, rawType, rawIdentifiers, rawFundingRound], - }) - ); - } - } else { - const rawType = internalAssetTypeToAssetType(assetType as KnownAssetType, context); - - transactions.push( - checkTxType({ - transaction: tx.asset.createAsset, - fee, - args: [rawName, rawTicker, rawIsDivisible, rawType, rawIdentifiers, rawFundingRound], - }) - ); - } - - if (initialStatistics?.length) { - const tickerKey = stringToTickerKey(ticker, context); - const rawStats = initialStatistics.map(i => inputStatTypeToMeshStatType(i, context)); - const bTreeStats = statisticStatTypesToBtreeStatType(rawStats, context); - - transactions.push( - checkTxType({ - transaction: tx.statistics.setActiveAssetStats, - args: [tickerKey, bTreeStats], - }) - ); - } - - if (initialSupply?.gt(0)) { - const rawInitialSupply = bigNumberToBalance(initialSupply, context, isDivisible); - - const portfolio = portfolioId - ? await signingIdentity.portfolios.getPortfolio({ portfolioId }) - : await signingIdentity.portfolios.getPortfolio(); - - const rawPortfolio = portfolioToPortfolioKind(portfolio, context); - - transactions.push( - checkTxType({ - transaction: tx.asset.issue, - args: [rawTicker, rawInitialSupply, rawPortfolio], - }) - ); - } - - if (documents?.length) { - const rawDocuments = documents.map(doc => assetDocumentToDocument(doc, context)); - - const feeMultiplier = new BigNumber(rawDocuments.length); - - transactions.push( - checkTxType({ - transaction: tx.asset.addDocuments, - feeMultiplier, - args: [rawDocuments, rawTicker], - }) - ); - } - - return { - transactions, - resolver: newAsset, - }; -} - -/** - * @hidden - */ -export async function getAuthorization( - this: Procedure, - { ticker, documents, initialStatistics }: Params -): Promise { - const { - storage: { customTypeData, status }, - } = this; - - const transactions: (AssetTx | StatisticsTx)[] = [TxTags.asset.CreateAsset]; - - if (documents?.length) { - transactions.push(TxTags.asset.AddDocuments); - } - - if (customTypeData?.id.isEmpty) { - transactions.push(TxTags.asset.RegisterCustomAssetType); - } - - if (initialStatistics?.length) { - transactions.push(TxTags.statistics.SetActiveAssetStats); - } - - const auth: ProcedureAuthorization = { - permissions: { - transactions, - assets: [], - portfolios: [], - }, - }; - - if (status !== TickerReservationStatus.Free) { - return { - ...auth, - roles: [{ type: RoleType.TickerOwner, ticker }], - }; - } - return auth; -} - -/** - * @hidden - */ -export async function prepareStorage( - this: Procedure, - { ticker, assetType }: Params -): Promise { - const { context } = this; - - const reservation = new TickerReservation({ ticker }, context); - const [{ status }, signingIdentity] = await Promise.all([ - reservation.details(), - context.getSigningIdentity(), - ]); - - const isCustomType = !values(KnownAssetType).includes(assetType); - - if (isCustomType) { - const rawValue = stringToBytes(assetType, context); - const rawId = await context.polymeshApi.query.asset.customTypesInverse(rawValue); - - const id = rawId.unwrapOrDefault(); - - return { - customTypeData: { - id, - rawValue, - }, - status, - signingIdentity, - }; - } - - return { - customTypeData: null, - status, - signingIdentity, - }; -} - -/** - * @hidden - */ -export const createAsset = (): Procedure => - new Procedure(prepareCreateAsset, getAuthorization, prepareStorage); diff --git a/src/api/procedures/createCheckpoint.ts b/src/api/procedures/createCheckpoint.ts deleted file mode 100644 index 15fe7ea8ae..0000000000 --- a/src/api/procedures/createCheckpoint.ts +++ /dev/null @@ -1,67 +0,0 @@ -import { ISubmittableResult } from '@polkadot/types/types'; - -import { Checkpoint, Context, FungibleAsset, Procedure } from '~/internal'; -import { TxTags } from '~/types'; -import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; -import { stringToTicker, u64ToBigNumber } from '~/utils/conversion'; -import { filterEventRecords } from '~/utils/internal'; - -/** - * @hidden - */ -export interface Params { - ticker: string; -} - -/** - * @hidden - */ -export const createCheckpointResolver = - (ticker: string, context: Context) => - (receipt: ISubmittableResult): Checkpoint => { - const [{ data }] = filterEventRecords(receipt, 'checkpoint', 'CheckpointCreated'); - const id = u64ToBigNumber(data[2]); - - return new Checkpoint({ ticker, id }, context); - }; - -/** - * @hidden - */ -export async function prepareCreateCheckpoint( - this: Procedure, - args: Params -): Promise>> { - const { context } = this; - const { ticker } = args; - - const rawTicker = stringToTicker(ticker, context); - - return { - transaction: context.polymeshApi.tx.checkpoint.createCheckpoint, - args: [rawTicker], - resolver: createCheckpointResolver(ticker, context), - }; -} - -/** - * @hidden - */ -export function getAuthorization( - this: Procedure, - { ticker }: Params -): ProcedureAuthorization { - return { - permissions: { - transactions: [TxTags.checkpoint.CreateCheckpoint], - assets: [new FungibleAsset({ ticker }, this.context)], - portfolios: [], - }, - }; -} - -/** - * @hidden - */ -export const createCheckpoint = (): Procedure => - new Procedure(prepareCreateCheckpoint, getAuthorization); diff --git a/src/api/procedures/createCheckpointSchedule.ts b/src/api/procedures/createCheckpointSchedule.ts deleted file mode 100644 index 20e625bd3a..0000000000 --- a/src/api/procedures/createCheckpointSchedule.ts +++ /dev/null @@ -1,95 +0,0 @@ -import { ISubmittableResult } from '@polkadot/types/types'; - -import { CheckpointSchedule, Context, FungibleAsset, PolymeshError, Procedure } from '~/internal'; -import { CreateCheckpointScheduleParams, ErrorCode, TxTags } from '~/types'; -import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; -import { - datesToScheduleCheckpoints, - momentToDate, - stringToTicker, - u64ToBigNumber, -} from '~/utils/conversion'; -import { filterEventRecords } from '~/utils/internal'; - -/** - * @hidden - */ -export type Params = CreateCheckpointScheduleParams & { - ticker: string; -}; - -/** - * @hidden - */ -export const createCheckpointScheduleResolver = - (ticker: string, context: Context) => - (receipt: ISubmittableResult): CheckpointSchedule => { - const [{ data }] = filterEventRecords(receipt, 'checkpoint', 'ScheduleCreated'); - const rawId = data[2]; - const id = u64ToBigNumber(rawId); - - const rawPoints = data[3]; - const points = [...rawPoints.pending].map(rawPoint => momentToDate(rawPoint)); - - return new CheckpointSchedule( - { - id, - ticker, - pendingPoints: points, - }, - context - ); - }; - -/** - * @hidden - */ -export async function prepareCreateCheckpointSchedule( - this: Procedure, - args: Params -): Promise>> { - const { context } = this; - const { ticker, points } = args; - - const now = new Date(); - - const anyInPast = points.some(point => point < now); - if (anyInPast) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'Schedule points must be in the future', - }); - } - - const rawTicker = stringToTicker(ticker, context); - const checkpointSchedule = datesToScheduleCheckpoints(points, context); - - return { - transaction: context.polymeshApi.tx.checkpoint.createSchedule, - args: [rawTicker, checkpointSchedule], - resolver: createCheckpointScheduleResolver(ticker, context), - }; -} - -/** - * @hidden - */ -export function getAuthorization( - this: Procedure, - { ticker }: Params -): ProcedureAuthorization { - const { context } = this; - return { - permissions: { - transactions: [TxTags.checkpoint.CreateSchedule], - assets: [new FungibleAsset({ ticker }, context)], - portfolios: [], - }, - }; -} - -/** - * @hidden - */ -export const createCheckpointSchedule = (): Procedure => - new Procedure(prepareCreateCheckpointSchedule, getAuthorization); diff --git a/src/api/procedures/createChildIdentity.ts b/src/api/procedures/createChildIdentity.ts deleted file mode 100644 index 6f88cb5706..0000000000 --- a/src/api/procedures/createChildIdentity.ts +++ /dev/null @@ -1,151 +0,0 @@ -import { ISubmittableResult } from '@polkadot/types/types'; - -import { ChildIdentity, Context, Identity, PolymeshError, Procedure } from '~/internal'; -import { CreateChildIdentityParams, ErrorCode, TxTags } from '~/types'; -import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; -import { - boolToBoolean, - identityIdToString, - stringToAccountId, - stringToIdentityId, -} from '~/utils/conversion'; -import { asAccount, filterEventRecords } from '~/utils/internal'; - -/** - * @hidden - */ -export interface Storage { - identity: Identity; -} - -/** - * @hidden - */ -export const createChildIdentityResolver = - (context: Context) => - (receipt: ISubmittableResult): ChildIdentity => { - const [{ data }] = filterEventRecords(receipt, 'identity', 'ChildDidCreated'); - const did = identityIdToString(data[1]); - - return new ChildIdentity({ did }, context); - }; - -/** - * @hidden - */ -export async function prepareCreateChildIdentity( - this: Procedure, - args: CreateChildIdentityParams -): Promise>> { - const { - context: { - polymeshApi: { tx, query }, - }, - context, - storage: { - identity: { did: signingDid }, - }, - } = this; - - const { secondaryKey } = args; - - const childAccount = asAccount(secondaryKey, context); - - const rawIdentity = stringToIdentityId(signingDid, context); - const rawChildAccount = stringToAccountId(childAccount.address, context); - - const childIdentity = new ChildIdentity({ did: signingDid }, context); - - const [isSecondaryKey, multiSig, parentDid] = await Promise.all([ - query.identity.didKeys(rawIdentity, rawChildAccount), - childAccount.getMultiSig(), - childIdentity.getParentDid(), - ]); - - if (!boolToBoolean(isSecondaryKey)) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'The `secondaryKey` provided is not a secondary key of the signing Identity', - }); - } - - if (multiSig) { - const { total } = await multiSig.getBalance(); - - if (total.gt(0)) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: "The `secondaryKey` can't be unlinked from the signing Identity", - }); - } - } - - if (parentDid) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: - 'The signing Identity is already a child Identity and cannot create further child identities', - data: { - parentDid, - }, - }); - } - - return { - transaction: tx.identity.createChildIdentity, - args: [rawChildAccount], - resolver: createChildIdentityResolver(context), - }; -} - -/** - * @hidden - */ -export async function getAuthorization( - this: Procedure -): Promise { - const { - context, - storage: { identity }, - } = this; - - const signingAccount = context.getSigningAccount(); - - const { account: primaryAccount } = await identity.getPrimaryAccount(); - - if (!signingAccount.isEqual(primaryAccount)) { - return { - signerPermissions: "A child Identity can only be created by an Identity's primary Account", - }; - } - - return { - permissions: { - transactions: [TxTags.identity.CreateChildIdentity], - assets: [], - portfolios: [], - }, - }; -} - -/** - * @hidden - */ -export async function prepareStorage( - this: Procedure -): Promise { - const { context } = this; - - return { - identity: await context.getSigningIdentity(), - }; -} - -/** - * @hidden - */ -export const createChildIdentity = (): Procedure< - CreateChildIdentityParams, - ChildIdentity, - Storage -> => new Procedure(prepareCreateChildIdentity, getAuthorization, prepareStorage); diff --git a/src/api/procedures/createConfidentialAccount.ts b/src/api/procedures/createConfidentialAccount.ts index 94aee61bca..2a94ca6c76 100644 --- a/src/api/procedures/createConfidentialAccount.ts +++ b/src/api/procedures/createConfidentialAccount.ts @@ -1,6 +1,10 @@ -import { ConfidentialAccount, PolymeshError, Procedure } from '~/internal'; -import { CreateConfidentialAccountParams, ErrorCode, TxTags } from '~/types'; -import { ExtrinsicParams, TransactionSpec } from '~/types/internal'; +import { ErrorCode } from '@polymeshassociation/polymesh-sdk/types'; +import { TransactionSpec } from '@polymeshassociation/polymesh-sdk/types/internal'; + +import { ConfidentialProcedure } from '~/base/ConfidentialProcedure'; +import { ConfidentialAccount, PolymeshError } from '~/internal'; +import { CreateConfidentialAccountParams, TxTags } from '~/types'; +import { ExtrinsicParams } from '~/types/internal'; /** * @hidden @@ -11,7 +15,7 @@ export type Params = CreateConfidentialAccountParams; * @hidden */ export async function prepareCreateAccount( - this: Procedure, + this: ConfidentialProcedure, args: Params ): Promise< TransactionSpec> @@ -49,8 +53,8 @@ export async function prepareCreateAccount( /** * @hidden */ -export const createConfidentialAccount = (): Procedure => - new Procedure(prepareCreateAccount, { +export const createConfidentialAccount = (): ConfidentialProcedure => + new ConfidentialProcedure(prepareCreateAccount, { permissions: { transactions: [TxTags.confidentialAsset.CreateAccount], assets: [], diff --git a/src/api/procedures/createConfidentialAsset.ts b/src/api/procedures/createConfidentialAsset.ts index a6d81877b5..54194bc9f7 100644 --- a/src/api/procedures/createConfidentialAsset.ts +++ b/src/api/procedures/createConfidentialAsset.ts @@ -1,19 +1,21 @@ import { ISubmittableResult } from '@polkadot/types/types'; +import { TransactionSpec } from '@polymeshassociation/polymesh-sdk/types/internal'; +import { + asIdentity, + assertIdentityExists, + filterEventRecords, +} from '@polymeshassociation/polymesh-sdk/utils/internal'; -import { ConfidentialAsset, Context, Procedure } from '~/internal'; +import { ConfidentialProcedure } from '~/base/ConfidentialProcedure'; +import { ConfidentialAsset, Context } from '~/internal'; import { CreateConfidentialAssetParams, TxTags } from '~/types'; -import { ExtrinsicParams, TransactionSpec } from '~/types/internal'; +import { ExtrinsicParams } from '~/types/internal'; import { auditorsToConfidentialAuditors, meshConfidentialAssetToAssetId, stringToBytes, } from '~/utils/conversion'; -import { - asConfidentialAccount, - asIdentity, - assertIdentityExists, - filterEventRecords, -} from '~/utils/internal'; +import { asConfidentialAccount } from '~/utils/internal'; /** * @hidden @@ -36,7 +38,7 @@ export const createConfidentialAssetResolver = * @hidden */ export async function prepareCreateConfidentialAsset( - this: Procedure, + this: ConfidentialProcedure, args: Params ): Promise< TransactionSpec> @@ -69,8 +71,8 @@ export async function prepareCreateConfidentialAsset( /** * @hidden */ -export const createConfidentialAsset = (): Procedure => - new Procedure(prepareCreateConfidentialAsset, { +export const createConfidentialAsset = (): ConfidentialProcedure => + new ConfidentialProcedure(prepareCreateConfidentialAsset, { permissions: { transactions: [TxTags.confidentialAsset.CreateAsset], assets: [], diff --git a/src/api/procedures/createConfidentialVenue.ts b/src/api/procedures/createConfidentialVenue.ts index f3f74babf1..9cbe40e519 100644 --- a/src/api/procedures/createConfidentialVenue.ts +++ b/src/api/procedures/createConfidentialVenue.ts @@ -1,10 +1,12 @@ import { ISubmittableResult } from '@polkadot/types/types'; +import { TransactionSpec } from '@polymeshassociation/polymesh-sdk/types/internal'; +import { u64ToBigNumber } from '@polymeshassociation/polymesh-sdk/utils/conversion'; +import { filterEventRecords } from '@polymeshassociation/polymesh-sdk/utils/internal'; -import { ConfidentialVenue, Context, Procedure } from '~/internal'; -import { TxTags } from '~/types'; -import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; -import { u64ToBigNumber } from '~/utils/conversion'; -import { filterEventRecords } from '~/utils/internal'; +import { ConfidentialProcedure } from '~/base/ConfidentialProcedure'; +import { ConfidentialVenue, Context } from '~/internal'; +import { ConfidentialProcedureAuthorization, TxTags } from '~/types'; +import { ExtrinsicParams } from '~/types/internal'; /** * @hidden @@ -23,7 +25,7 @@ export const createConfidentialVenueResolver = * @hidden */ export async function prepareCreateConfidentialVenue( - this: Procedure + this: ConfidentialProcedure ): Promise< TransactionSpec> > { @@ -45,7 +47,9 @@ export async function prepareCreateConfidentialVenue( /** * @hidden */ -export function getAuthorization(this: Procedure): ProcedureAuthorization { +export function getAuthorization( + this: ConfidentialProcedure +): ConfidentialProcedureAuthorization { return { permissions: { transactions: [TxTags.confidentialAsset.CreateVenue], @@ -58,5 +62,5 @@ export function getAuthorization(this: Procedure): Proc /** * @hidden */ -export const createConfidentialVenue = (): Procedure => - new Procedure(prepareCreateConfidentialVenue, getAuthorization); +export const createConfidentialVenue = (): ConfidentialProcedure => + new ConfidentialProcedure(prepareCreateConfidentialVenue, getAuthorization); diff --git a/src/api/procedures/createGroup.ts b/src/api/procedures/createGroup.ts deleted file mode 100644 index d47146ecc5..0000000000 --- a/src/api/procedures/createGroup.ts +++ /dev/null @@ -1,98 +0,0 @@ -import { assertGroupDoesNotExist, createCreateGroupResolver } from '~/api/procedures/utils'; -import { CustomPermissionGroup, FungibleAsset, Procedure } from '~/internal'; -import { CreateGroupParams, TxTags } from '~/types'; -import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; -import { - permissionsLikeToPermissions, - stringToTicker, - transactionPermissionsToExtrinsicPermissions, -} from '~/utils/conversion'; - -/** - * @hidden - */ -export type Params = CreateGroupParams & { - ticker: string; -}; - -/** - * @hidden - */ -export interface Storage { - asset: FungibleAsset; -} - -/** - * @hidden - */ -export async function prepareCreateGroup( - this: Procedure, - args: Params -): Promise< - TransactionSpec> -> { - const { - context: { - polymeshApi: { - tx: { externalAgents }, - }, - }, - context, - storage: { asset }, - } = this; - const { ticker, permissions } = args; - - const rawTicker = stringToTicker(ticker, context); - const { transactions } = permissionsLikeToPermissions(permissions, context); - - await assertGroupDoesNotExist(asset, transactions); - - const rawExtrinsicPermissions = transactionPermissionsToExtrinsicPermissions( - transactions, - context - ); - - return { - transaction: externalAgents.createGroup, - args: [rawTicker, rawExtrinsicPermissions], - resolver: createCreateGroupResolver(context), - }; -} - -/** - * @hidden - */ -export function getAuthorization( - this: Procedure -): ProcedureAuthorization { - const { - storage: { asset }, - } = this; - return { - permissions: { - transactions: [TxTags.externalAgents.CreateGroup], - assets: [asset], - portfolios: [], - }, - }; -} - -/** - * @hidden - */ -export function prepareStorage( - this: Procedure, - { ticker }: Params -): Storage { - const { context } = this; - - return { - asset: new FungibleAsset({ ticker }, context), - }; -} - -/** - * @hidden - */ -export const createGroup = (): Procedure => - new Procedure(prepareCreateGroup, getAuthorization, prepareStorage); diff --git a/src/api/procedures/createMultiSig.ts b/src/api/procedures/createMultiSig.ts deleted file mode 100644 index ab1e9d51ce..0000000000 --- a/src/api/procedures/createMultiSig.ts +++ /dev/null @@ -1,57 +0,0 @@ -import { ISubmittableResult } from '@polkadot/types/types'; - -import { Context, MultiSig, PolymeshError, Procedure } from '~/internal'; -import { CreateMultiSigParams, ErrorCode, TxTags } from '~/types'; -import { ExtrinsicParams, TransactionSpec } from '~/types/internal'; -import { accountIdToString, bigNumberToU64, signerToSignatory } from '~/utils/conversion'; -import { filterEventRecords } from '~/utils/internal'; - -export const createMultiSigResolver = - (context: Context) => - (receipt: ISubmittableResult): MultiSig => { - const [{ data }] = filterEventRecords(receipt, 'multiSig', 'MultiSigCreated'); - const address = accountIdToString(data[1]); - return new MultiSig({ address }, context); - }; - -/** - * @hidden - */ -export async function prepareCreateMultiSigAccount( - this: Procedure, - args: CreateMultiSigParams -): Promise>> { - const { - context: { - polymeshApi: { tx }, - }, - context, - } = this; - const { signers, requiredSignatures } = args; - - if (requiredSignatures.gt(signers.length)) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'The number of required signatures should not exceed the number of signers', - }); - } - - const rawRequiredSignatures = bigNumberToU64(requiredSignatures, context); - const rawSignatories = signers.map(signer => signerToSignatory(signer, context)); - - return { - transaction: tx.multiSig.createMultisig, - resolver: createMultiSigResolver(context), - args: [rawSignatories, rawRequiredSignatures], - }; -} - -/** - * @hidden - */ -export const createMultiSigAccount = (): Procedure => - new Procedure(prepareCreateMultiSigAccount, { - permissions: { - transactions: [TxTags.multiSig.CreateMultisig], - }, - }); diff --git a/src/api/procedures/createNftCollection.ts b/src/api/procedures/createNftCollection.ts deleted file mode 100644 index cbee6689d4..0000000000 --- a/src/api/procedures/createNftCollection.ts +++ /dev/null @@ -1,360 +0,0 @@ -import { Bytes, u32 } from '@polkadot/types'; -import BigNumber from 'bignumber.js'; -import { values } from 'lodash'; - -import { addManualFees } from '~/api/procedures/utils'; -import { - BaseAsset, - FungibleAsset, - Identity, - NftCollection, - PolymeshError, - Procedure, - TickerReservation, -} from '~/internal'; -import { - CollectionKeyInput, - CreateNftCollectionParams, - ErrorCode, - GlobalCollectionKeyInput, - KnownNftType, - LocalCollectionKeyInput, - MetadataType, - RoleType, - TickerReservationStatus, - TxTag, - TxTags, -} from '~/types'; -import { BatchTransactionSpec, ProcedureAuthorization } from '~/types/internal'; -import { - assetDocumentToDocument, - bigNumberToU32, - booleanToBool, - collectionKeysToMetadataKeys, - internalAssetTypeToAssetType, - internalNftTypeToNftType, - metadataSpecToMeshMetadataSpec, - nameToAssetName, - securityIdentifierToAssetIdentifier, - stringToBytes, - stringToTicker, -} from '~/utils/conversion'; -import { checkTxType, isAlphanumeric } from '~/utils/internal'; - -/** - * @hidden - */ -function assertTickerOk(ticker: string): void { - if (!isAlphanumeric(ticker)) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'New Tickers can only contain alphanumeric values', - }); - } -} - -/** - * @hidden - */ -export type Params = CreateNftCollectionParams; - -/** - * @hidden - */ -export interface Storage { - /** - * fetched custom asset type ID and raw value in bytes. - * A null value means the type is not custom - */ - customTypeData: { - rawId: u32; - rawValue: Bytes; - } | null; - - status: TickerReservationStatus; - - signingIdentity: Identity; - - needsLocalMetadata: boolean; -} - -/** - * @hidden - */ -function isLocalMetadata(value: CollectionKeyInput): value is LocalCollectionKeyInput { - return value.type === MetadataType.Local; -} - -/** - * @hidden - */ -function isGlobalMetadata(value: CollectionKeyInput): value is GlobalCollectionKeyInput { - return value.type === MetadataType.Global; -} - -/** - * @hidden - */ -export async function prepareCreateNftCollection( - this: Procedure, - args: Params -): Promise> { - const { - context: { - polymeshApi: { tx }, - }, - context, - storage: { customTypeData, status }, - } = this; - const { ticker, nftType, name, securityIdentifiers = [], collectionKeys, documents } = args; - const internalNftType = customTypeData - ? { Custom: customTypeData.rawId } - : (nftType as KnownNftType); - const transactions = []; - - assertTickerOk(ticker); - - const rawTicker = stringToTicker(ticker, context); - const rawName = nameToAssetName(name ?? ticker, context); - const rawType = internalNftTypeToNftType(internalNftType, context); - const rawDivisibility = booleanToBool(false, context); - const rawIdentifiers = securityIdentifiers.map(identifier => - securityIdentifierToAssetIdentifier(identifier, context) - ); - const rawFundingRound = null; - - let nextLocalId = new BigNumber(1); - let fee: BigNumber | undefined; - if (status === TickerReservationStatus.Free) { - const rawAssetType = internalAssetTypeToAssetType({ NonFungible: internalNftType }, context); - fee = await addManualFees( - new BigNumber(0), - [TxTags.asset.RegisterTicker, TxTags.asset.CreateAsset, TxTags.nft.CreateNftCollection], - context - ); - - transactions.push( - checkTxType({ - transaction: tx.asset.createAsset, - args: [rawName, rawTicker, rawDivisibility, rawAssetType, rawIdentifiers, rawFundingRound], - }) - ); - } else if (status === TickerReservationStatus.Reserved) { - const rawAssetType = internalAssetTypeToAssetType({ NonFungible: internalNftType }, context); - fee = await addManualFees( - new BigNumber(0), - [TxTags.asset.CreateAsset, TxTags.nft.CreateNftCollection], - context - ); - transactions.push( - checkTxType({ - transaction: tx.asset.createAsset, - args: [rawName, rawTicker, rawDivisibility, rawAssetType, rawIdentifiers, rawFundingRound], - }) - ); - } else if (status === TickerReservationStatus.AssetCreated) { - /** - * assets can be created with type Nft, but not have a created collection, - * we handle this case to prevent a ticker getting stuck if it was initialized via non SDK methods - */ - const asset = new FungibleAsset({ ticker }, context); - let nonFungible; - [fee, { nonFungible }, nextLocalId] = await Promise.all([ - addManualFees(new BigNumber(0), [TxTags.nft.CreateNftCollection], context), - asset.details(), - asset.metadata.getNextLocalId(), - ]); - - if (!nonFungible) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'Only assets with type NFT can be turned into NFT collections', - }); - } - } - - const globalMetadataKeys = collectionKeys.filter(isGlobalMetadata); - const localMetadataKeys = collectionKeys.filter(isLocalMetadata); - - localMetadataKeys.forEach(localKey => { - const { name: metaName, spec } = localKey; - const rawMetadataName = stringToBytes(metaName, context); - const rawSpec = metadataSpecToMeshMetadataSpec(spec, context); - - transactions.push( - checkTxType({ - transaction: tx.asset.registerAssetMetadataLocalType, - args: [rawTicker, rawMetadataName, rawSpec], - }) - ); - }); - - const keyValues = [ - ...globalMetadataKeys, - ...localMetadataKeys.map((key, index) => { - return { - type: MetadataType.Local, - id: nextLocalId.plus(index), - }; - }), - ]; - - const rawCollectionKeys = collectionKeysToMetadataKeys(keyValues, context); - - if (documents?.length) { - const rawDocuments = documents.map(doc => assetDocumentToDocument(doc, context)); - - const feeMultiplier = new BigNumber(rawDocuments.length); - - transactions.push( - checkTxType({ - transaction: tx.asset.addDocuments, - feeMultiplier, - args: [rawDocuments, rawTicker], - }) - ); - } - - transactions.push( - checkTxType({ - transaction: tx.nft.createNftCollection, - fee, - args: [rawTicker, rawType, rawCollectionKeys], - }) - ); - - return { - transactions, - resolver: new NftCollection({ ticker }, context), - }; -} - -/** - * @hidden - */ -export async function getAuthorization( - this: Procedure, - { ticker, documents }: Params -): Promise { - const { - storage: { status, needsLocalMetadata }, - context, - } = this; - - const transactions: TxTag[] = [TxTags.nft.CreateNftCollection]; - - if (status !== TickerReservationStatus.AssetCreated) { - transactions.push(TxTags.asset.CreateAsset); - } - - if (needsLocalMetadata) { - transactions.push(TxTags.asset.RegisterAssetMetadataLocalType); - } - - if (documents?.length) { - transactions.push(TxTags.asset.AddDocuments); - } - - const permissions = { - transactions, - assets: [], - portfolios: [], - }; - - if (status === TickerReservationStatus.Reserved) { - return { - permissions, - roles: [{ type: RoleType.TickerOwner, ticker }], - }; - } else if (status === TickerReservationStatus.AssetCreated) { - return { - permissions: { - ...permissions, - assets: [new BaseAsset({ ticker }, context)], - }, - }; - } - - return { permissions }; -} - -/** - * @hidden - */ -export async function prepareStorage( - this: Procedure, - { ticker, nftType, collectionKeys }: Params -): Promise { - const { context } = this; - - const needsLocalMetadata = collectionKeys.some(isLocalMetadata); - const reservation = new TickerReservation({ ticker }, context); - - const nft = new NftCollection({ ticker }, context); - - const [{ status }, signingIdentity, collectionExists] = await Promise.all([ - reservation.details(), - context.getSigningIdentity(), - nft.exists(), - ]); - - if (collectionExists) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'An NFT collection already exists with the ticker', - data: { ticker }, - }); - } - - let customTypeData: Storage['customTypeData']; - - if (nftType instanceof BigNumber) { - const rawId = bigNumberToU32(nftType, context); - const rawValue = await context.polymeshApi.query.asset.customTypes(rawId); - - if (rawValue.isEmpty) { - throw new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: - 'createNftCollection was given a custom type ID that does not have an corresponding value', - data: { nftType }, - }); - } - - customTypeData = { - rawId, - rawValue, - }; - } else if (!values(KnownNftType).includes(nftType)) { - const rawValue = stringToBytes(nftType, context); - const rawId = await context.polymeshApi.query.asset.customTypesInverse(rawValue); - if (rawId.isNone) { - throw new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: - 'createNftCollection procedure was given a custom type string that does not have a corresponding ID. Register the type and try again', - data: { nftType }, - }); - } - - customTypeData = { - rawId: rawId.unwrap(), - rawValue, - }; - } else { - customTypeData = null; - } - - return { - customTypeData, - status, - signingIdentity, - needsLocalMetadata, - }; -} - -/** - * @hidden - */ -export const createNftCollection = (): Procedure => - new Procedure(prepareCreateNftCollection, getAuthorization, prepareStorage); diff --git a/src/api/procedures/createPortfolios.ts b/src/api/procedures/createPortfolios.ts deleted file mode 100644 index 0f2412408c..0000000000 --- a/src/api/procedures/createPortfolios.ts +++ /dev/null @@ -1,101 +0,0 @@ -import { ISubmittableResult } from '@polkadot/types/types'; - -import { Context, NumberedPortfolio, PolymeshError, Procedure } from '~/internal'; -import { ErrorCode, TxTags } from '~/types'; -import { BatchTransactionSpec, ExtrinsicParams } from '~/types/internal'; -import { - identityIdToString, - stringToBytes, - stringToIdentityId, - u64ToBigNumber, -} from '~/utils/conversion'; -import { filterEventRecords, getPortfolioIdsByName } from '~/utils/internal'; - -/** - * @hidden - */ -export interface Params { - names: string[]; -} - -/** - * @hidden - */ -export const createPortfoliosResolver = - (context: Context) => - (receipt: ISubmittableResult): NumberedPortfolio[] => { - const records = filterEventRecords(receipt, 'portfolio', 'PortfolioCreated'); - - return records.map(({ data }) => { - const did = identityIdToString(data[0]); - const id = u64ToBigNumber(data[1]); - - return new NumberedPortfolio({ did, id }, context); - }); - }; - -/** - * @hidden - */ -export async function prepareCreatePortfolios( - this: Procedure, - args: Params -): Promise< - BatchTransactionSpec[]> -> { - const { - context: { - polymeshApi: { tx }, - }, - context, - } = this; - const { names: portfolioNames } = args; - - const { did } = await context.getSigningIdentity(); - - const rawIdentityId = stringToIdentityId(did, context); - - const rawNames = portfolioNames.map(name => stringToBytes(name, context)); - - const portfolioIds = await getPortfolioIdsByName(rawIdentityId, rawNames, context); - - const existingNames: string[] = []; - - portfolioIds.forEach((id, index) => { - if (id) { - existingNames.push(portfolioNames[index]); - } - }); - - if (existingNames.length) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'There already exist Portfolios with some of the given names', - data: { - existingNames, - }, - }); - } - - const transaction = tx.portfolio.createPortfolio; - - return { - transactions: rawNames.map(name => ({ - transaction, - args: [name], - })), - resolver: createPortfoliosResolver(context), - }; -} - -/** - * @hidden - */ -export const createPortfolios = (): Procedure => - new Procedure(prepareCreatePortfolios, { - permissions: { - transactions: [TxTags.portfolio.CreatePortfolio], - assets: [], - portfolios: [], - }, - }); diff --git a/src/api/procedures/createTransactionBatch.ts b/src/api/procedures/createTransactionBatch.ts deleted file mode 100644 index 59d144562f..0000000000 --- a/src/api/procedures/createTransactionBatch.ts +++ /dev/null @@ -1,151 +0,0 @@ -import { ISubmittableResult } from '@polkadot/types/types'; -import { identity } from 'lodash'; - -import { PolymeshTransaction, PolymeshTransactionBatch, Procedure } from '~/internal'; -import { CreateTransactionBatchParams, TxTag, TxTags } from '~/types'; -import { - BatchTransactionSpec, - isResolverFunction, - ProcedureAuthorization, - ResolverFunction, - TransactionSpec, - TxWithArgs, -} from '~/types/internal'; -import { isPolymeshTransaction } from '~/utils'; -import { transactionToTxTag } from '~/utils/conversion'; -import { sliceBatchReceipt } from '~/utils/internal'; - -export interface Storage { - processedTransactions: TxWithArgs[]; - tags: TxTag[]; - resolvers: ResolverFunction[]; -} - -/** - * @hidden - */ -export async function prepareCreateTransactionBatch( - this: Procedure, ReturnValues, Storage> -): Promise> { - const { processedTransactions: transactions, resolvers } = this.storage; - - return { - transactions, - resolver: receipt => - Promise.all(resolvers.map(resolver => resolver(receipt))) as Promise, - }; -} - -/** - * @hidden - */ -export function getAuthorization( - this: Procedure, ReturnValues, Storage> -): ProcedureAuthorization { - const { - storage: { tags }, - } = this; - - return { - permissions: { - transactions: [...tags, TxTags.utility.BatchAll], - }, - }; -} - -/** - * @hidden - */ -export function prepareStorage( - this: Procedure, ReturnValues, Storage>, - args: CreateTransactionBatchParams -): Storage { - const { transactions: inputTransactions } = args; - - const resolvers: ResolverFunction[] = []; - const transactions: TxWithArgs[] = []; - const tags: TxTag[] = []; - - /* - * We extract each transaction spec and build an array of all transactions (with args and fees), resolvers and transformers, - * to create a new batch spec that contains everything. We use the resolvers and transformers to - * create one big resolver that returns an array of the transformed results of each transaction - * - * We also get the tags of all transactions to check for permissions. This is necessary even though permissions were checked when - * building the individual transactions, since some transactions can be run individually without having an Identity, but these special rules are ignored - * when running them as part of a batch - */ - inputTransactions.forEach(transaction => { - let spec: TransactionSpec | BatchTransactionSpec; - - const startIndex = transactions.length; - - if (isPolymeshTransaction(transaction)) { - spec = PolymeshTransaction.toTransactionSpec(transaction); - const { transaction: tx, args: txArgs, fee, feeMultiplier } = spec; - - transactions.push({ - transaction: tx, - args: txArgs, - fee, - feeMultiplier, - }); - - tags.push(transactionToTxTag(tx)); - } else { - spec = PolymeshTransactionBatch.toTransactionSpec(transaction); - const { transactions: batchTransactions } = spec; - - batchTransactions.forEach(({ transaction: tx, args: txArgs, fee, feeMultiplier }) => { - transactions.push({ - transaction: tx, - args: txArgs, - fee, - feeMultiplier, - }); - - tags.push(transactionToTxTag(tx)); - }); - } - - const { transformer = identity, resolver } = spec; - - const endIndex = transactions.length; - - /* - * We pass the subset of events to the resolver that only correspond to the - * transactions added in this iteration, and pass the result through the transformer, if any - */ - resolvers.push(async (receipt: ISubmittableResult) => { - let value; - - if (isResolverFunction(resolver)) { - value = resolver(sliceBatchReceipt(receipt, startIndex, endIndex)); - } else { - value = resolver; - } - - return transformer(value); - }); - }); - - return { - processedTransactions: transactions, - resolvers, - tags, - }; -} - -/** - * @hidden - */ -export const createTransactionBatch = (): Procedure< - CreateTransactionBatchParams, - ReturnValues, - Storage -> => - new Procedure, ReturnValues, Storage>( - prepareCreateTransactionBatch, - getAuthorization, - prepareStorage - ); diff --git a/src/api/procedures/createVenue.ts b/src/api/procedures/createVenue.ts deleted file mode 100644 index b4cd5cd1b4..0000000000 --- a/src/api/procedures/createVenue.ts +++ /dev/null @@ -1,59 +0,0 @@ -import { ISubmittableResult } from '@polkadot/types/types'; - -import { Context, Procedure, Venue } from '~/internal'; -import { CreateVenueParams, TxTags } from '~/types'; -import { ExtrinsicParams, TransactionSpec } from '~/types/internal'; -import { stringToBytes, u64ToBigNumber, venueTypeToMeshVenueType } from '~/utils/conversion'; -import { filterEventRecords } from '~/utils/internal'; - -/** - * @hidden - */ -export const createCreateVenueResolver = - (context: Context) => - (receipt: ISubmittableResult): Venue => { - const [{ data }] = filterEventRecords(receipt, 'settlement', 'VenueCreated'); - const id = u64ToBigNumber(data[1]); - - return new Venue({ id }, context); - }; - -/** - * @hidden - */ -export async function prepareCreateVenue( - this: Procedure, - args: CreateVenueParams -): Promise>> { - const { - context: { - polymeshApi: { - tx: { settlement }, - }, - }, - context, - } = this; - const { description, type } = args; - - const rawDetails = stringToBytes(description, context); - const rawType = venueTypeToMeshVenueType(type, context); - - // NOTE @monitz87: we're sending an empty signer array for the moment - return { - transaction: settlement.createVenue, - args: [rawDetails, [], rawType], - resolver: createCreateVenueResolver(context), - }; -} - -/** - * @hidden - */ -export const createVenue = (): Procedure => - new Procedure(prepareCreateVenue, { - permissions: { - transactions: [TxTags.settlement.CreateVenue], - assets: [], - portfolios: [], - }, - }); diff --git a/src/api/procedures/deletePortfolio.ts b/src/api/procedures/deletePortfolio.ts deleted file mode 100644 index acb4da5dbd..0000000000 --- a/src/api/procedures/deletePortfolio.ts +++ /dev/null @@ -1,83 +0,0 @@ -import BigNumber from 'bignumber.js'; - -import { NumberedPortfolio, PolymeshError, Procedure } from '~/internal'; -import { ErrorCode, RoleType, TxTags } from '~/types'; -import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; -import { bigNumberToU64, portfolioLikeToPortfolio } from '~/utils/conversion'; - -export interface DeletePortfolioParams { - did: string; - id: BigNumber; -} - -/** - * @hidden - */ -export async function prepareDeletePortfolio( - this: Procedure, - args: DeletePortfolioParams -): Promise>> { - const { - context: { - polymeshApi: { - tx: { portfolio }, - }, - }, - context, - } = this; - - const { did, id } = args; - - const numberedPortfolio = new NumberedPortfolio({ did, id }, context); - const rawPortfolioNumber = bigNumberToU64(id, context); - - const [exists, portfolioBalances] = await Promise.all([ - numberedPortfolio.exists(), - numberedPortfolio.getAssetBalances(), - ]); - - if (!exists) { - throw new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: "The Portfolio doesn't exist", - }); - } - - if (portfolioBalances.some(({ total }) => total.gt(0))) { - throw new PolymeshError({ - code: ErrorCode.EntityInUse, - message: 'Only empty Portfolios can be deleted', - }); - } - - return { - transaction: portfolio.deletePortfolio, - args: [rawPortfolioNumber], - resolver: undefined, - }; -} - -/** - * @hidden - */ -export function getAuthorization( - this: Procedure, - { did, id }: DeletePortfolioParams -): ProcedureAuthorization { - const { context } = this; - const portfolioId = { did, number: id }; - return { - roles: [{ type: RoleType.PortfolioCustodian, portfolioId }], - permissions: { - transactions: [TxTags.portfolio.DeletePortfolio], - portfolios: [portfolioLikeToPortfolio({ identity: did, id }, context)], - assets: [], - }, - }; -} - -/** - * @hidden - */ -export const deletePortfolio = (): Procedure => - new Procedure(prepareDeletePortfolio, getAuthorization); diff --git a/src/api/procedures/evaluateMultiSigProposal.ts b/src/api/procedures/evaluateMultiSigProposal.ts deleted file mode 100644 index 0238f2e446..0000000000 --- a/src/api/procedures/evaluateMultiSigProposal.ts +++ /dev/null @@ -1,129 +0,0 @@ -import { MultiSigProposal, PolymeshError, Procedure } from '~/internal'; -import { ErrorCode, MultiSigProposalAction, ProposalStatus } from '~/types'; -import { ExtrinsicParams, TransactionSpec } from '~/types/internal'; -import { - bigNumberToU64, - boolToBoolean, - signerToSignatory, - signerToSignerValue, - stringToAccountId, -} from '~/utils/conversion'; - -/** - * @hidden - */ -export interface MultiSigProposalVoteParams { - action: MultiSigProposalAction; - proposal: MultiSigProposal; -} - -/** - * @hidden - */ -export async function prepareMultiSigProposalEvaluation( - this: Procedure, - args: MultiSigProposalVoteParams -): Promise< - | TransactionSpec> - | TransactionSpec> -> { - const { - context: { - polymeshApi: { - tx: { multiSig }, - query: { - multiSig: { votes }, - }, - }, - }, - context, - } = this; - const { - proposal: { - id, - multiSig: { address: multiSigAddress }, - }, - proposal, - action, - } = args; - - const rawMultiSigAddress = stringToAccountId(multiSigAddress, context); - const rawProposalId = bigNumberToU64(id, context); - const signingAccount = context.getSigningAccount(); - - const rawSigner = signerToSignatory(signingAccount, context); - - const [creator, { signers: multiSigSigners }, { status }, hasVoted] = await Promise.all([ - proposal.multiSig.getCreator(), - proposal.multiSig.details(), - proposal.details(), - votes([rawMultiSigAddress, rawProposalId], rawSigner), - ]); - - if ( - !multiSigSigners.some( - multiSigSigner => signerToSignerValue(multiSigSigner).value === signingAccount.address - ) - ) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'The signing Account is not a signer of the MultiSig', - }); - } - - if (boolToBoolean(hasVoted)) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'The signing Account has already voted for this MultiSig Proposal', - }); - } - - let errorCode = ErrorCode.UnmetPrerequisite; - let message; - - switch (status) { - case ProposalStatus.Invalid: - errorCode = ErrorCode.DataUnavailable; - message = 'The MultiSig Proposal does not exist'; - break; - case ProposalStatus.Rejected: - message = 'The MultiSig Proposal has already been rejected'; - break; - case ProposalStatus.Successful: - case ProposalStatus.Failed: - message = 'The MultiSig Proposal has already been executed'; - break; - case ProposalStatus.Expired: - message = 'The MultiSig Proposal has expired'; - break; - } - - if (message) { - throw new PolymeshError({ - code: errorCode, - message, - }); - } - - let transaction; - if (action === MultiSigProposalAction.Approve) { - transaction = multiSig.approveAsKey; - } else { - transaction = multiSig.rejectAsKey; - } - - return { - transaction, - paidForBy: creator, - args: [rawMultiSigAddress, rawProposalId], - resolver: undefined, - }; -} - -/** - * @hidden - */ -export const evaluateMultiSigProposal = (): Procedure => - new Procedure(prepareMultiSigProposalEvaluation, { - signerPermissions: true, - }); diff --git a/src/api/procedures/executeConfidentialTransaction.ts b/src/api/procedures/executeConfidentialTransaction.ts index 3dbd604518..fed333e5d6 100644 --- a/src/api/procedures/executeConfidentialTransaction.ts +++ b/src/api/procedures/executeConfidentialTransaction.ts @@ -1,9 +1,12 @@ +import { ErrorCode } from '@polymeshassociation/polymesh-sdk/types'; +import { TransactionSpec } from '@polymeshassociation/polymesh-sdk/types/internal'; +import { bigNumberToU32, bigNumberToU64 } from '@polymeshassociation/polymesh-sdk/utils/conversion'; import BigNumber from 'bignumber.js'; -import { ConfidentialTransaction, PolymeshError, Procedure } from '~/internal'; -import { ConfidentialTransactionStatus, ErrorCode, TxTags } from '~/types'; -import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; -import { bigNumberToU32, bigNumberToU64 } from '~/utils/conversion'; +import { ConfidentialProcedure } from '~/base/ConfidentialProcedure'; +import { ConfidentialTransaction, PolymeshError } from '~/internal'; +import { ConfidentialProcedureAuthorization, ConfidentialTransactionStatus, TxTags } from '~/types'; +import { ExtrinsicParams } from '~/types/internal'; export interface ExecuteConfidentialTransactionParams { transaction: ConfidentialTransaction; @@ -13,7 +16,7 @@ export interface ExecuteConfidentialTransactionParams { * @hidden */ export async function prepareExecuteConfidentialTransaction( - this: Procedure, + this: ConfidentialProcedure, args: ExecuteConfidentialTransactionParams ): Promise< TransactionSpec< @@ -83,8 +86,8 @@ export async function prepareExecuteConfidentialTransaction( * @hidden */ export async function getAuthorization( - this: Procedure -): Promise { + this: ConfidentialProcedure +): Promise { return { permissions: { transactions: [TxTags.confidentialAsset.ExecuteTransaction], @@ -97,7 +100,7 @@ export async function getAuthorization( /** * @hidden */ -export const executeConfidentialTransaction = (): Procedure< +export const executeConfidentialTransaction = (): ConfidentialProcedure< ExecuteConfidentialTransactionParams, ConfidentialTransaction -> => new Procedure(prepareExecuteConfidentialTransaction, getAuthorization); +> => new ConfidentialProcedure(prepareExecuteConfidentialTransaction, getAuthorization); diff --git a/src/api/procedures/executeManualInstruction.ts b/src/api/procedures/executeManualInstruction.ts deleted file mode 100644 index 68e185f848..0000000000 --- a/src/api/procedures/executeManualInstruction.ts +++ /dev/null @@ -1,177 +0,0 @@ -import { PolymeshPrimitivesIdentityIdPortfolioId } from '@polkadot/types/lookup'; -import P from 'bluebird'; - -import { assertInstructionValidForManualExecution } from '~/api/procedures/utils'; -import { Instruction, PolymeshError, Procedure } from '~/internal'; -import { - DefaultPortfolio, - ErrorCode, - ExecuteManualInstructionParams, - InstructionDetails, - Leg, - NumberedPortfolio, - TxTags, -} from '~/types'; -import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; -import { - bigNumberToU64, - portfolioIdToMeshPortfolioId, - portfolioLikeToPortfolioId, - u64ToBigNumber, -} from '~/utils/conversion'; - -export interface Storage { - portfolios: (DefaultPortfolio | NumberedPortfolio)[]; - instructionDetails: InstructionDetails; - signerDid: string; -} - -/** - * @hidden - */ -export async function prepareExecuteManualInstruction( - this: Procedure, - args: ExecuteManualInstructionParams -): Promise< - TransactionSpec> -> { - const { - context: { - polymeshApi: { - tx: { settlement: settlementTx }, - query: { settlement }, - rpc, - }, - }, - context, - storage: { portfolios, instructionDetails, signerDid }, - } = this; - - const { id, skipAffirmationCheck } = args; - - const instruction = new Instruction({ id }, context); - - await assertInstructionValidForManualExecution(instructionDetails, context); - - if (!portfolios.length) { - const { - owner: { did: venueOwner }, - } = await instructionDetails.venue.details(); - - if (venueOwner !== signerDid) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'The signing identity is not involved in this Instruction', - }); - } - } - - const rawInstructionId = bigNumberToU64(id, context); - const rawPortfolioIds: PolymeshPrimitivesIdentityIdPortfolioId[] = portfolios.map(portfolio => - portfolioIdToMeshPortfolioId(portfolioLikeToPortfolioId(portfolio), context) - ); - - if (!skipAffirmationCheck) { - const pendingAffirmationsCount = await settlement.instructionAffirmsPending(rawInstructionId); - if (!u64ToBigNumber(pendingAffirmationsCount).isZero()) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'Instruction needs to be affirmed by all parties before it can be executed', - data: { - pendingAffirmationsCount, - }, - }); - } - } - - const { fungibleTokens, nonFungibleTokens, offChainAssets, consumedWeight } = - await rpc.settlement.getExecuteInstructionInfo(rawInstructionId); - - return { - transaction: settlementTx.executeManualInstruction, - resolver: instruction, - args: [ - rawInstructionId, - rawPortfolioIds.length ? rawPortfolioIds[0] : null, - fungibleTokens, - nonFungibleTokens, - offChainAssets, - consumedWeight, - ], - }; -} - -/** - * @hidden - */ -export async function getAuthorization( - this: Procedure -): Promise { - const { - storage: { portfolios }, - } = this; - - return { - permissions: { - portfolios, - transactions: [TxTags.settlement.ExecuteManualInstruction], - assets: [], - }, - }; -} - -/** - * @hidden - */ -export async function prepareStorage( - this: Procedure, - { id }: ExecuteManualInstructionParams -): Promise { - const { context } = this; - - const instruction = new Instruction({ id }, context); - - const [{ data: legs }, { did }, details] = await Promise.all([ - instruction.getLegs(), - context.getSigningIdentity(), - instruction.details(), - ]); - - const portfolios = await P.reduce( - legs, - async (custodiedPortfolios, { from, to }) => { - const [fromIsCustodied, toIsCustodied] = await Promise.all([ - from.isCustodiedBy({ identity: did }), - to.isCustodiedBy({ identity: did }), - ]); - - const result = [...custodiedPortfolios]; - - if (fromIsCustodied) { - result.push(from); - } - - if (toIsCustodied) { - result.push(to); - } - - return result; - }, - [] - ); - - return { - portfolios, - instructionDetails: details, - signerDid: did, - }; -} - -/** - * @hidden - */ -export const executeManualInstruction = (): Procedure< - ExecuteManualInstructionParams, - Instruction, - Storage -> => new Procedure(prepareExecuteManualInstruction, getAuthorization, prepareStorage); diff --git a/src/api/procedures/investInOffering.ts b/src/api/procedures/investInOffering.ts deleted file mode 100644 index 9e98f3d03f..0000000000 --- a/src/api/procedures/investInOffering.ts +++ /dev/null @@ -1,226 +0,0 @@ -import BigNumber from 'bignumber.js'; - -import { Offering, PolymeshError, Procedure } from '~/internal'; -import { - ErrorCode, - InvestInOfferingParams, - OfferingSaleStatus, - OfferingTimingStatus, - PortfolioId, - RoleType, - Tier, - TxTags, -} from '~/types'; -import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; -import { - bigNumberToBalance, - bigNumberToU64, - portfolioIdToMeshPortfolioId, - portfolioIdToPortfolio, - portfolioLikeToPortfolioId, - stringToTicker, -} from '~/utils/conversion'; -import { optionize } from '~/utils/internal'; - -/** - * @hidden - */ -export type Params = InvestInOfferingParams & { - id: BigNumber; - ticker: string; -}; - -/** - * @hidden - */ -export interface Storage { - purchasePortfolioId: PortfolioId; - fundingPortfolioId: PortfolioId; -} - -/** - * @hidden - */ -interface TierStats { - remainingTotal: BigNumber; - price: BigNumber; - remainingToPurchase: BigNumber; -} - -/** - * @hidden - */ -export const calculateTierStats = ( - tiers: Tier[], - purchaseAmount: BigNumber, - maxPrice?: BigNumber -): Omit => { - const { remainingTotal, price: calculatedPrice } = tiers.reduce( - ( - { - remainingToPurchase: prevRemainingToPurchase, - remainingTotal: prevRemainingTotal, - price: prevPrice, - }, - { remaining, price } - ) => { - if (!prevRemainingToPurchase.isZero()) { - const tierPurchaseAmount = BigNumber.minimum(remaining, prevRemainingToPurchase); - const newRemainingTotal = prevRemainingTotal.plus(tierPurchaseAmount); - const newPrice = prevPrice.plus(tierPurchaseAmount.multipliedBy(price)); - const newRemainingToPurchase = prevRemainingToPurchase.minus(tierPurchaseAmount); - const newAvgPrice = newPrice.dividedBy(purchaseAmount.minus(newRemainingToPurchase)); - - if (!maxPrice || newAvgPrice.lte(maxPrice)) { - return { - remainingTotal: newRemainingTotal, - price: newPrice, - remainingToPurchase: newRemainingToPurchase, - }; - } - } - - return { - remainingTotal: prevRemainingTotal, - price: prevPrice, - remainingToPurchase: prevRemainingToPurchase, - }; - }, - { - remainingTotal: new BigNumber(0), - price: new BigNumber(0), - remainingToPurchase: purchaseAmount, - } - ); - - return { - remainingTotal, - price: calculatedPrice, - }; -}; - -/** - * @hidden - */ -export async function prepareInvestInSto( - this: Procedure, - args: Params -): Promise>> { - const { - context: { - polymeshApi: { - tx: { sto: txSto }, - }, - }, - context, - storage: { purchasePortfolioId, fundingPortfolioId }, - } = this; - const { ticker, id, purchaseAmount, maxPrice } = args; - - const offering = new Offering({ ticker, id }, context); - - const portfolio = portfolioIdToPortfolio(fundingPortfolioId, context); - - const { - status: { sale, timing }, - minInvestment, - tiers, - raisingCurrency, - } = await offering.details(); - - const [{ free: freeAssetBalance }] = await portfolio.getAssetBalances({ - assets: [raisingCurrency], - }); - - if (sale !== OfferingSaleStatus.Live || timing !== OfferingTimingStatus.Started) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'The Offering is not accepting investments at the moment', - }); - } - - const { remainingTotal, price: priceTotal } = calculateTierStats(tiers, purchaseAmount, maxPrice); - - if (priceTotal.lt(minInvestment)) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'Minimum investment not reached', - data: { priceTotal }, - }); - } - - if (freeAssetBalance.lt(priceTotal)) { - throw new PolymeshError({ - code: ErrorCode.InsufficientBalance, - message: 'The Portfolio does not have enough free balance for this investment', - data: { free: freeAssetBalance, priceTotal }, - }); - } - - if (remainingTotal.lt(purchaseAmount)) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: `The Offering does not have enough remaining tokens${ - maxPrice ? ' below the stipulated max price' : '' - }`, - }); - } - - return { - transaction: txSto.invest, - args: [ - portfolioIdToMeshPortfolioId(purchasePortfolioId, context), - portfolioIdToMeshPortfolioId(fundingPortfolioId, context), - stringToTicker(ticker, context), - bigNumberToU64(id, context), - bigNumberToBalance(purchaseAmount, context), - optionize(bigNumberToBalance)(maxPrice, context), - null, - ], - resolver: undefined, - }; -} - -/** - * @hidden - */ -export function getAuthorization(this: Procedure): ProcedureAuthorization { - const { - storage: { purchasePortfolioId, fundingPortfolioId }, - context, - } = this; - - return { - roles: [ - { type: RoleType.PortfolioCustodian, portfolioId: purchasePortfolioId }, - { type: RoleType.PortfolioCustodian, portfolioId: fundingPortfolioId }, - ], - permissions: { - transactions: [TxTags.sto.Invest], - assets: [], - portfolios: [ - portfolioIdToPortfolio(purchasePortfolioId, context), - portfolioIdToPortfolio(fundingPortfolioId, context), - ], - }, - }; -} - -/** - * @hidden - */ -export function prepareStorage( - this: Procedure, - { purchasePortfolio, fundingPortfolio }: Params -): Storage { - return { - purchasePortfolioId: portfolioLikeToPortfolioId(purchasePortfolio), - fundingPortfolioId: portfolioLikeToPortfolioId(fundingPortfolio), - }; -} - -/** - * @hidden - */ -export const investInOffering = (): Procedure => - new Procedure(prepareInvestInSto, getAuthorization, prepareStorage); diff --git a/src/api/procedures/inviteAccount.ts b/src/api/procedures/inviteAccount.ts deleted file mode 100644 index cadd70a40f..0000000000 --- a/src/api/procedures/inviteAccount.ts +++ /dev/null @@ -1,104 +0,0 @@ -import { createAuthorizationResolver } from '~/api/procedures/utils'; -import { AuthorizationRequest, PolymeshError, Procedure } from '~/internal'; -import { - Authorization, - AuthorizationType, - ErrorCode, - InviteAccountParams, - Permissions, - PermissionType, - SignerType, - TxTags, -} from '~/types'; -import { ExtrinsicParams, TransactionSpec } from '~/types/internal'; -import { - authorizationToAuthorizationData, - dateToMoment, - permissionsLikeToPermissions, - signerToString, - signerValueToSignatory, -} from '~/utils/conversion'; -import { asAccount, assertNoPendingAuthorizationExists, optionize } from '~/utils/internal'; - -/** - * @hidden - */ -export async function prepareInviteAccount( - this: Procedure, - args: InviteAccountParams -): Promise>> { - const { - context: { - polymeshApi: { tx }, - }, - context, - } = this; - - const { targetAccount, permissions: permissionsLike, expiry = null } = args; - - const identity = await context.getSigningIdentity(); - - const address = signerToString(targetAccount); - - const account = asAccount(targetAccount, context); - - const [authorizationRequests, existingIdentity] = await Promise.all([ - identity.authorizations.getSent(), - account.getIdentity(), - ] as const); - - if (existingIdentity) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'The target Account is already part of an Identity', - }); - } - - assertNoPendingAuthorizationExists({ - authorizationRequests: authorizationRequests.data, - target: address, - message: 'The target Account already has a pending invitation to join this Identity', - authorization: { type: AuthorizationType.JoinIdentity }, - }); - - const rawSignatory = signerValueToSignatory( - { type: SignerType.Account, value: address }, - context - ); - - let authorizationValue: Permissions = { - assets: { type: PermissionType.Include, values: [] }, - transactions: { type: PermissionType.Include, values: [] }, - transactionGroups: [], - portfolios: { type: PermissionType.Include, values: [] }, - }; - - if (permissionsLike) { - authorizationValue = permissionsLikeToPermissions(permissionsLike, context); - } - - const authRequest: Authorization = { - type: AuthorizationType.JoinIdentity, - value: authorizationValue, - }; - const rawAuthorizationData = authorizationToAuthorizationData(authRequest, context); - const rawExpiry = optionize(dateToMoment)(expiry, context); - - return { - transaction: tx.identity.addAuthorization, - args: [rawSignatory, rawAuthorizationData, rawExpiry], - resolver: createAuthorizationResolver(authRequest, identity, account, expiry, context), - }; -} - -/** - * @hidden - */ -export const inviteAccount = (): Procedure => - new Procedure(prepareInviteAccount, { - permissions: { - transactions: [TxTags.identity.AddAuthorization], - assets: [], - portfolios: [], - }, - }); diff --git a/src/api/procedures/inviteExternalAgent.ts b/src/api/procedures/inviteExternalAgent.ts deleted file mode 100644 index 3f305998cd..0000000000 --- a/src/api/procedures/inviteExternalAgent.ts +++ /dev/null @@ -1,197 +0,0 @@ -import { ISubmittableResult } from '@polkadot/types/types'; - -import { createAuthorizationResolver, getGroupFromPermissions } from '~/api/procedures/utils'; -import { - AuthorizationRequest, - BaseAsset, - CustomPermissionGroup, - Identity, - KnownPermissionGroup, - PolymeshError, - Procedure, -} from '~/internal'; -import { - Authorization, - AuthorizationType, - ErrorCode, - InviteExternalAgentParams, - SignerType, - TxTags, -} from '~/types'; -import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; -import { - authorizationToAuthorizationData, - dateToMoment, - permissionsLikeToPermissions, - signerToString, - signerValueToSignatory, - stringToIdentityId, - stringToTicker, - transactionPermissionsToExtrinsicPermissions, - u64ToBigNumber, -} from '~/utils/conversion'; -import { filterEventRecords, optionize } from '~/utils/internal'; - -export const createGroupAndAuthorizationResolver = - (target: Identity) => - (receipt: ISubmittableResult): Promise => { - const [{ data }] = filterEventRecords(receipt, 'identity', 'AuthorizationAdded'); - - const id = u64ToBigNumber(data[3]); - - return target.authorizations.getOne({ id }); - }; - -/** - * @hidden - */ -export type Params = InviteExternalAgentParams & { - ticker: string; -}; - -/** - * @hidden - */ -export interface Storage { - asset: BaseAsset; -} - -/** - * @hidden - */ -export async function prepareInviteExternalAgent( - this: Procedure, - args: Params -): Promise< - | TransactionSpec< - AuthorizationRequest, - ExtrinsicParams<'externalAgents', 'createGroupAndAddAuth'> - > - | TransactionSpec> -> { - const { - context: { - polymeshApi: { - tx: { identity, externalAgents }, - }, - }, - context, - storage: { asset }, - } = this; - - const { ticker, target, permissions, expiry = null } = args; - - const issuer = await context.getSigningIdentity(); - const targetIdentity = await context.getIdentity(target); - - const currentAgents = await asset.permissions.getAgents(); - - const isAgent = !!currentAgents.find(({ agent }) => agent.isEqual(targetIdentity)); - - if (isAgent) { - throw new PolymeshError({ - code: ErrorCode.NoDataChange, - message: 'The target Identity is already an External Agent', - }); - } - - const targetDid = signerToString(target); - - const rawSignatory = signerValueToSignatory( - { type: SignerType.Identity, value: targetDid }, - context - ); - - let newAuthorizationData: Authorization; - let rawAuthorizationData; - - // helper to transform permissions into the relevant Authorization - const createBecomeAgentData = ( - value: KnownPermissionGroup | CustomPermissionGroup - ): Authorization => ({ - type: AuthorizationType.BecomeAgent, - value, - }); - - if (permissions instanceof KnownPermissionGroup || permissions instanceof CustomPermissionGroup) { - newAuthorizationData = createBecomeAgentData(permissions); - rawAuthorizationData = authorizationToAuthorizationData(newAuthorizationData, context); - } else { - const rawTicker = stringToTicker(ticker, context); - const { transactions } = permissionsLikeToPermissions(permissions, context); - - const matchingGroup = await getGroupFromPermissions(asset, transactions); - - /* - * if there is no existing group with the passed permissions, we create it together with the Authorization Request. - * Otherwise, we use the existing group's ID to create the Authorization request - */ - if (!matchingGroup) { - return { - transaction: externalAgents.createGroupAndAddAuth, - args: [ - rawTicker, - transactionPermissionsToExtrinsicPermissions(transactions, context), - stringToIdentityId(targetDid, context), - null, - ], - resolver: createGroupAndAuthorizationResolver(targetIdentity), - }; - } - - newAuthorizationData = createBecomeAgentData(matchingGroup); - rawAuthorizationData = authorizationToAuthorizationData(newAuthorizationData, context); - } - - const rawExpiry = optionize(dateToMoment)(expiry, context); - - return { - transaction: identity.addAuthorization, - args: [rawSignatory, rawAuthorizationData, rawExpiry], - resolver: createAuthorizationResolver( - newAuthorizationData, - issuer, - targetIdentity, - expiry, - context - ), - }; -} - -/** - * @hidden - */ -export function getAuthorization( - this: Procedure -): ProcedureAuthorization { - const { - storage: { asset }, - } = this; - return { - permissions: { - transactions: [TxTags.identity.AddAuthorization], - assets: [asset], - portfolios: [], - }, - }; -} - -/** - * @hidden - */ -export function prepareStorage( - this: Procedure, - { ticker }: Params -): Storage { - const { context } = this; - - return { - asset: new BaseAsset({ ticker }, context), - }; -} - -/** - * @hidden - */ -export const inviteExternalAgent = (): Procedure => - new Procedure(prepareInviteExternalAgent, getAuthorization, prepareStorage); diff --git a/src/api/procedures/issueConfidentialAssets.ts b/src/api/procedures/issueConfidentialAssets.ts index c75ae84a11..0a03f04e3f 100644 --- a/src/api/procedures/issueConfidentialAssets.ts +++ b/src/api/procedures/issueConfidentialAssets.ts @@ -1,10 +1,19 @@ +import { ErrorCode } from '@polymeshassociation/polymesh-sdk/types'; +import { TransactionSpec } from '@polymeshassociation/polymesh-sdk/types/internal'; +import { bigNumberToU128 } from '@polymeshassociation/polymesh-sdk/utils/conversion'; import BigNumber from 'bignumber.js'; -import { ConfidentialAsset, PolymeshError, Procedure } from '~/internal'; -import { ErrorCode, IssueConfidentialAssetParams, RoleType, TxTags } from '~/types'; -import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; +import { ConfidentialProcedure } from '~/base/ConfidentialProcedure'; +import { ConfidentialAsset, PolymeshError } from '~/internal'; +import { + ConfidentialProcedureAuthorization, + IssueConfidentialAssetParams, + RoleType, + TxTags, +} from '~/types'; +import { ExtrinsicParams } from '~/types/internal'; import { MAX_BALANCE } from '~/utils/constants'; -import { bigNumberToU128, serializeConfidentialAssetId } from '~/utils/conversion'; +import { serializeConfidentialAssetId } from '~/utils/conversion'; import { asConfidentialAccount } from '~/utils/internal'; export type Params = IssueConfidentialAssetParams & { @@ -15,7 +24,7 @@ export type Params = IssueConfidentialAssetParams & { * @hidden */ export async function prepareConfidentialAssets( - this: Procedure, + this: ConfidentialProcedure, args: Params ): Promise>> { const { @@ -83,9 +92,9 @@ export async function prepareConfidentialAssets( * @hidden */ export function getAuthorization( - this: Procedure, + this: ConfidentialProcedure, args: Params -): ProcedureAuthorization { +): ConfidentialProcedureAuthorization { const { confidentialAsset: { id: assetId }, } = args; @@ -103,5 +112,5 @@ export function getAuthorization( /** * @hidden */ -export const issueConfidentialAssets = (): Procedure => - new Procedure(prepareConfidentialAssets, getAuthorization); +export const issueConfidentialAssets = (): ConfidentialProcedure => + new ConfidentialProcedure(prepareConfidentialAssets, getAuthorization); diff --git a/src/api/procedures/issueNft.ts b/src/api/procedures/issueNft.ts deleted file mode 100644 index 1541ab0a13..0000000000 --- a/src/api/procedures/issueNft.ts +++ /dev/null @@ -1,135 +0,0 @@ -import { ISubmittableResult } from '@polkadot/types/types'; -import BigNumber from 'bignumber.js'; - -import { Nft } from '~/api/entities/Asset/NonFungible/Nft'; -import { Context, NftCollection, PolymeshError, Procedure } from '~/internal'; -import { ErrorCode, NftMetadataInput, TxTags } from '~/types'; -import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; -import { - meshNftToNftId, - nftInputToNftMetadataVec, - portfolioToPortfolioKind, - stringToTicker, -} from '~/utils/conversion'; -import { filterEventRecords } from '~/utils/internal'; - -export interface IssueNftParams { - ticker: string; - portfolioId?: BigNumber; - metadata: NftMetadataInput[]; -} - -export interface Storage { - collection: NftCollection; -} - -/** - * @hidden - */ -export const issueNftResolver = - (context: Context) => - (receipt: ISubmittableResult): Nft => { - const [{ data }] = filterEventRecords(receipt, 'nft', 'NFTPortfolioUpdated'); - - const { ticker, ids } = meshNftToNftId(data[1]); - - return new Nft({ ticker, id: ids[0] }, context); - }; - -/** - * @hidden - */ -export async function prepareIssueNft( - this: Procedure, - args: IssueNftParams -): Promise>> { - const { - context: { - polymeshApi: { tx }, - }, - context, - storage: { collection }, - } = this; - const { ticker, portfolioId, metadata } = args; - const rawMetadataValues = nftInputToNftMetadataVec(metadata, context); - - const neededMetadata = await collection.collectionKeys(); - - // for each input, find and remove a value from needed - args.metadata.forEach(value => { - const matchedIndex = neededMetadata.findIndex( - requiredValue => value.type === requiredValue.type && value.id.eq(requiredValue.id) - ); - - if (matchedIndex < 0) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'A metadata value was given that is not required for this collection', - data: { ticker, type: value.type, id: value.id }, - }); - } - - neededMetadata.splice(matchedIndex, 1); - }); - - if (neededMetadata.length > 0) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'The collection requires metadata that was not provided', - data: { missingMetadata: JSON.stringify(neededMetadata) }, - }); - } - - const signingIdentity = await context.getSigningIdentity(); - - const portfolio = portfolioId - ? await signingIdentity.portfolios.getPortfolio({ portfolioId }) - : await signingIdentity.portfolios.getPortfolio(); - - const rawTicker = stringToTicker(ticker, context); - const rawPortfolio = portfolioToPortfolioKind(portfolio, context); - - return { - transaction: tx.nft.issueNft, - args: [rawTicker, rawMetadataValues, rawPortfolio], - resolver: issueNftResolver(context), - }; -} - -/** - * @hidden - */ -export function getAuthorization( - this: Procedure -): ProcedureAuthorization { - const { - storage: { collection }, - } = this; - return { - permissions: { - transactions: [TxTags.nft.IssueNft], - assets: [collection], - portfolios: [], - }, - }; -} - -/** - * @hidden - */ -export function prepareStorage( - this: Procedure, - { ticker }: IssueNftParams -): Storage { - const { context } = this; - - return { - collection: new NftCollection({ ticker }, context), - }; -} - -/** - * @hidden - */ -export const issueNft = (): Procedure => - new Procedure(prepareIssueNft, getAuthorization, prepareStorage); diff --git a/src/api/procedures/issueTokens.ts b/src/api/procedures/issueTokens.ts deleted file mode 100644 index c5aebf7690..0000000000 --- a/src/api/procedures/issueTokens.ts +++ /dev/null @@ -1,105 +0,0 @@ -import BigNumber from 'bignumber.js'; - -import { FungibleAsset, PolymeshError, Procedure } from '~/internal'; -import { ErrorCode, TxTags } from '~/types'; -import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; -import { MAX_BALANCE } from '~/utils/constants'; -import { bigNumberToBalance, portfolioToPortfolioKind, stringToTicker } from '~/utils/conversion'; - -export interface IssueTokensParams { - amount: BigNumber; - ticker: string; - portfolioId?: BigNumber; -} - -export interface Storage { - asset: FungibleAsset; -} - -/** - * @hidden - */ -export async function prepareIssueTokens( - this: Procedure, - args: IssueTokensParams -): Promise>> { - const { - context: { - polymeshApi: { - tx: { asset }, - }, - }, - context, - storage: { asset: assetEntity }, - } = this; - const { ticker, amount, portfolioId } = args; - - const [{ isDivisible, totalSupply }, signingIdentity] = await Promise.all([ - assetEntity.details(), - context.getSigningIdentity(), - ]); - const supplyAfterMint = amount.plus(totalSupply); - - if (supplyAfterMint.isGreaterThan(MAX_BALANCE)) { - throw new PolymeshError({ - code: ErrorCode.LimitExceeded, - message: `This issuance operation will cause the total supply of "${ticker}" to exceed the supply limit`, - data: { - currentSupply: totalSupply, - supplyLimit: MAX_BALANCE, - }, - }); - } - - const portfolio = portfolioId - ? await signingIdentity.portfolios.getPortfolio({ portfolioId }) - : await signingIdentity.portfolios.getPortfolio(); - - const rawTicker = stringToTicker(ticker, context); - const rawValue = bigNumberToBalance(amount, context, isDivisible); - const rawPortfolio = portfolioToPortfolioKind(portfolio, context); - - return { - transaction: asset.issue, - args: [rawTicker, rawValue, rawPortfolio], - resolver: assetEntity, - }; -} - -/** - * @hidden - */ -export function getAuthorization( - this: Procedure -): ProcedureAuthorization { - const { - storage: { asset }, - } = this; - return { - permissions: { - transactions: [TxTags.asset.Issue], - assets: [asset], - portfolios: [], - }, - }; -} - -/** - * @hidden - */ -export function prepareStorage( - this: Procedure, - { ticker }: IssueTokensParams -): Storage { - const { context } = this; - - return { - asset: new FungibleAsset({ ticker }, context), - }; -} - -/** - * @hidden - */ -export const issueTokens = (): Procedure => - new Procedure(prepareIssueTokens, getAuthorization, prepareStorage); diff --git a/src/api/procedures/launchOffering.ts b/src/api/procedures/launchOffering.ts deleted file mode 100644 index 7b3f478393..0000000000 --- a/src/api/procedures/launchOffering.ts +++ /dev/null @@ -1,184 +0,0 @@ -import { ISubmittableResult } from '@polkadot/types/types'; -import BigNumber from 'bignumber.js'; -import P from 'bluebird'; - -import { assertPortfolioExists } from '~/api/procedures/utils'; -import { Context, FungibleAsset, Identity, Offering, PolymeshError, Procedure } from '~/internal'; -import { ErrorCode, LaunchOfferingParams, PortfolioId, RoleType, TxTags, VenueType } from '~/types'; -import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; -import { - bigNumberToBalance, - bigNumberToU64, - dateToMoment, - offeringTierToPriceTier, - portfolioIdToMeshPortfolioId, - portfolioIdToPortfolio, - portfolioLikeToPortfolioId, - stringToBytes, - stringToTicker, - u64ToBigNumber, -} from '~/utils/conversion'; -import { filterEventRecords, optionize } from '~/utils/internal'; - -/** - * @hidden - */ -export type Params = LaunchOfferingParams & { - ticker: string; -}; - -/** - * @hidden - */ -export interface Storage { - offeringPortfolioId: PortfolioId; - raisingPortfolioId: PortfolioId; -} - -/** - * @hidden - */ -export const createOfferingResolver = - (ticker: string, context: Context) => - (receipt: ISubmittableResult): Offering => { - const [{ data }] = filterEventRecords(receipt, 'sto', 'FundraiserCreated'); - const newFundraiserId = u64ToBigNumber(data[1]); - - return new Offering({ id: newFundraiserId, ticker }, context); - }; - -/** - * @hidden - */ -export async function prepareLaunchOffering( - this: Procedure, - args: Params -): Promise>> { - const { - context: { - polymeshApi: { tx }, - }, - context, - storage: { offeringPortfolioId, raisingPortfolioId }, - } = this; - const { ticker, raisingCurrency, venue, name, tiers, start, end, minInvestment } = args; - - const portfolio = portfolioIdToPortfolio(offeringPortfolioId, context); - - const [, , [{ free }]] = await Promise.all([ - assertPortfolioExists(offeringPortfolioId, context), - assertPortfolioExists(raisingPortfolioId, context), - portfolio.getAssetBalances({ - assets: [ticker], - }), - ]); - - let venueId: BigNumber | undefined; - - if (venue) { - const venueExists = await venue.exists(); - - if (venueExists) { - ({ id: venueId } = venue); - } - } else { - const offeringPortfolioOwner = new Identity({ did: offeringPortfolioId.did }, context); - const venues = await offeringPortfolioOwner.getVenues(); - - const offeringVenues = await P.filter(venues, async ownedVenue => { - const { type } = await ownedVenue.details(); - - return type === VenueType.Sto; - }); - - if (offeringVenues.length) { - [{ id: venueId }] = offeringVenues; - } - } - - if (!venueId) { - throw new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: 'A valid Venue for the Offering was neither supplied nor found', - }); - } - - const totalTierBalance = tiers.reduce( - (total, { amount }) => total.plus(amount), - new BigNumber(0) - ); - - if (totalTierBalance.gt(free)) { - throw new PolymeshError({ - code: ErrorCode.InsufficientBalance, - message: "There isn't enough free balance in the offering Portfolio", - data: { - free, - }, - }); - } - - return { - transaction: tx.sto.createFundraiser, - args: [ - portfolioIdToMeshPortfolioId(offeringPortfolioId, context), - stringToTicker(ticker, context), - portfolioIdToMeshPortfolioId(raisingPortfolioId, context), - stringToTicker(raisingCurrency, context), - tiers.map(tier => offeringTierToPriceTier(tier, context)), - bigNumberToU64(venueId, context), - optionize(dateToMoment)(start, context), - optionize(dateToMoment)(end, context), - bigNumberToBalance(minInvestment, context), - stringToBytes(name, context), - ], - resolver: createOfferingResolver(ticker, context), - }; -} - -/** - * @hidden - */ -export function getAuthorization( - this: Procedure, - { ticker }: Params -): ProcedureAuthorization { - const { - storage: { offeringPortfolioId, raisingPortfolioId }, - context, - } = this; - - return { - roles: [ - { type: RoleType.PortfolioCustodian, portfolioId: offeringPortfolioId }, - { type: RoleType.PortfolioCustodian, portfolioId: raisingPortfolioId }, - ], - permissions: { - transactions: [TxTags.sto.CreateFundraiser], - assets: [new FungibleAsset({ ticker }, context)], - portfolios: [ - portfolioIdToPortfolio(offeringPortfolioId, context), - portfolioIdToPortfolio(raisingPortfolioId, context), - ], - }, - }; -} - -/** - * @hidden - */ -export async function prepareStorage( - this: Procedure, - { offeringPortfolio, raisingPortfolio }: Params -): Promise { - return { - offeringPortfolioId: portfolioLikeToPortfolioId(offeringPortfolio), - raisingPortfolioId: portfolioLikeToPortfolioId(raisingPortfolio), - }; -} - -/** - * @hidden - */ -export const launchOffering = (): Procedure => - new Procedure(prepareLaunchOffering, getAuthorization, prepareStorage); diff --git a/src/api/procedures/leaveIdentity.ts b/src/api/procedures/leaveIdentity.ts deleted file mode 100644 index a19ab4303d..0000000000 --- a/src/api/procedures/leaveIdentity.ts +++ /dev/null @@ -1,57 +0,0 @@ -import { PolymeshError, Procedure } from '~/internal'; -import { ErrorCode, TxTags } from '~/types'; -import { ExtrinsicParams, TransactionSpec } from '~/types/internal'; -import { getSecondaryAccountPermissions } from '~/utils/internal'; - -/** - * @hidden - */ -export async function prepareLeaveIdentity( - this: Procedure -): Promise>> { - const { - context: { - polymeshApi: { tx }, - }, - context, - } = this; - - const signingAccount = context.getSigningAccount(); - const signingIdentity = await signingAccount.getIdentity(); - - if (!signingIdentity) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'There is no Identity associated to the signing Account', - }); - } - const [accountPermission] = await getSecondaryAccountPermissions( - { - accounts: [signingAccount], - identity: signingIdentity, - }, - context - ); - - const isSecondaryAccount = accountPermission && signingAccount.isEqual(accountPermission.account); - if (!isSecondaryAccount) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'Only secondary Accounts are allowed to leave an Identity', - }); - } - - return { transaction: tx.identity.leaveIdentityAsKey, resolver: undefined }; -} - -/** - * @hidden - */ -export const leaveIdentity = (): Procedure => - new Procedure(prepareLeaveIdentity, { - permissions: { - assets: [], - portfolios: [], - transactions: [TxTags.identity.LeaveIdentityAsKey], - }, - }); diff --git a/src/api/procedures/linkCaDocs.ts b/src/api/procedures/linkCaDocs.ts deleted file mode 100644 index 465d50de7b..0000000000 --- a/src/api/procedures/linkCaDocs.ts +++ /dev/null @@ -1,98 +0,0 @@ -import { u32 } from '@polkadot/types'; -import BigNumber from 'bignumber.js'; -import { isEqual, remove } from 'lodash'; - -import { FungibleAsset, PolymeshError, Procedure } from '~/internal'; -import { ErrorCode, LinkCaDocsParams, TxTags } from '~/types'; -import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; -import { - corporateActionIdentifierToCaId, - documentToAssetDocument, - stringToTicker, -} from '~/utils/conversion'; - -/** - * @hidden - */ -export type Params = LinkCaDocsParams & { - id: BigNumber; - ticker: string; -}; - -/** - * @hidden - */ -export async function prepareLinkCaDocs( - this: Procedure, - args: Params -): Promise>> { - const { - context: { - polymeshApi: { - tx: { corporateAction }, - query: { - asset: { assetDocuments }, - }, - }, - }, - context, - } = this; - const { id: caId, ticker, documents } = args; - - const rawAssetDocuments = await assetDocuments.entries(stringToTicker(ticker, context)); - - const docIdsToLink: u32[] = []; - const documentsCopy = [...documents]; // avoid mutation - - rawAssetDocuments.forEach(([key, doc]) => { - const [, id] = key.args; - if (doc.isSome) { - const removedList = remove(documentsCopy, document => - isEqual(document, documentToAssetDocument(doc.unwrap())) - ); - if (removedList.length) { - docIdsToLink.push(id); - } - } - }); - - if (documentsCopy.length) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'Some of the provided documents are not associated with the Asset', - data: { - documents: documentsCopy, - }, - }); - } - - const rawCaId = corporateActionIdentifierToCaId({ ticker, localId: caId }, context); - - return { - transaction: corporateAction.linkCaDoc, - args: [rawCaId, docIdsToLink], - resolver: undefined, - }; -} - -/** - * @hidden - */ -export function getAuthorization( - this: Procedure, - { ticker }: Params -): ProcedureAuthorization { - return { - permissions: { - assets: [new FungibleAsset({ ticker }, this.context)], - transactions: [TxTags.corporateAction.LinkCaDoc], - portfolios: [], - }, - }; -} - -/** - * @hidden - */ -export const linkCaDocs = (): Procedure => - new Procedure(prepareLinkCaDocs, getAuthorization); diff --git a/src/api/procedures/modifyAllowance.ts b/src/api/procedures/modifyAllowance.ts deleted file mode 100644 index 668a187cec..0000000000 --- a/src/api/procedures/modifyAllowance.ts +++ /dev/null @@ -1,130 +0,0 @@ -import { PolymeshError, Procedure, Subsidy } from '~/internal'; -import { - AllowanceOperation, - DecreaseAllowanceParams, - ErrorCode, - IncreaseAllowanceParams, - SetAllowanceParams, - TxTags, -} from '~/types'; -import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; -import { bigNumberToBalance, stringToAccountId } from '~/utils/conversion'; - -export type ModifyAllowanceParams = ( - | IncreaseAllowanceParams - | DecreaseAllowanceParams - | SetAllowanceParams -) & { - subsidy: Subsidy; -}; - -/** - * @hidden - */ -export async function prepareModifyAllowance( - this: Procedure, - args: ModifyAllowanceParams -): Promise< - TransactionSpec< - void, - ExtrinsicParams<'relayer', 'updatePolyxLimit' | 'decreasePolyxLimit' | 'increasePolyxLimit'> - > -> { - const { - context: { - polymeshApi: { tx }, - }, - context, - } = this; - - const { - subsidy: { - beneficiary: { address: beneficiaryAddress }, - }, - subsidy, - allowance, - operation, - } = args; - - const [exists, currentAllowance] = await Promise.all([subsidy.exists(), subsidy.getAllowance()]); - - if (!exists) { - throw new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: 'The Subsidy no longer exists', - }); - } - - const rawAllowance = bigNumberToBalance(allowance, context); - - const rawBeneficiaryAccount = stringToAccountId(beneficiaryAddress, context); - - let transaction = tx.relayer.increasePolyxLimit; - - if (operation === AllowanceOperation.Set) { - if (currentAllowance.eq(allowance)) { - throw new PolymeshError({ - code: ErrorCode.NoDataChange, - message: 'Amount of allowance to set is equal to the current allowance', - }); - } - - transaction = tx.relayer.updatePolyxLimit; - } - - if (operation === AllowanceOperation.Decrease) { - if (currentAllowance.lte(allowance)) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'Amount of allowance to decrease cannot be more than the current allowance', - }); - } - - transaction = tx.relayer.decreasePolyxLimit; - } - - return { - transaction, - args: [rawBeneficiaryAccount, rawAllowance], - resolver: undefined, - }; -} - -/** - * @hidden - * - * To modify the allowance for a Subsidy, the caller must be the subsidizer - */ -export function getAuthorization( - this: Procedure, - args: ModifyAllowanceParams -): ProcedureAuthorization { - const { context } = this; - const { - subsidy: { subsidizer }, - operation, - } = args; - - const currentAccount = context.getSigningAccount(); - - const hasRoles = subsidizer.isEqual(currentAccount); - - const transactionMap = { - [AllowanceOperation.Increase]: TxTags.relayer.IncreasePolyxLimit, - [AllowanceOperation.Decrease]: TxTags.relayer.DecreasePolyxLimit, - [AllowanceOperation.Set]: TxTags.relayer.UpdatePolyxLimit, - }; - - return { - roles: hasRoles || 'Only the subsidizer is allowed to modify the allowance of a Subsidy', - permissions: { - transactions: [transactionMap[operation]], - }, - }; -} - -/** - * @hidden - */ -export const modifyAllowance = (): Procedure => - new Procedure(prepareModifyAllowance, getAuthorization); diff --git a/src/api/procedures/modifyAsset.ts b/src/api/procedures/modifyAsset.ts deleted file mode 100644 index 90f69b171c..0000000000 --- a/src/api/procedures/modifyAsset.ts +++ /dev/null @@ -1,176 +0,0 @@ -import { FungibleAsset, PolymeshError, Procedure } from '~/internal'; -import { ErrorCode, ModifyAssetParams, TxTags } from '~/types'; -import { BatchTransactionSpec, ProcedureAuthorization } from '~/types/internal'; -import { - fundingRoundToAssetFundingRound, - nameToAssetName, - securityIdentifierToAssetIdentifier, - stringToTicker, -} from '~/utils/conversion'; -import { checkTxType, hasSameElements } from '~/utils/internal'; - -/** - * @hidden - */ -export type Params = { ticker: string } & ModifyAssetParams; - -/** - * @hidden - */ -export async function prepareModifyAsset( - this: Procedure, - args: Params -): Promise> { - const { - context: { - polymeshApi: { tx }, - }, - context, - } = this; - const { - ticker, - makeDivisible, - name: newName, - fundingRound: newFundingRound, - identifiers: newIdentifiers, - } = args; - - const noArguments = - makeDivisible === undefined && - newName === undefined && - newFundingRound === undefined && - newIdentifiers === undefined; - - if (noArguments) { - throw new PolymeshError({ - code: ErrorCode.NoDataChange, - message: 'Nothing to modify', - }); - } - - const rawTicker = stringToTicker(ticker, context); - - const asset = new FungibleAsset({ ticker }, context); - - const [{ isDivisible, name }, fundingRound, identifiers] = await Promise.all([ - asset.details(), - asset.currentFundingRound(), - asset.getIdentifiers(), - ]); - - const transactions = []; - if (makeDivisible) { - if (isDivisible) { - throw new PolymeshError({ - code: ErrorCode.NoDataChange, - message: 'The Asset is already divisible', - }); - } - - transactions.push( - checkTxType({ - transaction: tx.asset.makeDivisible, - args: [rawTicker], - }) - ); - } - - if (newName) { - if (newName === name) { - throw new PolymeshError({ - code: ErrorCode.NoDataChange, - message: 'New name is the same as current name', - }); - } - - const nameBytes = nameToAssetName(newName, context); - transactions.push( - checkTxType({ - transaction: tx.asset.renameAsset, - args: [rawTicker, nameBytes], - }) - ); - } - - if (newFundingRound) { - if (newFundingRound === fundingRound) { - throw new PolymeshError({ - code: ErrorCode.NoDataChange, - message: 'New funding round name is the same as current funding round', - }); - } - - const fundingBytes = fundingRoundToAssetFundingRound(newFundingRound, context); - transactions.push( - checkTxType({ - transaction: tx.asset.setFundingRound, - args: [rawTicker, fundingBytes], - }) - ); - } - - if (newIdentifiers) { - const identifiersAreEqual = hasSameElements(identifiers, newIdentifiers); - - if (identifiersAreEqual) { - throw new PolymeshError({ - code: ErrorCode.NoDataChange, - message: 'New identifiers are the same as current identifiers', - }); - } - - transactions.push( - checkTxType({ - transaction: tx.asset.updateIdentifiers, - args: [ - rawTicker, - newIdentifiers.map(newIdentifier => - securityIdentifierToAssetIdentifier(newIdentifier, context) - ), - ], - }) - ); - } - - return { transactions, resolver: asset }; -} - -/** - * @hidden - */ -export function getAuthorization( - this: Procedure, - { ticker, makeDivisible, name, fundingRound, identifiers }: Params -): ProcedureAuthorization { - const transactions = []; - - if (makeDivisible !== undefined) { - transactions.push(TxTags.asset.MakeDivisible); - } - - if (name) { - transactions.push(TxTags.asset.RenameAsset); - } - - if (fundingRound) { - transactions.push(TxTags.asset.SetFundingRound); - } - - if (identifiers) { - transactions.push(TxTags.asset.UpdateIdentifiers); - } - - return { - permissions: { - transactions, - portfolios: [], - assets: [new FungibleAsset({ ticker }, this.context)], - }, - }; -} - -/** - * @hidden - */ -export const modifyAsset = (): Procedure => - new Procedure(prepareModifyAsset, getAuthorization); diff --git a/src/api/procedures/modifyAssetTrustedClaimIssuers.ts b/src/api/procedures/modifyAssetTrustedClaimIssuers.ts deleted file mode 100644 index 2153b07220..0000000000 --- a/src/api/procedures/modifyAssetTrustedClaimIssuers.ts +++ /dev/null @@ -1,226 +0,0 @@ -import { - PolymeshPrimitivesConditionTrustedIssuer, - PolymeshPrimitivesIdentityId, - PolymeshPrimitivesTicker, -} from '@polkadot/types/lookup'; -import { difference, intersection, isEqual, sortBy } from 'lodash'; - -import { Context, FungibleAsset, PolymeshError, Procedure } from '~/internal'; -import { - ErrorCode, - ModifyAssetTrustedClaimIssuersAddSetParams, - ModifyAssetTrustedClaimIssuersRemoveParams, - TrustedClaimIssuer, - TxTags, -} from '~/types'; -import { - BatchTransactionSpec, - ProcedureAuthorization, - TrustedClaimIssuerOperation, -} from '~/types/internal'; -import { tuple } from '~/types/utils'; -import { - signerToString, - stringToIdentityId, - stringToTicker, - trustedClaimIssuerToTrustedIssuer, - trustedIssuerToTrustedClaimIssuer, -} from '~/utils/conversion'; -import { asIdentity, assembleBatchTransactions, hasSameElements } from '~/utils/internal'; - -/** - * @hidden - */ -export type Params = { ticker: string } & ( - | (ModifyAssetTrustedClaimIssuersAddSetParams & { - operation: TrustedClaimIssuerOperation.Add | TrustedClaimIssuerOperation.Set; - }) - | (ModifyAssetTrustedClaimIssuersRemoveParams & { - operation: TrustedClaimIssuerOperation.Remove; - }) -); - -const convertArgsToRaw = ( - claimIssuers: ModifyAssetTrustedClaimIssuersAddSetParams['claimIssuers'], - rawTicker: PolymeshPrimitivesTicker, - context: Context -): { - claimIssuersToAdd: [PolymeshPrimitivesTicker, PolymeshPrimitivesConditionTrustedIssuer][]; - inputDids: string[]; -} => { - const claimIssuersToAdd: [PolymeshPrimitivesTicker, PolymeshPrimitivesConditionTrustedIssuer][] = - []; - const inputDids: string[] = []; - claimIssuers.forEach(({ identity, trustedFor }) => { - const issuerIdentity = asIdentity(identity, context); - - claimIssuersToAdd.push( - tuple( - rawTicker, - trustedClaimIssuerToTrustedIssuer({ identity: issuerIdentity, trustedFor }, context) - ) - ); - inputDids.push(issuerIdentity.did); - }); - - return { - claimIssuersToAdd, - inputDids, - }; -}; - -const areSameClaimIssuers = ( - currentClaimIssuers: TrustedClaimIssuer[], - claimIssuers: ModifyAssetTrustedClaimIssuersAddSetParams['claimIssuers'] -): boolean => - hasSameElements( - currentClaimIssuers, - claimIssuers, - ( - { identity: aIdentity, trustedFor: aTrustedFor }, - { identity: bIdentity, trustedFor: bTrustedFor } - ) => { - const sameClaimTypes = - (aTrustedFor === null && bTrustedFor === null) || - (aTrustedFor && bTrustedFor && isEqual(sortBy(aTrustedFor), sortBy(bTrustedFor))); - - return signerToString(aIdentity) === signerToString(bIdentity) && !!sameClaimTypes; - } - ); - -/** - * @hidden - */ -export async function prepareModifyAssetTrustedClaimIssuers( - this: Procedure, - args: Params -): Promise> { - const { - context: { - polymeshApi: { query, tx }, - }, - context, - } = this; - const { ticker } = args; - - const rawTicker = stringToTicker(ticker, context); - - let claimIssuersToDelete: [PolymeshPrimitivesTicker, PolymeshPrimitivesIdentityId][] = []; - let claimIssuersToAdd: [PolymeshPrimitivesTicker, PolymeshPrimitivesConditionTrustedIssuer][] = - []; - - let inputDids: string[]; - - const rawCurrentClaimIssuers = await query.complianceManager.trustedClaimIssuer(rawTicker); - - const currentClaimIssuers = rawCurrentClaimIssuers.map(issuer => - trustedIssuerToTrustedClaimIssuer(issuer, context) - ); - const currentClaimIssuerDids = currentClaimIssuers.map(({ identity }) => - signerToString(identity) - ); - - if (args.operation === TrustedClaimIssuerOperation.Remove) { - inputDids = args.claimIssuers.map(signerToString); - - const notPresent = difference(inputDids, currentClaimIssuerDids); - - if (notPresent.length) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'One or more of the supplied Identities are not Trusted Claim Issuers', - data: { - notPresent, - }, - }); - } - - claimIssuersToDelete = currentClaimIssuers - .filter(({ identity }) => inputDids.includes(signerToString(identity))) - .map(({ identity }) => - tuple(rawTicker, stringToIdentityId(signerToString(identity), context)) - ); - } else { - ({ claimIssuersToAdd, inputDids } = convertArgsToRaw(args.claimIssuers, rawTicker, context)); - } - - if (args.operation === TrustedClaimIssuerOperation.Set) { - claimIssuersToDelete = rawCurrentClaimIssuers.map(({ issuer }) => [rawTicker, issuer]); - - if (areSameClaimIssuers(currentClaimIssuers, args.claimIssuers)) { - throw new PolymeshError({ - code: ErrorCode.NoDataChange, - message: 'The supplied claim issuer list is equal to the current one', - }); - } - } - - if (args.operation === TrustedClaimIssuerOperation.Add) { - const present = intersection(inputDids, currentClaimIssuerDids); - - if (present.length) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'One or more of the supplied Identities already are Trusted Claim Issuers', - data: { - present, - }, - }); - } - } - - const nonExistentDids: string[] = await context.getInvalidDids(inputDids); - - if (nonExistentDids.length) { - throw new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: 'Some of the supplied Identities do not exist', - data: { - nonExistentDids, - }, - }); - } - - const transactions = assembleBatchTransactions([ - { - transaction: tx.complianceManager.removeDefaultTrustedClaimIssuer, - argsArray: claimIssuersToDelete, - }, - { - transaction: tx.complianceManager.addDefaultTrustedClaimIssuer, - argsArray: claimIssuersToAdd, - }, - ] as const); - - return { transactions, resolver: undefined }; -} - -/** - * @hidden - */ -export function getAuthorization( - this: Procedure, - { ticker, operation }: Params -): ProcedureAuthorization { - const transactions = []; - if (operation !== TrustedClaimIssuerOperation.Add) { - transactions.push(TxTags.complianceManager.RemoveDefaultTrustedClaimIssuer); - } - if (operation !== TrustedClaimIssuerOperation.Remove) { - transactions.push(TxTags.complianceManager.AddDefaultTrustedClaimIssuer); - } - - return { - permissions: { - transactions, - assets: [new FungibleAsset({ ticker }, this.context)], - portfolios: [], - }, - }; -} - -/** - * @hidden - */ -export const modifyAssetTrustedClaimIssuers = (): Procedure => - new Procedure(prepareModifyAssetTrustedClaimIssuers, getAuthorization); diff --git a/src/api/procedures/modifyCaCheckpoint.ts b/src/api/procedures/modifyCaCheckpoint.ts deleted file mode 100644 index de42550c25..0000000000 --- a/src/api/procedures/modifyCaCheckpoint.ts +++ /dev/null @@ -1,100 +0,0 @@ -import { assertCaCheckpointValid, assertDistributionDatesValid } from '~/api/procedures/utils'; -import { - Checkpoint, - CorporateActionBase, - DividendDistribution, - FungibleAsset, - PolymeshError, - Procedure, -} from '~/internal'; -import { ErrorCode, ModifyCaCheckpointParams, TxTags } from '~/types'; -import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; -import { checkpointToRecordDateSpec, corporateActionIdentifierToCaId } from '~/utils/conversion'; -import { getCheckpointValue, optionize } from '~/utils/internal'; - -export type Params = ModifyCaCheckpointParams & { - corporateAction: CorporateActionBase; -}; - -/** - * @hidden - */ -export async function prepareModifyCaCheckpoint( - this: Procedure, - args: Params -): Promise>> { - const { - context: { - polymeshApi: { tx }, - }, - context, - } = this; - const { checkpoint, corporateAction } = args; - - const { - id: localId, - asset: { ticker }, - } = corporateAction; - - let checkpointValue; - - if (checkpoint) { - checkpointValue = await getCheckpointValue(checkpoint, ticker, context); - await assertCaCheckpointValid(checkpointValue); - } - - // extra validation if the CA is a Dividend Distribution - if (corporateAction instanceof DividendDistribution) { - const { paymentDate, expiryDate } = corporateAction; - - const now = new Date(); - - if (paymentDate <= now) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'Cannot modify a Distribution checkpoint after the payment date', - }); - } - - if (checkpointValue && !(checkpointValue instanceof Checkpoint)) { - await assertDistributionDatesValid(checkpointValue, paymentDate, expiryDate); - } - } - - const rawCaId = corporateActionIdentifierToCaId({ ticker, localId }, context); - const rawRecordDateSpec = optionize(checkpointToRecordDateSpec)(checkpointValue, context); - - return { - transaction: tx.corporateAction.changeRecordDate, - args: [rawCaId, rawRecordDateSpec], - resolver: undefined, - }; -} - -/** - * @hidden - */ -export function getAuthorization( - this: Procedure, - { - corporateAction: { - asset: { ticker }, - }, - }: Params -): ProcedureAuthorization { - const { context } = this; - - return { - permissions: { - transactions: [TxTags.corporateAction.ChangeRecordDate], - assets: [new FungibleAsset({ ticker }, context)], - portfolios: [], - }, - }; -} - -/** - * @hidden - */ -export const modifyCaCheckpoint = (): Procedure => - new Procedure(prepareModifyCaCheckpoint, getAuthorization); diff --git a/src/api/procedures/modifyCaDefaultConfig.ts b/src/api/procedures/modifyCaDefaultConfig.ts deleted file mode 100644 index 72dd630565..0000000000 --- a/src/api/procedures/modifyCaDefaultConfig.ts +++ /dev/null @@ -1,188 +0,0 @@ -import { Permill } from '@polkadot/types/interfaces'; -import { PolymeshPrimitivesIdentityId, PolymeshPrimitivesTicker } from '@polkadot/types/lookup'; - -import { assertCaTaxWithholdingsValid } from '~/api/procedures/utils'; -import { FungibleAsset, PolymeshError, Procedure } from '~/internal'; -import { - CorporateActionTargets, - ErrorCode, - InputTargets, - ModifyCaDefaultConfigParams, - TxTags, -} from '~/types'; -import { BatchTransactionSpec, ProcedureAuthorization } from '~/types/internal'; -import { - percentageToPermill, - signerToString, - stringToIdentityId, - stringToTicker, - targetsToTargetIdentities, -} from '~/utils/conversion'; -import { assembleBatchTransactions, checkTxType, hasSameElements } from '~/utils/internal'; - -/** - * @hidden - */ -export type Params = { ticker: string } & ModifyCaDefaultConfigParams; - -const areSameTargets = (targets: CorporateActionTargets, newTargets: InputTargets): boolean => { - const { identities: newIdentities, treatment: newTreatment } = newTargets; - const { identities, treatment } = targets; - - return ( - hasSameElements( - identities, - newIdentities, - (identity, newIdentity) => signerToString(identity) === signerToString(newIdentity) - ) && treatment === newTreatment - ); -}; - -/** - * @hidden - */ -export async function prepareModifyCaDefaultConfig( - this: Procedure, - args: Params -): Promise> { - const { - context: { - polymeshApi: { tx }, - }, - context, - } = this; - const { - ticker, - targets: newTargets, - defaultTaxWithholding: newDefaultTaxWithholding, - taxWithholdings: newTaxWithholdings, - } = args; - - const noArguments = - newTargets === undefined && - newDefaultTaxWithholding === undefined && - newTaxWithholdings === undefined; - - if (noArguments) { - throw new PolymeshError({ - code: ErrorCode.NoDataChange, - message: 'Nothing to modify', - }); - } - - if (newTaxWithholdings) { - assertCaTaxWithholdingsValid(newTaxWithholdings, context); - } - - const rawTicker = stringToTicker(ticker, context); - - const asset = new FungibleAsset({ ticker }, context); - - const { targets, defaultTaxWithholding, taxWithholdings } = - await asset.corporateActions.getDefaultConfig(); - - const transactions = []; - - if (newTargets) { - if (areSameTargets(targets, newTargets)) { - throw new PolymeshError({ - code: ErrorCode.NoDataChange, - message: 'New targets are the same as the current ones', - }); - } - - transactions.push( - checkTxType({ - transaction: tx.corporateAction.setDefaultTargets, - args: [rawTicker, targetsToTargetIdentities(newTargets, context)], - }) - ); - } - - if (newDefaultTaxWithholding) { - if (newDefaultTaxWithholding.eq(defaultTaxWithholding)) { - throw new PolymeshError({ - code: ErrorCode.NoDataChange, - message: 'New default tax withholding is the same as the current one', - }); - } - - transactions.push( - checkTxType({ - transaction: tx.corporateAction.setDefaultWithholdingTax, - args: [rawTicker, percentageToPermill(newDefaultTaxWithholding, context)], - }) - ); - } - - if (newTaxWithholdings) { - const areSameWithholdings = hasSameElements( - taxWithholdings, - newTaxWithholdings, - ({ identity, percentage }, { identity: newIdentity, percentage: newPercentage }) => - signerToString(identity) === signerToString(newIdentity) && percentage.eq(newPercentage) - ); - - if (areSameWithholdings) { - throw new PolymeshError({ - code: ErrorCode.NoDataChange, - message: 'New per-Identity tax withholding percentages are the same as current ones', - }); - } - - const transaction = tx.corporateAction.setDidWithholdingTax; - const argsArray: [PolymeshPrimitivesTicker, PolymeshPrimitivesIdentityId, Permill][] = - newTaxWithholdings.map(({ identity, percentage }) => [ - rawTicker, - stringToIdentityId(signerToString(identity), context), - percentageToPermill(percentage, context), - ]); - - transactions.push( - ...assembleBatchTransactions([ - { - transaction, - argsArray, - }, - ]) - ); - } - - return { transactions, resolver: undefined }; -} - -/** - * @hidden - */ -export function getAuthorization( - this: Procedure, - { ticker, targets, defaultTaxWithholding, taxWithholdings }: Params -): ProcedureAuthorization { - const transactions = []; - - if (targets) { - transactions.push(TxTags.corporateAction.SetDefaultTargets); - } - - if (defaultTaxWithholding) { - transactions.push(TxTags.corporateAction.SetDefaultWithholdingTax); - } - - if (taxWithholdings) { - transactions.push(TxTags.corporateAction.SetDidWithholdingTax); - } - - return { - permissions: { - transactions, - portfolios: [], - assets: [new FungibleAsset({ ticker }, this.context)], - }, - }; -} - -/** - * @hidden - */ -export const modifyCaDefaultConfig = (): Procedure => - new Procedure(prepareModifyCaDefaultConfig, getAuthorization); diff --git a/src/api/procedures/modifyClaims.ts b/src/api/procedures/modifyClaims.ts deleted file mode 100644 index b0376319ff..0000000000 --- a/src/api/procedures/modifyClaims.ts +++ /dev/null @@ -1,256 +0,0 @@ -import { Moment } from '@polkadot/types/interfaces'; -import { - PolymeshPrimitivesIdentityClaimClaim, - PolymeshPrimitivesIdentityId, -} from '@polkadot/types/lookup'; -import { groupBy, uniq } from 'lodash'; - -import { Context, Identity, PolymeshError, Procedure } from '~/internal'; -import { claimsQuery } from '~/middleware/queries'; -import { Claim as MiddlewareClaim, Query } from '~/middleware/types'; -import { - CddClaim, - Claim, - ClaimOperation, - ClaimTarget, - ClaimType, - ErrorCode, - ModifyClaimsParams, - RoleType, - TxTags, -} from '~/types'; -import { BatchTransactionSpec, ProcedureAuthorization } from '~/types/internal'; -import { Ensured, tuple } from '~/types/utils'; -import { DEFAULT_CDD_ID } from '~/utils/constants'; -import { - claimToMeshClaim, - dateToMoment, - signerToString, - stringToIdentityId, -} from '~/utils/conversion'; -import { areSameClaims, asIdentity, assembleBatchTransactions } from '~/utils/internal'; - -const findClaimsByOtherIssuers = ( - claims: ClaimTarget[], - claimsByDid: Record, - signerDid: string -): Claim[] => - claims.reduce((prev, { target, claim }) => { - const targetClaims = claimsByDid[signerToString(target)] ?? []; - - const claimIssuedByOtherDids = targetClaims.some( - targetClaim => areSameClaims(claim, targetClaim) && targetClaim.issuerId !== signerDid - ); - - if (claimIssuedByOtherDids) { - return [...prev, claim]; - } - - return prev; - }, []); - -/** - * @hidden - * - * Return all new CDD claims for Identities that have an existing CDD claim with a different ID - */ -const findInvalidCddClaims = async ( - claims: ClaimTarget[], - context: Context -): Promise<{ target: Identity; currentCddId: string; newCddId: string }[]> => { - const invalidCddClaims: { target: Identity; currentCddId: string; newCddId: string }[] = []; - - const newCddClaims = claims.filter( - ({ claim: { type } }) => type === ClaimType.CustomerDueDiligence - ); - - if (newCddClaims.length) { - const issuedCddClaims = await context.issuedClaims({ - targets: newCddClaims.map(({ target }) => target), - claimTypes: [ClaimType.CustomerDueDiligence], - includeExpired: false, - }); - - newCddClaims.forEach(({ target, claim }) => { - const targetIdentity = asIdentity(target, context); - const issuedClaimsForTarget = issuedCddClaims.data.filter(({ target: issuedTarget }) => - targetIdentity.isEqual(issuedTarget) - ); - - if (issuedClaimsForTarget.length) { - // we know both claims are CDD claims - const { id: currentCddId } = issuedClaimsForTarget[0].claim as CddClaim; - const { id: newCddId } = claim as CddClaim; - - if (newCddId !== currentCddId && ![currentCddId, newCddId].includes(DEFAULT_CDD_ID)) { - invalidCddClaims.push({ - target: targetIdentity, - currentCddId, - newCddId, - }); - } - } - }); - } - - return invalidCddClaims; -}; - -/** - * @hidden - */ -export async function prepareModifyClaims( - this: Procedure, - args: ModifyClaimsParams -): Promise> { - const { claims, operation } = args; - - const { - context: { - polymeshApi: { - tx: { identity }, - }, - }, - context, - } = this; - - const modifyClaimArgs: [ - PolymeshPrimitivesIdentityId, - PolymeshPrimitivesIdentityClaimClaim, - Moment | null - ][] = []; - let allTargets: string[] = []; - - claims.forEach(({ target, expiry, claim }: ClaimTarget) => { - const rawExpiry = expiry ? dateToMoment(expiry, context) : null; - - allTargets.push(signerToString(target)); - modifyClaimArgs.push( - tuple( - stringToIdentityId(signerToString(target), context), - claimToMeshClaim(claim, context), - rawExpiry - ) - ); - }); - - allTargets = uniq(allTargets); - - const [nonExistentDids, middlewareAvailable] = await Promise.all([ - context.getInvalidDids(allTargets), - context.isMiddlewareAvailable(), - ]); - - if (nonExistentDids.length) { - throw new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: 'Some of the supplied Identity IDs do not exist', - data: { - nonExistentDids, - }, - }); - } - - const shouldValidateWithMiddleware = operation !== ClaimOperation.Add && middlewareAvailable; - - // skip validation if the middleware is unavailable - if (shouldValidateWithMiddleware) { - const { did: currentDid } = await context.getSigningIdentity(); - - const result = await context.queryMiddleware>( - claimsQuery({ - dids: allTargets, - trustedClaimIssuers: [currentDid], - includeExpired: true, - }) - ); - - const { - data: { - claims: { nodes: claimsData }, - }, - } = result; - - const claimsByDid = groupBy(claimsData, 'targetId'); - - const claimsByOtherIssuers: Claim[] = findClaimsByOtherIssuers(claims, claimsByDid, currentDid); - - if (claimsByOtherIssuers.length) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: `Attempt to ${operation.toLowerCase()} claims that weren't issued by the signing Identity`, - data: { - claimsByOtherIssuers, - }, - }); - } - } - - if (operation === ClaimOperation.Revoke) { - const argsArray: [PolymeshPrimitivesIdentityId, PolymeshPrimitivesIdentityClaimClaim][] = - modifyClaimArgs.map(([identityId, claim]) => [identityId, claim]); - - const transactions = assembleBatchTransactions([ - { - transaction: identity.revokeClaim, - argsArray, - }, - ]); - - return { transactions, resolver: undefined }; - } - - if (operation === ClaimOperation.Add) { - const invalidCddClaims = await findInvalidCddClaims(claims, context); - - if (invalidCddClaims.length) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'A target Identity cannot have CDD claims with different IDs', - data: { - invalidCddClaims, - }, - }); - } - } - - const txs = assembleBatchTransactions([ - { - transaction: identity.addClaim, - argsArray: modifyClaimArgs, - }, - ]); - - return { transactions: txs, resolver: undefined }; -} - -/** - * @hidden - */ -export function getAuthorization({ - claims, - operation, -}: ModifyClaimsParams): ProcedureAuthorization { - const permissions = { - transactions: [ - operation === ClaimOperation.Revoke ? TxTags.identity.RevokeClaim : TxTags.identity.AddClaim, - ], - assets: [], - portfolios: [], - }; - if (claims.some(({ claim: { type } }) => type === ClaimType.CustomerDueDiligence)) { - return { - roles: [{ type: RoleType.CddProvider }], - permissions, - }; - } - return { - permissions, - }; -} - -/** - * @hidden - */ -export const modifyClaims = (): Procedure => - new Procedure(prepareModifyClaims, getAuthorization); diff --git a/src/api/procedures/modifyComplianceRequirement.ts b/src/api/procedures/modifyComplianceRequirement.ts deleted file mode 100644 index 2995c072b7..0000000000 --- a/src/api/procedures/modifyComplianceRequirement.ts +++ /dev/null @@ -1,102 +0,0 @@ -import BigNumber from 'bignumber.js'; -import { flatMap, remove } from 'lodash'; - -import { assertRequirementsNotTooComplex } from '~/api/procedures/utils'; -import { FungibleAsset, PolymeshError, Procedure } from '~/internal'; -import { ErrorCode, ModifyComplianceRequirementParams, TxTags } from '~/types'; -import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; -import { requirementToComplianceRequirement, stringToTicker } from '~/utils/conversion'; -import { conditionsAreEqual, hasSameElements } from '~/utils/internal'; - -/** - * @hidden - */ -export type Params = ModifyComplianceRequirementParams & { - ticker: string; -}; - -/** - * @hidden - */ -export async function prepareModifyComplianceRequirement( - this: Procedure, - args: Params -): Promise< - TransactionSpec> -> { - const { - context: { - polymeshApi: { tx }, - }, - context, - } = this; - const { ticker, id, conditions: newConditions } = args; - - const rawTicker = stringToTicker(ticker, context); - - const token = new FungibleAsset({ ticker }, context); - - const { requirements: currentRequirements, defaultTrustedClaimIssuers } = - await token.compliance.requirements.get(); - - const existingRequirements = remove(currentRequirements, ({ id: currentRequirementId }) => - id.eq(currentRequirementId) - ); - - if (!existingRequirements.length) { - throw new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: 'The Compliance Requirement does not exist', - }); - } - - const [{ conditions: existingConditions }] = existingRequirements; - - if (hasSameElements(newConditions, existingConditions, conditionsAreEqual)) { - throw new PolymeshError({ - code: ErrorCode.NoDataChange, - message: 'The supplied condition list is equal to the current one', - }); - } - - const unchangedConditions = flatMap(currentRequirements, 'conditions'); - - assertRequirementsNotTooComplex( - [...unchangedConditions, ...newConditions], - new BigNumber(defaultTrustedClaimIssuers.length), - context - ); - - const rawComplianceRequirement = requirementToComplianceRequirement( - { conditions: newConditions, id }, - context - ); - - return { - transaction: tx.complianceManager.changeComplianceRequirement, - args: [rawTicker, rawComplianceRequirement], - resolver: undefined, - }; -} - -/** - * @hidden - */ -export function getAuthorization( - this: Procedure, - { ticker }: Params -): ProcedureAuthorization { - return { - permissions: { - transactions: [TxTags.complianceManager.ChangeComplianceRequirement], - assets: [new FungibleAsset({ ticker }, this.context)], - portfolios: [], - }, - }; -} - -/** - * @hidden - */ -export const modifyComplianceRequirement = (): Procedure => - new Procedure(prepareModifyComplianceRequirement, getAuthorization); diff --git a/src/api/procedures/modifyCorporateActionsAgent.ts b/src/api/procedures/modifyCorporateActionsAgent.ts deleted file mode 100644 index d8dc6f112b..0000000000 --- a/src/api/procedures/modifyCorporateActionsAgent.ts +++ /dev/null @@ -1,111 +0,0 @@ -import { FungibleAsset, KnownPermissionGroup, PolymeshError, Procedure } from '~/internal'; -import { - AuthorizationType, - ErrorCode, - ModifyCorporateActionsAgentParams, - PermissionGroupType, - SignerType, - TxTags, -} from '~/types'; -import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; -import { - authorizationToAuthorizationData, - dateToMoment, - signerToString, - signerValueToSignatory, -} from '~/utils/conversion'; - -/** - * @hidden - */ -export type Params = { ticker: string } & ModifyCorporateActionsAgentParams; - -/** - * @hidden - */ -export async function prepareModifyCorporateActionsAgent( - this: Procedure, - args: Params -): Promise>> { - const { - context: { - polymeshApi: { tx }, - }, - context, - } = this; - const { ticker, target, requestExpiry } = args; - - const asset = new FungibleAsset({ ticker }, context); - - const [invalidDids, agents] = await Promise.all([ - context.getInvalidDids([target]), - asset.corporateActions.getAgents(), - ]); - - if (invalidDids.length) { - throw new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: 'The supplied Identity does not exist', - }); - } - - if (agents.length) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'The Corporate Actions Agent must be undefined to perform this procedure', - }); - } - - const rawSignatory = signerValueToSignatory( - { type: SignerType.Identity, value: signerToString(target) }, - context - ); - - const rawAuthorizationData = authorizationToAuthorizationData( - { - type: AuthorizationType.BecomeAgent, - value: new KnownPermissionGroup({ type: PermissionGroupType.PolymeshV1Caa, ticker }, context), - }, - context - ); - - let rawExpiry; - if (!requestExpiry) { - rawExpiry = null; - } else if (requestExpiry <= new Date()) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'The request expiry must be a future date', - }); - } else { - rawExpiry = dateToMoment(requestExpiry, context); - } - - return { - transaction: tx.identity.addAuthorization, - args: [rawSignatory, rawAuthorizationData, rawExpiry], - resolver: undefined, - }; -} - -/** - * @hidden - */ -export function getAuthorization( - this: Procedure, - { ticker }: Params -): ProcedureAuthorization { - return { - permissions: { - transactions: [TxTags.identity.AddAuthorization], - portfolios: [], - assets: [new FungibleAsset({ ticker }, this.context)], - }, - }; -} - -/** - * @hidden - */ -export const modifyCorporateActionsAgent = (): Procedure => - new Procedure(prepareModifyCorporateActionsAgent, getAuthorization); diff --git a/src/api/procedures/modifyInstructionAffirmation.ts b/src/api/procedures/modifyInstructionAffirmation.ts deleted file mode 100644 index 241e75bd5f..0000000000 --- a/src/api/procedures/modifyInstructionAffirmation.ts +++ /dev/null @@ -1,433 +0,0 @@ -import { Option, u64 } from '@polkadot/types'; -import { PolymeshPrimitivesIdentityIdPortfolioId } from '@polkadot/types/lookup'; -import BigNumber from 'bignumber.js'; -import P from 'bluebird'; - -import { assertInstructionValid } from '~/api/procedures/utils'; -import { Instruction, PolymeshError, Procedure } from '~/internal'; -import { Moment } from '~/polkadot'; -import { - AffirmationStatus, - DefaultPortfolio, - ErrorCode, - Identity, - InstructionAffirmationOperation, - Leg, - ModifyInstructionAffirmationParams, - NumberedPortfolio, - PortfolioId, - PortfolioLike, - TxTag, - TxTags, -} from '~/types'; -import { - ExtrinsicParams, - PolymeshTx, - ProcedureAuthorization, - TransactionSpec, -} from '~/types/internal'; -import { tuple } from '~/types/utils'; -import { - bigNumberToU64, - dateToMoment, - mediatorAffirmationStatusToStatus, - meshAffirmationStatusToAffirmationStatus, - portfolioIdToMeshPortfolioId, - portfolioLikeToPortfolioId, - stringToIdentityId, -} from '~/utils/conversion'; -import { optionize } from '~/utils/internal'; - -export interface Storage { - portfolios: (DefaultPortfolio | NumberedPortfolio)[]; - portfolioParams: PortfolioLike[]; - senderLegAmount: BigNumber; - totalLegAmount: BigNumber; - signer: Identity; -} - -/** - * @hidden - */ -const assertPortfoliosValid = ( - portfolioParams: PortfolioLike[], - portfolios: (DefaultPortfolio | NumberedPortfolio)[], - operation: InstructionAffirmationOperation -): void => { - if ( - operation === InstructionAffirmationOperation.AffirmAsMediator || - operation === InstructionAffirmationOperation.RejectAsMediator || - operation === InstructionAffirmationOperation.WithdrawAsMediator - ) { - return; - } - - if (portfolioParams.length && portfolioParams.length !== portfolios.length) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'Some of the portfolios are not a involved in this instruction', - }); - } - - if (!portfolios.length) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'The signing Identity is not involved in this Instruction', - }); - } -}; - -/** - * @hidden - */ -export async function prepareModifyInstructionAffirmation( - this: Procedure, - args: ModifyInstructionAffirmationParams -): Promise< - | TransactionSpec> - | TransactionSpec> - | TransactionSpec> - | TransactionSpec> - | TransactionSpec> - | TransactionSpec> -> { - const { - context: { - polymeshApi: { - tx: { settlement: settlementTx }, - query: { settlement }, - }, - }, - context, - storage: { portfolios, portfolioParams, senderLegAmount, totalLegAmount, signer }, - } = this; - - const { operation, id } = args; - - const instruction = new Instruction({ id }, context); - - await Promise.all([assertInstructionValid(instruction, context)]); - - assertPortfoliosValid(portfolioParams, portfolios, operation); - - const rawInstructionId = bigNumberToU64(id, context); - const rawPortfolioIds: PolymeshPrimitivesIdentityIdPortfolioId[] = portfolios.map(portfolio => - portfolioIdToMeshPortfolioId(portfolioLikeToPortfolioId(portfolio), context) - ); - - const rawDid = stringToIdentityId(signer.did, context); - const multiArgs = rawPortfolioIds.map(portfolioId => tuple(portfolioId, rawInstructionId)); - - const [rawAffirmationStatuses, rawMediatorAffirmation] = await Promise.all([ - settlement.userAffirmations.multi(multiArgs), - settlement.instructionMediatorsAffirmations(rawInstructionId, rawDid), - ]); - - const affirmationStatuses = rawAffirmationStatuses.map(meshAffirmationStatusToAffirmationStatus); - const { status: mediatorStatus, expiry } = - mediatorAffirmationStatusToStatus(rawMediatorAffirmation); - - const excludeCriteria: AffirmationStatus[] = []; - let errorMessage: string; - let transaction: - | PolymeshTx<[u64, PolymeshPrimitivesIdentityIdPortfolioId[]]> - | PolymeshTx<[u64, Option]> - | PolymeshTx<[u64]> - | null = null; - - switch (operation) { - case InstructionAffirmationOperation.Reject: { - return { - transaction: settlementTx.rejectInstruction, - resolver: instruction, - feeMultiplier: totalLegAmount, - args: [rawInstructionId, rawPortfolioIds[0]], - }; - } - case InstructionAffirmationOperation.AffirmAsMediator: { - if (mediatorStatus === AffirmationStatus.Unknown) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'The signer is not a mediator', - data: { signer: signer.did, instructionId: id.toString() }, - }); - } - - const givenExpiry = args.expiry; - const now = new Date(); - if (givenExpiry && givenExpiry < now) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'The expiry must be in the future', - data: { expiry, now }, - }); - } - - const rawExpiry = optionize(dateToMoment)(givenExpiry, context); - - return { - transaction: settlementTx.affirmInstructionAsMediator, - resolver: instruction, - args: [rawInstructionId, rawExpiry], - }; - } - - case InstructionAffirmationOperation.WithdrawAsMediator: { - if (mediatorStatus !== AffirmationStatus.Affirmed) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'The signer is not a mediator that has already affirmed the instruction', - data: { signer: signer.did, instructionId: id.toString() }, - }); - } - - return { - transaction: settlementTx.withdrawAffirmationAsMediator, - resolver: instruction, - args: [rawInstructionId], - }; - } - - case InstructionAffirmationOperation.RejectAsMediator: { - if (mediatorStatus === AffirmationStatus.Unknown) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'The signer is not a mediator for the instruction', - data: { did: signer.did, instructionId: id.toString() }, - }); - } - - return { - transaction: settlementTx.rejectInstructionAsMediator, - resolver: instruction, - args: [rawInstructionId, optionize(bigNumberToU64)(undefined, context)], - }; - } - case InstructionAffirmationOperation.Affirm: { - excludeCriteria.push(AffirmationStatus.Affirmed); - errorMessage = 'The Instruction is already affirmed'; - transaction = settlementTx.affirmInstruction; - - break; - } - case InstructionAffirmationOperation.Withdraw: { - excludeCriteria.push(AffirmationStatus.Pending); - errorMessage = 'The instruction is not affirmed'; - transaction = settlementTx.withdrawAffirmation; - - break; - } - } - - const validPortfolioIds = rawPortfolioIds.filter( - (_, index) => !excludeCriteria.includes(affirmationStatuses[index]) - ); - - if (!validPortfolioIds.length) { - throw new PolymeshError({ - code: ErrorCode.NoDataChange, - message: errorMessage, - }); - } - - return { - transaction, - resolver: instruction, - feeMultiplier: senderLegAmount, - args: [rawInstructionId, validPortfolioIds], - }; -} - -/** - * @hidden - */ -export async function getAuthorization( - this: Procedure, - { operation }: ModifyInstructionAffirmationParams -): Promise { - const { - storage: { portfolios }, - } = this; - - let transactions: TxTag[]; - - switch (operation) { - case InstructionAffirmationOperation.Affirm: { - transactions = [TxTags.settlement.AffirmInstruction]; - - break; - } - case InstructionAffirmationOperation.Withdraw: { - transactions = [TxTags.settlement.WithdrawAffirmation]; - - break; - } - case InstructionAffirmationOperation.Reject: { - transactions = [TxTags.settlement.RejectInstruction]; - - break; - } - case InstructionAffirmationOperation.AffirmAsMediator: { - transactions = [TxTags.settlement.AffirmInstructionAsMediator]; - - break; - } - case InstructionAffirmationOperation.WithdrawAsMediator: { - transactions = [TxTags.settlement.WithdrawAffirmationAsMediator]; - - break; - } - case InstructionAffirmationOperation.RejectAsMediator: { - transactions = [TxTags.settlement.RejectInstructionAsMediator]; - - break; - } - } - - return { - permissions: { - portfolios, - transactions, - assets: [], - }, - }; -} - -/** - * @hidden - */ -function extractPortfolioParams(params: ModifyInstructionAffirmationParams): PortfolioLike[] { - const { operation } = params; - let portfolioParams: PortfolioLike[] = []; - if (operation === InstructionAffirmationOperation.Reject) { - const { portfolio } = params; - if (portfolio) { - portfolioParams.push(portfolio); - } - } else if ( - operation === InstructionAffirmationOperation.Affirm || - operation === InstructionAffirmationOperation.Withdraw - ) { - const { portfolios } = params; - if (portfolios) { - portfolioParams = [...portfolioParams, ...portfolios]; - } - } - return portfolioParams; -} - -/** - * @hidden - */ -const isParam = ( - legPortfolio: DefaultPortfolio | NumberedPortfolio, - portfolioIdParams: PortfolioId[] -): boolean => { - const { did: legPortfolioDid, number: legPortfolioNumber } = - portfolioLikeToPortfolioId(legPortfolio); - return ( - !portfolioIdParams.length || - portfolioIdParams.some( - ({ did, number }) => - did === legPortfolioDid && - new BigNumber(legPortfolioNumber || 0).eq(new BigNumber(number || 0)) - ) - ); -}; - -/** - * @hidden - */ -const assemblePortfolios = async ( - result: [(DefaultPortfolio | NumberedPortfolio)[], BigNumber], - from: DefaultPortfolio | NumberedPortfolio, - to: DefaultPortfolio | NumberedPortfolio, - signingDid: string, - portfolioIdParams: PortfolioId[] -): Promise<[(DefaultPortfolio | NumberedPortfolio)[], BigNumber]> => { - const [fromExists, toExists] = await Promise.all([from.exists(), to.exists()]); - - const [custodiedPortfolios, amount] = result; - - let res = [...custodiedPortfolios]; - let legAmount = amount; - - const checkCustody = async ( - legPortfolio: DefaultPortfolio | NumberedPortfolio, - exists: boolean, - sender: boolean - ): Promise => { - if (exists) { - const isCustodied = await legPortfolio.isCustodiedBy({ identity: signingDid }); - if (isCustodied) { - res = [...res, legPortfolio]; - if (sender) { - legAmount = legAmount.plus(1); - } - } - } else if (legPortfolio.owner.did === signingDid) { - res = [...res, legPortfolio]; - } - }; - - const promises = []; - if (isParam(from, portfolioIdParams)) { - promises.push(checkCustody(from, fromExists, true)); - } - - if (isParam(to, portfolioIdParams)) { - promises.push(checkCustody(to, toExists, false)); - } - - await Promise.all(promises); - - return tuple(res, legAmount); -}; - -/** - * @hidden - */ -export async function prepareStorage( - this: Procedure, - params: ModifyInstructionAffirmationParams -): Promise { - const { context } = this; - const { id } = params; - - const portfolioParams = extractPortfolioParams(params); - - const portfolioIdParams = portfolioParams.map(portfolioLikeToPortfolioId); - - const instruction = new Instruction({ id }, context); - const [{ data: legs }, signer] = await Promise.all([ - instruction.getLegs(), - context.getSigningIdentity(), - ]); - - const [portfolios, senderLegAmount] = await P.reduce< - Leg, - [(DefaultPortfolio | NumberedPortfolio)[], BigNumber] - >( - legs, - async (result, { from, to }) => - assemblePortfolios(result, from, to, signer.did, portfolioIdParams), - [[], new BigNumber(0)] - ); - - return { - portfolios, - portfolioParams, - senderLegAmount, - totalLegAmount: new BigNumber(legs.length), - signer, - }; -} - -/** - * @hidden - */ -export const modifyInstructionAffirmation = (): Procedure< - ModifyInstructionAffirmationParams, - Instruction, - Storage -> => new Procedure(prepareModifyInstructionAffirmation, getAuthorization, prepareStorage); diff --git a/src/api/procedures/modifyMultiSig.ts b/src/api/procedures/modifyMultiSig.ts deleted file mode 100644 index b6f91b5963..0000000000 --- a/src/api/procedures/modifyMultiSig.ts +++ /dev/null @@ -1,143 +0,0 @@ -import BigNumber from 'bignumber.js'; - -import { PolymeshError, Procedure } from '~/internal'; -import { ErrorCode, ModifyMultiSigParams, Signer, TxTags } from '~/types'; -import { BatchTransactionSpec, ProcedureAuthorization } from '~/types/internal'; -import { signerToSignatory, signerToString, stringToAccountId } from '~/utils/conversion'; -import { checkTxType } from '~/utils/internal'; - -export interface Storage { - signersToAdd: Signer[]; - signersToRemove: Signer[]; - requiredSignatures: BigNumber; -} - -/** - * @hidden - */ -function calculateSignerDelta( - current: Signer[], - target: Signer[] -): Pick { - const currentSet = new Set(current.map(signerToString)); - const targetSet = new Set(target.map(signerToString)); - - const newSigners = new Set([...target].filter(s => !currentSet.has(signerToString(s)))); - const removedSigners = new Set([...current].filter(s => !targetSet.has(signerToString(s)))); - - return { signersToAdd: Array.from(newSigners), signersToRemove: Array.from(removedSigners) }; -} - -/** - * @hidden - */ -export async function prepareModifyMultiSig( - this: Procedure, - args: ModifyMultiSigParams -): Promise> { - const { - context: { - polymeshApi: { tx }, - }, - storage: { signersToAdd, signersToRemove, requiredSignatures }, - context, - } = this; - const { signers, multiSig } = args; - - const [signingIdentity, creator] = await Promise.all([ - context.getSigningIdentity(), - multiSig.getCreator(), - ]); - - if (!signersToAdd.length && !signersToRemove.length) { - throw new PolymeshError({ - code: ErrorCode.NoDataChange, - message: - 'The given signers are equal to the current signers. At least one signer should be added or removed', - }); - } - if (!creator.isEqual(signingIdentity)) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'A MultiSig can only be modified by its creator', - }); - } - - const rawAddress = stringToAccountId(multiSig.address, context); - - if (requiredSignatures.gt(signers.length)) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'The number of required signatures should not exceed the number of signers', - }); - } - - const transactions = []; - - if (signersToAdd.length > 0) { - const rawAddedSigners = signersToAdd.map(signer => signerToSignatory(signer, context)); - transactions.push( - checkTxType({ - transaction: tx.multiSig.addMultisigSignersViaCreator, - args: [rawAddress, rawAddedSigners], - }) - ); - } - - if (signersToRemove.length > 0) { - const rawRemovedSigners = signersToRemove.map(signer => signerToSignatory(signer, context)); - transactions.push( - checkTxType({ - transaction: tx.multiSig.removeMultisigSignersViaCreator, - args: [rawAddress, rawRemovedSigners], - }) - ); - } - - return { - transactions, - resolver: undefined, - }; -} - -/** - * @hidden - */ -export function getAuthorization( - this: Procedure -): ProcedureAuthorization { - const { - storage: { signersToAdd, signersToRemove }, - } = this; - const transactions = []; - if (signersToAdd.length > 0) { - transactions.push(TxTags.multiSig.AddMultisigSignersViaCreator); - } - - if (signersToRemove.length > 0) { - transactions.push(TxTags.multiSig.RemoveMultisigSignersViaCreator); - } - - return { - permissions: { - transactions, - }, - }; -} - -/** - * @hidden - */ -export async function prepareStorage( - this: Procedure, - { signers, multiSig }: ModifyMultiSigParams -): Promise { - const { signers: currentSigners, requiredSignatures } = await multiSig.details(); - return { ...calculateSignerDelta(currentSigners, signers), requiredSignatures }; -} - -/** - * @hidden - */ -export const modifyMultiSig = (): Procedure => - new Procedure(prepareModifyMultiSig, getAuthorization, prepareStorage); diff --git a/src/api/procedures/modifyOfferingTimes.ts b/src/api/procedures/modifyOfferingTimes.ts deleted file mode 100644 index a4ed21916d..0000000000 --- a/src/api/procedures/modifyOfferingTimes.ts +++ /dev/null @@ -1,145 +0,0 @@ -import { u64 } from '@polkadot/types'; -import BigNumber from 'bignumber.js'; - -import { FungibleAsset, Offering, PolymeshError, Procedure } from '~/internal'; -import { - ErrorCode, - ModifyOfferingTimesParams, - OfferingSaleStatus, - OfferingTimingStatus, - TxTags, -} from '~/types'; -import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; -import { bigNumberToU64, dateToMoment, stringToTicker } from '~/utils/conversion'; - -/** - * @hidden - */ -function validateInput( - sale: OfferingSaleStatus, - newStart: Date | undefined, - start: Date, - newEnd: Date | null | undefined, - end: Date | null, - timing: OfferingTimingStatus -): void { - if ([OfferingSaleStatus.Closed, OfferingSaleStatus.ClosedEarly].includes(sale)) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'The Offering is already closed', - }); - } - - const areSameTimes = - (!newStart || start === newStart) && (newEnd === undefined || end === newEnd); - - if (areSameTimes) { - throw new PolymeshError({ - code: ErrorCode.NoDataChange, - message: 'Nothing to modify', - }); - } - - const now = new Date(); - - if (timing === OfferingTimingStatus.Expired) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'The Offering has already ended', - }); - } - - if (timing !== OfferingTimingStatus.NotStarted && newStart) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'Cannot modify the start time of an Offering that already started', - }); - } - - const datesAreInThePast = (newStart && now > newStart) || (newEnd && now > newEnd); - - if (datesAreInThePast) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'New dates are in the past', - }); - } -} - -/** - * @hidden - */ -export type Params = ModifyOfferingTimesParams & { - id: BigNumber; - ticker: string; -}; - -/** - * @hidden - */ -export async function prepareModifyOfferingTimes( - this: Procedure, - args: Params -): Promise>> { - const { - context: { - polymeshApi: { - tx: { sto: txSto }, - }, - }, - context, - } = this; - const { ticker, id, start: newStart, end: newEnd } = args; - - const offering = new Offering({ ticker, id }, context); - - const { - status: { sale, timing }, - end, - start, - } = await offering.details(); - - validateInput(sale, newStart, start, newEnd, end, timing); - - const rawTicker = stringToTicker(ticker, context); - const rawId = bigNumberToU64(id, context); - const rawStart = newStart ? dateToMoment(newStart, context) : dateToMoment(start, context); - let rawEnd: u64 | null; - - if (newEnd === null) { - rawEnd = null; - } else if (!newEnd) { - rawEnd = end && dateToMoment(end, context); - } else { - rawEnd = dateToMoment(newEnd, context); - } - - return { - transaction: txSto.modifyFundraiserWindow, - args: [rawTicker, rawId, rawStart, rawEnd], - resolver: undefined, - }; -} - -/** - * @hidden - */ -export function getAuthorization( - this: Procedure, - { ticker }: Params -): ProcedureAuthorization { - const { context } = this; - return { - permissions: { - transactions: [TxTags.sto.ModifyFundraiserWindow], - assets: [new FungibleAsset({ ticker }, context)], - portfolios: [], - }, - }; -} - -/** - * @hidden - */ -export const modifyOfferingTimes = (): Procedure => - new Procedure(prepareModifyOfferingTimes, getAuthorization); diff --git a/src/api/procedures/modifySignerPermissions.ts b/src/api/procedures/modifySignerPermissions.ts deleted file mode 100644 index 0394d81d69..0000000000 --- a/src/api/procedures/modifySignerPermissions.ts +++ /dev/null @@ -1,117 +0,0 @@ -import { assertSecondaryAccounts } from '~/api/procedures/utils'; -import { Identity, Procedure } from '~/internal'; -import { ModifySignerPermissionsParams, TxTags } from '~/types'; -import { BatchTransactionSpec, ExtrinsicParams, ProcedureAuthorization } from '~/types/internal'; -import { tuple } from '~/types/utils'; -import { - permissionsLikeToPermissions, - permissionsToMeshPermissions, - stringToAccountId, -} from '~/utils/conversion'; -import { asAccount, getSecondaryAccountPermissions } from '~/utils/internal'; - -/** - * @hidden - */ -export interface Storage { - identity: Identity; -} - -/** - * @hidden - */ -export async function prepareModifySignerPermissions( - this: Procedure, - args: ModifySignerPermissionsParams -): Promise< - BatchTransactionSpec[]> -> { - const { - context: { - polymeshApi: { tx }, - }, - context, - storage: { identity }, - } = this; - - const { secondaryAccounts } = args; - const accounts = secondaryAccounts.map(({ account }) => asAccount(account, context)); - const existingSecondaryAccounts = await getSecondaryAccountPermissions( - { accounts, identity }, - context - ); - assertSecondaryAccounts(accounts, existingSecondaryAccounts); - - const signersList = secondaryAccounts.map(({ account, permissions: permissionsLike }) => { - const permissions = permissionsLikeToPermissions(permissionsLike, context); - - const rawPermissions = permissionsToMeshPermissions(permissions, context); - - const { address } = asAccount(account, context); - const rawSignatory = stringToAccountId(address, context); - - return tuple(rawSignatory, rawPermissions); - }); - - const transaction = tx.identity.setSecondaryKeyPermissions; - - return { - transactions: signersList.map(params => ({ - transaction, - args: params, - })), - resolver: undefined, - }; -} - -/** - * @hidden - */ -export async function getAuthorization( - this: Procedure -): Promise { - const { - context, - storage: { identity }, - } = this; - - const signingAccount = context.getSigningAccount(); - const { account: primaryAccount } = await identity.getPrimaryAccount(); - - if (!signingAccount.isEqual(primaryAccount)) { - return { - signerPermissions: - "Secondary Account permissions can only be modified by the Identity's primary Account", - }; - } - - return { - permissions: { - transactions: [TxTags.identity.SetPermissionToSigner], - assets: [], - portfolios: [], - }, - }; -} - -/** - * @hidden - */ -export async function prepareStorage( - this: Procedure -): Promise { - const { context } = this; - - return { - identity: await context.getSigningIdentity(), - }; -} - -/** - * @hidden - */ -export const modifySignerPermissions = (): Procedure< - ModifySignerPermissionsParams, - void, - Storage -> => new Procedure(prepareModifySignerPermissions, getAuthorization, prepareStorage); diff --git a/src/api/procedures/modifyVenue.ts b/src/api/procedures/modifyVenue.ts deleted file mode 100644 index 1358b5bd42..0000000000 --- a/src/api/procedures/modifyVenue.ts +++ /dev/null @@ -1,100 +0,0 @@ -import { PolymeshError, Procedure, Venue } from '~/internal'; -import { ErrorCode, ModifyVenueParams, RoleType, TxTags } from '~/types'; -import { BatchTransactionSpec, ProcedureAuthorization } from '~/types/internal'; -import { bigNumberToU64, stringToBytes, venueTypeToMeshVenueType } from '~/utils/conversion'; -import { checkTxType } from '~/utils/internal'; - -/** - * @hidden - */ -export type Params = { venue: Venue } & ModifyVenueParams; - -/** - * @hidden - */ -export async function prepareModifyVenue( - this: Procedure, - args: Params -): Promise> { - const { - context: { - polymeshApi: { tx }, - }, - context, - } = this; - - const { venue, description, type } = args; - - const { id: venueId } = venue; - - const { description: currentDescription, type: currentType } = await venue.details(); - - if (currentDescription === description) { - throw new PolymeshError({ - code: ErrorCode.NoDataChange, - message: 'New description is the same as the current one', - }); - } - - if (currentType === type) { - throw new PolymeshError({ - code: ErrorCode.NoDataChange, - message: 'New type is the same as the current one', - }); - } - - const transactions = []; - - if (description) { - transactions.push( - checkTxType({ - transaction: tx.settlement.updateVenueDetails, - args: [bigNumberToU64(venueId, context), stringToBytes(description, context)], - }) - ); - } - - if (type) { - transactions.push( - checkTxType({ - transaction: tx.settlement.updateVenueType, - args: [bigNumberToU64(venueId, context), venueTypeToMeshVenueType(type, context)], - }) - ); - } - - return { transactions, resolver: undefined }; -} - -/** - * @hidden - */ -export function getAuthorization( - this: Procedure, - { venue: { id: venueId }, description, type }: Params -): ProcedureAuthorization { - const transactions = []; - - if (description) { - transactions.push(TxTags.settlement.UpdateVenueDetails); - } - - if (type) { - transactions.push(TxTags.settlement.UpdateVenueType); - } - - return { - roles: [{ type: RoleType.VenueOwner, venueId }], - permissions: { - assets: [], - portfolios: [], - transactions, - }, - }; -} - -/** - * @hidden - */ -export const modifyVenue = (): Procedure => - new Procedure(prepareModifyVenue, getAuthorization); diff --git a/src/api/procedures/moveFunds.ts b/src/api/procedures/moveFunds.ts deleted file mode 100644 index 1cc6488805..0000000000 --- a/src/api/procedures/moveFunds.ts +++ /dev/null @@ -1,258 +0,0 @@ -import BigNumber from 'bignumber.js'; -import { uniq } from 'lodash'; - -import { assertPortfolioExists } from '~/api/procedures/utils'; -import { Context, DefaultPortfolio, NumberedPortfolio, PolymeshError, Procedure } from '~/internal'; -import { - ErrorCode, - FungiblePortfolioMovement, - MoveFundsParams, - NonFungiblePortfolioMovement, - PortfolioId, - PortfolioMovement, - RoleType, - TxTags, -} from '~/types'; -import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; -import { isFungibleAsset, isNftCollection } from '~/utils'; -import { - fungibleMovementToPortfolioFund, - nftMovementToPortfolioFund, - portfolioIdToMeshPortfolioId, - portfolioLikeToPortfolioId, -} from '~/utils/conversion'; -import { asAsset, asNftId, asTicker } from '~/utils/internal'; - -/** - * @hidden - */ -export type Params = MoveFundsParams & { - from: DefaultPortfolio | NumberedPortfolio; -}; - -/** - * @hidden - * separates user input into fungible and nft movements - */ -async function segregateItems( - items: PortfolioMovement[], - context: Context -): Promise<{ - fungibleMovements: FungiblePortfolioMovement[]; - nftMovements: NonFungiblePortfolioMovement[]; -}> { - const fungibleMovements: FungiblePortfolioMovement[] = []; - const nftMovements: NonFungiblePortfolioMovement[] = []; - const tickers: string[] = []; - - for (const item of items) { - const { asset } = item; - const ticker = asTicker(asset); - tickers.push(ticker); - - const typedAsset = await asAsset(asset, context); - if (isFungibleAsset(typedAsset)) { - if (!('amount' in item)) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'The key "amount" should be present in a fungible portfolio movement', - data: { ticker }, - }); - } - fungibleMovements.push(item as FungiblePortfolioMovement); - } else if (isNftCollection(typedAsset)) { - if (!('nfts' in item)) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'The key "nfts" should be present in an NFT portfolio movement', - data: { ticker }, - }); - } - nftMovements.push(item as NonFungiblePortfolioMovement); - } - } - - const hasDuplicates = uniq(tickers).length !== tickers.length; - - if (hasDuplicates) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'Portfolio movements cannot contain any Asset more than once', - }); - } - - return { - fungibleMovements, - nftMovements, - }; -} - -/** - * @hidden - */ -export async function prepareMoveFunds( - this: Procedure, - args: Params -): Promise>> { - const { - context: { - polymeshApi: { - tx: { portfolio }, - }, - }, - context, - } = this; - - const { from: fromPortfolio, to, items } = args; - - const { fungibleMovements, nftMovements } = await segregateItems(items, context); - - const { - owner: { did: fromDid }, - } = fromPortfolio; - - let toPortfolio; - if (!to) { - toPortfolio = new DefaultPortfolio({ did: fromDid }, context); - } else if (to instanceof BigNumber) { - toPortfolio = new NumberedPortfolio({ did: fromDid, id: to }, context); - } else { - toPortfolio = to; - } - - const { - owner: { did: toDid }, - } = toPortfolio; - - const fromPortfolioId = portfolioLikeToPortfolioId(fromPortfolio); - const toPortfolioId = portfolioLikeToPortfolioId(toPortfolio); - - await Promise.all([ - assertPortfolioExists(fromPortfolioId, context), - assertPortfolioExists(toPortfolioId, context), - ]); - - if (fromDid !== toDid) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'Both portfolios should have the same owner', - }); - } - - if (fromPortfolioId.number === toPortfolioId.number) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'Origin and destination should be different Portfolios', - }); - } - - const [fungibleBalances, heldCollections] = await Promise.all([ - fromPortfolio.getAssetBalances({ - assets: fungibleMovements.map(({ asset }) => asTicker(asset)), - }), - fromPortfolio.getCollections({ collections: nftMovements.map(({ asset }) => asTicker(asset)) }), - ]); - const balanceExceeded: (PortfolioMovement & { free: BigNumber })[] = []; - - fungibleBalances.forEach(({ asset: { ticker }, free }) => { - const transferItem = fungibleMovements.find( - ({ asset: itemAsset }) => asTicker(itemAsset) === ticker - )!; - - if (transferItem.amount.gt(free)) { - balanceExceeded.push({ ...transferItem, free }); - } - }); - - if (balanceExceeded.length) { - throw new PolymeshError({ - code: ErrorCode.InsufficientBalance, - message: "Some of the amounts being transferred exceed the Portfolio's balance", - data: { - balanceExceeded, - }, - }); - } - - const unavailableNfts: Record = {}; - - nftMovements.forEach(movement => { - const ticker = asTicker(movement.asset); - const heldNfts = heldCollections.find(({ collection }) => collection.ticker === ticker); - - movement.nfts.forEach(nftId => { - const id = asNftId(nftId); - const hasNft = heldNfts?.free.find(held => held.id.eq(id)); - if (!hasNft) { - const entry = unavailableNfts[ticker] || []; - entry.push(id); - unavailableNfts[ticker] = entry; - } - }); - }); - - if (Object.keys(unavailableNfts).length > 0) { - throw new PolymeshError({ - code: ErrorCode.InsufficientBalance, - message: 'Some of the NFTs are not available in the sending portfolio', - data: { unavailableNfts }, - }); - } - - const rawFrom = portfolioIdToMeshPortfolioId(fromPortfolioId, context); - const rawTo = portfolioIdToMeshPortfolioId(toPortfolioId, context); - - const rawFungibleMovements = fungibleMovements.map(item => - fungibleMovementToPortfolioFund(item, context) - ); - - const rawNftMovements = nftMovements.map(item => nftMovementToPortfolioFund(item, context)); - - return { - transaction: portfolio.movePortfolioFunds, - args: [rawFrom, rawTo, [...rawFungibleMovements, ...rawNftMovements]], - resolver: undefined, - }; -} - -/** - * @hidden - */ -export function getAuthorization( - this: Procedure, - { from, to }: Params -): ProcedureAuthorization { - const { context } = this; - const { - owner: { did }, - } = from; - let portfolioId: PortfolioId = { did }; - - if (from instanceof NumberedPortfolio) { - portfolioId = { ...portfolioId, number: from.id }; - } - - let toPortfolio; - if (!to) { - toPortfolio = new DefaultPortfolio({ did }, context); - } else if (to instanceof BigNumber) { - toPortfolio = new NumberedPortfolio({ did, id: to }, context); - } else { - toPortfolio = to; - } - - return { - permissions: { - transactions: [TxTags.portfolio.MovePortfolioFunds], - assets: [], - portfolios: [from, toPortfolio], - }, - roles: [{ type: RoleType.PortfolioCustodian, portfolioId }], - }; -} - -/** - * @hidden - */ -export const moveFunds = (): Procedure => - new Procedure(prepareMoveFunds, getAuthorization); diff --git a/src/api/procedures/payDividends.ts b/src/api/procedures/payDividends.ts deleted file mode 100644 index 6e17b147f3..0000000000 --- a/src/api/procedures/payDividends.ts +++ /dev/null @@ -1,121 +0,0 @@ -import { assertDistributionOpen } from '~/api/procedures/utils'; -import { DividendDistribution, Identity, PolymeshError, Procedure } from '~/internal'; -import { ErrorCode, PayDividendsParams, TargetTreatment, TxTags } from '~/types'; -import { BatchTransactionSpec, ExtrinsicParams, ProcedureAuthorization } from '~/types/internal'; -import { tuple } from '~/types/utils'; -import { - boolToBoolean, - corporateActionIdentifierToCaId, - signerToString, - stringToIdentityId, -} from '~/utils/conversion'; -import { asIdentity, xor } from '~/utils/internal'; - -/** - * @hidden - */ -export type Params = { distribution: DividendDistribution } & PayDividendsParams; - -/** - * @hidden - */ -export async function preparePayDividends( - this: Procedure, - args: Params -): Promise[]>> { - const { - context: { - polymeshApi: { - tx, - query: { capitalDistribution }, - }, - }, - context, - } = this; - const { - distribution: { - targets: { identities, treatment }, - id: localId, - asset: { ticker }, - paymentDate, - expiryDate, - }, - targets, - } = args; - - assertDistributionOpen(paymentDate, expiryDate); - - const excluded: Identity[] = []; - targets.forEach(target => { - const targetIdentity = asIdentity(target, context); - const found = !!identities.find(identity => identity.isEqual(targetIdentity)); - if (xor(found, treatment === TargetTreatment.Include)) { - excluded.push(targetIdentity); - } - }); - - if (excluded.length) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'Some of the supplied Identities are not included in this Distribution', - data: { excluded }, - }); - } - - const rawCaId = corporateActionIdentifierToCaId({ ticker, localId }, context); - - const rawArgs = targets.map(target => - tuple(rawCaId, stringToIdentityId(signerToString(target), context)) - ); - - const holderPaidList = await capitalDistribution.holderPaid.multi(rawArgs); - - const alreadyClaimedList: Identity[] = []; - holderPaidList.forEach((holderPaid, i) => { - if (boolToBoolean(holderPaid)) { - alreadyClaimedList.push(new Identity({ did: signerToString(targets[i]) }, context)); - } - }); - - if (alreadyClaimedList.length) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: - 'Some of the supplied Identities have already either been paid or claimed their share of the Distribution', - data: { - targets: alreadyClaimedList, - }, - }); - } - - const transaction = tx.capitalDistribution.pushBenefit; - - return { - transactions: rawArgs.map(txArgs => ({ - transaction, - args: txArgs, - })), - resolver: undefined, - }; -} - -/** - * @hidden - */ -export async function getAuthorization( - this: Procedure -): Promise { - return { - permissions: { - transactions: [TxTags.capitalDistribution.PushBenefit], - assets: [], - portfolios: [], - }, - }; -} - -/** - * @hidden - */ -export const payDividends = (): Procedure => - new Procedure(preparePayDividends, getAuthorization); diff --git a/src/api/procedures/quitCustody.ts b/src/api/procedures/quitCustody.ts deleted file mode 100644 index f371dcb1ee..0000000000 --- a/src/api/procedures/quitCustody.ts +++ /dev/null @@ -1,92 +0,0 @@ -import { assertPortfolioExists } from '~/api/procedures/utils'; -import { DefaultPortfolio, NumberedPortfolio, PolymeshError, Procedure } from '~/internal'; -import { ErrorCode, PortfolioId, RoleType, TxTags } from '~/types'; -import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; -import { portfolioIdToMeshPortfolioId, portfolioLikeToPortfolioId } from '~/utils/conversion'; - -/** - * @hidden - */ -export type Params = { - portfolio: DefaultPortfolio | NumberedPortfolio; -}; - -export interface Storage { - portfolioId: PortfolioId; -} - -/** - * @hidden - */ -export async function prepareQuitCustody( - this: Procedure, - args: Params -): Promise>> { - const { - context: { - polymeshApi: { tx }, - }, - storage: { portfolioId }, - context, - } = this; - - const { portfolio } = args; - - const signer = await context.getSigningIdentity(); - const isOwnedBySigner = await portfolio.isOwnedBy({ identity: signer }); - - if (isOwnedBySigner) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'The Portfolio owner cannot quit custody', - }); - } - - await assertPortfolioExists(portfolioId, context); - - const rawPortfolioId = portfolioIdToMeshPortfolioId(portfolioId, context); - - return { - transaction: tx.portfolio.quitPortfolioCustody, - args: [rawPortfolioId], - resolver: undefined, - }; -} - -/** - * @hidden - */ -export function getAuthorization( - this: Procedure, - { portfolio }: Params -): ProcedureAuthorization { - const { - storage: { portfolioId }, - } = this; - return { - permissions: { - transactions: [TxTags.portfolio.QuitPortfolioCustody], - assets: [], - portfolios: [portfolio], - }, - roles: [{ type: RoleType.PortfolioCustodian, portfolioId }], - }; -} - -/** - * @hidden - */ -export async function prepareStorage( - this: Procedure, - { portfolio }: Params -): Promise { - return { - portfolioId: portfolioLikeToPortfolioId(portfolio), - }; -} - -/** - * @hidden - */ -export const quitCustody = (): Procedure => - new Procedure(prepareQuitCustody, getAuthorization, prepareStorage); diff --git a/src/api/procedures/quitSubsidy.ts b/src/api/procedures/quitSubsidy.ts deleted file mode 100644 index d8ae7d0b50..0000000000 --- a/src/api/procedures/quitSubsidy.ts +++ /dev/null @@ -1,85 +0,0 @@ -import { PolymeshError, Procedure, Subsidy } from '~/internal'; -import { ErrorCode, TxTags } from '~/types'; -import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; -import { stringToAccountId } from '~/utils/conversion'; - -export interface QuitSubsidyParams { - subsidy: Subsidy; -} - -/** - * @hidden - */ -export async function prepareQuitSubsidy( - this: Procedure, - args: QuitSubsidyParams -): Promise>> { - const { - context: { - polymeshApi: { tx }, - }, - context, - } = this; - - const { - subsidy: { - beneficiary: { address: beneficiaryAddress }, - subsidizer: { address: subsidizerAddress }, - }, - subsidy, - } = args; - - const exists = await subsidy.exists(); - - if (!exists) { - throw new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: 'The Subsidy no longer exists', - }); - } - - const rawBeneficiaryAccount = stringToAccountId(beneficiaryAddress, context); - - const rawSubsidizerAccount = stringToAccountId(subsidizerAddress, context); - - return { - transaction: tx.relayer.removePayingKey, - args: [rawBeneficiaryAccount, rawSubsidizerAccount], - resolver: undefined, - }; -} - -/** - * @hidden - * - * To quit a Subsidy, the caller should be either the beneficiary or the subsidizer - */ -export async function getAuthorization( - this: Procedure, - args: QuitSubsidyParams -): Promise { - const { context } = this; - const { - subsidy: { - beneficiary: { address: beneficiaryAddress }, - subsidizer: { address: subsidizerAddress }, - }, - } = args; - - const { address } = context.getSigningAccount(); - - const hasRoles = [beneficiaryAddress, subsidizerAddress].includes(address); - - return { - roles: hasRoles || 'Only the subsidizer or the beneficiary are allowed to quit a Subsidy', - permissions: { - transactions: [TxTags.relayer.RemovePayingKey], - }, - }; -} - -/** - * @hidden - */ -export const quitSubsidy = (): Procedure => - new Procedure(prepareQuitSubsidy, getAuthorization); diff --git a/src/api/procedures/reclaimDividendDistributionFunds.ts b/src/api/procedures/reclaimDividendDistributionFunds.ts deleted file mode 100644 index 4cc968def8..0000000000 --- a/src/api/procedures/reclaimDividendDistributionFunds.ts +++ /dev/null @@ -1,92 +0,0 @@ -import { DividendDistribution, FungibleAsset, PolymeshError, Procedure } from '~/internal'; -import { ErrorCode, RoleType, TxTags } from '~/types'; -import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; -import { corporateActionIdentifierToCaId, portfolioToPortfolioId } from '~/utils/conversion'; - -/** - * @hidden - */ -export interface Params { - distribution: DividendDistribution; -} - -/** - * @hidden - */ -export async function prepareReclaimDividendDistributionFunds( - this: Procedure, - args: Params -): Promise>> { - const { - context: { - polymeshApi: { tx }, - }, - context, - } = this; - - const { - distribution: { - id: localId, - asset: { ticker }, - expiryDate, - }, - distribution, - } = args; - - if (expiryDate && expiryDate >= new Date()) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'The Distribution must be expired', - data: { - expiryDate, - }, - }); - } - - const { fundsReclaimed } = await distribution.details(); - - if (fundsReclaimed) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'Distribution funds have already been reclaimed', - }); - } - - const rawCaId = corporateActionIdentifierToCaId({ ticker, localId }, context); - - return { - transaction: tx.capitalDistribution.reclaim, - args: [rawCaId], - resolver: undefined, - }; -} - -/** - * @hidden - */ -export async function getAuthorization( - this: Procedure, - { - distribution: { - origin, - asset: { ticker }, - }, - }: Params -): Promise { - const { context } = this; - - return { - roles: [{ type: RoleType.PortfolioCustodian, portfolioId: portfolioToPortfolioId(origin) }], - permissions: { - transactions: [TxTags.capitalDistribution.Reclaim], - assets: [new FungibleAsset({ ticker }, context)], - portfolios: [origin], - }, - }; -} - -/** - * @hidden - */ -export const reclaimDividendDistributionFunds = (): Procedure => - new Procedure(prepareReclaimDividendDistributionFunds, getAuthorization); diff --git a/src/api/procedures/redeemNft.ts b/src/api/procedures/redeemNft.ts deleted file mode 100644 index 737c0dd900..0000000000 --- a/src/api/procedures/redeemNft.ts +++ /dev/null @@ -1,110 +0,0 @@ -import BigNumber from 'bignumber.js'; - -import { - DefaultPortfolio, - NftCollection, - NumberedPortfolio, - PolymeshError, - Procedure, -} from '~/internal'; -import { ErrorCode, RedeemNftParams, TxTags } from '~/types'; -import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; -import { bigNumberToU64, portfolioToPortfolioKind, stringToTicker } from '~/utils/conversion'; - -export interface Storage { - fromPortfolio: DefaultPortfolio | NumberedPortfolio; -} - -/** - * @hidden - */ -export type Params = { ticker: string; id: BigNumber } & RedeemNftParams; - -/** - * @hidden - */ -export async function prepareRedeemNft( - this: Procedure, - args: Params -): Promise>> { - const { - context, - context: { - polymeshApi: { tx }, - }, - storage: { fromPortfolio }, - } = this; - - const { ticker, id } = args; - - const rawTicker = stringToTicker(ticker, context); - - const [{ free }] = await fromPortfolio.getCollections({ collections: [ticker] }); - - if (!free.find(heldNft => heldNft.id.eq(id))) { - throw new PolymeshError({ - code: ErrorCode.InsufficientBalance, - message: 'Portfolio does not hold NFT to redeem', - data: { - nftId: id.toString(), - }, - }); - } - - const rawId = bigNumberToU64(id, context); - - return { - transaction: tx.nft.redeemNft, - args: [rawTicker, rawId, portfolioToPortfolioKind(fromPortfolio, context)], - resolver: undefined, - }; -} - -/** - * @hidden - */ -export async function getAuthorization( - this: Procedure, - { ticker }: Params -): Promise { - const { - context, - storage: { fromPortfolio }, - } = this; - - return { - permissions: { - transactions: [TxTags.nft.RedeemNft], - assets: [new NftCollection({ ticker }, context)], - portfolios: [fromPortfolio], - }, - }; -} - -/** - * @hidden - */ -export async function prepareStorage( - this: Procedure, - { from }: Params -): Promise { - const { context } = this; - - const { did } = await context.getSigningIdentity(); - - if (!from) { - return { fromPortfolio: new DefaultPortfolio({ did }, context) }; - } else if (from instanceof BigNumber) { - return { fromPortfolio: new NumberedPortfolio({ did, id: from }, context) }; - } - - return { - fromPortfolio: from, - }; -} - -/** - * @hidden - */ -export const redeemNft = (): Procedure => - new Procedure(prepareRedeemNft, getAuthorization, prepareStorage); diff --git a/src/api/procedures/redeemTokens.ts b/src/api/procedures/redeemTokens.ts deleted file mode 100644 index f66d72b353..0000000000 --- a/src/api/procedures/redeemTokens.ts +++ /dev/null @@ -1,129 +0,0 @@ -import BigNumber from 'bignumber.js'; - -import { - DefaultPortfolio, - FungibleAsset, - NumberedPortfolio, - PolymeshError, - Procedure, -} from '~/internal'; -import { ErrorCode, RedeemTokensParams, TxTags } from '~/types'; -import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; -import { bigNumberToBalance, portfolioToPortfolioKind, stringToTicker } from '~/utils/conversion'; - -export interface Storage { - fromPortfolio: DefaultPortfolio | NumberedPortfolio; -} - -/** - * @hidden - */ -export type Params = { ticker: string } & RedeemTokensParams; - -/** - * @hidden - */ -export async function prepareRedeemTokens( - this: Procedure, - args: Params -): Promise< - | TransactionSpec> - | TransactionSpec> -> { - const { - context, - context: { - polymeshApi: { tx }, - }, - storage: { fromPortfolio }, - } = this; - - const { ticker, amount, from } = args; - - const asset = new FungibleAsset({ ticker }, context); - const rawTicker = stringToTicker(ticker, context); - - const [[{ free }], { isDivisible }] = await Promise.all([ - fromPortfolio.getAssetBalances({ assets: [ticker] }), - asset.details(), - ]); - - if (free.lt(amount)) { - throw new PolymeshError({ - code: ErrorCode.InsufficientBalance, - message: 'Insufficient free balance', - data: { - free, - }, - }); - } - - const rawAmount = bigNumberToBalance(amount, context, isDivisible); - - if (from) { - return { - transaction: tx.asset.redeemFromPortfolio, - args: [rawTicker, rawAmount, portfolioToPortfolioKind(fromPortfolio, context)], - resolver: undefined, - }; - } - - return { - transaction: tx.asset.redeem, - args: [rawTicker, rawAmount], - resolver: undefined, - }; -} - -/** - * @hidden - */ -export async function getAuthorization( - this: Procedure, - { ticker, from }: Params -): Promise { - const { - context, - storage: { fromPortfolio }, - } = this; - - return { - permissions: { - transactions: [from ? TxTags.asset.RedeemFromPortfolio : TxTags.asset.Redeem], - assets: [new FungibleAsset({ ticker }, context)], - portfolios: [fromPortfolio], - }, - }; -} - -/** - * @hidden - */ -export async function prepareStorage( - this: Procedure, - { from }: Params -): Promise { - const { context } = this; - - const { did } = await context.getSigningIdentity(); - - let fromPortfolio: DefaultPortfolio | NumberedPortfolio; - - if (!from) { - fromPortfolio = new DefaultPortfolio({ did }, context); - } else if (from instanceof BigNumber) { - fromPortfolio = new NumberedPortfolio({ did, id: from }, context); - } else { - fromPortfolio = from; - } - - return { - fromPortfolio, - }; -} - -/** - * @hidden - */ -export const redeemTokens = (): Procedure => - new Procedure(prepareRedeemTokens, getAuthorization, prepareStorage); diff --git a/src/api/procedures/registerCustomClaimType.ts b/src/api/procedures/registerCustomClaimType.ts deleted file mode 100644 index 595eb0c00a..0000000000 --- a/src/api/procedures/registerCustomClaimType.ts +++ /dev/null @@ -1,85 +0,0 @@ -import { ISubmittableResult } from '@polkadot/types/types'; -import BigNumber from 'bignumber.js'; - -import { PolymeshError, Procedure } from '~/internal'; -import { ErrorCode, RegisterCustomClaimTypeParams, TxTags } from '~/types'; -import { ExtrinsicParams, TransactionSpec } from '~/types/internal'; -import { u32ToBigNumber } from '~/utils/conversion'; -import { filterEventRecords } from '~/utils/internal'; - -/** - * @hidden - */ -export type Params = RegisterCustomClaimTypeParams; - -/** - * @hidden - */ -export const createRegisterCustomClaimTypeResolver = - () => - (receipt: ISubmittableResult): BigNumber => { - const [{ data }] = filterEventRecords(receipt, 'identity', 'CustomClaimTypeAdded'); - - return u32ToBigNumber(data[1]); - }; - -/** - * @hidden - */ -export async function prepareRegisterCustomClaimType( - this: Procedure, - args: RegisterCustomClaimTypeParams -): Promise>> { - const { - context: { - polymeshApi: { - tx: { identity }, - query: { identity: identityQuery }, - consts: { - base: { maxLen }, - }, - }, - }, - } = this; - const { name } = args; - - const claimTypeMaxLength = u32ToBigNumber(maxLen); - - if (claimTypeMaxLength.lt(name.length)) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'CustomClaimType name length exceeded', - data: { - maxLength: claimTypeMaxLength, - }, - }); - } - - const customClaimTypeIdOpt = await identityQuery.customClaimsInverse(name); - - if (customClaimTypeIdOpt.isSome) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: `The CustomClaimType with "${name}" already exists`, - }); - } - - return { - transaction: identity.registerCustomClaimType, - args: [name], - resolver: createRegisterCustomClaimTypeResolver(), - }; -} - -/** - * @hidden - */ -export const registerCustomClaimType = (): Procedure => - new Procedure(prepareRegisterCustomClaimType, { - roles: [], - permissions: { - assets: [], - portfolios: [], - transactions: [TxTags.identity.RegisterCustomClaimType], - }, - }); diff --git a/src/api/procedures/registerIdentity.ts b/src/api/procedures/registerIdentity.ts deleted file mode 100644 index 14ce5e0705..0000000000 --- a/src/api/procedures/registerIdentity.ts +++ /dev/null @@ -1,90 +0,0 @@ -import { ISubmittableResult } from '@polkadot/types/types'; - -import { Context, Identity, PolymeshError, Procedure } from '~/internal'; -import { ErrorCode, RegisterIdentityParams, RoleType, TxTags } from '~/types'; -import { ExtrinsicParams, TransactionSpec } from '~/types/internal'; -import { - dateToMoment, - identityIdToString, - permissionsLikeToPermissions, - secondaryAccountToMeshSecondaryKey, - signerToString, - stringToAccountId, -} from '~/utils/conversion'; -import { filterEventRecords, optionize } from '~/utils/internal'; - -/** - * @hidden - */ -export const createRegisterIdentityResolver = - (context: Context) => - (receipt: ISubmittableResult): Identity => { - const [{ data }] = filterEventRecords(receipt, 'identity', 'DidCreated'); - const did = identityIdToString(data[0]); - - return new Identity({ did }, context); - }; - -/** - * @hidden - */ -export async function prepareRegisterIdentity( - this: Procedure, - args: RegisterIdentityParams -): Promise< - | TransactionSpec> - | TransactionSpec> -> { - const { - context: { - polymeshApi: { - tx: { identity }, - }, - }, - context, - } = this; - const { targetAccount, secondaryAccounts = [], createCdd = false, expiry } = args; - - const rawTargetAccount = stringToAccountId(signerToString(targetAccount), context); - const rawSecondaryKeys = secondaryAccounts.map(({ permissions, ...rest }) => - secondaryAccountToMeshSecondaryKey( - { ...rest, permissions: permissionsLikeToPermissions(permissions, context) }, - context - ) - ); - - if (createCdd) { - const cddExpiry = optionize(dateToMoment)(expiry, context); - return { - transaction: identity.cddRegisterDidWithCdd, - args: [rawTargetAccount, rawSecondaryKeys, cddExpiry], - resolver: createRegisterIdentityResolver(context), - }; - } else { - if (expiry) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'Expiry cannot be set unless a CDD claim is being created', - }); - } - - return { - transaction: identity.cddRegisterDid, - args: [rawTargetAccount, rawSecondaryKeys], - resolver: createRegisterIdentityResolver(context), - }; - } -} - -/** - * @hidden - */ -export const registerIdentity = (): Procedure => - new Procedure(prepareRegisterIdentity, { - roles: [{ type: RoleType.CddProvider }], - permissions: { - assets: [], - portfolios: [], - transactions: [TxTags.identity.CddRegisterDid], - }, - }); diff --git a/src/api/procedures/registerMetadata.ts b/src/api/procedures/registerMetadata.ts deleted file mode 100644 index d952989662..0000000000 --- a/src/api/procedures/registerMetadata.ts +++ /dev/null @@ -1,148 +0,0 @@ -import { ISubmittableResult } from '@polkadot/types/types'; - -import { Context, FungibleAsset, MetadataEntry, PolymeshError, Procedure } from '~/internal'; -import { ErrorCode, MetadataType, RegisterMetadataParams, TxTags } from '~/types'; -import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; -import { - metadataSpecToMeshMetadataSpec, - metadataValueDetailToMeshMetadataValueDetail, - metadataValueToMeshMetadataValue, - stringToBytes, - stringToTicker, - u32ToBigNumber, - u64ToBigNumber, -} from '~/utils/conversion'; -import { filterEventRecords, optionize, requestMulti } from '~/utils/internal'; - -/** - * @hidden - */ -export type Params = RegisterMetadataParams & { - ticker: string; -}; - -/** - * @hidden - */ -export const createMetadataResolver = - (ticker: string, context: Context) => - (receipt: ISubmittableResult): MetadataEntry => { - const [{ data }] = filterEventRecords(receipt, 'asset', 'RegisterAssetMetadataLocalType'); - - const id = u64ToBigNumber(data[3]); - - return new MetadataEntry({ id, ticker, type: MetadataType.Local }, context); - }; - -/** - * @hidden - */ -export async function prepareRegisterMetadata( - this: Procedure, - params: Params -): Promise< - | TransactionSpec> - | TransactionSpec> -> { - const { - context: { - polymeshApi: { - tx, - query: { - asset: { assetMetadataGlobalNameToKey, assetMetadataLocalNameToKey }, - }, - consts: { - asset: { assetMetadataNameMaxLength }, - }, - }, - }, - context, - } = this; - const { name, ticker, specs } = params; - - const rawTicker = stringToTicker(ticker, context); - - const metadataNameMaxLength = u32ToBigNumber(assetMetadataNameMaxLength); - if (metadataNameMaxLength.lt(name.length)) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'Asset Metadata name length exceeded', - data: { - maxLength: metadataNameMaxLength, - }, - }); - } - - const rawName = stringToBytes(name, context); - - const [rawGlobalId, rawLocalId] = await requestMulti< - [typeof assetMetadataGlobalNameToKey, typeof assetMetadataLocalNameToKey] - >(context, [ - [assetMetadataGlobalNameToKey, rawName], - [assetMetadataLocalNameToKey, [rawTicker, rawName]], - ]); - - if (rawGlobalId.isSome || rawLocalId.isSome) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: `Metadata with name "${name}" already exists`, - }); - } - - const args = [rawTicker, rawName, metadataSpecToMeshMetadataSpec(specs, context)]; - - if ('value' in params) { - // eslint-disable-next-line @typescript-eslint/no-shadow, @typescript-eslint/no-unused-vars - const { value, details } = params; - - return { - transaction: tx.asset.registerAndSetLocalAssetMetadata, - args: [ - ...args, - metadataValueToMeshMetadataValue(value, context), - optionize(metadataValueDetailToMeshMetadataValueDetail)(details, context), - ], - resolver: createMetadataResolver(ticker, context), - }; - } - - return { - transaction: tx.asset.registerAssetMetadataLocalType, - args, - resolver: createMetadataResolver(ticker, context), - }; -} - -/** - * @hidden - */ -export function getAuthorization( - this: Procedure, - params: Params -): ProcedureAuthorization { - const { context } = this; - - const { ticker } = params; - - const transactions = []; - - if ('value' in params) { - transactions.push(TxTags.asset.RegisterAndSetLocalAssetMetadata); - } else { - transactions.push(TxTags.asset.RegisterAssetMetadataLocalType); - } - - return { - permissions: { - transactions, - assets: [new FungibleAsset({ ticker }, context)], - portfolios: [], - }, - }; -} - -/** - * @hidden - */ -export const registerMetadata = (): Procedure => - new Procedure(prepareRegisterMetadata, getAuthorization); diff --git a/src/api/procedures/rejectConfidentialTransaction.ts b/src/api/procedures/rejectConfidentialTransaction.ts index fa79ee4bfe..9bfc4de7bc 100644 --- a/src/api/procedures/rejectConfidentialTransaction.ts +++ b/src/api/procedures/rejectConfidentialTransaction.ts @@ -1,9 +1,17 @@ +import { ErrorCode } from '@polymeshassociation/polymesh-sdk/types'; +import { TransactionSpec } from '@polymeshassociation/polymesh-sdk/types/internal'; +import { bigNumberToU32, bigNumberToU64 } from '@polymeshassociation/polymesh-sdk/utils/conversion'; import BigNumber from 'bignumber.js'; -import { PolymeshError, Procedure } from '~/internal'; -import { ConfidentialTransaction, ConfidentialTransactionStatus, ErrorCode, TxTags } from '~/types'; -import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; -import { bigNumberToU32, bigNumberToU64 } from '~/utils/conversion'; +import { ConfidentialProcedure } from '~/base/ConfidentialProcedure'; +import { PolymeshError } from '~/internal'; +import { + ConfidentialProcedureAuthorization, + ConfidentialTransaction, + ConfidentialTransactionStatus, + TxTags, +} from '~/types'; +import { ExtrinsicParams } from '~/types/internal'; /** * @hidden @@ -16,7 +24,7 @@ export interface Params { * @hidden */ export async function prepareRejectConfidentialTransaction( - this: Procedure, + this: ConfidentialProcedure, args: Params ): Promise< TransactionSpec< @@ -72,8 +80,8 @@ export async function prepareRejectConfidentialTransaction( * @hidden */ export async function getAuthorization( - this: Procedure -): Promise { + this: ConfidentialProcedure +): Promise { return { permissions: { assets: [], @@ -86,5 +94,7 @@ export async function getAuthorization( /** * @hidden */ -export const rejectConfidentialTransaction = (): Procedure => - new Procedure(prepareRejectConfidentialTransaction, getAuthorization); +export const rejectConfidentialTransaction = (): ConfidentialProcedure< + Params, + ConfidentialTransaction +> => new ConfidentialProcedure(prepareRejectConfidentialTransaction, getAuthorization); diff --git a/src/api/procedures/removeAssetMediators.ts b/src/api/procedures/removeAssetMediators.ts deleted file mode 100644 index 3b53fa19fc..0000000000 --- a/src/api/procedures/removeAssetMediators.ts +++ /dev/null @@ -1,74 +0,0 @@ -import { BaseAsset, PolymeshError, Procedure } from '~/internal'; -import { AssetMediatorParams, ErrorCode, TxTags } from '~/types'; -import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; -import { identitiesToBtreeSet, stringToTicker } from '~/utils/conversion'; -import { asIdentity } from '~/utils/internal'; -/** - * @hidden - */ -export type Params = { asset: BaseAsset } & AssetMediatorParams; - -/** - * @hidden - */ -export async function prepareRemoveAssetMediators( - this: Procedure, - args: Params -): Promise>> { - const { - context: { - polymeshApi: { tx }, - }, - context, - } = this; - - const { - asset, - asset: { ticker }, - mediators: mediatorInput, - } = args; - - const currentMediators = await asset.getRequiredMediators(); - - const removeMediators = mediatorInput.map(mediator => asIdentity(mediator, context)); - - removeMediators.forEach(({ did: removeDid }) => { - const alreadySetDid = currentMediators.find(({ did: currentDid }) => currentDid === removeDid); - - if (!alreadySetDid) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'One of the specified mediators to remove is not set', - data: { ticker, removeDid }, - }); - } - }); - - const rawNewMediators = identitiesToBtreeSet(removeMediators, context); - const rawTicker = stringToTicker(ticker, context); - - return { - transaction: tx.asset.removeMandatoryMediators, - args: [rawTicker, rawNewMediators], - resolver: undefined, - }; -} - -/** - * @hidden - */ -export function getAuthorization(this: Procedure, args: Params): ProcedureAuthorization { - return { - permissions: { - transactions: [TxTags.asset.RemoveMandatoryMediators], - portfolios: [], - assets: [args.asset], - }, - }; -} - -/** - * @hidden - */ -export const removeAssetMediators = (): Procedure => - new Procedure(prepareRemoveAssetMediators, getAuthorization); diff --git a/src/api/procedures/removeAssetRequirement.ts b/src/api/procedures/removeAssetRequirement.ts deleted file mode 100644 index d9e2d51a83..0000000000 --- a/src/api/procedures/removeAssetRequirement.ts +++ /dev/null @@ -1,72 +0,0 @@ -import BigNumber from 'bignumber.js'; - -import { FungibleAsset, PolymeshError, Procedure } from '~/internal'; -import { ErrorCode, RemoveAssetRequirementParams, TxTags } from '~/types'; -import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; -import { bigNumberToU32, stringToTicker, u32ToBigNumber } from '~/utils/conversion'; - -/** - * @hidden - */ -export type Params = RemoveAssetRequirementParams & { - ticker: string; -}; - -/** - * @hidden - */ -export async function prepareRemoveAssetRequirement( - this: Procedure, - args: Params -): Promise< - TransactionSpec> -> { - const { - context: { - polymeshApi: { query, tx }, - }, - context, - } = this; - const { ticker, requirement } = args; - - const rawTicker = stringToTicker(ticker, context); - - const reqId = requirement instanceof BigNumber ? requirement : requirement.id; - - const { requirements } = await query.complianceManager.assetCompliances(rawTicker); - - if (!requirements.some(({ id: rawId }) => u32ToBigNumber(rawId).eq(reqId))) { - throw new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: `There is no compliance requirement with id "${reqId}"`, - }); - } - - return { - transaction: tx.complianceManager.removeComplianceRequirement, - args: [rawTicker, bigNumberToU32(reqId, context)], - resolver: undefined, - }; -} - -/** - * @hidden - */ -export function getAuthorization( - this: Procedure, - { ticker }: Params -): ProcedureAuthorization { - return { - permissions: { - transactions: [TxTags.complianceManager.RemoveComplianceRequirement], - assets: [new FungibleAsset({ ticker }, this.context)], - portfolios: [], - }, - }; -} - -/** - * @hidden - */ -export const removeAssetRequirement = (): Procedure => - new Procedure(prepareRemoveAssetRequirement, getAuthorization); diff --git a/src/api/procedures/removeAssetStat.ts b/src/api/procedures/removeAssetStat.ts deleted file mode 100644 index 3a882642fb..0000000000 --- a/src/api/procedures/removeAssetStat.ts +++ /dev/null @@ -1,109 +0,0 @@ -import { - PolymeshPrimitivesIdentityClaimClaimType, - PolymeshPrimitivesIdentityId, -} from '@polkadot/types/lookup'; - -import { FungibleAsset, PolymeshError, Procedure } from '~/internal'; -import { ErrorCode, RemoveAssetStatParams, StatClaimIssuer, StatType, TxTags } from '~/types'; -import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; -import { - claimIssuerToMeshClaimIssuer, - statisticsOpTypeToStatType, - statisticStatTypesToBtreeStatType, - statTypeToStatOpType, - stringToTickerKey, -} from '~/utils/conversion'; -import { compareTransferRestrictionToStat, requestMulti } from '~/utils/internal'; - -/** - * @hidden - */ -export async function prepareRemoveAssetStat( - this: Procedure, - args: RemoveAssetStatParams -): Promise>> { - const { - context: { - polymeshApi: { - tx: { statistics }, - query: { statistics: statisticsQuery }, - }, - }, - context, - } = this; - const { ticker, type } = args; - const tickerKey = stringToTickerKey(ticker, context); - - const [currentStats, { requirements }] = await requestMulti< - [typeof statisticsQuery.activeAssetStats, typeof statisticsQuery.assetTransferCompliances] - >(context, [ - [statisticsQuery.activeAssetStats, tickerKey], - [statisticsQuery.assetTransferCompliances, tickerKey], - ]); - - let claimIssuer: StatClaimIssuer; - let rawClaimIssuer: - | [PolymeshPrimitivesIdentityClaimClaimType, PolymeshPrimitivesIdentityId] - | undefined; - - if (type === StatType.ScopedCount || type === StatType.ScopedBalance) { - claimIssuer = { issuer: args.issuer, claimType: args.claimType }; - rawClaimIssuer = claimIssuerToMeshClaimIssuer(claimIssuer, context); - } - - requirements.forEach(r => { - const used = compareTransferRestrictionToStat(r, type, claimIssuer); - if (used) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: - 'The statistic cannot be removed because a Transfer Restriction is currently using it', - }); - } - }); - - const op = statTypeToStatOpType(type, context); - - const removeTarget = statisticsOpTypeToStatType({ op, claimIssuer: rawClaimIssuer }, context); - const statsArr = [...currentStats]; - const removeIndex = statsArr.findIndex(s => removeTarget.eq(s)); - if (removeIndex >= 0) { - statsArr.splice(removeIndex, 1); - } else { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'Cannot remove a stat that is not enabled for this Asset', - }); - } - const newStats = statisticStatTypesToBtreeStatType(statsArr, context); - - return { - transaction: statistics.setActiveAssetStats, - args: [tickerKey, newStats], - resolver: undefined, - }; -} - -/** - * @hidden - */ -export function getAuthorization( - this: Procedure, - { ticker }: RemoveAssetStatParams -): ProcedureAuthorization { - const transactions = [TxTags.statistics.SetActiveAssetStats]; - const asset = new FungibleAsset({ ticker }, this.context); - return { - permissions: { - transactions, - assets: [asset], - portfolios: [], - }, - }; -} - -/** - * @hidden - */ -export const removeAssetStat = (): Procedure => - new Procedure(prepareRemoveAssetStat, getAuthorization); diff --git a/src/api/procedures/removeCheckpointSchedule.ts b/src/api/procedures/removeCheckpointSchedule.ts deleted file mode 100644 index 7adac1fcd0..0000000000 --- a/src/api/procedures/removeCheckpointSchedule.ts +++ /dev/null @@ -1,87 +0,0 @@ -import BigNumber from 'bignumber.js'; - -import { FungibleAsset, PolymeshError, Procedure } from '~/internal'; -import { ErrorCode, RemoveCheckpointScheduleParams, TxTags } from '~/types'; -import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; -import { bigNumberToU64, stringToTicker, u32ToBigNumber } from '~/utils/conversion'; - -/** - * @hidden - */ -export type Params = RemoveCheckpointScheduleParams & { - ticker: string; -}; - -/** - * @hidden - */ -export async function prepareRemoveCheckpointSchedule( - this: Procedure, - args: Params -): Promise>> { - const { - context, - context: { - polymeshApi: { tx, query }, - }, - } = this; - const { ticker, schedule } = args; - - const id = schedule instanceof BigNumber ? schedule : schedule.id; - const rawTicker = stringToTicker(ticker, context); - const rawId = bigNumberToU64(id, context); - - const rawSchedule = await query.checkpoint.scheduledCheckpoints(rawTicker, rawId); - const exists = rawSchedule.isSome; - - if (!exists) { - throw new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: 'Schedule was not found. It may have been removed or expired', - }); - } - - const rawScheduleId = bigNumberToU64(id, context); - - const scheduleRefCount = await query.checkpoint.scheduleRefCount(rawTicker, rawScheduleId); - const referenceCount = u32ToBigNumber(scheduleRefCount); - - if (referenceCount.gt(0)) { - throw new PolymeshError({ - code: ErrorCode.EntityInUse, - message: 'This Schedule is being referenced by other Entities. It cannot be removed', - data: { - referenceCount, - }, - }); - } - - return { - transaction: tx.checkpoint.removeSchedule, - args: [rawTicker, rawScheduleId], - resolver: undefined, - }; -} - -/** - * @hidden - */ -export function getAuthorization( - this: Procedure, - { ticker }: Params -): ProcedureAuthorization { - const { context } = this; - return { - permissions: { - transactions: [TxTags.checkpoint.RemoveSchedule], - assets: [new FungibleAsset({ ticker }, context)], - portfolios: [], - }, - }; -} - -/** - * @hidden - */ -export const removeCheckpointSchedule = (): Procedure => - new Procedure(prepareRemoveCheckpointSchedule, getAuthorization); diff --git a/src/api/procedures/removeCorporateAction.ts b/src/api/procedures/removeCorporateAction.ts deleted file mode 100644 index ca3626ae40..0000000000 --- a/src/api/procedures/removeCorporateAction.ts +++ /dev/null @@ -1,134 +0,0 @@ -import { QueryableStorage } from '@polkadot/api/types'; -import { PalletCorporateActionsCaId } from '@polkadot/types/lookup'; -import BigNumber from 'bignumber.js'; - -import { - Context, - CorporateActionBase, - DividendDistribution, - FungibleAsset, - PolymeshError, - Procedure, -} from '~/internal'; -import { ErrorCode, RemoveCorporateActionParams, TxTags } from '~/types'; -import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; -import { - bigNumberToU32, - corporateActionIdentifierToCaId, - momentToDate, - stringToTicker, -} from '~/utils/conversion'; - -/** - * @hidden - */ -export type Params = RemoveCorporateActionParams & { - ticker: string; -}; - -const caNotExistsMessage = "The Corporate Action doesn't exist"; - -/** - * @hidden - */ -const assertCaIsRemovable = async ( - rawCaId: PalletCorporateActionsCaId, - query: QueryableStorage<'promise'>, - ticker: string, - context: Context, - corporateAction: CorporateActionBase | BigNumber -): Promise => { - const distribution = await query.capitalDistribution.distributions(rawCaId); - const exists = distribution.isSome; - - if (!exists && !(corporateAction instanceof BigNumber)) { - throw new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: "The Distribution doesn't exist", - }); - } - - if (corporateAction instanceof BigNumber) { - const CA = await query.corporateAction.corporateActions( - stringToTicker(ticker, context), - bigNumberToU32(corporateAction, context) - ); - - if (CA.isEmpty) { - throw new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: caNotExistsMessage, - }); - } - } else { - const { paymentAt: rawPaymentAt } = distribution.unwrap(); - - if (momentToDate(rawPaymentAt) < new Date()) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'The Distribution has already started', - }); - } - } -}; - -/** - * @hidden - */ -export async function prepareRemoveCorporateAction( - this: Procedure, - args: Params -): Promise>> { - const { - context, - context: { - polymeshApi: { tx, query }, - }, - } = this; - const { ticker, corporateAction } = args; - - const localId = - corporateAction instanceof CorporateActionBase ? corporateAction.id : corporateAction; - const rawCaId = corporateActionIdentifierToCaId({ ticker, localId }, context); - - if (corporateAction instanceof DividendDistribution || corporateAction instanceof BigNumber) { - await assertCaIsRemovable(rawCaId, query, ticker, context, corporateAction); - } else { - const exists = await corporateAction.exists(); - - if (!exists) { - throw new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: caNotExistsMessage, - }); - } - } - - return { - transaction: tx.corporateAction.removeCa, - args: [rawCaId], - resolver: undefined, - }; -} - -/** - * @hidden - */ -export function getAuthorization( - this: Procedure, - { ticker }: Params -): ProcedureAuthorization { - return { - permissions: { - transactions: [TxTags.corporateAction.RemoveCa], - assets: [new FungibleAsset({ ticker }, this.context)], - portfolios: [], - }, - }; -} - -/** - * @hidden - */ -export const removeCorporateAction = (): Procedure => - new Procedure(prepareRemoveCorporateAction, getAuthorization); diff --git a/src/api/procedures/removeExternalAgent.ts b/src/api/procedures/removeExternalAgent.ts deleted file mode 100644 index 5e091fc3ea..0000000000 --- a/src/api/procedures/removeExternalAgent.ts +++ /dev/null @@ -1,110 +0,0 @@ -import { isFullGroupType } from '~/api/procedures/utils'; -import { FungibleAsset, PolymeshError, Procedure } from '~/internal'; -import { ErrorCode, RemoveExternalAgentParams, TxTags } from '~/types'; -import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; -import { stringToIdentityId, stringToTicker } from '~/utils/conversion'; -import { getIdentity } from '~/utils/internal'; - -/** - * @hidden - */ -export type Params = RemoveExternalAgentParams & { - ticker: string; -}; - -/** - * @hidden - */ -export interface Storage { - asset: FungibleAsset; -} - -/** - * @hidden - */ -export async function prepareRemoveExternalAgent( - this: Procedure, - args: Params -): Promise>> { - const { - context: { - polymeshApi: { - tx: { externalAgents }, - }, - }, - context, - storage: { asset }, - } = this; - - const { ticker, target } = args; - - const [currentAgents, targetIdentity] = await Promise.all([ - asset.permissions.getAgents(), - getIdentity(target, context), - ]); - - const agentWithGroup = currentAgents.find(({ agent }) => agent.isEqual(targetIdentity)); - - if (!agentWithGroup) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'The target Identity is not an External Agent', - }); - } - - if (isFullGroupType(agentWithGroup.group)) { - const fullGroupAgents = currentAgents.filter(({ group }) => isFullGroupType(group)); - if (fullGroupAgents.length === 1) { - throw new PolymeshError({ - code: ErrorCode.EntityInUse, - message: - 'The target is the last Agent with full permissions for this Asset. There should always be at least one Agent with full permissions', - }); - } - } - - const rawTicker = stringToTicker(ticker, context); - const rawAgent = stringToIdentityId(targetIdentity.did, context); - - return { - transaction: externalAgents.removeAgent, - args: [rawTicker, rawAgent], - resolver: undefined, - }; -} - -/** - * @hidden - */ -export function getAuthorization(this: Procedure): ProcedureAuthorization { - const { - storage: { asset }, - } = this; - return { - permissions: { - transactions: [TxTags.externalAgents.RemoveAgent], - assets: [asset], - portfolios: [], - }, - }; -} - -/** - * @hidden - */ -export function prepareStorage( - this: Procedure, - { ticker }: Params -): Storage { - const { context } = this; - - return { - asset: new FungibleAsset({ ticker }, context), - }; -} - -/** - * @hidden - */ -export const removeExternalAgent = (): Procedure => - new Procedure(prepareRemoveExternalAgent, getAuthorization, prepareStorage); diff --git a/src/api/procedures/removeLocalMetadata.ts b/src/api/procedures/removeLocalMetadata.ts deleted file mode 100644 index f86c04e208..0000000000 --- a/src/api/procedures/removeLocalMetadata.ts +++ /dev/null @@ -1,109 +0,0 @@ -import { FungibleAsset, MetadataEntry, PolymeshError, Procedure } from '~/internal'; -import { ErrorCode, MetadataType, TxTags } from '~/types'; -import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; -import { bigNumberToU64, meshMetadataKeyToMetadataKey, stringToTicker } from '~/utils/conversion'; - -/** - * @hidden - */ -export type Params = { - metadataEntry: MetadataEntry; -}; - -/** - * @hidden - */ -export async function prepareRemoveLocalMetadata( - this: Procedure, - params: Params -): Promise>> { - const { - context: { - polymeshApi: { - tx, - query: { - nft: { collectionKeys, collectionTicker }, - }, - }, - }, - context, - } = this; - - const { - metadataEntry: { - id, - type, - asset: { ticker }, - }, - metadataEntry, - } = params; - - if (type === MetadataType.Global) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'Global Metadata keys cannot be deleted', - }); - } - - const rawTicker = stringToTicker(ticker, context); - const rawKeyId = bigNumberToU64(id, context); - - const [collectionKey, { canModify, reason }] = await Promise.all([ - collectionTicker(rawTicker), - metadataEntry.isModifiable(), - ]); - - if (!collectionKey.isZero()) { - const rawKeys = await collectionKeys(collectionKey); - const isRequired = [...rawKeys].some(value => - meshMetadataKeyToMetadataKey(value, ticker).id.eq(id) - ); - - if (isRequired) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'Cannot delete a mandatory NFT Collection Key', - }); - } - } - - if (!canModify) { - throw reason; - } - - return { - transaction: tx.asset.removeLocalMetadataKey, - args: [rawTicker, rawKeyId], - resolver: undefined, - }; -} - -/** - * @hidden - */ -export function getAuthorization( - this: Procedure, - params: Params -): ProcedureAuthorization { - const { context } = this; - - const { - metadataEntry: { - asset: { ticker }, - }, - } = params; - - return { - permissions: { - transactions: [TxTags.asset.RemoveLocalMetadataKey], - assets: [new FungibleAsset({ ticker }, context)], - portfolios: [], - }, - }; -} - -/** - * @hidden - */ -export const removeLocalMetadata = (): Procedure => - new Procedure(prepareRemoveLocalMetadata, getAuthorization); diff --git a/src/api/procedures/removeSecondaryAccounts.ts b/src/api/procedures/removeSecondaryAccounts.ts deleted file mode 100644 index 59b39e69e1..0000000000 --- a/src/api/procedures/removeSecondaryAccounts.ts +++ /dev/null @@ -1,62 +0,0 @@ -import BigNumber from 'bignumber.js'; - -import { assertSecondaryAccounts } from '~/api/procedures/utils'; -import { PolymeshError, Procedure } from '~/internal'; -import { ErrorCode, RemoveSecondaryAccountsParams, TxTags } from '~/types'; -import { ExtrinsicParams, TransactionSpec } from '~/types/internal'; -import { stringToAccountId } from '~/utils/conversion'; -import { getSecondaryAccountPermissions } from '~/utils/internal'; - -/** - * @hidden - */ -export async function prepareRemoveSecondaryAccounts( - this: Procedure, - args: RemoveSecondaryAccountsParams -): Promise>> { - const { - context: { - polymeshApi: { tx }, - }, - context, - } = this; - - const { accounts } = args; - - const identity = await context.getSigningIdentity(); - - const [{ account: primaryAccount }, secondaryAccounts] = await Promise.all([ - identity.getPrimaryAccount(), - getSecondaryAccountPermissions({ accounts, identity }, context), - ]); - - const isPrimaryAccountPresent = accounts.find(account => account.isEqual(primaryAccount)); - - if (isPrimaryAccountPresent) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'You cannot remove the primary Account', - }); - } - - assertSecondaryAccounts(accounts, secondaryAccounts); - - return { - transaction: tx.identity.removeSecondaryKeys, - feeMultiplier: new BigNumber(accounts.length), - args: [accounts.map(({ address }) => stringToAccountId(address, context))], - resolver: undefined, - }; -} - -/** - * @hidden - */ -export const removeSecondaryAccounts = (): Procedure => - new Procedure(prepareRemoveSecondaryAccounts, { - permissions: { - transactions: [TxTags.identity.RemoveSecondaryKeys], - assets: [], - portfolios: [], - }, - }); diff --git a/src/api/procedures/renamePortfolio.ts b/src/api/procedures/renamePortfolio.ts deleted file mode 100644 index fc93eee93d..0000000000 --- a/src/api/procedures/renamePortfolio.ts +++ /dev/null @@ -1,85 +0,0 @@ -import BigNumber from 'bignumber.js'; - -import { NumberedPortfolio, PolymeshError, Procedure } from '~/internal'; -import { ErrorCode, RenamePortfolioParams, TxTags } from '~/types'; -import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; -import { bigNumberToU64, stringToBytes, stringToIdentityId } from '~/utils/conversion'; -import { getPortfolioIdsByName } from '~/utils/internal'; - -/** - * @hidden - */ -export type Params = { did: string; id: BigNumber } & RenamePortfolioParams; - -/** - * @hidden - */ -export async function prepareRenamePortfolio( - this: Procedure, - args: Params -): Promise>> { - const { - context: { - polymeshApi: { - tx: { portfolio }, - }, - }, - context, - } = this; - - const { did, id, name: newName } = args; - - const identityId = stringToIdentityId(did, context); - - const rawNewName = stringToBytes(newName, context); - - const [existingPortfolioNumber] = await getPortfolioIdsByName(identityId, [rawNewName], context); - - if (existingPortfolioNumber) { - if (id.eq(existingPortfolioNumber)) { - throw new PolymeshError({ - code: ErrorCode.NoDataChange, - message: 'New name is the same as current name', - }); - } else { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'A Portfolio with that name already exists', - }); - } - } - return { - transaction: portfolio.renamePortfolio, - args: [bigNumberToU64(id, context), rawNewName], - resolver: new NumberedPortfolio({ did, id }, context), - }; -} - -/** - * @hidden - */ -export async function getAuthorization( - this: Procedure, - { did, id }: Params -): Promise { - const { context } = this; - - const { did: signingDid } = await context.getSigningIdentity(); - - const hasRoles = signingDid === did; - - return { - roles: hasRoles || 'Only the owner is allowed to modify the name of a Portfolio', - permissions: { - transactions: [TxTags.portfolio.RenamePortfolio], - portfolios: [new NumberedPortfolio({ did, id }, this.context)], - assets: [], - }, - }; -} - -/** - * @hidden - */ -export const renamePortfolio = (): Procedure => - new Procedure(prepareRenamePortfolio, getAuthorization); diff --git a/src/api/procedures/reserveTicker.ts b/src/api/procedures/reserveTicker.ts deleted file mode 100644 index 1820fc4bc5..0000000000 --- a/src/api/procedures/reserveTicker.ts +++ /dev/null @@ -1,108 +0,0 @@ -import { ISubmittableResult } from '@polkadot/types/types'; - -import { Context, PolymeshError, Procedure, TickerReservation } from '~/internal'; -import { ErrorCode, ReserveTickerParams, RoleType, TickerReservationStatus, TxTags } from '~/types'; -import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; -import { stringToTicker, tickerToString } from '~/utils/conversion'; -import { filterEventRecords, isAlphanumeric } from '~/utils/internal'; - -/** - * @hidden - * NOTE: this might seem redundant but it's done in case some mutation is done on the ticker on chain (e.g. upper case or truncating) - */ -export const createTickerReservationResolver = - (context: Context) => - (receipt: ISubmittableResult): TickerReservation => { - const [{ data }] = filterEventRecords(receipt, 'asset', 'TickerRegistered'); - const newTicker = tickerToString(data[1]); - - return new TickerReservation({ ticker: newTicker }, context); - }; - -/** - * @hidden - */ -export async function prepareReserveTicker( - this: Procedure, - args: ReserveTickerParams -): Promise>> { - const { - context: { - polymeshApi: { tx }, - }, - context, - } = this; - const { ticker, extendPeriod = false } = args; - - if (!isAlphanumeric(ticker)) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'New Tickers can only contain alphanumeric values', - }); - } - - const rawTicker = stringToTicker(ticker, context); - - const reservation = new TickerReservation({ ticker }, context); - - const { expiryDate, status } = await reservation.details(); - - if (status === TickerReservationStatus.AssetCreated) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: `An Asset with ticker "${ticker}" already exists`, - }); - } else if (status === TickerReservationStatus.Reserved) { - if (!extendPeriod) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: `Ticker "${ticker}" already reserved`, - data: { - expiryDate, - }, - }); - } - } else { - if (extendPeriod) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'Ticker not reserved or the reservation has expired', - }); - } - } - - return { - transaction: tx.asset.registerTicker, - args: [rawTicker], - resolver: createTickerReservationResolver(context), - }; -} - -/** - * @hidden - * If extending a reservation, the user must be the ticker owner - */ -export function getAuthorization({ - ticker, - extendPeriod, -}: ReserveTickerParams): ProcedureAuthorization { - const auth: ProcedureAuthorization = { - permissions: { - transactions: [TxTags.asset.RegisterTicker], - assets: [], - portfolios: [], - }, - }; - - if (extendPeriod) { - return { ...auth, roles: [{ type: RoleType.TickerOwner, ticker }] }; - } - - return auth; -} - -/** - * @hidden - */ -export const reserveTicker = (): Procedure => - new Procedure(prepareReserveTicker, getAuthorization); diff --git a/src/api/procedures/rotatePrimaryKey.ts b/src/api/procedures/rotatePrimaryKey.ts deleted file mode 100644 index 8bbe9393af..0000000000 --- a/src/api/procedures/rotatePrimaryKey.ts +++ /dev/null @@ -1,100 +0,0 @@ -import { createAuthorizationResolver } from '~/api/procedures/utils'; -import { PolymeshError, Procedure } from '~/internal'; -import { - Authorization, - AuthorizationRequest, - AuthorizationType, - ErrorCode, - RotatePrimaryKeyParams, - TxTags, -} from '~/types'; -import { ExtrinsicParams, TransactionSpec } from '~/types/internal'; -import { - authorizationToAuthorizationData, - expiryToMoment, - signerToSignatory, - signerToString, -} from '~/utils/conversion'; -import { asAccount } from '~/utils/internal'; - -/** - * @hidden - */ -export async function prepareRotatePrimaryKey( - this: Procedure, - args: RotatePrimaryKeyParams -): Promise>> { - const { - context: { - polymeshApi: { - tx: { - identity: { addAuthorization }, - }, - }, - }, - context, - } = this; - const { targetAccount, expiry } = args; - - const issuerIdentity = await context.getSigningIdentity(); - - const target = asAccount(targetAccount, context); - - const authorizationRequests = await issuerIdentity.authorizations.getSent(); - const pendingAuthorization = authorizationRequests.data.find(authorizationRequest => { - const { - target: targetSigner, - data: { type }, - } = authorizationRequest; - return ( - signerToString(targetSigner) === targetAccount && - !authorizationRequest.isExpired() && - type === AuthorizationType.RotatePrimaryKey - ); - }); - - if (pendingAuthorization) { - throw new PolymeshError({ - code: ErrorCode.NoDataChange, - message: - 'The target Account already has a pending invitation to become the primary key of the given Identity', - data: { - pendingAuthorization, - }, - }); - } - - const rawSignatory = signerToSignatory(target, context); - - const authorization: Authorization = { - type: AuthorizationType.RotatePrimaryKey, - }; - - const rawAuthorizationData = authorizationToAuthorizationData(authorization, context); - - const rawExpiry = expiryToMoment(expiry, context); - - return { - transaction: addAuthorization, - args: [rawSignatory, rawAuthorizationData, rawExpiry], - resolver: createAuthorizationResolver( - authorization, - issuerIdentity, - target, - expiry ?? null, - context - ), - }; -} - -/** - * @hidden - */ -export const rotatePrimaryKey = (): Procedure => - new Procedure(prepareRotatePrimaryKey, { - permissions: { - assets: [], - portfolios: [], - transactions: [TxTags.identity.AddAuthorization], - }, - }); diff --git a/src/api/procedures/setAssetDocuments.ts b/src/api/procedures/setAssetDocuments.ts deleted file mode 100644 index bdd80246e3..0000000000 --- a/src/api/procedures/setAssetDocuments.ts +++ /dev/null @@ -1,146 +0,0 @@ -import { u32 } from '@polkadot/types'; -import BigNumber from 'bignumber.js'; - -import { FungibleAsset, PolymeshError, Procedure } from '~/internal'; -import { AssetDocument, ErrorCode, SetAssetDocumentsParams, TxTags } from '~/types'; -import { BatchTransactionSpec, ProcedureAuthorization } from '~/types/internal'; -import { - assetDocumentToDocument, - documentToAssetDocument, - stringToTicker, -} from '~/utils/conversion'; -import { checkTxType, hasSameElements } from '~/utils/internal'; - -export interface Storage { - currentDocIds: u32[]; - currentDocs: AssetDocument[]; -} - -/** - * @hidden - */ -export type Params = SetAssetDocumentsParams & { - ticker: string; -}; - -/** - * @hidden - */ -export async function prepareSetAssetDocuments( - this: Procedure, - args: Params -): Promise> { - const { - context: { - polymeshApi: { tx }, - }, - context, - storage: { currentDocIds, currentDocs }, - } = this; - const { ticker, documents } = args; - - if (hasSameElements(currentDocs, documents)) { - throw new PolymeshError({ - code: ErrorCode.NoDataChange, - message: 'The supplied document list is equal to the current one', - }); - } - - const rawDocuments = documents.map(doc => assetDocumentToDocument(doc, context)); - - const rawTicker = stringToTicker(ticker, context); - - const transactions = []; - - if (currentDocIds.length) { - transactions.push( - checkTxType({ - transaction: tx.asset.removeDocuments, - feeMultiplier: new BigNumber(currentDocIds.length), - args: [currentDocIds, rawTicker], - }) - ); - } - - if (rawDocuments.length) { - transactions.push( - checkTxType({ - transaction: tx.asset.addDocuments, - feeMultiplier: new BigNumber(rawDocuments.length), - args: [rawDocuments, rawTicker], - }) - ); - } - - return { transactions, resolver: undefined }; -} - -/** - * @hidden - */ -export function getAuthorization( - this: Procedure, - { ticker, documents }: Params -): ProcedureAuthorization { - const { - storage: { currentDocIds }, - } = this; - const transactions = []; - - if (documents.length) { - transactions.push(TxTags.asset.AddDocuments); - } - - if (currentDocIds.length) { - transactions.push(TxTags.asset.RemoveDocuments); - } - - return { - permissions: { - assets: [new FungibleAsset({ ticker }, this.context)], - transactions, - portfolios: [], - }, - }; -} - -/** - * @hidden - */ -export async function prepareStorage( - this: Procedure, - { ticker }: Params -): Promise { - const { - context: { - polymeshApi: { query }, - }, - context, - } = this; - - const currentDocEntries = await query.asset.assetDocuments.entries( - stringToTicker(ticker, context) - ); - - const currentDocIds: u32[] = []; - const currentDocs: AssetDocument[] = []; - - currentDocEntries.forEach(([key, doc]) => { - const [, id] = key.args; - if (doc.isSome) { - currentDocIds.push(id); - currentDocs.push(documentToAssetDocument(doc.unwrap())); - } - }); - - return { - currentDocIds, - currentDocs, - }; -} - -/** - * @hidden - */ -export const setAssetDocuments = (): Procedure => - new Procedure(prepareSetAssetDocuments, getAuthorization, prepareStorage); diff --git a/src/api/procedures/setAssetRequirements.ts b/src/api/procedures/setAssetRequirements.ts deleted file mode 100644 index bdadb83bb0..0000000000 --- a/src/api/procedures/setAssetRequirements.ts +++ /dev/null @@ -1,108 +0,0 @@ -import BigNumber from 'bignumber.js'; -import { flatten, map } from 'lodash'; - -import { assertRequirementsNotTooComplex } from '~/api/procedures/utils'; -import { FungibleAsset, PolymeshError, Procedure } from '~/internal'; -import { Condition, ErrorCode, InputCondition, SetAssetRequirementsParams, TxTags } from '~/types'; -import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; -import { requirementToComplianceRequirement, stringToTicker } from '~/utils/conversion'; -import { conditionsAreEqual, hasSameElements } from '~/utils/internal'; - -/** - * @hidden - */ -export type Params = SetAssetRequirementsParams & { - ticker: string; -}; - -/** - * @hidden - */ -export async function prepareSetAssetRequirements( - this: Procedure, - args: Params -): Promise< - | TransactionSpec> - | TransactionSpec> -> { - const { - context: { - polymeshApi: { tx }, - }, - context, - } = this; - const { ticker, requirements } = args; - - const rawTicker = stringToTicker(ticker, context); - - const asset = new FungibleAsset({ ticker }, context); - - const { requirements: currentRequirements, defaultTrustedClaimIssuers } = - await asset.compliance.requirements.get(); - - const currentConditions = map(currentRequirements, 'conditions'); - - assertRequirementsNotTooComplex( - flatten(requirements), - new BigNumber(defaultTrustedClaimIssuers.length), - context - ); - - const comparator = ( - a: (Condition | InputCondition)[], - b: (Condition | InputCondition)[] - ): boolean => { - return hasSameElements(a, b, conditionsAreEqual); - }; - - if (hasSameElements(requirements, currentConditions, comparator)) { - throw new PolymeshError({ - code: ErrorCode.NoDataChange, - message: 'The supplied condition list is equal to the current one', - }); - } - - if (!requirements.length) { - return { - transaction: tx.complianceManager.resetAssetCompliance, - args: [rawTicker], - resolver: undefined, - }; - } - const rawAssetCompliance = requirements.map((requirement, index) => - requirementToComplianceRequirement( - { conditions: requirement, id: new BigNumber(index) }, - context - ) - ); - - return { - transaction: tx.complianceManager.replaceAssetCompliance, - args: [rawTicker, rawAssetCompliance], - resolver: undefined, - }; -} - -/** - * @hidden - */ -export function getAuthorization( - this: Procedure, - { ticker, requirements }: Params -): ProcedureAuthorization { - return { - permissions: { - transactions: requirements.length - ? [TxTags.complianceManager.ReplaceAssetCompliance] - : [TxTags.complianceManager.ResetAssetCompliance], - assets: [new FungibleAsset({ ticker }, this.context)], - portfolios: [], - }, - }; -} - -/** - * @hidden - */ -export const setAssetRequirements = (): Procedure => - new Procedure(prepareSetAssetRequirements, getAuthorization); diff --git a/src/api/procedures/setConfidentialVenueFiltering.ts b/src/api/procedures/setConfidentialVenueFiltering.ts index ba1b0ed828..0960e8a148 100644 --- a/src/api/procedures/setConfidentialVenueFiltering.ts +++ b/src/api/procedures/setConfidentialVenueFiltering.ts @@ -1,8 +1,11 @@ -import { Procedure } from '~/internal'; -import { RoleType, SetVenueFilteringParams, TxTags } from '~/types'; -import { BatchTransactionSpec, ProcedureAuthorization } from '~/types/internal'; -import { bigNumberToU64, booleanToBool, serializeConfidentialAssetId } from '~/utils/conversion'; -import { checkTxType } from '~/utils/internal'; +import { SetVenueFilteringParams } from '@polymeshassociation/polymesh-sdk/types'; +import { BatchTransactionSpec } from '@polymeshassociation/polymesh-sdk/types/internal'; +import { bigNumberToU64, booleanToBool } from '@polymeshassociation/polymesh-sdk/utils/conversion'; +import { checkTxType } from '@polymeshassociation/polymesh-sdk/utils/internal'; + +import { ConfidentialProcedure } from '~/base/ConfidentialProcedure'; +import { ConfidentialProcedureAuthorization, RoleType, TxTags } from '~/types'; +import { serializeConfidentialAssetId } from '~/utils/conversion'; /** * @hidden @@ -15,7 +18,7 @@ export type Params = { * @hidden */ export async function prepareConfidentialVenueFiltering( - this: Procedure, + this: ConfidentialProcedure, args: Params ): Promise> { const { @@ -65,9 +68,9 @@ export async function prepareConfidentialVenueFiltering( * @hidden */ export function getAuthorization( - this: Procedure, + this: ConfidentialProcedure, { assetId, enabled, disallowedVenues, allowedVenues }: Params -): ProcedureAuthorization { +): ConfidentialProcedureAuthorization { const transactions = []; if (enabled !== undefined) { @@ -95,5 +98,5 @@ export function getAuthorization( /** * @hidden */ -export const setConfidentialVenueFiltering = (): Procedure => - new Procedure(prepareConfidentialVenueFiltering, getAuthorization); +export const setConfidentialVenueFiltering = (): ConfidentialProcedure => + new ConfidentialProcedure(prepareConfidentialVenueFiltering, getAuthorization); diff --git a/src/api/procedures/setCustodian.ts b/src/api/procedures/setCustodian.ts deleted file mode 100644 index 05ce1a6784..0000000000 --- a/src/api/procedures/setCustodian.ts +++ /dev/null @@ -1,114 +0,0 @@ -import BigNumber from 'bignumber.js'; - -import { createAuthorizationResolver } from '~/api/procedures/utils'; -import { AuthorizationRequest, Identity, Procedure } from '~/internal'; -import { - Authorization, - AuthorizationType, - PortfolioId, - RoleType, - SetCustodianParams, - TxTags, -} from '~/types'; -import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; -import { - authorizationToAuthorizationData, - dateToMoment, - portfolioIdToPortfolio, - signerToSignerValue, - signerToString, - signerValueToSignatory, -} from '~/utils/conversion'; -import { assertNoPendingAuthorizationExists, optionize } from '~/utils/internal'; - -/** - * @hidden - */ -export type Params = { did: string; id?: BigNumber } & SetCustodianParams; - -/** - * @hidden - */ -export async function prepareSetCustodian( - this: Procedure, - args: Params -): Promise>> { - const { - context: { - polymeshApi: { - tx: { identity }, - }, - }, - context, - } = this; - - const { targetIdentity, expiry, did, id } = args; - const portfolio = portfolioIdToPortfolio({ did, number: id }, context); - const issuerIdentity = await context.getSigningIdentity(); - - const targetDid = signerToString(targetIdentity); - const target = new Identity({ did: targetDid }, context); - - const [authorizationRequests, signingIdentity] = await Promise.all([ - target.authorizations.getReceived({ - type: AuthorizationType.PortfolioCustody, - includeExpired: false, - }), - context.getSigningIdentity(), - ]); - - const authorization: Authorization = { - type: AuthorizationType.PortfolioCustody, - value: portfolio, - }; - - assertNoPendingAuthorizationExists({ - authorizationRequests, - issuer: signingIdentity, - message: "The target Identity already has a pending invitation to be the Portfolio's custodian", - authorization, - }); - - const rawSignatory = signerValueToSignatory(signerToSignerValue(target), context); - - const rawAuthorizationData = authorizationToAuthorizationData(authorization, context); - - const rawExpiry = optionize(dateToMoment)(expiry, context); - - return { - transaction: identity.addAuthorization, - resolver: createAuthorizationResolver( - authorization, - issuerIdentity, - target, - expiry || null, - context - ), - args: [rawSignatory, rawAuthorizationData, rawExpiry], - }; -} - -/** - * @hidden - */ -export function getAuthorization( - this: Procedure, - { did, id }: Params -): ProcedureAuthorization { - const { context } = this; - const portfolioId: PortfolioId = { did, number: id }; - return { - roles: [{ type: RoleType.PortfolioCustodian, portfolioId }], - permissions: { - transactions: [TxTags.identity.AddAuthorization], - portfolios: [portfolioIdToPortfolio({ did, number: id }, context)], - assets: [], - }, - }; -} - -/** - * @hidden - */ -export const setCustodian = (): Procedure => - new Procedure(prepareSetCustodian, getAuthorization); diff --git a/src/api/procedures/setGroupPermissions.ts b/src/api/procedures/setGroupPermissions.ts deleted file mode 100644 index 0869865cd7..0000000000 --- a/src/api/procedures/setGroupPermissions.ts +++ /dev/null @@ -1,84 +0,0 @@ -import { isEqual } from 'lodash'; - -import { CustomPermissionGroup, PolymeshError, Procedure } from '~/internal'; -import { ErrorCode, SetGroupPermissionsParams, TxTags } from '~/types'; -import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; -import { - bigNumberToU32, - permissionsLikeToPermissions, - stringToTicker, - transactionPermissionsToExtrinsicPermissions, -} from '~/utils/conversion'; - -/** - * @hidden - */ -export type Params = { group: CustomPermissionGroup } & SetGroupPermissionsParams; - -/** - * @hidden - */ -export async function prepareSetGroupPermissions( - this: Procedure, - args: Params -): Promise>> { - const { - context: { - polymeshApi: { - tx: { externalAgents }, - }, - }, - context, - } = this; - - const { group, permissions } = args; - - const { transactions } = permissionsLikeToPermissions(permissions, context); - const { transactions: transactionPermissions } = await group.getPermissions(); - - if (isEqual(transactionPermissions, transactions)) { - throw new PolymeshError({ - code: ErrorCode.NoDataChange, - message: 'New permissions are the same as the current ones', - }); - } - - const { - asset: { ticker }, - id, - } = group; - const rawTicker = stringToTicker(ticker, context); - const rawAgId = bigNumberToU32(id, context); - const rawExtrinsicPermissions = transactionPermissionsToExtrinsicPermissions( - transactions, - context - ); - - return { - transaction: externalAgents.setGroupPermissions, - args: [rawTicker, rawAgId, rawExtrinsicPermissions], - resolver: undefined, - }; -} - -/** - * @hidden - */ -export function getAuthorization( - this: Procedure, - { group: { asset } }: Params -): ProcedureAuthorization { - return { - permissions: { - transactions: [TxTags.externalAgents.SetGroupPermissions], - portfolios: [], - assets: [asset], - }, - }; -} - -/** - * @hidden - */ -export const setGroupPermissions = (): Procedure => - new Procedure(prepareSetGroupPermissions, getAuthorization); diff --git a/src/api/procedures/setMetadata.ts b/src/api/procedures/setMetadata.ts deleted file mode 100644 index 39fdfe71c9..0000000000 --- a/src/api/procedures/setMetadata.ts +++ /dev/null @@ -1,140 +0,0 @@ -import { FungibleAsset, MetadataEntry, PolymeshError, Procedure } from '~/internal'; -import { ErrorCode, MetadataLockStatus, SetMetadataParams, TxTags } from '~/types'; -import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; -import { - metadataToMeshMetadataKey, - metadataValueDetailToMeshMetadataValueDetail, - metadataValueToMeshMetadataValue, - stringToTicker, -} from '~/utils/conversion'; -import { optionize } from '~/utils/internal'; - -/** - * @hidden - */ -export type Params = SetMetadataParams & { - metadataEntry: MetadataEntry; -}; - -/** - * @hidden - */ -export async function prepareSetMetadata( - this: Procedure, - params: Params -): Promise< - | TransactionSpec> - | TransactionSpec> -> { - const { - context: { - polymeshApi: { tx }, - }, - context, - } = this; - - const { - metadataEntry: { - id, - type, - asset: { ticker }, - }, - metadataEntry, - ...rest - } = params; - - const rawTicker = stringToTicker(ticker, context); - const rawMetadataKey = metadataToMeshMetadataKey(type, id, context); - - const currentValue = await metadataEntry.value(); - - if (currentValue) { - const { lockStatus } = currentValue; - - if (lockStatus === MetadataLockStatus.Locked) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'You cannot set details of a locked Metadata', - }); - } - - if (lockStatus === MetadataLockStatus.LockedUntil) { - const { lockedUntil } = currentValue; - if (new Date() < lockedUntil) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'Metadata is currently locked', - data: { - lockedUntil, - }, - }); - } - } - } else { - if (!('value' in rest)) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'Metadata value details cannot be set for a metadata with no value', - }); - } - } - - let transaction; - let args; - if ('value' in rest) { - const { value, details } = rest; - transaction = tx.asset.setAssetMetadata; - args = [ - metadataValueToMeshMetadataValue(value, context), - optionize(metadataValueDetailToMeshMetadataValueDetail)(details, context), - ]; - } else { - const { details } = rest; - transaction = tx.asset.setAssetMetadataDetails; - args = [metadataValueDetailToMeshMetadataValueDetail(details, context)]; - } - - return { - transaction, - args: [rawTicker, rawMetadataKey, ...args], - resolver: new MetadataEntry({ id, type, ticker }, context), - }; -} - -/** - * @hidden - */ -export function getAuthorization( - this: Procedure, - params: Params -): ProcedureAuthorization { - const { context } = this; - - const { - metadataEntry: { - asset: { ticker }, - }, - } = params; - - const transactions = []; - - if ('value' in params) { - transactions.push(TxTags.asset.SetAssetMetadata); - } else { - transactions.push(TxTags.asset.SetAssetMetadataDetails); - } - - return { - permissions: { - transactions, - assets: [new FungibleAsset({ ticker }, context)], - portfolios: [], - }, - }; -} - -/** - * @hidden - */ -export const setMetadata = (): Procedure => - new Procedure(prepareSetMetadata, getAuthorization); diff --git a/src/api/procedures/setPermissionGroup.ts b/src/api/procedures/setPermissionGroup.ts deleted file mode 100644 index cf1d7ab77b..0000000000 --- a/src/api/procedures/setPermissionGroup.ts +++ /dev/null @@ -1,195 +0,0 @@ -import { - createCreateGroupResolver, - getGroupFromPermissions, - isFullGroupType, -} from '~/api/procedures/utils'; -import { - BaseAsset, - CustomPermissionGroup, - KnownPermissionGroup, - PolymeshError, - Procedure, -} from '~/internal'; -import { - ErrorCode, - Identity, - SetPermissionGroupParams, - TransactionPermissions, - TxTags, -} from '~/types'; -import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; -import { isEntity } from '~/utils'; -import { - permissionGroupIdentifierToAgentGroup, - permissionsLikeToPermissions, - stringToIdentityId, - stringToTicker, - transactionPermissionsToExtrinsicPermissions, -} from '~/utils/conversion'; -import { asBaseAsset } from '~/utils/internal'; - -/** - * @hidden - */ -export type Params = SetPermissionGroupParams & { - identity: Identity; -}; - -/** - * @hidden - */ -export interface Storage { - asset: BaseAsset; -} - -/** - * @hidden - */ -export async function prepareSetPermissionGroup( - this: Procedure, - args: Params -): Promise< - | TransactionSpec< - CustomPermissionGroup | KnownPermissionGroup, - ExtrinsicParams<'externalAgents', 'createAndChangeCustomGroup'> - > - | TransactionSpec< - KnownPermissionGroup | CustomPermissionGroup, - ExtrinsicParams<'externalAgents', 'changeGroup'> - > -> { - const { - context: { - polymeshApi: { - tx: { externalAgents }, - }, - }, - context, - storage: { asset }, - } = this; - - const { identity, group } = args; - const { ticker } = asset; - - const [currentGroup, currentAgents] = await Promise.all([ - identity.assetPermissions.getGroup({ asset }), - asset.permissions.getAgents(), - ]); - - if (isFullGroupType(currentGroup)) { - const fullGroupAgents = currentAgents.filter(({ group: groupOfAgent }) => - isFullGroupType(groupOfAgent) - ); - if (fullGroupAgents.length === 1) { - throw new PolymeshError({ - code: ErrorCode.EntityInUse, - message: - 'The target is the last Agent with full permissions for this Asset. There should always be at least one Agent with full permissions', - }); - } - } - - if (!currentAgents.find(({ agent }) => agent.isEqual(identity))) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'The target must already be an Agent for the Asset', - }); - } - - const rawTicker = stringToTicker(ticker, context); - const rawIdentityId = stringToIdentityId(identity.did, context); - - let existingGroup: KnownPermissionGroup | CustomPermissionGroup | undefined; - - /* - * we check if the passed permissions correspond to an existing Permission Group. If they don't, - * we create the Group and assign the Agent to it. If they do, we just assign the Agent to the existing Group - */ - if (!isEntity(group)) { - let transactions: TransactionPermissions | null; - if ('transactions' in group) { - ({ transactions } = group); - } else { - ({ transactions } = permissionsLikeToPermissions(group, context)); - } - - existingGroup = await getGroupFromPermissions(asset, transactions); - - if (!existingGroup) { - return { - transaction: externalAgents.createAndChangeCustomGroup, - args: [ - rawTicker, - transactionPermissionsToExtrinsicPermissions(transactions, context), - rawIdentityId, - ], - resolver: createCreateGroupResolver(context), - }; - } - } else { - existingGroup = group; - } - - if (existingGroup.isEqual(currentGroup)) { - throw new PolymeshError({ - code: ErrorCode.NoDataChange, - message: 'The Agent is already part of this permission group', - }); - } - - return { - transaction: externalAgents.changeGroup, - args: [ - rawTicker, - rawIdentityId, - permissionGroupIdentifierToAgentGroup( - existingGroup instanceof CustomPermissionGroup - ? { custom: existingGroup.id } - : existingGroup.type, - context - ), - ], - resolver: existingGroup, - }; -} - -/** - * @hidden - */ -export function getAuthorization( - this: Procedure -): ProcedureAuthorization { - const { - storage: { asset }, - } = this; - return { - permissions: { - transactions: [TxTags.externalAgents.ChangeGroup], - assets: [asset], - portfolios: [], - }, - }; -} - -/** - * @hidden - */ -export function prepareStorage( - this: Procedure, - { group: { asset } }: Params -): Storage { - const { context } = this; - - return { - asset: asBaseAsset(asset, context), - }; -} - -/** - * @hidden - */ -export const setPermissionGroup = (): Procedure< - Params, - CustomPermissionGroup | KnownPermissionGroup, - Storage -> => new Procedure(prepareSetPermissionGroup, getAuthorization, prepareStorage); diff --git a/src/api/procedures/setTransferRestrictions.ts b/src/api/procedures/setTransferRestrictions.ts deleted file mode 100644 index 35492b8cd4..0000000000 --- a/src/api/procedures/setTransferRestrictions.ts +++ /dev/null @@ -1,433 +0,0 @@ -import { bool, StorageKey } from '@polkadot/types'; -import { - PolymeshPrimitivesIdentityId, - PolymeshPrimitivesTransferComplianceTransferCondition, - PolymeshPrimitivesTransferComplianceTransferConditionExemptKey, -} from '@polkadot/types/lookup'; -import BigNumber from 'bignumber.js'; -import { entries, flatten, forEach } from 'lodash'; - -import { SetTransferRestrictionsParams } from '~/api/entities/Asset/Fungible/TransferRestrictions/TransferRestrictionBase'; -import { Context, FungibleAsset, Identity, PolymeshError, Procedure } from '~/internal'; -import { - ClaimCountRestrictionValue, - ClaimCountTransferRestriction, - ClaimCountTransferRestrictionInput, - ClaimPercentageTransferRestriction, - ClaimPercentageTransferRestrictionInput, - ClaimType, - CountTransferRestrictionInput, - ErrorCode, - PercentageTransferRestrictionInput, - StatClaimType, - TransferRestriction, - TransferRestrictionType, - TxTag, - TxTags, -} from '~/types'; -import { BatchTransactionSpec, ProcedureAuthorization } from '~/types/internal'; -import { - booleanToBool, - complianceConditionsToBtreeSet, - identitiesToBtreeSet, - identityIdToString, - meshClaimTypeToClaimType, - stringToTickerKey, - toExemptKey, - transferRestrictionToPolymeshTransferCondition, - transferRestrictionTypeToStatOpType, - u32ToBigNumber, -} from '~/utils/conversion'; -import { - asIdentity, - assertStatIsSet, - checkTxType, - compareTransferRestrictionToInput, - neededStatTypeForRestrictionInput, -} from '~/utils/internal'; - -/** - * @hidden - */ - -type ClaimKey = StatClaimType | 'None'; -export type ExemptionRecords = Record; -export const newExemptionRecord = (): ExemptionRecords => ({ - Accredited: [], - Affiliate: [], - Jurisdiction: [], - None: [], -}); - -/** - * @hidden - * @param toInsertId - Identity to insert into the exemption records - * @param exemptionRecords - records that will be mutated if the Identity should be added - * @param claimType - type of Claim the Identity is exempt from - * @param filterSet - set of Identities that should not be added into exemption records if given - */ -export const addExemptionIfNotPresent = ( - toInsertId: Identity, - exemptionRecords: ExemptionRecords, - claimType: ClaimKey, - filterSet: Identity[] = [] -): void => { - const found = filterSet.some(currentId => currentId.did === toInsertId.did); - if (!found) { - exemptionRecords[claimType].push(toInsertId); - } -}; - -export interface Storage { - currentRestrictions: PolymeshPrimitivesTransferComplianceTransferCondition[]; - currentExemptions: ExemptionRecords; - occupiedSlots: BigNumber; -} -/** - * @hidden - * - * Calculates the smallest change needed to get to the requested state from the current state. - * While clearing and building the restrictions would be simpler, it would be inefficient use of gas fees - */ -function transformInput( - inputRestrictions: - | CountTransferRestrictionInput[] - | PercentageTransferRestrictionInput[] - | ClaimCountTransferRestrictionInput[] - | ClaimPercentageTransferRestrictionInput[], - currentRestrictions: PolymeshPrimitivesTransferComplianceTransferCondition[], - currentExemptions: ExemptionRecords, - type: TransferRestrictionType, - context: Context -): { - conditions: PolymeshPrimitivesTransferComplianceTransferCondition[]; - toSetExemptions: ExemptionRecords; - toRemoveExemptions: ExemptionRecords; -} { - const toSetExemptions = newExemptionRecord(); - const toRemoveExemptions = newExemptionRecord(); - - let needDifferentConditions = inputRestrictions.length !== currentRestrictions.length; - const conditions: PolymeshPrimitivesTransferComplianceTransferCondition[] = []; - const inputExemptions = newExemptionRecord(); - - // for each restriction check if we need to make a condition and track all exemptions - inputRestrictions.forEach(restriction => { - let value: BigNumber | ClaimCountRestrictionValue | ClaimPercentageTransferRestriction; - let claimType: StatClaimType | undefined; - if ('count' in restriction) { - value = restriction.count; - } else if ('percentage' in restriction) { - value = restriction.percentage; - } else { - value = restriction; - claimType = restriction.claim.type; - } - - const condition = { type, value } as TransferRestriction; - - const compareConditions = ( - transferCondition: PolymeshPrimitivesTransferComplianceTransferCondition - ): boolean => compareTransferRestrictionToInput(transferCondition, condition); - if (!needDifferentConditions) { - needDifferentConditions = ![...currentRestrictions].find(compareConditions); - } - const rawCondition = transferRestrictionToPolymeshTransferCondition(condition, context); - conditions.push(rawCondition); - - restriction.exemptedIdentities?.forEach(exemption => { - const key = claimType || 'None'; - const id = asIdentity(exemption, context); - addExemptionIfNotPresent(id, inputExemptions, key); - }); - }); - - // calculate exemptions to add — for each input exemption check if it already exists - forEach(inputExemptions, (toAddIds, cType) => { - const key = cType as ClaimKey; - const currentIds = currentExemptions[key]; - toAddIds.forEach(id => { - addExemptionIfNotPresent(id, toSetExemptions, key, currentIds); - }); - }); - - // calculate exemptions to remove — for each current exemption check if it was in the input - forEach(currentExemptions, (currentIds, cType) => { - const key = cType as ClaimKey; - const given = inputExemptions[key]; - currentIds.forEach(id => { - addExemptionIfNotPresent(id, toRemoveExemptions, key, given); - }); - }); - - const sizeOf = (obj: Record): number => - flatten(entries(obj).map(([, identities]) => identities)).length; - - const needDifferentExemptions = sizeOf(toSetExemptions) > 0 || sizeOf(toRemoveExemptions) > 0; - if (!needDifferentConditions && !needDifferentExemptions) { - throw new PolymeshError({ - code: ErrorCode.NoDataChange, - message: 'The restrictions and exemptions are already in place', - }); - } - - return { conditions, toSetExemptions, toRemoveExemptions }; -} - -/** - * @hidden - */ -export async function prepareSetTransferRestrictions( - this: Procedure, - args: SetTransferRestrictionsParams -): Promise> { - const { - context: { - polymeshApi: { - tx: { statistics }, - consts, - }, - }, - storage: { currentRestrictions, occupiedSlots, currentExemptions }, - context, - } = this; - const { - restrictions: { length: newRestrictionAmount }, - restrictions, - type, - ticker, - } = args; - const tickerKey = stringToTickerKey(ticker, context); - - const { conditions, toSetExemptions, toRemoveExemptions } = transformInput( - restrictions, - currentRestrictions, - currentExemptions, - type, - context - ); - - const maxTransferConditions = u32ToBigNumber(consts.statistics.maxTransferConditionsPerAsset); - const finalCount = occupiedSlots.plus(newRestrictionAmount); - if (finalCount.gte(maxTransferConditions)) { - throw new PolymeshError({ - code: ErrorCode.LimitExceeded, - message: 'Cannot set more Transfer Restrictions than there are slots available', - data: { - availableSlots: maxTransferConditions.minus(occupiedSlots), - }, - }); - } - - const transactions = []; - const op = transferRestrictionTypeToStatOpType(type, context); - - transactions.push( - checkTxType({ - transaction: statistics.setAssetTransferCompliance, - args: [tickerKey, complianceConditionsToBtreeSet(conditions, context)], - }) - ); - - const pushExemptions = (exemptions: ExemptionRecords, exempt: boolean): void => { - forEach(exemptions, (exempted, claimType) => { - if (exempted.length === 0) { - return; - } - const rawClaimType = claimType === 'None' ? undefined : (claimType as ClaimType); - const exemptKey = toExemptKey(tickerKey, op, rawClaimType); - const exemptedBtreeSet = identitiesToBtreeSet(exempted, context); - const rawExempt = booleanToBool(exempt, context); - transactions.push( - checkTxType({ - transaction: statistics.setEntitiesExempt, - feeMultiplier: new BigNumber(exemptedBtreeSet.size), - args: [rawExempt, exemptKey, exemptedBtreeSet], - }) - ); - }); - }; - - pushExemptions(toSetExemptions, true); - pushExemptions(toRemoveExemptions, false); - - return { transactions, resolver: finalCount }; -} - -/** - * @hidden - */ -export function getAuthorization( - this: Procedure, - { ticker, restrictions }: SetTransferRestrictionsParams -): ProcedureAuthorization { - const transactions: TxTag[] = [TxTags.statistics.SetAssetTransferCompliance]; - - const needExemptionsPermission = restrictions.some(r => r.exemptedIdentities?.length); - if (needExemptionsPermission) { - transactions.push(TxTags.statistics.SetEntitiesExempt); - } - - return { - permissions: { - assets: [new FungibleAsset({ ticker }, this.context)], - transactions, - portfolios: [], - }, - }; -} - -/** - * @hidden - */ -export async function prepareStorage( - this: Procedure, - args: SetTransferRestrictionsParams -): Promise { - const { - context, - context: { - polymeshApi: { - query: { statistics }, - }, - }, - } = this; - const { ticker, type } = args; - - const tickerKey = stringToTickerKey(ticker, context); - - const currentStats = await statistics.activeAssetStats(tickerKey); - - args.restrictions.forEach(restriction => { - let claimIssuer; - if ( - type === TransferRestrictionType.ClaimCount || - type === TransferRestrictionType.ClaimPercentage - ) { - const { - claim: { type: claimType }, - issuer, - } = restriction as ClaimCountTransferRestriction | ClaimPercentageTransferRestriction; - claimIssuer = { claimType, issuer }; - } - const neededStat = neededStatTypeForRestrictionInput({ type, claimIssuer }, context); - assertStatIsSet(currentStats, neededStat); - }); - - const { - transferRestrictions: { count, percentage, claimCount, claimPercentage }, - } = new FungibleAsset({ ticker }, context); - - const [ - { restrictions: currentCountRestrictions }, - { restrictions: currentPercentageRestrictions }, - { restrictions: currentClaimCountRestrictions }, - { restrictions: currentClaimPercentageRestrictions }, - ] = await Promise.all([count.get(), percentage.get(), claimCount.get(), claimPercentage.get()]); - - const currentRestrictions: TransferRestriction[] = []; - - let occupiedSlots = - currentCountRestrictions.length + - currentPercentageRestrictions.length + - currentClaimCountRestrictions.length + - currentClaimPercentageRestrictions.length; - if (type === TransferRestrictionType.Count) { - occupiedSlots -= currentCountRestrictions.length; - } else if (type === TransferRestrictionType.Percentage) { - occupiedSlots -= currentPercentageRestrictions.length; - } else if (type === TransferRestrictionType.ClaimCount) { - occupiedSlots -= currentClaimCountRestrictions.length; - } else { - occupiedSlots -= currentClaimPercentageRestrictions.length; - } - - if (type === TransferRestrictionType.Count) { - currentCountRestrictions.forEach(({ count: value }) => { - const restriction = { type: TransferRestrictionType.Count, value } as const; - currentRestrictions.push(restriction); - }); - } else if (type === TransferRestrictionType.Percentage) { - currentPercentageRestrictions.forEach(({ percentage: value }) => { - const restriction = { type: TransferRestrictionType.Percentage, value } as const; - currentRestrictions.push(restriction); - }); - } else if (type === TransferRestrictionType.ClaimCount) { - currentClaimCountRestrictions.forEach(({ claim, min, max, issuer }) => { - const restriction = { type, value: { claim, min, max, issuer } }; - currentRestrictions.push(restriction); - }); - } else { - currentClaimPercentageRestrictions.forEach(({ claim, min, max, issuer }) => { - const restriction = { type, value: { claim, min, max, issuer } }; - currentRestrictions.push(restriction); - }); - } - - const op = transferRestrictionTypeToStatOpType(type, context); - - const claimTypes = - type === TransferRestrictionType.Count || type === TransferRestrictionType.Percentage - ? [undefined] - : [ClaimType.Accredited, ClaimType.Affiliate, ClaimType.Jurisdiction]; - const exemptionFetchers: Promise< - [ - StorageKey< - [ - PolymeshPrimitivesTransferComplianceTransferConditionExemptKey, - PolymeshPrimitivesIdentityId - ] - >, - bool - ][] - >[] = []; - - claimTypes.forEach(claimType => { - exemptionFetchers.push( - statistics.transferConditionExemptEntities.entries({ - asset: tickerKey, - op, - claimType, - }) - ); - }); - const rawCurrentExemptions = flatten(await Promise.all(exemptionFetchers)); - const currentExemptions = newExemptionRecord(); - - rawCurrentExemptions.forEach( - ([ - { - args: [{ claimType: rawClaimType }, rawDid], - }, - ]) => { - const did = identityIdToString(rawDid); - let claimType: ClaimKey = 'None'; - if (rawClaimType.isSome) { - claimType = meshClaimTypeToClaimType(rawClaimType.unwrap()) as ClaimKey; - } - const identity = new Identity({ did }, context); - addExemptionIfNotPresent(identity, currentExemptions, claimType); - } - ); - - const transformRestriction = ( - restriction: TransferRestriction - ): PolymeshPrimitivesTransferComplianceTransferCondition => { - return transferRestrictionToPolymeshTransferCondition(restriction, context); - }; - - return { - occupiedSlots: new BigNumber(occupiedSlots), - currentRestrictions: currentRestrictions.map(transformRestriction), - currentExemptions, - }; -} - -/** - * @hidden - */ -export const setTransferRestrictions = (): Procedure< - SetTransferRestrictionsParams, - BigNumber, - Storage -> => new Procedure(prepareSetTransferRestrictions, getAuthorization, prepareStorage); diff --git a/src/api/procedures/setVenueFiltering.ts b/src/api/procedures/setVenueFiltering.ts deleted file mode 100644 index e66c57d7a8..0000000000 --- a/src/api/procedures/setVenueFiltering.ts +++ /dev/null @@ -1,99 +0,0 @@ -import { FungibleAsset, Procedure } from '~/internal'; -import { SetVenueFilteringParams, TxTags } from '~/types'; -import { BatchTransactionSpec, ProcedureAuthorization } from '~/types/internal'; -import { bigNumberToU64, booleanToBool, stringToTicker } from '~/utils/conversion'; -import { checkTxType } from '~/utils/internal'; - -/** - * @hidden - */ -export type Params = { - ticker: string; -} & SetVenueFilteringParams; - -/** - * @hidden - */ -export async function prepareVenueFiltering( - this: Procedure, - args: Params -): Promise> { - const { - context: { - polymeshApi: { tx, query }, - }, - context, - } = this; - - const { ticker, enabled, allowedVenues, disallowedVenues } = args; - const rawTicker = stringToTicker(ticker, context); - const transactions = []; - - const isEnabled = await query.settlement.venueFiltering(rawTicker); - - if (enabled !== undefined && isEnabled.valueOf() !== enabled) { - transactions.push( - checkTxType({ - transaction: tx.settlement.setVenueFiltering, - args: [rawTicker, booleanToBool(enabled, context)], - }) - ); - } - - if (allowedVenues?.length) { - transactions.push( - checkTxType({ - transaction: tx.settlement.allowVenues, - args: [rawTicker, allowedVenues.map(venue => bigNumberToU64(venue, context))], - }) - ); - } - - if (disallowedVenues?.length) { - transactions.push( - checkTxType({ - transaction: tx.settlement.disallowVenues, - args: [rawTicker, disallowedVenues.map(venue => bigNumberToU64(venue, context))], - }) - ); - } - - return { transactions, resolver: undefined }; -} - -/** - * @hidden - */ -export function getAuthorization( - this: Procedure, - { ticker, enabled, disallowedVenues, allowedVenues }: Params -): ProcedureAuthorization { - const { context } = this; - - const transactions = []; - - if (enabled !== undefined) { - transactions.push(TxTags.settlement.SetVenueFiltering); - } - - if (allowedVenues?.length) { - transactions.push(TxTags.settlement.AllowVenues); - } - - if (disallowedVenues?.length) { - transactions.push(TxTags.settlement.DisallowVenues); - } - - return { - permissions: { - transactions, - assets: [new FungibleAsset({ ticker }, context)], - }, - }; -} - -/** - * @hidden - */ -export const setVenueFiltering = (): Procedure => - new Procedure(prepareVenueFiltering, getAuthorization); diff --git a/src/api/procedures/subsidizeAccount.ts b/src/api/procedures/subsidizeAccount.ts deleted file mode 100644 index 4b3a2ee479..0000000000 --- a/src/api/procedures/subsidizeAccount.ts +++ /dev/null @@ -1,87 +0,0 @@ -import { createAuthorizationResolver } from '~/api/procedures/utils'; -import { AuthorizationRequest, PolymeshError, Procedure } from '~/internal'; -import { - AddRelayerPayingKeyAuthorizationData, - AuthorizationType, - ErrorCode, - SubsidizeAccountParams, - TxTags, -} from '~/types'; -import { ExtrinsicParams, TransactionSpec } from '~/types/internal'; -import { bigNumberToBalance, signerToString, stringToAccountId } from '~/utils/conversion'; -import { asAccount } from '~/utils/internal'; - -/** - * @hidden - */ -export async function prepareSubsidizeAccount( - this: Procedure, - args: SubsidizeAccountParams -): Promise>> { - const { - context: { - polymeshApi: { tx }, - }, - context, - } = this; - - const { beneficiary, allowance } = args; - - const account = asAccount(beneficiary, context); - - const { address: beneficiaryAddress } = account; - - const identity = await context.getSigningIdentity(); - - const authorizationRequests = await identity.authorizations.getSent(); - - const hasPendingAuth = !!authorizationRequests.data.find(authorizationRequest => { - const { target, data } = authorizationRequest; - - return ( - signerToString(target) === beneficiaryAddress && - !authorizationRequest.isExpired() && - data.type === AuthorizationType.AddRelayerPayingKey && - data.value.allowance.isEqualTo(allowance) - ); - }); - - if (hasPendingAuth) { - throw new PolymeshError({ - code: ErrorCode.NoDataChange, - message: - 'The Beneficiary Account already has a pending invitation to add this account as a subsidizer with the same allowance', - }); - } - - const rawBeneficiary = stringToAccountId(beneficiaryAddress, context); - - const rawAllowance = bigNumberToBalance(allowance, context); - - const authRequest: AddRelayerPayingKeyAuthorizationData = { - type: AuthorizationType.AddRelayerPayingKey, - value: { - beneficiary: account, - subsidizer: context.getSigningAccount(), - allowance, - }, - }; - - return { - transaction: tx.relayer.setPayingKey, - resolver: createAuthorizationResolver(authRequest, identity, account, null, context), - args: [rawBeneficiary, rawAllowance], - }; -} - -/** - * @hidden - */ -export const subsidizeAccount = (): Procedure => - new Procedure(prepareSubsidizeAccount, { - permissions: { - transactions: [TxTags.relayer.SetPayingKey], - assets: [], - portfolios: [], - }, - }); diff --git a/src/api/procedures/toggleFreezeConfidentialAccountAsset.ts b/src/api/procedures/toggleFreezeConfidentialAccountAsset.ts index e06be3b19e..b62ec2504b 100644 --- a/src/api/procedures/toggleFreezeConfidentialAccountAsset.ts +++ b/src/api/procedures/toggleFreezeConfidentialAccountAsset.ts @@ -1,8 +1,17 @@ -import { ConfidentialAsset, PolymeshError, Procedure } from '~/internal'; -import { ErrorCode, FreezeConfidentialAccountAssetParams, RoleType, TxTags } from '~/types'; -import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; +import { ErrorCode } from '@polymeshassociation/polymesh-sdk/types'; +import { TransactionSpec } from '@polymeshassociation/polymesh-sdk/types/internal'; +import { booleanToBool } from '@polymeshassociation/polymesh-sdk/utils/conversion'; + +import { ConfidentialProcedure } from '~/base/ConfidentialProcedure'; +import { ConfidentialAsset, PolymeshError } from '~/internal'; +import { + ConfidentialProcedureAuthorization, + FreezeConfidentialAccountAssetParams, + RoleType, + TxTags, +} from '~/types'; +import { ExtrinsicParams } from '~/types/internal'; import { - booleanToBool, confidentialAccountToMeshPublicKey, serializeConfidentialAssetId, } from '~/utils/conversion'; @@ -20,7 +29,7 @@ export type Params = { * @hidden */ export async function prepareToggleFreezeConfidentialAccountAsset( - this: Procedure, + this: ConfidentialProcedure, args: Params ): Promise>> { const { @@ -61,9 +70,9 @@ export async function prepareToggleFreezeConfidentialAccountAsset( * @hidden */ export function getAuthorization( - this: Procedure, + this: ConfidentialProcedure, { confidentialAsset: asset }: Params -): ProcedureAuthorization { +): ConfidentialProcedureAuthorization { return { roles: [{ type: RoleType.ConfidentialAssetOwner, assetId: asset.id }], permissions: { @@ -77,5 +86,5 @@ export function getAuthorization( /** * @hidden */ -export const toggleFreezeConfidentialAccountAsset = (): Procedure => - new Procedure(prepareToggleFreezeConfidentialAccountAsset, getAuthorization); +export const toggleFreezeConfidentialAccountAsset = (): ConfidentialProcedure => + new ConfidentialProcedure(prepareToggleFreezeConfidentialAccountAsset, getAuthorization); diff --git a/src/api/procedures/toggleFreezeConfidentialAsset.ts b/src/api/procedures/toggleFreezeConfidentialAsset.ts index 2cb964c8c9..6c87a577d9 100644 --- a/src/api/procedures/toggleFreezeConfidentialAsset.ts +++ b/src/api/procedures/toggleFreezeConfidentialAsset.ts @@ -1,7 +1,12 @@ -import { ConfidentialAsset, PolymeshError, Procedure } from '~/internal'; -import { ErrorCode, RoleType, TxTags } from '~/types'; -import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; -import { booleanToBool, serializeConfidentialAssetId } from '~/utils/conversion'; +import { ErrorCode } from '@polymeshassociation/polymesh-sdk/types'; +import { TransactionSpec } from '@polymeshassociation/polymesh-sdk/types/internal'; +import { booleanToBool } from '@polymeshassociation/polymesh-sdk/utils/conversion'; + +import { ConfidentialProcedure } from '~/base/ConfidentialProcedure'; +import { ConfidentialAsset, PolymeshError } from '~/internal'; +import { ConfidentialProcedureAuthorization, RoleType, TxTags } from '~/types'; +import { ExtrinsicParams } from '~/types/internal'; +import { serializeConfidentialAssetId } from '~/utils/conversion'; /** * @hidden @@ -15,7 +20,7 @@ export type Params = { * @hidden */ export async function prepareToggleFreezeConfidentialAsset( - this: Procedure, + this: ConfidentialProcedure, args: Params ): Promise>> { const { @@ -48,10 +53,10 @@ export async function prepareToggleFreezeConfidentialAsset( /** * @hidden */ -export function getAuthorization( - this: Procedure, +export async function getAuthorization( + this: ConfidentialProcedure, { confidentialAsset: asset }: Params -): ProcedureAuthorization { +): Promise { return { roles: [{ type: RoleType.ConfidentialAssetOwner, assetId: asset.id }], permissions: { @@ -65,5 +70,5 @@ export function getAuthorization( /** * @hidden */ -export const toggleFreezeConfidentialAsset = (): Procedure => - new Procedure(prepareToggleFreezeConfidentialAsset, getAuthorization); +export const toggleFreezeConfidentialAsset = (): ConfidentialProcedure => + new ConfidentialProcedure(prepareToggleFreezeConfidentialAsset, getAuthorization); diff --git a/src/api/procedures/toggleFreezeOffering.ts b/src/api/procedures/toggleFreezeOffering.ts deleted file mode 100644 index 3c093898de..0000000000 --- a/src/api/procedures/toggleFreezeOffering.ts +++ /dev/null @@ -1,106 +0,0 @@ -import BigNumber from 'bignumber.js'; - -import { FungibleAsset, Offering, PolymeshError, Procedure } from '~/internal'; -import { ErrorCode, OfferingSaleStatus, OfferingTimingStatus, TxTags } from '~/types'; -import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; -import { bigNumberToU64, stringToTicker } from '~/utils/conversion'; - -export interface ToggleFreezeOfferingParams { - id: BigNumber; - freeze: boolean; - ticker: string; -} - -/** - * @hidden - */ -export async function prepareToggleFreezeOffering( - this: Procedure, - args: ToggleFreezeOfferingParams -): Promise< - | TransactionSpec> - | TransactionSpec> -> { - const { - context: { - polymeshApi: { - tx: { sto: txSto }, - }, - }, - context, - } = this; - const { ticker, id, freeze } = args; - - const rawTicker = stringToTicker(ticker, context); - const rawId = bigNumberToU64(id, context); - - const offering = new Offering({ ticker, id }, context); - - const { - status: { timing, sale }, - } = await offering.details(); - - if (timing === OfferingTimingStatus.Expired) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'The Offering has already ended', - }); - } - - if (freeze) { - if (sale === OfferingSaleStatus.Frozen) { - throw new PolymeshError({ - code: ErrorCode.NoDataChange, - message: 'The Offering is already frozen', - }); - } - - return { - transaction: txSto.freezeFundraiser, - args: [rawTicker, rawId], - resolver: offering, - }; - } - - if ([OfferingSaleStatus.Closed, OfferingSaleStatus.ClosedEarly].includes(sale)) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'The Offering is already closed', - }); - } - - if (sale !== OfferingSaleStatus.Frozen) { - throw new PolymeshError({ - code: ErrorCode.NoDataChange, - message: 'The Offering is already unfrozen', - }); - } - - return { - transaction: txSto.unfreezeFundraiser, - args: [rawTicker, rawId], - resolver: offering, - }; -} - -/** - * @hidden - */ -export function getAuthorization( - this: Procedure, - { ticker, freeze }: ToggleFreezeOfferingParams -): ProcedureAuthorization { - return { - permissions: { - transactions: [freeze ? TxTags.sto.FreezeFundraiser : TxTags.sto.UnfreezeFundraiser], - assets: [new FungibleAsset({ ticker }, this.context)], - portfolios: [], - }, - }; -} - -/** - * @hidden - */ -export const toggleFreezeOffering = (): Procedure => - new Procedure(prepareToggleFreezeOffering, getAuthorization); diff --git a/src/api/procedures/toggleFreezeSecondaryAccounts.ts b/src/api/procedures/toggleFreezeSecondaryAccounts.ts deleted file mode 100644 index 87f26803be..0000000000 --- a/src/api/procedures/toggleFreezeSecondaryAccounts.ts +++ /dev/null @@ -1,78 +0,0 @@ -import { PolymeshError, Procedure } from '~/internal'; -import { ErrorCode, TxTags } from '~/types'; -import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; - -export interface ToggleFreezeSecondaryAccountsParams { - freeze: boolean; -} - -/** - * @hidden - */ -export async function prepareToggleFreezeSecondaryAccounts( - this: Procedure, - args: ToggleFreezeSecondaryAccountsParams -): Promise< - | TransactionSpec> - | TransactionSpec> -> { - const { - context: { - polymeshApi: { - tx: { identity: identityTx }, - }, - }, - context, - } = this; - const { freeze } = args; - - const identity = await context.getSigningIdentity(); - - const areSecondaryAccountsFrozen = await identity.areSecondaryAccountsFrozen(); - - if (freeze) { - if (areSecondaryAccountsFrozen) { - throw new PolymeshError({ - code: ErrorCode.NoDataChange, - message: 'The secondary Accounts are already frozen', - }); - } - - return { transaction: identityTx.freezeSecondaryKeys, resolver: undefined }; - } - - if (!areSecondaryAccountsFrozen) { - throw new PolymeshError({ - code: ErrorCode.NoDataChange, - message: 'The secondary Accounts are already unfrozen', - }); - } - - return { transaction: identityTx.unfreezeSecondaryKeys, resolver: undefined }; -} - -/** - * @hidden - */ -export function getAuthorization( - this: Procedure, - { freeze }: ToggleFreezeSecondaryAccountsParams -): ProcedureAuthorization { - return { - permissions: { - transactions: [ - freeze ? TxTags.identity.FreezeSecondaryKeys : TxTags.identity.UnfreezeSecondaryKeys, - ], - assets: [], - portfolios: [], - }, - }; -} - -/** - * @hidden - */ -export const toggleFreezeSecondaryAccounts = (): Procedure< - ToggleFreezeSecondaryAccountsParams, - void -> => new Procedure(prepareToggleFreezeSecondaryAccounts, getAuthorization); diff --git a/src/api/procedures/toggleFreezeTransfers.ts b/src/api/procedures/toggleFreezeTransfers.ts deleted file mode 100644 index 2c1639fd6f..0000000000 --- a/src/api/procedures/toggleFreezeTransfers.ts +++ /dev/null @@ -1,88 +0,0 @@ -import { BaseAsset, PolymeshError, Procedure } from '~/internal'; -import { ErrorCode, TxTags } from '~/types'; -import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; -import { stringToTicker } from '~/utils/conversion'; - -export interface ToggleFreezeTransfersParams { - freeze: boolean; -} - -/** - * @hidden - */ -export type Params = ToggleFreezeTransfersParams & { - ticker: string; -}; - -/** - * @hidden - */ -export async function prepareToggleFreezeTransfers( - this: Procedure, - args: Params -): Promise>> { - const { - context: { - polymeshApi: { - tx: { asset }, - }, - }, - context, - } = this; - const { ticker, freeze } = args; - - const rawTicker = stringToTicker(ticker, context); - - const assetEntity = new BaseAsset({ ticker }, context); - - const isFrozen = await assetEntity.isFrozen(); - - if (freeze) { - if (isFrozen) { - throw new PolymeshError({ - code: ErrorCode.NoDataChange, - message: 'The Asset is already frozen', - }); - } - - return { - transaction: asset.freeze, - args: [rawTicker], - resolver: undefined, - }; - } - if (!isFrozen) { - throw new PolymeshError({ - code: ErrorCode.NoDataChange, - message: 'The Asset is already unfrozen', - }); - } - - return { - transaction: asset.unfreeze, - args: [rawTicker], - resolver: undefined, - }; -} - -/** - * @hidden - */ -export function getAuthorization( - this: Procedure, - { ticker, freeze }: Params -): ProcedureAuthorization { - return { - permissions: { - transactions: [freeze ? TxTags.asset.Freeze : TxTags.asset.Unfreeze], - assets: [new BaseAsset({ ticker }, this.context)], - portfolios: [], - }, - }; -} - -/** - * @hidden - */ -export const toggleFreezeTransfers = (): Procedure => - new Procedure(prepareToggleFreezeTransfers, getAuthorization); diff --git a/src/api/procedures/togglePauseRequirements.ts b/src/api/procedures/togglePauseRequirements.ts deleted file mode 100644 index e30e6d155d..0000000000 --- a/src/api/procedures/togglePauseRequirements.ts +++ /dev/null @@ -1,79 +0,0 @@ -import { FungibleAsset, PolymeshError, Procedure } from '~/internal'; -import { ErrorCode, TxTags } from '~/types'; -import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; -import { boolToBoolean, stringToTicker } from '~/utils/conversion'; - -export interface TogglePauseRequirementsParams { - pause: boolean; -} - -/** - * @hidden - */ -export type Params = TogglePauseRequirementsParams & { - ticker: string; -}; - -/** - * @hidden - */ -export async function prepareTogglePauseRequirements( - this: Procedure, - args: Params -): Promise< - | TransactionSpec> - | TransactionSpec> -> { - const { - context: { - polymeshApi: { query, tx }, - }, - context, - } = this; - const { ticker, pause } = args; - - const rawTicker = stringToTicker(ticker, context); - - const { paused } = await query.complianceManager.assetCompliances(rawTicker); - - if (pause === boolToBoolean(paused)) { - throw new PolymeshError({ - code: ErrorCode.NoDataChange, - message: `Requirements are already ${paused ? '' : 'un'}paused`, - }); - } - - return { - transaction: pause - ? tx.complianceManager.pauseAssetCompliance - : tx.complianceManager.resumeAssetCompliance, - args: [rawTicker], - resolver: undefined, - }; -} - -/** - * @hidden - */ -export function getAuthorization( - this: Procedure, - { ticker, pause }: Params -): ProcedureAuthorization { - return { - permissions: { - transactions: [ - pause - ? TxTags.complianceManager.PauseAssetCompliance - : TxTags.complianceManager.ResumeAssetCompliance, - ], - assets: [new FungibleAsset({ ticker }, this.context)], - portfolios: [], - }, - }; -} - -/** - * @hidden - */ -export const togglePauseRequirements = (): Procedure => - new Procedure(prepareTogglePauseRequirements, getAuthorization); diff --git a/src/api/procedures/transferAssetOwnership.ts b/src/api/procedures/transferAssetOwnership.ts deleted file mode 100644 index 52e6e54ca0..0000000000 --- a/src/api/procedures/transferAssetOwnership.ts +++ /dev/null @@ -1,93 +0,0 @@ -import { createAuthorizationResolver } from '~/api/procedures/utils'; -import { AuthorizationRequest, FungibleAsset, Procedure } from '~/internal'; -import { - Authorization, - AuthorizationType, - SignerType, - TransferAssetOwnershipParams, - TxTags, -} from '~/types'; -import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; -import { - authorizationToAuthorizationData, - dateToMoment, - signerToString, - signerValueToSignatory, -} from '~/utils/conversion'; -import { asIdentity, assertNoPendingAuthorizationExists, optionize } from '~/utils/internal'; - -/** - * @hidden - */ -export type Params = { ticker: string } & TransferAssetOwnershipParams; - -/** - * @hidden - */ -export async function prepareTransferAssetOwnership( - this: Procedure, - args: Params -): Promise>> { - const { - context: { - polymeshApi: { tx }, - }, - context, - } = this; - const { ticker, target, expiry = null } = args; - const issuer = await context.getSigningIdentity(); - const targetIdentity = asIdentity(target, context); - - const authorizationRequests = await targetIdentity.authorizations.getReceived({ - type: AuthorizationType.TransferAssetOwnership, - includeExpired: false, - }); - - const rawSignatory = signerValueToSignatory( - { type: SignerType.Identity, value: signerToString(target) }, - context - ); - - const authorization: Authorization = { - type: AuthorizationType.TransferAssetOwnership, - value: ticker, - }; - - assertNoPendingAuthorizationExists({ - authorizationRequests, - issuer, - message: 'The target Identity already has a pending transfer Asset Ownership request', - authorization, - }); - - const rawAuthorizationData = authorizationToAuthorizationData(authorization, context); - const rawExpiry = optionize(dateToMoment)(expiry, context); - - return { - transaction: tx.identity.addAuthorization, - args: [rawSignatory, rawAuthorizationData, rawExpiry], - resolver: createAuthorizationResolver(authorization, issuer, targetIdentity, expiry, context), - }; -} - -/** - * @hidden - */ -export function getAuthorization( - this: Procedure, - { ticker }: Params -): ProcedureAuthorization { - return { - permissions: { - assets: [new FungibleAsset({ ticker }, this.context)], - transactions: [TxTags.identity.AddAuthorization], - portfolios: [], - }, - }; -} - -/** - * @hidden - */ -export const transferAssetOwnership = (): Procedure => - new Procedure(prepareTransferAssetOwnership, getAuthorization); diff --git a/src/api/procedures/transferPolyx.ts b/src/api/procedures/transferPolyx.ts deleted file mode 100644 index af2c011e64..0000000000 --- a/src/api/procedures/transferPolyx.ts +++ /dev/null @@ -1,112 +0,0 @@ -import { PolymeshError, Procedure } from '~/internal'; -import { ErrorCode, TransferPolyxParams, TxTags } from '~/types'; -import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; -import { - bigNumberToBalance, - signerToString, - stringToAccountId, - stringToMemo, -} from '~/utils/conversion'; -import { asAccount } from '~/utils/internal'; - -/** - * @hidden - */ -export async function prepareTransferPolyx( - this: Procedure, - args: TransferPolyxParams -): Promise< - | TransactionSpec> - | TransactionSpec> -> { - const { - context: { - polymeshApi: { tx }, - }, - context, - } = this; - - const { to, amount, memo } = args; - - const toAccount = asAccount(to, context); - - const rawAccountId = stringToAccountId(signerToString(to), context); - - const [{ free: freeBalance }, receiverIdentity] = await Promise.all([ - context.accountBalance(), - toAccount.getIdentity(), - ]); - - if (amount.isGreaterThan(freeBalance)) { - throw new PolymeshError({ - code: ErrorCode.InsufficientBalance, - message: 'Insufficient free balance', - data: { - freeBalance, - }, - }); - } - - if (!receiverIdentity) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: "The destination Account doesn't have an associated Identity", - }); - } - - const senderIdentity = await context.getSigningIdentity(); - - const [senderCdd, receiverCdd] = await Promise.all([ - senderIdentity.hasValidCdd(), - receiverIdentity.hasValidCdd(), - ]); - - if (!senderCdd) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'The sender Identity has an invalid CDD claim', - }); - } - - if (!receiverCdd) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'The receiver Identity has an invalid CDD claim', - }); - } - - const rawAmount = bigNumberToBalance(amount, context); - - if (memo) { - return { - transaction: tx.balances.transferWithMemo, - args: [rawAccountId, rawAmount, stringToMemo(memo, context)], - resolver: undefined, - }; - } - - return { - transaction: tx.balances.transfer, - args: [rawAccountId, rawAmount], - resolver: undefined, - }; -} - -/** - * @hidden - */ -export function getAuthorization({ memo }: TransferPolyxParams): ProcedureAuthorization { - return { - permissions: { - transactions: [memo ? TxTags.balances.TransferWithMemo : TxTags.balances.Transfer], - assets: [], - portfolios: [], - }, - }; -} - -/** - * @hidden - */ -export const transferPolyx = (): Procedure => - new Procedure(prepareTransferPolyx, getAuthorization); diff --git a/src/api/procedures/transferTickerOwnership.ts b/src/api/procedures/transferTickerOwnership.ts deleted file mode 100644 index 9c031f3ad4..0000000000 --- a/src/api/procedures/transferTickerOwnership.ts +++ /dev/null @@ -1,108 +0,0 @@ -import { createAuthorizationResolver } from '~/api/procedures/utils'; -import { AuthorizationRequest, PolymeshError, Procedure, TickerReservation } from '~/internal'; -import { - Authorization, - AuthorizationType, - ErrorCode, - RoleType, - SignerType, - TickerReservationStatus, - TransferTickerOwnershipParams, - TxTags, -} from '~/types'; -import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; -import { - authorizationToAuthorizationData, - dateToMoment, - signerToString, - signerValueToSignatory, -} from '~/utils/conversion'; -import { asIdentity, assertNoPendingAuthorizationExists, optionize } from '~/utils/internal'; - -/** - * @hidden - */ -export type Params = { ticker: string } & TransferTickerOwnershipParams; - -/** - * @hidden - */ -export async function prepareTransferTickerOwnership( - this: Procedure, - args: Params -): Promise>> { - const { - context: { - polymeshApi: { tx }, - }, - context, - } = this; - const { ticker, target, expiry = null } = args; - const issuer = await context.getSigningIdentity(); - const targetIdentity = asIdentity(target, context); - - const authorization: Authorization = { - type: AuthorizationType.TransferTicker, - value: ticker, - }; - - const authorizationRequests = await targetIdentity.authorizations.getReceived({ - type: AuthorizationType.TransferTicker, - includeExpired: false, - }); - - const tickerReservation = new TickerReservation({ ticker }, context); - - const { status } = await tickerReservation.details(); - - assertNoPendingAuthorizationExists({ - authorizationRequests, - issuer, - message: 'The target Identity already has a pending Ticker Ownership transfer request', - authorization, - }); - - if (status === TickerReservationStatus.AssetCreated) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'An Asset with this ticker has already been created', - }); - } - - const rawSignatory = signerValueToSignatory( - { type: SignerType.Identity, value: signerToString(target) }, - context - ); - - const rawAuthorizationData = authorizationToAuthorizationData(authorization, context); - const rawExpiry = optionize(dateToMoment)(expiry, context); - - return { - transaction: tx.identity.addAuthorization, - args: [rawSignatory, rawAuthorizationData, rawExpiry], - resolver: createAuthorizationResolver(authorization, issuer, targetIdentity, expiry, context), - }; -} - -/** - * @hidden - */ -export function getAuthorization( - this: Procedure, - { ticker }: Params -): ProcedureAuthorization { - return { - roles: [{ type: RoleType.TickerOwner, ticker }], - permissions: { - assets: [], - transactions: [TxTags.identity.AddAuthorization], - portfolios: [], - }, - }; -} - -/** - * @hidden - */ -export const transferTickerOwnership = (): Procedure => - new Procedure(prepareTransferTickerOwnership, getAuthorization); diff --git a/src/api/procedures/types.ts b/src/api/procedures/types.ts index 5a3023d453..12bc14330b 100644 --- a/src/api/procedures/types.ts +++ b/src/api/procedures/types.ts @@ -1,566 +1,5 @@ -import BigNumber from 'bignumber.js'; - -import { - Account, - AuthorizationRequest, - CheckpointSchedule, - ChildIdentity, - CorporateActionBase, - CustomPermissionGroup, - DefaultPortfolio, - FungibleAsset, - Identity, - KnownPermissionGroup, - MultiSig, - Nft, - NumberedPortfolio, - Venue, -} from '~/internal'; -import { - ActiveTransferRestrictions, - AddCountStatInput, - AssetDocument, - ClaimCountStatInput, - ClaimCountTransferRestriction, - ClaimPercentageTransferRestriction, - ClaimTarget, - ConfidentialAccount, - ConfidentialAsset, - CountTransferRestriction, - InputCaCheckpoint, - InputCondition, - InputCorporateActionTargets, - InputCorporateActionTaxWithholdings, - InputStatClaim, - InputStatType, - InputTargets, - InputTaxWithholding, - InputTrustedClaimIssuer, - KnownAssetType, - KnownNftType, - MetadataSpec, - MetadataType, - MetadataValueDetails, - NftCollection, - OfferingTier, - PercentageTransferRestriction, - PermissionedAccount, - PermissionsLike, - PortfolioLike, - PortfolioMovement, - Requirement, - Scope, - SecurityIdentifier, - Signer, - StatClaimIssuer, - StatType, - TransactionArray, - TransactionPermissions, - TxGroup, - VenueType, -} from '~/types'; -import { Modify } from '~/types/utils'; - -export type AddRestrictionParams = Omit< - T extends TransferRestrictionType.Count - ? AddCountTransferRestrictionParams - : T extends TransferRestrictionType.Percentage - ? AddPercentageTransferRestrictionParams - : T extends TransferRestrictionType.ClaimCount - ? AddClaimCountTransferRestrictionParams - : AddClaimPercentageTransferRestrictionParams, - 'type' ->; - -export type SetRestrictionsParams = Omit< - T extends TransferRestrictionType.Count - ? SetCountTransferRestrictionsParams - : T extends TransferRestrictionType.Percentage - ? SetPercentageTransferRestrictionsParams - : T extends TransferRestrictionType.ClaimCount - ? SetClaimCountTransferRestrictionsParams - : SetClaimPercentageTransferRestrictionsParams, - 'type' ->; - -export type GetTransferRestrictionReturnType = ActiveTransferRestrictions< - T extends TransferRestrictionType.Count - ? CountTransferRestriction - : T extends TransferRestrictionType.Percentage - ? PercentageTransferRestriction - : T extends TransferRestrictionType.ClaimCount - ? ClaimCountTransferRestriction - : ClaimPercentageTransferRestriction ->; - -export type RemoveAssetStatParams = { ticker: string } & ( - | RemoveCountStatParams - | RemoveBalanceStatParams - | RemoveScopedCountParams - | RemoveScopedBalanceParams -); - -export type AddCountStatParams = AddCountStatInput & { - type: StatType.Count; -}; - -export type AddPercentageStatParams = { - type: StatType.Balance; -}; - -export type AddClaimCountStatParams = ClaimCountStatInput & { - type: StatType.ScopedCount; -}; - -export type AddClaimPercentageStatParams = StatClaimIssuer & { - type: StatType.ScopedBalance; -}; - -export type AddAssetStatParams = { ticker: string } & ( - | AddCountStatParams - | AddPercentageStatParams - | AddClaimCountStatParams - | AddClaimPercentageStatParams -); - -export type RemoveCountStatParams = { - type: StatType.Count; -}; - -export type RemoveBalanceStatParams = { - type: StatType.Balance; -}; - -export type RemoveScopedCountParams = StatClaimIssuer & { - type: StatType.ScopedCount; -}; - -export type RemoveScopedBalanceParams = StatClaimIssuer & { - type: StatType.ScopedBalance; -}; - -export type SetAssetStatParams = Omit< - T extends TransferRestrictionType.Count - ? AddCountStatParams - : T extends TransferRestrictionType.Percentage - ? AddPercentageStatParams - : T extends TransferRestrictionType.ClaimCount - ? AddClaimCountStatParams - : AddClaimPercentageStatParams, - 'type' ->; - -export enum TransferRestrictionType { - Count = 'Count', - Percentage = 'Percentage', - ClaimCount = 'ClaimCount', - ClaimPercentage = 'ClaimPercentage', -} - -export interface TransferRestriction { - type: TransferRestrictionType; - value: BigNumber; -} - -interface TransferRestrictionInputBase { - /** - * array of Identities (or DIDs) that are exempted from the Restriction - */ - exemptedIdentities?: (Identity | string)[]; -} - -export interface CountTransferRestrictionInput extends TransferRestrictionInputBase { - /** - * limit on the amount of different (unique) investors that can hold the Asset at once - */ - count: BigNumber; -} - -export interface PercentageTransferRestrictionInput extends TransferRestrictionInputBase { - /** - * maximum percentage (0-100) of the total supply of the Asset that can be held by a single investor at once - */ - percentage: BigNumber; -} - -export interface ClaimCountTransferRestrictionInput extends TransferRestrictionInputBase { - min: BigNumber; - max?: BigNumber; - issuer: Identity; - claim: InputStatClaim; -} -export interface ClaimPercentageTransferRestrictionInput extends TransferRestrictionInputBase { - min: BigNumber; - max: BigNumber; - issuer: Identity; - claim: InputStatClaim; -} - -export type AddCountTransferRestrictionParams = CountTransferRestrictionInput & { - type: TransferRestrictionType.Count; -}; - -export type AddPercentageTransferRestrictionParams = PercentageTransferRestrictionInput & { - type: TransferRestrictionType.Percentage; -}; - -export type AddClaimCountTransferRestrictionParams = ClaimCountTransferRestrictionInput & { - type: TransferRestrictionType.ClaimCount; -}; - -export type AddClaimPercentageTransferRestrictionParams = - ClaimPercentageTransferRestrictionInput & { - type: TransferRestrictionType.ClaimPercentage; - }; - -export interface SetCountTransferRestrictionsParams { - /** - * array of Count Transfer Restrictions with their corresponding exemptions (if applicable) - */ - restrictions: CountTransferRestrictionInput[]; - type: TransferRestrictionType.Count; -} - -export interface SetPercentageTransferRestrictionsParams { - /** - * array of Percentage Transfer Restrictions with their corresponding exemptions (if applicable) - */ - restrictions: PercentageTransferRestrictionInput[]; - type: TransferRestrictionType.Percentage; -} - -export interface SetClaimCountTransferRestrictionsParams { - restrictions: ClaimCountTransferRestrictionInput[]; - type: TransferRestrictionType.ClaimCount; -} - -export interface SetClaimPercentageTransferRestrictionsParams { - restrictions: ClaimPercentageTransferRestrictionInput[]; - type: TransferRestrictionType.ClaimPercentage; -} - -export interface InviteAccountParams { - targetAccount: string | Account; - permissions?: PermissionsLike; - expiry?: Date; -} - -export interface AcceptPrimaryKeyRotationParams { - /** - * Authorization from the owner who initiated the change - */ - ownerAuth: BigNumber | AuthorizationRequest; - /** - * (optional) Authorization from a CDD service provider attesting the rotation of primary key - */ - cddAuth?: BigNumber | AuthorizationRequest; -} - -export interface ModifySignerPermissionsParams { - /** - * list of secondary Accounts - */ - secondaryAccounts: Modify< - PermissionedAccount, - { account: string | Account; permissions: PermissionsLike } - >[]; -} - -export interface RemoveSecondaryAccountsParams { - accounts: Account[]; -} - -export interface SubsidizeAccountParams { - /** - * Account to subsidize - */ - beneficiary: string | Account; - /** - * amount of POLYX to be subsidized. This can be increased/decreased later on - */ - allowance: BigNumber; -} - -export interface CreateAssetParams { - name: string; - /** - * amount of Asset tokens that will be minted on creation (optional, default doesn't mint) - */ - initialSupply?: BigNumber; - /** - * portfolio to which the Asset tokens will be issued on creation (optional, default is the default portfolio) - */ - portfolioId?: BigNumber; - /** - * whether a single Asset token can be divided into decimal parts - */ - isDivisible: boolean; - /** - * type of security that the Asset represents (e.g. Equity, Debt, Commodity). Common values are included in the - * {@link types!KnownAssetType} enum, but custom values can be used as well. Custom values must be registered on-chain the first time - * they're used, requiring an additional transaction. They aren't tied to a specific Asset - */ - assetType: KnownAssetType | string; - /** - * array of domestic or international alphanumeric security identifiers for the Asset (e.g. ISIN, CUSIP, FIGI) - */ - securityIdentifiers?: SecurityIdentifier[]; - /** - * (optional) funding round in which the Asset currently is (e.g. Series A, Series B) - */ - fundingRound?: string; - documents?: AssetDocument[]; - - /** - * (optional) type of statistics that should be enabled for the Asset - * - * Enabling statistics allows for TransferRestrictions to be made. For example the SEC requires registration for a company that - * has either more than 2000 investors, or more than 500 non accredited investors. To prevent crossing this limit two restrictions are - * needed, a `Count` of 2000, and a `ScopedCount` of non accredited with a maximum of 500. [source](https://www.sec.gov/info/smallbus/secg/jobs-act-section-12g-small-business-compliance-guide.htm) - * - * These restrictions require a `Count` and `ScopedCount` statistic to be created. Although they an be created after the Asset is made, it is recommended to create statistics - * before the Asset is circulated. Count statistics made after Asset creation need their initial value set, so it is simpler to create them before investors hold the Asset. - * If you do need to create a stat for an Asset after creation, you can use the { @link api/entities/Asset/Fungible/TransferRestrictions/TransferRestrictionBase!TransferRestrictionBase.enableStat | enableStat } method in - * the appropriate namespace - */ - initialStatistics?: InputStatType[]; -} - -export interface CreateAssetWithTickerParams extends CreateAssetParams { - ticker: string; -} - -export interface GlobalCollectionKeyInput { - type: MetadataType.Global; - id: BigNumber; -} - -export interface LocalCollectionKeyInput { - type: MetadataType.Local; - name: string; - spec: MetadataSpec; -} - -/** - * Global keys are standardized values and are specified by ID. e.g. imageUri for specifying an associated image - * - * Local keys are unique to the collection, as such `name` and `spec` must be provided - * - * To use a Local keys must provide a specification as they are created with the NftCollection - */ -export type CollectionKeyInput = GlobalCollectionKeyInput | LocalCollectionKeyInput; - -export interface CreateNftCollectionParams { - /** - * The primary identifier for the collection. The ticker must either be free, or the signer has appropriate permissions if reserved - */ - ticker: string; - /** - * The collection name. defaults to `ticker` - */ - name?: string; - /** - * @throws if provided string that does not have a custom type - * @throws if provided a BigNumber that does not correspond to a custom type - */ - nftType: KnownNftType | string | BigNumber; - /** - * array of domestic or international alphanumeric security identifiers for the Asset (e.g. ISIN, CUSIP, FIGI) - */ - securityIdentifiers?: SecurityIdentifier[]; - /** - * The required metadata values each NFT in the collection will have - * - * @note Images — Most Polymesh networks (mainnet, testnet, etc.) have global metadata keys registered to help standardize displaying images - * If `imageUri` is specified as a collection key, then each token will need to be issued with an image URI. - */ - collectionKeys: CollectionKeyInput[]; - /** - * Links to off chain documents related to the NftCollection - */ - documents?: AssetDocument[]; -} - -export interface ReserveTickerParams { - /** - * ticker symbol to reserve - */ - ticker: string; - extendPeriod?: boolean; -} - -export enum ClaimOperation { - Revoke = 'Revoke', - Add = 'Add', - Edit = 'Edit', -} - -export interface AddClaimsParams { - /** - * array of claims to be added - */ - claims: ClaimTarget[]; - operation: ClaimOperation.Add; -} - -export interface EditClaimsParams { - /** - * array of claims to be edited - */ - claims: ClaimTarget[]; - operation: ClaimOperation.Edit; -} - -export interface RevokeClaimsParams { - /** - * array of claims to be revoked - */ - claims: Omit[]; - operation: ClaimOperation.Revoke; -} - -export type ModifyClaimsParams = AddClaimsParams | EditClaimsParams | RevokeClaimsParams; - -export interface ScopeClaimProof { - proofScopeIdWellFormed: string; - proofScopeIdCddIdMatch: { - challengeResponses: [string, string]; - subtractExpressionsRes: string; - blindedScopeDidHash: string; - }; -} - -export interface AddInvestorUniquenessClaimParams { - scope: Scope; - cddId: string; - proof: string | ScopeClaimProof; - scopeId: string; - expiry?: Date; -} - -export interface RegisterIdentityParams { - /** - * The Account that should function as the primary key of the newly created Identity. Can be ss58 encoded address or an instance of Account - */ - targetAccount: string | Account; - /** - * (optional) secondary accounts for the new Identity with their corresponding permissions. - * @note Each Account will need to accept the generated authorizations before being linked to the Identity - */ - secondaryAccounts?: Modify[]; - /** - * (optional) also issue a CDD claim for the created DID, completing the onboarding process for the Account - */ - createCdd?: boolean; - /** - * (optional) when the generated CDD claim should expire, `createCdd` must be true if specified - */ - expiry?: Date; -} - -export interface AttestPrimaryKeyRotationParams { - /** - * The Account that will be attested to become the primary key of the `identity`. Can be ss58 encoded address or an instance of Account - */ - targetAccount: string | Account; - - /** - * Identity or the DID of the Identity that is to be rotated - */ - identity: string | Identity; - - /** - * (optional) when the generated authorization should expire - */ - expiry?: Date; -} - -export interface RotatePrimaryKeyParams { - /** - * The Account that should function as the primary key of the newly created Identity. Can be ss58 encoded address or an instance of Account - */ - targetAccount: string | Account; - - /** - * (optional) when the generated authorization should expire - */ - expiry?: Date; -} - -export interface TransferPolyxParams { - /** - * Account that will receive the POLYX - */ - to: string | Account; - /** - * amount of POLYX to be transferred - */ - amount: BigNumber; - /** - * identifier string to help differentiate transfers - */ - memo?: string; -} - -export interface InstructionFungibleLeg { - amount: BigNumber; - from: PortfolioLike; - to: PortfolioLike; - asset: string | FungibleAsset; -} - -export interface InstructionNftLeg { - nfts: (BigNumber | Nft)[]; - from: PortfolioLike; - to: PortfolioLike; - asset: string | NftCollection; -} - -export type InstructionLeg = InstructionFungibleLeg | InstructionNftLeg; - -export type AddInstructionParams = { - /** - * array of Asset movements - */ - legs: InstructionLeg[]; - /** - * date at which the trade was agreed upon (optional, for off chain trades) - */ - tradeDate?: Date; - /** - * date at which the trade was executed (optional, for off chain trades) - */ - valueDate?: Date; - /** - * identifier string to help differentiate instructions - */ - memo?: string; - /** - * additional identities that must affirm the instruction - */ - mediators?: (string | Identity)[]; -} & ( - | { - /** - * block at which the Instruction will be executed automatically (optional, the Instruction will be executed when all participants have authorized it if not supplied) - */ - endBlock?: BigNumber; - } - | { - /** - * block after which the Instruction can be manually executed (optional, the Instruction will be executed when all participants have authorized it if not supplied) - */ - endAfterBlock?: BigNumber; - } -); - -export interface AddInstructionsParams { - /** - * array of Instructions to be added in the Venue - */ - instructions: AddInstructionParams[]; -} - +import { Identity } from '~/internal'; +import { ConfidentialAccount, ConfidentialAsset } from '~/types'; export interface ConfidentialTransactionLeg { /** * The assets (or their IDs) for this leg of the transaction. Amounts are specified in the later proof generation steps @@ -599,626 +38,6 @@ export interface AddConfidentialTransactionsParams { transactions: AddConfidentialTransactionParams[]; } -export type AddInstructionWithVenueIdParams = AddInstructionParams & { - venueId: BigNumber; -}; - -export interface InstructionIdParams { - id: BigNumber; -} - -export enum InstructionAffirmationOperation { - Affirm = 'Affirm', - Withdraw = 'Withdraw', - Reject = 'Reject', - AffirmAsMediator = 'AffirmAsMediator', - WithdrawAsMediator = 'WithdrawAsMediator', - RejectAsMediator = 'RejectAsMediator', -} - -export type RejectInstructionParams = { - /** - * (optional) Portfolio that the signer controls and wants to reject the instruction - */ - portfolio?: PortfolioLike; -}; - -export type AffirmOrWithdrawInstructionParams = { - /** - * (optional) Portfolios that the signer controls and wants to affirm the instruction or withdraw affirmation - * - * @note if empty, all the legs containing any custodied Portfolios of the signer will be affirmed/affirmation will be withdrawn, based on the operation. - */ - portfolios?: PortfolioLike[]; -}; - -export type AffirmAsMediatorParams = { - expiry?: Date; -}; - -export type ModifyInstructionAffirmationParams = InstructionIdParams & - ( - | ({ - operation: - | InstructionAffirmationOperation.Affirm - | InstructionAffirmationOperation.Withdraw; - } & AffirmOrWithdrawInstructionParams) - | ({ - operation: - | InstructionAffirmationOperation.Reject - | InstructionAffirmationOperation.RejectAsMediator; - } & RejectInstructionParams) - | ({ - operation: InstructionAffirmationOperation.AffirmAsMediator; - } & AffirmAsMediatorParams) - | { - operation: - | InstructionAffirmationOperation.WithdrawAsMediator - | InstructionAffirmationOperation.RejectAsMediator; - } - ); - -export type ExecuteManualInstructionParams = InstructionIdParams & { - /** - * (optional) Set to `true` to skip affirmation check, useful for batch transactions - */ - skipAffirmationCheck?: boolean; -}; - -export interface CreateVenueParams { - description: string; - type: VenueType; -} - -export interface ControllerTransferParams { - /** - * portfolio (or portfolio ID) from which Assets will be transferred - */ - originPortfolio: PortfolioLike; - /** - * amount of Asset tokens to transfer - */ - amount: BigNumber; -} - -export type ModifyAssetParams = - | { - /** - * makes an indivisible Asset divisible - */ - makeDivisible?: true; - name: string; - fundingRound?: string; - identifiers?: SecurityIdentifier[]; - } - | { - makeDivisible: true; - name?: string; - fundingRound?: string; - identifiers?: SecurityIdentifier[]; - } - | { - makeDivisible?: true; - name?: string; - fundingRound: string; - identifiers?: SecurityIdentifier[]; - } - | { - makeDivisible?: true; - name?: string; - fundingRound?: string; - identifiers: SecurityIdentifier[]; - }; - -export type NftMetadataInput = { - type: MetadataType; - id: BigNumber; - value: string; -}; - -export type IssueNftParams = { - metadata: NftMetadataInput[]; - portfolio?: PortfolioLike; -}; - -export interface ModifyPrimaryIssuanceAgentParams { - /** - * Identity to be set as primary issuance agent - */ - target: string | Identity; - /** - * date at which the authorization request to modify the primary issuance agent expires (optional, never expires if a date is not provided) - */ - requestExpiry?: Date; -} - -export interface RedeemTokensParams { - amount: BigNumber; - /** - * portfolio (or portfolio ID) from which Assets will be redeemed (optional, defaults to the default Portfolio) - */ - from?: BigNumber | DefaultPortfolio | NumberedPortfolio; -} - -export interface RedeemNftParams { - /** - * portfolio (or portfolio ID) from which Assets will be redeemed (optional, defaults to the default Portfolio) - */ - from?: BigNumber | DefaultPortfolio | NumberedPortfolio; -} - -export interface TransferAssetOwnershipParams { - target: string | Identity; - /** - * date at which the authorization request for transfer expires (optional) - */ - expiry?: Date; -} - -export interface CreateCheckpointScheduleParams { - /** - * The points in time in the future for which to create checkpoints for - */ - points: Date[]; -} - -export interface RemoveCheckpointScheduleParams { - /** - * schedule (or ID) of the schedule to be removed - */ - schedule: CheckpointSchedule | BigNumber; -} - -export interface AddAssetRequirementParams { - /** - * array of conditions that form the requirement that must be added. - * Conditions within a requirement are *AND* between them. This means that in order - * for a transfer to comply with this requirement, it must fulfill *ALL* conditions - */ - conditions: InputCondition[]; -} - -export type ModifyComplianceRequirementParams = { - /** - * ID of the Compliance Requirement - */ - id: BigNumber; - /** - * array of conditions to replace the existing array of conditions for the requirement (identified by `id`). - * Conditions within a requirement are *AND* between them. This means that in order - * for a transfer to comply with this requirement, it must fulfill *ALL* conditions - */ - conditions: InputCondition[]; -}; - -export interface RemoveAssetRequirementParams { - requirement: BigNumber | Requirement; -} - -export interface SetAssetRequirementsParams { - /** - * array of array of conditions. For a transfer to be successful, it must comply with all the conditions of at least one of the arrays. - * In other words, higher level arrays are *OR* between them, while conditions inside each array are *AND* between them - */ - requirements: InputCondition[][]; -} - -export interface ModifyAssetTrustedClaimIssuersAddSetParams { - claimIssuers: InputTrustedClaimIssuer[]; -} - -export interface ModifyAssetTrustedClaimIssuersRemoveParams { - /** - * array of Identities (or DIDs) of the default claim issuers - */ - claimIssuers: (string | Identity)[]; -} - -export interface RemoveCorporateActionParams { - corporateAction: CorporateActionBase | BigNumber; -} - -export interface ModifyCorporateActionsAgentParams { - /** - * Identity to be set as Corporate Actions Agent - */ - target: string | Identity; - /** - * date at which the authorization request to modify the Corporate Actions Agent expires (optional, never expires if a date is not provided) - */ - requestExpiry?: Date; -} - -export type ModifyCaDefaultConfigParams = - | { - targets?: InputTargets; - defaultTaxWithholding: BigNumber; - taxWithholdings?: InputTaxWithholding[]; - } - | { - targets: InputTargets; - defaultTaxWithholding?: BigNumber; - taxWithholdings?: InputTaxWithholding[]; - } - | { - targets?: InputTargets; - defaultTaxWithholding?: BigNumber; - taxWithholdings: InputTaxWithholding[]; - }; - -export interface ConfigureDividendDistributionParams { - /** - * date at which the issuer publicly declared the Dividend Distribution. Optional, defaults to the current date - */ - declarationDate?: Date; - description: string; - /** - * Asset Holder Identities to be included (or excluded) from the Dividend Distribution. Inclusion/exclusion is controlled by the `treatment` - * property. When the value is `Include`, all Asset Holders not present in the array are excluded, and vice-versa. If no value is passed, - * the default value for the Asset is used. If there is no default value, all Asset Holders will be part of the Dividend Distribution - */ - targets?: InputCorporateActionTargets; - /** - * default percentage (0-100) of the Benefits to be held for tax purposes - */ - defaultTaxWithholding?: BigNumber; - /** - * percentage (0-100) of the Benefits to be held for tax purposes from individual Asset Holder Identities. - * This overrides the value of `defaultTaxWithholding` - */ - taxWithholdings?: InputCorporateActionTaxWithholdings; - /** - * checkpoint to be used to calculate Dividends. If a Schedule is passed, the next Checkpoint it creates will be used. - * If a Date is passed, a Checkpoint will be created at that date and used - */ - checkpoint: InputCaCheckpoint; - /** - * portfolio from which the Dividends will be distributed. Optional, defaults to the Dividend Distributions Agent's Default Portfolio - */ - originPortfolio?: NumberedPortfolio | BigNumber; - /** - * ticker of the currency in which Dividends will be distributed - */ - currency: string; - /** - * amount of `currency` to distribute per each share of the Asset that a target holds - */ - perShare: BigNumber; - /** - * maximum amount of `currency` to distribute in total - */ - maxAmount: BigNumber; - /** - * date from which Asset Holders can claim their Dividends - */ - paymentDate: Date; - /** - * optional, defaults to never expiring - */ - expiryDate?: Date; -} - -export interface SetAssetDocumentsParams { - /** - * list of documents - */ - documents: AssetDocument[]; -} - -export interface LaunchOfferingParams { - /** - * portfolio in which the Asset tokens to be sold are stored - */ - offeringPortfolio: PortfolioLike; - /** - * portfolio in which the raised funds will be stored - */ - raisingPortfolio: PortfolioLike; - /** - * ticker symbol of the currency in which the funds are being raised (e.g. 'USD' or 'CAD'). - * Other Assets can be used as currency as well - */ - raisingCurrency: string; - /** - * venue through which all offering related trades will be settled - * (optional, defaults to the first `Sto` type Venue owned by the owner of the Offering Portfolio. - * If passed, it must be of type `Sto`) - */ - venue?: Venue; - name: string; - /** - * start date of the Offering (optional, defaults to right now) - */ - start?: Date; - /** - * end date of the Offering (optional, defaults to never) - */ - end?: Date; - /** - * array of sale tiers. Each tier consists of an amount of Assets to be sold at a certain price. - * Tokens in a tier can only be bought when all tokens in previous tiers have been bought - */ - tiers: OfferingTier[]; - /** - * minimum amount that can be spent on this offering - */ - minInvestment: BigNumber; -} - -export interface CreateGroupParams { - permissions: - | { - transactions: TransactionPermissions; - } - | { - transactionGroups: TxGroup[]; - }; -} - -export interface InviteExternalAgentParams { - target: string | Identity; - permissions: - | KnownPermissionGroup - | CustomPermissionGroup - | { - transactions: TransactionPermissions | null; - } - | { - transactionGroups: TxGroup[]; - }; - /** - * date at which the authorization request for invitation expires (optional) - * - * @note if expiry date is not set, the invitation will never expire - * @note due to chain limitations, the expiry will be ignored if the passed `permissions` don't correspond to an existing Permission Group - */ - expiry?: Date; -} - -export interface RemoveExternalAgentParams { - target: string | Identity; -} - -export interface LinkCaDocsParams { - /** - * list of documents - */ - documents: AssetDocument[]; -} - -export interface ModifyCaCheckpointParams { - checkpoint: InputCaCheckpoint | null; -} - -export interface SetGroupPermissionsParams { - permissions: - | { - transactions: TransactionPermissions; - } - | { - transactionGroups: TxGroup[]; - }; -} - -export type ModifyVenueParams = - | { - description?: string; - type: VenueType; - } - | { - description: string; - type?: VenueType; - } - | { - description: string; - type: VenueType; - }; - -export interface TransferTickerOwnershipParams { - target: string | Identity; - /** - * date at which the authorization request for transfer expires (optional) - */ - expiry?: Date; -} - -export enum AllowanceOperation { - Set = 'Set', - Increase = 'Increase', - Decrease = 'Decrease', -} - -export interface IncreaseAllowanceParams { - /** - * amount of POLYX to increase the allowance by - */ - allowance: BigNumber; - operation: AllowanceOperation.Increase; -} - -export interface DecreaseAllowanceParams { - /** - * amount of POLYX to decrease the allowance by - */ - allowance: BigNumber; - operation: AllowanceOperation.Decrease; -} - -export interface SetAllowanceParams { - /** - * amount of POLYX to set the allowance to - */ - allowance: BigNumber; - operation: AllowanceOperation.Set; -} - -export type ModifyOfferingTimesParams = - | { - /** - * new start time (optional, will be left the same if not passed) - */ - start?: Date; - /** - * new end time (optional, will be left th same if not passed). A null value means the Offering doesn't end - */ - end: Date | null; - } - | { - start: Date; - end?: Date | null; - } - | { start: Date; end: Date | null }; - -export interface InvestInOfferingParams { - /** - * portfolio in which the purchased Asset tokens will be stored - */ - purchasePortfolio: PortfolioLike; - /** - * portfolio from which funds will be withdrawn to pay for the Asset tokens - */ - fundingPortfolio: PortfolioLike; - /** - * amount of Asset tokens to purchase - */ - purchaseAmount: BigNumber; - /** - * maximum average price to pay per Asset token (optional) - */ - maxPrice?: BigNumber; -} - -export interface RenamePortfolioParams { - name: string; -} - -export interface WaivePermissionsParams { - asset: string | FungibleAsset; -} - -export interface AssetBase { - /** - * Asset over which the Identity will be granted permissions - */ - asset: string | FungibleAsset; -} - -export interface TransactionsParams extends AssetBase { - /** - * a null value means full permissions - */ - transactions: TransactionPermissions | null; -} - -export interface TxGroupParams extends AssetBase { - transactionGroups: TxGroup[]; -} - -/** - * This procedure can be called with: - * - An Asset's existing Custom Permission Group. The Identity will be assigned as an Agent of that Group for that Asset - * - A Known Permission Group and an Asset. The Identity will be assigned as an Agent of that Group for that Asset - * - A set of Transaction Permissions and an Asset. If there is no Custom Permission Group with those permissions, a Custom Permission Group will be created for that Asset with those permissions, and - * the Identity will be assigned as an Agent of that Group for that Asset. Otherwise, the existing Group will be used - * - An array of {@link types!TxGroup | Transaction Groups} that represent a set of permissions. If there is no Custom Permission Group with those permissions, a Custom Permission Group will be created with those permissions, and - * the Identity will be assigned as an Agent of that Group for that Asset. Otherwise, the existing Group will be used - */ -export interface SetPermissionGroupParams { - group: KnownPermissionGroup | CustomPermissionGroup | TransactionsParams | TxGroupParams; -} - -export interface PayDividendsParams { - targets: (string | Identity)[]; -} - -export interface SetCustodianParams { - targetIdentity: string | Identity; - expiry?: Date; -} - -export interface MoveFundsParams { - /** - * portfolio (or portfolio ID) that will receive the funds. Optional, if no value is passed, the funds will be moved to the default Portfolio of this Portfolio's owner - */ - to?: BigNumber | DefaultPortfolio | NumberedPortfolio; - /** - * list of Assets (and the corresponding token amounts) that will be moved - */ - items: PortfolioMovement[]; -} - -export interface CreateTransactionBatchParams { - transactions: Readonly>; -} - -export interface CreateMultiSigParams { - signers: Signer[]; - requiredSignatures: BigNumber; -} - -export interface ModifyMultiSigParams { - /** - * The MultiSig to be modified - */ - multiSig: MultiSig; - /** - * The signers to set for the MultiSig - */ - signers: Signer[]; -} - -export type SetMetadataParams = - | { value: string; details?: MetadataValueDetails } - | { details: MetadataValueDetails }; - -export type RegisterMetadataParams = - | { - name: string; - specs: MetadataSpec; - } - | { - name: string; - specs: MetadataSpec; - value: string; - details?: MetadataValueDetails; - }; - -export type SetVenueFilteringParams = { - enabled?: boolean; - allowedVenues?: BigNumber[]; - disallowedVenues?: BigNumber[]; -}; - -export interface CreateChildIdentityParams { - /** - * The secondary key that will become the primary key of the new child Identity - */ - secondaryKey: string | Account; -} - -export interface CreateChildIdentitiesParams { - /** - * The secondary keys that will become the primary keys of the new child Identities - */ - secondaryKeys: (string | Account)[]; - /** - * Expiry date of the signed authorization - */ - expiry: Date; -} - -export interface UnlinkChildParams { - child: string | ChildIdentity; -} - -export interface RegisterCustomClaimTypeParams { - name: string; -} - -export interface AssetMediatorParams { - mediators: (Identity | string)[]; -} - export interface FreezeConfidentialAccountAssetParams { confidentialAccount: ConfidentialAccount | string; } diff --git a/src/api/procedures/unlinkChildIdentity.ts b/src/api/procedures/unlinkChildIdentity.ts deleted file mode 100644 index 6a765d162b..0000000000 --- a/src/api/procedures/unlinkChildIdentity.ts +++ /dev/null @@ -1,109 +0,0 @@ -import { Identity, PolymeshError, Procedure } from '~/internal'; -import { ErrorCode, TxTags, UnlinkChildParams } from '~/types'; -import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; -import { stringToIdentityId } from '~/utils/conversion'; -import { asChildIdentity } from '~/utils/internal'; - -/** - * @hidden - */ -export interface Storage { - identity: Identity; -} - -/** - * @hidden - */ -export async function prepareUnlinkChildIdentity( - this: Procedure, - args: UnlinkChildParams -): Promise>> { - const { - context: { - polymeshApi: { tx }, - }, - context, - storage: { - identity: { did: signingDid }, - }, - } = this; - - const { child } = args; - - const childIdentity = asChildIdentity(child, context); - - const parentIdentity = await childIdentity.getParentDid(); - - if (!parentIdentity) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: "The `child` doesn't have a parent identity", - }); - } - - const { did: parentDid } = parentIdentity; - const { did: childDid } = childIdentity; - - if (![parentDid, childDid].includes(signingDid)) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'Only the parent or the child identity is authorized to unlink a child identity', - }); - } - - return { - transaction: tx.identity.unlinkChildIdentity, - args: [stringToIdentityId(childDid, context)], - resolver: undefined, - }; -} - -/** - * @hidden - */ -export async function getAuthorization( - this: Procedure -): Promise { - const { - context, - storage: { identity }, - } = this; - - const signingAccount = context.getSigningAccount(); - - const { account: primaryAccount } = await identity.getPrimaryAccount(); - - if (!signingAccount.isEqual(primaryAccount)) { - return { - signerPermissions: - 'Child identity can only be unlinked by primary key of either the child Identity or parent Identity', - }; - } - - return { - permissions: { - transactions: [TxTags.identity.UnlinkChildIdentity], - assets: [], - portfolios: [], - }, - }; -} - -/** - * @hidden - */ -export async function prepareStorage( - this: Procedure -): Promise { - const { context } = this; - - return { - identity: await context.getSigningIdentity(), - }; -} - -/** - * @hidden - */ -export const unlinkChildIdentity = (): Procedure => - new Procedure(prepareUnlinkChildIdentity, getAuthorization, prepareStorage); diff --git a/src/api/procedures/utils.ts b/src/api/procedures/utils.ts index 3928df6879..00ed4f0cab 100644 --- a/src/api/procedures/utils.ts +++ b/src/api/procedures/utils.ts @@ -1,184 +1,14 @@ -import { ISubmittableResult } from '@polkadot/types/types'; +import { ErrorCode } from '@polymeshassociation/polymesh-sdk/types'; import BigNumber from 'bignumber.js'; -import P from 'bluebird'; -import { isEqual } from 'lodash'; import { - Account, - AuthorizationRequest, - BaseAsset, - Checkpoint, - CheckpointSchedule, ConfidentialAccount, ConfidentialAsset, ConfidentialVenue, Context, - CustomPermissionGroup, - FungibleAsset, - Identity, - Instruction, - KnownPermissionGroup, - NumberedPortfolio, PolymeshError, - TickerReservation, - Venue, } from '~/internal'; -import { - AddRelayerPayingKeyAuthorizationData, - Authorization, - AuthorizationType, - Condition, - ConditionTarget, - ConditionType, - ErrorCode, - GenericAuthorizationData, - InputCondition, - InputTaxWithholding, - InstructionDetails, - InstructionStatus, - InstructionType, - PermissionedAccount, - PermissionGroupType, - PortfolioId, - Signer, - TickerReservationStatus, - TransactionPermissions, - TxTag, -} from '~/types'; -import { tickerToString, u32ToBigNumber, u64ToBigNumber } from '~/utils/conversion'; -import { asConfidentialAsset, filterEventRecords } from '~/utils/internal'; - -/** - * @hidden - */ -export async function assertInstructionValid( - instruction: Instruction, - context: Context -): Promise { - const details = await instruction.details(); - const { status, type } = details; - - if (status !== InstructionStatus.Pending && status !== InstructionStatus.Failed) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'The Instruction must be in pending or failed state', - }); - } - - if (type === InstructionType.SettleOnBlock) { - const latestBlock = await context.getLatestBlock(); - const { endBlock } = details; - - if (latestBlock.gte(endBlock)) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'The Instruction cannot be modified; it has already reached its end block', - data: { - currentBlock: latestBlock, - endBlock, - }, - }); - } - } -} - -/** - * @hidden - */ -export async function assertInstructionValidForManualExecution( - details: InstructionDetails, - context: Context -): Promise { - const { status, type } = details; - - if (status === InstructionStatus.Success || status === InstructionStatus.Rejected) { - throw new PolymeshError({ - code: ErrorCode.NoDataChange, - message: 'The Instruction has already been executed', - }); - } - - if (type !== InstructionType.SettleManual && status !== InstructionStatus.Failed) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: `You cannot manually execute settlement of type '${type}'`, - }); - } - - if (type === InstructionType.SettleManual) { - const latestBlock = await context.getLatestBlock(); - const { endAfterBlock } = details; - if (latestBlock.lte(endAfterBlock)) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'The Instruction cannot be executed until the specified end after block', - data: { - currentBlock: latestBlock, - endAfterBlock, - }, - }); - } - } -} - -/** - * @hidden - */ -export async function assertPortfolioExists( - portfolioId: PortfolioId, - context: Context -): Promise { - const { did, number } = portfolioId; - - if (number) { - const numberedPortfolio = new NumberedPortfolio({ did, id: number }, context); - const exists = await numberedPortfolio.exists(); - - if (!exists) { - throw new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: "The Portfolio doesn't exist", - data: { - did, - portfolioId: number, - }, - }); - } - } -} - -/** - * @hidden - */ -export async function assertVenueExists(venueId: BigNumber, context: Context): Promise { - const venue = new Venue({ id: venueId }, context); - const exists = await venue.exists(); - - if (!exists) { - throw new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: "The Venue doesn't exist", - data: { - venueId, - }, - }); - } -} - -/** - * @hidden - */ -export async function assertIdentityExists(identity: Identity): Promise { - const exists = await identity.exists(); - - if (!exists) { - throw new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: 'The Identity does not exist', - data: { did: identity.did }, - }); - } -} +import { asConfidentialAsset } from '~/utils/internal'; /** * @hidden @@ -271,552 +101,3 @@ export async function assertConfidentialAssetExists( }); } } - -/** - * @hidden - */ -export function assertSecondaryAccounts( - accounts: Account[], - secondaryAccounts: PermissionedAccount[] -): void { - const addresses = accounts.map(({ address }) => address); - const secondaryAddresses = secondaryAccounts.map(({ account: { address } }) => address); - const notInTheList = addresses.filter(address => !secondaryAddresses.includes(address)); - - if (notInTheList.length) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'One of the Accounts is not a secondary Account for the Identity', - data: { - missing: notInTheList, - }, - }); - } -} - -/** - * @hidden - */ -export function assertDistributionOpen(paymentDate: Date, expiryDate: Date | null): void { - const now = new Date(); - - if (paymentDate > now) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: "The Distribution's payment date hasn't been reached", - data: { paymentDate }, - }); - } - - if (expiryDate && expiryDate < now) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'The Distribution has already expired', - data: { - expiryDate, - }, - }); - } -} - -/** - * @hidden - */ -export function assertCaTaxWithholdingsValid( - taxWithholdings: InputTaxWithholding[], - context: Context -): void { - const { maxDidWhts } = context.polymeshApi.consts.corporateAction; - - const maxWithholdingEntries = u32ToBigNumber(maxDidWhts); - - if (maxWithholdingEntries.lt(taxWithholdings.length)) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'Too many tax withholding entries', - data: { - maxWithholdingEntries, - }, - }); - } -} - -/** - * @hidden - */ -export async function assertCaCheckpointValid( - checkpoint: Checkpoint | CheckpointSchedule | Date -): Promise { - if (checkpoint instanceof Date) { - if (checkpoint <= new Date()) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'Checkpoint date must be in the future', - }); - } - } else { - const exists = await checkpoint.exists(); - - if (!exists) { - throw new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: - checkpoint instanceof Checkpoint - ? "Checkpoint doesn't exist" - : "Checkpoint Schedule doesn't exist", - }); - } - } -} - -/** - * @hidden - */ -export async function assertDistributionDatesValid( - checkpoint: CheckpointSchedule | Date, - paymentDate: Date, - expiryDate: Date | null -): Promise { - let checkpointDate: Date; - - await assertCaCheckpointValid(checkpoint); - - if (checkpoint instanceof Date) { - checkpointDate = checkpoint; - } else { - ({ nextCheckpointDate: checkpointDate } = await checkpoint.details()); - } - - if (paymentDate <= checkpointDate) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'Payment date must be after the Checkpoint date', - }); - } - - if (expiryDate && expiryDate < checkpointDate) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'Expiry date must be after the Checkpoint date', - }); - } -} - -/** - * @hidden - */ -export function isFullGroupType(group: KnownPermissionGroup | CustomPermissionGroup): boolean { - return group instanceof KnownPermissionGroup && group.type === PermissionGroupType.Full; -} - -/** - * @hidden - * - * @note based on the complexity calculation done by the chain - * @note conditions have already been "injected" with the default trusted claim issuers when they reach this point - */ -export function assertRequirementsNotTooComplex( - conditions: (Condition | InputCondition)[], - defaultClaimIssuerLength: BigNumber, - context: Context -): void { - const { maxConditionComplexity: maxComplexity } = context.polymeshApi.consts.complianceManager; - let complexitySum = new BigNumber(0); - - conditions.forEach(condition => { - const { target, trustedClaimIssuers = [] } = condition; - switch (condition.type) { - case ConditionType.IsPresent: - case ConditionType.IsIdentity: - case ConditionType.IsAbsent: - // single claim conditions add one to the complexity - complexitySum = complexitySum.plus(1); - break; - case ConditionType.IsAnyOf: - case ConditionType.IsNoneOf: - // multi claim conditions add one to the complexity per each claim - complexitySum = complexitySum.plus(condition.claims.length); - break; - } - - // if the condition affects both, it actually represents two conditions on chain - if (target === ConditionTarget.Both) { - complexitySum = complexitySum.multipliedBy(2); - } - - const claimIssuerLength = trustedClaimIssuers.length || defaultClaimIssuerLength; - complexitySum = complexitySum.multipliedBy(claimIssuerLength); - }); - - if (u32ToBigNumber(maxComplexity).lt(complexitySum)) { - throw new PolymeshError({ - code: ErrorCode.LimitExceeded, - message: 'Compliance Requirement complexity limit exceeded', - data: { limit: maxComplexity }, - }); - } -} - -/** - * @hidden - * - * Asserts valid primary key rotation authorization - */ -export async function assertPrimaryKeyRotationAuthorizationValid( - authRequest: AuthorizationRequest -): Promise { - if (authRequest.target instanceof Identity) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'An Identity can not become the primary Account of another Identity', - }); - } -} - -/** - * @hidden - * - * Asserts valid attest primary key authorization - */ -export async function assertAttestPrimaryKeyAuthorizationValid( - authRequest: AuthorizationRequest -): Promise { - const isCddProvider = await authRequest.issuer.isCddProvider(); - if (!isCddProvider) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'Issuer must be a CDD provider', - }); - } -} - -/** - * @hidden - * - * Asserts transfer ticker authorization is valid - */ -export async function assertTransferTickerAuthorizationValid( - data: GenericAuthorizationData, - context: Context -): Promise { - const reservation = new TickerReservation({ ticker: data.value }, context); - const { status } = await reservation.details(); - if (status === TickerReservationStatus.Free) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'The Ticker is not reserved', - }); - } - if (status === TickerReservationStatus.AssetCreated) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'The Ticker has already been used to create an Asset', - }); - } -} - -/** - * @hidden - * - * Asserts valid transfer asset ownership authorization - */ -export async function assertTransferAssetOwnershipAuthorizationValid( - data: GenericAuthorizationData, - context: Context -): Promise { - const asset = new FungibleAsset({ ticker: data.value }, context); - const exists = await asset.exists(); - if (!exists) - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'The Asset does not exist', - }); -} - -/** - * @hidden - * - * Asserts valid add multisig signer authorization - */ -export async function assertMultiSigSignerAuthorizationValid( - data: GenericAuthorizationData, - target: Signer, - context: Context -): Promise { - if (target instanceof Account) { - const { address } = target; - if (address === data.value) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'A multisig cannot be its own signer', - }); - } - - const identityRecord = await context.polymeshApi.query.identity.keyRecords(address); - - if (identityRecord.isSome) { - const record = identityRecord.unwrap(); - if (record.isPrimaryKey || record.isSecondaryKey) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'The target Account is already part of an Identity', - }); - } - - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'The target Account is already associated to a multisig address', - }); - } - } -} - -/** - * @hidden - * - * Asserts valid add relayer paying key authorization - */ -export async function assertAddRelayerPayingKeyAuthorizationValid( - data: AddRelayerPayingKeyAuthorizationData -): Promise { - const subsidy = data.value; - - const [beneficiaryIdentity, subsidizerIdentity] = await Promise.all([ - subsidy.beneficiary.getIdentity(), - subsidy.subsidizer.getIdentity(), - ]); - - if (!beneficiaryIdentity) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'Beneficiary Account does not have an Identity', - }); - } - - if (!subsidizerIdentity) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'Subsidizer Account does not have an Identity', - }); - } - const [isBeneficiaryCddValid, isSubsidizerCddValid] = await Promise.all([ - beneficiaryIdentity.hasValidCdd(), - subsidizerIdentity.hasValidCdd(), - ]); - - if (!isBeneficiaryCddValid) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'Beneficiary Account does not have a valid CDD Claim', - }); - } - - if (!isSubsidizerCddValid) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'Subsidizer Account does not have a valid CDD Claim', - }); - } -} - -/** - * @hidden - * - * Assert the target is an Account - */ -function assertIsAccount(target: Signer): asserts target is Account { - if (target instanceof Identity) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'The target cannot be an Identity', - }); - } -} - -/** - * @hidden - * - * Asserts valid authorization for JoinIdentity and RotatePrimaryKeyToSecondary types - */ -async function assertJoinOrRotateAuthorizationValid( - authRequest: AuthorizationRequest -): Promise { - const { issuer, target } = authRequest; - const hasValidCdd = await issuer.hasValidCdd(); - if (!hasValidCdd) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'Issuing Identity does not have a valid CDD claim', - }); - } - - assertIsAccount(target); - - const targetIdentity = await target.getIdentity(); - if (targetIdentity) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'The target Account already has an associated Identity', - }); - } -} - -/** - * @hidden - * - * Helper class to ensure a code path is unreachable. For example this can be used for ensuring switch statements are exhaustive - */ -export class UnreachableCaseError extends Error { - /** This should never be called */ - constructor(val: never) { - super(`Unreachable case: ${JSON.stringify(val)}`); - } -} - -/** - * @hidden - */ -export async function assertAuthorizationRequestValid( - authRequest: AuthorizationRequest, - context: Context -): Promise { - const exists = await authRequest.exists(); - if (!exists) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'The Authorization Request no longer exists', - }); - } - if (authRequest.isExpired()) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'The Authorization Request has expired', - data: { - expiry: authRequest.expiry, - }, - }); - } - const { data, target } = authRequest; - switch (data.type) { - case AuthorizationType.RotatePrimaryKey: - return assertPrimaryKeyRotationAuthorizationValid(authRequest); - case AuthorizationType.AttestPrimaryKeyRotation: - return assertAttestPrimaryKeyAuthorizationValid(authRequest); - case AuthorizationType.TransferTicker: - return assertTransferTickerAuthorizationValid(data, context); - case AuthorizationType.TransferAssetOwnership: - return assertTransferAssetOwnershipAuthorizationValid(data, context); - case AuthorizationType.BecomeAgent: - // no additional checks - return; - case AuthorizationType.AddMultiSigSigner: - return assertMultiSigSignerAuthorizationValid(data, target, context); - case AuthorizationType.PortfolioCustody: - // no additional checks - return; - case AuthorizationType.JoinIdentity: - return assertJoinOrRotateAuthorizationValid(authRequest); - case AuthorizationType.AddRelayerPayingKey: - return assertAddRelayerPayingKeyAuthorizationValid(data); - case AuthorizationType.RotatePrimaryKeyToSecondary: - return assertJoinOrRotateAuthorizationValid(authRequest); - default: - throw new UnreachableCaseError(data); // ensures switch statement covers all values - } -} - -/** - * @hidden - * - * Retrieve the Permission Group that has the same permissions as the ones passed as input, or undefined if - * there is no matching group - */ -export async function getGroupFromPermissions( - asset: BaseAsset, - permissions: TransactionPermissions | null -): Promise<(CustomPermissionGroup | KnownPermissionGroup) | undefined> { - const { custom, known } = await asset.permissions.getGroups(); - const allGroups = [...custom, ...known]; - - const currentGroupPermissions = await P.map(allGroups, group => group.getPermissions()); - - const duplicatedGroupIndex = currentGroupPermissions.findIndex( - ({ transactions: transactionPermissions }) => isEqual(transactionPermissions, permissions) - ); - - return allGroups[duplicatedGroupIndex]; -} - -/** - * @hidden - */ -export async function assertGroupDoesNotExist( - asset: FungibleAsset, - permissions: TransactionPermissions | null -): Promise { - const matchingGroup = await getGroupFromPermissions(asset, permissions); - - if (matchingGroup) { - throw new PolymeshError({ - code: ErrorCode.NoDataChange, - message: 'There already exists a group with the exact same permissions', - data: { - groupId: - matchingGroup instanceof CustomPermissionGroup ? matchingGroup.id : matchingGroup.type, - }, - }); - } -} - -/** - * @hidden - */ -export const createAuthorizationResolver = - ( - auth: Authorization, - issuer: Identity, - target: Identity | Account, - expiry: Date | null, - context: Context - ) => - (receipt: ISubmittableResult): AuthorizationRequest => { - const [{ data }] = filterEventRecords(receipt, 'identity', 'AuthorizationAdded'); - - const authId = u64ToBigNumber(data[3]); - return new AuthorizationRequest({ authId, expiry, issuer, target, data: auth }, context); - }; - -/** - * @hidden - */ -export const createCreateGroupResolver = - (context: Context) => - (receipt: ISubmittableResult): CustomPermissionGroup => { - const [{ data }] = filterEventRecords(receipt, 'externalAgents', 'GroupCreated'); - - return new CustomPermissionGroup( - { id: u32ToBigNumber(data[2]), ticker: tickerToString(data[1]) }, - context - ); - }; - -/** - * Add protocol fees for specific tags to the current accumulated total - * - * @returns undefined if fees aren't being calculated manually - */ -export async function addManualFees( - currentFee: BigNumber | undefined, - tags: TxTag[], - context: Context -): Promise { - if (!currentFee) { - return undefined; - } - - const fees = await context.getProtocolFees({ - tags, - }); - - return fees.reduce((prev, { fees: nextFees }) => prev.plus(nextFees), currentFee); -} diff --git a/src/api/procedures/waivePermissions.ts b/src/api/procedures/waivePermissions.ts deleted file mode 100644 index b59108de24..0000000000 --- a/src/api/procedures/waivePermissions.ts +++ /dev/null @@ -1,92 +0,0 @@ -import { BaseAsset, Identity, PolymeshError, Procedure } from '~/internal'; -import { ErrorCode, RoleType, TxTags, WaivePermissionsParams } from '~/types'; -import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; -import { stringToTicker } from '~/utils/conversion'; -import { asBaseAsset } from '~/utils/internal'; - -/** - * @hidden - */ -export type Params = WaivePermissionsParams & { - identity: Identity; -}; - -/** - * @hidden - */ -export interface Storage { - asset: BaseAsset; -} - -/** - * @hidden - */ -export async function prepareWaivePermissions( - this: Procedure, - args: Params -): Promise>> { - const { - context: { - polymeshApi: { tx }, - }, - context, - storage: { asset }, - } = this; - - const { identity } = args; - - const agents = await asset.permissions.getAgents(); - const isAgent = agents.some(agentWithGroup => agentWithGroup.agent.isEqual(identity)); - - if (!isAgent) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'The Identity is not an Agent for the Asset', - }); - } - - const rawTicker = stringToTicker(asset.ticker, context); - - return { - transaction: tx.externalAgents.abdicate, - args: [rawTicker], - resolver: undefined, - }; -} - -/** - * @hidden - */ -export function getAuthorization( - this: Procedure, - { identity: { did } }: Params -): ProcedureAuthorization { - const { - storage: { asset }, - } = this; - return { - signerPermissions: { - transactions: [TxTags.externalAgents.Abdicate], - assets: [asset], - portfolios: [], - }, - roles: [{ type: RoleType.Identity, did }], - }; -} - -/** - * @hidden - */ -export function prepareStorage(this: Procedure, { asset }: Params): Storage { - const { context } = this; - - return { - asset: asBaseAsset(asset, context), - }; -} - -/** - * @hidden - */ -export const waivePermissions = (): Procedure => - new Procedure(prepareWaivePermissions, getAuthorization, prepareStorage); diff --git a/src/base/Procedure.ts b/src/base/ConfidentialProcedure.ts similarity index 84% rename from src/base/Procedure.ts rename to src/base/ConfidentialProcedure.ts index 3a4b122038..18c35af7d0 100644 --- a/src/base/Procedure.ts +++ b/src/base/ConfidentialProcedure.ts @@ -4,24 +4,29 @@ import { PolymeshError, PolymeshTransaction, PolymeshTransactionBatch, -} from '~/internal'; +} from '@polymeshassociation/polymesh-sdk/internal'; import { - CheckPermissionsResult, - CheckRolesResult, ErrorCode, GenericPolymeshTransaction, Identity, - ProcedureAuthorizationStatus, ProcedureOpts, SignerType, - TxTag, -} from '~/types'; + TxTag as PublicTxTag, +} from '@polymeshassociation/polymesh-sdk/types'; import { BaseTransactionSpec, GenericTransactionSpec, - ProcedureAuthorization, -} from '~/types/internal'; -import { signerToString } from '~/utils/conversion'; +} from '@polymeshassociation/polymesh-sdk/types/internal'; +import { signerToString } from '@polymeshassociation/polymesh-sdk/utils/conversion'; + +import { + ConfidentialCheckRolesResult, + ConfidentialProcedureAuthorization, + ConfidentialProcedureAuthorizationStatus, + TxTag, +} from '~/types'; +import { CheckPermissionsResult } from '~/types/internal'; +import { checkConfidentialPermissions, checkConfidentialRoles } from '~/utils/internal'; /** * @hidden @@ -47,9 +52,9 @@ async function getAgentPermissionsResult( return identity ? identity.assetPermissions.checkPermissions({ asset, - transactions, + transactions: transactions as PublicTxTag[], }) - : { result: false, missingPermissions: transactions }; + : { result: false, missingPermissions: transactions as PublicTxTag[] }; } /** @@ -59,19 +64,23 @@ async function getAgentPermissionsResult( * A Procedure can be prepared to return a promise that resolves * to a {@link PolymeshTransaction} (or {@link PolymeshTransactionBatch}) that can be run */ -export class Procedure> { +export class ConfidentialProcedure< + Args = void, + ReturnValue = void, + Storage = Record +> { private prepareTransactions: ( - this: Procedure, + this: ConfidentialProcedure, args: Args ) => Promise>; private getAuthorization: ( - this: Procedure, + this: ConfidentialProcedure, args: Args - ) => Promise | ProcedureAuthorization; + ) => Promise | ConfidentialProcedureAuthorization; private prepareStorage: ( - this: Procedure, + this: ConfidentialProcedure, args: Args ) => Promise | Storage; @@ -86,26 +95,26 @@ export class Procedure, + this: ConfidentialProcedure, args: Args ) => Promise>, getAuthorization: - | ProcedureAuthorization + | ConfidentialProcedureAuthorization | (( - this: Procedure, + this: ConfidentialProcedure, args: Args ) => - | Promise - | ProcedureAuthorization) = async (): Promise => ({}), + | Promise + | ConfidentialProcedureAuthorization) = async (): Promise => ({}), prepareStorage: ( - this: Procedure, + this: ConfidentialProcedure, args: Args ) => Promise | Storage = async (): Promise => ({} as Storage) ) { this.prepareTransactions = prepareTransactions as typeof this.prepareTransactions; if (typeof getAuthorization !== 'function') { - this.getAuthorization = (): ProcedureAuthorization => getAuthorization; + this.getAuthorization = (): ConfidentialProcedureAuthorization => getAuthorization; } else { this.getAuthorization = getAuthorization; } @@ -158,7 +167,7 @@ export class Procedure { + ): Promise { const ctx = await this.setup(args, context, opts); const checkAuthorizationResult = await this.getAuthorization(args); @@ -169,12 +178,16 @@ export class Procedure => identity || account.getIdentity(); + const fetchIdentity = async (): Promise => { + if (identity) return identity; + + return account.getIdentity(); + }; if (typeof roles === 'boolean') { rolesResult = { result: roles }; @@ -186,7 +199,7 @@ export class Procedure { + ): Promise { try { return await this._checkAuthorization(args, context, opts); } finally { diff --git a/src/base/Context.ts b/src/base/Context.ts deleted file mode 100644 index 808ed74a26..0000000000 --- a/src/base/Context.ts +++ /dev/null @@ -1,1311 +0,0 @@ -import { - ApolloClient, - ApolloQueryResult, - NormalizedCacheObject, - OperationVariables, - QueryOptions, -} from '@apollo/client/core'; -import { ApiPromise } from '@polkadot/api'; -import { getTypeDef, Option } from '@polkadot/types'; -import { AccountInfo, Header } from '@polkadot/types/interfaces'; -import { - PalletCorporateActionsCaId, - PalletCorporateActionsDistribution, - PalletRelayerSubsidy, - PolymeshCommonUtilitiesProtocolFeeProtocolOp, -} from '@polkadot/types/lookup'; -import { CallFunction, Codec, DetectCodec, Signer as PolkadotSigner } from '@polkadot/types/types'; -import { SigningManager } from '@polymeshassociation/signing-manager-types'; -import BigNumber from 'bignumber.js'; -import P from 'bluebird'; -import { chunk, clone, flatMap, flatten, flattenDeep } from 'lodash'; - -import { HistoricPolyxTransaction } from '~/api/entities/Account/types'; -import { - Account, - ChildIdentity, - DividendDistribution, - FungibleAsset, - Identity, - PolymeshError, - Subsidy, -} from '~/internal'; -import { - claimsQuery, - heartbeatQuery, - metadataQuery, - polyxTransactionsQuery, -} from '~/middleware/queries'; -import { ClaimTypeEnum, Query } from '~/middleware/types'; -import { - AccountBalance, - ClaimData, - ClaimType, - CorporateActionParams, - DistributionWithDetails, - ErrorCode, - MiddlewareMetadata, - ModuleName, - PolkadotConfig, - ProtocolFees, - ResultSet, - SubCallback, - SubsidyWithAllowance, - TransactionArgument, - TxTag, - UnsubCallback, -} from '~/types'; -import { Ensured } from '~/types/utils'; -import { DEFAULT_GQL_PAGE_SIZE, MAX_CONCURRENT_REQUESTS, MAX_PAGE_SIZE } from '~/utils/constants'; -import { - accountIdToString, - balanceToBigNumber, - bigNumberToU32, - boolToBoolean, - claimTypeToMeshClaimType, - corporateActionIdentifierToCaId, - distributionToDividendDistributionParams, - identityIdToString, - meshClaimToClaim, - meshCorporateActionToCorporateActionParams, - middlewareClaimToClaimData, - middlewareEventDetailsToEventIdentifier, - momentToDate, - posRatioToBigNumber, - signerToString, - stringToAccountId, - stringToHash, - stringToIdentityId, - stringToTicker, - textToString, - tickerToString, - txTagToProtocolOp, - u16ToBigNumber, - u32ToBigNumber, -} from '~/utils/conversion'; -import { - asDid, - assertAddressValid, - calculateNextKey, - delay, - getApiAtBlock, -} from '~/utils/internal'; - -import { processType } from './utils'; - -interface ConstructorParams { - polymeshApi: ApiPromise; - middlewareApiV2: ApolloClient | null; - ss58Format: BigNumber; - signingManager?: SigningManager; -} - -/** - * @hidden - * - * Context in which the SDK is being used - * - * - Holds the polkadot API instance - * - Holds the middleware API instance (if any) - * - Holds the middleware V2 API instance (if any) - * - Holds the Signing Manager (if any) - */ -export class Context { - private isDisconnected = false; - - public polymeshApi: ApiPromise; - - public ss58Format: BigNumber; - - private _middlewareApi: ApolloClient | null; - - private _polymeshApi: ApiPromise; - - private _signingManager?: SigningManager; - - private signingAddress?: string; - - private nonce?: BigNumber; - - private _isArchiveNodeResult?: boolean; - - /** - * @hidden - */ - private constructor(params: ConstructorParams) { - const { polymeshApi, middlewareApiV2, ss58Format } = params; - - this._middlewareApi = middlewareApiV2; - this._polymeshApi = polymeshApi; - this.polymeshApi = polymeshApi; - this.ss58Format = ss58Format; - } - - /** - * @hidden - * - * Create the Context instance - */ - static async create(params: { - polymeshApi: ApiPromise; - middlewareApiV2: ApolloClient | null; - signingManager?: SigningManager; - polkadot?: PolkadotConfig; - }): Promise { - const { polymeshApi, middlewareApiV2, signingManager } = params; - - const ss58Format: BigNumber = u16ToBigNumber(polymeshApi.consts.system.ss58Prefix); - - const context = new Context({ - polymeshApi, - middlewareApiV2, - signingManager, - ss58Format, - }); - - if (signingManager) { - await context.setSigningManager(signingManager); - } - - return new Proxy(context, { - get: (target, prop: keyof Context): Context[keyof Context] => { - if (target.isDisconnected) { - throw new PolymeshError({ - code: ErrorCode.FatalError, - message: 'Client disconnected. Please create a new instance via "Polymesh.connect()"', - }); - } - - return target[prop]; - }, - }); - } - - /** - * @hidden - * - * checks if current node is archive by querying the balance at genesis block - * - * @note caches first successful result to avoid repeated network calls - */ - public async isCurrentNodeArchive(): Promise { - const { - polymeshApi: { - query: { system }, - }, - polymeshApi, - } = this; - - if (typeof this._isArchiveNodeResult !== 'undefined') { - return this._isArchiveNodeResult; - } - - try { - const blockHash = await system.blockHash(bigNumberToU32(new BigNumber(0), this)); - - const apiAt = await polymeshApi.at(blockHash); - - const balance = await apiAt.query.balances.totalIssuance(); - - this._isArchiveNodeResult = balanceToBigNumber(balance).gt(new BigNumber(0)); - - return this._isArchiveNodeResult; - } catch (e) { - return false; - } - } - - /** - * @hidden - * - * @note the signing Account will be set to the Signing Manager's first Account. If the Signing Manager has - * no Accounts yet, the signing Account will be left empty - */ - public async setSigningManager(signingManager: SigningManager | null): Promise { - if (signingManager === null) { - this._signingManager = undefined; - this.signingAddress = undefined; - this._polymeshApi.setSigner(undefined); - - return; - } - - this._signingManager = signingManager; - this._polymeshApi.setSigner(signingManager.getExternalSigner()); - - signingManager.setSs58Format(this.ss58Format.toNumber()); - - // this could be undefined - const [firstAccount] = await signingManager.getAccounts(); - if (!firstAccount) { - this.signingAddress = undefined; - } else { - return this.setSigningAddress(firstAccount); - } - } - - /** - * @hidden - */ - private get signingManager(): SigningManager | undefined { - const { _signingManager: manager } = this; - - return manager; - } - - /** - * @hidden - * - * Retrieve a list of Accounts that can sign transactions - */ - public async getSigningAccounts(): Promise { - const { signingManager } = this; - - if (!signingManager) { - return []; - } - - const accounts = await signingManager.getAccounts(); - - return accounts.map(address => new Account({ address }, this)); - } - - /** - * @hidden - * - * Set the signing Account from among the existing ones in the Signing Manager - * - * @throws if the passed address isn't valid - */ - public async setSigningAddress(signingAddress: string): Promise { - assertAddressValid(signingAddress, this.ss58Format); - - this.signingAddress = signingAddress; - } - - /** - * @hidden - * - * @throws if the passed address isn't present in the signing manager - */ - public async assertHasSigningAddress(address: string): Promise { - const { signingManager } = this; - - if (!signingManager) { - throw new PolymeshError({ - code: ErrorCode.General, - message: 'There is no Signing Manager attached to the SDK', - }); - } - - const accounts = await signingManager.getAccounts(); - - const newSigningAddress = accounts.find(account => { - return account === address; - }); - - if (!newSigningAddress) { - throw new PolymeshError({ - code: ErrorCode.General, - message: 'The Account is not part of the Signing Manager attached to the SDK', - data: { address }, - }); - } - } - - /** - * @hidden - * - * Retrieve the Account POLYX balance - * - * @note can be subscribed to - */ - public accountBalance(account?: string | Account): Promise; - public accountBalance( - account: string | Account | undefined, - callback: SubCallback - ): Promise; - - // eslint-disable-next-line require-jsdoc - public async accountBalance( - account?: string | Account, - callback?: SubCallback - ): Promise { - const { - polymeshApi: { - query: { system }, - }, - } = this; - let address: string; - - if (account) { - address = signerToString(account); - } else { - ({ address } = this.getSigningAccount()); - } - - const rawAddress = stringToAccountId(address, this); - - const assembleResult = ({ - data: { free: rawFree, miscFrozen, feeFrozen, reserved: rawReserved }, - }: AccountInfo): AccountBalance => { - /* - * The chain's "free" balance is the balance that isn't locked. Here we calculate it so - * the free balance is what the Account is able to spend - */ - const reserved = balanceToBigNumber(rawReserved); - const total = balanceToBigNumber(rawFree).plus(reserved); - const locked = BigNumber.max(balanceToBigNumber(miscFrozen), balanceToBigNumber(feeFrozen)); - return { - total, - locked, - free: total.minus(locked).minus(reserved), - }; - }; - - if (callback) { - return system.account(rawAddress, info => { - // eslint-disable-next-line @typescript-eslint/no-floating-promises -- callback errors should be handled by the caller - callback(assembleResult(info)); - }); - } - - const accountInfo = await system.account(rawAddress); - - return assembleResult(accountInfo); - } - - /** - * @hidden - * - * Retrieve the Account subsidizer relationship. If there is no such relationship, return null - * - * @note can be subscribed to - */ - public accountSubsidy(account?: string | Account): Promise; - public accountSubsidy( - account: string | Account | undefined, - callback: SubCallback - ): Promise; - - // eslint-disable-next-line require-jsdoc - public async accountSubsidy( - account?: string | Account, - callback?: SubCallback - ): Promise { - const { - polymeshApi: { - query: { relayer }, - }, - } = this; - let address: string; - - if (account) { - address = signerToString(account); - } else { - ({ address } = this.getSigningAccount()); - } - - const rawAddress = stringToAccountId(address, this); - - const assembleResult = ( - meshSubsidy: Option - ): SubsidyWithAllowance | null => { - if (meshSubsidy.isNone) { - return null; - } - const { payingKey, remaining } = meshSubsidy.unwrap(); - const allowance = balanceToBigNumber(remaining); - const subsidy = new Subsidy( - { beneficiary: address, subsidizer: accountIdToString(payingKey) }, - this - ); - - return { - subsidy, - allowance, - }; - }; - - if (callback) { - return relayer.subsidies(rawAddress, subsidy => { - // eslint-disable-next-line @typescript-eslint/no-floating-promises -- callback errors should be handled by the caller - callback(assembleResult(subsidy)); - }); - } - - const subsidies = await relayer.subsidies(rawAddress); - - return assembleResult(subsidies); - } - - /** - * @hidden - * - * Retrieve the signing Account - * - * @throws if there is no signing Account associated to the SDK instance - */ - public getSigningAccount(): Account { - const address = this.getSigningAddress(); - - return new Account({ address }, this); - } - - /** - * @hidden - * - * Retrieve the signing Identity - * - * @throws if there is no Identity associated to the signing Account (or there is no signing Account associated to the SDK instance) - */ - public async getSigningIdentity(): Promise { - const account = this.getSigningAccount(); - - const identity = await account.getIdentity(); - - if (identity === null) { - throw new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: 'The signing Account does not have an associated Identity', - }); - } - - return identity; - } - - /** - * @hidden - * - * Retrieve the polkadot.js promise client - */ - public getPolymeshApi(): ApiPromise { - return this._polymeshApi; - } - - /** - * @hidden - * - * Retrieve the signing address - * - * @throws if there is no signing Account associated to the SDK instance - */ - public getSigningAddress(): string { - const { signingAddress } = this; - - if (!signingAddress) { - throw new PolymeshError({ - code: ErrorCode.General, - message: 'There is no signing Account associated with the SDK instance', - }); - } - - return signingAddress; - } - - /** - * @hidden - * - * Retrieve the external signer from the Signing Manager - */ - public getExternalSigner(): PolkadotSigner | undefined { - const { signingManager } = this; - - return signingManager?.getExternalSigner(); - } - - /** - * @hidden - * - * Check whether a set of Identities exist - */ - public async getInvalidDids(identities: (string | Identity)[]): Promise { - const { - polymeshApi: { - query: { identity }, - }, - } = this; - - const dids = identities.map(signerToString); - const rawIdentities = dids.map(did => stringToIdentityId(did, this)); - const records = await identity.didRecords.multi(rawIdentities); - - const invalidDids: string[] = []; - - records.forEach((record, index) => { - if (record.isNone) { - invalidDids.push(dids[index]); - } - }); - - return invalidDids; - } - - /** - * @hidden - * - * Returns an Identity when given a DID string - * - * @throws if the Identity does not exist - */ - public async getIdentity(identity: Identity | string): Promise { - if (identity instanceof Identity) { - return identity; - } - const id = new Identity({ did: identity }, this); - const exists = await id.exists(); - - if (!exists) { - throw new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: - 'The passed DID does not correspond to an on-chain user Identity. It may correspond to an Asset Identity', - }); - } - - return id; - } - - /** - * @hidden - * - * Returns an Child Identity when given a DID string - * - * @throws if the Child Identity does not exist - */ - public async getChildIdentity(child: ChildIdentity | string): Promise { - if (child instanceof ChildIdentity) { - return child; - } - const childIdentity = new ChildIdentity({ did: child }, this); - const exists = await childIdentity.exists(); - - if (!exists) { - throw new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: 'The passed DID does not correspond to an on-chain child Identity', - }); - } - - return childIdentity; - } - - /** - * @hidden - * - * Retrieve the protocol fees associated with running specific transactions - * - * @param tags - list of transaction tags (e.g. [TxTags.asset.CreateAsset, TxTags.asset.RegisterTicker] or ["asset.createAsset", "asset.registerTicker"]) - * @param blockHash - optional hash of the block to get the protocol fees at that block - */ - public async getProtocolFees({ - tags, - blockHash, - }: { - tags: TxTag[]; - blockHash?: string; - }): Promise { - const { - polymeshApi: { - query: { - protocolFee: { baseFees, coefficient }, - }, - }, - } = this; - - const tagsMap = new Map(); - - tags.forEach(tag => { - try { - tagsMap.set(tag, txTagToProtocolOp(tag, this)); - } catch (err) { - tagsMap.set(tag, undefined); - } - }); - - let baseFeesQuery; - if (blockHash) { - ({ - query: { - protocolFee: { baseFees: baseFeesQuery }, - }, - } = await getApiAtBlock(this, stringToHash(blockHash, this))); - } else { - baseFeesQuery = baseFees; - } - - const [baseFeesEntries, coefficientValue] = await Promise.all([ - baseFeesQuery.entries(), - coefficient(), - ]); - - const assembleResult = ( - rawProtocolOp: PolymeshCommonUtilitiesProtocolFeeProtocolOp | undefined - ): BigNumber => { - const baseFeeEntry = baseFeesEntries.find( - ([ - { - args: [protocolOp], - }, - ]) => protocolOp.eq(rawProtocolOp) - ); - - let fee = new BigNumber(0); - - if (baseFeeEntry) { - const [, balance] = baseFeeEntry; - fee = balanceToBigNumber(balance).multipliedBy(posRatioToBigNumber(coefficientValue)); - } - - return fee; - }; - - const protocolFees: ProtocolFees[] = []; - - tagsMap.forEach((rawProtocolOp, txTag) => { - protocolFees.push({ - tag: txTag, - fees: assembleResult(rawProtocolOp), - }); - }); - - return protocolFees; - } - - /** - * @hidden - * - * Return whether the passed transaction can be subsidized - */ - public supportsSubsidy({ tag }: { tag: TxTag }): boolean { - const moduleName = tag.split('.')[0] as ModuleName; - - return [ - ModuleName.Asset, - ModuleName.ComplianceManager, - ModuleName.CorporateAction, - ModuleName.ExternalAgents, - ModuleName.Portfolio, - ModuleName.Settlement, - ModuleName.Statistics, - ModuleName.Sto, - ModuleName.Relayer, - ].includes(moduleName); - } - - /** - * Retrieve the types of arguments that a certain transaction requires to be run - * - * @param args.tag - tag associated with the transaction that will be executed if the proposal passes - */ - public getTransactionArguments({ tag }: { tag: TxTag }): TransactionArgument[] { - const { - /* - * we use the non-proxy polkadot instance since we shouldn't need to - * have a signer Account for this method - */ - _polymeshApi: { tx }, - } = this; - - const [section, method] = tag.split('.'); - - // eslint-disable-next-line @typescript-eslint/no-explicit-any - return ((tx as any)[section][method] as CallFunction).meta.args.map(({ name, type }) => { - const typeDef = getTypeDef(type.toString()); - const argName = textToString(name); - - return processType(typeDef, argName); - }); - } - - /** - * @hidden - */ - public async getDividendDistributionsForAssets(args: { - assets: FungibleAsset[]; - }): Promise { - const { - polymeshApi: { - query: { corporateAction: corporateActionQuery, capitalDistribution }, - }, - } = this; - const { assets } = args; - const distributionsMultiParams: PalletCorporateActionsCaId[] = []; - const corporateActionParams: CorporateActionParams[] = []; - const corporateActionIds: BigNumber[] = []; - const tickers: string[] = []; - - const assetChunks = chunk(assets, MAX_CONCURRENT_REQUESTS); - - await P.each(assetChunks, async assetChunk => { - const corporateActions = await Promise.all( - assetChunk.map(({ ticker }) => - corporateActionQuery.corporateActions.entries(stringToTicker(ticker, this)) - ) - ); - const eligibleCas = flatten(corporateActions).filter(([, action]) => { - const kind = action.unwrap().kind; - - return kind.isUnpredictableBenefit || kind.isPredictableBenefit; - }); - - const corporateActionData = await P.map( - eligibleCas, - async ([ - { - args: [rawTicker, rawId], - }, - corporateAction, - ]) => { - const localId = u32ToBigNumber(rawId); - const ticker = tickerToString(rawTicker); - const caId = corporateActionIdentifierToCaId({ ticker, localId }, this); - const details = await corporateActionQuery.details(caId); - const action = corporateAction.unwrap(); - - return { - ticker, - localId, - caId, - corporateAction: meshCorporateActionToCorporateActionParams(action, details, this), - }; - } - ); - - corporateActionData.forEach(({ ticker, localId, caId, corporateAction }) => { - tickers.push(ticker); - corporateActionIds.push(localId); - distributionsMultiParams.push(caId); - corporateActionParams.push(corporateAction); - }); - }); - - /* - * Divide the requests to account for practical limits - */ - const paramChunks = chunk(distributionsMultiParams, MAX_PAGE_SIZE.toNumber()); - const requestChunks = chunk(paramChunks, MAX_CONCURRENT_REQUESTS); - const distributions = await P.mapSeries(requestChunks, requestChunk => - Promise.all( - requestChunk.map(paramChunk => capitalDistribution.distributions.multi(paramChunk)) - ) - ); - - const result: DistributionWithDetails[] = []; - - flattenDeep>(distributions).forEach( - (distribution, index) => { - if (distribution.isNone) { - return; - } - - const dist = distribution.unwrap(); - - const { reclaimed, remaining } = dist; - - result.push({ - distribution: new DividendDistribution( - { - ticker: tickers[index], - id: corporateActionIds[index], - ...corporateActionParams[index], - ...distributionToDividendDistributionParams(dist, this), - }, - this - ), - details: { - remainingFunds: balanceToBigNumber(remaining), - fundsReclaimed: boolToBoolean(reclaimed), - }, - }); - } - ); - - return result; - } - - /** - * @hidden - * - * @note no claimTypes value means ALL claim types - */ - public async getIdentityClaimsFromChain(args: { - targets: (string | Identity)[]; - claimTypes?: ClaimType[]; - trustedClaimIssuers?: (string | Identity)[]; - includeExpired: boolean; - }): Promise { - const { - polymeshApi: { - query: { identity }, - }, - } = this; - - const { - targets, - claimTypes = Object.values(ClaimType), - trustedClaimIssuers, - includeExpired, - } = args; - - const claim1stKeys = flatMap(targets, target => - claimTypes.map(claimType => { - return { - target: signerToString(target), - // eslint-disable-next-line @typescript-eslint/naming-convention - claim_type: claimTypeToMeshClaimType(claimType, this), - }; - }) - ); - - const claimIssuerDids = trustedClaimIssuers?.map(trustedClaimIssuer => - signerToString(trustedClaimIssuer) - ); - - const claimData = await P.map(claim1stKeys, async claim1stKey => { - const entries = await identity.claims.entries(claim1stKey); - const data: ClaimData[] = []; - entries.forEach(([key, optClaim]) => { - const { target } = key.args[0]; - - const { - claimIssuer, - issuanceDate, - lastUpdateDate, - expiry: rawExpiry, - claim, - } = optClaim.unwrap(); - const expiry = !rawExpiry.isEmpty ? momentToDate(rawExpiry.unwrap()) : null; - if ((!includeExpired && (expiry === null || expiry > new Date())) || includeExpired) { - data.push({ - target: new Identity({ did: identityIdToString(target) }, this), - issuer: new Identity({ did: identityIdToString(claimIssuer) }, this), - issuedAt: momentToDate(issuanceDate), - lastUpdatedAt: momentToDate(lastUpdateDate), - expiry, - claim: meshClaimToClaim(claim), - }); - } - }); - return data; - }); - - return flatten(claimData).filter(({ issuer }) => - claimIssuerDids ? claimIssuerDids.includes(issuer.did) : true - ); - } - - /** - * @hidden - */ - public async getIdentityClaimsFromMiddleware(args: { - targets?: (string | Identity)[]; - trustedClaimIssuers?: (string | Identity)[]; - claimTypes?: ClaimType[]; - includeExpired?: boolean; - size?: BigNumber; - start?: BigNumber; - }): Promise> { - const { - targets, - claimTypes, - trustedClaimIssuers, - includeExpired, - size = new BigNumber(DEFAULT_GQL_PAGE_SIZE), - start = new BigNumber(0), - } = args; - - const { - data: { - claims: { nodes: claimsList, totalCount }, - }, - } = await this.queryMiddleware>( - claimsQuery( - { - dids: targets?.map(target => signerToString(target)), - trustedClaimIssuers: trustedClaimIssuers?.map(trustedClaimIssuer => - signerToString(trustedClaimIssuer) - ), - claimTypes: claimTypes?.map(ct => ClaimTypeEnum[ct]), - includeExpired, - }, - size, - start - ) - ); - - const count = new BigNumber(totalCount); - - const data = claimsList.map(claim => middlewareClaimToClaimData(claim, this)); - - const next = calculateNextKey(count, data.length, start); - - return { - data, - next, - count, - }; - } - - /** - * @hidden - * - * Retrieve a list of claims. Can be filtered using parameters - * - * @param opts.targets - Identities (or Identity IDs) for which to fetch claims (targets). Defaults to all targets - * @param opts.trustedClaimIssuers - Identity IDs of claim issuers. Defaults to all claim issuers - * @param opts.claimTypes - types of the claims to fetch. Defaults to any type - * @param opts.includeExpired - whether to include expired claims. Defaults to true - * @param opts.size - page size - * @param opts.start - page offset - * - * @note uses the middleware V2 (optional) - */ - public async issuedClaims( - opts: { - targets?: (string | Identity)[]; - trustedClaimIssuers?: (string | Identity)[]; - claimTypes?: ClaimType[]; - includeExpired?: boolean; - size?: BigNumber; - start?: BigNumber; - } = {} - ): Promise> { - const { targets, trustedClaimIssuers, claimTypes, includeExpired = true, size, start } = opts; - - const isMiddlewareAvailable = await this.isMiddlewareAvailable(); - - if (isMiddlewareAvailable) { - return this.getIdentityClaimsFromMiddleware({ - targets, - trustedClaimIssuers, - claimTypes, - includeExpired, - size, - start, - }); - } - - if (!targets) { - throw new PolymeshError({ - code: ErrorCode.MiddlewareError, - message: 'Cannot perform this action without an active middleware V2 connection', - }); - } - - const identityClaimsFromChain = await this.getIdentityClaimsFromChain({ - targets, - claimTypes, - trustedClaimIssuers, - includeExpired, - }); - - return { - data: identityClaimsFromChain, - next: null, - count: undefined, - }; - } - - /** - * Retrieve the middleware client - * - * @throws if the middleware V2 is not enabled - */ - public get middlewareApi(): ApolloClient { - const { _middlewareApi: api } = this; - - if (!api) { - throw new PolymeshError({ - code: ErrorCode.MiddlewareError, - message: 'Cannot perform this action without an active middleware v2 connection', - }); - } - return api; - } - - /** - * @hidden - * - * Make a query to the middleware V2 server using the apollo client - */ - public async queryMiddleware>( - query: QueryOptions - ): Promise> { - let result: ApolloQueryResult; - try { - result = await this.middlewareApi.query(query); - } catch (err) { - const resultMessage = err.networkError?.result?.message; - const { message: errorMessage } = err; - const message = resultMessage ?? errorMessage; - throw new PolymeshError({ - code: ErrorCode.MiddlewareError, - message: `Error in middleware V2 query: ${message}`, - }); - } - - return result; - } - - /** - * @hidden - * - * Return whether the middleware V2 was enabled at startup - */ - public isMiddlewareEnabled(): boolean { - return !!this._middlewareApi; - } - - /** - * @hidden - * - * Return whether the middleware V2 is enabled and online - */ - public async isMiddlewareAvailable(): Promise { - try { - await this.middlewareApi.query(heartbeatQuery()); - } catch (err) { - return false; - } - - return true; - } - - /** - * @hidden - * - * Retrieve the number of the latest finalized block - */ - public async getLatestBlock(): Promise { - const { chain } = this.polymeshApi.rpc; - - /* - * This is faster than calling `getFinalizedHead` and then `getHeader`. - * We're promisifying a callback subscription to the latest finalized block - * and unsubscribing as soon as we get the first result - */ - const gettingHeader = new Promise
((resolve, reject) => { - const gettingUnsub = chain.subscribeFinalizedHeads(header => { - gettingUnsub - .then(unsub => { - unsub(); - resolve(header); - }) - .catch(err => reject(err)); - }); - }); - - const { number } = await gettingHeader; - - return u32ToBigNumber(number.unwrap()); - } - - /** - * @hidden - * - * Retrieve the network version - */ - public async getNetworkVersion(): Promise { - const version = await this.polymeshApi.rpc.system.version(); - - return textToString(version); - } - - /** - * @hidden - * - * Disconnect the Polkadot API, middleware, and render this instance unusable - * - * @note after disconnecting, trying to access any property in this object will result - * in an error - */ - public async disconnect(): Promise { - const { polymeshApi } = this; - let middlewareApi; - - if (this.isMiddlewareEnabled()) { - ({ middlewareApi } = this); - } - - this.isDisconnected = true; - - if (middlewareApi) { - middlewareApi.stop(); - } - - await delay(500); // allow pending requests to complete - - return polymeshApi.disconnect(); - } - - /** - * @hidden - * - * Returns a (shallow) clone of this instance. Useful for providing a separate - * Context to Procedures with different signing Accounts - */ - public clone(): Context { - return clone(this); - } - - /* eslint-disable @typescript-eslint/no-explicit-any */ - /** - * @hidden - * - * Creates an instance of a type as registered in the polymeshApi instance - */ - public createType( - type: K, - params: unknown - ): DetectCodec { - try { - return this.polymeshApi.createType(type, params); - } catch (error) { - throw new PolymeshError({ - code: ErrorCode.UnexpectedError, - message: `Could not create internal Polymesh type: "${type}". Please report this error to the Polymesh team`, - data: { type, params, error }, - }); - } - } - - /** - * @hidden - * - * Set the nonce value - */ - public setNonce(nonce?: BigNumber): void { - this.nonce = nonce; - } - - /** - * @hidden - * - * Retrieve the nonce value - */ - public getNonce(): BigNumber { - // nonce: -1 takes pending transactions into consideration. - // More information can be found at: https://polkadot.js.org/docs/api/cookbook/tx/#how-do-i-take-the-pending-tx-pool-into-account-in-my-nonce - return new BigNumber(this.nonce || -1); - } - - /** - * Retrieve middleware metadata. - * Returns null if middleware V2 is disabled - * - * @note uses the middleware V2 - */ - public async getMiddlewareMetadata(): Promise { - if (!this.isMiddlewareEnabled()) { - return null; - } - - const { - data: { - _metadata: { - chain, - specName, - genesisHash, - targetHeight, - lastProcessedHeight, - lastProcessedTimestamp, - indexerHealthy, - }, - }, - } = await this.queryMiddleware>(metadataQuery()); - - /* eslint-disable @typescript-eslint/no-non-null-assertion */ - return { - chain: chain!, - specName: specName!, - genesisHash: genesisHash!, - targetHeight: new BigNumber(targetHeight!), - lastProcessedHeight: new BigNumber(lastProcessedHeight!), - lastProcessedTimestamp: new Date(parseInt(lastProcessedTimestamp)), - indexerHealthy: Boolean(indexerHealthy), - }; - /* eslint-enable @typescript-eslint/no-non-null-assertion */ - } - - /** - * @hidden - * - * Retrieve POLYX transactions for a given identity or list of accounts - * - * @note uses the middleware V2 - */ - public async getPolyxTransactions(args: { - identity?: string | Identity; - accounts?: (string | Account)[]; - size?: BigNumber; - start?: BigNumber; - }): Promise> { - const { - identity, - accounts, - size = new BigNumber(DEFAULT_GQL_PAGE_SIZE), - start = new BigNumber(0), - } = args; - - const { - data: { - polyxTransactions: { nodes: transactions, totalCount }, - }, - } = await this.queryMiddleware>( - polyxTransactionsQuery( - { - identityId: identity ? asDid(identity) : undefined, - addresses: accounts?.map(account => signerToString(account)), - }, - size, - start - ) - ); - - const count = new BigNumber(totalCount); - - const data: HistoricPolyxTransaction[] = transactions.map(transaction => { - const { - identityId, - address, - toId, - toAddress, - amount, - type, - memo, - createdBlock, - callId, - eventId, - moduleId, - extrinsic, - eventIdx, - } = transaction; - - /* eslint-disable @typescript-eslint/no-non-null-assertion */ - return { - fromIdentity: identityId ? new Identity({ did: identityId }, this) : undefined, - fromAccount: address ? new Account({ address }, this) : undefined, - toIdentity: toId ? new Identity({ did: toId }, this) : undefined, - toAccount: toAddress ? new Account({ address: toAddress }, this) : undefined, - amount: new BigNumber(amount).shiftedBy(-6), - type, - memo, - ...middlewareEventDetailsToEventIdentifier(createdBlock!, eventIdx), - callId, - eventId: eventId!, - moduleId: moduleId!, - extrinsicIdx: extrinsic ? new BigNumber(extrinsic.extrinsicIdx) : undefined, - }; - /* eslint-enable @typescript-eslint/no-non-null-assertion */ - }); - - const next = calculateNextKey(count, data.length, start); - - return { - data, - next, - count, - }; - } -} diff --git a/src/base/PolymeshError.ts b/src/base/PolymeshError.ts deleted file mode 100644 index 0ca179285b..0000000000 --- a/src/base/PolymeshError.ts +++ /dev/null @@ -1,37 +0,0 @@ -import { ErrorCode } from '~/types'; - -const defaultMessages: { - [errorCode: string]: string; -} = { - [ErrorCode.TransactionReverted]: 'The transaction execution reverted due to an error', - [ErrorCode.TransactionAborted]: - 'The transaction was removed from the transaction pool. This might mean that it was malformed (nonce too large/nonce too small/duplicated or invalid transaction)', - [ErrorCode.TransactionRejectedByUser]: 'The user canceled the transaction signature', -}; - -/** - * Wraps an error to give more information about its type - */ -export class PolymeshError extends Error { - public code: ErrorCode; - - public data?: Record; - - /** - * @hidden - */ - constructor({ - message, - code, - data, - }: { - message?: string; - code: ErrorCode; - data?: Record; - }) { - super(message || defaultMessages[code] || `Unknown error, code: ${code}`); - - this.code = code; - this.data = data; - } -} diff --git a/src/base/PolymeshTransaction.ts b/src/base/PolymeshTransaction.ts deleted file mode 100644 index ece3910fd3..0000000000 --- a/src/base/PolymeshTransaction.ts +++ /dev/null @@ -1,128 +0,0 @@ -import { SubmittableExtrinsic } from '@polkadot/api/types'; -import { ISubmittableResult } from '@polkadot/types/types'; -import BigNumber from 'bignumber.js'; - -import { Context, PolymeshTransactionBase } from '~/internal'; -import { TxTag, TxTags } from '~/types'; -import { PolymeshTx, TransactionConstructionData, TransactionSpec } from '~/types/internal'; -import { transactionToTxTag } from '~/utils/conversion'; - -/** - * Wrapper class for a Polymesh Transaction - */ -export class PolymeshTransaction< - ReturnValue, - TransformedReturnValue = ReturnValue, - Args extends unknown[] | [] = unknown[] -> extends PolymeshTransactionBase { - /** - * @hidden - */ - public static override toTransactionSpec( - inputTransaction: PolymeshTransaction - ): TransactionSpec { - const spec = PolymeshTransactionBase.toTransactionSpec(inputTransaction); - const { transaction, args, protocolFee: fee, feeMultiplier } = inputTransaction; - - return { - ...spec, - transaction, - args, - fee, - feeMultiplier, - } as unknown as TransactionSpec; - } - - /** - * arguments for the transaction in SCALE format (polkadot.js Codec) - */ - public args: Args; - - /** - * type of transaction represented by this instance (mostly for display purposes) - */ - public tag: TxTag; - - /** - * @hidden - * - * underlying transaction to be executed - */ - private transaction: PolymeshTx; - - /** - * @hidden - * - * amount by which the protocol fees are multiplied. The total fees of some transactions depend on the size of the input. - * For example, when adding documents to an Asset, the fees are proportional to the amount of documents being added - * - * @note defaults to 1 - */ - protected feeMultiplier?: BigNumber; - - /** - * @hidden - * - * used by procedures to set the protocol fee manually in case the protocol op can't be - * dynamically generated from the transaction name, or a specific procedure has - * special rules for calculating them - */ - private protocolFee?: BigNumber; - - /** - * @hidden - */ - constructor( - transactionSpec: TransactionSpec & - TransactionConstructionData, - context: Context - ) { - const { args = [], feeMultiplier, transaction, fee, paidForBy, ...rest } = transactionSpec; - - super(rest, context); - - this.args = args as Args; - this.transaction = transaction; - this.tag = transactionToTxTag(transaction); - this.feeMultiplier = feeMultiplier; - this.protocolFee = fee; - this.paidForBy = paidForBy; - } - - // eslint-disable-next-line require-jsdoc - protected composeTx(): SubmittableExtrinsic<'promise', ISubmittableResult> { - const { transaction, args } = this; - - return transaction(...args); - } - - // eslint-disable-next-line require-jsdoc - public async getProtocolFees(): Promise { - const { protocolFee, feeMultiplier = new BigNumber(1) } = this; - - let fees = protocolFee; - - if (!fees) { - const { tag } = this; - [{ fees }] = await this.context.getProtocolFees({ tags: [tag] }); - } - - return fees.multipliedBy(feeMultiplier); - } - - // eslint-disable-next-line require-jsdoc - protected override ignoresSubsidy(): boolean { - /* - * this is the only extrinsic so far that always has to be - * paid by the caller - */ - return this.tag === TxTags.relayer.RemovePayingKey; - } - - // eslint-disable-next-line require-jsdoc - public supportsSubsidy(): boolean { - const { tag, context } = this; - - return context.supportsSubsidy({ tag }); - } -} diff --git a/src/base/PolymeshTransactionBase.ts b/src/base/PolymeshTransactionBase.ts deleted file mode 100644 index f9aa65e1af..0000000000 --- a/src/base/PolymeshTransactionBase.ts +++ /dev/null @@ -1,804 +0,0 @@ -import { SubmittableExtrinsic } from '@polkadot/api/types'; -import { ISubmittableResult, Signer as PolkadotSigner } from '@polkadot/types/types'; -import BigNumber from 'bignumber.js'; -import P from 'bluebird'; -import { EventEmitter } from 'events'; -import { range } from 'lodash'; - -import { handleExtrinsicFailure } from '~/base/utils'; -import { Context, Identity, PolymeshError } from '~/internal'; -import { latestBlockQuery } from '~/middleware/queries'; -import { Query } from '~/middleware/types'; -import { - ErrorCode, - GenericPolymeshTransaction, - MortalityProcedureOpt, - PayingAccount, - PayingAccountFees, - PayingAccountType, - TransactionPayload, - TransactionStatus, - UnsubCallback, -} from '~/types'; -import { - BaseTransactionSpec, - isResolverFunction, - MaybeResolverFunction, - TransactionConstructionData, -} from '~/types/internal'; -import { Ensured } from '~/types/utils'; -import { DEFAULT_LIFETIME_PERIOD } from '~/utils/constants'; -import { balanceToBigNumber, hashToString, u32ToBigNumber } from '~/utils/conversion'; -import { defusePromise, delay, filterEventRecords } from '~/utils/internal'; - -/** - * @hidden - */ -enum Event { - StatusChange = 'StatusChange', - ProcessedByMiddleware = 'ProcessedByMiddleware', -} - -/** - * Wrapper class for a Polymesh Transaction - */ -export abstract class PolymeshTransactionBase< - ReturnValue = void, - TransformedReturnValue = ReturnValue -> { - /** - * @hidden - */ - public static toTransactionSpec( - transaction: PolymeshTransactionBase - ): BaseTransactionSpec { - const { resolver, transformer, paidForBy } = transaction; - - return { - resolver, - transformer, - paidForBy, - }; - } - - /** - * current status of the transaction - */ - public status: TransactionStatus = TransactionStatus.Idle; - - /** - * stores errors thrown while running the transaction (status: `Failed`, `Aborted`) - */ - public error?: PolymeshError; - - /** - * stores the transaction receipt (if successful) - */ - public receipt?: ISubmittableResult; - - /** - * transaction hash (status: `Running`, `Succeeded`, `Failed`) - */ - public txHash?: string; - - /** - * transaction index within its block (status: `Succeeded`, `Failed`) - */ - public txIndex?: BigNumber; - - /** - * hash of the block where this transaction resides (status: `Succeeded`, `Failed`) - */ - public blockHash?: string; - - /** - * number of the block where this transaction resides (status: `Succeeded`, `Failed`) - */ - public blockNumber?: BigNumber; - - /** - * @hidden - * - * Identity that will pay for this transaction's fees. This value overrides any subsidy, - * and is seen as having infinite allowance (but still constrained by its current balance) - */ - protected paidForBy?: Identity; - - /** - * @hidden - * - * function that transforms the transaction's return value before returning it after it is run - */ - protected resolver: MaybeResolverFunction; - - /** - * @hidden - * - * internal event emitter to handle status changes - */ - protected emitter = new EventEmitter(); - - /** - * @hidden - * - * Account that will sign the transaction - */ - protected signingAddress: string; - - /** - * @hidden - * - * Mortality of the transactions - */ - protected mortality: MortalityProcedureOpt; - - /** - * @hidden - * - * object that performs the payload signing logic - */ - protected signer?: PolkadotSigner; - - /** - * @hidden - * - * function that transforms the return value to another type. Useful when using the same - * Procedure for different endpoints which are supposed to return different values - */ - protected transformer?: ( - result: ReturnValue - ) => Promise | TransformedReturnValue; - - protected context: Context; - - /** - * @hidden - * whether the queue has run or not (prevents re-running) - */ - private hasRun = false; - - /** - * @hidden - * the result that was returned from this transaction after being successfully ran - */ - private _result: TransformedReturnValue | undefined; - - /** - * @hidden - */ - constructor( - transactionSpec: BaseTransactionSpec & - TransactionConstructionData, - context: Context - ) { - const { resolver, transformer, signingAddress, signer, paidForBy, mortality } = transactionSpec; - - this.signingAddress = signingAddress; - this.mortality = mortality; - this.signer = signer; - this.context = context; - this.paidForBy = paidForBy; - this.transformer = transformer; - this.resolver = resolver; - } - - /** - * Run the transaction, update its status and return a result if applicable. - * Certain transactions create Entities on the blockchain, and those Entities are returned - * for convenience. For example, when running a transaction that creates an Asset, the Asset itself - * is returned - */ - public async run(): Promise { - if (this.hasRun) { - throw new PolymeshError({ - code: ErrorCode.General, - message: 'Cannot re-run a Transaction', - }); - } - - try { - await this.assertFeesCovered(); - - const receipt = await this.internalRun(); - this.receipt = receipt; - - const { - resolver, - transformer = async (val): Promise => - val as unknown as TransformedReturnValue, - } = this; - - let value: ReturnValue; - - if (isResolverFunction(resolver)) { - value = await resolver(receipt); - } else { - value = resolver; - } - - this._result = await transformer(value); - this.updateStatus(TransactionStatus.Succeeded); - - return this._result; - } catch (err) { - const error: PolymeshError = err; - - this.error = err; - - switch (error.code) { - case ErrorCode.TransactionAborted: { - this.updateStatus(TransactionStatus.Aborted); - break; - } - case ErrorCode.TransactionRejectedByUser: { - this.updateStatus(TransactionStatus.Rejected); - break; - } - case ErrorCode.TransactionReverted: - case ErrorCode.FatalError: - default: { - this.updateStatus(TransactionStatus.Failed); - break; - } - } - - throw error; - } finally { - this.hasRun = true; - /* - * We do not await this promise because it is supposed to run in the background, and - * any errors encountered are emitted. If the user isn't listening, they shouldn't - * care about middleware (or other) errors anyway - */ - // eslint-disable-next-line @typescript-eslint/no-floating-promises - this.emitWhenMiddlewareIsSynced(); - } - } - - /** - * @hidden - * - * Execute the underlying transaction, updating the status where applicable and - * throwing any pertinent errors - */ - private async internalRun(): Promise { - const { signingAddress, signer, mortality, context } = this; - - await context.assertHasSigningAddress(signingAddress); - - // era is how many blocks the transaction remains valid for, `undefined` for default - const era = mortality.immortal ? 0 : mortality.lifetime?.toNumber(); - const nonce = context.getNonce().toNumber(); - - this.updateStatus(TransactionStatus.Unapproved); - - return new Promise((resolve, reject) => { - const txWithArgs = this.composeTx(); - let settingBlockData = Promise.resolve(); - const gettingUnsub = txWithArgs.signAndSend( - signingAddress, - { nonce, signer, era }, - receipt => { - const { status } = receipt; - let isLastCallback = false; - let unsubscribing = Promise.resolve(); - let extrinsicFailedEvent; - - // isCompleted implies status is one of: isFinalized, isInBlock or isError - if (receipt.isCompleted) { - if (receipt.isInBlock) { - const inBlockHash = status.asInBlock; - - /* - * this must be done to ensure that the block hash and number are set before the success event - * is emitted, and at the same time. We do not resolve or reject the containing promise until this - * one resolves - */ - settingBlockData = defusePromise( - this.context.polymeshApi.rpc.chain.getBlock(inBlockHash).then(({ block }) => { - this.blockHash = hashToString(inBlockHash); - this.blockNumber = u32ToBigNumber(block.header.number.unwrap()); - - // we know that the index has to be set by the time the transaction is included in a block - // eslint-disable-next-line @typescript-eslint/no-non-null-assertion - this.txIndex = new BigNumber(receipt.txIndex!); - }) - ); - - // if the extrinsic failed due to an on-chain error, we should handle it in a special way - [extrinsicFailedEvent] = filterEventRecords( - receipt, - 'system', - 'ExtrinsicFailed', - true - ); - - // extrinsic failed so we can unsubscribe - isLastCallback = !!extrinsicFailedEvent; - } else { - // isFinalized || isError so we know we can unsubscribe - isLastCallback = true; - } - - if (isLastCallback) { - unsubscribing = gettingUnsub.then(unsub => { - unsub(); - }); - } - - /* - * Promise chain that handles all sub-promises in this pass through the signAndSend callback. - * Primarily for consistent error handling - */ - let finishing = Promise.resolve(); - - if (extrinsicFailedEvent) { - const { data } = extrinsicFailedEvent; - - finishing = Promise.all([settingBlockData, unsubscribing]).then(() => { - handleExtrinsicFailure(reject, data[0]); - }); - } else if (receipt.isFinalized) { - finishing = Promise.all([settingBlockData, unsubscribing]).then(() => { - this.handleExtrinsicSuccess(resolve, reject, receipt); - }); - } else if (receipt.isError) { - reject(new PolymeshError({ code: ErrorCode.TransactionAborted })); - } - - finishing.catch((err: Error) => reject(err)); - } - } - ); - - gettingUnsub - .then(() => { - // tx approved by signer - this.txHash = txWithArgs.hash.toString(); - this.updateStatus(TransactionStatus.Running); - }) - .catch((err: Error) => { - let error; - /* istanbul ignore else */ - if (err.message.indexOf('Cancelled') > -1) { - // tx rejected by signer - error = { code: ErrorCode.TransactionRejectedByUser }; - } else { - // unexpected error - error = { code: ErrorCode.UnexpectedError, message: err.message }; - } - - reject(new PolymeshError(error)); - }); - }); - } - - /** - * Subscribe to status changes - * - * @param listener - callback function that will be called whenever the status changes - * - * @returns unsubscribe function - */ - public onStatusChange( - listener: (transaction: GenericPolymeshTransaction) => void - ): UnsubCallback { - const { emitter } = this; - - emitter.on(Event.StatusChange, listener); - - return (): void => { - emitter.removeListener(Event.StatusChange, listener); - }; - } - - /** - * Retrieve a breakdown of the fees required to run this transaction, as well as the Account responsible for paying them - * - * @note these values might be inaccurate if the transaction is run at a later time. This can be due to a governance vote or other - * chain related factors (like modifications to a specific subsidizer relationship or a chain upgrade) - */ - public async getTotalFees(): Promise { - const { signingAddress } = this; - - const composedTx = this.composeTx(); - - const paymentInfoPromise = composedTx.paymentInfo(signingAddress); - - const protocol = await this.getProtocolFees(); - - const [payingAccount, { partialFee }] = await Promise.all([ - this.getPayingAccount(), - paymentInfoPromise, - ]); - - const { free: balance } = await payingAccount.account.getBalance(); - const gas = balanceToBigNumber(partialFee); - - return { - fees: { - protocol, - gas, - total: protocol.plus(gas), - }, - payingAccountData: { - ...payingAccount, - balance, - }, - }; - } - - /** - * Subscribe to the results of this transaction being processed by the indexing service (and as such, available to the middleware) - * - * @param listener - callback function that will be called whenever the middleware is updated with the latest data. - * If there is an error (timeout or middleware offline) it will be passed to this callback - * - * @note this event will be fired even if the queue fails - * @returns unsubscribe function - * @throws if the middleware wasn't enabled when instantiating the SDK client - */ - public onProcessedByMiddleware(listener: (err?: PolymeshError) => void): UnsubCallback { - const { context, emitter } = this; - - if (!context.isMiddlewareEnabled()) { - throw new PolymeshError({ - code: ErrorCode.General, - message: 'Cannot subscribe without an enabled middleware connection', - }); - } - - emitter.on(Event.ProcessedByMiddleware, listener); - - return (): void => { - emitter.removeListener(Event.ProcessedByMiddleware, listener); - }; - } - - /** - * Get the latest processed block from the database - * - * @note uses the middleware - */ - private async getLatestBlockFromMiddleware(): Promise { - const { context } = this; - - const { - data: { - blocks: { - nodes: [{ blockId: processedBlock }], - }, - }, - } = await context.queryMiddleware>(latestBlockQuery()); - - return new BigNumber(processedBlock); - } - - /** - * Poll the middleware every 2 seconds to see if it has already processed the - * block that reflects the changes brought on by this transaction being run. If so, - * emit the corresponding event. After 5 retries (or if the middleware can't be reached), - * the event is emitted with an error - * - * @note uses the middleware - */ - private async emitWhenMiddlewareIsSynced(): Promise { - const { context, emitter } = this; - - try { - if (!context.isMiddlewareEnabled()) { - return; - } - - const blockNumber = await context.getLatestBlock(); - - let done = false; - - await P.each(range(6), async i => { - if (done) { - return; - } - - try { - const processedBlock = await this.getLatestBlockFromMiddleware(); - if (blockNumber.lte(processedBlock)) { - done = true; - emitter.emit(Event.ProcessedByMiddleware); - return; - } - } catch (err) { - /* - * query errors are swallowed because we wish to query again if we haven't reached the - * maximum amount of retries - */ - } - - if (i === 5) { - emitter.emit( - Event.ProcessedByMiddleware, - new PolymeshError({ - code: ErrorCode.MiddlewareError, - message: `Middleware has not synced after ${i} attempts`, - }) - ); - } - - return delay(2000); - }); - } catch (err) { - /* istanbul ignore next: extreme edge case */ - emitter.emit( - Event.ProcessedByMiddleware, - new PolymeshError({ - code: ErrorCode.UnexpectedError, - message: err.message || 'Unexpected error', - }) - ); - } - } - - /** - * @hidden - */ - protected updateStatus(status: TransactionStatus): void { - const { emitter } = this; - this.status = status; - - /* eslint-disable default-case */ - switch (status) { - case TransactionStatus.Unapproved: - case TransactionStatus.Running: - case TransactionStatus.Succeeded: { - emitter.emit(Event.StatusChange, this); - return; - } - case TransactionStatus.Rejected: - case TransactionStatus.Aborted: - case TransactionStatus.Failed: { - emitter.emit(Event.StatusChange, this, this.error); - } - } - /* eslint-enable default-case */ - } - - /** - * Return whether the transaction can be subsidized. If the result is false - * AND the caller is being subsidized by a third party, the transaction can't be executed and trying - * to do so will result in an error - * - * @note this depends on the type of transaction itself (e.g. `staking.bond` can't be subsidized, but `asset.createAsset` can) - */ - public abstract supportsSubsidy(): boolean; - - /** - * @hidden - * - * Compose a Transaction Object with arguments that can be signed - */ - protected abstract composeTx(): SubmittableExtrinsic<'promise', ISubmittableResult>; - - /* istanbul ignore next: there is no way of reaching this path currently */ - /** - * @hidden - * - * Return whether the transaction ignores any existing subsidizer relationships - * and is always paid by the caller - */ - protected ignoresSubsidy(): boolean { - /* - * since we don't know anything about the transaction, a safe default is - * to assume it doesn't ignore subsidies - */ - return false; - } - - /** - * Return this transaction's protocol fees. These are extra fees charged for - * specific operations on the chain. Not to be confused with network fees (which - * depend on the complexity of the operation), protocol fees are set by governance and/or - * chain upgrades - */ - public abstract getProtocolFees(): Promise; - - /** - * @hidden - */ - protected handleExtrinsicSuccess( - resolve: (value: ISubmittableResult | PromiseLike) => void, - _reject: (reason?: unknown) => void, - receipt: ISubmittableResult - ): void { - resolve(receipt); - } - - /** - * @hidden - * - * Check if balances and allowances (both third party and signing Account) - * are sufficient to cover this transaction's fees - */ - private async assertFeesCovered(): Promise { - const { - fees: { total }, - payingAccountData, - } = await this.getTotalFees(); - - const { type, balance } = payingAccountData; - - if (type === PayingAccountType.Subsidy) { - const { allowance } = payingAccountData; - if (!this.supportsSubsidy()) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'This transaction cannot be run by a subsidized Account', - }); - } - - if (allowance.lt(total)) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: "Insufficient subsidy allowance to pay this transaction's fees", - data: { - allowance, - fees: total, - }, - }); - } - } - - const accountDescriptions = { - [PayingAccountType.Caller]: 'caller', - [PayingAccountType.Other]: 'paying third party', - [PayingAccountType.Subsidy]: 'subsidizer', - }; - - if (balance.lt(total)) { - throw new PolymeshError({ - code: ErrorCode.InsufficientBalance, - message: `The ${accountDescriptions[type]} Account does not have enough POLYX balance to pay this transaction's fees`, - data: { - balance, - fees: total, - }, - }); - } - } - - /** - * returns the transaction result - this is the same value as the Promise run returns - * @note it is generally preferable to `await` the `Promise` returned by { @link base/PolymeshTransactionBase!PolymeshTransactionBase.run | transaction.run() } instead of reading this property - * - * @throws if the { @link base/PolymeshTransactionBase!PolymeshTransactionBase.isSuccess | transaction.isSuccess } property is false — be sure to check that before accessing! - */ - get result(): TransformedReturnValue { - if (this.isSuccess) { - // eslint-disable-next-line @typescript-eslint/no-non-null-assertion - return this._result!; - } else { - throw new PolymeshError({ - code: ErrorCode.General, - message: - 'The result of the transaction was checked before it has been completed. property `result` should only be read if transaction `isSuccess` property is true', - }); - } - } - - /** - * Returns a representation intended for offline signers. - * - * @note Usually `.run()` should be preferred due to is simplicity. - * - * @note When using this method, details like account nonces, and transaction mortality require extra consideration. Generating a payload for offline sign implies asynchronicity. If using this API, be sure each procedure is created with the correct nonce, accounting for in flight transactions, and the lifetime is sufficient. - * - */ - public async toSignablePayload( - metadata: Record = {} - ): Promise { - const { - mortality, - signingAddress, - context, - context: { polymeshApi }, - } = this; - const tx = this.composeTx(); - - const [tipHash, latestBlockNumber] = await Promise.all([ - polymeshApi.rpc.chain.getFinalizedHead(), - context.getLatestBlock(), - ]); - - let nonce: number = context.getNonce().toNumber(); - if (nonce < 0) { - const nextIndex = await polymeshApi.rpc.system.accountNextIndex(signingAddress); - nonce = nextIndex.toNumber(); - } - - let era; - let blockHash; - if (mortality.immortal) { - blockHash = polymeshApi.genesisHash.toString(); - era = '0x00'; - } else { - era = context.createType('ExtrinsicEra', { - current: latestBlockNumber.toNumber(), - period: mortality.lifetime?.toNumber() ?? DEFAULT_LIFETIME_PERIOD, - }); - - blockHash = tipHash.toString(); - } - - const payloadData = { - address: signingAddress, - method: tx, - nonce, - genesisHash: polymeshApi.genesisHash.toString(), - blockHash, - specVersion: polymeshApi.runtimeVersion.specVersion, - transactionVersion: polymeshApi.runtimeVersion.transactionVersion, - runtimeVersion: polymeshApi.runtimeVersion, - version: polymeshApi.extrinsicVersion, - era, - }; - - const rawSignerPayload = context.createType('SignerPayload', payloadData); - - return { - payload: rawSignerPayload.toPayload(), - rawPayload: rawSignerPayload.toRaw(), - method: tx.toHex(), - metadata, - }; - } - - /** - * returns true if transaction has completed successfully - */ - get isSuccess(): boolean { - return this.status === TransactionStatus.Succeeded; - } - - /** - * @hidden - * - * Retrieve the Account that would pay fees for the transaction if it was run at this moment, as well as the total amount that can be - * charged to it (allowance) in case of a subsidy - * - * @note the paying Account might change if, before running the transaction, the caller Account enters (or leaves) - * a subsidizer relationship. A governance vote or chain upgrade could also cause the value to change between the time - * this method is called and the time the transaction is run - */ - private async getPayingAccount(): Promise { - const { paidForBy, context } = this; - - if (paidForBy) { - const { account: primaryAccount } = await paidForBy.getPrimaryAccount(); - - return { - type: PayingAccountType.Other, - account: primaryAccount, - }; - } - - const subsidyWithAllowance = await context.accountSubsidy(); - - if (!subsidyWithAllowance || this.ignoresSubsidy()) { - const caller = context.getSigningAccount(); - - return { - account: caller, - type: PayingAccountType.Caller, - }; - } - - const { - subsidy: { subsidizer: account }, - allowance, - } = subsidyWithAllowance; - - return { - type: PayingAccountType.Subsidy, - account, - allowance, - }; - } -} diff --git a/src/base/PolymeshTransactionBatch.ts b/src/base/PolymeshTransactionBatch.ts deleted file mode 100644 index dfcb0faa6b..0000000000 --- a/src/base/PolymeshTransactionBatch.ts +++ /dev/null @@ -1,263 +0,0 @@ -import { SubmittableExtrinsic } from '@polkadot/api/types'; -import { ISubmittableResult } from '@polkadot/types/types'; -import BigNumber from 'bignumber.js'; -import P from 'bluebird'; - -import { handleExtrinsicFailure } from '~/base/utils'; -import { Context, PolymeshError, PolymeshTransaction, PolymeshTransactionBase } from '~/internal'; -import { ErrorCode, MapTxData } from '~/types'; -import { - BatchTransactionSpec, - isResolverFunction, - MapTxDataWithFees, - MapTxWithArgs, - TransactionConstructionData, -} from '~/types/internal'; -import { transactionToTxTag, u32ToBigNumber } from '~/utils/conversion'; -import { filterEventRecords, mergeReceipts } from '~/utils/internal'; - -/** - * Wrapper class for a batch of Polymesh Transactions - */ -export class PolymeshTransactionBatch< - ReturnValue, - TransformedReturnValue = ReturnValue, - Args extends unknown[][] = unknown[][] -> extends PolymeshTransactionBase { - /** - * @hidden - */ - public static override toTransactionSpec( - inputTransaction: PolymeshTransactionBatch - ): BatchTransactionSpec { - const spec = PolymeshTransactionBase.toTransactionSpec(inputTransaction); - const { transactionData } = inputTransaction; - - return { - ...spec, - transactions: transactionData.map(({ transaction, args, fee, feeMultiplier }) => ({ - transaction, - args, - fee, - feeMultiplier, - })) as MapTxWithArgs, - }; - } - - /** - * @hidden - * - * underlying transactions to be batched, together with their arguments and other relevant data - */ - private transactionData: MapTxDataWithFees; - - /** - * @hidden - */ - constructor( - transactionSpec: BatchTransactionSpec & - TransactionConstructionData, - context: Context - ) { - const { transactions, ...rest } = transactionSpec; - - super(rest, context); - - this.transactionData = transactions.map(({ transaction, args, feeMultiplier, fee }) => ({ - tag: transactionToTxTag(transaction), - args, - feeMultiplier, - transaction, - fee, - })) as MapTxDataWithFees; - } - - /** - * transactions in the batch with their respective arguments - */ - get transactions(): MapTxData { - return this.transactionData.map(({ tag, args }) => ({ - tag, - args, - })) as MapTxData; - } - - /** - * @hidden - */ - protected composeTx(): SubmittableExtrinsic<'promise', ISubmittableResult> { - const { - context: { - polymeshApi: { - tx: { utility }, - }, - }, - } = this; - - return utility.batchAll( - this.transactionData.map(({ transaction, args }) => transaction(...args)) - ); - } - - /** - * @hidden - */ - public getProtocolFees(): Promise { - return P.reduce( - this.transactionData, - async (total, { tag, feeMultiplier = new BigNumber(1), fee }) => { - let fees = fee; - - if (!fees) { - [{ fees }] = await this.context.getProtocolFees({ tags: [tag] }); - } - - return total.plus(fees.multipliedBy(feeMultiplier)); - }, - new BigNumber(0) - ); - } - - /** - * @note batches can't be subsidized. If the caller is subsidized, they should use `splitTransactions` and - * run each transaction separately - */ - public supportsSubsidy(): boolean { - return false; - } - - /** - * Splits this batch into its individual transactions to be run separately. This is useful if the caller is being subsidized, - * since batches cannot be run by subsidized Accounts - * - * @note the transactions returned by this method must be run in the same order they appear in the array to guarantee the same behavior. If run out of order, - * an error will be thrown. The result that would be obtained by running the batch is returned by running the last transaction in the array - * - * @example - * - * ```typescript - * const createAssetTx = await sdk.assets.createAsset(...); - * - * let ticker: string; - * - * if (isPolymeshTransactionBatch(createAssetTx)) { - * const transactions = createAssetTx.splitTransactions(); - * - * for (let i = 0; i < length; i += 1) { - * const result = await transactions[i].run(); - * - * if (isAsset(result)) { - * ({ticker} = result) - * } - * } - * } else { - * ({ ticker } = await createAssetTx.run()); - * } - * - * console.log(`New Asset created! Ticker: ${ticker}`); - * ``` - */ - public splitTransactions(): ( - | PolymeshTransaction - | PolymeshTransaction - )[] { - const { signingAddress, signer, mortality, context } = this; - - const { transactions, resolver, transformer } = - PolymeshTransactionBatch.toTransactionSpec(this); - - const receipts: ISubmittableResult[] = []; - const processedIndexes: number[] = []; - - return transactions.map(({ transaction, args }, index) => { - const isLast = index === transactions.length - 1; - - const spec = { - signer, - signingAddress, - transaction, - args, - mortality, - }; - - let newTransaction; - - /* - * the last transaction's resolver will pass the merged receipt with all events to the batch's original resolver. - * Other transactions will just add their receipts to the list to be merged - */ - if (isLast) { - newTransaction = new PolymeshTransaction( - { - ...spec, - resolver: (receipt: ISubmittableResult): ReturnValue | Promise => { - if (isResolverFunction(resolver)) { - return resolver(mergeReceipts([...receipts, receipt], context)); - } - - return resolver; - }, - transformer, - }, - context - ); - } else { - newTransaction = new PolymeshTransaction( - { - ...spec, - resolver: (receipt: ISubmittableResult): void => { - processedIndexes.push(index); - receipts.push(receipt); - }, - }, - context - ); - } - - const originalRun = newTransaction.run.bind(newTransaction); - - newTransaction.run = ((): Promise | Promise => { - const expectedIndex = index - 1; - - // we throw an error if the transactions aren't being run in order - if (expectedIndex >= 0 && processedIndexes[expectedIndex] !== expectedIndex) { - throw new PolymeshError({ - code: ErrorCode.General, - message: 'Transactions resulting from splitting a batch must be run in order', - }); - } - - return originalRun(); - }) as (() => Promise) | (() => Promise); - - return newTransaction; - }); - } - - /** - * @hidden - */ - protected override handleExtrinsicSuccess( - resolve: (value: ISubmittableResult | PromiseLike) => void, - reject: (reason?: unknown) => void, - receipt: ISubmittableResult - ): void { - // If one of the transactions in the batch fails, this event gets emitted - const [failed] = filterEventRecords(receipt, 'utility', 'BatchInterrupted', true); - - if (failed) { - const { - data: [, failedData], - } = failed; - - // eslint-disable-next-line @typescript-eslint/no-explicit-any - const failedIndex = u32ToBigNumber((failedData as any)[0]).toNumber(); - // eslint-disable-next-line @typescript-eslint/no-explicit-any - const dispatchError = (failedData as any)[1]; - - handleExtrinsicFailure(reject, dispatchError, { failedIndex }); - } else { - resolve(receipt); - } - } -} diff --git a/src/base/__tests__/Procedure.ts b/src/base/__tests__/ConfidentialProcedure.ts similarity index 84% rename from src/base/__tests__/Procedure.ts rename to src/base/__tests__/ConfidentialProcedure.ts index dff4ddb910..87ff675b82 100644 --- a/src/base/__tests__/Procedure.ts +++ b/src/base/__tests__/ConfidentialProcedure.ts @@ -3,10 +3,16 @@ import { PolymeshCommonUtilitiesProtocolFeeProtocolOp, PolymeshPrimitivesPosRatio, } from '@polkadot/types/lookup'; +import { + BatchTransactionSpec, + ProcedureAuthorization, + TransactionSpec, +} from '@polymeshassociation/polymesh-sdk/types/internal'; +import * as utilsConversionModule from '@polymeshassociation/polymesh-sdk/utils/conversion'; import BigNumber from 'bignumber.js'; import { when } from 'jest-when'; -import { Context, Procedure } from '~/internal'; +import { ConfidentialProcedure } from '~/internal'; import { dsMockUtils, entityMockUtils, @@ -15,24 +21,32 @@ import { } from '~/testUtils/mocks'; import { MockContext } from '~/testUtils/mocks/dataSources'; import { Role, RoleType, TxTag, TxTags } from '~/types'; -import { BatchTransactionSpec, ProcedureAuthorization, TransactionSpec } from '~/types/internal'; -import * as utilsConversionModule from '~/utils/conversion'; +import * as internalUtilsModule from '~/utils/internal'; jest.mock( - '~/base/PolymeshTransaction', + '@polymeshassociation/polymesh-sdk/base/PolymeshTransaction', require('~/testUtils/mocks/polymeshTransaction').mockPolymeshTransactionModule( - '~/base/PolymeshTransaction' + '@polymeshassociation/polymesh-sdk/base/PolymeshTransaction' ) ); jest.mock( - '~/base/PolymeshTransactionBatch', + '@polymeshassociation/polymesh-sdk/base/PolymeshTransactionBatch', require('~/testUtils/mocks/polymeshTransaction').mockPolymeshTransactionBatchModule( - '~/base/PolymeshTransactionBatch' + '@polymeshassociation/polymesh-sdk/base/PolymeshTransactionBatch' + ) +); + +jest.mock( + '@polymeshassociation/polymesh-sdk/api/entities/TickerReservation', + require('~/testUtils/mocks/entities').mockTickerReservationModule( + '@polymeshassociation/polymesh-sdk/api/entities/TickerReservation' ) ); describe('Procedure class', () => { let context: MockContext; + let checkPermissionsSpy: jest.SpyInstance; + let checkRolesSpy: jest.SpyInstance; beforeAll(() => { dsMockUtils.initMocks(); @@ -43,6 +57,8 @@ describe('Procedure class', () => { beforeEach(() => { context = dsMockUtils.getContextInstance(); + checkPermissionsSpy = jest.spyOn(internalUtilsModule, 'checkConfidentialPermissions'); + checkRolesSpy = jest.spyOn(internalUtilsModule, 'checkConfidentialRoles'); }); afterEach(() => { @@ -66,7 +82,7 @@ describe('Procedure class', () => { permissions: true, }; authFunc.mockResolvedValue(authorization); - let procedure = new Procedure(prepareFunc, authFunc); + let procedure = new ConfidentialProcedure(prepareFunc, authFunc); const args = 'args'; @@ -80,10 +96,6 @@ describe('Procedure class', () => { }); context = dsMockUtils.getContextInstance({ - checkRoles: { - result: false, - missingRoles: [{ type: RoleType.TickerOwner, ticker: 'ticker' }], - }, checkPermissions: { result: false, missingPermissions: { @@ -102,6 +114,17 @@ describe('Procedure class', () => { }, }); + entityMockUtils.configureMocks({ + tickerReservationOptions: { + details: { + owner: null, + }, + }, + }); + checkPermissionsSpy.mockResolvedValue({ + result: false, + missingPermissions: { assets: null, portfolios: null, transactions: null }, + }); result = await procedure.checkAuthorization(args, context); expect(result).toEqual({ agentPermissions: { result: true }, @@ -118,9 +141,13 @@ describe('Procedure class', () => { noIdentity: false, }); + checkRolesSpy.mockResolvedValue({ + result: true, + }); + checkPermissionsSpy.mockResolvedValue({ result: true }); context = dsMockUtils.getContextInstance({ hasAssetPermissions: true }); authFunc.mockResolvedValue({ - roles: [{ type: RoleType.TickerOwner, ticker: 'ticker' }], + roles: [{ type: RoleType.TickerOwner, ticker: 'TICKER' }], permissions: { assets: [entityMockUtils.getFungibleAssetInstance({ ticker: 'SOME_TICKER' })], portfolios: null, @@ -138,7 +165,7 @@ describe('Procedure class', () => { }); authFunc.mockResolvedValue({ - roles: [{ type: RoleType.TickerOwner, ticker: 'ticker' }], + roles: [{ type: RoleType.TickerOwner, ticker: 'TICKER' }], permissions: { assets: [entityMockUtils.getFungibleAssetInstance({ ticker: 'SOME_TICKER' })], portfolios: null, @@ -161,7 +188,7 @@ describe('Procedure class', () => { }); authFunc.mockResolvedValue({ - roles: [{ type: RoleType.TickerOwner, ticker: 'ticker' }], + roles: [{ type: RoleType.TickerOwner, ticker: 'TICKER' }], signerPermissions: { assets: [entityMockUtils.getFungibleAssetInstance({ ticker: 'SOME_TICKER' })], portfolios: null, @@ -184,7 +211,7 @@ describe('Procedure class', () => { }); authFunc.mockResolvedValue({ - roles: [{ type: RoleType.TickerOwner, ticker: 'ticker' }], + roles: [{ type: RoleType.TickerOwner, ticker: 'TICKER' }], permissions: { assets: [entityMockUtils.getFungibleAssetInstance({ ticker: 'SOME_TICKER' })], portfolios: null, @@ -212,12 +239,12 @@ describe('Procedure class', () => { expect(result).toEqual({ agentPermissions: { result: true }, signerPermissions: { result: true }, - roles: { result: false, missingRoles: [{ type: RoleType.TickerOwner, ticker: 'ticker' }] }, + roles: { result: false, missingRoles: [{ type: RoleType.TickerOwner, ticker: 'TICKER' }] }, accountFrozen: false, noIdentity: true, }); - procedure = new Procedure(prepareFunc, { permissions: true, roles: true }); + procedure = new ConfidentialProcedure(prepareFunc, { permissions: true, roles: true }); result = await procedure.checkAuthorization(args, context); expect(result).toEqual({ @@ -241,7 +268,7 @@ describe('Procedure class', () => { transactions: [TxTags.asset.Freeze], }, }); - const procedure = new Procedure(prepareFunc, authFunc); + const procedure = new ConfidentialProcedure(prepareFunc, authFunc); const args = 'args'; @@ -254,10 +281,7 @@ describe('Procedure class', () => { describe('method: prepare', () => { let posRatioToBigNumberSpy: jest.SpyInstance; let balanceToBigNumberSpy: jest.SpyInstance; - let txTagToProtocolOpSpy: jest.SpyInstance< - PolymeshCommonUtilitiesProtocolFeeProtocolOp, - [TxTag, Context] - >; + let txTagToProtocolOpSpy: jest.SpyInstance; let txTags: TxTag[]; let fees: BigNumber[]; let rawCoefficient: PolymeshPrimitivesPosRatio; @@ -315,7 +339,7 @@ describe('Procedure class', () => { const returnValue = 'good'; const func1 = async function ( - this: Procedure, + this: ConfidentialProcedure, args: typeof procArgs ): Promise> { return { @@ -327,7 +351,7 @@ describe('Procedure class', () => { }; }; - const proc1 = new Procedure(func1); + const proc1 = new ConfidentialProcedure(func1); const transaction = await proc1.prepare({ args: procArgs }, context, { signingAccount: 'something', @@ -357,7 +381,7 @@ describe('Procedure class', () => { expect(context.setNonce).toHaveBeenCalledWith(new BigNumber(15)); const func2 = async function ( - this: Procedure, + this: ConfidentialProcedure, args: typeof procArgs ): Promise> { return { @@ -367,7 +391,7 @@ describe('Procedure class', () => { }; }; - const proc2 = new Procedure(func2); + const proc2 = new ConfidentialProcedure(func2); const transaction2 = await proc2.prepare({ args: procArgs }, context, { signingAccount: 'something', @@ -390,7 +414,7 @@ describe('Procedure class', () => { expect(context.setSigningAddress).toHaveBeenCalledWith('something'); const func3 = async function ( - this: Procedure, + this: ConfidentialProcedure, args: typeof procArgs ): Promise> { return { @@ -399,7 +423,7 @@ describe('Procedure class', () => { }; }; - const proc3 = new Procedure(func3); + const proc3 = new ConfidentialProcedure(func3); const transaction3 = await proc3.prepare({ args: procArgs }, context, { signingAccount: 'something', @@ -470,12 +494,12 @@ describe('Procedure class', () => { const errorMsg = 'failed'; const func = async function ( - this: Procedure + this: ConfidentialProcedure ): Promise> { throw new Error(errorMsg); }; - const proc = new Procedure(func); + const proc = new ConfidentialProcedure(func); return expect(proc.prepare({ args: procArgs }, context)).rejects.toThrow(errorMsg); }); @@ -488,7 +512,7 @@ describe('Procedure class', () => { secondaryAccounts, }; const func = async function ( - this: Procedure + this: ConfidentialProcedure ): Promise> { return { transaction: dsMockUtils.createTxMock('asset', 'registerTicker'), @@ -497,29 +521,27 @@ describe('Procedure class', () => { }; }; - let proc = new Procedure(func, { + let proc = new ConfidentialProcedure(func, { roles: [{ type: 'FakeRole' } as unknown as Role], }); context = dsMockUtils.getContextInstance({ - isFrozen: false, - checkRoles: { - result: false, - missingRoles: [{ type: 'FakeRole' } as unknown as Role], - }, - checkPermissions: { - result: false, - }, checkAssetPermissions: { result: false, }, }); + checkRolesSpy.mockResolvedValue({ + result: false, + missingRoles: [{ type: 'FakeRole' } as unknown as Role], + }); + checkPermissionsSpy.mockResolvedValue({ result: false }); + await expect(proc.prepare({ args: procArgs }, context)).rejects.toThrow( "The signing Identity doesn't have the required roles to execute this procedure" ); - proc = new Procedure(func, { + proc = new ConfidentialProcedure(func, { permissions: { assets: [], transactions: [], @@ -531,7 +553,7 @@ describe('Procedure class', () => { "The signing Account doesn't have the required permissions to execute this procedure" ); - proc = new Procedure(func, { + proc = new ConfidentialProcedure(func, { permissions: { assets: [entityMockUtils.getFungibleAssetInstance({ ticker: 'SOME_TICKER' })], transactions: [TxTags.asset.Freeze], @@ -542,6 +564,8 @@ describe('Procedure class', () => { context = dsMockUtils.getContextInstance({ checkAssetPermissions: { result: false, missingPermissions: [TxTags.asset.Freeze] }, }); + checkPermissionsSpy.mockResolvedValue({ result: true }); + checkRolesSpy.mockResolvedValue({ result: true }); await expect(proc.prepare({ args: procArgs }, context)).rejects.toThrow( "The signing Identity doesn't have the required permissions to execute this procedure" @@ -559,7 +583,7 @@ describe('Procedure class', () => { 'This procedure requires the signing Account to have an associated Identity' ); - proc = new Procedure(func, { + proc = new ConfidentialProcedure(func, { permissions: 'Some Failure Message', }); @@ -567,7 +591,9 @@ describe('Procedure class', () => { "The signing Account doesn't have the required permissions to execute this procedure" ); - proc = new Procedure(func, async () => ({ roles: 'Failed just because' })); + proc = new ConfidentialProcedure(func, async () => ({ + roles: 'Failed just because', + })); await expect(proc.prepare({ args: procArgs }, context)).rejects.toThrow( "The signing Identity doesn't have the required roles to execute this procedure" @@ -582,10 +608,10 @@ describe('Procedure class', () => { }); describe('method: storage', () => { - let proc: Procedure; + let proc: ConfidentialProcedure; beforeAll(() => { - proc = new Procedure(async () => ({ + proc = new ConfidentialProcedure(async () => ({ transaction: dsMockUtils.createTxMock('asset', 'registerTicker'), resolver: undefined, args: ['TICKER'], @@ -608,10 +634,10 @@ describe('Procedure class', () => { }); describe('method: context', () => { - let proc: Procedure; + let proc: ConfidentialProcedure; beforeAll(() => { - proc = new Procedure(async () => ({ + proc = new ConfidentialProcedure(async () => ({ transaction: dsMockUtils.createTxMock('asset', 'registerTicker'), resolver: undefined, args: ['TICKER'], diff --git a/src/base/__tests__/Context.ts b/src/base/__tests__/Context.ts deleted file mode 100644 index f7070725fb..0000000000 --- a/src/base/__tests__/Context.ts +++ /dev/null @@ -1,2299 +0,0 @@ -import { QueryOptions } from '@apollo/client/core'; -import { Signer as PolkadotSigner } from '@polkadot/types/types'; -import BigNumber from 'bignumber.js'; -import P from 'bluebird'; -import { when } from 'jest-when'; - -import { Account, Context, PolymeshError } from '~/internal'; -import { - claimsQuery, - heartbeatQuery, - metadataQuery, - polyxTransactionsQuery, -} from '~/middleware/queries'; -import { - BalanceTypeEnum, - CallIdEnum, - ClaimTypeEnum, - EventIdEnum, - ModuleIdEnum, -} from '~/middleware/types'; -import { dsMockUtils, entityMockUtils } from '~/testUtils/mocks'; -import { createMockAccountId, getAtMock } from '~/testUtils/mocks/dataSources'; -import { - ClaimType, - CorporateActionKind, - ErrorCode, - TargetTreatment, - TransactionArgumentType, - TxTags, -} from '~/types'; -import { tuple } from '~/types/utils'; -import * as utilsConversionModule from '~/utils/conversion'; -import * as utilsInternalModule from '~/utils/internal'; - -jest.mock( - '@polkadot/api', - require('~/testUtils/mocks/dataSources').mockPolkadotModule('@polkadot/api') -); -jest.mock( - '~/api/entities/Identity', - require('~/testUtils/mocks/entities').mockIdentityModule('~/api/entities/Identity') -); -jest.mock( - '~/api/entities/Identity/ChildIdentity', - require('~/testUtils/mocks/entities').mockChildIdentityModule( - '~/api/entities/Identity/ChildIdentity' - ) -); -jest.mock( - '~/api/entities/Account', - require('~/testUtils/mocks/entities').mockAccountModule('~/api/entities/Account') -); -jest.mock( - '~/api/entities/DividendDistribution', - require('~/testUtils/mocks/entities').mockDividendDistributionModule( - '~/api/entities/DividendDistribution' - ) -); -jest.mock( - '~/api/entities/DefaultPortfolio', - require('~/testUtils/mocks/entities').mockDefaultPortfolioModule( - '~/api/entities/DefaultPortfolio' - ) -); -jest.mock( - '~/api/entities/NumberedPortfolio', - require('~/testUtils/mocks/entities').mockNumberedPortfolioModule( - '~/api/entities/NumberedPortfolio' - ) -); -jest.mock( - '~/api/entities/Subsidy', - require('~/testUtils/mocks/entities').mockSubsidyModule('~/api/entities/Subsidy') -); - -describe('Context class', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - entityMockUtils.initMocks(); - }); - - beforeEach(() => { - dsMockUtils.setConstMock('system', 'ss58Prefix', { - returnValue: dsMockUtils.createMockU8(new BigNumber(42)), - }); - dsMockUtils.createQueryMock('identity', 'didRecords', { - returnValue: dsMockUtils.createMockIdentityDidRecord({ - primaryKey: dsMockUtils.createMockOption(dsMockUtils.createMockAccountId('someDid')), - }), - }); - // eslint-disable-next-line @typescript-eslint/no-empty-function - dsMockUtils.createQueryMock('system', 'lastRuntimeUpgrade', { returnValue: () => {} }); - }); - - afterEach(() => { - dsMockUtils.reset(); - entityMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should throw an error if accessing the middleware client without an active connection', async () => { - const context = await Context.create({ - polymeshApi: dsMockUtils.getApiInstance(), - middlewareApiV2: null, - }); - - expect(() => context.middlewareApi).toThrow( - 'Cannot perform this action without an active middleware v2 connection' - ); - }); - - it('should check if the middleware client is equal to the instance passed to the constructor', async () => { - const middlewareApiV2 = dsMockUtils.getMiddlewareApi(); - - const context = await Context.create({ - polymeshApi: dsMockUtils.getApiInstance(), - middlewareApiV2, - }); - - expect(context.middlewareApi).toEqual(middlewareApiV2); - }); - - describe('method: create', () => { - beforeAll(() => { - jest.spyOn(utilsInternalModule, 'assertAddressValid').mockImplementation(); - }); - - beforeEach(() => { - dsMockUtils.createQueryMock('balances', 'totalIssuance', { - returnValue: dsMockUtils.createMockBalance(new BigNumber(100)), - }); - dsMockUtils.createQueryMock('system', 'blockHash', { - returnValue: dsMockUtils.createMockHash('someBlockHash'), - }); - }); - - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should create a Context object with a Signing Manager attached', async () => { - const address = '5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY'; - - const context = await Context.create({ - polymeshApi: dsMockUtils.getApiInstance(), - middlewareApiV2: dsMockUtils.getMiddlewareApi(), - signingManager: dsMockUtils.getSigningManagerInstance({ - getAccounts: [address], - }), - }); - - expect(context.getSigningAddress()).toEqual(address); - }); - - it('should create a Context object without a Signing Manager attached', async () => { - const context = await Context.create({ - polymeshApi: dsMockUtils.getApiInstance(), - middlewareApiV2: dsMockUtils.getMiddlewareApi(), - }); - - expect(() => context.getSigningAddress()).toThrow( - 'There is no signing Account associated with the SDK instance' - ); - }); - }); - - describe('method: getSigningAccounts', () => { - beforeAll(() => { - jest.spyOn(utilsInternalModule, 'assertAddressValid').mockImplementation(); - }); - - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should retrieve an array of Accounts', async () => { - const addresses = [ - '5GNWrbft4pJcYSak9tkvUy89e2AKimEwHb6CKaJq81KHEj8e', - '5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY', - ]; - - const context = await Context.create({ - polymeshApi: dsMockUtils.getApiInstance(), - middlewareApiV2: dsMockUtils.getMiddlewareApi(), - signingManager: dsMockUtils.getSigningManagerInstance({ - getAccounts: addresses, - }), - }); - - const result = await context.getSigningAccounts(); - expect(result[0].address).toBe(addresses[0]); - expect(result[1].address).toBe(addresses[1]); - expect(result[0] instanceof Account).toBe(true); - expect(result[1] instanceof Account).toBe(true); - }); - - it('should return an empty array if signing manager is not set', async () => { - const context = await Context.create({ - polymeshApi: dsMockUtils.getApiInstance(), - middlewareApiV2: dsMockUtils.getMiddlewareApi(), - }); - - const result = await context.getSigningAccounts(); - expect(result).toEqual([]); - }); - }); - - describe('method: setSigningAddress', () => { - beforeAll(() => { - jest.spyOn(utilsInternalModule, 'assertAddressValid').mockImplementation(); - }); - - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should set the passed value as signing address', async () => { - const context = await Context.create({ - polymeshApi: dsMockUtils.getApiInstance(), - middlewareApiV2: dsMockUtils.getMiddlewareApi(), - signingManager: dsMockUtils.getSigningManagerInstance({ - getAccounts: ['someAddress', 'otherAddress'], - }), - }); - - expect(context.getSigningAddress()).toBe('someAddress'); - - await context.setSigningAddress('otherAddress'); - - expect(context.getSigningAddress()).toBe('otherAddress'); - }); - }); - - describe('method: setSigningManager', () => { - beforeAll(() => { - jest.spyOn(utilsInternalModule, 'assertAddressValid').mockImplementation(); - }); - - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should set the passed value as Signing Manager', async () => { - const context = await Context.create({ - polymeshApi: dsMockUtils.getApiInstance(), - middlewareApiV2: dsMockUtils.getMiddlewareApi(), - }); - - // eslint-disable-next-line @typescript-eslint/no-explicit-any - expect((context as any).signingManager).toBeUndefined(); - - const signingManager = dsMockUtils.getSigningManagerInstance({ - getExternalSigner: 'signer' as PolkadotSigner, - }); - await context.setSigningManager(signingManager); - - // eslint-disable-next-line @typescript-eslint/no-explicit-any - expect((context as any).signingManager).toEqual(signingManager); - - signingManager.getAccounts.mockResolvedValue([]); - - await context.setSigningManager(signingManager); - - const expectedError = new PolymeshError({ - code: ErrorCode.General, - message: 'There is no signing Account associated with the SDK instance', - }); - expect(() => context.getSigningAccount()).toThrowError(expectedError); - }); - - it('should set the external api on the polkadot instance', async () => { - const context = await Context.create({ - polymeshApi: dsMockUtils.getApiInstance(), - middlewareApiV2: dsMockUtils.getMiddlewareApi(), - }); - const signingManager = dsMockUtils.getSigningManagerInstance(); - const polymeshApi = context.getPolymeshApi(); - const polkadotSigner = signingManager.getExternalSigner(); - - await context.setSigningManager(signingManager); - - expect(polymeshApi.setSigner).toHaveBeenCalledWith(polkadotSigner); - }); - - it('should unset the SigningManager when given null', async () => { - const context = await Context.create({ - polymeshApi: dsMockUtils.getApiInstance(), - middlewareApiV2: dsMockUtils.getMiddlewareApi(), - }); - - const signingManager = dsMockUtils.getSigningManagerInstance({ - getExternalSigner: 'signer' as PolkadotSigner, - }); - await context.setSigningManager(signingManager); - - // eslint-disable-next-line @typescript-eslint/no-explicit-any - expect(() => (context as any).signingManager).not.toThrow(); - - await context.setSigningManager(null); - - // eslint-disable-next-line @typescript-eslint/no-explicit-any - expect((context as any).signingManager).toBeUndefined(); - }); - }); - - describe('method: assertHasSigningAddress', () => { - let context: Context; - const address = '5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY'; - - beforeEach(async () => { - const signingManager = dsMockUtils.getSigningManagerInstance({ - getAccounts: [address], - }); - - context = await Context.create({ - signingManager, - polymeshApi: dsMockUtils.getApiInstance(), - middlewareApiV2: dsMockUtils.getMiddlewareApi(), - }); - }); - - it('should throw an error if the account is not present', async () => { - const expectedError = new PolymeshError({ - code: ErrorCode.General, - message: 'The Account is not part of the Signing Manager attached to the SDK', - }); - - await expect(context.assertHasSigningAddress('otherAddress')).rejects.toThrow(expectedError); - }); - - it('should throw an error if there is not a signing manager set', async () => { - const expectedError = new PolymeshError({ - code: ErrorCode.General, - message: 'There is no Signing Manager attached to the SDK', - }); - - await context.setSigningManager(null); - - await expect(context.assertHasSigningAddress(address)).rejects.toThrow(expectedError); - }); - - it('should not throw an error if the account is present', async () => { - await expect(context.assertHasSigningAddress(address)).resolves.not.toThrow(); - }); - }); - - describe('method: accountBalance', () => { - beforeAll(() => { - jest.spyOn(utilsInternalModule, 'assertAddressValid').mockImplementation(); - }); - - afterAll(() => { - jest.restoreAllMocks(); - }); - - const free = new BigNumber(100); - const reserved = new BigNumber(40); - const miscFrozen = new BigNumber(50); - const feeFrozen = new BigNumber(25); - - it('should throw if there is no signing Account and no Account is passed', async () => { - const context = await Context.create({ - polymeshApi: dsMockUtils.getApiInstance(), - middlewareApiV2: dsMockUtils.getMiddlewareApi(), - }); - - return expect(context.accountBalance()).rejects.toThrow( - 'There is no signing Account associated with the SDK instance' - ); - }); - - it('should return the signer Account POLYX balance if no address is passed', async () => { - const returnValue = dsMockUtils.createMockAccountInfo({ - nonce: dsMockUtils.createMockIndex(), - refcount: dsMockUtils.createMockRefCount(), - data: dsMockUtils.createMockAccountData({ - free, - reserved, - miscFrozen, - feeFrozen, - }), - }); - - dsMockUtils.createQueryMock('system', 'account', { returnValue }); - - const context = await Context.create({ - polymeshApi: dsMockUtils.getApiInstance(), - middlewareApiV2: dsMockUtils.getMiddlewareApi(), - signingManager: dsMockUtils.getSigningManagerInstance(), - }); - - const result = await context.accountBalance(); - expect(result).toEqual({ - free: free.minus(miscFrozen).shiftedBy(-6), - locked: miscFrozen.shiftedBy(-6), - total: free.plus(reserved).shiftedBy(-6), - }); - }); - - it('should return the Account POLYX balance if an address is passed', async () => { - const returnValue = dsMockUtils.createMockAccountInfo({ - nonce: dsMockUtils.createMockIndex(), - refcount: dsMockUtils.createMockRefCount(), - data: dsMockUtils.createMockAccountData({ - free, - reserved, - miscFrozen, - feeFrozen, - }), - }); - - dsMockUtils.createQueryMock('system', 'account', { returnValue }); - - const context = await Context.create({ - polymeshApi: dsMockUtils.getApiInstance(), - middlewareApiV2: dsMockUtils.getMiddlewareApi(), - }); - - const result = await context.accountBalance('someAddress'); - expect(result).toEqual({ - free: free.minus(miscFrozen).shiftedBy(-6), - locked: miscFrozen.shiftedBy(-6), - total: free.plus(reserved).shiftedBy(-6), - }); - }); - - it('should allow subscription', async () => { - const unsubCallback = 'unsubCallback'; - - const returnValue = dsMockUtils.createMockAccountInfo({ - nonce: dsMockUtils.createMockIndex(), - refcount: dsMockUtils.createMockRefCount(), - data: dsMockUtils.createMockAccountData({ - free, - reserved, - miscFrozen, - feeFrozen, - }), - }); - - dsMockUtils.createQueryMock('system', 'account').mockImplementation(async (_, cbFunc) => { - cbFunc(returnValue); - return unsubCallback; - }); - - const context = await Context.create({ - polymeshApi: dsMockUtils.getApiInstance(), - middlewareApiV2: dsMockUtils.getMiddlewareApi(), - }); - - const callback = jest.fn(); - const result = await context.accountBalance('someAddress', callback); - - expect(result).toEqual(unsubCallback); - expect(callback).toHaveBeenCalledWith({ - free: free.minus(miscFrozen).shiftedBy(-6), - locked: miscFrozen.shiftedBy(-6), - total: free.plus(reserved).shiftedBy(-6), - }); - }); - }); - - describe('method: accountSubsidy', () => { - beforeAll(() => { - jest.spyOn(utilsInternalModule, 'assertAddressValid').mockImplementation(); - }); - - afterAll(() => { - jest.restoreAllMocks(); - }); - - it("should return the current signer Account's Subsidy with allowance if no address is passed", async () => { - const allowance = dsMockUtils.createMockBalance(new BigNumber(100)); - const returnValue = dsMockUtils.createMockOption( - dsMockUtils.createMockSubsidy({ - payingKey: dsMockUtils.createMockAccountId('payingKey'), - remaining: allowance, - }) - ); - - dsMockUtils.createQueryMock('relayer', 'subsidies', { returnValue }); - - const context = await Context.create({ - polymeshApi: dsMockUtils.getApiInstance(), - middlewareApiV2: dsMockUtils.getMiddlewareApi(), - signingManager: dsMockUtils.getSigningManagerInstance({ - getAccounts: ['beneficiary'], - }), - }); - - const result = await context.accountSubsidy(); - expect(result).toEqual({ - subsidy: expect.objectContaining({ - beneficiary: expect.objectContaining({ address: 'beneficiary' }), - subsidizer: expect.objectContaining({ address: 'payingKey' }), - }), - allowance: utilsConversionModule.balanceToBigNumber(allowance), - }); - }); - - it('should return the Account Subsidy and allowance if an address is passed', async () => { - const allowance = dsMockUtils.createMockBalance(new BigNumber(100)); - const returnValue = dsMockUtils.createMockOption( - dsMockUtils.createMockSubsidy({ - payingKey: dsMockUtils.createMockAccountId('payingKey'), - remaining: allowance, - }) - ); - - dsMockUtils.createQueryMock('relayer', 'subsidies', { returnValue }); - - const context = await Context.create({ - polymeshApi: dsMockUtils.getApiInstance(), - middlewareApiV2: dsMockUtils.getMiddlewareApi(), - }); - - const result = await context.accountSubsidy('someAddress'); - expect(result).toEqual({ - subsidy: expect.objectContaining({ - beneficiary: expect.objectContaining({ address: 'someAddress' }), - subsidizer: expect.objectContaining({ address: 'payingKey' }), - }), - allowance: utilsConversionModule.balanceToBigNumber(allowance), - }); - }); - - it('should return null if the Account has no subsidizer', async () => { - const returnValue = dsMockUtils.createMockOption(); - - dsMockUtils.createQueryMock('relayer', 'subsidies', { returnValue }); - - const context = await Context.create({ - polymeshApi: dsMockUtils.getApiInstance(), - middlewareApiV2: dsMockUtils.getMiddlewareApi(), - signingManager: dsMockUtils.getSigningManagerInstance(), - }); - - const result = await context.accountSubsidy(); - expect(result).toBeNull(); - }); - - it('should allow subscription', async () => { - const unsubCallback = 'unsubCallback'; - const allowance = dsMockUtils.createMockBalance(new BigNumber(100)); - const returnValue = dsMockUtils.createMockOption( - dsMockUtils.createMockSubsidy({ - payingKey: dsMockUtils.createMockAccountId('payingKey'), - remaining: allowance, - }) - ); - - dsMockUtils.createQueryMock('relayer', 'subsidies').mockImplementation(async (_, cbFunc) => { - cbFunc(returnValue); - return unsubCallback; - }); - - const context = await Context.create({ - polymeshApi: dsMockUtils.getApiInstance(), - middlewareApiV2: dsMockUtils.getMiddlewareApi(), - }); - - const callback = jest.fn(); - const result = await context.accountSubsidy('accountId', callback); - - expect(result).toEqual(unsubCallback); - expect(callback).toHaveBeenCalledWith( - expect.objectContaining({ - subsidy: expect.objectContaining({ - beneficiary: expect.objectContaining({ address: 'accountId' }), - subsidizer: expect.objectContaining({ address: 'payingKey' }), - }), - allowance: utilsConversionModule.balanceToBigNumber(allowance), - }) - ); - }); - }); - - describe('method: getSigningIdentity', () => { - beforeAll(() => { - jest.spyOn(utilsInternalModule, 'assertAddressValid').mockImplementation(); - }); - - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should return the signing Identity', async () => { - const did = 'someDid'; - dsMockUtils.createQueryMock('identity', 'didRecords', { - returnValue: dsMockUtils.createMockIdentityDidRecord({ - primaryKey: dsMockUtils.createMockOption(createMockAccountId(did)), - }), - }); - - const context = await Context.create({ - polymeshApi: dsMockUtils.getApiInstance(), - middlewareApiV2: dsMockUtils.getMiddlewareApi(), - signingManager: dsMockUtils.getSigningManagerInstance(), - }); - - const result = await context.getSigningIdentity(); - expect(result.did).toBe(did); - }); - - it('should throw an error if there is no Identity associated to the signing Account', async () => { - entityMockUtils.configureMocks({ - accountOptions: { - getIdentity: null, - }, - }); - - const context = await Context.create({ - polymeshApi: dsMockUtils.getApiInstance(), - middlewareApiV2: dsMockUtils.getMiddlewareApi(), - signingManager: dsMockUtils.getSigningManagerInstance(), - }); - - return expect(context.getSigningIdentity()).rejects.toThrow( - 'The signing Account does not have an associated Identity' - ); - }); - }); - - describe('method: getSigningAccount', () => { - beforeAll(() => { - jest.spyOn(utilsInternalModule, 'assertAddressValid').mockImplementation(); - }); - - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should return the signing Account', async () => { - const address = '5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY'; - - const context = await Context.create({ - polymeshApi: dsMockUtils.getApiInstance(), - middlewareApiV2: dsMockUtils.getMiddlewareApi(), - signingManager: dsMockUtils.getSigningManagerInstance({ - getAccounts: [address], - }), - }); - - const result = context.getSigningAccount(); - expect(result).toEqual(expect.objectContaining({ address })); - }); - - it('should throw an error if there is no Account associated with the SDK', async () => { - const context = await Context.create({ - polymeshApi: dsMockUtils.getApiInstance(), - middlewareApiV2: dsMockUtils.getMiddlewareApi(), - }); - - expect(() => context.getSigningAccount()).toThrow( - 'There is no signing Account associated with the SDK instance' - ); - }); - }); - - describe('method: getIdentity', () => { - beforeAll(() => { - jest.spyOn(utilsInternalModule, 'assertAddressValid').mockImplementation(); - }); - - afterAll(() => { - jest.restoreAllMocks(); - }); - - const did = 'someDid'; - - it('should return an Identity if given an Identity', async () => { - entityMockUtils.configureMocks({ - identityOptions: { - did, - }, - }); - const context = await Context.create({ - polymeshApi: dsMockUtils.getApiInstance(), - middlewareApiV2: dsMockUtils.getMiddlewareApi(), - }); - - const identity = entityMockUtils.getIdentityInstance(); - const result = await context.getIdentity(identity); - expect(result).toEqual(expect.objectContaining({ did })); - }); - - it('should return an Identity if given a valid DID', async () => { - entityMockUtils.configureMocks({ - identityOptions: { - did, - exists: true, - }, - }); - const context = await Context.create({ - polymeshApi: dsMockUtils.getApiInstance(), - middlewareApiV2: dsMockUtils.getMiddlewareApi(), - }); - - const result = await context.getIdentity(did); - expect(result).toEqual(expect.objectContaining({ did })); - }); - - it('should throw if the Identity does not exist', async () => { - const context = await Context.create({ - polymeshApi: dsMockUtils.getApiInstance(), - middlewareApiV2: dsMockUtils.getMiddlewareApi(), - }); - - entityMockUtils.configureMocks({ - identityOptions: { - did, - exists: false, - }, - }); - - let error; - try { - await context.getIdentity(did); - } catch (err) { - error = err; - } - const expectedError = new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: - 'The passed DID does not correspond to an on-chain user Identity. It may correspond to an Asset Identity', - }); - expect(error).toEqual(expectedError); - }); - }); - - describe('method: getChildIdentity', () => { - beforeAll(() => { - jest.spyOn(utilsInternalModule, 'assertAddressValid').mockImplementation(); - }); - - afterAll(() => { - jest.restoreAllMocks(); - }); - - const childDid = 'someChild'; - - it('should return an ChildIdentity if given an ChildIdentity', async () => { - entityMockUtils.configureMocks({ - childIdentityOptions: { - did: childDid, - }, - }); - const context = await Context.create({ - polymeshApi: dsMockUtils.getApiInstance(), - middlewareApiV2: dsMockUtils.getMiddlewareApi(), - }); - - const childIdentity = entityMockUtils.getChildIdentityInstance(); - const result = await context.getChildIdentity(childIdentity); - expect(result).toEqual(expect.objectContaining({ did: childDid })); - }); - - it('should return an ChildIdentity if given a valid child DID', async () => { - entityMockUtils.configureMocks({ - childIdentityOptions: { - did: childDid, - exists: true, - }, - }); - const context = await Context.create({ - polymeshApi: dsMockUtils.getApiInstance(), - middlewareApiV2: dsMockUtils.getMiddlewareApi(), - }); - - const result = await context.getChildIdentity(childDid); - expect(result).toEqual(expect.objectContaining({ did: childDid })); - }); - - it('should throw if the ChildIdentity does not exist', async () => { - const context = await Context.create({ - polymeshApi: dsMockUtils.getApiInstance(), - middlewareApiV2: dsMockUtils.getMiddlewareApi(), - }); - - entityMockUtils.configureMocks({ - childIdentityOptions: { - did: childDid, - exists: false, - }, - }); - - let error; - try { - await context.getChildIdentity(childDid); - } catch (err) { - error = err; - } - const expectedError = new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'The passed DID does not correspond to an on-chain child Identity', - }); - expect(error).toEqual(expectedError); - }); - }); - - describe('method: getPolymeshApi', () => { - it('should return the polkadot.js promise client', async () => { - const polymeshApi = dsMockUtils.getApiInstance(); - - const context = await Context.create({ - polymeshApi, - middlewareApiV2: dsMockUtils.getMiddlewareApi(), - }); - - expect(context.getPolymeshApi()).toBe(polymeshApi); - }); - }); - - describe('method: getSigningAddress', () => { - beforeAll(() => { - jest.spyOn(utilsInternalModule, 'assertAddressValid').mockImplementation(); - }); - - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should return the signing address', async () => { - const address = '5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY'; - - const context = await Context.create({ - polymeshApi: dsMockUtils.getApiInstance(), - middlewareApiV2: dsMockUtils.getMiddlewareApi(), - signingManager: dsMockUtils.getSigningManagerInstance({ - getAccounts: [address, 'somethingElse'], - }), - }); - - expect(context.getSigningAddress()).toBe(address); - }); - }); - - describe('method: getExternalSigner', () => { - beforeAll(() => { - jest.spyOn(utilsInternalModule, 'assertAddressValid').mockImplementation(); - }); - - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should get and return an external signer from the Signing Manager', async () => { - const signer = 'signer' as PolkadotSigner; - const context = await Context.create({ - polymeshApi: dsMockUtils.getApiInstance(), - middlewareApiV2: dsMockUtils.getMiddlewareApi(), - signingManager: dsMockUtils.getSigningManagerInstance({ - getExternalSigner: signer, - }), - }); - - expect(context.getExternalSigner()).toBe(signer); - }); - - it('should return undefined when no signer is set', async () => { - const context = await Context.create({ - polymeshApi: dsMockUtils.getApiInstance(), - middlewareApiV2: dsMockUtils.getMiddlewareApi(), - }); - - expect(context.getExternalSigner()).toBeUndefined(); - }); - }); - - describe('method: getInvalidDids', () => { - beforeAll(() => { - jest.spyOn(utilsInternalModule, 'assertAddressValid').mockImplementation(); - }); - - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should return which DIDs in the input array are invalid', async () => { - const inputDids = ['someDid', 'otherDid', 'invalidDid', 'otherInvalidDid']; - /* eslint-disable @typescript-eslint/naming-convention */ - dsMockUtils.createQueryMock('identity', 'didRecords', { - multi: [ - dsMockUtils.createMockOption( - dsMockUtils.createMockIdentityDidRecord({ - primaryKey: dsMockUtils.createMockOption(dsMockUtils.createMockAccountId('someId')), - }) - ), - dsMockUtils.createMockOption( - dsMockUtils.createMockIdentityDidRecord({ - primaryKey: dsMockUtils.createMockOption(dsMockUtils.createMockAccountId('otherId')), - }) - ), - dsMockUtils.createMockOption(), - dsMockUtils.createMockOption(), - ], - }); - /* eslint-enable @typescript-eslint/naming-convention */ - - const context = await Context.create({ - polymeshApi: dsMockUtils.getApiInstance(), - middlewareApiV2: dsMockUtils.getMiddlewareApi(), - signingManager: dsMockUtils.getSigningManagerInstance(), - }); - - const invalidDids = await context.getInvalidDids(inputDids); - - expect(invalidDids).toEqual(inputDids.slice(2, 4)); - }); - }); - - describe('method: getProtocolFees', () => { - beforeAll(() => { - jest.spyOn(utilsInternalModule, 'assertAddressValid').mockImplementation(); - }); - - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should return the fees associated to the supplied transaction', async () => { - dsMockUtils.createQueryMock('protocolFee', 'coefficient', { - returnValue: dsMockUtils.createMockPosRatio(new BigNumber(1), new BigNumber(2)), - }); - - const context = await Context.create({ - polymeshApi: dsMockUtils.getApiInstance(), - middlewareApiV2: dsMockUtils.getMiddlewareApi(), - }); - - jest.spyOn(context, 'isCurrentNodeArchive').mockResolvedValue(true); - - const rawProtocolOp = dsMockUtils.createMockProtocolOp('AssetCreateAsset'); - rawProtocolOp.eq = jest.fn(); - when(rawProtocolOp.eq).calledWith(rawProtocolOp).mockReturnValue(true); - - const txTagToProtocolOpSpy = jest - .spyOn(utilsConversionModule, 'txTagToProtocolOp') - .mockClear() - .mockImplementation(); - - when(txTagToProtocolOpSpy) - .calledWith(TxTags.asset.CreateAsset, context) - .mockReturnValue(rawProtocolOp); - when(txTagToProtocolOpSpy) - .calledWith(TxTags.asset.Freeze, context) - .mockImplementation(() => { - throw new Error('err'); - }); // transaction without fees - - dsMockUtils.createQueryMock('protocolFee', 'baseFees', { - entries: [tuple([rawProtocolOp], dsMockUtils.createMockBalance(new BigNumber(500000000)))], - }); - - const mockResult = [ - { - tag: TxTags.asset.CreateAsset, - fees: new BigNumber(250), - }, - { - tag: TxTags.asset.Freeze, - fees: new BigNumber(0), - }, - ]; - const tags = [TxTags.asset.CreateAsset, TxTags.asset.Freeze]; - let result = await context.getProtocolFees({ tags }); - - expect(result).toEqual(mockResult); - - result = await context.getProtocolFees({ tags, blockHash: '0x000' }); - expect(getAtMock()).toHaveBeenCalledTimes(1); - expect(result).toEqual(mockResult); - }); - }); - - describe('method: getTransactionArguments', () => { - beforeAll(() => { - jest.spyOn(utilsInternalModule, 'assertAddressValid').mockImplementation(); - }); - - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should return a representation of the arguments of a transaction', async () => { - dsMockUtils.createQueryMock('protocolFee', 'coefficient', { - returnValue: dsMockUtils.createMockPosRatio(new BigNumber(1), new BigNumber(2)), - }); - - const context = await Context.create({ - polymeshApi: dsMockUtils.getApiInstance(), - middlewareApiV2: dsMockUtils.getMiddlewareApi(), - }); - - dsMockUtils.createTxMock('asset', 'registerTicker', { - meta: { - args: [ - { - type: 'Ticker', - name: 'ticker', - }, - ], - }, - }); - - expect(context.getTransactionArguments({ tag: TxTags.asset.RegisterTicker })).toMatchObject([ - { - name: 'ticker', - type: TransactionArgumentType.Text, - optional: false, - }, - ]); - - dsMockUtils.createTxMock('identity', 'addClaim', { - meta: { - args: [ - { - type: 'PolymeshPrimitivesIdentityId', - name: 'target', - }, - { - type: 'PortfolioKind', - name: 'portfolioKind', - }, - { - type: 'Option', - name: 'expiry', - }, - { - type: '(PolymeshPrimitivesIdentityId, u32)', - name: 'identityPair', - }, - ], - }, - }); - - expect(context.getTransactionArguments({ tag: TxTags.identity.AddClaim })).toMatchObject([ - { - name: 'target', - type: TransactionArgumentType.Did, - optional: false, - }, - { - name: 'portfolioKind', - type: TransactionArgumentType.RichEnum, - optional: false, - internal: [ - { - name: 'Default', - type: TransactionArgumentType.Null, - optional: false, - }, - { - name: 'User', - type: TransactionArgumentType.Number, - optional: false, - }, - ], - }, - { - name: 'expiry', - type: TransactionArgumentType.Date, - optional: true, - }, - { - name: 'identityPair', - type: TransactionArgumentType.Tuple, - optional: false, - internal: [ - { - name: '0', - optional: false, - type: TransactionArgumentType.Did, - }, - { - name: '1', - optional: false, - type: TransactionArgumentType.Number, - }, - ], - }, - ]); - - dsMockUtils.createTxMock('identity', 'cddRegisterDid', { - meta: { - args: [ - { - type: 'Compact', - name: 'someArg', - }, - ], - }, - }); - - expect( - context.getTransactionArguments({ tag: TxTags.identity.CddRegisterDid }) - ).toMatchObject([ - { - type: TransactionArgumentType.Unknown, - name: 'someArg', - optional: false, - }, - ]); - - dsMockUtils.createTxMock('asset', 'createAsset', { - meta: { - args: [ - { - type: 'Vec', - name: 'dids', - }, - ], - }, - }); - - expect(context.getTransactionArguments({ tag: TxTags.asset.CreateAsset })).toMatchObject([ - { - type: TransactionArgumentType.Array, - name: 'dids', - optional: false, - internal: { - name: '', - type: TransactionArgumentType.Did, - optional: false, - }, - }, - ]); - - dsMockUtils.createTxMock('asset', 'updateIdentifiers', { - meta: { - args: [ - { - type: '[u8;32]', - name: 'someArg', - }, - ], - }, - }); - - expect( - context.getTransactionArguments({ tag: TxTags.asset.UpdateIdentifiers }) - ).toMatchObject([ - { - type: TransactionArgumentType.Text, - name: 'someArg', - optional: false, - }, - ]); - - dsMockUtils.createTxMock('asset', 'setFundingRound', { - meta: { - args: [ - { - type: 'AssetOwnershipRelation', - name: 'relation', - }, - ], - }, - }); - - expect(context.getTransactionArguments({ tag: TxTags.asset.SetFundingRound })).toMatchObject([ - { - type: TransactionArgumentType.SimpleEnum, - name: 'relation', - optional: false, - internal: ['NotOwned', 'TickerOwned', 'AssetOwned'], - }, - ]); - - dsMockUtils.createTxMock('asset', 'unfreeze', { - meta: { - args: [ - { - type: 'VoteCountProposalFound', - name: 'voteCountProposalFound', - }, - ], - }, - }); - - expect(context.getTransactionArguments({ tag: TxTags.asset.Unfreeze })).toMatchObject([ - { - type: TransactionArgumentType.Object, - name: 'voteCountProposalFound', - optional: false, - internal: [ - { - name: 'ayes', - type: TransactionArgumentType.Number, - }, - { - name: 'nays', - type: TransactionArgumentType.Number, - }, - ], - }, - ]); - }); - }); - - describe('method: issuedClaims', () => { - beforeAll(() => { - jest.spyOn(utilsInternalModule, 'assertAddressValid').mockImplementation(); - }); - - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should return a result set of claims', async () => { - const context = await Context.create({ - polymeshApi: dsMockUtils.getApiInstance(), - middlewareApiV2: dsMockUtils.getMiddlewareApi(), - }); - - const targetDid = 'someTargetDid'; - const issuerDid = 'someIssuerDid'; - const cddId = 'someCddId'; - const date = 1589816265000; - const customerDueDiligenceType = ClaimTypeEnum.CustomerDueDiligence; - const claim = { - target: expect.objectContaining({ did: targetDid }), - issuer: expect.objectContaining({ did: issuerDid }), - issuedAt: new Date(date), - lastUpdatedAt: new Date(date), - }; - const fakeClaims = [ - { - ...claim, - expiry: new Date(date), - claim: { - type: customerDueDiligenceType, - id: cddId, - }, - }, - { - ...claim, - expiry: null, - claim: { - type: customerDueDiligenceType, - id: cddId, - }, - }, - ]; - const commonClaimData = { - targetId: targetDid, - issuerId: issuerDid, - issuanceDate: date, - lastUpdateDate: date, - cddId, - }; - const claimsQueryResponse = { - totalCount: 25, - nodes: [ - { - ...commonClaimData, - expiry: date, - type: customerDueDiligenceType, - }, - { - ...commonClaimData, - expiry: null, - type: customerDueDiligenceType, - }, - ], - }; - - dsMockUtils.createApolloQueryMock( - claimsQuery( - { - dids: [targetDid], - trustedClaimIssuers: [targetDid], - claimTypes: [ClaimTypeEnum.Accredited], - includeExpired: true, - }, - new BigNumber(2), - new BigNumber(0) - ), - { - claims: claimsQueryResponse, - } - ); - - let result = await context.issuedClaims({ - targets: [targetDid], - trustedClaimIssuers: [targetDid], - claimTypes: [ClaimType.Accredited], - includeExpired: true, - size: new BigNumber(2), - start: new BigNumber(0), - }); - - expect(result.data).toEqual(fakeClaims); - expect(result.count).toEqual(new BigNumber(25)); - expect(result.next).toEqual(new BigNumber(2)); - - dsMockUtils.createApolloQueryMock( - claimsQuery( - { - dids: undefined, - trustedClaimIssuers: undefined, - claimTypes: undefined, - includeExpired: true, - }, - new BigNumber(25), - new BigNumber(0) - ), - { - claims: { nodes: [], totalCount: 0 }, - } - ); - - result = await context.issuedClaims(); - - expect(result.data).toEqual([]); - expect(result.count).toEqual(new BigNumber(0)); - expect(result.next).toBeNull(); - }); - - it('should return a result set of claims from chain', async () => { - const context = await Context.create({ - polymeshApi: dsMockUtils.getApiInstance(), - middlewareApiV2: dsMockUtils.getMiddlewareApi(), - }); - - dsMockUtils.throwOnMiddlewareQuery(); - - const targetDid = 'someTargetDid'; - const issuerDid = 'someIssuerDid'; - const cddId = 'someCddId'; - const issuedAt = new Date('10/14/2019'); - const lastUpdatedAt = new Date('10/14/2019'); - const expiryOne = new Date('10/14/2020'); - const expiryTwo = new Date('10/14/2060'); - - const claim1stKey = dsMockUtils.createMockClaim1stKey({ - target: dsMockUtils.createMockIdentityId(targetDid), - claimType: dsMockUtils.createMockClaimType(ClaimType.CustomerDueDiligence), - }); - - const fakeClaims = [ - { - target: expect.objectContaining({ did: targetDid }), - issuer: expect.objectContaining({ did: issuerDid }), - issuedAt, - lastUpdatedAt, - expiry: expiryOne, - claim: { - type: ClaimType.CustomerDueDiligence, - id: cddId, - }, - }, - { - target: expect.objectContaining({ did: targetDid }), - issuer: expect.objectContaining({ did: issuerDid }), - issuedAt, - lastUpdatedAt, - expiry: null, - claim: { - type: ClaimType.CustomerDueDiligence, - id: cddId, - }, - }, - { - target: expect.objectContaining({ did: targetDid }), - issuer: expect.objectContaining({ did: issuerDid }), - issuedAt, - lastUpdatedAt, - expiry: expiryTwo, - claim: { - type: ClaimType.CustomerDueDiligence, - id: cddId, - }, - }, - ]; - - const entriesMock = jest.fn(); - entriesMock.mockResolvedValue([ - tuple( - { args: [claim1stKey] }, - dsMockUtils.createMockOption( - dsMockUtils.createMockIdentityClaim({ - claimIssuer: dsMockUtils.createMockIdentityId(issuerDid), - issuanceDate: dsMockUtils.createMockMoment(new BigNumber(issuedAt.getTime())), - lastUpdateDate: dsMockUtils.createMockMoment(new BigNumber(lastUpdatedAt.getTime())), - claim: dsMockUtils.createMockClaim({ - CustomerDueDiligence: dsMockUtils.createMockCddId(cddId), - }), - expiry: dsMockUtils.createMockOption( - dsMockUtils.createMockMoment(new BigNumber(expiryOne.getTime())) - ), - }) - ) - ), - tuple( - { args: [claim1stKey] }, - dsMockUtils.createMockOption( - dsMockUtils.createMockIdentityClaim({ - claimIssuer: dsMockUtils.createMockIdentityId(issuerDid), - issuanceDate: dsMockUtils.createMockMoment(new BigNumber(issuedAt.getTime())), - lastUpdateDate: dsMockUtils.createMockMoment(new BigNumber(lastUpdatedAt.getTime())), - claim: dsMockUtils.createMockClaim({ - CustomerDueDiligence: dsMockUtils.createMockCddId(cddId), - }), - expiry: dsMockUtils.createMockOption(), - }) - ) - ), - tuple( - { args: [claim1stKey] }, - dsMockUtils.createMockOption( - dsMockUtils.createMockIdentityClaim({ - claimIssuer: dsMockUtils.createMockIdentityId(issuerDid), - issuanceDate: dsMockUtils.createMockMoment(new BigNumber(issuedAt.getTime())), - lastUpdateDate: dsMockUtils.createMockMoment(new BigNumber(lastUpdatedAt.getTime())), - claim: dsMockUtils.createMockClaim({ - CustomerDueDiligence: dsMockUtils.createMockCddId(cddId), - }), - expiry: dsMockUtils.createMockOption( - dsMockUtils.createMockMoment(new BigNumber(expiryTwo.getTime())) - ), - }) - ) - ), - ]); - - dsMockUtils.createQueryMock('identity', 'claims').entries = entriesMock; - - let result = await context.issuedClaims({ - targets: [targetDid], - claimTypes: [ClaimType.CustomerDueDiligence], - }); - - expect(result.data).toEqual(fakeClaims); - - const { data } = await context.issuedClaims({ - targets: [targetDid], - claimTypes: [ClaimType.CustomerDueDiligence], - includeExpired: false, - }); - - expect(data.length).toEqual(2); - expect(data[0]).toEqual(fakeClaims[1]); - expect(data[1]).toEqual(fakeClaims[2]); - - jest.spyOn(utilsConversionModule, 'signerToString').mockClear().mockReturnValue(targetDid); - - result = await context.issuedClaims({ - targets: [targetDid], - claimTypes: [ClaimType.CustomerDueDiligence], - trustedClaimIssuers: [targetDid], - }); - - expect(result.data.length).toEqual(0); - - result = await context.issuedClaims({ - targets: [targetDid], - trustedClaimIssuers: [targetDid], - }); - - expect(result.data.length).toEqual(0); - }); - - it('should throw if the middleware V2 is not available and targets or claimTypes are not set', async () => { - const context = await Context.create({ - polymeshApi: dsMockUtils.getApiInstance(), - middlewareApiV2: dsMockUtils.getMiddlewareApi(), - }); - - dsMockUtils.throwOnMiddlewareQuery(); - - return expect(context.issuedClaims()).rejects.toThrow( - 'Cannot perform this action without an active middleware V2 connection' - ); - }); - }); - - describe('method: queryMiddleware', () => { - beforeAll(() => { - jest.spyOn(utilsInternalModule, 'assertAddressValid').mockImplementation(); - }); - - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should throw if the middleware V2 query fails', async () => { - const context = await Context.create({ - polymeshApi: dsMockUtils.getApiInstance(), - middlewareApiV2: dsMockUtils.getMiddlewareApi(), - }); - - dsMockUtils.throwOnMiddlewareQuery({ message: 'Error' }); - - await expect(context.queryMiddleware('query' as unknown as QueryOptions)).rejects.toThrow( - 'Error in middleware V2 query: Error' - ); - - dsMockUtils.throwOnMiddlewareQuery({ networkError: {}, message: 'Error' }); - - await expect(context.queryMiddleware('query' as unknown as QueryOptions)).rejects.toThrow( - 'Error in middleware V2 query: Error' - ); - - dsMockUtils.throwOnMiddlewareQuery({ - networkError: { result: { message: 'Some Message' } }, - }); - - return expect(context.queryMiddleware('query' as unknown as QueryOptions)).rejects.toThrow( - 'Error in middleware V2 query: Some Message' - ); - }); - - it('should perform a middleware V2 query and return the results', async () => { - const fakeResult = 'res'; - const fakeQuery = 'fakeQuery' as unknown as QueryOptions; - - const context = await Context.create({ - polymeshApi: dsMockUtils.getApiInstance(), - middlewareApiV2: dsMockUtils.getMiddlewareApi(), - }); - - dsMockUtils.createApolloQueryMock(fakeQuery, fakeResult); - - const res = await context.queryMiddleware(fakeQuery); - - expect(res.data).toBe(fakeResult); - }); - }); - - describe('method: getLatestBlock', () => { - beforeAll(() => { - jest.spyOn(utilsInternalModule, 'assertAddressValid').mockImplementation(); - }); - - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should return the latest block', async () => { - const blockNumber = new BigNumber(100); - - const mock = dsMockUtils.createRpcMock('chain', 'subscribeFinalizedHeads'); - mock.mockImplementation(async callback => { - setImmediate(() => - // eslint-disable-next-line n/no-callback-literal - callback({ - number: dsMockUtils.createMockCompact(dsMockUtils.createMockU32(blockNumber)), - }) - ); - return (): void => undefined; - }); - - const context = await Context.create({ - polymeshApi: dsMockUtils.getApiInstance(), - middlewareApiV2: dsMockUtils.getMiddlewareApi(), - }); - - const result = await context.getLatestBlock(); - - expect(result).toEqual(blockNumber); - }); - - it('should throw any errors encountered while fetching', async () => { - const mock = dsMockUtils.createRpcMock('chain', 'subscribeFinalizedHeads'); - const err = new Error('Foo'); - mock.mockImplementation(callback => { - setImmediate(() => - // eslint-disable-next-line n/no-callback-literal - callback({}) - ); - return P.delay(0).throw(err); - }); - - const context = await Context.create({ - polymeshApi: dsMockUtils.getApiInstance(), - middlewareApiV2: dsMockUtils.getMiddlewareApi(), - }); - - return expect(context.getLatestBlock()).rejects.toThrow(err); - }); - }); - - describe('method: getNetworkVersion', () => { - beforeAll(() => { - jest.spyOn(utilsInternalModule, 'assertAddressValid').mockImplementation(); - }); - - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should return the network version', async () => { - const version = '1.0.0'; - - dsMockUtils.createRpcMock('system', 'version', { - returnValue: dsMockUtils.createMockText(version), - }); - - const context = await Context.create({ - polymeshApi: dsMockUtils.getApiInstance(), - middlewareApiV2: dsMockUtils.getMiddlewareApi(), - }); - - const result = await context.getNetworkVersion(); - - expect(result).toEqual(version); - }); - }); - - describe('method: isMiddlewareEnabled', () => { - beforeAll(() => { - jest.spyOn(utilsInternalModule, 'assertAddressValid').mockImplementation(); - }); - - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should return true if the middleware V2 is enabled', async () => { - const context = await Context.create({ - polymeshApi: dsMockUtils.getApiInstance(), - middlewareApiV2: dsMockUtils.getMiddlewareApi(), - }); - - const result = context.isMiddlewareEnabled(); - - expect(result).toBe(true); - }); - - it('should return false if the middleware V2 is not enabled', async () => { - const context = await Context.create({ - polymeshApi: dsMockUtils.getApiInstance(), - middlewareApiV2: null, - }); - - const result = context.isMiddlewareEnabled(); - - expect(result).toBe(false); - }); - }); - - describe('method: isMiddlewareAvailable', () => { - beforeAll(() => { - jest.spyOn(utilsInternalModule, 'assertAddressValid').mockImplementation(); - }); - - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should return true if the middleware V2 is available', async () => { - const context = await Context.create({ - polymeshApi: dsMockUtils.getApiInstance(), - middlewareApiV2: dsMockUtils.getMiddlewareApi(), - }); - - dsMockUtils.createApolloQueryMock(heartbeatQuery(), true); - - const result = await context.isMiddlewareAvailable(); - - expect(result).toBe(true); - }); - - it('should return false if the middleware V2 is not enabled', async () => { - const context = await Context.create({ - polymeshApi: dsMockUtils.getApiInstance(), - middlewareApiV2: null, - }); - - dsMockUtils.throwOnMiddlewareQuery(); - - const result = await context.isMiddlewareAvailable(); - - expect(result).toBe(false); - }); - }); - - describe('method: disconnect', () => { - beforeAll(() => { - jest.spyOn(utilsInternalModule, 'assertAddressValid').mockImplementation(); - }); - - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should disconnect everything and leave the instance unusable', async () => { - const polymeshApi = dsMockUtils.getApiInstance(); - const middlewareApiV2 = dsMockUtils.getMiddlewareApi(); - let context = await Context.create({ - polymeshApi, - middlewareApiV2, - }); - - await context.disconnect(); - polymeshApi.emit('disconnected'); - - expect(polymeshApi.disconnect).toHaveBeenCalledTimes(1); - expect(middlewareApiV2.stop).toHaveBeenCalledTimes(1); - - expect(() => context.getSigningAccounts()).toThrow( - 'Client disconnected. Please create a new instance via "Polymesh.connect()"' - ); - - context = await Context.create({ - polymeshApi, - middlewareApiV2: null, - }); - - await context.disconnect(); - polymeshApi.emit('disconnected'); - - expect(polymeshApi.disconnect).toHaveBeenCalledTimes(2); - expect(middlewareApiV2.stop).toHaveBeenCalledTimes(1); - - expect(() => context.getSigningAccounts()).toThrow( - 'Client disconnected. Please create a new instance via "Polymesh.connect()"' - ); - }); - }); - - describe('method: getDividendDistributionsForAssets', () => { - beforeAll(() => { - jest.spyOn(utilsInternalModule, 'assertAddressValid').mockImplementation(); - }); - - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should return all distributions associated to the passed assets', async () => { - const tickers = ['TICKER_0', 'TICKER_1', 'TICKER_2']; - const rawTickers = tickers.map(dsMockUtils.createMockTicker); - - const polymeshApi = dsMockUtils.getApiInstance(); - const middlewareApiV2 = dsMockUtils.getMiddlewareApi(); - - const context = await Context.create({ - polymeshApi, - middlewareApiV2, - }); - - /* eslint-disable @typescript-eslint/naming-convention */ - const corporateActions = [ - dsMockUtils.createMockOption( - dsMockUtils.createMockCorporateAction({ - kind: CorporateActionKind.PredictableBenefit, - decl_date: new BigNumber(new Date('10/14/1987').getTime()), - record_date: dsMockUtils.createMockRecordDate({ - date: new BigNumber(new Date('10/14/2019').getTime()), - checkpoint: { Existing: dsMockUtils.createMockU64(new BigNumber(2)) }, - }), - targets: { - identities: ['someDid'], - treatment: TargetTreatment.Exclude, - }, - default_withholding_tax: new BigNumber(100000), - withholding_tax: [tuple('someDid', new BigNumber(300000))], - }) - ), - dsMockUtils.createMockOption( - dsMockUtils.createMockCorporateAction({ - kind: CorporateActionKind.Reorganization, - decl_date: new BigNumber(new Date('10/14/1987').getTime()), - record_date: null, - targets: { - identities: [], - treatment: TargetTreatment.Exclude, - }, - default_withholding_tax: new BigNumber(0), - withholding_tax: [], - }) - ), - dsMockUtils.createMockOption( - dsMockUtils.createMockCorporateAction({ - kind: CorporateActionKind.UnpredictableBenefit, - decl_date: new BigNumber(new Date('11/26/1989').getTime()), - record_date: dsMockUtils.createMockRecordDate({ - date: new BigNumber(new Date('11/26/2019').getTime()), - checkpoint: { Existing: dsMockUtils.createMockU64(new BigNumber(5)) }, - }), - targets: { - identities: [], - treatment: TargetTreatment.Exclude, - }, - default_withholding_tax: new BigNumber(150000), - withholding_tax: [tuple('someDid', new BigNumber(200000))], - }) - ), - ]; - /* eslint-enable @typescript-eslint/naming-convention */ - - const distributions = [ - dsMockUtils.createMockOption( - dsMockUtils.createMockDistribution({ - from: { kind: 'Default', did: 'someDid' }, - currency: 'USD', - perShare: new BigNumber(10000000), - amount: new BigNumber(500000000000), - remaining: new BigNumber(400000000000), - reclaimed: false, - paymentAt: new BigNumber(new Date('10/14/1987').getTime()), - expiresAt: dsMockUtils.createMockOption(), - }) - ), - dsMockUtils.createMockOption( - dsMockUtils.createMockDistribution({ - from: { kind: { User: dsMockUtils.createMockU64(new BigNumber(2)) }, did: 'someDid' }, - currency: 'CAD', - perShare: new BigNumber(20000000), - amount: new BigNumber(300000000000), - remaining: new BigNumber(200000000000), - reclaimed: false, - paymentAt: new BigNumber(new Date('11/26/1989').getTime()), - expiresAt: dsMockUtils.createMockOption(), - }) - ), - dsMockUtils.createMockOption(), - ]; - - const localIds = [new BigNumber(1), new BigNumber(2), new BigNumber(3)]; - const caIds = [ - dsMockUtils.createMockCAId({ ticker: rawTickers[0], localId: localIds[0] }), - dsMockUtils.createMockCAId({ ticker: rawTickers[1], localId: localIds[1] }), - dsMockUtils.createMockCAId({ ticker: rawTickers[1], localId: localIds[2] }), - ]; - - dsMockUtils.createQueryMock('corporateAction', 'corporateActions', { - entries: [ - [[rawTickers[0], localIds[0]], corporateActions[0]], - [[rawTickers[1], localIds[1]], corporateActions[1]], - [[rawTickers[1], localIds[2]], corporateActions[2]], - ], - }); - const details = [ - dsMockUtils.createMockBytes('details1'), - dsMockUtils.createMockBytes('details2'), - dsMockUtils.createMockBytes('details3'), - ]; - const corporateActionIdentifierToCaIdSpy = jest.spyOn( - utilsConversionModule, - 'corporateActionIdentifierToCaId' - ); - when(corporateActionIdentifierToCaIdSpy) - .calledWith({ ticker: tickers[0], localId: new BigNumber(localIds[0]) }, context) - .mockReturnValue(caIds[0]); - when(corporateActionIdentifierToCaIdSpy) - .calledWith({ ticker: tickers[1], localId: new BigNumber(localIds[1]) }, context) - .mockReturnValue(caIds[1]); - when(corporateActionIdentifierToCaIdSpy) - .calledWith({ ticker: tickers[1], localId: new BigNumber(localIds[2]) }, context) - .mockReturnValue(caIds[2]); - - const detailsMock = dsMockUtils.createQueryMock('corporateAction', 'details'); - when(detailsMock).calledWith(caIds[0]).mockResolvedValue(details[0]); - when(detailsMock).calledWith(caIds[1]).mockResolvedValue(details[1]); - when(detailsMock).calledWith(caIds[2]).mockResolvedValue(details[2]); - - dsMockUtils.createQueryMock('capitalDistribution', 'distributions', { - multi: distributions, - }); - - const stringToTickerSpy = jest.spyOn(utilsConversionModule, 'stringToTicker'); - - tickers.forEach((ticker, index) => - when(stringToTickerSpy).calledWith(ticker, context).mockReturnValue(rawTickers[index]) - ); - - const result = await context.getDividendDistributionsForAssets({ - assets: tickers.map(ticker => entityMockUtils.getFungibleAssetInstance({ ticker })), - }); - - expect(result.length).toBe(2); - expect(result[0].details.fundsReclaimed).toBe(false); - expect(result[0].details.remainingFunds).toEqual(new BigNumber(400000)); - expect(result[0].distribution.origin).toEqual( - expect.objectContaining({ owner: expect.objectContaining({ did: 'someDid' }) }) - ); - expect(result[0].distribution.currency).toBe('USD'); - expect(result[0].distribution.perShare).toEqual(new BigNumber(10)); - expect(result[0].distribution.maxAmount).toEqual(new BigNumber(500000)); - expect(result[0].distribution.expiryDate).toBe(null); - expect(result[0].distribution.paymentDate).toEqual(new Date('10/14/1987')); - - expect(result[1].details.fundsReclaimed).toBe(false); - expect(result[1].details.remainingFunds).toEqual(new BigNumber(200000)); - expect(result[1].distribution.origin).toEqual( - expect.objectContaining({ - owner: expect.objectContaining({ did: 'someDid' }), - id: new BigNumber(2), - }) - ); - expect(result[1].distribution.currency).toBe('CAD'); - expect(result[1].distribution.perShare).toEqual(new BigNumber(20)); - expect(result[1].distribution.maxAmount).toEqual(new BigNumber(300000)); - expect(result[1].distribution.expiryDate).toBe(null); - expect(result[1].distribution.paymentDate).toEqual(new Date('11/26/1989')); - }); - }); - - describe('method: clone', () => { - beforeAll(() => { - jest.spyOn(utilsInternalModule, 'assertAddressValid').mockImplementation(); - }); - - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should return a cloned instance', async () => { - const context = await Context.create({ - polymeshApi: dsMockUtils.getApiInstance(), - middlewareApiV2: dsMockUtils.getMiddlewareApi(), - signingManager: dsMockUtils.getSigningManagerInstance(), - }); - - const cloned = context.clone(); - - expect(cloned).toEqual(context); - }); - }); - - describe('method: supportsSubsidy', () => { - beforeAll(() => { - jest.spyOn(utilsInternalModule, 'assertAddressValid').mockImplementation(); - }); - - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should return whether the specified transaction supports subsidies', async () => { - const context = await Context.create({ - polymeshApi: dsMockUtils.getApiInstance(), - middlewareApiV2: dsMockUtils.getMiddlewareApi(), - }); - - expect(context.supportsSubsidy({ tag: TxTags.system.FillBlock })).toBe(false); - expect(context.supportsSubsidy({ tag: TxTags.asset.CreateAsset })).toBe(true); - }); - }); - - describe('method: createType', () => { - it('should call polymeshApi and return the result', async () => { - const context = await Context.create({ - polymeshApi: dsMockUtils.getApiInstance(), - middlewareApiV2: dsMockUtils.getMiddlewareApi(), - }); - - when(dsMockUtils.getCreateTypeMock()).calledWith('Bytes', 'abc').mockReturnValue('abc'); - - const result = context.createType('Bytes', 'abc'); - expect(result).toEqual('abc'); - }); - - it('should throw a PolymeshError if createType throws', async () => { - const context = await Context.create({ - polymeshApi: dsMockUtils.getApiInstance(), - middlewareApiV2: dsMockUtils.getMiddlewareApi(), - }); - - dsMockUtils.getCreateTypeMock().mockImplementation(() => { - throw new Error('Could not create Polymesh type'); - }); - - const expectedError = new PolymeshError({ - code: ErrorCode.UnexpectedError, - message: - 'Could not create internal Polymesh type: "Bytes". Please report this error to the Polymesh team', - }); - - expect(() => context.createType('Bytes', 'abc')).toThrowError(expectedError); - }); - }); - - describe('method: setNonce', () => { - beforeAll(() => { - jest.spyOn(utilsInternalModule, 'assertAddressValid').mockImplementation(); - }); - - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should set the passed value as nonce', async () => { - const context = await Context.create({ - polymeshApi: dsMockUtils.getApiInstance(), - middlewareApiV2: dsMockUtils.getMiddlewareApi(), - signingManager: dsMockUtils.getSigningManagerInstance({ - getAccounts: ['someAddress', 'otherAddress'], - }), - }); - - context.setNonce(new BigNumber(10)); - - expect(context.getNonce()).toEqual(new BigNumber(10)); - }); - }); - - describe('method: getNonce', () => { - let context: Context; - - beforeAll(() => { - jest.spyOn(utilsInternalModule, 'assertAddressValid').mockImplementation(); - }); - - afterAll(() => { - jest.restoreAllMocks(); - }); - - beforeEach(async () => { - context = await Context.create({ - polymeshApi: dsMockUtils.getApiInstance(), - middlewareApiV2: dsMockUtils.getMiddlewareApi(), - signingManager: dsMockUtils.getSigningManagerInstance({ - getAccounts: ['someAddress', 'otherAddress'], - }), - }); - }); - - it('should return -1 if no nonce is set', () => { - expect(context.getNonce()).toEqual(new BigNumber(-1)); - }); - - it('should return the nonce value', async () => { - context.setNonce(new BigNumber(10)); - expect(context.getNonce()).toEqual(new BigNumber(10)); - }); - }); - - describe('method: getMiddlewareMetadata', () => { - beforeAll(() => { - jest.spyOn(utilsInternalModule, 'assertAddressValid').mockImplementation(); - }); - - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should return the middleware metadata', async () => { - const context = await Context.create({ - polymeshApi: dsMockUtils.getApiInstance(), - middlewareApiV2: dsMockUtils.getMiddlewareApi(), - }); - - const metadata = { - chain: 'Polymesh Testnet Develop', - specName: 'polymesh_testnet', - genesisHash: '0x3c3183f6d701500766ff7d147b79c4f10014a095eaaa98e960dcef6b3ead50ee', - lastProcessedHeight: new BigNumber(6120220), - lastProcessedTimestamp: new Date('01/06/2023'), - targetHeight: new BigNumber(6120219), - indexerHealthy: true, - }; - - dsMockUtils.createApolloQueryMock(metadataQuery(), { - _metadata: { - ...metadata, - lastProcessedTimestamp: metadata.lastProcessedTimestamp.getTime().toString(), - lastProcessedHeight: metadata.lastProcessedHeight.toString(), - targetHeight: metadata.targetHeight.toString(), - }, - }); - - const result = await context.getMiddlewareMetadata(); - expect(result).toEqual(metadata); - }); - - it('should return null if middleware V2 is disabled', async () => { - const context = await Context.create({ - polymeshApi: dsMockUtils.getApiInstance(), - middlewareApiV2: null, - }); - - const result = await context.getMiddlewareMetadata(); - expect(result).toBeNull(); - }); - }); - - describe('method: getPolyxTransactions', () => { - beforeAll(() => { - jest.spyOn(utilsInternalModule, 'assertAddressValid').mockImplementation(); - }); - - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should return a result set of POLYX transactions', async () => { - const context = await Context.create({ - polymeshApi: dsMockUtils.getApiInstance(), - middlewareApiV2: dsMockUtils.getMiddlewareApi(), - }); - - const date = new Date('2023/01/01'); - - const fakeTxs = [ - expect.objectContaining({ - callId: CallIdEnum.CreateAsset, - moduleId: ModuleIdEnum.Protocolfee, - eventId: EventIdEnum.FeeCharged, - extrinsicIdx: new BigNumber(3), - eventIndex: new BigNumber(0), - blockNumber: new BigNumber(123), - blockHash: 'someHash', - blockDate: new Date(date), - type: BalanceTypeEnum.Free, - amount: new BigNumber(3000).shiftedBy(-6), - fromIdentity: expect.objectContaining({ did: 'someDid' }), - fromAccount: expect.objectContaining({ address: 'someAddress' }), - toIdentity: undefined, - toAccount: undefined, - memo: undefined, - }), - expect.objectContaining({ - callId: undefined, - moduleId: ModuleIdEnum.Staking, - eventId: EventIdEnum.Reward, - extrinsicIdx: undefined, - eventIndex: new BigNumber(0), - blockNumber: new BigNumber(124), - blockHash: 'someHash2', - blockDate: new Date(date), - type: BalanceTypeEnum.Free, - amount: new BigNumber(876023429).shiftedBy(-6), - fromIdentity: undefined, - fromAccount: undefined, - toIdentity: expect.objectContaining({ did: 'someDid' }), - toAccount: expect.objectContaining({ address: 'someAddress' }), - memo: undefined, - }), - ]; - const transactionsQueryResponse = { - totalCount: 2, - nodes: [ - { - callId: CallIdEnum.CreateAsset, - moduleId: ModuleIdEnum.Protocolfee, - eventId: EventIdEnum.FeeCharged, - extrinsic: { - extrinsicIdx: 3, - }, - eventIdx: 0, - createdBlock: { - blockId: '123', - hash: 'someHash', - datetime: date, - }, - type: BalanceTypeEnum.Free, - amount: '3000', - identityId: 'someDid', - address: 'someAddress', - }, - { - moduleId: ModuleIdEnum.Staking, - eventId: EventIdEnum.Reward, - eventIdx: 0, - createdBlock: { - blockId: '124', - hash: 'someHash2', - datetime: date, - }, - extrinsic: undefined, - type: BalanceTypeEnum.Free, - amount: '876023429', - toId: 'someDid', - toAddress: 'someAddress', - }, - ], - }; - - dsMockUtils.createApolloQueryMock( - polyxTransactionsQuery( - { - identityId: 'someDid', - addresses: ['someAddress'], - }, - new BigNumber(2), - new BigNumber(0) - ), - { - polyxTransactions: transactionsQueryResponse, - } - ); - - let result = await context.getPolyxTransactions({ - identity: 'someDid', - accounts: ['someAddress'], - size: new BigNumber(2), - start: new BigNumber(0), - }); - - expect(result.data[0]).toEqual(fakeTxs[0]); - expect(result.data[1]).toEqual(fakeTxs[1]); - expect(result.count).toEqual(new BigNumber(2)); - expect(result.next).toEqual(null); - - dsMockUtils.createApolloQueryMock( - polyxTransactionsQuery( - { - identityId: undefined, - addresses: undefined, - }, - new BigNumber(25), - new BigNumber(0) - ), - { - polyxTransactions: { nodes: [], totalCount: 0 }, - } - ); - - result = await context.getPolyxTransactions({}); - - expect(result.data).toEqual([]); - expect(result.count).toEqual(new BigNumber(0)); - expect(result.next).toBeNull(); - }); - }); - - describe('method: isCurrentNodeArchive', () => { - afterAll(() => { - jest.restoreAllMocks(); - }); - - it('should return true if node is archive', async () => { - const context = await Context.create({ - polymeshApi: dsMockUtils.getApiInstance(), - middlewareApiV2: dsMockUtils.getMiddlewareApi(), - }); - - dsMockUtils.createQueryMock('system', 'blockHash', { returnValue: 'fakeHash' }); - - when(jest.spyOn(context.polymeshApi, 'at')) - .calledWith('fakeHash') - .mockResolvedValueOnce({ - query: { - balances: { - totalIssuance: jest - .fn() - .mockResolvedValue(dsMockUtils.createMockU128(new BigNumber(10000))), - }, - }, - // eslint-disable-next-line @typescript-eslint/no-explicit-any - } as any); - - let result = await context.isCurrentNodeArchive(); - - expect(result).toEqual(true); - - // should read cached value - result = await context.isCurrentNodeArchive(); - - expect(result).toEqual(true); - }); - - it('should return false if node is archive', async () => { - const context = await Context.create({ - polymeshApi: dsMockUtils.getApiInstance(), - middlewareApiV2: dsMockUtils.getMiddlewareApi(), - }); - - dsMockUtils.createQueryMock('system', 'blockHash', { returnValue: 'fakeHash' }); - - when(jest.spyOn(context.polymeshApi, 'at')) - .calledWith('fakeHash') - .mockResolvedValueOnce({ - query: { - balances: { - totalIssuance: jest - .fn() - .mockResolvedValue(dsMockUtils.createMockU128(new BigNumber(0))), - }, - }, - // eslint-disable-next-line @typescript-eslint/no-explicit-any - } as any); - - const result = await context.isCurrentNodeArchive(); - - expect(result).toEqual(false); - }); - - it('should return false if there is an error', async () => { - const context = await Context.create({ - polymeshApi: dsMockUtils.getApiInstance(), - middlewareApiV2: dsMockUtils.getMiddlewareApi(), - }); - - dsMockUtils.createQueryMock('system', 'blockHash').mockRejectedValue('fakeError'); - - const result = await context.isCurrentNodeArchive(); - - expect(result).toEqual(false); - }); - }); -}); diff --git a/src/base/__tests__/Namespace.ts b/src/base/__tests__/Namespace.ts deleted file mode 100644 index 7f971d40e8..0000000000 --- a/src/base/__tests__/Namespace.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { Context, Entity, Namespace } from '~/internal'; - -describe('Namespace class', () => { - describe('constructor', () => { - it('should assign parent and context to instance', () => { - const context = 'context' as unknown as Context; - const parent = 'entity' as unknown as Entity, unknown>; - const namespace = new Namespace(parent, context); - - /* eslint-disable @typescript-eslint/no-explicit-any */ - expect((namespace as any).parent).toEqual(parent); - expect((namespace as any).context).toEqual(context); - /* eslint-enable @typescript-eslint/no-explicit-any */ - }); - }); -}); diff --git a/src/base/__tests__/PolymeshError.ts b/src/base/__tests__/PolymeshError.ts deleted file mode 100644 index 4d55dac8ed..0000000000 --- a/src/base/__tests__/PolymeshError.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { ErrorCode } from '~/types'; - -import { PolymeshError } from '../PolymeshError'; - -describe('Polymesh Error class', () => { - it('should extend error', () => { - expect(PolymeshError.prototype instanceof Error).toBe(true); - }); - - describe('constructor', () => { - it('should assign code and message to instance', () => { - const code = ErrorCode.FatalError; - const message = 'Everything has gone to hell'; - const err = new PolymeshError({ code, message }); - - expect(err.code).toBe(code); - expect(err.message).toBe(message); - }); - - it('should assign a default message if none is given', () => { - const code = ErrorCode.FatalError; - const err = new PolymeshError({ code }); - - expect(err.code).toBe(code); - expect(err.message).toBe(`Unknown error, code: ${code}`); - }); - }); -}); diff --git a/src/base/__tests__/PolymeshTransaction.ts b/src/base/__tests__/PolymeshTransaction.ts deleted file mode 100644 index d4ab3b647b..0000000000 --- a/src/base/__tests__/PolymeshTransaction.ts +++ /dev/null @@ -1,104 +0,0 @@ -import { Signer as PolkadotSigner } from '@polkadot/types/types'; -import BigNumber from 'bignumber.js'; - -import { Context, PolymeshTransaction } from '~/internal'; -import { dsMockUtils, entityMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { tuple } from '~/types/utils'; - -describe('Polymesh Transaction class', () => { - let context: Mocked; - - beforeAll(() => { - dsMockUtils.initMocks(); - entityMockUtils.initMocks(); - }); - - beforeEach(() => { - context = dsMockUtils.getContextInstance(); - }); - - const txSpec = { - signingAddress: 'signingAddress', - signer: 'signer' as PolkadotSigner, - fee: new BigNumber(100), - mortality: { immortal: true }, - }; - - afterEach(() => { - dsMockUtils.reset(); - entityMockUtils.initMocks(); - }); - - describe('method: toTransactionSpec', () => { - it('should return the tx spec of a transaction', () => { - const transaction = dsMockUtils.createTxMock('asset', 'registerTicker'); - const args = tuple('FOO'); - const resolver = (): number => 1; - const transformer = (): number => 2; - const paidForBy = entityMockUtils.getIdentityInstance(); - - const tx = new PolymeshTransaction( - { - ...txSpec, - transaction, - args, - resolver, - transformer, - feeMultiplier: new BigNumber(10), - paidForBy, - }, - context - ); - - expect(PolymeshTransaction.toTransactionSpec(tx)).toEqual({ - resolver, - transformer, - paidForBy, - transaction, - args, - fee: txSpec.fee, - feeMultiplier: new BigNumber(10), - }); - }); - }); - - describe('get: args', () => { - it('should return unwrapped args', () => { - const transaction = dsMockUtils.createTxMock('asset', 'registerTicker'); - const args = tuple('A_TICKER'); - - const tx = new PolymeshTransaction( - { - ...txSpec, - transaction, - args, - resolver: undefined, - }, - context - ); - - expect(tx.args).toEqual(args); - expect(tx.args).toEqual(args); // this second call is to cover the case where the internal value is already set - }); - }); - - describe('method: supportsSubsidy', () => { - it('should return whether the transaction supports subsidy', () => { - context.supportsSubsidy.mockReturnValueOnce(false); - - const transaction = dsMockUtils.createTxMock('identity', 'leaveIdentityAsKey'); - - const tx = new PolymeshTransaction( - { - ...txSpec, - transaction, - resolver: undefined, - }, - context - ); - - expect(tx.supportsSubsidy()).toBe(false); - }); - }); -}); diff --git a/src/base/__tests__/PolymeshTransactionBase.ts b/src/base/__tests__/PolymeshTransactionBase.ts deleted file mode 100644 index e259840590..0000000000 --- a/src/base/__tests__/PolymeshTransactionBase.ts +++ /dev/null @@ -1,1191 +0,0 @@ -import { Balance } from '@polkadot/types/interfaces'; -import { Signer as PolkadotSigner } from '@polkadot/types/types'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; -import { noop } from 'lodash'; - -import { - Context, - PolymeshError, - PolymeshTransaction, - PolymeshTransactionBase, - PolymeshTransactionBatch, -} from '~/internal'; -import { latestBlockQuery } from '~/middleware/queries'; -import { fakePromise, fakePromises } from '~/testUtils'; -import { dsMockUtils, entityMockUtils } from '~/testUtils/mocks'; -import { createMockSigningPayload, MockTxStatus } from '~/testUtils/mocks/dataSources'; -import { Mocked } from '~/testUtils/types'; -import { ErrorCode, PayingAccountType, TransactionStatus, TxTags } from '~/types'; -import { tuple } from '~/types/utils'; -import * as utilsConversionModule from '~/utils/conversion'; - -describe('Polymesh Transaction Base class', () => { - let context: Mocked; - - beforeAll(() => { - jest.useFakeTimers({ - legacyFakeTimers: true, - }); - dsMockUtils.initMocks(); - entityMockUtils.initMocks(); - }); - - beforeEach(() => { - context = dsMockUtils.getContextInstance({ - balance: { - free: new BigNumber(100000), - locked: new BigNumber(0), - total: new BigNumber(100000), - }, - }); - }); - - const txSpec = { - signingAddress: 'signingAddress', - signer: 'signer' as PolkadotSigner, - isCritical: false, - fee: new BigNumber(100), - mortality: { immortal: false } as const, - }; - - afterEach(() => { - dsMockUtils.reset(); - entityMockUtils.reset(); - }); - - afterAll(() => { - jest.useRealTimers(); - dsMockUtils.cleanup(); - }); - - describe('method: toTransactionSpec', () => { - it('should return the base tx spec of a transaction', () => { - const transaction = dsMockUtils.createTxMock('asset', 'registerTicker'); - const args = tuple('FOO'); - const resolver = (): number => 1; - const transformer = (): number => 2; - const paidForBy = entityMockUtils.getIdentityInstance(); - - const tx = new PolymeshTransaction( - { - ...txSpec, - transaction, - args, - resolver, - transformer, - feeMultiplier: new BigNumber(10), - paidForBy, - }, - context - ); - - expect(PolymeshTransactionBase.toTransactionSpec(tx)).toEqual({ - resolver, - transformer, - paidForBy, - }); - }); - }); - - describe('method: run', () => { - let getBlockMock: jest.Mock; - - beforeEach(() => { - getBlockMock = dsMockUtils.createRpcMock('chain', 'getBlock'); - getBlockMock.mockResolvedValue( - dsMockUtils.createMockSignedBlock({ - block: { - header: { - number: dsMockUtils.createMockCompact(dsMockUtils.createMockU32(new BigNumber(1))), - parentHash: 'hash', - stateRoot: 'hash', - extrinsicsRoot: 'hash', - }, - extrinsics: undefined, - }, - }) - ); - }); - - it('should execute the underlying transaction with the provided arguments, setting the tx and block hash when finished', async () => { - const transaction = dsMockUtils.createTxMock('utility', 'batchAll', { - autoResolve: false, - }); - const underlyingTx = dsMockUtils.createTxMock('asset', 'registerTicker'); - const args = tuple('A_TICKER'); - - const tx = new PolymeshTransactionBatch( - { - ...txSpec, - transactions: [{ transaction: underlyingTx, args }], - resolver: 3, - }, - context - ); - - const runPromise = tx.run().catch(noop); - - await fakePromise(); - - dsMockUtils.updateTxStatus(transaction, dsMockUtils.MockTxStatus.InBlock); - - await fakePromise(); - - dsMockUtils.updateTxStatus(transaction, dsMockUtils.MockTxStatus.Succeeded); - - await fakePromise(); - - expect(underlyingTx).toHaveBeenCalledWith(...args); - expect(tx.blockHash).toBeDefined(); - expect(tx.blockNumber).toBeDefined(); - expect(tx.txHash).toBeDefined(); - expect(tx.txIndex).toBeDefined(); - expect(tx.status).toBe(TransactionStatus.Succeeded); - - const result = await runPromise; - - expect(result).toBe(3); - }); - - it('should update the transaction status', async () => { - const transaction = dsMockUtils.createTxMock('utility', 'batchAll', { - autoResolve: false, - }); - const args = tuple('ANOTHER_TICKER'); - - const tx = new PolymeshTransactionBatch( - { - ...txSpec, - transactions: [ - { transaction: dsMockUtils.createTxMock('asset', 'registerTicker'), args }, - ], - resolver: undefined, - }, - context - ); - - expect(tx.status).toBe(TransactionStatus.Idle); - - tx.run().catch(noop); - - await fakePromise(2); - - expect(tx.status).toBe(TransactionStatus.Unapproved); - - dsMockUtils.updateTxStatus(transaction, dsMockUtils.MockTxStatus.Ready); - - await fakePromise(); - - expect(tx.status).toBe(TransactionStatus.Running); - - dsMockUtils.updateTxStatus(transaction, dsMockUtils.MockTxStatus.Intermediate); - - await fakePromise(); - - expect(tx.status).toBe(TransactionStatus.Running); - - dsMockUtils.updateTxStatus(transaction, dsMockUtils.MockTxStatus.InBlock); - - await fakePromise(); - - expect(tx.status).toBe(TransactionStatus.Running); - - dsMockUtils.updateTxStatus(transaction, dsMockUtils.MockTxStatus.Succeeded); - - await fakePromise(); - - expect(tx.status).toBe(TransactionStatus.Succeeded); - }); - - it('should resolve the result if it is a resolver function', async () => { - const transaction = dsMockUtils.createTxMock('asset', 'registerTicker'); - const args = tuple('YET_ANOTHER_TICKER'); - const resolverMock = jest.fn().mockResolvedValue(1); - const balance = { - free: new BigNumber(1000000), - locked: new BigNumber(0), - total: new BigNumber(1000000), - }; - - const subsidy = entityMockUtils.getSubsidyInstance(); - subsidy.subsidizer = entityMockUtils.getAccountInstance({ - getBalance: balance, - }); - - context = dsMockUtils.getContextInstance({ - subsidy: { - subsidy, - allowance: new BigNumber(10000), - }, - balance, - }); - - const tx = new PolymeshTransaction( - { - ...txSpec, - transaction, - args, - resolver: resolverMock, - }, - context - ); - - await tx.run(); - - expect(resolverMock).toHaveBeenCalledTimes(1); - }); - - it('should throw an error if attempting to run a transaction that has already run', async () => { - const transaction = dsMockUtils.createTxMock('asset', 'registerTicker'); - const args = tuple('HOW_MANY_TICKERS_DO_I_NEED'); - - const tx = new PolymeshTransaction( - { - ...txSpec, - transaction, - args, - resolver: undefined, - }, - context - ); - - await tx.run(); - - await fakePromise(); - - return expect(tx.run()).rejects.toThrow('Cannot re-run a Transaction'); - }); - - it('should throw an error when the transaction is aborted', async () => { - const transaction = dsMockUtils.createTxMock('asset', 'registerTicker', { - autoResolve: dsMockUtils.MockTxStatus.Aborted, - }); - const args = tuple('IT_HURTS'); - - const tx = new PolymeshTransaction( - { - ...txSpec, - transaction, - args, - resolver: undefined, - paidForBy: entityMockUtils.getIdentityInstance({ - getPrimaryAccount: { - account: entityMockUtils.getAccountInstance({ - getBalance: { - free: new BigNumber(10000), - locked: new BigNumber(0), - total: new BigNumber(10000), - }, - }), - }, - }), - }, - context - ); - - await expect(tx.run()).rejects.toThrow( - 'The transaction was removed from the transaction pool. This might mean that it was malformed (nonce too large/nonce too small/duplicated or invalid transaction)' - ); - expect(tx.status).toBe(TransactionStatus.Aborted); - }); - - it('should throw an error when the transaction fails', async () => { - let transaction = dsMockUtils.createTxMock('asset', 'registerTicker', { autoResolve: false }); - const args = tuple('PLEASE_MAKE_IT_STOP'); - - let tx = new PolymeshTransaction( - { - ...txSpec, - transaction, - args, - resolver: undefined, - }, - context - ); - let runPromise = tx.run(); - - await fakePromise(3); - - dsMockUtils.updateTxStatus( - transaction, - dsMockUtils.MockTxStatus.Failed, - dsMockUtils.TxFailReason.BadOrigin - ); - - await expect(runPromise).rejects.toThrow('Bad origin'); - expect(tx.status).toBe(TransactionStatus.Failed); - - transaction = dsMockUtils.createTxMock('asset', 'registerTicker', { autoResolve: false }); - tx = new PolymeshTransaction( - { - ...txSpec, - transaction, - args, - resolver: undefined, - }, - context - ); - runPromise = tx.run(); - - await fakePromise(1); - - dsMockUtils.updateTxStatus( - transaction, - dsMockUtils.MockTxStatus.Failed, - dsMockUtils.TxFailReason.CannotLookup - ); - - await expect(runPromise).rejects.toThrow( - 'Could not lookup information required to validate the transaction' - ); - expect(tx.status).toBe(TransactionStatus.Failed); - - transaction = dsMockUtils.createTxMock('asset', 'registerTicker', { autoResolve: false }); - tx = new PolymeshTransaction( - { - ...txSpec, - transaction, - args, - resolver: undefined, - }, - context - ); - runPromise = tx.run(); - - await fakePromise(1); - - dsMockUtils.updateTxStatus( - transaction, - dsMockUtils.MockTxStatus.Failed, - dsMockUtils.TxFailReason.Other - ); - - await expect(runPromise).rejects.toThrow('Unknown error'); - expect(tx.status).toBe(TransactionStatus.Failed); - - transaction = dsMockUtils.createTxMock('asset', 'registerTicker', { autoResolve: false }); - tx = new PolymeshTransaction( - { - ...txSpec, - transaction, - args, - resolver: undefined, - }, - context - ); - runPromise = tx.run(); - - await fakePromise(1); - - dsMockUtils.updateTxStatus( - transaction, - dsMockUtils.MockTxStatus.Failed, - dsMockUtils.TxFailReason.Module - ); - - await expect(runPromise).rejects.toThrow('someModule.SomeError: This is very bad'); - expect(tx.status).toBe(TransactionStatus.Failed); - }); - - it('should throw an error if there is a problem fetching block data', async () => { - const message = 'Something went wrong'; - getBlockMock.mockRejectedValue(new Error(message)); - - const transaction = dsMockUtils.createTxMock('asset', 'registerTicker', { - autoResolve: false, - }); - const args = tuple('HERE WE ARE AGAIN'); - - const tx = new PolymeshTransaction( - { - ...txSpec, - transaction, - args, - resolver: undefined, - }, - context - ); - const runPromise = tx.run(); - - await fakePromise(1); - - dsMockUtils.updateTxStatus(transaction, dsMockUtils.MockTxStatus.InBlock); - - await fakePromise(); - - dsMockUtils.updateTxStatus(transaction, dsMockUtils.MockTxStatus.Succeeded); - - return expect(runPromise).rejects.toThrow(message); - }); - - it('should throw an error if there is a problem unsubscribing', async () => { - const transaction = dsMockUtils.createTxMock('asset', 'registerTicker', { - autoResolve: false, - }); - const args = tuple('I HATE TESTING THESE THINGS'); - - const tx = new PolymeshTransaction( - { - ...txSpec, - transaction, - args, - resolver: undefined, - }, - context - ); - const runPromise = tx.run(); - - await fakePromise(1); - - dsMockUtils.updateTxStatus(transaction, dsMockUtils.MockTxStatus.InBlock); - - await fakePromise(); - - dsMockUtils.updateTxStatus(transaction, dsMockUtils.MockTxStatus.FailedToUnsubscribe); - - return expect(runPromise).rejects.toThrow(); - }); - - it('should throw an error when the transaction is rejected', async () => { - const transaction = dsMockUtils.createTxMock('asset', 'registerTicker', { - autoResolve: dsMockUtils.MockTxStatus.Rejected, - }); - const args = tuple('THIS_IS_THE_LAST_ONE_I_SWEAR'); - - const tx = new PolymeshTransaction( - { - ...txSpec, - transaction, - args, - resolver: undefined, - }, - context - ); - - await expect(tx.run()).rejects.toThrow('The user canceled the transaction signature'); - expect(tx.status).toBe(TransactionStatus.Rejected); - }); - - it('should throw an error if trying to run a transaction that cannot be subsidized with a subsidized Account', async () => { - const transaction = dsMockUtils.createTxMock('staking', 'bond', { - autoResolve: MockTxStatus.Succeeded, - }); - const args = tuple('JUST_KIDDING'); - - context = dsMockUtils.getContextInstance({ - subsidy: { - subsidy: entityMockUtils.getSubsidyInstance(), - allowance: new BigNumber(1000), - }, - supportsSubsidy: false, - }); - - const tx = new PolymeshTransaction( - { - ...txSpec, - transaction, - args, - resolver: undefined, - }, - context - ); - - await expect(tx.run()).rejects.toThrow( - 'This transaction cannot be run by a subsidized Account' - ); - expect(tx.status).toBe(TransactionStatus.Failed); - }); - - it('should throw an error if the subsidy does not have enough allowance', async () => { - const transaction = dsMockUtils.createTxMock('staking', 'bond', { - autoResolve: MockTxStatus.Succeeded, - }); - const args = tuple('JUST_KIDDING'); - - context = dsMockUtils.getContextInstance({ - subsidy: { - subsidy: entityMockUtils.getSubsidyInstance(), - allowance: new BigNumber(10), - }, - }); - - const tx = new PolymeshTransaction( - { - ...txSpec, - transaction, - args, - resolver: undefined, - }, - context - ); - - await expect(tx.run()).rejects.toThrow( - "Insufficient subsidy allowance to pay this transaction's fees" - ); - expect(tx.status).toBe(TransactionStatus.Failed); - }); - - it('should throw an error if the paying account does not have enough balance', async () => { - const transaction = dsMockUtils.createTxMock('staking', 'bond', { - autoResolve: MockTxStatus.Succeeded, - }); - const args = tuple('JUST_KIDDING'); - - context = dsMockUtils.getContextInstance({ - balance: { - free: new BigNumber(0), - locked: new BigNumber(0), - total: new BigNumber(0), - }, - }); - - const tx = new PolymeshTransaction( - { - ...txSpec, - transaction, - args, - resolver: undefined, - }, - context - ); - - await expect(tx.run()).rejects.toThrow( - "The caller Account does not have enough POLYX balance to pay this transaction's fees" - ); - expect(tx.status).toBe(TransactionStatus.Failed); - }); - - it('should throw error if the signing address is not available in the Context', async () => { - const transaction = dsMockUtils.createTxMock('staking', 'bond', { - autoResolve: MockTxStatus.Succeeded, - }); - const args = tuple('JUST_KIDDING'); - - const expectedError = new PolymeshError({ - code: ErrorCode.General, - message: 'The Account is not part of the Signing Manager attached to the ', - }); - context = dsMockUtils.getContextInstance(); - context.assertHasSigningAddress.mockRejectedValue(expectedError); - - const tx = new PolymeshTransaction( - { - ...txSpec, - transaction, - args, - resolver: undefined, - }, - context - ); - - return expect(() => tx.run()).rejects.toThrow(expectedError); - }); - - it('should call signAndSend with era 0 when given an immortal mortality option', async () => { - const transaction = dsMockUtils.createTxMock('staking', 'bond'); - const args = tuple('FOO'); - const txWithArgsMock = transaction(...args); - - const tx = new PolymeshTransaction( - { - ...txSpec, - mortality: { immortal: true }, - transaction, - args, - resolver: undefined, - }, - context - ); - - await tx.run(); - expect(txWithArgsMock.signAndSend).toHaveBeenCalledWith( - txSpec.signingAddress, - expect.objectContaining({ era: 0 }), - expect.any(Function) - ); - }); - - it('should call signAndSend with the lifetime when given a mortal mortality option', async () => { - const transaction = dsMockUtils.createTxMock('staking', 'bond'); - const args = tuple('FOO'); - const txWithArgsMock = transaction(...args); - - const tx = new PolymeshTransaction( - { - ...txSpec, - mortality: { immortal: false, lifetime: new BigNumber(7) }, - transaction, - args, - resolver: undefined, - }, - context - ); - - await tx.run(); - expect(txWithArgsMock.signAndSend).toHaveBeenCalledWith( - txSpec.signingAddress, - expect.objectContaining({ era: 7 }), - expect.any(Function) - ); - }); - }); - - describe('method: onStatusChange', () => { - it("should execute a callback when the transaction's status changes", async () => { - const transaction = dsMockUtils.createTxMock('asset', 'registerTicker'); - const args = tuple('I_HAVE_LOST_THE_WILL_TO_LIVE'); - - const tx = new PolymeshTransaction( - { - ...txSpec, - transaction, - args, - resolver: undefined, - }, - context - ); - - const listenerMock = jest.fn(); - - tx.onStatusChange(t => listenerMock(t.status)); - - await tx.run(); - - expect(listenerMock.mock.calls[0][0]).toBe(TransactionStatus.Unapproved); - expect(listenerMock.mock.calls[1][0]).toBe(TransactionStatus.Running); - expect(listenerMock.mock.calls[2][0]).toBe(TransactionStatus.Succeeded); - }); - - it('should return an unsubscribe function', async () => { - const transaction = dsMockUtils.createTxMock('asset', 'registerTicker', { - autoResolve: false, - }); - const args = tuple('THE_ONLY_THING_THAT_KEEPS_ME_GOING_IS_THE_HOPE_OF_FULL_COVERAGE'); - - const tx = new PolymeshTransaction( - { - ...txSpec, - transaction, - args, - resolver: undefined, - }, - context - ); - - const listenerMock = jest.fn(); - - const unsub = tx.onStatusChange(t => listenerMock(t.status)); - - tx.run().catch(noop); - - await fakePromise(); - - unsub(); - - expect(listenerMock.mock.calls[0][0]).toBe(TransactionStatus.Unapproved); - expect(listenerMock.mock.calls[1][0]).toBe(TransactionStatus.Running); - expect(listenerMock).toHaveBeenCalledTimes(2); - }); - }); - - describe('method: getTotalFees', () => { - let balanceToBigNumberSpy: jest.SpyInstance; - let protocolFees: BigNumber[]; - let gasFees: BigNumber[]; - let rawGasFees: Balance[]; - - beforeAll(() => { - balanceToBigNumberSpy = jest.spyOn(utilsConversionModule, 'balanceToBigNumber'); - protocolFees = [new BigNumber(250), new BigNumber(150)]; - gasFees = [new BigNumber(5), new BigNumber(10)]; - rawGasFees = gasFees.map(dsMockUtils.createMockBalance); - }); - - beforeEach(() => { - when(context.getProtocolFees) - .calledWith({ tags: [TxTags.asset.RegisterTicker] }) - .mockResolvedValue([ - { - tag: TxTags.asset.RegisterTicker, - fees: protocolFees[0], - }, - ]); - when(context.getProtocolFees) - .calledWith({ tags: [TxTags.asset.CreateAsset] }) - .mockResolvedValue([ - { - tag: TxTags.asset.CreateAsset, - fees: protocolFees[1], - }, - ]); - rawGasFees.forEach((rawGasFee, index) => - when(balanceToBigNumberSpy) - .calledWith(rawGasFee) - .mockReturnValue(new BigNumber(gasFees[index])) - ); - }); - - it('should fetch (if missing) and return transaction fees', async () => { - const tx1 = dsMockUtils.createTxMock('asset', 'registerTicker', { gas: rawGasFees[0] }); - const tx2 = dsMockUtils.createTxMock('asset', 'createAsset', { gas: rawGasFees[1] }); - dsMockUtils.createTxMock('utility', 'batchAll', { gas: rawGasFees[1] }); - - const args = tuple('OH_GOD_NO_IT_IS_BACK'); - - let tx: PolymeshTransactionBase = new PolymeshTransaction( - { - ...txSpec, - transaction: tx1, - args, - fee: undefined, - resolver: undefined, - }, - context - ); - - let { fees, payingAccountData } = await tx.getTotalFees(); - - expect(fees.protocol).toEqual(new BigNumber(250)); - expect(fees.gas).toEqual(new BigNumber(5)); - expect(payingAccountData.type).toBe(PayingAccountType.Caller); - expect(payingAccountData.account.address).toBe('0xdummy'); - expect(payingAccountData.balance).toEqual(new BigNumber(100000)); - - tx = new PolymeshTransaction( - { - ...txSpec, - transaction: tx1, - args, - fee: undefined, - feeMultiplier: new BigNumber(2), - resolver: undefined, - }, - context - ); - - ({ fees, payingAccountData } = await tx.getTotalFees()); - - expect(fees.protocol).toEqual(new BigNumber(500)); - expect(fees.gas).toEqual(new BigNumber(5)); - expect(payingAccountData.type).toBe(PayingAccountType.Caller); - expect(payingAccountData.account.address).toBe('0xdummy'); - expect(payingAccountData.balance).toEqual(new BigNumber(100000)); - - tx = new PolymeshTransaction( - { - ...txSpec, - fee: new BigNumber(protocolFees[1]), - transaction: tx2, - args, - resolver: undefined, - }, - context - ); - - ({ fees, payingAccountData } = await tx.getTotalFees()); - - expect(fees.protocol).toEqual(new BigNumber(150)); - expect(fees.gas).toEqual(new BigNumber(10)); - expect(payingAccountData.type).toBe(PayingAccountType.Caller); - expect(payingAccountData.account.address).toBe('0xdummy'); - expect(payingAccountData.balance).toEqual(new BigNumber(100000)); - - tx = new PolymeshTransaction( - { - ...txSpec, - fee: new BigNumber(protocolFees[1]), - transaction: tx2, - args, - resolver: undefined, - }, - context - ); - - ({ fees, payingAccountData } = await tx.getTotalFees()); - - expect(fees.protocol).toEqual(new BigNumber(150)); - expect(fees.gas).toEqual(new BigNumber(10)); - expect(payingAccountData.type).toBe(PayingAccountType.Caller); - expect(payingAccountData.account.address).toBe('0xdummy'); - expect(payingAccountData.balance).toEqual(new BigNumber(100000)); - - tx = new PolymeshTransactionBatch( - { - ...txSpec, - transactions: [ - { - transaction: tx1, - args, - }, - { - transaction: tx2, - args, - }, - ], - resolver: undefined, - }, - context - ); - - ({ fees, payingAccountData } = await tx.getTotalFees()); - - expect(fees.protocol).toEqual(new BigNumber(400)); - expect(fees.gas).toEqual(new BigNumber(10)); - expect(payingAccountData.type).toBe(PayingAccountType.Caller); - expect(payingAccountData.account.address).toBe('0xdummy'); - expect(payingAccountData.balance).toEqual(new BigNumber(100000)); - }); - }); - - describe('method: onProcessedByMiddleware', () => { - let blockNumber: BigNumber; - - beforeEach(() => { - blockNumber = new BigNumber(100); - context = dsMockUtils.getContextInstance({ - latestBlock: blockNumber, - middlewareEnabled: true, - balance: { - free: new BigNumber(100000), - locked: new BigNumber(0), - total: new BigNumber(100000), - }, - }); - }); - - it("should execute a callback when the queue's data has been processed by middleware V2", async () => { - const transaction = dsMockUtils.createTxMock('asset', 'registerTicker'); - const args = tuple('MAKE_IT_STOP'); - - const tx = new PolymeshTransaction( - { - ...txSpec, - transaction, - args, - resolver: undefined, - }, - dsMockUtils.getContextInstance({ - latestBlock: blockNumber, - middlewareEnabled: true, - balance: { - free: new BigNumber(100000), - locked: new BigNumber(0), - total: new BigNumber(100000), - }, - }) - ); - - const listenerMock = jest.fn(); - tx.onProcessedByMiddleware(err => listenerMock(err)); - - const mock = dsMockUtils.createApolloQueryMock(latestBlockQuery(), { - blocks: { nodes: [{ blockId: blockNumber.minus(1).toNumber() }] }, - }); - - when(mock) - .calledWith(latestBlockQuery()) - .mockResolvedValue({ - data: { - blocks: { nodes: [{ blockId: blockNumber.toNumber() }] }, - }, - }); - - await tx.run(); - - await fakePromises(); - - expect(listenerMock).toHaveBeenCalledWith(undefined); - }); - - it('should execute a callback with an error if 10 seconds pass without the data being processed by middleware ', async () => { - const transaction = dsMockUtils.createTxMock('asset', 'registerTicker'); - const args = tuple('THE_PAIN_IS_UNBEARABLE'); - - const tx = new PolymeshTransaction( - { - ...txSpec, - transaction, - args, - resolver: undefined, - }, - dsMockUtils.getContextInstance({ - latestBlock: blockNumber, - middlewareEnabled: true, - balance: { - free: new BigNumber(100000), - locked: new BigNumber(0), - total: new BigNumber(100000), - }, - }) - ); - - const listenerMock = jest.fn(); - tx.onProcessedByMiddleware(err => listenerMock(err)); - - dsMockUtils.createApolloQueryMock(latestBlockQuery(), { - blocks: { nodes: [{ blockId: blockNumber.minus(1).toNumber() }] }, - }); - - await tx.run(); - - await fakePromises(); - - expect(listenerMock.mock.calls[0][0].message).toBe( - 'Middleware has not synced after 5 attempts' - ); - }); - - it('should throw an error if both middleware v1 and v2 are not enabled', async () => { - const transaction = dsMockUtils.createTxMock('asset', 'registerTicker'); - const args = tuple('PLEASE_NO_MORE'); - - const tx = new PolymeshTransaction( - { - ...txSpec, - transaction, - args, - resolver: undefined, - }, - dsMockUtils.getContextInstance({ - middlewareEnabled: false, - balance: { - free: new BigNumber(100000), - locked: new BigNumber(0), - total: new BigNumber(100000), - }, - }) - ); - - const listenerMock = jest.fn(); - - await tx.run(); - expect(() => tx.onProcessedByMiddleware(err => listenerMock(err))).toThrow( - 'Cannot subscribe without an enabled middleware connection' - ); - }); - - it('should return an unsubscribe function', async () => { - const transaction = dsMockUtils.createTxMock('asset', 'registerTicker'); - const args = tuple("I'M_DONE"); - - const tx = new PolymeshTransaction( - { - ...txSpec, - transaction, - args, - resolver: undefined, - }, - context - ); - - const listenerMock = jest.fn(); - const unsub = tx.onProcessedByMiddleware(err => listenerMock(err)); - - dsMockUtils.createApolloQueryMock(latestBlockQuery(), { - blocks: { nodes: [{ blockId: blockNumber.minus(1).toNumber() }] }, - }); - - await tx.run(); - - await fakePromises(); - - unsub(); - - // eslint-disable-next-line @typescript-eslint/no-explicit-any - (tx as any).emitter.emit('ProcessedByMiddleware'); - - expect(listenerMock).toHaveBeenCalledTimes(1); - }); - }); - - describe('getter: result', () => { - it('should return a result if the transaction was successful', async () => { - const transaction = dsMockUtils.createTxMock('asset', 'registerTicker'); - const resolver = (): number => 1; - const transformer = (): number => 2; - const args = tuple('FOO'); - const tx = new PolymeshTransaction( - { - ...txSpec, - transaction, - args, - resolver, - transformer, - }, - context - ); - - await tx.run(); - - expect(tx.result).toEqual(2); - }); - - it('should throw an error is the transaction was not successful', () => { - const transaction = dsMockUtils.createTxMock('asset', 'registerTicker'); - const args = tuple('FOO'); - const tx = new PolymeshTransaction( - { - ...txSpec, - transaction, - args, - resolver: undefined, - }, - context - ); - - const expectedError = new PolymeshError({ - code: ErrorCode.General, - message: - 'The result of the transaction was checked before it has been completed. property `result` should only be read if transaction `isSuccess` property is true', - }); - - expect(() => tx.result).toThrowError(expectedError); - }); - }); - - describe('getter: isSuccess', () => { - it('should be true if the transaction status is TransactionStatus.Success', async () => { - const transaction = dsMockUtils.createTxMock('asset', 'registerTicker'); - const args = tuple('FOO'); - const tx = new PolymeshTransaction( - { - ...txSpec, - transaction, - args, - resolver: undefined, - }, - context - ); - - await tx.run(); - - expect(tx.isSuccess).toEqual(true); - }); - - it('should be false otherwise', () => { - const transaction = dsMockUtils.createTxMock('asset', 'registerTicker'); - const args = tuple('FOO'); - const tx = new PolymeshTransaction( - { - ...txSpec, - transaction, - args, - resolver: undefined, - }, - context - ); - - expect(tx.isSuccess).toEqual(false); - }); - }); - - describe('toSignablePayload', () => { - it('should return the payload', async () => { - const mockBlockNumber = dsMockUtils.createMockU32(new BigNumber(1)); - - dsMockUtils.configureMocks({ - contextOptions: { - nonce: new BigNumber(3), - }, - }); - - dsMockUtils.createRpcMock('chain', 'getFinalizedHead', { - returnValue: dsMockUtils.createMockSignedBlock({ - block: { - header: { - parentHash: 'hash', - number: dsMockUtils.createMockCompact(mockBlockNumber), - extrinsicsRoot: 'hash', - stateRoot: 'hash', - }, - extrinsics: undefined, - }, - }), - }); - - const genesisHash = '0x1234'; - jest.spyOn(context.polymeshApi.genesisHash, 'toString').mockReturnValue(genesisHash); - - const era = dsMockUtils.createMockExtrinsicsEra(); - - const mockSignerPayload = createMockSigningPayload(); - - when(context.createType) - .calledWith('SignerPayload', expect.objectContaining({ genesisHash })) - .mockReturnValue(mockSignerPayload); - - const transaction = dsMockUtils.createTxMock('asset', 'registerTicker'); - const args = tuple('FOO'); - - let tx = new PolymeshTransaction( - { - ...txSpec, - transaction, - args, - resolver: undefined, - mortality: { immortal: true }, - }, - context - ); - - const result = await tx.toSignablePayload(); - - expect(result).toMatchObject( - expect.objectContaining({ - payload: 'fakePayload', - rawPayload: 'fakeRawPayload', - method: expect.stringContaining('0x'), - metadata: {}, - }) - ); - - when(context.createType) - .calledWith( - 'ExtrinsicEra', - expect.objectContaining({ current: expect.any(Number), period: expect.any(Number) }) - ) - .mockReturnValue(era); - - tx = new PolymeshTransaction( - { - ...txSpec, - transaction, - args, - resolver: undefined, - mortality: { immortal: false, lifetime: new BigNumber(32) }, - }, - context - ); - - await tx.toSignablePayload(); - - expect(context.createType).toHaveBeenCalledWith( - 'ExtrinsicEra', - expect.objectContaining({ current: expect.any(Number), period: expect.any(Number) }) - ); - - tx = new PolymeshTransaction( - { - ...txSpec, - transaction, - args, - resolver: undefined, - mortality: { immortal: false }, - }, - context - ); - - context.getNonce.mockReturnValue(new BigNumber(-1)); - const mockIndex = dsMockUtils.createMockIndex(new BigNumber(3)); - - const mockNextIndex = dsMockUtils.createRpcMock('system', 'accountNextIndex', { - returnValue: mockIndex, - }); - - await tx.toSignablePayload(); - - expect(mockNextIndex).toHaveBeenCalled(); - }); - }); -}); diff --git a/src/base/__tests__/PolymeshTransactionBatch.ts b/src/base/__tests__/PolymeshTransactionBatch.ts deleted file mode 100644 index 02af0d9659..0000000000 --- a/src/base/__tests__/PolymeshTransactionBatch.ts +++ /dev/null @@ -1,308 +0,0 @@ -import { Signer as PolkadotSigner } from '@polkadot/types/types'; -import BigNumber from 'bignumber.js'; -import { noop } from 'lodash'; - -import { Context, PolymeshTransactionBatch } from '~/internal'; -import { fakePromise } from '~/testUtils'; -import { dsMockUtils, entityMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; -import { TransactionStatus, TxTags } from '~/types'; -import { tuple } from '~/types/utils'; - -describe('Polymesh Transaction Batch class', () => { - let context: Mocked; - - beforeAll(() => { - dsMockUtils.initMocks(); - entityMockUtils.initMocks(); - }); - - beforeEach(() => { - context = dsMockUtils.getContextInstance({ - balance: { - free: new BigNumber(100000), - locked: new BigNumber(0), - total: new BigNumber(100000), - }, - }); - }); - - const txSpec = { - signingAddress: 'signingAddress', - signer: 'signer' as PolkadotSigner, - mortality: { immortal: false } as const, - }; - - afterEach(() => { - dsMockUtils.reset(); - entityMockUtils.reset(); - }); - - describe('method: toTransactionSpec', () => { - it('should return the tx spec of a transaction', () => { - const transaction = dsMockUtils.createTxMock('asset', 'registerTicker'); - const args = tuple('FOO'); - const resolver = (): number => 1; - const transformer = (): number => 2; - const paidForBy = entityMockUtils.getIdentityInstance(); - - const tx = new PolymeshTransactionBatch( - { - ...txSpec, - transactions: [ - { transaction, args, fee: new BigNumber(100), feeMultiplier: new BigNumber(10) }, - ], - resolver, - transformer, - paidForBy, - }, - context - ); - - expect(PolymeshTransactionBatch.toTransactionSpec(tx)).toEqual({ - resolver, - transformer, - paidForBy, - transactions: [ - { - transaction, - args, - feeMultiplier: new BigNumber(10), - fee: new BigNumber(100), - }, - ], - }); - }); - }); - - describe('get: transactions', () => { - it('should return transactions and their arguments', () => { - const transaction = dsMockUtils.createTxMock('asset', 'registerTicker'); - const args = tuple('A_TICKER'); - - const transactions = [ - { - transaction, - args, - }, - ]; - - const tx = new PolymeshTransactionBatch( - { - ...txSpec, - transactions, - resolver: undefined, - }, - context - ); - - const expectedResult = [ - { - tag: TxTags.asset.RegisterTicker, - args, - }, - ]; - - expect(tx.transactions).toEqual(expectedResult); - }); - }); - - describe('method: run', () => { - beforeAll(() => { - dsMockUtils.createRpcMock('chain', 'getBlock', { - returnValue: dsMockUtils.createMockSignedBlock({ - block: { - header: { - number: dsMockUtils.createMockCompact(dsMockUtils.createMockU32(new BigNumber(1))), - parentHash: 'hash', - stateRoot: 'hash', - extrinsicsRoot: 'hash', - }, - extrinsics: undefined, - }, - }), - }); - }); - it('should execute the underlying transaction with the provided arguments, setting the tx and block hash when finished', async () => { - const transaction = dsMockUtils.createTxMock('asset', 'registerTicker'); - const batchMock = dsMockUtils.createTxMock('utility', 'batchAll', { autoResolve: false }); - const args = tuple('A_TICKER'); - - const tx = new PolymeshTransactionBatch( - { - ...txSpec, - transactions: [ - { - transaction, - args, - }, - ], - resolver: undefined, - }, - context - ); - - tx.run().catch(noop); - - await fakePromise(2); - - dsMockUtils.updateTxStatus(batchMock, dsMockUtils.MockTxStatus.InBlock); - - await fakePromise(); - - dsMockUtils.updateTxStatus(batchMock, dsMockUtils.MockTxStatus.Succeeded); - - await fakePromise(); - - expect(transaction).toHaveBeenCalledWith(...args); - expect(tx.blockHash).toBeDefined(); - expect(tx.blockNumber).toBeDefined(); - expect(tx.txHash).toBeDefined(); - expect(tx.status).toBe(TransactionStatus.Succeeded); - }); - - it('should throw an error when one of the transactions in the batch fails', async () => { - const transaction = dsMockUtils.createTxMock('asset', 'registerTicker'); - const batchMock = dsMockUtils.createTxMock('utility', 'batchAll', { - autoResolve: false, - }); - const args = tuple('ANOTHER_TICKER'); - - const tx = new PolymeshTransactionBatch( - { - ...txSpec, - transactions: [ - { - transaction, - args, - }, - ], - resolver: undefined, - }, - context - ); - const runPromise = tx.run(); - - await fakePromise(2); - - dsMockUtils.updateTxStatus(batchMock, dsMockUtils.MockTxStatus.BatchInterrupted); - - await expect(runPromise).rejects.toThrow('Unknown error'); - expect(tx.status).toBe(TransactionStatus.Failed); - }); - }); - - describe('method: supportsSubsidy', () => { - it('should return false', () => { - const transaction = dsMockUtils.createTxMock('asset', 'registerTicker'); - const args = tuple('A_TICKER'); - - const transactions = [ - { - transaction, - args, - }, - ]; - - const tx = new PolymeshTransactionBatch( - { - ...txSpec, - transactions, - resolver: undefined, - }, - context - ); - - expect(tx.supportsSubsidy()).toBe(false); - }); - }); - - describe('method: splitTransactions', () => { - it('should return an array of the individual transactions in the batch', async () => { - const tx1 = dsMockUtils.createTxMock('asset', 'registerTicker'); - const tx2 = dsMockUtils.createTxMock('asset', 'createAsset'); - const args = tuple('A_TICKER'); - - const transactions = [ - { - transaction: tx1, - args, - }, - { - transaction: tx2, - args, - }, - ]; - - const batch1 = new PolymeshTransactionBatch( - { - ...txSpec, - transactions, - resolver: (): number => 1, - }, - context - ); - - const splitTransactions1 = batch1.splitTransactions(); - - expect(splitTransactions1.length).toBe(2); - - const result1a = await splitTransactions1[0].run(); - const result1b = await splitTransactions1[1].run(); - - expect(result1a).toBe(undefined); - expect(result1b).toBe(1); - - const batch2 = new PolymeshTransactionBatch( - { - ...txSpec, - transactions, - resolver: 'foo', - }, - context - ); - - const splitTransactions2 = batch2.splitTransactions(); - - expect(splitTransactions2.length).toBe(2); - - const result2a = await splitTransactions2[0].run(); - const result2b = await splitTransactions2[1].run(); - - expect(result2a).toBe(undefined); - expect(result2b).toBe('foo'); - }); - - it('should ensure transactions are run in the same order as they come in the batch', () => { - const tx1 = dsMockUtils.createTxMock('asset', 'registerTicker'); - const tx2 = dsMockUtils.createTxMock('asset', 'createAsset'); - const args = tuple('A_TICKER'); - - const transactions = [ - { - transaction: tx1, - args, - }, - { - transaction: tx2, - args, - }, - ]; - - const batch = new PolymeshTransactionBatch( - { - ...txSpec, - transactions, - resolver: (): number => 1, - }, - context - ); - - const splitTransactions = batch.splitTransactions(); - - expect(() => splitTransactions[1].run()).toThrow( - 'Transactions resulting from splitting a batch must be run in order' - ); - }); - }); -}); diff --git a/src/base/__tests__/utils.ts b/src/base/__tests__/utils.ts deleted file mode 100644 index b1f5a588fe..0000000000 --- a/src/base/__tests__/utils.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { TypeDef } from '@polkadot/types/types'; - -import { TransactionArgumentType } from '~/types'; - -import { processType } from '../utils'; - -describe('Process Type', () => { - it('should be a function', () => { - expect(processType).toBeInstanceOf(Function); - }); - - it('should return unknown type if info contains previously unknown type', () => { - const rawType = { info: 1000 } as unknown as TypeDef; - const name = 'foo'; - - const result = processType(rawType, name); - - expect(result.type).toBe(TransactionArgumentType.Unknown); - }); -}); diff --git a/src/base/types.ts b/src/base/types.ts deleted file mode 100644 index 3e9f8cf162..0000000000 --- a/src/base/types.ts +++ /dev/null @@ -1,48 +0,0 @@ -/* istanbul ignore file: already being tested somewhere else */ - -import { SignerPayloadJSON, SignerPayloadRaw } from '@polkadot/types/types'; -import { HexString } from '@polkadot/util/types'; - -import { PolymeshError as PolymeshErrorClass } from './PolymeshError'; -import { PolymeshTransaction as PolymeshTransactionClass } from './PolymeshTransaction'; -import { PolymeshTransactionBatch as PolymeshTransactionBatchClass } from './PolymeshTransactionBatch'; - -export interface TransactionPayload { - /** - * This is what a Polkadot signer ".signPayload" method expects - */ - readonly payload: SignerPayloadJSON; - - /** - * An alternative representation of the payload for which Polkadot signers providing ".signRaw" expect. - * - * @note the signature should be prefixed with a single byte to indicate its type. Prepend a zero byte (`0x00`) for ed25519 or a `0x01` byte to indicate sr25519 if the signer implementation does not already do so. - */ - readonly rawPayload: SignerPayloadRaw; - - /** - * A hex representation of the core extrinsic information. i.e. the extrinsic and args, but does not contain information about who is to sign the transaction. - * - * When submitting the transaction this will be used to construct the extrinsic, to which - * the signer payload and signature will be attached to. - * - */ - readonly method: HexString; - - /** - * Additional information attached to the payload, such as IDs or memos about the transaction - */ - readonly metadata: Record; -} - -export type PolymeshTransaction< - ReturnValue = unknown, - TransformedReturnValue = ReturnValue, - Args extends unknown[] | [] = unknown[] -> = PolymeshTransactionClass; -export type PolymeshTransactionBatch< - ReturnValue = unknown, - TransformedReturnValue = ReturnValue, - Args extends unknown[][] = unknown[][] -> = PolymeshTransactionBatchClass; -export type PolymeshError = PolymeshErrorClass; diff --git a/src/base/utils.ts b/src/base/utils.ts deleted file mode 100644 index 414fc37957..0000000000 --- a/src/base/utils.ts +++ /dev/null @@ -1,172 +0,0 @@ -import { getTypeDef } from '@polkadot/types'; -import { SpRuntimeDispatchError } from '@polkadot/types/lookup'; -import { RegistryError, TypeDef, TypeDefInfo } from '@polkadot/types/types'; -import { polymesh } from 'polymesh-types/definitions'; - -import { PolymeshError } from '~/internal'; -import { - ArrayTransactionArgument, - ComplexTransactionArgument, - ErrorCode, - PlainTransactionArgument, - SimpleEnumTransactionArgument, - TransactionArgument, - TransactionArgumentType, -} from '~/types'; -import { ROOT_TYPES } from '~/utils/constants'; - -const { types } = polymesh; - -const getRootType = ( - type: string -): - | PlainTransactionArgument - | ArrayTransactionArgument - | SimpleEnumTransactionArgument - | ComplexTransactionArgument => { - const rootType = ROOT_TYPES[type]; - - if (rootType) { - return { - type: rootType, - }; - } - if (type === 'Null') { - return { - type: TransactionArgumentType.Null, - }; - } - - // eslint-disable-next-line @typescript-eslint/no-explicit-any - const definition = (types as any)[type]; - - if (!definition) { - return { - type: TransactionArgumentType.Unknown, - }; - } - - const typeDef = getTypeDef(JSON.stringify(definition)); - - if (typeDef.info === TypeDefInfo.Plain) { - return getRootType(definition); - } - - // eslint-disable-next-line @typescript-eslint/no-use-before-define - return processType(typeDef, ''); -}; - -export const processType = (rawType: TypeDef, name: string): TransactionArgument => { - const { type, info, sub } = rawType; - - const arg = { - name, - optional: false, - _rawType: rawType, - }; - - switch (info) { - case TypeDefInfo.Plain: { - return { - ...getRootType(type), - ...arg, - }; - } - case TypeDefInfo.Compact: { - return { - ...processType(sub as TypeDef, name), - ...arg, - }; - } - case TypeDefInfo.Option: { - return { - ...processType(sub as TypeDef, name), - ...arg, - optional: true, - }; - } - case TypeDefInfo.Tuple: { - return { - type: TransactionArgumentType.Tuple, - ...arg, - internal: (sub as TypeDef[]).map((def, index) => processType(def, `${index}`)), - }; - } - case TypeDefInfo.Vec: { - return { - type: TransactionArgumentType.Array, - ...arg, - internal: processType(sub as TypeDef, ''), - }; - } - case TypeDefInfo.VecFixed: { - return { - type: TransactionArgumentType.Text, - ...arg, - }; - } - case TypeDefInfo.Enum: { - const subTypes = sub as TypeDef[]; - - const isSimple = subTypes.every(({ type: subType }) => subType === 'Null'); - - if (isSimple) { - return { - type: TransactionArgumentType.SimpleEnum, - ...arg, - // eslint-disable-next-line @typescript-eslint/no-non-null-assertion - internal: subTypes.map(({ name: subName }) => subName!), - }; - } - - return { - type: TransactionArgumentType.RichEnum, - ...arg, - // eslint-disable-next-line @typescript-eslint/no-non-null-assertion - internal: subTypes.map(def => processType(def, def.name!)), - }; - } - case TypeDefInfo.Struct: { - return { - type: TransactionArgumentType.Object, - ...arg, - // eslint-disable-next-line @typescript-eslint/no-non-null-assertion - internal: (sub as TypeDef[]).map(def => processType(def, def.name!)), - }; - } - default: { - return { - type: TransactionArgumentType.Unknown, - ...arg, - }; - } - } -}; - -/** - * @hidden - */ -export const handleExtrinsicFailure = ( - reject: (reason?: unknown) => void, - error: SpRuntimeDispatchError, - data?: Record -): void => { - // get revert message from event - let message: string; - - if (error.isModule) { - // known error - const mod = error.asModule; - - const { section, name, docs }: RegistryError = mod.registry.findMetaError(mod); - message = `${section}.${name}: ${docs.join(' ')}`; - } else if (error.isBadOrigin) { - message = 'Bad origin'; - } else if (error.isCannotLookup) { - message = 'Could not lookup information required to validate the transaction'; - } else { - message = 'Unknown error'; - } - - reject(new PolymeshError({ code: ErrorCode.TransactionReverted, message, data })); -}; diff --git a/src/index.ts b/src/index.ts index ef92e1ef68..f2a74a4620 100644 --- a/src/index.ts +++ b/src/index.ts @@ -2,5 +2,5 @@ import './polkadot/augment-api'; import BigNumber from 'bignumber.js'; -export { Polymesh } from '~/api/client/Polymesh'; +export { ConfidentialPolymesh } from '~/api/client/Polymesh'; export { BigNumber }; diff --git a/src/internal.ts b/src/internal.ts index 7441eae5fe..e23a105046 100644 --- a/src/internal.ts +++ b/src/internal.ts @@ -1,182 +1,23 @@ /* istanbul ignore file */ -export { PolymeshError } from '~/base/PolymeshError'; -export { Context } from '~/base/Context'; -export { PolymeshTransactionBase } from '~/base/PolymeshTransactionBase'; -export { PolymeshTransaction } from '~/base/PolymeshTransaction'; -export { PolymeshTransactionBatch } from '~/base/PolymeshTransactionBatch'; -export { Procedure } from '~/base/Procedure'; -export { Entity } from '~/api/entities/Entity'; -export { Namespace } from '~/api/entities/Namespace'; -export { Authorizations } from '~/api/entities/common/namespaces/Authorizations'; -export { TransferRestrictionBase } from '~/api/entities/Asset/Fungible/TransferRestrictions/TransferRestrictionBase'; -export { - consumeAddMultiSigSignerAuthorization, - ConsumeAddMultiSigSignerAuthorizationParams, -} from '~/api/procedures/consumeAddMultiSigSignerAuthorization'; -export { - consumeAddRelayerPayingKeyAuthorization, - ConsumeAddRelayerPayingKeyAuthorizationParams, -} from '~/api/procedures/consumeAddRelayerPayingKeyAuthorization'; -export { - consumeJoinOrRotateAuthorization, - ConsumeJoinOrRotateAuthorizationParams, -} from '~/api/procedures/consumeJoinOrRotateAuthorization'; +export * from '@polymeshassociation/polymesh-sdk/internal'; + +export { ConfidentialProcedure } from '~/base/ConfidentialProcedure'; export { addConfidentialTransaction } from '~/api/procedures/addConfidentialTransaction'; -export { addInstruction } from '~/api/procedures/addInstruction'; -export { executeManualInstruction } from '~/api/procedures/executeManualInstruction'; export { executeConfidentialTransaction } from '~/api/procedures/executeConfidentialTransaction'; export { affirmConfidentialTransactions } from '~/api/procedures/affirmConfidentialTransactions'; export { rejectConfidentialTransaction } from '~/api/procedures/rejectConfidentialTransaction'; -export { - consumeAuthorizationRequests, - ConsumeAuthorizationRequestsParams, - ConsumeParams, -} from '~/api/procedures/consumeAuthorizationRequests'; -export { createPortfolios } from '~/api/procedures/createPortfolios'; -export { createAsset } from '~/api/procedures/createAsset'; -export { createNftCollection } from '~/api/procedures/createNftCollection'; -export { createVenue } from '~/api/procedures/createVenue'; -export { inviteAccount } from '~/api/procedures/inviteAccount'; -export { subsidizeAccount } from '~/api/procedures/subsidizeAccount'; -export { issueTokens, IssueTokensParams } from '~/api/procedures/issueTokens'; -export { modifyClaims } from '~/api/procedures/modifyClaims'; -export { modifyInstructionAffirmation } from '~/api/procedures/modifyInstructionAffirmation'; -export { modifyAsset } from '~/api/procedures/modifyAsset'; -export { - modifyAssetTrustedClaimIssuers, - Params as ModifyAssetTrustedClaimIssuersParams, -} from '~/api/procedures/modifyAssetTrustedClaimIssuers'; -export { registerIdentity } from '~/api/procedures/registerIdentity'; -export { createChildIdentity } from '~/api/procedures/createChildIdentity'; -export { attestPrimaryKeyRotation } from '~/api/procedures/attestPrimaryKeyRotation'; -export { rotatePrimaryKey } from '~/api/procedures/rotatePrimaryKey'; -export { removeSecondaryAccounts } from '~/api/procedures/removeSecondaryAccounts'; -export { - modifySignerPermissions, - Storage as modifySignerPermissionsStorage, -} from '~/api/procedures/modifySignerPermissions'; -export { reserveTicker } from '~/api/procedures/reserveTicker'; -export { setAssetDocuments } from '~/api/procedures/setAssetDocuments'; -export { setAssetRequirements } from '~/api/procedures/setAssetRequirements'; -export { modifyComplianceRequirement } from '~/api/procedures/modifyComplianceRequirement'; -export { addAssetRequirement } from '~/api/procedures/addAssetRequirement'; -export { removeAssetRequirement } from '~/api/procedures/removeAssetRequirement'; -export { - toggleFreezeTransfers, - ToggleFreezeTransfersParams, -} from '~/api/procedures/toggleFreezeTransfers'; -export { - togglePauseRequirements, - TogglePauseRequirementsParams, -} from '~/api/procedures/togglePauseRequirements'; -export { evaluateMultiSigProposal } from '~/api/procedures/evaluateMultiSigProposal'; -export { transferPolyx } from '~/api/procedures/transferPolyx'; -export { transferAssetOwnership } from '~/api/procedures/transferAssetOwnership'; -export { deletePortfolio } from '~/api/procedures/deletePortfolio'; -export { renamePortfolio } from '~/api/procedures/renamePortfolio'; -export { moveFunds } from '~/api/procedures/moveFunds'; -export { setCustodian } from '~/api/procedures/setCustodian'; -export { redeemTokens } from '~/api/procedures/redeemTokens'; -export { redeemNft } from '~/api/procedures/redeemNft'; -export { - addTransferRestriction, - AddTransferRestrictionParams, -} from '~/api/procedures/addTransferRestriction'; -export { launchOffering } from '~/api/procedures/launchOffering'; -export { - setTransferRestrictions, - Storage as SetTransferRestrictionsStorage, -} from '~/api/procedures/setTransferRestrictions'; -export { - toggleFreezeOffering, - ToggleFreezeOfferingParams, -} from '~/api/procedures/toggleFreezeOffering'; -export { closeOffering } from '~/api/procedures/closeOffering'; -export { modifyOfferingTimes } from '~/api/procedures/modifyOfferingTimes'; -export { investInOffering } from '~/api/procedures/investInOffering'; -export { createCheckpoint } from '~/api/procedures/createCheckpoint'; -export { controllerTransfer } from '~/api/procedures/controllerTransfer'; -export { linkCaDocs } from '~/api/procedures/linkCaDocs'; export { createConfidentialAsset } from '~/api/procedures/createConfidentialAsset'; export { createConfidentialAccount } from '~/api/procedures/createConfidentialAccount'; -export { Identity } from '~/api/entities/Identity'; -export { ChildIdentity } from '~/api/entities/Identity/ChildIdentity'; -export { Account } from '~/api/entities/Account'; -export { MultiSig } from '~/api/entities/Account/MultiSig'; -export { MultiSigProposal } from '~/api/entities/MultiSigProposal'; -export { TickerReservation } from '~/api/entities/TickerReservation'; -export { BaseAsset, FungibleAsset, NftCollection, Nft } from '~/api/entities/Asset'; export { issueConfidentialAssets } from '~/api/procedures/issueConfidentialAssets'; export { burnConfidentialAssets } from '~/api/procedures/burnConfidentialAssets'; export { applyIncomingAssetBalance } from '~/api/procedures/applyIncomingAssetBalance'; export { applyIncomingConfidentialAssetBalances } from '~/api/procedures/applyIncomingConfidentialAssetBalances'; -export { ConfidentialAccount } from '~/api/entities/confidential/ConfidentialAccount'; -export { ConfidentialAsset } from '~/api/entities/confidential/ConfidentialAsset'; +export { ConfidentialAccount } from '~/api/entities/ConfidentialAccount'; +export { ConfidentialAsset } from '~/api/entities/ConfidentialAsset'; export { createConfidentialVenue } from '~/api/procedures/createConfidentialVenue'; -export { ConfidentialVenue } from '~/api/entities/confidential/ConfidentialVenue'; -export { ConfidentialTransaction } from '~/api/entities/confidential/ConfidentialTransaction'; -export { MetadataEntry } from '~/api/entities/MetadataEntry'; -export { registerMetadata } from '~/api/procedures/registerMetadata'; -export { setMetadata } from '~/api/procedures/setMetadata'; -export { clearMetadata } from '~/api/procedures/clearMetadata'; -export { removeLocalMetadata } from '~/api/procedures/removeLocalMetadata'; -export { AuthorizationRequest } from '~/api/entities/AuthorizationRequest'; -export { DefaultTrustedClaimIssuer } from '~/api/entities/DefaultTrustedClaimIssuer'; -export { Offering } from '~/api/entities/Offering'; -export { Venue, addInstructionTransformer } from '~/api/entities/Venue'; -export { Instruction } from '~/api/entities/Instruction'; -export { Portfolio } from '~/api/entities/Portfolio'; -export { DefaultPortfolio } from '~/api/entities/DefaultPortfolio'; -export { NumberedPortfolio } from '~/api/entities/NumberedPortfolio'; -export { Checkpoint } from '~/api/entities/Checkpoint'; -export { CheckpointSchedule } from '~/api/entities/CheckpointSchedule'; -export { PermissionGroup } from '~/api/entities/PermissionGroup'; -export { KnownPermissionGroup } from '~/api/entities/KnownPermissionGroup'; -export { CustomPermissionGroup } from '~/api/entities/CustomPermissionGroup'; -export { Subsidy } from '~/api/entities/Subsidy'; -export { createCheckpointSchedule } from '~/api/procedures/createCheckpointSchedule'; -export { CorporateActionBase } from '~/api/entities/CorporateActionBase'; -export { CorporateAction } from '~/api/entities/CorporateAction'; -export { removeCheckpointSchedule } from '~/api/procedures/removeCheckpointSchedule'; -export { DividendDistribution } from '~/api/entities/DividendDistribution'; -export { modifyCorporateActionsAgent } from '~/api/procedures/modifyCorporateActionsAgent'; -export { configureDividendDistribution } from '~/api/procedures/configureDividendDistribution'; -export { claimDividends } from '~/api/procedures/claimDividends'; -export { modifyCaCheckpoint } from '~/api/procedures/modifyCaCheckpoint'; -export { payDividends } from '~/api/procedures/payDividends'; -export { modifyCaDefaultConfig } from '~/api/procedures/modifyCaDefaultConfig'; -export { removeCorporateAction } from '~/api/procedures/removeCorporateAction'; -export { reclaimDividendDistributionFunds } from '~/api/procedures/reclaimDividendDistributionFunds'; -export { transferTickerOwnership } from '~/api/procedures/transferTickerOwnership'; -export { toggleFreezeSecondaryAccounts } from '~/api/procedures/toggleFreezeSecondaryAccounts'; -export { modifyVenue } from '~/api/procedures/modifyVenue'; -export { leaveIdentity } from '~/api/procedures/leaveIdentity'; -export { createGroup } from '~/api/procedures/createGroup'; -export { quitCustody } from '~/api/procedures/quitCustody'; -export { inviteExternalAgent } from '~/api/procedures/inviteExternalAgent'; -export { setPermissionGroup } from '~/api/procedures/setPermissionGroup'; -export { setGroupPermissions } from '~/api/procedures/setGroupPermissions'; -export { removeExternalAgent } from '~/api/procedures/removeExternalAgent'; -export { waivePermissions } from '~/api/procedures/waivePermissions'; -export { quitSubsidy, QuitSubsidyParams } from '~/api/procedures/quitSubsidy'; -export { modifyAllowance, ModifyAllowanceParams } from '~/api/procedures/modifyAllowance'; -export { createTransactionBatch } from '~/api/procedures/createTransactionBatch'; -export { createMultiSigAccount } from '~/api/procedures/createMultiSig'; -export { acceptPrimaryKeyRotation } from '~/api/procedures/acceptPrimaryKeyRotation'; -export { addAssetMediators } from '~/api/procedures/addAssetMediators'; -export { removeAssetMediators } from '~/api/procedures/removeAssetMediators'; -export { Storage as ModifyMultiSigStorage, modifyMultiSig } from '~/api/procedures/modifyMultiSig'; -export { - SetCountTransferRestrictionsParams, - SetPercentageTransferRestrictionsParams, - SetClaimCountTransferRestrictionsParams, - SetClaimPercentageTransferRestrictionsParams, -} from '~/api/procedures/types'; -export { addAssetStat } from '~/api/procedures/addAssetStat'; -export { removeAssetStat } from '~/api/procedures/removeAssetStat'; -export { setVenueFiltering } from '~/api/procedures/setVenueFiltering'; +export { ConfidentialVenue } from '~/api/entities/ConfidentialVenue'; +export { ConfidentialTransaction } from '~/api/entities/ConfidentialTransaction'; export { setConfidentialVenueFiltering } from '~/api/procedures/setConfidentialVenueFiltering'; -export { registerCustomClaimType } from '~/api/procedures/registerCustomClaimType'; export { toggleFreezeConfidentialAsset } from '~/api/procedures/toggleFreezeConfidentialAsset'; export { toggleFreezeConfidentialAccountAsset } from '~/api/procedures/toggleFreezeConfidentialAccountAsset'; diff --git a/src/middleware/__tests__/queries/confidential.ts b/src/middleware/__tests__/queries/confidential.ts index 467bfae410..81e7275fca 100644 --- a/src/middleware/__tests__/queries/confidential.ts +++ b/src/middleware/__tests__/queries/confidential.ts @@ -1,3 +1,7 @@ +import { + ConfidentialTransactionStatusEnum, + EventIdEnum, +} from '@polymeshassociation/polymesh-sdk/middleware/types'; import BigNumber from 'bignumber.js'; import { @@ -7,7 +11,6 @@ import { getConfidentialAssetHistoryByConfidentialAccountQuery, getConfidentialTransactionsByConfidentialAccountQuery, } from '~/middleware/queries'; -import { ConfidentialTransactionStatusEnum, EventIdEnum } from '~/middleware/types'; describe('confidentialAssetsByHolderQuery', () => { it('should return correct query and variables when size, start are not provided', () => { diff --git a/src/middleware/__tests__/queries/regular.ts b/src/middleware/__tests__/queries/regular.ts deleted file mode 100644 index 9387c28d7f..0000000000 --- a/src/middleware/__tests__/queries/regular.ts +++ /dev/null @@ -1,603 +0,0 @@ -import BigNumber from 'bignumber.js'; - -import { - assetHoldersQuery, - assetQuery, - assetTransactionQuery, - authorizationsQuery, - claimsGroupingQuery, - claimsQuery, - createCustomClaimTypeQueryFilters, - customClaimTypeQuery, - distributionPaymentsQuery, - distributionQuery, - eventsByArgs, - extrinsicByHash, - extrinsicsByArgs, - heartbeatQuery, - instructionsByDidQuery, - instructionsQuery, - investmentsQuery, - latestBlockQuery, - latestSqVersionQuery, - metadataQuery, - multiSigProposalQuery, - multiSigProposalVotesQuery, - nftHoldersQuery, - polyxTransactionsQuery, - portfolioMovementsQuery, - portfolioQuery, - settlementsQuery, - tickerExternalAgentActionsQuery, - tickerExternalAgentHistoryQuery, - tickerExternalAgentsQuery, - trustedClaimIssuerQuery, - trustingAssetsQuery, -} from '~/middleware/queries'; -import { - AuthorizationStatusEnum, - AuthTypeEnum, - CallIdEnum, - ClaimTypeEnum, - EventIdEnum, - ModuleIdEnum, -} from '~/middleware/types'; -import { ClaimScopeTypeEnum } from '~/middleware/typesV1'; - -describe('latestBlockQuery', () => { - it('should pass the variables to the grapqhl query', () => { - const result = latestBlockQuery(); - - expect(result.query).toBeDefined(); - expect(result.variables).toBeUndefined(); - }); -}); - -describe('heartbeat', () => { - it('should pass the variables to the grapqhl query', () => { - const result = heartbeatQuery(); - - expect(result.query).toBeDefined(); - expect(result.variables).toBeUndefined(); - }); -}); - -describe('metadataQuery', () => { - it('should pass the variables to the grapqhl query', () => { - const result = metadataQuery(); - - expect(result.query).toBeDefined(); - expect(result.variables).toBeUndefined(); - }); -}); - -describe('latestSqVersionQuery', () => { - it('should pass the variables to the grapqhl query', () => { - const result = latestSqVersionQuery(); - - expect(result.query).toBeDefined(); - expect(result.variables).toBeUndefined(); - }); -}); - -describe('claimsGroupingQuery', () => { - it('should pass the variables to the grapqhl query', () => { - const variables = { - dids: ['someDid', 'otherDid'], - scope: { type: ClaimScopeTypeEnum.Ticker, value: 'someScope' }, - trustedClaimIssuers: ['someTrustedClaim'], - claimTypes: [ClaimTypeEnum.Accredited], - includeExpired: true, - }; - - const result = claimsGroupingQuery(variables); - - expect(result.query).toBeDefined(); - expect(result.variables).toEqual(variables); - }); -}); - -describe('claimsQuery', () => { - it('should pass the variables to the grapqhl query', () => { - const variables = { - dids: ['someDid', 'otherDid'], - scope: { type: ClaimScopeTypeEnum.Ticker, value: 'someScope' }, - trustedClaimIssuers: ['someTrustedClaim'], - claimTypes: [ClaimTypeEnum.Accredited], - includeExpired: true, - }; - - let result = claimsQuery(variables); - - expect(result.query).toBeDefined(); - expect(result.variables).toEqual(variables); - - result = claimsQuery( - { ...variables, includeExpired: false }, - new BigNumber(1), - new BigNumber(0) - ); - - expect(result.query).toBeDefined(); - expect(result.variables).toEqual({ - ...variables, - includeExpired: false, - expiryTimestamp: expect.any(Number), - size: 1, - start: 0, - }); - }); -}); - -describe('investmentsQuery', () => { - it('should pass the variables to the grapqhl query', () => { - const variables = { - stoId: 1, - offeringToken: 'SOME_TICKER', - }; - - const result = investmentsQuery(variables); - - expect(result.query).toBeDefined(); - expect(result.variables).toEqual(variables); - }); -}); - -describe('instructionsQuery', () => { - it('should pass the variables to the grapqhl query', () => { - const variables = { - eventId: EventIdEnum.InstructionExecuted, - id: '1', - }; - - let result = instructionsQuery(variables); - - expect(result.query).toBeDefined(); - expect(result.variables).toEqual(variables); - - result = instructionsQuery( - { - venueId: '2', - }, - new BigNumber(10), - new BigNumber(2) - ); - - expect(result.query).toBeDefined(); - expect(result.variables).toEqual({ - venueId: '2', - size: 10, - start: 2, - }); - }); -}); - -describe('instructionsByDidQuery', () => { - it('should pass the variables to the grapqhl query', () => { - const result = instructionsByDidQuery('someDid'); - expect(result.query).toBeDefined(); - expect(result.variables).toEqual({ fromId: 'someDid/', toId: 'someDid/' }); - }); -}); - -describe('eventsByArgs', () => { - it('should pass the variables to the grapqhl query', () => { - let result = eventsByArgs({}); - - expect(result.query).toBeDefined(); - expect(result.variables).toEqual({}); - - const variables = { - moduleId: ModuleIdEnum.Asset, - eventId: EventIdEnum.AssetCreated, - eventArg0: 'TICKER', - }; - - result = eventsByArgs(variables); - - expect(result.query).toBeDefined(); - expect(result.variables).toEqual(variables); - - result = eventsByArgs(variables, new BigNumber(1), new BigNumber(0)); - - expect(result.query).toBeDefined(); - expect(result.variables).toEqual({ - ...variables, - size: 1, - start: 0, - }); - }); -}); - -describe('extrinsicByHash', () => { - it('should pass the variables to the grapqhl query', () => { - const variables = { - extrinsicHash: 'someHash', - }; - - const result = extrinsicByHash(variables); - - expect(result.query).toBeDefined(); - expect(result.variables).toEqual(variables); - }); -}); - -describe('extrinsicsByArgs', () => { - it('should pass the variables to the grapqhl query', () => { - let result = extrinsicsByArgs({}); - - expect(result.query).toBeDefined(); - expect(result.variables).toEqual({}); - - const variables = { - blockId: '123', - address: 'someAddress', - moduleId: ModuleIdEnum.Asset, - callId: CallIdEnum.CreateAsset, - success: 1, - }; - - result = extrinsicsByArgs(variables); - - expect(result.query).toBeDefined(); - expect(result.variables).toEqual(variables); - }); -}); - -describe('trustedClaimIssuerQuery', () => { - it('should pass the variables to the grapqhl query', () => { - const variables = { - issuer: 'someDid', - assetId: 'SOME_TICKER', - }; - - const result = trustedClaimIssuerQuery(variables); - - expect(result.query).toBeDefined(); - expect(result.variables).toEqual(variables); - }); -}); - -describe('trustingAssetsQuery', () => { - it('should pass the variables to the grapqhl query', () => { - const variables = { - issuer: 'someDid', - }; - - const result = trustingAssetsQuery(variables); - - expect(result.query).toBeDefined(); - expect(result.variables).toEqual(variables); - }); -}); - -describe('portfolioQuery', () => { - it('should pass the variables to the grapqhl query', () => { - const variables = { - identityId: 'someDid', - number: 1, - }; - - const result = portfolioQuery(variables); - - expect(result.query).toBeDefined(); - expect(result.variables).toEqual(variables); - }); -}); - -describe('assetQuery', () => { - it('should pass the variables to the grapqhl query', () => { - const variables = { - ticker: 'SOME_TICKER', - }; - - const result = assetQuery(variables); - - expect(result.query).toBeDefined(); - expect(result.variables).toEqual(variables); - }); -}); - -describe('tickerExternalAgentsQuery', () => { - it('should pass the variables to the grapqhl query', () => { - const variables = { - assetId: 'SOME_TICKER', - }; - - const result = tickerExternalAgentsQuery(variables); - - expect(result.query).toBeDefined(); - expect(result.variables).toEqual(variables); - }); -}); - -describe('tickerExternalAgentHistoryQuery', () => { - it('should pass the variables to the grapqhl query', () => { - const variables = { - assetId: 'SOME_TICKER', - }; - - const result = tickerExternalAgentHistoryQuery(variables); - - expect(result.query).toBeDefined(); - expect(result.variables).toEqual(variables); - }); -}); - -describe('tickerExternalAgentActionsQuery', () => { - it('should pass the variables to the grapqhl query', () => { - let result = tickerExternalAgentActionsQuery({}); - - expect(result.query).toBeDefined(); - expect(result.variables).toEqual({}); - - const variables = { - assetId: 'SOME_TICKER', - callerId: 'someDid', - palletName: 'asset', - eventId: EventIdEnum.ControllerTransfer, - }; - - result = tickerExternalAgentActionsQuery(variables); - - expect(result.query).toBeDefined(); - expect(result.variables).toEqual(variables); - - result = tickerExternalAgentActionsQuery(variables, new BigNumber(1), new BigNumber(0)); - - expect(result.query).toBeDefined(); - expect(result.variables).toEqual({ - ...variables, - size: 1, - start: 0, - }); - }); -}); - -describe('distributionQuery', () => { - it('should pass the variables to the grapqhl query', () => { - const variables = { - id: '123', - }; - - const result = distributionQuery(variables); - - expect(result.query).toBeDefined(); - expect(result.variables).toEqual(variables); - }); -}); - -describe('distributionPaymentsQuery', () => { - it('should pass the variables to the grapqhl query', () => { - const variables = { - distributionId: 'SOME_TICKER/1', - }; - - const result = distributionPaymentsQuery(variables); - - expect(result.query).toBeDefined(); - expect(result.variables).toEqual(variables); - }); -}); - -describe('assetHoldersQuery', () => { - it('should pass the variables to the grapqhl query', () => { - const variables = { - identityId: 'someDid', - }; - - let result = assetHoldersQuery(variables); - - expect(result.query).toBeDefined(); - expect(result.variables).toEqual(variables); - - result = assetHoldersQuery(variables, new BigNumber(1), new BigNumber(0)); - - expect(result.query).toBeDefined(); - expect(result.variables).toEqual({ - ...variables, - size: 1, - start: 0, - }); - }); -}); - -describe('nftHoldersQuery', () => { - it('should pass the variables to the grapqhl query', () => { - const variables = { - identityId: 'someDid', - }; - - let result = nftHoldersQuery(variables); - - expect(result.query).toBeDefined(); - expect(result.variables).toEqual(variables); - - result = assetHoldersQuery(variables, new BigNumber(1), new BigNumber(0)); - - expect(result.query).toBeDefined(); - expect(result.variables).toEqual({ - ...variables, - size: 1, - start: 0, - }); - }); -}); - -describe('settlementsQuery', () => { - it('should pass the variables to the grapqhl query', () => { - const variables = { - identityId: 'someDid', - portfolioId: new BigNumber(1), - ticker: 'SOME_TICKER', - address: 'someAddress', - }; - - const result = settlementsQuery(variables); - - expect(result.query).toBeDefined(); - expect(result.variables).toEqual({ - addresses: ['someAddress'], - assetId: 'SOME_TICKER', - fromId: 'someDid/1', - toId: 'someDid/1', - }); - }); -}); - -describe('portfolioMovementsQuery', () => { - it('should pass the variables to the grapqhl query', () => { - const variables = { - identityId: 'someDid', - portfolioId: new BigNumber(1), - ticker: 'SOME_TICKER', - address: 'someAddress', - }; - - const result = portfolioMovementsQuery(variables); - - expect(result.query).toBeDefined(); - expect(result.variables).toEqual({ - address: 'someAddress', - assetId: 'SOME_TICKER', - fromId: 'someDid/1', - toId: 'someDid/1', - }); - }); -}); - -describe('assetTransactionQuery', () => { - it('should pass the variables to the grapqhl query', () => { - const variables = { - assetId: 'SOME_TICKER', - }; - - let result = assetTransactionQuery(variables); - - expect(result.query).toBeDefined(); - expect(result.variables).toEqual(variables); - - result = assetTransactionQuery(variables, new BigNumber(1), new BigNumber(0)); - - expect(result.query).toBeDefined(); - expect(result.variables).toEqual({ - ...variables, - size: 1, - start: 0, - }); - }); -}); - -describe('polyxTransactionsQuery', () => { - it('should pass the variables to the grapqhl query', () => { - const variables = { - addresses: ['someAddress'], - identityId: 'someDid', - }; - - let result = polyxTransactionsQuery(variables); - - expect(result.query).toBeDefined(); - expect(result.variables).toEqual(variables); - - result = polyxTransactionsQuery({}, new BigNumber(10), new BigNumber(2)); - - expect(result.query).toBeDefined(); - expect(result.variables).toEqual({ - size: 10, - start: 2, - }); - }); -}); - -describe('authorizationsQuery', () => { - it('should pass the variables to the grapqhl query', () => { - let result = authorizationsQuery({}); - - expect(result.query).toBeDefined(); - - const variables = { - fromId: 'someId', - toId: 'someOtherId', - toKey: 'someKey', - type: AuthTypeEnum.RotatePrimaryKey, - status: AuthorizationStatusEnum.Consumed, - }; - - result = authorizationsQuery(variables); - - expect(result.query).toBeDefined(); - expect(result.variables).toEqual(variables); - - result = authorizationsQuery(variables, new BigNumber(1), new BigNumber(0)); - - expect(result.query).toBeDefined(); - expect(result.variables).toEqual({ - ...variables, - size: 1, - start: 0, - }); - }); -}); - -describe('multiSigProposalQuery', () => { - it('should pass the variables to the grapqhl query', () => { - const variables = { - multisigId: 'multiSigAddress', - proposalId: 1, - }; - - const result = multiSigProposalQuery(variables); - - expect(result.query).toBeDefined(); - expect(result.variables).toEqual(variables); - }); -}); - -describe('multiSigProposalVotesQuery', () => { - it('should pass the variables to the grapqhl query', () => { - const variables = { - proposalId: 'multiSigAddress/1', - }; - - const result = multiSigProposalVotesQuery(variables); - - expect(result.query).toBeDefined(); - expect(result.variables).toEqual(variables); - }); -}); - -describe('createCustomClaimTypeQueryFilters', () => { - it('should return correct args and filter when dids is not provided', () => { - const result = createCustomClaimTypeQueryFilters({}); - expect(result).toEqual({ - args: '($size: Int, $start: Int)', - filter: '', - }); - }); - - it('should return correct args and filter when dids is provided', () => { - const result = createCustomClaimTypeQueryFilters({ dids: ['did1', 'did2'] }); - expect(result).toEqual({ - args: '($size: Int, $start: Int,$dids: [String!])', - filter: 'filter: { identityId: { in: $dids } },', - }); - }); -}); - -describe('customClaimTypeQuery', () => { - it('should return correct query and variables when size, start, and dids are not provided', () => { - const result = customClaimTypeQuery(); - expect(result.query).toBeDefined(); - expect(result.variables).toEqual({ size: undefined, start: undefined, dids: undefined }); - }); - - it('should return correct query and variables when size, start, and dids are provided', () => { - const size = new BigNumber(10); - const start = new BigNumber(0); - const dids = ['did1', 'did2']; - const result = customClaimTypeQuery(size, start, dids); - expect(result.query).toBeDefined(); - expect(result.variables).toEqual({ size: size.toNumber(), start: start.toNumber(), dids }); - }); -}); diff --git a/src/middleware/queries/confidential.ts b/src/middleware/queries/confidential.ts index 478c5abda8..4eebba5686 100644 --- a/src/middleware/queries/confidential.ts +++ b/src/middleware/queries/confidential.ts @@ -1,16 +1,18 @@ import { QueryOptions } from '@apollo/client/core'; -import BigNumber from 'bignumber.js'; -import gql from 'graphql-tag'; - import { ConfidentialAsset, ConfidentialAssetHistory, ConfidentialAssetHolder, ConfidentialAssetHoldersOrderBy, ConfidentialTransaction, - ConfidentialTransactionStatusEnum, - EventIdEnum, -} from '~/middleware/types'; +} from '@polymeshassociation/polymesh-sdk/middleware/types'; +import BigNumber from 'bignumber.js'; +import gql from 'graphql-tag'; + +import { + ConfidentialAssetHistoryByConfidentialAccountArgs, + ConfidentialTransactionsByConfidentialAccountArgs, +} from '~/types'; import { PaginatedQueryArgs, QueryArgs } from '~/types/utils'; /** @@ -137,12 +139,6 @@ export function confidentialAssetQuery( }; } -export type ConfidentialTransactionsByConfidentialAccountArgs = { - accountId: string; - direction: 'Incoming' | 'Outgoing' | 'All'; - status?: ConfidentialTransactionStatusEnum; -}; - /** * @hidden * @@ -199,15 +195,6 @@ export function getConfidentialTransactionsByConfidentialAccountQuery( }; } -export type ConfidentialAssetHistoryByConfidentialAccountArgs = { - accountId: string; - eventId?: - | EventIdEnum.AccountDepositIncoming - | EventIdEnum.AccountDeposit - | EventIdEnum.AccountWithdraw; - assetId?: string; -}; - /** * @hidden */ diff --git a/src/middleware/queries/index.ts b/src/middleware/queries/index.ts index 39556c52bb..a8a6e72fcb 100644 --- a/src/middleware/queries/index.ts +++ b/src/middleware/queries/index.ts @@ -1,4 +1,3 @@ /* istanbul ignore file */ -export * from './regular'; export * from './confidential'; diff --git a/src/middleware/queries/regular.ts b/src/middleware/queries/regular.ts deleted file mode 100644 index 201479ead0..0000000000 --- a/src/middleware/queries/regular.ts +++ /dev/null @@ -1,1606 +0,0 @@ -import { DocumentNode, QueryOptions } from '@apollo/client/core'; -import BigNumber from 'bignumber.js'; -import gql from 'graphql-tag'; - -import { - Asset, - AssetHolder, - AssetHoldersOrderBy, - AssetTransaction, - AssetTransactionsOrderBy, - Authorization, - AuthorizationsOrderBy, - BlocksOrderBy, - ClaimsGroupBy, - ClaimsOrderBy, - ClaimTypeEnum, - Distribution, - DistributionPayment, - Event, - EventsOrderBy, - Extrinsic, - ExtrinsicsOrderBy, - Instruction, - InstructionsOrderBy, - Investment, - InvestmentsOrderBy, - Leg, - LegsOrderBy, - MultiSigProposal, - MultiSigProposalVote, - MultiSigProposalVotesOrderBy, - NftHolder, - NftHoldersOrderBy, - PolyxTransactionsOrderBy, - Portfolio, - PortfolioMovement, - PortfolioMovementsOrderBy, - SubqueryVersionsOrderBy, - TickerExternalAgent, - TickerExternalAgentAction, - TickerExternalAgentActionsOrderBy, - TickerExternalAgentHistoriesOrderBy, - TickerExternalAgentHistory, - TickerExternalAgentsOrderBy, - TrustedClaimIssuer, - TrustedClaimIssuersOrderBy, -} from '~/middleware/types'; -import { PaginatedQueryArgs, QueryArgs } from '~/types/utils'; - -/** - * @hidden - * - * Get the latest processed block number - */ -export function latestBlockQuery(): QueryOptions { - const query = gql` - query latestBlock { - blocks(first: 1, orderBy: [${BlocksOrderBy.BlockIdDesc}]) { - nodes { - blockId - } - } - } - `; - - return { - query, - variables: undefined, - }; -} - -/** - * @hidden - * - * Middleware V2 heartbeat - */ -export function heartbeatQuery(): QueryOptions { - const query = gql` - query { - block(id: "1") { - id - } - } - `; - - return { - query, - variables: undefined, - }; -} - -/** - * @hidden - * - * Get details about the SubQuery indexer - */ -export function metadataQuery(): QueryOptions { - const query = gql` - query Metadata { - _metadata { - chain - specName - genesisHash - lastProcessedHeight - lastProcessedTimestamp - targetHeight - indexerHealthy - indexerNodeVersion - queryNodeVersion - dynamicDatasources - } - } - `; - - return { - query, - variables: undefined, - }; -} - -/** - * @hidden - * - * Get details about the latest Subquery version - */ -export function latestSqVersionQuery(): QueryOptions { - const query = gql` - query SubqueryVersions { - subqueryVersions(orderBy: [${SubqueryVersionsOrderBy.UpdatedAtDesc}], first: 1) { - nodes { - id - version - createdAt - updatedAt - } - } - } - `; - - return { - query, - variables: undefined, - }; -} - -/** - * @hidden - */ -function createClaimsFilters(variables: ClaimsQueryFilter): { - args: string; - filter: string; -} { - const args = ['$size: Int, $start: Int']; - const filters = ['revokeDate: { isNull: true }']; - const { dids, claimTypes, trustedClaimIssuers, scope, includeExpired } = variables; - if (dids?.length) { - args.push('$dids: [String!]'); - filters.push('targetId: { in: $dids }'); - } - if (claimTypes) { - args.push('$claimTypes: [ClaimTypeEnum!]!'); - filters.push('type: { in: $claimTypes }'); - } - if (trustedClaimIssuers?.length) { - args.push('$trustedClaimIssuers: [String!]'); - filters.push('issuerId: { in: $trustedClaimIssuers }'); - } - if (scope !== undefined) { - args.push('$scope: JSON!'); - filters.push('scope: { contains: $scope }'); - } - if (!includeExpired) { - args.push('$expiryTimestamp: BigFloat'); - filters.push( - 'or: [{ filterExpiry: { lessThan: $expiryTimestamp } }, { expiry: { isNull: true } }]' - ); - } - return { - args: `(${args.join()})`, - filter: `filter: { ${filters.join()} },`, - }; -} - -export interface ClaimsQueryFilter { - dids?: string[]; - scope?: Record; - trustedClaimIssuers?: string[]; - claimTypes?: ClaimTypeEnum[]; - includeExpired?: boolean; - expiryTimestamp?: number; -} -/** - * @hidden - * - * Get all dids with at least one claim for a given scope and from one of the given trusted claim issuers - */ -export function claimsGroupingQuery( - variables: ClaimsQueryFilter, - orderBy = ClaimsOrderBy.TargetIdAsc, - groupBy = ClaimsGroupBy.TargetId -): QueryOptions> { - const { args, filter } = createClaimsFilters(variables); - - const query = gql` - query claimsGroupingQuery - ${args} - { - claims( - ${filter} - orderBy: [${orderBy}] - first: $size - offset: $start - ) { - groupedAggregates(groupBy: [${groupBy}], having: {}) { - keys - } - } - } - `; - - return { - query, - variables, - }; -} - -/** - * @hidden - * - * Get all claims that a given target DID has, with a given scope and from one of the given trustedClaimIssuers - */ -export function claimsQuery( - filters: ClaimsQueryFilter, - size?: BigNumber, - start?: BigNumber -): QueryOptions> { - const { args, filter } = createClaimsFilters(filters); - - const query = gql` - query ClaimsQuery - ${args} - { - claims( - ${filter} - orderBy: [${ClaimsOrderBy.TargetIdAsc}, ${ClaimsOrderBy.CreatedAtAsc}, ${ClaimsOrderBy.CreatedBlockIdAsc}, ${ClaimsOrderBy.EventIdxAsc}] - first: $size - offset: $start - ) { - totalCount - nodes { - targetId - type - scope - cddId - issuerId - issuanceDate - lastUpdateDate - expiry - jurisdiction - customClaimTypeId - } - } - } - `; - - return { - query, - variables: { - ...filters, - expiryTimestamp: filters.includeExpired ? undefined : new Date().getTime(), - size: size?.toNumber(), - start: start?.toNumber(), - }, - }; -} - -/** - * @hidden - * - * Get all investments for a given offering - */ -export function investmentsQuery( - filters: QueryArgs, - size?: BigNumber, - start?: BigNumber -): QueryOptions>> { - const query = gql` - query InvestmentsQuery($stoId: Int!, $offeringToken: String!, $size: Int, $start: Int) { - investments( - filter: { stoId: { equalTo: $stoId }, offeringToken: { equalTo: $offeringToken } } - first: $size - offset: $start - orderBy: [${InvestmentsOrderBy.CreatedAtAsc}, ${InvestmentsOrderBy.CreatedBlockIdAsc}] - ) { - totalCount - nodes { - investorId - offeringToken - raiseToken - offeringTokenAmount - raiseTokenAmount - } - } - } - `; - - return { - query, - variables: { ...filters, size: size?.toNumber(), start: start?.toNumber() }, - }; -} - -/** - * Create args and filters to be supplied to GQL query - * - * @param filters - filters to be applied - * @param typeMap - Map defining the types corresponding to each attribute. All missing attributes whose types are not defined are considered to be `String` - * - * @hidden - */ -function createArgsAndFilters( - filters: Record, - typeMap: Record -): { - args: string; - filter: string; -} { - const args: string[] = ['$start: Int', '$size: Int']; - const gqlFilters: string[] = []; - - Object.keys(filters).forEach(attribute => { - if (filters[attribute]) { - const type = typeMap[attribute] || 'String'; - args.push(`$${attribute}: ${type}!`); - gqlFilters.push(`${attribute}: { equalTo: $${attribute} }`); - } - }); - - return { - args: `(${args.join()})`, - filter: gqlFilters.length ? `filter: { ${gqlFilters.join()} }` : '', - }; -} - -type InstructionArgs = 'id' | 'eventId' | 'venueId' | 'status'; - -/** - * @hidden - * - * Get a specific instruction within a venue for a specific event - */ -export function instructionsQuery( - filters: QueryArgs, - size?: BigNumber, - start?: BigNumber -): QueryOptions>> { - const { args, filter } = createArgsAndFilters(filters, { - eventId: 'EventIdEnum', - status: 'InstructionStatusEnum', - }); - const query = gql` - query InstructionsQuery - ${args} - { - instructions( - ${filter} - first: $size - offset: $start - orderBy: [${InstructionsOrderBy.CreatedAtDesc}, ${InstructionsOrderBy.IdDesc}] - ) { - totalCount - nodes { - id - eventIdx - eventId - status - settlementType - venueId - endBlock - tradeDate - valueDate - legs { - nodes { - fromId - from { - identityId - number - } - toId - to { - identityId - number - } - assetId - amount - addresses - } - } - memo - createdBlock { - blockId - hash - datetime - } - updatedBlock { - blockId - hash - datetime - } - } - } - } - `; - - return { - query, - variables: { ...filters, size: size?.toNumber(), start: start?.toNumber() }, - }; -} - -/** - * @hidden - * - * Get Instructions where an identity is involved - */ -export function instructionsByDidQuery( - identityId: string -): QueryOptions> { - const query = gql` - query InstructionsByDidQuery($fromId: String!, $toId: String!) - { - legs( - filter: { or: [{ fromId: { startsWith: $fromId } }, { toId: { startsWith: $toId } }] } - orderBy: [${LegsOrderBy.CreatedAtAsc}, ${LegsOrderBy.InstructionIdAsc}] - ) { - nodes { - instruction { - id - eventIdx - eventId - status - settlementType - venueId - endBlock - tradeDate - valueDate - legs { - nodes { - fromId - from { - identityId - number - } - toId - to { - identityId - number - } - assetId - amount - addresses - } - } - memo - createdBlock { - blockId - hash - datetime - } - updatedBlock { - blockId - hash - datetime - } - } - } - } - } - `; - - return { - query, - variables: { fromId: `${identityId}/`, toId: `${identityId}/` }, - }; -} - -type EventArgs = 'moduleId' | 'eventId' | 'eventArg0' | 'eventArg1' | 'eventArg2'; - -/** - * @hidden - * - * Get a single event by any of its indexed arguments - */ -export function eventsByArgs( - filters: QueryArgs, - size?: BigNumber, - start?: BigNumber -): QueryOptions>> { - const { args, filter } = createArgsAndFilters(filters, { - moduleId: 'ModuleIdEnum', - eventId: 'EventIdEnum', - }); - const query = gql` - query EventsQuery - ${args} - { - events( - ${filter} - orderBy: [${EventsOrderBy.CreatedAtAsc}, ${EventsOrderBy.BlockIdAsc}] - first: $size - offset: $start - ) { - nodes { - eventIdx - block { - blockId - hash - datetime - } - } - } - } - `; - - return { - query, - variables: { ...filters, size: size?.toNumber(), start: start?.toNumber() }, - }; -} - -/** - * @hidden - * - * Get a transaction by hash - */ -export function extrinsicByHash( - variables: QueryArgs -): QueryOptions> { - const query = gql` - query TransactionByHashQuery($extrinsicHash: String!) { - extrinsics(filter: { extrinsicHash: { equalTo: $extrinsicHash } }) { - nodes { - extrinsicIdx - address - nonce - moduleId - callId - paramsTxt - success - specVersionId - extrinsicHash - block { - blockId - hash - datetime - } - } - } - } - `; - - return { - query, - variables, - }; -} - -type ExtrinsicArgs = 'blockId' | 'address' | 'moduleId' | 'callId' | 'success'; - -/** - * @hidden - * - * Get transactions - */ -export function extrinsicsByArgs( - filters: QueryArgs, - size?: BigNumber, - start?: BigNumber, - orderBy: ExtrinsicsOrderBy = ExtrinsicsOrderBy.BlockIdAsc -): QueryOptions>> { - const { args, filter } = createArgsAndFilters(filters, { - moduleId: 'ModuleIdEnum', - callId: 'CallIdEnum', - success: 'Int', - }); - const query = gql` - query TransactionsQuery - ${args} - { - extrinsics( - ${filter} - orderBy: [${orderBy}] - first: $size - offset: $start - ) { - totalCount - nodes { - blockId - extrinsicIdx - address - nonce - moduleId - callId - paramsTxt - success - specVersionId - extrinsicHash - block { - hash - datetime - } - } - } - } - `; - - return { - query, - variables: { ...filters, size: size?.toNumber(), start: start?.toNumber() }, - }; -} - -/** - * @hidden - * - * Get an trusted claim issuer event for an asset and an issuer - */ -export function trustedClaimIssuerQuery( - variables: QueryArgs -): QueryOptions> { - const query = gql` - query TrustedClaimIssuerQuery($assetId: String!, $issuer: String!) { - trustedClaimIssuers( - filter: { assetId: { equalTo: $assetId }, issuer: { equalTo: $issuer } }, - orderBy: [${TrustedClaimIssuersOrderBy.CreatedAtDesc}, ${TrustedClaimIssuersOrderBy.CreatedBlockIdDesc}] - ) { - nodes { - eventIdx - createdBlock { - blockId - datetime - hash - } - } - } - } - `; - - return { - query, - variables, - }; -} - -/** - * @hidden - * - * Get an trusted claim issuer event for an asset and an issuer - */ -export function trustingAssetsQuery( - variables: QueryArgs -): QueryOptions> { - const query = gql` - query TrustedClaimIssuerQuery($issuer: String!) { - trustedClaimIssuers( - filter: { issuer: { equalTo: $issuer } }, - orderBy: [${TrustedClaimIssuersOrderBy.AssetIdAsc}] - ) { - nodes { - assetId - } - } - } - `; - - return { - query, - variables, - }; -} - -/** - * @hidden - * - * Get portfolio details for a given DID and portfolio number - */ -export function portfolioQuery( - variables: QueryArgs -): QueryOptions> { - const query = gql` - query PortfolioQuery($identityId: String!, $number: Int!) { - portfolios(filter: { identityId: { equalTo: $identityId }, number: { equalTo: $number } }) { - nodes { - eventIdx - createdBlock { - blockId - datetime - hash - } - } - } - } - `; - - return { - query, - variables, - }; -} - -/** - * @hidden - * - * Get Asset details for a given ticker - */ -export function assetQuery( - variables: QueryArgs -): QueryOptions> { - const query = gql` - query AssetQuery($ticker: String!) { - assets(filter: { ticker: { equalTo: $ticker } }) { - nodes { - eventIdx - createdBlock { - blockId - datetime - hash - } - } - } - } - `; - - return { - query, - variables, - }; -} - -/** - * @hidden - * - * Get the event details when external agent added for a ticker - */ -export function tickerExternalAgentsQuery( - variables: QueryArgs -): QueryOptions> { - const query = gql` - query TickerExternalAgentQuery($assetId: String!) { - tickerExternalAgents( - filter: { assetId: { equalTo: $assetId } } - orderBy: [${TickerExternalAgentsOrderBy.CreatedAtDesc}, ${TickerExternalAgentsOrderBy.CreatedBlockIdDesc}] - first: 1 - ) { - nodes { - eventIdx - createdBlock { - blockId - datetime - hash - } - } - } - } - `; - - return { - query, - variables, - }; -} - -/** - * @hidden - * - * Get the transaction history of each external agent of an Asset - */ -export function tickerExternalAgentHistoryQuery( - variables: QueryArgs -): QueryOptions> { - const query = gql` - query TickerExternalAgentHistoryQuery($assetId: String!) { - tickerExternalAgentHistories( - filter: { assetId: { equalTo: $assetId } } - orderBy: [${TickerExternalAgentHistoriesOrderBy.CreatedAtAsc}, ${TickerExternalAgentHistoriesOrderBy.CreatedBlockIdAsc}] - ) { - nodes { - identityId - assetId - eventIdx - createdBlock { - blockId - hash - datetime - } - } - } - } - `; - - return { - query, - variables, - }; -} - -type TickerExternalAgentActionArgs = 'assetId' | 'callerId' | 'palletName' | 'eventId'; - -/** - * @hidden - * - * Get list of Events triggered by actions (from the set of actions that can only be performed by external agents) that have been performed on a specific Asset - */ -export function tickerExternalAgentActionsQuery( - filters: QueryArgs, - size?: BigNumber, - start?: BigNumber -): QueryOptions< - PaginatedQueryArgs> -> { - const { args, filter } = createArgsAndFilters(filters, { eventId: 'EventIdEnum' }); - const query = gql` - query TickerExternalAgentActionsQuery - ${args} - { - tickerExternalAgentActions( - ${filter} - first: $size - offset: $start - orderBy: [${TickerExternalAgentActionsOrderBy.CreatedAtDesc}, ${TickerExternalAgentActionsOrderBy.CreatedBlockIdDesc}] - ) { - totalCount - nodes { - eventIdx - palletName - eventId - callerId - createdBlock { - blockId - datetime - hash - } - } - } - } - `; - - return { - query, - variables: { ...filters, size: size?.toNumber(), start: start?.toNumber() }, - }; -} - -/** - * @hidden - * - * Get distribution details for a CAId - */ -export function distributionQuery( - variables: QueryArgs -): QueryOptions> { - const query = gql` - query DistributionQuery($id: String!) { - distribution(id: $id) { - taxes - } - } - `; - - return { - query, - variables, - }; -} - -/** - * @hidden - * - * Get history of claims for a distribution - */ -export function distributionPaymentsQuery( - filters: QueryArgs, - size?: BigNumber, - start?: BigNumber -): QueryOptions>> { - const query = gql` - query DistributionPaymentQuery($distributionId: String!, $size: Int, $start: Int) { - distributionPayments( - filter: { distributionId: { equalTo: $distributionId } } - first: $size - offset: $start - ) { - totalCount - nodes { - eventId - targetId - datetime - amount - tax - createdBlock { - blockId - hash - } - } - } - } - `; - - return { - query, - variables: { ...filters, size: size?.toNumber(), start: start?.toNumber() }, - }; -} - -/** - * @hidden - * - * Get asset held by a DID - */ -export function assetHoldersQuery( - filters: QueryArgs, - size?: BigNumber, - start?: BigNumber, - orderBy = AssetHoldersOrderBy.AssetIdAsc -): QueryOptions>> { - const query = gql` - query AssetHoldersQuery($identityId: String!, $size: Int, $start: Int) { - assetHolders( - filter: { identityId: { equalTo: $identityId } } - first: $size - offset: $start - orderBy: [${orderBy}] - ) { - totalCount - nodes { - assetId - } - } - } - `; - - return { - query, - variables: { ...filters, size: size?.toNumber(), start: start?.toNumber() }, - }; -} - -/** - * @hidden - * - * Get NFTs held by a DID - */ -export function nftHoldersQuery( - filters: QueryArgs, - size?: BigNumber, - start?: BigNumber, - orderBy = NftHoldersOrderBy.AssetIdAsc -): QueryOptions>> { - const query = gql` - query NftHolderQuery($identityId: String!, $size: Int, $start: Int) { - nftHolders( - filter: { identityId: { equalTo: $identityId } } - first: $size - offset: $start - orderBy: [${orderBy}] - ) { - totalCount - nodes { - assetId - nftIds - } - } - } - `; - - return { - query, - variables: { ...filters, size: size?.toNumber(), start: start?.toNumber() }, - }; -} - -export interface QuerySettlementFilters { - identityId: string; - portfolioId?: BigNumber; - ticker?: string; - address?: string; -} - -type LegArgs = 'fromId' | 'toId' | 'assetId' | 'addresses'; - -/** - * @hidden - */ -function createLegFilters( - { identityId, portfolioId, ticker, address }: QuerySettlementFilters, - queryAll?: boolean -): { - args: string; - filter: string; - variables: QueryArgs; -} { - const args: string[] = ['$fromId: String!, $toId: String!']; - const fromIdFilters = queryAll - ? ['fromId: { startsWith: $fromId }'] - : ['fromId: { equalTo: $fromId }']; - const toIdFilters = queryAll ? ['toId: { startsWith: $toId }'] : ['toId: { equalTo: $toId }']; - const portfolioNumber = portfolioId ? portfolioId.toNumber() : 0; - const variables: QueryArgs = { - fromId: queryAll ? `${identityId}` : `${identityId}/${portfolioNumber}`, - toId: queryAll ? `${identityId}` : `${identityId}/${portfolioNumber}`, - }; - - if (ticker) { - variables.assetId = ticker; - args.push('$assetId: String!'); - const assetIdFilter = 'assetId: { equalTo: $assetId }'; - toIdFilters.push(assetIdFilter); - fromIdFilters.push(assetIdFilter); - } - - if (address) { - variables.addresses = [address]; - args.push('$addresses: [String!]!'); - const addressFilter = 'addresses: { in: $addresses }'; - toIdFilters.push(addressFilter); - fromIdFilters.push(addressFilter); - } - - return { - args: `(${args.join()})`, - filter: `filter: { or: [{ ${fromIdFilters.join()}, settlementId: { isNull: false } }, { ${toIdFilters.join()}, settlementId: { isNull: false } } ] }`, - variables, - }; -} - -/** - * @hidden - */ -function buildSettlementsQuery(args: string, filter: string): DocumentNode { - return gql` - query SettlementsQuery - ${args} - { - legs( - ${filter} - orderBy: [${LegsOrderBy.CreatedAtAsc}, ${LegsOrderBy.InstructionIdAsc}] - ) { - nodes { - settlement { - id - createdBlock { - blockId - datetime - hash - } - result - legs { - nodes { - fromId - from { - identityId - number - } - toId - to { - identityId - number - } - assetId - amount - addresses - } - } - } - } - } - } -`; -} - -/** - * @hidden - * - * Get Settlements where a Portfolio is involved - */ -export function settlementsQuery( - filters: QuerySettlementFilters -): QueryOptions> { - const { args, filter, variables } = createLegFilters(filters); - const query = buildSettlementsQuery(args, filter); - - return { - query, - variables, - }; -} - -/** - * @hidden - * - * Get Settlements for all Portfolios - */ -export function settlementsForAllPortfoliosQuery( - filters: Omit -): QueryOptions> { - const { args, filter, variables } = createLegFilters(filters, true); - const query = buildSettlementsQuery(args, filter); - - return { - query, - variables, - }; -} - -type PortfolioMovementArgs = 'fromId' | 'toId' | 'assetId' | 'address'; - -/** - * @hidden - */ -function createPortfolioMovementFilters( - { identityId, portfolioId, ticker, address }: QuerySettlementFilters, - queryAll?: boolean -): { - args: string; - filter: string; - variables: QueryArgs; -} { - const args: string[] = ['$fromId: String!, $toId: String!']; - const fromIdFilters = queryAll - ? ['fromId: { startsWith: $fromId }'] - : ['fromId: { equalTo: $fromId }']; - const toIdFilters = queryAll ? ['toId: { startsWith: $toId }'] : ['toId: { equalTo: $toId }']; - const portfolioNumber = portfolioId ? portfolioId.toNumber() : 0; - const variables: QueryArgs = { - fromId: queryAll ? `${identityId}` : `${identityId}/${portfolioNumber}`, - toId: queryAll ? `${identityId}` : `${identityId}/${portfolioNumber}`, - }; - - if (ticker) { - variables.assetId = ticker; - args.push('$assetId: String!'); - const assetIdFilter = 'assetId: { equalTo: $assetId }'; - toIdFilters.push(assetIdFilter); - fromIdFilters.push(assetIdFilter); - } - - if (address) { - variables.address = address; - args.push('$address: String!'); - const addressFilter = 'address: { equalTo: $address }'; - toIdFilters.push(addressFilter); - fromIdFilters.push(addressFilter); - } - - return { - args: `(${args.join()})`, - filter: `filter: { or: [ { ${fromIdFilters.join()} }, { ${toIdFilters.join()} } ] }`, - variables, - }; -} - -/** - * @hidden - */ -function buildPortfolioMovementsQuery(args: string, filter: string): DocumentNode { - return gql` - query PortfolioMovementsQuery - ${args} - { - portfolioMovements( - ${filter} - orderBy: [${PortfolioMovementsOrderBy.CreatedAtAsc}, ${PortfolioMovementsOrderBy.IdAsc}] - ) { - nodes { - id - fromId - from { - identityId - number - } - toId - to { - identityId - number - } - assetId - amount - address - createdBlock { - blockId - datetime - hash - } - } - } - } -`; -} - -/** - * @hidden - * - * Get Settlements where a Portfolio is involved - */ -export function portfolioMovementsQuery( - filters: QuerySettlementFilters -): QueryOptions> { - const { args, filter, variables } = createPortfolioMovementFilters(filters); - const query = buildPortfolioMovementsQuery(args, filter); - - return { - query, - variables, - }; -} - -/** - * @hidden - * - * Get Settlements for all portfolios - */ -export function portfoliosMovementsQuery( - filters: Omit -): QueryOptions> { - const { args, filter, variables } = createPortfolioMovementFilters(filters, true); - const query = buildPortfolioMovementsQuery(args, filter); - - return { - query, - variables, - }; -} - -export interface QueryPolyxTransactionFilters { - identityId?: string; - addresses?: string[]; -} - -/** - * @hidden - */ -function createPolyxTransactionFilters({ identityId, addresses }: QueryPolyxTransactionFilters): { - args: string; - filter: string; - variables: QueryPolyxTransactionFilters; -} { - const args = ['$size: Int, $start: Int']; - const fromIdFilters = []; - const toIdFilters = []; - const variables: QueryPolyxTransactionFilters = {}; - - if (identityId) { - variables.identityId = identityId; - args.push('$identityId: String!'); - fromIdFilters.push('identityId: { equalTo: $identityId }'); - toIdFilters.push('toId: { equalTo: $identityId }'); - } - - if (addresses?.length) { - variables.addresses = addresses; - args.push('$addresses: [String!]!'); - fromIdFilters.push('address: { in: $addresses }'); - toIdFilters.push('toAddress: { in: $addresses }'); - } - - return { - args: `(${args.join()})`, - filter: - fromIdFilters.length && toIdFilters.length - ? `filter: { or: [ { ${fromIdFilters.join()} }, { ${toIdFilters.join()} } ] }` - : '', - variables, - }; -} - -/** - * @hidden - * - * Get the balance history for an Asset - */ -export function assetTransactionQuery( - filters: QueryArgs, - size?: BigNumber, - start?: BigNumber -): QueryOptions>> { - const query = gql` - query AssetTransactionQuery($assetId: String!) { - assetTransactions( - filter: { assetId: { equalTo: $assetId } } - orderBy: [${AssetTransactionsOrderBy.CreatedAtAsc}, ${AssetTransactionsOrderBy.CreatedBlockIdAsc}] - ) { - totalCount - nodes { - assetId - amount - fromPortfolioId - fromPortfolio { - identityId - number - } - toPortfolioId - toPortfolio { - identityId - number - } - eventId - eventIdx - extrinsicIdx - fundingRound - instructionId - instructionMemo - datetime - createdBlock { - blockId - hash - datetime - } - } - } - } - `; - - return { - query, - variables: { ...filters, size: size?.toNumber(), start: start?.toNumber() }, - }; -} - -/** - * @hidden - * - * Get POLYX transactions where an Account or an Identity is involved - */ -export function polyxTransactionsQuery( - filters: QueryPolyxTransactionFilters, - size?: BigNumber, - start?: BigNumber -): QueryOptions> { - const { args, filter, variables } = createPolyxTransactionFilters(filters); - const query = gql` - query PolyxTransactionsQuery - ${args} - { - polyxTransactions( - ${filter} - first: $size - offset: $start - orderBy: [${PolyxTransactionsOrderBy.CreatedAtAsc}, ${PolyxTransactionsOrderBy.CreatedBlockIdAsc}] - ) { - nodes { - id - identityId - address - toId - toAddress - amount - type - extrinsic { - extrinsicIdx - } - callId - eventId - moduleId - eventIdx - memo - datetime - createdBlock { - blockId - datetime - hash - } - } - } - } - `; - - return { - query, - variables: { ...variables, size: size?.toNumber(), start: start?.toNumber() }, - }; -} - -export type AuthorizationArgs = 'fromId' | 'type' | 'status' | 'toId' | 'toKey' | 'expiry'; - -/** - * @hidden - */ -function createAuthorizationFilters(variables: QueryArgs): { - args: string; - filter: string; - variables: QueryArgs; -} { - const args = ['$size: Int, $start: Int']; - const filters = []; - const { fromId, toId, toKey, status, type } = variables; - if (fromId?.length) { - args.push('$fromId: String!'); - filters.push('fromId: { equalTo: $fromId }'); - } - if (toId?.length) { - args.push('$toId: String!'); - filters.push('toId: { equalTo: $toId }'); - } - if (toKey?.length) { - args.push('$toKey: String!'); - filters.push('toKey: { equalTo: $toKey }'); - } - if (type) { - args.push('$type: AuthTypeEnum!'); - filters.push('type: { equalTo: $type }'); - } - if (status) { - args.push('$status: AuthorizationStatusEnum!'); - filters.push('status: { equalTo: $status }'); - } - return { - args: `(${args.join()})`, - filter: filters.length ? `filter: { ${filters.join()} }` : '', - variables, - }; -} - -/** - * @hidden - * - * Get all authorizations with specified filters - */ -export function authorizationsQuery( - filters: QueryArgs, - size?: BigNumber, - start?: BigNumber -): QueryOptions>> { - const { args, filter } = createAuthorizationFilters(filters); - const query = gql` - query AuthorizationsQuery - ${args} - { - authorizations( - ${filter} - first: $size - offset: $start - orderBy: [${AuthorizationsOrderBy.CreatedAtAsc}, ${AuthorizationsOrderBy.CreatedBlockIdAsc}] - ) { - totalCount - nodes { - id - type - fromId - toId - toKey - data - expiry - status - createdBlockId - updatedBlockId - } - } - } - `; - - return { - query, - variables: { ...filters, size: size?.toNumber(), start: start?.toNumber() }, - }; -} - -/** - * @hidden - * - * Get MultiSig proposal details for a given MultiSig address and portfolio ID - */ -export function multiSigProposalQuery( - variables: QueryArgs -): QueryOptions> { - const query = gql` - query MultiSigProposalQuery($multisigId: String!, $proposalId: Int!) { - multiSigProposals( - filter: { multisigId: { equalTo: $multisigId }, proposalId: { equalTo: $proposalId } } - ) { - nodes { - eventIdx - creatorId - creatorAccount - createdBlock { - blockId - hash - datetime - } - updatedBlock { - blockId - hash - datetime - } - } - } - } - `; - - return { - query, - variables, - }; -} - -/** - * @hidden - * - * Get MultiSig proposal votes for a given proposalId ({multiSigAddress}/{proposalId}) - */ -export function multiSigProposalVotesQuery( - variables: QueryArgs -): QueryOptions> { - const query = gql` - query MultiSigProposalVotesQuery($proposalId: String!) { - multiSigProposalVotes( - filter: { proposalId: { equalTo: $proposalId } } - orderBy: [${MultiSigProposalVotesOrderBy.CreatedAtAsc}] - ) { - nodes { - signer { - signerType - signerValue - } - action - eventIdx - createdBlockId - createdBlock { - blockId - datetime - hash - } - } - } - } - `; - - return { - query, - variables, - }; -} - -/** - * @hidden - */ -export function createCustomClaimTypeQueryFilters(variables: CustomClaimTypesQuery): { - args: string; - filter: string; -} { - const args = ['$size: Int, $start: Int']; - const filters = []; - - const { dids } = variables; - - if (dids?.length) { - args.push('$dids: [String!]'); - filters.push('identityId: { in: $dids }'); - } - - return { - args: `(${args.join()})`, - filter: filters.length ? `filter: { ${filters.join()} },` : '', - }; -} - -export interface CustomClaimTypesQuery { - dids?: string[]; -} -/** - * @hidden - * - * Get registered CustomClaimTypes - */ -export function customClaimTypeQuery( - size?: BigNumber, - start?: BigNumber, - dids?: string[] -): QueryOptions> { - const { args, filter } = createCustomClaimTypeQueryFilters({ dids }); - - const query = gql` - query CustomClaimTypesQuery - ${args} - { - customClaimTypes( - ${filter} - first: $size - offset: $start - ){ - nodes { - id - name - identity { - did - } - } - totalCount - } - } -`; - - return { - query, - variables: { size: size?.toNumber(), start: start?.toNumber(), dids }, - }; -} diff --git a/src/middleware/types.ts b/src/middleware/types.ts deleted file mode 100644 index dd843a4da0..0000000000 --- a/src/middleware/types.ts +++ /dev/null @@ -1,110921 +0,0 @@ -export type Maybe = T; -export type InputMaybe = T; -export type Exact = { [K in keyof T]: T[K] }; -export type MakeOptional = Omit & { [SubKey in K]?: Maybe }; -export type MakeMaybe = Omit & { [SubKey in K]: Maybe }; -export type MakeEmpty = { - [_ in K]?: never; -}; -export type Incremental = - | 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 }; - BigFloat: { input: any; output: any }; - BigInt: { input: any; output: any }; - Cursor: { input: any; output: any }; - Date: { input: any; output: any }; - Datetime: { input: any; output: any }; - JSON: { input: any; output: any }; -}; - -/** - * Represents a public/private key pair. Most actions must be signed by an appropriately permissioned Account - * - * Before an Account can sign most Extrinsics it must first be attached to an Identity - */ -export type Account = Node & { - __typename?: 'Account'; - address: Scalars['String']['output']; - /** Reads and enables pagination through a set of `Block`. */ - blocksByMultiSigCreatorAccountIdAndCreatedBlockId: AccountBlocksByMultiSigCreatorAccountIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByMultiSigCreatorAccountIdAndUpdatedBlockId: AccountBlocksByMultiSigCreatorAccountIdAndUpdatedBlockIdManyToManyConnection; - createdAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `Account`. */ - createdBlock?: Maybe; - createdBlockId: Scalars['String']['output']; - datetime: Scalars['Datetime']['output']; - eventId: EventIdEnum; - id: Scalars['String']['output']; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByMultiSigCreatorAccountIdAndCreatorId: AccountIdentitiesByMultiSigCreatorAccountIdAndCreatorIdManyToManyConnection; - /** Reads a single `Identity` that is related to this `Account`. */ - identity?: Maybe; - identityId?: Maybe; - /** Reads and enables pagination through a set of `MultiSig`. */ - multiSigsByCreatorAccountId: MultiSigsConnection; - /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ - nodeId: Scalars['ID']['output']; - /** Reads a single `Permission` that is related to this `Account`. */ - permissions?: Maybe; - permissionsId?: Maybe; - updatedAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `Account`. */ - updatedBlock?: Maybe; - updatedBlockId: Scalars['String']['output']; -}; - -/** - * Represents a public/private key pair. Most actions must be signed by an appropriately permissioned Account - * - * Before an Account can sign most Extrinsics it must first be attached to an Identity - */ -export type AccountBlocksByMultiSigCreatorAccountIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a public/private key pair. Most actions must be signed by an appropriately permissioned Account - * - * Before an Account can sign most Extrinsics it must first be attached to an Identity - */ -export type AccountBlocksByMultiSigCreatorAccountIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a public/private key pair. Most actions must be signed by an appropriately permissioned Account - * - * Before an Account can sign most Extrinsics it must first be attached to an Identity - */ -export type AccountIdentitiesByMultiSigCreatorAccountIdAndCreatorIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a public/private key pair. Most actions must be signed by an appropriately permissioned Account - * - * Before an Account can sign most Extrinsics it must first be attached to an Identity - */ -export type AccountMultiSigsByCreatorAccountIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -export type AccountAggregates = { - __typename?: 'AccountAggregates'; - /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ - distinctCount?: Maybe; - keys?: Maybe>; -}; - -/** A filter to be used against aggregates of `Account` object types. */ -export type AccountAggregatesFilter = { - /** Distinct count aggregate over matching `Account` objects. */ - distinctCount?: InputMaybe; - /** A filter that must pass for the relevant `Account` object to be included within the aggregate. */ - filter?: InputMaybe; -}; - -/** A connection to a list of `Block` values, with data from `MultiSig`. */ -export type AccountBlocksByMultiSigCreatorAccountIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'AccountBlocksByMultiSigCreatorAccountIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `MultiSig`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `MultiSig`. */ -export type AccountBlocksByMultiSigCreatorAccountIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `MultiSig`. */ -export type AccountBlocksByMultiSigCreatorAccountIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'AccountBlocksByMultiSigCreatorAccountIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `MultiSig`. */ - multiSigsByCreatedBlockId: MultiSigsConnection; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `MultiSig`. */ -export type AccountBlocksByMultiSigCreatorAccountIdAndCreatedBlockIdManyToManyEdgeMultiSigsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `MultiSig`. */ -export type AccountBlocksByMultiSigCreatorAccountIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'AccountBlocksByMultiSigCreatorAccountIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `MultiSig`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `MultiSig`. */ -export type AccountBlocksByMultiSigCreatorAccountIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `MultiSig`. */ -export type AccountBlocksByMultiSigCreatorAccountIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'AccountBlocksByMultiSigCreatorAccountIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `MultiSig`. */ - multiSigsByUpdatedBlockId: MultiSigsConnection; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `MultiSig`. */ -export type AccountBlocksByMultiSigCreatorAccountIdAndUpdatedBlockIdManyToManyEdgeMultiSigsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -export type AccountDistinctCountAggregateFilter = { - address?: InputMaybe; - createdAt?: InputMaybe; - createdBlockId?: InputMaybe; - datetime?: InputMaybe; - eventId?: InputMaybe; - id?: InputMaybe; - identityId?: InputMaybe; - permissionsId?: InputMaybe; - updatedAt?: InputMaybe; - updatedBlockId?: InputMaybe; -}; - -export type AccountDistinctCountAggregates = { - __typename?: 'AccountDistinctCountAggregates'; - /** Distinct count of address across the matching connection */ - address?: Maybe; - /** Distinct count of createdAt across the matching connection */ - createdAt?: Maybe; - /** Distinct count of createdBlockId across the matching connection */ - createdBlockId?: Maybe; - /** Distinct count of datetime across the matching connection */ - datetime?: Maybe; - /** Distinct count of eventId across the matching connection */ - eventId?: Maybe; - /** Distinct count of id across the matching connection */ - id?: Maybe; - /** Distinct count of identityId across the matching connection */ - identityId?: Maybe; - /** Distinct count of permissionsId across the matching connection */ - permissionsId?: Maybe; - /** Distinct count of updatedAt across the matching connection */ - updatedAt?: Maybe; - /** Distinct count of updatedBlockId across the matching connection */ - updatedBlockId?: Maybe; -}; - -/** A filter to be used against `Account` object types. All fields are combined with a logical ‘and.’ */ -export type AccountFilter = { - /** Filter by the object’s `address` field. */ - address?: InputMaybe; - /** Checks for all expressions in this list. */ - and?: InputMaybe>; - /** Filter by the object’s `createdAt` field. */ - createdAt?: InputMaybe; - /** Filter by the object’s `createdBlock` relation. */ - createdBlock?: InputMaybe; - /** Filter by the object’s `createdBlockId` field. */ - createdBlockId?: InputMaybe; - /** Filter by the object’s `datetime` field. */ - datetime?: InputMaybe; - /** Filter by the object’s `eventId` field. */ - eventId?: InputMaybe; - /** Filter by the object’s `id` field. */ - id?: InputMaybe; - /** Filter by the object’s `identity` relation. */ - identity?: InputMaybe; - /** A related `identity` exists. */ - identityExists?: InputMaybe; - /** Filter by the object’s `identityId` field. */ - identityId?: InputMaybe; - /** Filter by the object’s `multiSigsByCreatorAccountId` relation. */ - multiSigsByCreatorAccountId?: InputMaybe; - /** Some related `multiSigsByCreatorAccountId` exist. */ - multiSigsByCreatorAccountIdExist?: InputMaybe; - /** Negates the expression. */ - not?: InputMaybe; - /** Checks for any expressions in this list. */ - or?: InputMaybe>; - /** Filter by the object’s `permissions` relation. */ - permissions?: InputMaybe; - /** A related `permissions` exists. */ - permissionsExists?: InputMaybe; - /** Filter by the object’s `permissionsId` field. */ - permissionsId?: InputMaybe; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: InputMaybe; - /** Filter by the object’s `updatedBlock` relation. */ - updatedBlock?: InputMaybe; - /** Filter by the object’s `updatedBlockId` field. */ - updatedBlockId?: InputMaybe; -}; - -/** A connection to a list of `AccountHistory` values. */ -export type AccountHistoriesConnection = { - __typename?: 'AccountHistoriesConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `AccountHistory` and cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `AccountHistory` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `AccountHistory` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `AccountHistory` values. */ -export type AccountHistoriesConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `AccountHistory` edge in the connection. */ -export type AccountHistoriesEdge = { - __typename?: 'AccountHistoriesEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `AccountHistory` at the end of the edge. */ - node?: Maybe; -}; - -/** Grouping methods for `AccountHistory` for usage during aggregation. */ -export enum AccountHistoriesGroupBy { - Account = 'ACCOUNT', - CreatedAt = 'CREATED_AT', - CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', - CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', - CreatedBlockId = 'CREATED_BLOCK_ID', - Datetime = 'DATETIME', - DatetimeTruncatedToDay = 'DATETIME_TRUNCATED_TO_DAY', - DatetimeTruncatedToHour = 'DATETIME_TRUNCATED_TO_HOUR', - EventId = 'EVENT_ID', - Identity = 'IDENTITY', - Permissions = 'PERMISSIONS', - UpdatedAt = 'UPDATED_AT', - UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', - UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export type AccountHistoriesHavingAverageInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type AccountHistoriesHavingDistinctCountInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Conditions for `AccountHistory` aggregates. */ -export type AccountHistoriesHavingInput = { - AND?: InputMaybe>; - OR?: InputMaybe>; - average?: InputMaybe; - distinctCount?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddevPopulation?: InputMaybe; - stddevSample?: InputMaybe; - sum?: InputMaybe; - variancePopulation?: InputMaybe; - varianceSample?: InputMaybe; -}; - -export type AccountHistoriesHavingMaxInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type AccountHistoriesHavingMinInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type AccountHistoriesHavingStddevPopulationInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type AccountHistoriesHavingStddevSampleInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type AccountHistoriesHavingSumInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type AccountHistoriesHavingVariancePopulationInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type AccountHistoriesHavingVarianceSampleInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Methods to use when ordering `AccountHistory`. */ -export enum AccountHistoriesOrderBy { - AccountAsc = 'ACCOUNT_ASC', - AccountDesc = 'ACCOUNT_DESC', - CreatedAtAsc = 'CREATED_AT_ASC', - CreatedAtDesc = 'CREATED_AT_DESC', - CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', - CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', - DatetimeAsc = 'DATETIME_ASC', - DatetimeDesc = 'DATETIME_DESC', - EventIdAsc = 'EVENT_ID_ASC', - EventIdDesc = 'EVENT_ID_DESC', - IdentityAsc = 'IDENTITY_ASC', - IdentityDesc = 'IDENTITY_DESC', - IdAsc = 'ID_ASC', - IdDesc = 'ID_DESC', - Natural = 'NATURAL', - PermissionsAsc = 'PERMISSIONS_ASC', - PermissionsDesc = 'PERMISSIONS_DESC', - PrimaryKeyAsc = 'PRIMARY_KEY_ASC', - PrimaryKeyDesc = 'PRIMARY_KEY_DESC', - UpdatedAtAsc = 'UPDATED_AT_ASC', - UpdatedAtDesc = 'UPDATED_AT_DESC', - UpdatedBlockIdAsc = 'UPDATED_BLOCK_ID_ASC', - UpdatedBlockIdDesc = 'UPDATED_BLOCK_ID_DESC', -} - -/** Represents historical data of identities assigned to an account */ -export type AccountHistory = Node & { - __typename?: 'AccountHistory'; - account: Scalars['String']['output']; - createdAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `AccountHistory`. */ - createdBlock?: Maybe; - createdBlockId: Scalars['String']['output']; - datetime: Scalars['Datetime']['output']; - eventId: EventIdEnum; - id: Scalars['String']['output']; - identity: Scalars['String']['output']; - /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ - nodeId: Scalars['ID']['output']; - permissions?: Maybe; - updatedAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `AccountHistory`. */ - updatedBlock?: Maybe; - updatedBlockId: Scalars['String']['output']; -}; - -/** Represents historical data of identities assigned to an account */ -export type AccountHistoryPermissionsArgs = { - distinct?: InputMaybe>>; -}; - -export type AccountHistoryAggregates = { - __typename?: 'AccountHistoryAggregates'; - /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ - distinctCount?: Maybe; - keys?: Maybe>; -}; - -/** A filter to be used against aggregates of `AccountHistory` object types. */ -export type AccountHistoryAggregatesFilter = { - /** Distinct count aggregate over matching `AccountHistory` objects. */ - distinctCount?: InputMaybe; - /** A filter that must pass for the relevant `AccountHistory` object to be included within the aggregate. */ - filter?: InputMaybe; -}; - -export type AccountHistoryDistinctCountAggregateFilter = { - account?: InputMaybe; - createdAt?: InputMaybe; - createdBlockId?: InputMaybe; - datetime?: InputMaybe; - eventId?: InputMaybe; - id?: InputMaybe; - identity?: InputMaybe; - permissions?: InputMaybe; - updatedAt?: InputMaybe; - updatedBlockId?: InputMaybe; -}; - -export type AccountHistoryDistinctCountAggregates = { - __typename?: 'AccountHistoryDistinctCountAggregates'; - /** Distinct count of account across the matching connection */ - account?: Maybe; - /** Distinct count of createdAt across the matching connection */ - createdAt?: Maybe; - /** Distinct count of createdBlockId across the matching connection */ - createdBlockId?: Maybe; - /** Distinct count of datetime across the matching connection */ - datetime?: Maybe; - /** Distinct count of eventId across the matching connection */ - eventId?: Maybe; - /** Distinct count of id across the matching connection */ - id?: Maybe; - /** Distinct count of identity across the matching connection */ - identity?: Maybe; - /** Distinct count of permissions across the matching connection */ - permissions?: Maybe; - /** Distinct count of updatedAt across the matching connection */ - updatedAt?: Maybe; - /** Distinct count of updatedBlockId across the matching connection */ - updatedBlockId?: Maybe; -}; - -/** A filter to be used against `AccountHistory` object types. All fields are combined with a logical ‘and.’ */ -export type AccountHistoryFilter = { - /** Filter by the object’s `account` field. */ - account?: InputMaybe; - /** Checks for all expressions in this list. */ - and?: InputMaybe>; - /** Filter by the object’s `createdAt` field. */ - createdAt?: InputMaybe; - /** Filter by the object’s `createdBlock` relation. */ - createdBlock?: InputMaybe; - /** Filter by the object’s `createdBlockId` field. */ - createdBlockId?: InputMaybe; - /** Filter by the object’s `datetime` field. */ - datetime?: InputMaybe; - /** Filter by the object’s `eventId` field. */ - eventId?: InputMaybe; - /** Filter by the object’s `id` field. */ - id?: InputMaybe; - /** Filter by the object’s `identity` field. */ - identity?: InputMaybe; - /** Negates the expression. */ - not?: InputMaybe; - /** Checks for any expressions in this list. */ - or?: InputMaybe>; - /** Filter by the object’s `permissions` field. */ - permissions?: InputMaybe; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: InputMaybe; - /** Filter by the object’s `updatedBlock` relation. */ - updatedBlock?: InputMaybe; - /** Filter by the object’s `updatedBlockId` field. */ - updatedBlockId?: InputMaybe; -}; - -/** A connection to a list of `Identity` values, with data from `MultiSig`. */ -export type AccountIdentitiesByMultiSigCreatorAccountIdAndCreatorIdManyToManyConnection = { - __typename?: 'AccountIdentitiesByMultiSigCreatorAccountIdAndCreatorIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `MultiSig`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `MultiSig`. */ -export type AccountIdentitiesByMultiSigCreatorAccountIdAndCreatorIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `MultiSig`. */ -export type AccountIdentitiesByMultiSigCreatorAccountIdAndCreatorIdManyToManyEdge = { - __typename?: 'AccountIdentitiesByMultiSigCreatorAccountIdAndCreatorIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `MultiSig`. */ - multiSigsByCreatorId: MultiSigsConnection; - /** The `Identity` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Identity` edge in the connection, with data from `MultiSig`. */ -export type AccountIdentitiesByMultiSigCreatorAccountIdAndCreatorIdManyToManyEdgeMultiSigsByCreatorIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A filter to be used against many `MultiSig` object types. All fields are combined with a logical ‘and.’ */ -export type AccountToManyMultiSigFilter = { - /** Aggregates across related `MultiSig` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `MultiSig` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `MultiSig` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `MultiSig` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A connection to a list of `Account` values. */ -export type AccountsConnection = { - __typename?: 'AccountsConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Account` and cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Account` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Account` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Account` values. */ -export type AccountsConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `Account` edge in the connection. */ -export type AccountsEdge = { - __typename?: 'AccountsEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Account` at the end of the edge. */ - node?: Maybe; -}; - -/** Grouping methods for `Account` for usage during aggregation. */ -export enum AccountsGroupBy { - CreatedAt = 'CREATED_AT', - CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', - CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', - CreatedBlockId = 'CREATED_BLOCK_ID', - Datetime = 'DATETIME', - DatetimeTruncatedToDay = 'DATETIME_TRUNCATED_TO_DAY', - DatetimeTruncatedToHour = 'DATETIME_TRUNCATED_TO_HOUR', - EventId = 'EVENT_ID', - IdentityId = 'IDENTITY_ID', - PermissionsId = 'PERMISSIONS_ID', - UpdatedAt = 'UPDATED_AT', - UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', - UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export type AccountsHavingAverageInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type AccountsHavingDistinctCountInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Conditions for `Account` aggregates. */ -export type AccountsHavingInput = { - AND?: InputMaybe>; - OR?: InputMaybe>; - average?: InputMaybe; - distinctCount?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddevPopulation?: InputMaybe; - stddevSample?: InputMaybe; - sum?: InputMaybe; - variancePopulation?: InputMaybe; - varianceSample?: InputMaybe; -}; - -export type AccountsHavingMaxInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type AccountsHavingMinInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type AccountsHavingStddevPopulationInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type AccountsHavingStddevSampleInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type AccountsHavingSumInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type AccountsHavingVariancePopulationInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type AccountsHavingVarianceSampleInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Methods to use when ordering `Account`. */ -export enum AccountsOrderBy { - AddressAsc = 'ADDRESS_ASC', - AddressDesc = 'ADDRESS_DESC', - CreatedAtAsc = 'CREATED_AT_ASC', - CreatedAtDesc = 'CREATED_AT_DESC', - CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', - CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', - DatetimeAsc = 'DATETIME_ASC', - DatetimeDesc = 'DATETIME_DESC', - EventIdAsc = 'EVENT_ID_ASC', - EventIdDesc = 'EVENT_ID_DESC', - IdentityIdAsc = 'IDENTITY_ID_ASC', - IdentityIdDesc = 'IDENTITY_ID_DESC', - IdAsc = 'ID_ASC', - IdDesc = 'ID_DESC', - MultiSigsByCreatorAccountIdAverageAddressAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_AVERAGE_ADDRESS_ASC', - MultiSigsByCreatorAccountIdAverageAddressDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_AVERAGE_ADDRESS_DESC', - MultiSigsByCreatorAccountIdAverageCreatedAtAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_AVERAGE_CREATED_AT_ASC', - MultiSigsByCreatorAccountIdAverageCreatedAtDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_AVERAGE_CREATED_AT_DESC', - MultiSigsByCreatorAccountIdAverageCreatedBlockIdAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - MultiSigsByCreatorAccountIdAverageCreatedBlockIdDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - MultiSigsByCreatorAccountIdAverageCreatorAccountIdAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_AVERAGE_CREATOR_ACCOUNT_ID_ASC', - MultiSigsByCreatorAccountIdAverageCreatorAccountIdDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_AVERAGE_CREATOR_ACCOUNT_ID_DESC', - MultiSigsByCreatorAccountIdAverageCreatorIdAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_AVERAGE_CREATOR_ID_ASC', - MultiSigsByCreatorAccountIdAverageCreatorIdDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_AVERAGE_CREATOR_ID_DESC', - MultiSigsByCreatorAccountIdAverageIdAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_AVERAGE_ID_ASC', - MultiSigsByCreatorAccountIdAverageIdDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_AVERAGE_ID_DESC', - MultiSigsByCreatorAccountIdAverageSignaturesRequiredAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_AVERAGE_SIGNATURES_REQUIRED_ASC', - MultiSigsByCreatorAccountIdAverageSignaturesRequiredDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_AVERAGE_SIGNATURES_REQUIRED_DESC', - MultiSigsByCreatorAccountIdAverageUpdatedAtAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_AVERAGE_UPDATED_AT_ASC', - MultiSigsByCreatorAccountIdAverageUpdatedAtDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_AVERAGE_UPDATED_AT_DESC', - MultiSigsByCreatorAccountIdAverageUpdatedBlockIdAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - MultiSigsByCreatorAccountIdAverageUpdatedBlockIdDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - MultiSigsByCreatorAccountIdCountAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_COUNT_ASC', - MultiSigsByCreatorAccountIdCountDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_COUNT_DESC', - MultiSigsByCreatorAccountIdDistinctCountAddressAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_DISTINCT_COUNT_ADDRESS_ASC', - MultiSigsByCreatorAccountIdDistinctCountAddressDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_DISTINCT_COUNT_ADDRESS_DESC', - MultiSigsByCreatorAccountIdDistinctCountCreatedAtAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_DISTINCT_COUNT_CREATED_AT_ASC', - MultiSigsByCreatorAccountIdDistinctCountCreatedAtDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_DISTINCT_COUNT_CREATED_AT_DESC', - MultiSigsByCreatorAccountIdDistinctCountCreatedBlockIdAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - MultiSigsByCreatorAccountIdDistinctCountCreatedBlockIdDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - MultiSigsByCreatorAccountIdDistinctCountCreatorAccountIdAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_DISTINCT_COUNT_CREATOR_ACCOUNT_ID_ASC', - MultiSigsByCreatorAccountIdDistinctCountCreatorAccountIdDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_DISTINCT_COUNT_CREATOR_ACCOUNT_ID_DESC', - MultiSigsByCreatorAccountIdDistinctCountCreatorIdAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_DISTINCT_COUNT_CREATOR_ID_ASC', - MultiSigsByCreatorAccountIdDistinctCountCreatorIdDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_DISTINCT_COUNT_CREATOR_ID_DESC', - MultiSigsByCreatorAccountIdDistinctCountIdAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_DISTINCT_COUNT_ID_ASC', - MultiSigsByCreatorAccountIdDistinctCountIdDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_DISTINCT_COUNT_ID_DESC', - MultiSigsByCreatorAccountIdDistinctCountSignaturesRequiredAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_DISTINCT_COUNT_SIGNATURES_REQUIRED_ASC', - MultiSigsByCreatorAccountIdDistinctCountSignaturesRequiredDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_DISTINCT_COUNT_SIGNATURES_REQUIRED_DESC', - MultiSigsByCreatorAccountIdDistinctCountUpdatedAtAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - MultiSigsByCreatorAccountIdDistinctCountUpdatedAtDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - MultiSigsByCreatorAccountIdDistinctCountUpdatedBlockIdAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - MultiSigsByCreatorAccountIdDistinctCountUpdatedBlockIdDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - MultiSigsByCreatorAccountIdMaxAddressAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_MAX_ADDRESS_ASC', - MultiSigsByCreatorAccountIdMaxAddressDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_MAX_ADDRESS_DESC', - MultiSigsByCreatorAccountIdMaxCreatedAtAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_MAX_CREATED_AT_ASC', - MultiSigsByCreatorAccountIdMaxCreatedAtDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_MAX_CREATED_AT_DESC', - MultiSigsByCreatorAccountIdMaxCreatedBlockIdAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_MAX_CREATED_BLOCK_ID_ASC', - MultiSigsByCreatorAccountIdMaxCreatedBlockIdDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_MAX_CREATED_BLOCK_ID_DESC', - MultiSigsByCreatorAccountIdMaxCreatorAccountIdAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_MAX_CREATOR_ACCOUNT_ID_ASC', - MultiSigsByCreatorAccountIdMaxCreatorAccountIdDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_MAX_CREATOR_ACCOUNT_ID_DESC', - MultiSigsByCreatorAccountIdMaxCreatorIdAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_MAX_CREATOR_ID_ASC', - MultiSigsByCreatorAccountIdMaxCreatorIdDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_MAX_CREATOR_ID_DESC', - MultiSigsByCreatorAccountIdMaxIdAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_MAX_ID_ASC', - MultiSigsByCreatorAccountIdMaxIdDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_MAX_ID_DESC', - MultiSigsByCreatorAccountIdMaxSignaturesRequiredAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_MAX_SIGNATURES_REQUIRED_ASC', - MultiSigsByCreatorAccountIdMaxSignaturesRequiredDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_MAX_SIGNATURES_REQUIRED_DESC', - MultiSigsByCreatorAccountIdMaxUpdatedAtAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_MAX_UPDATED_AT_ASC', - MultiSigsByCreatorAccountIdMaxUpdatedAtDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_MAX_UPDATED_AT_DESC', - MultiSigsByCreatorAccountIdMaxUpdatedBlockIdAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_MAX_UPDATED_BLOCK_ID_ASC', - MultiSigsByCreatorAccountIdMaxUpdatedBlockIdDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_MAX_UPDATED_BLOCK_ID_DESC', - MultiSigsByCreatorAccountIdMinAddressAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_MIN_ADDRESS_ASC', - MultiSigsByCreatorAccountIdMinAddressDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_MIN_ADDRESS_DESC', - MultiSigsByCreatorAccountIdMinCreatedAtAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_MIN_CREATED_AT_ASC', - MultiSigsByCreatorAccountIdMinCreatedAtDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_MIN_CREATED_AT_DESC', - MultiSigsByCreatorAccountIdMinCreatedBlockIdAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_MIN_CREATED_BLOCK_ID_ASC', - MultiSigsByCreatorAccountIdMinCreatedBlockIdDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_MIN_CREATED_BLOCK_ID_DESC', - MultiSigsByCreatorAccountIdMinCreatorAccountIdAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_MIN_CREATOR_ACCOUNT_ID_ASC', - MultiSigsByCreatorAccountIdMinCreatorAccountIdDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_MIN_CREATOR_ACCOUNT_ID_DESC', - MultiSigsByCreatorAccountIdMinCreatorIdAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_MIN_CREATOR_ID_ASC', - MultiSigsByCreatorAccountIdMinCreatorIdDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_MIN_CREATOR_ID_DESC', - MultiSigsByCreatorAccountIdMinIdAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_MIN_ID_ASC', - MultiSigsByCreatorAccountIdMinIdDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_MIN_ID_DESC', - MultiSigsByCreatorAccountIdMinSignaturesRequiredAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_MIN_SIGNATURES_REQUIRED_ASC', - MultiSigsByCreatorAccountIdMinSignaturesRequiredDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_MIN_SIGNATURES_REQUIRED_DESC', - MultiSigsByCreatorAccountIdMinUpdatedAtAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_MIN_UPDATED_AT_ASC', - MultiSigsByCreatorAccountIdMinUpdatedAtDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_MIN_UPDATED_AT_DESC', - MultiSigsByCreatorAccountIdMinUpdatedBlockIdAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_MIN_UPDATED_BLOCK_ID_ASC', - MultiSigsByCreatorAccountIdMinUpdatedBlockIdDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_MIN_UPDATED_BLOCK_ID_DESC', - MultiSigsByCreatorAccountIdStddevPopulationAddressAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_STDDEV_POPULATION_ADDRESS_ASC', - MultiSigsByCreatorAccountIdStddevPopulationAddressDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_STDDEV_POPULATION_ADDRESS_DESC', - MultiSigsByCreatorAccountIdStddevPopulationCreatedAtAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_STDDEV_POPULATION_CREATED_AT_ASC', - MultiSigsByCreatorAccountIdStddevPopulationCreatedAtDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_STDDEV_POPULATION_CREATED_AT_DESC', - MultiSigsByCreatorAccountIdStddevPopulationCreatedBlockIdAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - MultiSigsByCreatorAccountIdStddevPopulationCreatedBlockIdDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - MultiSigsByCreatorAccountIdStddevPopulationCreatorAccountIdAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_STDDEV_POPULATION_CREATOR_ACCOUNT_ID_ASC', - MultiSigsByCreatorAccountIdStddevPopulationCreatorAccountIdDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_STDDEV_POPULATION_CREATOR_ACCOUNT_ID_DESC', - MultiSigsByCreatorAccountIdStddevPopulationCreatorIdAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_STDDEV_POPULATION_CREATOR_ID_ASC', - MultiSigsByCreatorAccountIdStddevPopulationCreatorIdDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_STDDEV_POPULATION_CREATOR_ID_DESC', - MultiSigsByCreatorAccountIdStddevPopulationIdAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_STDDEV_POPULATION_ID_ASC', - MultiSigsByCreatorAccountIdStddevPopulationIdDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_STDDEV_POPULATION_ID_DESC', - MultiSigsByCreatorAccountIdStddevPopulationSignaturesRequiredAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_STDDEV_POPULATION_SIGNATURES_REQUIRED_ASC', - MultiSigsByCreatorAccountIdStddevPopulationSignaturesRequiredDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_STDDEV_POPULATION_SIGNATURES_REQUIRED_DESC', - MultiSigsByCreatorAccountIdStddevPopulationUpdatedAtAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - MultiSigsByCreatorAccountIdStddevPopulationUpdatedAtDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - MultiSigsByCreatorAccountIdStddevPopulationUpdatedBlockIdAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - MultiSigsByCreatorAccountIdStddevPopulationUpdatedBlockIdDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - MultiSigsByCreatorAccountIdStddevSampleAddressAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_STDDEV_SAMPLE_ADDRESS_ASC', - MultiSigsByCreatorAccountIdStddevSampleAddressDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_STDDEV_SAMPLE_ADDRESS_DESC', - MultiSigsByCreatorAccountIdStddevSampleCreatedAtAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - MultiSigsByCreatorAccountIdStddevSampleCreatedAtDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - MultiSigsByCreatorAccountIdStddevSampleCreatedBlockIdAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - MultiSigsByCreatorAccountIdStddevSampleCreatedBlockIdDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - MultiSigsByCreatorAccountIdStddevSampleCreatorAccountIdAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_STDDEV_SAMPLE_CREATOR_ACCOUNT_ID_ASC', - MultiSigsByCreatorAccountIdStddevSampleCreatorAccountIdDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_STDDEV_SAMPLE_CREATOR_ACCOUNT_ID_DESC', - MultiSigsByCreatorAccountIdStddevSampleCreatorIdAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_STDDEV_SAMPLE_CREATOR_ID_ASC', - MultiSigsByCreatorAccountIdStddevSampleCreatorIdDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_STDDEV_SAMPLE_CREATOR_ID_DESC', - MultiSigsByCreatorAccountIdStddevSampleIdAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_STDDEV_SAMPLE_ID_ASC', - MultiSigsByCreatorAccountIdStddevSampleIdDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_STDDEV_SAMPLE_ID_DESC', - MultiSigsByCreatorAccountIdStddevSampleSignaturesRequiredAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_STDDEV_SAMPLE_SIGNATURES_REQUIRED_ASC', - MultiSigsByCreatorAccountIdStddevSampleSignaturesRequiredDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_STDDEV_SAMPLE_SIGNATURES_REQUIRED_DESC', - MultiSigsByCreatorAccountIdStddevSampleUpdatedAtAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - MultiSigsByCreatorAccountIdStddevSampleUpdatedAtDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - MultiSigsByCreatorAccountIdStddevSampleUpdatedBlockIdAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - MultiSigsByCreatorAccountIdStddevSampleUpdatedBlockIdDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - MultiSigsByCreatorAccountIdSumAddressAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_SUM_ADDRESS_ASC', - MultiSigsByCreatorAccountIdSumAddressDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_SUM_ADDRESS_DESC', - MultiSigsByCreatorAccountIdSumCreatedAtAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_SUM_CREATED_AT_ASC', - MultiSigsByCreatorAccountIdSumCreatedAtDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_SUM_CREATED_AT_DESC', - MultiSigsByCreatorAccountIdSumCreatedBlockIdAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_SUM_CREATED_BLOCK_ID_ASC', - MultiSigsByCreatorAccountIdSumCreatedBlockIdDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_SUM_CREATED_BLOCK_ID_DESC', - MultiSigsByCreatorAccountIdSumCreatorAccountIdAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_SUM_CREATOR_ACCOUNT_ID_ASC', - MultiSigsByCreatorAccountIdSumCreatorAccountIdDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_SUM_CREATOR_ACCOUNT_ID_DESC', - MultiSigsByCreatorAccountIdSumCreatorIdAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_SUM_CREATOR_ID_ASC', - MultiSigsByCreatorAccountIdSumCreatorIdDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_SUM_CREATOR_ID_DESC', - MultiSigsByCreatorAccountIdSumIdAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_SUM_ID_ASC', - MultiSigsByCreatorAccountIdSumIdDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_SUM_ID_DESC', - MultiSigsByCreatorAccountIdSumSignaturesRequiredAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_SUM_SIGNATURES_REQUIRED_ASC', - MultiSigsByCreatorAccountIdSumSignaturesRequiredDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_SUM_SIGNATURES_REQUIRED_DESC', - MultiSigsByCreatorAccountIdSumUpdatedAtAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_SUM_UPDATED_AT_ASC', - MultiSigsByCreatorAccountIdSumUpdatedAtDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_SUM_UPDATED_AT_DESC', - MultiSigsByCreatorAccountIdSumUpdatedBlockIdAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_SUM_UPDATED_BLOCK_ID_ASC', - MultiSigsByCreatorAccountIdSumUpdatedBlockIdDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_SUM_UPDATED_BLOCK_ID_DESC', - MultiSigsByCreatorAccountIdVariancePopulationAddressAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_VARIANCE_POPULATION_ADDRESS_ASC', - MultiSigsByCreatorAccountIdVariancePopulationAddressDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_VARIANCE_POPULATION_ADDRESS_DESC', - MultiSigsByCreatorAccountIdVariancePopulationCreatedAtAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - MultiSigsByCreatorAccountIdVariancePopulationCreatedAtDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - MultiSigsByCreatorAccountIdVariancePopulationCreatedBlockIdAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - MultiSigsByCreatorAccountIdVariancePopulationCreatedBlockIdDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - MultiSigsByCreatorAccountIdVariancePopulationCreatorAccountIdAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_VARIANCE_POPULATION_CREATOR_ACCOUNT_ID_ASC', - MultiSigsByCreatorAccountIdVariancePopulationCreatorAccountIdDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_VARIANCE_POPULATION_CREATOR_ACCOUNT_ID_DESC', - MultiSigsByCreatorAccountIdVariancePopulationCreatorIdAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_VARIANCE_POPULATION_CREATOR_ID_ASC', - MultiSigsByCreatorAccountIdVariancePopulationCreatorIdDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_VARIANCE_POPULATION_CREATOR_ID_DESC', - MultiSigsByCreatorAccountIdVariancePopulationIdAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_VARIANCE_POPULATION_ID_ASC', - MultiSigsByCreatorAccountIdVariancePopulationIdDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_VARIANCE_POPULATION_ID_DESC', - MultiSigsByCreatorAccountIdVariancePopulationSignaturesRequiredAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_VARIANCE_POPULATION_SIGNATURES_REQUIRED_ASC', - MultiSigsByCreatorAccountIdVariancePopulationSignaturesRequiredDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_VARIANCE_POPULATION_SIGNATURES_REQUIRED_DESC', - MultiSigsByCreatorAccountIdVariancePopulationUpdatedAtAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - MultiSigsByCreatorAccountIdVariancePopulationUpdatedAtDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - MultiSigsByCreatorAccountIdVariancePopulationUpdatedBlockIdAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - MultiSigsByCreatorAccountIdVariancePopulationUpdatedBlockIdDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - MultiSigsByCreatorAccountIdVarianceSampleAddressAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_VARIANCE_SAMPLE_ADDRESS_ASC', - MultiSigsByCreatorAccountIdVarianceSampleAddressDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_VARIANCE_SAMPLE_ADDRESS_DESC', - MultiSigsByCreatorAccountIdVarianceSampleCreatedAtAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - MultiSigsByCreatorAccountIdVarianceSampleCreatedAtDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - MultiSigsByCreatorAccountIdVarianceSampleCreatedBlockIdAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - MultiSigsByCreatorAccountIdVarianceSampleCreatedBlockIdDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - MultiSigsByCreatorAccountIdVarianceSampleCreatorAccountIdAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_VARIANCE_SAMPLE_CREATOR_ACCOUNT_ID_ASC', - MultiSigsByCreatorAccountIdVarianceSampleCreatorAccountIdDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_VARIANCE_SAMPLE_CREATOR_ACCOUNT_ID_DESC', - MultiSigsByCreatorAccountIdVarianceSampleCreatorIdAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_VARIANCE_SAMPLE_CREATOR_ID_ASC', - MultiSigsByCreatorAccountIdVarianceSampleCreatorIdDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_VARIANCE_SAMPLE_CREATOR_ID_DESC', - MultiSigsByCreatorAccountIdVarianceSampleIdAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_VARIANCE_SAMPLE_ID_ASC', - MultiSigsByCreatorAccountIdVarianceSampleIdDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_VARIANCE_SAMPLE_ID_DESC', - MultiSigsByCreatorAccountIdVarianceSampleSignaturesRequiredAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_VARIANCE_SAMPLE_SIGNATURES_REQUIRED_ASC', - MultiSigsByCreatorAccountIdVarianceSampleSignaturesRequiredDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_VARIANCE_SAMPLE_SIGNATURES_REQUIRED_DESC', - MultiSigsByCreatorAccountIdVarianceSampleUpdatedAtAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - MultiSigsByCreatorAccountIdVarianceSampleUpdatedAtDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - MultiSigsByCreatorAccountIdVarianceSampleUpdatedBlockIdAsc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - MultiSigsByCreatorAccountIdVarianceSampleUpdatedBlockIdDesc = 'MULTI_SIGS_BY_CREATOR_ACCOUNT_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - Natural = 'NATURAL', - PermissionsIdAsc = 'PERMISSIONS_ID_ASC', - PermissionsIdDesc = 'PERMISSIONS_ID_DESC', - PrimaryKeyAsc = 'PRIMARY_KEY_ASC', - PrimaryKeyDesc = 'PRIMARY_KEY_DESC', - UpdatedAtAsc = 'UPDATED_AT_ASC', - UpdatedAtDesc = 'UPDATED_AT_DESC', - UpdatedBlockIdAsc = 'UPDATED_BLOCK_ID_ASC', - UpdatedBlockIdDesc = 'UPDATED_BLOCK_ID_DESC', -} - -export enum AffirmStatusEnum { - Affirmed = 'Affirmed', - Rejected = 'Rejected', -} - -/** A filter to be used against AffirmStatusEnum fields. All fields are combined with a logical ‘and.’ */ -export type AffirmStatusEnumFilter = { - /** Not equal to the specified value, treating null like an ordinary value. */ - distinctFrom?: InputMaybe; - /** Equal to the specified value. */ - equalTo?: InputMaybe; - /** Greater than the specified value. */ - greaterThan?: InputMaybe; - /** Greater than or equal to the specified value. */ - greaterThanOrEqualTo?: InputMaybe; - /** Included in the specified list. */ - in?: InputMaybe>; - /** Is null (if `true` is specified) or is not null (if `false` is specified). */ - isNull?: InputMaybe; - /** Less than the specified value. */ - lessThan?: InputMaybe; - /** Less than or equal to the specified value. */ - lessThanOrEqualTo?: InputMaybe; - /** Equal to the specified value, treating null like an ordinary value. */ - notDistinctFrom?: InputMaybe; - /** Not equal to the specified value. */ - notEqualTo?: InputMaybe; - /** Not included in the specified list. */ - notIn?: InputMaybe>; -}; - -export enum AffirmingPartyEnum { - Mediator = 'Mediator', - Receiver = 'Receiver', - Sender = 'Sender', -} - -/** A filter to be used against AffirmingPartyEnum fields. All fields are combined with a logical ‘and.’ */ -export type AffirmingPartyEnumFilter = { - /** Not equal to the specified value, treating null like an ordinary value. */ - distinctFrom?: InputMaybe; - /** Equal to the specified value. */ - equalTo?: InputMaybe; - /** Greater than the specified value. */ - greaterThan?: InputMaybe; - /** Greater than or equal to the specified value. */ - greaterThanOrEqualTo?: InputMaybe; - /** Included in the specified list. */ - in?: InputMaybe>; - /** Is null (if `true` is specified) or is not null (if `false` is specified). */ - isNull?: InputMaybe; - /** Less than the specified value. */ - lessThan?: InputMaybe; - /** Less than or equal to the specified value. */ - lessThanOrEqualTo?: InputMaybe; - /** Equal to the specified value, treating null like an ordinary value. */ - notDistinctFrom?: InputMaybe; - /** Not equal to the specified value. */ - notEqualTo?: InputMaybe; - /** Not included in the specified list. */ - notIn?: InputMaybe>; -}; - -/** Represents a set of agents authorized to perform actions for a given Asset */ -export type AgentGroup = Node & { - __typename?: 'AgentGroup'; - /** Reads and enables pagination through a set of `Block`. */ - blocksByAgentGroupMembershipGroupIdAndCreatedBlockId: AgentGroupBlocksByAgentGroupMembershipGroupIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByAgentGroupMembershipGroupIdAndUpdatedBlockId: AgentGroupBlocksByAgentGroupMembershipGroupIdAndUpdatedBlockIdManyToManyConnection; - createdAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `AgentGroup`. */ - createdBlock?: Maybe; - createdBlockId: Scalars['String']['output']; - id: Scalars['String']['output']; - /** Reads and enables pagination through a set of `AgentGroupMembership`. */ - members: AgentGroupMembershipsConnection; - /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ - nodeId: Scalars['ID']['output']; - permissions: Scalars['String']['output']; - updatedAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `AgentGroup`. */ - updatedBlock?: Maybe; - updatedBlockId: Scalars['String']['output']; -}; - -/** Represents a set of agents authorized to perform actions for a given Asset */ -export type AgentGroupBlocksByAgentGroupMembershipGroupIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a set of agents authorized to perform actions for a given Asset */ -export type AgentGroupBlocksByAgentGroupMembershipGroupIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a set of agents authorized to perform actions for a given Asset */ -export type AgentGroupMembersArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a set of agents authorized to perform actions for a given Asset */ -export type AgentGroupPermissionsArgs = { - distinct?: InputMaybe>>; -}; - -export type AgentGroupAggregates = { - __typename?: 'AgentGroupAggregates'; - /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ - distinctCount?: Maybe; - keys?: Maybe>; -}; - -/** A filter to be used against aggregates of `AgentGroup` object types. */ -export type AgentGroupAggregatesFilter = { - /** Distinct count aggregate over matching `AgentGroup` objects. */ - distinctCount?: InputMaybe; - /** A filter that must pass for the relevant `AgentGroup` object to be included within the aggregate. */ - filter?: InputMaybe; -}; - -/** A connection to a list of `Block` values, with data from `AgentGroupMembership`. */ -export type AgentGroupBlocksByAgentGroupMembershipGroupIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'AgentGroupBlocksByAgentGroupMembershipGroupIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `AgentGroupMembership`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `AgentGroupMembership`. */ -export type AgentGroupBlocksByAgentGroupMembershipGroupIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `AgentGroupMembership`. */ -export type AgentGroupBlocksByAgentGroupMembershipGroupIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'AgentGroupBlocksByAgentGroupMembershipGroupIdAndCreatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `AgentGroupMembership`. */ - agentGroupMembershipsByCreatedBlockId: AgentGroupMembershipsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `AgentGroupMembership`. */ -export type AgentGroupBlocksByAgentGroupMembershipGroupIdAndCreatedBlockIdManyToManyEdgeAgentGroupMembershipsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `AgentGroupMembership`. */ -export type AgentGroupBlocksByAgentGroupMembershipGroupIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'AgentGroupBlocksByAgentGroupMembershipGroupIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `AgentGroupMembership`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `AgentGroupMembership`. */ -export type AgentGroupBlocksByAgentGroupMembershipGroupIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `AgentGroupMembership`. */ -export type AgentGroupBlocksByAgentGroupMembershipGroupIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'AgentGroupBlocksByAgentGroupMembershipGroupIdAndUpdatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `AgentGroupMembership`. */ - agentGroupMembershipsByUpdatedBlockId: AgentGroupMembershipsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `AgentGroupMembership`. */ -export type AgentGroupBlocksByAgentGroupMembershipGroupIdAndUpdatedBlockIdManyToManyEdgeAgentGroupMembershipsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -export type AgentGroupDistinctCountAggregateFilter = { - createdAt?: InputMaybe; - createdBlockId?: InputMaybe; - id?: InputMaybe; - permissions?: InputMaybe; - updatedAt?: InputMaybe; - updatedBlockId?: InputMaybe; -}; - -export type AgentGroupDistinctCountAggregates = { - __typename?: 'AgentGroupDistinctCountAggregates'; - /** Distinct count of createdAt across the matching connection */ - createdAt?: Maybe; - /** Distinct count of createdBlockId across the matching connection */ - createdBlockId?: Maybe; - /** Distinct count of id across the matching connection */ - id?: Maybe; - /** Distinct count of permissions across the matching connection */ - permissions?: Maybe; - /** Distinct count of updatedAt across the matching connection */ - updatedAt?: Maybe; - /** Distinct count of updatedBlockId across the matching connection */ - updatedBlockId?: Maybe; -}; - -/** A filter to be used against `AgentGroup` object types. All fields are combined with a logical ‘and.’ */ -export type AgentGroupFilter = { - /** Checks for all expressions in this list. */ - and?: InputMaybe>; - /** Filter by the object’s `createdAt` field. */ - createdAt?: InputMaybe; - /** Filter by the object’s `createdBlock` relation. */ - createdBlock?: InputMaybe; - /** Filter by the object’s `createdBlockId` field. */ - createdBlockId?: InputMaybe; - /** Filter by the object’s `id` field. */ - id?: InputMaybe; - /** Filter by the object’s `members` relation. */ - members?: InputMaybe; - /** Some related `members` exist. */ - membersExist?: InputMaybe; - /** Negates the expression. */ - not?: InputMaybe; - /** Checks for any expressions in this list. */ - or?: InputMaybe>; - /** Filter by the object’s `permissions` field. */ - permissions?: InputMaybe; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: InputMaybe; - /** Filter by the object’s `updatedBlock` relation. */ - updatedBlock?: InputMaybe; - /** Filter by the object’s `updatedBlockId` field. */ - updatedBlockId?: InputMaybe; -}; - -/** Represent membership in a group. Tracks which members belong to which groups */ -export type AgentGroupMembership = Node & { - __typename?: 'AgentGroupMembership'; - createdAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `AgentGroupMembership`. */ - createdBlock?: Maybe; - createdBlockId: Scalars['String']['output']; - /** Reads a single `AgentGroup` that is related to this `AgentGroupMembership`. */ - group?: Maybe; - groupId: Scalars['String']['output']; - id: Scalars['String']['output']; - member: Scalars['String']['output']; - /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ - nodeId: Scalars['ID']['output']; - updatedAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `AgentGroupMembership`. */ - updatedBlock?: Maybe; - updatedBlockId: Scalars['String']['output']; -}; - -export type AgentGroupMembershipAggregates = { - __typename?: 'AgentGroupMembershipAggregates'; - /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ - distinctCount?: Maybe; - keys?: Maybe>; -}; - -/** A filter to be used against aggregates of `AgentGroupMembership` object types. */ -export type AgentGroupMembershipAggregatesFilter = { - /** Distinct count aggregate over matching `AgentGroupMembership` objects. */ - distinctCount?: InputMaybe; - /** A filter that must pass for the relevant `AgentGroupMembership` object to be included within the aggregate. */ - filter?: InputMaybe; -}; - -export type AgentGroupMembershipDistinctCountAggregateFilter = { - createdAt?: InputMaybe; - createdBlockId?: InputMaybe; - groupId?: InputMaybe; - id?: InputMaybe; - member?: InputMaybe; - updatedAt?: InputMaybe; - updatedBlockId?: InputMaybe; -}; - -export type AgentGroupMembershipDistinctCountAggregates = { - __typename?: 'AgentGroupMembershipDistinctCountAggregates'; - /** Distinct count of createdAt across the matching connection */ - createdAt?: Maybe; - /** Distinct count of createdBlockId across the matching connection */ - createdBlockId?: Maybe; - /** Distinct count of groupId across the matching connection */ - groupId?: Maybe; - /** Distinct count of id across the matching connection */ - id?: Maybe; - /** Distinct count of member across the matching connection */ - member?: Maybe; - /** Distinct count of updatedAt across the matching connection */ - updatedAt?: Maybe; - /** Distinct count of updatedBlockId across the matching connection */ - updatedBlockId?: Maybe; -}; - -/** A filter to be used against `AgentGroupMembership` object types. All fields are combined with a logical ‘and.’ */ -export type AgentGroupMembershipFilter = { - /** Checks for all expressions in this list. */ - and?: InputMaybe>; - /** Filter by the object’s `createdAt` field. */ - createdAt?: InputMaybe; - /** Filter by the object’s `createdBlock` relation. */ - createdBlock?: InputMaybe; - /** Filter by the object’s `createdBlockId` field. */ - createdBlockId?: InputMaybe; - /** Filter by the object’s `group` relation. */ - group?: InputMaybe; - /** Filter by the object’s `groupId` field. */ - groupId?: InputMaybe; - /** Filter by the object’s `id` field. */ - id?: InputMaybe; - /** Filter by the object’s `member` field. */ - member?: InputMaybe; - /** Negates the expression. */ - not?: InputMaybe; - /** Checks for any expressions in this list. */ - or?: InputMaybe>; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: InputMaybe; - /** Filter by the object’s `updatedBlock` relation. */ - updatedBlock?: InputMaybe; - /** Filter by the object’s `updatedBlockId` field. */ - updatedBlockId?: InputMaybe; -}; - -/** A connection to a list of `AgentGroupMembership` values. */ -export type AgentGroupMembershipsConnection = { - __typename?: 'AgentGroupMembershipsConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `AgentGroupMembership` and cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `AgentGroupMembership` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `AgentGroupMembership` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `AgentGroupMembership` values. */ -export type AgentGroupMembershipsConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `AgentGroupMembership` edge in the connection. */ -export type AgentGroupMembershipsEdge = { - __typename?: 'AgentGroupMembershipsEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `AgentGroupMembership` at the end of the edge. */ - node?: Maybe; -}; - -/** Grouping methods for `AgentGroupMembership` for usage during aggregation. */ -export enum AgentGroupMembershipsGroupBy { - CreatedAt = 'CREATED_AT', - CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', - CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', - CreatedBlockId = 'CREATED_BLOCK_ID', - GroupId = 'GROUP_ID', - Member = 'MEMBER', - UpdatedAt = 'UPDATED_AT', - UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', - UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export type AgentGroupMembershipsHavingAverageInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type AgentGroupMembershipsHavingDistinctCountInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Conditions for `AgentGroupMembership` aggregates. */ -export type AgentGroupMembershipsHavingInput = { - AND?: InputMaybe>; - OR?: InputMaybe>; - average?: InputMaybe; - distinctCount?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddevPopulation?: InputMaybe; - stddevSample?: InputMaybe; - sum?: InputMaybe; - variancePopulation?: InputMaybe; - varianceSample?: InputMaybe; -}; - -export type AgentGroupMembershipsHavingMaxInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type AgentGroupMembershipsHavingMinInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type AgentGroupMembershipsHavingStddevPopulationInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type AgentGroupMembershipsHavingStddevSampleInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type AgentGroupMembershipsHavingSumInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type AgentGroupMembershipsHavingVariancePopulationInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type AgentGroupMembershipsHavingVarianceSampleInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Methods to use when ordering `AgentGroupMembership`. */ -export enum AgentGroupMembershipsOrderBy { - CreatedAtAsc = 'CREATED_AT_ASC', - CreatedAtDesc = 'CREATED_AT_DESC', - CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', - CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', - GroupIdAsc = 'GROUP_ID_ASC', - GroupIdDesc = 'GROUP_ID_DESC', - IdAsc = 'ID_ASC', - IdDesc = 'ID_DESC', - MemberAsc = 'MEMBER_ASC', - MemberDesc = 'MEMBER_DESC', - Natural = 'NATURAL', - PrimaryKeyAsc = 'PRIMARY_KEY_ASC', - PrimaryKeyDesc = 'PRIMARY_KEY_DESC', - UpdatedAtAsc = 'UPDATED_AT_ASC', - UpdatedAtDesc = 'UPDATED_AT_DESC', - UpdatedBlockIdAsc = 'UPDATED_BLOCK_ID_ASC', - UpdatedBlockIdDesc = 'UPDATED_BLOCK_ID_DESC', -} - -/** A filter to be used against many `AgentGroupMembership` object types. All fields are combined with a logical ‘and.’ */ -export type AgentGroupToManyAgentGroupMembershipFilter = { - /** Aggregates across related `AgentGroupMembership` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `AgentGroupMembership` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `AgentGroupMembership` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `AgentGroupMembership` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A connection to a list of `AgentGroup` values. */ -export type AgentGroupsConnection = { - __typename?: 'AgentGroupsConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `AgentGroup` and cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `AgentGroup` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `AgentGroup` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `AgentGroup` values. */ -export type AgentGroupsConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `AgentGroup` edge in the connection. */ -export type AgentGroupsEdge = { - __typename?: 'AgentGroupsEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `AgentGroup` at the end of the edge. */ - node?: Maybe; -}; - -/** Grouping methods for `AgentGroup` for usage during aggregation. */ -export enum AgentGroupsGroupBy { - CreatedAt = 'CREATED_AT', - CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', - CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', - CreatedBlockId = 'CREATED_BLOCK_ID', - Permissions = 'PERMISSIONS', - UpdatedAt = 'UPDATED_AT', - UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', - UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export type AgentGroupsHavingAverageInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type AgentGroupsHavingDistinctCountInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Conditions for `AgentGroup` aggregates. */ -export type AgentGroupsHavingInput = { - AND?: InputMaybe>; - OR?: InputMaybe>; - average?: InputMaybe; - distinctCount?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddevPopulation?: InputMaybe; - stddevSample?: InputMaybe; - sum?: InputMaybe; - variancePopulation?: InputMaybe; - varianceSample?: InputMaybe; -}; - -export type AgentGroupsHavingMaxInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type AgentGroupsHavingMinInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type AgentGroupsHavingStddevPopulationInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type AgentGroupsHavingStddevSampleInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type AgentGroupsHavingSumInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type AgentGroupsHavingVariancePopulationInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type AgentGroupsHavingVarianceSampleInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Methods to use when ordering `AgentGroup`. */ -export enum AgentGroupsOrderBy { - CreatedAtAsc = 'CREATED_AT_ASC', - CreatedAtDesc = 'CREATED_AT_DESC', - CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', - CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', - IdAsc = 'ID_ASC', - IdDesc = 'ID_DESC', - MembersAverageCreatedAtAsc = 'MEMBERS_AVERAGE_CREATED_AT_ASC', - MembersAverageCreatedAtDesc = 'MEMBERS_AVERAGE_CREATED_AT_DESC', - MembersAverageCreatedBlockIdAsc = 'MEMBERS_AVERAGE_CREATED_BLOCK_ID_ASC', - MembersAverageCreatedBlockIdDesc = 'MEMBERS_AVERAGE_CREATED_BLOCK_ID_DESC', - MembersAverageGroupIdAsc = 'MEMBERS_AVERAGE_GROUP_ID_ASC', - MembersAverageGroupIdDesc = 'MEMBERS_AVERAGE_GROUP_ID_DESC', - MembersAverageIdAsc = 'MEMBERS_AVERAGE_ID_ASC', - MembersAverageIdDesc = 'MEMBERS_AVERAGE_ID_DESC', - MembersAverageMemberAsc = 'MEMBERS_AVERAGE_MEMBER_ASC', - MembersAverageMemberDesc = 'MEMBERS_AVERAGE_MEMBER_DESC', - MembersAverageUpdatedAtAsc = 'MEMBERS_AVERAGE_UPDATED_AT_ASC', - MembersAverageUpdatedAtDesc = 'MEMBERS_AVERAGE_UPDATED_AT_DESC', - MembersAverageUpdatedBlockIdAsc = 'MEMBERS_AVERAGE_UPDATED_BLOCK_ID_ASC', - MembersAverageUpdatedBlockIdDesc = 'MEMBERS_AVERAGE_UPDATED_BLOCK_ID_DESC', - MembersCountAsc = 'MEMBERS_COUNT_ASC', - MembersCountDesc = 'MEMBERS_COUNT_DESC', - MembersDistinctCountCreatedAtAsc = 'MEMBERS_DISTINCT_COUNT_CREATED_AT_ASC', - MembersDistinctCountCreatedAtDesc = 'MEMBERS_DISTINCT_COUNT_CREATED_AT_DESC', - MembersDistinctCountCreatedBlockIdAsc = 'MEMBERS_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - MembersDistinctCountCreatedBlockIdDesc = 'MEMBERS_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - MembersDistinctCountGroupIdAsc = 'MEMBERS_DISTINCT_COUNT_GROUP_ID_ASC', - MembersDistinctCountGroupIdDesc = 'MEMBERS_DISTINCT_COUNT_GROUP_ID_DESC', - MembersDistinctCountIdAsc = 'MEMBERS_DISTINCT_COUNT_ID_ASC', - MembersDistinctCountIdDesc = 'MEMBERS_DISTINCT_COUNT_ID_DESC', - MembersDistinctCountMemberAsc = 'MEMBERS_DISTINCT_COUNT_MEMBER_ASC', - MembersDistinctCountMemberDesc = 'MEMBERS_DISTINCT_COUNT_MEMBER_DESC', - MembersDistinctCountUpdatedAtAsc = 'MEMBERS_DISTINCT_COUNT_UPDATED_AT_ASC', - MembersDistinctCountUpdatedAtDesc = 'MEMBERS_DISTINCT_COUNT_UPDATED_AT_DESC', - MembersDistinctCountUpdatedBlockIdAsc = 'MEMBERS_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - MembersDistinctCountUpdatedBlockIdDesc = 'MEMBERS_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - MembersMaxCreatedAtAsc = 'MEMBERS_MAX_CREATED_AT_ASC', - MembersMaxCreatedAtDesc = 'MEMBERS_MAX_CREATED_AT_DESC', - MembersMaxCreatedBlockIdAsc = 'MEMBERS_MAX_CREATED_BLOCK_ID_ASC', - MembersMaxCreatedBlockIdDesc = 'MEMBERS_MAX_CREATED_BLOCK_ID_DESC', - MembersMaxGroupIdAsc = 'MEMBERS_MAX_GROUP_ID_ASC', - MembersMaxGroupIdDesc = 'MEMBERS_MAX_GROUP_ID_DESC', - MembersMaxIdAsc = 'MEMBERS_MAX_ID_ASC', - MembersMaxIdDesc = 'MEMBERS_MAX_ID_DESC', - MembersMaxMemberAsc = 'MEMBERS_MAX_MEMBER_ASC', - MembersMaxMemberDesc = 'MEMBERS_MAX_MEMBER_DESC', - MembersMaxUpdatedAtAsc = 'MEMBERS_MAX_UPDATED_AT_ASC', - MembersMaxUpdatedAtDesc = 'MEMBERS_MAX_UPDATED_AT_DESC', - MembersMaxUpdatedBlockIdAsc = 'MEMBERS_MAX_UPDATED_BLOCK_ID_ASC', - MembersMaxUpdatedBlockIdDesc = 'MEMBERS_MAX_UPDATED_BLOCK_ID_DESC', - MembersMinCreatedAtAsc = 'MEMBERS_MIN_CREATED_AT_ASC', - MembersMinCreatedAtDesc = 'MEMBERS_MIN_CREATED_AT_DESC', - MembersMinCreatedBlockIdAsc = 'MEMBERS_MIN_CREATED_BLOCK_ID_ASC', - MembersMinCreatedBlockIdDesc = 'MEMBERS_MIN_CREATED_BLOCK_ID_DESC', - MembersMinGroupIdAsc = 'MEMBERS_MIN_GROUP_ID_ASC', - MembersMinGroupIdDesc = 'MEMBERS_MIN_GROUP_ID_DESC', - MembersMinIdAsc = 'MEMBERS_MIN_ID_ASC', - MembersMinIdDesc = 'MEMBERS_MIN_ID_DESC', - MembersMinMemberAsc = 'MEMBERS_MIN_MEMBER_ASC', - MembersMinMemberDesc = 'MEMBERS_MIN_MEMBER_DESC', - MembersMinUpdatedAtAsc = 'MEMBERS_MIN_UPDATED_AT_ASC', - MembersMinUpdatedAtDesc = 'MEMBERS_MIN_UPDATED_AT_DESC', - MembersMinUpdatedBlockIdAsc = 'MEMBERS_MIN_UPDATED_BLOCK_ID_ASC', - MembersMinUpdatedBlockIdDesc = 'MEMBERS_MIN_UPDATED_BLOCK_ID_DESC', - MembersStddevPopulationCreatedAtAsc = 'MEMBERS_STDDEV_POPULATION_CREATED_AT_ASC', - MembersStddevPopulationCreatedAtDesc = 'MEMBERS_STDDEV_POPULATION_CREATED_AT_DESC', - MembersStddevPopulationCreatedBlockIdAsc = 'MEMBERS_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - MembersStddevPopulationCreatedBlockIdDesc = 'MEMBERS_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - MembersStddevPopulationGroupIdAsc = 'MEMBERS_STDDEV_POPULATION_GROUP_ID_ASC', - MembersStddevPopulationGroupIdDesc = 'MEMBERS_STDDEV_POPULATION_GROUP_ID_DESC', - MembersStddevPopulationIdAsc = 'MEMBERS_STDDEV_POPULATION_ID_ASC', - MembersStddevPopulationIdDesc = 'MEMBERS_STDDEV_POPULATION_ID_DESC', - MembersStddevPopulationMemberAsc = 'MEMBERS_STDDEV_POPULATION_MEMBER_ASC', - MembersStddevPopulationMemberDesc = 'MEMBERS_STDDEV_POPULATION_MEMBER_DESC', - MembersStddevPopulationUpdatedAtAsc = 'MEMBERS_STDDEV_POPULATION_UPDATED_AT_ASC', - MembersStddevPopulationUpdatedAtDesc = 'MEMBERS_STDDEV_POPULATION_UPDATED_AT_DESC', - MembersStddevPopulationUpdatedBlockIdAsc = 'MEMBERS_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - MembersStddevPopulationUpdatedBlockIdDesc = 'MEMBERS_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - MembersStddevSampleCreatedAtAsc = 'MEMBERS_STDDEV_SAMPLE_CREATED_AT_ASC', - MembersStddevSampleCreatedAtDesc = 'MEMBERS_STDDEV_SAMPLE_CREATED_AT_DESC', - MembersStddevSampleCreatedBlockIdAsc = 'MEMBERS_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - MembersStddevSampleCreatedBlockIdDesc = 'MEMBERS_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - MembersStddevSampleGroupIdAsc = 'MEMBERS_STDDEV_SAMPLE_GROUP_ID_ASC', - MembersStddevSampleGroupIdDesc = 'MEMBERS_STDDEV_SAMPLE_GROUP_ID_DESC', - MembersStddevSampleIdAsc = 'MEMBERS_STDDEV_SAMPLE_ID_ASC', - MembersStddevSampleIdDesc = 'MEMBERS_STDDEV_SAMPLE_ID_DESC', - MembersStddevSampleMemberAsc = 'MEMBERS_STDDEV_SAMPLE_MEMBER_ASC', - MembersStddevSampleMemberDesc = 'MEMBERS_STDDEV_SAMPLE_MEMBER_DESC', - MembersStddevSampleUpdatedAtAsc = 'MEMBERS_STDDEV_SAMPLE_UPDATED_AT_ASC', - MembersStddevSampleUpdatedAtDesc = 'MEMBERS_STDDEV_SAMPLE_UPDATED_AT_DESC', - MembersStddevSampleUpdatedBlockIdAsc = 'MEMBERS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - MembersStddevSampleUpdatedBlockIdDesc = 'MEMBERS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - MembersSumCreatedAtAsc = 'MEMBERS_SUM_CREATED_AT_ASC', - MembersSumCreatedAtDesc = 'MEMBERS_SUM_CREATED_AT_DESC', - MembersSumCreatedBlockIdAsc = 'MEMBERS_SUM_CREATED_BLOCK_ID_ASC', - MembersSumCreatedBlockIdDesc = 'MEMBERS_SUM_CREATED_BLOCK_ID_DESC', - MembersSumGroupIdAsc = 'MEMBERS_SUM_GROUP_ID_ASC', - MembersSumGroupIdDesc = 'MEMBERS_SUM_GROUP_ID_DESC', - MembersSumIdAsc = 'MEMBERS_SUM_ID_ASC', - MembersSumIdDesc = 'MEMBERS_SUM_ID_DESC', - MembersSumMemberAsc = 'MEMBERS_SUM_MEMBER_ASC', - MembersSumMemberDesc = 'MEMBERS_SUM_MEMBER_DESC', - MembersSumUpdatedAtAsc = 'MEMBERS_SUM_UPDATED_AT_ASC', - MembersSumUpdatedAtDesc = 'MEMBERS_SUM_UPDATED_AT_DESC', - MembersSumUpdatedBlockIdAsc = 'MEMBERS_SUM_UPDATED_BLOCK_ID_ASC', - MembersSumUpdatedBlockIdDesc = 'MEMBERS_SUM_UPDATED_BLOCK_ID_DESC', - MembersVariancePopulationCreatedAtAsc = 'MEMBERS_VARIANCE_POPULATION_CREATED_AT_ASC', - MembersVariancePopulationCreatedAtDesc = 'MEMBERS_VARIANCE_POPULATION_CREATED_AT_DESC', - MembersVariancePopulationCreatedBlockIdAsc = 'MEMBERS_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - MembersVariancePopulationCreatedBlockIdDesc = 'MEMBERS_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - MembersVariancePopulationGroupIdAsc = 'MEMBERS_VARIANCE_POPULATION_GROUP_ID_ASC', - MembersVariancePopulationGroupIdDesc = 'MEMBERS_VARIANCE_POPULATION_GROUP_ID_DESC', - MembersVariancePopulationIdAsc = 'MEMBERS_VARIANCE_POPULATION_ID_ASC', - MembersVariancePopulationIdDesc = 'MEMBERS_VARIANCE_POPULATION_ID_DESC', - MembersVariancePopulationMemberAsc = 'MEMBERS_VARIANCE_POPULATION_MEMBER_ASC', - MembersVariancePopulationMemberDesc = 'MEMBERS_VARIANCE_POPULATION_MEMBER_DESC', - MembersVariancePopulationUpdatedAtAsc = 'MEMBERS_VARIANCE_POPULATION_UPDATED_AT_ASC', - MembersVariancePopulationUpdatedAtDesc = 'MEMBERS_VARIANCE_POPULATION_UPDATED_AT_DESC', - MembersVariancePopulationUpdatedBlockIdAsc = 'MEMBERS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - MembersVariancePopulationUpdatedBlockIdDesc = 'MEMBERS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - MembersVarianceSampleCreatedAtAsc = 'MEMBERS_VARIANCE_SAMPLE_CREATED_AT_ASC', - MembersVarianceSampleCreatedAtDesc = 'MEMBERS_VARIANCE_SAMPLE_CREATED_AT_DESC', - MembersVarianceSampleCreatedBlockIdAsc = 'MEMBERS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - MembersVarianceSampleCreatedBlockIdDesc = 'MEMBERS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - MembersVarianceSampleGroupIdAsc = 'MEMBERS_VARIANCE_SAMPLE_GROUP_ID_ASC', - MembersVarianceSampleGroupIdDesc = 'MEMBERS_VARIANCE_SAMPLE_GROUP_ID_DESC', - MembersVarianceSampleIdAsc = 'MEMBERS_VARIANCE_SAMPLE_ID_ASC', - MembersVarianceSampleIdDesc = 'MEMBERS_VARIANCE_SAMPLE_ID_DESC', - MembersVarianceSampleMemberAsc = 'MEMBERS_VARIANCE_SAMPLE_MEMBER_ASC', - MembersVarianceSampleMemberDesc = 'MEMBERS_VARIANCE_SAMPLE_MEMBER_DESC', - MembersVarianceSampleUpdatedAtAsc = 'MEMBERS_VARIANCE_SAMPLE_UPDATED_AT_ASC', - MembersVarianceSampleUpdatedAtDesc = 'MEMBERS_VARIANCE_SAMPLE_UPDATED_AT_DESC', - MembersVarianceSampleUpdatedBlockIdAsc = 'MEMBERS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - MembersVarianceSampleUpdatedBlockIdDesc = 'MEMBERS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - Natural = 'NATURAL', - PermissionsAsc = 'PERMISSIONS_ASC', - PermissionsDesc = 'PERMISSIONS_DESC', - PrimaryKeyAsc = 'PRIMARY_KEY_ASC', - PrimaryKeyDesc = 'PRIMARY_KEY_DESC', - UpdatedAtAsc = 'UPDATED_AT_ASC', - UpdatedAtDesc = 'UPDATED_AT_DESC', - UpdatedBlockIdAsc = 'UPDATED_BLOCK_ID_ASC', - UpdatedBlockIdDesc = 'UPDATED_BLOCK_ID_DESC', -} - -/** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ -export type Asset = Node & { - __typename?: 'Asset'; - /** Reads and enables pagination through a set of `AssetTransaction`. */ - assetTransactions: AssetTransactionsConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByAssetDocumentAssetIdAndCreatedBlockId: AssetBlocksByAssetDocumentAssetIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByAssetDocumentAssetIdAndUpdatedBlockId: AssetBlocksByAssetDocumentAssetIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByAssetHolderAssetIdAndCreatedBlockId: AssetBlocksByAssetHolderAssetIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByAssetHolderAssetIdAndUpdatedBlockId: AssetBlocksByAssetHolderAssetIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByAssetTransactionAssetIdAndCreatedBlockId: AssetBlocksByAssetTransactionAssetIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByAssetTransactionAssetIdAndUpdatedBlockId: AssetBlocksByAssetTransactionAssetIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByComplianceAssetIdAndCreatedBlockId: AssetBlocksByComplianceAssetIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByComplianceAssetIdAndUpdatedBlockId: AssetBlocksByComplianceAssetIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByDistributionAssetIdAndCreatedBlockId: AssetBlocksByDistributionAssetIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByDistributionAssetIdAndUpdatedBlockId: AssetBlocksByDistributionAssetIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByFundingAssetIdAndCreatedBlockId: AssetBlocksByFundingAssetIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByFundingAssetIdAndUpdatedBlockId: AssetBlocksByFundingAssetIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByNftHolderAssetIdAndCreatedBlockId: AssetBlocksByNftHolderAssetIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByNftHolderAssetIdAndUpdatedBlockId: AssetBlocksByNftHolderAssetIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByPortfolioMovementAssetIdAndCreatedBlockId: AssetBlocksByPortfolioMovementAssetIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByPortfolioMovementAssetIdAndUpdatedBlockId: AssetBlocksByPortfolioMovementAssetIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByStatTypeAssetIdAndCreatedBlockId: AssetBlocksByStatTypeAssetIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByStatTypeAssetIdAndUpdatedBlockId: AssetBlocksByStatTypeAssetIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByStoOfferingAssetIdAndCreatedBlockId: AssetBlocksByStoOfferingAssetIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByStoOfferingAssetIdAndUpdatedBlockId: AssetBlocksByStoOfferingAssetIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByTickerExternalAgentActionAssetIdAndCreatedBlockId: AssetBlocksByTickerExternalAgentActionAssetIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByTickerExternalAgentActionAssetIdAndUpdatedBlockId: AssetBlocksByTickerExternalAgentActionAssetIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByTickerExternalAgentAssetIdAndCreatedBlockId: AssetBlocksByTickerExternalAgentAssetIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByTickerExternalAgentAssetIdAndUpdatedBlockId: AssetBlocksByTickerExternalAgentAssetIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByTickerExternalAgentHistoryAssetIdAndCreatedBlockId: AssetBlocksByTickerExternalAgentHistoryAssetIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByTickerExternalAgentHistoryAssetIdAndUpdatedBlockId: AssetBlocksByTickerExternalAgentHistoryAssetIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByTransferComplianceAssetIdAndCreatedBlockId: AssetBlocksByTransferComplianceAssetIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByTransferComplianceAssetIdAndUpdatedBlockId: AssetBlocksByTransferComplianceAssetIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByTransferComplianceExemptionAssetIdAndCreatedBlockId: AssetBlocksByTransferComplianceExemptionAssetIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByTransferComplianceExemptionAssetIdAndUpdatedBlockId: AssetBlocksByTransferComplianceExemptionAssetIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByTransferManagerAssetIdAndCreatedBlockId: AssetBlocksByTransferManagerAssetIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByTransferManagerAssetIdAndUpdatedBlockId: AssetBlocksByTransferManagerAssetIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByTrustedClaimIssuerAssetIdAndCreatedBlockId: AssetBlocksByTrustedClaimIssuerAssetIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByTrustedClaimIssuerAssetIdAndUpdatedBlockId: AssetBlocksByTrustedClaimIssuerAssetIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Compliance`. */ - compliance: CompliancesConnection; - createdAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `Asset`. */ - createdBlock?: Maybe; - createdBlockId: Scalars['String']['output']; - /** Reads and enables pagination through a set of `Distribution`. */ - distributions: DistributionsConnection; - /** Reads and enables pagination through a set of `AssetDocument`. */ - documents: AssetDocumentsConnection; - eventIdx: Scalars['Int']['output']; - fundingRound?: Maybe; - /** Reads and enables pagination through a set of `Funding`. */ - fundings: FundingsConnection; - /** Reads and enables pagination through a set of `AssetHolder`. */ - holders: AssetHoldersConnection; - id: Scalars['String']['output']; - identifiers: Scalars['JSON']['output']; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByAssetHolderAssetIdAndIdentityId: AssetIdentitiesByAssetHolderAssetIdAndIdentityIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByDistributionAssetIdAndIdentityId: AssetIdentitiesByDistributionAssetIdAndIdentityIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByNftHolderAssetIdAndIdentityId: AssetIdentitiesByNftHolderAssetIdAndIdentityIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByStatTypeAssetIdAndClaimIssuerId: AssetIdentitiesByStatTypeAssetIdAndClaimIssuerIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByStoOfferingAssetIdAndCreatorId: AssetIdentitiesByStoOfferingAssetIdAndCreatorIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByTickerExternalAgentActionAssetIdAndCallerId: AssetIdentitiesByTickerExternalAgentActionAssetIdAndCallerIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByTickerExternalAgentAssetIdAndCallerId: AssetIdentitiesByTickerExternalAgentAssetIdAndCallerIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByTickerExternalAgentHistoryAssetIdAndIdentityId: AssetIdentitiesByTickerExternalAgentHistoryAssetIdAndIdentityIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByTransferComplianceAssetIdAndClaimIssuerId: AssetIdentitiesByTransferComplianceAssetIdAndClaimIssuerIdManyToManyConnection; - /** Reads and enables pagination through a set of `Instruction`. */ - instructionsByAssetTransactionAssetIdAndInstructionId: AssetInstructionsByAssetTransactionAssetIdAndInstructionIdManyToManyConnection; - isCompliancePaused: Scalars['Boolean']['output']; - isDivisible: Scalars['Boolean']['output']; - isFrozen: Scalars['Boolean']['output']; - isNftCollection: Scalars['Boolean']['output']; - isUniquenessRequired: Scalars['Boolean']['output']; - name?: Maybe; - /** Reads and enables pagination through a set of `NftHolder`. */ - nftHolders: NftHoldersConnection; - /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ - nodeId: Scalars['ID']['output']; - /** Reads a single `Identity` that is related to this `Asset`. */ - owner?: Maybe; - ownerId: Scalars['String']['output']; - /** Reads and enables pagination through a set of `PortfolioMovement`. */ - portfolioMovements: PortfolioMovementsConnection; - /** Reads and enables pagination through a set of `Portfolio`. */ - portfoliosByAssetTransactionAssetIdAndFromPortfolioId: AssetPortfoliosByAssetTransactionAssetIdAndFromPortfolioIdManyToManyConnection; - /** Reads and enables pagination through a set of `Portfolio`. */ - portfoliosByAssetTransactionAssetIdAndToPortfolioId: AssetPortfoliosByAssetTransactionAssetIdAndToPortfolioIdManyToManyConnection; - /** Reads and enables pagination through a set of `Portfolio`. */ - portfoliosByDistributionAssetIdAndPortfolioId: AssetPortfoliosByDistributionAssetIdAndPortfolioIdManyToManyConnection; - /** Reads and enables pagination through a set of `Portfolio`. */ - portfoliosByPortfolioMovementAssetIdAndFromId: AssetPortfoliosByPortfolioMovementAssetIdAndFromIdManyToManyConnection; - /** Reads and enables pagination through a set of `Portfolio`. */ - portfoliosByPortfolioMovementAssetIdAndToId: AssetPortfoliosByPortfolioMovementAssetIdAndToIdManyToManyConnection; - /** Reads and enables pagination through a set of `Portfolio`. */ - portfoliosByStoOfferingAssetIdAndOfferingPortfolioId: AssetPortfoliosByStoOfferingAssetIdAndOfferingPortfolioIdManyToManyConnection; - /** Reads and enables pagination through a set of `Portfolio`. */ - portfoliosByStoOfferingAssetIdAndRaisingPortfolioId: AssetPortfoliosByStoOfferingAssetIdAndRaisingPortfolioIdManyToManyConnection; - /** Reads and enables pagination through a set of `StatType`. */ - statTypes: StatTypesConnection; - /** Reads and enables pagination through a set of `StatType`. */ - statTypesByTransferComplianceAssetIdAndStatTypeId: AssetStatTypesByTransferComplianceAssetIdAndStatTypeIdManyToManyConnection; - /** Reads and enables pagination through a set of `Sto`. */ - stosByOfferingAssetId: StosConnection; - ticker: Scalars['String']['output']; - /** Reads and enables pagination through a set of `TickerExternalAgentAction`. */ - tickerExternalAgentActions: TickerExternalAgentActionsConnection; - /** Reads and enables pagination through a set of `TickerExternalAgentHistory`. */ - tickerExternalAgentHistories: TickerExternalAgentHistoriesConnection; - /** Reads and enables pagination through a set of `TickerExternalAgent`. */ - tickerExternalAgents: TickerExternalAgentsConnection; - totalSupply: Scalars['BigFloat']['output']; - totalTransfers: Scalars['BigFloat']['output']; - /** Reads and enables pagination through a set of `TransferComplianceExemption`. */ - transferComplianceExemptions: TransferComplianceExemptionsConnection; - /** Reads and enables pagination through a set of `TransferCompliance`. */ - transferCompliances: TransferCompliancesConnection; - /** Reads and enables pagination through a set of `TransferManager`. */ - transferManagers: TransferManagersConnection; - /** Reads and enables pagination through a set of `TrustedClaimIssuer`. */ - trustedClaimIssuers: TrustedClaimIssuersConnection; - type?: Maybe; - updatedAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `Asset`. */ - updatedBlock?: Maybe; - updatedBlockId: Scalars['String']['output']; - /** Reads and enables pagination through a set of `Venue`. */ - venuesByStoOfferingAssetIdAndVenueId: AssetVenuesByStoOfferingAssetIdAndVenueIdManyToManyConnection; -}; - -/** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ -export type AssetAssetTransactionsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ -export type AssetBlocksByAssetDocumentAssetIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ -export type AssetBlocksByAssetDocumentAssetIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ -export type AssetBlocksByAssetHolderAssetIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ -export type AssetBlocksByAssetHolderAssetIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ -export type AssetBlocksByAssetTransactionAssetIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ -export type AssetBlocksByAssetTransactionAssetIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ -export type AssetBlocksByComplianceAssetIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ -export type AssetBlocksByComplianceAssetIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ -export type AssetBlocksByDistributionAssetIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ -export type AssetBlocksByDistributionAssetIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ -export type AssetBlocksByFundingAssetIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ -export type AssetBlocksByFundingAssetIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ -export type AssetBlocksByNftHolderAssetIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ -export type AssetBlocksByNftHolderAssetIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ -export type AssetBlocksByPortfolioMovementAssetIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ -export type AssetBlocksByPortfolioMovementAssetIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ -export type AssetBlocksByStatTypeAssetIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ -export type AssetBlocksByStatTypeAssetIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ -export type AssetBlocksByStoOfferingAssetIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ -export type AssetBlocksByStoOfferingAssetIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ -export type AssetBlocksByTickerExternalAgentActionAssetIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ -export type AssetBlocksByTickerExternalAgentActionAssetIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ -export type AssetBlocksByTickerExternalAgentAssetIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ -export type AssetBlocksByTickerExternalAgentAssetIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ -export type AssetBlocksByTickerExternalAgentHistoryAssetIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ -export type AssetBlocksByTickerExternalAgentHistoryAssetIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ -export type AssetBlocksByTransferComplianceAssetIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ -export type AssetBlocksByTransferComplianceAssetIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ -export type AssetBlocksByTransferComplianceExemptionAssetIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ -export type AssetBlocksByTransferComplianceExemptionAssetIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ -export type AssetBlocksByTransferManagerAssetIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ -export type AssetBlocksByTransferManagerAssetIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ -export type AssetBlocksByTrustedClaimIssuerAssetIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ -export type AssetBlocksByTrustedClaimIssuerAssetIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ -export type AssetComplianceArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ -export type AssetDistributionsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ -export type AssetDocumentsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ -export type AssetFundingsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ -export type AssetHoldersArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ -export type AssetIdentitiesByAssetHolderAssetIdAndIdentityIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ -export type AssetIdentitiesByDistributionAssetIdAndIdentityIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ -export type AssetIdentitiesByNftHolderAssetIdAndIdentityIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ -export type AssetIdentitiesByStatTypeAssetIdAndClaimIssuerIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ -export type AssetIdentitiesByStoOfferingAssetIdAndCreatorIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ -export type AssetIdentitiesByTickerExternalAgentActionAssetIdAndCallerIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ -export type AssetIdentitiesByTickerExternalAgentAssetIdAndCallerIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ -export type AssetIdentitiesByTickerExternalAgentHistoryAssetIdAndIdentityIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ -export type AssetIdentitiesByTransferComplianceAssetIdAndClaimIssuerIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ -export type AssetInstructionsByAssetTransactionAssetIdAndInstructionIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ -export type AssetNftHoldersArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ -export type AssetPortfolioMovementsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ -export type AssetPortfoliosByAssetTransactionAssetIdAndFromPortfolioIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ -export type AssetPortfoliosByAssetTransactionAssetIdAndToPortfolioIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ -export type AssetPortfoliosByDistributionAssetIdAndPortfolioIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ -export type AssetPortfoliosByPortfolioMovementAssetIdAndFromIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ -export type AssetPortfoliosByPortfolioMovementAssetIdAndToIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ -export type AssetPortfoliosByStoOfferingAssetIdAndOfferingPortfolioIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ -export type AssetPortfoliosByStoOfferingAssetIdAndRaisingPortfolioIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ -export type AssetStatTypesArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ -export type AssetStatTypesByTransferComplianceAssetIdAndStatTypeIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ -export type AssetStosByOfferingAssetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ -export type AssetTickerExternalAgentActionsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ -export type AssetTickerExternalAgentHistoriesArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ -export type AssetTickerExternalAgentsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ -export type AssetTransferComplianceExemptionsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ -export type AssetTransferCompliancesArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ -export type AssetTransferManagersArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ -export type AssetTrustedClaimIssuersArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a tokenized Asset on the Polymesh chain. The central data structure for the ecosystem */ -export type AssetVenuesByStoOfferingAssetIdAndVenueIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -export type AssetAggregates = { - __typename?: 'AssetAggregates'; - /** Mean average aggregates across the matching connection (ignoring before/after/first/last/offset) */ - average?: Maybe; - /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ - distinctCount?: Maybe; - keys?: Maybe>; - /** Maximum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - max?: Maybe; - /** Minimum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - min?: Maybe; - /** Population standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevPopulation?: Maybe; - /** Sample standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevSample?: Maybe; - /** Sum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - sum?: Maybe; - /** Population variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - variancePopulation?: Maybe; - /** Sample variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - varianceSample?: Maybe; -}; - -/** A filter to be used against aggregates of `Asset` object types. */ -export type AssetAggregatesFilter = { - /** Mean average aggregate over matching `Asset` objects. */ - average?: InputMaybe; - /** Distinct count aggregate over matching `Asset` objects. */ - distinctCount?: InputMaybe; - /** A filter that must pass for the relevant `Asset` object to be included within the aggregate. */ - filter?: InputMaybe; - /** Maximum aggregate over matching `Asset` objects. */ - max?: InputMaybe; - /** Minimum aggregate over matching `Asset` objects. */ - min?: InputMaybe; - /** Population standard deviation aggregate over matching `Asset` objects. */ - stddevPopulation?: InputMaybe; - /** Sample standard deviation aggregate over matching `Asset` objects. */ - stddevSample?: InputMaybe; - /** Sum aggregate over matching `Asset` objects. */ - sum?: InputMaybe; - /** Population variance aggregate over matching `Asset` objects. */ - variancePopulation?: InputMaybe; - /** Sample variance aggregate over matching `Asset` objects. */ - varianceSample?: InputMaybe; -}; - -export type AssetAverageAggregateFilter = { - eventIdx?: InputMaybe; - totalSupply?: InputMaybe; - totalTransfers?: InputMaybe; -}; - -export type AssetAverageAggregates = { - __typename?: 'AssetAverageAggregates'; - /** Mean average of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Mean average of totalSupply across the matching connection */ - totalSupply?: Maybe; - /** Mean average of totalTransfers across the matching connection */ - totalTransfers?: Maybe; -}; - -/** A connection to a list of `Block` values, with data from `AssetDocument`. */ -export type AssetBlocksByAssetDocumentAssetIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'AssetBlocksByAssetDocumentAssetIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `AssetDocument`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `AssetDocument`. */ -export type AssetBlocksByAssetDocumentAssetIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `AssetDocument`. */ -export type AssetBlocksByAssetDocumentAssetIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'AssetBlocksByAssetDocumentAssetIdAndCreatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `AssetDocument`. */ - assetDocumentsByCreatedBlockId: AssetDocumentsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `AssetDocument`. */ -export type AssetBlocksByAssetDocumentAssetIdAndCreatedBlockIdManyToManyEdgeAssetDocumentsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `AssetDocument`. */ -export type AssetBlocksByAssetDocumentAssetIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'AssetBlocksByAssetDocumentAssetIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `AssetDocument`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `AssetDocument`. */ -export type AssetBlocksByAssetDocumentAssetIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `AssetDocument`. */ -export type AssetBlocksByAssetDocumentAssetIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'AssetBlocksByAssetDocumentAssetIdAndUpdatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `AssetDocument`. */ - assetDocumentsByUpdatedBlockId: AssetDocumentsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `AssetDocument`. */ -export type AssetBlocksByAssetDocumentAssetIdAndUpdatedBlockIdManyToManyEdgeAssetDocumentsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `AssetHolder`. */ -export type AssetBlocksByAssetHolderAssetIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'AssetBlocksByAssetHolderAssetIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `AssetHolder`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `AssetHolder`. */ -export type AssetBlocksByAssetHolderAssetIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `AssetHolder`. */ -export type AssetBlocksByAssetHolderAssetIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'AssetBlocksByAssetHolderAssetIdAndCreatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `AssetHolder`. */ - assetHoldersByCreatedBlockId: AssetHoldersConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `AssetHolder`. */ -export type AssetBlocksByAssetHolderAssetIdAndCreatedBlockIdManyToManyEdgeAssetHoldersByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `AssetHolder`. */ -export type AssetBlocksByAssetHolderAssetIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'AssetBlocksByAssetHolderAssetIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `AssetHolder`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `AssetHolder`. */ -export type AssetBlocksByAssetHolderAssetIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `AssetHolder`. */ -export type AssetBlocksByAssetHolderAssetIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'AssetBlocksByAssetHolderAssetIdAndUpdatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `AssetHolder`. */ - assetHoldersByUpdatedBlockId: AssetHoldersConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `AssetHolder`. */ -export type AssetBlocksByAssetHolderAssetIdAndUpdatedBlockIdManyToManyEdgeAssetHoldersByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `AssetTransaction`. */ -export type AssetBlocksByAssetTransactionAssetIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'AssetBlocksByAssetTransactionAssetIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `AssetTransaction`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `AssetTransaction`. */ -export type AssetBlocksByAssetTransactionAssetIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `AssetTransaction`. */ -export type AssetBlocksByAssetTransactionAssetIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'AssetBlocksByAssetTransactionAssetIdAndCreatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `AssetTransaction`. */ - assetTransactionsByCreatedBlockId: AssetTransactionsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `AssetTransaction`. */ -export type AssetBlocksByAssetTransactionAssetIdAndCreatedBlockIdManyToManyEdgeAssetTransactionsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `AssetTransaction`. */ -export type AssetBlocksByAssetTransactionAssetIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'AssetBlocksByAssetTransactionAssetIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `AssetTransaction`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `AssetTransaction`. */ -export type AssetBlocksByAssetTransactionAssetIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `AssetTransaction`. */ -export type AssetBlocksByAssetTransactionAssetIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'AssetBlocksByAssetTransactionAssetIdAndUpdatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `AssetTransaction`. */ - assetTransactionsByUpdatedBlockId: AssetTransactionsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `AssetTransaction`. */ -export type AssetBlocksByAssetTransactionAssetIdAndUpdatedBlockIdManyToManyEdgeAssetTransactionsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Compliance`. */ -export type AssetBlocksByComplianceAssetIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'AssetBlocksByComplianceAssetIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Compliance`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Compliance`. */ -export type AssetBlocksByComplianceAssetIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Compliance`. */ -export type AssetBlocksByComplianceAssetIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'AssetBlocksByComplianceAssetIdAndCreatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `Compliance`. */ - compliancesByCreatedBlockId: CompliancesConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `Compliance`. */ -export type AssetBlocksByComplianceAssetIdAndCreatedBlockIdManyToManyEdgeCompliancesByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Compliance`. */ -export type AssetBlocksByComplianceAssetIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'AssetBlocksByComplianceAssetIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Compliance`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Compliance`. */ -export type AssetBlocksByComplianceAssetIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Compliance`. */ -export type AssetBlocksByComplianceAssetIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'AssetBlocksByComplianceAssetIdAndUpdatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `Compliance`. */ - compliancesByUpdatedBlockId: CompliancesConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `Compliance`. */ -export type AssetBlocksByComplianceAssetIdAndUpdatedBlockIdManyToManyEdgeCompliancesByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Distribution`. */ -export type AssetBlocksByDistributionAssetIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'AssetBlocksByDistributionAssetIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Distribution`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Distribution`. */ -export type AssetBlocksByDistributionAssetIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Distribution`. */ -export type AssetBlocksByDistributionAssetIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'AssetBlocksByDistributionAssetIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `Distribution`. */ - distributionsByCreatedBlockId: DistributionsConnection; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `Distribution`. */ -export type AssetBlocksByDistributionAssetIdAndCreatedBlockIdManyToManyEdgeDistributionsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Distribution`. */ -export type AssetBlocksByDistributionAssetIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'AssetBlocksByDistributionAssetIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Distribution`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Distribution`. */ -export type AssetBlocksByDistributionAssetIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Distribution`. */ -export type AssetBlocksByDistributionAssetIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'AssetBlocksByDistributionAssetIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `Distribution`. */ - distributionsByUpdatedBlockId: DistributionsConnection; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `Distribution`. */ -export type AssetBlocksByDistributionAssetIdAndUpdatedBlockIdManyToManyEdgeDistributionsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Funding`. */ -export type AssetBlocksByFundingAssetIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'AssetBlocksByFundingAssetIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Funding`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Funding`. */ -export type AssetBlocksByFundingAssetIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Funding`. */ -export type AssetBlocksByFundingAssetIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'AssetBlocksByFundingAssetIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `Funding`. */ - fundingsByCreatedBlockId: FundingsConnection; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `Funding`. */ -export type AssetBlocksByFundingAssetIdAndCreatedBlockIdManyToManyEdgeFundingsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Funding`. */ -export type AssetBlocksByFundingAssetIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'AssetBlocksByFundingAssetIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Funding`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Funding`. */ -export type AssetBlocksByFundingAssetIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Funding`. */ -export type AssetBlocksByFundingAssetIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'AssetBlocksByFundingAssetIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `Funding`. */ - fundingsByUpdatedBlockId: FundingsConnection; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `Funding`. */ -export type AssetBlocksByFundingAssetIdAndUpdatedBlockIdManyToManyEdgeFundingsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `NftHolder`. */ -export type AssetBlocksByNftHolderAssetIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'AssetBlocksByNftHolderAssetIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `NftHolder`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `NftHolder`. */ -export type AssetBlocksByNftHolderAssetIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `NftHolder`. */ -export type AssetBlocksByNftHolderAssetIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'AssetBlocksByNftHolderAssetIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `NftHolder`. */ - nftHoldersByCreatedBlockId: NftHoldersConnection; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `NftHolder`. */ -export type AssetBlocksByNftHolderAssetIdAndCreatedBlockIdManyToManyEdgeNftHoldersByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `NftHolder`. */ -export type AssetBlocksByNftHolderAssetIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'AssetBlocksByNftHolderAssetIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `NftHolder`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `NftHolder`. */ -export type AssetBlocksByNftHolderAssetIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `NftHolder`. */ -export type AssetBlocksByNftHolderAssetIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'AssetBlocksByNftHolderAssetIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `NftHolder`. */ - nftHoldersByUpdatedBlockId: NftHoldersConnection; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `NftHolder`. */ -export type AssetBlocksByNftHolderAssetIdAndUpdatedBlockIdManyToManyEdgeNftHoldersByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `PortfolioMovement`. */ -export type AssetBlocksByPortfolioMovementAssetIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'AssetBlocksByPortfolioMovementAssetIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `PortfolioMovement`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `PortfolioMovement`. */ -export type AssetBlocksByPortfolioMovementAssetIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `PortfolioMovement`. */ -export type AssetBlocksByPortfolioMovementAssetIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'AssetBlocksByPortfolioMovementAssetIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `PortfolioMovement`. */ - portfolioMovementsByCreatedBlockId: PortfolioMovementsConnection; -}; - -/** A `Block` edge in the connection, with data from `PortfolioMovement`. */ -export type AssetBlocksByPortfolioMovementAssetIdAndCreatedBlockIdManyToManyEdgePortfolioMovementsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `PortfolioMovement`. */ -export type AssetBlocksByPortfolioMovementAssetIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'AssetBlocksByPortfolioMovementAssetIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `PortfolioMovement`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `PortfolioMovement`. */ -export type AssetBlocksByPortfolioMovementAssetIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `PortfolioMovement`. */ -export type AssetBlocksByPortfolioMovementAssetIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'AssetBlocksByPortfolioMovementAssetIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `PortfolioMovement`. */ - portfolioMovementsByUpdatedBlockId: PortfolioMovementsConnection; -}; - -/** A `Block` edge in the connection, with data from `PortfolioMovement`. */ -export type AssetBlocksByPortfolioMovementAssetIdAndUpdatedBlockIdManyToManyEdgePortfolioMovementsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `StatType`. */ -export type AssetBlocksByStatTypeAssetIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'AssetBlocksByStatTypeAssetIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `StatType`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `StatType`. */ -export type AssetBlocksByStatTypeAssetIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `StatType`. */ -export type AssetBlocksByStatTypeAssetIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'AssetBlocksByStatTypeAssetIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `StatType`. */ - statTypesByCreatedBlockId: StatTypesConnection; -}; - -/** A `Block` edge in the connection, with data from `StatType`. */ -export type AssetBlocksByStatTypeAssetIdAndCreatedBlockIdManyToManyEdgeStatTypesByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `StatType`. */ -export type AssetBlocksByStatTypeAssetIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'AssetBlocksByStatTypeAssetIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `StatType`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `StatType`. */ -export type AssetBlocksByStatTypeAssetIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `StatType`. */ -export type AssetBlocksByStatTypeAssetIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'AssetBlocksByStatTypeAssetIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `StatType`. */ - statTypesByUpdatedBlockId: StatTypesConnection; -}; - -/** A `Block` edge in the connection, with data from `StatType`. */ -export type AssetBlocksByStatTypeAssetIdAndUpdatedBlockIdManyToManyEdgeStatTypesByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Sto`. */ -export type AssetBlocksByStoOfferingAssetIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'AssetBlocksByStoOfferingAssetIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Sto`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Sto`. */ -export type AssetBlocksByStoOfferingAssetIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Sto`. */ -export type AssetBlocksByStoOfferingAssetIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'AssetBlocksByStoOfferingAssetIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Sto`. */ - stosByCreatedBlockId: StosConnection; -}; - -/** A `Block` edge in the connection, with data from `Sto`. */ -export type AssetBlocksByStoOfferingAssetIdAndCreatedBlockIdManyToManyEdgeStosByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Sto`. */ -export type AssetBlocksByStoOfferingAssetIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'AssetBlocksByStoOfferingAssetIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Sto`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Sto`. */ -export type AssetBlocksByStoOfferingAssetIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Sto`. */ -export type AssetBlocksByStoOfferingAssetIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'AssetBlocksByStoOfferingAssetIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Sto`. */ - stosByUpdatedBlockId: StosConnection; -}; - -/** A `Block` edge in the connection, with data from `Sto`. */ -export type AssetBlocksByStoOfferingAssetIdAndUpdatedBlockIdManyToManyEdgeStosByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `TickerExternalAgentAction`. */ -export type AssetBlocksByTickerExternalAgentActionAssetIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'AssetBlocksByTickerExternalAgentActionAssetIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `TickerExternalAgentAction`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `TickerExternalAgentAction`. */ -export type AssetBlocksByTickerExternalAgentActionAssetIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `TickerExternalAgentAction`. */ -export type AssetBlocksByTickerExternalAgentActionAssetIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'AssetBlocksByTickerExternalAgentActionAssetIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TickerExternalAgentAction`. */ - tickerExternalAgentActionsByCreatedBlockId: TickerExternalAgentActionsConnection; -}; - -/** A `Block` edge in the connection, with data from `TickerExternalAgentAction`. */ -export type AssetBlocksByTickerExternalAgentActionAssetIdAndCreatedBlockIdManyToManyEdgeTickerExternalAgentActionsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `TickerExternalAgentAction`. */ -export type AssetBlocksByTickerExternalAgentActionAssetIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'AssetBlocksByTickerExternalAgentActionAssetIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `TickerExternalAgentAction`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `TickerExternalAgentAction`. */ -export type AssetBlocksByTickerExternalAgentActionAssetIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `TickerExternalAgentAction`. */ -export type AssetBlocksByTickerExternalAgentActionAssetIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'AssetBlocksByTickerExternalAgentActionAssetIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TickerExternalAgentAction`. */ - tickerExternalAgentActionsByUpdatedBlockId: TickerExternalAgentActionsConnection; -}; - -/** A `Block` edge in the connection, with data from `TickerExternalAgentAction`. */ -export type AssetBlocksByTickerExternalAgentActionAssetIdAndUpdatedBlockIdManyToManyEdgeTickerExternalAgentActionsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `TickerExternalAgent`. */ -export type AssetBlocksByTickerExternalAgentAssetIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'AssetBlocksByTickerExternalAgentAssetIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `TickerExternalAgent`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `TickerExternalAgent`. */ -export type AssetBlocksByTickerExternalAgentAssetIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `TickerExternalAgent`. */ -export type AssetBlocksByTickerExternalAgentAssetIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'AssetBlocksByTickerExternalAgentAssetIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TickerExternalAgent`. */ - tickerExternalAgentsByCreatedBlockId: TickerExternalAgentsConnection; -}; - -/** A `Block` edge in the connection, with data from `TickerExternalAgent`. */ -export type AssetBlocksByTickerExternalAgentAssetIdAndCreatedBlockIdManyToManyEdgeTickerExternalAgentsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `TickerExternalAgent`. */ -export type AssetBlocksByTickerExternalAgentAssetIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'AssetBlocksByTickerExternalAgentAssetIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `TickerExternalAgent`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `TickerExternalAgent`. */ -export type AssetBlocksByTickerExternalAgentAssetIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `TickerExternalAgent`. */ -export type AssetBlocksByTickerExternalAgentAssetIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'AssetBlocksByTickerExternalAgentAssetIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TickerExternalAgent`. */ - tickerExternalAgentsByUpdatedBlockId: TickerExternalAgentsConnection; -}; - -/** A `Block` edge in the connection, with data from `TickerExternalAgent`. */ -export type AssetBlocksByTickerExternalAgentAssetIdAndUpdatedBlockIdManyToManyEdgeTickerExternalAgentsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `TickerExternalAgentHistory`. */ -export type AssetBlocksByTickerExternalAgentHistoryAssetIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'AssetBlocksByTickerExternalAgentHistoryAssetIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `TickerExternalAgentHistory`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `TickerExternalAgentHistory`. */ -export type AssetBlocksByTickerExternalAgentHistoryAssetIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `TickerExternalAgentHistory`. */ -export type AssetBlocksByTickerExternalAgentHistoryAssetIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'AssetBlocksByTickerExternalAgentHistoryAssetIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TickerExternalAgentHistory`. */ - tickerExternalAgentHistoriesByCreatedBlockId: TickerExternalAgentHistoriesConnection; -}; - -/** A `Block` edge in the connection, with data from `TickerExternalAgentHistory`. */ -export type AssetBlocksByTickerExternalAgentHistoryAssetIdAndCreatedBlockIdManyToManyEdgeTickerExternalAgentHistoriesByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `TickerExternalAgentHistory`. */ -export type AssetBlocksByTickerExternalAgentHistoryAssetIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'AssetBlocksByTickerExternalAgentHistoryAssetIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `TickerExternalAgentHistory`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `TickerExternalAgentHistory`. */ -export type AssetBlocksByTickerExternalAgentHistoryAssetIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `TickerExternalAgentHistory`. */ -export type AssetBlocksByTickerExternalAgentHistoryAssetIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'AssetBlocksByTickerExternalAgentHistoryAssetIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TickerExternalAgentHistory`. */ - tickerExternalAgentHistoriesByUpdatedBlockId: TickerExternalAgentHistoriesConnection; -}; - -/** A `Block` edge in the connection, with data from `TickerExternalAgentHistory`. */ -export type AssetBlocksByTickerExternalAgentHistoryAssetIdAndUpdatedBlockIdManyToManyEdgeTickerExternalAgentHistoriesByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `TransferCompliance`. */ -export type AssetBlocksByTransferComplianceAssetIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'AssetBlocksByTransferComplianceAssetIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `TransferCompliance`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `TransferCompliance`. */ -export type AssetBlocksByTransferComplianceAssetIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `TransferCompliance`. */ -export type AssetBlocksByTransferComplianceAssetIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'AssetBlocksByTransferComplianceAssetIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TransferCompliance`. */ - transferCompliancesByCreatedBlockId: TransferCompliancesConnection; -}; - -/** A `Block` edge in the connection, with data from `TransferCompliance`. */ -export type AssetBlocksByTransferComplianceAssetIdAndCreatedBlockIdManyToManyEdgeTransferCompliancesByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `TransferCompliance`. */ -export type AssetBlocksByTransferComplianceAssetIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'AssetBlocksByTransferComplianceAssetIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `TransferCompliance`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `TransferCompliance`. */ -export type AssetBlocksByTransferComplianceAssetIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `TransferCompliance`. */ -export type AssetBlocksByTransferComplianceAssetIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'AssetBlocksByTransferComplianceAssetIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TransferCompliance`. */ - transferCompliancesByUpdatedBlockId: TransferCompliancesConnection; -}; - -/** A `Block` edge in the connection, with data from `TransferCompliance`. */ -export type AssetBlocksByTransferComplianceAssetIdAndUpdatedBlockIdManyToManyEdgeTransferCompliancesByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `TransferComplianceExemption`. */ -export type AssetBlocksByTransferComplianceExemptionAssetIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'AssetBlocksByTransferComplianceExemptionAssetIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `TransferComplianceExemption`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `TransferComplianceExemption`. */ -export type AssetBlocksByTransferComplianceExemptionAssetIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `TransferComplianceExemption`. */ -export type AssetBlocksByTransferComplianceExemptionAssetIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'AssetBlocksByTransferComplianceExemptionAssetIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TransferComplianceExemption`. */ - transferComplianceExemptionsByCreatedBlockId: TransferComplianceExemptionsConnection; -}; - -/** A `Block` edge in the connection, with data from `TransferComplianceExemption`. */ -export type AssetBlocksByTransferComplianceExemptionAssetIdAndCreatedBlockIdManyToManyEdgeTransferComplianceExemptionsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `TransferComplianceExemption`. */ -export type AssetBlocksByTransferComplianceExemptionAssetIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'AssetBlocksByTransferComplianceExemptionAssetIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `TransferComplianceExemption`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `TransferComplianceExemption`. */ -export type AssetBlocksByTransferComplianceExemptionAssetIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `TransferComplianceExemption`. */ -export type AssetBlocksByTransferComplianceExemptionAssetIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'AssetBlocksByTransferComplianceExemptionAssetIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TransferComplianceExemption`. */ - transferComplianceExemptionsByUpdatedBlockId: TransferComplianceExemptionsConnection; -}; - -/** A `Block` edge in the connection, with data from `TransferComplianceExemption`. */ -export type AssetBlocksByTransferComplianceExemptionAssetIdAndUpdatedBlockIdManyToManyEdgeTransferComplianceExemptionsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `TransferManager`. */ -export type AssetBlocksByTransferManagerAssetIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'AssetBlocksByTransferManagerAssetIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `TransferManager`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `TransferManager`. */ -export type AssetBlocksByTransferManagerAssetIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `TransferManager`. */ -export type AssetBlocksByTransferManagerAssetIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'AssetBlocksByTransferManagerAssetIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TransferManager`. */ - transferManagersByCreatedBlockId: TransferManagersConnection; -}; - -/** A `Block` edge in the connection, with data from `TransferManager`. */ -export type AssetBlocksByTransferManagerAssetIdAndCreatedBlockIdManyToManyEdgeTransferManagersByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `TransferManager`. */ -export type AssetBlocksByTransferManagerAssetIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'AssetBlocksByTransferManagerAssetIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `TransferManager`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `TransferManager`. */ -export type AssetBlocksByTransferManagerAssetIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `TransferManager`. */ -export type AssetBlocksByTransferManagerAssetIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'AssetBlocksByTransferManagerAssetIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TransferManager`. */ - transferManagersByUpdatedBlockId: TransferManagersConnection; -}; - -/** A `Block` edge in the connection, with data from `TransferManager`. */ -export type AssetBlocksByTransferManagerAssetIdAndUpdatedBlockIdManyToManyEdgeTransferManagersByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `TrustedClaimIssuer`. */ -export type AssetBlocksByTrustedClaimIssuerAssetIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'AssetBlocksByTrustedClaimIssuerAssetIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `TrustedClaimIssuer`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `TrustedClaimIssuer`. */ -export type AssetBlocksByTrustedClaimIssuerAssetIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `TrustedClaimIssuer`. */ -export type AssetBlocksByTrustedClaimIssuerAssetIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'AssetBlocksByTrustedClaimIssuerAssetIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TrustedClaimIssuer`. */ - trustedClaimIssuersByCreatedBlockId: TrustedClaimIssuersConnection; -}; - -/** A `Block` edge in the connection, with data from `TrustedClaimIssuer`. */ -export type AssetBlocksByTrustedClaimIssuerAssetIdAndCreatedBlockIdManyToManyEdgeTrustedClaimIssuersByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `TrustedClaimIssuer`. */ -export type AssetBlocksByTrustedClaimIssuerAssetIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'AssetBlocksByTrustedClaimIssuerAssetIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `TrustedClaimIssuer`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `TrustedClaimIssuer`. */ -export type AssetBlocksByTrustedClaimIssuerAssetIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `TrustedClaimIssuer`. */ -export type AssetBlocksByTrustedClaimIssuerAssetIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'AssetBlocksByTrustedClaimIssuerAssetIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TrustedClaimIssuer`. */ - trustedClaimIssuersByUpdatedBlockId: TrustedClaimIssuersConnection; -}; - -/** A `Block` edge in the connection, with data from `TrustedClaimIssuer`. */ -export type AssetBlocksByTrustedClaimIssuerAssetIdAndUpdatedBlockIdManyToManyEdgeTrustedClaimIssuersByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -export type AssetDistinctCountAggregateFilter = { - createdAt?: InputMaybe; - createdBlockId?: InputMaybe; - eventIdx?: InputMaybe; - fundingRound?: InputMaybe; - id?: InputMaybe; - identifiers?: InputMaybe; - isCompliancePaused?: InputMaybe; - isDivisible?: InputMaybe; - isFrozen?: InputMaybe; - isNftCollection?: InputMaybe; - isUniquenessRequired?: InputMaybe; - name?: InputMaybe; - ownerId?: InputMaybe; - ticker?: InputMaybe; - totalSupply?: InputMaybe; - totalTransfers?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; - updatedBlockId?: InputMaybe; -}; - -export type AssetDistinctCountAggregates = { - __typename?: 'AssetDistinctCountAggregates'; - /** Distinct count of createdAt across the matching connection */ - createdAt?: Maybe; - /** Distinct count of createdBlockId across the matching connection */ - createdBlockId?: Maybe; - /** Distinct count of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Distinct count of fundingRound across the matching connection */ - fundingRound?: Maybe; - /** Distinct count of id across the matching connection */ - id?: Maybe; - /** Distinct count of identifiers across the matching connection */ - identifiers?: Maybe; - /** Distinct count of isCompliancePaused across the matching connection */ - isCompliancePaused?: Maybe; - /** Distinct count of isDivisible across the matching connection */ - isDivisible?: Maybe; - /** Distinct count of isFrozen across the matching connection */ - isFrozen?: Maybe; - /** Distinct count of isNftCollection across the matching connection */ - isNftCollection?: Maybe; - /** Distinct count of isUniquenessRequired across the matching connection */ - isUniquenessRequired?: Maybe; - /** Distinct count of name across the matching connection */ - name?: Maybe; - /** Distinct count of ownerId across the matching connection */ - ownerId?: Maybe; - /** Distinct count of ticker across the matching connection */ - ticker?: Maybe; - /** Distinct count of totalSupply across the matching connection */ - totalSupply?: Maybe; - /** Distinct count of totalTransfers across the matching connection */ - totalTransfers?: Maybe; - /** Distinct count of type across the matching connection */ - type?: Maybe; - /** Distinct count of updatedAt across the matching connection */ - updatedAt?: Maybe; - /** Distinct count of updatedBlockId across the matching connection */ - updatedBlockId?: Maybe; -}; - -/** - * Represents off chain documentation for an Asset. A hash should be included on chain so readers can be sure their copy has not been tampered with - * - * e.g. A companies 10-K report - */ -export type AssetDocument = Node & { - __typename?: 'AssetDocument'; - /** Reads a single `Asset` that is related to this `AssetDocument`. */ - asset?: Maybe; - assetId: Scalars['String']['output']; - contentHash?: Maybe; - createdAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `AssetDocument`. */ - createdBlock?: Maybe; - createdBlockId: Scalars['String']['output']; - documentId: Scalars['Int']['output']; - filedAt?: Maybe; - id: Scalars['String']['output']; - link: Scalars['String']['output']; - name: Scalars['String']['output']; - /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ - nodeId: Scalars['ID']['output']; - type?: Maybe; - updatedAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `AssetDocument`. */ - updatedBlock?: Maybe; - updatedBlockId: Scalars['String']['output']; -}; - -export type AssetDocumentAggregates = { - __typename?: 'AssetDocumentAggregates'; - /** Mean average aggregates across the matching connection (ignoring before/after/first/last/offset) */ - average?: Maybe; - /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ - distinctCount?: Maybe; - keys?: Maybe>; - /** Maximum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - max?: Maybe; - /** Minimum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - min?: Maybe; - /** Population standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevPopulation?: Maybe; - /** Sample standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevSample?: Maybe; - /** Sum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - sum?: Maybe; - /** Population variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - variancePopulation?: Maybe; - /** Sample variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - varianceSample?: Maybe; -}; - -/** A filter to be used against aggregates of `AssetDocument` object types. */ -export type AssetDocumentAggregatesFilter = { - /** Mean average aggregate over matching `AssetDocument` objects. */ - average?: InputMaybe; - /** Distinct count aggregate over matching `AssetDocument` objects. */ - distinctCount?: InputMaybe; - /** A filter that must pass for the relevant `AssetDocument` object to be included within the aggregate. */ - filter?: InputMaybe; - /** Maximum aggregate over matching `AssetDocument` objects. */ - max?: InputMaybe; - /** Minimum aggregate over matching `AssetDocument` objects. */ - min?: InputMaybe; - /** Population standard deviation aggregate over matching `AssetDocument` objects. */ - stddevPopulation?: InputMaybe; - /** Sample standard deviation aggregate over matching `AssetDocument` objects. */ - stddevSample?: InputMaybe; - /** Sum aggregate over matching `AssetDocument` objects. */ - sum?: InputMaybe; - /** Population variance aggregate over matching `AssetDocument` objects. */ - variancePopulation?: InputMaybe; - /** Sample variance aggregate over matching `AssetDocument` objects. */ - varianceSample?: InputMaybe; -}; - -export type AssetDocumentAverageAggregateFilter = { - documentId?: InputMaybe; -}; - -export type AssetDocumentAverageAggregates = { - __typename?: 'AssetDocumentAverageAggregates'; - /** Mean average of documentId across the matching connection */ - documentId?: Maybe; -}; - -export type AssetDocumentDistinctCountAggregateFilter = { - assetId?: InputMaybe; - contentHash?: InputMaybe; - createdAt?: InputMaybe; - createdBlockId?: InputMaybe; - documentId?: InputMaybe; - filedAt?: InputMaybe; - id?: InputMaybe; - link?: InputMaybe; - name?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; - updatedBlockId?: InputMaybe; -}; - -export type AssetDocumentDistinctCountAggregates = { - __typename?: 'AssetDocumentDistinctCountAggregates'; - /** Distinct count of assetId across the matching connection */ - assetId?: Maybe; - /** Distinct count of contentHash across the matching connection */ - contentHash?: Maybe; - /** Distinct count of createdAt across the matching connection */ - createdAt?: Maybe; - /** Distinct count of createdBlockId across the matching connection */ - createdBlockId?: Maybe; - /** Distinct count of documentId across the matching connection */ - documentId?: Maybe; - /** Distinct count of filedAt across the matching connection */ - filedAt?: Maybe; - /** Distinct count of id across the matching connection */ - id?: Maybe; - /** Distinct count of link across the matching connection */ - link?: Maybe; - /** Distinct count of name across the matching connection */ - name?: Maybe; - /** Distinct count of type across the matching connection */ - type?: Maybe; - /** Distinct count of updatedAt across the matching connection */ - updatedAt?: Maybe; - /** Distinct count of updatedBlockId across the matching connection */ - updatedBlockId?: Maybe; -}; - -/** A filter to be used against `AssetDocument` object types. All fields are combined with a logical ‘and.’ */ -export type AssetDocumentFilter = { - /** Checks for all expressions in this list. */ - and?: InputMaybe>; - /** Filter by the object’s `asset` relation. */ - asset?: InputMaybe; - /** Filter by the object’s `assetId` field. */ - assetId?: InputMaybe; - /** Filter by the object’s `contentHash` field. */ - contentHash?: InputMaybe; - /** Filter by the object’s `createdAt` field. */ - createdAt?: InputMaybe; - /** Filter by the object’s `createdBlock` relation. */ - createdBlock?: InputMaybe; - /** Filter by the object’s `createdBlockId` field. */ - createdBlockId?: InputMaybe; - /** Filter by the object’s `documentId` field. */ - documentId?: InputMaybe; - /** Filter by the object’s `filedAt` field. */ - filedAt?: InputMaybe; - /** Filter by the object’s `id` field. */ - id?: InputMaybe; - /** Filter by the object’s `link` field. */ - link?: InputMaybe; - /** Filter by the object’s `name` field. */ - name?: InputMaybe; - /** Negates the expression. */ - not?: InputMaybe; - /** Checks for any expressions in this list. */ - or?: InputMaybe>; - /** Filter by the object’s `type` field. */ - type?: InputMaybe; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: InputMaybe; - /** Filter by the object’s `updatedBlock` relation. */ - updatedBlock?: InputMaybe; - /** Filter by the object’s `updatedBlockId` field. */ - updatedBlockId?: InputMaybe; -}; - -export type AssetDocumentMaxAggregateFilter = { - documentId?: InputMaybe; -}; - -export type AssetDocumentMaxAggregates = { - __typename?: 'AssetDocumentMaxAggregates'; - /** Maximum of documentId across the matching connection */ - documentId?: Maybe; -}; - -export type AssetDocumentMinAggregateFilter = { - documentId?: InputMaybe; -}; - -export type AssetDocumentMinAggregates = { - __typename?: 'AssetDocumentMinAggregates'; - /** Minimum of documentId across the matching connection */ - documentId?: Maybe; -}; - -export type AssetDocumentStddevPopulationAggregateFilter = { - documentId?: InputMaybe; -}; - -export type AssetDocumentStddevPopulationAggregates = { - __typename?: 'AssetDocumentStddevPopulationAggregates'; - /** Population standard deviation of documentId across the matching connection */ - documentId?: Maybe; -}; - -export type AssetDocumentStddevSampleAggregateFilter = { - documentId?: InputMaybe; -}; - -export type AssetDocumentStddevSampleAggregates = { - __typename?: 'AssetDocumentStddevSampleAggregates'; - /** Sample standard deviation of documentId across the matching connection */ - documentId?: Maybe; -}; - -export type AssetDocumentSumAggregateFilter = { - documentId?: InputMaybe; -}; - -export type AssetDocumentSumAggregates = { - __typename?: 'AssetDocumentSumAggregates'; - /** Sum of documentId across the matching connection */ - documentId: Scalars['BigInt']['output']; -}; - -export type AssetDocumentVariancePopulationAggregateFilter = { - documentId?: InputMaybe; -}; - -export type AssetDocumentVariancePopulationAggregates = { - __typename?: 'AssetDocumentVariancePopulationAggregates'; - /** Population variance of documentId across the matching connection */ - documentId?: Maybe; -}; - -export type AssetDocumentVarianceSampleAggregateFilter = { - documentId?: InputMaybe; -}; - -export type AssetDocumentVarianceSampleAggregates = { - __typename?: 'AssetDocumentVarianceSampleAggregates'; - /** Sample variance of documentId across the matching connection */ - documentId?: Maybe; -}; - -/** A connection to a list of `AssetDocument` values. */ -export type AssetDocumentsConnection = { - __typename?: 'AssetDocumentsConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `AssetDocument` and cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `AssetDocument` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `AssetDocument` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `AssetDocument` values. */ -export type AssetDocumentsConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `AssetDocument` edge in the connection. */ -export type AssetDocumentsEdge = { - __typename?: 'AssetDocumentsEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `AssetDocument` at the end of the edge. */ - node?: Maybe; -}; - -/** Grouping methods for `AssetDocument` for usage during aggregation. */ -export enum AssetDocumentsGroupBy { - AssetId = 'ASSET_ID', - ContentHash = 'CONTENT_HASH', - CreatedAt = 'CREATED_AT', - CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', - CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', - CreatedBlockId = 'CREATED_BLOCK_ID', - DocumentId = 'DOCUMENT_ID', - FiledAt = 'FILED_AT', - FiledAtTruncatedToDay = 'FILED_AT_TRUNCATED_TO_DAY', - FiledAtTruncatedToHour = 'FILED_AT_TRUNCATED_TO_HOUR', - Link = 'LINK', - Name = 'NAME', - Type = 'TYPE', - UpdatedAt = 'UPDATED_AT', - UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', - UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export type AssetDocumentsHavingAverageInput = { - createdAt?: InputMaybe; - documentId?: InputMaybe; - filedAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type AssetDocumentsHavingDistinctCountInput = { - createdAt?: InputMaybe; - documentId?: InputMaybe; - filedAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Conditions for `AssetDocument` aggregates. */ -export type AssetDocumentsHavingInput = { - AND?: InputMaybe>; - OR?: InputMaybe>; - average?: InputMaybe; - distinctCount?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddevPopulation?: InputMaybe; - stddevSample?: InputMaybe; - sum?: InputMaybe; - variancePopulation?: InputMaybe; - varianceSample?: InputMaybe; -}; - -export type AssetDocumentsHavingMaxInput = { - createdAt?: InputMaybe; - documentId?: InputMaybe; - filedAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type AssetDocumentsHavingMinInput = { - createdAt?: InputMaybe; - documentId?: InputMaybe; - filedAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type AssetDocumentsHavingStddevPopulationInput = { - createdAt?: InputMaybe; - documentId?: InputMaybe; - filedAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type AssetDocumentsHavingStddevSampleInput = { - createdAt?: InputMaybe; - documentId?: InputMaybe; - filedAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type AssetDocumentsHavingSumInput = { - createdAt?: InputMaybe; - documentId?: InputMaybe; - filedAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type AssetDocumentsHavingVariancePopulationInput = { - createdAt?: InputMaybe; - documentId?: InputMaybe; - filedAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type AssetDocumentsHavingVarianceSampleInput = { - createdAt?: InputMaybe; - documentId?: InputMaybe; - filedAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Methods to use when ordering `AssetDocument`. */ -export enum AssetDocumentsOrderBy { - AssetIdAsc = 'ASSET_ID_ASC', - AssetIdDesc = 'ASSET_ID_DESC', - ContentHashAsc = 'CONTENT_HASH_ASC', - ContentHashDesc = 'CONTENT_HASH_DESC', - CreatedAtAsc = 'CREATED_AT_ASC', - CreatedAtDesc = 'CREATED_AT_DESC', - CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', - CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', - DocumentIdAsc = 'DOCUMENT_ID_ASC', - DocumentIdDesc = 'DOCUMENT_ID_DESC', - FiledAtAsc = 'FILED_AT_ASC', - FiledAtDesc = 'FILED_AT_DESC', - IdAsc = 'ID_ASC', - IdDesc = 'ID_DESC', - LinkAsc = 'LINK_ASC', - LinkDesc = 'LINK_DESC', - NameAsc = 'NAME_ASC', - NameDesc = 'NAME_DESC', - Natural = 'NATURAL', - PrimaryKeyAsc = 'PRIMARY_KEY_ASC', - PrimaryKeyDesc = 'PRIMARY_KEY_DESC', - TypeAsc = 'TYPE_ASC', - TypeDesc = 'TYPE_DESC', - UpdatedAtAsc = 'UPDATED_AT_ASC', - UpdatedAtDesc = 'UPDATED_AT_DESC', - UpdatedBlockIdAsc = 'UPDATED_BLOCK_ID_ASC', - UpdatedBlockIdDesc = 'UPDATED_BLOCK_ID_DESC', -} - -/** A filter to be used against `Asset` object types. All fields are combined with a logical ‘and.’ */ -export type AssetFilter = { - /** Checks for all expressions in this list. */ - and?: InputMaybe>; - /** Filter by the object’s `assetTransactions` relation. */ - assetTransactions?: InputMaybe; - /** Some related `assetTransactions` exist. */ - assetTransactionsExist?: InputMaybe; - /** Filter by the object’s `compliance` relation. */ - compliance?: InputMaybe; - /** Some related `compliance` exist. */ - complianceExist?: InputMaybe; - /** Filter by the object’s `createdAt` field. */ - createdAt?: InputMaybe; - /** Filter by the object’s `createdBlock` relation. */ - createdBlock?: InputMaybe; - /** Filter by the object’s `createdBlockId` field. */ - createdBlockId?: InputMaybe; - /** Filter by the object’s `distributions` relation. */ - distributions?: InputMaybe; - /** Some related `distributions` exist. */ - distributionsExist?: InputMaybe; - /** Filter by the object’s `documents` relation. */ - documents?: InputMaybe; - /** Some related `documents` exist. */ - documentsExist?: InputMaybe; - /** Filter by the object’s `eventIdx` field. */ - eventIdx?: InputMaybe; - /** Filter by the object’s `fundingRound` field. */ - fundingRound?: InputMaybe; - /** Filter by the object’s `fundings` relation. */ - fundings?: InputMaybe; - /** Some related `fundings` exist. */ - fundingsExist?: InputMaybe; - /** Filter by the object’s `holders` relation. */ - holders?: InputMaybe; - /** Some related `holders` exist. */ - holdersExist?: InputMaybe; - /** Filter by the object’s `id` field. */ - id?: InputMaybe; - /** Filter by the object’s `identifiers` field. */ - identifiers?: InputMaybe; - /** Filter by the object’s `isCompliancePaused` field. */ - isCompliancePaused?: InputMaybe; - /** Filter by the object’s `isDivisible` field. */ - isDivisible?: InputMaybe; - /** Filter by the object’s `isFrozen` field. */ - isFrozen?: InputMaybe; - /** Filter by the object’s `isNftCollection` field. */ - isNftCollection?: InputMaybe; - /** Filter by the object’s `isUniquenessRequired` field. */ - isUniquenessRequired?: InputMaybe; - /** Filter by the object’s `name` field. */ - name?: InputMaybe; - /** Filter by the object’s `nftHolders` relation. */ - nftHolders?: InputMaybe; - /** Some related `nftHolders` exist. */ - nftHoldersExist?: InputMaybe; - /** Negates the expression. */ - not?: InputMaybe; - /** Checks for any expressions in this list. */ - or?: InputMaybe>; - /** Filter by the object’s `owner` relation. */ - owner?: InputMaybe; - /** Filter by the object’s `ownerId` field. */ - ownerId?: InputMaybe; - /** Filter by the object’s `portfolioMovements` relation. */ - portfolioMovements?: InputMaybe; - /** Some related `portfolioMovements` exist. */ - portfolioMovementsExist?: InputMaybe; - /** Filter by the object’s `statTypes` relation. */ - statTypes?: InputMaybe; - /** Some related `statTypes` exist. */ - statTypesExist?: InputMaybe; - /** Filter by the object’s `stosByOfferingAssetId` relation. */ - stosByOfferingAssetId?: InputMaybe; - /** Some related `stosByOfferingAssetId` exist. */ - stosByOfferingAssetIdExist?: InputMaybe; - /** Filter by the object’s `ticker` field. */ - ticker?: InputMaybe; - /** Filter by the object’s `tickerExternalAgentActions` relation. */ - tickerExternalAgentActions?: InputMaybe; - /** Some related `tickerExternalAgentActions` exist. */ - tickerExternalAgentActionsExist?: InputMaybe; - /** Filter by the object’s `tickerExternalAgentHistories` relation. */ - tickerExternalAgentHistories?: InputMaybe; - /** Some related `tickerExternalAgentHistories` exist. */ - tickerExternalAgentHistoriesExist?: InputMaybe; - /** Filter by the object’s `tickerExternalAgents` relation. */ - tickerExternalAgents?: InputMaybe; - /** Some related `tickerExternalAgents` exist. */ - tickerExternalAgentsExist?: InputMaybe; - /** Filter by the object’s `totalSupply` field. */ - totalSupply?: InputMaybe; - /** Filter by the object’s `totalTransfers` field. */ - totalTransfers?: InputMaybe; - /** Filter by the object’s `transferComplianceExemptions` relation. */ - transferComplianceExemptions?: InputMaybe; - /** Some related `transferComplianceExemptions` exist. */ - transferComplianceExemptionsExist?: InputMaybe; - /** Filter by the object’s `transferCompliances` relation. */ - transferCompliances?: InputMaybe; - /** Some related `transferCompliances` exist. */ - transferCompliancesExist?: InputMaybe; - /** Filter by the object’s `transferManagers` relation. */ - transferManagers?: InputMaybe; - /** Some related `transferManagers` exist. */ - transferManagersExist?: InputMaybe; - /** Filter by the object’s `trustedClaimIssuers` relation. */ - trustedClaimIssuers?: InputMaybe; - /** Some related `trustedClaimIssuers` exist. */ - trustedClaimIssuersExist?: InputMaybe; - /** Filter by the object’s `type` field. */ - type?: InputMaybe; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: InputMaybe; - /** Filter by the object’s `updatedBlock` relation. */ - updatedBlock?: InputMaybe; - /** Filter by the object’s `updatedBlockId` field. */ - updatedBlockId?: InputMaybe; -}; - -/** Represents how much of a given Asset an Identity owns */ -export type AssetHolder = Node & { - __typename?: 'AssetHolder'; - amount: Scalars['BigFloat']['output']; - /** Reads a single `Asset` that is related to this `AssetHolder`. */ - asset?: Maybe; - assetId: Scalars['String']['output']; - createdAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `AssetHolder`. */ - createdBlock?: Maybe; - createdBlockId: Scalars['String']['output']; - id: Scalars['String']['output']; - /** Reads a single `Identity` that is related to this `AssetHolder`. */ - identity?: Maybe; - identityId: Scalars['String']['output']; - /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ - nodeId: Scalars['ID']['output']; - updatedAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `AssetHolder`. */ - updatedBlock?: Maybe; - updatedBlockId: Scalars['String']['output']; -}; - -export type AssetHolderAggregates = { - __typename?: 'AssetHolderAggregates'; - /** Mean average aggregates across the matching connection (ignoring before/after/first/last/offset) */ - average?: Maybe; - /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ - distinctCount?: Maybe; - keys?: Maybe>; - /** Maximum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - max?: Maybe; - /** Minimum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - min?: Maybe; - /** Population standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevPopulation?: Maybe; - /** Sample standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevSample?: Maybe; - /** Sum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - sum?: Maybe; - /** Population variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - variancePopulation?: Maybe; - /** Sample variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - varianceSample?: Maybe; -}; - -/** A filter to be used against aggregates of `AssetHolder` object types. */ -export type AssetHolderAggregatesFilter = { - /** Mean average aggregate over matching `AssetHolder` objects. */ - average?: InputMaybe; - /** Distinct count aggregate over matching `AssetHolder` objects. */ - distinctCount?: InputMaybe; - /** A filter that must pass for the relevant `AssetHolder` object to be included within the aggregate. */ - filter?: InputMaybe; - /** Maximum aggregate over matching `AssetHolder` objects. */ - max?: InputMaybe; - /** Minimum aggregate over matching `AssetHolder` objects. */ - min?: InputMaybe; - /** Population standard deviation aggregate over matching `AssetHolder` objects. */ - stddevPopulation?: InputMaybe; - /** Sample standard deviation aggregate over matching `AssetHolder` objects. */ - stddevSample?: InputMaybe; - /** Sum aggregate over matching `AssetHolder` objects. */ - sum?: InputMaybe; - /** Population variance aggregate over matching `AssetHolder` objects. */ - variancePopulation?: InputMaybe; - /** Sample variance aggregate over matching `AssetHolder` objects. */ - varianceSample?: InputMaybe; -}; - -export type AssetHolderAverageAggregateFilter = { - amount?: InputMaybe; -}; - -export type AssetHolderAverageAggregates = { - __typename?: 'AssetHolderAverageAggregates'; - /** Mean average of amount across the matching connection */ - amount?: Maybe; -}; - -export type AssetHolderDistinctCountAggregateFilter = { - amount?: InputMaybe; - assetId?: InputMaybe; - createdAt?: InputMaybe; - createdBlockId?: InputMaybe; - id?: InputMaybe; - identityId?: InputMaybe; - updatedAt?: InputMaybe; - updatedBlockId?: InputMaybe; -}; - -export type AssetHolderDistinctCountAggregates = { - __typename?: 'AssetHolderDistinctCountAggregates'; - /** Distinct count of amount across the matching connection */ - amount?: Maybe; - /** Distinct count of assetId across the matching connection */ - assetId?: Maybe; - /** Distinct count of createdAt across the matching connection */ - createdAt?: Maybe; - /** Distinct count of createdBlockId across the matching connection */ - createdBlockId?: Maybe; - /** Distinct count of id across the matching connection */ - id?: Maybe; - /** Distinct count of identityId across the matching connection */ - identityId?: Maybe; - /** Distinct count of updatedAt across the matching connection */ - updatedAt?: Maybe; - /** Distinct count of updatedBlockId across the matching connection */ - updatedBlockId?: Maybe; -}; - -/** A filter to be used against `AssetHolder` object types. All fields are combined with a logical ‘and.’ */ -export type AssetHolderFilter = { - /** Filter by the object’s `amount` field. */ - amount?: InputMaybe; - /** Checks for all expressions in this list. */ - and?: InputMaybe>; - /** Filter by the object’s `asset` relation. */ - asset?: InputMaybe; - /** Filter by the object’s `assetId` field. */ - assetId?: InputMaybe; - /** Filter by the object’s `createdAt` field. */ - createdAt?: InputMaybe; - /** Filter by the object’s `createdBlock` relation. */ - createdBlock?: InputMaybe; - /** Filter by the object’s `createdBlockId` field. */ - createdBlockId?: InputMaybe; - /** Filter by the object’s `id` field. */ - id?: InputMaybe; - /** Filter by the object’s `identity` relation. */ - identity?: InputMaybe; - /** Filter by the object’s `identityId` field. */ - identityId?: InputMaybe; - /** Negates the expression. */ - not?: InputMaybe; - /** Checks for any expressions in this list. */ - or?: InputMaybe>; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: InputMaybe; - /** Filter by the object’s `updatedBlock` relation. */ - updatedBlock?: InputMaybe; - /** Filter by the object’s `updatedBlockId` field. */ - updatedBlockId?: InputMaybe; -}; - -export type AssetHolderMaxAggregateFilter = { - amount?: InputMaybe; -}; - -export type AssetHolderMaxAggregates = { - __typename?: 'AssetHolderMaxAggregates'; - /** Maximum of amount across the matching connection */ - amount?: Maybe; -}; - -export type AssetHolderMinAggregateFilter = { - amount?: InputMaybe; -}; - -export type AssetHolderMinAggregates = { - __typename?: 'AssetHolderMinAggregates'; - /** Minimum of amount across the matching connection */ - amount?: Maybe; -}; - -export type AssetHolderStddevPopulationAggregateFilter = { - amount?: InputMaybe; -}; - -export type AssetHolderStddevPopulationAggregates = { - __typename?: 'AssetHolderStddevPopulationAggregates'; - /** Population standard deviation of amount across the matching connection */ - amount?: Maybe; -}; - -export type AssetHolderStddevSampleAggregateFilter = { - amount?: InputMaybe; -}; - -export type AssetHolderStddevSampleAggregates = { - __typename?: 'AssetHolderStddevSampleAggregates'; - /** Sample standard deviation of amount across the matching connection */ - amount?: Maybe; -}; - -export type AssetHolderSumAggregateFilter = { - amount?: InputMaybe; -}; - -export type AssetHolderSumAggregates = { - __typename?: 'AssetHolderSumAggregates'; - /** Sum of amount across the matching connection */ - amount: Scalars['BigFloat']['output']; -}; - -export type AssetHolderVariancePopulationAggregateFilter = { - amount?: InputMaybe; -}; - -export type AssetHolderVariancePopulationAggregates = { - __typename?: 'AssetHolderVariancePopulationAggregates'; - /** Population variance of amount across the matching connection */ - amount?: Maybe; -}; - -export type AssetHolderVarianceSampleAggregateFilter = { - amount?: InputMaybe; -}; - -export type AssetHolderVarianceSampleAggregates = { - __typename?: 'AssetHolderVarianceSampleAggregates'; - /** Sample variance of amount across the matching connection */ - amount?: Maybe; -}; - -/** A connection to a list of `AssetHolder` values. */ -export type AssetHoldersConnection = { - __typename?: 'AssetHoldersConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `AssetHolder` and cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `AssetHolder` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `AssetHolder` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `AssetHolder` values. */ -export type AssetHoldersConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `AssetHolder` edge in the connection. */ -export type AssetHoldersEdge = { - __typename?: 'AssetHoldersEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `AssetHolder` at the end of the edge. */ - node?: Maybe; -}; - -/** Grouping methods for `AssetHolder` for usage during aggregation. */ -export enum AssetHoldersGroupBy { - Amount = 'AMOUNT', - AssetId = 'ASSET_ID', - CreatedAt = 'CREATED_AT', - CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', - CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', - CreatedBlockId = 'CREATED_BLOCK_ID', - IdentityId = 'IDENTITY_ID', - UpdatedAt = 'UPDATED_AT', - UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', - UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export type AssetHoldersHavingAverageInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type AssetHoldersHavingDistinctCountInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Conditions for `AssetHolder` aggregates. */ -export type AssetHoldersHavingInput = { - AND?: InputMaybe>; - OR?: InputMaybe>; - average?: InputMaybe; - distinctCount?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddevPopulation?: InputMaybe; - stddevSample?: InputMaybe; - sum?: InputMaybe; - variancePopulation?: InputMaybe; - varianceSample?: InputMaybe; -}; - -export type AssetHoldersHavingMaxInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type AssetHoldersHavingMinInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type AssetHoldersHavingStddevPopulationInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type AssetHoldersHavingStddevSampleInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type AssetHoldersHavingSumInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type AssetHoldersHavingVariancePopulationInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type AssetHoldersHavingVarianceSampleInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Methods to use when ordering `AssetHolder`. */ -export enum AssetHoldersOrderBy { - AmountAsc = 'AMOUNT_ASC', - AmountDesc = 'AMOUNT_DESC', - AssetIdAsc = 'ASSET_ID_ASC', - AssetIdDesc = 'ASSET_ID_DESC', - CreatedAtAsc = 'CREATED_AT_ASC', - CreatedAtDesc = 'CREATED_AT_DESC', - CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', - CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', - IdentityIdAsc = 'IDENTITY_ID_ASC', - IdentityIdDesc = 'IDENTITY_ID_DESC', - IdAsc = 'ID_ASC', - IdDesc = 'ID_DESC', - Natural = 'NATURAL', - PrimaryKeyAsc = 'PRIMARY_KEY_ASC', - PrimaryKeyDesc = 'PRIMARY_KEY_DESC', - UpdatedAtAsc = 'UPDATED_AT_ASC', - UpdatedAtDesc = 'UPDATED_AT_DESC', - UpdatedBlockIdAsc = 'UPDATED_BLOCK_ID_ASC', - UpdatedBlockIdDesc = 'UPDATED_BLOCK_ID_DESC', -} - -/** A connection to a list of `Identity` values, with data from `AssetHolder`. */ -export type AssetIdentitiesByAssetHolderAssetIdAndIdentityIdManyToManyConnection = { - __typename?: 'AssetIdentitiesByAssetHolderAssetIdAndIdentityIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `AssetHolder`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `AssetHolder`. */ -export type AssetIdentitiesByAssetHolderAssetIdAndIdentityIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `AssetHolder`. */ -export type AssetIdentitiesByAssetHolderAssetIdAndIdentityIdManyToManyEdge = { - __typename?: 'AssetIdentitiesByAssetHolderAssetIdAndIdentityIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `AssetHolder`. */ - heldAssets: AssetHoldersConnection; - /** The `Identity` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Identity` edge in the connection, with data from `AssetHolder`. */ -export type AssetIdentitiesByAssetHolderAssetIdAndIdentityIdManyToManyEdgeHeldAssetsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Identity` values, with data from `Distribution`. */ -export type AssetIdentitiesByDistributionAssetIdAndIdentityIdManyToManyConnection = { - __typename?: 'AssetIdentitiesByDistributionAssetIdAndIdentityIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `Distribution`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `Distribution`. */ -export type AssetIdentitiesByDistributionAssetIdAndIdentityIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `Distribution`. */ -export type AssetIdentitiesByDistributionAssetIdAndIdentityIdManyToManyEdge = { - __typename?: 'AssetIdentitiesByDistributionAssetIdAndIdentityIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `Distribution`. */ - distributions: DistributionsConnection; - /** The `Identity` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Identity` edge in the connection, with data from `Distribution`. */ -export type AssetIdentitiesByDistributionAssetIdAndIdentityIdManyToManyEdgeDistributionsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Identity` values, with data from `NftHolder`. */ -export type AssetIdentitiesByNftHolderAssetIdAndIdentityIdManyToManyConnection = { - __typename?: 'AssetIdentitiesByNftHolderAssetIdAndIdentityIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `NftHolder`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `NftHolder`. */ -export type AssetIdentitiesByNftHolderAssetIdAndIdentityIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `NftHolder`. */ -export type AssetIdentitiesByNftHolderAssetIdAndIdentityIdManyToManyEdge = { - __typename?: 'AssetIdentitiesByNftHolderAssetIdAndIdentityIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `NftHolder`. */ - heldNfts: NftHoldersConnection; - /** The `Identity` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Identity` edge in the connection, with data from `NftHolder`. */ -export type AssetIdentitiesByNftHolderAssetIdAndIdentityIdManyToManyEdgeHeldNftsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Identity` values, with data from `StatType`. */ -export type AssetIdentitiesByStatTypeAssetIdAndClaimIssuerIdManyToManyConnection = { - __typename?: 'AssetIdentitiesByStatTypeAssetIdAndClaimIssuerIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `StatType`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `StatType`. */ -export type AssetIdentitiesByStatTypeAssetIdAndClaimIssuerIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `StatType`. */ -export type AssetIdentitiesByStatTypeAssetIdAndClaimIssuerIdManyToManyEdge = { - __typename?: 'AssetIdentitiesByStatTypeAssetIdAndClaimIssuerIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `StatType`. */ - statTypesByClaimIssuerId: StatTypesConnection; -}; - -/** A `Identity` edge in the connection, with data from `StatType`. */ -export type AssetIdentitiesByStatTypeAssetIdAndClaimIssuerIdManyToManyEdgeStatTypesByClaimIssuerIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Identity` values, with data from `Sto`. */ -export type AssetIdentitiesByStoOfferingAssetIdAndCreatorIdManyToManyConnection = { - __typename?: 'AssetIdentitiesByStoOfferingAssetIdAndCreatorIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `Sto`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `Sto`. */ -export type AssetIdentitiesByStoOfferingAssetIdAndCreatorIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `Sto`. */ -export type AssetIdentitiesByStoOfferingAssetIdAndCreatorIdManyToManyEdge = { - __typename?: 'AssetIdentitiesByStoOfferingAssetIdAndCreatorIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Sto`. */ - stosByCreatorId: StosConnection; -}; - -/** A `Identity` edge in the connection, with data from `Sto`. */ -export type AssetIdentitiesByStoOfferingAssetIdAndCreatorIdManyToManyEdgeStosByCreatorIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Identity` values, with data from `TickerExternalAgentAction`. */ -export type AssetIdentitiesByTickerExternalAgentActionAssetIdAndCallerIdManyToManyConnection = { - __typename?: 'AssetIdentitiesByTickerExternalAgentActionAssetIdAndCallerIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `TickerExternalAgentAction`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `TickerExternalAgentAction`. */ -export type AssetIdentitiesByTickerExternalAgentActionAssetIdAndCallerIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `TickerExternalAgentAction`. */ -export type AssetIdentitiesByTickerExternalAgentActionAssetIdAndCallerIdManyToManyEdge = { - __typename?: 'AssetIdentitiesByTickerExternalAgentActionAssetIdAndCallerIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TickerExternalAgentAction`. */ - tickerExternalAgentActionsByCallerId: TickerExternalAgentActionsConnection; -}; - -/** A `Identity` edge in the connection, with data from `TickerExternalAgentAction`. */ -export type AssetIdentitiesByTickerExternalAgentActionAssetIdAndCallerIdManyToManyEdgeTickerExternalAgentActionsByCallerIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Identity` values, with data from `TickerExternalAgent`. */ -export type AssetIdentitiesByTickerExternalAgentAssetIdAndCallerIdManyToManyConnection = { - __typename?: 'AssetIdentitiesByTickerExternalAgentAssetIdAndCallerIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `TickerExternalAgent`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `TickerExternalAgent`. */ -export type AssetIdentitiesByTickerExternalAgentAssetIdAndCallerIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `TickerExternalAgent`. */ -export type AssetIdentitiesByTickerExternalAgentAssetIdAndCallerIdManyToManyEdge = { - __typename?: 'AssetIdentitiesByTickerExternalAgentAssetIdAndCallerIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TickerExternalAgent`. */ - tickerExternalAgentsByCallerId: TickerExternalAgentsConnection; -}; - -/** A `Identity` edge in the connection, with data from `TickerExternalAgent`. */ -export type AssetIdentitiesByTickerExternalAgentAssetIdAndCallerIdManyToManyEdgeTickerExternalAgentsByCallerIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Identity` values, with data from `TickerExternalAgentHistory`. */ -export type AssetIdentitiesByTickerExternalAgentHistoryAssetIdAndIdentityIdManyToManyConnection = { - __typename?: 'AssetIdentitiesByTickerExternalAgentHistoryAssetIdAndIdentityIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `TickerExternalAgentHistory`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `TickerExternalAgentHistory`. */ -export type AssetIdentitiesByTickerExternalAgentHistoryAssetIdAndIdentityIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `TickerExternalAgentHistory`. */ -export type AssetIdentitiesByTickerExternalAgentHistoryAssetIdAndIdentityIdManyToManyEdge = { - __typename?: 'AssetIdentitiesByTickerExternalAgentHistoryAssetIdAndIdentityIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TickerExternalAgentHistory`. */ - tickerExternalAgentHistories: TickerExternalAgentHistoriesConnection; -}; - -/** A `Identity` edge in the connection, with data from `TickerExternalAgentHistory`. */ -export type AssetIdentitiesByTickerExternalAgentHistoryAssetIdAndIdentityIdManyToManyEdgeTickerExternalAgentHistoriesArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Identity` values, with data from `TransferCompliance`. */ -export type AssetIdentitiesByTransferComplianceAssetIdAndClaimIssuerIdManyToManyConnection = { - __typename?: 'AssetIdentitiesByTransferComplianceAssetIdAndClaimIssuerIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `TransferCompliance`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `TransferCompliance`. */ -export type AssetIdentitiesByTransferComplianceAssetIdAndClaimIssuerIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `TransferCompliance`. */ -export type AssetIdentitiesByTransferComplianceAssetIdAndClaimIssuerIdManyToManyEdge = { - __typename?: 'AssetIdentitiesByTransferComplianceAssetIdAndClaimIssuerIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TransferCompliance`. */ - transferCompliancesByClaimIssuerId: TransferCompliancesConnection; -}; - -/** A `Identity` edge in the connection, with data from `TransferCompliance`. */ -export type AssetIdentitiesByTransferComplianceAssetIdAndClaimIssuerIdManyToManyEdgeTransferCompliancesByClaimIssuerIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Instruction` values, with data from `AssetTransaction`. */ -export type AssetInstructionsByAssetTransactionAssetIdAndInstructionIdManyToManyConnection = { - __typename?: 'AssetInstructionsByAssetTransactionAssetIdAndInstructionIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Instruction`, info from the `AssetTransaction`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Instruction` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Instruction` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Instruction` values, with data from `AssetTransaction`. */ -export type AssetInstructionsByAssetTransactionAssetIdAndInstructionIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Instruction` edge in the connection, with data from `AssetTransaction`. */ -export type AssetInstructionsByAssetTransactionAssetIdAndInstructionIdManyToManyEdge = { - __typename?: 'AssetInstructionsByAssetTransactionAssetIdAndInstructionIdManyToManyEdge'; - /** Reads and enables pagination through a set of `AssetTransaction`. */ - assetTransactions: AssetTransactionsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Instruction` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Instruction` edge in the connection, with data from `AssetTransaction`. */ -export type AssetInstructionsByAssetTransactionAssetIdAndInstructionIdManyToManyEdgeAssetTransactionsArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -export type AssetMaxAggregateFilter = { - eventIdx?: InputMaybe; - totalSupply?: InputMaybe; - totalTransfers?: InputMaybe; -}; - -export type AssetMaxAggregates = { - __typename?: 'AssetMaxAggregates'; - /** Maximum of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Maximum of totalSupply across the matching connection */ - totalSupply?: Maybe; - /** Maximum of totalTransfers across the matching connection */ - totalTransfers?: Maybe; -}; - -export type AssetMinAggregateFilter = { - eventIdx?: InputMaybe; - totalSupply?: InputMaybe; - totalTransfers?: InputMaybe; -}; - -export type AssetMinAggregates = { - __typename?: 'AssetMinAggregates'; - /** Minimum of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Minimum of totalSupply across the matching connection */ - totalSupply?: Maybe; - /** Minimum of totalTransfers across the matching connection */ - totalTransfers?: Maybe; -}; - -/** Represents a request to take ownership of a particular Asset */ -export type AssetPendingOwnershipTransfer = Node & { - __typename?: 'AssetPendingOwnershipTransfer'; - createdAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `AssetPendingOwnershipTransfer`. */ - createdBlock?: Maybe; - createdBlockId: Scalars['String']['output']; - data?: Maybe; - from: Scalars['String']['output']; - id: Scalars['String']['output']; - /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ - nodeId: Scalars['ID']['output']; - ticker: Scalars['String']['output']; - to: Scalars['String']['output']; - type: Scalars['String']['output']; - updatedAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `AssetPendingOwnershipTransfer`. */ - updatedBlock?: Maybe; - updatedBlockId: Scalars['String']['output']; -}; - -export type AssetPendingOwnershipTransferAggregates = { - __typename?: 'AssetPendingOwnershipTransferAggregates'; - /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ - distinctCount?: Maybe; - keys?: Maybe>; -}; - -/** A filter to be used against aggregates of `AssetPendingOwnershipTransfer` object types. */ -export type AssetPendingOwnershipTransferAggregatesFilter = { - /** Distinct count aggregate over matching `AssetPendingOwnershipTransfer` objects. */ - distinctCount?: InputMaybe; - /** A filter that must pass for the relevant `AssetPendingOwnershipTransfer` object to be included within the aggregate. */ - filter?: InputMaybe; -}; - -export type AssetPendingOwnershipTransferDistinctCountAggregateFilter = { - createdAt?: InputMaybe; - createdBlockId?: InputMaybe; - data?: InputMaybe; - from?: InputMaybe; - id?: InputMaybe; - ticker?: InputMaybe; - to?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; - updatedBlockId?: InputMaybe; -}; - -export type AssetPendingOwnershipTransferDistinctCountAggregates = { - __typename?: 'AssetPendingOwnershipTransferDistinctCountAggregates'; - /** Distinct count of createdAt across the matching connection */ - createdAt?: Maybe; - /** Distinct count of createdBlockId across the matching connection */ - createdBlockId?: Maybe; - /** Distinct count of data across the matching connection */ - data?: Maybe; - /** Distinct count of from across the matching connection */ - from?: Maybe; - /** Distinct count of id across the matching connection */ - id?: Maybe; - /** Distinct count of ticker across the matching connection */ - ticker?: Maybe; - /** Distinct count of to across the matching connection */ - to?: Maybe; - /** Distinct count of type across the matching connection */ - type?: Maybe; - /** Distinct count of updatedAt across the matching connection */ - updatedAt?: Maybe; - /** Distinct count of updatedBlockId across the matching connection */ - updatedBlockId?: Maybe; -}; - -/** A filter to be used against `AssetPendingOwnershipTransfer` object types. All fields are combined with a logical ‘and.’ */ -export type AssetPendingOwnershipTransferFilter = { - /** Checks for all expressions in this list. */ - and?: InputMaybe>; - /** Filter by the object’s `createdAt` field. */ - createdAt?: InputMaybe; - /** Filter by the object’s `createdBlock` relation. */ - createdBlock?: InputMaybe; - /** Filter by the object’s `createdBlockId` field. */ - createdBlockId?: InputMaybe; - /** Filter by the object’s `data` field. */ - data?: InputMaybe; - /** Filter by the object’s `from` field. */ - from?: InputMaybe; - /** Filter by the object’s `id` field. */ - id?: InputMaybe; - /** Negates the expression. */ - not?: InputMaybe; - /** Checks for any expressions in this list. */ - or?: InputMaybe>; - /** Filter by the object’s `ticker` field. */ - ticker?: InputMaybe; - /** Filter by the object’s `to` field. */ - to?: InputMaybe; - /** Filter by the object’s `type` field. */ - type?: InputMaybe; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: InputMaybe; - /** Filter by the object’s `updatedBlock` relation. */ - updatedBlock?: InputMaybe; - /** Filter by the object’s `updatedBlockId` field. */ - updatedBlockId?: InputMaybe; -}; - -/** A connection to a list of `AssetPendingOwnershipTransfer` values. */ -export type AssetPendingOwnershipTransfersConnection = { - __typename?: 'AssetPendingOwnershipTransfersConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `AssetPendingOwnershipTransfer` and cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `AssetPendingOwnershipTransfer` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `AssetPendingOwnershipTransfer` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `AssetPendingOwnershipTransfer` values. */ -export type AssetPendingOwnershipTransfersConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `AssetPendingOwnershipTransfer` edge in the connection. */ -export type AssetPendingOwnershipTransfersEdge = { - __typename?: 'AssetPendingOwnershipTransfersEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `AssetPendingOwnershipTransfer` at the end of the edge. */ - node?: Maybe; -}; - -/** Grouping methods for `AssetPendingOwnershipTransfer` for usage during aggregation. */ -export enum AssetPendingOwnershipTransfersGroupBy { - CreatedAt = 'CREATED_AT', - CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', - CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', - CreatedBlockId = 'CREATED_BLOCK_ID', - Data = 'DATA', - From = 'FROM', - Ticker = 'TICKER', - To = 'TO', - Type = 'TYPE', - UpdatedAt = 'UPDATED_AT', - UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', - UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export type AssetPendingOwnershipTransfersHavingAverageInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type AssetPendingOwnershipTransfersHavingDistinctCountInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Conditions for `AssetPendingOwnershipTransfer` aggregates. */ -export type AssetPendingOwnershipTransfersHavingInput = { - AND?: InputMaybe>; - OR?: InputMaybe>; - average?: InputMaybe; - distinctCount?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddevPopulation?: InputMaybe; - stddevSample?: InputMaybe; - sum?: InputMaybe; - variancePopulation?: InputMaybe; - varianceSample?: InputMaybe; -}; - -export type AssetPendingOwnershipTransfersHavingMaxInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type AssetPendingOwnershipTransfersHavingMinInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type AssetPendingOwnershipTransfersHavingStddevPopulationInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type AssetPendingOwnershipTransfersHavingStddevSampleInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type AssetPendingOwnershipTransfersHavingSumInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type AssetPendingOwnershipTransfersHavingVariancePopulationInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type AssetPendingOwnershipTransfersHavingVarianceSampleInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Methods to use when ordering `AssetPendingOwnershipTransfer`. */ -export enum AssetPendingOwnershipTransfersOrderBy { - CreatedAtAsc = 'CREATED_AT_ASC', - CreatedAtDesc = 'CREATED_AT_DESC', - CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', - CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', - DataAsc = 'DATA_ASC', - DataDesc = 'DATA_DESC', - FromAsc = 'FROM_ASC', - FromDesc = 'FROM_DESC', - IdAsc = 'ID_ASC', - IdDesc = 'ID_DESC', - Natural = 'NATURAL', - PrimaryKeyAsc = 'PRIMARY_KEY_ASC', - PrimaryKeyDesc = 'PRIMARY_KEY_DESC', - TickerAsc = 'TICKER_ASC', - TickerDesc = 'TICKER_DESC', - ToAsc = 'TO_ASC', - ToDesc = 'TO_DESC', - TypeAsc = 'TYPE_ASC', - TypeDesc = 'TYPE_DESC', - UpdatedAtAsc = 'UPDATED_AT_ASC', - UpdatedAtDesc = 'UPDATED_AT_DESC', - UpdatedBlockIdAsc = 'UPDATED_BLOCK_ID_ASC', - UpdatedBlockIdDesc = 'UPDATED_BLOCK_ID_DESC', -} - -/** A connection to a list of `Portfolio` values, with data from `AssetTransaction`. */ -export type AssetPortfoliosByAssetTransactionAssetIdAndFromPortfolioIdManyToManyConnection = { - __typename?: 'AssetPortfoliosByAssetTransactionAssetIdAndFromPortfolioIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Portfolio`, info from the `AssetTransaction`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Portfolio` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Portfolio` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Portfolio` values, with data from `AssetTransaction`. */ -export type AssetPortfoliosByAssetTransactionAssetIdAndFromPortfolioIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Portfolio` edge in the connection, with data from `AssetTransaction`. */ -export type AssetPortfoliosByAssetTransactionAssetIdAndFromPortfolioIdManyToManyEdge = { - __typename?: 'AssetPortfoliosByAssetTransactionAssetIdAndFromPortfolioIdManyToManyEdge'; - /** Reads and enables pagination through a set of `AssetTransaction`. */ - assetTransactionsByFromPortfolioId: AssetTransactionsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Portfolio` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Portfolio` edge in the connection, with data from `AssetTransaction`. */ -export type AssetPortfoliosByAssetTransactionAssetIdAndFromPortfolioIdManyToManyEdgeAssetTransactionsByFromPortfolioIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Portfolio` values, with data from `AssetTransaction`. */ -export type AssetPortfoliosByAssetTransactionAssetIdAndToPortfolioIdManyToManyConnection = { - __typename?: 'AssetPortfoliosByAssetTransactionAssetIdAndToPortfolioIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Portfolio`, info from the `AssetTransaction`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Portfolio` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Portfolio` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Portfolio` values, with data from `AssetTransaction`. */ -export type AssetPortfoliosByAssetTransactionAssetIdAndToPortfolioIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Portfolio` edge in the connection, with data from `AssetTransaction`. */ -export type AssetPortfoliosByAssetTransactionAssetIdAndToPortfolioIdManyToManyEdge = { - __typename?: 'AssetPortfoliosByAssetTransactionAssetIdAndToPortfolioIdManyToManyEdge'; - /** Reads and enables pagination through a set of `AssetTransaction`. */ - assetTransactionsByToPortfolioId: AssetTransactionsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Portfolio` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Portfolio` edge in the connection, with data from `AssetTransaction`. */ -export type AssetPortfoliosByAssetTransactionAssetIdAndToPortfolioIdManyToManyEdgeAssetTransactionsByToPortfolioIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Portfolio` values, with data from `Distribution`. */ -export type AssetPortfoliosByDistributionAssetIdAndPortfolioIdManyToManyConnection = { - __typename?: 'AssetPortfoliosByDistributionAssetIdAndPortfolioIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Portfolio`, info from the `Distribution`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Portfolio` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Portfolio` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Portfolio` values, with data from `Distribution`. */ -export type AssetPortfoliosByDistributionAssetIdAndPortfolioIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Portfolio` edge in the connection, with data from `Distribution`. */ -export type AssetPortfoliosByDistributionAssetIdAndPortfolioIdManyToManyEdge = { - __typename?: 'AssetPortfoliosByDistributionAssetIdAndPortfolioIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `Distribution`. */ - distributions: DistributionsConnection; - /** The `Portfolio` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Portfolio` edge in the connection, with data from `Distribution`. */ -export type AssetPortfoliosByDistributionAssetIdAndPortfolioIdManyToManyEdgeDistributionsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Portfolio` values, with data from `PortfolioMovement`. */ -export type AssetPortfoliosByPortfolioMovementAssetIdAndFromIdManyToManyConnection = { - __typename?: 'AssetPortfoliosByPortfolioMovementAssetIdAndFromIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Portfolio`, info from the `PortfolioMovement`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Portfolio` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Portfolio` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Portfolio` values, with data from `PortfolioMovement`. */ -export type AssetPortfoliosByPortfolioMovementAssetIdAndFromIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Portfolio` edge in the connection, with data from `PortfolioMovement`. */ -export type AssetPortfoliosByPortfolioMovementAssetIdAndFromIdManyToManyEdge = { - __typename?: 'AssetPortfoliosByPortfolioMovementAssetIdAndFromIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Portfolio` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `PortfolioMovement`. */ - portfolioMovementsByFromId: PortfolioMovementsConnection; -}; - -/** A `Portfolio` edge in the connection, with data from `PortfolioMovement`. */ -export type AssetPortfoliosByPortfolioMovementAssetIdAndFromIdManyToManyEdgePortfolioMovementsByFromIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Portfolio` values, with data from `PortfolioMovement`. */ -export type AssetPortfoliosByPortfolioMovementAssetIdAndToIdManyToManyConnection = { - __typename?: 'AssetPortfoliosByPortfolioMovementAssetIdAndToIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Portfolio`, info from the `PortfolioMovement`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Portfolio` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Portfolio` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Portfolio` values, with data from `PortfolioMovement`. */ -export type AssetPortfoliosByPortfolioMovementAssetIdAndToIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Portfolio` edge in the connection, with data from `PortfolioMovement`. */ -export type AssetPortfoliosByPortfolioMovementAssetIdAndToIdManyToManyEdge = { - __typename?: 'AssetPortfoliosByPortfolioMovementAssetIdAndToIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Portfolio` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `PortfolioMovement`. */ - portfolioMovementsByToId: PortfolioMovementsConnection; -}; - -/** A `Portfolio` edge in the connection, with data from `PortfolioMovement`. */ -export type AssetPortfoliosByPortfolioMovementAssetIdAndToIdManyToManyEdgePortfolioMovementsByToIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Portfolio` values, with data from `Sto`. */ -export type AssetPortfoliosByStoOfferingAssetIdAndOfferingPortfolioIdManyToManyConnection = { - __typename?: 'AssetPortfoliosByStoOfferingAssetIdAndOfferingPortfolioIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Portfolio`, info from the `Sto`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Portfolio` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Portfolio` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Portfolio` values, with data from `Sto`. */ -export type AssetPortfoliosByStoOfferingAssetIdAndOfferingPortfolioIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Portfolio` edge in the connection, with data from `Sto`. */ -export type AssetPortfoliosByStoOfferingAssetIdAndOfferingPortfolioIdManyToManyEdge = { - __typename?: 'AssetPortfoliosByStoOfferingAssetIdAndOfferingPortfolioIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Portfolio` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Sto`. */ - stosByOfferingPortfolioId: StosConnection; -}; - -/** A `Portfolio` edge in the connection, with data from `Sto`. */ -export type AssetPortfoliosByStoOfferingAssetIdAndOfferingPortfolioIdManyToManyEdgeStosByOfferingPortfolioIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Portfolio` values, with data from `Sto`. */ -export type AssetPortfoliosByStoOfferingAssetIdAndRaisingPortfolioIdManyToManyConnection = { - __typename?: 'AssetPortfoliosByStoOfferingAssetIdAndRaisingPortfolioIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Portfolio`, info from the `Sto`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Portfolio` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Portfolio` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Portfolio` values, with data from `Sto`. */ -export type AssetPortfoliosByStoOfferingAssetIdAndRaisingPortfolioIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Portfolio` edge in the connection, with data from `Sto`. */ -export type AssetPortfoliosByStoOfferingAssetIdAndRaisingPortfolioIdManyToManyEdge = { - __typename?: 'AssetPortfoliosByStoOfferingAssetIdAndRaisingPortfolioIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Portfolio` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Sto`. */ - stosByRaisingPortfolioId: StosConnection; -}; - -/** A `Portfolio` edge in the connection, with data from `Sto`. */ -export type AssetPortfoliosByStoOfferingAssetIdAndRaisingPortfolioIdManyToManyEdgeStosByRaisingPortfolioIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `StatType` values, with data from `TransferCompliance`. */ -export type AssetStatTypesByTransferComplianceAssetIdAndStatTypeIdManyToManyConnection = { - __typename?: 'AssetStatTypesByTransferComplianceAssetIdAndStatTypeIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `StatType`, info from the `TransferCompliance`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `StatType` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `StatType` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `StatType` values, with data from `TransferCompliance`. */ -export type AssetStatTypesByTransferComplianceAssetIdAndStatTypeIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `StatType` edge in the connection, with data from `TransferCompliance`. */ -export type AssetStatTypesByTransferComplianceAssetIdAndStatTypeIdManyToManyEdge = { - __typename?: 'AssetStatTypesByTransferComplianceAssetIdAndStatTypeIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `StatType` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TransferCompliance`. */ - transferCompliances: TransferCompliancesConnection; -}; - -/** A `StatType` edge in the connection, with data from `TransferCompliance`. */ -export type AssetStatTypesByTransferComplianceAssetIdAndStatTypeIdManyToManyEdgeTransferCompliancesArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -export type AssetStddevPopulationAggregateFilter = { - eventIdx?: InputMaybe; - totalSupply?: InputMaybe; - totalTransfers?: InputMaybe; -}; - -export type AssetStddevPopulationAggregates = { - __typename?: 'AssetStddevPopulationAggregates'; - /** Population standard deviation of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Population standard deviation of totalSupply across the matching connection */ - totalSupply?: Maybe; - /** Population standard deviation of totalTransfers across the matching connection */ - totalTransfers?: Maybe; -}; - -export type AssetStddevSampleAggregateFilter = { - eventIdx?: InputMaybe; - totalSupply?: InputMaybe; - totalTransfers?: InputMaybe; -}; - -export type AssetStddevSampleAggregates = { - __typename?: 'AssetStddevSampleAggregates'; - /** Sample standard deviation of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Sample standard deviation of totalSupply across the matching connection */ - totalSupply?: Maybe; - /** Sample standard deviation of totalTransfers across the matching connection */ - totalTransfers?: Maybe; -}; - -export type AssetSumAggregateFilter = { - eventIdx?: InputMaybe; - totalSupply?: InputMaybe; - totalTransfers?: InputMaybe; -}; - -export type AssetSumAggregates = { - __typename?: 'AssetSumAggregates'; - /** Sum of eventIdx across the matching connection */ - eventIdx: Scalars['BigInt']['output']; - /** Sum of totalSupply across the matching connection */ - totalSupply: Scalars['BigFloat']['output']; - /** Sum of totalTransfers across the matching connection */ - totalTransfers: Scalars['BigFloat']['output']; -}; - -/** A filter to be used against many `AssetDocument` object types. All fields are combined with a logical ‘and.’ */ -export type AssetToManyAssetDocumentFilter = { - /** Aggregates across related `AssetDocument` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `AssetDocument` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `AssetDocument` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `AssetDocument` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `AssetHolder` object types. All fields are combined with a logical ‘and.’ */ -export type AssetToManyAssetHolderFilter = { - /** Aggregates across related `AssetHolder` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `AssetHolder` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `AssetHolder` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `AssetHolder` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `AssetTransaction` object types. All fields are combined with a logical ‘and.’ */ -export type AssetToManyAssetTransactionFilter = { - /** Aggregates across related `AssetTransaction` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `AssetTransaction` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `AssetTransaction` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `AssetTransaction` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `Compliance` object types. All fields are combined with a logical ‘and.’ */ -export type AssetToManyComplianceFilter = { - /** Aggregates across related `Compliance` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `Compliance` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `Compliance` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `Compliance` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `Distribution` object types. All fields are combined with a logical ‘and.’ */ -export type AssetToManyDistributionFilter = { - /** Aggregates across related `Distribution` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `Distribution` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `Distribution` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `Distribution` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `Funding` object types. All fields are combined with a logical ‘and.’ */ -export type AssetToManyFundingFilter = { - /** Aggregates across related `Funding` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `Funding` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `Funding` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `Funding` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `NftHolder` object types. All fields are combined with a logical ‘and.’ */ -export type AssetToManyNftHolderFilter = { - /** Aggregates across related `NftHolder` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `NftHolder` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `NftHolder` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `NftHolder` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `PortfolioMovement` object types. All fields are combined with a logical ‘and.’ */ -export type AssetToManyPortfolioMovementFilter = { - /** Aggregates across related `PortfolioMovement` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `PortfolioMovement` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `PortfolioMovement` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `PortfolioMovement` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `StatType` object types. All fields are combined with a logical ‘and.’ */ -export type AssetToManyStatTypeFilter = { - /** Aggregates across related `StatType` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `StatType` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `StatType` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `StatType` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `Sto` object types. All fields are combined with a logical ‘and.’ */ -export type AssetToManyStoFilter = { - /** Aggregates across related `Sto` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `Sto` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `Sto` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `Sto` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `TickerExternalAgentAction` object types. All fields are combined with a logical ‘and.’ */ -export type AssetToManyTickerExternalAgentActionFilter = { - /** Aggregates across related `TickerExternalAgentAction` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `TickerExternalAgentAction` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `TickerExternalAgentAction` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `TickerExternalAgentAction` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `TickerExternalAgent` object types. All fields are combined with a logical ‘and.’ */ -export type AssetToManyTickerExternalAgentFilter = { - /** Aggregates across related `TickerExternalAgent` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `TickerExternalAgent` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `TickerExternalAgent` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `TickerExternalAgent` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `TickerExternalAgentHistory` object types. All fields are combined with a logical ‘and.’ */ -export type AssetToManyTickerExternalAgentHistoryFilter = { - /** Aggregates across related `TickerExternalAgentHistory` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `TickerExternalAgentHistory` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `TickerExternalAgentHistory` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `TickerExternalAgentHistory` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `TransferComplianceExemption` object types. All fields are combined with a logical ‘and.’ */ -export type AssetToManyTransferComplianceExemptionFilter = { - /** Aggregates across related `TransferComplianceExemption` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `TransferComplianceExemption` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `TransferComplianceExemption` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `TransferComplianceExemption` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `TransferCompliance` object types. All fields are combined with a logical ‘and.’ */ -export type AssetToManyTransferComplianceFilter = { - /** Aggregates across related `TransferCompliance` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `TransferCompliance` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `TransferCompliance` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `TransferCompliance` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `TransferManager` object types. All fields are combined with a logical ‘and.’ */ -export type AssetToManyTransferManagerFilter = { - /** Aggregates across related `TransferManager` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `TransferManager` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `TransferManager` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `TransferManager` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `TrustedClaimIssuer` object types. All fields are combined with a logical ‘and.’ */ -export type AssetToManyTrustedClaimIssuerFilter = { - /** Aggregates across related `TrustedClaimIssuer` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `TrustedClaimIssuer` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `TrustedClaimIssuer` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `TrustedClaimIssuer` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** Represents all the transactions related to an Asset */ -export type AssetTransaction = Node & { - __typename?: 'AssetTransaction'; - /** `amount` is the number of fungible tokens involved in this transaction */ - amount?: Maybe; - /** Reads a single `Asset` that is related to this `AssetTransaction`. */ - asset?: Maybe; - assetId: Scalars['String']['output']; - createdAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `AssetTransaction`. */ - createdBlock?: Maybe; - createdBlockId: Scalars['String']['output']; - datetime: Scalars['Datetime']['output']; - eventId: EventIdEnum; - eventIdx: Scalars['Int']['output']; - /** `extrinsicIdx` will be null for scheduled transactions */ - extrinsicIdx?: Maybe; - /** Reads a single `Portfolio` that is related to this `AssetTransaction`. */ - fromPortfolio?: Maybe; - /** `fromPortfolioId` will be null in transactions where the Asset was issued */ - fromPortfolioId?: Maybe; - /** `fundingRound` will only be present for the cases where Assets are issued with a fundingRound name */ - fundingRound?: Maybe; - id: Scalars['String']['output']; - /** Reads a single `Instruction` that is related to this `AssetTransaction`. */ - instruction?: Maybe; - /** `instruction` will only be present for the cases where Assets are transferred once instruction is executed */ - instructionId?: Maybe; - /** `instructionMemo` will only be present for the cases where memo is provided for the instruction which got executed */ - instructionMemo?: Maybe; - /** `nftIds` are the IDs of the non-fungible tokens involved in this transaction */ - nftIds?: Maybe; - /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ - nodeId: Scalars['ID']['output']; - /** Reads a single `Portfolio` that is related to this `AssetTransaction`. */ - toPortfolio?: Maybe; - /** `toPortfolioId` will be null in transactions where the Asset was redeemed */ - toPortfolioId?: Maybe; - updatedAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `AssetTransaction`. */ - updatedBlock?: Maybe; - updatedBlockId: Scalars['String']['output']; -}; - -export type AssetTransactionAggregates = { - __typename?: 'AssetTransactionAggregates'; - /** Mean average aggregates across the matching connection (ignoring before/after/first/last/offset) */ - average?: Maybe; - /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ - distinctCount?: Maybe; - keys?: Maybe>; - /** Maximum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - max?: Maybe; - /** Minimum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - min?: Maybe; - /** Population standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevPopulation?: Maybe; - /** Sample standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevSample?: Maybe; - /** Sum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - sum?: Maybe; - /** Population variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - variancePopulation?: Maybe; - /** Sample variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - varianceSample?: Maybe; -}; - -/** A filter to be used against aggregates of `AssetTransaction` object types. */ -export type AssetTransactionAggregatesFilter = { - /** Mean average aggregate over matching `AssetTransaction` objects. */ - average?: InputMaybe; - /** Distinct count aggregate over matching `AssetTransaction` objects. */ - distinctCount?: InputMaybe; - /** A filter that must pass for the relevant `AssetTransaction` object to be included within the aggregate. */ - filter?: InputMaybe; - /** Maximum aggregate over matching `AssetTransaction` objects. */ - max?: InputMaybe; - /** Minimum aggregate over matching `AssetTransaction` objects. */ - min?: InputMaybe; - /** Population standard deviation aggregate over matching `AssetTransaction` objects. */ - stddevPopulation?: InputMaybe; - /** Sample standard deviation aggregate over matching `AssetTransaction` objects. */ - stddevSample?: InputMaybe; - /** Sum aggregate over matching `AssetTransaction` objects. */ - sum?: InputMaybe; - /** Population variance aggregate over matching `AssetTransaction` objects. */ - variancePopulation?: InputMaybe; - /** Sample variance aggregate over matching `AssetTransaction` objects. */ - varianceSample?: InputMaybe; -}; - -export type AssetTransactionAverageAggregateFilter = { - amount?: InputMaybe; - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; -}; - -export type AssetTransactionAverageAggregates = { - __typename?: 'AssetTransactionAverageAggregates'; - /** Mean average of amount across the matching connection */ - amount?: Maybe; - /** Mean average of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Mean average of extrinsicIdx across the matching connection */ - extrinsicIdx?: Maybe; -}; - -export type AssetTransactionDistinctCountAggregateFilter = { - amount?: InputMaybe; - assetId?: InputMaybe; - createdAt?: InputMaybe; - createdBlockId?: InputMaybe; - datetime?: InputMaybe; - eventId?: InputMaybe; - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; - fromPortfolioId?: InputMaybe; - fundingRound?: InputMaybe; - id?: InputMaybe; - instructionId?: InputMaybe; - instructionMemo?: InputMaybe; - nftIds?: InputMaybe; - toPortfolioId?: InputMaybe; - updatedAt?: InputMaybe; - updatedBlockId?: InputMaybe; -}; - -export type AssetTransactionDistinctCountAggregates = { - __typename?: 'AssetTransactionDistinctCountAggregates'; - /** Distinct count of amount across the matching connection */ - amount?: Maybe; - /** Distinct count of assetId across the matching connection */ - assetId?: Maybe; - /** Distinct count of createdAt across the matching connection */ - createdAt?: Maybe; - /** Distinct count of createdBlockId across the matching connection */ - createdBlockId?: Maybe; - /** Distinct count of datetime across the matching connection */ - datetime?: Maybe; - /** Distinct count of eventId across the matching connection */ - eventId?: Maybe; - /** Distinct count of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Distinct count of extrinsicIdx across the matching connection */ - extrinsicIdx?: Maybe; - /** Distinct count of fromPortfolioId across the matching connection */ - fromPortfolioId?: Maybe; - /** Distinct count of fundingRound across the matching connection */ - fundingRound?: Maybe; - /** Distinct count of id across the matching connection */ - id?: Maybe; - /** Distinct count of instructionId across the matching connection */ - instructionId?: Maybe; - /** Distinct count of instructionMemo across the matching connection */ - instructionMemo?: Maybe; - /** Distinct count of nftIds across the matching connection */ - nftIds?: Maybe; - /** Distinct count of toPortfolioId across the matching connection */ - toPortfolioId?: Maybe; - /** Distinct count of updatedAt across the matching connection */ - updatedAt?: Maybe; - /** Distinct count of updatedBlockId across the matching connection */ - updatedBlockId?: Maybe; -}; - -/** A filter to be used against `AssetTransaction` object types. All fields are combined with a logical ‘and.’ */ -export type AssetTransactionFilter = { - /** Filter by the object’s `amount` field. */ - amount?: InputMaybe; - /** Checks for all expressions in this list. */ - and?: InputMaybe>; - /** Filter by the object’s `asset` relation. */ - asset?: InputMaybe; - /** Filter by the object’s `assetId` field. */ - assetId?: InputMaybe; - /** Filter by the object’s `createdAt` field. */ - createdAt?: InputMaybe; - /** Filter by the object’s `createdBlock` relation. */ - createdBlock?: InputMaybe; - /** Filter by the object’s `createdBlockId` field. */ - createdBlockId?: InputMaybe; - /** Filter by the object’s `datetime` field. */ - datetime?: InputMaybe; - /** Filter by the object’s `eventId` field. */ - eventId?: InputMaybe; - /** Filter by the object’s `eventIdx` field. */ - eventIdx?: InputMaybe; - /** Filter by the object’s `extrinsicIdx` field. */ - extrinsicIdx?: InputMaybe; - /** Filter by the object’s `fromPortfolio` relation. */ - fromPortfolio?: InputMaybe; - /** A related `fromPortfolio` exists. */ - fromPortfolioExists?: InputMaybe; - /** Filter by the object’s `fromPortfolioId` field. */ - fromPortfolioId?: InputMaybe; - /** Filter by the object’s `fundingRound` field. */ - fundingRound?: InputMaybe; - /** Filter by the object’s `id` field. */ - id?: InputMaybe; - /** Filter by the object’s `instruction` relation. */ - instruction?: InputMaybe; - /** A related `instruction` exists. */ - instructionExists?: InputMaybe; - /** Filter by the object’s `instructionId` field. */ - instructionId?: InputMaybe; - /** Filter by the object’s `instructionMemo` field. */ - instructionMemo?: InputMaybe; - /** Filter by the object’s `nftIds` field. */ - nftIds?: InputMaybe; - /** Negates the expression. */ - not?: InputMaybe; - /** Checks for any expressions in this list. */ - or?: InputMaybe>; - /** Filter by the object’s `toPortfolio` relation. */ - toPortfolio?: InputMaybe; - /** A related `toPortfolio` exists. */ - toPortfolioExists?: InputMaybe; - /** Filter by the object’s `toPortfolioId` field. */ - toPortfolioId?: InputMaybe; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: InputMaybe; - /** Filter by the object’s `updatedBlock` relation. */ - updatedBlock?: InputMaybe; - /** Filter by the object’s `updatedBlockId` field. */ - updatedBlockId?: InputMaybe; -}; - -export type AssetTransactionMaxAggregateFilter = { - amount?: InputMaybe; - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; -}; - -export type AssetTransactionMaxAggregates = { - __typename?: 'AssetTransactionMaxAggregates'; - /** Maximum of amount across the matching connection */ - amount?: Maybe; - /** Maximum of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Maximum of extrinsicIdx across the matching connection */ - extrinsicIdx?: Maybe; -}; - -export type AssetTransactionMinAggregateFilter = { - amount?: InputMaybe; - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; -}; - -export type AssetTransactionMinAggregates = { - __typename?: 'AssetTransactionMinAggregates'; - /** Minimum of amount across the matching connection */ - amount?: Maybe; - /** Minimum of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Minimum of extrinsicIdx across the matching connection */ - extrinsicIdx?: Maybe; -}; - -export type AssetTransactionStddevPopulationAggregateFilter = { - amount?: InputMaybe; - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; -}; - -export type AssetTransactionStddevPopulationAggregates = { - __typename?: 'AssetTransactionStddevPopulationAggregates'; - /** Population standard deviation of amount across the matching connection */ - amount?: Maybe; - /** Population standard deviation of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Population standard deviation of extrinsicIdx across the matching connection */ - extrinsicIdx?: Maybe; -}; - -export type AssetTransactionStddevSampleAggregateFilter = { - amount?: InputMaybe; - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; -}; - -export type AssetTransactionStddevSampleAggregates = { - __typename?: 'AssetTransactionStddevSampleAggregates'; - /** Sample standard deviation of amount across the matching connection */ - amount?: Maybe; - /** Sample standard deviation of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Sample standard deviation of extrinsicIdx across the matching connection */ - extrinsicIdx?: Maybe; -}; - -export type AssetTransactionSumAggregateFilter = { - amount?: InputMaybe; - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; -}; - -export type AssetTransactionSumAggregates = { - __typename?: 'AssetTransactionSumAggregates'; - /** Sum of amount across the matching connection */ - amount: Scalars['BigFloat']['output']; - /** Sum of eventIdx across the matching connection */ - eventIdx: Scalars['BigInt']['output']; - /** Sum of extrinsicIdx across the matching connection */ - extrinsicIdx: Scalars['BigInt']['output']; -}; - -export type AssetTransactionVariancePopulationAggregateFilter = { - amount?: InputMaybe; - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; -}; - -export type AssetTransactionVariancePopulationAggregates = { - __typename?: 'AssetTransactionVariancePopulationAggregates'; - /** Population variance of amount across the matching connection */ - amount?: Maybe; - /** Population variance of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Population variance of extrinsicIdx across the matching connection */ - extrinsicIdx?: Maybe; -}; - -export type AssetTransactionVarianceSampleAggregateFilter = { - amount?: InputMaybe; - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; -}; - -export type AssetTransactionVarianceSampleAggregates = { - __typename?: 'AssetTransactionVarianceSampleAggregates'; - /** Sample variance of amount across the matching connection */ - amount?: Maybe; - /** Sample variance of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Sample variance of extrinsicIdx across the matching connection */ - extrinsicIdx?: Maybe; -}; - -/** A connection to a list of `AssetTransaction` values. */ -export type AssetTransactionsConnection = { - __typename?: 'AssetTransactionsConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `AssetTransaction` and cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `AssetTransaction` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `AssetTransaction` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `AssetTransaction` values. */ -export type AssetTransactionsConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `AssetTransaction` edge in the connection. */ -export type AssetTransactionsEdge = { - __typename?: 'AssetTransactionsEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `AssetTransaction` at the end of the edge. */ - node?: Maybe; -}; - -/** Grouping methods for `AssetTransaction` for usage during aggregation. */ -export enum AssetTransactionsGroupBy { - Amount = 'AMOUNT', - AssetId = 'ASSET_ID', - CreatedAt = 'CREATED_AT', - CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', - CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', - CreatedBlockId = 'CREATED_BLOCK_ID', - Datetime = 'DATETIME', - DatetimeTruncatedToDay = 'DATETIME_TRUNCATED_TO_DAY', - DatetimeTruncatedToHour = 'DATETIME_TRUNCATED_TO_HOUR', - EventId = 'EVENT_ID', - EventIdx = 'EVENT_IDX', - ExtrinsicIdx = 'EXTRINSIC_IDX', - FromPortfolioId = 'FROM_PORTFOLIO_ID', - FundingRound = 'FUNDING_ROUND', - InstructionId = 'INSTRUCTION_ID', - InstructionMemo = 'INSTRUCTION_MEMO', - NftIds = 'NFT_IDS', - ToPortfolioId = 'TO_PORTFOLIO_ID', - UpdatedAt = 'UPDATED_AT', - UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', - UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export type AssetTransactionsHavingAverageInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type AssetTransactionsHavingDistinctCountInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Conditions for `AssetTransaction` aggregates. */ -export type AssetTransactionsHavingInput = { - AND?: InputMaybe>; - OR?: InputMaybe>; - average?: InputMaybe; - distinctCount?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddevPopulation?: InputMaybe; - stddevSample?: InputMaybe; - sum?: InputMaybe; - variancePopulation?: InputMaybe; - varianceSample?: InputMaybe; -}; - -export type AssetTransactionsHavingMaxInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type AssetTransactionsHavingMinInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type AssetTransactionsHavingStddevPopulationInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type AssetTransactionsHavingStddevSampleInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type AssetTransactionsHavingSumInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type AssetTransactionsHavingVariancePopulationInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type AssetTransactionsHavingVarianceSampleInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Methods to use when ordering `AssetTransaction`. */ -export enum AssetTransactionsOrderBy { - AmountAsc = 'AMOUNT_ASC', - AmountDesc = 'AMOUNT_DESC', - AssetIdAsc = 'ASSET_ID_ASC', - AssetIdDesc = 'ASSET_ID_DESC', - CreatedAtAsc = 'CREATED_AT_ASC', - CreatedAtDesc = 'CREATED_AT_DESC', - CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', - CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', - DatetimeAsc = 'DATETIME_ASC', - DatetimeDesc = 'DATETIME_DESC', - EventIdxAsc = 'EVENT_IDX_ASC', - EventIdxDesc = 'EVENT_IDX_DESC', - EventIdAsc = 'EVENT_ID_ASC', - EventIdDesc = 'EVENT_ID_DESC', - ExtrinsicIdxAsc = 'EXTRINSIC_IDX_ASC', - ExtrinsicIdxDesc = 'EXTRINSIC_IDX_DESC', - FromPortfolioIdAsc = 'FROM_PORTFOLIO_ID_ASC', - FromPortfolioIdDesc = 'FROM_PORTFOLIO_ID_DESC', - FundingRoundAsc = 'FUNDING_ROUND_ASC', - FundingRoundDesc = 'FUNDING_ROUND_DESC', - IdAsc = 'ID_ASC', - IdDesc = 'ID_DESC', - InstructionIdAsc = 'INSTRUCTION_ID_ASC', - InstructionIdDesc = 'INSTRUCTION_ID_DESC', - InstructionMemoAsc = 'INSTRUCTION_MEMO_ASC', - InstructionMemoDesc = 'INSTRUCTION_MEMO_DESC', - Natural = 'NATURAL', - NftIdsAsc = 'NFT_IDS_ASC', - NftIdsDesc = 'NFT_IDS_DESC', - PrimaryKeyAsc = 'PRIMARY_KEY_ASC', - PrimaryKeyDesc = 'PRIMARY_KEY_DESC', - ToPortfolioIdAsc = 'TO_PORTFOLIO_ID_ASC', - ToPortfolioIdDesc = 'TO_PORTFOLIO_ID_DESC', - UpdatedAtAsc = 'UPDATED_AT_ASC', - UpdatedAtDesc = 'UPDATED_AT_DESC', - UpdatedBlockIdAsc = 'UPDATED_BLOCK_ID_ASC', - UpdatedBlockIdDesc = 'UPDATED_BLOCK_ID_DESC', -} - -export type AssetVariancePopulationAggregateFilter = { - eventIdx?: InputMaybe; - totalSupply?: InputMaybe; - totalTransfers?: InputMaybe; -}; - -export type AssetVariancePopulationAggregates = { - __typename?: 'AssetVariancePopulationAggregates'; - /** Population variance of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Population variance of totalSupply across the matching connection */ - totalSupply?: Maybe; - /** Population variance of totalTransfers across the matching connection */ - totalTransfers?: Maybe; -}; - -export type AssetVarianceSampleAggregateFilter = { - eventIdx?: InputMaybe; - totalSupply?: InputMaybe; - totalTransfers?: InputMaybe; -}; - -export type AssetVarianceSampleAggregates = { - __typename?: 'AssetVarianceSampleAggregates'; - /** Sample variance of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Sample variance of totalSupply across the matching connection */ - totalSupply?: Maybe; - /** Sample variance of totalTransfers across the matching connection */ - totalTransfers?: Maybe; -}; - -/** A connection to a list of `Venue` values, with data from `Sto`. */ -export type AssetVenuesByStoOfferingAssetIdAndVenueIdManyToManyConnection = { - __typename?: 'AssetVenuesByStoOfferingAssetIdAndVenueIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Venue`, info from the `Sto`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Venue` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Venue` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Venue` values, with data from `Sto`. */ -export type AssetVenuesByStoOfferingAssetIdAndVenueIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `Venue` edge in the connection, with data from `Sto`. */ -export type AssetVenuesByStoOfferingAssetIdAndVenueIdManyToManyEdge = { - __typename?: 'AssetVenuesByStoOfferingAssetIdAndVenueIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Venue` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Sto`. */ - stos: StosConnection; -}; - -/** A `Venue` edge in the connection, with data from `Sto`. */ -export type AssetVenuesByStoOfferingAssetIdAndVenueIdManyToManyEdgeStosArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Asset` values. */ -export type AssetsConnection = { - __typename?: 'AssetsConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Asset` and cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Asset` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Asset` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Asset` values. */ -export type AssetsConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `Asset` edge in the connection. */ -export type AssetsEdge = { - __typename?: 'AssetsEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Asset` at the end of the edge. */ - node?: Maybe; -}; - -/** Grouping methods for `Asset` for usage during aggregation. */ -export enum AssetsGroupBy { - CreatedAt = 'CREATED_AT', - CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', - CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', - CreatedBlockId = 'CREATED_BLOCK_ID', - EventIdx = 'EVENT_IDX', - FundingRound = 'FUNDING_ROUND', - Identifiers = 'IDENTIFIERS', - IsCompliancePaused = 'IS_COMPLIANCE_PAUSED', - IsDivisible = 'IS_DIVISIBLE', - IsFrozen = 'IS_FROZEN', - IsNftCollection = 'IS_NFT_COLLECTION', - IsUniquenessRequired = 'IS_UNIQUENESS_REQUIRED', - Name = 'NAME', - OwnerId = 'OWNER_ID', - TotalSupply = 'TOTAL_SUPPLY', - TotalTransfers = 'TOTAL_TRANSFERS', - Type = 'TYPE', - UpdatedAt = 'UPDATED_AT', - UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', - UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export type AssetsHavingAverageInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - totalSupply?: InputMaybe; - totalTransfers?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type AssetsHavingDistinctCountInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - totalSupply?: InputMaybe; - totalTransfers?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Conditions for `Asset` aggregates. */ -export type AssetsHavingInput = { - AND?: InputMaybe>; - OR?: InputMaybe>; - average?: InputMaybe; - distinctCount?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddevPopulation?: InputMaybe; - stddevSample?: InputMaybe; - sum?: InputMaybe; - variancePopulation?: InputMaybe; - varianceSample?: InputMaybe; -}; - -export type AssetsHavingMaxInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - totalSupply?: InputMaybe; - totalTransfers?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type AssetsHavingMinInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - totalSupply?: InputMaybe; - totalTransfers?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type AssetsHavingStddevPopulationInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - totalSupply?: InputMaybe; - totalTransfers?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type AssetsHavingStddevSampleInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - totalSupply?: InputMaybe; - totalTransfers?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type AssetsHavingSumInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - totalSupply?: InputMaybe; - totalTransfers?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type AssetsHavingVariancePopulationInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - totalSupply?: InputMaybe; - totalTransfers?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type AssetsHavingVarianceSampleInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - totalSupply?: InputMaybe; - totalTransfers?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Methods to use when ordering `Asset`. */ -export enum AssetsOrderBy { - AssetTransactionsAverageAmountAsc = 'ASSET_TRANSACTIONS_AVERAGE_AMOUNT_ASC', - AssetTransactionsAverageAmountDesc = 'ASSET_TRANSACTIONS_AVERAGE_AMOUNT_DESC', - AssetTransactionsAverageAssetIdAsc = 'ASSET_TRANSACTIONS_AVERAGE_ASSET_ID_ASC', - AssetTransactionsAverageAssetIdDesc = 'ASSET_TRANSACTIONS_AVERAGE_ASSET_ID_DESC', - AssetTransactionsAverageCreatedAtAsc = 'ASSET_TRANSACTIONS_AVERAGE_CREATED_AT_ASC', - AssetTransactionsAverageCreatedAtDesc = 'ASSET_TRANSACTIONS_AVERAGE_CREATED_AT_DESC', - AssetTransactionsAverageCreatedBlockIdAsc = 'ASSET_TRANSACTIONS_AVERAGE_CREATED_BLOCK_ID_ASC', - AssetTransactionsAverageCreatedBlockIdDesc = 'ASSET_TRANSACTIONS_AVERAGE_CREATED_BLOCK_ID_DESC', - AssetTransactionsAverageDatetimeAsc = 'ASSET_TRANSACTIONS_AVERAGE_DATETIME_ASC', - AssetTransactionsAverageDatetimeDesc = 'ASSET_TRANSACTIONS_AVERAGE_DATETIME_DESC', - AssetTransactionsAverageEventIdxAsc = 'ASSET_TRANSACTIONS_AVERAGE_EVENT_IDX_ASC', - AssetTransactionsAverageEventIdxDesc = 'ASSET_TRANSACTIONS_AVERAGE_EVENT_IDX_DESC', - AssetTransactionsAverageEventIdAsc = 'ASSET_TRANSACTIONS_AVERAGE_EVENT_ID_ASC', - AssetTransactionsAverageEventIdDesc = 'ASSET_TRANSACTIONS_AVERAGE_EVENT_ID_DESC', - AssetTransactionsAverageExtrinsicIdxAsc = 'ASSET_TRANSACTIONS_AVERAGE_EXTRINSIC_IDX_ASC', - AssetTransactionsAverageExtrinsicIdxDesc = 'ASSET_TRANSACTIONS_AVERAGE_EXTRINSIC_IDX_DESC', - AssetTransactionsAverageFromPortfolioIdAsc = 'ASSET_TRANSACTIONS_AVERAGE_FROM_PORTFOLIO_ID_ASC', - AssetTransactionsAverageFromPortfolioIdDesc = 'ASSET_TRANSACTIONS_AVERAGE_FROM_PORTFOLIO_ID_DESC', - AssetTransactionsAverageFundingRoundAsc = 'ASSET_TRANSACTIONS_AVERAGE_FUNDING_ROUND_ASC', - AssetTransactionsAverageFundingRoundDesc = 'ASSET_TRANSACTIONS_AVERAGE_FUNDING_ROUND_DESC', - AssetTransactionsAverageIdAsc = 'ASSET_TRANSACTIONS_AVERAGE_ID_ASC', - AssetTransactionsAverageIdDesc = 'ASSET_TRANSACTIONS_AVERAGE_ID_DESC', - AssetTransactionsAverageInstructionIdAsc = 'ASSET_TRANSACTIONS_AVERAGE_INSTRUCTION_ID_ASC', - AssetTransactionsAverageInstructionIdDesc = 'ASSET_TRANSACTIONS_AVERAGE_INSTRUCTION_ID_DESC', - AssetTransactionsAverageInstructionMemoAsc = 'ASSET_TRANSACTIONS_AVERAGE_INSTRUCTION_MEMO_ASC', - AssetTransactionsAverageInstructionMemoDesc = 'ASSET_TRANSACTIONS_AVERAGE_INSTRUCTION_MEMO_DESC', - AssetTransactionsAverageNftIdsAsc = 'ASSET_TRANSACTIONS_AVERAGE_NFT_IDS_ASC', - AssetTransactionsAverageNftIdsDesc = 'ASSET_TRANSACTIONS_AVERAGE_NFT_IDS_DESC', - AssetTransactionsAverageToPortfolioIdAsc = 'ASSET_TRANSACTIONS_AVERAGE_TO_PORTFOLIO_ID_ASC', - AssetTransactionsAverageToPortfolioIdDesc = 'ASSET_TRANSACTIONS_AVERAGE_TO_PORTFOLIO_ID_DESC', - AssetTransactionsAverageUpdatedAtAsc = 'ASSET_TRANSACTIONS_AVERAGE_UPDATED_AT_ASC', - AssetTransactionsAverageUpdatedAtDesc = 'ASSET_TRANSACTIONS_AVERAGE_UPDATED_AT_DESC', - AssetTransactionsAverageUpdatedBlockIdAsc = 'ASSET_TRANSACTIONS_AVERAGE_UPDATED_BLOCK_ID_ASC', - AssetTransactionsAverageUpdatedBlockIdDesc = 'ASSET_TRANSACTIONS_AVERAGE_UPDATED_BLOCK_ID_DESC', - AssetTransactionsCountAsc = 'ASSET_TRANSACTIONS_COUNT_ASC', - AssetTransactionsCountDesc = 'ASSET_TRANSACTIONS_COUNT_DESC', - AssetTransactionsDistinctCountAmountAsc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_AMOUNT_ASC', - AssetTransactionsDistinctCountAmountDesc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_AMOUNT_DESC', - AssetTransactionsDistinctCountAssetIdAsc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_ASSET_ID_ASC', - AssetTransactionsDistinctCountAssetIdDesc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_ASSET_ID_DESC', - AssetTransactionsDistinctCountCreatedAtAsc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_CREATED_AT_ASC', - AssetTransactionsDistinctCountCreatedAtDesc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_CREATED_AT_DESC', - AssetTransactionsDistinctCountCreatedBlockIdAsc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - AssetTransactionsDistinctCountCreatedBlockIdDesc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - AssetTransactionsDistinctCountDatetimeAsc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_DATETIME_ASC', - AssetTransactionsDistinctCountDatetimeDesc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_DATETIME_DESC', - AssetTransactionsDistinctCountEventIdxAsc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_EVENT_IDX_ASC', - AssetTransactionsDistinctCountEventIdxDesc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_EVENT_IDX_DESC', - AssetTransactionsDistinctCountEventIdAsc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_EVENT_ID_ASC', - AssetTransactionsDistinctCountEventIdDesc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_EVENT_ID_DESC', - AssetTransactionsDistinctCountExtrinsicIdxAsc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_EXTRINSIC_IDX_ASC', - AssetTransactionsDistinctCountExtrinsicIdxDesc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_EXTRINSIC_IDX_DESC', - AssetTransactionsDistinctCountFromPortfolioIdAsc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_FROM_PORTFOLIO_ID_ASC', - AssetTransactionsDistinctCountFromPortfolioIdDesc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_FROM_PORTFOLIO_ID_DESC', - AssetTransactionsDistinctCountFundingRoundAsc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_FUNDING_ROUND_ASC', - AssetTransactionsDistinctCountFundingRoundDesc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_FUNDING_ROUND_DESC', - AssetTransactionsDistinctCountIdAsc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_ID_ASC', - AssetTransactionsDistinctCountIdDesc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_ID_DESC', - AssetTransactionsDistinctCountInstructionIdAsc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_INSTRUCTION_ID_ASC', - AssetTransactionsDistinctCountInstructionIdDesc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_INSTRUCTION_ID_DESC', - AssetTransactionsDistinctCountInstructionMemoAsc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_INSTRUCTION_MEMO_ASC', - AssetTransactionsDistinctCountInstructionMemoDesc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_INSTRUCTION_MEMO_DESC', - AssetTransactionsDistinctCountNftIdsAsc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_NFT_IDS_ASC', - AssetTransactionsDistinctCountNftIdsDesc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_NFT_IDS_DESC', - AssetTransactionsDistinctCountToPortfolioIdAsc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_TO_PORTFOLIO_ID_ASC', - AssetTransactionsDistinctCountToPortfolioIdDesc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_TO_PORTFOLIO_ID_DESC', - AssetTransactionsDistinctCountUpdatedAtAsc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_UPDATED_AT_ASC', - AssetTransactionsDistinctCountUpdatedAtDesc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_UPDATED_AT_DESC', - AssetTransactionsDistinctCountUpdatedBlockIdAsc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - AssetTransactionsDistinctCountUpdatedBlockIdDesc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - AssetTransactionsMaxAmountAsc = 'ASSET_TRANSACTIONS_MAX_AMOUNT_ASC', - AssetTransactionsMaxAmountDesc = 'ASSET_TRANSACTIONS_MAX_AMOUNT_DESC', - AssetTransactionsMaxAssetIdAsc = 'ASSET_TRANSACTIONS_MAX_ASSET_ID_ASC', - AssetTransactionsMaxAssetIdDesc = 'ASSET_TRANSACTIONS_MAX_ASSET_ID_DESC', - AssetTransactionsMaxCreatedAtAsc = 'ASSET_TRANSACTIONS_MAX_CREATED_AT_ASC', - AssetTransactionsMaxCreatedAtDesc = 'ASSET_TRANSACTIONS_MAX_CREATED_AT_DESC', - AssetTransactionsMaxCreatedBlockIdAsc = 'ASSET_TRANSACTIONS_MAX_CREATED_BLOCK_ID_ASC', - AssetTransactionsMaxCreatedBlockIdDesc = 'ASSET_TRANSACTIONS_MAX_CREATED_BLOCK_ID_DESC', - AssetTransactionsMaxDatetimeAsc = 'ASSET_TRANSACTIONS_MAX_DATETIME_ASC', - AssetTransactionsMaxDatetimeDesc = 'ASSET_TRANSACTIONS_MAX_DATETIME_DESC', - AssetTransactionsMaxEventIdxAsc = 'ASSET_TRANSACTIONS_MAX_EVENT_IDX_ASC', - AssetTransactionsMaxEventIdxDesc = 'ASSET_TRANSACTIONS_MAX_EVENT_IDX_DESC', - AssetTransactionsMaxEventIdAsc = 'ASSET_TRANSACTIONS_MAX_EVENT_ID_ASC', - AssetTransactionsMaxEventIdDesc = 'ASSET_TRANSACTIONS_MAX_EVENT_ID_DESC', - AssetTransactionsMaxExtrinsicIdxAsc = 'ASSET_TRANSACTIONS_MAX_EXTRINSIC_IDX_ASC', - AssetTransactionsMaxExtrinsicIdxDesc = 'ASSET_TRANSACTIONS_MAX_EXTRINSIC_IDX_DESC', - AssetTransactionsMaxFromPortfolioIdAsc = 'ASSET_TRANSACTIONS_MAX_FROM_PORTFOLIO_ID_ASC', - AssetTransactionsMaxFromPortfolioIdDesc = 'ASSET_TRANSACTIONS_MAX_FROM_PORTFOLIO_ID_DESC', - AssetTransactionsMaxFundingRoundAsc = 'ASSET_TRANSACTIONS_MAX_FUNDING_ROUND_ASC', - AssetTransactionsMaxFundingRoundDesc = 'ASSET_TRANSACTIONS_MAX_FUNDING_ROUND_DESC', - AssetTransactionsMaxIdAsc = 'ASSET_TRANSACTIONS_MAX_ID_ASC', - AssetTransactionsMaxIdDesc = 'ASSET_TRANSACTIONS_MAX_ID_DESC', - AssetTransactionsMaxInstructionIdAsc = 'ASSET_TRANSACTIONS_MAX_INSTRUCTION_ID_ASC', - AssetTransactionsMaxInstructionIdDesc = 'ASSET_TRANSACTIONS_MAX_INSTRUCTION_ID_DESC', - AssetTransactionsMaxInstructionMemoAsc = 'ASSET_TRANSACTIONS_MAX_INSTRUCTION_MEMO_ASC', - AssetTransactionsMaxInstructionMemoDesc = 'ASSET_TRANSACTIONS_MAX_INSTRUCTION_MEMO_DESC', - AssetTransactionsMaxNftIdsAsc = 'ASSET_TRANSACTIONS_MAX_NFT_IDS_ASC', - AssetTransactionsMaxNftIdsDesc = 'ASSET_TRANSACTIONS_MAX_NFT_IDS_DESC', - AssetTransactionsMaxToPortfolioIdAsc = 'ASSET_TRANSACTIONS_MAX_TO_PORTFOLIO_ID_ASC', - AssetTransactionsMaxToPortfolioIdDesc = 'ASSET_TRANSACTIONS_MAX_TO_PORTFOLIO_ID_DESC', - AssetTransactionsMaxUpdatedAtAsc = 'ASSET_TRANSACTIONS_MAX_UPDATED_AT_ASC', - AssetTransactionsMaxUpdatedAtDesc = 'ASSET_TRANSACTIONS_MAX_UPDATED_AT_DESC', - AssetTransactionsMaxUpdatedBlockIdAsc = 'ASSET_TRANSACTIONS_MAX_UPDATED_BLOCK_ID_ASC', - AssetTransactionsMaxUpdatedBlockIdDesc = 'ASSET_TRANSACTIONS_MAX_UPDATED_BLOCK_ID_DESC', - AssetTransactionsMinAmountAsc = 'ASSET_TRANSACTIONS_MIN_AMOUNT_ASC', - AssetTransactionsMinAmountDesc = 'ASSET_TRANSACTIONS_MIN_AMOUNT_DESC', - AssetTransactionsMinAssetIdAsc = 'ASSET_TRANSACTIONS_MIN_ASSET_ID_ASC', - AssetTransactionsMinAssetIdDesc = 'ASSET_TRANSACTIONS_MIN_ASSET_ID_DESC', - AssetTransactionsMinCreatedAtAsc = 'ASSET_TRANSACTIONS_MIN_CREATED_AT_ASC', - AssetTransactionsMinCreatedAtDesc = 'ASSET_TRANSACTIONS_MIN_CREATED_AT_DESC', - AssetTransactionsMinCreatedBlockIdAsc = 'ASSET_TRANSACTIONS_MIN_CREATED_BLOCK_ID_ASC', - AssetTransactionsMinCreatedBlockIdDesc = 'ASSET_TRANSACTIONS_MIN_CREATED_BLOCK_ID_DESC', - AssetTransactionsMinDatetimeAsc = 'ASSET_TRANSACTIONS_MIN_DATETIME_ASC', - AssetTransactionsMinDatetimeDesc = 'ASSET_TRANSACTIONS_MIN_DATETIME_DESC', - AssetTransactionsMinEventIdxAsc = 'ASSET_TRANSACTIONS_MIN_EVENT_IDX_ASC', - AssetTransactionsMinEventIdxDesc = 'ASSET_TRANSACTIONS_MIN_EVENT_IDX_DESC', - AssetTransactionsMinEventIdAsc = 'ASSET_TRANSACTIONS_MIN_EVENT_ID_ASC', - AssetTransactionsMinEventIdDesc = 'ASSET_TRANSACTIONS_MIN_EVENT_ID_DESC', - AssetTransactionsMinExtrinsicIdxAsc = 'ASSET_TRANSACTIONS_MIN_EXTRINSIC_IDX_ASC', - AssetTransactionsMinExtrinsicIdxDesc = 'ASSET_TRANSACTIONS_MIN_EXTRINSIC_IDX_DESC', - AssetTransactionsMinFromPortfolioIdAsc = 'ASSET_TRANSACTIONS_MIN_FROM_PORTFOLIO_ID_ASC', - AssetTransactionsMinFromPortfolioIdDesc = 'ASSET_TRANSACTIONS_MIN_FROM_PORTFOLIO_ID_DESC', - AssetTransactionsMinFundingRoundAsc = 'ASSET_TRANSACTIONS_MIN_FUNDING_ROUND_ASC', - AssetTransactionsMinFundingRoundDesc = 'ASSET_TRANSACTIONS_MIN_FUNDING_ROUND_DESC', - AssetTransactionsMinIdAsc = 'ASSET_TRANSACTIONS_MIN_ID_ASC', - AssetTransactionsMinIdDesc = 'ASSET_TRANSACTIONS_MIN_ID_DESC', - AssetTransactionsMinInstructionIdAsc = 'ASSET_TRANSACTIONS_MIN_INSTRUCTION_ID_ASC', - AssetTransactionsMinInstructionIdDesc = 'ASSET_TRANSACTIONS_MIN_INSTRUCTION_ID_DESC', - AssetTransactionsMinInstructionMemoAsc = 'ASSET_TRANSACTIONS_MIN_INSTRUCTION_MEMO_ASC', - AssetTransactionsMinInstructionMemoDesc = 'ASSET_TRANSACTIONS_MIN_INSTRUCTION_MEMO_DESC', - AssetTransactionsMinNftIdsAsc = 'ASSET_TRANSACTIONS_MIN_NFT_IDS_ASC', - AssetTransactionsMinNftIdsDesc = 'ASSET_TRANSACTIONS_MIN_NFT_IDS_DESC', - AssetTransactionsMinToPortfolioIdAsc = 'ASSET_TRANSACTIONS_MIN_TO_PORTFOLIO_ID_ASC', - AssetTransactionsMinToPortfolioIdDesc = 'ASSET_TRANSACTIONS_MIN_TO_PORTFOLIO_ID_DESC', - AssetTransactionsMinUpdatedAtAsc = 'ASSET_TRANSACTIONS_MIN_UPDATED_AT_ASC', - AssetTransactionsMinUpdatedAtDesc = 'ASSET_TRANSACTIONS_MIN_UPDATED_AT_DESC', - AssetTransactionsMinUpdatedBlockIdAsc = 'ASSET_TRANSACTIONS_MIN_UPDATED_BLOCK_ID_ASC', - AssetTransactionsMinUpdatedBlockIdDesc = 'ASSET_TRANSACTIONS_MIN_UPDATED_BLOCK_ID_DESC', - AssetTransactionsStddevPopulationAmountAsc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_AMOUNT_ASC', - AssetTransactionsStddevPopulationAmountDesc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_AMOUNT_DESC', - AssetTransactionsStddevPopulationAssetIdAsc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_ASSET_ID_ASC', - AssetTransactionsStddevPopulationAssetIdDesc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_ASSET_ID_DESC', - AssetTransactionsStddevPopulationCreatedAtAsc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_CREATED_AT_ASC', - AssetTransactionsStddevPopulationCreatedAtDesc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_CREATED_AT_DESC', - AssetTransactionsStddevPopulationCreatedBlockIdAsc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - AssetTransactionsStddevPopulationCreatedBlockIdDesc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - AssetTransactionsStddevPopulationDatetimeAsc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_DATETIME_ASC', - AssetTransactionsStddevPopulationDatetimeDesc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_DATETIME_DESC', - AssetTransactionsStddevPopulationEventIdxAsc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_EVENT_IDX_ASC', - AssetTransactionsStddevPopulationEventIdxDesc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_EVENT_IDX_DESC', - AssetTransactionsStddevPopulationEventIdAsc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_EVENT_ID_ASC', - AssetTransactionsStddevPopulationEventIdDesc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_EVENT_ID_DESC', - AssetTransactionsStddevPopulationExtrinsicIdxAsc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_EXTRINSIC_IDX_ASC', - AssetTransactionsStddevPopulationExtrinsicIdxDesc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_EXTRINSIC_IDX_DESC', - AssetTransactionsStddevPopulationFromPortfolioIdAsc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_FROM_PORTFOLIO_ID_ASC', - AssetTransactionsStddevPopulationFromPortfolioIdDesc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_FROM_PORTFOLIO_ID_DESC', - AssetTransactionsStddevPopulationFundingRoundAsc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_FUNDING_ROUND_ASC', - AssetTransactionsStddevPopulationFundingRoundDesc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_FUNDING_ROUND_DESC', - AssetTransactionsStddevPopulationIdAsc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_ID_ASC', - AssetTransactionsStddevPopulationIdDesc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_ID_DESC', - AssetTransactionsStddevPopulationInstructionIdAsc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_INSTRUCTION_ID_ASC', - AssetTransactionsStddevPopulationInstructionIdDesc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_INSTRUCTION_ID_DESC', - AssetTransactionsStddevPopulationInstructionMemoAsc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_INSTRUCTION_MEMO_ASC', - AssetTransactionsStddevPopulationInstructionMemoDesc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_INSTRUCTION_MEMO_DESC', - AssetTransactionsStddevPopulationNftIdsAsc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_NFT_IDS_ASC', - AssetTransactionsStddevPopulationNftIdsDesc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_NFT_IDS_DESC', - AssetTransactionsStddevPopulationToPortfolioIdAsc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_TO_PORTFOLIO_ID_ASC', - AssetTransactionsStddevPopulationToPortfolioIdDesc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_TO_PORTFOLIO_ID_DESC', - AssetTransactionsStddevPopulationUpdatedAtAsc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_UPDATED_AT_ASC', - AssetTransactionsStddevPopulationUpdatedAtDesc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_UPDATED_AT_DESC', - AssetTransactionsStddevPopulationUpdatedBlockIdAsc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - AssetTransactionsStddevPopulationUpdatedBlockIdDesc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - AssetTransactionsStddevSampleAmountAsc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_AMOUNT_ASC', - AssetTransactionsStddevSampleAmountDesc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_AMOUNT_DESC', - AssetTransactionsStddevSampleAssetIdAsc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_ASSET_ID_ASC', - AssetTransactionsStddevSampleAssetIdDesc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_ASSET_ID_DESC', - AssetTransactionsStddevSampleCreatedAtAsc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_CREATED_AT_ASC', - AssetTransactionsStddevSampleCreatedAtDesc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_CREATED_AT_DESC', - AssetTransactionsStddevSampleCreatedBlockIdAsc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - AssetTransactionsStddevSampleCreatedBlockIdDesc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - AssetTransactionsStddevSampleDatetimeAsc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_DATETIME_ASC', - AssetTransactionsStddevSampleDatetimeDesc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_DATETIME_DESC', - AssetTransactionsStddevSampleEventIdxAsc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_EVENT_IDX_ASC', - AssetTransactionsStddevSampleEventIdxDesc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_EVENT_IDX_DESC', - AssetTransactionsStddevSampleEventIdAsc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_EVENT_ID_ASC', - AssetTransactionsStddevSampleEventIdDesc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_EVENT_ID_DESC', - AssetTransactionsStddevSampleExtrinsicIdxAsc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_EXTRINSIC_IDX_ASC', - AssetTransactionsStddevSampleExtrinsicIdxDesc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_EXTRINSIC_IDX_DESC', - AssetTransactionsStddevSampleFromPortfolioIdAsc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_FROM_PORTFOLIO_ID_ASC', - AssetTransactionsStddevSampleFromPortfolioIdDesc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_FROM_PORTFOLIO_ID_DESC', - AssetTransactionsStddevSampleFundingRoundAsc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_FUNDING_ROUND_ASC', - AssetTransactionsStddevSampleFundingRoundDesc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_FUNDING_ROUND_DESC', - AssetTransactionsStddevSampleIdAsc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_ID_ASC', - AssetTransactionsStddevSampleIdDesc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_ID_DESC', - AssetTransactionsStddevSampleInstructionIdAsc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_INSTRUCTION_ID_ASC', - AssetTransactionsStddevSampleInstructionIdDesc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_INSTRUCTION_ID_DESC', - AssetTransactionsStddevSampleInstructionMemoAsc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_INSTRUCTION_MEMO_ASC', - AssetTransactionsStddevSampleInstructionMemoDesc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_INSTRUCTION_MEMO_DESC', - AssetTransactionsStddevSampleNftIdsAsc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_NFT_IDS_ASC', - AssetTransactionsStddevSampleNftIdsDesc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_NFT_IDS_DESC', - AssetTransactionsStddevSampleToPortfolioIdAsc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_TO_PORTFOLIO_ID_ASC', - AssetTransactionsStddevSampleToPortfolioIdDesc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_TO_PORTFOLIO_ID_DESC', - AssetTransactionsStddevSampleUpdatedAtAsc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_UPDATED_AT_ASC', - AssetTransactionsStddevSampleUpdatedAtDesc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_UPDATED_AT_DESC', - AssetTransactionsStddevSampleUpdatedBlockIdAsc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - AssetTransactionsStddevSampleUpdatedBlockIdDesc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - AssetTransactionsSumAmountAsc = 'ASSET_TRANSACTIONS_SUM_AMOUNT_ASC', - AssetTransactionsSumAmountDesc = 'ASSET_TRANSACTIONS_SUM_AMOUNT_DESC', - AssetTransactionsSumAssetIdAsc = 'ASSET_TRANSACTIONS_SUM_ASSET_ID_ASC', - AssetTransactionsSumAssetIdDesc = 'ASSET_TRANSACTIONS_SUM_ASSET_ID_DESC', - AssetTransactionsSumCreatedAtAsc = 'ASSET_TRANSACTIONS_SUM_CREATED_AT_ASC', - AssetTransactionsSumCreatedAtDesc = 'ASSET_TRANSACTIONS_SUM_CREATED_AT_DESC', - AssetTransactionsSumCreatedBlockIdAsc = 'ASSET_TRANSACTIONS_SUM_CREATED_BLOCK_ID_ASC', - AssetTransactionsSumCreatedBlockIdDesc = 'ASSET_TRANSACTIONS_SUM_CREATED_BLOCK_ID_DESC', - AssetTransactionsSumDatetimeAsc = 'ASSET_TRANSACTIONS_SUM_DATETIME_ASC', - AssetTransactionsSumDatetimeDesc = 'ASSET_TRANSACTIONS_SUM_DATETIME_DESC', - AssetTransactionsSumEventIdxAsc = 'ASSET_TRANSACTIONS_SUM_EVENT_IDX_ASC', - AssetTransactionsSumEventIdxDesc = 'ASSET_TRANSACTIONS_SUM_EVENT_IDX_DESC', - AssetTransactionsSumEventIdAsc = 'ASSET_TRANSACTIONS_SUM_EVENT_ID_ASC', - AssetTransactionsSumEventIdDesc = 'ASSET_TRANSACTIONS_SUM_EVENT_ID_DESC', - AssetTransactionsSumExtrinsicIdxAsc = 'ASSET_TRANSACTIONS_SUM_EXTRINSIC_IDX_ASC', - AssetTransactionsSumExtrinsicIdxDesc = 'ASSET_TRANSACTIONS_SUM_EXTRINSIC_IDX_DESC', - AssetTransactionsSumFromPortfolioIdAsc = 'ASSET_TRANSACTIONS_SUM_FROM_PORTFOLIO_ID_ASC', - AssetTransactionsSumFromPortfolioIdDesc = 'ASSET_TRANSACTIONS_SUM_FROM_PORTFOLIO_ID_DESC', - AssetTransactionsSumFundingRoundAsc = 'ASSET_TRANSACTIONS_SUM_FUNDING_ROUND_ASC', - AssetTransactionsSumFundingRoundDesc = 'ASSET_TRANSACTIONS_SUM_FUNDING_ROUND_DESC', - AssetTransactionsSumIdAsc = 'ASSET_TRANSACTIONS_SUM_ID_ASC', - AssetTransactionsSumIdDesc = 'ASSET_TRANSACTIONS_SUM_ID_DESC', - AssetTransactionsSumInstructionIdAsc = 'ASSET_TRANSACTIONS_SUM_INSTRUCTION_ID_ASC', - AssetTransactionsSumInstructionIdDesc = 'ASSET_TRANSACTIONS_SUM_INSTRUCTION_ID_DESC', - AssetTransactionsSumInstructionMemoAsc = 'ASSET_TRANSACTIONS_SUM_INSTRUCTION_MEMO_ASC', - AssetTransactionsSumInstructionMemoDesc = 'ASSET_TRANSACTIONS_SUM_INSTRUCTION_MEMO_DESC', - AssetTransactionsSumNftIdsAsc = 'ASSET_TRANSACTIONS_SUM_NFT_IDS_ASC', - AssetTransactionsSumNftIdsDesc = 'ASSET_TRANSACTIONS_SUM_NFT_IDS_DESC', - AssetTransactionsSumToPortfolioIdAsc = 'ASSET_TRANSACTIONS_SUM_TO_PORTFOLIO_ID_ASC', - AssetTransactionsSumToPortfolioIdDesc = 'ASSET_TRANSACTIONS_SUM_TO_PORTFOLIO_ID_DESC', - AssetTransactionsSumUpdatedAtAsc = 'ASSET_TRANSACTIONS_SUM_UPDATED_AT_ASC', - AssetTransactionsSumUpdatedAtDesc = 'ASSET_TRANSACTIONS_SUM_UPDATED_AT_DESC', - AssetTransactionsSumUpdatedBlockIdAsc = 'ASSET_TRANSACTIONS_SUM_UPDATED_BLOCK_ID_ASC', - AssetTransactionsSumUpdatedBlockIdDesc = 'ASSET_TRANSACTIONS_SUM_UPDATED_BLOCK_ID_DESC', - AssetTransactionsVariancePopulationAmountAsc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_AMOUNT_ASC', - AssetTransactionsVariancePopulationAmountDesc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_AMOUNT_DESC', - AssetTransactionsVariancePopulationAssetIdAsc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_ASSET_ID_ASC', - AssetTransactionsVariancePopulationAssetIdDesc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_ASSET_ID_DESC', - AssetTransactionsVariancePopulationCreatedAtAsc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_CREATED_AT_ASC', - AssetTransactionsVariancePopulationCreatedAtDesc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_CREATED_AT_DESC', - AssetTransactionsVariancePopulationCreatedBlockIdAsc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - AssetTransactionsVariancePopulationCreatedBlockIdDesc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - AssetTransactionsVariancePopulationDatetimeAsc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_DATETIME_ASC', - AssetTransactionsVariancePopulationDatetimeDesc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_DATETIME_DESC', - AssetTransactionsVariancePopulationEventIdxAsc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_EVENT_IDX_ASC', - AssetTransactionsVariancePopulationEventIdxDesc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_EVENT_IDX_DESC', - AssetTransactionsVariancePopulationEventIdAsc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_EVENT_ID_ASC', - AssetTransactionsVariancePopulationEventIdDesc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_EVENT_ID_DESC', - AssetTransactionsVariancePopulationExtrinsicIdxAsc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_EXTRINSIC_IDX_ASC', - AssetTransactionsVariancePopulationExtrinsicIdxDesc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_EXTRINSIC_IDX_DESC', - AssetTransactionsVariancePopulationFromPortfolioIdAsc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_FROM_PORTFOLIO_ID_ASC', - AssetTransactionsVariancePopulationFromPortfolioIdDesc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_FROM_PORTFOLIO_ID_DESC', - AssetTransactionsVariancePopulationFundingRoundAsc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_FUNDING_ROUND_ASC', - AssetTransactionsVariancePopulationFundingRoundDesc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_FUNDING_ROUND_DESC', - AssetTransactionsVariancePopulationIdAsc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_ID_ASC', - AssetTransactionsVariancePopulationIdDesc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_ID_DESC', - AssetTransactionsVariancePopulationInstructionIdAsc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_INSTRUCTION_ID_ASC', - AssetTransactionsVariancePopulationInstructionIdDesc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_INSTRUCTION_ID_DESC', - AssetTransactionsVariancePopulationInstructionMemoAsc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_INSTRUCTION_MEMO_ASC', - AssetTransactionsVariancePopulationInstructionMemoDesc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_INSTRUCTION_MEMO_DESC', - AssetTransactionsVariancePopulationNftIdsAsc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_NFT_IDS_ASC', - AssetTransactionsVariancePopulationNftIdsDesc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_NFT_IDS_DESC', - AssetTransactionsVariancePopulationToPortfolioIdAsc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_TO_PORTFOLIO_ID_ASC', - AssetTransactionsVariancePopulationToPortfolioIdDesc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_TO_PORTFOLIO_ID_DESC', - AssetTransactionsVariancePopulationUpdatedAtAsc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_UPDATED_AT_ASC', - AssetTransactionsVariancePopulationUpdatedAtDesc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_UPDATED_AT_DESC', - AssetTransactionsVariancePopulationUpdatedBlockIdAsc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - AssetTransactionsVariancePopulationUpdatedBlockIdDesc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - AssetTransactionsVarianceSampleAmountAsc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_AMOUNT_ASC', - AssetTransactionsVarianceSampleAmountDesc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_AMOUNT_DESC', - AssetTransactionsVarianceSampleAssetIdAsc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_ASSET_ID_ASC', - AssetTransactionsVarianceSampleAssetIdDesc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_ASSET_ID_DESC', - AssetTransactionsVarianceSampleCreatedAtAsc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_CREATED_AT_ASC', - AssetTransactionsVarianceSampleCreatedAtDesc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_CREATED_AT_DESC', - AssetTransactionsVarianceSampleCreatedBlockIdAsc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - AssetTransactionsVarianceSampleCreatedBlockIdDesc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - AssetTransactionsVarianceSampleDatetimeAsc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_DATETIME_ASC', - AssetTransactionsVarianceSampleDatetimeDesc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_DATETIME_DESC', - AssetTransactionsVarianceSampleEventIdxAsc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_EVENT_IDX_ASC', - AssetTransactionsVarianceSampleEventIdxDesc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_EVENT_IDX_DESC', - AssetTransactionsVarianceSampleEventIdAsc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_EVENT_ID_ASC', - AssetTransactionsVarianceSampleEventIdDesc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_EVENT_ID_DESC', - AssetTransactionsVarianceSampleExtrinsicIdxAsc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_EXTRINSIC_IDX_ASC', - AssetTransactionsVarianceSampleExtrinsicIdxDesc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_EXTRINSIC_IDX_DESC', - AssetTransactionsVarianceSampleFromPortfolioIdAsc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_FROM_PORTFOLIO_ID_ASC', - AssetTransactionsVarianceSampleFromPortfolioIdDesc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_FROM_PORTFOLIO_ID_DESC', - AssetTransactionsVarianceSampleFundingRoundAsc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_FUNDING_ROUND_ASC', - AssetTransactionsVarianceSampleFundingRoundDesc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_FUNDING_ROUND_DESC', - AssetTransactionsVarianceSampleIdAsc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_ID_ASC', - AssetTransactionsVarianceSampleIdDesc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_ID_DESC', - AssetTransactionsVarianceSampleInstructionIdAsc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_INSTRUCTION_ID_ASC', - AssetTransactionsVarianceSampleInstructionIdDesc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_INSTRUCTION_ID_DESC', - AssetTransactionsVarianceSampleInstructionMemoAsc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_INSTRUCTION_MEMO_ASC', - AssetTransactionsVarianceSampleInstructionMemoDesc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_INSTRUCTION_MEMO_DESC', - AssetTransactionsVarianceSampleNftIdsAsc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_NFT_IDS_ASC', - AssetTransactionsVarianceSampleNftIdsDesc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_NFT_IDS_DESC', - AssetTransactionsVarianceSampleToPortfolioIdAsc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_TO_PORTFOLIO_ID_ASC', - AssetTransactionsVarianceSampleToPortfolioIdDesc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_TO_PORTFOLIO_ID_DESC', - AssetTransactionsVarianceSampleUpdatedAtAsc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_UPDATED_AT_ASC', - AssetTransactionsVarianceSampleUpdatedAtDesc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_UPDATED_AT_DESC', - AssetTransactionsVarianceSampleUpdatedBlockIdAsc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - AssetTransactionsVarianceSampleUpdatedBlockIdDesc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - ComplianceAverageAssetIdAsc = 'COMPLIANCE_AVERAGE_ASSET_ID_ASC', - ComplianceAverageAssetIdDesc = 'COMPLIANCE_AVERAGE_ASSET_ID_DESC', - ComplianceAverageComplianceIdAsc = 'COMPLIANCE_AVERAGE_COMPLIANCE_ID_ASC', - ComplianceAverageComplianceIdDesc = 'COMPLIANCE_AVERAGE_COMPLIANCE_ID_DESC', - ComplianceAverageCreatedAtAsc = 'COMPLIANCE_AVERAGE_CREATED_AT_ASC', - ComplianceAverageCreatedAtDesc = 'COMPLIANCE_AVERAGE_CREATED_AT_DESC', - ComplianceAverageCreatedBlockIdAsc = 'COMPLIANCE_AVERAGE_CREATED_BLOCK_ID_ASC', - ComplianceAverageCreatedBlockIdDesc = 'COMPLIANCE_AVERAGE_CREATED_BLOCK_ID_DESC', - ComplianceAverageDataAsc = 'COMPLIANCE_AVERAGE_DATA_ASC', - ComplianceAverageDataDesc = 'COMPLIANCE_AVERAGE_DATA_DESC', - ComplianceAverageIdAsc = 'COMPLIANCE_AVERAGE_ID_ASC', - ComplianceAverageIdDesc = 'COMPLIANCE_AVERAGE_ID_DESC', - ComplianceAverageUpdatedAtAsc = 'COMPLIANCE_AVERAGE_UPDATED_AT_ASC', - ComplianceAverageUpdatedAtDesc = 'COMPLIANCE_AVERAGE_UPDATED_AT_DESC', - ComplianceAverageUpdatedBlockIdAsc = 'COMPLIANCE_AVERAGE_UPDATED_BLOCK_ID_ASC', - ComplianceAverageUpdatedBlockIdDesc = 'COMPLIANCE_AVERAGE_UPDATED_BLOCK_ID_DESC', - ComplianceCountAsc = 'COMPLIANCE_COUNT_ASC', - ComplianceCountDesc = 'COMPLIANCE_COUNT_DESC', - ComplianceDistinctCountAssetIdAsc = 'COMPLIANCE_DISTINCT_COUNT_ASSET_ID_ASC', - ComplianceDistinctCountAssetIdDesc = 'COMPLIANCE_DISTINCT_COUNT_ASSET_ID_DESC', - ComplianceDistinctCountComplianceIdAsc = 'COMPLIANCE_DISTINCT_COUNT_COMPLIANCE_ID_ASC', - ComplianceDistinctCountComplianceIdDesc = 'COMPLIANCE_DISTINCT_COUNT_COMPLIANCE_ID_DESC', - ComplianceDistinctCountCreatedAtAsc = 'COMPLIANCE_DISTINCT_COUNT_CREATED_AT_ASC', - ComplianceDistinctCountCreatedAtDesc = 'COMPLIANCE_DISTINCT_COUNT_CREATED_AT_DESC', - ComplianceDistinctCountCreatedBlockIdAsc = 'COMPLIANCE_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - ComplianceDistinctCountCreatedBlockIdDesc = 'COMPLIANCE_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - ComplianceDistinctCountDataAsc = 'COMPLIANCE_DISTINCT_COUNT_DATA_ASC', - ComplianceDistinctCountDataDesc = 'COMPLIANCE_DISTINCT_COUNT_DATA_DESC', - ComplianceDistinctCountIdAsc = 'COMPLIANCE_DISTINCT_COUNT_ID_ASC', - ComplianceDistinctCountIdDesc = 'COMPLIANCE_DISTINCT_COUNT_ID_DESC', - ComplianceDistinctCountUpdatedAtAsc = 'COMPLIANCE_DISTINCT_COUNT_UPDATED_AT_ASC', - ComplianceDistinctCountUpdatedAtDesc = 'COMPLIANCE_DISTINCT_COUNT_UPDATED_AT_DESC', - ComplianceDistinctCountUpdatedBlockIdAsc = 'COMPLIANCE_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - ComplianceDistinctCountUpdatedBlockIdDesc = 'COMPLIANCE_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - ComplianceMaxAssetIdAsc = 'COMPLIANCE_MAX_ASSET_ID_ASC', - ComplianceMaxAssetIdDesc = 'COMPLIANCE_MAX_ASSET_ID_DESC', - ComplianceMaxComplianceIdAsc = 'COMPLIANCE_MAX_COMPLIANCE_ID_ASC', - ComplianceMaxComplianceIdDesc = 'COMPLIANCE_MAX_COMPLIANCE_ID_DESC', - ComplianceMaxCreatedAtAsc = 'COMPLIANCE_MAX_CREATED_AT_ASC', - ComplianceMaxCreatedAtDesc = 'COMPLIANCE_MAX_CREATED_AT_DESC', - ComplianceMaxCreatedBlockIdAsc = 'COMPLIANCE_MAX_CREATED_BLOCK_ID_ASC', - ComplianceMaxCreatedBlockIdDesc = 'COMPLIANCE_MAX_CREATED_BLOCK_ID_DESC', - ComplianceMaxDataAsc = 'COMPLIANCE_MAX_DATA_ASC', - ComplianceMaxDataDesc = 'COMPLIANCE_MAX_DATA_DESC', - ComplianceMaxIdAsc = 'COMPLIANCE_MAX_ID_ASC', - ComplianceMaxIdDesc = 'COMPLIANCE_MAX_ID_DESC', - ComplianceMaxUpdatedAtAsc = 'COMPLIANCE_MAX_UPDATED_AT_ASC', - ComplianceMaxUpdatedAtDesc = 'COMPLIANCE_MAX_UPDATED_AT_DESC', - ComplianceMaxUpdatedBlockIdAsc = 'COMPLIANCE_MAX_UPDATED_BLOCK_ID_ASC', - ComplianceMaxUpdatedBlockIdDesc = 'COMPLIANCE_MAX_UPDATED_BLOCK_ID_DESC', - ComplianceMinAssetIdAsc = 'COMPLIANCE_MIN_ASSET_ID_ASC', - ComplianceMinAssetIdDesc = 'COMPLIANCE_MIN_ASSET_ID_DESC', - ComplianceMinComplianceIdAsc = 'COMPLIANCE_MIN_COMPLIANCE_ID_ASC', - ComplianceMinComplianceIdDesc = 'COMPLIANCE_MIN_COMPLIANCE_ID_DESC', - ComplianceMinCreatedAtAsc = 'COMPLIANCE_MIN_CREATED_AT_ASC', - ComplianceMinCreatedAtDesc = 'COMPLIANCE_MIN_CREATED_AT_DESC', - ComplianceMinCreatedBlockIdAsc = 'COMPLIANCE_MIN_CREATED_BLOCK_ID_ASC', - ComplianceMinCreatedBlockIdDesc = 'COMPLIANCE_MIN_CREATED_BLOCK_ID_DESC', - ComplianceMinDataAsc = 'COMPLIANCE_MIN_DATA_ASC', - ComplianceMinDataDesc = 'COMPLIANCE_MIN_DATA_DESC', - ComplianceMinIdAsc = 'COMPLIANCE_MIN_ID_ASC', - ComplianceMinIdDesc = 'COMPLIANCE_MIN_ID_DESC', - ComplianceMinUpdatedAtAsc = 'COMPLIANCE_MIN_UPDATED_AT_ASC', - ComplianceMinUpdatedAtDesc = 'COMPLIANCE_MIN_UPDATED_AT_DESC', - ComplianceMinUpdatedBlockIdAsc = 'COMPLIANCE_MIN_UPDATED_BLOCK_ID_ASC', - ComplianceMinUpdatedBlockIdDesc = 'COMPLIANCE_MIN_UPDATED_BLOCK_ID_DESC', - ComplianceStddevPopulationAssetIdAsc = 'COMPLIANCE_STDDEV_POPULATION_ASSET_ID_ASC', - ComplianceStddevPopulationAssetIdDesc = 'COMPLIANCE_STDDEV_POPULATION_ASSET_ID_DESC', - ComplianceStddevPopulationComplianceIdAsc = 'COMPLIANCE_STDDEV_POPULATION_COMPLIANCE_ID_ASC', - ComplianceStddevPopulationComplianceIdDesc = 'COMPLIANCE_STDDEV_POPULATION_COMPLIANCE_ID_DESC', - ComplianceStddevPopulationCreatedAtAsc = 'COMPLIANCE_STDDEV_POPULATION_CREATED_AT_ASC', - ComplianceStddevPopulationCreatedAtDesc = 'COMPLIANCE_STDDEV_POPULATION_CREATED_AT_DESC', - ComplianceStddevPopulationCreatedBlockIdAsc = 'COMPLIANCE_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - ComplianceStddevPopulationCreatedBlockIdDesc = 'COMPLIANCE_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - ComplianceStddevPopulationDataAsc = 'COMPLIANCE_STDDEV_POPULATION_DATA_ASC', - ComplianceStddevPopulationDataDesc = 'COMPLIANCE_STDDEV_POPULATION_DATA_DESC', - ComplianceStddevPopulationIdAsc = 'COMPLIANCE_STDDEV_POPULATION_ID_ASC', - ComplianceStddevPopulationIdDesc = 'COMPLIANCE_STDDEV_POPULATION_ID_DESC', - ComplianceStddevPopulationUpdatedAtAsc = 'COMPLIANCE_STDDEV_POPULATION_UPDATED_AT_ASC', - ComplianceStddevPopulationUpdatedAtDesc = 'COMPLIANCE_STDDEV_POPULATION_UPDATED_AT_DESC', - ComplianceStddevPopulationUpdatedBlockIdAsc = 'COMPLIANCE_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - ComplianceStddevPopulationUpdatedBlockIdDesc = 'COMPLIANCE_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - ComplianceStddevSampleAssetIdAsc = 'COMPLIANCE_STDDEV_SAMPLE_ASSET_ID_ASC', - ComplianceStddevSampleAssetIdDesc = 'COMPLIANCE_STDDEV_SAMPLE_ASSET_ID_DESC', - ComplianceStddevSampleComplianceIdAsc = 'COMPLIANCE_STDDEV_SAMPLE_COMPLIANCE_ID_ASC', - ComplianceStddevSampleComplianceIdDesc = 'COMPLIANCE_STDDEV_SAMPLE_COMPLIANCE_ID_DESC', - ComplianceStddevSampleCreatedAtAsc = 'COMPLIANCE_STDDEV_SAMPLE_CREATED_AT_ASC', - ComplianceStddevSampleCreatedAtDesc = 'COMPLIANCE_STDDEV_SAMPLE_CREATED_AT_DESC', - ComplianceStddevSampleCreatedBlockIdAsc = 'COMPLIANCE_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - ComplianceStddevSampleCreatedBlockIdDesc = 'COMPLIANCE_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - ComplianceStddevSampleDataAsc = 'COMPLIANCE_STDDEV_SAMPLE_DATA_ASC', - ComplianceStddevSampleDataDesc = 'COMPLIANCE_STDDEV_SAMPLE_DATA_DESC', - ComplianceStddevSampleIdAsc = 'COMPLIANCE_STDDEV_SAMPLE_ID_ASC', - ComplianceStddevSampleIdDesc = 'COMPLIANCE_STDDEV_SAMPLE_ID_DESC', - ComplianceStddevSampleUpdatedAtAsc = 'COMPLIANCE_STDDEV_SAMPLE_UPDATED_AT_ASC', - ComplianceStddevSampleUpdatedAtDesc = 'COMPLIANCE_STDDEV_SAMPLE_UPDATED_AT_DESC', - ComplianceStddevSampleUpdatedBlockIdAsc = 'COMPLIANCE_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - ComplianceStddevSampleUpdatedBlockIdDesc = 'COMPLIANCE_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - ComplianceSumAssetIdAsc = 'COMPLIANCE_SUM_ASSET_ID_ASC', - ComplianceSumAssetIdDesc = 'COMPLIANCE_SUM_ASSET_ID_DESC', - ComplianceSumComplianceIdAsc = 'COMPLIANCE_SUM_COMPLIANCE_ID_ASC', - ComplianceSumComplianceIdDesc = 'COMPLIANCE_SUM_COMPLIANCE_ID_DESC', - ComplianceSumCreatedAtAsc = 'COMPLIANCE_SUM_CREATED_AT_ASC', - ComplianceSumCreatedAtDesc = 'COMPLIANCE_SUM_CREATED_AT_DESC', - ComplianceSumCreatedBlockIdAsc = 'COMPLIANCE_SUM_CREATED_BLOCK_ID_ASC', - ComplianceSumCreatedBlockIdDesc = 'COMPLIANCE_SUM_CREATED_BLOCK_ID_DESC', - ComplianceSumDataAsc = 'COMPLIANCE_SUM_DATA_ASC', - ComplianceSumDataDesc = 'COMPLIANCE_SUM_DATA_DESC', - ComplianceSumIdAsc = 'COMPLIANCE_SUM_ID_ASC', - ComplianceSumIdDesc = 'COMPLIANCE_SUM_ID_DESC', - ComplianceSumUpdatedAtAsc = 'COMPLIANCE_SUM_UPDATED_AT_ASC', - ComplianceSumUpdatedAtDesc = 'COMPLIANCE_SUM_UPDATED_AT_DESC', - ComplianceSumUpdatedBlockIdAsc = 'COMPLIANCE_SUM_UPDATED_BLOCK_ID_ASC', - ComplianceSumUpdatedBlockIdDesc = 'COMPLIANCE_SUM_UPDATED_BLOCK_ID_DESC', - ComplianceVariancePopulationAssetIdAsc = 'COMPLIANCE_VARIANCE_POPULATION_ASSET_ID_ASC', - ComplianceVariancePopulationAssetIdDesc = 'COMPLIANCE_VARIANCE_POPULATION_ASSET_ID_DESC', - ComplianceVariancePopulationComplianceIdAsc = 'COMPLIANCE_VARIANCE_POPULATION_COMPLIANCE_ID_ASC', - ComplianceVariancePopulationComplianceIdDesc = 'COMPLIANCE_VARIANCE_POPULATION_COMPLIANCE_ID_DESC', - ComplianceVariancePopulationCreatedAtAsc = 'COMPLIANCE_VARIANCE_POPULATION_CREATED_AT_ASC', - ComplianceVariancePopulationCreatedAtDesc = 'COMPLIANCE_VARIANCE_POPULATION_CREATED_AT_DESC', - ComplianceVariancePopulationCreatedBlockIdAsc = 'COMPLIANCE_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - ComplianceVariancePopulationCreatedBlockIdDesc = 'COMPLIANCE_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - ComplianceVariancePopulationDataAsc = 'COMPLIANCE_VARIANCE_POPULATION_DATA_ASC', - ComplianceVariancePopulationDataDesc = 'COMPLIANCE_VARIANCE_POPULATION_DATA_DESC', - ComplianceVariancePopulationIdAsc = 'COMPLIANCE_VARIANCE_POPULATION_ID_ASC', - ComplianceVariancePopulationIdDesc = 'COMPLIANCE_VARIANCE_POPULATION_ID_DESC', - ComplianceVariancePopulationUpdatedAtAsc = 'COMPLIANCE_VARIANCE_POPULATION_UPDATED_AT_ASC', - ComplianceVariancePopulationUpdatedAtDesc = 'COMPLIANCE_VARIANCE_POPULATION_UPDATED_AT_DESC', - ComplianceVariancePopulationUpdatedBlockIdAsc = 'COMPLIANCE_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - ComplianceVariancePopulationUpdatedBlockIdDesc = 'COMPLIANCE_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - ComplianceVarianceSampleAssetIdAsc = 'COMPLIANCE_VARIANCE_SAMPLE_ASSET_ID_ASC', - ComplianceVarianceSampleAssetIdDesc = 'COMPLIANCE_VARIANCE_SAMPLE_ASSET_ID_DESC', - ComplianceVarianceSampleComplianceIdAsc = 'COMPLIANCE_VARIANCE_SAMPLE_COMPLIANCE_ID_ASC', - ComplianceVarianceSampleComplianceIdDesc = 'COMPLIANCE_VARIANCE_SAMPLE_COMPLIANCE_ID_DESC', - ComplianceVarianceSampleCreatedAtAsc = 'COMPLIANCE_VARIANCE_SAMPLE_CREATED_AT_ASC', - ComplianceVarianceSampleCreatedAtDesc = 'COMPLIANCE_VARIANCE_SAMPLE_CREATED_AT_DESC', - ComplianceVarianceSampleCreatedBlockIdAsc = 'COMPLIANCE_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - ComplianceVarianceSampleCreatedBlockIdDesc = 'COMPLIANCE_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - ComplianceVarianceSampleDataAsc = 'COMPLIANCE_VARIANCE_SAMPLE_DATA_ASC', - ComplianceVarianceSampleDataDesc = 'COMPLIANCE_VARIANCE_SAMPLE_DATA_DESC', - ComplianceVarianceSampleIdAsc = 'COMPLIANCE_VARIANCE_SAMPLE_ID_ASC', - ComplianceVarianceSampleIdDesc = 'COMPLIANCE_VARIANCE_SAMPLE_ID_DESC', - ComplianceVarianceSampleUpdatedAtAsc = 'COMPLIANCE_VARIANCE_SAMPLE_UPDATED_AT_ASC', - ComplianceVarianceSampleUpdatedAtDesc = 'COMPLIANCE_VARIANCE_SAMPLE_UPDATED_AT_DESC', - ComplianceVarianceSampleUpdatedBlockIdAsc = 'COMPLIANCE_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - ComplianceVarianceSampleUpdatedBlockIdDesc = 'COMPLIANCE_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - CreatedAtAsc = 'CREATED_AT_ASC', - CreatedAtDesc = 'CREATED_AT_DESC', - CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', - CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', - DistributionsAverageAmountAsc = 'DISTRIBUTIONS_AVERAGE_AMOUNT_ASC', - DistributionsAverageAmountDesc = 'DISTRIBUTIONS_AVERAGE_AMOUNT_DESC', - DistributionsAverageAssetIdAsc = 'DISTRIBUTIONS_AVERAGE_ASSET_ID_ASC', - DistributionsAverageAssetIdDesc = 'DISTRIBUTIONS_AVERAGE_ASSET_ID_DESC', - DistributionsAverageCreatedAtAsc = 'DISTRIBUTIONS_AVERAGE_CREATED_AT_ASC', - DistributionsAverageCreatedAtDesc = 'DISTRIBUTIONS_AVERAGE_CREATED_AT_DESC', - DistributionsAverageCreatedBlockIdAsc = 'DISTRIBUTIONS_AVERAGE_CREATED_BLOCK_ID_ASC', - DistributionsAverageCreatedBlockIdDesc = 'DISTRIBUTIONS_AVERAGE_CREATED_BLOCK_ID_DESC', - DistributionsAverageCurrencyAsc = 'DISTRIBUTIONS_AVERAGE_CURRENCY_ASC', - DistributionsAverageCurrencyDesc = 'DISTRIBUTIONS_AVERAGE_CURRENCY_DESC', - DistributionsAverageExpiresAtAsc = 'DISTRIBUTIONS_AVERAGE_EXPIRES_AT_ASC', - DistributionsAverageExpiresAtDesc = 'DISTRIBUTIONS_AVERAGE_EXPIRES_AT_DESC', - DistributionsAverageIdentityIdAsc = 'DISTRIBUTIONS_AVERAGE_IDENTITY_ID_ASC', - DistributionsAverageIdentityIdDesc = 'DISTRIBUTIONS_AVERAGE_IDENTITY_ID_DESC', - DistributionsAverageIdAsc = 'DISTRIBUTIONS_AVERAGE_ID_ASC', - DistributionsAverageIdDesc = 'DISTRIBUTIONS_AVERAGE_ID_DESC', - DistributionsAverageLocalIdAsc = 'DISTRIBUTIONS_AVERAGE_LOCAL_ID_ASC', - DistributionsAverageLocalIdDesc = 'DISTRIBUTIONS_AVERAGE_LOCAL_ID_DESC', - DistributionsAveragePaymentAtAsc = 'DISTRIBUTIONS_AVERAGE_PAYMENT_AT_ASC', - DistributionsAveragePaymentAtDesc = 'DISTRIBUTIONS_AVERAGE_PAYMENT_AT_DESC', - DistributionsAveragePerShareAsc = 'DISTRIBUTIONS_AVERAGE_PER_SHARE_ASC', - DistributionsAveragePerShareDesc = 'DISTRIBUTIONS_AVERAGE_PER_SHARE_DESC', - DistributionsAveragePortfolioIdAsc = 'DISTRIBUTIONS_AVERAGE_PORTFOLIO_ID_ASC', - DistributionsAveragePortfolioIdDesc = 'DISTRIBUTIONS_AVERAGE_PORTFOLIO_ID_DESC', - DistributionsAverageRemainingAsc = 'DISTRIBUTIONS_AVERAGE_REMAINING_ASC', - DistributionsAverageRemainingDesc = 'DISTRIBUTIONS_AVERAGE_REMAINING_DESC', - DistributionsAverageTaxesAsc = 'DISTRIBUTIONS_AVERAGE_TAXES_ASC', - DistributionsAverageTaxesDesc = 'DISTRIBUTIONS_AVERAGE_TAXES_DESC', - DistributionsAverageUpdatedAtAsc = 'DISTRIBUTIONS_AVERAGE_UPDATED_AT_ASC', - DistributionsAverageUpdatedAtDesc = 'DISTRIBUTIONS_AVERAGE_UPDATED_AT_DESC', - DistributionsAverageUpdatedBlockIdAsc = 'DISTRIBUTIONS_AVERAGE_UPDATED_BLOCK_ID_ASC', - DistributionsAverageUpdatedBlockIdDesc = 'DISTRIBUTIONS_AVERAGE_UPDATED_BLOCK_ID_DESC', - DistributionsCountAsc = 'DISTRIBUTIONS_COUNT_ASC', - DistributionsCountDesc = 'DISTRIBUTIONS_COUNT_DESC', - DistributionsDistinctCountAmountAsc = 'DISTRIBUTIONS_DISTINCT_COUNT_AMOUNT_ASC', - DistributionsDistinctCountAmountDesc = 'DISTRIBUTIONS_DISTINCT_COUNT_AMOUNT_DESC', - DistributionsDistinctCountAssetIdAsc = 'DISTRIBUTIONS_DISTINCT_COUNT_ASSET_ID_ASC', - DistributionsDistinctCountAssetIdDesc = 'DISTRIBUTIONS_DISTINCT_COUNT_ASSET_ID_DESC', - DistributionsDistinctCountCreatedAtAsc = 'DISTRIBUTIONS_DISTINCT_COUNT_CREATED_AT_ASC', - DistributionsDistinctCountCreatedAtDesc = 'DISTRIBUTIONS_DISTINCT_COUNT_CREATED_AT_DESC', - DistributionsDistinctCountCreatedBlockIdAsc = 'DISTRIBUTIONS_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - DistributionsDistinctCountCreatedBlockIdDesc = 'DISTRIBUTIONS_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - DistributionsDistinctCountCurrencyAsc = 'DISTRIBUTIONS_DISTINCT_COUNT_CURRENCY_ASC', - DistributionsDistinctCountCurrencyDesc = 'DISTRIBUTIONS_DISTINCT_COUNT_CURRENCY_DESC', - DistributionsDistinctCountExpiresAtAsc = 'DISTRIBUTIONS_DISTINCT_COUNT_EXPIRES_AT_ASC', - DistributionsDistinctCountExpiresAtDesc = 'DISTRIBUTIONS_DISTINCT_COUNT_EXPIRES_AT_DESC', - DistributionsDistinctCountIdentityIdAsc = 'DISTRIBUTIONS_DISTINCT_COUNT_IDENTITY_ID_ASC', - DistributionsDistinctCountIdentityIdDesc = 'DISTRIBUTIONS_DISTINCT_COUNT_IDENTITY_ID_DESC', - DistributionsDistinctCountIdAsc = 'DISTRIBUTIONS_DISTINCT_COUNT_ID_ASC', - DistributionsDistinctCountIdDesc = 'DISTRIBUTIONS_DISTINCT_COUNT_ID_DESC', - DistributionsDistinctCountLocalIdAsc = 'DISTRIBUTIONS_DISTINCT_COUNT_LOCAL_ID_ASC', - DistributionsDistinctCountLocalIdDesc = 'DISTRIBUTIONS_DISTINCT_COUNT_LOCAL_ID_DESC', - DistributionsDistinctCountPaymentAtAsc = 'DISTRIBUTIONS_DISTINCT_COUNT_PAYMENT_AT_ASC', - DistributionsDistinctCountPaymentAtDesc = 'DISTRIBUTIONS_DISTINCT_COUNT_PAYMENT_AT_DESC', - DistributionsDistinctCountPerShareAsc = 'DISTRIBUTIONS_DISTINCT_COUNT_PER_SHARE_ASC', - DistributionsDistinctCountPerShareDesc = 'DISTRIBUTIONS_DISTINCT_COUNT_PER_SHARE_DESC', - DistributionsDistinctCountPortfolioIdAsc = 'DISTRIBUTIONS_DISTINCT_COUNT_PORTFOLIO_ID_ASC', - DistributionsDistinctCountPortfolioIdDesc = 'DISTRIBUTIONS_DISTINCT_COUNT_PORTFOLIO_ID_DESC', - DistributionsDistinctCountRemainingAsc = 'DISTRIBUTIONS_DISTINCT_COUNT_REMAINING_ASC', - DistributionsDistinctCountRemainingDesc = 'DISTRIBUTIONS_DISTINCT_COUNT_REMAINING_DESC', - DistributionsDistinctCountTaxesAsc = 'DISTRIBUTIONS_DISTINCT_COUNT_TAXES_ASC', - DistributionsDistinctCountTaxesDesc = 'DISTRIBUTIONS_DISTINCT_COUNT_TAXES_DESC', - DistributionsDistinctCountUpdatedAtAsc = 'DISTRIBUTIONS_DISTINCT_COUNT_UPDATED_AT_ASC', - DistributionsDistinctCountUpdatedAtDesc = 'DISTRIBUTIONS_DISTINCT_COUNT_UPDATED_AT_DESC', - DistributionsDistinctCountUpdatedBlockIdAsc = 'DISTRIBUTIONS_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - DistributionsDistinctCountUpdatedBlockIdDesc = 'DISTRIBUTIONS_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - DistributionsMaxAmountAsc = 'DISTRIBUTIONS_MAX_AMOUNT_ASC', - DistributionsMaxAmountDesc = 'DISTRIBUTIONS_MAX_AMOUNT_DESC', - DistributionsMaxAssetIdAsc = 'DISTRIBUTIONS_MAX_ASSET_ID_ASC', - DistributionsMaxAssetIdDesc = 'DISTRIBUTIONS_MAX_ASSET_ID_DESC', - DistributionsMaxCreatedAtAsc = 'DISTRIBUTIONS_MAX_CREATED_AT_ASC', - DistributionsMaxCreatedAtDesc = 'DISTRIBUTIONS_MAX_CREATED_AT_DESC', - DistributionsMaxCreatedBlockIdAsc = 'DISTRIBUTIONS_MAX_CREATED_BLOCK_ID_ASC', - DistributionsMaxCreatedBlockIdDesc = 'DISTRIBUTIONS_MAX_CREATED_BLOCK_ID_DESC', - DistributionsMaxCurrencyAsc = 'DISTRIBUTIONS_MAX_CURRENCY_ASC', - DistributionsMaxCurrencyDesc = 'DISTRIBUTIONS_MAX_CURRENCY_DESC', - DistributionsMaxExpiresAtAsc = 'DISTRIBUTIONS_MAX_EXPIRES_AT_ASC', - DistributionsMaxExpiresAtDesc = 'DISTRIBUTIONS_MAX_EXPIRES_AT_DESC', - DistributionsMaxIdentityIdAsc = 'DISTRIBUTIONS_MAX_IDENTITY_ID_ASC', - DistributionsMaxIdentityIdDesc = 'DISTRIBUTIONS_MAX_IDENTITY_ID_DESC', - DistributionsMaxIdAsc = 'DISTRIBUTIONS_MAX_ID_ASC', - DistributionsMaxIdDesc = 'DISTRIBUTIONS_MAX_ID_DESC', - DistributionsMaxLocalIdAsc = 'DISTRIBUTIONS_MAX_LOCAL_ID_ASC', - DistributionsMaxLocalIdDesc = 'DISTRIBUTIONS_MAX_LOCAL_ID_DESC', - DistributionsMaxPaymentAtAsc = 'DISTRIBUTIONS_MAX_PAYMENT_AT_ASC', - DistributionsMaxPaymentAtDesc = 'DISTRIBUTIONS_MAX_PAYMENT_AT_DESC', - DistributionsMaxPerShareAsc = 'DISTRIBUTIONS_MAX_PER_SHARE_ASC', - DistributionsMaxPerShareDesc = 'DISTRIBUTIONS_MAX_PER_SHARE_DESC', - DistributionsMaxPortfolioIdAsc = 'DISTRIBUTIONS_MAX_PORTFOLIO_ID_ASC', - DistributionsMaxPortfolioIdDesc = 'DISTRIBUTIONS_MAX_PORTFOLIO_ID_DESC', - DistributionsMaxRemainingAsc = 'DISTRIBUTIONS_MAX_REMAINING_ASC', - DistributionsMaxRemainingDesc = 'DISTRIBUTIONS_MAX_REMAINING_DESC', - DistributionsMaxTaxesAsc = 'DISTRIBUTIONS_MAX_TAXES_ASC', - DistributionsMaxTaxesDesc = 'DISTRIBUTIONS_MAX_TAXES_DESC', - DistributionsMaxUpdatedAtAsc = 'DISTRIBUTIONS_MAX_UPDATED_AT_ASC', - DistributionsMaxUpdatedAtDesc = 'DISTRIBUTIONS_MAX_UPDATED_AT_DESC', - DistributionsMaxUpdatedBlockIdAsc = 'DISTRIBUTIONS_MAX_UPDATED_BLOCK_ID_ASC', - DistributionsMaxUpdatedBlockIdDesc = 'DISTRIBUTIONS_MAX_UPDATED_BLOCK_ID_DESC', - DistributionsMinAmountAsc = 'DISTRIBUTIONS_MIN_AMOUNT_ASC', - DistributionsMinAmountDesc = 'DISTRIBUTIONS_MIN_AMOUNT_DESC', - DistributionsMinAssetIdAsc = 'DISTRIBUTIONS_MIN_ASSET_ID_ASC', - DistributionsMinAssetIdDesc = 'DISTRIBUTIONS_MIN_ASSET_ID_DESC', - DistributionsMinCreatedAtAsc = 'DISTRIBUTIONS_MIN_CREATED_AT_ASC', - DistributionsMinCreatedAtDesc = 'DISTRIBUTIONS_MIN_CREATED_AT_DESC', - DistributionsMinCreatedBlockIdAsc = 'DISTRIBUTIONS_MIN_CREATED_BLOCK_ID_ASC', - DistributionsMinCreatedBlockIdDesc = 'DISTRIBUTIONS_MIN_CREATED_BLOCK_ID_DESC', - DistributionsMinCurrencyAsc = 'DISTRIBUTIONS_MIN_CURRENCY_ASC', - DistributionsMinCurrencyDesc = 'DISTRIBUTIONS_MIN_CURRENCY_DESC', - DistributionsMinExpiresAtAsc = 'DISTRIBUTIONS_MIN_EXPIRES_AT_ASC', - DistributionsMinExpiresAtDesc = 'DISTRIBUTIONS_MIN_EXPIRES_AT_DESC', - DistributionsMinIdentityIdAsc = 'DISTRIBUTIONS_MIN_IDENTITY_ID_ASC', - DistributionsMinIdentityIdDesc = 'DISTRIBUTIONS_MIN_IDENTITY_ID_DESC', - DistributionsMinIdAsc = 'DISTRIBUTIONS_MIN_ID_ASC', - DistributionsMinIdDesc = 'DISTRIBUTIONS_MIN_ID_DESC', - DistributionsMinLocalIdAsc = 'DISTRIBUTIONS_MIN_LOCAL_ID_ASC', - DistributionsMinLocalIdDesc = 'DISTRIBUTIONS_MIN_LOCAL_ID_DESC', - DistributionsMinPaymentAtAsc = 'DISTRIBUTIONS_MIN_PAYMENT_AT_ASC', - DistributionsMinPaymentAtDesc = 'DISTRIBUTIONS_MIN_PAYMENT_AT_DESC', - DistributionsMinPerShareAsc = 'DISTRIBUTIONS_MIN_PER_SHARE_ASC', - DistributionsMinPerShareDesc = 'DISTRIBUTIONS_MIN_PER_SHARE_DESC', - DistributionsMinPortfolioIdAsc = 'DISTRIBUTIONS_MIN_PORTFOLIO_ID_ASC', - DistributionsMinPortfolioIdDesc = 'DISTRIBUTIONS_MIN_PORTFOLIO_ID_DESC', - DistributionsMinRemainingAsc = 'DISTRIBUTIONS_MIN_REMAINING_ASC', - DistributionsMinRemainingDesc = 'DISTRIBUTIONS_MIN_REMAINING_DESC', - DistributionsMinTaxesAsc = 'DISTRIBUTIONS_MIN_TAXES_ASC', - DistributionsMinTaxesDesc = 'DISTRIBUTIONS_MIN_TAXES_DESC', - DistributionsMinUpdatedAtAsc = 'DISTRIBUTIONS_MIN_UPDATED_AT_ASC', - DistributionsMinUpdatedAtDesc = 'DISTRIBUTIONS_MIN_UPDATED_AT_DESC', - DistributionsMinUpdatedBlockIdAsc = 'DISTRIBUTIONS_MIN_UPDATED_BLOCK_ID_ASC', - DistributionsMinUpdatedBlockIdDesc = 'DISTRIBUTIONS_MIN_UPDATED_BLOCK_ID_DESC', - DistributionsStddevPopulationAmountAsc = 'DISTRIBUTIONS_STDDEV_POPULATION_AMOUNT_ASC', - DistributionsStddevPopulationAmountDesc = 'DISTRIBUTIONS_STDDEV_POPULATION_AMOUNT_DESC', - DistributionsStddevPopulationAssetIdAsc = 'DISTRIBUTIONS_STDDEV_POPULATION_ASSET_ID_ASC', - DistributionsStddevPopulationAssetIdDesc = 'DISTRIBUTIONS_STDDEV_POPULATION_ASSET_ID_DESC', - DistributionsStddevPopulationCreatedAtAsc = 'DISTRIBUTIONS_STDDEV_POPULATION_CREATED_AT_ASC', - DistributionsStddevPopulationCreatedAtDesc = 'DISTRIBUTIONS_STDDEV_POPULATION_CREATED_AT_DESC', - DistributionsStddevPopulationCreatedBlockIdAsc = 'DISTRIBUTIONS_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - DistributionsStddevPopulationCreatedBlockIdDesc = 'DISTRIBUTIONS_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - DistributionsStddevPopulationCurrencyAsc = 'DISTRIBUTIONS_STDDEV_POPULATION_CURRENCY_ASC', - DistributionsStddevPopulationCurrencyDesc = 'DISTRIBUTIONS_STDDEV_POPULATION_CURRENCY_DESC', - DistributionsStddevPopulationExpiresAtAsc = 'DISTRIBUTIONS_STDDEV_POPULATION_EXPIRES_AT_ASC', - DistributionsStddevPopulationExpiresAtDesc = 'DISTRIBUTIONS_STDDEV_POPULATION_EXPIRES_AT_DESC', - DistributionsStddevPopulationIdentityIdAsc = 'DISTRIBUTIONS_STDDEV_POPULATION_IDENTITY_ID_ASC', - DistributionsStddevPopulationIdentityIdDesc = 'DISTRIBUTIONS_STDDEV_POPULATION_IDENTITY_ID_DESC', - DistributionsStddevPopulationIdAsc = 'DISTRIBUTIONS_STDDEV_POPULATION_ID_ASC', - DistributionsStddevPopulationIdDesc = 'DISTRIBUTIONS_STDDEV_POPULATION_ID_DESC', - DistributionsStddevPopulationLocalIdAsc = 'DISTRIBUTIONS_STDDEV_POPULATION_LOCAL_ID_ASC', - DistributionsStddevPopulationLocalIdDesc = 'DISTRIBUTIONS_STDDEV_POPULATION_LOCAL_ID_DESC', - DistributionsStddevPopulationPaymentAtAsc = 'DISTRIBUTIONS_STDDEV_POPULATION_PAYMENT_AT_ASC', - DistributionsStddevPopulationPaymentAtDesc = 'DISTRIBUTIONS_STDDEV_POPULATION_PAYMENT_AT_DESC', - DistributionsStddevPopulationPerShareAsc = 'DISTRIBUTIONS_STDDEV_POPULATION_PER_SHARE_ASC', - DistributionsStddevPopulationPerShareDesc = 'DISTRIBUTIONS_STDDEV_POPULATION_PER_SHARE_DESC', - DistributionsStddevPopulationPortfolioIdAsc = 'DISTRIBUTIONS_STDDEV_POPULATION_PORTFOLIO_ID_ASC', - DistributionsStddevPopulationPortfolioIdDesc = 'DISTRIBUTIONS_STDDEV_POPULATION_PORTFOLIO_ID_DESC', - DistributionsStddevPopulationRemainingAsc = 'DISTRIBUTIONS_STDDEV_POPULATION_REMAINING_ASC', - DistributionsStddevPopulationRemainingDesc = 'DISTRIBUTIONS_STDDEV_POPULATION_REMAINING_DESC', - DistributionsStddevPopulationTaxesAsc = 'DISTRIBUTIONS_STDDEV_POPULATION_TAXES_ASC', - DistributionsStddevPopulationTaxesDesc = 'DISTRIBUTIONS_STDDEV_POPULATION_TAXES_DESC', - DistributionsStddevPopulationUpdatedAtAsc = 'DISTRIBUTIONS_STDDEV_POPULATION_UPDATED_AT_ASC', - DistributionsStddevPopulationUpdatedAtDesc = 'DISTRIBUTIONS_STDDEV_POPULATION_UPDATED_AT_DESC', - DistributionsStddevPopulationUpdatedBlockIdAsc = 'DISTRIBUTIONS_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - DistributionsStddevPopulationUpdatedBlockIdDesc = 'DISTRIBUTIONS_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - DistributionsStddevSampleAmountAsc = 'DISTRIBUTIONS_STDDEV_SAMPLE_AMOUNT_ASC', - DistributionsStddevSampleAmountDesc = 'DISTRIBUTIONS_STDDEV_SAMPLE_AMOUNT_DESC', - DistributionsStddevSampleAssetIdAsc = 'DISTRIBUTIONS_STDDEV_SAMPLE_ASSET_ID_ASC', - DistributionsStddevSampleAssetIdDesc = 'DISTRIBUTIONS_STDDEV_SAMPLE_ASSET_ID_DESC', - DistributionsStddevSampleCreatedAtAsc = 'DISTRIBUTIONS_STDDEV_SAMPLE_CREATED_AT_ASC', - DistributionsStddevSampleCreatedAtDesc = 'DISTRIBUTIONS_STDDEV_SAMPLE_CREATED_AT_DESC', - DistributionsStddevSampleCreatedBlockIdAsc = 'DISTRIBUTIONS_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - DistributionsStddevSampleCreatedBlockIdDesc = 'DISTRIBUTIONS_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - DistributionsStddevSampleCurrencyAsc = 'DISTRIBUTIONS_STDDEV_SAMPLE_CURRENCY_ASC', - DistributionsStddevSampleCurrencyDesc = 'DISTRIBUTIONS_STDDEV_SAMPLE_CURRENCY_DESC', - DistributionsStddevSampleExpiresAtAsc = 'DISTRIBUTIONS_STDDEV_SAMPLE_EXPIRES_AT_ASC', - DistributionsStddevSampleExpiresAtDesc = 'DISTRIBUTIONS_STDDEV_SAMPLE_EXPIRES_AT_DESC', - DistributionsStddevSampleIdentityIdAsc = 'DISTRIBUTIONS_STDDEV_SAMPLE_IDENTITY_ID_ASC', - DistributionsStddevSampleIdentityIdDesc = 'DISTRIBUTIONS_STDDEV_SAMPLE_IDENTITY_ID_DESC', - DistributionsStddevSampleIdAsc = 'DISTRIBUTIONS_STDDEV_SAMPLE_ID_ASC', - DistributionsStddevSampleIdDesc = 'DISTRIBUTIONS_STDDEV_SAMPLE_ID_DESC', - DistributionsStddevSampleLocalIdAsc = 'DISTRIBUTIONS_STDDEV_SAMPLE_LOCAL_ID_ASC', - DistributionsStddevSampleLocalIdDesc = 'DISTRIBUTIONS_STDDEV_SAMPLE_LOCAL_ID_DESC', - DistributionsStddevSamplePaymentAtAsc = 'DISTRIBUTIONS_STDDEV_SAMPLE_PAYMENT_AT_ASC', - DistributionsStddevSamplePaymentAtDesc = 'DISTRIBUTIONS_STDDEV_SAMPLE_PAYMENT_AT_DESC', - DistributionsStddevSamplePerShareAsc = 'DISTRIBUTIONS_STDDEV_SAMPLE_PER_SHARE_ASC', - DistributionsStddevSamplePerShareDesc = 'DISTRIBUTIONS_STDDEV_SAMPLE_PER_SHARE_DESC', - DistributionsStddevSamplePortfolioIdAsc = 'DISTRIBUTIONS_STDDEV_SAMPLE_PORTFOLIO_ID_ASC', - DistributionsStddevSamplePortfolioIdDesc = 'DISTRIBUTIONS_STDDEV_SAMPLE_PORTFOLIO_ID_DESC', - DistributionsStddevSampleRemainingAsc = 'DISTRIBUTIONS_STDDEV_SAMPLE_REMAINING_ASC', - DistributionsStddevSampleRemainingDesc = 'DISTRIBUTIONS_STDDEV_SAMPLE_REMAINING_DESC', - DistributionsStddevSampleTaxesAsc = 'DISTRIBUTIONS_STDDEV_SAMPLE_TAXES_ASC', - DistributionsStddevSampleTaxesDesc = 'DISTRIBUTIONS_STDDEV_SAMPLE_TAXES_DESC', - DistributionsStddevSampleUpdatedAtAsc = 'DISTRIBUTIONS_STDDEV_SAMPLE_UPDATED_AT_ASC', - DistributionsStddevSampleUpdatedAtDesc = 'DISTRIBUTIONS_STDDEV_SAMPLE_UPDATED_AT_DESC', - DistributionsStddevSampleUpdatedBlockIdAsc = 'DISTRIBUTIONS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - DistributionsStddevSampleUpdatedBlockIdDesc = 'DISTRIBUTIONS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - DistributionsSumAmountAsc = 'DISTRIBUTIONS_SUM_AMOUNT_ASC', - DistributionsSumAmountDesc = 'DISTRIBUTIONS_SUM_AMOUNT_DESC', - DistributionsSumAssetIdAsc = 'DISTRIBUTIONS_SUM_ASSET_ID_ASC', - DistributionsSumAssetIdDesc = 'DISTRIBUTIONS_SUM_ASSET_ID_DESC', - DistributionsSumCreatedAtAsc = 'DISTRIBUTIONS_SUM_CREATED_AT_ASC', - DistributionsSumCreatedAtDesc = 'DISTRIBUTIONS_SUM_CREATED_AT_DESC', - DistributionsSumCreatedBlockIdAsc = 'DISTRIBUTIONS_SUM_CREATED_BLOCK_ID_ASC', - DistributionsSumCreatedBlockIdDesc = 'DISTRIBUTIONS_SUM_CREATED_BLOCK_ID_DESC', - DistributionsSumCurrencyAsc = 'DISTRIBUTIONS_SUM_CURRENCY_ASC', - DistributionsSumCurrencyDesc = 'DISTRIBUTIONS_SUM_CURRENCY_DESC', - DistributionsSumExpiresAtAsc = 'DISTRIBUTIONS_SUM_EXPIRES_AT_ASC', - DistributionsSumExpiresAtDesc = 'DISTRIBUTIONS_SUM_EXPIRES_AT_DESC', - DistributionsSumIdentityIdAsc = 'DISTRIBUTIONS_SUM_IDENTITY_ID_ASC', - DistributionsSumIdentityIdDesc = 'DISTRIBUTIONS_SUM_IDENTITY_ID_DESC', - DistributionsSumIdAsc = 'DISTRIBUTIONS_SUM_ID_ASC', - DistributionsSumIdDesc = 'DISTRIBUTIONS_SUM_ID_DESC', - DistributionsSumLocalIdAsc = 'DISTRIBUTIONS_SUM_LOCAL_ID_ASC', - DistributionsSumLocalIdDesc = 'DISTRIBUTIONS_SUM_LOCAL_ID_DESC', - DistributionsSumPaymentAtAsc = 'DISTRIBUTIONS_SUM_PAYMENT_AT_ASC', - DistributionsSumPaymentAtDesc = 'DISTRIBUTIONS_SUM_PAYMENT_AT_DESC', - DistributionsSumPerShareAsc = 'DISTRIBUTIONS_SUM_PER_SHARE_ASC', - DistributionsSumPerShareDesc = 'DISTRIBUTIONS_SUM_PER_SHARE_DESC', - DistributionsSumPortfolioIdAsc = 'DISTRIBUTIONS_SUM_PORTFOLIO_ID_ASC', - DistributionsSumPortfolioIdDesc = 'DISTRIBUTIONS_SUM_PORTFOLIO_ID_DESC', - DistributionsSumRemainingAsc = 'DISTRIBUTIONS_SUM_REMAINING_ASC', - DistributionsSumRemainingDesc = 'DISTRIBUTIONS_SUM_REMAINING_DESC', - DistributionsSumTaxesAsc = 'DISTRIBUTIONS_SUM_TAXES_ASC', - DistributionsSumTaxesDesc = 'DISTRIBUTIONS_SUM_TAXES_DESC', - DistributionsSumUpdatedAtAsc = 'DISTRIBUTIONS_SUM_UPDATED_AT_ASC', - DistributionsSumUpdatedAtDesc = 'DISTRIBUTIONS_SUM_UPDATED_AT_DESC', - DistributionsSumUpdatedBlockIdAsc = 'DISTRIBUTIONS_SUM_UPDATED_BLOCK_ID_ASC', - DistributionsSumUpdatedBlockIdDesc = 'DISTRIBUTIONS_SUM_UPDATED_BLOCK_ID_DESC', - DistributionsVariancePopulationAmountAsc = 'DISTRIBUTIONS_VARIANCE_POPULATION_AMOUNT_ASC', - DistributionsVariancePopulationAmountDesc = 'DISTRIBUTIONS_VARIANCE_POPULATION_AMOUNT_DESC', - DistributionsVariancePopulationAssetIdAsc = 'DISTRIBUTIONS_VARIANCE_POPULATION_ASSET_ID_ASC', - DistributionsVariancePopulationAssetIdDesc = 'DISTRIBUTIONS_VARIANCE_POPULATION_ASSET_ID_DESC', - DistributionsVariancePopulationCreatedAtAsc = 'DISTRIBUTIONS_VARIANCE_POPULATION_CREATED_AT_ASC', - DistributionsVariancePopulationCreatedAtDesc = 'DISTRIBUTIONS_VARIANCE_POPULATION_CREATED_AT_DESC', - DistributionsVariancePopulationCreatedBlockIdAsc = 'DISTRIBUTIONS_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - DistributionsVariancePopulationCreatedBlockIdDesc = 'DISTRIBUTIONS_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - DistributionsVariancePopulationCurrencyAsc = 'DISTRIBUTIONS_VARIANCE_POPULATION_CURRENCY_ASC', - DistributionsVariancePopulationCurrencyDesc = 'DISTRIBUTIONS_VARIANCE_POPULATION_CURRENCY_DESC', - DistributionsVariancePopulationExpiresAtAsc = 'DISTRIBUTIONS_VARIANCE_POPULATION_EXPIRES_AT_ASC', - DistributionsVariancePopulationExpiresAtDesc = 'DISTRIBUTIONS_VARIANCE_POPULATION_EXPIRES_AT_DESC', - DistributionsVariancePopulationIdentityIdAsc = 'DISTRIBUTIONS_VARIANCE_POPULATION_IDENTITY_ID_ASC', - DistributionsVariancePopulationIdentityIdDesc = 'DISTRIBUTIONS_VARIANCE_POPULATION_IDENTITY_ID_DESC', - DistributionsVariancePopulationIdAsc = 'DISTRIBUTIONS_VARIANCE_POPULATION_ID_ASC', - DistributionsVariancePopulationIdDesc = 'DISTRIBUTIONS_VARIANCE_POPULATION_ID_DESC', - DistributionsVariancePopulationLocalIdAsc = 'DISTRIBUTIONS_VARIANCE_POPULATION_LOCAL_ID_ASC', - DistributionsVariancePopulationLocalIdDesc = 'DISTRIBUTIONS_VARIANCE_POPULATION_LOCAL_ID_DESC', - DistributionsVariancePopulationPaymentAtAsc = 'DISTRIBUTIONS_VARIANCE_POPULATION_PAYMENT_AT_ASC', - DistributionsVariancePopulationPaymentAtDesc = 'DISTRIBUTIONS_VARIANCE_POPULATION_PAYMENT_AT_DESC', - DistributionsVariancePopulationPerShareAsc = 'DISTRIBUTIONS_VARIANCE_POPULATION_PER_SHARE_ASC', - DistributionsVariancePopulationPerShareDesc = 'DISTRIBUTIONS_VARIANCE_POPULATION_PER_SHARE_DESC', - DistributionsVariancePopulationPortfolioIdAsc = 'DISTRIBUTIONS_VARIANCE_POPULATION_PORTFOLIO_ID_ASC', - DistributionsVariancePopulationPortfolioIdDesc = 'DISTRIBUTIONS_VARIANCE_POPULATION_PORTFOLIO_ID_DESC', - DistributionsVariancePopulationRemainingAsc = 'DISTRIBUTIONS_VARIANCE_POPULATION_REMAINING_ASC', - DistributionsVariancePopulationRemainingDesc = 'DISTRIBUTIONS_VARIANCE_POPULATION_REMAINING_DESC', - DistributionsVariancePopulationTaxesAsc = 'DISTRIBUTIONS_VARIANCE_POPULATION_TAXES_ASC', - DistributionsVariancePopulationTaxesDesc = 'DISTRIBUTIONS_VARIANCE_POPULATION_TAXES_DESC', - DistributionsVariancePopulationUpdatedAtAsc = 'DISTRIBUTIONS_VARIANCE_POPULATION_UPDATED_AT_ASC', - DistributionsVariancePopulationUpdatedAtDesc = 'DISTRIBUTIONS_VARIANCE_POPULATION_UPDATED_AT_DESC', - DistributionsVariancePopulationUpdatedBlockIdAsc = 'DISTRIBUTIONS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - DistributionsVariancePopulationUpdatedBlockIdDesc = 'DISTRIBUTIONS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - DistributionsVarianceSampleAmountAsc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_AMOUNT_ASC', - DistributionsVarianceSampleAmountDesc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_AMOUNT_DESC', - DistributionsVarianceSampleAssetIdAsc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_ASSET_ID_ASC', - DistributionsVarianceSampleAssetIdDesc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_ASSET_ID_DESC', - DistributionsVarianceSampleCreatedAtAsc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_CREATED_AT_ASC', - DistributionsVarianceSampleCreatedAtDesc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_CREATED_AT_DESC', - DistributionsVarianceSampleCreatedBlockIdAsc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - DistributionsVarianceSampleCreatedBlockIdDesc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - DistributionsVarianceSampleCurrencyAsc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_CURRENCY_ASC', - DistributionsVarianceSampleCurrencyDesc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_CURRENCY_DESC', - DistributionsVarianceSampleExpiresAtAsc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_EXPIRES_AT_ASC', - DistributionsVarianceSampleExpiresAtDesc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_EXPIRES_AT_DESC', - DistributionsVarianceSampleIdentityIdAsc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_IDENTITY_ID_ASC', - DistributionsVarianceSampleIdentityIdDesc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_IDENTITY_ID_DESC', - DistributionsVarianceSampleIdAsc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_ID_ASC', - DistributionsVarianceSampleIdDesc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_ID_DESC', - DistributionsVarianceSampleLocalIdAsc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_LOCAL_ID_ASC', - DistributionsVarianceSampleLocalIdDesc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_LOCAL_ID_DESC', - DistributionsVarianceSamplePaymentAtAsc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_PAYMENT_AT_ASC', - DistributionsVarianceSamplePaymentAtDesc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_PAYMENT_AT_DESC', - DistributionsVarianceSamplePerShareAsc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_PER_SHARE_ASC', - DistributionsVarianceSamplePerShareDesc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_PER_SHARE_DESC', - DistributionsVarianceSamplePortfolioIdAsc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_PORTFOLIO_ID_ASC', - DistributionsVarianceSamplePortfolioIdDesc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_PORTFOLIO_ID_DESC', - DistributionsVarianceSampleRemainingAsc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_REMAINING_ASC', - DistributionsVarianceSampleRemainingDesc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_REMAINING_DESC', - DistributionsVarianceSampleTaxesAsc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_TAXES_ASC', - DistributionsVarianceSampleTaxesDesc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_TAXES_DESC', - DistributionsVarianceSampleUpdatedAtAsc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_UPDATED_AT_ASC', - DistributionsVarianceSampleUpdatedAtDesc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_UPDATED_AT_DESC', - DistributionsVarianceSampleUpdatedBlockIdAsc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - DistributionsVarianceSampleUpdatedBlockIdDesc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - DocumentsAverageAssetIdAsc = 'DOCUMENTS_AVERAGE_ASSET_ID_ASC', - DocumentsAverageAssetIdDesc = 'DOCUMENTS_AVERAGE_ASSET_ID_DESC', - DocumentsAverageContentHashAsc = 'DOCUMENTS_AVERAGE_CONTENT_HASH_ASC', - DocumentsAverageContentHashDesc = 'DOCUMENTS_AVERAGE_CONTENT_HASH_DESC', - DocumentsAverageCreatedAtAsc = 'DOCUMENTS_AVERAGE_CREATED_AT_ASC', - DocumentsAverageCreatedAtDesc = 'DOCUMENTS_AVERAGE_CREATED_AT_DESC', - DocumentsAverageCreatedBlockIdAsc = 'DOCUMENTS_AVERAGE_CREATED_BLOCK_ID_ASC', - DocumentsAverageCreatedBlockIdDesc = 'DOCUMENTS_AVERAGE_CREATED_BLOCK_ID_DESC', - DocumentsAverageDocumentIdAsc = 'DOCUMENTS_AVERAGE_DOCUMENT_ID_ASC', - DocumentsAverageDocumentIdDesc = 'DOCUMENTS_AVERAGE_DOCUMENT_ID_DESC', - DocumentsAverageFiledAtAsc = 'DOCUMENTS_AVERAGE_FILED_AT_ASC', - DocumentsAverageFiledAtDesc = 'DOCUMENTS_AVERAGE_FILED_AT_DESC', - DocumentsAverageIdAsc = 'DOCUMENTS_AVERAGE_ID_ASC', - DocumentsAverageIdDesc = 'DOCUMENTS_AVERAGE_ID_DESC', - DocumentsAverageLinkAsc = 'DOCUMENTS_AVERAGE_LINK_ASC', - DocumentsAverageLinkDesc = 'DOCUMENTS_AVERAGE_LINK_DESC', - DocumentsAverageNameAsc = 'DOCUMENTS_AVERAGE_NAME_ASC', - DocumentsAverageNameDesc = 'DOCUMENTS_AVERAGE_NAME_DESC', - DocumentsAverageTypeAsc = 'DOCUMENTS_AVERAGE_TYPE_ASC', - DocumentsAverageTypeDesc = 'DOCUMENTS_AVERAGE_TYPE_DESC', - DocumentsAverageUpdatedAtAsc = 'DOCUMENTS_AVERAGE_UPDATED_AT_ASC', - DocumentsAverageUpdatedAtDesc = 'DOCUMENTS_AVERAGE_UPDATED_AT_DESC', - DocumentsAverageUpdatedBlockIdAsc = 'DOCUMENTS_AVERAGE_UPDATED_BLOCK_ID_ASC', - DocumentsAverageUpdatedBlockIdDesc = 'DOCUMENTS_AVERAGE_UPDATED_BLOCK_ID_DESC', - DocumentsCountAsc = 'DOCUMENTS_COUNT_ASC', - DocumentsCountDesc = 'DOCUMENTS_COUNT_DESC', - DocumentsDistinctCountAssetIdAsc = 'DOCUMENTS_DISTINCT_COUNT_ASSET_ID_ASC', - DocumentsDistinctCountAssetIdDesc = 'DOCUMENTS_DISTINCT_COUNT_ASSET_ID_DESC', - DocumentsDistinctCountContentHashAsc = 'DOCUMENTS_DISTINCT_COUNT_CONTENT_HASH_ASC', - DocumentsDistinctCountContentHashDesc = 'DOCUMENTS_DISTINCT_COUNT_CONTENT_HASH_DESC', - DocumentsDistinctCountCreatedAtAsc = 'DOCUMENTS_DISTINCT_COUNT_CREATED_AT_ASC', - DocumentsDistinctCountCreatedAtDesc = 'DOCUMENTS_DISTINCT_COUNT_CREATED_AT_DESC', - DocumentsDistinctCountCreatedBlockIdAsc = 'DOCUMENTS_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - DocumentsDistinctCountCreatedBlockIdDesc = 'DOCUMENTS_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - DocumentsDistinctCountDocumentIdAsc = 'DOCUMENTS_DISTINCT_COUNT_DOCUMENT_ID_ASC', - DocumentsDistinctCountDocumentIdDesc = 'DOCUMENTS_DISTINCT_COUNT_DOCUMENT_ID_DESC', - DocumentsDistinctCountFiledAtAsc = 'DOCUMENTS_DISTINCT_COUNT_FILED_AT_ASC', - DocumentsDistinctCountFiledAtDesc = 'DOCUMENTS_DISTINCT_COUNT_FILED_AT_DESC', - DocumentsDistinctCountIdAsc = 'DOCUMENTS_DISTINCT_COUNT_ID_ASC', - DocumentsDistinctCountIdDesc = 'DOCUMENTS_DISTINCT_COUNT_ID_DESC', - DocumentsDistinctCountLinkAsc = 'DOCUMENTS_DISTINCT_COUNT_LINK_ASC', - DocumentsDistinctCountLinkDesc = 'DOCUMENTS_DISTINCT_COUNT_LINK_DESC', - DocumentsDistinctCountNameAsc = 'DOCUMENTS_DISTINCT_COUNT_NAME_ASC', - DocumentsDistinctCountNameDesc = 'DOCUMENTS_DISTINCT_COUNT_NAME_DESC', - DocumentsDistinctCountTypeAsc = 'DOCUMENTS_DISTINCT_COUNT_TYPE_ASC', - DocumentsDistinctCountTypeDesc = 'DOCUMENTS_DISTINCT_COUNT_TYPE_DESC', - DocumentsDistinctCountUpdatedAtAsc = 'DOCUMENTS_DISTINCT_COUNT_UPDATED_AT_ASC', - DocumentsDistinctCountUpdatedAtDesc = 'DOCUMENTS_DISTINCT_COUNT_UPDATED_AT_DESC', - DocumentsDistinctCountUpdatedBlockIdAsc = 'DOCUMENTS_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - DocumentsDistinctCountUpdatedBlockIdDesc = 'DOCUMENTS_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - DocumentsMaxAssetIdAsc = 'DOCUMENTS_MAX_ASSET_ID_ASC', - DocumentsMaxAssetIdDesc = 'DOCUMENTS_MAX_ASSET_ID_DESC', - DocumentsMaxContentHashAsc = 'DOCUMENTS_MAX_CONTENT_HASH_ASC', - DocumentsMaxContentHashDesc = 'DOCUMENTS_MAX_CONTENT_HASH_DESC', - DocumentsMaxCreatedAtAsc = 'DOCUMENTS_MAX_CREATED_AT_ASC', - DocumentsMaxCreatedAtDesc = 'DOCUMENTS_MAX_CREATED_AT_DESC', - DocumentsMaxCreatedBlockIdAsc = 'DOCUMENTS_MAX_CREATED_BLOCK_ID_ASC', - DocumentsMaxCreatedBlockIdDesc = 'DOCUMENTS_MAX_CREATED_BLOCK_ID_DESC', - DocumentsMaxDocumentIdAsc = 'DOCUMENTS_MAX_DOCUMENT_ID_ASC', - DocumentsMaxDocumentIdDesc = 'DOCUMENTS_MAX_DOCUMENT_ID_DESC', - DocumentsMaxFiledAtAsc = 'DOCUMENTS_MAX_FILED_AT_ASC', - DocumentsMaxFiledAtDesc = 'DOCUMENTS_MAX_FILED_AT_DESC', - DocumentsMaxIdAsc = 'DOCUMENTS_MAX_ID_ASC', - DocumentsMaxIdDesc = 'DOCUMENTS_MAX_ID_DESC', - DocumentsMaxLinkAsc = 'DOCUMENTS_MAX_LINK_ASC', - DocumentsMaxLinkDesc = 'DOCUMENTS_MAX_LINK_DESC', - DocumentsMaxNameAsc = 'DOCUMENTS_MAX_NAME_ASC', - DocumentsMaxNameDesc = 'DOCUMENTS_MAX_NAME_DESC', - DocumentsMaxTypeAsc = 'DOCUMENTS_MAX_TYPE_ASC', - DocumentsMaxTypeDesc = 'DOCUMENTS_MAX_TYPE_DESC', - DocumentsMaxUpdatedAtAsc = 'DOCUMENTS_MAX_UPDATED_AT_ASC', - DocumentsMaxUpdatedAtDesc = 'DOCUMENTS_MAX_UPDATED_AT_DESC', - DocumentsMaxUpdatedBlockIdAsc = 'DOCUMENTS_MAX_UPDATED_BLOCK_ID_ASC', - DocumentsMaxUpdatedBlockIdDesc = 'DOCUMENTS_MAX_UPDATED_BLOCK_ID_DESC', - DocumentsMinAssetIdAsc = 'DOCUMENTS_MIN_ASSET_ID_ASC', - DocumentsMinAssetIdDesc = 'DOCUMENTS_MIN_ASSET_ID_DESC', - DocumentsMinContentHashAsc = 'DOCUMENTS_MIN_CONTENT_HASH_ASC', - DocumentsMinContentHashDesc = 'DOCUMENTS_MIN_CONTENT_HASH_DESC', - DocumentsMinCreatedAtAsc = 'DOCUMENTS_MIN_CREATED_AT_ASC', - DocumentsMinCreatedAtDesc = 'DOCUMENTS_MIN_CREATED_AT_DESC', - DocumentsMinCreatedBlockIdAsc = 'DOCUMENTS_MIN_CREATED_BLOCK_ID_ASC', - DocumentsMinCreatedBlockIdDesc = 'DOCUMENTS_MIN_CREATED_BLOCK_ID_DESC', - DocumentsMinDocumentIdAsc = 'DOCUMENTS_MIN_DOCUMENT_ID_ASC', - DocumentsMinDocumentIdDesc = 'DOCUMENTS_MIN_DOCUMENT_ID_DESC', - DocumentsMinFiledAtAsc = 'DOCUMENTS_MIN_FILED_AT_ASC', - DocumentsMinFiledAtDesc = 'DOCUMENTS_MIN_FILED_AT_DESC', - DocumentsMinIdAsc = 'DOCUMENTS_MIN_ID_ASC', - DocumentsMinIdDesc = 'DOCUMENTS_MIN_ID_DESC', - DocumentsMinLinkAsc = 'DOCUMENTS_MIN_LINK_ASC', - DocumentsMinLinkDesc = 'DOCUMENTS_MIN_LINK_DESC', - DocumentsMinNameAsc = 'DOCUMENTS_MIN_NAME_ASC', - DocumentsMinNameDesc = 'DOCUMENTS_MIN_NAME_DESC', - DocumentsMinTypeAsc = 'DOCUMENTS_MIN_TYPE_ASC', - DocumentsMinTypeDesc = 'DOCUMENTS_MIN_TYPE_DESC', - DocumentsMinUpdatedAtAsc = 'DOCUMENTS_MIN_UPDATED_AT_ASC', - DocumentsMinUpdatedAtDesc = 'DOCUMENTS_MIN_UPDATED_AT_DESC', - DocumentsMinUpdatedBlockIdAsc = 'DOCUMENTS_MIN_UPDATED_BLOCK_ID_ASC', - DocumentsMinUpdatedBlockIdDesc = 'DOCUMENTS_MIN_UPDATED_BLOCK_ID_DESC', - DocumentsStddevPopulationAssetIdAsc = 'DOCUMENTS_STDDEV_POPULATION_ASSET_ID_ASC', - DocumentsStddevPopulationAssetIdDesc = 'DOCUMENTS_STDDEV_POPULATION_ASSET_ID_DESC', - DocumentsStddevPopulationContentHashAsc = 'DOCUMENTS_STDDEV_POPULATION_CONTENT_HASH_ASC', - DocumentsStddevPopulationContentHashDesc = 'DOCUMENTS_STDDEV_POPULATION_CONTENT_HASH_DESC', - DocumentsStddevPopulationCreatedAtAsc = 'DOCUMENTS_STDDEV_POPULATION_CREATED_AT_ASC', - DocumentsStddevPopulationCreatedAtDesc = 'DOCUMENTS_STDDEV_POPULATION_CREATED_AT_DESC', - DocumentsStddevPopulationCreatedBlockIdAsc = 'DOCUMENTS_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - DocumentsStddevPopulationCreatedBlockIdDesc = 'DOCUMENTS_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - DocumentsStddevPopulationDocumentIdAsc = 'DOCUMENTS_STDDEV_POPULATION_DOCUMENT_ID_ASC', - DocumentsStddevPopulationDocumentIdDesc = 'DOCUMENTS_STDDEV_POPULATION_DOCUMENT_ID_DESC', - DocumentsStddevPopulationFiledAtAsc = 'DOCUMENTS_STDDEV_POPULATION_FILED_AT_ASC', - DocumentsStddevPopulationFiledAtDesc = 'DOCUMENTS_STDDEV_POPULATION_FILED_AT_DESC', - DocumentsStddevPopulationIdAsc = 'DOCUMENTS_STDDEV_POPULATION_ID_ASC', - DocumentsStddevPopulationIdDesc = 'DOCUMENTS_STDDEV_POPULATION_ID_DESC', - DocumentsStddevPopulationLinkAsc = 'DOCUMENTS_STDDEV_POPULATION_LINK_ASC', - DocumentsStddevPopulationLinkDesc = 'DOCUMENTS_STDDEV_POPULATION_LINK_DESC', - DocumentsStddevPopulationNameAsc = 'DOCUMENTS_STDDEV_POPULATION_NAME_ASC', - DocumentsStddevPopulationNameDesc = 'DOCUMENTS_STDDEV_POPULATION_NAME_DESC', - DocumentsStddevPopulationTypeAsc = 'DOCUMENTS_STDDEV_POPULATION_TYPE_ASC', - DocumentsStddevPopulationTypeDesc = 'DOCUMENTS_STDDEV_POPULATION_TYPE_DESC', - DocumentsStddevPopulationUpdatedAtAsc = 'DOCUMENTS_STDDEV_POPULATION_UPDATED_AT_ASC', - DocumentsStddevPopulationUpdatedAtDesc = 'DOCUMENTS_STDDEV_POPULATION_UPDATED_AT_DESC', - DocumentsStddevPopulationUpdatedBlockIdAsc = 'DOCUMENTS_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - DocumentsStddevPopulationUpdatedBlockIdDesc = 'DOCUMENTS_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - DocumentsStddevSampleAssetIdAsc = 'DOCUMENTS_STDDEV_SAMPLE_ASSET_ID_ASC', - DocumentsStddevSampleAssetIdDesc = 'DOCUMENTS_STDDEV_SAMPLE_ASSET_ID_DESC', - DocumentsStddevSampleContentHashAsc = 'DOCUMENTS_STDDEV_SAMPLE_CONTENT_HASH_ASC', - DocumentsStddevSampleContentHashDesc = 'DOCUMENTS_STDDEV_SAMPLE_CONTENT_HASH_DESC', - DocumentsStddevSampleCreatedAtAsc = 'DOCUMENTS_STDDEV_SAMPLE_CREATED_AT_ASC', - DocumentsStddevSampleCreatedAtDesc = 'DOCUMENTS_STDDEV_SAMPLE_CREATED_AT_DESC', - DocumentsStddevSampleCreatedBlockIdAsc = 'DOCUMENTS_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - DocumentsStddevSampleCreatedBlockIdDesc = 'DOCUMENTS_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - DocumentsStddevSampleDocumentIdAsc = 'DOCUMENTS_STDDEV_SAMPLE_DOCUMENT_ID_ASC', - DocumentsStddevSampleDocumentIdDesc = 'DOCUMENTS_STDDEV_SAMPLE_DOCUMENT_ID_DESC', - DocumentsStddevSampleFiledAtAsc = 'DOCUMENTS_STDDEV_SAMPLE_FILED_AT_ASC', - DocumentsStddevSampleFiledAtDesc = 'DOCUMENTS_STDDEV_SAMPLE_FILED_AT_DESC', - DocumentsStddevSampleIdAsc = 'DOCUMENTS_STDDEV_SAMPLE_ID_ASC', - DocumentsStddevSampleIdDesc = 'DOCUMENTS_STDDEV_SAMPLE_ID_DESC', - DocumentsStddevSampleLinkAsc = 'DOCUMENTS_STDDEV_SAMPLE_LINK_ASC', - DocumentsStddevSampleLinkDesc = 'DOCUMENTS_STDDEV_SAMPLE_LINK_DESC', - DocumentsStddevSampleNameAsc = 'DOCUMENTS_STDDEV_SAMPLE_NAME_ASC', - DocumentsStddevSampleNameDesc = 'DOCUMENTS_STDDEV_SAMPLE_NAME_DESC', - DocumentsStddevSampleTypeAsc = 'DOCUMENTS_STDDEV_SAMPLE_TYPE_ASC', - DocumentsStddevSampleTypeDesc = 'DOCUMENTS_STDDEV_SAMPLE_TYPE_DESC', - DocumentsStddevSampleUpdatedAtAsc = 'DOCUMENTS_STDDEV_SAMPLE_UPDATED_AT_ASC', - DocumentsStddevSampleUpdatedAtDesc = 'DOCUMENTS_STDDEV_SAMPLE_UPDATED_AT_DESC', - DocumentsStddevSampleUpdatedBlockIdAsc = 'DOCUMENTS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - DocumentsStddevSampleUpdatedBlockIdDesc = 'DOCUMENTS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - DocumentsSumAssetIdAsc = 'DOCUMENTS_SUM_ASSET_ID_ASC', - DocumentsSumAssetIdDesc = 'DOCUMENTS_SUM_ASSET_ID_DESC', - DocumentsSumContentHashAsc = 'DOCUMENTS_SUM_CONTENT_HASH_ASC', - DocumentsSumContentHashDesc = 'DOCUMENTS_SUM_CONTENT_HASH_DESC', - DocumentsSumCreatedAtAsc = 'DOCUMENTS_SUM_CREATED_AT_ASC', - DocumentsSumCreatedAtDesc = 'DOCUMENTS_SUM_CREATED_AT_DESC', - DocumentsSumCreatedBlockIdAsc = 'DOCUMENTS_SUM_CREATED_BLOCK_ID_ASC', - DocumentsSumCreatedBlockIdDesc = 'DOCUMENTS_SUM_CREATED_BLOCK_ID_DESC', - DocumentsSumDocumentIdAsc = 'DOCUMENTS_SUM_DOCUMENT_ID_ASC', - DocumentsSumDocumentIdDesc = 'DOCUMENTS_SUM_DOCUMENT_ID_DESC', - DocumentsSumFiledAtAsc = 'DOCUMENTS_SUM_FILED_AT_ASC', - DocumentsSumFiledAtDesc = 'DOCUMENTS_SUM_FILED_AT_DESC', - DocumentsSumIdAsc = 'DOCUMENTS_SUM_ID_ASC', - DocumentsSumIdDesc = 'DOCUMENTS_SUM_ID_DESC', - DocumentsSumLinkAsc = 'DOCUMENTS_SUM_LINK_ASC', - DocumentsSumLinkDesc = 'DOCUMENTS_SUM_LINK_DESC', - DocumentsSumNameAsc = 'DOCUMENTS_SUM_NAME_ASC', - DocumentsSumNameDesc = 'DOCUMENTS_SUM_NAME_DESC', - DocumentsSumTypeAsc = 'DOCUMENTS_SUM_TYPE_ASC', - DocumentsSumTypeDesc = 'DOCUMENTS_SUM_TYPE_DESC', - DocumentsSumUpdatedAtAsc = 'DOCUMENTS_SUM_UPDATED_AT_ASC', - DocumentsSumUpdatedAtDesc = 'DOCUMENTS_SUM_UPDATED_AT_DESC', - DocumentsSumUpdatedBlockIdAsc = 'DOCUMENTS_SUM_UPDATED_BLOCK_ID_ASC', - DocumentsSumUpdatedBlockIdDesc = 'DOCUMENTS_SUM_UPDATED_BLOCK_ID_DESC', - DocumentsVariancePopulationAssetIdAsc = 'DOCUMENTS_VARIANCE_POPULATION_ASSET_ID_ASC', - DocumentsVariancePopulationAssetIdDesc = 'DOCUMENTS_VARIANCE_POPULATION_ASSET_ID_DESC', - DocumentsVariancePopulationContentHashAsc = 'DOCUMENTS_VARIANCE_POPULATION_CONTENT_HASH_ASC', - DocumentsVariancePopulationContentHashDesc = 'DOCUMENTS_VARIANCE_POPULATION_CONTENT_HASH_DESC', - DocumentsVariancePopulationCreatedAtAsc = 'DOCUMENTS_VARIANCE_POPULATION_CREATED_AT_ASC', - DocumentsVariancePopulationCreatedAtDesc = 'DOCUMENTS_VARIANCE_POPULATION_CREATED_AT_DESC', - DocumentsVariancePopulationCreatedBlockIdAsc = 'DOCUMENTS_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - DocumentsVariancePopulationCreatedBlockIdDesc = 'DOCUMENTS_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - DocumentsVariancePopulationDocumentIdAsc = 'DOCUMENTS_VARIANCE_POPULATION_DOCUMENT_ID_ASC', - DocumentsVariancePopulationDocumentIdDesc = 'DOCUMENTS_VARIANCE_POPULATION_DOCUMENT_ID_DESC', - DocumentsVariancePopulationFiledAtAsc = 'DOCUMENTS_VARIANCE_POPULATION_FILED_AT_ASC', - DocumentsVariancePopulationFiledAtDesc = 'DOCUMENTS_VARIANCE_POPULATION_FILED_AT_DESC', - DocumentsVariancePopulationIdAsc = 'DOCUMENTS_VARIANCE_POPULATION_ID_ASC', - DocumentsVariancePopulationIdDesc = 'DOCUMENTS_VARIANCE_POPULATION_ID_DESC', - DocumentsVariancePopulationLinkAsc = 'DOCUMENTS_VARIANCE_POPULATION_LINK_ASC', - DocumentsVariancePopulationLinkDesc = 'DOCUMENTS_VARIANCE_POPULATION_LINK_DESC', - DocumentsVariancePopulationNameAsc = 'DOCUMENTS_VARIANCE_POPULATION_NAME_ASC', - DocumentsVariancePopulationNameDesc = 'DOCUMENTS_VARIANCE_POPULATION_NAME_DESC', - DocumentsVariancePopulationTypeAsc = 'DOCUMENTS_VARIANCE_POPULATION_TYPE_ASC', - DocumentsVariancePopulationTypeDesc = 'DOCUMENTS_VARIANCE_POPULATION_TYPE_DESC', - DocumentsVariancePopulationUpdatedAtAsc = 'DOCUMENTS_VARIANCE_POPULATION_UPDATED_AT_ASC', - DocumentsVariancePopulationUpdatedAtDesc = 'DOCUMENTS_VARIANCE_POPULATION_UPDATED_AT_DESC', - DocumentsVariancePopulationUpdatedBlockIdAsc = 'DOCUMENTS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - DocumentsVariancePopulationUpdatedBlockIdDesc = 'DOCUMENTS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - DocumentsVarianceSampleAssetIdAsc = 'DOCUMENTS_VARIANCE_SAMPLE_ASSET_ID_ASC', - DocumentsVarianceSampleAssetIdDesc = 'DOCUMENTS_VARIANCE_SAMPLE_ASSET_ID_DESC', - DocumentsVarianceSampleContentHashAsc = 'DOCUMENTS_VARIANCE_SAMPLE_CONTENT_HASH_ASC', - DocumentsVarianceSampleContentHashDesc = 'DOCUMENTS_VARIANCE_SAMPLE_CONTENT_HASH_DESC', - DocumentsVarianceSampleCreatedAtAsc = 'DOCUMENTS_VARIANCE_SAMPLE_CREATED_AT_ASC', - DocumentsVarianceSampleCreatedAtDesc = 'DOCUMENTS_VARIANCE_SAMPLE_CREATED_AT_DESC', - DocumentsVarianceSampleCreatedBlockIdAsc = 'DOCUMENTS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - DocumentsVarianceSampleCreatedBlockIdDesc = 'DOCUMENTS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - DocumentsVarianceSampleDocumentIdAsc = 'DOCUMENTS_VARIANCE_SAMPLE_DOCUMENT_ID_ASC', - DocumentsVarianceSampleDocumentIdDesc = 'DOCUMENTS_VARIANCE_SAMPLE_DOCUMENT_ID_DESC', - DocumentsVarianceSampleFiledAtAsc = 'DOCUMENTS_VARIANCE_SAMPLE_FILED_AT_ASC', - DocumentsVarianceSampleFiledAtDesc = 'DOCUMENTS_VARIANCE_SAMPLE_FILED_AT_DESC', - DocumentsVarianceSampleIdAsc = 'DOCUMENTS_VARIANCE_SAMPLE_ID_ASC', - DocumentsVarianceSampleIdDesc = 'DOCUMENTS_VARIANCE_SAMPLE_ID_DESC', - DocumentsVarianceSampleLinkAsc = 'DOCUMENTS_VARIANCE_SAMPLE_LINK_ASC', - DocumentsVarianceSampleLinkDesc = 'DOCUMENTS_VARIANCE_SAMPLE_LINK_DESC', - DocumentsVarianceSampleNameAsc = 'DOCUMENTS_VARIANCE_SAMPLE_NAME_ASC', - DocumentsVarianceSampleNameDesc = 'DOCUMENTS_VARIANCE_SAMPLE_NAME_DESC', - DocumentsVarianceSampleTypeAsc = 'DOCUMENTS_VARIANCE_SAMPLE_TYPE_ASC', - DocumentsVarianceSampleTypeDesc = 'DOCUMENTS_VARIANCE_SAMPLE_TYPE_DESC', - DocumentsVarianceSampleUpdatedAtAsc = 'DOCUMENTS_VARIANCE_SAMPLE_UPDATED_AT_ASC', - DocumentsVarianceSampleUpdatedAtDesc = 'DOCUMENTS_VARIANCE_SAMPLE_UPDATED_AT_DESC', - DocumentsVarianceSampleUpdatedBlockIdAsc = 'DOCUMENTS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - DocumentsVarianceSampleUpdatedBlockIdDesc = 'DOCUMENTS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - EventIdxAsc = 'EVENT_IDX_ASC', - EventIdxDesc = 'EVENT_IDX_DESC', - FundingsAverageAmountAsc = 'FUNDINGS_AVERAGE_AMOUNT_ASC', - FundingsAverageAmountDesc = 'FUNDINGS_AVERAGE_AMOUNT_DESC', - FundingsAverageAssetIdAsc = 'FUNDINGS_AVERAGE_ASSET_ID_ASC', - FundingsAverageAssetIdDesc = 'FUNDINGS_AVERAGE_ASSET_ID_DESC', - FundingsAverageCreatedAtAsc = 'FUNDINGS_AVERAGE_CREATED_AT_ASC', - FundingsAverageCreatedAtDesc = 'FUNDINGS_AVERAGE_CREATED_AT_DESC', - FundingsAverageCreatedBlockIdAsc = 'FUNDINGS_AVERAGE_CREATED_BLOCK_ID_ASC', - FundingsAverageCreatedBlockIdDesc = 'FUNDINGS_AVERAGE_CREATED_BLOCK_ID_DESC', - FundingsAverageDatetimeAsc = 'FUNDINGS_AVERAGE_DATETIME_ASC', - FundingsAverageDatetimeDesc = 'FUNDINGS_AVERAGE_DATETIME_DESC', - FundingsAverageFundingRoundAsc = 'FUNDINGS_AVERAGE_FUNDING_ROUND_ASC', - FundingsAverageFundingRoundDesc = 'FUNDINGS_AVERAGE_FUNDING_ROUND_DESC', - FundingsAverageIdAsc = 'FUNDINGS_AVERAGE_ID_ASC', - FundingsAverageIdDesc = 'FUNDINGS_AVERAGE_ID_DESC', - FundingsAverageTotalFundingAmountAsc = 'FUNDINGS_AVERAGE_TOTAL_FUNDING_AMOUNT_ASC', - FundingsAverageTotalFundingAmountDesc = 'FUNDINGS_AVERAGE_TOTAL_FUNDING_AMOUNT_DESC', - FundingsAverageUpdatedAtAsc = 'FUNDINGS_AVERAGE_UPDATED_AT_ASC', - FundingsAverageUpdatedAtDesc = 'FUNDINGS_AVERAGE_UPDATED_AT_DESC', - FundingsAverageUpdatedBlockIdAsc = 'FUNDINGS_AVERAGE_UPDATED_BLOCK_ID_ASC', - FundingsAverageUpdatedBlockIdDesc = 'FUNDINGS_AVERAGE_UPDATED_BLOCK_ID_DESC', - FundingsCountAsc = 'FUNDINGS_COUNT_ASC', - FundingsCountDesc = 'FUNDINGS_COUNT_DESC', - FundingsDistinctCountAmountAsc = 'FUNDINGS_DISTINCT_COUNT_AMOUNT_ASC', - FundingsDistinctCountAmountDesc = 'FUNDINGS_DISTINCT_COUNT_AMOUNT_DESC', - FundingsDistinctCountAssetIdAsc = 'FUNDINGS_DISTINCT_COUNT_ASSET_ID_ASC', - FundingsDistinctCountAssetIdDesc = 'FUNDINGS_DISTINCT_COUNT_ASSET_ID_DESC', - FundingsDistinctCountCreatedAtAsc = 'FUNDINGS_DISTINCT_COUNT_CREATED_AT_ASC', - FundingsDistinctCountCreatedAtDesc = 'FUNDINGS_DISTINCT_COUNT_CREATED_AT_DESC', - FundingsDistinctCountCreatedBlockIdAsc = 'FUNDINGS_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - FundingsDistinctCountCreatedBlockIdDesc = 'FUNDINGS_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - FundingsDistinctCountDatetimeAsc = 'FUNDINGS_DISTINCT_COUNT_DATETIME_ASC', - FundingsDistinctCountDatetimeDesc = 'FUNDINGS_DISTINCT_COUNT_DATETIME_DESC', - FundingsDistinctCountFundingRoundAsc = 'FUNDINGS_DISTINCT_COUNT_FUNDING_ROUND_ASC', - FundingsDistinctCountFundingRoundDesc = 'FUNDINGS_DISTINCT_COUNT_FUNDING_ROUND_DESC', - FundingsDistinctCountIdAsc = 'FUNDINGS_DISTINCT_COUNT_ID_ASC', - FundingsDistinctCountIdDesc = 'FUNDINGS_DISTINCT_COUNT_ID_DESC', - FundingsDistinctCountTotalFundingAmountAsc = 'FUNDINGS_DISTINCT_COUNT_TOTAL_FUNDING_AMOUNT_ASC', - FundingsDistinctCountTotalFundingAmountDesc = 'FUNDINGS_DISTINCT_COUNT_TOTAL_FUNDING_AMOUNT_DESC', - FundingsDistinctCountUpdatedAtAsc = 'FUNDINGS_DISTINCT_COUNT_UPDATED_AT_ASC', - FundingsDistinctCountUpdatedAtDesc = 'FUNDINGS_DISTINCT_COUNT_UPDATED_AT_DESC', - FundingsDistinctCountUpdatedBlockIdAsc = 'FUNDINGS_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - FundingsDistinctCountUpdatedBlockIdDesc = 'FUNDINGS_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - FundingsMaxAmountAsc = 'FUNDINGS_MAX_AMOUNT_ASC', - FundingsMaxAmountDesc = 'FUNDINGS_MAX_AMOUNT_DESC', - FundingsMaxAssetIdAsc = 'FUNDINGS_MAX_ASSET_ID_ASC', - FundingsMaxAssetIdDesc = 'FUNDINGS_MAX_ASSET_ID_DESC', - FundingsMaxCreatedAtAsc = 'FUNDINGS_MAX_CREATED_AT_ASC', - FundingsMaxCreatedAtDesc = 'FUNDINGS_MAX_CREATED_AT_DESC', - FundingsMaxCreatedBlockIdAsc = 'FUNDINGS_MAX_CREATED_BLOCK_ID_ASC', - FundingsMaxCreatedBlockIdDesc = 'FUNDINGS_MAX_CREATED_BLOCK_ID_DESC', - FundingsMaxDatetimeAsc = 'FUNDINGS_MAX_DATETIME_ASC', - FundingsMaxDatetimeDesc = 'FUNDINGS_MAX_DATETIME_DESC', - FundingsMaxFundingRoundAsc = 'FUNDINGS_MAX_FUNDING_ROUND_ASC', - FundingsMaxFundingRoundDesc = 'FUNDINGS_MAX_FUNDING_ROUND_DESC', - FundingsMaxIdAsc = 'FUNDINGS_MAX_ID_ASC', - FundingsMaxIdDesc = 'FUNDINGS_MAX_ID_DESC', - FundingsMaxTotalFundingAmountAsc = 'FUNDINGS_MAX_TOTAL_FUNDING_AMOUNT_ASC', - FundingsMaxTotalFundingAmountDesc = 'FUNDINGS_MAX_TOTAL_FUNDING_AMOUNT_DESC', - FundingsMaxUpdatedAtAsc = 'FUNDINGS_MAX_UPDATED_AT_ASC', - FundingsMaxUpdatedAtDesc = 'FUNDINGS_MAX_UPDATED_AT_DESC', - FundingsMaxUpdatedBlockIdAsc = 'FUNDINGS_MAX_UPDATED_BLOCK_ID_ASC', - FundingsMaxUpdatedBlockIdDesc = 'FUNDINGS_MAX_UPDATED_BLOCK_ID_DESC', - FundingsMinAmountAsc = 'FUNDINGS_MIN_AMOUNT_ASC', - FundingsMinAmountDesc = 'FUNDINGS_MIN_AMOUNT_DESC', - FundingsMinAssetIdAsc = 'FUNDINGS_MIN_ASSET_ID_ASC', - FundingsMinAssetIdDesc = 'FUNDINGS_MIN_ASSET_ID_DESC', - FundingsMinCreatedAtAsc = 'FUNDINGS_MIN_CREATED_AT_ASC', - FundingsMinCreatedAtDesc = 'FUNDINGS_MIN_CREATED_AT_DESC', - FundingsMinCreatedBlockIdAsc = 'FUNDINGS_MIN_CREATED_BLOCK_ID_ASC', - FundingsMinCreatedBlockIdDesc = 'FUNDINGS_MIN_CREATED_BLOCK_ID_DESC', - FundingsMinDatetimeAsc = 'FUNDINGS_MIN_DATETIME_ASC', - FundingsMinDatetimeDesc = 'FUNDINGS_MIN_DATETIME_DESC', - FundingsMinFundingRoundAsc = 'FUNDINGS_MIN_FUNDING_ROUND_ASC', - FundingsMinFundingRoundDesc = 'FUNDINGS_MIN_FUNDING_ROUND_DESC', - FundingsMinIdAsc = 'FUNDINGS_MIN_ID_ASC', - FundingsMinIdDesc = 'FUNDINGS_MIN_ID_DESC', - FundingsMinTotalFundingAmountAsc = 'FUNDINGS_MIN_TOTAL_FUNDING_AMOUNT_ASC', - FundingsMinTotalFundingAmountDesc = 'FUNDINGS_MIN_TOTAL_FUNDING_AMOUNT_DESC', - FundingsMinUpdatedAtAsc = 'FUNDINGS_MIN_UPDATED_AT_ASC', - FundingsMinUpdatedAtDesc = 'FUNDINGS_MIN_UPDATED_AT_DESC', - FundingsMinUpdatedBlockIdAsc = 'FUNDINGS_MIN_UPDATED_BLOCK_ID_ASC', - FundingsMinUpdatedBlockIdDesc = 'FUNDINGS_MIN_UPDATED_BLOCK_ID_DESC', - FundingsStddevPopulationAmountAsc = 'FUNDINGS_STDDEV_POPULATION_AMOUNT_ASC', - FundingsStddevPopulationAmountDesc = 'FUNDINGS_STDDEV_POPULATION_AMOUNT_DESC', - FundingsStddevPopulationAssetIdAsc = 'FUNDINGS_STDDEV_POPULATION_ASSET_ID_ASC', - FundingsStddevPopulationAssetIdDesc = 'FUNDINGS_STDDEV_POPULATION_ASSET_ID_DESC', - FundingsStddevPopulationCreatedAtAsc = 'FUNDINGS_STDDEV_POPULATION_CREATED_AT_ASC', - FundingsStddevPopulationCreatedAtDesc = 'FUNDINGS_STDDEV_POPULATION_CREATED_AT_DESC', - FundingsStddevPopulationCreatedBlockIdAsc = 'FUNDINGS_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - FundingsStddevPopulationCreatedBlockIdDesc = 'FUNDINGS_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - FundingsStddevPopulationDatetimeAsc = 'FUNDINGS_STDDEV_POPULATION_DATETIME_ASC', - FundingsStddevPopulationDatetimeDesc = 'FUNDINGS_STDDEV_POPULATION_DATETIME_DESC', - FundingsStddevPopulationFundingRoundAsc = 'FUNDINGS_STDDEV_POPULATION_FUNDING_ROUND_ASC', - FundingsStddevPopulationFundingRoundDesc = 'FUNDINGS_STDDEV_POPULATION_FUNDING_ROUND_DESC', - FundingsStddevPopulationIdAsc = 'FUNDINGS_STDDEV_POPULATION_ID_ASC', - FundingsStddevPopulationIdDesc = 'FUNDINGS_STDDEV_POPULATION_ID_DESC', - FundingsStddevPopulationTotalFundingAmountAsc = 'FUNDINGS_STDDEV_POPULATION_TOTAL_FUNDING_AMOUNT_ASC', - FundingsStddevPopulationTotalFundingAmountDesc = 'FUNDINGS_STDDEV_POPULATION_TOTAL_FUNDING_AMOUNT_DESC', - FundingsStddevPopulationUpdatedAtAsc = 'FUNDINGS_STDDEV_POPULATION_UPDATED_AT_ASC', - FundingsStddevPopulationUpdatedAtDesc = 'FUNDINGS_STDDEV_POPULATION_UPDATED_AT_DESC', - FundingsStddevPopulationUpdatedBlockIdAsc = 'FUNDINGS_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - FundingsStddevPopulationUpdatedBlockIdDesc = 'FUNDINGS_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - FundingsStddevSampleAmountAsc = 'FUNDINGS_STDDEV_SAMPLE_AMOUNT_ASC', - FundingsStddevSampleAmountDesc = 'FUNDINGS_STDDEV_SAMPLE_AMOUNT_DESC', - FundingsStddevSampleAssetIdAsc = 'FUNDINGS_STDDEV_SAMPLE_ASSET_ID_ASC', - FundingsStddevSampleAssetIdDesc = 'FUNDINGS_STDDEV_SAMPLE_ASSET_ID_DESC', - FundingsStddevSampleCreatedAtAsc = 'FUNDINGS_STDDEV_SAMPLE_CREATED_AT_ASC', - FundingsStddevSampleCreatedAtDesc = 'FUNDINGS_STDDEV_SAMPLE_CREATED_AT_DESC', - FundingsStddevSampleCreatedBlockIdAsc = 'FUNDINGS_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - FundingsStddevSampleCreatedBlockIdDesc = 'FUNDINGS_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - FundingsStddevSampleDatetimeAsc = 'FUNDINGS_STDDEV_SAMPLE_DATETIME_ASC', - FundingsStddevSampleDatetimeDesc = 'FUNDINGS_STDDEV_SAMPLE_DATETIME_DESC', - FundingsStddevSampleFundingRoundAsc = 'FUNDINGS_STDDEV_SAMPLE_FUNDING_ROUND_ASC', - FundingsStddevSampleFundingRoundDesc = 'FUNDINGS_STDDEV_SAMPLE_FUNDING_ROUND_DESC', - FundingsStddevSampleIdAsc = 'FUNDINGS_STDDEV_SAMPLE_ID_ASC', - FundingsStddevSampleIdDesc = 'FUNDINGS_STDDEV_SAMPLE_ID_DESC', - FundingsStddevSampleTotalFundingAmountAsc = 'FUNDINGS_STDDEV_SAMPLE_TOTAL_FUNDING_AMOUNT_ASC', - FundingsStddevSampleTotalFundingAmountDesc = 'FUNDINGS_STDDEV_SAMPLE_TOTAL_FUNDING_AMOUNT_DESC', - FundingsStddevSampleUpdatedAtAsc = 'FUNDINGS_STDDEV_SAMPLE_UPDATED_AT_ASC', - FundingsStddevSampleUpdatedAtDesc = 'FUNDINGS_STDDEV_SAMPLE_UPDATED_AT_DESC', - FundingsStddevSampleUpdatedBlockIdAsc = 'FUNDINGS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - FundingsStddevSampleUpdatedBlockIdDesc = 'FUNDINGS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - FundingsSumAmountAsc = 'FUNDINGS_SUM_AMOUNT_ASC', - FundingsSumAmountDesc = 'FUNDINGS_SUM_AMOUNT_DESC', - FundingsSumAssetIdAsc = 'FUNDINGS_SUM_ASSET_ID_ASC', - FundingsSumAssetIdDesc = 'FUNDINGS_SUM_ASSET_ID_DESC', - FundingsSumCreatedAtAsc = 'FUNDINGS_SUM_CREATED_AT_ASC', - FundingsSumCreatedAtDesc = 'FUNDINGS_SUM_CREATED_AT_DESC', - FundingsSumCreatedBlockIdAsc = 'FUNDINGS_SUM_CREATED_BLOCK_ID_ASC', - FundingsSumCreatedBlockIdDesc = 'FUNDINGS_SUM_CREATED_BLOCK_ID_DESC', - FundingsSumDatetimeAsc = 'FUNDINGS_SUM_DATETIME_ASC', - FundingsSumDatetimeDesc = 'FUNDINGS_SUM_DATETIME_DESC', - FundingsSumFundingRoundAsc = 'FUNDINGS_SUM_FUNDING_ROUND_ASC', - FundingsSumFundingRoundDesc = 'FUNDINGS_SUM_FUNDING_ROUND_DESC', - FundingsSumIdAsc = 'FUNDINGS_SUM_ID_ASC', - FundingsSumIdDesc = 'FUNDINGS_SUM_ID_DESC', - FundingsSumTotalFundingAmountAsc = 'FUNDINGS_SUM_TOTAL_FUNDING_AMOUNT_ASC', - FundingsSumTotalFundingAmountDesc = 'FUNDINGS_SUM_TOTAL_FUNDING_AMOUNT_DESC', - FundingsSumUpdatedAtAsc = 'FUNDINGS_SUM_UPDATED_AT_ASC', - FundingsSumUpdatedAtDesc = 'FUNDINGS_SUM_UPDATED_AT_DESC', - FundingsSumUpdatedBlockIdAsc = 'FUNDINGS_SUM_UPDATED_BLOCK_ID_ASC', - FundingsSumUpdatedBlockIdDesc = 'FUNDINGS_SUM_UPDATED_BLOCK_ID_DESC', - FundingsVariancePopulationAmountAsc = 'FUNDINGS_VARIANCE_POPULATION_AMOUNT_ASC', - FundingsVariancePopulationAmountDesc = 'FUNDINGS_VARIANCE_POPULATION_AMOUNT_DESC', - FundingsVariancePopulationAssetIdAsc = 'FUNDINGS_VARIANCE_POPULATION_ASSET_ID_ASC', - FundingsVariancePopulationAssetIdDesc = 'FUNDINGS_VARIANCE_POPULATION_ASSET_ID_DESC', - FundingsVariancePopulationCreatedAtAsc = 'FUNDINGS_VARIANCE_POPULATION_CREATED_AT_ASC', - FundingsVariancePopulationCreatedAtDesc = 'FUNDINGS_VARIANCE_POPULATION_CREATED_AT_DESC', - FundingsVariancePopulationCreatedBlockIdAsc = 'FUNDINGS_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - FundingsVariancePopulationCreatedBlockIdDesc = 'FUNDINGS_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - FundingsVariancePopulationDatetimeAsc = 'FUNDINGS_VARIANCE_POPULATION_DATETIME_ASC', - FundingsVariancePopulationDatetimeDesc = 'FUNDINGS_VARIANCE_POPULATION_DATETIME_DESC', - FundingsVariancePopulationFundingRoundAsc = 'FUNDINGS_VARIANCE_POPULATION_FUNDING_ROUND_ASC', - FundingsVariancePopulationFundingRoundDesc = 'FUNDINGS_VARIANCE_POPULATION_FUNDING_ROUND_DESC', - FundingsVariancePopulationIdAsc = 'FUNDINGS_VARIANCE_POPULATION_ID_ASC', - FundingsVariancePopulationIdDesc = 'FUNDINGS_VARIANCE_POPULATION_ID_DESC', - FundingsVariancePopulationTotalFundingAmountAsc = 'FUNDINGS_VARIANCE_POPULATION_TOTAL_FUNDING_AMOUNT_ASC', - FundingsVariancePopulationTotalFundingAmountDesc = 'FUNDINGS_VARIANCE_POPULATION_TOTAL_FUNDING_AMOUNT_DESC', - FundingsVariancePopulationUpdatedAtAsc = 'FUNDINGS_VARIANCE_POPULATION_UPDATED_AT_ASC', - FundingsVariancePopulationUpdatedAtDesc = 'FUNDINGS_VARIANCE_POPULATION_UPDATED_AT_DESC', - FundingsVariancePopulationUpdatedBlockIdAsc = 'FUNDINGS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - FundingsVariancePopulationUpdatedBlockIdDesc = 'FUNDINGS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - FundingsVarianceSampleAmountAsc = 'FUNDINGS_VARIANCE_SAMPLE_AMOUNT_ASC', - FundingsVarianceSampleAmountDesc = 'FUNDINGS_VARIANCE_SAMPLE_AMOUNT_DESC', - FundingsVarianceSampleAssetIdAsc = 'FUNDINGS_VARIANCE_SAMPLE_ASSET_ID_ASC', - FundingsVarianceSampleAssetIdDesc = 'FUNDINGS_VARIANCE_SAMPLE_ASSET_ID_DESC', - FundingsVarianceSampleCreatedAtAsc = 'FUNDINGS_VARIANCE_SAMPLE_CREATED_AT_ASC', - FundingsVarianceSampleCreatedAtDesc = 'FUNDINGS_VARIANCE_SAMPLE_CREATED_AT_DESC', - FundingsVarianceSampleCreatedBlockIdAsc = 'FUNDINGS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - FundingsVarianceSampleCreatedBlockIdDesc = 'FUNDINGS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - FundingsVarianceSampleDatetimeAsc = 'FUNDINGS_VARIANCE_SAMPLE_DATETIME_ASC', - FundingsVarianceSampleDatetimeDesc = 'FUNDINGS_VARIANCE_SAMPLE_DATETIME_DESC', - FundingsVarianceSampleFundingRoundAsc = 'FUNDINGS_VARIANCE_SAMPLE_FUNDING_ROUND_ASC', - FundingsVarianceSampleFundingRoundDesc = 'FUNDINGS_VARIANCE_SAMPLE_FUNDING_ROUND_DESC', - FundingsVarianceSampleIdAsc = 'FUNDINGS_VARIANCE_SAMPLE_ID_ASC', - FundingsVarianceSampleIdDesc = 'FUNDINGS_VARIANCE_SAMPLE_ID_DESC', - FundingsVarianceSampleTotalFundingAmountAsc = 'FUNDINGS_VARIANCE_SAMPLE_TOTAL_FUNDING_AMOUNT_ASC', - FundingsVarianceSampleTotalFundingAmountDesc = 'FUNDINGS_VARIANCE_SAMPLE_TOTAL_FUNDING_AMOUNT_DESC', - FundingsVarianceSampleUpdatedAtAsc = 'FUNDINGS_VARIANCE_SAMPLE_UPDATED_AT_ASC', - FundingsVarianceSampleUpdatedAtDesc = 'FUNDINGS_VARIANCE_SAMPLE_UPDATED_AT_DESC', - FundingsVarianceSampleUpdatedBlockIdAsc = 'FUNDINGS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - FundingsVarianceSampleUpdatedBlockIdDesc = 'FUNDINGS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - FundingRoundAsc = 'FUNDING_ROUND_ASC', - FundingRoundDesc = 'FUNDING_ROUND_DESC', - HoldersAverageAmountAsc = 'HOLDERS_AVERAGE_AMOUNT_ASC', - HoldersAverageAmountDesc = 'HOLDERS_AVERAGE_AMOUNT_DESC', - HoldersAverageAssetIdAsc = 'HOLDERS_AVERAGE_ASSET_ID_ASC', - HoldersAverageAssetIdDesc = 'HOLDERS_AVERAGE_ASSET_ID_DESC', - HoldersAverageCreatedAtAsc = 'HOLDERS_AVERAGE_CREATED_AT_ASC', - HoldersAverageCreatedAtDesc = 'HOLDERS_AVERAGE_CREATED_AT_DESC', - HoldersAverageCreatedBlockIdAsc = 'HOLDERS_AVERAGE_CREATED_BLOCK_ID_ASC', - HoldersAverageCreatedBlockIdDesc = 'HOLDERS_AVERAGE_CREATED_BLOCK_ID_DESC', - HoldersAverageIdentityIdAsc = 'HOLDERS_AVERAGE_IDENTITY_ID_ASC', - HoldersAverageIdentityIdDesc = 'HOLDERS_AVERAGE_IDENTITY_ID_DESC', - HoldersAverageIdAsc = 'HOLDERS_AVERAGE_ID_ASC', - HoldersAverageIdDesc = 'HOLDERS_AVERAGE_ID_DESC', - HoldersAverageUpdatedAtAsc = 'HOLDERS_AVERAGE_UPDATED_AT_ASC', - HoldersAverageUpdatedAtDesc = 'HOLDERS_AVERAGE_UPDATED_AT_DESC', - HoldersAverageUpdatedBlockIdAsc = 'HOLDERS_AVERAGE_UPDATED_BLOCK_ID_ASC', - HoldersAverageUpdatedBlockIdDesc = 'HOLDERS_AVERAGE_UPDATED_BLOCK_ID_DESC', - HoldersCountAsc = 'HOLDERS_COUNT_ASC', - HoldersCountDesc = 'HOLDERS_COUNT_DESC', - HoldersDistinctCountAmountAsc = 'HOLDERS_DISTINCT_COUNT_AMOUNT_ASC', - HoldersDistinctCountAmountDesc = 'HOLDERS_DISTINCT_COUNT_AMOUNT_DESC', - HoldersDistinctCountAssetIdAsc = 'HOLDERS_DISTINCT_COUNT_ASSET_ID_ASC', - HoldersDistinctCountAssetIdDesc = 'HOLDERS_DISTINCT_COUNT_ASSET_ID_DESC', - HoldersDistinctCountCreatedAtAsc = 'HOLDERS_DISTINCT_COUNT_CREATED_AT_ASC', - HoldersDistinctCountCreatedAtDesc = 'HOLDERS_DISTINCT_COUNT_CREATED_AT_DESC', - HoldersDistinctCountCreatedBlockIdAsc = 'HOLDERS_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - HoldersDistinctCountCreatedBlockIdDesc = 'HOLDERS_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - HoldersDistinctCountIdentityIdAsc = 'HOLDERS_DISTINCT_COUNT_IDENTITY_ID_ASC', - HoldersDistinctCountIdentityIdDesc = 'HOLDERS_DISTINCT_COUNT_IDENTITY_ID_DESC', - HoldersDistinctCountIdAsc = 'HOLDERS_DISTINCT_COUNT_ID_ASC', - HoldersDistinctCountIdDesc = 'HOLDERS_DISTINCT_COUNT_ID_DESC', - HoldersDistinctCountUpdatedAtAsc = 'HOLDERS_DISTINCT_COUNT_UPDATED_AT_ASC', - HoldersDistinctCountUpdatedAtDesc = 'HOLDERS_DISTINCT_COUNT_UPDATED_AT_DESC', - HoldersDistinctCountUpdatedBlockIdAsc = 'HOLDERS_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - HoldersDistinctCountUpdatedBlockIdDesc = 'HOLDERS_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - HoldersMaxAmountAsc = 'HOLDERS_MAX_AMOUNT_ASC', - HoldersMaxAmountDesc = 'HOLDERS_MAX_AMOUNT_DESC', - HoldersMaxAssetIdAsc = 'HOLDERS_MAX_ASSET_ID_ASC', - HoldersMaxAssetIdDesc = 'HOLDERS_MAX_ASSET_ID_DESC', - HoldersMaxCreatedAtAsc = 'HOLDERS_MAX_CREATED_AT_ASC', - HoldersMaxCreatedAtDesc = 'HOLDERS_MAX_CREATED_AT_DESC', - HoldersMaxCreatedBlockIdAsc = 'HOLDERS_MAX_CREATED_BLOCK_ID_ASC', - HoldersMaxCreatedBlockIdDesc = 'HOLDERS_MAX_CREATED_BLOCK_ID_DESC', - HoldersMaxIdentityIdAsc = 'HOLDERS_MAX_IDENTITY_ID_ASC', - HoldersMaxIdentityIdDesc = 'HOLDERS_MAX_IDENTITY_ID_DESC', - HoldersMaxIdAsc = 'HOLDERS_MAX_ID_ASC', - HoldersMaxIdDesc = 'HOLDERS_MAX_ID_DESC', - HoldersMaxUpdatedAtAsc = 'HOLDERS_MAX_UPDATED_AT_ASC', - HoldersMaxUpdatedAtDesc = 'HOLDERS_MAX_UPDATED_AT_DESC', - HoldersMaxUpdatedBlockIdAsc = 'HOLDERS_MAX_UPDATED_BLOCK_ID_ASC', - HoldersMaxUpdatedBlockIdDesc = 'HOLDERS_MAX_UPDATED_BLOCK_ID_DESC', - HoldersMinAmountAsc = 'HOLDERS_MIN_AMOUNT_ASC', - HoldersMinAmountDesc = 'HOLDERS_MIN_AMOUNT_DESC', - HoldersMinAssetIdAsc = 'HOLDERS_MIN_ASSET_ID_ASC', - HoldersMinAssetIdDesc = 'HOLDERS_MIN_ASSET_ID_DESC', - HoldersMinCreatedAtAsc = 'HOLDERS_MIN_CREATED_AT_ASC', - HoldersMinCreatedAtDesc = 'HOLDERS_MIN_CREATED_AT_DESC', - HoldersMinCreatedBlockIdAsc = 'HOLDERS_MIN_CREATED_BLOCK_ID_ASC', - HoldersMinCreatedBlockIdDesc = 'HOLDERS_MIN_CREATED_BLOCK_ID_DESC', - HoldersMinIdentityIdAsc = 'HOLDERS_MIN_IDENTITY_ID_ASC', - HoldersMinIdentityIdDesc = 'HOLDERS_MIN_IDENTITY_ID_DESC', - HoldersMinIdAsc = 'HOLDERS_MIN_ID_ASC', - HoldersMinIdDesc = 'HOLDERS_MIN_ID_DESC', - HoldersMinUpdatedAtAsc = 'HOLDERS_MIN_UPDATED_AT_ASC', - HoldersMinUpdatedAtDesc = 'HOLDERS_MIN_UPDATED_AT_DESC', - HoldersMinUpdatedBlockIdAsc = 'HOLDERS_MIN_UPDATED_BLOCK_ID_ASC', - HoldersMinUpdatedBlockIdDesc = 'HOLDERS_MIN_UPDATED_BLOCK_ID_DESC', - HoldersStddevPopulationAmountAsc = 'HOLDERS_STDDEV_POPULATION_AMOUNT_ASC', - HoldersStddevPopulationAmountDesc = 'HOLDERS_STDDEV_POPULATION_AMOUNT_DESC', - HoldersStddevPopulationAssetIdAsc = 'HOLDERS_STDDEV_POPULATION_ASSET_ID_ASC', - HoldersStddevPopulationAssetIdDesc = 'HOLDERS_STDDEV_POPULATION_ASSET_ID_DESC', - HoldersStddevPopulationCreatedAtAsc = 'HOLDERS_STDDEV_POPULATION_CREATED_AT_ASC', - HoldersStddevPopulationCreatedAtDesc = 'HOLDERS_STDDEV_POPULATION_CREATED_AT_DESC', - HoldersStddevPopulationCreatedBlockIdAsc = 'HOLDERS_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - HoldersStddevPopulationCreatedBlockIdDesc = 'HOLDERS_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - HoldersStddevPopulationIdentityIdAsc = 'HOLDERS_STDDEV_POPULATION_IDENTITY_ID_ASC', - HoldersStddevPopulationIdentityIdDesc = 'HOLDERS_STDDEV_POPULATION_IDENTITY_ID_DESC', - HoldersStddevPopulationIdAsc = 'HOLDERS_STDDEV_POPULATION_ID_ASC', - HoldersStddevPopulationIdDesc = 'HOLDERS_STDDEV_POPULATION_ID_DESC', - HoldersStddevPopulationUpdatedAtAsc = 'HOLDERS_STDDEV_POPULATION_UPDATED_AT_ASC', - HoldersStddevPopulationUpdatedAtDesc = 'HOLDERS_STDDEV_POPULATION_UPDATED_AT_DESC', - HoldersStddevPopulationUpdatedBlockIdAsc = 'HOLDERS_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - HoldersStddevPopulationUpdatedBlockIdDesc = 'HOLDERS_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - HoldersStddevSampleAmountAsc = 'HOLDERS_STDDEV_SAMPLE_AMOUNT_ASC', - HoldersStddevSampleAmountDesc = 'HOLDERS_STDDEV_SAMPLE_AMOUNT_DESC', - HoldersStddevSampleAssetIdAsc = 'HOLDERS_STDDEV_SAMPLE_ASSET_ID_ASC', - HoldersStddevSampleAssetIdDesc = 'HOLDERS_STDDEV_SAMPLE_ASSET_ID_DESC', - HoldersStddevSampleCreatedAtAsc = 'HOLDERS_STDDEV_SAMPLE_CREATED_AT_ASC', - HoldersStddevSampleCreatedAtDesc = 'HOLDERS_STDDEV_SAMPLE_CREATED_AT_DESC', - HoldersStddevSampleCreatedBlockIdAsc = 'HOLDERS_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - HoldersStddevSampleCreatedBlockIdDesc = 'HOLDERS_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - HoldersStddevSampleIdentityIdAsc = 'HOLDERS_STDDEV_SAMPLE_IDENTITY_ID_ASC', - HoldersStddevSampleIdentityIdDesc = 'HOLDERS_STDDEV_SAMPLE_IDENTITY_ID_DESC', - HoldersStddevSampleIdAsc = 'HOLDERS_STDDEV_SAMPLE_ID_ASC', - HoldersStddevSampleIdDesc = 'HOLDERS_STDDEV_SAMPLE_ID_DESC', - HoldersStddevSampleUpdatedAtAsc = 'HOLDERS_STDDEV_SAMPLE_UPDATED_AT_ASC', - HoldersStddevSampleUpdatedAtDesc = 'HOLDERS_STDDEV_SAMPLE_UPDATED_AT_DESC', - HoldersStddevSampleUpdatedBlockIdAsc = 'HOLDERS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - HoldersStddevSampleUpdatedBlockIdDesc = 'HOLDERS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - HoldersSumAmountAsc = 'HOLDERS_SUM_AMOUNT_ASC', - HoldersSumAmountDesc = 'HOLDERS_SUM_AMOUNT_DESC', - HoldersSumAssetIdAsc = 'HOLDERS_SUM_ASSET_ID_ASC', - HoldersSumAssetIdDesc = 'HOLDERS_SUM_ASSET_ID_DESC', - HoldersSumCreatedAtAsc = 'HOLDERS_SUM_CREATED_AT_ASC', - HoldersSumCreatedAtDesc = 'HOLDERS_SUM_CREATED_AT_DESC', - HoldersSumCreatedBlockIdAsc = 'HOLDERS_SUM_CREATED_BLOCK_ID_ASC', - HoldersSumCreatedBlockIdDesc = 'HOLDERS_SUM_CREATED_BLOCK_ID_DESC', - HoldersSumIdentityIdAsc = 'HOLDERS_SUM_IDENTITY_ID_ASC', - HoldersSumIdentityIdDesc = 'HOLDERS_SUM_IDENTITY_ID_DESC', - HoldersSumIdAsc = 'HOLDERS_SUM_ID_ASC', - HoldersSumIdDesc = 'HOLDERS_SUM_ID_DESC', - HoldersSumUpdatedAtAsc = 'HOLDERS_SUM_UPDATED_AT_ASC', - HoldersSumUpdatedAtDesc = 'HOLDERS_SUM_UPDATED_AT_DESC', - HoldersSumUpdatedBlockIdAsc = 'HOLDERS_SUM_UPDATED_BLOCK_ID_ASC', - HoldersSumUpdatedBlockIdDesc = 'HOLDERS_SUM_UPDATED_BLOCK_ID_DESC', - HoldersVariancePopulationAmountAsc = 'HOLDERS_VARIANCE_POPULATION_AMOUNT_ASC', - HoldersVariancePopulationAmountDesc = 'HOLDERS_VARIANCE_POPULATION_AMOUNT_DESC', - HoldersVariancePopulationAssetIdAsc = 'HOLDERS_VARIANCE_POPULATION_ASSET_ID_ASC', - HoldersVariancePopulationAssetIdDesc = 'HOLDERS_VARIANCE_POPULATION_ASSET_ID_DESC', - HoldersVariancePopulationCreatedAtAsc = 'HOLDERS_VARIANCE_POPULATION_CREATED_AT_ASC', - HoldersVariancePopulationCreatedAtDesc = 'HOLDERS_VARIANCE_POPULATION_CREATED_AT_DESC', - HoldersVariancePopulationCreatedBlockIdAsc = 'HOLDERS_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - HoldersVariancePopulationCreatedBlockIdDesc = 'HOLDERS_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - HoldersVariancePopulationIdentityIdAsc = 'HOLDERS_VARIANCE_POPULATION_IDENTITY_ID_ASC', - HoldersVariancePopulationIdentityIdDesc = 'HOLDERS_VARIANCE_POPULATION_IDENTITY_ID_DESC', - HoldersVariancePopulationIdAsc = 'HOLDERS_VARIANCE_POPULATION_ID_ASC', - HoldersVariancePopulationIdDesc = 'HOLDERS_VARIANCE_POPULATION_ID_DESC', - HoldersVariancePopulationUpdatedAtAsc = 'HOLDERS_VARIANCE_POPULATION_UPDATED_AT_ASC', - HoldersVariancePopulationUpdatedAtDesc = 'HOLDERS_VARIANCE_POPULATION_UPDATED_AT_DESC', - HoldersVariancePopulationUpdatedBlockIdAsc = 'HOLDERS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - HoldersVariancePopulationUpdatedBlockIdDesc = 'HOLDERS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - HoldersVarianceSampleAmountAsc = 'HOLDERS_VARIANCE_SAMPLE_AMOUNT_ASC', - HoldersVarianceSampleAmountDesc = 'HOLDERS_VARIANCE_SAMPLE_AMOUNT_DESC', - HoldersVarianceSampleAssetIdAsc = 'HOLDERS_VARIANCE_SAMPLE_ASSET_ID_ASC', - HoldersVarianceSampleAssetIdDesc = 'HOLDERS_VARIANCE_SAMPLE_ASSET_ID_DESC', - HoldersVarianceSampleCreatedAtAsc = 'HOLDERS_VARIANCE_SAMPLE_CREATED_AT_ASC', - HoldersVarianceSampleCreatedAtDesc = 'HOLDERS_VARIANCE_SAMPLE_CREATED_AT_DESC', - HoldersVarianceSampleCreatedBlockIdAsc = 'HOLDERS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - HoldersVarianceSampleCreatedBlockIdDesc = 'HOLDERS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - HoldersVarianceSampleIdentityIdAsc = 'HOLDERS_VARIANCE_SAMPLE_IDENTITY_ID_ASC', - HoldersVarianceSampleIdentityIdDesc = 'HOLDERS_VARIANCE_SAMPLE_IDENTITY_ID_DESC', - HoldersVarianceSampleIdAsc = 'HOLDERS_VARIANCE_SAMPLE_ID_ASC', - HoldersVarianceSampleIdDesc = 'HOLDERS_VARIANCE_SAMPLE_ID_DESC', - HoldersVarianceSampleUpdatedAtAsc = 'HOLDERS_VARIANCE_SAMPLE_UPDATED_AT_ASC', - HoldersVarianceSampleUpdatedAtDesc = 'HOLDERS_VARIANCE_SAMPLE_UPDATED_AT_DESC', - HoldersVarianceSampleUpdatedBlockIdAsc = 'HOLDERS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - HoldersVarianceSampleUpdatedBlockIdDesc = 'HOLDERS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - IdentifiersAsc = 'IDENTIFIERS_ASC', - IdentifiersDesc = 'IDENTIFIERS_DESC', - IdAsc = 'ID_ASC', - IdDesc = 'ID_DESC', - IsCompliancePausedAsc = 'IS_COMPLIANCE_PAUSED_ASC', - IsCompliancePausedDesc = 'IS_COMPLIANCE_PAUSED_DESC', - IsDivisibleAsc = 'IS_DIVISIBLE_ASC', - IsDivisibleDesc = 'IS_DIVISIBLE_DESC', - IsFrozenAsc = 'IS_FROZEN_ASC', - IsFrozenDesc = 'IS_FROZEN_DESC', - IsNftCollectionAsc = 'IS_NFT_COLLECTION_ASC', - IsNftCollectionDesc = 'IS_NFT_COLLECTION_DESC', - IsUniquenessRequiredAsc = 'IS_UNIQUENESS_REQUIRED_ASC', - IsUniquenessRequiredDesc = 'IS_UNIQUENESS_REQUIRED_DESC', - NameAsc = 'NAME_ASC', - NameDesc = 'NAME_DESC', - Natural = 'NATURAL', - NftHoldersAverageAssetIdAsc = 'NFT_HOLDERS_AVERAGE_ASSET_ID_ASC', - NftHoldersAverageAssetIdDesc = 'NFT_HOLDERS_AVERAGE_ASSET_ID_DESC', - NftHoldersAverageCreatedAtAsc = 'NFT_HOLDERS_AVERAGE_CREATED_AT_ASC', - NftHoldersAverageCreatedAtDesc = 'NFT_HOLDERS_AVERAGE_CREATED_AT_DESC', - NftHoldersAverageCreatedBlockIdAsc = 'NFT_HOLDERS_AVERAGE_CREATED_BLOCK_ID_ASC', - NftHoldersAverageCreatedBlockIdDesc = 'NFT_HOLDERS_AVERAGE_CREATED_BLOCK_ID_DESC', - NftHoldersAverageIdentityIdAsc = 'NFT_HOLDERS_AVERAGE_IDENTITY_ID_ASC', - NftHoldersAverageIdentityIdDesc = 'NFT_HOLDERS_AVERAGE_IDENTITY_ID_DESC', - NftHoldersAverageIdAsc = 'NFT_HOLDERS_AVERAGE_ID_ASC', - NftHoldersAverageIdDesc = 'NFT_HOLDERS_AVERAGE_ID_DESC', - NftHoldersAverageNftIdsAsc = 'NFT_HOLDERS_AVERAGE_NFT_IDS_ASC', - NftHoldersAverageNftIdsDesc = 'NFT_HOLDERS_AVERAGE_NFT_IDS_DESC', - NftHoldersAverageUpdatedAtAsc = 'NFT_HOLDERS_AVERAGE_UPDATED_AT_ASC', - NftHoldersAverageUpdatedAtDesc = 'NFT_HOLDERS_AVERAGE_UPDATED_AT_DESC', - NftHoldersAverageUpdatedBlockIdAsc = 'NFT_HOLDERS_AVERAGE_UPDATED_BLOCK_ID_ASC', - NftHoldersAverageUpdatedBlockIdDesc = 'NFT_HOLDERS_AVERAGE_UPDATED_BLOCK_ID_DESC', - NftHoldersCountAsc = 'NFT_HOLDERS_COUNT_ASC', - NftHoldersCountDesc = 'NFT_HOLDERS_COUNT_DESC', - NftHoldersDistinctCountAssetIdAsc = 'NFT_HOLDERS_DISTINCT_COUNT_ASSET_ID_ASC', - NftHoldersDistinctCountAssetIdDesc = 'NFT_HOLDERS_DISTINCT_COUNT_ASSET_ID_DESC', - NftHoldersDistinctCountCreatedAtAsc = 'NFT_HOLDERS_DISTINCT_COUNT_CREATED_AT_ASC', - NftHoldersDistinctCountCreatedAtDesc = 'NFT_HOLDERS_DISTINCT_COUNT_CREATED_AT_DESC', - NftHoldersDistinctCountCreatedBlockIdAsc = 'NFT_HOLDERS_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - NftHoldersDistinctCountCreatedBlockIdDesc = 'NFT_HOLDERS_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - NftHoldersDistinctCountIdentityIdAsc = 'NFT_HOLDERS_DISTINCT_COUNT_IDENTITY_ID_ASC', - NftHoldersDistinctCountIdentityIdDesc = 'NFT_HOLDERS_DISTINCT_COUNT_IDENTITY_ID_DESC', - NftHoldersDistinctCountIdAsc = 'NFT_HOLDERS_DISTINCT_COUNT_ID_ASC', - NftHoldersDistinctCountIdDesc = 'NFT_HOLDERS_DISTINCT_COUNT_ID_DESC', - NftHoldersDistinctCountNftIdsAsc = 'NFT_HOLDERS_DISTINCT_COUNT_NFT_IDS_ASC', - NftHoldersDistinctCountNftIdsDesc = 'NFT_HOLDERS_DISTINCT_COUNT_NFT_IDS_DESC', - NftHoldersDistinctCountUpdatedAtAsc = 'NFT_HOLDERS_DISTINCT_COUNT_UPDATED_AT_ASC', - NftHoldersDistinctCountUpdatedAtDesc = 'NFT_HOLDERS_DISTINCT_COUNT_UPDATED_AT_DESC', - NftHoldersDistinctCountUpdatedBlockIdAsc = 'NFT_HOLDERS_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - NftHoldersDistinctCountUpdatedBlockIdDesc = 'NFT_HOLDERS_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - NftHoldersMaxAssetIdAsc = 'NFT_HOLDERS_MAX_ASSET_ID_ASC', - NftHoldersMaxAssetIdDesc = 'NFT_HOLDERS_MAX_ASSET_ID_DESC', - NftHoldersMaxCreatedAtAsc = 'NFT_HOLDERS_MAX_CREATED_AT_ASC', - NftHoldersMaxCreatedAtDesc = 'NFT_HOLDERS_MAX_CREATED_AT_DESC', - NftHoldersMaxCreatedBlockIdAsc = 'NFT_HOLDERS_MAX_CREATED_BLOCK_ID_ASC', - NftHoldersMaxCreatedBlockIdDesc = 'NFT_HOLDERS_MAX_CREATED_BLOCK_ID_DESC', - NftHoldersMaxIdentityIdAsc = 'NFT_HOLDERS_MAX_IDENTITY_ID_ASC', - NftHoldersMaxIdentityIdDesc = 'NFT_HOLDERS_MAX_IDENTITY_ID_DESC', - NftHoldersMaxIdAsc = 'NFT_HOLDERS_MAX_ID_ASC', - NftHoldersMaxIdDesc = 'NFT_HOLDERS_MAX_ID_DESC', - NftHoldersMaxNftIdsAsc = 'NFT_HOLDERS_MAX_NFT_IDS_ASC', - NftHoldersMaxNftIdsDesc = 'NFT_HOLDERS_MAX_NFT_IDS_DESC', - NftHoldersMaxUpdatedAtAsc = 'NFT_HOLDERS_MAX_UPDATED_AT_ASC', - NftHoldersMaxUpdatedAtDesc = 'NFT_HOLDERS_MAX_UPDATED_AT_DESC', - NftHoldersMaxUpdatedBlockIdAsc = 'NFT_HOLDERS_MAX_UPDATED_BLOCK_ID_ASC', - NftHoldersMaxUpdatedBlockIdDesc = 'NFT_HOLDERS_MAX_UPDATED_BLOCK_ID_DESC', - NftHoldersMinAssetIdAsc = 'NFT_HOLDERS_MIN_ASSET_ID_ASC', - NftHoldersMinAssetIdDesc = 'NFT_HOLDERS_MIN_ASSET_ID_DESC', - NftHoldersMinCreatedAtAsc = 'NFT_HOLDERS_MIN_CREATED_AT_ASC', - NftHoldersMinCreatedAtDesc = 'NFT_HOLDERS_MIN_CREATED_AT_DESC', - NftHoldersMinCreatedBlockIdAsc = 'NFT_HOLDERS_MIN_CREATED_BLOCK_ID_ASC', - NftHoldersMinCreatedBlockIdDesc = 'NFT_HOLDERS_MIN_CREATED_BLOCK_ID_DESC', - NftHoldersMinIdentityIdAsc = 'NFT_HOLDERS_MIN_IDENTITY_ID_ASC', - NftHoldersMinIdentityIdDesc = 'NFT_HOLDERS_MIN_IDENTITY_ID_DESC', - NftHoldersMinIdAsc = 'NFT_HOLDERS_MIN_ID_ASC', - NftHoldersMinIdDesc = 'NFT_HOLDERS_MIN_ID_DESC', - NftHoldersMinNftIdsAsc = 'NFT_HOLDERS_MIN_NFT_IDS_ASC', - NftHoldersMinNftIdsDesc = 'NFT_HOLDERS_MIN_NFT_IDS_DESC', - NftHoldersMinUpdatedAtAsc = 'NFT_HOLDERS_MIN_UPDATED_AT_ASC', - NftHoldersMinUpdatedAtDesc = 'NFT_HOLDERS_MIN_UPDATED_AT_DESC', - NftHoldersMinUpdatedBlockIdAsc = 'NFT_HOLDERS_MIN_UPDATED_BLOCK_ID_ASC', - NftHoldersMinUpdatedBlockIdDesc = 'NFT_HOLDERS_MIN_UPDATED_BLOCK_ID_DESC', - NftHoldersStddevPopulationAssetIdAsc = 'NFT_HOLDERS_STDDEV_POPULATION_ASSET_ID_ASC', - NftHoldersStddevPopulationAssetIdDesc = 'NFT_HOLDERS_STDDEV_POPULATION_ASSET_ID_DESC', - NftHoldersStddevPopulationCreatedAtAsc = 'NFT_HOLDERS_STDDEV_POPULATION_CREATED_AT_ASC', - NftHoldersStddevPopulationCreatedAtDesc = 'NFT_HOLDERS_STDDEV_POPULATION_CREATED_AT_DESC', - NftHoldersStddevPopulationCreatedBlockIdAsc = 'NFT_HOLDERS_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - NftHoldersStddevPopulationCreatedBlockIdDesc = 'NFT_HOLDERS_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - NftHoldersStddevPopulationIdentityIdAsc = 'NFT_HOLDERS_STDDEV_POPULATION_IDENTITY_ID_ASC', - NftHoldersStddevPopulationIdentityIdDesc = 'NFT_HOLDERS_STDDEV_POPULATION_IDENTITY_ID_DESC', - NftHoldersStddevPopulationIdAsc = 'NFT_HOLDERS_STDDEV_POPULATION_ID_ASC', - NftHoldersStddevPopulationIdDesc = 'NFT_HOLDERS_STDDEV_POPULATION_ID_DESC', - NftHoldersStddevPopulationNftIdsAsc = 'NFT_HOLDERS_STDDEV_POPULATION_NFT_IDS_ASC', - NftHoldersStddevPopulationNftIdsDesc = 'NFT_HOLDERS_STDDEV_POPULATION_NFT_IDS_DESC', - NftHoldersStddevPopulationUpdatedAtAsc = 'NFT_HOLDERS_STDDEV_POPULATION_UPDATED_AT_ASC', - NftHoldersStddevPopulationUpdatedAtDesc = 'NFT_HOLDERS_STDDEV_POPULATION_UPDATED_AT_DESC', - NftHoldersStddevPopulationUpdatedBlockIdAsc = 'NFT_HOLDERS_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - NftHoldersStddevPopulationUpdatedBlockIdDesc = 'NFT_HOLDERS_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - NftHoldersStddevSampleAssetIdAsc = 'NFT_HOLDERS_STDDEV_SAMPLE_ASSET_ID_ASC', - NftHoldersStddevSampleAssetIdDesc = 'NFT_HOLDERS_STDDEV_SAMPLE_ASSET_ID_DESC', - NftHoldersStddevSampleCreatedAtAsc = 'NFT_HOLDERS_STDDEV_SAMPLE_CREATED_AT_ASC', - NftHoldersStddevSampleCreatedAtDesc = 'NFT_HOLDERS_STDDEV_SAMPLE_CREATED_AT_DESC', - NftHoldersStddevSampleCreatedBlockIdAsc = 'NFT_HOLDERS_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - NftHoldersStddevSampleCreatedBlockIdDesc = 'NFT_HOLDERS_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - NftHoldersStddevSampleIdentityIdAsc = 'NFT_HOLDERS_STDDEV_SAMPLE_IDENTITY_ID_ASC', - NftHoldersStddevSampleIdentityIdDesc = 'NFT_HOLDERS_STDDEV_SAMPLE_IDENTITY_ID_DESC', - NftHoldersStddevSampleIdAsc = 'NFT_HOLDERS_STDDEV_SAMPLE_ID_ASC', - NftHoldersStddevSampleIdDesc = 'NFT_HOLDERS_STDDEV_SAMPLE_ID_DESC', - NftHoldersStddevSampleNftIdsAsc = 'NFT_HOLDERS_STDDEV_SAMPLE_NFT_IDS_ASC', - NftHoldersStddevSampleNftIdsDesc = 'NFT_HOLDERS_STDDEV_SAMPLE_NFT_IDS_DESC', - NftHoldersStddevSampleUpdatedAtAsc = 'NFT_HOLDERS_STDDEV_SAMPLE_UPDATED_AT_ASC', - NftHoldersStddevSampleUpdatedAtDesc = 'NFT_HOLDERS_STDDEV_SAMPLE_UPDATED_AT_DESC', - NftHoldersStddevSampleUpdatedBlockIdAsc = 'NFT_HOLDERS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - NftHoldersStddevSampleUpdatedBlockIdDesc = 'NFT_HOLDERS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - NftHoldersSumAssetIdAsc = 'NFT_HOLDERS_SUM_ASSET_ID_ASC', - NftHoldersSumAssetIdDesc = 'NFT_HOLDERS_SUM_ASSET_ID_DESC', - NftHoldersSumCreatedAtAsc = 'NFT_HOLDERS_SUM_CREATED_AT_ASC', - NftHoldersSumCreatedAtDesc = 'NFT_HOLDERS_SUM_CREATED_AT_DESC', - NftHoldersSumCreatedBlockIdAsc = 'NFT_HOLDERS_SUM_CREATED_BLOCK_ID_ASC', - NftHoldersSumCreatedBlockIdDesc = 'NFT_HOLDERS_SUM_CREATED_BLOCK_ID_DESC', - NftHoldersSumIdentityIdAsc = 'NFT_HOLDERS_SUM_IDENTITY_ID_ASC', - NftHoldersSumIdentityIdDesc = 'NFT_HOLDERS_SUM_IDENTITY_ID_DESC', - NftHoldersSumIdAsc = 'NFT_HOLDERS_SUM_ID_ASC', - NftHoldersSumIdDesc = 'NFT_HOLDERS_SUM_ID_DESC', - NftHoldersSumNftIdsAsc = 'NFT_HOLDERS_SUM_NFT_IDS_ASC', - NftHoldersSumNftIdsDesc = 'NFT_HOLDERS_SUM_NFT_IDS_DESC', - NftHoldersSumUpdatedAtAsc = 'NFT_HOLDERS_SUM_UPDATED_AT_ASC', - NftHoldersSumUpdatedAtDesc = 'NFT_HOLDERS_SUM_UPDATED_AT_DESC', - NftHoldersSumUpdatedBlockIdAsc = 'NFT_HOLDERS_SUM_UPDATED_BLOCK_ID_ASC', - NftHoldersSumUpdatedBlockIdDesc = 'NFT_HOLDERS_SUM_UPDATED_BLOCK_ID_DESC', - NftHoldersVariancePopulationAssetIdAsc = 'NFT_HOLDERS_VARIANCE_POPULATION_ASSET_ID_ASC', - NftHoldersVariancePopulationAssetIdDesc = 'NFT_HOLDERS_VARIANCE_POPULATION_ASSET_ID_DESC', - NftHoldersVariancePopulationCreatedAtAsc = 'NFT_HOLDERS_VARIANCE_POPULATION_CREATED_AT_ASC', - NftHoldersVariancePopulationCreatedAtDesc = 'NFT_HOLDERS_VARIANCE_POPULATION_CREATED_AT_DESC', - NftHoldersVariancePopulationCreatedBlockIdAsc = 'NFT_HOLDERS_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - NftHoldersVariancePopulationCreatedBlockIdDesc = 'NFT_HOLDERS_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - NftHoldersVariancePopulationIdentityIdAsc = 'NFT_HOLDERS_VARIANCE_POPULATION_IDENTITY_ID_ASC', - NftHoldersVariancePopulationIdentityIdDesc = 'NFT_HOLDERS_VARIANCE_POPULATION_IDENTITY_ID_DESC', - NftHoldersVariancePopulationIdAsc = 'NFT_HOLDERS_VARIANCE_POPULATION_ID_ASC', - NftHoldersVariancePopulationIdDesc = 'NFT_HOLDERS_VARIANCE_POPULATION_ID_DESC', - NftHoldersVariancePopulationNftIdsAsc = 'NFT_HOLDERS_VARIANCE_POPULATION_NFT_IDS_ASC', - NftHoldersVariancePopulationNftIdsDesc = 'NFT_HOLDERS_VARIANCE_POPULATION_NFT_IDS_DESC', - NftHoldersVariancePopulationUpdatedAtAsc = 'NFT_HOLDERS_VARIANCE_POPULATION_UPDATED_AT_ASC', - NftHoldersVariancePopulationUpdatedAtDesc = 'NFT_HOLDERS_VARIANCE_POPULATION_UPDATED_AT_DESC', - NftHoldersVariancePopulationUpdatedBlockIdAsc = 'NFT_HOLDERS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - NftHoldersVariancePopulationUpdatedBlockIdDesc = 'NFT_HOLDERS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - NftHoldersVarianceSampleAssetIdAsc = 'NFT_HOLDERS_VARIANCE_SAMPLE_ASSET_ID_ASC', - NftHoldersVarianceSampleAssetIdDesc = 'NFT_HOLDERS_VARIANCE_SAMPLE_ASSET_ID_DESC', - NftHoldersVarianceSampleCreatedAtAsc = 'NFT_HOLDERS_VARIANCE_SAMPLE_CREATED_AT_ASC', - NftHoldersVarianceSampleCreatedAtDesc = 'NFT_HOLDERS_VARIANCE_SAMPLE_CREATED_AT_DESC', - NftHoldersVarianceSampleCreatedBlockIdAsc = 'NFT_HOLDERS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - NftHoldersVarianceSampleCreatedBlockIdDesc = 'NFT_HOLDERS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - NftHoldersVarianceSampleIdentityIdAsc = 'NFT_HOLDERS_VARIANCE_SAMPLE_IDENTITY_ID_ASC', - NftHoldersVarianceSampleIdentityIdDesc = 'NFT_HOLDERS_VARIANCE_SAMPLE_IDENTITY_ID_DESC', - NftHoldersVarianceSampleIdAsc = 'NFT_HOLDERS_VARIANCE_SAMPLE_ID_ASC', - NftHoldersVarianceSampleIdDesc = 'NFT_HOLDERS_VARIANCE_SAMPLE_ID_DESC', - NftHoldersVarianceSampleNftIdsAsc = 'NFT_HOLDERS_VARIANCE_SAMPLE_NFT_IDS_ASC', - NftHoldersVarianceSampleNftIdsDesc = 'NFT_HOLDERS_VARIANCE_SAMPLE_NFT_IDS_DESC', - NftHoldersVarianceSampleUpdatedAtAsc = 'NFT_HOLDERS_VARIANCE_SAMPLE_UPDATED_AT_ASC', - NftHoldersVarianceSampleUpdatedAtDesc = 'NFT_HOLDERS_VARIANCE_SAMPLE_UPDATED_AT_DESC', - NftHoldersVarianceSampleUpdatedBlockIdAsc = 'NFT_HOLDERS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - NftHoldersVarianceSampleUpdatedBlockIdDesc = 'NFT_HOLDERS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - OwnerIdAsc = 'OWNER_ID_ASC', - OwnerIdDesc = 'OWNER_ID_DESC', - PortfolioMovementsAverageAddressAsc = 'PORTFOLIO_MOVEMENTS_AVERAGE_ADDRESS_ASC', - PortfolioMovementsAverageAddressDesc = 'PORTFOLIO_MOVEMENTS_AVERAGE_ADDRESS_DESC', - PortfolioMovementsAverageAmountAsc = 'PORTFOLIO_MOVEMENTS_AVERAGE_AMOUNT_ASC', - PortfolioMovementsAverageAmountDesc = 'PORTFOLIO_MOVEMENTS_AVERAGE_AMOUNT_DESC', - PortfolioMovementsAverageAssetIdAsc = 'PORTFOLIO_MOVEMENTS_AVERAGE_ASSET_ID_ASC', - PortfolioMovementsAverageAssetIdDesc = 'PORTFOLIO_MOVEMENTS_AVERAGE_ASSET_ID_DESC', - PortfolioMovementsAverageCreatedAtAsc = 'PORTFOLIO_MOVEMENTS_AVERAGE_CREATED_AT_ASC', - PortfolioMovementsAverageCreatedAtDesc = 'PORTFOLIO_MOVEMENTS_AVERAGE_CREATED_AT_DESC', - PortfolioMovementsAverageCreatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_AVERAGE_CREATED_BLOCK_ID_ASC', - PortfolioMovementsAverageCreatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_AVERAGE_CREATED_BLOCK_ID_DESC', - PortfolioMovementsAverageFromIdAsc = 'PORTFOLIO_MOVEMENTS_AVERAGE_FROM_ID_ASC', - PortfolioMovementsAverageFromIdDesc = 'PORTFOLIO_MOVEMENTS_AVERAGE_FROM_ID_DESC', - PortfolioMovementsAverageIdAsc = 'PORTFOLIO_MOVEMENTS_AVERAGE_ID_ASC', - PortfolioMovementsAverageIdDesc = 'PORTFOLIO_MOVEMENTS_AVERAGE_ID_DESC', - PortfolioMovementsAverageMemoAsc = 'PORTFOLIO_MOVEMENTS_AVERAGE_MEMO_ASC', - PortfolioMovementsAverageMemoDesc = 'PORTFOLIO_MOVEMENTS_AVERAGE_MEMO_DESC', - PortfolioMovementsAverageNftIdsAsc = 'PORTFOLIO_MOVEMENTS_AVERAGE_NFT_IDS_ASC', - PortfolioMovementsAverageNftIdsDesc = 'PORTFOLIO_MOVEMENTS_AVERAGE_NFT_IDS_DESC', - PortfolioMovementsAverageToIdAsc = 'PORTFOLIO_MOVEMENTS_AVERAGE_TO_ID_ASC', - PortfolioMovementsAverageToIdDesc = 'PORTFOLIO_MOVEMENTS_AVERAGE_TO_ID_DESC', - PortfolioMovementsAverageTypeAsc = 'PORTFOLIO_MOVEMENTS_AVERAGE_TYPE_ASC', - PortfolioMovementsAverageTypeDesc = 'PORTFOLIO_MOVEMENTS_AVERAGE_TYPE_DESC', - PortfolioMovementsAverageUpdatedAtAsc = 'PORTFOLIO_MOVEMENTS_AVERAGE_UPDATED_AT_ASC', - PortfolioMovementsAverageUpdatedAtDesc = 'PORTFOLIO_MOVEMENTS_AVERAGE_UPDATED_AT_DESC', - PortfolioMovementsAverageUpdatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_AVERAGE_UPDATED_BLOCK_ID_ASC', - PortfolioMovementsAverageUpdatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_AVERAGE_UPDATED_BLOCK_ID_DESC', - PortfolioMovementsCountAsc = 'PORTFOLIO_MOVEMENTS_COUNT_ASC', - PortfolioMovementsCountDesc = 'PORTFOLIO_MOVEMENTS_COUNT_DESC', - PortfolioMovementsDistinctCountAddressAsc = 'PORTFOLIO_MOVEMENTS_DISTINCT_COUNT_ADDRESS_ASC', - PortfolioMovementsDistinctCountAddressDesc = 'PORTFOLIO_MOVEMENTS_DISTINCT_COUNT_ADDRESS_DESC', - PortfolioMovementsDistinctCountAmountAsc = 'PORTFOLIO_MOVEMENTS_DISTINCT_COUNT_AMOUNT_ASC', - PortfolioMovementsDistinctCountAmountDesc = 'PORTFOLIO_MOVEMENTS_DISTINCT_COUNT_AMOUNT_DESC', - PortfolioMovementsDistinctCountAssetIdAsc = 'PORTFOLIO_MOVEMENTS_DISTINCT_COUNT_ASSET_ID_ASC', - PortfolioMovementsDistinctCountAssetIdDesc = 'PORTFOLIO_MOVEMENTS_DISTINCT_COUNT_ASSET_ID_DESC', - PortfolioMovementsDistinctCountCreatedAtAsc = 'PORTFOLIO_MOVEMENTS_DISTINCT_COUNT_CREATED_AT_ASC', - PortfolioMovementsDistinctCountCreatedAtDesc = 'PORTFOLIO_MOVEMENTS_DISTINCT_COUNT_CREATED_AT_DESC', - PortfolioMovementsDistinctCountCreatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - PortfolioMovementsDistinctCountCreatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - PortfolioMovementsDistinctCountFromIdAsc = 'PORTFOLIO_MOVEMENTS_DISTINCT_COUNT_FROM_ID_ASC', - PortfolioMovementsDistinctCountFromIdDesc = 'PORTFOLIO_MOVEMENTS_DISTINCT_COUNT_FROM_ID_DESC', - PortfolioMovementsDistinctCountIdAsc = 'PORTFOLIO_MOVEMENTS_DISTINCT_COUNT_ID_ASC', - PortfolioMovementsDistinctCountIdDesc = 'PORTFOLIO_MOVEMENTS_DISTINCT_COUNT_ID_DESC', - PortfolioMovementsDistinctCountMemoAsc = 'PORTFOLIO_MOVEMENTS_DISTINCT_COUNT_MEMO_ASC', - PortfolioMovementsDistinctCountMemoDesc = 'PORTFOLIO_MOVEMENTS_DISTINCT_COUNT_MEMO_DESC', - PortfolioMovementsDistinctCountNftIdsAsc = 'PORTFOLIO_MOVEMENTS_DISTINCT_COUNT_NFT_IDS_ASC', - PortfolioMovementsDistinctCountNftIdsDesc = 'PORTFOLIO_MOVEMENTS_DISTINCT_COUNT_NFT_IDS_DESC', - PortfolioMovementsDistinctCountToIdAsc = 'PORTFOLIO_MOVEMENTS_DISTINCT_COUNT_TO_ID_ASC', - PortfolioMovementsDistinctCountToIdDesc = 'PORTFOLIO_MOVEMENTS_DISTINCT_COUNT_TO_ID_DESC', - PortfolioMovementsDistinctCountTypeAsc = 'PORTFOLIO_MOVEMENTS_DISTINCT_COUNT_TYPE_ASC', - PortfolioMovementsDistinctCountTypeDesc = 'PORTFOLIO_MOVEMENTS_DISTINCT_COUNT_TYPE_DESC', - PortfolioMovementsDistinctCountUpdatedAtAsc = 'PORTFOLIO_MOVEMENTS_DISTINCT_COUNT_UPDATED_AT_ASC', - PortfolioMovementsDistinctCountUpdatedAtDesc = 'PORTFOLIO_MOVEMENTS_DISTINCT_COUNT_UPDATED_AT_DESC', - PortfolioMovementsDistinctCountUpdatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - PortfolioMovementsDistinctCountUpdatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - PortfolioMovementsMaxAddressAsc = 'PORTFOLIO_MOVEMENTS_MAX_ADDRESS_ASC', - PortfolioMovementsMaxAddressDesc = 'PORTFOLIO_MOVEMENTS_MAX_ADDRESS_DESC', - PortfolioMovementsMaxAmountAsc = 'PORTFOLIO_MOVEMENTS_MAX_AMOUNT_ASC', - PortfolioMovementsMaxAmountDesc = 'PORTFOLIO_MOVEMENTS_MAX_AMOUNT_DESC', - PortfolioMovementsMaxAssetIdAsc = 'PORTFOLIO_MOVEMENTS_MAX_ASSET_ID_ASC', - PortfolioMovementsMaxAssetIdDesc = 'PORTFOLIO_MOVEMENTS_MAX_ASSET_ID_DESC', - PortfolioMovementsMaxCreatedAtAsc = 'PORTFOLIO_MOVEMENTS_MAX_CREATED_AT_ASC', - PortfolioMovementsMaxCreatedAtDesc = 'PORTFOLIO_MOVEMENTS_MAX_CREATED_AT_DESC', - PortfolioMovementsMaxCreatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_MAX_CREATED_BLOCK_ID_ASC', - PortfolioMovementsMaxCreatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_MAX_CREATED_BLOCK_ID_DESC', - PortfolioMovementsMaxFromIdAsc = 'PORTFOLIO_MOVEMENTS_MAX_FROM_ID_ASC', - PortfolioMovementsMaxFromIdDesc = 'PORTFOLIO_MOVEMENTS_MAX_FROM_ID_DESC', - PortfolioMovementsMaxIdAsc = 'PORTFOLIO_MOVEMENTS_MAX_ID_ASC', - PortfolioMovementsMaxIdDesc = 'PORTFOLIO_MOVEMENTS_MAX_ID_DESC', - PortfolioMovementsMaxMemoAsc = 'PORTFOLIO_MOVEMENTS_MAX_MEMO_ASC', - PortfolioMovementsMaxMemoDesc = 'PORTFOLIO_MOVEMENTS_MAX_MEMO_DESC', - PortfolioMovementsMaxNftIdsAsc = 'PORTFOLIO_MOVEMENTS_MAX_NFT_IDS_ASC', - PortfolioMovementsMaxNftIdsDesc = 'PORTFOLIO_MOVEMENTS_MAX_NFT_IDS_DESC', - PortfolioMovementsMaxToIdAsc = 'PORTFOLIO_MOVEMENTS_MAX_TO_ID_ASC', - PortfolioMovementsMaxToIdDesc = 'PORTFOLIO_MOVEMENTS_MAX_TO_ID_DESC', - PortfolioMovementsMaxTypeAsc = 'PORTFOLIO_MOVEMENTS_MAX_TYPE_ASC', - PortfolioMovementsMaxTypeDesc = 'PORTFOLIO_MOVEMENTS_MAX_TYPE_DESC', - PortfolioMovementsMaxUpdatedAtAsc = 'PORTFOLIO_MOVEMENTS_MAX_UPDATED_AT_ASC', - PortfolioMovementsMaxUpdatedAtDesc = 'PORTFOLIO_MOVEMENTS_MAX_UPDATED_AT_DESC', - PortfolioMovementsMaxUpdatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_MAX_UPDATED_BLOCK_ID_ASC', - PortfolioMovementsMaxUpdatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_MAX_UPDATED_BLOCK_ID_DESC', - PortfolioMovementsMinAddressAsc = 'PORTFOLIO_MOVEMENTS_MIN_ADDRESS_ASC', - PortfolioMovementsMinAddressDesc = 'PORTFOLIO_MOVEMENTS_MIN_ADDRESS_DESC', - PortfolioMovementsMinAmountAsc = 'PORTFOLIO_MOVEMENTS_MIN_AMOUNT_ASC', - PortfolioMovementsMinAmountDesc = 'PORTFOLIO_MOVEMENTS_MIN_AMOUNT_DESC', - PortfolioMovementsMinAssetIdAsc = 'PORTFOLIO_MOVEMENTS_MIN_ASSET_ID_ASC', - PortfolioMovementsMinAssetIdDesc = 'PORTFOLIO_MOVEMENTS_MIN_ASSET_ID_DESC', - PortfolioMovementsMinCreatedAtAsc = 'PORTFOLIO_MOVEMENTS_MIN_CREATED_AT_ASC', - PortfolioMovementsMinCreatedAtDesc = 'PORTFOLIO_MOVEMENTS_MIN_CREATED_AT_DESC', - PortfolioMovementsMinCreatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_MIN_CREATED_BLOCK_ID_ASC', - PortfolioMovementsMinCreatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_MIN_CREATED_BLOCK_ID_DESC', - PortfolioMovementsMinFromIdAsc = 'PORTFOLIO_MOVEMENTS_MIN_FROM_ID_ASC', - PortfolioMovementsMinFromIdDesc = 'PORTFOLIO_MOVEMENTS_MIN_FROM_ID_DESC', - PortfolioMovementsMinIdAsc = 'PORTFOLIO_MOVEMENTS_MIN_ID_ASC', - PortfolioMovementsMinIdDesc = 'PORTFOLIO_MOVEMENTS_MIN_ID_DESC', - PortfolioMovementsMinMemoAsc = 'PORTFOLIO_MOVEMENTS_MIN_MEMO_ASC', - PortfolioMovementsMinMemoDesc = 'PORTFOLIO_MOVEMENTS_MIN_MEMO_DESC', - PortfolioMovementsMinNftIdsAsc = 'PORTFOLIO_MOVEMENTS_MIN_NFT_IDS_ASC', - PortfolioMovementsMinNftIdsDesc = 'PORTFOLIO_MOVEMENTS_MIN_NFT_IDS_DESC', - PortfolioMovementsMinToIdAsc = 'PORTFOLIO_MOVEMENTS_MIN_TO_ID_ASC', - PortfolioMovementsMinToIdDesc = 'PORTFOLIO_MOVEMENTS_MIN_TO_ID_DESC', - PortfolioMovementsMinTypeAsc = 'PORTFOLIO_MOVEMENTS_MIN_TYPE_ASC', - PortfolioMovementsMinTypeDesc = 'PORTFOLIO_MOVEMENTS_MIN_TYPE_DESC', - PortfolioMovementsMinUpdatedAtAsc = 'PORTFOLIO_MOVEMENTS_MIN_UPDATED_AT_ASC', - PortfolioMovementsMinUpdatedAtDesc = 'PORTFOLIO_MOVEMENTS_MIN_UPDATED_AT_DESC', - PortfolioMovementsMinUpdatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_MIN_UPDATED_BLOCK_ID_ASC', - PortfolioMovementsMinUpdatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_MIN_UPDATED_BLOCK_ID_DESC', - PortfolioMovementsStddevPopulationAddressAsc = 'PORTFOLIO_MOVEMENTS_STDDEV_POPULATION_ADDRESS_ASC', - PortfolioMovementsStddevPopulationAddressDesc = 'PORTFOLIO_MOVEMENTS_STDDEV_POPULATION_ADDRESS_DESC', - PortfolioMovementsStddevPopulationAmountAsc = 'PORTFOLIO_MOVEMENTS_STDDEV_POPULATION_AMOUNT_ASC', - PortfolioMovementsStddevPopulationAmountDesc = 'PORTFOLIO_MOVEMENTS_STDDEV_POPULATION_AMOUNT_DESC', - PortfolioMovementsStddevPopulationAssetIdAsc = 'PORTFOLIO_MOVEMENTS_STDDEV_POPULATION_ASSET_ID_ASC', - PortfolioMovementsStddevPopulationAssetIdDesc = 'PORTFOLIO_MOVEMENTS_STDDEV_POPULATION_ASSET_ID_DESC', - PortfolioMovementsStddevPopulationCreatedAtAsc = 'PORTFOLIO_MOVEMENTS_STDDEV_POPULATION_CREATED_AT_ASC', - PortfolioMovementsStddevPopulationCreatedAtDesc = 'PORTFOLIO_MOVEMENTS_STDDEV_POPULATION_CREATED_AT_DESC', - PortfolioMovementsStddevPopulationCreatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - PortfolioMovementsStddevPopulationCreatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - PortfolioMovementsStddevPopulationFromIdAsc = 'PORTFOLIO_MOVEMENTS_STDDEV_POPULATION_FROM_ID_ASC', - PortfolioMovementsStddevPopulationFromIdDesc = 'PORTFOLIO_MOVEMENTS_STDDEV_POPULATION_FROM_ID_DESC', - PortfolioMovementsStddevPopulationIdAsc = 'PORTFOLIO_MOVEMENTS_STDDEV_POPULATION_ID_ASC', - PortfolioMovementsStddevPopulationIdDesc = 'PORTFOLIO_MOVEMENTS_STDDEV_POPULATION_ID_DESC', - PortfolioMovementsStddevPopulationMemoAsc = 'PORTFOLIO_MOVEMENTS_STDDEV_POPULATION_MEMO_ASC', - PortfolioMovementsStddevPopulationMemoDesc = 'PORTFOLIO_MOVEMENTS_STDDEV_POPULATION_MEMO_DESC', - PortfolioMovementsStddevPopulationNftIdsAsc = 'PORTFOLIO_MOVEMENTS_STDDEV_POPULATION_NFT_IDS_ASC', - PortfolioMovementsStddevPopulationNftIdsDesc = 'PORTFOLIO_MOVEMENTS_STDDEV_POPULATION_NFT_IDS_DESC', - PortfolioMovementsStddevPopulationToIdAsc = 'PORTFOLIO_MOVEMENTS_STDDEV_POPULATION_TO_ID_ASC', - PortfolioMovementsStddevPopulationToIdDesc = 'PORTFOLIO_MOVEMENTS_STDDEV_POPULATION_TO_ID_DESC', - PortfolioMovementsStddevPopulationTypeAsc = 'PORTFOLIO_MOVEMENTS_STDDEV_POPULATION_TYPE_ASC', - PortfolioMovementsStddevPopulationTypeDesc = 'PORTFOLIO_MOVEMENTS_STDDEV_POPULATION_TYPE_DESC', - PortfolioMovementsStddevPopulationUpdatedAtAsc = 'PORTFOLIO_MOVEMENTS_STDDEV_POPULATION_UPDATED_AT_ASC', - PortfolioMovementsStddevPopulationUpdatedAtDesc = 'PORTFOLIO_MOVEMENTS_STDDEV_POPULATION_UPDATED_AT_DESC', - PortfolioMovementsStddevPopulationUpdatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - PortfolioMovementsStddevPopulationUpdatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - PortfolioMovementsStddevSampleAddressAsc = 'PORTFOLIO_MOVEMENTS_STDDEV_SAMPLE_ADDRESS_ASC', - PortfolioMovementsStddevSampleAddressDesc = 'PORTFOLIO_MOVEMENTS_STDDEV_SAMPLE_ADDRESS_DESC', - PortfolioMovementsStddevSampleAmountAsc = 'PORTFOLIO_MOVEMENTS_STDDEV_SAMPLE_AMOUNT_ASC', - PortfolioMovementsStddevSampleAmountDesc = 'PORTFOLIO_MOVEMENTS_STDDEV_SAMPLE_AMOUNT_DESC', - PortfolioMovementsStddevSampleAssetIdAsc = 'PORTFOLIO_MOVEMENTS_STDDEV_SAMPLE_ASSET_ID_ASC', - PortfolioMovementsStddevSampleAssetIdDesc = 'PORTFOLIO_MOVEMENTS_STDDEV_SAMPLE_ASSET_ID_DESC', - PortfolioMovementsStddevSampleCreatedAtAsc = 'PORTFOLIO_MOVEMENTS_STDDEV_SAMPLE_CREATED_AT_ASC', - PortfolioMovementsStddevSampleCreatedAtDesc = 'PORTFOLIO_MOVEMENTS_STDDEV_SAMPLE_CREATED_AT_DESC', - PortfolioMovementsStddevSampleCreatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - PortfolioMovementsStddevSampleCreatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - PortfolioMovementsStddevSampleFromIdAsc = 'PORTFOLIO_MOVEMENTS_STDDEV_SAMPLE_FROM_ID_ASC', - PortfolioMovementsStddevSampleFromIdDesc = 'PORTFOLIO_MOVEMENTS_STDDEV_SAMPLE_FROM_ID_DESC', - PortfolioMovementsStddevSampleIdAsc = 'PORTFOLIO_MOVEMENTS_STDDEV_SAMPLE_ID_ASC', - PortfolioMovementsStddevSampleIdDesc = 'PORTFOLIO_MOVEMENTS_STDDEV_SAMPLE_ID_DESC', - PortfolioMovementsStddevSampleMemoAsc = 'PORTFOLIO_MOVEMENTS_STDDEV_SAMPLE_MEMO_ASC', - PortfolioMovementsStddevSampleMemoDesc = 'PORTFOLIO_MOVEMENTS_STDDEV_SAMPLE_MEMO_DESC', - PortfolioMovementsStddevSampleNftIdsAsc = 'PORTFOLIO_MOVEMENTS_STDDEV_SAMPLE_NFT_IDS_ASC', - PortfolioMovementsStddevSampleNftIdsDesc = 'PORTFOLIO_MOVEMENTS_STDDEV_SAMPLE_NFT_IDS_DESC', - PortfolioMovementsStddevSampleToIdAsc = 'PORTFOLIO_MOVEMENTS_STDDEV_SAMPLE_TO_ID_ASC', - PortfolioMovementsStddevSampleToIdDesc = 'PORTFOLIO_MOVEMENTS_STDDEV_SAMPLE_TO_ID_DESC', - PortfolioMovementsStddevSampleTypeAsc = 'PORTFOLIO_MOVEMENTS_STDDEV_SAMPLE_TYPE_ASC', - PortfolioMovementsStddevSampleTypeDesc = 'PORTFOLIO_MOVEMENTS_STDDEV_SAMPLE_TYPE_DESC', - PortfolioMovementsStddevSampleUpdatedAtAsc = 'PORTFOLIO_MOVEMENTS_STDDEV_SAMPLE_UPDATED_AT_ASC', - PortfolioMovementsStddevSampleUpdatedAtDesc = 'PORTFOLIO_MOVEMENTS_STDDEV_SAMPLE_UPDATED_AT_DESC', - PortfolioMovementsStddevSampleUpdatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - PortfolioMovementsStddevSampleUpdatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - PortfolioMovementsSumAddressAsc = 'PORTFOLIO_MOVEMENTS_SUM_ADDRESS_ASC', - PortfolioMovementsSumAddressDesc = 'PORTFOLIO_MOVEMENTS_SUM_ADDRESS_DESC', - PortfolioMovementsSumAmountAsc = 'PORTFOLIO_MOVEMENTS_SUM_AMOUNT_ASC', - PortfolioMovementsSumAmountDesc = 'PORTFOLIO_MOVEMENTS_SUM_AMOUNT_DESC', - PortfolioMovementsSumAssetIdAsc = 'PORTFOLIO_MOVEMENTS_SUM_ASSET_ID_ASC', - PortfolioMovementsSumAssetIdDesc = 'PORTFOLIO_MOVEMENTS_SUM_ASSET_ID_DESC', - PortfolioMovementsSumCreatedAtAsc = 'PORTFOLIO_MOVEMENTS_SUM_CREATED_AT_ASC', - PortfolioMovementsSumCreatedAtDesc = 'PORTFOLIO_MOVEMENTS_SUM_CREATED_AT_DESC', - PortfolioMovementsSumCreatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_SUM_CREATED_BLOCK_ID_ASC', - PortfolioMovementsSumCreatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_SUM_CREATED_BLOCK_ID_DESC', - PortfolioMovementsSumFromIdAsc = 'PORTFOLIO_MOVEMENTS_SUM_FROM_ID_ASC', - PortfolioMovementsSumFromIdDesc = 'PORTFOLIO_MOVEMENTS_SUM_FROM_ID_DESC', - PortfolioMovementsSumIdAsc = 'PORTFOLIO_MOVEMENTS_SUM_ID_ASC', - PortfolioMovementsSumIdDesc = 'PORTFOLIO_MOVEMENTS_SUM_ID_DESC', - PortfolioMovementsSumMemoAsc = 'PORTFOLIO_MOVEMENTS_SUM_MEMO_ASC', - PortfolioMovementsSumMemoDesc = 'PORTFOLIO_MOVEMENTS_SUM_MEMO_DESC', - PortfolioMovementsSumNftIdsAsc = 'PORTFOLIO_MOVEMENTS_SUM_NFT_IDS_ASC', - PortfolioMovementsSumNftIdsDesc = 'PORTFOLIO_MOVEMENTS_SUM_NFT_IDS_DESC', - PortfolioMovementsSumToIdAsc = 'PORTFOLIO_MOVEMENTS_SUM_TO_ID_ASC', - PortfolioMovementsSumToIdDesc = 'PORTFOLIO_MOVEMENTS_SUM_TO_ID_DESC', - PortfolioMovementsSumTypeAsc = 'PORTFOLIO_MOVEMENTS_SUM_TYPE_ASC', - PortfolioMovementsSumTypeDesc = 'PORTFOLIO_MOVEMENTS_SUM_TYPE_DESC', - PortfolioMovementsSumUpdatedAtAsc = 'PORTFOLIO_MOVEMENTS_SUM_UPDATED_AT_ASC', - PortfolioMovementsSumUpdatedAtDesc = 'PORTFOLIO_MOVEMENTS_SUM_UPDATED_AT_DESC', - PortfolioMovementsSumUpdatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_SUM_UPDATED_BLOCK_ID_ASC', - PortfolioMovementsSumUpdatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_SUM_UPDATED_BLOCK_ID_DESC', - PortfolioMovementsVariancePopulationAddressAsc = 'PORTFOLIO_MOVEMENTS_VARIANCE_POPULATION_ADDRESS_ASC', - PortfolioMovementsVariancePopulationAddressDesc = 'PORTFOLIO_MOVEMENTS_VARIANCE_POPULATION_ADDRESS_DESC', - PortfolioMovementsVariancePopulationAmountAsc = 'PORTFOLIO_MOVEMENTS_VARIANCE_POPULATION_AMOUNT_ASC', - PortfolioMovementsVariancePopulationAmountDesc = 'PORTFOLIO_MOVEMENTS_VARIANCE_POPULATION_AMOUNT_DESC', - PortfolioMovementsVariancePopulationAssetIdAsc = 'PORTFOLIO_MOVEMENTS_VARIANCE_POPULATION_ASSET_ID_ASC', - PortfolioMovementsVariancePopulationAssetIdDesc = 'PORTFOLIO_MOVEMENTS_VARIANCE_POPULATION_ASSET_ID_DESC', - PortfolioMovementsVariancePopulationCreatedAtAsc = 'PORTFOLIO_MOVEMENTS_VARIANCE_POPULATION_CREATED_AT_ASC', - PortfolioMovementsVariancePopulationCreatedAtDesc = 'PORTFOLIO_MOVEMENTS_VARIANCE_POPULATION_CREATED_AT_DESC', - PortfolioMovementsVariancePopulationCreatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - PortfolioMovementsVariancePopulationCreatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - PortfolioMovementsVariancePopulationFromIdAsc = 'PORTFOLIO_MOVEMENTS_VARIANCE_POPULATION_FROM_ID_ASC', - PortfolioMovementsVariancePopulationFromIdDesc = 'PORTFOLIO_MOVEMENTS_VARIANCE_POPULATION_FROM_ID_DESC', - PortfolioMovementsVariancePopulationIdAsc = 'PORTFOLIO_MOVEMENTS_VARIANCE_POPULATION_ID_ASC', - PortfolioMovementsVariancePopulationIdDesc = 'PORTFOLIO_MOVEMENTS_VARIANCE_POPULATION_ID_DESC', - PortfolioMovementsVariancePopulationMemoAsc = 'PORTFOLIO_MOVEMENTS_VARIANCE_POPULATION_MEMO_ASC', - PortfolioMovementsVariancePopulationMemoDesc = 'PORTFOLIO_MOVEMENTS_VARIANCE_POPULATION_MEMO_DESC', - PortfolioMovementsVariancePopulationNftIdsAsc = 'PORTFOLIO_MOVEMENTS_VARIANCE_POPULATION_NFT_IDS_ASC', - PortfolioMovementsVariancePopulationNftIdsDesc = 'PORTFOLIO_MOVEMENTS_VARIANCE_POPULATION_NFT_IDS_DESC', - PortfolioMovementsVariancePopulationToIdAsc = 'PORTFOLIO_MOVEMENTS_VARIANCE_POPULATION_TO_ID_ASC', - PortfolioMovementsVariancePopulationToIdDesc = 'PORTFOLIO_MOVEMENTS_VARIANCE_POPULATION_TO_ID_DESC', - PortfolioMovementsVariancePopulationTypeAsc = 'PORTFOLIO_MOVEMENTS_VARIANCE_POPULATION_TYPE_ASC', - PortfolioMovementsVariancePopulationTypeDesc = 'PORTFOLIO_MOVEMENTS_VARIANCE_POPULATION_TYPE_DESC', - PortfolioMovementsVariancePopulationUpdatedAtAsc = 'PORTFOLIO_MOVEMENTS_VARIANCE_POPULATION_UPDATED_AT_ASC', - PortfolioMovementsVariancePopulationUpdatedAtDesc = 'PORTFOLIO_MOVEMENTS_VARIANCE_POPULATION_UPDATED_AT_DESC', - PortfolioMovementsVariancePopulationUpdatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - PortfolioMovementsVariancePopulationUpdatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - PortfolioMovementsVarianceSampleAddressAsc = 'PORTFOLIO_MOVEMENTS_VARIANCE_SAMPLE_ADDRESS_ASC', - PortfolioMovementsVarianceSampleAddressDesc = 'PORTFOLIO_MOVEMENTS_VARIANCE_SAMPLE_ADDRESS_DESC', - PortfolioMovementsVarianceSampleAmountAsc = 'PORTFOLIO_MOVEMENTS_VARIANCE_SAMPLE_AMOUNT_ASC', - PortfolioMovementsVarianceSampleAmountDesc = 'PORTFOLIO_MOVEMENTS_VARIANCE_SAMPLE_AMOUNT_DESC', - PortfolioMovementsVarianceSampleAssetIdAsc = 'PORTFOLIO_MOVEMENTS_VARIANCE_SAMPLE_ASSET_ID_ASC', - PortfolioMovementsVarianceSampleAssetIdDesc = 'PORTFOLIO_MOVEMENTS_VARIANCE_SAMPLE_ASSET_ID_DESC', - PortfolioMovementsVarianceSampleCreatedAtAsc = 'PORTFOLIO_MOVEMENTS_VARIANCE_SAMPLE_CREATED_AT_ASC', - PortfolioMovementsVarianceSampleCreatedAtDesc = 'PORTFOLIO_MOVEMENTS_VARIANCE_SAMPLE_CREATED_AT_DESC', - PortfolioMovementsVarianceSampleCreatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - PortfolioMovementsVarianceSampleCreatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - PortfolioMovementsVarianceSampleFromIdAsc = 'PORTFOLIO_MOVEMENTS_VARIANCE_SAMPLE_FROM_ID_ASC', - PortfolioMovementsVarianceSampleFromIdDesc = 'PORTFOLIO_MOVEMENTS_VARIANCE_SAMPLE_FROM_ID_DESC', - PortfolioMovementsVarianceSampleIdAsc = 'PORTFOLIO_MOVEMENTS_VARIANCE_SAMPLE_ID_ASC', - PortfolioMovementsVarianceSampleIdDesc = 'PORTFOLIO_MOVEMENTS_VARIANCE_SAMPLE_ID_DESC', - PortfolioMovementsVarianceSampleMemoAsc = 'PORTFOLIO_MOVEMENTS_VARIANCE_SAMPLE_MEMO_ASC', - PortfolioMovementsVarianceSampleMemoDesc = 'PORTFOLIO_MOVEMENTS_VARIANCE_SAMPLE_MEMO_DESC', - PortfolioMovementsVarianceSampleNftIdsAsc = 'PORTFOLIO_MOVEMENTS_VARIANCE_SAMPLE_NFT_IDS_ASC', - PortfolioMovementsVarianceSampleNftIdsDesc = 'PORTFOLIO_MOVEMENTS_VARIANCE_SAMPLE_NFT_IDS_DESC', - PortfolioMovementsVarianceSampleToIdAsc = 'PORTFOLIO_MOVEMENTS_VARIANCE_SAMPLE_TO_ID_ASC', - PortfolioMovementsVarianceSampleToIdDesc = 'PORTFOLIO_MOVEMENTS_VARIANCE_SAMPLE_TO_ID_DESC', - PortfolioMovementsVarianceSampleTypeAsc = 'PORTFOLIO_MOVEMENTS_VARIANCE_SAMPLE_TYPE_ASC', - PortfolioMovementsVarianceSampleTypeDesc = 'PORTFOLIO_MOVEMENTS_VARIANCE_SAMPLE_TYPE_DESC', - PortfolioMovementsVarianceSampleUpdatedAtAsc = 'PORTFOLIO_MOVEMENTS_VARIANCE_SAMPLE_UPDATED_AT_ASC', - PortfolioMovementsVarianceSampleUpdatedAtDesc = 'PORTFOLIO_MOVEMENTS_VARIANCE_SAMPLE_UPDATED_AT_DESC', - PortfolioMovementsVarianceSampleUpdatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - PortfolioMovementsVarianceSampleUpdatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - PrimaryKeyAsc = 'PRIMARY_KEY_ASC', - PrimaryKeyDesc = 'PRIMARY_KEY_DESC', - StatTypesAverageAssetIdAsc = 'STAT_TYPES_AVERAGE_ASSET_ID_ASC', - StatTypesAverageAssetIdDesc = 'STAT_TYPES_AVERAGE_ASSET_ID_DESC', - StatTypesAverageClaimIssuerIdAsc = 'STAT_TYPES_AVERAGE_CLAIM_ISSUER_ID_ASC', - StatTypesAverageClaimIssuerIdDesc = 'STAT_TYPES_AVERAGE_CLAIM_ISSUER_ID_DESC', - StatTypesAverageClaimTypeAsc = 'STAT_TYPES_AVERAGE_CLAIM_TYPE_ASC', - StatTypesAverageClaimTypeDesc = 'STAT_TYPES_AVERAGE_CLAIM_TYPE_DESC', - StatTypesAverageCreatedAtAsc = 'STAT_TYPES_AVERAGE_CREATED_AT_ASC', - StatTypesAverageCreatedAtDesc = 'STAT_TYPES_AVERAGE_CREATED_AT_DESC', - StatTypesAverageCreatedBlockIdAsc = 'STAT_TYPES_AVERAGE_CREATED_BLOCK_ID_ASC', - StatTypesAverageCreatedBlockIdDesc = 'STAT_TYPES_AVERAGE_CREATED_BLOCK_ID_DESC', - StatTypesAverageIdAsc = 'STAT_TYPES_AVERAGE_ID_ASC', - StatTypesAverageIdDesc = 'STAT_TYPES_AVERAGE_ID_DESC', - StatTypesAverageOpTypeAsc = 'STAT_TYPES_AVERAGE_OP_TYPE_ASC', - StatTypesAverageOpTypeDesc = 'STAT_TYPES_AVERAGE_OP_TYPE_DESC', - StatTypesAverageUpdatedAtAsc = 'STAT_TYPES_AVERAGE_UPDATED_AT_ASC', - StatTypesAverageUpdatedAtDesc = 'STAT_TYPES_AVERAGE_UPDATED_AT_DESC', - StatTypesAverageUpdatedBlockIdAsc = 'STAT_TYPES_AVERAGE_UPDATED_BLOCK_ID_ASC', - StatTypesAverageUpdatedBlockIdDesc = 'STAT_TYPES_AVERAGE_UPDATED_BLOCK_ID_DESC', - StatTypesCountAsc = 'STAT_TYPES_COUNT_ASC', - StatTypesCountDesc = 'STAT_TYPES_COUNT_DESC', - StatTypesDistinctCountAssetIdAsc = 'STAT_TYPES_DISTINCT_COUNT_ASSET_ID_ASC', - StatTypesDistinctCountAssetIdDesc = 'STAT_TYPES_DISTINCT_COUNT_ASSET_ID_DESC', - StatTypesDistinctCountClaimIssuerIdAsc = 'STAT_TYPES_DISTINCT_COUNT_CLAIM_ISSUER_ID_ASC', - StatTypesDistinctCountClaimIssuerIdDesc = 'STAT_TYPES_DISTINCT_COUNT_CLAIM_ISSUER_ID_DESC', - StatTypesDistinctCountClaimTypeAsc = 'STAT_TYPES_DISTINCT_COUNT_CLAIM_TYPE_ASC', - StatTypesDistinctCountClaimTypeDesc = 'STAT_TYPES_DISTINCT_COUNT_CLAIM_TYPE_DESC', - StatTypesDistinctCountCreatedAtAsc = 'STAT_TYPES_DISTINCT_COUNT_CREATED_AT_ASC', - StatTypesDistinctCountCreatedAtDesc = 'STAT_TYPES_DISTINCT_COUNT_CREATED_AT_DESC', - StatTypesDistinctCountCreatedBlockIdAsc = 'STAT_TYPES_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - StatTypesDistinctCountCreatedBlockIdDesc = 'STAT_TYPES_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - StatTypesDistinctCountIdAsc = 'STAT_TYPES_DISTINCT_COUNT_ID_ASC', - StatTypesDistinctCountIdDesc = 'STAT_TYPES_DISTINCT_COUNT_ID_DESC', - StatTypesDistinctCountOpTypeAsc = 'STAT_TYPES_DISTINCT_COUNT_OP_TYPE_ASC', - StatTypesDistinctCountOpTypeDesc = 'STAT_TYPES_DISTINCT_COUNT_OP_TYPE_DESC', - StatTypesDistinctCountUpdatedAtAsc = 'STAT_TYPES_DISTINCT_COUNT_UPDATED_AT_ASC', - StatTypesDistinctCountUpdatedAtDesc = 'STAT_TYPES_DISTINCT_COUNT_UPDATED_AT_DESC', - StatTypesDistinctCountUpdatedBlockIdAsc = 'STAT_TYPES_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - StatTypesDistinctCountUpdatedBlockIdDesc = 'STAT_TYPES_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - StatTypesMaxAssetIdAsc = 'STAT_TYPES_MAX_ASSET_ID_ASC', - StatTypesMaxAssetIdDesc = 'STAT_TYPES_MAX_ASSET_ID_DESC', - StatTypesMaxClaimIssuerIdAsc = 'STAT_TYPES_MAX_CLAIM_ISSUER_ID_ASC', - StatTypesMaxClaimIssuerIdDesc = 'STAT_TYPES_MAX_CLAIM_ISSUER_ID_DESC', - StatTypesMaxClaimTypeAsc = 'STAT_TYPES_MAX_CLAIM_TYPE_ASC', - StatTypesMaxClaimTypeDesc = 'STAT_TYPES_MAX_CLAIM_TYPE_DESC', - StatTypesMaxCreatedAtAsc = 'STAT_TYPES_MAX_CREATED_AT_ASC', - StatTypesMaxCreatedAtDesc = 'STAT_TYPES_MAX_CREATED_AT_DESC', - StatTypesMaxCreatedBlockIdAsc = 'STAT_TYPES_MAX_CREATED_BLOCK_ID_ASC', - StatTypesMaxCreatedBlockIdDesc = 'STAT_TYPES_MAX_CREATED_BLOCK_ID_DESC', - StatTypesMaxIdAsc = 'STAT_TYPES_MAX_ID_ASC', - StatTypesMaxIdDesc = 'STAT_TYPES_MAX_ID_DESC', - StatTypesMaxOpTypeAsc = 'STAT_TYPES_MAX_OP_TYPE_ASC', - StatTypesMaxOpTypeDesc = 'STAT_TYPES_MAX_OP_TYPE_DESC', - StatTypesMaxUpdatedAtAsc = 'STAT_TYPES_MAX_UPDATED_AT_ASC', - StatTypesMaxUpdatedAtDesc = 'STAT_TYPES_MAX_UPDATED_AT_DESC', - StatTypesMaxUpdatedBlockIdAsc = 'STAT_TYPES_MAX_UPDATED_BLOCK_ID_ASC', - StatTypesMaxUpdatedBlockIdDesc = 'STAT_TYPES_MAX_UPDATED_BLOCK_ID_DESC', - StatTypesMinAssetIdAsc = 'STAT_TYPES_MIN_ASSET_ID_ASC', - StatTypesMinAssetIdDesc = 'STAT_TYPES_MIN_ASSET_ID_DESC', - StatTypesMinClaimIssuerIdAsc = 'STAT_TYPES_MIN_CLAIM_ISSUER_ID_ASC', - StatTypesMinClaimIssuerIdDesc = 'STAT_TYPES_MIN_CLAIM_ISSUER_ID_DESC', - StatTypesMinClaimTypeAsc = 'STAT_TYPES_MIN_CLAIM_TYPE_ASC', - StatTypesMinClaimTypeDesc = 'STAT_TYPES_MIN_CLAIM_TYPE_DESC', - StatTypesMinCreatedAtAsc = 'STAT_TYPES_MIN_CREATED_AT_ASC', - StatTypesMinCreatedAtDesc = 'STAT_TYPES_MIN_CREATED_AT_DESC', - StatTypesMinCreatedBlockIdAsc = 'STAT_TYPES_MIN_CREATED_BLOCK_ID_ASC', - StatTypesMinCreatedBlockIdDesc = 'STAT_TYPES_MIN_CREATED_BLOCK_ID_DESC', - StatTypesMinIdAsc = 'STAT_TYPES_MIN_ID_ASC', - StatTypesMinIdDesc = 'STAT_TYPES_MIN_ID_DESC', - StatTypesMinOpTypeAsc = 'STAT_TYPES_MIN_OP_TYPE_ASC', - StatTypesMinOpTypeDesc = 'STAT_TYPES_MIN_OP_TYPE_DESC', - StatTypesMinUpdatedAtAsc = 'STAT_TYPES_MIN_UPDATED_AT_ASC', - StatTypesMinUpdatedAtDesc = 'STAT_TYPES_MIN_UPDATED_AT_DESC', - StatTypesMinUpdatedBlockIdAsc = 'STAT_TYPES_MIN_UPDATED_BLOCK_ID_ASC', - StatTypesMinUpdatedBlockIdDesc = 'STAT_TYPES_MIN_UPDATED_BLOCK_ID_DESC', - StatTypesStddevPopulationAssetIdAsc = 'STAT_TYPES_STDDEV_POPULATION_ASSET_ID_ASC', - StatTypesStddevPopulationAssetIdDesc = 'STAT_TYPES_STDDEV_POPULATION_ASSET_ID_DESC', - StatTypesStddevPopulationClaimIssuerIdAsc = 'STAT_TYPES_STDDEV_POPULATION_CLAIM_ISSUER_ID_ASC', - StatTypesStddevPopulationClaimIssuerIdDesc = 'STAT_TYPES_STDDEV_POPULATION_CLAIM_ISSUER_ID_DESC', - StatTypesStddevPopulationClaimTypeAsc = 'STAT_TYPES_STDDEV_POPULATION_CLAIM_TYPE_ASC', - StatTypesStddevPopulationClaimTypeDesc = 'STAT_TYPES_STDDEV_POPULATION_CLAIM_TYPE_DESC', - StatTypesStddevPopulationCreatedAtAsc = 'STAT_TYPES_STDDEV_POPULATION_CREATED_AT_ASC', - StatTypesStddevPopulationCreatedAtDesc = 'STAT_TYPES_STDDEV_POPULATION_CREATED_AT_DESC', - StatTypesStddevPopulationCreatedBlockIdAsc = 'STAT_TYPES_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - StatTypesStddevPopulationCreatedBlockIdDesc = 'STAT_TYPES_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - StatTypesStddevPopulationIdAsc = 'STAT_TYPES_STDDEV_POPULATION_ID_ASC', - StatTypesStddevPopulationIdDesc = 'STAT_TYPES_STDDEV_POPULATION_ID_DESC', - StatTypesStddevPopulationOpTypeAsc = 'STAT_TYPES_STDDEV_POPULATION_OP_TYPE_ASC', - StatTypesStddevPopulationOpTypeDesc = 'STAT_TYPES_STDDEV_POPULATION_OP_TYPE_DESC', - StatTypesStddevPopulationUpdatedAtAsc = 'STAT_TYPES_STDDEV_POPULATION_UPDATED_AT_ASC', - StatTypesStddevPopulationUpdatedAtDesc = 'STAT_TYPES_STDDEV_POPULATION_UPDATED_AT_DESC', - StatTypesStddevPopulationUpdatedBlockIdAsc = 'STAT_TYPES_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - StatTypesStddevPopulationUpdatedBlockIdDesc = 'STAT_TYPES_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - StatTypesStddevSampleAssetIdAsc = 'STAT_TYPES_STDDEV_SAMPLE_ASSET_ID_ASC', - StatTypesStddevSampleAssetIdDesc = 'STAT_TYPES_STDDEV_SAMPLE_ASSET_ID_DESC', - StatTypesStddevSampleClaimIssuerIdAsc = 'STAT_TYPES_STDDEV_SAMPLE_CLAIM_ISSUER_ID_ASC', - StatTypesStddevSampleClaimIssuerIdDesc = 'STAT_TYPES_STDDEV_SAMPLE_CLAIM_ISSUER_ID_DESC', - StatTypesStddevSampleClaimTypeAsc = 'STAT_TYPES_STDDEV_SAMPLE_CLAIM_TYPE_ASC', - StatTypesStddevSampleClaimTypeDesc = 'STAT_TYPES_STDDEV_SAMPLE_CLAIM_TYPE_DESC', - StatTypesStddevSampleCreatedAtAsc = 'STAT_TYPES_STDDEV_SAMPLE_CREATED_AT_ASC', - StatTypesStddevSampleCreatedAtDesc = 'STAT_TYPES_STDDEV_SAMPLE_CREATED_AT_DESC', - StatTypesStddevSampleCreatedBlockIdAsc = 'STAT_TYPES_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - StatTypesStddevSampleCreatedBlockIdDesc = 'STAT_TYPES_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - StatTypesStddevSampleIdAsc = 'STAT_TYPES_STDDEV_SAMPLE_ID_ASC', - StatTypesStddevSampleIdDesc = 'STAT_TYPES_STDDEV_SAMPLE_ID_DESC', - StatTypesStddevSampleOpTypeAsc = 'STAT_TYPES_STDDEV_SAMPLE_OP_TYPE_ASC', - StatTypesStddevSampleOpTypeDesc = 'STAT_TYPES_STDDEV_SAMPLE_OP_TYPE_DESC', - StatTypesStddevSampleUpdatedAtAsc = 'STAT_TYPES_STDDEV_SAMPLE_UPDATED_AT_ASC', - StatTypesStddevSampleUpdatedAtDesc = 'STAT_TYPES_STDDEV_SAMPLE_UPDATED_AT_DESC', - StatTypesStddevSampleUpdatedBlockIdAsc = 'STAT_TYPES_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - StatTypesStddevSampleUpdatedBlockIdDesc = 'STAT_TYPES_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - StatTypesSumAssetIdAsc = 'STAT_TYPES_SUM_ASSET_ID_ASC', - StatTypesSumAssetIdDesc = 'STAT_TYPES_SUM_ASSET_ID_DESC', - StatTypesSumClaimIssuerIdAsc = 'STAT_TYPES_SUM_CLAIM_ISSUER_ID_ASC', - StatTypesSumClaimIssuerIdDesc = 'STAT_TYPES_SUM_CLAIM_ISSUER_ID_DESC', - StatTypesSumClaimTypeAsc = 'STAT_TYPES_SUM_CLAIM_TYPE_ASC', - StatTypesSumClaimTypeDesc = 'STAT_TYPES_SUM_CLAIM_TYPE_DESC', - StatTypesSumCreatedAtAsc = 'STAT_TYPES_SUM_CREATED_AT_ASC', - StatTypesSumCreatedAtDesc = 'STAT_TYPES_SUM_CREATED_AT_DESC', - StatTypesSumCreatedBlockIdAsc = 'STAT_TYPES_SUM_CREATED_BLOCK_ID_ASC', - StatTypesSumCreatedBlockIdDesc = 'STAT_TYPES_SUM_CREATED_BLOCK_ID_DESC', - StatTypesSumIdAsc = 'STAT_TYPES_SUM_ID_ASC', - StatTypesSumIdDesc = 'STAT_TYPES_SUM_ID_DESC', - StatTypesSumOpTypeAsc = 'STAT_TYPES_SUM_OP_TYPE_ASC', - StatTypesSumOpTypeDesc = 'STAT_TYPES_SUM_OP_TYPE_DESC', - StatTypesSumUpdatedAtAsc = 'STAT_TYPES_SUM_UPDATED_AT_ASC', - StatTypesSumUpdatedAtDesc = 'STAT_TYPES_SUM_UPDATED_AT_DESC', - StatTypesSumUpdatedBlockIdAsc = 'STAT_TYPES_SUM_UPDATED_BLOCK_ID_ASC', - StatTypesSumUpdatedBlockIdDesc = 'STAT_TYPES_SUM_UPDATED_BLOCK_ID_DESC', - StatTypesVariancePopulationAssetIdAsc = 'STAT_TYPES_VARIANCE_POPULATION_ASSET_ID_ASC', - StatTypesVariancePopulationAssetIdDesc = 'STAT_TYPES_VARIANCE_POPULATION_ASSET_ID_DESC', - StatTypesVariancePopulationClaimIssuerIdAsc = 'STAT_TYPES_VARIANCE_POPULATION_CLAIM_ISSUER_ID_ASC', - StatTypesVariancePopulationClaimIssuerIdDesc = 'STAT_TYPES_VARIANCE_POPULATION_CLAIM_ISSUER_ID_DESC', - StatTypesVariancePopulationClaimTypeAsc = 'STAT_TYPES_VARIANCE_POPULATION_CLAIM_TYPE_ASC', - StatTypesVariancePopulationClaimTypeDesc = 'STAT_TYPES_VARIANCE_POPULATION_CLAIM_TYPE_DESC', - StatTypesVariancePopulationCreatedAtAsc = 'STAT_TYPES_VARIANCE_POPULATION_CREATED_AT_ASC', - StatTypesVariancePopulationCreatedAtDesc = 'STAT_TYPES_VARIANCE_POPULATION_CREATED_AT_DESC', - StatTypesVariancePopulationCreatedBlockIdAsc = 'STAT_TYPES_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - StatTypesVariancePopulationCreatedBlockIdDesc = 'STAT_TYPES_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - StatTypesVariancePopulationIdAsc = 'STAT_TYPES_VARIANCE_POPULATION_ID_ASC', - StatTypesVariancePopulationIdDesc = 'STAT_TYPES_VARIANCE_POPULATION_ID_DESC', - StatTypesVariancePopulationOpTypeAsc = 'STAT_TYPES_VARIANCE_POPULATION_OP_TYPE_ASC', - StatTypesVariancePopulationOpTypeDesc = 'STAT_TYPES_VARIANCE_POPULATION_OP_TYPE_DESC', - StatTypesVariancePopulationUpdatedAtAsc = 'STAT_TYPES_VARIANCE_POPULATION_UPDATED_AT_ASC', - StatTypesVariancePopulationUpdatedAtDesc = 'STAT_TYPES_VARIANCE_POPULATION_UPDATED_AT_DESC', - StatTypesVariancePopulationUpdatedBlockIdAsc = 'STAT_TYPES_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - StatTypesVariancePopulationUpdatedBlockIdDesc = 'STAT_TYPES_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - StatTypesVarianceSampleAssetIdAsc = 'STAT_TYPES_VARIANCE_SAMPLE_ASSET_ID_ASC', - StatTypesVarianceSampleAssetIdDesc = 'STAT_TYPES_VARIANCE_SAMPLE_ASSET_ID_DESC', - StatTypesVarianceSampleClaimIssuerIdAsc = 'STAT_TYPES_VARIANCE_SAMPLE_CLAIM_ISSUER_ID_ASC', - StatTypesVarianceSampleClaimIssuerIdDesc = 'STAT_TYPES_VARIANCE_SAMPLE_CLAIM_ISSUER_ID_DESC', - StatTypesVarianceSampleClaimTypeAsc = 'STAT_TYPES_VARIANCE_SAMPLE_CLAIM_TYPE_ASC', - StatTypesVarianceSampleClaimTypeDesc = 'STAT_TYPES_VARIANCE_SAMPLE_CLAIM_TYPE_DESC', - StatTypesVarianceSampleCreatedAtAsc = 'STAT_TYPES_VARIANCE_SAMPLE_CREATED_AT_ASC', - StatTypesVarianceSampleCreatedAtDesc = 'STAT_TYPES_VARIANCE_SAMPLE_CREATED_AT_DESC', - StatTypesVarianceSampleCreatedBlockIdAsc = 'STAT_TYPES_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - StatTypesVarianceSampleCreatedBlockIdDesc = 'STAT_TYPES_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - StatTypesVarianceSampleIdAsc = 'STAT_TYPES_VARIANCE_SAMPLE_ID_ASC', - StatTypesVarianceSampleIdDesc = 'STAT_TYPES_VARIANCE_SAMPLE_ID_DESC', - StatTypesVarianceSampleOpTypeAsc = 'STAT_TYPES_VARIANCE_SAMPLE_OP_TYPE_ASC', - StatTypesVarianceSampleOpTypeDesc = 'STAT_TYPES_VARIANCE_SAMPLE_OP_TYPE_DESC', - StatTypesVarianceSampleUpdatedAtAsc = 'STAT_TYPES_VARIANCE_SAMPLE_UPDATED_AT_ASC', - StatTypesVarianceSampleUpdatedAtDesc = 'STAT_TYPES_VARIANCE_SAMPLE_UPDATED_AT_DESC', - StatTypesVarianceSampleUpdatedBlockIdAsc = 'STAT_TYPES_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - StatTypesVarianceSampleUpdatedBlockIdDesc = 'STAT_TYPES_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - StosByOfferingAssetIdAverageCreatedAtAsc = 'STOS_BY_OFFERING_ASSET_ID_AVERAGE_CREATED_AT_ASC', - StosByOfferingAssetIdAverageCreatedAtDesc = 'STOS_BY_OFFERING_ASSET_ID_AVERAGE_CREATED_AT_DESC', - StosByOfferingAssetIdAverageCreatedBlockIdAsc = 'STOS_BY_OFFERING_ASSET_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - StosByOfferingAssetIdAverageCreatedBlockIdDesc = 'STOS_BY_OFFERING_ASSET_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - StosByOfferingAssetIdAverageCreatorIdAsc = 'STOS_BY_OFFERING_ASSET_ID_AVERAGE_CREATOR_ID_ASC', - StosByOfferingAssetIdAverageCreatorIdDesc = 'STOS_BY_OFFERING_ASSET_ID_AVERAGE_CREATOR_ID_DESC', - StosByOfferingAssetIdAverageEndAsc = 'STOS_BY_OFFERING_ASSET_ID_AVERAGE_END_ASC', - StosByOfferingAssetIdAverageEndDesc = 'STOS_BY_OFFERING_ASSET_ID_AVERAGE_END_DESC', - StosByOfferingAssetIdAverageIdAsc = 'STOS_BY_OFFERING_ASSET_ID_AVERAGE_ID_ASC', - StosByOfferingAssetIdAverageIdDesc = 'STOS_BY_OFFERING_ASSET_ID_AVERAGE_ID_DESC', - StosByOfferingAssetIdAverageMinimumInvestmentAsc = 'STOS_BY_OFFERING_ASSET_ID_AVERAGE_MINIMUM_INVESTMENT_ASC', - StosByOfferingAssetIdAverageMinimumInvestmentDesc = 'STOS_BY_OFFERING_ASSET_ID_AVERAGE_MINIMUM_INVESTMENT_DESC', - StosByOfferingAssetIdAverageNameAsc = 'STOS_BY_OFFERING_ASSET_ID_AVERAGE_NAME_ASC', - StosByOfferingAssetIdAverageNameDesc = 'STOS_BY_OFFERING_ASSET_ID_AVERAGE_NAME_DESC', - StosByOfferingAssetIdAverageOfferingAssetIdAsc = 'STOS_BY_OFFERING_ASSET_ID_AVERAGE_OFFERING_ASSET_ID_ASC', - StosByOfferingAssetIdAverageOfferingAssetIdDesc = 'STOS_BY_OFFERING_ASSET_ID_AVERAGE_OFFERING_ASSET_ID_DESC', - StosByOfferingAssetIdAverageOfferingPortfolioIdAsc = 'STOS_BY_OFFERING_ASSET_ID_AVERAGE_OFFERING_PORTFOLIO_ID_ASC', - StosByOfferingAssetIdAverageOfferingPortfolioIdDesc = 'STOS_BY_OFFERING_ASSET_ID_AVERAGE_OFFERING_PORTFOLIO_ID_DESC', - StosByOfferingAssetIdAverageRaisingAssetIdAsc = 'STOS_BY_OFFERING_ASSET_ID_AVERAGE_RAISING_ASSET_ID_ASC', - StosByOfferingAssetIdAverageRaisingAssetIdDesc = 'STOS_BY_OFFERING_ASSET_ID_AVERAGE_RAISING_ASSET_ID_DESC', - StosByOfferingAssetIdAverageRaisingPortfolioIdAsc = 'STOS_BY_OFFERING_ASSET_ID_AVERAGE_RAISING_PORTFOLIO_ID_ASC', - StosByOfferingAssetIdAverageRaisingPortfolioIdDesc = 'STOS_BY_OFFERING_ASSET_ID_AVERAGE_RAISING_PORTFOLIO_ID_DESC', - StosByOfferingAssetIdAverageStartAsc = 'STOS_BY_OFFERING_ASSET_ID_AVERAGE_START_ASC', - StosByOfferingAssetIdAverageStartDesc = 'STOS_BY_OFFERING_ASSET_ID_AVERAGE_START_DESC', - StosByOfferingAssetIdAverageStatusAsc = 'STOS_BY_OFFERING_ASSET_ID_AVERAGE_STATUS_ASC', - StosByOfferingAssetIdAverageStatusDesc = 'STOS_BY_OFFERING_ASSET_ID_AVERAGE_STATUS_DESC', - StosByOfferingAssetIdAverageStoIdAsc = 'STOS_BY_OFFERING_ASSET_ID_AVERAGE_STO_ID_ASC', - StosByOfferingAssetIdAverageStoIdDesc = 'STOS_BY_OFFERING_ASSET_ID_AVERAGE_STO_ID_DESC', - StosByOfferingAssetIdAverageTiersAsc = 'STOS_BY_OFFERING_ASSET_ID_AVERAGE_TIERS_ASC', - StosByOfferingAssetIdAverageTiersDesc = 'STOS_BY_OFFERING_ASSET_ID_AVERAGE_TIERS_DESC', - StosByOfferingAssetIdAverageUpdatedAtAsc = 'STOS_BY_OFFERING_ASSET_ID_AVERAGE_UPDATED_AT_ASC', - StosByOfferingAssetIdAverageUpdatedAtDesc = 'STOS_BY_OFFERING_ASSET_ID_AVERAGE_UPDATED_AT_DESC', - StosByOfferingAssetIdAverageUpdatedBlockIdAsc = 'STOS_BY_OFFERING_ASSET_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - StosByOfferingAssetIdAverageUpdatedBlockIdDesc = 'STOS_BY_OFFERING_ASSET_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - StosByOfferingAssetIdAverageVenueIdAsc = 'STOS_BY_OFFERING_ASSET_ID_AVERAGE_VENUE_ID_ASC', - StosByOfferingAssetIdAverageVenueIdDesc = 'STOS_BY_OFFERING_ASSET_ID_AVERAGE_VENUE_ID_DESC', - StosByOfferingAssetIdCountAsc = 'STOS_BY_OFFERING_ASSET_ID_COUNT_ASC', - StosByOfferingAssetIdCountDesc = 'STOS_BY_OFFERING_ASSET_ID_COUNT_DESC', - StosByOfferingAssetIdDistinctCountCreatedAtAsc = 'STOS_BY_OFFERING_ASSET_ID_DISTINCT_COUNT_CREATED_AT_ASC', - StosByOfferingAssetIdDistinctCountCreatedAtDesc = 'STOS_BY_OFFERING_ASSET_ID_DISTINCT_COUNT_CREATED_AT_DESC', - StosByOfferingAssetIdDistinctCountCreatedBlockIdAsc = 'STOS_BY_OFFERING_ASSET_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - StosByOfferingAssetIdDistinctCountCreatedBlockIdDesc = 'STOS_BY_OFFERING_ASSET_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - StosByOfferingAssetIdDistinctCountCreatorIdAsc = 'STOS_BY_OFFERING_ASSET_ID_DISTINCT_COUNT_CREATOR_ID_ASC', - StosByOfferingAssetIdDistinctCountCreatorIdDesc = 'STOS_BY_OFFERING_ASSET_ID_DISTINCT_COUNT_CREATOR_ID_DESC', - StosByOfferingAssetIdDistinctCountEndAsc = 'STOS_BY_OFFERING_ASSET_ID_DISTINCT_COUNT_END_ASC', - StosByOfferingAssetIdDistinctCountEndDesc = 'STOS_BY_OFFERING_ASSET_ID_DISTINCT_COUNT_END_DESC', - StosByOfferingAssetIdDistinctCountIdAsc = 'STOS_BY_OFFERING_ASSET_ID_DISTINCT_COUNT_ID_ASC', - StosByOfferingAssetIdDistinctCountIdDesc = 'STOS_BY_OFFERING_ASSET_ID_DISTINCT_COUNT_ID_DESC', - StosByOfferingAssetIdDistinctCountMinimumInvestmentAsc = 'STOS_BY_OFFERING_ASSET_ID_DISTINCT_COUNT_MINIMUM_INVESTMENT_ASC', - StosByOfferingAssetIdDistinctCountMinimumInvestmentDesc = 'STOS_BY_OFFERING_ASSET_ID_DISTINCT_COUNT_MINIMUM_INVESTMENT_DESC', - StosByOfferingAssetIdDistinctCountNameAsc = 'STOS_BY_OFFERING_ASSET_ID_DISTINCT_COUNT_NAME_ASC', - StosByOfferingAssetIdDistinctCountNameDesc = 'STOS_BY_OFFERING_ASSET_ID_DISTINCT_COUNT_NAME_DESC', - StosByOfferingAssetIdDistinctCountOfferingAssetIdAsc = 'STOS_BY_OFFERING_ASSET_ID_DISTINCT_COUNT_OFFERING_ASSET_ID_ASC', - StosByOfferingAssetIdDistinctCountOfferingAssetIdDesc = 'STOS_BY_OFFERING_ASSET_ID_DISTINCT_COUNT_OFFERING_ASSET_ID_DESC', - StosByOfferingAssetIdDistinctCountOfferingPortfolioIdAsc = 'STOS_BY_OFFERING_ASSET_ID_DISTINCT_COUNT_OFFERING_PORTFOLIO_ID_ASC', - StosByOfferingAssetIdDistinctCountOfferingPortfolioIdDesc = 'STOS_BY_OFFERING_ASSET_ID_DISTINCT_COUNT_OFFERING_PORTFOLIO_ID_DESC', - StosByOfferingAssetIdDistinctCountRaisingAssetIdAsc = 'STOS_BY_OFFERING_ASSET_ID_DISTINCT_COUNT_RAISING_ASSET_ID_ASC', - StosByOfferingAssetIdDistinctCountRaisingAssetIdDesc = 'STOS_BY_OFFERING_ASSET_ID_DISTINCT_COUNT_RAISING_ASSET_ID_DESC', - StosByOfferingAssetIdDistinctCountRaisingPortfolioIdAsc = 'STOS_BY_OFFERING_ASSET_ID_DISTINCT_COUNT_RAISING_PORTFOLIO_ID_ASC', - StosByOfferingAssetIdDistinctCountRaisingPortfolioIdDesc = 'STOS_BY_OFFERING_ASSET_ID_DISTINCT_COUNT_RAISING_PORTFOLIO_ID_DESC', - StosByOfferingAssetIdDistinctCountStartAsc = 'STOS_BY_OFFERING_ASSET_ID_DISTINCT_COUNT_START_ASC', - StosByOfferingAssetIdDistinctCountStartDesc = 'STOS_BY_OFFERING_ASSET_ID_DISTINCT_COUNT_START_DESC', - StosByOfferingAssetIdDistinctCountStatusAsc = 'STOS_BY_OFFERING_ASSET_ID_DISTINCT_COUNT_STATUS_ASC', - StosByOfferingAssetIdDistinctCountStatusDesc = 'STOS_BY_OFFERING_ASSET_ID_DISTINCT_COUNT_STATUS_DESC', - StosByOfferingAssetIdDistinctCountStoIdAsc = 'STOS_BY_OFFERING_ASSET_ID_DISTINCT_COUNT_STO_ID_ASC', - StosByOfferingAssetIdDistinctCountStoIdDesc = 'STOS_BY_OFFERING_ASSET_ID_DISTINCT_COUNT_STO_ID_DESC', - StosByOfferingAssetIdDistinctCountTiersAsc = 'STOS_BY_OFFERING_ASSET_ID_DISTINCT_COUNT_TIERS_ASC', - StosByOfferingAssetIdDistinctCountTiersDesc = 'STOS_BY_OFFERING_ASSET_ID_DISTINCT_COUNT_TIERS_DESC', - StosByOfferingAssetIdDistinctCountUpdatedAtAsc = 'STOS_BY_OFFERING_ASSET_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - StosByOfferingAssetIdDistinctCountUpdatedAtDesc = 'STOS_BY_OFFERING_ASSET_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - StosByOfferingAssetIdDistinctCountUpdatedBlockIdAsc = 'STOS_BY_OFFERING_ASSET_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - StosByOfferingAssetIdDistinctCountUpdatedBlockIdDesc = 'STOS_BY_OFFERING_ASSET_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - StosByOfferingAssetIdDistinctCountVenueIdAsc = 'STOS_BY_OFFERING_ASSET_ID_DISTINCT_COUNT_VENUE_ID_ASC', - StosByOfferingAssetIdDistinctCountVenueIdDesc = 'STOS_BY_OFFERING_ASSET_ID_DISTINCT_COUNT_VENUE_ID_DESC', - StosByOfferingAssetIdMaxCreatedAtAsc = 'STOS_BY_OFFERING_ASSET_ID_MAX_CREATED_AT_ASC', - StosByOfferingAssetIdMaxCreatedAtDesc = 'STOS_BY_OFFERING_ASSET_ID_MAX_CREATED_AT_DESC', - StosByOfferingAssetIdMaxCreatedBlockIdAsc = 'STOS_BY_OFFERING_ASSET_ID_MAX_CREATED_BLOCK_ID_ASC', - StosByOfferingAssetIdMaxCreatedBlockIdDesc = 'STOS_BY_OFFERING_ASSET_ID_MAX_CREATED_BLOCK_ID_DESC', - StosByOfferingAssetIdMaxCreatorIdAsc = 'STOS_BY_OFFERING_ASSET_ID_MAX_CREATOR_ID_ASC', - StosByOfferingAssetIdMaxCreatorIdDesc = 'STOS_BY_OFFERING_ASSET_ID_MAX_CREATOR_ID_DESC', - StosByOfferingAssetIdMaxEndAsc = 'STOS_BY_OFFERING_ASSET_ID_MAX_END_ASC', - StosByOfferingAssetIdMaxEndDesc = 'STOS_BY_OFFERING_ASSET_ID_MAX_END_DESC', - StosByOfferingAssetIdMaxIdAsc = 'STOS_BY_OFFERING_ASSET_ID_MAX_ID_ASC', - StosByOfferingAssetIdMaxIdDesc = 'STOS_BY_OFFERING_ASSET_ID_MAX_ID_DESC', - StosByOfferingAssetIdMaxMinimumInvestmentAsc = 'STOS_BY_OFFERING_ASSET_ID_MAX_MINIMUM_INVESTMENT_ASC', - StosByOfferingAssetIdMaxMinimumInvestmentDesc = 'STOS_BY_OFFERING_ASSET_ID_MAX_MINIMUM_INVESTMENT_DESC', - StosByOfferingAssetIdMaxNameAsc = 'STOS_BY_OFFERING_ASSET_ID_MAX_NAME_ASC', - StosByOfferingAssetIdMaxNameDesc = 'STOS_BY_OFFERING_ASSET_ID_MAX_NAME_DESC', - StosByOfferingAssetIdMaxOfferingAssetIdAsc = 'STOS_BY_OFFERING_ASSET_ID_MAX_OFFERING_ASSET_ID_ASC', - StosByOfferingAssetIdMaxOfferingAssetIdDesc = 'STOS_BY_OFFERING_ASSET_ID_MAX_OFFERING_ASSET_ID_DESC', - StosByOfferingAssetIdMaxOfferingPortfolioIdAsc = 'STOS_BY_OFFERING_ASSET_ID_MAX_OFFERING_PORTFOLIO_ID_ASC', - StosByOfferingAssetIdMaxOfferingPortfolioIdDesc = 'STOS_BY_OFFERING_ASSET_ID_MAX_OFFERING_PORTFOLIO_ID_DESC', - StosByOfferingAssetIdMaxRaisingAssetIdAsc = 'STOS_BY_OFFERING_ASSET_ID_MAX_RAISING_ASSET_ID_ASC', - StosByOfferingAssetIdMaxRaisingAssetIdDesc = 'STOS_BY_OFFERING_ASSET_ID_MAX_RAISING_ASSET_ID_DESC', - StosByOfferingAssetIdMaxRaisingPortfolioIdAsc = 'STOS_BY_OFFERING_ASSET_ID_MAX_RAISING_PORTFOLIO_ID_ASC', - StosByOfferingAssetIdMaxRaisingPortfolioIdDesc = 'STOS_BY_OFFERING_ASSET_ID_MAX_RAISING_PORTFOLIO_ID_DESC', - StosByOfferingAssetIdMaxStartAsc = 'STOS_BY_OFFERING_ASSET_ID_MAX_START_ASC', - StosByOfferingAssetIdMaxStartDesc = 'STOS_BY_OFFERING_ASSET_ID_MAX_START_DESC', - StosByOfferingAssetIdMaxStatusAsc = 'STOS_BY_OFFERING_ASSET_ID_MAX_STATUS_ASC', - StosByOfferingAssetIdMaxStatusDesc = 'STOS_BY_OFFERING_ASSET_ID_MAX_STATUS_DESC', - StosByOfferingAssetIdMaxStoIdAsc = 'STOS_BY_OFFERING_ASSET_ID_MAX_STO_ID_ASC', - StosByOfferingAssetIdMaxStoIdDesc = 'STOS_BY_OFFERING_ASSET_ID_MAX_STO_ID_DESC', - StosByOfferingAssetIdMaxTiersAsc = 'STOS_BY_OFFERING_ASSET_ID_MAX_TIERS_ASC', - StosByOfferingAssetIdMaxTiersDesc = 'STOS_BY_OFFERING_ASSET_ID_MAX_TIERS_DESC', - StosByOfferingAssetIdMaxUpdatedAtAsc = 'STOS_BY_OFFERING_ASSET_ID_MAX_UPDATED_AT_ASC', - StosByOfferingAssetIdMaxUpdatedAtDesc = 'STOS_BY_OFFERING_ASSET_ID_MAX_UPDATED_AT_DESC', - StosByOfferingAssetIdMaxUpdatedBlockIdAsc = 'STOS_BY_OFFERING_ASSET_ID_MAX_UPDATED_BLOCK_ID_ASC', - StosByOfferingAssetIdMaxUpdatedBlockIdDesc = 'STOS_BY_OFFERING_ASSET_ID_MAX_UPDATED_BLOCK_ID_DESC', - StosByOfferingAssetIdMaxVenueIdAsc = 'STOS_BY_OFFERING_ASSET_ID_MAX_VENUE_ID_ASC', - StosByOfferingAssetIdMaxVenueIdDesc = 'STOS_BY_OFFERING_ASSET_ID_MAX_VENUE_ID_DESC', - StosByOfferingAssetIdMinCreatedAtAsc = 'STOS_BY_OFFERING_ASSET_ID_MIN_CREATED_AT_ASC', - StosByOfferingAssetIdMinCreatedAtDesc = 'STOS_BY_OFFERING_ASSET_ID_MIN_CREATED_AT_DESC', - StosByOfferingAssetIdMinCreatedBlockIdAsc = 'STOS_BY_OFFERING_ASSET_ID_MIN_CREATED_BLOCK_ID_ASC', - StosByOfferingAssetIdMinCreatedBlockIdDesc = 'STOS_BY_OFFERING_ASSET_ID_MIN_CREATED_BLOCK_ID_DESC', - StosByOfferingAssetIdMinCreatorIdAsc = 'STOS_BY_OFFERING_ASSET_ID_MIN_CREATOR_ID_ASC', - StosByOfferingAssetIdMinCreatorIdDesc = 'STOS_BY_OFFERING_ASSET_ID_MIN_CREATOR_ID_DESC', - StosByOfferingAssetIdMinEndAsc = 'STOS_BY_OFFERING_ASSET_ID_MIN_END_ASC', - StosByOfferingAssetIdMinEndDesc = 'STOS_BY_OFFERING_ASSET_ID_MIN_END_DESC', - StosByOfferingAssetIdMinIdAsc = 'STOS_BY_OFFERING_ASSET_ID_MIN_ID_ASC', - StosByOfferingAssetIdMinIdDesc = 'STOS_BY_OFFERING_ASSET_ID_MIN_ID_DESC', - StosByOfferingAssetIdMinMinimumInvestmentAsc = 'STOS_BY_OFFERING_ASSET_ID_MIN_MINIMUM_INVESTMENT_ASC', - StosByOfferingAssetIdMinMinimumInvestmentDesc = 'STOS_BY_OFFERING_ASSET_ID_MIN_MINIMUM_INVESTMENT_DESC', - StosByOfferingAssetIdMinNameAsc = 'STOS_BY_OFFERING_ASSET_ID_MIN_NAME_ASC', - StosByOfferingAssetIdMinNameDesc = 'STOS_BY_OFFERING_ASSET_ID_MIN_NAME_DESC', - StosByOfferingAssetIdMinOfferingAssetIdAsc = 'STOS_BY_OFFERING_ASSET_ID_MIN_OFFERING_ASSET_ID_ASC', - StosByOfferingAssetIdMinOfferingAssetIdDesc = 'STOS_BY_OFFERING_ASSET_ID_MIN_OFFERING_ASSET_ID_DESC', - StosByOfferingAssetIdMinOfferingPortfolioIdAsc = 'STOS_BY_OFFERING_ASSET_ID_MIN_OFFERING_PORTFOLIO_ID_ASC', - StosByOfferingAssetIdMinOfferingPortfolioIdDesc = 'STOS_BY_OFFERING_ASSET_ID_MIN_OFFERING_PORTFOLIO_ID_DESC', - StosByOfferingAssetIdMinRaisingAssetIdAsc = 'STOS_BY_OFFERING_ASSET_ID_MIN_RAISING_ASSET_ID_ASC', - StosByOfferingAssetIdMinRaisingAssetIdDesc = 'STOS_BY_OFFERING_ASSET_ID_MIN_RAISING_ASSET_ID_DESC', - StosByOfferingAssetIdMinRaisingPortfolioIdAsc = 'STOS_BY_OFFERING_ASSET_ID_MIN_RAISING_PORTFOLIO_ID_ASC', - StosByOfferingAssetIdMinRaisingPortfolioIdDesc = 'STOS_BY_OFFERING_ASSET_ID_MIN_RAISING_PORTFOLIO_ID_DESC', - StosByOfferingAssetIdMinStartAsc = 'STOS_BY_OFFERING_ASSET_ID_MIN_START_ASC', - StosByOfferingAssetIdMinStartDesc = 'STOS_BY_OFFERING_ASSET_ID_MIN_START_DESC', - StosByOfferingAssetIdMinStatusAsc = 'STOS_BY_OFFERING_ASSET_ID_MIN_STATUS_ASC', - StosByOfferingAssetIdMinStatusDesc = 'STOS_BY_OFFERING_ASSET_ID_MIN_STATUS_DESC', - StosByOfferingAssetIdMinStoIdAsc = 'STOS_BY_OFFERING_ASSET_ID_MIN_STO_ID_ASC', - StosByOfferingAssetIdMinStoIdDesc = 'STOS_BY_OFFERING_ASSET_ID_MIN_STO_ID_DESC', - StosByOfferingAssetIdMinTiersAsc = 'STOS_BY_OFFERING_ASSET_ID_MIN_TIERS_ASC', - StosByOfferingAssetIdMinTiersDesc = 'STOS_BY_OFFERING_ASSET_ID_MIN_TIERS_DESC', - StosByOfferingAssetIdMinUpdatedAtAsc = 'STOS_BY_OFFERING_ASSET_ID_MIN_UPDATED_AT_ASC', - StosByOfferingAssetIdMinUpdatedAtDesc = 'STOS_BY_OFFERING_ASSET_ID_MIN_UPDATED_AT_DESC', - StosByOfferingAssetIdMinUpdatedBlockIdAsc = 'STOS_BY_OFFERING_ASSET_ID_MIN_UPDATED_BLOCK_ID_ASC', - StosByOfferingAssetIdMinUpdatedBlockIdDesc = 'STOS_BY_OFFERING_ASSET_ID_MIN_UPDATED_BLOCK_ID_DESC', - StosByOfferingAssetIdMinVenueIdAsc = 'STOS_BY_OFFERING_ASSET_ID_MIN_VENUE_ID_ASC', - StosByOfferingAssetIdMinVenueIdDesc = 'STOS_BY_OFFERING_ASSET_ID_MIN_VENUE_ID_DESC', - StosByOfferingAssetIdStddevPopulationCreatedAtAsc = 'STOS_BY_OFFERING_ASSET_ID_STDDEV_POPULATION_CREATED_AT_ASC', - StosByOfferingAssetIdStddevPopulationCreatedAtDesc = 'STOS_BY_OFFERING_ASSET_ID_STDDEV_POPULATION_CREATED_AT_DESC', - StosByOfferingAssetIdStddevPopulationCreatedBlockIdAsc = 'STOS_BY_OFFERING_ASSET_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - StosByOfferingAssetIdStddevPopulationCreatedBlockIdDesc = 'STOS_BY_OFFERING_ASSET_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - StosByOfferingAssetIdStddevPopulationCreatorIdAsc = 'STOS_BY_OFFERING_ASSET_ID_STDDEV_POPULATION_CREATOR_ID_ASC', - StosByOfferingAssetIdStddevPopulationCreatorIdDesc = 'STOS_BY_OFFERING_ASSET_ID_STDDEV_POPULATION_CREATOR_ID_DESC', - StosByOfferingAssetIdStddevPopulationEndAsc = 'STOS_BY_OFFERING_ASSET_ID_STDDEV_POPULATION_END_ASC', - StosByOfferingAssetIdStddevPopulationEndDesc = 'STOS_BY_OFFERING_ASSET_ID_STDDEV_POPULATION_END_DESC', - StosByOfferingAssetIdStddevPopulationIdAsc = 'STOS_BY_OFFERING_ASSET_ID_STDDEV_POPULATION_ID_ASC', - StosByOfferingAssetIdStddevPopulationIdDesc = 'STOS_BY_OFFERING_ASSET_ID_STDDEV_POPULATION_ID_DESC', - StosByOfferingAssetIdStddevPopulationMinimumInvestmentAsc = 'STOS_BY_OFFERING_ASSET_ID_STDDEV_POPULATION_MINIMUM_INVESTMENT_ASC', - StosByOfferingAssetIdStddevPopulationMinimumInvestmentDesc = 'STOS_BY_OFFERING_ASSET_ID_STDDEV_POPULATION_MINIMUM_INVESTMENT_DESC', - StosByOfferingAssetIdStddevPopulationNameAsc = 'STOS_BY_OFFERING_ASSET_ID_STDDEV_POPULATION_NAME_ASC', - StosByOfferingAssetIdStddevPopulationNameDesc = 'STOS_BY_OFFERING_ASSET_ID_STDDEV_POPULATION_NAME_DESC', - StosByOfferingAssetIdStddevPopulationOfferingAssetIdAsc = 'STOS_BY_OFFERING_ASSET_ID_STDDEV_POPULATION_OFFERING_ASSET_ID_ASC', - StosByOfferingAssetIdStddevPopulationOfferingAssetIdDesc = 'STOS_BY_OFFERING_ASSET_ID_STDDEV_POPULATION_OFFERING_ASSET_ID_DESC', - StosByOfferingAssetIdStddevPopulationOfferingPortfolioIdAsc = 'STOS_BY_OFFERING_ASSET_ID_STDDEV_POPULATION_OFFERING_PORTFOLIO_ID_ASC', - StosByOfferingAssetIdStddevPopulationOfferingPortfolioIdDesc = 'STOS_BY_OFFERING_ASSET_ID_STDDEV_POPULATION_OFFERING_PORTFOLIO_ID_DESC', - StosByOfferingAssetIdStddevPopulationRaisingAssetIdAsc = 'STOS_BY_OFFERING_ASSET_ID_STDDEV_POPULATION_RAISING_ASSET_ID_ASC', - StosByOfferingAssetIdStddevPopulationRaisingAssetIdDesc = 'STOS_BY_OFFERING_ASSET_ID_STDDEV_POPULATION_RAISING_ASSET_ID_DESC', - StosByOfferingAssetIdStddevPopulationRaisingPortfolioIdAsc = 'STOS_BY_OFFERING_ASSET_ID_STDDEV_POPULATION_RAISING_PORTFOLIO_ID_ASC', - StosByOfferingAssetIdStddevPopulationRaisingPortfolioIdDesc = 'STOS_BY_OFFERING_ASSET_ID_STDDEV_POPULATION_RAISING_PORTFOLIO_ID_DESC', - StosByOfferingAssetIdStddevPopulationStartAsc = 'STOS_BY_OFFERING_ASSET_ID_STDDEV_POPULATION_START_ASC', - StosByOfferingAssetIdStddevPopulationStartDesc = 'STOS_BY_OFFERING_ASSET_ID_STDDEV_POPULATION_START_DESC', - StosByOfferingAssetIdStddevPopulationStatusAsc = 'STOS_BY_OFFERING_ASSET_ID_STDDEV_POPULATION_STATUS_ASC', - StosByOfferingAssetIdStddevPopulationStatusDesc = 'STOS_BY_OFFERING_ASSET_ID_STDDEV_POPULATION_STATUS_DESC', - StosByOfferingAssetIdStddevPopulationStoIdAsc = 'STOS_BY_OFFERING_ASSET_ID_STDDEV_POPULATION_STO_ID_ASC', - StosByOfferingAssetIdStddevPopulationStoIdDesc = 'STOS_BY_OFFERING_ASSET_ID_STDDEV_POPULATION_STO_ID_DESC', - StosByOfferingAssetIdStddevPopulationTiersAsc = 'STOS_BY_OFFERING_ASSET_ID_STDDEV_POPULATION_TIERS_ASC', - StosByOfferingAssetIdStddevPopulationTiersDesc = 'STOS_BY_OFFERING_ASSET_ID_STDDEV_POPULATION_TIERS_DESC', - StosByOfferingAssetIdStddevPopulationUpdatedAtAsc = 'STOS_BY_OFFERING_ASSET_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - StosByOfferingAssetIdStddevPopulationUpdatedAtDesc = 'STOS_BY_OFFERING_ASSET_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - StosByOfferingAssetIdStddevPopulationUpdatedBlockIdAsc = 'STOS_BY_OFFERING_ASSET_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - StosByOfferingAssetIdStddevPopulationUpdatedBlockIdDesc = 'STOS_BY_OFFERING_ASSET_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - StosByOfferingAssetIdStddevPopulationVenueIdAsc = 'STOS_BY_OFFERING_ASSET_ID_STDDEV_POPULATION_VENUE_ID_ASC', - StosByOfferingAssetIdStddevPopulationVenueIdDesc = 'STOS_BY_OFFERING_ASSET_ID_STDDEV_POPULATION_VENUE_ID_DESC', - StosByOfferingAssetIdStddevSampleCreatedAtAsc = 'STOS_BY_OFFERING_ASSET_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - StosByOfferingAssetIdStddevSampleCreatedAtDesc = 'STOS_BY_OFFERING_ASSET_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - StosByOfferingAssetIdStddevSampleCreatedBlockIdAsc = 'STOS_BY_OFFERING_ASSET_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - StosByOfferingAssetIdStddevSampleCreatedBlockIdDesc = 'STOS_BY_OFFERING_ASSET_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - StosByOfferingAssetIdStddevSampleCreatorIdAsc = 'STOS_BY_OFFERING_ASSET_ID_STDDEV_SAMPLE_CREATOR_ID_ASC', - StosByOfferingAssetIdStddevSampleCreatorIdDesc = 'STOS_BY_OFFERING_ASSET_ID_STDDEV_SAMPLE_CREATOR_ID_DESC', - StosByOfferingAssetIdStddevSampleEndAsc = 'STOS_BY_OFFERING_ASSET_ID_STDDEV_SAMPLE_END_ASC', - StosByOfferingAssetIdStddevSampleEndDesc = 'STOS_BY_OFFERING_ASSET_ID_STDDEV_SAMPLE_END_DESC', - StosByOfferingAssetIdStddevSampleIdAsc = 'STOS_BY_OFFERING_ASSET_ID_STDDEV_SAMPLE_ID_ASC', - StosByOfferingAssetIdStddevSampleIdDesc = 'STOS_BY_OFFERING_ASSET_ID_STDDEV_SAMPLE_ID_DESC', - StosByOfferingAssetIdStddevSampleMinimumInvestmentAsc = 'STOS_BY_OFFERING_ASSET_ID_STDDEV_SAMPLE_MINIMUM_INVESTMENT_ASC', - StosByOfferingAssetIdStddevSampleMinimumInvestmentDesc = 'STOS_BY_OFFERING_ASSET_ID_STDDEV_SAMPLE_MINIMUM_INVESTMENT_DESC', - StosByOfferingAssetIdStddevSampleNameAsc = 'STOS_BY_OFFERING_ASSET_ID_STDDEV_SAMPLE_NAME_ASC', - StosByOfferingAssetIdStddevSampleNameDesc = 'STOS_BY_OFFERING_ASSET_ID_STDDEV_SAMPLE_NAME_DESC', - StosByOfferingAssetIdStddevSampleOfferingAssetIdAsc = 'STOS_BY_OFFERING_ASSET_ID_STDDEV_SAMPLE_OFFERING_ASSET_ID_ASC', - StosByOfferingAssetIdStddevSampleOfferingAssetIdDesc = 'STOS_BY_OFFERING_ASSET_ID_STDDEV_SAMPLE_OFFERING_ASSET_ID_DESC', - StosByOfferingAssetIdStddevSampleOfferingPortfolioIdAsc = 'STOS_BY_OFFERING_ASSET_ID_STDDEV_SAMPLE_OFFERING_PORTFOLIO_ID_ASC', - StosByOfferingAssetIdStddevSampleOfferingPortfolioIdDesc = 'STOS_BY_OFFERING_ASSET_ID_STDDEV_SAMPLE_OFFERING_PORTFOLIO_ID_DESC', - StosByOfferingAssetIdStddevSampleRaisingAssetIdAsc = 'STOS_BY_OFFERING_ASSET_ID_STDDEV_SAMPLE_RAISING_ASSET_ID_ASC', - StosByOfferingAssetIdStddevSampleRaisingAssetIdDesc = 'STOS_BY_OFFERING_ASSET_ID_STDDEV_SAMPLE_RAISING_ASSET_ID_DESC', - StosByOfferingAssetIdStddevSampleRaisingPortfolioIdAsc = 'STOS_BY_OFFERING_ASSET_ID_STDDEV_SAMPLE_RAISING_PORTFOLIO_ID_ASC', - StosByOfferingAssetIdStddevSampleRaisingPortfolioIdDesc = 'STOS_BY_OFFERING_ASSET_ID_STDDEV_SAMPLE_RAISING_PORTFOLIO_ID_DESC', - StosByOfferingAssetIdStddevSampleStartAsc = 'STOS_BY_OFFERING_ASSET_ID_STDDEV_SAMPLE_START_ASC', - StosByOfferingAssetIdStddevSampleStartDesc = 'STOS_BY_OFFERING_ASSET_ID_STDDEV_SAMPLE_START_DESC', - StosByOfferingAssetIdStddevSampleStatusAsc = 'STOS_BY_OFFERING_ASSET_ID_STDDEV_SAMPLE_STATUS_ASC', - StosByOfferingAssetIdStddevSampleStatusDesc = 'STOS_BY_OFFERING_ASSET_ID_STDDEV_SAMPLE_STATUS_DESC', - StosByOfferingAssetIdStddevSampleStoIdAsc = 'STOS_BY_OFFERING_ASSET_ID_STDDEV_SAMPLE_STO_ID_ASC', - StosByOfferingAssetIdStddevSampleStoIdDesc = 'STOS_BY_OFFERING_ASSET_ID_STDDEV_SAMPLE_STO_ID_DESC', - StosByOfferingAssetIdStddevSampleTiersAsc = 'STOS_BY_OFFERING_ASSET_ID_STDDEV_SAMPLE_TIERS_ASC', - StosByOfferingAssetIdStddevSampleTiersDesc = 'STOS_BY_OFFERING_ASSET_ID_STDDEV_SAMPLE_TIERS_DESC', - StosByOfferingAssetIdStddevSampleUpdatedAtAsc = 'STOS_BY_OFFERING_ASSET_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - StosByOfferingAssetIdStddevSampleUpdatedAtDesc = 'STOS_BY_OFFERING_ASSET_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - StosByOfferingAssetIdStddevSampleUpdatedBlockIdAsc = 'STOS_BY_OFFERING_ASSET_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - StosByOfferingAssetIdStddevSampleUpdatedBlockIdDesc = 'STOS_BY_OFFERING_ASSET_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - StosByOfferingAssetIdStddevSampleVenueIdAsc = 'STOS_BY_OFFERING_ASSET_ID_STDDEV_SAMPLE_VENUE_ID_ASC', - StosByOfferingAssetIdStddevSampleVenueIdDesc = 'STOS_BY_OFFERING_ASSET_ID_STDDEV_SAMPLE_VENUE_ID_DESC', - StosByOfferingAssetIdSumCreatedAtAsc = 'STOS_BY_OFFERING_ASSET_ID_SUM_CREATED_AT_ASC', - StosByOfferingAssetIdSumCreatedAtDesc = 'STOS_BY_OFFERING_ASSET_ID_SUM_CREATED_AT_DESC', - StosByOfferingAssetIdSumCreatedBlockIdAsc = 'STOS_BY_OFFERING_ASSET_ID_SUM_CREATED_BLOCK_ID_ASC', - StosByOfferingAssetIdSumCreatedBlockIdDesc = 'STOS_BY_OFFERING_ASSET_ID_SUM_CREATED_BLOCK_ID_DESC', - StosByOfferingAssetIdSumCreatorIdAsc = 'STOS_BY_OFFERING_ASSET_ID_SUM_CREATOR_ID_ASC', - StosByOfferingAssetIdSumCreatorIdDesc = 'STOS_BY_OFFERING_ASSET_ID_SUM_CREATOR_ID_DESC', - StosByOfferingAssetIdSumEndAsc = 'STOS_BY_OFFERING_ASSET_ID_SUM_END_ASC', - StosByOfferingAssetIdSumEndDesc = 'STOS_BY_OFFERING_ASSET_ID_SUM_END_DESC', - StosByOfferingAssetIdSumIdAsc = 'STOS_BY_OFFERING_ASSET_ID_SUM_ID_ASC', - StosByOfferingAssetIdSumIdDesc = 'STOS_BY_OFFERING_ASSET_ID_SUM_ID_DESC', - StosByOfferingAssetIdSumMinimumInvestmentAsc = 'STOS_BY_OFFERING_ASSET_ID_SUM_MINIMUM_INVESTMENT_ASC', - StosByOfferingAssetIdSumMinimumInvestmentDesc = 'STOS_BY_OFFERING_ASSET_ID_SUM_MINIMUM_INVESTMENT_DESC', - StosByOfferingAssetIdSumNameAsc = 'STOS_BY_OFFERING_ASSET_ID_SUM_NAME_ASC', - StosByOfferingAssetIdSumNameDesc = 'STOS_BY_OFFERING_ASSET_ID_SUM_NAME_DESC', - StosByOfferingAssetIdSumOfferingAssetIdAsc = 'STOS_BY_OFFERING_ASSET_ID_SUM_OFFERING_ASSET_ID_ASC', - StosByOfferingAssetIdSumOfferingAssetIdDesc = 'STOS_BY_OFFERING_ASSET_ID_SUM_OFFERING_ASSET_ID_DESC', - StosByOfferingAssetIdSumOfferingPortfolioIdAsc = 'STOS_BY_OFFERING_ASSET_ID_SUM_OFFERING_PORTFOLIO_ID_ASC', - StosByOfferingAssetIdSumOfferingPortfolioIdDesc = 'STOS_BY_OFFERING_ASSET_ID_SUM_OFFERING_PORTFOLIO_ID_DESC', - StosByOfferingAssetIdSumRaisingAssetIdAsc = 'STOS_BY_OFFERING_ASSET_ID_SUM_RAISING_ASSET_ID_ASC', - StosByOfferingAssetIdSumRaisingAssetIdDesc = 'STOS_BY_OFFERING_ASSET_ID_SUM_RAISING_ASSET_ID_DESC', - StosByOfferingAssetIdSumRaisingPortfolioIdAsc = 'STOS_BY_OFFERING_ASSET_ID_SUM_RAISING_PORTFOLIO_ID_ASC', - StosByOfferingAssetIdSumRaisingPortfolioIdDesc = 'STOS_BY_OFFERING_ASSET_ID_SUM_RAISING_PORTFOLIO_ID_DESC', - StosByOfferingAssetIdSumStartAsc = 'STOS_BY_OFFERING_ASSET_ID_SUM_START_ASC', - StosByOfferingAssetIdSumStartDesc = 'STOS_BY_OFFERING_ASSET_ID_SUM_START_DESC', - StosByOfferingAssetIdSumStatusAsc = 'STOS_BY_OFFERING_ASSET_ID_SUM_STATUS_ASC', - StosByOfferingAssetIdSumStatusDesc = 'STOS_BY_OFFERING_ASSET_ID_SUM_STATUS_DESC', - StosByOfferingAssetIdSumStoIdAsc = 'STOS_BY_OFFERING_ASSET_ID_SUM_STO_ID_ASC', - StosByOfferingAssetIdSumStoIdDesc = 'STOS_BY_OFFERING_ASSET_ID_SUM_STO_ID_DESC', - StosByOfferingAssetIdSumTiersAsc = 'STOS_BY_OFFERING_ASSET_ID_SUM_TIERS_ASC', - StosByOfferingAssetIdSumTiersDesc = 'STOS_BY_OFFERING_ASSET_ID_SUM_TIERS_DESC', - StosByOfferingAssetIdSumUpdatedAtAsc = 'STOS_BY_OFFERING_ASSET_ID_SUM_UPDATED_AT_ASC', - StosByOfferingAssetIdSumUpdatedAtDesc = 'STOS_BY_OFFERING_ASSET_ID_SUM_UPDATED_AT_DESC', - StosByOfferingAssetIdSumUpdatedBlockIdAsc = 'STOS_BY_OFFERING_ASSET_ID_SUM_UPDATED_BLOCK_ID_ASC', - StosByOfferingAssetIdSumUpdatedBlockIdDesc = 'STOS_BY_OFFERING_ASSET_ID_SUM_UPDATED_BLOCK_ID_DESC', - StosByOfferingAssetIdSumVenueIdAsc = 'STOS_BY_OFFERING_ASSET_ID_SUM_VENUE_ID_ASC', - StosByOfferingAssetIdSumVenueIdDesc = 'STOS_BY_OFFERING_ASSET_ID_SUM_VENUE_ID_DESC', - StosByOfferingAssetIdVariancePopulationCreatedAtAsc = 'STOS_BY_OFFERING_ASSET_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - StosByOfferingAssetIdVariancePopulationCreatedAtDesc = 'STOS_BY_OFFERING_ASSET_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - StosByOfferingAssetIdVariancePopulationCreatedBlockIdAsc = 'STOS_BY_OFFERING_ASSET_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - StosByOfferingAssetIdVariancePopulationCreatedBlockIdDesc = 'STOS_BY_OFFERING_ASSET_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - StosByOfferingAssetIdVariancePopulationCreatorIdAsc = 'STOS_BY_OFFERING_ASSET_ID_VARIANCE_POPULATION_CREATOR_ID_ASC', - StosByOfferingAssetIdVariancePopulationCreatorIdDesc = 'STOS_BY_OFFERING_ASSET_ID_VARIANCE_POPULATION_CREATOR_ID_DESC', - StosByOfferingAssetIdVariancePopulationEndAsc = 'STOS_BY_OFFERING_ASSET_ID_VARIANCE_POPULATION_END_ASC', - StosByOfferingAssetIdVariancePopulationEndDesc = 'STOS_BY_OFFERING_ASSET_ID_VARIANCE_POPULATION_END_DESC', - StosByOfferingAssetIdVariancePopulationIdAsc = 'STOS_BY_OFFERING_ASSET_ID_VARIANCE_POPULATION_ID_ASC', - StosByOfferingAssetIdVariancePopulationIdDesc = 'STOS_BY_OFFERING_ASSET_ID_VARIANCE_POPULATION_ID_DESC', - StosByOfferingAssetIdVariancePopulationMinimumInvestmentAsc = 'STOS_BY_OFFERING_ASSET_ID_VARIANCE_POPULATION_MINIMUM_INVESTMENT_ASC', - StosByOfferingAssetIdVariancePopulationMinimumInvestmentDesc = 'STOS_BY_OFFERING_ASSET_ID_VARIANCE_POPULATION_MINIMUM_INVESTMENT_DESC', - StosByOfferingAssetIdVariancePopulationNameAsc = 'STOS_BY_OFFERING_ASSET_ID_VARIANCE_POPULATION_NAME_ASC', - StosByOfferingAssetIdVariancePopulationNameDesc = 'STOS_BY_OFFERING_ASSET_ID_VARIANCE_POPULATION_NAME_DESC', - StosByOfferingAssetIdVariancePopulationOfferingAssetIdAsc = 'STOS_BY_OFFERING_ASSET_ID_VARIANCE_POPULATION_OFFERING_ASSET_ID_ASC', - StosByOfferingAssetIdVariancePopulationOfferingAssetIdDesc = 'STOS_BY_OFFERING_ASSET_ID_VARIANCE_POPULATION_OFFERING_ASSET_ID_DESC', - StosByOfferingAssetIdVariancePopulationOfferingPortfolioIdAsc = 'STOS_BY_OFFERING_ASSET_ID_VARIANCE_POPULATION_OFFERING_PORTFOLIO_ID_ASC', - StosByOfferingAssetIdVariancePopulationOfferingPortfolioIdDesc = 'STOS_BY_OFFERING_ASSET_ID_VARIANCE_POPULATION_OFFERING_PORTFOLIO_ID_DESC', - StosByOfferingAssetIdVariancePopulationRaisingAssetIdAsc = 'STOS_BY_OFFERING_ASSET_ID_VARIANCE_POPULATION_RAISING_ASSET_ID_ASC', - StosByOfferingAssetIdVariancePopulationRaisingAssetIdDesc = 'STOS_BY_OFFERING_ASSET_ID_VARIANCE_POPULATION_RAISING_ASSET_ID_DESC', - StosByOfferingAssetIdVariancePopulationRaisingPortfolioIdAsc = 'STOS_BY_OFFERING_ASSET_ID_VARIANCE_POPULATION_RAISING_PORTFOLIO_ID_ASC', - StosByOfferingAssetIdVariancePopulationRaisingPortfolioIdDesc = 'STOS_BY_OFFERING_ASSET_ID_VARIANCE_POPULATION_RAISING_PORTFOLIO_ID_DESC', - StosByOfferingAssetIdVariancePopulationStartAsc = 'STOS_BY_OFFERING_ASSET_ID_VARIANCE_POPULATION_START_ASC', - StosByOfferingAssetIdVariancePopulationStartDesc = 'STOS_BY_OFFERING_ASSET_ID_VARIANCE_POPULATION_START_DESC', - StosByOfferingAssetIdVariancePopulationStatusAsc = 'STOS_BY_OFFERING_ASSET_ID_VARIANCE_POPULATION_STATUS_ASC', - StosByOfferingAssetIdVariancePopulationStatusDesc = 'STOS_BY_OFFERING_ASSET_ID_VARIANCE_POPULATION_STATUS_DESC', - StosByOfferingAssetIdVariancePopulationStoIdAsc = 'STOS_BY_OFFERING_ASSET_ID_VARIANCE_POPULATION_STO_ID_ASC', - StosByOfferingAssetIdVariancePopulationStoIdDesc = 'STOS_BY_OFFERING_ASSET_ID_VARIANCE_POPULATION_STO_ID_DESC', - StosByOfferingAssetIdVariancePopulationTiersAsc = 'STOS_BY_OFFERING_ASSET_ID_VARIANCE_POPULATION_TIERS_ASC', - StosByOfferingAssetIdVariancePopulationTiersDesc = 'STOS_BY_OFFERING_ASSET_ID_VARIANCE_POPULATION_TIERS_DESC', - StosByOfferingAssetIdVariancePopulationUpdatedAtAsc = 'STOS_BY_OFFERING_ASSET_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - StosByOfferingAssetIdVariancePopulationUpdatedAtDesc = 'STOS_BY_OFFERING_ASSET_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - StosByOfferingAssetIdVariancePopulationUpdatedBlockIdAsc = 'STOS_BY_OFFERING_ASSET_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - StosByOfferingAssetIdVariancePopulationUpdatedBlockIdDesc = 'STOS_BY_OFFERING_ASSET_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - StosByOfferingAssetIdVariancePopulationVenueIdAsc = 'STOS_BY_OFFERING_ASSET_ID_VARIANCE_POPULATION_VENUE_ID_ASC', - StosByOfferingAssetIdVariancePopulationVenueIdDesc = 'STOS_BY_OFFERING_ASSET_ID_VARIANCE_POPULATION_VENUE_ID_DESC', - StosByOfferingAssetIdVarianceSampleCreatedAtAsc = 'STOS_BY_OFFERING_ASSET_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - StosByOfferingAssetIdVarianceSampleCreatedAtDesc = 'STOS_BY_OFFERING_ASSET_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - StosByOfferingAssetIdVarianceSampleCreatedBlockIdAsc = 'STOS_BY_OFFERING_ASSET_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - StosByOfferingAssetIdVarianceSampleCreatedBlockIdDesc = 'STOS_BY_OFFERING_ASSET_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - StosByOfferingAssetIdVarianceSampleCreatorIdAsc = 'STOS_BY_OFFERING_ASSET_ID_VARIANCE_SAMPLE_CREATOR_ID_ASC', - StosByOfferingAssetIdVarianceSampleCreatorIdDesc = 'STOS_BY_OFFERING_ASSET_ID_VARIANCE_SAMPLE_CREATOR_ID_DESC', - StosByOfferingAssetIdVarianceSampleEndAsc = 'STOS_BY_OFFERING_ASSET_ID_VARIANCE_SAMPLE_END_ASC', - StosByOfferingAssetIdVarianceSampleEndDesc = 'STOS_BY_OFFERING_ASSET_ID_VARIANCE_SAMPLE_END_DESC', - StosByOfferingAssetIdVarianceSampleIdAsc = 'STOS_BY_OFFERING_ASSET_ID_VARIANCE_SAMPLE_ID_ASC', - StosByOfferingAssetIdVarianceSampleIdDesc = 'STOS_BY_OFFERING_ASSET_ID_VARIANCE_SAMPLE_ID_DESC', - StosByOfferingAssetIdVarianceSampleMinimumInvestmentAsc = 'STOS_BY_OFFERING_ASSET_ID_VARIANCE_SAMPLE_MINIMUM_INVESTMENT_ASC', - StosByOfferingAssetIdVarianceSampleMinimumInvestmentDesc = 'STOS_BY_OFFERING_ASSET_ID_VARIANCE_SAMPLE_MINIMUM_INVESTMENT_DESC', - StosByOfferingAssetIdVarianceSampleNameAsc = 'STOS_BY_OFFERING_ASSET_ID_VARIANCE_SAMPLE_NAME_ASC', - StosByOfferingAssetIdVarianceSampleNameDesc = 'STOS_BY_OFFERING_ASSET_ID_VARIANCE_SAMPLE_NAME_DESC', - StosByOfferingAssetIdVarianceSampleOfferingAssetIdAsc = 'STOS_BY_OFFERING_ASSET_ID_VARIANCE_SAMPLE_OFFERING_ASSET_ID_ASC', - StosByOfferingAssetIdVarianceSampleOfferingAssetIdDesc = 'STOS_BY_OFFERING_ASSET_ID_VARIANCE_SAMPLE_OFFERING_ASSET_ID_DESC', - StosByOfferingAssetIdVarianceSampleOfferingPortfolioIdAsc = 'STOS_BY_OFFERING_ASSET_ID_VARIANCE_SAMPLE_OFFERING_PORTFOLIO_ID_ASC', - StosByOfferingAssetIdVarianceSampleOfferingPortfolioIdDesc = 'STOS_BY_OFFERING_ASSET_ID_VARIANCE_SAMPLE_OFFERING_PORTFOLIO_ID_DESC', - StosByOfferingAssetIdVarianceSampleRaisingAssetIdAsc = 'STOS_BY_OFFERING_ASSET_ID_VARIANCE_SAMPLE_RAISING_ASSET_ID_ASC', - StosByOfferingAssetIdVarianceSampleRaisingAssetIdDesc = 'STOS_BY_OFFERING_ASSET_ID_VARIANCE_SAMPLE_RAISING_ASSET_ID_DESC', - StosByOfferingAssetIdVarianceSampleRaisingPortfolioIdAsc = 'STOS_BY_OFFERING_ASSET_ID_VARIANCE_SAMPLE_RAISING_PORTFOLIO_ID_ASC', - StosByOfferingAssetIdVarianceSampleRaisingPortfolioIdDesc = 'STOS_BY_OFFERING_ASSET_ID_VARIANCE_SAMPLE_RAISING_PORTFOLIO_ID_DESC', - StosByOfferingAssetIdVarianceSampleStartAsc = 'STOS_BY_OFFERING_ASSET_ID_VARIANCE_SAMPLE_START_ASC', - StosByOfferingAssetIdVarianceSampleStartDesc = 'STOS_BY_OFFERING_ASSET_ID_VARIANCE_SAMPLE_START_DESC', - StosByOfferingAssetIdVarianceSampleStatusAsc = 'STOS_BY_OFFERING_ASSET_ID_VARIANCE_SAMPLE_STATUS_ASC', - StosByOfferingAssetIdVarianceSampleStatusDesc = 'STOS_BY_OFFERING_ASSET_ID_VARIANCE_SAMPLE_STATUS_DESC', - StosByOfferingAssetIdVarianceSampleStoIdAsc = 'STOS_BY_OFFERING_ASSET_ID_VARIANCE_SAMPLE_STO_ID_ASC', - StosByOfferingAssetIdVarianceSampleStoIdDesc = 'STOS_BY_OFFERING_ASSET_ID_VARIANCE_SAMPLE_STO_ID_DESC', - StosByOfferingAssetIdVarianceSampleTiersAsc = 'STOS_BY_OFFERING_ASSET_ID_VARIANCE_SAMPLE_TIERS_ASC', - StosByOfferingAssetIdVarianceSampleTiersDesc = 'STOS_BY_OFFERING_ASSET_ID_VARIANCE_SAMPLE_TIERS_DESC', - StosByOfferingAssetIdVarianceSampleUpdatedAtAsc = 'STOS_BY_OFFERING_ASSET_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - StosByOfferingAssetIdVarianceSampleUpdatedAtDesc = 'STOS_BY_OFFERING_ASSET_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - StosByOfferingAssetIdVarianceSampleUpdatedBlockIdAsc = 'STOS_BY_OFFERING_ASSET_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - StosByOfferingAssetIdVarianceSampleUpdatedBlockIdDesc = 'STOS_BY_OFFERING_ASSET_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - StosByOfferingAssetIdVarianceSampleVenueIdAsc = 'STOS_BY_OFFERING_ASSET_ID_VARIANCE_SAMPLE_VENUE_ID_ASC', - StosByOfferingAssetIdVarianceSampleVenueIdDesc = 'STOS_BY_OFFERING_ASSET_ID_VARIANCE_SAMPLE_VENUE_ID_DESC', - TickerAsc = 'TICKER_ASC', - TickerDesc = 'TICKER_DESC', - TickerExternalAgentsAverageAssetIdAsc = 'TICKER_EXTERNAL_AGENTS_AVERAGE_ASSET_ID_ASC', - TickerExternalAgentsAverageAssetIdDesc = 'TICKER_EXTERNAL_AGENTS_AVERAGE_ASSET_ID_DESC', - TickerExternalAgentsAverageCallerIdAsc = 'TICKER_EXTERNAL_AGENTS_AVERAGE_CALLER_ID_ASC', - TickerExternalAgentsAverageCallerIdDesc = 'TICKER_EXTERNAL_AGENTS_AVERAGE_CALLER_ID_DESC', - TickerExternalAgentsAverageCreatedAtAsc = 'TICKER_EXTERNAL_AGENTS_AVERAGE_CREATED_AT_ASC', - TickerExternalAgentsAverageCreatedAtDesc = 'TICKER_EXTERNAL_AGENTS_AVERAGE_CREATED_AT_DESC', - TickerExternalAgentsAverageCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENTS_AVERAGE_CREATED_BLOCK_ID_ASC', - TickerExternalAgentsAverageCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENTS_AVERAGE_CREATED_BLOCK_ID_DESC', - TickerExternalAgentsAverageDatetimeAsc = 'TICKER_EXTERNAL_AGENTS_AVERAGE_DATETIME_ASC', - TickerExternalAgentsAverageDatetimeDesc = 'TICKER_EXTERNAL_AGENTS_AVERAGE_DATETIME_DESC', - TickerExternalAgentsAverageEventIdxAsc = 'TICKER_EXTERNAL_AGENTS_AVERAGE_EVENT_IDX_ASC', - TickerExternalAgentsAverageEventIdxDesc = 'TICKER_EXTERNAL_AGENTS_AVERAGE_EVENT_IDX_DESC', - TickerExternalAgentsAverageIdAsc = 'TICKER_EXTERNAL_AGENTS_AVERAGE_ID_ASC', - TickerExternalAgentsAverageIdDesc = 'TICKER_EXTERNAL_AGENTS_AVERAGE_ID_DESC', - TickerExternalAgentsAverageUpdatedAtAsc = 'TICKER_EXTERNAL_AGENTS_AVERAGE_UPDATED_AT_ASC', - TickerExternalAgentsAverageUpdatedAtDesc = 'TICKER_EXTERNAL_AGENTS_AVERAGE_UPDATED_AT_DESC', - TickerExternalAgentsAverageUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENTS_AVERAGE_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentsAverageUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENTS_AVERAGE_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentsCountAsc = 'TICKER_EXTERNAL_AGENTS_COUNT_ASC', - TickerExternalAgentsCountDesc = 'TICKER_EXTERNAL_AGENTS_COUNT_DESC', - TickerExternalAgentsDistinctCountAssetIdAsc = 'TICKER_EXTERNAL_AGENTS_DISTINCT_COUNT_ASSET_ID_ASC', - TickerExternalAgentsDistinctCountAssetIdDesc = 'TICKER_EXTERNAL_AGENTS_DISTINCT_COUNT_ASSET_ID_DESC', - TickerExternalAgentsDistinctCountCallerIdAsc = 'TICKER_EXTERNAL_AGENTS_DISTINCT_COUNT_CALLER_ID_ASC', - TickerExternalAgentsDistinctCountCallerIdDesc = 'TICKER_EXTERNAL_AGENTS_DISTINCT_COUNT_CALLER_ID_DESC', - TickerExternalAgentsDistinctCountCreatedAtAsc = 'TICKER_EXTERNAL_AGENTS_DISTINCT_COUNT_CREATED_AT_ASC', - TickerExternalAgentsDistinctCountCreatedAtDesc = 'TICKER_EXTERNAL_AGENTS_DISTINCT_COUNT_CREATED_AT_DESC', - TickerExternalAgentsDistinctCountCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENTS_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - TickerExternalAgentsDistinctCountCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENTS_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - TickerExternalAgentsDistinctCountDatetimeAsc = 'TICKER_EXTERNAL_AGENTS_DISTINCT_COUNT_DATETIME_ASC', - TickerExternalAgentsDistinctCountDatetimeDesc = 'TICKER_EXTERNAL_AGENTS_DISTINCT_COUNT_DATETIME_DESC', - TickerExternalAgentsDistinctCountEventIdxAsc = 'TICKER_EXTERNAL_AGENTS_DISTINCT_COUNT_EVENT_IDX_ASC', - TickerExternalAgentsDistinctCountEventIdxDesc = 'TICKER_EXTERNAL_AGENTS_DISTINCT_COUNT_EVENT_IDX_DESC', - TickerExternalAgentsDistinctCountIdAsc = 'TICKER_EXTERNAL_AGENTS_DISTINCT_COUNT_ID_ASC', - TickerExternalAgentsDistinctCountIdDesc = 'TICKER_EXTERNAL_AGENTS_DISTINCT_COUNT_ID_DESC', - TickerExternalAgentsDistinctCountUpdatedAtAsc = 'TICKER_EXTERNAL_AGENTS_DISTINCT_COUNT_UPDATED_AT_ASC', - TickerExternalAgentsDistinctCountUpdatedAtDesc = 'TICKER_EXTERNAL_AGENTS_DISTINCT_COUNT_UPDATED_AT_DESC', - TickerExternalAgentsDistinctCountUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENTS_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentsDistinctCountUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENTS_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentsMaxAssetIdAsc = 'TICKER_EXTERNAL_AGENTS_MAX_ASSET_ID_ASC', - TickerExternalAgentsMaxAssetIdDesc = 'TICKER_EXTERNAL_AGENTS_MAX_ASSET_ID_DESC', - TickerExternalAgentsMaxCallerIdAsc = 'TICKER_EXTERNAL_AGENTS_MAX_CALLER_ID_ASC', - TickerExternalAgentsMaxCallerIdDesc = 'TICKER_EXTERNAL_AGENTS_MAX_CALLER_ID_DESC', - TickerExternalAgentsMaxCreatedAtAsc = 'TICKER_EXTERNAL_AGENTS_MAX_CREATED_AT_ASC', - TickerExternalAgentsMaxCreatedAtDesc = 'TICKER_EXTERNAL_AGENTS_MAX_CREATED_AT_DESC', - TickerExternalAgentsMaxCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENTS_MAX_CREATED_BLOCK_ID_ASC', - TickerExternalAgentsMaxCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENTS_MAX_CREATED_BLOCK_ID_DESC', - TickerExternalAgentsMaxDatetimeAsc = 'TICKER_EXTERNAL_AGENTS_MAX_DATETIME_ASC', - TickerExternalAgentsMaxDatetimeDesc = 'TICKER_EXTERNAL_AGENTS_MAX_DATETIME_DESC', - TickerExternalAgentsMaxEventIdxAsc = 'TICKER_EXTERNAL_AGENTS_MAX_EVENT_IDX_ASC', - TickerExternalAgentsMaxEventIdxDesc = 'TICKER_EXTERNAL_AGENTS_MAX_EVENT_IDX_DESC', - TickerExternalAgentsMaxIdAsc = 'TICKER_EXTERNAL_AGENTS_MAX_ID_ASC', - TickerExternalAgentsMaxIdDesc = 'TICKER_EXTERNAL_AGENTS_MAX_ID_DESC', - TickerExternalAgentsMaxUpdatedAtAsc = 'TICKER_EXTERNAL_AGENTS_MAX_UPDATED_AT_ASC', - TickerExternalAgentsMaxUpdatedAtDesc = 'TICKER_EXTERNAL_AGENTS_MAX_UPDATED_AT_DESC', - TickerExternalAgentsMaxUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENTS_MAX_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentsMaxUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENTS_MAX_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentsMinAssetIdAsc = 'TICKER_EXTERNAL_AGENTS_MIN_ASSET_ID_ASC', - TickerExternalAgentsMinAssetIdDesc = 'TICKER_EXTERNAL_AGENTS_MIN_ASSET_ID_DESC', - TickerExternalAgentsMinCallerIdAsc = 'TICKER_EXTERNAL_AGENTS_MIN_CALLER_ID_ASC', - TickerExternalAgentsMinCallerIdDesc = 'TICKER_EXTERNAL_AGENTS_MIN_CALLER_ID_DESC', - TickerExternalAgentsMinCreatedAtAsc = 'TICKER_EXTERNAL_AGENTS_MIN_CREATED_AT_ASC', - TickerExternalAgentsMinCreatedAtDesc = 'TICKER_EXTERNAL_AGENTS_MIN_CREATED_AT_DESC', - TickerExternalAgentsMinCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENTS_MIN_CREATED_BLOCK_ID_ASC', - TickerExternalAgentsMinCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENTS_MIN_CREATED_BLOCK_ID_DESC', - TickerExternalAgentsMinDatetimeAsc = 'TICKER_EXTERNAL_AGENTS_MIN_DATETIME_ASC', - TickerExternalAgentsMinDatetimeDesc = 'TICKER_EXTERNAL_AGENTS_MIN_DATETIME_DESC', - TickerExternalAgentsMinEventIdxAsc = 'TICKER_EXTERNAL_AGENTS_MIN_EVENT_IDX_ASC', - TickerExternalAgentsMinEventIdxDesc = 'TICKER_EXTERNAL_AGENTS_MIN_EVENT_IDX_DESC', - TickerExternalAgentsMinIdAsc = 'TICKER_EXTERNAL_AGENTS_MIN_ID_ASC', - TickerExternalAgentsMinIdDesc = 'TICKER_EXTERNAL_AGENTS_MIN_ID_DESC', - TickerExternalAgentsMinUpdatedAtAsc = 'TICKER_EXTERNAL_AGENTS_MIN_UPDATED_AT_ASC', - TickerExternalAgentsMinUpdatedAtDesc = 'TICKER_EXTERNAL_AGENTS_MIN_UPDATED_AT_DESC', - TickerExternalAgentsMinUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENTS_MIN_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentsMinUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENTS_MIN_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentsStddevPopulationAssetIdAsc = 'TICKER_EXTERNAL_AGENTS_STDDEV_POPULATION_ASSET_ID_ASC', - TickerExternalAgentsStddevPopulationAssetIdDesc = 'TICKER_EXTERNAL_AGENTS_STDDEV_POPULATION_ASSET_ID_DESC', - TickerExternalAgentsStddevPopulationCallerIdAsc = 'TICKER_EXTERNAL_AGENTS_STDDEV_POPULATION_CALLER_ID_ASC', - TickerExternalAgentsStddevPopulationCallerIdDesc = 'TICKER_EXTERNAL_AGENTS_STDDEV_POPULATION_CALLER_ID_DESC', - TickerExternalAgentsStddevPopulationCreatedAtAsc = 'TICKER_EXTERNAL_AGENTS_STDDEV_POPULATION_CREATED_AT_ASC', - TickerExternalAgentsStddevPopulationCreatedAtDesc = 'TICKER_EXTERNAL_AGENTS_STDDEV_POPULATION_CREATED_AT_DESC', - TickerExternalAgentsStddevPopulationCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENTS_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - TickerExternalAgentsStddevPopulationCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENTS_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - TickerExternalAgentsStddevPopulationDatetimeAsc = 'TICKER_EXTERNAL_AGENTS_STDDEV_POPULATION_DATETIME_ASC', - TickerExternalAgentsStddevPopulationDatetimeDesc = 'TICKER_EXTERNAL_AGENTS_STDDEV_POPULATION_DATETIME_DESC', - TickerExternalAgentsStddevPopulationEventIdxAsc = 'TICKER_EXTERNAL_AGENTS_STDDEV_POPULATION_EVENT_IDX_ASC', - TickerExternalAgentsStddevPopulationEventIdxDesc = 'TICKER_EXTERNAL_AGENTS_STDDEV_POPULATION_EVENT_IDX_DESC', - TickerExternalAgentsStddevPopulationIdAsc = 'TICKER_EXTERNAL_AGENTS_STDDEV_POPULATION_ID_ASC', - TickerExternalAgentsStddevPopulationIdDesc = 'TICKER_EXTERNAL_AGENTS_STDDEV_POPULATION_ID_DESC', - TickerExternalAgentsStddevPopulationUpdatedAtAsc = 'TICKER_EXTERNAL_AGENTS_STDDEV_POPULATION_UPDATED_AT_ASC', - TickerExternalAgentsStddevPopulationUpdatedAtDesc = 'TICKER_EXTERNAL_AGENTS_STDDEV_POPULATION_UPDATED_AT_DESC', - TickerExternalAgentsStddevPopulationUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENTS_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentsStddevPopulationUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENTS_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentsStddevSampleAssetIdAsc = 'TICKER_EXTERNAL_AGENTS_STDDEV_SAMPLE_ASSET_ID_ASC', - TickerExternalAgentsStddevSampleAssetIdDesc = 'TICKER_EXTERNAL_AGENTS_STDDEV_SAMPLE_ASSET_ID_DESC', - TickerExternalAgentsStddevSampleCallerIdAsc = 'TICKER_EXTERNAL_AGENTS_STDDEV_SAMPLE_CALLER_ID_ASC', - TickerExternalAgentsStddevSampleCallerIdDesc = 'TICKER_EXTERNAL_AGENTS_STDDEV_SAMPLE_CALLER_ID_DESC', - TickerExternalAgentsStddevSampleCreatedAtAsc = 'TICKER_EXTERNAL_AGENTS_STDDEV_SAMPLE_CREATED_AT_ASC', - TickerExternalAgentsStddevSampleCreatedAtDesc = 'TICKER_EXTERNAL_AGENTS_STDDEV_SAMPLE_CREATED_AT_DESC', - TickerExternalAgentsStddevSampleCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENTS_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - TickerExternalAgentsStddevSampleCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENTS_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - TickerExternalAgentsStddevSampleDatetimeAsc = 'TICKER_EXTERNAL_AGENTS_STDDEV_SAMPLE_DATETIME_ASC', - TickerExternalAgentsStddevSampleDatetimeDesc = 'TICKER_EXTERNAL_AGENTS_STDDEV_SAMPLE_DATETIME_DESC', - TickerExternalAgentsStddevSampleEventIdxAsc = 'TICKER_EXTERNAL_AGENTS_STDDEV_SAMPLE_EVENT_IDX_ASC', - TickerExternalAgentsStddevSampleEventIdxDesc = 'TICKER_EXTERNAL_AGENTS_STDDEV_SAMPLE_EVENT_IDX_DESC', - TickerExternalAgentsStddevSampleIdAsc = 'TICKER_EXTERNAL_AGENTS_STDDEV_SAMPLE_ID_ASC', - TickerExternalAgentsStddevSampleIdDesc = 'TICKER_EXTERNAL_AGENTS_STDDEV_SAMPLE_ID_DESC', - TickerExternalAgentsStddevSampleUpdatedAtAsc = 'TICKER_EXTERNAL_AGENTS_STDDEV_SAMPLE_UPDATED_AT_ASC', - TickerExternalAgentsStddevSampleUpdatedAtDesc = 'TICKER_EXTERNAL_AGENTS_STDDEV_SAMPLE_UPDATED_AT_DESC', - TickerExternalAgentsStddevSampleUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENTS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentsStddevSampleUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENTS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentsSumAssetIdAsc = 'TICKER_EXTERNAL_AGENTS_SUM_ASSET_ID_ASC', - TickerExternalAgentsSumAssetIdDesc = 'TICKER_EXTERNAL_AGENTS_SUM_ASSET_ID_DESC', - TickerExternalAgentsSumCallerIdAsc = 'TICKER_EXTERNAL_AGENTS_SUM_CALLER_ID_ASC', - TickerExternalAgentsSumCallerIdDesc = 'TICKER_EXTERNAL_AGENTS_SUM_CALLER_ID_DESC', - TickerExternalAgentsSumCreatedAtAsc = 'TICKER_EXTERNAL_AGENTS_SUM_CREATED_AT_ASC', - TickerExternalAgentsSumCreatedAtDesc = 'TICKER_EXTERNAL_AGENTS_SUM_CREATED_AT_DESC', - TickerExternalAgentsSumCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENTS_SUM_CREATED_BLOCK_ID_ASC', - TickerExternalAgentsSumCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENTS_SUM_CREATED_BLOCK_ID_DESC', - TickerExternalAgentsSumDatetimeAsc = 'TICKER_EXTERNAL_AGENTS_SUM_DATETIME_ASC', - TickerExternalAgentsSumDatetimeDesc = 'TICKER_EXTERNAL_AGENTS_SUM_DATETIME_DESC', - TickerExternalAgentsSumEventIdxAsc = 'TICKER_EXTERNAL_AGENTS_SUM_EVENT_IDX_ASC', - TickerExternalAgentsSumEventIdxDesc = 'TICKER_EXTERNAL_AGENTS_SUM_EVENT_IDX_DESC', - TickerExternalAgentsSumIdAsc = 'TICKER_EXTERNAL_AGENTS_SUM_ID_ASC', - TickerExternalAgentsSumIdDesc = 'TICKER_EXTERNAL_AGENTS_SUM_ID_DESC', - TickerExternalAgentsSumUpdatedAtAsc = 'TICKER_EXTERNAL_AGENTS_SUM_UPDATED_AT_ASC', - TickerExternalAgentsSumUpdatedAtDesc = 'TICKER_EXTERNAL_AGENTS_SUM_UPDATED_AT_DESC', - TickerExternalAgentsSumUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENTS_SUM_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentsSumUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENTS_SUM_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentsVariancePopulationAssetIdAsc = 'TICKER_EXTERNAL_AGENTS_VARIANCE_POPULATION_ASSET_ID_ASC', - TickerExternalAgentsVariancePopulationAssetIdDesc = 'TICKER_EXTERNAL_AGENTS_VARIANCE_POPULATION_ASSET_ID_DESC', - TickerExternalAgentsVariancePopulationCallerIdAsc = 'TICKER_EXTERNAL_AGENTS_VARIANCE_POPULATION_CALLER_ID_ASC', - TickerExternalAgentsVariancePopulationCallerIdDesc = 'TICKER_EXTERNAL_AGENTS_VARIANCE_POPULATION_CALLER_ID_DESC', - TickerExternalAgentsVariancePopulationCreatedAtAsc = 'TICKER_EXTERNAL_AGENTS_VARIANCE_POPULATION_CREATED_AT_ASC', - TickerExternalAgentsVariancePopulationCreatedAtDesc = 'TICKER_EXTERNAL_AGENTS_VARIANCE_POPULATION_CREATED_AT_DESC', - TickerExternalAgentsVariancePopulationCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENTS_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - TickerExternalAgentsVariancePopulationCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENTS_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - TickerExternalAgentsVariancePopulationDatetimeAsc = 'TICKER_EXTERNAL_AGENTS_VARIANCE_POPULATION_DATETIME_ASC', - TickerExternalAgentsVariancePopulationDatetimeDesc = 'TICKER_EXTERNAL_AGENTS_VARIANCE_POPULATION_DATETIME_DESC', - TickerExternalAgentsVariancePopulationEventIdxAsc = 'TICKER_EXTERNAL_AGENTS_VARIANCE_POPULATION_EVENT_IDX_ASC', - TickerExternalAgentsVariancePopulationEventIdxDesc = 'TICKER_EXTERNAL_AGENTS_VARIANCE_POPULATION_EVENT_IDX_DESC', - TickerExternalAgentsVariancePopulationIdAsc = 'TICKER_EXTERNAL_AGENTS_VARIANCE_POPULATION_ID_ASC', - TickerExternalAgentsVariancePopulationIdDesc = 'TICKER_EXTERNAL_AGENTS_VARIANCE_POPULATION_ID_DESC', - TickerExternalAgentsVariancePopulationUpdatedAtAsc = 'TICKER_EXTERNAL_AGENTS_VARIANCE_POPULATION_UPDATED_AT_ASC', - TickerExternalAgentsVariancePopulationUpdatedAtDesc = 'TICKER_EXTERNAL_AGENTS_VARIANCE_POPULATION_UPDATED_AT_DESC', - TickerExternalAgentsVariancePopulationUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENTS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentsVariancePopulationUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENTS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentsVarianceSampleAssetIdAsc = 'TICKER_EXTERNAL_AGENTS_VARIANCE_SAMPLE_ASSET_ID_ASC', - TickerExternalAgentsVarianceSampleAssetIdDesc = 'TICKER_EXTERNAL_AGENTS_VARIANCE_SAMPLE_ASSET_ID_DESC', - TickerExternalAgentsVarianceSampleCallerIdAsc = 'TICKER_EXTERNAL_AGENTS_VARIANCE_SAMPLE_CALLER_ID_ASC', - TickerExternalAgentsVarianceSampleCallerIdDesc = 'TICKER_EXTERNAL_AGENTS_VARIANCE_SAMPLE_CALLER_ID_DESC', - TickerExternalAgentsVarianceSampleCreatedAtAsc = 'TICKER_EXTERNAL_AGENTS_VARIANCE_SAMPLE_CREATED_AT_ASC', - TickerExternalAgentsVarianceSampleCreatedAtDesc = 'TICKER_EXTERNAL_AGENTS_VARIANCE_SAMPLE_CREATED_AT_DESC', - TickerExternalAgentsVarianceSampleCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENTS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - TickerExternalAgentsVarianceSampleCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENTS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - TickerExternalAgentsVarianceSampleDatetimeAsc = 'TICKER_EXTERNAL_AGENTS_VARIANCE_SAMPLE_DATETIME_ASC', - TickerExternalAgentsVarianceSampleDatetimeDesc = 'TICKER_EXTERNAL_AGENTS_VARIANCE_SAMPLE_DATETIME_DESC', - TickerExternalAgentsVarianceSampleEventIdxAsc = 'TICKER_EXTERNAL_AGENTS_VARIANCE_SAMPLE_EVENT_IDX_ASC', - TickerExternalAgentsVarianceSampleEventIdxDesc = 'TICKER_EXTERNAL_AGENTS_VARIANCE_SAMPLE_EVENT_IDX_DESC', - TickerExternalAgentsVarianceSampleIdAsc = 'TICKER_EXTERNAL_AGENTS_VARIANCE_SAMPLE_ID_ASC', - TickerExternalAgentsVarianceSampleIdDesc = 'TICKER_EXTERNAL_AGENTS_VARIANCE_SAMPLE_ID_DESC', - TickerExternalAgentsVarianceSampleUpdatedAtAsc = 'TICKER_EXTERNAL_AGENTS_VARIANCE_SAMPLE_UPDATED_AT_ASC', - TickerExternalAgentsVarianceSampleUpdatedAtDesc = 'TICKER_EXTERNAL_AGENTS_VARIANCE_SAMPLE_UPDATED_AT_DESC', - TickerExternalAgentsVarianceSampleUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENTS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentsVarianceSampleUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENTS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentActionsAverageAssetIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_AVERAGE_ASSET_ID_ASC', - TickerExternalAgentActionsAverageAssetIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_AVERAGE_ASSET_ID_DESC', - TickerExternalAgentActionsAverageCallerIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_AVERAGE_CALLER_ID_ASC', - TickerExternalAgentActionsAverageCallerIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_AVERAGE_CALLER_ID_DESC', - TickerExternalAgentActionsAverageCreatedAtAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_AVERAGE_CREATED_AT_ASC', - TickerExternalAgentActionsAverageCreatedAtDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_AVERAGE_CREATED_AT_DESC', - TickerExternalAgentActionsAverageCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_AVERAGE_CREATED_BLOCK_ID_ASC', - TickerExternalAgentActionsAverageCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_AVERAGE_CREATED_BLOCK_ID_DESC', - TickerExternalAgentActionsAverageEventIdxAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_AVERAGE_EVENT_IDX_ASC', - TickerExternalAgentActionsAverageEventIdxDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_AVERAGE_EVENT_IDX_DESC', - TickerExternalAgentActionsAverageEventIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_AVERAGE_EVENT_ID_ASC', - TickerExternalAgentActionsAverageEventIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_AVERAGE_EVENT_ID_DESC', - TickerExternalAgentActionsAverageIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_AVERAGE_ID_ASC', - TickerExternalAgentActionsAverageIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_AVERAGE_ID_DESC', - TickerExternalAgentActionsAveragePalletNameAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_AVERAGE_PALLET_NAME_ASC', - TickerExternalAgentActionsAveragePalletNameDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_AVERAGE_PALLET_NAME_DESC', - TickerExternalAgentActionsAverageUpdatedAtAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_AVERAGE_UPDATED_AT_ASC', - TickerExternalAgentActionsAverageUpdatedAtDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_AVERAGE_UPDATED_AT_DESC', - TickerExternalAgentActionsAverageUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_AVERAGE_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentActionsAverageUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_AVERAGE_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentActionsCountAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_COUNT_ASC', - TickerExternalAgentActionsCountDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_COUNT_DESC', - TickerExternalAgentActionsDistinctCountAssetIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_DISTINCT_COUNT_ASSET_ID_ASC', - TickerExternalAgentActionsDistinctCountAssetIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_DISTINCT_COUNT_ASSET_ID_DESC', - TickerExternalAgentActionsDistinctCountCallerIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_DISTINCT_COUNT_CALLER_ID_ASC', - TickerExternalAgentActionsDistinctCountCallerIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_DISTINCT_COUNT_CALLER_ID_DESC', - TickerExternalAgentActionsDistinctCountCreatedAtAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_DISTINCT_COUNT_CREATED_AT_ASC', - TickerExternalAgentActionsDistinctCountCreatedAtDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_DISTINCT_COUNT_CREATED_AT_DESC', - TickerExternalAgentActionsDistinctCountCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - TickerExternalAgentActionsDistinctCountCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - TickerExternalAgentActionsDistinctCountEventIdxAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_DISTINCT_COUNT_EVENT_IDX_ASC', - TickerExternalAgentActionsDistinctCountEventIdxDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_DISTINCT_COUNT_EVENT_IDX_DESC', - TickerExternalAgentActionsDistinctCountEventIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_DISTINCT_COUNT_EVENT_ID_ASC', - TickerExternalAgentActionsDistinctCountEventIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_DISTINCT_COUNT_EVENT_ID_DESC', - TickerExternalAgentActionsDistinctCountIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_DISTINCT_COUNT_ID_ASC', - TickerExternalAgentActionsDistinctCountIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_DISTINCT_COUNT_ID_DESC', - TickerExternalAgentActionsDistinctCountPalletNameAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_DISTINCT_COUNT_PALLET_NAME_ASC', - TickerExternalAgentActionsDistinctCountPalletNameDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_DISTINCT_COUNT_PALLET_NAME_DESC', - TickerExternalAgentActionsDistinctCountUpdatedAtAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_DISTINCT_COUNT_UPDATED_AT_ASC', - TickerExternalAgentActionsDistinctCountUpdatedAtDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_DISTINCT_COUNT_UPDATED_AT_DESC', - TickerExternalAgentActionsDistinctCountUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentActionsDistinctCountUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentActionsMaxAssetIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_MAX_ASSET_ID_ASC', - TickerExternalAgentActionsMaxAssetIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_MAX_ASSET_ID_DESC', - TickerExternalAgentActionsMaxCallerIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_MAX_CALLER_ID_ASC', - TickerExternalAgentActionsMaxCallerIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_MAX_CALLER_ID_DESC', - TickerExternalAgentActionsMaxCreatedAtAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_MAX_CREATED_AT_ASC', - TickerExternalAgentActionsMaxCreatedAtDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_MAX_CREATED_AT_DESC', - TickerExternalAgentActionsMaxCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_MAX_CREATED_BLOCK_ID_ASC', - TickerExternalAgentActionsMaxCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_MAX_CREATED_BLOCK_ID_DESC', - TickerExternalAgentActionsMaxEventIdxAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_MAX_EVENT_IDX_ASC', - TickerExternalAgentActionsMaxEventIdxDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_MAX_EVENT_IDX_DESC', - TickerExternalAgentActionsMaxEventIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_MAX_EVENT_ID_ASC', - TickerExternalAgentActionsMaxEventIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_MAX_EVENT_ID_DESC', - TickerExternalAgentActionsMaxIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_MAX_ID_ASC', - TickerExternalAgentActionsMaxIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_MAX_ID_DESC', - TickerExternalAgentActionsMaxPalletNameAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_MAX_PALLET_NAME_ASC', - TickerExternalAgentActionsMaxPalletNameDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_MAX_PALLET_NAME_DESC', - TickerExternalAgentActionsMaxUpdatedAtAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_MAX_UPDATED_AT_ASC', - TickerExternalAgentActionsMaxUpdatedAtDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_MAX_UPDATED_AT_DESC', - TickerExternalAgentActionsMaxUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_MAX_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentActionsMaxUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_MAX_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentActionsMinAssetIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_MIN_ASSET_ID_ASC', - TickerExternalAgentActionsMinAssetIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_MIN_ASSET_ID_DESC', - TickerExternalAgentActionsMinCallerIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_MIN_CALLER_ID_ASC', - TickerExternalAgentActionsMinCallerIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_MIN_CALLER_ID_DESC', - TickerExternalAgentActionsMinCreatedAtAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_MIN_CREATED_AT_ASC', - TickerExternalAgentActionsMinCreatedAtDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_MIN_CREATED_AT_DESC', - TickerExternalAgentActionsMinCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_MIN_CREATED_BLOCK_ID_ASC', - TickerExternalAgentActionsMinCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_MIN_CREATED_BLOCK_ID_DESC', - TickerExternalAgentActionsMinEventIdxAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_MIN_EVENT_IDX_ASC', - TickerExternalAgentActionsMinEventIdxDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_MIN_EVENT_IDX_DESC', - TickerExternalAgentActionsMinEventIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_MIN_EVENT_ID_ASC', - TickerExternalAgentActionsMinEventIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_MIN_EVENT_ID_DESC', - TickerExternalAgentActionsMinIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_MIN_ID_ASC', - TickerExternalAgentActionsMinIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_MIN_ID_DESC', - TickerExternalAgentActionsMinPalletNameAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_MIN_PALLET_NAME_ASC', - TickerExternalAgentActionsMinPalletNameDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_MIN_PALLET_NAME_DESC', - TickerExternalAgentActionsMinUpdatedAtAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_MIN_UPDATED_AT_ASC', - TickerExternalAgentActionsMinUpdatedAtDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_MIN_UPDATED_AT_DESC', - TickerExternalAgentActionsMinUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_MIN_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentActionsMinUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_MIN_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentActionsStddevPopulationAssetIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_STDDEV_POPULATION_ASSET_ID_ASC', - TickerExternalAgentActionsStddevPopulationAssetIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_STDDEV_POPULATION_ASSET_ID_DESC', - TickerExternalAgentActionsStddevPopulationCallerIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_STDDEV_POPULATION_CALLER_ID_ASC', - TickerExternalAgentActionsStddevPopulationCallerIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_STDDEV_POPULATION_CALLER_ID_DESC', - TickerExternalAgentActionsStddevPopulationCreatedAtAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_STDDEV_POPULATION_CREATED_AT_ASC', - TickerExternalAgentActionsStddevPopulationCreatedAtDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_STDDEV_POPULATION_CREATED_AT_DESC', - TickerExternalAgentActionsStddevPopulationCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - TickerExternalAgentActionsStddevPopulationCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - TickerExternalAgentActionsStddevPopulationEventIdxAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_STDDEV_POPULATION_EVENT_IDX_ASC', - TickerExternalAgentActionsStddevPopulationEventIdxDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_STDDEV_POPULATION_EVENT_IDX_DESC', - TickerExternalAgentActionsStddevPopulationEventIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_STDDEV_POPULATION_EVENT_ID_ASC', - TickerExternalAgentActionsStddevPopulationEventIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_STDDEV_POPULATION_EVENT_ID_DESC', - TickerExternalAgentActionsStddevPopulationIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_STDDEV_POPULATION_ID_ASC', - TickerExternalAgentActionsStddevPopulationIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_STDDEV_POPULATION_ID_DESC', - TickerExternalAgentActionsStddevPopulationPalletNameAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_STDDEV_POPULATION_PALLET_NAME_ASC', - TickerExternalAgentActionsStddevPopulationPalletNameDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_STDDEV_POPULATION_PALLET_NAME_DESC', - TickerExternalAgentActionsStddevPopulationUpdatedAtAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_STDDEV_POPULATION_UPDATED_AT_ASC', - TickerExternalAgentActionsStddevPopulationUpdatedAtDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_STDDEV_POPULATION_UPDATED_AT_DESC', - TickerExternalAgentActionsStddevPopulationUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentActionsStddevPopulationUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentActionsStddevSampleAssetIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_STDDEV_SAMPLE_ASSET_ID_ASC', - TickerExternalAgentActionsStddevSampleAssetIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_STDDEV_SAMPLE_ASSET_ID_DESC', - TickerExternalAgentActionsStddevSampleCallerIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_STDDEV_SAMPLE_CALLER_ID_ASC', - TickerExternalAgentActionsStddevSampleCallerIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_STDDEV_SAMPLE_CALLER_ID_DESC', - TickerExternalAgentActionsStddevSampleCreatedAtAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_STDDEV_SAMPLE_CREATED_AT_ASC', - TickerExternalAgentActionsStddevSampleCreatedAtDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_STDDEV_SAMPLE_CREATED_AT_DESC', - TickerExternalAgentActionsStddevSampleCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - TickerExternalAgentActionsStddevSampleCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - TickerExternalAgentActionsStddevSampleEventIdxAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_STDDEV_SAMPLE_EVENT_IDX_ASC', - TickerExternalAgentActionsStddevSampleEventIdxDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_STDDEV_SAMPLE_EVENT_IDX_DESC', - TickerExternalAgentActionsStddevSampleEventIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_STDDEV_SAMPLE_EVENT_ID_ASC', - TickerExternalAgentActionsStddevSampleEventIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_STDDEV_SAMPLE_EVENT_ID_DESC', - TickerExternalAgentActionsStddevSampleIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_STDDEV_SAMPLE_ID_ASC', - TickerExternalAgentActionsStddevSampleIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_STDDEV_SAMPLE_ID_DESC', - TickerExternalAgentActionsStddevSamplePalletNameAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_STDDEV_SAMPLE_PALLET_NAME_ASC', - TickerExternalAgentActionsStddevSamplePalletNameDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_STDDEV_SAMPLE_PALLET_NAME_DESC', - TickerExternalAgentActionsStddevSampleUpdatedAtAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_STDDEV_SAMPLE_UPDATED_AT_ASC', - TickerExternalAgentActionsStddevSampleUpdatedAtDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_STDDEV_SAMPLE_UPDATED_AT_DESC', - TickerExternalAgentActionsStddevSampleUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentActionsStddevSampleUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentActionsSumAssetIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_SUM_ASSET_ID_ASC', - TickerExternalAgentActionsSumAssetIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_SUM_ASSET_ID_DESC', - TickerExternalAgentActionsSumCallerIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_SUM_CALLER_ID_ASC', - TickerExternalAgentActionsSumCallerIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_SUM_CALLER_ID_DESC', - TickerExternalAgentActionsSumCreatedAtAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_SUM_CREATED_AT_ASC', - TickerExternalAgentActionsSumCreatedAtDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_SUM_CREATED_AT_DESC', - TickerExternalAgentActionsSumCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_SUM_CREATED_BLOCK_ID_ASC', - TickerExternalAgentActionsSumCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_SUM_CREATED_BLOCK_ID_DESC', - TickerExternalAgentActionsSumEventIdxAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_SUM_EVENT_IDX_ASC', - TickerExternalAgentActionsSumEventIdxDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_SUM_EVENT_IDX_DESC', - TickerExternalAgentActionsSumEventIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_SUM_EVENT_ID_ASC', - TickerExternalAgentActionsSumEventIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_SUM_EVENT_ID_DESC', - TickerExternalAgentActionsSumIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_SUM_ID_ASC', - TickerExternalAgentActionsSumIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_SUM_ID_DESC', - TickerExternalAgentActionsSumPalletNameAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_SUM_PALLET_NAME_ASC', - TickerExternalAgentActionsSumPalletNameDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_SUM_PALLET_NAME_DESC', - TickerExternalAgentActionsSumUpdatedAtAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_SUM_UPDATED_AT_ASC', - TickerExternalAgentActionsSumUpdatedAtDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_SUM_UPDATED_AT_DESC', - TickerExternalAgentActionsSumUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_SUM_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentActionsSumUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_SUM_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentActionsVariancePopulationAssetIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_VARIANCE_POPULATION_ASSET_ID_ASC', - TickerExternalAgentActionsVariancePopulationAssetIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_VARIANCE_POPULATION_ASSET_ID_DESC', - TickerExternalAgentActionsVariancePopulationCallerIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_VARIANCE_POPULATION_CALLER_ID_ASC', - TickerExternalAgentActionsVariancePopulationCallerIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_VARIANCE_POPULATION_CALLER_ID_DESC', - TickerExternalAgentActionsVariancePopulationCreatedAtAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_VARIANCE_POPULATION_CREATED_AT_ASC', - TickerExternalAgentActionsVariancePopulationCreatedAtDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_VARIANCE_POPULATION_CREATED_AT_DESC', - TickerExternalAgentActionsVariancePopulationCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - TickerExternalAgentActionsVariancePopulationCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - TickerExternalAgentActionsVariancePopulationEventIdxAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_VARIANCE_POPULATION_EVENT_IDX_ASC', - TickerExternalAgentActionsVariancePopulationEventIdxDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_VARIANCE_POPULATION_EVENT_IDX_DESC', - TickerExternalAgentActionsVariancePopulationEventIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_VARIANCE_POPULATION_EVENT_ID_ASC', - TickerExternalAgentActionsVariancePopulationEventIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_VARIANCE_POPULATION_EVENT_ID_DESC', - TickerExternalAgentActionsVariancePopulationIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_VARIANCE_POPULATION_ID_ASC', - TickerExternalAgentActionsVariancePopulationIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_VARIANCE_POPULATION_ID_DESC', - TickerExternalAgentActionsVariancePopulationPalletNameAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_VARIANCE_POPULATION_PALLET_NAME_ASC', - TickerExternalAgentActionsVariancePopulationPalletNameDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_VARIANCE_POPULATION_PALLET_NAME_DESC', - TickerExternalAgentActionsVariancePopulationUpdatedAtAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_VARIANCE_POPULATION_UPDATED_AT_ASC', - TickerExternalAgentActionsVariancePopulationUpdatedAtDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_VARIANCE_POPULATION_UPDATED_AT_DESC', - TickerExternalAgentActionsVariancePopulationUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentActionsVariancePopulationUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentActionsVarianceSampleAssetIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_VARIANCE_SAMPLE_ASSET_ID_ASC', - TickerExternalAgentActionsVarianceSampleAssetIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_VARIANCE_SAMPLE_ASSET_ID_DESC', - TickerExternalAgentActionsVarianceSampleCallerIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_VARIANCE_SAMPLE_CALLER_ID_ASC', - TickerExternalAgentActionsVarianceSampleCallerIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_VARIANCE_SAMPLE_CALLER_ID_DESC', - TickerExternalAgentActionsVarianceSampleCreatedAtAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_VARIANCE_SAMPLE_CREATED_AT_ASC', - TickerExternalAgentActionsVarianceSampleCreatedAtDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_VARIANCE_SAMPLE_CREATED_AT_DESC', - TickerExternalAgentActionsVarianceSampleCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - TickerExternalAgentActionsVarianceSampleCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - TickerExternalAgentActionsVarianceSampleEventIdxAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_VARIANCE_SAMPLE_EVENT_IDX_ASC', - TickerExternalAgentActionsVarianceSampleEventIdxDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_VARIANCE_SAMPLE_EVENT_IDX_DESC', - TickerExternalAgentActionsVarianceSampleEventIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_VARIANCE_SAMPLE_EVENT_ID_ASC', - TickerExternalAgentActionsVarianceSampleEventIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_VARIANCE_SAMPLE_EVENT_ID_DESC', - TickerExternalAgentActionsVarianceSampleIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_VARIANCE_SAMPLE_ID_ASC', - TickerExternalAgentActionsVarianceSampleIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_VARIANCE_SAMPLE_ID_DESC', - TickerExternalAgentActionsVarianceSamplePalletNameAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_VARIANCE_SAMPLE_PALLET_NAME_ASC', - TickerExternalAgentActionsVarianceSamplePalletNameDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_VARIANCE_SAMPLE_PALLET_NAME_DESC', - TickerExternalAgentActionsVarianceSampleUpdatedAtAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_VARIANCE_SAMPLE_UPDATED_AT_ASC', - TickerExternalAgentActionsVarianceSampleUpdatedAtDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_VARIANCE_SAMPLE_UPDATED_AT_DESC', - TickerExternalAgentActionsVarianceSampleUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentActionsVarianceSampleUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentHistoriesAverageAssetIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_AVERAGE_ASSET_ID_ASC', - TickerExternalAgentHistoriesAverageAssetIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_AVERAGE_ASSET_ID_DESC', - TickerExternalAgentHistoriesAverageCreatedAtAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_AVERAGE_CREATED_AT_ASC', - TickerExternalAgentHistoriesAverageCreatedAtDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_AVERAGE_CREATED_AT_DESC', - TickerExternalAgentHistoriesAverageCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_AVERAGE_CREATED_BLOCK_ID_ASC', - TickerExternalAgentHistoriesAverageCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_AVERAGE_CREATED_BLOCK_ID_DESC', - TickerExternalAgentHistoriesAverageDatetimeAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_AVERAGE_DATETIME_ASC', - TickerExternalAgentHistoriesAverageDatetimeDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_AVERAGE_DATETIME_DESC', - TickerExternalAgentHistoriesAverageEventIdxAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_AVERAGE_EVENT_IDX_ASC', - TickerExternalAgentHistoriesAverageEventIdxDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_AVERAGE_EVENT_IDX_DESC', - TickerExternalAgentHistoriesAverageIdentityIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_AVERAGE_IDENTITY_ID_ASC', - TickerExternalAgentHistoriesAverageIdentityIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_AVERAGE_IDENTITY_ID_DESC', - TickerExternalAgentHistoriesAverageIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_AVERAGE_ID_ASC', - TickerExternalAgentHistoriesAverageIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_AVERAGE_ID_DESC', - TickerExternalAgentHistoriesAveragePermissionsAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_AVERAGE_PERMISSIONS_ASC', - TickerExternalAgentHistoriesAveragePermissionsDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_AVERAGE_PERMISSIONS_DESC', - TickerExternalAgentHistoriesAverageTypeAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_AVERAGE_TYPE_ASC', - TickerExternalAgentHistoriesAverageTypeDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_AVERAGE_TYPE_DESC', - TickerExternalAgentHistoriesAverageUpdatedAtAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_AVERAGE_UPDATED_AT_ASC', - TickerExternalAgentHistoriesAverageUpdatedAtDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_AVERAGE_UPDATED_AT_DESC', - TickerExternalAgentHistoriesAverageUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_AVERAGE_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentHistoriesAverageUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_AVERAGE_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentHistoriesCountAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_COUNT_ASC', - TickerExternalAgentHistoriesCountDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_COUNT_DESC', - TickerExternalAgentHistoriesDistinctCountAssetIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_DISTINCT_COUNT_ASSET_ID_ASC', - TickerExternalAgentHistoriesDistinctCountAssetIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_DISTINCT_COUNT_ASSET_ID_DESC', - TickerExternalAgentHistoriesDistinctCountCreatedAtAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_DISTINCT_COUNT_CREATED_AT_ASC', - TickerExternalAgentHistoriesDistinctCountCreatedAtDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_DISTINCT_COUNT_CREATED_AT_DESC', - TickerExternalAgentHistoriesDistinctCountCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - TickerExternalAgentHistoriesDistinctCountCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - TickerExternalAgentHistoriesDistinctCountDatetimeAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_DISTINCT_COUNT_DATETIME_ASC', - TickerExternalAgentHistoriesDistinctCountDatetimeDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_DISTINCT_COUNT_DATETIME_DESC', - TickerExternalAgentHistoriesDistinctCountEventIdxAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_DISTINCT_COUNT_EVENT_IDX_ASC', - TickerExternalAgentHistoriesDistinctCountEventIdxDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_DISTINCT_COUNT_EVENT_IDX_DESC', - TickerExternalAgentHistoriesDistinctCountIdentityIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_DISTINCT_COUNT_IDENTITY_ID_ASC', - TickerExternalAgentHistoriesDistinctCountIdentityIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_DISTINCT_COUNT_IDENTITY_ID_DESC', - TickerExternalAgentHistoriesDistinctCountIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_DISTINCT_COUNT_ID_ASC', - TickerExternalAgentHistoriesDistinctCountIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_DISTINCT_COUNT_ID_DESC', - TickerExternalAgentHistoriesDistinctCountPermissionsAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_DISTINCT_COUNT_PERMISSIONS_ASC', - TickerExternalAgentHistoriesDistinctCountPermissionsDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_DISTINCT_COUNT_PERMISSIONS_DESC', - TickerExternalAgentHistoriesDistinctCountTypeAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_DISTINCT_COUNT_TYPE_ASC', - TickerExternalAgentHistoriesDistinctCountTypeDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_DISTINCT_COUNT_TYPE_DESC', - TickerExternalAgentHistoriesDistinctCountUpdatedAtAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_DISTINCT_COUNT_UPDATED_AT_ASC', - TickerExternalAgentHistoriesDistinctCountUpdatedAtDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_DISTINCT_COUNT_UPDATED_AT_DESC', - TickerExternalAgentHistoriesDistinctCountUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentHistoriesDistinctCountUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentHistoriesMaxAssetIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MAX_ASSET_ID_ASC', - TickerExternalAgentHistoriesMaxAssetIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MAX_ASSET_ID_DESC', - TickerExternalAgentHistoriesMaxCreatedAtAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MAX_CREATED_AT_ASC', - TickerExternalAgentHistoriesMaxCreatedAtDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MAX_CREATED_AT_DESC', - TickerExternalAgentHistoriesMaxCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MAX_CREATED_BLOCK_ID_ASC', - TickerExternalAgentHistoriesMaxCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MAX_CREATED_BLOCK_ID_DESC', - TickerExternalAgentHistoriesMaxDatetimeAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MAX_DATETIME_ASC', - TickerExternalAgentHistoriesMaxDatetimeDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MAX_DATETIME_DESC', - TickerExternalAgentHistoriesMaxEventIdxAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MAX_EVENT_IDX_ASC', - TickerExternalAgentHistoriesMaxEventIdxDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MAX_EVENT_IDX_DESC', - TickerExternalAgentHistoriesMaxIdentityIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MAX_IDENTITY_ID_ASC', - TickerExternalAgentHistoriesMaxIdentityIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MAX_IDENTITY_ID_DESC', - TickerExternalAgentHistoriesMaxIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MAX_ID_ASC', - TickerExternalAgentHistoriesMaxIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MAX_ID_DESC', - TickerExternalAgentHistoriesMaxPermissionsAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MAX_PERMISSIONS_ASC', - TickerExternalAgentHistoriesMaxPermissionsDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MAX_PERMISSIONS_DESC', - TickerExternalAgentHistoriesMaxTypeAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MAX_TYPE_ASC', - TickerExternalAgentHistoriesMaxTypeDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MAX_TYPE_DESC', - TickerExternalAgentHistoriesMaxUpdatedAtAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MAX_UPDATED_AT_ASC', - TickerExternalAgentHistoriesMaxUpdatedAtDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MAX_UPDATED_AT_DESC', - TickerExternalAgentHistoriesMaxUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MAX_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentHistoriesMaxUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MAX_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentHistoriesMinAssetIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MIN_ASSET_ID_ASC', - TickerExternalAgentHistoriesMinAssetIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MIN_ASSET_ID_DESC', - TickerExternalAgentHistoriesMinCreatedAtAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MIN_CREATED_AT_ASC', - TickerExternalAgentHistoriesMinCreatedAtDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MIN_CREATED_AT_DESC', - TickerExternalAgentHistoriesMinCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MIN_CREATED_BLOCK_ID_ASC', - TickerExternalAgentHistoriesMinCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MIN_CREATED_BLOCK_ID_DESC', - TickerExternalAgentHistoriesMinDatetimeAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MIN_DATETIME_ASC', - TickerExternalAgentHistoriesMinDatetimeDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MIN_DATETIME_DESC', - TickerExternalAgentHistoriesMinEventIdxAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MIN_EVENT_IDX_ASC', - TickerExternalAgentHistoriesMinEventIdxDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MIN_EVENT_IDX_DESC', - TickerExternalAgentHistoriesMinIdentityIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MIN_IDENTITY_ID_ASC', - TickerExternalAgentHistoriesMinIdentityIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MIN_IDENTITY_ID_DESC', - TickerExternalAgentHistoriesMinIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MIN_ID_ASC', - TickerExternalAgentHistoriesMinIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MIN_ID_DESC', - TickerExternalAgentHistoriesMinPermissionsAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MIN_PERMISSIONS_ASC', - TickerExternalAgentHistoriesMinPermissionsDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MIN_PERMISSIONS_DESC', - TickerExternalAgentHistoriesMinTypeAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MIN_TYPE_ASC', - TickerExternalAgentHistoriesMinTypeDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MIN_TYPE_DESC', - TickerExternalAgentHistoriesMinUpdatedAtAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MIN_UPDATED_AT_ASC', - TickerExternalAgentHistoriesMinUpdatedAtDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MIN_UPDATED_AT_DESC', - TickerExternalAgentHistoriesMinUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MIN_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentHistoriesMinUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MIN_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentHistoriesStddevPopulationAssetIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_POPULATION_ASSET_ID_ASC', - TickerExternalAgentHistoriesStddevPopulationAssetIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_POPULATION_ASSET_ID_DESC', - TickerExternalAgentHistoriesStddevPopulationCreatedAtAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_POPULATION_CREATED_AT_ASC', - TickerExternalAgentHistoriesStddevPopulationCreatedAtDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_POPULATION_CREATED_AT_DESC', - TickerExternalAgentHistoriesStddevPopulationCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - TickerExternalAgentHistoriesStddevPopulationCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - TickerExternalAgentHistoriesStddevPopulationDatetimeAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_POPULATION_DATETIME_ASC', - TickerExternalAgentHistoriesStddevPopulationDatetimeDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_POPULATION_DATETIME_DESC', - TickerExternalAgentHistoriesStddevPopulationEventIdxAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_POPULATION_EVENT_IDX_ASC', - TickerExternalAgentHistoriesStddevPopulationEventIdxDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_POPULATION_EVENT_IDX_DESC', - TickerExternalAgentHistoriesStddevPopulationIdentityIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_POPULATION_IDENTITY_ID_ASC', - TickerExternalAgentHistoriesStddevPopulationIdentityIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_POPULATION_IDENTITY_ID_DESC', - TickerExternalAgentHistoriesStddevPopulationIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_POPULATION_ID_ASC', - TickerExternalAgentHistoriesStddevPopulationIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_POPULATION_ID_DESC', - TickerExternalAgentHistoriesStddevPopulationPermissionsAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_POPULATION_PERMISSIONS_ASC', - TickerExternalAgentHistoriesStddevPopulationPermissionsDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_POPULATION_PERMISSIONS_DESC', - TickerExternalAgentHistoriesStddevPopulationTypeAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_POPULATION_TYPE_ASC', - TickerExternalAgentHistoriesStddevPopulationTypeDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_POPULATION_TYPE_DESC', - TickerExternalAgentHistoriesStddevPopulationUpdatedAtAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_POPULATION_UPDATED_AT_ASC', - TickerExternalAgentHistoriesStddevPopulationUpdatedAtDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_POPULATION_UPDATED_AT_DESC', - TickerExternalAgentHistoriesStddevPopulationUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentHistoriesStddevPopulationUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentHistoriesStddevSampleAssetIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_SAMPLE_ASSET_ID_ASC', - TickerExternalAgentHistoriesStddevSampleAssetIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_SAMPLE_ASSET_ID_DESC', - TickerExternalAgentHistoriesStddevSampleCreatedAtAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_SAMPLE_CREATED_AT_ASC', - TickerExternalAgentHistoriesStddevSampleCreatedAtDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_SAMPLE_CREATED_AT_DESC', - TickerExternalAgentHistoriesStddevSampleCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - TickerExternalAgentHistoriesStddevSampleCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - TickerExternalAgentHistoriesStddevSampleDatetimeAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_SAMPLE_DATETIME_ASC', - TickerExternalAgentHistoriesStddevSampleDatetimeDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_SAMPLE_DATETIME_DESC', - TickerExternalAgentHistoriesStddevSampleEventIdxAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_SAMPLE_EVENT_IDX_ASC', - TickerExternalAgentHistoriesStddevSampleEventIdxDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_SAMPLE_EVENT_IDX_DESC', - TickerExternalAgentHistoriesStddevSampleIdentityIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_SAMPLE_IDENTITY_ID_ASC', - TickerExternalAgentHistoriesStddevSampleIdentityIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_SAMPLE_IDENTITY_ID_DESC', - TickerExternalAgentHistoriesStddevSampleIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_SAMPLE_ID_ASC', - TickerExternalAgentHistoriesStddevSampleIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_SAMPLE_ID_DESC', - TickerExternalAgentHistoriesStddevSamplePermissionsAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_SAMPLE_PERMISSIONS_ASC', - TickerExternalAgentHistoriesStddevSamplePermissionsDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_SAMPLE_PERMISSIONS_DESC', - TickerExternalAgentHistoriesStddevSampleTypeAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_SAMPLE_TYPE_ASC', - TickerExternalAgentHistoriesStddevSampleTypeDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_SAMPLE_TYPE_DESC', - TickerExternalAgentHistoriesStddevSampleUpdatedAtAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_SAMPLE_UPDATED_AT_ASC', - TickerExternalAgentHistoriesStddevSampleUpdatedAtDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_SAMPLE_UPDATED_AT_DESC', - TickerExternalAgentHistoriesStddevSampleUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentHistoriesStddevSampleUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentHistoriesSumAssetIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_SUM_ASSET_ID_ASC', - TickerExternalAgentHistoriesSumAssetIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_SUM_ASSET_ID_DESC', - TickerExternalAgentHistoriesSumCreatedAtAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_SUM_CREATED_AT_ASC', - TickerExternalAgentHistoriesSumCreatedAtDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_SUM_CREATED_AT_DESC', - TickerExternalAgentHistoriesSumCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_SUM_CREATED_BLOCK_ID_ASC', - TickerExternalAgentHistoriesSumCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_SUM_CREATED_BLOCK_ID_DESC', - TickerExternalAgentHistoriesSumDatetimeAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_SUM_DATETIME_ASC', - TickerExternalAgentHistoriesSumDatetimeDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_SUM_DATETIME_DESC', - TickerExternalAgentHistoriesSumEventIdxAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_SUM_EVENT_IDX_ASC', - TickerExternalAgentHistoriesSumEventIdxDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_SUM_EVENT_IDX_DESC', - TickerExternalAgentHistoriesSumIdentityIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_SUM_IDENTITY_ID_ASC', - TickerExternalAgentHistoriesSumIdentityIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_SUM_IDENTITY_ID_DESC', - TickerExternalAgentHistoriesSumIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_SUM_ID_ASC', - TickerExternalAgentHistoriesSumIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_SUM_ID_DESC', - TickerExternalAgentHistoriesSumPermissionsAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_SUM_PERMISSIONS_ASC', - TickerExternalAgentHistoriesSumPermissionsDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_SUM_PERMISSIONS_DESC', - TickerExternalAgentHistoriesSumTypeAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_SUM_TYPE_ASC', - TickerExternalAgentHistoriesSumTypeDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_SUM_TYPE_DESC', - TickerExternalAgentHistoriesSumUpdatedAtAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_SUM_UPDATED_AT_ASC', - TickerExternalAgentHistoriesSumUpdatedAtDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_SUM_UPDATED_AT_DESC', - TickerExternalAgentHistoriesSumUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_SUM_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentHistoriesSumUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_SUM_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentHistoriesVariancePopulationAssetIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_POPULATION_ASSET_ID_ASC', - TickerExternalAgentHistoriesVariancePopulationAssetIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_POPULATION_ASSET_ID_DESC', - TickerExternalAgentHistoriesVariancePopulationCreatedAtAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_POPULATION_CREATED_AT_ASC', - TickerExternalAgentHistoriesVariancePopulationCreatedAtDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_POPULATION_CREATED_AT_DESC', - TickerExternalAgentHistoriesVariancePopulationCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - TickerExternalAgentHistoriesVariancePopulationCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - TickerExternalAgentHistoriesVariancePopulationDatetimeAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_POPULATION_DATETIME_ASC', - TickerExternalAgentHistoriesVariancePopulationDatetimeDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_POPULATION_DATETIME_DESC', - TickerExternalAgentHistoriesVariancePopulationEventIdxAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_POPULATION_EVENT_IDX_ASC', - TickerExternalAgentHistoriesVariancePopulationEventIdxDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_POPULATION_EVENT_IDX_DESC', - TickerExternalAgentHistoriesVariancePopulationIdentityIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_POPULATION_IDENTITY_ID_ASC', - TickerExternalAgentHistoriesVariancePopulationIdentityIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_POPULATION_IDENTITY_ID_DESC', - TickerExternalAgentHistoriesVariancePopulationIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_POPULATION_ID_ASC', - TickerExternalAgentHistoriesVariancePopulationIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_POPULATION_ID_DESC', - TickerExternalAgentHistoriesVariancePopulationPermissionsAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_POPULATION_PERMISSIONS_ASC', - TickerExternalAgentHistoriesVariancePopulationPermissionsDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_POPULATION_PERMISSIONS_DESC', - TickerExternalAgentHistoriesVariancePopulationTypeAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_POPULATION_TYPE_ASC', - TickerExternalAgentHistoriesVariancePopulationTypeDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_POPULATION_TYPE_DESC', - TickerExternalAgentHistoriesVariancePopulationUpdatedAtAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_POPULATION_UPDATED_AT_ASC', - TickerExternalAgentHistoriesVariancePopulationUpdatedAtDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_POPULATION_UPDATED_AT_DESC', - TickerExternalAgentHistoriesVariancePopulationUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentHistoriesVariancePopulationUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentHistoriesVarianceSampleAssetIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_SAMPLE_ASSET_ID_ASC', - TickerExternalAgentHistoriesVarianceSampleAssetIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_SAMPLE_ASSET_ID_DESC', - TickerExternalAgentHistoriesVarianceSampleCreatedAtAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_SAMPLE_CREATED_AT_ASC', - TickerExternalAgentHistoriesVarianceSampleCreatedAtDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_SAMPLE_CREATED_AT_DESC', - TickerExternalAgentHistoriesVarianceSampleCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - TickerExternalAgentHistoriesVarianceSampleCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - TickerExternalAgentHistoriesVarianceSampleDatetimeAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_SAMPLE_DATETIME_ASC', - TickerExternalAgentHistoriesVarianceSampleDatetimeDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_SAMPLE_DATETIME_DESC', - TickerExternalAgentHistoriesVarianceSampleEventIdxAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_SAMPLE_EVENT_IDX_ASC', - TickerExternalAgentHistoriesVarianceSampleEventIdxDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_SAMPLE_EVENT_IDX_DESC', - TickerExternalAgentHistoriesVarianceSampleIdentityIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_SAMPLE_IDENTITY_ID_ASC', - TickerExternalAgentHistoriesVarianceSampleIdentityIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_SAMPLE_IDENTITY_ID_DESC', - TickerExternalAgentHistoriesVarianceSampleIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_SAMPLE_ID_ASC', - TickerExternalAgentHistoriesVarianceSampleIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_SAMPLE_ID_DESC', - TickerExternalAgentHistoriesVarianceSamplePermissionsAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_SAMPLE_PERMISSIONS_ASC', - TickerExternalAgentHistoriesVarianceSamplePermissionsDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_SAMPLE_PERMISSIONS_DESC', - TickerExternalAgentHistoriesVarianceSampleTypeAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_SAMPLE_TYPE_ASC', - TickerExternalAgentHistoriesVarianceSampleTypeDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_SAMPLE_TYPE_DESC', - TickerExternalAgentHistoriesVarianceSampleUpdatedAtAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_SAMPLE_UPDATED_AT_ASC', - TickerExternalAgentHistoriesVarianceSampleUpdatedAtDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_SAMPLE_UPDATED_AT_DESC', - TickerExternalAgentHistoriesVarianceSampleUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentHistoriesVarianceSampleUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - TotalSupplyAsc = 'TOTAL_SUPPLY_ASC', - TotalSupplyDesc = 'TOTAL_SUPPLY_DESC', - TotalTransfersAsc = 'TOTAL_TRANSFERS_ASC', - TotalTransfersDesc = 'TOTAL_TRANSFERS_DESC', - TransferCompliancesAverageAssetIdAsc = 'TRANSFER_COMPLIANCES_AVERAGE_ASSET_ID_ASC', - TransferCompliancesAverageAssetIdDesc = 'TRANSFER_COMPLIANCES_AVERAGE_ASSET_ID_DESC', - TransferCompliancesAverageClaimIssuerIdAsc = 'TRANSFER_COMPLIANCES_AVERAGE_CLAIM_ISSUER_ID_ASC', - TransferCompliancesAverageClaimIssuerIdDesc = 'TRANSFER_COMPLIANCES_AVERAGE_CLAIM_ISSUER_ID_DESC', - TransferCompliancesAverageClaimTypeAsc = 'TRANSFER_COMPLIANCES_AVERAGE_CLAIM_TYPE_ASC', - TransferCompliancesAverageClaimTypeDesc = 'TRANSFER_COMPLIANCES_AVERAGE_CLAIM_TYPE_DESC', - TransferCompliancesAverageClaimValueAsc = 'TRANSFER_COMPLIANCES_AVERAGE_CLAIM_VALUE_ASC', - TransferCompliancesAverageClaimValueDesc = 'TRANSFER_COMPLIANCES_AVERAGE_CLAIM_VALUE_DESC', - TransferCompliancesAverageCreatedAtAsc = 'TRANSFER_COMPLIANCES_AVERAGE_CREATED_AT_ASC', - TransferCompliancesAverageCreatedAtDesc = 'TRANSFER_COMPLIANCES_AVERAGE_CREATED_AT_DESC', - TransferCompliancesAverageCreatedBlockIdAsc = 'TRANSFER_COMPLIANCES_AVERAGE_CREATED_BLOCK_ID_ASC', - TransferCompliancesAverageCreatedBlockIdDesc = 'TRANSFER_COMPLIANCES_AVERAGE_CREATED_BLOCK_ID_DESC', - TransferCompliancesAverageIdAsc = 'TRANSFER_COMPLIANCES_AVERAGE_ID_ASC', - TransferCompliancesAverageIdDesc = 'TRANSFER_COMPLIANCES_AVERAGE_ID_DESC', - TransferCompliancesAverageMaxAsc = 'TRANSFER_COMPLIANCES_AVERAGE_MAX_ASC', - TransferCompliancesAverageMaxDesc = 'TRANSFER_COMPLIANCES_AVERAGE_MAX_DESC', - TransferCompliancesAverageMinAsc = 'TRANSFER_COMPLIANCES_AVERAGE_MIN_ASC', - TransferCompliancesAverageMinDesc = 'TRANSFER_COMPLIANCES_AVERAGE_MIN_DESC', - TransferCompliancesAverageStatTypeIdAsc = 'TRANSFER_COMPLIANCES_AVERAGE_STAT_TYPE_ID_ASC', - TransferCompliancesAverageStatTypeIdDesc = 'TRANSFER_COMPLIANCES_AVERAGE_STAT_TYPE_ID_DESC', - TransferCompliancesAverageTypeAsc = 'TRANSFER_COMPLIANCES_AVERAGE_TYPE_ASC', - TransferCompliancesAverageTypeDesc = 'TRANSFER_COMPLIANCES_AVERAGE_TYPE_DESC', - TransferCompliancesAverageUpdatedAtAsc = 'TRANSFER_COMPLIANCES_AVERAGE_UPDATED_AT_ASC', - TransferCompliancesAverageUpdatedAtDesc = 'TRANSFER_COMPLIANCES_AVERAGE_UPDATED_AT_DESC', - TransferCompliancesAverageUpdatedBlockIdAsc = 'TRANSFER_COMPLIANCES_AVERAGE_UPDATED_BLOCK_ID_ASC', - TransferCompliancesAverageUpdatedBlockIdDesc = 'TRANSFER_COMPLIANCES_AVERAGE_UPDATED_BLOCK_ID_DESC', - TransferCompliancesAverageValueAsc = 'TRANSFER_COMPLIANCES_AVERAGE_VALUE_ASC', - TransferCompliancesAverageValueDesc = 'TRANSFER_COMPLIANCES_AVERAGE_VALUE_DESC', - TransferCompliancesCountAsc = 'TRANSFER_COMPLIANCES_COUNT_ASC', - TransferCompliancesCountDesc = 'TRANSFER_COMPLIANCES_COUNT_DESC', - TransferCompliancesDistinctCountAssetIdAsc = 'TRANSFER_COMPLIANCES_DISTINCT_COUNT_ASSET_ID_ASC', - TransferCompliancesDistinctCountAssetIdDesc = 'TRANSFER_COMPLIANCES_DISTINCT_COUNT_ASSET_ID_DESC', - TransferCompliancesDistinctCountClaimIssuerIdAsc = 'TRANSFER_COMPLIANCES_DISTINCT_COUNT_CLAIM_ISSUER_ID_ASC', - TransferCompliancesDistinctCountClaimIssuerIdDesc = 'TRANSFER_COMPLIANCES_DISTINCT_COUNT_CLAIM_ISSUER_ID_DESC', - TransferCompliancesDistinctCountClaimTypeAsc = 'TRANSFER_COMPLIANCES_DISTINCT_COUNT_CLAIM_TYPE_ASC', - TransferCompliancesDistinctCountClaimTypeDesc = 'TRANSFER_COMPLIANCES_DISTINCT_COUNT_CLAIM_TYPE_DESC', - TransferCompliancesDistinctCountClaimValueAsc = 'TRANSFER_COMPLIANCES_DISTINCT_COUNT_CLAIM_VALUE_ASC', - TransferCompliancesDistinctCountClaimValueDesc = 'TRANSFER_COMPLIANCES_DISTINCT_COUNT_CLAIM_VALUE_DESC', - TransferCompliancesDistinctCountCreatedAtAsc = 'TRANSFER_COMPLIANCES_DISTINCT_COUNT_CREATED_AT_ASC', - TransferCompliancesDistinctCountCreatedAtDesc = 'TRANSFER_COMPLIANCES_DISTINCT_COUNT_CREATED_AT_DESC', - TransferCompliancesDistinctCountCreatedBlockIdAsc = 'TRANSFER_COMPLIANCES_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - TransferCompliancesDistinctCountCreatedBlockIdDesc = 'TRANSFER_COMPLIANCES_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - TransferCompliancesDistinctCountIdAsc = 'TRANSFER_COMPLIANCES_DISTINCT_COUNT_ID_ASC', - TransferCompliancesDistinctCountIdDesc = 'TRANSFER_COMPLIANCES_DISTINCT_COUNT_ID_DESC', - TransferCompliancesDistinctCountMaxAsc = 'TRANSFER_COMPLIANCES_DISTINCT_COUNT_MAX_ASC', - TransferCompliancesDistinctCountMaxDesc = 'TRANSFER_COMPLIANCES_DISTINCT_COUNT_MAX_DESC', - TransferCompliancesDistinctCountMinAsc = 'TRANSFER_COMPLIANCES_DISTINCT_COUNT_MIN_ASC', - TransferCompliancesDistinctCountMinDesc = 'TRANSFER_COMPLIANCES_DISTINCT_COUNT_MIN_DESC', - TransferCompliancesDistinctCountStatTypeIdAsc = 'TRANSFER_COMPLIANCES_DISTINCT_COUNT_STAT_TYPE_ID_ASC', - TransferCompliancesDistinctCountStatTypeIdDesc = 'TRANSFER_COMPLIANCES_DISTINCT_COUNT_STAT_TYPE_ID_DESC', - TransferCompliancesDistinctCountTypeAsc = 'TRANSFER_COMPLIANCES_DISTINCT_COUNT_TYPE_ASC', - TransferCompliancesDistinctCountTypeDesc = 'TRANSFER_COMPLIANCES_DISTINCT_COUNT_TYPE_DESC', - TransferCompliancesDistinctCountUpdatedAtAsc = 'TRANSFER_COMPLIANCES_DISTINCT_COUNT_UPDATED_AT_ASC', - TransferCompliancesDistinctCountUpdatedAtDesc = 'TRANSFER_COMPLIANCES_DISTINCT_COUNT_UPDATED_AT_DESC', - TransferCompliancesDistinctCountUpdatedBlockIdAsc = 'TRANSFER_COMPLIANCES_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - TransferCompliancesDistinctCountUpdatedBlockIdDesc = 'TRANSFER_COMPLIANCES_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - TransferCompliancesDistinctCountValueAsc = 'TRANSFER_COMPLIANCES_DISTINCT_COUNT_VALUE_ASC', - TransferCompliancesDistinctCountValueDesc = 'TRANSFER_COMPLIANCES_DISTINCT_COUNT_VALUE_DESC', - TransferCompliancesMaxAssetIdAsc = 'TRANSFER_COMPLIANCES_MAX_ASSET_ID_ASC', - TransferCompliancesMaxAssetIdDesc = 'TRANSFER_COMPLIANCES_MAX_ASSET_ID_DESC', - TransferCompliancesMaxClaimIssuerIdAsc = 'TRANSFER_COMPLIANCES_MAX_CLAIM_ISSUER_ID_ASC', - TransferCompliancesMaxClaimIssuerIdDesc = 'TRANSFER_COMPLIANCES_MAX_CLAIM_ISSUER_ID_DESC', - TransferCompliancesMaxClaimTypeAsc = 'TRANSFER_COMPLIANCES_MAX_CLAIM_TYPE_ASC', - TransferCompliancesMaxClaimTypeDesc = 'TRANSFER_COMPLIANCES_MAX_CLAIM_TYPE_DESC', - TransferCompliancesMaxClaimValueAsc = 'TRANSFER_COMPLIANCES_MAX_CLAIM_VALUE_ASC', - TransferCompliancesMaxClaimValueDesc = 'TRANSFER_COMPLIANCES_MAX_CLAIM_VALUE_DESC', - TransferCompliancesMaxCreatedAtAsc = 'TRANSFER_COMPLIANCES_MAX_CREATED_AT_ASC', - TransferCompliancesMaxCreatedAtDesc = 'TRANSFER_COMPLIANCES_MAX_CREATED_AT_DESC', - TransferCompliancesMaxCreatedBlockIdAsc = 'TRANSFER_COMPLIANCES_MAX_CREATED_BLOCK_ID_ASC', - TransferCompliancesMaxCreatedBlockIdDesc = 'TRANSFER_COMPLIANCES_MAX_CREATED_BLOCK_ID_DESC', - TransferCompliancesMaxIdAsc = 'TRANSFER_COMPLIANCES_MAX_ID_ASC', - TransferCompliancesMaxIdDesc = 'TRANSFER_COMPLIANCES_MAX_ID_DESC', - TransferCompliancesMaxMaxAsc = 'TRANSFER_COMPLIANCES_MAX_MAX_ASC', - TransferCompliancesMaxMaxDesc = 'TRANSFER_COMPLIANCES_MAX_MAX_DESC', - TransferCompliancesMaxMinAsc = 'TRANSFER_COMPLIANCES_MAX_MIN_ASC', - TransferCompliancesMaxMinDesc = 'TRANSFER_COMPLIANCES_MAX_MIN_DESC', - TransferCompliancesMaxStatTypeIdAsc = 'TRANSFER_COMPLIANCES_MAX_STAT_TYPE_ID_ASC', - TransferCompliancesMaxStatTypeIdDesc = 'TRANSFER_COMPLIANCES_MAX_STAT_TYPE_ID_DESC', - TransferCompliancesMaxTypeAsc = 'TRANSFER_COMPLIANCES_MAX_TYPE_ASC', - TransferCompliancesMaxTypeDesc = 'TRANSFER_COMPLIANCES_MAX_TYPE_DESC', - TransferCompliancesMaxUpdatedAtAsc = 'TRANSFER_COMPLIANCES_MAX_UPDATED_AT_ASC', - TransferCompliancesMaxUpdatedAtDesc = 'TRANSFER_COMPLIANCES_MAX_UPDATED_AT_DESC', - TransferCompliancesMaxUpdatedBlockIdAsc = 'TRANSFER_COMPLIANCES_MAX_UPDATED_BLOCK_ID_ASC', - TransferCompliancesMaxUpdatedBlockIdDesc = 'TRANSFER_COMPLIANCES_MAX_UPDATED_BLOCK_ID_DESC', - TransferCompliancesMaxValueAsc = 'TRANSFER_COMPLIANCES_MAX_VALUE_ASC', - TransferCompliancesMaxValueDesc = 'TRANSFER_COMPLIANCES_MAX_VALUE_DESC', - TransferCompliancesMinAssetIdAsc = 'TRANSFER_COMPLIANCES_MIN_ASSET_ID_ASC', - TransferCompliancesMinAssetIdDesc = 'TRANSFER_COMPLIANCES_MIN_ASSET_ID_DESC', - TransferCompliancesMinClaimIssuerIdAsc = 'TRANSFER_COMPLIANCES_MIN_CLAIM_ISSUER_ID_ASC', - TransferCompliancesMinClaimIssuerIdDesc = 'TRANSFER_COMPLIANCES_MIN_CLAIM_ISSUER_ID_DESC', - TransferCompliancesMinClaimTypeAsc = 'TRANSFER_COMPLIANCES_MIN_CLAIM_TYPE_ASC', - TransferCompliancesMinClaimTypeDesc = 'TRANSFER_COMPLIANCES_MIN_CLAIM_TYPE_DESC', - TransferCompliancesMinClaimValueAsc = 'TRANSFER_COMPLIANCES_MIN_CLAIM_VALUE_ASC', - TransferCompliancesMinClaimValueDesc = 'TRANSFER_COMPLIANCES_MIN_CLAIM_VALUE_DESC', - TransferCompliancesMinCreatedAtAsc = 'TRANSFER_COMPLIANCES_MIN_CREATED_AT_ASC', - TransferCompliancesMinCreatedAtDesc = 'TRANSFER_COMPLIANCES_MIN_CREATED_AT_DESC', - TransferCompliancesMinCreatedBlockIdAsc = 'TRANSFER_COMPLIANCES_MIN_CREATED_BLOCK_ID_ASC', - TransferCompliancesMinCreatedBlockIdDesc = 'TRANSFER_COMPLIANCES_MIN_CREATED_BLOCK_ID_DESC', - TransferCompliancesMinIdAsc = 'TRANSFER_COMPLIANCES_MIN_ID_ASC', - TransferCompliancesMinIdDesc = 'TRANSFER_COMPLIANCES_MIN_ID_DESC', - TransferCompliancesMinMaxAsc = 'TRANSFER_COMPLIANCES_MIN_MAX_ASC', - TransferCompliancesMinMaxDesc = 'TRANSFER_COMPLIANCES_MIN_MAX_DESC', - TransferCompliancesMinMinAsc = 'TRANSFER_COMPLIANCES_MIN_MIN_ASC', - TransferCompliancesMinMinDesc = 'TRANSFER_COMPLIANCES_MIN_MIN_DESC', - TransferCompliancesMinStatTypeIdAsc = 'TRANSFER_COMPLIANCES_MIN_STAT_TYPE_ID_ASC', - TransferCompliancesMinStatTypeIdDesc = 'TRANSFER_COMPLIANCES_MIN_STAT_TYPE_ID_DESC', - TransferCompliancesMinTypeAsc = 'TRANSFER_COMPLIANCES_MIN_TYPE_ASC', - TransferCompliancesMinTypeDesc = 'TRANSFER_COMPLIANCES_MIN_TYPE_DESC', - TransferCompliancesMinUpdatedAtAsc = 'TRANSFER_COMPLIANCES_MIN_UPDATED_AT_ASC', - TransferCompliancesMinUpdatedAtDesc = 'TRANSFER_COMPLIANCES_MIN_UPDATED_AT_DESC', - TransferCompliancesMinUpdatedBlockIdAsc = 'TRANSFER_COMPLIANCES_MIN_UPDATED_BLOCK_ID_ASC', - TransferCompliancesMinUpdatedBlockIdDesc = 'TRANSFER_COMPLIANCES_MIN_UPDATED_BLOCK_ID_DESC', - TransferCompliancesMinValueAsc = 'TRANSFER_COMPLIANCES_MIN_VALUE_ASC', - TransferCompliancesMinValueDesc = 'TRANSFER_COMPLIANCES_MIN_VALUE_DESC', - TransferCompliancesStddevPopulationAssetIdAsc = 'TRANSFER_COMPLIANCES_STDDEV_POPULATION_ASSET_ID_ASC', - TransferCompliancesStddevPopulationAssetIdDesc = 'TRANSFER_COMPLIANCES_STDDEV_POPULATION_ASSET_ID_DESC', - TransferCompliancesStddevPopulationClaimIssuerIdAsc = 'TRANSFER_COMPLIANCES_STDDEV_POPULATION_CLAIM_ISSUER_ID_ASC', - TransferCompliancesStddevPopulationClaimIssuerIdDesc = 'TRANSFER_COMPLIANCES_STDDEV_POPULATION_CLAIM_ISSUER_ID_DESC', - TransferCompliancesStddevPopulationClaimTypeAsc = 'TRANSFER_COMPLIANCES_STDDEV_POPULATION_CLAIM_TYPE_ASC', - TransferCompliancesStddevPopulationClaimTypeDesc = 'TRANSFER_COMPLIANCES_STDDEV_POPULATION_CLAIM_TYPE_DESC', - TransferCompliancesStddevPopulationClaimValueAsc = 'TRANSFER_COMPLIANCES_STDDEV_POPULATION_CLAIM_VALUE_ASC', - TransferCompliancesStddevPopulationClaimValueDesc = 'TRANSFER_COMPLIANCES_STDDEV_POPULATION_CLAIM_VALUE_DESC', - TransferCompliancesStddevPopulationCreatedAtAsc = 'TRANSFER_COMPLIANCES_STDDEV_POPULATION_CREATED_AT_ASC', - TransferCompliancesStddevPopulationCreatedAtDesc = 'TRANSFER_COMPLIANCES_STDDEV_POPULATION_CREATED_AT_DESC', - TransferCompliancesStddevPopulationCreatedBlockIdAsc = 'TRANSFER_COMPLIANCES_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - TransferCompliancesStddevPopulationCreatedBlockIdDesc = 'TRANSFER_COMPLIANCES_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - TransferCompliancesStddevPopulationIdAsc = 'TRANSFER_COMPLIANCES_STDDEV_POPULATION_ID_ASC', - TransferCompliancesStddevPopulationIdDesc = 'TRANSFER_COMPLIANCES_STDDEV_POPULATION_ID_DESC', - TransferCompliancesStddevPopulationMaxAsc = 'TRANSFER_COMPLIANCES_STDDEV_POPULATION_MAX_ASC', - TransferCompliancesStddevPopulationMaxDesc = 'TRANSFER_COMPLIANCES_STDDEV_POPULATION_MAX_DESC', - TransferCompliancesStddevPopulationMinAsc = 'TRANSFER_COMPLIANCES_STDDEV_POPULATION_MIN_ASC', - TransferCompliancesStddevPopulationMinDesc = 'TRANSFER_COMPLIANCES_STDDEV_POPULATION_MIN_DESC', - TransferCompliancesStddevPopulationStatTypeIdAsc = 'TRANSFER_COMPLIANCES_STDDEV_POPULATION_STAT_TYPE_ID_ASC', - TransferCompliancesStddevPopulationStatTypeIdDesc = 'TRANSFER_COMPLIANCES_STDDEV_POPULATION_STAT_TYPE_ID_DESC', - TransferCompliancesStddevPopulationTypeAsc = 'TRANSFER_COMPLIANCES_STDDEV_POPULATION_TYPE_ASC', - TransferCompliancesStddevPopulationTypeDesc = 'TRANSFER_COMPLIANCES_STDDEV_POPULATION_TYPE_DESC', - TransferCompliancesStddevPopulationUpdatedAtAsc = 'TRANSFER_COMPLIANCES_STDDEV_POPULATION_UPDATED_AT_ASC', - TransferCompliancesStddevPopulationUpdatedAtDesc = 'TRANSFER_COMPLIANCES_STDDEV_POPULATION_UPDATED_AT_DESC', - TransferCompliancesStddevPopulationUpdatedBlockIdAsc = 'TRANSFER_COMPLIANCES_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - TransferCompliancesStddevPopulationUpdatedBlockIdDesc = 'TRANSFER_COMPLIANCES_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - TransferCompliancesStddevPopulationValueAsc = 'TRANSFER_COMPLIANCES_STDDEV_POPULATION_VALUE_ASC', - TransferCompliancesStddevPopulationValueDesc = 'TRANSFER_COMPLIANCES_STDDEV_POPULATION_VALUE_DESC', - TransferCompliancesStddevSampleAssetIdAsc = 'TRANSFER_COMPLIANCES_STDDEV_SAMPLE_ASSET_ID_ASC', - TransferCompliancesStddevSampleAssetIdDesc = 'TRANSFER_COMPLIANCES_STDDEV_SAMPLE_ASSET_ID_DESC', - TransferCompliancesStddevSampleClaimIssuerIdAsc = 'TRANSFER_COMPLIANCES_STDDEV_SAMPLE_CLAIM_ISSUER_ID_ASC', - TransferCompliancesStddevSampleClaimIssuerIdDesc = 'TRANSFER_COMPLIANCES_STDDEV_SAMPLE_CLAIM_ISSUER_ID_DESC', - TransferCompliancesStddevSampleClaimTypeAsc = 'TRANSFER_COMPLIANCES_STDDEV_SAMPLE_CLAIM_TYPE_ASC', - TransferCompliancesStddevSampleClaimTypeDesc = 'TRANSFER_COMPLIANCES_STDDEV_SAMPLE_CLAIM_TYPE_DESC', - TransferCompliancesStddevSampleClaimValueAsc = 'TRANSFER_COMPLIANCES_STDDEV_SAMPLE_CLAIM_VALUE_ASC', - TransferCompliancesStddevSampleClaimValueDesc = 'TRANSFER_COMPLIANCES_STDDEV_SAMPLE_CLAIM_VALUE_DESC', - TransferCompliancesStddevSampleCreatedAtAsc = 'TRANSFER_COMPLIANCES_STDDEV_SAMPLE_CREATED_AT_ASC', - TransferCompliancesStddevSampleCreatedAtDesc = 'TRANSFER_COMPLIANCES_STDDEV_SAMPLE_CREATED_AT_DESC', - TransferCompliancesStddevSampleCreatedBlockIdAsc = 'TRANSFER_COMPLIANCES_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - TransferCompliancesStddevSampleCreatedBlockIdDesc = 'TRANSFER_COMPLIANCES_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - TransferCompliancesStddevSampleIdAsc = 'TRANSFER_COMPLIANCES_STDDEV_SAMPLE_ID_ASC', - TransferCompliancesStddevSampleIdDesc = 'TRANSFER_COMPLIANCES_STDDEV_SAMPLE_ID_DESC', - TransferCompliancesStddevSampleMaxAsc = 'TRANSFER_COMPLIANCES_STDDEV_SAMPLE_MAX_ASC', - TransferCompliancesStddevSampleMaxDesc = 'TRANSFER_COMPLIANCES_STDDEV_SAMPLE_MAX_DESC', - TransferCompliancesStddevSampleMinAsc = 'TRANSFER_COMPLIANCES_STDDEV_SAMPLE_MIN_ASC', - TransferCompliancesStddevSampleMinDesc = 'TRANSFER_COMPLIANCES_STDDEV_SAMPLE_MIN_DESC', - TransferCompliancesStddevSampleStatTypeIdAsc = 'TRANSFER_COMPLIANCES_STDDEV_SAMPLE_STAT_TYPE_ID_ASC', - TransferCompliancesStddevSampleStatTypeIdDesc = 'TRANSFER_COMPLIANCES_STDDEV_SAMPLE_STAT_TYPE_ID_DESC', - TransferCompliancesStddevSampleTypeAsc = 'TRANSFER_COMPLIANCES_STDDEV_SAMPLE_TYPE_ASC', - TransferCompliancesStddevSampleTypeDesc = 'TRANSFER_COMPLIANCES_STDDEV_SAMPLE_TYPE_DESC', - TransferCompliancesStddevSampleUpdatedAtAsc = 'TRANSFER_COMPLIANCES_STDDEV_SAMPLE_UPDATED_AT_ASC', - TransferCompliancesStddevSampleUpdatedAtDesc = 'TRANSFER_COMPLIANCES_STDDEV_SAMPLE_UPDATED_AT_DESC', - TransferCompliancesStddevSampleUpdatedBlockIdAsc = 'TRANSFER_COMPLIANCES_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - TransferCompliancesStddevSampleUpdatedBlockIdDesc = 'TRANSFER_COMPLIANCES_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - TransferCompliancesStddevSampleValueAsc = 'TRANSFER_COMPLIANCES_STDDEV_SAMPLE_VALUE_ASC', - TransferCompliancesStddevSampleValueDesc = 'TRANSFER_COMPLIANCES_STDDEV_SAMPLE_VALUE_DESC', - TransferCompliancesSumAssetIdAsc = 'TRANSFER_COMPLIANCES_SUM_ASSET_ID_ASC', - TransferCompliancesSumAssetIdDesc = 'TRANSFER_COMPLIANCES_SUM_ASSET_ID_DESC', - TransferCompliancesSumClaimIssuerIdAsc = 'TRANSFER_COMPLIANCES_SUM_CLAIM_ISSUER_ID_ASC', - TransferCompliancesSumClaimIssuerIdDesc = 'TRANSFER_COMPLIANCES_SUM_CLAIM_ISSUER_ID_DESC', - TransferCompliancesSumClaimTypeAsc = 'TRANSFER_COMPLIANCES_SUM_CLAIM_TYPE_ASC', - TransferCompliancesSumClaimTypeDesc = 'TRANSFER_COMPLIANCES_SUM_CLAIM_TYPE_DESC', - TransferCompliancesSumClaimValueAsc = 'TRANSFER_COMPLIANCES_SUM_CLAIM_VALUE_ASC', - TransferCompliancesSumClaimValueDesc = 'TRANSFER_COMPLIANCES_SUM_CLAIM_VALUE_DESC', - TransferCompliancesSumCreatedAtAsc = 'TRANSFER_COMPLIANCES_SUM_CREATED_AT_ASC', - TransferCompliancesSumCreatedAtDesc = 'TRANSFER_COMPLIANCES_SUM_CREATED_AT_DESC', - TransferCompliancesSumCreatedBlockIdAsc = 'TRANSFER_COMPLIANCES_SUM_CREATED_BLOCK_ID_ASC', - TransferCompliancesSumCreatedBlockIdDesc = 'TRANSFER_COMPLIANCES_SUM_CREATED_BLOCK_ID_DESC', - TransferCompliancesSumIdAsc = 'TRANSFER_COMPLIANCES_SUM_ID_ASC', - TransferCompliancesSumIdDesc = 'TRANSFER_COMPLIANCES_SUM_ID_DESC', - TransferCompliancesSumMaxAsc = 'TRANSFER_COMPLIANCES_SUM_MAX_ASC', - TransferCompliancesSumMaxDesc = 'TRANSFER_COMPLIANCES_SUM_MAX_DESC', - TransferCompliancesSumMinAsc = 'TRANSFER_COMPLIANCES_SUM_MIN_ASC', - TransferCompliancesSumMinDesc = 'TRANSFER_COMPLIANCES_SUM_MIN_DESC', - TransferCompliancesSumStatTypeIdAsc = 'TRANSFER_COMPLIANCES_SUM_STAT_TYPE_ID_ASC', - TransferCompliancesSumStatTypeIdDesc = 'TRANSFER_COMPLIANCES_SUM_STAT_TYPE_ID_DESC', - TransferCompliancesSumTypeAsc = 'TRANSFER_COMPLIANCES_SUM_TYPE_ASC', - TransferCompliancesSumTypeDesc = 'TRANSFER_COMPLIANCES_SUM_TYPE_DESC', - TransferCompliancesSumUpdatedAtAsc = 'TRANSFER_COMPLIANCES_SUM_UPDATED_AT_ASC', - TransferCompliancesSumUpdatedAtDesc = 'TRANSFER_COMPLIANCES_SUM_UPDATED_AT_DESC', - TransferCompliancesSumUpdatedBlockIdAsc = 'TRANSFER_COMPLIANCES_SUM_UPDATED_BLOCK_ID_ASC', - TransferCompliancesSumUpdatedBlockIdDesc = 'TRANSFER_COMPLIANCES_SUM_UPDATED_BLOCK_ID_DESC', - TransferCompliancesSumValueAsc = 'TRANSFER_COMPLIANCES_SUM_VALUE_ASC', - TransferCompliancesSumValueDesc = 'TRANSFER_COMPLIANCES_SUM_VALUE_DESC', - TransferCompliancesVariancePopulationAssetIdAsc = 'TRANSFER_COMPLIANCES_VARIANCE_POPULATION_ASSET_ID_ASC', - TransferCompliancesVariancePopulationAssetIdDesc = 'TRANSFER_COMPLIANCES_VARIANCE_POPULATION_ASSET_ID_DESC', - TransferCompliancesVariancePopulationClaimIssuerIdAsc = 'TRANSFER_COMPLIANCES_VARIANCE_POPULATION_CLAIM_ISSUER_ID_ASC', - TransferCompliancesVariancePopulationClaimIssuerIdDesc = 'TRANSFER_COMPLIANCES_VARIANCE_POPULATION_CLAIM_ISSUER_ID_DESC', - TransferCompliancesVariancePopulationClaimTypeAsc = 'TRANSFER_COMPLIANCES_VARIANCE_POPULATION_CLAIM_TYPE_ASC', - TransferCompliancesVariancePopulationClaimTypeDesc = 'TRANSFER_COMPLIANCES_VARIANCE_POPULATION_CLAIM_TYPE_DESC', - TransferCompliancesVariancePopulationClaimValueAsc = 'TRANSFER_COMPLIANCES_VARIANCE_POPULATION_CLAIM_VALUE_ASC', - TransferCompliancesVariancePopulationClaimValueDesc = 'TRANSFER_COMPLIANCES_VARIANCE_POPULATION_CLAIM_VALUE_DESC', - TransferCompliancesVariancePopulationCreatedAtAsc = 'TRANSFER_COMPLIANCES_VARIANCE_POPULATION_CREATED_AT_ASC', - TransferCompliancesVariancePopulationCreatedAtDesc = 'TRANSFER_COMPLIANCES_VARIANCE_POPULATION_CREATED_AT_DESC', - TransferCompliancesVariancePopulationCreatedBlockIdAsc = 'TRANSFER_COMPLIANCES_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - TransferCompliancesVariancePopulationCreatedBlockIdDesc = 'TRANSFER_COMPLIANCES_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - TransferCompliancesVariancePopulationIdAsc = 'TRANSFER_COMPLIANCES_VARIANCE_POPULATION_ID_ASC', - TransferCompliancesVariancePopulationIdDesc = 'TRANSFER_COMPLIANCES_VARIANCE_POPULATION_ID_DESC', - TransferCompliancesVariancePopulationMaxAsc = 'TRANSFER_COMPLIANCES_VARIANCE_POPULATION_MAX_ASC', - TransferCompliancesVariancePopulationMaxDesc = 'TRANSFER_COMPLIANCES_VARIANCE_POPULATION_MAX_DESC', - TransferCompliancesVariancePopulationMinAsc = 'TRANSFER_COMPLIANCES_VARIANCE_POPULATION_MIN_ASC', - TransferCompliancesVariancePopulationMinDesc = 'TRANSFER_COMPLIANCES_VARIANCE_POPULATION_MIN_DESC', - TransferCompliancesVariancePopulationStatTypeIdAsc = 'TRANSFER_COMPLIANCES_VARIANCE_POPULATION_STAT_TYPE_ID_ASC', - TransferCompliancesVariancePopulationStatTypeIdDesc = 'TRANSFER_COMPLIANCES_VARIANCE_POPULATION_STAT_TYPE_ID_DESC', - TransferCompliancesVariancePopulationTypeAsc = 'TRANSFER_COMPLIANCES_VARIANCE_POPULATION_TYPE_ASC', - TransferCompliancesVariancePopulationTypeDesc = 'TRANSFER_COMPLIANCES_VARIANCE_POPULATION_TYPE_DESC', - TransferCompliancesVariancePopulationUpdatedAtAsc = 'TRANSFER_COMPLIANCES_VARIANCE_POPULATION_UPDATED_AT_ASC', - TransferCompliancesVariancePopulationUpdatedAtDesc = 'TRANSFER_COMPLIANCES_VARIANCE_POPULATION_UPDATED_AT_DESC', - TransferCompliancesVariancePopulationUpdatedBlockIdAsc = 'TRANSFER_COMPLIANCES_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - TransferCompliancesVariancePopulationUpdatedBlockIdDesc = 'TRANSFER_COMPLIANCES_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - TransferCompliancesVariancePopulationValueAsc = 'TRANSFER_COMPLIANCES_VARIANCE_POPULATION_VALUE_ASC', - TransferCompliancesVariancePopulationValueDesc = 'TRANSFER_COMPLIANCES_VARIANCE_POPULATION_VALUE_DESC', - TransferCompliancesVarianceSampleAssetIdAsc = 'TRANSFER_COMPLIANCES_VARIANCE_SAMPLE_ASSET_ID_ASC', - TransferCompliancesVarianceSampleAssetIdDesc = 'TRANSFER_COMPLIANCES_VARIANCE_SAMPLE_ASSET_ID_DESC', - TransferCompliancesVarianceSampleClaimIssuerIdAsc = 'TRANSFER_COMPLIANCES_VARIANCE_SAMPLE_CLAIM_ISSUER_ID_ASC', - TransferCompliancesVarianceSampleClaimIssuerIdDesc = 'TRANSFER_COMPLIANCES_VARIANCE_SAMPLE_CLAIM_ISSUER_ID_DESC', - TransferCompliancesVarianceSampleClaimTypeAsc = 'TRANSFER_COMPLIANCES_VARIANCE_SAMPLE_CLAIM_TYPE_ASC', - TransferCompliancesVarianceSampleClaimTypeDesc = 'TRANSFER_COMPLIANCES_VARIANCE_SAMPLE_CLAIM_TYPE_DESC', - TransferCompliancesVarianceSampleClaimValueAsc = 'TRANSFER_COMPLIANCES_VARIANCE_SAMPLE_CLAIM_VALUE_ASC', - TransferCompliancesVarianceSampleClaimValueDesc = 'TRANSFER_COMPLIANCES_VARIANCE_SAMPLE_CLAIM_VALUE_DESC', - TransferCompliancesVarianceSampleCreatedAtAsc = 'TRANSFER_COMPLIANCES_VARIANCE_SAMPLE_CREATED_AT_ASC', - TransferCompliancesVarianceSampleCreatedAtDesc = 'TRANSFER_COMPLIANCES_VARIANCE_SAMPLE_CREATED_AT_DESC', - TransferCompliancesVarianceSampleCreatedBlockIdAsc = 'TRANSFER_COMPLIANCES_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - TransferCompliancesVarianceSampleCreatedBlockIdDesc = 'TRANSFER_COMPLIANCES_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - TransferCompliancesVarianceSampleIdAsc = 'TRANSFER_COMPLIANCES_VARIANCE_SAMPLE_ID_ASC', - TransferCompliancesVarianceSampleIdDesc = 'TRANSFER_COMPLIANCES_VARIANCE_SAMPLE_ID_DESC', - TransferCompliancesVarianceSampleMaxAsc = 'TRANSFER_COMPLIANCES_VARIANCE_SAMPLE_MAX_ASC', - TransferCompliancesVarianceSampleMaxDesc = 'TRANSFER_COMPLIANCES_VARIANCE_SAMPLE_MAX_DESC', - TransferCompliancesVarianceSampleMinAsc = 'TRANSFER_COMPLIANCES_VARIANCE_SAMPLE_MIN_ASC', - TransferCompliancesVarianceSampleMinDesc = 'TRANSFER_COMPLIANCES_VARIANCE_SAMPLE_MIN_DESC', - TransferCompliancesVarianceSampleStatTypeIdAsc = 'TRANSFER_COMPLIANCES_VARIANCE_SAMPLE_STAT_TYPE_ID_ASC', - TransferCompliancesVarianceSampleStatTypeIdDesc = 'TRANSFER_COMPLIANCES_VARIANCE_SAMPLE_STAT_TYPE_ID_DESC', - TransferCompliancesVarianceSampleTypeAsc = 'TRANSFER_COMPLIANCES_VARIANCE_SAMPLE_TYPE_ASC', - TransferCompliancesVarianceSampleTypeDesc = 'TRANSFER_COMPLIANCES_VARIANCE_SAMPLE_TYPE_DESC', - TransferCompliancesVarianceSampleUpdatedAtAsc = 'TRANSFER_COMPLIANCES_VARIANCE_SAMPLE_UPDATED_AT_ASC', - TransferCompliancesVarianceSampleUpdatedAtDesc = 'TRANSFER_COMPLIANCES_VARIANCE_SAMPLE_UPDATED_AT_DESC', - TransferCompliancesVarianceSampleUpdatedBlockIdAsc = 'TRANSFER_COMPLIANCES_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - TransferCompliancesVarianceSampleUpdatedBlockIdDesc = 'TRANSFER_COMPLIANCES_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - TransferCompliancesVarianceSampleValueAsc = 'TRANSFER_COMPLIANCES_VARIANCE_SAMPLE_VALUE_ASC', - TransferCompliancesVarianceSampleValueDesc = 'TRANSFER_COMPLIANCES_VARIANCE_SAMPLE_VALUE_DESC', - TransferComplianceExemptionsAverageAssetIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_AVERAGE_ASSET_ID_ASC', - TransferComplianceExemptionsAverageAssetIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_AVERAGE_ASSET_ID_DESC', - TransferComplianceExemptionsAverageClaimTypeAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_AVERAGE_CLAIM_TYPE_ASC', - TransferComplianceExemptionsAverageClaimTypeDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_AVERAGE_CLAIM_TYPE_DESC', - TransferComplianceExemptionsAverageCreatedAtAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_AVERAGE_CREATED_AT_ASC', - TransferComplianceExemptionsAverageCreatedAtDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_AVERAGE_CREATED_AT_DESC', - TransferComplianceExemptionsAverageCreatedBlockIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_AVERAGE_CREATED_BLOCK_ID_ASC', - TransferComplianceExemptionsAverageCreatedBlockIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_AVERAGE_CREATED_BLOCK_ID_DESC', - TransferComplianceExemptionsAverageExemptedEntityIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_AVERAGE_EXEMPTED_ENTITY_ID_ASC', - TransferComplianceExemptionsAverageExemptedEntityIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_AVERAGE_EXEMPTED_ENTITY_ID_DESC', - TransferComplianceExemptionsAverageIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_AVERAGE_ID_ASC', - TransferComplianceExemptionsAverageIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_AVERAGE_ID_DESC', - TransferComplianceExemptionsAverageOpTypeAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_AVERAGE_OP_TYPE_ASC', - TransferComplianceExemptionsAverageOpTypeDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_AVERAGE_OP_TYPE_DESC', - TransferComplianceExemptionsAverageUpdatedAtAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_AVERAGE_UPDATED_AT_ASC', - TransferComplianceExemptionsAverageUpdatedAtDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_AVERAGE_UPDATED_AT_DESC', - TransferComplianceExemptionsAverageUpdatedBlockIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_AVERAGE_UPDATED_BLOCK_ID_ASC', - TransferComplianceExemptionsAverageUpdatedBlockIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_AVERAGE_UPDATED_BLOCK_ID_DESC', - TransferComplianceExemptionsCountAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_COUNT_ASC', - TransferComplianceExemptionsCountDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_COUNT_DESC', - TransferComplianceExemptionsDistinctCountAssetIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_DISTINCT_COUNT_ASSET_ID_ASC', - TransferComplianceExemptionsDistinctCountAssetIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_DISTINCT_COUNT_ASSET_ID_DESC', - TransferComplianceExemptionsDistinctCountClaimTypeAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_DISTINCT_COUNT_CLAIM_TYPE_ASC', - TransferComplianceExemptionsDistinctCountClaimTypeDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_DISTINCT_COUNT_CLAIM_TYPE_DESC', - TransferComplianceExemptionsDistinctCountCreatedAtAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_DISTINCT_COUNT_CREATED_AT_ASC', - TransferComplianceExemptionsDistinctCountCreatedAtDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_DISTINCT_COUNT_CREATED_AT_DESC', - TransferComplianceExemptionsDistinctCountCreatedBlockIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - TransferComplianceExemptionsDistinctCountCreatedBlockIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - TransferComplianceExemptionsDistinctCountExemptedEntityIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_DISTINCT_COUNT_EXEMPTED_ENTITY_ID_ASC', - TransferComplianceExemptionsDistinctCountExemptedEntityIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_DISTINCT_COUNT_EXEMPTED_ENTITY_ID_DESC', - TransferComplianceExemptionsDistinctCountIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_DISTINCT_COUNT_ID_ASC', - TransferComplianceExemptionsDistinctCountIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_DISTINCT_COUNT_ID_DESC', - TransferComplianceExemptionsDistinctCountOpTypeAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_DISTINCT_COUNT_OP_TYPE_ASC', - TransferComplianceExemptionsDistinctCountOpTypeDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_DISTINCT_COUNT_OP_TYPE_DESC', - TransferComplianceExemptionsDistinctCountUpdatedAtAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_DISTINCT_COUNT_UPDATED_AT_ASC', - TransferComplianceExemptionsDistinctCountUpdatedAtDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_DISTINCT_COUNT_UPDATED_AT_DESC', - TransferComplianceExemptionsDistinctCountUpdatedBlockIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - TransferComplianceExemptionsDistinctCountUpdatedBlockIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - TransferComplianceExemptionsMaxAssetIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_MAX_ASSET_ID_ASC', - TransferComplianceExemptionsMaxAssetIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_MAX_ASSET_ID_DESC', - TransferComplianceExemptionsMaxClaimTypeAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_MAX_CLAIM_TYPE_ASC', - TransferComplianceExemptionsMaxClaimTypeDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_MAX_CLAIM_TYPE_DESC', - TransferComplianceExemptionsMaxCreatedAtAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_MAX_CREATED_AT_ASC', - TransferComplianceExemptionsMaxCreatedAtDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_MAX_CREATED_AT_DESC', - TransferComplianceExemptionsMaxCreatedBlockIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_MAX_CREATED_BLOCK_ID_ASC', - TransferComplianceExemptionsMaxCreatedBlockIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_MAX_CREATED_BLOCK_ID_DESC', - TransferComplianceExemptionsMaxExemptedEntityIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_MAX_EXEMPTED_ENTITY_ID_ASC', - TransferComplianceExemptionsMaxExemptedEntityIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_MAX_EXEMPTED_ENTITY_ID_DESC', - TransferComplianceExemptionsMaxIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_MAX_ID_ASC', - TransferComplianceExemptionsMaxIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_MAX_ID_DESC', - TransferComplianceExemptionsMaxOpTypeAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_MAX_OP_TYPE_ASC', - TransferComplianceExemptionsMaxOpTypeDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_MAX_OP_TYPE_DESC', - TransferComplianceExemptionsMaxUpdatedAtAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_MAX_UPDATED_AT_ASC', - TransferComplianceExemptionsMaxUpdatedAtDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_MAX_UPDATED_AT_DESC', - TransferComplianceExemptionsMaxUpdatedBlockIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_MAX_UPDATED_BLOCK_ID_ASC', - TransferComplianceExemptionsMaxUpdatedBlockIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_MAX_UPDATED_BLOCK_ID_DESC', - TransferComplianceExemptionsMinAssetIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_MIN_ASSET_ID_ASC', - TransferComplianceExemptionsMinAssetIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_MIN_ASSET_ID_DESC', - TransferComplianceExemptionsMinClaimTypeAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_MIN_CLAIM_TYPE_ASC', - TransferComplianceExemptionsMinClaimTypeDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_MIN_CLAIM_TYPE_DESC', - TransferComplianceExemptionsMinCreatedAtAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_MIN_CREATED_AT_ASC', - TransferComplianceExemptionsMinCreatedAtDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_MIN_CREATED_AT_DESC', - TransferComplianceExemptionsMinCreatedBlockIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_MIN_CREATED_BLOCK_ID_ASC', - TransferComplianceExemptionsMinCreatedBlockIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_MIN_CREATED_BLOCK_ID_DESC', - TransferComplianceExemptionsMinExemptedEntityIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_MIN_EXEMPTED_ENTITY_ID_ASC', - TransferComplianceExemptionsMinExemptedEntityIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_MIN_EXEMPTED_ENTITY_ID_DESC', - TransferComplianceExemptionsMinIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_MIN_ID_ASC', - TransferComplianceExemptionsMinIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_MIN_ID_DESC', - TransferComplianceExemptionsMinOpTypeAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_MIN_OP_TYPE_ASC', - TransferComplianceExemptionsMinOpTypeDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_MIN_OP_TYPE_DESC', - TransferComplianceExemptionsMinUpdatedAtAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_MIN_UPDATED_AT_ASC', - TransferComplianceExemptionsMinUpdatedAtDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_MIN_UPDATED_AT_DESC', - TransferComplianceExemptionsMinUpdatedBlockIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_MIN_UPDATED_BLOCK_ID_ASC', - TransferComplianceExemptionsMinUpdatedBlockIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_MIN_UPDATED_BLOCK_ID_DESC', - TransferComplianceExemptionsStddevPopulationAssetIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_STDDEV_POPULATION_ASSET_ID_ASC', - TransferComplianceExemptionsStddevPopulationAssetIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_STDDEV_POPULATION_ASSET_ID_DESC', - TransferComplianceExemptionsStddevPopulationClaimTypeAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_STDDEV_POPULATION_CLAIM_TYPE_ASC', - TransferComplianceExemptionsStddevPopulationClaimTypeDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_STDDEV_POPULATION_CLAIM_TYPE_DESC', - TransferComplianceExemptionsStddevPopulationCreatedAtAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_STDDEV_POPULATION_CREATED_AT_ASC', - TransferComplianceExemptionsStddevPopulationCreatedAtDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_STDDEV_POPULATION_CREATED_AT_DESC', - TransferComplianceExemptionsStddevPopulationCreatedBlockIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - TransferComplianceExemptionsStddevPopulationCreatedBlockIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - TransferComplianceExemptionsStddevPopulationExemptedEntityIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_STDDEV_POPULATION_EXEMPTED_ENTITY_ID_ASC', - TransferComplianceExemptionsStddevPopulationExemptedEntityIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_STDDEV_POPULATION_EXEMPTED_ENTITY_ID_DESC', - TransferComplianceExemptionsStddevPopulationIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_STDDEV_POPULATION_ID_ASC', - TransferComplianceExemptionsStddevPopulationIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_STDDEV_POPULATION_ID_DESC', - TransferComplianceExemptionsStddevPopulationOpTypeAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_STDDEV_POPULATION_OP_TYPE_ASC', - TransferComplianceExemptionsStddevPopulationOpTypeDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_STDDEV_POPULATION_OP_TYPE_DESC', - TransferComplianceExemptionsStddevPopulationUpdatedAtAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_STDDEV_POPULATION_UPDATED_AT_ASC', - TransferComplianceExemptionsStddevPopulationUpdatedAtDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_STDDEV_POPULATION_UPDATED_AT_DESC', - TransferComplianceExemptionsStddevPopulationUpdatedBlockIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - TransferComplianceExemptionsStddevPopulationUpdatedBlockIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - TransferComplianceExemptionsStddevSampleAssetIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_STDDEV_SAMPLE_ASSET_ID_ASC', - TransferComplianceExemptionsStddevSampleAssetIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_STDDEV_SAMPLE_ASSET_ID_DESC', - TransferComplianceExemptionsStddevSampleClaimTypeAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_STDDEV_SAMPLE_CLAIM_TYPE_ASC', - TransferComplianceExemptionsStddevSampleClaimTypeDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_STDDEV_SAMPLE_CLAIM_TYPE_DESC', - TransferComplianceExemptionsStddevSampleCreatedAtAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_STDDEV_SAMPLE_CREATED_AT_ASC', - TransferComplianceExemptionsStddevSampleCreatedAtDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_STDDEV_SAMPLE_CREATED_AT_DESC', - TransferComplianceExemptionsStddevSampleCreatedBlockIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - TransferComplianceExemptionsStddevSampleCreatedBlockIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - TransferComplianceExemptionsStddevSampleExemptedEntityIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_STDDEV_SAMPLE_EXEMPTED_ENTITY_ID_ASC', - TransferComplianceExemptionsStddevSampleExemptedEntityIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_STDDEV_SAMPLE_EXEMPTED_ENTITY_ID_DESC', - TransferComplianceExemptionsStddevSampleIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_STDDEV_SAMPLE_ID_ASC', - TransferComplianceExemptionsStddevSampleIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_STDDEV_SAMPLE_ID_DESC', - TransferComplianceExemptionsStddevSampleOpTypeAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_STDDEV_SAMPLE_OP_TYPE_ASC', - TransferComplianceExemptionsStddevSampleOpTypeDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_STDDEV_SAMPLE_OP_TYPE_DESC', - TransferComplianceExemptionsStddevSampleUpdatedAtAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_STDDEV_SAMPLE_UPDATED_AT_ASC', - TransferComplianceExemptionsStddevSampleUpdatedAtDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_STDDEV_SAMPLE_UPDATED_AT_DESC', - TransferComplianceExemptionsStddevSampleUpdatedBlockIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - TransferComplianceExemptionsStddevSampleUpdatedBlockIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - TransferComplianceExemptionsSumAssetIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_SUM_ASSET_ID_ASC', - TransferComplianceExemptionsSumAssetIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_SUM_ASSET_ID_DESC', - TransferComplianceExemptionsSumClaimTypeAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_SUM_CLAIM_TYPE_ASC', - TransferComplianceExemptionsSumClaimTypeDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_SUM_CLAIM_TYPE_DESC', - TransferComplianceExemptionsSumCreatedAtAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_SUM_CREATED_AT_ASC', - TransferComplianceExemptionsSumCreatedAtDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_SUM_CREATED_AT_DESC', - TransferComplianceExemptionsSumCreatedBlockIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_SUM_CREATED_BLOCK_ID_ASC', - TransferComplianceExemptionsSumCreatedBlockIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_SUM_CREATED_BLOCK_ID_DESC', - TransferComplianceExemptionsSumExemptedEntityIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_SUM_EXEMPTED_ENTITY_ID_ASC', - TransferComplianceExemptionsSumExemptedEntityIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_SUM_EXEMPTED_ENTITY_ID_DESC', - TransferComplianceExemptionsSumIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_SUM_ID_ASC', - TransferComplianceExemptionsSumIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_SUM_ID_DESC', - TransferComplianceExemptionsSumOpTypeAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_SUM_OP_TYPE_ASC', - TransferComplianceExemptionsSumOpTypeDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_SUM_OP_TYPE_DESC', - TransferComplianceExemptionsSumUpdatedAtAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_SUM_UPDATED_AT_ASC', - TransferComplianceExemptionsSumUpdatedAtDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_SUM_UPDATED_AT_DESC', - TransferComplianceExemptionsSumUpdatedBlockIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_SUM_UPDATED_BLOCK_ID_ASC', - TransferComplianceExemptionsSumUpdatedBlockIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_SUM_UPDATED_BLOCK_ID_DESC', - TransferComplianceExemptionsVariancePopulationAssetIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_VARIANCE_POPULATION_ASSET_ID_ASC', - TransferComplianceExemptionsVariancePopulationAssetIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_VARIANCE_POPULATION_ASSET_ID_DESC', - TransferComplianceExemptionsVariancePopulationClaimTypeAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_VARIANCE_POPULATION_CLAIM_TYPE_ASC', - TransferComplianceExemptionsVariancePopulationClaimTypeDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_VARIANCE_POPULATION_CLAIM_TYPE_DESC', - TransferComplianceExemptionsVariancePopulationCreatedAtAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_VARIANCE_POPULATION_CREATED_AT_ASC', - TransferComplianceExemptionsVariancePopulationCreatedAtDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_VARIANCE_POPULATION_CREATED_AT_DESC', - TransferComplianceExemptionsVariancePopulationCreatedBlockIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - TransferComplianceExemptionsVariancePopulationCreatedBlockIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - TransferComplianceExemptionsVariancePopulationExemptedEntityIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_VARIANCE_POPULATION_EXEMPTED_ENTITY_ID_ASC', - TransferComplianceExemptionsVariancePopulationExemptedEntityIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_VARIANCE_POPULATION_EXEMPTED_ENTITY_ID_DESC', - TransferComplianceExemptionsVariancePopulationIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_VARIANCE_POPULATION_ID_ASC', - TransferComplianceExemptionsVariancePopulationIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_VARIANCE_POPULATION_ID_DESC', - TransferComplianceExemptionsVariancePopulationOpTypeAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_VARIANCE_POPULATION_OP_TYPE_ASC', - TransferComplianceExemptionsVariancePopulationOpTypeDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_VARIANCE_POPULATION_OP_TYPE_DESC', - TransferComplianceExemptionsVariancePopulationUpdatedAtAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_VARIANCE_POPULATION_UPDATED_AT_ASC', - TransferComplianceExemptionsVariancePopulationUpdatedAtDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_VARIANCE_POPULATION_UPDATED_AT_DESC', - TransferComplianceExemptionsVariancePopulationUpdatedBlockIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - TransferComplianceExemptionsVariancePopulationUpdatedBlockIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - TransferComplianceExemptionsVarianceSampleAssetIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_VARIANCE_SAMPLE_ASSET_ID_ASC', - TransferComplianceExemptionsVarianceSampleAssetIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_VARIANCE_SAMPLE_ASSET_ID_DESC', - TransferComplianceExemptionsVarianceSampleClaimTypeAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_VARIANCE_SAMPLE_CLAIM_TYPE_ASC', - TransferComplianceExemptionsVarianceSampleClaimTypeDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_VARIANCE_SAMPLE_CLAIM_TYPE_DESC', - TransferComplianceExemptionsVarianceSampleCreatedAtAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_VARIANCE_SAMPLE_CREATED_AT_ASC', - TransferComplianceExemptionsVarianceSampleCreatedAtDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_VARIANCE_SAMPLE_CREATED_AT_DESC', - TransferComplianceExemptionsVarianceSampleCreatedBlockIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - TransferComplianceExemptionsVarianceSampleCreatedBlockIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - TransferComplianceExemptionsVarianceSampleExemptedEntityIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_VARIANCE_SAMPLE_EXEMPTED_ENTITY_ID_ASC', - TransferComplianceExemptionsVarianceSampleExemptedEntityIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_VARIANCE_SAMPLE_EXEMPTED_ENTITY_ID_DESC', - TransferComplianceExemptionsVarianceSampleIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_VARIANCE_SAMPLE_ID_ASC', - TransferComplianceExemptionsVarianceSampleIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_VARIANCE_SAMPLE_ID_DESC', - TransferComplianceExemptionsVarianceSampleOpTypeAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_VARIANCE_SAMPLE_OP_TYPE_ASC', - TransferComplianceExemptionsVarianceSampleOpTypeDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_VARIANCE_SAMPLE_OP_TYPE_DESC', - TransferComplianceExemptionsVarianceSampleUpdatedAtAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_VARIANCE_SAMPLE_UPDATED_AT_ASC', - TransferComplianceExemptionsVarianceSampleUpdatedAtDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_VARIANCE_SAMPLE_UPDATED_AT_DESC', - TransferComplianceExemptionsVarianceSampleUpdatedBlockIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - TransferComplianceExemptionsVarianceSampleUpdatedBlockIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - TransferManagersAverageAssetIdAsc = 'TRANSFER_MANAGERS_AVERAGE_ASSET_ID_ASC', - TransferManagersAverageAssetIdDesc = 'TRANSFER_MANAGERS_AVERAGE_ASSET_ID_DESC', - TransferManagersAverageCreatedAtAsc = 'TRANSFER_MANAGERS_AVERAGE_CREATED_AT_ASC', - TransferManagersAverageCreatedAtDesc = 'TRANSFER_MANAGERS_AVERAGE_CREATED_AT_DESC', - TransferManagersAverageCreatedBlockIdAsc = 'TRANSFER_MANAGERS_AVERAGE_CREATED_BLOCK_ID_ASC', - TransferManagersAverageCreatedBlockIdDesc = 'TRANSFER_MANAGERS_AVERAGE_CREATED_BLOCK_ID_DESC', - TransferManagersAverageExemptedEntitiesAsc = 'TRANSFER_MANAGERS_AVERAGE_EXEMPTED_ENTITIES_ASC', - TransferManagersAverageExemptedEntitiesDesc = 'TRANSFER_MANAGERS_AVERAGE_EXEMPTED_ENTITIES_DESC', - TransferManagersAverageIdAsc = 'TRANSFER_MANAGERS_AVERAGE_ID_ASC', - TransferManagersAverageIdDesc = 'TRANSFER_MANAGERS_AVERAGE_ID_DESC', - TransferManagersAverageTypeAsc = 'TRANSFER_MANAGERS_AVERAGE_TYPE_ASC', - TransferManagersAverageTypeDesc = 'TRANSFER_MANAGERS_AVERAGE_TYPE_DESC', - TransferManagersAverageUpdatedAtAsc = 'TRANSFER_MANAGERS_AVERAGE_UPDATED_AT_ASC', - TransferManagersAverageUpdatedAtDesc = 'TRANSFER_MANAGERS_AVERAGE_UPDATED_AT_DESC', - TransferManagersAverageUpdatedBlockIdAsc = 'TRANSFER_MANAGERS_AVERAGE_UPDATED_BLOCK_ID_ASC', - TransferManagersAverageUpdatedBlockIdDesc = 'TRANSFER_MANAGERS_AVERAGE_UPDATED_BLOCK_ID_DESC', - TransferManagersAverageValueAsc = 'TRANSFER_MANAGERS_AVERAGE_VALUE_ASC', - TransferManagersAverageValueDesc = 'TRANSFER_MANAGERS_AVERAGE_VALUE_DESC', - TransferManagersCountAsc = 'TRANSFER_MANAGERS_COUNT_ASC', - TransferManagersCountDesc = 'TRANSFER_MANAGERS_COUNT_DESC', - TransferManagersDistinctCountAssetIdAsc = 'TRANSFER_MANAGERS_DISTINCT_COUNT_ASSET_ID_ASC', - TransferManagersDistinctCountAssetIdDesc = 'TRANSFER_MANAGERS_DISTINCT_COUNT_ASSET_ID_DESC', - TransferManagersDistinctCountCreatedAtAsc = 'TRANSFER_MANAGERS_DISTINCT_COUNT_CREATED_AT_ASC', - TransferManagersDistinctCountCreatedAtDesc = 'TRANSFER_MANAGERS_DISTINCT_COUNT_CREATED_AT_DESC', - TransferManagersDistinctCountCreatedBlockIdAsc = 'TRANSFER_MANAGERS_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - TransferManagersDistinctCountCreatedBlockIdDesc = 'TRANSFER_MANAGERS_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - TransferManagersDistinctCountExemptedEntitiesAsc = 'TRANSFER_MANAGERS_DISTINCT_COUNT_EXEMPTED_ENTITIES_ASC', - TransferManagersDistinctCountExemptedEntitiesDesc = 'TRANSFER_MANAGERS_DISTINCT_COUNT_EXEMPTED_ENTITIES_DESC', - TransferManagersDistinctCountIdAsc = 'TRANSFER_MANAGERS_DISTINCT_COUNT_ID_ASC', - TransferManagersDistinctCountIdDesc = 'TRANSFER_MANAGERS_DISTINCT_COUNT_ID_DESC', - TransferManagersDistinctCountTypeAsc = 'TRANSFER_MANAGERS_DISTINCT_COUNT_TYPE_ASC', - TransferManagersDistinctCountTypeDesc = 'TRANSFER_MANAGERS_DISTINCT_COUNT_TYPE_DESC', - TransferManagersDistinctCountUpdatedAtAsc = 'TRANSFER_MANAGERS_DISTINCT_COUNT_UPDATED_AT_ASC', - TransferManagersDistinctCountUpdatedAtDesc = 'TRANSFER_MANAGERS_DISTINCT_COUNT_UPDATED_AT_DESC', - TransferManagersDistinctCountUpdatedBlockIdAsc = 'TRANSFER_MANAGERS_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - TransferManagersDistinctCountUpdatedBlockIdDesc = 'TRANSFER_MANAGERS_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - TransferManagersDistinctCountValueAsc = 'TRANSFER_MANAGERS_DISTINCT_COUNT_VALUE_ASC', - TransferManagersDistinctCountValueDesc = 'TRANSFER_MANAGERS_DISTINCT_COUNT_VALUE_DESC', - TransferManagersMaxAssetIdAsc = 'TRANSFER_MANAGERS_MAX_ASSET_ID_ASC', - TransferManagersMaxAssetIdDesc = 'TRANSFER_MANAGERS_MAX_ASSET_ID_DESC', - TransferManagersMaxCreatedAtAsc = 'TRANSFER_MANAGERS_MAX_CREATED_AT_ASC', - TransferManagersMaxCreatedAtDesc = 'TRANSFER_MANAGERS_MAX_CREATED_AT_DESC', - TransferManagersMaxCreatedBlockIdAsc = 'TRANSFER_MANAGERS_MAX_CREATED_BLOCK_ID_ASC', - TransferManagersMaxCreatedBlockIdDesc = 'TRANSFER_MANAGERS_MAX_CREATED_BLOCK_ID_DESC', - TransferManagersMaxExemptedEntitiesAsc = 'TRANSFER_MANAGERS_MAX_EXEMPTED_ENTITIES_ASC', - TransferManagersMaxExemptedEntitiesDesc = 'TRANSFER_MANAGERS_MAX_EXEMPTED_ENTITIES_DESC', - TransferManagersMaxIdAsc = 'TRANSFER_MANAGERS_MAX_ID_ASC', - TransferManagersMaxIdDesc = 'TRANSFER_MANAGERS_MAX_ID_DESC', - TransferManagersMaxTypeAsc = 'TRANSFER_MANAGERS_MAX_TYPE_ASC', - TransferManagersMaxTypeDesc = 'TRANSFER_MANAGERS_MAX_TYPE_DESC', - TransferManagersMaxUpdatedAtAsc = 'TRANSFER_MANAGERS_MAX_UPDATED_AT_ASC', - TransferManagersMaxUpdatedAtDesc = 'TRANSFER_MANAGERS_MAX_UPDATED_AT_DESC', - TransferManagersMaxUpdatedBlockIdAsc = 'TRANSFER_MANAGERS_MAX_UPDATED_BLOCK_ID_ASC', - TransferManagersMaxUpdatedBlockIdDesc = 'TRANSFER_MANAGERS_MAX_UPDATED_BLOCK_ID_DESC', - TransferManagersMaxValueAsc = 'TRANSFER_MANAGERS_MAX_VALUE_ASC', - TransferManagersMaxValueDesc = 'TRANSFER_MANAGERS_MAX_VALUE_DESC', - TransferManagersMinAssetIdAsc = 'TRANSFER_MANAGERS_MIN_ASSET_ID_ASC', - TransferManagersMinAssetIdDesc = 'TRANSFER_MANAGERS_MIN_ASSET_ID_DESC', - TransferManagersMinCreatedAtAsc = 'TRANSFER_MANAGERS_MIN_CREATED_AT_ASC', - TransferManagersMinCreatedAtDesc = 'TRANSFER_MANAGERS_MIN_CREATED_AT_DESC', - TransferManagersMinCreatedBlockIdAsc = 'TRANSFER_MANAGERS_MIN_CREATED_BLOCK_ID_ASC', - TransferManagersMinCreatedBlockIdDesc = 'TRANSFER_MANAGERS_MIN_CREATED_BLOCK_ID_DESC', - TransferManagersMinExemptedEntitiesAsc = 'TRANSFER_MANAGERS_MIN_EXEMPTED_ENTITIES_ASC', - TransferManagersMinExemptedEntitiesDesc = 'TRANSFER_MANAGERS_MIN_EXEMPTED_ENTITIES_DESC', - TransferManagersMinIdAsc = 'TRANSFER_MANAGERS_MIN_ID_ASC', - TransferManagersMinIdDesc = 'TRANSFER_MANAGERS_MIN_ID_DESC', - TransferManagersMinTypeAsc = 'TRANSFER_MANAGERS_MIN_TYPE_ASC', - TransferManagersMinTypeDesc = 'TRANSFER_MANAGERS_MIN_TYPE_DESC', - TransferManagersMinUpdatedAtAsc = 'TRANSFER_MANAGERS_MIN_UPDATED_AT_ASC', - TransferManagersMinUpdatedAtDesc = 'TRANSFER_MANAGERS_MIN_UPDATED_AT_DESC', - TransferManagersMinUpdatedBlockIdAsc = 'TRANSFER_MANAGERS_MIN_UPDATED_BLOCK_ID_ASC', - TransferManagersMinUpdatedBlockIdDesc = 'TRANSFER_MANAGERS_MIN_UPDATED_BLOCK_ID_DESC', - TransferManagersMinValueAsc = 'TRANSFER_MANAGERS_MIN_VALUE_ASC', - TransferManagersMinValueDesc = 'TRANSFER_MANAGERS_MIN_VALUE_DESC', - TransferManagersStddevPopulationAssetIdAsc = 'TRANSFER_MANAGERS_STDDEV_POPULATION_ASSET_ID_ASC', - TransferManagersStddevPopulationAssetIdDesc = 'TRANSFER_MANAGERS_STDDEV_POPULATION_ASSET_ID_DESC', - TransferManagersStddevPopulationCreatedAtAsc = 'TRANSFER_MANAGERS_STDDEV_POPULATION_CREATED_AT_ASC', - TransferManagersStddevPopulationCreatedAtDesc = 'TRANSFER_MANAGERS_STDDEV_POPULATION_CREATED_AT_DESC', - TransferManagersStddevPopulationCreatedBlockIdAsc = 'TRANSFER_MANAGERS_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - TransferManagersStddevPopulationCreatedBlockIdDesc = 'TRANSFER_MANAGERS_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - TransferManagersStddevPopulationExemptedEntitiesAsc = 'TRANSFER_MANAGERS_STDDEV_POPULATION_EXEMPTED_ENTITIES_ASC', - TransferManagersStddevPopulationExemptedEntitiesDesc = 'TRANSFER_MANAGERS_STDDEV_POPULATION_EXEMPTED_ENTITIES_DESC', - TransferManagersStddevPopulationIdAsc = 'TRANSFER_MANAGERS_STDDEV_POPULATION_ID_ASC', - TransferManagersStddevPopulationIdDesc = 'TRANSFER_MANAGERS_STDDEV_POPULATION_ID_DESC', - TransferManagersStddevPopulationTypeAsc = 'TRANSFER_MANAGERS_STDDEV_POPULATION_TYPE_ASC', - TransferManagersStddevPopulationTypeDesc = 'TRANSFER_MANAGERS_STDDEV_POPULATION_TYPE_DESC', - TransferManagersStddevPopulationUpdatedAtAsc = 'TRANSFER_MANAGERS_STDDEV_POPULATION_UPDATED_AT_ASC', - TransferManagersStddevPopulationUpdatedAtDesc = 'TRANSFER_MANAGERS_STDDEV_POPULATION_UPDATED_AT_DESC', - TransferManagersStddevPopulationUpdatedBlockIdAsc = 'TRANSFER_MANAGERS_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - TransferManagersStddevPopulationUpdatedBlockIdDesc = 'TRANSFER_MANAGERS_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - TransferManagersStddevPopulationValueAsc = 'TRANSFER_MANAGERS_STDDEV_POPULATION_VALUE_ASC', - TransferManagersStddevPopulationValueDesc = 'TRANSFER_MANAGERS_STDDEV_POPULATION_VALUE_DESC', - TransferManagersStddevSampleAssetIdAsc = 'TRANSFER_MANAGERS_STDDEV_SAMPLE_ASSET_ID_ASC', - TransferManagersStddevSampleAssetIdDesc = 'TRANSFER_MANAGERS_STDDEV_SAMPLE_ASSET_ID_DESC', - TransferManagersStddevSampleCreatedAtAsc = 'TRANSFER_MANAGERS_STDDEV_SAMPLE_CREATED_AT_ASC', - TransferManagersStddevSampleCreatedAtDesc = 'TRANSFER_MANAGERS_STDDEV_SAMPLE_CREATED_AT_DESC', - TransferManagersStddevSampleCreatedBlockIdAsc = 'TRANSFER_MANAGERS_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - TransferManagersStddevSampleCreatedBlockIdDesc = 'TRANSFER_MANAGERS_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - TransferManagersStddevSampleExemptedEntitiesAsc = 'TRANSFER_MANAGERS_STDDEV_SAMPLE_EXEMPTED_ENTITIES_ASC', - TransferManagersStddevSampleExemptedEntitiesDesc = 'TRANSFER_MANAGERS_STDDEV_SAMPLE_EXEMPTED_ENTITIES_DESC', - TransferManagersStddevSampleIdAsc = 'TRANSFER_MANAGERS_STDDEV_SAMPLE_ID_ASC', - TransferManagersStddevSampleIdDesc = 'TRANSFER_MANAGERS_STDDEV_SAMPLE_ID_DESC', - TransferManagersStddevSampleTypeAsc = 'TRANSFER_MANAGERS_STDDEV_SAMPLE_TYPE_ASC', - TransferManagersStddevSampleTypeDesc = 'TRANSFER_MANAGERS_STDDEV_SAMPLE_TYPE_DESC', - TransferManagersStddevSampleUpdatedAtAsc = 'TRANSFER_MANAGERS_STDDEV_SAMPLE_UPDATED_AT_ASC', - TransferManagersStddevSampleUpdatedAtDesc = 'TRANSFER_MANAGERS_STDDEV_SAMPLE_UPDATED_AT_DESC', - TransferManagersStddevSampleUpdatedBlockIdAsc = 'TRANSFER_MANAGERS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - TransferManagersStddevSampleUpdatedBlockIdDesc = 'TRANSFER_MANAGERS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - TransferManagersStddevSampleValueAsc = 'TRANSFER_MANAGERS_STDDEV_SAMPLE_VALUE_ASC', - TransferManagersStddevSampleValueDesc = 'TRANSFER_MANAGERS_STDDEV_SAMPLE_VALUE_DESC', - TransferManagersSumAssetIdAsc = 'TRANSFER_MANAGERS_SUM_ASSET_ID_ASC', - TransferManagersSumAssetIdDesc = 'TRANSFER_MANAGERS_SUM_ASSET_ID_DESC', - TransferManagersSumCreatedAtAsc = 'TRANSFER_MANAGERS_SUM_CREATED_AT_ASC', - TransferManagersSumCreatedAtDesc = 'TRANSFER_MANAGERS_SUM_CREATED_AT_DESC', - TransferManagersSumCreatedBlockIdAsc = 'TRANSFER_MANAGERS_SUM_CREATED_BLOCK_ID_ASC', - TransferManagersSumCreatedBlockIdDesc = 'TRANSFER_MANAGERS_SUM_CREATED_BLOCK_ID_DESC', - TransferManagersSumExemptedEntitiesAsc = 'TRANSFER_MANAGERS_SUM_EXEMPTED_ENTITIES_ASC', - TransferManagersSumExemptedEntitiesDesc = 'TRANSFER_MANAGERS_SUM_EXEMPTED_ENTITIES_DESC', - TransferManagersSumIdAsc = 'TRANSFER_MANAGERS_SUM_ID_ASC', - TransferManagersSumIdDesc = 'TRANSFER_MANAGERS_SUM_ID_DESC', - TransferManagersSumTypeAsc = 'TRANSFER_MANAGERS_SUM_TYPE_ASC', - TransferManagersSumTypeDesc = 'TRANSFER_MANAGERS_SUM_TYPE_DESC', - TransferManagersSumUpdatedAtAsc = 'TRANSFER_MANAGERS_SUM_UPDATED_AT_ASC', - TransferManagersSumUpdatedAtDesc = 'TRANSFER_MANAGERS_SUM_UPDATED_AT_DESC', - TransferManagersSumUpdatedBlockIdAsc = 'TRANSFER_MANAGERS_SUM_UPDATED_BLOCK_ID_ASC', - TransferManagersSumUpdatedBlockIdDesc = 'TRANSFER_MANAGERS_SUM_UPDATED_BLOCK_ID_DESC', - TransferManagersSumValueAsc = 'TRANSFER_MANAGERS_SUM_VALUE_ASC', - TransferManagersSumValueDesc = 'TRANSFER_MANAGERS_SUM_VALUE_DESC', - TransferManagersVariancePopulationAssetIdAsc = 'TRANSFER_MANAGERS_VARIANCE_POPULATION_ASSET_ID_ASC', - TransferManagersVariancePopulationAssetIdDesc = 'TRANSFER_MANAGERS_VARIANCE_POPULATION_ASSET_ID_DESC', - TransferManagersVariancePopulationCreatedAtAsc = 'TRANSFER_MANAGERS_VARIANCE_POPULATION_CREATED_AT_ASC', - TransferManagersVariancePopulationCreatedAtDesc = 'TRANSFER_MANAGERS_VARIANCE_POPULATION_CREATED_AT_DESC', - TransferManagersVariancePopulationCreatedBlockIdAsc = 'TRANSFER_MANAGERS_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - TransferManagersVariancePopulationCreatedBlockIdDesc = 'TRANSFER_MANAGERS_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - TransferManagersVariancePopulationExemptedEntitiesAsc = 'TRANSFER_MANAGERS_VARIANCE_POPULATION_EXEMPTED_ENTITIES_ASC', - TransferManagersVariancePopulationExemptedEntitiesDesc = 'TRANSFER_MANAGERS_VARIANCE_POPULATION_EXEMPTED_ENTITIES_DESC', - TransferManagersVariancePopulationIdAsc = 'TRANSFER_MANAGERS_VARIANCE_POPULATION_ID_ASC', - TransferManagersVariancePopulationIdDesc = 'TRANSFER_MANAGERS_VARIANCE_POPULATION_ID_DESC', - TransferManagersVariancePopulationTypeAsc = 'TRANSFER_MANAGERS_VARIANCE_POPULATION_TYPE_ASC', - TransferManagersVariancePopulationTypeDesc = 'TRANSFER_MANAGERS_VARIANCE_POPULATION_TYPE_DESC', - TransferManagersVariancePopulationUpdatedAtAsc = 'TRANSFER_MANAGERS_VARIANCE_POPULATION_UPDATED_AT_ASC', - TransferManagersVariancePopulationUpdatedAtDesc = 'TRANSFER_MANAGERS_VARIANCE_POPULATION_UPDATED_AT_DESC', - TransferManagersVariancePopulationUpdatedBlockIdAsc = 'TRANSFER_MANAGERS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - TransferManagersVariancePopulationUpdatedBlockIdDesc = 'TRANSFER_MANAGERS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - TransferManagersVariancePopulationValueAsc = 'TRANSFER_MANAGERS_VARIANCE_POPULATION_VALUE_ASC', - TransferManagersVariancePopulationValueDesc = 'TRANSFER_MANAGERS_VARIANCE_POPULATION_VALUE_DESC', - TransferManagersVarianceSampleAssetIdAsc = 'TRANSFER_MANAGERS_VARIANCE_SAMPLE_ASSET_ID_ASC', - TransferManagersVarianceSampleAssetIdDesc = 'TRANSFER_MANAGERS_VARIANCE_SAMPLE_ASSET_ID_DESC', - TransferManagersVarianceSampleCreatedAtAsc = 'TRANSFER_MANAGERS_VARIANCE_SAMPLE_CREATED_AT_ASC', - TransferManagersVarianceSampleCreatedAtDesc = 'TRANSFER_MANAGERS_VARIANCE_SAMPLE_CREATED_AT_DESC', - TransferManagersVarianceSampleCreatedBlockIdAsc = 'TRANSFER_MANAGERS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - TransferManagersVarianceSampleCreatedBlockIdDesc = 'TRANSFER_MANAGERS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - TransferManagersVarianceSampleExemptedEntitiesAsc = 'TRANSFER_MANAGERS_VARIANCE_SAMPLE_EXEMPTED_ENTITIES_ASC', - TransferManagersVarianceSampleExemptedEntitiesDesc = 'TRANSFER_MANAGERS_VARIANCE_SAMPLE_EXEMPTED_ENTITIES_DESC', - TransferManagersVarianceSampleIdAsc = 'TRANSFER_MANAGERS_VARIANCE_SAMPLE_ID_ASC', - TransferManagersVarianceSampleIdDesc = 'TRANSFER_MANAGERS_VARIANCE_SAMPLE_ID_DESC', - TransferManagersVarianceSampleTypeAsc = 'TRANSFER_MANAGERS_VARIANCE_SAMPLE_TYPE_ASC', - TransferManagersVarianceSampleTypeDesc = 'TRANSFER_MANAGERS_VARIANCE_SAMPLE_TYPE_DESC', - TransferManagersVarianceSampleUpdatedAtAsc = 'TRANSFER_MANAGERS_VARIANCE_SAMPLE_UPDATED_AT_ASC', - TransferManagersVarianceSampleUpdatedAtDesc = 'TRANSFER_MANAGERS_VARIANCE_SAMPLE_UPDATED_AT_DESC', - TransferManagersVarianceSampleUpdatedBlockIdAsc = 'TRANSFER_MANAGERS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - TransferManagersVarianceSampleUpdatedBlockIdDesc = 'TRANSFER_MANAGERS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - TransferManagersVarianceSampleValueAsc = 'TRANSFER_MANAGERS_VARIANCE_SAMPLE_VALUE_ASC', - TransferManagersVarianceSampleValueDesc = 'TRANSFER_MANAGERS_VARIANCE_SAMPLE_VALUE_DESC', - TrustedClaimIssuersAverageAssetIdAsc = 'TRUSTED_CLAIM_ISSUERS_AVERAGE_ASSET_ID_ASC', - TrustedClaimIssuersAverageAssetIdDesc = 'TRUSTED_CLAIM_ISSUERS_AVERAGE_ASSET_ID_DESC', - TrustedClaimIssuersAverageCreatedAtAsc = 'TRUSTED_CLAIM_ISSUERS_AVERAGE_CREATED_AT_ASC', - TrustedClaimIssuersAverageCreatedAtDesc = 'TRUSTED_CLAIM_ISSUERS_AVERAGE_CREATED_AT_DESC', - TrustedClaimIssuersAverageCreatedBlockIdAsc = 'TRUSTED_CLAIM_ISSUERS_AVERAGE_CREATED_BLOCK_ID_ASC', - TrustedClaimIssuersAverageCreatedBlockIdDesc = 'TRUSTED_CLAIM_ISSUERS_AVERAGE_CREATED_BLOCK_ID_DESC', - TrustedClaimIssuersAverageEventIdxAsc = 'TRUSTED_CLAIM_ISSUERS_AVERAGE_EVENT_IDX_ASC', - TrustedClaimIssuersAverageEventIdxDesc = 'TRUSTED_CLAIM_ISSUERS_AVERAGE_EVENT_IDX_DESC', - TrustedClaimIssuersAverageIdAsc = 'TRUSTED_CLAIM_ISSUERS_AVERAGE_ID_ASC', - TrustedClaimIssuersAverageIdDesc = 'TRUSTED_CLAIM_ISSUERS_AVERAGE_ID_DESC', - TrustedClaimIssuersAverageIssuerAsc = 'TRUSTED_CLAIM_ISSUERS_AVERAGE_ISSUER_ASC', - TrustedClaimIssuersAverageIssuerDesc = 'TRUSTED_CLAIM_ISSUERS_AVERAGE_ISSUER_DESC', - TrustedClaimIssuersAverageUpdatedAtAsc = 'TRUSTED_CLAIM_ISSUERS_AVERAGE_UPDATED_AT_ASC', - TrustedClaimIssuersAverageUpdatedAtDesc = 'TRUSTED_CLAIM_ISSUERS_AVERAGE_UPDATED_AT_DESC', - TrustedClaimIssuersAverageUpdatedBlockIdAsc = 'TRUSTED_CLAIM_ISSUERS_AVERAGE_UPDATED_BLOCK_ID_ASC', - TrustedClaimIssuersAverageUpdatedBlockIdDesc = 'TRUSTED_CLAIM_ISSUERS_AVERAGE_UPDATED_BLOCK_ID_DESC', - TrustedClaimIssuersCountAsc = 'TRUSTED_CLAIM_ISSUERS_COUNT_ASC', - TrustedClaimIssuersCountDesc = 'TRUSTED_CLAIM_ISSUERS_COUNT_DESC', - TrustedClaimIssuersDistinctCountAssetIdAsc = 'TRUSTED_CLAIM_ISSUERS_DISTINCT_COUNT_ASSET_ID_ASC', - TrustedClaimIssuersDistinctCountAssetIdDesc = 'TRUSTED_CLAIM_ISSUERS_DISTINCT_COUNT_ASSET_ID_DESC', - TrustedClaimIssuersDistinctCountCreatedAtAsc = 'TRUSTED_CLAIM_ISSUERS_DISTINCT_COUNT_CREATED_AT_ASC', - TrustedClaimIssuersDistinctCountCreatedAtDesc = 'TRUSTED_CLAIM_ISSUERS_DISTINCT_COUNT_CREATED_AT_DESC', - TrustedClaimIssuersDistinctCountCreatedBlockIdAsc = 'TRUSTED_CLAIM_ISSUERS_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - TrustedClaimIssuersDistinctCountCreatedBlockIdDesc = 'TRUSTED_CLAIM_ISSUERS_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - TrustedClaimIssuersDistinctCountEventIdxAsc = 'TRUSTED_CLAIM_ISSUERS_DISTINCT_COUNT_EVENT_IDX_ASC', - TrustedClaimIssuersDistinctCountEventIdxDesc = 'TRUSTED_CLAIM_ISSUERS_DISTINCT_COUNT_EVENT_IDX_DESC', - TrustedClaimIssuersDistinctCountIdAsc = 'TRUSTED_CLAIM_ISSUERS_DISTINCT_COUNT_ID_ASC', - TrustedClaimIssuersDistinctCountIdDesc = 'TRUSTED_CLAIM_ISSUERS_DISTINCT_COUNT_ID_DESC', - TrustedClaimIssuersDistinctCountIssuerAsc = 'TRUSTED_CLAIM_ISSUERS_DISTINCT_COUNT_ISSUER_ASC', - TrustedClaimIssuersDistinctCountIssuerDesc = 'TRUSTED_CLAIM_ISSUERS_DISTINCT_COUNT_ISSUER_DESC', - TrustedClaimIssuersDistinctCountUpdatedAtAsc = 'TRUSTED_CLAIM_ISSUERS_DISTINCT_COUNT_UPDATED_AT_ASC', - TrustedClaimIssuersDistinctCountUpdatedAtDesc = 'TRUSTED_CLAIM_ISSUERS_DISTINCT_COUNT_UPDATED_AT_DESC', - TrustedClaimIssuersDistinctCountUpdatedBlockIdAsc = 'TRUSTED_CLAIM_ISSUERS_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - TrustedClaimIssuersDistinctCountUpdatedBlockIdDesc = 'TRUSTED_CLAIM_ISSUERS_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - TrustedClaimIssuersMaxAssetIdAsc = 'TRUSTED_CLAIM_ISSUERS_MAX_ASSET_ID_ASC', - TrustedClaimIssuersMaxAssetIdDesc = 'TRUSTED_CLAIM_ISSUERS_MAX_ASSET_ID_DESC', - TrustedClaimIssuersMaxCreatedAtAsc = 'TRUSTED_CLAIM_ISSUERS_MAX_CREATED_AT_ASC', - TrustedClaimIssuersMaxCreatedAtDesc = 'TRUSTED_CLAIM_ISSUERS_MAX_CREATED_AT_DESC', - TrustedClaimIssuersMaxCreatedBlockIdAsc = 'TRUSTED_CLAIM_ISSUERS_MAX_CREATED_BLOCK_ID_ASC', - TrustedClaimIssuersMaxCreatedBlockIdDesc = 'TRUSTED_CLAIM_ISSUERS_MAX_CREATED_BLOCK_ID_DESC', - TrustedClaimIssuersMaxEventIdxAsc = 'TRUSTED_CLAIM_ISSUERS_MAX_EVENT_IDX_ASC', - TrustedClaimIssuersMaxEventIdxDesc = 'TRUSTED_CLAIM_ISSUERS_MAX_EVENT_IDX_DESC', - TrustedClaimIssuersMaxIdAsc = 'TRUSTED_CLAIM_ISSUERS_MAX_ID_ASC', - TrustedClaimIssuersMaxIdDesc = 'TRUSTED_CLAIM_ISSUERS_MAX_ID_DESC', - TrustedClaimIssuersMaxIssuerAsc = 'TRUSTED_CLAIM_ISSUERS_MAX_ISSUER_ASC', - TrustedClaimIssuersMaxIssuerDesc = 'TRUSTED_CLAIM_ISSUERS_MAX_ISSUER_DESC', - TrustedClaimIssuersMaxUpdatedAtAsc = 'TRUSTED_CLAIM_ISSUERS_MAX_UPDATED_AT_ASC', - TrustedClaimIssuersMaxUpdatedAtDesc = 'TRUSTED_CLAIM_ISSUERS_MAX_UPDATED_AT_DESC', - TrustedClaimIssuersMaxUpdatedBlockIdAsc = 'TRUSTED_CLAIM_ISSUERS_MAX_UPDATED_BLOCK_ID_ASC', - TrustedClaimIssuersMaxUpdatedBlockIdDesc = 'TRUSTED_CLAIM_ISSUERS_MAX_UPDATED_BLOCK_ID_DESC', - TrustedClaimIssuersMinAssetIdAsc = 'TRUSTED_CLAIM_ISSUERS_MIN_ASSET_ID_ASC', - TrustedClaimIssuersMinAssetIdDesc = 'TRUSTED_CLAIM_ISSUERS_MIN_ASSET_ID_DESC', - TrustedClaimIssuersMinCreatedAtAsc = 'TRUSTED_CLAIM_ISSUERS_MIN_CREATED_AT_ASC', - TrustedClaimIssuersMinCreatedAtDesc = 'TRUSTED_CLAIM_ISSUERS_MIN_CREATED_AT_DESC', - TrustedClaimIssuersMinCreatedBlockIdAsc = 'TRUSTED_CLAIM_ISSUERS_MIN_CREATED_BLOCK_ID_ASC', - TrustedClaimIssuersMinCreatedBlockIdDesc = 'TRUSTED_CLAIM_ISSUERS_MIN_CREATED_BLOCK_ID_DESC', - TrustedClaimIssuersMinEventIdxAsc = 'TRUSTED_CLAIM_ISSUERS_MIN_EVENT_IDX_ASC', - TrustedClaimIssuersMinEventIdxDesc = 'TRUSTED_CLAIM_ISSUERS_MIN_EVENT_IDX_DESC', - TrustedClaimIssuersMinIdAsc = 'TRUSTED_CLAIM_ISSUERS_MIN_ID_ASC', - TrustedClaimIssuersMinIdDesc = 'TRUSTED_CLAIM_ISSUERS_MIN_ID_DESC', - TrustedClaimIssuersMinIssuerAsc = 'TRUSTED_CLAIM_ISSUERS_MIN_ISSUER_ASC', - TrustedClaimIssuersMinIssuerDesc = 'TRUSTED_CLAIM_ISSUERS_MIN_ISSUER_DESC', - TrustedClaimIssuersMinUpdatedAtAsc = 'TRUSTED_CLAIM_ISSUERS_MIN_UPDATED_AT_ASC', - TrustedClaimIssuersMinUpdatedAtDesc = 'TRUSTED_CLAIM_ISSUERS_MIN_UPDATED_AT_DESC', - TrustedClaimIssuersMinUpdatedBlockIdAsc = 'TRUSTED_CLAIM_ISSUERS_MIN_UPDATED_BLOCK_ID_ASC', - TrustedClaimIssuersMinUpdatedBlockIdDesc = 'TRUSTED_CLAIM_ISSUERS_MIN_UPDATED_BLOCK_ID_DESC', - TrustedClaimIssuersStddevPopulationAssetIdAsc = 'TRUSTED_CLAIM_ISSUERS_STDDEV_POPULATION_ASSET_ID_ASC', - TrustedClaimIssuersStddevPopulationAssetIdDesc = 'TRUSTED_CLAIM_ISSUERS_STDDEV_POPULATION_ASSET_ID_DESC', - TrustedClaimIssuersStddevPopulationCreatedAtAsc = 'TRUSTED_CLAIM_ISSUERS_STDDEV_POPULATION_CREATED_AT_ASC', - TrustedClaimIssuersStddevPopulationCreatedAtDesc = 'TRUSTED_CLAIM_ISSUERS_STDDEV_POPULATION_CREATED_AT_DESC', - TrustedClaimIssuersStddevPopulationCreatedBlockIdAsc = 'TRUSTED_CLAIM_ISSUERS_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - TrustedClaimIssuersStddevPopulationCreatedBlockIdDesc = 'TRUSTED_CLAIM_ISSUERS_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - TrustedClaimIssuersStddevPopulationEventIdxAsc = 'TRUSTED_CLAIM_ISSUERS_STDDEV_POPULATION_EVENT_IDX_ASC', - TrustedClaimIssuersStddevPopulationEventIdxDesc = 'TRUSTED_CLAIM_ISSUERS_STDDEV_POPULATION_EVENT_IDX_DESC', - TrustedClaimIssuersStddevPopulationIdAsc = 'TRUSTED_CLAIM_ISSUERS_STDDEV_POPULATION_ID_ASC', - TrustedClaimIssuersStddevPopulationIdDesc = 'TRUSTED_CLAIM_ISSUERS_STDDEV_POPULATION_ID_DESC', - TrustedClaimIssuersStddevPopulationIssuerAsc = 'TRUSTED_CLAIM_ISSUERS_STDDEV_POPULATION_ISSUER_ASC', - TrustedClaimIssuersStddevPopulationIssuerDesc = 'TRUSTED_CLAIM_ISSUERS_STDDEV_POPULATION_ISSUER_DESC', - TrustedClaimIssuersStddevPopulationUpdatedAtAsc = 'TRUSTED_CLAIM_ISSUERS_STDDEV_POPULATION_UPDATED_AT_ASC', - TrustedClaimIssuersStddevPopulationUpdatedAtDesc = 'TRUSTED_CLAIM_ISSUERS_STDDEV_POPULATION_UPDATED_AT_DESC', - TrustedClaimIssuersStddevPopulationUpdatedBlockIdAsc = 'TRUSTED_CLAIM_ISSUERS_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - TrustedClaimIssuersStddevPopulationUpdatedBlockIdDesc = 'TRUSTED_CLAIM_ISSUERS_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - TrustedClaimIssuersStddevSampleAssetIdAsc = 'TRUSTED_CLAIM_ISSUERS_STDDEV_SAMPLE_ASSET_ID_ASC', - TrustedClaimIssuersStddevSampleAssetIdDesc = 'TRUSTED_CLAIM_ISSUERS_STDDEV_SAMPLE_ASSET_ID_DESC', - TrustedClaimIssuersStddevSampleCreatedAtAsc = 'TRUSTED_CLAIM_ISSUERS_STDDEV_SAMPLE_CREATED_AT_ASC', - TrustedClaimIssuersStddevSampleCreatedAtDesc = 'TRUSTED_CLAIM_ISSUERS_STDDEV_SAMPLE_CREATED_AT_DESC', - TrustedClaimIssuersStddevSampleCreatedBlockIdAsc = 'TRUSTED_CLAIM_ISSUERS_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - TrustedClaimIssuersStddevSampleCreatedBlockIdDesc = 'TRUSTED_CLAIM_ISSUERS_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - TrustedClaimIssuersStddevSampleEventIdxAsc = 'TRUSTED_CLAIM_ISSUERS_STDDEV_SAMPLE_EVENT_IDX_ASC', - TrustedClaimIssuersStddevSampleEventIdxDesc = 'TRUSTED_CLAIM_ISSUERS_STDDEV_SAMPLE_EVENT_IDX_DESC', - TrustedClaimIssuersStddevSampleIdAsc = 'TRUSTED_CLAIM_ISSUERS_STDDEV_SAMPLE_ID_ASC', - TrustedClaimIssuersStddevSampleIdDesc = 'TRUSTED_CLAIM_ISSUERS_STDDEV_SAMPLE_ID_DESC', - TrustedClaimIssuersStddevSampleIssuerAsc = 'TRUSTED_CLAIM_ISSUERS_STDDEV_SAMPLE_ISSUER_ASC', - TrustedClaimIssuersStddevSampleIssuerDesc = 'TRUSTED_CLAIM_ISSUERS_STDDEV_SAMPLE_ISSUER_DESC', - TrustedClaimIssuersStddevSampleUpdatedAtAsc = 'TRUSTED_CLAIM_ISSUERS_STDDEV_SAMPLE_UPDATED_AT_ASC', - TrustedClaimIssuersStddevSampleUpdatedAtDesc = 'TRUSTED_CLAIM_ISSUERS_STDDEV_SAMPLE_UPDATED_AT_DESC', - TrustedClaimIssuersStddevSampleUpdatedBlockIdAsc = 'TRUSTED_CLAIM_ISSUERS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - TrustedClaimIssuersStddevSampleUpdatedBlockIdDesc = 'TRUSTED_CLAIM_ISSUERS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - TrustedClaimIssuersSumAssetIdAsc = 'TRUSTED_CLAIM_ISSUERS_SUM_ASSET_ID_ASC', - TrustedClaimIssuersSumAssetIdDesc = 'TRUSTED_CLAIM_ISSUERS_SUM_ASSET_ID_DESC', - TrustedClaimIssuersSumCreatedAtAsc = 'TRUSTED_CLAIM_ISSUERS_SUM_CREATED_AT_ASC', - TrustedClaimIssuersSumCreatedAtDesc = 'TRUSTED_CLAIM_ISSUERS_SUM_CREATED_AT_DESC', - TrustedClaimIssuersSumCreatedBlockIdAsc = 'TRUSTED_CLAIM_ISSUERS_SUM_CREATED_BLOCK_ID_ASC', - TrustedClaimIssuersSumCreatedBlockIdDesc = 'TRUSTED_CLAIM_ISSUERS_SUM_CREATED_BLOCK_ID_DESC', - TrustedClaimIssuersSumEventIdxAsc = 'TRUSTED_CLAIM_ISSUERS_SUM_EVENT_IDX_ASC', - TrustedClaimIssuersSumEventIdxDesc = 'TRUSTED_CLAIM_ISSUERS_SUM_EVENT_IDX_DESC', - TrustedClaimIssuersSumIdAsc = 'TRUSTED_CLAIM_ISSUERS_SUM_ID_ASC', - TrustedClaimIssuersSumIdDesc = 'TRUSTED_CLAIM_ISSUERS_SUM_ID_DESC', - TrustedClaimIssuersSumIssuerAsc = 'TRUSTED_CLAIM_ISSUERS_SUM_ISSUER_ASC', - TrustedClaimIssuersSumIssuerDesc = 'TRUSTED_CLAIM_ISSUERS_SUM_ISSUER_DESC', - TrustedClaimIssuersSumUpdatedAtAsc = 'TRUSTED_CLAIM_ISSUERS_SUM_UPDATED_AT_ASC', - TrustedClaimIssuersSumUpdatedAtDesc = 'TRUSTED_CLAIM_ISSUERS_SUM_UPDATED_AT_DESC', - TrustedClaimIssuersSumUpdatedBlockIdAsc = 'TRUSTED_CLAIM_ISSUERS_SUM_UPDATED_BLOCK_ID_ASC', - TrustedClaimIssuersSumUpdatedBlockIdDesc = 'TRUSTED_CLAIM_ISSUERS_SUM_UPDATED_BLOCK_ID_DESC', - TrustedClaimIssuersVariancePopulationAssetIdAsc = 'TRUSTED_CLAIM_ISSUERS_VARIANCE_POPULATION_ASSET_ID_ASC', - TrustedClaimIssuersVariancePopulationAssetIdDesc = 'TRUSTED_CLAIM_ISSUERS_VARIANCE_POPULATION_ASSET_ID_DESC', - TrustedClaimIssuersVariancePopulationCreatedAtAsc = 'TRUSTED_CLAIM_ISSUERS_VARIANCE_POPULATION_CREATED_AT_ASC', - TrustedClaimIssuersVariancePopulationCreatedAtDesc = 'TRUSTED_CLAIM_ISSUERS_VARIANCE_POPULATION_CREATED_AT_DESC', - TrustedClaimIssuersVariancePopulationCreatedBlockIdAsc = 'TRUSTED_CLAIM_ISSUERS_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - TrustedClaimIssuersVariancePopulationCreatedBlockIdDesc = 'TRUSTED_CLAIM_ISSUERS_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - TrustedClaimIssuersVariancePopulationEventIdxAsc = 'TRUSTED_CLAIM_ISSUERS_VARIANCE_POPULATION_EVENT_IDX_ASC', - TrustedClaimIssuersVariancePopulationEventIdxDesc = 'TRUSTED_CLAIM_ISSUERS_VARIANCE_POPULATION_EVENT_IDX_DESC', - TrustedClaimIssuersVariancePopulationIdAsc = 'TRUSTED_CLAIM_ISSUERS_VARIANCE_POPULATION_ID_ASC', - TrustedClaimIssuersVariancePopulationIdDesc = 'TRUSTED_CLAIM_ISSUERS_VARIANCE_POPULATION_ID_DESC', - TrustedClaimIssuersVariancePopulationIssuerAsc = 'TRUSTED_CLAIM_ISSUERS_VARIANCE_POPULATION_ISSUER_ASC', - TrustedClaimIssuersVariancePopulationIssuerDesc = 'TRUSTED_CLAIM_ISSUERS_VARIANCE_POPULATION_ISSUER_DESC', - TrustedClaimIssuersVariancePopulationUpdatedAtAsc = 'TRUSTED_CLAIM_ISSUERS_VARIANCE_POPULATION_UPDATED_AT_ASC', - TrustedClaimIssuersVariancePopulationUpdatedAtDesc = 'TRUSTED_CLAIM_ISSUERS_VARIANCE_POPULATION_UPDATED_AT_DESC', - TrustedClaimIssuersVariancePopulationUpdatedBlockIdAsc = 'TRUSTED_CLAIM_ISSUERS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - TrustedClaimIssuersVariancePopulationUpdatedBlockIdDesc = 'TRUSTED_CLAIM_ISSUERS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - TrustedClaimIssuersVarianceSampleAssetIdAsc = 'TRUSTED_CLAIM_ISSUERS_VARIANCE_SAMPLE_ASSET_ID_ASC', - TrustedClaimIssuersVarianceSampleAssetIdDesc = 'TRUSTED_CLAIM_ISSUERS_VARIANCE_SAMPLE_ASSET_ID_DESC', - TrustedClaimIssuersVarianceSampleCreatedAtAsc = 'TRUSTED_CLAIM_ISSUERS_VARIANCE_SAMPLE_CREATED_AT_ASC', - TrustedClaimIssuersVarianceSampleCreatedAtDesc = 'TRUSTED_CLAIM_ISSUERS_VARIANCE_SAMPLE_CREATED_AT_DESC', - TrustedClaimIssuersVarianceSampleCreatedBlockIdAsc = 'TRUSTED_CLAIM_ISSUERS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - TrustedClaimIssuersVarianceSampleCreatedBlockIdDesc = 'TRUSTED_CLAIM_ISSUERS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - TrustedClaimIssuersVarianceSampleEventIdxAsc = 'TRUSTED_CLAIM_ISSUERS_VARIANCE_SAMPLE_EVENT_IDX_ASC', - TrustedClaimIssuersVarianceSampleEventIdxDesc = 'TRUSTED_CLAIM_ISSUERS_VARIANCE_SAMPLE_EVENT_IDX_DESC', - TrustedClaimIssuersVarianceSampleIdAsc = 'TRUSTED_CLAIM_ISSUERS_VARIANCE_SAMPLE_ID_ASC', - TrustedClaimIssuersVarianceSampleIdDesc = 'TRUSTED_CLAIM_ISSUERS_VARIANCE_SAMPLE_ID_DESC', - TrustedClaimIssuersVarianceSampleIssuerAsc = 'TRUSTED_CLAIM_ISSUERS_VARIANCE_SAMPLE_ISSUER_ASC', - TrustedClaimIssuersVarianceSampleIssuerDesc = 'TRUSTED_CLAIM_ISSUERS_VARIANCE_SAMPLE_ISSUER_DESC', - TrustedClaimIssuersVarianceSampleUpdatedAtAsc = 'TRUSTED_CLAIM_ISSUERS_VARIANCE_SAMPLE_UPDATED_AT_ASC', - TrustedClaimIssuersVarianceSampleUpdatedAtDesc = 'TRUSTED_CLAIM_ISSUERS_VARIANCE_SAMPLE_UPDATED_AT_DESC', - TrustedClaimIssuersVarianceSampleUpdatedBlockIdAsc = 'TRUSTED_CLAIM_ISSUERS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - TrustedClaimIssuersVarianceSampleUpdatedBlockIdDesc = 'TRUSTED_CLAIM_ISSUERS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - TypeAsc = 'TYPE_ASC', - TypeDesc = 'TYPE_DESC', - UpdatedAtAsc = 'UPDATED_AT_ASC', - UpdatedAtDesc = 'UPDATED_AT_DESC', - UpdatedBlockIdAsc = 'UPDATED_BLOCK_ID_ASC', - UpdatedBlockIdDesc = 'UPDATED_BLOCK_ID_DESC', -} - -/** Represents all possible authorization types */ -export enum AuthTypeEnum { - AddMultiSigSigner = 'AddMultiSigSigner', - AddRelayerPayingKey = 'AddRelayerPayingKey', - AttestPrimaryKeyRotation = 'AttestPrimaryKeyRotation', - BecomeAgent = 'BecomeAgent', - Custom = 'Custom', - JoinIdentity = 'JoinIdentity', - NoData = 'NoData', - PortfolioCustody = 'PortfolioCustody', - RotatePrimaryKey = 'RotatePrimaryKey', - RotatePrimaryKeyToSecondary = 'RotatePrimaryKeyToSecondary', - TransferAssetOwnership = 'TransferAssetOwnership', - TransferPrimaryIssuanceAgent = 'TransferPrimaryIssuanceAgent', - TransferTicker = 'TransferTicker', -} - -/** A filter to be used against AuthTypeEnum fields. All fields are combined with a logical ‘and.’ */ -export type AuthTypeEnumFilter = { - /** Not equal to the specified value, treating null like an ordinary value. */ - distinctFrom?: InputMaybe; - /** Equal to the specified value. */ - equalTo?: InputMaybe; - /** Greater than the specified value. */ - greaterThan?: InputMaybe; - /** Greater than or equal to the specified value. */ - greaterThanOrEqualTo?: InputMaybe; - /** Included in the specified list. */ - in?: InputMaybe>; - /** Is null (if `true` is specified) or is not null (if `false` is specified). */ - isNull?: InputMaybe; - /** Less than the specified value. */ - lessThan?: InputMaybe; - /** Less than or equal to the specified value. */ - lessThanOrEqualTo?: InputMaybe; - /** Equal to the specified value, treating null like an ordinary value. */ - notDistinctFrom?: InputMaybe; - /** Not equal to the specified value. */ - notEqualTo?: InputMaybe; - /** Not included in the specified list. */ - notIn?: InputMaybe>; -}; - -/** Represents a request to grant an Account some permission to perform actions for an Identity. e.g. become a Portfolio custodian */ -export type Authorization = Node & { - __typename?: 'Authorization'; - createdAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `Authorization`. */ - createdBlock?: Maybe; - createdBlockId: Scalars['String']['output']; - data?: Maybe; - expiry?: Maybe; - /** Reads a single `Identity` that is related to this `Authorization`. */ - from?: Maybe; - fromId: Scalars['String']['output']; - id: Scalars['String']['output']; - /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ - nodeId: Scalars['ID']['output']; - status: AuthorizationStatusEnum; - toId?: Maybe; - toKey?: Maybe; - type: AuthTypeEnum; - updatedAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `Authorization`. */ - updatedBlock?: Maybe; - updatedBlockId: Scalars['String']['output']; -}; - -export type AuthorizationAggregates = { - __typename?: 'AuthorizationAggregates'; - /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ - distinctCount?: Maybe; - keys?: Maybe>; -}; - -/** A filter to be used against aggregates of `Authorization` object types. */ -export type AuthorizationAggregatesFilter = { - /** Distinct count aggregate over matching `Authorization` objects. */ - distinctCount?: InputMaybe; - /** A filter that must pass for the relevant `Authorization` object to be included within the aggregate. */ - filter?: InputMaybe; -}; - -export type AuthorizationDistinctCountAggregateFilter = { - createdAt?: InputMaybe; - createdBlockId?: InputMaybe; - data?: InputMaybe; - expiry?: InputMaybe; - fromId?: InputMaybe; - id?: InputMaybe; - status?: InputMaybe; - toId?: InputMaybe; - toKey?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; - updatedBlockId?: InputMaybe; -}; - -export type AuthorizationDistinctCountAggregates = { - __typename?: 'AuthorizationDistinctCountAggregates'; - /** Distinct count of createdAt across the matching connection */ - createdAt?: Maybe; - /** Distinct count of createdBlockId across the matching connection */ - createdBlockId?: Maybe; - /** Distinct count of data across the matching connection */ - data?: Maybe; - /** Distinct count of expiry across the matching connection */ - expiry?: Maybe; - /** Distinct count of fromId across the matching connection */ - fromId?: Maybe; - /** Distinct count of id across the matching connection */ - id?: Maybe; - /** Distinct count of status across the matching connection */ - status?: Maybe; - /** Distinct count of toId across the matching connection */ - toId?: Maybe; - /** Distinct count of toKey across the matching connection */ - toKey?: Maybe; - /** Distinct count of type across the matching connection */ - type?: Maybe; - /** Distinct count of updatedAt across the matching connection */ - updatedAt?: Maybe; - /** Distinct count of updatedBlockId across the matching connection */ - updatedBlockId?: Maybe; -}; - -/** A filter to be used against `Authorization` object types. All fields are combined with a logical ‘and.’ */ -export type AuthorizationFilter = { - /** Checks for all expressions in this list. */ - and?: InputMaybe>; - /** Filter by the object’s `createdAt` field. */ - createdAt?: InputMaybe; - /** Filter by the object’s `createdBlock` relation. */ - createdBlock?: InputMaybe; - /** Filter by the object’s `createdBlockId` field. */ - createdBlockId?: InputMaybe; - /** Filter by the object’s `data` field. */ - data?: InputMaybe; - /** Filter by the object’s `expiry` field. */ - expiry?: InputMaybe; - /** Filter by the object’s `from` relation. */ - from?: InputMaybe; - /** Filter by the object’s `fromId` field. */ - fromId?: InputMaybe; - /** Filter by the object’s `id` field. */ - id?: InputMaybe; - /** Negates the expression. */ - not?: InputMaybe; - /** Checks for any expressions in this list. */ - or?: InputMaybe>; - /** Filter by the object’s `status` field. */ - status?: InputMaybe; - /** Filter by the object’s `toId` field. */ - toId?: InputMaybe; - /** Filter by the object’s `toKey` field. */ - toKey?: InputMaybe; - /** Filter by the object’s `type` field. */ - type?: InputMaybe; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: InputMaybe; - /** Filter by the object’s `updatedBlock` relation. */ - updatedBlock?: InputMaybe; - /** Filter by the object’s `updatedBlockId` field. */ - updatedBlockId?: InputMaybe; -}; - -/** Represents all possible authorization statuses */ -export enum AuthorizationStatusEnum { - Consumed = 'Consumed', - Pending = 'Pending', - Rejected = 'Rejected', - Revoked = 'Revoked', -} - -/** A filter to be used against AuthorizationStatusEnum fields. All fields are combined with a logical ‘and.’ */ -export type AuthorizationStatusEnumFilter = { - /** Not equal to the specified value, treating null like an ordinary value. */ - distinctFrom?: InputMaybe; - /** Equal to the specified value. */ - equalTo?: InputMaybe; - /** Greater than the specified value. */ - greaterThan?: InputMaybe; - /** Greater than or equal to the specified value. */ - greaterThanOrEqualTo?: InputMaybe; - /** Included in the specified list. */ - in?: InputMaybe>; - /** Is null (if `true` is specified) or is not null (if `false` is specified). */ - isNull?: InputMaybe; - /** Less than the specified value. */ - lessThan?: InputMaybe; - /** Less than or equal to the specified value. */ - lessThanOrEqualTo?: InputMaybe; - /** Equal to the specified value, treating null like an ordinary value. */ - notDistinctFrom?: InputMaybe; - /** Not equal to the specified value. */ - notEqualTo?: InputMaybe; - /** Not included in the specified list. */ - notIn?: InputMaybe>; -}; - -/** A connection to a list of `Authorization` values. */ -export type AuthorizationsConnection = { - __typename?: 'AuthorizationsConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Authorization` and cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Authorization` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Authorization` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Authorization` values. */ -export type AuthorizationsConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `Authorization` edge in the connection. */ -export type AuthorizationsEdge = { - __typename?: 'AuthorizationsEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Authorization` at the end of the edge. */ - node?: Maybe; -}; - -/** Grouping methods for `Authorization` for usage during aggregation. */ -export enum AuthorizationsGroupBy { - CreatedAt = 'CREATED_AT', - CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', - CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', - CreatedBlockId = 'CREATED_BLOCK_ID', - Data = 'DATA', - Expiry = 'EXPIRY', - ExpiryTruncatedToDay = 'EXPIRY_TRUNCATED_TO_DAY', - ExpiryTruncatedToHour = 'EXPIRY_TRUNCATED_TO_HOUR', - FromId = 'FROM_ID', - Status = 'STATUS', - ToId = 'TO_ID', - ToKey = 'TO_KEY', - Type = 'TYPE', - UpdatedAt = 'UPDATED_AT', - UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', - UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export type AuthorizationsHavingAverageInput = { - createdAt?: InputMaybe; - expiry?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type AuthorizationsHavingDistinctCountInput = { - createdAt?: InputMaybe; - expiry?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Conditions for `Authorization` aggregates. */ -export type AuthorizationsHavingInput = { - AND?: InputMaybe>; - OR?: InputMaybe>; - average?: InputMaybe; - distinctCount?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddevPopulation?: InputMaybe; - stddevSample?: InputMaybe; - sum?: InputMaybe; - variancePopulation?: InputMaybe; - varianceSample?: InputMaybe; -}; - -export type AuthorizationsHavingMaxInput = { - createdAt?: InputMaybe; - expiry?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type AuthorizationsHavingMinInput = { - createdAt?: InputMaybe; - expiry?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type AuthorizationsHavingStddevPopulationInput = { - createdAt?: InputMaybe; - expiry?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type AuthorizationsHavingStddevSampleInput = { - createdAt?: InputMaybe; - expiry?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type AuthorizationsHavingSumInput = { - createdAt?: InputMaybe; - expiry?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type AuthorizationsHavingVariancePopulationInput = { - createdAt?: InputMaybe; - expiry?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type AuthorizationsHavingVarianceSampleInput = { - createdAt?: InputMaybe; - expiry?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Methods to use when ordering `Authorization`. */ -export enum AuthorizationsOrderBy { - CreatedAtAsc = 'CREATED_AT_ASC', - CreatedAtDesc = 'CREATED_AT_DESC', - CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', - CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', - DataAsc = 'DATA_ASC', - DataDesc = 'DATA_DESC', - ExpiryAsc = 'EXPIRY_ASC', - ExpiryDesc = 'EXPIRY_DESC', - FromIdAsc = 'FROM_ID_ASC', - FromIdDesc = 'FROM_ID_DESC', - IdAsc = 'ID_ASC', - IdDesc = 'ID_DESC', - Natural = 'NATURAL', - PrimaryKeyAsc = 'PRIMARY_KEY_ASC', - PrimaryKeyDesc = 'PRIMARY_KEY_DESC', - StatusAsc = 'STATUS_ASC', - StatusDesc = 'STATUS_DESC', - ToIdAsc = 'TO_ID_ASC', - ToIdDesc = 'TO_ID_DESC', - ToKeyAsc = 'TO_KEY_ASC', - ToKeyDesc = 'TO_KEY_DESC', - TypeAsc = 'TYPE_ASC', - TypeDesc = 'TYPE_DESC', - UpdatedAtAsc = 'UPDATED_AT_ASC', - UpdatedAtDesc = 'UPDATED_AT_DESC', - UpdatedBlockIdAsc = 'UPDATED_BLOCK_ID_ASC', - UpdatedBlockIdDesc = 'UPDATED_BLOCK_ID_DESC', -} - -/** Represents possible all possible balance types */ -export enum BalanceTypeEnum { - Bonded = 'Bonded', - Free = 'Free', - Locked = 'Locked', - Reserved = 'Reserved', - Unbonded = 'Unbonded', -} - -/** A filter to be used against BalanceTypeEnum fields. All fields are combined with a logical ‘and.’ */ -export type BalanceTypeEnumFilter = { - /** Not equal to the specified value, treating null like an ordinary value. */ - distinctFrom?: InputMaybe; - /** Equal to the specified value. */ - equalTo?: InputMaybe; - /** Greater than the specified value. */ - greaterThan?: InputMaybe; - /** Greater than or equal to the specified value. */ - greaterThanOrEqualTo?: InputMaybe; - /** Included in the specified list. */ - in?: InputMaybe>; - /** Is null (if `true` is specified) or is not null (if `false` is specified). */ - isNull?: InputMaybe; - /** Less than the specified value. */ - lessThan?: InputMaybe; - /** Less than or equal to the specified value. */ - lessThanOrEqualTo?: InputMaybe; - /** Equal to the specified value, treating null like an ordinary value. */ - notDistinctFrom?: InputMaybe; - /** Not equal to the specified value. */ - notEqualTo?: InputMaybe; - /** Not included in the specified list. */ - notIn?: InputMaybe>; -}; - -/** A filter to be used against BigFloat fields. All fields are combined with a logical ‘and.’ */ -export type BigFloatFilter = { - /** Not equal to the specified value, treating null like an ordinary value. */ - distinctFrom?: InputMaybe; - /** Equal to the specified value. */ - equalTo?: InputMaybe; - /** Greater than the specified value. */ - greaterThan?: InputMaybe; - /** Greater than or equal to the specified value. */ - greaterThanOrEqualTo?: InputMaybe; - /** Included in the specified list. */ - in?: InputMaybe>; - /** Is null (if `true` is specified) or is not null (if `false` is specified). */ - isNull?: InputMaybe; - /** Less than the specified value. */ - lessThan?: InputMaybe; - /** Less than or equal to the specified value. */ - lessThanOrEqualTo?: InputMaybe; - /** Equal to the specified value, treating null like an ordinary value. */ - notDistinctFrom?: InputMaybe; - /** Not equal to the specified value. */ - notEqualTo?: InputMaybe; - /** Not included in the specified list. */ - notIn?: InputMaybe>; -}; - -/** A filter to be used against BigInt fields. All fields are combined with a logical ‘and.’ */ -export type BigIntFilter = { - /** Not equal to the specified value, treating null like an ordinary value. */ - distinctFrom?: InputMaybe; - /** Equal to the specified value. */ - equalTo?: InputMaybe; - /** Greater than the specified value. */ - greaterThan?: InputMaybe; - /** Greater than or equal to the specified value. */ - greaterThanOrEqualTo?: InputMaybe; - /** Included in the specified list. */ - in?: InputMaybe>; - /** Is null (if `true` is specified) or is not null (if `false` is specified). */ - isNull?: InputMaybe; - /** Less than the specified value. */ - lessThan?: InputMaybe; - /** Less than or equal to the specified value. */ - lessThanOrEqualTo?: InputMaybe; - /** Equal to the specified value, treating null like an ordinary value. */ - notDistinctFrom?: InputMaybe; - /** Not equal to the specified value. */ - notEqualTo?: InputMaybe; - /** Not included in the specified list. */ - notIn?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type Block = Node & { - __typename?: 'Block'; - /** Reads and enables pagination through a set of `AccountHistory`. */ - accountHistoriesByCreatedBlockId: AccountHistoriesConnection; - /** Reads and enables pagination through a set of `AccountHistory`. */ - accountHistoriesByUpdatedBlockId: AccountHistoriesConnection; - /** Reads and enables pagination through a set of `Account`. */ - accountsByCreatedBlockId: AccountsConnection; - /** Reads and enables pagination through a set of `Account`. */ - accountsByMultiSigCreatedBlockIdAndCreatorAccountId: BlockAccountsByMultiSigCreatedBlockIdAndCreatorAccountIdManyToManyConnection; - /** Reads and enables pagination through a set of `Account`. */ - accountsByMultiSigUpdatedBlockIdAndCreatorAccountId: BlockAccountsByMultiSigUpdatedBlockIdAndCreatorAccountIdManyToManyConnection; - /** Reads and enables pagination through a set of `Account`. */ - accountsByUpdatedBlockId: AccountsConnection; - /** Reads and enables pagination through a set of `AgentGroupMembership`. */ - agentGroupMembershipsByCreatedBlockId: AgentGroupMembershipsConnection; - /** Reads and enables pagination through a set of `AgentGroupMembership`. */ - agentGroupMembershipsByUpdatedBlockId: AgentGroupMembershipsConnection; - /** Reads and enables pagination through a set of `AgentGroup`. */ - agentGroupsByAgentGroupMembershipCreatedBlockIdAndGroupId: BlockAgentGroupsByAgentGroupMembershipCreatedBlockIdAndGroupIdManyToManyConnection; - /** Reads and enables pagination through a set of `AgentGroup`. */ - agentGroupsByAgentGroupMembershipUpdatedBlockIdAndGroupId: BlockAgentGroupsByAgentGroupMembershipUpdatedBlockIdAndGroupIdManyToManyConnection; - /** Reads and enables pagination through a set of `AgentGroup`. */ - agentGroupsByCreatedBlockId: AgentGroupsConnection; - /** Reads and enables pagination through a set of `AgentGroup`. */ - agentGroupsByUpdatedBlockId: AgentGroupsConnection; - /** Reads and enables pagination through a set of `AssetDocument`. */ - assetDocumentsByCreatedBlockId: AssetDocumentsConnection; - /** Reads and enables pagination through a set of `AssetDocument`. */ - assetDocumentsByUpdatedBlockId: AssetDocumentsConnection; - /** Reads and enables pagination through a set of `AssetHolder`. */ - assetHoldersByCreatedBlockId: AssetHoldersConnection; - /** Reads and enables pagination through a set of `AssetHolder`. */ - assetHoldersByUpdatedBlockId: AssetHoldersConnection; - /** Reads and enables pagination through a set of `AssetPendingOwnershipTransfer`. */ - assetPendingOwnershipTransfersByCreatedBlockId: AssetPendingOwnershipTransfersConnection; - /** Reads and enables pagination through a set of `AssetPendingOwnershipTransfer`. */ - assetPendingOwnershipTransfersByUpdatedBlockId: AssetPendingOwnershipTransfersConnection; - /** Reads and enables pagination through a set of `AssetTransaction`. */ - assetTransactionsByCreatedBlockId: AssetTransactionsConnection; - /** Reads and enables pagination through a set of `AssetTransaction`. */ - assetTransactionsByUpdatedBlockId: AssetTransactionsConnection; - /** Reads and enables pagination through a set of `Asset`. */ - assetsByAssetDocumentCreatedBlockIdAndAssetId: BlockAssetsByAssetDocumentCreatedBlockIdAndAssetIdManyToManyConnection; - /** Reads and enables pagination through a set of `Asset`. */ - assetsByAssetDocumentUpdatedBlockIdAndAssetId: BlockAssetsByAssetDocumentUpdatedBlockIdAndAssetIdManyToManyConnection; - /** Reads and enables pagination through a set of `Asset`. */ - assetsByAssetHolderCreatedBlockIdAndAssetId: BlockAssetsByAssetHolderCreatedBlockIdAndAssetIdManyToManyConnection; - /** Reads and enables pagination through a set of `Asset`. */ - assetsByAssetHolderUpdatedBlockIdAndAssetId: BlockAssetsByAssetHolderUpdatedBlockIdAndAssetIdManyToManyConnection; - /** Reads and enables pagination through a set of `Asset`. */ - assetsByAssetTransactionCreatedBlockIdAndAssetId: BlockAssetsByAssetTransactionCreatedBlockIdAndAssetIdManyToManyConnection; - /** Reads and enables pagination through a set of `Asset`. */ - assetsByAssetTransactionUpdatedBlockIdAndAssetId: BlockAssetsByAssetTransactionUpdatedBlockIdAndAssetIdManyToManyConnection; - /** Reads and enables pagination through a set of `Asset`. */ - assetsByComplianceCreatedBlockIdAndAssetId: BlockAssetsByComplianceCreatedBlockIdAndAssetIdManyToManyConnection; - /** Reads and enables pagination through a set of `Asset`. */ - assetsByComplianceUpdatedBlockIdAndAssetId: BlockAssetsByComplianceUpdatedBlockIdAndAssetIdManyToManyConnection; - /** Reads and enables pagination through a set of `Asset`. */ - assetsByCreatedBlockId: AssetsConnection; - /** Reads and enables pagination through a set of `Asset`. */ - assetsByDistributionCreatedBlockIdAndAssetId: BlockAssetsByDistributionCreatedBlockIdAndAssetIdManyToManyConnection; - /** Reads and enables pagination through a set of `Asset`. */ - assetsByDistributionUpdatedBlockIdAndAssetId: BlockAssetsByDistributionUpdatedBlockIdAndAssetIdManyToManyConnection; - /** Reads and enables pagination through a set of `Asset`. */ - assetsByFundingCreatedBlockIdAndAssetId: BlockAssetsByFundingCreatedBlockIdAndAssetIdManyToManyConnection; - /** Reads and enables pagination through a set of `Asset`. */ - assetsByFundingUpdatedBlockIdAndAssetId: BlockAssetsByFundingUpdatedBlockIdAndAssetIdManyToManyConnection; - /** Reads and enables pagination through a set of `Asset`. */ - assetsByNftHolderCreatedBlockIdAndAssetId: BlockAssetsByNftHolderCreatedBlockIdAndAssetIdManyToManyConnection; - /** Reads and enables pagination through a set of `Asset`. */ - assetsByNftHolderUpdatedBlockIdAndAssetId: BlockAssetsByNftHolderUpdatedBlockIdAndAssetIdManyToManyConnection; - /** Reads and enables pagination through a set of `Asset`. */ - assetsByPortfolioMovementCreatedBlockIdAndAssetId: BlockAssetsByPortfolioMovementCreatedBlockIdAndAssetIdManyToManyConnection; - /** Reads and enables pagination through a set of `Asset`. */ - assetsByPortfolioMovementUpdatedBlockIdAndAssetId: BlockAssetsByPortfolioMovementUpdatedBlockIdAndAssetIdManyToManyConnection; - /** Reads and enables pagination through a set of `Asset`. */ - assetsByStatTypeCreatedBlockIdAndAssetId: BlockAssetsByStatTypeCreatedBlockIdAndAssetIdManyToManyConnection; - /** Reads and enables pagination through a set of `Asset`. */ - assetsByStatTypeUpdatedBlockIdAndAssetId: BlockAssetsByStatTypeUpdatedBlockIdAndAssetIdManyToManyConnection; - /** Reads and enables pagination through a set of `Asset`. */ - assetsByStoCreatedBlockIdAndOfferingAssetId: BlockAssetsByStoCreatedBlockIdAndOfferingAssetIdManyToManyConnection; - /** Reads and enables pagination through a set of `Asset`. */ - assetsByStoUpdatedBlockIdAndOfferingAssetId: BlockAssetsByStoUpdatedBlockIdAndOfferingAssetIdManyToManyConnection; - /** Reads and enables pagination through a set of `Asset`. */ - assetsByTickerExternalAgentActionCreatedBlockIdAndAssetId: BlockAssetsByTickerExternalAgentActionCreatedBlockIdAndAssetIdManyToManyConnection; - /** Reads and enables pagination through a set of `Asset`. */ - assetsByTickerExternalAgentActionUpdatedBlockIdAndAssetId: BlockAssetsByTickerExternalAgentActionUpdatedBlockIdAndAssetIdManyToManyConnection; - /** Reads and enables pagination through a set of `Asset`. */ - assetsByTickerExternalAgentCreatedBlockIdAndAssetId: BlockAssetsByTickerExternalAgentCreatedBlockIdAndAssetIdManyToManyConnection; - /** Reads and enables pagination through a set of `Asset`. */ - assetsByTickerExternalAgentHistoryCreatedBlockIdAndAssetId: BlockAssetsByTickerExternalAgentHistoryCreatedBlockIdAndAssetIdManyToManyConnection; - /** Reads and enables pagination through a set of `Asset`. */ - assetsByTickerExternalAgentHistoryUpdatedBlockIdAndAssetId: BlockAssetsByTickerExternalAgentHistoryUpdatedBlockIdAndAssetIdManyToManyConnection; - /** Reads and enables pagination through a set of `Asset`. */ - assetsByTickerExternalAgentUpdatedBlockIdAndAssetId: BlockAssetsByTickerExternalAgentUpdatedBlockIdAndAssetIdManyToManyConnection; - /** Reads and enables pagination through a set of `Asset`. */ - assetsByTransferComplianceCreatedBlockIdAndAssetId: BlockAssetsByTransferComplianceCreatedBlockIdAndAssetIdManyToManyConnection; - /** Reads and enables pagination through a set of `Asset`. */ - assetsByTransferComplianceExemptionCreatedBlockIdAndAssetId: BlockAssetsByTransferComplianceExemptionCreatedBlockIdAndAssetIdManyToManyConnection; - /** Reads and enables pagination through a set of `Asset`. */ - assetsByTransferComplianceExemptionUpdatedBlockIdAndAssetId: BlockAssetsByTransferComplianceExemptionUpdatedBlockIdAndAssetIdManyToManyConnection; - /** Reads and enables pagination through a set of `Asset`. */ - assetsByTransferComplianceUpdatedBlockIdAndAssetId: BlockAssetsByTransferComplianceUpdatedBlockIdAndAssetIdManyToManyConnection; - /** Reads and enables pagination through a set of `Asset`. */ - assetsByTransferManagerCreatedBlockIdAndAssetId: BlockAssetsByTransferManagerCreatedBlockIdAndAssetIdManyToManyConnection; - /** Reads and enables pagination through a set of `Asset`. */ - assetsByTransferManagerUpdatedBlockIdAndAssetId: BlockAssetsByTransferManagerUpdatedBlockIdAndAssetIdManyToManyConnection; - /** Reads and enables pagination through a set of `Asset`. */ - assetsByTrustedClaimIssuerCreatedBlockIdAndAssetId: BlockAssetsByTrustedClaimIssuerCreatedBlockIdAndAssetIdManyToManyConnection; - /** Reads and enables pagination through a set of `Asset`. */ - assetsByTrustedClaimIssuerUpdatedBlockIdAndAssetId: BlockAssetsByTrustedClaimIssuerUpdatedBlockIdAndAssetIdManyToManyConnection; - /** Reads and enables pagination through a set of `Asset`. */ - assetsByUpdatedBlockId: AssetsConnection; - /** Reads and enables pagination through a set of `Authorization`. */ - authorizationsByCreatedBlockId: AuthorizationsConnection; - /** Reads and enables pagination through a set of `Authorization`. */ - authorizationsByUpdatedBlockId: AuthorizationsConnection; - blockId: Scalars['Int']['output']; - /** Reads and enables pagination through a set of `Block`. */ - blocksByAccountCreatedBlockIdAndUpdatedBlockId: BlockBlocksByAccountCreatedBlockIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByAccountHistoryCreatedBlockIdAndUpdatedBlockId: BlockBlocksByAccountHistoryCreatedBlockIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByAccountHistoryUpdatedBlockIdAndCreatedBlockId: BlockBlocksByAccountHistoryUpdatedBlockIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByAccountUpdatedBlockIdAndCreatedBlockId: BlockBlocksByAccountUpdatedBlockIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByAgentGroupCreatedBlockIdAndUpdatedBlockId: BlockBlocksByAgentGroupCreatedBlockIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByAgentGroupMembershipCreatedBlockIdAndUpdatedBlockId: BlockBlocksByAgentGroupMembershipCreatedBlockIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByAgentGroupMembershipUpdatedBlockIdAndCreatedBlockId: BlockBlocksByAgentGroupMembershipUpdatedBlockIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByAgentGroupUpdatedBlockIdAndCreatedBlockId: BlockBlocksByAgentGroupUpdatedBlockIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByAssetCreatedBlockIdAndUpdatedBlockId: BlockBlocksByAssetCreatedBlockIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByAssetDocumentCreatedBlockIdAndUpdatedBlockId: BlockBlocksByAssetDocumentCreatedBlockIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByAssetDocumentUpdatedBlockIdAndCreatedBlockId: BlockBlocksByAssetDocumentUpdatedBlockIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByAssetHolderCreatedBlockIdAndUpdatedBlockId: BlockBlocksByAssetHolderCreatedBlockIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByAssetHolderUpdatedBlockIdAndCreatedBlockId: BlockBlocksByAssetHolderUpdatedBlockIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByAssetPendingOwnershipTransferCreatedBlockIdAndUpdatedBlockId: BlockBlocksByAssetPendingOwnershipTransferCreatedBlockIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByAssetPendingOwnershipTransferUpdatedBlockIdAndCreatedBlockId: BlockBlocksByAssetPendingOwnershipTransferUpdatedBlockIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByAssetTransactionCreatedBlockIdAndUpdatedBlockId: BlockBlocksByAssetTransactionCreatedBlockIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByAssetTransactionUpdatedBlockIdAndCreatedBlockId: BlockBlocksByAssetTransactionUpdatedBlockIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByAssetUpdatedBlockIdAndCreatedBlockId: BlockBlocksByAssetUpdatedBlockIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByAuthorizationCreatedBlockIdAndUpdatedBlockId: BlockBlocksByAuthorizationCreatedBlockIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByAuthorizationUpdatedBlockIdAndCreatedBlockId: BlockBlocksByAuthorizationUpdatedBlockIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByBridgeEventCreatedBlockIdAndUpdatedBlockId: BlockBlocksByBridgeEventCreatedBlockIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByBridgeEventUpdatedBlockIdAndCreatedBlockId: BlockBlocksByBridgeEventUpdatedBlockIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByChildIdentityCreatedBlockIdAndUpdatedBlockId: BlockBlocksByChildIdentityCreatedBlockIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByChildIdentityUpdatedBlockIdAndCreatedBlockId: BlockBlocksByChildIdentityUpdatedBlockIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByClaimCreatedBlockIdAndUpdatedBlockId: BlockBlocksByClaimCreatedBlockIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByClaimScopeCreatedBlockIdAndUpdatedBlockId: BlockBlocksByClaimScopeCreatedBlockIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByClaimScopeUpdatedBlockIdAndCreatedBlockId: BlockBlocksByClaimScopeUpdatedBlockIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByClaimUpdatedBlockIdAndCreatedBlockId: BlockBlocksByClaimUpdatedBlockIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByComplianceCreatedBlockIdAndUpdatedBlockId: BlockBlocksByComplianceCreatedBlockIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByComplianceUpdatedBlockIdAndCreatedBlockId: BlockBlocksByComplianceUpdatedBlockIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByConfidentialAccountCreatedBlockIdAndUpdatedBlockId: BlockBlocksByConfidentialAccountCreatedBlockIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByConfidentialAccountUpdatedBlockIdAndCreatedBlockId: BlockBlocksByConfidentialAccountUpdatedBlockIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByConfidentialAssetCreatedBlockIdAndUpdatedBlockId: BlockBlocksByConfidentialAssetCreatedBlockIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByConfidentialAssetHistoryCreatedBlockIdAndUpdatedBlockId: BlockBlocksByConfidentialAssetHistoryCreatedBlockIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByConfidentialAssetHistoryUpdatedBlockIdAndCreatedBlockId: BlockBlocksByConfidentialAssetHistoryUpdatedBlockIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByConfidentialAssetHolderCreatedBlockIdAndUpdatedBlockId: BlockBlocksByConfidentialAssetHolderCreatedBlockIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByConfidentialAssetHolderUpdatedBlockIdAndCreatedBlockId: BlockBlocksByConfidentialAssetHolderUpdatedBlockIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByConfidentialAssetUpdatedBlockIdAndCreatedBlockId: BlockBlocksByConfidentialAssetUpdatedBlockIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByConfidentialLegCreatedBlockIdAndUpdatedBlockId: BlockBlocksByConfidentialLegCreatedBlockIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByConfidentialLegUpdatedBlockIdAndCreatedBlockId: BlockBlocksByConfidentialLegUpdatedBlockIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByConfidentialTransactionAffirmationCreatedBlockIdAndUpdatedBlockId: BlockBlocksByConfidentialTransactionAffirmationCreatedBlockIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByConfidentialTransactionAffirmationUpdatedBlockIdAndCreatedBlockId: BlockBlocksByConfidentialTransactionAffirmationUpdatedBlockIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByConfidentialTransactionCreatedBlockIdAndUpdatedBlockId: BlockBlocksByConfidentialTransactionCreatedBlockIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByConfidentialTransactionUpdatedBlockIdAndCreatedBlockId: BlockBlocksByConfidentialTransactionUpdatedBlockIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByConfidentialVenueCreatedBlockIdAndUpdatedBlockId: BlockBlocksByConfidentialVenueCreatedBlockIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByConfidentialVenueUpdatedBlockIdAndCreatedBlockId: BlockBlocksByConfidentialVenueUpdatedBlockIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByCustomClaimTypeCreatedBlockIdAndUpdatedBlockId: BlockBlocksByCustomClaimTypeCreatedBlockIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByCustomClaimTypeUpdatedBlockIdAndCreatedBlockId: BlockBlocksByCustomClaimTypeUpdatedBlockIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByDistributionCreatedBlockIdAndUpdatedBlockId: BlockBlocksByDistributionCreatedBlockIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByDistributionPaymentCreatedBlockIdAndUpdatedBlockId: BlockBlocksByDistributionPaymentCreatedBlockIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByDistributionPaymentUpdatedBlockIdAndCreatedBlockId: BlockBlocksByDistributionPaymentUpdatedBlockIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByDistributionUpdatedBlockIdAndCreatedBlockId: BlockBlocksByDistributionUpdatedBlockIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByFundingCreatedBlockIdAndUpdatedBlockId: BlockBlocksByFundingCreatedBlockIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByFundingUpdatedBlockIdAndCreatedBlockId: BlockBlocksByFundingUpdatedBlockIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByIdentityCreatedBlockIdAndUpdatedBlockId: BlockBlocksByIdentityCreatedBlockIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByIdentityUpdatedBlockIdAndCreatedBlockId: BlockBlocksByIdentityUpdatedBlockIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByInstructionCreatedBlockIdAndUpdatedBlockId: BlockBlocksByInstructionCreatedBlockIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByInstructionUpdatedBlockIdAndCreatedBlockId: BlockBlocksByInstructionUpdatedBlockIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByInvestmentCreatedBlockIdAndUpdatedBlockId: BlockBlocksByInvestmentCreatedBlockIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByInvestmentUpdatedBlockIdAndCreatedBlockId: BlockBlocksByInvestmentUpdatedBlockIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByLegCreatedBlockIdAndUpdatedBlockId: BlockBlocksByLegCreatedBlockIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByLegUpdatedBlockIdAndCreatedBlockId: BlockBlocksByLegUpdatedBlockIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByMultiSigCreatedBlockIdAndUpdatedBlockId: BlockBlocksByMultiSigCreatedBlockIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByMultiSigProposalCreatedBlockIdAndUpdatedBlockId: BlockBlocksByMultiSigProposalCreatedBlockIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByMultiSigProposalUpdatedBlockIdAndCreatedBlockId: BlockBlocksByMultiSigProposalUpdatedBlockIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByMultiSigProposalVoteCreatedBlockIdAndUpdatedBlockId: BlockBlocksByMultiSigProposalVoteCreatedBlockIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByMultiSigProposalVoteUpdatedBlockIdAndCreatedBlockId: BlockBlocksByMultiSigProposalVoteUpdatedBlockIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByMultiSigSignerCreatedBlockIdAndUpdatedBlockId: BlockBlocksByMultiSigSignerCreatedBlockIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByMultiSigSignerUpdatedBlockIdAndCreatedBlockId: BlockBlocksByMultiSigSignerUpdatedBlockIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByMultiSigUpdatedBlockIdAndCreatedBlockId: BlockBlocksByMultiSigUpdatedBlockIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByNftHolderCreatedBlockIdAndUpdatedBlockId: BlockBlocksByNftHolderCreatedBlockIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByNftHolderUpdatedBlockIdAndCreatedBlockId: BlockBlocksByNftHolderUpdatedBlockIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByPermissionCreatedBlockIdAndUpdatedBlockId: BlockBlocksByPermissionCreatedBlockIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByPermissionUpdatedBlockIdAndCreatedBlockId: BlockBlocksByPermissionUpdatedBlockIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByPolyxTransactionCreatedBlockIdAndUpdatedBlockId: BlockBlocksByPolyxTransactionCreatedBlockIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByPolyxTransactionUpdatedBlockIdAndCreatedBlockId: BlockBlocksByPolyxTransactionUpdatedBlockIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByPortfolioCreatedBlockIdAndUpdatedBlockId: BlockBlocksByPortfolioCreatedBlockIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByPortfolioMovementCreatedBlockIdAndUpdatedBlockId: BlockBlocksByPortfolioMovementCreatedBlockIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByPortfolioMovementUpdatedBlockIdAndCreatedBlockId: BlockBlocksByPortfolioMovementUpdatedBlockIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByPortfolioUpdatedBlockIdAndCreatedBlockId: BlockBlocksByPortfolioUpdatedBlockIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByProposalCreatedBlockIdAndUpdatedBlockId: BlockBlocksByProposalCreatedBlockIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByProposalUpdatedBlockIdAndCreatedBlockId: BlockBlocksByProposalUpdatedBlockIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByProposalVoteCreatedBlockIdAndUpdatedBlockId: BlockBlocksByProposalVoteCreatedBlockIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByProposalVoteUpdatedBlockIdAndCreatedBlockId: BlockBlocksByProposalVoteUpdatedBlockIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksBySettlementCreatedBlockIdAndUpdatedBlockId: BlockBlocksBySettlementCreatedBlockIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksBySettlementUpdatedBlockIdAndCreatedBlockId: BlockBlocksBySettlementUpdatedBlockIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByStakingEventCreatedBlockIdAndUpdatedBlockId: BlockBlocksByStakingEventCreatedBlockIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByStakingEventUpdatedBlockIdAndCreatedBlockId: BlockBlocksByStakingEventUpdatedBlockIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByStatTypeCreatedBlockIdAndUpdatedBlockId: BlockBlocksByStatTypeCreatedBlockIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByStatTypeUpdatedBlockIdAndCreatedBlockId: BlockBlocksByStatTypeUpdatedBlockIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByStoCreatedBlockIdAndUpdatedBlockId: BlockBlocksByStoCreatedBlockIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByStoUpdatedBlockIdAndCreatedBlockId: BlockBlocksByStoUpdatedBlockIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByTickerExternalAgentActionCreatedBlockIdAndUpdatedBlockId: BlockBlocksByTickerExternalAgentActionCreatedBlockIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByTickerExternalAgentActionUpdatedBlockIdAndCreatedBlockId: BlockBlocksByTickerExternalAgentActionUpdatedBlockIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByTickerExternalAgentCreatedBlockIdAndUpdatedBlockId: BlockBlocksByTickerExternalAgentCreatedBlockIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByTickerExternalAgentHistoryCreatedBlockIdAndUpdatedBlockId: BlockBlocksByTickerExternalAgentHistoryCreatedBlockIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByTickerExternalAgentHistoryUpdatedBlockIdAndCreatedBlockId: BlockBlocksByTickerExternalAgentHistoryUpdatedBlockIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByTickerExternalAgentUpdatedBlockIdAndCreatedBlockId: BlockBlocksByTickerExternalAgentUpdatedBlockIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByTransferComplianceCreatedBlockIdAndUpdatedBlockId: BlockBlocksByTransferComplianceCreatedBlockIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByTransferComplianceExemptionCreatedBlockIdAndUpdatedBlockId: BlockBlocksByTransferComplianceExemptionCreatedBlockIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByTransferComplianceExemptionUpdatedBlockIdAndCreatedBlockId: BlockBlocksByTransferComplianceExemptionUpdatedBlockIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByTransferComplianceUpdatedBlockIdAndCreatedBlockId: BlockBlocksByTransferComplianceUpdatedBlockIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByTransferManagerCreatedBlockIdAndUpdatedBlockId: BlockBlocksByTransferManagerCreatedBlockIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByTransferManagerUpdatedBlockIdAndCreatedBlockId: BlockBlocksByTransferManagerUpdatedBlockIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByTrustedClaimIssuerCreatedBlockIdAndUpdatedBlockId: BlockBlocksByTrustedClaimIssuerCreatedBlockIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByTrustedClaimIssuerUpdatedBlockIdAndCreatedBlockId: BlockBlocksByTrustedClaimIssuerUpdatedBlockIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByVenueCreatedBlockIdAndUpdatedBlockId: BlockBlocksByVenueCreatedBlockIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByVenueUpdatedBlockIdAndCreatedBlockId: BlockBlocksByVenueUpdatedBlockIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `BridgeEvent`. */ - bridgeEventsByCreatedBlockId: BridgeEventsConnection; - /** Reads and enables pagination through a set of `BridgeEvent`. */ - bridgeEventsByUpdatedBlockId: BridgeEventsConnection; - /** Reads and enables pagination through a set of `ChildIdentity`. */ - childIdentitiesByCreatedBlockId: ChildIdentitiesConnection; - /** Reads and enables pagination through a set of `ChildIdentity`. */ - childIdentitiesByUpdatedBlockId: ChildIdentitiesConnection; - /** Reads and enables pagination through a set of `ClaimScope`. */ - claimScopesByCreatedBlockId: ClaimScopesConnection; - /** Reads and enables pagination through a set of `ClaimScope`. */ - claimScopesByUpdatedBlockId: ClaimScopesConnection; - /** Reads and enables pagination through a set of `Claim`. */ - claimsByCreatedBlockId: ClaimsConnection; - /** Reads and enables pagination through a set of `Claim`. */ - claimsByUpdatedBlockId: ClaimsConnection; - /** Reads and enables pagination through a set of `Compliance`. */ - compliancesByCreatedBlockId: CompliancesConnection; - /** Reads and enables pagination through a set of `Compliance`. */ - compliancesByUpdatedBlockId: CompliancesConnection; - /** Reads and enables pagination through a set of `ConfidentialAccount`. */ - confidentialAccountsByConfidentialAssetHistoryCreatedBlockIdAndFromId: BlockConfidentialAccountsByConfidentialAssetHistoryCreatedBlockIdAndFromIdManyToManyConnection; - /** Reads and enables pagination through a set of `ConfidentialAccount`. */ - confidentialAccountsByConfidentialAssetHistoryCreatedBlockIdAndToId: BlockConfidentialAccountsByConfidentialAssetHistoryCreatedBlockIdAndToIdManyToManyConnection; - /** Reads and enables pagination through a set of `ConfidentialAccount`. */ - confidentialAccountsByConfidentialAssetHistoryUpdatedBlockIdAndFromId: BlockConfidentialAccountsByConfidentialAssetHistoryUpdatedBlockIdAndFromIdManyToManyConnection; - /** Reads and enables pagination through a set of `ConfidentialAccount`. */ - confidentialAccountsByConfidentialAssetHistoryUpdatedBlockIdAndToId: BlockConfidentialAccountsByConfidentialAssetHistoryUpdatedBlockIdAndToIdManyToManyConnection; - /** Reads and enables pagination through a set of `ConfidentialAccount`. */ - confidentialAccountsByConfidentialAssetHolderCreatedBlockIdAndAccountId: BlockConfidentialAccountsByConfidentialAssetHolderCreatedBlockIdAndAccountIdManyToManyConnection; - /** Reads and enables pagination through a set of `ConfidentialAccount`. */ - confidentialAccountsByConfidentialAssetHolderUpdatedBlockIdAndAccountId: BlockConfidentialAccountsByConfidentialAssetHolderUpdatedBlockIdAndAccountIdManyToManyConnection; - /** Reads and enables pagination through a set of `ConfidentialAccount`. */ - confidentialAccountsByConfidentialLegCreatedBlockIdAndReceiverId: BlockConfidentialAccountsByConfidentialLegCreatedBlockIdAndReceiverIdManyToManyConnection; - /** Reads and enables pagination through a set of `ConfidentialAccount`. */ - confidentialAccountsByConfidentialLegCreatedBlockIdAndSenderId: BlockConfidentialAccountsByConfidentialLegCreatedBlockIdAndSenderIdManyToManyConnection; - /** Reads and enables pagination through a set of `ConfidentialAccount`. */ - confidentialAccountsByConfidentialLegUpdatedBlockIdAndReceiverId: BlockConfidentialAccountsByConfidentialLegUpdatedBlockIdAndReceiverIdManyToManyConnection; - /** Reads and enables pagination through a set of `ConfidentialAccount`. */ - confidentialAccountsByConfidentialLegUpdatedBlockIdAndSenderId: BlockConfidentialAccountsByConfidentialLegUpdatedBlockIdAndSenderIdManyToManyConnection; - /** Reads and enables pagination through a set of `ConfidentialAccount`. */ - confidentialAccountsByConfidentialTransactionAffirmationCreatedBlockIdAndAccountId: BlockConfidentialAccountsByConfidentialTransactionAffirmationCreatedBlockIdAndAccountIdManyToManyConnection; - /** Reads and enables pagination through a set of `ConfidentialAccount`. */ - confidentialAccountsByConfidentialTransactionAffirmationUpdatedBlockIdAndAccountId: BlockConfidentialAccountsByConfidentialTransactionAffirmationUpdatedBlockIdAndAccountIdManyToManyConnection; - /** Reads and enables pagination through a set of `ConfidentialAccount`. */ - confidentialAccountsByCreatedBlockId: ConfidentialAccountsConnection; - /** Reads and enables pagination through a set of `ConfidentialAccount`. */ - confidentialAccountsByUpdatedBlockId: ConfidentialAccountsConnection; - /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ - confidentialAssetHistoriesByCreatedBlockId: ConfidentialAssetHistoriesConnection; - /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ - confidentialAssetHistoriesByUpdatedBlockId: ConfidentialAssetHistoriesConnection; - /** Reads and enables pagination through a set of `ConfidentialAssetHolder`. */ - confidentialAssetHoldersByCreatedBlockId: ConfidentialAssetHoldersConnection; - /** Reads and enables pagination through a set of `ConfidentialAssetHolder`. */ - confidentialAssetHoldersByUpdatedBlockId: ConfidentialAssetHoldersConnection; - /** Reads and enables pagination through a set of `ConfidentialAsset`. */ - confidentialAssetsByConfidentialAssetHistoryCreatedBlockIdAndAssetId: BlockConfidentialAssetsByConfidentialAssetHistoryCreatedBlockIdAndAssetIdManyToManyConnection; - /** Reads and enables pagination through a set of `ConfidentialAsset`. */ - confidentialAssetsByConfidentialAssetHistoryUpdatedBlockIdAndAssetId: BlockConfidentialAssetsByConfidentialAssetHistoryUpdatedBlockIdAndAssetIdManyToManyConnection; - /** Reads and enables pagination through a set of `ConfidentialAsset`. */ - confidentialAssetsByConfidentialAssetHolderCreatedBlockIdAndAssetId: BlockConfidentialAssetsByConfidentialAssetHolderCreatedBlockIdAndAssetIdManyToManyConnection; - /** Reads and enables pagination through a set of `ConfidentialAsset`. */ - confidentialAssetsByConfidentialAssetHolderUpdatedBlockIdAndAssetId: BlockConfidentialAssetsByConfidentialAssetHolderUpdatedBlockIdAndAssetIdManyToManyConnection; - /** Reads and enables pagination through a set of `ConfidentialAsset`. */ - confidentialAssetsByCreatedBlockId: ConfidentialAssetsConnection; - /** Reads and enables pagination through a set of `ConfidentialAsset`. */ - confidentialAssetsByUpdatedBlockId: ConfidentialAssetsConnection; - /** Reads and enables pagination through a set of `ConfidentialLeg`. */ - confidentialLegsByCreatedBlockId: ConfidentialLegsConnection; - /** Reads and enables pagination through a set of `ConfidentialLeg`. */ - confidentialLegsByUpdatedBlockId: ConfidentialLegsConnection; - /** Reads and enables pagination through a set of `ConfidentialTransactionAffirmation`. */ - confidentialTransactionAffirmationsByCreatedBlockId: ConfidentialTransactionAffirmationsConnection; - /** Reads and enables pagination through a set of `ConfidentialTransactionAffirmation`. */ - confidentialTransactionAffirmationsByUpdatedBlockId: ConfidentialTransactionAffirmationsConnection; - /** Reads and enables pagination through a set of `ConfidentialTransaction`. */ - confidentialTransactionsByConfidentialAssetHistoryCreatedBlockIdAndTransactionId: BlockConfidentialTransactionsByConfidentialAssetHistoryCreatedBlockIdAndTransactionIdManyToManyConnection; - /** Reads and enables pagination through a set of `ConfidentialTransaction`. */ - confidentialTransactionsByConfidentialAssetHistoryUpdatedBlockIdAndTransactionId: BlockConfidentialTransactionsByConfidentialAssetHistoryUpdatedBlockIdAndTransactionIdManyToManyConnection; - /** Reads and enables pagination through a set of `ConfidentialTransaction`. */ - confidentialTransactionsByConfidentialLegCreatedBlockIdAndTransactionId: BlockConfidentialTransactionsByConfidentialLegCreatedBlockIdAndTransactionIdManyToManyConnection; - /** Reads and enables pagination through a set of `ConfidentialTransaction`. */ - confidentialTransactionsByConfidentialLegUpdatedBlockIdAndTransactionId: BlockConfidentialTransactionsByConfidentialLegUpdatedBlockIdAndTransactionIdManyToManyConnection; - /** Reads and enables pagination through a set of `ConfidentialTransaction`. */ - confidentialTransactionsByConfidentialTransactionAffirmationCreatedBlockIdAndTransactionId: BlockConfidentialTransactionsByConfidentialTransactionAffirmationCreatedBlockIdAndTransactionIdManyToManyConnection; - /** Reads and enables pagination through a set of `ConfidentialTransaction`. */ - confidentialTransactionsByConfidentialTransactionAffirmationUpdatedBlockIdAndTransactionId: BlockConfidentialTransactionsByConfidentialTransactionAffirmationUpdatedBlockIdAndTransactionIdManyToManyConnection; - /** Reads and enables pagination through a set of `ConfidentialTransaction`. */ - confidentialTransactionsByCreatedBlockId: ConfidentialTransactionsConnection; - /** Reads and enables pagination through a set of `ConfidentialTransaction`. */ - confidentialTransactionsByUpdatedBlockId: ConfidentialTransactionsConnection; - /** Reads and enables pagination through a set of `ConfidentialVenue`. */ - confidentialVenuesByConfidentialTransactionCreatedBlockIdAndVenueId: BlockConfidentialVenuesByConfidentialTransactionCreatedBlockIdAndVenueIdManyToManyConnection; - /** Reads and enables pagination through a set of `ConfidentialVenue`. */ - confidentialVenuesByConfidentialTransactionUpdatedBlockIdAndVenueId: BlockConfidentialVenuesByConfidentialTransactionUpdatedBlockIdAndVenueIdManyToManyConnection; - /** Reads and enables pagination through a set of `ConfidentialVenue`. */ - confidentialVenuesByCreatedBlockId: ConfidentialVenuesConnection; - /** Reads and enables pagination through a set of `ConfidentialVenue`. */ - confidentialVenuesByUpdatedBlockId: ConfidentialVenuesConnection; - countEvents: Scalars['Int']['output']; - countExtrinsics: Scalars['Int']['output']; - countExtrinsicsError: Scalars['Int']['output']; - countExtrinsicsSigned: Scalars['Int']['output']; - countExtrinsicsSuccess: Scalars['Int']['output']; - countExtrinsicsUnsigned: Scalars['Int']['output']; - createdAt: Scalars['Datetime']['output']; - /** Reads and enables pagination through a set of `CustomClaimType`. */ - customClaimTypesByClaimCreatedBlockIdAndCustomClaimTypeId: BlockCustomClaimTypesByClaimCreatedBlockIdAndCustomClaimTypeIdManyToManyConnection; - /** Reads and enables pagination through a set of `CustomClaimType`. */ - customClaimTypesByClaimUpdatedBlockIdAndCustomClaimTypeId: BlockCustomClaimTypesByClaimUpdatedBlockIdAndCustomClaimTypeIdManyToManyConnection; - /** Reads and enables pagination through a set of `CustomClaimType`. */ - customClaimTypesByCreatedBlockId: CustomClaimTypesConnection; - /** Reads and enables pagination through a set of `CustomClaimType`. */ - customClaimTypesByUpdatedBlockId: CustomClaimTypesConnection; - datetime: Scalars['Datetime']['output']; - /** Reads and enables pagination through a set of `DistributionPayment`. */ - distributionPaymentsByCreatedBlockId: DistributionPaymentsConnection; - /** Reads and enables pagination through a set of `DistributionPayment`. */ - distributionPaymentsByUpdatedBlockId: DistributionPaymentsConnection; - /** Reads and enables pagination through a set of `Distribution`. */ - distributionsByCreatedBlockId: DistributionsConnection; - /** Reads and enables pagination through a set of `Distribution`. */ - distributionsByDistributionPaymentCreatedBlockIdAndDistributionId: BlockDistributionsByDistributionPaymentCreatedBlockIdAndDistributionIdManyToManyConnection; - /** Reads and enables pagination through a set of `Distribution`. */ - distributionsByDistributionPaymentUpdatedBlockIdAndDistributionId: BlockDistributionsByDistributionPaymentUpdatedBlockIdAndDistributionIdManyToManyConnection; - /** Reads and enables pagination through a set of `Distribution`. */ - distributionsByUpdatedBlockId: DistributionsConnection; - /** Reads and enables pagination through a set of `Event`. */ - events: EventsConnection; - /** Reads and enables pagination through a set of `Extrinsic`. */ - extrinsics: ExtrinsicsConnection; - /** Reads and enables pagination through a set of `Extrinsic`. */ - extrinsicsByEventBlockIdAndExtrinsicId: BlockExtrinsicsByEventBlockIdAndExtrinsicIdManyToManyConnection; - /** Reads and enables pagination through a set of `Extrinsic`. */ - extrinsicsByPolyxTransactionCreatedBlockIdAndExtrinsicId: BlockExtrinsicsByPolyxTransactionCreatedBlockIdAndExtrinsicIdManyToManyConnection; - /** Reads and enables pagination through a set of `Extrinsic`. */ - extrinsicsByPolyxTransactionUpdatedBlockIdAndExtrinsicId: BlockExtrinsicsByPolyxTransactionUpdatedBlockIdAndExtrinsicIdManyToManyConnection; - extrinsicsRoot: Scalars['String']['output']; - /** Reads and enables pagination through a set of `Funding`. */ - fundingsByCreatedBlockId: FundingsConnection; - /** Reads and enables pagination through a set of `Funding`. */ - fundingsByUpdatedBlockId: FundingsConnection; - hash: Scalars['String']['output']; - id: Scalars['String']['output']; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByAccountCreatedBlockIdAndIdentityId: BlockIdentitiesByAccountCreatedBlockIdAndIdentityIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByAccountUpdatedBlockIdAndIdentityId: BlockIdentitiesByAccountUpdatedBlockIdAndIdentityIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByAssetCreatedBlockIdAndOwnerId: BlockIdentitiesByAssetCreatedBlockIdAndOwnerIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByAssetHolderCreatedBlockIdAndIdentityId: BlockIdentitiesByAssetHolderCreatedBlockIdAndIdentityIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByAssetHolderUpdatedBlockIdAndIdentityId: BlockIdentitiesByAssetHolderUpdatedBlockIdAndIdentityIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByAssetUpdatedBlockIdAndOwnerId: BlockIdentitiesByAssetUpdatedBlockIdAndOwnerIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByAuthorizationCreatedBlockIdAndFromId: BlockIdentitiesByAuthorizationCreatedBlockIdAndFromIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByAuthorizationUpdatedBlockIdAndFromId: BlockIdentitiesByAuthorizationUpdatedBlockIdAndFromIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByBridgeEventCreatedBlockIdAndIdentityId: BlockIdentitiesByBridgeEventCreatedBlockIdAndIdentityIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByBridgeEventUpdatedBlockIdAndIdentityId: BlockIdentitiesByBridgeEventUpdatedBlockIdAndIdentityIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByChildIdentityCreatedBlockIdAndChildId: BlockIdentitiesByChildIdentityCreatedBlockIdAndChildIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByChildIdentityCreatedBlockIdAndParentId: BlockIdentitiesByChildIdentityCreatedBlockIdAndParentIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByChildIdentityUpdatedBlockIdAndChildId: BlockIdentitiesByChildIdentityUpdatedBlockIdAndChildIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByChildIdentityUpdatedBlockIdAndParentId: BlockIdentitiesByChildIdentityUpdatedBlockIdAndParentIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByClaimCreatedBlockIdAndIssuerId: BlockIdentitiesByClaimCreatedBlockIdAndIssuerIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByClaimCreatedBlockIdAndTargetId: BlockIdentitiesByClaimCreatedBlockIdAndTargetIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByClaimUpdatedBlockIdAndIssuerId: BlockIdentitiesByClaimUpdatedBlockIdAndIssuerIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByClaimUpdatedBlockIdAndTargetId: BlockIdentitiesByClaimUpdatedBlockIdAndTargetIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByConfidentialAccountCreatedBlockIdAndCreatorId: BlockIdentitiesByConfidentialAccountCreatedBlockIdAndCreatorIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByConfidentialAccountUpdatedBlockIdAndCreatorId: BlockIdentitiesByConfidentialAccountUpdatedBlockIdAndCreatorIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByConfidentialAssetCreatedBlockIdAndCreatorId: BlockIdentitiesByConfidentialAssetCreatedBlockIdAndCreatorIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByConfidentialAssetUpdatedBlockIdAndCreatorId: BlockIdentitiesByConfidentialAssetUpdatedBlockIdAndCreatorIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByConfidentialTransactionAffirmationCreatedBlockIdAndIdentityId: BlockIdentitiesByConfidentialTransactionAffirmationCreatedBlockIdAndIdentityIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByConfidentialTransactionAffirmationUpdatedBlockIdAndIdentityId: BlockIdentitiesByConfidentialTransactionAffirmationUpdatedBlockIdAndIdentityIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByConfidentialVenueCreatedBlockIdAndCreatorId: BlockIdentitiesByConfidentialVenueCreatedBlockIdAndCreatorIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByConfidentialVenueUpdatedBlockIdAndCreatorId: BlockIdentitiesByConfidentialVenueUpdatedBlockIdAndCreatorIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByCreatedBlockId: IdentitiesConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByCustomClaimTypeCreatedBlockIdAndIdentityId: BlockIdentitiesByCustomClaimTypeCreatedBlockIdAndIdentityIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByCustomClaimTypeUpdatedBlockIdAndIdentityId: BlockIdentitiesByCustomClaimTypeUpdatedBlockIdAndIdentityIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByDistributionCreatedBlockIdAndIdentityId: BlockIdentitiesByDistributionCreatedBlockIdAndIdentityIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByDistributionPaymentCreatedBlockIdAndTargetId: BlockIdentitiesByDistributionPaymentCreatedBlockIdAndTargetIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByDistributionPaymentUpdatedBlockIdAndTargetId: BlockIdentitiesByDistributionPaymentUpdatedBlockIdAndTargetIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByDistributionUpdatedBlockIdAndIdentityId: BlockIdentitiesByDistributionUpdatedBlockIdAndIdentityIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByInvestmentCreatedBlockIdAndInvestorId: BlockIdentitiesByInvestmentCreatedBlockIdAndInvestorIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByInvestmentUpdatedBlockIdAndInvestorId: BlockIdentitiesByInvestmentUpdatedBlockIdAndInvestorIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByMultiSigCreatedBlockIdAndCreatorId: BlockIdentitiesByMultiSigCreatedBlockIdAndCreatorIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByMultiSigProposalCreatedBlockIdAndCreatorId: BlockIdentitiesByMultiSigProposalCreatedBlockIdAndCreatorIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByMultiSigProposalUpdatedBlockIdAndCreatorId: BlockIdentitiesByMultiSigProposalUpdatedBlockIdAndCreatorIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByMultiSigUpdatedBlockIdAndCreatorId: BlockIdentitiesByMultiSigUpdatedBlockIdAndCreatorIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByNftHolderCreatedBlockIdAndIdentityId: BlockIdentitiesByNftHolderCreatedBlockIdAndIdentityIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByNftHolderUpdatedBlockIdAndIdentityId: BlockIdentitiesByNftHolderUpdatedBlockIdAndIdentityIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByPortfolioCreatedBlockIdAndCustodianId: BlockIdentitiesByPortfolioCreatedBlockIdAndCustodianIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByPortfolioCreatedBlockIdAndIdentityId: BlockIdentitiesByPortfolioCreatedBlockIdAndIdentityIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByPortfolioUpdatedBlockIdAndCustodianId: BlockIdentitiesByPortfolioUpdatedBlockIdAndCustodianIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByPortfolioUpdatedBlockIdAndIdentityId: BlockIdentitiesByPortfolioUpdatedBlockIdAndIdentityIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByProposalCreatedBlockIdAndOwnerId: BlockIdentitiesByProposalCreatedBlockIdAndOwnerIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByProposalUpdatedBlockIdAndOwnerId: BlockIdentitiesByProposalUpdatedBlockIdAndOwnerIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByStakingEventCreatedBlockIdAndIdentityId: BlockIdentitiesByStakingEventCreatedBlockIdAndIdentityIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByStakingEventUpdatedBlockIdAndIdentityId: BlockIdentitiesByStakingEventUpdatedBlockIdAndIdentityIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByStatTypeCreatedBlockIdAndClaimIssuerId: BlockIdentitiesByStatTypeCreatedBlockIdAndClaimIssuerIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByStatTypeUpdatedBlockIdAndClaimIssuerId: BlockIdentitiesByStatTypeUpdatedBlockIdAndClaimIssuerIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByStoCreatedBlockIdAndCreatorId: BlockIdentitiesByStoCreatedBlockIdAndCreatorIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByStoUpdatedBlockIdAndCreatorId: BlockIdentitiesByStoUpdatedBlockIdAndCreatorIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByTickerExternalAgentActionCreatedBlockIdAndCallerId: BlockIdentitiesByTickerExternalAgentActionCreatedBlockIdAndCallerIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByTickerExternalAgentActionUpdatedBlockIdAndCallerId: BlockIdentitiesByTickerExternalAgentActionUpdatedBlockIdAndCallerIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByTickerExternalAgentCreatedBlockIdAndCallerId: BlockIdentitiesByTickerExternalAgentCreatedBlockIdAndCallerIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByTickerExternalAgentHistoryCreatedBlockIdAndIdentityId: BlockIdentitiesByTickerExternalAgentHistoryCreatedBlockIdAndIdentityIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByTickerExternalAgentHistoryUpdatedBlockIdAndIdentityId: BlockIdentitiesByTickerExternalAgentHistoryUpdatedBlockIdAndIdentityIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByTickerExternalAgentUpdatedBlockIdAndCallerId: BlockIdentitiesByTickerExternalAgentUpdatedBlockIdAndCallerIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByTransferComplianceCreatedBlockIdAndClaimIssuerId: BlockIdentitiesByTransferComplianceCreatedBlockIdAndClaimIssuerIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByTransferComplianceUpdatedBlockIdAndClaimIssuerId: BlockIdentitiesByTransferComplianceUpdatedBlockIdAndClaimIssuerIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByUpdatedBlockId: IdentitiesConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByVenueCreatedBlockIdAndOwnerId: BlockIdentitiesByVenueCreatedBlockIdAndOwnerIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByVenueUpdatedBlockIdAndOwnerId: BlockIdentitiesByVenueUpdatedBlockIdAndOwnerIdManyToManyConnection; - /** Reads and enables pagination through a set of `Instruction`. */ - instructionsByAssetTransactionCreatedBlockIdAndInstructionId: BlockInstructionsByAssetTransactionCreatedBlockIdAndInstructionIdManyToManyConnection; - /** Reads and enables pagination through a set of `Instruction`. */ - instructionsByAssetTransactionUpdatedBlockIdAndInstructionId: BlockInstructionsByAssetTransactionUpdatedBlockIdAndInstructionIdManyToManyConnection; - /** Reads and enables pagination through a set of `Instruction`. */ - instructionsByCreatedBlockId: InstructionsConnection; - /** Reads and enables pagination through a set of `Instruction`. */ - instructionsByLegCreatedBlockIdAndInstructionId: BlockInstructionsByLegCreatedBlockIdAndInstructionIdManyToManyConnection; - /** Reads and enables pagination through a set of `Instruction`. */ - instructionsByLegUpdatedBlockIdAndInstructionId: BlockInstructionsByLegUpdatedBlockIdAndInstructionIdManyToManyConnection; - /** Reads and enables pagination through a set of `Instruction`. */ - instructionsByUpdatedBlockId: InstructionsConnection; - /** Reads and enables pagination through a set of `Investment`. */ - investmentsByCreatedBlockId: InvestmentsConnection; - /** Reads and enables pagination through a set of `Investment`. */ - investmentsByUpdatedBlockId: InvestmentsConnection; - /** Reads and enables pagination through a set of `Leg`. */ - legsByCreatedBlockId: LegsConnection; - /** Reads and enables pagination through a set of `Leg`. */ - legsByUpdatedBlockId: LegsConnection; - /** Reads and enables pagination through a set of `MultiSigProposalVote`. */ - multiSigProposalVotesByCreatedBlockId: MultiSigProposalVotesConnection; - /** Reads and enables pagination through a set of `MultiSigProposalVote`. */ - multiSigProposalVotesByUpdatedBlockId: MultiSigProposalVotesConnection; - /** Reads and enables pagination through a set of `MultiSigProposal`. */ - multiSigProposalsByCreatedBlockId: MultiSigProposalsConnection; - /** Reads and enables pagination through a set of `MultiSigProposal`. */ - multiSigProposalsByMultiSigProposalVoteCreatedBlockIdAndProposalId: BlockMultiSigProposalsByMultiSigProposalVoteCreatedBlockIdAndProposalIdManyToManyConnection; - /** Reads and enables pagination through a set of `MultiSigProposal`. */ - multiSigProposalsByMultiSigProposalVoteUpdatedBlockIdAndProposalId: BlockMultiSigProposalsByMultiSigProposalVoteUpdatedBlockIdAndProposalIdManyToManyConnection; - /** Reads and enables pagination through a set of `MultiSigProposal`. */ - multiSigProposalsByUpdatedBlockId: MultiSigProposalsConnection; - /** Reads and enables pagination through a set of `MultiSigSigner`. */ - multiSigSignersByCreatedBlockId: MultiSigSignersConnection; - /** Reads and enables pagination through a set of `MultiSigSigner`. */ - multiSigSignersByMultiSigProposalVoteCreatedBlockIdAndSignerId: BlockMultiSigSignersByMultiSigProposalVoteCreatedBlockIdAndSignerIdManyToManyConnection; - /** Reads and enables pagination through a set of `MultiSigSigner`. */ - multiSigSignersByMultiSigProposalVoteUpdatedBlockIdAndSignerId: BlockMultiSigSignersByMultiSigProposalVoteUpdatedBlockIdAndSignerIdManyToManyConnection; - /** Reads and enables pagination through a set of `MultiSigSigner`. */ - multiSigSignersByUpdatedBlockId: MultiSigSignersConnection; - /** Reads and enables pagination through a set of `MultiSig`. */ - multiSigsByCreatedBlockId: MultiSigsConnection; - /** Reads and enables pagination through a set of `MultiSig`. */ - multiSigsByMultiSigProposalCreatedBlockIdAndMultisigId: BlockMultiSigsByMultiSigProposalCreatedBlockIdAndMultisigIdManyToManyConnection; - /** Reads and enables pagination through a set of `MultiSig`. */ - multiSigsByMultiSigProposalUpdatedBlockIdAndMultisigId: BlockMultiSigsByMultiSigProposalUpdatedBlockIdAndMultisigIdManyToManyConnection; - /** Reads and enables pagination through a set of `MultiSig`. */ - multiSigsByMultiSigSignerCreatedBlockIdAndMultisigId: BlockMultiSigsByMultiSigSignerCreatedBlockIdAndMultisigIdManyToManyConnection; - /** Reads and enables pagination through a set of `MultiSig`. */ - multiSigsByMultiSigSignerUpdatedBlockIdAndMultisigId: BlockMultiSigsByMultiSigSignerUpdatedBlockIdAndMultisigIdManyToManyConnection; - /** Reads and enables pagination through a set of `MultiSig`. */ - multiSigsByUpdatedBlockId: MultiSigsConnection; - /** Reads and enables pagination through a set of `NftHolder`. */ - nftHoldersByCreatedBlockId: NftHoldersConnection; - /** Reads and enables pagination through a set of `NftHolder`. */ - nftHoldersByUpdatedBlockId: NftHoldersConnection; - /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ - nodeId: Scalars['ID']['output']; - parentHash: Scalars['String']['output']; - parentId: Scalars['Int']['output']; - /** Reads and enables pagination through a set of `Permission`. */ - permissionsByAccountCreatedBlockIdAndPermissionsId: BlockPermissionsByAccountCreatedBlockIdAndPermissionsIdManyToManyConnection; - /** Reads and enables pagination through a set of `Permission`. */ - permissionsByAccountUpdatedBlockIdAndPermissionsId: BlockPermissionsByAccountUpdatedBlockIdAndPermissionsIdManyToManyConnection; - /** Reads and enables pagination through a set of `Permission`. */ - permissionsByCreatedBlockId: PermissionsConnection; - /** Reads and enables pagination through a set of `Permission`. */ - permissionsByUpdatedBlockId: PermissionsConnection; - /** Reads and enables pagination through a set of `PolyxTransaction`. */ - polyxTransactionsByCreatedBlockId: PolyxTransactionsConnection; - /** Reads and enables pagination through a set of `PolyxTransaction`. */ - polyxTransactionsByUpdatedBlockId: PolyxTransactionsConnection; - /** Reads and enables pagination through a set of `PortfolioMovement`. */ - portfolioMovementsByCreatedBlockId: PortfolioMovementsConnection; - /** Reads and enables pagination through a set of `PortfolioMovement`. */ - portfolioMovementsByUpdatedBlockId: PortfolioMovementsConnection; - /** Reads and enables pagination through a set of `Portfolio`. */ - portfoliosByAssetTransactionCreatedBlockIdAndFromPortfolioId: BlockPortfoliosByAssetTransactionCreatedBlockIdAndFromPortfolioIdManyToManyConnection; - /** Reads and enables pagination through a set of `Portfolio`. */ - portfoliosByAssetTransactionCreatedBlockIdAndToPortfolioId: BlockPortfoliosByAssetTransactionCreatedBlockIdAndToPortfolioIdManyToManyConnection; - /** Reads and enables pagination through a set of `Portfolio`. */ - portfoliosByAssetTransactionUpdatedBlockIdAndFromPortfolioId: BlockPortfoliosByAssetTransactionUpdatedBlockIdAndFromPortfolioIdManyToManyConnection; - /** Reads and enables pagination through a set of `Portfolio`. */ - portfoliosByAssetTransactionUpdatedBlockIdAndToPortfolioId: BlockPortfoliosByAssetTransactionUpdatedBlockIdAndToPortfolioIdManyToManyConnection; - /** Reads and enables pagination through a set of `Portfolio`. */ - portfoliosByCreatedBlockId: PortfoliosConnection; - /** Reads and enables pagination through a set of `Portfolio`. */ - portfoliosByDistributionCreatedBlockIdAndPortfolioId: BlockPortfoliosByDistributionCreatedBlockIdAndPortfolioIdManyToManyConnection; - /** Reads and enables pagination through a set of `Portfolio`. */ - portfoliosByDistributionUpdatedBlockIdAndPortfolioId: BlockPortfoliosByDistributionUpdatedBlockIdAndPortfolioIdManyToManyConnection; - /** Reads and enables pagination through a set of `Portfolio`. */ - portfoliosByLegCreatedBlockIdAndFromId: BlockPortfoliosByLegCreatedBlockIdAndFromIdManyToManyConnection; - /** Reads and enables pagination through a set of `Portfolio`. */ - portfoliosByLegCreatedBlockIdAndToId: BlockPortfoliosByLegCreatedBlockIdAndToIdManyToManyConnection; - /** Reads and enables pagination through a set of `Portfolio`. */ - portfoliosByLegUpdatedBlockIdAndFromId: BlockPortfoliosByLegUpdatedBlockIdAndFromIdManyToManyConnection; - /** Reads and enables pagination through a set of `Portfolio`. */ - portfoliosByLegUpdatedBlockIdAndToId: BlockPortfoliosByLegUpdatedBlockIdAndToIdManyToManyConnection; - /** Reads and enables pagination through a set of `Portfolio`. */ - portfoliosByPortfolioMovementCreatedBlockIdAndFromId: BlockPortfoliosByPortfolioMovementCreatedBlockIdAndFromIdManyToManyConnection; - /** Reads and enables pagination through a set of `Portfolio`. */ - portfoliosByPortfolioMovementCreatedBlockIdAndToId: BlockPortfoliosByPortfolioMovementCreatedBlockIdAndToIdManyToManyConnection; - /** Reads and enables pagination through a set of `Portfolio`. */ - portfoliosByPortfolioMovementUpdatedBlockIdAndFromId: BlockPortfoliosByPortfolioMovementUpdatedBlockIdAndFromIdManyToManyConnection; - /** Reads and enables pagination through a set of `Portfolio`. */ - portfoliosByPortfolioMovementUpdatedBlockIdAndToId: BlockPortfoliosByPortfolioMovementUpdatedBlockIdAndToIdManyToManyConnection; - /** Reads and enables pagination through a set of `Portfolio`. */ - portfoliosByStoCreatedBlockIdAndOfferingPortfolioId: BlockPortfoliosByStoCreatedBlockIdAndOfferingPortfolioIdManyToManyConnection; - /** Reads and enables pagination through a set of `Portfolio`. */ - portfoliosByStoCreatedBlockIdAndRaisingPortfolioId: BlockPortfoliosByStoCreatedBlockIdAndRaisingPortfolioIdManyToManyConnection; - /** Reads and enables pagination through a set of `Portfolio`. */ - portfoliosByStoUpdatedBlockIdAndOfferingPortfolioId: BlockPortfoliosByStoUpdatedBlockIdAndOfferingPortfolioIdManyToManyConnection; - /** Reads and enables pagination through a set of `Portfolio`. */ - portfoliosByStoUpdatedBlockIdAndRaisingPortfolioId: BlockPortfoliosByStoUpdatedBlockIdAndRaisingPortfolioIdManyToManyConnection; - /** Reads and enables pagination through a set of `Portfolio`. */ - portfoliosByUpdatedBlockId: PortfoliosConnection; - /** Reads and enables pagination through a set of `ProposalVote`. */ - proposalVotesByCreatedBlockId: ProposalVotesConnection; - /** Reads and enables pagination through a set of `ProposalVote`. */ - proposalVotesByUpdatedBlockId: ProposalVotesConnection; - /** Reads and enables pagination through a set of `Proposal`. */ - proposalsByCreatedBlockId: ProposalsConnection; - /** Reads and enables pagination through a set of `Proposal`. */ - proposalsByProposalVoteCreatedBlockIdAndProposalId: BlockProposalsByProposalVoteCreatedBlockIdAndProposalIdManyToManyConnection; - /** Reads and enables pagination through a set of `Proposal`. */ - proposalsByProposalVoteUpdatedBlockIdAndProposalId: BlockProposalsByProposalVoteUpdatedBlockIdAndProposalIdManyToManyConnection; - /** Reads and enables pagination through a set of `Proposal`. */ - proposalsByUpdatedBlockId: ProposalsConnection; - /** Reads and enables pagination through a set of `Settlement`. */ - settlementsByCreatedBlockId: SettlementsConnection; - /** Reads and enables pagination through a set of `Settlement`. */ - settlementsByLegCreatedBlockIdAndSettlementId: BlockSettlementsByLegCreatedBlockIdAndSettlementIdManyToManyConnection; - /** Reads and enables pagination through a set of `Settlement`. */ - settlementsByLegUpdatedBlockIdAndSettlementId: BlockSettlementsByLegUpdatedBlockIdAndSettlementIdManyToManyConnection; - /** Reads and enables pagination through a set of `Settlement`. */ - settlementsByUpdatedBlockId: SettlementsConnection; - specVersionId: Scalars['Int']['output']; - /** Reads and enables pagination through a set of `StakingEvent`. */ - stakingEventsByCreatedBlockId: StakingEventsConnection; - /** Reads and enables pagination through a set of `StakingEvent`. */ - stakingEventsByUpdatedBlockId: StakingEventsConnection; - /** Reads and enables pagination through a set of `StatType`. */ - statTypesByCreatedBlockId: StatTypesConnection; - /** Reads and enables pagination through a set of `StatType`. */ - statTypesByTransferComplianceCreatedBlockIdAndStatTypeId: BlockStatTypesByTransferComplianceCreatedBlockIdAndStatTypeIdManyToManyConnection; - /** Reads and enables pagination through a set of `StatType`. */ - statTypesByTransferComplianceUpdatedBlockIdAndStatTypeId: BlockStatTypesByTransferComplianceUpdatedBlockIdAndStatTypeIdManyToManyConnection; - /** Reads and enables pagination through a set of `StatType`. */ - statTypesByUpdatedBlockId: StatTypesConnection; - stateRoot: Scalars['String']['output']; - /** Reads and enables pagination through a set of `Sto`. */ - stosByCreatedBlockId: StosConnection; - /** Reads and enables pagination through a set of `Sto`. */ - stosByUpdatedBlockId: StosConnection; - /** Reads and enables pagination through a set of `TickerExternalAgentAction`. */ - tickerExternalAgentActionsByCreatedBlockId: TickerExternalAgentActionsConnection; - /** Reads and enables pagination through a set of `TickerExternalAgentAction`. */ - tickerExternalAgentActionsByUpdatedBlockId: TickerExternalAgentActionsConnection; - /** Reads and enables pagination through a set of `TickerExternalAgentHistory`. */ - tickerExternalAgentHistoriesByCreatedBlockId: TickerExternalAgentHistoriesConnection; - /** Reads and enables pagination through a set of `TickerExternalAgentHistory`. */ - tickerExternalAgentHistoriesByUpdatedBlockId: TickerExternalAgentHistoriesConnection; - /** Reads and enables pagination through a set of `TickerExternalAgent`. */ - tickerExternalAgentsByCreatedBlockId: TickerExternalAgentsConnection; - /** Reads and enables pagination through a set of `TickerExternalAgent`. */ - tickerExternalAgentsByUpdatedBlockId: TickerExternalAgentsConnection; - /** Reads and enables pagination through a set of `TransferComplianceExemption`. */ - transferComplianceExemptionsByCreatedBlockId: TransferComplianceExemptionsConnection; - /** Reads and enables pagination through a set of `TransferComplianceExemption`. */ - transferComplianceExemptionsByUpdatedBlockId: TransferComplianceExemptionsConnection; - /** Reads and enables pagination through a set of `TransferCompliance`. */ - transferCompliancesByCreatedBlockId: TransferCompliancesConnection; - /** Reads and enables pagination through a set of `TransferCompliance`. */ - transferCompliancesByUpdatedBlockId: TransferCompliancesConnection; - /** Reads and enables pagination through a set of `TransferManager`. */ - transferManagersByCreatedBlockId: TransferManagersConnection; - /** Reads and enables pagination through a set of `TransferManager`. */ - transferManagersByUpdatedBlockId: TransferManagersConnection; - /** Reads and enables pagination through a set of `TrustedClaimIssuer`. */ - trustedClaimIssuersByCreatedBlockId: TrustedClaimIssuersConnection; - /** Reads and enables pagination through a set of `TrustedClaimIssuer`. */ - trustedClaimIssuersByUpdatedBlockId: TrustedClaimIssuersConnection; - updatedAt: Scalars['Datetime']['output']; - /** Reads and enables pagination through a set of `Venue`. */ - venuesByCreatedBlockId: VenuesConnection; - /** Reads and enables pagination through a set of `Venue`. */ - venuesByInstructionCreatedBlockIdAndVenueId: BlockVenuesByInstructionCreatedBlockIdAndVenueIdManyToManyConnection; - /** Reads and enables pagination through a set of `Venue`. */ - venuesByInstructionUpdatedBlockIdAndVenueId: BlockVenuesByInstructionUpdatedBlockIdAndVenueIdManyToManyConnection; - /** Reads and enables pagination through a set of `Venue`. */ - venuesByStoCreatedBlockIdAndVenueId: BlockVenuesByStoCreatedBlockIdAndVenueIdManyToManyConnection; - /** Reads and enables pagination through a set of `Venue`. */ - venuesByStoUpdatedBlockIdAndVenueId: BlockVenuesByStoUpdatedBlockIdAndVenueIdManyToManyConnection; - /** Reads and enables pagination through a set of `Venue`. */ - venuesByUpdatedBlockId: VenuesConnection; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockAccountHistoriesByCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockAccountHistoriesByUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockAccountsByCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockAccountsByMultiSigCreatedBlockIdAndCreatorAccountIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockAccountsByMultiSigUpdatedBlockIdAndCreatorAccountIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockAccountsByUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockAgentGroupMembershipsByCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockAgentGroupMembershipsByUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockAgentGroupsByAgentGroupMembershipCreatedBlockIdAndGroupIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockAgentGroupsByAgentGroupMembershipUpdatedBlockIdAndGroupIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockAgentGroupsByCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockAgentGroupsByUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockAssetDocumentsByCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockAssetDocumentsByUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockAssetHoldersByCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockAssetHoldersByUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockAssetPendingOwnershipTransfersByCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockAssetPendingOwnershipTransfersByUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockAssetTransactionsByCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockAssetTransactionsByUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockAssetsByAssetDocumentCreatedBlockIdAndAssetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockAssetsByAssetDocumentUpdatedBlockIdAndAssetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockAssetsByAssetHolderCreatedBlockIdAndAssetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockAssetsByAssetHolderUpdatedBlockIdAndAssetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockAssetsByAssetTransactionCreatedBlockIdAndAssetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockAssetsByAssetTransactionUpdatedBlockIdAndAssetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockAssetsByComplianceCreatedBlockIdAndAssetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockAssetsByComplianceUpdatedBlockIdAndAssetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockAssetsByCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockAssetsByDistributionCreatedBlockIdAndAssetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockAssetsByDistributionUpdatedBlockIdAndAssetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockAssetsByFundingCreatedBlockIdAndAssetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockAssetsByFundingUpdatedBlockIdAndAssetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockAssetsByNftHolderCreatedBlockIdAndAssetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockAssetsByNftHolderUpdatedBlockIdAndAssetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockAssetsByPortfolioMovementCreatedBlockIdAndAssetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockAssetsByPortfolioMovementUpdatedBlockIdAndAssetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockAssetsByStatTypeCreatedBlockIdAndAssetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockAssetsByStatTypeUpdatedBlockIdAndAssetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockAssetsByStoCreatedBlockIdAndOfferingAssetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockAssetsByStoUpdatedBlockIdAndOfferingAssetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockAssetsByTickerExternalAgentActionCreatedBlockIdAndAssetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockAssetsByTickerExternalAgentActionUpdatedBlockIdAndAssetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockAssetsByTickerExternalAgentCreatedBlockIdAndAssetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockAssetsByTickerExternalAgentHistoryCreatedBlockIdAndAssetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockAssetsByTickerExternalAgentHistoryUpdatedBlockIdAndAssetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockAssetsByTickerExternalAgentUpdatedBlockIdAndAssetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockAssetsByTransferComplianceCreatedBlockIdAndAssetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockAssetsByTransferComplianceExemptionCreatedBlockIdAndAssetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockAssetsByTransferComplianceExemptionUpdatedBlockIdAndAssetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockAssetsByTransferComplianceUpdatedBlockIdAndAssetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockAssetsByTransferManagerCreatedBlockIdAndAssetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockAssetsByTransferManagerUpdatedBlockIdAndAssetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockAssetsByTrustedClaimIssuerCreatedBlockIdAndAssetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockAssetsByTrustedClaimIssuerUpdatedBlockIdAndAssetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockAssetsByUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockAuthorizationsByCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockAuthorizationsByUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByAccountCreatedBlockIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByAccountHistoryCreatedBlockIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByAccountHistoryUpdatedBlockIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByAccountUpdatedBlockIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByAgentGroupCreatedBlockIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByAgentGroupMembershipCreatedBlockIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByAgentGroupMembershipUpdatedBlockIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByAgentGroupUpdatedBlockIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByAssetCreatedBlockIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByAssetDocumentCreatedBlockIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByAssetDocumentUpdatedBlockIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByAssetHolderCreatedBlockIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByAssetHolderUpdatedBlockIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByAssetPendingOwnershipTransferCreatedBlockIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByAssetPendingOwnershipTransferUpdatedBlockIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByAssetTransactionCreatedBlockIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByAssetTransactionUpdatedBlockIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByAssetUpdatedBlockIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByAuthorizationCreatedBlockIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByAuthorizationUpdatedBlockIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByBridgeEventCreatedBlockIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByBridgeEventUpdatedBlockIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByChildIdentityCreatedBlockIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByChildIdentityUpdatedBlockIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByClaimCreatedBlockIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByClaimScopeCreatedBlockIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByClaimScopeUpdatedBlockIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByClaimUpdatedBlockIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByComplianceCreatedBlockIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByComplianceUpdatedBlockIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByConfidentialAccountCreatedBlockIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByConfidentialAccountUpdatedBlockIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByConfidentialAssetCreatedBlockIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByConfidentialAssetHistoryCreatedBlockIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByConfidentialAssetHistoryUpdatedBlockIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByConfidentialAssetHolderCreatedBlockIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByConfidentialAssetHolderUpdatedBlockIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByConfidentialAssetUpdatedBlockIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByConfidentialLegCreatedBlockIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByConfidentialLegUpdatedBlockIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByConfidentialTransactionAffirmationCreatedBlockIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByConfidentialTransactionAffirmationUpdatedBlockIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByConfidentialTransactionCreatedBlockIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByConfidentialTransactionUpdatedBlockIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByConfidentialVenueCreatedBlockIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByConfidentialVenueUpdatedBlockIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByCustomClaimTypeCreatedBlockIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByCustomClaimTypeUpdatedBlockIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByDistributionCreatedBlockIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByDistributionPaymentCreatedBlockIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByDistributionPaymentUpdatedBlockIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByDistributionUpdatedBlockIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByFundingCreatedBlockIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByFundingUpdatedBlockIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByIdentityCreatedBlockIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByIdentityUpdatedBlockIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByInstructionCreatedBlockIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByInstructionUpdatedBlockIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByInvestmentCreatedBlockIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByInvestmentUpdatedBlockIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByLegCreatedBlockIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByLegUpdatedBlockIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByMultiSigCreatedBlockIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByMultiSigProposalCreatedBlockIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByMultiSigProposalUpdatedBlockIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByMultiSigProposalVoteCreatedBlockIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByMultiSigProposalVoteUpdatedBlockIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByMultiSigSignerCreatedBlockIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByMultiSigSignerUpdatedBlockIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByMultiSigUpdatedBlockIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByNftHolderCreatedBlockIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByNftHolderUpdatedBlockIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByPermissionCreatedBlockIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByPermissionUpdatedBlockIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByPolyxTransactionCreatedBlockIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByPolyxTransactionUpdatedBlockIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByPortfolioCreatedBlockIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByPortfolioMovementCreatedBlockIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByPortfolioMovementUpdatedBlockIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByPortfolioUpdatedBlockIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByProposalCreatedBlockIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByProposalUpdatedBlockIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByProposalVoteCreatedBlockIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByProposalVoteUpdatedBlockIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksBySettlementCreatedBlockIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksBySettlementUpdatedBlockIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByStakingEventCreatedBlockIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByStakingEventUpdatedBlockIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByStatTypeCreatedBlockIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByStatTypeUpdatedBlockIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByStoCreatedBlockIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByStoUpdatedBlockIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByTickerExternalAgentActionCreatedBlockIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByTickerExternalAgentActionUpdatedBlockIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByTickerExternalAgentCreatedBlockIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByTickerExternalAgentHistoryCreatedBlockIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByTickerExternalAgentHistoryUpdatedBlockIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByTickerExternalAgentUpdatedBlockIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByTransferComplianceCreatedBlockIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByTransferComplianceExemptionCreatedBlockIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByTransferComplianceExemptionUpdatedBlockIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByTransferComplianceUpdatedBlockIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByTransferManagerCreatedBlockIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByTransferManagerUpdatedBlockIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByTrustedClaimIssuerCreatedBlockIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByTrustedClaimIssuerUpdatedBlockIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByVenueCreatedBlockIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBlocksByVenueUpdatedBlockIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBridgeEventsByCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockBridgeEventsByUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockChildIdentitiesByCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockChildIdentitiesByUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockClaimScopesByCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockClaimScopesByUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockClaimsByCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockClaimsByUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockCompliancesByCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockCompliancesByUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockConfidentialAccountsByConfidentialAssetHistoryCreatedBlockIdAndFromIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockConfidentialAccountsByConfidentialAssetHistoryCreatedBlockIdAndToIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockConfidentialAccountsByConfidentialAssetHistoryUpdatedBlockIdAndFromIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockConfidentialAccountsByConfidentialAssetHistoryUpdatedBlockIdAndToIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockConfidentialAccountsByConfidentialAssetHolderCreatedBlockIdAndAccountIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockConfidentialAccountsByConfidentialAssetHolderUpdatedBlockIdAndAccountIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockConfidentialAccountsByConfidentialLegCreatedBlockIdAndReceiverIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockConfidentialAccountsByConfidentialLegCreatedBlockIdAndSenderIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockConfidentialAccountsByConfidentialLegUpdatedBlockIdAndReceiverIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockConfidentialAccountsByConfidentialLegUpdatedBlockIdAndSenderIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockConfidentialAccountsByConfidentialTransactionAffirmationCreatedBlockIdAndAccountIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockConfidentialAccountsByConfidentialTransactionAffirmationUpdatedBlockIdAndAccountIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockConfidentialAccountsByCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockConfidentialAccountsByUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockConfidentialAssetHistoriesByCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockConfidentialAssetHistoriesByUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockConfidentialAssetHoldersByCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockConfidentialAssetHoldersByUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockConfidentialAssetsByConfidentialAssetHistoryCreatedBlockIdAndAssetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockConfidentialAssetsByConfidentialAssetHistoryUpdatedBlockIdAndAssetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockConfidentialAssetsByConfidentialAssetHolderCreatedBlockIdAndAssetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockConfidentialAssetsByConfidentialAssetHolderUpdatedBlockIdAndAssetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockConfidentialAssetsByCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockConfidentialAssetsByUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockConfidentialLegsByCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockConfidentialLegsByUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockConfidentialTransactionAffirmationsByCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockConfidentialTransactionAffirmationsByUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockConfidentialTransactionsByConfidentialAssetHistoryCreatedBlockIdAndTransactionIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockConfidentialTransactionsByConfidentialAssetHistoryUpdatedBlockIdAndTransactionIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockConfidentialTransactionsByConfidentialLegCreatedBlockIdAndTransactionIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockConfidentialTransactionsByConfidentialLegUpdatedBlockIdAndTransactionIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockConfidentialTransactionsByConfidentialTransactionAffirmationCreatedBlockIdAndTransactionIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockConfidentialTransactionsByConfidentialTransactionAffirmationUpdatedBlockIdAndTransactionIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockConfidentialTransactionsByCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockConfidentialTransactionsByUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockConfidentialVenuesByConfidentialTransactionCreatedBlockIdAndVenueIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockConfidentialVenuesByConfidentialTransactionUpdatedBlockIdAndVenueIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockConfidentialVenuesByCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockConfidentialVenuesByUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockCustomClaimTypesByClaimCreatedBlockIdAndCustomClaimTypeIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockCustomClaimTypesByClaimUpdatedBlockIdAndCustomClaimTypeIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockCustomClaimTypesByCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockCustomClaimTypesByUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockDistributionPaymentsByCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockDistributionPaymentsByUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockDistributionsByCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockDistributionsByDistributionPaymentCreatedBlockIdAndDistributionIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockDistributionsByDistributionPaymentUpdatedBlockIdAndDistributionIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockDistributionsByUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockEventsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockExtrinsicsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockExtrinsicsByEventBlockIdAndExtrinsicIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockExtrinsicsByPolyxTransactionCreatedBlockIdAndExtrinsicIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockExtrinsicsByPolyxTransactionUpdatedBlockIdAndExtrinsicIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockFundingsByCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockFundingsByUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByAccountCreatedBlockIdAndIdentityIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByAccountUpdatedBlockIdAndIdentityIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByAssetCreatedBlockIdAndOwnerIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByAssetHolderCreatedBlockIdAndIdentityIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByAssetHolderUpdatedBlockIdAndIdentityIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByAssetUpdatedBlockIdAndOwnerIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByAuthorizationCreatedBlockIdAndFromIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByAuthorizationUpdatedBlockIdAndFromIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByBridgeEventCreatedBlockIdAndIdentityIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByBridgeEventUpdatedBlockIdAndIdentityIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByChildIdentityCreatedBlockIdAndChildIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByChildIdentityCreatedBlockIdAndParentIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByChildIdentityUpdatedBlockIdAndChildIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByChildIdentityUpdatedBlockIdAndParentIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByClaimCreatedBlockIdAndIssuerIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByClaimCreatedBlockIdAndTargetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByClaimUpdatedBlockIdAndIssuerIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByClaimUpdatedBlockIdAndTargetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByConfidentialAccountCreatedBlockIdAndCreatorIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByConfidentialAccountUpdatedBlockIdAndCreatorIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByConfidentialAssetCreatedBlockIdAndCreatorIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByConfidentialAssetUpdatedBlockIdAndCreatorIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByConfidentialTransactionAffirmationCreatedBlockIdAndIdentityIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByConfidentialTransactionAffirmationUpdatedBlockIdAndIdentityIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByConfidentialVenueCreatedBlockIdAndCreatorIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByConfidentialVenueUpdatedBlockIdAndCreatorIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByCustomClaimTypeCreatedBlockIdAndIdentityIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByCustomClaimTypeUpdatedBlockIdAndIdentityIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByDistributionCreatedBlockIdAndIdentityIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByDistributionPaymentCreatedBlockIdAndTargetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByDistributionPaymentUpdatedBlockIdAndTargetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByDistributionUpdatedBlockIdAndIdentityIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByInvestmentCreatedBlockIdAndInvestorIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByInvestmentUpdatedBlockIdAndInvestorIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByMultiSigCreatedBlockIdAndCreatorIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByMultiSigProposalCreatedBlockIdAndCreatorIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByMultiSigProposalUpdatedBlockIdAndCreatorIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByMultiSigUpdatedBlockIdAndCreatorIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByNftHolderCreatedBlockIdAndIdentityIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByNftHolderUpdatedBlockIdAndIdentityIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByPortfolioCreatedBlockIdAndCustodianIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByPortfolioCreatedBlockIdAndIdentityIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByPortfolioUpdatedBlockIdAndCustodianIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByPortfolioUpdatedBlockIdAndIdentityIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByProposalCreatedBlockIdAndOwnerIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByProposalUpdatedBlockIdAndOwnerIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByStakingEventCreatedBlockIdAndIdentityIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByStakingEventUpdatedBlockIdAndIdentityIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByStatTypeCreatedBlockIdAndClaimIssuerIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByStatTypeUpdatedBlockIdAndClaimIssuerIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByStoCreatedBlockIdAndCreatorIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByStoUpdatedBlockIdAndCreatorIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByTickerExternalAgentActionCreatedBlockIdAndCallerIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByTickerExternalAgentActionUpdatedBlockIdAndCallerIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByTickerExternalAgentCreatedBlockIdAndCallerIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByTickerExternalAgentHistoryCreatedBlockIdAndIdentityIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByTickerExternalAgentHistoryUpdatedBlockIdAndIdentityIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByTickerExternalAgentUpdatedBlockIdAndCallerIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByTransferComplianceCreatedBlockIdAndClaimIssuerIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByTransferComplianceUpdatedBlockIdAndClaimIssuerIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByVenueCreatedBlockIdAndOwnerIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockIdentitiesByVenueUpdatedBlockIdAndOwnerIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockInstructionsByAssetTransactionCreatedBlockIdAndInstructionIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockInstructionsByAssetTransactionUpdatedBlockIdAndInstructionIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockInstructionsByCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockInstructionsByLegCreatedBlockIdAndInstructionIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockInstructionsByLegUpdatedBlockIdAndInstructionIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockInstructionsByUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockInvestmentsByCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockInvestmentsByUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockLegsByCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockLegsByUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockMultiSigProposalVotesByCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockMultiSigProposalVotesByUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockMultiSigProposalsByCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockMultiSigProposalsByMultiSigProposalVoteCreatedBlockIdAndProposalIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockMultiSigProposalsByMultiSigProposalVoteUpdatedBlockIdAndProposalIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockMultiSigProposalsByUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockMultiSigSignersByCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockMultiSigSignersByMultiSigProposalVoteCreatedBlockIdAndSignerIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockMultiSigSignersByMultiSigProposalVoteUpdatedBlockIdAndSignerIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockMultiSigSignersByUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockMultiSigsByCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockMultiSigsByMultiSigProposalCreatedBlockIdAndMultisigIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockMultiSigsByMultiSigProposalUpdatedBlockIdAndMultisigIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockMultiSigsByMultiSigSignerCreatedBlockIdAndMultisigIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockMultiSigsByMultiSigSignerUpdatedBlockIdAndMultisigIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockMultiSigsByUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockNftHoldersByCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockNftHoldersByUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockPermissionsByAccountCreatedBlockIdAndPermissionsIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockPermissionsByAccountUpdatedBlockIdAndPermissionsIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockPermissionsByCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockPermissionsByUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockPolyxTransactionsByCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockPolyxTransactionsByUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockPortfolioMovementsByCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockPortfolioMovementsByUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockPortfoliosByAssetTransactionCreatedBlockIdAndFromPortfolioIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockPortfoliosByAssetTransactionCreatedBlockIdAndToPortfolioIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockPortfoliosByAssetTransactionUpdatedBlockIdAndFromPortfolioIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockPortfoliosByAssetTransactionUpdatedBlockIdAndToPortfolioIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockPortfoliosByCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockPortfoliosByDistributionCreatedBlockIdAndPortfolioIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockPortfoliosByDistributionUpdatedBlockIdAndPortfolioIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockPortfoliosByLegCreatedBlockIdAndFromIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockPortfoliosByLegCreatedBlockIdAndToIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockPortfoliosByLegUpdatedBlockIdAndFromIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockPortfoliosByLegUpdatedBlockIdAndToIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockPortfoliosByPortfolioMovementCreatedBlockIdAndFromIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockPortfoliosByPortfolioMovementCreatedBlockIdAndToIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockPortfoliosByPortfolioMovementUpdatedBlockIdAndFromIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockPortfoliosByPortfolioMovementUpdatedBlockIdAndToIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockPortfoliosByStoCreatedBlockIdAndOfferingPortfolioIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockPortfoliosByStoCreatedBlockIdAndRaisingPortfolioIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockPortfoliosByStoUpdatedBlockIdAndOfferingPortfolioIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockPortfoliosByStoUpdatedBlockIdAndRaisingPortfolioIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockPortfoliosByUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockProposalVotesByCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockProposalVotesByUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockProposalsByCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockProposalsByProposalVoteCreatedBlockIdAndProposalIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockProposalsByProposalVoteUpdatedBlockIdAndProposalIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockProposalsByUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockSettlementsByCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockSettlementsByLegCreatedBlockIdAndSettlementIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockSettlementsByLegUpdatedBlockIdAndSettlementIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockSettlementsByUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockStakingEventsByCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockStakingEventsByUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockStatTypesByCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockStatTypesByTransferComplianceCreatedBlockIdAndStatTypeIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockStatTypesByTransferComplianceUpdatedBlockIdAndStatTypeIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockStatTypesByUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockStosByCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockStosByUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockTickerExternalAgentActionsByCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockTickerExternalAgentActionsByUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockTickerExternalAgentHistoriesByCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockTickerExternalAgentHistoriesByUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockTickerExternalAgentsByCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockTickerExternalAgentsByUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockTransferComplianceExemptionsByCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockTransferComplianceExemptionsByUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockTransferCompliancesByCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockTransferCompliancesByUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockTransferManagersByCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockTransferManagersByUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockTrustedClaimIssuersByCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockTrustedClaimIssuersByUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockVenuesByCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockVenuesByInstructionCreatedBlockIdAndVenueIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockVenuesByInstructionUpdatedBlockIdAndVenueIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockVenuesByStoCreatedBlockIdAndVenueIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockVenuesByStoUpdatedBlockIdAndVenueIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A set of transactions that were executed together. Includes a reference to its parent, which reference its parent, this forms a chain to the genesis block */ -export type BlockVenuesByUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Account` values, with data from `MultiSig`. */ -export type BlockAccountsByMultiSigCreatedBlockIdAndCreatorAccountIdManyToManyConnection = { - __typename?: 'BlockAccountsByMultiSigCreatedBlockIdAndCreatorAccountIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Account`, info from the `MultiSig`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Account` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Account` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Account` values, with data from `MultiSig`. */ -export type BlockAccountsByMultiSigCreatedBlockIdAndCreatorAccountIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Account` edge in the connection, with data from `MultiSig`. */ -export type BlockAccountsByMultiSigCreatedBlockIdAndCreatorAccountIdManyToManyEdge = { - __typename?: 'BlockAccountsByMultiSigCreatedBlockIdAndCreatorAccountIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `MultiSig`. */ - multiSigsByCreatorAccountId: MultiSigsConnection; - /** The `Account` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Account` edge in the connection, with data from `MultiSig`. */ -export type BlockAccountsByMultiSigCreatedBlockIdAndCreatorAccountIdManyToManyEdgeMultiSigsByCreatorAccountIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Account` values, with data from `MultiSig`. */ -export type BlockAccountsByMultiSigUpdatedBlockIdAndCreatorAccountIdManyToManyConnection = { - __typename?: 'BlockAccountsByMultiSigUpdatedBlockIdAndCreatorAccountIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Account`, info from the `MultiSig`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Account` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Account` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Account` values, with data from `MultiSig`. */ -export type BlockAccountsByMultiSigUpdatedBlockIdAndCreatorAccountIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Account` edge in the connection, with data from `MultiSig`. */ -export type BlockAccountsByMultiSigUpdatedBlockIdAndCreatorAccountIdManyToManyEdge = { - __typename?: 'BlockAccountsByMultiSigUpdatedBlockIdAndCreatorAccountIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `MultiSig`. */ - multiSigsByCreatorAccountId: MultiSigsConnection; - /** The `Account` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Account` edge in the connection, with data from `MultiSig`. */ -export type BlockAccountsByMultiSigUpdatedBlockIdAndCreatorAccountIdManyToManyEdgeMultiSigsByCreatorAccountIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `AgentGroup` values, with data from `AgentGroupMembership`. */ -export type BlockAgentGroupsByAgentGroupMembershipCreatedBlockIdAndGroupIdManyToManyConnection = { - __typename?: 'BlockAgentGroupsByAgentGroupMembershipCreatedBlockIdAndGroupIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `AgentGroup`, info from the `AgentGroupMembership`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `AgentGroup` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `AgentGroup` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `AgentGroup` values, with data from `AgentGroupMembership`. */ -export type BlockAgentGroupsByAgentGroupMembershipCreatedBlockIdAndGroupIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `AgentGroup` edge in the connection, with data from `AgentGroupMembership`. */ -export type BlockAgentGroupsByAgentGroupMembershipCreatedBlockIdAndGroupIdManyToManyEdge = { - __typename?: 'BlockAgentGroupsByAgentGroupMembershipCreatedBlockIdAndGroupIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `AgentGroupMembership`. */ - members: AgentGroupMembershipsConnection; - /** The `AgentGroup` at the end of the edge. */ - node?: Maybe; -}; - -/** A `AgentGroup` edge in the connection, with data from `AgentGroupMembership`. */ -export type BlockAgentGroupsByAgentGroupMembershipCreatedBlockIdAndGroupIdManyToManyEdgeMembersArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `AgentGroup` values, with data from `AgentGroupMembership`. */ -export type BlockAgentGroupsByAgentGroupMembershipUpdatedBlockIdAndGroupIdManyToManyConnection = { - __typename?: 'BlockAgentGroupsByAgentGroupMembershipUpdatedBlockIdAndGroupIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `AgentGroup`, info from the `AgentGroupMembership`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `AgentGroup` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `AgentGroup` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `AgentGroup` values, with data from `AgentGroupMembership`. */ -export type BlockAgentGroupsByAgentGroupMembershipUpdatedBlockIdAndGroupIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `AgentGroup` edge in the connection, with data from `AgentGroupMembership`. */ -export type BlockAgentGroupsByAgentGroupMembershipUpdatedBlockIdAndGroupIdManyToManyEdge = { - __typename?: 'BlockAgentGroupsByAgentGroupMembershipUpdatedBlockIdAndGroupIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `AgentGroupMembership`. */ - members: AgentGroupMembershipsConnection; - /** The `AgentGroup` at the end of the edge. */ - node?: Maybe; -}; - -/** A `AgentGroup` edge in the connection, with data from `AgentGroupMembership`. */ -export type BlockAgentGroupsByAgentGroupMembershipUpdatedBlockIdAndGroupIdManyToManyEdgeMembersArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -export type BlockAggregates = { - __typename?: 'BlockAggregates'; - /** Mean average aggregates across the matching connection (ignoring before/after/first/last/offset) */ - average?: Maybe; - /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ - distinctCount?: Maybe; - keys?: Maybe>; - /** Maximum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - max?: Maybe; - /** Minimum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - min?: Maybe; - /** Population standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevPopulation?: Maybe; - /** Sample standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevSample?: Maybe; - /** Sum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - sum?: Maybe; - /** Population variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - variancePopulation?: Maybe; - /** Sample variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - varianceSample?: Maybe; -}; - -/** A connection to a list of `Asset` values, with data from `AssetDocument`. */ -export type BlockAssetsByAssetDocumentCreatedBlockIdAndAssetIdManyToManyConnection = { - __typename?: 'BlockAssetsByAssetDocumentCreatedBlockIdAndAssetIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Asset`, info from the `AssetDocument`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Asset` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Asset` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Asset` values, with data from `AssetDocument`. */ -export type BlockAssetsByAssetDocumentCreatedBlockIdAndAssetIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Asset` edge in the connection, with data from `AssetDocument`. */ -export type BlockAssetsByAssetDocumentCreatedBlockIdAndAssetIdManyToManyEdge = { - __typename?: 'BlockAssetsByAssetDocumentCreatedBlockIdAndAssetIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `AssetDocument`. */ - documents: AssetDocumentsConnection; - /** The `Asset` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Asset` edge in the connection, with data from `AssetDocument`. */ -export type BlockAssetsByAssetDocumentCreatedBlockIdAndAssetIdManyToManyEdgeDocumentsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Asset` values, with data from `AssetDocument`. */ -export type BlockAssetsByAssetDocumentUpdatedBlockIdAndAssetIdManyToManyConnection = { - __typename?: 'BlockAssetsByAssetDocumentUpdatedBlockIdAndAssetIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Asset`, info from the `AssetDocument`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Asset` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Asset` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Asset` values, with data from `AssetDocument`. */ -export type BlockAssetsByAssetDocumentUpdatedBlockIdAndAssetIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Asset` edge in the connection, with data from `AssetDocument`. */ -export type BlockAssetsByAssetDocumentUpdatedBlockIdAndAssetIdManyToManyEdge = { - __typename?: 'BlockAssetsByAssetDocumentUpdatedBlockIdAndAssetIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `AssetDocument`. */ - documents: AssetDocumentsConnection; - /** The `Asset` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Asset` edge in the connection, with data from `AssetDocument`. */ -export type BlockAssetsByAssetDocumentUpdatedBlockIdAndAssetIdManyToManyEdgeDocumentsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Asset` values, with data from `AssetHolder`. */ -export type BlockAssetsByAssetHolderCreatedBlockIdAndAssetIdManyToManyConnection = { - __typename?: 'BlockAssetsByAssetHolderCreatedBlockIdAndAssetIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Asset`, info from the `AssetHolder`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Asset` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Asset` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Asset` values, with data from `AssetHolder`. */ -export type BlockAssetsByAssetHolderCreatedBlockIdAndAssetIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Asset` edge in the connection, with data from `AssetHolder`. */ -export type BlockAssetsByAssetHolderCreatedBlockIdAndAssetIdManyToManyEdge = { - __typename?: 'BlockAssetsByAssetHolderCreatedBlockIdAndAssetIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `AssetHolder`. */ - holders: AssetHoldersConnection; - /** The `Asset` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Asset` edge in the connection, with data from `AssetHolder`. */ -export type BlockAssetsByAssetHolderCreatedBlockIdAndAssetIdManyToManyEdgeHoldersArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Asset` values, with data from `AssetHolder`. */ -export type BlockAssetsByAssetHolderUpdatedBlockIdAndAssetIdManyToManyConnection = { - __typename?: 'BlockAssetsByAssetHolderUpdatedBlockIdAndAssetIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Asset`, info from the `AssetHolder`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Asset` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Asset` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Asset` values, with data from `AssetHolder`. */ -export type BlockAssetsByAssetHolderUpdatedBlockIdAndAssetIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Asset` edge in the connection, with data from `AssetHolder`. */ -export type BlockAssetsByAssetHolderUpdatedBlockIdAndAssetIdManyToManyEdge = { - __typename?: 'BlockAssetsByAssetHolderUpdatedBlockIdAndAssetIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `AssetHolder`. */ - holders: AssetHoldersConnection; - /** The `Asset` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Asset` edge in the connection, with data from `AssetHolder`. */ -export type BlockAssetsByAssetHolderUpdatedBlockIdAndAssetIdManyToManyEdgeHoldersArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Asset` values, with data from `AssetTransaction`. */ -export type BlockAssetsByAssetTransactionCreatedBlockIdAndAssetIdManyToManyConnection = { - __typename?: 'BlockAssetsByAssetTransactionCreatedBlockIdAndAssetIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Asset`, info from the `AssetTransaction`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Asset` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Asset` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Asset` values, with data from `AssetTransaction`. */ -export type BlockAssetsByAssetTransactionCreatedBlockIdAndAssetIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Asset` edge in the connection, with data from `AssetTransaction`. */ -export type BlockAssetsByAssetTransactionCreatedBlockIdAndAssetIdManyToManyEdge = { - __typename?: 'BlockAssetsByAssetTransactionCreatedBlockIdAndAssetIdManyToManyEdge'; - /** Reads and enables pagination through a set of `AssetTransaction`. */ - assetTransactions: AssetTransactionsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Asset` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Asset` edge in the connection, with data from `AssetTransaction`. */ -export type BlockAssetsByAssetTransactionCreatedBlockIdAndAssetIdManyToManyEdgeAssetTransactionsArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Asset` values, with data from `AssetTransaction`. */ -export type BlockAssetsByAssetTransactionUpdatedBlockIdAndAssetIdManyToManyConnection = { - __typename?: 'BlockAssetsByAssetTransactionUpdatedBlockIdAndAssetIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Asset`, info from the `AssetTransaction`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Asset` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Asset` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Asset` values, with data from `AssetTransaction`. */ -export type BlockAssetsByAssetTransactionUpdatedBlockIdAndAssetIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Asset` edge in the connection, with data from `AssetTransaction`. */ -export type BlockAssetsByAssetTransactionUpdatedBlockIdAndAssetIdManyToManyEdge = { - __typename?: 'BlockAssetsByAssetTransactionUpdatedBlockIdAndAssetIdManyToManyEdge'; - /** Reads and enables pagination through a set of `AssetTransaction`. */ - assetTransactions: AssetTransactionsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Asset` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Asset` edge in the connection, with data from `AssetTransaction`. */ -export type BlockAssetsByAssetTransactionUpdatedBlockIdAndAssetIdManyToManyEdgeAssetTransactionsArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Asset` values, with data from `Compliance`. */ -export type BlockAssetsByComplianceCreatedBlockIdAndAssetIdManyToManyConnection = { - __typename?: 'BlockAssetsByComplianceCreatedBlockIdAndAssetIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Asset`, info from the `Compliance`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Asset` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Asset` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Asset` values, with data from `Compliance`. */ -export type BlockAssetsByComplianceCreatedBlockIdAndAssetIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Asset` edge in the connection, with data from `Compliance`. */ -export type BlockAssetsByComplianceCreatedBlockIdAndAssetIdManyToManyEdge = { - __typename?: 'BlockAssetsByComplianceCreatedBlockIdAndAssetIdManyToManyEdge'; - /** Reads and enables pagination through a set of `Compliance`. */ - compliance: CompliancesConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Asset` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Asset` edge in the connection, with data from `Compliance`. */ -export type BlockAssetsByComplianceCreatedBlockIdAndAssetIdManyToManyEdgeComplianceArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Asset` values, with data from `Compliance`. */ -export type BlockAssetsByComplianceUpdatedBlockIdAndAssetIdManyToManyConnection = { - __typename?: 'BlockAssetsByComplianceUpdatedBlockIdAndAssetIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Asset`, info from the `Compliance`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Asset` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Asset` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Asset` values, with data from `Compliance`. */ -export type BlockAssetsByComplianceUpdatedBlockIdAndAssetIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Asset` edge in the connection, with data from `Compliance`. */ -export type BlockAssetsByComplianceUpdatedBlockIdAndAssetIdManyToManyEdge = { - __typename?: 'BlockAssetsByComplianceUpdatedBlockIdAndAssetIdManyToManyEdge'; - /** Reads and enables pagination through a set of `Compliance`. */ - compliance: CompliancesConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Asset` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Asset` edge in the connection, with data from `Compliance`. */ -export type BlockAssetsByComplianceUpdatedBlockIdAndAssetIdManyToManyEdgeComplianceArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Asset` values, with data from `Distribution`. */ -export type BlockAssetsByDistributionCreatedBlockIdAndAssetIdManyToManyConnection = { - __typename?: 'BlockAssetsByDistributionCreatedBlockIdAndAssetIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Asset`, info from the `Distribution`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Asset` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Asset` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Asset` values, with data from `Distribution`. */ -export type BlockAssetsByDistributionCreatedBlockIdAndAssetIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Asset` edge in the connection, with data from `Distribution`. */ -export type BlockAssetsByDistributionCreatedBlockIdAndAssetIdManyToManyEdge = { - __typename?: 'BlockAssetsByDistributionCreatedBlockIdAndAssetIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `Distribution`. */ - distributions: DistributionsConnection; - /** The `Asset` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Asset` edge in the connection, with data from `Distribution`. */ -export type BlockAssetsByDistributionCreatedBlockIdAndAssetIdManyToManyEdgeDistributionsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Asset` values, with data from `Distribution`. */ -export type BlockAssetsByDistributionUpdatedBlockIdAndAssetIdManyToManyConnection = { - __typename?: 'BlockAssetsByDistributionUpdatedBlockIdAndAssetIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Asset`, info from the `Distribution`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Asset` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Asset` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Asset` values, with data from `Distribution`. */ -export type BlockAssetsByDistributionUpdatedBlockIdAndAssetIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Asset` edge in the connection, with data from `Distribution`. */ -export type BlockAssetsByDistributionUpdatedBlockIdAndAssetIdManyToManyEdge = { - __typename?: 'BlockAssetsByDistributionUpdatedBlockIdAndAssetIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `Distribution`. */ - distributions: DistributionsConnection; - /** The `Asset` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Asset` edge in the connection, with data from `Distribution`. */ -export type BlockAssetsByDistributionUpdatedBlockIdAndAssetIdManyToManyEdgeDistributionsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Asset` values, with data from `Funding`. */ -export type BlockAssetsByFundingCreatedBlockIdAndAssetIdManyToManyConnection = { - __typename?: 'BlockAssetsByFundingCreatedBlockIdAndAssetIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Asset`, info from the `Funding`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Asset` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Asset` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Asset` values, with data from `Funding`. */ -export type BlockAssetsByFundingCreatedBlockIdAndAssetIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Asset` edge in the connection, with data from `Funding`. */ -export type BlockAssetsByFundingCreatedBlockIdAndAssetIdManyToManyEdge = { - __typename?: 'BlockAssetsByFundingCreatedBlockIdAndAssetIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `Funding`. */ - fundings: FundingsConnection; - /** The `Asset` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Asset` edge in the connection, with data from `Funding`. */ -export type BlockAssetsByFundingCreatedBlockIdAndAssetIdManyToManyEdgeFundingsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Asset` values, with data from `Funding`. */ -export type BlockAssetsByFundingUpdatedBlockIdAndAssetIdManyToManyConnection = { - __typename?: 'BlockAssetsByFundingUpdatedBlockIdAndAssetIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Asset`, info from the `Funding`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Asset` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Asset` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Asset` values, with data from `Funding`. */ -export type BlockAssetsByFundingUpdatedBlockIdAndAssetIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Asset` edge in the connection, with data from `Funding`. */ -export type BlockAssetsByFundingUpdatedBlockIdAndAssetIdManyToManyEdge = { - __typename?: 'BlockAssetsByFundingUpdatedBlockIdAndAssetIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `Funding`. */ - fundings: FundingsConnection; - /** The `Asset` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Asset` edge in the connection, with data from `Funding`. */ -export type BlockAssetsByFundingUpdatedBlockIdAndAssetIdManyToManyEdgeFundingsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Asset` values, with data from `NftHolder`. */ -export type BlockAssetsByNftHolderCreatedBlockIdAndAssetIdManyToManyConnection = { - __typename?: 'BlockAssetsByNftHolderCreatedBlockIdAndAssetIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Asset`, info from the `NftHolder`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Asset` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Asset` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Asset` values, with data from `NftHolder`. */ -export type BlockAssetsByNftHolderCreatedBlockIdAndAssetIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Asset` edge in the connection, with data from `NftHolder`. */ -export type BlockAssetsByNftHolderCreatedBlockIdAndAssetIdManyToManyEdge = { - __typename?: 'BlockAssetsByNftHolderCreatedBlockIdAndAssetIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `NftHolder`. */ - nftHolders: NftHoldersConnection; - /** The `Asset` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Asset` edge in the connection, with data from `NftHolder`. */ -export type BlockAssetsByNftHolderCreatedBlockIdAndAssetIdManyToManyEdgeNftHoldersArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Asset` values, with data from `NftHolder`. */ -export type BlockAssetsByNftHolderUpdatedBlockIdAndAssetIdManyToManyConnection = { - __typename?: 'BlockAssetsByNftHolderUpdatedBlockIdAndAssetIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Asset`, info from the `NftHolder`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Asset` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Asset` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Asset` values, with data from `NftHolder`. */ -export type BlockAssetsByNftHolderUpdatedBlockIdAndAssetIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Asset` edge in the connection, with data from `NftHolder`. */ -export type BlockAssetsByNftHolderUpdatedBlockIdAndAssetIdManyToManyEdge = { - __typename?: 'BlockAssetsByNftHolderUpdatedBlockIdAndAssetIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `NftHolder`. */ - nftHolders: NftHoldersConnection; - /** The `Asset` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Asset` edge in the connection, with data from `NftHolder`. */ -export type BlockAssetsByNftHolderUpdatedBlockIdAndAssetIdManyToManyEdgeNftHoldersArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Asset` values, with data from `PortfolioMovement`. */ -export type BlockAssetsByPortfolioMovementCreatedBlockIdAndAssetIdManyToManyConnection = { - __typename?: 'BlockAssetsByPortfolioMovementCreatedBlockIdAndAssetIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Asset`, info from the `PortfolioMovement`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Asset` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Asset` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Asset` values, with data from `PortfolioMovement`. */ -export type BlockAssetsByPortfolioMovementCreatedBlockIdAndAssetIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Asset` edge in the connection, with data from `PortfolioMovement`. */ -export type BlockAssetsByPortfolioMovementCreatedBlockIdAndAssetIdManyToManyEdge = { - __typename?: 'BlockAssetsByPortfolioMovementCreatedBlockIdAndAssetIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Asset` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `PortfolioMovement`. */ - portfolioMovements: PortfolioMovementsConnection; -}; - -/** A `Asset` edge in the connection, with data from `PortfolioMovement`. */ -export type BlockAssetsByPortfolioMovementCreatedBlockIdAndAssetIdManyToManyEdgePortfolioMovementsArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Asset` values, with data from `PortfolioMovement`. */ -export type BlockAssetsByPortfolioMovementUpdatedBlockIdAndAssetIdManyToManyConnection = { - __typename?: 'BlockAssetsByPortfolioMovementUpdatedBlockIdAndAssetIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Asset`, info from the `PortfolioMovement`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Asset` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Asset` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Asset` values, with data from `PortfolioMovement`. */ -export type BlockAssetsByPortfolioMovementUpdatedBlockIdAndAssetIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Asset` edge in the connection, with data from `PortfolioMovement`. */ -export type BlockAssetsByPortfolioMovementUpdatedBlockIdAndAssetIdManyToManyEdge = { - __typename?: 'BlockAssetsByPortfolioMovementUpdatedBlockIdAndAssetIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Asset` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `PortfolioMovement`. */ - portfolioMovements: PortfolioMovementsConnection; -}; - -/** A `Asset` edge in the connection, with data from `PortfolioMovement`. */ -export type BlockAssetsByPortfolioMovementUpdatedBlockIdAndAssetIdManyToManyEdgePortfolioMovementsArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Asset` values, with data from `StatType`. */ -export type BlockAssetsByStatTypeCreatedBlockIdAndAssetIdManyToManyConnection = { - __typename?: 'BlockAssetsByStatTypeCreatedBlockIdAndAssetIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Asset`, info from the `StatType`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Asset` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Asset` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Asset` values, with data from `StatType`. */ -export type BlockAssetsByStatTypeCreatedBlockIdAndAssetIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Asset` edge in the connection, with data from `StatType`. */ -export type BlockAssetsByStatTypeCreatedBlockIdAndAssetIdManyToManyEdge = { - __typename?: 'BlockAssetsByStatTypeCreatedBlockIdAndAssetIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Asset` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `StatType`. */ - statTypes: StatTypesConnection; -}; - -/** A `Asset` edge in the connection, with data from `StatType`. */ -export type BlockAssetsByStatTypeCreatedBlockIdAndAssetIdManyToManyEdgeStatTypesArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Asset` values, with data from `StatType`. */ -export type BlockAssetsByStatTypeUpdatedBlockIdAndAssetIdManyToManyConnection = { - __typename?: 'BlockAssetsByStatTypeUpdatedBlockIdAndAssetIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Asset`, info from the `StatType`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Asset` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Asset` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Asset` values, with data from `StatType`. */ -export type BlockAssetsByStatTypeUpdatedBlockIdAndAssetIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Asset` edge in the connection, with data from `StatType`. */ -export type BlockAssetsByStatTypeUpdatedBlockIdAndAssetIdManyToManyEdge = { - __typename?: 'BlockAssetsByStatTypeUpdatedBlockIdAndAssetIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Asset` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `StatType`. */ - statTypes: StatTypesConnection; -}; - -/** A `Asset` edge in the connection, with data from `StatType`. */ -export type BlockAssetsByStatTypeUpdatedBlockIdAndAssetIdManyToManyEdgeStatTypesArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Asset` values, with data from `Sto`. */ -export type BlockAssetsByStoCreatedBlockIdAndOfferingAssetIdManyToManyConnection = { - __typename?: 'BlockAssetsByStoCreatedBlockIdAndOfferingAssetIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Asset`, info from the `Sto`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Asset` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Asset` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Asset` values, with data from `Sto`. */ -export type BlockAssetsByStoCreatedBlockIdAndOfferingAssetIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Asset` edge in the connection, with data from `Sto`. */ -export type BlockAssetsByStoCreatedBlockIdAndOfferingAssetIdManyToManyEdge = { - __typename?: 'BlockAssetsByStoCreatedBlockIdAndOfferingAssetIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Asset` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Sto`. */ - stosByOfferingAssetId: StosConnection; -}; - -/** A `Asset` edge in the connection, with data from `Sto`. */ -export type BlockAssetsByStoCreatedBlockIdAndOfferingAssetIdManyToManyEdgeStosByOfferingAssetIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Asset` values, with data from `Sto`. */ -export type BlockAssetsByStoUpdatedBlockIdAndOfferingAssetIdManyToManyConnection = { - __typename?: 'BlockAssetsByStoUpdatedBlockIdAndOfferingAssetIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Asset`, info from the `Sto`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Asset` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Asset` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Asset` values, with data from `Sto`. */ -export type BlockAssetsByStoUpdatedBlockIdAndOfferingAssetIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Asset` edge in the connection, with data from `Sto`. */ -export type BlockAssetsByStoUpdatedBlockIdAndOfferingAssetIdManyToManyEdge = { - __typename?: 'BlockAssetsByStoUpdatedBlockIdAndOfferingAssetIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Asset` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Sto`. */ - stosByOfferingAssetId: StosConnection; -}; - -/** A `Asset` edge in the connection, with data from `Sto`. */ -export type BlockAssetsByStoUpdatedBlockIdAndOfferingAssetIdManyToManyEdgeStosByOfferingAssetIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Asset` values, with data from `TickerExternalAgentAction`. */ -export type BlockAssetsByTickerExternalAgentActionCreatedBlockIdAndAssetIdManyToManyConnection = { - __typename?: 'BlockAssetsByTickerExternalAgentActionCreatedBlockIdAndAssetIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Asset`, info from the `TickerExternalAgentAction`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Asset` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Asset` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Asset` values, with data from `TickerExternalAgentAction`. */ -export type BlockAssetsByTickerExternalAgentActionCreatedBlockIdAndAssetIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Asset` edge in the connection, with data from `TickerExternalAgentAction`. */ -export type BlockAssetsByTickerExternalAgentActionCreatedBlockIdAndAssetIdManyToManyEdge = { - __typename?: 'BlockAssetsByTickerExternalAgentActionCreatedBlockIdAndAssetIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Asset` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TickerExternalAgentAction`. */ - tickerExternalAgentActions: TickerExternalAgentActionsConnection; -}; - -/** A `Asset` edge in the connection, with data from `TickerExternalAgentAction`. */ -export type BlockAssetsByTickerExternalAgentActionCreatedBlockIdAndAssetIdManyToManyEdgeTickerExternalAgentActionsArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Asset` values, with data from `TickerExternalAgentAction`. */ -export type BlockAssetsByTickerExternalAgentActionUpdatedBlockIdAndAssetIdManyToManyConnection = { - __typename?: 'BlockAssetsByTickerExternalAgentActionUpdatedBlockIdAndAssetIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Asset`, info from the `TickerExternalAgentAction`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Asset` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Asset` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Asset` values, with data from `TickerExternalAgentAction`. */ -export type BlockAssetsByTickerExternalAgentActionUpdatedBlockIdAndAssetIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Asset` edge in the connection, with data from `TickerExternalAgentAction`. */ -export type BlockAssetsByTickerExternalAgentActionUpdatedBlockIdAndAssetIdManyToManyEdge = { - __typename?: 'BlockAssetsByTickerExternalAgentActionUpdatedBlockIdAndAssetIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Asset` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TickerExternalAgentAction`. */ - tickerExternalAgentActions: TickerExternalAgentActionsConnection; -}; - -/** A `Asset` edge in the connection, with data from `TickerExternalAgentAction`. */ -export type BlockAssetsByTickerExternalAgentActionUpdatedBlockIdAndAssetIdManyToManyEdgeTickerExternalAgentActionsArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Asset` values, with data from `TickerExternalAgent`. */ -export type BlockAssetsByTickerExternalAgentCreatedBlockIdAndAssetIdManyToManyConnection = { - __typename?: 'BlockAssetsByTickerExternalAgentCreatedBlockIdAndAssetIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Asset`, info from the `TickerExternalAgent`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Asset` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Asset` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Asset` values, with data from `TickerExternalAgent`. */ -export type BlockAssetsByTickerExternalAgentCreatedBlockIdAndAssetIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Asset` edge in the connection, with data from `TickerExternalAgent`. */ -export type BlockAssetsByTickerExternalAgentCreatedBlockIdAndAssetIdManyToManyEdge = { - __typename?: 'BlockAssetsByTickerExternalAgentCreatedBlockIdAndAssetIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Asset` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TickerExternalAgent`. */ - tickerExternalAgents: TickerExternalAgentsConnection; -}; - -/** A `Asset` edge in the connection, with data from `TickerExternalAgent`. */ -export type BlockAssetsByTickerExternalAgentCreatedBlockIdAndAssetIdManyToManyEdgeTickerExternalAgentsArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Asset` values, with data from `TickerExternalAgentHistory`. */ -export type BlockAssetsByTickerExternalAgentHistoryCreatedBlockIdAndAssetIdManyToManyConnection = { - __typename?: 'BlockAssetsByTickerExternalAgentHistoryCreatedBlockIdAndAssetIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Asset`, info from the `TickerExternalAgentHistory`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Asset` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Asset` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Asset` values, with data from `TickerExternalAgentHistory`. */ -export type BlockAssetsByTickerExternalAgentHistoryCreatedBlockIdAndAssetIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Asset` edge in the connection, with data from `TickerExternalAgentHistory`. */ -export type BlockAssetsByTickerExternalAgentHistoryCreatedBlockIdAndAssetIdManyToManyEdge = { - __typename?: 'BlockAssetsByTickerExternalAgentHistoryCreatedBlockIdAndAssetIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Asset` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TickerExternalAgentHistory`. */ - tickerExternalAgentHistories: TickerExternalAgentHistoriesConnection; -}; - -/** A `Asset` edge in the connection, with data from `TickerExternalAgentHistory`. */ -export type BlockAssetsByTickerExternalAgentHistoryCreatedBlockIdAndAssetIdManyToManyEdgeTickerExternalAgentHistoriesArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Asset` values, with data from `TickerExternalAgentHistory`. */ -export type BlockAssetsByTickerExternalAgentHistoryUpdatedBlockIdAndAssetIdManyToManyConnection = { - __typename?: 'BlockAssetsByTickerExternalAgentHistoryUpdatedBlockIdAndAssetIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Asset`, info from the `TickerExternalAgentHistory`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Asset` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Asset` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Asset` values, with data from `TickerExternalAgentHistory`. */ -export type BlockAssetsByTickerExternalAgentHistoryUpdatedBlockIdAndAssetIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Asset` edge in the connection, with data from `TickerExternalAgentHistory`. */ -export type BlockAssetsByTickerExternalAgentHistoryUpdatedBlockIdAndAssetIdManyToManyEdge = { - __typename?: 'BlockAssetsByTickerExternalAgentHistoryUpdatedBlockIdAndAssetIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Asset` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TickerExternalAgentHistory`. */ - tickerExternalAgentHistories: TickerExternalAgentHistoriesConnection; -}; - -/** A `Asset` edge in the connection, with data from `TickerExternalAgentHistory`. */ -export type BlockAssetsByTickerExternalAgentHistoryUpdatedBlockIdAndAssetIdManyToManyEdgeTickerExternalAgentHistoriesArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Asset` values, with data from `TickerExternalAgent`. */ -export type BlockAssetsByTickerExternalAgentUpdatedBlockIdAndAssetIdManyToManyConnection = { - __typename?: 'BlockAssetsByTickerExternalAgentUpdatedBlockIdAndAssetIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Asset`, info from the `TickerExternalAgent`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Asset` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Asset` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Asset` values, with data from `TickerExternalAgent`. */ -export type BlockAssetsByTickerExternalAgentUpdatedBlockIdAndAssetIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Asset` edge in the connection, with data from `TickerExternalAgent`. */ -export type BlockAssetsByTickerExternalAgentUpdatedBlockIdAndAssetIdManyToManyEdge = { - __typename?: 'BlockAssetsByTickerExternalAgentUpdatedBlockIdAndAssetIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Asset` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TickerExternalAgent`. */ - tickerExternalAgents: TickerExternalAgentsConnection; -}; - -/** A `Asset` edge in the connection, with data from `TickerExternalAgent`. */ -export type BlockAssetsByTickerExternalAgentUpdatedBlockIdAndAssetIdManyToManyEdgeTickerExternalAgentsArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Asset` values, with data from `TransferCompliance`. */ -export type BlockAssetsByTransferComplianceCreatedBlockIdAndAssetIdManyToManyConnection = { - __typename?: 'BlockAssetsByTransferComplianceCreatedBlockIdAndAssetIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Asset`, info from the `TransferCompliance`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Asset` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Asset` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Asset` values, with data from `TransferCompliance`. */ -export type BlockAssetsByTransferComplianceCreatedBlockIdAndAssetIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Asset` edge in the connection, with data from `TransferCompliance`. */ -export type BlockAssetsByTransferComplianceCreatedBlockIdAndAssetIdManyToManyEdge = { - __typename?: 'BlockAssetsByTransferComplianceCreatedBlockIdAndAssetIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Asset` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TransferCompliance`. */ - transferCompliances: TransferCompliancesConnection; -}; - -/** A `Asset` edge in the connection, with data from `TransferCompliance`. */ -export type BlockAssetsByTransferComplianceCreatedBlockIdAndAssetIdManyToManyEdgeTransferCompliancesArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Asset` values, with data from `TransferComplianceExemption`. */ -export type BlockAssetsByTransferComplianceExemptionCreatedBlockIdAndAssetIdManyToManyConnection = { - __typename?: 'BlockAssetsByTransferComplianceExemptionCreatedBlockIdAndAssetIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Asset`, info from the `TransferComplianceExemption`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Asset` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Asset` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Asset` values, with data from `TransferComplianceExemption`. */ -export type BlockAssetsByTransferComplianceExemptionCreatedBlockIdAndAssetIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Asset` edge in the connection, with data from `TransferComplianceExemption`. */ -export type BlockAssetsByTransferComplianceExemptionCreatedBlockIdAndAssetIdManyToManyEdge = { - __typename?: 'BlockAssetsByTransferComplianceExemptionCreatedBlockIdAndAssetIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Asset` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TransferComplianceExemption`. */ - transferComplianceExemptions: TransferComplianceExemptionsConnection; -}; - -/** A `Asset` edge in the connection, with data from `TransferComplianceExemption`. */ -export type BlockAssetsByTransferComplianceExemptionCreatedBlockIdAndAssetIdManyToManyEdgeTransferComplianceExemptionsArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Asset` values, with data from `TransferComplianceExemption`. */ -export type BlockAssetsByTransferComplianceExemptionUpdatedBlockIdAndAssetIdManyToManyConnection = { - __typename?: 'BlockAssetsByTransferComplianceExemptionUpdatedBlockIdAndAssetIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Asset`, info from the `TransferComplianceExemption`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Asset` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Asset` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Asset` values, with data from `TransferComplianceExemption`. */ -export type BlockAssetsByTransferComplianceExemptionUpdatedBlockIdAndAssetIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Asset` edge in the connection, with data from `TransferComplianceExemption`. */ -export type BlockAssetsByTransferComplianceExemptionUpdatedBlockIdAndAssetIdManyToManyEdge = { - __typename?: 'BlockAssetsByTransferComplianceExemptionUpdatedBlockIdAndAssetIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Asset` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TransferComplianceExemption`. */ - transferComplianceExemptions: TransferComplianceExemptionsConnection; -}; - -/** A `Asset` edge in the connection, with data from `TransferComplianceExemption`. */ -export type BlockAssetsByTransferComplianceExemptionUpdatedBlockIdAndAssetIdManyToManyEdgeTransferComplianceExemptionsArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Asset` values, with data from `TransferCompliance`. */ -export type BlockAssetsByTransferComplianceUpdatedBlockIdAndAssetIdManyToManyConnection = { - __typename?: 'BlockAssetsByTransferComplianceUpdatedBlockIdAndAssetIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Asset`, info from the `TransferCompliance`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Asset` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Asset` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Asset` values, with data from `TransferCompliance`. */ -export type BlockAssetsByTransferComplianceUpdatedBlockIdAndAssetIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Asset` edge in the connection, with data from `TransferCompliance`. */ -export type BlockAssetsByTransferComplianceUpdatedBlockIdAndAssetIdManyToManyEdge = { - __typename?: 'BlockAssetsByTransferComplianceUpdatedBlockIdAndAssetIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Asset` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TransferCompliance`. */ - transferCompliances: TransferCompliancesConnection; -}; - -/** A `Asset` edge in the connection, with data from `TransferCompliance`. */ -export type BlockAssetsByTransferComplianceUpdatedBlockIdAndAssetIdManyToManyEdgeTransferCompliancesArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Asset` values, with data from `TransferManager`. */ -export type BlockAssetsByTransferManagerCreatedBlockIdAndAssetIdManyToManyConnection = { - __typename?: 'BlockAssetsByTransferManagerCreatedBlockIdAndAssetIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Asset`, info from the `TransferManager`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Asset` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Asset` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Asset` values, with data from `TransferManager`. */ -export type BlockAssetsByTransferManagerCreatedBlockIdAndAssetIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Asset` edge in the connection, with data from `TransferManager`. */ -export type BlockAssetsByTransferManagerCreatedBlockIdAndAssetIdManyToManyEdge = { - __typename?: 'BlockAssetsByTransferManagerCreatedBlockIdAndAssetIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Asset` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TransferManager`. */ - transferManagers: TransferManagersConnection; -}; - -/** A `Asset` edge in the connection, with data from `TransferManager`. */ -export type BlockAssetsByTransferManagerCreatedBlockIdAndAssetIdManyToManyEdgeTransferManagersArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Asset` values, with data from `TransferManager`. */ -export type BlockAssetsByTransferManagerUpdatedBlockIdAndAssetIdManyToManyConnection = { - __typename?: 'BlockAssetsByTransferManagerUpdatedBlockIdAndAssetIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Asset`, info from the `TransferManager`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Asset` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Asset` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Asset` values, with data from `TransferManager`. */ -export type BlockAssetsByTransferManagerUpdatedBlockIdAndAssetIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Asset` edge in the connection, with data from `TransferManager`. */ -export type BlockAssetsByTransferManagerUpdatedBlockIdAndAssetIdManyToManyEdge = { - __typename?: 'BlockAssetsByTransferManagerUpdatedBlockIdAndAssetIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Asset` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TransferManager`. */ - transferManagers: TransferManagersConnection; -}; - -/** A `Asset` edge in the connection, with data from `TransferManager`. */ -export type BlockAssetsByTransferManagerUpdatedBlockIdAndAssetIdManyToManyEdgeTransferManagersArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Asset` values, with data from `TrustedClaimIssuer`. */ -export type BlockAssetsByTrustedClaimIssuerCreatedBlockIdAndAssetIdManyToManyConnection = { - __typename?: 'BlockAssetsByTrustedClaimIssuerCreatedBlockIdAndAssetIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Asset`, info from the `TrustedClaimIssuer`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Asset` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Asset` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Asset` values, with data from `TrustedClaimIssuer`. */ -export type BlockAssetsByTrustedClaimIssuerCreatedBlockIdAndAssetIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Asset` edge in the connection, with data from `TrustedClaimIssuer`. */ -export type BlockAssetsByTrustedClaimIssuerCreatedBlockIdAndAssetIdManyToManyEdge = { - __typename?: 'BlockAssetsByTrustedClaimIssuerCreatedBlockIdAndAssetIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Asset` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TrustedClaimIssuer`. */ - trustedClaimIssuers: TrustedClaimIssuersConnection; -}; - -/** A `Asset` edge in the connection, with data from `TrustedClaimIssuer`. */ -export type BlockAssetsByTrustedClaimIssuerCreatedBlockIdAndAssetIdManyToManyEdgeTrustedClaimIssuersArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Asset` values, with data from `TrustedClaimIssuer`. */ -export type BlockAssetsByTrustedClaimIssuerUpdatedBlockIdAndAssetIdManyToManyConnection = { - __typename?: 'BlockAssetsByTrustedClaimIssuerUpdatedBlockIdAndAssetIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Asset`, info from the `TrustedClaimIssuer`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Asset` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Asset` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Asset` values, with data from `TrustedClaimIssuer`. */ -export type BlockAssetsByTrustedClaimIssuerUpdatedBlockIdAndAssetIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Asset` edge in the connection, with data from `TrustedClaimIssuer`. */ -export type BlockAssetsByTrustedClaimIssuerUpdatedBlockIdAndAssetIdManyToManyEdge = { - __typename?: 'BlockAssetsByTrustedClaimIssuerUpdatedBlockIdAndAssetIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Asset` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TrustedClaimIssuer`. */ - trustedClaimIssuers: TrustedClaimIssuersConnection; -}; - -/** A `Asset` edge in the connection, with data from `TrustedClaimIssuer`. */ -export type BlockAssetsByTrustedClaimIssuerUpdatedBlockIdAndAssetIdManyToManyEdgeTrustedClaimIssuersArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -export type BlockAverageAggregates = { - __typename?: 'BlockAverageAggregates'; - /** Mean average of blockId across the matching connection */ - blockId?: Maybe; - /** Mean average of countEvents across the matching connection */ - countEvents?: Maybe; - /** Mean average of countExtrinsics across the matching connection */ - countExtrinsics?: Maybe; - /** Mean average of countExtrinsicsError across the matching connection */ - countExtrinsicsError?: Maybe; - /** Mean average of countExtrinsicsSigned across the matching connection */ - countExtrinsicsSigned?: Maybe; - /** Mean average of countExtrinsicsSuccess across the matching connection */ - countExtrinsicsSuccess?: Maybe; - /** Mean average of countExtrinsicsUnsigned across the matching connection */ - countExtrinsicsUnsigned?: Maybe; - /** Mean average of parentId across the matching connection */ - parentId?: Maybe; - /** Mean average of specVersionId across the matching connection */ - specVersionId?: Maybe; -}; - -/** A connection to a list of `Block` values, with data from `Account`. */ -export type BlockBlocksByAccountCreatedBlockIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByAccountCreatedBlockIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Account`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Account`. */ -export type BlockBlocksByAccountCreatedBlockIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Account`. */ -export type BlockBlocksByAccountCreatedBlockIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByAccountCreatedBlockIdAndUpdatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `Account`. */ - accountsByUpdatedBlockId: AccountsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `Account`. */ -export type BlockBlocksByAccountCreatedBlockIdAndUpdatedBlockIdManyToManyEdgeAccountsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `AccountHistory`. */ -export type BlockBlocksByAccountHistoryCreatedBlockIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByAccountHistoryCreatedBlockIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `AccountHistory`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `AccountHistory`. */ -export type BlockBlocksByAccountHistoryCreatedBlockIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `AccountHistory`. */ -export type BlockBlocksByAccountHistoryCreatedBlockIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByAccountHistoryCreatedBlockIdAndUpdatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `AccountHistory`. */ - accountHistoriesByUpdatedBlockId: AccountHistoriesConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `AccountHistory`. */ -export type BlockBlocksByAccountHistoryCreatedBlockIdAndUpdatedBlockIdManyToManyEdgeAccountHistoriesByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `AccountHistory`. */ -export type BlockBlocksByAccountHistoryUpdatedBlockIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByAccountHistoryUpdatedBlockIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `AccountHistory`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `AccountHistory`. */ -export type BlockBlocksByAccountHistoryUpdatedBlockIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `AccountHistory`. */ -export type BlockBlocksByAccountHistoryUpdatedBlockIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByAccountHistoryUpdatedBlockIdAndCreatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `AccountHistory`. */ - accountHistoriesByCreatedBlockId: AccountHistoriesConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `AccountHistory`. */ -export type BlockBlocksByAccountHistoryUpdatedBlockIdAndCreatedBlockIdManyToManyEdgeAccountHistoriesByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Account`. */ -export type BlockBlocksByAccountUpdatedBlockIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByAccountUpdatedBlockIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Account`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Account`. */ -export type BlockBlocksByAccountUpdatedBlockIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Account`. */ -export type BlockBlocksByAccountUpdatedBlockIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByAccountUpdatedBlockIdAndCreatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `Account`. */ - accountsByCreatedBlockId: AccountsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `Account`. */ -export type BlockBlocksByAccountUpdatedBlockIdAndCreatedBlockIdManyToManyEdgeAccountsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `AgentGroup`. */ -export type BlockBlocksByAgentGroupCreatedBlockIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByAgentGroupCreatedBlockIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `AgentGroup`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `AgentGroup`. */ -export type BlockBlocksByAgentGroupCreatedBlockIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `AgentGroup`. */ -export type BlockBlocksByAgentGroupCreatedBlockIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByAgentGroupCreatedBlockIdAndUpdatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `AgentGroup`. */ - agentGroupsByUpdatedBlockId: AgentGroupsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `AgentGroup`. */ -export type BlockBlocksByAgentGroupCreatedBlockIdAndUpdatedBlockIdManyToManyEdgeAgentGroupsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `AgentGroupMembership`. */ -export type BlockBlocksByAgentGroupMembershipCreatedBlockIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByAgentGroupMembershipCreatedBlockIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `AgentGroupMembership`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `AgentGroupMembership`. */ -export type BlockBlocksByAgentGroupMembershipCreatedBlockIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `AgentGroupMembership`. */ -export type BlockBlocksByAgentGroupMembershipCreatedBlockIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByAgentGroupMembershipCreatedBlockIdAndUpdatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `AgentGroupMembership`. */ - agentGroupMembershipsByUpdatedBlockId: AgentGroupMembershipsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `AgentGroupMembership`. */ -export type BlockBlocksByAgentGroupMembershipCreatedBlockIdAndUpdatedBlockIdManyToManyEdgeAgentGroupMembershipsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `AgentGroupMembership`. */ -export type BlockBlocksByAgentGroupMembershipUpdatedBlockIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByAgentGroupMembershipUpdatedBlockIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `AgentGroupMembership`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `AgentGroupMembership`. */ -export type BlockBlocksByAgentGroupMembershipUpdatedBlockIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `AgentGroupMembership`. */ -export type BlockBlocksByAgentGroupMembershipUpdatedBlockIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByAgentGroupMembershipUpdatedBlockIdAndCreatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `AgentGroupMembership`. */ - agentGroupMembershipsByCreatedBlockId: AgentGroupMembershipsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `AgentGroupMembership`. */ -export type BlockBlocksByAgentGroupMembershipUpdatedBlockIdAndCreatedBlockIdManyToManyEdgeAgentGroupMembershipsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `AgentGroup`. */ -export type BlockBlocksByAgentGroupUpdatedBlockIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByAgentGroupUpdatedBlockIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `AgentGroup`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `AgentGroup`. */ -export type BlockBlocksByAgentGroupUpdatedBlockIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `AgentGroup`. */ -export type BlockBlocksByAgentGroupUpdatedBlockIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByAgentGroupUpdatedBlockIdAndCreatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `AgentGroup`. */ - agentGroupsByCreatedBlockId: AgentGroupsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `AgentGroup`. */ -export type BlockBlocksByAgentGroupUpdatedBlockIdAndCreatedBlockIdManyToManyEdgeAgentGroupsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Asset`. */ -export type BlockBlocksByAssetCreatedBlockIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByAssetCreatedBlockIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Asset`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Asset`. */ -export type BlockBlocksByAssetCreatedBlockIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Asset`. */ -export type BlockBlocksByAssetCreatedBlockIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByAssetCreatedBlockIdAndUpdatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `Asset`. */ - assetsByUpdatedBlockId: AssetsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `Asset`. */ -export type BlockBlocksByAssetCreatedBlockIdAndUpdatedBlockIdManyToManyEdgeAssetsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `AssetDocument`. */ -export type BlockBlocksByAssetDocumentCreatedBlockIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByAssetDocumentCreatedBlockIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `AssetDocument`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `AssetDocument`. */ -export type BlockBlocksByAssetDocumentCreatedBlockIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `AssetDocument`. */ -export type BlockBlocksByAssetDocumentCreatedBlockIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByAssetDocumentCreatedBlockIdAndUpdatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `AssetDocument`. */ - assetDocumentsByUpdatedBlockId: AssetDocumentsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `AssetDocument`. */ -export type BlockBlocksByAssetDocumentCreatedBlockIdAndUpdatedBlockIdManyToManyEdgeAssetDocumentsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `AssetDocument`. */ -export type BlockBlocksByAssetDocumentUpdatedBlockIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByAssetDocumentUpdatedBlockIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `AssetDocument`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `AssetDocument`. */ -export type BlockBlocksByAssetDocumentUpdatedBlockIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `AssetDocument`. */ -export type BlockBlocksByAssetDocumentUpdatedBlockIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByAssetDocumentUpdatedBlockIdAndCreatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `AssetDocument`. */ - assetDocumentsByCreatedBlockId: AssetDocumentsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `AssetDocument`. */ -export type BlockBlocksByAssetDocumentUpdatedBlockIdAndCreatedBlockIdManyToManyEdgeAssetDocumentsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `AssetHolder`. */ -export type BlockBlocksByAssetHolderCreatedBlockIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByAssetHolderCreatedBlockIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `AssetHolder`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `AssetHolder`. */ -export type BlockBlocksByAssetHolderCreatedBlockIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `AssetHolder`. */ -export type BlockBlocksByAssetHolderCreatedBlockIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByAssetHolderCreatedBlockIdAndUpdatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `AssetHolder`. */ - assetHoldersByUpdatedBlockId: AssetHoldersConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `AssetHolder`. */ -export type BlockBlocksByAssetHolderCreatedBlockIdAndUpdatedBlockIdManyToManyEdgeAssetHoldersByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `AssetHolder`. */ -export type BlockBlocksByAssetHolderUpdatedBlockIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByAssetHolderUpdatedBlockIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `AssetHolder`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `AssetHolder`. */ -export type BlockBlocksByAssetHolderUpdatedBlockIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `AssetHolder`. */ -export type BlockBlocksByAssetHolderUpdatedBlockIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByAssetHolderUpdatedBlockIdAndCreatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `AssetHolder`. */ - assetHoldersByCreatedBlockId: AssetHoldersConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `AssetHolder`. */ -export type BlockBlocksByAssetHolderUpdatedBlockIdAndCreatedBlockIdManyToManyEdgeAssetHoldersByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `AssetPendingOwnershipTransfer`. */ -export type BlockBlocksByAssetPendingOwnershipTransferCreatedBlockIdAndUpdatedBlockIdManyToManyConnection = - { - __typename?: 'BlockBlocksByAssetPendingOwnershipTransferCreatedBlockIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `AssetPendingOwnershipTransfer`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Block` values, with data from `AssetPendingOwnershipTransfer`. */ -export type BlockBlocksByAssetPendingOwnershipTransferCreatedBlockIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `AssetPendingOwnershipTransfer`. */ -export type BlockBlocksByAssetPendingOwnershipTransferCreatedBlockIdAndUpdatedBlockIdManyToManyEdge = - { - __typename?: 'BlockBlocksByAssetPendingOwnershipTransferCreatedBlockIdAndUpdatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `AssetPendingOwnershipTransfer`. */ - assetPendingOwnershipTransfersByUpdatedBlockId: AssetPendingOwnershipTransfersConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - }; - -/** A `Block` edge in the connection, with data from `AssetPendingOwnershipTransfer`. */ -export type BlockBlocksByAssetPendingOwnershipTransferCreatedBlockIdAndUpdatedBlockIdManyToManyEdgeAssetPendingOwnershipTransfersByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `AssetPendingOwnershipTransfer`. */ -export type BlockBlocksByAssetPendingOwnershipTransferUpdatedBlockIdAndCreatedBlockIdManyToManyConnection = - { - __typename?: 'BlockBlocksByAssetPendingOwnershipTransferUpdatedBlockIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `AssetPendingOwnershipTransfer`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Block` values, with data from `AssetPendingOwnershipTransfer`. */ -export type BlockBlocksByAssetPendingOwnershipTransferUpdatedBlockIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `AssetPendingOwnershipTransfer`. */ -export type BlockBlocksByAssetPendingOwnershipTransferUpdatedBlockIdAndCreatedBlockIdManyToManyEdge = - { - __typename?: 'BlockBlocksByAssetPendingOwnershipTransferUpdatedBlockIdAndCreatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `AssetPendingOwnershipTransfer`. */ - assetPendingOwnershipTransfersByCreatedBlockId: AssetPendingOwnershipTransfersConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - }; - -/** A `Block` edge in the connection, with data from `AssetPendingOwnershipTransfer`. */ -export type BlockBlocksByAssetPendingOwnershipTransferUpdatedBlockIdAndCreatedBlockIdManyToManyEdgeAssetPendingOwnershipTransfersByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `AssetTransaction`. */ -export type BlockBlocksByAssetTransactionCreatedBlockIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByAssetTransactionCreatedBlockIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `AssetTransaction`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `AssetTransaction`. */ -export type BlockBlocksByAssetTransactionCreatedBlockIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `AssetTransaction`. */ -export type BlockBlocksByAssetTransactionCreatedBlockIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByAssetTransactionCreatedBlockIdAndUpdatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `AssetTransaction`. */ - assetTransactionsByUpdatedBlockId: AssetTransactionsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `AssetTransaction`. */ -export type BlockBlocksByAssetTransactionCreatedBlockIdAndUpdatedBlockIdManyToManyEdgeAssetTransactionsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `AssetTransaction`. */ -export type BlockBlocksByAssetTransactionUpdatedBlockIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByAssetTransactionUpdatedBlockIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `AssetTransaction`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `AssetTransaction`. */ -export type BlockBlocksByAssetTransactionUpdatedBlockIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `AssetTransaction`. */ -export type BlockBlocksByAssetTransactionUpdatedBlockIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByAssetTransactionUpdatedBlockIdAndCreatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `AssetTransaction`. */ - assetTransactionsByCreatedBlockId: AssetTransactionsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `AssetTransaction`. */ -export type BlockBlocksByAssetTransactionUpdatedBlockIdAndCreatedBlockIdManyToManyEdgeAssetTransactionsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Asset`. */ -export type BlockBlocksByAssetUpdatedBlockIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByAssetUpdatedBlockIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Asset`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Asset`. */ -export type BlockBlocksByAssetUpdatedBlockIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Asset`. */ -export type BlockBlocksByAssetUpdatedBlockIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByAssetUpdatedBlockIdAndCreatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `Asset`. */ - assetsByCreatedBlockId: AssetsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `Asset`. */ -export type BlockBlocksByAssetUpdatedBlockIdAndCreatedBlockIdManyToManyEdgeAssetsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Authorization`. */ -export type BlockBlocksByAuthorizationCreatedBlockIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByAuthorizationCreatedBlockIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Authorization`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Authorization`. */ -export type BlockBlocksByAuthorizationCreatedBlockIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Authorization`. */ -export type BlockBlocksByAuthorizationCreatedBlockIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByAuthorizationCreatedBlockIdAndUpdatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `Authorization`. */ - authorizationsByUpdatedBlockId: AuthorizationsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `Authorization`. */ -export type BlockBlocksByAuthorizationCreatedBlockIdAndUpdatedBlockIdManyToManyEdgeAuthorizationsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Authorization`. */ -export type BlockBlocksByAuthorizationUpdatedBlockIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByAuthorizationUpdatedBlockIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Authorization`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Authorization`. */ -export type BlockBlocksByAuthorizationUpdatedBlockIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Authorization`. */ -export type BlockBlocksByAuthorizationUpdatedBlockIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByAuthorizationUpdatedBlockIdAndCreatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `Authorization`. */ - authorizationsByCreatedBlockId: AuthorizationsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `Authorization`. */ -export type BlockBlocksByAuthorizationUpdatedBlockIdAndCreatedBlockIdManyToManyEdgeAuthorizationsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `BridgeEvent`. */ -export type BlockBlocksByBridgeEventCreatedBlockIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByBridgeEventCreatedBlockIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `BridgeEvent`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `BridgeEvent`. */ -export type BlockBlocksByBridgeEventCreatedBlockIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `BridgeEvent`. */ -export type BlockBlocksByBridgeEventCreatedBlockIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByBridgeEventCreatedBlockIdAndUpdatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `BridgeEvent`. */ - bridgeEventsByUpdatedBlockId: BridgeEventsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `BridgeEvent`. */ -export type BlockBlocksByBridgeEventCreatedBlockIdAndUpdatedBlockIdManyToManyEdgeBridgeEventsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `BridgeEvent`. */ -export type BlockBlocksByBridgeEventUpdatedBlockIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByBridgeEventUpdatedBlockIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `BridgeEvent`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `BridgeEvent`. */ -export type BlockBlocksByBridgeEventUpdatedBlockIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `BridgeEvent`. */ -export type BlockBlocksByBridgeEventUpdatedBlockIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByBridgeEventUpdatedBlockIdAndCreatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `BridgeEvent`. */ - bridgeEventsByCreatedBlockId: BridgeEventsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `BridgeEvent`. */ -export type BlockBlocksByBridgeEventUpdatedBlockIdAndCreatedBlockIdManyToManyEdgeBridgeEventsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `ChildIdentity`. */ -export type BlockBlocksByChildIdentityCreatedBlockIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByChildIdentityCreatedBlockIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `ChildIdentity`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `ChildIdentity`. */ -export type BlockBlocksByChildIdentityCreatedBlockIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `ChildIdentity`. */ -export type BlockBlocksByChildIdentityCreatedBlockIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByChildIdentityCreatedBlockIdAndUpdatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ChildIdentity`. */ - childIdentitiesByUpdatedBlockId: ChildIdentitiesConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `ChildIdentity`. */ -export type BlockBlocksByChildIdentityCreatedBlockIdAndUpdatedBlockIdManyToManyEdgeChildIdentitiesByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `ChildIdentity`. */ -export type BlockBlocksByChildIdentityUpdatedBlockIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByChildIdentityUpdatedBlockIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `ChildIdentity`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `ChildIdentity`. */ -export type BlockBlocksByChildIdentityUpdatedBlockIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `ChildIdentity`. */ -export type BlockBlocksByChildIdentityUpdatedBlockIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByChildIdentityUpdatedBlockIdAndCreatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ChildIdentity`. */ - childIdentitiesByCreatedBlockId: ChildIdentitiesConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `ChildIdentity`. */ -export type BlockBlocksByChildIdentityUpdatedBlockIdAndCreatedBlockIdManyToManyEdgeChildIdentitiesByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Claim`. */ -export type BlockBlocksByClaimCreatedBlockIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByClaimCreatedBlockIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Claim`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Claim`. */ -export type BlockBlocksByClaimCreatedBlockIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Claim`. */ -export type BlockBlocksByClaimCreatedBlockIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByClaimCreatedBlockIdAndUpdatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `Claim`. */ - claimsByUpdatedBlockId: ClaimsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `Claim`. */ -export type BlockBlocksByClaimCreatedBlockIdAndUpdatedBlockIdManyToManyEdgeClaimsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `ClaimScope`. */ -export type BlockBlocksByClaimScopeCreatedBlockIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByClaimScopeCreatedBlockIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `ClaimScope`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `ClaimScope`. */ -export type BlockBlocksByClaimScopeCreatedBlockIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `ClaimScope`. */ -export type BlockBlocksByClaimScopeCreatedBlockIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByClaimScopeCreatedBlockIdAndUpdatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ClaimScope`. */ - claimScopesByUpdatedBlockId: ClaimScopesConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `ClaimScope`. */ -export type BlockBlocksByClaimScopeCreatedBlockIdAndUpdatedBlockIdManyToManyEdgeClaimScopesByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `ClaimScope`. */ -export type BlockBlocksByClaimScopeUpdatedBlockIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByClaimScopeUpdatedBlockIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `ClaimScope`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `ClaimScope`. */ -export type BlockBlocksByClaimScopeUpdatedBlockIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `ClaimScope`. */ -export type BlockBlocksByClaimScopeUpdatedBlockIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByClaimScopeUpdatedBlockIdAndCreatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ClaimScope`. */ - claimScopesByCreatedBlockId: ClaimScopesConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `ClaimScope`. */ -export type BlockBlocksByClaimScopeUpdatedBlockIdAndCreatedBlockIdManyToManyEdgeClaimScopesByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Claim`. */ -export type BlockBlocksByClaimUpdatedBlockIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByClaimUpdatedBlockIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Claim`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Claim`. */ -export type BlockBlocksByClaimUpdatedBlockIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Claim`. */ -export type BlockBlocksByClaimUpdatedBlockIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByClaimUpdatedBlockIdAndCreatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `Claim`. */ - claimsByCreatedBlockId: ClaimsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `Claim`. */ -export type BlockBlocksByClaimUpdatedBlockIdAndCreatedBlockIdManyToManyEdgeClaimsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Compliance`. */ -export type BlockBlocksByComplianceCreatedBlockIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByComplianceCreatedBlockIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Compliance`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Compliance`. */ -export type BlockBlocksByComplianceCreatedBlockIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Compliance`. */ -export type BlockBlocksByComplianceCreatedBlockIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByComplianceCreatedBlockIdAndUpdatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `Compliance`. */ - compliancesByUpdatedBlockId: CompliancesConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `Compliance`. */ -export type BlockBlocksByComplianceCreatedBlockIdAndUpdatedBlockIdManyToManyEdgeCompliancesByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Compliance`. */ -export type BlockBlocksByComplianceUpdatedBlockIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByComplianceUpdatedBlockIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Compliance`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Compliance`. */ -export type BlockBlocksByComplianceUpdatedBlockIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Compliance`. */ -export type BlockBlocksByComplianceUpdatedBlockIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByComplianceUpdatedBlockIdAndCreatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `Compliance`. */ - compliancesByCreatedBlockId: CompliancesConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `Compliance`. */ -export type BlockBlocksByComplianceUpdatedBlockIdAndCreatedBlockIdManyToManyEdgeCompliancesByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialAccount`. */ -export type BlockBlocksByConfidentialAccountCreatedBlockIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByConfidentialAccountCreatedBlockIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `ConfidentialAccount`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `ConfidentialAccount`. */ -export type BlockBlocksByConfidentialAccountCreatedBlockIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `ConfidentialAccount`. */ -export type BlockBlocksByConfidentialAccountCreatedBlockIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByConfidentialAccountCreatedBlockIdAndUpdatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialAccount`. */ - confidentialAccountsByUpdatedBlockId: ConfidentialAccountsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `ConfidentialAccount`. */ -export type BlockBlocksByConfidentialAccountCreatedBlockIdAndUpdatedBlockIdManyToManyEdgeConfidentialAccountsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialAccount`. */ -export type BlockBlocksByConfidentialAccountUpdatedBlockIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByConfidentialAccountUpdatedBlockIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `ConfidentialAccount`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `ConfidentialAccount`. */ -export type BlockBlocksByConfidentialAccountUpdatedBlockIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `ConfidentialAccount`. */ -export type BlockBlocksByConfidentialAccountUpdatedBlockIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByConfidentialAccountUpdatedBlockIdAndCreatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialAccount`. */ - confidentialAccountsByCreatedBlockId: ConfidentialAccountsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `ConfidentialAccount`. */ -export type BlockBlocksByConfidentialAccountUpdatedBlockIdAndCreatedBlockIdManyToManyEdgeConfidentialAccountsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialAsset`. */ -export type BlockBlocksByConfidentialAssetCreatedBlockIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByConfidentialAssetCreatedBlockIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `ConfidentialAsset`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `ConfidentialAsset`. */ -export type BlockBlocksByConfidentialAssetCreatedBlockIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `ConfidentialAsset`. */ -export type BlockBlocksByConfidentialAssetCreatedBlockIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByConfidentialAssetCreatedBlockIdAndUpdatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialAsset`. */ - confidentialAssetsByUpdatedBlockId: ConfidentialAssetsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `ConfidentialAsset`. */ -export type BlockBlocksByConfidentialAssetCreatedBlockIdAndUpdatedBlockIdManyToManyEdgeConfidentialAssetsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialAssetHistory`. */ -export type BlockBlocksByConfidentialAssetHistoryCreatedBlockIdAndUpdatedBlockIdManyToManyConnection = - { - __typename?: 'BlockBlocksByConfidentialAssetHistoryCreatedBlockIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `ConfidentialAssetHistory`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialAssetHistory`. */ -export type BlockBlocksByConfidentialAssetHistoryCreatedBlockIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `ConfidentialAssetHistory`. */ -export type BlockBlocksByConfidentialAssetHistoryCreatedBlockIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByConfidentialAssetHistoryCreatedBlockIdAndUpdatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ - confidentialAssetHistoriesByUpdatedBlockId: ConfidentialAssetHistoriesConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `ConfidentialAssetHistory`. */ -export type BlockBlocksByConfidentialAssetHistoryCreatedBlockIdAndUpdatedBlockIdManyToManyEdgeConfidentialAssetHistoriesByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialAssetHistory`. */ -export type BlockBlocksByConfidentialAssetHistoryUpdatedBlockIdAndCreatedBlockIdManyToManyConnection = - { - __typename?: 'BlockBlocksByConfidentialAssetHistoryUpdatedBlockIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `ConfidentialAssetHistory`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialAssetHistory`. */ -export type BlockBlocksByConfidentialAssetHistoryUpdatedBlockIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `ConfidentialAssetHistory`. */ -export type BlockBlocksByConfidentialAssetHistoryUpdatedBlockIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByConfidentialAssetHistoryUpdatedBlockIdAndCreatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ - confidentialAssetHistoriesByCreatedBlockId: ConfidentialAssetHistoriesConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `ConfidentialAssetHistory`. */ -export type BlockBlocksByConfidentialAssetHistoryUpdatedBlockIdAndCreatedBlockIdManyToManyEdgeConfidentialAssetHistoriesByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialAssetHolder`. */ -export type BlockBlocksByConfidentialAssetHolderCreatedBlockIdAndUpdatedBlockIdManyToManyConnection = - { - __typename?: 'BlockBlocksByConfidentialAssetHolderCreatedBlockIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `ConfidentialAssetHolder`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialAssetHolder`. */ -export type BlockBlocksByConfidentialAssetHolderCreatedBlockIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `ConfidentialAssetHolder`. */ -export type BlockBlocksByConfidentialAssetHolderCreatedBlockIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByConfidentialAssetHolderCreatedBlockIdAndUpdatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialAssetHolder`. */ - confidentialAssetHoldersByUpdatedBlockId: ConfidentialAssetHoldersConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `ConfidentialAssetHolder`. */ -export type BlockBlocksByConfidentialAssetHolderCreatedBlockIdAndUpdatedBlockIdManyToManyEdgeConfidentialAssetHoldersByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialAssetHolder`. */ -export type BlockBlocksByConfidentialAssetHolderUpdatedBlockIdAndCreatedBlockIdManyToManyConnection = - { - __typename?: 'BlockBlocksByConfidentialAssetHolderUpdatedBlockIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `ConfidentialAssetHolder`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialAssetHolder`. */ -export type BlockBlocksByConfidentialAssetHolderUpdatedBlockIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `ConfidentialAssetHolder`. */ -export type BlockBlocksByConfidentialAssetHolderUpdatedBlockIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByConfidentialAssetHolderUpdatedBlockIdAndCreatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialAssetHolder`. */ - confidentialAssetHoldersByCreatedBlockId: ConfidentialAssetHoldersConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `ConfidentialAssetHolder`. */ -export type BlockBlocksByConfidentialAssetHolderUpdatedBlockIdAndCreatedBlockIdManyToManyEdgeConfidentialAssetHoldersByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialAsset`. */ -export type BlockBlocksByConfidentialAssetUpdatedBlockIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByConfidentialAssetUpdatedBlockIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `ConfidentialAsset`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `ConfidentialAsset`. */ -export type BlockBlocksByConfidentialAssetUpdatedBlockIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `ConfidentialAsset`. */ -export type BlockBlocksByConfidentialAssetUpdatedBlockIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByConfidentialAssetUpdatedBlockIdAndCreatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialAsset`. */ - confidentialAssetsByCreatedBlockId: ConfidentialAssetsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `ConfidentialAsset`. */ -export type BlockBlocksByConfidentialAssetUpdatedBlockIdAndCreatedBlockIdManyToManyEdgeConfidentialAssetsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialLeg`. */ -export type BlockBlocksByConfidentialLegCreatedBlockIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByConfidentialLegCreatedBlockIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `ConfidentialLeg`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `ConfidentialLeg`. */ -export type BlockBlocksByConfidentialLegCreatedBlockIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `ConfidentialLeg`. */ -export type BlockBlocksByConfidentialLegCreatedBlockIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByConfidentialLegCreatedBlockIdAndUpdatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialLeg`. */ - confidentialLegsByUpdatedBlockId: ConfidentialLegsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `ConfidentialLeg`. */ -export type BlockBlocksByConfidentialLegCreatedBlockIdAndUpdatedBlockIdManyToManyEdgeConfidentialLegsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialLeg`. */ -export type BlockBlocksByConfidentialLegUpdatedBlockIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByConfidentialLegUpdatedBlockIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `ConfidentialLeg`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `ConfidentialLeg`. */ -export type BlockBlocksByConfidentialLegUpdatedBlockIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `ConfidentialLeg`. */ -export type BlockBlocksByConfidentialLegUpdatedBlockIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByConfidentialLegUpdatedBlockIdAndCreatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialLeg`. */ - confidentialLegsByCreatedBlockId: ConfidentialLegsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `ConfidentialLeg`. */ -export type BlockBlocksByConfidentialLegUpdatedBlockIdAndCreatedBlockIdManyToManyEdgeConfidentialLegsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialTransactionAffirmation`. */ -export type BlockBlocksByConfidentialTransactionAffirmationCreatedBlockIdAndUpdatedBlockIdManyToManyConnection = - { - __typename?: 'BlockBlocksByConfidentialTransactionAffirmationCreatedBlockIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `ConfidentialTransactionAffirmation`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialTransactionAffirmation`. */ -export type BlockBlocksByConfidentialTransactionAffirmationCreatedBlockIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ -export type BlockBlocksByConfidentialTransactionAffirmationCreatedBlockIdAndUpdatedBlockIdManyToManyEdge = - { - __typename?: 'BlockBlocksByConfidentialTransactionAffirmationCreatedBlockIdAndUpdatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialTransactionAffirmation`. */ - confidentialTransactionAffirmationsByUpdatedBlockId: ConfidentialTransactionAffirmationsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - }; - -/** A `Block` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ -export type BlockBlocksByConfidentialTransactionAffirmationCreatedBlockIdAndUpdatedBlockIdManyToManyEdgeConfidentialTransactionAffirmationsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialTransactionAffirmation`. */ -export type BlockBlocksByConfidentialTransactionAffirmationUpdatedBlockIdAndCreatedBlockIdManyToManyConnection = - { - __typename?: 'BlockBlocksByConfidentialTransactionAffirmationUpdatedBlockIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `ConfidentialTransactionAffirmation`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialTransactionAffirmation`. */ -export type BlockBlocksByConfidentialTransactionAffirmationUpdatedBlockIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ -export type BlockBlocksByConfidentialTransactionAffirmationUpdatedBlockIdAndCreatedBlockIdManyToManyEdge = - { - __typename?: 'BlockBlocksByConfidentialTransactionAffirmationUpdatedBlockIdAndCreatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialTransactionAffirmation`. */ - confidentialTransactionAffirmationsByCreatedBlockId: ConfidentialTransactionAffirmationsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - }; - -/** A `Block` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ -export type BlockBlocksByConfidentialTransactionAffirmationUpdatedBlockIdAndCreatedBlockIdManyToManyEdgeConfidentialTransactionAffirmationsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialTransaction`. */ -export type BlockBlocksByConfidentialTransactionCreatedBlockIdAndUpdatedBlockIdManyToManyConnection = - { - __typename?: 'BlockBlocksByConfidentialTransactionCreatedBlockIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `ConfidentialTransaction`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialTransaction`. */ -export type BlockBlocksByConfidentialTransactionCreatedBlockIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `ConfidentialTransaction`. */ -export type BlockBlocksByConfidentialTransactionCreatedBlockIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByConfidentialTransactionCreatedBlockIdAndUpdatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialTransaction`. */ - confidentialTransactionsByUpdatedBlockId: ConfidentialTransactionsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `ConfidentialTransaction`. */ -export type BlockBlocksByConfidentialTransactionCreatedBlockIdAndUpdatedBlockIdManyToManyEdgeConfidentialTransactionsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialTransaction`. */ -export type BlockBlocksByConfidentialTransactionUpdatedBlockIdAndCreatedBlockIdManyToManyConnection = - { - __typename?: 'BlockBlocksByConfidentialTransactionUpdatedBlockIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `ConfidentialTransaction`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialTransaction`. */ -export type BlockBlocksByConfidentialTransactionUpdatedBlockIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `ConfidentialTransaction`. */ -export type BlockBlocksByConfidentialTransactionUpdatedBlockIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByConfidentialTransactionUpdatedBlockIdAndCreatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialTransaction`. */ - confidentialTransactionsByCreatedBlockId: ConfidentialTransactionsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `ConfidentialTransaction`. */ -export type BlockBlocksByConfidentialTransactionUpdatedBlockIdAndCreatedBlockIdManyToManyEdgeConfidentialTransactionsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialVenue`. */ -export type BlockBlocksByConfidentialVenueCreatedBlockIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByConfidentialVenueCreatedBlockIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `ConfidentialVenue`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `ConfidentialVenue`. */ -export type BlockBlocksByConfidentialVenueCreatedBlockIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `ConfidentialVenue`. */ -export type BlockBlocksByConfidentialVenueCreatedBlockIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByConfidentialVenueCreatedBlockIdAndUpdatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialVenue`. */ - confidentialVenuesByUpdatedBlockId: ConfidentialVenuesConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `ConfidentialVenue`. */ -export type BlockBlocksByConfidentialVenueCreatedBlockIdAndUpdatedBlockIdManyToManyEdgeConfidentialVenuesByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialVenue`. */ -export type BlockBlocksByConfidentialVenueUpdatedBlockIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByConfidentialVenueUpdatedBlockIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `ConfidentialVenue`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `ConfidentialVenue`. */ -export type BlockBlocksByConfidentialVenueUpdatedBlockIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `ConfidentialVenue`. */ -export type BlockBlocksByConfidentialVenueUpdatedBlockIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByConfidentialVenueUpdatedBlockIdAndCreatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialVenue`. */ - confidentialVenuesByCreatedBlockId: ConfidentialVenuesConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `ConfidentialVenue`. */ -export type BlockBlocksByConfidentialVenueUpdatedBlockIdAndCreatedBlockIdManyToManyEdgeConfidentialVenuesByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `CustomClaimType`. */ -export type BlockBlocksByCustomClaimTypeCreatedBlockIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByCustomClaimTypeCreatedBlockIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `CustomClaimType`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `CustomClaimType`. */ -export type BlockBlocksByCustomClaimTypeCreatedBlockIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `CustomClaimType`. */ -export type BlockBlocksByCustomClaimTypeCreatedBlockIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByCustomClaimTypeCreatedBlockIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `CustomClaimType`. */ - customClaimTypesByUpdatedBlockId: CustomClaimTypesConnection; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `CustomClaimType`. */ -export type BlockBlocksByCustomClaimTypeCreatedBlockIdAndUpdatedBlockIdManyToManyEdgeCustomClaimTypesByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `CustomClaimType`. */ -export type BlockBlocksByCustomClaimTypeUpdatedBlockIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByCustomClaimTypeUpdatedBlockIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `CustomClaimType`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `CustomClaimType`. */ -export type BlockBlocksByCustomClaimTypeUpdatedBlockIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `CustomClaimType`. */ -export type BlockBlocksByCustomClaimTypeUpdatedBlockIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByCustomClaimTypeUpdatedBlockIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `CustomClaimType`. */ - customClaimTypesByCreatedBlockId: CustomClaimTypesConnection; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `CustomClaimType`. */ -export type BlockBlocksByCustomClaimTypeUpdatedBlockIdAndCreatedBlockIdManyToManyEdgeCustomClaimTypesByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Distribution`. */ -export type BlockBlocksByDistributionCreatedBlockIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByDistributionCreatedBlockIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Distribution`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Distribution`. */ -export type BlockBlocksByDistributionCreatedBlockIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Distribution`. */ -export type BlockBlocksByDistributionCreatedBlockIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByDistributionCreatedBlockIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `Distribution`. */ - distributionsByUpdatedBlockId: DistributionsConnection; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `Distribution`. */ -export type BlockBlocksByDistributionCreatedBlockIdAndUpdatedBlockIdManyToManyEdgeDistributionsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `DistributionPayment`. */ -export type BlockBlocksByDistributionPaymentCreatedBlockIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByDistributionPaymentCreatedBlockIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `DistributionPayment`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `DistributionPayment`. */ -export type BlockBlocksByDistributionPaymentCreatedBlockIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `DistributionPayment`. */ -export type BlockBlocksByDistributionPaymentCreatedBlockIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByDistributionPaymentCreatedBlockIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `DistributionPayment`. */ - distributionPaymentsByUpdatedBlockId: DistributionPaymentsConnection; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `DistributionPayment`. */ -export type BlockBlocksByDistributionPaymentCreatedBlockIdAndUpdatedBlockIdManyToManyEdgeDistributionPaymentsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `DistributionPayment`. */ -export type BlockBlocksByDistributionPaymentUpdatedBlockIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByDistributionPaymentUpdatedBlockIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `DistributionPayment`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `DistributionPayment`. */ -export type BlockBlocksByDistributionPaymentUpdatedBlockIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `DistributionPayment`. */ -export type BlockBlocksByDistributionPaymentUpdatedBlockIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByDistributionPaymentUpdatedBlockIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `DistributionPayment`. */ - distributionPaymentsByCreatedBlockId: DistributionPaymentsConnection; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `DistributionPayment`. */ -export type BlockBlocksByDistributionPaymentUpdatedBlockIdAndCreatedBlockIdManyToManyEdgeDistributionPaymentsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Distribution`. */ -export type BlockBlocksByDistributionUpdatedBlockIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByDistributionUpdatedBlockIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Distribution`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Distribution`. */ -export type BlockBlocksByDistributionUpdatedBlockIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Distribution`. */ -export type BlockBlocksByDistributionUpdatedBlockIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByDistributionUpdatedBlockIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `Distribution`. */ - distributionsByCreatedBlockId: DistributionsConnection; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `Distribution`. */ -export type BlockBlocksByDistributionUpdatedBlockIdAndCreatedBlockIdManyToManyEdgeDistributionsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Funding`. */ -export type BlockBlocksByFundingCreatedBlockIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByFundingCreatedBlockIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Funding`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Funding`. */ -export type BlockBlocksByFundingCreatedBlockIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Funding`. */ -export type BlockBlocksByFundingCreatedBlockIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByFundingCreatedBlockIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `Funding`. */ - fundingsByUpdatedBlockId: FundingsConnection; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `Funding`. */ -export type BlockBlocksByFundingCreatedBlockIdAndUpdatedBlockIdManyToManyEdgeFundingsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Funding`. */ -export type BlockBlocksByFundingUpdatedBlockIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByFundingUpdatedBlockIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Funding`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Funding`. */ -export type BlockBlocksByFundingUpdatedBlockIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Funding`. */ -export type BlockBlocksByFundingUpdatedBlockIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByFundingUpdatedBlockIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `Funding`. */ - fundingsByCreatedBlockId: FundingsConnection; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `Funding`. */ -export type BlockBlocksByFundingUpdatedBlockIdAndCreatedBlockIdManyToManyEdgeFundingsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Identity`. */ -export type BlockBlocksByIdentityCreatedBlockIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByIdentityCreatedBlockIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Identity`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Identity`. */ -export type BlockBlocksByIdentityCreatedBlockIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Identity`. */ -export type BlockBlocksByIdentityCreatedBlockIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByIdentityCreatedBlockIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByUpdatedBlockId: IdentitiesConnection; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `Identity`. */ -export type BlockBlocksByIdentityCreatedBlockIdAndUpdatedBlockIdManyToManyEdgeIdentitiesByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Identity`. */ -export type BlockBlocksByIdentityUpdatedBlockIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByIdentityUpdatedBlockIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Identity`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Identity`. */ -export type BlockBlocksByIdentityUpdatedBlockIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Identity`. */ -export type BlockBlocksByIdentityUpdatedBlockIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByIdentityUpdatedBlockIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByCreatedBlockId: IdentitiesConnection; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `Identity`. */ -export type BlockBlocksByIdentityUpdatedBlockIdAndCreatedBlockIdManyToManyEdgeIdentitiesByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Instruction`. */ -export type BlockBlocksByInstructionCreatedBlockIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByInstructionCreatedBlockIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Instruction`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Instruction`. */ -export type BlockBlocksByInstructionCreatedBlockIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Instruction`. */ -export type BlockBlocksByInstructionCreatedBlockIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByInstructionCreatedBlockIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `Instruction`. */ - instructionsByUpdatedBlockId: InstructionsConnection; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `Instruction`. */ -export type BlockBlocksByInstructionCreatedBlockIdAndUpdatedBlockIdManyToManyEdgeInstructionsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Instruction`. */ -export type BlockBlocksByInstructionUpdatedBlockIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByInstructionUpdatedBlockIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Instruction`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Instruction`. */ -export type BlockBlocksByInstructionUpdatedBlockIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Instruction`. */ -export type BlockBlocksByInstructionUpdatedBlockIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByInstructionUpdatedBlockIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `Instruction`. */ - instructionsByCreatedBlockId: InstructionsConnection; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `Instruction`. */ -export type BlockBlocksByInstructionUpdatedBlockIdAndCreatedBlockIdManyToManyEdgeInstructionsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Investment`. */ -export type BlockBlocksByInvestmentCreatedBlockIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByInvestmentCreatedBlockIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Investment`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Investment`. */ -export type BlockBlocksByInvestmentCreatedBlockIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Investment`. */ -export type BlockBlocksByInvestmentCreatedBlockIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByInvestmentCreatedBlockIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `Investment`. */ - investmentsByUpdatedBlockId: InvestmentsConnection; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `Investment`. */ -export type BlockBlocksByInvestmentCreatedBlockIdAndUpdatedBlockIdManyToManyEdgeInvestmentsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Investment`. */ -export type BlockBlocksByInvestmentUpdatedBlockIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByInvestmentUpdatedBlockIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Investment`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Investment`. */ -export type BlockBlocksByInvestmentUpdatedBlockIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Investment`. */ -export type BlockBlocksByInvestmentUpdatedBlockIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByInvestmentUpdatedBlockIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `Investment`. */ - investmentsByCreatedBlockId: InvestmentsConnection; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `Investment`. */ -export type BlockBlocksByInvestmentUpdatedBlockIdAndCreatedBlockIdManyToManyEdgeInvestmentsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Leg`. */ -export type BlockBlocksByLegCreatedBlockIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByLegCreatedBlockIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Leg`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Leg`. */ -export type BlockBlocksByLegCreatedBlockIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Leg`. */ -export type BlockBlocksByLegCreatedBlockIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByLegCreatedBlockIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `Leg`. */ - legsByUpdatedBlockId: LegsConnection; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `Leg`. */ -export type BlockBlocksByLegCreatedBlockIdAndUpdatedBlockIdManyToManyEdgeLegsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Leg`. */ -export type BlockBlocksByLegUpdatedBlockIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByLegUpdatedBlockIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Leg`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Leg`. */ -export type BlockBlocksByLegUpdatedBlockIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Leg`. */ -export type BlockBlocksByLegUpdatedBlockIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByLegUpdatedBlockIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `Leg`. */ - legsByCreatedBlockId: LegsConnection; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `Leg`. */ -export type BlockBlocksByLegUpdatedBlockIdAndCreatedBlockIdManyToManyEdgeLegsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `MultiSig`. */ -export type BlockBlocksByMultiSigCreatedBlockIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByMultiSigCreatedBlockIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `MultiSig`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `MultiSig`. */ -export type BlockBlocksByMultiSigCreatedBlockIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `MultiSig`. */ -export type BlockBlocksByMultiSigCreatedBlockIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByMultiSigCreatedBlockIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `MultiSig`. */ - multiSigsByUpdatedBlockId: MultiSigsConnection; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `MultiSig`. */ -export type BlockBlocksByMultiSigCreatedBlockIdAndUpdatedBlockIdManyToManyEdgeMultiSigsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `MultiSigProposal`. */ -export type BlockBlocksByMultiSigProposalCreatedBlockIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByMultiSigProposalCreatedBlockIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `MultiSigProposal`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `MultiSigProposal`. */ -export type BlockBlocksByMultiSigProposalCreatedBlockIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `MultiSigProposal`. */ -export type BlockBlocksByMultiSigProposalCreatedBlockIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByMultiSigProposalCreatedBlockIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `MultiSigProposal`. */ - multiSigProposalsByUpdatedBlockId: MultiSigProposalsConnection; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `MultiSigProposal`. */ -export type BlockBlocksByMultiSigProposalCreatedBlockIdAndUpdatedBlockIdManyToManyEdgeMultiSigProposalsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `MultiSigProposal`. */ -export type BlockBlocksByMultiSigProposalUpdatedBlockIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByMultiSigProposalUpdatedBlockIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `MultiSigProposal`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `MultiSigProposal`. */ -export type BlockBlocksByMultiSigProposalUpdatedBlockIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `MultiSigProposal`. */ -export type BlockBlocksByMultiSigProposalUpdatedBlockIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByMultiSigProposalUpdatedBlockIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `MultiSigProposal`. */ - multiSigProposalsByCreatedBlockId: MultiSigProposalsConnection; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `MultiSigProposal`. */ -export type BlockBlocksByMultiSigProposalUpdatedBlockIdAndCreatedBlockIdManyToManyEdgeMultiSigProposalsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `MultiSigProposalVote`. */ -export type BlockBlocksByMultiSigProposalVoteCreatedBlockIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByMultiSigProposalVoteCreatedBlockIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `MultiSigProposalVote`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `MultiSigProposalVote`. */ -export type BlockBlocksByMultiSigProposalVoteCreatedBlockIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `MultiSigProposalVote`. */ -export type BlockBlocksByMultiSigProposalVoteCreatedBlockIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByMultiSigProposalVoteCreatedBlockIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `MultiSigProposalVote`. */ - multiSigProposalVotesByUpdatedBlockId: MultiSigProposalVotesConnection; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `MultiSigProposalVote`. */ -export type BlockBlocksByMultiSigProposalVoteCreatedBlockIdAndUpdatedBlockIdManyToManyEdgeMultiSigProposalVotesByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `MultiSigProposalVote`. */ -export type BlockBlocksByMultiSigProposalVoteUpdatedBlockIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByMultiSigProposalVoteUpdatedBlockIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `MultiSigProposalVote`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `MultiSigProposalVote`. */ -export type BlockBlocksByMultiSigProposalVoteUpdatedBlockIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `MultiSigProposalVote`. */ -export type BlockBlocksByMultiSigProposalVoteUpdatedBlockIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByMultiSigProposalVoteUpdatedBlockIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `MultiSigProposalVote`. */ - multiSigProposalVotesByCreatedBlockId: MultiSigProposalVotesConnection; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `MultiSigProposalVote`. */ -export type BlockBlocksByMultiSigProposalVoteUpdatedBlockIdAndCreatedBlockIdManyToManyEdgeMultiSigProposalVotesByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `MultiSigSigner`. */ -export type BlockBlocksByMultiSigSignerCreatedBlockIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByMultiSigSignerCreatedBlockIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `MultiSigSigner`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `MultiSigSigner`. */ -export type BlockBlocksByMultiSigSignerCreatedBlockIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `MultiSigSigner`. */ -export type BlockBlocksByMultiSigSignerCreatedBlockIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByMultiSigSignerCreatedBlockIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `MultiSigSigner`. */ - multiSigSignersByUpdatedBlockId: MultiSigSignersConnection; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `MultiSigSigner`. */ -export type BlockBlocksByMultiSigSignerCreatedBlockIdAndUpdatedBlockIdManyToManyEdgeMultiSigSignersByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `MultiSigSigner`. */ -export type BlockBlocksByMultiSigSignerUpdatedBlockIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByMultiSigSignerUpdatedBlockIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `MultiSigSigner`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `MultiSigSigner`. */ -export type BlockBlocksByMultiSigSignerUpdatedBlockIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `MultiSigSigner`. */ -export type BlockBlocksByMultiSigSignerUpdatedBlockIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByMultiSigSignerUpdatedBlockIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `MultiSigSigner`. */ - multiSigSignersByCreatedBlockId: MultiSigSignersConnection; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `MultiSigSigner`. */ -export type BlockBlocksByMultiSigSignerUpdatedBlockIdAndCreatedBlockIdManyToManyEdgeMultiSigSignersByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `MultiSig`. */ -export type BlockBlocksByMultiSigUpdatedBlockIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByMultiSigUpdatedBlockIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `MultiSig`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `MultiSig`. */ -export type BlockBlocksByMultiSigUpdatedBlockIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `MultiSig`. */ -export type BlockBlocksByMultiSigUpdatedBlockIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByMultiSigUpdatedBlockIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `MultiSig`. */ - multiSigsByCreatedBlockId: MultiSigsConnection; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `MultiSig`. */ -export type BlockBlocksByMultiSigUpdatedBlockIdAndCreatedBlockIdManyToManyEdgeMultiSigsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `NftHolder`. */ -export type BlockBlocksByNftHolderCreatedBlockIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByNftHolderCreatedBlockIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `NftHolder`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `NftHolder`. */ -export type BlockBlocksByNftHolderCreatedBlockIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `NftHolder`. */ -export type BlockBlocksByNftHolderCreatedBlockIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByNftHolderCreatedBlockIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `NftHolder`. */ - nftHoldersByUpdatedBlockId: NftHoldersConnection; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `NftHolder`. */ -export type BlockBlocksByNftHolderCreatedBlockIdAndUpdatedBlockIdManyToManyEdgeNftHoldersByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `NftHolder`. */ -export type BlockBlocksByNftHolderUpdatedBlockIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByNftHolderUpdatedBlockIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `NftHolder`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `NftHolder`. */ -export type BlockBlocksByNftHolderUpdatedBlockIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `NftHolder`. */ -export type BlockBlocksByNftHolderUpdatedBlockIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByNftHolderUpdatedBlockIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `NftHolder`. */ - nftHoldersByCreatedBlockId: NftHoldersConnection; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `NftHolder`. */ -export type BlockBlocksByNftHolderUpdatedBlockIdAndCreatedBlockIdManyToManyEdgeNftHoldersByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Permission`. */ -export type BlockBlocksByPermissionCreatedBlockIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByPermissionCreatedBlockIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Permission`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Permission`. */ -export type BlockBlocksByPermissionCreatedBlockIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Permission`. */ -export type BlockBlocksByPermissionCreatedBlockIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByPermissionCreatedBlockIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Permission`. */ - permissionsByUpdatedBlockId: PermissionsConnection; -}; - -/** A `Block` edge in the connection, with data from `Permission`. */ -export type BlockBlocksByPermissionCreatedBlockIdAndUpdatedBlockIdManyToManyEdgePermissionsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Permission`. */ -export type BlockBlocksByPermissionUpdatedBlockIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByPermissionUpdatedBlockIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Permission`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Permission`. */ -export type BlockBlocksByPermissionUpdatedBlockIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Permission`. */ -export type BlockBlocksByPermissionUpdatedBlockIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByPermissionUpdatedBlockIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Permission`. */ - permissionsByCreatedBlockId: PermissionsConnection; -}; - -/** A `Block` edge in the connection, with data from `Permission`. */ -export type BlockBlocksByPermissionUpdatedBlockIdAndCreatedBlockIdManyToManyEdgePermissionsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `PolyxTransaction`. */ -export type BlockBlocksByPolyxTransactionCreatedBlockIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByPolyxTransactionCreatedBlockIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `PolyxTransaction`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `PolyxTransaction`. */ -export type BlockBlocksByPolyxTransactionCreatedBlockIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `PolyxTransaction`. */ -export type BlockBlocksByPolyxTransactionCreatedBlockIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByPolyxTransactionCreatedBlockIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `PolyxTransaction`. */ - polyxTransactionsByUpdatedBlockId: PolyxTransactionsConnection; -}; - -/** A `Block` edge in the connection, with data from `PolyxTransaction`. */ -export type BlockBlocksByPolyxTransactionCreatedBlockIdAndUpdatedBlockIdManyToManyEdgePolyxTransactionsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `PolyxTransaction`. */ -export type BlockBlocksByPolyxTransactionUpdatedBlockIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByPolyxTransactionUpdatedBlockIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `PolyxTransaction`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `PolyxTransaction`. */ -export type BlockBlocksByPolyxTransactionUpdatedBlockIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `PolyxTransaction`. */ -export type BlockBlocksByPolyxTransactionUpdatedBlockIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByPolyxTransactionUpdatedBlockIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `PolyxTransaction`. */ - polyxTransactionsByCreatedBlockId: PolyxTransactionsConnection; -}; - -/** A `Block` edge in the connection, with data from `PolyxTransaction`. */ -export type BlockBlocksByPolyxTransactionUpdatedBlockIdAndCreatedBlockIdManyToManyEdgePolyxTransactionsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Portfolio`. */ -export type BlockBlocksByPortfolioCreatedBlockIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByPortfolioCreatedBlockIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Portfolio`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Portfolio`. */ -export type BlockBlocksByPortfolioCreatedBlockIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Portfolio`. */ -export type BlockBlocksByPortfolioCreatedBlockIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByPortfolioCreatedBlockIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Portfolio`. */ - portfoliosByUpdatedBlockId: PortfoliosConnection; -}; - -/** A `Block` edge in the connection, with data from `Portfolio`. */ -export type BlockBlocksByPortfolioCreatedBlockIdAndUpdatedBlockIdManyToManyEdgePortfoliosByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `PortfolioMovement`. */ -export type BlockBlocksByPortfolioMovementCreatedBlockIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByPortfolioMovementCreatedBlockIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `PortfolioMovement`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `PortfolioMovement`. */ -export type BlockBlocksByPortfolioMovementCreatedBlockIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `PortfolioMovement`. */ -export type BlockBlocksByPortfolioMovementCreatedBlockIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByPortfolioMovementCreatedBlockIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `PortfolioMovement`. */ - portfolioMovementsByUpdatedBlockId: PortfolioMovementsConnection; -}; - -/** A `Block` edge in the connection, with data from `PortfolioMovement`. */ -export type BlockBlocksByPortfolioMovementCreatedBlockIdAndUpdatedBlockIdManyToManyEdgePortfolioMovementsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `PortfolioMovement`. */ -export type BlockBlocksByPortfolioMovementUpdatedBlockIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByPortfolioMovementUpdatedBlockIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `PortfolioMovement`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `PortfolioMovement`. */ -export type BlockBlocksByPortfolioMovementUpdatedBlockIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `PortfolioMovement`. */ -export type BlockBlocksByPortfolioMovementUpdatedBlockIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByPortfolioMovementUpdatedBlockIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `PortfolioMovement`. */ - portfolioMovementsByCreatedBlockId: PortfolioMovementsConnection; -}; - -/** A `Block` edge in the connection, with data from `PortfolioMovement`. */ -export type BlockBlocksByPortfolioMovementUpdatedBlockIdAndCreatedBlockIdManyToManyEdgePortfolioMovementsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Portfolio`. */ -export type BlockBlocksByPortfolioUpdatedBlockIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByPortfolioUpdatedBlockIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Portfolio`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Portfolio`. */ -export type BlockBlocksByPortfolioUpdatedBlockIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Portfolio`. */ -export type BlockBlocksByPortfolioUpdatedBlockIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByPortfolioUpdatedBlockIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Portfolio`. */ - portfoliosByCreatedBlockId: PortfoliosConnection; -}; - -/** A `Block` edge in the connection, with data from `Portfolio`. */ -export type BlockBlocksByPortfolioUpdatedBlockIdAndCreatedBlockIdManyToManyEdgePortfoliosByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Proposal`. */ -export type BlockBlocksByProposalCreatedBlockIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByProposalCreatedBlockIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Proposal`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Proposal`. */ -export type BlockBlocksByProposalCreatedBlockIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Proposal`. */ -export type BlockBlocksByProposalCreatedBlockIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByProposalCreatedBlockIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Proposal`. */ - proposalsByUpdatedBlockId: ProposalsConnection; -}; - -/** A `Block` edge in the connection, with data from `Proposal`. */ -export type BlockBlocksByProposalCreatedBlockIdAndUpdatedBlockIdManyToManyEdgeProposalsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Proposal`. */ -export type BlockBlocksByProposalUpdatedBlockIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByProposalUpdatedBlockIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Proposal`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Proposal`. */ -export type BlockBlocksByProposalUpdatedBlockIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Proposal`. */ -export type BlockBlocksByProposalUpdatedBlockIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByProposalUpdatedBlockIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Proposal`. */ - proposalsByCreatedBlockId: ProposalsConnection; -}; - -/** A `Block` edge in the connection, with data from `Proposal`. */ -export type BlockBlocksByProposalUpdatedBlockIdAndCreatedBlockIdManyToManyEdgeProposalsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `ProposalVote`. */ -export type BlockBlocksByProposalVoteCreatedBlockIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByProposalVoteCreatedBlockIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `ProposalVote`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `ProposalVote`. */ -export type BlockBlocksByProposalVoteCreatedBlockIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `ProposalVote`. */ -export type BlockBlocksByProposalVoteCreatedBlockIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByProposalVoteCreatedBlockIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `ProposalVote`. */ - proposalVotesByUpdatedBlockId: ProposalVotesConnection; -}; - -/** A `Block` edge in the connection, with data from `ProposalVote`. */ -export type BlockBlocksByProposalVoteCreatedBlockIdAndUpdatedBlockIdManyToManyEdgeProposalVotesByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `ProposalVote`. */ -export type BlockBlocksByProposalVoteUpdatedBlockIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByProposalVoteUpdatedBlockIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `ProposalVote`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `ProposalVote`. */ -export type BlockBlocksByProposalVoteUpdatedBlockIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `ProposalVote`. */ -export type BlockBlocksByProposalVoteUpdatedBlockIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByProposalVoteUpdatedBlockIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `ProposalVote`. */ - proposalVotesByCreatedBlockId: ProposalVotesConnection; -}; - -/** A `Block` edge in the connection, with data from `ProposalVote`. */ -export type BlockBlocksByProposalVoteUpdatedBlockIdAndCreatedBlockIdManyToManyEdgeProposalVotesByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Settlement`. */ -export type BlockBlocksBySettlementCreatedBlockIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksBySettlementCreatedBlockIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Settlement`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Settlement`. */ -export type BlockBlocksBySettlementCreatedBlockIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Settlement`. */ -export type BlockBlocksBySettlementCreatedBlockIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksBySettlementCreatedBlockIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Settlement`. */ - settlementsByUpdatedBlockId: SettlementsConnection; -}; - -/** A `Block` edge in the connection, with data from `Settlement`. */ -export type BlockBlocksBySettlementCreatedBlockIdAndUpdatedBlockIdManyToManyEdgeSettlementsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Settlement`. */ -export type BlockBlocksBySettlementUpdatedBlockIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksBySettlementUpdatedBlockIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Settlement`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Settlement`. */ -export type BlockBlocksBySettlementUpdatedBlockIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Settlement`. */ -export type BlockBlocksBySettlementUpdatedBlockIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksBySettlementUpdatedBlockIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Settlement`. */ - settlementsByCreatedBlockId: SettlementsConnection; -}; - -/** A `Block` edge in the connection, with data from `Settlement`. */ -export type BlockBlocksBySettlementUpdatedBlockIdAndCreatedBlockIdManyToManyEdgeSettlementsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `StakingEvent`. */ -export type BlockBlocksByStakingEventCreatedBlockIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByStakingEventCreatedBlockIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `StakingEvent`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `StakingEvent`. */ -export type BlockBlocksByStakingEventCreatedBlockIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `StakingEvent`. */ -export type BlockBlocksByStakingEventCreatedBlockIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByStakingEventCreatedBlockIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `StakingEvent`. */ - stakingEventsByUpdatedBlockId: StakingEventsConnection; -}; - -/** A `Block` edge in the connection, with data from `StakingEvent`. */ -export type BlockBlocksByStakingEventCreatedBlockIdAndUpdatedBlockIdManyToManyEdgeStakingEventsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `StakingEvent`. */ -export type BlockBlocksByStakingEventUpdatedBlockIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByStakingEventUpdatedBlockIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `StakingEvent`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `StakingEvent`. */ -export type BlockBlocksByStakingEventUpdatedBlockIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `StakingEvent`. */ -export type BlockBlocksByStakingEventUpdatedBlockIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByStakingEventUpdatedBlockIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `StakingEvent`. */ - stakingEventsByCreatedBlockId: StakingEventsConnection; -}; - -/** A `Block` edge in the connection, with data from `StakingEvent`. */ -export type BlockBlocksByStakingEventUpdatedBlockIdAndCreatedBlockIdManyToManyEdgeStakingEventsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `StatType`. */ -export type BlockBlocksByStatTypeCreatedBlockIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByStatTypeCreatedBlockIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `StatType`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `StatType`. */ -export type BlockBlocksByStatTypeCreatedBlockIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `StatType`. */ -export type BlockBlocksByStatTypeCreatedBlockIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByStatTypeCreatedBlockIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `StatType`. */ - statTypesByUpdatedBlockId: StatTypesConnection; -}; - -/** A `Block` edge in the connection, with data from `StatType`. */ -export type BlockBlocksByStatTypeCreatedBlockIdAndUpdatedBlockIdManyToManyEdgeStatTypesByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `StatType`. */ -export type BlockBlocksByStatTypeUpdatedBlockIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByStatTypeUpdatedBlockIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `StatType`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `StatType`. */ -export type BlockBlocksByStatTypeUpdatedBlockIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `StatType`. */ -export type BlockBlocksByStatTypeUpdatedBlockIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByStatTypeUpdatedBlockIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `StatType`. */ - statTypesByCreatedBlockId: StatTypesConnection; -}; - -/** A `Block` edge in the connection, with data from `StatType`. */ -export type BlockBlocksByStatTypeUpdatedBlockIdAndCreatedBlockIdManyToManyEdgeStatTypesByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Sto`. */ -export type BlockBlocksByStoCreatedBlockIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByStoCreatedBlockIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Sto`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Sto`. */ -export type BlockBlocksByStoCreatedBlockIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Sto`. */ -export type BlockBlocksByStoCreatedBlockIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByStoCreatedBlockIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Sto`. */ - stosByUpdatedBlockId: StosConnection; -}; - -/** A `Block` edge in the connection, with data from `Sto`. */ -export type BlockBlocksByStoCreatedBlockIdAndUpdatedBlockIdManyToManyEdgeStosByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Sto`. */ -export type BlockBlocksByStoUpdatedBlockIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByStoUpdatedBlockIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Sto`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Sto`. */ -export type BlockBlocksByStoUpdatedBlockIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Sto`. */ -export type BlockBlocksByStoUpdatedBlockIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByStoUpdatedBlockIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Sto`. */ - stosByCreatedBlockId: StosConnection; -}; - -/** A `Block` edge in the connection, with data from `Sto`. */ -export type BlockBlocksByStoUpdatedBlockIdAndCreatedBlockIdManyToManyEdgeStosByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `TickerExternalAgentAction`. */ -export type BlockBlocksByTickerExternalAgentActionCreatedBlockIdAndUpdatedBlockIdManyToManyConnection = - { - __typename?: 'BlockBlocksByTickerExternalAgentActionCreatedBlockIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `TickerExternalAgentAction`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Block` values, with data from `TickerExternalAgentAction`. */ -export type BlockBlocksByTickerExternalAgentActionCreatedBlockIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `TickerExternalAgentAction`. */ -export type BlockBlocksByTickerExternalAgentActionCreatedBlockIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByTickerExternalAgentActionCreatedBlockIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TickerExternalAgentAction`. */ - tickerExternalAgentActionsByUpdatedBlockId: TickerExternalAgentActionsConnection; -}; - -/** A `Block` edge in the connection, with data from `TickerExternalAgentAction`. */ -export type BlockBlocksByTickerExternalAgentActionCreatedBlockIdAndUpdatedBlockIdManyToManyEdgeTickerExternalAgentActionsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `TickerExternalAgentAction`. */ -export type BlockBlocksByTickerExternalAgentActionUpdatedBlockIdAndCreatedBlockIdManyToManyConnection = - { - __typename?: 'BlockBlocksByTickerExternalAgentActionUpdatedBlockIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `TickerExternalAgentAction`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Block` values, with data from `TickerExternalAgentAction`. */ -export type BlockBlocksByTickerExternalAgentActionUpdatedBlockIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `TickerExternalAgentAction`. */ -export type BlockBlocksByTickerExternalAgentActionUpdatedBlockIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByTickerExternalAgentActionUpdatedBlockIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TickerExternalAgentAction`. */ - tickerExternalAgentActionsByCreatedBlockId: TickerExternalAgentActionsConnection; -}; - -/** A `Block` edge in the connection, with data from `TickerExternalAgentAction`. */ -export type BlockBlocksByTickerExternalAgentActionUpdatedBlockIdAndCreatedBlockIdManyToManyEdgeTickerExternalAgentActionsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `TickerExternalAgent`. */ -export type BlockBlocksByTickerExternalAgentCreatedBlockIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByTickerExternalAgentCreatedBlockIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `TickerExternalAgent`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `TickerExternalAgent`. */ -export type BlockBlocksByTickerExternalAgentCreatedBlockIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `TickerExternalAgent`. */ -export type BlockBlocksByTickerExternalAgentCreatedBlockIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByTickerExternalAgentCreatedBlockIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TickerExternalAgent`. */ - tickerExternalAgentsByUpdatedBlockId: TickerExternalAgentsConnection; -}; - -/** A `Block` edge in the connection, with data from `TickerExternalAgent`. */ -export type BlockBlocksByTickerExternalAgentCreatedBlockIdAndUpdatedBlockIdManyToManyEdgeTickerExternalAgentsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `TickerExternalAgentHistory`. */ -export type BlockBlocksByTickerExternalAgentHistoryCreatedBlockIdAndUpdatedBlockIdManyToManyConnection = - { - __typename?: 'BlockBlocksByTickerExternalAgentHistoryCreatedBlockIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `TickerExternalAgentHistory`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Block` values, with data from `TickerExternalAgentHistory`. */ -export type BlockBlocksByTickerExternalAgentHistoryCreatedBlockIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `TickerExternalAgentHistory`. */ -export type BlockBlocksByTickerExternalAgentHistoryCreatedBlockIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByTickerExternalAgentHistoryCreatedBlockIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TickerExternalAgentHistory`. */ - tickerExternalAgentHistoriesByUpdatedBlockId: TickerExternalAgentHistoriesConnection; -}; - -/** A `Block` edge in the connection, with data from `TickerExternalAgentHistory`. */ -export type BlockBlocksByTickerExternalAgentHistoryCreatedBlockIdAndUpdatedBlockIdManyToManyEdgeTickerExternalAgentHistoriesByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `TickerExternalAgentHistory`. */ -export type BlockBlocksByTickerExternalAgentHistoryUpdatedBlockIdAndCreatedBlockIdManyToManyConnection = - { - __typename?: 'BlockBlocksByTickerExternalAgentHistoryUpdatedBlockIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `TickerExternalAgentHistory`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Block` values, with data from `TickerExternalAgentHistory`. */ -export type BlockBlocksByTickerExternalAgentHistoryUpdatedBlockIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `TickerExternalAgentHistory`. */ -export type BlockBlocksByTickerExternalAgentHistoryUpdatedBlockIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByTickerExternalAgentHistoryUpdatedBlockIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TickerExternalAgentHistory`. */ - tickerExternalAgentHistoriesByCreatedBlockId: TickerExternalAgentHistoriesConnection; -}; - -/** A `Block` edge in the connection, with data from `TickerExternalAgentHistory`. */ -export type BlockBlocksByTickerExternalAgentHistoryUpdatedBlockIdAndCreatedBlockIdManyToManyEdgeTickerExternalAgentHistoriesByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `TickerExternalAgent`. */ -export type BlockBlocksByTickerExternalAgentUpdatedBlockIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByTickerExternalAgentUpdatedBlockIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `TickerExternalAgent`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `TickerExternalAgent`. */ -export type BlockBlocksByTickerExternalAgentUpdatedBlockIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `TickerExternalAgent`. */ -export type BlockBlocksByTickerExternalAgentUpdatedBlockIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByTickerExternalAgentUpdatedBlockIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TickerExternalAgent`. */ - tickerExternalAgentsByCreatedBlockId: TickerExternalAgentsConnection; -}; - -/** A `Block` edge in the connection, with data from `TickerExternalAgent`. */ -export type BlockBlocksByTickerExternalAgentUpdatedBlockIdAndCreatedBlockIdManyToManyEdgeTickerExternalAgentsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `TransferCompliance`. */ -export type BlockBlocksByTransferComplianceCreatedBlockIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByTransferComplianceCreatedBlockIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `TransferCompliance`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `TransferCompliance`. */ -export type BlockBlocksByTransferComplianceCreatedBlockIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `TransferCompliance`. */ -export type BlockBlocksByTransferComplianceCreatedBlockIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByTransferComplianceCreatedBlockIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TransferCompliance`. */ - transferCompliancesByUpdatedBlockId: TransferCompliancesConnection; -}; - -/** A `Block` edge in the connection, with data from `TransferCompliance`. */ -export type BlockBlocksByTransferComplianceCreatedBlockIdAndUpdatedBlockIdManyToManyEdgeTransferCompliancesByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `TransferComplianceExemption`. */ -export type BlockBlocksByTransferComplianceExemptionCreatedBlockIdAndUpdatedBlockIdManyToManyConnection = - { - __typename?: 'BlockBlocksByTransferComplianceExemptionCreatedBlockIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `TransferComplianceExemption`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Block` values, with data from `TransferComplianceExemption`. */ -export type BlockBlocksByTransferComplianceExemptionCreatedBlockIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `TransferComplianceExemption`. */ -export type BlockBlocksByTransferComplianceExemptionCreatedBlockIdAndUpdatedBlockIdManyToManyEdge = - { - __typename?: 'BlockBlocksByTransferComplianceExemptionCreatedBlockIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TransferComplianceExemption`. */ - transferComplianceExemptionsByUpdatedBlockId: TransferComplianceExemptionsConnection; - }; - -/** A `Block` edge in the connection, with data from `TransferComplianceExemption`. */ -export type BlockBlocksByTransferComplianceExemptionCreatedBlockIdAndUpdatedBlockIdManyToManyEdgeTransferComplianceExemptionsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `TransferComplianceExemption`. */ -export type BlockBlocksByTransferComplianceExemptionUpdatedBlockIdAndCreatedBlockIdManyToManyConnection = - { - __typename?: 'BlockBlocksByTransferComplianceExemptionUpdatedBlockIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `TransferComplianceExemption`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Block` values, with data from `TransferComplianceExemption`. */ -export type BlockBlocksByTransferComplianceExemptionUpdatedBlockIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `TransferComplianceExemption`. */ -export type BlockBlocksByTransferComplianceExemptionUpdatedBlockIdAndCreatedBlockIdManyToManyEdge = - { - __typename?: 'BlockBlocksByTransferComplianceExemptionUpdatedBlockIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TransferComplianceExemption`. */ - transferComplianceExemptionsByCreatedBlockId: TransferComplianceExemptionsConnection; - }; - -/** A `Block` edge in the connection, with data from `TransferComplianceExemption`. */ -export type BlockBlocksByTransferComplianceExemptionUpdatedBlockIdAndCreatedBlockIdManyToManyEdgeTransferComplianceExemptionsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `TransferCompliance`. */ -export type BlockBlocksByTransferComplianceUpdatedBlockIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByTransferComplianceUpdatedBlockIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `TransferCompliance`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `TransferCompliance`. */ -export type BlockBlocksByTransferComplianceUpdatedBlockIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `TransferCompliance`. */ -export type BlockBlocksByTransferComplianceUpdatedBlockIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByTransferComplianceUpdatedBlockIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TransferCompliance`. */ - transferCompliancesByCreatedBlockId: TransferCompliancesConnection; -}; - -/** A `Block` edge in the connection, with data from `TransferCompliance`. */ -export type BlockBlocksByTransferComplianceUpdatedBlockIdAndCreatedBlockIdManyToManyEdgeTransferCompliancesByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `TransferManager`. */ -export type BlockBlocksByTransferManagerCreatedBlockIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByTransferManagerCreatedBlockIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `TransferManager`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `TransferManager`. */ -export type BlockBlocksByTransferManagerCreatedBlockIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `TransferManager`. */ -export type BlockBlocksByTransferManagerCreatedBlockIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByTransferManagerCreatedBlockIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TransferManager`. */ - transferManagersByUpdatedBlockId: TransferManagersConnection; -}; - -/** A `Block` edge in the connection, with data from `TransferManager`. */ -export type BlockBlocksByTransferManagerCreatedBlockIdAndUpdatedBlockIdManyToManyEdgeTransferManagersByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `TransferManager`. */ -export type BlockBlocksByTransferManagerUpdatedBlockIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByTransferManagerUpdatedBlockIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `TransferManager`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `TransferManager`. */ -export type BlockBlocksByTransferManagerUpdatedBlockIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `TransferManager`. */ -export type BlockBlocksByTransferManagerUpdatedBlockIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByTransferManagerUpdatedBlockIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TransferManager`. */ - transferManagersByCreatedBlockId: TransferManagersConnection; -}; - -/** A `Block` edge in the connection, with data from `TransferManager`. */ -export type BlockBlocksByTransferManagerUpdatedBlockIdAndCreatedBlockIdManyToManyEdgeTransferManagersByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `TrustedClaimIssuer`. */ -export type BlockBlocksByTrustedClaimIssuerCreatedBlockIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByTrustedClaimIssuerCreatedBlockIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `TrustedClaimIssuer`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `TrustedClaimIssuer`. */ -export type BlockBlocksByTrustedClaimIssuerCreatedBlockIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `TrustedClaimIssuer`. */ -export type BlockBlocksByTrustedClaimIssuerCreatedBlockIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByTrustedClaimIssuerCreatedBlockIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TrustedClaimIssuer`. */ - trustedClaimIssuersByUpdatedBlockId: TrustedClaimIssuersConnection; -}; - -/** A `Block` edge in the connection, with data from `TrustedClaimIssuer`. */ -export type BlockBlocksByTrustedClaimIssuerCreatedBlockIdAndUpdatedBlockIdManyToManyEdgeTrustedClaimIssuersByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `TrustedClaimIssuer`. */ -export type BlockBlocksByTrustedClaimIssuerUpdatedBlockIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByTrustedClaimIssuerUpdatedBlockIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `TrustedClaimIssuer`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `TrustedClaimIssuer`. */ -export type BlockBlocksByTrustedClaimIssuerUpdatedBlockIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `TrustedClaimIssuer`. */ -export type BlockBlocksByTrustedClaimIssuerUpdatedBlockIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByTrustedClaimIssuerUpdatedBlockIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TrustedClaimIssuer`. */ - trustedClaimIssuersByCreatedBlockId: TrustedClaimIssuersConnection; -}; - -/** A `Block` edge in the connection, with data from `TrustedClaimIssuer`. */ -export type BlockBlocksByTrustedClaimIssuerUpdatedBlockIdAndCreatedBlockIdManyToManyEdgeTrustedClaimIssuersByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Venue`. */ -export type BlockBlocksByVenueCreatedBlockIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByVenueCreatedBlockIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Venue`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Venue`. */ -export type BlockBlocksByVenueCreatedBlockIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Venue`. */ -export type BlockBlocksByVenueCreatedBlockIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByVenueCreatedBlockIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Venue`. */ - venuesByUpdatedBlockId: VenuesConnection; -}; - -/** A `Block` edge in the connection, with data from `Venue`. */ -export type BlockBlocksByVenueCreatedBlockIdAndUpdatedBlockIdManyToManyEdgeVenuesByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Venue`. */ -export type BlockBlocksByVenueUpdatedBlockIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'BlockBlocksByVenueUpdatedBlockIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Venue`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Venue`. */ -export type BlockBlocksByVenueUpdatedBlockIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Venue`. */ -export type BlockBlocksByVenueUpdatedBlockIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'BlockBlocksByVenueUpdatedBlockIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Venue`. */ - venuesByCreatedBlockId: VenuesConnection; -}; - -/** A `Block` edge in the connection, with data from `Venue`. */ -export type BlockBlocksByVenueUpdatedBlockIdAndCreatedBlockIdManyToManyEdgeVenuesByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialAssetHistory`. */ -export type BlockConfidentialAccountsByConfidentialAssetHistoryCreatedBlockIdAndFromIdManyToManyConnection = - { - __typename?: 'BlockConfidentialAccountsByConfidentialAssetHistoryCreatedBlockIdAndFromIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `ConfidentialAccount`, info from the `ConfidentialAssetHistory`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `ConfidentialAccount` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `ConfidentialAccount` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialAssetHistory`. */ -export type BlockConfidentialAccountsByConfidentialAssetHistoryCreatedBlockIdAndFromIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialAssetHistory`. */ -export type BlockConfidentialAccountsByConfidentialAssetHistoryCreatedBlockIdAndFromIdManyToManyEdge = - { - __typename?: 'BlockConfidentialAccountsByConfidentialAssetHistoryCreatedBlockIdAndFromIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ - confidentialAssetHistoriesByFromId: ConfidentialAssetHistoriesConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `ConfidentialAccount` at the end of the edge. */ - node?: Maybe; - }; - -/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialAssetHistory`. */ -export type BlockConfidentialAccountsByConfidentialAssetHistoryCreatedBlockIdAndFromIdManyToManyEdgeConfidentialAssetHistoriesByFromIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialAssetHistory`. */ -export type BlockConfidentialAccountsByConfidentialAssetHistoryCreatedBlockIdAndToIdManyToManyConnection = - { - __typename?: 'BlockConfidentialAccountsByConfidentialAssetHistoryCreatedBlockIdAndToIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `ConfidentialAccount`, info from the `ConfidentialAssetHistory`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `ConfidentialAccount` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `ConfidentialAccount` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialAssetHistory`. */ -export type BlockConfidentialAccountsByConfidentialAssetHistoryCreatedBlockIdAndToIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialAssetHistory`. */ -export type BlockConfidentialAccountsByConfidentialAssetHistoryCreatedBlockIdAndToIdManyToManyEdge = - { - __typename?: 'BlockConfidentialAccountsByConfidentialAssetHistoryCreatedBlockIdAndToIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ - confidentialAssetHistoriesByToId: ConfidentialAssetHistoriesConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `ConfidentialAccount` at the end of the edge. */ - node?: Maybe; - }; - -/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialAssetHistory`. */ -export type BlockConfidentialAccountsByConfidentialAssetHistoryCreatedBlockIdAndToIdManyToManyEdgeConfidentialAssetHistoriesByToIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialAssetHistory`. */ -export type BlockConfidentialAccountsByConfidentialAssetHistoryUpdatedBlockIdAndFromIdManyToManyConnection = - { - __typename?: 'BlockConfidentialAccountsByConfidentialAssetHistoryUpdatedBlockIdAndFromIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `ConfidentialAccount`, info from the `ConfidentialAssetHistory`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `ConfidentialAccount` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `ConfidentialAccount` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialAssetHistory`. */ -export type BlockConfidentialAccountsByConfidentialAssetHistoryUpdatedBlockIdAndFromIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialAssetHistory`. */ -export type BlockConfidentialAccountsByConfidentialAssetHistoryUpdatedBlockIdAndFromIdManyToManyEdge = - { - __typename?: 'BlockConfidentialAccountsByConfidentialAssetHistoryUpdatedBlockIdAndFromIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ - confidentialAssetHistoriesByFromId: ConfidentialAssetHistoriesConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `ConfidentialAccount` at the end of the edge. */ - node?: Maybe; - }; - -/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialAssetHistory`. */ -export type BlockConfidentialAccountsByConfidentialAssetHistoryUpdatedBlockIdAndFromIdManyToManyEdgeConfidentialAssetHistoriesByFromIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialAssetHistory`. */ -export type BlockConfidentialAccountsByConfidentialAssetHistoryUpdatedBlockIdAndToIdManyToManyConnection = - { - __typename?: 'BlockConfidentialAccountsByConfidentialAssetHistoryUpdatedBlockIdAndToIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `ConfidentialAccount`, info from the `ConfidentialAssetHistory`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `ConfidentialAccount` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `ConfidentialAccount` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialAssetHistory`. */ -export type BlockConfidentialAccountsByConfidentialAssetHistoryUpdatedBlockIdAndToIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialAssetHistory`. */ -export type BlockConfidentialAccountsByConfidentialAssetHistoryUpdatedBlockIdAndToIdManyToManyEdge = - { - __typename?: 'BlockConfidentialAccountsByConfidentialAssetHistoryUpdatedBlockIdAndToIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ - confidentialAssetHistoriesByToId: ConfidentialAssetHistoriesConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `ConfidentialAccount` at the end of the edge. */ - node?: Maybe; - }; - -/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialAssetHistory`. */ -export type BlockConfidentialAccountsByConfidentialAssetHistoryUpdatedBlockIdAndToIdManyToManyEdgeConfidentialAssetHistoriesByToIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialAssetHolder`. */ -export type BlockConfidentialAccountsByConfidentialAssetHolderCreatedBlockIdAndAccountIdManyToManyConnection = - { - __typename?: 'BlockConfidentialAccountsByConfidentialAssetHolderCreatedBlockIdAndAccountIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `ConfidentialAccount`, info from the `ConfidentialAssetHolder`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `ConfidentialAccount` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `ConfidentialAccount` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialAssetHolder`. */ -export type BlockConfidentialAccountsByConfidentialAssetHolderCreatedBlockIdAndAccountIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialAssetHolder`. */ -export type BlockConfidentialAccountsByConfidentialAssetHolderCreatedBlockIdAndAccountIdManyToManyEdge = - { - __typename?: 'BlockConfidentialAccountsByConfidentialAssetHolderCreatedBlockIdAndAccountIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialAssetHolder`. */ - confidentialAssetHoldersByAccountId: ConfidentialAssetHoldersConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `ConfidentialAccount` at the end of the edge. */ - node?: Maybe; - }; - -/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialAssetHolder`. */ -export type BlockConfidentialAccountsByConfidentialAssetHolderCreatedBlockIdAndAccountIdManyToManyEdgeConfidentialAssetHoldersByAccountIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialAssetHolder`. */ -export type BlockConfidentialAccountsByConfidentialAssetHolderUpdatedBlockIdAndAccountIdManyToManyConnection = - { - __typename?: 'BlockConfidentialAccountsByConfidentialAssetHolderUpdatedBlockIdAndAccountIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `ConfidentialAccount`, info from the `ConfidentialAssetHolder`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `ConfidentialAccount` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `ConfidentialAccount` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialAssetHolder`. */ -export type BlockConfidentialAccountsByConfidentialAssetHolderUpdatedBlockIdAndAccountIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialAssetHolder`. */ -export type BlockConfidentialAccountsByConfidentialAssetHolderUpdatedBlockIdAndAccountIdManyToManyEdge = - { - __typename?: 'BlockConfidentialAccountsByConfidentialAssetHolderUpdatedBlockIdAndAccountIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialAssetHolder`. */ - confidentialAssetHoldersByAccountId: ConfidentialAssetHoldersConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `ConfidentialAccount` at the end of the edge. */ - node?: Maybe; - }; - -/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialAssetHolder`. */ -export type BlockConfidentialAccountsByConfidentialAssetHolderUpdatedBlockIdAndAccountIdManyToManyEdgeConfidentialAssetHoldersByAccountIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialLeg`. */ -export type BlockConfidentialAccountsByConfidentialLegCreatedBlockIdAndReceiverIdManyToManyConnection = - { - __typename?: 'BlockConfidentialAccountsByConfidentialLegCreatedBlockIdAndReceiverIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `ConfidentialAccount`, info from the `ConfidentialLeg`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `ConfidentialAccount` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `ConfidentialAccount` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialLeg`. */ -export type BlockConfidentialAccountsByConfidentialLegCreatedBlockIdAndReceiverIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialLeg`. */ -export type BlockConfidentialAccountsByConfidentialLegCreatedBlockIdAndReceiverIdManyToManyEdge = { - __typename?: 'BlockConfidentialAccountsByConfidentialLegCreatedBlockIdAndReceiverIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialLeg`. */ - confidentialLegsByReceiverId: ConfidentialLegsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `ConfidentialAccount` at the end of the edge. */ - node?: Maybe; -}; - -/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialLeg`. */ -export type BlockConfidentialAccountsByConfidentialLegCreatedBlockIdAndReceiverIdManyToManyEdgeConfidentialLegsByReceiverIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialLeg`. */ -export type BlockConfidentialAccountsByConfidentialLegCreatedBlockIdAndSenderIdManyToManyConnection = - { - __typename?: 'BlockConfidentialAccountsByConfidentialLegCreatedBlockIdAndSenderIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `ConfidentialAccount`, info from the `ConfidentialLeg`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `ConfidentialAccount` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `ConfidentialAccount` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialLeg`. */ -export type BlockConfidentialAccountsByConfidentialLegCreatedBlockIdAndSenderIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialLeg`. */ -export type BlockConfidentialAccountsByConfidentialLegCreatedBlockIdAndSenderIdManyToManyEdge = { - __typename?: 'BlockConfidentialAccountsByConfidentialLegCreatedBlockIdAndSenderIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialLeg`. */ - confidentialLegsBySenderId: ConfidentialLegsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `ConfidentialAccount` at the end of the edge. */ - node?: Maybe; -}; - -/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialLeg`. */ -export type BlockConfidentialAccountsByConfidentialLegCreatedBlockIdAndSenderIdManyToManyEdgeConfidentialLegsBySenderIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialLeg`. */ -export type BlockConfidentialAccountsByConfidentialLegUpdatedBlockIdAndReceiverIdManyToManyConnection = - { - __typename?: 'BlockConfidentialAccountsByConfidentialLegUpdatedBlockIdAndReceiverIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `ConfidentialAccount`, info from the `ConfidentialLeg`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `ConfidentialAccount` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `ConfidentialAccount` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialLeg`. */ -export type BlockConfidentialAccountsByConfidentialLegUpdatedBlockIdAndReceiverIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialLeg`. */ -export type BlockConfidentialAccountsByConfidentialLegUpdatedBlockIdAndReceiverIdManyToManyEdge = { - __typename?: 'BlockConfidentialAccountsByConfidentialLegUpdatedBlockIdAndReceiverIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialLeg`. */ - confidentialLegsByReceiverId: ConfidentialLegsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `ConfidentialAccount` at the end of the edge. */ - node?: Maybe; -}; - -/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialLeg`. */ -export type BlockConfidentialAccountsByConfidentialLegUpdatedBlockIdAndReceiverIdManyToManyEdgeConfidentialLegsByReceiverIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialLeg`. */ -export type BlockConfidentialAccountsByConfidentialLegUpdatedBlockIdAndSenderIdManyToManyConnection = - { - __typename?: 'BlockConfidentialAccountsByConfidentialLegUpdatedBlockIdAndSenderIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `ConfidentialAccount`, info from the `ConfidentialLeg`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `ConfidentialAccount` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `ConfidentialAccount` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialLeg`. */ -export type BlockConfidentialAccountsByConfidentialLegUpdatedBlockIdAndSenderIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialLeg`. */ -export type BlockConfidentialAccountsByConfidentialLegUpdatedBlockIdAndSenderIdManyToManyEdge = { - __typename?: 'BlockConfidentialAccountsByConfidentialLegUpdatedBlockIdAndSenderIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialLeg`. */ - confidentialLegsBySenderId: ConfidentialLegsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `ConfidentialAccount` at the end of the edge. */ - node?: Maybe; -}; - -/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialLeg`. */ -export type BlockConfidentialAccountsByConfidentialLegUpdatedBlockIdAndSenderIdManyToManyEdgeConfidentialLegsBySenderIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialTransactionAffirmation`. */ -export type BlockConfidentialAccountsByConfidentialTransactionAffirmationCreatedBlockIdAndAccountIdManyToManyConnection = - { - __typename?: 'BlockConfidentialAccountsByConfidentialTransactionAffirmationCreatedBlockIdAndAccountIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `ConfidentialAccount`, info from the `ConfidentialTransactionAffirmation`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `ConfidentialAccount` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `ConfidentialAccount` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialTransactionAffirmation`. */ -export type BlockConfidentialAccountsByConfidentialTransactionAffirmationCreatedBlockIdAndAccountIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ -export type BlockConfidentialAccountsByConfidentialTransactionAffirmationCreatedBlockIdAndAccountIdManyToManyEdge = - { - __typename?: 'BlockConfidentialAccountsByConfidentialTransactionAffirmationCreatedBlockIdAndAccountIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialTransactionAffirmation`. */ - confidentialTransactionAffirmationsByAccountId: ConfidentialTransactionAffirmationsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `ConfidentialAccount` at the end of the edge. */ - node?: Maybe; - }; - -/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ -export type BlockConfidentialAccountsByConfidentialTransactionAffirmationCreatedBlockIdAndAccountIdManyToManyEdgeConfidentialTransactionAffirmationsByAccountIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialTransactionAffirmation`. */ -export type BlockConfidentialAccountsByConfidentialTransactionAffirmationUpdatedBlockIdAndAccountIdManyToManyConnection = - { - __typename?: 'BlockConfidentialAccountsByConfidentialTransactionAffirmationUpdatedBlockIdAndAccountIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `ConfidentialAccount`, info from the `ConfidentialTransactionAffirmation`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `ConfidentialAccount` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `ConfidentialAccount` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialTransactionAffirmation`. */ -export type BlockConfidentialAccountsByConfidentialTransactionAffirmationUpdatedBlockIdAndAccountIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ -export type BlockConfidentialAccountsByConfidentialTransactionAffirmationUpdatedBlockIdAndAccountIdManyToManyEdge = - { - __typename?: 'BlockConfidentialAccountsByConfidentialTransactionAffirmationUpdatedBlockIdAndAccountIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialTransactionAffirmation`. */ - confidentialTransactionAffirmationsByAccountId: ConfidentialTransactionAffirmationsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `ConfidentialAccount` at the end of the edge. */ - node?: Maybe; - }; - -/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ -export type BlockConfidentialAccountsByConfidentialTransactionAffirmationUpdatedBlockIdAndAccountIdManyToManyEdgeConfidentialTransactionAffirmationsByAccountIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `ConfidentialAsset` values, with data from `ConfidentialAssetHistory`. */ -export type BlockConfidentialAssetsByConfidentialAssetHistoryCreatedBlockIdAndAssetIdManyToManyConnection = - { - __typename?: 'BlockConfidentialAssetsByConfidentialAssetHistoryCreatedBlockIdAndAssetIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `ConfidentialAsset`, info from the `ConfidentialAssetHistory`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `ConfidentialAsset` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `ConfidentialAsset` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `ConfidentialAsset` values, with data from `ConfidentialAssetHistory`. */ -export type BlockConfidentialAssetsByConfidentialAssetHistoryCreatedBlockIdAndAssetIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `ConfidentialAsset` edge in the connection, with data from `ConfidentialAssetHistory`. */ -export type BlockConfidentialAssetsByConfidentialAssetHistoryCreatedBlockIdAndAssetIdManyToManyEdge = - { - __typename?: 'BlockConfidentialAssetsByConfidentialAssetHistoryCreatedBlockIdAndAssetIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ - confidentialAssetHistoriesByAssetId: ConfidentialAssetHistoriesConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `ConfidentialAsset` at the end of the edge. */ - node?: Maybe; - }; - -/** A `ConfidentialAsset` edge in the connection, with data from `ConfidentialAssetHistory`. */ -export type BlockConfidentialAssetsByConfidentialAssetHistoryCreatedBlockIdAndAssetIdManyToManyEdgeConfidentialAssetHistoriesByAssetIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `ConfidentialAsset` values, with data from `ConfidentialAssetHistory`. */ -export type BlockConfidentialAssetsByConfidentialAssetHistoryUpdatedBlockIdAndAssetIdManyToManyConnection = - { - __typename?: 'BlockConfidentialAssetsByConfidentialAssetHistoryUpdatedBlockIdAndAssetIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `ConfidentialAsset`, info from the `ConfidentialAssetHistory`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `ConfidentialAsset` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `ConfidentialAsset` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `ConfidentialAsset` values, with data from `ConfidentialAssetHistory`. */ -export type BlockConfidentialAssetsByConfidentialAssetHistoryUpdatedBlockIdAndAssetIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `ConfidentialAsset` edge in the connection, with data from `ConfidentialAssetHistory`. */ -export type BlockConfidentialAssetsByConfidentialAssetHistoryUpdatedBlockIdAndAssetIdManyToManyEdge = - { - __typename?: 'BlockConfidentialAssetsByConfidentialAssetHistoryUpdatedBlockIdAndAssetIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ - confidentialAssetHistoriesByAssetId: ConfidentialAssetHistoriesConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `ConfidentialAsset` at the end of the edge. */ - node?: Maybe; - }; - -/** A `ConfidentialAsset` edge in the connection, with data from `ConfidentialAssetHistory`. */ -export type BlockConfidentialAssetsByConfidentialAssetHistoryUpdatedBlockIdAndAssetIdManyToManyEdgeConfidentialAssetHistoriesByAssetIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `ConfidentialAsset` values, with data from `ConfidentialAssetHolder`. */ -export type BlockConfidentialAssetsByConfidentialAssetHolderCreatedBlockIdAndAssetIdManyToManyConnection = - { - __typename?: 'BlockConfidentialAssetsByConfidentialAssetHolderCreatedBlockIdAndAssetIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `ConfidentialAsset`, info from the `ConfidentialAssetHolder`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `ConfidentialAsset` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `ConfidentialAsset` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `ConfidentialAsset` values, with data from `ConfidentialAssetHolder`. */ -export type BlockConfidentialAssetsByConfidentialAssetHolderCreatedBlockIdAndAssetIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `ConfidentialAsset` edge in the connection, with data from `ConfidentialAssetHolder`. */ -export type BlockConfidentialAssetsByConfidentialAssetHolderCreatedBlockIdAndAssetIdManyToManyEdge = - { - __typename?: 'BlockConfidentialAssetsByConfidentialAssetHolderCreatedBlockIdAndAssetIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialAssetHolder`. */ - confidentialAssetHoldersByAssetId: ConfidentialAssetHoldersConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `ConfidentialAsset` at the end of the edge. */ - node?: Maybe; - }; - -/** A `ConfidentialAsset` edge in the connection, with data from `ConfidentialAssetHolder`. */ -export type BlockConfidentialAssetsByConfidentialAssetHolderCreatedBlockIdAndAssetIdManyToManyEdgeConfidentialAssetHoldersByAssetIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `ConfidentialAsset` values, with data from `ConfidentialAssetHolder`. */ -export type BlockConfidentialAssetsByConfidentialAssetHolderUpdatedBlockIdAndAssetIdManyToManyConnection = - { - __typename?: 'BlockConfidentialAssetsByConfidentialAssetHolderUpdatedBlockIdAndAssetIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `ConfidentialAsset`, info from the `ConfidentialAssetHolder`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `ConfidentialAsset` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `ConfidentialAsset` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `ConfidentialAsset` values, with data from `ConfidentialAssetHolder`. */ -export type BlockConfidentialAssetsByConfidentialAssetHolderUpdatedBlockIdAndAssetIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `ConfidentialAsset` edge in the connection, with data from `ConfidentialAssetHolder`. */ -export type BlockConfidentialAssetsByConfidentialAssetHolderUpdatedBlockIdAndAssetIdManyToManyEdge = - { - __typename?: 'BlockConfidentialAssetsByConfidentialAssetHolderUpdatedBlockIdAndAssetIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialAssetHolder`. */ - confidentialAssetHoldersByAssetId: ConfidentialAssetHoldersConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `ConfidentialAsset` at the end of the edge. */ - node?: Maybe; - }; - -/** A `ConfidentialAsset` edge in the connection, with data from `ConfidentialAssetHolder`. */ -export type BlockConfidentialAssetsByConfidentialAssetHolderUpdatedBlockIdAndAssetIdManyToManyEdgeConfidentialAssetHoldersByAssetIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `ConfidentialTransaction` values, with data from `ConfidentialAssetHistory`. */ -export type BlockConfidentialTransactionsByConfidentialAssetHistoryCreatedBlockIdAndTransactionIdManyToManyConnection = - { - __typename?: 'BlockConfidentialTransactionsByConfidentialAssetHistoryCreatedBlockIdAndTransactionIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `ConfidentialTransaction`, info from the `ConfidentialAssetHistory`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `ConfidentialTransaction` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `ConfidentialTransaction` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `ConfidentialTransaction` values, with data from `ConfidentialAssetHistory`. */ -export type BlockConfidentialTransactionsByConfidentialAssetHistoryCreatedBlockIdAndTransactionIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `ConfidentialTransaction` edge in the connection, with data from `ConfidentialAssetHistory`. */ -export type BlockConfidentialTransactionsByConfidentialAssetHistoryCreatedBlockIdAndTransactionIdManyToManyEdge = - { - __typename?: 'BlockConfidentialTransactionsByConfidentialAssetHistoryCreatedBlockIdAndTransactionIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ - confidentialAssetHistoriesByTransactionId: ConfidentialAssetHistoriesConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `ConfidentialTransaction` at the end of the edge. */ - node?: Maybe; - }; - -/** A `ConfidentialTransaction` edge in the connection, with data from `ConfidentialAssetHistory`. */ -export type BlockConfidentialTransactionsByConfidentialAssetHistoryCreatedBlockIdAndTransactionIdManyToManyEdgeConfidentialAssetHistoriesByTransactionIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `ConfidentialTransaction` values, with data from `ConfidentialAssetHistory`. */ -export type BlockConfidentialTransactionsByConfidentialAssetHistoryUpdatedBlockIdAndTransactionIdManyToManyConnection = - { - __typename?: 'BlockConfidentialTransactionsByConfidentialAssetHistoryUpdatedBlockIdAndTransactionIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `ConfidentialTransaction`, info from the `ConfidentialAssetHistory`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `ConfidentialTransaction` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `ConfidentialTransaction` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `ConfidentialTransaction` values, with data from `ConfidentialAssetHistory`. */ -export type BlockConfidentialTransactionsByConfidentialAssetHistoryUpdatedBlockIdAndTransactionIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `ConfidentialTransaction` edge in the connection, with data from `ConfidentialAssetHistory`. */ -export type BlockConfidentialTransactionsByConfidentialAssetHistoryUpdatedBlockIdAndTransactionIdManyToManyEdge = - { - __typename?: 'BlockConfidentialTransactionsByConfidentialAssetHistoryUpdatedBlockIdAndTransactionIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ - confidentialAssetHistoriesByTransactionId: ConfidentialAssetHistoriesConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `ConfidentialTransaction` at the end of the edge. */ - node?: Maybe; - }; - -/** A `ConfidentialTransaction` edge in the connection, with data from `ConfidentialAssetHistory`. */ -export type BlockConfidentialTransactionsByConfidentialAssetHistoryUpdatedBlockIdAndTransactionIdManyToManyEdgeConfidentialAssetHistoriesByTransactionIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `ConfidentialTransaction` values, with data from `ConfidentialLeg`. */ -export type BlockConfidentialTransactionsByConfidentialLegCreatedBlockIdAndTransactionIdManyToManyConnection = - { - __typename?: 'BlockConfidentialTransactionsByConfidentialLegCreatedBlockIdAndTransactionIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `ConfidentialTransaction`, info from the `ConfidentialLeg`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `ConfidentialTransaction` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `ConfidentialTransaction` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `ConfidentialTransaction` values, with data from `ConfidentialLeg`. */ -export type BlockConfidentialTransactionsByConfidentialLegCreatedBlockIdAndTransactionIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `ConfidentialTransaction` edge in the connection, with data from `ConfidentialLeg`. */ -export type BlockConfidentialTransactionsByConfidentialLegCreatedBlockIdAndTransactionIdManyToManyEdge = - { - __typename?: 'BlockConfidentialTransactionsByConfidentialLegCreatedBlockIdAndTransactionIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `ConfidentialLeg`. */ - legs: ConfidentialLegsConnection; - /** The `ConfidentialTransaction` at the end of the edge. */ - node?: Maybe; - }; - -/** A `ConfidentialTransaction` edge in the connection, with data from `ConfidentialLeg`. */ -export type BlockConfidentialTransactionsByConfidentialLegCreatedBlockIdAndTransactionIdManyToManyEdgeLegsArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `ConfidentialTransaction` values, with data from `ConfidentialLeg`. */ -export type BlockConfidentialTransactionsByConfidentialLegUpdatedBlockIdAndTransactionIdManyToManyConnection = - { - __typename?: 'BlockConfidentialTransactionsByConfidentialLegUpdatedBlockIdAndTransactionIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `ConfidentialTransaction`, info from the `ConfidentialLeg`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `ConfidentialTransaction` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `ConfidentialTransaction` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `ConfidentialTransaction` values, with data from `ConfidentialLeg`. */ -export type BlockConfidentialTransactionsByConfidentialLegUpdatedBlockIdAndTransactionIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `ConfidentialTransaction` edge in the connection, with data from `ConfidentialLeg`. */ -export type BlockConfidentialTransactionsByConfidentialLegUpdatedBlockIdAndTransactionIdManyToManyEdge = - { - __typename?: 'BlockConfidentialTransactionsByConfidentialLegUpdatedBlockIdAndTransactionIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `ConfidentialLeg`. */ - legs: ConfidentialLegsConnection; - /** The `ConfidentialTransaction` at the end of the edge. */ - node?: Maybe; - }; - -/** A `ConfidentialTransaction` edge in the connection, with data from `ConfidentialLeg`. */ -export type BlockConfidentialTransactionsByConfidentialLegUpdatedBlockIdAndTransactionIdManyToManyEdgeLegsArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `ConfidentialTransaction` values, with data from `ConfidentialTransactionAffirmation`. */ -export type BlockConfidentialTransactionsByConfidentialTransactionAffirmationCreatedBlockIdAndTransactionIdManyToManyConnection = - { - __typename?: 'BlockConfidentialTransactionsByConfidentialTransactionAffirmationCreatedBlockIdAndTransactionIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `ConfidentialTransaction`, info from the `ConfidentialTransactionAffirmation`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `ConfidentialTransaction` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `ConfidentialTransaction` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `ConfidentialTransaction` values, with data from `ConfidentialTransactionAffirmation`. */ -export type BlockConfidentialTransactionsByConfidentialTransactionAffirmationCreatedBlockIdAndTransactionIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `ConfidentialTransaction` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ -export type BlockConfidentialTransactionsByConfidentialTransactionAffirmationCreatedBlockIdAndTransactionIdManyToManyEdge = - { - __typename?: 'BlockConfidentialTransactionsByConfidentialTransactionAffirmationCreatedBlockIdAndTransactionIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialTransactionAffirmation`. */ - affirmations: ConfidentialTransactionAffirmationsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `ConfidentialTransaction` at the end of the edge. */ - node?: Maybe; - }; - -/** A `ConfidentialTransaction` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ -export type BlockConfidentialTransactionsByConfidentialTransactionAffirmationCreatedBlockIdAndTransactionIdManyToManyEdgeAffirmationsArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `ConfidentialTransaction` values, with data from `ConfidentialTransactionAffirmation`. */ -export type BlockConfidentialTransactionsByConfidentialTransactionAffirmationUpdatedBlockIdAndTransactionIdManyToManyConnection = - { - __typename?: 'BlockConfidentialTransactionsByConfidentialTransactionAffirmationUpdatedBlockIdAndTransactionIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `ConfidentialTransaction`, info from the `ConfidentialTransactionAffirmation`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `ConfidentialTransaction` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `ConfidentialTransaction` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `ConfidentialTransaction` values, with data from `ConfidentialTransactionAffirmation`. */ -export type BlockConfidentialTransactionsByConfidentialTransactionAffirmationUpdatedBlockIdAndTransactionIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `ConfidentialTransaction` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ -export type BlockConfidentialTransactionsByConfidentialTransactionAffirmationUpdatedBlockIdAndTransactionIdManyToManyEdge = - { - __typename?: 'BlockConfidentialTransactionsByConfidentialTransactionAffirmationUpdatedBlockIdAndTransactionIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialTransactionAffirmation`. */ - affirmations: ConfidentialTransactionAffirmationsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `ConfidentialTransaction` at the end of the edge. */ - node?: Maybe; - }; - -/** A `ConfidentialTransaction` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ -export type BlockConfidentialTransactionsByConfidentialTransactionAffirmationUpdatedBlockIdAndTransactionIdManyToManyEdgeAffirmationsArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `ConfidentialVenue` values, with data from `ConfidentialTransaction`. */ -export type BlockConfidentialVenuesByConfidentialTransactionCreatedBlockIdAndVenueIdManyToManyConnection = - { - __typename?: 'BlockConfidentialVenuesByConfidentialTransactionCreatedBlockIdAndVenueIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `ConfidentialVenue`, info from the `ConfidentialTransaction`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `ConfidentialVenue` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `ConfidentialVenue` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `ConfidentialVenue` values, with data from `ConfidentialTransaction`. */ -export type BlockConfidentialVenuesByConfidentialTransactionCreatedBlockIdAndVenueIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `ConfidentialVenue` edge in the connection, with data from `ConfidentialTransaction`. */ -export type BlockConfidentialVenuesByConfidentialTransactionCreatedBlockIdAndVenueIdManyToManyEdge = - { - __typename?: 'BlockConfidentialVenuesByConfidentialTransactionCreatedBlockIdAndVenueIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialTransaction`. */ - confidentialTransactionsByVenueId: ConfidentialTransactionsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `ConfidentialVenue` at the end of the edge. */ - node?: Maybe; - }; - -/** A `ConfidentialVenue` edge in the connection, with data from `ConfidentialTransaction`. */ -export type BlockConfidentialVenuesByConfidentialTransactionCreatedBlockIdAndVenueIdManyToManyEdgeConfidentialTransactionsByVenueIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `ConfidentialVenue` values, with data from `ConfidentialTransaction`. */ -export type BlockConfidentialVenuesByConfidentialTransactionUpdatedBlockIdAndVenueIdManyToManyConnection = - { - __typename?: 'BlockConfidentialVenuesByConfidentialTransactionUpdatedBlockIdAndVenueIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `ConfidentialVenue`, info from the `ConfidentialTransaction`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `ConfidentialVenue` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `ConfidentialVenue` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `ConfidentialVenue` values, with data from `ConfidentialTransaction`. */ -export type BlockConfidentialVenuesByConfidentialTransactionUpdatedBlockIdAndVenueIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `ConfidentialVenue` edge in the connection, with data from `ConfidentialTransaction`. */ -export type BlockConfidentialVenuesByConfidentialTransactionUpdatedBlockIdAndVenueIdManyToManyEdge = - { - __typename?: 'BlockConfidentialVenuesByConfidentialTransactionUpdatedBlockIdAndVenueIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialTransaction`. */ - confidentialTransactionsByVenueId: ConfidentialTransactionsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `ConfidentialVenue` at the end of the edge. */ - node?: Maybe; - }; - -/** A `ConfidentialVenue` edge in the connection, with data from `ConfidentialTransaction`. */ -export type BlockConfidentialVenuesByConfidentialTransactionUpdatedBlockIdAndVenueIdManyToManyEdgeConfidentialTransactionsByVenueIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `CustomClaimType` values, with data from `Claim`. */ -export type BlockCustomClaimTypesByClaimCreatedBlockIdAndCustomClaimTypeIdManyToManyConnection = { - __typename?: 'BlockCustomClaimTypesByClaimCreatedBlockIdAndCustomClaimTypeIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `CustomClaimType`, info from the `Claim`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `CustomClaimType` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `CustomClaimType` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `CustomClaimType` values, with data from `Claim`. */ -export type BlockCustomClaimTypesByClaimCreatedBlockIdAndCustomClaimTypeIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `CustomClaimType` edge in the connection, with data from `Claim`. */ -export type BlockCustomClaimTypesByClaimCreatedBlockIdAndCustomClaimTypeIdManyToManyEdge = { - __typename?: 'BlockCustomClaimTypesByClaimCreatedBlockIdAndCustomClaimTypeIdManyToManyEdge'; - /** Reads and enables pagination through a set of `Claim`. */ - claims: ClaimsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `CustomClaimType` at the end of the edge. */ - node?: Maybe; -}; - -/** A `CustomClaimType` edge in the connection, with data from `Claim`. */ -export type BlockCustomClaimTypesByClaimCreatedBlockIdAndCustomClaimTypeIdManyToManyEdgeClaimsArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `CustomClaimType` values, with data from `Claim`. */ -export type BlockCustomClaimTypesByClaimUpdatedBlockIdAndCustomClaimTypeIdManyToManyConnection = { - __typename?: 'BlockCustomClaimTypesByClaimUpdatedBlockIdAndCustomClaimTypeIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `CustomClaimType`, info from the `Claim`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `CustomClaimType` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `CustomClaimType` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `CustomClaimType` values, with data from `Claim`. */ -export type BlockCustomClaimTypesByClaimUpdatedBlockIdAndCustomClaimTypeIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `CustomClaimType` edge in the connection, with data from `Claim`. */ -export type BlockCustomClaimTypesByClaimUpdatedBlockIdAndCustomClaimTypeIdManyToManyEdge = { - __typename?: 'BlockCustomClaimTypesByClaimUpdatedBlockIdAndCustomClaimTypeIdManyToManyEdge'; - /** Reads and enables pagination through a set of `Claim`. */ - claims: ClaimsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `CustomClaimType` at the end of the edge. */ - node?: Maybe; -}; - -/** A `CustomClaimType` edge in the connection, with data from `Claim`. */ -export type BlockCustomClaimTypesByClaimUpdatedBlockIdAndCustomClaimTypeIdManyToManyEdgeClaimsArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -export type BlockDistinctCountAggregates = { - __typename?: 'BlockDistinctCountAggregates'; - /** Distinct count of blockId across the matching connection */ - blockId?: Maybe; - /** Distinct count of countEvents across the matching connection */ - countEvents?: Maybe; - /** Distinct count of countExtrinsics across the matching connection */ - countExtrinsics?: Maybe; - /** Distinct count of countExtrinsicsError across the matching connection */ - countExtrinsicsError?: Maybe; - /** Distinct count of countExtrinsicsSigned across the matching connection */ - countExtrinsicsSigned?: Maybe; - /** Distinct count of countExtrinsicsSuccess across the matching connection */ - countExtrinsicsSuccess?: Maybe; - /** Distinct count of countExtrinsicsUnsigned across the matching connection */ - countExtrinsicsUnsigned?: Maybe; - /** Distinct count of createdAt across the matching connection */ - createdAt?: Maybe; - /** Distinct count of datetime across the matching connection */ - datetime?: Maybe; - /** Distinct count of extrinsicsRoot across the matching connection */ - extrinsicsRoot?: Maybe; - /** Distinct count of hash across the matching connection */ - hash?: Maybe; - /** Distinct count of id across the matching connection */ - id?: Maybe; - /** Distinct count of parentHash across the matching connection */ - parentHash?: Maybe; - /** Distinct count of parentId across the matching connection */ - parentId?: Maybe; - /** Distinct count of specVersionId across the matching connection */ - specVersionId?: Maybe; - /** Distinct count of stateRoot across the matching connection */ - stateRoot?: Maybe; - /** Distinct count of updatedAt across the matching connection */ - updatedAt?: Maybe; -}; - -/** A connection to a list of `Distribution` values, with data from `DistributionPayment`. */ -export type BlockDistributionsByDistributionPaymentCreatedBlockIdAndDistributionIdManyToManyConnection = - { - __typename?: 'BlockDistributionsByDistributionPaymentCreatedBlockIdAndDistributionIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Distribution`, info from the `DistributionPayment`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Distribution` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Distribution` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Distribution` values, with data from `DistributionPayment`. */ -export type BlockDistributionsByDistributionPaymentCreatedBlockIdAndDistributionIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Distribution` edge in the connection, with data from `DistributionPayment`. */ -export type BlockDistributionsByDistributionPaymentCreatedBlockIdAndDistributionIdManyToManyEdge = { - __typename?: 'BlockDistributionsByDistributionPaymentCreatedBlockIdAndDistributionIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `DistributionPayment`. */ - distributionPayments: DistributionPaymentsConnection; - /** The `Distribution` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Distribution` edge in the connection, with data from `DistributionPayment`. */ -export type BlockDistributionsByDistributionPaymentCreatedBlockIdAndDistributionIdManyToManyEdgeDistributionPaymentsArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Distribution` values, with data from `DistributionPayment`. */ -export type BlockDistributionsByDistributionPaymentUpdatedBlockIdAndDistributionIdManyToManyConnection = - { - __typename?: 'BlockDistributionsByDistributionPaymentUpdatedBlockIdAndDistributionIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Distribution`, info from the `DistributionPayment`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Distribution` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Distribution` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Distribution` values, with data from `DistributionPayment`. */ -export type BlockDistributionsByDistributionPaymentUpdatedBlockIdAndDistributionIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Distribution` edge in the connection, with data from `DistributionPayment`. */ -export type BlockDistributionsByDistributionPaymentUpdatedBlockIdAndDistributionIdManyToManyEdge = { - __typename?: 'BlockDistributionsByDistributionPaymentUpdatedBlockIdAndDistributionIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `DistributionPayment`. */ - distributionPayments: DistributionPaymentsConnection; - /** The `Distribution` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Distribution` edge in the connection, with data from `DistributionPayment`. */ -export type BlockDistributionsByDistributionPaymentUpdatedBlockIdAndDistributionIdManyToManyEdgeDistributionPaymentsArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Extrinsic` values, with data from `Event`. */ -export type BlockExtrinsicsByEventBlockIdAndExtrinsicIdManyToManyConnection = { - __typename?: 'BlockExtrinsicsByEventBlockIdAndExtrinsicIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Extrinsic`, info from the `Event`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Extrinsic` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Extrinsic` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Extrinsic` values, with data from `Event`. */ -export type BlockExtrinsicsByEventBlockIdAndExtrinsicIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `Extrinsic` edge in the connection, with data from `Event`. */ -export type BlockExtrinsicsByEventBlockIdAndExtrinsicIdManyToManyEdge = { - __typename?: 'BlockExtrinsicsByEventBlockIdAndExtrinsicIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `Event`. */ - events: EventsConnection; - /** The `Extrinsic` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Extrinsic` edge in the connection, with data from `Event`. */ -export type BlockExtrinsicsByEventBlockIdAndExtrinsicIdManyToManyEdgeEventsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Extrinsic` values, with data from `PolyxTransaction`. */ -export type BlockExtrinsicsByPolyxTransactionCreatedBlockIdAndExtrinsicIdManyToManyConnection = { - __typename?: 'BlockExtrinsicsByPolyxTransactionCreatedBlockIdAndExtrinsicIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Extrinsic`, info from the `PolyxTransaction`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Extrinsic` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Extrinsic` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Extrinsic` values, with data from `PolyxTransaction`. */ -export type BlockExtrinsicsByPolyxTransactionCreatedBlockIdAndExtrinsicIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Extrinsic` edge in the connection, with data from `PolyxTransaction`. */ -export type BlockExtrinsicsByPolyxTransactionCreatedBlockIdAndExtrinsicIdManyToManyEdge = { - __typename?: 'BlockExtrinsicsByPolyxTransactionCreatedBlockIdAndExtrinsicIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Extrinsic` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `PolyxTransaction`. */ - polyxTransactions: PolyxTransactionsConnection; -}; - -/** A `Extrinsic` edge in the connection, with data from `PolyxTransaction`. */ -export type BlockExtrinsicsByPolyxTransactionCreatedBlockIdAndExtrinsicIdManyToManyEdgePolyxTransactionsArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Extrinsic` values, with data from `PolyxTransaction`. */ -export type BlockExtrinsicsByPolyxTransactionUpdatedBlockIdAndExtrinsicIdManyToManyConnection = { - __typename?: 'BlockExtrinsicsByPolyxTransactionUpdatedBlockIdAndExtrinsicIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Extrinsic`, info from the `PolyxTransaction`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Extrinsic` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Extrinsic` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Extrinsic` values, with data from `PolyxTransaction`. */ -export type BlockExtrinsicsByPolyxTransactionUpdatedBlockIdAndExtrinsicIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Extrinsic` edge in the connection, with data from `PolyxTransaction`. */ -export type BlockExtrinsicsByPolyxTransactionUpdatedBlockIdAndExtrinsicIdManyToManyEdge = { - __typename?: 'BlockExtrinsicsByPolyxTransactionUpdatedBlockIdAndExtrinsicIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Extrinsic` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `PolyxTransaction`. */ - polyxTransactions: PolyxTransactionsConnection; -}; - -/** A `Extrinsic` edge in the connection, with data from `PolyxTransaction`. */ -export type BlockExtrinsicsByPolyxTransactionUpdatedBlockIdAndExtrinsicIdManyToManyEdgePolyxTransactionsArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A filter to be used against `Block` object types. All fields are combined with a logical ‘and.’ */ -export type BlockFilter = { - /** Filter by the object’s `accountHistoriesByCreatedBlockId` relation. */ - accountHistoriesByCreatedBlockId?: InputMaybe; - /** Some related `accountHistoriesByCreatedBlockId` exist. */ - accountHistoriesByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `accountHistoriesByUpdatedBlockId` relation. */ - accountHistoriesByUpdatedBlockId?: InputMaybe; - /** Some related `accountHistoriesByUpdatedBlockId` exist. */ - accountHistoriesByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `accountsByCreatedBlockId` relation. */ - accountsByCreatedBlockId?: InputMaybe; - /** Some related `accountsByCreatedBlockId` exist. */ - accountsByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `accountsByUpdatedBlockId` relation. */ - accountsByUpdatedBlockId?: InputMaybe; - /** Some related `accountsByUpdatedBlockId` exist. */ - accountsByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `agentGroupMembershipsByCreatedBlockId` relation. */ - agentGroupMembershipsByCreatedBlockId?: InputMaybe; - /** Some related `agentGroupMembershipsByCreatedBlockId` exist. */ - agentGroupMembershipsByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `agentGroupMembershipsByUpdatedBlockId` relation. */ - agentGroupMembershipsByUpdatedBlockId?: InputMaybe; - /** Some related `agentGroupMembershipsByUpdatedBlockId` exist. */ - agentGroupMembershipsByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `agentGroupsByCreatedBlockId` relation. */ - agentGroupsByCreatedBlockId?: InputMaybe; - /** Some related `agentGroupsByCreatedBlockId` exist. */ - agentGroupsByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `agentGroupsByUpdatedBlockId` relation. */ - agentGroupsByUpdatedBlockId?: InputMaybe; - /** Some related `agentGroupsByUpdatedBlockId` exist. */ - agentGroupsByUpdatedBlockIdExist?: InputMaybe; - /** Checks for all expressions in this list. */ - and?: InputMaybe>; - /** Filter by the object’s `assetDocumentsByCreatedBlockId` relation. */ - assetDocumentsByCreatedBlockId?: InputMaybe; - /** Some related `assetDocumentsByCreatedBlockId` exist. */ - assetDocumentsByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `assetDocumentsByUpdatedBlockId` relation. */ - assetDocumentsByUpdatedBlockId?: InputMaybe; - /** Some related `assetDocumentsByUpdatedBlockId` exist. */ - assetDocumentsByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `assetHoldersByCreatedBlockId` relation. */ - assetHoldersByCreatedBlockId?: InputMaybe; - /** Some related `assetHoldersByCreatedBlockId` exist. */ - assetHoldersByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `assetHoldersByUpdatedBlockId` relation. */ - assetHoldersByUpdatedBlockId?: InputMaybe; - /** Some related `assetHoldersByUpdatedBlockId` exist. */ - assetHoldersByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `assetPendingOwnershipTransfersByCreatedBlockId` relation. */ - assetPendingOwnershipTransfersByCreatedBlockId?: InputMaybe; - /** Some related `assetPendingOwnershipTransfersByCreatedBlockId` exist. */ - assetPendingOwnershipTransfersByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `assetPendingOwnershipTransfersByUpdatedBlockId` relation. */ - assetPendingOwnershipTransfersByUpdatedBlockId?: InputMaybe; - /** Some related `assetPendingOwnershipTransfersByUpdatedBlockId` exist. */ - assetPendingOwnershipTransfersByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `assetTransactionsByCreatedBlockId` relation. */ - assetTransactionsByCreatedBlockId?: InputMaybe; - /** Some related `assetTransactionsByCreatedBlockId` exist. */ - assetTransactionsByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `assetTransactionsByUpdatedBlockId` relation. */ - assetTransactionsByUpdatedBlockId?: InputMaybe; - /** Some related `assetTransactionsByUpdatedBlockId` exist. */ - assetTransactionsByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `assetsByCreatedBlockId` relation. */ - assetsByCreatedBlockId?: InputMaybe; - /** Some related `assetsByCreatedBlockId` exist. */ - assetsByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `assetsByUpdatedBlockId` relation. */ - assetsByUpdatedBlockId?: InputMaybe; - /** Some related `assetsByUpdatedBlockId` exist. */ - assetsByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `authorizationsByCreatedBlockId` relation. */ - authorizationsByCreatedBlockId?: InputMaybe; - /** Some related `authorizationsByCreatedBlockId` exist. */ - authorizationsByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `authorizationsByUpdatedBlockId` relation. */ - authorizationsByUpdatedBlockId?: InputMaybe; - /** Some related `authorizationsByUpdatedBlockId` exist. */ - authorizationsByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `blockId` field. */ - blockId?: InputMaybe; - /** Filter by the object’s `bridgeEventsByCreatedBlockId` relation. */ - bridgeEventsByCreatedBlockId?: InputMaybe; - /** Some related `bridgeEventsByCreatedBlockId` exist. */ - bridgeEventsByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `bridgeEventsByUpdatedBlockId` relation. */ - bridgeEventsByUpdatedBlockId?: InputMaybe; - /** Some related `bridgeEventsByUpdatedBlockId` exist. */ - bridgeEventsByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `childIdentitiesByCreatedBlockId` relation. */ - childIdentitiesByCreatedBlockId?: InputMaybe; - /** Some related `childIdentitiesByCreatedBlockId` exist. */ - childIdentitiesByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `childIdentitiesByUpdatedBlockId` relation. */ - childIdentitiesByUpdatedBlockId?: InputMaybe; - /** Some related `childIdentitiesByUpdatedBlockId` exist. */ - childIdentitiesByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `claimScopesByCreatedBlockId` relation. */ - claimScopesByCreatedBlockId?: InputMaybe; - /** Some related `claimScopesByCreatedBlockId` exist. */ - claimScopesByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `claimScopesByUpdatedBlockId` relation. */ - claimScopesByUpdatedBlockId?: InputMaybe; - /** Some related `claimScopesByUpdatedBlockId` exist. */ - claimScopesByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `claimsByCreatedBlockId` relation. */ - claimsByCreatedBlockId?: InputMaybe; - /** Some related `claimsByCreatedBlockId` exist. */ - claimsByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `claimsByUpdatedBlockId` relation. */ - claimsByUpdatedBlockId?: InputMaybe; - /** Some related `claimsByUpdatedBlockId` exist. */ - claimsByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `compliancesByCreatedBlockId` relation. */ - compliancesByCreatedBlockId?: InputMaybe; - /** Some related `compliancesByCreatedBlockId` exist. */ - compliancesByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `compliancesByUpdatedBlockId` relation. */ - compliancesByUpdatedBlockId?: InputMaybe; - /** Some related `compliancesByUpdatedBlockId` exist. */ - compliancesByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `confidentialAccountsByCreatedBlockId` relation. */ - confidentialAccountsByCreatedBlockId?: InputMaybe; - /** Some related `confidentialAccountsByCreatedBlockId` exist. */ - confidentialAccountsByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `confidentialAccountsByUpdatedBlockId` relation. */ - confidentialAccountsByUpdatedBlockId?: InputMaybe; - /** Some related `confidentialAccountsByUpdatedBlockId` exist. */ - confidentialAccountsByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `confidentialAssetHistoriesByCreatedBlockId` relation. */ - confidentialAssetHistoriesByCreatedBlockId?: InputMaybe; - /** Some related `confidentialAssetHistoriesByCreatedBlockId` exist. */ - confidentialAssetHistoriesByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `confidentialAssetHistoriesByUpdatedBlockId` relation. */ - confidentialAssetHistoriesByUpdatedBlockId?: InputMaybe; - /** Some related `confidentialAssetHistoriesByUpdatedBlockId` exist. */ - confidentialAssetHistoriesByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `confidentialAssetHoldersByCreatedBlockId` relation. */ - confidentialAssetHoldersByCreatedBlockId?: InputMaybe; - /** Some related `confidentialAssetHoldersByCreatedBlockId` exist. */ - confidentialAssetHoldersByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `confidentialAssetHoldersByUpdatedBlockId` relation. */ - confidentialAssetHoldersByUpdatedBlockId?: InputMaybe; - /** Some related `confidentialAssetHoldersByUpdatedBlockId` exist. */ - confidentialAssetHoldersByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `confidentialAssetsByCreatedBlockId` relation. */ - confidentialAssetsByCreatedBlockId?: InputMaybe; - /** Some related `confidentialAssetsByCreatedBlockId` exist. */ - confidentialAssetsByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `confidentialAssetsByUpdatedBlockId` relation. */ - confidentialAssetsByUpdatedBlockId?: InputMaybe; - /** Some related `confidentialAssetsByUpdatedBlockId` exist. */ - confidentialAssetsByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `confidentialLegsByCreatedBlockId` relation. */ - confidentialLegsByCreatedBlockId?: InputMaybe; - /** Some related `confidentialLegsByCreatedBlockId` exist. */ - confidentialLegsByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `confidentialLegsByUpdatedBlockId` relation. */ - confidentialLegsByUpdatedBlockId?: InputMaybe; - /** Some related `confidentialLegsByUpdatedBlockId` exist. */ - confidentialLegsByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `confidentialTransactionAffirmationsByCreatedBlockId` relation. */ - confidentialTransactionAffirmationsByCreatedBlockId?: InputMaybe; - /** Some related `confidentialTransactionAffirmationsByCreatedBlockId` exist. */ - confidentialTransactionAffirmationsByCreatedBlockIdExist?: InputMaybe< - Scalars['Boolean']['input'] - >; - /** Filter by the object’s `confidentialTransactionAffirmationsByUpdatedBlockId` relation. */ - confidentialTransactionAffirmationsByUpdatedBlockId?: InputMaybe; - /** Some related `confidentialTransactionAffirmationsByUpdatedBlockId` exist. */ - confidentialTransactionAffirmationsByUpdatedBlockIdExist?: InputMaybe< - Scalars['Boolean']['input'] - >; - /** Filter by the object’s `confidentialTransactionsByCreatedBlockId` relation. */ - confidentialTransactionsByCreatedBlockId?: InputMaybe; - /** Some related `confidentialTransactionsByCreatedBlockId` exist. */ - confidentialTransactionsByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `confidentialTransactionsByUpdatedBlockId` relation. */ - confidentialTransactionsByUpdatedBlockId?: InputMaybe; - /** Some related `confidentialTransactionsByUpdatedBlockId` exist. */ - confidentialTransactionsByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `confidentialVenuesByCreatedBlockId` relation. */ - confidentialVenuesByCreatedBlockId?: InputMaybe; - /** Some related `confidentialVenuesByCreatedBlockId` exist. */ - confidentialVenuesByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `confidentialVenuesByUpdatedBlockId` relation. */ - confidentialVenuesByUpdatedBlockId?: InputMaybe; - /** Some related `confidentialVenuesByUpdatedBlockId` exist. */ - confidentialVenuesByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `countEvents` field. */ - countEvents?: InputMaybe; - /** Filter by the object’s `countExtrinsics` field. */ - countExtrinsics?: InputMaybe; - /** Filter by the object’s `countExtrinsicsError` field. */ - countExtrinsicsError?: InputMaybe; - /** Filter by the object’s `countExtrinsicsSigned` field. */ - countExtrinsicsSigned?: InputMaybe; - /** Filter by the object’s `countExtrinsicsSuccess` field. */ - countExtrinsicsSuccess?: InputMaybe; - /** Filter by the object’s `countExtrinsicsUnsigned` field. */ - countExtrinsicsUnsigned?: InputMaybe; - /** Filter by the object’s `createdAt` field. */ - createdAt?: InputMaybe; - /** Filter by the object’s `customClaimTypesByCreatedBlockId` relation. */ - customClaimTypesByCreatedBlockId?: InputMaybe; - /** Some related `customClaimTypesByCreatedBlockId` exist. */ - customClaimTypesByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `customClaimTypesByUpdatedBlockId` relation. */ - customClaimTypesByUpdatedBlockId?: InputMaybe; - /** Some related `customClaimTypesByUpdatedBlockId` exist. */ - customClaimTypesByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `datetime` field. */ - datetime?: InputMaybe; - /** Filter by the object’s `distributionPaymentsByCreatedBlockId` relation. */ - distributionPaymentsByCreatedBlockId?: InputMaybe; - /** Some related `distributionPaymentsByCreatedBlockId` exist. */ - distributionPaymentsByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `distributionPaymentsByUpdatedBlockId` relation. */ - distributionPaymentsByUpdatedBlockId?: InputMaybe; - /** Some related `distributionPaymentsByUpdatedBlockId` exist. */ - distributionPaymentsByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `distributionsByCreatedBlockId` relation. */ - distributionsByCreatedBlockId?: InputMaybe; - /** Some related `distributionsByCreatedBlockId` exist. */ - distributionsByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `distributionsByUpdatedBlockId` relation. */ - distributionsByUpdatedBlockId?: InputMaybe; - /** Some related `distributionsByUpdatedBlockId` exist. */ - distributionsByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `events` relation. */ - events?: InputMaybe; - /** Some related `events` exist. */ - eventsExist?: InputMaybe; - /** Filter by the object’s `extrinsics` relation. */ - extrinsics?: InputMaybe; - /** Some related `extrinsics` exist. */ - extrinsicsExist?: InputMaybe; - /** Filter by the object’s `extrinsicsRoot` field. */ - extrinsicsRoot?: InputMaybe; - /** Filter by the object’s `fundingsByCreatedBlockId` relation. */ - fundingsByCreatedBlockId?: InputMaybe; - /** Some related `fundingsByCreatedBlockId` exist. */ - fundingsByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `fundingsByUpdatedBlockId` relation. */ - fundingsByUpdatedBlockId?: InputMaybe; - /** Some related `fundingsByUpdatedBlockId` exist. */ - fundingsByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `hash` field. */ - hash?: InputMaybe; - /** Filter by the object’s `id` field. */ - id?: InputMaybe; - /** Filter by the object’s `identitiesByCreatedBlockId` relation. */ - identitiesByCreatedBlockId?: InputMaybe; - /** Some related `identitiesByCreatedBlockId` exist. */ - identitiesByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `identitiesByUpdatedBlockId` relation. */ - identitiesByUpdatedBlockId?: InputMaybe; - /** Some related `identitiesByUpdatedBlockId` exist. */ - identitiesByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `instructionsByCreatedBlockId` relation. */ - instructionsByCreatedBlockId?: InputMaybe; - /** Some related `instructionsByCreatedBlockId` exist. */ - instructionsByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `instructionsByUpdatedBlockId` relation. */ - instructionsByUpdatedBlockId?: InputMaybe; - /** Some related `instructionsByUpdatedBlockId` exist. */ - instructionsByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `investmentsByCreatedBlockId` relation. */ - investmentsByCreatedBlockId?: InputMaybe; - /** Some related `investmentsByCreatedBlockId` exist. */ - investmentsByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `investmentsByUpdatedBlockId` relation. */ - investmentsByUpdatedBlockId?: InputMaybe; - /** Some related `investmentsByUpdatedBlockId` exist. */ - investmentsByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `legsByCreatedBlockId` relation. */ - legsByCreatedBlockId?: InputMaybe; - /** Some related `legsByCreatedBlockId` exist. */ - legsByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `legsByUpdatedBlockId` relation. */ - legsByUpdatedBlockId?: InputMaybe; - /** Some related `legsByUpdatedBlockId` exist. */ - legsByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `multiSigProposalVotesByCreatedBlockId` relation. */ - multiSigProposalVotesByCreatedBlockId?: InputMaybe; - /** Some related `multiSigProposalVotesByCreatedBlockId` exist. */ - multiSigProposalVotesByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `multiSigProposalVotesByUpdatedBlockId` relation. */ - multiSigProposalVotesByUpdatedBlockId?: InputMaybe; - /** Some related `multiSigProposalVotesByUpdatedBlockId` exist. */ - multiSigProposalVotesByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `multiSigProposalsByCreatedBlockId` relation. */ - multiSigProposalsByCreatedBlockId?: InputMaybe; - /** Some related `multiSigProposalsByCreatedBlockId` exist. */ - multiSigProposalsByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `multiSigProposalsByUpdatedBlockId` relation. */ - multiSigProposalsByUpdatedBlockId?: InputMaybe; - /** Some related `multiSigProposalsByUpdatedBlockId` exist. */ - multiSigProposalsByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `multiSigSignersByCreatedBlockId` relation. */ - multiSigSignersByCreatedBlockId?: InputMaybe; - /** Some related `multiSigSignersByCreatedBlockId` exist. */ - multiSigSignersByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `multiSigSignersByUpdatedBlockId` relation. */ - multiSigSignersByUpdatedBlockId?: InputMaybe; - /** Some related `multiSigSignersByUpdatedBlockId` exist. */ - multiSigSignersByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `multiSigsByCreatedBlockId` relation. */ - multiSigsByCreatedBlockId?: InputMaybe; - /** Some related `multiSigsByCreatedBlockId` exist. */ - multiSigsByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `multiSigsByUpdatedBlockId` relation. */ - multiSigsByUpdatedBlockId?: InputMaybe; - /** Some related `multiSigsByUpdatedBlockId` exist. */ - multiSigsByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `nftHoldersByCreatedBlockId` relation. */ - nftHoldersByCreatedBlockId?: InputMaybe; - /** Some related `nftHoldersByCreatedBlockId` exist. */ - nftHoldersByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `nftHoldersByUpdatedBlockId` relation. */ - nftHoldersByUpdatedBlockId?: InputMaybe; - /** Some related `nftHoldersByUpdatedBlockId` exist. */ - nftHoldersByUpdatedBlockIdExist?: InputMaybe; - /** Negates the expression. */ - not?: InputMaybe; - /** Checks for any expressions in this list. */ - or?: InputMaybe>; - /** Filter by the object’s `parentHash` field. */ - parentHash?: InputMaybe; - /** Filter by the object’s `parentId` field. */ - parentId?: InputMaybe; - /** Filter by the object’s `permissionsByCreatedBlockId` relation. */ - permissionsByCreatedBlockId?: InputMaybe; - /** Some related `permissionsByCreatedBlockId` exist. */ - permissionsByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `permissionsByUpdatedBlockId` relation. */ - permissionsByUpdatedBlockId?: InputMaybe; - /** Some related `permissionsByUpdatedBlockId` exist. */ - permissionsByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `polyxTransactionsByCreatedBlockId` relation. */ - polyxTransactionsByCreatedBlockId?: InputMaybe; - /** Some related `polyxTransactionsByCreatedBlockId` exist. */ - polyxTransactionsByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `polyxTransactionsByUpdatedBlockId` relation. */ - polyxTransactionsByUpdatedBlockId?: InputMaybe; - /** Some related `polyxTransactionsByUpdatedBlockId` exist. */ - polyxTransactionsByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `portfolioMovementsByCreatedBlockId` relation. */ - portfolioMovementsByCreatedBlockId?: InputMaybe; - /** Some related `portfolioMovementsByCreatedBlockId` exist. */ - portfolioMovementsByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `portfolioMovementsByUpdatedBlockId` relation. */ - portfolioMovementsByUpdatedBlockId?: InputMaybe; - /** Some related `portfolioMovementsByUpdatedBlockId` exist. */ - portfolioMovementsByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `portfoliosByCreatedBlockId` relation. */ - portfoliosByCreatedBlockId?: InputMaybe; - /** Some related `portfoliosByCreatedBlockId` exist. */ - portfoliosByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `portfoliosByUpdatedBlockId` relation. */ - portfoliosByUpdatedBlockId?: InputMaybe; - /** Some related `portfoliosByUpdatedBlockId` exist. */ - portfoliosByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `proposalVotesByCreatedBlockId` relation. */ - proposalVotesByCreatedBlockId?: InputMaybe; - /** Some related `proposalVotesByCreatedBlockId` exist. */ - proposalVotesByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `proposalVotesByUpdatedBlockId` relation. */ - proposalVotesByUpdatedBlockId?: InputMaybe; - /** Some related `proposalVotesByUpdatedBlockId` exist. */ - proposalVotesByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `proposalsByCreatedBlockId` relation. */ - proposalsByCreatedBlockId?: InputMaybe; - /** Some related `proposalsByCreatedBlockId` exist. */ - proposalsByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `proposalsByUpdatedBlockId` relation. */ - proposalsByUpdatedBlockId?: InputMaybe; - /** Some related `proposalsByUpdatedBlockId` exist. */ - proposalsByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `settlementsByCreatedBlockId` relation. */ - settlementsByCreatedBlockId?: InputMaybe; - /** Some related `settlementsByCreatedBlockId` exist. */ - settlementsByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `settlementsByUpdatedBlockId` relation. */ - settlementsByUpdatedBlockId?: InputMaybe; - /** Some related `settlementsByUpdatedBlockId` exist. */ - settlementsByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `specVersionId` field. */ - specVersionId?: InputMaybe; - /** Filter by the object’s `stakingEventsByCreatedBlockId` relation. */ - stakingEventsByCreatedBlockId?: InputMaybe; - /** Some related `stakingEventsByCreatedBlockId` exist. */ - stakingEventsByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `stakingEventsByUpdatedBlockId` relation. */ - stakingEventsByUpdatedBlockId?: InputMaybe; - /** Some related `stakingEventsByUpdatedBlockId` exist. */ - stakingEventsByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `statTypesByCreatedBlockId` relation. */ - statTypesByCreatedBlockId?: InputMaybe; - /** Some related `statTypesByCreatedBlockId` exist. */ - statTypesByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `statTypesByUpdatedBlockId` relation. */ - statTypesByUpdatedBlockId?: InputMaybe; - /** Some related `statTypesByUpdatedBlockId` exist. */ - statTypesByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `stateRoot` field. */ - stateRoot?: InputMaybe; - /** Filter by the object’s `stosByCreatedBlockId` relation. */ - stosByCreatedBlockId?: InputMaybe; - /** Some related `stosByCreatedBlockId` exist. */ - stosByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `stosByUpdatedBlockId` relation. */ - stosByUpdatedBlockId?: InputMaybe; - /** Some related `stosByUpdatedBlockId` exist. */ - stosByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `tickerExternalAgentActionsByCreatedBlockId` relation. */ - tickerExternalAgentActionsByCreatedBlockId?: InputMaybe; - /** Some related `tickerExternalAgentActionsByCreatedBlockId` exist. */ - tickerExternalAgentActionsByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `tickerExternalAgentActionsByUpdatedBlockId` relation. */ - tickerExternalAgentActionsByUpdatedBlockId?: InputMaybe; - /** Some related `tickerExternalAgentActionsByUpdatedBlockId` exist. */ - tickerExternalAgentActionsByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `tickerExternalAgentHistoriesByCreatedBlockId` relation. */ - tickerExternalAgentHistoriesByCreatedBlockId?: InputMaybe; - /** Some related `tickerExternalAgentHistoriesByCreatedBlockId` exist. */ - tickerExternalAgentHistoriesByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `tickerExternalAgentHistoriesByUpdatedBlockId` relation. */ - tickerExternalAgentHistoriesByUpdatedBlockId?: InputMaybe; - /** Some related `tickerExternalAgentHistoriesByUpdatedBlockId` exist. */ - tickerExternalAgentHistoriesByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `tickerExternalAgentsByCreatedBlockId` relation. */ - tickerExternalAgentsByCreatedBlockId?: InputMaybe; - /** Some related `tickerExternalAgentsByCreatedBlockId` exist. */ - tickerExternalAgentsByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `tickerExternalAgentsByUpdatedBlockId` relation. */ - tickerExternalAgentsByUpdatedBlockId?: InputMaybe; - /** Some related `tickerExternalAgentsByUpdatedBlockId` exist. */ - tickerExternalAgentsByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `transferComplianceExemptionsByCreatedBlockId` relation. */ - transferComplianceExemptionsByCreatedBlockId?: InputMaybe; - /** Some related `transferComplianceExemptionsByCreatedBlockId` exist. */ - transferComplianceExemptionsByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `transferComplianceExemptionsByUpdatedBlockId` relation. */ - transferComplianceExemptionsByUpdatedBlockId?: InputMaybe; - /** Some related `transferComplianceExemptionsByUpdatedBlockId` exist. */ - transferComplianceExemptionsByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `transferCompliancesByCreatedBlockId` relation. */ - transferCompliancesByCreatedBlockId?: InputMaybe; - /** Some related `transferCompliancesByCreatedBlockId` exist. */ - transferCompliancesByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `transferCompliancesByUpdatedBlockId` relation. */ - transferCompliancesByUpdatedBlockId?: InputMaybe; - /** Some related `transferCompliancesByUpdatedBlockId` exist. */ - transferCompliancesByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `transferManagersByCreatedBlockId` relation. */ - transferManagersByCreatedBlockId?: InputMaybe; - /** Some related `transferManagersByCreatedBlockId` exist. */ - transferManagersByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `transferManagersByUpdatedBlockId` relation. */ - transferManagersByUpdatedBlockId?: InputMaybe; - /** Some related `transferManagersByUpdatedBlockId` exist. */ - transferManagersByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `trustedClaimIssuersByCreatedBlockId` relation. */ - trustedClaimIssuersByCreatedBlockId?: InputMaybe; - /** Some related `trustedClaimIssuersByCreatedBlockId` exist. */ - trustedClaimIssuersByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `trustedClaimIssuersByUpdatedBlockId` relation. */ - trustedClaimIssuersByUpdatedBlockId?: InputMaybe; - /** Some related `trustedClaimIssuersByUpdatedBlockId` exist. */ - trustedClaimIssuersByUpdatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: InputMaybe; - /** Filter by the object’s `venuesByCreatedBlockId` relation. */ - venuesByCreatedBlockId?: InputMaybe; - /** Some related `venuesByCreatedBlockId` exist. */ - venuesByCreatedBlockIdExist?: InputMaybe; - /** Filter by the object’s `venuesByUpdatedBlockId` relation. */ - venuesByUpdatedBlockId?: InputMaybe; - /** Some related `venuesByUpdatedBlockId` exist. */ - venuesByUpdatedBlockIdExist?: InputMaybe; -}; - -/** A connection to a list of `Identity` values, with data from `Account`. */ -export type BlockIdentitiesByAccountCreatedBlockIdAndIdentityIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByAccountCreatedBlockIdAndIdentityIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `Account`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `Account`. */ -export type BlockIdentitiesByAccountCreatedBlockIdAndIdentityIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `Account`. */ -export type BlockIdentitiesByAccountCreatedBlockIdAndIdentityIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByAccountCreatedBlockIdAndIdentityIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Account`. */ - secondaryAccounts: AccountsConnection; -}; - -/** A `Identity` edge in the connection, with data from `Account`. */ -export type BlockIdentitiesByAccountCreatedBlockIdAndIdentityIdManyToManyEdgeSecondaryAccountsArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Identity` values, with data from `Account`. */ -export type BlockIdentitiesByAccountUpdatedBlockIdAndIdentityIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByAccountUpdatedBlockIdAndIdentityIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `Account`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `Account`. */ -export type BlockIdentitiesByAccountUpdatedBlockIdAndIdentityIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `Account`. */ -export type BlockIdentitiesByAccountUpdatedBlockIdAndIdentityIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByAccountUpdatedBlockIdAndIdentityIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Account`. */ - secondaryAccounts: AccountsConnection; -}; - -/** A `Identity` edge in the connection, with data from `Account`. */ -export type BlockIdentitiesByAccountUpdatedBlockIdAndIdentityIdManyToManyEdgeSecondaryAccountsArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Identity` values, with data from `Asset`. */ -export type BlockIdentitiesByAssetCreatedBlockIdAndOwnerIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByAssetCreatedBlockIdAndOwnerIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `Asset`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `Asset`. */ -export type BlockIdentitiesByAssetCreatedBlockIdAndOwnerIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `Asset`. */ -export type BlockIdentitiesByAssetCreatedBlockIdAndOwnerIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByAssetCreatedBlockIdAndOwnerIdManyToManyEdge'; - /** Reads and enables pagination through a set of `Asset`. */ - assetsByOwnerId: AssetsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Identity` edge in the connection, with data from `Asset`. */ -export type BlockIdentitiesByAssetCreatedBlockIdAndOwnerIdManyToManyEdgeAssetsByOwnerIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Identity` values, with data from `AssetHolder`. */ -export type BlockIdentitiesByAssetHolderCreatedBlockIdAndIdentityIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByAssetHolderCreatedBlockIdAndIdentityIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `AssetHolder`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `AssetHolder`. */ -export type BlockIdentitiesByAssetHolderCreatedBlockIdAndIdentityIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `AssetHolder`. */ -export type BlockIdentitiesByAssetHolderCreatedBlockIdAndIdentityIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByAssetHolderCreatedBlockIdAndIdentityIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `AssetHolder`. */ - heldAssets: AssetHoldersConnection; - /** The `Identity` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Identity` edge in the connection, with data from `AssetHolder`. */ -export type BlockIdentitiesByAssetHolderCreatedBlockIdAndIdentityIdManyToManyEdgeHeldAssetsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Identity` values, with data from `AssetHolder`. */ -export type BlockIdentitiesByAssetHolderUpdatedBlockIdAndIdentityIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByAssetHolderUpdatedBlockIdAndIdentityIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `AssetHolder`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `AssetHolder`. */ -export type BlockIdentitiesByAssetHolderUpdatedBlockIdAndIdentityIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `AssetHolder`. */ -export type BlockIdentitiesByAssetHolderUpdatedBlockIdAndIdentityIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByAssetHolderUpdatedBlockIdAndIdentityIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `AssetHolder`. */ - heldAssets: AssetHoldersConnection; - /** The `Identity` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Identity` edge in the connection, with data from `AssetHolder`. */ -export type BlockIdentitiesByAssetHolderUpdatedBlockIdAndIdentityIdManyToManyEdgeHeldAssetsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Identity` values, with data from `Asset`. */ -export type BlockIdentitiesByAssetUpdatedBlockIdAndOwnerIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByAssetUpdatedBlockIdAndOwnerIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `Asset`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `Asset`. */ -export type BlockIdentitiesByAssetUpdatedBlockIdAndOwnerIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `Asset`. */ -export type BlockIdentitiesByAssetUpdatedBlockIdAndOwnerIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByAssetUpdatedBlockIdAndOwnerIdManyToManyEdge'; - /** Reads and enables pagination through a set of `Asset`. */ - assetsByOwnerId: AssetsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Identity` edge in the connection, with data from `Asset`. */ -export type BlockIdentitiesByAssetUpdatedBlockIdAndOwnerIdManyToManyEdgeAssetsByOwnerIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Identity` values, with data from `Authorization`. */ -export type BlockIdentitiesByAuthorizationCreatedBlockIdAndFromIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByAuthorizationCreatedBlockIdAndFromIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `Authorization`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `Authorization`. */ -export type BlockIdentitiesByAuthorizationCreatedBlockIdAndFromIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `Authorization`. */ -export type BlockIdentitiesByAuthorizationCreatedBlockIdAndFromIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByAuthorizationCreatedBlockIdAndFromIdManyToManyEdge'; - /** Reads and enables pagination through a set of `Authorization`. */ - authorizationsByFromId: AuthorizationsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Identity` edge in the connection, with data from `Authorization`. */ -export type BlockIdentitiesByAuthorizationCreatedBlockIdAndFromIdManyToManyEdgeAuthorizationsByFromIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Identity` values, with data from `Authorization`. */ -export type BlockIdentitiesByAuthorizationUpdatedBlockIdAndFromIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByAuthorizationUpdatedBlockIdAndFromIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `Authorization`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `Authorization`. */ -export type BlockIdentitiesByAuthorizationUpdatedBlockIdAndFromIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `Authorization`. */ -export type BlockIdentitiesByAuthorizationUpdatedBlockIdAndFromIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByAuthorizationUpdatedBlockIdAndFromIdManyToManyEdge'; - /** Reads and enables pagination through a set of `Authorization`. */ - authorizationsByFromId: AuthorizationsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Identity` edge in the connection, with data from `Authorization`. */ -export type BlockIdentitiesByAuthorizationUpdatedBlockIdAndFromIdManyToManyEdgeAuthorizationsByFromIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Identity` values, with data from `BridgeEvent`. */ -export type BlockIdentitiesByBridgeEventCreatedBlockIdAndIdentityIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByBridgeEventCreatedBlockIdAndIdentityIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `BridgeEvent`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `BridgeEvent`. */ -export type BlockIdentitiesByBridgeEventCreatedBlockIdAndIdentityIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `BridgeEvent`. */ -export type BlockIdentitiesByBridgeEventCreatedBlockIdAndIdentityIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByBridgeEventCreatedBlockIdAndIdentityIdManyToManyEdge'; - /** Reads and enables pagination through a set of `BridgeEvent`. */ - bridgeEvents: BridgeEventsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Identity` edge in the connection, with data from `BridgeEvent`. */ -export type BlockIdentitiesByBridgeEventCreatedBlockIdAndIdentityIdManyToManyEdgeBridgeEventsArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Identity` values, with data from `BridgeEvent`. */ -export type BlockIdentitiesByBridgeEventUpdatedBlockIdAndIdentityIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByBridgeEventUpdatedBlockIdAndIdentityIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `BridgeEvent`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `BridgeEvent`. */ -export type BlockIdentitiesByBridgeEventUpdatedBlockIdAndIdentityIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `BridgeEvent`. */ -export type BlockIdentitiesByBridgeEventUpdatedBlockIdAndIdentityIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByBridgeEventUpdatedBlockIdAndIdentityIdManyToManyEdge'; - /** Reads and enables pagination through a set of `BridgeEvent`. */ - bridgeEvents: BridgeEventsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Identity` edge in the connection, with data from `BridgeEvent`. */ -export type BlockIdentitiesByBridgeEventUpdatedBlockIdAndIdentityIdManyToManyEdgeBridgeEventsArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Identity` values, with data from `ChildIdentity`. */ -export type BlockIdentitiesByChildIdentityCreatedBlockIdAndChildIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByChildIdentityCreatedBlockIdAndChildIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `ChildIdentity`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `ChildIdentity`. */ -export type BlockIdentitiesByChildIdentityCreatedBlockIdAndChildIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `ChildIdentity`. */ -export type BlockIdentitiesByChildIdentityCreatedBlockIdAndChildIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByChildIdentityCreatedBlockIdAndChildIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `ChildIdentity`. */ - parentChildIdentities: ChildIdentitiesConnection; -}; - -/** A `Identity` edge in the connection, with data from `ChildIdentity`. */ -export type BlockIdentitiesByChildIdentityCreatedBlockIdAndChildIdManyToManyEdgeParentChildIdentitiesArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Identity` values, with data from `ChildIdentity`. */ -export type BlockIdentitiesByChildIdentityCreatedBlockIdAndParentIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByChildIdentityCreatedBlockIdAndParentIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `ChildIdentity`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `ChildIdentity`. */ -export type BlockIdentitiesByChildIdentityCreatedBlockIdAndParentIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `ChildIdentity`. */ -export type BlockIdentitiesByChildIdentityCreatedBlockIdAndParentIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByChildIdentityCreatedBlockIdAndParentIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ChildIdentity`. */ - children: ChildIdentitiesConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Identity` edge in the connection, with data from `ChildIdentity`. */ -export type BlockIdentitiesByChildIdentityCreatedBlockIdAndParentIdManyToManyEdgeChildrenArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Identity` values, with data from `ChildIdentity`. */ -export type BlockIdentitiesByChildIdentityUpdatedBlockIdAndChildIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByChildIdentityUpdatedBlockIdAndChildIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `ChildIdentity`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `ChildIdentity`. */ -export type BlockIdentitiesByChildIdentityUpdatedBlockIdAndChildIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `ChildIdentity`. */ -export type BlockIdentitiesByChildIdentityUpdatedBlockIdAndChildIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByChildIdentityUpdatedBlockIdAndChildIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `ChildIdentity`. */ - parentChildIdentities: ChildIdentitiesConnection; -}; - -/** A `Identity` edge in the connection, with data from `ChildIdentity`. */ -export type BlockIdentitiesByChildIdentityUpdatedBlockIdAndChildIdManyToManyEdgeParentChildIdentitiesArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Identity` values, with data from `ChildIdentity`. */ -export type BlockIdentitiesByChildIdentityUpdatedBlockIdAndParentIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByChildIdentityUpdatedBlockIdAndParentIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `ChildIdentity`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `ChildIdentity`. */ -export type BlockIdentitiesByChildIdentityUpdatedBlockIdAndParentIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `ChildIdentity`. */ -export type BlockIdentitiesByChildIdentityUpdatedBlockIdAndParentIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByChildIdentityUpdatedBlockIdAndParentIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ChildIdentity`. */ - children: ChildIdentitiesConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Identity` edge in the connection, with data from `ChildIdentity`. */ -export type BlockIdentitiesByChildIdentityUpdatedBlockIdAndParentIdManyToManyEdgeChildrenArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Identity` values, with data from `Claim`. */ -export type BlockIdentitiesByClaimCreatedBlockIdAndIssuerIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByClaimCreatedBlockIdAndIssuerIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `Claim`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `Claim`. */ -export type BlockIdentitiesByClaimCreatedBlockIdAndIssuerIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `Claim`. */ -export type BlockIdentitiesByClaimCreatedBlockIdAndIssuerIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByClaimCreatedBlockIdAndIssuerIdManyToManyEdge'; - /** Reads and enables pagination through a set of `Claim`. */ - claimsByIssuerId: ClaimsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Identity` edge in the connection, with data from `Claim`. */ -export type BlockIdentitiesByClaimCreatedBlockIdAndIssuerIdManyToManyEdgeClaimsByIssuerIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Identity` values, with data from `Claim`. */ -export type BlockIdentitiesByClaimCreatedBlockIdAndTargetIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByClaimCreatedBlockIdAndTargetIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `Claim`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `Claim`. */ -export type BlockIdentitiesByClaimCreatedBlockIdAndTargetIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `Claim`. */ -export type BlockIdentitiesByClaimCreatedBlockIdAndTargetIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByClaimCreatedBlockIdAndTargetIdManyToManyEdge'; - /** Reads and enables pagination through a set of `Claim`. */ - claimsByTargetId: ClaimsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Identity` edge in the connection, with data from `Claim`. */ -export type BlockIdentitiesByClaimCreatedBlockIdAndTargetIdManyToManyEdgeClaimsByTargetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Identity` values, with data from `Claim`. */ -export type BlockIdentitiesByClaimUpdatedBlockIdAndIssuerIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByClaimUpdatedBlockIdAndIssuerIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `Claim`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `Claim`. */ -export type BlockIdentitiesByClaimUpdatedBlockIdAndIssuerIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `Claim`. */ -export type BlockIdentitiesByClaimUpdatedBlockIdAndIssuerIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByClaimUpdatedBlockIdAndIssuerIdManyToManyEdge'; - /** Reads and enables pagination through a set of `Claim`. */ - claimsByIssuerId: ClaimsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Identity` edge in the connection, with data from `Claim`. */ -export type BlockIdentitiesByClaimUpdatedBlockIdAndIssuerIdManyToManyEdgeClaimsByIssuerIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Identity` values, with data from `Claim`. */ -export type BlockIdentitiesByClaimUpdatedBlockIdAndTargetIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByClaimUpdatedBlockIdAndTargetIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `Claim`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `Claim`. */ -export type BlockIdentitiesByClaimUpdatedBlockIdAndTargetIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `Claim`. */ -export type BlockIdentitiesByClaimUpdatedBlockIdAndTargetIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByClaimUpdatedBlockIdAndTargetIdManyToManyEdge'; - /** Reads and enables pagination through a set of `Claim`. */ - claimsByTargetId: ClaimsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Identity` edge in the connection, with data from `Claim`. */ -export type BlockIdentitiesByClaimUpdatedBlockIdAndTargetIdManyToManyEdgeClaimsByTargetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Identity` values, with data from `ConfidentialAccount`. */ -export type BlockIdentitiesByConfidentialAccountCreatedBlockIdAndCreatorIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByConfidentialAccountCreatedBlockIdAndCreatorIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `ConfidentialAccount`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `ConfidentialAccount`. */ -export type BlockIdentitiesByConfidentialAccountCreatedBlockIdAndCreatorIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `ConfidentialAccount`. */ -export type BlockIdentitiesByConfidentialAccountCreatedBlockIdAndCreatorIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByConfidentialAccountCreatedBlockIdAndCreatorIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialAccount`. */ - confidentialAccountsByCreatorId: ConfidentialAccountsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Identity` edge in the connection, with data from `ConfidentialAccount`. */ -export type BlockIdentitiesByConfidentialAccountCreatedBlockIdAndCreatorIdManyToManyEdgeConfidentialAccountsByCreatorIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Identity` values, with data from `ConfidentialAccount`. */ -export type BlockIdentitiesByConfidentialAccountUpdatedBlockIdAndCreatorIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByConfidentialAccountUpdatedBlockIdAndCreatorIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `ConfidentialAccount`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `ConfidentialAccount`. */ -export type BlockIdentitiesByConfidentialAccountUpdatedBlockIdAndCreatorIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `ConfidentialAccount`. */ -export type BlockIdentitiesByConfidentialAccountUpdatedBlockIdAndCreatorIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByConfidentialAccountUpdatedBlockIdAndCreatorIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialAccount`. */ - confidentialAccountsByCreatorId: ConfidentialAccountsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Identity` edge in the connection, with data from `ConfidentialAccount`. */ -export type BlockIdentitiesByConfidentialAccountUpdatedBlockIdAndCreatorIdManyToManyEdgeConfidentialAccountsByCreatorIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Identity` values, with data from `ConfidentialAsset`. */ -export type BlockIdentitiesByConfidentialAssetCreatedBlockIdAndCreatorIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByConfidentialAssetCreatedBlockIdAndCreatorIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `ConfidentialAsset`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `ConfidentialAsset`. */ -export type BlockIdentitiesByConfidentialAssetCreatedBlockIdAndCreatorIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `ConfidentialAsset`. */ -export type BlockIdentitiesByConfidentialAssetCreatedBlockIdAndCreatorIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByConfidentialAssetCreatedBlockIdAndCreatorIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialAsset`. */ - confidentialAssetsByCreatorId: ConfidentialAssetsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Identity` edge in the connection, with data from `ConfidentialAsset`. */ -export type BlockIdentitiesByConfidentialAssetCreatedBlockIdAndCreatorIdManyToManyEdgeConfidentialAssetsByCreatorIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Identity` values, with data from `ConfidentialAsset`. */ -export type BlockIdentitiesByConfidentialAssetUpdatedBlockIdAndCreatorIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByConfidentialAssetUpdatedBlockIdAndCreatorIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `ConfidentialAsset`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `ConfidentialAsset`. */ -export type BlockIdentitiesByConfidentialAssetUpdatedBlockIdAndCreatorIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `ConfidentialAsset`. */ -export type BlockIdentitiesByConfidentialAssetUpdatedBlockIdAndCreatorIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByConfidentialAssetUpdatedBlockIdAndCreatorIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialAsset`. */ - confidentialAssetsByCreatorId: ConfidentialAssetsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Identity` edge in the connection, with data from `ConfidentialAsset`. */ -export type BlockIdentitiesByConfidentialAssetUpdatedBlockIdAndCreatorIdManyToManyEdgeConfidentialAssetsByCreatorIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Identity` values, with data from `ConfidentialTransactionAffirmation`. */ -export type BlockIdentitiesByConfidentialTransactionAffirmationCreatedBlockIdAndIdentityIdManyToManyConnection = - { - __typename?: 'BlockIdentitiesByConfidentialTransactionAffirmationCreatedBlockIdAndIdentityIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `ConfidentialTransactionAffirmation`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Identity` values, with data from `ConfidentialTransactionAffirmation`. */ -export type BlockIdentitiesByConfidentialTransactionAffirmationCreatedBlockIdAndIdentityIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ -export type BlockIdentitiesByConfidentialTransactionAffirmationCreatedBlockIdAndIdentityIdManyToManyEdge = - { - __typename?: 'BlockIdentitiesByConfidentialTransactionAffirmationCreatedBlockIdAndIdentityIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialTransactionAffirmation`. */ - confidentialTransactionAffirmations: ConfidentialTransactionAffirmationsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; - }; - -/** A `Identity` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ -export type BlockIdentitiesByConfidentialTransactionAffirmationCreatedBlockIdAndIdentityIdManyToManyEdgeConfidentialTransactionAffirmationsArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Identity` values, with data from `ConfidentialTransactionAffirmation`. */ -export type BlockIdentitiesByConfidentialTransactionAffirmationUpdatedBlockIdAndIdentityIdManyToManyConnection = - { - __typename?: 'BlockIdentitiesByConfidentialTransactionAffirmationUpdatedBlockIdAndIdentityIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `ConfidentialTransactionAffirmation`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Identity` values, with data from `ConfidentialTransactionAffirmation`. */ -export type BlockIdentitiesByConfidentialTransactionAffirmationUpdatedBlockIdAndIdentityIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ -export type BlockIdentitiesByConfidentialTransactionAffirmationUpdatedBlockIdAndIdentityIdManyToManyEdge = - { - __typename?: 'BlockIdentitiesByConfidentialTransactionAffirmationUpdatedBlockIdAndIdentityIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialTransactionAffirmation`. */ - confidentialTransactionAffirmations: ConfidentialTransactionAffirmationsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; - }; - -/** A `Identity` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ -export type BlockIdentitiesByConfidentialTransactionAffirmationUpdatedBlockIdAndIdentityIdManyToManyEdgeConfidentialTransactionAffirmationsArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Identity` values, with data from `ConfidentialVenue`. */ -export type BlockIdentitiesByConfidentialVenueCreatedBlockIdAndCreatorIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByConfidentialVenueCreatedBlockIdAndCreatorIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `ConfidentialVenue`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `ConfidentialVenue`. */ -export type BlockIdentitiesByConfidentialVenueCreatedBlockIdAndCreatorIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `ConfidentialVenue`. */ -export type BlockIdentitiesByConfidentialVenueCreatedBlockIdAndCreatorIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByConfidentialVenueCreatedBlockIdAndCreatorIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialVenue`. */ - confidentialVenuesByCreatorId: ConfidentialVenuesConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Identity` edge in the connection, with data from `ConfidentialVenue`. */ -export type BlockIdentitiesByConfidentialVenueCreatedBlockIdAndCreatorIdManyToManyEdgeConfidentialVenuesByCreatorIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Identity` values, with data from `ConfidentialVenue`. */ -export type BlockIdentitiesByConfidentialVenueUpdatedBlockIdAndCreatorIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByConfidentialVenueUpdatedBlockIdAndCreatorIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `ConfidentialVenue`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `ConfidentialVenue`. */ -export type BlockIdentitiesByConfidentialVenueUpdatedBlockIdAndCreatorIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `ConfidentialVenue`. */ -export type BlockIdentitiesByConfidentialVenueUpdatedBlockIdAndCreatorIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByConfidentialVenueUpdatedBlockIdAndCreatorIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialVenue`. */ - confidentialVenuesByCreatorId: ConfidentialVenuesConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Identity` edge in the connection, with data from `ConfidentialVenue`. */ -export type BlockIdentitiesByConfidentialVenueUpdatedBlockIdAndCreatorIdManyToManyEdgeConfidentialVenuesByCreatorIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Identity` values, with data from `CustomClaimType`. */ -export type BlockIdentitiesByCustomClaimTypeCreatedBlockIdAndIdentityIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByCustomClaimTypeCreatedBlockIdAndIdentityIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `CustomClaimType`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `CustomClaimType`. */ -export type BlockIdentitiesByCustomClaimTypeCreatedBlockIdAndIdentityIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `CustomClaimType`. */ -export type BlockIdentitiesByCustomClaimTypeCreatedBlockIdAndIdentityIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByCustomClaimTypeCreatedBlockIdAndIdentityIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `CustomClaimType`. */ - customClaimTypes: CustomClaimTypesConnection; - /** The `Identity` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Identity` edge in the connection, with data from `CustomClaimType`. */ -export type BlockIdentitiesByCustomClaimTypeCreatedBlockIdAndIdentityIdManyToManyEdgeCustomClaimTypesArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Identity` values, with data from `CustomClaimType`. */ -export type BlockIdentitiesByCustomClaimTypeUpdatedBlockIdAndIdentityIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByCustomClaimTypeUpdatedBlockIdAndIdentityIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `CustomClaimType`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `CustomClaimType`. */ -export type BlockIdentitiesByCustomClaimTypeUpdatedBlockIdAndIdentityIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `CustomClaimType`. */ -export type BlockIdentitiesByCustomClaimTypeUpdatedBlockIdAndIdentityIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByCustomClaimTypeUpdatedBlockIdAndIdentityIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `CustomClaimType`. */ - customClaimTypes: CustomClaimTypesConnection; - /** The `Identity` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Identity` edge in the connection, with data from `CustomClaimType`. */ -export type BlockIdentitiesByCustomClaimTypeUpdatedBlockIdAndIdentityIdManyToManyEdgeCustomClaimTypesArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Identity` values, with data from `Distribution`. */ -export type BlockIdentitiesByDistributionCreatedBlockIdAndIdentityIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByDistributionCreatedBlockIdAndIdentityIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `Distribution`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `Distribution`. */ -export type BlockIdentitiesByDistributionCreatedBlockIdAndIdentityIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `Distribution`. */ -export type BlockIdentitiesByDistributionCreatedBlockIdAndIdentityIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByDistributionCreatedBlockIdAndIdentityIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `Distribution`. */ - distributions: DistributionsConnection; - /** The `Identity` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Identity` edge in the connection, with data from `Distribution`. */ -export type BlockIdentitiesByDistributionCreatedBlockIdAndIdentityIdManyToManyEdgeDistributionsArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Identity` values, with data from `DistributionPayment`. */ -export type BlockIdentitiesByDistributionPaymentCreatedBlockIdAndTargetIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByDistributionPaymentCreatedBlockIdAndTargetIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `DistributionPayment`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `DistributionPayment`. */ -export type BlockIdentitiesByDistributionPaymentCreatedBlockIdAndTargetIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `DistributionPayment`. */ -export type BlockIdentitiesByDistributionPaymentCreatedBlockIdAndTargetIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByDistributionPaymentCreatedBlockIdAndTargetIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `DistributionPayment`. */ - distributionPaymentsByTargetId: DistributionPaymentsConnection; - /** The `Identity` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Identity` edge in the connection, with data from `DistributionPayment`. */ -export type BlockIdentitiesByDistributionPaymentCreatedBlockIdAndTargetIdManyToManyEdgeDistributionPaymentsByTargetIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Identity` values, with data from `DistributionPayment`. */ -export type BlockIdentitiesByDistributionPaymentUpdatedBlockIdAndTargetIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByDistributionPaymentUpdatedBlockIdAndTargetIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `DistributionPayment`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `DistributionPayment`. */ -export type BlockIdentitiesByDistributionPaymentUpdatedBlockIdAndTargetIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `DistributionPayment`. */ -export type BlockIdentitiesByDistributionPaymentUpdatedBlockIdAndTargetIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByDistributionPaymentUpdatedBlockIdAndTargetIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `DistributionPayment`. */ - distributionPaymentsByTargetId: DistributionPaymentsConnection; - /** The `Identity` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Identity` edge in the connection, with data from `DistributionPayment`. */ -export type BlockIdentitiesByDistributionPaymentUpdatedBlockIdAndTargetIdManyToManyEdgeDistributionPaymentsByTargetIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Identity` values, with data from `Distribution`. */ -export type BlockIdentitiesByDistributionUpdatedBlockIdAndIdentityIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByDistributionUpdatedBlockIdAndIdentityIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `Distribution`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `Distribution`. */ -export type BlockIdentitiesByDistributionUpdatedBlockIdAndIdentityIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `Distribution`. */ -export type BlockIdentitiesByDistributionUpdatedBlockIdAndIdentityIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByDistributionUpdatedBlockIdAndIdentityIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `Distribution`. */ - distributions: DistributionsConnection; - /** The `Identity` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Identity` edge in the connection, with data from `Distribution`. */ -export type BlockIdentitiesByDistributionUpdatedBlockIdAndIdentityIdManyToManyEdgeDistributionsArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Identity` values, with data from `Investment`. */ -export type BlockIdentitiesByInvestmentCreatedBlockIdAndInvestorIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByInvestmentCreatedBlockIdAndInvestorIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `Investment`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `Investment`. */ -export type BlockIdentitiesByInvestmentCreatedBlockIdAndInvestorIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `Investment`. */ -export type BlockIdentitiesByInvestmentCreatedBlockIdAndInvestorIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByInvestmentCreatedBlockIdAndInvestorIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `Investment`. */ - investmentsByInvestorId: InvestmentsConnection; - /** The `Identity` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Identity` edge in the connection, with data from `Investment`. */ -export type BlockIdentitiesByInvestmentCreatedBlockIdAndInvestorIdManyToManyEdgeInvestmentsByInvestorIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Identity` values, with data from `Investment`. */ -export type BlockIdentitiesByInvestmentUpdatedBlockIdAndInvestorIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByInvestmentUpdatedBlockIdAndInvestorIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `Investment`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `Investment`. */ -export type BlockIdentitiesByInvestmentUpdatedBlockIdAndInvestorIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `Investment`. */ -export type BlockIdentitiesByInvestmentUpdatedBlockIdAndInvestorIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByInvestmentUpdatedBlockIdAndInvestorIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `Investment`. */ - investmentsByInvestorId: InvestmentsConnection; - /** The `Identity` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Identity` edge in the connection, with data from `Investment`. */ -export type BlockIdentitiesByInvestmentUpdatedBlockIdAndInvestorIdManyToManyEdgeInvestmentsByInvestorIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Identity` values, with data from `MultiSig`. */ -export type BlockIdentitiesByMultiSigCreatedBlockIdAndCreatorIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByMultiSigCreatedBlockIdAndCreatorIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `MultiSig`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `MultiSig`. */ -export type BlockIdentitiesByMultiSigCreatedBlockIdAndCreatorIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `MultiSig`. */ -export type BlockIdentitiesByMultiSigCreatedBlockIdAndCreatorIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByMultiSigCreatedBlockIdAndCreatorIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `MultiSig`. */ - multiSigsByCreatorId: MultiSigsConnection; - /** The `Identity` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Identity` edge in the connection, with data from `MultiSig`. */ -export type BlockIdentitiesByMultiSigCreatedBlockIdAndCreatorIdManyToManyEdgeMultiSigsByCreatorIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Identity` values, with data from `MultiSigProposal`. */ -export type BlockIdentitiesByMultiSigProposalCreatedBlockIdAndCreatorIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByMultiSigProposalCreatedBlockIdAndCreatorIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `MultiSigProposal`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `MultiSigProposal`. */ -export type BlockIdentitiesByMultiSigProposalCreatedBlockIdAndCreatorIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `MultiSigProposal`. */ -export type BlockIdentitiesByMultiSigProposalCreatedBlockIdAndCreatorIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByMultiSigProposalCreatedBlockIdAndCreatorIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `MultiSigProposal`. */ - multiSigProposalsByCreatorId: MultiSigProposalsConnection; - /** The `Identity` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Identity` edge in the connection, with data from `MultiSigProposal`. */ -export type BlockIdentitiesByMultiSigProposalCreatedBlockIdAndCreatorIdManyToManyEdgeMultiSigProposalsByCreatorIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Identity` values, with data from `MultiSigProposal`. */ -export type BlockIdentitiesByMultiSigProposalUpdatedBlockIdAndCreatorIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByMultiSigProposalUpdatedBlockIdAndCreatorIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `MultiSigProposal`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `MultiSigProposal`. */ -export type BlockIdentitiesByMultiSigProposalUpdatedBlockIdAndCreatorIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `MultiSigProposal`. */ -export type BlockIdentitiesByMultiSigProposalUpdatedBlockIdAndCreatorIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByMultiSigProposalUpdatedBlockIdAndCreatorIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `MultiSigProposal`. */ - multiSigProposalsByCreatorId: MultiSigProposalsConnection; - /** The `Identity` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Identity` edge in the connection, with data from `MultiSigProposal`. */ -export type BlockIdentitiesByMultiSigProposalUpdatedBlockIdAndCreatorIdManyToManyEdgeMultiSigProposalsByCreatorIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Identity` values, with data from `MultiSig`. */ -export type BlockIdentitiesByMultiSigUpdatedBlockIdAndCreatorIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByMultiSigUpdatedBlockIdAndCreatorIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `MultiSig`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `MultiSig`. */ -export type BlockIdentitiesByMultiSigUpdatedBlockIdAndCreatorIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `MultiSig`. */ -export type BlockIdentitiesByMultiSigUpdatedBlockIdAndCreatorIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByMultiSigUpdatedBlockIdAndCreatorIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `MultiSig`. */ - multiSigsByCreatorId: MultiSigsConnection; - /** The `Identity` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Identity` edge in the connection, with data from `MultiSig`. */ -export type BlockIdentitiesByMultiSigUpdatedBlockIdAndCreatorIdManyToManyEdgeMultiSigsByCreatorIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Identity` values, with data from `NftHolder`. */ -export type BlockIdentitiesByNftHolderCreatedBlockIdAndIdentityIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByNftHolderCreatedBlockIdAndIdentityIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `NftHolder`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `NftHolder`. */ -export type BlockIdentitiesByNftHolderCreatedBlockIdAndIdentityIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `NftHolder`. */ -export type BlockIdentitiesByNftHolderCreatedBlockIdAndIdentityIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByNftHolderCreatedBlockIdAndIdentityIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `NftHolder`. */ - heldNfts: NftHoldersConnection; - /** The `Identity` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Identity` edge in the connection, with data from `NftHolder`. */ -export type BlockIdentitiesByNftHolderCreatedBlockIdAndIdentityIdManyToManyEdgeHeldNftsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Identity` values, with data from `NftHolder`. */ -export type BlockIdentitiesByNftHolderUpdatedBlockIdAndIdentityIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByNftHolderUpdatedBlockIdAndIdentityIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `NftHolder`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `NftHolder`. */ -export type BlockIdentitiesByNftHolderUpdatedBlockIdAndIdentityIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `NftHolder`. */ -export type BlockIdentitiesByNftHolderUpdatedBlockIdAndIdentityIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByNftHolderUpdatedBlockIdAndIdentityIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `NftHolder`. */ - heldNfts: NftHoldersConnection; - /** The `Identity` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Identity` edge in the connection, with data from `NftHolder`. */ -export type BlockIdentitiesByNftHolderUpdatedBlockIdAndIdentityIdManyToManyEdgeHeldNftsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Identity` values, with data from `Portfolio`. */ -export type BlockIdentitiesByPortfolioCreatedBlockIdAndCustodianIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByPortfolioCreatedBlockIdAndCustodianIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `Portfolio`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `Portfolio`. */ -export type BlockIdentitiesByPortfolioCreatedBlockIdAndCustodianIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `Portfolio`. */ -export type BlockIdentitiesByPortfolioCreatedBlockIdAndCustodianIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByPortfolioCreatedBlockIdAndCustodianIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Portfolio`. */ - portfoliosByCustodianId: PortfoliosConnection; -}; - -/** A `Identity` edge in the connection, with data from `Portfolio`. */ -export type BlockIdentitiesByPortfolioCreatedBlockIdAndCustodianIdManyToManyEdgePortfoliosByCustodianIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Identity` values, with data from `Portfolio`. */ -export type BlockIdentitiesByPortfolioCreatedBlockIdAndIdentityIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByPortfolioCreatedBlockIdAndIdentityIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `Portfolio`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `Portfolio`. */ -export type BlockIdentitiesByPortfolioCreatedBlockIdAndIdentityIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `Portfolio`. */ -export type BlockIdentitiesByPortfolioCreatedBlockIdAndIdentityIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByPortfolioCreatedBlockIdAndIdentityIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Portfolio`. */ - portfolios: PortfoliosConnection; -}; - -/** A `Identity` edge in the connection, with data from `Portfolio`. */ -export type BlockIdentitiesByPortfolioCreatedBlockIdAndIdentityIdManyToManyEdgePortfoliosArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Identity` values, with data from `Portfolio`. */ -export type BlockIdentitiesByPortfolioUpdatedBlockIdAndCustodianIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByPortfolioUpdatedBlockIdAndCustodianIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `Portfolio`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `Portfolio`. */ -export type BlockIdentitiesByPortfolioUpdatedBlockIdAndCustodianIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `Portfolio`. */ -export type BlockIdentitiesByPortfolioUpdatedBlockIdAndCustodianIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByPortfolioUpdatedBlockIdAndCustodianIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Portfolio`. */ - portfoliosByCustodianId: PortfoliosConnection; -}; - -/** A `Identity` edge in the connection, with data from `Portfolio`. */ -export type BlockIdentitiesByPortfolioUpdatedBlockIdAndCustodianIdManyToManyEdgePortfoliosByCustodianIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Identity` values, with data from `Portfolio`. */ -export type BlockIdentitiesByPortfolioUpdatedBlockIdAndIdentityIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByPortfolioUpdatedBlockIdAndIdentityIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `Portfolio`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `Portfolio`. */ -export type BlockIdentitiesByPortfolioUpdatedBlockIdAndIdentityIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `Portfolio`. */ -export type BlockIdentitiesByPortfolioUpdatedBlockIdAndIdentityIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByPortfolioUpdatedBlockIdAndIdentityIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Portfolio`. */ - portfolios: PortfoliosConnection; -}; - -/** A `Identity` edge in the connection, with data from `Portfolio`. */ -export type BlockIdentitiesByPortfolioUpdatedBlockIdAndIdentityIdManyToManyEdgePortfoliosArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Identity` values, with data from `Proposal`. */ -export type BlockIdentitiesByProposalCreatedBlockIdAndOwnerIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByProposalCreatedBlockIdAndOwnerIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `Proposal`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `Proposal`. */ -export type BlockIdentitiesByProposalCreatedBlockIdAndOwnerIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `Proposal`. */ -export type BlockIdentitiesByProposalCreatedBlockIdAndOwnerIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByProposalCreatedBlockIdAndOwnerIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Proposal`. */ - proposalsByOwnerId: ProposalsConnection; -}; - -/** A `Identity` edge in the connection, with data from `Proposal`. */ -export type BlockIdentitiesByProposalCreatedBlockIdAndOwnerIdManyToManyEdgeProposalsByOwnerIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Identity` values, with data from `Proposal`. */ -export type BlockIdentitiesByProposalUpdatedBlockIdAndOwnerIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByProposalUpdatedBlockIdAndOwnerIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `Proposal`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `Proposal`. */ -export type BlockIdentitiesByProposalUpdatedBlockIdAndOwnerIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `Proposal`. */ -export type BlockIdentitiesByProposalUpdatedBlockIdAndOwnerIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByProposalUpdatedBlockIdAndOwnerIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Proposal`. */ - proposalsByOwnerId: ProposalsConnection; -}; - -/** A `Identity` edge in the connection, with data from `Proposal`. */ -export type BlockIdentitiesByProposalUpdatedBlockIdAndOwnerIdManyToManyEdgeProposalsByOwnerIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Identity` values, with data from `StakingEvent`. */ -export type BlockIdentitiesByStakingEventCreatedBlockIdAndIdentityIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByStakingEventCreatedBlockIdAndIdentityIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `StakingEvent`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `StakingEvent`. */ -export type BlockIdentitiesByStakingEventCreatedBlockIdAndIdentityIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `StakingEvent`. */ -export type BlockIdentitiesByStakingEventCreatedBlockIdAndIdentityIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByStakingEventCreatedBlockIdAndIdentityIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `StakingEvent`. */ - stakingEvents: StakingEventsConnection; -}; - -/** A `Identity` edge in the connection, with data from `StakingEvent`. */ -export type BlockIdentitiesByStakingEventCreatedBlockIdAndIdentityIdManyToManyEdgeStakingEventsArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Identity` values, with data from `StakingEvent`. */ -export type BlockIdentitiesByStakingEventUpdatedBlockIdAndIdentityIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByStakingEventUpdatedBlockIdAndIdentityIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `StakingEvent`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `StakingEvent`. */ -export type BlockIdentitiesByStakingEventUpdatedBlockIdAndIdentityIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `StakingEvent`. */ -export type BlockIdentitiesByStakingEventUpdatedBlockIdAndIdentityIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByStakingEventUpdatedBlockIdAndIdentityIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `StakingEvent`. */ - stakingEvents: StakingEventsConnection; -}; - -/** A `Identity` edge in the connection, with data from `StakingEvent`. */ -export type BlockIdentitiesByStakingEventUpdatedBlockIdAndIdentityIdManyToManyEdgeStakingEventsArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Identity` values, with data from `StatType`. */ -export type BlockIdentitiesByStatTypeCreatedBlockIdAndClaimIssuerIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByStatTypeCreatedBlockIdAndClaimIssuerIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `StatType`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `StatType`. */ -export type BlockIdentitiesByStatTypeCreatedBlockIdAndClaimIssuerIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `StatType`. */ -export type BlockIdentitiesByStatTypeCreatedBlockIdAndClaimIssuerIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByStatTypeCreatedBlockIdAndClaimIssuerIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `StatType`. */ - statTypesByClaimIssuerId: StatTypesConnection; -}; - -/** A `Identity` edge in the connection, with data from `StatType`. */ -export type BlockIdentitiesByStatTypeCreatedBlockIdAndClaimIssuerIdManyToManyEdgeStatTypesByClaimIssuerIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Identity` values, with data from `StatType`. */ -export type BlockIdentitiesByStatTypeUpdatedBlockIdAndClaimIssuerIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByStatTypeUpdatedBlockIdAndClaimIssuerIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `StatType`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `StatType`. */ -export type BlockIdentitiesByStatTypeUpdatedBlockIdAndClaimIssuerIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `StatType`. */ -export type BlockIdentitiesByStatTypeUpdatedBlockIdAndClaimIssuerIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByStatTypeUpdatedBlockIdAndClaimIssuerIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `StatType`. */ - statTypesByClaimIssuerId: StatTypesConnection; -}; - -/** A `Identity` edge in the connection, with data from `StatType`. */ -export type BlockIdentitiesByStatTypeUpdatedBlockIdAndClaimIssuerIdManyToManyEdgeStatTypesByClaimIssuerIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Identity` values, with data from `Sto`. */ -export type BlockIdentitiesByStoCreatedBlockIdAndCreatorIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByStoCreatedBlockIdAndCreatorIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `Sto`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `Sto`. */ -export type BlockIdentitiesByStoCreatedBlockIdAndCreatorIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `Sto`. */ -export type BlockIdentitiesByStoCreatedBlockIdAndCreatorIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByStoCreatedBlockIdAndCreatorIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Sto`. */ - stosByCreatorId: StosConnection; -}; - -/** A `Identity` edge in the connection, with data from `Sto`. */ -export type BlockIdentitiesByStoCreatedBlockIdAndCreatorIdManyToManyEdgeStosByCreatorIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Identity` values, with data from `Sto`. */ -export type BlockIdentitiesByStoUpdatedBlockIdAndCreatorIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByStoUpdatedBlockIdAndCreatorIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `Sto`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `Sto`. */ -export type BlockIdentitiesByStoUpdatedBlockIdAndCreatorIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `Sto`. */ -export type BlockIdentitiesByStoUpdatedBlockIdAndCreatorIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByStoUpdatedBlockIdAndCreatorIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Sto`. */ - stosByCreatorId: StosConnection; -}; - -/** A `Identity` edge in the connection, with data from `Sto`. */ -export type BlockIdentitiesByStoUpdatedBlockIdAndCreatorIdManyToManyEdgeStosByCreatorIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Identity` values, with data from `TickerExternalAgentAction`. */ -export type BlockIdentitiesByTickerExternalAgentActionCreatedBlockIdAndCallerIdManyToManyConnection = - { - __typename?: 'BlockIdentitiesByTickerExternalAgentActionCreatedBlockIdAndCallerIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `TickerExternalAgentAction`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Identity` values, with data from `TickerExternalAgentAction`. */ -export type BlockIdentitiesByTickerExternalAgentActionCreatedBlockIdAndCallerIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `TickerExternalAgentAction`. */ -export type BlockIdentitiesByTickerExternalAgentActionCreatedBlockIdAndCallerIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByTickerExternalAgentActionCreatedBlockIdAndCallerIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TickerExternalAgentAction`. */ - tickerExternalAgentActionsByCallerId: TickerExternalAgentActionsConnection; -}; - -/** A `Identity` edge in the connection, with data from `TickerExternalAgentAction`. */ -export type BlockIdentitiesByTickerExternalAgentActionCreatedBlockIdAndCallerIdManyToManyEdgeTickerExternalAgentActionsByCallerIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Identity` values, with data from `TickerExternalAgentAction`. */ -export type BlockIdentitiesByTickerExternalAgentActionUpdatedBlockIdAndCallerIdManyToManyConnection = - { - __typename?: 'BlockIdentitiesByTickerExternalAgentActionUpdatedBlockIdAndCallerIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `TickerExternalAgentAction`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Identity` values, with data from `TickerExternalAgentAction`. */ -export type BlockIdentitiesByTickerExternalAgentActionUpdatedBlockIdAndCallerIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `TickerExternalAgentAction`. */ -export type BlockIdentitiesByTickerExternalAgentActionUpdatedBlockIdAndCallerIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByTickerExternalAgentActionUpdatedBlockIdAndCallerIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TickerExternalAgentAction`. */ - tickerExternalAgentActionsByCallerId: TickerExternalAgentActionsConnection; -}; - -/** A `Identity` edge in the connection, with data from `TickerExternalAgentAction`. */ -export type BlockIdentitiesByTickerExternalAgentActionUpdatedBlockIdAndCallerIdManyToManyEdgeTickerExternalAgentActionsByCallerIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Identity` values, with data from `TickerExternalAgent`. */ -export type BlockIdentitiesByTickerExternalAgentCreatedBlockIdAndCallerIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByTickerExternalAgentCreatedBlockIdAndCallerIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `TickerExternalAgent`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `TickerExternalAgent`. */ -export type BlockIdentitiesByTickerExternalAgentCreatedBlockIdAndCallerIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `TickerExternalAgent`. */ -export type BlockIdentitiesByTickerExternalAgentCreatedBlockIdAndCallerIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByTickerExternalAgentCreatedBlockIdAndCallerIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TickerExternalAgent`. */ - tickerExternalAgentsByCallerId: TickerExternalAgentsConnection; -}; - -/** A `Identity` edge in the connection, with data from `TickerExternalAgent`. */ -export type BlockIdentitiesByTickerExternalAgentCreatedBlockIdAndCallerIdManyToManyEdgeTickerExternalAgentsByCallerIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Identity` values, with data from `TickerExternalAgentHistory`. */ -export type BlockIdentitiesByTickerExternalAgentHistoryCreatedBlockIdAndIdentityIdManyToManyConnection = - { - __typename?: 'BlockIdentitiesByTickerExternalAgentHistoryCreatedBlockIdAndIdentityIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `TickerExternalAgentHistory`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Identity` values, with data from `TickerExternalAgentHistory`. */ -export type BlockIdentitiesByTickerExternalAgentHistoryCreatedBlockIdAndIdentityIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `TickerExternalAgentHistory`. */ -export type BlockIdentitiesByTickerExternalAgentHistoryCreatedBlockIdAndIdentityIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByTickerExternalAgentHistoryCreatedBlockIdAndIdentityIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TickerExternalAgentHistory`. */ - tickerExternalAgentHistories: TickerExternalAgentHistoriesConnection; -}; - -/** A `Identity` edge in the connection, with data from `TickerExternalAgentHistory`. */ -export type BlockIdentitiesByTickerExternalAgentHistoryCreatedBlockIdAndIdentityIdManyToManyEdgeTickerExternalAgentHistoriesArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Identity` values, with data from `TickerExternalAgentHistory`. */ -export type BlockIdentitiesByTickerExternalAgentHistoryUpdatedBlockIdAndIdentityIdManyToManyConnection = - { - __typename?: 'BlockIdentitiesByTickerExternalAgentHistoryUpdatedBlockIdAndIdentityIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `TickerExternalAgentHistory`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Identity` values, with data from `TickerExternalAgentHistory`. */ -export type BlockIdentitiesByTickerExternalAgentHistoryUpdatedBlockIdAndIdentityIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `TickerExternalAgentHistory`. */ -export type BlockIdentitiesByTickerExternalAgentHistoryUpdatedBlockIdAndIdentityIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByTickerExternalAgentHistoryUpdatedBlockIdAndIdentityIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TickerExternalAgentHistory`. */ - tickerExternalAgentHistories: TickerExternalAgentHistoriesConnection; -}; - -/** A `Identity` edge in the connection, with data from `TickerExternalAgentHistory`. */ -export type BlockIdentitiesByTickerExternalAgentHistoryUpdatedBlockIdAndIdentityIdManyToManyEdgeTickerExternalAgentHistoriesArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Identity` values, with data from `TickerExternalAgent`. */ -export type BlockIdentitiesByTickerExternalAgentUpdatedBlockIdAndCallerIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByTickerExternalAgentUpdatedBlockIdAndCallerIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `TickerExternalAgent`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `TickerExternalAgent`. */ -export type BlockIdentitiesByTickerExternalAgentUpdatedBlockIdAndCallerIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `TickerExternalAgent`. */ -export type BlockIdentitiesByTickerExternalAgentUpdatedBlockIdAndCallerIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByTickerExternalAgentUpdatedBlockIdAndCallerIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TickerExternalAgent`. */ - tickerExternalAgentsByCallerId: TickerExternalAgentsConnection; -}; - -/** A `Identity` edge in the connection, with data from `TickerExternalAgent`. */ -export type BlockIdentitiesByTickerExternalAgentUpdatedBlockIdAndCallerIdManyToManyEdgeTickerExternalAgentsByCallerIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Identity` values, with data from `TransferCompliance`. */ -export type BlockIdentitiesByTransferComplianceCreatedBlockIdAndClaimIssuerIdManyToManyConnection = - { - __typename?: 'BlockIdentitiesByTransferComplianceCreatedBlockIdAndClaimIssuerIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `TransferCompliance`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Identity` values, with data from `TransferCompliance`. */ -export type BlockIdentitiesByTransferComplianceCreatedBlockIdAndClaimIssuerIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `TransferCompliance`. */ -export type BlockIdentitiesByTransferComplianceCreatedBlockIdAndClaimIssuerIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByTransferComplianceCreatedBlockIdAndClaimIssuerIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TransferCompliance`. */ - transferCompliancesByClaimIssuerId: TransferCompliancesConnection; -}; - -/** A `Identity` edge in the connection, with data from `TransferCompliance`. */ -export type BlockIdentitiesByTransferComplianceCreatedBlockIdAndClaimIssuerIdManyToManyEdgeTransferCompliancesByClaimIssuerIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Identity` values, with data from `TransferCompliance`. */ -export type BlockIdentitiesByTransferComplianceUpdatedBlockIdAndClaimIssuerIdManyToManyConnection = - { - __typename?: 'BlockIdentitiesByTransferComplianceUpdatedBlockIdAndClaimIssuerIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `TransferCompliance`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Identity` values, with data from `TransferCompliance`. */ -export type BlockIdentitiesByTransferComplianceUpdatedBlockIdAndClaimIssuerIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `TransferCompliance`. */ -export type BlockIdentitiesByTransferComplianceUpdatedBlockIdAndClaimIssuerIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByTransferComplianceUpdatedBlockIdAndClaimIssuerIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TransferCompliance`. */ - transferCompliancesByClaimIssuerId: TransferCompliancesConnection; -}; - -/** A `Identity` edge in the connection, with data from `TransferCompliance`. */ -export type BlockIdentitiesByTransferComplianceUpdatedBlockIdAndClaimIssuerIdManyToManyEdgeTransferCompliancesByClaimIssuerIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Identity` values, with data from `Venue`. */ -export type BlockIdentitiesByVenueCreatedBlockIdAndOwnerIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByVenueCreatedBlockIdAndOwnerIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `Venue`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `Venue`. */ -export type BlockIdentitiesByVenueCreatedBlockIdAndOwnerIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `Venue`. */ -export type BlockIdentitiesByVenueCreatedBlockIdAndOwnerIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByVenueCreatedBlockIdAndOwnerIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Venue`. */ - venuesByOwnerId: VenuesConnection; -}; - -/** A `Identity` edge in the connection, with data from `Venue`. */ -export type BlockIdentitiesByVenueCreatedBlockIdAndOwnerIdManyToManyEdgeVenuesByOwnerIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Identity` values, with data from `Venue`. */ -export type BlockIdentitiesByVenueUpdatedBlockIdAndOwnerIdManyToManyConnection = { - __typename?: 'BlockIdentitiesByVenueUpdatedBlockIdAndOwnerIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `Venue`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `Venue`. */ -export type BlockIdentitiesByVenueUpdatedBlockIdAndOwnerIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `Venue`. */ -export type BlockIdentitiesByVenueUpdatedBlockIdAndOwnerIdManyToManyEdge = { - __typename?: 'BlockIdentitiesByVenueUpdatedBlockIdAndOwnerIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Venue`. */ - venuesByOwnerId: VenuesConnection; -}; - -/** A `Identity` edge in the connection, with data from `Venue`. */ -export type BlockIdentitiesByVenueUpdatedBlockIdAndOwnerIdManyToManyEdgeVenuesByOwnerIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Instruction` values, with data from `AssetTransaction`. */ -export type BlockInstructionsByAssetTransactionCreatedBlockIdAndInstructionIdManyToManyConnection = - { - __typename?: 'BlockInstructionsByAssetTransactionCreatedBlockIdAndInstructionIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Instruction`, info from the `AssetTransaction`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Instruction` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Instruction` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Instruction` values, with data from `AssetTransaction`. */ -export type BlockInstructionsByAssetTransactionCreatedBlockIdAndInstructionIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Instruction` edge in the connection, with data from `AssetTransaction`. */ -export type BlockInstructionsByAssetTransactionCreatedBlockIdAndInstructionIdManyToManyEdge = { - __typename?: 'BlockInstructionsByAssetTransactionCreatedBlockIdAndInstructionIdManyToManyEdge'; - /** Reads and enables pagination through a set of `AssetTransaction`. */ - assetTransactions: AssetTransactionsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Instruction` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Instruction` edge in the connection, with data from `AssetTransaction`. */ -export type BlockInstructionsByAssetTransactionCreatedBlockIdAndInstructionIdManyToManyEdgeAssetTransactionsArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Instruction` values, with data from `AssetTransaction`. */ -export type BlockInstructionsByAssetTransactionUpdatedBlockIdAndInstructionIdManyToManyConnection = - { - __typename?: 'BlockInstructionsByAssetTransactionUpdatedBlockIdAndInstructionIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Instruction`, info from the `AssetTransaction`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Instruction` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Instruction` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Instruction` values, with data from `AssetTransaction`. */ -export type BlockInstructionsByAssetTransactionUpdatedBlockIdAndInstructionIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Instruction` edge in the connection, with data from `AssetTransaction`. */ -export type BlockInstructionsByAssetTransactionUpdatedBlockIdAndInstructionIdManyToManyEdge = { - __typename?: 'BlockInstructionsByAssetTransactionUpdatedBlockIdAndInstructionIdManyToManyEdge'; - /** Reads and enables pagination through a set of `AssetTransaction`. */ - assetTransactions: AssetTransactionsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Instruction` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Instruction` edge in the connection, with data from `AssetTransaction`. */ -export type BlockInstructionsByAssetTransactionUpdatedBlockIdAndInstructionIdManyToManyEdgeAssetTransactionsArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Instruction` values, with data from `Leg`. */ -export type BlockInstructionsByLegCreatedBlockIdAndInstructionIdManyToManyConnection = { - __typename?: 'BlockInstructionsByLegCreatedBlockIdAndInstructionIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Instruction`, info from the `Leg`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Instruction` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Instruction` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Instruction` values, with data from `Leg`. */ -export type BlockInstructionsByLegCreatedBlockIdAndInstructionIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Instruction` edge in the connection, with data from `Leg`. */ -export type BlockInstructionsByLegCreatedBlockIdAndInstructionIdManyToManyEdge = { - __typename?: 'BlockInstructionsByLegCreatedBlockIdAndInstructionIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `Leg`. */ - legs: LegsConnection; - /** The `Instruction` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Instruction` edge in the connection, with data from `Leg`. */ -export type BlockInstructionsByLegCreatedBlockIdAndInstructionIdManyToManyEdgeLegsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Instruction` values, with data from `Leg`. */ -export type BlockInstructionsByLegUpdatedBlockIdAndInstructionIdManyToManyConnection = { - __typename?: 'BlockInstructionsByLegUpdatedBlockIdAndInstructionIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Instruction`, info from the `Leg`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Instruction` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Instruction` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Instruction` values, with data from `Leg`. */ -export type BlockInstructionsByLegUpdatedBlockIdAndInstructionIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Instruction` edge in the connection, with data from `Leg`. */ -export type BlockInstructionsByLegUpdatedBlockIdAndInstructionIdManyToManyEdge = { - __typename?: 'BlockInstructionsByLegUpdatedBlockIdAndInstructionIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `Leg`. */ - legs: LegsConnection; - /** The `Instruction` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Instruction` edge in the connection, with data from `Leg`. */ -export type BlockInstructionsByLegUpdatedBlockIdAndInstructionIdManyToManyEdgeLegsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -export type BlockMaxAggregates = { - __typename?: 'BlockMaxAggregates'; - /** Maximum of blockId across the matching connection */ - blockId?: Maybe; - /** Maximum of countEvents across the matching connection */ - countEvents?: Maybe; - /** Maximum of countExtrinsics across the matching connection */ - countExtrinsics?: Maybe; - /** Maximum of countExtrinsicsError across the matching connection */ - countExtrinsicsError?: Maybe; - /** Maximum of countExtrinsicsSigned across the matching connection */ - countExtrinsicsSigned?: Maybe; - /** Maximum of countExtrinsicsSuccess across the matching connection */ - countExtrinsicsSuccess?: Maybe; - /** Maximum of countExtrinsicsUnsigned across the matching connection */ - countExtrinsicsUnsigned?: Maybe; - /** Maximum of parentId across the matching connection */ - parentId?: Maybe; - /** Maximum of specVersionId across the matching connection */ - specVersionId?: Maybe; -}; - -export type BlockMinAggregates = { - __typename?: 'BlockMinAggregates'; - /** Minimum of blockId across the matching connection */ - blockId?: Maybe; - /** Minimum of countEvents across the matching connection */ - countEvents?: Maybe; - /** Minimum of countExtrinsics across the matching connection */ - countExtrinsics?: Maybe; - /** Minimum of countExtrinsicsError across the matching connection */ - countExtrinsicsError?: Maybe; - /** Minimum of countExtrinsicsSigned across the matching connection */ - countExtrinsicsSigned?: Maybe; - /** Minimum of countExtrinsicsSuccess across the matching connection */ - countExtrinsicsSuccess?: Maybe; - /** Minimum of countExtrinsicsUnsigned across the matching connection */ - countExtrinsicsUnsigned?: Maybe; - /** Minimum of parentId across the matching connection */ - parentId?: Maybe; - /** Minimum of specVersionId across the matching connection */ - specVersionId?: Maybe; -}; - -/** A connection to a list of `MultiSigProposal` values, with data from `MultiSigProposalVote`. */ -export type BlockMultiSigProposalsByMultiSigProposalVoteCreatedBlockIdAndProposalIdManyToManyConnection = - { - __typename?: 'BlockMultiSigProposalsByMultiSigProposalVoteCreatedBlockIdAndProposalIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `MultiSigProposal`, info from the `MultiSigProposalVote`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `MultiSigProposal` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `MultiSigProposal` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `MultiSigProposal` values, with data from `MultiSigProposalVote`. */ -export type BlockMultiSigProposalsByMultiSigProposalVoteCreatedBlockIdAndProposalIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `MultiSigProposal` edge in the connection, with data from `MultiSigProposalVote`. */ -export type BlockMultiSigProposalsByMultiSigProposalVoteCreatedBlockIdAndProposalIdManyToManyEdge = - { - __typename?: 'BlockMultiSigProposalsByMultiSigProposalVoteCreatedBlockIdAndProposalIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `MultiSigProposal` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `MultiSigProposalVote`. */ - votes: MultiSigProposalVotesConnection; - }; - -/** A `MultiSigProposal` edge in the connection, with data from `MultiSigProposalVote`. */ -export type BlockMultiSigProposalsByMultiSigProposalVoteCreatedBlockIdAndProposalIdManyToManyEdgeVotesArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `MultiSigProposal` values, with data from `MultiSigProposalVote`. */ -export type BlockMultiSigProposalsByMultiSigProposalVoteUpdatedBlockIdAndProposalIdManyToManyConnection = - { - __typename?: 'BlockMultiSigProposalsByMultiSigProposalVoteUpdatedBlockIdAndProposalIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `MultiSigProposal`, info from the `MultiSigProposalVote`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `MultiSigProposal` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `MultiSigProposal` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `MultiSigProposal` values, with data from `MultiSigProposalVote`. */ -export type BlockMultiSigProposalsByMultiSigProposalVoteUpdatedBlockIdAndProposalIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `MultiSigProposal` edge in the connection, with data from `MultiSigProposalVote`. */ -export type BlockMultiSigProposalsByMultiSigProposalVoteUpdatedBlockIdAndProposalIdManyToManyEdge = - { - __typename?: 'BlockMultiSigProposalsByMultiSigProposalVoteUpdatedBlockIdAndProposalIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `MultiSigProposal` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `MultiSigProposalVote`. */ - votes: MultiSigProposalVotesConnection; - }; - -/** A `MultiSigProposal` edge in the connection, with data from `MultiSigProposalVote`. */ -export type BlockMultiSigProposalsByMultiSigProposalVoteUpdatedBlockIdAndProposalIdManyToManyEdgeVotesArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `MultiSigSigner` values, with data from `MultiSigProposalVote`. */ -export type BlockMultiSigSignersByMultiSigProposalVoteCreatedBlockIdAndSignerIdManyToManyConnection = - { - __typename?: 'BlockMultiSigSignersByMultiSigProposalVoteCreatedBlockIdAndSignerIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `MultiSigSigner`, info from the `MultiSigProposalVote`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `MultiSigSigner` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `MultiSigSigner` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `MultiSigSigner` values, with data from `MultiSigProposalVote`. */ -export type BlockMultiSigSignersByMultiSigProposalVoteCreatedBlockIdAndSignerIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `MultiSigSigner` edge in the connection, with data from `MultiSigProposalVote`. */ -export type BlockMultiSigSignersByMultiSigProposalVoteCreatedBlockIdAndSignerIdManyToManyEdge = { - __typename?: 'BlockMultiSigSignersByMultiSigProposalVoteCreatedBlockIdAndSignerIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `MultiSigSigner` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `MultiSigProposalVote`. */ - votes: MultiSigProposalVotesConnection; -}; - -/** A `MultiSigSigner` edge in the connection, with data from `MultiSigProposalVote`. */ -export type BlockMultiSigSignersByMultiSigProposalVoteCreatedBlockIdAndSignerIdManyToManyEdgeVotesArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `MultiSigSigner` values, with data from `MultiSigProposalVote`. */ -export type BlockMultiSigSignersByMultiSigProposalVoteUpdatedBlockIdAndSignerIdManyToManyConnection = - { - __typename?: 'BlockMultiSigSignersByMultiSigProposalVoteUpdatedBlockIdAndSignerIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `MultiSigSigner`, info from the `MultiSigProposalVote`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `MultiSigSigner` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `MultiSigSigner` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `MultiSigSigner` values, with data from `MultiSigProposalVote`. */ -export type BlockMultiSigSignersByMultiSigProposalVoteUpdatedBlockIdAndSignerIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `MultiSigSigner` edge in the connection, with data from `MultiSigProposalVote`. */ -export type BlockMultiSigSignersByMultiSigProposalVoteUpdatedBlockIdAndSignerIdManyToManyEdge = { - __typename?: 'BlockMultiSigSignersByMultiSigProposalVoteUpdatedBlockIdAndSignerIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `MultiSigSigner` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `MultiSigProposalVote`. */ - votes: MultiSigProposalVotesConnection; -}; - -/** A `MultiSigSigner` edge in the connection, with data from `MultiSigProposalVote`. */ -export type BlockMultiSigSignersByMultiSigProposalVoteUpdatedBlockIdAndSignerIdManyToManyEdgeVotesArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `MultiSig` values, with data from `MultiSigProposal`. */ -export type BlockMultiSigsByMultiSigProposalCreatedBlockIdAndMultisigIdManyToManyConnection = { - __typename?: 'BlockMultiSigsByMultiSigProposalCreatedBlockIdAndMultisigIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `MultiSig`, info from the `MultiSigProposal`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `MultiSig` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `MultiSig` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `MultiSig` values, with data from `MultiSigProposal`. */ -export type BlockMultiSigsByMultiSigProposalCreatedBlockIdAndMultisigIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `MultiSig` edge in the connection, with data from `MultiSigProposal`. */ -export type BlockMultiSigsByMultiSigProposalCreatedBlockIdAndMultisigIdManyToManyEdge = { - __typename?: 'BlockMultiSigsByMultiSigProposalCreatedBlockIdAndMultisigIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `MultiSig` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `MultiSigProposal`. */ - proposals: MultiSigProposalsConnection; -}; - -/** A `MultiSig` edge in the connection, with data from `MultiSigProposal`. */ -export type BlockMultiSigsByMultiSigProposalCreatedBlockIdAndMultisigIdManyToManyEdgeProposalsArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `MultiSig` values, with data from `MultiSigProposal`. */ -export type BlockMultiSigsByMultiSigProposalUpdatedBlockIdAndMultisigIdManyToManyConnection = { - __typename?: 'BlockMultiSigsByMultiSigProposalUpdatedBlockIdAndMultisigIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `MultiSig`, info from the `MultiSigProposal`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `MultiSig` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `MultiSig` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `MultiSig` values, with data from `MultiSigProposal`. */ -export type BlockMultiSigsByMultiSigProposalUpdatedBlockIdAndMultisigIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `MultiSig` edge in the connection, with data from `MultiSigProposal`. */ -export type BlockMultiSigsByMultiSigProposalUpdatedBlockIdAndMultisigIdManyToManyEdge = { - __typename?: 'BlockMultiSigsByMultiSigProposalUpdatedBlockIdAndMultisigIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `MultiSig` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `MultiSigProposal`. */ - proposals: MultiSigProposalsConnection; -}; - -/** A `MultiSig` edge in the connection, with data from `MultiSigProposal`. */ -export type BlockMultiSigsByMultiSigProposalUpdatedBlockIdAndMultisigIdManyToManyEdgeProposalsArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `MultiSig` values, with data from `MultiSigSigner`. */ -export type BlockMultiSigsByMultiSigSignerCreatedBlockIdAndMultisigIdManyToManyConnection = { - __typename?: 'BlockMultiSigsByMultiSigSignerCreatedBlockIdAndMultisigIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `MultiSig`, info from the `MultiSigSigner`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `MultiSig` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `MultiSig` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `MultiSig` values, with data from `MultiSigSigner`. */ -export type BlockMultiSigsByMultiSigSignerCreatedBlockIdAndMultisigIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `MultiSig` edge in the connection, with data from `MultiSigSigner`. */ -export type BlockMultiSigsByMultiSigSignerCreatedBlockIdAndMultisigIdManyToManyEdge = { - __typename?: 'BlockMultiSigsByMultiSigSignerCreatedBlockIdAndMultisigIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `MultiSig` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `MultiSigSigner`. */ - signers: MultiSigSignersConnection; -}; - -/** A `MultiSig` edge in the connection, with data from `MultiSigSigner`. */ -export type BlockMultiSigsByMultiSigSignerCreatedBlockIdAndMultisigIdManyToManyEdgeSignersArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `MultiSig` values, with data from `MultiSigSigner`. */ -export type BlockMultiSigsByMultiSigSignerUpdatedBlockIdAndMultisigIdManyToManyConnection = { - __typename?: 'BlockMultiSigsByMultiSigSignerUpdatedBlockIdAndMultisigIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `MultiSig`, info from the `MultiSigSigner`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `MultiSig` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `MultiSig` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `MultiSig` values, with data from `MultiSigSigner`. */ -export type BlockMultiSigsByMultiSigSignerUpdatedBlockIdAndMultisigIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `MultiSig` edge in the connection, with data from `MultiSigSigner`. */ -export type BlockMultiSigsByMultiSigSignerUpdatedBlockIdAndMultisigIdManyToManyEdge = { - __typename?: 'BlockMultiSigsByMultiSigSignerUpdatedBlockIdAndMultisigIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `MultiSig` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `MultiSigSigner`. */ - signers: MultiSigSignersConnection; -}; - -/** A `MultiSig` edge in the connection, with data from `MultiSigSigner`. */ -export type BlockMultiSigsByMultiSigSignerUpdatedBlockIdAndMultisigIdManyToManyEdgeSignersArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Permission` values, with data from `Account`. */ -export type BlockPermissionsByAccountCreatedBlockIdAndPermissionsIdManyToManyConnection = { - __typename?: 'BlockPermissionsByAccountCreatedBlockIdAndPermissionsIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Permission`, info from the `Account`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Permission` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Permission` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Permission` values, with data from `Account`. */ -export type BlockPermissionsByAccountCreatedBlockIdAndPermissionsIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Permission` edge in the connection, with data from `Account`. */ -export type BlockPermissionsByAccountCreatedBlockIdAndPermissionsIdManyToManyEdge = { - __typename?: 'BlockPermissionsByAccountCreatedBlockIdAndPermissionsIdManyToManyEdge'; - /** Reads and enables pagination through a set of `Account`. */ - accountsByPermissionsId: AccountsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Permission` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Permission` edge in the connection, with data from `Account`. */ -export type BlockPermissionsByAccountCreatedBlockIdAndPermissionsIdManyToManyEdgeAccountsByPermissionsIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Permission` values, with data from `Account`. */ -export type BlockPermissionsByAccountUpdatedBlockIdAndPermissionsIdManyToManyConnection = { - __typename?: 'BlockPermissionsByAccountUpdatedBlockIdAndPermissionsIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Permission`, info from the `Account`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Permission` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Permission` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Permission` values, with data from `Account`. */ -export type BlockPermissionsByAccountUpdatedBlockIdAndPermissionsIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Permission` edge in the connection, with data from `Account`. */ -export type BlockPermissionsByAccountUpdatedBlockIdAndPermissionsIdManyToManyEdge = { - __typename?: 'BlockPermissionsByAccountUpdatedBlockIdAndPermissionsIdManyToManyEdge'; - /** Reads and enables pagination through a set of `Account`. */ - accountsByPermissionsId: AccountsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Permission` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Permission` edge in the connection, with data from `Account`. */ -export type BlockPermissionsByAccountUpdatedBlockIdAndPermissionsIdManyToManyEdgeAccountsByPermissionsIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Portfolio` values, with data from `AssetTransaction`. */ -export type BlockPortfoliosByAssetTransactionCreatedBlockIdAndFromPortfolioIdManyToManyConnection = - { - __typename?: 'BlockPortfoliosByAssetTransactionCreatedBlockIdAndFromPortfolioIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Portfolio`, info from the `AssetTransaction`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Portfolio` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Portfolio` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Portfolio` values, with data from `AssetTransaction`. */ -export type BlockPortfoliosByAssetTransactionCreatedBlockIdAndFromPortfolioIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Portfolio` edge in the connection, with data from `AssetTransaction`. */ -export type BlockPortfoliosByAssetTransactionCreatedBlockIdAndFromPortfolioIdManyToManyEdge = { - __typename?: 'BlockPortfoliosByAssetTransactionCreatedBlockIdAndFromPortfolioIdManyToManyEdge'; - /** Reads and enables pagination through a set of `AssetTransaction`. */ - assetTransactionsByFromPortfolioId: AssetTransactionsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Portfolio` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Portfolio` edge in the connection, with data from `AssetTransaction`. */ -export type BlockPortfoliosByAssetTransactionCreatedBlockIdAndFromPortfolioIdManyToManyEdgeAssetTransactionsByFromPortfolioIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Portfolio` values, with data from `AssetTransaction`. */ -export type BlockPortfoliosByAssetTransactionCreatedBlockIdAndToPortfolioIdManyToManyConnection = { - __typename?: 'BlockPortfoliosByAssetTransactionCreatedBlockIdAndToPortfolioIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Portfolio`, info from the `AssetTransaction`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Portfolio` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Portfolio` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Portfolio` values, with data from `AssetTransaction`. */ -export type BlockPortfoliosByAssetTransactionCreatedBlockIdAndToPortfolioIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Portfolio` edge in the connection, with data from `AssetTransaction`. */ -export type BlockPortfoliosByAssetTransactionCreatedBlockIdAndToPortfolioIdManyToManyEdge = { - __typename?: 'BlockPortfoliosByAssetTransactionCreatedBlockIdAndToPortfolioIdManyToManyEdge'; - /** Reads and enables pagination through a set of `AssetTransaction`. */ - assetTransactionsByToPortfolioId: AssetTransactionsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Portfolio` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Portfolio` edge in the connection, with data from `AssetTransaction`. */ -export type BlockPortfoliosByAssetTransactionCreatedBlockIdAndToPortfolioIdManyToManyEdgeAssetTransactionsByToPortfolioIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Portfolio` values, with data from `AssetTransaction`. */ -export type BlockPortfoliosByAssetTransactionUpdatedBlockIdAndFromPortfolioIdManyToManyConnection = - { - __typename?: 'BlockPortfoliosByAssetTransactionUpdatedBlockIdAndFromPortfolioIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Portfolio`, info from the `AssetTransaction`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Portfolio` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Portfolio` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Portfolio` values, with data from `AssetTransaction`. */ -export type BlockPortfoliosByAssetTransactionUpdatedBlockIdAndFromPortfolioIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Portfolio` edge in the connection, with data from `AssetTransaction`. */ -export type BlockPortfoliosByAssetTransactionUpdatedBlockIdAndFromPortfolioIdManyToManyEdge = { - __typename?: 'BlockPortfoliosByAssetTransactionUpdatedBlockIdAndFromPortfolioIdManyToManyEdge'; - /** Reads and enables pagination through a set of `AssetTransaction`. */ - assetTransactionsByFromPortfolioId: AssetTransactionsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Portfolio` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Portfolio` edge in the connection, with data from `AssetTransaction`. */ -export type BlockPortfoliosByAssetTransactionUpdatedBlockIdAndFromPortfolioIdManyToManyEdgeAssetTransactionsByFromPortfolioIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Portfolio` values, with data from `AssetTransaction`. */ -export type BlockPortfoliosByAssetTransactionUpdatedBlockIdAndToPortfolioIdManyToManyConnection = { - __typename?: 'BlockPortfoliosByAssetTransactionUpdatedBlockIdAndToPortfolioIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Portfolio`, info from the `AssetTransaction`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Portfolio` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Portfolio` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Portfolio` values, with data from `AssetTransaction`. */ -export type BlockPortfoliosByAssetTransactionUpdatedBlockIdAndToPortfolioIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Portfolio` edge in the connection, with data from `AssetTransaction`. */ -export type BlockPortfoliosByAssetTransactionUpdatedBlockIdAndToPortfolioIdManyToManyEdge = { - __typename?: 'BlockPortfoliosByAssetTransactionUpdatedBlockIdAndToPortfolioIdManyToManyEdge'; - /** Reads and enables pagination through a set of `AssetTransaction`. */ - assetTransactionsByToPortfolioId: AssetTransactionsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Portfolio` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Portfolio` edge in the connection, with data from `AssetTransaction`. */ -export type BlockPortfoliosByAssetTransactionUpdatedBlockIdAndToPortfolioIdManyToManyEdgeAssetTransactionsByToPortfolioIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Portfolio` values, with data from `Distribution`. */ -export type BlockPortfoliosByDistributionCreatedBlockIdAndPortfolioIdManyToManyConnection = { - __typename?: 'BlockPortfoliosByDistributionCreatedBlockIdAndPortfolioIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Portfolio`, info from the `Distribution`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Portfolio` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Portfolio` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Portfolio` values, with data from `Distribution`. */ -export type BlockPortfoliosByDistributionCreatedBlockIdAndPortfolioIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Portfolio` edge in the connection, with data from `Distribution`. */ -export type BlockPortfoliosByDistributionCreatedBlockIdAndPortfolioIdManyToManyEdge = { - __typename?: 'BlockPortfoliosByDistributionCreatedBlockIdAndPortfolioIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `Distribution`. */ - distributions: DistributionsConnection; - /** The `Portfolio` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Portfolio` edge in the connection, with data from `Distribution`. */ -export type BlockPortfoliosByDistributionCreatedBlockIdAndPortfolioIdManyToManyEdgeDistributionsArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Portfolio` values, with data from `Distribution`. */ -export type BlockPortfoliosByDistributionUpdatedBlockIdAndPortfolioIdManyToManyConnection = { - __typename?: 'BlockPortfoliosByDistributionUpdatedBlockIdAndPortfolioIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Portfolio`, info from the `Distribution`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Portfolio` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Portfolio` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Portfolio` values, with data from `Distribution`. */ -export type BlockPortfoliosByDistributionUpdatedBlockIdAndPortfolioIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Portfolio` edge in the connection, with data from `Distribution`. */ -export type BlockPortfoliosByDistributionUpdatedBlockIdAndPortfolioIdManyToManyEdge = { - __typename?: 'BlockPortfoliosByDistributionUpdatedBlockIdAndPortfolioIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `Distribution`. */ - distributions: DistributionsConnection; - /** The `Portfolio` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Portfolio` edge in the connection, with data from `Distribution`. */ -export type BlockPortfoliosByDistributionUpdatedBlockIdAndPortfolioIdManyToManyEdgeDistributionsArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Portfolio` values, with data from `Leg`. */ -export type BlockPortfoliosByLegCreatedBlockIdAndFromIdManyToManyConnection = { - __typename?: 'BlockPortfoliosByLegCreatedBlockIdAndFromIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Portfolio`, info from the `Leg`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Portfolio` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Portfolio` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Portfolio` values, with data from `Leg`. */ -export type BlockPortfoliosByLegCreatedBlockIdAndFromIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `Portfolio` edge in the connection, with data from `Leg`. */ -export type BlockPortfoliosByLegCreatedBlockIdAndFromIdManyToManyEdge = { - __typename?: 'BlockPortfoliosByLegCreatedBlockIdAndFromIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `Leg`. */ - legsByFromId: LegsConnection; - /** The `Portfolio` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Portfolio` edge in the connection, with data from `Leg`. */ -export type BlockPortfoliosByLegCreatedBlockIdAndFromIdManyToManyEdgeLegsByFromIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Portfolio` values, with data from `Leg`. */ -export type BlockPortfoliosByLegCreatedBlockIdAndToIdManyToManyConnection = { - __typename?: 'BlockPortfoliosByLegCreatedBlockIdAndToIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Portfolio`, info from the `Leg`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Portfolio` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Portfolio` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Portfolio` values, with data from `Leg`. */ -export type BlockPortfoliosByLegCreatedBlockIdAndToIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `Portfolio` edge in the connection, with data from `Leg`. */ -export type BlockPortfoliosByLegCreatedBlockIdAndToIdManyToManyEdge = { - __typename?: 'BlockPortfoliosByLegCreatedBlockIdAndToIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `Leg`. */ - legsByToId: LegsConnection; - /** The `Portfolio` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Portfolio` edge in the connection, with data from `Leg`. */ -export type BlockPortfoliosByLegCreatedBlockIdAndToIdManyToManyEdgeLegsByToIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Portfolio` values, with data from `Leg`. */ -export type BlockPortfoliosByLegUpdatedBlockIdAndFromIdManyToManyConnection = { - __typename?: 'BlockPortfoliosByLegUpdatedBlockIdAndFromIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Portfolio`, info from the `Leg`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Portfolio` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Portfolio` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Portfolio` values, with data from `Leg`. */ -export type BlockPortfoliosByLegUpdatedBlockIdAndFromIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `Portfolio` edge in the connection, with data from `Leg`. */ -export type BlockPortfoliosByLegUpdatedBlockIdAndFromIdManyToManyEdge = { - __typename?: 'BlockPortfoliosByLegUpdatedBlockIdAndFromIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `Leg`. */ - legsByFromId: LegsConnection; - /** The `Portfolio` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Portfolio` edge in the connection, with data from `Leg`. */ -export type BlockPortfoliosByLegUpdatedBlockIdAndFromIdManyToManyEdgeLegsByFromIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Portfolio` values, with data from `Leg`. */ -export type BlockPortfoliosByLegUpdatedBlockIdAndToIdManyToManyConnection = { - __typename?: 'BlockPortfoliosByLegUpdatedBlockIdAndToIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Portfolio`, info from the `Leg`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Portfolio` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Portfolio` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Portfolio` values, with data from `Leg`. */ -export type BlockPortfoliosByLegUpdatedBlockIdAndToIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `Portfolio` edge in the connection, with data from `Leg`. */ -export type BlockPortfoliosByLegUpdatedBlockIdAndToIdManyToManyEdge = { - __typename?: 'BlockPortfoliosByLegUpdatedBlockIdAndToIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `Leg`. */ - legsByToId: LegsConnection; - /** The `Portfolio` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Portfolio` edge in the connection, with data from `Leg`. */ -export type BlockPortfoliosByLegUpdatedBlockIdAndToIdManyToManyEdgeLegsByToIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Portfolio` values, with data from `PortfolioMovement`. */ -export type BlockPortfoliosByPortfolioMovementCreatedBlockIdAndFromIdManyToManyConnection = { - __typename?: 'BlockPortfoliosByPortfolioMovementCreatedBlockIdAndFromIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Portfolio`, info from the `PortfolioMovement`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Portfolio` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Portfolio` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Portfolio` values, with data from `PortfolioMovement`. */ -export type BlockPortfoliosByPortfolioMovementCreatedBlockIdAndFromIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Portfolio` edge in the connection, with data from `PortfolioMovement`. */ -export type BlockPortfoliosByPortfolioMovementCreatedBlockIdAndFromIdManyToManyEdge = { - __typename?: 'BlockPortfoliosByPortfolioMovementCreatedBlockIdAndFromIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Portfolio` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `PortfolioMovement`. */ - portfolioMovementsByFromId: PortfolioMovementsConnection; -}; - -/** A `Portfolio` edge in the connection, with data from `PortfolioMovement`. */ -export type BlockPortfoliosByPortfolioMovementCreatedBlockIdAndFromIdManyToManyEdgePortfolioMovementsByFromIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Portfolio` values, with data from `PortfolioMovement`. */ -export type BlockPortfoliosByPortfolioMovementCreatedBlockIdAndToIdManyToManyConnection = { - __typename?: 'BlockPortfoliosByPortfolioMovementCreatedBlockIdAndToIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Portfolio`, info from the `PortfolioMovement`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Portfolio` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Portfolio` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Portfolio` values, with data from `PortfolioMovement`. */ -export type BlockPortfoliosByPortfolioMovementCreatedBlockIdAndToIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Portfolio` edge in the connection, with data from `PortfolioMovement`. */ -export type BlockPortfoliosByPortfolioMovementCreatedBlockIdAndToIdManyToManyEdge = { - __typename?: 'BlockPortfoliosByPortfolioMovementCreatedBlockIdAndToIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Portfolio` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `PortfolioMovement`. */ - portfolioMovementsByToId: PortfolioMovementsConnection; -}; - -/** A `Portfolio` edge in the connection, with data from `PortfolioMovement`. */ -export type BlockPortfoliosByPortfolioMovementCreatedBlockIdAndToIdManyToManyEdgePortfolioMovementsByToIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Portfolio` values, with data from `PortfolioMovement`. */ -export type BlockPortfoliosByPortfolioMovementUpdatedBlockIdAndFromIdManyToManyConnection = { - __typename?: 'BlockPortfoliosByPortfolioMovementUpdatedBlockIdAndFromIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Portfolio`, info from the `PortfolioMovement`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Portfolio` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Portfolio` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Portfolio` values, with data from `PortfolioMovement`. */ -export type BlockPortfoliosByPortfolioMovementUpdatedBlockIdAndFromIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Portfolio` edge in the connection, with data from `PortfolioMovement`. */ -export type BlockPortfoliosByPortfolioMovementUpdatedBlockIdAndFromIdManyToManyEdge = { - __typename?: 'BlockPortfoliosByPortfolioMovementUpdatedBlockIdAndFromIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Portfolio` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `PortfolioMovement`. */ - portfolioMovementsByFromId: PortfolioMovementsConnection; -}; - -/** A `Portfolio` edge in the connection, with data from `PortfolioMovement`. */ -export type BlockPortfoliosByPortfolioMovementUpdatedBlockIdAndFromIdManyToManyEdgePortfolioMovementsByFromIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Portfolio` values, with data from `PortfolioMovement`. */ -export type BlockPortfoliosByPortfolioMovementUpdatedBlockIdAndToIdManyToManyConnection = { - __typename?: 'BlockPortfoliosByPortfolioMovementUpdatedBlockIdAndToIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Portfolio`, info from the `PortfolioMovement`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Portfolio` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Portfolio` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Portfolio` values, with data from `PortfolioMovement`. */ -export type BlockPortfoliosByPortfolioMovementUpdatedBlockIdAndToIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Portfolio` edge in the connection, with data from `PortfolioMovement`. */ -export type BlockPortfoliosByPortfolioMovementUpdatedBlockIdAndToIdManyToManyEdge = { - __typename?: 'BlockPortfoliosByPortfolioMovementUpdatedBlockIdAndToIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Portfolio` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `PortfolioMovement`. */ - portfolioMovementsByToId: PortfolioMovementsConnection; -}; - -/** A `Portfolio` edge in the connection, with data from `PortfolioMovement`. */ -export type BlockPortfoliosByPortfolioMovementUpdatedBlockIdAndToIdManyToManyEdgePortfolioMovementsByToIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Portfolio` values, with data from `Sto`. */ -export type BlockPortfoliosByStoCreatedBlockIdAndOfferingPortfolioIdManyToManyConnection = { - __typename?: 'BlockPortfoliosByStoCreatedBlockIdAndOfferingPortfolioIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Portfolio`, info from the `Sto`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Portfolio` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Portfolio` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Portfolio` values, with data from `Sto`. */ -export type BlockPortfoliosByStoCreatedBlockIdAndOfferingPortfolioIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Portfolio` edge in the connection, with data from `Sto`. */ -export type BlockPortfoliosByStoCreatedBlockIdAndOfferingPortfolioIdManyToManyEdge = { - __typename?: 'BlockPortfoliosByStoCreatedBlockIdAndOfferingPortfolioIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Portfolio` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Sto`. */ - stosByOfferingPortfolioId: StosConnection; -}; - -/** A `Portfolio` edge in the connection, with data from `Sto`. */ -export type BlockPortfoliosByStoCreatedBlockIdAndOfferingPortfolioIdManyToManyEdgeStosByOfferingPortfolioIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Portfolio` values, with data from `Sto`. */ -export type BlockPortfoliosByStoCreatedBlockIdAndRaisingPortfolioIdManyToManyConnection = { - __typename?: 'BlockPortfoliosByStoCreatedBlockIdAndRaisingPortfolioIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Portfolio`, info from the `Sto`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Portfolio` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Portfolio` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Portfolio` values, with data from `Sto`. */ -export type BlockPortfoliosByStoCreatedBlockIdAndRaisingPortfolioIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Portfolio` edge in the connection, with data from `Sto`. */ -export type BlockPortfoliosByStoCreatedBlockIdAndRaisingPortfolioIdManyToManyEdge = { - __typename?: 'BlockPortfoliosByStoCreatedBlockIdAndRaisingPortfolioIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Portfolio` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Sto`. */ - stosByRaisingPortfolioId: StosConnection; -}; - -/** A `Portfolio` edge in the connection, with data from `Sto`. */ -export type BlockPortfoliosByStoCreatedBlockIdAndRaisingPortfolioIdManyToManyEdgeStosByRaisingPortfolioIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Portfolio` values, with data from `Sto`. */ -export type BlockPortfoliosByStoUpdatedBlockIdAndOfferingPortfolioIdManyToManyConnection = { - __typename?: 'BlockPortfoliosByStoUpdatedBlockIdAndOfferingPortfolioIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Portfolio`, info from the `Sto`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Portfolio` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Portfolio` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Portfolio` values, with data from `Sto`. */ -export type BlockPortfoliosByStoUpdatedBlockIdAndOfferingPortfolioIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Portfolio` edge in the connection, with data from `Sto`. */ -export type BlockPortfoliosByStoUpdatedBlockIdAndOfferingPortfolioIdManyToManyEdge = { - __typename?: 'BlockPortfoliosByStoUpdatedBlockIdAndOfferingPortfolioIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Portfolio` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Sto`. */ - stosByOfferingPortfolioId: StosConnection; -}; - -/** A `Portfolio` edge in the connection, with data from `Sto`. */ -export type BlockPortfoliosByStoUpdatedBlockIdAndOfferingPortfolioIdManyToManyEdgeStosByOfferingPortfolioIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Portfolio` values, with data from `Sto`. */ -export type BlockPortfoliosByStoUpdatedBlockIdAndRaisingPortfolioIdManyToManyConnection = { - __typename?: 'BlockPortfoliosByStoUpdatedBlockIdAndRaisingPortfolioIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Portfolio`, info from the `Sto`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Portfolio` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Portfolio` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Portfolio` values, with data from `Sto`. */ -export type BlockPortfoliosByStoUpdatedBlockIdAndRaisingPortfolioIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Portfolio` edge in the connection, with data from `Sto`. */ -export type BlockPortfoliosByStoUpdatedBlockIdAndRaisingPortfolioIdManyToManyEdge = { - __typename?: 'BlockPortfoliosByStoUpdatedBlockIdAndRaisingPortfolioIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Portfolio` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Sto`. */ - stosByRaisingPortfolioId: StosConnection; -}; - -/** A `Portfolio` edge in the connection, with data from `Sto`. */ -export type BlockPortfoliosByStoUpdatedBlockIdAndRaisingPortfolioIdManyToManyEdgeStosByRaisingPortfolioIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Proposal` values, with data from `ProposalVote`. */ -export type BlockProposalsByProposalVoteCreatedBlockIdAndProposalIdManyToManyConnection = { - __typename?: 'BlockProposalsByProposalVoteCreatedBlockIdAndProposalIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Proposal`, info from the `ProposalVote`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Proposal` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Proposal` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Proposal` values, with data from `ProposalVote`. */ -export type BlockProposalsByProposalVoteCreatedBlockIdAndProposalIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Proposal` edge in the connection, with data from `ProposalVote`. */ -export type BlockProposalsByProposalVoteCreatedBlockIdAndProposalIdManyToManyEdge = { - __typename?: 'BlockProposalsByProposalVoteCreatedBlockIdAndProposalIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Proposal` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `ProposalVote`. */ - votes: ProposalVotesConnection; -}; - -/** A `Proposal` edge in the connection, with data from `ProposalVote`. */ -export type BlockProposalsByProposalVoteCreatedBlockIdAndProposalIdManyToManyEdgeVotesArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Proposal` values, with data from `ProposalVote`. */ -export type BlockProposalsByProposalVoteUpdatedBlockIdAndProposalIdManyToManyConnection = { - __typename?: 'BlockProposalsByProposalVoteUpdatedBlockIdAndProposalIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Proposal`, info from the `ProposalVote`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Proposal` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Proposal` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Proposal` values, with data from `ProposalVote`. */ -export type BlockProposalsByProposalVoteUpdatedBlockIdAndProposalIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Proposal` edge in the connection, with data from `ProposalVote`. */ -export type BlockProposalsByProposalVoteUpdatedBlockIdAndProposalIdManyToManyEdge = { - __typename?: 'BlockProposalsByProposalVoteUpdatedBlockIdAndProposalIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Proposal` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `ProposalVote`. */ - votes: ProposalVotesConnection; -}; - -/** A `Proposal` edge in the connection, with data from `ProposalVote`. */ -export type BlockProposalsByProposalVoteUpdatedBlockIdAndProposalIdManyToManyEdgeVotesArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Settlement` values, with data from `Leg`. */ -export type BlockSettlementsByLegCreatedBlockIdAndSettlementIdManyToManyConnection = { - __typename?: 'BlockSettlementsByLegCreatedBlockIdAndSettlementIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Settlement`, info from the `Leg`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Settlement` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Settlement` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Settlement` values, with data from `Leg`. */ -export type BlockSettlementsByLegCreatedBlockIdAndSettlementIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Settlement` edge in the connection, with data from `Leg`. */ -export type BlockSettlementsByLegCreatedBlockIdAndSettlementIdManyToManyEdge = { - __typename?: 'BlockSettlementsByLegCreatedBlockIdAndSettlementIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `Leg`. */ - legs: LegsConnection; - /** The `Settlement` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Settlement` edge in the connection, with data from `Leg`. */ -export type BlockSettlementsByLegCreatedBlockIdAndSettlementIdManyToManyEdgeLegsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Settlement` values, with data from `Leg`. */ -export type BlockSettlementsByLegUpdatedBlockIdAndSettlementIdManyToManyConnection = { - __typename?: 'BlockSettlementsByLegUpdatedBlockIdAndSettlementIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Settlement`, info from the `Leg`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Settlement` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Settlement` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Settlement` values, with data from `Leg`. */ -export type BlockSettlementsByLegUpdatedBlockIdAndSettlementIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Settlement` edge in the connection, with data from `Leg`. */ -export type BlockSettlementsByLegUpdatedBlockIdAndSettlementIdManyToManyEdge = { - __typename?: 'BlockSettlementsByLegUpdatedBlockIdAndSettlementIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `Leg`. */ - legs: LegsConnection; - /** The `Settlement` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Settlement` edge in the connection, with data from `Leg`. */ -export type BlockSettlementsByLegUpdatedBlockIdAndSettlementIdManyToManyEdgeLegsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `StatType` values, with data from `TransferCompliance`. */ -export type BlockStatTypesByTransferComplianceCreatedBlockIdAndStatTypeIdManyToManyConnection = { - __typename?: 'BlockStatTypesByTransferComplianceCreatedBlockIdAndStatTypeIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `StatType`, info from the `TransferCompliance`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `StatType` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `StatType` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `StatType` values, with data from `TransferCompliance`. */ -export type BlockStatTypesByTransferComplianceCreatedBlockIdAndStatTypeIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `StatType` edge in the connection, with data from `TransferCompliance`. */ -export type BlockStatTypesByTransferComplianceCreatedBlockIdAndStatTypeIdManyToManyEdge = { - __typename?: 'BlockStatTypesByTransferComplianceCreatedBlockIdAndStatTypeIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `StatType` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TransferCompliance`. */ - transferCompliances: TransferCompliancesConnection; -}; - -/** A `StatType` edge in the connection, with data from `TransferCompliance`. */ -export type BlockStatTypesByTransferComplianceCreatedBlockIdAndStatTypeIdManyToManyEdgeTransferCompliancesArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `StatType` values, with data from `TransferCompliance`. */ -export type BlockStatTypesByTransferComplianceUpdatedBlockIdAndStatTypeIdManyToManyConnection = { - __typename?: 'BlockStatTypesByTransferComplianceUpdatedBlockIdAndStatTypeIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `StatType`, info from the `TransferCompliance`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `StatType` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `StatType` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `StatType` values, with data from `TransferCompliance`. */ -export type BlockStatTypesByTransferComplianceUpdatedBlockIdAndStatTypeIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `StatType` edge in the connection, with data from `TransferCompliance`. */ -export type BlockStatTypesByTransferComplianceUpdatedBlockIdAndStatTypeIdManyToManyEdge = { - __typename?: 'BlockStatTypesByTransferComplianceUpdatedBlockIdAndStatTypeIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `StatType` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TransferCompliance`. */ - transferCompliances: TransferCompliancesConnection; -}; - -/** A `StatType` edge in the connection, with data from `TransferCompliance`. */ -export type BlockStatTypesByTransferComplianceUpdatedBlockIdAndStatTypeIdManyToManyEdgeTransferCompliancesArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -export type BlockStddevPopulationAggregates = { - __typename?: 'BlockStddevPopulationAggregates'; - /** Population standard deviation of blockId across the matching connection */ - blockId?: Maybe; - /** Population standard deviation of countEvents across the matching connection */ - countEvents?: Maybe; - /** Population standard deviation of countExtrinsics across the matching connection */ - countExtrinsics?: Maybe; - /** Population standard deviation of countExtrinsicsError across the matching connection */ - countExtrinsicsError?: Maybe; - /** Population standard deviation of countExtrinsicsSigned across the matching connection */ - countExtrinsicsSigned?: Maybe; - /** Population standard deviation of countExtrinsicsSuccess across the matching connection */ - countExtrinsicsSuccess?: Maybe; - /** Population standard deviation of countExtrinsicsUnsigned across the matching connection */ - countExtrinsicsUnsigned?: Maybe; - /** Population standard deviation of parentId across the matching connection */ - parentId?: Maybe; - /** Population standard deviation of specVersionId across the matching connection */ - specVersionId?: Maybe; -}; - -export type BlockStddevSampleAggregates = { - __typename?: 'BlockStddevSampleAggregates'; - /** Sample standard deviation of blockId across the matching connection */ - blockId?: Maybe; - /** Sample standard deviation of countEvents across the matching connection */ - countEvents?: Maybe; - /** Sample standard deviation of countExtrinsics across the matching connection */ - countExtrinsics?: Maybe; - /** Sample standard deviation of countExtrinsicsError across the matching connection */ - countExtrinsicsError?: Maybe; - /** Sample standard deviation of countExtrinsicsSigned across the matching connection */ - countExtrinsicsSigned?: Maybe; - /** Sample standard deviation of countExtrinsicsSuccess across the matching connection */ - countExtrinsicsSuccess?: Maybe; - /** Sample standard deviation of countExtrinsicsUnsigned across the matching connection */ - countExtrinsicsUnsigned?: Maybe; - /** Sample standard deviation of parentId across the matching connection */ - parentId?: Maybe; - /** Sample standard deviation of specVersionId across the matching connection */ - specVersionId?: Maybe; -}; - -export type BlockSumAggregates = { - __typename?: 'BlockSumAggregates'; - /** Sum of blockId across the matching connection */ - blockId: Scalars['BigInt']['output']; - /** Sum of countEvents across the matching connection */ - countEvents: Scalars['BigInt']['output']; - /** Sum of countExtrinsics across the matching connection */ - countExtrinsics: Scalars['BigInt']['output']; - /** Sum of countExtrinsicsError across the matching connection */ - countExtrinsicsError: Scalars['BigInt']['output']; - /** Sum of countExtrinsicsSigned across the matching connection */ - countExtrinsicsSigned: Scalars['BigInt']['output']; - /** Sum of countExtrinsicsSuccess across the matching connection */ - countExtrinsicsSuccess: Scalars['BigInt']['output']; - /** Sum of countExtrinsicsUnsigned across the matching connection */ - countExtrinsicsUnsigned: Scalars['BigInt']['output']; - /** Sum of parentId across the matching connection */ - parentId: Scalars['BigInt']['output']; - /** Sum of specVersionId across the matching connection */ - specVersionId: Scalars['BigInt']['output']; -}; - -/** A filter to be used against many `Account` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyAccountFilter = { - /** Aggregates across related `Account` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `Account` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `Account` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `Account` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `AccountHistory` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyAccountHistoryFilter = { - /** Aggregates across related `AccountHistory` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `AccountHistory` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `AccountHistory` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `AccountHistory` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `AgentGroup` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyAgentGroupFilter = { - /** Aggregates across related `AgentGroup` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `AgentGroup` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `AgentGroup` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `AgentGroup` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `AgentGroupMembership` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyAgentGroupMembershipFilter = { - /** Aggregates across related `AgentGroupMembership` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `AgentGroupMembership` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `AgentGroupMembership` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `AgentGroupMembership` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `AssetDocument` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyAssetDocumentFilter = { - /** Aggregates across related `AssetDocument` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `AssetDocument` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `AssetDocument` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `AssetDocument` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `Asset` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyAssetFilter = { - /** Aggregates across related `Asset` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `Asset` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `Asset` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `Asset` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `AssetHolder` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyAssetHolderFilter = { - /** Aggregates across related `AssetHolder` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `AssetHolder` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `AssetHolder` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `AssetHolder` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `AssetPendingOwnershipTransfer` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyAssetPendingOwnershipTransferFilter = { - /** Aggregates across related `AssetPendingOwnershipTransfer` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `AssetPendingOwnershipTransfer` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `AssetPendingOwnershipTransfer` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `AssetPendingOwnershipTransfer` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `AssetTransaction` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyAssetTransactionFilter = { - /** Aggregates across related `AssetTransaction` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `AssetTransaction` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `AssetTransaction` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `AssetTransaction` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `Authorization` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyAuthorizationFilter = { - /** Aggregates across related `Authorization` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `Authorization` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `Authorization` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `Authorization` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `BridgeEvent` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyBridgeEventFilter = { - /** Aggregates across related `BridgeEvent` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `BridgeEvent` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `BridgeEvent` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `BridgeEvent` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `ChildIdentity` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyChildIdentityFilter = { - /** Aggregates across related `ChildIdentity` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `ChildIdentity` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `ChildIdentity` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `ChildIdentity` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `Claim` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyClaimFilter = { - /** Aggregates across related `Claim` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `Claim` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `Claim` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `Claim` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `ClaimScope` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyClaimScopeFilter = { - /** Aggregates across related `ClaimScope` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `ClaimScope` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `ClaimScope` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `ClaimScope` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `Compliance` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyComplianceFilter = { - /** Aggregates across related `Compliance` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `Compliance` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `Compliance` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `Compliance` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `ConfidentialAccount` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyConfidentialAccountFilter = { - /** Aggregates across related `ConfidentialAccount` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `ConfidentialAccount` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `ConfidentialAccount` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `ConfidentialAccount` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `ConfidentialAsset` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyConfidentialAssetFilter = { - /** Aggregates across related `ConfidentialAsset` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `ConfidentialAsset` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `ConfidentialAsset` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `ConfidentialAsset` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `ConfidentialAssetHistory` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyConfidentialAssetHistoryFilter = { - /** Aggregates across related `ConfidentialAssetHistory` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `ConfidentialAssetHistory` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `ConfidentialAssetHistory` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `ConfidentialAssetHistory` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `ConfidentialAssetHolder` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyConfidentialAssetHolderFilter = { - /** Aggregates across related `ConfidentialAssetHolder` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `ConfidentialAssetHolder` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `ConfidentialAssetHolder` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `ConfidentialAssetHolder` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `ConfidentialLeg` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyConfidentialLegFilter = { - /** Aggregates across related `ConfidentialLeg` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `ConfidentialLeg` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `ConfidentialLeg` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `ConfidentialLeg` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `ConfidentialTransactionAffirmation` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyConfidentialTransactionAffirmationFilter = { - /** Aggregates across related `ConfidentialTransactionAffirmation` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `ConfidentialTransactionAffirmation` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `ConfidentialTransactionAffirmation` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `ConfidentialTransactionAffirmation` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `ConfidentialTransaction` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyConfidentialTransactionFilter = { - /** Aggregates across related `ConfidentialTransaction` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `ConfidentialTransaction` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `ConfidentialTransaction` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `ConfidentialTransaction` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `ConfidentialVenue` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyConfidentialVenueFilter = { - /** Aggregates across related `ConfidentialVenue` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `ConfidentialVenue` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `ConfidentialVenue` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `ConfidentialVenue` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `CustomClaimType` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyCustomClaimTypeFilter = { - /** Aggregates across related `CustomClaimType` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `CustomClaimType` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `CustomClaimType` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `CustomClaimType` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `Distribution` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyDistributionFilter = { - /** Aggregates across related `Distribution` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `Distribution` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `Distribution` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `Distribution` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `DistributionPayment` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyDistributionPaymentFilter = { - /** Aggregates across related `DistributionPayment` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `DistributionPayment` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `DistributionPayment` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `DistributionPayment` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `Event` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyEventFilter = { - /** Aggregates across related `Event` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `Event` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `Event` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `Event` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `Extrinsic` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyExtrinsicFilter = { - /** Aggregates across related `Extrinsic` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `Extrinsic` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `Extrinsic` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `Extrinsic` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `Funding` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyFundingFilter = { - /** Aggregates across related `Funding` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `Funding` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `Funding` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `Funding` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `Identity` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyIdentityFilter = { - /** Aggregates across related `Identity` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `Identity` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `Identity` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `Identity` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `Instruction` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyInstructionFilter = { - /** Aggregates across related `Instruction` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `Instruction` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `Instruction` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `Instruction` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `Investment` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyInvestmentFilter = { - /** Aggregates across related `Investment` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `Investment` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `Investment` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `Investment` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `Leg` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyLegFilter = { - /** Aggregates across related `Leg` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `Leg` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `Leg` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `Leg` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `MultiSig` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyMultiSigFilter = { - /** Aggregates across related `MultiSig` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `MultiSig` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `MultiSig` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `MultiSig` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `MultiSigProposal` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyMultiSigProposalFilter = { - /** Aggregates across related `MultiSigProposal` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `MultiSigProposal` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `MultiSigProposal` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `MultiSigProposal` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `MultiSigProposalVote` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyMultiSigProposalVoteFilter = { - /** Aggregates across related `MultiSigProposalVote` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `MultiSigProposalVote` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `MultiSigProposalVote` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `MultiSigProposalVote` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `MultiSigSigner` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyMultiSigSignerFilter = { - /** Aggregates across related `MultiSigSigner` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `MultiSigSigner` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `MultiSigSigner` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `MultiSigSigner` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `NftHolder` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyNftHolderFilter = { - /** Aggregates across related `NftHolder` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `NftHolder` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `NftHolder` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `NftHolder` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `Permission` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyPermissionFilter = { - /** Aggregates across related `Permission` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `Permission` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `Permission` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `Permission` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `PolyxTransaction` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyPolyxTransactionFilter = { - /** Aggregates across related `PolyxTransaction` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `PolyxTransaction` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `PolyxTransaction` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `PolyxTransaction` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `Portfolio` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyPortfolioFilter = { - /** Aggregates across related `Portfolio` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `Portfolio` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `Portfolio` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `Portfolio` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `PortfolioMovement` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyPortfolioMovementFilter = { - /** Aggregates across related `PortfolioMovement` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `PortfolioMovement` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `PortfolioMovement` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `PortfolioMovement` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `Proposal` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyProposalFilter = { - /** Aggregates across related `Proposal` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `Proposal` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `Proposal` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `Proposal` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `ProposalVote` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyProposalVoteFilter = { - /** Aggregates across related `ProposalVote` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `ProposalVote` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `ProposalVote` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `ProposalVote` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `Settlement` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManySettlementFilter = { - /** Aggregates across related `Settlement` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `Settlement` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `Settlement` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `Settlement` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `StakingEvent` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyStakingEventFilter = { - /** Aggregates across related `StakingEvent` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `StakingEvent` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `StakingEvent` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `StakingEvent` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `StatType` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyStatTypeFilter = { - /** Aggregates across related `StatType` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `StatType` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `StatType` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `StatType` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `Sto` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyStoFilter = { - /** Aggregates across related `Sto` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `Sto` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `Sto` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `Sto` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `TickerExternalAgentAction` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyTickerExternalAgentActionFilter = { - /** Aggregates across related `TickerExternalAgentAction` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `TickerExternalAgentAction` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `TickerExternalAgentAction` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `TickerExternalAgentAction` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `TickerExternalAgent` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyTickerExternalAgentFilter = { - /** Aggregates across related `TickerExternalAgent` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `TickerExternalAgent` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `TickerExternalAgent` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `TickerExternalAgent` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `TickerExternalAgentHistory` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyTickerExternalAgentHistoryFilter = { - /** Aggregates across related `TickerExternalAgentHistory` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `TickerExternalAgentHistory` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `TickerExternalAgentHistory` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `TickerExternalAgentHistory` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `TransferComplianceExemption` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyTransferComplianceExemptionFilter = { - /** Aggregates across related `TransferComplianceExemption` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `TransferComplianceExemption` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `TransferComplianceExemption` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `TransferComplianceExemption` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `TransferCompliance` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyTransferComplianceFilter = { - /** Aggregates across related `TransferCompliance` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `TransferCompliance` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `TransferCompliance` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `TransferCompliance` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `TransferManager` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyTransferManagerFilter = { - /** Aggregates across related `TransferManager` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `TransferManager` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `TransferManager` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `TransferManager` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `TrustedClaimIssuer` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyTrustedClaimIssuerFilter = { - /** Aggregates across related `TrustedClaimIssuer` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `TrustedClaimIssuer` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `TrustedClaimIssuer` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `TrustedClaimIssuer` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `Venue` object types. All fields are combined with a logical ‘and.’ */ -export type BlockToManyVenueFilter = { - /** Aggregates across related `Venue` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `Venue` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `Venue` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `Venue` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -export type BlockVariancePopulationAggregates = { - __typename?: 'BlockVariancePopulationAggregates'; - /** Population variance of blockId across the matching connection */ - blockId?: Maybe; - /** Population variance of countEvents across the matching connection */ - countEvents?: Maybe; - /** Population variance of countExtrinsics across the matching connection */ - countExtrinsics?: Maybe; - /** Population variance of countExtrinsicsError across the matching connection */ - countExtrinsicsError?: Maybe; - /** Population variance of countExtrinsicsSigned across the matching connection */ - countExtrinsicsSigned?: Maybe; - /** Population variance of countExtrinsicsSuccess across the matching connection */ - countExtrinsicsSuccess?: Maybe; - /** Population variance of countExtrinsicsUnsigned across the matching connection */ - countExtrinsicsUnsigned?: Maybe; - /** Population variance of parentId across the matching connection */ - parentId?: Maybe; - /** Population variance of specVersionId across the matching connection */ - specVersionId?: Maybe; -}; - -export type BlockVarianceSampleAggregates = { - __typename?: 'BlockVarianceSampleAggregates'; - /** Sample variance of blockId across the matching connection */ - blockId?: Maybe; - /** Sample variance of countEvents across the matching connection */ - countEvents?: Maybe; - /** Sample variance of countExtrinsics across the matching connection */ - countExtrinsics?: Maybe; - /** Sample variance of countExtrinsicsError across the matching connection */ - countExtrinsicsError?: Maybe; - /** Sample variance of countExtrinsicsSigned across the matching connection */ - countExtrinsicsSigned?: Maybe; - /** Sample variance of countExtrinsicsSuccess across the matching connection */ - countExtrinsicsSuccess?: Maybe; - /** Sample variance of countExtrinsicsUnsigned across the matching connection */ - countExtrinsicsUnsigned?: Maybe; - /** Sample variance of parentId across the matching connection */ - parentId?: Maybe; - /** Sample variance of specVersionId across the matching connection */ - specVersionId?: Maybe; -}; - -/** A connection to a list of `Venue` values, with data from `Instruction`. */ -export type BlockVenuesByInstructionCreatedBlockIdAndVenueIdManyToManyConnection = { - __typename?: 'BlockVenuesByInstructionCreatedBlockIdAndVenueIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Venue`, info from the `Instruction`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Venue` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Venue` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Venue` values, with data from `Instruction`. */ -export type BlockVenuesByInstructionCreatedBlockIdAndVenueIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Venue` edge in the connection, with data from `Instruction`. */ -export type BlockVenuesByInstructionCreatedBlockIdAndVenueIdManyToManyEdge = { - __typename?: 'BlockVenuesByInstructionCreatedBlockIdAndVenueIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `Instruction`. */ - instructions: InstructionsConnection; - /** The `Venue` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Venue` edge in the connection, with data from `Instruction`. */ -export type BlockVenuesByInstructionCreatedBlockIdAndVenueIdManyToManyEdgeInstructionsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Venue` values, with data from `Instruction`. */ -export type BlockVenuesByInstructionUpdatedBlockIdAndVenueIdManyToManyConnection = { - __typename?: 'BlockVenuesByInstructionUpdatedBlockIdAndVenueIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Venue`, info from the `Instruction`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Venue` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Venue` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Venue` values, with data from `Instruction`. */ -export type BlockVenuesByInstructionUpdatedBlockIdAndVenueIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Venue` edge in the connection, with data from `Instruction`. */ -export type BlockVenuesByInstructionUpdatedBlockIdAndVenueIdManyToManyEdge = { - __typename?: 'BlockVenuesByInstructionUpdatedBlockIdAndVenueIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `Instruction`. */ - instructions: InstructionsConnection; - /** The `Venue` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Venue` edge in the connection, with data from `Instruction`. */ -export type BlockVenuesByInstructionUpdatedBlockIdAndVenueIdManyToManyEdgeInstructionsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Venue` values, with data from `Sto`. */ -export type BlockVenuesByStoCreatedBlockIdAndVenueIdManyToManyConnection = { - __typename?: 'BlockVenuesByStoCreatedBlockIdAndVenueIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Venue`, info from the `Sto`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Venue` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Venue` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Venue` values, with data from `Sto`. */ -export type BlockVenuesByStoCreatedBlockIdAndVenueIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `Venue` edge in the connection, with data from `Sto`. */ -export type BlockVenuesByStoCreatedBlockIdAndVenueIdManyToManyEdge = { - __typename?: 'BlockVenuesByStoCreatedBlockIdAndVenueIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Venue` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Sto`. */ - stos: StosConnection; -}; - -/** A `Venue` edge in the connection, with data from `Sto`. */ -export type BlockVenuesByStoCreatedBlockIdAndVenueIdManyToManyEdgeStosArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Venue` values, with data from `Sto`. */ -export type BlockVenuesByStoUpdatedBlockIdAndVenueIdManyToManyConnection = { - __typename?: 'BlockVenuesByStoUpdatedBlockIdAndVenueIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Venue`, info from the `Sto`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Venue` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Venue` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Venue` values, with data from `Sto`. */ -export type BlockVenuesByStoUpdatedBlockIdAndVenueIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `Venue` edge in the connection, with data from `Sto`. */ -export type BlockVenuesByStoUpdatedBlockIdAndVenueIdManyToManyEdge = { - __typename?: 'BlockVenuesByStoUpdatedBlockIdAndVenueIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Venue` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Sto`. */ - stos: StosConnection; -}; - -/** A `Venue` edge in the connection, with data from `Sto`. */ -export type BlockVenuesByStoUpdatedBlockIdAndVenueIdManyToManyEdgeStosArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Block` values. */ -export type BlocksConnection = { - __typename?: 'BlocksConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block` and cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values. */ -export type BlocksConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `Block` edge in the connection. */ -export type BlocksEdge = { - __typename?: 'BlocksEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** Grouping methods for `Block` for usage during aggregation. */ -export enum BlocksGroupBy { - CountEvents = 'COUNT_EVENTS', - CountExtrinsics = 'COUNT_EXTRINSICS', - CountExtrinsicsError = 'COUNT_EXTRINSICS_ERROR', - CountExtrinsicsSigned = 'COUNT_EXTRINSICS_SIGNED', - CountExtrinsicsSuccess = 'COUNT_EXTRINSICS_SUCCESS', - CountExtrinsicsUnsigned = 'COUNT_EXTRINSICS_UNSIGNED', - CreatedAt = 'CREATED_AT', - CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', - CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', - Datetime = 'DATETIME', - DatetimeTruncatedToDay = 'DATETIME_TRUNCATED_TO_DAY', - DatetimeTruncatedToHour = 'DATETIME_TRUNCATED_TO_HOUR', - ExtrinsicsRoot = 'EXTRINSICS_ROOT', - ParentHash = 'PARENT_HASH', - ParentId = 'PARENT_ID', - SpecVersionId = 'SPEC_VERSION_ID', - StateRoot = 'STATE_ROOT', - UpdatedAt = 'UPDATED_AT', - UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', - UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', -} - -export type BlocksHavingAverageInput = { - blockId?: InputMaybe; - countEvents?: InputMaybe; - countExtrinsics?: InputMaybe; - countExtrinsicsError?: InputMaybe; - countExtrinsicsSigned?: InputMaybe; - countExtrinsicsSuccess?: InputMaybe; - countExtrinsicsUnsigned?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - parentId?: InputMaybe; - specVersionId?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type BlocksHavingDistinctCountInput = { - blockId?: InputMaybe; - countEvents?: InputMaybe; - countExtrinsics?: InputMaybe; - countExtrinsicsError?: InputMaybe; - countExtrinsicsSigned?: InputMaybe; - countExtrinsicsSuccess?: InputMaybe; - countExtrinsicsUnsigned?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - parentId?: InputMaybe; - specVersionId?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Conditions for `Block` aggregates. */ -export type BlocksHavingInput = { - AND?: InputMaybe>; - OR?: InputMaybe>; - average?: InputMaybe; - distinctCount?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddevPopulation?: InputMaybe; - stddevSample?: InputMaybe; - sum?: InputMaybe; - variancePopulation?: InputMaybe; - varianceSample?: InputMaybe; -}; - -export type BlocksHavingMaxInput = { - blockId?: InputMaybe; - countEvents?: InputMaybe; - countExtrinsics?: InputMaybe; - countExtrinsicsError?: InputMaybe; - countExtrinsicsSigned?: InputMaybe; - countExtrinsicsSuccess?: InputMaybe; - countExtrinsicsUnsigned?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - parentId?: InputMaybe; - specVersionId?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type BlocksHavingMinInput = { - blockId?: InputMaybe; - countEvents?: InputMaybe; - countExtrinsics?: InputMaybe; - countExtrinsicsError?: InputMaybe; - countExtrinsicsSigned?: InputMaybe; - countExtrinsicsSuccess?: InputMaybe; - countExtrinsicsUnsigned?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - parentId?: InputMaybe; - specVersionId?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type BlocksHavingStddevPopulationInput = { - blockId?: InputMaybe; - countEvents?: InputMaybe; - countExtrinsics?: InputMaybe; - countExtrinsicsError?: InputMaybe; - countExtrinsicsSigned?: InputMaybe; - countExtrinsicsSuccess?: InputMaybe; - countExtrinsicsUnsigned?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - parentId?: InputMaybe; - specVersionId?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type BlocksHavingStddevSampleInput = { - blockId?: InputMaybe; - countEvents?: InputMaybe; - countExtrinsics?: InputMaybe; - countExtrinsicsError?: InputMaybe; - countExtrinsicsSigned?: InputMaybe; - countExtrinsicsSuccess?: InputMaybe; - countExtrinsicsUnsigned?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - parentId?: InputMaybe; - specVersionId?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type BlocksHavingSumInput = { - blockId?: InputMaybe; - countEvents?: InputMaybe; - countExtrinsics?: InputMaybe; - countExtrinsicsError?: InputMaybe; - countExtrinsicsSigned?: InputMaybe; - countExtrinsicsSuccess?: InputMaybe; - countExtrinsicsUnsigned?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - parentId?: InputMaybe; - specVersionId?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type BlocksHavingVariancePopulationInput = { - blockId?: InputMaybe; - countEvents?: InputMaybe; - countExtrinsics?: InputMaybe; - countExtrinsicsError?: InputMaybe; - countExtrinsicsSigned?: InputMaybe; - countExtrinsicsSuccess?: InputMaybe; - countExtrinsicsUnsigned?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - parentId?: InputMaybe; - specVersionId?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type BlocksHavingVarianceSampleInput = { - blockId?: InputMaybe; - countEvents?: InputMaybe; - countExtrinsics?: InputMaybe; - countExtrinsicsError?: InputMaybe; - countExtrinsicsSigned?: InputMaybe; - countExtrinsicsSuccess?: InputMaybe; - countExtrinsicsUnsigned?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - parentId?: InputMaybe; - specVersionId?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Methods to use when ordering `Block`. */ -export enum BlocksOrderBy { - AccountsByCreatedBlockIdAverageAddressAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_ADDRESS_ASC', - AccountsByCreatedBlockIdAverageAddressDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_ADDRESS_DESC', - AccountsByCreatedBlockIdAverageCreatedAtAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - AccountsByCreatedBlockIdAverageCreatedAtDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - AccountsByCreatedBlockIdAverageCreatedBlockIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - AccountsByCreatedBlockIdAverageCreatedBlockIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - AccountsByCreatedBlockIdAverageDatetimeAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_DATETIME_ASC', - AccountsByCreatedBlockIdAverageDatetimeDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_DATETIME_DESC', - AccountsByCreatedBlockIdAverageEventIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_ID_ASC', - AccountsByCreatedBlockIdAverageEventIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_ID_DESC', - AccountsByCreatedBlockIdAverageIdentityIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_IDENTITY_ID_ASC', - AccountsByCreatedBlockIdAverageIdentityIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_IDENTITY_ID_DESC', - AccountsByCreatedBlockIdAverageIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_ID_ASC', - AccountsByCreatedBlockIdAverageIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_ID_DESC', - AccountsByCreatedBlockIdAveragePermissionsIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_PERMISSIONS_ID_ASC', - AccountsByCreatedBlockIdAveragePermissionsIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_PERMISSIONS_ID_DESC', - AccountsByCreatedBlockIdAverageUpdatedAtAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - AccountsByCreatedBlockIdAverageUpdatedAtDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - AccountsByCreatedBlockIdAverageUpdatedBlockIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - AccountsByCreatedBlockIdAverageUpdatedBlockIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - AccountsByCreatedBlockIdCountAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_COUNT_ASC', - AccountsByCreatedBlockIdCountDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_COUNT_DESC', - AccountsByCreatedBlockIdDistinctCountAddressAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ADDRESS_ASC', - AccountsByCreatedBlockIdDistinctCountAddressDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ADDRESS_DESC', - AccountsByCreatedBlockIdDistinctCountCreatedAtAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - AccountsByCreatedBlockIdDistinctCountCreatedAtDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - AccountsByCreatedBlockIdDistinctCountCreatedBlockIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - AccountsByCreatedBlockIdDistinctCountCreatedBlockIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - AccountsByCreatedBlockIdDistinctCountDatetimeAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_ASC', - AccountsByCreatedBlockIdDistinctCountDatetimeDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_DESC', - AccountsByCreatedBlockIdDistinctCountEventIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_ID_ASC', - AccountsByCreatedBlockIdDistinctCountEventIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_ID_DESC', - AccountsByCreatedBlockIdDistinctCountIdentityIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_IDENTITY_ID_ASC', - AccountsByCreatedBlockIdDistinctCountIdentityIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_IDENTITY_ID_DESC', - AccountsByCreatedBlockIdDistinctCountIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - AccountsByCreatedBlockIdDistinctCountIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - AccountsByCreatedBlockIdDistinctCountPermissionsIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_PERMISSIONS_ID_ASC', - AccountsByCreatedBlockIdDistinctCountPermissionsIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_PERMISSIONS_ID_DESC', - AccountsByCreatedBlockIdDistinctCountUpdatedAtAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - AccountsByCreatedBlockIdDistinctCountUpdatedAtDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - AccountsByCreatedBlockIdDistinctCountUpdatedBlockIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - AccountsByCreatedBlockIdDistinctCountUpdatedBlockIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - AccountsByCreatedBlockIdMaxAddressAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_ADDRESS_ASC', - AccountsByCreatedBlockIdMaxAddressDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_ADDRESS_DESC', - AccountsByCreatedBlockIdMaxCreatedAtAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_ASC', - AccountsByCreatedBlockIdMaxCreatedAtDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_DESC', - AccountsByCreatedBlockIdMaxCreatedBlockIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - AccountsByCreatedBlockIdMaxCreatedBlockIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - AccountsByCreatedBlockIdMaxDatetimeAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_DATETIME_ASC', - AccountsByCreatedBlockIdMaxDatetimeDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_DATETIME_DESC', - AccountsByCreatedBlockIdMaxEventIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_EVENT_ID_ASC', - AccountsByCreatedBlockIdMaxEventIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_EVENT_ID_DESC', - AccountsByCreatedBlockIdMaxIdentityIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_IDENTITY_ID_ASC', - AccountsByCreatedBlockIdMaxIdentityIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_IDENTITY_ID_DESC', - AccountsByCreatedBlockIdMaxIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_ID_ASC', - AccountsByCreatedBlockIdMaxIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_ID_DESC', - AccountsByCreatedBlockIdMaxPermissionsIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_PERMISSIONS_ID_ASC', - AccountsByCreatedBlockIdMaxPermissionsIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_PERMISSIONS_ID_DESC', - AccountsByCreatedBlockIdMaxUpdatedAtAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - AccountsByCreatedBlockIdMaxUpdatedAtDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - AccountsByCreatedBlockIdMaxUpdatedBlockIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - AccountsByCreatedBlockIdMaxUpdatedBlockIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - AccountsByCreatedBlockIdMinAddressAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_ADDRESS_ASC', - AccountsByCreatedBlockIdMinAddressDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_ADDRESS_DESC', - AccountsByCreatedBlockIdMinCreatedAtAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_ASC', - AccountsByCreatedBlockIdMinCreatedAtDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_DESC', - AccountsByCreatedBlockIdMinCreatedBlockIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - AccountsByCreatedBlockIdMinCreatedBlockIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - AccountsByCreatedBlockIdMinDatetimeAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_DATETIME_ASC', - AccountsByCreatedBlockIdMinDatetimeDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_DATETIME_DESC', - AccountsByCreatedBlockIdMinEventIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_EVENT_ID_ASC', - AccountsByCreatedBlockIdMinEventIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_EVENT_ID_DESC', - AccountsByCreatedBlockIdMinIdentityIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_IDENTITY_ID_ASC', - AccountsByCreatedBlockIdMinIdentityIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_IDENTITY_ID_DESC', - AccountsByCreatedBlockIdMinIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_ID_ASC', - AccountsByCreatedBlockIdMinIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_ID_DESC', - AccountsByCreatedBlockIdMinPermissionsIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_PERMISSIONS_ID_ASC', - AccountsByCreatedBlockIdMinPermissionsIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_PERMISSIONS_ID_DESC', - AccountsByCreatedBlockIdMinUpdatedAtAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - AccountsByCreatedBlockIdMinUpdatedAtDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - AccountsByCreatedBlockIdMinUpdatedBlockIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - AccountsByCreatedBlockIdMinUpdatedBlockIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - AccountsByCreatedBlockIdStddevPopulationAddressAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ADDRESS_ASC', - AccountsByCreatedBlockIdStddevPopulationAddressDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ADDRESS_DESC', - AccountsByCreatedBlockIdStddevPopulationCreatedAtAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - AccountsByCreatedBlockIdStddevPopulationCreatedAtDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - AccountsByCreatedBlockIdStddevPopulationCreatedBlockIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - AccountsByCreatedBlockIdStddevPopulationCreatedBlockIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - AccountsByCreatedBlockIdStddevPopulationDatetimeAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_DATETIME_ASC', - AccountsByCreatedBlockIdStddevPopulationDatetimeDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_DATETIME_DESC', - AccountsByCreatedBlockIdStddevPopulationEventIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_ID_ASC', - AccountsByCreatedBlockIdStddevPopulationEventIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_ID_DESC', - AccountsByCreatedBlockIdStddevPopulationIdentityIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_IDENTITY_ID_ASC', - AccountsByCreatedBlockIdStddevPopulationIdentityIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_IDENTITY_ID_DESC', - AccountsByCreatedBlockIdStddevPopulationIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - AccountsByCreatedBlockIdStddevPopulationIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - AccountsByCreatedBlockIdStddevPopulationPermissionsIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_PERMISSIONS_ID_ASC', - AccountsByCreatedBlockIdStddevPopulationPermissionsIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_PERMISSIONS_ID_DESC', - AccountsByCreatedBlockIdStddevPopulationUpdatedAtAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - AccountsByCreatedBlockIdStddevPopulationUpdatedAtDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - AccountsByCreatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - AccountsByCreatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - AccountsByCreatedBlockIdStddevSampleAddressAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ADDRESS_ASC', - AccountsByCreatedBlockIdStddevSampleAddressDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ADDRESS_DESC', - AccountsByCreatedBlockIdStddevSampleCreatedAtAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - AccountsByCreatedBlockIdStddevSampleCreatedAtDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - AccountsByCreatedBlockIdStddevSampleCreatedBlockIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - AccountsByCreatedBlockIdStddevSampleCreatedBlockIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - AccountsByCreatedBlockIdStddevSampleDatetimeAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_DATETIME_ASC', - AccountsByCreatedBlockIdStddevSampleDatetimeDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_DATETIME_DESC', - AccountsByCreatedBlockIdStddevSampleEventIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_ID_ASC', - AccountsByCreatedBlockIdStddevSampleEventIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_ID_DESC', - AccountsByCreatedBlockIdStddevSampleIdentityIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_IDENTITY_ID_ASC', - AccountsByCreatedBlockIdStddevSampleIdentityIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_IDENTITY_ID_DESC', - AccountsByCreatedBlockIdStddevSampleIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - AccountsByCreatedBlockIdStddevSampleIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - AccountsByCreatedBlockIdStddevSamplePermissionsIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_PERMISSIONS_ID_ASC', - AccountsByCreatedBlockIdStddevSamplePermissionsIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_PERMISSIONS_ID_DESC', - AccountsByCreatedBlockIdStddevSampleUpdatedAtAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - AccountsByCreatedBlockIdStddevSampleUpdatedAtDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - AccountsByCreatedBlockIdStddevSampleUpdatedBlockIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - AccountsByCreatedBlockIdStddevSampleUpdatedBlockIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - AccountsByCreatedBlockIdSumAddressAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_ADDRESS_ASC', - AccountsByCreatedBlockIdSumAddressDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_ADDRESS_DESC', - AccountsByCreatedBlockIdSumCreatedAtAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_ASC', - AccountsByCreatedBlockIdSumCreatedAtDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_DESC', - AccountsByCreatedBlockIdSumCreatedBlockIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - AccountsByCreatedBlockIdSumCreatedBlockIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - AccountsByCreatedBlockIdSumDatetimeAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_DATETIME_ASC', - AccountsByCreatedBlockIdSumDatetimeDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_DATETIME_DESC', - AccountsByCreatedBlockIdSumEventIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_EVENT_ID_ASC', - AccountsByCreatedBlockIdSumEventIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_EVENT_ID_DESC', - AccountsByCreatedBlockIdSumIdentityIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_IDENTITY_ID_ASC', - AccountsByCreatedBlockIdSumIdentityIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_IDENTITY_ID_DESC', - AccountsByCreatedBlockIdSumIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_ID_ASC', - AccountsByCreatedBlockIdSumIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_ID_DESC', - AccountsByCreatedBlockIdSumPermissionsIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_PERMISSIONS_ID_ASC', - AccountsByCreatedBlockIdSumPermissionsIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_PERMISSIONS_ID_DESC', - AccountsByCreatedBlockIdSumUpdatedAtAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - AccountsByCreatedBlockIdSumUpdatedAtDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - AccountsByCreatedBlockIdSumUpdatedBlockIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - AccountsByCreatedBlockIdSumUpdatedBlockIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - AccountsByCreatedBlockIdVariancePopulationAddressAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ADDRESS_ASC', - AccountsByCreatedBlockIdVariancePopulationAddressDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ADDRESS_DESC', - AccountsByCreatedBlockIdVariancePopulationCreatedAtAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - AccountsByCreatedBlockIdVariancePopulationCreatedAtDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - AccountsByCreatedBlockIdVariancePopulationCreatedBlockIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - AccountsByCreatedBlockIdVariancePopulationCreatedBlockIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - AccountsByCreatedBlockIdVariancePopulationDatetimeAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_DATETIME_ASC', - AccountsByCreatedBlockIdVariancePopulationDatetimeDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_DATETIME_DESC', - AccountsByCreatedBlockIdVariancePopulationEventIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_ID_ASC', - AccountsByCreatedBlockIdVariancePopulationEventIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_ID_DESC', - AccountsByCreatedBlockIdVariancePopulationIdentityIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_IDENTITY_ID_ASC', - AccountsByCreatedBlockIdVariancePopulationIdentityIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_IDENTITY_ID_DESC', - AccountsByCreatedBlockIdVariancePopulationIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - AccountsByCreatedBlockIdVariancePopulationIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - AccountsByCreatedBlockIdVariancePopulationPermissionsIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_PERMISSIONS_ID_ASC', - AccountsByCreatedBlockIdVariancePopulationPermissionsIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_PERMISSIONS_ID_DESC', - AccountsByCreatedBlockIdVariancePopulationUpdatedAtAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - AccountsByCreatedBlockIdVariancePopulationUpdatedAtDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - AccountsByCreatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - AccountsByCreatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - AccountsByCreatedBlockIdVarianceSampleAddressAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ADDRESS_ASC', - AccountsByCreatedBlockIdVarianceSampleAddressDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ADDRESS_DESC', - AccountsByCreatedBlockIdVarianceSampleCreatedAtAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - AccountsByCreatedBlockIdVarianceSampleCreatedAtDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - AccountsByCreatedBlockIdVarianceSampleCreatedBlockIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - AccountsByCreatedBlockIdVarianceSampleCreatedBlockIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - AccountsByCreatedBlockIdVarianceSampleDatetimeAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_DATETIME_ASC', - AccountsByCreatedBlockIdVarianceSampleDatetimeDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_DATETIME_DESC', - AccountsByCreatedBlockIdVarianceSampleEventIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_ID_ASC', - AccountsByCreatedBlockIdVarianceSampleEventIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_ID_DESC', - AccountsByCreatedBlockIdVarianceSampleIdentityIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_IDENTITY_ID_ASC', - AccountsByCreatedBlockIdVarianceSampleIdentityIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_IDENTITY_ID_DESC', - AccountsByCreatedBlockIdVarianceSampleIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - AccountsByCreatedBlockIdVarianceSampleIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - AccountsByCreatedBlockIdVarianceSamplePermissionsIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_PERMISSIONS_ID_ASC', - AccountsByCreatedBlockIdVarianceSamplePermissionsIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_PERMISSIONS_ID_DESC', - AccountsByCreatedBlockIdVarianceSampleUpdatedAtAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - AccountsByCreatedBlockIdVarianceSampleUpdatedAtDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - AccountsByCreatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - AccountsByCreatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - AccountsByUpdatedBlockIdAverageAddressAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_ADDRESS_ASC', - AccountsByUpdatedBlockIdAverageAddressDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_ADDRESS_DESC', - AccountsByUpdatedBlockIdAverageCreatedAtAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - AccountsByUpdatedBlockIdAverageCreatedAtDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - AccountsByUpdatedBlockIdAverageCreatedBlockIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - AccountsByUpdatedBlockIdAverageCreatedBlockIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - AccountsByUpdatedBlockIdAverageDatetimeAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_DATETIME_ASC', - AccountsByUpdatedBlockIdAverageDatetimeDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_DATETIME_DESC', - AccountsByUpdatedBlockIdAverageEventIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_ID_ASC', - AccountsByUpdatedBlockIdAverageEventIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_ID_DESC', - AccountsByUpdatedBlockIdAverageIdentityIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_IDENTITY_ID_ASC', - AccountsByUpdatedBlockIdAverageIdentityIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_IDENTITY_ID_DESC', - AccountsByUpdatedBlockIdAverageIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_ASC', - AccountsByUpdatedBlockIdAverageIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_DESC', - AccountsByUpdatedBlockIdAveragePermissionsIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_PERMISSIONS_ID_ASC', - AccountsByUpdatedBlockIdAveragePermissionsIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_PERMISSIONS_ID_DESC', - AccountsByUpdatedBlockIdAverageUpdatedAtAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - AccountsByUpdatedBlockIdAverageUpdatedAtDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - AccountsByUpdatedBlockIdAverageUpdatedBlockIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - AccountsByUpdatedBlockIdAverageUpdatedBlockIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - AccountsByUpdatedBlockIdCountAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_COUNT_ASC', - AccountsByUpdatedBlockIdCountDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_COUNT_DESC', - AccountsByUpdatedBlockIdDistinctCountAddressAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ADDRESS_ASC', - AccountsByUpdatedBlockIdDistinctCountAddressDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ADDRESS_DESC', - AccountsByUpdatedBlockIdDistinctCountCreatedAtAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - AccountsByUpdatedBlockIdDistinctCountCreatedAtDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - AccountsByUpdatedBlockIdDistinctCountCreatedBlockIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - AccountsByUpdatedBlockIdDistinctCountCreatedBlockIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - AccountsByUpdatedBlockIdDistinctCountDatetimeAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_ASC', - AccountsByUpdatedBlockIdDistinctCountDatetimeDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_DESC', - AccountsByUpdatedBlockIdDistinctCountEventIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_ID_ASC', - AccountsByUpdatedBlockIdDistinctCountEventIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_ID_DESC', - AccountsByUpdatedBlockIdDistinctCountIdentityIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_IDENTITY_ID_ASC', - AccountsByUpdatedBlockIdDistinctCountIdentityIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_IDENTITY_ID_DESC', - AccountsByUpdatedBlockIdDistinctCountIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - AccountsByUpdatedBlockIdDistinctCountIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - AccountsByUpdatedBlockIdDistinctCountPermissionsIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_PERMISSIONS_ID_ASC', - AccountsByUpdatedBlockIdDistinctCountPermissionsIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_PERMISSIONS_ID_DESC', - AccountsByUpdatedBlockIdDistinctCountUpdatedAtAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - AccountsByUpdatedBlockIdDistinctCountUpdatedAtDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - AccountsByUpdatedBlockIdDistinctCountUpdatedBlockIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - AccountsByUpdatedBlockIdDistinctCountUpdatedBlockIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - AccountsByUpdatedBlockIdMaxAddressAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_ADDRESS_ASC', - AccountsByUpdatedBlockIdMaxAddressDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_ADDRESS_DESC', - AccountsByUpdatedBlockIdMaxCreatedAtAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_ASC', - AccountsByUpdatedBlockIdMaxCreatedAtDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_DESC', - AccountsByUpdatedBlockIdMaxCreatedBlockIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - AccountsByUpdatedBlockIdMaxCreatedBlockIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - AccountsByUpdatedBlockIdMaxDatetimeAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_DATETIME_ASC', - AccountsByUpdatedBlockIdMaxDatetimeDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_DATETIME_DESC', - AccountsByUpdatedBlockIdMaxEventIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_EVENT_ID_ASC', - AccountsByUpdatedBlockIdMaxEventIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_EVENT_ID_DESC', - AccountsByUpdatedBlockIdMaxIdentityIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_IDENTITY_ID_ASC', - AccountsByUpdatedBlockIdMaxIdentityIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_IDENTITY_ID_DESC', - AccountsByUpdatedBlockIdMaxIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_ID_ASC', - AccountsByUpdatedBlockIdMaxIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_ID_DESC', - AccountsByUpdatedBlockIdMaxPermissionsIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_PERMISSIONS_ID_ASC', - AccountsByUpdatedBlockIdMaxPermissionsIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_PERMISSIONS_ID_DESC', - AccountsByUpdatedBlockIdMaxUpdatedAtAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - AccountsByUpdatedBlockIdMaxUpdatedAtDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - AccountsByUpdatedBlockIdMaxUpdatedBlockIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - AccountsByUpdatedBlockIdMaxUpdatedBlockIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - AccountsByUpdatedBlockIdMinAddressAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_MIN_ADDRESS_ASC', - AccountsByUpdatedBlockIdMinAddressDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_MIN_ADDRESS_DESC', - AccountsByUpdatedBlockIdMinCreatedAtAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_ASC', - AccountsByUpdatedBlockIdMinCreatedAtDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_DESC', - AccountsByUpdatedBlockIdMinCreatedBlockIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - AccountsByUpdatedBlockIdMinCreatedBlockIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - AccountsByUpdatedBlockIdMinDatetimeAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_MIN_DATETIME_ASC', - AccountsByUpdatedBlockIdMinDatetimeDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_MIN_DATETIME_DESC', - AccountsByUpdatedBlockIdMinEventIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_MIN_EVENT_ID_ASC', - AccountsByUpdatedBlockIdMinEventIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_MIN_EVENT_ID_DESC', - AccountsByUpdatedBlockIdMinIdentityIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_MIN_IDENTITY_ID_ASC', - AccountsByUpdatedBlockIdMinIdentityIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_MIN_IDENTITY_ID_DESC', - AccountsByUpdatedBlockIdMinIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_MIN_ID_ASC', - AccountsByUpdatedBlockIdMinIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_MIN_ID_DESC', - AccountsByUpdatedBlockIdMinPermissionsIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_MIN_PERMISSIONS_ID_ASC', - AccountsByUpdatedBlockIdMinPermissionsIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_MIN_PERMISSIONS_ID_DESC', - AccountsByUpdatedBlockIdMinUpdatedAtAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - AccountsByUpdatedBlockIdMinUpdatedAtDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - AccountsByUpdatedBlockIdMinUpdatedBlockIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - AccountsByUpdatedBlockIdMinUpdatedBlockIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - AccountsByUpdatedBlockIdStddevPopulationAddressAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ADDRESS_ASC', - AccountsByUpdatedBlockIdStddevPopulationAddressDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ADDRESS_DESC', - AccountsByUpdatedBlockIdStddevPopulationCreatedAtAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - AccountsByUpdatedBlockIdStddevPopulationCreatedAtDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - AccountsByUpdatedBlockIdStddevPopulationCreatedBlockIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - AccountsByUpdatedBlockIdStddevPopulationCreatedBlockIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - AccountsByUpdatedBlockIdStddevPopulationDatetimeAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_DATETIME_ASC', - AccountsByUpdatedBlockIdStddevPopulationDatetimeDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_DATETIME_DESC', - AccountsByUpdatedBlockIdStddevPopulationEventIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_ID_ASC', - AccountsByUpdatedBlockIdStddevPopulationEventIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_ID_DESC', - AccountsByUpdatedBlockIdStddevPopulationIdentityIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_IDENTITY_ID_ASC', - AccountsByUpdatedBlockIdStddevPopulationIdentityIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_IDENTITY_ID_DESC', - AccountsByUpdatedBlockIdStddevPopulationIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - AccountsByUpdatedBlockIdStddevPopulationIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - AccountsByUpdatedBlockIdStddevPopulationPermissionsIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_PERMISSIONS_ID_ASC', - AccountsByUpdatedBlockIdStddevPopulationPermissionsIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_PERMISSIONS_ID_DESC', - AccountsByUpdatedBlockIdStddevPopulationUpdatedAtAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - AccountsByUpdatedBlockIdStddevPopulationUpdatedAtDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - AccountsByUpdatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - AccountsByUpdatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - AccountsByUpdatedBlockIdStddevSampleAddressAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ADDRESS_ASC', - AccountsByUpdatedBlockIdStddevSampleAddressDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ADDRESS_DESC', - AccountsByUpdatedBlockIdStddevSampleCreatedAtAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - AccountsByUpdatedBlockIdStddevSampleCreatedAtDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - AccountsByUpdatedBlockIdStddevSampleCreatedBlockIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - AccountsByUpdatedBlockIdStddevSampleCreatedBlockIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - AccountsByUpdatedBlockIdStddevSampleDatetimeAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_DATETIME_ASC', - AccountsByUpdatedBlockIdStddevSampleDatetimeDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_DATETIME_DESC', - AccountsByUpdatedBlockIdStddevSampleEventIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_ID_ASC', - AccountsByUpdatedBlockIdStddevSampleEventIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_ID_DESC', - AccountsByUpdatedBlockIdStddevSampleIdentityIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_IDENTITY_ID_ASC', - AccountsByUpdatedBlockIdStddevSampleIdentityIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_IDENTITY_ID_DESC', - AccountsByUpdatedBlockIdStddevSampleIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - AccountsByUpdatedBlockIdStddevSampleIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - AccountsByUpdatedBlockIdStddevSamplePermissionsIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_PERMISSIONS_ID_ASC', - AccountsByUpdatedBlockIdStddevSamplePermissionsIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_PERMISSIONS_ID_DESC', - AccountsByUpdatedBlockIdStddevSampleUpdatedAtAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - AccountsByUpdatedBlockIdStddevSampleUpdatedAtDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - AccountsByUpdatedBlockIdStddevSampleUpdatedBlockIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - AccountsByUpdatedBlockIdStddevSampleUpdatedBlockIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - AccountsByUpdatedBlockIdSumAddressAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_SUM_ADDRESS_ASC', - AccountsByUpdatedBlockIdSumAddressDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_SUM_ADDRESS_DESC', - AccountsByUpdatedBlockIdSumCreatedAtAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_ASC', - AccountsByUpdatedBlockIdSumCreatedAtDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_DESC', - AccountsByUpdatedBlockIdSumCreatedBlockIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - AccountsByUpdatedBlockIdSumCreatedBlockIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - AccountsByUpdatedBlockIdSumDatetimeAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_SUM_DATETIME_ASC', - AccountsByUpdatedBlockIdSumDatetimeDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_SUM_DATETIME_DESC', - AccountsByUpdatedBlockIdSumEventIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_SUM_EVENT_ID_ASC', - AccountsByUpdatedBlockIdSumEventIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_SUM_EVENT_ID_DESC', - AccountsByUpdatedBlockIdSumIdentityIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_SUM_IDENTITY_ID_ASC', - AccountsByUpdatedBlockIdSumIdentityIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_SUM_IDENTITY_ID_DESC', - AccountsByUpdatedBlockIdSumIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_SUM_ID_ASC', - AccountsByUpdatedBlockIdSumIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_SUM_ID_DESC', - AccountsByUpdatedBlockIdSumPermissionsIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_SUM_PERMISSIONS_ID_ASC', - AccountsByUpdatedBlockIdSumPermissionsIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_SUM_PERMISSIONS_ID_DESC', - AccountsByUpdatedBlockIdSumUpdatedAtAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - AccountsByUpdatedBlockIdSumUpdatedAtDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - AccountsByUpdatedBlockIdSumUpdatedBlockIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - AccountsByUpdatedBlockIdSumUpdatedBlockIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - AccountsByUpdatedBlockIdVariancePopulationAddressAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ADDRESS_ASC', - AccountsByUpdatedBlockIdVariancePopulationAddressDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ADDRESS_DESC', - AccountsByUpdatedBlockIdVariancePopulationCreatedAtAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - AccountsByUpdatedBlockIdVariancePopulationCreatedAtDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - AccountsByUpdatedBlockIdVariancePopulationCreatedBlockIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - AccountsByUpdatedBlockIdVariancePopulationCreatedBlockIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - AccountsByUpdatedBlockIdVariancePopulationDatetimeAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_DATETIME_ASC', - AccountsByUpdatedBlockIdVariancePopulationDatetimeDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_DATETIME_DESC', - AccountsByUpdatedBlockIdVariancePopulationEventIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_ID_ASC', - AccountsByUpdatedBlockIdVariancePopulationEventIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_ID_DESC', - AccountsByUpdatedBlockIdVariancePopulationIdentityIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_IDENTITY_ID_ASC', - AccountsByUpdatedBlockIdVariancePopulationIdentityIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_IDENTITY_ID_DESC', - AccountsByUpdatedBlockIdVariancePopulationIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - AccountsByUpdatedBlockIdVariancePopulationIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - AccountsByUpdatedBlockIdVariancePopulationPermissionsIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_PERMISSIONS_ID_ASC', - AccountsByUpdatedBlockIdVariancePopulationPermissionsIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_PERMISSIONS_ID_DESC', - AccountsByUpdatedBlockIdVariancePopulationUpdatedAtAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - AccountsByUpdatedBlockIdVariancePopulationUpdatedAtDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - AccountsByUpdatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - AccountsByUpdatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - AccountsByUpdatedBlockIdVarianceSampleAddressAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ADDRESS_ASC', - AccountsByUpdatedBlockIdVarianceSampleAddressDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ADDRESS_DESC', - AccountsByUpdatedBlockIdVarianceSampleCreatedAtAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - AccountsByUpdatedBlockIdVarianceSampleCreatedAtDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - AccountsByUpdatedBlockIdVarianceSampleCreatedBlockIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - AccountsByUpdatedBlockIdVarianceSampleCreatedBlockIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - AccountsByUpdatedBlockIdVarianceSampleDatetimeAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_DATETIME_ASC', - AccountsByUpdatedBlockIdVarianceSampleDatetimeDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_DATETIME_DESC', - AccountsByUpdatedBlockIdVarianceSampleEventIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_ID_ASC', - AccountsByUpdatedBlockIdVarianceSampleEventIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_ID_DESC', - AccountsByUpdatedBlockIdVarianceSampleIdentityIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_IDENTITY_ID_ASC', - AccountsByUpdatedBlockIdVarianceSampleIdentityIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_IDENTITY_ID_DESC', - AccountsByUpdatedBlockIdVarianceSampleIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - AccountsByUpdatedBlockIdVarianceSampleIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - AccountsByUpdatedBlockIdVarianceSamplePermissionsIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_PERMISSIONS_ID_ASC', - AccountsByUpdatedBlockIdVarianceSamplePermissionsIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_PERMISSIONS_ID_DESC', - AccountsByUpdatedBlockIdVarianceSampleUpdatedAtAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - AccountsByUpdatedBlockIdVarianceSampleUpdatedAtDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - AccountsByUpdatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - AccountsByUpdatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - AccountHistoriesByCreatedBlockIdAverageAccountAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_ACCOUNT_ASC', - AccountHistoriesByCreatedBlockIdAverageAccountDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_ACCOUNT_DESC', - AccountHistoriesByCreatedBlockIdAverageCreatedAtAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - AccountHistoriesByCreatedBlockIdAverageCreatedAtDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - AccountHistoriesByCreatedBlockIdAverageCreatedBlockIdAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - AccountHistoriesByCreatedBlockIdAverageCreatedBlockIdDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - AccountHistoriesByCreatedBlockIdAverageDatetimeAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_DATETIME_ASC', - AccountHistoriesByCreatedBlockIdAverageDatetimeDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_DATETIME_DESC', - AccountHistoriesByCreatedBlockIdAverageEventIdAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_ID_ASC', - AccountHistoriesByCreatedBlockIdAverageEventIdDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_ID_DESC', - AccountHistoriesByCreatedBlockIdAverageIdentityAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_IDENTITY_ASC', - AccountHistoriesByCreatedBlockIdAverageIdentityDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_IDENTITY_DESC', - AccountHistoriesByCreatedBlockIdAverageIdAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_ID_ASC', - AccountHistoriesByCreatedBlockIdAverageIdDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_ID_DESC', - AccountHistoriesByCreatedBlockIdAveragePermissionsAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_PERMISSIONS_ASC', - AccountHistoriesByCreatedBlockIdAveragePermissionsDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_PERMISSIONS_DESC', - AccountHistoriesByCreatedBlockIdAverageUpdatedAtAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - AccountHistoriesByCreatedBlockIdAverageUpdatedAtDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - AccountHistoriesByCreatedBlockIdAverageUpdatedBlockIdAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - AccountHistoriesByCreatedBlockIdAverageUpdatedBlockIdDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - AccountHistoriesByCreatedBlockIdCountAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_COUNT_ASC', - AccountHistoriesByCreatedBlockIdCountDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_COUNT_DESC', - AccountHistoriesByCreatedBlockIdDistinctCountAccountAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ACCOUNT_ASC', - AccountHistoriesByCreatedBlockIdDistinctCountAccountDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ACCOUNT_DESC', - AccountHistoriesByCreatedBlockIdDistinctCountCreatedAtAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - AccountHistoriesByCreatedBlockIdDistinctCountCreatedAtDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - AccountHistoriesByCreatedBlockIdDistinctCountCreatedBlockIdAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - AccountHistoriesByCreatedBlockIdDistinctCountCreatedBlockIdDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - AccountHistoriesByCreatedBlockIdDistinctCountDatetimeAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_ASC', - AccountHistoriesByCreatedBlockIdDistinctCountDatetimeDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_DESC', - AccountHistoriesByCreatedBlockIdDistinctCountEventIdAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_ID_ASC', - AccountHistoriesByCreatedBlockIdDistinctCountEventIdDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_ID_DESC', - AccountHistoriesByCreatedBlockIdDistinctCountIdentityAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_IDENTITY_ASC', - AccountHistoriesByCreatedBlockIdDistinctCountIdentityDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_IDENTITY_DESC', - AccountHistoriesByCreatedBlockIdDistinctCountIdAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - AccountHistoriesByCreatedBlockIdDistinctCountIdDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - AccountHistoriesByCreatedBlockIdDistinctCountPermissionsAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_PERMISSIONS_ASC', - AccountHistoriesByCreatedBlockIdDistinctCountPermissionsDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_PERMISSIONS_DESC', - AccountHistoriesByCreatedBlockIdDistinctCountUpdatedAtAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - AccountHistoriesByCreatedBlockIdDistinctCountUpdatedAtDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - AccountHistoriesByCreatedBlockIdDistinctCountUpdatedBlockIdAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - AccountHistoriesByCreatedBlockIdDistinctCountUpdatedBlockIdDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - AccountHistoriesByCreatedBlockIdMaxAccountAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_MAX_ACCOUNT_ASC', - AccountHistoriesByCreatedBlockIdMaxAccountDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_MAX_ACCOUNT_DESC', - AccountHistoriesByCreatedBlockIdMaxCreatedAtAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_ASC', - AccountHistoriesByCreatedBlockIdMaxCreatedAtDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_DESC', - AccountHistoriesByCreatedBlockIdMaxCreatedBlockIdAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - AccountHistoriesByCreatedBlockIdMaxCreatedBlockIdDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - AccountHistoriesByCreatedBlockIdMaxDatetimeAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_MAX_DATETIME_ASC', - AccountHistoriesByCreatedBlockIdMaxDatetimeDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_MAX_DATETIME_DESC', - AccountHistoriesByCreatedBlockIdMaxEventIdAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_MAX_EVENT_ID_ASC', - AccountHistoriesByCreatedBlockIdMaxEventIdDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_MAX_EVENT_ID_DESC', - AccountHistoriesByCreatedBlockIdMaxIdentityAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_MAX_IDENTITY_ASC', - AccountHistoriesByCreatedBlockIdMaxIdentityDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_MAX_IDENTITY_DESC', - AccountHistoriesByCreatedBlockIdMaxIdAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_MAX_ID_ASC', - AccountHistoriesByCreatedBlockIdMaxIdDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_MAX_ID_DESC', - AccountHistoriesByCreatedBlockIdMaxPermissionsAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_MAX_PERMISSIONS_ASC', - AccountHistoriesByCreatedBlockIdMaxPermissionsDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_MAX_PERMISSIONS_DESC', - AccountHistoriesByCreatedBlockIdMaxUpdatedAtAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - AccountHistoriesByCreatedBlockIdMaxUpdatedAtDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - AccountHistoriesByCreatedBlockIdMaxUpdatedBlockIdAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - AccountHistoriesByCreatedBlockIdMaxUpdatedBlockIdDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - AccountHistoriesByCreatedBlockIdMinAccountAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_MIN_ACCOUNT_ASC', - AccountHistoriesByCreatedBlockIdMinAccountDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_MIN_ACCOUNT_DESC', - AccountHistoriesByCreatedBlockIdMinCreatedAtAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_ASC', - AccountHistoriesByCreatedBlockIdMinCreatedAtDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_DESC', - AccountHistoriesByCreatedBlockIdMinCreatedBlockIdAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - AccountHistoriesByCreatedBlockIdMinCreatedBlockIdDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - AccountHistoriesByCreatedBlockIdMinDatetimeAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_MIN_DATETIME_ASC', - AccountHistoriesByCreatedBlockIdMinDatetimeDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_MIN_DATETIME_DESC', - AccountHistoriesByCreatedBlockIdMinEventIdAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_MIN_EVENT_ID_ASC', - AccountHistoriesByCreatedBlockIdMinEventIdDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_MIN_EVENT_ID_DESC', - AccountHistoriesByCreatedBlockIdMinIdentityAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_MIN_IDENTITY_ASC', - AccountHistoriesByCreatedBlockIdMinIdentityDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_MIN_IDENTITY_DESC', - AccountHistoriesByCreatedBlockIdMinIdAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_MIN_ID_ASC', - AccountHistoriesByCreatedBlockIdMinIdDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_MIN_ID_DESC', - AccountHistoriesByCreatedBlockIdMinPermissionsAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_MIN_PERMISSIONS_ASC', - AccountHistoriesByCreatedBlockIdMinPermissionsDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_MIN_PERMISSIONS_DESC', - AccountHistoriesByCreatedBlockIdMinUpdatedAtAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - AccountHistoriesByCreatedBlockIdMinUpdatedAtDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - AccountHistoriesByCreatedBlockIdMinUpdatedBlockIdAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - AccountHistoriesByCreatedBlockIdMinUpdatedBlockIdDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - AccountHistoriesByCreatedBlockIdStddevPopulationAccountAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ACCOUNT_ASC', - AccountHistoriesByCreatedBlockIdStddevPopulationAccountDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ACCOUNT_DESC', - AccountHistoriesByCreatedBlockIdStddevPopulationCreatedAtAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - AccountHistoriesByCreatedBlockIdStddevPopulationCreatedAtDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - AccountHistoriesByCreatedBlockIdStddevPopulationCreatedBlockIdAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - AccountHistoriesByCreatedBlockIdStddevPopulationCreatedBlockIdDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - AccountHistoriesByCreatedBlockIdStddevPopulationDatetimeAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_DATETIME_ASC', - AccountHistoriesByCreatedBlockIdStddevPopulationDatetimeDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_DATETIME_DESC', - AccountHistoriesByCreatedBlockIdStddevPopulationEventIdAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_ID_ASC', - AccountHistoriesByCreatedBlockIdStddevPopulationEventIdDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_ID_DESC', - AccountHistoriesByCreatedBlockIdStddevPopulationIdentityAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_IDENTITY_ASC', - AccountHistoriesByCreatedBlockIdStddevPopulationIdentityDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_IDENTITY_DESC', - AccountHistoriesByCreatedBlockIdStddevPopulationIdAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - AccountHistoriesByCreatedBlockIdStddevPopulationIdDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - AccountHistoriesByCreatedBlockIdStddevPopulationPermissionsAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_PERMISSIONS_ASC', - AccountHistoriesByCreatedBlockIdStddevPopulationPermissionsDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_PERMISSIONS_DESC', - AccountHistoriesByCreatedBlockIdStddevPopulationUpdatedAtAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - AccountHistoriesByCreatedBlockIdStddevPopulationUpdatedAtDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - AccountHistoriesByCreatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - AccountHistoriesByCreatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - AccountHistoriesByCreatedBlockIdStddevSampleAccountAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ACCOUNT_ASC', - AccountHistoriesByCreatedBlockIdStddevSampleAccountDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ACCOUNT_DESC', - AccountHistoriesByCreatedBlockIdStddevSampleCreatedAtAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - AccountHistoriesByCreatedBlockIdStddevSampleCreatedAtDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - AccountHistoriesByCreatedBlockIdStddevSampleCreatedBlockIdAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - AccountHistoriesByCreatedBlockIdStddevSampleCreatedBlockIdDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - AccountHistoriesByCreatedBlockIdStddevSampleDatetimeAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_DATETIME_ASC', - AccountHistoriesByCreatedBlockIdStddevSampleDatetimeDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_DATETIME_DESC', - AccountHistoriesByCreatedBlockIdStddevSampleEventIdAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_ID_ASC', - AccountHistoriesByCreatedBlockIdStddevSampleEventIdDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_ID_DESC', - AccountHistoriesByCreatedBlockIdStddevSampleIdentityAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_IDENTITY_ASC', - AccountHistoriesByCreatedBlockIdStddevSampleIdentityDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_IDENTITY_DESC', - AccountHistoriesByCreatedBlockIdStddevSampleIdAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - AccountHistoriesByCreatedBlockIdStddevSampleIdDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - AccountHistoriesByCreatedBlockIdStddevSamplePermissionsAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_PERMISSIONS_ASC', - AccountHistoriesByCreatedBlockIdStddevSamplePermissionsDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_PERMISSIONS_DESC', - AccountHistoriesByCreatedBlockIdStddevSampleUpdatedAtAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - AccountHistoriesByCreatedBlockIdStddevSampleUpdatedAtDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - AccountHistoriesByCreatedBlockIdStddevSampleUpdatedBlockIdAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - AccountHistoriesByCreatedBlockIdStddevSampleUpdatedBlockIdDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - AccountHistoriesByCreatedBlockIdSumAccountAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_SUM_ACCOUNT_ASC', - AccountHistoriesByCreatedBlockIdSumAccountDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_SUM_ACCOUNT_DESC', - AccountHistoriesByCreatedBlockIdSumCreatedAtAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_ASC', - AccountHistoriesByCreatedBlockIdSumCreatedAtDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_DESC', - AccountHistoriesByCreatedBlockIdSumCreatedBlockIdAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - AccountHistoriesByCreatedBlockIdSumCreatedBlockIdDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - AccountHistoriesByCreatedBlockIdSumDatetimeAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_SUM_DATETIME_ASC', - AccountHistoriesByCreatedBlockIdSumDatetimeDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_SUM_DATETIME_DESC', - AccountHistoriesByCreatedBlockIdSumEventIdAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_SUM_EVENT_ID_ASC', - AccountHistoriesByCreatedBlockIdSumEventIdDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_SUM_EVENT_ID_DESC', - AccountHistoriesByCreatedBlockIdSumIdentityAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_SUM_IDENTITY_ASC', - AccountHistoriesByCreatedBlockIdSumIdentityDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_SUM_IDENTITY_DESC', - AccountHistoriesByCreatedBlockIdSumIdAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_SUM_ID_ASC', - AccountHistoriesByCreatedBlockIdSumIdDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_SUM_ID_DESC', - AccountHistoriesByCreatedBlockIdSumPermissionsAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_SUM_PERMISSIONS_ASC', - AccountHistoriesByCreatedBlockIdSumPermissionsDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_SUM_PERMISSIONS_DESC', - AccountHistoriesByCreatedBlockIdSumUpdatedAtAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - AccountHistoriesByCreatedBlockIdSumUpdatedAtDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - AccountHistoriesByCreatedBlockIdSumUpdatedBlockIdAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - AccountHistoriesByCreatedBlockIdSumUpdatedBlockIdDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - AccountHistoriesByCreatedBlockIdVariancePopulationAccountAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ACCOUNT_ASC', - AccountHistoriesByCreatedBlockIdVariancePopulationAccountDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ACCOUNT_DESC', - AccountHistoriesByCreatedBlockIdVariancePopulationCreatedAtAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - AccountHistoriesByCreatedBlockIdVariancePopulationCreatedAtDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - AccountHistoriesByCreatedBlockIdVariancePopulationCreatedBlockIdAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - AccountHistoriesByCreatedBlockIdVariancePopulationCreatedBlockIdDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - AccountHistoriesByCreatedBlockIdVariancePopulationDatetimeAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_DATETIME_ASC', - AccountHistoriesByCreatedBlockIdVariancePopulationDatetimeDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_DATETIME_DESC', - AccountHistoriesByCreatedBlockIdVariancePopulationEventIdAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_ID_ASC', - AccountHistoriesByCreatedBlockIdVariancePopulationEventIdDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_ID_DESC', - AccountHistoriesByCreatedBlockIdVariancePopulationIdentityAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_IDENTITY_ASC', - AccountHistoriesByCreatedBlockIdVariancePopulationIdentityDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_IDENTITY_DESC', - AccountHistoriesByCreatedBlockIdVariancePopulationIdAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - AccountHistoriesByCreatedBlockIdVariancePopulationIdDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - AccountHistoriesByCreatedBlockIdVariancePopulationPermissionsAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_PERMISSIONS_ASC', - AccountHistoriesByCreatedBlockIdVariancePopulationPermissionsDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_PERMISSIONS_DESC', - AccountHistoriesByCreatedBlockIdVariancePopulationUpdatedAtAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - AccountHistoriesByCreatedBlockIdVariancePopulationUpdatedAtDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - AccountHistoriesByCreatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - AccountHistoriesByCreatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - AccountHistoriesByCreatedBlockIdVarianceSampleAccountAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ACCOUNT_ASC', - AccountHistoriesByCreatedBlockIdVarianceSampleAccountDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ACCOUNT_DESC', - AccountHistoriesByCreatedBlockIdVarianceSampleCreatedAtAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - AccountHistoriesByCreatedBlockIdVarianceSampleCreatedAtDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - AccountHistoriesByCreatedBlockIdVarianceSampleCreatedBlockIdAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - AccountHistoriesByCreatedBlockIdVarianceSampleCreatedBlockIdDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - AccountHistoriesByCreatedBlockIdVarianceSampleDatetimeAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_DATETIME_ASC', - AccountHistoriesByCreatedBlockIdVarianceSampleDatetimeDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_DATETIME_DESC', - AccountHistoriesByCreatedBlockIdVarianceSampleEventIdAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_ID_ASC', - AccountHistoriesByCreatedBlockIdVarianceSampleEventIdDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_ID_DESC', - AccountHistoriesByCreatedBlockIdVarianceSampleIdentityAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_IDENTITY_ASC', - AccountHistoriesByCreatedBlockIdVarianceSampleIdentityDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_IDENTITY_DESC', - AccountHistoriesByCreatedBlockIdVarianceSampleIdAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - AccountHistoriesByCreatedBlockIdVarianceSampleIdDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - AccountHistoriesByCreatedBlockIdVarianceSamplePermissionsAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_PERMISSIONS_ASC', - AccountHistoriesByCreatedBlockIdVarianceSamplePermissionsDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_PERMISSIONS_DESC', - AccountHistoriesByCreatedBlockIdVarianceSampleUpdatedAtAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - AccountHistoriesByCreatedBlockIdVarianceSampleUpdatedAtDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - AccountHistoriesByCreatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - AccountHistoriesByCreatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'ACCOUNT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - AccountHistoriesByUpdatedBlockIdAverageAccountAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_ACCOUNT_ASC', - AccountHistoriesByUpdatedBlockIdAverageAccountDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_ACCOUNT_DESC', - AccountHistoriesByUpdatedBlockIdAverageCreatedAtAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - AccountHistoriesByUpdatedBlockIdAverageCreatedAtDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - AccountHistoriesByUpdatedBlockIdAverageCreatedBlockIdAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - AccountHistoriesByUpdatedBlockIdAverageCreatedBlockIdDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - AccountHistoriesByUpdatedBlockIdAverageDatetimeAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_DATETIME_ASC', - AccountHistoriesByUpdatedBlockIdAverageDatetimeDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_DATETIME_DESC', - AccountHistoriesByUpdatedBlockIdAverageEventIdAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_ID_ASC', - AccountHistoriesByUpdatedBlockIdAverageEventIdDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_ID_DESC', - AccountHistoriesByUpdatedBlockIdAverageIdentityAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_IDENTITY_ASC', - AccountHistoriesByUpdatedBlockIdAverageIdentityDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_IDENTITY_DESC', - AccountHistoriesByUpdatedBlockIdAverageIdAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_ID_ASC', - AccountHistoriesByUpdatedBlockIdAverageIdDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_ID_DESC', - AccountHistoriesByUpdatedBlockIdAveragePermissionsAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_PERMISSIONS_ASC', - AccountHistoriesByUpdatedBlockIdAveragePermissionsDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_PERMISSIONS_DESC', - AccountHistoriesByUpdatedBlockIdAverageUpdatedAtAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - AccountHistoriesByUpdatedBlockIdAverageUpdatedAtDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - AccountHistoriesByUpdatedBlockIdAverageUpdatedBlockIdAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - AccountHistoriesByUpdatedBlockIdAverageUpdatedBlockIdDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - AccountHistoriesByUpdatedBlockIdCountAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_COUNT_ASC', - AccountHistoriesByUpdatedBlockIdCountDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_COUNT_DESC', - AccountHistoriesByUpdatedBlockIdDistinctCountAccountAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ACCOUNT_ASC', - AccountHistoriesByUpdatedBlockIdDistinctCountAccountDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ACCOUNT_DESC', - AccountHistoriesByUpdatedBlockIdDistinctCountCreatedAtAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - AccountHistoriesByUpdatedBlockIdDistinctCountCreatedAtDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - AccountHistoriesByUpdatedBlockIdDistinctCountCreatedBlockIdAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - AccountHistoriesByUpdatedBlockIdDistinctCountCreatedBlockIdDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - AccountHistoriesByUpdatedBlockIdDistinctCountDatetimeAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_ASC', - AccountHistoriesByUpdatedBlockIdDistinctCountDatetimeDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_DESC', - AccountHistoriesByUpdatedBlockIdDistinctCountEventIdAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_ID_ASC', - AccountHistoriesByUpdatedBlockIdDistinctCountEventIdDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_ID_DESC', - AccountHistoriesByUpdatedBlockIdDistinctCountIdentityAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_IDENTITY_ASC', - AccountHistoriesByUpdatedBlockIdDistinctCountIdentityDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_IDENTITY_DESC', - AccountHistoriesByUpdatedBlockIdDistinctCountIdAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - AccountHistoriesByUpdatedBlockIdDistinctCountIdDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - AccountHistoriesByUpdatedBlockIdDistinctCountPermissionsAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_PERMISSIONS_ASC', - AccountHistoriesByUpdatedBlockIdDistinctCountPermissionsDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_PERMISSIONS_DESC', - AccountHistoriesByUpdatedBlockIdDistinctCountUpdatedAtAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - AccountHistoriesByUpdatedBlockIdDistinctCountUpdatedAtDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - AccountHistoriesByUpdatedBlockIdDistinctCountUpdatedBlockIdAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - AccountHistoriesByUpdatedBlockIdDistinctCountUpdatedBlockIdDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - AccountHistoriesByUpdatedBlockIdMaxAccountAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_ACCOUNT_ASC', - AccountHistoriesByUpdatedBlockIdMaxAccountDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_ACCOUNT_DESC', - AccountHistoriesByUpdatedBlockIdMaxCreatedAtAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_ASC', - AccountHistoriesByUpdatedBlockIdMaxCreatedAtDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_DESC', - AccountHistoriesByUpdatedBlockIdMaxCreatedBlockIdAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - AccountHistoriesByUpdatedBlockIdMaxCreatedBlockIdDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - AccountHistoriesByUpdatedBlockIdMaxDatetimeAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_DATETIME_ASC', - AccountHistoriesByUpdatedBlockIdMaxDatetimeDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_DATETIME_DESC', - AccountHistoriesByUpdatedBlockIdMaxEventIdAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_EVENT_ID_ASC', - AccountHistoriesByUpdatedBlockIdMaxEventIdDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_EVENT_ID_DESC', - AccountHistoriesByUpdatedBlockIdMaxIdentityAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_IDENTITY_ASC', - AccountHistoriesByUpdatedBlockIdMaxIdentityDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_IDENTITY_DESC', - AccountHistoriesByUpdatedBlockIdMaxIdAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_ID_ASC', - AccountHistoriesByUpdatedBlockIdMaxIdDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_ID_DESC', - AccountHistoriesByUpdatedBlockIdMaxPermissionsAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_PERMISSIONS_ASC', - AccountHistoriesByUpdatedBlockIdMaxPermissionsDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_PERMISSIONS_DESC', - AccountHistoriesByUpdatedBlockIdMaxUpdatedAtAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - AccountHistoriesByUpdatedBlockIdMaxUpdatedAtDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - AccountHistoriesByUpdatedBlockIdMaxUpdatedBlockIdAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - AccountHistoriesByUpdatedBlockIdMaxUpdatedBlockIdDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - AccountHistoriesByUpdatedBlockIdMinAccountAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_ACCOUNT_ASC', - AccountHistoriesByUpdatedBlockIdMinAccountDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_ACCOUNT_DESC', - AccountHistoriesByUpdatedBlockIdMinCreatedAtAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_ASC', - AccountHistoriesByUpdatedBlockIdMinCreatedAtDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_DESC', - AccountHistoriesByUpdatedBlockIdMinCreatedBlockIdAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - AccountHistoriesByUpdatedBlockIdMinCreatedBlockIdDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - AccountHistoriesByUpdatedBlockIdMinDatetimeAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_DATETIME_ASC', - AccountHistoriesByUpdatedBlockIdMinDatetimeDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_DATETIME_DESC', - AccountHistoriesByUpdatedBlockIdMinEventIdAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_EVENT_ID_ASC', - AccountHistoriesByUpdatedBlockIdMinEventIdDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_EVENT_ID_DESC', - AccountHistoriesByUpdatedBlockIdMinIdentityAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_IDENTITY_ASC', - AccountHistoriesByUpdatedBlockIdMinIdentityDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_IDENTITY_DESC', - AccountHistoriesByUpdatedBlockIdMinIdAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_ID_ASC', - AccountHistoriesByUpdatedBlockIdMinIdDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_ID_DESC', - AccountHistoriesByUpdatedBlockIdMinPermissionsAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_PERMISSIONS_ASC', - AccountHistoriesByUpdatedBlockIdMinPermissionsDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_PERMISSIONS_DESC', - AccountHistoriesByUpdatedBlockIdMinUpdatedAtAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - AccountHistoriesByUpdatedBlockIdMinUpdatedAtDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - AccountHistoriesByUpdatedBlockIdMinUpdatedBlockIdAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - AccountHistoriesByUpdatedBlockIdMinUpdatedBlockIdDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - AccountHistoriesByUpdatedBlockIdStddevPopulationAccountAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ACCOUNT_ASC', - AccountHistoriesByUpdatedBlockIdStddevPopulationAccountDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ACCOUNT_DESC', - AccountHistoriesByUpdatedBlockIdStddevPopulationCreatedAtAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - AccountHistoriesByUpdatedBlockIdStddevPopulationCreatedAtDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - AccountHistoriesByUpdatedBlockIdStddevPopulationCreatedBlockIdAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - AccountHistoriesByUpdatedBlockIdStddevPopulationCreatedBlockIdDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - AccountHistoriesByUpdatedBlockIdStddevPopulationDatetimeAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_DATETIME_ASC', - AccountHistoriesByUpdatedBlockIdStddevPopulationDatetimeDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_DATETIME_DESC', - AccountHistoriesByUpdatedBlockIdStddevPopulationEventIdAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_ID_ASC', - AccountHistoriesByUpdatedBlockIdStddevPopulationEventIdDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_ID_DESC', - AccountHistoriesByUpdatedBlockIdStddevPopulationIdentityAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_IDENTITY_ASC', - AccountHistoriesByUpdatedBlockIdStddevPopulationIdentityDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_IDENTITY_DESC', - AccountHistoriesByUpdatedBlockIdStddevPopulationIdAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - AccountHistoriesByUpdatedBlockIdStddevPopulationIdDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - AccountHistoriesByUpdatedBlockIdStddevPopulationPermissionsAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_PERMISSIONS_ASC', - AccountHistoriesByUpdatedBlockIdStddevPopulationPermissionsDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_PERMISSIONS_DESC', - AccountHistoriesByUpdatedBlockIdStddevPopulationUpdatedAtAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - AccountHistoriesByUpdatedBlockIdStddevPopulationUpdatedAtDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - AccountHistoriesByUpdatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - AccountHistoriesByUpdatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - AccountHistoriesByUpdatedBlockIdStddevSampleAccountAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ACCOUNT_ASC', - AccountHistoriesByUpdatedBlockIdStddevSampleAccountDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ACCOUNT_DESC', - AccountHistoriesByUpdatedBlockIdStddevSampleCreatedAtAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - AccountHistoriesByUpdatedBlockIdStddevSampleCreatedAtDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - AccountHistoriesByUpdatedBlockIdStddevSampleCreatedBlockIdAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - AccountHistoriesByUpdatedBlockIdStddevSampleCreatedBlockIdDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - AccountHistoriesByUpdatedBlockIdStddevSampleDatetimeAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_DATETIME_ASC', - AccountHistoriesByUpdatedBlockIdStddevSampleDatetimeDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_DATETIME_DESC', - AccountHistoriesByUpdatedBlockIdStddevSampleEventIdAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_ID_ASC', - AccountHistoriesByUpdatedBlockIdStddevSampleEventIdDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_ID_DESC', - AccountHistoriesByUpdatedBlockIdStddevSampleIdentityAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_IDENTITY_ASC', - AccountHistoriesByUpdatedBlockIdStddevSampleIdentityDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_IDENTITY_DESC', - AccountHistoriesByUpdatedBlockIdStddevSampleIdAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - AccountHistoriesByUpdatedBlockIdStddevSampleIdDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - AccountHistoriesByUpdatedBlockIdStddevSamplePermissionsAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_PERMISSIONS_ASC', - AccountHistoriesByUpdatedBlockIdStddevSamplePermissionsDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_PERMISSIONS_DESC', - AccountHistoriesByUpdatedBlockIdStddevSampleUpdatedAtAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - AccountHistoriesByUpdatedBlockIdStddevSampleUpdatedAtDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - AccountHistoriesByUpdatedBlockIdStddevSampleUpdatedBlockIdAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - AccountHistoriesByUpdatedBlockIdStddevSampleUpdatedBlockIdDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - AccountHistoriesByUpdatedBlockIdSumAccountAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_ACCOUNT_ASC', - AccountHistoriesByUpdatedBlockIdSumAccountDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_ACCOUNT_DESC', - AccountHistoriesByUpdatedBlockIdSumCreatedAtAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_ASC', - AccountHistoriesByUpdatedBlockIdSumCreatedAtDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_DESC', - AccountHistoriesByUpdatedBlockIdSumCreatedBlockIdAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - AccountHistoriesByUpdatedBlockIdSumCreatedBlockIdDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - AccountHistoriesByUpdatedBlockIdSumDatetimeAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_DATETIME_ASC', - AccountHistoriesByUpdatedBlockIdSumDatetimeDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_DATETIME_DESC', - AccountHistoriesByUpdatedBlockIdSumEventIdAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_EVENT_ID_ASC', - AccountHistoriesByUpdatedBlockIdSumEventIdDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_EVENT_ID_DESC', - AccountHistoriesByUpdatedBlockIdSumIdentityAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_IDENTITY_ASC', - AccountHistoriesByUpdatedBlockIdSumIdentityDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_IDENTITY_DESC', - AccountHistoriesByUpdatedBlockIdSumIdAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_ID_ASC', - AccountHistoriesByUpdatedBlockIdSumIdDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_ID_DESC', - AccountHistoriesByUpdatedBlockIdSumPermissionsAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_PERMISSIONS_ASC', - AccountHistoriesByUpdatedBlockIdSumPermissionsDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_PERMISSIONS_DESC', - AccountHistoriesByUpdatedBlockIdSumUpdatedAtAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - AccountHistoriesByUpdatedBlockIdSumUpdatedAtDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - AccountHistoriesByUpdatedBlockIdSumUpdatedBlockIdAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - AccountHistoriesByUpdatedBlockIdSumUpdatedBlockIdDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - AccountHistoriesByUpdatedBlockIdVariancePopulationAccountAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ACCOUNT_ASC', - AccountHistoriesByUpdatedBlockIdVariancePopulationAccountDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ACCOUNT_DESC', - AccountHistoriesByUpdatedBlockIdVariancePopulationCreatedAtAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - AccountHistoriesByUpdatedBlockIdVariancePopulationCreatedAtDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - AccountHistoriesByUpdatedBlockIdVariancePopulationCreatedBlockIdAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - AccountHistoriesByUpdatedBlockIdVariancePopulationCreatedBlockIdDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - AccountHistoriesByUpdatedBlockIdVariancePopulationDatetimeAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_DATETIME_ASC', - AccountHistoriesByUpdatedBlockIdVariancePopulationDatetimeDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_DATETIME_DESC', - AccountHistoriesByUpdatedBlockIdVariancePopulationEventIdAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_ID_ASC', - AccountHistoriesByUpdatedBlockIdVariancePopulationEventIdDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_ID_DESC', - AccountHistoriesByUpdatedBlockIdVariancePopulationIdentityAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_IDENTITY_ASC', - AccountHistoriesByUpdatedBlockIdVariancePopulationIdentityDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_IDENTITY_DESC', - AccountHistoriesByUpdatedBlockIdVariancePopulationIdAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - AccountHistoriesByUpdatedBlockIdVariancePopulationIdDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - AccountHistoriesByUpdatedBlockIdVariancePopulationPermissionsAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_PERMISSIONS_ASC', - AccountHistoriesByUpdatedBlockIdVariancePopulationPermissionsDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_PERMISSIONS_DESC', - AccountHistoriesByUpdatedBlockIdVariancePopulationUpdatedAtAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - AccountHistoriesByUpdatedBlockIdVariancePopulationUpdatedAtDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - AccountHistoriesByUpdatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - AccountHistoriesByUpdatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - AccountHistoriesByUpdatedBlockIdVarianceSampleAccountAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ACCOUNT_ASC', - AccountHistoriesByUpdatedBlockIdVarianceSampleAccountDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ACCOUNT_DESC', - AccountHistoriesByUpdatedBlockIdVarianceSampleCreatedAtAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - AccountHistoriesByUpdatedBlockIdVarianceSampleCreatedAtDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - AccountHistoriesByUpdatedBlockIdVarianceSampleCreatedBlockIdAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - AccountHistoriesByUpdatedBlockIdVarianceSampleCreatedBlockIdDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - AccountHistoriesByUpdatedBlockIdVarianceSampleDatetimeAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_DATETIME_ASC', - AccountHistoriesByUpdatedBlockIdVarianceSampleDatetimeDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_DATETIME_DESC', - AccountHistoriesByUpdatedBlockIdVarianceSampleEventIdAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_ID_ASC', - AccountHistoriesByUpdatedBlockIdVarianceSampleEventIdDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_ID_DESC', - AccountHistoriesByUpdatedBlockIdVarianceSampleIdentityAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_IDENTITY_ASC', - AccountHistoriesByUpdatedBlockIdVarianceSampleIdentityDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_IDENTITY_DESC', - AccountHistoriesByUpdatedBlockIdVarianceSampleIdAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - AccountHistoriesByUpdatedBlockIdVarianceSampleIdDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - AccountHistoriesByUpdatedBlockIdVarianceSamplePermissionsAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_PERMISSIONS_ASC', - AccountHistoriesByUpdatedBlockIdVarianceSamplePermissionsDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_PERMISSIONS_DESC', - AccountHistoriesByUpdatedBlockIdVarianceSampleUpdatedAtAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - AccountHistoriesByUpdatedBlockIdVarianceSampleUpdatedAtDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - AccountHistoriesByUpdatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - AccountHistoriesByUpdatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'ACCOUNT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - AgentGroupsByCreatedBlockIdAverageCreatedAtAsc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - AgentGroupsByCreatedBlockIdAverageCreatedAtDesc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - AgentGroupsByCreatedBlockIdAverageCreatedBlockIdAsc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - AgentGroupsByCreatedBlockIdAverageCreatedBlockIdDesc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - AgentGroupsByCreatedBlockIdAverageIdAsc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_AVERAGE_ID_ASC', - AgentGroupsByCreatedBlockIdAverageIdDesc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_AVERAGE_ID_DESC', - AgentGroupsByCreatedBlockIdAveragePermissionsAsc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_AVERAGE_PERMISSIONS_ASC', - AgentGroupsByCreatedBlockIdAveragePermissionsDesc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_AVERAGE_PERMISSIONS_DESC', - AgentGroupsByCreatedBlockIdAverageUpdatedAtAsc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - AgentGroupsByCreatedBlockIdAverageUpdatedAtDesc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - AgentGroupsByCreatedBlockIdAverageUpdatedBlockIdAsc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - AgentGroupsByCreatedBlockIdAverageUpdatedBlockIdDesc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - AgentGroupsByCreatedBlockIdCountAsc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_COUNT_ASC', - AgentGroupsByCreatedBlockIdCountDesc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_COUNT_DESC', - AgentGroupsByCreatedBlockIdDistinctCountCreatedAtAsc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - AgentGroupsByCreatedBlockIdDistinctCountCreatedAtDesc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - AgentGroupsByCreatedBlockIdDistinctCountCreatedBlockIdAsc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - AgentGroupsByCreatedBlockIdDistinctCountCreatedBlockIdDesc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - AgentGroupsByCreatedBlockIdDistinctCountIdAsc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - AgentGroupsByCreatedBlockIdDistinctCountIdDesc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - AgentGroupsByCreatedBlockIdDistinctCountPermissionsAsc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_PERMISSIONS_ASC', - AgentGroupsByCreatedBlockIdDistinctCountPermissionsDesc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_PERMISSIONS_DESC', - AgentGroupsByCreatedBlockIdDistinctCountUpdatedAtAsc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - AgentGroupsByCreatedBlockIdDistinctCountUpdatedAtDesc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - AgentGroupsByCreatedBlockIdDistinctCountUpdatedBlockIdAsc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - AgentGroupsByCreatedBlockIdDistinctCountUpdatedBlockIdDesc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - AgentGroupsByCreatedBlockIdMaxCreatedAtAsc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_ASC', - AgentGroupsByCreatedBlockIdMaxCreatedAtDesc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_DESC', - AgentGroupsByCreatedBlockIdMaxCreatedBlockIdAsc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - AgentGroupsByCreatedBlockIdMaxCreatedBlockIdDesc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - AgentGroupsByCreatedBlockIdMaxIdAsc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_MAX_ID_ASC', - AgentGroupsByCreatedBlockIdMaxIdDesc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_MAX_ID_DESC', - AgentGroupsByCreatedBlockIdMaxPermissionsAsc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_MAX_PERMISSIONS_ASC', - AgentGroupsByCreatedBlockIdMaxPermissionsDesc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_MAX_PERMISSIONS_DESC', - AgentGroupsByCreatedBlockIdMaxUpdatedAtAsc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - AgentGroupsByCreatedBlockIdMaxUpdatedAtDesc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - AgentGroupsByCreatedBlockIdMaxUpdatedBlockIdAsc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - AgentGroupsByCreatedBlockIdMaxUpdatedBlockIdDesc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - AgentGroupsByCreatedBlockIdMinCreatedAtAsc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_ASC', - AgentGroupsByCreatedBlockIdMinCreatedAtDesc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_DESC', - AgentGroupsByCreatedBlockIdMinCreatedBlockIdAsc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - AgentGroupsByCreatedBlockIdMinCreatedBlockIdDesc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - AgentGroupsByCreatedBlockIdMinIdAsc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_MIN_ID_ASC', - AgentGroupsByCreatedBlockIdMinIdDesc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_MIN_ID_DESC', - AgentGroupsByCreatedBlockIdMinPermissionsAsc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_MIN_PERMISSIONS_ASC', - AgentGroupsByCreatedBlockIdMinPermissionsDesc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_MIN_PERMISSIONS_DESC', - AgentGroupsByCreatedBlockIdMinUpdatedAtAsc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - AgentGroupsByCreatedBlockIdMinUpdatedAtDesc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - AgentGroupsByCreatedBlockIdMinUpdatedBlockIdAsc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - AgentGroupsByCreatedBlockIdMinUpdatedBlockIdDesc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - AgentGroupsByCreatedBlockIdStddevPopulationCreatedAtAsc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - AgentGroupsByCreatedBlockIdStddevPopulationCreatedAtDesc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - AgentGroupsByCreatedBlockIdStddevPopulationCreatedBlockIdAsc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - AgentGroupsByCreatedBlockIdStddevPopulationCreatedBlockIdDesc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - AgentGroupsByCreatedBlockIdStddevPopulationIdAsc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - AgentGroupsByCreatedBlockIdStddevPopulationIdDesc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - AgentGroupsByCreatedBlockIdStddevPopulationPermissionsAsc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_PERMISSIONS_ASC', - AgentGroupsByCreatedBlockIdStddevPopulationPermissionsDesc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_PERMISSIONS_DESC', - AgentGroupsByCreatedBlockIdStddevPopulationUpdatedAtAsc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - AgentGroupsByCreatedBlockIdStddevPopulationUpdatedAtDesc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - AgentGroupsByCreatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - AgentGroupsByCreatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - AgentGroupsByCreatedBlockIdStddevSampleCreatedAtAsc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - AgentGroupsByCreatedBlockIdStddevSampleCreatedAtDesc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - AgentGroupsByCreatedBlockIdStddevSampleCreatedBlockIdAsc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - AgentGroupsByCreatedBlockIdStddevSampleCreatedBlockIdDesc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - AgentGroupsByCreatedBlockIdStddevSampleIdAsc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - AgentGroupsByCreatedBlockIdStddevSampleIdDesc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - AgentGroupsByCreatedBlockIdStddevSamplePermissionsAsc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_PERMISSIONS_ASC', - AgentGroupsByCreatedBlockIdStddevSamplePermissionsDesc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_PERMISSIONS_DESC', - AgentGroupsByCreatedBlockIdStddevSampleUpdatedAtAsc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - AgentGroupsByCreatedBlockIdStddevSampleUpdatedAtDesc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - AgentGroupsByCreatedBlockIdStddevSampleUpdatedBlockIdAsc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - AgentGroupsByCreatedBlockIdStddevSampleUpdatedBlockIdDesc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - AgentGroupsByCreatedBlockIdSumCreatedAtAsc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_ASC', - AgentGroupsByCreatedBlockIdSumCreatedAtDesc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_DESC', - AgentGroupsByCreatedBlockIdSumCreatedBlockIdAsc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - AgentGroupsByCreatedBlockIdSumCreatedBlockIdDesc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - AgentGroupsByCreatedBlockIdSumIdAsc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_SUM_ID_ASC', - AgentGroupsByCreatedBlockIdSumIdDesc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_SUM_ID_DESC', - AgentGroupsByCreatedBlockIdSumPermissionsAsc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_SUM_PERMISSIONS_ASC', - AgentGroupsByCreatedBlockIdSumPermissionsDesc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_SUM_PERMISSIONS_DESC', - AgentGroupsByCreatedBlockIdSumUpdatedAtAsc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - AgentGroupsByCreatedBlockIdSumUpdatedAtDesc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - AgentGroupsByCreatedBlockIdSumUpdatedBlockIdAsc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - AgentGroupsByCreatedBlockIdSumUpdatedBlockIdDesc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - AgentGroupsByCreatedBlockIdVariancePopulationCreatedAtAsc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - AgentGroupsByCreatedBlockIdVariancePopulationCreatedAtDesc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - AgentGroupsByCreatedBlockIdVariancePopulationCreatedBlockIdAsc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - AgentGroupsByCreatedBlockIdVariancePopulationCreatedBlockIdDesc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - AgentGroupsByCreatedBlockIdVariancePopulationIdAsc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - AgentGroupsByCreatedBlockIdVariancePopulationIdDesc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - AgentGroupsByCreatedBlockIdVariancePopulationPermissionsAsc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_PERMISSIONS_ASC', - AgentGroupsByCreatedBlockIdVariancePopulationPermissionsDesc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_PERMISSIONS_DESC', - AgentGroupsByCreatedBlockIdVariancePopulationUpdatedAtAsc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - AgentGroupsByCreatedBlockIdVariancePopulationUpdatedAtDesc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - AgentGroupsByCreatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - AgentGroupsByCreatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - AgentGroupsByCreatedBlockIdVarianceSampleCreatedAtAsc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - AgentGroupsByCreatedBlockIdVarianceSampleCreatedAtDesc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - AgentGroupsByCreatedBlockIdVarianceSampleCreatedBlockIdAsc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - AgentGroupsByCreatedBlockIdVarianceSampleCreatedBlockIdDesc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - AgentGroupsByCreatedBlockIdVarianceSampleIdAsc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - AgentGroupsByCreatedBlockIdVarianceSampleIdDesc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - AgentGroupsByCreatedBlockIdVarianceSamplePermissionsAsc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_PERMISSIONS_ASC', - AgentGroupsByCreatedBlockIdVarianceSamplePermissionsDesc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_PERMISSIONS_DESC', - AgentGroupsByCreatedBlockIdVarianceSampleUpdatedAtAsc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - AgentGroupsByCreatedBlockIdVarianceSampleUpdatedAtDesc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - AgentGroupsByCreatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - AgentGroupsByCreatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'AGENT_GROUPS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - AgentGroupsByUpdatedBlockIdAverageCreatedAtAsc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - AgentGroupsByUpdatedBlockIdAverageCreatedAtDesc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - AgentGroupsByUpdatedBlockIdAverageCreatedBlockIdAsc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - AgentGroupsByUpdatedBlockIdAverageCreatedBlockIdDesc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - AgentGroupsByUpdatedBlockIdAverageIdAsc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_ASC', - AgentGroupsByUpdatedBlockIdAverageIdDesc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_DESC', - AgentGroupsByUpdatedBlockIdAveragePermissionsAsc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_AVERAGE_PERMISSIONS_ASC', - AgentGroupsByUpdatedBlockIdAveragePermissionsDesc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_AVERAGE_PERMISSIONS_DESC', - AgentGroupsByUpdatedBlockIdAverageUpdatedAtAsc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - AgentGroupsByUpdatedBlockIdAverageUpdatedAtDesc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - AgentGroupsByUpdatedBlockIdAverageUpdatedBlockIdAsc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - AgentGroupsByUpdatedBlockIdAverageUpdatedBlockIdDesc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - AgentGroupsByUpdatedBlockIdCountAsc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_COUNT_ASC', - AgentGroupsByUpdatedBlockIdCountDesc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_COUNT_DESC', - AgentGroupsByUpdatedBlockIdDistinctCountCreatedAtAsc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - AgentGroupsByUpdatedBlockIdDistinctCountCreatedAtDesc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - AgentGroupsByUpdatedBlockIdDistinctCountCreatedBlockIdAsc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - AgentGroupsByUpdatedBlockIdDistinctCountCreatedBlockIdDesc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - AgentGroupsByUpdatedBlockIdDistinctCountIdAsc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - AgentGroupsByUpdatedBlockIdDistinctCountIdDesc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - AgentGroupsByUpdatedBlockIdDistinctCountPermissionsAsc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_PERMISSIONS_ASC', - AgentGroupsByUpdatedBlockIdDistinctCountPermissionsDesc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_PERMISSIONS_DESC', - AgentGroupsByUpdatedBlockIdDistinctCountUpdatedAtAsc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - AgentGroupsByUpdatedBlockIdDistinctCountUpdatedAtDesc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - AgentGroupsByUpdatedBlockIdDistinctCountUpdatedBlockIdAsc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - AgentGroupsByUpdatedBlockIdDistinctCountUpdatedBlockIdDesc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - AgentGroupsByUpdatedBlockIdMaxCreatedAtAsc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_ASC', - AgentGroupsByUpdatedBlockIdMaxCreatedAtDesc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_DESC', - AgentGroupsByUpdatedBlockIdMaxCreatedBlockIdAsc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - AgentGroupsByUpdatedBlockIdMaxCreatedBlockIdDesc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - AgentGroupsByUpdatedBlockIdMaxIdAsc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_MAX_ID_ASC', - AgentGroupsByUpdatedBlockIdMaxIdDesc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_MAX_ID_DESC', - AgentGroupsByUpdatedBlockIdMaxPermissionsAsc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_MAX_PERMISSIONS_ASC', - AgentGroupsByUpdatedBlockIdMaxPermissionsDesc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_MAX_PERMISSIONS_DESC', - AgentGroupsByUpdatedBlockIdMaxUpdatedAtAsc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - AgentGroupsByUpdatedBlockIdMaxUpdatedAtDesc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - AgentGroupsByUpdatedBlockIdMaxUpdatedBlockIdAsc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - AgentGroupsByUpdatedBlockIdMaxUpdatedBlockIdDesc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - AgentGroupsByUpdatedBlockIdMinCreatedAtAsc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_ASC', - AgentGroupsByUpdatedBlockIdMinCreatedAtDesc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_DESC', - AgentGroupsByUpdatedBlockIdMinCreatedBlockIdAsc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - AgentGroupsByUpdatedBlockIdMinCreatedBlockIdDesc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - AgentGroupsByUpdatedBlockIdMinIdAsc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_MIN_ID_ASC', - AgentGroupsByUpdatedBlockIdMinIdDesc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_MIN_ID_DESC', - AgentGroupsByUpdatedBlockIdMinPermissionsAsc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_MIN_PERMISSIONS_ASC', - AgentGroupsByUpdatedBlockIdMinPermissionsDesc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_MIN_PERMISSIONS_DESC', - AgentGroupsByUpdatedBlockIdMinUpdatedAtAsc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - AgentGroupsByUpdatedBlockIdMinUpdatedAtDesc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - AgentGroupsByUpdatedBlockIdMinUpdatedBlockIdAsc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - AgentGroupsByUpdatedBlockIdMinUpdatedBlockIdDesc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - AgentGroupsByUpdatedBlockIdStddevPopulationCreatedAtAsc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - AgentGroupsByUpdatedBlockIdStddevPopulationCreatedAtDesc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - AgentGroupsByUpdatedBlockIdStddevPopulationCreatedBlockIdAsc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - AgentGroupsByUpdatedBlockIdStddevPopulationCreatedBlockIdDesc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - AgentGroupsByUpdatedBlockIdStddevPopulationIdAsc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - AgentGroupsByUpdatedBlockIdStddevPopulationIdDesc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - AgentGroupsByUpdatedBlockIdStddevPopulationPermissionsAsc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_PERMISSIONS_ASC', - AgentGroupsByUpdatedBlockIdStddevPopulationPermissionsDesc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_PERMISSIONS_DESC', - AgentGroupsByUpdatedBlockIdStddevPopulationUpdatedAtAsc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - AgentGroupsByUpdatedBlockIdStddevPopulationUpdatedAtDesc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - AgentGroupsByUpdatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - AgentGroupsByUpdatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - AgentGroupsByUpdatedBlockIdStddevSampleCreatedAtAsc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - AgentGroupsByUpdatedBlockIdStddevSampleCreatedAtDesc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - AgentGroupsByUpdatedBlockIdStddevSampleCreatedBlockIdAsc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - AgentGroupsByUpdatedBlockIdStddevSampleCreatedBlockIdDesc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - AgentGroupsByUpdatedBlockIdStddevSampleIdAsc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - AgentGroupsByUpdatedBlockIdStddevSampleIdDesc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - AgentGroupsByUpdatedBlockIdStddevSamplePermissionsAsc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_PERMISSIONS_ASC', - AgentGroupsByUpdatedBlockIdStddevSamplePermissionsDesc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_PERMISSIONS_DESC', - AgentGroupsByUpdatedBlockIdStddevSampleUpdatedAtAsc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - AgentGroupsByUpdatedBlockIdStddevSampleUpdatedAtDesc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - AgentGroupsByUpdatedBlockIdStddevSampleUpdatedBlockIdAsc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - AgentGroupsByUpdatedBlockIdStddevSampleUpdatedBlockIdDesc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - AgentGroupsByUpdatedBlockIdSumCreatedAtAsc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_ASC', - AgentGroupsByUpdatedBlockIdSumCreatedAtDesc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_DESC', - AgentGroupsByUpdatedBlockIdSumCreatedBlockIdAsc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - AgentGroupsByUpdatedBlockIdSumCreatedBlockIdDesc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - AgentGroupsByUpdatedBlockIdSumIdAsc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_SUM_ID_ASC', - AgentGroupsByUpdatedBlockIdSumIdDesc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_SUM_ID_DESC', - AgentGroupsByUpdatedBlockIdSumPermissionsAsc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_SUM_PERMISSIONS_ASC', - AgentGroupsByUpdatedBlockIdSumPermissionsDesc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_SUM_PERMISSIONS_DESC', - AgentGroupsByUpdatedBlockIdSumUpdatedAtAsc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - AgentGroupsByUpdatedBlockIdSumUpdatedAtDesc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - AgentGroupsByUpdatedBlockIdSumUpdatedBlockIdAsc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - AgentGroupsByUpdatedBlockIdSumUpdatedBlockIdDesc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - AgentGroupsByUpdatedBlockIdVariancePopulationCreatedAtAsc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - AgentGroupsByUpdatedBlockIdVariancePopulationCreatedAtDesc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - AgentGroupsByUpdatedBlockIdVariancePopulationCreatedBlockIdAsc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - AgentGroupsByUpdatedBlockIdVariancePopulationCreatedBlockIdDesc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - AgentGroupsByUpdatedBlockIdVariancePopulationIdAsc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - AgentGroupsByUpdatedBlockIdVariancePopulationIdDesc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - AgentGroupsByUpdatedBlockIdVariancePopulationPermissionsAsc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_PERMISSIONS_ASC', - AgentGroupsByUpdatedBlockIdVariancePopulationPermissionsDesc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_PERMISSIONS_DESC', - AgentGroupsByUpdatedBlockIdVariancePopulationUpdatedAtAsc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - AgentGroupsByUpdatedBlockIdVariancePopulationUpdatedAtDesc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - AgentGroupsByUpdatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - AgentGroupsByUpdatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - AgentGroupsByUpdatedBlockIdVarianceSampleCreatedAtAsc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - AgentGroupsByUpdatedBlockIdVarianceSampleCreatedAtDesc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - AgentGroupsByUpdatedBlockIdVarianceSampleCreatedBlockIdAsc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - AgentGroupsByUpdatedBlockIdVarianceSampleCreatedBlockIdDesc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - AgentGroupsByUpdatedBlockIdVarianceSampleIdAsc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - AgentGroupsByUpdatedBlockIdVarianceSampleIdDesc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - AgentGroupsByUpdatedBlockIdVarianceSamplePermissionsAsc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_PERMISSIONS_ASC', - AgentGroupsByUpdatedBlockIdVarianceSamplePermissionsDesc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_PERMISSIONS_DESC', - AgentGroupsByUpdatedBlockIdVarianceSampleUpdatedAtAsc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - AgentGroupsByUpdatedBlockIdVarianceSampleUpdatedAtDesc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - AgentGroupsByUpdatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - AgentGroupsByUpdatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'AGENT_GROUPS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - AgentGroupMembershipsByCreatedBlockIdAverageCreatedAtAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - AgentGroupMembershipsByCreatedBlockIdAverageCreatedAtDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - AgentGroupMembershipsByCreatedBlockIdAverageCreatedBlockIdAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - AgentGroupMembershipsByCreatedBlockIdAverageCreatedBlockIdDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - AgentGroupMembershipsByCreatedBlockIdAverageGroupIdAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_AVERAGE_GROUP_ID_ASC', - AgentGroupMembershipsByCreatedBlockIdAverageGroupIdDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_AVERAGE_GROUP_ID_DESC', - AgentGroupMembershipsByCreatedBlockIdAverageIdAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_AVERAGE_ID_ASC', - AgentGroupMembershipsByCreatedBlockIdAverageIdDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_AVERAGE_ID_DESC', - AgentGroupMembershipsByCreatedBlockIdAverageMemberAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_AVERAGE_MEMBER_ASC', - AgentGroupMembershipsByCreatedBlockIdAverageMemberDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_AVERAGE_MEMBER_DESC', - AgentGroupMembershipsByCreatedBlockIdAverageUpdatedAtAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - AgentGroupMembershipsByCreatedBlockIdAverageUpdatedAtDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - AgentGroupMembershipsByCreatedBlockIdAverageUpdatedBlockIdAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - AgentGroupMembershipsByCreatedBlockIdAverageUpdatedBlockIdDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - AgentGroupMembershipsByCreatedBlockIdCountAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_COUNT_ASC', - AgentGroupMembershipsByCreatedBlockIdCountDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_COUNT_DESC', - AgentGroupMembershipsByCreatedBlockIdDistinctCountCreatedAtAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - AgentGroupMembershipsByCreatedBlockIdDistinctCountCreatedAtDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - AgentGroupMembershipsByCreatedBlockIdDistinctCountCreatedBlockIdAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - AgentGroupMembershipsByCreatedBlockIdDistinctCountCreatedBlockIdDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - AgentGroupMembershipsByCreatedBlockIdDistinctCountGroupIdAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_GROUP_ID_ASC', - AgentGroupMembershipsByCreatedBlockIdDistinctCountGroupIdDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_GROUP_ID_DESC', - AgentGroupMembershipsByCreatedBlockIdDistinctCountIdAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - AgentGroupMembershipsByCreatedBlockIdDistinctCountIdDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - AgentGroupMembershipsByCreatedBlockIdDistinctCountMemberAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_MEMBER_ASC', - AgentGroupMembershipsByCreatedBlockIdDistinctCountMemberDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_MEMBER_DESC', - AgentGroupMembershipsByCreatedBlockIdDistinctCountUpdatedAtAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - AgentGroupMembershipsByCreatedBlockIdDistinctCountUpdatedAtDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - AgentGroupMembershipsByCreatedBlockIdDistinctCountUpdatedBlockIdAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - AgentGroupMembershipsByCreatedBlockIdDistinctCountUpdatedBlockIdDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - AgentGroupMembershipsByCreatedBlockIdMaxCreatedAtAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_ASC', - AgentGroupMembershipsByCreatedBlockIdMaxCreatedAtDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_DESC', - AgentGroupMembershipsByCreatedBlockIdMaxCreatedBlockIdAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - AgentGroupMembershipsByCreatedBlockIdMaxCreatedBlockIdDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - AgentGroupMembershipsByCreatedBlockIdMaxGroupIdAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_MAX_GROUP_ID_ASC', - AgentGroupMembershipsByCreatedBlockIdMaxGroupIdDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_MAX_GROUP_ID_DESC', - AgentGroupMembershipsByCreatedBlockIdMaxIdAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_MAX_ID_ASC', - AgentGroupMembershipsByCreatedBlockIdMaxIdDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_MAX_ID_DESC', - AgentGroupMembershipsByCreatedBlockIdMaxMemberAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_MAX_MEMBER_ASC', - AgentGroupMembershipsByCreatedBlockIdMaxMemberDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_MAX_MEMBER_DESC', - AgentGroupMembershipsByCreatedBlockIdMaxUpdatedAtAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - AgentGroupMembershipsByCreatedBlockIdMaxUpdatedAtDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - AgentGroupMembershipsByCreatedBlockIdMaxUpdatedBlockIdAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - AgentGroupMembershipsByCreatedBlockIdMaxUpdatedBlockIdDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - AgentGroupMembershipsByCreatedBlockIdMinCreatedAtAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_ASC', - AgentGroupMembershipsByCreatedBlockIdMinCreatedAtDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_DESC', - AgentGroupMembershipsByCreatedBlockIdMinCreatedBlockIdAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - AgentGroupMembershipsByCreatedBlockIdMinCreatedBlockIdDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - AgentGroupMembershipsByCreatedBlockIdMinGroupIdAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_MIN_GROUP_ID_ASC', - AgentGroupMembershipsByCreatedBlockIdMinGroupIdDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_MIN_GROUP_ID_DESC', - AgentGroupMembershipsByCreatedBlockIdMinIdAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_MIN_ID_ASC', - AgentGroupMembershipsByCreatedBlockIdMinIdDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_MIN_ID_DESC', - AgentGroupMembershipsByCreatedBlockIdMinMemberAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_MIN_MEMBER_ASC', - AgentGroupMembershipsByCreatedBlockIdMinMemberDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_MIN_MEMBER_DESC', - AgentGroupMembershipsByCreatedBlockIdMinUpdatedAtAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - AgentGroupMembershipsByCreatedBlockIdMinUpdatedAtDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - AgentGroupMembershipsByCreatedBlockIdMinUpdatedBlockIdAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - AgentGroupMembershipsByCreatedBlockIdMinUpdatedBlockIdDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - AgentGroupMembershipsByCreatedBlockIdStddevPopulationCreatedAtAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - AgentGroupMembershipsByCreatedBlockIdStddevPopulationCreatedAtDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - AgentGroupMembershipsByCreatedBlockIdStddevPopulationCreatedBlockIdAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - AgentGroupMembershipsByCreatedBlockIdStddevPopulationCreatedBlockIdDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - AgentGroupMembershipsByCreatedBlockIdStddevPopulationGroupIdAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_GROUP_ID_ASC', - AgentGroupMembershipsByCreatedBlockIdStddevPopulationGroupIdDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_GROUP_ID_DESC', - AgentGroupMembershipsByCreatedBlockIdStddevPopulationIdAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - AgentGroupMembershipsByCreatedBlockIdStddevPopulationIdDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - AgentGroupMembershipsByCreatedBlockIdStddevPopulationMemberAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_MEMBER_ASC', - AgentGroupMembershipsByCreatedBlockIdStddevPopulationMemberDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_MEMBER_DESC', - AgentGroupMembershipsByCreatedBlockIdStddevPopulationUpdatedAtAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - AgentGroupMembershipsByCreatedBlockIdStddevPopulationUpdatedAtDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - AgentGroupMembershipsByCreatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - AgentGroupMembershipsByCreatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - AgentGroupMembershipsByCreatedBlockIdStddevSampleCreatedAtAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - AgentGroupMembershipsByCreatedBlockIdStddevSampleCreatedAtDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - AgentGroupMembershipsByCreatedBlockIdStddevSampleCreatedBlockIdAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - AgentGroupMembershipsByCreatedBlockIdStddevSampleCreatedBlockIdDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - AgentGroupMembershipsByCreatedBlockIdStddevSampleGroupIdAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_GROUP_ID_ASC', - AgentGroupMembershipsByCreatedBlockIdStddevSampleGroupIdDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_GROUP_ID_DESC', - AgentGroupMembershipsByCreatedBlockIdStddevSampleIdAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - AgentGroupMembershipsByCreatedBlockIdStddevSampleIdDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - AgentGroupMembershipsByCreatedBlockIdStddevSampleMemberAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_MEMBER_ASC', - AgentGroupMembershipsByCreatedBlockIdStddevSampleMemberDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_MEMBER_DESC', - AgentGroupMembershipsByCreatedBlockIdStddevSampleUpdatedAtAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - AgentGroupMembershipsByCreatedBlockIdStddevSampleUpdatedAtDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - AgentGroupMembershipsByCreatedBlockIdStddevSampleUpdatedBlockIdAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - AgentGroupMembershipsByCreatedBlockIdStddevSampleUpdatedBlockIdDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - AgentGroupMembershipsByCreatedBlockIdSumCreatedAtAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_ASC', - AgentGroupMembershipsByCreatedBlockIdSumCreatedAtDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_DESC', - AgentGroupMembershipsByCreatedBlockIdSumCreatedBlockIdAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - AgentGroupMembershipsByCreatedBlockIdSumCreatedBlockIdDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - AgentGroupMembershipsByCreatedBlockIdSumGroupIdAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_SUM_GROUP_ID_ASC', - AgentGroupMembershipsByCreatedBlockIdSumGroupIdDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_SUM_GROUP_ID_DESC', - AgentGroupMembershipsByCreatedBlockIdSumIdAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_SUM_ID_ASC', - AgentGroupMembershipsByCreatedBlockIdSumIdDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_SUM_ID_DESC', - AgentGroupMembershipsByCreatedBlockIdSumMemberAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_SUM_MEMBER_ASC', - AgentGroupMembershipsByCreatedBlockIdSumMemberDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_SUM_MEMBER_DESC', - AgentGroupMembershipsByCreatedBlockIdSumUpdatedAtAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - AgentGroupMembershipsByCreatedBlockIdSumUpdatedAtDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - AgentGroupMembershipsByCreatedBlockIdSumUpdatedBlockIdAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - AgentGroupMembershipsByCreatedBlockIdSumUpdatedBlockIdDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - AgentGroupMembershipsByCreatedBlockIdVariancePopulationCreatedAtAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - AgentGroupMembershipsByCreatedBlockIdVariancePopulationCreatedAtDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - AgentGroupMembershipsByCreatedBlockIdVariancePopulationCreatedBlockIdAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - AgentGroupMembershipsByCreatedBlockIdVariancePopulationCreatedBlockIdDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - AgentGroupMembershipsByCreatedBlockIdVariancePopulationGroupIdAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_GROUP_ID_ASC', - AgentGroupMembershipsByCreatedBlockIdVariancePopulationGroupIdDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_GROUP_ID_DESC', - AgentGroupMembershipsByCreatedBlockIdVariancePopulationIdAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - AgentGroupMembershipsByCreatedBlockIdVariancePopulationIdDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - AgentGroupMembershipsByCreatedBlockIdVariancePopulationMemberAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_MEMBER_ASC', - AgentGroupMembershipsByCreatedBlockIdVariancePopulationMemberDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_MEMBER_DESC', - AgentGroupMembershipsByCreatedBlockIdVariancePopulationUpdatedAtAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - AgentGroupMembershipsByCreatedBlockIdVariancePopulationUpdatedAtDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - AgentGroupMembershipsByCreatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - AgentGroupMembershipsByCreatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - AgentGroupMembershipsByCreatedBlockIdVarianceSampleCreatedAtAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - AgentGroupMembershipsByCreatedBlockIdVarianceSampleCreatedAtDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - AgentGroupMembershipsByCreatedBlockIdVarianceSampleCreatedBlockIdAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - AgentGroupMembershipsByCreatedBlockIdVarianceSampleCreatedBlockIdDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - AgentGroupMembershipsByCreatedBlockIdVarianceSampleGroupIdAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_GROUP_ID_ASC', - AgentGroupMembershipsByCreatedBlockIdVarianceSampleGroupIdDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_GROUP_ID_DESC', - AgentGroupMembershipsByCreatedBlockIdVarianceSampleIdAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - AgentGroupMembershipsByCreatedBlockIdVarianceSampleIdDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - AgentGroupMembershipsByCreatedBlockIdVarianceSampleMemberAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_MEMBER_ASC', - AgentGroupMembershipsByCreatedBlockIdVarianceSampleMemberDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_MEMBER_DESC', - AgentGroupMembershipsByCreatedBlockIdVarianceSampleUpdatedAtAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - AgentGroupMembershipsByCreatedBlockIdVarianceSampleUpdatedAtDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - AgentGroupMembershipsByCreatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - AgentGroupMembershipsByCreatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - AgentGroupMembershipsByUpdatedBlockIdAverageCreatedAtAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - AgentGroupMembershipsByUpdatedBlockIdAverageCreatedAtDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - AgentGroupMembershipsByUpdatedBlockIdAverageCreatedBlockIdAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - AgentGroupMembershipsByUpdatedBlockIdAverageCreatedBlockIdDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - AgentGroupMembershipsByUpdatedBlockIdAverageGroupIdAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_AVERAGE_GROUP_ID_ASC', - AgentGroupMembershipsByUpdatedBlockIdAverageGroupIdDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_AVERAGE_GROUP_ID_DESC', - AgentGroupMembershipsByUpdatedBlockIdAverageIdAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_ASC', - AgentGroupMembershipsByUpdatedBlockIdAverageIdDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_DESC', - AgentGroupMembershipsByUpdatedBlockIdAverageMemberAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_AVERAGE_MEMBER_ASC', - AgentGroupMembershipsByUpdatedBlockIdAverageMemberDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_AVERAGE_MEMBER_DESC', - AgentGroupMembershipsByUpdatedBlockIdAverageUpdatedAtAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - AgentGroupMembershipsByUpdatedBlockIdAverageUpdatedAtDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - AgentGroupMembershipsByUpdatedBlockIdAverageUpdatedBlockIdAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - AgentGroupMembershipsByUpdatedBlockIdAverageUpdatedBlockIdDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - AgentGroupMembershipsByUpdatedBlockIdCountAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_COUNT_ASC', - AgentGroupMembershipsByUpdatedBlockIdCountDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_COUNT_DESC', - AgentGroupMembershipsByUpdatedBlockIdDistinctCountCreatedAtAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - AgentGroupMembershipsByUpdatedBlockIdDistinctCountCreatedAtDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - AgentGroupMembershipsByUpdatedBlockIdDistinctCountCreatedBlockIdAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - AgentGroupMembershipsByUpdatedBlockIdDistinctCountCreatedBlockIdDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - AgentGroupMembershipsByUpdatedBlockIdDistinctCountGroupIdAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_GROUP_ID_ASC', - AgentGroupMembershipsByUpdatedBlockIdDistinctCountGroupIdDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_GROUP_ID_DESC', - AgentGroupMembershipsByUpdatedBlockIdDistinctCountIdAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - AgentGroupMembershipsByUpdatedBlockIdDistinctCountIdDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - AgentGroupMembershipsByUpdatedBlockIdDistinctCountMemberAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_MEMBER_ASC', - AgentGroupMembershipsByUpdatedBlockIdDistinctCountMemberDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_MEMBER_DESC', - AgentGroupMembershipsByUpdatedBlockIdDistinctCountUpdatedAtAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - AgentGroupMembershipsByUpdatedBlockIdDistinctCountUpdatedAtDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - AgentGroupMembershipsByUpdatedBlockIdDistinctCountUpdatedBlockIdAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - AgentGroupMembershipsByUpdatedBlockIdDistinctCountUpdatedBlockIdDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - AgentGroupMembershipsByUpdatedBlockIdMaxCreatedAtAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_ASC', - AgentGroupMembershipsByUpdatedBlockIdMaxCreatedAtDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_DESC', - AgentGroupMembershipsByUpdatedBlockIdMaxCreatedBlockIdAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - AgentGroupMembershipsByUpdatedBlockIdMaxCreatedBlockIdDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - AgentGroupMembershipsByUpdatedBlockIdMaxGroupIdAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_MAX_GROUP_ID_ASC', - AgentGroupMembershipsByUpdatedBlockIdMaxGroupIdDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_MAX_GROUP_ID_DESC', - AgentGroupMembershipsByUpdatedBlockIdMaxIdAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_MAX_ID_ASC', - AgentGroupMembershipsByUpdatedBlockIdMaxIdDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_MAX_ID_DESC', - AgentGroupMembershipsByUpdatedBlockIdMaxMemberAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_MAX_MEMBER_ASC', - AgentGroupMembershipsByUpdatedBlockIdMaxMemberDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_MAX_MEMBER_DESC', - AgentGroupMembershipsByUpdatedBlockIdMaxUpdatedAtAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - AgentGroupMembershipsByUpdatedBlockIdMaxUpdatedAtDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - AgentGroupMembershipsByUpdatedBlockIdMaxUpdatedBlockIdAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - AgentGroupMembershipsByUpdatedBlockIdMaxUpdatedBlockIdDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - AgentGroupMembershipsByUpdatedBlockIdMinCreatedAtAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_ASC', - AgentGroupMembershipsByUpdatedBlockIdMinCreatedAtDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_DESC', - AgentGroupMembershipsByUpdatedBlockIdMinCreatedBlockIdAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - AgentGroupMembershipsByUpdatedBlockIdMinCreatedBlockIdDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - AgentGroupMembershipsByUpdatedBlockIdMinGroupIdAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_MIN_GROUP_ID_ASC', - AgentGroupMembershipsByUpdatedBlockIdMinGroupIdDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_MIN_GROUP_ID_DESC', - AgentGroupMembershipsByUpdatedBlockIdMinIdAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_MIN_ID_ASC', - AgentGroupMembershipsByUpdatedBlockIdMinIdDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_MIN_ID_DESC', - AgentGroupMembershipsByUpdatedBlockIdMinMemberAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_MIN_MEMBER_ASC', - AgentGroupMembershipsByUpdatedBlockIdMinMemberDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_MIN_MEMBER_DESC', - AgentGroupMembershipsByUpdatedBlockIdMinUpdatedAtAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - AgentGroupMembershipsByUpdatedBlockIdMinUpdatedAtDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - AgentGroupMembershipsByUpdatedBlockIdMinUpdatedBlockIdAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - AgentGroupMembershipsByUpdatedBlockIdMinUpdatedBlockIdDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - AgentGroupMembershipsByUpdatedBlockIdStddevPopulationCreatedAtAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - AgentGroupMembershipsByUpdatedBlockIdStddevPopulationCreatedAtDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - AgentGroupMembershipsByUpdatedBlockIdStddevPopulationCreatedBlockIdAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - AgentGroupMembershipsByUpdatedBlockIdStddevPopulationCreatedBlockIdDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - AgentGroupMembershipsByUpdatedBlockIdStddevPopulationGroupIdAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_GROUP_ID_ASC', - AgentGroupMembershipsByUpdatedBlockIdStddevPopulationGroupIdDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_GROUP_ID_DESC', - AgentGroupMembershipsByUpdatedBlockIdStddevPopulationIdAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - AgentGroupMembershipsByUpdatedBlockIdStddevPopulationIdDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - AgentGroupMembershipsByUpdatedBlockIdStddevPopulationMemberAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_MEMBER_ASC', - AgentGroupMembershipsByUpdatedBlockIdStddevPopulationMemberDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_MEMBER_DESC', - AgentGroupMembershipsByUpdatedBlockIdStddevPopulationUpdatedAtAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - AgentGroupMembershipsByUpdatedBlockIdStddevPopulationUpdatedAtDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - AgentGroupMembershipsByUpdatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - AgentGroupMembershipsByUpdatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - AgentGroupMembershipsByUpdatedBlockIdStddevSampleCreatedAtAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - AgentGroupMembershipsByUpdatedBlockIdStddevSampleCreatedAtDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - AgentGroupMembershipsByUpdatedBlockIdStddevSampleCreatedBlockIdAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - AgentGroupMembershipsByUpdatedBlockIdStddevSampleCreatedBlockIdDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - AgentGroupMembershipsByUpdatedBlockIdStddevSampleGroupIdAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_GROUP_ID_ASC', - AgentGroupMembershipsByUpdatedBlockIdStddevSampleGroupIdDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_GROUP_ID_DESC', - AgentGroupMembershipsByUpdatedBlockIdStddevSampleIdAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - AgentGroupMembershipsByUpdatedBlockIdStddevSampleIdDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - AgentGroupMembershipsByUpdatedBlockIdStddevSampleMemberAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_MEMBER_ASC', - AgentGroupMembershipsByUpdatedBlockIdStddevSampleMemberDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_MEMBER_DESC', - AgentGroupMembershipsByUpdatedBlockIdStddevSampleUpdatedAtAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - AgentGroupMembershipsByUpdatedBlockIdStddevSampleUpdatedAtDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - AgentGroupMembershipsByUpdatedBlockIdStddevSampleUpdatedBlockIdAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - AgentGroupMembershipsByUpdatedBlockIdStddevSampleUpdatedBlockIdDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - AgentGroupMembershipsByUpdatedBlockIdSumCreatedAtAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_ASC', - AgentGroupMembershipsByUpdatedBlockIdSumCreatedAtDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_DESC', - AgentGroupMembershipsByUpdatedBlockIdSumCreatedBlockIdAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - AgentGroupMembershipsByUpdatedBlockIdSumCreatedBlockIdDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - AgentGroupMembershipsByUpdatedBlockIdSumGroupIdAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_SUM_GROUP_ID_ASC', - AgentGroupMembershipsByUpdatedBlockIdSumGroupIdDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_SUM_GROUP_ID_DESC', - AgentGroupMembershipsByUpdatedBlockIdSumIdAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_SUM_ID_ASC', - AgentGroupMembershipsByUpdatedBlockIdSumIdDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_SUM_ID_DESC', - AgentGroupMembershipsByUpdatedBlockIdSumMemberAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_SUM_MEMBER_ASC', - AgentGroupMembershipsByUpdatedBlockIdSumMemberDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_SUM_MEMBER_DESC', - AgentGroupMembershipsByUpdatedBlockIdSumUpdatedAtAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - AgentGroupMembershipsByUpdatedBlockIdSumUpdatedAtDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - AgentGroupMembershipsByUpdatedBlockIdSumUpdatedBlockIdAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - AgentGroupMembershipsByUpdatedBlockIdSumUpdatedBlockIdDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - AgentGroupMembershipsByUpdatedBlockIdVariancePopulationCreatedAtAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - AgentGroupMembershipsByUpdatedBlockIdVariancePopulationCreatedAtDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - AgentGroupMembershipsByUpdatedBlockIdVariancePopulationCreatedBlockIdAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - AgentGroupMembershipsByUpdatedBlockIdVariancePopulationCreatedBlockIdDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - AgentGroupMembershipsByUpdatedBlockIdVariancePopulationGroupIdAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_GROUP_ID_ASC', - AgentGroupMembershipsByUpdatedBlockIdVariancePopulationGroupIdDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_GROUP_ID_DESC', - AgentGroupMembershipsByUpdatedBlockIdVariancePopulationIdAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - AgentGroupMembershipsByUpdatedBlockIdVariancePopulationIdDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - AgentGroupMembershipsByUpdatedBlockIdVariancePopulationMemberAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_MEMBER_ASC', - AgentGroupMembershipsByUpdatedBlockIdVariancePopulationMemberDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_MEMBER_DESC', - AgentGroupMembershipsByUpdatedBlockIdVariancePopulationUpdatedAtAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - AgentGroupMembershipsByUpdatedBlockIdVariancePopulationUpdatedAtDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - AgentGroupMembershipsByUpdatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - AgentGroupMembershipsByUpdatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - AgentGroupMembershipsByUpdatedBlockIdVarianceSampleCreatedAtAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - AgentGroupMembershipsByUpdatedBlockIdVarianceSampleCreatedAtDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - AgentGroupMembershipsByUpdatedBlockIdVarianceSampleCreatedBlockIdAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - AgentGroupMembershipsByUpdatedBlockIdVarianceSampleCreatedBlockIdDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - AgentGroupMembershipsByUpdatedBlockIdVarianceSampleGroupIdAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_GROUP_ID_ASC', - AgentGroupMembershipsByUpdatedBlockIdVarianceSampleGroupIdDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_GROUP_ID_DESC', - AgentGroupMembershipsByUpdatedBlockIdVarianceSampleIdAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - AgentGroupMembershipsByUpdatedBlockIdVarianceSampleIdDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - AgentGroupMembershipsByUpdatedBlockIdVarianceSampleMemberAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_MEMBER_ASC', - AgentGroupMembershipsByUpdatedBlockIdVarianceSampleMemberDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_MEMBER_DESC', - AgentGroupMembershipsByUpdatedBlockIdVarianceSampleUpdatedAtAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - AgentGroupMembershipsByUpdatedBlockIdVarianceSampleUpdatedAtDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - AgentGroupMembershipsByUpdatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - AgentGroupMembershipsByUpdatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'AGENT_GROUP_MEMBERSHIPS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - AssetsByCreatedBlockIdAverageCreatedAtAsc = 'ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - AssetsByCreatedBlockIdAverageCreatedAtDesc = 'ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - AssetsByCreatedBlockIdAverageCreatedBlockIdAsc = 'ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - AssetsByCreatedBlockIdAverageCreatedBlockIdDesc = 'ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - AssetsByCreatedBlockIdAverageEventIdxAsc = 'ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_IDX_ASC', - AssetsByCreatedBlockIdAverageEventIdxDesc = 'ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_IDX_DESC', - AssetsByCreatedBlockIdAverageFundingRoundAsc = 'ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_FUNDING_ROUND_ASC', - AssetsByCreatedBlockIdAverageFundingRoundDesc = 'ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_FUNDING_ROUND_DESC', - AssetsByCreatedBlockIdAverageIdentifiersAsc = 'ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_IDENTIFIERS_ASC', - AssetsByCreatedBlockIdAverageIdentifiersDesc = 'ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_IDENTIFIERS_DESC', - AssetsByCreatedBlockIdAverageIdAsc = 'ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_ID_ASC', - AssetsByCreatedBlockIdAverageIdDesc = 'ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_ID_DESC', - AssetsByCreatedBlockIdAverageIsCompliancePausedAsc = 'ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_IS_COMPLIANCE_PAUSED_ASC', - AssetsByCreatedBlockIdAverageIsCompliancePausedDesc = 'ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_IS_COMPLIANCE_PAUSED_DESC', - AssetsByCreatedBlockIdAverageIsDivisibleAsc = 'ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_IS_DIVISIBLE_ASC', - AssetsByCreatedBlockIdAverageIsDivisibleDesc = 'ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_IS_DIVISIBLE_DESC', - AssetsByCreatedBlockIdAverageIsFrozenAsc = 'ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_IS_FROZEN_ASC', - AssetsByCreatedBlockIdAverageIsFrozenDesc = 'ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_IS_FROZEN_DESC', - AssetsByCreatedBlockIdAverageIsNftCollectionAsc = 'ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_IS_NFT_COLLECTION_ASC', - AssetsByCreatedBlockIdAverageIsNftCollectionDesc = 'ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_IS_NFT_COLLECTION_DESC', - AssetsByCreatedBlockIdAverageIsUniquenessRequiredAsc = 'ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_IS_UNIQUENESS_REQUIRED_ASC', - AssetsByCreatedBlockIdAverageIsUniquenessRequiredDesc = 'ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_IS_UNIQUENESS_REQUIRED_DESC', - AssetsByCreatedBlockIdAverageNameAsc = 'ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_NAME_ASC', - AssetsByCreatedBlockIdAverageNameDesc = 'ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_NAME_DESC', - AssetsByCreatedBlockIdAverageOwnerIdAsc = 'ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_OWNER_ID_ASC', - AssetsByCreatedBlockIdAverageOwnerIdDesc = 'ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_OWNER_ID_DESC', - AssetsByCreatedBlockIdAverageTickerAsc = 'ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_TICKER_ASC', - AssetsByCreatedBlockIdAverageTickerDesc = 'ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_TICKER_DESC', - AssetsByCreatedBlockIdAverageTotalSupplyAsc = 'ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_TOTAL_SUPPLY_ASC', - AssetsByCreatedBlockIdAverageTotalSupplyDesc = 'ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_TOTAL_SUPPLY_DESC', - AssetsByCreatedBlockIdAverageTotalTransfersAsc = 'ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_TOTAL_TRANSFERS_ASC', - AssetsByCreatedBlockIdAverageTotalTransfersDesc = 'ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_TOTAL_TRANSFERS_DESC', - AssetsByCreatedBlockIdAverageTypeAsc = 'ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_TYPE_ASC', - AssetsByCreatedBlockIdAverageTypeDesc = 'ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_TYPE_DESC', - AssetsByCreatedBlockIdAverageUpdatedAtAsc = 'ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - AssetsByCreatedBlockIdAverageUpdatedAtDesc = 'ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - AssetsByCreatedBlockIdAverageUpdatedBlockIdAsc = 'ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - AssetsByCreatedBlockIdAverageUpdatedBlockIdDesc = 'ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - AssetsByCreatedBlockIdCountAsc = 'ASSETS_BY_CREATED_BLOCK_ID_COUNT_ASC', - AssetsByCreatedBlockIdCountDesc = 'ASSETS_BY_CREATED_BLOCK_ID_COUNT_DESC', - AssetsByCreatedBlockIdDistinctCountCreatedAtAsc = 'ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - AssetsByCreatedBlockIdDistinctCountCreatedAtDesc = 'ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - AssetsByCreatedBlockIdDistinctCountCreatedBlockIdAsc = 'ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - AssetsByCreatedBlockIdDistinctCountCreatedBlockIdDesc = 'ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - AssetsByCreatedBlockIdDistinctCountEventIdxAsc = 'ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_ASC', - AssetsByCreatedBlockIdDistinctCountEventIdxDesc = 'ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_DESC', - AssetsByCreatedBlockIdDistinctCountFundingRoundAsc = 'ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_FUNDING_ROUND_ASC', - AssetsByCreatedBlockIdDistinctCountFundingRoundDesc = 'ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_FUNDING_ROUND_DESC', - AssetsByCreatedBlockIdDistinctCountIdentifiersAsc = 'ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_IDENTIFIERS_ASC', - AssetsByCreatedBlockIdDistinctCountIdentifiersDesc = 'ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_IDENTIFIERS_DESC', - AssetsByCreatedBlockIdDistinctCountIdAsc = 'ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - AssetsByCreatedBlockIdDistinctCountIdDesc = 'ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - AssetsByCreatedBlockIdDistinctCountIsCompliancePausedAsc = 'ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_IS_COMPLIANCE_PAUSED_ASC', - AssetsByCreatedBlockIdDistinctCountIsCompliancePausedDesc = 'ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_IS_COMPLIANCE_PAUSED_DESC', - AssetsByCreatedBlockIdDistinctCountIsDivisibleAsc = 'ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_IS_DIVISIBLE_ASC', - AssetsByCreatedBlockIdDistinctCountIsDivisibleDesc = 'ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_IS_DIVISIBLE_DESC', - AssetsByCreatedBlockIdDistinctCountIsFrozenAsc = 'ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_IS_FROZEN_ASC', - AssetsByCreatedBlockIdDistinctCountIsFrozenDesc = 'ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_IS_FROZEN_DESC', - AssetsByCreatedBlockIdDistinctCountIsNftCollectionAsc = 'ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_IS_NFT_COLLECTION_ASC', - AssetsByCreatedBlockIdDistinctCountIsNftCollectionDesc = 'ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_IS_NFT_COLLECTION_DESC', - AssetsByCreatedBlockIdDistinctCountIsUniquenessRequiredAsc = 'ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_IS_UNIQUENESS_REQUIRED_ASC', - AssetsByCreatedBlockIdDistinctCountIsUniquenessRequiredDesc = 'ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_IS_UNIQUENESS_REQUIRED_DESC', - AssetsByCreatedBlockIdDistinctCountNameAsc = 'ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_NAME_ASC', - AssetsByCreatedBlockIdDistinctCountNameDesc = 'ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_NAME_DESC', - AssetsByCreatedBlockIdDistinctCountOwnerIdAsc = 'ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_OWNER_ID_ASC', - AssetsByCreatedBlockIdDistinctCountOwnerIdDesc = 'ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_OWNER_ID_DESC', - AssetsByCreatedBlockIdDistinctCountTickerAsc = 'ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TICKER_ASC', - AssetsByCreatedBlockIdDistinctCountTickerDesc = 'ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TICKER_DESC', - AssetsByCreatedBlockIdDistinctCountTotalSupplyAsc = 'ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TOTAL_SUPPLY_ASC', - AssetsByCreatedBlockIdDistinctCountTotalSupplyDesc = 'ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TOTAL_SUPPLY_DESC', - AssetsByCreatedBlockIdDistinctCountTotalTransfersAsc = 'ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TOTAL_TRANSFERS_ASC', - AssetsByCreatedBlockIdDistinctCountTotalTransfersDesc = 'ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TOTAL_TRANSFERS_DESC', - AssetsByCreatedBlockIdDistinctCountTypeAsc = 'ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TYPE_ASC', - AssetsByCreatedBlockIdDistinctCountTypeDesc = 'ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TYPE_DESC', - AssetsByCreatedBlockIdDistinctCountUpdatedAtAsc = 'ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - AssetsByCreatedBlockIdDistinctCountUpdatedAtDesc = 'ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - AssetsByCreatedBlockIdDistinctCountUpdatedBlockIdAsc = 'ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - AssetsByCreatedBlockIdDistinctCountUpdatedBlockIdDesc = 'ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - AssetsByCreatedBlockIdMaxCreatedAtAsc = 'ASSETS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_ASC', - AssetsByCreatedBlockIdMaxCreatedAtDesc = 'ASSETS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_DESC', - AssetsByCreatedBlockIdMaxCreatedBlockIdAsc = 'ASSETS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - AssetsByCreatedBlockIdMaxCreatedBlockIdDesc = 'ASSETS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - AssetsByCreatedBlockIdMaxEventIdxAsc = 'ASSETS_BY_CREATED_BLOCK_ID_MAX_EVENT_IDX_ASC', - AssetsByCreatedBlockIdMaxEventIdxDesc = 'ASSETS_BY_CREATED_BLOCK_ID_MAX_EVENT_IDX_DESC', - AssetsByCreatedBlockIdMaxFundingRoundAsc = 'ASSETS_BY_CREATED_BLOCK_ID_MAX_FUNDING_ROUND_ASC', - AssetsByCreatedBlockIdMaxFundingRoundDesc = 'ASSETS_BY_CREATED_BLOCK_ID_MAX_FUNDING_ROUND_DESC', - AssetsByCreatedBlockIdMaxIdentifiersAsc = 'ASSETS_BY_CREATED_BLOCK_ID_MAX_IDENTIFIERS_ASC', - AssetsByCreatedBlockIdMaxIdentifiersDesc = 'ASSETS_BY_CREATED_BLOCK_ID_MAX_IDENTIFIERS_DESC', - AssetsByCreatedBlockIdMaxIdAsc = 'ASSETS_BY_CREATED_BLOCK_ID_MAX_ID_ASC', - AssetsByCreatedBlockIdMaxIdDesc = 'ASSETS_BY_CREATED_BLOCK_ID_MAX_ID_DESC', - AssetsByCreatedBlockIdMaxIsCompliancePausedAsc = 'ASSETS_BY_CREATED_BLOCK_ID_MAX_IS_COMPLIANCE_PAUSED_ASC', - AssetsByCreatedBlockIdMaxIsCompliancePausedDesc = 'ASSETS_BY_CREATED_BLOCK_ID_MAX_IS_COMPLIANCE_PAUSED_DESC', - AssetsByCreatedBlockIdMaxIsDivisibleAsc = 'ASSETS_BY_CREATED_BLOCK_ID_MAX_IS_DIVISIBLE_ASC', - AssetsByCreatedBlockIdMaxIsDivisibleDesc = 'ASSETS_BY_CREATED_BLOCK_ID_MAX_IS_DIVISIBLE_DESC', - AssetsByCreatedBlockIdMaxIsFrozenAsc = 'ASSETS_BY_CREATED_BLOCK_ID_MAX_IS_FROZEN_ASC', - AssetsByCreatedBlockIdMaxIsFrozenDesc = 'ASSETS_BY_CREATED_BLOCK_ID_MAX_IS_FROZEN_DESC', - AssetsByCreatedBlockIdMaxIsNftCollectionAsc = 'ASSETS_BY_CREATED_BLOCK_ID_MAX_IS_NFT_COLLECTION_ASC', - AssetsByCreatedBlockIdMaxIsNftCollectionDesc = 'ASSETS_BY_CREATED_BLOCK_ID_MAX_IS_NFT_COLLECTION_DESC', - AssetsByCreatedBlockIdMaxIsUniquenessRequiredAsc = 'ASSETS_BY_CREATED_BLOCK_ID_MAX_IS_UNIQUENESS_REQUIRED_ASC', - AssetsByCreatedBlockIdMaxIsUniquenessRequiredDesc = 'ASSETS_BY_CREATED_BLOCK_ID_MAX_IS_UNIQUENESS_REQUIRED_DESC', - AssetsByCreatedBlockIdMaxNameAsc = 'ASSETS_BY_CREATED_BLOCK_ID_MAX_NAME_ASC', - AssetsByCreatedBlockIdMaxNameDesc = 'ASSETS_BY_CREATED_BLOCK_ID_MAX_NAME_DESC', - AssetsByCreatedBlockIdMaxOwnerIdAsc = 'ASSETS_BY_CREATED_BLOCK_ID_MAX_OWNER_ID_ASC', - AssetsByCreatedBlockIdMaxOwnerIdDesc = 'ASSETS_BY_CREATED_BLOCK_ID_MAX_OWNER_ID_DESC', - AssetsByCreatedBlockIdMaxTickerAsc = 'ASSETS_BY_CREATED_BLOCK_ID_MAX_TICKER_ASC', - AssetsByCreatedBlockIdMaxTickerDesc = 'ASSETS_BY_CREATED_BLOCK_ID_MAX_TICKER_DESC', - AssetsByCreatedBlockIdMaxTotalSupplyAsc = 'ASSETS_BY_CREATED_BLOCK_ID_MAX_TOTAL_SUPPLY_ASC', - AssetsByCreatedBlockIdMaxTotalSupplyDesc = 'ASSETS_BY_CREATED_BLOCK_ID_MAX_TOTAL_SUPPLY_DESC', - AssetsByCreatedBlockIdMaxTotalTransfersAsc = 'ASSETS_BY_CREATED_BLOCK_ID_MAX_TOTAL_TRANSFERS_ASC', - AssetsByCreatedBlockIdMaxTotalTransfersDesc = 'ASSETS_BY_CREATED_BLOCK_ID_MAX_TOTAL_TRANSFERS_DESC', - AssetsByCreatedBlockIdMaxTypeAsc = 'ASSETS_BY_CREATED_BLOCK_ID_MAX_TYPE_ASC', - AssetsByCreatedBlockIdMaxTypeDesc = 'ASSETS_BY_CREATED_BLOCK_ID_MAX_TYPE_DESC', - AssetsByCreatedBlockIdMaxUpdatedAtAsc = 'ASSETS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - AssetsByCreatedBlockIdMaxUpdatedAtDesc = 'ASSETS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - AssetsByCreatedBlockIdMaxUpdatedBlockIdAsc = 'ASSETS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - AssetsByCreatedBlockIdMaxUpdatedBlockIdDesc = 'ASSETS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - AssetsByCreatedBlockIdMinCreatedAtAsc = 'ASSETS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_ASC', - AssetsByCreatedBlockIdMinCreatedAtDesc = 'ASSETS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_DESC', - AssetsByCreatedBlockIdMinCreatedBlockIdAsc = 'ASSETS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - AssetsByCreatedBlockIdMinCreatedBlockIdDesc = 'ASSETS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - AssetsByCreatedBlockIdMinEventIdxAsc = 'ASSETS_BY_CREATED_BLOCK_ID_MIN_EVENT_IDX_ASC', - AssetsByCreatedBlockIdMinEventIdxDesc = 'ASSETS_BY_CREATED_BLOCK_ID_MIN_EVENT_IDX_DESC', - AssetsByCreatedBlockIdMinFundingRoundAsc = 'ASSETS_BY_CREATED_BLOCK_ID_MIN_FUNDING_ROUND_ASC', - AssetsByCreatedBlockIdMinFundingRoundDesc = 'ASSETS_BY_CREATED_BLOCK_ID_MIN_FUNDING_ROUND_DESC', - AssetsByCreatedBlockIdMinIdentifiersAsc = 'ASSETS_BY_CREATED_BLOCK_ID_MIN_IDENTIFIERS_ASC', - AssetsByCreatedBlockIdMinIdentifiersDesc = 'ASSETS_BY_CREATED_BLOCK_ID_MIN_IDENTIFIERS_DESC', - AssetsByCreatedBlockIdMinIdAsc = 'ASSETS_BY_CREATED_BLOCK_ID_MIN_ID_ASC', - AssetsByCreatedBlockIdMinIdDesc = 'ASSETS_BY_CREATED_BLOCK_ID_MIN_ID_DESC', - AssetsByCreatedBlockIdMinIsCompliancePausedAsc = 'ASSETS_BY_CREATED_BLOCK_ID_MIN_IS_COMPLIANCE_PAUSED_ASC', - AssetsByCreatedBlockIdMinIsCompliancePausedDesc = 'ASSETS_BY_CREATED_BLOCK_ID_MIN_IS_COMPLIANCE_PAUSED_DESC', - AssetsByCreatedBlockIdMinIsDivisibleAsc = 'ASSETS_BY_CREATED_BLOCK_ID_MIN_IS_DIVISIBLE_ASC', - AssetsByCreatedBlockIdMinIsDivisibleDesc = 'ASSETS_BY_CREATED_BLOCK_ID_MIN_IS_DIVISIBLE_DESC', - AssetsByCreatedBlockIdMinIsFrozenAsc = 'ASSETS_BY_CREATED_BLOCK_ID_MIN_IS_FROZEN_ASC', - AssetsByCreatedBlockIdMinIsFrozenDesc = 'ASSETS_BY_CREATED_BLOCK_ID_MIN_IS_FROZEN_DESC', - AssetsByCreatedBlockIdMinIsNftCollectionAsc = 'ASSETS_BY_CREATED_BLOCK_ID_MIN_IS_NFT_COLLECTION_ASC', - AssetsByCreatedBlockIdMinIsNftCollectionDesc = 'ASSETS_BY_CREATED_BLOCK_ID_MIN_IS_NFT_COLLECTION_DESC', - AssetsByCreatedBlockIdMinIsUniquenessRequiredAsc = 'ASSETS_BY_CREATED_BLOCK_ID_MIN_IS_UNIQUENESS_REQUIRED_ASC', - AssetsByCreatedBlockIdMinIsUniquenessRequiredDesc = 'ASSETS_BY_CREATED_BLOCK_ID_MIN_IS_UNIQUENESS_REQUIRED_DESC', - AssetsByCreatedBlockIdMinNameAsc = 'ASSETS_BY_CREATED_BLOCK_ID_MIN_NAME_ASC', - AssetsByCreatedBlockIdMinNameDesc = 'ASSETS_BY_CREATED_BLOCK_ID_MIN_NAME_DESC', - AssetsByCreatedBlockIdMinOwnerIdAsc = 'ASSETS_BY_CREATED_BLOCK_ID_MIN_OWNER_ID_ASC', - AssetsByCreatedBlockIdMinOwnerIdDesc = 'ASSETS_BY_CREATED_BLOCK_ID_MIN_OWNER_ID_DESC', - AssetsByCreatedBlockIdMinTickerAsc = 'ASSETS_BY_CREATED_BLOCK_ID_MIN_TICKER_ASC', - AssetsByCreatedBlockIdMinTickerDesc = 'ASSETS_BY_CREATED_BLOCK_ID_MIN_TICKER_DESC', - AssetsByCreatedBlockIdMinTotalSupplyAsc = 'ASSETS_BY_CREATED_BLOCK_ID_MIN_TOTAL_SUPPLY_ASC', - AssetsByCreatedBlockIdMinTotalSupplyDesc = 'ASSETS_BY_CREATED_BLOCK_ID_MIN_TOTAL_SUPPLY_DESC', - AssetsByCreatedBlockIdMinTotalTransfersAsc = 'ASSETS_BY_CREATED_BLOCK_ID_MIN_TOTAL_TRANSFERS_ASC', - AssetsByCreatedBlockIdMinTotalTransfersDesc = 'ASSETS_BY_CREATED_BLOCK_ID_MIN_TOTAL_TRANSFERS_DESC', - AssetsByCreatedBlockIdMinTypeAsc = 'ASSETS_BY_CREATED_BLOCK_ID_MIN_TYPE_ASC', - AssetsByCreatedBlockIdMinTypeDesc = 'ASSETS_BY_CREATED_BLOCK_ID_MIN_TYPE_DESC', - AssetsByCreatedBlockIdMinUpdatedAtAsc = 'ASSETS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - AssetsByCreatedBlockIdMinUpdatedAtDesc = 'ASSETS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - AssetsByCreatedBlockIdMinUpdatedBlockIdAsc = 'ASSETS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - AssetsByCreatedBlockIdMinUpdatedBlockIdDesc = 'ASSETS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - AssetsByCreatedBlockIdStddevPopulationCreatedAtAsc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - AssetsByCreatedBlockIdStddevPopulationCreatedAtDesc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - AssetsByCreatedBlockIdStddevPopulationCreatedBlockIdAsc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - AssetsByCreatedBlockIdStddevPopulationCreatedBlockIdDesc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - AssetsByCreatedBlockIdStddevPopulationEventIdxAsc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_ASC', - AssetsByCreatedBlockIdStddevPopulationEventIdxDesc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_DESC', - AssetsByCreatedBlockIdStddevPopulationFundingRoundAsc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_FUNDING_ROUND_ASC', - AssetsByCreatedBlockIdStddevPopulationFundingRoundDesc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_FUNDING_ROUND_DESC', - AssetsByCreatedBlockIdStddevPopulationIdentifiersAsc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_IDENTIFIERS_ASC', - AssetsByCreatedBlockIdStddevPopulationIdentifiersDesc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_IDENTIFIERS_DESC', - AssetsByCreatedBlockIdStddevPopulationIdAsc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - AssetsByCreatedBlockIdStddevPopulationIdDesc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - AssetsByCreatedBlockIdStddevPopulationIsCompliancePausedAsc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_IS_COMPLIANCE_PAUSED_ASC', - AssetsByCreatedBlockIdStddevPopulationIsCompliancePausedDesc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_IS_COMPLIANCE_PAUSED_DESC', - AssetsByCreatedBlockIdStddevPopulationIsDivisibleAsc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_IS_DIVISIBLE_ASC', - AssetsByCreatedBlockIdStddevPopulationIsDivisibleDesc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_IS_DIVISIBLE_DESC', - AssetsByCreatedBlockIdStddevPopulationIsFrozenAsc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_IS_FROZEN_ASC', - AssetsByCreatedBlockIdStddevPopulationIsFrozenDesc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_IS_FROZEN_DESC', - AssetsByCreatedBlockIdStddevPopulationIsNftCollectionAsc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_IS_NFT_COLLECTION_ASC', - AssetsByCreatedBlockIdStddevPopulationIsNftCollectionDesc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_IS_NFT_COLLECTION_DESC', - AssetsByCreatedBlockIdStddevPopulationIsUniquenessRequiredAsc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_IS_UNIQUENESS_REQUIRED_ASC', - AssetsByCreatedBlockIdStddevPopulationIsUniquenessRequiredDesc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_IS_UNIQUENESS_REQUIRED_DESC', - AssetsByCreatedBlockIdStddevPopulationNameAsc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_NAME_ASC', - AssetsByCreatedBlockIdStddevPopulationNameDesc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_NAME_DESC', - AssetsByCreatedBlockIdStddevPopulationOwnerIdAsc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_OWNER_ID_ASC', - AssetsByCreatedBlockIdStddevPopulationOwnerIdDesc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_OWNER_ID_DESC', - AssetsByCreatedBlockIdStddevPopulationTickerAsc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TICKER_ASC', - AssetsByCreatedBlockIdStddevPopulationTickerDesc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TICKER_DESC', - AssetsByCreatedBlockIdStddevPopulationTotalSupplyAsc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TOTAL_SUPPLY_ASC', - AssetsByCreatedBlockIdStddevPopulationTotalSupplyDesc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TOTAL_SUPPLY_DESC', - AssetsByCreatedBlockIdStddevPopulationTotalTransfersAsc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TOTAL_TRANSFERS_ASC', - AssetsByCreatedBlockIdStddevPopulationTotalTransfersDesc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TOTAL_TRANSFERS_DESC', - AssetsByCreatedBlockIdStddevPopulationTypeAsc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TYPE_ASC', - AssetsByCreatedBlockIdStddevPopulationTypeDesc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TYPE_DESC', - AssetsByCreatedBlockIdStddevPopulationUpdatedAtAsc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - AssetsByCreatedBlockIdStddevPopulationUpdatedAtDesc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - AssetsByCreatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - AssetsByCreatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - AssetsByCreatedBlockIdStddevSampleCreatedAtAsc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - AssetsByCreatedBlockIdStddevSampleCreatedAtDesc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - AssetsByCreatedBlockIdStddevSampleCreatedBlockIdAsc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - AssetsByCreatedBlockIdStddevSampleCreatedBlockIdDesc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - AssetsByCreatedBlockIdStddevSampleEventIdxAsc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', - AssetsByCreatedBlockIdStddevSampleEventIdxDesc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', - AssetsByCreatedBlockIdStddevSampleFundingRoundAsc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_FUNDING_ROUND_ASC', - AssetsByCreatedBlockIdStddevSampleFundingRoundDesc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_FUNDING_ROUND_DESC', - AssetsByCreatedBlockIdStddevSampleIdentifiersAsc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_IDENTIFIERS_ASC', - AssetsByCreatedBlockIdStddevSampleIdentifiersDesc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_IDENTIFIERS_DESC', - AssetsByCreatedBlockIdStddevSampleIdAsc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - AssetsByCreatedBlockIdStddevSampleIdDesc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - AssetsByCreatedBlockIdStddevSampleIsCompliancePausedAsc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_IS_COMPLIANCE_PAUSED_ASC', - AssetsByCreatedBlockIdStddevSampleIsCompliancePausedDesc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_IS_COMPLIANCE_PAUSED_DESC', - AssetsByCreatedBlockIdStddevSampleIsDivisibleAsc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_IS_DIVISIBLE_ASC', - AssetsByCreatedBlockIdStddevSampleIsDivisibleDesc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_IS_DIVISIBLE_DESC', - AssetsByCreatedBlockIdStddevSampleIsFrozenAsc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_IS_FROZEN_ASC', - AssetsByCreatedBlockIdStddevSampleIsFrozenDesc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_IS_FROZEN_DESC', - AssetsByCreatedBlockIdStddevSampleIsNftCollectionAsc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_IS_NFT_COLLECTION_ASC', - AssetsByCreatedBlockIdStddevSampleIsNftCollectionDesc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_IS_NFT_COLLECTION_DESC', - AssetsByCreatedBlockIdStddevSampleIsUniquenessRequiredAsc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_IS_UNIQUENESS_REQUIRED_ASC', - AssetsByCreatedBlockIdStddevSampleIsUniquenessRequiredDesc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_IS_UNIQUENESS_REQUIRED_DESC', - AssetsByCreatedBlockIdStddevSampleNameAsc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_NAME_ASC', - AssetsByCreatedBlockIdStddevSampleNameDesc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_NAME_DESC', - AssetsByCreatedBlockIdStddevSampleOwnerIdAsc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_OWNER_ID_ASC', - AssetsByCreatedBlockIdStddevSampleOwnerIdDesc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_OWNER_ID_DESC', - AssetsByCreatedBlockIdStddevSampleTickerAsc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TICKER_ASC', - AssetsByCreatedBlockIdStddevSampleTickerDesc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TICKER_DESC', - AssetsByCreatedBlockIdStddevSampleTotalSupplyAsc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TOTAL_SUPPLY_ASC', - AssetsByCreatedBlockIdStddevSampleTotalSupplyDesc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TOTAL_SUPPLY_DESC', - AssetsByCreatedBlockIdStddevSampleTotalTransfersAsc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TOTAL_TRANSFERS_ASC', - AssetsByCreatedBlockIdStddevSampleTotalTransfersDesc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TOTAL_TRANSFERS_DESC', - AssetsByCreatedBlockIdStddevSampleTypeAsc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TYPE_ASC', - AssetsByCreatedBlockIdStddevSampleTypeDesc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TYPE_DESC', - AssetsByCreatedBlockIdStddevSampleUpdatedAtAsc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - AssetsByCreatedBlockIdStddevSampleUpdatedAtDesc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - AssetsByCreatedBlockIdStddevSampleUpdatedBlockIdAsc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - AssetsByCreatedBlockIdStddevSampleUpdatedBlockIdDesc = 'ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - AssetsByCreatedBlockIdSumCreatedAtAsc = 'ASSETS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_ASC', - AssetsByCreatedBlockIdSumCreatedAtDesc = 'ASSETS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_DESC', - AssetsByCreatedBlockIdSumCreatedBlockIdAsc = 'ASSETS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - AssetsByCreatedBlockIdSumCreatedBlockIdDesc = 'ASSETS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - AssetsByCreatedBlockIdSumEventIdxAsc = 'ASSETS_BY_CREATED_BLOCK_ID_SUM_EVENT_IDX_ASC', - AssetsByCreatedBlockIdSumEventIdxDesc = 'ASSETS_BY_CREATED_BLOCK_ID_SUM_EVENT_IDX_DESC', - AssetsByCreatedBlockIdSumFundingRoundAsc = 'ASSETS_BY_CREATED_BLOCK_ID_SUM_FUNDING_ROUND_ASC', - AssetsByCreatedBlockIdSumFundingRoundDesc = 'ASSETS_BY_CREATED_BLOCK_ID_SUM_FUNDING_ROUND_DESC', - AssetsByCreatedBlockIdSumIdentifiersAsc = 'ASSETS_BY_CREATED_BLOCK_ID_SUM_IDENTIFIERS_ASC', - AssetsByCreatedBlockIdSumIdentifiersDesc = 'ASSETS_BY_CREATED_BLOCK_ID_SUM_IDENTIFIERS_DESC', - AssetsByCreatedBlockIdSumIdAsc = 'ASSETS_BY_CREATED_BLOCK_ID_SUM_ID_ASC', - AssetsByCreatedBlockIdSumIdDesc = 'ASSETS_BY_CREATED_BLOCK_ID_SUM_ID_DESC', - AssetsByCreatedBlockIdSumIsCompliancePausedAsc = 'ASSETS_BY_CREATED_BLOCK_ID_SUM_IS_COMPLIANCE_PAUSED_ASC', - AssetsByCreatedBlockIdSumIsCompliancePausedDesc = 'ASSETS_BY_CREATED_BLOCK_ID_SUM_IS_COMPLIANCE_PAUSED_DESC', - AssetsByCreatedBlockIdSumIsDivisibleAsc = 'ASSETS_BY_CREATED_BLOCK_ID_SUM_IS_DIVISIBLE_ASC', - AssetsByCreatedBlockIdSumIsDivisibleDesc = 'ASSETS_BY_CREATED_BLOCK_ID_SUM_IS_DIVISIBLE_DESC', - AssetsByCreatedBlockIdSumIsFrozenAsc = 'ASSETS_BY_CREATED_BLOCK_ID_SUM_IS_FROZEN_ASC', - AssetsByCreatedBlockIdSumIsFrozenDesc = 'ASSETS_BY_CREATED_BLOCK_ID_SUM_IS_FROZEN_DESC', - AssetsByCreatedBlockIdSumIsNftCollectionAsc = 'ASSETS_BY_CREATED_BLOCK_ID_SUM_IS_NFT_COLLECTION_ASC', - AssetsByCreatedBlockIdSumIsNftCollectionDesc = 'ASSETS_BY_CREATED_BLOCK_ID_SUM_IS_NFT_COLLECTION_DESC', - AssetsByCreatedBlockIdSumIsUniquenessRequiredAsc = 'ASSETS_BY_CREATED_BLOCK_ID_SUM_IS_UNIQUENESS_REQUIRED_ASC', - AssetsByCreatedBlockIdSumIsUniquenessRequiredDesc = 'ASSETS_BY_CREATED_BLOCK_ID_SUM_IS_UNIQUENESS_REQUIRED_DESC', - AssetsByCreatedBlockIdSumNameAsc = 'ASSETS_BY_CREATED_BLOCK_ID_SUM_NAME_ASC', - AssetsByCreatedBlockIdSumNameDesc = 'ASSETS_BY_CREATED_BLOCK_ID_SUM_NAME_DESC', - AssetsByCreatedBlockIdSumOwnerIdAsc = 'ASSETS_BY_CREATED_BLOCK_ID_SUM_OWNER_ID_ASC', - AssetsByCreatedBlockIdSumOwnerIdDesc = 'ASSETS_BY_CREATED_BLOCK_ID_SUM_OWNER_ID_DESC', - AssetsByCreatedBlockIdSumTickerAsc = 'ASSETS_BY_CREATED_BLOCK_ID_SUM_TICKER_ASC', - AssetsByCreatedBlockIdSumTickerDesc = 'ASSETS_BY_CREATED_BLOCK_ID_SUM_TICKER_DESC', - AssetsByCreatedBlockIdSumTotalSupplyAsc = 'ASSETS_BY_CREATED_BLOCK_ID_SUM_TOTAL_SUPPLY_ASC', - AssetsByCreatedBlockIdSumTotalSupplyDesc = 'ASSETS_BY_CREATED_BLOCK_ID_SUM_TOTAL_SUPPLY_DESC', - AssetsByCreatedBlockIdSumTotalTransfersAsc = 'ASSETS_BY_CREATED_BLOCK_ID_SUM_TOTAL_TRANSFERS_ASC', - AssetsByCreatedBlockIdSumTotalTransfersDesc = 'ASSETS_BY_CREATED_BLOCK_ID_SUM_TOTAL_TRANSFERS_DESC', - AssetsByCreatedBlockIdSumTypeAsc = 'ASSETS_BY_CREATED_BLOCK_ID_SUM_TYPE_ASC', - AssetsByCreatedBlockIdSumTypeDesc = 'ASSETS_BY_CREATED_BLOCK_ID_SUM_TYPE_DESC', - AssetsByCreatedBlockIdSumUpdatedAtAsc = 'ASSETS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - AssetsByCreatedBlockIdSumUpdatedAtDesc = 'ASSETS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - AssetsByCreatedBlockIdSumUpdatedBlockIdAsc = 'ASSETS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - AssetsByCreatedBlockIdSumUpdatedBlockIdDesc = 'ASSETS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - AssetsByCreatedBlockIdVariancePopulationCreatedAtAsc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - AssetsByCreatedBlockIdVariancePopulationCreatedAtDesc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - AssetsByCreatedBlockIdVariancePopulationCreatedBlockIdAsc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - AssetsByCreatedBlockIdVariancePopulationCreatedBlockIdDesc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - AssetsByCreatedBlockIdVariancePopulationEventIdxAsc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', - AssetsByCreatedBlockIdVariancePopulationEventIdxDesc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', - AssetsByCreatedBlockIdVariancePopulationFundingRoundAsc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_FUNDING_ROUND_ASC', - AssetsByCreatedBlockIdVariancePopulationFundingRoundDesc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_FUNDING_ROUND_DESC', - AssetsByCreatedBlockIdVariancePopulationIdentifiersAsc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_IDENTIFIERS_ASC', - AssetsByCreatedBlockIdVariancePopulationIdentifiersDesc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_IDENTIFIERS_DESC', - AssetsByCreatedBlockIdVariancePopulationIdAsc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - AssetsByCreatedBlockIdVariancePopulationIdDesc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - AssetsByCreatedBlockIdVariancePopulationIsCompliancePausedAsc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_IS_COMPLIANCE_PAUSED_ASC', - AssetsByCreatedBlockIdVariancePopulationIsCompliancePausedDesc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_IS_COMPLIANCE_PAUSED_DESC', - AssetsByCreatedBlockIdVariancePopulationIsDivisibleAsc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_IS_DIVISIBLE_ASC', - AssetsByCreatedBlockIdVariancePopulationIsDivisibleDesc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_IS_DIVISIBLE_DESC', - AssetsByCreatedBlockIdVariancePopulationIsFrozenAsc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_IS_FROZEN_ASC', - AssetsByCreatedBlockIdVariancePopulationIsFrozenDesc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_IS_FROZEN_DESC', - AssetsByCreatedBlockIdVariancePopulationIsNftCollectionAsc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_IS_NFT_COLLECTION_ASC', - AssetsByCreatedBlockIdVariancePopulationIsNftCollectionDesc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_IS_NFT_COLLECTION_DESC', - AssetsByCreatedBlockIdVariancePopulationIsUniquenessRequiredAsc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_IS_UNIQUENESS_REQUIRED_ASC', - AssetsByCreatedBlockIdVariancePopulationIsUniquenessRequiredDesc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_IS_UNIQUENESS_REQUIRED_DESC', - AssetsByCreatedBlockIdVariancePopulationNameAsc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_NAME_ASC', - AssetsByCreatedBlockIdVariancePopulationNameDesc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_NAME_DESC', - AssetsByCreatedBlockIdVariancePopulationOwnerIdAsc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_OWNER_ID_ASC', - AssetsByCreatedBlockIdVariancePopulationOwnerIdDesc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_OWNER_ID_DESC', - AssetsByCreatedBlockIdVariancePopulationTickerAsc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TICKER_ASC', - AssetsByCreatedBlockIdVariancePopulationTickerDesc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TICKER_DESC', - AssetsByCreatedBlockIdVariancePopulationTotalSupplyAsc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TOTAL_SUPPLY_ASC', - AssetsByCreatedBlockIdVariancePopulationTotalSupplyDesc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TOTAL_SUPPLY_DESC', - AssetsByCreatedBlockIdVariancePopulationTotalTransfersAsc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TOTAL_TRANSFERS_ASC', - AssetsByCreatedBlockIdVariancePopulationTotalTransfersDesc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TOTAL_TRANSFERS_DESC', - AssetsByCreatedBlockIdVariancePopulationTypeAsc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TYPE_ASC', - AssetsByCreatedBlockIdVariancePopulationTypeDesc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TYPE_DESC', - AssetsByCreatedBlockIdVariancePopulationUpdatedAtAsc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - AssetsByCreatedBlockIdVariancePopulationUpdatedAtDesc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - AssetsByCreatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - AssetsByCreatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - AssetsByCreatedBlockIdVarianceSampleCreatedAtAsc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - AssetsByCreatedBlockIdVarianceSampleCreatedAtDesc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - AssetsByCreatedBlockIdVarianceSampleCreatedBlockIdAsc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - AssetsByCreatedBlockIdVarianceSampleCreatedBlockIdDesc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - AssetsByCreatedBlockIdVarianceSampleEventIdxAsc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', - AssetsByCreatedBlockIdVarianceSampleEventIdxDesc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', - AssetsByCreatedBlockIdVarianceSampleFundingRoundAsc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_FUNDING_ROUND_ASC', - AssetsByCreatedBlockIdVarianceSampleFundingRoundDesc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_FUNDING_ROUND_DESC', - AssetsByCreatedBlockIdVarianceSampleIdentifiersAsc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_IDENTIFIERS_ASC', - AssetsByCreatedBlockIdVarianceSampleIdentifiersDesc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_IDENTIFIERS_DESC', - AssetsByCreatedBlockIdVarianceSampleIdAsc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - AssetsByCreatedBlockIdVarianceSampleIdDesc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - AssetsByCreatedBlockIdVarianceSampleIsCompliancePausedAsc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_IS_COMPLIANCE_PAUSED_ASC', - AssetsByCreatedBlockIdVarianceSampleIsCompliancePausedDesc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_IS_COMPLIANCE_PAUSED_DESC', - AssetsByCreatedBlockIdVarianceSampleIsDivisibleAsc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_IS_DIVISIBLE_ASC', - AssetsByCreatedBlockIdVarianceSampleIsDivisibleDesc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_IS_DIVISIBLE_DESC', - AssetsByCreatedBlockIdVarianceSampleIsFrozenAsc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_IS_FROZEN_ASC', - AssetsByCreatedBlockIdVarianceSampleIsFrozenDesc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_IS_FROZEN_DESC', - AssetsByCreatedBlockIdVarianceSampleIsNftCollectionAsc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_IS_NFT_COLLECTION_ASC', - AssetsByCreatedBlockIdVarianceSampleIsNftCollectionDesc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_IS_NFT_COLLECTION_DESC', - AssetsByCreatedBlockIdVarianceSampleIsUniquenessRequiredAsc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_IS_UNIQUENESS_REQUIRED_ASC', - AssetsByCreatedBlockIdVarianceSampleIsUniquenessRequiredDesc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_IS_UNIQUENESS_REQUIRED_DESC', - AssetsByCreatedBlockIdVarianceSampleNameAsc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_NAME_ASC', - AssetsByCreatedBlockIdVarianceSampleNameDesc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_NAME_DESC', - AssetsByCreatedBlockIdVarianceSampleOwnerIdAsc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_OWNER_ID_ASC', - AssetsByCreatedBlockIdVarianceSampleOwnerIdDesc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_OWNER_ID_DESC', - AssetsByCreatedBlockIdVarianceSampleTickerAsc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TICKER_ASC', - AssetsByCreatedBlockIdVarianceSampleTickerDesc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TICKER_DESC', - AssetsByCreatedBlockIdVarianceSampleTotalSupplyAsc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TOTAL_SUPPLY_ASC', - AssetsByCreatedBlockIdVarianceSampleTotalSupplyDesc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TOTAL_SUPPLY_DESC', - AssetsByCreatedBlockIdVarianceSampleTotalTransfersAsc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TOTAL_TRANSFERS_ASC', - AssetsByCreatedBlockIdVarianceSampleTotalTransfersDesc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TOTAL_TRANSFERS_DESC', - AssetsByCreatedBlockIdVarianceSampleTypeAsc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TYPE_ASC', - AssetsByCreatedBlockIdVarianceSampleTypeDesc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TYPE_DESC', - AssetsByCreatedBlockIdVarianceSampleUpdatedAtAsc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - AssetsByCreatedBlockIdVarianceSampleUpdatedAtDesc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - AssetsByCreatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - AssetsByCreatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - AssetsByUpdatedBlockIdAverageCreatedAtAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - AssetsByUpdatedBlockIdAverageCreatedAtDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - AssetsByUpdatedBlockIdAverageCreatedBlockIdAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - AssetsByUpdatedBlockIdAverageCreatedBlockIdDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - AssetsByUpdatedBlockIdAverageEventIdxAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_IDX_ASC', - AssetsByUpdatedBlockIdAverageEventIdxDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_IDX_DESC', - AssetsByUpdatedBlockIdAverageFundingRoundAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_FUNDING_ROUND_ASC', - AssetsByUpdatedBlockIdAverageFundingRoundDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_FUNDING_ROUND_DESC', - AssetsByUpdatedBlockIdAverageIdentifiersAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_IDENTIFIERS_ASC', - AssetsByUpdatedBlockIdAverageIdentifiersDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_IDENTIFIERS_DESC', - AssetsByUpdatedBlockIdAverageIdAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_ASC', - AssetsByUpdatedBlockIdAverageIdDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_DESC', - AssetsByUpdatedBlockIdAverageIsCompliancePausedAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_IS_COMPLIANCE_PAUSED_ASC', - AssetsByUpdatedBlockIdAverageIsCompliancePausedDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_IS_COMPLIANCE_PAUSED_DESC', - AssetsByUpdatedBlockIdAverageIsDivisibleAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_IS_DIVISIBLE_ASC', - AssetsByUpdatedBlockIdAverageIsDivisibleDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_IS_DIVISIBLE_DESC', - AssetsByUpdatedBlockIdAverageIsFrozenAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_IS_FROZEN_ASC', - AssetsByUpdatedBlockIdAverageIsFrozenDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_IS_FROZEN_DESC', - AssetsByUpdatedBlockIdAverageIsNftCollectionAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_IS_NFT_COLLECTION_ASC', - AssetsByUpdatedBlockIdAverageIsNftCollectionDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_IS_NFT_COLLECTION_DESC', - AssetsByUpdatedBlockIdAverageIsUniquenessRequiredAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_IS_UNIQUENESS_REQUIRED_ASC', - AssetsByUpdatedBlockIdAverageIsUniquenessRequiredDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_IS_UNIQUENESS_REQUIRED_DESC', - AssetsByUpdatedBlockIdAverageNameAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_NAME_ASC', - AssetsByUpdatedBlockIdAverageNameDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_NAME_DESC', - AssetsByUpdatedBlockIdAverageOwnerIdAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_OWNER_ID_ASC', - AssetsByUpdatedBlockIdAverageOwnerIdDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_OWNER_ID_DESC', - AssetsByUpdatedBlockIdAverageTickerAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_TICKER_ASC', - AssetsByUpdatedBlockIdAverageTickerDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_TICKER_DESC', - AssetsByUpdatedBlockIdAverageTotalSupplyAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_TOTAL_SUPPLY_ASC', - AssetsByUpdatedBlockIdAverageTotalSupplyDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_TOTAL_SUPPLY_DESC', - AssetsByUpdatedBlockIdAverageTotalTransfersAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_TOTAL_TRANSFERS_ASC', - AssetsByUpdatedBlockIdAverageTotalTransfersDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_TOTAL_TRANSFERS_DESC', - AssetsByUpdatedBlockIdAverageTypeAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_TYPE_ASC', - AssetsByUpdatedBlockIdAverageTypeDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_TYPE_DESC', - AssetsByUpdatedBlockIdAverageUpdatedAtAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - AssetsByUpdatedBlockIdAverageUpdatedAtDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - AssetsByUpdatedBlockIdAverageUpdatedBlockIdAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - AssetsByUpdatedBlockIdAverageUpdatedBlockIdDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - AssetsByUpdatedBlockIdCountAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_COUNT_ASC', - AssetsByUpdatedBlockIdCountDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_COUNT_DESC', - AssetsByUpdatedBlockIdDistinctCountCreatedAtAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - AssetsByUpdatedBlockIdDistinctCountCreatedAtDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - AssetsByUpdatedBlockIdDistinctCountCreatedBlockIdAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - AssetsByUpdatedBlockIdDistinctCountCreatedBlockIdDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - AssetsByUpdatedBlockIdDistinctCountEventIdxAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_ASC', - AssetsByUpdatedBlockIdDistinctCountEventIdxDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_DESC', - AssetsByUpdatedBlockIdDistinctCountFundingRoundAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_FUNDING_ROUND_ASC', - AssetsByUpdatedBlockIdDistinctCountFundingRoundDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_FUNDING_ROUND_DESC', - AssetsByUpdatedBlockIdDistinctCountIdentifiersAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_IDENTIFIERS_ASC', - AssetsByUpdatedBlockIdDistinctCountIdentifiersDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_IDENTIFIERS_DESC', - AssetsByUpdatedBlockIdDistinctCountIdAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - AssetsByUpdatedBlockIdDistinctCountIdDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - AssetsByUpdatedBlockIdDistinctCountIsCompliancePausedAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_IS_COMPLIANCE_PAUSED_ASC', - AssetsByUpdatedBlockIdDistinctCountIsCompliancePausedDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_IS_COMPLIANCE_PAUSED_DESC', - AssetsByUpdatedBlockIdDistinctCountIsDivisibleAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_IS_DIVISIBLE_ASC', - AssetsByUpdatedBlockIdDistinctCountIsDivisibleDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_IS_DIVISIBLE_DESC', - AssetsByUpdatedBlockIdDistinctCountIsFrozenAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_IS_FROZEN_ASC', - AssetsByUpdatedBlockIdDistinctCountIsFrozenDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_IS_FROZEN_DESC', - AssetsByUpdatedBlockIdDistinctCountIsNftCollectionAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_IS_NFT_COLLECTION_ASC', - AssetsByUpdatedBlockIdDistinctCountIsNftCollectionDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_IS_NFT_COLLECTION_DESC', - AssetsByUpdatedBlockIdDistinctCountIsUniquenessRequiredAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_IS_UNIQUENESS_REQUIRED_ASC', - AssetsByUpdatedBlockIdDistinctCountIsUniquenessRequiredDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_IS_UNIQUENESS_REQUIRED_DESC', - AssetsByUpdatedBlockIdDistinctCountNameAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_NAME_ASC', - AssetsByUpdatedBlockIdDistinctCountNameDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_NAME_DESC', - AssetsByUpdatedBlockIdDistinctCountOwnerIdAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_OWNER_ID_ASC', - AssetsByUpdatedBlockIdDistinctCountOwnerIdDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_OWNER_ID_DESC', - AssetsByUpdatedBlockIdDistinctCountTickerAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TICKER_ASC', - AssetsByUpdatedBlockIdDistinctCountTickerDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TICKER_DESC', - AssetsByUpdatedBlockIdDistinctCountTotalSupplyAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TOTAL_SUPPLY_ASC', - AssetsByUpdatedBlockIdDistinctCountTotalSupplyDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TOTAL_SUPPLY_DESC', - AssetsByUpdatedBlockIdDistinctCountTotalTransfersAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TOTAL_TRANSFERS_ASC', - AssetsByUpdatedBlockIdDistinctCountTotalTransfersDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TOTAL_TRANSFERS_DESC', - AssetsByUpdatedBlockIdDistinctCountTypeAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TYPE_ASC', - AssetsByUpdatedBlockIdDistinctCountTypeDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TYPE_DESC', - AssetsByUpdatedBlockIdDistinctCountUpdatedAtAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - AssetsByUpdatedBlockIdDistinctCountUpdatedAtDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - AssetsByUpdatedBlockIdDistinctCountUpdatedBlockIdAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - AssetsByUpdatedBlockIdDistinctCountUpdatedBlockIdDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - AssetsByUpdatedBlockIdMaxCreatedAtAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_ASC', - AssetsByUpdatedBlockIdMaxCreatedAtDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_DESC', - AssetsByUpdatedBlockIdMaxCreatedBlockIdAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - AssetsByUpdatedBlockIdMaxCreatedBlockIdDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - AssetsByUpdatedBlockIdMaxEventIdxAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_MAX_EVENT_IDX_ASC', - AssetsByUpdatedBlockIdMaxEventIdxDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_MAX_EVENT_IDX_DESC', - AssetsByUpdatedBlockIdMaxFundingRoundAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_MAX_FUNDING_ROUND_ASC', - AssetsByUpdatedBlockIdMaxFundingRoundDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_MAX_FUNDING_ROUND_DESC', - AssetsByUpdatedBlockIdMaxIdentifiersAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_MAX_IDENTIFIERS_ASC', - AssetsByUpdatedBlockIdMaxIdentifiersDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_MAX_IDENTIFIERS_DESC', - AssetsByUpdatedBlockIdMaxIdAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_MAX_ID_ASC', - AssetsByUpdatedBlockIdMaxIdDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_MAX_ID_DESC', - AssetsByUpdatedBlockIdMaxIsCompliancePausedAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_MAX_IS_COMPLIANCE_PAUSED_ASC', - AssetsByUpdatedBlockIdMaxIsCompliancePausedDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_MAX_IS_COMPLIANCE_PAUSED_DESC', - AssetsByUpdatedBlockIdMaxIsDivisibleAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_MAX_IS_DIVISIBLE_ASC', - AssetsByUpdatedBlockIdMaxIsDivisibleDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_MAX_IS_DIVISIBLE_DESC', - AssetsByUpdatedBlockIdMaxIsFrozenAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_MAX_IS_FROZEN_ASC', - AssetsByUpdatedBlockIdMaxIsFrozenDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_MAX_IS_FROZEN_DESC', - AssetsByUpdatedBlockIdMaxIsNftCollectionAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_MAX_IS_NFT_COLLECTION_ASC', - AssetsByUpdatedBlockIdMaxIsNftCollectionDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_MAX_IS_NFT_COLLECTION_DESC', - AssetsByUpdatedBlockIdMaxIsUniquenessRequiredAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_MAX_IS_UNIQUENESS_REQUIRED_ASC', - AssetsByUpdatedBlockIdMaxIsUniquenessRequiredDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_MAX_IS_UNIQUENESS_REQUIRED_DESC', - AssetsByUpdatedBlockIdMaxNameAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_MAX_NAME_ASC', - AssetsByUpdatedBlockIdMaxNameDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_MAX_NAME_DESC', - AssetsByUpdatedBlockIdMaxOwnerIdAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_MAX_OWNER_ID_ASC', - AssetsByUpdatedBlockIdMaxOwnerIdDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_MAX_OWNER_ID_DESC', - AssetsByUpdatedBlockIdMaxTickerAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_MAX_TICKER_ASC', - AssetsByUpdatedBlockIdMaxTickerDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_MAX_TICKER_DESC', - AssetsByUpdatedBlockIdMaxTotalSupplyAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_MAX_TOTAL_SUPPLY_ASC', - AssetsByUpdatedBlockIdMaxTotalSupplyDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_MAX_TOTAL_SUPPLY_DESC', - AssetsByUpdatedBlockIdMaxTotalTransfersAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_MAX_TOTAL_TRANSFERS_ASC', - AssetsByUpdatedBlockIdMaxTotalTransfersDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_MAX_TOTAL_TRANSFERS_DESC', - AssetsByUpdatedBlockIdMaxTypeAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_MAX_TYPE_ASC', - AssetsByUpdatedBlockIdMaxTypeDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_MAX_TYPE_DESC', - AssetsByUpdatedBlockIdMaxUpdatedAtAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - AssetsByUpdatedBlockIdMaxUpdatedAtDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - AssetsByUpdatedBlockIdMaxUpdatedBlockIdAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - AssetsByUpdatedBlockIdMaxUpdatedBlockIdDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - AssetsByUpdatedBlockIdMinCreatedAtAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_ASC', - AssetsByUpdatedBlockIdMinCreatedAtDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_DESC', - AssetsByUpdatedBlockIdMinCreatedBlockIdAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - AssetsByUpdatedBlockIdMinCreatedBlockIdDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - AssetsByUpdatedBlockIdMinEventIdxAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_MIN_EVENT_IDX_ASC', - AssetsByUpdatedBlockIdMinEventIdxDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_MIN_EVENT_IDX_DESC', - AssetsByUpdatedBlockIdMinFundingRoundAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_MIN_FUNDING_ROUND_ASC', - AssetsByUpdatedBlockIdMinFundingRoundDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_MIN_FUNDING_ROUND_DESC', - AssetsByUpdatedBlockIdMinIdentifiersAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_MIN_IDENTIFIERS_ASC', - AssetsByUpdatedBlockIdMinIdentifiersDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_MIN_IDENTIFIERS_DESC', - AssetsByUpdatedBlockIdMinIdAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_MIN_ID_ASC', - AssetsByUpdatedBlockIdMinIdDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_MIN_ID_DESC', - AssetsByUpdatedBlockIdMinIsCompliancePausedAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_MIN_IS_COMPLIANCE_PAUSED_ASC', - AssetsByUpdatedBlockIdMinIsCompliancePausedDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_MIN_IS_COMPLIANCE_PAUSED_DESC', - AssetsByUpdatedBlockIdMinIsDivisibleAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_MIN_IS_DIVISIBLE_ASC', - AssetsByUpdatedBlockIdMinIsDivisibleDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_MIN_IS_DIVISIBLE_DESC', - AssetsByUpdatedBlockIdMinIsFrozenAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_MIN_IS_FROZEN_ASC', - AssetsByUpdatedBlockIdMinIsFrozenDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_MIN_IS_FROZEN_DESC', - AssetsByUpdatedBlockIdMinIsNftCollectionAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_MIN_IS_NFT_COLLECTION_ASC', - AssetsByUpdatedBlockIdMinIsNftCollectionDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_MIN_IS_NFT_COLLECTION_DESC', - AssetsByUpdatedBlockIdMinIsUniquenessRequiredAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_MIN_IS_UNIQUENESS_REQUIRED_ASC', - AssetsByUpdatedBlockIdMinIsUniquenessRequiredDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_MIN_IS_UNIQUENESS_REQUIRED_DESC', - AssetsByUpdatedBlockIdMinNameAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_MIN_NAME_ASC', - AssetsByUpdatedBlockIdMinNameDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_MIN_NAME_DESC', - AssetsByUpdatedBlockIdMinOwnerIdAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_MIN_OWNER_ID_ASC', - AssetsByUpdatedBlockIdMinOwnerIdDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_MIN_OWNER_ID_DESC', - AssetsByUpdatedBlockIdMinTickerAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_MIN_TICKER_ASC', - AssetsByUpdatedBlockIdMinTickerDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_MIN_TICKER_DESC', - AssetsByUpdatedBlockIdMinTotalSupplyAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_MIN_TOTAL_SUPPLY_ASC', - AssetsByUpdatedBlockIdMinTotalSupplyDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_MIN_TOTAL_SUPPLY_DESC', - AssetsByUpdatedBlockIdMinTotalTransfersAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_MIN_TOTAL_TRANSFERS_ASC', - AssetsByUpdatedBlockIdMinTotalTransfersDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_MIN_TOTAL_TRANSFERS_DESC', - AssetsByUpdatedBlockIdMinTypeAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_MIN_TYPE_ASC', - AssetsByUpdatedBlockIdMinTypeDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_MIN_TYPE_DESC', - AssetsByUpdatedBlockIdMinUpdatedAtAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - AssetsByUpdatedBlockIdMinUpdatedAtDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - AssetsByUpdatedBlockIdMinUpdatedBlockIdAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - AssetsByUpdatedBlockIdMinUpdatedBlockIdDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - AssetsByUpdatedBlockIdStddevPopulationCreatedAtAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - AssetsByUpdatedBlockIdStddevPopulationCreatedAtDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - AssetsByUpdatedBlockIdStddevPopulationCreatedBlockIdAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - AssetsByUpdatedBlockIdStddevPopulationCreatedBlockIdDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - AssetsByUpdatedBlockIdStddevPopulationEventIdxAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_ASC', - AssetsByUpdatedBlockIdStddevPopulationEventIdxDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_DESC', - AssetsByUpdatedBlockIdStddevPopulationFundingRoundAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_FUNDING_ROUND_ASC', - AssetsByUpdatedBlockIdStddevPopulationFundingRoundDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_FUNDING_ROUND_DESC', - AssetsByUpdatedBlockIdStddevPopulationIdentifiersAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_IDENTIFIERS_ASC', - AssetsByUpdatedBlockIdStddevPopulationIdentifiersDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_IDENTIFIERS_DESC', - AssetsByUpdatedBlockIdStddevPopulationIdAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - AssetsByUpdatedBlockIdStddevPopulationIdDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - AssetsByUpdatedBlockIdStddevPopulationIsCompliancePausedAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_IS_COMPLIANCE_PAUSED_ASC', - AssetsByUpdatedBlockIdStddevPopulationIsCompliancePausedDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_IS_COMPLIANCE_PAUSED_DESC', - AssetsByUpdatedBlockIdStddevPopulationIsDivisibleAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_IS_DIVISIBLE_ASC', - AssetsByUpdatedBlockIdStddevPopulationIsDivisibleDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_IS_DIVISIBLE_DESC', - AssetsByUpdatedBlockIdStddevPopulationIsFrozenAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_IS_FROZEN_ASC', - AssetsByUpdatedBlockIdStddevPopulationIsFrozenDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_IS_FROZEN_DESC', - AssetsByUpdatedBlockIdStddevPopulationIsNftCollectionAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_IS_NFT_COLLECTION_ASC', - AssetsByUpdatedBlockIdStddevPopulationIsNftCollectionDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_IS_NFT_COLLECTION_DESC', - AssetsByUpdatedBlockIdStddevPopulationIsUniquenessRequiredAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_IS_UNIQUENESS_REQUIRED_ASC', - AssetsByUpdatedBlockIdStddevPopulationIsUniquenessRequiredDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_IS_UNIQUENESS_REQUIRED_DESC', - AssetsByUpdatedBlockIdStddevPopulationNameAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_NAME_ASC', - AssetsByUpdatedBlockIdStddevPopulationNameDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_NAME_DESC', - AssetsByUpdatedBlockIdStddevPopulationOwnerIdAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_OWNER_ID_ASC', - AssetsByUpdatedBlockIdStddevPopulationOwnerIdDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_OWNER_ID_DESC', - AssetsByUpdatedBlockIdStddevPopulationTickerAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TICKER_ASC', - AssetsByUpdatedBlockIdStddevPopulationTickerDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TICKER_DESC', - AssetsByUpdatedBlockIdStddevPopulationTotalSupplyAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TOTAL_SUPPLY_ASC', - AssetsByUpdatedBlockIdStddevPopulationTotalSupplyDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TOTAL_SUPPLY_DESC', - AssetsByUpdatedBlockIdStddevPopulationTotalTransfersAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TOTAL_TRANSFERS_ASC', - AssetsByUpdatedBlockIdStddevPopulationTotalTransfersDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TOTAL_TRANSFERS_DESC', - AssetsByUpdatedBlockIdStddevPopulationTypeAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TYPE_ASC', - AssetsByUpdatedBlockIdStddevPopulationTypeDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TYPE_DESC', - AssetsByUpdatedBlockIdStddevPopulationUpdatedAtAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - AssetsByUpdatedBlockIdStddevPopulationUpdatedAtDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - AssetsByUpdatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - AssetsByUpdatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - AssetsByUpdatedBlockIdStddevSampleCreatedAtAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - AssetsByUpdatedBlockIdStddevSampleCreatedAtDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - AssetsByUpdatedBlockIdStddevSampleCreatedBlockIdAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - AssetsByUpdatedBlockIdStddevSampleCreatedBlockIdDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - AssetsByUpdatedBlockIdStddevSampleEventIdxAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', - AssetsByUpdatedBlockIdStddevSampleEventIdxDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', - AssetsByUpdatedBlockIdStddevSampleFundingRoundAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_FUNDING_ROUND_ASC', - AssetsByUpdatedBlockIdStddevSampleFundingRoundDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_FUNDING_ROUND_DESC', - AssetsByUpdatedBlockIdStddevSampleIdentifiersAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_IDENTIFIERS_ASC', - AssetsByUpdatedBlockIdStddevSampleIdentifiersDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_IDENTIFIERS_DESC', - AssetsByUpdatedBlockIdStddevSampleIdAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - AssetsByUpdatedBlockIdStddevSampleIdDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - AssetsByUpdatedBlockIdStddevSampleIsCompliancePausedAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_IS_COMPLIANCE_PAUSED_ASC', - AssetsByUpdatedBlockIdStddevSampleIsCompliancePausedDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_IS_COMPLIANCE_PAUSED_DESC', - AssetsByUpdatedBlockIdStddevSampleIsDivisibleAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_IS_DIVISIBLE_ASC', - AssetsByUpdatedBlockIdStddevSampleIsDivisibleDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_IS_DIVISIBLE_DESC', - AssetsByUpdatedBlockIdStddevSampleIsFrozenAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_IS_FROZEN_ASC', - AssetsByUpdatedBlockIdStddevSampleIsFrozenDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_IS_FROZEN_DESC', - AssetsByUpdatedBlockIdStddevSampleIsNftCollectionAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_IS_NFT_COLLECTION_ASC', - AssetsByUpdatedBlockIdStddevSampleIsNftCollectionDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_IS_NFT_COLLECTION_DESC', - AssetsByUpdatedBlockIdStddevSampleIsUniquenessRequiredAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_IS_UNIQUENESS_REQUIRED_ASC', - AssetsByUpdatedBlockIdStddevSampleIsUniquenessRequiredDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_IS_UNIQUENESS_REQUIRED_DESC', - AssetsByUpdatedBlockIdStddevSampleNameAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_NAME_ASC', - AssetsByUpdatedBlockIdStddevSampleNameDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_NAME_DESC', - AssetsByUpdatedBlockIdStddevSampleOwnerIdAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_OWNER_ID_ASC', - AssetsByUpdatedBlockIdStddevSampleOwnerIdDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_OWNER_ID_DESC', - AssetsByUpdatedBlockIdStddevSampleTickerAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TICKER_ASC', - AssetsByUpdatedBlockIdStddevSampleTickerDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TICKER_DESC', - AssetsByUpdatedBlockIdStddevSampleTotalSupplyAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TOTAL_SUPPLY_ASC', - AssetsByUpdatedBlockIdStddevSampleTotalSupplyDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TOTAL_SUPPLY_DESC', - AssetsByUpdatedBlockIdStddevSampleTotalTransfersAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TOTAL_TRANSFERS_ASC', - AssetsByUpdatedBlockIdStddevSampleTotalTransfersDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TOTAL_TRANSFERS_DESC', - AssetsByUpdatedBlockIdStddevSampleTypeAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TYPE_ASC', - AssetsByUpdatedBlockIdStddevSampleTypeDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TYPE_DESC', - AssetsByUpdatedBlockIdStddevSampleUpdatedAtAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - AssetsByUpdatedBlockIdStddevSampleUpdatedAtDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - AssetsByUpdatedBlockIdStddevSampleUpdatedBlockIdAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - AssetsByUpdatedBlockIdStddevSampleUpdatedBlockIdDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - AssetsByUpdatedBlockIdSumCreatedAtAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_ASC', - AssetsByUpdatedBlockIdSumCreatedAtDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_DESC', - AssetsByUpdatedBlockIdSumCreatedBlockIdAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - AssetsByUpdatedBlockIdSumCreatedBlockIdDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - AssetsByUpdatedBlockIdSumEventIdxAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_SUM_EVENT_IDX_ASC', - AssetsByUpdatedBlockIdSumEventIdxDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_SUM_EVENT_IDX_DESC', - AssetsByUpdatedBlockIdSumFundingRoundAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_SUM_FUNDING_ROUND_ASC', - AssetsByUpdatedBlockIdSumFundingRoundDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_SUM_FUNDING_ROUND_DESC', - AssetsByUpdatedBlockIdSumIdentifiersAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_SUM_IDENTIFIERS_ASC', - AssetsByUpdatedBlockIdSumIdentifiersDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_SUM_IDENTIFIERS_DESC', - AssetsByUpdatedBlockIdSumIdAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_SUM_ID_ASC', - AssetsByUpdatedBlockIdSumIdDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_SUM_ID_DESC', - AssetsByUpdatedBlockIdSumIsCompliancePausedAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_SUM_IS_COMPLIANCE_PAUSED_ASC', - AssetsByUpdatedBlockIdSumIsCompliancePausedDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_SUM_IS_COMPLIANCE_PAUSED_DESC', - AssetsByUpdatedBlockIdSumIsDivisibleAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_SUM_IS_DIVISIBLE_ASC', - AssetsByUpdatedBlockIdSumIsDivisibleDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_SUM_IS_DIVISIBLE_DESC', - AssetsByUpdatedBlockIdSumIsFrozenAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_SUM_IS_FROZEN_ASC', - AssetsByUpdatedBlockIdSumIsFrozenDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_SUM_IS_FROZEN_DESC', - AssetsByUpdatedBlockIdSumIsNftCollectionAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_SUM_IS_NFT_COLLECTION_ASC', - AssetsByUpdatedBlockIdSumIsNftCollectionDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_SUM_IS_NFT_COLLECTION_DESC', - AssetsByUpdatedBlockIdSumIsUniquenessRequiredAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_SUM_IS_UNIQUENESS_REQUIRED_ASC', - AssetsByUpdatedBlockIdSumIsUniquenessRequiredDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_SUM_IS_UNIQUENESS_REQUIRED_DESC', - AssetsByUpdatedBlockIdSumNameAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_SUM_NAME_ASC', - AssetsByUpdatedBlockIdSumNameDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_SUM_NAME_DESC', - AssetsByUpdatedBlockIdSumOwnerIdAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_SUM_OWNER_ID_ASC', - AssetsByUpdatedBlockIdSumOwnerIdDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_SUM_OWNER_ID_DESC', - AssetsByUpdatedBlockIdSumTickerAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_SUM_TICKER_ASC', - AssetsByUpdatedBlockIdSumTickerDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_SUM_TICKER_DESC', - AssetsByUpdatedBlockIdSumTotalSupplyAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_SUM_TOTAL_SUPPLY_ASC', - AssetsByUpdatedBlockIdSumTotalSupplyDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_SUM_TOTAL_SUPPLY_DESC', - AssetsByUpdatedBlockIdSumTotalTransfersAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_SUM_TOTAL_TRANSFERS_ASC', - AssetsByUpdatedBlockIdSumTotalTransfersDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_SUM_TOTAL_TRANSFERS_DESC', - AssetsByUpdatedBlockIdSumTypeAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_SUM_TYPE_ASC', - AssetsByUpdatedBlockIdSumTypeDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_SUM_TYPE_DESC', - AssetsByUpdatedBlockIdSumUpdatedAtAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - AssetsByUpdatedBlockIdSumUpdatedAtDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - AssetsByUpdatedBlockIdSumUpdatedBlockIdAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - AssetsByUpdatedBlockIdSumUpdatedBlockIdDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - AssetsByUpdatedBlockIdVariancePopulationCreatedAtAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - AssetsByUpdatedBlockIdVariancePopulationCreatedAtDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - AssetsByUpdatedBlockIdVariancePopulationCreatedBlockIdAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - AssetsByUpdatedBlockIdVariancePopulationCreatedBlockIdDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - AssetsByUpdatedBlockIdVariancePopulationEventIdxAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', - AssetsByUpdatedBlockIdVariancePopulationEventIdxDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', - AssetsByUpdatedBlockIdVariancePopulationFundingRoundAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_FUNDING_ROUND_ASC', - AssetsByUpdatedBlockIdVariancePopulationFundingRoundDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_FUNDING_ROUND_DESC', - AssetsByUpdatedBlockIdVariancePopulationIdentifiersAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_IDENTIFIERS_ASC', - AssetsByUpdatedBlockIdVariancePopulationIdentifiersDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_IDENTIFIERS_DESC', - AssetsByUpdatedBlockIdVariancePopulationIdAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - AssetsByUpdatedBlockIdVariancePopulationIdDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - AssetsByUpdatedBlockIdVariancePopulationIsCompliancePausedAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_IS_COMPLIANCE_PAUSED_ASC', - AssetsByUpdatedBlockIdVariancePopulationIsCompliancePausedDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_IS_COMPLIANCE_PAUSED_DESC', - AssetsByUpdatedBlockIdVariancePopulationIsDivisibleAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_IS_DIVISIBLE_ASC', - AssetsByUpdatedBlockIdVariancePopulationIsDivisibleDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_IS_DIVISIBLE_DESC', - AssetsByUpdatedBlockIdVariancePopulationIsFrozenAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_IS_FROZEN_ASC', - AssetsByUpdatedBlockIdVariancePopulationIsFrozenDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_IS_FROZEN_DESC', - AssetsByUpdatedBlockIdVariancePopulationIsNftCollectionAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_IS_NFT_COLLECTION_ASC', - AssetsByUpdatedBlockIdVariancePopulationIsNftCollectionDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_IS_NFT_COLLECTION_DESC', - AssetsByUpdatedBlockIdVariancePopulationIsUniquenessRequiredAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_IS_UNIQUENESS_REQUIRED_ASC', - AssetsByUpdatedBlockIdVariancePopulationIsUniquenessRequiredDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_IS_UNIQUENESS_REQUIRED_DESC', - AssetsByUpdatedBlockIdVariancePopulationNameAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_NAME_ASC', - AssetsByUpdatedBlockIdVariancePopulationNameDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_NAME_DESC', - AssetsByUpdatedBlockIdVariancePopulationOwnerIdAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_OWNER_ID_ASC', - AssetsByUpdatedBlockIdVariancePopulationOwnerIdDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_OWNER_ID_DESC', - AssetsByUpdatedBlockIdVariancePopulationTickerAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TICKER_ASC', - AssetsByUpdatedBlockIdVariancePopulationTickerDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TICKER_DESC', - AssetsByUpdatedBlockIdVariancePopulationTotalSupplyAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TOTAL_SUPPLY_ASC', - AssetsByUpdatedBlockIdVariancePopulationTotalSupplyDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TOTAL_SUPPLY_DESC', - AssetsByUpdatedBlockIdVariancePopulationTotalTransfersAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TOTAL_TRANSFERS_ASC', - AssetsByUpdatedBlockIdVariancePopulationTotalTransfersDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TOTAL_TRANSFERS_DESC', - AssetsByUpdatedBlockIdVariancePopulationTypeAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TYPE_ASC', - AssetsByUpdatedBlockIdVariancePopulationTypeDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TYPE_DESC', - AssetsByUpdatedBlockIdVariancePopulationUpdatedAtAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - AssetsByUpdatedBlockIdVariancePopulationUpdatedAtDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - AssetsByUpdatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - AssetsByUpdatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - AssetsByUpdatedBlockIdVarianceSampleCreatedAtAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - AssetsByUpdatedBlockIdVarianceSampleCreatedAtDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - AssetsByUpdatedBlockIdVarianceSampleCreatedBlockIdAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - AssetsByUpdatedBlockIdVarianceSampleCreatedBlockIdDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - AssetsByUpdatedBlockIdVarianceSampleEventIdxAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', - AssetsByUpdatedBlockIdVarianceSampleEventIdxDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', - AssetsByUpdatedBlockIdVarianceSampleFundingRoundAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_FUNDING_ROUND_ASC', - AssetsByUpdatedBlockIdVarianceSampleFundingRoundDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_FUNDING_ROUND_DESC', - AssetsByUpdatedBlockIdVarianceSampleIdentifiersAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_IDENTIFIERS_ASC', - AssetsByUpdatedBlockIdVarianceSampleIdentifiersDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_IDENTIFIERS_DESC', - AssetsByUpdatedBlockIdVarianceSampleIdAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - AssetsByUpdatedBlockIdVarianceSampleIdDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - AssetsByUpdatedBlockIdVarianceSampleIsCompliancePausedAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_IS_COMPLIANCE_PAUSED_ASC', - AssetsByUpdatedBlockIdVarianceSampleIsCompliancePausedDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_IS_COMPLIANCE_PAUSED_DESC', - AssetsByUpdatedBlockIdVarianceSampleIsDivisibleAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_IS_DIVISIBLE_ASC', - AssetsByUpdatedBlockIdVarianceSampleIsDivisibleDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_IS_DIVISIBLE_DESC', - AssetsByUpdatedBlockIdVarianceSampleIsFrozenAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_IS_FROZEN_ASC', - AssetsByUpdatedBlockIdVarianceSampleIsFrozenDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_IS_FROZEN_DESC', - AssetsByUpdatedBlockIdVarianceSampleIsNftCollectionAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_IS_NFT_COLLECTION_ASC', - AssetsByUpdatedBlockIdVarianceSampleIsNftCollectionDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_IS_NFT_COLLECTION_DESC', - AssetsByUpdatedBlockIdVarianceSampleIsUniquenessRequiredAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_IS_UNIQUENESS_REQUIRED_ASC', - AssetsByUpdatedBlockIdVarianceSampleIsUniquenessRequiredDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_IS_UNIQUENESS_REQUIRED_DESC', - AssetsByUpdatedBlockIdVarianceSampleNameAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_NAME_ASC', - AssetsByUpdatedBlockIdVarianceSampleNameDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_NAME_DESC', - AssetsByUpdatedBlockIdVarianceSampleOwnerIdAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_OWNER_ID_ASC', - AssetsByUpdatedBlockIdVarianceSampleOwnerIdDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_OWNER_ID_DESC', - AssetsByUpdatedBlockIdVarianceSampleTickerAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TICKER_ASC', - AssetsByUpdatedBlockIdVarianceSampleTickerDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TICKER_DESC', - AssetsByUpdatedBlockIdVarianceSampleTotalSupplyAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TOTAL_SUPPLY_ASC', - AssetsByUpdatedBlockIdVarianceSampleTotalSupplyDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TOTAL_SUPPLY_DESC', - AssetsByUpdatedBlockIdVarianceSampleTotalTransfersAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TOTAL_TRANSFERS_ASC', - AssetsByUpdatedBlockIdVarianceSampleTotalTransfersDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TOTAL_TRANSFERS_DESC', - AssetsByUpdatedBlockIdVarianceSampleTypeAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TYPE_ASC', - AssetsByUpdatedBlockIdVarianceSampleTypeDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TYPE_DESC', - AssetsByUpdatedBlockIdVarianceSampleUpdatedAtAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - AssetsByUpdatedBlockIdVarianceSampleUpdatedAtDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - AssetsByUpdatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - AssetsByUpdatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - AssetDocumentsByCreatedBlockIdAverageAssetIdAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_AVERAGE_ASSET_ID_ASC', - AssetDocumentsByCreatedBlockIdAverageAssetIdDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_AVERAGE_ASSET_ID_DESC', - AssetDocumentsByCreatedBlockIdAverageContentHashAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_AVERAGE_CONTENT_HASH_ASC', - AssetDocumentsByCreatedBlockIdAverageContentHashDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_AVERAGE_CONTENT_HASH_DESC', - AssetDocumentsByCreatedBlockIdAverageCreatedAtAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - AssetDocumentsByCreatedBlockIdAverageCreatedAtDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - AssetDocumentsByCreatedBlockIdAverageCreatedBlockIdAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - AssetDocumentsByCreatedBlockIdAverageCreatedBlockIdDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - AssetDocumentsByCreatedBlockIdAverageDocumentIdAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_AVERAGE_DOCUMENT_ID_ASC', - AssetDocumentsByCreatedBlockIdAverageDocumentIdDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_AVERAGE_DOCUMENT_ID_DESC', - AssetDocumentsByCreatedBlockIdAverageFiledAtAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_AVERAGE_FILED_AT_ASC', - AssetDocumentsByCreatedBlockIdAverageFiledAtDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_AVERAGE_FILED_AT_DESC', - AssetDocumentsByCreatedBlockIdAverageIdAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_AVERAGE_ID_ASC', - AssetDocumentsByCreatedBlockIdAverageIdDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_AVERAGE_ID_DESC', - AssetDocumentsByCreatedBlockIdAverageLinkAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_AVERAGE_LINK_ASC', - AssetDocumentsByCreatedBlockIdAverageLinkDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_AVERAGE_LINK_DESC', - AssetDocumentsByCreatedBlockIdAverageNameAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_AVERAGE_NAME_ASC', - AssetDocumentsByCreatedBlockIdAverageNameDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_AVERAGE_NAME_DESC', - AssetDocumentsByCreatedBlockIdAverageTypeAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_AVERAGE_TYPE_ASC', - AssetDocumentsByCreatedBlockIdAverageTypeDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_AVERAGE_TYPE_DESC', - AssetDocumentsByCreatedBlockIdAverageUpdatedAtAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - AssetDocumentsByCreatedBlockIdAverageUpdatedAtDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - AssetDocumentsByCreatedBlockIdAverageUpdatedBlockIdAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - AssetDocumentsByCreatedBlockIdAverageUpdatedBlockIdDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - AssetDocumentsByCreatedBlockIdCountAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_COUNT_ASC', - AssetDocumentsByCreatedBlockIdCountDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_COUNT_DESC', - AssetDocumentsByCreatedBlockIdDistinctCountAssetIdAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_ASC', - AssetDocumentsByCreatedBlockIdDistinctCountAssetIdDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_DESC', - AssetDocumentsByCreatedBlockIdDistinctCountContentHashAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CONTENT_HASH_ASC', - AssetDocumentsByCreatedBlockIdDistinctCountContentHashDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CONTENT_HASH_DESC', - AssetDocumentsByCreatedBlockIdDistinctCountCreatedAtAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - AssetDocumentsByCreatedBlockIdDistinctCountCreatedAtDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - AssetDocumentsByCreatedBlockIdDistinctCountCreatedBlockIdAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - AssetDocumentsByCreatedBlockIdDistinctCountCreatedBlockIdDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - AssetDocumentsByCreatedBlockIdDistinctCountDocumentIdAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_DOCUMENT_ID_ASC', - AssetDocumentsByCreatedBlockIdDistinctCountDocumentIdDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_DOCUMENT_ID_DESC', - AssetDocumentsByCreatedBlockIdDistinctCountFiledAtAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_FILED_AT_ASC', - AssetDocumentsByCreatedBlockIdDistinctCountFiledAtDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_FILED_AT_DESC', - AssetDocumentsByCreatedBlockIdDistinctCountIdAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - AssetDocumentsByCreatedBlockIdDistinctCountIdDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - AssetDocumentsByCreatedBlockIdDistinctCountLinkAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_LINK_ASC', - AssetDocumentsByCreatedBlockIdDistinctCountLinkDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_LINK_DESC', - AssetDocumentsByCreatedBlockIdDistinctCountNameAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_NAME_ASC', - AssetDocumentsByCreatedBlockIdDistinctCountNameDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_NAME_DESC', - AssetDocumentsByCreatedBlockIdDistinctCountTypeAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TYPE_ASC', - AssetDocumentsByCreatedBlockIdDistinctCountTypeDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TYPE_DESC', - AssetDocumentsByCreatedBlockIdDistinctCountUpdatedAtAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - AssetDocumentsByCreatedBlockIdDistinctCountUpdatedAtDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - AssetDocumentsByCreatedBlockIdDistinctCountUpdatedBlockIdAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - AssetDocumentsByCreatedBlockIdDistinctCountUpdatedBlockIdDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - AssetDocumentsByCreatedBlockIdMaxAssetIdAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_MAX_ASSET_ID_ASC', - AssetDocumentsByCreatedBlockIdMaxAssetIdDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_MAX_ASSET_ID_DESC', - AssetDocumentsByCreatedBlockIdMaxContentHashAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_MAX_CONTENT_HASH_ASC', - AssetDocumentsByCreatedBlockIdMaxContentHashDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_MAX_CONTENT_HASH_DESC', - AssetDocumentsByCreatedBlockIdMaxCreatedAtAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_ASC', - AssetDocumentsByCreatedBlockIdMaxCreatedAtDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_DESC', - AssetDocumentsByCreatedBlockIdMaxCreatedBlockIdAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - AssetDocumentsByCreatedBlockIdMaxCreatedBlockIdDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - AssetDocumentsByCreatedBlockIdMaxDocumentIdAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_MAX_DOCUMENT_ID_ASC', - AssetDocumentsByCreatedBlockIdMaxDocumentIdDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_MAX_DOCUMENT_ID_DESC', - AssetDocumentsByCreatedBlockIdMaxFiledAtAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_MAX_FILED_AT_ASC', - AssetDocumentsByCreatedBlockIdMaxFiledAtDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_MAX_FILED_AT_DESC', - AssetDocumentsByCreatedBlockIdMaxIdAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_MAX_ID_ASC', - AssetDocumentsByCreatedBlockIdMaxIdDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_MAX_ID_DESC', - AssetDocumentsByCreatedBlockIdMaxLinkAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_MAX_LINK_ASC', - AssetDocumentsByCreatedBlockIdMaxLinkDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_MAX_LINK_DESC', - AssetDocumentsByCreatedBlockIdMaxNameAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_MAX_NAME_ASC', - AssetDocumentsByCreatedBlockIdMaxNameDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_MAX_NAME_DESC', - AssetDocumentsByCreatedBlockIdMaxTypeAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_MAX_TYPE_ASC', - AssetDocumentsByCreatedBlockIdMaxTypeDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_MAX_TYPE_DESC', - AssetDocumentsByCreatedBlockIdMaxUpdatedAtAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - AssetDocumentsByCreatedBlockIdMaxUpdatedAtDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - AssetDocumentsByCreatedBlockIdMaxUpdatedBlockIdAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - AssetDocumentsByCreatedBlockIdMaxUpdatedBlockIdDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - AssetDocumentsByCreatedBlockIdMinAssetIdAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_MIN_ASSET_ID_ASC', - AssetDocumentsByCreatedBlockIdMinAssetIdDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_MIN_ASSET_ID_DESC', - AssetDocumentsByCreatedBlockIdMinContentHashAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_MIN_CONTENT_HASH_ASC', - AssetDocumentsByCreatedBlockIdMinContentHashDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_MIN_CONTENT_HASH_DESC', - AssetDocumentsByCreatedBlockIdMinCreatedAtAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_ASC', - AssetDocumentsByCreatedBlockIdMinCreatedAtDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_DESC', - AssetDocumentsByCreatedBlockIdMinCreatedBlockIdAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - AssetDocumentsByCreatedBlockIdMinCreatedBlockIdDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - AssetDocumentsByCreatedBlockIdMinDocumentIdAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_MIN_DOCUMENT_ID_ASC', - AssetDocumentsByCreatedBlockIdMinDocumentIdDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_MIN_DOCUMENT_ID_DESC', - AssetDocumentsByCreatedBlockIdMinFiledAtAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_MIN_FILED_AT_ASC', - AssetDocumentsByCreatedBlockIdMinFiledAtDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_MIN_FILED_AT_DESC', - AssetDocumentsByCreatedBlockIdMinIdAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_MIN_ID_ASC', - AssetDocumentsByCreatedBlockIdMinIdDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_MIN_ID_DESC', - AssetDocumentsByCreatedBlockIdMinLinkAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_MIN_LINK_ASC', - AssetDocumentsByCreatedBlockIdMinLinkDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_MIN_LINK_DESC', - AssetDocumentsByCreatedBlockIdMinNameAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_MIN_NAME_ASC', - AssetDocumentsByCreatedBlockIdMinNameDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_MIN_NAME_DESC', - AssetDocumentsByCreatedBlockIdMinTypeAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_MIN_TYPE_ASC', - AssetDocumentsByCreatedBlockIdMinTypeDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_MIN_TYPE_DESC', - AssetDocumentsByCreatedBlockIdMinUpdatedAtAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - AssetDocumentsByCreatedBlockIdMinUpdatedAtDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - AssetDocumentsByCreatedBlockIdMinUpdatedBlockIdAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - AssetDocumentsByCreatedBlockIdMinUpdatedBlockIdDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - AssetDocumentsByCreatedBlockIdStddevPopulationAssetIdAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_ASC', - AssetDocumentsByCreatedBlockIdStddevPopulationAssetIdDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_DESC', - AssetDocumentsByCreatedBlockIdStddevPopulationContentHashAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CONTENT_HASH_ASC', - AssetDocumentsByCreatedBlockIdStddevPopulationContentHashDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CONTENT_HASH_DESC', - AssetDocumentsByCreatedBlockIdStddevPopulationCreatedAtAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - AssetDocumentsByCreatedBlockIdStddevPopulationCreatedAtDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - AssetDocumentsByCreatedBlockIdStddevPopulationCreatedBlockIdAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - AssetDocumentsByCreatedBlockIdStddevPopulationCreatedBlockIdDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - AssetDocumentsByCreatedBlockIdStddevPopulationDocumentIdAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_DOCUMENT_ID_ASC', - AssetDocumentsByCreatedBlockIdStddevPopulationDocumentIdDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_DOCUMENT_ID_DESC', - AssetDocumentsByCreatedBlockIdStddevPopulationFiledAtAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_FILED_AT_ASC', - AssetDocumentsByCreatedBlockIdStddevPopulationFiledAtDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_FILED_AT_DESC', - AssetDocumentsByCreatedBlockIdStddevPopulationIdAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - AssetDocumentsByCreatedBlockIdStddevPopulationIdDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - AssetDocumentsByCreatedBlockIdStddevPopulationLinkAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_LINK_ASC', - AssetDocumentsByCreatedBlockIdStddevPopulationLinkDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_LINK_DESC', - AssetDocumentsByCreatedBlockIdStddevPopulationNameAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_NAME_ASC', - AssetDocumentsByCreatedBlockIdStddevPopulationNameDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_NAME_DESC', - AssetDocumentsByCreatedBlockIdStddevPopulationTypeAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TYPE_ASC', - AssetDocumentsByCreatedBlockIdStddevPopulationTypeDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TYPE_DESC', - AssetDocumentsByCreatedBlockIdStddevPopulationUpdatedAtAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - AssetDocumentsByCreatedBlockIdStddevPopulationUpdatedAtDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - AssetDocumentsByCreatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - AssetDocumentsByCreatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - AssetDocumentsByCreatedBlockIdStddevSampleAssetIdAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_ASC', - AssetDocumentsByCreatedBlockIdStddevSampleAssetIdDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_DESC', - AssetDocumentsByCreatedBlockIdStddevSampleContentHashAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CONTENT_HASH_ASC', - AssetDocumentsByCreatedBlockIdStddevSampleContentHashDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CONTENT_HASH_DESC', - AssetDocumentsByCreatedBlockIdStddevSampleCreatedAtAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - AssetDocumentsByCreatedBlockIdStddevSampleCreatedAtDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - AssetDocumentsByCreatedBlockIdStddevSampleCreatedBlockIdAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - AssetDocumentsByCreatedBlockIdStddevSampleCreatedBlockIdDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - AssetDocumentsByCreatedBlockIdStddevSampleDocumentIdAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_DOCUMENT_ID_ASC', - AssetDocumentsByCreatedBlockIdStddevSampleDocumentIdDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_DOCUMENT_ID_DESC', - AssetDocumentsByCreatedBlockIdStddevSampleFiledAtAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_FILED_AT_ASC', - AssetDocumentsByCreatedBlockIdStddevSampleFiledAtDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_FILED_AT_DESC', - AssetDocumentsByCreatedBlockIdStddevSampleIdAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - AssetDocumentsByCreatedBlockIdStddevSampleIdDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - AssetDocumentsByCreatedBlockIdStddevSampleLinkAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_LINK_ASC', - AssetDocumentsByCreatedBlockIdStddevSampleLinkDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_LINK_DESC', - AssetDocumentsByCreatedBlockIdStddevSampleNameAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_NAME_ASC', - AssetDocumentsByCreatedBlockIdStddevSampleNameDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_NAME_DESC', - AssetDocumentsByCreatedBlockIdStddevSampleTypeAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TYPE_ASC', - AssetDocumentsByCreatedBlockIdStddevSampleTypeDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TYPE_DESC', - AssetDocumentsByCreatedBlockIdStddevSampleUpdatedAtAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - AssetDocumentsByCreatedBlockIdStddevSampleUpdatedAtDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - AssetDocumentsByCreatedBlockIdStddevSampleUpdatedBlockIdAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - AssetDocumentsByCreatedBlockIdStddevSampleUpdatedBlockIdDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - AssetDocumentsByCreatedBlockIdSumAssetIdAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_SUM_ASSET_ID_ASC', - AssetDocumentsByCreatedBlockIdSumAssetIdDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_SUM_ASSET_ID_DESC', - AssetDocumentsByCreatedBlockIdSumContentHashAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_SUM_CONTENT_HASH_ASC', - AssetDocumentsByCreatedBlockIdSumContentHashDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_SUM_CONTENT_HASH_DESC', - AssetDocumentsByCreatedBlockIdSumCreatedAtAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_ASC', - AssetDocumentsByCreatedBlockIdSumCreatedAtDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_DESC', - AssetDocumentsByCreatedBlockIdSumCreatedBlockIdAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - AssetDocumentsByCreatedBlockIdSumCreatedBlockIdDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - AssetDocumentsByCreatedBlockIdSumDocumentIdAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_SUM_DOCUMENT_ID_ASC', - AssetDocumentsByCreatedBlockIdSumDocumentIdDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_SUM_DOCUMENT_ID_DESC', - AssetDocumentsByCreatedBlockIdSumFiledAtAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_SUM_FILED_AT_ASC', - AssetDocumentsByCreatedBlockIdSumFiledAtDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_SUM_FILED_AT_DESC', - AssetDocumentsByCreatedBlockIdSumIdAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_SUM_ID_ASC', - AssetDocumentsByCreatedBlockIdSumIdDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_SUM_ID_DESC', - AssetDocumentsByCreatedBlockIdSumLinkAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_SUM_LINK_ASC', - AssetDocumentsByCreatedBlockIdSumLinkDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_SUM_LINK_DESC', - AssetDocumentsByCreatedBlockIdSumNameAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_SUM_NAME_ASC', - AssetDocumentsByCreatedBlockIdSumNameDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_SUM_NAME_DESC', - AssetDocumentsByCreatedBlockIdSumTypeAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_SUM_TYPE_ASC', - AssetDocumentsByCreatedBlockIdSumTypeDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_SUM_TYPE_DESC', - AssetDocumentsByCreatedBlockIdSumUpdatedAtAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - AssetDocumentsByCreatedBlockIdSumUpdatedAtDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - AssetDocumentsByCreatedBlockIdSumUpdatedBlockIdAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - AssetDocumentsByCreatedBlockIdSumUpdatedBlockIdDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - AssetDocumentsByCreatedBlockIdVariancePopulationAssetIdAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_ASC', - AssetDocumentsByCreatedBlockIdVariancePopulationAssetIdDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_DESC', - AssetDocumentsByCreatedBlockIdVariancePopulationContentHashAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CONTENT_HASH_ASC', - AssetDocumentsByCreatedBlockIdVariancePopulationContentHashDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CONTENT_HASH_DESC', - AssetDocumentsByCreatedBlockIdVariancePopulationCreatedAtAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - AssetDocumentsByCreatedBlockIdVariancePopulationCreatedAtDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - AssetDocumentsByCreatedBlockIdVariancePopulationCreatedBlockIdAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - AssetDocumentsByCreatedBlockIdVariancePopulationCreatedBlockIdDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - AssetDocumentsByCreatedBlockIdVariancePopulationDocumentIdAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_DOCUMENT_ID_ASC', - AssetDocumentsByCreatedBlockIdVariancePopulationDocumentIdDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_DOCUMENT_ID_DESC', - AssetDocumentsByCreatedBlockIdVariancePopulationFiledAtAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_FILED_AT_ASC', - AssetDocumentsByCreatedBlockIdVariancePopulationFiledAtDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_FILED_AT_DESC', - AssetDocumentsByCreatedBlockIdVariancePopulationIdAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - AssetDocumentsByCreatedBlockIdVariancePopulationIdDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - AssetDocumentsByCreatedBlockIdVariancePopulationLinkAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_LINK_ASC', - AssetDocumentsByCreatedBlockIdVariancePopulationLinkDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_LINK_DESC', - AssetDocumentsByCreatedBlockIdVariancePopulationNameAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_NAME_ASC', - AssetDocumentsByCreatedBlockIdVariancePopulationNameDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_NAME_DESC', - AssetDocumentsByCreatedBlockIdVariancePopulationTypeAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TYPE_ASC', - AssetDocumentsByCreatedBlockIdVariancePopulationTypeDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TYPE_DESC', - AssetDocumentsByCreatedBlockIdVariancePopulationUpdatedAtAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - AssetDocumentsByCreatedBlockIdVariancePopulationUpdatedAtDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - AssetDocumentsByCreatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - AssetDocumentsByCreatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - AssetDocumentsByCreatedBlockIdVarianceSampleAssetIdAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_ASC', - AssetDocumentsByCreatedBlockIdVarianceSampleAssetIdDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_DESC', - AssetDocumentsByCreatedBlockIdVarianceSampleContentHashAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CONTENT_HASH_ASC', - AssetDocumentsByCreatedBlockIdVarianceSampleContentHashDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CONTENT_HASH_DESC', - AssetDocumentsByCreatedBlockIdVarianceSampleCreatedAtAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - AssetDocumentsByCreatedBlockIdVarianceSampleCreatedAtDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - AssetDocumentsByCreatedBlockIdVarianceSampleCreatedBlockIdAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - AssetDocumentsByCreatedBlockIdVarianceSampleCreatedBlockIdDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - AssetDocumentsByCreatedBlockIdVarianceSampleDocumentIdAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_DOCUMENT_ID_ASC', - AssetDocumentsByCreatedBlockIdVarianceSampleDocumentIdDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_DOCUMENT_ID_DESC', - AssetDocumentsByCreatedBlockIdVarianceSampleFiledAtAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_FILED_AT_ASC', - AssetDocumentsByCreatedBlockIdVarianceSampleFiledAtDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_FILED_AT_DESC', - AssetDocumentsByCreatedBlockIdVarianceSampleIdAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - AssetDocumentsByCreatedBlockIdVarianceSampleIdDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - AssetDocumentsByCreatedBlockIdVarianceSampleLinkAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_LINK_ASC', - AssetDocumentsByCreatedBlockIdVarianceSampleLinkDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_LINK_DESC', - AssetDocumentsByCreatedBlockIdVarianceSampleNameAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_NAME_ASC', - AssetDocumentsByCreatedBlockIdVarianceSampleNameDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_NAME_DESC', - AssetDocumentsByCreatedBlockIdVarianceSampleTypeAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TYPE_ASC', - AssetDocumentsByCreatedBlockIdVarianceSampleTypeDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TYPE_DESC', - AssetDocumentsByCreatedBlockIdVarianceSampleUpdatedAtAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - AssetDocumentsByCreatedBlockIdVarianceSampleUpdatedAtDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - AssetDocumentsByCreatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - AssetDocumentsByCreatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'ASSET_DOCUMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - AssetDocumentsByUpdatedBlockIdAverageAssetIdAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_ASSET_ID_ASC', - AssetDocumentsByUpdatedBlockIdAverageAssetIdDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_ASSET_ID_DESC', - AssetDocumentsByUpdatedBlockIdAverageContentHashAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_CONTENT_HASH_ASC', - AssetDocumentsByUpdatedBlockIdAverageContentHashDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_CONTENT_HASH_DESC', - AssetDocumentsByUpdatedBlockIdAverageCreatedAtAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - AssetDocumentsByUpdatedBlockIdAverageCreatedAtDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - AssetDocumentsByUpdatedBlockIdAverageCreatedBlockIdAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - AssetDocumentsByUpdatedBlockIdAverageCreatedBlockIdDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - AssetDocumentsByUpdatedBlockIdAverageDocumentIdAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_DOCUMENT_ID_ASC', - AssetDocumentsByUpdatedBlockIdAverageDocumentIdDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_DOCUMENT_ID_DESC', - AssetDocumentsByUpdatedBlockIdAverageFiledAtAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_FILED_AT_ASC', - AssetDocumentsByUpdatedBlockIdAverageFiledAtDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_FILED_AT_DESC', - AssetDocumentsByUpdatedBlockIdAverageIdAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_ASC', - AssetDocumentsByUpdatedBlockIdAverageIdDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_DESC', - AssetDocumentsByUpdatedBlockIdAverageLinkAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_LINK_ASC', - AssetDocumentsByUpdatedBlockIdAverageLinkDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_LINK_DESC', - AssetDocumentsByUpdatedBlockIdAverageNameAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_NAME_ASC', - AssetDocumentsByUpdatedBlockIdAverageNameDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_NAME_DESC', - AssetDocumentsByUpdatedBlockIdAverageTypeAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_TYPE_ASC', - AssetDocumentsByUpdatedBlockIdAverageTypeDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_TYPE_DESC', - AssetDocumentsByUpdatedBlockIdAverageUpdatedAtAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - AssetDocumentsByUpdatedBlockIdAverageUpdatedAtDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - AssetDocumentsByUpdatedBlockIdAverageUpdatedBlockIdAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - AssetDocumentsByUpdatedBlockIdAverageUpdatedBlockIdDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - AssetDocumentsByUpdatedBlockIdCountAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_COUNT_ASC', - AssetDocumentsByUpdatedBlockIdCountDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_COUNT_DESC', - AssetDocumentsByUpdatedBlockIdDistinctCountAssetIdAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_ASC', - AssetDocumentsByUpdatedBlockIdDistinctCountAssetIdDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_DESC', - AssetDocumentsByUpdatedBlockIdDistinctCountContentHashAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CONTENT_HASH_ASC', - AssetDocumentsByUpdatedBlockIdDistinctCountContentHashDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CONTENT_HASH_DESC', - AssetDocumentsByUpdatedBlockIdDistinctCountCreatedAtAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - AssetDocumentsByUpdatedBlockIdDistinctCountCreatedAtDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - AssetDocumentsByUpdatedBlockIdDistinctCountCreatedBlockIdAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - AssetDocumentsByUpdatedBlockIdDistinctCountCreatedBlockIdDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - AssetDocumentsByUpdatedBlockIdDistinctCountDocumentIdAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_DOCUMENT_ID_ASC', - AssetDocumentsByUpdatedBlockIdDistinctCountDocumentIdDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_DOCUMENT_ID_DESC', - AssetDocumentsByUpdatedBlockIdDistinctCountFiledAtAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_FILED_AT_ASC', - AssetDocumentsByUpdatedBlockIdDistinctCountFiledAtDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_FILED_AT_DESC', - AssetDocumentsByUpdatedBlockIdDistinctCountIdAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - AssetDocumentsByUpdatedBlockIdDistinctCountIdDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - AssetDocumentsByUpdatedBlockIdDistinctCountLinkAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_LINK_ASC', - AssetDocumentsByUpdatedBlockIdDistinctCountLinkDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_LINK_DESC', - AssetDocumentsByUpdatedBlockIdDistinctCountNameAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_NAME_ASC', - AssetDocumentsByUpdatedBlockIdDistinctCountNameDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_NAME_DESC', - AssetDocumentsByUpdatedBlockIdDistinctCountTypeAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TYPE_ASC', - AssetDocumentsByUpdatedBlockIdDistinctCountTypeDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TYPE_DESC', - AssetDocumentsByUpdatedBlockIdDistinctCountUpdatedAtAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - AssetDocumentsByUpdatedBlockIdDistinctCountUpdatedAtDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - AssetDocumentsByUpdatedBlockIdDistinctCountUpdatedBlockIdAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - AssetDocumentsByUpdatedBlockIdDistinctCountUpdatedBlockIdDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - AssetDocumentsByUpdatedBlockIdMaxAssetIdAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_MAX_ASSET_ID_ASC', - AssetDocumentsByUpdatedBlockIdMaxAssetIdDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_MAX_ASSET_ID_DESC', - AssetDocumentsByUpdatedBlockIdMaxContentHashAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_MAX_CONTENT_HASH_ASC', - AssetDocumentsByUpdatedBlockIdMaxContentHashDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_MAX_CONTENT_HASH_DESC', - AssetDocumentsByUpdatedBlockIdMaxCreatedAtAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_ASC', - AssetDocumentsByUpdatedBlockIdMaxCreatedAtDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_DESC', - AssetDocumentsByUpdatedBlockIdMaxCreatedBlockIdAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - AssetDocumentsByUpdatedBlockIdMaxCreatedBlockIdDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - AssetDocumentsByUpdatedBlockIdMaxDocumentIdAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_MAX_DOCUMENT_ID_ASC', - AssetDocumentsByUpdatedBlockIdMaxDocumentIdDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_MAX_DOCUMENT_ID_DESC', - AssetDocumentsByUpdatedBlockIdMaxFiledAtAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_MAX_FILED_AT_ASC', - AssetDocumentsByUpdatedBlockIdMaxFiledAtDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_MAX_FILED_AT_DESC', - AssetDocumentsByUpdatedBlockIdMaxIdAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_MAX_ID_ASC', - AssetDocumentsByUpdatedBlockIdMaxIdDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_MAX_ID_DESC', - AssetDocumentsByUpdatedBlockIdMaxLinkAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_MAX_LINK_ASC', - AssetDocumentsByUpdatedBlockIdMaxLinkDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_MAX_LINK_DESC', - AssetDocumentsByUpdatedBlockIdMaxNameAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_MAX_NAME_ASC', - AssetDocumentsByUpdatedBlockIdMaxNameDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_MAX_NAME_DESC', - AssetDocumentsByUpdatedBlockIdMaxTypeAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_MAX_TYPE_ASC', - AssetDocumentsByUpdatedBlockIdMaxTypeDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_MAX_TYPE_DESC', - AssetDocumentsByUpdatedBlockIdMaxUpdatedAtAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - AssetDocumentsByUpdatedBlockIdMaxUpdatedAtDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - AssetDocumentsByUpdatedBlockIdMaxUpdatedBlockIdAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - AssetDocumentsByUpdatedBlockIdMaxUpdatedBlockIdDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - AssetDocumentsByUpdatedBlockIdMinAssetIdAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_MIN_ASSET_ID_ASC', - AssetDocumentsByUpdatedBlockIdMinAssetIdDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_MIN_ASSET_ID_DESC', - AssetDocumentsByUpdatedBlockIdMinContentHashAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_MIN_CONTENT_HASH_ASC', - AssetDocumentsByUpdatedBlockIdMinContentHashDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_MIN_CONTENT_HASH_DESC', - AssetDocumentsByUpdatedBlockIdMinCreatedAtAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_ASC', - AssetDocumentsByUpdatedBlockIdMinCreatedAtDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_DESC', - AssetDocumentsByUpdatedBlockIdMinCreatedBlockIdAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - AssetDocumentsByUpdatedBlockIdMinCreatedBlockIdDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - AssetDocumentsByUpdatedBlockIdMinDocumentIdAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_MIN_DOCUMENT_ID_ASC', - AssetDocumentsByUpdatedBlockIdMinDocumentIdDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_MIN_DOCUMENT_ID_DESC', - AssetDocumentsByUpdatedBlockIdMinFiledAtAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_MIN_FILED_AT_ASC', - AssetDocumentsByUpdatedBlockIdMinFiledAtDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_MIN_FILED_AT_DESC', - AssetDocumentsByUpdatedBlockIdMinIdAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_MIN_ID_ASC', - AssetDocumentsByUpdatedBlockIdMinIdDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_MIN_ID_DESC', - AssetDocumentsByUpdatedBlockIdMinLinkAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_MIN_LINK_ASC', - AssetDocumentsByUpdatedBlockIdMinLinkDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_MIN_LINK_DESC', - AssetDocumentsByUpdatedBlockIdMinNameAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_MIN_NAME_ASC', - AssetDocumentsByUpdatedBlockIdMinNameDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_MIN_NAME_DESC', - AssetDocumentsByUpdatedBlockIdMinTypeAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_MIN_TYPE_ASC', - AssetDocumentsByUpdatedBlockIdMinTypeDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_MIN_TYPE_DESC', - AssetDocumentsByUpdatedBlockIdMinUpdatedAtAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - AssetDocumentsByUpdatedBlockIdMinUpdatedAtDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - AssetDocumentsByUpdatedBlockIdMinUpdatedBlockIdAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - AssetDocumentsByUpdatedBlockIdMinUpdatedBlockIdDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - AssetDocumentsByUpdatedBlockIdStddevPopulationAssetIdAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_ASC', - AssetDocumentsByUpdatedBlockIdStddevPopulationAssetIdDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_DESC', - AssetDocumentsByUpdatedBlockIdStddevPopulationContentHashAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CONTENT_HASH_ASC', - AssetDocumentsByUpdatedBlockIdStddevPopulationContentHashDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CONTENT_HASH_DESC', - AssetDocumentsByUpdatedBlockIdStddevPopulationCreatedAtAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - AssetDocumentsByUpdatedBlockIdStddevPopulationCreatedAtDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - AssetDocumentsByUpdatedBlockIdStddevPopulationCreatedBlockIdAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - AssetDocumentsByUpdatedBlockIdStddevPopulationCreatedBlockIdDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - AssetDocumentsByUpdatedBlockIdStddevPopulationDocumentIdAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_DOCUMENT_ID_ASC', - AssetDocumentsByUpdatedBlockIdStddevPopulationDocumentIdDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_DOCUMENT_ID_DESC', - AssetDocumentsByUpdatedBlockIdStddevPopulationFiledAtAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_FILED_AT_ASC', - AssetDocumentsByUpdatedBlockIdStddevPopulationFiledAtDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_FILED_AT_DESC', - AssetDocumentsByUpdatedBlockIdStddevPopulationIdAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - AssetDocumentsByUpdatedBlockIdStddevPopulationIdDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - AssetDocumentsByUpdatedBlockIdStddevPopulationLinkAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_LINK_ASC', - AssetDocumentsByUpdatedBlockIdStddevPopulationLinkDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_LINK_DESC', - AssetDocumentsByUpdatedBlockIdStddevPopulationNameAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_NAME_ASC', - AssetDocumentsByUpdatedBlockIdStddevPopulationNameDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_NAME_DESC', - AssetDocumentsByUpdatedBlockIdStddevPopulationTypeAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TYPE_ASC', - AssetDocumentsByUpdatedBlockIdStddevPopulationTypeDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TYPE_DESC', - AssetDocumentsByUpdatedBlockIdStddevPopulationUpdatedAtAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - AssetDocumentsByUpdatedBlockIdStddevPopulationUpdatedAtDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - AssetDocumentsByUpdatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - AssetDocumentsByUpdatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - AssetDocumentsByUpdatedBlockIdStddevSampleAssetIdAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_ASC', - AssetDocumentsByUpdatedBlockIdStddevSampleAssetIdDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_DESC', - AssetDocumentsByUpdatedBlockIdStddevSampleContentHashAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CONTENT_HASH_ASC', - AssetDocumentsByUpdatedBlockIdStddevSampleContentHashDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CONTENT_HASH_DESC', - AssetDocumentsByUpdatedBlockIdStddevSampleCreatedAtAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - AssetDocumentsByUpdatedBlockIdStddevSampleCreatedAtDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - AssetDocumentsByUpdatedBlockIdStddevSampleCreatedBlockIdAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - AssetDocumentsByUpdatedBlockIdStddevSampleCreatedBlockIdDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - AssetDocumentsByUpdatedBlockIdStddevSampleDocumentIdAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_DOCUMENT_ID_ASC', - AssetDocumentsByUpdatedBlockIdStddevSampleDocumentIdDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_DOCUMENT_ID_DESC', - AssetDocumentsByUpdatedBlockIdStddevSampleFiledAtAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_FILED_AT_ASC', - AssetDocumentsByUpdatedBlockIdStddevSampleFiledAtDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_FILED_AT_DESC', - AssetDocumentsByUpdatedBlockIdStddevSampleIdAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - AssetDocumentsByUpdatedBlockIdStddevSampleIdDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - AssetDocumentsByUpdatedBlockIdStddevSampleLinkAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_LINK_ASC', - AssetDocumentsByUpdatedBlockIdStddevSampleLinkDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_LINK_DESC', - AssetDocumentsByUpdatedBlockIdStddevSampleNameAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_NAME_ASC', - AssetDocumentsByUpdatedBlockIdStddevSampleNameDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_NAME_DESC', - AssetDocumentsByUpdatedBlockIdStddevSampleTypeAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TYPE_ASC', - AssetDocumentsByUpdatedBlockIdStddevSampleTypeDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TYPE_DESC', - AssetDocumentsByUpdatedBlockIdStddevSampleUpdatedAtAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - AssetDocumentsByUpdatedBlockIdStddevSampleUpdatedAtDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - AssetDocumentsByUpdatedBlockIdStddevSampleUpdatedBlockIdAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - AssetDocumentsByUpdatedBlockIdStddevSampleUpdatedBlockIdDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - AssetDocumentsByUpdatedBlockIdSumAssetIdAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_SUM_ASSET_ID_ASC', - AssetDocumentsByUpdatedBlockIdSumAssetIdDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_SUM_ASSET_ID_DESC', - AssetDocumentsByUpdatedBlockIdSumContentHashAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_SUM_CONTENT_HASH_ASC', - AssetDocumentsByUpdatedBlockIdSumContentHashDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_SUM_CONTENT_HASH_DESC', - AssetDocumentsByUpdatedBlockIdSumCreatedAtAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_ASC', - AssetDocumentsByUpdatedBlockIdSumCreatedAtDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_DESC', - AssetDocumentsByUpdatedBlockIdSumCreatedBlockIdAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - AssetDocumentsByUpdatedBlockIdSumCreatedBlockIdDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - AssetDocumentsByUpdatedBlockIdSumDocumentIdAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_SUM_DOCUMENT_ID_ASC', - AssetDocumentsByUpdatedBlockIdSumDocumentIdDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_SUM_DOCUMENT_ID_DESC', - AssetDocumentsByUpdatedBlockIdSumFiledAtAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_SUM_FILED_AT_ASC', - AssetDocumentsByUpdatedBlockIdSumFiledAtDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_SUM_FILED_AT_DESC', - AssetDocumentsByUpdatedBlockIdSumIdAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_SUM_ID_ASC', - AssetDocumentsByUpdatedBlockIdSumIdDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_SUM_ID_DESC', - AssetDocumentsByUpdatedBlockIdSumLinkAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_SUM_LINK_ASC', - AssetDocumentsByUpdatedBlockIdSumLinkDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_SUM_LINK_DESC', - AssetDocumentsByUpdatedBlockIdSumNameAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_SUM_NAME_ASC', - AssetDocumentsByUpdatedBlockIdSumNameDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_SUM_NAME_DESC', - AssetDocumentsByUpdatedBlockIdSumTypeAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_SUM_TYPE_ASC', - AssetDocumentsByUpdatedBlockIdSumTypeDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_SUM_TYPE_DESC', - AssetDocumentsByUpdatedBlockIdSumUpdatedAtAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - AssetDocumentsByUpdatedBlockIdSumUpdatedAtDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - AssetDocumentsByUpdatedBlockIdSumUpdatedBlockIdAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - AssetDocumentsByUpdatedBlockIdSumUpdatedBlockIdDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - AssetDocumentsByUpdatedBlockIdVariancePopulationAssetIdAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_ASC', - AssetDocumentsByUpdatedBlockIdVariancePopulationAssetIdDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_DESC', - AssetDocumentsByUpdatedBlockIdVariancePopulationContentHashAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CONTENT_HASH_ASC', - AssetDocumentsByUpdatedBlockIdVariancePopulationContentHashDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CONTENT_HASH_DESC', - AssetDocumentsByUpdatedBlockIdVariancePopulationCreatedAtAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - AssetDocumentsByUpdatedBlockIdVariancePopulationCreatedAtDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - AssetDocumentsByUpdatedBlockIdVariancePopulationCreatedBlockIdAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - AssetDocumentsByUpdatedBlockIdVariancePopulationCreatedBlockIdDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - AssetDocumentsByUpdatedBlockIdVariancePopulationDocumentIdAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_DOCUMENT_ID_ASC', - AssetDocumentsByUpdatedBlockIdVariancePopulationDocumentIdDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_DOCUMENT_ID_DESC', - AssetDocumentsByUpdatedBlockIdVariancePopulationFiledAtAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_FILED_AT_ASC', - AssetDocumentsByUpdatedBlockIdVariancePopulationFiledAtDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_FILED_AT_DESC', - AssetDocumentsByUpdatedBlockIdVariancePopulationIdAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - AssetDocumentsByUpdatedBlockIdVariancePopulationIdDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - AssetDocumentsByUpdatedBlockIdVariancePopulationLinkAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_LINK_ASC', - AssetDocumentsByUpdatedBlockIdVariancePopulationLinkDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_LINK_DESC', - AssetDocumentsByUpdatedBlockIdVariancePopulationNameAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_NAME_ASC', - AssetDocumentsByUpdatedBlockIdVariancePopulationNameDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_NAME_DESC', - AssetDocumentsByUpdatedBlockIdVariancePopulationTypeAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TYPE_ASC', - AssetDocumentsByUpdatedBlockIdVariancePopulationTypeDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TYPE_DESC', - AssetDocumentsByUpdatedBlockIdVariancePopulationUpdatedAtAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - AssetDocumentsByUpdatedBlockIdVariancePopulationUpdatedAtDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - AssetDocumentsByUpdatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - AssetDocumentsByUpdatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - AssetDocumentsByUpdatedBlockIdVarianceSampleAssetIdAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_ASC', - AssetDocumentsByUpdatedBlockIdVarianceSampleAssetIdDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_DESC', - AssetDocumentsByUpdatedBlockIdVarianceSampleContentHashAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CONTENT_HASH_ASC', - AssetDocumentsByUpdatedBlockIdVarianceSampleContentHashDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CONTENT_HASH_DESC', - AssetDocumentsByUpdatedBlockIdVarianceSampleCreatedAtAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - AssetDocumentsByUpdatedBlockIdVarianceSampleCreatedAtDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - AssetDocumentsByUpdatedBlockIdVarianceSampleCreatedBlockIdAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - AssetDocumentsByUpdatedBlockIdVarianceSampleCreatedBlockIdDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - AssetDocumentsByUpdatedBlockIdVarianceSampleDocumentIdAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_DOCUMENT_ID_ASC', - AssetDocumentsByUpdatedBlockIdVarianceSampleDocumentIdDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_DOCUMENT_ID_DESC', - AssetDocumentsByUpdatedBlockIdVarianceSampleFiledAtAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_FILED_AT_ASC', - AssetDocumentsByUpdatedBlockIdVarianceSampleFiledAtDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_FILED_AT_DESC', - AssetDocumentsByUpdatedBlockIdVarianceSampleIdAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - AssetDocumentsByUpdatedBlockIdVarianceSampleIdDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - AssetDocumentsByUpdatedBlockIdVarianceSampleLinkAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_LINK_ASC', - AssetDocumentsByUpdatedBlockIdVarianceSampleLinkDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_LINK_DESC', - AssetDocumentsByUpdatedBlockIdVarianceSampleNameAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_NAME_ASC', - AssetDocumentsByUpdatedBlockIdVarianceSampleNameDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_NAME_DESC', - AssetDocumentsByUpdatedBlockIdVarianceSampleTypeAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TYPE_ASC', - AssetDocumentsByUpdatedBlockIdVarianceSampleTypeDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TYPE_DESC', - AssetDocumentsByUpdatedBlockIdVarianceSampleUpdatedAtAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - AssetDocumentsByUpdatedBlockIdVarianceSampleUpdatedAtDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - AssetDocumentsByUpdatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - AssetDocumentsByUpdatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'ASSET_DOCUMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - AssetHoldersByCreatedBlockIdAverageAmountAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_AMOUNT_ASC', - AssetHoldersByCreatedBlockIdAverageAmountDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_AMOUNT_DESC', - AssetHoldersByCreatedBlockIdAverageAssetIdAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_ASSET_ID_ASC', - AssetHoldersByCreatedBlockIdAverageAssetIdDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_ASSET_ID_DESC', - AssetHoldersByCreatedBlockIdAverageCreatedAtAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - AssetHoldersByCreatedBlockIdAverageCreatedAtDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - AssetHoldersByCreatedBlockIdAverageCreatedBlockIdAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - AssetHoldersByCreatedBlockIdAverageCreatedBlockIdDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - AssetHoldersByCreatedBlockIdAverageIdentityIdAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_IDENTITY_ID_ASC', - AssetHoldersByCreatedBlockIdAverageIdentityIdDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_IDENTITY_ID_DESC', - AssetHoldersByCreatedBlockIdAverageIdAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_ID_ASC', - AssetHoldersByCreatedBlockIdAverageIdDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_ID_DESC', - AssetHoldersByCreatedBlockIdAverageUpdatedAtAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - AssetHoldersByCreatedBlockIdAverageUpdatedAtDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - AssetHoldersByCreatedBlockIdAverageUpdatedBlockIdAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - AssetHoldersByCreatedBlockIdAverageUpdatedBlockIdDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - AssetHoldersByCreatedBlockIdCountAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_COUNT_ASC', - AssetHoldersByCreatedBlockIdCountDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_COUNT_DESC', - AssetHoldersByCreatedBlockIdDistinctCountAmountAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_AMOUNT_ASC', - AssetHoldersByCreatedBlockIdDistinctCountAmountDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_AMOUNT_DESC', - AssetHoldersByCreatedBlockIdDistinctCountAssetIdAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_ASC', - AssetHoldersByCreatedBlockIdDistinctCountAssetIdDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_DESC', - AssetHoldersByCreatedBlockIdDistinctCountCreatedAtAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - AssetHoldersByCreatedBlockIdDistinctCountCreatedAtDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - AssetHoldersByCreatedBlockIdDistinctCountCreatedBlockIdAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - AssetHoldersByCreatedBlockIdDistinctCountCreatedBlockIdDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - AssetHoldersByCreatedBlockIdDistinctCountIdentityIdAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_IDENTITY_ID_ASC', - AssetHoldersByCreatedBlockIdDistinctCountIdentityIdDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_IDENTITY_ID_DESC', - AssetHoldersByCreatedBlockIdDistinctCountIdAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - AssetHoldersByCreatedBlockIdDistinctCountIdDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - AssetHoldersByCreatedBlockIdDistinctCountUpdatedAtAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - AssetHoldersByCreatedBlockIdDistinctCountUpdatedAtDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - AssetHoldersByCreatedBlockIdDistinctCountUpdatedBlockIdAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - AssetHoldersByCreatedBlockIdDistinctCountUpdatedBlockIdDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - AssetHoldersByCreatedBlockIdMaxAmountAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MAX_AMOUNT_ASC', - AssetHoldersByCreatedBlockIdMaxAmountDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MAX_AMOUNT_DESC', - AssetHoldersByCreatedBlockIdMaxAssetIdAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MAX_ASSET_ID_ASC', - AssetHoldersByCreatedBlockIdMaxAssetIdDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MAX_ASSET_ID_DESC', - AssetHoldersByCreatedBlockIdMaxCreatedAtAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_ASC', - AssetHoldersByCreatedBlockIdMaxCreatedAtDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_DESC', - AssetHoldersByCreatedBlockIdMaxCreatedBlockIdAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - AssetHoldersByCreatedBlockIdMaxCreatedBlockIdDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - AssetHoldersByCreatedBlockIdMaxIdentityIdAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MAX_IDENTITY_ID_ASC', - AssetHoldersByCreatedBlockIdMaxIdentityIdDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MAX_IDENTITY_ID_DESC', - AssetHoldersByCreatedBlockIdMaxIdAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MAX_ID_ASC', - AssetHoldersByCreatedBlockIdMaxIdDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MAX_ID_DESC', - AssetHoldersByCreatedBlockIdMaxUpdatedAtAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - AssetHoldersByCreatedBlockIdMaxUpdatedAtDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - AssetHoldersByCreatedBlockIdMaxUpdatedBlockIdAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - AssetHoldersByCreatedBlockIdMaxUpdatedBlockIdDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - AssetHoldersByCreatedBlockIdMinAmountAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MIN_AMOUNT_ASC', - AssetHoldersByCreatedBlockIdMinAmountDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MIN_AMOUNT_DESC', - AssetHoldersByCreatedBlockIdMinAssetIdAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MIN_ASSET_ID_ASC', - AssetHoldersByCreatedBlockIdMinAssetIdDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MIN_ASSET_ID_DESC', - AssetHoldersByCreatedBlockIdMinCreatedAtAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_ASC', - AssetHoldersByCreatedBlockIdMinCreatedAtDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_DESC', - AssetHoldersByCreatedBlockIdMinCreatedBlockIdAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - AssetHoldersByCreatedBlockIdMinCreatedBlockIdDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - AssetHoldersByCreatedBlockIdMinIdentityIdAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MIN_IDENTITY_ID_ASC', - AssetHoldersByCreatedBlockIdMinIdentityIdDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MIN_IDENTITY_ID_DESC', - AssetHoldersByCreatedBlockIdMinIdAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MIN_ID_ASC', - AssetHoldersByCreatedBlockIdMinIdDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MIN_ID_DESC', - AssetHoldersByCreatedBlockIdMinUpdatedAtAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - AssetHoldersByCreatedBlockIdMinUpdatedAtDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - AssetHoldersByCreatedBlockIdMinUpdatedBlockIdAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - AssetHoldersByCreatedBlockIdMinUpdatedBlockIdDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - AssetHoldersByCreatedBlockIdStddevPopulationAmountAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_AMOUNT_ASC', - AssetHoldersByCreatedBlockIdStddevPopulationAmountDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_AMOUNT_DESC', - AssetHoldersByCreatedBlockIdStddevPopulationAssetIdAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_ASC', - AssetHoldersByCreatedBlockIdStddevPopulationAssetIdDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_DESC', - AssetHoldersByCreatedBlockIdStddevPopulationCreatedAtAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - AssetHoldersByCreatedBlockIdStddevPopulationCreatedAtDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - AssetHoldersByCreatedBlockIdStddevPopulationCreatedBlockIdAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - AssetHoldersByCreatedBlockIdStddevPopulationCreatedBlockIdDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - AssetHoldersByCreatedBlockIdStddevPopulationIdentityIdAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_IDENTITY_ID_ASC', - AssetHoldersByCreatedBlockIdStddevPopulationIdentityIdDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_IDENTITY_ID_DESC', - AssetHoldersByCreatedBlockIdStddevPopulationIdAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - AssetHoldersByCreatedBlockIdStddevPopulationIdDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - AssetHoldersByCreatedBlockIdStddevPopulationUpdatedAtAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - AssetHoldersByCreatedBlockIdStddevPopulationUpdatedAtDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - AssetHoldersByCreatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - AssetHoldersByCreatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - AssetHoldersByCreatedBlockIdStddevSampleAmountAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_AMOUNT_ASC', - AssetHoldersByCreatedBlockIdStddevSampleAmountDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_AMOUNT_DESC', - AssetHoldersByCreatedBlockIdStddevSampleAssetIdAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_ASC', - AssetHoldersByCreatedBlockIdStddevSampleAssetIdDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_DESC', - AssetHoldersByCreatedBlockIdStddevSampleCreatedAtAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - AssetHoldersByCreatedBlockIdStddevSampleCreatedAtDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - AssetHoldersByCreatedBlockIdStddevSampleCreatedBlockIdAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - AssetHoldersByCreatedBlockIdStddevSampleCreatedBlockIdDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - AssetHoldersByCreatedBlockIdStddevSampleIdentityIdAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_IDENTITY_ID_ASC', - AssetHoldersByCreatedBlockIdStddevSampleIdentityIdDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_IDENTITY_ID_DESC', - AssetHoldersByCreatedBlockIdStddevSampleIdAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - AssetHoldersByCreatedBlockIdStddevSampleIdDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - AssetHoldersByCreatedBlockIdStddevSampleUpdatedAtAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - AssetHoldersByCreatedBlockIdStddevSampleUpdatedAtDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - AssetHoldersByCreatedBlockIdStddevSampleUpdatedBlockIdAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - AssetHoldersByCreatedBlockIdStddevSampleUpdatedBlockIdDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - AssetHoldersByCreatedBlockIdSumAmountAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_SUM_AMOUNT_ASC', - AssetHoldersByCreatedBlockIdSumAmountDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_SUM_AMOUNT_DESC', - AssetHoldersByCreatedBlockIdSumAssetIdAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_SUM_ASSET_ID_ASC', - AssetHoldersByCreatedBlockIdSumAssetIdDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_SUM_ASSET_ID_DESC', - AssetHoldersByCreatedBlockIdSumCreatedAtAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_ASC', - AssetHoldersByCreatedBlockIdSumCreatedAtDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_DESC', - AssetHoldersByCreatedBlockIdSumCreatedBlockIdAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - AssetHoldersByCreatedBlockIdSumCreatedBlockIdDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - AssetHoldersByCreatedBlockIdSumIdentityIdAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_SUM_IDENTITY_ID_ASC', - AssetHoldersByCreatedBlockIdSumIdentityIdDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_SUM_IDENTITY_ID_DESC', - AssetHoldersByCreatedBlockIdSumIdAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_SUM_ID_ASC', - AssetHoldersByCreatedBlockIdSumIdDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_SUM_ID_DESC', - AssetHoldersByCreatedBlockIdSumUpdatedAtAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - AssetHoldersByCreatedBlockIdSumUpdatedAtDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - AssetHoldersByCreatedBlockIdSumUpdatedBlockIdAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - AssetHoldersByCreatedBlockIdSumUpdatedBlockIdDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - AssetHoldersByCreatedBlockIdVariancePopulationAmountAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_AMOUNT_ASC', - AssetHoldersByCreatedBlockIdVariancePopulationAmountDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_AMOUNT_DESC', - AssetHoldersByCreatedBlockIdVariancePopulationAssetIdAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_ASC', - AssetHoldersByCreatedBlockIdVariancePopulationAssetIdDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_DESC', - AssetHoldersByCreatedBlockIdVariancePopulationCreatedAtAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - AssetHoldersByCreatedBlockIdVariancePopulationCreatedAtDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - AssetHoldersByCreatedBlockIdVariancePopulationCreatedBlockIdAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - AssetHoldersByCreatedBlockIdVariancePopulationCreatedBlockIdDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - AssetHoldersByCreatedBlockIdVariancePopulationIdentityIdAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_IDENTITY_ID_ASC', - AssetHoldersByCreatedBlockIdVariancePopulationIdentityIdDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_IDENTITY_ID_DESC', - AssetHoldersByCreatedBlockIdVariancePopulationIdAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - AssetHoldersByCreatedBlockIdVariancePopulationIdDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - AssetHoldersByCreatedBlockIdVariancePopulationUpdatedAtAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - AssetHoldersByCreatedBlockIdVariancePopulationUpdatedAtDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - AssetHoldersByCreatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - AssetHoldersByCreatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - AssetHoldersByCreatedBlockIdVarianceSampleAmountAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_AMOUNT_ASC', - AssetHoldersByCreatedBlockIdVarianceSampleAmountDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_AMOUNT_DESC', - AssetHoldersByCreatedBlockIdVarianceSampleAssetIdAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_ASC', - AssetHoldersByCreatedBlockIdVarianceSampleAssetIdDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_DESC', - AssetHoldersByCreatedBlockIdVarianceSampleCreatedAtAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - AssetHoldersByCreatedBlockIdVarianceSampleCreatedAtDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - AssetHoldersByCreatedBlockIdVarianceSampleCreatedBlockIdAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - AssetHoldersByCreatedBlockIdVarianceSampleCreatedBlockIdDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - AssetHoldersByCreatedBlockIdVarianceSampleIdentityIdAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_IDENTITY_ID_ASC', - AssetHoldersByCreatedBlockIdVarianceSampleIdentityIdDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_IDENTITY_ID_DESC', - AssetHoldersByCreatedBlockIdVarianceSampleIdAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - AssetHoldersByCreatedBlockIdVarianceSampleIdDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - AssetHoldersByCreatedBlockIdVarianceSampleUpdatedAtAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - AssetHoldersByCreatedBlockIdVarianceSampleUpdatedAtDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - AssetHoldersByCreatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - AssetHoldersByCreatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - AssetHoldersByUpdatedBlockIdAverageAmountAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_AMOUNT_ASC', - AssetHoldersByUpdatedBlockIdAverageAmountDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_AMOUNT_DESC', - AssetHoldersByUpdatedBlockIdAverageAssetIdAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_ASSET_ID_ASC', - AssetHoldersByUpdatedBlockIdAverageAssetIdDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_ASSET_ID_DESC', - AssetHoldersByUpdatedBlockIdAverageCreatedAtAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - AssetHoldersByUpdatedBlockIdAverageCreatedAtDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - AssetHoldersByUpdatedBlockIdAverageCreatedBlockIdAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - AssetHoldersByUpdatedBlockIdAverageCreatedBlockIdDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - AssetHoldersByUpdatedBlockIdAverageIdentityIdAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_IDENTITY_ID_ASC', - AssetHoldersByUpdatedBlockIdAverageIdentityIdDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_IDENTITY_ID_DESC', - AssetHoldersByUpdatedBlockIdAverageIdAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_ASC', - AssetHoldersByUpdatedBlockIdAverageIdDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_DESC', - AssetHoldersByUpdatedBlockIdAverageUpdatedAtAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - AssetHoldersByUpdatedBlockIdAverageUpdatedAtDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - AssetHoldersByUpdatedBlockIdAverageUpdatedBlockIdAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - AssetHoldersByUpdatedBlockIdAverageUpdatedBlockIdDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - AssetHoldersByUpdatedBlockIdCountAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_COUNT_ASC', - AssetHoldersByUpdatedBlockIdCountDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_COUNT_DESC', - AssetHoldersByUpdatedBlockIdDistinctCountAmountAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_AMOUNT_ASC', - AssetHoldersByUpdatedBlockIdDistinctCountAmountDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_AMOUNT_DESC', - AssetHoldersByUpdatedBlockIdDistinctCountAssetIdAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_ASC', - AssetHoldersByUpdatedBlockIdDistinctCountAssetIdDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_DESC', - AssetHoldersByUpdatedBlockIdDistinctCountCreatedAtAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - AssetHoldersByUpdatedBlockIdDistinctCountCreatedAtDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - AssetHoldersByUpdatedBlockIdDistinctCountCreatedBlockIdAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - AssetHoldersByUpdatedBlockIdDistinctCountCreatedBlockIdDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - AssetHoldersByUpdatedBlockIdDistinctCountIdentityIdAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_IDENTITY_ID_ASC', - AssetHoldersByUpdatedBlockIdDistinctCountIdentityIdDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_IDENTITY_ID_DESC', - AssetHoldersByUpdatedBlockIdDistinctCountIdAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - AssetHoldersByUpdatedBlockIdDistinctCountIdDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - AssetHoldersByUpdatedBlockIdDistinctCountUpdatedAtAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - AssetHoldersByUpdatedBlockIdDistinctCountUpdatedAtDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - AssetHoldersByUpdatedBlockIdDistinctCountUpdatedBlockIdAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - AssetHoldersByUpdatedBlockIdDistinctCountUpdatedBlockIdDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - AssetHoldersByUpdatedBlockIdMaxAmountAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_AMOUNT_ASC', - AssetHoldersByUpdatedBlockIdMaxAmountDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_AMOUNT_DESC', - AssetHoldersByUpdatedBlockIdMaxAssetIdAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_ASSET_ID_ASC', - AssetHoldersByUpdatedBlockIdMaxAssetIdDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_ASSET_ID_DESC', - AssetHoldersByUpdatedBlockIdMaxCreatedAtAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_ASC', - AssetHoldersByUpdatedBlockIdMaxCreatedAtDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_DESC', - AssetHoldersByUpdatedBlockIdMaxCreatedBlockIdAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - AssetHoldersByUpdatedBlockIdMaxCreatedBlockIdDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - AssetHoldersByUpdatedBlockIdMaxIdentityIdAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_IDENTITY_ID_ASC', - AssetHoldersByUpdatedBlockIdMaxIdentityIdDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_IDENTITY_ID_DESC', - AssetHoldersByUpdatedBlockIdMaxIdAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_ID_ASC', - AssetHoldersByUpdatedBlockIdMaxIdDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_ID_DESC', - AssetHoldersByUpdatedBlockIdMaxUpdatedAtAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - AssetHoldersByUpdatedBlockIdMaxUpdatedAtDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - AssetHoldersByUpdatedBlockIdMaxUpdatedBlockIdAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - AssetHoldersByUpdatedBlockIdMaxUpdatedBlockIdDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - AssetHoldersByUpdatedBlockIdMinAmountAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_AMOUNT_ASC', - AssetHoldersByUpdatedBlockIdMinAmountDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_AMOUNT_DESC', - AssetHoldersByUpdatedBlockIdMinAssetIdAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_ASSET_ID_ASC', - AssetHoldersByUpdatedBlockIdMinAssetIdDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_ASSET_ID_DESC', - AssetHoldersByUpdatedBlockIdMinCreatedAtAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_ASC', - AssetHoldersByUpdatedBlockIdMinCreatedAtDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_DESC', - AssetHoldersByUpdatedBlockIdMinCreatedBlockIdAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - AssetHoldersByUpdatedBlockIdMinCreatedBlockIdDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - AssetHoldersByUpdatedBlockIdMinIdentityIdAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_IDENTITY_ID_ASC', - AssetHoldersByUpdatedBlockIdMinIdentityIdDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_IDENTITY_ID_DESC', - AssetHoldersByUpdatedBlockIdMinIdAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_ID_ASC', - AssetHoldersByUpdatedBlockIdMinIdDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_ID_DESC', - AssetHoldersByUpdatedBlockIdMinUpdatedAtAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - AssetHoldersByUpdatedBlockIdMinUpdatedAtDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - AssetHoldersByUpdatedBlockIdMinUpdatedBlockIdAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - AssetHoldersByUpdatedBlockIdMinUpdatedBlockIdDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - AssetHoldersByUpdatedBlockIdStddevPopulationAmountAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_AMOUNT_ASC', - AssetHoldersByUpdatedBlockIdStddevPopulationAmountDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_AMOUNT_DESC', - AssetHoldersByUpdatedBlockIdStddevPopulationAssetIdAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_ASC', - AssetHoldersByUpdatedBlockIdStddevPopulationAssetIdDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_DESC', - AssetHoldersByUpdatedBlockIdStddevPopulationCreatedAtAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - AssetHoldersByUpdatedBlockIdStddevPopulationCreatedAtDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - AssetHoldersByUpdatedBlockIdStddevPopulationCreatedBlockIdAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - AssetHoldersByUpdatedBlockIdStddevPopulationCreatedBlockIdDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - AssetHoldersByUpdatedBlockIdStddevPopulationIdentityIdAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_IDENTITY_ID_ASC', - AssetHoldersByUpdatedBlockIdStddevPopulationIdentityIdDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_IDENTITY_ID_DESC', - AssetHoldersByUpdatedBlockIdStddevPopulationIdAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - AssetHoldersByUpdatedBlockIdStddevPopulationIdDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - AssetHoldersByUpdatedBlockIdStddevPopulationUpdatedAtAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - AssetHoldersByUpdatedBlockIdStddevPopulationUpdatedAtDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - AssetHoldersByUpdatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - AssetHoldersByUpdatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - AssetHoldersByUpdatedBlockIdStddevSampleAmountAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_AMOUNT_ASC', - AssetHoldersByUpdatedBlockIdStddevSampleAmountDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_AMOUNT_DESC', - AssetHoldersByUpdatedBlockIdStddevSampleAssetIdAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_ASC', - AssetHoldersByUpdatedBlockIdStddevSampleAssetIdDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_DESC', - AssetHoldersByUpdatedBlockIdStddevSampleCreatedAtAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - AssetHoldersByUpdatedBlockIdStddevSampleCreatedAtDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - AssetHoldersByUpdatedBlockIdStddevSampleCreatedBlockIdAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - AssetHoldersByUpdatedBlockIdStddevSampleCreatedBlockIdDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - AssetHoldersByUpdatedBlockIdStddevSampleIdentityIdAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_IDENTITY_ID_ASC', - AssetHoldersByUpdatedBlockIdStddevSampleIdentityIdDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_IDENTITY_ID_DESC', - AssetHoldersByUpdatedBlockIdStddevSampleIdAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - AssetHoldersByUpdatedBlockIdStddevSampleIdDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - AssetHoldersByUpdatedBlockIdStddevSampleUpdatedAtAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - AssetHoldersByUpdatedBlockIdStddevSampleUpdatedAtDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - AssetHoldersByUpdatedBlockIdStddevSampleUpdatedBlockIdAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - AssetHoldersByUpdatedBlockIdStddevSampleUpdatedBlockIdDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - AssetHoldersByUpdatedBlockIdSumAmountAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_AMOUNT_ASC', - AssetHoldersByUpdatedBlockIdSumAmountDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_AMOUNT_DESC', - AssetHoldersByUpdatedBlockIdSumAssetIdAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_ASSET_ID_ASC', - AssetHoldersByUpdatedBlockIdSumAssetIdDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_ASSET_ID_DESC', - AssetHoldersByUpdatedBlockIdSumCreatedAtAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_ASC', - AssetHoldersByUpdatedBlockIdSumCreatedAtDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_DESC', - AssetHoldersByUpdatedBlockIdSumCreatedBlockIdAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - AssetHoldersByUpdatedBlockIdSumCreatedBlockIdDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - AssetHoldersByUpdatedBlockIdSumIdentityIdAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_IDENTITY_ID_ASC', - AssetHoldersByUpdatedBlockIdSumIdentityIdDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_IDENTITY_ID_DESC', - AssetHoldersByUpdatedBlockIdSumIdAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_ID_ASC', - AssetHoldersByUpdatedBlockIdSumIdDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_ID_DESC', - AssetHoldersByUpdatedBlockIdSumUpdatedAtAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - AssetHoldersByUpdatedBlockIdSumUpdatedAtDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - AssetHoldersByUpdatedBlockIdSumUpdatedBlockIdAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - AssetHoldersByUpdatedBlockIdSumUpdatedBlockIdDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - AssetHoldersByUpdatedBlockIdVariancePopulationAmountAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_AMOUNT_ASC', - AssetHoldersByUpdatedBlockIdVariancePopulationAmountDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_AMOUNT_DESC', - AssetHoldersByUpdatedBlockIdVariancePopulationAssetIdAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_ASC', - AssetHoldersByUpdatedBlockIdVariancePopulationAssetIdDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_DESC', - AssetHoldersByUpdatedBlockIdVariancePopulationCreatedAtAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - AssetHoldersByUpdatedBlockIdVariancePopulationCreatedAtDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - AssetHoldersByUpdatedBlockIdVariancePopulationCreatedBlockIdAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - AssetHoldersByUpdatedBlockIdVariancePopulationCreatedBlockIdDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - AssetHoldersByUpdatedBlockIdVariancePopulationIdentityIdAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_IDENTITY_ID_ASC', - AssetHoldersByUpdatedBlockIdVariancePopulationIdentityIdDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_IDENTITY_ID_DESC', - AssetHoldersByUpdatedBlockIdVariancePopulationIdAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - AssetHoldersByUpdatedBlockIdVariancePopulationIdDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - AssetHoldersByUpdatedBlockIdVariancePopulationUpdatedAtAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - AssetHoldersByUpdatedBlockIdVariancePopulationUpdatedAtDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - AssetHoldersByUpdatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - AssetHoldersByUpdatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - AssetHoldersByUpdatedBlockIdVarianceSampleAmountAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_AMOUNT_ASC', - AssetHoldersByUpdatedBlockIdVarianceSampleAmountDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_AMOUNT_DESC', - AssetHoldersByUpdatedBlockIdVarianceSampleAssetIdAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_ASC', - AssetHoldersByUpdatedBlockIdVarianceSampleAssetIdDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_DESC', - AssetHoldersByUpdatedBlockIdVarianceSampleCreatedAtAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - AssetHoldersByUpdatedBlockIdVarianceSampleCreatedAtDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - AssetHoldersByUpdatedBlockIdVarianceSampleCreatedBlockIdAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - AssetHoldersByUpdatedBlockIdVarianceSampleCreatedBlockIdDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - AssetHoldersByUpdatedBlockIdVarianceSampleIdentityIdAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_IDENTITY_ID_ASC', - AssetHoldersByUpdatedBlockIdVarianceSampleIdentityIdDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_IDENTITY_ID_DESC', - AssetHoldersByUpdatedBlockIdVarianceSampleIdAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - AssetHoldersByUpdatedBlockIdVarianceSampleIdDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - AssetHoldersByUpdatedBlockIdVarianceSampleUpdatedAtAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - AssetHoldersByUpdatedBlockIdVarianceSampleUpdatedAtDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - AssetHoldersByUpdatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - AssetHoldersByUpdatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdAverageCreatedAtAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdAverageCreatedAtDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdAverageCreatedBlockIdAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdAverageCreatedBlockIdDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdAverageDataAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_AVERAGE_DATA_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdAverageDataDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_AVERAGE_DATA_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdAverageFromAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_AVERAGE_FROM_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdAverageFromDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_AVERAGE_FROM_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdAverageIdAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_AVERAGE_ID_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdAverageIdDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_AVERAGE_ID_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdAverageTickerAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_AVERAGE_TICKER_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdAverageTickerDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_AVERAGE_TICKER_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdAverageToAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_AVERAGE_TO_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdAverageToDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_AVERAGE_TO_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdAverageTypeAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_AVERAGE_TYPE_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdAverageTypeDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_AVERAGE_TYPE_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdAverageUpdatedAtAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdAverageUpdatedAtDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdAverageUpdatedBlockIdAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdAverageUpdatedBlockIdDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdCountAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_COUNT_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdCountDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_COUNT_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdDistinctCountCreatedAtAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdDistinctCountCreatedAtDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdDistinctCountCreatedBlockIdAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdDistinctCountCreatedBlockIdDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdDistinctCountDataAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_DATA_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdDistinctCountDataDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_DATA_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdDistinctCountFromAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_FROM_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdDistinctCountFromDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_FROM_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdDistinctCountIdAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdDistinctCountIdDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdDistinctCountTickerAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TICKER_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdDistinctCountTickerDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TICKER_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdDistinctCountToAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TO_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdDistinctCountToDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TO_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdDistinctCountTypeAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TYPE_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdDistinctCountTypeDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TYPE_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdDistinctCountUpdatedAtAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdDistinctCountUpdatedAtDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdDistinctCountUpdatedBlockIdAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdDistinctCountUpdatedBlockIdDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdMaxCreatedAtAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdMaxCreatedAtDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdMaxCreatedBlockIdAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdMaxCreatedBlockIdDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdMaxDataAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_MAX_DATA_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdMaxDataDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_MAX_DATA_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdMaxFromAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_MAX_FROM_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdMaxFromDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_MAX_FROM_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdMaxIdAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_MAX_ID_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdMaxIdDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_MAX_ID_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdMaxTickerAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_MAX_TICKER_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdMaxTickerDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_MAX_TICKER_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdMaxToAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_MAX_TO_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdMaxToDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_MAX_TO_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdMaxTypeAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_MAX_TYPE_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdMaxTypeDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_MAX_TYPE_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdMaxUpdatedAtAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdMaxUpdatedAtDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdMaxUpdatedBlockIdAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdMaxUpdatedBlockIdDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdMinCreatedAtAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdMinCreatedAtDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdMinCreatedBlockIdAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdMinCreatedBlockIdDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdMinDataAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_MIN_DATA_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdMinDataDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_MIN_DATA_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdMinFromAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_MIN_FROM_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdMinFromDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_MIN_FROM_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdMinIdAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_MIN_ID_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdMinIdDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_MIN_ID_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdMinTickerAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_MIN_TICKER_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdMinTickerDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_MIN_TICKER_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdMinToAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_MIN_TO_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdMinToDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_MIN_TO_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdMinTypeAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_MIN_TYPE_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdMinTypeDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_MIN_TYPE_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdMinUpdatedAtAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdMinUpdatedAtDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdMinUpdatedBlockIdAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdMinUpdatedBlockIdDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdStddevPopulationCreatedAtAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdStddevPopulationCreatedAtDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdStddevPopulationCreatedBlockIdAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdStddevPopulationCreatedBlockIdDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdStddevPopulationDataAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_DATA_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdStddevPopulationDataDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_DATA_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdStddevPopulationFromAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_FROM_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdStddevPopulationFromDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_FROM_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdStddevPopulationIdAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdStddevPopulationIdDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdStddevPopulationTickerAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TICKER_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdStddevPopulationTickerDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TICKER_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdStddevPopulationToAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TO_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdStddevPopulationToDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TO_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdStddevPopulationTypeAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TYPE_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdStddevPopulationTypeDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TYPE_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdStddevPopulationUpdatedAtAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdStddevPopulationUpdatedAtDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdStddevSampleCreatedAtAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdStddevSampleCreatedAtDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdStddevSampleCreatedBlockIdAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdStddevSampleCreatedBlockIdDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdStddevSampleDataAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_DATA_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdStddevSampleDataDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_DATA_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdStddevSampleFromAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_FROM_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdStddevSampleFromDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_FROM_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdStddevSampleIdAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdStddevSampleIdDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdStddevSampleTickerAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TICKER_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdStddevSampleTickerDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TICKER_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdStddevSampleToAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TO_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdStddevSampleToDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TO_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdStddevSampleTypeAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TYPE_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdStddevSampleTypeDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TYPE_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdStddevSampleUpdatedAtAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdStddevSampleUpdatedAtDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdStddevSampleUpdatedBlockIdAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdStddevSampleUpdatedBlockIdDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdSumCreatedAtAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdSumCreatedAtDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdSumCreatedBlockIdAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdSumCreatedBlockIdDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdSumDataAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_SUM_DATA_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdSumDataDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_SUM_DATA_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdSumFromAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_SUM_FROM_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdSumFromDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_SUM_FROM_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdSumIdAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_SUM_ID_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdSumIdDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_SUM_ID_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdSumTickerAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_SUM_TICKER_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdSumTickerDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_SUM_TICKER_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdSumToAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_SUM_TO_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdSumToDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_SUM_TO_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdSumTypeAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_SUM_TYPE_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdSumTypeDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_SUM_TYPE_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdSumUpdatedAtAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdSumUpdatedAtDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdSumUpdatedBlockIdAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdSumUpdatedBlockIdDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdVariancePopulationCreatedAtAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdVariancePopulationCreatedAtDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdVariancePopulationCreatedBlockIdAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdVariancePopulationCreatedBlockIdDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdVariancePopulationDataAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_DATA_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdVariancePopulationDataDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_DATA_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdVariancePopulationFromAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_FROM_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdVariancePopulationFromDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_FROM_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdVariancePopulationIdAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdVariancePopulationIdDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdVariancePopulationTickerAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TICKER_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdVariancePopulationTickerDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TICKER_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdVariancePopulationToAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TO_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdVariancePopulationToDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TO_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdVariancePopulationTypeAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TYPE_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdVariancePopulationTypeDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TYPE_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdVariancePopulationUpdatedAtAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdVariancePopulationUpdatedAtDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdVarianceSampleCreatedAtAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdVarianceSampleCreatedAtDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdVarianceSampleCreatedBlockIdAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdVarianceSampleCreatedBlockIdDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdVarianceSampleDataAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_DATA_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdVarianceSampleDataDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_DATA_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdVarianceSampleFromAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_FROM_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdVarianceSampleFromDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_FROM_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdVarianceSampleIdAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdVarianceSampleIdDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdVarianceSampleTickerAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TICKER_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdVarianceSampleTickerDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TICKER_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdVarianceSampleToAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TO_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdVarianceSampleToDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TO_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdVarianceSampleTypeAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TYPE_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdVarianceSampleTypeDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TYPE_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdVarianceSampleUpdatedAtAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdVarianceSampleUpdatedAtDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - AssetPendingOwnershipTransfersByCreatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - AssetPendingOwnershipTransfersByCreatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdAverageCreatedAtAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdAverageCreatedAtDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdAverageCreatedBlockIdAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdAverageCreatedBlockIdDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdAverageDataAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_AVERAGE_DATA_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdAverageDataDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_AVERAGE_DATA_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdAverageFromAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_AVERAGE_FROM_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdAverageFromDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_AVERAGE_FROM_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdAverageIdAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdAverageIdDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdAverageTickerAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_AVERAGE_TICKER_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdAverageTickerDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_AVERAGE_TICKER_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdAverageToAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_AVERAGE_TO_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdAverageToDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_AVERAGE_TO_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdAverageTypeAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_AVERAGE_TYPE_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdAverageTypeDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_AVERAGE_TYPE_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdAverageUpdatedAtAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdAverageUpdatedAtDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdAverageUpdatedBlockIdAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdAverageUpdatedBlockIdDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdCountAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_COUNT_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdCountDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_COUNT_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdDistinctCountCreatedAtAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdDistinctCountCreatedAtDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdDistinctCountCreatedBlockIdAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdDistinctCountCreatedBlockIdDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdDistinctCountDataAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_DATA_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdDistinctCountDataDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_DATA_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdDistinctCountFromAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_FROM_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdDistinctCountFromDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_FROM_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdDistinctCountIdAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdDistinctCountIdDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdDistinctCountTickerAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TICKER_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdDistinctCountTickerDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TICKER_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdDistinctCountToAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TO_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdDistinctCountToDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TO_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdDistinctCountTypeAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TYPE_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdDistinctCountTypeDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TYPE_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdDistinctCountUpdatedAtAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdDistinctCountUpdatedAtDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdDistinctCountUpdatedBlockIdAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdDistinctCountUpdatedBlockIdDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdMaxCreatedAtAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdMaxCreatedAtDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdMaxCreatedBlockIdAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdMaxCreatedBlockIdDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdMaxDataAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_MAX_DATA_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdMaxDataDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_MAX_DATA_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdMaxFromAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_MAX_FROM_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdMaxFromDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_MAX_FROM_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdMaxIdAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_MAX_ID_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdMaxIdDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_MAX_ID_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdMaxTickerAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_MAX_TICKER_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdMaxTickerDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_MAX_TICKER_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdMaxToAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_MAX_TO_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdMaxToDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_MAX_TO_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdMaxTypeAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_MAX_TYPE_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdMaxTypeDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_MAX_TYPE_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdMaxUpdatedAtAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdMaxUpdatedAtDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdMaxUpdatedBlockIdAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdMaxUpdatedBlockIdDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdMinCreatedAtAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdMinCreatedAtDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdMinCreatedBlockIdAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdMinCreatedBlockIdDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdMinDataAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_MIN_DATA_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdMinDataDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_MIN_DATA_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdMinFromAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_MIN_FROM_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdMinFromDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_MIN_FROM_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdMinIdAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_MIN_ID_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdMinIdDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_MIN_ID_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdMinTickerAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_MIN_TICKER_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdMinTickerDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_MIN_TICKER_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdMinToAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_MIN_TO_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdMinToDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_MIN_TO_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdMinTypeAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_MIN_TYPE_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdMinTypeDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_MIN_TYPE_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdMinUpdatedAtAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdMinUpdatedAtDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdMinUpdatedBlockIdAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdMinUpdatedBlockIdDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdStddevPopulationCreatedAtAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdStddevPopulationCreatedAtDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdStddevPopulationCreatedBlockIdAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdStddevPopulationCreatedBlockIdDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdStddevPopulationDataAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_DATA_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdStddevPopulationDataDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_DATA_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdStddevPopulationFromAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_FROM_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdStddevPopulationFromDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_FROM_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdStddevPopulationIdAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdStddevPopulationIdDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdStddevPopulationTickerAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TICKER_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdStddevPopulationTickerDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TICKER_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdStddevPopulationToAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TO_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdStddevPopulationToDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TO_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdStddevPopulationTypeAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TYPE_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdStddevPopulationTypeDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TYPE_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdStddevPopulationUpdatedAtAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdStddevPopulationUpdatedAtDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdStddevSampleCreatedAtAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdStddevSampleCreatedAtDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdStddevSampleCreatedBlockIdAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdStddevSampleCreatedBlockIdDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdStddevSampleDataAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_DATA_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdStddevSampleDataDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_DATA_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdStddevSampleFromAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_FROM_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdStddevSampleFromDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_FROM_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdStddevSampleIdAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdStddevSampleIdDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdStddevSampleTickerAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TICKER_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdStddevSampleTickerDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TICKER_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdStddevSampleToAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TO_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdStddevSampleToDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TO_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdStddevSampleTypeAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TYPE_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdStddevSampleTypeDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TYPE_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdStddevSampleUpdatedAtAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdStddevSampleUpdatedAtDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdStddevSampleUpdatedBlockIdAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdStddevSampleUpdatedBlockIdDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdSumCreatedAtAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdSumCreatedAtDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdSumCreatedBlockIdAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdSumCreatedBlockIdDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdSumDataAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_SUM_DATA_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdSumDataDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_SUM_DATA_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdSumFromAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_SUM_FROM_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdSumFromDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_SUM_FROM_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdSumIdAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_SUM_ID_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdSumIdDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_SUM_ID_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdSumTickerAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_SUM_TICKER_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdSumTickerDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_SUM_TICKER_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdSumToAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_SUM_TO_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdSumToDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_SUM_TO_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdSumTypeAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_SUM_TYPE_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdSumTypeDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_SUM_TYPE_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdSumUpdatedAtAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdSumUpdatedAtDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdSumUpdatedBlockIdAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdSumUpdatedBlockIdDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdVariancePopulationCreatedAtAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdVariancePopulationCreatedAtDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdVariancePopulationCreatedBlockIdAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdVariancePopulationCreatedBlockIdDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdVariancePopulationDataAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_DATA_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdVariancePopulationDataDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_DATA_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdVariancePopulationFromAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_FROM_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdVariancePopulationFromDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_FROM_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdVariancePopulationIdAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdVariancePopulationIdDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdVariancePopulationTickerAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TICKER_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdVariancePopulationTickerDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TICKER_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdVariancePopulationToAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TO_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdVariancePopulationToDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TO_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdVariancePopulationTypeAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TYPE_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdVariancePopulationTypeDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TYPE_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdVariancePopulationUpdatedAtAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdVariancePopulationUpdatedAtDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdVarianceSampleCreatedAtAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdVarianceSampleCreatedAtDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdVarianceSampleCreatedBlockIdAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdVarianceSampleCreatedBlockIdDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdVarianceSampleDataAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_DATA_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdVarianceSampleDataDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_DATA_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdVarianceSampleFromAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_FROM_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdVarianceSampleFromDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_FROM_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdVarianceSampleIdAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdVarianceSampleIdDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdVarianceSampleTickerAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TICKER_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdVarianceSampleTickerDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TICKER_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdVarianceSampleToAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TO_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdVarianceSampleToDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TO_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdVarianceSampleTypeAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TYPE_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdVarianceSampleTypeDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TYPE_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdVarianceSampleUpdatedAtAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdVarianceSampleUpdatedAtDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - AssetPendingOwnershipTransfersByUpdatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - AssetPendingOwnershipTransfersByUpdatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'ASSET_PENDING_OWNERSHIP_TRANSFERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - AssetTransactionsByCreatedBlockIdAverageAmountAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_AMOUNT_ASC', - AssetTransactionsByCreatedBlockIdAverageAmountDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_AMOUNT_DESC', - AssetTransactionsByCreatedBlockIdAverageAssetIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_ASSET_ID_ASC', - AssetTransactionsByCreatedBlockIdAverageAssetIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_ASSET_ID_DESC', - AssetTransactionsByCreatedBlockIdAverageCreatedAtAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - AssetTransactionsByCreatedBlockIdAverageCreatedAtDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - AssetTransactionsByCreatedBlockIdAverageCreatedBlockIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - AssetTransactionsByCreatedBlockIdAverageCreatedBlockIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - AssetTransactionsByCreatedBlockIdAverageDatetimeAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_DATETIME_ASC', - AssetTransactionsByCreatedBlockIdAverageDatetimeDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_DATETIME_DESC', - AssetTransactionsByCreatedBlockIdAverageEventIdxAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_IDX_ASC', - AssetTransactionsByCreatedBlockIdAverageEventIdxDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_IDX_DESC', - AssetTransactionsByCreatedBlockIdAverageEventIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_ID_ASC', - AssetTransactionsByCreatedBlockIdAverageEventIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_ID_DESC', - AssetTransactionsByCreatedBlockIdAverageExtrinsicIdxAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_EXTRINSIC_IDX_ASC', - AssetTransactionsByCreatedBlockIdAverageExtrinsicIdxDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_EXTRINSIC_IDX_DESC', - AssetTransactionsByCreatedBlockIdAverageFromPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_FROM_PORTFOLIO_ID_ASC', - AssetTransactionsByCreatedBlockIdAverageFromPortfolioIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_FROM_PORTFOLIO_ID_DESC', - AssetTransactionsByCreatedBlockIdAverageFundingRoundAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_FUNDING_ROUND_ASC', - AssetTransactionsByCreatedBlockIdAverageFundingRoundDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_FUNDING_ROUND_DESC', - AssetTransactionsByCreatedBlockIdAverageIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_ID_ASC', - AssetTransactionsByCreatedBlockIdAverageIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_ID_DESC', - AssetTransactionsByCreatedBlockIdAverageInstructionIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_INSTRUCTION_ID_ASC', - AssetTransactionsByCreatedBlockIdAverageInstructionIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_INSTRUCTION_ID_DESC', - AssetTransactionsByCreatedBlockIdAverageInstructionMemoAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_INSTRUCTION_MEMO_ASC', - AssetTransactionsByCreatedBlockIdAverageInstructionMemoDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_INSTRUCTION_MEMO_DESC', - AssetTransactionsByCreatedBlockIdAverageNftIdsAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_NFT_IDS_ASC', - AssetTransactionsByCreatedBlockIdAverageNftIdsDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_NFT_IDS_DESC', - AssetTransactionsByCreatedBlockIdAverageToPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_TO_PORTFOLIO_ID_ASC', - AssetTransactionsByCreatedBlockIdAverageToPortfolioIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_TO_PORTFOLIO_ID_DESC', - AssetTransactionsByCreatedBlockIdAverageUpdatedAtAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - AssetTransactionsByCreatedBlockIdAverageUpdatedAtDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - AssetTransactionsByCreatedBlockIdAverageUpdatedBlockIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - AssetTransactionsByCreatedBlockIdAverageUpdatedBlockIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - AssetTransactionsByCreatedBlockIdCountAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_COUNT_ASC', - AssetTransactionsByCreatedBlockIdCountDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_COUNT_DESC', - AssetTransactionsByCreatedBlockIdDistinctCountAmountAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_AMOUNT_ASC', - AssetTransactionsByCreatedBlockIdDistinctCountAmountDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_AMOUNT_DESC', - AssetTransactionsByCreatedBlockIdDistinctCountAssetIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_ASC', - AssetTransactionsByCreatedBlockIdDistinctCountAssetIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_DESC', - AssetTransactionsByCreatedBlockIdDistinctCountCreatedAtAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - AssetTransactionsByCreatedBlockIdDistinctCountCreatedAtDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - AssetTransactionsByCreatedBlockIdDistinctCountCreatedBlockIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - AssetTransactionsByCreatedBlockIdDistinctCountCreatedBlockIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - AssetTransactionsByCreatedBlockIdDistinctCountDatetimeAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_ASC', - AssetTransactionsByCreatedBlockIdDistinctCountDatetimeDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_DESC', - AssetTransactionsByCreatedBlockIdDistinctCountEventIdxAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_ASC', - AssetTransactionsByCreatedBlockIdDistinctCountEventIdxDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_DESC', - AssetTransactionsByCreatedBlockIdDistinctCountEventIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_ID_ASC', - AssetTransactionsByCreatedBlockIdDistinctCountEventIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_ID_DESC', - AssetTransactionsByCreatedBlockIdDistinctCountExtrinsicIdxAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EXTRINSIC_IDX_ASC', - AssetTransactionsByCreatedBlockIdDistinctCountExtrinsicIdxDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EXTRINSIC_IDX_DESC', - AssetTransactionsByCreatedBlockIdDistinctCountFromPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_FROM_PORTFOLIO_ID_ASC', - AssetTransactionsByCreatedBlockIdDistinctCountFromPortfolioIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_FROM_PORTFOLIO_ID_DESC', - AssetTransactionsByCreatedBlockIdDistinctCountFundingRoundAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_FUNDING_ROUND_ASC', - AssetTransactionsByCreatedBlockIdDistinctCountFundingRoundDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_FUNDING_ROUND_DESC', - AssetTransactionsByCreatedBlockIdDistinctCountIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - AssetTransactionsByCreatedBlockIdDistinctCountIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - AssetTransactionsByCreatedBlockIdDistinctCountInstructionIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_INSTRUCTION_ID_ASC', - AssetTransactionsByCreatedBlockIdDistinctCountInstructionIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_INSTRUCTION_ID_DESC', - AssetTransactionsByCreatedBlockIdDistinctCountInstructionMemoAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_INSTRUCTION_MEMO_ASC', - AssetTransactionsByCreatedBlockIdDistinctCountInstructionMemoDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_INSTRUCTION_MEMO_DESC', - AssetTransactionsByCreatedBlockIdDistinctCountNftIdsAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_NFT_IDS_ASC', - AssetTransactionsByCreatedBlockIdDistinctCountNftIdsDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_NFT_IDS_DESC', - AssetTransactionsByCreatedBlockIdDistinctCountToPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TO_PORTFOLIO_ID_ASC', - AssetTransactionsByCreatedBlockIdDistinctCountToPortfolioIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TO_PORTFOLIO_ID_DESC', - AssetTransactionsByCreatedBlockIdDistinctCountUpdatedAtAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - AssetTransactionsByCreatedBlockIdDistinctCountUpdatedAtDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - AssetTransactionsByCreatedBlockIdDistinctCountUpdatedBlockIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - AssetTransactionsByCreatedBlockIdDistinctCountUpdatedBlockIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - AssetTransactionsByCreatedBlockIdMaxAmountAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_AMOUNT_ASC', - AssetTransactionsByCreatedBlockIdMaxAmountDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_AMOUNT_DESC', - AssetTransactionsByCreatedBlockIdMaxAssetIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_ASSET_ID_ASC', - AssetTransactionsByCreatedBlockIdMaxAssetIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_ASSET_ID_DESC', - AssetTransactionsByCreatedBlockIdMaxCreatedAtAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_ASC', - AssetTransactionsByCreatedBlockIdMaxCreatedAtDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_DESC', - AssetTransactionsByCreatedBlockIdMaxCreatedBlockIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - AssetTransactionsByCreatedBlockIdMaxCreatedBlockIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - AssetTransactionsByCreatedBlockIdMaxDatetimeAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_DATETIME_ASC', - AssetTransactionsByCreatedBlockIdMaxDatetimeDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_DATETIME_DESC', - AssetTransactionsByCreatedBlockIdMaxEventIdxAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_EVENT_IDX_ASC', - AssetTransactionsByCreatedBlockIdMaxEventIdxDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_EVENT_IDX_DESC', - AssetTransactionsByCreatedBlockIdMaxEventIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_EVENT_ID_ASC', - AssetTransactionsByCreatedBlockIdMaxEventIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_EVENT_ID_DESC', - AssetTransactionsByCreatedBlockIdMaxExtrinsicIdxAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_EXTRINSIC_IDX_ASC', - AssetTransactionsByCreatedBlockIdMaxExtrinsicIdxDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_EXTRINSIC_IDX_DESC', - AssetTransactionsByCreatedBlockIdMaxFromPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_FROM_PORTFOLIO_ID_ASC', - AssetTransactionsByCreatedBlockIdMaxFromPortfolioIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_FROM_PORTFOLIO_ID_DESC', - AssetTransactionsByCreatedBlockIdMaxFundingRoundAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_FUNDING_ROUND_ASC', - AssetTransactionsByCreatedBlockIdMaxFundingRoundDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_FUNDING_ROUND_DESC', - AssetTransactionsByCreatedBlockIdMaxIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_ID_ASC', - AssetTransactionsByCreatedBlockIdMaxIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_ID_DESC', - AssetTransactionsByCreatedBlockIdMaxInstructionIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_INSTRUCTION_ID_ASC', - AssetTransactionsByCreatedBlockIdMaxInstructionIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_INSTRUCTION_ID_DESC', - AssetTransactionsByCreatedBlockIdMaxInstructionMemoAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_INSTRUCTION_MEMO_ASC', - AssetTransactionsByCreatedBlockIdMaxInstructionMemoDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_INSTRUCTION_MEMO_DESC', - AssetTransactionsByCreatedBlockIdMaxNftIdsAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_NFT_IDS_ASC', - AssetTransactionsByCreatedBlockIdMaxNftIdsDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_NFT_IDS_DESC', - AssetTransactionsByCreatedBlockIdMaxToPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_TO_PORTFOLIO_ID_ASC', - AssetTransactionsByCreatedBlockIdMaxToPortfolioIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_TO_PORTFOLIO_ID_DESC', - AssetTransactionsByCreatedBlockIdMaxUpdatedAtAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - AssetTransactionsByCreatedBlockIdMaxUpdatedAtDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - AssetTransactionsByCreatedBlockIdMaxUpdatedBlockIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - AssetTransactionsByCreatedBlockIdMaxUpdatedBlockIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - AssetTransactionsByCreatedBlockIdMinAmountAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_AMOUNT_ASC', - AssetTransactionsByCreatedBlockIdMinAmountDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_AMOUNT_DESC', - AssetTransactionsByCreatedBlockIdMinAssetIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_ASSET_ID_ASC', - AssetTransactionsByCreatedBlockIdMinAssetIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_ASSET_ID_DESC', - AssetTransactionsByCreatedBlockIdMinCreatedAtAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_ASC', - AssetTransactionsByCreatedBlockIdMinCreatedAtDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_DESC', - AssetTransactionsByCreatedBlockIdMinCreatedBlockIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - AssetTransactionsByCreatedBlockIdMinCreatedBlockIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - AssetTransactionsByCreatedBlockIdMinDatetimeAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_DATETIME_ASC', - AssetTransactionsByCreatedBlockIdMinDatetimeDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_DATETIME_DESC', - AssetTransactionsByCreatedBlockIdMinEventIdxAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_EVENT_IDX_ASC', - AssetTransactionsByCreatedBlockIdMinEventIdxDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_EVENT_IDX_DESC', - AssetTransactionsByCreatedBlockIdMinEventIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_EVENT_ID_ASC', - AssetTransactionsByCreatedBlockIdMinEventIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_EVENT_ID_DESC', - AssetTransactionsByCreatedBlockIdMinExtrinsicIdxAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_EXTRINSIC_IDX_ASC', - AssetTransactionsByCreatedBlockIdMinExtrinsicIdxDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_EXTRINSIC_IDX_DESC', - AssetTransactionsByCreatedBlockIdMinFromPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_FROM_PORTFOLIO_ID_ASC', - AssetTransactionsByCreatedBlockIdMinFromPortfolioIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_FROM_PORTFOLIO_ID_DESC', - AssetTransactionsByCreatedBlockIdMinFundingRoundAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_FUNDING_ROUND_ASC', - AssetTransactionsByCreatedBlockIdMinFundingRoundDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_FUNDING_ROUND_DESC', - AssetTransactionsByCreatedBlockIdMinIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_ID_ASC', - AssetTransactionsByCreatedBlockIdMinIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_ID_DESC', - AssetTransactionsByCreatedBlockIdMinInstructionIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_INSTRUCTION_ID_ASC', - AssetTransactionsByCreatedBlockIdMinInstructionIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_INSTRUCTION_ID_DESC', - AssetTransactionsByCreatedBlockIdMinInstructionMemoAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_INSTRUCTION_MEMO_ASC', - AssetTransactionsByCreatedBlockIdMinInstructionMemoDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_INSTRUCTION_MEMO_DESC', - AssetTransactionsByCreatedBlockIdMinNftIdsAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_NFT_IDS_ASC', - AssetTransactionsByCreatedBlockIdMinNftIdsDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_NFT_IDS_DESC', - AssetTransactionsByCreatedBlockIdMinToPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_TO_PORTFOLIO_ID_ASC', - AssetTransactionsByCreatedBlockIdMinToPortfolioIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_TO_PORTFOLIO_ID_DESC', - AssetTransactionsByCreatedBlockIdMinUpdatedAtAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - AssetTransactionsByCreatedBlockIdMinUpdatedAtDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - AssetTransactionsByCreatedBlockIdMinUpdatedBlockIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - AssetTransactionsByCreatedBlockIdMinUpdatedBlockIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - AssetTransactionsByCreatedBlockIdStddevPopulationAmountAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_AMOUNT_ASC', - AssetTransactionsByCreatedBlockIdStddevPopulationAmountDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_AMOUNT_DESC', - AssetTransactionsByCreatedBlockIdStddevPopulationAssetIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_ASC', - AssetTransactionsByCreatedBlockIdStddevPopulationAssetIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_DESC', - AssetTransactionsByCreatedBlockIdStddevPopulationCreatedAtAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - AssetTransactionsByCreatedBlockIdStddevPopulationCreatedAtDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - AssetTransactionsByCreatedBlockIdStddevPopulationCreatedBlockIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - AssetTransactionsByCreatedBlockIdStddevPopulationCreatedBlockIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - AssetTransactionsByCreatedBlockIdStddevPopulationDatetimeAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_DATETIME_ASC', - AssetTransactionsByCreatedBlockIdStddevPopulationDatetimeDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_DATETIME_DESC', - AssetTransactionsByCreatedBlockIdStddevPopulationEventIdxAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_ASC', - AssetTransactionsByCreatedBlockIdStddevPopulationEventIdxDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_DESC', - AssetTransactionsByCreatedBlockIdStddevPopulationEventIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_ID_ASC', - AssetTransactionsByCreatedBlockIdStddevPopulationEventIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_ID_DESC', - AssetTransactionsByCreatedBlockIdStddevPopulationExtrinsicIdxAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EXTRINSIC_IDX_ASC', - AssetTransactionsByCreatedBlockIdStddevPopulationExtrinsicIdxDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EXTRINSIC_IDX_DESC', - AssetTransactionsByCreatedBlockIdStddevPopulationFromPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_FROM_PORTFOLIO_ID_ASC', - AssetTransactionsByCreatedBlockIdStddevPopulationFromPortfolioIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_FROM_PORTFOLIO_ID_DESC', - AssetTransactionsByCreatedBlockIdStddevPopulationFundingRoundAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_FUNDING_ROUND_ASC', - AssetTransactionsByCreatedBlockIdStddevPopulationFundingRoundDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_FUNDING_ROUND_DESC', - AssetTransactionsByCreatedBlockIdStddevPopulationIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - AssetTransactionsByCreatedBlockIdStddevPopulationIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - AssetTransactionsByCreatedBlockIdStddevPopulationInstructionIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_INSTRUCTION_ID_ASC', - AssetTransactionsByCreatedBlockIdStddevPopulationInstructionIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_INSTRUCTION_ID_DESC', - AssetTransactionsByCreatedBlockIdStddevPopulationInstructionMemoAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_INSTRUCTION_MEMO_ASC', - AssetTransactionsByCreatedBlockIdStddevPopulationInstructionMemoDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_INSTRUCTION_MEMO_DESC', - AssetTransactionsByCreatedBlockIdStddevPopulationNftIdsAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_NFT_IDS_ASC', - AssetTransactionsByCreatedBlockIdStddevPopulationNftIdsDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_NFT_IDS_DESC', - AssetTransactionsByCreatedBlockIdStddevPopulationToPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TO_PORTFOLIO_ID_ASC', - AssetTransactionsByCreatedBlockIdStddevPopulationToPortfolioIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TO_PORTFOLIO_ID_DESC', - AssetTransactionsByCreatedBlockIdStddevPopulationUpdatedAtAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - AssetTransactionsByCreatedBlockIdStddevPopulationUpdatedAtDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - AssetTransactionsByCreatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - AssetTransactionsByCreatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - AssetTransactionsByCreatedBlockIdStddevSampleAmountAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_AMOUNT_ASC', - AssetTransactionsByCreatedBlockIdStddevSampleAmountDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_AMOUNT_DESC', - AssetTransactionsByCreatedBlockIdStddevSampleAssetIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_ASC', - AssetTransactionsByCreatedBlockIdStddevSampleAssetIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_DESC', - AssetTransactionsByCreatedBlockIdStddevSampleCreatedAtAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - AssetTransactionsByCreatedBlockIdStddevSampleCreatedAtDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - AssetTransactionsByCreatedBlockIdStddevSampleCreatedBlockIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - AssetTransactionsByCreatedBlockIdStddevSampleCreatedBlockIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - AssetTransactionsByCreatedBlockIdStddevSampleDatetimeAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_DATETIME_ASC', - AssetTransactionsByCreatedBlockIdStddevSampleDatetimeDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_DATETIME_DESC', - AssetTransactionsByCreatedBlockIdStddevSampleEventIdxAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', - AssetTransactionsByCreatedBlockIdStddevSampleEventIdxDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', - AssetTransactionsByCreatedBlockIdStddevSampleEventIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_ID_ASC', - AssetTransactionsByCreatedBlockIdStddevSampleEventIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_ID_DESC', - AssetTransactionsByCreatedBlockIdStddevSampleExtrinsicIdxAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EXTRINSIC_IDX_ASC', - AssetTransactionsByCreatedBlockIdStddevSampleExtrinsicIdxDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EXTRINSIC_IDX_DESC', - AssetTransactionsByCreatedBlockIdStddevSampleFromPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_FROM_PORTFOLIO_ID_ASC', - AssetTransactionsByCreatedBlockIdStddevSampleFromPortfolioIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_FROM_PORTFOLIO_ID_DESC', - AssetTransactionsByCreatedBlockIdStddevSampleFundingRoundAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_FUNDING_ROUND_ASC', - AssetTransactionsByCreatedBlockIdStddevSampleFundingRoundDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_FUNDING_ROUND_DESC', - AssetTransactionsByCreatedBlockIdStddevSampleIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - AssetTransactionsByCreatedBlockIdStddevSampleIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - AssetTransactionsByCreatedBlockIdStddevSampleInstructionIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_INSTRUCTION_ID_ASC', - AssetTransactionsByCreatedBlockIdStddevSampleInstructionIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_INSTRUCTION_ID_DESC', - AssetTransactionsByCreatedBlockIdStddevSampleInstructionMemoAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_INSTRUCTION_MEMO_ASC', - AssetTransactionsByCreatedBlockIdStddevSampleInstructionMemoDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_INSTRUCTION_MEMO_DESC', - AssetTransactionsByCreatedBlockIdStddevSampleNftIdsAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_NFT_IDS_ASC', - AssetTransactionsByCreatedBlockIdStddevSampleNftIdsDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_NFT_IDS_DESC', - AssetTransactionsByCreatedBlockIdStddevSampleToPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TO_PORTFOLIO_ID_ASC', - AssetTransactionsByCreatedBlockIdStddevSampleToPortfolioIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TO_PORTFOLIO_ID_DESC', - AssetTransactionsByCreatedBlockIdStddevSampleUpdatedAtAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - AssetTransactionsByCreatedBlockIdStddevSampleUpdatedAtDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - AssetTransactionsByCreatedBlockIdStddevSampleUpdatedBlockIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - AssetTransactionsByCreatedBlockIdStddevSampleUpdatedBlockIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - AssetTransactionsByCreatedBlockIdSumAmountAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_AMOUNT_ASC', - AssetTransactionsByCreatedBlockIdSumAmountDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_AMOUNT_DESC', - AssetTransactionsByCreatedBlockIdSumAssetIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_ASSET_ID_ASC', - AssetTransactionsByCreatedBlockIdSumAssetIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_ASSET_ID_DESC', - AssetTransactionsByCreatedBlockIdSumCreatedAtAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_ASC', - AssetTransactionsByCreatedBlockIdSumCreatedAtDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_DESC', - AssetTransactionsByCreatedBlockIdSumCreatedBlockIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - AssetTransactionsByCreatedBlockIdSumCreatedBlockIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - AssetTransactionsByCreatedBlockIdSumDatetimeAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_DATETIME_ASC', - AssetTransactionsByCreatedBlockIdSumDatetimeDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_DATETIME_DESC', - AssetTransactionsByCreatedBlockIdSumEventIdxAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_EVENT_IDX_ASC', - AssetTransactionsByCreatedBlockIdSumEventIdxDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_EVENT_IDX_DESC', - AssetTransactionsByCreatedBlockIdSumEventIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_EVENT_ID_ASC', - AssetTransactionsByCreatedBlockIdSumEventIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_EVENT_ID_DESC', - AssetTransactionsByCreatedBlockIdSumExtrinsicIdxAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_EXTRINSIC_IDX_ASC', - AssetTransactionsByCreatedBlockIdSumExtrinsicIdxDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_EXTRINSIC_IDX_DESC', - AssetTransactionsByCreatedBlockIdSumFromPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_FROM_PORTFOLIO_ID_ASC', - AssetTransactionsByCreatedBlockIdSumFromPortfolioIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_FROM_PORTFOLIO_ID_DESC', - AssetTransactionsByCreatedBlockIdSumFundingRoundAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_FUNDING_ROUND_ASC', - AssetTransactionsByCreatedBlockIdSumFundingRoundDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_FUNDING_ROUND_DESC', - AssetTransactionsByCreatedBlockIdSumIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_ID_ASC', - AssetTransactionsByCreatedBlockIdSumIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_ID_DESC', - AssetTransactionsByCreatedBlockIdSumInstructionIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_INSTRUCTION_ID_ASC', - AssetTransactionsByCreatedBlockIdSumInstructionIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_INSTRUCTION_ID_DESC', - AssetTransactionsByCreatedBlockIdSumInstructionMemoAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_INSTRUCTION_MEMO_ASC', - AssetTransactionsByCreatedBlockIdSumInstructionMemoDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_INSTRUCTION_MEMO_DESC', - AssetTransactionsByCreatedBlockIdSumNftIdsAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_NFT_IDS_ASC', - AssetTransactionsByCreatedBlockIdSumNftIdsDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_NFT_IDS_DESC', - AssetTransactionsByCreatedBlockIdSumToPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_TO_PORTFOLIO_ID_ASC', - AssetTransactionsByCreatedBlockIdSumToPortfolioIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_TO_PORTFOLIO_ID_DESC', - AssetTransactionsByCreatedBlockIdSumUpdatedAtAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - AssetTransactionsByCreatedBlockIdSumUpdatedAtDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - AssetTransactionsByCreatedBlockIdSumUpdatedBlockIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - AssetTransactionsByCreatedBlockIdSumUpdatedBlockIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - AssetTransactionsByCreatedBlockIdVariancePopulationAmountAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_AMOUNT_ASC', - AssetTransactionsByCreatedBlockIdVariancePopulationAmountDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_AMOUNT_DESC', - AssetTransactionsByCreatedBlockIdVariancePopulationAssetIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_ASC', - AssetTransactionsByCreatedBlockIdVariancePopulationAssetIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_DESC', - AssetTransactionsByCreatedBlockIdVariancePopulationCreatedAtAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - AssetTransactionsByCreatedBlockIdVariancePopulationCreatedAtDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - AssetTransactionsByCreatedBlockIdVariancePopulationCreatedBlockIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - AssetTransactionsByCreatedBlockIdVariancePopulationCreatedBlockIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - AssetTransactionsByCreatedBlockIdVariancePopulationDatetimeAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_DATETIME_ASC', - AssetTransactionsByCreatedBlockIdVariancePopulationDatetimeDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_DATETIME_DESC', - AssetTransactionsByCreatedBlockIdVariancePopulationEventIdxAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', - AssetTransactionsByCreatedBlockIdVariancePopulationEventIdxDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', - AssetTransactionsByCreatedBlockIdVariancePopulationEventIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_ID_ASC', - AssetTransactionsByCreatedBlockIdVariancePopulationEventIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_ID_DESC', - AssetTransactionsByCreatedBlockIdVariancePopulationExtrinsicIdxAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EXTRINSIC_IDX_ASC', - AssetTransactionsByCreatedBlockIdVariancePopulationExtrinsicIdxDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EXTRINSIC_IDX_DESC', - AssetTransactionsByCreatedBlockIdVariancePopulationFromPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_FROM_PORTFOLIO_ID_ASC', - AssetTransactionsByCreatedBlockIdVariancePopulationFromPortfolioIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_FROM_PORTFOLIO_ID_DESC', - AssetTransactionsByCreatedBlockIdVariancePopulationFundingRoundAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_FUNDING_ROUND_ASC', - AssetTransactionsByCreatedBlockIdVariancePopulationFundingRoundDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_FUNDING_ROUND_DESC', - AssetTransactionsByCreatedBlockIdVariancePopulationIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - AssetTransactionsByCreatedBlockIdVariancePopulationIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - AssetTransactionsByCreatedBlockIdVariancePopulationInstructionIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_INSTRUCTION_ID_ASC', - AssetTransactionsByCreatedBlockIdVariancePopulationInstructionIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_INSTRUCTION_ID_DESC', - AssetTransactionsByCreatedBlockIdVariancePopulationInstructionMemoAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_INSTRUCTION_MEMO_ASC', - AssetTransactionsByCreatedBlockIdVariancePopulationInstructionMemoDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_INSTRUCTION_MEMO_DESC', - AssetTransactionsByCreatedBlockIdVariancePopulationNftIdsAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_NFT_IDS_ASC', - AssetTransactionsByCreatedBlockIdVariancePopulationNftIdsDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_NFT_IDS_DESC', - AssetTransactionsByCreatedBlockIdVariancePopulationToPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TO_PORTFOLIO_ID_ASC', - AssetTransactionsByCreatedBlockIdVariancePopulationToPortfolioIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TO_PORTFOLIO_ID_DESC', - AssetTransactionsByCreatedBlockIdVariancePopulationUpdatedAtAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - AssetTransactionsByCreatedBlockIdVariancePopulationUpdatedAtDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - AssetTransactionsByCreatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - AssetTransactionsByCreatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - AssetTransactionsByCreatedBlockIdVarianceSampleAmountAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_AMOUNT_ASC', - AssetTransactionsByCreatedBlockIdVarianceSampleAmountDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_AMOUNT_DESC', - AssetTransactionsByCreatedBlockIdVarianceSampleAssetIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_ASC', - AssetTransactionsByCreatedBlockIdVarianceSampleAssetIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_DESC', - AssetTransactionsByCreatedBlockIdVarianceSampleCreatedAtAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - AssetTransactionsByCreatedBlockIdVarianceSampleCreatedAtDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - AssetTransactionsByCreatedBlockIdVarianceSampleCreatedBlockIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - AssetTransactionsByCreatedBlockIdVarianceSampleCreatedBlockIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - AssetTransactionsByCreatedBlockIdVarianceSampleDatetimeAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_DATETIME_ASC', - AssetTransactionsByCreatedBlockIdVarianceSampleDatetimeDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_DATETIME_DESC', - AssetTransactionsByCreatedBlockIdVarianceSampleEventIdxAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', - AssetTransactionsByCreatedBlockIdVarianceSampleEventIdxDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', - AssetTransactionsByCreatedBlockIdVarianceSampleEventIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_ID_ASC', - AssetTransactionsByCreatedBlockIdVarianceSampleEventIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_ID_DESC', - AssetTransactionsByCreatedBlockIdVarianceSampleExtrinsicIdxAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EXTRINSIC_IDX_ASC', - AssetTransactionsByCreatedBlockIdVarianceSampleExtrinsicIdxDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EXTRINSIC_IDX_DESC', - AssetTransactionsByCreatedBlockIdVarianceSampleFromPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_FROM_PORTFOLIO_ID_ASC', - AssetTransactionsByCreatedBlockIdVarianceSampleFromPortfolioIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_FROM_PORTFOLIO_ID_DESC', - AssetTransactionsByCreatedBlockIdVarianceSampleFundingRoundAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_FUNDING_ROUND_ASC', - AssetTransactionsByCreatedBlockIdVarianceSampleFundingRoundDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_FUNDING_ROUND_DESC', - AssetTransactionsByCreatedBlockIdVarianceSampleIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - AssetTransactionsByCreatedBlockIdVarianceSampleIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - AssetTransactionsByCreatedBlockIdVarianceSampleInstructionIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_INSTRUCTION_ID_ASC', - AssetTransactionsByCreatedBlockIdVarianceSampleInstructionIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_INSTRUCTION_ID_DESC', - AssetTransactionsByCreatedBlockIdVarianceSampleInstructionMemoAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_INSTRUCTION_MEMO_ASC', - AssetTransactionsByCreatedBlockIdVarianceSampleInstructionMemoDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_INSTRUCTION_MEMO_DESC', - AssetTransactionsByCreatedBlockIdVarianceSampleNftIdsAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_NFT_IDS_ASC', - AssetTransactionsByCreatedBlockIdVarianceSampleNftIdsDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_NFT_IDS_DESC', - AssetTransactionsByCreatedBlockIdVarianceSampleToPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TO_PORTFOLIO_ID_ASC', - AssetTransactionsByCreatedBlockIdVarianceSampleToPortfolioIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TO_PORTFOLIO_ID_DESC', - AssetTransactionsByCreatedBlockIdVarianceSampleUpdatedAtAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - AssetTransactionsByCreatedBlockIdVarianceSampleUpdatedAtDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - AssetTransactionsByCreatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - AssetTransactionsByCreatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'ASSET_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - AssetTransactionsByUpdatedBlockIdAverageAmountAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_AMOUNT_ASC', - AssetTransactionsByUpdatedBlockIdAverageAmountDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_AMOUNT_DESC', - AssetTransactionsByUpdatedBlockIdAverageAssetIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_ASSET_ID_ASC', - AssetTransactionsByUpdatedBlockIdAverageAssetIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_ASSET_ID_DESC', - AssetTransactionsByUpdatedBlockIdAverageCreatedAtAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - AssetTransactionsByUpdatedBlockIdAverageCreatedAtDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - AssetTransactionsByUpdatedBlockIdAverageCreatedBlockIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - AssetTransactionsByUpdatedBlockIdAverageCreatedBlockIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - AssetTransactionsByUpdatedBlockIdAverageDatetimeAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_DATETIME_ASC', - AssetTransactionsByUpdatedBlockIdAverageDatetimeDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_DATETIME_DESC', - AssetTransactionsByUpdatedBlockIdAverageEventIdxAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_IDX_ASC', - AssetTransactionsByUpdatedBlockIdAverageEventIdxDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_IDX_DESC', - AssetTransactionsByUpdatedBlockIdAverageEventIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_ID_ASC', - AssetTransactionsByUpdatedBlockIdAverageEventIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_ID_DESC', - AssetTransactionsByUpdatedBlockIdAverageExtrinsicIdxAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_EXTRINSIC_IDX_ASC', - AssetTransactionsByUpdatedBlockIdAverageExtrinsicIdxDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_EXTRINSIC_IDX_DESC', - AssetTransactionsByUpdatedBlockIdAverageFromPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_FROM_PORTFOLIO_ID_ASC', - AssetTransactionsByUpdatedBlockIdAverageFromPortfolioIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_FROM_PORTFOLIO_ID_DESC', - AssetTransactionsByUpdatedBlockIdAverageFundingRoundAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_FUNDING_ROUND_ASC', - AssetTransactionsByUpdatedBlockIdAverageFundingRoundDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_FUNDING_ROUND_DESC', - AssetTransactionsByUpdatedBlockIdAverageIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_ASC', - AssetTransactionsByUpdatedBlockIdAverageIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_DESC', - AssetTransactionsByUpdatedBlockIdAverageInstructionIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_INSTRUCTION_ID_ASC', - AssetTransactionsByUpdatedBlockIdAverageInstructionIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_INSTRUCTION_ID_DESC', - AssetTransactionsByUpdatedBlockIdAverageInstructionMemoAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_INSTRUCTION_MEMO_ASC', - AssetTransactionsByUpdatedBlockIdAverageInstructionMemoDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_INSTRUCTION_MEMO_DESC', - AssetTransactionsByUpdatedBlockIdAverageNftIdsAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_NFT_IDS_ASC', - AssetTransactionsByUpdatedBlockIdAverageNftIdsDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_NFT_IDS_DESC', - AssetTransactionsByUpdatedBlockIdAverageToPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_TO_PORTFOLIO_ID_ASC', - AssetTransactionsByUpdatedBlockIdAverageToPortfolioIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_TO_PORTFOLIO_ID_DESC', - AssetTransactionsByUpdatedBlockIdAverageUpdatedAtAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - AssetTransactionsByUpdatedBlockIdAverageUpdatedAtDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - AssetTransactionsByUpdatedBlockIdAverageUpdatedBlockIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - AssetTransactionsByUpdatedBlockIdAverageUpdatedBlockIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - AssetTransactionsByUpdatedBlockIdCountAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_COUNT_ASC', - AssetTransactionsByUpdatedBlockIdCountDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_COUNT_DESC', - AssetTransactionsByUpdatedBlockIdDistinctCountAmountAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_AMOUNT_ASC', - AssetTransactionsByUpdatedBlockIdDistinctCountAmountDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_AMOUNT_DESC', - AssetTransactionsByUpdatedBlockIdDistinctCountAssetIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_ASC', - AssetTransactionsByUpdatedBlockIdDistinctCountAssetIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_DESC', - AssetTransactionsByUpdatedBlockIdDistinctCountCreatedAtAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - AssetTransactionsByUpdatedBlockIdDistinctCountCreatedAtDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - AssetTransactionsByUpdatedBlockIdDistinctCountCreatedBlockIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - AssetTransactionsByUpdatedBlockIdDistinctCountCreatedBlockIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - AssetTransactionsByUpdatedBlockIdDistinctCountDatetimeAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_ASC', - AssetTransactionsByUpdatedBlockIdDistinctCountDatetimeDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_DESC', - AssetTransactionsByUpdatedBlockIdDistinctCountEventIdxAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_ASC', - AssetTransactionsByUpdatedBlockIdDistinctCountEventIdxDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_DESC', - AssetTransactionsByUpdatedBlockIdDistinctCountEventIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_ID_ASC', - AssetTransactionsByUpdatedBlockIdDistinctCountEventIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_ID_DESC', - AssetTransactionsByUpdatedBlockIdDistinctCountExtrinsicIdxAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EXTRINSIC_IDX_ASC', - AssetTransactionsByUpdatedBlockIdDistinctCountExtrinsicIdxDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EXTRINSIC_IDX_DESC', - AssetTransactionsByUpdatedBlockIdDistinctCountFromPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_FROM_PORTFOLIO_ID_ASC', - AssetTransactionsByUpdatedBlockIdDistinctCountFromPortfolioIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_FROM_PORTFOLIO_ID_DESC', - AssetTransactionsByUpdatedBlockIdDistinctCountFundingRoundAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_FUNDING_ROUND_ASC', - AssetTransactionsByUpdatedBlockIdDistinctCountFundingRoundDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_FUNDING_ROUND_DESC', - AssetTransactionsByUpdatedBlockIdDistinctCountIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - AssetTransactionsByUpdatedBlockIdDistinctCountIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - AssetTransactionsByUpdatedBlockIdDistinctCountInstructionIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_INSTRUCTION_ID_ASC', - AssetTransactionsByUpdatedBlockIdDistinctCountInstructionIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_INSTRUCTION_ID_DESC', - AssetTransactionsByUpdatedBlockIdDistinctCountInstructionMemoAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_INSTRUCTION_MEMO_ASC', - AssetTransactionsByUpdatedBlockIdDistinctCountInstructionMemoDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_INSTRUCTION_MEMO_DESC', - AssetTransactionsByUpdatedBlockIdDistinctCountNftIdsAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_NFT_IDS_ASC', - AssetTransactionsByUpdatedBlockIdDistinctCountNftIdsDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_NFT_IDS_DESC', - AssetTransactionsByUpdatedBlockIdDistinctCountToPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TO_PORTFOLIO_ID_ASC', - AssetTransactionsByUpdatedBlockIdDistinctCountToPortfolioIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TO_PORTFOLIO_ID_DESC', - AssetTransactionsByUpdatedBlockIdDistinctCountUpdatedAtAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - AssetTransactionsByUpdatedBlockIdDistinctCountUpdatedAtDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - AssetTransactionsByUpdatedBlockIdDistinctCountUpdatedBlockIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - AssetTransactionsByUpdatedBlockIdDistinctCountUpdatedBlockIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - AssetTransactionsByUpdatedBlockIdMaxAmountAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_AMOUNT_ASC', - AssetTransactionsByUpdatedBlockIdMaxAmountDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_AMOUNT_DESC', - AssetTransactionsByUpdatedBlockIdMaxAssetIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_ASSET_ID_ASC', - AssetTransactionsByUpdatedBlockIdMaxAssetIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_ASSET_ID_DESC', - AssetTransactionsByUpdatedBlockIdMaxCreatedAtAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_ASC', - AssetTransactionsByUpdatedBlockIdMaxCreatedAtDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_DESC', - AssetTransactionsByUpdatedBlockIdMaxCreatedBlockIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - AssetTransactionsByUpdatedBlockIdMaxCreatedBlockIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - AssetTransactionsByUpdatedBlockIdMaxDatetimeAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_DATETIME_ASC', - AssetTransactionsByUpdatedBlockIdMaxDatetimeDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_DATETIME_DESC', - AssetTransactionsByUpdatedBlockIdMaxEventIdxAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_EVENT_IDX_ASC', - AssetTransactionsByUpdatedBlockIdMaxEventIdxDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_EVENT_IDX_DESC', - AssetTransactionsByUpdatedBlockIdMaxEventIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_EVENT_ID_ASC', - AssetTransactionsByUpdatedBlockIdMaxEventIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_EVENT_ID_DESC', - AssetTransactionsByUpdatedBlockIdMaxExtrinsicIdxAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_EXTRINSIC_IDX_ASC', - AssetTransactionsByUpdatedBlockIdMaxExtrinsicIdxDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_EXTRINSIC_IDX_DESC', - AssetTransactionsByUpdatedBlockIdMaxFromPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_FROM_PORTFOLIO_ID_ASC', - AssetTransactionsByUpdatedBlockIdMaxFromPortfolioIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_FROM_PORTFOLIO_ID_DESC', - AssetTransactionsByUpdatedBlockIdMaxFundingRoundAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_FUNDING_ROUND_ASC', - AssetTransactionsByUpdatedBlockIdMaxFundingRoundDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_FUNDING_ROUND_DESC', - AssetTransactionsByUpdatedBlockIdMaxIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_ID_ASC', - AssetTransactionsByUpdatedBlockIdMaxIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_ID_DESC', - AssetTransactionsByUpdatedBlockIdMaxInstructionIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_INSTRUCTION_ID_ASC', - AssetTransactionsByUpdatedBlockIdMaxInstructionIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_INSTRUCTION_ID_DESC', - AssetTransactionsByUpdatedBlockIdMaxInstructionMemoAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_INSTRUCTION_MEMO_ASC', - AssetTransactionsByUpdatedBlockIdMaxInstructionMemoDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_INSTRUCTION_MEMO_DESC', - AssetTransactionsByUpdatedBlockIdMaxNftIdsAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_NFT_IDS_ASC', - AssetTransactionsByUpdatedBlockIdMaxNftIdsDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_NFT_IDS_DESC', - AssetTransactionsByUpdatedBlockIdMaxToPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_TO_PORTFOLIO_ID_ASC', - AssetTransactionsByUpdatedBlockIdMaxToPortfolioIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_TO_PORTFOLIO_ID_DESC', - AssetTransactionsByUpdatedBlockIdMaxUpdatedAtAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - AssetTransactionsByUpdatedBlockIdMaxUpdatedAtDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - AssetTransactionsByUpdatedBlockIdMaxUpdatedBlockIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - AssetTransactionsByUpdatedBlockIdMaxUpdatedBlockIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - AssetTransactionsByUpdatedBlockIdMinAmountAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_AMOUNT_ASC', - AssetTransactionsByUpdatedBlockIdMinAmountDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_AMOUNT_DESC', - AssetTransactionsByUpdatedBlockIdMinAssetIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_ASSET_ID_ASC', - AssetTransactionsByUpdatedBlockIdMinAssetIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_ASSET_ID_DESC', - AssetTransactionsByUpdatedBlockIdMinCreatedAtAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_ASC', - AssetTransactionsByUpdatedBlockIdMinCreatedAtDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_DESC', - AssetTransactionsByUpdatedBlockIdMinCreatedBlockIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - AssetTransactionsByUpdatedBlockIdMinCreatedBlockIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - AssetTransactionsByUpdatedBlockIdMinDatetimeAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_DATETIME_ASC', - AssetTransactionsByUpdatedBlockIdMinDatetimeDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_DATETIME_DESC', - AssetTransactionsByUpdatedBlockIdMinEventIdxAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_EVENT_IDX_ASC', - AssetTransactionsByUpdatedBlockIdMinEventIdxDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_EVENT_IDX_DESC', - AssetTransactionsByUpdatedBlockIdMinEventIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_EVENT_ID_ASC', - AssetTransactionsByUpdatedBlockIdMinEventIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_EVENT_ID_DESC', - AssetTransactionsByUpdatedBlockIdMinExtrinsicIdxAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_EXTRINSIC_IDX_ASC', - AssetTransactionsByUpdatedBlockIdMinExtrinsicIdxDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_EXTRINSIC_IDX_DESC', - AssetTransactionsByUpdatedBlockIdMinFromPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_FROM_PORTFOLIO_ID_ASC', - AssetTransactionsByUpdatedBlockIdMinFromPortfolioIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_FROM_PORTFOLIO_ID_DESC', - AssetTransactionsByUpdatedBlockIdMinFundingRoundAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_FUNDING_ROUND_ASC', - AssetTransactionsByUpdatedBlockIdMinFundingRoundDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_FUNDING_ROUND_DESC', - AssetTransactionsByUpdatedBlockIdMinIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_ID_ASC', - AssetTransactionsByUpdatedBlockIdMinIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_ID_DESC', - AssetTransactionsByUpdatedBlockIdMinInstructionIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_INSTRUCTION_ID_ASC', - AssetTransactionsByUpdatedBlockIdMinInstructionIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_INSTRUCTION_ID_DESC', - AssetTransactionsByUpdatedBlockIdMinInstructionMemoAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_INSTRUCTION_MEMO_ASC', - AssetTransactionsByUpdatedBlockIdMinInstructionMemoDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_INSTRUCTION_MEMO_DESC', - AssetTransactionsByUpdatedBlockIdMinNftIdsAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_NFT_IDS_ASC', - AssetTransactionsByUpdatedBlockIdMinNftIdsDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_NFT_IDS_DESC', - AssetTransactionsByUpdatedBlockIdMinToPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_TO_PORTFOLIO_ID_ASC', - AssetTransactionsByUpdatedBlockIdMinToPortfolioIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_TO_PORTFOLIO_ID_DESC', - AssetTransactionsByUpdatedBlockIdMinUpdatedAtAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - AssetTransactionsByUpdatedBlockIdMinUpdatedAtDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - AssetTransactionsByUpdatedBlockIdMinUpdatedBlockIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - AssetTransactionsByUpdatedBlockIdMinUpdatedBlockIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - AssetTransactionsByUpdatedBlockIdStddevPopulationAmountAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_AMOUNT_ASC', - AssetTransactionsByUpdatedBlockIdStddevPopulationAmountDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_AMOUNT_DESC', - AssetTransactionsByUpdatedBlockIdStddevPopulationAssetIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_ASC', - AssetTransactionsByUpdatedBlockIdStddevPopulationAssetIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_DESC', - AssetTransactionsByUpdatedBlockIdStddevPopulationCreatedAtAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - AssetTransactionsByUpdatedBlockIdStddevPopulationCreatedAtDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - AssetTransactionsByUpdatedBlockIdStddevPopulationCreatedBlockIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - AssetTransactionsByUpdatedBlockIdStddevPopulationCreatedBlockIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - AssetTransactionsByUpdatedBlockIdStddevPopulationDatetimeAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_DATETIME_ASC', - AssetTransactionsByUpdatedBlockIdStddevPopulationDatetimeDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_DATETIME_DESC', - AssetTransactionsByUpdatedBlockIdStddevPopulationEventIdxAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_ASC', - AssetTransactionsByUpdatedBlockIdStddevPopulationEventIdxDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_DESC', - AssetTransactionsByUpdatedBlockIdStddevPopulationEventIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_ID_ASC', - AssetTransactionsByUpdatedBlockIdStddevPopulationEventIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_ID_DESC', - AssetTransactionsByUpdatedBlockIdStddevPopulationExtrinsicIdxAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EXTRINSIC_IDX_ASC', - AssetTransactionsByUpdatedBlockIdStddevPopulationExtrinsicIdxDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EXTRINSIC_IDX_DESC', - AssetTransactionsByUpdatedBlockIdStddevPopulationFromPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_FROM_PORTFOLIO_ID_ASC', - AssetTransactionsByUpdatedBlockIdStddevPopulationFromPortfolioIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_FROM_PORTFOLIO_ID_DESC', - AssetTransactionsByUpdatedBlockIdStddevPopulationFundingRoundAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_FUNDING_ROUND_ASC', - AssetTransactionsByUpdatedBlockIdStddevPopulationFundingRoundDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_FUNDING_ROUND_DESC', - AssetTransactionsByUpdatedBlockIdStddevPopulationIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - AssetTransactionsByUpdatedBlockIdStddevPopulationIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - AssetTransactionsByUpdatedBlockIdStddevPopulationInstructionIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_INSTRUCTION_ID_ASC', - AssetTransactionsByUpdatedBlockIdStddevPopulationInstructionIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_INSTRUCTION_ID_DESC', - AssetTransactionsByUpdatedBlockIdStddevPopulationInstructionMemoAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_INSTRUCTION_MEMO_ASC', - AssetTransactionsByUpdatedBlockIdStddevPopulationInstructionMemoDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_INSTRUCTION_MEMO_DESC', - AssetTransactionsByUpdatedBlockIdStddevPopulationNftIdsAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_NFT_IDS_ASC', - AssetTransactionsByUpdatedBlockIdStddevPopulationNftIdsDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_NFT_IDS_DESC', - AssetTransactionsByUpdatedBlockIdStddevPopulationToPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TO_PORTFOLIO_ID_ASC', - AssetTransactionsByUpdatedBlockIdStddevPopulationToPortfolioIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TO_PORTFOLIO_ID_DESC', - AssetTransactionsByUpdatedBlockIdStddevPopulationUpdatedAtAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - AssetTransactionsByUpdatedBlockIdStddevPopulationUpdatedAtDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - AssetTransactionsByUpdatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - AssetTransactionsByUpdatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - AssetTransactionsByUpdatedBlockIdStddevSampleAmountAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_AMOUNT_ASC', - AssetTransactionsByUpdatedBlockIdStddevSampleAmountDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_AMOUNT_DESC', - AssetTransactionsByUpdatedBlockIdStddevSampleAssetIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_ASC', - AssetTransactionsByUpdatedBlockIdStddevSampleAssetIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_DESC', - AssetTransactionsByUpdatedBlockIdStddevSampleCreatedAtAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - AssetTransactionsByUpdatedBlockIdStddevSampleCreatedAtDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - AssetTransactionsByUpdatedBlockIdStddevSampleCreatedBlockIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - AssetTransactionsByUpdatedBlockIdStddevSampleCreatedBlockIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - AssetTransactionsByUpdatedBlockIdStddevSampleDatetimeAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_DATETIME_ASC', - AssetTransactionsByUpdatedBlockIdStddevSampleDatetimeDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_DATETIME_DESC', - AssetTransactionsByUpdatedBlockIdStddevSampleEventIdxAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', - AssetTransactionsByUpdatedBlockIdStddevSampleEventIdxDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', - AssetTransactionsByUpdatedBlockIdStddevSampleEventIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_ID_ASC', - AssetTransactionsByUpdatedBlockIdStddevSampleEventIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_ID_DESC', - AssetTransactionsByUpdatedBlockIdStddevSampleExtrinsicIdxAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EXTRINSIC_IDX_ASC', - AssetTransactionsByUpdatedBlockIdStddevSampleExtrinsicIdxDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EXTRINSIC_IDX_DESC', - AssetTransactionsByUpdatedBlockIdStddevSampleFromPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_FROM_PORTFOLIO_ID_ASC', - AssetTransactionsByUpdatedBlockIdStddevSampleFromPortfolioIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_FROM_PORTFOLIO_ID_DESC', - AssetTransactionsByUpdatedBlockIdStddevSampleFundingRoundAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_FUNDING_ROUND_ASC', - AssetTransactionsByUpdatedBlockIdStddevSampleFundingRoundDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_FUNDING_ROUND_DESC', - AssetTransactionsByUpdatedBlockIdStddevSampleIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - AssetTransactionsByUpdatedBlockIdStddevSampleIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - AssetTransactionsByUpdatedBlockIdStddevSampleInstructionIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_INSTRUCTION_ID_ASC', - AssetTransactionsByUpdatedBlockIdStddevSampleInstructionIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_INSTRUCTION_ID_DESC', - AssetTransactionsByUpdatedBlockIdStddevSampleInstructionMemoAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_INSTRUCTION_MEMO_ASC', - AssetTransactionsByUpdatedBlockIdStddevSampleInstructionMemoDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_INSTRUCTION_MEMO_DESC', - AssetTransactionsByUpdatedBlockIdStddevSampleNftIdsAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_NFT_IDS_ASC', - AssetTransactionsByUpdatedBlockIdStddevSampleNftIdsDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_NFT_IDS_DESC', - AssetTransactionsByUpdatedBlockIdStddevSampleToPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TO_PORTFOLIO_ID_ASC', - AssetTransactionsByUpdatedBlockIdStddevSampleToPortfolioIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TO_PORTFOLIO_ID_DESC', - AssetTransactionsByUpdatedBlockIdStddevSampleUpdatedAtAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - AssetTransactionsByUpdatedBlockIdStddevSampleUpdatedAtDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - AssetTransactionsByUpdatedBlockIdStddevSampleUpdatedBlockIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - AssetTransactionsByUpdatedBlockIdStddevSampleUpdatedBlockIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - AssetTransactionsByUpdatedBlockIdSumAmountAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_AMOUNT_ASC', - AssetTransactionsByUpdatedBlockIdSumAmountDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_AMOUNT_DESC', - AssetTransactionsByUpdatedBlockIdSumAssetIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_ASSET_ID_ASC', - AssetTransactionsByUpdatedBlockIdSumAssetIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_ASSET_ID_DESC', - AssetTransactionsByUpdatedBlockIdSumCreatedAtAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_ASC', - AssetTransactionsByUpdatedBlockIdSumCreatedAtDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_DESC', - AssetTransactionsByUpdatedBlockIdSumCreatedBlockIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - AssetTransactionsByUpdatedBlockIdSumCreatedBlockIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - AssetTransactionsByUpdatedBlockIdSumDatetimeAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_DATETIME_ASC', - AssetTransactionsByUpdatedBlockIdSumDatetimeDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_DATETIME_DESC', - AssetTransactionsByUpdatedBlockIdSumEventIdxAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_EVENT_IDX_ASC', - AssetTransactionsByUpdatedBlockIdSumEventIdxDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_EVENT_IDX_DESC', - AssetTransactionsByUpdatedBlockIdSumEventIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_EVENT_ID_ASC', - AssetTransactionsByUpdatedBlockIdSumEventIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_EVENT_ID_DESC', - AssetTransactionsByUpdatedBlockIdSumExtrinsicIdxAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_EXTRINSIC_IDX_ASC', - AssetTransactionsByUpdatedBlockIdSumExtrinsicIdxDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_EXTRINSIC_IDX_DESC', - AssetTransactionsByUpdatedBlockIdSumFromPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_FROM_PORTFOLIO_ID_ASC', - AssetTransactionsByUpdatedBlockIdSumFromPortfolioIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_FROM_PORTFOLIO_ID_DESC', - AssetTransactionsByUpdatedBlockIdSumFundingRoundAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_FUNDING_ROUND_ASC', - AssetTransactionsByUpdatedBlockIdSumFundingRoundDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_FUNDING_ROUND_DESC', - AssetTransactionsByUpdatedBlockIdSumIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_ID_ASC', - AssetTransactionsByUpdatedBlockIdSumIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_ID_DESC', - AssetTransactionsByUpdatedBlockIdSumInstructionIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_INSTRUCTION_ID_ASC', - AssetTransactionsByUpdatedBlockIdSumInstructionIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_INSTRUCTION_ID_DESC', - AssetTransactionsByUpdatedBlockIdSumInstructionMemoAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_INSTRUCTION_MEMO_ASC', - AssetTransactionsByUpdatedBlockIdSumInstructionMemoDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_INSTRUCTION_MEMO_DESC', - AssetTransactionsByUpdatedBlockIdSumNftIdsAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_NFT_IDS_ASC', - AssetTransactionsByUpdatedBlockIdSumNftIdsDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_NFT_IDS_DESC', - AssetTransactionsByUpdatedBlockIdSumToPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_TO_PORTFOLIO_ID_ASC', - AssetTransactionsByUpdatedBlockIdSumToPortfolioIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_TO_PORTFOLIO_ID_DESC', - AssetTransactionsByUpdatedBlockIdSumUpdatedAtAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - AssetTransactionsByUpdatedBlockIdSumUpdatedAtDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - AssetTransactionsByUpdatedBlockIdSumUpdatedBlockIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - AssetTransactionsByUpdatedBlockIdSumUpdatedBlockIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - AssetTransactionsByUpdatedBlockIdVariancePopulationAmountAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_AMOUNT_ASC', - AssetTransactionsByUpdatedBlockIdVariancePopulationAmountDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_AMOUNT_DESC', - AssetTransactionsByUpdatedBlockIdVariancePopulationAssetIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_ASC', - AssetTransactionsByUpdatedBlockIdVariancePopulationAssetIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_DESC', - AssetTransactionsByUpdatedBlockIdVariancePopulationCreatedAtAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - AssetTransactionsByUpdatedBlockIdVariancePopulationCreatedAtDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - AssetTransactionsByUpdatedBlockIdVariancePopulationCreatedBlockIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - AssetTransactionsByUpdatedBlockIdVariancePopulationCreatedBlockIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - AssetTransactionsByUpdatedBlockIdVariancePopulationDatetimeAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_DATETIME_ASC', - AssetTransactionsByUpdatedBlockIdVariancePopulationDatetimeDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_DATETIME_DESC', - AssetTransactionsByUpdatedBlockIdVariancePopulationEventIdxAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', - AssetTransactionsByUpdatedBlockIdVariancePopulationEventIdxDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', - AssetTransactionsByUpdatedBlockIdVariancePopulationEventIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_ID_ASC', - AssetTransactionsByUpdatedBlockIdVariancePopulationEventIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_ID_DESC', - AssetTransactionsByUpdatedBlockIdVariancePopulationExtrinsicIdxAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EXTRINSIC_IDX_ASC', - AssetTransactionsByUpdatedBlockIdVariancePopulationExtrinsicIdxDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EXTRINSIC_IDX_DESC', - AssetTransactionsByUpdatedBlockIdVariancePopulationFromPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_FROM_PORTFOLIO_ID_ASC', - AssetTransactionsByUpdatedBlockIdVariancePopulationFromPortfolioIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_FROM_PORTFOLIO_ID_DESC', - AssetTransactionsByUpdatedBlockIdVariancePopulationFundingRoundAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_FUNDING_ROUND_ASC', - AssetTransactionsByUpdatedBlockIdVariancePopulationFundingRoundDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_FUNDING_ROUND_DESC', - AssetTransactionsByUpdatedBlockIdVariancePopulationIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - AssetTransactionsByUpdatedBlockIdVariancePopulationIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - AssetTransactionsByUpdatedBlockIdVariancePopulationInstructionIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_INSTRUCTION_ID_ASC', - AssetTransactionsByUpdatedBlockIdVariancePopulationInstructionIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_INSTRUCTION_ID_DESC', - AssetTransactionsByUpdatedBlockIdVariancePopulationInstructionMemoAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_INSTRUCTION_MEMO_ASC', - AssetTransactionsByUpdatedBlockIdVariancePopulationInstructionMemoDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_INSTRUCTION_MEMO_DESC', - AssetTransactionsByUpdatedBlockIdVariancePopulationNftIdsAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_NFT_IDS_ASC', - AssetTransactionsByUpdatedBlockIdVariancePopulationNftIdsDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_NFT_IDS_DESC', - AssetTransactionsByUpdatedBlockIdVariancePopulationToPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TO_PORTFOLIO_ID_ASC', - AssetTransactionsByUpdatedBlockIdVariancePopulationToPortfolioIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TO_PORTFOLIO_ID_DESC', - AssetTransactionsByUpdatedBlockIdVariancePopulationUpdatedAtAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - AssetTransactionsByUpdatedBlockIdVariancePopulationUpdatedAtDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - AssetTransactionsByUpdatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - AssetTransactionsByUpdatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - AssetTransactionsByUpdatedBlockIdVarianceSampleAmountAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_AMOUNT_ASC', - AssetTransactionsByUpdatedBlockIdVarianceSampleAmountDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_AMOUNT_DESC', - AssetTransactionsByUpdatedBlockIdVarianceSampleAssetIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_ASC', - AssetTransactionsByUpdatedBlockIdVarianceSampleAssetIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_DESC', - AssetTransactionsByUpdatedBlockIdVarianceSampleCreatedAtAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - AssetTransactionsByUpdatedBlockIdVarianceSampleCreatedAtDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - AssetTransactionsByUpdatedBlockIdVarianceSampleCreatedBlockIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - AssetTransactionsByUpdatedBlockIdVarianceSampleCreatedBlockIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - AssetTransactionsByUpdatedBlockIdVarianceSampleDatetimeAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_DATETIME_ASC', - AssetTransactionsByUpdatedBlockIdVarianceSampleDatetimeDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_DATETIME_DESC', - AssetTransactionsByUpdatedBlockIdVarianceSampleEventIdxAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', - AssetTransactionsByUpdatedBlockIdVarianceSampleEventIdxDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', - AssetTransactionsByUpdatedBlockIdVarianceSampleEventIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_ID_ASC', - AssetTransactionsByUpdatedBlockIdVarianceSampleEventIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_ID_DESC', - AssetTransactionsByUpdatedBlockIdVarianceSampleExtrinsicIdxAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EXTRINSIC_IDX_ASC', - AssetTransactionsByUpdatedBlockIdVarianceSampleExtrinsicIdxDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EXTRINSIC_IDX_DESC', - AssetTransactionsByUpdatedBlockIdVarianceSampleFromPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_FROM_PORTFOLIO_ID_ASC', - AssetTransactionsByUpdatedBlockIdVarianceSampleFromPortfolioIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_FROM_PORTFOLIO_ID_DESC', - AssetTransactionsByUpdatedBlockIdVarianceSampleFundingRoundAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_FUNDING_ROUND_ASC', - AssetTransactionsByUpdatedBlockIdVarianceSampleFundingRoundDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_FUNDING_ROUND_DESC', - AssetTransactionsByUpdatedBlockIdVarianceSampleIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - AssetTransactionsByUpdatedBlockIdVarianceSampleIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - AssetTransactionsByUpdatedBlockIdVarianceSampleInstructionIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_INSTRUCTION_ID_ASC', - AssetTransactionsByUpdatedBlockIdVarianceSampleInstructionIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_INSTRUCTION_ID_DESC', - AssetTransactionsByUpdatedBlockIdVarianceSampleInstructionMemoAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_INSTRUCTION_MEMO_ASC', - AssetTransactionsByUpdatedBlockIdVarianceSampleInstructionMemoDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_INSTRUCTION_MEMO_DESC', - AssetTransactionsByUpdatedBlockIdVarianceSampleNftIdsAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_NFT_IDS_ASC', - AssetTransactionsByUpdatedBlockIdVarianceSampleNftIdsDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_NFT_IDS_DESC', - AssetTransactionsByUpdatedBlockIdVarianceSampleToPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TO_PORTFOLIO_ID_ASC', - AssetTransactionsByUpdatedBlockIdVarianceSampleToPortfolioIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TO_PORTFOLIO_ID_DESC', - AssetTransactionsByUpdatedBlockIdVarianceSampleUpdatedAtAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - AssetTransactionsByUpdatedBlockIdVarianceSampleUpdatedAtDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - AssetTransactionsByUpdatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - AssetTransactionsByUpdatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'ASSET_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - AuthorizationsByCreatedBlockIdAverageCreatedAtAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - AuthorizationsByCreatedBlockIdAverageCreatedAtDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - AuthorizationsByCreatedBlockIdAverageCreatedBlockIdAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - AuthorizationsByCreatedBlockIdAverageCreatedBlockIdDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - AuthorizationsByCreatedBlockIdAverageDataAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_AVERAGE_DATA_ASC', - AuthorizationsByCreatedBlockIdAverageDataDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_AVERAGE_DATA_DESC', - AuthorizationsByCreatedBlockIdAverageExpiryAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_AVERAGE_EXPIRY_ASC', - AuthorizationsByCreatedBlockIdAverageExpiryDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_AVERAGE_EXPIRY_DESC', - AuthorizationsByCreatedBlockIdAverageFromIdAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_AVERAGE_FROM_ID_ASC', - AuthorizationsByCreatedBlockIdAverageFromIdDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_AVERAGE_FROM_ID_DESC', - AuthorizationsByCreatedBlockIdAverageIdAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_AVERAGE_ID_ASC', - AuthorizationsByCreatedBlockIdAverageIdDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_AVERAGE_ID_DESC', - AuthorizationsByCreatedBlockIdAverageStatusAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_AVERAGE_STATUS_ASC', - AuthorizationsByCreatedBlockIdAverageStatusDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_AVERAGE_STATUS_DESC', - AuthorizationsByCreatedBlockIdAverageToIdAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_AVERAGE_TO_ID_ASC', - AuthorizationsByCreatedBlockIdAverageToIdDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_AVERAGE_TO_ID_DESC', - AuthorizationsByCreatedBlockIdAverageToKeyAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_AVERAGE_TO_KEY_ASC', - AuthorizationsByCreatedBlockIdAverageToKeyDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_AVERAGE_TO_KEY_DESC', - AuthorizationsByCreatedBlockIdAverageTypeAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_AVERAGE_TYPE_ASC', - AuthorizationsByCreatedBlockIdAverageTypeDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_AVERAGE_TYPE_DESC', - AuthorizationsByCreatedBlockIdAverageUpdatedAtAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - AuthorizationsByCreatedBlockIdAverageUpdatedAtDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - AuthorizationsByCreatedBlockIdAverageUpdatedBlockIdAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - AuthorizationsByCreatedBlockIdAverageUpdatedBlockIdDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - AuthorizationsByCreatedBlockIdCountAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_COUNT_ASC', - AuthorizationsByCreatedBlockIdCountDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_COUNT_DESC', - AuthorizationsByCreatedBlockIdDistinctCountCreatedAtAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - AuthorizationsByCreatedBlockIdDistinctCountCreatedAtDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - AuthorizationsByCreatedBlockIdDistinctCountCreatedBlockIdAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - AuthorizationsByCreatedBlockIdDistinctCountCreatedBlockIdDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - AuthorizationsByCreatedBlockIdDistinctCountDataAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_DATA_ASC', - AuthorizationsByCreatedBlockIdDistinctCountDataDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_DATA_DESC', - AuthorizationsByCreatedBlockIdDistinctCountExpiryAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EXPIRY_ASC', - AuthorizationsByCreatedBlockIdDistinctCountExpiryDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EXPIRY_DESC', - AuthorizationsByCreatedBlockIdDistinctCountFromIdAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_FROM_ID_ASC', - AuthorizationsByCreatedBlockIdDistinctCountFromIdDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_FROM_ID_DESC', - AuthorizationsByCreatedBlockIdDistinctCountIdAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - AuthorizationsByCreatedBlockIdDistinctCountIdDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - AuthorizationsByCreatedBlockIdDistinctCountStatusAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_STATUS_ASC', - AuthorizationsByCreatedBlockIdDistinctCountStatusDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_STATUS_DESC', - AuthorizationsByCreatedBlockIdDistinctCountToIdAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TO_ID_ASC', - AuthorizationsByCreatedBlockIdDistinctCountToIdDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TO_ID_DESC', - AuthorizationsByCreatedBlockIdDistinctCountToKeyAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TO_KEY_ASC', - AuthorizationsByCreatedBlockIdDistinctCountToKeyDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TO_KEY_DESC', - AuthorizationsByCreatedBlockIdDistinctCountTypeAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TYPE_ASC', - AuthorizationsByCreatedBlockIdDistinctCountTypeDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TYPE_DESC', - AuthorizationsByCreatedBlockIdDistinctCountUpdatedAtAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - AuthorizationsByCreatedBlockIdDistinctCountUpdatedAtDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - AuthorizationsByCreatedBlockIdDistinctCountUpdatedBlockIdAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - AuthorizationsByCreatedBlockIdDistinctCountUpdatedBlockIdDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - AuthorizationsByCreatedBlockIdMaxCreatedAtAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_ASC', - AuthorizationsByCreatedBlockIdMaxCreatedAtDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_DESC', - AuthorizationsByCreatedBlockIdMaxCreatedBlockIdAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - AuthorizationsByCreatedBlockIdMaxCreatedBlockIdDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - AuthorizationsByCreatedBlockIdMaxDataAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_MAX_DATA_ASC', - AuthorizationsByCreatedBlockIdMaxDataDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_MAX_DATA_DESC', - AuthorizationsByCreatedBlockIdMaxExpiryAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_MAX_EXPIRY_ASC', - AuthorizationsByCreatedBlockIdMaxExpiryDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_MAX_EXPIRY_DESC', - AuthorizationsByCreatedBlockIdMaxFromIdAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_MAX_FROM_ID_ASC', - AuthorizationsByCreatedBlockIdMaxFromIdDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_MAX_FROM_ID_DESC', - AuthorizationsByCreatedBlockIdMaxIdAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_MAX_ID_ASC', - AuthorizationsByCreatedBlockIdMaxIdDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_MAX_ID_DESC', - AuthorizationsByCreatedBlockIdMaxStatusAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_MAX_STATUS_ASC', - AuthorizationsByCreatedBlockIdMaxStatusDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_MAX_STATUS_DESC', - AuthorizationsByCreatedBlockIdMaxToIdAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_MAX_TO_ID_ASC', - AuthorizationsByCreatedBlockIdMaxToIdDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_MAX_TO_ID_DESC', - AuthorizationsByCreatedBlockIdMaxToKeyAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_MAX_TO_KEY_ASC', - AuthorizationsByCreatedBlockIdMaxToKeyDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_MAX_TO_KEY_DESC', - AuthorizationsByCreatedBlockIdMaxTypeAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_MAX_TYPE_ASC', - AuthorizationsByCreatedBlockIdMaxTypeDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_MAX_TYPE_DESC', - AuthorizationsByCreatedBlockIdMaxUpdatedAtAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - AuthorizationsByCreatedBlockIdMaxUpdatedAtDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - AuthorizationsByCreatedBlockIdMaxUpdatedBlockIdAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - AuthorizationsByCreatedBlockIdMaxUpdatedBlockIdDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - AuthorizationsByCreatedBlockIdMinCreatedAtAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_ASC', - AuthorizationsByCreatedBlockIdMinCreatedAtDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_DESC', - AuthorizationsByCreatedBlockIdMinCreatedBlockIdAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - AuthorizationsByCreatedBlockIdMinCreatedBlockIdDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - AuthorizationsByCreatedBlockIdMinDataAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_MIN_DATA_ASC', - AuthorizationsByCreatedBlockIdMinDataDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_MIN_DATA_DESC', - AuthorizationsByCreatedBlockIdMinExpiryAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_MIN_EXPIRY_ASC', - AuthorizationsByCreatedBlockIdMinExpiryDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_MIN_EXPIRY_DESC', - AuthorizationsByCreatedBlockIdMinFromIdAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_MIN_FROM_ID_ASC', - AuthorizationsByCreatedBlockIdMinFromIdDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_MIN_FROM_ID_DESC', - AuthorizationsByCreatedBlockIdMinIdAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_MIN_ID_ASC', - AuthorizationsByCreatedBlockIdMinIdDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_MIN_ID_DESC', - AuthorizationsByCreatedBlockIdMinStatusAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_MIN_STATUS_ASC', - AuthorizationsByCreatedBlockIdMinStatusDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_MIN_STATUS_DESC', - AuthorizationsByCreatedBlockIdMinToIdAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_MIN_TO_ID_ASC', - AuthorizationsByCreatedBlockIdMinToIdDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_MIN_TO_ID_DESC', - AuthorizationsByCreatedBlockIdMinToKeyAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_MIN_TO_KEY_ASC', - AuthorizationsByCreatedBlockIdMinToKeyDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_MIN_TO_KEY_DESC', - AuthorizationsByCreatedBlockIdMinTypeAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_MIN_TYPE_ASC', - AuthorizationsByCreatedBlockIdMinTypeDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_MIN_TYPE_DESC', - AuthorizationsByCreatedBlockIdMinUpdatedAtAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - AuthorizationsByCreatedBlockIdMinUpdatedAtDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - AuthorizationsByCreatedBlockIdMinUpdatedBlockIdAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - AuthorizationsByCreatedBlockIdMinUpdatedBlockIdDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - AuthorizationsByCreatedBlockIdStddevPopulationCreatedAtAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - AuthorizationsByCreatedBlockIdStddevPopulationCreatedAtDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - AuthorizationsByCreatedBlockIdStddevPopulationCreatedBlockIdAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - AuthorizationsByCreatedBlockIdStddevPopulationCreatedBlockIdDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - AuthorizationsByCreatedBlockIdStddevPopulationDataAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_DATA_ASC', - AuthorizationsByCreatedBlockIdStddevPopulationDataDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_DATA_DESC', - AuthorizationsByCreatedBlockIdStddevPopulationExpiryAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EXPIRY_ASC', - AuthorizationsByCreatedBlockIdStddevPopulationExpiryDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EXPIRY_DESC', - AuthorizationsByCreatedBlockIdStddevPopulationFromIdAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_FROM_ID_ASC', - AuthorizationsByCreatedBlockIdStddevPopulationFromIdDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_FROM_ID_DESC', - AuthorizationsByCreatedBlockIdStddevPopulationIdAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - AuthorizationsByCreatedBlockIdStddevPopulationIdDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - AuthorizationsByCreatedBlockIdStddevPopulationStatusAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_STATUS_ASC', - AuthorizationsByCreatedBlockIdStddevPopulationStatusDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_STATUS_DESC', - AuthorizationsByCreatedBlockIdStddevPopulationToIdAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TO_ID_ASC', - AuthorizationsByCreatedBlockIdStddevPopulationToIdDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TO_ID_DESC', - AuthorizationsByCreatedBlockIdStddevPopulationToKeyAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TO_KEY_ASC', - AuthorizationsByCreatedBlockIdStddevPopulationToKeyDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TO_KEY_DESC', - AuthorizationsByCreatedBlockIdStddevPopulationTypeAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TYPE_ASC', - AuthorizationsByCreatedBlockIdStddevPopulationTypeDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TYPE_DESC', - AuthorizationsByCreatedBlockIdStddevPopulationUpdatedAtAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - AuthorizationsByCreatedBlockIdStddevPopulationUpdatedAtDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - AuthorizationsByCreatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - AuthorizationsByCreatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - AuthorizationsByCreatedBlockIdStddevSampleCreatedAtAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - AuthorizationsByCreatedBlockIdStddevSampleCreatedAtDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - AuthorizationsByCreatedBlockIdStddevSampleCreatedBlockIdAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - AuthorizationsByCreatedBlockIdStddevSampleCreatedBlockIdDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - AuthorizationsByCreatedBlockIdStddevSampleDataAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_DATA_ASC', - AuthorizationsByCreatedBlockIdStddevSampleDataDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_DATA_DESC', - AuthorizationsByCreatedBlockIdStddevSampleExpiryAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EXPIRY_ASC', - AuthorizationsByCreatedBlockIdStddevSampleExpiryDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EXPIRY_DESC', - AuthorizationsByCreatedBlockIdStddevSampleFromIdAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_FROM_ID_ASC', - AuthorizationsByCreatedBlockIdStddevSampleFromIdDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_FROM_ID_DESC', - AuthorizationsByCreatedBlockIdStddevSampleIdAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - AuthorizationsByCreatedBlockIdStddevSampleIdDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - AuthorizationsByCreatedBlockIdStddevSampleStatusAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_STATUS_ASC', - AuthorizationsByCreatedBlockIdStddevSampleStatusDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_STATUS_DESC', - AuthorizationsByCreatedBlockIdStddevSampleToIdAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TO_ID_ASC', - AuthorizationsByCreatedBlockIdStddevSampleToIdDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TO_ID_DESC', - AuthorizationsByCreatedBlockIdStddevSampleToKeyAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TO_KEY_ASC', - AuthorizationsByCreatedBlockIdStddevSampleToKeyDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TO_KEY_DESC', - AuthorizationsByCreatedBlockIdStddevSampleTypeAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TYPE_ASC', - AuthorizationsByCreatedBlockIdStddevSampleTypeDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TYPE_DESC', - AuthorizationsByCreatedBlockIdStddevSampleUpdatedAtAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - AuthorizationsByCreatedBlockIdStddevSampleUpdatedAtDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - AuthorizationsByCreatedBlockIdStddevSampleUpdatedBlockIdAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - AuthorizationsByCreatedBlockIdStddevSampleUpdatedBlockIdDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - AuthorizationsByCreatedBlockIdSumCreatedAtAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_ASC', - AuthorizationsByCreatedBlockIdSumCreatedAtDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_DESC', - AuthorizationsByCreatedBlockIdSumCreatedBlockIdAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - AuthorizationsByCreatedBlockIdSumCreatedBlockIdDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - AuthorizationsByCreatedBlockIdSumDataAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_SUM_DATA_ASC', - AuthorizationsByCreatedBlockIdSumDataDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_SUM_DATA_DESC', - AuthorizationsByCreatedBlockIdSumExpiryAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_SUM_EXPIRY_ASC', - AuthorizationsByCreatedBlockIdSumExpiryDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_SUM_EXPIRY_DESC', - AuthorizationsByCreatedBlockIdSumFromIdAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_SUM_FROM_ID_ASC', - AuthorizationsByCreatedBlockIdSumFromIdDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_SUM_FROM_ID_DESC', - AuthorizationsByCreatedBlockIdSumIdAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_SUM_ID_ASC', - AuthorizationsByCreatedBlockIdSumIdDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_SUM_ID_DESC', - AuthorizationsByCreatedBlockIdSumStatusAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_SUM_STATUS_ASC', - AuthorizationsByCreatedBlockIdSumStatusDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_SUM_STATUS_DESC', - AuthorizationsByCreatedBlockIdSumToIdAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_SUM_TO_ID_ASC', - AuthorizationsByCreatedBlockIdSumToIdDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_SUM_TO_ID_DESC', - AuthorizationsByCreatedBlockIdSumToKeyAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_SUM_TO_KEY_ASC', - AuthorizationsByCreatedBlockIdSumToKeyDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_SUM_TO_KEY_DESC', - AuthorizationsByCreatedBlockIdSumTypeAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_SUM_TYPE_ASC', - AuthorizationsByCreatedBlockIdSumTypeDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_SUM_TYPE_DESC', - AuthorizationsByCreatedBlockIdSumUpdatedAtAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - AuthorizationsByCreatedBlockIdSumUpdatedAtDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - AuthorizationsByCreatedBlockIdSumUpdatedBlockIdAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - AuthorizationsByCreatedBlockIdSumUpdatedBlockIdDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - AuthorizationsByCreatedBlockIdVariancePopulationCreatedAtAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - AuthorizationsByCreatedBlockIdVariancePopulationCreatedAtDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - AuthorizationsByCreatedBlockIdVariancePopulationCreatedBlockIdAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - AuthorizationsByCreatedBlockIdVariancePopulationCreatedBlockIdDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - AuthorizationsByCreatedBlockIdVariancePopulationDataAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_DATA_ASC', - AuthorizationsByCreatedBlockIdVariancePopulationDataDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_DATA_DESC', - AuthorizationsByCreatedBlockIdVariancePopulationExpiryAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EXPIRY_ASC', - AuthorizationsByCreatedBlockIdVariancePopulationExpiryDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EXPIRY_DESC', - AuthorizationsByCreatedBlockIdVariancePopulationFromIdAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_FROM_ID_ASC', - AuthorizationsByCreatedBlockIdVariancePopulationFromIdDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_FROM_ID_DESC', - AuthorizationsByCreatedBlockIdVariancePopulationIdAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - AuthorizationsByCreatedBlockIdVariancePopulationIdDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - AuthorizationsByCreatedBlockIdVariancePopulationStatusAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_STATUS_ASC', - AuthorizationsByCreatedBlockIdVariancePopulationStatusDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_STATUS_DESC', - AuthorizationsByCreatedBlockIdVariancePopulationToIdAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TO_ID_ASC', - AuthorizationsByCreatedBlockIdVariancePopulationToIdDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TO_ID_DESC', - AuthorizationsByCreatedBlockIdVariancePopulationToKeyAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TO_KEY_ASC', - AuthorizationsByCreatedBlockIdVariancePopulationToKeyDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TO_KEY_DESC', - AuthorizationsByCreatedBlockIdVariancePopulationTypeAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TYPE_ASC', - AuthorizationsByCreatedBlockIdVariancePopulationTypeDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TYPE_DESC', - AuthorizationsByCreatedBlockIdVariancePopulationUpdatedAtAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - AuthorizationsByCreatedBlockIdVariancePopulationUpdatedAtDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - AuthorizationsByCreatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - AuthorizationsByCreatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - AuthorizationsByCreatedBlockIdVarianceSampleCreatedAtAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - AuthorizationsByCreatedBlockIdVarianceSampleCreatedAtDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - AuthorizationsByCreatedBlockIdVarianceSampleCreatedBlockIdAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - AuthorizationsByCreatedBlockIdVarianceSampleCreatedBlockIdDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - AuthorizationsByCreatedBlockIdVarianceSampleDataAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_DATA_ASC', - AuthorizationsByCreatedBlockIdVarianceSampleDataDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_DATA_DESC', - AuthorizationsByCreatedBlockIdVarianceSampleExpiryAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EXPIRY_ASC', - AuthorizationsByCreatedBlockIdVarianceSampleExpiryDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EXPIRY_DESC', - AuthorizationsByCreatedBlockIdVarianceSampleFromIdAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_FROM_ID_ASC', - AuthorizationsByCreatedBlockIdVarianceSampleFromIdDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_FROM_ID_DESC', - AuthorizationsByCreatedBlockIdVarianceSampleIdAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - AuthorizationsByCreatedBlockIdVarianceSampleIdDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - AuthorizationsByCreatedBlockIdVarianceSampleStatusAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_STATUS_ASC', - AuthorizationsByCreatedBlockIdVarianceSampleStatusDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_STATUS_DESC', - AuthorizationsByCreatedBlockIdVarianceSampleToIdAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TO_ID_ASC', - AuthorizationsByCreatedBlockIdVarianceSampleToIdDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TO_ID_DESC', - AuthorizationsByCreatedBlockIdVarianceSampleToKeyAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TO_KEY_ASC', - AuthorizationsByCreatedBlockIdVarianceSampleToKeyDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TO_KEY_DESC', - AuthorizationsByCreatedBlockIdVarianceSampleTypeAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TYPE_ASC', - AuthorizationsByCreatedBlockIdVarianceSampleTypeDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TYPE_DESC', - AuthorizationsByCreatedBlockIdVarianceSampleUpdatedAtAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - AuthorizationsByCreatedBlockIdVarianceSampleUpdatedAtDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - AuthorizationsByCreatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - AuthorizationsByCreatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'AUTHORIZATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - AuthorizationsByUpdatedBlockIdAverageCreatedAtAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - AuthorizationsByUpdatedBlockIdAverageCreatedAtDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - AuthorizationsByUpdatedBlockIdAverageCreatedBlockIdAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - AuthorizationsByUpdatedBlockIdAverageCreatedBlockIdDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - AuthorizationsByUpdatedBlockIdAverageDataAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_DATA_ASC', - AuthorizationsByUpdatedBlockIdAverageDataDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_DATA_DESC', - AuthorizationsByUpdatedBlockIdAverageExpiryAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_EXPIRY_ASC', - AuthorizationsByUpdatedBlockIdAverageExpiryDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_EXPIRY_DESC', - AuthorizationsByUpdatedBlockIdAverageFromIdAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_FROM_ID_ASC', - AuthorizationsByUpdatedBlockIdAverageFromIdDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_FROM_ID_DESC', - AuthorizationsByUpdatedBlockIdAverageIdAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_ASC', - AuthorizationsByUpdatedBlockIdAverageIdDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_DESC', - AuthorizationsByUpdatedBlockIdAverageStatusAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_STATUS_ASC', - AuthorizationsByUpdatedBlockIdAverageStatusDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_STATUS_DESC', - AuthorizationsByUpdatedBlockIdAverageToIdAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_TO_ID_ASC', - AuthorizationsByUpdatedBlockIdAverageToIdDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_TO_ID_DESC', - AuthorizationsByUpdatedBlockIdAverageToKeyAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_TO_KEY_ASC', - AuthorizationsByUpdatedBlockIdAverageToKeyDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_TO_KEY_DESC', - AuthorizationsByUpdatedBlockIdAverageTypeAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_TYPE_ASC', - AuthorizationsByUpdatedBlockIdAverageTypeDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_TYPE_DESC', - AuthorizationsByUpdatedBlockIdAverageUpdatedAtAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - AuthorizationsByUpdatedBlockIdAverageUpdatedAtDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - AuthorizationsByUpdatedBlockIdAverageUpdatedBlockIdAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - AuthorizationsByUpdatedBlockIdAverageUpdatedBlockIdDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - AuthorizationsByUpdatedBlockIdCountAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_COUNT_ASC', - AuthorizationsByUpdatedBlockIdCountDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_COUNT_DESC', - AuthorizationsByUpdatedBlockIdDistinctCountCreatedAtAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - AuthorizationsByUpdatedBlockIdDistinctCountCreatedAtDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - AuthorizationsByUpdatedBlockIdDistinctCountCreatedBlockIdAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - AuthorizationsByUpdatedBlockIdDistinctCountCreatedBlockIdDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - AuthorizationsByUpdatedBlockIdDistinctCountDataAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_DATA_ASC', - AuthorizationsByUpdatedBlockIdDistinctCountDataDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_DATA_DESC', - AuthorizationsByUpdatedBlockIdDistinctCountExpiryAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EXPIRY_ASC', - AuthorizationsByUpdatedBlockIdDistinctCountExpiryDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EXPIRY_DESC', - AuthorizationsByUpdatedBlockIdDistinctCountFromIdAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_FROM_ID_ASC', - AuthorizationsByUpdatedBlockIdDistinctCountFromIdDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_FROM_ID_DESC', - AuthorizationsByUpdatedBlockIdDistinctCountIdAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - AuthorizationsByUpdatedBlockIdDistinctCountIdDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - AuthorizationsByUpdatedBlockIdDistinctCountStatusAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_STATUS_ASC', - AuthorizationsByUpdatedBlockIdDistinctCountStatusDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_STATUS_DESC', - AuthorizationsByUpdatedBlockIdDistinctCountToIdAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TO_ID_ASC', - AuthorizationsByUpdatedBlockIdDistinctCountToIdDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TO_ID_DESC', - AuthorizationsByUpdatedBlockIdDistinctCountToKeyAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TO_KEY_ASC', - AuthorizationsByUpdatedBlockIdDistinctCountToKeyDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TO_KEY_DESC', - AuthorizationsByUpdatedBlockIdDistinctCountTypeAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TYPE_ASC', - AuthorizationsByUpdatedBlockIdDistinctCountTypeDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TYPE_DESC', - AuthorizationsByUpdatedBlockIdDistinctCountUpdatedAtAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - AuthorizationsByUpdatedBlockIdDistinctCountUpdatedAtDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - AuthorizationsByUpdatedBlockIdDistinctCountUpdatedBlockIdAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - AuthorizationsByUpdatedBlockIdDistinctCountUpdatedBlockIdDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - AuthorizationsByUpdatedBlockIdMaxCreatedAtAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_ASC', - AuthorizationsByUpdatedBlockIdMaxCreatedAtDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_DESC', - AuthorizationsByUpdatedBlockIdMaxCreatedBlockIdAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - AuthorizationsByUpdatedBlockIdMaxCreatedBlockIdDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - AuthorizationsByUpdatedBlockIdMaxDataAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_MAX_DATA_ASC', - AuthorizationsByUpdatedBlockIdMaxDataDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_MAX_DATA_DESC', - AuthorizationsByUpdatedBlockIdMaxExpiryAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_MAX_EXPIRY_ASC', - AuthorizationsByUpdatedBlockIdMaxExpiryDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_MAX_EXPIRY_DESC', - AuthorizationsByUpdatedBlockIdMaxFromIdAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_MAX_FROM_ID_ASC', - AuthorizationsByUpdatedBlockIdMaxFromIdDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_MAX_FROM_ID_DESC', - AuthorizationsByUpdatedBlockIdMaxIdAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_MAX_ID_ASC', - AuthorizationsByUpdatedBlockIdMaxIdDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_MAX_ID_DESC', - AuthorizationsByUpdatedBlockIdMaxStatusAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_MAX_STATUS_ASC', - AuthorizationsByUpdatedBlockIdMaxStatusDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_MAX_STATUS_DESC', - AuthorizationsByUpdatedBlockIdMaxToIdAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_MAX_TO_ID_ASC', - AuthorizationsByUpdatedBlockIdMaxToIdDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_MAX_TO_ID_DESC', - AuthorizationsByUpdatedBlockIdMaxToKeyAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_MAX_TO_KEY_ASC', - AuthorizationsByUpdatedBlockIdMaxToKeyDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_MAX_TO_KEY_DESC', - AuthorizationsByUpdatedBlockIdMaxTypeAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_MAX_TYPE_ASC', - AuthorizationsByUpdatedBlockIdMaxTypeDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_MAX_TYPE_DESC', - AuthorizationsByUpdatedBlockIdMaxUpdatedAtAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - AuthorizationsByUpdatedBlockIdMaxUpdatedAtDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - AuthorizationsByUpdatedBlockIdMaxUpdatedBlockIdAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - AuthorizationsByUpdatedBlockIdMaxUpdatedBlockIdDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - AuthorizationsByUpdatedBlockIdMinCreatedAtAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_ASC', - AuthorizationsByUpdatedBlockIdMinCreatedAtDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_DESC', - AuthorizationsByUpdatedBlockIdMinCreatedBlockIdAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - AuthorizationsByUpdatedBlockIdMinCreatedBlockIdDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - AuthorizationsByUpdatedBlockIdMinDataAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_MIN_DATA_ASC', - AuthorizationsByUpdatedBlockIdMinDataDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_MIN_DATA_DESC', - AuthorizationsByUpdatedBlockIdMinExpiryAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_MIN_EXPIRY_ASC', - AuthorizationsByUpdatedBlockIdMinExpiryDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_MIN_EXPIRY_DESC', - AuthorizationsByUpdatedBlockIdMinFromIdAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_MIN_FROM_ID_ASC', - AuthorizationsByUpdatedBlockIdMinFromIdDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_MIN_FROM_ID_DESC', - AuthorizationsByUpdatedBlockIdMinIdAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_MIN_ID_ASC', - AuthorizationsByUpdatedBlockIdMinIdDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_MIN_ID_DESC', - AuthorizationsByUpdatedBlockIdMinStatusAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_MIN_STATUS_ASC', - AuthorizationsByUpdatedBlockIdMinStatusDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_MIN_STATUS_DESC', - AuthorizationsByUpdatedBlockIdMinToIdAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_MIN_TO_ID_ASC', - AuthorizationsByUpdatedBlockIdMinToIdDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_MIN_TO_ID_DESC', - AuthorizationsByUpdatedBlockIdMinToKeyAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_MIN_TO_KEY_ASC', - AuthorizationsByUpdatedBlockIdMinToKeyDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_MIN_TO_KEY_DESC', - AuthorizationsByUpdatedBlockIdMinTypeAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_MIN_TYPE_ASC', - AuthorizationsByUpdatedBlockIdMinTypeDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_MIN_TYPE_DESC', - AuthorizationsByUpdatedBlockIdMinUpdatedAtAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - AuthorizationsByUpdatedBlockIdMinUpdatedAtDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - AuthorizationsByUpdatedBlockIdMinUpdatedBlockIdAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - AuthorizationsByUpdatedBlockIdMinUpdatedBlockIdDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - AuthorizationsByUpdatedBlockIdStddevPopulationCreatedAtAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - AuthorizationsByUpdatedBlockIdStddevPopulationCreatedAtDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - AuthorizationsByUpdatedBlockIdStddevPopulationCreatedBlockIdAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - AuthorizationsByUpdatedBlockIdStddevPopulationCreatedBlockIdDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - AuthorizationsByUpdatedBlockIdStddevPopulationDataAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_DATA_ASC', - AuthorizationsByUpdatedBlockIdStddevPopulationDataDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_DATA_DESC', - AuthorizationsByUpdatedBlockIdStddevPopulationExpiryAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EXPIRY_ASC', - AuthorizationsByUpdatedBlockIdStddevPopulationExpiryDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EXPIRY_DESC', - AuthorizationsByUpdatedBlockIdStddevPopulationFromIdAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_FROM_ID_ASC', - AuthorizationsByUpdatedBlockIdStddevPopulationFromIdDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_FROM_ID_DESC', - AuthorizationsByUpdatedBlockIdStddevPopulationIdAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - AuthorizationsByUpdatedBlockIdStddevPopulationIdDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - AuthorizationsByUpdatedBlockIdStddevPopulationStatusAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_STATUS_ASC', - AuthorizationsByUpdatedBlockIdStddevPopulationStatusDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_STATUS_DESC', - AuthorizationsByUpdatedBlockIdStddevPopulationToIdAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TO_ID_ASC', - AuthorizationsByUpdatedBlockIdStddevPopulationToIdDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TO_ID_DESC', - AuthorizationsByUpdatedBlockIdStddevPopulationToKeyAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TO_KEY_ASC', - AuthorizationsByUpdatedBlockIdStddevPopulationToKeyDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TO_KEY_DESC', - AuthorizationsByUpdatedBlockIdStddevPopulationTypeAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TYPE_ASC', - AuthorizationsByUpdatedBlockIdStddevPopulationTypeDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TYPE_DESC', - AuthorizationsByUpdatedBlockIdStddevPopulationUpdatedAtAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - AuthorizationsByUpdatedBlockIdStddevPopulationUpdatedAtDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - AuthorizationsByUpdatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - AuthorizationsByUpdatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - AuthorizationsByUpdatedBlockIdStddevSampleCreatedAtAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - AuthorizationsByUpdatedBlockIdStddevSampleCreatedAtDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - AuthorizationsByUpdatedBlockIdStddevSampleCreatedBlockIdAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - AuthorizationsByUpdatedBlockIdStddevSampleCreatedBlockIdDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - AuthorizationsByUpdatedBlockIdStddevSampleDataAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_DATA_ASC', - AuthorizationsByUpdatedBlockIdStddevSampleDataDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_DATA_DESC', - AuthorizationsByUpdatedBlockIdStddevSampleExpiryAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EXPIRY_ASC', - AuthorizationsByUpdatedBlockIdStddevSampleExpiryDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EXPIRY_DESC', - AuthorizationsByUpdatedBlockIdStddevSampleFromIdAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_FROM_ID_ASC', - AuthorizationsByUpdatedBlockIdStddevSampleFromIdDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_FROM_ID_DESC', - AuthorizationsByUpdatedBlockIdStddevSampleIdAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - AuthorizationsByUpdatedBlockIdStddevSampleIdDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - AuthorizationsByUpdatedBlockIdStddevSampleStatusAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_STATUS_ASC', - AuthorizationsByUpdatedBlockIdStddevSampleStatusDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_STATUS_DESC', - AuthorizationsByUpdatedBlockIdStddevSampleToIdAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TO_ID_ASC', - AuthorizationsByUpdatedBlockIdStddevSampleToIdDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TO_ID_DESC', - AuthorizationsByUpdatedBlockIdStddevSampleToKeyAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TO_KEY_ASC', - AuthorizationsByUpdatedBlockIdStddevSampleToKeyDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TO_KEY_DESC', - AuthorizationsByUpdatedBlockIdStddevSampleTypeAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TYPE_ASC', - AuthorizationsByUpdatedBlockIdStddevSampleTypeDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TYPE_DESC', - AuthorizationsByUpdatedBlockIdStddevSampleUpdatedAtAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - AuthorizationsByUpdatedBlockIdStddevSampleUpdatedAtDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - AuthorizationsByUpdatedBlockIdStddevSampleUpdatedBlockIdAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - AuthorizationsByUpdatedBlockIdStddevSampleUpdatedBlockIdDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - AuthorizationsByUpdatedBlockIdSumCreatedAtAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_ASC', - AuthorizationsByUpdatedBlockIdSumCreatedAtDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_DESC', - AuthorizationsByUpdatedBlockIdSumCreatedBlockIdAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - AuthorizationsByUpdatedBlockIdSumCreatedBlockIdDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - AuthorizationsByUpdatedBlockIdSumDataAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_SUM_DATA_ASC', - AuthorizationsByUpdatedBlockIdSumDataDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_SUM_DATA_DESC', - AuthorizationsByUpdatedBlockIdSumExpiryAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_SUM_EXPIRY_ASC', - AuthorizationsByUpdatedBlockIdSumExpiryDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_SUM_EXPIRY_DESC', - AuthorizationsByUpdatedBlockIdSumFromIdAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_SUM_FROM_ID_ASC', - AuthorizationsByUpdatedBlockIdSumFromIdDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_SUM_FROM_ID_DESC', - AuthorizationsByUpdatedBlockIdSumIdAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_SUM_ID_ASC', - AuthorizationsByUpdatedBlockIdSumIdDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_SUM_ID_DESC', - AuthorizationsByUpdatedBlockIdSumStatusAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_SUM_STATUS_ASC', - AuthorizationsByUpdatedBlockIdSumStatusDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_SUM_STATUS_DESC', - AuthorizationsByUpdatedBlockIdSumToIdAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_SUM_TO_ID_ASC', - AuthorizationsByUpdatedBlockIdSumToIdDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_SUM_TO_ID_DESC', - AuthorizationsByUpdatedBlockIdSumToKeyAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_SUM_TO_KEY_ASC', - AuthorizationsByUpdatedBlockIdSumToKeyDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_SUM_TO_KEY_DESC', - AuthorizationsByUpdatedBlockIdSumTypeAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_SUM_TYPE_ASC', - AuthorizationsByUpdatedBlockIdSumTypeDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_SUM_TYPE_DESC', - AuthorizationsByUpdatedBlockIdSumUpdatedAtAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - AuthorizationsByUpdatedBlockIdSumUpdatedAtDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - AuthorizationsByUpdatedBlockIdSumUpdatedBlockIdAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - AuthorizationsByUpdatedBlockIdSumUpdatedBlockIdDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - AuthorizationsByUpdatedBlockIdVariancePopulationCreatedAtAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - AuthorizationsByUpdatedBlockIdVariancePopulationCreatedAtDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - AuthorizationsByUpdatedBlockIdVariancePopulationCreatedBlockIdAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - AuthorizationsByUpdatedBlockIdVariancePopulationCreatedBlockIdDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - AuthorizationsByUpdatedBlockIdVariancePopulationDataAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_DATA_ASC', - AuthorizationsByUpdatedBlockIdVariancePopulationDataDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_DATA_DESC', - AuthorizationsByUpdatedBlockIdVariancePopulationExpiryAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EXPIRY_ASC', - AuthorizationsByUpdatedBlockIdVariancePopulationExpiryDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EXPIRY_DESC', - AuthorizationsByUpdatedBlockIdVariancePopulationFromIdAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_FROM_ID_ASC', - AuthorizationsByUpdatedBlockIdVariancePopulationFromIdDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_FROM_ID_DESC', - AuthorizationsByUpdatedBlockIdVariancePopulationIdAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - AuthorizationsByUpdatedBlockIdVariancePopulationIdDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - AuthorizationsByUpdatedBlockIdVariancePopulationStatusAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_STATUS_ASC', - AuthorizationsByUpdatedBlockIdVariancePopulationStatusDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_STATUS_DESC', - AuthorizationsByUpdatedBlockIdVariancePopulationToIdAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TO_ID_ASC', - AuthorizationsByUpdatedBlockIdVariancePopulationToIdDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TO_ID_DESC', - AuthorizationsByUpdatedBlockIdVariancePopulationToKeyAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TO_KEY_ASC', - AuthorizationsByUpdatedBlockIdVariancePopulationToKeyDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TO_KEY_DESC', - AuthorizationsByUpdatedBlockIdVariancePopulationTypeAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TYPE_ASC', - AuthorizationsByUpdatedBlockIdVariancePopulationTypeDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TYPE_DESC', - AuthorizationsByUpdatedBlockIdVariancePopulationUpdatedAtAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - AuthorizationsByUpdatedBlockIdVariancePopulationUpdatedAtDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - AuthorizationsByUpdatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - AuthorizationsByUpdatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - AuthorizationsByUpdatedBlockIdVarianceSampleCreatedAtAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - AuthorizationsByUpdatedBlockIdVarianceSampleCreatedAtDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - AuthorizationsByUpdatedBlockIdVarianceSampleCreatedBlockIdAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - AuthorizationsByUpdatedBlockIdVarianceSampleCreatedBlockIdDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - AuthorizationsByUpdatedBlockIdVarianceSampleDataAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_DATA_ASC', - AuthorizationsByUpdatedBlockIdVarianceSampleDataDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_DATA_DESC', - AuthorizationsByUpdatedBlockIdVarianceSampleExpiryAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EXPIRY_ASC', - AuthorizationsByUpdatedBlockIdVarianceSampleExpiryDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EXPIRY_DESC', - AuthorizationsByUpdatedBlockIdVarianceSampleFromIdAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_FROM_ID_ASC', - AuthorizationsByUpdatedBlockIdVarianceSampleFromIdDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_FROM_ID_DESC', - AuthorizationsByUpdatedBlockIdVarianceSampleIdAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - AuthorizationsByUpdatedBlockIdVarianceSampleIdDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - AuthorizationsByUpdatedBlockIdVarianceSampleStatusAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_STATUS_ASC', - AuthorizationsByUpdatedBlockIdVarianceSampleStatusDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_STATUS_DESC', - AuthorizationsByUpdatedBlockIdVarianceSampleToIdAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TO_ID_ASC', - AuthorizationsByUpdatedBlockIdVarianceSampleToIdDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TO_ID_DESC', - AuthorizationsByUpdatedBlockIdVarianceSampleToKeyAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TO_KEY_ASC', - AuthorizationsByUpdatedBlockIdVarianceSampleToKeyDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TO_KEY_DESC', - AuthorizationsByUpdatedBlockIdVarianceSampleTypeAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TYPE_ASC', - AuthorizationsByUpdatedBlockIdVarianceSampleTypeDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TYPE_DESC', - AuthorizationsByUpdatedBlockIdVarianceSampleUpdatedAtAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - AuthorizationsByUpdatedBlockIdVarianceSampleUpdatedAtDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - AuthorizationsByUpdatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - AuthorizationsByUpdatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'AUTHORIZATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - BlockIdAsc = 'BLOCK_ID_ASC', - BlockIdDesc = 'BLOCK_ID_DESC', - BridgeEventsByCreatedBlockIdAverageAmountAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_AVERAGE_AMOUNT_ASC', - BridgeEventsByCreatedBlockIdAverageAmountDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_AVERAGE_AMOUNT_DESC', - BridgeEventsByCreatedBlockIdAverageCreatedAtAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - BridgeEventsByCreatedBlockIdAverageCreatedAtDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - BridgeEventsByCreatedBlockIdAverageCreatedBlockIdAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - BridgeEventsByCreatedBlockIdAverageCreatedBlockIdDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - BridgeEventsByCreatedBlockIdAverageDatetimeAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_AVERAGE_DATETIME_ASC', - BridgeEventsByCreatedBlockIdAverageDatetimeDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_AVERAGE_DATETIME_DESC', - BridgeEventsByCreatedBlockIdAverageEventIdxAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_IDX_ASC', - BridgeEventsByCreatedBlockIdAverageEventIdxDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_IDX_DESC', - BridgeEventsByCreatedBlockIdAverageIdentityIdAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_AVERAGE_IDENTITY_ID_ASC', - BridgeEventsByCreatedBlockIdAverageIdentityIdDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_AVERAGE_IDENTITY_ID_DESC', - BridgeEventsByCreatedBlockIdAverageIdAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_AVERAGE_ID_ASC', - BridgeEventsByCreatedBlockIdAverageIdDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_AVERAGE_ID_DESC', - BridgeEventsByCreatedBlockIdAverageRecipientAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_AVERAGE_RECIPIENT_ASC', - BridgeEventsByCreatedBlockIdAverageRecipientDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_AVERAGE_RECIPIENT_DESC', - BridgeEventsByCreatedBlockIdAverageTxHashAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_AVERAGE_TX_HASH_ASC', - BridgeEventsByCreatedBlockIdAverageTxHashDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_AVERAGE_TX_HASH_DESC', - BridgeEventsByCreatedBlockIdAverageUpdatedAtAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - BridgeEventsByCreatedBlockIdAverageUpdatedAtDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - BridgeEventsByCreatedBlockIdAverageUpdatedBlockIdAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - BridgeEventsByCreatedBlockIdAverageUpdatedBlockIdDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - BridgeEventsByCreatedBlockIdCountAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_COUNT_ASC', - BridgeEventsByCreatedBlockIdCountDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_COUNT_DESC', - BridgeEventsByCreatedBlockIdDistinctCountAmountAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_AMOUNT_ASC', - BridgeEventsByCreatedBlockIdDistinctCountAmountDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_AMOUNT_DESC', - BridgeEventsByCreatedBlockIdDistinctCountCreatedAtAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - BridgeEventsByCreatedBlockIdDistinctCountCreatedAtDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - BridgeEventsByCreatedBlockIdDistinctCountCreatedBlockIdAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - BridgeEventsByCreatedBlockIdDistinctCountCreatedBlockIdDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - BridgeEventsByCreatedBlockIdDistinctCountDatetimeAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_ASC', - BridgeEventsByCreatedBlockIdDistinctCountDatetimeDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_DESC', - BridgeEventsByCreatedBlockIdDistinctCountEventIdxAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_ASC', - BridgeEventsByCreatedBlockIdDistinctCountEventIdxDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_DESC', - BridgeEventsByCreatedBlockIdDistinctCountIdentityIdAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_IDENTITY_ID_ASC', - BridgeEventsByCreatedBlockIdDistinctCountIdentityIdDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_IDENTITY_ID_DESC', - BridgeEventsByCreatedBlockIdDistinctCountIdAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - BridgeEventsByCreatedBlockIdDistinctCountIdDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - BridgeEventsByCreatedBlockIdDistinctCountRecipientAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_RECIPIENT_ASC', - BridgeEventsByCreatedBlockIdDistinctCountRecipientDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_RECIPIENT_DESC', - BridgeEventsByCreatedBlockIdDistinctCountTxHashAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TX_HASH_ASC', - BridgeEventsByCreatedBlockIdDistinctCountTxHashDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TX_HASH_DESC', - BridgeEventsByCreatedBlockIdDistinctCountUpdatedAtAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - BridgeEventsByCreatedBlockIdDistinctCountUpdatedAtDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - BridgeEventsByCreatedBlockIdDistinctCountUpdatedBlockIdAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - BridgeEventsByCreatedBlockIdDistinctCountUpdatedBlockIdDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - BridgeEventsByCreatedBlockIdMaxAmountAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_MAX_AMOUNT_ASC', - BridgeEventsByCreatedBlockIdMaxAmountDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_MAX_AMOUNT_DESC', - BridgeEventsByCreatedBlockIdMaxCreatedAtAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_ASC', - BridgeEventsByCreatedBlockIdMaxCreatedAtDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_DESC', - BridgeEventsByCreatedBlockIdMaxCreatedBlockIdAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - BridgeEventsByCreatedBlockIdMaxCreatedBlockIdDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - BridgeEventsByCreatedBlockIdMaxDatetimeAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_MAX_DATETIME_ASC', - BridgeEventsByCreatedBlockIdMaxDatetimeDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_MAX_DATETIME_DESC', - BridgeEventsByCreatedBlockIdMaxEventIdxAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_MAX_EVENT_IDX_ASC', - BridgeEventsByCreatedBlockIdMaxEventIdxDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_MAX_EVENT_IDX_DESC', - BridgeEventsByCreatedBlockIdMaxIdentityIdAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_MAX_IDENTITY_ID_ASC', - BridgeEventsByCreatedBlockIdMaxIdentityIdDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_MAX_IDENTITY_ID_DESC', - BridgeEventsByCreatedBlockIdMaxIdAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_MAX_ID_ASC', - BridgeEventsByCreatedBlockIdMaxIdDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_MAX_ID_DESC', - BridgeEventsByCreatedBlockIdMaxRecipientAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_MAX_RECIPIENT_ASC', - BridgeEventsByCreatedBlockIdMaxRecipientDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_MAX_RECIPIENT_DESC', - BridgeEventsByCreatedBlockIdMaxTxHashAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_MAX_TX_HASH_ASC', - BridgeEventsByCreatedBlockIdMaxTxHashDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_MAX_TX_HASH_DESC', - BridgeEventsByCreatedBlockIdMaxUpdatedAtAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - BridgeEventsByCreatedBlockIdMaxUpdatedAtDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - BridgeEventsByCreatedBlockIdMaxUpdatedBlockIdAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - BridgeEventsByCreatedBlockIdMaxUpdatedBlockIdDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - BridgeEventsByCreatedBlockIdMinAmountAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_MIN_AMOUNT_ASC', - BridgeEventsByCreatedBlockIdMinAmountDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_MIN_AMOUNT_DESC', - BridgeEventsByCreatedBlockIdMinCreatedAtAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_ASC', - BridgeEventsByCreatedBlockIdMinCreatedAtDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_DESC', - BridgeEventsByCreatedBlockIdMinCreatedBlockIdAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - BridgeEventsByCreatedBlockIdMinCreatedBlockIdDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - BridgeEventsByCreatedBlockIdMinDatetimeAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_MIN_DATETIME_ASC', - BridgeEventsByCreatedBlockIdMinDatetimeDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_MIN_DATETIME_DESC', - BridgeEventsByCreatedBlockIdMinEventIdxAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_MIN_EVENT_IDX_ASC', - BridgeEventsByCreatedBlockIdMinEventIdxDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_MIN_EVENT_IDX_DESC', - BridgeEventsByCreatedBlockIdMinIdentityIdAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_MIN_IDENTITY_ID_ASC', - BridgeEventsByCreatedBlockIdMinIdentityIdDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_MIN_IDENTITY_ID_DESC', - BridgeEventsByCreatedBlockIdMinIdAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_MIN_ID_ASC', - BridgeEventsByCreatedBlockIdMinIdDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_MIN_ID_DESC', - BridgeEventsByCreatedBlockIdMinRecipientAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_MIN_RECIPIENT_ASC', - BridgeEventsByCreatedBlockIdMinRecipientDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_MIN_RECIPIENT_DESC', - BridgeEventsByCreatedBlockIdMinTxHashAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_MIN_TX_HASH_ASC', - BridgeEventsByCreatedBlockIdMinTxHashDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_MIN_TX_HASH_DESC', - BridgeEventsByCreatedBlockIdMinUpdatedAtAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - BridgeEventsByCreatedBlockIdMinUpdatedAtDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - BridgeEventsByCreatedBlockIdMinUpdatedBlockIdAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - BridgeEventsByCreatedBlockIdMinUpdatedBlockIdDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - BridgeEventsByCreatedBlockIdStddevPopulationAmountAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_AMOUNT_ASC', - BridgeEventsByCreatedBlockIdStddevPopulationAmountDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_AMOUNT_DESC', - BridgeEventsByCreatedBlockIdStddevPopulationCreatedAtAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - BridgeEventsByCreatedBlockIdStddevPopulationCreatedAtDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - BridgeEventsByCreatedBlockIdStddevPopulationCreatedBlockIdAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - BridgeEventsByCreatedBlockIdStddevPopulationCreatedBlockIdDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - BridgeEventsByCreatedBlockIdStddevPopulationDatetimeAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_DATETIME_ASC', - BridgeEventsByCreatedBlockIdStddevPopulationDatetimeDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_DATETIME_DESC', - BridgeEventsByCreatedBlockIdStddevPopulationEventIdxAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_ASC', - BridgeEventsByCreatedBlockIdStddevPopulationEventIdxDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_DESC', - BridgeEventsByCreatedBlockIdStddevPopulationIdentityIdAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_IDENTITY_ID_ASC', - BridgeEventsByCreatedBlockIdStddevPopulationIdentityIdDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_IDENTITY_ID_DESC', - BridgeEventsByCreatedBlockIdStddevPopulationIdAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - BridgeEventsByCreatedBlockIdStddevPopulationIdDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - BridgeEventsByCreatedBlockIdStddevPopulationRecipientAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_RECIPIENT_ASC', - BridgeEventsByCreatedBlockIdStddevPopulationRecipientDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_RECIPIENT_DESC', - BridgeEventsByCreatedBlockIdStddevPopulationTxHashAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TX_HASH_ASC', - BridgeEventsByCreatedBlockIdStddevPopulationTxHashDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TX_HASH_DESC', - BridgeEventsByCreatedBlockIdStddevPopulationUpdatedAtAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - BridgeEventsByCreatedBlockIdStddevPopulationUpdatedAtDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - BridgeEventsByCreatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - BridgeEventsByCreatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - BridgeEventsByCreatedBlockIdStddevSampleAmountAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_AMOUNT_ASC', - BridgeEventsByCreatedBlockIdStddevSampleAmountDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_AMOUNT_DESC', - BridgeEventsByCreatedBlockIdStddevSampleCreatedAtAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - BridgeEventsByCreatedBlockIdStddevSampleCreatedAtDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - BridgeEventsByCreatedBlockIdStddevSampleCreatedBlockIdAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - BridgeEventsByCreatedBlockIdStddevSampleCreatedBlockIdDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - BridgeEventsByCreatedBlockIdStddevSampleDatetimeAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_DATETIME_ASC', - BridgeEventsByCreatedBlockIdStddevSampleDatetimeDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_DATETIME_DESC', - BridgeEventsByCreatedBlockIdStddevSampleEventIdxAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', - BridgeEventsByCreatedBlockIdStddevSampleEventIdxDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', - BridgeEventsByCreatedBlockIdStddevSampleIdentityIdAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_IDENTITY_ID_ASC', - BridgeEventsByCreatedBlockIdStddevSampleIdentityIdDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_IDENTITY_ID_DESC', - BridgeEventsByCreatedBlockIdStddevSampleIdAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - BridgeEventsByCreatedBlockIdStddevSampleIdDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - BridgeEventsByCreatedBlockIdStddevSampleRecipientAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_RECIPIENT_ASC', - BridgeEventsByCreatedBlockIdStddevSampleRecipientDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_RECIPIENT_DESC', - BridgeEventsByCreatedBlockIdStddevSampleTxHashAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TX_HASH_ASC', - BridgeEventsByCreatedBlockIdStddevSampleTxHashDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TX_HASH_DESC', - BridgeEventsByCreatedBlockIdStddevSampleUpdatedAtAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - BridgeEventsByCreatedBlockIdStddevSampleUpdatedAtDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - BridgeEventsByCreatedBlockIdStddevSampleUpdatedBlockIdAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - BridgeEventsByCreatedBlockIdStddevSampleUpdatedBlockIdDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - BridgeEventsByCreatedBlockIdSumAmountAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_SUM_AMOUNT_ASC', - BridgeEventsByCreatedBlockIdSumAmountDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_SUM_AMOUNT_DESC', - BridgeEventsByCreatedBlockIdSumCreatedAtAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_ASC', - BridgeEventsByCreatedBlockIdSumCreatedAtDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_DESC', - BridgeEventsByCreatedBlockIdSumCreatedBlockIdAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - BridgeEventsByCreatedBlockIdSumCreatedBlockIdDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - BridgeEventsByCreatedBlockIdSumDatetimeAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_SUM_DATETIME_ASC', - BridgeEventsByCreatedBlockIdSumDatetimeDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_SUM_DATETIME_DESC', - BridgeEventsByCreatedBlockIdSumEventIdxAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_SUM_EVENT_IDX_ASC', - BridgeEventsByCreatedBlockIdSumEventIdxDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_SUM_EVENT_IDX_DESC', - BridgeEventsByCreatedBlockIdSumIdentityIdAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_SUM_IDENTITY_ID_ASC', - BridgeEventsByCreatedBlockIdSumIdentityIdDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_SUM_IDENTITY_ID_DESC', - BridgeEventsByCreatedBlockIdSumIdAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_SUM_ID_ASC', - BridgeEventsByCreatedBlockIdSumIdDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_SUM_ID_DESC', - BridgeEventsByCreatedBlockIdSumRecipientAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_SUM_RECIPIENT_ASC', - BridgeEventsByCreatedBlockIdSumRecipientDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_SUM_RECIPIENT_DESC', - BridgeEventsByCreatedBlockIdSumTxHashAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_SUM_TX_HASH_ASC', - BridgeEventsByCreatedBlockIdSumTxHashDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_SUM_TX_HASH_DESC', - BridgeEventsByCreatedBlockIdSumUpdatedAtAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - BridgeEventsByCreatedBlockIdSumUpdatedAtDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - BridgeEventsByCreatedBlockIdSumUpdatedBlockIdAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - BridgeEventsByCreatedBlockIdSumUpdatedBlockIdDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - BridgeEventsByCreatedBlockIdVariancePopulationAmountAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_AMOUNT_ASC', - BridgeEventsByCreatedBlockIdVariancePopulationAmountDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_AMOUNT_DESC', - BridgeEventsByCreatedBlockIdVariancePopulationCreatedAtAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - BridgeEventsByCreatedBlockIdVariancePopulationCreatedAtDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - BridgeEventsByCreatedBlockIdVariancePopulationCreatedBlockIdAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - BridgeEventsByCreatedBlockIdVariancePopulationCreatedBlockIdDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - BridgeEventsByCreatedBlockIdVariancePopulationDatetimeAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_DATETIME_ASC', - BridgeEventsByCreatedBlockIdVariancePopulationDatetimeDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_DATETIME_DESC', - BridgeEventsByCreatedBlockIdVariancePopulationEventIdxAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', - BridgeEventsByCreatedBlockIdVariancePopulationEventIdxDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', - BridgeEventsByCreatedBlockIdVariancePopulationIdentityIdAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_IDENTITY_ID_ASC', - BridgeEventsByCreatedBlockIdVariancePopulationIdentityIdDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_IDENTITY_ID_DESC', - BridgeEventsByCreatedBlockIdVariancePopulationIdAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - BridgeEventsByCreatedBlockIdVariancePopulationIdDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - BridgeEventsByCreatedBlockIdVariancePopulationRecipientAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_RECIPIENT_ASC', - BridgeEventsByCreatedBlockIdVariancePopulationRecipientDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_RECIPIENT_DESC', - BridgeEventsByCreatedBlockIdVariancePopulationTxHashAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TX_HASH_ASC', - BridgeEventsByCreatedBlockIdVariancePopulationTxHashDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TX_HASH_DESC', - BridgeEventsByCreatedBlockIdVariancePopulationUpdatedAtAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - BridgeEventsByCreatedBlockIdVariancePopulationUpdatedAtDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - BridgeEventsByCreatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - BridgeEventsByCreatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - BridgeEventsByCreatedBlockIdVarianceSampleAmountAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_AMOUNT_ASC', - BridgeEventsByCreatedBlockIdVarianceSampleAmountDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_AMOUNT_DESC', - BridgeEventsByCreatedBlockIdVarianceSampleCreatedAtAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - BridgeEventsByCreatedBlockIdVarianceSampleCreatedAtDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - BridgeEventsByCreatedBlockIdVarianceSampleCreatedBlockIdAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - BridgeEventsByCreatedBlockIdVarianceSampleCreatedBlockIdDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - BridgeEventsByCreatedBlockIdVarianceSampleDatetimeAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_DATETIME_ASC', - BridgeEventsByCreatedBlockIdVarianceSampleDatetimeDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_DATETIME_DESC', - BridgeEventsByCreatedBlockIdVarianceSampleEventIdxAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', - BridgeEventsByCreatedBlockIdVarianceSampleEventIdxDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', - BridgeEventsByCreatedBlockIdVarianceSampleIdentityIdAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_IDENTITY_ID_ASC', - BridgeEventsByCreatedBlockIdVarianceSampleIdentityIdDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_IDENTITY_ID_DESC', - BridgeEventsByCreatedBlockIdVarianceSampleIdAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - BridgeEventsByCreatedBlockIdVarianceSampleIdDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - BridgeEventsByCreatedBlockIdVarianceSampleRecipientAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_RECIPIENT_ASC', - BridgeEventsByCreatedBlockIdVarianceSampleRecipientDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_RECIPIENT_DESC', - BridgeEventsByCreatedBlockIdVarianceSampleTxHashAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TX_HASH_ASC', - BridgeEventsByCreatedBlockIdVarianceSampleTxHashDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TX_HASH_DESC', - BridgeEventsByCreatedBlockIdVarianceSampleUpdatedAtAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - BridgeEventsByCreatedBlockIdVarianceSampleUpdatedAtDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - BridgeEventsByCreatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - BridgeEventsByCreatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'BRIDGE_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - BridgeEventsByUpdatedBlockIdAverageAmountAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_AVERAGE_AMOUNT_ASC', - BridgeEventsByUpdatedBlockIdAverageAmountDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_AVERAGE_AMOUNT_DESC', - BridgeEventsByUpdatedBlockIdAverageCreatedAtAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - BridgeEventsByUpdatedBlockIdAverageCreatedAtDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - BridgeEventsByUpdatedBlockIdAverageCreatedBlockIdAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - BridgeEventsByUpdatedBlockIdAverageCreatedBlockIdDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - BridgeEventsByUpdatedBlockIdAverageDatetimeAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_AVERAGE_DATETIME_ASC', - BridgeEventsByUpdatedBlockIdAverageDatetimeDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_AVERAGE_DATETIME_DESC', - BridgeEventsByUpdatedBlockIdAverageEventIdxAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_IDX_ASC', - BridgeEventsByUpdatedBlockIdAverageEventIdxDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_IDX_DESC', - BridgeEventsByUpdatedBlockIdAverageIdentityIdAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_AVERAGE_IDENTITY_ID_ASC', - BridgeEventsByUpdatedBlockIdAverageIdentityIdDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_AVERAGE_IDENTITY_ID_DESC', - BridgeEventsByUpdatedBlockIdAverageIdAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_ASC', - BridgeEventsByUpdatedBlockIdAverageIdDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_DESC', - BridgeEventsByUpdatedBlockIdAverageRecipientAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_AVERAGE_RECIPIENT_ASC', - BridgeEventsByUpdatedBlockIdAverageRecipientDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_AVERAGE_RECIPIENT_DESC', - BridgeEventsByUpdatedBlockIdAverageTxHashAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_AVERAGE_TX_HASH_ASC', - BridgeEventsByUpdatedBlockIdAverageTxHashDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_AVERAGE_TX_HASH_DESC', - BridgeEventsByUpdatedBlockIdAverageUpdatedAtAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - BridgeEventsByUpdatedBlockIdAverageUpdatedAtDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - BridgeEventsByUpdatedBlockIdAverageUpdatedBlockIdAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - BridgeEventsByUpdatedBlockIdAverageUpdatedBlockIdDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - BridgeEventsByUpdatedBlockIdCountAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_COUNT_ASC', - BridgeEventsByUpdatedBlockIdCountDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_COUNT_DESC', - BridgeEventsByUpdatedBlockIdDistinctCountAmountAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_AMOUNT_ASC', - BridgeEventsByUpdatedBlockIdDistinctCountAmountDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_AMOUNT_DESC', - BridgeEventsByUpdatedBlockIdDistinctCountCreatedAtAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - BridgeEventsByUpdatedBlockIdDistinctCountCreatedAtDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - BridgeEventsByUpdatedBlockIdDistinctCountCreatedBlockIdAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - BridgeEventsByUpdatedBlockIdDistinctCountCreatedBlockIdDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - BridgeEventsByUpdatedBlockIdDistinctCountDatetimeAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_ASC', - BridgeEventsByUpdatedBlockIdDistinctCountDatetimeDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_DESC', - BridgeEventsByUpdatedBlockIdDistinctCountEventIdxAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_ASC', - BridgeEventsByUpdatedBlockIdDistinctCountEventIdxDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_DESC', - BridgeEventsByUpdatedBlockIdDistinctCountIdentityIdAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_IDENTITY_ID_ASC', - BridgeEventsByUpdatedBlockIdDistinctCountIdentityIdDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_IDENTITY_ID_DESC', - BridgeEventsByUpdatedBlockIdDistinctCountIdAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - BridgeEventsByUpdatedBlockIdDistinctCountIdDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - BridgeEventsByUpdatedBlockIdDistinctCountRecipientAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_RECIPIENT_ASC', - BridgeEventsByUpdatedBlockIdDistinctCountRecipientDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_RECIPIENT_DESC', - BridgeEventsByUpdatedBlockIdDistinctCountTxHashAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TX_HASH_ASC', - BridgeEventsByUpdatedBlockIdDistinctCountTxHashDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TX_HASH_DESC', - BridgeEventsByUpdatedBlockIdDistinctCountUpdatedAtAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - BridgeEventsByUpdatedBlockIdDistinctCountUpdatedAtDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - BridgeEventsByUpdatedBlockIdDistinctCountUpdatedBlockIdAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - BridgeEventsByUpdatedBlockIdDistinctCountUpdatedBlockIdDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - BridgeEventsByUpdatedBlockIdMaxAmountAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_MAX_AMOUNT_ASC', - BridgeEventsByUpdatedBlockIdMaxAmountDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_MAX_AMOUNT_DESC', - BridgeEventsByUpdatedBlockIdMaxCreatedAtAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_ASC', - BridgeEventsByUpdatedBlockIdMaxCreatedAtDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_DESC', - BridgeEventsByUpdatedBlockIdMaxCreatedBlockIdAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - BridgeEventsByUpdatedBlockIdMaxCreatedBlockIdDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - BridgeEventsByUpdatedBlockIdMaxDatetimeAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_MAX_DATETIME_ASC', - BridgeEventsByUpdatedBlockIdMaxDatetimeDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_MAX_DATETIME_DESC', - BridgeEventsByUpdatedBlockIdMaxEventIdxAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_MAX_EVENT_IDX_ASC', - BridgeEventsByUpdatedBlockIdMaxEventIdxDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_MAX_EVENT_IDX_DESC', - BridgeEventsByUpdatedBlockIdMaxIdentityIdAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_MAX_IDENTITY_ID_ASC', - BridgeEventsByUpdatedBlockIdMaxIdentityIdDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_MAX_IDENTITY_ID_DESC', - BridgeEventsByUpdatedBlockIdMaxIdAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_MAX_ID_ASC', - BridgeEventsByUpdatedBlockIdMaxIdDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_MAX_ID_DESC', - BridgeEventsByUpdatedBlockIdMaxRecipientAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_MAX_RECIPIENT_ASC', - BridgeEventsByUpdatedBlockIdMaxRecipientDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_MAX_RECIPIENT_DESC', - BridgeEventsByUpdatedBlockIdMaxTxHashAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_MAX_TX_HASH_ASC', - BridgeEventsByUpdatedBlockIdMaxTxHashDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_MAX_TX_HASH_DESC', - BridgeEventsByUpdatedBlockIdMaxUpdatedAtAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - BridgeEventsByUpdatedBlockIdMaxUpdatedAtDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - BridgeEventsByUpdatedBlockIdMaxUpdatedBlockIdAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - BridgeEventsByUpdatedBlockIdMaxUpdatedBlockIdDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - BridgeEventsByUpdatedBlockIdMinAmountAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_MIN_AMOUNT_ASC', - BridgeEventsByUpdatedBlockIdMinAmountDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_MIN_AMOUNT_DESC', - BridgeEventsByUpdatedBlockIdMinCreatedAtAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_ASC', - BridgeEventsByUpdatedBlockIdMinCreatedAtDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_DESC', - BridgeEventsByUpdatedBlockIdMinCreatedBlockIdAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - BridgeEventsByUpdatedBlockIdMinCreatedBlockIdDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - BridgeEventsByUpdatedBlockIdMinDatetimeAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_MIN_DATETIME_ASC', - BridgeEventsByUpdatedBlockIdMinDatetimeDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_MIN_DATETIME_DESC', - BridgeEventsByUpdatedBlockIdMinEventIdxAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_MIN_EVENT_IDX_ASC', - BridgeEventsByUpdatedBlockIdMinEventIdxDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_MIN_EVENT_IDX_DESC', - BridgeEventsByUpdatedBlockIdMinIdentityIdAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_MIN_IDENTITY_ID_ASC', - BridgeEventsByUpdatedBlockIdMinIdentityIdDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_MIN_IDENTITY_ID_DESC', - BridgeEventsByUpdatedBlockIdMinIdAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_MIN_ID_ASC', - BridgeEventsByUpdatedBlockIdMinIdDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_MIN_ID_DESC', - BridgeEventsByUpdatedBlockIdMinRecipientAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_MIN_RECIPIENT_ASC', - BridgeEventsByUpdatedBlockIdMinRecipientDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_MIN_RECIPIENT_DESC', - BridgeEventsByUpdatedBlockIdMinTxHashAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_MIN_TX_HASH_ASC', - BridgeEventsByUpdatedBlockIdMinTxHashDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_MIN_TX_HASH_DESC', - BridgeEventsByUpdatedBlockIdMinUpdatedAtAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - BridgeEventsByUpdatedBlockIdMinUpdatedAtDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - BridgeEventsByUpdatedBlockIdMinUpdatedBlockIdAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - BridgeEventsByUpdatedBlockIdMinUpdatedBlockIdDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - BridgeEventsByUpdatedBlockIdStddevPopulationAmountAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_AMOUNT_ASC', - BridgeEventsByUpdatedBlockIdStddevPopulationAmountDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_AMOUNT_DESC', - BridgeEventsByUpdatedBlockIdStddevPopulationCreatedAtAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - BridgeEventsByUpdatedBlockIdStddevPopulationCreatedAtDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - BridgeEventsByUpdatedBlockIdStddevPopulationCreatedBlockIdAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - BridgeEventsByUpdatedBlockIdStddevPopulationCreatedBlockIdDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - BridgeEventsByUpdatedBlockIdStddevPopulationDatetimeAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_DATETIME_ASC', - BridgeEventsByUpdatedBlockIdStddevPopulationDatetimeDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_DATETIME_DESC', - BridgeEventsByUpdatedBlockIdStddevPopulationEventIdxAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_ASC', - BridgeEventsByUpdatedBlockIdStddevPopulationEventIdxDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_DESC', - BridgeEventsByUpdatedBlockIdStddevPopulationIdentityIdAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_IDENTITY_ID_ASC', - BridgeEventsByUpdatedBlockIdStddevPopulationIdentityIdDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_IDENTITY_ID_DESC', - BridgeEventsByUpdatedBlockIdStddevPopulationIdAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - BridgeEventsByUpdatedBlockIdStddevPopulationIdDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - BridgeEventsByUpdatedBlockIdStddevPopulationRecipientAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_RECIPIENT_ASC', - BridgeEventsByUpdatedBlockIdStddevPopulationRecipientDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_RECIPIENT_DESC', - BridgeEventsByUpdatedBlockIdStddevPopulationTxHashAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TX_HASH_ASC', - BridgeEventsByUpdatedBlockIdStddevPopulationTxHashDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TX_HASH_DESC', - BridgeEventsByUpdatedBlockIdStddevPopulationUpdatedAtAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - BridgeEventsByUpdatedBlockIdStddevPopulationUpdatedAtDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - BridgeEventsByUpdatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - BridgeEventsByUpdatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - BridgeEventsByUpdatedBlockIdStddevSampleAmountAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_AMOUNT_ASC', - BridgeEventsByUpdatedBlockIdStddevSampleAmountDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_AMOUNT_DESC', - BridgeEventsByUpdatedBlockIdStddevSampleCreatedAtAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - BridgeEventsByUpdatedBlockIdStddevSampleCreatedAtDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - BridgeEventsByUpdatedBlockIdStddevSampleCreatedBlockIdAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - BridgeEventsByUpdatedBlockIdStddevSampleCreatedBlockIdDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - BridgeEventsByUpdatedBlockIdStddevSampleDatetimeAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_DATETIME_ASC', - BridgeEventsByUpdatedBlockIdStddevSampleDatetimeDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_DATETIME_DESC', - BridgeEventsByUpdatedBlockIdStddevSampleEventIdxAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', - BridgeEventsByUpdatedBlockIdStddevSampleEventIdxDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', - BridgeEventsByUpdatedBlockIdStddevSampleIdentityIdAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_IDENTITY_ID_ASC', - BridgeEventsByUpdatedBlockIdStddevSampleIdentityIdDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_IDENTITY_ID_DESC', - BridgeEventsByUpdatedBlockIdStddevSampleIdAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - BridgeEventsByUpdatedBlockIdStddevSampleIdDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - BridgeEventsByUpdatedBlockIdStddevSampleRecipientAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_RECIPIENT_ASC', - BridgeEventsByUpdatedBlockIdStddevSampleRecipientDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_RECIPIENT_DESC', - BridgeEventsByUpdatedBlockIdStddevSampleTxHashAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TX_HASH_ASC', - BridgeEventsByUpdatedBlockIdStddevSampleTxHashDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TX_HASH_DESC', - BridgeEventsByUpdatedBlockIdStddevSampleUpdatedAtAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - BridgeEventsByUpdatedBlockIdStddevSampleUpdatedAtDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - BridgeEventsByUpdatedBlockIdStddevSampleUpdatedBlockIdAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - BridgeEventsByUpdatedBlockIdStddevSampleUpdatedBlockIdDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - BridgeEventsByUpdatedBlockIdSumAmountAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_SUM_AMOUNT_ASC', - BridgeEventsByUpdatedBlockIdSumAmountDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_SUM_AMOUNT_DESC', - BridgeEventsByUpdatedBlockIdSumCreatedAtAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_ASC', - BridgeEventsByUpdatedBlockIdSumCreatedAtDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_DESC', - BridgeEventsByUpdatedBlockIdSumCreatedBlockIdAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - BridgeEventsByUpdatedBlockIdSumCreatedBlockIdDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - BridgeEventsByUpdatedBlockIdSumDatetimeAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_SUM_DATETIME_ASC', - BridgeEventsByUpdatedBlockIdSumDatetimeDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_SUM_DATETIME_DESC', - BridgeEventsByUpdatedBlockIdSumEventIdxAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_SUM_EVENT_IDX_ASC', - BridgeEventsByUpdatedBlockIdSumEventIdxDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_SUM_EVENT_IDX_DESC', - BridgeEventsByUpdatedBlockIdSumIdentityIdAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_SUM_IDENTITY_ID_ASC', - BridgeEventsByUpdatedBlockIdSumIdentityIdDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_SUM_IDENTITY_ID_DESC', - BridgeEventsByUpdatedBlockIdSumIdAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_SUM_ID_ASC', - BridgeEventsByUpdatedBlockIdSumIdDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_SUM_ID_DESC', - BridgeEventsByUpdatedBlockIdSumRecipientAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_SUM_RECIPIENT_ASC', - BridgeEventsByUpdatedBlockIdSumRecipientDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_SUM_RECIPIENT_DESC', - BridgeEventsByUpdatedBlockIdSumTxHashAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_SUM_TX_HASH_ASC', - BridgeEventsByUpdatedBlockIdSumTxHashDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_SUM_TX_HASH_DESC', - BridgeEventsByUpdatedBlockIdSumUpdatedAtAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - BridgeEventsByUpdatedBlockIdSumUpdatedAtDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - BridgeEventsByUpdatedBlockIdSumUpdatedBlockIdAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - BridgeEventsByUpdatedBlockIdSumUpdatedBlockIdDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - BridgeEventsByUpdatedBlockIdVariancePopulationAmountAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_AMOUNT_ASC', - BridgeEventsByUpdatedBlockIdVariancePopulationAmountDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_AMOUNT_DESC', - BridgeEventsByUpdatedBlockIdVariancePopulationCreatedAtAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - BridgeEventsByUpdatedBlockIdVariancePopulationCreatedAtDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - BridgeEventsByUpdatedBlockIdVariancePopulationCreatedBlockIdAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - BridgeEventsByUpdatedBlockIdVariancePopulationCreatedBlockIdDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - BridgeEventsByUpdatedBlockIdVariancePopulationDatetimeAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_DATETIME_ASC', - BridgeEventsByUpdatedBlockIdVariancePopulationDatetimeDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_DATETIME_DESC', - BridgeEventsByUpdatedBlockIdVariancePopulationEventIdxAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', - BridgeEventsByUpdatedBlockIdVariancePopulationEventIdxDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', - BridgeEventsByUpdatedBlockIdVariancePopulationIdentityIdAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_IDENTITY_ID_ASC', - BridgeEventsByUpdatedBlockIdVariancePopulationIdentityIdDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_IDENTITY_ID_DESC', - BridgeEventsByUpdatedBlockIdVariancePopulationIdAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - BridgeEventsByUpdatedBlockIdVariancePopulationIdDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - BridgeEventsByUpdatedBlockIdVariancePopulationRecipientAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_RECIPIENT_ASC', - BridgeEventsByUpdatedBlockIdVariancePopulationRecipientDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_RECIPIENT_DESC', - BridgeEventsByUpdatedBlockIdVariancePopulationTxHashAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TX_HASH_ASC', - BridgeEventsByUpdatedBlockIdVariancePopulationTxHashDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TX_HASH_DESC', - BridgeEventsByUpdatedBlockIdVariancePopulationUpdatedAtAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - BridgeEventsByUpdatedBlockIdVariancePopulationUpdatedAtDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - BridgeEventsByUpdatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - BridgeEventsByUpdatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - BridgeEventsByUpdatedBlockIdVarianceSampleAmountAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_AMOUNT_ASC', - BridgeEventsByUpdatedBlockIdVarianceSampleAmountDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_AMOUNT_DESC', - BridgeEventsByUpdatedBlockIdVarianceSampleCreatedAtAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - BridgeEventsByUpdatedBlockIdVarianceSampleCreatedAtDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - BridgeEventsByUpdatedBlockIdVarianceSampleCreatedBlockIdAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - BridgeEventsByUpdatedBlockIdVarianceSampleCreatedBlockIdDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - BridgeEventsByUpdatedBlockIdVarianceSampleDatetimeAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_DATETIME_ASC', - BridgeEventsByUpdatedBlockIdVarianceSampleDatetimeDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_DATETIME_DESC', - BridgeEventsByUpdatedBlockIdVarianceSampleEventIdxAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', - BridgeEventsByUpdatedBlockIdVarianceSampleEventIdxDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', - BridgeEventsByUpdatedBlockIdVarianceSampleIdentityIdAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_IDENTITY_ID_ASC', - BridgeEventsByUpdatedBlockIdVarianceSampleIdentityIdDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_IDENTITY_ID_DESC', - BridgeEventsByUpdatedBlockIdVarianceSampleIdAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - BridgeEventsByUpdatedBlockIdVarianceSampleIdDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - BridgeEventsByUpdatedBlockIdVarianceSampleRecipientAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_RECIPIENT_ASC', - BridgeEventsByUpdatedBlockIdVarianceSampleRecipientDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_RECIPIENT_DESC', - BridgeEventsByUpdatedBlockIdVarianceSampleTxHashAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TX_HASH_ASC', - BridgeEventsByUpdatedBlockIdVarianceSampleTxHashDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TX_HASH_DESC', - BridgeEventsByUpdatedBlockIdVarianceSampleUpdatedAtAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - BridgeEventsByUpdatedBlockIdVarianceSampleUpdatedAtDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - BridgeEventsByUpdatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - BridgeEventsByUpdatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'BRIDGE_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - ChildIdentitiesByCreatedBlockIdAverageChildIdAsc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_AVERAGE_CHILD_ID_ASC', - ChildIdentitiesByCreatedBlockIdAverageChildIdDesc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_AVERAGE_CHILD_ID_DESC', - ChildIdentitiesByCreatedBlockIdAverageCreatedAtAsc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - ChildIdentitiesByCreatedBlockIdAverageCreatedAtDesc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - ChildIdentitiesByCreatedBlockIdAverageCreatedBlockIdAsc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - ChildIdentitiesByCreatedBlockIdAverageCreatedBlockIdDesc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - ChildIdentitiesByCreatedBlockIdAverageIdAsc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_AVERAGE_ID_ASC', - ChildIdentitiesByCreatedBlockIdAverageIdDesc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_AVERAGE_ID_DESC', - ChildIdentitiesByCreatedBlockIdAverageParentIdAsc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_AVERAGE_PARENT_ID_ASC', - ChildIdentitiesByCreatedBlockIdAverageParentIdDesc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_AVERAGE_PARENT_ID_DESC', - ChildIdentitiesByCreatedBlockIdAverageUpdatedAtAsc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - ChildIdentitiesByCreatedBlockIdAverageUpdatedAtDesc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - ChildIdentitiesByCreatedBlockIdAverageUpdatedBlockIdAsc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - ChildIdentitiesByCreatedBlockIdAverageUpdatedBlockIdDesc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - ChildIdentitiesByCreatedBlockIdCountAsc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_COUNT_ASC', - ChildIdentitiesByCreatedBlockIdCountDesc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_COUNT_DESC', - ChildIdentitiesByCreatedBlockIdDistinctCountChildIdAsc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CHILD_ID_ASC', - ChildIdentitiesByCreatedBlockIdDistinctCountChildIdDesc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CHILD_ID_DESC', - ChildIdentitiesByCreatedBlockIdDistinctCountCreatedAtAsc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - ChildIdentitiesByCreatedBlockIdDistinctCountCreatedAtDesc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - ChildIdentitiesByCreatedBlockIdDistinctCountCreatedBlockIdAsc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - ChildIdentitiesByCreatedBlockIdDistinctCountCreatedBlockIdDesc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - ChildIdentitiesByCreatedBlockIdDistinctCountIdAsc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - ChildIdentitiesByCreatedBlockIdDistinctCountIdDesc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - ChildIdentitiesByCreatedBlockIdDistinctCountParentIdAsc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_PARENT_ID_ASC', - ChildIdentitiesByCreatedBlockIdDistinctCountParentIdDesc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_PARENT_ID_DESC', - ChildIdentitiesByCreatedBlockIdDistinctCountUpdatedAtAsc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - ChildIdentitiesByCreatedBlockIdDistinctCountUpdatedAtDesc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - ChildIdentitiesByCreatedBlockIdDistinctCountUpdatedBlockIdAsc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - ChildIdentitiesByCreatedBlockIdDistinctCountUpdatedBlockIdDesc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - ChildIdentitiesByCreatedBlockIdMaxChildIdAsc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_MAX_CHILD_ID_ASC', - ChildIdentitiesByCreatedBlockIdMaxChildIdDesc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_MAX_CHILD_ID_DESC', - ChildIdentitiesByCreatedBlockIdMaxCreatedAtAsc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_ASC', - ChildIdentitiesByCreatedBlockIdMaxCreatedAtDesc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_DESC', - ChildIdentitiesByCreatedBlockIdMaxCreatedBlockIdAsc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - ChildIdentitiesByCreatedBlockIdMaxCreatedBlockIdDesc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - ChildIdentitiesByCreatedBlockIdMaxIdAsc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_MAX_ID_ASC', - ChildIdentitiesByCreatedBlockIdMaxIdDesc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_MAX_ID_DESC', - ChildIdentitiesByCreatedBlockIdMaxParentIdAsc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_MAX_PARENT_ID_ASC', - ChildIdentitiesByCreatedBlockIdMaxParentIdDesc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_MAX_PARENT_ID_DESC', - ChildIdentitiesByCreatedBlockIdMaxUpdatedAtAsc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - ChildIdentitiesByCreatedBlockIdMaxUpdatedAtDesc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - ChildIdentitiesByCreatedBlockIdMaxUpdatedBlockIdAsc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - ChildIdentitiesByCreatedBlockIdMaxUpdatedBlockIdDesc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - ChildIdentitiesByCreatedBlockIdMinChildIdAsc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_MIN_CHILD_ID_ASC', - ChildIdentitiesByCreatedBlockIdMinChildIdDesc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_MIN_CHILD_ID_DESC', - ChildIdentitiesByCreatedBlockIdMinCreatedAtAsc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_ASC', - ChildIdentitiesByCreatedBlockIdMinCreatedAtDesc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_DESC', - ChildIdentitiesByCreatedBlockIdMinCreatedBlockIdAsc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - ChildIdentitiesByCreatedBlockIdMinCreatedBlockIdDesc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - ChildIdentitiesByCreatedBlockIdMinIdAsc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_MIN_ID_ASC', - ChildIdentitiesByCreatedBlockIdMinIdDesc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_MIN_ID_DESC', - ChildIdentitiesByCreatedBlockIdMinParentIdAsc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_MIN_PARENT_ID_ASC', - ChildIdentitiesByCreatedBlockIdMinParentIdDesc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_MIN_PARENT_ID_DESC', - ChildIdentitiesByCreatedBlockIdMinUpdatedAtAsc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - ChildIdentitiesByCreatedBlockIdMinUpdatedAtDesc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - ChildIdentitiesByCreatedBlockIdMinUpdatedBlockIdAsc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - ChildIdentitiesByCreatedBlockIdMinUpdatedBlockIdDesc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - ChildIdentitiesByCreatedBlockIdStddevPopulationChildIdAsc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CHILD_ID_ASC', - ChildIdentitiesByCreatedBlockIdStddevPopulationChildIdDesc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CHILD_ID_DESC', - ChildIdentitiesByCreatedBlockIdStddevPopulationCreatedAtAsc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - ChildIdentitiesByCreatedBlockIdStddevPopulationCreatedAtDesc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - ChildIdentitiesByCreatedBlockIdStddevPopulationCreatedBlockIdAsc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - ChildIdentitiesByCreatedBlockIdStddevPopulationCreatedBlockIdDesc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - ChildIdentitiesByCreatedBlockIdStddevPopulationIdAsc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - ChildIdentitiesByCreatedBlockIdStddevPopulationIdDesc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - ChildIdentitiesByCreatedBlockIdStddevPopulationParentIdAsc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_PARENT_ID_ASC', - ChildIdentitiesByCreatedBlockIdStddevPopulationParentIdDesc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_PARENT_ID_DESC', - ChildIdentitiesByCreatedBlockIdStddevPopulationUpdatedAtAsc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - ChildIdentitiesByCreatedBlockIdStddevPopulationUpdatedAtDesc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - ChildIdentitiesByCreatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - ChildIdentitiesByCreatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - ChildIdentitiesByCreatedBlockIdStddevSampleChildIdAsc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CHILD_ID_ASC', - ChildIdentitiesByCreatedBlockIdStddevSampleChildIdDesc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CHILD_ID_DESC', - ChildIdentitiesByCreatedBlockIdStddevSampleCreatedAtAsc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - ChildIdentitiesByCreatedBlockIdStddevSampleCreatedAtDesc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - ChildIdentitiesByCreatedBlockIdStddevSampleCreatedBlockIdAsc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - ChildIdentitiesByCreatedBlockIdStddevSampleCreatedBlockIdDesc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - ChildIdentitiesByCreatedBlockIdStddevSampleIdAsc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - ChildIdentitiesByCreatedBlockIdStddevSampleIdDesc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - ChildIdentitiesByCreatedBlockIdStddevSampleParentIdAsc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_PARENT_ID_ASC', - ChildIdentitiesByCreatedBlockIdStddevSampleParentIdDesc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_PARENT_ID_DESC', - ChildIdentitiesByCreatedBlockIdStddevSampleUpdatedAtAsc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - ChildIdentitiesByCreatedBlockIdStddevSampleUpdatedAtDesc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - ChildIdentitiesByCreatedBlockIdStddevSampleUpdatedBlockIdAsc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - ChildIdentitiesByCreatedBlockIdStddevSampleUpdatedBlockIdDesc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - ChildIdentitiesByCreatedBlockIdSumChildIdAsc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_SUM_CHILD_ID_ASC', - ChildIdentitiesByCreatedBlockIdSumChildIdDesc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_SUM_CHILD_ID_DESC', - ChildIdentitiesByCreatedBlockIdSumCreatedAtAsc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_ASC', - ChildIdentitiesByCreatedBlockIdSumCreatedAtDesc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_DESC', - ChildIdentitiesByCreatedBlockIdSumCreatedBlockIdAsc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - ChildIdentitiesByCreatedBlockIdSumCreatedBlockIdDesc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - ChildIdentitiesByCreatedBlockIdSumIdAsc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_SUM_ID_ASC', - ChildIdentitiesByCreatedBlockIdSumIdDesc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_SUM_ID_DESC', - ChildIdentitiesByCreatedBlockIdSumParentIdAsc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_SUM_PARENT_ID_ASC', - ChildIdentitiesByCreatedBlockIdSumParentIdDesc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_SUM_PARENT_ID_DESC', - ChildIdentitiesByCreatedBlockIdSumUpdatedAtAsc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - ChildIdentitiesByCreatedBlockIdSumUpdatedAtDesc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - ChildIdentitiesByCreatedBlockIdSumUpdatedBlockIdAsc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - ChildIdentitiesByCreatedBlockIdSumUpdatedBlockIdDesc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - ChildIdentitiesByCreatedBlockIdVariancePopulationChildIdAsc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CHILD_ID_ASC', - ChildIdentitiesByCreatedBlockIdVariancePopulationChildIdDesc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CHILD_ID_DESC', - ChildIdentitiesByCreatedBlockIdVariancePopulationCreatedAtAsc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - ChildIdentitiesByCreatedBlockIdVariancePopulationCreatedAtDesc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - ChildIdentitiesByCreatedBlockIdVariancePopulationCreatedBlockIdAsc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - ChildIdentitiesByCreatedBlockIdVariancePopulationCreatedBlockIdDesc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - ChildIdentitiesByCreatedBlockIdVariancePopulationIdAsc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - ChildIdentitiesByCreatedBlockIdVariancePopulationIdDesc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - ChildIdentitiesByCreatedBlockIdVariancePopulationParentIdAsc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_PARENT_ID_ASC', - ChildIdentitiesByCreatedBlockIdVariancePopulationParentIdDesc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_PARENT_ID_DESC', - ChildIdentitiesByCreatedBlockIdVariancePopulationUpdatedAtAsc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - ChildIdentitiesByCreatedBlockIdVariancePopulationUpdatedAtDesc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - ChildIdentitiesByCreatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - ChildIdentitiesByCreatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - ChildIdentitiesByCreatedBlockIdVarianceSampleChildIdAsc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CHILD_ID_ASC', - ChildIdentitiesByCreatedBlockIdVarianceSampleChildIdDesc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CHILD_ID_DESC', - ChildIdentitiesByCreatedBlockIdVarianceSampleCreatedAtAsc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - ChildIdentitiesByCreatedBlockIdVarianceSampleCreatedAtDesc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - ChildIdentitiesByCreatedBlockIdVarianceSampleCreatedBlockIdAsc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - ChildIdentitiesByCreatedBlockIdVarianceSampleCreatedBlockIdDesc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - ChildIdentitiesByCreatedBlockIdVarianceSampleIdAsc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - ChildIdentitiesByCreatedBlockIdVarianceSampleIdDesc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - ChildIdentitiesByCreatedBlockIdVarianceSampleParentIdAsc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_PARENT_ID_ASC', - ChildIdentitiesByCreatedBlockIdVarianceSampleParentIdDesc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_PARENT_ID_DESC', - ChildIdentitiesByCreatedBlockIdVarianceSampleUpdatedAtAsc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - ChildIdentitiesByCreatedBlockIdVarianceSampleUpdatedAtDesc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - ChildIdentitiesByCreatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - ChildIdentitiesByCreatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'CHILD_IDENTITIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - ChildIdentitiesByUpdatedBlockIdAverageChildIdAsc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_AVERAGE_CHILD_ID_ASC', - ChildIdentitiesByUpdatedBlockIdAverageChildIdDesc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_AVERAGE_CHILD_ID_DESC', - ChildIdentitiesByUpdatedBlockIdAverageCreatedAtAsc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - ChildIdentitiesByUpdatedBlockIdAverageCreatedAtDesc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - ChildIdentitiesByUpdatedBlockIdAverageCreatedBlockIdAsc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - ChildIdentitiesByUpdatedBlockIdAverageCreatedBlockIdDesc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - ChildIdentitiesByUpdatedBlockIdAverageIdAsc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_AVERAGE_ID_ASC', - ChildIdentitiesByUpdatedBlockIdAverageIdDesc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_AVERAGE_ID_DESC', - ChildIdentitiesByUpdatedBlockIdAverageParentIdAsc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_AVERAGE_PARENT_ID_ASC', - ChildIdentitiesByUpdatedBlockIdAverageParentIdDesc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_AVERAGE_PARENT_ID_DESC', - ChildIdentitiesByUpdatedBlockIdAverageUpdatedAtAsc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - ChildIdentitiesByUpdatedBlockIdAverageUpdatedAtDesc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - ChildIdentitiesByUpdatedBlockIdAverageUpdatedBlockIdAsc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - ChildIdentitiesByUpdatedBlockIdAverageUpdatedBlockIdDesc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - ChildIdentitiesByUpdatedBlockIdCountAsc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_COUNT_ASC', - ChildIdentitiesByUpdatedBlockIdCountDesc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_COUNT_DESC', - ChildIdentitiesByUpdatedBlockIdDistinctCountChildIdAsc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CHILD_ID_ASC', - ChildIdentitiesByUpdatedBlockIdDistinctCountChildIdDesc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CHILD_ID_DESC', - ChildIdentitiesByUpdatedBlockIdDistinctCountCreatedAtAsc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - ChildIdentitiesByUpdatedBlockIdDistinctCountCreatedAtDesc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - ChildIdentitiesByUpdatedBlockIdDistinctCountCreatedBlockIdAsc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - ChildIdentitiesByUpdatedBlockIdDistinctCountCreatedBlockIdDesc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - ChildIdentitiesByUpdatedBlockIdDistinctCountIdAsc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - ChildIdentitiesByUpdatedBlockIdDistinctCountIdDesc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - ChildIdentitiesByUpdatedBlockIdDistinctCountParentIdAsc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_PARENT_ID_ASC', - ChildIdentitiesByUpdatedBlockIdDistinctCountParentIdDesc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_PARENT_ID_DESC', - ChildIdentitiesByUpdatedBlockIdDistinctCountUpdatedAtAsc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - ChildIdentitiesByUpdatedBlockIdDistinctCountUpdatedAtDesc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - ChildIdentitiesByUpdatedBlockIdDistinctCountUpdatedBlockIdAsc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - ChildIdentitiesByUpdatedBlockIdDistinctCountUpdatedBlockIdDesc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - ChildIdentitiesByUpdatedBlockIdMaxChildIdAsc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_MAX_CHILD_ID_ASC', - ChildIdentitiesByUpdatedBlockIdMaxChildIdDesc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_MAX_CHILD_ID_DESC', - ChildIdentitiesByUpdatedBlockIdMaxCreatedAtAsc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_ASC', - ChildIdentitiesByUpdatedBlockIdMaxCreatedAtDesc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_DESC', - ChildIdentitiesByUpdatedBlockIdMaxCreatedBlockIdAsc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - ChildIdentitiesByUpdatedBlockIdMaxCreatedBlockIdDesc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - ChildIdentitiesByUpdatedBlockIdMaxIdAsc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_MAX_ID_ASC', - ChildIdentitiesByUpdatedBlockIdMaxIdDesc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_MAX_ID_DESC', - ChildIdentitiesByUpdatedBlockIdMaxParentIdAsc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_MAX_PARENT_ID_ASC', - ChildIdentitiesByUpdatedBlockIdMaxParentIdDesc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_MAX_PARENT_ID_DESC', - ChildIdentitiesByUpdatedBlockIdMaxUpdatedAtAsc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - ChildIdentitiesByUpdatedBlockIdMaxUpdatedAtDesc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - ChildIdentitiesByUpdatedBlockIdMaxUpdatedBlockIdAsc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - ChildIdentitiesByUpdatedBlockIdMaxUpdatedBlockIdDesc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - ChildIdentitiesByUpdatedBlockIdMinChildIdAsc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_MIN_CHILD_ID_ASC', - ChildIdentitiesByUpdatedBlockIdMinChildIdDesc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_MIN_CHILD_ID_DESC', - ChildIdentitiesByUpdatedBlockIdMinCreatedAtAsc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_ASC', - ChildIdentitiesByUpdatedBlockIdMinCreatedAtDesc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_DESC', - ChildIdentitiesByUpdatedBlockIdMinCreatedBlockIdAsc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - ChildIdentitiesByUpdatedBlockIdMinCreatedBlockIdDesc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - ChildIdentitiesByUpdatedBlockIdMinIdAsc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_MIN_ID_ASC', - ChildIdentitiesByUpdatedBlockIdMinIdDesc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_MIN_ID_DESC', - ChildIdentitiesByUpdatedBlockIdMinParentIdAsc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_MIN_PARENT_ID_ASC', - ChildIdentitiesByUpdatedBlockIdMinParentIdDesc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_MIN_PARENT_ID_DESC', - ChildIdentitiesByUpdatedBlockIdMinUpdatedAtAsc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - ChildIdentitiesByUpdatedBlockIdMinUpdatedAtDesc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - ChildIdentitiesByUpdatedBlockIdMinUpdatedBlockIdAsc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - ChildIdentitiesByUpdatedBlockIdMinUpdatedBlockIdDesc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - ChildIdentitiesByUpdatedBlockIdStddevPopulationChildIdAsc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CHILD_ID_ASC', - ChildIdentitiesByUpdatedBlockIdStddevPopulationChildIdDesc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CHILD_ID_DESC', - ChildIdentitiesByUpdatedBlockIdStddevPopulationCreatedAtAsc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - ChildIdentitiesByUpdatedBlockIdStddevPopulationCreatedAtDesc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - ChildIdentitiesByUpdatedBlockIdStddevPopulationCreatedBlockIdAsc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - ChildIdentitiesByUpdatedBlockIdStddevPopulationCreatedBlockIdDesc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - ChildIdentitiesByUpdatedBlockIdStddevPopulationIdAsc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - ChildIdentitiesByUpdatedBlockIdStddevPopulationIdDesc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - ChildIdentitiesByUpdatedBlockIdStddevPopulationParentIdAsc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_PARENT_ID_ASC', - ChildIdentitiesByUpdatedBlockIdStddevPopulationParentIdDesc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_PARENT_ID_DESC', - ChildIdentitiesByUpdatedBlockIdStddevPopulationUpdatedAtAsc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - ChildIdentitiesByUpdatedBlockIdStddevPopulationUpdatedAtDesc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - ChildIdentitiesByUpdatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - ChildIdentitiesByUpdatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - ChildIdentitiesByUpdatedBlockIdStddevSampleChildIdAsc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CHILD_ID_ASC', - ChildIdentitiesByUpdatedBlockIdStddevSampleChildIdDesc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CHILD_ID_DESC', - ChildIdentitiesByUpdatedBlockIdStddevSampleCreatedAtAsc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - ChildIdentitiesByUpdatedBlockIdStddevSampleCreatedAtDesc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - ChildIdentitiesByUpdatedBlockIdStddevSampleCreatedBlockIdAsc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - ChildIdentitiesByUpdatedBlockIdStddevSampleCreatedBlockIdDesc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - ChildIdentitiesByUpdatedBlockIdStddevSampleIdAsc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - ChildIdentitiesByUpdatedBlockIdStddevSampleIdDesc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - ChildIdentitiesByUpdatedBlockIdStddevSampleParentIdAsc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_PARENT_ID_ASC', - ChildIdentitiesByUpdatedBlockIdStddevSampleParentIdDesc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_PARENT_ID_DESC', - ChildIdentitiesByUpdatedBlockIdStddevSampleUpdatedAtAsc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - ChildIdentitiesByUpdatedBlockIdStddevSampleUpdatedAtDesc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - ChildIdentitiesByUpdatedBlockIdStddevSampleUpdatedBlockIdAsc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - ChildIdentitiesByUpdatedBlockIdStddevSampleUpdatedBlockIdDesc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - ChildIdentitiesByUpdatedBlockIdSumChildIdAsc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_SUM_CHILD_ID_ASC', - ChildIdentitiesByUpdatedBlockIdSumChildIdDesc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_SUM_CHILD_ID_DESC', - ChildIdentitiesByUpdatedBlockIdSumCreatedAtAsc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_ASC', - ChildIdentitiesByUpdatedBlockIdSumCreatedAtDesc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_DESC', - ChildIdentitiesByUpdatedBlockIdSumCreatedBlockIdAsc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - ChildIdentitiesByUpdatedBlockIdSumCreatedBlockIdDesc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - ChildIdentitiesByUpdatedBlockIdSumIdAsc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_SUM_ID_ASC', - ChildIdentitiesByUpdatedBlockIdSumIdDesc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_SUM_ID_DESC', - ChildIdentitiesByUpdatedBlockIdSumParentIdAsc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_SUM_PARENT_ID_ASC', - ChildIdentitiesByUpdatedBlockIdSumParentIdDesc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_SUM_PARENT_ID_DESC', - ChildIdentitiesByUpdatedBlockIdSumUpdatedAtAsc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - ChildIdentitiesByUpdatedBlockIdSumUpdatedAtDesc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - ChildIdentitiesByUpdatedBlockIdSumUpdatedBlockIdAsc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - ChildIdentitiesByUpdatedBlockIdSumUpdatedBlockIdDesc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - ChildIdentitiesByUpdatedBlockIdVariancePopulationChildIdAsc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CHILD_ID_ASC', - ChildIdentitiesByUpdatedBlockIdVariancePopulationChildIdDesc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CHILD_ID_DESC', - ChildIdentitiesByUpdatedBlockIdVariancePopulationCreatedAtAsc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - ChildIdentitiesByUpdatedBlockIdVariancePopulationCreatedAtDesc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - ChildIdentitiesByUpdatedBlockIdVariancePopulationCreatedBlockIdAsc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - ChildIdentitiesByUpdatedBlockIdVariancePopulationCreatedBlockIdDesc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - ChildIdentitiesByUpdatedBlockIdVariancePopulationIdAsc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - ChildIdentitiesByUpdatedBlockIdVariancePopulationIdDesc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - ChildIdentitiesByUpdatedBlockIdVariancePopulationParentIdAsc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_PARENT_ID_ASC', - ChildIdentitiesByUpdatedBlockIdVariancePopulationParentIdDesc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_PARENT_ID_DESC', - ChildIdentitiesByUpdatedBlockIdVariancePopulationUpdatedAtAsc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - ChildIdentitiesByUpdatedBlockIdVariancePopulationUpdatedAtDesc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - ChildIdentitiesByUpdatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - ChildIdentitiesByUpdatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - ChildIdentitiesByUpdatedBlockIdVarianceSampleChildIdAsc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CHILD_ID_ASC', - ChildIdentitiesByUpdatedBlockIdVarianceSampleChildIdDesc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CHILD_ID_DESC', - ChildIdentitiesByUpdatedBlockIdVarianceSampleCreatedAtAsc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - ChildIdentitiesByUpdatedBlockIdVarianceSampleCreatedAtDesc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - ChildIdentitiesByUpdatedBlockIdVarianceSampleCreatedBlockIdAsc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - ChildIdentitiesByUpdatedBlockIdVarianceSampleCreatedBlockIdDesc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - ChildIdentitiesByUpdatedBlockIdVarianceSampleIdAsc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - ChildIdentitiesByUpdatedBlockIdVarianceSampleIdDesc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - ChildIdentitiesByUpdatedBlockIdVarianceSampleParentIdAsc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_PARENT_ID_ASC', - ChildIdentitiesByUpdatedBlockIdVarianceSampleParentIdDesc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_PARENT_ID_DESC', - ChildIdentitiesByUpdatedBlockIdVarianceSampleUpdatedAtAsc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - ChildIdentitiesByUpdatedBlockIdVarianceSampleUpdatedAtDesc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - ChildIdentitiesByUpdatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - ChildIdentitiesByUpdatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'CHILD_IDENTITIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - ClaimsByCreatedBlockIdAverageCddIdAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_AVERAGE_CDD_ID_ASC', - ClaimsByCreatedBlockIdAverageCddIdDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_AVERAGE_CDD_ID_DESC', - ClaimsByCreatedBlockIdAverageCreatedAtAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - ClaimsByCreatedBlockIdAverageCreatedAtDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - ClaimsByCreatedBlockIdAverageCreatedBlockIdAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - ClaimsByCreatedBlockIdAverageCreatedBlockIdDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - ClaimsByCreatedBlockIdAverageCustomClaimTypeIdAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_AVERAGE_CUSTOM_CLAIM_TYPE_ID_ASC', - ClaimsByCreatedBlockIdAverageCustomClaimTypeIdDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_AVERAGE_CUSTOM_CLAIM_TYPE_ID_DESC', - ClaimsByCreatedBlockIdAverageEventIdxAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_IDX_ASC', - ClaimsByCreatedBlockIdAverageEventIdxDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_IDX_DESC', - ClaimsByCreatedBlockIdAverageExpiryAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_AVERAGE_EXPIRY_ASC', - ClaimsByCreatedBlockIdAverageExpiryDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_AVERAGE_EXPIRY_DESC', - ClaimsByCreatedBlockIdAverageFilterExpiryAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_AVERAGE_FILTER_EXPIRY_ASC', - ClaimsByCreatedBlockIdAverageFilterExpiryDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_AVERAGE_FILTER_EXPIRY_DESC', - ClaimsByCreatedBlockIdAverageIdAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_AVERAGE_ID_ASC', - ClaimsByCreatedBlockIdAverageIdDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_AVERAGE_ID_DESC', - ClaimsByCreatedBlockIdAverageIssuanceDateAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_AVERAGE_ISSUANCE_DATE_ASC', - ClaimsByCreatedBlockIdAverageIssuanceDateDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_AVERAGE_ISSUANCE_DATE_DESC', - ClaimsByCreatedBlockIdAverageIssuerIdAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_AVERAGE_ISSUER_ID_ASC', - ClaimsByCreatedBlockIdAverageIssuerIdDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_AVERAGE_ISSUER_ID_DESC', - ClaimsByCreatedBlockIdAverageJurisdictionAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_AVERAGE_JURISDICTION_ASC', - ClaimsByCreatedBlockIdAverageJurisdictionDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_AVERAGE_JURISDICTION_DESC', - ClaimsByCreatedBlockIdAverageLastUpdateDateAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_AVERAGE_LAST_UPDATE_DATE_ASC', - ClaimsByCreatedBlockIdAverageLastUpdateDateDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_AVERAGE_LAST_UPDATE_DATE_DESC', - ClaimsByCreatedBlockIdAverageRevokeDateAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_AVERAGE_REVOKE_DATE_ASC', - ClaimsByCreatedBlockIdAverageRevokeDateDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_AVERAGE_REVOKE_DATE_DESC', - ClaimsByCreatedBlockIdAverageScopeAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_AVERAGE_SCOPE_ASC', - ClaimsByCreatedBlockIdAverageScopeDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_AVERAGE_SCOPE_DESC', - ClaimsByCreatedBlockIdAverageTargetIdAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_AVERAGE_TARGET_ID_ASC', - ClaimsByCreatedBlockIdAverageTargetIdDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_AVERAGE_TARGET_ID_DESC', - ClaimsByCreatedBlockIdAverageTypeAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_AVERAGE_TYPE_ASC', - ClaimsByCreatedBlockIdAverageTypeDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_AVERAGE_TYPE_DESC', - ClaimsByCreatedBlockIdAverageUpdatedAtAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - ClaimsByCreatedBlockIdAverageUpdatedAtDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - ClaimsByCreatedBlockIdAverageUpdatedBlockIdAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - ClaimsByCreatedBlockIdAverageUpdatedBlockIdDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - ClaimsByCreatedBlockIdCountAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_COUNT_ASC', - ClaimsByCreatedBlockIdCountDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_COUNT_DESC', - ClaimsByCreatedBlockIdDistinctCountCddIdAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CDD_ID_ASC', - ClaimsByCreatedBlockIdDistinctCountCddIdDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CDD_ID_DESC', - ClaimsByCreatedBlockIdDistinctCountCreatedAtAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - ClaimsByCreatedBlockIdDistinctCountCreatedAtDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - ClaimsByCreatedBlockIdDistinctCountCreatedBlockIdAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - ClaimsByCreatedBlockIdDistinctCountCreatedBlockIdDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - ClaimsByCreatedBlockIdDistinctCountCustomClaimTypeIdAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CUSTOM_CLAIM_TYPE_ID_ASC', - ClaimsByCreatedBlockIdDistinctCountCustomClaimTypeIdDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CUSTOM_CLAIM_TYPE_ID_DESC', - ClaimsByCreatedBlockIdDistinctCountEventIdxAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_ASC', - ClaimsByCreatedBlockIdDistinctCountEventIdxDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_DESC', - ClaimsByCreatedBlockIdDistinctCountExpiryAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EXPIRY_ASC', - ClaimsByCreatedBlockIdDistinctCountExpiryDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EXPIRY_DESC', - ClaimsByCreatedBlockIdDistinctCountFilterExpiryAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_FILTER_EXPIRY_ASC', - ClaimsByCreatedBlockIdDistinctCountFilterExpiryDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_FILTER_EXPIRY_DESC', - ClaimsByCreatedBlockIdDistinctCountIdAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - ClaimsByCreatedBlockIdDistinctCountIdDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - ClaimsByCreatedBlockIdDistinctCountIssuanceDateAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ISSUANCE_DATE_ASC', - ClaimsByCreatedBlockIdDistinctCountIssuanceDateDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ISSUANCE_DATE_DESC', - ClaimsByCreatedBlockIdDistinctCountIssuerIdAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ISSUER_ID_ASC', - ClaimsByCreatedBlockIdDistinctCountIssuerIdDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ISSUER_ID_DESC', - ClaimsByCreatedBlockIdDistinctCountJurisdictionAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_JURISDICTION_ASC', - ClaimsByCreatedBlockIdDistinctCountJurisdictionDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_JURISDICTION_DESC', - ClaimsByCreatedBlockIdDistinctCountLastUpdateDateAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_LAST_UPDATE_DATE_ASC', - ClaimsByCreatedBlockIdDistinctCountLastUpdateDateDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_LAST_UPDATE_DATE_DESC', - ClaimsByCreatedBlockIdDistinctCountRevokeDateAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_REVOKE_DATE_ASC', - ClaimsByCreatedBlockIdDistinctCountRevokeDateDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_REVOKE_DATE_DESC', - ClaimsByCreatedBlockIdDistinctCountScopeAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_SCOPE_ASC', - ClaimsByCreatedBlockIdDistinctCountScopeDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_SCOPE_DESC', - ClaimsByCreatedBlockIdDistinctCountTargetIdAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TARGET_ID_ASC', - ClaimsByCreatedBlockIdDistinctCountTargetIdDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TARGET_ID_DESC', - ClaimsByCreatedBlockIdDistinctCountTypeAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TYPE_ASC', - ClaimsByCreatedBlockIdDistinctCountTypeDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TYPE_DESC', - ClaimsByCreatedBlockIdDistinctCountUpdatedAtAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - ClaimsByCreatedBlockIdDistinctCountUpdatedAtDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - ClaimsByCreatedBlockIdDistinctCountUpdatedBlockIdAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - ClaimsByCreatedBlockIdDistinctCountUpdatedBlockIdDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - ClaimsByCreatedBlockIdMaxCddIdAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_MAX_CDD_ID_ASC', - ClaimsByCreatedBlockIdMaxCddIdDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_MAX_CDD_ID_DESC', - ClaimsByCreatedBlockIdMaxCreatedAtAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_ASC', - ClaimsByCreatedBlockIdMaxCreatedAtDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_DESC', - ClaimsByCreatedBlockIdMaxCreatedBlockIdAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - ClaimsByCreatedBlockIdMaxCreatedBlockIdDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - ClaimsByCreatedBlockIdMaxCustomClaimTypeIdAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_MAX_CUSTOM_CLAIM_TYPE_ID_ASC', - ClaimsByCreatedBlockIdMaxCustomClaimTypeIdDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_MAX_CUSTOM_CLAIM_TYPE_ID_DESC', - ClaimsByCreatedBlockIdMaxEventIdxAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_MAX_EVENT_IDX_ASC', - ClaimsByCreatedBlockIdMaxEventIdxDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_MAX_EVENT_IDX_DESC', - ClaimsByCreatedBlockIdMaxExpiryAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_MAX_EXPIRY_ASC', - ClaimsByCreatedBlockIdMaxExpiryDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_MAX_EXPIRY_DESC', - ClaimsByCreatedBlockIdMaxFilterExpiryAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_MAX_FILTER_EXPIRY_ASC', - ClaimsByCreatedBlockIdMaxFilterExpiryDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_MAX_FILTER_EXPIRY_DESC', - ClaimsByCreatedBlockIdMaxIdAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_MAX_ID_ASC', - ClaimsByCreatedBlockIdMaxIdDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_MAX_ID_DESC', - ClaimsByCreatedBlockIdMaxIssuanceDateAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_MAX_ISSUANCE_DATE_ASC', - ClaimsByCreatedBlockIdMaxIssuanceDateDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_MAX_ISSUANCE_DATE_DESC', - ClaimsByCreatedBlockIdMaxIssuerIdAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_MAX_ISSUER_ID_ASC', - ClaimsByCreatedBlockIdMaxIssuerIdDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_MAX_ISSUER_ID_DESC', - ClaimsByCreatedBlockIdMaxJurisdictionAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_MAX_JURISDICTION_ASC', - ClaimsByCreatedBlockIdMaxJurisdictionDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_MAX_JURISDICTION_DESC', - ClaimsByCreatedBlockIdMaxLastUpdateDateAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_MAX_LAST_UPDATE_DATE_ASC', - ClaimsByCreatedBlockIdMaxLastUpdateDateDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_MAX_LAST_UPDATE_DATE_DESC', - ClaimsByCreatedBlockIdMaxRevokeDateAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_MAX_REVOKE_DATE_ASC', - ClaimsByCreatedBlockIdMaxRevokeDateDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_MAX_REVOKE_DATE_DESC', - ClaimsByCreatedBlockIdMaxScopeAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_MAX_SCOPE_ASC', - ClaimsByCreatedBlockIdMaxScopeDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_MAX_SCOPE_DESC', - ClaimsByCreatedBlockIdMaxTargetIdAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_MAX_TARGET_ID_ASC', - ClaimsByCreatedBlockIdMaxTargetIdDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_MAX_TARGET_ID_DESC', - ClaimsByCreatedBlockIdMaxTypeAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_MAX_TYPE_ASC', - ClaimsByCreatedBlockIdMaxTypeDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_MAX_TYPE_DESC', - ClaimsByCreatedBlockIdMaxUpdatedAtAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - ClaimsByCreatedBlockIdMaxUpdatedAtDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - ClaimsByCreatedBlockIdMaxUpdatedBlockIdAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - ClaimsByCreatedBlockIdMaxUpdatedBlockIdDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - ClaimsByCreatedBlockIdMinCddIdAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_MIN_CDD_ID_ASC', - ClaimsByCreatedBlockIdMinCddIdDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_MIN_CDD_ID_DESC', - ClaimsByCreatedBlockIdMinCreatedAtAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_ASC', - ClaimsByCreatedBlockIdMinCreatedAtDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_DESC', - ClaimsByCreatedBlockIdMinCreatedBlockIdAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - ClaimsByCreatedBlockIdMinCreatedBlockIdDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - ClaimsByCreatedBlockIdMinCustomClaimTypeIdAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_MIN_CUSTOM_CLAIM_TYPE_ID_ASC', - ClaimsByCreatedBlockIdMinCustomClaimTypeIdDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_MIN_CUSTOM_CLAIM_TYPE_ID_DESC', - ClaimsByCreatedBlockIdMinEventIdxAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_MIN_EVENT_IDX_ASC', - ClaimsByCreatedBlockIdMinEventIdxDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_MIN_EVENT_IDX_DESC', - ClaimsByCreatedBlockIdMinExpiryAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_MIN_EXPIRY_ASC', - ClaimsByCreatedBlockIdMinExpiryDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_MIN_EXPIRY_DESC', - ClaimsByCreatedBlockIdMinFilterExpiryAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_MIN_FILTER_EXPIRY_ASC', - ClaimsByCreatedBlockIdMinFilterExpiryDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_MIN_FILTER_EXPIRY_DESC', - ClaimsByCreatedBlockIdMinIdAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_MIN_ID_ASC', - ClaimsByCreatedBlockIdMinIdDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_MIN_ID_DESC', - ClaimsByCreatedBlockIdMinIssuanceDateAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_MIN_ISSUANCE_DATE_ASC', - ClaimsByCreatedBlockIdMinIssuanceDateDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_MIN_ISSUANCE_DATE_DESC', - ClaimsByCreatedBlockIdMinIssuerIdAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_MIN_ISSUER_ID_ASC', - ClaimsByCreatedBlockIdMinIssuerIdDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_MIN_ISSUER_ID_DESC', - ClaimsByCreatedBlockIdMinJurisdictionAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_MIN_JURISDICTION_ASC', - ClaimsByCreatedBlockIdMinJurisdictionDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_MIN_JURISDICTION_DESC', - ClaimsByCreatedBlockIdMinLastUpdateDateAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_MIN_LAST_UPDATE_DATE_ASC', - ClaimsByCreatedBlockIdMinLastUpdateDateDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_MIN_LAST_UPDATE_DATE_DESC', - ClaimsByCreatedBlockIdMinRevokeDateAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_MIN_REVOKE_DATE_ASC', - ClaimsByCreatedBlockIdMinRevokeDateDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_MIN_REVOKE_DATE_DESC', - ClaimsByCreatedBlockIdMinScopeAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_MIN_SCOPE_ASC', - ClaimsByCreatedBlockIdMinScopeDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_MIN_SCOPE_DESC', - ClaimsByCreatedBlockIdMinTargetIdAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_MIN_TARGET_ID_ASC', - ClaimsByCreatedBlockIdMinTargetIdDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_MIN_TARGET_ID_DESC', - ClaimsByCreatedBlockIdMinTypeAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_MIN_TYPE_ASC', - ClaimsByCreatedBlockIdMinTypeDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_MIN_TYPE_DESC', - ClaimsByCreatedBlockIdMinUpdatedAtAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - ClaimsByCreatedBlockIdMinUpdatedAtDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - ClaimsByCreatedBlockIdMinUpdatedBlockIdAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - ClaimsByCreatedBlockIdMinUpdatedBlockIdDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - ClaimsByCreatedBlockIdStddevPopulationCddIdAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CDD_ID_ASC', - ClaimsByCreatedBlockIdStddevPopulationCddIdDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CDD_ID_DESC', - ClaimsByCreatedBlockIdStddevPopulationCreatedAtAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - ClaimsByCreatedBlockIdStddevPopulationCreatedAtDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - ClaimsByCreatedBlockIdStddevPopulationCreatedBlockIdAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - ClaimsByCreatedBlockIdStddevPopulationCreatedBlockIdDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - ClaimsByCreatedBlockIdStddevPopulationCustomClaimTypeIdAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CUSTOM_CLAIM_TYPE_ID_ASC', - ClaimsByCreatedBlockIdStddevPopulationCustomClaimTypeIdDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CUSTOM_CLAIM_TYPE_ID_DESC', - ClaimsByCreatedBlockIdStddevPopulationEventIdxAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_ASC', - ClaimsByCreatedBlockIdStddevPopulationEventIdxDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_DESC', - ClaimsByCreatedBlockIdStddevPopulationExpiryAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EXPIRY_ASC', - ClaimsByCreatedBlockIdStddevPopulationExpiryDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EXPIRY_DESC', - ClaimsByCreatedBlockIdStddevPopulationFilterExpiryAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_FILTER_EXPIRY_ASC', - ClaimsByCreatedBlockIdStddevPopulationFilterExpiryDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_FILTER_EXPIRY_DESC', - ClaimsByCreatedBlockIdStddevPopulationIdAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - ClaimsByCreatedBlockIdStddevPopulationIdDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - ClaimsByCreatedBlockIdStddevPopulationIssuanceDateAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ISSUANCE_DATE_ASC', - ClaimsByCreatedBlockIdStddevPopulationIssuanceDateDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ISSUANCE_DATE_DESC', - ClaimsByCreatedBlockIdStddevPopulationIssuerIdAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ISSUER_ID_ASC', - ClaimsByCreatedBlockIdStddevPopulationIssuerIdDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ISSUER_ID_DESC', - ClaimsByCreatedBlockIdStddevPopulationJurisdictionAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_JURISDICTION_ASC', - ClaimsByCreatedBlockIdStddevPopulationJurisdictionDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_JURISDICTION_DESC', - ClaimsByCreatedBlockIdStddevPopulationLastUpdateDateAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_LAST_UPDATE_DATE_ASC', - ClaimsByCreatedBlockIdStddevPopulationLastUpdateDateDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_LAST_UPDATE_DATE_DESC', - ClaimsByCreatedBlockIdStddevPopulationRevokeDateAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_REVOKE_DATE_ASC', - ClaimsByCreatedBlockIdStddevPopulationRevokeDateDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_REVOKE_DATE_DESC', - ClaimsByCreatedBlockIdStddevPopulationScopeAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_SCOPE_ASC', - ClaimsByCreatedBlockIdStddevPopulationScopeDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_SCOPE_DESC', - ClaimsByCreatedBlockIdStddevPopulationTargetIdAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TARGET_ID_ASC', - ClaimsByCreatedBlockIdStddevPopulationTargetIdDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TARGET_ID_DESC', - ClaimsByCreatedBlockIdStddevPopulationTypeAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TYPE_ASC', - ClaimsByCreatedBlockIdStddevPopulationTypeDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TYPE_DESC', - ClaimsByCreatedBlockIdStddevPopulationUpdatedAtAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - ClaimsByCreatedBlockIdStddevPopulationUpdatedAtDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - ClaimsByCreatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - ClaimsByCreatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - ClaimsByCreatedBlockIdStddevSampleCddIdAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CDD_ID_ASC', - ClaimsByCreatedBlockIdStddevSampleCddIdDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CDD_ID_DESC', - ClaimsByCreatedBlockIdStddevSampleCreatedAtAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - ClaimsByCreatedBlockIdStddevSampleCreatedAtDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - ClaimsByCreatedBlockIdStddevSampleCreatedBlockIdAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - ClaimsByCreatedBlockIdStddevSampleCreatedBlockIdDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - ClaimsByCreatedBlockIdStddevSampleCustomClaimTypeIdAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CUSTOM_CLAIM_TYPE_ID_ASC', - ClaimsByCreatedBlockIdStddevSampleCustomClaimTypeIdDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CUSTOM_CLAIM_TYPE_ID_DESC', - ClaimsByCreatedBlockIdStddevSampleEventIdxAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', - ClaimsByCreatedBlockIdStddevSampleEventIdxDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', - ClaimsByCreatedBlockIdStddevSampleExpiryAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EXPIRY_ASC', - ClaimsByCreatedBlockIdStddevSampleExpiryDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EXPIRY_DESC', - ClaimsByCreatedBlockIdStddevSampleFilterExpiryAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_FILTER_EXPIRY_ASC', - ClaimsByCreatedBlockIdStddevSampleFilterExpiryDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_FILTER_EXPIRY_DESC', - ClaimsByCreatedBlockIdStddevSampleIdAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - ClaimsByCreatedBlockIdStddevSampleIdDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - ClaimsByCreatedBlockIdStddevSampleIssuanceDateAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ISSUANCE_DATE_ASC', - ClaimsByCreatedBlockIdStddevSampleIssuanceDateDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ISSUANCE_DATE_DESC', - ClaimsByCreatedBlockIdStddevSampleIssuerIdAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ISSUER_ID_ASC', - ClaimsByCreatedBlockIdStddevSampleIssuerIdDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ISSUER_ID_DESC', - ClaimsByCreatedBlockIdStddevSampleJurisdictionAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_JURISDICTION_ASC', - ClaimsByCreatedBlockIdStddevSampleJurisdictionDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_JURISDICTION_DESC', - ClaimsByCreatedBlockIdStddevSampleLastUpdateDateAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_LAST_UPDATE_DATE_ASC', - ClaimsByCreatedBlockIdStddevSampleLastUpdateDateDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_LAST_UPDATE_DATE_DESC', - ClaimsByCreatedBlockIdStddevSampleRevokeDateAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_REVOKE_DATE_ASC', - ClaimsByCreatedBlockIdStddevSampleRevokeDateDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_REVOKE_DATE_DESC', - ClaimsByCreatedBlockIdStddevSampleScopeAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_SCOPE_ASC', - ClaimsByCreatedBlockIdStddevSampleScopeDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_SCOPE_DESC', - ClaimsByCreatedBlockIdStddevSampleTargetIdAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TARGET_ID_ASC', - ClaimsByCreatedBlockIdStddevSampleTargetIdDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TARGET_ID_DESC', - ClaimsByCreatedBlockIdStddevSampleTypeAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TYPE_ASC', - ClaimsByCreatedBlockIdStddevSampleTypeDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TYPE_DESC', - ClaimsByCreatedBlockIdStddevSampleUpdatedAtAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - ClaimsByCreatedBlockIdStddevSampleUpdatedAtDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - ClaimsByCreatedBlockIdStddevSampleUpdatedBlockIdAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - ClaimsByCreatedBlockIdStddevSampleUpdatedBlockIdDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - ClaimsByCreatedBlockIdSumCddIdAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_SUM_CDD_ID_ASC', - ClaimsByCreatedBlockIdSumCddIdDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_SUM_CDD_ID_DESC', - ClaimsByCreatedBlockIdSumCreatedAtAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_ASC', - ClaimsByCreatedBlockIdSumCreatedAtDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_DESC', - ClaimsByCreatedBlockIdSumCreatedBlockIdAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - ClaimsByCreatedBlockIdSumCreatedBlockIdDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - ClaimsByCreatedBlockIdSumCustomClaimTypeIdAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_SUM_CUSTOM_CLAIM_TYPE_ID_ASC', - ClaimsByCreatedBlockIdSumCustomClaimTypeIdDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_SUM_CUSTOM_CLAIM_TYPE_ID_DESC', - ClaimsByCreatedBlockIdSumEventIdxAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_SUM_EVENT_IDX_ASC', - ClaimsByCreatedBlockIdSumEventIdxDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_SUM_EVENT_IDX_DESC', - ClaimsByCreatedBlockIdSumExpiryAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_SUM_EXPIRY_ASC', - ClaimsByCreatedBlockIdSumExpiryDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_SUM_EXPIRY_DESC', - ClaimsByCreatedBlockIdSumFilterExpiryAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_SUM_FILTER_EXPIRY_ASC', - ClaimsByCreatedBlockIdSumFilterExpiryDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_SUM_FILTER_EXPIRY_DESC', - ClaimsByCreatedBlockIdSumIdAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_SUM_ID_ASC', - ClaimsByCreatedBlockIdSumIdDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_SUM_ID_DESC', - ClaimsByCreatedBlockIdSumIssuanceDateAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_SUM_ISSUANCE_DATE_ASC', - ClaimsByCreatedBlockIdSumIssuanceDateDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_SUM_ISSUANCE_DATE_DESC', - ClaimsByCreatedBlockIdSumIssuerIdAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_SUM_ISSUER_ID_ASC', - ClaimsByCreatedBlockIdSumIssuerIdDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_SUM_ISSUER_ID_DESC', - ClaimsByCreatedBlockIdSumJurisdictionAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_SUM_JURISDICTION_ASC', - ClaimsByCreatedBlockIdSumJurisdictionDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_SUM_JURISDICTION_DESC', - ClaimsByCreatedBlockIdSumLastUpdateDateAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_SUM_LAST_UPDATE_DATE_ASC', - ClaimsByCreatedBlockIdSumLastUpdateDateDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_SUM_LAST_UPDATE_DATE_DESC', - ClaimsByCreatedBlockIdSumRevokeDateAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_SUM_REVOKE_DATE_ASC', - ClaimsByCreatedBlockIdSumRevokeDateDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_SUM_REVOKE_DATE_DESC', - ClaimsByCreatedBlockIdSumScopeAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_SUM_SCOPE_ASC', - ClaimsByCreatedBlockIdSumScopeDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_SUM_SCOPE_DESC', - ClaimsByCreatedBlockIdSumTargetIdAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_SUM_TARGET_ID_ASC', - ClaimsByCreatedBlockIdSumTargetIdDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_SUM_TARGET_ID_DESC', - ClaimsByCreatedBlockIdSumTypeAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_SUM_TYPE_ASC', - ClaimsByCreatedBlockIdSumTypeDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_SUM_TYPE_DESC', - ClaimsByCreatedBlockIdSumUpdatedAtAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - ClaimsByCreatedBlockIdSumUpdatedAtDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - ClaimsByCreatedBlockIdSumUpdatedBlockIdAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - ClaimsByCreatedBlockIdSumUpdatedBlockIdDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - ClaimsByCreatedBlockIdVariancePopulationCddIdAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CDD_ID_ASC', - ClaimsByCreatedBlockIdVariancePopulationCddIdDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CDD_ID_DESC', - ClaimsByCreatedBlockIdVariancePopulationCreatedAtAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - ClaimsByCreatedBlockIdVariancePopulationCreatedAtDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - ClaimsByCreatedBlockIdVariancePopulationCreatedBlockIdAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - ClaimsByCreatedBlockIdVariancePopulationCreatedBlockIdDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - ClaimsByCreatedBlockIdVariancePopulationCustomClaimTypeIdAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CUSTOM_CLAIM_TYPE_ID_ASC', - ClaimsByCreatedBlockIdVariancePopulationCustomClaimTypeIdDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CUSTOM_CLAIM_TYPE_ID_DESC', - ClaimsByCreatedBlockIdVariancePopulationEventIdxAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', - ClaimsByCreatedBlockIdVariancePopulationEventIdxDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', - ClaimsByCreatedBlockIdVariancePopulationExpiryAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EXPIRY_ASC', - ClaimsByCreatedBlockIdVariancePopulationExpiryDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EXPIRY_DESC', - ClaimsByCreatedBlockIdVariancePopulationFilterExpiryAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_FILTER_EXPIRY_ASC', - ClaimsByCreatedBlockIdVariancePopulationFilterExpiryDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_FILTER_EXPIRY_DESC', - ClaimsByCreatedBlockIdVariancePopulationIdAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - ClaimsByCreatedBlockIdVariancePopulationIdDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - ClaimsByCreatedBlockIdVariancePopulationIssuanceDateAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ISSUANCE_DATE_ASC', - ClaimsByCreatedBlockIdVariancePopulationIssuanceDateDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ISSUANCE_DATE_DESC', - ClaimsByCreatedBlockIdVariancePopulationIssuerIdAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ISSUER_ID_ASC', - ClaimsByCreatedBlockIdVariancePopulationIssuerIdDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ISSUER_ID_DESC', - ClaimsByCreatedBlockIdVariancePopulationJurisdictionAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_JURISDICTION_ASC', - ClaimsByCreatedBlockIdVariancePopulationJurisdictionDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_JURISDICTION_DESC', - ClaimsByCreatedBlockIdVariancePopulationLastUpdateDateAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_LAST_UPDATE_DATE_ASC', - ClaimsByCreatedBlockIdVariancePopulationLastUpdateDateDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_LAST_UPDATE_DATE_DESC', - ClaimsByCreatedBlockIdVariancePopulationRevokeDateAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_REVOKE_DATE_ASC', - ClaimsByCreatedBlockIdVariancePopulationRevokeDateDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_REVOKE_DATE_DESC', - ClaimsByCreatedBlockIdVariancePopulationScopeAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_SCOPE_ASC', - ClaimsByCreatedBlockIdVariancePopulationScopeDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_SCOPE_DESC', - ClaimsByCreatedBlockIdVariancePopulationTargetIdAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TARGET_ID_ASC', - ClaimsByCreatedBlockIdVariancePopulationTargetIdDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TARGET_ID_DESC', - ClaimsByCreatedBlockIdVariancePopulationTypeAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TYPE_ASC', - ClaimsByCreatedBlockIdVariancePopulationTypeDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TYPE_DESC', - ClaimsByCreatedBlockIdVariancePopulationUpdatedAtAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - ClaimsByCreatedBlockIdVariancePopulationUpdatedAtDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - ClaimsByCreatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - ClaimsByCreatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - ClaimsByCreatedBlockIdVarianceSampleCddIdAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CDD_ID_ASC', - ClaimsByCreatedBlockIdVarianceSampleCddIdDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CDD_ID_DESC', - ClaimsByCreatedBlockIdVarianceSampleCreatedAtAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - ClaimsByCreatedBlockIdVarianceSampleCreatedAtDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - ClaimsByCreatedBlockIdVarianceSampleCreatedBlockIdAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - ClaimsByCreatedBlockIdVarianceSampleCreatedBlockIdDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - ClaimsByCreatedBlockIdVarianceSampleCustomClaimTypeIdAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CUSTOM_CLAIM_TYPE_ID_ASC', - ClaimsByCreatedBlockIdVarianceSampleCustomClaimTypeIdDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CUSTOM_CLAIM_TYPE_ID_DESC', - ClaimsByCreatedBlockIdVarianceSampleEventIdxAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', - ClaimsByCreatedBlockIdVarianceSampleEventIdxDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', - ClaimsByCreatedBlockIdVarianceSampleExpiryAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EXPIRY_ASC', - ClaimsByCreatedBlockIdVarianceSampleExpiryDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EXPIRY_DESC', - ClaimsByCreatedBlockIdVarianceSampleFilterExpiryAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_FILTER_EXPIRY_ASC', - ClaimsByCreatedBlockIdVarianceSampleFilterExpiryDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_FILTER_EXPIRY_DESC', - ClaimsByCreatedBlockIdVarianceSampleIdAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - ClaimsByCreatedBlockIdVarianceSampleIdDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - ClaimsByCreatedBlockIdVarianceSampleIssuanceDateAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ISSUANCE_DATE_ASC', - ClaimsByCreatedBlockIdVarianceSampleIssuanceDateDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ISSUANCE_DATE_DESC', - ClaimsByCreatedBlockIdVarianceSampleIssuerIdAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ISSUER_ID_ASC', - ClaimsByCreatedBlockIdVarianceSampleIssuerIdDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ISSUER_ID_DESC', - ClaimsByCreatedBlockIdVarianceSampleJurisdictionAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_JURISDICTION_ASC', - ClaimsByCreatedBlockIdVarianceSampleJurisdictionDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_JURISDICTION_DESC', - ClaimsByCreatedBlockIdVarianceSampleLastUpdateDateAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_LAST_UPDATE_DATE_ASC', - ClaimsByCreatedBlockIdVarianceSampleLastUpdateDateDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_LAST_UPDATE_DATE_DESC', - ClaimsByCreatedBlockIdVarianceSampleRevokeDateAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_REVOKE_DATE_ASC', - ClaimsByCreatedBlockIdVarianceSampleRevokeDateDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_REVOKE_DATE_DESC', - ClaimsByCreatedBlockIdVarianceSampleScopeAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_SCOPE_ASC', - ClaimsByCreatedBlockIdVarianceSampleScopeDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_SCOPE_DESC', - ClaimsByCreatedBlockIdVarianceSampleTargetIdAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TARGET_ID_ASC', - ClaimsByCreatedBlockIdVarianceSampleTargetIdDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TARGET_ID_DESC', - ClaimsByCreatedBlockIdVarianceSampleTypeAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TYPE_ASC', - ClaimsByCreatedBlockIdVarianceSampleTypeDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TYPE_DESC', - ClaimsByCreatedBlockIdVarianceSampleUpdatedAtAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - ClaimsByCreatedBlockIdVarianceSampleUpdatedAtDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - ClaimsByCreatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'CLAIMS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - ClaimsByCreatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'CLAIMS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - ClaimsByUpdatedBlockIdAverageCddIdAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_AVERAGE_CDD_ID_ASC', - ClaimsByUpdatedBlockIdAverageCddIdDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_AVERAGE_CDD_ID_DESC', - ClaimsByUpdatedBlockIdAverageCreatedAtAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - ClaimsByUpdatedBlockIdAverageCreatedAtDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - ClaimsByUpdatedBlockIdAverageCreatedBlockIdAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - ClaimsByUpdatedBlockIdAverageCreatedBlockIdDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - ClaimsByUpdatedBlockIdAverageCustomClaimTypeIdAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_AVERAGE_CUSTOM_CLAIM_TYPE_ID_ASC', - ClaimsByUpdatedBlockIdAverageCustomClaimTypeIdDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_AVERAGE_CUSTOM_CLAIM_TYPE_ID_DESC', - ClaimsByUpdatedBlockIdAverageEventIdxAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_IDX_ASC', - ClaimsByUpdatedBlockIdAverageEventIdxDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_IDX_DESC', - ClaimsByUpdatedBlockIdAverageExpiryAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_AVERAGE_EXPIRY_ASC', - ClaimsByUpdatedBlockIdAverageExpiryDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_AVERAGE_EXPIRY_DESC', - ClaimsByUpdatedBlockIdAverageFilterExpiryAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_AVERAGE_FILTER_EXPIRY_ASC', - ClaimsByUpdatedBlockIdAverageFilterExpiryDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_AVERAGE_FILTER_EXPIRY_DESC', - ClaimsByUpdatedBlockIdAverageIdAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_ASC', - ClaimsByUpdatedBlockIdAverageIdDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_DESC', - ClaimsByUpdatedBlockIdAverageIssuanceDateAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_AVERAGE_ISSUANCE_DATE_ASC', - ClaimsByUpdatedBlockIdAverageIssuanceDateDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_AVERAGE_ISSUANCE_DATE_DESC', - ClaimsByUpdatedBlockIdAverageIssuerIdAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_AVERAGE_ISSUER_ID_ASC', - ClaimsByUpdatedBlockIdAverageIssuerIdDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_AVERAGE_ISSUER_ID_DESC', - ClaimsByUpdatedBlockIdAverageJurisdictionAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_AVERAGE_JURISDICTION_ASC', - ClaimsByUpdatedBlockIdAverageJurisdictionDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_AVERAGE_JURISDICTION_DESC', - ClaimsByUpdatedBlockIdAverageLastUpdateDateAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_AVERAGE_LAST_UPDATE_DATE_ASC', - ClaimsByUpdatedBlockIdAverageLastUpdateDateDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_AVERAGE_LAST_UPDATE_DATE_DESC', - ClaimsByUpdatedBlockIdAverageRevokeDateAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_AVERAGE_REVOKE_DATE_ASC', - ClaimsByUpdatedBlockIdAverageRevokeDateDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_AVERAGE_REVOKE_DATE_DESC', - ClaimsByUpdatedBlockIdAverageScopeAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_AVERAGE_SCOPE_ASC', - ClaimsByUpdatedBlockIdAverageScopeDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_AVERAGE_SCOPE_DESC', - ClaimsByUpdatedBlockIdAverageTargetIdAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_AVERAGE_TARGET_ID_ASC', - ClaimsByUpdatedBlockIdAverageTargetIdDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_AVERAGE_TARGET_ID_DESC', - ClaimsByUpdatedBlockIdAverageTypeAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_AVERAGE_TYPE_ASC', - ClaimsByUpdatedBlockIdAverageTypeDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_AVERAGE_TYPE_DESC', - ClaimsByUpdatedBlockIdAverageUpdatedAtAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - ClaimsByUpdatedBlockIdAverageUpdatedAtDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - ClaimsByUpdatedBlockIdAverageUpdatedBlockIdAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - ClaimsByUpdatedBlockIdAverageUpdatedBlockIdDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - ClaimsByUpdatedBlockIdCountAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_COUNT_ASC', - ClaimsByUpdatedBlockIdCountDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_COUNT_DESC', - ClaimsByUpdatedBlockIdDistinctCountCddIdAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CDD_ID_ASC', - ClaimsByUpdatedBlockIdDistinctCountCddIdDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CDD_ID_DESC', - ClaimsByUpdatedBlockIdDistinctCountCreatedAtAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - ClaimsByUpdatedBlockIdDistinctCountCreatedAtDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - ClaimsByUpdatedBlockIdDistinctCountCreatedBlockIdAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - ClaimsByUpdatedBlockIdDistinctCountCreatedBlockIdDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - ClaimsByUpdatedBlockIdDistinctCountCustomClaimTypeIdAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CUSTOM_CLAIM_TYPE_ID_ASC', - ClaimsByUpdatedBlockIdDistinctCountCustomClaimTypeIdDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CUSTOM_CLAIM_TYPE_ID_DESC', - ClaimsByUpdatedBlockIdDistinctCountEventIdxAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_ASC', - ClaimsByUpdatedBlockIdDistinctCountEventIdxDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_DESC', - ClaimsByUpdatedBlockIdDistinctCountExpiryAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EXPIRY_ASC', - ClaimsByUpdatedBlockIdDistinctCountExpiryDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EXPIRY_DESC', - ClaimsByUpdatedBlockIdDistinctCountFilterExpiryAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_FILTER_EXPIRY_ASC', - ClaimsByUpdatedBlockIdDistinctCountFilterExpiryDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_FILTER_EXPIRY_DESC', - ClaimsByUpdatedBlockIdDistinctCountIdAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - ClaimsByUpdatedBlockIdDistinctCountIdDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - ClaimsByUpdatedBlockIdDistinctCountIssuanceDateAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ISSUANCE_DATE_ASC', - ClaimsByUpdatedBlockIdDistinctCountIssuanceDateDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ISSUANCE_DATE_DESC', - ClaimsByUpdatedBlockIdDistinctCountIssuerIdAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ISSUER_ID_ASC', - ClaimsByUpdatedBlockIdDistinctCountIssuerIdDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ISSUER_ID_DESC', - ClaimsByUpdatedBlockIdDistinctCountJurisdictionAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_JURISDICTION_ASC', - ClaimsByUpdatedBlockIdDistinctCountJurisdictionDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_JURISDICTION_DESC', - ClaimsByUpdatedBlockIdDistinctCountLastUpdateDateAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_LAST_UPDATE_DATE_ASC', - ClaimsByUpdatedBlockIdDistinctCountLastUpdateDateDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_LAST_UPDATE_DATE_DESC', - ClaimsByUpdatedBlockIdDistinctCountRevokeDateAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_REVOKE_DATE_ASC', - ClaimsByUpdatedBlockIdDistinctCountRevokeDateDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_REVOKE_DATE_DESC', - ClaimsByUpdatedBlockIdDistinctCountScopeAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_SCOPE_ASC', - ClaimsByUpdatedBlockIdDistinctCountScopeDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_SCOPE_DESC', - ClaimsByUpdatedBlockIdDistinctCountTargetIdAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TARGET_ID_ASC', - ClaimsByUpdatedBlockIdDistinctCountTargetIdDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TARGET_ID_DESC', - ClaimsByUpdatedBlockIdDistinctCountTypeAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TYPE_ASC', - ClaimsByUpdatedBlockIdDistinctCountTypeDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TYPE_DESC', - ClaimsByUpdatedBlockIdDistinctCountUpdatedAtAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - ClaimsByUpdatedBlockIdDistinctCountUpdatedAtDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - ClaimsByUpdatedBlockIdDistinctCountUpdatedBlockIdAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - ClaimsByUpdatedBlockIdDistinctCountUpdatedBlockIdDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - ClaimsByUpdatedBlockIdMaxCddIdAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_MAX_CDD_ID_ASC', - ClaimsByUpdatedBlockIdMaxCddIdDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_MAX_CDD_ID_DESC', - ClaimsByUpdatedBlockIdMaxCreatedAtAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_ASC', - ClaimsByUpdatedBlockIdMaxCreatedAtDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_DESC', - ClaimsByUpdatedBlockIdMaxCreatedBlockIdAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - ClaimsByUpdatedBlockIdMaxCreatedBlockIdDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - ClaimsByUpdatedBlockIdMaxCustomClaimTypeIdAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_MAX_CUSTOM_CLAIM_TYPE_ID_ASC', - ClaimsByUpdatedBlockIdMaxCustomClaimTypeIdDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_MAX_CUSTOM_CLAIM_TYPE_ID_DESC', - ClaimsByUpdatedBlockIdMaxEventIdxAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_MAX_EVENT_IDX_ASC', - ClaimsByUpdatedBlockIdMaxEventIdxDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_MAX_EVENT_IDX_DESC', - ClaimsByUpdatedBlockIdMaxExpiryAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_MAX_EXPIRY_ASC', - ClaimsByUpdatedBlockIdMaxExpiryDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_MAX_EXPIRY_DESC', - ClaimsByUpdatedBlockIdMaxFilterExpiryAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_MAX_FILTER_EXPIRY_ASC', - ClaimsByUpdatedBlockIdMaxFilterExpiryDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_MAX_FILTER_EXPIRY_DESC', - ClaimsByUpdatedBlockIdMaxIdAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_MAX_ID_ASC', - ClaimsByUpdatedBlockIdMaxIdDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_MAX_ID_DESC', - ClaimsByUpdatedBlockIdMaxIssuanceDateAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_MAX_ISSUANCE_DATE_ASC', - ClaimsByUpdatedBlockIdMaxIssuanceDateDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_MAX_ISSUANCE_DATE_DESC', - ClaimsByUpdatedBlockIdMaxIssuerIdAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_MAX_ISSUER_ID_ASC', - ClaimsByUpdatedBlockIdMaxIssuerIdDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_MAX_ISSUER_ID_DESC', - ClaimsByUpdatedBlockIdMaxJurisdictionAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_MAX_JURISDICTION_ASC', - ClaimsByUpdatedBlockIdMaxJurisdictionDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_MAX_JURISDICTION_DESC', - ClaimsByUpdatedBlockIdMaxLastUpdateDateAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_MAX_LAST_UPDATE_DATE_ASC', - ClaimsByUpdatedBlockIdMaxLastUpdateDateDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_MAX_LAST_UPDATE_DATE_DESC', - ClaimsByUpdatedBlockIdMaxRevokeDateAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_MAX_REVOKE_DATE_ASC', - ClaimsByUpdatedBlockIdMaxRevokeDateDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_MAX_REVOKE_DATE_DESC', - ClaimsByUpdatedBlockIdMaxScopeAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_MAX_SCOPE_ASC', - ClaimsByUpdatedBlockIdMaxScopeDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_MAX_SCOPE_DESC', - ClaimsByUpdatedBlockIdMaxTargetIdAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_MAX_TARGET_ID_ASC', - ClaimsByUpdatedBlockIdMaxTargetIdDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_MAX_TARGET_ID_DESC', - ClaimsByUpdatedBlockIdMaxTypeAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_MAX_TYPE_ASC', - ClaimsByUpdatedBlockIdMaxTypeDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_MAX_TYPE_DESC', - ClaimsByUpdatedBlockIdMaxUpdatedAtAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - ClaimsByUpdatedBlockIdMaxUpdatedAtDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - ClaimsByUpdatedBlockIdMaxUpdatedBlockIdAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - ClaimsByUpdatedBlockIdMaxUpdatedBlockIdDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - ClaimsByUpdatedBlockIdMinCddIdAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_MIN_CDD_ID_ASC', - ClaimsByUpdatedBlockIdMinCddIdDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_MIN_CDD_ID_DESC', - ClaimsByUpdatedBlockIdMinCreatedAtAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_ASC', - ClaimsByUpdatedBlockIdMinCreatedAtDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_DESC', - ClaimsByUpdatedBlockIdMinCreatedBlockIdAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - ClaimsByUpdatedBlockIdMinCreatedBlockIdDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - ClaimsByUpdatedBlockIdMinCustomClaimTypeIdAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_MIN_CUSTOM_CLAIM_TYPE_ID_ASC', - ClaimsByUpdatedBlockIdMinCustomClaimTypeIdDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_MIN_CUSTOM_CLAIM_TYPE_ID_DESC', - ClaimsByUpdatedBlockIdMinEventIdxAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_MIN_EVENT_IDX_ASC', - ClaimsByUpdatedBlockIdMinEventIdxDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_MIN_EVENT_IDX_DESC', - ClaimsByUpdatedBlockIdMinExpiryAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_MIN_EXPIRY_ASC', - ClaimsByUpdatedBlockIdMinExpiryDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_MIN_EXPIRY_DESC', - ClaimsByUpdatedBlockIdMinFilterExpiryAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_MIN_FILTER_EXPIRY_ASC', - ClaimsByUpdatedBlockIdMinFilterExpiryDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_MIN_FILTER_EXPIRY_DESC', - ClaimsByUpdatedBlockIdMinIdAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_MIN_ID_ASC', - ClaimsByUpdatedBlockIdMinIdDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_MIN_ID_DESC', - ClaimsByUpdatedBlockIdMinIssuanceDateAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_MIN_ISSUANCE_DATE_ASC', - ClaimsByUpdatedBlockIdMinIssuanceDateDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_MIN_ISSUANCE_DATE_DESC', - ClaimsByUpdatedBlockIdMinIssuerIdAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_MIN_ISSUER_ID_ASC', - ClaimsByUpdatedBlockIdMinIssuerIdDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_MIN_ISSUER_ID_DESC', - ClaimsByUpdatedBlockIdMinJurisdictionAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_MIN_JURISDICTION_ASC', - ClaimsByUpdatedBlockIdMinJurisdictionDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_MIN_JURISDICTION_DESC', - ClaimsByUpdatedBlockIdMinLastUpdateDateAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_MIN_LAST_UPDATE_DATE_ASC', - ClaimsByUpdatedBlockIdMinLastUpdateDateDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_MIN_LAST_UPDATE_DATE_DESC', - ClaimsByUpdatedBlockIdMinRevokeDateAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_MIN_REVOKE_DATE_ASC', - ClaimsByUpdatedBlockIdMinRevokeDateDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_MIN_REVOKE_DATE_DESC', - ClaimsByUpdatedBlockIdMinScopeAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_MIN_SCOPE_ASC', - ClaimsByUpdatedBlockIdMinScopeDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_MIN_SCOPE_DESC', - ClaimsByUpdatedBlockIdMinTargetIdAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_MIN_TARGET_ID_ASC', - ClaimsByUpdatedBlockIdMinTargetIdDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_MIN_TARGET_ID_DESC', - ClaimsByUpdatedBlockIdMinTypeAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_MIN_TYPE_ASC', - ClaimsByUpdatedBlockIdMinTypeDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_MIN_TYPE_DESC', - ClaimsByUpdatedBlockIdMinUpdatedAtAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - ClaimsByUpdatedBlockIdMinUpdatedAtDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - ClaimsByUpdatedBlockIdMinUpdatedBlockIdAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - ClaimsByUpdatedBlockIdMinUpdatedBlockIdDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - ClaimsByUpdatedBlockIdStddevPopulationCddIdAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CDD_ID_ASC', - ClaimsByUpdatedBlockIdStddevPopulationCddIdDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CDD_ID_DESC', - ClaimsByUpdatedBlockIdStddevPopulationCreatedAtAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - ClaimsByUpdatedBlockIdStddevPopulationCreatedAtDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - ClaimsByUpdatedBlockIdStddevPopulationCreatedBlockIdAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - ClaimsByUpdatedBlockIdStddevPopulationCreatedBlockIdDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - ClaimsByUpdatedBlockIdStddevPopulationCustomClaimTypeIdAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CUSTOM_CLAIM_TYPE_ID_ASC', - ClaimsByUpdatedBlockIdStddevPopulationCustomClaimTypeIdDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CUSTOM_CLAIM_TYPE_ID_DESC', - ClaimsByUpdatedBlockIdStddevPopulationEventIdxAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_ASC', - ClaimsByUpdatedBlockIdStddevPopulationEventIdxDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_DESC', - ClaimsByUpdatedBlockIdStddevPopulationExpiryAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EXPIRY_ASC', - ClaimsByUpdatedBlockIdStddevPopulationExpiryDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EXPIRY_DESC', - ClaimsByUpdatedBlockIdStddevPopulationFilterExpiryAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_FILTER_EXPIRY_ASC', - ClaimsByUpdatedBlockIdStddevPopulationFilterExpiryDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_FILTER_EXPIRY_DESC', - ClaimsByUpdatedBlockIdStddevPopulationIdAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - ClaimsByUpdatedBlockIdStddevPopulationIdDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - ClaimsByUpdatedBlockIdStddevPopulationIssuanceDateAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ISSUANCE_DATE_ASC', - ClaimsByUpdatedBlockIdStddevPopulationIssuanceDateDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ISSUANCE_DATE_DESC', - ClaimsByUpdatedBlockIdStddevPopulationIssuerIdAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ISSUER_ID_ASC', - ClaimsByUpdatedBlockIdStddevPopulationIssuerIdDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ISSUER_ID_DESC', - ClaimsByUpdatedBlockIdStddevPopulationJurisdictionAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_JURISDICTION_ASC', - ClaimsByUpdatedBlockIdStddevPopulationJurisdictionDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_JURISDICTION_DESC', - ClaimsByUpdatedBlockIdStddevPopulationLastUpdateDateAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_LAST_UPDATE_DATE_ASC', - ClaimsByUpdatedBlockIdStddevPopulationLastUpdateDateDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_LAST_UPDATE_DATE_DESC', - ClaimsByUpdatedBlockIdStddevPopulationRevokeDateAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_REVOKE_DATE_ASC', - ClaimsByUpdatedBlockIdStddevPopulationRevokeDateDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_REVOKE_DATE_DESC', - ClaimsByUpdatedBlockIdStddevPopulationScopeAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_SCOPE_ASC', - ClaimsByUpdatedBlockIdStddevPopulationScopeDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_SCOPE_DESC', - ClaimsByUpdatedBlockIdStddevPopulationTargetIdAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TARGET_ID_ASC', - ClaimsByUpdatedBlockIdStddevPopulationTargetIdDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TARGET_ID_DESC', - ClaimsByUpdatedBlockIdStddevPopulationTypeAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TYPE_ASC', - ClaimsByUpdatedBlockIdStddevPopulationTypeDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TYPE_DESC', - ClaimsByUpdatedBlockIdStddevPopulationUpdatedAtAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - ClaimsByUpdatedBlockIdStddevPopulationUpdatedAtDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - ClaimsByUpdatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - ClaimsByUpdatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - ClaimsByUpdatedBlockIdStddevSampleCddIdAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CDD_ID_ASC', - ClaimsByUpdatedBlockIdStddevSampleCddIdDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CDD_ID_DESC', - ClaimsByUpdatedBlockIdStddevSampleCreatedAtAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - ClaimsByUpdatedBlockIdStddevSampleCreatedAtDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - ClaimsByUpdatedBlockIdStddevSampleCreatedBlockIdAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - ClaimsByUpdatedBlockIdStddevSampleCreatedBlockIdDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - ClaimsByUpdatedBlockIdStddevSampleCustomClaimTypeIdAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CUSTOM_CLAIM_TYPE_ID_ASC', - ClaimsByUpdatedBlockIdStddevSampleCustomClaimTypeIdDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CUSTOM_CLAIM_TYPE_ID_DESC', - ClaimsByUpdatedBlockIdStddevSampleEventIdxAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', - ClaimsByUpdatedBlockIdStddevSampleEventIdxDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', - ClaimsByUpdatedBlockIdStddevSampleExpiryAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EXPIRY_ASC', - ClaimsByUpdatedBlockIdStddevSampleExpiryDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EXPIRY_DESC', - ClaimsByUpdatedBlockIdStddevSampleFilterExpiryAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_FILTER_EXPIRY_ASC', - ClaimsByUpdatedBlockIdStddevSampleFilterExpiryDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_FILTER_EXPIRY_DESC', - ClaimsByUpdatedBlockIdStddevSampleIdAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - ClaimsByUpdatedBlockIdStddevSampleIdDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - ClaimsByUpdatedBlockIdStddevSampleIssuanceDateAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ISSUANCE_DATE_ASC', - ClaimsByUpdatedBlockIdStddevSampleIssuanceDateDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ISSUANCE_DATE_DESC', - ClaimsByUpdatedBlockIdStddevSampleIssuerIdAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ISSUER_ID_ASC', - ClaimsByUpdatedBlockIdStddevSampleIssuerIdDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ISSUER_ID_DESC', - ClaimsByUpdatedBlockIdStddevSampleJurisdictionAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_JURISDICTION_ASC', - ClaimsByUpdatedBlockIdStddevSampleJurisdictionDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_JURISDICTION_DESC', - ClaimsByUpdatedBlockIdStddevSampleLastUpdateDateAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_LAST_UPDATE_DATE_ASC', - ClaimsByUpdatedBlockIdStddevSampleLastUpdateDateDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_LAST_UPDATE_DATE_DESC', - ClaimsByUpdatedBlockIdStddevSampleRevokeDateAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_REVOKE_DATE_ASC', - ClaimsByUpdatedBlockIdStddevSampleRevokeDateDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_REVOKE_DATE_DESC', - ClaimsByUpdatedBlockIdStddevSampleScopeAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_SCOPE_ASC', - ClaimsByUpdatedBlockIdStddevSampleScopeDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_SCOPE_DESC', - ClaimsByUpdatedBlockIdStddevSampleTargetIdAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TARGET_ID_ASC', - ClaimsByUpdatedBlockIdStddevSampleTargetIdDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TARGET_ID_DESC', - ClaimsByUpdatedBlockIdStddevSampleTypeAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TYPE_ASC', - ClaimsByUpdatedBlockIdStddevSampleTypeDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TYPE_DESC', - ClaimsByUpdatedBlockIdStddevSampleUpdatedAtAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - ClaimsByUpdatedBlockIdStddevSampleUpdatedAtDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - ClaimsByUpdatedBlockIdStddevSampleUpdatedBlockIdAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - ClaimsByUpdatedBlockIdStddevSampleUpdatedBlockIdDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - ClaimsByUpdatedBlockIdSumCddIdAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_SUM_CDD_ID_ASC', - ClaimsByUpdatedBlockIdSumCddIdDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_SUM_CDD_ID_DESC', - ClaimsByUpdatedBlockIdSumCreatedAtAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_ASC', - ClaimsByUpdatedBlockIdSumCreatedAtDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_DESC', - ClaimsByUpdatedBlockIdSumCreatedBlockIdAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - ClaimsByUpdatedBlockIdSumCreatedBlockIdDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - ClaimsByUpdatedBlockIdSumCustomClaimTypeIdAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_SUM_CUSTOM_CLAIM_TYPE_ID_ASC', - ClaimsByUpdatedBlockIdSumCustomClaimTypeIdDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_SUM_CUSTOM_CLAIM_TYPE_ID_DESC', - ClaimsByUpdatedBlockIdSumEventIdxAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_SUM_EVENT_IDX_ASC', - ClaimsByUpdatedBlockIdSumEventIdxDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_SUM_EVENT_IDX_DESC', - ClaimsByUpdatedBlockIdSumExpiryAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_SUM_EXPIRY_ASC', - ClaimsByUpdatedBlockIdSumExpiryDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_SUM_EXPIRY_DESC', - ClaimsByUpdatedBlockIdSumFilterExpiryAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_SUM_FILTER_EXPIRY_ASC', - ClaimsByUpdatedBlockIdSumFilterExpiryDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_SUM_FILTER_EXPIRY_DESC', - ClaimsByUpdatedBlockIdSumIdAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_SUM_ID_ASC', - ClaimsByUpdatedBlockIdSumIdDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_SUM_ID_DESC', - ClaimsByUpdatedBlockIdSumIssuanceDateAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_SUM_ISSUANCE_DATE_ASC', - ClaimsByUpdatedBlockIdSumIssuanceDateDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_SUM_ISSUANCE_DATE_DESC', - ClaimsByUpdatedBlockIdSumIssuerIdAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_SUM_ISSUER_ID_ASC', - ClaimsByUpdatedBlockIdSumIssuerIdDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_SUM_ISSUER_ID_DESC', - ClaimsByUpdatedBlockIdSumJurisdictionAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_SUM_JURISDICTION_ASC', - ClaimsByUpdatedBlockIdSumJurisdictionDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_SUM_JURISDICTION_DESC', - ClaimsByUpdatedBlockIdSumLastUpdateDateAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_SUM_LAST_UPDATE_DATE_ASC', - ClaimsByUpdatedBlockIdSumLastUpdateDateDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_SUM_LAST_UPDATE_DATE_DESC', - ClaimsByUpdatedBlockIdSumRevokeDateAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_SUM_REVOKE_DATE_ASC', - ClaimsByUpdatedBlockIdSumRevokeDateDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_SUM_REVOKE_DATE_DESC', - ClaimsByUpdatedBlockIdSumScopeAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_SUM_SCOPE_ASC', - ClaimsByUpdatedBlockIdSumScopeDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_SUM_SCOPE_DESC', - ClaimsByUpdatedBlockIdSumTargetIdAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_SUM_TARGET_ID_ASC', - ClaimsByUpdatedBlockIdSumTargetIdDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_SUM_TARGET_ID_DESC', - ClaimsByUpdatedBlockIdSumTypeAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_SUM_TYPE_ASC', - ClaimsByUpdatedBlockIdSumTypeDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_SUM_TYPE_DESC', - ClaimsByUpdatedBlockIdSumUpdatedAtAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - ClaimsByUpdatedBlockIdSumUpdatedAtDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - ClaimsByUpdatedBlockIdSumUpdatedBlockIdAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - ClaimsByUpdatedBlockIdSumUpdatedBlockIdDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - ClaimsByUpdatedBlockIdVariancePopulationCddIdAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CDD_ID_ASC', - ClaimsByUpdatedBlockIdVariancePopulationCddIdDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CDD_ID_DESC', - ClaimsByUpdatedBlockIdVariancePopulationCreatedAtAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - ClaimsByUpdatedBlockIdVariancePopulationCreatedAtDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - ClaimsByUpdatedBlockIdVariancePopulationCreatedBlockIdAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - ClaimsByUpdatedBlockIdVariancePopulationCreatedBlockIdDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - ClaimsByUpdatedBlockIdVariancePopulationCustomClaimTypeIdAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CUSTOM_CLAIM_TYPE_ID_ASC', - ClaimsByUpdatedBlockIdVariancePopulationCustomClaimTypeIdDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CUSTOM_CLAIM_TYPE_ID_DESC', - ClaimsByUpdatedBlockIdVariancePopulationEventIdxAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', - ClaimsByUpdatedBlockIdVariancePopulationEventIdxDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', - ClaimsByUpdatedBlockIdVariancePopulationExpiryAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EXPIRY_ASC', - ClaimsByUpdatedBlockIdVariancePopulationExpiryDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EXPIRY_DESC', - ClaimsByUpdatedBlockIdVariancePopulationFilterExpiryAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_FILTER_EXPIRY_ASC', - ClaimsByUpdatedBlockIdVariancePopulationFilterExpiryDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_FILTER_EXPIRY_DESC', - ClaimsByUpdatedBlockIdVariancePopulationIdAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - ClaimsByUpdatedBlockIdVariancePopulationIdDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - ClaimsByUpdatedBlockIdVariancePopulationIssuanceDateAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ISSUANCE_DATE_ASC', - ClaimsByUpdatedBlockIdVariancePopulationIssuanceDateDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ISSUANCE_DATE_DESC', - ClaimsByUpdatedBlockIdVariancePopulationIssuerIdAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ISSUER_ID_ASC', - ClaimsByUpdatedBlockIdVariancePopulationIssuerIdDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ISSUER_ID_DESC', - ClaimsByUpdatedBlockIdVariancePopulationJurisdictionAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_JURISDICTION_ASC', - ClaimsByUpdatedBlockIdVariancePopulationJurisdictionDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_JURISDICTION_DESC', - ClaimsByUpdatedBlockIdVariancePopulationLastUpdateDateAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_LAST_UPDATE_DATE_ASC', - ClaimsByUpdatedBlockIdVariancePopulationLastUpdateDateDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_LAST_UPDATE_DATE_DESC', - ClaimsByUpdatedBlockIdVariancePopulationRevokeDateAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_REVOKE_DATE_ASC', - ClaimsByUpdatedBlockIdVariancePopulationRevokeDateDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_REVOKE_DATE_DESC', - ClaimsByUpdatedBlockIdVariancePopulationScopeAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_SCOPE_ASC', - ClaimsByUpdatedBlockIdVariancePopulationScopeDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_SCOPE_DESC', - ClaimsByUpdatedBlockIdVariancePopulationTargetIdAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TARGET_ID_ASC', - ClaimsByUpdatedBlockIdVariancePopulationTargetIdDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TARGET_ID_DESC', - ClaimsByUpdatedBlockIdVariancePopulationTypeAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TYPE_ASC', - ClaimsByUpdatedBlockIdVariancePopulationTypeDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TYPE_DESC', - ClaimsByUpdatedBlockIdVariancePopulationUpdatedAtAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - ClaimsByUpdatedBlockIdVariancePopulationUpdatedAtDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - ClaimsByUpdatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - ClaimsByUpdatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - ClaimsByUpdatedBlockIdVarianceSampleCddIdAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CDD_ID_ASC', - ClaimsByUpdatedBlockIdVarianceSampleCddIdDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CDD_ID_DESC', - ClaimsByUpdatedBlockIdVarianceSampleCreatedAtAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - ClaimsByUpdatedBlockIdVarianceSampleCreatedAtDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - ClaimsByUpdatedBlockIdVarianceSampleCreatedBlockIdAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - ClaimsByUpdatedBlockIdVarianceSampleCreatedBlockIdDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - ClaimsByUpdatedBlockIdVarianceSampleCustomClaimTypeIdAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CUSTOM_CLAIM_TYPE_ID_ASC', - ClaimsByUpdatedBlockIdVarianceSampleCustomClaimTypeIdDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CUSTOM_CLAIM_TYPE_ID_DESC', - ClaimsByUpdatedBlockIdVarianceSampleEventIdxAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', - ClaimsByUpdatedBlockIdVarianceSampleEventIdxDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', - ClaimsByUpdatedBlockIdVarianceSampleExpiryAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EXPIRY_ASC', - ClaimsByUpdatedBlockIdVarianceSampleExpiryDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EXPIRY_DESC', - ClaimsByUpdatedBlockIdVarianceSampleFilterExpiryAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_FILTER_EXPIRY_ASC', - ClaimsByUpdatedBlockIdVarianceSampleFilterExpiryDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_FILTER_EXPIRY_DESC', - ClaimsByUpdatedBlockIdVarianceSampleIdAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - ClaimsByUpdatedBlockIdVarianceSampleIdDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - ClaimsByUpdatedBlockIdVarianceSampleIssuanceDateAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ISSUANCE_DATE_ASC', - ClaimsByUpdatedBlockIdVarianceSampleIssuanceDateDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ISSUANCE_DATE_DESC', - ClaimsByUpdatedBlockIdVarianceSampleIssuerIdAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ISSUER_ID_ASC', - ClaimsByUpdatedBlockIdVarianceSampleIssuerIdDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ISSUER_ID_DESC', - ClaimsByUpdatedBlockIdVarianceSampleJurisdictionAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_JURISDICTION_ASC', - ClaimsByUpdatedBlockIdVarianceSampleJurisdictionDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_JURISDICTION_DESC', - ClaimsByUpdatedBlockIdVarianceSampleLastUpdateDateAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_LAST_UPDATE_DATE_ASC', - ClaimsByUpdatedBlockIdVarianceSampleLastUpdateDateDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_LAST_UPDATE_DATE_DESC', - ClaimsByUpdatedBlockIdVarianceSampleRevokeDateAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_REVOKE_DATE_ASC', - ClaimsByUpdatedBlockIdVarianceSampleRevokeDateDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_REVOKE_DATE_DESC', - ClaimsByUpdatedBlockIdVarianceSampleScopeAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_SCOPE_ASC', - ClaimsByUpdatedBlockIdVarianceSampleScopeDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_SCOPE_DESC', - ClaimsByUpdatedBlockIdVarianceSampleTargetIdAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TARGET_ID_ASC', - ClaimsByUpdatedBlockIdVarianceSampleTargetIdDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TARGET_ID_DESC', - ClaimsByUpdatedBlockIdVarianceSampleTypeAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TYPE_ASC', - ClaimsByUpdatedBlockIdVarianceSampleTypeDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TYPE_DESC', - ClaimsByUpdatedBlockIdVarianceSampleUpdatedAtAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - ClaimsByUpdatedBlockIdVarianceSampleUpdatedAtDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - ClaimsByUpdatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'CLAIMS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - ClaimsByUpdatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'CLAIMS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - ClaimScopesByCreatedBlockIdAverageCreatedAtAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - ClaimScopesByCreatedBlockIdAverageCreatedAtDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - ClaimScopesByCreatedBlockIdAverageCreatedBlockIdAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - ClaimScopesByCreatedBlockIdAverageCreatedBlockIdDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - ClaimScopesByCreatedBlockIdAverageIdAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_AVERAGE_ID_ASC', - ClaimScopesByCreatedBlockIdAverageIdDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_AVERAGE_ID_DESC', - ClaimScopesByCreatedBlockIdAverageScopeAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_AVERAGE_SCOPE_ASC', - ClaimScopesByCreatedBlockIdAverageScopeDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_AVERAGE_SCOPE_DESC', - ClaimScopesByCreatedBlockIdAverageTargetAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_AVERAGE_TARGET_ASC', - ClaimScopesByCreatedBlockIdAverageTargetDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_AVERAGE_TARGET_DESC', - ClaimScopesByCreatedBlockIdAverageTickerAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_AVERAGE_TICKER_ASC', - ClaimScopesByCreatedBlockIdAverageTickerDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_AVERAGE_TICKER_DESC', - ClaimScopesByCreatedBlockIdAverageUpdatedAtAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - ClaimScopesByCreatedBlockIdAverageUpdatedAtDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - ClaimScopesByCreatedBlockIdAverageUpdatedBlockIdAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - ClaimScopesByCreatedBlockIdAverageUpdatedBlockIdDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - ClaimScopesByCreatedBlockIdCountAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_COUNT_ASC', - ClaimScopesByCreatedBlockIdCountDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_COUNT_DESC', - ClaimScopesByCreatedBlockIdDistinctCountCreatedAtAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - ClaimScopesByCreatedBlockIdDistinctCountCreatedAtDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - ClaimScopesByCreatedBlockIdDistinctCountCreatedBlockIdAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - ClaimScopesByCreatedBlockIdDistinctCountCreatedBlockIdDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - ClaimScopesByCreatedBlockIdDistinctCountIdAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - ClaimScopesByCreatedBlockIdDistinctCountIdDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - ClaimScopesByCreatedBlockIdDistinctCountScopeAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_SCOPE_ASC', - ClaimScopesByCreatedBlockIdDistinctCountScopeDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_SCOPE_DESC', - ClaimScopesByCreatedBlockIdDistinctCountTargetAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TARGET_ASC', - ClaimScopesByCreatedBlockIdDistinctCountTargetDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TARGET_DESC', - ClaimScopesByCreatedBlockIdDistinctCountTickerAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TICKER_ASC', - ClaimScopesByCreatedBlockIdDistinctCountTickerDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TICKER_DESC', - ClaimScopesByCreatedBlockIdDistinctCountUpdatedAtAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - ClaimScopesByCreatedBlockIdDistinctCountUpdatedAtDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - ClaimScopesByCreatedBlockIdDistinctCountUpdatedBlockIdAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - ClaimScopesByCreatedBlockIdDistinctCountUpdatedBlockIdDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - ClaimScopesByCreatedBlockIdMaxCreatedAtAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_ASC', - ClaimScopesByCreatedBlockIdMaxCreatedAtDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_DESC', - ClaimScopesByCreatedBlockIdMaxCreatedBlockIdAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - ClaimScopesByCreatedBlockIdMaxCreatedBlockIdDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - ClaimScopesByCreatedBlockIdMaxIdAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_MAX_ID_ASC', - ClaimScopesByCreatedBlockIdMaxIdDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_MAX_ID_DESC', - ClaimScopesByCreatedBlockIdMaxScopeAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_MAX_SCOPE_ASC', - ClaimScopesByCreatedBlockIdMaxScopeDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_MAX_SCOPE_DESC', - ClaimScopesByCreatedBlockIdMaxTargetAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_MAX_TARGET_ASC', - ClaimScopesByCreatedBlockIdMaxTargetDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_MAX_TARGET_DESC', - ClaimScopesByCreatedBlockIdMaxTickerAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_MAX_TICKER_ASC', - ClaimScopesByCreatedBlockIdMaxTickerDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_MAX_TICKER_DESC', - ClaimScopesByCreatedBlockIdMaxUpdatedAtAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - ClaimScopesByCreatedBlockIdMaxUpdatedAtDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - ClaimScopesByCreatedBlockIdMaxUpdatedBlockIdAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - ClaimScopesByCreatedBlockIdMaxUpdatedBlockIdDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - ClaimScopesByCreatedBlockIdMinCreatedAtAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_ASC', - ClaimScopesByCreatedBlockIdMinCreatedAtDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_DESC', - ClaimScopesByCreatedBlockIdMinCreatedBlockIdAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - ClaimScopesByCreatedBlockIdMinCreatedBlockIdDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - ClaimScopesByCreatedBlockIdMinIdAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_MIN_ID_ASC', - ClaimScopesByCreatedBlockIdMinIdDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_MIN_ID_DESC', - ClaimScopesByCreatedBlockIdMinScopeAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_MIN_SCOPE_ASC', - ClaimScopesByCreatedBlockIdMinScopeDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_MIN_SCOPE_DESC', - ClaimScopesByCreatedBlockIdMinTargetAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_MIN_TARGET_ASC', - ClaimScopesByCreatedBlockIdMinTargetDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_MIN_TARGET_DESC', - ClaimScopesByCreatedBlockIdMinTickerAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_MIN_TICKER_ASC', - ClaimScopesByCreatedBlockIdMinTickerDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_MIN_TICKER_DESC', - ClaimScopesByCreatedBlockIdMinUpdatedAtAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - ClaimScopesByCreatedBlockIdMinUpdatedAtDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - ClaimScopesByCreatedBlockIdMinUpdatedBlockIdAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - ClaimScopesByCreatedBlockIdMinUpdatedBlockIdDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - ClaimScopesByCreatedBlockIdStddevPopulationCreatedAtAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - ClaimScopesByCreatedBlockIdStddevPopulationCreatedAtDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - ClaimScopesByCreatedBlockIdStddevPopulationCreatedBlockIdAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - ClaimScopesByCreatedBlockIdStddevPopulationCreatedBlockIdDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - ClaimScopesByCreatedBlockIdStddevPopulationIdAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - ClaimScopesByCreatedBlockIdStddevPopulationIdDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - ClaimScopesByCreatedBlockIdStddevPopulationScopeAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_SCOPE_ASC', - ClaimScopesByCreatedBlockIdStddevPopulationScopeDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_SCOPE_DESC', - ClaimScopesByCreatedBlockIdStddevPopulationTargetAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TARGET_ASC', - ClaimScopesByCreatedBlockIdStddevPopulationTargetDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TARGET_DESC', - ClaimScopesByCreatedBlockIdStddevPopulationTickerAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TICKER_ASC', - ClaimScopesByCreatedBlockIdStddevPopulationTickerDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TICKER_DESC', - ClaimScopesByCreatedBlockIdStddevPopulationUpdatedAtAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - ClaimScopesByCreatedBlockIdStddevPopulationUpdatedAtDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - ClaimScopesByCreatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - ClaimScopesByCreatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - ClaimScopesByCreatedBlockIdStddevSampleCreatedAtAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - ClaimScopesByCreatedBlockIdStddevSampleCreatedAtDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - ClaimScopesByCreatedBlockIdStddevSampleCreatedBlockIdAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - ClaimScopesByCreatedBlockIdStddevSampleCreatedBlockIdDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - ClaimScopesByCreatedBlockIdStddevSampleIdAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - ClaimScopesByCreatedBlockIdStddevSampleIdDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - ClaimScopesByCreatedBlockIdStddevSampleScopeAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_SCOPE_ASC', - ClaimScopesByCreatedBlockIdStddevSampleScopeDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_SCOPE_DESC', - ClaimScopesByCreatedBlockIdStddevSampleTargetAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TARGET_ASC', - ClaimScopesByCreatedBlockIdStddevSampleTargetDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TARGET_DESC', - ClaimScopesByCreatedBlockIdStddevSampleTickerAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TICKER_ASC', - ClaimScopesByCreatedBlockIdStddevSampleTickerDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TICKER_DESC', - ClaimScopesByCreatedBlockIdStddevSampleUpdatedAtAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - ClaimScopesByCreatedBlockIdStddevSampleUpdatedAtDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - ClaimScopesByCreatedBlockIdStddevSampleUpdatedBlockIdAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - ClaimScopesByCreatedBlockIdStddevSampleUpdatedBlockIdDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - ClaimScopesByCreatedBlockIdSumCreatedAtAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_ASC', - ClaimScopesByCreatedBlockIdSumCreatedAtDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_DESC', - ClaimScopesByCreatedBlockIdSumCreatedBlockIdAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - ClaimScopesByCreatedBlockIdSumCreatedBlockIdDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - ClaimScopesByCreatedBlockIdSumIdAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_SUM_ID_ASC', - ClaimScopesByCreatedBlockIdSumIdDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_SUM_ID_DESC', - ClaimScopesByCreatedBlockIdSumScopeAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_SUM_SCOPE_ASC', - ClaimScopesByCreatedBlockIdSumScopeDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_SUM_SCOPE_DESC', - ClaimScopesByCreatedBlockIdSumTargetAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_SUM_TARGET_ASC', - ClaimScopesByCreatedBlockIdSumTargetDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_SUM_TARGET_DESC', - ClaimScopesByCreatedBlockIdSumTickerAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_SUM_TICKER_ASC', - ClaimScopesByCreatedBlockIdSumTickerDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_SUM_TICKER_DESC', - ClaimScopesByCreatedBlockIdSumUpdatedAtAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - ClaimScopesByCreatedBlockIdSumUpdatedAtDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - ClaimScopesByCreatedBlockIdSumUpdatedBlockIdAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - ClaimScopesByCreatedBlockIdSumUpdatedBlockIdDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - ClaimScopesByCreatedBlockIdVariancePopulationCreatedAtAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - ClaimScopesByCreatedBlockIdVariancePopulationCreatedAtDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - ClaimScopesByCreatedBlockIdVariancePopulationCreatedBlockIdAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - ClaimScopesByCreatedBlockIdVariancePopulationCreatedBlockIdDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - ClaimScopesByCreatedBlockIdVariancePopulationIdAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - ClaimScopesByCreatedBlockIdVariancePopulationIdDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - ClaimScopesByCreatedBlockIdVariancePopulationScopeAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_SCOPE_ASC', - ClaimScopesByCreatedBlockIdVariancePopulationScopeDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_SCOPE_DESC', - ClaimScopesByCreatedBlockIdVariancePopulationTargetAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TARGET_ASC', - ClaimScopesByCreatedBlockIdVariancePopulationTargetDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TARGET_DESC', - ClaimScopesByCreatedBlockIdVariancePopulationTickerAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TICKER_ASC', - ClaimScopesByCreatedBlockIdVariancePopulationTickerDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TICKER_DESC', - ClaimScopesByCreatedBlockIdVariancePopulationUpdatedAtAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - ClaimScopesByCreatedBlockIdVariancePopulationUpdatedAtDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - ClaimScopesByCreatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - ClaimScopesByCreatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - ClaimScopesByCreatedBlockIdVarianceSampleCreatedAtAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - ClaimScopesByCreatedBlockIdVarianceSampleCreatedAtDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - ClaimScopesByCreatedBlockIdVarianceSampleCreatedBlockIdAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - ClaimScopesByCreatedBlockIdVarianceSampleCreatedBlockIdDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - ClaimScopesByCreatedBlockIdVarianceSampleIdAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - ClaimScopesByCreatedBlockIdVarianceSampleIdDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - ClaimScopesByCreatedBlockIdVarianceSampleScopeAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_SCOPE_ASC', - ClaimScopesByCreatedBlockIdVarianceSampleScopeDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_SCOPE_DESC', - ClaimScopesByCreatedBlockIdVarianceSampleTargetAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TARGET_ASC', - ClaimScopesByCreatedBlockIdVarianceSampleTargetDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TARGET_DESC', - ClaimScopesByCreatedBlockIdVarianceSampleTickerAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TICKER_ASC', - ClaimScopesByCreatedBlockIdVarianceSampleTickerDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TICKER_DESC', - ClaimScopesByCreatedBlockIdVarianceSampleUpdatedAtAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - ClaimScopesByCreatedBlockIdVarianceSampleUpdatedAtDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - ClaimScopesByCreatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - ClaimScopesByCreatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'CLAIM_SCOPES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - ClaimScopesByUpdatedBlockIdAverageCreatedAtAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - ClaimScopesByUpdatedBlockIdAverageCreatedAtDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - ClaimScopesByUpdatedBlockIdAverageCreatedBlockIdAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - ClaimScopesByUpdatedBlockIdAverageCreatedBlockIdDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - ClaimScopesByUpdatedBlockIdAverageIdAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_AVERAGE_ID_ASC', - ClaimScopesByUpdatedBlockIdAverageIdDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_AVERAGE_ID_DESC', - ClaimScopesByUpdatedBlockIdAverageScopeAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_AVERAGE_SCOPE_ASC', - ClaimScopesByUpdatedBlockIdAverageScopeDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_AVERAGE_SCOPE_DESC', - ClaimScopesByUpdatedBlockIdAverageTargetAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_AVERAGE_TARGET_ASC', - ClaimScopesByUpdatedBlockIdAverageTargetDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_AVERAGE_TARGET_DESC', - ClaimScopesByUpdatedBlockIdAverageTickerAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_AVERAGE_TICKER_ASC', - ClaimScopesByUpdatedBlockIdAverageTickerDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_AVERAGE_TICKER_DESC', - ClaimScopesByUpdatedBlockIdAverageUpdatedAtAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - ClaimScopesByUpdatedBlockIdAverageUpdatedAtDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - ClaimScopesByUpdatedBlockIdAverageUpdatedBlockIdAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - ClaimScopesByUpdatedBlockIdAverageUpdatedBlockIdDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - ClaimScopesByUpdatedBlockIdCountAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_COUNT_ASC', - ClaimScopesByUpdatedBlockIdCountDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_COUNT_DESC', - ClaimScopesByUpdatedBlockIdDistinctCountCreatedAtAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - ClaimScopesByUpdatedBlockIdDistinctCountCreatedAtDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - ClaimScopesByUpdatedBlockIdDistinctCountCreatedBlockIdAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - ClaimScopesByUpdatedBlockIdDistinctCountCreatedBlockIdDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - ClaimScopesByUpdatedBlockIdDistinctCountIdAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - ClaimScopesByUpdatedBlockIdDistinctCountIdDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - ClaimScopesByUpdatedBlockIdDistinctCountScopeAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_SCOPE_ASC', - ClaimScopesByUpdatedBlockIdDistinctCountScopeDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_SCOPE_DESC', - ClaimScopesByUpdatedBlockIdDistinctCountTargetAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TARGET_ASC', - ClaimScopesByUpdatedBlockIdDistinctCountTargetDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TARGET_DESC', - ClaimScopesByUpdatedBlockIdDistinctCountTickerAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TICKER_ASC', - ClaimScopesByUpdatedBlockIdDistinctCountTickerDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TICKER_DESC', - ClaimScopesByUpdatedBlockIdDistinctCountUpdatedAtAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - ClaimScopesByUpdatedBlockIdDistinctCountUpdatedAtDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - ClaimScopesByUpdatedBlockIdDistinctCountUpdatedBlockIdAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - ClaimScopesByUpdatedBlockIdDistinctCountUpdatedBlockIdDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - ClaimScopesByUpdatedBlockIdMaxCreatedAtAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_ASC', - ClaimScopesByUpdatedBlockIdMaxCreatedAtDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_DESC', - ClaimScopesByUpdatedBlockIdMaxCreatedBlockIdAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - ClaimScopesByUpdatedBlockIdMaxCreatedBlockIdDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - ClaimScopesByUpdatedBlockIdMaxIdAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_MAX_ID_ASC', - ClaimScopesByUpdatedBlockIdMaxIdDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_MAX_ID_DESC', - ClaimScopesByUpdatedBlockIdMaxScopeAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_MAX_SCOPE_ASC', - ClaimScopesByUpdatedBlockIdMaxScopeDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_MAX_SCOPE_DESC', - ClaimScopesByUpdatedBlockIdMaxTargetAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_MAX_TARGET_ASC', - ClaimScopesByUpdatedBlockIdMaxTargetDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_MAX_TARGET_DESC', - ClaimScopesByUpdatedBlockIdMaxTickerAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_MAX_TICKER_ASC', - ClaimScopesByUpdatedBlockIdMaxTickerDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_MAX_TICKER_DESC', - ClaimScopesByUpdatedBlockIdMaxUpdatedAtAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - ClaimScopesByUpdatedBlockIdMaxUpdatedAtDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - ClaimScopesByUpdatedBlockIdMaxUpdatedBlockIdAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - ClaimScopesByUpdatedBlockIdMaxUpdatedBlockIdDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - ClaimScopesByUpdatedBlockIdMinCreatedAtAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_ASC', - ClaimScopesByUpdatedBlockIdMinCreatedAtDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_DESC', - ClaimScopesByUpdatedBlockIdMinCreatedBlockIdAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - ClaimScopesByUpdatedBlockIdMinCreatedBlockIdDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - ClaimScopesByUpdatedBlockIdMinIdAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_MIN_ID_ASC', - ClaimScopesByUpdatedBlockIdMinIdDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_MIN_ID_DESC', - ClaimScopesByUpdatedBlockIdMinScopeAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_MIN_SCOPE_ASC', - ClaimScopesByUpdatedBlockIdMinScopeDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_MIN_SCOPE_DESC', - ClaimScopesByUpdatedBlockIdMinTargetAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_MIN_TARGET_ASC', - ClaimScopesByUpdatedBlockIdMinTargetDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_MIN_TARGET_DESC', - ClaimScopesByUpdatedBlockIdMinTickerAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_MIN_TICKER_ASC', - ClaimScopesByUpdatedBlockIdMinTickerDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_MIN_TICKER_DESC', - ClaimScopesByUpdatedBlockIdMinUpdatedAtAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - ClaimScopesByUpdatedBlockIdMinUpdatedAtDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - ClaimScopesByUpdatedBlockIdMinUpdatedBlockIdAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - ClaimScopesByUpdatedBlockIdMinUpdatedBlockIdDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - ClaimScopesByUpdatedBlockIdStddevPopulationCreatedAtAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - ClaimScopesByUpdatedBlockIdStddevPopulationCreatedAtDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - ClaimScopesByUpdatedBlockIdStddevPopulationCreatedBlockIdAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - ClaimScopesByUpdatedBlockIdStddevPopulationCreatedBlockIdDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - ClaimScopesByUpdatedBlockIdStddevPopulationIdAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - ClaimScopesByUpdatedBlockIdStddevPopulationIdDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - ClaimScopesByUpdatedBlockIdStddevPopulationScopeAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_SCOPE_ASC', - ClaimScopesByUpdatedBlockIdStddevPopulationScopeDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_SCOPE_DESC', - ClaimScopesByUpdatedBlockIdStddevPopulationTargetAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TARGET_ASC', - ClaimScopesByUpdatedBlockIdStddevPopulationTargetDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TARGET_DESC', - ClaimScopesByUpdatedBlockIdStddevPopulationTickerAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TICKER_ASC', - ClaimScopesByUpdatedBlockIdStddevPopulationTickerDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TICKER_DESC', - ClaimScopesByUpdatedBlockIdStddevPopulationUpdatedAtAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - ClaimScopesByUpdatedBlockIdStddevPopulationUpdatedAtDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - ClaimScopesByUpdatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - ClaimScopesByUpdatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - ClaimScopesByUpdatedBlockIdStddevSampleCreatedAtAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - ClaimScopesByUpdatedBlockIdStddevSampleCreatedAtDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - ClaimScopesByUpdatedBlockIdStddevSampleCreatedBlockIdAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - ClaimScopesByUpdatedBlockIdStddevSampleCreatedBlockIdDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - ClaimScopesByUpdatedBlockIdStddevSampleIdAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - ClaimScopesByUpdatedBlockIdStddevSampleIdDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - ClaimScopesByUpdatedBlockIdStddevSampleScopeAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_SCOPE_ASC', - ClaimScopesByUpdatedBlockIdStddevSampleScopeDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_SCOPE_DESC', - ClaimScopesByUpdatedBlockIdStddevSampleTargetAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TARGET_ASC', - ClaimScopesByUpdatedBlockIdStddevSampleTargetDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TARGET_DESC', - ClaimScopesByUpdatedBlockIdStddevSampleTickerAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TICKER_ASC', - ClaimScopesByUpdatedBlockIdStddevSampleTickerDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TICKER_DESC', - ClaimScopesByUpdatedBlockIdStddevSampleUpdatedAtAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - ClaimScopesByUpdatedBlockIdStddevSampleUpdatedAtDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - ClaimScopesByUpdatedBlockIdStddevSampleUpdatedBlockIdAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - ClaimScopesByUpdatedBlockIdStddevSampleUpdatedBlockIdDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - ClaimScopesByUpdatedBlockIdSumCreatedAtAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_ASC', - ClaimScopesByUpdatedBlockIdSumCreatedAtDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_DESC', - ClaimScopesByUpdatedBlockIdSumCreatedBlockIdAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - ClaimScopesByUpdatedBlockIdSumCreatedBlockIdDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - ClaimScopesByUpdatedBlockIdSumIdAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_SUM_ID_ASC', - ClaimScopesByUpdatedBlockIdSumIdDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_SUM_ID_DESC', - ClaimScopesByUpdatedBlockIdSumScopeAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_SUM_SCOPE_ASC', - ClaimScopesByUpdatedBlockIdSumScopeDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_SUM_SCOPE_DESC', - ClaimScopesByUpdatedBlockIdSumTargetAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_SUM_TARGET_ASC', - ClaimScopesByUpdatedBlockIdSumTargetDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_SUM_TARGET_DESC', - ClaimScopesByUpdatedBlockIdSumTickerAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_SUM_TICKER_ASC', - ClaimScopesByUpdatedBlockIdSumTickerDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_SUM_TICKER_DESC', - ClaimScopesByUpdatedBlockIdSumUpdatedAtAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - ClaimScopesByUpdatedBlockIdSumUpdatedAtDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - ClaimScopesByUpdatedBlockIdSumUpdatedBlockIdAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - ClaimScopesByUpdatedBlockIdSumUpdatedBlockIdDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - ClaimScopesByUpdatedBlockIdVariancePopulationCreatedAtAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - ClaimScopesByUpdatedBlockIdVariancePopulationCreatedAtDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - ClaimScopesByUpdatedBlockIdVariancePopulationCreatedBlockIdAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - ClaimScopesByUpdatedBlockIdVariancePopulationCreatedBlockIdDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - ClaimScopesByUpdatedBlockIdVariancePopulationIdAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - ClaimScopesByUpdatedBlockIdVariancePopulationIdDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - ClaimScopesByUpdatedBlockIdVariancePopulationScopeAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_SCOPE_ASC', - ClaimScopesByUpdatedBlockIdVariancePopulationScopeDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_SCOPE_DESC', - ClaimScopesByUpdatedBlockIdVariancePopulationTargetAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TARGET_ASC', - ClaimScopesByUpdatedBlockIdVariancePopulationTargetDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TARGET_DESC', - ClaimScopesByUpdatedBlockIdVariancePopulationTickerAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TICKER_ASC', - ClaimScopesByUpdatedBlockIdVariancePopulationTickerDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TICKER_DESC', - ClaimScopesByUpdatedBlockIdVariancePopulationUpdatedAtAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - ClaimScopesByUpdatedBlockIdVariancePopulationUpdatedAtDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - ClaimScopesByUpdatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - ClaimScopesByUpdatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - ClaimScopesByUpdatedBlockIdVarianceSampleCreatedAtAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - ClaimScopesByUpdatedBlockIdVarianceSampleCreatedAtDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - ClaimScopesByUpdatedBlockIdVarianceSampleCreatedBlockIdAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - ClaimScopesByUpdatedBlockIdVarianceSampleCreatedBlockIdDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - ClaimScopesByUpdatedBlockIdVarianceSampleIdAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - ClaimScopesByUpdatedBlockIdVarianceSampleIdDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - ClaimScopesByUpdatedBlockIdVarianceSampleScopeAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_SCOPE_ASC', - ClaimScopesByUpdatedBlockIdVarianceSampleScopeDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_SCOPE_DESC', - ClaimScopesByUpdatedBlockIdVarianceSampleTargetAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TARGET_ASC', - ClaimScopesByUpdatedBlockIdVarianceSampleTargetDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TARGET_DESC', - ClaimScopesByUpdatedBlockIdVarianceSampleTickerAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TICKER_ASC', - ClaimScopesByUpdatedBlockIdVarianceSampleTickerDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TICKER_DESC', - ClaimScopesByUpdatedBlockIdVarianceSampleUpdatedAtAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - ClaimScopesByUpdatedBlockIdVarianceSampleUpdatedAtDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - ClaimScopesByUpdatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - ClaimScopesByUpdatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'CLAIM_SCOPES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - CompliancesByCreatedBlockIdAverageAssetIdAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_AVERAGE_ASSET_ID_ASC', - CompliancesByCreatedBlockIdAverageAssetIdDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_AVERAGE_ASSET_ID_DESC', - CompliancesByCreatedBlockIdAverageComplianceIdAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_AVERAGE_COMPLIANCE_ID_ASC', - CompliancesByCreatedBlockIdAverageComplianceIdDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_AVERAGE_COMPLIANCE_ID_DESC', - CompliancesByCreatedBlockIdAverageCreatedAtAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - CompliancesByCreatedBlockIdAverageCreatedAtDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - CompliancesByCreatedBlockIdAverageCreatedBlockIdAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - CompliancesByCreatedBlockIdAverageCreatedBlockIdDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - CompliancesByCreatedBlockIdAverageDataAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_AVERAGE_DATA_ASC', - CompliancesByCreatedBlockIdAverageDataDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_AVERAGE_DATA_DESC', - CompliancesByCreatedBlockIdAverageIdAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_AVERAGE_ID_ASC', - CompliancesByCreatedBlockIdAverageIdDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_AVERAGE_ID_DESC', - CompliancesByCreatedBlockIdAverageUpdatedAtAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - CompliancesByCreatedBlockIdAverageUpdatedAtDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - CompliancesByCreatedBlockIdAverageUpdatedBlockIdAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - CompliancesByCreatedBlockIdAverageUpdatedBlockIdDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - CompliancesByCreatedBlockIdCountAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_COUNT_ASC', - CompliancesByCreatedBlockIdCountDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_COUNT_DESC', - CompliancesByCreatedBlockIdDistinctCountAssetIdAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_ASC', - CompliancesByCreatedBlockIdDistinctCountAssetIdDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_DESC', - CompliancesByCreatedBlockIdDistinctCountComplianceIdAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_COMPLIANCE_ID_ASC', - CompliancesByCreatedBlockIdDistinctCountComplianceIdDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_COMPLIANCE_ID_DESC', - CompliancesByCreatedBlockIdDistinctCountCreatedAtAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - CompliancesByCreatedBlockIdDistinctCountCreatedAtDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - CompliancesByCreatedBlockIdDistinctCountCreatedBlockIdAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - CompliancesByCreatedBlockIdDistinctCountCreatedBlockIdDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - CompliancesByCreatedBlockIdDistinctCountDataAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_DATA_ASC', - CompliancesByCreatedBlockIdDistinctCountDataDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_DATA_DESC', - CompliancesByCreatedBlockIdDistinctCountIdAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - CompliancesByCreatedBlockIdDistinctCountIdDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - CompliancesByCreatedBlockIdDistinctCountUpdatedAtAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - CompliancesByCreatedBlockIdDistinctCountUpdatedAtDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - CompliancesByCreatedBlockIdDistinctCountUpdatedBlockIdAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - CompliancesByCreatedBlockIdDistinctCountUpdatedBlockIdDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - CompliancesByCreatedBlockIdMaxAssetIdAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_MAX_ASSET_ID_ASC', - CompliancesByCreatedBlockIdMaxAssetIdDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_MAX_ASSET_ID_DESC', - CompliancesByCreatedBlockIdMaxComplianceIdAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_MAX_COMPLIANCE_ID_ASC', - CompliancesByCreatedBlockIdMaxComplianceIdDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_MAX_COMPLIANCE_ID_DESC', - CompliancesByCreatedBlockIdMaxCreatedAtAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_ASC', - CompliancesByCreatedBlockIdMaxCreatedAtDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_DESC', - CompliancesByCreatedBlockIdMaxCreatedBlockIdAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - CompliancesByCreatedBlockIdMaxCreatedBlockIdDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - CompliancesByCreatedBlockIdMaxDataAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_MAX_DATA_ASC', - CompliancesByCreatedBlockIdMaxDataDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_MAX_DATA_DESC', - CompliancesByCreatedBlockIdMaxIdAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_MAX_ID_ASC', - CompliancesByCreatedBlockIdMaxIdDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_MAX_ID_DESC', - CompliancesByCreatedBlockIdMaxUpdatedAtAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - CompliancesByCreatedBlockIdMaxUpdatedAtDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - CompliancesByCreatedBlockIdMaxUpdatedBlockIdAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - CompliancesByCreatedBlockIdMaxUpdatedBlockIdDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - CompliancesByCreatedBlockIdMinAssetIdAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_MIN_ASSET_ID_ASC', - CompliancesByCreatedBlockIdMinAssetIdDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_MIN_ASSET_ID_DESC', - CompliancesByCreatedBlockIdMinComplianceIdAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_MIN_COMPLIANCE_ID_ASC', - CompliancesByCreatedBlockIdMinComplianceIdDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_MIN_COMPLIANCE_ID_DESC', - CompliancesByCreatedBlockIdMinCreatedAtAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_ASC', - CompliancesByCreatedBlockIdMinCreatedAtDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_DESC', - CompliancesByCreatedBlockIdMinCreatedBlockIdAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - CompliancesByCreatedBlockIdMinCreatedBlockIdDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - CompliancesByCreatedBlockIdMinDataAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_MIN_DATA_ASC', - CompliancesByCreatedBlockIdMinDataDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_MIN_DATA_DESC', - CompliancesByCreatedBlockIdMinIdAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_MIN_ID_ASC', - CompliancesByCreatedBlockIdMinIdDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_MIN_ID_DESC', - CompliancesByCreatedBlockIdMinUpdatedAtAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - CompliancesByCreatedBlockIdMinUpdatedAtDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - CompliancesByCreatedBlockIdMinUpdatedBlockIdAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - CompliancesByCreatedBlockIdMinUpdatedBlockIdDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - CompliancesByCreatedBlockIdStddevPopulationAssetIdAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_ASC', - CompliancesByCreatedBlockIdStddevPopulationAssetIdDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_DESC', - CompliancesByCreatedBlockIdStddevPopulationComplianceIdAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_COMPLIANCE_ID_ASC', - CompliancesByCreatedBlockIdStddevPopulationComplianceIdDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_COMPLIANCE_ID_DESC', - CompliancesByCreatedBlockIdStddevPopulationCreatedAtAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - CompliancesByCreatedBlockIdStddevPopulationCreatedAtDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - CompliancesByCreatedBlockIdStddevPopulationCreatedBlockIdAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - CompliancesByCreatedBlockIdStddevPopulationCreatedBlockIdDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - CompliancesByCreatedBlockIdStddevPopulationDataAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_DATA_ASC', - CompliancesByCreatedBlockIdStddevPopulationDataDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_DATA_DESC', - CompliancesByCreatedBlockIdStddevPopulationIdAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - CompliancesByCreatedBlockIdStddevPopulationIdDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - CompliancesByCreatedBlockIdStddevPopulationUpdatedAtAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - CompliancesByCreatedBlockIdStddevPopulationUpdatedAtDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - CompliancesByCreatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - CompliancesByCreatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - CompliancesByCreatedBlockIdStddevSampleAssetIdAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_ASC', - CompliancesByCreatedBlockIdStddevSampleAssetIdDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_DESC', - CompliancesByCreatedBlockIdStddevSampleComplianceIdAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_COMPLIANCE_ID_ASC', - CompliancesByCreatedBlockIdStddevSampleComplianceIdDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_COMPLIANCE_ID_DESC', - CompliancesByCreatedBlockIdStddevSampleCreatedAtAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - CompliancesByCreatedBlockIdStddevSampleCreatedAtDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - CompliancesByCreatedBlockIdStddevSampleCreatedBlockIdAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - CompliancesByCreatedBlockIdStddevSampleCreatedBlockIdDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - CompliancesByCreatedBlockIdStddevSampleDataAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_DATA_ASC', - CompliancesByCreatedBlockIdStddevSampleDataDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_DATA_DESC', - CompliancesByCreatedBlockIdStddevSampleIdAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - CompliancesByCreatedBlockIdStddevSampleIdDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - CompliancesByCreatedBlockIdStddevSampleUpdatedAtAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - CompliancesByCreatedBlockIdStddevSampleUpdatedAtDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - CompliancesByCreatedBlockIdStddevSampleUpdatedBlockIdAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - CompliancesByCreatedBlockIdStddevSampleUpdatedBlockIdDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - CompliancesByCreatedBlockIdSumAssetIdAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_SUM_ASSET_ID_ASC', - CompliancesByCreatedBlockIdSumAssetIdDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_SUM_ASSET_ID_DESC', - CompliancesByCreatedBlockIdSumComplianceIdAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_SUM_COMPLIANCE_ID_ASC', - CompliancesByCreatedBlockIdSumComplianceIdDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_SUM_COMPLIANCE_ID_DESC', - CompliancesByCreatedBlockIdSumCreatedAtAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_ASC', - CompliancesByCreatedBlockIdSumCreatedAtDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_DESC', - CompliancesByCreatedBlockIdSumCreatedBlockIdAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - CompliancesByCreatedBlockIdSumCreatedBlockIdDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - CompliancesByCreatedBlockIdSumDataAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_SUM_DATA_ASC', - CompliancesByCreatedBlockIdSumDataDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_SUM_DATA_DESC', - CompliancesByCreatedBlockIdSumIdAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_SUM_ID_ASC', - CompliancesByCreatedBlockIdSumIdDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_SUM_ID_DESC', - CompliancesByCreatedBlockIdSumUpdatedAtAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - CompliancesByCreatedBlockIdSumUpdatedAtDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - CompliancesByCreatedBlockIdSumUpdatedBlockIdAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - CompliancesByCreatedBlockIdSumUpdatedBlockIdDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - CompliancesByCreatedBlockIdVariancePopulationAssetIdAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_ASC', - CompliancesByCreatedBlockIdVariancePopulationAssetIdDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_DESC', - CompliancesByCreatedBlockIdVariancePopulationComplianceIdAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_COMPLIANCE_ID_ASC', - CompliancesByCreatedBlockIdVariancePopulationComplianceIdDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_COMPLIANCE_ID_DESC', - CompliancesByCreatedBlockIdVariancePopulationCreatedAtAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - CompliancesByCreatedBlockIdVariancePopulationCreatedAtDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - CompliancesByCreatedBlockIdVariancePopulationCreatedBlockIdAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - CompliancesByCreatedBlockIdVariancePopulationCreatedBlockIdDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - CompliancesByCreatedBlockIdVariancePopulationDataAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_DATA_ASC', - CompliancesByCreatedBlockIdVariancePopulationDataDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_DATA_DESC', - CompliancesByCreatedBlockIdVariancePopulationIdAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - CompliancesByCreatedBlockIdVariancePopulationIdDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - CompliancesByCreatedBlockIdVariancePopulationUpdatedAtAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - CompliancesByCreatedBlockIdVariancePopulationUpdatedAtDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - CompliancesByCreatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - CompliancesByCreatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - CompliancesByCreatedBlockIdVarianceSampleAssetIdAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_ASC', - CompliancesByCreatedBlockIdVarianceSampleAssetIdDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_DESC', - CompliancesByCreatedBlockIdVarianceSampleComplianceIdAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_COMPLIANCE_ID_ASC', - CompliancesByCreatedBlockIdVarianceSampleComplianceIdDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_COMPLIANCE_ID_DESC', - CompliancesByCreatedBlockIdVarianceSampleCreatedAtAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - CompliancesByCreatedBlockIdVarianceSampleCreatedAtDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - CompliancesByCreatedBlockIdVarianceSampleCreatedBlockIdAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - CompliancesByCreatedBlockIdVarianceSampleCreatedBlockIdDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - CompliancesByCreatedBlockIdVarianceSampleDataAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_DATA_ASC', - CompliancesByCreatedBlockIdVarianceSampleDataDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_DATA_DESC', - CompliancesByCreatedBlockIdVarianceSampleIdAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - CompliancesByCreatedBlockIdVarianceSampleIdDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - CompliancesByCreatedBlockIdVarianceSampleUpdatedAtAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - CompliancesByCreatedBlockIdVarianceSampleUpdatedAtDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - CompliancesByCreatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - CompliancesByCreatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - CompliancesByUpdatedBlockIdAverageAssetIdAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_AVERAGE_ASSET_ID_ASC', - CompliancesByUpdatedBlockIdAverageAssetIdDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_AVERAGE_ASSET_ID_DESC', - CompliancesByUpdatedBlockIdAverageComplianceIdAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_AVERAGE_COMPLIANCE_ID_ASC', - CompliancesByUpdatedBlockIdAverageComplianceIdDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_AVERAGE_COMPLIANCE_ID_DESC', - CompliancesByUpdatedBlockIdAverageCreatedAtAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - CompliancesByUpdatedBlockIdAverageCreatedAtDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - CompliancesByUpdatedBlockIdAverageCreatedBlockIdAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - CompliancesByUpdatedBlockIdAverageCreatedBlockIdDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - CompliancesByUpdatedBlockIdAverageDataAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_AVERAGE_DATA_ASC', - CompliancesByUpdatedBlockIdAverageDataDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_AVERAGE_DATA_DESC', - CompliancesByUpdatedBlockIdAverageIdAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_AVERAGE_ID_ASC', - CompliancesByUpdatedBlockIdAverageIdDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_AVERAGE_ID_DESC', - CompliancesByUpdatedBlockIdAverageUpdatedAtAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - CompliancesByUpdatedBlockIdAverageUpdatedAtDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - CompliancesByUpdatedBlockIdAverageUpdatedBlockIdAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - CompliancesByUpdatedBlockIdAverageUpdatedBlockIdDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - CompliancesByUpdatedBlockIdCountAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_COUNT_ASC', - CompliancesByUpdatedBlockIdCountDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_COUNT_DESC', - CompliancesByUpdatedBlockIdDistinctCountAssetIdAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_ASC', - CompliancesByUpdatedBlockIdDistinctCountAssetIdDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_DESC', - CompliancesByUpdatedBlockIdDistinctCountComplianceIdAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_COMPLIANCE_ID_ASC', - CompliancesByUpdatedBlockIdDistinctCountComplianceIdDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_COMPLIANCE_ID_DESC', - CompliancesByUpdatedBlockIdDistinctCountCreatedAtAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - CompliancesByUpdatedBlockIdDistinctCountCreatedAtDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - CompliancesByUpdatedBlockIdDistinctCountCreatedBlockIdAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - CompliancesByUpdatedBlockIdDistinctCountCreatedBlockIdDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - CompliancesByUpdatedBlockIdDistinctCountDataAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_DATA_ASC', - CompliancesByUpdatedBlockIdDistinctCountDataDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_DATA_DESC', - CompliancesByUpdatedBlockIdDistinctCountIdAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - CompliancesByUpdatedBlockIdDistinctCountIdDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - CompliancesByUpdatedBlockIdDistinctCountUpdatedAtAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - CompliancesByUpdatedBlockIdDistinctCountUpdatedAtDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - CompliancesByUpdatedBlockIdDistinctCountUpdatedBlockIdAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - CompliancesByUpdatedBlockIdDistinctCountUpdatedBlockIdDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - CompliancesByUpdatedBlockIdMaxAssetIdAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_MAX_ASSET_ID_ASC', - CompliancesByUpdatedBlockIdMaxAssetIdDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_MAX_ASSET_ID_DESC', - CompliancesByUpdatedBlockIdMaxComplianceIdAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_MAX_COMPLIANCE_ID_ASC', - CompliancesByUpdatedBlockIdMaxComplianceIdDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_MAX_COMPLIANCE_ID_DESC', - CompliancesByUpdatedBlockIdMaxCreatedAtAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_ASC', - CompliancesByUpdatedBlockIdMaxCreatedAtDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_DESC', - CompliancesByUpdatedBlockIdMaxCreatedBlockIdAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - CompliancesByUpdatedBlockIdMaxCreatedBlockIdDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - CompliancesByUpdatedBlockIdMaxDataAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_MAX_DATA_ASC', - CompliancesByUpdatedBlockIdMaxDataDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_MAX_DATA_DESC', - CompliancesByUpdatedBlockIdMaxIdAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_MAX_ID_ASC', - CompliancesByUpdatedBlockIdMaxIdDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_MAX_ID_DESC', - CompliancesByUpdatedBlockIdMaxUpdatedAtAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - CompliancesByUpdatedBlockIdMaxUpdatedAtDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - CompliancesByUpdatedBlockIdMaxUpdatedBlockIdAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - CompliancesByUpdatedBlockIdMaxUpdatedBlockIdDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - CompliancesByUpdatedBlockIdMinAssetIdAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_MIN_ASSET_ID_ASC', - CompliancesByUpdatedBlockIdMinAssetIdDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_MIN_ASSET_ID_DESC', - CompliancesByUpdatedBlockIdMinComplianceIdAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_MIN_COMPLIANCE_ID_ASC', - CompliancesByUpdatedBlockIdMinComplianceIdDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_MIN_COMPLIANCE_ID_DESC', - CompliancesByUpdatedBlockIdMinCreatedAtAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_ASC', - CompliancesByUpdatedBlockIdMinCreatedAtDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_DESC', - CompliancesByUpdatedBlockIdMinCreatedBlockIdAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - CompliancesByUpdatedBlockIdMinCreatedBlockIdDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - CompliancesByUpdatedBlockIdMinDataAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_MIN_DATA_ASC', - CompliancesByUpdatedBlockIdMinDataDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_MIN_DATA_DESC', - CompliancesByUpdatedBlockIdMinIdAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_MIN_ID_ASC', - CompliancesByUpdatedBlockIdMinIdDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_MIN_ID_DESC', - CompliancesByUpdatedBlockIdMinUpdatedAtAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - CompliancesByUpdatedBlockIdMinUpdatedAtDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - CompliancesByUpdatedBlockIdMinUpdatedBlockIdAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - CompliancesByUpdatedBlockIdMinUpdatedBlockIdDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - CompliancesByUpdatedBlockIdStddevPopulationAssetIdAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_ASC', - CompliancesByUpdatedBlockIdStddevPopulationAssetIdDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_DESC', - CompliancesByUpdatedBlockIdStddevPopulationComplianceIdAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_COMPLIANCE_ID_ASC', - CompliancesByUpdatedBlockIdStddevPopulationComplianceIdDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_COMPLIANCE_ID_DESC', - CompliancesByUpdatedBlockIdStddevPopulationCreatedAtAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - CompliancesByUpdatedBlockIdStddevPopulationCreatedAtDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - CompliancesByUpdatedBlockIdStddevPopulationCreatedBlockIdAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - CompliancesByUpdatedBlockIdStddevPopulationCreatedBlockIdDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - CompliancesByUpdatedBlockIdStddevPopulationDataAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_DATA_ASC', - CompliancesByUpdatedBlockIdStddevPopulationDataDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_DATA_DESC', - CompliancesByUpdatedBlockIdStddevPopulationIdAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - CompliancesByUpdatedBlockIdStddevPopulationIdDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - CompliancesByUpdatedBlockIdStddevPopulationUpdatedAtAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - CompliancesByUpdatedBlockIdStddevPopulationUpdatedAtDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - CompliancesByUpdatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - CompliancesByUpdatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - CompliancesByUpdatedBlockIdStddevSampleAssetIdAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_ASC', - CompliancesByUpdatedBlockIdStddevSampleAssetIdDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_DESC', - CompliancesByUpdatedBlockIdStddevSampleComplianceIdAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_COMPLIANCE_ID_ASC', - CompliancesByUpdatedBlockIdStddevSampleComplianceIdDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_COMPLIANCE_ID_DESC', - CompliancesByUpdatedBlockIdStddevSampleCreatedAtAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - CompliancesByUpdatedBlockIdStddevSampleCreatedAtDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - CompliancesByUpdatedBlockIdStddevSampleCreatedBlockIdAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - CompliancesByUpdatedBlockIdStddevSampleCreatedBlockIdDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - CompliancesByUpdatedBlockIdStddevSampleDataAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_DATA_ASC', - CompliancesByUpdatedBlockIdStddevSampleDataDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_DATA_DESC', - CompliancesByUpdatedBlockIdStddevSampleIdAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - CompliancesByUpdatedBlockIdStddevSampleIdDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - CompliancesByUpdatedBlockIdStddevSampleUpdatedAtAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - CompliancesByUpdatedBlockIdStddevSampleUpdatedAtDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - CompliancesByUpdatedBlockIdStddevSampleUpdatedBlockIdAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - CompliancesByUpdatedBlockIdStddevSampleUpdatedBlockIdDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - CompliancesByUpdatedBlockIdSumAssetIdAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_SUM_ASSET_ID_ASC', - CompliancesByUpdatedBlockIdSumAssetIdDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_SUM_ASSET_ID_DESC', - CompliancesByUpdatedBlockIdSumComplianceIdAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_SUM_COMPLIANCE_ID_ASC', - CompliancesByUpdatedBlockIdSumComplianceIdDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_SUM_COMPLIANCE_ID_DESC', - CompliancesByUpdatedBlockIdSumCreatedAtAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_ASC', - CompliancesByUpdatedBlockIdSumCreatedAtDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_DESC', - CompliancesByUpdatedBlockIdSumCreatedBlockIdAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - CompliancesByUpdatedBlockIdSumCreatedBlockIdDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - CompliancesByUpdatedBlockIdSumDataAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_SUM_DATA_ASC', - CompliancesByUpdatedBlockIdSumDataDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_SUM_DATA_DESC', - CompliancesByUpdatedBlockIdSumIdAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_SUM_ID_ASC', - CompliancesByUpdatedBlockIdSumIdDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_SUM_ID_DESC', - CompliancesByUpdatedBlockIdSumUpdatedAtAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - CompliancesByUpdatedBlockIdSumUpdatedAtDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - CompliancesByUpdatedBlockIdSumUpdatedBlockIdAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - CompliancesByUpdatedBlockIdSumUpdatedBlockIdDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - CompliancesByUpdatedBlockIdVariancePopulationAssetIdAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_ASC', - CompliancesByUpdatedBlockIdVariancePopulationAssetIdDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_DESC', - CompliancesByUpdatedBlockIdVariancePopulationComplianceIdAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_COMPLIANCE_ID_ASC', - CompliancesByUpdatedBlockIdVariancePopulationComplianceIdDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_COMPLIANCE_ID_DESC', - CompliancesByUpdatedBlockIdVariancePopulationCreatedAtAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - CompliancesByUpdatedBlockIdVariancePopulationCreatedAtDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - CompliancesByUpdatedBlockIdVariancePopulationCreatedBlockIdAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - CompliancesByUpdatedBlockIdVariancePopulationCreatedBlockIdDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - CompliancesByUpdatedBlockIdVariancePopulationDataAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_DATA_ASC', - CompliancesByUpdatedBlockIdVariancePopulationDataDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_DATA_DESC', - CompliancesByUpdatedBlockIdVariancePopulationIdAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - CompliancesByUpdatedBlockIdVariancePopulationIdDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - CompliancesByUpdatedBlockIdVariancePopulationUpdatedAtAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - CompliancesByUpdatedBlockIdVariancePopulationUpdatedAtDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - CompliancesByUpdatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - CompliancesByUpdatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - CompliancesByUpdatedBlockIdVarianceSampleAssetIdAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_ASC', - CompliancesByUpdatedBlockIdVarianceSampleAssetIdDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_DESC', - CompliancesByUpdatedBlockIdVarianceSampleComplianceIdAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_COMPLIANCE_ID_ASC', - CompliancesByUpdatedBlockIdVarianceSampleComplianceIdDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_COMPLIANCE_ID_DESC', - CompliancesByUpdatedBlockIdVarianceSampleCreatedAtAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - CompliancesByUpdatedBlockIdVarianceSampleCreatedAtDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - CompliancesByUpdatedBlockIdVarianceSampleCreatedBlockIdAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - CompliancesByUpdatedBlockIdVarianceSampleCreatedBlockIdDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - CompliancesByUpdatedBlockIdVarianceSampleDataAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_DATA_ASC', - CompliancesByUpdatedBlockIdVarianceSampleDataDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_DATA_DESC', - CompliancesByUpdatedBlockIdVarianceSampleIdAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - CompliancesByUpdatedBlockIdVarianceSampleIdDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - CompliancesByUpdatedBlockIdVarianceSampleUpdatedAtAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - CompliancesByUpdatedBlockIdVarianceSampleUpdatedAtDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - CompliancesByUpdatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - CompliancesByUpdatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - ConfidentialAccountsByCreatedBlockIdAverageAccountAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_ACCOUNT_ASC', - ConfidentialAccountsByCreatedBlockIdAverageAccountDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_ACCOUNT_DESC', - ConfidentialAccountsByCreatedBlockIdAverageCreatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - ConfidentialAccountsByCreatedBlockIdAverageCreatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - ConfidentialAccountsByCreatedBlockIdAverageCreatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - ConfidentialAccountsByCreatedBlockIdAverageCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - ConfidentialAccountsByCreatedBlockIdAverageCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_CREATOR_ID_ASC', - ConfidentialAccountsByCreatedBlockIdAverageCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_CREATOR_ID_DESC', - ConfidentialAccountsByCreatedBlockIdAverageEventIdxAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_IDX_ASC', - ConfidentialAccountsByCreatedBlockIdAverageEventIdxDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_IDX_DESC', - ConfidentialAccountsByCreatedBlockIdAverageIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_ID_ASC', - ConfidentialAccountsByCreatedBlockIdAverageIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_ID_DESC', - ConfidentialAccountsByCreatedBlockIdAverageUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - ConfidentialAccountsByCreatedBlockIdAverageUpdatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - ConfidentialAccountsByCreatedBlockIdAverageUpdatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - ConfidentialAccountsByCreatedBlockIdAverageUpdatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - ConfidentialAccountsByCreatedBlockIdCountAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_COUNT_ASC', - ConfidentialAccountsByCreatedBlockIdCountDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_COUNT_DESC', - ConfidentialAccountsByCreatedBlockIdDistinctCountAccountAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ACCOUNT_ASC', - ConfidentialAccountsByCreatedBlockIdDistinctCountAccountDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ACCOUNT_DESC', - ConfidentialAccountsByCreatedBlockIdDistinctCountCreatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - ConfidentialAccountsByCreatedBlockIdDistinctCountCreatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - ConfidentialAccountsByCreatedBlockIdDistinctCountCreatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - ConfidentialAccountsByCreatedBlockIdDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - ConfidentialAccountsByCreatedBlockIdDistinctCountCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATOR_ID_ASC', - ConfidentialAccountsByCreatedBlockIdDistinctCountCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATOR_ID_DESC', - ConfidentialAccountsByCreatedBlockIdDistinctCountEventIdxAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_ASC', - ConfidentialAccountsByCreatedBlockIdDistinctCountEventIdxDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_DESC', - ConfidentialAccountsByCreatedBlockIdDistinctCountIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - ConfidentialAccountsByCreatedBlockIdDistinctCountIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - ConfidentialAccountsByCreatedBlockIdDistinctCountUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - ConfidentialAccountsByCreatedBlockIdDistinctCountUpdatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - ConfidentialAccountsByCreatedBlockIdDistinctCountUpdatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - ConfidentialAccountsByCreatedBlockIdDistinctCountUpdatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - ConfidentialAccountsByCreatedBlockIdMaxAccountAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_ACCOUNT_ASC', - ConfidentialAccountsByCreatedBlockIdMaxAccountDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_ACCOUNT_DESC', - ConfidentialAccountsByCreatedBlockIdMaxCreatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_ASC', - ConfidentialAccountsByCreatedBlockIdMaxCreatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_DESC', - ConfidentialAccountsByCreatedBlockIdMaxCreatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - ConfidentialAccountsByCreatedBlockIdMaxCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - ConfidentialAccountsByCreatedBlockIdMaxCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_CREATOR_ID_ASC', - ConfidentialAccountsByCreatedBlockIdMaxCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_CREATOR_ID_DESC', - ConfidentialAccountsByCreatedBlockIdMaxEventIdxAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_EVENT_IDX_ASC', - ConfidentialAccountsByCreatedBlockIdMaxEventIdxDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_EVENT_IDX_DESC', - ConfidentialAccountsByCreatedBlockIdMaxIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_ID_ASC', - ConfidentialAccountsByCreatedBlockIdMaxIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_ID_DESC', - ConfidentialAccountsByCreatedBlockIdMaxUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - ConfidentialAccountsByCreatedBlockIdMaxUpdatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - ConfidentialAccountsByCreatedBlockIdMaxUpdatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - ConfidentialAccountsByCreatedBlockIdMaxUpdatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - ConfidentialAccountsByCreatedBlockIdMinAccountAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_ACCOUNT_ASC', - ConfidentialAccountsByCreatedBlockIdMinAccountDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_ACCOUNT_DESC', - ConfidentialAccountsByCreatedBlockIdMinCreatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_ASC', - ConfidentialAccountsByCreatedBlockIdMinCreatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_DESC', - ConfidentialAccountsByCreatedBlockIdMinCreatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - ConfidentialAccountsByCreatedBlockIdMinCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - ConfidentialAccountsByCreatedBlockIdMinCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_CREATOR_ID_ASC', - ConfidentialAccountsByCreatedBlockIdMinCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_CREATOR_ID_DESC', - ConfidentialAccountsByCreatedBlockIdMinEventIdxAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_EVENT_IDX_ASC', - ConfidentialAccountsByCreatedBlockIdMinEventIdxDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_EVENT_IDX_DESC', - ConfidentialAccountsByCreatedBlockIdMinIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_ID_ASC', - ConfidentialAccountsByCreatedBlockIdMinIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_ID_DESC', - ConfidentialAccountsByCreatedBlockIdMinUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - ConfidentialAccountsByCreatedBlockIdMinUpdatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - ConfidentialAccountsByCreatedBlockIdMinUpdatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - ConfidentialAccountsByCreatedBlockIdMinUpdatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - ConfidentialAccountsByCreatedBlockIdStddevPopulationAccountAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ACCOUNT_ASC', - ConfidentialAccountsByCreatedBlockIdStddevPopulationAccountDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ACCOUNT_DESC', - ConfidentialAccountsByCreatedBlockIdStddevPopulationCreatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - ConfidentialAccountsByCreatedBlockIdStddevPopulationCreatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - ConfidentialAccountsByCreatedBlockIdStddevPopulationCreatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - ConfidentialAccountsByCreatedBlockIdStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - ConfidentialAccountsByCreatedBlockIdStddevPopulationCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATOR_ID_ASC', - ConfidentialAccountsByCreatedBlockIdStddevPopulationCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATOR_ID_DESC', - ConfidentialAccountsByCreatedBlockIdStddevPopulationEventIdxAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_ASC', - ConfidentialAccountsByCreatedBlockIdStddevPopulationEventIdxDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_DESC', - ConfidentialAccountsByCreatedBlockIdStddevPopulationIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - ConfidentialAccountsByCreatedBlockIdStddevPopulationIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - ConfidentialAccountsByCreatedBlockIdStddevPopulationUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - ConfidentialAccountsByCreatedBlockIdStddevPopulationUpdatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - ConfidentialAccountsByCreatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - ConfidentialAccountsByCreatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - ConfidentialAccountsByCreatedBlockIdStddevSampleAccountAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ACCOUNT_ASC', - ConfidentialAccountsByCreatedBlockIdStddevSampleAccountDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ACCOUNT_DESC', - ConfidentialAccountsByCreatedBlockIdStddevSampleCreatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - ConfidentialAccountsByCreatedBlockIdStddevSampleCreatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - ConfidentialAccountsByCreatedBlockIdStddevSampleCreatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - ConfidentialAccountsByCreatedBlockIdStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - ConfidentialAccountsByCreatedBlockIdStddevSampleCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATOR_ID_ASC', - ConfidentialAccountsByCreatedBlockIdStddevSampleCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATOR_ID_DESC', - ConfidentialAccountsByCreatedBlockIdStddevSampleEventIdxAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', - ConfidentialAccountsByCreatedBlockIdStddevSampleEventIdxDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', - ConfidentialAccountsByCreatedBlockIdStddevSampleIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - ConfidentialAccountsByCreatedBlockIdStddevSampleIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - ConfidentialAccountsByCreatedBlockIdStddevSampleUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - ConfidentialAccountsByCreatedBlockIdStddevSampleUpdatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - ConfidentialAccountsByCreatedBlockIdStddevSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - ConfidentialAccountsByCreatedBlockIdStddevSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - ConfidentialAccountsByCreatedBlockIdSumAccountAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_ACCOUNT_ASC', - ConfidentialAccountsByCreatedBlockIdSumAccountDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_ACCOUNT_DESC', - ConfidentialAccountsByCreatedBlockIdSumCreatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_ASC', - ConfidentialAccountsByCreatedBlockIdSumCreatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_DESC', - ConfidentialAccountsByCreatedBlockIdSumCreatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - ConfidentialAccountsByCreatedBlockIdSumCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - ConfidentialAccountsByCreatedBlockIdSumCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_CREATOR_ID_ASC', - ConfidentialAccountsByCreatedBlockIdSumCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_CREATOR_ID_DESC', - ConfidentialAccountsByCreatedBlockIdSumEventIdxAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_EVENT_IDX_ASC', - ConfidentialAccountsByCreatedBlockIdSumEventIdxDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_EVENT_IDX_DESC', - ConfidentialAccountsByCreatedBlockIdSumIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_ID_ASC', - ConfidentialAccountsByCreatedBlockIdSumIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_ID_DESC', - ConfidentialAccountsByCreatedBlockIdSumUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - ConfidentialAccountsByCreatedBlockIdSumUpdatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - ConfidentialAccountsByCreatedBlockIdSumUpdatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - ConfidentialAccountsByCreatedBlockIdSumUpdatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - ConfidentialAccountsByCreatedBlockIdVariancePopulationAccountAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ACCOUNT_ASC', - ConfidentialAccountsByCreatedBlockIdVariancePopulationAccountDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ACCOUNT_DESC', - ConfidentialAccountsByCreatedBlockIdVariancePopulationCreatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - ConfidentialAccountsByCreatedBlockIdVariancePopulationCreatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - ConfidentialAccountsByCreatedBlockIdVariancePopulationCreatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - ConfidentialAccountsByCreatedBlockIdVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - ConfidentialAccountsByCreatedBlockIdVariancePopulationCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATOR_ID_ASC', - ConfidentialAccountsByCreatedBlockIdVariancePopulationCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATOR_ID_DESC', - ConfidentialAccountsByCreatedBlockIdVariancePopulationEventIdxAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', - ConfidentialAccountsByCreatedBlockIdVariancePopulationEventIdxDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', - ConfidentialAccountsByCreatedBlockIdVariancePopulationIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - ConfidentialAccountsByCreatedBlockIdVariancePopulationIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - ConfidentialAccountsByCreatedBlockIdVariancePopulationUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - ConfidentialAccountsByCreatedBlockIdVariancePopulationUpdatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - ConfidentialAccountsByCreatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - ConfidentialAccountsByCreatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - ConfidentialAccountsByCreatedBlockIdVarianceSampleAccountAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ACCOUNT_ASC', - ConfidentialAccountsByCreatedBlockIdVarianceSampleAccountDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ACCOUNT_DESC', - ConfidentialAccountsByCreatedBlockIdVarianceSampleCreatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - ConfidentialAccountsByCreatedBlockIdVarianceSampleCreatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - ConfidentialAccountsByCreatedBlockIdVarianceSampleCreatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - ConfidentialAccountsByCreatedBlockIdVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - ConfidentialAccountsByCreatedBlockIdVarianceSampleCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATOR_ID_ASC', - ConfidentialAccountsByCreatedBlockIdVarianceSampleCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATOR_ID_DESC', - ConfidentialAccountsByCreatedBlockIdVarianceSampleEventIdxAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', - ConfidentialAccountsByCreatedBlockIdVarianceSampleEventIdxDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', - ConfidentialAccountsByCreatedBlockIdVarianceSampleIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - ConfidentialAccountsByCreatedBlockIdVarianceSampleIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - ConfidentialAccountsByCreatedBlockIdVarianceSampleUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - ConfidentialAccountsByCreatedBlockIdVarianceSampleUpdatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - ConfidentialAccountsByCreatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - ConfidentialAccountsByCreatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - ConfidentialAccountsByUpdatedBlockIdAverageAccountAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_ACCOUNT_ASC', - ConfidentialAccountsByUpdatedBlockIdAverageAccountDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_ACCOUNT_DESC', - ConfidentialAccountsByUpdatedBlockIdAverageCreatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - ConfidentialAccountsByUpdatedBlockIdAverageCreatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - ConfidentialAccountsByUpdatedBlockIdAverageCreatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - ConfidentialAccountsByUpdatedBlockIdAverageCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - ConfidentialAccountsByUpdatedBlockIdAverageCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATOR_ID_ASC', - ConfidentialAccountsByUpdatedBlockIdAverageCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATOR_ID_DESC', - ConfidentialAccountsByUpdatedBlockIdAverageEventIdxAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_IDX_ASC', - ConfidentialAccountsByUpdatedBlockIdAverageEventIdxDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_IDX_DESC', - ConfidentialAccountsByUpdatedBlockIdAverageIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_ASC', - ConfidentialAccountsByUpdatedBlockIdAverageIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_DESC', - ConfidentialAccountsByUpdatedBlockIdAverageUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - ConfidentialAccountsByUpdatedBlockIdAverageUpdatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - ConfidentialAccountsByUpdatedBlockIdAverageUpdatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - ConfidentialAccountsByUpdatedBlockIdAverageUpdatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - ConfidentialAccountsByUpdatedBlockIdCountAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_COUNT_ASC', - ConfidentialAccountsByUpdatedBlockIdCountDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_COUNT_DESC', - ConfidentialAccountsByUpdatedBlockIdDistinctCountAccountAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ACCOUNT_ASC', - ConfidentialAccountsByUpdatedBlockIdDistinctCountAccountDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ACCOUNT_DESC', - ConfidentialAccountsByUpdatedBlockIdDistinctCountCreatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - ConfidentialAccountsByUpdatedBlockIdDistinctCountCreatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - ConfidentialAccountsByUpdatedBlockIdDistinctCountCreatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - ConfidentialAccountsByUpdatedBlockIdDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - ConfidentialAccountsByUpdatedBlockIdDistinctCountCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATOR_ID_ASC', - ConfidentialAccountsByUpdatedBlockIdDistinctCountCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATOR_ID_DESC', - ConfidentialAccountsByUpdatedBlockIdDistinctCountEventIdxAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_ASC', - ConfidentialAccountsByUpdatedBlockIdDistinctCountEventIdxDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_DESC', - ConfidentialAccountsByUpdatedBlockIdDistinctCountIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - ConfidentialAccountsByUpdatedBlockIdDistinctCountIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - ConfidentialAccountsByUpdatedBlockIdDistinctCountUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - ConfidentialAccountsByUpdatedBlockIdDistinctCountUpdatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - ConfidentialAccountsByUpdatedBlockIdDistinctCountUpdatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - ConfidentialAccountsByUpdatedBlockIdDistinctCountUpdatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - ConfidentialAccountsByUpdatedBlockIdMaxAccountAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_ACCOUNT_ASC', - ConfidentialAccountsByUpdatedBlockIdMaxAccountDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_ACCOUNT_DESC', - ConfidentialAccountsByUpdatedBlockIdMaxCreatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_ASC', - ConfidentialAccountsByUpdatedBlockIdMaxCreatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_DESC', - ConfidentialAccountsByUpdatedBlockIdMaxCreatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - ConfidentialAccountsByUpdatedBlockIdMaxCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - ConfidentialAccountsByUpdatedBlockIdMaxCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_CREATOR_ID_ASC', - ConfidentialAccountsByUpdatedBlockIdMaxCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_CREATOR_ID_DESC', - ConfidentialAccountsByUpdatedBlockIdMaxEventIdxAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_EVENT_IDX_ASC', - ConfidentialAccountsByUpdatedBlockIdMaxEventIdxDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_EVENT_IDX_DESC', - ConfidentialAccountsByUpdatedBlockIdMaxIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_ID_ASC', - ConfidentialAccountsByUpdatedBlockIdMaxIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_ID_DESC', - ConfidentialAccountsByUpdatedBlockIdMaxUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - ConfidentialAccountsByUpdatedBlockIdMaxUpdatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - ConfidentialAccountsByUpdatedBlockIdMaxUpdatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - ConfidentialAccountsByUpdatedBlockIdMaxUpdatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - ConfidentialAccountsByUpdatedBlockIdMinAccountAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MIN_ACCOUNT_ASC', - ConfidentialAccountsByUpdatedBlockIdMinAccountDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MIN_ACCOUNT_DESC', - ConfidentialAccountsByUpdatedBlockIdMinCreatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_ASC', - ConfidentialAccountsByUpdatedBlockIdMinCreatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_DESC', - ConfidentialAccountsByUpdatedBlockIdMinCreatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - ConfidentialAccountsByUpdatedBlockIdMinCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - ConfidentialAccountsByUpdatedBlockIdMinCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MIN_CREATOR_ID_ASC', - ConfidentialAccountsByUpdatedBlockIdMinCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MIN_CREATOR_ID_DESC', - ConfidentialAccountsByUpdatedBlockIdMinEventIdxAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MIN_EVENT_IDX_ASC', - ConfidentialAccountsByUpdatedBlockIdMinEventIdxDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MIN_EVENT_IDX_DESC', - ConfidentialAccountsByUpdatedBlockIdMinIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MIN_ID_ASC', - ConfidentialAccountsByUpdatedBlockIdMinIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MIN_ID_DESC', - ConfidentialAccountsByUpdatedBlockIdMinUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - ConfidentialAccountsByUpdatedBlockIdMinUpdatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - ConfidentialAccountsByUpdatedBlockIdMinUpdatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - ConfidentialAccountsByUpdatedBlockIdMinUpdatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - ConfidentialAccountsByUpdatedBlockIdStddevPopulationAccountAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ACCOUNT_ASC', - ConfidentialAccountsByUpdatedBlockIdStddevPopulationAccountDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ACCOUNT_DESC', - ConfidentialAccountsByUpdatedBlockIdStddevPopulationCreatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - ConfidentialAccountsByUpdatedBlockIdStddevPopulationCreatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - ConfidentialAccountsByUpdatedBlockIdStddevPopulationCreatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - ConfidentialAccountsByUpdatedBlockIdStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - ConfidentialAccountsByUpdatedBlockIdStddevPopulationCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATOR_ID_ASC', - ConfidentialAccountsByUpdatedBlockIdStddevPopulationCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATOR_ID_DESC', - ConfidentialAccountsByUpdatedBlockIdStddevPopulationEventIdxAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_ASC', - ConfidentialAccountsByUpdatedBlockIdStddevPopulationEventIdxDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_DESC', - ConfidentialAccountsByUpdatedBlockIdStddevPopulationIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - ConfidentialAccountsByUpdatedBlockIdStddevPopulationIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - ConfidentialAccountsByUpdatedBlockIdStddevPopulationUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - ConfidentialAccountsByUpdatedBlockIdStddevPopulationUpdatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - ConfidentialAccountsByUpdatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - ConfidentialAccountsByUpdatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - ConfidentialAccountsByUpdatedBlockIdStddevSampleAccountAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ACCOUNT_ASC', - ConfidentialAccountsByUpdatedBlockIdStddevSampleAccountDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ACCOUNT_DESC', - ConfidentialAccountsByUpdatedBlockIdStddevSampleCreatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - ConfidentialAccountsByUpdatedBlockIdStddevSampleCreatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - ConfidentialAccountsByUpdatedBlockIdStddevSampleCreatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - ConfidentialAccountsByUpdatedBlockIdStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - ConfidentialAccountsByUpdatedBlockIdStddevSampleCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATOR_ID_ASC', - ConfidentialAccountsByUpdatedBlockIdStddevSampleCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATOR_ID_DESC', - ConfidentialAccountsByUpdatedBlockIdStddevSampleEventIdxAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', - ConfidentialAccountsByUpdatedBlockIdStddevSampleEventIdxDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', - ConfidentialAccountsByUpdatedBlockIdStddevSampleIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - ConfidentialAccountsByUpdatedBlockIdStddevSampleIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - ConfidentialAccountsByUpdatedBlockIdStddevSampleUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - ConfidentialAccountsByUpdatedBlockIdStddevSampleUpdatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - ConfidentialAccountsByUpdatedBlockIdStddevSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - ConfidentialAccountsByUpdatedBlockIdStddevSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - ConfidentialAccountsByUpdatedBlockIdSumAccountAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_SUM_ACCOUNT_ASC', - ConfidentialAccountsByUpdatedBlockIdSumAccountDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_SUM_ACCOUNT_DESC', - ConfidentialAccountsByUpdatedBlockIdSumCreatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_ASC', - ConfidentialAccountsByUpdatedBlockIdSumCreatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_DESC', - ConfidentialAccountsByUpdatedBlockIdSumCreatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - ConfidentialAccountsByUpdatedBlockIdSumCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - ConfidentialAccountsByUpdatedBlockIdSumCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_SUM_CREATOR_ID_ASC', - ConfidentialAccountsByUpdatedBlockIdSumCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_SUM_CREATOR_ID_DESC', - ConfidentialAccountsByUpdatedBlockIdSumEventIdxAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_SUM_EVENT_IDX_ASC', - ConfidentialAccountsByUpdatedBlockIdSumEventIdxDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_SUM_EVENT_IDX_DESC', - ConfidentialAccountsByUpdatedBlockIdSumIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_SUM_ID_ASC', - ConfidentialAccountsByUpdatedBlockIdSumIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_SUM_ID_DESC', - ConfidentialAccountsByUpdatedBlockIdSumUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - ConfidentialAccountsByUpdatedBlockIdSumUpdatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - ConfidentialAccountsByUpdatedBlockIdSumUpdatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - ConfidentialAccountsByUpdatedBlockIdSumUpdatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - ConfidentialAccountsByUpdatedBlockIdVariancePopulationAccountAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ACCOUNT_ASC', - ConfidentialAccountsByUpdatedBlockIdVariancePopulationAccountDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ACCOUNT_DESC', - ConfidentialAccountsByUpdatedBlockIdVariancePopulationCreatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - ConfidentialAccountsByUpdatedBlockIdVariancePopulationCreatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - ConfidentialAccountsByUpdatedBlockIdVariancePopulationCreatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - ConfidentialAccountsByUpdatedBlockIdVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - ConfidentialAccountsByUpdatedBlockIdVariancePopulationCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATOR_ID_ASC', - ConfidentialAccountsByUpdatedBlockIdVariancePopulationCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATOR_ID_DESC', - ConfidentialAccountsByUpdatedBlockIdVariancePopulationEventIdxAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', - ConfidentialAccountsByUpdatedBlockIdVariancePopulationEventIdxDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', - ConfidentialAccountsByUpdatedBlockIdVariancePopulationIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - ConfidentialAccountsByUpdatedBlockIdVariancePopulationIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - ConfidentialAccountsByUpdatedBlockIdVariancePopulationUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - ConfidentialAccountsByUpdatedBlockIdVariancePopulationUpdatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - ConfidentialAccountsByUpdatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - ConfidentialAccountsByUpdatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - ConfidentialAccountsByUpdatedBlockIdVarianceSampleAccountAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ACCOUNT_ASC', - ConfidentialAccountsByUpdatedBlockIdVarianceSampleAccountDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ACCOUNT_DESC', - ConfidentialAccountsByUpdatedBlockIdVarianceSampleCreatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - ConfidentialAccountsByUpdatedBlockIdVarianceSampleCreatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - ConfidentialAccountsByUpdatedBlockIdVarianceSampleCreatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - ConfidentialAccountsByUpdatedBlockIdVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - ConfidentialAccountsByUpdatedBlockIdVarianceSampleCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATOR_ID_ASC', - ConfidentialAccountsByUpdatedBlockIdVarianceSampleCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATOR_ID_DESC', - ConfidentialAccountsByUpdatedBlockIdVarianceSampleEventIdxAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', - ConfidentialAccountsByUpdatedBlockIdVarianceSampleEventIdxDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', - ConfidentialAccountsByUpdatedBlockIdVarianceSampleIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - ConfidentialAccountsByUpdatedBlockIdVarianceSampleIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - ConfidentialAccountsByUpdatedBlockIdVarianceSampleUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - ConfidentialAccountsByUpdatedBlockIdVarianceSampleUpdatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - ConfidentialAccountsByUpdatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - ConfidentialAccountsByUpdatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetsByCreatedBlockIdAverageAllowedVenuesAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_ALLOWED_VENUES_ASC', - ConfidentialAssetsByCreatedBlockIdAverageAllowedVenuesDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_ALLOWED_VENUES_DESC', - ConfidentialAssetsByCreatedBlockIdAverageAssetIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_ASSET_ID_ASC', - ConfidentialAssetsByCreatedBlockIdAverageAssetIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_ASSET_ID_DESC', - ConfidentialAssetsByCreatedBlockIdAverageAuditorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_AUDITORS_ASC', - ConfidentialAssetsByCreatedBlockIdAverageAuditorsDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_AUDITORS_DESC', - ConfidentialAssetsByCreatedBlockIdAverageCreatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - ConfidentialAssetsByCreatedBlockIdAverageCreatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - ConfidentialAssetsByCreatedBlockIdAverageCreatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - ConfidentialAssetsByCreatedBlockIdAverageCreatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - ConfidentialAssetsByCreatedBlockIdAverageCreatorIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_CREATOR_ID_ASC', - ConfidentialAssetsByCreatedBlockIdAverageCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_CREATOR_ID_DESC', - ConfidentialAssetsByCreatedBlockIdAverageDataAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_DATA_ASC', - ConfidentialAssetsByCreatedBlockIdAverageDataDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_DATA_DESC', - ConfidentialAssetsByCreatedBlockIdAverageEventIdxAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_IDX_ASC', - ConfidentialAssetsByCreatedBlockIdAverageEventIdxDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_IDX_DESC', - ConfidentialAssetsByCreatedBlockIdAverageIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_ID_ASC', - ConfidentialAssetsByCreatedBlockIdAverageIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_ID_DESC', - ConfidentialAssetsByCreatedBlockIdAverageMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_MEDIATORS_ASC', - ConfidentialAssetsByCreatedBlockIdAverageMediatorsDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_MEDIATORS_DESC', - ConfidentialAssetsByCreatedBlockIdAverageTickerAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_TICKER_ASC', - ConfidentialAssetsByCreatedBlockIdAverageTickerDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_TICKER_DESC', - ConfidentialAssetsByCreatedBlockIdAverageTotalSupplyAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_TOTAL_SUPPLY_ASC', - ConfidentialAssetsByCreatedBlockIdAverageTotalSupplyDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_TOTAL_SUPPLY_DESC', - ConfidentialAssetsByCreatedBlockIdAverageUpdatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - ConfidentialAssetsByCreatedBlockIdAverageUpdatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - ConfidentialAssetsByCreatedBlockIdAverageUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetsByCreatedBlockIdAverageUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetsByCreatedBlockIdAverageVenueFilteringAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_VENUE_FILTERING_ASC', - ConfidentialAssetsByCreatedBlockIdAverageVenueFilteringDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_AVERAGE_VENUE_FILTERING_DESC', - ConfidentialAssetsByCreatedBlockIdCountAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_COUNT_ASC', - ConfidentialAssetsByCreatedBlockIdCountDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_COUNT_DESC', - ConfidentialAssetsByCreatedBlockIdDistinctCountAllowedVenuesAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ALLOWED_VENUES_ASC', - ConfidentialAssetsByCreatedBlockIdDistinctCountAllowedVenuesDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ALLOWED_VENUES_DESC', - ConfidentialAssetsByCreatedBlockIdDistinctCountAssetIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_ASC', - ConfidentialAssetsByCreatedBlockIdDistinctCountAssetIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_DESC', - ConfidentialAssetsByCreatedBlockIdDistinctCountAuditorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_AUDITORS_ASC', - ConfidentialAssetsByCreatedBlockIdDistinctCountAuditorsDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_AUDITORS_DESC', - ConfidentialAssetsByCreatedBlockIdDistinctCountCreatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - ConfidentialAssetsByCreatedBlockIdDistinctCountCreatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - ConfidentialAssetsByCreatedBlockIdDistinctCountCreatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - ConfidentialAssetsByCreatedBlockIdDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - ConfidentialAssetsByCreatedBlockIdDistinctCountCreatorIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATOR_ID_ASC', - ConfidentialAssetsByCreatedBlockIdDistinctCountCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATOR_ID_DESC', - ConfidentialAssetsByCreatedBlockIdDistinctCountDataAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_DATA_ASC', - ConfidentialAssetsByCreatedBlockIdDistinctCountDataDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_DATA_DESC', - ConfidentialAssetsByCreatedBlockIdDistinctCountEventIdxAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_ASC', - ConfidentialAssetsByCreatedBlockIdDistinctCountEventIdxDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_DESC', - ConfidentialAssetsByCreatedBlockIdDistinctCountIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - ConfidentialAssetsByCreatedBlockIdDistinctCountIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - ConfidentialAssetsByCreatedBlockIdDistinctCountMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_MEDIATORS_ASC', - ConfidentialAssetsByCreatedBlockIdDistinctCountMediatorsDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_MEDIATORS_DESC', - ConfidentialAssetsByCreatedBlockIdDistinctCountTickerAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TICKER_ASC', - ConfidentialAssetsByCreatedBlockIdDistinctCountTickerDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TICKER_DESC', - ConfidentialAssetsByCreatedBlockIdDistinctCountTotalSupplyAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TOTAL_SUPPLY_ASC', - ConfidentialAssetsByCreatedBlockIdDistinctCountTotalSupplyDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TOTAL_SUPPLY_DESC', - ConfidentialAssetsByCreatedBlockIdDistinctCountUpdatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - ConfidentialAssetsByCreatedBlockIdDistinctCountUpdatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - ConfidentialAssetsByCreatedBlockIdDistinctCountUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetsByCreatedBlockIdDistinctCountUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetsByCreatedBlockIdDistinctCountVenueFilteringAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_VENUE_FILTERING_ASC', - ConfidentialAssetsByCreatedBlockIdDistinctCountVenueFilteringDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_VENUE_FILTERING_DESC', - ConfidentialAssetsByCreatedBlockIdMaxAllowedVenuesAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MAX_ALLOWED_VENUES_ASC', - ConfidentialAssetsByCreatedBlockIdMaxAllowedVenuesDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MAX_ALLOWED_VENUES_DESC', - ConfidentialAssetsByCreatedBlockIdMaxAssetIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MAX_ASSET_ID_ASC', - ConfidentialAssetsByCreatedBlockIdMaxAssetIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MAX_ASSET_ID_DESC', - ConfidentialAssetsByCreatedBlockIdMaxAuditorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MAX_AUDITORS_ASC', - ConfidentialAssetsByCreatedBlockIdMaxAuditorsDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MAX_AUDITORS_DESC', - ConfidentialAssetsByCreatedBlockIdMaxCreatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_ASC', - ConfidentialAssetsByCreatedBlockIdMaxCreatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_DESC', - ConfidentialAssetsByCreatedBlockIdMaxCreatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - ConfidentialAssetsByCreatedBlockIdMaxCreatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - ConfidentialAssetsByCreatedBlockIdMaxCreatorIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MAX_CREATOR_ID_ASC', - ConfidentialAssetsByCreatedBlockIdMaxCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MAX_CREATOR_ID_DESC', - ConfidentialAssetsByCreatedBlockIdMaxDataAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MAX_DATA_ASC', - ConfidentialAssetsByCreatedBlockIdMaxDataDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MAX_DATA_DESC', - ConfidentialAssetsByCreatedBlockIdMaxEventIdxAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MAX_EVENT_IDX_ASC', - ConfidentialAssetsByCreatedBlockIdMaxEventIdxDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MAX_EVENT_IDX_DESC', - ConfidentialAssetsByCreatedBlockIdMaxIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MAX_ID_ASC', - ConfidentialAssetsByCreatedBlockIdMaxIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MAX_ID_DESC', - ConfidentialAssetsByCreatedBlockIdMaxMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MAX_MEDIATORS_ASC', - ConfidentialAssetsByCreatedBlockIdMaxMediatorsDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MAX_MEDIATORS_DESC', - ConfidentialAssetsByCreatedBlockIdMaxTickerAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MAX_TICKER_ASC', - ConfidentialAssetsByCreatedBlockIdMaxTickerDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MAX_TICKER_DESC', - ConfidentialAssetsByCreatedBlockIdMaxTotalSupplyAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MAX_TOTAL_SUPPLY_ASC', - ConfidentialAssetsByCreatedBlockIdMaxTotalSupplyDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MAX_TOTAL_SUPPLY_DESC', - ConfidentialAssetsByCreatedBlockIdMaxUpdatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - ConfidentialAssetsByCreatedBlockIdMaxUpdatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - ConfidentialAssetsByCreatedBlockIdMaxUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetsByCreatedBlockIdMaxUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetsByCreatedBlockIdMaxVenueFilteringAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MAX_VENUE_FILTERING_ASC', - ConfidentialAssetsByCreatedBlockIdMaxVenueFilteringDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MAX_VENUE_FILTERING_DESC', - ConfidentialAssetsByCreatedBlockIdMinAllowedVenuesAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MIN_ALLOWED_VENUES_ASC', - ConfidentialAssetsByCreatedBlockIdMinAllowedVenuesDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MIN_ALLOWED_VENUES_DESC', - ConfidentialAssetsByCreatedBlockIdMinAssetIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MIN_ASSET_ID_ASC', - ConfidentialAssetsByCreatedBlockIdMinAssetIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MIN_ASSET_ID_DESC', - ConfidentialAssetsByCreatedBlockIdMinAuditorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MIN_AUDITORS_ASC', - ConfidentialAssetsByCreatedBlockIdMinAuditorsDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MIN_AUDITORS_DESC', - ConfidentialAssetsByCreatedBlockIdMinCreatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_ASC', - ConfidentialAssetsByCreatedBlockIdMinCreatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_DESC', - ConfidentialAssetsByCreatedBlockIdMinCreatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - ConfidentialAssetsByCreatedBlockIdMinCreatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - ConfidentialAssetsByCreatedBlockIdMinCreatorIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MIN_CREATOR_ID_ASC', - ConfidentialAssetsByCreatedBlockIdMinCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MIN_CREATOR_ID_DESC', - ConfidentialAssetsByCreatedBlockIdMinDataAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MIN_DATA_ASC', - ConfidentialAssetsByCreatedBlockIdMinDataDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MIN_DATA_DESC', - ConfidentialAssetsByCreatedBlockIdMinEventIdxAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MIN_EVENT_IDX_ASC', - ConfidentialAssetsByCreatedBlockIdMinEventIdxDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MIN_EVENT_IDX_DESC', - ConfidentialAssetsByCreatedBlockIdMinIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MIN_ID_ASC', - ConfidentialAssetsByCreatedBlockIdMinIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MIN_ID_DESC', - ConfidentialAssetsByCreatedBlockIdMinMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MIN_MEDIATORS_ASC', - ConfidentialAssetsByCreatedBlockIdMinMediatorsDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MIN_MEDIATORS_DESC', - ConfidentialAssetsByCreatedBlockIdMinTickerAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MIN_TICKER_ASC', - ConfidentialAssetsByCreatedBlockIdMinTickerDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MIN_TICKER_DESC', - ConfidentialAssetsByCreatedBlockIdMinTotalSupplyAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MIN_TOTAL_SUPPLY_ASC', - ConfidentialAssetsByCreatedBlockIdMinTotalSupplyDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MIN_TOTAL_SUPPLY_DESC', - ConfidentialAssetsByCreatedBlockIdMinUpdatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - ConfidentialAssetsByCreatedBlockIdMinUpdatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - ConfidentialAssetsByCreatedBlockIdMinUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetsByCreatedBlockIdMinUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetsByCreatedBlockIdMinVenueFilteringAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MIN_VENUE_FILTERING_ASC', - ConfidentialAssetsByCreatedBlockIdMinVenueFilteringDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_MIN_VENUE_FILTERING_DESC', - ConfidentialAssetsByCreatedBlockIdStddevPopulationAllowedVenuesAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ALLOWED_VENUES_ASC', - ConfidentialAssetsByCreatedBlockIdStddevPopulationAllowedVenuesDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ALLOWED_VENUES_DESC', - ConfidentialAssetsByCreatedBlockIdStddevPopulationAssetIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_ASC', - ConfidentialAssetsByCreatedBlockIdStddevPopulationAssetIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_DESC', - ConfidentialAssetsByCreatedBlockIdStddevPopulationAuditorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_AUDITORS_ASC', - ConfidentialAssetsByCreatedBlockIdStddevPopulationAuditorsDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_AUDITORS_DESC', - ConfidentialAssetsByCreatedBlockIdStddevPopulationCreatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - ConfidentialAssetsByCreatedBlockIdStddevPopulationCreatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - ConfidentialAssetsByCreatedBlockIdStddevPopulationCreatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - ConfidentialAssetsByCreatedBlockIdStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - ConfidentialAssetsByCreatedBlockIdStddevPopulationCreatorIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATOR_ID_ASC', - ConfidentialAssetsByCreatedBlockIdStddevPopulationCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATOR_ID_DESC', - ConfidentialAssetsByCreatedBlockIdStddevPopulationDataAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_DATA_ASC', - ConfidentialAssetsByCreatedBlockIdStddevPopulationDataDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_DATA_DESC', - ConfidentialAssetsByCreatedBlockIdStddevPopulationEventIdxAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_ASC', - ConfidentialAssetsByCreatedBlockIdStddevPopulationEventIdxDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_DESC', - ConfidentialAssetsByCreatedBlockIdStddevPopulationIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - ConfidentialAssetsByCreatedBlockIdStddevPopulationIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - ConfidentialAssetsByCreatedBlockIdStddevPopulationMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_MEDIATORS_ASC', - ConfidentialAssetsByCreatedBlockIdStddevPopulationMediatorsDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_MEDIATORS_DESC', - ConfidentialAssetsByCreatedBlockIdStddevPopulationTickerAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TICKER_ASC', - ConfidentialAssetsByCreatedBlockIdStddevPopulationTickerDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TICKER_DESC', - ConfidentialAssetsByCreatedBlockIdStddevPopulationTotalSupplyAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TOTAL_SUPPLY_ASC', - ConfidentialAssetsByCreatedBlockIdStddevPopulationTotalSupplyDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TOTAL_SUPPLY_DESC', - ConfidentialAssetsByCreatedBlockIdStddevPopulationUpdatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - ConfidentialAssetsByCreatedBlockIdStddevPopulationUpdatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - ConfidentialAssetsByCreatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetsByCreatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetsByCreatedBlockIdStddevPopulationVenueFilteringAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_VENUE_FILTERING_ASC', - ConfidentialAssetsByCreatedBlockIdStddevPopulationVenueFilteringDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_VENUE_FILTERING_DESC', - ConfidentialAssetsByCreatedBlockIdStddevSampleAllowedVenuesAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ALLOWED_VENUES_ASC', - ConfidentialAssetsByCreatedBlockIdStddevSampleAllowedVenuesDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ALLOWED_VENUES_DESC', - ConfidentialAssetsByCreatedBlockIdStddevSampleAssetIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_ASC', - ConfidentialAssetsByCreatedBlockIdStddevSampleAssetIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_DESC', - ConfidentialAssetsByCreatedBlockIdStddevSampleAuditorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_AUDITORS_ASC', - ConfidentialAssetsByCreatedBlockIdStddevSampleAuditorsDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_AUDITORS_DESC', - ConfidentialAssetsByCreatedBlockIdStddevSampleCreatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - ConfidentialAssetsByCreatedBlockIdStddevSampleCreatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - ConfidentialAssetsByCreatedBlockIdStddevSampleCreatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - ConfidentialAssetsByCreatedBlockIdStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - ConfidentialAssetsByCreatedBlockIdStddevSampleCreatorIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATOR_ID_ASC', - ConfidentialAssetsByCreatedBlockIdStddevSampleCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATOR_ID_DESC', - ConfidentialAssetsByCreatedBlockIdStddevSampleDataAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_DATA_ASC', - ConfidentialAssetsByCreatedBlockIdStddevSampleDataDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_DATA_DESC', - ConfidentialAssetsByCreatedBlockIdStddevSampleEventIdxAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', - ConfidentialAssetsByCreatedBlockIdStddevSampleEventIdxDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', - ConfidentialAssetsByCreatedBlockIdStddevSampleIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - ConfidentialAssetsByCreatedBlockIdStddevSampleIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - ConfidentialAssetsByCreatedBlockIdStddevSampleMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_MEDIATORS_ASC', - ConfidentialAssetsByCreatedBlockIdStddevSampleMediatorsDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_MEDIATORS_DESC', - ConfidentialAssetsByCreatedBlockIdStddevSampleTickerAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TICKER_ASC', - ConfidentialAssetsByCreatedBlockIdStddevSampleTickerDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TICKER_DESC', - ConfidentialAssetsByCreatedBlockIdStddevSampleTotalSupplyAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TOTAL_SUPPLY_ASC', - ConfidentialAssetsByCreatedBlockIdStddevSampleTotalSupplyDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TOTAL_SUPPLY_DESC', - ConfidentialAssetsByCreatedBlockIdStddevSampleUpdatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - ConfidentialAssetsByCreatedBlockIdStddevSampleUpdatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - ConfidentialAssetsByCreatedBlockIdStddevSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetsByCreatedBlockIdStddevSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetsByCreatedBlockIdStddevSampleVenueFilteringAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_VENUE_FILTERING_ASC', - ConfidentialAssetsByCreatedBlockIdStddevSampleVenueFilteringDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_VENUE_FILTERING_DESC', - ConfidentialAssetsByCreatedBlockIdSumAllowedVenuesAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_SUM_ALLOWED_VENUES_ASC', - ConfidentialAssetsByCreatedBlockIdSumAllowedVenuesDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_SUM_ALLOWED_VENUES_DESC', - ConfidentialAssetsByCreatedBlockIdSumAssetIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_SUM_ASSET_ID_ASC', - ConfidentialAssetsByCreatedBlockIdSumAssetIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_SUM_ASSET_ID_DESC', - ConfidentialAssetsByCreatedBlockIdSumAuditorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_SUM_AUDITORS_ASC', - ConfidentialAssetsByCreatedBlockIdSumAuditorsDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_SUM_AUDITORS_DESC', - ConfidentialAssetsByCreatedBlockIdSumCreatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_ASC', - ConfidentialAssetsByCreatedBlockIdSumCreatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_DESC', - ConfidentialAssetsByCreatedBlockIdSumCreatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - ConfidentialAssetsByCreatedBlockIdSumCreatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - ConfidentialAssetsByCreatedBlockIdSumCreatorIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_SUM_CREATOR_ID_ASC', - ConfidentialAssetsByCreatedBlockIdSumCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_SUM_CREATOR_ID_DESC', - ConfidentialAssetsByCreatedBlockIdSumDataAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_SUM_DATA_ASC', - ConfidentialAssetsByCreatedBlockIdSumDataDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_SUM_DATA_DESC', - ConfidentialAssetsByCreatedBlockIdSumEventIdxAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_SUM_EVENT_IDX_ASC', - ConfidentialAssetsByCreatedBlockIdSumEventIdxDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_SUM_EVENT_IDX_DESC', - ConfidentialAssetsByCreatedBlockIdSumIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_SUM_ID_ASC', - ConfidentialAssetsByCreatedBlockIdSumIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_SUM_ID_DESC', - ConfidentialAssetsByCreatedBlockIdSumMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_SUM_MEDIATORS_ASC', - ConfidentialAssetsByCreatedBlockIdSumMediatorsDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_SUM_MEDIATORS_DESC', - ConfidentialAssetsByCreatedBlockIdSumTickerAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_SUM_TICKER_ASC', - ConfidentialAssetsByCreatedBlockIdSumTickerDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_SUM_TICKER_DESC', - ConfidentialAssetsByCreatedBlockIdSumTotalSupplyAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_SUM_TOTAL_SUPPLY_ASC', - ConfidentialAssetsByCreatedBlockIdSumTotalSupplyDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_SUM_TOTAL_SUPPLY_DESC', - ConfidentialAssetsByCreatedBlockIdSumUpdatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - ConfidentialAssetsByCreatedBlockIdSumUpdatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - ConfidentialAssetsByCreatedBlockIdSumUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetsByCreatedBlockIdSumUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetsByCreatedBlockIdSumVenueFilteringAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_SUM_VENUE_FILTERING_ASC', - ConfidentialAssetsByCreatedBlockIdSumVenueFilteringDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_SUM_VENUE_FILTERING_DESC', - ConfidentialAssetsByCreatedBlockIdVariancePopulationAllowedVenuesAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ALLOWED_VENUES_ASC', - ConfidentialAssetsByCreatedBlockIdVariancePopulationAllowedVenuesDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ALLOWED_VENUES_DESC', - ConfidentialAssetsByCreatedBlockIdVariancePopulationAssetIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_ASC', - ConfidentialAssetsByCreatedBlockIdVariancePopulationAssetIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_DESC', - ConfidentialAssetsByCreatedBlockIdVariancePopulationAuditorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_AUDITORS_ASC', - ConfidentialAssetsByCreatedBlockIdVariancePopulationAuditorsDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_AUDITORS_DESC', - ConfidentialAssetsByCreatedBlockIdVariancePopulationCreatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - ConfidentialAssetsByCreatedBlockIdVariancePopulationCreatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - ConfidentialAssetsByCreatedBlockIdVariancePopulationCreatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - ConfidentialAssetsByCreatedBlockIdVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - ConfidentialAssetsByCreatedBlockIdVariancePopulationCreatorIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATOR_ID_ASC', - ConfidentialAssetsByCreatedBlockIdVariancePopulationCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATOR_ID_DESC', - ConfidentialAssetsByCreatedBlockIdVariancePopulationDataAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_DATA_ASC', - ConfidentialAssetsByCreatedBlockIdVariancePopulationDataDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_DATA_DESC', - ConfidentialAssetsByCreatedBlockIdVariancePopulationEventIdxAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', - ConfidentialAssetsByCreatedBlockIdVariancePopulationEventIdxDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', - ConfidentialAssetsByCreatedBlockIdVariancePopulationIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - ConfidentialAssetsByCreatedBlockIdVariancePopulationIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - ConfidentialAssetsByCreatedBlockIdVariancePopulationMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_MEDIATORS_ASC', - ConfidentialAssetsByCreatedBlockIdVariancePopulationMediatorsDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_MEDIATORS_DESC', - ConfidentialAssetsByCreatedBlockIdVariancePopulationTickerAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TICKER_ASC', - ConfidentialAssetsByCreatedBlockIdVariancePopulationTickerDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TICKER_DESC', - ConfidentialAssetsByCreatedBlockIdVariancePopulationTotalSupplyAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TOTAL_SUPPLY_ASC', - ConfidentialAssetsByCreatedBlockIdVariancePopulationTotalSupplyDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TOTAL_SUPPLY_DESC', - ConfidentialAssetsByCreatedBlockIdVariancePopulationUpdatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - ConfidentialAssetsByCreatedBlockIdVariancePopulationUpdatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - ConfidentialAssetsByCreatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetsByCreatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetsByCreatedBlockIdVariancePopulationVenueFilteringAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_VENUE_FILTERING_ASC', - ConfidentialAssetsByCreatedBlockIdVariancePopulationVenueFilteringDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_VENUE_FILTERING_DESC', - ConfidentialAssetsByCreatedBlockIdVarianceSampleAllowedVenuesAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ALLOWED_VENUES_ASC', - ConfidentialAssetsByCreatedBlockIdVarianceSampleAllowedVenuesDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ALLOWED_VENUES_DESC', - ConfidentialAssetsByCreatedBlockIdVarianceSampleAssetIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_ASC', - ConfidentialAssetsByCreatedBlockIdVarianceSampleAssetIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_DESC', - ConfidentialAssetsByCreatedBlockIdVarianceSampleAuditorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_AUDITORS_ASC', - ConfidentialAssetsByCreatedBlockIdVarianceSampleAuditorsDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_AUDITORS_DESC', - ConfidentialAssetsByCreatedBlockIdVarianceSampleCreatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - ConfidentialAssetsByCreatedBlockIdVarianceSampleCreatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - ConfidentialAssetsByCreatedBlockIdVarianceSampleCreatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - ConfidentialAssetsByCreatedBlockIdVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - ConfidentialAssetsByCreatedBlockIdVarianceSampleCreatorIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATOR_ID_ASC', - ConfidentialAssetsByCreatedBlockIdVarianceSampleCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATOR_ID_DESC', - ConfidentialAssetsByCreatedBlockIdVarianceSampleDataAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_DATA_ASC', - ConfidentialAssetsByCreatedBlockIdVarianceSampleDataDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_DATA_DESC', - ConfidentialAssetsByCreatedBlockIdVarianceSampleEventIdxAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', - ConfidentialAssetsByCreatedBlockIdVarianceSampleEventIdxDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', - ConfidentialAssetsByCreatedBlockIdVarianceSampleIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - ConfidentialAssetsByCreatedBlockIdVarianceSampleIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - ConfidentialAssetsByCreatedBlockIdVarianceSampleMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_MEDIATORS_ASC', - ConfidentialAssetsByCreatedBlockIdVarianceSampleMediatorsDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_MEDIATORS_DESC', - ConfidentialAssetsByCreatedBlockIdVarianceSampleTickerAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TICKER_ASC', - ConfidentialAssetsByCreatedBlockIdVarianceSampleTickerDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TICKER_DESC', - ConfidentialAssetsByCreatedBlockIdVarianceSampleTotalSupplyAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TOTAL_SUPPLY_ASC', - ConfidentialAssetsByCreatedBlockIdVarianceSampleTotalSupplyDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TOTAL_SUPPLY_DESC', - ConfidentialAssetsByCreatedBlockIdVarianceSampleUpdatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - ConfidentialAssetsByCreatedBlockIdVarianceSampleUpdatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - ConfidentialAssetsByCreatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetsByCreatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetsByCreatedBlockIdVarianceSampleVenueFilteringAsc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_VENUE_FILTERING_ASC', - ConfidentialAssetsByCreatedBlockIdVarianceSampleVenueFilteringDesc = 'CONFIDENTIAL_ASSETS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_VENUE_FILTERING_DESC', - ConfidentialAssetsByUpdatedBlockIdAverageAllowedVenuesAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_ALLOWED_VENUES_ASC', - ConfidentialAssetsByUpdatedBlockIdAverageAllowedVenuesDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_ALLOWED_VENUES_DESC', - ConfidentialAssetsByUpdatedBlockIdAverageAssetIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_ASSET_ID_ASC', - ConfidentialAssetsByUpdatedBlockIdAverageAssetIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_ASSET_ID_DESC', - ConfidentialAssetsByUpdatedBlockIdAverageAuditorsAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_AUDITORS_ASC', - ConfidentialAssetsByUpdatedBlockIdAverageAuditorsDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_AUDITORS_DESC', - ConfidentialAssetsByUpdatedBlockIdAverageCreatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - ConfidentialAssetsByUpdatedBlockIdAverageCreatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - ConfidentialAssetsByUpdatedBlockIdAverageCreatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - ConfidentialAssetsByUpdatedBlockIdAverageCreatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - ConfidentialAssetsByUpdatedBlockIdAverageCreatorIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATOR_ID_ASC', - ConfidentialAssetsByUpdatedBlockIdAverageCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATOR_ID_DESC', - ConfidentialAssetsByUpdatedBlockIdAverageDataAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_DATA_ASC', - ConfidentialAssetsByUpdatedBlockIdAverageDataDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_DATA_DESC', - ConfidentialAssetsByUpdatedBlockIdAverageEventIdxAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_IDX_ASC', - ConfidentialAssetsByUpdatedBlockIdAverageEventIdxDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_IDX_DESC', - ConfidentialAssetsByUpdatedBlockIdAverageIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_ASC', - ConfidentialAssetsByUpdatedBlockIdAverageIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_DESC', - ConfidentialAssetsByUpdatedBlockIdAverageMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_MEDIATORS_ASC', - ConfidentialAssetsByUpdatedBlockIdAverageMediatorsDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_MEDIATORS_DESC', - ConfidentialAssetsByUpdatedBlockIdAverageTickerAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_TICKER_ASC', - ConfidentialAssetsByUpdatedBlockIdAverageTickerDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_TICKER_DESC', - ConfidentialAssetsByUpdatedBlockIdAverageTotalSupplyAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_TOTAL_SUPPLY_ASC', - ConfidentialAssetsByUpdatedBlockIdAverageTotalSupplyDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_TOTAL_SUPPLY_DESC', - ConfidentialAssetsByUpdatedBlockIdAverageUpdatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - ConfidentialAssetsByUpdatedBlockIdAverageUpdatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - ConfidentialAssetsByUpdatedBlockIdAverageUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetsByUpdatedBlockIdAverageUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetsByUpdatedBlockIdAverageVenueFilteringAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_VENUE_FILTERING_ASC', - ConfidentialAssetsByUpdatedBlockIdAverageVenueFilteringDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_AVERAGE_VENUE_FILTERING_DESC', - ConfidentialAssetsByUpdatedBlockIdCountAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_COUNT_ASC', - ConfidentialAssetsByUpdatedBlockIdCountDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_COUNT_DESC', - ConfidentialAssetsByUpdatedBlockIdDistinctCountAllowedVenuesAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ALLOWED_VENUES_ASC', - ConfidentialAssetsByUpdatedBlockIdDistinctCountAllowedVenuesDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ALLOWED_VENUES_DESC', - ConfidentialAssetsByUpdatedBlockIdDistinctCountAssetIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_ASC', - ConfidentialAssetsByUpdatedBlockIdDistinctCountAssetIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_DESC', - ConfidentialAssetsByUpdatedBlockIdDistinctCountAuditorsAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_AUDITORS_ASC', - ConfidentialAssetsByUpdatedBlockIdDistinctCountAuditorsDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_AUDITORS_DESC', - ConfidentialAssetsByUpdatedBlockIdDistinctCountCreatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - ConfidentialAssetsByUpdatedBlockIdDistinctCountCreatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - ConfidentialAssetsByUpdatedBlockIdDistinctCountCreatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - ConfidentialAssetsByUpdatedBlockIdDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - ConfidentialAssetsByUpdatedBlockIdDistinctCountCreatorIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATOR_ID_ASC', - ConfidentialAssetsByUpdatedBlockIdDistinctCountCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATOR_ID_DESC', - ConfidentialAssetsByUpdatedBlockIdDistinctCountDataAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_DATA_ASC', - ConfidentialAssetsByUpdatedBlockIdDistinctCountDataDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_DATA_DESC', - ConfidentialAssetsByUpdatedBlockIdDistinctCountEventIdxAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_ASC', - ConfidentialAssetsByUpdatedBlockIdDistinctCountEventIdxDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_DESC', - ConfidentialAssetsByUpdatedBlockIdDistinctCountIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - ConfidentialAssetsByUpdatedBlockIdDistinctCountIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - ConfidentialAssetsByUpdatedBlockIdDistinctCountMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_MEDIATORS_ASC', - ConfidentialAssetsByUpdatedBlockIdDistinctCountMediatorsDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_MEDIATORS_DESC', - ConfidentialAssetsByUpdatedBlockIdDistinctCountTickerAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TICKER_ASC', - ConfidentialAssetsByUpdatedBlockIdDistinctCountTickerDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TICKER_DESC', - ConfidentialAssetsByUpdatedBlockIdDistinctCountTotalSupplyAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TOTAL_SUPPLY_ASC', - ConfidentialAssetsByUpdatedBlockIdDistinctCountTotalSupplyDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TOTAL_SUPPLY_DESC', - ConfidentialAssetsByUpdatedBlockIdDistinctCountUpdatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - ConfidentialAssetsByUpdatedBlockIdDistinctCountUpdatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - ConfidentialAssetsByUpdatedBlockIdDistinctCountUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetsByUpdatedBlockIdDistinctCountUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetsByUpdatedBlockIdDistinctCountVenueFilteringAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_VENUE_FILTERING_ASC', - ConfidentialAssetsByUpdatedBlockIdDistinctCountVenueFilteringDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_VENUE_FILTERING_DESC', - ConfidentialAssetsByUpdatedBlockIdMaxAllowedVenuesAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MAX_ALLOWED_VENUES_ASC', - ConfidentialAssetsByUpdatedBlockIdMaxAllowedVenuesDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MAX_ALLOWED_VENUES_DESC', - ConfidentialAssetsByUpdatedBlockIdMaxAssetIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MAX_ASSET_ID_ASC', - ConfidentialAssetsByUpdatedBlockIdMaxAssetIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MAX_ASSET_ID_DESC', - ConfidentialAssetsByUpdatedBlockIdMaxAuditorsAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MAX_AUDITORS_ASC', - ConfidentialAssetsByUpdatedBlockIdMaxAuditorsDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MAX_AUDITORS_DESC', - ConfidentialAssetsByUpdatedBlockIdMaxCreatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_ASC', - ConfidentialAssetsByUpdatedBlockIdMaxCreatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_DESC', - ConfidentialAssetsByUpdatedBlockIdMaxCreatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - ConfidentialAssetsByUpdatedBlockIdMaxCreatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - ConfidentialAssetsByUpdatedBlockIdMaxCreatorIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MAX_CREATOR_ID_ASC', - ConfidentialAssetsByUpdatedBlockIdMaxCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MAX_CREATOR_ID_DESC', - ConfidentialAssetsByUpdatedBlockIdMaxDataAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MAX_DATA_ASC', - ConfidentialAssetsByUpdatedBlockIdMaxDataDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MAX_DATA_DESC', - ConfidentialAssetsByUpdatedBlockIdMaxEventIdxAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MAX_EVENT_IDX_ASC', - ConfidentialAssetsByUpdatedBlockIdMaxEventIdxDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MAX_EVENT_IDX_DESC', - ConfidentialAssetsByUpdatedBlockIdMaxIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MAX_ID_ASC', - ConfidentialAssetsByUpdatedBlockIdMaxIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MAX_ID_DESC', - ConfidentialAssetsByUpdatedBlockIdMaxMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MAX_MEDIATORS_ASC', - ConfidentialAssetsByUpdatedBlockIdMaxMediatorsDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MAX_MEDIATORS_DESC', - ConfidentialAssetsByUpdatedBlockIdMaxTickerAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MAX_TICKER_ASC', - ConfidentialAssetsByUpdatedBlockIdMaxTickerDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MAX_TICKER_DESC', - ConfidentialAssetsByUpdatedBlockIdMaxTotalSupplyAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MAX_TOTAL_SUPPLY_ASC', - ConfidentialAssetsByUpdatedBlockIdMaxTotalSupplyDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MAX_TOTAL_SUPPLY_DESC', - ConfidentialAssetsByUpdatedBlockIdMaxUpdatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - ConfidentialAssetsByUpdatedBlockIdMaxUpdatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - ConfidentialAssetsByUpdatedBlockIdMaxUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetsByUpdatedBlockIdMaxUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetsByUpdatedBlockIdMaxVenueFilteringAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MAX_VENUE_FILTERING_ASC', - ConfidentialAssetsByUpdatedBlockIdMaxVenueFilteringDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MAX_VENUE_FILTERING_DESC', - ConfidentialAssetsByUpdatedBlockIdMinAllowedVenuesAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MIN_ALLOWED_VENUES_ASC', - ConfidentialAssetsByUpdatedBlockIdMinAllowedVenuesDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MIN_ALLOWED_VENUES_DESC', - ConfidentialAssetsByUpdatedBlockIdMinAssetIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MIN_ASSET_ID_ASC', - ConfidentialAssetsByUpdatedBlockIdMinAssetIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MIN_ASSET_ID_DESC', - ConfidentialAssetsByUpdatedBlockIdMinAuditorsAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MIN_AUDITORS_ASC', - ConfidentialAssetsByUpdatedBlockIdMinAuditorsDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MIN_AUDITORS_DESC', - ConfidentialAssetsByUpdatedBlockIdMinCreatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_ASC', - ConfidentialAssetsByUpdatedBlockIdMinCreatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_DESC', - ConfidentialAssetsByUpdatedBlockIdMinCreatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - ConfidentialAssetsByUpdatedBlockIdMinCreatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - ConfidentialAssetsByUpdatedBlockIdMinCreatorIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MIN_CREATOR_ID_ASC', - ConfidentialAssetsByUpdatedBlockIdMinCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MIN_CREATOR_ID_DESC', - ConfidentialAssetsByUpdatedBlockIdMinDataAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MIN_DATA_ASC', - ConfidentialAssetsByUpdatedBlockIdMinDataDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MIN_DATA_DESC', - ConfidentialAssetsByUpdatedBlockIdMinEventIdxAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MIN_EVENT_IDX_ASC', - ConfidentialAssetsByUpdatedBlockIdMinEventIdxDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MIN_EVENT_IDX_DESC', - ConfidentialAssetsByUpdatedBlockIdMinIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MIN_ID_ASC', - ConfidentialAssetsByUpdatedBlockIdMinIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MIN_ID_DESC', - ConfidentialAssetsByUpdatedBlockIdMinMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MIN_MEDIATORS_ASC', - ConfidentialAssetsByUpdatedBlockIdMinMediatorsDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MIN_MEDIATORS_DESC', - ConfidentialAssetsByUpdatedBlockIdMinTickerAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MIN_TICKER_ASC', - ConfidentialAssetsByUpdatedBlockIdMinTickerDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MIN_TICKER_DESC', - ConfidentialAssetsByUpdatedBlockIdMinTotalSupplyAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MIN_TOTAL_SUPPLY_ASC', - ConfidentialAssetsByUpdatedBlockIdMinTotalSupplyDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MIN_TOTAL_SUPPLY_DESC', - ConfidentialAssetsByUpdatedBlockIdMinUpdatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - ConfidentialAssetsByUpdatedBlockIdMinUpdatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - ConfidentialAssetsByUpdatedBlockIdMinUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetsByUpdatedBlockIdMinUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetsByUpdatedBlockIdMinVenueFilteringAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MIN_VENUE_FILTERING_ASC', - ConfidentialAssetsByUpdatedBlockIdMinVenueFilteringDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_MIN_VENUE_FILTERING_DESC', - ConfidentialAssetsByUpdatedBlockIdStddevPopulationAllowedVenuesAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ALLOWED_VENUES_ASC', - ConfidentialAssetsByUpdatedBlockIdStddevPopulationAllowedVenuesDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ALLOWED_VENUES_DESC', - ConfidentialAssetsByUpdatedBlockIdStddevPopulationAssetIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_ASC', - ConfidentialAssetsByUpdatedBlockIdStddevPopulationAssetIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_DESC', - ConfidentialAssetsByUpdatedBlockIdStddevPopulationAuditorsAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_AUDITORS_ASC', - ConfidentialAssetsByUpdatedBlockIdStddevPopulationAuditorsDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_AUDITORS_DESC', - ConfidentialAssetsByUpdatedBlockIdStddevPopulationCreatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - ConfidentialAssetsByUpdatedBlockIdStddevPopulationCreatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - ConfidentialAssetsByUpdatedBlockIdStddevPopulationCreatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - ConfidentialAssetsByUpdatedBlockIdStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - ConfidentialAssetsByUpdatedBlockIdStddevPopulationCreatorIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATOR_ID_ASC', - ConfidentialAssetsByUpdatedBlockIdStddevPopulationCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATOR_ID_DESC', - ConfidentialAssetsByUpdatedBlockIdStddevPopulationDataAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_DATA_ASC', - ConfidentialAssetsByUpdatedBlockIdStddevPopulationDataDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_DATA_DESC', - ConfidentialAssetsByUpdatedBlockIdStddevPopulationEventIdxAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_ASC', - ConfidentialAssetsByUpdatedBlockIdStddevPopulationEventIdxDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_DESC', - ConfidentialAssetsByUpdatedBlockIdStddevPopulationIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - ConfidentialAssetsByUpdatedBlockIdStddevPopulationIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - ConfidentialAssetsByUpdatedBlockIdStddevPopulationMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_MEDIATORS_ASC', - ConfidentialAssetsByUpdatedBlockIdStddevPopulationMediatorsDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_MEDIATORS_DESC', - ConfidentialAssetsByUpdatedBlockIdStddevPopulationTickerAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TICKER_ASC', - ConfidentialAssetsByUpdatedBlockIdStddevPopulationTickerDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TICKER_DESC', - ConfidentialAssetsByUpdatedBlockIdStddevPopulationTotalSupplyAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TOTAL_SUPPLY_ASC', - ConfidentialAssetsByUpdatedBlockIdStddevPopulationTotalSupplyDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TOTAL_SUPPLY_DESC', - ConfidentialAssetsByUpdatedBlockIdStddevPopulationUpdatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - ConfidentialAssetsByUpdatedBlockIdStddevPopulationUpdatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - ConfidentialAssetsByUpdatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetsByUpdatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetsByUpdatedBlockIdStddevPopulationVenueFilteringAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_VENUE_FILTERING_ASC', - ConfidentialAssetsByUpdatedBlockIdStddevPopulationVenueFilteringDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_VENUE_FILTERING_DESC', - ConfidentialAssetsByUpdatedBlockIdStddevSampleAllowedVenuesAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ALLOWED_VENUES_ASC', - ConfidentialAssetsByUpdatedBlockIdStddevSampleAllowedVenuesDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ALLOWED_VENUES_DESC', - ConfidentialAssetsByUpdatedBlockIdStddevSampleAssetIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_ASC', - ConfidentialAssetsByUpdatedBlockIdStddevSampleAssetIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_DESC', - ConfidentialAssetsByUpdatedBlockIdStddevSampleAuditorsAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_AUDITORS_ASC', - ConfidentialAssetsByUpdatedBlockIdStddevSampleAuditorsDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_AUDITORS_DESC', - ConfidentialAssetsByUpdatedBlockIdStddevSampleCreatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - ConfidentialAssetsByUpdatedBlockIdStddevSampleCreatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - ConfidentialAssetsByUpdatedBlockIdStddevSampleCreatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - ConfidentialAssetsByUpdatedBlockIdStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - ConfidentialAssetsByUpdatedBlockIdStddevSampleCreatorIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATOR_ID_ASC', - ConfidentialAssetsByUpdatedBlockIdStddevSampleCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATOR_ID_DESC', - ConfidentialAssetsByUpdatedBlockIdStddevSampleDataAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_DATA_ASC', - ConfidentialAssetsByUpdatedBlockIdStddevSampleDataDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_DATA_DESC', - ConfidentialAssetsByUpdatedBlockIdStddevSampleEventIdxAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', - ConfidentialAssetsByUpdatedBlockIdStddevSampleEventIdxDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', - ConfidentialAssetsByUpdatedBlockIdStddevSampleIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - ConfidentialAssetsByUpdatedBlockIdStddevSampleIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - ConfidentialAssetsByUpdatedBlockIdStddevSampleMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_MEDIATORS_ASC', - ConfidentialAssetsByUpdatedBlockIdStddevSampleMediatorsDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_MEDIATORS_DESC', - ConfidentialAssetsByUpdatedBlockIdStddevSampleTickerAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TICKER_ASC', - ConfidentialAssetsByUpdatedBlockIdStddevSampleTickerDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TICKER_DESC', - ConfidentialAssetsByUpdatedBlockIdStddevSampleTotalSupplyAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TOTAL_SUPPLY_ASC', - ConfidentialAssetsByUpdatedBlockIdStddevSampleTotalSupplyDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TOTAL_SUPPLY_DESC', - ConfidentialAssetsByUpdatedBlockIdStddevSampleUpdatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - ConfidentialAssetsByUpdatedBlockIdStddevSampleUpdatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - ConfidentialAssetsByUpdatedBlockIdStddevSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetsByUpdatedBlockIdStddevSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetsByUpdatedBlockIdStddevSampleVenueFilteringAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_VENUE_FILTERING_ASC', - ConfidentialAssetsByUpdatedBlockIdStddevSampleVenueFilteringDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_VENUE_FILTERING_DESC', - ConfidentialAssetsByUpdatedBlockIdSumAllowedVenuesAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_SUM_ALLOWED_VENUES_ASC', - ConfidentialAssetsByUpdatedBlockIdSumAllowedVenuesDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_SUM_ALLOWED_VENUES_DESC', - ConfidentialAssetsByUpdatedBlockIdSumAssetIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_SUM_ASSET_ID_ASC', - ConfidentialAssetsByUpdatedBlockIdSumAssetIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_SUM_ASSET_ID_DESC', - ConfidentialAssetsByUpdatedBlockIdSumAuditorsAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_SUM_AUDITORS_ASC', - ConfidentialAssetsByUpdatedBlockIdSumAuditorsDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_SUM_AUDITORS_DESC', - ConfidentialAssetsByUpdatedBlockIdSumCreatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_ASC', - ConfidentialAssetsByUpdatedBlockIdSumCreatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_DESC', - ConfidentialAssetsByUpdatedBlockIdSumCreatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - ConfidentialAssetsByUpdatedBlockIdSumCreatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - ConfidentialAssetsByUpdatedBlockIdSumCreatorIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_SUM_CREATOR_ID_ASC', - ConfidentialAssetsByUpdatedBlockIdSumCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_SUM_CREATOR_ID_DESC', - ConfidentialAssetsByUpdatedBlockIdSumDataAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_SUM_DATA_ASC', - ConfidentialAssetsByUpdatedBlockIdSumDataDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_SUM_DATA_DESC', - ConfidentialAssetsByUpdatedBlockIdSumEventIdxAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_SUM_EVENT_IDX_ASC', - ConfidentialAssetsByUpdatedBlockIdSumEventIdxDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_SUM_EVENT_IDX_DESC', - ConfidentialAssetsByUpdatedBlockIdSumIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_SUM_ID_ASC', - ConfidentialAssetsByUpdatedBlockIdSumIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_SUM_ID_DESC', - ConfidentialAssetsByUpdatedBlockIdSumMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_SUM_MEDIATORS_ASC', - ConfidentialAssetsByUpdatedBlockIdSumMediatorsDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_SUM_MEDIATORS_DESC', - ConfidentialAssetsByUpdatedBlockIdSumTickerAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_SUM_TICKER_ASC', - ConfidentialAssetsByUpdatedBlockIdSumTickerDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_SUM_TICKER_DESC', - ConfidentialAssetsByUpdatedBlockIdSumTotalSupplyAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_SUM_TOTAL_SUPPLY_ASC', - ConfidentialAssetsByUpdatedBlockIdSumTotalSupplyDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_SUM_TOTAL_SUPPLY_DESC', - ConfidentialAssetsByUpdatedBlockIdSumUpdatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - ConfidentialAssetsByUpdatedBlockIdSumUpdatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - ConfidentialAssetsByUpdatedBlockIdSumUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetsByUpdatedBlockIdSumUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetsByUpdatedBlockIdSumVenueFilteringAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_SUM_VENUE_FILTERING_ASC', - ConfidentialAssetsByUpdatedBlockIdSumVenueFilteringDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_SUM_VENUE_FILTERING_DESC', - ConfidentialAssetsByUpdatedBlockIdVariancePopulationAllowedVenuesAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ALLOWED_VENUES_ASC', - ConfidentialAssetsByUpdatedBlockIdVariancePopulationAllowedVenuesDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ALLOWED_VENUES_DESC', - ConfidentialAssetsByUpdatedBlockIdVariancePopulationAssetIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_ASC', - ConfidentialAssetsByUpdatedBlockIdVariancePopulationAssetIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_DESC', - ConfidentialAssetsByUpdatedBlockIdVariancePopulationAuditorsAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_AUDITORS_ASC', - ConfidentialAssetsByUpdatedBlockIdVariancePopulationAuditorsDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_AUDITORS_DESC', - ConfidentialAssetsByUpdatedBlockIdVariancePopulationCreatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - ConfidentialAssetsByUpdatedBlockIdVariancePopulationCreatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - ConfidentialAssetsByUpdatedBlockIdVariancePopulationCreatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - ConfidentialAssetsByUpdatedBlockIdVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - ConfidentialAssetsByUpdatedBlockIdVariancePopulationCreatorIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATOR_ID_ASC', - ConfidentialAssetsByUpdatedBlockIdVariancePopulationCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATOR_ID_DESC', - ConfidentialAssetsByUpdatedBlockIdVariancePopulationDataAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_DATA_ASC', - ConfidentialAssetsByUpdatedBlockIdVariancePopulationDataDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_DATA_DESC', - ConfidentialAssetsByUpdatedBlockIdVariancePopulationEventIdxAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', - ConfidentialAssetsByUpdatedBlockIdVariancePopulationEventIdxDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', - ConfidentialAssetsByUpdatedBlockIdVariancePopulationIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - ConfidentialAssetsByUpdatedBlockIdVariancePopulationIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - ConfidentialAssetsByUpdatedBlockIdVariancePopulationMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_MEDIATORS_ASC', - ConfidentialAssetsByUpdatedBlockIdVariancePopulationMediatorsDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_MEDIATORS_DESC', - ConfidentialAssetsByUpdatedBlockIdVariancePopulationTickerAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TICKER_ASC', - ConfidentialAssetsByUpdatedBlockIdVariancePopulationTickerDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TICKER_DESC', - ConfidentialAssetsByUpdatedBlockIdVariancePopulationTotalSupplyAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TOTAL_SUPPLY_ASC', - ConfidentialAssetsByUpdatedBlockIdVariancePopulationTotalSupplyDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TOTAL_SUPPLY_DESC', - ConfidentialAssetsByUpdatedBlockIdVariancePopulationUpdatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - ConfidentialAssetsByUpdatedBlockIdVariancePopulationUpdatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - ConfidentialAssetsByUpdatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetsByUpdatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetsByUpdatedBlockIdVariancePopulationVenueFilteringAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_VENUE_FILTERING_ASC', - ConfidentialAssetsByUpdatedBlockIdVariancePopulationVenueFilteringDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_VENUE_FILTERING_DESC', - ConfidentialAssetsByUpdatedBlockIdVarianceSampleAllowedVenuesAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ALLOWED_VENUES_ASC', - ConfidentialAssetsByUpdatedBlockIdVarianceSampleAllowedVenuesDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ALLOWED_VENUES_DESC', - ConfidentialAssetsByUpdatedBlockIdVarianceSampleAssetIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_ASC', - ConfidentialAssetsByUpdatedBlockIdVarianceSampleAssetIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_DESC', - ConfidentialAssetsByUpdatedBlockIdVarianceSampleAuditorsAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_AUDITORS_ASC', - ConfidentialAssetsByUpdatedBlockIdVarianceSampleAuditorsDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_AUDITORS_DESC', - ConfidentialAssetsByUpdatedBlockIdVarianceSampleCreatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - ConfidentialAssetsByUpdatedBlockIdVarianceSampleCreatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - ConfidentialAssetsByUpdatedBlockIdVarianceSampleCreatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - ConfidentialAssetsByUpdatedBlockIdVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - ConfidentialAssetsByUpdatedBlockIdVarianceSampleCreatorIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATOR_ID_ASC', - ConfidentialAssetsByUpdatedBlockIdVarianceSampleCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATOR_ID_DESC', - ConfidentialAssetsByUpdatedBlockIdVarianceSampleDataAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_DATA_ASC', - ConfidentialAssetsByUpdatedBlockIdVarianceSampleDataDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_DATA_DESC', - ConfidentialAssetsByUpdatedBlockIdVarianceSampleEventIdxAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', - ConfidentialAssetsByUpdatedBlockIdVarianceSampleEventIdxDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', - ConfidentialAssetsByUpdatedBlockIdVarianceSampleIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - ConfidentialAssetsByUpdatedBlockIdVarianceSampleIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - ConfidentialAssetsByUpdatedBlockIdVarianceSampleMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_MEDIATORS_ASC', - ConfidentialAssetsByUpdatedBlockIdVarianceSampleMediatorsDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_MEDIATORS_DESC', - ConfidentialAssetsByUpdatedBlockIdVarianceSampleTickerAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TICKER_ASC', - ConfidentialAssetsByUpdatedBlockIdVarianceSampleTickerDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TICKER_DESC', - ConfidentialAssetsByUpdatedBlockIdVarianceSampleTotalSupplyAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TOTAL_SUPPLY_ASC', - ConfidentialAssetsByUpdatedBlockIdVarianceSampleTotalSupplyDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TOTAL_SUPPLY_DESC', - ConfidentialAssetsByUpdatedBlockIdVarianceSampleUpdatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - ConfidentialAssetsByUpdatedBlockIdVarianceSampleUpdatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - ConfidentialAssetsByUpdatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetsByUpdatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetsByUpdatedBlockIdVarianceSampleVenueFilteringAsc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_VENUE_FILTERING_ASC', - ConfidentialAssetsByUpdatedBlockIdVarianceSampleVenueFilteringDesc = 'CONFIDENTIAL_ASSETS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_VENUE_FILTERING_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdAverageAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_AMOUNT_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdAverageAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_AMOUNT_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdAverageAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_ASSET_ID_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdAverageAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_ASSET_ID_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdAverageCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdAverageCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdAverageCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdAverageCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdAverageDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_DATETIME_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdAverageDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_DATETIME_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdAverageEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_IDX_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdAverageEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_IDX_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdAverageEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_ID_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdAverageEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_ID_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdAverageExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_EXTRINSIC_IDX_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdAverageExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_EXTRINSIC_IDX_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdAverageFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_FROM_ID_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdAverageFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_FROM_ID_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdAverageIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_ID_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdAverageIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_ID_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdAverageMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_MEMO_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdAverageMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_MEMO_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdAverageToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_TO_ID_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdAverageToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_TO_ID_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdAverageTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_TRANSACTION_ID_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdAverageTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_TRANSACTION_ID_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdAverageUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdAverageUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdAverageUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdAverageUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdCountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_COUNT_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdCountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_COUNT_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdDistinctCountAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_AMOUNT_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdDistinctCountAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_AMOUNT_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdDistinctCountAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdDistinctCountAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdDistinctCountCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdDistinctCountCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdDistinctCountCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdDistinctCountDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdDistinctCountDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdDistinctCountEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdDistinctCountEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdDistinctCountEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_ID_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdDistinctCountEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_ID_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdDistinctCountExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EXTRINSIC_IDX_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdDistinctCountExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EXTRINSIC_IDX_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdDistinctCountFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_FROM_ID_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdDistinctCountFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_FROM_ID_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdDistinctCountIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdDistinctCountIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdDistinctCountMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_MEMO_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdDistinctCountMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_MEMO_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdDistinctCountToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TO_ID_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdDistinctCountToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TO_ID_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdDistinctCountTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TRANSACTION_ID_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdDistinctCountTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TRANSACTION_ID_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdDistinctCountUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdDistinctCountUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdDistinctCountUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdDistinctCountUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdMaxAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MAX_AMOUNT_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdMaxAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MAX_AMOUNT_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdMaxAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MAX_ASSET_ID_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdMaxAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MAX_ASSET_ID_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdMaxCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdMaxCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdMaxCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdMaxCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdMaxDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MAX_DATETIME_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdMaxDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MAX_DATETIME_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdMaxEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MAX_EVENT_IDX_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdMaxEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MAX_EVENT_IDX_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdMaxEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MAX_EVENT_ID_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdMaxEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MAX_EVENT_ID_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdMaxExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MAX_EXTRINSIC_IDX_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdMaxExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MAX_EXTRINSIC_IDX_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdMaxFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MAX_FROM_ID_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdMaxFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MAX_FROM_ID_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdMaxIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MAX_ID_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdMaxIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MAX_ID_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdMaxMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MAX_MEMO_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdMaxMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MAX_MEMO_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdMaxToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MAX_TO_ID_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdMaxToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MAX_TO_ID_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdMaxTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MAX_TRANSACTION_ID_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdMaxTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MAX_TRANSACTION_ID_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdMaxUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdMaxUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdMaxUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdMaxUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdMinAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MIN_AMOUNT_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdMinAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MIN_AMOUNT_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdMinAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MIN_ASSET_ID_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdMinAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MIN_ASSET_ID_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdMinCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdMinCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdMinCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdMinCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdMinDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MIN_DATETIME_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdMinDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MIN_DATETIME_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdMinEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MIN_EVENT_IDX_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdMinEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MIN_EVENT_IDX_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdMinEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MIN_EVENT_ID_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdMinEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MIN_EVENT_ID_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdMinExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MIN_EXTRINSIC_IDX_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdMinExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MIN_EXTRINSIC_IDX_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdMinFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MIN_FROM_ID_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdMinFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MIN_FROM_ID_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdMinIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MIN_ID_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdMinIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MIN_ID_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdMinMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MIN_MEMO_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdMinMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MIN_MEMO_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdMinToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MIN_TO_ID_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdMinToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MIN_TO_ID_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdMinTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MIN_TRANSACTION_ID_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdMinTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MIN_TRANSACTION_ID_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdMinUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdMinUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdMinUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdMinUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdStddevPopulationAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_AMOUNT_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdStddevPopulationAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_AMOUNT_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdStddevPopulationAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdStddevPopulationAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdStddevPopulationCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdStddevPopulationCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdStddevPopulationCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdStddevPopulationDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_DATETIME_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdStddevPopulationDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_DATETIME_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdStddevPopulationEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdStddevPopulationEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdStddevPopulationEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_ID_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdStddevPopulationEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_ID_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdStddevPopulationExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EXTRINSIC_IDX_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdStddevPopulationExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EXTRINSIC_IDX_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdStddevPopulationFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_FROM_ID_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdStddevPopulationFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_FROM_ID_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdStddevPopulationIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdStddevPopulationIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdStddevPopulationMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_MEMO_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdStddevPopulationMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_MEMO_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdStddevPopulationToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TO_ID_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdStddevPopulationToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TO_ID_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdStddevPopulationTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TRANSACTION_ID_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdStddevPopulationTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TRANSACTION_ID_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdStddevPopulationUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdStddevPopulationUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdStddevSampleAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_AMOUNT_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdStddevSampleAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_AMOUNT_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdStddevSampleAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdStddevSampleAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdStddevSampleCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdStddevSampleCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdStddevSampleCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdStddevSampleDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_DATETIME_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdStddevSampleDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_DATETIME_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdStddevSampleEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdStddevSampleEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdStddevSampleEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_ID_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdStddevSampleEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_ID_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdStddevSampleExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EXTRINSIC_IDX_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdStddevSampleExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EXTRINSIC_IDX_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdStddevSampleFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_FROM_ID_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdStddevSampleFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_FROM_ID_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdStddevSampleIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdStddevSampleIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdStddevSampleMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_MEMO_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdStddevSampleMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_MEMO_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdStddevSampleToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TO_ID_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdStddevSampleToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TO_ID_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdStddevSampleTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TRANSACTION_ID_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdStddevSampleTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TRANSACTION_ID_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdStddevSampleUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdStddevSampleUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdStddevSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdStddevSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdSumAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_SUM_AMOUNT_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdSumAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_SUM_AMOUNT_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdSumAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_SUM_ASSET_ID_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdSumAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_SUM_ASSET_ID_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdSumCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdSumCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdSumCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdSumCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdSumDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_SUM_DATETIME_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdSumDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_SUM_DATETIME_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdSumEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_SUM_EVENT_IDX_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdSumEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_SUM_EVENT_IDX_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdSumEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_SUM_EVENT_ID_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdSumEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_SUM_EVENT_ID_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdSumExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_SUM_EXTRINSIC_IDX_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdSumExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_SUM_EXTRINSIC_IDX_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdSumFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_SUM_FROM_ID_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdSumFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_SUM_FROM_ID_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdSumIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_SUM_ID_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdSumIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_SUM_ID_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdSumMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_SUM_MEMO_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdSumMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_SUM_MEMO_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdSumToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_SUM_TO_ID_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdSumToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_SUM_TO_ID_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdSumTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_SUM_TRANSACTION_ID_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdSumTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_SUM_TRANSACTION_ID_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdSumUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdSumUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdSumUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdSumUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdVariancePopulationAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_AMOUNT_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdVariancePopulationAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_AMOUNT_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdVariancePopulationAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdVariancePopulationAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdVariancePopulationCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdVariancePopulationCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdVariancePopulationCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdVariancePopulationDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_DATETIME_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdVariancePopulationDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_DATETIME_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdVariancePopulationEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdVariancePopulationEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdVariancePopulationEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_ID_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdVariancePopulationEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_ID_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdVariancePopulationExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EXTRINSIC_IDX_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdVariancePopulationExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EXTRINSIC_IDX_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdVariancePopulationFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_FROM_ID_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdVariancePopulationFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_FROM_ID_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdVariancePopulationIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdVariancePopulationIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdVariancePopulationMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_MEMO_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdVariancePopulationMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_MEMO_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdVariancePopulationToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TO_ID_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdVariancePopulationToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TO_ID_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdVariancePopulationTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TRANSACTION_ID_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdVariancePopulationTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TRANSACTION_ID_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdVariancePopulationUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdVariancePopulationUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdVarianceSampleAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_AMOUNT_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdVarianceSampleAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_AMOUNT_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdVarianceSampleAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdVarianceSampleAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdVarianceSampleCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdVarianceSampleCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdVarianceSampleCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdVarianceSampleDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_DATETIME_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdVarianceSampleDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_DATETIME_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdVarianceSampleEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdVarianceSampleEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdVarianceSampleEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_ID_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdVarianceSampleEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_ID_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdVarianceSampleExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EXTRINSIC_IDX_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdVarianceSampleExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EXTRINSIC_IDX_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdVarianceSampleFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_FROM_ID_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdVarianceSampleFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_FROM_ID_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdVarianceSampleIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdVarianceSampleIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdVarianceSampleMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_MEMO_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdVarianceSampleMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_MEMO_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdVarianceSampleToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TO_ID_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdVarianceSampleToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TO_ID_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdVarianceSampleTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TRANSACTION_ID_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdVarianceSampleTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TRANSACTION_ID_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdVarianceSampleUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdVarianceSampleUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - ConfidentialAssetHistoriesByCreatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByCreatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdAverageAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_AMOUNT_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdAverageAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_AMOUNT_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdAverageAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_ASSET_ID_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdAverageAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_ASSET_ID_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdAverageCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdAverageCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdAverageCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdAverageCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdAverageDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_DATETIME_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdAverageDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_DATETIME_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdAverageEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_IDX_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdAverageEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_IDX_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdAverageEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_ID_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdAverageEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_ID_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdAverageExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_EXTRINSIC_IDX_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdAverageExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_EXTRINSIC_IDX_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdAverageFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_FROM_ID_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdAverageFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_FROM_ID_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdAverageIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_ID_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdAverageIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_ID_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdAverageMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_MEMO_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdAverageMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_MEMO_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdAverageToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_TO_ID_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdAverageToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_TO_ID_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdAverageTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_TRANSACTION_ID_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdAverageTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_TRANSACTION_ID_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdAverageUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdAverageUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdAverageUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdAverageUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdCountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_COUNT_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdCountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_COUNT_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdDistinctCountAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_AMOUNT_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdDistinctCountAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_AMOUNT_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdDistinctCountAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdDistinctCountAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdDistinctCountCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdDistinctCountCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdDistinctCountCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdDistinctCountDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdDistinctCountDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdDistinctCountEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdDistinctCountEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdDistinctCountEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_ID_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdDistinctCountEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_ID_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdDistinctCountExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EXTRINSIC_IDX_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdDistinctCountExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EXTRINSIC_IDX_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdDistinctCountFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_FROM_ID_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdDistinctCountFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_FROM_ID_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdDistinctCountIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdDistinctCountIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdDistinctCountMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_MEMO_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdDistinctCountMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_MEMO_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdDistinctCountToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TO_ID_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdDistinctCountToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TO_ID_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdDistinctCountTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TRANSACTION_ID_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdDistinctCountTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TRANSACTION_ID_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdDistinctCountUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdDistinctCountUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdDistinctCountUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdDistinctCountUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdMaxAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_AMOUNT_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdMaxAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_AMOUNT_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdMaxAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_ASSET_ID_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdMaxAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_ASSET_ID_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdMaxCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdMaxCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdMaxCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdMaxCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdMaxDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_DATETIME_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdMaxDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_DATETIME_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdMaxEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_EVENT_IDX_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdMaxEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_EVENT_IDX_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdMaxEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_EVENT_ID_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdMaxEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_EVENT_ID_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdMaxExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_EXTRINSIC_IDX_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdMaxExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_EXTRINSIC_IDX_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdMaxFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_FROM_ID_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdMaxFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_FROM_ID_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdMaxIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_ID_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdMaxIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_ID_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdMaxMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_MEMO_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdMaxMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_MEMO_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdMaxToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_TO_ID_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdMaxToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_TO_ID_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdMaxTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_TRANSACTION_ID_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdMaxTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_TRANSACTION_ID_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdMaxUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdMaxUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdMaxUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdMaxUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdMinAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_AMOUNT_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdMinAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_AMOUNT_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdMinAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_ASSET_ID_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdMinAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_ASSET_ID_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdMinCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdMinCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdMinCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdMinCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdMinDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_DATETIME_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdMinDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_DATETIME_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdMinEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_EVENT_IDX_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdMinEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_EVENT_IDX_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdMinEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_EVENT_ID_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdMinEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_EVENT_ID_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdMinExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_EXTRINSIC_IDX_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdMinExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_EXTRINSIC_IDX_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdMinFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_FROM_ID_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdMinFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_FROM_ID_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdMinIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_ID_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdMinIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_ID_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdMinMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_MEMO_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdMinMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_MEMO_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdMinToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_TO_ID_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdMinToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_TO_ID_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdMinTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_TRANSACTION_ID_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdMinTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_TRANSACTION_ID_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdMinUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdMinUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdMinUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdMinUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdStddevPopulationAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_AMOUNT_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdStddevPopulationAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_AMOUNT_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdStddevPopulationAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdStddevPopulationAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdStddevPopulationCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdStddevPopulationCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdStddevPopulationCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdStddevPopulationDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_DATETIME_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdStddevPopulationDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_DATETIME_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdStddevPopulationEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdStddevPopulationEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdStddevPopulationEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_ID_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdStddevPopulationEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_ID_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdStddevPopulationExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EXTRINSIC_IDX_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdStddevPopulationExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EXTRINSIC_IDX_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdStddevPopulationFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_FROM_ID_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdStddevPopulationFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_FROM_ID_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdStddevPopulationIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdStddevPopulationIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdStddevPopulationMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_MEMO_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdStddevPopulationMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_MEMO_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdStddevPopulationToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TO_ID_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdStddevPopulationToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TO_ID_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdStddevPopulationTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TRANSACTION_ID_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdStddevPopulationTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TRANSACTION_ID_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdStddevPopulationUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdStddevPopulationUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdStddevSampleAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_AMOUNT_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdStddevSampleAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_AMOUNT_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdStddevSampleAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdStddevSampleAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdStddevSampleCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdStddevSampleCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdStddevSampleCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdStddevSampleDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_DATETIME_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdStddevSampleDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_DATETIME_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdStddevSampleEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdStddevSampleEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdStddevSampleEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_ID_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdStddevSampleEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_ID_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdStddevSampleExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EXTRINSIC_IDX_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdStddevSampleExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EXTRINSIC_IDX_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdStddevSampleFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_FROM_ID_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdStddevSampleFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_FROM_ID_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdStddevSampleIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdStddevSampleIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdStddevSampleMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_MEMO_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdStddevSampleMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_MEMO_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdStddevSampleToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TO_ID_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdStddevSampleToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TO_ID_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdStddevSampleTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TRANSACTION_ID_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdStddevSampleTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TRANSACTION_ID_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdStddevSampleUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdStddevSampleUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdStddevSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdStddevSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdSumAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_AMOUNT_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdSumAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_AMOUNT_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdSumAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_ASSET_ID_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdSumAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_ASSET_ID_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdSumCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdSumCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdSumCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdSumCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdSumDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_DATETIME_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdSumDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_DATETIME_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdSumEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_EVENT_IDX_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdSumEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_EVENT_IDX_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdSumEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_EVENT_ID_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdSumEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_EVENT_ID_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdSumExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_EXTRINSIC_IDX_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdSumExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_EXTRINSIC_IDX_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdSumFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_FROM_ID_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdSumFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_FROM_ID_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdSumIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_ID_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdSumIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_ID_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdSumMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_MEMO_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdSumMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_MEMO_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdSumToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_TO_ID_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdSumToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_TO_ID_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdSumTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_TRANSACTION_ID_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdSumTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_TRANSACTION_ID_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdSumUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdSumUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdSumUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdSumUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdVariancePopulationAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_AMOUNT_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdVariancePopulationAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_AMOUNT_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdVariancePopulationAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdVariancePopulationAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdVariancePopulationCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdVariancePopulationCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdVariancePopulationCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdVariancePopulationDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_DATETIME_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdVariancePopulationDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_DATETIME_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdVariancePopulationEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdVariancePopulationEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdVariancePopulationEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_ID_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdVariancePopulationEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_ID_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdVariancePopulationExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EXTRINSIC_IDX_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdVariancePopulationExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EXTRINSIC_IDX_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdVariancePopulationFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_FROM_ID_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdVariancePopulationFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_FROM_ID_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdVariancePopulationIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdVariancePopulationIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdVariancePopulationMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_MEMO_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdVariancePopulationMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_MEMO_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdVariancePopulationToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TO_ID_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdVariancePopulationToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TO_ID_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdVariancePopulationTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TRANSACTION_ID_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdVariancePopulationTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TRANSACTION_ID_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdVariancePopulationUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdVariancePopulationUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdVarianceSampleAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_AMOUNT_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdVarianceSampleAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_AMOUNT_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdVarianceSampleAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdVarianceSampleAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdVarianceSampleCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdVarianceSampleCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdVarianceSampleCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdVarianceSampleDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_DATETIME_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdVarianceSampleDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_DATETIME_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdVarianceSampleEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdVarianceSampleEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdVarianceSampleEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_ID_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdVarianceSampleEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_ID_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdVarianceSampleExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EXTRINSIC_IDX_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdVarianceSampleExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EXTRINSIC_IDX_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdVarianceSampleFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_FROM_ID_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdVarianceSampleFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_FROM_ID_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdVarianceSampleIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdVarianceSampleIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdVarianceSampleMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_MEMO_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdVarianceSampleMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_MEMO_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdVarianceSampleToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TO_ID_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdVarianceSampleToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TO_ID_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdVarianceSampleTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TRANSACTION_ID_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdVarianceSampleTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TRANSACTION_ID_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdVarianceSampleUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdVarianceSampleUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - ConfidentialAssetHistoriesByUpdatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByUpdatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHoldersByCreatedBlockIdAverageAccountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_ACCOUNT_ID_ASC', - ConfidentialAssetHoldersByCreatedBlockIdAverageAccountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_ACCOUNT_ID_DESC', - ConfidentialAssetHoldersByCreatedBlockIdAverageAmountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_AMOUNT_ASC', - ConfidentialAssetHoldersByCreatedBlockIdAverageAmountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_AMOUNT_DESC', - ConfidentialAssetHoldersByCreatedBlockIdAverageAssetIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_ASSET_ID_ASC', - ConfidentialAssetHoldersByCreatedBlockIdAverageAssetIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_ASSET_ID_DESC', - ConfidentialAssetHoldersByCreatedBlockIdAverageCreatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - ConfidentialAssetHoldersByCreatedBlockIdAverageCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - ConfidentialAssetHoldersByCreatedBlockIdAverageCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHoldersByCreatedBlockIdAverageCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHoldersByCreatedBlockIdAverageEventIdxAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_IDX_ASC', - ConfidentialAssetHoldersByCreatedBlockIdAverageEventIdxDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_IDX_DESC', - ConfidentialAssetHoldersByCreatedBlockIdAverageIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_ID_ASC', - ConfidentialAssetHoldersByCreatedBlockIdAverageIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_ID_DESC', - ConfidentialAssetHoldersByCreatedBlockIdAverageUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - ConfidentialAssetHoldersByCreatedBlockIdAverageUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - ConfidentialAssetHoldersByCreatedBlockIdAverageUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHoldersByCreatedBlockIdAverageUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHoldersByCreatedBlockIdCountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_COUNT_ASC', - ConfidentialAssetHoldersByCreatedBlockIdCountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_COUNT_DESC', - ConfidentialAssetHoldersByCreatedBlockIdDistinctCountAccountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ACCOUNT_ID_ASC', - ConfidentialAssetHoldersByCreatedBlockIdDistinctCountAccountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ACCOUNT_ID_DESC', - ConfidentialAssetHoldersByCreatedBlockIdDistinctCountAmountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_AMOUNT_ASC', - ConfidentialAssetHoldersByCreatedBlockIdDistinctCountAmountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_AMOUNT_DESC', - ConfidentialAssetHoldersByCreatedBlockIdDistinctCountAssetIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_ASC', - ConfidentialAssetHoldersByCreatedBlockIdDistinctCountAssetIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_DESC', - ConfidentialAssetHoldersByCreatedBlockIdDistinctCountCreatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - ConfidentialAssetHoldersByCreatedBlockIdDistinctCountCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - ConfidentialAssetHoldersByCreatedBlockIdDistinctCountCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHoldersByCreatedBlockIdDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHoldersByCreatedBlockIdDistinctCountEventIdxAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_ASC', - ConfidentialAssetHoldersByCreatedBlockIdDistinctCountEventIdxDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_DESC', - ConfidentialAssetHoldersByCreatedBlockIdDistinctCountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - ConfidentialAssetHoldersByCreatedBlockIdDistinctCountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - ConfidentialAssetHoldersByCreatedBlockIdDistinctCountUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - ConfidentialAssetHoldersByCreatedBlockIdDistinctCountUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - ConfidentialAssetHoldersByCreatedBlockIdDistinctCountUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHoldersByCreatedBlockIdDistinctCountUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHoldersByCreatedBlockIdMaxAccountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MAX_ACCOUNT_ID_ASC', - ConfidentialAssetHoldersByCreatedBlockIdMaxAccountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MAX_ACCOUNT_ID_DESC', - ConfidentialAssetHoldersByCreatedBlockIdMaxAmountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MAX_AMOUNT_ASC', - ConfidentialAssetHoldersByCreatedBlockIdMaxAmountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MAX_AMOUNT_DESC', - ConfidentialAssetHoldersByCreatedBlockIdMaxAssetIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MAX_ASSET_ID_ASC', - ConfidentialAssetHoldersByCreatedBlockIdMaxAssetIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MAX_ASSET_ID_DESC', - ConfidentialAssetHoldersByCreatedBlockIdMaxCreatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_ASC', - ConfidentialAssetHoldersByCreatedBlockIdMaxCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_DESC', - ConfidentialAssetHoldersByCreatedBlockIdMaxCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHoldersByCreatedBlockIdMaxCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHoldersByCreatedBlockIdMaxEventIdxAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MAX_EVENT_IDX_ASC', - ConfidentialAssetHoldersByCreatedBlockIdMaxEventIdxDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MAX_EVENT_IDX_DESC', - ConfidentialAssetHoldersByCreatedBlockIdMaxIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MAX_ID_ASC', - ConfidentialAssetHoldersByCreatedBlockIdMaxIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MAX_ID_DESC', - ConfidentialAssetHoldersByCreatedBlockIdMaxUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - ConfidentialAssetHoldersByCreatedBlockIdMaxUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - ConfidentialAssetHoldersByCreatedBlockIdMaxUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHoldersByCreatedBlockIdMaxUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHoldersByCreatedBlockIdMinAccountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MIN_ACCOUNT_ID_ASC', - ConfidentialAssetHoldersByCreatedBlockIdMinAccountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MIN_ACCOUNT_ID_DESC', - ConfidentialAssetHoldersByCreatedBlockIdMinAmountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MIN_AMOUNT_ASC', - ConfidentialAssetHoldersByCreatedBlockIdMinAmountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MIN_AMOUNT_DESC', - ConfidentialAssetHoldersByCreatedBlockIdMinAssetIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MIN_ASSET_ID_ASC', - ConfidentialAssetHoldersByCreatedBlockIdMinAssetIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MIN_ASSET_ID_DESC', - ConfidentialAssetHoldersByCreatedBlockIdMinCreatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_ASC', - ConfidentialAssetHoldersByCreatedBlockIdMinCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_DESC', - ConfidentialAssetHoldersByCreatedBlockIdMinCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHoldersByCreatedBlockIdMinCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHoldersByCreatedBlockIdMinEventIdxAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MIN_EVENT_IDX_ASC', - ConfidentialAssetHoldersByCreatedBlockIdMinEventIdxDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MIN_EVENT_IDX_DESC', - ConfidentialAssetHoldersByCreatedBlockIdMinIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MIN_ID_ASC', - ConfidentialAssetHoldersByCreatedBlockIdMinIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MIN_ID_DESC', - ConfidentialAssetHoldersByCreatedBlockIdMinUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - ConfidentialAssetHoldersByCreatedBlockIdMinUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - ConfidentialAssetHoldersByCreatedBlockIdMinUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHoldersByCreatedBlockIdMinUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHoldersByCreatedBlockIdStddevPopulationAccountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ACCOUNT_ID_ASC', - ConfidentialAssetHoldersByCreatedBlockIdStddevPopulationAccountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ACCOUNT_ID_DESC', - ConfidentialAssetHoldersByCreatedBlockIdStddevPopulationAmountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_AMOUNT_ASC', - ConfidentialAssetHoldersByCreatedBlockIdStddevPopulationAmountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_AMOUNT_DESC', - ConfidentialAssetHoldersByCreatedBlockIdStddevPopulationAssetIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_ASC', - ConfidentialAssetHoldersByCreatedBlockIdStddevPopulationAssetIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_DESC', - ConfidentialAssetHoldersByCreatedBlockIdStddevPopulationCreatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - ConfidentialAssetHoldersByCreatedBlockIdStddevPopulationCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - ConfidentialAssetHoldersByCreatedBlockIdStddevPopulationCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHoldersByCreatedBlockIdStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHoldersByCreatedBlockIdStddevPopulationEventIdxAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_ASC', - ConfidentialAssetHoldersByCreatedBlockIdStddevPopulationEventIdxDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_DESC', - ConfidentialAssetHoldersByCreatedBlockIdStddevPopulationIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - ConfidentialAssetHoldersByCreatedBlockIdStddevPopulationIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - ConfidentialAssetHoldersByCreatedBlockIdStddevPopulationUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - ConfidentialAssetHoldersByCreatedBlockIdStddevPopulationUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - ConfidentialAssetHoldersByCreatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHoldersByCreatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHoldersByCreatedBlockIdStddevSampleAccountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ACCOUNT_ID_ASC', - ConfidentialAssetHoldersByCreatedBlockIdStddevSampleAccountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ACCOUNT_ID_DESC', - ConfidentialAssetHoldersByCreatedBlockIdStddevSampleAmountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_AMOUNT_ASC', - ConfidentialAssetHoldersByCreatedBlockIdStddevSampleAmountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_AMOUNT_DESC', - ConfidentialAssetHoldersByCreatedBlockIdStddevSampleAssetIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_ASC', - ConfidentialAssetHoldersByCreatedBlockIdStddevSampleAssetIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_DESC', - ConfidentialAssetHoldersByCreatedBlockIdStddevSampleCreatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - ConfidentialAssetHoldersByCreatedBlockIdStddevSampleCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - ConfidentialAssetHoldersByCreatedBlockIdStddevSampleCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHoldersByCreatedBlockIdStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHoldersByCreatedBlockIdStddevSampleEventIdxAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', - ConfidentialAssetHoldersByCreatedBlockIdStddevSampleEventIdxDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', - ConfidentialAssetHoldersByCreatedBlockIdStddevSampleIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - ConfidentialAssetHoldersByCreatedBlockIdStddevSampleIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - ConfidentialAssetHoldersByCreatedBlockIdStddevSampleUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - ConfidentialAssetHoldersByCreatedBlockIdStddevSampleUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - ConfidentialAssetHoldersByCreatedBlockIdStddevSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHoldersByCreatedBlockIdStddevSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHoldersByCreatedBlockIdSumAccountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_SUM_ACCOUNT_ID_ASC', - ConfidentialAssetHoldersByCreatedBlockIdSumAccountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_SUM_ACCOUNT_ID_DESC', - ConfidentialAssetHoldersByCreatedBlockIdSumAmountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_SUM_AMOUNT_ASC', - ConfidentialAssetHoldersByCreatedBlockIdSumAmountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_SUM_AMOUNT_DESC', - ConfidentialAssetHoldersByCreatedBlockIdSumAssetIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_SUM_ASSET_ID_ASC', - ConfidentialAssetHoldersByCreatedBlockIdSumAssetIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_SUM_ASSET_ID_DESC', - ConfidentialAssetHoldersByCreatedBlockIdSumCreatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_ASC', - ConfidentialAssetHoldersByCreatedBlockIdSumCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_DESC', - ConfidentialAssetHoldersByCreatedBlockIdSumCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHoldersByCreatedBlockIdSumCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHoldersByCreatedBlockIdSumEventIdxAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_SUM_EVENT_IDX_ASC', - ConfidentialAssetHoldersByCreatedBlockIdSumEventIdxDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_SUM_EVENT_IDX_DESC', - ConfidentialAssetHoldersByCreatedBlockIdSumIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_SUM_ID_ASC', - ConfidentialAssetHoldersByCreatedBlockIdSumIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_SUM_ID_DESC', - ConfidentialAssetHoldersByCreatedBlockIdSumUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - ConfidentialAssetHoldersByCreatedBlockIdSumUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - ConfidentialAssetHoldersByCreatedBlockIdSumUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHoldersByCreatedBlockIdSumUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHoldersByCreatedBlockIdVariancePopulationAccountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ACCOUNT_ID_ASC', - ConfidentialAssetHoldersByCreatedBlockIdVariancePopulationAccountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ACCOUNT_ID_DESC', - ConfidentialAssetHoldersByCreatedBlockIdVariancePopulationAmountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_AMOUNT_ASC', - ConfidentialAssetHoldersByCreatedBlockIdVariancePopulationAmountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_AMOUNT_DESC', - ConfidentialAssetHoldersByCreatedBlockIdVariancePopulationAssetIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_ASC', - ConfidentialAssetHoldersByCreatedBlockIdVariancePopulationAssetIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_DESC', - ConfidentialAssetHoldersByCreatedBlockIdVariancePopulationCreatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - ConfidentialAssetHoldersByCreatedBlockIdVariancePopulationCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - ConfidentialAssetHoldersByCreatedBlockIdVariancePopulationCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHoldersByCreatedBlockIdVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHoldersByCreatedBlockIdVariancePopulationEventIdxAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', - ConfidentialAssetHoldersByCreatedBlockIdVariancePopulationEventIdxDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', - ConfidentialAssetHoldersByCreatedBlockIdVariancePopulationIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - ConfidentialAssetHoldersByCreatedBlockIdVariancePopulationIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - ConfidentialAssetHoldersByCreatedBlockIdVariancePopulationUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - ConfidentialAssetHoldersByCreatedBlockIdVariancePopulationUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - ConfidentialAssetHoldersByCreatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHoldersByCreatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHoldersByCreatedBlockIdVarianceSampleAccountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ACCOUNT_ID_ASC', - ConfidentialAssetHoldersByCreatedBlockIdVarianceSampleAccountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ACCOUNT_ID_DESC', - ConfidentialAssetHoldersByCreatedBlockIdVarianceSampleAmountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_AMOUNT_ASC', - ConfidentialAssetHoldersByCreatedBlockIdVarianceSampleAmountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_AMOUNT_DESC', - ConfidentialAssetHoldersByCreatedBlockIdVarianceSampleAssetIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_ASC', - ConfidentialAssetHoldersByCreatedBlockIdVarianceSampleAssetIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_DESC', - ConfidentialAssetHoldersByCreatedBlockIdVarianceSampleCreatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - ConfidentialAssetHoldersByCreatedBlockIdVarianceSampleCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - ConfidentialAssetHoldersByCreatedBlockIdVarianceSampleCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHoldersByCreatedBlockIdVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHoldersByCreatedBlockIdVarianceSampleEventIdxAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', - ConfidentialAssetHoldersByCreatedBlockIdVarianceSampleEventIdxDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', - ConfidentialAssetHoldersByCreatedBlockIdVarianceSampleIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - ConfidentialAssetHoldersByCreatedBlockIdVarianceSampleIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - ConfidentialAssetHoldersByCreatedBlockIdVarianceSampleUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - ConfidentialAssetHoldersByCreatedBlockIdVarianceSampleUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - ConfidentialAssetHoldersByCreatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHoldersByCreatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdAverageAccountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_ACCOUNT_ID_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdAverageAccountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_ACCOUNT_ID_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdAverageAmountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_AMOUNT_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdAverageAmountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_AMOUNT_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdAverageAssetIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_ASSET_ID_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdAverageAssetIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_ASSET_ID_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdAverageCreatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdAverageCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdAverageCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdAverageCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdAverageEventIdxAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_IDX_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdAverageEventIdxDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_IDX_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdAverageIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdAverageIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdAverageUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdAverageUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdAverageUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdAverageUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdCountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_COUNT_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdCountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_COUNT_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdDistinctCountAccountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ACCOUNT_ID_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdDistinctCountAccountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ACCOUNT_ID_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdDistinctCountAmountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_AMOUNT_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdDistinctCountAmountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_AMOUNT_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdDistinctCountAssetIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdDistinctCountAssetIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdDistinctCountCreatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdDistinctCountCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdDistinctCountCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdDistinctCountEventIdxAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdDistinctCountEventIdxDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdDistinctCountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdDistinctCountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdDistinctCountUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdDistinctCountUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdDistinctCountUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdDistinctCountUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdMaxAccountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_ACCOUNT_ID_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdMaxAccountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_ACCOUNT_ID_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdMaxAmountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_AMOUNT_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdMaxAmountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_AMOUNT_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdMaxAssetIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_ASSET_ID_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdMaxAssetIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_ASSET_ID_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdMaxCreatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdMaxCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdMaxCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdMaxCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdMaxEventIdxAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_EVENT_IDX_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdMaxEventIdxDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_EVENT_IDX_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdMaxIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_ID_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdMaxIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_ID_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdMaxUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdMaxUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdMaxUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdMaxUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdMinAccountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_ACCOUNT_ID_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdMinAccountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_ACCOUNT_ID_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdMinAmountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_AMOUNT_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdMinAmountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_AMOUNT_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdMinAssetIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_ASSET_ID_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdMinAssetIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_ASSET_ID_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdMinCreatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdMinCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdMinCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdMinCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdMinEventIdxAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_EVENT_IDX_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdMinEventIdxDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_EVENT_IDX_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdMinIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_ID_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdMinIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_ID_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdMinUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdMinUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdMinUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdMinUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdStddevPopulationAccountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ACCOUNT_ID_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdStddevPopulationAccountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ACCOUNT_ID_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdStddevPopulationAmountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_AMOUNT_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdStddevPopulationAmountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_AMOUNT_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdStddevPopulationAssetIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdStddevPopulationAssetIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdStddevPopulationCreatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdStddevPopulationCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdStddevPopulationCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdStddevPopulationEventIdxAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdStddevPopulationEventIdxDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdStddevPopulationIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdStddevPopulationIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdStddevPopulationUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdStddevPopulationUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdStddevSampleAccountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ACCOUNT_ID_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdStddevSampleAccountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ACCOUNT_ID_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdStddevSampleAmountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_AMOUNT_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdStddevSampleAmountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_AMOUNT_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdStddevSampleAssetIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdStddevSampleAssetIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdStddevSampleCreatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdStddevSampleCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdStddevSampleCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdStddevSampleEventIdxAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdStddevSampleEventIdxDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdStddevSampleIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdStddevSampleIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdStddevSampleUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdStddevSampleUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdStddevSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdStddevSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdSumAccountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_ACCOUNT_ID_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdSumAccountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_ACCOUNT_ID_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdSumAmountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_AMOUNT_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdSumAmountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_AMOUNT_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdSumAssetIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_ASSET_ID_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdSumAssetIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_ASSET_ID_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdSumCreatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdSumCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdSumCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdSumCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdSumEventIdxAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_EVENT_IDX_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdSumEventIdxDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_EVENT_IDX_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdSumIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_ID_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdSumIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_ID_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdSumUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdSumUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdSumUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdSumUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdVariancePopulationAccountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ACCOUNT_ID_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdVariancePopulationAccountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ACCOUNT_ID_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdVariancePopulationAmountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_AMOUNT_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdVariancePopulationAmountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_AMOUNT_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdVariancePopulationAssetIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdVariancePopulationAssetIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdVariancePopulationCreatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdVariancePopulationCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdVariancePopulationCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdVariancePopulationEventIdxAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdVariancePopulationEventIdxDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdVariancePopulationIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdVariancePopulationIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdVariancePopulationUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdVariancePopulationUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdVarianceSampleAccountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ACCOUNT_ID_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdVarianceSampleAccountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ACCOUNT_ID_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdVarianceSampleAmountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_AMOUNT_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdVarianceSampleAmountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_AMOUNT_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdVarianceSampleAssetIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdVarianceSampleAssetIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdVarianceSampleCreatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdVarianceSampleCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdVarianceSampleCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdVarianceSampleEventIdxAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdVarianceSampleEventIdxDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdVarianceSampleIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdVarianceSampleIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdVarianceSampleUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdVarianceSampleUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - ConfidentialAssetHoldersByUpdatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHoldersByUpdatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - ConfidentialLegsByCreatedBlockIdAverageAssetAuditorsAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_AVERAGE_ASSET_AUDITORS_ASC', - ConfidentialLegsByCreatedBlockIdAverageAssetAuditorsDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_AVERAGE_ASSET_AUDITORS_DESC', - ConfidentialLegsByCreatedBlockIdAverageCreatedAtAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - ConfidentialLegsByCreatedBlockIdAverageCreatedAtDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - ConfidentialLegsByCreatedBlockIdAverageCreatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - ConfidentialLegsByCreatedBlockIdAverageCreatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - ConfidentialLegsByCreatedBlockIdAverageIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_AVERAGE_ID_ASC', - ConfidentialLegsByCreatedBlockIdAverageIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_AVERAGE_ID_DESC', - ConfidentialLegsByCreatedBlockIdAverageMediatorsAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_AVERAGE_MEDIATORS_ASC', - ConfidentialLegsByCreatedBlockIdAverageMediatorsDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_AVERAGE_MEDIATORS_DESC', - ConfidentialLegsByCreatedBlockIdAverageReceiverIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_AVERAGE_RECEIVER_ID_ASC', - ConfidentialLegsByCreatedBlockIdAverageReceiverIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_AVERAGE_RECEIVER_ID_DESC', - ConfidentialLegsByCreatedBlockIdAverageSenderIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_AVERAGE_SENDER_ID_ASC', - ConfidentialLegsByCreatedBlockIdAverageSenderIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_AVERAGE_SENDER_ID_DESC', - ConfidentialLegsByCreatedBlockIdAverageTransactionIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_AVERAGE_TRANSACTION_ID_ASC', - ConfidentialLegsByCreatedBlockIdAverageTransactionIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_AVERAGE_TRANSACTION_ID_DESC', - ConfidentialLegsByCreatedBlockIdAverageUpdatedAtAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - ConfidentialLegsByCreatedBlockIdAverageUpdatedAtDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - ConfidentialLegsByCreatedBlockIdAverageUpdatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - ConfidentialLegsByCreatedBlockIdAverageUpdatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - ConfidentialLegsByCreatedBlockIdCountAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_COUNT_ASC', - ConfidentialLegsByCreatedBlockIdCountDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_COUNT_DESC', - ConfidentialLegsByCreatedBlockIdDistinctCountAssetAuditorsAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ASSET_AUDITORS_ASC', - ConfidentialLegsByCreatedBlockIdDistinctCountAssetAuditorsDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ASSET_AUDITORS_DESC', - ConfidentialLegsByCreatedBlockIdDistinctCountCreatedAtAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - ConfidentialLegsByCreatedBlockIdDistinctCountCreatedAtDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - ConfidentialLegsByCreatedBlockIdDistinctCountCreatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - ConfidentialLegsByCreatedBlockIdDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - ConfidentialLegsByCreatedBlockIdDistinctCountIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - ConfidentialLegsByCreatedBlockIdDistinctCountIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - ConfidentialLegsByCreatedBlockIdDistinctCountMediatorsAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_MEDIATORS_ASC', - ConfidentialLegsByCreatedBlockIdDistinctCountMediatorsDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_MEDIATORS_DESC', - ConfidentialLegsByCreatedBlockIdDistinctCountReceiverIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_RECEIVER_ID_ASC', - ConfidentialLegsByCreatedBlockIdDistinctCountReceiverIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_RECEIVER_ID_DESC', - ConfidentialLegsByCreatedBlockIdDistinctCountSenderIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_SENDER_ID_ASC', - ConfidentialLegsByCreatedBlockIdDistinctCountSenderIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_SENDER_ID_DESC', - ConfidentialLegsByCreatedBlockIdDistinctCountTransactionIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TRANSACTION_ID_ASC', - ConfidentialLegsByCreatedBlockIdDistinctCountTransactionIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TRANSACTION_ID_DESC', - ConfidentialLegsByCreatedBlockIdDistinctCountUpdatedAtAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - ConfidentialLegsByCreatedBlockIdDistinctCountUpdatedAtDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - ConfidentialLegsByCreatedBlockIdDistinctCountUpdatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - ConfidentialLegsByCreatedBlockIdDistinctCountUpdatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - ConfidentialLegsByCreatedBlockIdMaxAssetAuditorsAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MAX_ASSET_AUDITORS_ASC', - ConfidentialLegsByCreatedBlockIdMaxAssetAuditorsDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MAX_ASSET_AUDITORS_DESC', - ConfidentialLegsByCreatedBlockIdMaxCreatedAtAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_ASC', - ConfidentialLegsByCreatedBlockIdMaxCreatedAtDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_DESC', - ConfidentialLegsByCreatedBlockIdMaxCreatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - ConfidentialLegsByCreatedBlockIdMaxCreatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - ConfidentialLegsByCreatedBlockIdMaxIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MAX_ID_ASC', - ConfidentialLegsByCreatedBlockIdMaxIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MAX_ID_DESC', - ConfidentialLegsByCreatedBlockIdMaxMediatorsAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MAX_MEDIATORS_ASC', - ConfidentialLegsByCreatedBlockIdMaxMediatorsDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MAX_MEDIATORS_DESC', - ConfidentialLegsByCreatedBlockIdMaxReceiverIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MAX_RECEIVER_ID_ASC', - ConfidentialLegsByCreatedBlockIdMaxReceiverIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MAX_RECEIVER_ID_DESC', - ConfidentialLegsByCreatedBlockIdMaxSenderIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MAX_SENDER_ID_ASC', - ConfidentialLegsByCreatedBlockIdMaxSenderIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MAX_SENDER_ID_DESC', - ConfidentialLegsByCreatedBlockIdMaxTransactionIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MAX_TRANSACTION_ID_ASC', - ConfidentialLegsByCreatedBlockIdMaxTransactionIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MAX_TRANSACTION_ID_DESC', - ConfidentialLegsByCreatedBlockIdMaxUpdatedAtAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - ConfidentialLegsByCreatedBlockIdMaxUpdatedAtDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - ConfidentialLegsByCreatedBlockIdMaxUpdatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - ConfidentialLegsByCreatedBlockIdMaxUpdatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - ConfidentialLegsByCreatedBlockIdMinAssetAuditorsAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MIN_ASSET_AUDITORS_ASC', - ConfidentialLegsByCreatedBlockIdMinAssetAuditorsDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MIN_ASSET_AUDITORS_DESC', - ConfidentialLegsByCreatedBlockIdMinCreatedAtAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_ASC', - ConfidentialLegsByCreatedBlockIdMinCreatedAtDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_DESC', - ConfidentialLegsByCreatedBlockIdMinCreatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - ConfidentialLegsByCreatedBlockIdMinCreatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - ConfidentialLegsByCreatedBlockIdMinIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MIN_ID_ASC', - ConfidentialLegsByCreatedBlockIdMinIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MIN_ID_DESC', - ConfidentialLegsByCreatedBlockIdMinMediatorsAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MIN_MEDIATORS_ASC', - ConfidentialLegsByCreatedBlockIdMinMediatorsDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MIN_MEDIATORS_DESC', - ConfidentialLegsByCreatedBlockIdMinReceiverIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MIN_RECEIVER_ID_ASC', - ConfidentialLegsByCreatedBlockIdMinReceiverIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MIN_RECEIVER_ID_DESC', - ConfidentialLegsByCreatedBlockIdMinSenderIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MIN_SENDER_ID_ASC', - ConfidentialLegsByCreatedBlockIdMinSenderIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MIN_SENDER_ID_DESC', - ConfidentialLegsByCreatedBlockIdMinTransactionIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MIN_TRANSACTION_ID_ASC', - ConfidentialLegsByCreatedBlockIdMinTransactionIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MIN_TRANSACTION_ID_DESC', - ConfidentialLegsByCreatedBlockIdMinUpdatedAtAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - ConfidentialLegsByCreatedBlockIdMinUpdatedAtDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - ConfidentialLegsByCreatedBlockIdMinUpdatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - ConfidentialLegsByCreatedBlockIdMinUpdatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - ConfidentialLegsByCreatedBlockIdStddevPopulationAssetAuditorsAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ASSET_AUDITORS_ASC', - ConfidentialLegsByCreatedBlockIdStddevPopulationAssetAuditorsDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ASSET_AUDITORS_DESC', - ConfidentialLegsByCreatedBlockIdStddevPopulationCreatedAtAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - ConfidentialLegsByCreatedBlockIdStddevPopulationCreatedAtDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - ConfidentialLegsByCreatedBlockIdStddevPopulationCreatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - ConfidentialLegsByCreatedBlockIdStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - ConfidentialLegsByCreatedBlockIdStddevPopulationIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - ConfidentialLegsByCreatedBlockIdStddevPopulationIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - ConfidentialLegsByCreatedBlockIdStddevPopulationMediatorsAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_MEDIATORS_ASC', - ConfidentialLegsByCreatedBlockIdStddevPopulationMediatorsDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_MEDIATORS_DESC', - ConfidentialLegsByCreatedBlockIdStddevPopulationReceiverIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_RECEIVER_ID_ASC', - ConfidentialLegsByCreatedBlockIdStddevPopulationReceiverIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_RECEIVER_ID_DESC', - ConfidentialLegsByCreatedBlockIdStddevPopulationSenderIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_SENDER_ID_ASC', - ConfidentialLegsByCreatedBlockIdStddevPopulationSenderIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_SENDER_ID_DESC', - ConfidentialLegsByCreatedBlockIdStddevPopulationTransactionIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TRANSACTION_ID_ASC', - ConfidentialLegsByCreatedBlockIdStddevPopulationTransactionIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TRANSACTION_ID_DESC', - ConfidentialLegsByCreatedBlockIdStddevPopulationUpdatedAtAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - ConfidentialLegsByCreatedBlockIdStddevPopulationUpdatedAtDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - ConfidentialLegsByCreatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - ConfidentialLegsByCreatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - ConfidentialLegsByCreatedBlockIdStddevSampleAssetAuditorsAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_AUDITORS_ASC', - ConfidentialLegsByCreatedBlockIdStddevSampleAssetAuditorsDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_AUDITORS_DESC', - ConfidentialLegsByCreatedBlockIdStddevSampleCreatedAtAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - ConfidentialLegsByCreatedBlockIdStddevSampleCreatedAtDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - ConfidentialLegsByCreatedBlockIdStddevSampleCreatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - ConfidentialLegsByCreatedBlockIdStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - ConfidentialLegsByCreatedBlockIdStddevSampleIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - ConfidentialLegsByCreatedBlockIdStddevSampleIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - ConfidentialLegsByCreatedBlockIdStddevSampleMediatorsAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_MEDIATORS_ASC', - ConfidentialLegsByCreatedBlockIdStddevSampleMediatorsDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_MEDIATORS_DESC', - ConfidentialLegsByCreatedBlockIdStddevSampleReceiverIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_RECEIVER_ID_ASC', - ConfidentialLegsByCreatedBlockIdStddevSampleReceiverIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_RECEIVER_ID_DESC', - ConfidentialLegsByCreatedBlockIdStddevSampleSenderIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_SENDER_ID_ASC', - ConfidentialLegsByCreatedBlockIdStddevSampleSenderIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_SENDER_ID_DESC', - ConfidentialLegsByCreatedBlockIdStddevSampleTransactionIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TRANSACTION_ID_ASC', - ConfidentialLegsByCreatedBlockIdStddevSampleTransactionIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TRANSACTION_ID_DESC', - ConfidentialLegsByCreatedBlockIdStddevSampleUpdatedAtAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - ConfidentialLegsByCreatedBlockIdStddevSampleUpdatedAtDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - ConfidentialLegsByCreatedBlockIdStddevSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - ConfidentialLegsByCreatedBlockIdStddevSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - ConfidentialLegsByCreatedBlockIdSumAssetAuditorsAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_SUM_ASSET_AUDITORS_ASC', - ConfidentialLegsByCreatedBlockIdSumAssetAuditorsDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_SUM_ASSET_AUDITORS_DESC', - ConfidentialLegsByCreatedBlockIdSumCreatedAtAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_ASC', - ConfidentialLegsByCreatedBlockIdSumCreatedAtDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_DESC', - ConfidentialLegsByCreatedBlockIdSumCreatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - ConfidentialLegsByCreatedBlockIdSumCreatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - ConfidentialLegsByCreatedBlockIdSumIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_SUM_ID_ASC', - ConfidentialLegsByCreatedBlockIdSumIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_SUM_ID_DESC', - ConfidentialLegsByCreatedBlockIdSumMediatorsAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_SUM_MEDIATORS_ASC', - ConfidentialLegsByCreatedBlockIdSumMediatorsDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_SUM_MEDIATORS_DESC', - ConfidentialLegsByCreatedBlockIdSumReceiverIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_SUM_RECEIVER_ID_ASC', - ConfidentialLegsByCreatedBlockIdSumReceiverIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_SUM_RECEIVER_ID_DESC', - ConfidentialLegsByCreatedBlockIdSumSenderIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_SUM_SENDER_ID_ASC', - ConfidentialLegsByCreatedBlockIdSumSenderIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_SUM_SENDER_ID_DESC', - ConfidentialLegsByCreatedBlockIdSumTransactionIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_SUM_TRANSACTION_ID_ASC', - ConfidentialLegsByCreatedBlockIdSumTransactionIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_SUM_TRANSACTION_ID_DESC', - ConfidentialLegsByCreatedBlockIdSumUpdatedAtAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - ConfidentialLegsByCreatedBlockIdSumUpdatedAtDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - ConfidentialLegsByCreatedBlockIdSumUpdatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - ConfidentialLegsByCreatedBlockIdSumUpdatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - ConfidentialLegsByCreatedBlockIdVariancePopulationAssetAuditorsAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_AUDITORS_ASC', - ConfidentialLegsByCreatedBlockIdVariancePopulationAssetAuditorsDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_AUDITORS_DESC', - ConfidentialLegsByCreatedBlockIdVariancePopulationCreatedAtAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - ConfidentialLegsByCreatedBlockIdVariancePopulationCreatedAtDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - ConfidentialLegsByCreatedBlockIdVariancePopulationCreatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - ConfidentialLegsByCreatedBlockIdVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - ConfidentialLegsByCreatedBlockIdVariancePopulationIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - ConfidentialLegsByCreatedBlockIdVariancePopulationIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - ConfidentialLegsByCreatedBlockIdVariancePopulationMediatorsAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_MEDIATORS_ASC', - ConfidentialLegsByCreatedBlockIdVariancePopulationMediatorsDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_MEDIATORS_DESC', - ConfidentialLegsByCreatedBlockIdVariancePopulationReceiverIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_RECEIVER_ID_ASC', - ConfidentialLegsByCreatedBlockIdVariancePopulationReceiverIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_RECEIVER_ID_DESC', - ConfidentialLegsByCreatedBlockIdVariancePopulationSenderIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_SENDER_ID_ASC', - ConfidentialLegsByCreatedBlockIdVariancePopulationSenderIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_SENDER_ID_DESC', - ConfidentialLegsByCreatedBlockIdVariancePopulationTransactionIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TRANSACTION_ID_ASC', - ConfidentialLegsByCreatedBlockIdVariancePopulationTransactionIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TRANSACTION_ID_DESC', - ConfidentialLegsByCreatedBlockIdVariancePopulationUpdatedAtAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - ConfidentialLegsByCreatedBlockIdVariancePopulationUpdatedAtDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - ConfidentialLegsByCreatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - ConfidentialLegsByCreatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - ConfidentialLegsByCreatedBlockIdVarianceSampleAssetAuditorsAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_AUDITORS_ASC', - ConfidentialLegsByCreatedBlockIdVarianceSampleAssetAuditorsDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_AUDITORS_DESC', - ConfidentialLegsByCreatedBlockIdVarianceSampleCreatedAtAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - ConfidentialLegsByCreatedBlockIdVarianceSampleCreatedAtDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - ConfidentialLegsByCreatedBlockIdVarianceSampleCreatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - ConfidentialLegsByCreatedBlockIdVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - ConfidentialLegsByCreatedBlockIdVarianceSampleIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - ConfidentialLegsByCreatedBlockIdVarianceSampleIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - ConfidentialLegsByCreatedBlockIdVarianceSampleMediatorsAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_MEDIATORS_ASC', - ConfidentialLegsByCreatedBlockIdVarianceSampleMediatorsDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_MEDIATORS_DESC', - ConfidentialLegsByCreatedBlockIdVarianceSampleReceiverIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_RECEIVER_ID_ASC', - ConfidentialLegsByCreatedBlockIdVarianceSampleReceiverIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_RECEIVER_ID_DESC', - ConfidentialLegsByCreatedBlockIdVarianceSampleSenderIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_SENDER_ID_ASC', - ConfidentialLegsByCreatedBlockIdVarianceSampleSenderIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_SENDER_ID_DESC', - ConfidentialLegsByCreatedBlockIdVarianceSampleTransactionIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TRANSACTION_ID_ASC', - ConfidentialLegsByCreatedBlockIdVarianceSampleTransactionIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TRANSACTION_ID_DESC', - ConfidentialLegsByCreatedBlockIdVarianceSampleUpdatedAtAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - ConfidentialLegsByCreatedBlockIdVarianceSampleUpdatedAtDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - ConfidentialLegsByCreatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - ConfidentialLegsByCreatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - ConfidentialLegsByUpdatedBlockIdAverageAssetAuditorsAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_AVERAGE_ASSET_AUDITORS_ASC', - ConfidentialLegsByUpdatedBlockIdAverageAssetAuditorsDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_AVERAGE_ASSET_AUDITORS_DESC', - ConfidentialLegsByUpdatedBlockIdAverageCreatedAtAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - ConfidentialLegsByUpdatedBlockIdAverageCreatedAtDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - ConfidentialLegsByUpdatedBlockIdAverageCreatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - ConfidentialLegsByUpdatedBlockIdAverageCreatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - ConfidentialLegsByUpdatedBlockIdAverageIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_ASC', - ConfidentialLegsByUpdatedBlockIdAverageIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_DESC', - ConfidentialLegsByUpdatedBlockIdAverageMediatorsAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_AVERAGE_MEDIATORS_ASC', - ConfidentialLegsByUpdatedBlockIdAverageMediatorsDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_AVERAGE_MEDIATORS_DESC', - ConfidentialLegsByUpdatedBlockIdAverageReceiverIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_AVERAGE_RECEIVER_ID_ASC', - ConfidentialLegsByUpdatedBlockIdAverageReceiverIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_AVERAGE_RECEIVER_ID_DESC', - ConfidentialLegsByUpdatedBlockIdAverageSenderIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_AVERAGE_SENDER_ID_ASC', - ConfidentialLegsByUpdatedBlockIdAverageSenderIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_AVERAGE_SENDER_ID_DESC', - ConfidentialLegsByUpdatedBlockIdAverageTransactionIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_AVERAGE_TRANSACTION_ID_ASC', - ConfidentialLegsByUpdatedBlockIdAverageTransactionIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_AVERAGE_TRANSACTION_ID_DESC', - ConfidentialLegsByUpdatedBlockIdAverageUpdatedAtAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - ConfidentialLegsByUpdatedBlockIdAverageUpdatedAtDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - ConfidentialLegsByUpdatedBlockIdAverageUpdatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - ConfidentialLegsByUpdatedBlockIdAverageUpdatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - ConfidentialLegsByUpdatedBlockIdCountAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_COUNT_ASC', - ConfidentialLegsByUpdatedBlockIdCountDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_COUNT_DESC', - ConfidentialLegsByUpdatedBlockIdDistinctCountAssetAuditorsAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ASSET_AUDITORS_ASC', - ConfidentialLegsByUpdatedBlockIdDistinctCountAssetAuditorsDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ASSET_AUDITORS_DESC', - ConfidentialLegsByUpdatedBlockIdDistinctCountCreatedAtAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - ConfidentialLegsByUpdatedBlockIdDistinctCountCreatedAtDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - ConfidentialLegsByUpdatedBlockIdDistinctCountCreatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - ConfidentialLegsByUpdatedBlockIdDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - ConfidentialLegsByUpdatedBlockIdDistinctCountIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - ConfidentialLegsByUpdatedBlockIdDistinctCountIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - ConfidentialLegsByUpdatedBlockIdDistinctCountMediatorsAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_MEDIATORS_ASC', - ConfidentialLegsByUpdatedBlockIdDistinctCountMediatorsDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_MEDIATORS_DESC', - ConfidentialLegsByUpdatedBlockIdDistinctCountReceiverIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_RECEIVER_ID_ASC', - ConfidentialLegsByUpdatedBlockIdDistinctCountReceiverIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_RECEIVER_ID_DESC', - ConfidentialLegsByUpdatedBlockIdDistinctCountSenderIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_SENDER_ID_ASC', - ConfidentialLegsByUpdatedBlockIdDistinctCountSenderIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_SENDER_ID_DESC', - ConfidentialLegsByUpdatedBlockIdDistinctCountTransactionIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TRANSACTION_ID_ASC', - ConfidentialLegsByUpdatedBlockIdDistinctCountTransactionIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TRANSACTION_ID_DESC', - ConfidentialLegsByUpdatedBlockIdDistinctCountUpdatedAtAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - ConfidentialLegsByUpdatedBlockIdDistinctCountUpdatedAtDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - ConfidentialLegsByUpdatedBlockIdDistinctCountUpdatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - ConfidentialLegsByUpdatedBlockIdDistinctCountUpdatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - ConfidentialLegsByUpdatedBlockIdMaxAssetAuditorsAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MAX_ASSET_AUDITORS_ASC', - ConfidentialLegsByUpdatedBlockIdMaxAssetAuditorsDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MAX_ASSET_AUDITORS_DESC', - ConfidentialLegsByUpdatedBlockIdMaxCreatedAtAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_ASC', - ConfidentialLegsByUpdatedBlockIdMaxCreatedAtDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_DESC', - ConfidentialLegsByUpdatedBlockIdMaxCreatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - ConfidentialLegsByUpdatedBlockIdMaxCreatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - ConfidentialLegsByUpdatedBlockIdMaxIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MAX_ID_ASC', - ConfidentialLegsByUpdatedBlockIdMaxIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MAX_ID_DESC', - ConfidentialLegsByUpdatedBlockIdMaxMediatorsAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MAX_MEDIATORS_ASC', - ConfidentialLegsByUpdatedBlockIdMaxMediatorsDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MAX_MEDIATORS_DESC', - ConfidentialLegsByUpdatedBlockIdMaxReceiverIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MAX_RECEIVER_ID_ASC', - ConfidentialLegsByUpdatedBlockIdMaxReceiverIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MAX_RECEIVER_ID_DESC', - ConfidentialLegsByUpdatedBlockIdMaxSenderIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MAX_SENDER_ID_ASC', - ConfidentialLegsByUpdatedBlockIdMaxSenderIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MAX_SENDER_ID_DESC', - ConfidentialLegsByUpdatedBlockIdMaxTransactionIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MAX_TRANSACTION_ID_ASC', - ConfidentialLegsByUpdatedBlockIdMaxTransactionIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MAX_TRANSACTION_ID_DESC', - ConfidentialLegsByUpdatedBlockIdMaxUpdatedAtAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - ConfidentialLegsByUpdatedBlockIdMaxUpdatedAtDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - ConfidentialLegsByUpdatedBlockIdMaxUpdatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - ConfidentialLegsByUpdatedBlockIdMaxUpdatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - ConfidentialLegsByUpdatedBlockIdMinAssetAuditorsAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MIN_ASSET_AUDITORS_ASC', - ConfidentialLegsByUpdatedBlockIdMinAssetAuditorsDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MIN_ASSET_AUDITORS_DESC', - ConfidentialLegsByUpdatedBlockIdMinCreatedAtAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_ASC', - ConfidentialLegsByUpdatedBlockIdMinCreatedAtDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_DESC', - ConfidentialLegsByUpdatedBlockIdMinCreatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - ConfidentialLegsByUpdatedBlockIdMinCreatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - ConfidentialLegsByUpdatedBlockIdMinIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MIN_ID_ASC', - ConfidentialLegsByUpdatedBlockIdMinIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MIN_ID_DESC', - ConfidentialLegsByUpdatedBlockIdMinMediatorsAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MIN_MEDIATORS_ASC', - ConfidentialLegsByUpdatedBlockIdMinMediatorsDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MIN_MEDIATORS_DESC', - ConfidentialLegsByUpdatedBlockIdMinReceiverIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MIN_RECEIVER_ID_ASC', - ConfidentialLegsByUpdatedBlockIdMinReceiverIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MIN_RECEIVER_ID_DESC', - ConfidentialLegsByUpdatedBlockIdMinSenderIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MIN_SENDER_ID_ASC', - ConfidentialLegsByUpdatedBlockIdMinSenderIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MIN_SENDER_ID_DESC', - ConfidentialLegsByUpdatedBlockIdMinTransactionIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MIN_TRANSACTION_ID_ASC', - ConfidentialLegsByUpdatedBlockIdMinTransactionIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MIN_TRANSACTION_ID_DESC', - ConfidentialLegsByUpdatedBlockIdMinUpdatedAtAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - ConfidentialLegsByUpdatedBlockIdMinUpdatedAtDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - ConfidentialLegsByUpdatedBlockIdMinUpdatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - ConfidentialLegsByUpdatedBlockIdMinUpdatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - ConfidentialLegsByUpdatedBlockIdStddevPopulationAssetAuditorsAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ASSET_AUDITORS_ASC', - ConfidentialLegsByUpdatedBlockIdStddevPopulationAssetAuditorsDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ASSET_AUDITORS_DESC', - ConfidentialLegsByUpdatedBlockIdStddevPopulationCreatedAtAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - ConfidentialLegsByUpdatedBlockIdStddevPopulationCreatedAtDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - ConfidentialLegsByUpdatedBlockIdStddevPopulationCreatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - ConfidentialLegsByUpdatedBlockIdStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - ConfidentialLegsByUpdatedBlockIdStddevPopulationIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - ConfidentialLegsByUpdatedBlockIdStddevPopulationIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - ConfidentialLegsByUpdatedBlockIdStddevPopulationMediatorsAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_MEDIATORS_ASC', - ConfidentialLegsByUpdatedBlockIdStddevPopulationMediatorsDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_MEDIATORS_DESC', - ConfidentialLegsByUpdatedBlockIdStddevPopulationReceiverIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_RECEIVER_ID_ASC', - ConfidentialLegsByUpdatedBlockIdStddevPopulationReceiverIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_RECEIVER_ID_DESC', - ConfidentialLegsByUpdatedBlockIdStddevPopulationSenderIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_SENDER_ID_ASC', - ConfidentialLegsByUpdatedBlockIdStddevPopulationSenderIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_SENDER_ID_DESC', - ConfidentialLegsByUpdatedBlockIdStddevPopulationTransactionIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TRANSACTION_ID_ASC', - ConfidentialLegsByUpdatedBlockIdStddevPopulationTransactionIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TRANSACTION_ID_DESC', - ConfidentialLegsByUpdatedBlockIdStddevPopulationUpdatedAtAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - ConfidentialLegsByUpdatedBlockIdStddevPopulationUpdatedAtDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - ConfidentialLegsByUpdatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - ConfidentialLegsByUpdatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - ConfidentialLegsByUpdatedBlockIdStddevSampleAssetAuditorsAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_AUDITORS_ASC', - ConfidentialLegsByUpdatedBlockIdStddevSampleAssetAuditorsDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_AUDITORS_DESC', - ConfidentialLegsByUpdatedBlockIdStddevSampleCreatedAtAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - ConfidentialLegsByUpdatedBlockIdStddevSampleCreatedAtDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - ConfidentialLegsByUpdatedBlockIdStddevSampleCreatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - ConfidentialLegsByUpdatedBlockIdStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - ConfidentialLegsByUpdatedBlockIdStddevSampleIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - ConfidentialLegsByUpdatedBlockIdStddevSampleIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - ConfidentialLegsByUpdatedBlockIdStddevSampleMediatorsAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_MEDIATORS_ASC', - ConfidentialLegsByUpdatedBlockIdStddevSampleMediatorsDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_MEDIATORS_DESC', - ConfidentialLegsByUpdatedBlockIdStddevSampleReceiverIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_RECEIVER_ID_ASC', - ConfidentialLegsByUpdatedBlockIdStddevSampleReceiverIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_RECEIVER_ID_DESC', - ConfidentialLegsByUpdatedBlockIdStddevSampleSenderIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_SENDER_ID_ASC', - ConfidentialLegsByUpdatedBlockIdStddevSampleSenderIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_SENDER_ID_DESC', - ConfidentialLegsByUpdatedBlockIdStddevSampleTransactionIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TRANSACTION_ID_ASC', - ConfidentialLegsByUpdatedBlockIdStddevSampleTransactionIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TRANSACTION_ID_DESC', - ConfidentialLegsByUpdatedBlockIdStddevSampleUpdatedAtAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - ConfidentialLegsByUpdatedBlockIdStddevSampleUpdatedAtDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - ConfidentialLegsByUpdatedBlockIdStddevSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - ConfidentialLegsByUpdatedBlockIdStddevSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - ConfidentialLegsByUpdatedBlockIdSumAssetAuditorsAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_SUM_ASSET_AUDITORS_ASC', - ConfidentialLegsByUpdatedBlockIdSumAssetAuditorsDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_SUM_ASSET_AUDITORS_DESC', - ConfidentialLegsByUpdatedBlockIdSumCreatedAtAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_ASC', - ConfidentialLegsByUpdatedBlockIdSumCreatedAtDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_DESC', - ConfidentialLegsByUpdatedBlockIdSumCreatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - ConfidentialLegsByUpdatedBlockIdSumCreatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - ConfidentialLegsByUpdatedBlockIdSumIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_SUM_ID_ASC', - ConfidentialLegsByUpdatedBlockIdSumIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_SUM_ID_DESC', - ConfidentialLegsByUpdatedBlockIdSumMediatorsAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_SUM_MEDIATORS_ASC', - ConfidentialLegsByUpdatedBlockIdSumMediatorsDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_SUM_MEDIATORS_DESC', - ConfidentialLegsByUpdatedBlockIdSumReceiverIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_SUM_RECEIVER_ID_ASC', - ConfidentialLegsByUpdatedBlockIdSumReceiverIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_SUM_RECEIVER_ID_DESC', - ConfidentialLegsByUpdatedBlockIdSumSenderIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_SUM_SENDER_ID_ASC', - ConfidentialLegsByUpdatedBlockIdSumSenderIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_SUM_SENDER_ID_DESC', - ConfidentialLegsByUpdatedBlockIdSumTransactionIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_SUM_TRANSACTION_ID_ASC', - ConfidentialLegsByUpdatedBlockIdSumTransactionIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_SUM_TRANSACTION_ID_DESC', - ConfidentialLegsByUpdatedBlockIdSumUpdatedAtAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - ConfidentialLegsByUpdatedBlockIdSumUpdatedAtDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - ConfidentialLegsByUpdatedBlockIdSumUpdatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - ConfidentialLegsByUpdatedBlockIdSumUpdatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - ConfidentialLegsByUpdatedBlockIdVariancePopulationAssetAuditorsAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_AUDITORS_ASC', - ConfidentialLegsByUpdatedBlockIdVariancePopulationAssetAuditorsDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_AUDITORS_DESC', - ConfidentialLegsByUpdatedBlockIdVariancePopulationCreatedAtAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - ConfidentialLegsByUpdatedBlockIdVariancePopulationCreatedAtDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - ConfidentialLegsByUpdatedBlockIdVariancePopulationCreatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - ConfidentialLegsByUpdatedBlockIdVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - ConfidentialLegsByUpdatedBlockIdVariancePopulationIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - ConfidentialLegsByUpdatedBlockIdVariancePopulationIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - ConfidentialLegsByUpdatedBlockIdVariancePopulationMediatorsAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_MEDIATORS_ASC', - ConfidentialLegsByUpdatedBlockIdVariancePopulationMediatorsDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_MEDIATORS_DESC', - ConfidentialLegsByUpdatedBlockIdVariancePopulationReceiverIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_RECEIVER_ID_ASC', - ConfidentialLegsByUpdatedBlockIdVariancePopulationReceiverIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_RECEIVER_ID_DESC', - ConfidentialLegsByUpdatedBlockIdVariancePopulationSenderIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_SENDER_ID_ASC', - ConfidentialLegsByUpdatedBlockIdVariancePopulationSenderIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_SENDER_ID_DESC', - ConfidentialLegsByUpdatedBlockIdVariancePopulationTransactionIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TRANSACTION_ID_ASC', - ConfidentialLegsByUpdatedBlockIdVariancePopulationTransactionIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TRANSACTION_ID_DESC', - ConfidentialLegsByUpdatedBlockIdVariancePopulationUpdatedAtAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - ConfidentialLegsByUpdatedBlockIdVariancePopulationUpdatedAtDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - ConfidentialLegsByUpdatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - ConfidentialLegsByUpdatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - ConfidentialLegsByUpdatedBlockIdVarianceSampleAssetAuditorsAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_AUDITORS_ASC', - ConfidentialLegsByUpdatedBlockIdVarianceSampleAssetAuditorsDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_AUDITORS_DESC', - ConfidentialLegsByUpdatedBlockIdVarianceSampleCreatedAtAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - ConfidentialLegsByUpdatedBlockIdVarianceSampleCreatedAtDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - ConfidentialLegsByUpdatedBlockIdVarianceSampleCreatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - ConfidentialLegsByUpdatedBlockIdVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - ConfidentialLegsByUpdatedBlockIdVarianceSampleIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - ConfidentialLegsByUpdatedBlockIdVarianceSampleIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - ConfidentialLegsByUpdatedBlockIdVarianceSampleMediatorsAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_MEDIATORS_ASC', - ConfidentialLegsByUpdatedBlockIdVarianceSampleMediatorsDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_MEDIATORS_DESC', - ConfidentialLegsByUpdatedBlockIdVarianceSampleReceiverIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_RECEIVER_ID_ASC', - ConfidentialLegsByUpdatedBlockIdVarianceSampleReceiverIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_RECEIVER_ID_DESC', - ConfidentialLegsByUpdatedBlockIdVarianceSampleSenderIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_SENDER_ID_ASC', - ConfidentialLegsByUpdatedBlockIdVarianceSampleSenderIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_SENDER_ID_DESC', - ConfidentialLegsByUpdatedBlockIdVarianceSampleTransactionIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TRANSACTION_ID_ASC', - ConfidentialLegsByUpdatedBlockIdVarianceSampleTransactionIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TRANSACTION_ID_DESC', - ConfidentialLegsByUpdatedBlockIdVarianceSampleUpdatedAtAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - ConfidentialLegsByUpdatedBlockIdVarianceSampleUpdatedAtDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - ConfidentialLegsByUpdatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - ConfidentialLegsByUpdatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - ConfidentialTransactionsByCreatedBlockIdAverageCreatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - ConfidentialTransactionsByCreatedBlockIdAverageCreatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - ConfidentialTransactionsByCreatedBlockIdAverageCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - ConfidentialTransactionsByCreatedBlockIdAverageCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - ConfidentialTransactionsByCreatedBlockIdAverageEventIdxAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_IDX_ASC', - ConfidentialTransactionsByCreatedBlockIdAverageEventIdxDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_IDX_DESC', - ConfidentialTransactionsByCreatedBlockIdAverageEventIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_ID_ASC', - ConfidentialTransactionsByCreatedBlockIdAverageEventIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_ID_DESC', - ConfidentialTransactionsByCreatedBlockIdAverageIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_ID_ASC', - ConfidentialTransactionsByCreatedBlockIdAverageIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_ID_DESC', - ConfidentialTransactionsByCreatedBlockIdAverageMemoAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_MEMO_ASC', - ConfidentialTransactionsByCreatedBlockIdAverageMemoDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_MEMO_DESC', - ConfidentialTransactionsByCreatedBlockIdAveragePendingAffirmationsAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_PENDING_AFFIRMATIONS_ASC', - ConfidentialTransactionsByCreatedBlockIdAveragePendingAffirmationsDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_PENDING_AFFIRMATIONS_DESC', - ConfidentialTransactionsByCreatedBlockIdAverageStatusAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_STATUS_ASC', - ConfidentialTransactionsByCreatedBlockIdAverageStatusDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_STATUS_DESC', - ConfidentialTransactionsByCreatedBlockIdAverageUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - ConfidentialTransactionsByCreatedBlockIdAverageUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - ConfidentialTransactionsByCreatedBlockIdAverageUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - ConfidentialTransactionsByCreatedBlockIdAverageUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - ConfidentialTransactionsByCreatedBlockIdAverageVenueIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_VENUE_ID_ASC', - ConfidentialTransactionsByCreatedBlockIdAverageVenueIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_VENUE_ID_DESC', - ConfidentialTransactionsByCreatedBlockIdCountAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_COUNT_ASC', - ConfidentialTransactionsByCreatedBlockIdCountDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_COUNT_DESC', - ConfidentialTransactionsByCreatedBlockIdDistinctCountCreatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - ConfidentialTransactionsByCreatedBlockIdDistinctCountCreatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - ConfidentialTransactionsByCreatedBlockIdDistinctCountCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - ConfidentialTransactionsByCreatedBlockIdDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - ConfidentialTransactionsByCreatedBlockIdDistinctCountEventIdxAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_ASC', - ConfidentialTransactionsByCreatedBlockIdDistinctCountEventIdxDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_DESC', - ConfidentialTransactionsByCreatedBlockIdDistinctCountEventIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_ID_ASC', - ConfidentialTransactionsByCreatedBlockIdDistinctCountEventIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_ID_DESC', - ConfidentialTransactionsByCreatedBlockIdDistinctCountIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - ConfidentialTransactionsByCreatedBlockIdDistinctCountIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - ConfidentialTransactionsByCreatedBlockIdDistinctCountMemoAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_MEMO_ASC', - ConfidentialTransactionsByCreatedBlockIdDistinctCountMemoDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_MEMO_DESC', - ConfidentialTransactionsByCreatedBlockIdDistinctCountPendingAffirmationsAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_PENDING_AFFIRMATIONS_ASC', - ConfidentialTransactionsByCreatedBlockIdDistinctCountPendingAffirmationsDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_PENDING_AFFIRMATIONS_DESC', - ConfidentialTransactionsByCreatedBlockIdDistinctCountStatusAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_STATUS_ASC', - ConfidentialTransactionsByCreatedBlockIdDistinctCountStatusDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_STATUS_DESC', - ConfidentialTransactionsByCreatedBlockIdDistinctCountUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - ConfidentialTransactionsByCreatedBlockIdDistinctCountUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - ConfidentialTransactionsByCreatedBlockIdDistinctCountUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - ConfidentialTransactionsByCreatedBlockIdDistinctCountUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - ConfidentialTransactionsByCreatedBlockIdDistinctCountVenueIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_VENUE_ID_ASC', - ConfidentialTransactionsByCreatedBlockIdDistinctCountVenueIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_VENUE_ID_DESC', - ConfidentialTransactionsByCreatedBlockIdMaxCreatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_ASC', - ConfidentialTransactionsByCreatedBlockIdMaxCreatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_DESC', - ConfidentialTransactionsByCreatedBlockIdMaxCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - ConfidentialTransactionsByCreatedBlockIdMaxCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - ConfidentialTransactionsByCreatedBlockIdMaxEventIdxAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_EVENT_IDX_ASC', - ConfidentialTransactionsByCreatedBlockIdMaxEventIdxDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_EVENT_IDX_DESC', - ConfidentialTransactionsByCreatedBlockIdMaxEventIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_EVENT_ID_ASC', - ConfidentialTransactionsByCreatedBlockIdMaxEventIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_EVENT_ID_DESC', - ConfidentialTransactionsByCreatedBlockIdMaxIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_ID_ASC', - ConfidentialTransactionsByCreatedBlockIdMaxIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_ID_DESC', - ConfidentialTransactionsByCreatedBlockIdMaxMemoAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_MEMO_ASC', - ConfidentialTransactionsByCreatedBlockIdMaxMemoDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_MEMO_DESC', - ConfidentialTransactionsByCreatedBlockIdMaxPendingAffirmationsAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_PENDING_AFFIRMATIONS_ASC', - ConfidentialTransactionsByCreatedBlockIdMaxPendingAffirmationsDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_PENDING_AFFIRMATIONS_DESC', - ConfidentialTransactionsByCreatedBlockIdMaxStatusAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_STATUS_ASC', - ConfidentialTransactionsByCreatedBlockIdMaxStatusDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_STATUS_DESC', - ConfidentialTransactionsByCreatedBlockIdMaxUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - ConfidentialTransactionsByCreatedBlockIdMaxUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - ConfidentialTransactionsByCreatedBlockIdMaxUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - ConfidentialTransactionsByCreatedBlockIdMaxUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - ConfidentialTransactionsByCreatedBlockIdMaxVenueIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_VENUE_ID_ASC', - ConfidentialTransactionsByCreatedBlockIdMaxVenueIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_VENUE_ID_DESC', - ConfidentialTransactionsByCreatedBlockIdMinCreatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_ASC', - ConfidentialTransactionsByCreatedBlockIdMinCreatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_DESC', - ConfidentialTransactionsByCreatedBlockIdMinCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - ConfidentialTransactionsByCreatedBlockIdMinCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - ConfidentialTransactionsByCreatedBlockIdMinEventIdxAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_EVENT_IDX_ASC', - ConfidentialTransactionsByCreatedBlockIdMinEventIdxDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_EVENT_IDX_DESC', - ConfidentialTransactionsByCreatedBlockIdMinEventIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_EVENT_ID_ASC', - ConfidentialTransactionsByCreatedBlockIdMinEventIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_EVENT_ID_DESC', - ConfidentialTransactionsByCreatedBlockIdMinIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_ID_ASC', - ConfidentialTransactionsByCreatedBlockIdMinIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_ID_DESC', - ConfidentialTransactionsByCreatedBlockIdMinMemoAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_MEMO_ASC', - ConfidentialTransactionsByCreatedBlockIdMinMemoDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_MEMO_DESC', - ConfidentialTransactionsByCreatedBlockIdMinPendingAffirmationsAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_PENDING_AFFIRMATIONS_ASC', - ConfidentialTransactionsByCreatedBlockIdMinPendingAffirmationsDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_PENDING_AFFIRMATIONS_DESC', - ConfidentialTransactionsByCreatedBlockIdMinStatusAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_STATUS_ASC', - ConfidentialTransactionsByCreatedBlockIdMinStatusDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_STATUS_DESC', - ConfidentialTransactionsByCreatedBlockIdMinUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - ConfidentialTransactionsByCreatedBlockIdMinUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - ConfidentialTransactionsByCreatedBlockIdMinUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - ConfidentialTransactionsByCreatedBlockIdMinUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - ConfidentialTransactionsByCreatedBlockIdMinVenueIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_VENUE_ID_ASC', - ConfidentialTransactionsByCreatedBlockIdMinVenueIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_VENUE_ID_DESC', - ConfidentialTransactionsByCreatedBlockIdStddevPopulationCreatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - ConfidentialTransactionsByCreatedBlockIdStddevPopulationCreatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - ConfidentialTransactionsByCreatedBlockIdStddevPopulationCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - ConfidentialTransactionsByCreatedBlockIdStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - ConfidentialTransactionsByCreatedBlockIdStddevPopulationEventIdxAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_ASC', - ConfidentialTransactionsByCreatedBlockIdStddevPopulationEventIdxDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_DESC', - ConfidentialTransactionsByCreatedBlockIdStddevPopulationEventIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_ID_ASC', - ConfidentialTransactionsByCreatedBlockIdStddevPopulationEventIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_ID_DESC', - ConfidentialTransactionsByCreatedBlockIdStddevPopulationIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - ConfidentialTransactionsByCreatedBlockIdStddevPopulationIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - ConfidentialTransactionsByCreatedBlockIdStddevPopulationMemoAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_MEMO_ASC', - ConfidentialTransactionsByCreatedBlockIdStddevPopulationMemoDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_MEMO_DESC', - ConfidentialTransactionsByCreatedBlockIdStddevPopulationPendingAffirmationsAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_PENDING_AFFIRMATIONS_ASC', - ConfidentialTransactionsByCreatedBlockIdStddevPopulationPendingAffirmationsDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_PENDING_AFFIRMATIONS_DESC', - ConfidentialTransactionsByCreatedBlockIdStddevPopulationStatusAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_STATUS_ASC', - ConfidentialTransactionsByCreatedBlockIdStddevPopulationStatusDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_STATUS_DESC', - ConfidentialTransactionsByCreatedBlockIdStddevPopulationUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - ConfidentialTransactionsByCreatedBlockIdStddevPopulationUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - ConfidentialTransactionsByCreatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - ConfidentialTransactionsByCreatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - ConfidentialTransactionsByCreatedBlockIdStddevPopulationVenueIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_VENUE_ID_ASC', - ConfidentialTransactionsByCreatedBlockIdStddevPopulationVenueIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_VENUE_ID_DESC', - ConfidentialTransactionsByCreatedBlockIdStddevSampleCreatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - ConfidentialTransactionsByCreatedBlockIdStddevSampleCreatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - ConfidentialTransactionsByCreatedBlockIdStddevSampleCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - ConfidentialTransactionsByCreatedBlockIdStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - ConfidentialTransactionsByCreatedBlockIdStddevSampleEventIdxAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', - ConfidentialTransactionsByCreatedBlockIdStddevSampleEventIdxDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', - ConfidentialTransactionsByCreatedBlockIdStddevSampleEventIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_ID_ASC', - ConfidentialTransactionsByCreatedBlockIdStddevSampleEventIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_ID_DESC', - ConfidentialTransactionsByCreatedBlockIdStddevSampleIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - ConfidentialTransactionsByCreatedBlockIdStddevSampleIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - ConfidentialTransactionsByCreatedBlockIdStddevSampleMemoAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_MEMO_ASC', - ConfidentialTransactionsByCreatedBlockIdStddevSampleMemoDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_MEMO_DESC', - ConfidentialTransactionsByCreatedBlockIdStddevSamplePendingAffirmationsAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_PENDING_AFFIRMATIONS_ASC', - ConfidentialTransactionsByCreatedBlockIdStddevSamplePendingAffirmationsDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_PENDING_AFFIRMATIONS_DESC', - ConfidentialTransactionsByCreatedBlockIdStddevSampleStatusAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_STATUS_ASC', - ConfidentialTransactionsByCreatedBlockIdStddevSampleStatusDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_STATUS_DESC', - ConfidentialTransactionsByCreatedBlockIdStddevSampleUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - ConfidentialTransactionsByCreatedBlockIdStddevSampleUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - ConfidentialTransactionsByCreatedBlockIdStddevSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - ConfidentialTransactionsByCreatedBlockIdStddevSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - ConfidentialTransactionsByCreatedBlockIdStddevSampleVenueIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_VENUE_ID_ASC', - ConfidentialTransactionsByCreatedBlockIdStddevSampleVenueIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_VENUE_ID_DESC', - ConfidentialTransactionsByCreatedBlockIdSumCreatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_ASC', - ConfidentialTransactionsByCreatedBlockIdSumCreatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_DESC', - ConfidentialTransactionsByCreatedBlockIdSumCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - ConfidentialTransactionsByCreatedBlockIdSumCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - ConfidentialTransactionsByCreatedBlockIdSumEventIdxAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_EVENT_IDX_ASC', - ConfidentialTransactionsByCreatedBlockIdSumEventIdxDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_EVENT_IDX_DESC', - ConfidentialTransactionsByCreatedBlockIdSumEventIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_EVENT_ID_ASC', - ConfidentialTransactionsByCreatedBlockIdSumEventIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_EVENT_ID_DESC', - ConfidentialTransactionsByCreatedBlockIdSumIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_ID_ASC', - ConfidentialTransactionsByCreatedBlockIdSumIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_ID_DESC', - ConfidentialTransactionsByCreatedBlockIdSumMemoAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_MEMO_ASC', - ConfidentialTransactionsByCreatedBlockIdSumMemoDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_MEMO_DESC', - ConfidentialTransactionsByCreatedBlockIdSumPendingAffirmationsAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_PENDING_AFFIRMATIONS_ASC', - ConfidentialTransactionsByCreatedBlockIdSumPendingAffirmationsDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_PENDING_AFFIRMATIONS_DESC', - ConfidentialTransactionsByCreatedBlockIdSumStatusAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_STATUS_ASC', - ConfidentialTransactionsByCreatedBlockIdSumStatusDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_STATUS_DESC', - ConfidentialTransactionsByCreatedBlockIdSumUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - ConfidentialTransactionsByCreatedBlockIdSumUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - ConfidentialTransactionsByCreatedBlockIdSumUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - ConfidentialTransactionsByCreatedBlockIdSumUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - ConfidentialTransactionsByCreatedBlockIdSumVenueIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_VENUE_ID_ASC', - ConfidentialTransactionsByCreatedBlockIdSumVenueIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_VENUE_ID_DESC', - ConfidentialTransactionsByCreatedBlockIdVariancePopulationCreatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - ConfidentialTransactionsByCreatedBlockIdVariancePopulationCreatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - ConfidentialTransactionsByCreatedBlockIdVariancePopulationCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - ConfidentialTransactionsByCreatedBlockIdVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - ConfidentialTransactionsByCreatedBlockIdVariancePopulationEventIdxAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', - ConfidentialTransactionsByCreatedBlockIdVariancePopulationEventIdxDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', - ConfidentialTransactionsByCreatedBlockIdVariancePopulationEventIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_ID_ASC', - ConfidentialTransactionsByCreatedBlockIdVariancePopulationEventIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_ID_DESC', - ConfidentialTransactionsByCreatedBlockIdVariancePopulationIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - ConfidentialTransactionsByCreatedBlockIdVariancePopulationIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - ConfidentialTransactionsByCreatedBlockIdVariancePopulationMemoAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_MEMO_ASC', - ConfidentialTransactionsByCreatedBlockIdVariancePopulationMemoDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_MEMO_DESC', - ConfidentialTransactionsByCreatedBlockIdVariancePopulationPendingAffirmationsAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_PENDING_AFFIRMATIONS_ASC', - ConfidentialTransactionsByCreatedBlockIdVariancePopulationPendingAffirmationsDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_PENDING_AFFIRMATIONS_DESC', - ConfidentialTransactionsByCreatedBlockIdVariancePopulationStatusAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_STATUS_ASC', - ConfidentialTransactionsByCreatedBlockIdVariancePopulationStatusDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_STATUS_DESC', - ConfidentialTransactionsByCreatedBlockIdVariancePopulationUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - ConfidentialTransactionsByCreatedBlockIdVariancePopulationUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - ConfidentialTransactionsByCreatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - ConfidentialTransactionsByCreatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - ConfidentialTransactionsByCreatedBlockIdVariancePopulationVenueIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_VENUE_ID_ASC', - ConfidentialTransactionsByCreatedBlockIdVariancePopulationVenueIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_VENUE_ID_DESC', - ConfidentialTransactionsByCreatedBlockIdVarianceSampleCreatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - ConfidentialTransactionsByCreatedBlockIdVarianceSampleCreatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - ConfidentialTransactionsByCreatedBlockIdVarianceSampleCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - ConfidentialTransactionsByCreatedBlockIdVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - ConfidentialTransactionsByCreatedBlockIdVarianceSampleEventIdxAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', - ConfidentialTransactionsByCreatedBlockIdVarianceSampleEventIdxDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', - ConfidentialTransactionsByCreatedBlockIdVarianceSampleEventIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_ID_ASC', - ConfidentialTransactionsByCreatedBlockIdVarianceSampleEventIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_ID_DESC', - ConfidentialTransactionsByCreatedBlockIdVarianceSampleIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - ConfidentialTransactionsByCreatedBlockIdVarianceSampleIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - ConfidentialTransactionsByCreatedBlockIdVarianceSampleMemoAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_MEMO_ASC', - ConfidentialTransactionsByCreatedBlockIdVarianceSampleMemoDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_MEMO_DESC', - ConfidentialTransactionsByCreatedBlockIdVarianceSamplePendingAffirmationsAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_PENDING_AFFIRMATIONS_ASC', - ConfidentialTransactionsByCreatedBlockIdVarianceSamplePendingAffirmationsDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_PENDING_AFFIRMATIONS_DESC', - ConfidentialTransactionsByCreatedBlockIdVarianceSampleStatusAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_STATUS_ASC', - ConfidentialTransactionsByCreatedBlockIdVarianceSampleStatusDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_STATUS_DESC', - ConfidentialTransactionsByCreatedBlockIdVarianceSampleUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - ConfidentialTransactionsByCreatedBlockIdVarianceSampleUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - ConfidentialTransactionsByCreatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - ConfidentialTransactionsByCreatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - ConfidentialTransactionsByCreatedBlockIdVarianceSampleVenueIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_VENUE_ID_ASC', - ConfidentialTransactionsByCreatedBlockIdVarianceSampleVenueIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_VENUE_ID_DESC', - ConfidentialTransactionsByUpdatedBlockIdAverageCreatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - ConfidentialTransactionsByUpdatedBlockIdAverageCreatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - ConfidentialTransactionsByUpdatedBlockIdAverageCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - ConfidentialTransactionsByUpdatedBlockIdAverageCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - ConfidentialTransactionsByUpdatedBlockIdAverageEventIdxAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_IDX_ASC', - ConfidentialTransactionsByUpdatedBlockIdAverageEventIdxDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_IDX_DESC', - ConfidentialTransactionsByUpdatedBlockIdAverageEventIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_ID_ASC', - ConfidentialTransactionsByUpdatedBlockIdAverageEventIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_ID_DESC', - ConfidentialTransactionsByUpdatedBlockIdAverageIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_ASC', - ConfidentialTransactionsByUpdatedBlockIdAverageIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_DESC', - ConfidentialTransactionsByUpdatedBlockIdAverageMemoAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_MEMO_ASC', - ConfidentialTransactionsByUpdatedBlockIdAverageMemoDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_MEMO_DESC', - ConfidentialTransactionsByUpdatedBlockIdAveragePendingAffirmationsAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_PENDING_AFFIRMATIONS_ASC', - ConfidentialTransactionsByUpdatedBlockIdAveragePendingAffirmationsDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_PENDING_AFFIRMATIONS_DESC', - ConfidentialTransactionsByUpdatedBlockIdAverageStatusAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_STATUS_ASC', - ConfidentialTransactionsByUpdatedBlockIdAverageStatusDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_STATUS_DESC', - ConfidentialTransactionsByUpdatedBlockIdAverageUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - ConfidentialTransactionsByUpdatedBlockIdAverageUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - ConfidentialTransactionsByUpdatedBlockIdAverageUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - ConfidentialTransactionsByUpdatedBlockIdAverageUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - ConfidentialTransactionsByUpdatedBlockIdAverageVenueIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_VENUE_ID_ASC', - ConfidentialTransactionsByUpdatedBlockIdAverageVenueIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_VENUE_ID_DESC', - ConfidentialTransactionsByUpdatedBlockIdCountAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_COUNT_ASC', - ConfidentialTransactionsByUpdatedBlockIdCountDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_COUNT_DESC', - ConfidentialTransactionsByUpdatedBlockIdDistinctCountCreatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - ConfidentialTransactionsByUpdatedBlockIdDistinctCountCreatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - ConfidentialTransactionsByUpdatedBlockIdDistinctCountCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - ConfidentialTransactionsByUpdatedBlockIdDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - ConfidentialTransactionsByUpdatedBlockIdDistinctCountEventIdxAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_ASC', - ConfidentialTransactionsByUpdatedBlockIdDistinctCountEventIdxDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_DESC', - ConfidentialTransactionsByUpdatedBlockIdDistinctCountEventIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_ID_ASC', - ConfidentialTransactionsByUpdatedBlockIdDistinctCountEventIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_ID_DESC', - ConfidentialTransactionsByUpdatedBlockIdDistinctCountIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - ConfidentialTransactionsByUpdatedBlockIdDistinctCountIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - ConfidentialTransactionsByUpdatedBlockIdDistinctCountMemoAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_MEMO_ASC', - ConfidentialTransactionsByUpdatedBlockIdDistinctCountMemoDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_MEMO_DESC', - ConfidentialTransactionsByUpdatedBlockIdDistinctCountPendingAffirmationsAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_PENDING_AFFIRMATIONS_ASC', - ConfidentialTransactionsByUpdatedBlockIdDistinctCountPendingAffirmationsDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_PENDING_AFFIRMATIONS_DESC', - ConfidentialTransactionsByUpdatedBlockIdDistinctCountStatusAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_STATUS_ASC', - ConfidentialTransactionsByUpdatedBlockIdDistinctCountStatusDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_STATUS_DESC', - ConfidentialTransactionsByUpdatedBlockIdDistinctCountUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - ConfidentialTransactionsByUpdatedBlockIdDistinctCountUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - ConfidentialTransactionsByUpdatedBlockIdDistinctCountUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - ConfidentialTransactionsByUpdatedBlockIdDistinctCountUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - ConfidentialTransactionsByUpdatedBlockIdDistinctCountVenueIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_VENUE_ID_ASC', - ConfidentialTransactionsByUpdatedBlockIdDistinctCountVenueIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_VENUE_ID_DESC', - ConfidentialTransactionsByUpdatedBlockIdMaxCreatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_ASC', - ConfidentialTransactionsByUpdatedBlockIdMaxCreatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_DESC', - ConfidentialTransactionsByUpdatedBlockIdMaxCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - ConfidentialTransactionsByUpdatedBlockIdMaxCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - ConfidentialTransactionsByUpdatedBlockIdMaxEventIdxAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_EVENT_IDX_ASC', - ConfidentialTransactionsByUpdatedBlockIdMaxEventIdxDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_EVENT_IDX_DESC', - ConfidentialTransactionsByUpdatedBlockIdMaxEventIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_EVENT_ID_ASC', - ConfidentialTransactionsByUpdatedBlockIdMaxEventIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_EVENT_ID_DESC', - ConfidentialTransactionsByUpdatedBlockIdMaxIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_ID_ASC', - ConfidentialTransactionsByUpdatedBlockIdMaxIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_ID_DESC', - ConfidentialTransactionsByUpdatedBlockIdMaxMemoAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_MEMO_ASC', - ConfidentialTransactionsByUpdatedBlockIdMaxMemoDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_MEMO_DESC', - ConfidentialTransactionsByUpdatedBlockIdMaxPendingAffirmationsAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_PENDING_AFFIRMATIONS_ASC', - ConfidentialTransactionsByUpdatedBlockIdMaxPendingAffirmationsDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_PENDING_AFFIRMATIONS_DESC', - ConfidentialTransactionsByUpdatedBlockIdMaxStatusAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_STATUS_ASC', - ConfidentialTransactionsByUpdatedBlockIdMaxStatusDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_STATUS_DESC', - ConfidentialTransactionsByUpdatedBlockIdMaxUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - ConfidentialTransactionsByUpdatedBlockIdMaxUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - ConfidentialTransactionsByUpdatedBlockIdMaxUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - ConfidentialTransactionsByUpdatedBlockIdMaxUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - ConfidentialTransactionsByUpdatedBlockIdMaxVenueIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_VENUE_ID_ASC', - ConfidentialTransactionsByUpdatedBlockIdMaxVenueIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_VENUE_ID_DESC', - ConfidentialTransactionsByUpdatedBlockIdMinCreatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_ASC', - ConfidentialTransactionsByUpdatedBlockIdMinCreatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_DESC', - ConfidentialTransactionsByUpdatedBlockIdMinCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - ConfidentialTransactionsByUpdatedBlockIdMinCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - ConfidentialTransactionsByUpdatedBlockIdMinEventIdxAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_EVENT_IDX_ASC', - ConfidentialTransactionsByUpdatedBlockIdMinEventIdxDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_EVENT_IDX_DESC', - ConfidentialTransactionsByUpdatedBlockIdMinEventIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_EVENT_ID_ASC', - ConfidentialTransactionsByUpdatedBlockIdMinEventIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_EVENT_ID_DESC', - ConfidentialTransactionsByUpdatedBlockIdMinIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_ID_ASC', - ConfidentialTransactionsByUpdatedBlockIdMinIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_ID_DESC', - ConfidentialTransactionsByUpdatedBlockIdMinMemoAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_MEMO_ASC', - ConfidentialTransactionsByUpdatedBlockIdMinMemoDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_MEMO_DESC', - ConfidentialTransactionsByUpdatedBlockIdMinPendingAffirmationsAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_PENDING_AFFIRMATIONS_ASC', - ConfidentialTransactionsByUpdatedBlockIdMinPendingAffirmationsDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_PENDING_AFFIRMATIONS_DESC', - ConfidentialTransactionsByUpdatedBlockIdMinStatusAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_STATUS_ASC', - ConfidentialTransactionsByUpdatedBlockIdMinStatusDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_STATUS_DESC', - ConfidentialTransactionsByUpdatedBlockIdMinUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - ConfidentialTransactionsByUpdatedBlockIdMinUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - ConfidentialTransactionsByUpdatedBlockIdMinUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - ConfidentialTransactionsByUpdatedBlockIdMinUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - ConfidentialTransactionsByUpdatedBlockIdMinVenueIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_VENUE_ID_ASC', - ConfidentialTransactionsByUpdatedBlockIdMinVenueIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_VENUE_ID_DESC', - ConfidentialTransactionsByUpdatedBlockIdStddevPopulationCreatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - ConfidentialTransactionsByUpdatedBlockIdStddevPopulationCreatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - ConfidentialTransactionsByUpdatedBlockIdStddevPopulationCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - ConfidentialTransactionsByUpdatedBlockIdStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - ConfidentialTransactionsByUpdatedBlockIdStddevPopulationEventIdxAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_ASC', - ConfidentialTransactionsByUpdatedBlockIdStddevPopulationEventIdxDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_DESC', - ConfidentialTransactionsByUpdatedBlockIdStddevPopulationEventIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_ID_ASC', - ConfidentialTransactionsByUpdatedBlockIdStddevPopulationEventIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_ID_DESC', - ConfidentialTransactionsByUpdatedBlockIdStddevPopulationIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - ConfidentialTransactionsByUpdatedBlockIdStddevPopulationIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - ConfidentialTransactionsByUpdatedBlockIdStddevPopulationMemoAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_MEMO_ASC', - ConfidentialTransactionsByUpdatedBlockIdStddevPopulationMemoDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_MEMO_DESC', - ConfidentialTransactionsByUpdatedBlockIdStddevPopulationPendingAffirmationsAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_PENDING_AFFIRMATIONS_ASC', - ConfidentialTransactionsByUpdatedBlockIdStddevPopulationPendingAffirmationsDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_PENDING_AFFIRMATIONS_DESC', - ConfidentialTransactionsByUpdatedBlockIdStddevPopulationStatusAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_STATUS_ASC', - ConfidentialTransactionsByUpdatedBlockIdStddevPopulationStatusDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_STATUS_DESC', - ConfidentialTransactionsByUpdatedBlockIdStddevPopulationUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - ConfidentialTransactionsByUpdatedBlockIdStddevPopulationUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - ConfidentialTransactionsByUpdatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - ConfidentialTransactionsByUpdatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - ConfidentialTransactionsByUpdatedBlockIdStddevPopulationVenueIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_VENUE_ID_ASC', - ConfidentialTransactionsByUpdatedBlockIdStddevPopulationVenueIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_VENUE_ID_DESC', - ConfidentialTransactionsByUpdatedBlockIdStddevSampleCreatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - ConfidentialTransactionsByUpdatedBlockIdStddevSampleCreatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - ConfidentialTransactionsByUpdatedBlockIdStddevSampleCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - ConfidentialTransactionsByUpdatedBlockIdStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - ConfidentialTransactionsByUpdatedBlockIdStddevSampleEventIdxAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', - ConfidentialTransactionsByUpdatedBlockIdStddevSampleEventIdxDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', - ConfidentialTransactionsByUpdatedBlockIdStddevSampleEventIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_ID_ASC', - ConfidentialTransactionsByUpdatedBlockIdStddevSampleEventIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_ID_DESC', - ConfidentialTransactionsByUpdatedBlockIdStddevSampleIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - ConfidentialTransactionsByUpdatedBlockIdStddevSampleIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - ConfidentialTransactionsByUpdatedBlockIdStddevSampleMemoAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_MEMO_ASC', - ConfidentialTransactionsByUpdatedBlockIdStddevSampleMemoDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_MEMO_DESC', - ConfidentialTransactionsByUpdatedBlockIdStddevSamplePendingAffirmationsAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_PENDING_AFFIRMATIONS_ASC', - ConfidentialTransactionsByUpdatedBlockIdStddevSamplePendingAffirmationsDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_PENDING_AFFIRMATIONS_DESC', - ConfidentialTransactionsByUpdatedBlockIdStddevSampleStatusAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_STATUS_ASC', - ConfidentialTransactionsByUpdatedBlockIdStddevSampleStatusDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_STATUS_DESC', - ConfidentialTransactionsByUpdatedBlockIdStddevSampleUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - ConfidentialTransactionsByUpdatedBlockIdStddevSampleUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - ConfidentialTransactionsByUpdatedBlockIdStddevSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - ConfidentialTransactionsByUpdatedBlockIdStddevSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - ConfidentialTransactionsByUpdatedBlockIdStddevSampleVenueIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_VENUE_ID_ASC', - ConfidentialTransactionsByUpdatedBlockIdStddevSampleVenueIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_VENUE_ID_DESC', - ConfidentialTransactionsByUpdatedBlockIdSumCreatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_ASC', - ConfidentialTransactionsByUpdatedBlockIdSumCreatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_DESC', - ConfidentialTransactionsByUpdatedBlockIdSumCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - ConfidentialTransactionsByUpdatedBlockIdSumCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - ConfidentialTransactionsByUpdatedBlockIdSumEventIdxAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_EVENT_IDX_ASC', - ConfidentialTransactionsByUpdatedBlockIdSumEventIdxDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_EVENT_IDX_DESC', - ConfidentialTransactionsByUpdatedBlockIdSumEventIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_EVENT_ID_ASC', - ConfidentialTransactionsByUpdatedBlockIdSumEventIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_EVENT_ID_DESC', - ConfidentialTransactionsByUpdatedBlockIdSumIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_ID_ASC', - ConfidentialTransactionsByUpdatedBlockIdSumIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_ID_DESC', - ConfidentialTransactionsByUpdatedBlockIdSumMemoAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_MEMO_ASC', - ConfidentialTransactionsByUpdatedBlockIdSumMemoDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_MEMO_DESC', - ConfidentialTransactionsByUpdatedBlockIdSumPendingAffirmationsAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_PENDING_AFFIRMATIONS_ASC', - ConfidentialTransactionsByUpdatedBlockIdSumPendingAffirmationsDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_PENDING_AFFIRMATIONS_DESC', - ConfidentialTransactionsByUpdatedBlockIdSumStatusAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_STATUS_ASC', - ConfidentialTransactionsByUpdatedBlockIdSumStatusDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_STATUS_DESC', - ConfidentialTransactionsByUpdatedBlockIdSumUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - ConfidentialTransactionsByUpdatedBlockIdSumUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - ConfidentialTransactionsByUpdatedBlockIdSumUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - ConfidentialTransactionsByUpdatedBlockIdSumUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - ConfidentialTransactionsByUpdatedBlockIdSumVenueIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_VENUE_ID_ASC', - ConfidentialTransactionsByUpdatedBlockIdSumVenueIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_VENUE_ID_DESC', - ConfidentialTransactionsByUpdatedBlockIdVariancePopulationCreatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - ConfidentialTransactionsByUpdatedBlockIdVariancePopulationCreatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - ConfidentialTransactionsByUpdatedBlockIdVariancePopulationCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - ConfidentialTransactionsByUpdatedBlockIdVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - ConfidentialTransactionsByUpdatedBlockIdVariancePopulationEventIdxAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', - ConfidentialTransactionsByUpdatedBlockIdVariancePopulationEventIdxDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', - ConfidentialTransactionsByUpdatedBlockIdVariancePopulationEventIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_ID_ASC', - ConfidentialTransactionsByUpdatedBlockIdVariancePopulationEventIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_ID_DESC', - ConfidentialTransactionsByUpdatedBlockIdVariancePopulationIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - ConfidentialTransactionsByUpdatedBlockIdVariancePopulationIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - ConfidentialTransactionsByUpdatedBlockIdVariancePopulationMemoAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_MEMO_ASC', - ConfidentialTransactionsByUpdatedBlockIdVariancePopulationMemoDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_MEMO_DESC', - ConfidentialTransactionsByUpdatedBlockIdVariancePopulationPendingAffirmationsAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_PENDING_AFFIRMATIONS_ASC', - ConfidentialTransactionsByUpdatedBlockIdVariancePopulationPendingAffirmationsDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_PENDING_AFFIRMATIONS_DESC', - ConfidentialTransactionsByUpdatedBlockIdVariancePopulationStatusAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_STATUS_ASC', - ConfidentialTransactionsByUpdatedBlockIdVariancePopulationStatusDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_STATUS_DESC', - ConfidentialTransactionsByUpdatedBlockIdVariancePopulationUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - ConfidentialTransactionsByUpdatedBlockIdVariancePopulationUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - ConfidentialTransactionsByUpdatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - ConfidentialTransactionsByUpdatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - ConfidentialTransactionsByUpdatedBlockIdVariancePopulationVenueIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_VENUE_ID_ASC', - ConfidentialTransactionsByUpdatedBlockIdVariancePopulationVenueIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_VENUE_ID_DESC', - ConfidentialTransactionsByUpdatedBlockIdVarianceSampleCreatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - ConfidentialTransactionsByUpdatedBlockIdVarianceSampleCreatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - ConfidentialTransactionsByUpdatedBlockIdVarianceSampleCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - ConfidentialTransactionsByUpdatedBlockIdVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - ConfidentialTransactionsByUpdatedBlockIdVarianceSampleEventIdxAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', - ConfidentialTransactionsByUpdatedBlockIdVarianceSampleEventIdxDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', - ConfidentialTransactionsByUpdatedBlockIdVarianceSampleEventIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_ID_ASC', - ConfidentialTransactionsByUpdatedBlockIdVarianceSampleEventIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_ID_DESC', - ConfidentialTransactionsByUpdatedBlockIdVarianceSampleIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - ConfidentialTransactionsByUpdatedBlockIdVarianceSampleIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - ConfidentialTransactionsByUpdatedBlockIdVarianceSampleMemoAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_MEMO_ASC', - ConfidentialTransactionsByUpdatedBlockIdVarianceSampleMemoDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_MEMO_DESC', - ConfidentialTransactionsByUpdatedBlockIdVarianceSamplePendingAffirmationsAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_PENDING_AFFIRMATIONS_ASC', - ConfidentialTransactionsByUpdatedBlockIdVarianceSamplePendingAffirmationsDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_PENDING_AFFIRMATIONS_DESC', - ConfidentialTransactionsByUpdatedBlockIdVarianceSampleStatusAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_STATUS_ASC', - ConfidentialTransactionsByUpdatedBlockIdVarianceSampleStatusDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_STATUS_DESC', - ConfidentialTransactionsByUpdatedBlockIdVarianceSampleUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - ConfidentialTransactionsByUpdatedBlockIdVarianceSampleUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - ConfidentialTransactionsByUpdatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - ConfidentialTransactionsByUpdatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - ConfidentialTransactionsByUpdatedBlockIdVarianceSampleVenueIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_VENUE_ID_ASC', - ConfidentialTransactionsByUpdatedBlockIdVarianceSampleVenueIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_VENUE_ID_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdAverageAccountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_AVERAGE_ACCOUNT_ID_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdAverageAccountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_AVERAGE_ACCOUNT_ID_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdAverageCreatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdAverageCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdAverageCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdAverageCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdAverageEventIdxAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_IDX_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdAverageEventIdxDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_IDX_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdAverageIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_AVERAGE_IDENTITY_ID_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdAverageIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_AVERAGE_IDENTITY_ID_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdAverageIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_AVERAGE_ID_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdAverageIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_AVERAGE_ID_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdAverageLegIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_AVERAGE_LEG_ID_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdAverageLegIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_AVERAGE_LEG_ID_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdAverageProofsAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_AVERAGE_PROOFS_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdAverageProofsDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_AVERAGE_PROOFS_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdAverageStatusAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_AVERAGE_STATUS_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdAverageStatusDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_AVERAGE_STATUS_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdAverageTransactionIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_AVERAGE_TRANSACTION_ID_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdAverageTransactionIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_AVERAGE_TRANSACTION_ID_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdAverageTypeAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_AVERAGE_TYPE_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdAverageTypeDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_AVERAGE_TYPE_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdAverageUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdAverageUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdAverageUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdAverageUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdCountAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_COUNT_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdCountDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_COUNT_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdDistinctCountAccountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ACCOUNT_ID_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdDistinctCountAccountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ACCOUNT_ID_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdDistinctCountCreatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdDistinctCountCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdDistinctCountCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdDistinctCountEventIdxAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdDistinctCountEventIdxDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdDistinctCountIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_IDENTITY_ID_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdDistinctCountIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_IDENTITY_ID_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdDistinctCountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdDistinctCountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdDistinctCountLegIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_LEG_ID_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdDistinctCountLegIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_LEG_ID_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdDistinctCountProofsAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_PROOFS_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdDistinctCountProofsDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_PROOFS_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdDistinctCountStatusAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_STATUS_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdDistinctCountStatusDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_STATUS_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdDistinctCountTransactionIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TRANSACTION_ID_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdDistinctCountTransactionIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TRANSACTION_ID_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdDistinctCountTypeAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TYPE_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdDistinctCountTypeDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TYPE_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdDistinctCountUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdDistinctCountUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdDistinctCountUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdDistinctCountUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdMaxAccountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MAX_ACCOUNT_ID_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdMaxAccountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MAX_ACCOUNT_ID_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdMaxCreatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdMaxCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdMaxCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdMaxCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdMaxEventIdxAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MAX_EVENT_IDX_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdMaxEventIdxDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MAX_EVENT_IDX_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdMaxIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MAX_IDENTITY_ID_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdMaxIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MAX_IDENTITY_ID_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdMaxIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MAX_ID_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdMaxIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MAX_ID_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdMaxLegIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MAX_LEG_ID_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdMaxLegIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MAX_LEG_ID_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdMaxProofsAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MAX_PROOFS_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdMaxProofsDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MAX_PROOFS_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdMaxStatusAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MAX_STATUS_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdMaxStatusDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MAX_STATUS_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdMaxTransactionIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MAX_TRANSACTION_ID_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdMaxTransactionIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MAX_TRANSACTION_ID_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdMaxTypeAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MAX_TYPE_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdMaxTypeDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MAX_TYPE_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdMaxUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdMaxUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdMaxUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdMaxUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdMinAccountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MIN_ACCOUNT_ID_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdMinAccountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MIN_ACCOUNT_ID_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdMinCreatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdMinCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdMinCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdMinCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdMinEventIdxAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MIN_EVENT_IDX_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdMinEventIdxDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MIN_EVENT_IDX_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdMinIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MIN_IDENTITY_ID_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdMinIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MIN_IDENTITY_ID_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdMinIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MIN_ID_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdMinIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MIN_ID_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdMinLegIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MIN_LEG_ID_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdMinLegIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MIN_LEG_ID_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdMinProofsAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MIN_PROOFS_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdMinProofsDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MIN_PROOFS_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdMinStatusAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MIN_STATUS_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdMinStatusDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MIN_STATUS_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdMinTransactionIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MIN_TRANSACTION_ID_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdMinTransactionIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MIN_TRANSACTION_ID_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdMinTypeAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MIN_TYPE_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdMinTypeDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MIN_TYPE_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdMinUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdMinUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdMinUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdMinUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdStddevPopulationAccountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ACCOUNT_ID_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdStddevPopulationAccountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ACCOUNT_ID_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdStddevPopulationCreatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdStddevPopulationCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdStddevPopulationCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdStddevPopulationEventIdxAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdStddevPopulationEventIdxDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdStddevPopulationIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_IDENTITY_ID_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdStddevPopulationIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_IDENTITY_ID_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdStddevPopulationIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdStddevPopulationIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdStddevPopulationLegIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_LEG_ID_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdStddevPopulationLegIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_LEG_ID_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdStddevPopulationProofsAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_PROOFS_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdStddevPopulationProofsDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_PROOFS_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdStddevPopulationStatusAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_STATUS_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdStddevPopulationStatusDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_STATUS_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdStddevPopulationTransactionIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TRANSACTION_ID_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdStddevPopulationTransactionIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TRANSACTION_ID_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdStddevPopulationTypeAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TYPE_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdStddevPopulationTypeDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TYPE_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdStddevPopulationUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdStddevPopulationUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdStddevSampleAccountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ACCOUNT_ID_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdStddevSampleAccountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ACCOUNT_ID_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdStddevSampleCreatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdStddevSampleCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdStddevSampleCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdStddevSampleEventIdxAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdStddevSampleEventIdxDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdStddevSampleIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_IDENTITY_ID_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdStddevSampleIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_IDENTITY_ID_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdStddevSampleIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdStddevSampleIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdStddevSampleLegIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_LEG_ID_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdStddevSampleLegIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_LEG_ID_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdStddevSampleProofsAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_PROOFS_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdStddevSampleProofsDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_PROOFS_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdStddevSampleStatusAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_STATUS_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdStddevSampleStatusDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_STATUS_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdStddevSampleTransactionIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TRANSACTION_ID_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdStddevSampleTransactionIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TRANSACTION_ID_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdStddevSampleTypeAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TYPE_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdStddevSampleTypeDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TYPE_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdStddevSampleUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdStddevSampleUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdStddevSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdStddevSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdSumAccountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_SUM_ACCOUNT_ID_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdSumAccountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_SUM_ACCOUNT_ID_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdSumCreatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdSumCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdSumCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdSumCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdSumEventIdxAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_SUM_EVENT_IDX_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdSumEventIdxDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_SUM_EVENT_IDX_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdSumIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_SUM_IDENTITY_ID_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdSumIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_SUM_IDENTITY_ID_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdSumIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_SUM_ID_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdSumIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_SUM_ID_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdSumLegIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_SUM_LEG_ID_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdSumLegIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_SUM_LEG_ID_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdSumProofsAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_SUM_PROOFS_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdSumProofsDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_SUM_PROOFS_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdSumStatusAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_SUM_STATUS_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdSumStatusDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_SUM_STATUS_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdSumTransactionIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_SUM_TRANSACTION_ID_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdSumTransactionIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_SUM_TRANSACTION_ID_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdSumTypeAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_SUM_TYPE_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdSumTypeDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_SUM_TYPE_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdSumUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdSumUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdSumUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdSumUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdVariancePopulationAccountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ACCOUNT_ID_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdVariancePopulationAccountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ACCOUNT_ID_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdVariancePopulationCreatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdVariancePopulationCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdVariancePopulationCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdVariancePopulationEventIdxAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdVariancePopulationEventIdxDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdVariancePopulationIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_IDENTITY_ID_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdVariancePopulationIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_IDENTITY_ID_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdVariancePopulationIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdVariancePopulationIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdVariancePopulationLegIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_LEG_ID_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdVariancePopulationLegIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_LEG_ID_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdVariancePopulationProofsAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_PROOFS_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdVariancePopulationProofsDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_PROOFS_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdVariancePopulationStatusAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_STATUS_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdVariancePopulationStatusDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_STATUS_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdVariancePopulationTransactionIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TRANSACTION_ID_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdVariancePopulationTransactionIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TRANSACTION_ID_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdVariancePopulationTypeAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TYPE_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdVariancePopulationTypeDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TYPE_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdVariancePopulationUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdVariancePopulationUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdVarianceSampleAccountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ACCOUNT_ID_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdVarianceSampleAccountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ACCOUNT_ID_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdVarianceSampleCreatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdVarianceSampleCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdVarianceSampleCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdVarianceSampleEventIdxAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdVarianceSampleEventIdxDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdVarianceSampleIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_IDENTITY_ID_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdVarianceSampleIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_IDENTITY_ID_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdVarianceSampleIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdVarianceSampleIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdVarianceSampleLegIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_LEG_ID_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdVarianceSampleLegIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_LEG_ID_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdVarianceSampleProofsAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_PROOFS_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdVarianceSampleProofsDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_PROOFS_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdVarianceSampleStatusAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_STATUS_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdVarianceSampleStatusDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_STATUS_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdVarianceSampleTransactionIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TRANSACTION_ID_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdVarianceSampleTransactionIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TRANSACTION_ID_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdVarianceSampleTypeAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TYPE_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdVarianceSampleTypeDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TYPE_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdVarianceSampleUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdVarianceSampleUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - ConfidentialTransactionAffirmationsByCreatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - ConfidentialTransactionAffirmationsByCreatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdAverageAccountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_ACCOUNT_ID_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdAverageAccountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_ACCOUNT_ID_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdAverageCreatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdAverageCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdAverageCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdAverageCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdAverageEventIdxAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_IDX_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdAverageEventIdxDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_IDX_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdAverageIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_IDENTITY_ID_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdAverageIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_IDENTITY_ID_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdAverageIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdAverageIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdAverageLegIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_LEG_ID_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdAverageLegIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_LEG_ID_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdAverageProofsAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_PROOFS_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdAverageProofsDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_PROOFS_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdAverageStatusAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_STATUS_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdAverageStatusDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_STATUS_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdAverageTransactionIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_TRANSACTION_ID_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdAverageTransactionIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_TRANSACTION_ID_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdAverageTypeAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_TYPE_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdAverageTypeDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_TYPE_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdAverageUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdAverageUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdAverageUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdAverageUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdCountAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_COUNT_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdCountDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_COUNT_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdDistinctCountAccountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ACCOUNT_ID_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdDistinctCountAccountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ACCOUNT_ID_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdDistinctCountCreatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdDistinctCountCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdDistinctCountCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdDistinctCountEventIdxAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdDistinctCountEventIdxDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdDistinctCountIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_IDENTITY_ID_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdDistinctCountIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_IDENTITY_ID_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdDistinctCountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdDistinctCountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdDistinctCountLegIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_LEG_ID_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdDistinctCountLegIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_LEG_ID_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdDistinctCountProofsAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_PROOFS_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdDistinctCountProofsDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_PROOFS_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdDistinctCountStatusAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_STATUS_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdDistinctCountStatusDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_STATUS_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdDistinctCountTransactionIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TRANSACTION_ID_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdDistinctCountTransactionIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TRANSACTION_ID_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdDistinctCountTypeAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TYPE_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdDistinctCountTypeDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TYPE_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdDistinctCountUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdDistinctCountUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdDistinctCountUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdDistinctCountUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdMaxAccountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MAX_ACCOUNT_ID_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdMaxAccountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MAX_ACCOUNT_ID_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdMaxCreatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdMaxCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdMaxCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdMaxCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdMaxEventIdxAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MAX_EVENT_IDX_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdMaxEventIdxDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MAX_EVENT_IDX_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdMaxIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MAX_IDENTITY_ID_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdMaxIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MAX_IDENTITY_ID_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdMaxIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MAX_ID_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdMaxIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MAX_ID_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdMaxLegIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MAX_LEG_ID_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdMaxLegIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MAX_LEG_ID_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdMaxProofsAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MAX_PROOFS_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdMaxProofsDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MAX_PROOFS_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdMaxStatusAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MAX_STATUS_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdMaxStatusDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MAX_STATUS_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdMaxTransactionIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MAX_TRANSACTION_ID_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdMaxTransactionIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MAX_TRANSACTION_ID_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdMaxTypeAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MAX_TYPE_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdMaxTypeDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MAX_TYPE_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdMaxUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdMaxUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdMaxUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdMaxUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdMinAccountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MIN_ACCOUNT_ID_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdMinAccountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MIN_ACCOUNT_ID_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdMinCreatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdMinCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdMinCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdMinCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdMinEventIdxAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MIN_EVENT_IDX_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdMinEventIdxDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MIN_EVENT_IDX_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdMinIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MIN_IDENTITY_ID_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdMinIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MIN_IDENTITY_ID_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdMinIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MIN_ID_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdMinIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MIN_ID_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdMinLegIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MIN_LEG_ID_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdMinLegIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MIN_LEG_ID_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdMinProofsAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MIN_PROOFS_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdMinProofsDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MIN_PROOFS_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdMinStatusAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MIN_STATUS_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdMinStatusDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MIN_STATUS_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdMinTransactionIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MIN_TRANSACTION_ID_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdMinTransactionIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MIN_TRANSACTION_ID_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdMinTypeAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MIN_TYPE_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdMinTypeDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MIN_TYPE_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdMinUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdMinUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdMinUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdMinUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevPopulationAccountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ACCOUNT_ID_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevPopulationAccountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ACCOUNT_ID_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevPopulationCreatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevPopulationCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevPopulationCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevPopulationEventIdxAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevPopulationEventIdxDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevPopulationIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_IDENTITY_ID_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevPopulationIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_IDENTITY_ID_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevPopulationIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevPopulationIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevPopulationLegIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_LEG_ID_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevPopulationLegIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_LEG_ID_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevPopulationProofsAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_PROOFS_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevPopulationProofsDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_PROOFS_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevPopulationStatusAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_STATUS_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevPopulationStatusDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_STATUS_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevPopulationTransactionIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TRANSACTION_ID_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevPopulationTransactionIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TRANSACTION_ID_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevPopulationTypeAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TYPE_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevPopulationTypeDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TYPE_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevPopulationUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevPopulationUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevSampleAccountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ACCOUNT_ID_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevSampleAccountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ACCOUNT_ID_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevSampleCreatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevSampleCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevSampleCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevSampleEventIdxAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevSampleEventIdxDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevSampleIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_IDENTITY_ID_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevSampleIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_IDENTITY_ID_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevSampleIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevSampleIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevSampleLegIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_LEG_ID_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevSampleLegIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_LEG_ID_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevSampleProofsAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_PROOFS_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevSampleProofsDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_PROOFS_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevSampleStatusAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_STATUS_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevSampleStatusDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_STATUS_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevSampleTransactionIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TRANSACTION_ID_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevSampleTransactionIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TRANSACTION_ID_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevSampleTypeAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TYPE_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevSampleTypeDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TYPE_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevSampleUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevSampleUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdStddevSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdSumAccountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_SUM_ACCOUNT_ID_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdSumAccountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_SUM_ACCOUNT_ID_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdSumCreatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdSumCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdSumCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdSumCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdSumEventIdxAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_SUM_EVENT_IDX_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdSumEventIdxDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_SUM_EVENT_IDX_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdSumIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_SUM_IDENTITY_ID_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdSumIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_SUM_IDENTITY_ID_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdSumIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_SUM_ID_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdSumIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_SUM_ID_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdSumLegIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_SUM_LEG_ID_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdSumLegIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_SUM_LEG_ID_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdSumProofsAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_SUM_PROOFS_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdSumProofsDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_SUM_PROOFS_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdSumStatusAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_SUM_STATUS_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdSumStatusDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_SUM_STATUS_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdSumTransactionIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_SUM_TRANSACTION_ID_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdSumTransactionIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_SUM_TRANSACTION_ID_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdSumTypeAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_SUM_TYPE_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdSumTypeDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_SUM_TYPE_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdSumUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdSumUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdSumUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdSumUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdVariancePopulationAccountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ACCOUNT_ID_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdVariancePopulationAccountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ACCOUNT_ID_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdVariancePopulationCreatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdVariancePopulationCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdVariancePopulationCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdVariancePopulationEventIdxAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdVariancePopulationEventIdxDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdVariancePopulationIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_IDENTITY_ID_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdVariancePopulationIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_IDENTITY_ID_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdVariancePopulationIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdVariancePopulationIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdVariancePopulationLegIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_LEG_ID_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdVariancePopulationLegIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_LEG_ID_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdVariancePopulationProofsAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_PROOFS_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdVariancePopulationProofsDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_PROOFS_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdVariancePopulationStatusAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_STATUS_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdVariancePopulationStatusDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_STATUS_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdVariancePopulationTransactionIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TRANSACTION_ID_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdVariancePopulationTransactionIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TRANSACTION_ID_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdVariancePopulationTypeAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TYPE_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdVariancePopulationTypeDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TYPE_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdVariancePopulationUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdVariancePopulationUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdVarianceSampleAccountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ACCOUNT_ID_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdVarianceSampleAccountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ACCOUNT_ID_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdVarianceSampleCreatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdVarianceSampleCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdVarianceSampleCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdVarianceSampleEventIdxAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdVarianceSampleEventIdxDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdVarianceSampleIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_IDENTITY_ID_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdVarianceSampleIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_IDENTITY_ID_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdVarianceSampleIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdVarianceSampleIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdVarianceSampleLegIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_LEG_ID_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdVarianceSampleLegIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_LEG_ID_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdVarianceSampleProofsAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_PROOFS_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdVarianceSampleProofsDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_PROOFS_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdVarianceSampleStatusAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_STATUS_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdVarianceSampleStatusDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_STATUS_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdVarianceSampleTransactionIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TRANSACTION_ID_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdVarianceSampleTransactionIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TRANSACTION_ID_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdVarianceSampleTypeAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TYPE_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdVarianceSampleTypeDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TYPE_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdVarianceSampleUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdVarianceSampleUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - ConfidentialTransactionAffirmationsByUpdatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - ConfidentialVenuesByCreatedBlockIdAverageCreatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - ConfidentialVenuesByCreatedBlockIdAverageCreatedAtDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - ConfidentialVenuesByCreatedBlockIdAverageCreatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - ConfidentialVenuesByCreatedBlockIdAverageCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - ConfidentialVenuesByCreatedBlockIdAverageCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_AVERAGE_CREATOR_ID_ASC', - ConfidentialVenuesByCreatedBlockIdAverageCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_AVERAGE_CREATOR_ID_DESC', - ConfidentialVenuesByCreatedBlockIdAverageEventIdxAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_IDX_ASC', - ConfidentialVenuesByCreatedBlockIdAverageEventIdxDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_IDX_DESC', - ConfidentialVenuesByCreatedBlockIdAverageIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_AVERAGE_ID_ASC', - ConfidentialVenuesByCreatedBlockIdAverageIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_AVERAGE_ID_DESC', - ConfidentialVenuesByCreatedBlockIdAverageUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - ConfidentialVenuesByCreatedBlockIdAverageUpdatedAtDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - ConfidentialVenuesByCreatedBlockIdAverageUpdatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - ConfidentialVenuesByCreatedBlockIdAverageUpdatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - ConfidentialVenuesByCreatedBlockIdAverageVenueIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_AVERAGE_VENUE_ID_ASC', - ConfidentialVenuesByCreatedBlockIdAverageVenueIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_AVERAGE_VENUE_ID_DESC', - ConfidentialVenuesByCreatedBlockIdCountAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_COUNT_ASC', - ConfidentialVenuesByCreatedBlockIdCountDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_COUNT_DESC', - ConfidentialVenuesByCreatedBlockIdDistinctCountCreatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - ConfidentialVenuesByCreatedBlockIdDistinctCountCreatedAtDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - ConfidentialVenuesByCreatedBlockIdDistinctCountCreatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - ConfidentialVenuesByCreatedBlockIdDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - ConfidentialVenuesByCreatedBlockIdDistinctCountCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATOR_ID_ASC', - ConfidentialVenuesByCreatedBlockIdDistinctCountCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATOR_ID_DESC', - ConfidentialVenuesByCreatedBlockIdDistinctCountEventIdxAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_ASC', - ConfidentialVenuesByCreatedBlockIdDistinctCountEventIdxDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_DESC', - ConfidentialVenuesByCreatedBlockIdDistinctCountIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - ConfidentialVenuesByCreatedBlockIdDistinctCountIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - ConfidentialVenuesByCreatedBlockIdDistinctCountUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - ConfidentialVenuesByCreatedBlockIdDistinctCountUpdatedAtDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - ConfidentialVenuesByCreatedBlockIdDistinctCountUpdatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - ConfidentialVenuesByCreatedBlockIdDistinctCountUpdatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - ConfidentialVenuesByCreatedBlockIdDistinctCountVenueIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_VENUE_ID_ASC', - ConfidentialVenuesByCreatedBlockIdDistinctCountVenueIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_VENUE_ID_DESC', - ConfidentialVenuesByCreatedBlockIdMaxCreatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_ASC', - ConfidentialVenuesByCreatedBlockIdMaxCreatedAtDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_DESC', - ConfidentialVenuesByCreatedBlockIdMaxCreatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - ConfidentialVenuesByCreatedBlockIdMaxCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - ConfidentialVenuesByCreatedBlockIdMaxCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MAX_CREATOR_ID_ASC', - ConfidentialVenuesByCreatedBlockIdMaxCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MAX_CREATOR_ID_DESC', - ConfidentialVenuesByCreatedBlockIdMaxEventIdxAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MAX_EVENT_IDX_ASC', - ConfidentialVenuesByCreatedBlockIdMaxEventIdxDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MAX_EVENT_IDX_DESC', - ConfidentialVenuesByCreatedBlockIdMaxIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MAX_ID_ASC', - ConfidentialVenuesByCreatedBlockIdMaxIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MAX_ID_DESC', - ConfidentialVenuesByCreatedBlockIdMaxUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - ConfidentialVenuesByCreatedBlockIdMaxUpdatedAtDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - ConfidentialVenuesByCreatedBlockIdMaxUpdatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - ConfidentialVenuesByCreatedBlockIdMaxUpdatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - ConfidentialVenuesByCreatedBlockIdMaxVenueIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MAX_VENUE_ID_ASC', - ConfidentialVenuesByCreatedBlockIdMaxVenueIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MAX_VENUE_ID_DESC', - ConfidentialVenuesByCreatedBlockIdMinCreatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_ASC', - ConfidentialVenuesByCreatedBlockIdMinCreatedAtDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_DESC', - ConfidentialVenuesByCreatedBlockIdMinCreatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - ConfidentialVenuesByCreatedBlockIdMinCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - ConfidentialVenuesByCreatedBlockIdMinCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MIN_CREATOR_ID_ASC', - ConfidentialVenuesByCreatedBlockIdMinCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MIN_CREATOR_ID_DESC', - ConfidentialVenuesByCreatedBlockIdMinEventIdxAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MIN_EVENT_IDX_ASC', - ConfidentialVenuesByCreatedBlockIdMinEventIdxDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MIN_EVENT_IDX_DESC', - ConfidentialVenuesByCreatedBlockIdMinIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MIN_ID_ASC', - ConfidentialVenuesByCreatedBlockIdMinIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MIN_ID_DESC', - ConfidentialVenuesByCreatedBlockIdMinUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - ConfidentialVenuesByCreatedBlockIdMinUpdatedAtDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - ConfidentialVenuesByCreatedBlockIdMinUpdatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - ConfidentialVenuesByCreatedBlockIdMinUpdatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - ConfidentialVenuesByCreatedBlockIdMinVenueIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MIN_VENUE_ID_ASC', - ConfidentialVenuesByCreatedBlockIdMinVenueIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_MIN_VENUE_ID_DESC', - ConfidentialVenuesByCreatedBlockIdStddevPopulationCreatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - ConfidentialVenuesByCreatedBlockIdStddevPopulationCreatedAtDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - ConfidentialVenuesByCreatedBlockIdStddevPopulationCreatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - ConfidentialVenuesByCreatedBlockIdStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - ConfidentialVenuesByCreatedBlockIdStddevPopulationCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATOR_ID_ASC', - ConfidentialVenuesByCreatedBlockIdStddevPopulationCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATOR_ID_DESC', - ConfidentialVenuesByCreatedBlockIdStddevPopulationEventIdxAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_ASC', - ConfidentialVenuesByCreatedBlockIdStddevPopulationEventIdxDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_DESC', - ConfidentialVenuesByCreatedBlockIdStddevPopulationIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - ConfidentialVenuesByCreatedBlockIdStddevPopulationIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - ConfidentialVenuesByCreatedBlockIdStddevPopulationUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - ConfidentialVenuesByCreatedBlockIdStddevPopulationUpdatedAtDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - ConfidentialVenuesByCreatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - ConfidentialVenuesByCreatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - ConfidentialVenuesByCreatedBlockIdStddevPopulationVenueIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_VENUE_ID_ASC', - ConfidentialVenuesByCreatedBlockIdStddevPopulationVenueIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_VENUE_ID_DESC', - ConfidentialVenuesByCreatedBlockIdStddevSampleCreatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - ConfidentialVenuesByCreatedBlockIdStddevSampleCreatedAtDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - ConfidentialVenuesByCreatedBlockIdStddevSampleCreatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - ConfidentialVenuesByCreatedBlockIdStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - ConfidentialVenuesByCreatedBlockIdStddevSampleCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATOR_ID_ASC', - ConfidentialVenuesByCreatedBlockIdStddevSampleCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATOR_ID_DESC', - ConfidentialVenuesByCreatedBlockIdStddevSampleEventIdxAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', - ConfidentialVenuesByCreatedBlockIdStddevSampleEventIdxDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', - ConfidentialVenuesByCreatedBlockIdStddevSampleIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - ConfidentialVenuesByCreatedBlockIdStddevSampleIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - ConfidentialVenuesByCreatedBlockIdStddevSampleUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - ConfidentialVenuesByCreatedBlockIdStddevSampleUpdatedAtDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - ConfidentialVenuesByCreatedBlockIdStddevSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - ConfidentialVenuesByCreatedBlockIdStddevSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - ConfidentialVenuesByCreatedBlockIdStddevSampleVenueIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_VENUE_ID_ASC', - ConfidentialVenuesByCreatedBlockIdStddevSampleVenueIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_VENUE_ID_DESC', - ConfidentialVenuesByCreatedBlockIdSumCreatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_ASC', - ConfidentialVenuesByCreatedBlockIdSumCreatedAtDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_DESC', - ConfidentialVenuesByCreatedBlockIdSumCreatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - ConfidentialVenuesByCreatedBlockIdSumCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - ConfidentialVenuesByCreatedBlockIdSumCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_SUM_CREATOR_ID_ASC', - ConfidentialVenuesByCreatedBlockIdSumCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_SUM_CREATOR_ID_DESC', - ConfidentialVenuesByCreatedBlockIdSumEventIdxAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_SUM_EVENT_IDX_ASC', - ConfidentialVenuesByCreatedBlockIdSumEventIdxDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_SUM_EVENT_IDX_DESC', - ConfidentialVenuesByCreatedBlockIdSumIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_SUM_ID_ASC', - ConfidentialVenuesByCreatedBlockIdSumIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_SUM_ID_DESC', - ConfidentialVenuesByCreatedBlockIdSumUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - ConfidentialVenuesByCreatedBlockIdSumUpdatedAtDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - ConfidentialVenuesByCreatedBlockIdSumUpdatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - ConfidentialVenuesByCreatedBlockIdSumUpdatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - ConfidentialVenuesByCreatedBlockIdSumVenueIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_SUM_VENUE_ID_ASC', - ConfidentialVenuesByCreatedBlockIdSumVenueIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_SUM_VENUE_ID_DESC', - ConfidentialVenuesByCreatedBlockIdVariancePopulationCreatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - ConfidentialVenuesByCreatedBlockIdVariancePopulationCreatedAtDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - ConfidentialVenuesByCreatedBlockIdVariancePopulationCreatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - ConfidentialVenuesByCreatedBlockIdVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - ConfidentialVenuesByCreatedBlockIdVariancePopulationCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATOR_ID_ASC', - ConfidentialVenuesByCreatedBlockIdVariancePopulationCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATOR_ID_DESC', - ConfidentialVenuesByCreatedBlockIdVariancePopulationEventIdxAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', - ConfidentialVenuesByCreatedBlockIdVariancePopulationEventIdxDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', - ConfidentialVenuesByCreatedBlockIdVariancePopulationIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - ConfidentialVenuesByCreatedBlockIdVariancePopulationIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - ConfidentialVenuesByCreatedBlockIdVariancePopulationUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - ConfidentialVenuesByCreatedBlockIdVariancePopulationUpdatedAtDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - ConfidentialVenuesByCreatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - ConfidentialVenuesByCreatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - ConfidentialVenuesByCreatedBlockIdVariancePopulationVenueIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_VENUE_ID_ASC', - ConfidentialVenuesByCreatedBlockIdVariancePopulationVenueIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_VENUE_ID_DESC', - ConfidentialVenuesByCreatedBlockIdVarianceSampleCreatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - ConfidentialVenuesByCreatedBlockIdVarianceSampleCreatedAtDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - ConfidentialVenuesByCreatedBlockIdVarianceSampleCreatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - ConfidentialVenuesByCreatedBlockIdVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - ConfidentialVenuesByCreatedBlockIdVarianceSampleCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATOR_ID_ASC', - ConfidentialVenuesByCreatedBlockIdVarianceSampleCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATOR_ID_DESC', - ConfidentialVenuesByCreatedBlockIdVarianceSampleEventIdxAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', - ConfidentialVenuesByCreatedBlockIdVarianceSampleEventIdxDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', - ConfidentialVenuesByCreatedBlockIdVarianceSampleIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - ConfidentialVenuesByCreatedBlockIdVarianceSampleIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - ConfidentialVenuesByCreatedBlockIdVarianceSampleUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - ConfidentialVenuesByCreatedBlockIdVarianceSampleUpdatedAtDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - ConfidentialVenuesByCreatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - ConfidentialVenuesByCreatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - ConfidentialVenuesByCreatedBlockIdVarianceSampleVenueIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_VENUE_ID_ASC', - ConfidentialVenuesByCreatedBlockIdVarianceSampleVenueIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_VENUE_ID_DESC', - ConfidentialVenuesByUpdatedBlockIdAverageCreatedAtAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - ConfidentialVenuesByUpdatedBlockIdAverageCreatedAtDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - ConfidentialVenuesByUpdatedBlockIdAverageCreatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - ConfidentialVenuesByUpdatedBlockIdAverageCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - ConfidentialVenuesByUpdatedBlockIdAverageCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATOR_ID_ASC', - ConfidentialVenuesByUpdatedBlockIdAverageCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATOR_ID_DESC', - ConfidentialVenuesByUpdatedBlockIdAverageEventIdxAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_IDX_ASC', - ConfidentialVenuesByUpdatedBlockIdAverageEventIdxDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_IDX_DESC', - ConfidentialVenuesByUpdatedBlockIdAverageIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_ID_ASC', - ConfidentialVenuesByUpdatedBlockIdAverageIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_ID_DESC', - ConfidentialVenuesByUpdatedBlockIdAverageUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - ConfidentialVenuesByUpdatedBlockIdAverageUpdatedAtDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - ConfidentialVenuesByUpdatedBlockIdAverageUpdatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - ConfidentialVenuesByUpdatedBlockIdAverageUpdatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - ConfidentialVenuesByUpdatedBlockIdAverageVenueIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_VENUE_ID_ASC', - ConfidentialVenuesByUpdatedBlockIdAverageVenueIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_VENUE_ID_DESC', - ConfidentialVenuesByUpdatedBlockIdCountAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_COUNT_ASC', - ConfidentialVenuesByUpdatedBlockIdCountDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_COUNT_DESC', - ConfidentialVenuesByUpdatedBlockIdDistinctCountCreatedAtAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - ConfidentialVenuesByUpdatedBlockIdDistinctCountCreatedAtDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - ConfidentialVenuesByUpdatedBlockIdDistinctCountCreatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - ConfidentialVenuesByUpdatedBlockIdDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - ConfidentialVenuesByUpdatedBlockIdDistinctCountCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATOR_ID_ASC', - ConfidentialVenuesByUpdatedBlockIdDistinctCountCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATOR_ID_DESC', - ConfidentialVenuesByUpdatedBlockIdDistinctCountEventIdxAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_ASC', - ConfidentialVenuesByUpdatedBlockIdDistinctCountEventIdxDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_DESC', - ConfidentialVenuesByUpdatedBlockIdDistinctCountIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - ConfidentialVenuesByUpdatedBlockIdDistinctCountIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - ConfidentialVenuesByUpdatedBlockIdDistinctCountUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - ConfidentialVenuesByUpdatedBlockIdDistinctCountUpdatedAtDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - ConfidentialVenuesByUpdatedBlockIdDistinctCountUpdatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - ConfidentialVenuesByUpdatedBlockIdDistinctCountUpdatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - ConfidentialVenuesByUpdatedBlockIdDistinctCountVenueIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_VENUE_ID_ASC', - ConfidentialVenuesByUpdatedBlockIdDistinctCountVenueIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_VENUE_ID_DESC', - ConfidentialVenuesByUpdatedBlockIdMaxCreatedAtAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_ASC', - ConfidentialVenuesByUpdatedBlockIdMaxCreatedAtDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_DESC', - ConfidentialVenuesByUpdatedBlockIdMaxCreatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - ConfidentialVenuesByUpdatedBlockIdMaxCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - ConfidentialVenuesByUpdatedBlockIdMaxCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MAX_CREATOR_ID_ASC', - ConfidentialVenuesByUpdatedBlockIdMaxCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MAX_CREATOR_ID_DESC', - ConfidentialVenuesByUpdatedBlockIdMaxEventIdxAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MAX_EVENT_IDX_ASC', - ConfidentialVenuesByUpdatedBlockIdMaxEventIdxDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MAX_EVENT_IDX_DESC', - ConfidentialVenuesByUpdatedBlockIdMaxIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MAX_ID_ASC', - ConfidentialVenuesByUpdatedBlockIdMaxIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MAX_ID_DESC', - ConfidentialVenuesByUpdatedBlockIdMaxUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - ConfidentialVenuesByUpdatedBlockIdMaxUpdatedAtDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - ConfidentialVenuesByUpdatedBlockIdMaxUpdatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - ConfidentialVenuesByUpdatedBlockIdMaxUpdatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - ConfidentialVenuesByUpdatedBlockIdMaxVenueIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MAX_VENUE_ID_ASC', - ConfidentialVenuesByUpdatedBlockIdMaxVenueIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MAX_VENUE_ID_DESC', - ConfidentialVenuesByUpdatedBlockIdMinCreatedAtAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_ASC', - ConfidentialVenuesByUpdatedBlockIdMinCreatedAtDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_DESC', - ConfidentialVenuesByUpdatedBlockIdMinCreatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - ConfidentialVenuesByUpdatedBlockIdMinCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - ConfidentialVenuesByUpdatedBlockIdMinCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MIN_CREATOR_ID_ASC', - ConfidentialVenuesByUpdatedBlockIdMinCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MIN_CREATOR_ID_DESC', - ConfidentialVenuesByUpdatedBlockIdMinEventIdxAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MIN_EVENT_IDX_ASC', - ConfidentialVenuesByUpdatedBlockIdMinEventIdxDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MIN_EVENT_IDX_DESC', - ConfidentialVenuesByUpdatedBlockIdMinIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MIN_ID_ASC', - ConfidentialVenuesByUpdatedBlockIdMinIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MIN_ID_DESC', - ConfidentialVenuesByUpdatedBlockIdMinUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - ConfidentialVenuesByUpdatedBlockIdMinUpdatedAtDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - ConfidentialVenuesByUpdatedBlockIdMinUpdatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - ConfidentialVenuesByUpdatedBlockIdMinUpdatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - ConfidentialVenuesByUpdatedBlockIdMinVenueIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MIN_VENUE_ID_ASC', - ConfidentialVenuesByUpdatedBlockIdMinVenueIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_MIN_VENUE_ID_DESC', - ConfidentialVenuesByUpdatedBlockIdStddevPopulationCreatedAtAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - ConfidentialVenuesByUpdatedBlockIdStddevPopulationCreatedAtDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - ConfidentialVenuesByUpdatedBlockIdStddevPopulationCreatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - ConfidentialVenuesByUpdatedBlockIdStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - ConfidentialVenuesByUpdatedBlockIdStddevPopulationCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATOR_ID_ASC', - ConfidentialVenuesByUpdatedBlockIdStddevPopulationCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATOR_ID_DESC', - ConfidentialVenuesByUpdatedBlockIdStddevPopulationEventIdxAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_ASC', - ConfidentialVenuesByUpdatedBlockIdStddevPopulationEventIdxDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_DESC', - ConfidentialVenuesByUpdatedBlockIdStddevPopulationIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - ConfidentialVenuesByUpdatedBlockIdStddevPopulationIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - ConfidentialVenuesByUpdatedBlockIdStddevPopulationUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - ConfidentialVenuesByUpdatedBlockIdStddevPopulationUpdatedAtDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - ConfidentialVenuesByUpdatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - ConfidentialVenuesByUpdatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - ConfidentialVenuesByUpdatedBlockIdStddevPopulationVenueIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_VENUE_ID_ASC', - ConfidentialVenuesByUpdatedBlockIdStddevPopulationVenueIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_VENUE_ID_DESC', - ConfidentialVenuesByUpdatedBlockIdStddevSampleCreatedAtAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - ConfidentialVenuesByUpdatedBlockIdStddevSampleCreatedAtDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - ConfidentialVenuesByUpdatedBlockIdStddevSampleCreatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - ConfidentialVenuesByUpdatedBlockIdStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - ConfidentialVenuesByUpdatedBlockIdStddevSampleCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATOR_ID_ASC', - ConfidentialVenuesByUpdatedBlockIdStddevSampleCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATOR_ID_DESC', - ConfidentialVenuesByUpdatedBlockIdStddevSampleEventIdxAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', - ConfidentialVenuesByUpdatedBlockIdStddevSampleEventIdxDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', - ConfidentialVenuesByUpdatedBlockIdStddevSampleIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - ConfidentialVenuesByUpdatedBlockIdStddevSampleIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - ConfidentialVenuesByUpdatedBlockIdStddevSampleUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - ConfidentialVenuesByUpdatedBlockIdStddevSampleUpdatedAtDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - ConfidentialVenuesByUpdatedBlockIdStddevSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - ConfidentialVenuesByUpdatedBlockIdStddevSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - ConfidentialVenuesByUpdatedBlockIdStddevSampleVenueIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_VENUE_ID_ASC', - ConfidentialVenuesByUpdatedBlockIdStddevSampleVenueIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_VENUE_ID_DESC', - ConfidentialVenuesByUpdatedBlockIdSumCreatedAtAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_ASC', - ConfidentialVenuesByUpdatedBlockIdSumCreatedAtDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_DESC', - ConfidentialVenuesByUpdatedBlockIdSumCreatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - ConfidentialVenuesByUpdatedBlockIdSumCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - ConfidentialVenuesByUpdatedBlockIdSumCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_SUM_CREATOR_ID_ASC', - ConfidentialVenuesByUpdatedBlockIdSumCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_SUM_CREATOR_ID_DESC', - ConfidentialVenuesByUpdatedBlockIdSumEventIdxAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_SUM_EVENT_IDX_ASC', - ConfidentialVenuesByUpdatedBlockIdSumEventIdxDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_SUM_EVENT_IDX_DESC', - ConfidentialVenuesByUpdatedBlockIdSumIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_SUM_ID_ASC', - ConfidentialVenuesByUpdatedBlockIdSumIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_SUM_ID_DESC', - ConfidentialVenuesByUpdatedBlockIdSumUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - ConfidentialVenuesByUpdatedBlockIdSumUpdatedAtDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - ConfidentialVenuesByUpdatedBlockIdSumUpdatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - ConfidentialVenuesByUpdatedBlockIdSumUpdatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - ConfidentialVenuesByUpdatedBlockIdSumVenueIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_SUM_VENUE_ID_ASC', - ConfidentialVenuesByUpdatedBlockIdSumVenueIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_SUM_VENUE_ID_DESC', - ConfidentialVenuesByUpdatedBlockIdVariancePopulationCreatedAtAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - ConfidentialVenuesByUpdatedBlockIdVariancePopulationCreatedAtDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - ConfidentialVenuesByUpdatedBlockIdVariancePopulationCreatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - ConfidentialVenuesByUpdatedBlockIdVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - ConfidentialVenuesByUpdatedBlockIdVariancePopulationCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATOR_ID_ASC', - ConfidentialVenuesByUpdatedBlockIdVariancePopulationCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATOR_ID_DESC', - ConfidentialVenuesByUpdatedBlockIdVariancePopulationEventIdxAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', - ConfidentialVenuesByUpdatedBlockIdVariancePopulationEventIdxDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', - ConfidentialVenuesByUpdatedBlockIdVariancePopulationIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - ConfidentialVenuesByUpdatedBlockIdVariancePopulationIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - ConfidentialVenuesByUpdatedBlockIdVariancePopulationUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - ConfidentialVenuesByUpdatedBlockIdVariancePopulationUpdatedAtDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - ConfidentialVenuesByUpdatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - ConfidentialVenuesByUpdatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - ConfidentialVenuesByUpdatedBlockIdVariancePopulationVenueIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_VENUE_ID_ASC', - ConfidentialVenuesByUpdatedBlockIdVariancePopulationVenueIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_VENUE_ID_DESC', - ConfidentialVenuesByUpdatedBlockIdVarianceSampleCreatedAtAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - ConfidentialVenuesByUpdatedBlockIdVarianceSampleCreatedAtDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - ConfidentialVenuesByUpdatedBlockIdVarianceSampleCreatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - ConfidentialVenuesByUpdatedBlockIdVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - ConfidentialVenuesByUpdatedBlockIdVarianceSampleCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATOR_ID_ASC', - ConfidentialVenuesByUpdatedBlockIdVarianceSampleCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATOR_ID_DESC', - ConfidentialVenuesByUpdatedBlockIdVarianceSampleEventIdxAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', - ConfidentialVenuesByUpdatedBlockIdVarianceSampleEventIdxDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', - ConfidentialVenuesByUpdatedBlockIdVarianceSampleIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - ConfidentialVenuesByUpdatedBlockIdVarianceSampleIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - ConfidentialVenuesByUpdatedBlockIdVarianceSampleUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - ConfidentialVenuesByUpdatedBlockIdVarianceSampleUpdatedAtDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - ConfidentialVenuesByUpdatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - ConfidentialVenuesByUpdatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - ConfidentialVenuesByUpdatedBlockIdVarianceSampleVenueIdAsc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_VENUE_ID_ASC', - ConfidentialVenuesByUpdatedBlockIdVarianceSampleVenueIdDesc = 'CONFIDENTIAL_VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_VENUE_ID_DESC', - CountEventsAsc = 'COUNT_EVENTS_ASC', - CountEventsDesc = 'COUNT_EVENTS_DESC', - CountExtrinsicsAsc = 'COUNT_EXTRINSICS_ASC', - CountExtrinsicsDesc = 'COUNT_EXTRINSICS_DESC', - CountExtrinsicsErrorAsc = 'COUNT_EXTRINSICS_ERROR_ASC', - CountExtrinsicsErrorDesc = 'COUNT_EXTRINSICS_ERROR_DESC', - CountExtrinsicsSignedAsc = 'COUNT_EXTRINSICS_SIGNED_ASC', - CountExtrinsicsSignedDesc = 'COUNT_EXTRINSICS_SIGNED_DESC', - CountExtrinsicsSuccessAsc = 'COUNT_EXTRINSICS_SUCCESS_ASC', - CountExtrinsicsSuccessDesc = 'COUNT_EXTRINSICS_SUCCESS_DESC', - CountExtrinsicsUnsignedAsc = 'COUNT_EXTRINSICS_UNSIGNED_ASC', - CountExtrinsicsUnsignedDesc = 'COUNT_EXTRINSICS_UNSIGNED_DESC', - CreatedAtAsc = 'CREATED_AT_ASC', - CreatedAtDesc = 'CREATED_AT_DESC', - CustomClaimTypesByCreatedBlockIdAverageCreatedAtAsc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - CustomClaimTypesByCreatedBlockIdAverageCreatedAtDesc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - CustomClaimTypesByCreatedBlockIdAverageCreatedBlockIdAsc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - CustomClaimTypesByCreatedBlockIdAverageCreatedBlockIdDesc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - CustomClaimTypesByCreatedBlockIdAverageIdentityIdAsc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_AVERAGE_IDENTITY_ID_ASC', - CustomClaimTypesByCreatedBlockIdAverageIdentityIdDesc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_AVERAGE_IDENTITY_ID_DESC', - CustomClaimTypesByCreatedBlockIdAverageIdAsc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_AVERAGE_ID_ASC', - CustomClaimTypesByCreatedBlockIdAverageIdDesc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_AVERAGE_ID_DESC', - CustomClaimTypesByCreatedBlockIdAverageNameAsc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_AVERAGE_NAME_ASC', - CustomClaimTypesByCreatedBlockIdAverageNameDesc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_AVERAGE_NAME_DESC', - CustomClaimTypesByCreatedBlockIdAverageUpdatedAtAsc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - CustomClaimTypesByCreatedBlockIdAverageUpdatedAtDesc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - CustomClaimTypesByCreatedBlockIdAverageUpdatedBlockIdAsc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - CustomClaimTypesByCreatedBlockIdAverageUpdatedBlockIdDesc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - CustomClaimTypesByCreatedBlockIdCountAsc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_COUNT_ASC', - CustomClaimTypesByCreatedBlockIdCountDesc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_COUNT_DESC', - CustomClaimTypesByCreatedBlockIdDistinctCountCreatedAtAsc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - CustomClaimTypesByCreatedBlockIdDistinctCountCreatedAtDesc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - CustomClaimTypesByCreatedBlockIdDistinctCountCreatedBlockIdAsc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - CustomClaimTypesByCreatedBlockIdDistinctCountCreatedBlockIdDesc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - CustomClaimTypesByCreatedBlockIdDistinctCountIdentityIdAsc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_IDENTITY_ID_ASC', - CustomClaimTypesByCreatedBlockIdDistinctCountIdentityIdDesc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_IDENTITY_ID_DESC', - CustomClaimTypesByCreatedBlockIdDistinctCountIdAsc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - CustomClaimTypesByCreatedBlockIdDistinctCountIdDesc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - CustomClaimTypesByCreatedBlockIdDistinctCountNameAsc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_NAME_ASC', - CustomClaimTypesByCreatedBlockIdDistinctCountNameDesc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_NAME_DESC', - CustomClaimTypesByCreatedBlockIdDistinctCountUpdatedAtAsc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - CustomClaimTypesByCreatedBlockIdDistinctCountUpdatedAtDesc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - CustomClaimTypesByCreatedBlockIdDistinctCountUpdatedBlockIdAsc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - CustomClaimTypesByCreatedBlockIdDistinctCountUpdatedBlockIdDesc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - CustomClaimTypesByCreatedBlockIdMaxCreatedAtAsc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_ASC', - CustomClaimTypesByCreatedBlockIdMaxCreatedAtDesc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_DESC', - CustomClaimTypesByCreatedBlockIdMaxCreatedBlockIdAsc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - CustomClaimTypesByCreatedBlockIdMaxCreatedBlockIdDesc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - CustomClaimTypesByCreatedBlockIdMaxIdentityIdAsc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_MAX_IDENTITY_ID_ASC', - CustomClaimTypesByCreatedBlockIdMaxIdentityIdDesc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_MAX_IDENTITY_ID_DESC', - CustomClaimTypesByCreatedBlockIdMaxIdAsc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_MAX_ID_ASC', - CustomClaimTypesByCreatedBlockIdMaxIdDesc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_MAX_ID_DESC', - CustomClaimTypesByCreatedBlockIdMaxNameAsc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_MAX_NAME_ASC', - CustomClaimTypesByCreatedBlockIdMaxNameDesc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_MAX_NAME_DESC', - CustomClaimTypesByCreatedBlockIdMaxUpdatedAtAsc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - CustomClaimTypesByCreatedBlockIdMaxUpdatedAtDesc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - CustomClaimTypesByCreatedBlockIdMaxUpdatedBlockIdAsc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - CustomClaimTypesByCreatedBlockIdMaxUpdatedBlockIdDesc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - CustomClaimTypesByCreatedBlockIdMinCreatedAtAsc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_ASC', - CustomClaimTypesByCreatedBlockIdMinCreatedAtDesc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_DESC', - CustomClaimTypesByCreatedBlockIdMinCreatedBlockIdAsc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - CustomClaimTypesByCreatedBlockIdMinCreatedBlockIdDesc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - CustomClaimTypesByCreatedBlockIdMinIdentityIdAsc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_MIN_IDENTITY_ID_ASC', - CustomClaimTypesByCreatedBlockIdMinIdentityIdDesc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_MIN_IDENTITY_ID_DESC', - CustomClaimTypesByCreatedBlockIdMinIdAsc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_MIN_ID_ASC', - CustomClaimTypesByCreatedBlockIdMinIdDesc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_MIN_ID_DESC', - CustomClaimTypesByCreatedBlockIdMinNameAsc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_MIN_NAME_ASC', - CustomClaimTypesByCreatedBlockIdMinNameDesc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_MIN_NAME_DESC', - CustomClaimTypesByCreatedBlockIdMinUpdatedAtAsc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - CustomClaimTypesByCreatedBlockIdMinUpdatedAtDesc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - CustomClaimTypesByCreatedBlockIdMinUpdatedBlockIdAsc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - CustomClaimTypesByCreatedBlockIdMinUpdatedBlockIdDesc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - CustomClaimTypesByCreatedBlockIdStddevPopulationCreatedAtAsc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - CustomClaimTypesByCreatedBlockIdStddevPopulationCreatedAtDesc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - CustomClaimTypesByCreatedBlockIdStddevPopulationCreatedBlockIdAsc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - CustomClaimTypesByCreatedBlockIdStddevPopulationCreatedBlockIdDesc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - CustomClaimTypesByCreatedBlockIdStddevPopulationIdentityIdAsc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_IDENTITY_ID_ASC', - CustomClaimTypesByCreatedBlockIdStddevPopulationIdentityIdDesc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_IDENTITY_ID_DESC', - CustomClaimTypesByCreatedBlockIdStddevPopulationIdAsc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - CustomClaimTypesByCreatedBlockIdStddevPopulationIdDesc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - CustomClaimTypesByCreatedBlockIdStddevPopulationNameAsc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_NAME_ASC', - CustomClaimTypesByCreatedBlockIdStddevPopulationNameDesc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_NAME_DESC', - CustomClaimTypesByCreatedBlockIdStddevPopulationUpdatedAtAsc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - CustomClaimTypesByCreatedBlockIdStddevPopulationUpdatedAtDesc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - CustomClaimTypesByCreatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - CustomClaimTypesByCreatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - CustomClaimTypesByCreatedBlockIdStddevSampleCreatedAtAsc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - CustomClaimTypesByCreatedBlockIdStddevSampleCreatedAtDesc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - CustomClaimTypesByCreatedBlockIdStddevSampleCreatedBlockIdAsc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - CustomClaimTypesByCreatedBlockIdStddevSampleCreatedBlockIdDesc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - CustomClaimTypesByCreatedBlockIdStddevSampleIdentityIdAsc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_IDENTITY_ID_ASC', - CustomClaimTypesByCreatedBlockIdStddevSampleIdentityIdDesc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_IDENTITY_ID_DESC', - CustomClaimTypesByCreatedBlockIdStddevSampleIdAsc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - CustomClaimTypesByCreatedBlockIdStddevSampleIdDesc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - CustomClaimTypesByCreatedBlockIdStddevSampleNameAsc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_NAME_ASC', - CustomClaimTypesByCreatedBlockIdStddevSampleNameDesc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_NAME_DESC', - CustomClaimTypesByCreatedBlockIdStddevSampleUpdatedAtAsc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - CustomClaimTypesByCreatedBlockIdStddevSampleUpdatedAtDesc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - CustomClaimTypesByCreatedBlockIdStddevSampleUpdatedBlockIdAsc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - CustomClaimTypesByCreatedBlockIdStddevSampleUpdatedBlockIdDesc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - CustomClaimTypesByCreatedBlockIdSumCreatedAtAsc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_ASC', - CustomClaimTypesByCreatedBlockIdSumCreatedAtDesc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_DESC', - CustomClaimTypesByCreatedBlockIdSumCreatedBlockIdAsc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - CustomClaimTypesByCreatedBlockIdSumCreatedBlockIdDesc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - CustomClaimTypesByCreatedBlockIdSumIdentityIdAsc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_SUM_IDENTITY_ID_ASC', - CustomClaimTypesByCreatedBlockIdSumIdentityIdDesc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_SUM_IDENTITY_ID_DESC', - CustomClaimTypesByCreatedBlockIdSumIdAsc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_SUM_ID_ASC', - CustomClaimTypesByCreatedBlockIdSumIdDesc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_SUM_ID_DESC', - CustomClaimTypesByCreatedBlockIdSumNameAsc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_SUM_NAME_ASC', - CustomClaimTypesByCreatedBlockIdSumNameDesc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_SUM_NAME_DESC', - CustomClaimTypesByCreatedBlockIdSumUpdatedAtAsc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - CustomClaimTypesByCreatedBlockIdSumUpdatedAtDesc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - CustomClaimTypesByCreatedBlockIdSumUpdatedBlockIdAsc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - CustomClaimTypesByCreatedBlockIdSumUpdatedBlockIdDesc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - CustomClaimTypesByCreatedBlockIdVariancePopulationCreatedAtAsc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - CustomClaimTypesByCreatedBlockIdVariancePopulationCreatedAtDesc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - CustomClaimTypesByCreatedBlockIdVariancePopulationCreatedBlockIdAsc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - CustomClaimTypesByCreatedBlockIdVariancePopulationCreatedBlockIdDesc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - CustomClaimTypesByCreatedBlockIdVariancePopulationIdentityIdAsc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_IDENTITY_ID_ASC', - CustomClaimTypesByCreatedBlockIdVariancePopulationIdentityIdDesc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_IDENTITY_ID_DESC', - CustomClaimTypesByCreatedBlockIdVariancePopulationIdAsc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - CustomClaimTypesByCreatedBlockIdVariancePopulationIdDesc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - CustomClaimTypesByCreatedBlockIdVariancePopulationNameAsc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_NAME_ASC', - CustomClaimTypesByCreatedBlockIdVariancePopulationNameDesc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_NAME_DESC', - CustomClaimTypesByCreatedBlockIdVariancePopulationUpdatedAtAsc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - CustomClaimTypesByCreatedBlockIdVariancePopulationUpdatedAtDesc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - CustomClaimTypesByCreatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - CustomClaimTypesByCreatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - CustomClaimTypesByCreatedBlockIdVarianceSampleCreatedAtAsc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - CustomClaimTypesByCreatedBlockIdVarianceSampleCreatedAtDesc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - CustomClaimTypesByCreatedBlockIdVarianceSampleCreatedBlockIdAsc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - CustomClaimTypesByCreatedBlockIdVarianceSampleCreatedBlockIdDesc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - CustomClaimTypesByCreatedBlockIdVarianceSampleIdentityIdAsc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_IDENTITY_ID_ASC', - CustomClaimTypesByCreatedBlockIdVarianceSampleIdentityIdDesc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_IDENTITY_ID_DESC', - CustomClaimTypesByCreatedBlockIdVarianceSampleIdAsc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - CustomClaimTypesByCreatedBlockIdVarianceSampleIdDesc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - CustomClaimTypesByCreatedBlockIdVarianceSampleNameAsc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_NAME_ASC', - CustomClaimTypesByCreatedBlockIdVarianceSampleNameDesc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_NAME_DESC', - CustomClaimTypesByCreatedBlockIdVarianceSampleUpdatedAtAsc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - CustomClaimTypesByCreatedBlockIdVarianceSampleUpdatedAtDesc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - CustomClaimTypesByCreatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - CustomClaimTypesByCreatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'CUSTOM_CLAIM_TYPES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - CustomClaimTypesByUpdatedBlockIdAverageCreatedAtAsc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - CustomClaimTypesByUpdatedBlockIdAverageCreatedAtDesc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - CustomClaimTypesByUpdatedBlockIdAverageCreatedBlockIdAsc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - CustomClaimTypesByUpdatedBlockIdAverageCreatedBlockIdDesc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - CustomClaimTypesByUpdatedBlockIdAverageIdentityIdAsc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_AVERAGE_IDENTITY_ID_ASC', - CustomClaimTypesByUpdatedBlockIdAverageIdentityIdDesc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_AVERAGE_IDENTITY_ID_DESC', - CustomClaimTypesByUpdatedBlockIdAverageIdAsc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_AVERAGE_ID_ASC', - CustomClaimTypesByUpdatedBlockIdAverageIdDesc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_AVERAGE_ID_DESC', - CustomClaimTypesByUpdatedBlockIdAverageNameAsc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_AVERAGE_NAME_ASC', - CustomClaimTypesByUpdatedBlockIdAverageNameDesc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_AVERAGE_NAME_DESC', - CustomClaimTypesByUpdatedBlockIdAverageUpdatedAtAsc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - CustomClaimTypesByUpdatedBlockIdAverageUpdatedAtDesc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - CustomClaimTypesByUpdatedBlockIdAverageUpdatedBlockIdAsc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - CustomClaimTypesByUpdatedBlockIdAverageUpdatedBlockIdDesc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - CustomClaimTypesByUpdatedBlockIdCountAsc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_COUNT_ASC', - CustomClaimTypesByUpdatedBlockIdCountDesc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_COUNT_DESC', - CustomClaimTypesByUpdatedBlockIdDistinctCountCreatedAtAsc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - CustomClaimTypesByUpdatedBlockIdDistinctCountCreatedAtDesc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - CustomClaimTypesByUpdatedBlockIdDistinctCountCreatedBlockIdAsc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - CustomClaimTypesByUpdatedBlockIdDistinctCountCreatedBlockIdDesc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - CustomClaimTypesByUpdatedBlockIdDistinctCountIdentityIdAsc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_IDENTITY_ID_ASC', - CustomClaimTypesByUpdatedBlockIdDistinctCountIdentityIdDesc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_IDENTITY_ID_DESC', - CustomClaimTypesByUpdatedBlockIdDistinctCountIdAsc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - CustomClaimTypesByUpdatedBlockIdDistinctCountIdDesc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - CustomClaimTypesByUpdatedBlockIdDistinctCountNameAsc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_NAME_ASC', - CustomClaimTypesByUpdatedBlockIdDistinctCountNameDesc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_NAME_DESC', - CustomClaimTypesByUpdatedBlockIdDistinctCountUpdatedAtAsc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - CustomClaimTypesByUpdatedBlockIdDistinctCountUpdatedAtDesc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - CustomClaimTypesByUpdatedBlockIdDistinctCountUpdatedBlockIdAsc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - CustomClaimTypesByUpdatedBlockIdDistinctCountUpdatedBlockIdDesc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - CustomClaimTypesByUpdatedBlockIdMaxCreatedAtAsc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_ASC', - CustomClaimTypesByUpdatedBlockIdMaxCreatedAtDesc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_DESC', - CustomClaimTypesByUpdatedBlockIdMaxCreatedBlockIdAsc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - CustomClaimTypesByUpdatedBlockIdMaxCreatedBlockIdDesc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - CustomClaimTypesByUpdatedBlockIdMaxIdentityIdAsc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_MAX_IDENTITY_ID_ASC', - CustomClaimTypesByUpdatedBlockIdMaxIdentityIdDesc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_MAX_IDENTITY_ID_DESC', - CustomClaimTypesByUpdatedBlockIdMaxIdAsc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_MAX_ID_ASC', - CustomClaimTypesByUpdatedBlockIdMaxIdDesc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_MAX_ID_DESC', - CustomClaimTypesByUpdatedBlockIdMaxNameAsc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_MAX_NAME_ASC', - CustomClaimTypesByUpdatedBlockIdMaxNameDesc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_MAX_NAME_DESC', - CustomClaimTypesByUpdatedBlockIdMaxUpdatedAtAsc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - CustomClaimTypesByUpdatedBlockIdMaxUpdatedAtDesc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - CustomClaimTypesByUpdatedBlockIdMaxUpdatedBlockIdAsc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - CustomClaimTypesByUpdatedBlockIdMaxUpdatedBlockIdDesc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - CustomClaimTypesByUpdatedBlockIdMinCreatedAtAsc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_ASC', - CustomClaimTypesByUpdatedBlockIdMinCreatedAtDesc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_DESC', - CustomClaimTypesByUpdatedBlockIdMinCreatedBlockIdAsc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - CustomClaimTypesByUpdatedBlockIdMinCreatedBlockIdDesc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - CustomClaimTypesByUpdatedBlockIdMinIdentityIdAsc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_MIN_IDENTITY_ID_ASC', - CustomClaimTypesByUpdatedBlockIdMinIdentityIdDesc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_MIN_IDENTITY_ID_DESC', - CustomClaimTypesByUpdatedBlockIdMinIdAsc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_MIN_ID_ASC', - CustomClaimTypesByUpdatedBlockIdMinIdDesc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_MIN_ID_DESC', - CustomClaimTypesByUpdatedBlockIdMinNameAsc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_MIN_NAME_ASC', - CustomClaimTypesByUpdatedBlockIdMinNameDesc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_MIN_NAME_DESC', - CustomClaimTypesByUpdatedBlockIdMinUpdatedAtAsc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - CustomClaimTypesByUpdatedBlockIdMinUpdatedAtDesc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - CustomClaimTypesByUpdatedBlockIdMinUpdatedBlockIdAsc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - CustomClaimTypesByUpdatedBlockIdMinUpdatedBlockIdDesc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - CustomClaimTypesByUpdatedBlockIdStddevPopulationCreatedAtAsc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - CustomClaimTypesByUpdatedBlockIdStddevPopulationCreatedAtDesc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - CustomClaimTypesByUpdatedBlockIdStddevPopulationCreatedBlockIdAsc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - CustomClaimTypesByUpdatedBlockIdStddevPopulationCreatedBlockIdDesc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - CustomClaimTypesByUpdatedBlockIdStddevPopulationIdentityIdAsc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_IDENTITY_ID_ASC', - CustomClaimTypesByUpdatedBlockIdStddevPopulationIdentityIdDesc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_IDENTITY_ID_DESC', - CustomClaimTypesByUpdatedBlockIdStddevPopulationIdAsc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - CustomClaimTypesByUpdatedBlockIdStddevPopulationIdDesc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - CustomClaimTypesByUpdatedBlockIdStddevPopulationNameAsc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_NAME_ASC', - CustomClaimTypesByUpdatedBlockIdStddevPopulationNameDesc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_NAME_DESC', - CustomClaimTypesByUpdatedBlockIdStddevPopulationUpdatedAtAsc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - CustomClaimTypesByUpdatedBlockIdStddevPopulationUpdatedAtDesc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - CustomClaimTypesByUpdatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - CustomClaimTypesByUpdatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - CustomClaimTypesByUpdatedBlockIdStddevSampleCreatedAtAsc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - CustomClaimTypesByUpdatedBlockIdStddevSampleCreatedAtDesc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - CustomClaimTypesByUpdatedBlockIdStddevSampleCreatedBlockIdAsc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - CustomClaimTypesByUpdatedBlockIdStddevSampleCreatedBlockIdDesc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - CustomClaimTypesByUpdatedBlockIdStddevSampleIdentityIdAsc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_IDENTITY_ID_ASC', - CustomClaimTypesByUpdatedBlockIdStddevSampleIdentityIdDesc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_IDENTITY_ID_DESC', - CustomClaimTypesByUpdatedBlockIdStddevSampleIdAsc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - CustomClaimTypesByUpdatedBlockIdStddevSampleIdDesc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - CustomClaimTypesByUpdatedBlockIdStddevSampleNameAsc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_NAME_ASC', - CustomClaimTypesByUpdatedBlockIdStddevSampleNameDesc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_NAME_DESC', - CustomClaimTypesByUpdatedBlockIdStddevSampleUpdatedAtAsc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - CustomClaimTypesByUpdatedBlockIdStddevSampleUpdatedAtDesc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - CustomClaimTypesByUpdatedBlockIdStddevSampleUpdatedBlockIdAsc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - CustomClaimTypesByUpdatedBlockIdStddevSampleUpdatedBlockIdDesc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - CustomClaimTypesByUpdatedBlockIdSumCreatedAtAsc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_ASC', - CustomClaimTypesByUpdatedBlockIdSumCreatedAtDesc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_DESC', - CustomClaimTypesByUpdatedBlockIdSumCreatedBlockIdAsc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - CustomClaimTypesByUpdatedBlockIdSumCreatedBlockIdDesc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - CustomClaimTypesByUpdatedBlockIdSumIdentityIdAsc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_SUM_IDENTITY_ID_ASC', - CustomClaimTypesByUpdatedBlockIdSumIdentityIdDesc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_SUM_IDENTITY_ID_DESC', - CustomClaimTypesByUpdatedBlockIdSumIdAsc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_SUM_ID_ASC', - CustomClaimTypesByUpdatedBlockIdSumIdDesc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_SUM_ID_DESC', - CustomClaimTypesByUpdatedBlockIdSumNameAsc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_SUM_NAME_ASC', - CustomClaimTypesByUpdatedBlockIdSumNameDesc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_SUM_NAME_DESC', - CustomClaimTypesByUpdatedBlockIdSumUpdatedAtAsc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - CustomClaimTypesByUpdatedBlockIdSumUpdatedAtDesc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - CustomClaimTypesByUpdatedBlockIdSumUpdatedBlockIdAsc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - CustomClaimTypesByUpdatedBlockIdSumUpdatedBlockIdDesc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - CustomClaimTypesByUpdatedBlockIdVariancePopulationCreatedAtAsc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - CustomClaimTypesByUpdatedBlockIdVariancePopulationCreatedAtDesc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - CustomClaimTypesByUpdatedBlockIdVariancePopulationCreatedBlockIdAsc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - CustomClaimTypesByUpdatedBlockIdVariancePopulationCreatedBlockIdDesc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - CustomClaimTypesByUpdatedBlockIdVariancePopulationIdentityIdAsc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_IDENTITY_ID_ASC', - CustomClaimTypesByUpdatedBlockIdVariancePopulationIdentityIdDesc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_IDENTITY_ID_DESC', - CustomClaimTypesByUpdatedBlockIdVariancePopulationIdAsc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - CustomClaimTypesByUpdatedBlockIdVariancePopulationIdDesc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - CustomClaimTypesByUpdatedBlockIdVariancePopulationNameAsc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_NAME_ASC', - CustomClaimTypesByUpdatedBlockIdVariancePopulationNameDesc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_NAME_DESC', - CustomClaimTypesByUpdatedBlockIdVariancePopulationUpdatedAtAsc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - CustomClaimTypesByUpdatedBlockIdVariancePopulationUpdatedAtDesc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - CustomClaimTypesByUpdatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - CustomClaimTypesByUpdatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - CustomClaimTypesByUpdatedBlockIdVarianceSampleCreatedAtAsc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - CustomClaimTypesByUpdatedBlockIdVarianceSampleCreatedAtDesc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - CustomClaimTypesByUpdatedBlockIdVarianceSampleCreatedBlockIdAsc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - CustomClaimTypesByUpdatedBlockIdVarianceSampleCreatedBlockIdDesc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - CustomClaimTypesByUpdatedBlockIdVarianceSampleIdentityIdAsc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_IDENTITY_ID_ASC', - CustomClaimTypesByUpdatedBlockIdVarianceSampleIdentityIdDesc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_IDENTITY_ID_DESC', - CustomClaimTypesByUpdatedBlockIdVarianceSampleIdAsc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - CustomClaimTypesByUpdatedBlockIdVarianceSampleIdDesc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - CustomClaimTypesByUpdatedBlockIdVarianceSampleNameAsc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_NAME_ASC', - CustomClaimTypesByUpdatedBlockIdVarianceSampleNameDesc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_NAME_DESC', - CustomClaimTypesByUpdatedBlockIdVarianceSampleUpdatedAtAsc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - CustomClaimTypesByUpdatedBlockIdVarianceSampleUpdatedAtDesc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - CustomClaimTypesByUpdatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - CustomClaimTypesByUpdatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'CUSTOM_CLAIM_TYPES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - DatetimeAsc = 'DATETIME_ASC', - DatetimeDesc = 'DATETIME_DESC', - DistributionsByCreatedBlockIdAverageAmountAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_AVERAGE_AMOUNT_ASC', - DistributionsByCreatedBlockIdAverageAmountDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_AVERAGE_AMOUNT_DESC', - DistributionsByCreatedBlockIdAverageAssetIdAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_AVERAGE_ASSET_ID_ASC', - DistributionsByCreatedBlockIdAverageAssetIdDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_AVERAGE_ASSET_ID_DESC', - DistributionsByCreatedBlockIdAverageCreatedAtAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - DistributionsByCreatedBlockIdAverageCreatedAtDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - DistributionsByCreatedBlockIdAverageCreatedBlockIdAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - DistributionsByCreatedBlockIdAverageCreatedBlockIdDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - DistributionsByCreatedBlockIdAverageCurrencyAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_AVERAGE_CURRENCY_ASC', - DistributionsByCreatedBlockIdAverageCurrencyDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_AVERAGE_CURRENCY_DESC', - DistributionsByCreatedBlockIdAverageExpiresAtAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_AVERAGE_EXPIRES_AT_ASC', - DistributionsByCreatedBlockIdAverageExpiresAtDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_AVERAGE_EXPIRES_AT_DESC', - DistributionsByCreatedBlockIdAverageIdentityIdAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_AVERAGE_IDENTITY_ID_ASC', - DistributionsByCreatedBlockIdAverageIdentityIdDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_AVERAGE_IDENTITY_ID_DESC', - DistributionsByCreatedBlockIdAverageIdAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_AVERAGE_ID_ASC', - DistributionsByCreatedBlockIdAverageIdDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_AVERAGE_ID_DESC', - DistributionsByCreatedBlockIdAverageLocalIdAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_AVERAGE_LOCAL_ID_ASC', - DistributionsByCreatedBlockIdAverageLocalIdDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_AVERAGE_LOCAL_ID_DESC', - DistributionsByCreatedBlockIdAveragePaymentAtAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_AVERAGE_PAYMENT_AT_ASC', - DistributionsByCreatedBlockIdAveragePaymentAtDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_AVERAGE_PAYMENT_AT_DESC', - DistributionsByCreatedBlockIdAveragePerShareAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_AVERAGE_PER_SHARE_ASC', - DistributionsByCreatedBlockIdAveragePerShareDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_AVERAGE_PER_SHARE_DESC', - DistributionsByCreatedBlockIdAveragePortfolioIdAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_AVERAGE_PORTFOLIO_ID_ASC', - DistributionsByCreatedBlockIdAveragePortfolioIdDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_AVERAGE_PORTFOLIO_ID_DESC', - DistributionsByCreatedBlockIdAverageRemainingAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_AVERAGE_REMAINING_ASC', - DistributionsByCreatedBlockIdAverageRemainingDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_AVERAGE_REMAINING_DESC', - DistributionsByCreatedBlockIdAverageTaxesAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_AVERAGE_TAXES_ASC', - DistributionsByCreatedBlockIdAverageTaxesDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_AVERAGE_TAXES_DESC', - DistributionsByCreatedBlockIdAverageUpdatedAtAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - DistributionsByCreatedBlockIdAverageUpdatedAtDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - DistributionsByCreatedBlockIdAverageUpdatedBlockIdAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - DistributionsByCreatedBlockIdAverageUpdatedBlockIdDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - DistributionsByCreatedBlockIdCountAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_COUNT_ASC', - DistributionsByCreatedBlockIdCountDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_COUNT_DESC', - DistributionsByCreatedBlockIdDistinctCountAmountAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_AMOUNT_ASC', - DistributionsByCreatedBlockIdDistinctCountAmountDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_AMOUNT_DESC', - DistributionsByCreatedBlockIdDistinctCountAssetIdAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_ASC', - DistributionsByCreatedBlockIdDistinctCountAssetIdDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_DESC', - DistributionsByCreatedBlockIdDistinctCountCreatedAtAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - DistributionsByCreatedBlockIdDistinctCountCreatedAtDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - DistributionsByCreatedBlockIdDistinctCountCreatedBlockIdAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - DistributionsByCreatedBlockIdDistinctCountCreatedBlockIdDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - DistributionsByCreatedBlockIdDistinctCountCurrencyAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CURRENCY_ASC', - DistributionsByCreatedBlockIdDistinctCountCurrencyDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CURRENCY_DESC', - DistributionsByCreatedBlockIdDistinctCountExpiresAtAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EXPIRES_AT_ASC', - DistributionsByCreatedBlockIdDistinctCountExpiresAtDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EXPIRES_AT_DESC', - DistributionsByCreatedBlockIdDistinctCountIdentityIdAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_IDENTITY_ID_ASC', - DistributionsByCreatedBlockIdDistinctCountIdentityIdDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_IDENTITY_ID_DESC', - DistributionsByCreatedBlockIdDistinctCountIdAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - DistributionsByCreatedBlockIdDistinctCountIdDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - DistributionsByCreatedBlockIdDistinctCountLocalIdAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_LOCAL_ID_ASC', - DistributionsByCreatedBlockIdDistinctCountLocalIdDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_LOCAL_ID_DESC', - DistributionsByCreatedBlockIdDistinctCountPaymentAtAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_PAYMENT_AT_ASC', - DistributionsByCreatedBlockIdDistinctCountPaymentAtDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_PAYMENT_AT_DESC', - DistributionsByCreatedBlockIdDistinctCountPerShareAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_PER_SHARE_ASC', - DistributionsByCreatedBlockIdDistinctCountPerShareDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_PER_SHARE_DESC', - DistributionsByCreatedBlockIdDistinctCountPortfolioIdAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_PORTFOLIO_ID_ASC', - DistributionsByCreatedBlockIdDistinctCountPortfolioIdDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_PORTFOLIO_ID_DESC', - DistributionsByCreatedBlockIdDistinctCountRemainingAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_REMAINING_ASC', - DistributionsByCreatedBlockIdDistinctCountRemainingDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_REMAINING_DESC', - DistributionsByCreatedBlockIdDistinctCountTaxesAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TAXES_ASC', - DistributionsByCreatedBlockIdDistinctCountTaxesDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TAXES_DESC', - DistributionsByCreatedBlockIdDistinctCountUpdatedAtAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - DistributionsByCreatedBlockIdDistinctCountUpdatedAtDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - DistributionsByCreatedBlockIdDistinctCountUpdatedBlockIdAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - DistributionsByCreatedBlockIdDistinctCountUpdatedBlockIdDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - DistributionsByCreatedBlockIdMaxAmountAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_MAX_AMOUNT_ASC', - DistributionsByCreatedBlockIdMaxAmountDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_MAX_AMOUNT_DESC', - DistributionsByCreatedBlockIdMaxAssetIdAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_MAX_ASSET_ID_ASC', - DistributionsByCreatedBlockIdMaxAssetIdDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_MAX_ASSET_ID_DESC', - DistributionsByCreatedBlockIdMaxCreatedAtAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_ASC', - DistributionsByCreatedBlockIdMaxCreatedAtDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_DESC', - DistributionsByCreatedBlockIdMaxCreatedBlockIdAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - DistributionsByCreatedBlockIdMaxCreatedBlockIdDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - DistributionsByCreatedBlockIdMaxCurrencyAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_MAX_CURRENCY_ASC', - DistributionsByCreatedBlockIdMaxCurrencyDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_MAX_CURRENCY_DESC', - DistributionsByCreatedBlockIdMaxExpiresAtAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_MAX_EXPIRES_AT_ASC', - DistributionsByCreatedBlockIdMaxExpiresAtDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_MAX_EXPIRES_AT_DESC', - DistributionsByCreatedBlockIdMaxIdentityIdAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_MAX_IDENTITY_ID_ASC', - DistributionsByCreatedBlockIdMaxIdentityIdDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_MAX_IDENTITY_ID_DESC', - DistributionsByCreatedBlockIdMaxIdAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_MAX_ID_ASC', - DistributionsByCreatedBlockIdMaxIdDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_MAX_ID_DESC', - DistributionsByCreatedBlockIdMaxLocalIdAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_MAX_LOCAL_ID_ASC', - DistributionsByCreatedBlockIdMaxLocalIdDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_MAX_LOCAL_ID_DESC', - DistributionsByCreatedBlockIdMaxPaymentAtAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_MAX_PAYMENT_AT_ASC', - DistributionsByCreatedBlockIdMaxPaymentAtDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_MAX_PAYMENT_AT_DESC', - DistributionsByCreatedBlockIdMaxPerShareAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_MAX_PER_SHARE_ASC', - DistributionsByCreatedBlockIdMaxPerShareDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_MAX_PER_SHARE_DESC', - DistributionsByCreatedBlockIdMaxPortfolioIdAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_MAX_PORTFOLIO_ID_ASC', - DistributionsByCreatedBlockIdMaxPortfolioIdDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_MAX_PORTFOLIO_ID_DESC', - DistributionsByCreatedBlockIdMaxRemainingAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_MAX_REMAINING_ASC', - DistributionsByCreatedBlockIdMaxRemainingDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_MAX_REMAINING_DESC', - DistributionsByCreatedBlockIdMaxTaxesAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_MAX_TAXES_ASC', - DistributionsByCreatedBlockIdMaxTaxesDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_MAX_TAXES_DESC', - DistributionsByCreatedBlockIdMaxUpdatedAtAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - DistributionsByCreatedBlockIdMaxUpdatedAtDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - DistributionsByCreatedBlockIdMaxUpdatedBlockIdAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - DistributionsByCreatedBlockIdMaxUpdatedBlockIdDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - DistributionsByCreatedBlockIdMinAmountAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_MIN_AMOUNT_ASC', - DistributionsByCreatedBlockIdMinAmountDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_MIN_AMOUNT_DESC', - DistributionsByCreatedBlockIdMinAssetIdAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_MIN_ASSET_ID_ASC', - DistributionsByCreatedBlockIdMinAssetIdDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_MIN_ASSET_ID_DESC', - DistributionsByCreatedBlockIdMinCreatedAtAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_ASC', - DistributionsByCreatedBlockIdMinCreatedAtDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_DESC', - DistributionsByCreatedBlockIdMinCreatedBlockIdAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - DistributionsByCreatedBlockIdMinCreatedBlockIdDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - DistributionsByCreatedBlockIdMinCurrencyAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_MIN_CURRENCY_ASC', - DistributionsByCreatedBlockIdMinCurrencyDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_MIN_CURRENCY_DESC', - DistributionsByCreatedBlockIdMinExpiresAtAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_MIN_EXPIRES_AT_ASC', - DistributionsByCreatedBlockIdMinExpiresAtDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_MIN_EXPIRES_AT_DESC', - DistributionsByCreatedBlockIdMinIdentityIdAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_MIN_IDENTITY_ID_ASC', - DistributionsByCreatedBlockIdMinIdentityIdDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_MIN_IDENTITY_ID_DESC', - DistributionsByCreatedBlockIdMinIdAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_MIN_ID_ASC', - DistributionsByCreatedBlockIdMinIdDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_MIN_ID_DESC', - DistributionsByCreatedBlockIdMinLocalIdAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_MIN_LOCAL_ID_ASC', - DistributionsByCreatedBlockIdMinLocalIdDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_MIN_LOCAL_ID_DESC', - DistributionsByCreatedBlockIdMinPaymentAtAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_MIN_PAYMENT_AT_ASC', - DistributionsByCreatedBlockIdMinPaymentAtDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_MIN_PAYMENT_AT_DESC', - DistributionsByCreatedBlockIdMinPerShareAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_MIN_PER_SHARE_ASC', - DistributionsByCreatedBlockIdMinPerShareDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_MIN_PER_SHARE_DESC', - DistributionsByCreatedBlockIdMinPortfolioIdAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_MIN_PORTFOLIO_ID_ASC', - DistributionsByCreatedBlockIdMinPortfolioIdDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_MIN_PORTFOLIO_ID_DESC', - DistributionsByCreatedBlockIdMinRemainingAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_MIN_REMAINING_ASC', - DistributionsByCreatedBlockIdMinRemainingDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_MIN_REMAINING_DESC', - DistributionsByCreatedBlockIdMinTaxesAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_MIN_TAXES_ASC', - DistributionsByCreatedBlockIdMinTaxesDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_MIN_TAXES_DESC', - DistributionsByCreatedBlockIdMinUpdatedAtAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - DistributionsByCreatedBlockIdMinUpdatedAtDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - DistributionsByCreatedBlockIdMinUpdatedBlockIdAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - DistributionsByCreatedBlockIdMinUpdatedBlockIdDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - DistributionsByCreatedBlockIdStddevPopulationAmountAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_AMOUNT_ASC', - DistributionsByCreatedBlockIdStddevPopulationAmountDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_AMOUNT_DESC', - DistributionsByCreatedBlockIdStddevPopulationAssetIdAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_ASC', - DistributionsByCreatedBlockIdStddevPopulationAssetIdDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_DESC', - DistributionsByCreatedBlockIdStddevPopulationCreatedAtAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - DistributionsByCreatedBlockIdStddevPopulationCreatedAtDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - DistributionsByCreatedBlockIdStddevPopulationCreatedBlockIdAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - DistributionsByCreatedBlockIdStddevPopulationCreatedBlockIdDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - DistributionsByCreatedBlockIdStddevPopulationCurrencyAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CURRENCY_ASC', - DistributionsByCreatedBlockIdStddevPopulationCurrencyDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CURRENCY_DESC', - DistributionsByCreatedBlockIdStddevPopulationExpiresAtAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EXPIRES_AT_ASC', - DistributionsByCreatedBlockIdStddevPopulationExpiresAtDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EXPIRES_AT_DESC', - DistributionsByCreatedBlockIdStddevPopulationIdentityIdAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_IDENTITY_ID_ASC', - DistributionsByCreatedBlockIdStddevPopulationIdentityIdDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_IDENTITY_ID_DESC', - DistributionsByCreatedBlockIdStddevPopulationIdAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - DistributionsByCreatedBlockIdStddevPopulationIdDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - DistributionsByCreatedBlockIdStddevPopulationLocalIdAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_LOCAL_ID_ASC', - DistributionsByCreatedBlockIdStddevPopulationLocalIdDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_LOCAL_ID_DESC', - DistributionsByCreatedBlockIdStddevPopulationPaymentAtAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_PAYMENT_AT_ASC', - DistributionsByCreatedBlockIdStddevPopulationPaymentAtDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_PAYMENT_AT_DESC', - DistributionsByCreatedBlockIdStddevPopulationPerShareAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_PER_SHARE_ASC', - DistributionsByCreatedBlockIdStddevPopulationPerShareDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_PER_SHARE_DESC', - DistributionsByCreatedBlockIdStddevPopulationPortfolioIdAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_PORTFOLIO_ID_ASC', - DistributionsByCreatedBlockIdStddevPopulationPortfolioIdDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_PORTFOLIO_ID_DESC', - DistributionsByCreatedBlockIdStddevPopulationRemainingAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_REMAINING_ASC', - DistributionsByCreatedBlockIdStddevPopulationRemainingDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_REMAINING_DESC', - DistributionsByCreatedBlockIdStddevPopulationTaxesAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TAXES_ASC', - DistributionsByCreatedBlockIdStddevPopulationTaxesDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TAXES_DESC', - DistributionsByCreatedBlockIdStddevPopulationUpdatedAtAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - DistributionsByCreatedBlockIdStddevPopulationUpdatedAtDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - DistributionsByCreatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - DistributionsByCreatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - DistributionsByCreatedBlockIdStddevSampleAmountAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_AMOUNT_ASC', - DistributionsByCreatedBlockIdStddevSampleAmountDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_AMOUNT_DESC', - DistributionsByCreatedBlockIdStddevSampleAssetIdAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_ASC', - DistributionsByCreatedBlockIdStddevSampleAssetIdDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_DESC', - DistributionsByCreatedBlockIdStddevSampleCreatedAtAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - DistributionsByCreatedBlockIdStddevSampleCreatedAtDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - DistributionsByCreatedBlockIdStddevSampleCreatedBlockIdAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - DistributionsByCreatedBlockIdStddevSampleCreatedBlockIdDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - DistributionsByCreatedBlockIdStddevSampleCurrencyAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CURRENCY_ASC', - DistributionsByCreatedBlockIdStddevSampleCurrencyDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CURRENCY_DESC', - DistributionsByCreatedBlockIdStddevSampleExpiresAtAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EXPIRES_AT_ASC', - DistributionsByCreatedBlockIdStddevSampleExpiresAtDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EXPIRES_AT_DESC', - DistributionsByCreatedBlockIdStddevSampleIdentityIdAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_IDENTITY_ID_ASC', - DistributionsByCreatedBlockIdStddevSampleIdentityIdDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_IDENTITY_ID_DESC', - DistributionsByCreatedBlockIdStddevSampleIdAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - DistributionsByCreatedBlockIdStddevSampleIdDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - DistributionsByCreatedBlockIdStddevSampleLocalIdAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_LOCAL_ID_ASC', - DistributionsByCreatedBlockIdStddevSampleLocalIdDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_LOCAL_ID_DESC', - DistributionsByCreatedBlockIdStddevSamplePaymentAtAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_PAYMENT_AT_ASC', - DistributionsByCreatedBlockIdStddevSamplePaymentAtDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_PAYMENT_AT_DESC', - DistributionsByCreatedBlockIdStddevSamplePerShareAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_PER_SHARE_ASC', - DistributionsByCreatedBlockIdStddevSamplePerShareDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_PER_SHARE_DESC', - DistributionsByCreatedBlockIdStddevSamplePortfolioIdAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_PORTFOLIO_ID_ASC', - DistributionsByCreatedBlockIdStddevSamplePortfolioIdDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_PORTFOLIO_ID_DESC', - DistributionsByCreatedBlockIdStddevSampleRemainingAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_REMAINING_ASC', - DistributionsByCreatedBlockIdStddevSampleRemainingDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_REMAINING_DESC', - DistributionsByCreatedBlockIdStddevSampleTaxesAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TAXES_ASC', - DistributionsByCreatedBlockIdStddevSampleTaxesDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TAXES_DESC', - DistributionsByCreatedBlockIdStddevSampleUpdatedAtAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - DistributionsByCreatedBlockIdStddevSampleUpdatedAtDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - DistributionsByCreatedBlockIdStddevSampleUpdatedBlockIdAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - DistributionsByCreatedBlockIdStddevSampleUpdatedBlockIdDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - DistributionsByCreatedBlockIdSumAmountAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_SUM_AMOUNT_ASC', - DistributionsByCreatedBlockIdSumAmountDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_SUM_AMOUNT_DESC', - DistributionsByCreatedBlockIdSumAssetIdAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_SUM_ASSET_ID_ASC', - DistributionsByCreatedBlockIdSumAssetIdDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_SUM_ASSET_ID_DESC', - DistributionsByCreatedBlockIdSumCreatedAtAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_ASC', - DistributionsByCreatedBlockIdSumCreatedAtDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_DESC', - DistributionsByCreatedBlockIdSumCreatedBlockIdAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - DistributionsByCreatedBlockIdSumCreatedBlockIdDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - DistributionsByCreatedBlockIdSumCurrencyAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_SUM_CURRENCY_ASC', - DistributionsByCreatedBlockIdSumCurrencyDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_SUM_CURRENCY_DESC', - DistributionsByCreatedBlockIdSumExpiresAtAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_SUM_EXPIRES_AT_ASC', - DistributionsByCreatedBlockIdSumExpiresAtDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_SUM_EXPIRES_AT_DESC', - DistributionsByCreatedBlockIdSumIdentityIdAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_SUM_IDENTITY_ID_ASC', - DistributionsByCreatedBlockIdSumIdentityIdDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_SUM_IDENTITY_ID_DESC', - DistributionsByCreatedBlockIdSumIdAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_SUM_ID_ASC', - DistributionsByCreatedBlockIdSumIdDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_SUM_ID_DESC', - DistributionsByCreatedBlockIdSumLocalIdAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_SUM_LOCAL_ID_ASC', - DistributionsByCreatedBlockIdSumLocalIdDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_SUM_LOCAL_ID_DESC', - DistributionsByCreatedBlockIdSumPaymentAtAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_SUM_PAYMENT_AT_ASC', - DistributionsByCreatedBlockIdSumPaymentAtDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_SUM_PAYMENT_AT_DESC', - DistributionsByCreatedBlockIdSumPerShareAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_SUM_PER_SHARE_ASC', - DistributionsByCreatedBlockIdSumPerShareDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_SUM_PER_SHARE_DESC', - DistributionsByCreatedBlockIdSumPortfolioIdAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_SUM_PORTFOLIO_ID_ASC', - DistributionsByCreatedBlockIdSumPortfolioIdDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_SUM_PORTFOLIO_ID_DESC', - DistributionsByCreatedBlockIdSumRemainingAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_SUM_REMAINING_ASC', - DistributionsByCreatedBlockIdSumRemainingDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_SUM_REMAINING_DESC', - DistributionsByCreatedBlockIdSumTaxesAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_SUM_TAXES_ASC', - DistributionsByCreatedBlockIdSumTaxesDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_SUM_TAXES_DESC', - DistributionsByCreatedBlockIdSumUpdatedAtAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - DistributionsByCreatedBlockIdSumUpdatedAtDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - DistributionsByCreatedBlockIdSumUpdatedBlockIdAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - DistributionsByCreatedBlockIdSumUpdatedBlockIdDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - DistributionsByCreatedBlockIdVariancePopulationAmountAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_AMOUNT_ASC', - DistributionsByCreatedBlockIdVariancePopulationAmountDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_AMOUNT_DESC', - DistributionsByCreatedBlockIdVariancePopulationAssetIdAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_ASC', - DistributionsByCreatedBlockIdVariancePopulationAssetIdDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_DESC', - DistributionsByCreatedBlockIdVariancePopulationCreatedAtAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - DistributionsByCreatedBlockIdVariancePopulationCreatedAtDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - DistributionsByCreatedBlockIdVariancePopulationCreatedBlockIdAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - DistributionsByCreatedBlockIdVariancePopulationCreatedBlockIdDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - DistributionsByCreatedBlockIdVariancePopulationCurrencyAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CURRENCY_ASC', - DistributionsByCreatedBlockIdVariancePopulationCurrencyDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CURRENCY_DESC', - DistributionsByCreatedBlockIdVariancePopulationExpiresAtAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EXPIRES_AT_ASC', - DistributionsByCreatedBlockIdVariancePopulationExpiresAtDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EXPIRES_AT_DESC', - DistributionsByCreatedBlockIdVariancePopulationIdentityIdAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_IDENTITY_ID_ASC', - DistributionsByCreatedBlockIdVariancePopulationIdentityIdDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_IDENTITY_ID_DESC', - DistributionsByCreatedBlockIdVariancePopulationIdAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - DistributionsByCreatedBlockIdVariancePopulationIdDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - DistributionsByCreatedBlockIdVariancePopulationLocalIdAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_LOCAL_ID_ASC', - DistributionsByCreatedBlockIdVariancePopulationLocalIdDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_LOCAL_ID_DESC', - DistributionsByCreatedBlockIdVariancePopulationPaymentAtAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_PAYMENT_AT_ASC', - DistributionsByCreatedBlockIdVariancePopulationPaymentAtDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_PAYMENT_AT_DESC', - DistributionsByCreatedBlockIdVariancePopulationPerShareAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_PER_SHARE_ASC', - DistributionsByCreatedBlockIdVariancePopulationPerShareDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_PER_SHARE_DESC', - DistributionsByCreatedBlockIdVariancePopulationPortfolioIdAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_PORTFOLIO_ID_ASC', - DistributionsByCreatedBlockIdVariancePopulationPortfolioIdDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_PORTFOLIO_ID_DESC', - DistributionsByCreatedBlockIdVariancePopulationRemainingAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_REMAINING_ASC', - DistributionsByCreatedBlockIdVariancePopulationRemainingDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_REMAINING_DESC', - DistributionsByCreatedBlockIdVariancePopulationTaxesAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TAXES_ASC', - DistributionsByCreatedBlockIdVariancePopulationTaxesDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TAXES_DESC', - DistributionsByCreatedBlockIdVariancePopulationUpdatedAtAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - DistributionsByCreatedBlockIdVariancePopulationUpdatedAtDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - DistributionsByCreatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - DistributionsByCreatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - DistributionsByCreatedBlockIdVarianceSampleAmountAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_AMOUNT_ASC', - DistributionsByCreatedBlockIdVarianceSampleAmountDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_AMOUNT_DESC', - DistributionsByCreatedBlockIdVarianceSampleAssetIdAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_ASC', - DistributionsByCreatedBlockIdVarianceSampleAssetIdDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_DESC', - DistributionsByCreatedBlockIdVarianceSampleCreatedAtAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - DistributionsByCreatedBlockIdVarianceSampleCreatedAtDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - DistributionsByCreatedBlockIdVarianceSampleCreatedBlockIdAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - DistributionsByCreatedBlockIdVarianceSampleCreatedBlockIdDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - DistributionsByCreatedBlockIdVarianceSampleCurrencyAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CURRENCY_ASC', - DistributionsByCreatedBlockIdVarianceSampleCurrencyDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CURRENCY_DESC', - DistributionsByCreatedBlockIdVarianceSampleExpiresAtAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EXPIRES_AT_ASC', - DistributionsByCreatedBlockIdVarianceSampleExpiresAtDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EXPIRES_AT_DESC', - DistributionsByCreatedBlockIdVarianceSampleIdentityIdAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_IDENTITY_ID_ASC', - DistributionsByCreatedBlockIdVarianceSampleIdentityIdDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_IDENTITY_ID_DESC', - DistributionsByCreatedBlockIdVarianceSampleIdAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - DistributionsByCreatedBlockIdVarianceSampleIdDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - DistributionsByCreatedBlockIdVarianceSampleLocalIdAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_LOCAL_ID_ASC', - DistributionsByCreatedBlockIdVarianceSampleLocalIdDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_LOCAL_ID_DESC', - DistributionsByCreatedBlockIdVarianceSamplePaymentAtAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_PAYMENT_AT_ASC', - DistributionsByCreatedBlockIdVarianceSamplePaymentAtDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_PAYMENT_AT_DESC', - DistributionsByCreatedBlockIdVarianceSamplePerShareAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_PER_SHARE_ASC', - DistributionsByCreatedBlockIdVarianceSamplePerShareDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_PER_SHARE_DESC', - DistributionsByCreatedBlockIdVarianceSamplePortfolioIdAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_PORTFOLIO_ID_ASC', - DistributionsByCreatedBlockIdVarianceSamplePortfolioIdDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_PORTFOLIO_ID_DESC', - DistributionsByCreatedBlockIdVarianceSampleRemainingAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_REMAINING_ASC', - DistributionsByCreatedBlockIdVarianceSampleRemainingDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_REMAINING_DESC', - DistributionsByCreatedBlockIdVarianceSampleTaxesAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TAXES_ASC', - DistributionsByCreatedBlockIdVarianceSampleTaxesDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TAXES_DESC', - DistributionsByCreatedBlockIdVarianceSampleUpdatedAtAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - DistributionsByCreatedBlockIdVarianceSampleUpdatedAtDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - DistributionsByCreatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - DistributionsByCreatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'DISTRIBUTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - DistributionsByUpdatedBlockIdAverageAmountAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_AMOUNT_ASC', - DistributionsByUpdatedBlockIdAverageAmountDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_AMOUNT_DESC', - DistributionsByUpdatedBlockIdAverageAssetIdAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_ASSET_ID_ASC', - DistributionsByUpdatedBlockIdAverageAssetIdDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_ASSET_ID_DESC', - DistributionsByUpdatedBlockIdAverageCreatedAtAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - DistributionsByUpdatedBlockIdAverageCreatedAtDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - DistributionsByUpdatedBlockIdAverageCreatedBlockIdAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - DistributionsByUpdatedBlockIdAverageCreatedBlockIdDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - DistributionsByUpdatedBlockIdAverageCurrencyAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_CURRENCY_ASC', - DistributionsByUpdatedBlockIdAverageCurrencyDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_CURRENCY_DESC', - DistributionsByUpdatedBlockIdAverageExpiresAtAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_EXPIRES_AT_ASC', - DistributionsByUpdatedBlockIdAverageExpiresAtDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_EXPIRES_AT_DESC', - DistributionsByUpdatedBlockIdAverageIdentityIdAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_IDENTITY_ID_ASC', - DistributionsByUpdatedBlockIdAverageIdentityIdDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_IDENTITY_ID_DESC', - DistributionsByUpdatedBlockIdAverageIdAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_ASC', - DistributionsByUpdatedBlockIdAverageIdDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_DESC', - DistributionsByUpdatedBlockIdAverageLocalIdAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_LOCAL_ID_ASC', - DistributionsByUpdatedBlockIdAverageLocalIdDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_LOCAL_ID_DESC', - DistributionsByUpdatedBlockIdAveragePaymentAtAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_PAYMENT_AT_ASC', - DistributionsByUpdatedBlockIdAveragePaymentAtDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_PAYMENT_AT_DESC', - DistributionsByUpdatedBlockIdAveragePerShareAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_PER_SHARE_ASC', - DistributionsByUpdatedBlockIdAveragePerShareDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_PER_SHARE_DESC', - DistributionsByUpdatedBlockIdAveragePortfolioIdAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_PORTFOLIO_ID_ASC', - DistributionsByUpdatedBlockIdAveragePortfolioIdDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_PORTFOLIO_ID_DESC', - DistributionsByUpdatedBlockIdAverageRemainingAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_REMAINING_ASC', - DistributionsByUpdatedBlockIdAverageRemainingDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_REMAINING_DESC', - DistributionsByUpdatedBlockIdAverageTaxesAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_TAXES_ASC', - DistributionsByUpdatedBlockIdAverageTaxesDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_TAXES_DESC', - DistributionsByUpdatedBlockIdAverageUpdatedAtAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - DistributionsByUpdatedBlockIdAverageUpdatedAtDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - DistributionsByUpdatedBlockIdAverageUpdatedBlockIdAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - DistributionsByUpdatedBlockIdAverageUpdatedBlockIdDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - DistributionsByUpdatedBlockIdCountAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_COUNT_ASC', - DistributionsByUpdatedBlockIdCountDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_COUNT_DESC', - DistributionsByUpdatedBlockIdDistinctCountAmountAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_AMOUNT_ASC', - DistributionsByUpdatedBlockIdDistinctCountAmountDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_AMOUNT_DESC', - DistributionsByUpdatedBlockIdDistinctCountAssetIdAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_ASC', - DistributionsByUpdatedBlockIdDistinctCountAssetIdDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_DESC', - DistributionsByUpdatedBlockIdDistinctCountCreatedAtAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - DistributionsByUpdatedBlockIdDistinctCountCreatedAtDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - DistributionsByUpdatedBlockIdDistinctCountCreatedBlockIdAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - DistributionsByUpdatedBlockIdDistinctCountCreatedBlockIdDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - DistributionsByUpdatedBlockIdDistinctCountCurrencyAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CURRENCY_ASC', - DistributionsByUpdatedBlockIdDistinctCountCurrencyDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CURRENCY_DESC', - DistributionsByUpdatedBlockIdDistinctCountExpiresAtAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EXPIRES_AT_ASC', - DistributionsByUpdatedBlockIdDistinctCountExpiresAtDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EXPIRES_AT_DESC', - DistributionsByUpdatedBlockIdDistinctCountIdentityIdAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_IDENTITY_ID_ASC', - DistributionsByUpdatedBlockIdDistinctCountIdentityIdDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_IDENTITY_ID_DESC', - DistributionsByUpdatedBlockIdDistinctCountIdAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - DistributionsByUpdatedBlockIdDistinctCountIdDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - DistributionsByUpdatedBlockIdDistinctCountLocalIdAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_LOCAL_ID_ASC', - DistributionsByUpdatedBlockIdDistinctCountLocalIdDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_LOCAL_ID_DESC', - DistributionsByUpdatedBlockIdDistinctCountPaymentAtAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_PAYMENT_AT_ASC', - DistributionsByUpdatedBlockIdDistinctCountPaymentAtDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_PAYMENT_AT_DESC', - DistributionsByUpdatedBlockIdDistinctCountPerShareAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_PER_SHARE_ASC', - DistributionsByUpdatedBlockIdDistinctCountPerShareDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_PER_SHARE_DESC', - DistributionsByUpdatedBlockIdDistinctCountPortfolioIdAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_PORTFOLIO_ID_ASC', - DistributionsByUpdatedBlockIdDistinctCountPortfolioIdDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_PORTFOLIO_ID_DESC', - DistributionsByUpdatedBlockIdDistinctCountRemainingAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_REMAINING_ASC', - DistributionsByUpdatedBlockIdDistinctCountRemainingDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_REMAINING_DESC', - DistributionsByUpdatedBlockIdDistinctCountTaxesAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TAXES_ASC', - DistributionsByUpdatedBlockIdDistinctCountTaxesDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TAXES_DESC', - DistributionsByUpdatedBlockIdDistinctCountUpdatedAtAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - DistributionsByUpdatedBlockIdDistinctCountUpdatedAtDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - DistributionsByUpdatedBlockIdDistinctCountUpdatedBlockIdAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - DistributionsByUpdatedBlockIdDistinctCountUpdatedBlockIdDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - DistributionsByUpdatedBlockIdMaxAmountAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_MAX_AMOUNT_ASC', - DistributionsByUpdatedBlockIdMaxAmountDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_MAX_AMOUNT_DESC', - DistributionsByUpdatedBlockIdMaxAssetIdAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_MAX_ASSET_ID_ASC', - DistributionsByUpdatedBlockIdMaxAssetIdDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_MAX_ASSET_ID_DESC', - DistributionsByUpdatedBlockIdMaxCreatedAtAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_ASC', - DistributionsByUpdatedBlockIdMaxCreatedAtDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_DESC', - DistributionsByUpdatedBlockIdMaxCreatedBlockIdAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - DistributionsByUpdatedBlockIdMaxCreatedBlockIdDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - DistributionsByUpdatedBlockIdMaxCurrencyAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_MAX_CURRENCY_ASC', - DistributionsByUpdatedBlockIdMaxCurrencyDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_MAX_CURRENCY_DESC', - DistributionsByUpdatedBlockIdMaxExpiresAtAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_MAX_EXPIRES_AT_ASC', - DistributionsByUpdatedBlockIdMaxExpiresAtDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_MAX_EXPIRES_AT_DESC', - DistributionsByUpdatedBlockIdMaxIdentityIdAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_MAX_IDENTITY_ID_ASC', - DistributionsByUpdatedBlockIdMaxIdentityIdDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_MAX_IDENTITY_ID_DESC', - DistributionsByUpdatedBlockIdMaxIdAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_MAX_ID_ASC', - DistributionsByUpdatedBlockIdMaxIdDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_MAX_ID_DESC', - DistributionsByUpdatedBlockIdMaxLocalIdAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_MAX_LOCAL_ID_ASC', - DistributionsByUpdatedBlockIdMaxLocalIdDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_MAX_LOCAL_ID_DESC', - DistributionsByUpdatedBlockIdMaxPaymentAtAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_MAX_PAYMENT_AT_ASC', - DistributionsByUpdatedBlockIdMaxPaymentAtDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_MAX_PAYMENT_AT_DESC', - DistributionsByUpdatedBlockIdMaxPerShareAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_MAX_PER_SHARE_ASC', - DistributionsByUpdatedBlockIdMaxPerShareDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_MAX_PER_SHARE_DESC', - DistributionsByUpdatedBlockIdMaxPortfolioIdAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_MAX_PORTFOLIO_ID_ASC', - DistributionsByUpdatedBlockIdMaxPortfolioIdDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_MAX_PORTFOLIO_ID_DESC', - DistributionsByUpdatedBlockIdMaxRemainingAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_MAX_REMAINING_ASC', - DistributionsByUpdatedBlockIdMaxRemainingDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_MAX_REMAINING_DESC', - DistributionsByUpdatedBlockIdMaxTaxesAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_MAX_TAXES_ASC', - DistributionsByUpdatedBlockIdMaxTaxesDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_MAX_TAXES_DESC', - DistributionsByUpdatedBlockIdMaxUpdatedAtAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - DistributionsByUpdatedBlockIdMaxUpdatedAtDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - DistributionsByUpdatedBlockIdMaxUpdatedBlockIdAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - DistributionsByUpdatedBlockIdMaxUpdatedBlockIdDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - DistributionsByUpdatedBlockIdMinAmountAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_MIN_AMOUNT_ASC', - DistributionsByUpdatedBlockIdMinAmountDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_MIN_AMOUNT_DESC', - DistributionsByUpdatedBlockIdMinAssetIdAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_MIN_ASSET_ID_ASC', - DistributionsByUpdatedBlockIdMinAssetIdDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_MIN_ASSET_ID_DESC', - DistributionsByUpdatedBlockIdMinCreatedAtAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_ASC', - DistributionsByUpdatedBlockIdMinCreatedAtDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_DESC', - DistributionsByUpdatedBlockIdMinCreatedBlockIdAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - DistributionsByUpdatedBlockIdMinCreatedBlockIdDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - DistributionsByUpdatedBlockIdMinCurrencyAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_MIN_CURRENCY_ASC', - DistributionsByUpdatedBlockIdMinCurrencyDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_MIN_CURRENCY_DESC', - DistributionsByUpdatedBlockIdMinExpiresAtAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_MIN_EXPIRES_AT_ASC', - DistributionsByUpdatedBlockIdMinExpiresAtDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_MIN_EXPIRES_AT_DESC', - DistributionsByUpdatedBlockIdMinIdentityIdAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_MIN_IDENTITY_ID_ASC', - DistributionsByUpdatedBlockIdMinIdentityIdDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_MIN_IDENTITY_ID_DESC', - DistributionsByUpdatedBlockIdMinIdAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_MIN_ID_ASC', - DistributionsByUpdatedBlockIdMinIdDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_MIN_ID_DESC', - DistributionsByUpdatedBlockIdMinLocalIdAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_MIN_LOCAL_ID_ASC', - DistributionsByUpdatedBlockIdMinLocalIdDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_MIN_LOCAL_ID_DESC', - DistributionsByUpdatedBlockIdMinPaymentAtAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_MIN_PAYMENT_AT_ASC', - DistributionsByUpdatedBlockIdMinPaymentAtDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_MIN_PAYMENT_AT_DESC', - DistributionsByUpdatedBlockIdMinPerShareAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_MIN_PER_SHARE_ASC', - DistributionsByUpdatedBlockIdMinPerShareDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_MIN_PER_SHARE_DESC', - DistributionsByUpdatedBlockIdMinPortfolioIdAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_MIN_PORTFOLIO_ID_ASC', - DistributionsByUpdatedBlockIdMinPortfolioIdDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_MIN_PORTFOLIO_ID_DESC', - DistributionsByUpdatedBlockIdMinRemainingAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_MIN_REMAINING_ASC', - DistributionsByUpdatedBlockIdMinRemainingDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_MIN_REMAINING_DESC', - DistributionsByUpdatedBlockIdMinTaxesAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_MIN_TAXES_ASC', - DistributionsByUpdatedBlockIdMinTaxesDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_MIN_TAXES_DESC', - DistributionsByUpdatedBlockIdMinUpdatedAtAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - DistributionsByUpdatedBlockIdMinUpdatedAtDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - DistributionsByUpdatedBlockIdMinUpdatedBlockIdAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - DistributionsByUpdatedBlockIdMinUpdatedBlockIdDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - DistributionsByUpdatedBlockIdStddevPopulationAmountAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_AMOUNT_ASC', - DistributionsByUpdatedBlockIdStddevPopulationAmountDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_AMOUNT_DESC', - DistributionsByUpdatedBlockIdStddevPopulationAssetIdAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_ASC', - DistributionsByUpdatedBlockIdStddevPopulationAssetIdDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_DESC', - DistributionsByUpdatedBlockIdStddevPopulationCreatedAtAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - DistributionsByUpdatedBlockIdStddevPopulationCreatedAtDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - DistributionsByUpdatedBlockIdStddevPopulationCreatedBlockIdAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - DistributionsByUpdatedBlockIdStddevPopulationCreatedBlockIdDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - DistributionsByUpdatedBlockIdStddevPopulationCurrencyAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CURRENCY_ASC', - DistributionsByUpdatedBlockIdStddevPopulationCurrencyDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CURRENCY_DESC', - DistributionsByUpdatedBlockIdStddevPopulationExpiresAtAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EXPIRES_AT_ASC', - DistributionsByUpdatedBlockIdStddevPopulationExpiresAtDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EXPIRES_AT_DESC', - DistributionsByUpdatedBlockIdStddevPopulationIdentityIdAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_IDENTITY_ID_ASC', - DistributionsByUpdatedBlockIdStddevPopulationIdentityIdDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_IDENTITY_ID_DESC', - DistributionsByUpdatedBlockIdStddevPopulationIdAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - DistributionsByUpdatedBlockIdStddevPopulationIdDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - DistributionsByUpdatedBlockIdStddevPopulationLocalIdAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_LOCAL_ID_ASC', - DistributionsByUpdatedBlockIdStddevPopulationLocalIdDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_LOCAL_ID_DESC', - DistributionsByUpdatedBlockIdStddevPopulationPaymentAtAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_PAYMENT_AT_ASC', - DistributionsByUpdatedBlockIdStddevPopulationPaymentAtDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_PAYMENT_AT_DESC', - DistributionsByUpdatedBlockIdStddevPopulationPerShareAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_PER_SHARE_ASC', - DistributionsByUpdatedBlockIdStddevPopulationPerShareDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_PER_SHARE_DESC', - DistributionsByUpdatedBlockIdStddevPopulationPortfolioIdAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_PORTFOLIO_ID_ASC', - DistributionsByUpdatedBlockIdStddevPopulationPortfolioIdDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_PORTFOLIO_ID_DESC', - DistributionsByUpdatedBlockIdStddevPopulationRemainingAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_REMAINING_ASC', - DistributionsByUpdatedBlockIdStddevPopulationRemainingDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_REMAINING_DESC', - DistributionsByUpdatedBlockIdStddevPopulationTaxesAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TAXES_ASC', - DistributionsByUpdatedBlockIdStddevPopulationTaxesDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TAXES_DESC', - DistributionsByUpdatedBlockIdStddevPopulationUpdatedAtAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - DistributionsByUpdatedBlockIdStddevPopulationUpdatedAtDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - DistributionsByUpdatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - DistributionsByUpdatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - DistributionsByUpdatedBlockIdStddevSampleAmountAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_AMOUNT_ASC', - DistributionsByUpdatedBlockIdStddevSampleAmountDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_AMOUNT_DESC', - DistributionsByUpdatedBlockIdStddevSampleAssetIdAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_ASC', - DistributionsByUpdatedBlockIdStddevSampleAssetIdDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_DESC', - DistributionsByUpdatedBlockIdStddevSampleCreatedAtAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - DistributionsByUpdatedBlockIdStddevSampleCreatedAtDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - DistributionsByUpdatedBlockIdStddevSampleCreatedBlockIdAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - DistributionsByUpdatedBlockIdStddevSampleCreatedBlockIdDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - DistributionsByUpdatedBlockIdStddevSampleCurrencyAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CURRENCY_ASC', - DistributionsByUpdatedBlockIdStddevSampleCurrencyDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CURRENCY_DESC', - DistributionsByUpdatedBlockIdStddevSampleExpiresAtAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EXPIRES_AT_ASC', - DistributionsByUpdatedBlockIdStddevSampleExpiresAtDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EXPIRES_AT_DESC', - DistributionsByUpdatedBlockIdStddevSampleIdentityIdAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_IDENTITY_ID_ASC', - DistributionsByUpdatedBlockIdStddevSampleIdentityIdDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_IDENTITY_ID_DESC', - DistributionsByUpdatedBlockIdStddevSampleIdAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - DistributionsByUpdatedBlockIdStddevSampleIdDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - DistributionsByUpdatedBlockIdStddevSampleLocalIdAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_LOCAL_ID_ASC', - DistributionsByUpdatedBlockIdStddevSampleLocalIdDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_LOCAL_ID_DESC', - DistributionsByUpdatedBlockIdStddevSamplePaymentAtAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_PAYMENT_AT_ASC', - DistributionsByUpdatedBlockIdStddevSamplePaymentAtDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_PAYMENT_AT_DESC', - DistributionsByUpdatedBlockIdStddevSamplePerShareAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_PER_SHARE_ASC', - DistributionsByUpdatedBlockIdStddevSamplePerShareDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_PER_SHARE_DESC', - DistributionsByUpdatedBlockIdStddevSamplePortfolioIdAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_PORTFOLIO_ID_ASC', - DistributionsByUpdatedBlockIdStddevSamplePortfolioIdDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_PORTFOLIO_ID_DESC', - DistributionsByUpdatedBlockIdStddevSampleRemainingAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_REMAINING_ASC', - DistributionsByUpdatedBlockIdStddevSampleRemainingDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_REMAINING_DESC', - DistributionsByUpdatedBlockIdStddevSampleTaxesAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TAXES_ASC', - DistributionsByUpdatedBlockIdStddevSampleTaxesDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TAXES_DESC', - DistributionsByUpdatedBlockIdStddevSampleUpdatedAtAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - DistributionsByUpdatedBlockIdStddevSampleUpdatedAtDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - DistributionsByUpdatedBlockIdStddevSampleUpdatedBlockIdAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - DistributionsByUpdatedBlockIdStddevSampleUpdatedBlockIdDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - DistributionsByUpdatedBlockIdSumAmountAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_SUM_AMOUNT_ASC', - DistributionsByUpdatedBlockIdSumAmountDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_SUM_AMOUNT_DESC', - DistributionsByUpdatedBlockIdSumAssetIdAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_SUM_ASSET_ID_ASC', - DistributionsByUpdatedBlockIdSumAssetIdDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_SUM_ASSET_ID_DESC', - DistributionsByUpdatedBlockIdSumCreatedAtAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_ASC', - DistributionsByUpdatedBlockIdSumCreatedAtDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_DESC', - DistributionsByUpdatedBlockIdSumCreatedBlockIdAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - DistributionsByUpdatedBlockIdSumCreatedBlockIdDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - DistributionsByUpdatedBlockIdSumCurrencyAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_SUM_CURRENCY_ASC', - DistributionsByUpdatedBlockIdSumCurrencyDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_SUM_CURRENCY_DESC', - DistributionsByUpdatedBlockIdSumExpiresAtAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_SUM_EXPIRES_AT_ASC', - DistributionsByUpdatedBlockIdSumExpiresAtDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_SUM_EXPIRES_AT_DESC', - DistributionsByUpdatedBlockIdSumIdentityIdAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_SUM_IDENTITY_ID_ASC', - DistributionsByUpdatedBlockIdSumIdentityIdDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_SUM_IDENTITY_ID_DESC', - DistributionsByUpdatedBlockIdSumIdAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_SUM_ID_ASC', - DistributionsByUpdatedBlockIdSumIdDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_SUM_ID_DESC', - DistributionsByUpdatedBlockIdSumLocalIdAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_SUM_LOCAL_ID_ASC', - DistributionsByUpdatedBlockIdSumLocalIdDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_SUM_LOCAL_ID_DESC', - DistributionsByUpdatedBlockIdSumPaymentAtAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_SUM_PAYMENT_AT_ASC', - DistributionsByUpdatedBlockIdSumPaymentAtDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_SUM_PAYMENT_AT_DESC', - DistributionsByUpdatedBlockIdSumPerShareAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_SUM_PER_SHARE_ASC', - DistributionsByUpdatedBlockIdSumPerShareDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_SUM_PER_SHARE_DESC', - DistributionsByUpdatedBlockIdSumPortfolioIdAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_SUM_PORTFOLIO_ID_ASC', - DistributionsByUpdatedBlockIdSumPortfolioIdDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_SUM_PORTFOLIO_ID_DESC', - DistributionsByUpdatedBlockIdSumRemainingAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_SUM_REMAINING_ASC', - DistributionsByUpdatedBlockIdSumRemainingDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_SUM_REMAINING_DESC', - DistributionsByUpdatedBlockIdSumTaxesAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_SUM_TAXES_ASC', - DistributionsByUpdatedBlockIdSumTaxesDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_SUM_TAXES_DESC', - DistributionsByUpdatedBlockIdSumUpdatedAtAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - DistributionsByUpdatedBlockIdSumUpdatedAtDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - DistributionsByUpdatedBlockIdSumUpdatedBlockIdAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - DistributionsByUpdatedBlockIdSumUpdatedBlockIdDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - DistributionsByUpdatedBlockIdVariancePopulationAmountAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_AMOUNT_ASC', - DistributionsByUpdatedBlockIdVariancePopulationAmountDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_AMOUNT_DESC', - DistributionsByUpdatedBlockIdVariancePopulationAssetIdAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_ASC', - DistributionsByUpdatedBlockIdVariancePopulationAssetIdDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_DESC', - DistributionsByUpdatedBlockIdVariancePopulationCreatedAtAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - DistributionsByUpdatedBlockIdVariancePopulationCreatedAtDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - DistributionsByUpdatedBlockIdVariancePopulationCreatedBlockIdAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - DistributionsByUpdatedBlockIdVariancePopulationCreatedBlockIdDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - DistributionsByUpdatedBlockIdVariancePopulationCurrencyAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CURRENCY_ASC', - DistributionsByUpdatedBlockIdVariancePopulationCurrencyDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CURRENCY_DESC', - DistributionsByUpdatedBlockIdVariancePopulationExpiresAtAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EXPIRES_AT_ASC', - DistributionsByUpdatedBlockIdVariancePopulationExpiresAtDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EXPIRES_AT_DESC', - DistributionsByUpdatedBlockIdVariancePopulationIdentityIdAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_IDENTITY_ID_ASC', - DistributionsByUpdatedBlockIdVariancePopulationIdentityIdDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_IDENTITY_ID_DESC', - DistributionsByUpdatedBlockIdVariancePopulationIdAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - DistributionsByUpdatedBlockIdVariancePopulationIdDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - DistributionsByUpdatedBlockIdVariancePopulationLocalIdAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_LOCAL_ID_ASC', - DistributionsByUpdatedBlockIdVariancePopulationLocalIdDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_LOCAL_ID_DESC', - DistributionsByUpdatedBlockIdVariancePopulationPaymentAtAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_PAYMENT_AT_ASC', - DistributionsByUpdatedBlockIdVariancePopulationPaymentAtDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_PAYMENT_AT_DESC', - DistributionsByUpdatedBlockIdVariancePopulationPerShareAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_PER_SHARE_ASC', - DistributionsByUpdatedBlockIdVariancePopulationPerShareDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_PER_SHARE_DESC', - DistributionsByUpdatedBlockIdVariancePopulationPortfolioIdAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_PORTFOLIO_ID_ASC', - DistributionsByUpdatedBlockIdVariancePopulationPortfolioIdDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_PORTFOLIO_ID_DESC', - DistributionsByUpdatedBlockIdVariancePopulationRemainingAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_REMAINING_ASC', - DistributionsByUpdatedBlockIdVariancePopulationRemainingDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_REMAINING_DESC', - DistributionsByUpdatedBlockIdVariancePopulationTaxesAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TAXES_ASC', - DistributionsByUpdatedBlockIdVariancePopulationTaxesDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TAXES_DESC', - DistributionsByUpdatedBlockIdVariancePopulationUpdatedAtAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - DistributionsByUpdatedBlockIdVariancePopulationUpdatedAtDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - DistributionsByUpdatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - DistributionsByUpdatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - DistributionsByUpdatedBlockIdVarianceSampleAmountAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_AMOUNT_ASC', - DistributionsByUpdatedBlockIdVarianceSampleAmountDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_AMOUNT_DESC', - DistributionsByUpdatedBlockIdVarianceSampleAssetIdAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_ASC', - DistributionsByUpdatedBlockIdVarianceSampleAssetIdDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_DESC', - DistributionsByUpdatedBlockIdVarianceSampleCreatedAtAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - DistributionsByUpdatedBlockIdVarianceSampleCreatedAtDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - DistributionsByUpdatedBlockIdVarianceSampleCreatedBlockIdAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - DistributionsByUpdatedBlockIdVarianceSampleCreatedBlockIdDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - DistributionsByUpdatedBlockIdVarianceSampleCurrencyAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CURRENCY_ASC', - DistributionsByUpdatedBlockIdVarianceSampleCurrencyDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CURRENCY_DESC', - DistributionsByUpdatedBlockIdVarianceSampleExpiresAtAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EXPIRES_AT_ASC', - DistributionsByUpdatedBlockIdVarianceSampleExpiresAtDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EXPIRES_AT_DESC', - DistributionsByUpdatedBlockIdVarianceSampleIdentityIdAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_IDENTITY_ID_ASC', - DistributionsByUpdatedBlockIdVarianceSampleIdentityIdDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_IDENTITY_ID_DESC', - DistributionsByUpdatedBlockIdVarianceSampleIdAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - DistributionsByUpdatedBlockIdVarianceSampleIdDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - DistributionsByUpdatedBlockIdVarianceSampleLocalIdAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_LOCAL_ID_ASC', - DistributionsByUpdatedBlockIdVarianceSampleLocalIdDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_LOCAL_ID_DESC', - DistributionsByUpdatedBlockIdVarianceSamplePaymentAtAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_PAYMENT_AT_ASC', - DistributionsByUpdatedBlockIdVarianceSamplePaymentAtDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_PAYMENT_AT_DESC', - DistributionsByUpdatedBlockIdVarianceSamplePerShareAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_PER_SHARE_ASC', - DistributionsByUpdatedBlockIdVarianceSamplePerShareDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_PER_SHARE_DESC', - DistributionsByUpdatedBlockIdVarianceSamplePortfolioIdAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_PORTFOLIO_ID_ASC', - DistributionsByUpdatedBlockIdVarianceSamplePortfolioIdDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_PORTFOLIO_ID_DESC', - DistributionsByUpdatedBlockIdVarianceSampleRemainingAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_REMAINING_ASC', - DistributionsByUpdatedBlockIdVarianceSampleRemainingDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_REMAINING_DESC', - DistributionsByUpdatedBlockIdVarianceSampleTaxesAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TAXES_ASC', - DistributionsByUpdatedBlockIdVarianceSampleTaxesDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TAXES_DESC', - DistributionsByUpdatedBlockIdVarianceSampleUpdatedAtAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - DistributionsByUpdatedBlockIdVarianceSampleUpdatedAtDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - DistributionsByUpdatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - DistributionsByUpdatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'DISTRIBUTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - DistributionPaymentsByCreatedBlockIdAverageAmountAfterTaxAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_AVERAGE_AMOUNT_AFTER_TAX_ASC', - DistributionPaymentsByCreatedBlockIdAverageAmountAfterTaxDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_AVERAGE_AMOUNT_AFTER_TAX_DESC', - DistributionPaymentsByCreatedBlockIdAverageAmountAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_AVERAGE_AMOUNT_ASC', - DistributionPaymentsByCreatedBlockIdAverageAmountDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_AVERAGE_AMOUNT_DESC', - DistributionPaymentsByCreatedBlockIdAverageCreatedAtAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - DistributionPaymentsByCreatedBlockIdAverageCreatedAtDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - DistributionPaymentsByCreatedBlockIdAverageCreatedBlockIdAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - DistributionPaymentsByCreatedBlockIdAverageCreatedBlockIdDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - DistributionPaymentsByCreatedBlockIdAverageDatetimeAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_AVERAGE_DATETIME_ASC', - DistributionPaymentsByCreatedBlockIdAverageDatetimeDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_AVERAGE_DATETIME_DESC', - DistributionPaymentsByCreatedBlockIdAverageDistributionIdAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_AVERAGE_DISTRIBUTION_ID_ASC', - DistributionPaymentsByCreatedBlockIdAverageDistributionIdDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_AVERAGE_DISTRIBUTION_ID_DESC', - DistributionPaymentsByCreatedBlockIdAverageEventIdAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_ID_ASC', - DistributionPaymentsByCreatedBlockIdAverageEventIdDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_ID_DESC', - DistributionPaymentsByCreatedBlockIdAverageIdAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_AVERAGE_ID_ASC', - DistributionPaymentsByCreatedBlockIdAverageIdDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_AVERAGE_ID_DESC', - DistributionPaymentsByCreatedBlockIdAverageReclaimedAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_AVERAGE_RECLAIMED_ASC', - DistributionPaymentsByCreatedBlockIdAverageReclaimedDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_AVERAGE_RECLAIMED_DESC', - DistributionPaymentsByCreatedBlockIdAverageTargetIdAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_AVERAGE_TARGET_ID_ASC', - DistributionPaymentsByCreatedBlockIdAverageTargetIdDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_AVERAGE_TARGET_ID_DESC', - DistributionPaymentsByCreatedBlockIdAverageTaxAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_AVERAGE_TAX_ASC', - DistributionPaymentsByCreatedBlockIdAverageTaxDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_AVERAGE_TAX_DESC', - DistributionPaymentsByCreatedBlockIdAverageUpdatedAtAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - DistributionPaymentsByCreatedBlockIdAverageUpdatedAtDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - DistributionPaymentsByCreatedBlockIdAverageUpdatedBlockIdAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - DistributionPaymentsByCreatedBlockIdAverageUpdatedBlockIdDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - DistributionPaymentsByCreatedBlockIdCountAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_COUNT_ASC', - DistributionPaymentsByCreatedBlockIdCountDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_COUNT_DESC', - DistributionPaymentsByCreatedBlockIdDistinctCountAmountAfterTaxAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_AMOUNT_AFTER_TAX_ASC', - DistributionPaymentsByCreatedBlockIdDistinctCountAmountAfterTaxDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_AMOUNT_AFTER_TAX_DESC', - DistributionPaymentsByCreatedBlockIdDistinctCountAmountAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_AMOUNT_ASC', - DistributionPaymentsByCreatedBlockIdDistinctCountAmountDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_AMOUNT_DESC', - DistributionPaymentsByCreatedBlockIdDistinctCountCreatedAtAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - DistributionPaymentsByCreatedBlockIdDistinctCountCreatedAtDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - DistributionPaymentsByCreatedBlockIdDistinctCountCreatedBlockIdAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - DistributionPaymentsByCreatedBlockIdDistinctCountCreatedBlockIdDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - DistributionPaymentsByCreatedBlockIdDistinctCountDatetimeAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_ASC', - DistributionPaymentsByCreatedBlockIdDistinctCountDatetimeDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_DESC', - DistributionPaymentsByCreatedBlockIdDistinctCountDistributionIdAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_DISTRIBUTION_ID_ASC', - DistributionPaymentsByCreatedBlockIdDistinctCountDistributionIdDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_DISTRIBUTION_ID_DESC', - DistributionPaymentsByCreatedBlockIdDistinctCountEventIdAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_ID_ASC', - DistributionPaymentsByCreatedBlockIdDistinctCountEventIdDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_ID_DESC', - DistributionPaymentsByCreatedBlockIdDistinctCountIdAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - DistributionPaymentsByCreatedBlockIdDistinctCountIdDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - DistributionPaymentsByCreatedBlockIdDistinctCountReclaimedAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_RECLAIMED_ASC', - DistributionPaymentsByCreatedBlockIdDistinctCountReclaimedDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_RECLAIMED_DESC', - DistributionPaymentsByCreatedBlockIdDistinctCountTargetIdAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TARGET_ID_ASC', - DistributionPaymentsByCreatedBlockIdDistinctCountTargetIdDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TARGET_ID_DESC', - DistributionPaymentsByCreatedBlockIdDistinctCountTaxAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TAX_ASC', - DistributionPaymentsByCreatedBlockIdDistinctCountTaxDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TAX_DESC', - DistributionPaymentsByCreatedBlockIdDistinctCountUpdatedAtAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - DistributionPaymentsByCreatedBlockIdDistinctCountUpdatedAtDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - DistributionPaymentsByCreatedBlockIdDistinctCountUpdatedBlockIdAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - DistributionPaymentsByCreatedBlockIdDistinctCountUpdatedBlockIdDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - DistributionPaymentsByCreatedBlockIdMaxAmountAfterTaxAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_MAX_AMOUNT_AFTER_TAX_ASC', - DistributionPaymentsByCreatedBlockIdMaxAmountAfterTaxDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_MAX_AMOUNT_AFTER_TAX_DESC', - DistributionPaymentsByCreatedBlockIdMaxAmountAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_MAX_AMOUNT_ASC', - DistributionPaymentsByCreatedBlockIdMaxAmountDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_MAX_AMOUNT_DESC', - DistributionPaymentsByCreatedBlockIdMaxCreatedAtAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_ASC', - DistributionPaymentsByCreatedBlockIdMaxCreatedAtDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_DESC', - DistributionPaymentsByCreatedBlockIdMaxCreatedBlockIdAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - DistributionPaymentsByCreatedBlockIdMaxCreatedBlockIdDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - DistributionPaymentsByCreatedBlockIdMaxDatetimeAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_MAX_DATETIME_ASC', - DistributionPaymentsByCreatedBlockIdMaxDatetimeDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_MAX_DATETIME_DESC', - DistributionPaymentsByCreatedBlockIdMaxDistributionIdAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_MAX_DISTRIBUTION_ID_ASC', - DistributionPaymentsByCreatedBlockIdMaxDistributionIdDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_MAX_DISTRIBUTION_ID_DESC', - DistributionPaymentsByCreatedBlockIdMaxEventIdAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_MAX_EVENT_ID_ASC', - DistributionPaymentsByCreatedBlockIdMaxEventIdDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_MAX_EVENT_ID_DESC', - DistributionPaymentsByCreatedBlockIdMaxIdAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_MAX_ID_ASC', - DistributionPaymentsByCreatedBlockIdMaxIdDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_MAX_ID_DESC', - DistributionPaymentsByCreatedBlockIdMaxReclaimedAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_MAX_RECLAIMED_ASC', - DistributionPaymentsByCreatedBlockIdMaxReclaimedDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_MAX_RECLAIMED_DESC', - DistributionPaymentsByCreatedBlockIdMaxTargetIdAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_MAX_TARGET_ID_ASC', - DistributionPaymentsByCreatedBlockIdMaxTargetIdDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_MAX_TARGET_ID_DESC', - DistributionPaymentsByCreatedBlockIdMaxTaxAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_MAX_TAX_ASC', - DistributionPaymentsByCreatedBlockIdMaxTaxDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_MAX_TAX_DESC', - DistributionPaymentsByCreatedBlockIdMaxUpdatedAtAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - DistributionPaymentsByCreatedBlockIdMaxUpdatedAtDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - DistributionPaymentsByCreatedBlockIdMaxUpdatedBlockIdAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - DistributionPaymentsByCreatedBlockIdMaxUpdatedBlockIdDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - DistributionPaymentsByCreatedBlockIdMinAmountAfterTaxAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_MIN_AMOUNT_AFTER_TAX_ASC', - DistributionPaymentsByCreatedBlockIdMinAmountAfterTaxDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_MIN_AMOUNT_AFTER_TAX_DESC', - DistributionPaymentsByCreatedBlockIdMinAmountAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_MIN_AMOUNT_ASC', - DistributionPaymentsByCreatedBlockIdMinAmountDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_MIN_AMOUNT_DESC', - DistributionPaymentsByCreatedBlockIdMinCreatedAtAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_ASC', - DistributionPaymentsByCreatedBlockIdMinCreatedAtDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_DESC', - DistributionPaymentsByCreatedBlockIdMinCreatedBlockIdAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - DistributionPaymentsByCreatedBlockIdMinCreatedBlockIdDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - DistributionPaymentsByCreatedBlockIdMinDatetimeAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_MIN_DATETIME_ASC', - DistributionPaymentsByCreatedBlockIdMinDatetimeDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_MIN_DATETIME_DESC', - DistributionPaymentsByCreatedBlockIdMinDistributionIdAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_MIN_DISTRIBUTION_ID_ASC', - DistributionPaymentsByCreatedBlockIdMinDistributionIdDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_MIN_DISTRIBUTION_ID_DESC', - DistributionPaymentsByCreatedBlockIdMinEventIdAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_MIN_EVENT_ID_ASC', - DistributionPaymentsByCreatedBlockIdMinEventIdDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_MIN_EVENT_ID_DESC', - DistributionPaymentsByCreatedBlockIdMinIdAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_MIN_ID_ASC', - DistributionPaymentsByCreatedBlockIdMinIdDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_MIN_ID_DESC', - DistributionPaymentsByCreatedBlockIdMinReclaimedAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_MIN_RECLAIMED_ASC', - DistributionPaymentsByCreatedBlockIdMinReclaimedDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_MIN_RECLAIMED_DESC', - DistributionPaymentsByCreatedBlockIdMinTargetIdAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_MIN_TARGET_ID_ASC', - DistributionPaymentsByCreatedBlockIdMinTargetIdDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_MIN_TARGET_ID_DESC', - DistributionPaymentsByCreatedBlockIdMinTaxAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_MIN_TAX_ASC', - DistributionPaymentsByCreatedBlockIdMinTaxDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_MIN_TAX_DESC', - DistributionPaymentsByCreatedBlockIdMinUpdatedAtAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - DistributionPaymentsByCreatedBlockIdMinUpdatedAtDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - DistributionPaymentsByCreatedBlockIdMinUpdatedBlockIdAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - DistributionPaymentsByCreatedBlockIdMinUpdatedBlockIdDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - DistributionPaymentsByCreatedBlockIdStddevPopulationAmountAfterTaxAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_AMOUNT_AFTER_TAX_ASC', - DistributionPaymentsByCreatedBlockIdStddevPopulationAmountAfterTaxDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_AMOUNT_AFTER_TAX_DESC', - DistributionPaymentsByCreatedBlockIdStddevPopulationAmountAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_AMOUNT_ASC', - DistributionPaymentsByCreatedBlockIdStddevPopulationAmountDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_AMOUNT_DESC', - DistributionPaymentsByCreatedBlockIdStddevPopulationCreatedAtAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - DistributionPaymentsByCreatedBlockIdStddevPopulationCreatedAtDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - DistributionPaymentsByCreatedBlockIdStddevPopulationCreatedBlockIdAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - DistributionPaymentsByCreatedBlockIdStddevPopulationCreatedBlockIdDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - DistributionPaymentsByCreatedBlockIdStddevPopulationDatetimeAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_DATETIME_ASC', - DistributionPaymentsByCreatedBlockIdStddevPopulationDatetimeDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_DATETIME_DESC', - DistributionPaymentsByCreatedBlockIdStddevPopulationDistributionIdAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_DISTRIBUTION_ID_ASC', - DistributionPaymentsByCreatedBlockIdStddevPopulationDistributionIdDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_DISTRIBUTION_ID_DESC', - DistributionPaymentsByCreatedBlockIdStddevPopulationEventIdAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_ID_ASC', - DistributionPaymentsByCreatedBlockIdStddevPopulationEventIdDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_ID_DESC', - DistributionPaymentsByCreatedBlockIdStddevPopulationIdAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - DistributionPaymentsByCreatedBlockIdStddevPopulationIdDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - DistributionPaymentsByCreatedBlockIdStddevPopulationReclaimedAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_RECLAIMED_ASC', - DistributionPaymentsByCreatedBlockIdStddevPopulationReclaimedDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_RECLAIMED_DESC', - DistributionPaymentsByCreatedBlockIdStddevPopulationTargetIdAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TARGET_ID_ASC', - DistributionPaymentsByCreatedBlockIdStddevPopulationTargetIdDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TARGET_ID_DESC', - DistributionPaymentsByCreatedBlockIdStddevPopulationTaxAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TAX_ASC', - DistributionPaymentsByCreatedBlockIdStddevPopulationTaxDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TAX_DESC', - DistributionPaymentsByCreatedBlockIdStddevPopulationUpdatedAtAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - DistributionPaymentsByCreatedBlockIdStddevPopulationUpdatedAtDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - DistributionPaymentsByCreatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - DistributionPaymentsByCreatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - DistributionPaymentsByCreatedBlockIdStddevSampleAmountAfterTaxAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_AMOUNT_AFTER_TAX_ASC', - DistributionPaymentsByCreatedBlockIdStddevSampleAmountAfterTaxDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_AMOUNT_AFTER_TAX_DESC', - DistributionPaymentsByCreatedBlockIdStddevSampleAmountAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_AMOUNT_ASC', - DistributionPaymentsByCreatedBlockIdStddevSampleAmountDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_AMOUNT_DESC', - DistributionPaymentsByCreatedBlockIdStddevSampleCreatedAtAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - DistributionPaymentsByCreatedBlockIdStddevSampleCreatedAtDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - DistributionPaymentsByCreatedBlockIdStddevSampleCreatedBlockIdAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - DistributionPaymentsByCreatedBlockIdStddevSampleCreatedBlockIdDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - DistributionPaymentsByCreatedBlockIdStddevSampleDatetimeAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_DATETIME_ASC', - DistributionPaymentsByCreatedBlockIdStddevSampleDatetimeDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_DATETIME_DESC', - DistributionPaymentsByCreatedBlockIdStddevSampleDistributionIdAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_DISTRIBUTION_ID_ASC', - DistributionPaymentsByCreatedBlockIdStddevSampleDistributionIdDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_DISTRIBUTION_ID_DESC', - DistributionPaymentsByCreatedBlockIdStddevSampleEventIdAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_ID_ASC', - DistributionPaymentsByCreatedBlockIdStddevSampleEventIdDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_ID_DESC', - DistributionPaymentsByCreatedBlockIdStddevSampleIdAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - DistributionPaymentsByCreatedBlockIdStddevSampleIdDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - DistributionPaymentsByCreatedBlockIdStddevSampleReclaimedAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_RECLAIMED_ASC', - DistributionPaymentsByCreatedBlockIdStddevSampleReclaimedDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_RECLAIMED_DESC', - DistributionPaymentsByCreatedBlockIdStddevSampleTargetIdAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TARGET_ID_ASC', - DistributionPaymentsByCreatedBlockIdStddevSampleTargetIdDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TARGET_ID_DESC', - DistributionPaymentsByCreatedBlockIdStddevSampleTaxAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TAX_ASC', - DistributionPaymentsByCreatedBlockIdStddevSampleTaxDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TAX_DESC', - DistributionPaymentsByCreatedBlockIdStddevSampleUpdatedAtAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - DistributionPaymentsByCreatedBlockIdStddevSampleUpdatedAtDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - DistributionPaymentsByCreatedBlockIdStddevSampleUpdatedBlockIdAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - DistributionPaymentsByCreatedBlockIdStddevSampleUpdatedBlockIdDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - DistributionPaymentsByCreatedBlockIdSumAmountAfterTaxAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_SUM_AMOUNT_AFTER_TAX_ASC', - DistributionPaymentsByCreatedBlockIdSumAmountAfterTaxDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_SUM_AMOUNT_AFTER_TAX_DESC', - DistributionPaymentsByCreatedBlockIdSumAmountAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_SUM_AMOUNT_ASC', - DistributionPaymentsByCreatedBlockIdSumAmountDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_SUM_AMOUNT_DESC', - DistributionPaymentsByCreatedBlockIdSumCreatedAtAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_ASC', - DistributionPaymentsByCreatedBlockIdSumCreatedAtDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_DESC', - DistributionPaymentsByCreatedBlockIdSumCreatedBlockIdAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - DistributionPaymentsByCreatedBlockIdSumCreatedBlockIdDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - DistributionPaymentsByCreatedBlockIdSumDatetimeAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_SUM_DATETIME_ASC', - DistributionPaymentsByCreatedBlockIdSumDatetimeDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_SUM_DATETIME_DESC', - DistributionPaymentsByCreatedBlockIdSumDistributionIdAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_SUM_DISTRIBUTION_ID_ASC', - DistributionPaymentsByCreatedBlockIdSumDistributionIdDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_SUM_DISTRIBUTION_ID_DESC', - DistributionPaymentsByCreatedBlockIdSumEventIdAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_SUM_EVENT_ID_ASC', - DistributionPaymentsByCreatedBlockIdSumEventIdDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_SUM_EVENT_ID_DESC', - DistributionPaymentsByCreatedBlockIdSumIdAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_SUM_ID_ASC', - DistributionPaymentsByCreatedBlockIdSumIdDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_SUM_ID_DESC', - DistributionPaymentsByCreatedBlockIdSumReclaimedAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_SUM_RECLAIMED_ASC', - DistributionPaymentsByCreatedBlockIdSumReclaimedDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_SUM_RECLAIMED_DESC', - DistributionPaymentsByCreatedBlockIdSumTargetIdAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_SUM_TARGET_ID_ASC', - DistributionPaymentsByCreatedBlockIdSumTargetIdDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_SUM_TARGET_ID_DESC', - DistributionPaymentsByCreatedBlockIdSumTaxAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_SUM_TAX_ASC', - DistributionPaymentsByCreatedBlockIdSumTaxDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_SUM_TAX_DESC', - DistributionPaymentsByCreatedBlockIdSumUpdatedAtAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - DistributionPaymentsByCreatedBlockIdSumUpdatedAtDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - DistributionPaymentsByCreatedBlockIdSumUpdatedBlockIdAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - DistributionPaymentsByCreatedBlockIdSumUpdatedBlockIdDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - DistributionPaymentsByCreatedBlockIdVariancePopulationAmountAfterTaxAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_AMOUNT_AFTER_TAX_ASC', - DistributionPaymentsByCreatedBlockIdVariancePopulationAmountAfterTaxDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_AMOUNT_AFTER_TAX_DESC', - DistributionPaymentsByCreatedBlockIdVariancePopulationAmountAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_AMOUNT_ASC', - DistributionPaymentsByCreatedBlockIdVariancePopulationAmountDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_AMOUNT_DESC', - DistributionPaymentsByCreatedBlockIdVariancePopulationCreatedAtAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - DistributionPaymentsByCreatedBlockIdVariancePopulationCreatedAtDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - DistributionPaymentsByCreatedBlockIdVariancePopulationCreatedBlockIdAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - DistributionPaymentsByCreatedBlockIdVariancePopulationCreatedBlockIdDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - DistributionPaymentsByCreatedBlockIdVariancePopulationDatetimeAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_DATETIME_ASC', - DistributionPaymentsByCreatedBlockIdVariancePopulationDatetimeDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_DATETIME_DESC', - DistributionPaymentsByCreatedBlockIdVariancePopulationDistributionIdAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_DISTRIBUTION_ID_ASC', - DistributionPaymentsByCreatedBlockIdVariancePopulationDistributionIdDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_DISTRIBUTION_ID_DESC', - DistributionPaymentsByCreatedBlockIdVariancePopulationEventIdAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_ID_ASC', - DistributionPaymentsByCreatedBlockIdVariancePopulationEventIdDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_ID_DESC', - DistributionPaymentsByCreatedBlockIdVariancePopulationIdAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - DistributionPaymentsByCreatedBlockIdVariancePopulationIdDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - DistributionPaymentsByCreatedBlockIdVariancePopulationReclaimedAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_RECLAIMED_ASC', - DistributionPaymentsByCreatedBlockIdVariancePopulationReclaimedDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_RECLAIMED_DESC', - DistributionPaymentsByCreatedBlockIdVariancePopulationTargetIdAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TARGET_ID_ASC', - DistributionPaymentsByCreatedBlockIdVariancePopulationTargetIdDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TARGET_ID_DESC', - DistributionPaymentsByCreatedBlockIdVariancePopulationTaxAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TAX_ASC', - DistributionPaymentsByCreatedBlockIdVariancePopulationTaxDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TAX_DESC', - DistributionPaymentsByCreatedBlockIdVariancePopulationUpdatedAtAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - DistributionPaymentsByCreatedBlockIdVariancePopulationUpdatedAtDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - DistributionPaymentsByCreatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - DistributionPaymentsByCreatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - DistributionPaymentsByCreatedBlockIdVarianceSampleAmountAfterTaxAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_AMOUNT_AFTER_TAX_ASC', - DistributionPaymentsByCreatedBlockIdVarianceSampleAmountAfterTaxDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_AMOUNT_AFTER_TAX_DESC', - DistributionPaymentsByCreatedBlockIdVarianceSampleAmountAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_AMOUNT_ASC', - DistributionPaymentsByCreatedBlockIdVarianceSampleAmountDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_AMOUNT_DESC', - DistributionPaymentsByCreatedBlockIdVarianceSampleCreatedAtAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - DistributionPaymentsByCreatedBlockIdVarianceSampleCreatedAtDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - DistributionPaymentsByCreatedBlockIdVarianceSampleCreatedBlockIdAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - DistributionPaymentsByCreatedBlockIdVarianceSampleCreatedBlockIdDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - DistributionPaymentsByCreatedBlockIdVarianceSampleDatetimeAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_DATETIME_ASC', - DistributionPaymentsByCreatedBlockIdVarianceSampleDatetimeDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_DATETIME_DESC', - DistributionPaymentsByCreatedBlockIdVarianceSampleDistributionIdAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_DISTRIBUTION_ID_ASC', - DistributionPaymentsByCreatedBlockIdVarianceSampleDistributionIdDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_DISTRIBUTION_ID_DESC', - DistributionPaymentsByCreatedBlockIdVarianceSampleEventIdAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_ID_ASC', - DistributionPaymentsByCreatedBlockIdVarianceSampleEventIdDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_ID_DESC', - DistributionPaymentsByCreatedBlockIdVarianceSampleIdAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - DistributionPaymentsByCreatedBlockIdVarianceSampleIdDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - DistributionPaymentsByCreatedBlockIdVarianceSampleReclaimedAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_RECLAIMED_ASC', - DistributionPaymentsByCreatedBlockIdVarianceSampleReclaimedDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_RECLAIMED_DESC', - DistributionPaymentsByCreatedBlockIdVarianceSampleTargetIdAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TARGET_ID_ASC', - DistributionPaymentsByCreatedBlockIdVarianceSampleTargetIdDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TARGET_ID_DESC', - DistributionPaymentsByCreatedBlockIdVarianceSampleTaxAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TAX_ASC', - DistributionPaymentsByCreatedBlockIdVarianceSampleTaxDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TAX_DESC', - DistributionPaymentsByCreatedBlockIdVarianceSampleUpdatedAtAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - DistributionPaymentsByCreatedBlockIdVarianceSampleUpdatedAtDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - DistributionPaymentsByCreatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - DistributionPaymentsByCreatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'DISTRIBUTION_PAYMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - DistributionPaymentsByUpdatedBlockIdAverageAmountAfterTaxAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_AMOUNT_AFTER_TAX_ASC', - DistributionPaymentsByUpdatedBlockIdAverageAmountAfterTaxDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_AMOUNT_AFTER_TAX_DESC', - DistributionPaymentsByUpdatedBlockIdAverageAmountAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_AMOUNT_ASC', - DistributionPaymentsByUpdatedBlockIdAverageAmountDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_AMOUNT_DESC', - DistributionPaymentsByUpdatedBlockIdAverageCreatedAtAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - DistributionPaymentsByUpdatedBlockIdAverageCreatedAtDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - DistributionPaymentsByUpdatedBlockIdAverageCreatedBlockIdAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - DistributionPaymentsByUpdatedBlockIdAverageCreatedBlockIdDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - DistributionPaymentsByUpdatedBlockIdAverageDatetimeAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_DATETIME_ASC', - DistributionPaymentsByUpdatedBlockIdAverageDatetimeDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_DATETIME_DESC', - DistributionPaymentsByUpdatedBlockIdAverageDistributionIdAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_DISTRIBUTION_ID_ASC', - DistributionPaymentsByUpdatedBlockIdAverageDistributionIdDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_DISTRIBUTION_ID_DESC', - DistributionPaymentsByUpdatedBlockIdAverageEventIdAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_ID_ASC', - DistributionPaymentsByUpdatedBlockIdAverageEventIdDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_ID_DESC', - DistributionPaymentsByUpdatedBlockIdAverageIdAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_ASC', - DistributionPaymentsByUpdatedBlockIdAverageIdDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_DESC', - DistributionPaymentsByUpdatedBlockIdAverageReclaimedAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_RECLAIMED_ASC', - DistributionPaymentsByUpdatedBlockIdAverageReclaimedDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_RECLAIMED_DESC', - DistributionPaymentsByUpdatedBlockIdAverageTargetIdAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_TARGET_ID_ASC', - DistributionPaymentsByUpdatedBlockIdAverageTargetIdDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_TARGET_ID_DESC', - DistributionPaymentsByUpdatedBlockIdAverageTaxAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_TAX_ASC', - DistributionPaymentsByUpdatedBlockIdAverageTaxDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_TAX_DESC', - DistributionPaymentsByUpdatedBlockIdAverageUpdatedAtAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - DistributionPaymentsByUpdatedBlockIdAverageUpdatedAtDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - DistributionPaymentsByUpdatedBlockIdAverageUpdatedBlockIdAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - DistributionPaymentsByUpdatedBlockIdAverageUpdatedBlockIdDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - DistributionPaymentsByUpdatedBlockIdCountAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_COUNT_ASC', - DistributionPaymentsByUpdatedBlockIdCountDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_COUNT_DESC', - DistributionPaymentsByUpdatedBlockIdDistinctCountAmountAfterTaxAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_AMOUNT_AFTER_TAX_ASC', - DistributionPaymentsByUpdatedBlockIdDistinctCountAmountAfterTaxDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_AMOUNT_AFTER_TAX_DESC', - DistributionPaymentsByUpdatedBlockIdDistinctCountAmountAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_AMOUNT_ASC', - DistributionPaymentsByUpdatedBlockIdDistinctCountAmountDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_AMOUNT_DESC', - DistributionPaymentsByUpdatedBlockIdDistinctCountCreatedAtAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - DistributionPaymentsByUpdatedBlockIdDistinctCountCreatedAtDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - DistributionPaymentsByUpdatedBlockIdDistinctCountCreatedBlockIdAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - DistributionPaymentsByUpdatedBlockIdDistinctCountCreatedBlockIdDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - DistributionPaymentsByUpdatedBlockIdDistinctCountDatetimeAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_ASC', - DistributionPaymentsByUpdatedBlockIdDistinctCountDatetimeDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_DESC', - DistributionPaymentsByUpdatedBlockIdDistinctCountDistributionIdAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_DISTRIBUTION_ID_ASC', - DistributionPaymentsByUpdatedBlockIdDistinctCountDistributionIdDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_DISTRIBUTION_ID_DESC', - DistributionPaymentsByUpdatedBlockIdDistinctCountEventIdAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_ID_ASC', - DistributionPaymentsByUpdatedBlockIdDistinctCountEventIdDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_ID_DESC', - DistributionPaymentsByUpdatedBlockIdDistinctCountIdAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - DistributionPaymentsByUpdatedBlockIdDistinctCountIdDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - DistributionPaymentsByUpdatedBlockIdDistinctCountReclaimedAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_RECLAIMED_ASC', - DistributionPaymentsByUpdatedBlockIdDistinctCountReclaimedDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_RECLAIMED_DESC', - DistributionPaymentsByUpdatedBlockIdDistinctCountTargetIdAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TARGET_ID_ASC', - DistributionPaymentsByUpdatedBlockIdDistinctCountTargetIdDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TARGET_ID_DESC', - DistributionPaymentsByUpdatedBlockIdDistinctCountTaxAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TAX_ASC', - DistributionPaymentsByUpdatedBlockIdDistinctCountTaxDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TAX_DESC', - DistributionPaymentsByUpdatedBlockIdDistinctCountUpdatedAtAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - DistributionPaymentsByUpdatedBlockIdDistinctCountUpdatedAtDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - DistributionPaymentsByUpdatedBlockIdDistinctCountUpdatedBlockIdAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - DistributionPaymentsByUpdatedBlockIdDistinctCountUpdatedBlockIdDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - DistributionPaymentsByUpdatedBlockIdMaxAmountAfterTaxAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_MAX_AMOUNT_AFTER_TAX_ASC', - DistributionPaymentsByUpdatedBlockIdMaxAmountAfterTaxDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_MAX_AMOUNT_AFTER_TAX_DESC', - DistributionPaymentsByUpdatedBlockIdMaxAmountAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_MAX_AMOUNT_ASC', - DistributionPaymentsByUpdatedBlockIdMaxAmountDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_MAX_AMOUNT_DESC', - DistributionPaymentsByUpdatedBlockIdMaxCreatedAtAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_ASC', - DistributionPaymentsByUpdatedBlockIdMaxCreatedAtDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_DESC', - DistributionPaymentsByUpdatedBlockIdMaxCreatedBlockIdAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - DistributionPaymentsByUpdatedBlockIdMaxCreatedBlockIdDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - DistributionPaymentsByUpdatedBlockIdMaxDatetimeAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_MAX_DATETIME_ASC', - DistributionPaymentsByUpdatedBlockIdMaxDatetimeDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_MAX_DATETIME_DESC', - DistributionPaymentsByUpdatedBlockIdMaxDistributionIdAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_MAX_DISTRIBUTION_ID_ASC', - DistributionPaymentsByUpdatedBlockIdMaxDistributionIdDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_MAX_DISTRIBUTION_ID_DESC', - DistributionPaymentsByUpdatedBlockIdMaxEventIdAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_MAX_EVENT_ID_ASC', - DistributionPaymentsByUpdatedBlockIdMaxEventIdDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_MAX_EVENT_ID_DESC', - DistributionPaymentsByUpdatedBlockIdMaxIdAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_MAX_ID_ASC', - DistributionPaymentsByUpdatedBlockIdMaxIdDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_MAX_ID_DESC', - DistributionPaymentsByUpdatedBlockIdMaxReclaimedAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_MAX_RECLAIMED_ASC', - DistributionPaymentsByUpdatedBlockIdMaxReclaimedDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_MAX_RECLAIMED_DESC', - DistributionPaymentsByUpdatedBlockIdMaxTargetIdAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_MAX_TARGET_ID_ASC', - DistributionPaymentsByUpdatedBlockIdMaxTargetIdDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_MAX_TARGET_ID_DESC', - DistributionPaymentsByUpdatedBlockIdMaxTaxAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_MAX_TAX_ASC', - DistributionPaymentsByUpdatedBlockIdMaxTaxDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_MAX_TAX_DESC', - DistributionPaymentsByUpdatedBlockIdMaxUpdatedAtAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - DistributionPaymentsByUpdatedBlockIdMaxUpdatedAtDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - DistributionPaymentsByUpdatedBlockIdMaxUpdatedBlockIdAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - DistributionPaymentsByUpdatedBlockIdMaxUpdatedBlockIdDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - DistributionPaymentsByUpdatedBlockIdMinAmountAfterTaxAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_MIN_AMOUNT_AFTER_TAX_ASC', - DistributionPaymentsByUpdatedBlockIdMinAmountAfterTaxDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_MIN_AMOUNT_AFTER_TAX_DESC', - DistributionPaymentsByUpdatedBlockIdMinAmountAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_MIN_AMOUNT_ASC', - DistributionPaymentsByUpdatedBlockIdMinAmountDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_MIN_AMOUNT_DESC', - DistributionPaymentsByUpdatedBlockIdMinCreatedAtAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_ASC', - DistributionPaymentsByUpdatedBlockIdMinCreatedAtDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_DESC', - DistributionPaymentsByUpdatedBlockIdMinCreatedBlockIdAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - DistributionPaymentsByUpdatedBlockIdMinCreatedBlockIdDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - DistributionPaymentsByUpdatedBlockIdMinDatetimeAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_MIN_DATETIME_ASC', - DistributionPaymentsByUpdatedBlockIdMinDatetimeDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_MIN_DATETIME_DESC', - DistributionPaymentsByUpdatedBlockIdMinDistributionIdAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_MIN_DISTRIBUTION_ID_ASC', - DistributionPaymentsByUpdatedBlockIdMinDistributionIdDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_MIN_DISTRIBUTION_ID_DESC', - DistributionPaymentsByUpdatedBlockIdMinEventIdAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_MIN_EVENT_ID_ASC', - DistributionPaymentsByUpdatedBlockIdMinEventIdDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_MIN_EVENT_ID_DESC', - DistributionPaymentsByUpdatedBlockIdMinIdAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_MIN_ID_ASC', - DistributionPaymentsByUpdatedBlockIdMinIdDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_MIN_ID_DESC', - DistributionPaymentsByUpdatedBlockIdMinReclaimedAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_MIN_RECLAIMED_ASC', - DistributionPaymentsByUpdatedBlockIdMinReclaimedDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_MIN_RECLAIMED_DESC', - DistributionPaymentsByUpdatedBlockIdMinTargetIdAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_MIN_TARGET_ID_ASC', - DistributionPaymentsByUpdatedBlockIdMinTargetIdDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_MIN_TARGET_ID_DESC', - DistributionPaymentsByUpdatedBlockIdMinTaxAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_MIN_TAX_ASC', - DistributionPaymentsByUpdatedBlockIdMinTaxDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_MIN_TAX_DESC', - DistributionPaymentsByUpdatedBlockIdMinUpdatedAtAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - DistributionPaymentsByUpdatedBlockIdMinUpdatedAtDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - DistributionPaymentsByUpdatedBlockIdMinUpdatedBlockIdAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - DistributionPaymentsByUpdatedBlockIdMinUpdatedBlockIdDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - DistributionPaymentsByUpdatedBlockIdStddevPopulationAmountAfterTaxAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_AMOUNT_AFTER_TAX_ASC', - DistributionPaymentsByUpdatedBlockIdStddevPopulationAmountAfterTaxDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_AMOUNT_AFTER_TAX_DESC', - DistributionPaymentsByUpdatedBlockIdStddevPopulationAmountAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_AMOUNT_ASC', - DistributionPaymentsByUpdatedBlockIdStddevPopulationAmountDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_AMOUNT_DESC', - DistributionPaymentsByUpdatedBlockIdStddevPopulationCreatedAtAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - DistributionPaymentsByUpdatedBlockIdStddevPopulationCreatedAtDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - DistributionPaymentsByUpdatedBlockIdStddevPopulationCreatedBlockIdAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - DistributionPaymentsByUpdatedBlockIdStddevPopulationCreatedBlockIdDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - DistributionPaymentsByUpdatedBlockIdStddevPopulationDatetimeAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_DATETIME_ASC', - DistributionPaymentsByUpdatedBlockIdStddevPopulationDatetimeDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_DATETIME_DESC', - DistributionPaymentsByUpdatedBlockIdStddevPopulationDistributionIdAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_DISTRIBUTION_ID_ASC', - DistributionPaymentsByUpdatedBlockIdStddevPopulationDistributionIdDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_DISTRIBUTION_ID_DESC', - DistributionPaymentsByUpdatedBlockIdStddevPopulationEventIdAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_ID_ASC', - DistributionPaymentsByUpdatedBlockIdStddevPopulationEventIdDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_ID_DESC', - DistributionPaymentsByUpdatedBlockIdStddevPopulationIdAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - DistributionPaymentsByUpdatedBlockIdStddevPopulationIdDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - DistributionPaymentsByUpdatedBlockIdStddevPopulationReclaimedAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_RECLAIMED_ASC', - DistributionPaymentsByUpdatedBlockIdStddevPopulationReclaimedDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_RECLAIMED_DESC', - DistributionPaymentsByUpdatedBlockIdStddevPopulationTargetIdAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TARGET_ID_ASC', - DistributionPaymentsByUpdatedBlockIdStddevPopulationTargetIdDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TARGET_ID_DESC', - DistributionPaymentsByUpdatedBlockIdStddevPopulationTaxAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TAX_ASC', - DistributionPaymentsByUpdatedBlockIdStddevPopulationTaxDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TAX_DESC', - DistributionPaymentsByUpdatedBlockIdStddevPopulationUpdatedAtAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - DistributionPaymentsByUpdatedBlockIdStddevPopulationUpdatedAtDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - DistributionPaymentsByUpdatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - DistributionPaymentsByUpdatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - DistributionPaymentsByUpdatedBlockIdStddevSampleAmountAfterTaxAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_AMOUNT_AFTER_TAX_ASC', - DistributionPaymentsByUpdatedBlockIdStddevSampleAmountAfterTaxDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_AMOUNT_AFTER_TAX_DESC', - DistributionPaymentsByUpdatedBlockIdStddevSampleAmountAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_AMOUNT_ASC', - DistributionPaymentsByUpdatedBlockIdStddevSampleAmountDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_AMOUNT_DESC', - DistributionPaymentsByUpdatedBlockIdStddevSampleCreatedAtAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - DistributionPaymentsByUpdatedBlockIdStddevSampleCreatedAtDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - DistributionPaymentsByUpdatedBlockIdStddevSampleCreatedBlockIdAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - DistributionPaymentsByUpdatedBlockIdStddevSampleCreatedBlockIdDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - DistributionPaymentsByUpdatedBlockIdStddevSampleDatetimeAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_DATETIME_ASC', - DistributionPaymentsByUpdatedBlockIdStddevSampleDatetimeDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_DATETIME_DESC', - DistributionPaymentsByUpdatedBlockIdStddevSampleDistributionIdAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_DISTRIBUTION_ID_ASC', - DistributionPaymentsByUpdatedBlockIdStddevSampleDistributionIdDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_DISTRIBUTION_ID_DESC', - DistributionPaymentsByUpdatedBlockIdStddevSampleEventIdAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_ID_ASC', - DistributionPaymentsByUpdatedBlockIdStddevSampleEventIdDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_ID_DESC', - DistributionPaymentsByUpdatedBlockIdStddevSampleIdAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - DistributionPaymentsByUpdatedBlockIdStddevSampleIdDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - DistributionPaymentsByUpdatedBlockIdStddevSampleReclaimedAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_RECLAIMED_ASC', - DistributionPaymentsByUpdatedBlockIdStddevSampleReclaimedDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_RECLAIMED_DESC', - DistributionPaymentsByUpdatedBlockIdStddevSampleTargetIdAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TARGET_ID_ASC', - DistributionPaymentsByUpdatedBlockIdStddevSampleTargetIdDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TARGET_ID_DESC', - DistributionPaymentsByUpdatedBlockIdStddevSampleTaxAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TAX_ASC', - DistributionPaymentsByUpdatedBlockIdStddevSampleTaxDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TAX_DESC', - DistributionPaymentsByUpdatedBlockIdStddevSampleUpdatedAtAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - DistributionPaymentsByUpdatedBlockIdStddevSampleUpdatedAtDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - DistributionPaymentsByUpdatedBlockIdStddevSampleUpdatedBlockIdAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - DistributionPaymentsByUpdatedBlockIdStddevSampleUpdatedBlockIdDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - DistributionPaymentsByUpdatedBlockIdSumAmountAfterTaxAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_SUM_AMOUNT_AFTER_TAX_ASC', - DistributionPaymentsByUpdatedBlockIdSumAmountAfterTaxDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_SUM_AMOUNT_AFTER_TAX_DESC', - DistributionPaymentsByUpdatedBlockIdSumAmountAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_SUM_AMOUNT_ASC', - DistributionPaymentsByUpdatedBlockIdSumAmountDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_SUM_AMOUNT_DESC', - DistributionPaymentsByUpdatedBlockIdSumCreatedAtAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_ASC', - DistributionPaymentsByUpdatedBlockIdSumCreatedAtDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_DESC', - DistributionPaymentsByUpdatedBlockIdSumCreatedBlockIdAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - DistributionPaymentsByUpdatedBlockIdSumCreatedBlockIdDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - DistributionPaymentsByUpdatedBlockIdSumDatetimeAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_SUM_DATETIME_ASC', - DistributionPaymentsByUpdatedBlockIdSumDatetimeDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_SUM_DATETIME_DESC', - DistributionPaymentsByUpdatedBlockIdSumDistributionIdAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_SUM_DISTRIBUTION_ID_ASC', - DistributionPaymentsByUpdatedBlockIdSumDistributionIdDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_SUM_DISTRIBUTION_ID_DESC', - DistributionPaymentsByUpdatedBlockIdSumEventIdAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_SUM_EVENT_ID_ASC', - DistributionPaymentsByUpdatedBlockIdSumEventIdDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_SUM_EVENT_ID_DESC', - DistributionPaymentsByUpdatedBlockIdSumIdAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_SUM_ID_ASC', - DistributionPaymentsByUpdatedBlockIdSumIdDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_SUM_ID_DESC', - DistributionPaymentsByUpdatedBlockIdSumReclaimedAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_SUM_RECLAIMED_ASC', - DistributionPaymentsByUpdatedBlockIdSumReclaimedDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_SUM_RECLAIMED_DESC', - DistributionPaymentsByUpdatedBlockIdSumTargetIdAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_SUM_TARGET_ID_ASC', - DistributionPaymentsByUpdatedBlockIdSumTargetIdDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_SUM_TARGET_ID_DESC', - DistributionPaymentsByUpdatedBlockIdSumTaxAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_SUM_TAX_ASC', - DistributionPaymentsByUpdatedBlockIdSumTaxDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_SUM_TAX_DESC', - DistributionPaymentsByUpdatedBlockIdSumUpdatedAtAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - DistributionPaymentsByUpdatedBlockIdSumUpdatedAtDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - DistributionPaymentsByUpdatedBlockIdSumUpdatedBlockIdAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - DistributionPaymentsByUpdatedBlockIdSumUpdatedBlockIdDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - DistributionPaymentsByUpdatedBlockIdVariancePopulationAmountAfterTaxAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_AMOUNT_AFTER_TAX_ASC', - DistributionPaymentsByUpdatedBlockIdVariancePopulationAmountAfterTaxDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_AMOUNT_AFTER_TAX_DESC', - DistributionPaymentsByUpdatedBlockIdVariancePopulationAmountAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_AMOUNT_ASC', - DistributionPaymentsByUpdatedBlockIdVariancePopulationAmountDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_AMOUNT_DESC', - DistributionPaymentsByUpdatedBlockIdVariancePopulationCreatedAtAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - DistributionPaymentsByUpdatedBlockIdVariancePopulationCreatedAtDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - DistributionPaymentsByUpdatedBlockIdVariancePopulationCreatedBlockIdAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - DistributionPaymentsByUpdatedBlockIdVariancePopulationCreatedBlockIdDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - DistributionPaymentsByUpdatedBlockIdVariancePopulationDatetimeAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_DATETIME_ASC', - DistributionPaymentsByUpdatedBlockIdVariancePopulationDatetimeDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_DATETIME_DESC', - DistributionPaymentsByUpdatedBlockIdVariancePopulationDistributionIdAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_DISTRIBUTION_ID_ASC', - DistributionPaymentsByUpdatedBlockIdVariancePopulationDistributionIdDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_DISTRIBUTION_ID_DESC', - DistributionPaymentsByUpdatedBlockIdVariancePopulationEventIdAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_ID_ASC', - DistributionPaymentsByUpdatedBlockIdVariancePopulationEventIdDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_ID_DESC', - DistributionPaymentsByUpdatedBlockIdVariancePopulationIdAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - DistributionPaymentsByUpdatedBlockIdVariancePopulationIdDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - DistributionPaymentsByUpdatedBlockIdVariancePopulationReclaimedAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_RECLAIMED_ASC', - DistributionPaymentsByUpdatedBlockIdVariancePopulationReclaimedDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_RECLAIMED_DESC', - DistributionPaymentsByUpdatedBlockIdVariancePopulationTargetIdAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TARGET_ID_ASC', - DistributionPaymentsByUpdatedBlockIdVariancePopulationTargetIdDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TARGET_ID_DESC', - DistributionPaymentsByUpdatedBlockIdVariancePopulationTaxAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TAX_ASC', - DistributionPaymentsByUpdatedBlockIdVariancePopulationTaxDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TAX_DESC', - DistributionPaymentsByUpdatedBlockIdVariancePopulationUpdatedAtAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - DistributionPaymentsByUpdatedBlockIdVariancePopulationUpdatedAtDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - DistributionPaymentsByUpdatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - DistributionPaymentsByUpdatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - DistributionPaymentsByUpdatedBlockIdVarianceSampleAmountAfterTaxAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_AMOUNT_AFTER_TAX_ASC', - DistributionPaymentsByUpdatedBlockIdVarianceSampleAmountAfterTaxDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_AMOUNT_AFTER_TAX_DESC', - DistributionPaymentsByUpdatedBlockIdVarianceSampleAmountAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_AMOUNT_ASC', - DistributionPaymentsByUpdatedBlockIdVarianceSampleAmountDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_AMOUNT_DESC', - DistributionPaymentsByUpdatedBlockIdVarianceSampleCreatedAtAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - DistributionPaymentsByUpdatedBlockIdVarianceSampleCreatedAtDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - DistributionPaymentsByUpdatedBlockIdVarianceSampleCreatedBlockIdAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - DistributionPaymentsByUpdatedBlockIdVarianceSampleCreatedBlockIdDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - DistributionPaymentsByUpdatedBlockIdVarianceSampleDatetimeAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_DATETIME_ASC', - DistributionPaymentsByUpdatedBlockIdVarianceSampleDatetimeDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_DATETIME_DESC', - DistributionPaymentsByUpdatedBlockIdVarianceSampleDistributionIdAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_DISTRIBUTION_ID_ASC', - DistributionPaymentsByUpdatedBlockIdVarianceSampleDistributionIdDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_DISTRIBUTION_ID_DESC', - DistributionPaymentsByUpdatedBlockIdVarianceSampleEventIdAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_ID_ASC', - DistributionPaymentsByUpdatedBlockIdVarianceSampleEventIdDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_ID_DESC', - DistributionPaymentsByUpdatedBlockIdVarianceSampleIdAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - DistributionPaymentsByUpdatedBlockIdVarianceSampleIdDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - DistributionPaymentsByUpdatedBlockIdVarianceSampleReclaimedAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_RECLAIMED_ASC', - DistributionPaymentsByUpdatedBlockIdVarianceSampleReclaimedDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_RECLAIMED_DESC', - DistributionPaymentsByUpdatedBlockIdVarianceSampleTargetIdAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TARGET_ID_ASC', - DistributionPaymentsByUpdatedBlockIdVarianceSampleTargetIdDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TARGET_ID_DESC', - DistributionPaymentsByUpdatedBlockIdVarianceSampleTaxAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TAX_ASC', - DistributionPaymentsByUpdatedBlockIdVarianceSampleTaxDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TAX_DESC', - DistributionPaymentsByUpdatedBlockIdVarianceSampleUpdatedAtAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - DistributionPaymentsByUpdatedBlockIdVarianceSampleUpdatedAtDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - DistributionPaymentsByUpdatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - DistributionPaymentsByUpdatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'DISTRIBUTION_PAYMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - EventsAverageAttributesAsc = 'EVENTS_AVERAGE_ATTRIBUTES_ASC', - EventsAverageAttributesDesc = 'EVENTS_AVERAGE_ATTRIBUTES_DESC', - EventsAverageAttributesTxtAsc = 'EVENTS_AVERAGE_ATTRIBUTES_TXT_ASC', - EventsAverageAttributesTxtDesc = 'EVENTS_AVERAGE_ATTRIBUTES_TXT_DESC', - EventsAverageBlockIdAsc = 'EVENTS_AVERAGE_BLOCK_ID_ASC', - EventsAverageBlockIdDesc = 'EVENTS_AVERAGE_BLOCK_ID_DESC', - EventsAverageClaimExpiryAsc = 'EVENTS_AVERAGE_CLAIM_EXPIRY_ASC', - EventsAverageClaimExpiryDesc = 'EVENTS_AVERAGE_CLAIM_EXPIRY_DESC', - EventsAverageClaimIssuerAsc = 'EVENTS_AVERAGE_CLAIM_ISSUER_ASC', - EventsAverageClaimIssuerDesc = 'EVENTS_AVERAGE_CLAIM_ISSUER_DESC', - EventsAverageClaimScopeAsc = 'EVENTS_AVERAGE_CLAIM_SCOPE_ASC', - EventsAverageClaimScopeDesc = 'EVENTS_AVERAGE_CLAIM_SCOPE_DESC', - EventsAverageClaimTypeAsc = 'EVENTS_AVERAGE_CLAIM_TYPE_ASC', - EventsAverageClaimTypeDesc = 'EVENTS_AVERAGE_CLAIM_TYPE_DESC', - EventsAverageCorporateActionTickerAsc = 'EVENTS_AVERAGE_CORPORATE_ACTION_TICKER_ASC', - EventsAverageCorporateActionTickerDesc = 'EVENTS_AVERAGE_CORPORATE_ACTION_TICKER_DESC', - EventsAverageCreatedAtAsc = 'EVENTS_AVERAGE_CREATED_AT_ASC', - EventsAverageCreatedAtDesc = 'EVENTS_AVERAGE_CREATED_AT_DESC', - EventsAverageEventArg_0Asc = 'EVENTS_AVERAGE_EVENT_ARG_0_ASC', - EventsAverageEventArg_0Desc = 'EVENTS_AVERAGE_EVENT_ARG_0_DESC', - EventsAverageEventArg_1Asc = 'EVENTS_AVERAGE_EVENT_ARG_1_ASC', - EventsAverageEventArg_1Desc = 'EVENTS_AVERAGE_EVENT_ARG_1_DESC', - EventsAverageEventArg_2Asc = 'EVENTS_AVERAGE_EVENT_ARG_2_ASC', - EventsAverageEventArg_2Desc = 'EVENTS_AVERAGE_EVENT_ARG_2_DESC', - EventsAverageEventArg_3Asc = 'EVENTS_AVERAGE_EVENT_ARG_3_ASC', - EventsAverageEventArg_3Desc = 'EVENTS_AVERAGE_EVENT_ARG_3_DESC', - EventsAverageEventIdxAsc = 'EVENTS_AVERAGE_EVENT_IDX_ASC', - EventsAverageEventIdxDesc = 'EVENTS_AVERAGE_EVENT_IDX_DESC', - EventsAverageEventIdAsc = 'EVENTS_AVERAGE_EVENT_ID_ASC', - EventsAverageEventIdDesc = 'EVENTS_AVERAGE_EVENT_ID_DESC', - EventsAverageExtrinsicIdxAsc = 'EVENTS_AVERAGE_EXTRINSIC_IDX_ASC', - EventsAverageExtrinsicIdxDesc = 'EVENTS_AVERAGE_EXTRINSIC_IDX_DESC', - EventsAverageExtrinsicIdAsc = 'EVENTS_AVERAGE_EXTRINSIC_ID_ASC', - EventsAverageExtrinsicIdDesc = 'EVENTS_AVERAGE_EXTRINSIC_ID_DESC', - EventsAverageFundraiserOfferingAssetAsc = 'EVENTS_AVERAGE_FUNDRAISER_OFFERING_ASSET_ASC', - EventsAverageFundraiserOfferingAssetDesc = 'EVENTS_AVERAGE_FUNDRAISER_OFFERING_ASSET_DESC', - EventsAverageIdAsc = 'EVENTS_AVERAGE_ID_ASC', - EventsAverageIdDesc = 'EVENTS_AVERAGE_ID_DESC', - EventsAverageModuleIdAsc = 'EVENTS_AVERAGE_MODULE_ID_ASC', - EventsAverageModuleIdDesc = 'EVENTS_AVERAGE_MODULE_ID_DESC', - EventsAverageSpecVersionIdAsc = 'EVENTS_AVERAGE_SPEC_VERSION_ID_ASC', - EventsAverageSpecVersionIdDesc = 'EVENTS_AVERAGE_SPEC_VERSION_ID_DESC', - EventsAverageTransferToAsc = 'EVENTS_AVERAGE_TRANSFER_TO_ASC', - EventsAverageTransferToDesc = 'EVENTS_AVERAGE_TRANSFER_TO_DESC', - EventsAverageUpdatedAtAsc = 'EVENTS_AVERAGE_UPDATED_AT_ASC', - EventsAverageUpdatedAtDesc = 'EVENTS_AVERAGE_UPDATED_AT_DESC', - EventsCountAsc = 'EVENTS_COUNT_ASC', - EventsCountDesc = 'EVENTS_COUNT_DESC', - EventsDistinctCountAttributesAsc = 'EVENTS_DISTINCT_COUNT_ATTRIBUTES_ASC', - EventsDistinctCountAttributesDesc = 'EVENTS_DISTINCT_COUNT_ATTRIBUTES_DESC', - EventsDistinctCountAttributesTxtAsc = 'EVENTS_DISTINCT_COUNT_ATTRIBUTES_TXT_ASC', - EventsDistinctCountAttributesTxtDesc = 'EVENTS_DISTINCT_COUNT_ATTRIBUTES_TXT_DESC', - EventsDistinctCountBlockIdAsc = 'EVENTS_DISTINCT_COUNT_BLOCK_ID_ASC', - EventsDistinctCountBlockIdDesc = 'EVENTS_DISTINCT_COUNT_BLOCK_ID_DESC', - EventsDistinctCountClaimExpiryAsc = 'EVENTS_DISTINCT_COUNT_CLAIM_EXPIRY_ASC', - EventsDistinctCountClaimExpiryDesc = 'EVENTS_DISTINCT_COUNT_CLAIM_EXPIRY_DESC', - EventsDistinctCountClaimIssuerAsc = 'EVENTS_DISTINCT_COUNT_CLAIM_ISSUER_ASC', - EventsDistinctCountClaimIssuerDesc = 'EVENTS_DISTINCT_COUNT_CLAIM_ISSUER_DESC', - EventsDistinctCountClaimScopeAsc = 'EVENTS_DISTINCT_COUNT_CLAIM_SCOPE_ASC', - EventsDistinctCountClaimScopeDesc = 'EVENTS_DISTINCT_COUNT_CLAIM_SCOPE_DESC', - EventsDistinctCountClaimTypeAsc = 'EVENTS_DISTINCT_COUNT_CLAIM_TYPE_ASC', - EventsDistinctCountClaimTypeDesc = 'EVENTS_DISTINCT_COUNT_CLAIM_TYPE_DESC', - EventsDistinctCountCorporateActionTickerAsc = 'EVENTS_DISTINCT_COUNT_CORPORATE_ACTION_TICKER_ASC', - EventsDistinctCountCorporateActionTickerDesc = 'EVENTS_DISTINCT_COUNT_CORPORATE_ACTION_TICKER_DESC', - EventsDistinctCountCreatedAtAsc = 'EVENTS_DISTINCT_COUNT_CREATED_AT_ASC', - EventsDistinctCountCreatedAtDesc = 'EVENTS_DISTINCT_COUNT_CREATED_AT_DESC', - EventsDistinctCountEventArg_0Asc = 'EVENTS_DISTINCT_COUNT_EVENT_ARG_0_ASC', - EventsDistinctCountEventArg_0Desc = 'EVENTS_DISTINCT_COUNT_EVENT_ARG_0_DESC', - EventsDistinctCountEventArg_1Asc = 'EVENTS_DISTINCT_COUNT_EVENT_ARG_1_ASC', - EventsDistinctCountEventArg_1Desc = 'EVENTS_DISTINCT_COUNT_EVENT_ARG_1_DESC', - EventsDistinctCountEventArg_2Asc = 'EVENTS_DISTINCT_COUNT_EVENT_ARG_2_ASC', - EventsDistinctCountEventArg_2Desc = 'EVENTS_DISTINCT_COUNT_EVENT_ARG_2_DESC', - EventsDistinctCountEventArg_3Asc = 'EVENTS_DISTINCT_COUNT_EVENT_ARG_3_ASC', - EventsDistinctCountEventArg_3Desc = 'EVENTS_DISTINCT_COUNT_EVENT_ARG_3_DESC', - EventsDistinctCountEventIdxAsc = 'EVENTS_DISTINCT_COUNT_EVENT_IDX_ASC', - EventsDistinctCountEventIdxDesc = 'EVENTS_DISTINCT_COUNT_EVENT_IDX_DESC', - EventsDistinctCountEventIdAsc = 'EVENTS_DISTINCT_COUNT_EVENT_ID_ASC', - EventsDistinctCountEventIdDesc = 'EVENTS_DISTINCT_COUNT_EVENT_ID_DESC', - EventsDistinctCountExtrinsicIdxAsc = 'EVENTS_DISTINCT_COUNT_EXTRINSIC_IDX_ASC', - EventsDistinctCountExtrinsicIdxDesc = 'EVENTS_DISTINCT_COUNT_EXTRINSIC_IDX_DESC', - EventsDistinctCountExtrinsicIdAsc = 'EVENTS_DISTINCT_COUNT_EXTRINSIC_ID_ASC', - EventsDistinctCountExtrinsicIdDesc = 'EVENTS_DISTINCT_COUNT_EXTRINSIC_ID_DESC', - EventsDistinctCountFundraiserOfferingAssetAsc = 'EVENTS_DISTINCT_COUNT_FUNDRAISER_OFFERING_ASSET_ASC', - EventsDistinctCountFundraiserOfferingAssetDesc = 'EVENTS_DISTINCT_COUNT_FUNDRAISER_OFFERING_ASSET_DESC', - EventsDistinctCountIdAsc = 'EVENTS_DISTINCT_COUNT_ID_ASC', - EventsDistinctCountIdDesc = 'EVENTS_DISTINCT_COUNT_ID_DESC', - EventsDistinctCountModuleIdAsc = 'EVENTS_DISTINCT_COUNT_MODULE_ID_ASC', - EventsDistinctCountModuleIdDesc = 'EVENTS_DISTINCT_COUNT_MODULE_ID_DESC', - EventsDistinctCountSpecVersionIdAsc = 'EVENTS_DISTINCT_COUNT_SPEC_VERSION_ID_ASC', - EventsDistinctCountSpecVersionIdDesc = 'EVENTS_DISTINCT_COUNT_SPEC_VERSION_ID_DESC', - EventsDistinctCountTransferToAsc = 'EVENTS_DISTINCT_COUNT_TRANSFER_TO_ASC', - EventsDistinctCountTransferToDesc = 'EVENTS_DISTINCT_COUNT_TRANSFER_TO_DESC', - EventsDistinctCountUpdatedAtAsc = 'EVENTS_DISTINCT_COUNT_UPDATED_AT_ASC', - EventsDistinctCountUpdatedAtDesc = 'EVENTS_DISTINCT_COUNT_UPDATED_AT_DESC', - EventsMaxAttributesAsc = 'EVENTS_MAX_ATTRIBUTES_ASC', - EventsMaxAttributesDesc = 'EVENTS_MAX_ATTRIBUTES_DESC', - EventsMaxAttributesTxtAsc = 'EVENTS_MAX_ATTRIBUTES_TXT_ASC', - EventsMaxAttributesTxtDesc = 'EVENTS_MAX_ATTRIBUTES_TXT_DESC', - EventsMaxBlockIdAsc = 'EVENTS_MAX_BLOCK_ID_ASC', - EventsMaxBlockIdDesc = 'EVENTS_MAX_BLOCK_ID_DESC', - EventsMaxClaimExpiryAsc = 'EVENTS_MAX_CLAIM_EXPIRY_ASC', - EventsMaxClaimExpiryDesc = 'EVENTS_MAX_CLAIM_EXPIRY_DESC', - EventsMaxClaimIssuerAsc = 'EVENTS_MAX_CLAIM_ISSUER_ASC', - EventsMaxClaimIssuerDesc = 'EVENTS_MAX_CLAIM_ISSUER_DESC', - EventsMaxClaimScopeAsc = 'EVENTS_MAX_CLAIM_SCOPE_ASC', - EventsMaxClaimScopeDesc = 'EVENTS_MAX_CLAIM_SCOPE_DESC', - EventsMaxClaimTypeAsc = 'EVENTS_MAX_CLAIM_TYPE_ASC', - EventsMaxClaimTypeDesc = 'EVENTS_MAX_CLAIM_TYPE_DESC', - EventsMaxCorporateActionTickerAsc = 'EVENTS_MAX_CORPORATE_ACTION_TICKER_ASC', - EventsMaxCorporateActionTickerDesc = 'EVENTS_MAX_CORPORATE_ACTION_TICKER_DESC', - EventsMaxCreatedAtAsc = 'EVENTS_MAX_CREATED_AT_ASC', - EventsMaxCreatedAtDesc = 'EVENTS_MAX_CREATED_AT_DESC', - EventsMaxEventArg_0Asc = 'EVENTS_MAX_EVENT_ARG_0_ASC', - EventsMaxEventArg_0Desc = 'EVENTS_MAX_EVENT_ARG_0_DESC', - EventsMaxEventArg_1Asc = 'EVENTS_MAX_EVENT_ARG_1_ASC', - EventsMaxEventArg_1Desc = 'EVENTS_MAX_EVENT_ARG_1_DESC', - EventsMaxEventArg_2Asc = 'EVENTS_MAX_EVENT_ARG_2_ASC', - EventsMaxEventArg_2Desc = 'EVENTS_MAX_EVENT_ARG_2_DESC', - EventsMaxEventArg_3Asc = 'EVENTS_MAX_EVENT_ARG_3_ASC', - EventsMaxEventArg_3Desc = 'EVENTS_MAX_EVENT_ARG_3_DESC', - EventsMaxEventIdxAsc = 'EVENTS_MAX_EVENT_IDX_ASC', - EventsMaxEventIdxDesc = 'EVENTS_MAX_EVENT_IDX_DESC', - EventsMaxEventIdAsc = 'EVENTS_MAX_EVENT_ID_ASC', - EventsMaxEventIdDesc = 'EVENTS_MAX_EVENT_ID_DESC', - EventsMaxExtrinsicIdxAsc = 'EVENTS_MAX_EXTRINSIC_IDX_ASC', - EventsMaxExtrinsicIdxDesc = 'EVENTS_MAX_EXTRINSIC_IDX_DESC', - EventsMaxExtrinsicIdAsc = 'EVENTS_MAX_EXTRINSIC_ID_ASC', - EventsMaxExtrinsicIdDesc = 'EVENTS_MAX_EXTRINSIC_ID_DESC', - EventsMaxFundraiserOfferingAssetAsc = 'EVENTS_MAX_FUNDRAISER_OFFERING_ASSET_ASC', - EventsMaxFundraiserOfferingAssetDesc = 'EVENTS_MAX_FUNDRAISER_OFFERING_ASSET_DESC', - EventsMaxIdAsc = 'EVENTS_MAX_ID_ASC', - EventsMaxIdDesc = 'EVENTS_MAX_ID_DESC', - EventsMaxModuleIdAsc = 'EVENTS_MAX_MODULE_ID_ASC', - EventsMaxModuleIdDesc = 'EVENTS_MAX_MODULE_ID_DESC', - EventsMaxSpecVersionIdAsc = 'EVENTS_MAX_SPEC_VERSION_ID_ASC', - EventsMaxSpecVersionIdDesc = 'EVENTS_MAX_SPEC_VERSION_ID_DESC', - EventsMaxTransferToAsc = 'EVENTS_MAX_TRANSFER_TO_ASC', - EventsMaxTransferToDesc = 'EVENTS_MAX_TRANSFER_TO_DESC', - EventsMaxUpdatedAtAsc = 'EVENTS_MAX_UPDATED_AT_ASC', - EventsMaxUpdatedAtDesc = 'EVENTS_MAX_UPDATED_AT_DESC', - EventsMinAttributesAsc = 'EVENTS_MIN_ATTRIBUTES_ASC', - EventsMinAttributesDesc = 'EVENTS_MIN_ATTRIBUTES_DESC', - EventsMinAttributesTxtAsc = 'EVENTS_MIN_ATTRIBUTES_TXT_ASC', - EventsMinAttributesTxtDesc = 'EVENTS_MIN_ATTRIBUTES_TXT_DESC', - EventsMinBlockIdAsc = 'EVENTS_MIN_BLOCK_ID_ASC', - EventsMinBlockIdDesc = 'EVENTS_MIN_BLOCK_ID_DESC', - EventsMinClaimExpiryAsc = 'EVENTS_MIN_CLAIM_EXPIRY_ASC', - EventsMinClaimExpiryDesc = 'EVENTS_MIN_CLAIM_EXPIRY_DESC', - EventsMinClaimIssuerAsc = 'EVENTS_MIN_CLAIM_ISSUER_ASC', - EventsMinClaimIssuerDesc = 'EVENTS_MIN_CLAIM_ISSUER_DESC', - EventsMinClaimScopeAsc = 'EVENTS_MIN_CLAIM_SCOPE_ASC', - EventsMinClaimScopeDesc = 'EVENTS_MIN_CLAIM_SCOPE_DESC', - EventsMinClaimTypeAsc = 'EVENTS_MIN_CLAIM_TYPE_ASC', - EventsMinClaimTypeDesc = 'EVENTS_MIN_CLAIM_TYPE_DESC', - EventsMinCorporateActionTickerAsc = 'EVENTS_MIN_CORPORATE_ACTION_TICKER_ASC', - EventsMinCorporateActionTickerDesc = 'EVENTS_MIN_CORPORATE_ACTION_TICKER_DESC', - EventsMinCreatedAtAsc = 'EVENTS_MIN_CREATED_AT_ASC', - EventsMinCreatedAtDesc = 'EVENTS_MIN_CREATED_AT_DESC', - EventsMinEventArg_0Asc = 'EVENTS_MIN_EVENT_ARG_0_ASC', - EventsMinEventArg_0Desc = 'EVENTS_MIN_EVENT_ARG_0_DESC', - EventsMinEventArg_1Asc = 'EVENTS_MIN_EVENT_ARG_1_ASC', - EventsMinEventArg_1Desc = 'EVENTS_MIN_EVENT_ARG_1_DESC', - EventsMinEventArg_2Asc = 'EVENTS_MIN_EVENT_ARG_2_ASC', - EventsMinEventArg_2Desc = 'EVENTS_MIN_EVENT_ARG_2_DESC', - EventsMinEventArg_3Asc = 'EVENTS_MIN_EVENT_ARG_3_ASC', - EventsMinEventArg_3Desc = 'EVENTS_MIN_EVENT_ARG_3_DESC', - EventsMinEventIdxAsc = 'EVENTS_MIN_EVENT_IDX_ASC', - EventsMinEventIdxDesc = 'EVENTS_MIN_EVENT_IDX_DESC', - EventsMinEventIdAsc = 'EVENTS_MIN_EVENT_ID_ASC', - EventsMinEventIdDesc = 'EVENTS_MIN_EVENT_ID_DESC', - EventsMinExtrinsicIdxAsc = 'EVENTS_MIN_EXTRINSIC_IDX_ASC', - EventsMinExtrinsicIdxDesc = 'EVENTS_MIN_EXTRINSIC_IDX_DESC', - EventsMinExtrinsicIdAsc = 'EVENTS_MIN_EXTRINSIC_ID_ASC', - EventsMinExtrinsicIdDesc = 'EVENTS_MIN_EXTRINSIC_ID_DESC', - EventsMinFundraiserOfferingAssetAsc = 'EVENTS_MIN_FUNDRAISER_OFFERING_ASSET_ASC', - EventsMinFundraiserOfferingAssetDesc = 'EVENTS_MIN_FUNDRAISER_OFFERING_ASSET_DESC', - EventsMinIdAsc = 'EVENTS_MIN_ID_ASC', - EventsMinIdDesc = 'EVENTS_MIN_ID_DESC', - EventsMinModuleIdAsc = 'EVENTS_MIN_MODULE_ID_ASC', - EventsMinModuleIdDesc = 'EVENTS_MIN_MODULE_ID_DESC', - EventsMinSpecVersionIdAsc = 'EVENTS_MIN_SPEC_VERSION_ID_ASC', - EventsMinSpecVersionIdDesc = 'EVENTS_MIN_SPEC_VERSION_ID_DESC', - EventsMinTransferToAsc = 'EVENTS_MIN_TRANSFER_TO_ASC', - EventsMinTransferToDesc = 'EVENTS_MIN_TRANSFER_TO_DESC', - EventsMinUpdatedAtAsc = 'EVENTS_MIN_UPDATED_AT_ASC', - EventsMinUpdatedAtDesc = 'EVENTS_MIN_UPDATED_AT_DESC', - EventsStddevPopulationAttributesAsc = 'EVENTS_STDDEV_POPULATION_ATTRIBUTES_ASC', - EventsStddevPopulationAttributesDesc = 'EVENTS_STDDEV_POPULATION_ATTRIBUTES_DESC', - EventsStddevPopulationAttributesTxtAsc = 'EVENTS_STDDEV_POPULATION_ATTRIBUTES_TXT_ASC', - EventsStddevPopulationAttributesTxtDesc = 'EVENTS_STDDEV_POPULATION_ATTRIBUTES_TXT_DESC', - EventsStddevPopulationBlockIdAsc = 'EVENTS_STDDEV_POPULATION_BLOCK_ID_ASC', - EventsStddevPopulationBlockIdDesc = 'EVENTS_STDDEV_POPULATION_BLOCK_ID_DESC', - EventsStddevPopulationClaimExpiryAsc = 'EVENTS_STDDEV_POPULATION_CLAIM_EXPIRY_ASC', - EventsStddevPopulationClaimExpiryDesc = 'EVENTS_STDDEV_POPULATION_CLAIM_EXPIRY_DESC', - EventsStddevPopulationClaimIssuerAsc = 'EVENTS_STDDEV_POPULATION_CLAIM_ISSUER_ASC', - EventsStddevPopulationClaimIssuerDesc = 'EVENTS_STDDEV_POPULATION_CLAIM_ISSUER_DESC', - EventsStddevPopulationClaimScopeAsc = 'EVENTS_STDDEV_POPULATION_CLAIM_SCOPE_ASC', - EventsStddevPopulationClaimScopeDesc = 'EVENTS_STDDEV_POPULATION_CLAIM_SCOPE_DESC', - EventsStddevPopulationClaimTypeAsc = 'EVENTS_STDDEV_POPULATION_CLAIM_TYPE_ASC', - EventsStddevPopulationClaimTypeDesc = 'EVENTS_STDDEV_POPULATION_CLAIM_TYPE_DESC', - EventsStddevPopulationCorporateActionTickerAsc = 'EVENTS_STDDEV_POPULATION_CORPORATE_ACTION_TICKER_ASC', - EventsStddevPopulationCorporateActionTickerDesc = 'EVENTS_STDDEV_POPULATION_CORPORATE_ACTION_TICKER_DESC', - EventsStddevPopulationCreatedAtAsc = 'EVENTS_STDDEV_POPULATION_CREATED_AT_ASC', - EventsStddevPopulationCreatedAtDesc = 'EVENTS_STDDEV_POPULATION_CREATED_AT_DESC', - EventsStddevPopulationEventArg_0Asc = 'EVENTS_STDDEV_POPULATION_EVENT_ARG_0_ASC', - EventsStddevPopulationEventArg_0Desc = 'EVENTS_STDDEV_POPULATION_EVENT_ARG_0_DESC', - EventsStddevPopulationEventArg_1Asc = 'EVENTS_STDDEV_POPULATION_EVENT_ARG_1_ASC', - EventsStddevPopulationEventArg_1Desc = 'EVENTS_STDDEV_POPULATION_EVENT_ARG_1_DESC', - EventsStddevPopulationEventArg_2Asc = 'EVENTS_STDDEV_POPULATION_EVENT_ARG_2_ASC', - EventsStddevPopulationEventArg_2Desc = 'EVENTS_STDDEV_POPULATION_EVENT_ARG_2_DESC', - EventsStddevPopulationEventArg_3Asc = 'EVENTS_STDDEV_POPULATION_EVENT_ARG_3_ASC', - EventsStddevPopulationEventArg_3Desc = 'EVENTS_STDDEV_POPULATION_EVENT_ARG_3_DESC', - EventsStddevPopulationEventIdxAsc = 'EVENTS_STDDEV_POPULATION_EVENT_IDX_ASC', - EventsStddevPopulationEventIdxDesc = 'EVENTS_STDDEV_POPULATION_EVENT_IDX_DESC', - EventsStddevPopulationEventIdAsc = 'EVENTS_STDDEV_POPULATION_EVENT_ID_ASC', - EventsStddevPopulationEventIdDesc = 'EVENTS_STDDEV_POPULATION_EVENT_ID_DESC', - EventsStddevPopulationExtrinsicIdxAsc = 'EVENTS_STDDEV_POPULATION_EXTRINSIC_IDX_ASC', - EventsStddevPopulationExtrinsicIdxDesc = 'EVENTS_STDDEV_POPULATION_EXTRINSIC_IDX_DESC', - EventsStddevPopulationExtrinsicIdAsc = 'EVENTS_STDDEV_POPULATION_EXTRINSIC_ID_ASC', - EventsStddevPopulationExtrinsicIdDesc = 'EVENTS_STDDEV_POPULATION_EXTRINSIC_ID_DESC', - EventsStddevPopulationFundraiserOfferingAssetAsc = 'EVENTS_STDDEV_POPULATION_FUNDRAISER_OFFERING_ASSET_ASC', - EventsStddevPopulationFundraiserOfferingAssetDesc = 'EVENTS_STDDEV_POPULATION_FUNDRAISER_OFFERING_ASSET_DESC', - EventsStddevPopulationIdAsc = 'EVENTS_STDDEV_POPULATION_ID_ASC', - EventsStddevPopulationIdDesc = 'EVENTS_STDDEV_POPULATION_ID_DESC', - EventsStddevPopulationModuleIdAsc = 'EVENTS_STDDEV_POPULATION_MODULE_ID_ASC', - EventsStddevPopulationModuleIdDesc = 'EVENTS_STDDEV_POPULATION_MODULE_ID_DESC', - EventsStddevPopulationSpecVersionIdAsc = 'EVENTS_STDDEV_POPULATION_SPEC_VERSION_ID_ASC', - EventsStddevPopulationSpecVersionIdDesc = 'EVENTS_STDDEV_POPULATION_SPEC_VERSION_ID_DESC', - EventsStddevPopulationTransferToAsc = 'EVENTS_STDDEV_POPULATION_TRANSFER_TO_ASC', - EventsStddevPopulationTransferToDesc = 'EVENTS_STDDEV_POPULATION_TRANSFER_TO_DESC', - EventsStddevPopulationUpdatedAtAsc = 'EVENTS_STDDEV_POPULATION_UPDATED_AT_ASC', - EventsStddevPopulationUpdatedAtDesc = 'EVENTS_STDDEV_POPULATION_UPDATED_AT_DESC', - EventsStddevSampleAttributesAsc = 'EVENTS_STDDEV_SAMPLE_ATTRIBUTES_ASC', - EventsStddevSampleAttributesDesc = 'EVENTS_STDDEV_SAMPLE_ATTRIBUTES_DESC', - EventsStddevSampleAttributesTxtAsc = 'EVENTS_STDDEV_SAMPLE_ATTRIBUTES_TXT_ASC', - EventsStddevSampleAttributesTxtDesc = 'EVENTS_STDDEV_SAMPLE_ATTRIBUTES_TXT_DESC', - EventsStddevSampleBlockIdAsc = 'EVENTS_STDDEV_SAMPLE_BLOCK_ID_ASC', - EventsStddevSampleBlockIdDesc = 'EVENTS_STDDEV_SAMPLE_BLOCK_ID_DESC', - EventsStddevSampleClaimExpiryAsc = 'EVENTS_STDDEV_SAMPLE_CLAIM_EXPIRY_ASC', - EventsStddevSampleClaimExpiryDesc = 'EVENTS_STDDEV_SAMPLE_CLAIM_EXPIRY_DESC', - EventsStddevSampleClaimIssuerAsc = 'EVENTS_STDDEV_SAMPLE_CLAIM_ISSUER_ASC', - EventsStddevSampleClaimIssuerDesc = 'EVENTS_STDDEV_SAMPLE_CLAIM_ISSUER_DESC', - EventsStddevSampleClaimScopeAsc = 'EVENTS_STDDEV_SAMPLE_CLAIM_SCOPE_ASC', - EventsStddevSampleClaimScopeDesc = 'EVENTS_STDDEV_SAMPLE_CLAIM_SCOPE_DESC', - EventsStddevSampleClaimTypeAsc = 'EVENTS_STDDEV_SAMPLE_CLAIM_TYPE_ASC', - EventsStddevSampleClaimTypeDesc = 'EVENTS_STDDEV_SAMPLE_CLAIM_TYPE_DESC', - EventsStddevSampleCorporateActionTickerAsc = 'EVENTS_STDDEV_SAMPLE_CORPORATE_ACTION_TICKER_ASC', - EventsStddevSampleCorporateActionTickerDesc = 'EVENTS_STDDEV_SAMPLE_CORPORATE_ACTION_TICKER_DESC', - EventsStddevSampleCreatedAtAsc = 'EVENTS_STDDEV_SAMPLE_CREATED_AT_ASC', - EventsStddevSampleCreatedAtDesc = 'EVENTS_STDDEV_SAMPLE_CREATED_AT_DESC', - EventsStddevSampleEventArg_0Asc = 'EVENTS_STDDEV_SAMPLE_EVENT_ARG_0_ASC', - EventsStddevSampleEventArg_0Desc = 'EVENTS_STDDEV_SAMPLE_EVENT_ARG_0_DESC', - EventsStddevSampleEventArg_1Asc = 'EVENTS_STDDEV_SAMPLE_EVENT_ARG_1_ASC', - EventsStddevSampleEventArg_1Desc = 'EVENTS_STDDEV_SAMPLE_EVENT_ARG_1_DESC', - EventsStddevSampleEventArg_2Asc = 'EVENTS_STDDEV_SAMPLE_EVENT_ARG_2_ASC', - EventsStddevSampleEventArg_2Desc = 'EVENTS_STDDEV_SAMPLE_EVENT_ARG_2_DESC', - EventsStddevSampleEventArg_3Asc = 'EVENTS_STDDEV_SAMPLE_EVENT_ARG_3_ASC', - EventsStddevSampleEventArg_3Desc = 'EVENTS_STDDEV_SAMPLE_EVENT_ARG_3_DESC', - EventsStddevSampleEventIdxAsc = 'EVENTS_STDDEV_SAMPLE_EVENT_IDX_ASC', - EventsStddevSampleEventIdxDesc = 'EVENTS_STDDEV_SAMPLE_EVENT_IDX_DESC', - EventsStddevSampleEventIdAsc = 'EVENTS_STDDEV_SAMPLE_EVENT_ID_ASC', - EventsStddevSampleEventIdDesc = 'EVENTS_STDDEV_SAMPLE_EVENT_ID_DESC', - EventsStddevSampleExtrinsicIdxAsc = 'EVENTS_STDDEV_SAMPLE_EXTRINSIC_IDX_ASC', - EventsStddevSampleExtrinsicIdxDesc = 'EVENTS_STDDEV_SAMPLE_EXTRINSIC_IDX_DESC', - EventsStddevSampleExtrinsicIdAsc = 'EVENTS_STDDEV_SAMPLE_EXTRINSIC_ID_ASC', - EventsStddevSampleExtrinsicIdDesc = 'EVENTS_STDDEV_SAMPLE_EXTRINSIC_ID_DESC', - EventsStddevSampleFundraiserOfferingAssetAsc = 'EVENTS_STDDEV_SAMPLE_FUNDRAISER_OFFERING_ASSET_ASC', - EventsStddevSampleFundraiserOfferingAssetDesc = 'EVENTS_STDDEV_SAMPLE_FUNDRAISER_OFFERING_ASSET_DESC', - EventsStddevSampleIdAsc = 'EVENTS_STDDEV_SAMPLE_ID_ASC', - EventsStddevSampleIdDesc = 'EVENTS_STDDEV_SAMPLE_ID_DESC', - EventsStddevSampleModuleIdAsc = 'EVENTS_STDDEV_SAMPLE_MODULE_ID_ASC', - EventsStddevSampleModuleIdDesc = 'EVENTS_STDDEV_SAMPLE_MODULE_ID_DESC', - EventsStddevSampleSpecVersionIdAsc = 'EVENTS_STDDEV_SAMPLE_SPEC_VERSION_ID_ASC', - EventsStddevSampleSpecVersionIdDesc = 'EVENTS_STDDEV_SAMPLE_SPEC_VERSION_ID_DESC', - EventsStddevSampleTransferToAsc = 'EVENTS_STDDEV_SAMPLE_TRANSFER_TO_ASC', - EventsStddevSampleTransferToDesc = 'EVENTS_STDDEV_SAMPLE_TRANSFER_TO_DESC', - EventsStddevSampleUpdatedAtAsc = 'EVENTS_STDDEV_SAMPLE_UPDATED_AT_ASC', - EventsStddevSampleUpdatedAtDesc = 'EVENTS_STDDEV_SAMPLE_UPDATED_AT_DESC', - EventsSumAttributesAsc = 'EVENTS_SUM_ATTRIBUTES_ASC', - EventsSumAttributesDesc = 'EVENTS_SUM_ATTRIBUTES_DESC', - EventsSumAttributesTxtAsc = 'EVENTS_SUM_ATTRIBUTES_TXT_ASC', - EventsSumAttributesTxtDesc = 'EVENTS_SUM_ATTRIBUTES_TXT_DESC', - EventsSumBlockIdAsc = 'EVENTS_SUM_BLOCK_ID_ASC', - EventsSumBlockIdDesc = 'EVENTS_SUM_BLOCK_ID_DESC', - EventsSumClaimExpiryAsc = 'EVENTS_SUM_CLAIM_EXPIRY_ASC', - EventsSumClaimExpiryDesc = 'EVENTS_SUM_CLAIM_EXPIRY_DESC', - EventsSumClaimIssuerAsc = 'EVENTS_SUM_CLAIM_ISSUER_ASC', - EventsSumClaimIssuerDesc = 'EVENTS_SUM_CLAIM_ISSUER_DESC', - EventsSumClaimScopeAsc = 'EVENTS_SUM_CLAIM_SCOPE_ASC', - EventsSumClaimScopeDesc = 'EVENTS_SUM_CLAIM_SCOPE_DESC', - EventsSumClaimTypeAsc = 'EVENTS_SUM_CLAIM_TYPE_ASC', - EventsSumClaimTypeDesc = 'EVENTS_SUM_CLAIM_TYPE_DESC', - EventsSumCorporateActionTickerAsc = 'EVENTS_SUM_CORPORATE_ACTION_TICKER_ASC', - EventsSumCorporateActionTickerDesc = 'EVENTS_SUM_CORPORATE_ACTION_TICKER_DESC', - EventsSumCreatedAtAsc = 'EVENTS_SUM_CREATED_AT_ASC', - EventsSumCreatedAtDesc = 'EVENTS_SUM_CREATED_AT_DESC', - EventsSumEventArg_0Asc = 'EVENTS_SUM_EVENT_ARG_0_ASC', - EventsSumEventArg_0Desc = 'EVENTS_SUM_EVENT_ARG_0_DESC', - EventsSumEventArg_1Asc = 'EVENTS_SUM_EVENT_ARG_1_ASC', - EventsSumEventArg_1Desc = 'EVENTS_SUM_EVENT_ARG_1_DESC', - EventsSumEventArg_2Asc = 'EVENTS_SUM_EVENT_ARG_2_ASC', - EventsSumEventArg_2Desc = 'EVENTS_SUM_EVENT_ARG_2_DESC', - EventsSumEventArg_3Asc = 'EVENTS_SUM_EVENT_ARG_3_ASC', - EventsSumEventArg_3Desc = 'EVENTS_SUM_EVENT_ARG_3_DESC', - EventsSumEventIdxAsc = 'EVENTS_SUM_EVENT_IDX_ASC', - EventsSumEventIdxDesc = 'EVENTS_SUM_EVENT_IDX_DESC', - EventsSumEventIdAsc = 'EVENTS_SUM_EVENT_ID_ASC', - EventsSumEventIdDesc = 'EVENTS_SUM_EVENT_ID_DESC', - EventsSumExtrinsicIdxAsc = 'EVENTS_SUM_EXTRINSIC_IDX_ASC', - EventsSumExtrinsicIdxDesc = 'EVENTS_SUM_EXTRINSIC_IDX_DESC', - EventsSumExtrinsicIdAsc = 'EVENTS_SUM_EXTRINSIC_ID_ASC', - EventsSumExtrinsicIdDesc = 'EVENTS_SUM_EXTRINSIC_ID_DESC', - EventsSumFundraiserOfferingAssetAsc = 'EVENTS_SUM_FUNDRAISER_OFFERING_ASSET_ASC', - EventsSumFundraiserOfferingAssetDesc = 'EVENTS_SUM_FUNDRAISER_OFFERING_ASSET_DESC', - EventsSumIdAsc = 'EVENTS_SUM_ID_ASC', - EventsSumIdDesc = 'EVENTS_SUM_ID_DESC', - EventsSumModuleIdAsc = 'EVENTS_SUM_MODULE_ID_ASC', - EventsSumModuleIdDesc = 'EVENTS_SUM_MODULE_ID_DESC', - EventsSumSpecVersionIdAsc = 'EVENTS_SUM_SPEC_VERSION_ID_ASC', - EventsSumSpecVersionIdDesc = 'EVENTS_SUM_SPEC_VERSION_ID_DESC', - EventsSumTransferToAsc = 'EVENTS_SUM_TRANSFER_TO_ASC', - EventsSumTransferToDesc = 'EVENTS_SUM_TRANSFER_TO_DESC', - EventsSumUpdatedAtAsc = 'EVENTS_SUM_UPDATED_AT_ASC', - EventsSumUpdatedAtDesc = 'EVENTS_SUM_UPDATED_AT_DESC', - EventsVariancePopulationAttributesAsc = 'EVENTS_VARIANCE_POPULATION_ATTRIBUTES_ASC', - EventsVariancePopulationAttributesDesc = 'EVENTS_VARIANCE_POPULATION_ATTRIBUTES_DESC', - EventsVariancePopulationAttributesTxtAsc = 'EVENTS_VARIANCE_POPULATION_ATTRIBUTES_TXT_ASC', - EventsVariancePopulationAttributesTxtDesc = 'EVENTS_VARIANCE_POPULATION_ATTRIBUTES_TXT_DESC', - EventsVariancePopulationBlockIdAsc = 'EVENTS_VARIANCE_POPULATION_BLOCK_ID_ASC', - EventsVariancePopulationBlockIdDesc = 'EVENTS_VARIANCE_POPULATION_BLOCK_ID_DESC', - EventsVariancePopulationClaimExpiryAsc = 'EVENTS_VARIANCE_POPULATION_CLAIM_EXPIRY_ASC', - EventsVariancePopulationClaimExpiryDesc = 'EVENTS_VARIANCE_POPULATION_CLAIM_EXPIRY_DESC', - EventsVariancePopulationClaimIssuerAsc = 'EVENTS_VARIANCE_POPULATION_CLAIM_ISSUER_ASC', - EventsVariancePopulationClaimIssuerDesc = 'EVENTS_VARIANCE_POPULATION_CLAIM_ISSUER_DESC', - EventsVariancePopulationClaimScopeAsc = 'EVENTS_VARIANCE_POPULATION_CLAIM_SCOPE_ASC', - EventsVariancePopulationClaimScopeDesc = 'EVENTS_VARIANCE_POPULATION_CLAIM_SCOPE_DESC', - EventsVariancePopulationClaimTypeAsc = 'EVENTS_VARIANCE_POPULATION_CLAIM_TYPE_ASC', - EventsVariancePopulationClaimTypeDesc = 'EVENTS_VARIANCE_POPULATION_CLAIM_TYPE_DESC', - EventsVariancePopulationCorporateActionTickerAsc = 'EVENTS_VARIANCE_POPULATION_CORPORATE_ACTION_TICKER_ASC', - EventsVariancePopulationCorporateActionTickerDesc = 'EVENTS_VARIANCE_POPULATION_CORPORATE_ACTION_TICKER_DESC', - EventsVariancePopulationCreatedAtAsc = 'EVENTS_VARIANCE_POPULATION_CREATED_AT_ASC', - EventsVariancePopulationCreatedAtDesc = 'EVENTS_VARIANCE_POPULATION_CREATED_AT_DESC', - EventsVariancePopulationEventArg_0Asc = 'EVENTS_VARIANCE_POPULATION_EVENT_ARG_0_ASC', - EventsVariancePopulationEventArg_0Desc = 'EVENTS_VARIANCE_POPULATION_EVENT_ARG_0_DESC', - EventsVariancePopulationEventArg_1Asc = 'EVENTS_VARIANCE_POPULATION_EVENT_ARG_1_ASC', - EventsVariancePopulationEventArg_1Desc = 'EVENTS_VARIANCE_POPULATION_EVENT_ARG_1_DESC', - EventsVariancePopulationEventArg_2Asc = 'EVENTS_VARIANCE_POPULATION_EVENT_ARG_2_ASC', - EventsVariancePopulationEventArg_2Desc = 'EVENTS_VARIANCE_POPULATION_EVENT_ARG_2_DESC', - EventsVariancePopulationEventArg_3Asc = 'EVENTS_VARIANCE_POPULATION_EVENT_ARG_3_ASC', - EventsVariancePopulationEventArg_3Desc = 'EVENTS_VARIANCE_POPULATION_EVENT_ARG_3_DESC', - EventsVariancePopulationEventIdxAsc = 'EVENTS_VARIANCE_POPULATION_EVENT_IDX_ASC', - EventsVariancePopulationEventIdxDesc = 'EVENTS_VARIANCE_POPULATION_EVENT_IDX_DESC', - EventsVariancePopulationEventIdAsc = 'EVENTS_VARIANCE_POPULATION_EVENT_ID_ASC', - EventsVariancePopulationEventIdDesc = 'EVENTS_VARIANCE_POPULATION_EVENT_ID_DESC', - EventsVariancePopulationExtrinsicIdxAsc = 'EVENTS_VARIANCE_POPULATION_EXTRINSIC_IDX_ASC', - EventsVariancePopulationExtrinsicIdxDesc = 'EVENTS_VARIANCE_POPULATION_EXTRINSIC_IDX_DESC', - EventsVariancePopulationExtrinsicIdAsc = 'EVENTS_VARIANCE_POPULATION_EXTRINSIC_ID_ASC', - EventsVariancePopulationExtrinsicIdDesc = 'EVENTS_VARIANCE_POPULATION_EXTRINSIC_ID_DESC', - EventsVariancePopulationFundraiserOfferingAssetAsc = 'EVENTS_VARIANCE_POPULATION_FUNDRAISER_OFFERING_ASSET_ASC', - EventsVariancePopulationFundraiserOfferingAssetDesc = 'EVENTS_VARIANCE_POPULATION_FUNDRAISER_OFFERING_ASSET_DESC', - EventsVariancePopulationIdAsc = 'EVENTS_VARIANCE_POPULATION_ID_ASC', - EventsVariancePopulationIdDesc = 'EVENTS_VARIANCE_POPULATION_ID_DESC', - EventsVariancePopulationModuleIdAsc = 'EVENTS_VARIANCE_POPULATION_MODULE_ID_ASC', - EventsVariancePopulationModuleIdDesc = 'EVENTS_VARIANCE_POPULATION_MODULE_ID_DESC', - EventsVariancePopulationSpecVersionIdAsc = 'EVENTS_VARIANCE_POPULATION_SPEC_VERSION_ID_ASC', - EventsVariancePopulationSpecVersionIdDesc = 'EVENTS_VARIANCE_POPULATION_SPEC_VERSION_ID_DESC', - EventsVariancePopulationTransferToAsc = 'EVENTS_VARIANCE_POPULATION_TRANSFER_TO_ASC', - EventsVariancePopulationTransferToDesc = 'EVENTS_VARIANCE_POPULATION_TRANSFER_TO_DESC', - EventsVariancePopulationUpdatedAtAsc = 'EVENTS_VARIANCE_POPULATION_UPDATED_AT_ASC', - EventsVariancePopulationUpdatedAtDesc = 'EVENTS_VARIANCE_POPULATION_UPDATED_AT_DESC', - EventsVarianceSampleAttributesAsc = 'EVENTS_VARIANCE_SAMPLE_ATTRIBUTES_ASC', - EventsVarianceSampleAttributesDesc = 'EVENTS_VARIANCE_SAMPLE_ATTRIBUTES_DESC', - EventsVarianceSampleAttributesTxtAsc = 'EVENTS_VARIANCE_SAMPLE_ATTRIBUTES_TXT_ASC', - EventsVarianceSampleAttributesTxtDesc = 'EVENTS_VARIANCE_SAMPLE_ATTRIBUTES_TXT_DESC', - EventsVarianceSampleBlockIdAsc = 'EVENTS_VARIANCE_SAMPLE_BLOCK_ID_ASC', - EventsVarianceSampleBlockIdDesc = 'EVENTS_VARIANCE_SAMPLE_BLOCK_ID_DESC', - EventsVarianceSampleClaimExpiryAsc = 'EVENTS_VARIANCE_SAMPLE_CLAIM_EXPIRY_ASC', - EventsVarianceSampleClaimExpiryDesc = 'EVENTS_VARIANCE_SAMPLE_CLAIM_EXPIRY_DESC', - EventsVarianceSampleClaimIssuerAsc = 'EVENTS_VARIANCE_SAMPLE_CLAIM_ISSUER_ASC', - EventsVarianceSampleClaimIssuerDesc = 'EVENTS_VARIANCE_SAMPLE_CLAIM_ISSUER_DESC', - EventsVarianceSampleClaimScopeAsc = 'EVENTS_VARIANCE_SAMPLE_CLAIM_SCOPE_ASC', - EventsVarianceSampleClaimScopeDesc = 'EVENTS_VARIANCE_SAMPLE_CLAIM_SCOPE_DESC', - EventsVarianceSampleClaimTypeAsc = 'EVENTS_VARIANCE_SAMPLE_CLAIM_TYPE_ASC', - EventsVarianceSampleClaimTypeDesc = 'EVENTS_VARIANCE_SAMPLE_CLAIM_TYPE_DESC', - EventsVarianceSampleCorporateActionTickerAsc = 'EVENTS_VARIANCE_SAMPLE_CORPORATE_ACTION_TICKER_ASC', - EventsVarianceSampleCorporateActionTickerDesc = 'EVENTS_VARIANCE_SAMPLE_CORPORATE_ACTION_TICKER_DESC', - EventsVarianceSampleCreatedAtAsc = 'EVENTS_VARIANCE_SAMPLE_CREATED_AT_ASC', - EventsVarianceSampleCreatedAtDesc = 'EVENTS_VARIANCE_SAMPLE_CREATED_AT_DESC', - EventsVarianceSampleEventArg_0Asc = 'EVENTS_VARIANCE_SAMPLE_EVENT_ARG_0_ASC', - EventsVarianceSampleEventArg_0Desc = 'EVENTS_VARIANCE_SAMPLE_EVENT_ARG_0_DESC', - EventsVarianceSampleEventArg_1Asc = 'EVENTS_VARIANCE_SAMPLE_EVENT_ARG_1_ASC', - EventsVarianceSampleEventArg_1Desc = 'EVENTS_VARIANCE_SAMPLE_EVENT_ARG_1_DESC', - EventsVarianceSampleEventArg_2Asc = 'EVENTS_VARIANCE_SAMPLE_EVENT_ARG_2_ASC', - EventsVarianceSampleEventArg_2Desc = 'EVENTS_VARIANCE_SAMPLE_EVENT_ARG_2_DESC', - EventsVarianceSampleEventArg_3Asc = 'EVENTS_VARIANCE_SAMPLE_EVENT_ARG_3_ASC', - EventsVarianceSampleEventArg_3Desc = 'EVENTS_VARIANCE_SAMPLE_EVENT_ARG_3_DESC', - EventsVarianceSampleEventIdxAsc = 'EVENTS_VARIANCE_SAMPLE_EVENT_IDX_ASC', - EventsVarianceSampleEventIdxDesc = 'EVENTS_VARIANCE_SAMPLE_EVENT_IDX_DESC', - EventsVarianceSampleEventIdAsc = 'EVENTS_VARIANCE_SAMPLE_EVENT_ID_ASC', - EventsVarianceSampleEventIdDesc = 'EVENTS_VARIANCE_SAMPLE_EVENT_ID_DESC', - EventsVarianceSampleExtrinsicIdxAsc = 'EVENTS_VARIANCE_SAMPLE_EXTRINSIC_IDX_ASC', - EventsVarianceSampleExtrinsicIdxDesc = 'EVENTS_VARIANCE_SAMPLE_EXTRINSIC_IDX_DESC', - EventsVarianceSampleExtrinsicIdAsc = 'EVENTS_VARIANCE_SAMPLE_EXTRINSIC_ID_ASC', - EventsVarianceSampleExtrinsicIdDesc = 'EVENTS_VARIANCE_SAMPLE_EXTRINSIC_ID_DESC', - EventsVarianceSampleFundraiserOfferingAssetAsc = 'EVENTS_VARIANCE_SAMPLE_FUNDRAISER_OFFERING_ASSET_ASC', - EventsVarianceSampleFundraiserOfferingAssetDesc = 'EVENTS_VARIANCE_SAMPLE_FUNDRAISER_OFFERING_ASSET_DESC', - EventsVarianceSampleIdAsc = 'EVENTS_VARIANCE_SAMPLE_ID_ASC', - EventsVarianceSampleIdDesc = 'EVENTS_VARIANCE_SAMPLE_ID_DESC', - EventsVarianceSampleModuleIdAsc = 'EVENTS_VARIANCE_SAMPLE_MODULE_ID_ASC', - EventsVarianceSampleModuleIdDesc = 'EVENTS_VARIANCE_SAMPLE_MODULE_ID_DESC', - EventsVarianceSampleSpecVersionIdAsc = 'EVENTS_VARIANCE_SAMPLE_SPEC_VERSION_ID_ASC', - EventsVarianceSampleSpecVersionIdDesc = 'EVENTS_VARIANCE_SAMPLE_SPEC_VERSION_ID_DESC', - EventsVarianceSampleTransferToAsc = 'EVENTS_VARIANCE_SAMPLE_TRANSFER_TO_ASC', - EventsVarianceSampleTransferToDesc = 'EVENTS_VARIANCE_SAMPLE_TRANSFER_TO_DESC', - EventsVarianceSampleUpdatedAtAsc = 'EVENTS_VARIANCE_SAMPLE_UPDATED_AT_ASC', - EventsVarianceSampleUpdatedAtDesc = 'EVENTS_VARIANCE_SAMPLE_UPDATED_AT_DESC', - ExtrinsicsAverageAddressAsc = 'EXTRINSICS_AVERAGE_ADDRESS_ASC', - ExtrinsicsAverageAddressDesc = 'EXTRINSICS_AVERAGE_ADDRESS_DESC', - ExtrinsicsAverageBlockIdAsc = 'EXTRINSICS_AVERAGE_BLOCK_ID_ASC', - ExtrinsicsAverageBlockIdDesc = 'EXTRINSICS_AVERAGE_BLOCK_ID_DESC', - ExtrinsicsAverageCallIdAsc = 'EXTRINSICS_AVERAGE_CALL_ID_ASC', - ExtrinsicsAverageCallIdDesc = 'EXTRINSICS_AVERAGE_CALL_ID_DESC', - ExtrinsicsAverageCreatedAtAsc = 'EXTRINSICS_AVERAGE_CREATED_AT_ASC', - ExtrinsicsAverageCreatedAtDesc = 'EXTRINSICS_AVERAGE_CREATED_AT_DESC', - ExtrinsicsAverageExtrinsicHashAsc = 'EXTRINSICS_AVERAGE_EXTRINSIC_HASH_ASC', - ExtrinsicsAverageExtrinsicHashDesc = 'EXTRINSICS_AVERAGE_EXTRINSIC_HASH_DESC', - ExtrinsicsAverageExtrinsicIdxAsc = 'EXTRINSICS_AVERAGE_EXTRINSIC_IDX_ASC', - ExtrinsicsAverageExtrinsicIdxDesc = 'EXTRINSICS_AVERAGE_EXTRINSIC_IDX_DESC', - ExtrinsicsAverageExtrinsicLengthAsc = 'EXTRINSICS_AVERAGE_EXTRINSIC_LENGTH_ASC', - ExtrinsicsAverageExtrinsicLengthDesc = 'EXTRINSICS_AVERAGE_EXTRINSIC_LENGTH_DESC', - ExtrinsicsAverageIdAsc = 'EXTRINSICS_AVERAGE_ID_ASC', - ExtrinsicsAverageIdDesc = 'EXTRINSICS_AVERAGE_ID_DESC', - ExtrinsicsAverageModuleIdAsc = 'EXTRINSICS_AVERAGE_MODULE_ID_ASC', - ExtrinsicsAverageModuleIdDesc = 'EXTRINSICS_AVERAGE_MODULE_ID_DESC', - ExtrinsicsAverageNonceAsc = 'EXTRINSICS_AVERAGE_NONCE_ASC', - ExtrinsicsAverageNonceDesc = 'EXTRINSICS_AVERAGE_NONCE_DESC', - ExtrinsicsAverageParamsAsc = 'EXTRINSICS_AVERAGE_PARAMS_ASC', - ExtrinsicsAverageParamsDesc = 'EXTRINSICS_AVERAGE_PARAMS_DESC', - ExtrinsicsAverageParamsTxtAsc = 'EXTRINSICS_AVERAGE_PARAMS_TXT_ASC', - ExtrinsicsAverageParamsTxtDesc = 'EXTRINSICS_AVERAGE_PARAMS_TXT_DESC', - ExtrinsicsAverageSignedbyAddressAsc = 'EXTRINSICS_AVERAGE_SIGNEDBY_ADDRESS_ASC', - ExtrinsicsAverageSignedbyAddressDesc = 'EXTRINSICS_AVERAGE_SIGNEDBY_ADDRESS_DESC', - ExtrinsicsAverageSignedAsc = 'EXTRINSICS_AVERAGE_SIGNED_ASC', - ExtrinsicsAverageSignedDesc = 'EXTRINSICS_AVERAGE_SIGNED_DESC', - ExtrinsicsAverageSpecVersionIdAsc = 'EXTRINSICS_AVERAGE_SPEC_VERSION_ID_ASC', - ExtrinsicsAverageSpecVersionIdDesc = 'EXTRINSICS_AVERAGE_SPEC_VERSION_ID_DESC', - ExtrinsicsAverageSuccessAsc = 'EXTRINSICS_AVERAGE_SUCCESS_ASC', - ExtrinsicsAverageSuccessDesc = 'EXTRINSICS_AVERAGE_SUCCESS_DESC', - ExtrinsicsAverageUpdatedAtAsc = 'EXTRINSICS_AVERAGE_UPDATED_AT_ASC', - ExtrinsicsAverageUpdatedAtDesc = 'EXTRINSICS_AVERAGE_UPDATED_AT_DESC', - ExtrinsicsCountAsc = 'EXTRINSICS_COUNT_ASC', - ExtrinsicsCountDesc = 'EXTRINSICS_COUNT_DESC', - ExtrinsicsDistinctCountAddressAsc = 'EXTRINSICS_DISTINCT_COUNT_ADDRESS_ASC', - ExtrinsicsDistinctCountAddressDesc = 'EXTRINSICS_DISTINCT_COUNT_ADDRESS_DESC', - ExtrinsicsDistinctCountBlockIdAsc = 'EXTRINSICS_DISTINCT_COUNT_BLOCK_ID_ASC', - ExtrinsicsDistinctCountBlockIdDesc = 'EXTRINSICS_DISTINCT_COUNT_BLOCK_ID_DESC', - ExtrinsicsDistinctCountCallIdAsc = 'EXTRINSICS_DISTINCT_COUNT_CALL_ID_ASC', - ExtrinsicsDistinctCountCallIdDesc = 'EXTRINSICS_DISTINCT_COUNT_CALL_ID_DESC', - ExtrinsicsDistinctCountCreatedAtAsc = 'EXTRINSICS_DISTINCT_COUNT_CREATED_AT_ASC', - ExtrinsicsDistinctCountCreatedAtDesc = 'EXTRINSICS_DISTINCT_COUNT_CREATED_AT_DESC', - ExtrinsicsDistinctCountExtrinsicHashAsc = 'EXTRINSICS_DISTINCT_COUNT_EXTRINSIC_HASH_ASC', - ExtrinsicsDistinctCountExtrinsicHashDesc = 'EXTRINSICS_DISTINCT_COUNT_EXTRINSIC_HASH_DESC', - ExtrinsicsDistinctCountExtrinsicIdxAsc = 'EXTRINSICS_DISTINCT_COUNT_EXTRINSIC_IDX_ASC', - ExtrinsicsDistinctCountExtrinsicIdxDesc = 'EXTRINSICS_DISTINCT_COUNT_EXTRINSIC_IDX_DESC', - ExtrinsicsDistinctCountExtrinsicLengthAsc = 'EXTRINSICS_DISTINCT_COUNT_EXTRINSIC_LENGTH_ASC', - ExtrinsicsDistinctCountExtrinsicLengthDesc = 'EXTRINSICS_DISTINCT_COUNT_EXTRINSIC_LENGTH_DESC', - ExtrinsicsDistinctCountIdAsc = 'EXTRINSICS_DISTINCT_COUNT_ID_ASC', - ExtrinsicsDistinctCountIdDesc = 'EXTRINSICS_DISTINCT_COUNT_ID_DESC', - ExtrinsicsDistinctCountModuleIdAsc = 'EXTRINSICS_DISTINCT_COUNT_MODULE_ID_ASC', - ExtrinsicsDistinctCountModuleIdDesc = 'EXTRINSICS_DISTINCT_COUNT_MODULE_ID_DESC', - ExtrinsicsDistinctCountNonceAsc = 'EXTRINSICS_DISTINCT_COUNT_NONCE_ASC', - ExtrinsicsDistinctCountNonceDesc = 'EXTRINSICS_DISTINCT_COUNT_NONCE_DESC', - ExtrinsicsDistinctCountParamsAsc = 'EXTRINSICS_DISTINCT_COUNT_PARAMS_ASC', - ExtrinsicsDistinctCountParamsDesc = 'EXTRINSICS_DISTINCT_COUNT_PARAMS_DESC', - ExtrinsicsDistinctCountParamsTxtAsc = 'EXTRINSICS_DISTINCT_COUNT_PARAMS_TXT_ASC', - ExtrinsicsDistinctCountParamsTxtDesc = 'EXTRINSICS_DISTINCT_COUNT_PARAMS_TXT_DESC', - ExtrinsicsDistinctCountSignedbyAddressAsc = 'EXTRINSICS_DISTINCT_COUNT_SIGNEDBY_ADDRESS_ASC', - ExtrinsicsDistinctCountSignedbyAddressDesc = 'EXTRINSICS_DISTINCT_COUNT_SIGNEDBY_ADDRESS_DESC', - ExtrinsicsDistinctCountSignedAsc = 'EXTRINSICS_DISTINCT_COUNT_SIGNED_ASC', - ExtrinsicsDistinctCountSignedDesc = 'EXTRINSICS_DISTINCT_COUNT_SIGNED_DESC', - ExtrinsicsDistinctCountSpecVersionIdAsc = 'EXTRINSICS_DISTINCT_COUNT_SPEC_VERSION_ID_ASC', - ExtrinsicsDistinctCountSpecVersionIdDesc = 'EXTRINSICS_DISTINCT_COUNT_SPEC_VERSION_ID_DESC', - ExtrinsicsDistinctCountSuccessAsc = 'EXTRINSICS_DISTINCT_COUNT_SUCCESS_ASC', - ExtrinsicsDistinctCountSuccessDesc = 'EXTRINSICS_DISTINCT_COUNT_SUCCESS_DESC', - ExtrinsicsDistinctCountUpdatedAtAsc = 'EXTRINSICS_DISTINCT_COUNT_UPDATED_AT_ASC', - ExtrinsicsDistinctCountUpdatedAtDesc = 'EXTRINSICS_DISTINCT_COUNT_UPDATED_AT_DESC', - ExtrinsicsMaxAddressAsc = 'EXTRINSICS_MAX_ADDRESS_ASC', - ExtrinsicsMaxAddressDesc = 'EXTRINSICS_MAX_ADDRESS_DESC', - ExtrinsicsMaxBlockIdAsc = 'EXTRINSICS_MAX_BLOCK_ID_ASC', - ExtrinsicsMaxBlockIdDesc = 'EXTRINSICS_MAX_BLOCK_ID_DESC', - ExtrinsicsMaxCallIdAsc = 'EXTRINSICS_MAX_CALL_ID_ASC', - ExtrinsicsMaxCallIdDesc = 'EXTRINSICS_MAX_CALL_ID_DESC', - ExtrinsicsMaxCreatedAtAsc = 'EXTRINSICS_MAX_CREATED_AT_ASC', - ExtrinsicsMaxCreatedAtDesc = 'EXTRINSICS_MAX_CREATED_AT_DESC', - ExtrinsicsMaxExtrinsicHashAsc = 'EXTRINSICS_MAX_EXTRINSIC_HASH_ASC', - ExtrinsicsMaxExtrinsicHashDesc = 'EXTRINSICS_MAX_EXTRINSIC_HASH_DESC', - ExtrinsicsMaxExtrinsicIdxAsc = 'EXTRINSICS_MAX_EXTRINSIC_IDX_ASC', - ExtrinsicsMaxExtrinsicIdxDesc = 'EXTRINSICS_MAX_EXTRINSIC_IDX_DESC', - ExtrinsicsMaxExtrinsicLengthAsc = 'EXTRINSICS_MAX_EXTRINSIC_LENGTH_ASC', - ExtrinsicsMaxExtrinsicLengthDesc = 'EXTRINSICS_MAX_EXTRINSIC_LENGTH_DESC', - ExtrinsicsMaxIdAsc = 'EXTRINSICS_MAX_ID_ASC', - ExtrinsicsMaxIdDesc = 'EXTRINSICS_MAX_ID_DESC', - ExtrinsicsMaxModuleIdAsc = 'EXTRINSICS_MAX_MODULE_ID_ASC', - ExtrinsicsMaxModuleIdDesc = 'EXTRINSICS_MAX_MODULE_ID_DESC', - ExtrinsicsMaxNonceAsc = 'EXTRINSICS_MAX_NONCE_ASC', - ExtrinsicsMaxNonceDesc = 'EXTRINSICS_MAX_NONCE_DESC', - ExtrinsicsMaxParamsAsc = 'EXTRINSICS_MAX_PARAMS_ASC', - ExtrinsicsMaxParamsDesc = 'EXTRINSICS_MAX_PARAMS_DESC', - ExtrinsicsMaxParamsTxtAsc = 'EXTRINSICS_MAX_PARAMS_TXT_ASC', - ExtrinsicsMaxParamsTxtDesc = 'EXTRINSICS_MAX_PARAMS_TXT_DESC', - ExtrinsicsMaxSignedbyAddressAsc = 'EXTRINSICS_MAX_SIGNEDBY_ADDRESS_ASC', - ExtrinsicsMaxSignedbyAddressDesc = 'EXTRINSICS_MAX_SIGNEDBY_ADDRESS_DESC', - ExtrinsicsMaxSignedAsc = 'EXTRINSICS_MAX_SIGNED_ASC', - ExtrinsicsMaxSignedDesc = 'EXTRINSICS_MAX_SIGNED_DESC', - ExtrinsicsMaxSpecVersionIdAsc = 'EXTRINSICS_MAX_SPEC_VERSION_ID_ASC', - ExtrinsicsMaxSpecVersionIdDesc = 'EXTRINSICS_MAX_SPEC_VERSION_ID_DESC', - ExtrinsicsMaxSuccessAsc = 'EXTRINSICS_MAX_SUCCESS_ASC', - ExtrinsicsMaxSuccessDesc = 'EXTRINSICS_MAX_SUCCESS_DESC', - ExtrinsicsMaxUpdatedAtAsc = 'EXTRINSICS_MAX_UPDATED_AT_ASC', - ExtrinsicsMaxUpdatedAtDesc = 'EXTRINSICS_MAX_UPDATED_AT_DESC', - ExtrinsicsMinAddressAsc = 'EXTRINSICS_MIN_ADDRESS_ASC', - ExtrinsicsMinAddressDesc = 'EXTRINSICS_MIN_ADDRESS_DESC', - ExtrinsicsMinBlockIdAsc = 'EXTRINSICS_MIN_BLOCK_ID_ASC', - ExtrinsicsMinBlockIdDesc = 'EXTRINSICS_MIN_BLOCK_ID_DESC', - ExtrinsicsMinCallIdAsc = 'EXTRINSICS_MIN_CALL_ID_ASC', - ExtrinsicsMinCallIdDesc = 'EXTRINSICS_MIN_CALL_ID_DESC', - ExtrinsicsMinCreatedAtAsc = 'EXTRINSICS_MIN_CREATED_AT_ASC', - ExtrinsicsMinCreatedAtDesc = 'EXTRINSICS_MIN_CREATED_AT_DESC', - ExtrinsicsMinExtrinsicHashAsc = 'EXTRINSICS_MIN_EXTRINSIC_HASH_ASC', - ExtrinsicsMinExtrinsicHashDesc = 'EXTRINSICS_MIN_EXTRINSIC_HASH_DESC', - ExtrinsicsMinExtrinsicIdxAsc = 'EXTRINSICS_MIN_EXTRINSIC_IDX_ASC', - ExtrinsicsMinExtrinsicIdxDesc = 'EXTRINSICS_MIN_EXTRINSIC_IDX_DESC', - ExtrinsicsMinExtrinsicLengthAsc = 'EXTRINSICS_MIN_EXTRINSIC_LENGTH_ASC', - ExtrinsicsMinExtrinsicLengthDesc = 'EXTRINSICS_MIN_EXTRINSIC_LENGTH_DESC', - ExtrinsicsMinIdAsc = 'EXTRINSICS_MIN_ID_ASC', - ExtrinsicsMinIdDesc = 'EXTRINSICS_MIN_ID_DESC', - ExtrinsicsMinModuleIdAsc = 'EXTRINSICS_MIN_MODULE_ID_ASC', - ExtrinsicsMinModuleIdDesc = 'EXTRINSICS_MIN_MODULE_ID_DESC', - ExtrinsicsMinNonceAsc = 'EXTRINSICS_MIN_NONCE_ASC', - ExtrinsicsMinNonceDesc = 'EXTRINSICS_MIN_NONCE_DESC', - ExtrinsicsMinParamsAsc = 'EXTRINSICS_MIN_PARAMS_ASC', - ExtrinsicsMinParamsDesc = 'EXTRINSICS_MIN_PARAMS_DESC', - ExtrinsicsMinParamsTxtAsc = 'EXTRINSICS_MIN_PARAMS_TXT_ASC', - ExtrinsicsMinParamsTxtDesc = 'EXTRINSICS_MIN_PARAMS_TXT_DESC', - ExtrinsicsMinSignedbyAddressAsc = 'EXTRINSICS_MIN_SIGNEDBY_ADDRESS_ASC', - ExtrinsicsMinSignedbyAddressDesc = 'EXTRINSICS_MIN_SIGNEDBY_ADDRESS_DESC', - ExtrinsicsMinSignedAsc = 'EXTRINSICS_MIN_SIGNED_ASC', - ExtrinsicsMinSignedDesc = 'EXTRINSICS_MIN_SIGNED_DESC', - ExtrinsicsMinSpecVersionIdAsc = 'EXTRINSICS_MIN_SPEC_VERSION_ID_ASC', - ExtrinsicsMinSpecVersionIdDesc = 'EXTRINSICS_MIN_SPEC_VERSION_ID_DESC', - ExtrinsicsMinSuccessAsc = 'EXTRINSICS_MIN_SUCCESS_ASC', - ExtrinsicsMinSuccessDesc = 'EXTRINSICS_MIN_SUCCESS_DESC', - ExtrinsicsMinUpdatedAtAsc = 'EXTRINSICS_MIN_UPDATED_AT_ASC', - ExtrinsicsMinUpdatedAtDesc = 'EXTRINSICS_MIN_UPDATED_AT_DESC', - ExtrinsicsRootAsc = 'EXTRINSICS_ROOT_ASC', - ExtrinsicsRootDesc = 'EXTRINSICS_ROOT_DESC', - ExtrinsicsStddevPopulationAddressAsc = 'EXTRINSICS_STDDEV_POPULATION_ADDRESS_ASC', - ExtrinsicsStddevPopulationAddressDesc = 'EXTRINSICS_STDDEV_POPULATION_ADDRESS_DESC', - ExtrinsicsStddevPopulationBlockIdAsc = 'EXTRINSICS_STDDEV_POPULATION_BLOCK_ID_ASC', - ExtrinsicsStddevPopulationBlockIdDesc = 'EXTRINSICS_STDDEV_POPULATION_BLOCK_ID_DESC', - ExtrinsicsStddevPopulationCallIdAsc = 'EXTRINSICS_STDDEV_POPULATION_CALL_ID_ASC', - ExtrinsicsStddevPopulationCallIdDesc = 'EXTRINSICS_STDDEV_POPULATION_CALL_ID_DESC', - ExtrinsicsStddevPopulationCreatedAtAsc = 'EXTRINSICS_STDDEV_POPULATION_CREATED_AT_ASC', - ExtrinsicsStddevPopulationCreatedAtDesc = 'EXTRINSICS_STDDEV_POPULATION_CREATED_AT_DESC', - ExtrinsicsStddevPopulationExtrinsicHashAsc = 'EXTRINSICS_STDDEV_POPULATION_EXTRINSIC_HASH_ASC', - ExtrinsicsStddevPopulationExtrinsicHashDesc = 'EXTRINSICS_STDDEV_POPULATION_EXTRINSIC_HASH_DESC', - ExtrinsicsStddevPopulationExtrinsicIdxAsc = 'EXTRINSICS_STDDEV_POPULATION_EXTRINSIC_IDX_ASC', - ExtrinsicsStddevPopulationExtrinsicIdxDesc = 'EXTRINSICS_STDDEV_POPULATION_EXTRINSIC_IDX_DESC', - ExtrinsicsStddevPopulationExtrinsicLengthAsc = 'EXTRINSICS_STDDEV_POPULATION_EXTRINSIC_LENGTH_ASC', - ExtrinsicsStddevPopulationExtrinsicLengthDesc = 'EXTRINSICS_STDDEV_POPULATION_EXTRINSIC_LENGTH_DESC', - ExtrinsicsStddevPopulationIdAsc = 'EXTRINSICS_STDDEV_POPULATION_ID_ASC', - ExtrinsicsStddevPopulationIdDesc = 'EXTRINSICS_STDDEV_POPULATION_ID_DESC', - ExtrinsicsStddevPopulationModuleIdAsc = 'EXTRINSICS_STDDEV_POPULATION_MODULE_ID_ASC', - ExtrinsicsStddevPopulationModuleIdDesc = 'EXTRINSICS_STDDEV_POPULATION_MODULE_ID_DESC', - ExtrinsicsStddevPopulationNonceAsc = 'EXTRINSICS_STDDEV_POPULATION_NONCE_ASC', - ExtrinsicsStddevPopulationNonceDesc = 'EXTRINSICS_STDDEV_POPULATION_NONCE_DESC', - ExtrinsicsStddevPopulationParamsAsc = 'EXTRINSICS_STDDEV_POPULATION_PARAMS_ASC', - ExtrinsicsStddevPopulationParamsDesc = 'EXTRINSICS_STDDEV_POPULATION_PARAMS_DESC', - ExtrinsicsStddevPopulationParamsTxtAsc = 'EXTRINSICS_STDDEV_POPULATION_PARAMS_TXT_ASC', - ExtrinsicsStddevPopulationParamsTxtDesc = 'EXTRINSICS_STDDEV_POPULATION_PARAMS_TXT_DESC', - ExtrinsicsStddevPopulationSignedbyAddressAsc = 'EXTRINSICS_STDDEV_POPULATION_SIGNEDBY_ADDRESS_ASC', - ExtrinsicsStddevPopulationSignedbyAddressDesc = 'EXTRINSICS_STDDEV_POPULATION_SIGNEDBY_ADDRESS_DESC', - ExtrinsicsStddevPopulationSignedAsc = 'EXTRINSICS_STDDEV_POPULATION_SIGNED_ASC', - ExtrinsicsStddevPopulationSignedDesc = 'EXTRINSICS_STDDEV_POPULATION_SIGNED_DESC', - ExtrinsicsStddevPopulationSpecVersionIdAsc = 'EXTRINSICS_STDDEV_POPULATION_SPEC_VERSION_ID_ASC', - ExtrinsicsStddevPopulationSpecVersionIdDesc = 'EXTRINSICS_STDDEV_POPULATION_SPEC_VERSION_ID_DESC', - ExtrinsicsStddevPopulationSuccessAsc = 'EXTRINSICS_STDDEV_POPULATION_SUCCESS_ASC', - ExtrinsicsStddevPopulationSuccessDesc = 'EXTRINSICS_STDDEV_POPULATION_SUCCESS_DESC', - ExtrinsicsStddevPopulationUpdatedAtAsc = 'EXTRINSICS_STDDEV_POPULATION_UPDATED_AT_ASC', - ExtrinsicsStddevPopulationUpdatedAtDesc = 'EXTRINSICS_STDDEV_POPULATION_UPDATED_AT_DESC', - ExtrinsicsStddevSampleAddressAsc = 'EXTRINSICS_STDDEV_SAMPLE_ADDRESS_ASC', - ExtrinsicsStddevSampleAddressDesc = 'EXTRINSICS_STDDEV_SAMPLE_ADDRESS_DESC', - ExtrinsicsStddevSampleBlockIdAsc = 'EXTRINSICS_STDDEV_SAMPLE_BLOCK_ID_ASC', - ExtrinsicsStddevSampleBlockIdDesc = 'EXTRINSICS_STDDEV_SAMPLE_BLOCK_ID_DESC', - ExtrinsicsStddevSampleCallIdAsc = 'EXTRINSICS_STDDEV_SAMPLE_CALL_ID_ASC', - ExtrinsicsStddevSampleCallIdDesc = 'EXTRINSICS_STDDEV_SAMPLE_CALL_ID_DESC', - ExtrinsicsStddevSampleCreatedAtAsc = 'EXTRINSICS_STDDEV_SAMPLE_CREATED_AT_ASC', - ExtrinsicsStddevSampleCreatedAtDesc = 'EXTRINSICS_STDDEV_SAMPLE_CREATED_AT_DESC', - ExtrinsicsStddevSampleExtrinsicHashAsc = 'EXTRINSICS_STDDEV_SAMPLE_EXTRINSIC_HASH_ASC', - ExtrinsicsStddevSampleExtrinsicHashDesc = 'EXTRINSICS_STDDEV_SAMPLE_EXTRINSIC_HASH_DESC', - ExtrinsicsStddevSampleExtrinsicIdxAsc = 'EXTRINSICS_STDDEV_SAMPLE_EXTRINSIC_IDX_ASC', - ExtrinsicsStddevSampleExtrinsicIdxDesc = 'EXTRINSICS_STDDEV_SAMPLE_EXTRINSIC_IDX_DESC', - ExtrinsicsStddevSampleExtrinsicLengthAsc = 'EXTRINSICS_STDDEV_SAMPLE_EXTRINSIC_LENGTH_ASC', - ExtrinsicsStddevSampleExtrinsicLengthDesc = 'EXTRINSICS_STDDEV_SAMPLE_EXTRINSIC_LENGTH_DESC', - ExtrinsicsStddevSampleIdAsc = 'EXTRINSICS_STDDEV_SAMPLE_ID_ASC', - ExtrinsicsStddevSampleIdDesc = 'EXTRINSICS_STDDEV_SAMPLE_ID_DESC', - ExtrinsicsStddevSampleModuleIdAsc = 'EXTRINSICS_STDDEV_SAMPLE_MODULE_ID_ASC', - ExtrinsicsStddevSampleModuleIdDesc = 'EXTRINSICS_STDDEV_SAMPLE_MODULE_ID_DESC', - ExtrinsicsStddevSampleNonceAsc = 'EXTRINSICS_STDDEV_SAMPLE_NONCE_ASC', - ExtrinsicsStddevSampleNonceDesc = 'EXTRINSICS_STDDEV_SAMPLE_NONCE_DESC', - ExtrinsicsStddevSampleParamsAsc = 'EXTRINSICS_STDDEV_SAMPLE_PARAMS_ASC', - ExtrinsicsStddevSampleParamsDesc = 'EXTRINSICS_STDDEV_SAMPLE_PARAMS_DESC', - ExtrinsicsStddevSampleParamsTxtAsc = 'EXTRINSICS_STDDEV_SAMPLE_PARAMS_TXT_ASC', - ExtrinsicsStddevSampleParamsTxtDesc = 'EXTRINSICS_STDDEV_SAMPLE_PARAMS_TXT_DESC', - ExtrinsicsStddevSampleSignedbyAddressAsc = 'EXTRINSICS_STDDEV_SAMPLE_SIGNEDBY_ADDRESS_ASC', - ExtrinsicsStddevSampleSignedbyAddressDesc = 'EXTRINSICS_STDDEV_SAMPLE_SIGNEDBY_ADDRESS_DESC', - ExtrinsicsStddevSampleSignedAsc = 'EXTRINSICS_STDDEV_SAMPLE_SIGNED_ASC', - ExtrinsicsStddevSampleSignedDesc = 'EXTRINSICS_STDDEV_SAMPLE_SIGNED_DESC', - ExtrinsicsStddevSampleSpecVersionIdAsc = 'EXTRINSICS_STDDEV_SAMPLE_SPEC_VERSION_ID_ASC', - ExtrinsicsStddevSampleSpecVersionIdDesc = 'EXTRINSICS_STDDEV_SAMPLE_SPEC_VERSION_ID_DESC', - ExtrinsicsStddevSampleSuccessAsc = 'EXTRINSICS_STDDEV_SAMPLE_SUCCESS_ASC', - ExtrinsicsStddevSampleSuccessDesc = 'EXTRINSICS_STDDEV_SAMPLE_SUCCESS_DESC', - ExtrinsicsStddevSampleUpdatedAtAsc = 'EXTRINSICS_STDDEV_SAMPLE_UPDATED_AT_ASC', - ExtrinsicsStddevSampleUpdatedAtDesc = 'EXTRINSICS_STDDEV_SAMPLE_UPDATED_AT_DESC', - ExtrinsicsSumAddressAsc = 'EXTRINSICS_SUM_ADDRESS_ASC', - ExtrinsicsSumAddressDesc = 'EXTRINSICS_SUM_ADDRESS_DESC', - ExtrinsicsSumBlockIdAsc = 'EXTRINSICS_SUM_BLOCK_ID_ASC', - ExtrinsicsSumBlockIdDesc = 'EXTRINSICS_SUM_BLOCK_ID_DESC', - ExtrinsicsSumCallIdAsc = 'EXTRINSICS_SUM_CALL_ID_ASC', - ExtrinsicsSumCallIdDesc = 'EXTRINSICS_SUM_CALL_ID_DESC', - ExtrinsicsSumCreatedAtAsc = 'EXTRINSICS_SUM_CREATED_AT_ASC', - ExtrinsicsSumCreatedAtDesc = 'EXTRINSICS_SUM_CREATED_AT_DESC', - ExtrinsicsSumExtrinsicHashAsc = 'EXTRINSICS_SUM_EXTRINSIC_HASH_ASC', - ExtrinsicsSumExtrinsicHashDesc = 'EXTRINSICS_SUM_EXTRINSIC_HASH_DESC', - ExtrinsicsSumExtrinsicIdxAsc = 'EXTRINSICS_SUM_EXTRINSIC_IDX_ASC', - ExtrinsicsSumExtrinsicIdxDesc = 'EXTRINSICS_SUM_EXTRINSIC_IDX_DESC', - ExtrinsicsSumExtrinsicLengthAsc = 'EXTRINSICS_SUM_EXTRINSIC_LENGTH_ASC', - ExtrinsicsSumExtrinsicLengthDesc = 'EXTRINSICS_SUM_EXTRINSIC_LENGTH_DESC', - ExtrinsicsSumIdAsc = 'EXTRINSICS_SUM_ID_ASC', - ExtrinsicsSumIdDesc = 'EXTRINSICS_SUM_ID_DESC', - ExtrinsicsSumModuleIdAsc = 'EXTRINSICS_SUM_MODULE_ID_ASC', - ExtrinsicsSumModuleIdDesc = 'EXTRINSICS_SUM_MODULE_ID_DESC', - ExtrinsicsSumNonceAsc = 'EXTRINSICS_SUM_NONCE_ASC', - ExtrinsicsSumNonceDesc = 'EXTRINSICS_SUM_NONCE_DESC', - ExtrinsicsSumParamsAsc = 'EXTRINSICS_SUM_PARAMS_ASC', - ExtrinsicsSumParamsDesc = 'EXTRINSICS_SUM_PARAMS_DESC', - ExtrinsicsSumParamsTxtAsc = 'EXTRINSICS_SUM_PARAMS_TXT_ASC', - ExtrinsicsSumParamsTxtDesc = 'EXTRINSICS_SUM_PARAMS_TXT_DESC', - ExtrinsicsSumSignedbyAddressAsc = 'EXTRINSICS_SUM_SIGNEDBY_ADDRESS_ASC', - ExtrinsicsSumSignedbyAddressDesc = 'EXTRINSICS_SUM_SIGNEDBY_ADDRESS_DESC', - ExtrinsicsSumSignedAsc = 'EXTRINSICS_SUM_SIGNED_ASC', - ExtrinsicsSumSignedDesc = 'EXTRINSICS_SUM_SIGNED_DESC', - ExtrinsicsSumSpecVersionIdAsc = 'EXTRINSICS_SUM_SPEC_VERSION_ID_ASC', - ExtrinsicsSumSpecVersionIdDesc = 'EXTRINSICS_SUM_SPEC_VERSION_ID_DESC', - ExtrinsicsSumSuccessAsc = 'EXTRINSICS_SUM_SUCCESS_ASC', - ExtrinsicsSumSuccessDesc = 'EXTRINSICS_SUM_SUCCESS_DESC', - ExtrinsicsSumUpdatedAtAsc = 'EXTRINSICS_SUM_UPDATED_AT_ASC', - ExtrinsicsSumUpdatedAtDesc = 'EXTRINSICS_SUM_UPDATED_AT_DESC', - ExtrinsicsVariancePopulationAddressAsc = 'EXTRINSICS_VARIANCE_POPULATION_ADDRESS_ASC', - ExtrinsicsVariancePopulationAddressDesc = 'EXTRINSICS_VARIANCE_POPULATION_ADDRESS_DESC', - ExtrinsicsVariancePopulationBlockIdAsc = 'EXTRINSICS_VARIANCE_POPULATION_BLOCK_ID_ASC', - ExtrinsicsVariancePopulationBlockIdDesc = 'EXTRINSICS_VARIANCE_POPULATION_BLOCK_ID_DESC', - ExtrinsicsVariancePopulationCallIdAsc = 'EXTRINSICS_VARIANCE_POPULATION_CALL_ID_ASC', - ExtrinsicsVariancePopulationCallIdDesc = 'EXTRINSICS_VARIANCE_POPULATION_CALL_ID_DESC', - ExtrinsicsVariancePopulationCreatedAtAsc = 'EXTRINSICS_VARIANCE_POPULATION_CREATED_AT_ASC', - ExtrinsicsVariancePopulationCreatedAtDesc = 'EXTRINSICS_VARIANCE_POPULATION_CREATED_AT_DESC', - ExtrinsicsVariancePopulationExtrinsicHashAsc = 'EXTRINSICS_VARIANCE_POPULATION_EXTRINSIC_HASH_ASC', - ExtrinsicsVariancePopulationExtrinsicHashDesc = 'EXTRINSICS_VARIANCE_POPULATION_EXTRINSIC_HASH_DESC', - ExtrinsicsVariancePopulationExtrinsicIdxAsc = 'EXTRINSICS_VARIANCE_POPULATION_EXTRINSIC_IDX_ASC', - ExtrinsicsVariancePopulationExtrinsicIdxDesc = 'EXTRINSICS_VARIANCE_POPULATION_EXTRINSIC_IDX_DESC', - ExtrinsicsVariancePopulationExtrinsicLengthAsc = 'EXTRINSICS_VARIANCE_POPULATION_EXTRINSIC_LENGTH_ASC', - ExtrinsicsVariancePopulationExtrinsicLengthDesc = 'EXTRINSICS_VARIANCE_POPULATION_EXTRINSIC_LENGTH_DESC', - ExtrinsicsVariancePopulationIdAsc = 'EXTRINSICS_VARIANCE_POPULATION_ID_ASC', - ExtrinsicsVariancePopulationIdDesc = 'EXTRINSICS_VARIANCE_POPULATION_ID_DESC', - ExtrinsicsVariancePopulationModuleIdAsc = 'EXTRINSICS_VARIANCE_POPULATION_MODULE_ID_ASC', - ExtrinsicsVariancePopulationModuleIdDesc = 'EXTRINSICS_VARIANCE_POPULATION_MODULE_ID_DESC', - ExtrinsicsVariancePopulationNonceAsc = 'EXTRINSICS_VARIANCE_POPULATION_NONCE_ASC', - ExtrinsicsVariancePopulationNonceDesc = 'EXTRINSICS_VARIANCE_POPULATION_NONCE_DESC', - ExtrinsicsVariancePopulationParamsAsc = 'EXTRINSICS_VARIANCE_POPULATION_PARAMS_ASC', - ExtrinsicsVariancePopulationParamsDesc = 'EXTRINSICS_VARIANCE_POPULATION_PARAMS_DESC', - ExtrinsicsVariancePopulationParamsTxtAsc = 'EXTRINSICS_VARIANCE_POPULATION_PARAMS_TXT_ASC', - ExtrinsicsVariancePopulationParamsTxtDesc = 'EXTRINSICS_VARIANCE_POPULATION_PARAMS_TXT_DESC', - ExtrinsicsVariancePopulationSignedbyAddressAsc = 'EXTRINSICS_VARIANCE_POPULATION_SIGNEDBY_ADDRESS_ASC', - ExtrinsicsVariancePopulationSignedbyAddressDesc = 'EXTRINSICS_VARIANCE_POPULATION_SIGNEDBY_ADDRESS_DESC', - ExtrinsicsVariancePopulationSignedAsc = 'EXTRINSICS_VARIANCE_POPULATION_SIGNED_ASC', - ExtrinsicsVariancePopulationSignedDesc = 'EXTRINSICS_VARIANCE_POPULATION_SIGNED_DESC', - ExtrinsicsVariancePopulationSpecVersionIdAsc = 'EXTRINSICS_VARIANCE_POPULATION_SPEC_VERSION_ID_ASC', - ExtrinsicsVariancePopulationSpecVersionIdDesc = 'EXTRINSICS_VARIANCE_POPULATION_SPEC_VERSION_ID_DESC', - ExtrinsicsVariancePopulationSuccessAsc = 'EXTRINSICS_VARIANCE_POPULATION_SUCCESS_ASC', - ExtrinsicsVariancePopulationSuccessDesc = 'EXTRINSICS_VARIANCE_POPULATION_SUCCESS_DESC', - ExtrinsicsVariancePopulationUpdatedAtAsc = 'EXTRINSICS_VARIANCE_POPULATION_UPDATED_AT_ASC', - ExtrinsicsVariancePopulationUpdatedAtDesc = 'EXTRINSICS_VARIANCE_POPULATION_UPDATED_AT_DESC', - ExtrinsicsVarianceSampleAddressAsc = 'EXTRINSICS_VARIANCE_SAMPLE_ADDRESS_ASC', - ExtrinsicsVarianceSampleAddressDesc = 'EXTRINSICS_VARIANCE_SAMPLE_ADDRESS_DESC', - ExtrinsicsVarianceSampleBlockIdAsc = 'EXTRINSICS_VARIANCE_SAMPLE_BLOCK_ID_ASC', - ExtrinsicsVarianceSampleBlockIdDesc = 'EXTRINSICS_VARIANCE_SAMPLE_BLOCK_ID_DESC', - ExtrinsicsVarianceSampleCallIdAsc = 'EXTRINSICS_VARIANCE_SAMPLE_CALL_ID_ASC', - ExtrinsicsVarianceSampleCallIdDesc = 'EXTRINSICS_VARIANCE_SAMPLE_CALL_ID_DESC', - ExtrinsicsVarianceSampleCreatedAtAsc = 'EXTRINSICS_VARIANCE_SAMPLE_CREATED_AT_ASC', - ExtrinsicsVarianceSampleCreatedAtDesc = 'EXTRINSICS_VARIANCE_SAMPLE_CREATED_AT_DESC', - ExtrinsicsVarianceSampleExtrinsicHashAsc = 'EXTRINSICS_VARIANCE_SAMPLE_EXTRINSIC_HASH_ASC', - ExtrinsicsVarianceSampleExtrinsicHashDesc = 'EXTRINSICS_VARIANCE_SAMPLE_EXTRINSIC_HASH_DESC', - ExtrinsicsVarianceSampleExtrinsicIdxAsc = 'EXTRINSICS_VARIANCE_SAMPLE_EXTRINSIC_IDX_ASC', - ExtrinsicsVarianceSampleExtrinsicIdxDesc = 'EXTRINSICS_VARIANCE_SAMPLE_EXTRINSIC_IDX_DESC', - ExtrinsicsVarianceSampleExtrinsicLengthAsc = 'EXTRINSICS_VARIANCE_SAMPLE_EXTRINSIC_LENGTH_ASC', - ExtrinsicsVarianceSampleExtrinsicLengthDesc = 'EXTRINSICS_VARIANCE_SAMPLE_EXTRINSIC_LENGTH_DESC', - ExtrinsicsVarianceSampleIdAsc = 'EXTRINSICS_VARIANCE_SAMPLE_ID_ASC', - ExtrinsicsVarianceSampleIdDesc = 'EXTRINSICS_VARIANCE_SAMPLE_ID_DESC', - ExtrinsicsVarianceSampleModuleIdAsc = 'EXTRINSICS_VARIANCE_SAMPLE_MODULE_ID_ASC', - ExtrinsicsVarianceSampleModuleIdDesc = 'EXTRINSICS_VARIANCE_SAMPLE_MODULE_ID_DESC', - ExtrinsicsVarianceSampleNonceAsc = 'EXTRINSICS_VARIANCE_SAMPLE_NONCE_ASC', - ExtrinsicsVarianceSampleNonceDesc = 'EXTRINSICS_VARIANCE_SAMPLE_NONCE_DESC', - ExtrinsicsVarianceSampleParamsAsc = 'EXTRINSICS_VARIANCE_SAMPLE_PARAMS_ASC', - ExtrinsicsVarianceSampleParamsDesc = 'EXTRINSICS_VARIANCE_SAMPLE_PARAMS_DESC', - ExtrinsicsVarianceSampleParamsTxtAsc = 'EXTRINSICS_VARIANCE_SAMPLE_PARAMS_TXT_ASC', - ExtrinsicsVarianceSampleParamsTxtDesc = 'EXTRINSICS_VARIANCE_SAMPLE_PARAMS_TXT_DESC', - ExtrinsicsVarianceSampleSignedbyAddressAsc = 'EXTRINSICS_VARIANCE_SAMPLE_SIGNEDBY_ADDRESS_ASC', - ExtrinsicsVarianceSampleSignedbyAddressDesc = 'EXTRINSICS_VARIANCE_SAMPLE_SIGNEDBY_ADDRESS_DESC', - ExtrinsicsVarianceSampleSignedAsc = 'EXTRINSICS_VARIANCE_SAMPLE_SIGNED_ASC', - ExtrinsicsVarianceSampleSignedDesc = 'EXTRINSICS_VARIANCE_SAMPLE_SIGNED_DESC', - ExtrinsicsVarianceSampleSpecVersionIdAsc = 'EXTRINSICS_VARIANCE_SAMPLE_SPEC_VERSION_ID_ASC', - ExtrinsicsVarianceSampleSpecVersionIdDesc = 'EXTRINSICS_VARIANCE_SAMPLE_SPEC_VERSION_ID_DESC', - ExtrinsicsVarianceSampleSuccessAsc = 'EXTRINSICS_VARIANCE_SAMPLE_SUCCESS_ASC', - ExtrinsicsVarianceSampleSuccessDesc = 'EXTRINSICS_VARIANCE_SAMPLE_SUCCESS_DESC', - ExtrinsicsVarianceSampleUpdatedAtAsc = 'EXTRINSICS_VARIANCE_SAMPLE_UPDATED_AT_ASC', - ExtrinsicsVarianceSampleUpdatedAtDesc = 'EXTRINSICS_VARIANCE_SAMPLE_UPDATED_AT_DESC', - FundingsByCreatedBlockIdAverageAmountAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_AVERAGE_AMOUNT_ASC', - FundingsByCreatedBlockIdAverageAmountDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_AVERAGE_AMOUNT_DESC', - FundingsByCreatedBlockIdAverageAssetIdAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_AVERAGE_ASSET_ID_ASC', - FundingsByCreatedBlockIdAverageAssetIdDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_AVERAGE_ASSET_ID_DESC', - FundingsByCreatedBlockIdAverageCreatedAtAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - FundingsByCreatedBlockIdAverageCreatedAtDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - FundingsByCreatedBlockIdAverageCreatedBlockIdAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - FundingsByCreatedBlockIdAverageCreatedBlockIdDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - FundingsByCreatedBlockIdAverageDatetimeAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_AVERAGE_DATETIME_ASC', - FundingsByCreatedBlockIdAverageDatetimeDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_AVERAGE_DATETIME_DESC', - FundingsByCreatedBlockIdAverageFundingRoundAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_AVERAGE_FUNDING_ROUND_ASC', - FundingsByCreatedBlockIdAverageFundingRoundDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_AVERAGE_FUNDING_ROUND_DESC', - FundingsByCreatedBlockIdAverageIdAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_AVERAGE_ID_ASC', - FundingsByCreatedBlockIdAverageIdDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_AVERAGE_ID_DESC', - FundingsByCreatedBlockIdAverageTotalFundingAmountAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_AVERAGE_TOTAL_FUNDING_AMOUNT_ASC', - FundingsByCreatedBlockIdAverageTotalFundingAmountDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_AVERAGE_TOTAL_FUNDING_AMOUNT_DESC', - FundingsByCreatedBlockIdAverageUpdatedAtAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - FundingsByCreatedBlockIdAverageUpdatedAtDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - FundingsByCreatedBlockIdAverageUpdatedBlockIdAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - FundingsByCreatedBlockIdAverageUpdatedBlockIdDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - FundingsByCreatedBlockIdCountAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_COUNT_ASC', - FundingsByCreatedBlockIdCountDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_COUNT_DESC', - FundingsByCreatedBlockIdDistinctCountAmountAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_AMOUNT_ASC', - FundingsByCreatedBlockIdDistinctCountAmountDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_AMOUNT_DESC', - FundingsByCreatedBlockIdDistinctCountAssetIdAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_ASC', - FundingsByCreatedBlockIdDistinctCountAssetIdDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_DESC', - FundingsByCreatedBlockIdDistinctCountCreatedAtAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - FundingsByCreatedBlockIdDistinctCountCreatedAtDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - FundingsByCreatedBlockIdDistinctCountCreatedBlockIdAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - FundingsByCreatedBlockIdDistinctCountCreatedBlockIdDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - FundingsByCreatedBlockIdDistinctCountDatetimeAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_ASC', - FundingsByCreatedBlockIdDistinctCountDatetimeDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_DESC', - FundingsByCreatedBlockIdDistinctCountFundingRoundAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_FUNDING_ROUND_ASC', - FundingsByCreatedBlockIdDistinctCountFundingRoundDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_FUNDING_ROUND_DESC', - FundingsByCreatedBlockIdDistinctCountIdAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - FundingsByCreatedBlockIdDistinctCountIdDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - FundingsByCreatedBlockIdDistinctCountTotalFundingAmountAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TOTAL_FUNDING_AMOUNT_ASC', - FundingsByCreatedBlockIdDistinctCountTotalFundingAmountDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TOTAL_FUNDING_AMOUNT_DESC', - FundingsByCreatedBlockIdDistinctCountUpdatedAtAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - FundingsByCreatedBlockIdDistinctCountUpdatedAtDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - FundingsByCreatedBlockIdDistinctCountUpdatedBlockIdAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - FundingsByCreatedBlockIdDistinctCountUpdatedBlockIdDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - FundingsByCreatedBlockIdMaxAmountAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_MAX_AMOUNT_ASC', - FundingsByCreatedBlockIdMaxAmountDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_MAX_AMOUNT_DESC', - FundingsByCreatedBlockIdMaxAssetIdAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_MAX_ASSET_ID_ASC', - FundingsByCreatedBlockIdMaxAssetIdDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_MAX_ASSET_ID_DESC', - FundingsByCreatedBlockIdMaxCreatedAtAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_ASC', - FundingsByCreatedBlockIdMaxCreatedAtDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_DESC', - FundingsByCreatedBlockIdMaxCreatedBlockIdAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - FundingsByCreatedBlockIdMaxCreatedBlockIdDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - FundingsByCreatedBlockIdMaxDatetimeAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_MAX_DATETIME_ASC', - FundingsByCreatedBlockIdMaxDatetimeDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_MAX_DATETIME_DESC', - FundingsByCreatedBlockIdMaxFundingRoundAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_MAX_FUNDING_ROUND_ASC', - FundingsByCreatedBlockIdMaxFundingRoundDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_MAX_FUNDING_ROUND_DESC', - FundingsByCreatedBlockIdMaxIdAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_MAX_ID_ASC', - FundingsByCreatedBlockIdMaxIdDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_MAX_ID_DESC', - FundingsByCreatedBlockIdMaxTotalFundingAmountAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_MAX_TOTAL_FUNDING_AMOUNT_ASC', - FundingsByCreatedBlockIdMaxTotalFundingAmountDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_MAX_TOTAL_FUNDING_AMOUNT_DESC', - FundingsByCreatedBlockIdMaxUpdatedAtAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - FundingsByCreatedBlockIdMaxUpdatedAtDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - FundingsByCreatedBlockIdMaxUpdatedBlockIdAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - FundingsByCreatedBlockIdMaxUpdatedBlockIdDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - FundingsByCreatedBlockIdMinAmountAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_MIN_AMOUNT_ASC', - FundingsByCreatedBlockIdMinAmountDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_MIN_AMOUNT_DESC', - FundingsByCreatedBlockIdMinAssetIdAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_MIN_ASSET_ID_ASC', - FundingsByCreatedBlockIdMinAssetIdDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_MIN_ASSET_ID_DESC', - FundingsByCreatedBlockIdMinCreatedAtAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_ASC', - FundingsByCreatedBlockIdMinCreatedAtDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_DESC', - FundingsByCreatedBlockIdMinCreatedBlockIdAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - FundingsByCreatedBlockIdMinCreatedBlockIdDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - FundingsByCreatedBlockIdMinDatetimeAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_MIN_DATETIME_ASC', - FundingsByCreatedBlockIdMinDatetimeDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_MIN_DATETIME_DESC', - FundingsByCreatedBlockIdMinFundingRoundAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_MIN_FUNDING_ROUND_ASC', - FundingsByCreatedBlockIdMinFundingRoundDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_MIN_FUNDING_ROUND_DESC', - FundingsByCreatedBlockIdMinIdAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_MIN_ID_ASC', - FundingsByCreatedBlockIdMinIdDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_MIN_ID_DESC', - FundingsByCreatedBlockIdMinTotalFundingAmountAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_MIN_TOTAL_FUNDING_AMOUNT_ASC', - FundingsByCreatedBlockIdMinTotalFundingAmountDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_MIN_TOTAL_FUNDING_AMOUNT_DESC', - FundingsByCreatedBlockIdMinUpdatedAtAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - FundingsByCreatedBlockIdMinUpdatedAtDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - FundingsByCreatedBlockIdMinUpdatedBlockIdAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - FundingsByCreatedBlockIdMinUpdatedBlockIdDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - FundingsByCreatedBlockIdStddevPopulationAmountAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_AMOUNT_ASC', - FundingsByCreatedBlockIdStddevPopulationAmountDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_AMOUNT_DESC', - FundingsByCreatedBlockIdStddevPopulationAssetIdAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_ASC', - FundingsByCreatedBlockIdStddevPopulationAssetIdDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_DESC', - FundingsByCreatedBlockIdStddevPopulationCreatedAtAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - FundingsByCreatedBlockIdStddevPopulationCreatedAtDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - FundingsByCreatedBlockIdStddevPopulationCreatedBlockIdAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - FundingsByCreatedBlockIdStddevPopulationCreatedBlockIdDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - FundingsByCreatedBlockIdStddevPopulationDatetimeAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_DATETIME_ASC', - FundingsByCreatedBlockIdStddevPopulationDatetimeDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_DATETIME_DESC', - FundingsByCreatedBlockIdStddevPopulationFundingRoundAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_FUNDING_ROUND_ASC', - FundingsByCreatedBlockIdStddevPopulationFundingRoundDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_FUNDING_ROUND_DESC', - FundingsByCreatedBlockIdStddevPopulationIdAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - FundingsByCreatedBlockIdStddevPopulationIdDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - FundingsByCreatedBlockIdStddevPopulationTotalFundingAmountAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TOTAL_FUNDING_AMOUNT_ASC', - FundingsByCreatedBlockIdStddevPopulationTotalFundingAmountDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TOTAL_FUNDING_AMOUNT_DESC', - FundingsByCreatedBlockIdStddevPopulationUpdatedAtAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - FundingsByCreatedBlockIdStddevPopulationUpdatedAtDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - FundingsByCreatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - FundingsByCreatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - FundingsByCreatedBlockIdStddevSampleAmountAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_AMOUNT_ASC', - FundingsByCreatedBlockIdStddevSampleAmountDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_AMOUNT_DESC', - FundingsByCreatedBlockIdStddevSampleAssetIdAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_ASC', - FundingsByCreatedBlockIdStddevSampleAssetIdDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_DESC', - FundingsByCreatedBlockIdStddevSampleCreatedAtAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - FundingsByCreatedBlockIdStddevSampleCreatedAtDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - FundingsByCreatedBlockIdStddevSampleCreatedBlockIdAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - FundingsByCreatedBlockIdStddevSampleCreatedBlockIdDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - FundingsByCreatedBlockIdStddevSampleDatetimeAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_DATETIME_ASC', - FundingsByCreatedBlockIdStddevSampleDatetimeDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_DATETIME_DESC', - FundingsByCreatedBlockIdStddevSampleFundingRoundAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_FUNDING_ROUND_ASC', - FundingsByCreatedBlockIdStddevSampleFundingRoundDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_FUNDING_ROUND_DESC', - FundingsByCreatedBlockIdStddevSampleIdAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - FundingsByCreatedBlockIdStddevSampleIdDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - FundingsByCreatedBlockIdStddevSampleTotalFundingAmountAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TOTAL_FUNDING_AMOUNT_ASC', - FundingsByCreatedBlockIdStddevSampleTotalFundingAmountDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TOTAL_FUNDING_AMOUNT_DESC', - FundingsByCreatedBlockIdStddevSampleUpdatedAtAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - FundingsByCreatedBlockIdStddevSampleUpdatedAtDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - FundingsByCreatedBlockIdStddevSampleUpdatedBlockIdAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - FundingsByCreatedBlockIdStddevSampleUpdatedBlockIdDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - FundingsByCreatedBlockIdSumAmountAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_SUM_AMOUNT_ASC', - FundingsByCreatedBlockIdSumAmountDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_SUM_AMOUNT_DESC', - FundingsByCreatedBlockIdSumAssetIdAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_SUM_ASSET_ID_ASC', - FundingsByCreatedBlockIdSumAssetIdDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_SUM_ASSET_ID_DESC', - FundingsByCreatedBlockIdSumCreatedAtAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_ASC', - FundingsByCreatedBlockIdSumCreatedAtDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_DESC', - FundingsByCreatedBlockIdSumCreatedBlockIdAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - FundingsByCreatedBlockIdSumCreatedBlockIdDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - FundingsByCreatedBlockIdSumDatetimeAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_SUM_DATETIME_ASC', - FundingsByCreatedBlockIdSumDatetimeDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_SUM_DATETIME_DESC', - FundingsByCreatedBlockIdSumFundingRoundAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_SUM_FUNDING_ROUND_ASC', - FundingsByCreatedBlockIdSumFundingRoundDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_SUM_FUNDING_ROUND_DESC', - FundingsByCreatedBlockIdSumIdAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_SUM_ID_ASC', - FundingsByCreatedBlockIdSumIdDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_SUM_ID_DESC', - FundingsByCreatedBlockIdSumTotalFundingAmountAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_SUM_TOTAL_FUNDING_AMOUNT_ASC', - FundingsByCreatedBlockIdSumTotalFundingAmountDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_SUM_TOTAL_FUNDING_AMOUNT_DESC', - FundingsByCreatedBlockIdSumUpdatedAtAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - FundingsByCreatedBlockIdSumUpdatedAtDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - FundingsByCreatedBlockIdSumUpdatedBlockIdAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - FundingsByCreatedBlockIdSumUpdatedBlockIdDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - FundingsByCreatedBlockIdVariancePopulationAmountAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_AMOUNT_ASC', - FundingsByCreatedBlockIdVariancePopulationAmountDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_AMOUNT_DESC', - FundingsByCreatedBlockIdVariancePopulationAssetIdAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_ASC', - FundingsByCreatedBlockIdVariancePopulationAssetIdDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_DESC', - FundingsByCreatedBlockIdVariancePopulationCreatedAtAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - FundingsByCreatedBlockIdVariancePopulationCreatedAtDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - FundingsByCreatedBlockIdVariancePopulationCreatedBlockIdAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - FundingsByCreatedBlockIdVariancePopulationCreatedBlockIdDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - FundingsByCreatedBlockIdVariancePopulationDatetimeAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_DATETIME_ASC', - FundingsByCreatedBlockIdVariancePopulationDatetimeDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_DATETIME_DESC', - FundingsByCreatedBlockIdVariancePopulationFundingRoundAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_FUNDING_ROUND_ASC', - FundingsByCreatedBlockIdVariancePopulationFundingRoundDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_FUNDING_ROUND_DESC', - FundingsByCreatedBlockIdVariancePopulationIdAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - FundingsByCreatedBlockIdVariancePopulationIdDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - FundingsByCreatedBlockIdVariancePopulationTotalFundingAmountAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TOTAL_FUNDING_AMOUNT_ASC', - FundingsByCreatedBlockIdVariancePopulationTotalFundingAmountDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TOTAL_FUNDING_AMOUNT_DESC', - FundingsByCreatedBlockIdVariancePopulationUpdatedAtAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - FundingsByCreatedBlockIdVariancePopulationUpdatedAtDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - FundingsByCreatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - FundingsByCreatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - FundingsByCreatedBlockIdVarianceSampleAmountAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_AMOUNT_ASC', - FundingsByCreatedBlockIdVarianceSampleAmountDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_AMOUNT_DESC', - FundingsByCreatedBlockIdVarianceSampleAssetIdAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_ASC', - FundingsByCreatedBlockIdVarianceSampleAssetIdDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_DESC', - FundingsByCreatedBlockIdVarianceSampleCreatedAtAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - FundingsByCreatedBlockIdVarianceSampleCreatedAtDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - FundingsByCreatedBlockIdVarianceSampleCreatedBlockIdAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - FundingsByCreatedBlockIdVarianceSampleCreatedBlockIdDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - FundingsByCreatedBlockIdVarianceSampleDatetimeAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_DATETIME_ASC', - FundingsByCreatedBlockIdVarianceSampleDatetimeDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_DATETIME_DESC', - FundingsByCreatedBlockIdVarianceSampleFundingRoundAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_FUNDING_ROUND_ASC', - FundingsByCreatedBlockIdVarianceSampleFundingRoundDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_FUNDING_ROUND_DESC', - FundingsByCreatedBlockIdVarianceSampleIdAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - FundingsByCreatedBlockIdVarianceSampleIdDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - FundingsByCreatedBlockIdVarianceSampleTotalFundingAmountAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TOTAL_FUNDING_AMOUNT_ASC', - FundingsByCreatedBlockIdVarianceSampleTotalFundingAmountDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TOTAL_FUNDING_AMOUNT_DESC', - FundingsByCreatedBlockIdVarianceSampleUpdatedAtAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - FundingsByCreatedBlockIdVarianceSampleUpdatedAtDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - FundingsByCreatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'FUNDINGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - FundingsByCreatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'FUNDINGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - FundingsByUpdatedBlockIdAverageAmountAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_AVERAGE_AMOUNT_ASC', - FundingsByUpdatedBlockIdAverageAmountDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_AVERAGE_AMOUNT_DESC', - FundingsByUpdatedBlockIdAverageAssetIdAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_AVERAGE_ASSET_ID_ASC', - FundingsByUpdatedBlockIdAverageAssetIdDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_AVERAGE_ASSET_ID_DESC', - FundingsByUpdatedBlockIdAverageCreatedAtAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - FundingsByUpdatedBlockIdAverageCreatedAtDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - FundingsByUpdatedBlockIdAverageCreatedBlockIdAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - FundingsByUpdatedBlockIdAverageCreatedBlockIdDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - FundingsByUpdatedBlockIdAverageDatetimeAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_AVERAGE_DATETIME_ASC', - FundingsByUpdatedBlockIdAverageDatetimeDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_AVERAGE_DATETIME_DESC', - FundingsByUpdatedBlockIdAverageFundingRoundAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_AVERAGE_FUNDING_ROUND_ASC', - FundingsByUpdatedBlockIdAverageFundingRoundDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_AVERAGE_FUNDING_ROUND_DESC', - FundingsByUpdatedBlockIdAverageIdAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_ASC', - FundingsByUpdatedBlockIdAverageIdDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_DESC', - FundingsByUpdatedBlockIdAverageTotalFundingAmountAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_AVERAGE_TOTAL_FUNDING_AMOUNT_ASC', - FundingsByUpdatedBlockIdAverageTotalFundingAmountDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_AVERAGE_TOTAL_FUNDING_AMOUNT_DESC', - FundingsByUpdatedBlockIdAverageUpdatedAtAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - FundingsByUpdatedBlockIdAverageUpdatedAtDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - FundingsByUpdatedBlockIdAverageUpdatedBlockIdAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - FundingsByUpdatedBlockIdAverageUpdatedBlockIdDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - FundingsByUpdatedBlockIdCountAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_COUNT_ASC', - FundingsByUpdatedBlockIdCountDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_COUNT_DESC', - FundingsByUpdatedBlockIdDistinctCountAmountAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_AMOUNT_ASC', - FundingsByUpdatedBlockIdDistinctCountAmountDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_AMOUNT_DESC', - FundingsByUpdatedBlockIdDistinctCountAssetIdAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_ASC', - FundingsByUpdatedBlockIdDistinctCountAssetIdDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_DESC', - FundingsByUpdatedBlockIdDistinctCountCreatedAtAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - FundingsByUpdatedBlockIdDistinctCountCreatedAtDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - FundingsByUpdatedBlockIdDistinctCountCreatedBlockIdAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - FundingsByUpdatedBlockIdDistinctCountCreatedBlockIdDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - FundingsByUpdatedBlockIdDistinctCountDatetimeAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_ASC', - FundingsByUpdatedBlockIdDistinctCountDatetimeDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_DESC', - FundingsByUpdatedBlockIdDistinctCountFundingRoundAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_FUNDING_ROUND_ASC', - FundingsByUpdatedBlockIdDistinctCountFundingRoundDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_FUNDING_ROUND_DESC', - FundingsByUpdatedBlockIdDistinctCountIdAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - FundingsByUpdatedBlockIdDistinctCountIdDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - FundingsByUpdatedBlockIdDistinctCountTotalFundingAmountAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TOTAL_FUNDING_AMOUNT_ASC', - FundingsByUpdatedBlockIdDistinctCountTotalFundingAmountDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TOTAL_FUNDING_AMOUNT_DESC', - FundingsByUpdatedBlockIdDistinctCountUpdatedAtAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - FundingsByUpdatedBlockIdDistinctCountUpdatedAtDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - FundingsByUpdatedBlockIdDistinctCountUpdatedBlockIdAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - FundingsByUpdatedBlockIdDistinctCountUpdatedBlockIdDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - FundingsByUpdatedBlockIdMaxAmountAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_MAX_AMOUNT_ASC', - FundingsByUpdatedBlockIdMaxAmountDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_MAX_AMOUNT_DESC', - FundingsByUpdatedBlockIdMaxAssetIdAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_MAX_ASSET_ID_ASC', - FundingsByUpdatedBlockIdMaxAssetIdDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_MAX_ASSET_ID_DESC', - FundingsByUpdatedBlockIdMaxCreatedAtAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_ASC', - FundingsByUpdatedBlockIdMaxCreatedAtDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_DESC', - FundingsByUpdatedBlockIdMaxCreatedBlockIdAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - FundingsByUpdatedBlockIdMaxCreatedBlockIdDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - FundingsByUpdatedBlockIdMaxDatetimeAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_MAX_DATETIME_ASC', - FundingsByUpdatedBlockIdMaxDatetimeDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_MAX_DATETIME_DESC', - FundingsByUpdatedBlockIdMaxFundingRoundAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_MAX_FUNDING_ROUND_ASC', - FundingsByUpdatedBlockIdMaxFundingRoundDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_MAX_FUNDING_ROUND_DESC', - FundingsByUpdatedBlockIdMaxIdAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_MAX_ID_ASC', - FundingsByUpdatedBlockIdMaxIdDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_MAX_ID_DESC', - FundingsByUpdatedBlockIdMaxTotalFundingAmountAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_MAX_TOTAL_FUNDING_AMOUNT_ASC', - FundingsByUpdatedBlockIdMaxTotalFundingAmountDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_MAX_TOTAL_FUNDING_AMOUNT_DESC', - FundingsByUpdatedBlockIdMaxUpdatedAtAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - FundingsByUpdatedBlockIdMaxUpdatedAtDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - FundingsByUpdatedBlockIdMaxUpdatedBlockIdAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - FundingsByUpdatedBlockIdMaxUpdatedBlockIdDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - FundingsByUpdatedBlockIdMinAmountAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_MIN_AMOUNT_ASC', - FundingsByUpdatedBlockIdMinAmountDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_MIN_AMOUNT_DESC', - FundingsByUpdatedBlockIdMinAssetIdAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_MIN_ASSET_ID_ASC', - FundingsByUpdatedBlockIdMinAssetIdDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_MIN_ASSET_ID_DESC', - FundingsByUpdatedBlockIdMinCreatedAtAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_ASC', - FundingsByUpdatedBlockIdMinCreatedAtDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_DESC', - FundingsByUpdatedBlockIdMinCreatedBlockIdAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - FundingsByUpdatedBlockIdMinCreatedBlockIdDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - FundingsByUpdatedBlockIdMinDatetimeAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_MIN_DATETIME_ASC', - FundingsByUpdatedBlockIdMinDatetimeDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_MIN_DATETIME_DESC', - FundingsByUpdatedBlockIdMinFundingRoundAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_MIN_FUNDING_ROUND_ASC', - FundingsByUpdatedBlockIdMinFundingRoundDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_MIN_FUNDING_ROUND_DESC', - FundingsByUpdatedBlockIdMinIdAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_MIN_ID_ASC', - FundingsByUpdatedBlockIdMinIdDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_MIN_ID_DESC', - FundingsByUpdatedBlockIdMinTotalFundingAmountAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_MIN_TOTAL_FUNDING_AMOUNT_ASC', - FundingsByUpdatedBlockIdMinTotalFundingAmountDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_MIN_TOTAL_FUNDING_AMOUNT_DESC', - FundingsByUpdatedBlockIdMinUpdatedAtAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - FundingsByUpdatedBlockIdMinUpdatedAtDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - FundingsByUpdatedBlockIdMinUpdatedBlockIdAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - FundingsByUpdatedBlockIdMinUpdatedBlockIdDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - FundingsByUpdatedBlockIdStddevPopulationAmountAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_AMOUNT_ASC', - FundingsByUpdatedBlockIdStddevPopulationAmountDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_AMOUNT_DESC', - FundingsByUpdatedBlockIdStddevPopulationAssetIdAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_ASC', - FundingsByUpdatedBlockIdStddevPopulationAssetIdDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_DESC', - FundingsByUpdatedBlockIdStddevPopulationCreatedAtAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - FundingsByUpdatedBlockIdStddevPopulationCreatedAtDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - FundingsByUpdatedBlockIdStddevPopulationCreatedBlockIdAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - FundingsByUpdatedBlockIdStddevPopulationCreatedBlockIdDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - FundingsByUpdatedBlockIdStddevPopulationDatetimeAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_DATETIME_ASC', - FundingsByUpdatedBlockIdStddevPopulationDatetimeDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_DATETIME_DESC', - FundingsByUpdatedBlockIdStddevPopulationFundingRoundAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_FUNDING_ROUND_ASC', - FundingsByUpdatedBlockIdStddevPopulationFundingRoundDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_FUNDING_ROUND_DESC', - FundingsByUpdatedBlockIdStddevPopulationIdAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - FundingsByUpdatedBlockIdStddevPopulationIdDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - FundingsByUpdatedBlockIdStddevPopulationTotalFundingAmountAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TOTAL_FUNDING_AMOUNT_ASC', - FundingsByUpdatedBlockIdStddevPopulationTotalFundingAmountDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TOTAL_FUNDING_AMOUNT_DESC', - FundingsByUpdatedBlockIdStddevPopulationUpdatedAtAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - FundingsByUpdatedBlockIdStddevPopulationUpdatedAtDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - FundingsByUpdatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - FundingsByUpdatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - FundingsByUpdatedBlockIdStddevSampleAmountAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_AMOUNT_ASC', - FundingsByUpdatedBlockIdStddevSampleAmountDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_AMOUNT_DESC', - FundingsByUpdatedBlockIdStddevSampleAssetIdAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_ASC', - FundingsByUpdatedBlockIdStddevSampleAssetIdDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_DESC', - FundingsByUpdatedBlockIdStddevSampleCreatedAtAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - FundingsByUpdatedBlockIdStddevSampleCreatedAtDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - FundingsByUpdatedBlockIdStddevSampleCreatedBlockIdAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - FundingsByUpdatedBlockIdStddevSampleCreatedBlockIdDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - FundingsByUpdatedBlockIdStddevSampleDatetimeAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_DATETIME_ASC', - FundingsByUpdatedBlockIdStddevSampleDatetimeDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_DATETIME_DESC', - FundingsByUpdatedBlockIdStddevSampleFundingRoundAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_FUNDING_ROUND_ASC', - FundingsByUpdatedBlockIdStddevSampleFundingRoundDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_FUNDING_ROUND_DESC', - FundingsByUpdatedBlockIdStddevSampleIdAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - FundingsByUpdatedBlockIdStddevSampleIdDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - FundingsByUpdatedBlockIdStddevSampleTotalFundingAmountAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TOTAL_FUNDING_AMOUNT_ASC', - FundingsByUpdatedBlockIdStddevSampleTotalFundingAmountDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TOTAL_FUNDING_AMOUNT_DESC', - FundingsByUpdatedBlockIdStddevSampleUpdatedAtAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - FundingsByUpdatedBlockIdStddevSampleUpdatedAtDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - FundingsByUpdatedBlockIdStddevSampleUpdatedBlockIdAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - FundingsByUpdatedBlockIdStddevSampleUpdatedBlockIdDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - FundingsByUpdatedBlockIdSumAmountAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_SUM_AMOUNT_ASC', - FundingsByUpdatedBlockIdSumAmountDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_SUM_AMOUNT_DESC', - FundingsByUpdatedBlockIdSumAssetIdAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_SUM_ASSET_ID_ASC', - FundingsByUpdatedBlockIdSumAssetIdDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_SUM_ASSET_ID_DESC', - FundingsByUpdatedBlockIdSumCreatedAtAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_ASC', - FundingsByUpdatedBlockIdSumCreatedAtDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_DESC', - FundingsByUpdatedBlockIdSumCreatedBlockIdAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - FundingsByUpdatedBlockIdSumCreatedBlockIdDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - FundingsByUpdatedBlockIdSumDatetimeAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_SUM_DATETIME_ASC', - FundingsByUpdatedBlockIdSumDatetimeDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_SUM_DATETIME_DESC', - FundingsByUpdatedBlockIdSumFundingRoundAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_SUM_FUNDING_ROUND_ASC', - FundingsByUpdatedBlockIdSumFundingRoundDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_SUM_FUNDING_ROUND_DESC', - FundingsByUpdatedBlockIdSumIdAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_SUM_ID_ASC', - FundingsByUpdatedBlockIdSumIdDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_SUM_ID_DESC', - FundingsByUpdatedBlockIdSumTotalFundingAmountAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_SUM_TOTAL_FUNDING_AMOUNT_ASC', - FundingsByUpdatedBlockIdSumTotalFundingAmountDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_SUM_TOTAL_FUNDING_AMOUNT_DESC', - FundingsByUpdatedBlockIdSumUpdatedAtAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - FundingsByUpdatedBlockIdSumUpdatedAtDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - FundingsByUpdatedBlockIdSumUpdatedBlockIdAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - FundingsByUpdatedBlockIdSumUpdatedBlockIdDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - FundingsByUpdatedBlockIdVariancePopulationAmountAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_AMOUNT_ASC', - FundingsByUpdatedBlockIdVariancePopulationAmountDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_AMOUNT_DESC', - FundingsByUpdatedBlockIdVariancePopulationAssetIdAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_ASC', - FundingsByUpdatedBlockIdVariancePopulationAssetIdDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_DESC', - FundingsByUpdatedBlockIdVariancePopulationCreatedAtAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - FundingsByUpdatedBlockIdVariancePopulationCreatedAtDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - FundingsByUpdatedBlockIdVariancePopulationCreatedBlockIdAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - FundingsByUpdatedBlockIdVariancePopulationCreatedBlockIdDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - FundingsByUpdatedBlockIdVariancePopulationDatetimeAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_DATETIME_ASC', - FundingsByUpdatedBlockIdVariancePopulationDatetimeDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_DATETIME_DESC', - FundingsByUpdatedBlockIdVariancePopulationFundingRoundAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_FUNDING_ROUND_ASC', - FundingsByUpdatedBlockIdVariancePopulationFundingRoundDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_FUNDING_ROUND_DESC', - FundingsByUpdatedBlockIdVariancePopulationIdAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - FundingsByUpdatedBlockIdVariancePopulationIdDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - FundingsByUpdatedBlockIdVariancePopulationTotalFundingAmountAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TOTAL_FUNDING_AMOUNT_ASC', - FundingsByUpdatedBlockIdVariancePopulationTotalFundingAmountDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TOTAL_FUNDING_AMOUNT_DESC', - FundingsByUpdatedBlockIdVariancePopulationUpdatedAtAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - FundingsByUpdatedBlockIdVariancePopulationUpdatedAtDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - FundingsByUpdatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - FundingsByUpdatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - FundingsByUpdatedBlockIdVarianceSampleAmountAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_AMOUNT_ASC', - FundingsByUpdatedBlockIdVarianceSampleAmountDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_AMOUNT_DESC', - FundingsByUpdatedBlockIdVarianceSampleAssetIdAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_ASC', - FundingsByUpdatedBlockIdVarianceSampleAssetIdDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_DESC', - FundingsByUpdatedBlockIdVarianceSampleCreatedAtAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - FundingsByUpdatedBlockIdVarianceSampleCreatedAtDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - FundingsByUpdatedBlockIdVarianceSampleCreatedBlockIdAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - FundingsByUpdatedBlockIdVarianceSampleCreatedBlockIdDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - FundingsByUpdatedBlockIdVarianceSampleDatetimeAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_DATETIME_ASC', - FundingsByUpdatedBlockIdVarianceSampleDatetimeDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_DATETIME_DESC', - FundingsByUpdatedBlockIdVarianceSampleFundingRoundAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_FUNDING_ROUND_ASC', - FundingsByUpdatedBlockIdVarianceSampleFundingRoundDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_FUNDING_ROUND_DESC', - FundingsByUpdatedBlockIdVarianceSampleIdAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - FundingsByUpdatedBlockIdVarianceSampleIdDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - FundingsByUpdatedBlockIdVarianceSampleTotalFundingAmountAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TOTAL_FUNDING_AMOUNT_ASC', - FundingsByUpdatedBlockIdVarianceSampleTotalFundingAmountDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TOTAL_FUNDING_AMOUNT_DESC', - FundingsByUpdatedBlockIdVarianceSampleUpdatedAtAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - FundingsByUpdatedBlockIdVarianceSampleUpdatedAtDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - FundingsByUpdatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - FundingsByUpdatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'FUNDINGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - HashAsc = 'HASH_ASC', - HashDesc = 'HASH_DESC', - IdentitiesByCreatedBlockIdAverageCreatedAtAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - IdentitiesByCreatedBlockIdAverageCreatedAtDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - IdentitiesByCreatedBlockIdAverageCreatedBlockIdAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - IdentitiesByCreatedBlockIdAverageCreatedBlockIdDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - IdentitiesByCreatedBlockIdAverageDatetimeAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_AVERAGE_DATETIME_ASC', - IdentitiesByCreatedBlockIdAverageDatetimeDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_AVERAGE_DATETIME_DESC', - IdentitiesByCreatedBlockIdAverageDidAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_AVERAGE_DID_ASC', - IdentitiesByCreatedBlockIdAverageDidDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_AVERAGE_DID_DESC', - IdentitiesByCreatedBlockIdAverageEventIdAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_ID_ASC', - IdentitiesByCreatedBlockIdAverageEventIdDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_ID_DESC', - IdentitiesByCreatedBlockIdAverageIdAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_AVERAGE_ID_ASC', - IdentitiesByCreatedBlockIdAverageIdDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_AVERAGE_ID_DESC', - IdentitiesByCreatedBlockIdAveragePrimaryAccountAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_AVERAGE_PRIMARY_ACCOUNT_ASC', - IdentitiesByCreatedBlockIdAveragePrimaryAccountDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_AVERAGE_PRIMARY_ACCOUNT_DESC', - IdentitiesByCreatedBlockIdAverageSecondaryKeysFrozenAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_AVERAGE_SECONDARY_KEYS_FROZEN_ASC', - IdentitiesByCreatedBlockIdAverageSecondaryKeysFrozenDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_AVERAGE_SECONDARY_KEYS_FROZEN_DESC', - IdentitiesByCreatedBlockIdAverageUpdatedAtAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - IdentitiesByCreatedBlockIdAverageUpdatedAtDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - IdentitiesByCreatedBlockIdAverageUpdatedBlockIdAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - IdentitiesByCreatedBlockIdAverageUpdatedBlockIdDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - IdentitiesByCreatedBlockIdCountAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_COUNT_ASC', - IdentitiesByCreatedBlockIdCountDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_COUNT_DESC', - IdentitiesByCreatedBlockIdDistinctCountCreatedAtAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - IdentitiesByCreatedBlockIdDistinctCountCreatedAtDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - IdentitiesByCreatedBlockIdDistinctCountCreatedBlockIdAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - IdentitiesByCreatedBlockIdDistinctCountCreatedBlockIdDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - IdentitiesByCreatedBlockIdDistinctCountDatetimeAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_ASC', - IdentitiesByCreatedBlockIdDistinctCountDatetimeDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_DESC', - IdentitiesByCreatedBlockIdDistinctCountDidAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_DID_ASC', - IdentitiesByCreatedBlockIdDistinctCountDidDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_DID_DESC', - IdentitiesByCreatedBlockIdDistinctCountEventIdAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_ID_ASC', - IdentitiesByCreatedBlockIdDistinctCountEventIdDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_ID_DESC', - IdentitiesByCreatedBlockIdDistinctCountIdAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - IdentitiesByCreatedBlockIdDistinctCountIdDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - IdentitiesByCreatedBlockIdDistinctCountPrimaryAccountAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_PRIMARY_ACCOUNT_ASC', - IdentitiesByCreatedBlockIdDistinctCountPrimaryAccountDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_PRIMARY_ACCOUNT_DESC', - IdentitiesByCreatedBlockIdDistinctCountSecondaryKeysFrozenAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_SECONDARY_KEYS_FROZEN_ASC', - IdentitiesByCreatedBlockIdDistinctCountSecondaryKeysFrozenDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_SECONDARY_KEYS_FROZEN_DESC', - IdentitiesByCreatedBlockIdDistinctCountUpdatedAtAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - IdentitiesByCreatedBlockIdDistinctCountUpdatedAtDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - IdentitiesByCreatedBlockIdDistinctCountUpdatedBlockIdAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - IdentitiesByCreatedBlockIdDistinctCountUpdatedBlockIdDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - IdentitiesByCreatedBlockIdMaxCreatedAtAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_ASC', - IdentitiesByCreatedBlockIdMaxCreatedAtDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_DESC', - IdentitiesByCreatedBlockIdMaxCreatedBlockIdAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - IdentitiesByCreatedBlockIdMaxCreatedBlockIdDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - IdentitiesByCreatedBlockIdMaxDatetimeAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_MAX_DATETIME_ASC', - IdentitiesByCreatedBlockIdMaxDatetimeDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_MAX_DATETIME_DESC', - IdentitiesByCreatedBlockIdMaxDidAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_MAX_DID_ASC', - IdentitiesByCreatedBlockIdMaxDidDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_MAX_DID_DESC', - IdentitiesByCreatedBlockIdMaxEventIdAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_MAX_EVENT_ID_ASC', - IdentitiesByCreatedBlockIdMaxEventIdDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_MAX_EVENT_ID_DESC', - IdentitiesByCreatedBlockIdMaxIdAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_MAX_ID_ASC', - IdentitiesByCreatedBlockIdMaxIdDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_MAX_ID_DESC', - IdentitiesByCreatedBlockIdMaxPrimaryAccountAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_MAX_PRIMARY_ACCOUNT_ASC', - IdentitiesByCreatedBlockIdMaxPrimaryAccountDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_MAX_PRIMARY_ACCOUNT_DESC', - IdentitiesByCreatedBlockIdMaxSecondaryKeysFrozenAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_MAX_SECONDARY_KEYS_FROZEN_ASC', - IdentitiesByCreatedBlockIdMaxSecondaryKeysFrozenDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_MAX_SECONDARY_KEYS_FROZEN_DESC', - IdentitiesByCreatedBlockIdMaxUpdatedAtAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - IdentitiesByCreatedBlockIdMaxUpdatedAtDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - IdentitiesByCreatedBlockIdMaxUpdatedBlockIdAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - IdentitiesByCreatedBlockIdMaxUpdatedBlockIdDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - IdentitiesByCreatedBlockIdMinCreatedAtAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_ASC', - IdentitiesByCreatedBlockIdMinCreatedAtDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_DESC', - IdentitiesByCreatedBlockIdMinCreatedBlockIdAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - IdentitiesByCreatedBlockIdMinCreatedBlockIdDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - IdentitiesByCreatedBlockIdMinDatetimeAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_MIN_DATETIME_ASC', - IdentitiesByCreatedBlockIdMinDatetimeDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_MIN_DATETIME_DESC', - IdentitiesByCreatedBlockIdMinDidAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_MIN_DID_ASC', - IdentitiesByCreatedBlockIdMinDidDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_MIN_DID_DESC', - IdentitiesByCreatedBlockIdMinEventIdAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_MIN_EVENT_ID_ASC', - IdentitiesByCreatedBlockIdMinEventIdDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_MIN_EVENT_ID_DESC', - IdentitiesByCreatedBlockIdMinIdAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_MIN_ID_ASC', - IdentitiesByCreatedBlockIdMinIdDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_MIN_ID_DESC', - IdentitiesByCreatedBlockIdMinPrimaryAccountAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_MIN_PRIMARY_ACCOUNT_ASC', - IdentitiesByCreatedBlockIdMinPrimaryAccountDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_MIN_PRIMARY_ACCOUNT_DESC', - IdentitiesByCreatedBlockIdMinSecondaryKeysFrozenAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_MIN_SECONDARY_KEYS_FROZEN_ASC', - IdentitiesByCreatedBlockIdMinSecondaryKeysFrozenDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_MIN_SECONDARY_KEYS_FROZEN_DESC', - IdentitiesByCreatedBlockIdMinUpdatedAtAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - IdentitiesByCreatedBlockIdMinUpdatedAtDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - IdentitiesByCreatedBlockIdMinUpdatedBlockIdAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - IdentitiesByCreatedBlockIdMinUpdatedBlockIdDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - IdentitiesByCreatedBlockIdStddevPopulationCreatedAtAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - IdentitiesByCreatedBlockIdStddevPopulationCreatedAtDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - IdentitiesByCreatedBlockIdStddevPopulationCreatedBlockIdAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - IdentitiesByCreatedBlockIdStddevPopulationCreatedBlockIdDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - IdentitiesByCreatedBlockIdStddevPopulationDatetimeAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_DATETIME_ASC', - IdentitiesByCreatedBlockIdStddevPopulationDatetimeDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_DATETIME_DESC', - IdentitiesByCreatedBlockIdStddevPopulationDidAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_DID_ASC', - IdentitiesByCreatedBlockIdStddevPopulationDidDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_DID_DESC', - IdentitiesByCreatedBlockIdStddevPopulationEventIdAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_ID_ASC', - IdentitiesByCreatedBlockIdStddevPopulationEventIdDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_ID_DESC', - IdentitiesByCreatedBlockIdStddevPopulationIdAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - IdentitiesByCreatedBlockIdStddevPopulationIdDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - IdentitiesByCreatedBlockIdStddevPopulationPrimaryAccountAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_PRIMARY_ACCOUNT_ASC', - IdentitiesByCreatedBlockIdStddevPopulationPrimaryAccountDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_PRIMARY_ACCOUNT_DESC', - IdentitiesByCreatedBlockIdStddevPopulationSecondaryKeysFrozenAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_SECONDARY_KEYS_FROZEN_ASC', - IdentitiesByCreatedBlockIdStddevPopulationSecondaryKeysFrozenDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_SECONDARY_KEYS_FROZEN_DESC', - IdentitiesByCreatedBlockIdStddevPopulationUpdatedAtAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - IdentitiesByCreatedBlockIdStddevPopulationUpdatedAtDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - IdentitiesByCreatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - IdentitiesByCreatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - IdentitiesByCreatedBlockIdStddevSampleCreatedAtAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - IdentitiesByCreatedBlockIdStddevSampleCreatedAtDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - IdentitiesByCreatedBlockIdStddevSampleCreatedBlockIdAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - IdentitiesByCreatedBlockIdStddevSampleCreatedBlockIdDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - IdentitiesByCreatedBlockIdStddevSampleDatetimeAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_DATETIME_ASC', - IdentitiesByCreatedBlockIdStddevSampleDatetimeDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_DATETIME_DESC', - IdentitiesByCreatedBlockIdStddevSampleDidAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_DID_ASC', - IdentitiesByCreatedBlockIdStddevSampleDidDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_DID_DESC', - IdentitiesByCreatedBlockIdStddevSampleEventIdAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_ID_ASC', - IdentitiesByCreatedBlockIdStddevSampleEventIdDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_ID_DESC', - IdentitiesByCreatedBlockIdStddevSampleIdAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - IdentitiesByCreatedBlockIdStddevSampleIdDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - IdentitiesByCreatedBlockIdStddevSamplePrimaryAccountAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_PRIMARY_ACCOUNT_ASC', - IdentitiesByCreatedBlockIdStddevSamplePrimaryAccountDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_PRIMARY_ACCOUNT_DESC', - IdentitiesByCreatedBlockIdStddevSampleSecondaryKeysFrozenAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_SECONDARY_KEYS_FROZEN_ASC', - IdentitiesByCreatedBlockIdStddevSampleSecondaryKeysFrozenDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_SECONDARY_KEYS_FROZEN_DESC', - IdentitiesByCreatedBlockIdStddevSampleUpdatedAtAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - IdentitiesByCreatedBlockIdStddevSampleUpdatedAtDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - IdentitiesByCreatedBlockIdStddevSampleUpdatedBlockIdAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - IdentitiesByCreatedBlockIdStddevSampleUpdatedBlockIdDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - IdentitiesByCreatedBlockIdSumCreatedAtAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_ASC', - IdentitiesByCreatedBlockIdSumCreatedAtDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_DESC', - IdentitiesByCreatedBlockIdSumCreatedBlockIdAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - IdentitiesByCreatedBlockIdSumCreatedBlockIdDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - IdentitiesByCreatedBlockIdSumDatetimeAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_SUM_DATETIME_ASC', - IdentitiesByCreatedBlockIdSumDatetimeDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_SUM_DATETIME_DESC', - IdentitiesByCreatedBlockIdSumDidAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_SUM_DID_ASC', - IdentitiesByCreatedBlockIdSumDidDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_SUM_DID_DESC', - IdentitiesByCreatedBlockIdSumEventIdAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_SUM_EVENT_ID_ASC', - IdentitiesByCreatedBlockIdSumEventIdDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_SUM_EVENT_ID_DESC', - IdentitiesByCreatedBlockIdSumIdAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_SUM_ID_ASC', - IdentitiesByCreatedBlockIdSumIdDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_SUM_ID_DESC', - IdentitiesByCreatedBlockIdSumPrimaryAccountAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_SUM_PRIMARY_ACCOUNT_ASC', - IdentitiesByCreatedBlockIdSumPrimaryAccountDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_SUM_PRIMARY_ACCOUNT_DESC', - IdentitiesByCreatedBlockIdSumSecondaryKeysFrozenAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_SUM_SECONDARY_KEYS_FROZEN_ASC', - IdentitiesByCreatedBlockIdSumSecondaryKeysFrozenDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_SUM_SECONDARY_KEYS_FROZEN_DESC', - IdentitiesByCreatedBlockIdSumUpdatedAtAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - IdentitiesByCreatedBlockIdSumUpdatedAtDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - IdentitiesByCreatedBlockIdSumUpdatedBlockIdAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - IdentitiesByCreatedBlockIdSumUpdatedBlockIdDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - IdentitiesByCreatedBlockIdVariancePopulationCreatedAtAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - IdentitiesByCreatedBlockIdVariancePopulationCreatedAtDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - IdentitiesByCreatedBlockIdVariancePopulationCreatedBlockIdAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - IdentitiesByCreatedBlockIdVariancePopulationCreatedBlockIdDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - IdentitiesByCreatedBlockIdVariancePopulationDatetimeAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_DATETIME_ASC', - IdentitiesByCreatedBlockIdVariancePopulationDatetimeDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_DATETIME_DESC', - IdentitiesByCreatedBlockIdVariancePopulationDidAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_DID_ASC', - IdentitiesByCreatedBlockIdVariancePopulationDidDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_DID_DESC', - IdentitiesByCreatedBlockIdVariancePopulationEventIdAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_ID_ASC', - IdentitiesByCreatedBlockIdVariancePopulationEventIdDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_ID_DESC', - IdentitiesByCreatedBlockIdVariancePopulationIdAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - IdentitiesByCreatedBlockIdVariancePopulationIdDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - IdentitiesByCreatedBlockIdVariancePopulationPrimaryAccountAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_PRIMARY_ACCOUNT_ASC', - IdentitiesByCreatedBlockIdVariancePopulationPrimaryAccountDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_PRIMARY_ACCOUNT_DESC', - IdentitiesByCreatedBlockIdVariancePopulationSecondaryKeysFrozenAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_SECONDARY_KEYS_FROZEN_ASC', - IdentitiesByCreatedBlockIdVariancePopulationSecondaryKeysFrozenDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_SECONDARY_KEYS_FROZEN_DESC', - IdentitiesByCreatedBlockIdVariancePopulationUpdatedAtAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - IdentitiesByCreatedBlockIdVariancePopulationUpdatedAtDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - IdentitiesByCreatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - IdentitiesByCreatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - IdentitiesByCreatedBlockIdVarianceSampleCreatedAtAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - IdentitiesByCreatedBlockIdVarianceSampleCreatedAtDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - IdentitiesByCreatedBlockIdVarianceSampleCreatedBlockIdAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - IdentitiesByCreatedBlockIdVarianceSampleCreatedBlockIdDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - IdentitiesByCreatedBlockIdVarianceSampleDatetimeAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_DATETIME_ASC', - IdentitiesByCreatedBlockIdVarianceSampleDatetimeDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_DATETIME_DESC', - IdentitiesByCreatedBlockIdVarianceSampleDidAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_DID_ASC', - IdentitiesByCreatedBlockIdVarianceSampleDidDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_DID_DESC', - IdentitiesByCreatedBlockIdVarianceSampleEventIdAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_ID_ASC', - IdentitiesByCreatedBlockIdVarianceSampleEventIdDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_ID_DESC', - IdentitiesByCreatedBlockIdVarianceSampleIdAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - IdentitiesByCreatedBlockIdVarianceSampleIdDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - IdentitiesByCreatedBlockIdVarianceSamplePrimaryAccountAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_PRIMARY_ACCOUNT_ASC', - IdentitiesByCreatedBlockIdVarianceSamplePrimaryAccountDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_PRIMARY_ACCOUNT_DESC', - IdentitiesByCreatedBlockIdVarianceSampleSecondaryKeysFrozenAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_SECONDARY_KEYS_FROZEN_ASC', - IdentitiesByCreatedBlockIdVarianceSampleSecondaryKeysFrozenDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_SECONDARY_KEYS_FROZEN_DESC', - IdentitiesByCreatedBlockIdVarianceSampleUpdatedAtAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - IdentitiesByCreatedBlockIdVarianceSampleUpdatedAtDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - IdentitiesByCreatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'IDENTITIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - IdentitiesByCreatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'IDENTITIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - IdentitiesByUpdatedBlockIdAverageCreatedAtAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - IdentitiesByUpdatedBlockIdAverageCreatedAtDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - IdentitiesByUpdatedBlockIdAverageCreatedBlockIdAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - IdentitiesByUpdatedBlockIdAverageCreatedBlockIdDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - IdentitiesByUpdatedBlockIdAverageDatetimeAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_AVERAGE_DATETIME_ASC', - IdentitiesByUpdatedBlockIdAverageDatetimeDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_AVERAGE_DATETIME_DESC', - IdentitiesByUpdatedBlockIdAverageDidAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_AVERAGE_DID_ASC', - IdentitiesByUpdatedBlockIdAverageDidDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_AVERAGE_DID_DESC', - IdentitiesByUpdatedBlockIdAverageEventIdAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_ID_ASC', - IdentitiesByUpdatedBlockIdAverageEventIdDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_ID_DESC', - IdentitiesByUpdatedBlockIdAverageIdAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_AVERAGE_ID_ASC', - IdentitiesByUpdatedBlockIdAverageIdDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_AVERAGE_ID_DESC', - IdentitiesByUpdatedBlockIdAveragePrimaryAccountAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_AVERAGE_PRIMARY_ACCOUNT_ASC', - IdentitiesByUpdatedBlockIdAveragePrimaryAccountDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_AVERAGE_PRIMARY_ACCOUNT_DESC', - IdentitiesByUpdatedBlockIdAverageSecondaryKeysFrozenAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_AVERAGE_SECONDARY_KEYS_FROZEN_ASC', - IdentitiesByUpdatedBlockIdAverageSecondaryKeysFrozenDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_AVERAGE_SECONDARY_KEYS_FROZEN_DESC', - IdentitiesByUpdatedBlockIdAverageUpdatedAtAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - IdentitiesByUpdatedBlockIdAverageUpdatedAtDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - IdentitiesByUpdatedBlockIdAverageUpdatedBlockIdAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - IdentitiesByUpdatedBlockIdAverageUpdatedBlockIdDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - IdentitiesByUpdatedBlockIdCountAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_COUNT_ASC', - IdentitiesByUpdatedBlockIdCountDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_COUNT_DESC', - IdentitiesByUpdatedBlockIdDistinctCountCreatedAtAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - IdentitiesByUpdatedBlockIdDistinctCountCreatedAtDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - IdentitiesByUpdatedBlockIdDistinctCountCreatedBlockIdAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - IdentitiesByUpdatedBlockIdDistinctCountCreatedBlockIdDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - IdentitiesByUpdatedBlockIdDistinctCountDatetimeAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_ASC', - IdentitiesByUpdatedBlockIdDistinctCountDatetimeDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_DESC', - IdentitiesByUpdatedBlockIdDistinctCountDidAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_DID_ASC', - IdentitiesByUpdatedBlockIdDistinctCountDidDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_DID_DESC', - IdentitiesByUpdatedBlockIdDistinctCountEventIdAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_ID_ASC', - IdentitiesByUpdatedBlockIdDistinctCountEventIdDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_ID_DESC', - IdentitiesByUpdatedBlockIdDistinctCountIdAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - IdentitiesByUpdatedBlockIdDistinctCountIdDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - IdentitiesByUpdatedBlockIdDistinctCountPrimaryAccountAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_PRIMARY_ACCOUNT_ASC', - IdentitiesByUpdatedBlockIdDistinctCountPrimaryAccountDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_PRIMARY_ACCOUNT_DESC', - IdentitiesByUpdatedBlockIdDistinctCountSecondaryKeysFrozenAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_SECONDARY_KEYS_FROZEN_ASC', - IdentitiesByUpdatedBlockIdDistinctCountSecondaryKeysFrozenDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_SECONDARY_KEYS_FROZEN_DESC', - IdentitiesByUpdatedBlockIdDistinctCountUpdatedAtAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - IdentitiesByUpdatedBlockIdDistinctCountUpdatedAtDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - IdentitiesByUpdatedBlockIdDistinctCountUpdatedBlockIdAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - IdentitiesByUpdatedBlockIdDistinctCountUpdatedBlockIdDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - IdentitiesByUpdatedBlockIdMaxCreatedAtAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_ASC', - IdentitiesByUpdatedBlockIdMaxCreatedAtDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_DESC', - IdentitiesByUpdatedBlockIdMaxCreatedBlockIdAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - IdentitiesByUpdatedBlockIdMaxCreatedBlockIdDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - IdentitiesByUpdatedBlockIdMaxDatetimeAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_MAX_DATETIME_ASC', - IdentitiesByUpdatedBlockIdMaxDatetimeDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_MAX_DATETIME_DESC', - IdentitiesByUpdatedBlockIdMaxDidAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_MAX_DID_ASC', - IdentitiesByUpdatedBlockIdMaxDidDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_MAX_DID_DESC', - IdentitiesByUpdatedBlockIdMaxEventIdAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_MAX_EVENT_ID_ASC', - IdentitiesByUpdatedBlockIdMaxEventIdDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_MAX_EVENT_ID_DESC', - IdentitiesByUpdatedBlockIdMaxIdAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_MAX_ID_ASC', - IdentitiesByUpdatedBlockIdMaxIdDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_MAX_ID_DESC', - IdentitiesByUpdatedBlockIdMaxPrimaryAccountAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_MAX_PRIMARY_ACCOUNT_ASC', - IdentitiesByUpdatedBlockIdMaxPrimaryAccountDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_MAX_PRIMARY_ACCOUNT_DESC', - IdentitiesByUpdatedBlockIdMaxSecondaryKeysFrozenAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_MAX_SECONDARY_KEYS_FROZEN_ASC', - IdentitiesByUpdatedBlockIdMaxSecondaryKeysFrozenDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_MAX_SECONDARY_KEYS_FROZEN_DESC', - IdentitiesByUpdatedBlockIdMaxUpdatedAtAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - IdentitiesByUpdatedBlockIdMaxUpdatedAtDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - IdentitiesByUpdatedBlockIdMaxUpdatedBlockIdAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - IdentitiesByUpdatedBlockIdMaxUpdatedBlockIdDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - IdentitiesByUpdatedBlockIdMinCreatedAtAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_ASC', - IdentitiesByUpdatedBlockIdMinCreatedAtDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_DESC', - IdentitiesByUpdatedBlockIdMinCreatedBlockIdAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - IdentitiesByUpdatedBlockIdMinCreatedBlockIdDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - IdentitiesByUpdatedBlockIdMinDatetimeAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_MIN_DATETIME_ASC', - IdentitiesByUpdatedBlockIdMinDatetimeDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_MIN_DATETIME_DESC', - IdentitiesByUpdatedBlockIdMinDidAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_MIN_DID_ASC', - IdentitiesByUpdatedBlockIdMinDidDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_MIN_DID_DESC', - IdentitiesByUpdatedBlockIdMinEventIdAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_MIN_EVENT_ID_ASC', - IdentitiesByUpdatedBlockIdMinEventIdDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_MIN_EVENT_ID_DESC', - IdentitiesByUpdatedBlockIdMinIdAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_MIN_ID_ASC', - IdentitiesByUpdatedBlockIdMinIdDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_MIN_ID_DESC', - IdentitiesByUpdatedBlockIdMinPrimaryAccountAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_MIN_PRIMARY_ACCOUNT_ASC', - IdentitiesByUpdatedBlockIdMinPrimaryAccountDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_MIN_PRIMARY_ACCOUNT_DESC', - IdentitiesByUpdatedBlockIdMinSecondaryKeysFrozenAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_MIN_SECONDARY_KEYS_FROZEN_ASC', - IdentitiesByUpdatedBlockIdMinSecondaryKeysFrozenDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_MIN_SECONDARY_KEYS_FROZEN_DESC', - IdentitiesByUpdatedBlockIdMinUpdatedAtAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - IdentitiesByUpdatedBlockIdMinUpdatedAtDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - IdentitiesByUpdatedBlockIdMinUpdatedBlockIdAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - IdentitiesByUpdatedBlockIdMinUpdatedBlockIdDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - IdentitiesByUpdatedBlockIdStddevPopulationCreatedAtAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - IdentitiesByUpdatedBlockIdStddevPopulationCreatedAtDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - IdentitiesByUpdatedBlockIdStddevPopulationCreatedBlockIdAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - IdentitiesByUpdatedBlockIdStddevPopulationCreatedBlockIdDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - IdentitiesByUpdatedBlockIdStddevPopulationDatetimeAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_DATETIME_ASC', - IdentitiesByUpdatedBlockIdStddevPopulationDatetimeDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_DATETIME_DESC', - IdentitiesByUpdatedBlockIdStddevPopulationDidAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_DID_ASC', - IdentitiesByUpdatedBlockIdStddevPopulationDidDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_DID_DESC', - IdentitiesByUpdatedBlockIdStddevPopulationEventIdAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_ID_ASC', - IdentitiesByUpdatedBlockIdStddevPopulationEventIdDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_ID_DESC', - IdentitiesByUpdatedBlockIdStddevPopulationIdAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - IdentitiesByUpdatedBlockIdStddevPopulationIdDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - IdentitiesByUpdatedBlockIdStddevPopulationPrimaryAccountAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_PRIMARY_ACCOUNT_ASC', - IdentitiesByUpdatedBlockIdStddevPopulationPrimaryAccountDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_PRIMARY_ACCOUNT_DESC', - IdentitiesByUpdatedBlockIdStddevPopulationSecondaryKeysFrozenAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_SECONDARY_KEYS_FROZEN_ASC', - IdentitiesByUpdatedBlockIdStddevPopulationSecondaryKeysFrozenDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_SECONDARY_KEYS_FROZEN_DESC', - IdentitiesByUpdatedBlockIdStddevPopulationUpdatedAtAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - IdentitiesByUpdatedBlockIdStddevPopulationUpdatedAtDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - IdentitiesByUpdatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - IdentitiesByUpdatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - IdentitiesByUpdatedBlockIdStddevSampleCreatedAtAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - IdentitiesByUpdatedBlockIdStddevSampleCreatedAtDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - IdentitiesByUpdatedBlockIdStddevSampleCreatedBlockIdAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - IdentitiesByUpdatedBlockIdStddevSampleCreatedBlockIdDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - IdentitiesByUpdatedBlockIdStddevSampleDatetimeAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_DATETIME_ASC', - IdentitiesByUpdatedBlockIdStddevSampleDatetimeDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_DATETIME_DESC', - IdentitiesByUpdatedBlockIdStddevSampleDidAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_DID_ASC', - IdentitiesByUpdatedBlockIdStddevSampleDidDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_DID_DESC', - IdentitiesByUpdatedBlockIdStddevSampleEventIdAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_ID_ASC', - IdentitiesByUpdatedBlockIdStddevSampleEventIdDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_ID_DESC', - IdentitiesByUpdatedBlockIdStddevSampleIdAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - IdentitiesByUpdatedBlockIdStddevSampleIdDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - IdentitiesByUpdatedBlockIdStddevSamplePrimaryAccountAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_PRIMARY_ACCOUNT_ASC', - IdentitiesByUpdatedBlockIdStddevSamplePrimaryAccountDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_PRIMARY_ACCOUNT_DESC', - IdentitiesByUpdatedBlockIdStddevSampleSecondaryKeysFrozenAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_SECONDARY_KEYS_FROZEN_ASC', - IdentitiesByUpdatedBlockIdStddevSampleSecondaryKeysFrozenDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_SECONDARY_KEYS_FROZEN_DESC', - IdentitiesByUpdatedBlockIdStddevSampleUpdatedAtAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - IdentitiesByUpdatedBlockIdStddevSampleUpdatedAtDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - IdentitiesByUpdatedBlockIdStddevSampleUpdatedBlockIdAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - IdentitiesByUpdatedBlockIdStddevSampleUpdatedBlockIdDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - IdentitiesByUpdatedBlockIdSumCreatedAtAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_ASC', - IdentitiesByUpdatedBlockIdSumCreatedAtDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_DESC', - IdentitiesByUpdatedBlockIdSumCreatedBlockIdAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - IdentitiesByUpdatedBlockIdSumCreatedBlockIdDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - IdentitiesByUpdatedBlockIdSumDatetimeAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_SUM_DATETIME_ASC', - IdentitiesByUpdatedBlockIdSumDatetimeDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_SUM_DATETIME_DESC', - IdentitiesByUpdatedBlockIdSumDidAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_SUM_DID_ASC', - IdentitiesByUpdatedBlockIdSumDidDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_SUM_DID_DESC', - IdentitiesByUpdatedBlockIdSumEventIdAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_SUM_EVENT_ID_ASC', - IdentitiesByUpdatedBlockIdSumEventIdDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_SUM_EVENT_ID_DESC', - IdentitiesByUpdatedBlockIdSumIdAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_SUM_ID_ASC', - IdentitiesByUpdatedBlockIdSumIdDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_SUM_ID_DESC', - IdentitiesByUpdatedBlockIdSumPrimaryAccountAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_SUM_PRIMARY_ACCOUNT_ASC', - IdentitiesByUpdatedBlockIdSumPrimaryAccountDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_SUM_PRIMARY_ACCOUNT_DESC', - IdentitiesByUpdatedBlockIdSumSecondaryKeysFrozenAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_SUM_SECONDARY_KEYS_FROZEN_ASC', - IdentitiesByUpdatedBlockIdSumSecondaryKeysFrozenDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_SUM_SECONDARY_KEYS_FROZEN_DESC', - IdentitiesByUpdatedBlockIdSumUpdatedAtAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - IdentitiesByUpdatedBlockIdSumUpdatedAtDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - IdentitiesByUpdatedBlockIdSumUpdatedBlockIdAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - IdentitiesByUpdatedBlockIdSumUpdatedBlockIdDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - IdentitiesByUpdatedBlockIdVariancePopulationCreatedAtAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - IdentitiesByUpdatedBlockIdVariancePopulationCreatedAtDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - IdentitiesByUpdatedBlockIdVariancePopulationCreatedBlockIdAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - IdentitiesByUpdatedBlockIdVariancePopulationCreatedBlockIdDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - IdentitiesByUpdatedBlockIdVariancePopulationDatetimeAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_DATETIME_ASC', - IdentitiesByUpdatedBlockIdVariancePopulationDatetimeDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_DATETIME_DESC', - IdentitiesByUpdatedBlockIdVariancePopulationDidAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_DID_ASC', - IdentitiesByUpdatedBlockIdVariancePopulationDidDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_DID_DESC', - IdentitiesByUpdatedBlockIdVariancePopulationEventIdAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_ID_ASC', - IdentitiesByUpdatedBlockIdVariancePopulationEventIdDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_ID_DESC', - IdentitiesByUpdatedBlockIdVariancePopulationIdAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - IdentitiesByUpdatedBlockIdVariancePopulationIdDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - IdentitiesByUpdatedBlockIdVariancePopulationPrimaryAccountAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_PRIMARY_ACCOUNT_ASC', - IdentitiesByUpdatedBlockIdVariancePopulationPrimaryAccountDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_PRIMARY_ACCOUNT_DESC', - IdentitiesByUpdatedBlockIdVariancePopulationSecondaryKeysFrozenAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_SECONDARY_KEYS_FROZEN_ASC', - IdentitiesByUpdatedBlockIdVariancePopulationSecondaryKeysFrozenDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_SECONDARY_KEYS_FROZEN_DESC', - IdentitiesByUpdatedBlockIdVariancePopulationUpdatedAtAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - IdentitiesByUpdatedBlockIdVariancePopulationUpdatedAtDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - IdentitiesByUpdatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - IdentitiesByUpdatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - IdentitiesByUpdatedBlockIdVarianceSampleCreatedAtAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - IdentitiesByUpdatedBlockIdVarianceSampleCreatedAtDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - IdentitiesByUpdatedBlockIdVarianceSampleCreatedBlockIdAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - IdentitiesByUpdatedBlockIdVarianceSampleCreatedBlockIdDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - IdentitiesByUpdatedBlockIdVarianceSampleDatetimeAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_DATETIME_ASC', - IdentitiesByUpdatedBlockIdVarianceSampleDatetimeDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_DATETIME_DESC', - IdentitiesByUpdatedBlockIdVarianceSampleDidAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_DID_ASC', - IdentitiesByUpdatedBlockIdVarianceSampleDidDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_DID_DESC', - IdentitiesByUpdatedBlockIdVarianceSampleEventIdAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_ID_ASC', - IdentitiesByUpdatedBlockIdVarianceSampleEventIdDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_ID_DESC', - IdentitiesByUpdatedBlockIdVarianceSampleIdAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - IdentitiesByUpdatedBlockIdVarianceSampleIdDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - IdentitiesByUpdatedBlockIdVarianceSamplePrimaryAccountAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_PRIMARY_ACCOUNT_ASC', - IdentitiesByUpdatedBlockIdVarianceSamplePrimaryAccountDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_PRIMARY_ACCOUNT_DESC', - IdentitiesByUpdatedBlockIdVarianceSampleSecondaryKeysFrozenAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_SECONDARY_KEYS_FROZEN_ASC', - IdentitiesByUpdatedBlockIdVarianceSampleSecondaryKeysFrozenDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_SECONDARY_KEYS_FROZEN_DESC', - IdentitiesByUpdatedBlockIdVarianceSampleUpdatedAtAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - IdentitiesByUpdatedBlockIdVarianceSampleUpdatedAtDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - IdentitiesByUpdatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - IdentitiesByUpdatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'IDENTITIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - IdAsc = 'ID_ASC', - IdDesc = 'ID_DESC', - InstructionsByCreatedBlockIdAverageCreatedAtAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - InstructionsByCreatedBlockIdAverageCreatedAtDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - InstructionsByCreatedBlockIdAverageCreatedBlockIdAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - InstructionsByCreatedBlockIdAverageCreatedBlockIdDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - InstructionsByCreatedBlockIdAverageEndBlockAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_AVERAGE_END_BLOCK_ASC', - InstructionsByCreatedBlockIdAverageEndBlockDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_AVERAGE_END_BLOCK_DESC', - InstructionsByCreatedBlockIdAverageEventIdxAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_IDX_ASC', - InstructionsByCreatedBlockIdAverageEventIdxDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_IDX_DESC', - InstructionsByCreatedBlockIdAverageEventIdAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_ID_ASC', - InstructionsByCreatedBlockIdAverageEventIdDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_ID_DESC', - InstructionsByCreatedBlockIdAverageIdAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_AVERAGE_ID_ASC', - InstructionsByCreatedBlockIdAverageIdDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_AVERAGE_ID_DESC', - InstructionsByCreatedBlockIdAverageMemoAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_AVERAGE_MEMO_ASC', - InstructionsByCreatedBlockIdAverageMemoDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_AVERAGE_MEMO_DESC', - InstructionsByCreatedBlockIdAverageSettlementTypeAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_AVERAGE_SETTLEMENT_TYPE_ASC', - InstructionsByCreatedBlockIdAverageSettlementTypeDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_AVERAGE_SETTLEMENT_TYPE_DESC', - InstructionsByCreatedBlockIdAverageStatusAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_AVERAGE_STATUS_ASC', - InstructionsByCreatedBlockIdAverageStatusDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_AVERAGE_STATUS_DESC', - InstructionsByCreatedBlockIdAverageTradeDateAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_AVERAGE_TRADE_DATE_ASC', - InstructionsByCreatedBlockIdAverageTradeDateDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_AVERAGE_TRADE_DATE_DESC', - InstructionsByCreatedBlockIdAverageUpdatedAtAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - InstructionsByCreatedBlockIdAverageUpdatedAtDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - InstructionsByCreatedBlockIdAverageUpdatedBlockIdAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - InstructionsByCreatedBlockIdAverageUpdatedBlockIdDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - InstructionsByCreatedBlockIdAverageValueDateAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_AVERAGE_VALUE_DATE_ASC', - InstructionsByCreatedBlockIdAverageValueDateDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_AVERAGE_VALUE_DATE_DESC', - InstructionsByCreatedBlockIdAverageVenueIdAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_AVERAGE_VENUE_ID_ASC', - InstructionsByCreatedBlockIdAverageVenueIdDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_AVERAGE_VENUE_ID_DESC', - InstructionsByCreatedBlockIdCountAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_COUNT_ASC', - InstructionsByCreatedBlockIdCountDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_COUNT_DESC', - InstructionsByCreatedBlockIdDistinctCountCreatedAtAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - InstructionsByCreatedBlockIdDistinctCountCreatedAtDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - InstructionsByCreatedBlockIdDistinctCountCreatedBlockIdAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - InstructionsByCreatedBlockIdDistinctCountCreatedBlockIdDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - InstructionsByCreatedBlockIdDistinctCountEndBlockAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_END_BLOCK_ASC', - InstructionsByCreatedBlockIdDistinctCountEndBlockDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_END_BLOCK_DESC', - InstructionsByCreatedBlockIdDistinctCountEventIdxAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_ASC', - InstructionsByCreatedBlockIdDistinctCountEventIdxDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_DESC', - InstructionsByCreatedBlockIdDistinctCountEventIdAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_ID_ASC', - InstructionsByCreatedBlockIdDistinctCountEventIdDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_ID_DESC', - InstructionsByCreatedBlockIdDistinctCountIdAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - InstructionsByCreatedBlockIdDistinctCountIdDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - InstructionsByCreatedBlockIdDistinctCountMemoAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_MEMO_ASC', - InstructionsByCreatedBlockIdDistinctCountMemoDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_MEMO_DESC', - InstructionsByCreatedBlockIdDistinctCountSettlementTypeAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_SETTLEMENT_TYPE_ASC', - InstructionsByCreatedBlockIdDistinctCountSettlementTypeDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_SETTLEMENT_TYPE_DESC', - InstructionsByCreatedBlockIdDistinctCountStatusAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_STATUS_ASC', - InstructionsByCreatedBlockIdDistinctCountStatusDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_STATUS_DESC', - InstructionsByCreatedBlockIdDistinctCountTradeDateAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TRADE_DATE_ASC', - InstructionsByCreatedBlockIdDistinctCountTradeDateDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TRADE_DATE_DESC', - InstructionsByCreatedBlockIdDistinctCountUpdatedAtAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - InstructionsByCreatedBlockIdDistinctCountUpdatedAtDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - InstructionsByCreatedBlockIdDistinctCountUpdatedBlockIdAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - InstructionsByCreatedBlockIdDistinctCountUpdatedBlockIdDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - InstructionsByCreatedBlockIdDistinctCountValueDateAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_VALUE_DATE_ASC', - InstructionsByCreatedBlockIdDistinctCountValueDateDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_VALUE_DATE_DESC', - InstructionsByCreatedBlockIdDistinctCountVenueIdAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_VENUE_ID_ASC', - InstructionsByCreatedBlockIdDistinctCountVenueIdDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_VENUE_ID_DESC', - InstructionsByCreatedBlockIdMaxCreatedAtAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_ASC', - InstructionsByCreatedBlockIdMaxCreatedAtDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_DESC', - InstructionsByCreatedBlockIdMaxCreatedBlockIdAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - InstructionsByCreatedBlockIdMaxCreatedBlockIdDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - InstructionsByCreatedBlockIdMaxEndBlockAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_MAX_END_BLOCK_ASC', - InstructionsByCreatedBlockIdMaxEndBlockDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_MAX_END_BLOCK_DESC', - InstructionsByCreatedBlockIdMaxEventIdxAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_MAX_EVENT_IDX_ASC', - InstructionsByCreatedBlockIdMaxEventIdxDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_MAX_EVENT_IDX_DESC', - InstructionsByCreatedBlockIdMaxEventIdAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_MAX_EVENT_ID_ASC', - InstructionsByCreatedBlockIdMaxEventIdDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_MAX_EVENT_ID_DESC', - InstructionsByCreatedBlockIdMaxIdAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_MAX_ID_ASC', - InstructionsByCreatedBlockIdMaxIdDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_MAX_ID_DESC', - InstructionsByCreatedBlockIdMaxMemoAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_MAX_MEMO_ASC', - InstructionsByCreatedBlockIdMaxMemoDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_MAX_MEMO_DESC', - InstructionsByCreatedBlockIdMaxSettlementTypeAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_MAX_SETTLEMENT_TYPE_ASC', - InstructionsByCreatedBlockIdMaxSettlementTypeDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_MAX_SETTLEMENT_TYPE_DESC', - InstructionsByCreatedBlockIdMaxStatusAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_MAX_STATUS_ASC', - InstructionsByCreatedBlockIdMaxStatusDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_MAX_STATUS_DESC', - InstructionsByCreatedBlockIdMaxTradeDateAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_MAX_TRADE_DATE_ASC', - InstructionsByCreatedBlockIdMaxTradeDateDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_MAX_TRADE_DATE_DESC', - InstructionsByCreatedBlockIdMaxUpdatedAtAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - InstructionsByCreatedBlockIdMaxUpdatedAtDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - InstructionsByCreatedBlockIdMaxUpdatedBlockIdAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - InstructionsByCreatedBlockIdMaxUpdatedBlockIdDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - InstructionsByCreatedBlockIdMaxValueDateAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_MAX_VALUE_DATE_ASC', - InstructionsByCreatedBlockIdMaxValueDateDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_MAX_VALUE_DATE_DESC', - InstructionsByCreatedBlockIdMaxVenueIdAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_MAX_VENUE_ID_ASC', - InstructionsByCreatedBlockIdMaxVenueIdDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_MAX_VENUE_ID_DESC', - InstructionsByCreatedBlockIdMinCreatedAtAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_ASC', - InstructionsByCreatedBlockIdMinCreatedAtDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_DESC', - InstructionsByCreatedBlockIdMinCreatedBlockIdAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - InstructionsByCreatedBlockIdMinCreatedBlockIdDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - InstructionsByCreatedBlockIdMinEndBlockAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_MIN_END_BLOCK_ASC', - InstructionsByCreatedBlockIdMinEndBlockDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_MIN_END_BLOCK_DESC', - InstructionsByCreatedBlockIdMinEventIdxAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_MIN_EVENT_IDX_ASC', - InstructionsByCreatedBlockIdMinEventIdxDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_MIN_EVENT_IDX_DESC', - InstructionsByCreatedBlockIdMinEventIdAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_MIN_EVENT_ID_ASC', - InstructionsByCreatedBlockIdMinEventIdDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_MIN_EVENT_ID_DESC', - InstructionsByCreatedBlockIdMinIdAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_MIN_ID_ASC', - InstructionsByCreatedBlockIdMinIdDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_MIN_ID_DESC', - InstructionsByCreatedBlockIdMinMemoAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_MIN_MEMO_ASC', - InstructionsByCreatedBlockIdMinMemoDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_MIN_MEMO_DESC', - InstructionsByCreatedBlockIdMinSettlementTypeAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_MIN_SETTLEMENT_TYPE_ASC', - InstructionsByCreatedBlockIdMinSettlementTypeDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_MIN_SETTLEMENT_TYPE_DESC', - InstructionsByCreatedBlockIdMinStatusAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_MIN_STATUS_ASC', - InstructionsByCreatedBlockIdMinStatusDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_MIN_STATUS_DESC', - InstructionsByCreatedBlockIdMinTradeDateAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_MIN_TRADE_DATE_ASC', - InstructionsByCreatedBlockIdMinTradeDateDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_MIN_TRADE_DATE_DESC', - InstructionsByCreatedBlockIdMinUpdatedAtAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - InstructionsByCreatedBlockIdMinUpdatedAtDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - InstructionsByCreatedBlockIdMinUpdatedBlockIdAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - InstructionsByCreatedBlockIdMinUpdatedBlockIdDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - InstructionsByCreatedBlockIdMinValueDateAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_MIN_VALUE_DATE_ASC', - InstructionsByCreatedBlockIdMinValueDateDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_MIN_VALUE_DATE_DESC', - InstructionsByCreatedBlockIdMinVenueIdAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_MIN_VENUE_ID_ASC', - InstructionsByCreatedBlockIdMinVenueIdDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_MIN_VENUE_ID_DESC', - InstructionsByCreatedBlockIdStddevPopulationCreatedAtAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - InstructionsByCreatedBlockIdStddevPopulationCreatedAtDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - InstructionsByCreatedBlockIdStddevPopulationCreatedBlockIdAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - InstructionsByCreatedBlockIdStddevPopulationCreatedBlockIdDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - InstructionsByCreatedBlockIdStddevPopulationEndBlockAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_END_BLOCK_ASC', - InstructionsByCreatedBlockIdStddevPopulationEndBlockDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_END_BLOCK_DESC', - InstructionsByCreatedBlockIdStddevPopulationEventIdxAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_ASC', - InstructionsByCreatedBlockIdStddevPopulationEventIdxDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_DESC', - InstructionsByCreatedBlockIdStddevPopulationEventIdAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_ID_ASC', - InstructionsByCreatedBlockIdStddevPopulationEventIdDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_ID_DESC', - InstructionsByCreatedBlockIdStddevPopulationIdAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - InstructionsByCreatedBlockIdStddevPopulationIdDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - InstructionsByCreatedBlockIdStddevPopulationMemoAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_MEMO_ASC', - InstructionsByCreatedBlockIdStddevPopulationMemoDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_MEMO_DESC', - InstructionsByCreatedBlockIdStddevPopulationSettlementTypeAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_SETTLEMENT_TYPE_ASC', - InstructionsByCreatedBlockIdStddevPopulationSettlementTypeDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_SETTLEMENT_TYPE_DESC', - InstructionsByCreatedBlockIdStddevPopulationStatusAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_STATUS_ASC', - InstructionsByCreatedBlockIdStddevPopulationStatusDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_STATUS_DESC', - InstructionsByCreatedBlockIdStddevPopulationTradeDateAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TRADE_DATE_ASC', - InstructionsByCreatedBlockIdStddevPopulationTradeDateDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TRADE_DATE_DESC', - InstructionsByCreatedBlockIdStddevPopulationUpdatedAtAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - InstructionsByCreatedBlockIdStddevPopulationUpdatedAtDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - InstructionsByCreatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - InstructionsByCreatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - InstructionsByCreatedBlockIdStddevPopulationValueDateAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_VALUE_DATE_ASC', - InstructionsByCreatedBlockIdStddevPopulationValueDateDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_VALUE_DATE_DESC', - InstructionsByCreatedBlockIdStddevPopulationVenueIdAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_VENUE_ID_ASC', - InstructionsByCreatedBlockIdStddevPopulationVenueIdDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_VENUE_ID_DESC', - InstructionsByCreatedBlockIdStddevSampleCreatedAtAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - InstructionsByCreatedBlockIdStddevSampleCreatedAtDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - InstructionsByCreatedBlockIdStddevSampleCreatedBlockIdAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - InstructionsByCreatedBlockIdStddevSampleCreatedBlockIdDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - InstructionsByCreatedBlockIdStddevSampleEndBlockAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_END_BLOCK_ASC', - InstructionsByCreatedBlockIdStddevSampleEndBlockDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_END_BLOCK_DESC', - InstructionsByCreatedBlockIdStddevSampleEventIdxAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', - InstructionsByCreatedBlockIdStddevSampleEventIdxDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', - InstructionsByCreatedBlockIdStddevSampleEventIdAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_ID_ASC', - InstructionsByCreatedBlockIdStddevSampleEventIdDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_ID_DESC', - InstructionsByCreatedBlockIdStddevSampleIdAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - InstructionsByCreatedBlockIdStddevSampleIdDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - InstructionsByCreatedBlockIdStddevSampleMemoAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_MEMO_ASC', - InstructionsByCreatedBlockIdStddevSampleMemoDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_MEMO_DESC', - InstructionsByCreatedBlockIdStddevSampleSettlementTypeAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_SETTLEMENT_TYPE_ASC', - InstructionsByCreatedBlockIdStddevSampleSettlementTypeDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_SETTLEMENT_TYPE_DESC', - InstructionsByCreatedBlockIdStddevSampleStatusAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_STATUS_ASC', - InstructionsByCreatedBlockIdStddevSampleStatusDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_STATUS_DESC', - InstructionsByCreatedBlockIdStddevSampleTradeDateAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TRADE_DATE_ASC', - InstructionsByCreatedBlockIdStddevSampleTradeDateDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TRADE_DATE_DESC', - InstructionsByCreatedBlockIdStddevSampleUpdatedAtAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - InstructionsByCreatedBlockIdStddevSampleUpdatedAtDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - InstructionsByCreatedBlockIdStddevSampleUpdatedBlockIdAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - InstructionsByCreatedBlockIdStddevSampleUpdatedBlockIdDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - InstructionsByCreatedBlockIdStddevSampleValueDateAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_VALUE_DATE_ASC', - InstructionsByCreatedBlockIdStddevSampleValueDateDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_VALUE_DATE_DESC', - InstructionsByCreatedBlockIdStddevSampleVenueIdAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_VENUE_ID_ASC', - InstructionsByCreatedBlockIdStddevSampleVenueIdDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_VENUE_ID_DESC', - InstructionsByCreatedBlockIdSumCreatedAtAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_ASC', - InstructionsByCreatedBlockIdSumCreatedAtDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_DESC', - InstructionsByCreatedBlockIdSumCreatedBlockIdAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - InstructionsByCreatedBlockIdSumCreatedBlockIdDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - InstructionsByCreatedBlockIdSumEndBlockAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_SUM_END_BLOCK_ASC', - InstructionsByCreatedBlockIdSumEndBlockDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_SUM_END_BLOCK_DESC', - InstructionsByCreatedBlockIdSumEventIdxAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_SUM_EVENT_IDX_ASC', - InstructionsByCreatedBlockIdSumEventIdxDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_SUM_EVENT_IDX_DESC', - InstructionsByCreatedBlockIdSumEventIdAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_SUM_EVENT_ID_ASC', - InstructionsByCreatedBlockIdSumEventIdDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_SUM_EVENT_ID_DESC', - InstructionsByCreatedBlockIdSumIdAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_SUM_ID_ASC', - InstructionsByCreatedBlockIdSumIdDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_SUM_ID_DESC', - InstructionsByCreatedBlockIdSumMemoAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_SUM_MEMO_ASC', - InstructionsByCreatedBlockIdSumMemoDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_SUM_MEMO_DESC', - InstructionsByCreatedBlockIdSumSettlementTypeAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_SUM_SETTLEMENT_TYPE_ASC', - InstructionsByCreatedBlockIdSumSettlementTypeDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_SUM_SETTLEMENT_TYPE_DESC', - InstructionsByCreatedBlockIdSumStatusAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_SUM_STATUS_ASC', - InstructionsByCreatedBlockIdSumStatusDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_SUM_STATUS_DESC', - InstructionsByCreatedBlockIdSumTradeDateAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_SUM_TRADE_DATE_ASC', - InstructionsByCreatedBlockIdSumTradeDateDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_SUM_TRADE_DATE_DESC', - InstructionsByCreatedBlockIdSumUpdatedAtAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - InstructionsByCreatedBlockIdSumUpdatedAtDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - InstructionsByCreatedBlockIdSumUpdatedBlockIdAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - InstructionsByCreatedBlockIdSumUpdatedBlockIdDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - InstructionsByCreatedBlockIdSumValueDateAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_SUM_VALUE_DATE_ASC', - InstructionsByCreatedBlockIdSumValueDateDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_SUM_VALUE_DATE_DESC', - InstructionsByCreatedBlockIdSumVenueIdAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_SUM_VENUE_ID_ASC', - InstructionsByCreatedBlockIdSumVenueIdDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_SUM_VENUE_ID_DESC', - InstructionsByCreatedBlockIdVariancePopulationCreatedAtAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - InstructionsByCreatedBlockIdVariancePopulationCreatedAtDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - InstructionsByCreatedBlockIdVariancePopulationCreatedBlockIdAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - InstructionsByCreatedBlockIdVariancePopulationCreatedBlockIdDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - InstructionsByCreatedBlockIdVariancePopulationEndBlockAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_END_BLOCK_ASC', - InstructionsByCreatedBlockIdVariancePopulationEndBlockDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_END_BLOCK_DESC', - InstructionsByCreatedBlockIdVariancePopulationEventIdxAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', - InstructionsByCreatedBlockIdVariancePopulationEventIdxDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', - InstructionsByCreatedBlockIdVariancePopulationEventIdAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_ID_ASC', - InstructionsByCreatedBlockIdVariancePopulationEventIdDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_ID_DESC', - InstructionsByCreatedBlockIdVariancePopulationIdAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - InstructionsByCreatedBlockIdVariancePopulationIdDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - InstructionsByCreatedBlockIdVariancePopulationMemoAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_MEMO_ASC', - InstructionsByCreatedBlockIdVariancePopulationMemoDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_MEMO_DESC', - InstructionsByCreatedBlockIdVariancePopulationSettlementTypeAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_SETTLEMENT_TYPE_ASC', - InstructionsByCreatedBlockIdVariancePopulationSettlementTypeDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_SETTLEMENT_TYPE_DESC', - InstructionsByCreatedBlockIdVariancePopulationStatusAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_STATUS_ASC', - InstructionsByCreatedBlockIdVariancePopulationStatusDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_STATUS_DESC', - InstructionsByCreatedBlockIdVariancePopulationTradeDateAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TRADE_DATE_ASC', - InstructionsByCreatedBlockIdVariancePopulationTradeDateDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TRADE_DATE_DESC', - InstructionsByCreatedBlockIdVariancePopulationUpdatedAtAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - InstructionsByCreatedBlockIdVariancePopulationUpdatedAtDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - InstructionsByCreatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - InstructionsByCreatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - InstructionsByCreatedBlockIdVariancePopulationValueDateAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_VALUE_DATE_ASC', - InstructionsByCreatedBlockIdVariancePopulationValueDateDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_VALUE_DATE_DESC', - InstructionsByCreatedBlockIdVariancePopulationVenueIdAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_VENUE_ID_ASC', - InstructionsByCreatedBlockIdVariancePopulationVenueIdDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_VENUE_ID_DESC', - InstructionsByCreatedBlockIdVarianceSampleCreatedAtAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - InstructionsByCreatedBlockIdVarianceSampleCreatedAtDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - InstructionsByCreatedBlockIdVarianceSampleCreatedBlockIdAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - InstructionsByCreatedBlockIdVarianceSampleCreatedBlockIdDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - InstructionsByCreatedBlockIdVarianceSampleEndBlockAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_END_BLOCK_ASC', - InstructionsByCreatedBlockIdVarianceSampleEndBlockDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_END_BLOCK_DESC', - InstructionsByCreatedBlockIdVarianceSampleEventIdxAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', - InstructionsByCreatedBlockIdVarianceSampleEventIdxDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', - InstructionsByCreatedBlockIdVarianceSampleEventIdAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_ID_ASC', - InstructionsByCreatedBlockIdVarianceSampleEventIdDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_ID_DESC', - InstructionsByCreatedBlockIdVarianceSampleIdAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - InstructionsByCreatedBlockIdVarianceSampleIdDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - InstructionsByCreatedBlockIdVarianceSampleMemoAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_MEMO_ASC', - InstructionsByCreatedBlockIdVarianceSampleMemoDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_MEMO_DESC', - InstructionsByCreatedBlockIdVarianceSampleSettlementTypeAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_SETTLEMENT_TYPE_ASC', - InstructionsByCreatedBlockIdVarianceSampleSettlementTypeDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_SETTLEMENT_TYPE_DESC', - InstructionsByCreatedBlockIdVarianceSampleStatusAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_STATUS_ASC', - InstructionsByCreatedBlockIdVarianceSampleStatusDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_STATUS_DESC', - InstructionsByCreatedBlockIdVarianceSampleTradeDateAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TRADE_DATE_ASC', - InstructionsByCreatedBlockIdVarianceSampleTradeDateDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TRADE_DATE_DESC', - InstructionsByCreatedBlockIdVarianceSampleUpdatedAtAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - InstructionsByCreatedBlockIdVarianceSampleUpdatedAtDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - InstructionsByCreatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - InstructionsByCreatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - InstructionsByCreatedBlockIdVarianceSampleValueDateAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_VALUE_DATE_ASC', - InstructionsByCreatedBlockIdVarianceSampleValueDateDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_VALUE_DATE_DESC', - InstructionsByCreatedBlockIdVarianceSampleVenueIdAsc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_VENUE_ID_ASC', - InstructionsByCreatedBlockIdVarianceSampleVenueIdDesc = 'INSTRUCTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_VENUE_ID_DESC', - InstructionsByUpdatedBlockIdAverageCreatedAtAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - InstructionsByUpdatedBlockIdAverageCreatedAtDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - InstructionsByUpdatedBlockIdAverageCreatedBlockIdAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - InstructionsByUpdatedBlockIdAverageCreatedBlockIdDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - InstructionsByUpdatedBlockIdAverageEndBlockAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_END_BLOCK_ASC', - InstructionsByUpdatedBlockIdAverageEndBlockDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_END_BLOCK_DESC', - InstructionsByUpdatedBlockIdAverageEventIdxAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_IDX_ASC', - InstructionsByUpdatedBlockIdAverageEventIdxDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_IDX_DESC', - InstructionsByUpdatedBlockIdAverageEventIdAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_ID_ASC', - InstructionsByUpdatedBlockIdAverageEventIdDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_ID_DESC', - InstructionsByUpdatedBlockIdAverageIdAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_ASC', - InstructionsByUpdatedBlockIdAverageIdDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_DESC', - InstructionsByUpdatedBlockIdAverageMemoAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_MEMO_ASC', - InstructionsByUpdatedBlockIdAverageMemoDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_MEMO_DESC', - InstructionsByUpdatedBlockIdAverageSettlementTypeAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_SETTLEMENT_TYPE_ASC', - InstructionsByUpdatedBlockIdAverageSettlementTypeDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_SETTLEMENT_TYPE_DESC', - InstructionsByUpdatedBlockIdAverageStatusAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_STATUS_ASC', - InstructionsByUpdatedBlockIdAverageStatusDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_STATUS_DESC', - InstructionsByUpdatedBlockIdAverageTradeDateAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_TRADE_DATE_ASC', - InstructionsByUpdatedBlockIdAverageTradeDateDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_TRADE_DATE_DESC', - InstructionsByUpdatedBlockIdAverageUpdatedAtAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - InstructionsByUpdatedBlockIdAverageUpdatedAtDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - InstructionsByUpdatedBlockIdAverageUpdatedBlockIdAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - InstructionsByUpdatedBlockIdAverageUpdatedBlockIdDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - InstructionsByUpdatedBlockIdAverageValueDateAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_VALUE_DATE_ASC', - InstructionsByUpdatedBlockIdAverageValueDateDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_VALUE_DATE_DESC', - InstructionsByUpdatedBlockIdAverageVenueIdAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_VENUE_ID_ASC', - InstructionsByUpdatedBlockIdAverageVenueIdDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_VENUE_ID_DESC', - InstructionsByUpdatedBlockIdCountAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_COUNT_ASC', - InstructionsByUpdatedBlockIdCountDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_COUNT_DESC', - InstructionsByUpdatedBlockIdDistinctCountCreatedAtAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - InstructionsByUpdatedBlockIdDistinctCountCreatedAtDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - InstructionsByUpdatedBlockIdDistinctCountCreatedBlockIdAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - InstructionsByUpdatedBlockIdDistinctCountCreatedBlockIdDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - InstructionsByUpdatedBlockIdDistinctCountEndBlockAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_END_BLOCK_ASC', - InstructionsByUpdatedBlockIdDistinctCountEndBlockDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_END_BLOCK_DESC', - InstructionsByUpdatedBlockIdDistinctCountEventIdxAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_ASC', - InstructionsByUpdatedBlockIdDistinctCountEventIdxDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_DESC', - InstructionsByUpdatedBlockIdDistinctCountEventIdAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_ID_ASC', - InstructionsByUpdatedBlockIdDistinctCountEventIdDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_ID_DESC', - InstructionsByUpdatedBlockIdDistinctCountIdAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - InstructionsByUpdatedBlockIdDistinctCountIdDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - InstructionsByUpdatedBlockIdDistinctCountMemoAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_MEMO_ASC', - InstructionsByUpdatedBlockIdDistinctCountMemoDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_MEMO_DESC', - InstructionsByUpdatedBlockIdDistinctCountSettlementTypeAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_SETTLEMENT_TYPE_ASC', - InstructionsByUpdatedBlockIdDistinctCountSettlementTypeDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_SETTLEMENT_TYPE_DESC', - InstructionsByUpdatedBlockIdDistinctCountStatusAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_STATUS_ASC', - InstructionsByUpdatedBlockIdDistinctCountStatusDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_STATUS_DESC', - InstructionsByUpdatedBlockIdDistinctCountTradeDateAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TRADE_DATE_ASC', - InstructionsByUpdatedBlockIdDistinctCountTradeDateDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TRADE_DATE_DESC', - InstructionsByUpdatedBlockIdDistinctCountUpdatedAtAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - InstructionsByUpdatedBlockIdDistinctCountUpdatedAtDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - InstructionsByUpdatedBlockIdDistinctCountUpdatedBlockIdAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - InstructionsByUpdatedBlockIdDistinctCountUpdatedBlockIdDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - InstructionsByUpdatedBlockIdDistinctCountValueDateAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_VALUE_DATE_ASC', - InstructionsByUpdatedBlockIdDistinctCountValueDateDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_VALUE_DATE_DESC', - InstructionsByUpdatedBlockIdDistinctCountVenueIdAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_VENUE_ID_ASC', - InstructionsByUpdatedBlockIdDistinctCountVenueIdDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_VENUE_ID_DESC', - InstructionsByUpdatedBlockIdMaxCreatedAtAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_ASC', - InstructionsByUpdatedBlockIdMaxCreatedAtDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_DESC', - InstructionsByUpdatedBlockIdMaxCreatedBlockIdAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - InstructionsByUpdatedBlockIdMaxCreatedBlockIdDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - InstructionsByUpdatedBlockIdMaxEndBlockAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_MAX_END_BLOCK_ASC', - InstructionsByUpdatedBlockIdMaxEndBlockDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_MAX_END_BLOCK_DESC', - InstructionsByUpdatedBlockIdMaxEventIdxAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_MAX_EVENT_IDX_ASC', - InstructionsByUpdatedBlockIdMaxEventIdxDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_MAX_EVENT_IDX_DESC', - InstructionsByUpdatedBlockIdMaxEventIdAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_MAX_EVENT_ID_ASC', - InstructionsByUpdatedBlockIdMaxEventIdDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_MAX_EVENT_ID_DESC', - InstructionsByUpdatedBlockIdMaxIdAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_MAX_ID_ASC', - InstructionsByUpdatedBlockIdMaxIdDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_MAX_ID_DESC', - InstructionsByUpdatedBlockIdMaxMemoAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_MAX_MEMO_ASC', - InstructionsByUpdatedBlockIdMaxMemoDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_MAX_MEMO_DESC', - InstructionsByUpdatedBlockIdMaxSettlementTypeAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_MAX_SETTLEMENT_TYPE_ASC', - InstructionsByUpdatedBlockIdMaxSettlementTypeDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_MAX_SETTLEMENT_TYPE_DESC', - InstructionsByUpdatedBlockIdMaxStatusAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_MAX_STATUS_ASC', - InstructionsByUpdatedBlockIdMaxStatusDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_MAX_STATUS_DESC', - InstructionsByUpdatedBlockIdMaxTradeDateAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_MAX_TRADE_DATE_ASC', - InstructionsByUpdatedBlockIdMaxTradeDateDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_MAX_TRADE_DATE_DESC', - InstructionsByUpdatedBlockIdMaxUpdatedAtAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - InstructionsByUpdatedBlockIdMaxUpdatedAtDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - InstructionsByUpdatedBlockIdMaxUpdatedBlockIdAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - InstructionsByUpdatedBlockIdMaxUpdatedBlockIdDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - InstructionsByUpdatedBlockIdMaxValueDateAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_MAX_VALUE_DATE_ASC', - InstructionsByUpdatedBlockIdMaxValueDateDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_MAX_VALUE_DATE_DESC', - InstructionsByUpdatedBlockIdMaxVenueIdAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_MAX_VENUE_ID_ASC', - InstructionsByUpdatedBlockIdMaxVenueIdDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_MAX_VENUE_ID_DESC', - InstructionsByUpdatedBlockIdMinCreatedAtAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_ASC', - InstructionsByUpdatedBlockIdMinCreatedAtDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_DESC', - InstructionsByUpdatedBlockIdMinCreatedBlockIdAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - InstructionsByUpdatedBlockIdMinCreatedBlockIdDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - InstructionsByUpdatedBlockIdMinEndBlockAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_MIN_END_BLOCK_ASC', - InstructionsByUpdatedBlockIdMinEndBlockDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_MIN_END_BLOCK_DESC', - InstructionsByUpdatedBlockIdMinEventIdxAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_MIN_EVENT_IDX_ASC', - InstructionsByUpdatedBlockIdMinEventIdxDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_MIN_EVENT_IDX_DESC', - InstructionsByUpdatedBlockIdMinEventIdAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_MIN_EVENT_ID_ASC', - InstructionsByUpdatedBlockIdMinEventIdDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_MIN_EVENT_ID_DESC', - InstructionsByUpdatedBlockIdMinIdAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_MIN_ID_ASC', - InstructionsByUpdatedBlockIdMinIdDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_MIN_ID_DESC', - InstructionsByUpdatedBlockIdMinMemoAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_MIN_MEMO_ASC', - InstructionsByUpdatedBlockIdMinMemoDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_MIN_MEMO_DESC', - InstructionsByUpdatedBlockIdMinSettlementTypeAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_MIN_SETTLEMENT_TYPE_ASC', - InstructionsByUpdatedBlockIdMinSettlementTypeDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_MIN_SETTLEMENT_TYPE_DESC', - InstructionsByUpdatedBlockIdMinStatusAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_MIN_STATUS_ASC', - InstructionsByUpdatedBlockIdMinStatusDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_MIN_STATUS_DESC', - InstructionsByUpdatedBlockIdMinTradeDateAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_MIN_TRADE_DATE_ASC', - InstructionsByUpdatedBlockIdMinTradeDateDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_MIN_TRADE_DATE_DESC', - InstructionsByUpdatedBlockIdMinUpdatedAtAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - InstructionsByUpdatedBlockIdMinUpdatedAtDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - InstructionsByUpdatedBlockIdMinUpdatedBlockIdAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - InstructionsByUpdatedBlockIdMinUpdatedBlockIdDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - InstructionsByUpdatedBlockIdMinValueDateAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_MIN_VALUE_DATE_ASC', - InstructionsByUpdatedBlockIdMinValueDateDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_MIN_VALUE_DATE_DESC', - InstructionsByUpdatedBlockIdMinVenueIdAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_MIN_VENUE_ID_ASC', - InstructionsByUpdatedBlockIdMinVenueIdDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_MIN_VENUE_ID_DESC', - InstructionsByUpdatedBlockIdStddevPopulationCreatedAtAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - InstructionsByUpdatedBlockIdStddevPopulationCreatedAtDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - InstructionsByUpdatedBlockIdStddevPopulationCreatedBlockIdAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - InstructionsByUpdatedBlockIdStddevPopulationCreatedBlockIdDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - InstructionsByUpdatedBlockIdStddevPopulationEndBlockAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_END_BLOCK_ASC', - InstructionsByUpdatedBlockIdStddevPopulationEndBlockDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_END_BLOCK_DESC', - InstructionsByUpdatedBlockIdStddevPopulationEventIdxAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_ASC', - InstructionsByUpdatedBlockIdStddevPopulationEventIdxDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_DESC', - InstructionsByUpdatedBlockIdStddevPopulationEventIdAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_ID_ASC', - InstructionsByUpdatedBlockIdStddevPopulationEventIdDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_ID_DESC', - InstructionsByUpdatedBlockIdStddevPopulationIdAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - InstructionsByUpdatedBlockIdStddevPopulationIdDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - InstructionsByUpdatedBlockIdStddevPopulationMemoAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_MEMO_ASC', - InstructionsByUpdatedBlockIdStddevPopulationMemoDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_MEMO_DESC', - InstructionsByUpdatedBlockIdStddevPopulationSettlementTypeAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_SETTLEMENT_TYPE_ASC', - InstructionsByUpdatedBlockIdStddevPopulationSettlementTypeDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_SETTLEMENT_TYPE_DESC', - InstructionsByUpdatedBlockIdStddevPopulationStatusAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_STATUS_ASC', - InstructionsByUpdatedBlockIdStddevPopulationStatusDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_STATUS_DESC', - InstructionsByUpdatedBlockIdStddevPopulationTradeDateAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TRADE_DATE_ASC', - InstructionsByUpdatedBlockIdStddevPopulationTradeDateDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TRADE_DATE_DESC', - InstructionsByUpdatedBlockIdStddevPopulationUpdatedAtAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - InstructionsByUpdatedBlockIdStddevPopulationUpdatedAtDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - InstructionsByUpdatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - InstructionsByUpdatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - InstructionsByUpdatedBlockIdStddevPopulationValueDateAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_VALUE_DATE_ASC', - InstructionsByUpdatedBlockIdStddevPopulationValueDateDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_VALUE_DATE_DESC', - InstructionsByUpdatedBlockIdStddevPopulationVenueIdAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_VENUE_ID_ASC', - InstructionsByUpdatedBlockIdStddevPopulationVenueIdDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_VENUE_ID_DESC', - InstructionsByUpdatedBlockIdStddevSampleCreatedAtAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - InstructionsByUpdatedBlockIdStddevSampleCreatedAtDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - InstructionsByUpdatedBlockIdStddevSampleCreatedBlockIdAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - InstructionsByUpdatedBlockIdStddevSampleCreatedBlockIdDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - InstructionsByUpdatedBlockIdStddevSampleEndBlockAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_END_BLOCK_ASC', - InstructionsByUpdatedBlockIdStddevSampleEndBlockDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_END_BLOCK_DESC', - InstructionsByUpdatedBlockIdStddevSampleEventIdxAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', - InstructionsByUpdatedBlockIdStddevSampleEventIdxDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', - InstructionsByUpdatedBlockIdStddevSampleEventIdAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_ID_ASC', - InstructionsByUpdatedBlockIdStddevSampleEventIdDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_ID_DESC', - InstructionsByUpdatedBlockIdStddevSampleIdAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - InstructionsByUpdatedBlockIdStddevSampleIdDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - InstructionsByUpdatedBlockIdStddevSampleMemoAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_MEMO_ASC', - InstructionsByUpdatedBlockIdStddevSampleMemoDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_MEMO_DESC', - InstructionsByUpdatedBlockIdStddevSampleSettlementTypeAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_SETTLEMENT_TYPE_ASC', - InstructionsByUpdatedBlockIdStddevSampleSettlementTypeDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_SETTLEMENT_TYPE_DESC', - InstructionsByUpdatedBlockIdStddevSampleStatusAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_STATUS_ASC', - InstructionsByUpdatedBlockIdStddevSampleStatusDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_STATUS_DESC', - InstructionsByUpdatedBlockIdStddevSampleTradeDateAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TRADE_DATE_ASC', - InstructionsByUpdatedBlockIdStddevSampleTradeDateDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TRADE_DATE_DESC', - InstructionsByUpdatedBlockIdStddevSampleUpdatedAtAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - InstructionsByUpdatedBlockIdStddevSampleUpdatedAtDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - InstructionsByUpdatedBlockIdStddevSampleUpdatedBlockIdAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - InstructionsByUpdatedBlockIdStddevSampleUpdatedBlockIdDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - InstructionsByUpdatedBlockIdStddevSampleValueDateAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_VALUE_DATE_ASC', - InstructionsByUpdatedBlockIdStddevSampleValueDateDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_VALUE_DATE_DESC', - InstructionsByUpdatedBlockIdStddevSampleVenueIdAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_VENUE_ID_ASC', - InstructionsByUpdatedBlockIdStddevSampleVenueIdDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_VENUE_ID_DESC', - InstructionsByUpdatedBlockIdSumCreatedAtAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_ASC', - InstructionsByUpdatedBlockIdSumCreatedAtDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_DESC', - InstructionsByUpdatedBlockIdSumCreatedBlockIdAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - InstructionsByUpdatedBlockIdSumCreatedBlockIdDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - InstructionsByUpdatedBlockIdSumEndBlockAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_SUM_END_BLOCK_ASC', - InstructionsByUpdatedBlockIdSumEndBlockDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_SUM_END_BLOCK_DESC', - InstructionsByUpdatedBlockIdSumEventIdxAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_SUM_EVENT_IDX_ASC', - InstructionsByUpdatedBlockIdSumEventIdxDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_SUM_EVENT_IDX_DESC', - InstructionsByUpdatedBlockIdSumEventIdAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_SUM_EVENT_ID_ASC', - InstructionsByUpdatedBlockIdSumEventIdDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_SUM_EVENT_ID_DESC', - InstructionsByUpdatedBlockIdSumIdAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_SUM_ID_ASC', - InstructionsByUpdatedBlockIdSumIdDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_SUM_ID_DESC', - InstructionsByUpdatedBlockIdSumMemoAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_SUM_MEMO_ASC', - InstructionsByUpdatedBlockIdSumMemoDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_SUM_MEMO_DESC', - InstructionsByUpdatedBlockIdSumSettlementTypeAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_SUM_SETTLEMENT_TYPE_ASC', - InstructionsByUpdatedBlockIdSumSettlementTypeDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_SUM_SETTLEMENT_TYPE_DESC', - InstructionsByUpdatedBlockIdSumStatusAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_SUM_STATUS_ASC', - InstructionsByUpdatedBlockIdSumStatusDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_SUM_STATUS_DESC', - InstructionsByUpdatedBlockIdSumTradeDateAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_SUM_TRADE_DATE_ASC', - InstructionsByUpdatedBlockIdSumTradeDateDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_SUM_TRADE_DATE_DESC', - InstructionsByUpdatedBlockIdSumUpdatedAtAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - InstructionsByUpdatedBlockIdSumUpdatedAtDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - InstructionsByUpdatedBlockIdSumUpdatedBlockIdAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - InstructionsByUpdatedBlockIdSumUpdatedBlockIdDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - InstructionsByUpdatedBlockIdSumValueDateAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_SUM_VALUE_DATE_ASC', - InstructionsByUpdatedBlockIdSumValueDateDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_SUM_VALUE_DATE_DESC', - InstructionsByUpdatedBlockIdSumVenueIdAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_SUM_VENUE_ID_ASC', - InstructionsByUpdatedBlockIdSumVenueIdDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_SUM_VENUE_ID_DESC', - InstructionsByUpdatedBlockIdVariancePopulationCreatedAtAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - InstructionsByUpdatedBlockIdVariancePopulationCreatedAtDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - InstructionsByUpdatedBlockIdVariancePopulationCreatedBlockIdAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - InstructionsByUpdatedBlockIdVariancePopulationCreatedBlockIdDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - InstructionsByUpdatedBlockIdVariancePopulationEndBlockAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_END_BLOCK_ASC', - InstructionsByUpdatedBlockIdVariancePopulationEndBlockDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_END_BLOCK_DESC', - InstructionsByUpdatedBlockIdVariancePopulationEventIdxAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', - InstructionsByUpdatedBlockIdVariancePopulationEventIdxDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', - InstructionsByUpdatedBlockIdVariancePopulationEventIdAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_ID_ASC', - InstructionsByUpdatedBlockIdVariancePopulationEventIdDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_ID_DESC', - InstructionsByUpdatedBlockIdVariancePopulationIdAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - InstructionsByUpdatedBlockIdVariancePopulationIdDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - InstructionsByUpdatedBlockIdVariancePopulationMemoAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_MEMO_ASC', - InstructionsByUpdatedBlockIdVariancePopulationMemoDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_MEMO_DESC', - InstructionsByUpdatedBlockIdVariancePopulationSettlementTypeAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_SETTLEMENT_TYPE_ASC', - InstructionsByUpdatedBlockIdVariancePopulationSettlementTypeDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_SETTLEMENT_TYPE_DESC', - InstructionsByUpdatedBlockIdVariancePopulationStatusAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_STATUS_ASC', - InstructionsByUpdatedBlockIdVariancePopulationStatusDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_STATUS_DESC', - InstructionsByUpdatedBlockIdVariancePopulationTradeDateAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TRADE_DATE_ASC', - InstructionsByUpdatedBlockIdVariancePopulationTradeDateDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TRADE_DATE_DESC', - InstructionsByUpdatedBlockIdVariancePopulationUpdatedAtAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - InstructionsByUpdatedBlockIdVariancePopulationUpdatedAtDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - InstructionsByUpdatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - InstructionsByUpdatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - InstructionsByUpdatedBlockIdVariancePopulationValueDateAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_VALUE_DATE_ASC', - InstructionsByUpdatedBlockIdVariancePopulationValueDateDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_VALUE_DATE_DESC', - InstructionsByUpdatedBlockIdVariancePopulationVenueIdAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_VENUE_ID_ASC', - InstructionsByUpdatedBlockIdVariancePopulationVenueIdDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_VENUE_ID_DESC', - InstructionsByUpdatedBlockIdVarianceSampleCreatedAtAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - InstructionsByUpdatedBlockIdVarianceSampleCreatedAtDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - InstructionsByUpdatedBlockIdVarianceSampleCreatedBlockIdAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - InstructionsByUpdatedBlockIdVarianceSampleCreatedBlockIdDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - InstructionsByUpdatedBlockIdVarianceSampleEndBlockAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_END_BLOCK_ASC', - InstructionsByUpdatedBlockIdVarianceSampleEndBlockDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_END_BLOCK_DESC', - InstructionsByUpdatedBlockIdVarianceSampleEventIdxAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', - InstructionsByUpdatedBlockIdVarianceSampleEventIdxDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', - InstructionsByUpdatedBlockIdVarianceSampleEventIdAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_ID_ASC', - InstructionsByUpdatedBlockIdVarianceSampleEventIdDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_ID_DESC', - InstructionsByUpdatedBlockIdVarianceSampleIdAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - InstructionsByUpdatedBlockIdVarianceSampleIdDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - InstructionsByUpdatedBlockIdVarianceSampleMemoAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_MEMO_ASC', - InstructionsByUpdatedBlockIdVarianceSampleMemoDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_MEMO_DESC', - InstructionsByUpdatedBlockIdVarianceSampleSettlementTypeAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_SETTLEMENT_TYPE_ASC', - InstructionsByUpdatedBlockIdVarianceSampleSettlementTypeDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_SETTLEMENT_TYPE_DESC', - InstructionsByUpdatedBlockIdVarianceSampleStatusAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_STATUS_ASC', - InstructionsByUpdatedBlockIdVarianceSampleStatusDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_STATUS_DESC', - InstructionsByUpdatedBlockIdVarianceSampleTradeDateAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TRADE_DATE_ASC', - InstructionsByUpdatedBlockIdVarianceSampleTradeDateDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TRADE_DATE_DESC', - InstructionsByUpdatedBlockIdVarianceSampleUpdatedAtAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - InstructionsByUpdatedBlockIdVarianceSampleUpdatedAtDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - InstructionsByUpdatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - InstructionsByUpdatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - InstructionsByUpdatedBlockIdVarianceSampleValueDateAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_VALUE_DATE_ASC', - InstructionsByUpdatedBlockIdVarianceSampleValueDateDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_VALUE_DATE_DESC', - InstructionsByUpdatedBlockIdVarianceSampleVenueIdAsc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_VENUE_ID_ASC', - InstructionsByUpdatedBlockIdVarianceSampleVenueIdDesc = 'INSTRUCTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_VENUE_ID_DESC', - InvestmentsByCreatedBlockIdAverageCreatedAtAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - InvestmentsByCreatedBlockIdAverageCreatedAtDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - InvestmentsByCreatedBlockIdAverageCreatedBlockIdAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - InvestmentsByCreatedBlockIdAverageCreatedBlockIdDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - InvestmentsByCreatedBlockIdAverageDatetimeAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_AVERAGE_DATETIME_ASC', - InvestmentsByCreatedBlockIdAverageDatetimeDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_AVERAGE_DATETIME_DESC', - InvestmentsByCreatedBlockIdAverageIdAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_AVERAGE_ID_ASC', - InvestmentsByCreatedBlockIdAverageIdDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_AVERAGE_ID_DESC', - InvestmentsByCreatedBlockIdAverageInvestorIdAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_AVERAGE_INVESTOR_ID_ASC', - InvestmentsByCreatedBlockIdAverageInvestorIdDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_AVERAGE_INVESTOR_ID_DESC', - InvestmentsByCreatedBlockIdAverageOfferingTokenAmountAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_AVERAGE_OFFERING_TOKEN_AMOUNT_ASC', - InvestmentsByCreatedBlockIdAverageOfferingTokenAmountDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_AVERAGE_OFFERING_TOKEN_AMOUNT_DESC', - InvestmentsByCreatedBlockIdAverageOfferingTokenAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_AVERAGE_OFFERING_TOKEN_ASC', - InvestmentsByCreatedBlockIdAverageOfferingTokenDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_AVERAGE_OFFERING_TOKEN_DESC', - InvestmentsByCreatedBlockIdAverageRaiseTokenAmountAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_AVERAGE_RAISE_TOKEN_AMOUNT_ASC', - InvestmentsByCreatedBlockIdAverageRaiseTokenAmountDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_AVERAGE_RAISE_TOKEN_AMOUNT_DESC', - InvestmentsByCreatedBlockIdAverageRaiseTokenAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_AVERAGE_RAISE_TOKEN_ASC', - InvestmentsByCreatedBlockIdAverageRaiseTokenDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_AVERAGE_RAISE_TOKEN_DESC', - InvestmentsByCreatedBlockIdAverageStoIdAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_AVERAGE_STO_ID_ASC', - InvestmentsByCreatedBlockIdAverageStoIdDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_AVERAGE_STO_ID_DESC', - InvestmentsByCreatedBlockIdAverageUpdatedAtAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - InvestmentsByCreatedBlockIdAverageUpdatedAtDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - InvestmentsByCreatedBlockIdAverageUpdatedBlockIdAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - InvestmentsByCreatedBlockIdAverageUpdatedBlockIdDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - InvestmentsByCreatedBlockIdCountAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_COUNT_ASC', - InvestmentsByCreatedBlockIdCountDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_COUNT_DESC', - InvestmentsByCreatedBlockIdDistinctCountCreatedAtAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - InvestmentsByCreatedBlockIdDistinctCountCreatedAtDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - InvestmentsByCreatedBlockIdDistinctCountCreatedBlockIdAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - InvestmentsByCreatedBlockIdDistinctCountCreatedBlockIdDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - InvestmentsByCreatedBlockIdDistinctCountDatetimeAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_ASC', - InvestmentsByCreatedBlockIdDistinctCountDatetimeDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_DESC', - InvestmentsByCreatedBlockIdDistinctCountIdAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - InvestmentsByCreatedBlockIdDistinctCountIdDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - InvestmentsByCreatedBlockIdDistinctCountInvestorIdAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_INVESTOR_ID_ASC', - InvestmentsByCreatedBlockIdDistinctCountInvestorIdDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_INVESTOR_ID_DESC', - InvestmentsByCreatedBlockIdDistinctCountOfferingTokenAmountAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_OFFERING_TOKEN_AMOUNT_ASC', - InvestmentsByCreatedBlockIdDistinctCountOfferingTokenAmountDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_OFFERING_TOKEN_AMOUNT_DESC', - InvestmentsByCreatedBlockIdDistinctCountOfferingTokenAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_OFFERING_TOKEN_ASC', - InvestmentsByCreatedBlockIdDistinctCountOfferingTokenDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_OFFERING_TOKEN_DESC', - InvestmentsByCreatedBlockIdDistinctCountRaiseTokenAmountAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_RAISE_TOKEN_AMOUNT_ASC', - InvestmentsByCreatedBlockIdDistinctCountRaiseTokenAmountDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_RAISE_TOKEN_AMOUNT_DESC', - InvestmentsByCreatedBlockIdDistinctCountRaiseTokenAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_RAISE_TOKEN_ASC', - InvestmentsByCreatedBlockIdDistinctCountRaiseTokenDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_RAISE_TOKEN_DESC', - InvestmentsByCreatedBlockIdDistinctCountStoIdAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_STO_ID_ASC', - InvestmentsByCreatedBlockIdDistinctCountStoIdDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_STO_ID_DESC', - InvestmentsByCreatedBlockIdDistinctCountUpdatedAtAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - InvestmentsByCreatedBlockIdDistinctCountUpdatedAtDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - InvestmentsByCreatedBlockIdDistinctCountUpdatedBlockIdAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - InvestmentsByCreatedBlockIdDistinctCountUpdatedBlockIdDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - InvestmentsByCreatedBlockIdMaxCreatedAtAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_ASC', - InvestmentsByCreatedBlockIdMaxCreatedAtDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_DESC', - InvestmentsByCreatedBlockIdMaxCreatedBlockIdAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - InvestmentsByCreatedBlockIdMaxCreatedBlockIdDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - InvestmentsByCreatedBlockIdMaxDatetimeAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_MAX_DATETIME_ASC', - InvestmentsByCreatedBlockIdMaxDatetimeDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_MAX_DATETIME_DESC', - InvestmentsByCreatedBlockIdMaxIdAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_MAX_ID_ASC', - InvestmentsByCreatedBlockIdMaxIdDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_MAX_ID_DESC', - InvestmentsByCreatedBlockIdMaxInvestorIdAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_MAX_INVESTOR_ID_ASC', - InvestmentsByCreatedBlockIdMaxInvestorIdDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_MAX_INVESTOR_ID_DESC', - InvestmentsByCreatedBlockIdMaxOfferingTokenAmountAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_MAX_OFFERING_TOKEN_AMOUNT_ASC', - InvestmentsByCreatedBlockIdMaxOfferingTokenAmountDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_MAX_OFFERING_TOKEN_AMOUNT_DESC', - InvestmentsByCreatedBlockIdMaxOfferingTokenAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_MAX_OFFERING_TOKEN_ASC', - InvestmentsByCreatedBlockIdMaxOfferingTokenDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_MAX_OFFERING_TOKEN_DESC', - InvestmentsByCreatedBlockIdMaxRaiseTokenAmountAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_MAX_RAISE_TOKEN_AMOUNT_ASC', - InvestmentsByCreatedBlockIdMaxRaiseTokenAmountDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_MAX_RAISE_TOKEN_AMOUNT_DESC', - InvestmentsByCreatedBlockIdMaxRaiseTokenAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_MAX_RAISE_TOKEN_ASC', - InvestmentsByCreatedBlockIdMaxRaiseTokenDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_MAX_RAISE_TOKEN_DESC', - InvestmentsByCreatedBlockIdMaxStoIdAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_MAX_STO_ID_ASC', - InvestmentsByCreatedBlockIdMaxStoIdDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_MAX_STO_ID_DESC', - InvestmentsByCreatedBlockIdMaxUpdatedAtAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - InvestmentsByCreatedBlockIdMaxUpdatedAtDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - InvestmentsByCreatedBlockIdMaxUpdatedBlockIdAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - InvestmentsByCreatedBlockIdMaxUpdatedBlockIdDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - InvestmentsByCreatedBlockIdMinCreatedAtAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_ASC', - InvestmentsByCreatedBlockIdMinCreatedAtDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_DESC', - InvestmentsByCreatedBlockIdMinCreatedBlockIdAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - InvestmentsByCreatedBlockIdMinCreatedBlockIdDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - InvestmentsByCreatedBlockIdMinDatetimeAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_MIN_DATETIME_ASC', - InvestmentsByCreatedBlockIdMinDatetimeDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_MIN_DATETIME_DESC', - InvestmentsByCreatedBlockIdMinIdAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_MIN_ID_ASC', - InvestmentsByCreatedBlockIdMinIdDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_MIN_ID_DESC', - InvestmentsByCreatedBlockIdMinInvestorIdAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_MIN_INVESTOR_ID_ASC', - InvestmentsByCreatedBlockIdMinInvestorIdDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_MIN_INVESTOR_ID_DESC', - InvestmentsByCreatedBlockIdMinOfferingTokenAmountAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_MIN_OFFERING_TOKEN_AMOUNT_ASC', - InvestmentsByCreatedBlockIdMinOfferingTokenAmountDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_MIN_OFFERING_TOKEN_AMOUNT_DESC', - InvestmentsByCreatedBlockIdMinOfferingTokenAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_MIN_OFFERING_TOKEN_ASC', - InvestmentsByCreatedBlockIdMinOfferingTokenDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_MIN_OFFERING_TOKEN_DESC', - InvestmentsByCreatedBlockIdMinRaiseTokenAmountAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_MIN_RAISE_TOKEN_AMOUNT_ASC', - InvestmentsByCreatedBlockIdMinRaiseTokenAmountDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_MIN_RAISE_TOKEN_AMOUNT_DESC', - InvestmentsByCreatedBlockIdMinRaiseTokenAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_MIN_RAISE_TOKEN_ASC', - InvestmentsByCreatedBlockIdMinRaiseTokenDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_MIN_RAISE_TOKEN_DESC', - InvestmentsByCreatedBlockIdMinStoIdAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_MIN_STO_ID_ASC', - InvestmentsByCreatedBlockIdMinStoIdDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_MIN_STO_ID_DESC', - InvestmentsByCreatedBlockIdMinUpdatedAtAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - InvestmentsByCreatedBlockIdMinUpdatedAtDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - InvestmentsByCreatedBlockIdMinUpdatedBlockIdAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - InvestmentsByCreatedBlockIdMinUpdatedBlockIdDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - InvestmentsByCreatedBlockIdStddevPopulationCreatedAtAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - InvestmentsByCreatedBlockIdStddevPopulationCreatedAtDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - InvestmentsByCreatedBlockIdStddevPopulationCreatedBlockIdAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - InvestmentsByCreatedBlockIdStddevPopulationCreatedBlockIdDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - InvestmentsByCreatedBlockIdStddevPopulationDatetimeAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_DATETIME_ASC', - InvestmentsByCreatedBlockIdStddevPopulationDatetimeDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_DATETIME_DESC', - InvestmentsByCreatedBlockIdStddevPopulationIdAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - InvestmentsByCreatedBlockIdStddevPopulationIdDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - InvestmentsByCreatedBlockIdStddevPopulationInvestorIdAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_INVESTOR_ID_ASC', - InvestmentsByCreatedBlockIdStddevPopulationInvestorIdDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_INVESTOR_ID_DESC', - InvestmentsByCreatedBlockIdStddevPopulationOfferingTokenAmountAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_OFFERING_TOKEN_AMOUNT_ASC', - InvestmentsByCreatedBlockIdStddevPopulationOfferingTokenAmountDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_OFFERING_TOKEN_AMOUNT_DESC', - InvestmentsByCreatedBlockIdStddevPopulationOfferingTokenAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_OFFERING_TOKEN_ASC', - InvestmentsByCreatedBlockIdStddevPopulationOfferingTokenDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_OFFERING_TOKEN_DESC', - InvestmentsByCreatedBlockIdStddevPopulationRaiseTokenAmountAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_RAISE_TOKEN_AMOUNT_ASC', - InvestmentsByCreatedBlockIdStddevPopulationRaiseTokenAmountDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_RAISE_TOKEN_AMOUNT_DESC', - InvestmentsByCreatedBlockIdStddevPopulationRaiseTokenAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_RAISE_TOKEN_ASC', - InvestmentsByCreatedBlockIdStddevPopulationRaiseTokenDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_RAISE_TOKEN_DESC', - InvestmentsByCreatedBlockIdStddevPopulationStoIdAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_STO_ID_ASC', - InvestmentsByCreatedBlockIdStddevPopulationStoIdDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_STO_ID_DESC', - InvestmentsByCreatedBlockIdStddevPopulationUpdatedAtAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - InvestmentsByCreatedBlockIdStddevPopulationUpdatedAtDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - InvestmentsByCreatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - InvestmentsByCreatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - InvestmentsByCreatedBlockIdStddevSampleCreatedAtAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - InvestmentsByCreatedBlockIdStddevSampleCreatedAtDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - InvestmentsByCreatedBlockIdStddevSampleCreatedBlockIdAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - InvestmentsByCreatedBlockIdStddevSampleCreatedBlockIdDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - InvestmentsByCreatedBlockIdStddevSampleDatetimeAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_DATETIME_ASC', - InvestmentsByCreatedBlockIdStddevSampleDatetimeDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_DATETIME_DESC', - InvestmentsByCreatedBlockIdStddevSampleIdAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - InvestmentsByCreatedBlockIdStddevSampleIdDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - InvestmentsByCreatedBlockIdStddevSampleInvestorIdAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_INVESTOR_ID_ASC', - InvestmentsByCreatedBlockIdStddevSampleInvestorIdDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_INVESTOR_ID_DESC', - InvestmentsByCreatedBlockIdStddevSampleOfferingTokenAmountAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_OFFERING_TOKEN_AMOUNT_ASC', - InvestmentsByCreatedBlockIdStddevSampleOfferingTokenAmountDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_OFFERING_TOKEN_AMOUNT_DESC', - InvestmentsByCreatedBlockIdStddevSampleOfferingTokenAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_OFFERING_TOKEN_ASC', - InvestmentsByCreatedBlockIdStddevSampleOfferingTokenDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_OFFERING_TOKEN_DESC', - InvestmentsByCreatedBlockIdStddevSampleRaiseTokenAmountAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_RAISE_TOKEN_AMOUNT_ASC', - InvestmentsByCreatedBlockIdStddevSampleRaiseTokenAmountDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_RAISE_TOKEN_AMOUNT_DESC', - InvestmentsByCreatedBlockIdStddevSampleRaiseTokenAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_RAISE_TOKEN_ASC', - InvestmentsByCreatedBlockIdStddevSampleRaiseTokenDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_RAISE_TOKEN_DESC', - InvestmentsByCreatedBlockIdStddevSampleStoIdAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_STO_ID_ASC', - InvestmentsByCreatedBlockIdStddevSampleStoIdDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_STO_ID_DESC', - InvestmentsByCreatedBlockIdStddevSampleUpdatedAtAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - InvestmentsByCreatedBlockIdStddevSampleUpdatedAtDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - InvestmentsByCreatedBlockIdStddevSampleUpdatedBlockIdAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - InvestmentsByCreatedBlockIdStddevSampleUpdatedBlockIdDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - InvestmentsByCreatedBlockIdSumCreatedAtAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_ASC', - InvestmentsByCreatedBlockIdSumCreatedAtDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_DESC', - InvestmentsByCreatedBlockIdSumCreatedBlockIdAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - InvestmentsByCreatedBlockIdSumCreatedBlockIdDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - InvestmentsByCreatedBlockIdSumDatetimeAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_SUM_DATETIME_ASC', - InvestmentsByCreatedBlockIdSumDatetimeDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_SUM_DATETIME_DESC', - InvestmentsByCreatedBlockIdSumIdAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_SUM_ID_ASC', - InvestmentsByCreatedBlockIdSumIdDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_SUM_ID_DESC', - InvestmentsByCreatedBlockIdSumInvestorIdAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_SUM_INVESTOR_ID_ASC', - InvestmentsByCreatedBlockIdSumInvestorIdDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_SUM_INVESTOR_ID_DESC', - InvestmentsByCreatedBlockIdSumOfferingTokenAmountAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_SUM_OFFERING_TOKEN_AMOUNT_ASC', - InvestmentsByCreatedBlockIdSumOfferingTokenAmountDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_SUM_OFFERING_TOKEN_AMOUNT_DESC', - InvestmentsByCreatedBlockIdSumOfferingTokenAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_SUM_OFFERING_TOKEN_ASC', - InvestmentsByCreatedBlockIdSumOfferingTokenDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_SUM_OFFERING_TOKEN_DESC', - InvestmentsByCreatedBlockIdSumRaiseTokenAmountAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_SUM_RAISE_TOKEN_AMOUNT_ASC', - InvestmentsByCreatedBlockIdSumRaiseTokenAmountDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_SUM_RAISE_TOKEN_AMOUNT_DESC', - InvestmentsByCreatedBlockIdSumRaiseTokenAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_SUM_RAISE_TOKEN_ASC', - InvestmentsByCreatedBlockIdSumRaiseTokenDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_SUM_RAISE_TOKEN_DESC', - InvestmentsByCreatedBlockIdSumStoIdAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_SUM_STO_ID_ASC', - InvestmentsByCreatedBlockIdSumStoIdDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_SUM_STO_ID_DESC', - InvestmentsByCreatedBlockIdSumUpdatedAtAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - InvestmentsByCreatedBlockIdSumUpdatedAtDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - InvestmentsByCreatedBlockIdSumUpdatedBlockIdAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - InvestmentsByCreatedBlockIdSumUpdatedBlockIdDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - InvestmentsByCreatedBlockIdVariancePopulationCreatedAtAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - InvestmentsByCreatedBlockIdVariancePopulationCreatedAtDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - InvestmentsByCreatedBlockIdVariancePopulationCreatedBlockIdAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - InvestmentsByCreatedBlockIdVariancePopulationCreatedBlockIdDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - InvestmentsByCreatedBlockIdVariancePopulationDatetimeAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_DATETIME_ASC', - InvestmentsByCreatedBlockIdVariancePopulationDatetimeDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_DATETIME_DESC', - InvestmentsByCreatedBlockIdVariancePopulationIdAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - InvestmentsByCreatedBlockIdVariancePopulationIdDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - InvestmentsByCreatedBlockIdVariancePopulationInvestorIdAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_INVESTOR_ID_ASC', - InvestmentsByCreatedBlockIdVariancePopulationInvestorIdDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_INVESTOR_ID_DESC', - InvestmentsByCreatedBlockIdVariancePopulationOfferingTokenAmountAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_OFFERING_TOKEN_AMOUNT_ASC', - InvestmentsByCreatedBlockIdVariancePopulationOfferingTokenAmountDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_OFFERING_TOKEN_AMOUNT_DESC', - InvestmentsByCreatedBlockIdVariancePopulationOfferingTokenAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_OFFERING_TOKEN_ASC', - InvestmentsByCreatedBlockIdVariancePopulationOfferingTokenDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_OFFERING_TOKEN_DESC', - InvestmentsByCreatedBlockIdVariancePopulationRaiseTokenAmountAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_RAISE_TOKEN_AMOUNT_ASC', - InvestmentsByCreatedBlockIdVariancePopulationRaiseTokenAmountDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_RAISE_TOKEN_AMOUNT_DESC', - InvestmentsByCreatedBlockIdVariancePopulationRaiseTokenAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_RAISE_TOKEN_ASC', - InvestmentsByCreatedBlockIdVariancePopulationRaiseTokenDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_RAISE_TOKEN_DESC', - InvestmentsByCreatedBlockIdVariancePopulationStoIdAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_STO_ID_ASC', - InvestmentsByCreatedBlockIdVariancePopulationStoIdDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_STO_ID_DESC', - InvestmentsByCreatedBlockIdVariancePopulationUpdatedAtAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - InvestmentsByCreatedBlockIdVariancePopulationUpdatedAtDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - InvestmentsByCreatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - InvestmentsByCreatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - InvestmentsByCreatedBlockIdVarianceSampleCreatedAtAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - InvestmentsByCreatedBlockIdVarianceSampleCreatedAtDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - InvestmentsByCreatedBlockIdVarianceSampleCreatedBlockIdAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - InvestmentsByCreatedBlockIdVarianceSampleCreatedBlockIdDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - InvestmentsByCreatedBlockIdVarianceSampleDatetimeAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_DATETIME_ASC', - InvestmentsByCreatedBlockIdVarianceSampleDatetimeDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_DATETIME_DESC', - InvestmentsByCreatedBlockIdVarianceSampleIdAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - InvestmentsByCreatedBlockIdVarianceSampleIdDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - InvestmentsByCreatedBlockIdVarianceSampleInvestorIdAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_INVESTOR_ID_ASC', - InvestmentsByCreatedBlockIdVarianceSampleInvestorIdDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_INVESTOR_ID_DESC', - InvestmentsByCreatedBlockIdVarianceSampleOfferingTokenAmountAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_OFFERING_TOKEN_AMOUNT_ASC', - InvestmentsByCreatedBlockIdVarianceSampleOfferingTokenAmountDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_OFFERING_TOKEN_AMOUNT_DESC', - InvestmentsByCreatedBlockIdVarianceSampleOfferingTokenAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_OFFERING_TOKEN_ASC', - InvestmentsByCreatedBlockIdVarianceSampleOfferingTokenDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_OFFERING_TOKEN_DESC', - InvestmentsByCreatedBlockIdVarianceSampleRaiseTokenAmountAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_RAISE_TOKEN_AMOUNT_ASC', - InvestmentsByCreatedBlockIdVarianceSampleRaiseTokenAmountDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_RAISE_TOKEN_AMOUNT_DESC', - InvestmentsByCreatedBlockIdVarianceSampleRaiseTokenAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_RAISE_TOKEN_ASC', - InvestmentsByCreatedBlockIdVarianceSampleRaiseTokenDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_RAISE_TOKEN_DESC', - InvestmentsByCreatedBlockIdVarianceSampleStoIdAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_STO_ID_ASC', - InvestmentsByCreatedBlockIdVarianceSampleStoIdDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_STO_ID_DESC', - InvestmentsByCreatedBlockIdVarianceSampleUpdatedAtAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - InvestmentsByCreatedBlockIdVarianceSampleUpdatedAtDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - InvestmentsByCreatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - InvestmentsByCreatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'INVESTMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - InvestmentsByUpdatedBlockIdAverageCreatedAtAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - InvestmentsByUpdatedBlockIdAverageCreatedAtDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - InvestmentsByUpdatedBlockIdAverageCreatedBlockIdAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - InvestmentsByUpdatedBlockIdAverageCreatedBlockIdDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - InvestmentsByUpdatedBlockIdAverageDatetimeAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_DATETIME_ASC', - InvestmentsByUpdatedBlockIdAverageDatetimeDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_DATETIME_DESC', - InvestmentsByUpdatedBlockIdAverageIdAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_ASC', - InvestmentsByUpdatedBlockIdAverageIdDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_DESC', - InvestmentsByUpdatedBlockIdAverageInvestorIdAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_INVESTOR_ID_ASC', - InvestmentsByUpdatedBlockIdAverageInvestorIdDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_INVESTOR_ID_DESC', - InvestmentsByUpdatedBlockIdAverageOfferingTokenAmountAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_OFFERING_TOKEN_AMOUNT_ASC', - InvestmentsByUpdatedBlockIdAverageOfferingTokenAmountDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_OFFERING_TOKEN_AMOUNT_DESC', - InvestmentsByUpdatedBlockIdAverageOfferingTokenAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_OFFERING_TOKEN_ASC', - InvestmentsByUpdatedBlockIdAverageOfferingTokenDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_OFFERING_TOKEN_DESC', - InvestmentsByUpdatedBlockIdAverageRaiseTokenAmountAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_RAISE_TOKEN_AMOUNT_ASC', - InvestmentsByUpdatedBlockIdAverageRaiseTokenAmountDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_RAISE_TOKEN_AMOUNT_DESC', - InvestmentsByUpdatedBlockIdAverageRaiseTokenAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_RAISE_TOKEN_ASC', - InvestmentsByUpdatedBlockIdAverageRaiseTokenDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_RAISE_TOKEN_DESC', - InvestmentsByUpdatedBlockIdAverageStoIdAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_STO_ID_ASC', - InvestmentsByUpdatedBlockIdAverageStoIdDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_STO_ID_DESC', - InvestmentsByUpdatedBlockIdAverageUpdatedAtAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - InvestmentsByUpdatedBlockIdAverageUpdatedAtDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - InvestmentsByUpdatedBlockIdAverageUpdatedBlockIdAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - InvestmentsByUpdatedBlockIdAverageUpdatedBlockIdDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - InvestmentsByUpdatedBlockIdCountAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_COUNT_ASC', - InvestmentsByUpdatedBlockIdCountDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_COUNT_DESC', - InvestmentsByUpdatedBlockIdDistinctCountCreatedAtAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - InvestmentsByUpdatedBlockIdDistinctCountCreatedAtDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - InvestmentsByUpdatedBlockIdDistinctCountCreatedBlockIdAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - InvestmentsByUpdatedBlockIdDistinctCountCreatedBlockIdDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - InvestmentsByUpdatedBlockIdDistinctCountDatetimeAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_ASC', - InvestmentsByUpdatedBlockIdDistinctCountDatetimeDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_DESC', - InvestmentsByUpdatedBlockIdDistinctCountIdAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - InvestmentsByUpdatedBlockIdDistinctCountIdDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - InvestmentsByUpdatedBlockIdDistinctCountInvestorIdAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_INVESTOR_ID_ASC', - InvestmentsByUpdatedBlockIdDistinctCountInvestorIdDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_INVESTOR_ID_DESC', - InvestmentsByUpdatedBlockIdDistinctCountOfferingTokenAmountAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_OFFERING_TOKEN_AMOUNT_ASC', - InvestmentsByUpdatedBlockIdDistinctCountOfferingTokenAmountDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_OFFERING_TOKEN_AMOUNT_DESC', - InvestmentsByUpdatedBlockIdDistinctCountOfferingTokenAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_OFFERING_TOKEN_ASC', - InvestmentsByUpdatedBlockIdDistinctCountOfferingTokenDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_OFFERING_TOKEN_DESC', - InvestmentsByUpdatedBlockIdDistinctCountRaiseTokenAmountAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_RAISE_TOKEN_AMOUNT_ASC', - InvestmentsByUpdatedBlockIdDistinctCountRaiseTokenAmountDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_RAISE_TOKEN_AMOUNT_DESC', - InvestmentsByUpdatedBlockIdDistinctCountRaiseTokenAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_RAISE_TOKEN_ASC', - InvestmentsByUpdatedBlockIdDistinctCountRaiseTokenDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_RAISE_TOKEN_DESC', - InvestmentsByUpdatedBlockIdDistinctCountStoIdAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_STO_ID_ASC', - InvestmentsByUpdatedBlockIdDistinctCountStoIdDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_STO_ID_DESC', - InvestmentsByUpdatedBlockIdDistinctCountUpdatedAtAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - InvestmentsByUpdatedBlockIdDistinctCountUpdatedAtDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - InvestmentsByUpdatedBlockIdDistinctCountUpdatedBlockIdAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - InvestmentsByUpdatedBlockIdDistinctCountUpdatedBlockIdDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - InvestmentsByUpdatedBlockIdMaxCreatedAtAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_ASC', - InvestmentsByUpdatedBlockIdMaxCreatedAtDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_DESC', - InvestmentsByUpdatedBlockIdMaxCreatedBlockIdAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - InvestmentsByUpdatedBlockIdMaxCreatedBlockIdDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - InvestmentsByUpdatedBlockIdMaxDatetimeAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_MAX_DATETIME_ASC', - InvestmentsByUpdatedBlockIdMaxDatetimeDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_MAX_DATETIME_DESC', - InvestmentsByUpdatedBlockIdMaxIdAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_MAX_ID_ASC', - InvestmentsByUpdatedBlockIdMaxIdDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_MAX_ID_DESC', - InvestmentsByUpdatedBlockIdMaxInvestorIdAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_MAX_INVESTOR_ID_ASC', - InvestmentsByUpdatedBlockIdMaxInvestorIdDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_MAX_INVESTOR_ID_DESC', - InvestmentsByUpdatedBlockIdMaxOfferingTokenAmountAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_MAX_OFFERING_TOKEN_AMOUNT_ASC', - InvestmentsByUpdatedBlockIdMaxOfferingTokenAmountDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_MAX_OFFERING_TOKEN_AMOUNT_DESC', - InvestmentsByUpdatedBlockIdMaxOfferingTokenAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_MAX_OFFERING_TOKEN_ASC', - InvestmentsByUpdatedBlockIdMaxOfferingTokenDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_MAX_OFFERING_TOKEN_DESC', - InvestmentsByUpdatedBlockIdMaxRaiseTokenAmountAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_MAX_RAISE_TOKEN_AMOUNT_ASC', - InvestmentsByUpdatedBlockIdMaxRaiseTokenAmountDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_MAX_RAISE_TOKEN_AMOUNT_DESC', - InvestmentsByUpdatedBlockIdMaxRaiseTokenAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_MAX_RAISE_TOKEN_ASC', - InvestmentsByUpdatedBlockIdMaxRaiseTokenDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_MAX_RAISE_TOKEN_DESC', - InvestmentsByUpdatedBlockIdMaxStoIdAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_MAX_STO_ID_ASC', - InvestmentsByUpdatedBlockIdMaxStoIdDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_MAX_STO_ID_DESC', - InvestmentsByUpdatedBlockIdMaxUpdatedAtAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - InvestmentsByUpdatedBlockIdMaxUpdatedAtDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - InvestmentsByUpdatedBlockIdMaxUpdatedBlockIdAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - InvestmentsByUpdatedBlockIdMaxUpdatedBlockIdDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - InvestmentsByUpdatedBlockIdMinCreatedAtAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_ASC', - InvestmentsByUpdatedBlockIdMinCreatedAtDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_DESC', - InvestmentsByUpdatedBlockIdMinCreatedBlockIdAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - InvestmentsByUpdatedBlockIdMinCreatedBlockIdDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - InvestmentsByUpdatedBlockIdMinDatetimeAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_MIN_DATETIME_ASC', - InvestmentsByUpdatedBlockIdMinDatetimeDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_MIN_DATETIME_DESC', - InvestmentsByUpdatedBlockIdMinIdAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_MIN_ID_ASC', - InvestmentsByUpdatedBlockIdMinIdDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_MIN_ID_DESC', - InvestmentsByUpdatedBlockIdMinInvestorIdAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_MIN_INVESTOR_ID_ASC', - InvestmentsByUpdatedBlockIdMinInvestorIdDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_MIN_INVESTOR_ID_DESC', - InvestmentsByUpdatedBlockIdMinOfferingTokenAmountAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_MIN_OFFERING_TOKEN_AMOUNT_ASC', - InvestmentsByUpdatedBlockIdMinOfferingTokenAmountDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_MIN_OFFERING_TOKEN_AMOUNT_DESC', - InvestmentsByUpdatedBlockIdMinOfferingTokenAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_MIN_OFFERING_TOKEN_ASC', - InvestmentsByUpdatedBlockIdMinOfferingTokenDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_MIN_OFFERING_TOKEN_DESC', - InvestmentsByUpdatedBlockIdMinRaiseTokenAmountAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_MIN_RAISE_TOKEN_AMOUNT_ASC', - InvestmentsByUpdatedBlockIdMinRaiseTokenAmountDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_MIN_RAISE_TOKEN_AMOUNT_DESC', - InvestmentsByUpdatedBlockIdMinRaiseTokenAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_MIN_RAISE_TOKEN_ASC', - InvestmentsByUpdatedBlockIdMinRaiseTokenDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_MIN_RAISE_TOKEN_DESC', - InvestmentsByUpdatedBlockIdMinStoIdAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_MIN_STO_ID_ASC', - InvestmentsByUpdatedBlockIdMinStoIdDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_MIN_STO_ID_DESC', - InvestmentsByUpdatedBlockIdMinUpdatedAtAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - InvestmentsByUpdatedBlockIdMinUpdatedAtDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - InvestmentsByUpdatedBlockIdMinUpdatedBlockIdAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - InvestmentsByUpdatedBlockIdMinUpdatedBlockIdDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - InvestmentsByUpdatedBlockIdStddevPopulationCreatedAtAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - InvestmentsByUpdatedBlockIdStddevPopulationCreatedAtDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - InvestmentsByUpdatedBlockIdStddevPopulationCreatedBlockIdAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - InvestmentsByUpdatedBlockIdStddevPopulationCreatedBlockIdDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - InvestmentsByUpdatedBlockIdStddevPopulationDatetimeAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_DATETIME_ASC', - InvestmentsByUpdatedBlockIdStddevPopulationDatetimeDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_DATETIME_DESC', - InvestmentsByUpdatedBlockIdStddevPopulationIdAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - InvestmentsByUpdatedBlockIdStddevPopulationIdDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - InvestmentsByUpdatedBlockIdStddevPopulationInvestorIdAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_INVESTOR_ID_ASC', - InvestmentsByUpdatedBlockIdStddevPopulationInvestorIdDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_INVESTOR_ID_DESC', - InvestmentsByUpdatedBlockIdStddevPopulationOfferingTokenAmountAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_OFFERING_TOKEN_AMOUNT_ASC', - InvestmentsByUpdatedBlockIdStddevPopulationOfferingTokenAmountDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_OFFERING_TOKEN_AMOUNT_DESC', - InvestmentsByUpdatedBlockIdStddevPopulationOfferingTokenAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_OFFERING_TOKEN_ASC', - InvestmentsByUpdatedBlockIdStddevPopulationOfferingTokenDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_OFFERING_TOKEN_DESC', - InvestmentsByUpdatedBlockIdStddevPopulationRaiseTokenAmountAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_RAISE_TOKEN_AMOUNT_ASC', - InvestmentsByUpdatedBlockIdStddevPopulationRaiseTokenAmountDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_RAISE_TOKEN_AMOUNT_DESC', - InvestmentsByUpdatedBlockIdStddevPopulationRaiseTokenAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_RAISE_TOKEN_ASC', - InvestmentsByUpdatedBlockIdStddevPopulationRaiseTokenDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_RAISE_TOKEN_DESC', - InvestmentsByUpdatedBlockIdStddevPopulationStoIdAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_STO_ID_ASC', - InvestmentsByUpdatedBlockIdStddevPopulationStoIdDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_STO_ID_DESC', - InvestmentsByUpdatedBlockIdStddevPopulationUpdatedAtAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - InvestmentsByUpdatedBlockIdStddevPopulationUpdatedAtDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - InvestmentsByUpdatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - InvestmentsByUpdatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - InvestmentsByUpdatedBlockIdStddevSampleCreatedAtAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - InvestmentsByUpdatedBlockIdStddevSampleCreatedAtDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - InvestmentsByUpdatedBlockIdStddevSampleCreatedBlockIdAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - InvestmentsByUpdatedBlockIdStddevSampleCreatedBlockIdDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - InvestmentsByUpdatedBlockIdStddevSampleDatetimeAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_DATETIME_ASC', - InvestmentsByUpdatedBlockIdStddevSampleDatetimeDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_DATETIME_DESC', - InvestmentsByUpdatedBlockIdStddevSampleIdAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - InvestmentsByUpdatedBlockIdStddevSampleIdDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - InvestmentsByUpdatedBlockIdStddevSampleInvestorIdAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_INVESTOR_ID_ASC', - InvestmentsByUpdatedBlockIdStddevSampleInvestorIdDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_INVESTOR_ID_DESC', - InvestmentsByUpdatedBlockIdStddevSampleOfferingTokenAmountAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_OFFERING_TOKEN_AMOUNT_ASC', - InvestmentsByUpdatedBlockIdStddevSampleOfferingTokenAmountDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_OFFERING_TOKEN_AMOUNT_DESC', - InvestmentsByUpdatedBlockIdStddevSampleOfferingTokenAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_OFFERING_TOKEN_ASC', - InvestmentsByUpdatedBlockIdStddevSampleOfferingTokenDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_OFFERING_TOKEN_DESC', - InvestmentsByUpdatedBlockIdStddevSampleRaiseTokenAmountAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_RAISE_TOKEN_AMOUNT_ASC', - InvestmentsByUpdatedBlockIdStddevSampleRaiseTokenAmountDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_RAISE_TOKEN_AMOUNT_DESC', - InvestmentsByUpdatedBlockIdStddevSampleRaiseTokenAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_RAISE_TOKEN_ASC', - InvestmentsByUpdatedBlockIdStddevSampleRaiseTokenDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_RAISE_TOKEN_DESC', - InvestmentsByUpdatedBlockIdStddevSampleStoIdAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_STO_ID_ASC', - InvestmentsByUpdatedBlockIdStddevSampleStoIdDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_STO_ID_DESC', - InvestmentsByUpdatedBlockIdStddevSampleUpdatedAtAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - InvestmentsByUpdatedBlockIdStddevSampleUpdatedAtDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - InvestmentsByUpdatedBlockIdStddevSampleUpdatedBlockIdAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - InvestmentsByUpdatedBlockIdStddevSampleUpdatedBlockIdDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - InvestmentsByUpdatedBlockIdSumCreatedAtAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_ASC', - InvestmentsByUpdatedBlockIdSumCreatedAtDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_DESC', - InvestmentsByUpdatedBlockIdSumCreatedBlockIdAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - InvestmentsByUpdatedBlockIdSumCreatedBlockIdDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - InvestmentsByUpdatedBlockIdSumDatetimeAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_SUM_DATETIME_ASC', - InvestmentsByUpdatedBlockIdSumDatetimeDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_SUM_DATETIME_DESC', - InvestmentsByUpdatedBlockIdSumIdAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_SUM_ID_ASC', - InvestmentsByUpdatedBlockIdSumIdDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_SUM_ID_DESC', - InvestmentsByUpdatedBlockIdSumInvestorIdAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_SUM_INVESTOR_ID_ASC', - InvestmentsByUpdatedBlockIdSumInvestorIdDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_SUM_INVESTOR_ID_DESC', - InvestmentsByUpdatedBlockIdSumOfferingTokenAmountAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_SUM_OFFERING_TOKEN_AMOUNT_ASC', - InvestmentsByUpdatedBlockIdSumOfferingTokenAmountDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_SUM_OFFERING_TOKEN_AMOUNT_DESC', - InvestmentsByUpdatedBlockIdSumOfferingTokenAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_SUM_OFFERING_TOKEN_ASC', - InvestmentsByUpdatedBlockIdSumOfferingTokenDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_SUM_OFFERING_TOKEN_DESC', - InvestmentsByUpdatedBlockIdSumRaiseTokenAmountAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_SUM_RAISE_TOKEN_AMOUNT_ASC', - InvestmentsByUpdatedBlockIdSumRaiseTokenAmountDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_SUM_RAISE_TOKEN_AMOUNT_DESC', - InvestmentsByUpdatedBlockIdSumRaiseTokenAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_SUM_RAISE_TOKEN_ASC', - InvestmentsByUpdatedBlockIdSumRaiseTokenDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_SUM_RAISE_TOKEN_DESC', - InvestmentsByUpdatedBlockIdSumStoIdAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_SUM_STO_ID_ASC', - InvestmentsByUpdatedBlockIdSumStoIdDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_SUM_STO_ID_DESC', - InvestmentsByUpdatedBlockIdSumUpdatedAtAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - InvestmentsByUpdatedBlockIdSumUpdatedAtDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - InvestmentsByUpdatedBlockIdSumUpdatedBlockIdAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - InvestmentsByUpdatedBlockIdSumUpdatedBlockIdDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - InvestmentsByUpdatedBlockIdVariancePopulationCreatedAtAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - InvestmentsByUpdatedBlockIdVariancePopulationCreatedAtDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - InvestmentsByUpdatedBlockIdVariancePopulationCreatedBlockIdAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - InvestmentsByUpdatedBlockIdVariancePopulationCreatedBlockIdDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - InvestmentsByUpdatedBlockIdVariancePopulationDatetimeAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_DATETIME_ASC', - InvestmentsByUpdatedBlockIdVariancePopulationDatetimeDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_DATETIME_DESC', - InvestmentsByUpdatedBlockIdVariancePopulationIdAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - InvestmentsByUpdatedBlockIdVariancePopulationIdDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - InvestmentsByUpdatedBlockIdVariancePopulationInvestorIdAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_INVESTOR_ID_ASC', - InvestmentsByUpdatedBlockIdVariancePopulationInvestorIdDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_INVESTOR_ID_DESC', - InvestmentsByUpdatedBlockIdVariancePopulationOfferingTokenAmountAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_OFFERING_TOKEN_AMOUNT_ASC', - InvestmentsByUpdatedBlockIdVariancePopulationOfferingTokenAmountDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_OFFERING_TOKEN_AMOUNT_DESC', - InvestmentsByUpdatedBlockIdVariancePopulationOfferingTokenAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_OFFERING_TOKEN_ASC', - InvestmentsByUpdatedBlockIdVariancePopulationOfferingTokenDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_OFFERING_TOKEN_DESC', - InvestmentsByUpdatedBlockIdVariancePopulationRaiseTokenAmountAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_RAISE_TOKEN_AMOUNT_ASC', - InvestmentsByUpdatedBlockIdVariancePopulationRaiseTokenAmountDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_RAISE_TOKEN_AMOUNT_DESC', - InvestmentsByUpdatedBlockIdVariancePopulationRaiseTokenAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_RAISE_TOKEN_ASC', - InvestmentsByUpdatedBlockIdVariancePopulationRaiseTokenDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_RAISE_TOKEN_DESC', - InvestmentsByUpdatedBlockIdVariancePopulationStoIdAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_STO_ID_ASC', - InvestmentsByUpdatedBlockIdVariancePopulationStoIdDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_STO_ID_DESC', - InvestmentsByUpdatedBlockIdVariancePopulationUpdatedAtAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - InvestmentsByUpdatedBlockIdVariancePopulationUpdatedAtDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - InvestmentsByUpdatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - InvestmentsByUpdatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - InvestmentsByUpdatedBlockIdVarianceSampleCreatedAtAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - InvestmentsByUpdatedBlockIdVarianceSampleCreatedAtDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - InvestmentsByUpdatedBlockIdVarianceSampleCreatedBlockIdAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - InvestmentsByUpdatedBlockIdVarianceSampleCreatedBlockIdDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - InvestmentsByUpdatedBlockIdVarianceSampleDatetimeAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_DATETIME_ASC', - InvestmentsByUpdatedBlockIdVarianceSampleDatetimeDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_DATETIME_DESC', - InvestmentsByUpdatedBlockIdVarianceSampleIdAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - InvestmentsByUpdatedBlockIdVarianceSampleIdDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - InvestmentsByUpdatedBlockIdVarianceSampleInvestorIdAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_INVESTOR_ID_ASC', - InvestmentsByUpdatedBlockIdVarianceSampleInvestorIdDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_INVESTOR_ID_DESC', - InvestmentsByUpdatedBlockIdVarianceSampleOfferingTokenAmountAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_OFFERING_TOKEN_AMOUNT_ASC', - InvestmentsByUpdatedBlockIdVarianceSampleOfferingTokenAmountDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_OFFERING_TOKEN_AMOUNT_DESC', - InvestmentsByUpdatedBlockIdVarianceSampleOfferingTokenAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_OFFERING_TOKEN_ASC', - InvestmentsByUpdatedBlockIdVarianceSampleOfferingTokenDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_OFFERING_TOKEN_DESC', - InvestmentsByUpdatedBlockIdVarianceSampleRaiseTokenAmountAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_RAISE_TOKEN_AMOUNT_ASC', - InvestmentsByUpdatedBlockIdVarianceSampleRaiseTokenAmountDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_RAISE_TOKEN_AMOUNT_DESC', - InvestmentsByUpdatedBlockIdVarianceSampleRaiseTokenAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_RAISE_TOKEN_ASC', - InvestmentsByUpdatedBlockIdVarianceSampleRaiseTokenDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_RAISE_TOKEN_DESC', - InvestmentsByUpdatedBlockIdVarianceSampleStoIdAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_STO_ID_ASC', - InvestmentsByUpdatedBlockIdVarianceSampleStoIdDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_STO_ID_DESC', - InvestmentsByUpdatedBlockIdVarianceSampleUpdatedAtAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - InvestmentsByUpdatedBlockIdVarianceSampleUpdatedAtDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - InvestmentsByUpdatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - InvestmentsByUpdatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'INVESTMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - LegsByCreatedBlockIdAverageAddressesAsc = 'LEGS_BY_CREATED_BLOCK_ID_AVERAGE_ADDRESSES_ASC', - LegsByCreatedBlockIdAverageAddressesDesc = 'LEGS_BY_CREATED_BLOCK_ID_AVERAGE_ADDRESSES_DESC', - LegsByCreatedBlockIdAverageAmountAsc = 'LEGS_BY_CREATED_BLOCK_ID_AVERAGE_AMOUNT_ASC', - LegsByCreatedBlockIdAverageAmountDesc = 'LEGS_BY_CREATED_BLOCK_ID_AVERAGE_AMOUNT_DESC', - LegsByCreatedBlockIdAverageAssetIdAsc = 'LEGS_BY_CREATED_BLOCK_ID_AVERAGE_ASSET_ID_ASC', - LegsByCreatedBlockIdAverageAssetIdDesc = 'LEGS_BY_CREATED_BLOCK_ID_AVERAGE_ASSET_ID_DESC', - LegsByCreatedBlockIdAverageCreatedAtAsc = 'LEGS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - LegsByCreatedBlockIdAverageCreatedAtDesc = 'LEGS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - LegsByCreatedBlockIdAverageCreatedBlockIdAsc = 'LEGS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - LegsByCreatedBlockIdAverageCreatedBlockIdDesc = 'LEGS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - LegsByCreatedBlockIdAverageFromIdAsc = 'LEGS_BY_CREATED_BLOCK_ID_AVERAGE_FROM_ID_ASC', - LegsByCreatedBlockIdAverageFromIdDesc = 'LEGS_BY_CREATED_BLOCK_ID_AVERAGE_FROM_ID_DESC', - LegsByCreatedBlockIdAverageIdAsc = 'LEGS_BY_CREATED_BLOCK_ID_AVERAGE_ID_ASC', - LegsByCreatedBlockIdAverageIdDesc = 'LEGS_BY_CREATED_BLOCK_ID_AVERAGE_ID_DESC', - LegsByCreatedBlockIdAverageInstructionIdAsc = 'LEGS_BY_CREATED_BLOCK_ID_AVERAGE_INSTRUCTION_ID_ASC', - LegsByCreatedBlockIdAverageInstructionIdDesc = 'LEGS_BY_CREATED_BLOCK_ID_AVERAGE_INSTRUCTION_ID_DESC', - LegsByCreatedBlockIdAverageLegTypeAsc = 'LEGS_BY_CREATED_BLOCK_ID_AVERAGE_LEG_TYPE_ASC', - LegsByCreatedBlockIdAverageLegTypeDesc = 'LEGS_BY_CREATED_BLOCK_ID_AVERAGE_LEG_TYPE_DESC', - LegsByCreatedBlockIdAverageNftIdsAsc = 'LEGS_BY_CREATED_BLOCK_ID_AVERAGE_NFT_IDS_ASC', - LegsByCreatedBlockIdAverageNftIdsDesc = 'LEGS_BY_CREATED_BLOCK_ID_AVERAGE_NFT_IDS_DESC', - LegsByCreatedBlockIdAverageSettlementIdAsc = 'LEGS_BY_CREATED_BLOCK_ID_AVERAGE_SETTLEMENT_ID_ASC', - LegsByCreatedBlockIdAverageSettlementIdDesc = 'LEGS_BY_CREATED_BLOCK_ID_AVERAGE_SETTLEMENT_ID_DESC', - LegsByCreatedBlockIdAverageToIdAsc = 'LEGS_BY_CREATED_BLOCK_ID_AVERAGE_TO_ID_ASC', - LegsByCreatedBlockIdAverageToIdDesc = 'LEGS_BY_CREATED_BLOCK_ID_AVERAGE_TO_ID_DESC', - LegsByCreatedBlockIdAverageUpdatedAtAsc = 'LEGS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - LegsByCreatedBlockIdAverageUpdatedAtDesc = 'LEGS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - LegsByCreatedBlockIdAverageUpdatedBlockIdAsc = 'LEGS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - LegsByCreatedBlockIdAverageUpdatedBlockIdDesc = 'LEGS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - LegsByCreatedBlockIdCountAsc = 'LEGS_BY_CREATED_BLOCK_ID_COUNT_ASC', - LegsByCreatedBlockIdCountDesc = 'LEGS_BY_CREATED_BLOCK_ID_COUNT_DESC', - LegsByCreatedBlockIdDistinctCountAddressesAsc = 'LEGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ADDRESSES_ASC', - LegsByCreatedBlockIdDistinctCountAddressesDesc = 'LEGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ADDRESSES_DESC', - LegsByCreatedBlockIdDistinctCountAmountAsc = 'LEGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_AMOUNT_ASC', - LegsByCreatedBlockIdDistinctCountAmountDesc = 'LEGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_AMOUNT_DESC', - LegsByCreatedBlockIdDistinctCountAssetIdAsc = 'LEGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_ASC', - LegsByCreatedBlockIdDistinctCountAssetIdDesc = 'LEGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_DESC', - LegsByCreatedBlockIdDistinctCountCreatedAtAsc = 'LEGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - LegsByCreatedBlockIdDistinctCountCreatedAtDesc = 'LEGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - LegsByCreatedBlockIdDistinctCountCreatedBlockIdAsc = 'LEGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - LegsByCreatedBlockIdDistinctCountCreatedBlockIdDesc = 'LEGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - LegsByCreatedBlockIdDistinctCountFromIdAsc = 'LEGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_FROM_ID_ASC', - LegsByCreatedBlockIdDistinctCountFromIdDesc = 'LEGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_FROM_ID_DESC', - LegsByCreatedBlockIdDistinctCountIdAsc = 'LEGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - LegsByCreatedBlockIdDistinctCountIdDesc = 'LEGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - LegsByCreatedBlockIdDistinctCountInstructionIdAsc = 'LEGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_INSTRUCTION_ID_ASC', - LegsByCreatedBlockIdDistinctCountInstructionIdDesc = 'LEGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_INSTRUCTION_ID_DESC', - LegsByCreatedBlockIdDistinctCountLegTypeAsc = 'LEGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_LEG_TYPE_ASC', - LegsByCreatedBlockIdDistinctCountLegTypeDesc = 'LEGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_LEG_TYPE_DESC', - LegsByCreatedBlockIdDistinctCountNftIdsAsc = 'LEGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_NFT_IDS_ASC', - LegsByCreatedBlockIdDistinctCountNftIdsDesc = 'LEGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_NFT_IDS_DESC', - LegsByCreatedBlockIdDistinctCountSettlementIdAsc = 'LEGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_SETTLEMENT_ID_ASC', - LegsByCreatedBlockIdDistinctCountSettlementIdDesc = 'LEGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_SETTLEMENT_ID_DESC', - LegsByCreatedBlockIdDistinctCountToIdAsc = 'LEGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TO_ID_ASC', - LegsByCreatedBlockIdDistinctCountToIdDesc = 'LEGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TO_ID_DESC', - LegsByCreatedBlockIdDistinctCountUpdatedAtAsc = 'LEGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - LegsByCreatedBlockIdDistinctCountUpdatedAtDesc = 'LEGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - LegsByCreatedBlockIdDistinctCountUpdatedBlockIdAsc = 'LEGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - LegsByCreatedBlockIdDistinctCountUpdatedBlockIdDesc = 'LEGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - LegsByCreatedBlockIdMaxAddressesAsc = 'LEGS_BY_CREATED_BLOCK_ID_MAX_ADDRESSES_ASC', - LegsByCreatedBlockIdMaxAddressesDesc = 'LEGS_BY_CREATED_BLOCK_ID_MAX_ADDRESSES_DESC', - LegsByCreatedBlockIdMaxAmountAsc = 'LEGS_BY_CREATED_BLOCK_ID_MAX_AMOUNT_ASC', - LegsByCreatedBlockIdMaxAmountDesc = 'LEGS_BY_CREATED_BLOCK_ID_MAX_AMOUNT_DESC', - LegsByCreatedBlockIdMaxAssetIdAsc = 'LEGS_BY_CREATED_BLOCK_ID_MAX_ASSET_ID_ASC', - LegsByCreatedBlockIdMaxAssetIdDesc = 'LEGS_BY_CREATED_BLOCK_ID_MAX_ASSET_ID_DESC', - LegsByCreatedBlockIdMaxCreatedAtAsc = 'LEGS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_ASC', - LegsByCreatedBlockIdMaxCreatedAtDesc = 'LEGS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_DESC', - LegsByCreatedBlockIdMaxCreatedBlockIdAsc = 'LEGS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - LegsByCreatedBlockIdMaxCreatedBlockIdDesc = 'LEGS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - LegsByCreatedBlockIdMaxFromIdAsc = 'LEGS_BY_CREATED_BLOCK_ID_MAX_FROM_ID_ASC', - LegsByCreatedBlockIdMaxFromIdDesc = 'LEGS_BY_CREATED_BLOCK_ID_MAX_FROM_ID_DESC', - LegsByCreatedBlockIdMaxIdAsc = 'LEGS_BY_CREATED_BLOCK_ID_MAX_ID_ASC', - LegsByCreatedBlockIdMaxIdDesc = 'LEGS_BY_CREATED_BLOCK_ID_MAX_ID_DESC', - LegsByCreatedBlockIdMaxInstructionIdAsc = 'LEGS_BY_CREATED_BLOCK_ID_MAX_INSTRUCTION_ID_ASC', - LegsByCreatedBlockIdMaxInstructionIdDesc = 'LEGS_BY_CREATED_BLOCK_ID_MAX_INSTRUCTION_ID_DESC', - LegsByCreatedBlockIdMaxLegTypeAsc = 'LEGS_BY_CREATED_BLOCK_ID_MAX_LEG_TYPE_ASC', - LegsByCreatedBlockIdMaxLegTypeDesc = 'LEGS_BY_CREATED_BLOCK_ID_MAX_LEG_TYPE_DESC', - LegsByCreatedBlockIdMaxNftIdsAsc = 'LEGS_BY_CREATED_BLOCK_ID_MAX_NFT_IDS_ASC', - LegsByCreatedBlockIdMaxNftIdsDesc = 'LEGS_BY_CREATED_BLOCK_ID_MAX_NFT_IDS_DESC', - LegsByCreatedBlockIdMaxSettlementIdAsc = 'LEGS_BY_CREATED_BLOCK_ID_MAX_SETTLEMENT_ID_ASC', - LegsByCreatedBlockIdMaxSettlementIdDesc = 'LEGS_BY_CREATED_BLOCK_ID_MAX_SETTLEMENT_ID_DESC', - LegsByCreatedBlockIdMaxToIdAsc = 'LEGS_BY_CREATED_BLOCK_ID_MAX_TO_ID_ASC', - LegsByCreatedBlockIdMaxToIdDesc = 'LEGS_BY_CREATED_BLOCK_ID_MAX_TO_ID_DESC', - LegsByCreatedBlockIdMaxUpdatedAtAsc = 'LEGS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - LegsByCreatedBlockIdMaxUpdatedAtDesc = 'LEGS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - LegsByCreatedBlockIdMaxUpdatedBlockIdAsc = 'LEGS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - LegsByCreatedBlockIdMaxUpdatedBlockIdDesc = 'LEGS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - LegsByCreatedBlockIdMinAddressesAsc = 'LEGS_BY_CREATED_BLOCK_ID_MIN_ADDRESSES_ASC', - LegsByCreatedBlockIdMinAddressesDesc = 'LEGS_BY_CREATED_BLOCK_ID_MIN_ADDRESSES_DESC', - LegsByCreatedBlockIdMinAmountAsc = 'LEGS_BY_CREATED_BLOCK_ID_MIN_AMOUNT_ASC', - LegsByCreatedBlockIdMinAmountDesc = 'LEGS_BY_CREATED_BLOCK_ID_MIN_AMOUNT_DESC', - LegsByCreatedBlockIdMinAssetIdAsc = 'LEGS_BY_CREATED_BLOCK_ID_MIN_ASSET_ID_ASC', - LegsByCreatedBlockIdMinAssetIdDesc = 'LEGS_BY_CREATED_BLOCK_ID_MIN_ASSET_ID_DESC', - LegsByCreatedBlockIdMinCreatedAtAsc = 'LEGS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_ASC', - LegsByCreatedBlockIdMinCreatedAtDesc = 'LEGS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_DESC', - LegsByCreatedBlockIdMinCreatedBlockIdAsc = 'LEGS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - LegsByCreatedBlockIdMinCreatedBlockIdDesc = 'LEGS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - LegsByCreatedBlockIdMinFromIdAsc = 'LEGS_BY_CREATED_BLOCK_ID_MIN_FROM_ID_ASC', - LegsByCreatedBlockIdMinFromIdDesc = 'LEGS_BY_CREATED_BLOCK_ID_MIN_FROM_ID_DESC', - LegsByCreatedBlockIdMinIdAsc = 'LEGS_BY_CREATED_BLOCK_ID_MIN_ID_ASC', - LegsByCreatedBlockIdMinIdDesc = 'LEGS_BY_CREATED_BLOCK_ID_MIN_ID_DESC', - LegsByCreatedBlockIdMinInstructionIdAsc = 'LEGS_BY_CREATED_BLOCK_ID_MIN_INSTRUCTION_ID_ASC', - LegsByCreatedBlockIdMinInstructionIdDesc = 'LEGS_BY_CREATED_BLOCK_ID_MIN_INSTRUCTION_ID_DESC', - LegsByCreatedBlockIdMinLegTypeAsc = 'LEGS_BY_CREATED_BLOCK_ID_MIN_LEG_TYPE_ASC', - LegsByCreatedBlockIdMinLegTypeDesc = 'LEGS_BY_CREATED_BLOCK_ID_MIN_LEG_TYPE_DESC', - LegsByCreatedBlockIdMinNftIdsAsc = 'LEGS_BY_CREATED_BLOCK_ID_MIN_NFT_IDS_ASC', - LegsByCreatedBlockIdMinNftIdsDesc = 'LEGS_BY_CREATED_BLOCK_ID_MIN_NFT_IDS_DESC', - LegsByCreatedBlockIdMinSettlementIdAsc = 'LEGS_BY_CREATED_BLOCK_ID_MIN_SETTLEMENT_ID_ASC', - LegsByCreatedBlockIdMinSettlementIdDesc = 'LEGS_BY_CREATED_BLOCK_ID_MIN_SETTLEMENT_ID_DESC', - LegsByCreatedBlockIdMinToIdAsc = 'LEGS_BY_CREATED_BLOCK_ID_MIN_TO_ID_ASC', - LegsByCreatedBlockIdMinToIdDesc = 'LEGS_BY_CREATED_BLOCK_ID_MIN_TO_ID_DESC', - LegsByCreatedBlockIdMinUpdatedAtAsc = 'LEGS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - LegsByCreatedBlockIdMinUpdatedAtDesc = 'LEGS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - LegsByCreatedBlockIdMinUpdatedBlockIdAsc = 'LEGS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - LegsByCreatedBlockIdMinUpdatedBlockIdDesc = 'LEGS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - LegsByCreatedBlockIdStddevPopulationAddressesAsc = 'LEGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ADDRESSES_ASC', - LegsByCreatedBlockIdStddevPopulationAddressesDesc = 'LEGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ADDRESSES_DESC', - LegsByCreatedBlockIdStddevPopulationAmountAsc = 'LEGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_AMOUNT_ASC', - LegsByCreatedBlockIdStddevPopulationAmountDesc = 'LEGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_AMOUNT_DESC', - LegsByCreatedBlockIdStddevPopulationAssetIdAsc = 'LEGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_ASC', - LegsByCreatedBlockIdStddevPopulationAssetIdDesc = 'LEGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_DESC', - LegsByCreatedBlockIdStddevPopulationCreatedAtAsc = 'LEGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - LegsByCreatedBlockIdStddevPopulationCreatedAtDesc = 'LEGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - LegsByCreatedBlockIdStddevPopulationCreatedBlockIdAsc = 'LEGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - LegsByCreatedBlockIdStddevPopulationCreatedBlockIdDesc = 'LEGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - LegsByCreatedBlockIdStddevPopulationFromIdAsc = 'LEGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_FROM_ID_ASC', - LegsByCreatedBlockIdStddevPopulationFromIdDesc = 'LEGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_FROM_ID_DESC', - LegsByCreatedBlockIdStddevPopulationIdAsc = 'LEGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - LegsByCreatedBlockIdStddevPopulationIdDesc = 'LEGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - LegsByCreatedBlockIdStddevPopulationInstructionIdAsc = 'LEGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_INSTRUCTION_ID_ASC', - LegsByCreatedBlockIdStddevPopulationInstructionIdDesc = 'LEGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_INSTRUCTION_ID_DESC', - LegsByCreatedBlockIdStddevPopulationLegTypeAsc = 'LEGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_LEG_TYPE_ASC', - LegsByCreatedBlockIdStddevPopulationLegTypeDesc = 'LEGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_LEG_TYPE_DESC', - LegsByCreatedBlockIdStddevPopulationNftIdsAsc = 'LEGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_NFT_IDS_ASC', - LegsByCreatedBlockIdStddevPopulationNftIdsDesc = 'LEGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_NFT_IDS_DESC', - LegsByCreatedBlockIdStddevPopulationSettlementIdAsc = 'LEGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_SETTLEMENT_ID_ASC', - LegsByCreatedBlockIdStddevPopulationSettlementIdDesc = 'LEGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_SETTLEMENT_ID_DESC', - LegsByCreatedBlockIdStddevPopulationToIdAsc = 'LEGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TO_ID_ASC', - LegsByCreatedBlockIdStddevPopulationToIdDesc = 'LEGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TO_ID_DESC', - LegsByCreatedBlockIdStddevPopulationUpdatedAtAsc = 'LEGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - LegsByCreatedBlockIdStddevPopulationUpdatedAtDesc = 'LEGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - LegsByCreatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'LEGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - LegsByCreatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'LEGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - LegsByCreatedBlockIdStddevSampleAddressesAsc = 'LEGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ADDRESSES_ASC', - LegsByCreatedBlockIdStddevSampleAddressesDesc = 'LEGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ADDRESSES_DESC', - LegsByCreatedBlockIdStddevSampleAmountAsc = 'LEGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_AMOUNT_ASC', - LegsByCreatedBlockIdStddevSampleAmountDesc = 'LEGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_AMOUNT_DESC', - LegsByCreatedBlockIdStddevSampleAssetIdAsc = 'LEGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_ASC', - LegsByCreatedBlockIdStddevSampleAssetIdDesc = 'LEGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_DESC', - LegsByCreatedBlockIdStddevSampleCreatedAtAsc = 'LEGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - LegsByCreatedBlockIdStddevSampleCreatedAtDesc = 'LEGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - LegsByCreatedBlockIdStddevSampleCreatedBlockIdAsc = 'LEGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - LegsByCreatedBlockIdStddevSampleCreatedBlockIdDesc = 'LEGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - LegsByCreatedBlockIdStddevSampleFromIdAsc = 'LEGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_FROM_ID_ASC', - LegsByCreatedBlockIdStddevSampleFromIdDesc = 'LEGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_FROM_ID_DESC', - LegsByCreatedBlockIdStddevSampleIdAsc = 'LEGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - LegsByCreatedBlockIdStddevSampleIdDesc = 'LEGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - LegsByCreatedBlockIdStddevSampleInstructionIdAsc = 'LEGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_INSTRUCTION_ID_ASC', - LegsByCreatedBlockIdStddevSampleInstructionIdDesc = 'LEGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_INSTRUCTION_ID_DESC', - LegsByCreatedBlockIdStddevSampleLegTypeAsc = 'LEGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_LEG_TYPE_ASC', - LegsByCreatedBlockIdStddevSampleLegTypeDesc = 'LEGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_LEG_TYPE_DESC', - LegsByCreatedBlockIdStddevSampleNftIdsAsc = 'LEGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_NFT_IDS_ASC', - LegsByCreatedBlockIdStddevSampleNftIdsDesc = 'LEGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_NFT_IDS_DESC', - LegsByCreatedBlockIdStddevSampleSettlementIdAsc = 'LEGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_SETTLEMENT_ID_ASC', - LegsByCreatedBlockIdStddevSampleSettlementIdDesc = 'LEGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_SETTLEMENT_ID_DESC', - LegsByCreatedBlockIdStddevSampleToIdAsc = 'LEGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TO_ID_ASC', - LegsByCreatedBlockIdStddevSampleToIdDesc = 'LEGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TO_ID_DESC', - LegsByCreatedBlockIdStddevSampleUpdatedAtAsc = 'LEGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - LegsByCreatedBlockIdStddevSampleUpdatedAtDesc = 'LEGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - LegsByCreatedBlockIdStddevSampleUpdatedBlockIdAsc = 'LEGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - LegsByCreatedBlockIdStddevSampleUpdatedBlockIdDesc = 'LEGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - LegsByCreatedBlockIdSumAddressesAsc = 'LEGS_BY_CREATED_BLOCK_ID_SUM_ADDRESSES_ASC', - LegsByCreatedBlockIdSumAddressesDesc = 'LEGS_BY_CREATED_BLOCK_ID_SUM_ADDRESSES_DESC', - LegsByCreatedBlockIdSumAmountAsc = 'LEGS_BY_CREATED_BLOCK_ID_SUM_AMOUNT_ASC', - LegsByCreatedBlockIdSumAmountDesc = 'LEGS_BY_CREATED_BLOCK_ID_SUM_AMOUNT_DESC', - LegsByCreatedBlockIdSumAssetIdAsc = 'LEGS_BY_CREATED_BLOCK_ID_SUM_ASSET_ID_ASC', - LegsByCreatedBlockIdSumAssetIdDesc = 'LEGS_BY_CREATED_BLOCK_ID_SUM_ASSET_ID_DESC', - LegsByCreatedBlockIdSumCreatedAtAsc = 'LEGS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_ASC', - LegsByCreatedBlockIdSumCreatedAtDesc = 'LEGS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_DESC', - LegsByCreatedBlockIdSumCreatedBlockIdAsc = 'LEGS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - LegsByCreatedBlockIdSumCreatedBlockIdDesc = 'LEGS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - LegsByCreatedBlockIdSumFromIdAsc = 'LEGS_BY_CREATED_BLOCK_ID_SUM_FROM_ID_ASC', - LegsByCreatedBlockIdSumFromIdDesc = 'LEGS_BY_CREATED_BLOCK_ID_SUM_FROM_ID_DESC', - LegsByCreatedBlockIdSumIdAsc = 'LEGS_BY_CREATED_BLOCK_ID_SUM_ID_ASC', - LegsByCreatedBlockIdSumIdDesc = 'LEGS_BY_CREATED_BLOCK_ID_SUM_ID_DESC', - LegsByCreatedBlockIdSumInstructionIdAsc = 'LEGS_BY_CREATED_BLOCK_ID_SUM_INSTRUCTION_ID_ASC', - LegsByCreatedBlockIdSumInstructionIdDesc = 'LEGS_BY_CREATED_BLOCK_ID_SUM_INSTRUCTION_ID_DESC', - LegsByCreatedBlockIdSumLegTypeAsc = 'LEGS_BY_CREATED_BLOCK_ID_SUM_LEG_TYPE_ASC', - LegsByCreatedBlockIdSumLegTypeDesc = 'LEGS_BY_CREATED_BLOCK_ID_SUM_LEG_TYPE_DESC', - LegsByCreatedBlockIdSumNftIdsAsc = 'LEGS_BY_CREATED_BLOCK_ID_SUM_NFT_IDS_ASC', - LegsByCreatedBlockIdSumNftIdsDesc = 'LEGS_BY_CREATED_BLOCK_ID_SUM_NFT_IDS_DESC', - LegsByCreatedBlockIdSumSettlementIdAsc = 'LEGS_BY_CREATED_BLOCK_ID_SUM_SETTLEMENT_ID_ASC', - LegsByCreatedBlockIdSumSettlementIdDesc = 'LEGS_BY_CREATED_BLOCK_ID_SUM_SETTLEMENT_ID_DESC', - LegsByCreatedBlockIdSumToIdAsc = 'LEGS_BY_CREATED_BLOCK_ID_SUM_TO_ID_ASC', - LegsByCreatedBlockIdSumToIdDesc = 'LEGS_BY_CREATED_BLOCK_ID_SUM_TO_ID_DESC', - LegsByCreatedBlockIdSumUpdatedAtAsc = 'LEGS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - LegsByCreatedBlockIdSumUpdatedAtDesc = 'LEGS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - LegsByCreatedBlockIdSumUpdatedBlockIdAsc = 'LEGS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - LegsByCreatedBlockIdSumUpdatedBlockIdDesc = 'LEGS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - LegsByCreatedBlockIdVariancePopulationAddressesAsc = 'LEGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ADDRESSES_ASC', - LegsByCreatedBlockIdVariancePopulationAddressesDesc = 'LEGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ADDRESSES_DESC', - LegsByCreatedBlockIdVariancePopulationAmountAsc = 'LEGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_AMOUNT_ASC', - LegsByCreatedBlockIdVariancePopulationAmountDesc = 'LEGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_AMOUNT_DESC', - LegsByCreatedBlockIdVariancePopulationAssetIdAsc = 'LEGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_ASC', - LegsByCreatedBlockIdVariancePopulationAssetIdDesc = 'LEGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_DESC', - LegsByCreatedBlockIdVariancePopulationCreatedAtAsc = 'LEGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - LegsByCreatedBlockIdVariancePopulationCreatedAtDesc = 'LEGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - LegsByCreatedBlockIdVariancePopulationCreatedBlockIdAsc = 'LEGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - LegsByCreatedBlockIdVariancePopulationCreatedBlockIdDesc = 'LEGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - LegsByCreatedBlockIdVariancePopulationFromIdAsc = 'LEGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_FROM_ID_ASC', - LegsByCreatedBlockIdVariancePopulationFromIdDesc = 'LEGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_FROM_ID_DESC', - LegsByCreatedBlockIdVariancePopulationIdAsc = 'LEGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - LegsByCreatedBlockIdVariancePopulationIdDesc = 'LEGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - LegsByCreatedBlockIdVariancePopulationInstructionIdAsc = 'LEGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_INSTRUCTION_ID_ASC', - LegsByCreatedBlockIdVariancePopulationInstructionIdDesc = 'LEGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_INSTRUCTION_ID_DESC', - LegsByCreatedBlockIdVariancePopulationLegTypeAsc = 'LEGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_LEG_TYPE_ASC', - LegsByCreatedBlockIdVariancePopulationLegTypeDesc = 'LEGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_LEG_TYPE_DESC', - LegsByCreatedBlockIdVariancePopulationNftIdsAsc = 'LEGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_NFT_IDS_ASC', - LegsByCreatedBlockIdVariancePopulationNftIdsDesc = 'LEGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_NFT_IDS_DESC', - LegsByCreatedBlockIdVariancePopulationSettlementIdAsc = 'LEGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_SETTLEMENT_ID_ASC', - LegsByCreatedBlockIdVariancePopulationSettlementIdDesc = 'LEGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_SETTLEMENT_ID_DESC', - LegsByCreatedBlockIdVariancePopulationToIdAsc = 'LEGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TO_ID_ASC', - LegsByCreatedBlockIdVariancePopulationToIdDesc = 'LEGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TO_ID_DESC', - LegsByCreatedBlockIdVariancePopulationUpdatedAtAsc = 'LEGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - LegsByCreatedBlockIdVariancePopulationUpdatedAtDesc = 'LEGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - LegsByCreatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'LEGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - LegsByCreatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'LEGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - LegsByCreatedBlockIdVarianceSampleAddressesAsc = 'LEGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ADDRESSES_ASC', - LegsByCreatedBlockIdVarianceSampleAddressesDesc = 'LEGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ADDRESSES_DESC', - LegsByCreatedBlockIdVarianceSampleAmountAsc = 'LEGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_AMOUNT_ASC', - LegsByCreatedBlockIdVarianceSampleAmountDesc = 'LEGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_AMOUNT_DESC', - LegsByCreatedBlockIdVarianceSampleAssetIdAsc = 'LEGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_ASC', - LegsByCreatedBlockIdVarianceSampleAssetIdDesc = 'LEGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_DESC', - LegsByCreatedBlockIdVarianceSampleCreatedAtAsc = 'LEGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - LegsByCreatedBlockIdVarianceSampleCreatedAtDesc = 'LEGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - LegsByCreatedBlockIdVarianceSampleCreatedBlockIdAsc = 'LEGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - LegsByCreatedBlockIdVarianceSampleCreatedBlockIdDesc = 'LEGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - LegsByCreatedBlockIdVarianceSampleFromIdAsc = 'LEGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_FROM_ID_ASC', - LegsByCreatedBlockIdVarianceSampleFromIdDesc = 'LEGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_FROM_ID_DESC', - LegsByCreatedBlockIdVarianceSampleIdAsc = 'LEGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - LegsByCreatedBlockIdVarianceSampleIdDesc = 'LEGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - LegsByCreatedBlockIdVarianceSampleInstructionIdAsc = 'LEGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_INSTRUCTION_ID_ASC', - LegsByCreatedBlockIdVarianceSampleInstructionIdDesc = 'LEGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_INSTRUCTION_ID_DESC', - LegsByCreatedBlockIdVarianceSampleLegTypeAsc = 'LEGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_LEG_TYPE_ASC', - LegsByCreatedBlockIdVarianceSampleLegTypeDesc = 'LEGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_LEG_TYPE_DESC', - LegsByCreatedBlockIdVarianceSampleNftIdsAsc = 'LEGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_NFT_IDS_ASC', - LegsByCreatedBlockIdVarianceSampleNftIdsDesc = 'LEGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_NFT_IDS_DESC', - LegsByCreatedBlockIdVarianceSampleSettlementIdAsc = 'LEGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_SETTLEMENT_ID_ASC', - LegsByCreatedBlockIdVarianceSampleSettlementIdDesc = 'LEGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_SETTLEMENT_ID_DESC', - LegsByCreatedBlockIdVarianceSampleToIdAsc = 'LEGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TO_ID_ASC', - LegsByCreatedBlockIdVarianceSampleToIdDesc = 'LEGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TO_ID_DESC', - LegsByCreatedBlockIdVarianceSampleUpdatedAtAsc = 'LEGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - LegsByCreatedBlockIdVarianceSampleUpdatedAtDesc = 'LEGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - LegsByCreatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'LEGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - LegsByCreatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'LEGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - LegsByUpdatedBlockIdAverageAddressesAsc = 'LEGS_BY_UPDATED_BLOCK_ID_AVERAGE_ADDRESSES_ASC', - LegsByUpdatedBlockIdAverageAddressesDesc = 'LEGS_BY_UPDATED_BLOCK_ID_AVERAGE_ADDRESSES_DESC', - LegsByUpdatedBlockIdAverageAmountAsc = 'LEGS_BY_UPDATED_BLOCK_ID_AVERAGE_AMOUNT_ASC', - LegsByUpdatedBlockIdAverageAmountDesc = 'LEGS_BY_UPDATED_BLOCK_ID_AVERAGE_AMOUNT_DESC', - LegsByUpdatedBlockIdAverageAssetIdAsc = 'LEGS_BY_UPDATED_BLOCK_ID_AVERAGE_ASSET_ID_ASC', - LegsByUpdatedBlockIdAverageAssetIdDesc = 'LEGS_BY_UPDATED_BLOCK_ID_AVERAGE_ASSET_ID_DESC', - LegsByUpdatedBlockIdAverageCreatedAtAsc = 'LEGS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - LegsByUpdatedBlockIdAverageCreatedAtDesc = 'LEGS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - LegsByUpdatedBlockIdAverageCreatedBlockIdAsc = 'LEGS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - LegsByUpdatedBlockIdAverageCreatedBlockIdDesc = 'LEGS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - LegsByUpdatedBlockIdAverageFromIdAsc = 'LEGS_BY_UPDATED_BLOCK_ID_AVERAGE_FROM_ID_ASC', - LegsByUpdatedBlockIdAverageFromIdDesc = 'LEGS_BY_UPDATED_BLOCK_ID_AVERAGE_FROM_ID_DESC', - LegsByUpdatedBlockIdAverageIdAsc = 'LEGS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_ASC', - LegsByUpdatedBlockIdAverageIdDesc = 'LEGS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_DESC', - LegsByUpdatedBlockIdAverageInstructionIdAsc = 'LEGS_BY_UPDATED_BLOCK_ID_AVERAGE_INSTRUCTION_ID_ASC', - LegsByUpdatedBlockIdAverageInstructionIdDesc = 'LEGS_BY_UPDATED_BLOCK_ID_AVERAGE_INSTRUCTION_ID_DESC', - LegsByUpdatedBlockIdAverageLegTypeAsc = 'LEGS_BY_UPDATED_BLOCK_ID_AVERAGE_LEG_TYPE_ASC', - LegsByUpdatedBlockIdAverageLegTypeDesc = 'LEGS_BY_UPDATED_BLOCK_ID_AVERAGE_LEG_TYPE_DESC', - LegsByUpdatedBlockIdAverageNftIdsAsc = 'LEGS_BY_UPDATED_BLOCK_ID_AVERAGE_NFT_IDS_ASC', - LegsByUpdatedBlockIdAverageNftIdsDesc = 'LEGS_BY_UPDATED_BLOCK_ID_AVERAGE_NFT_IDS_DESC', - LegsByUpdatedBlockIdAverageSettlementIdAsc = 'LEGS_BY_UPDATED_BLOCK_ID_AVERAGE_SETTLEMENT_ID_ASC', - LegsByUpdatedBlockIdAverageSettlementIdDesc = 'LEGS_BY_UPDATED_BLOCK_ID_AVERAGE_SETTLEMENT_ID_DESC', - LegsByUpdatedBlockIdAverageToIdAsc = 'LEGS_BY_UPDATED_BLOCK_ID_AVERAGE_TO_ID_ASC', - LegsByUpdatedBlockIdAverageToIdDesc = 'LEGS_BY_UPDATED_BLOCK_ID_AVERAGE_TO_ID_DESC', - LegsByUpdatedBlockIdAverageUpdatedAtAsc = 'LEGS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - LegsByUpdatedBlockIdAverageUpdatedAtDesc = 'LEGS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - LegsByUpdatedBlockIdAverageUpdatedBlockIdAsc = 'LEGS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - LegsByUpdatedBlockIdAverageUpdatedBlockIdDesc = 'LEGS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - LegsByUpdatedBlockIdCountAsc = 'LEGS_BY_UPDATED_BLOCK_ID_COUNT_ASC', - LegsByUpdatedBlockIdCountDesc = 'LEGS_BY_UPDATED_BLOCK_ID_COUNT_DESC', - LegsByUpdatedBlockIdDistinctCountAddressesAsc = 'LEGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ADDRESSES_ASC', - LegsByUpdatedBlockIdDistinctCountAddressesDesc = 'LEGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ADDRESSES_DESC', - LegsByUpdatedBlockIdDistinctCountAmountAsc = 'LEGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_AMOUNT_ASC', - LegsByUpdatedBlockIdDistinctCountAmountDesc = 'LEGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_AMOUNT_DESC', - LegsByUpdatedBlockIdDistinctCountAssetIdAsc = 'LEGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_ASC', - LegsByUpdatedBlockIdDistinctCountAssetIdDesc = 'LEGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_DESC', - LegsByUpdatedBlockIdDistinctCountCreatedAtAsc = 'LEGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - LegsByUpdatedBlockIdDistinctCountCreatedAtDesc = 'LEGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - LegsByUpdatedBlockIdDistinctCountCreatedBlockIdAsc = 'LEGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - LegsByUpdatedBlockIdDistinctCountCreatedBlockIdDesc = 'LEGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - LegsByUpdatedBlockIdDistinctCountFromIdAsc = 'LEGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_FROM_ID_ASC', - LegsByUpdatedBlockIdDistinctCountFromIdDesc = 'LEGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_FROM_ID_DESC', - LegsByUpdatedBlockIdDistinctCountIdAsc = 'LEGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - LegsByUpdatedBlockIdDistinctCountIdDesc = 'LEGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - LegsByUpdatedBlockIdDistinctCountInstructionIdAsc = 'LEGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_INSTRUCTION_ID_ASC', - LegsByUpdatedBlockIdDistinctCountInstructionIdDesc = 'LEGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_INSTRUCTION_ID_DESC', - LegsByUpdatedBlockIdDistinctCountLegTypeAsc = 'LEGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_LEG_TYPE_ASC', - LegsByUpdatedBlockIdDistinctCountLegTypeDesc = 'LEGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_LEG_TYPE_DESC', - LegsByUpdatedBlockIdDistinctCountNftIdsAsc = 'LEGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_NFT_IDS_ASC', - LegsByUpdatedBlockIdDistinctCountNftIdsDesc = 'LEGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_NFT_IDS_DESC', - LegsByUpdatedBlockIdDistinctCountSettlementIdAsc = 'LEGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_SETTLEMENT_ID_ASC', - LegsByUpdatedBlockIdDistinctCountSettlementIdDesc = 'LEGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_SETTLEMENT_ID_DESC', - LegsByUpdatedBlockIdDistinctCountToIdAsc = 'LEGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TO_ID_ASC', - LegsByUpdatedBlockIdDistinctCountToIdDesc = 'LEGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TO_ID_DESC', - LegsByUpdatedBlockIdDistinctCountUpdatedAtAsc = 'LEGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - LegsByUpdatedBlockIdDistinctCountUpdatedAtDesc = 'LEGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - LegsByUpdatedBlockIdDistinctCountUpdatedBlockIdAsc = 'LEGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - LegsByUpdatedBlockIdDistinctCountUpdatedBlockIdDesc = 'LEGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - LegsByUpdatedBlockIdMaxAddressesAsc = 'LEGS_BY_UPDATED_BLOCK_ID_MAX_ADDRESSES_ASC', - LegsByUpdatedBlockIdMaxAddressesDesc = 'LEGS_BY_UPDATED_BLOCK_ID_MAX_ADDRESSES_DESC', - LegsByUpdatedBlockIdMaxAmountAsc = 'LEGS_BY_UPDATED_BLOCK_ID_MAX_AMOUNT_ASC', - LegsByUpdatedBlockIdMaxAmountDesc = 'LEGS_BY_UPDATED_BLOCK_ID_MAX_AMOUNT_DESC', - LegsByUpdatedBlockIdMaxAssetIdAsc = 'LEGS_BY_UPDATED_BLOCK_ID_MAX_ASSET_ID_ASC', - LegsByUpdatedBlockIdMaxAssetIdDesc = 'LEGS_BY_UPDATED_BLOCK_ID_MAX_ASSET_ID_DESC', - LegsByUpdatedBlockIdMaxCreatedAtAsc = 'LEGS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_ASC', - LegsByUpdatedBlockIdMaxCreatedAtDesc = 'LEGS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_DESC', - LegsByUpdatedBlockIdMaxCreatedBlockIdAsc = 'LEGS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - LegsByUpdatedBlockIdMaxCreatedBlockIdDesc = 'LEGS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - LegsByUpdatedBlockIdMaxFromIdAsc = 'LEGS_BY_UPDATED_BLOCK_ID_MAX_FROM_ID_ASC', - LegsByUpdatedBlockIdMaxFromIdDesc = 'LEGS_BY_UPDATED_BLOCK_ID_MAX_FROM_ID_DESC', - LegsByUpdatedBlockIdMaxIdAsc = 'LEGS_BY_UPDATED_BLOCK_ID_MAX_ID_ASC', - LegsByUpdatedBlockIdMaxIdDesc = 'LEGS_BY_UPDATED_BLOCK_ID_MAX_ID_DESC', - LegsByUpdatedBlockIdMaxInstructionIdAsc = 'LEGS_BY_UPDATED_BLOCK_ID_MAX_INSTRUCTION_ID_ASC', - LegsByUpdatedBlockIdMaxInstructionIdDesc = 'LEGS_BY_UPDATED_BLOCK_ID_MAX_INSTRUCTION_ID_DESC', - LegsByUpdatedBlockIdMaxLegTypeAsc = 'LEGS_BY_UPDATED_BLOCK_ID_MAX_LEG_TYPE_ASC', - LegsByUpdatedBlockIdMaxLegTypeDesc = 'LEGS_BY_UPDATED_BLOCK_ID_MAX_LEG_TYPE_DESC', - LegsByUpdatedBlockIdMaxNftIdsAsc = 'LEGS_BY_UPDATED_BLOCK_ID_MAX_NFT_IDS_ASC', - LegsByUpdatedBlockIdMaxNftIdsDesc = 'LEGS_BY_UPDATED_BLOCK_ID_MAX_NFT_IDS_DESC', - LegsByUpdatedBlockIdMaxSettlementIdAsc = 'LEGS_BY_UPDATED_BLOCK_ID_MAX_SETTLEMENT_ID_ASC', - LegsByUpdatedBlockIdMaxSettlementIdDesc = 'LEGS_BY_UPDATED_BLOCK_ID_MAX_SETTLEMENT_ID_DESC', - LegsByUpdatedBlockIdMaxToIdAsc = 'LEGS_BY_UPDATED_BLOCK_ID_MAX_TO_ID_ASC', - LegsByUpdatedBlockIdMaxToIdDesc = 'LEGS_BY_UPDATED_BLOCK_ID_MAX_TO_ID_DESC', - LegsByUpdatedBlockIdMaxUpdatedAtAsc = 'LEGS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - LegsByUpdatedBlockIdMaxUpdatedAtDesc = 'LEGS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - LegsByUpdatedBlockIdMaxUpdatedBlockIdAsc = 'LEGS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - LegsByUpdatedBlockIdMaxUpdatedBlockIdDesc = 'LEGS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - LegsByUpdatedBlockIdMinAddressesAsc = 'LEGS_BY_UPDATED_BLOCK_ID_MIN_ADDRESSES_ASC', - LegsByUpdatedBlockIdMinAddressesDesc = 'LEGS_BY_UPDATED_BLOCK_ID_MIN_ADDRESSES_DESC', - LegsByUpdatedBlockIdMinAmountAsc = 'LEGS_BY_UPDATED_BLOCK_ID_MIN_AMOUNT_ASC', - LegsByUpdatedBlockIdMinAmountDesc = 'LEGS_BY_UPDATED_BLOCK_ID_MIN_AMOUNT_DESC', - LegsByUpdatedBlockIdMinAssetIdAsc = 'LEGS_BY_UPDATED_BLOCK_ID_MIN_ASSET_ID_ASC', - LegsByUpdatedBlockIdMinAssetIdDesc = 'LEGS_BY_UPDATED_BLOCK_ID_MIN_ASSET_ID_DESC', - LegsByUpdatedBlockIdMinCreatedAtAsc = 'LEGS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_ASC', - LegsByUpdatedBlockIdMinCreatedAtDesc = 'LEGS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_DESC', - LegsByUpdatedBlockIdMinCreatedBlockIdAsc = 'LEGS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - LegsByUpdatedBlockIdMinCreatedBlockIdDesc = 'LEGS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - LegsByUpdatedBlockIdMinFromIdAsc = 'LEGS_BY_UPDATED_BLOCK_ID_MIN_FROM_ID_ASC', - LegsByUpdatedBlockIdMinFromIdDesc = 'LEGS_BY_UPDATED_BLOCK_ID_MIN_FROM_ID_DESC', - LegsByUpdatedBlockIdMinIdAsc = 'LEGS_BY_UPDATED_BLOCK_ID_MIN_ID_ASC', - LegsByUpdatedBlockIdMinIdDesc = 'LEGS_BY_UPDATED_BLOCK_ID_MIN_ID_DESC', - LegsByUpdatedBlockIdMinInstructionIdAsc = 'LEGS_BY_UPDATED_BLOCK_ID_MIN_INSTRUCTION_ID_ASC', - LegsByUpdatedBlockIdMinInstructionIdDesc = 'LEGS_BY_UPDATED_BLOCK_ID_MIN_INSTRUCTION_ID_DESC', - LegsByUpdatedBlockIdMinLegTypeAsc = 'LEGS_BY_UPDATED_BLOCK_ID_MIN_LEG_TYPE_ASC', - LegsByUpdatedBlockIdMinLegTypeDesc = 'LEGS_BY_UPDATED_BLOCK_ID_MIN_LEG_TYPE_DESC', - LegsByUpdatedBlockIdMinNftIdsAsc = 'LEGS_BY_UPDATED_BLOCK_ID_MIN_NFT_IDS_ASC', - LegsByUpdatedBlockIdMinNftIdsDesc = 'LEGS_BY_UPDATED_BLOCK_ID_MIN_NFT_IDS_DESC', - LegsByUpdatedBlockIdMinSettlementIdAsc = 'LEGS_BY_UPDATED_BLOCK_ID_MIN_SETTLEMENT_ID_ASC', - LegsByUpdatedBlockIdMinSettlementIdDesc = 'LEGS_BY_UPDATED_BLOCK_ID_MIN_SETTLEMENT_ID_DESC', - LegsByUpdatedBlockIdMinToIdAsc = 'LEGS_BY_UPDATED_BLOCK_ID_MIN_TO_ID_ASC', - LegsByUpdatedBlockIdMinToIdDesc = 'LEGS_BY_UPDATED_BLOCK_ID_MIN_TO_ID_DESC', - LegsByUpdatedBlockIdMinUpdatedAtAsc = 'LEGS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - LegsByUpdatedBlockIdMinUpdatedAtDesc = 'LEGS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - LegsByUpdatedBlockIdMinUpdatedBlockIdAsc = 'LEGS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - LegsByUpdatedBlockIdMinUpdatedBlockIdDesc = 'LEGS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - LegsByUpdatedBlockIdStddevPopulationAddressesAsc = 'LEGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ADDRESSES_ASC', - LegsByUpdatedBlockIdStddevPopulationAddressesDesc = 'LEGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ADDRESSES_DESC', - LegsByUpdatedBlockIdStddevPopulationAmountAsc = 'LEGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_AMOUNT_ASC', - LegsByUpdatedBlockIdStddevPopulationAmountDesc = 'LEGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_AMOUNT_DESC', - LegsByUpdatedBlockIdStddevPopulationAssetIdAsc = 'LEGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_ASC', - LegsByUpdatedBlockIdStddevPopulationAssetIdDesc = 'LEGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_DESC', - LegsByUpdatedBlockIdStddevPopulationCreatedAtAsc = 'LEGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - LegsByUpdatedBlockIdStddevPopulationCreatedAtDesc = 'LEGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - LegsByUpdatedBlockIdStddevPopulationCreatedBlockIdAsc = 'LEGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - LegsByUpdatedBlockIdStddevPopulationCreatedBlockIdDesc = 'LEGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - LegsByUpdatedBlockIdStddevPopulationFromIdAsc = 'LEGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_FROM_ID_ASC', - LegsByUpdatedBlockIdStddevPopulationFromIdDesc = 'LEGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_FROM_ID_DESC', - LegsByUpdatedBlockIdStddevPopulationIdAsc = 'LEGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - LegsByUpdatedBlockIdStddevPopulationIdDesc = 'LEGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - LegsByUpdatedBlockIdStddevPopulationInstructionIdAsc = 'LEGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_INSTRUCTION_ID_ASC', - LegsByUpdatedBlockIdStddevPopulationInstructionIdDesc = 'LEGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_INSTRUCTION_ID_DESC', - LegsByUpdatedBlockIdStddevPopulationLegTypeAsc = 'LEGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_LEG_TYPE_ASC', - LegsByUpdatedBlockIdStddevPopulationLegTypeDesc = 'LEGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_LEG_TYPE_DESC', - LegsByUpdatedBlockIdStddevPopulationNftIdsAsc = 'LEGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_NFT_IDS_ASC', - LegsByUpdatedBlockIdStddevPopulationNftIdsDesc = 'LEGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_NFT_IDS_DESC', - LegsByUpdatedBlockIdStddevPopulationSettlementIdAsc = 'LEGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_SETTLEMENT_ID_ASC', - LegsByUpdatedBlockIdStddevPopulationSettlementIdDesc = 'LEGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_SETTLEMENT_ID_DESC', - LegsByUpdatedBlockIdStddevPopulationToIdAsc = 'LEGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TO_ID_ASC', - LegsByUpdatedBlockIdStddevPopulationToIdDesc = 'LEGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TO_ID_DESC', - LegsByUpdatedBlockIdStddevPopulationUpdatedAtAsc = 'LEGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - LegsByUpdatedBlockIdStddevPopulationUpdatedAtDesc = 'LEGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - LegsByUpdatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'LEGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - LegsByUpdatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'LEGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - LegsByUpdatedBlockIdStddevSampleAddressesAsc = 'LEGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ADDRESSES_ASC', - LegsByUpdatedBlockIdStddevSampleAddressesDesc = 'LEGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ADDRESSES_DESC', - LegsByUpdatedBlockIdStddevSampleAmountAsc = 'LEGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_AMOUNT_ASC', - LegsByUpdatedBlockIdStddevSampleAmountDesc = 'LEGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_AMOUNT_DESC', - LegsByUpdatedBlockIdStddevSampleAssetIdAsc = 'LEGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_ASC', - LegsByUpdatedBlockIdStddevSampleAssetIdDesc = 'LEGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_DESC', - LegsByUpdatedBlockIdStddevSampleCreatedAtAsc = 'LEGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - LegsByUpdatedBlockIdStddevSampleCreatedAtDesc = 'LEGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - LegsByUpdatedBlockIdStddevSampleCreatedBlockIdAsc = 'LEGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - LegsByUpdatedBlockIdStddevSampleCreatedBlockIdDesc = 'LEGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - LegsByUpdatedBlockIdStddevSampleFromIdAsc = 'LEGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_FROM_ID_ASC', - LegsByUpdatedBlockIdStddevSampleFromIdDesc = 'LEGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_FROM_ID_DESC', - LegsByUpdatedBlockIdStddevSampleIdAsc = 'LEGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - LegsByUpdatedBlockIdStddevSampleIdDesc = 'LEGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - LegsByUpdatedBlockIdStddevSampleInstructionIdAsc = 'LEGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_INSTRUCTION_ID_ASC', - LegsByUpdatedBlockIdStddevSampleInstructionIdDesc = 'LEGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_INSTRUCTION_ID_DESC', - LegsByUpdatedBlockIdStddevSampleLegTypeAsc = 'LEGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_LEG_TYPE_ASC', - LegsByUpdatedBlockIdStddevSampleLegTypeDesc = 'LEGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_LEG_TYPE_DESC', - LegsByUpdatedBlockIdStddevSampleNftIdsAsc = 'LEGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_NFT_IDS_ASC', - LegsByUpdatedBlockIdStddevSampleNftIdsDesc = 'LEGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_NFT_IDS_DESC', - LegsByUpdatedBlockIdStddevSampleSettlementIdAsc = 'LEGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_SETTLEMENT_ID_ASC', - LegsByUpdatedBlockIdStddevSampleSettlementIdDesc = 'LEGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_SETTLEMENT_ID_DESC', - LegsByUpdatedBlockIdStddevSampleToIdAsc = 'LEGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TO_ID_ASC', - LegsByUpdatedBlockIdStddevSampleToIdDesc = 'LEGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TO_ID_DESC', - LegsByUpdatedBlockIdStddevSampleUpdatedAtAsc = 'LEGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - LegsByUpdatedBlockIdStddevSampleUpdatedAtDesc = 'LEGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - LegsByUpdatedBlockIdStddevSampleUpdatedBlockIdAsc = 'LEGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - LegsByUpdatedBlockIdStddevSampleUpdatedBlockIdDesc = 'LEGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - LegsByUpdatedBlockIdSumAddressesAsc = 'LEGS_BY_UPDATED_BLOCK_ID_SUM_ADDRESSES_ASC', - LegsByUpdatedBlockIdSumAddressesDesc = 'LEGS_BY_UPDATED_BLOCK_ID_SUM_ADDRESSES_DESC', - LegsByUpdatedBlockIdSumAmountAsc = 'LEGS_BY_UPDATED_BLOCK_ID_SUM_AMOUNT_ASC', - LegsByUpdatedBlockIdSumAmountDesc = 'LEGS_BY_UPDATED_BLOCK_ID_SUM_AMOUNT_DESC', - LegsByUpdatedBlockIdSumAssetIdAsc = 'LEGS_BY_UPDATED_BLOCK_ID_SUM_ASSET_ID_ASC', - LegsByUpdatedBlockIdSumAssetIdDesc = 'LEGS_BY_UPDATED_BLOCK_ID_SUM_ASSET_ID_DESC', - LegsByUpdatedBlockIdSumCreatedAtAsc = 'LEGS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_ASC', - LegsByUpdatedBlockIdSumCreatedAtDesc = 'LEGS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_DESC', - LegsByUpdatedBlockIdSumCreatedBlockIdAsc = 'LEGS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - LegsByUpdatedBlockIdSumCreatedBlockIdDesc = 'LEGS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - LegsByUpdatedBlockIdSumFromIdAsc = 'LEGS_BY_UPDATED_BLOCK_ID_SUM_FROM_ID_ASC', - LegsByUpdatedBlockIdSumFromIdDesc = 'LEGS_BY_UPDATED_BLOCK_ID_SUM_FROM_ID_DESC', - LegsByUpdatedBlockIdSumIdAsc = 'LEGS_BY_UPDATED_BLOCK_ID_SUM_ID_ASC', - LegsByUpdatedBlockIdSumIdDesc = 'LEGS_BY_UPDATED_BLOCK_ID_SUM_ID_DESC', - LegsByUpdatedBlockIdSumInstructionIdAsc = 'LEGS_BY_UPDATED_BLOCK_ID_SUM_INSTRUCTION_ID_ASC', - LegsByUpdatedBlockIdSumInstructionIdDesc = 'LEGS_BY_UPDATED_BLOCK_ID_SUM_INSTRUCTION_ID_DESC', - LegsByUpdatedBlockIdSumLegTypeAsc = 'LEGS_BY_UPDATED_BLOCK_ID_SUM_LEG_TYPE_ASC', - LegsByUpdatedBlockIdSumLegTypeDesc = 'LEGS_BY_UPDATED_BLOCK_ID_SUM_LEG_TYPE_DESC', - LegsByUpdatedBlockIdSumNftIdsAsc = 'LEGS_BY_UPDATED_BLOCK_ID_SUM_NFT_IDS_ASC', - LegsByUpdatedBlockIdSumNftIdsDesc = 'LEGS_BY_UPDATED_BLOCK_ID_SUM_NFT_IDS_DESC', - LegsByUpdatedBlockIdSumSettlementIdAsc = 'LEGS_BY_UPDATED_BLOCK_ID_SUM_SETTLEMENT_ID_ASC', - LegsByUpdatedBlockIdSumSettlementIdDesc = 'LEGS_BY_UPDATED_BLOCK_ID_SUM_SETTLEMENT_ID_DESC', - LegsByUpdatedBlockIdSumToIdAsc = 'LEGS_BY_UPDATED_BLOCK_ID_SUM_TO_ID_ASC', - LegsByUpdatedBlockIdSumToIdDesc = 'LEGS_BY_UPDATED_BLOCK_ID_SUM_TO_ID_DESC', - LegsByUpdatedBlockIdSumUpdatedAtAsc = 'LEGS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - LegsByUpdatedBlockIdSumUpdatedAtDesc = 'LEGS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - LegsByUpdatedBlockIdSumUpdatedBlockIdAsc = 'LEGS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - LegsByUpdatedBlockIdSumUpdatedBlockIdDesc = 'LEGS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - LegsByUpdatedBlockIdVariancePopulationAddressesAsc = 'LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ADDRESSES_ASC', - LegsByUpdatedBlockIdVariancePopulationAddressesDesc = 'LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ADDRESSES_DESC', - LegsByUpdatedBlockIdVariancePopulationAmountAsc = 'LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_AMOUNT_ASC', - LegsByUpdatedBlockIdVariancePopulationAmountDesc = 'LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_AMOUNT_DESC', - LegsByUpdatedBlockIdVariancePopulationAssetIdAsc = 'LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_ASC', - LegsByUpdatedBlockIdVariancePopulationAssetIdDesc = 'LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_DESC', - LegsByUpdatedBlockIdVariancePopulationCreatedAtAsc = 'LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - LegsByUpdatedBlockIdVariancePopulationCreatedAtDesc = 'LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - LegsByUpdatedBlockIdVariancePopulationCreatedBlockIdAsc = 'LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - LegsByUpdatedBlockIdVariancePopulationCreatedBlockIdDesc = 'LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - LegsByUpdatedBlockIdVariancePopulationFromIdAsc = 'LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_FROM_ID_ASC', - LegsByUpdatedBlockIdVariancePopulationFromIdDesc = 'LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_FROM_ID_DESC', - LegsByUpdatedBlockIdVariancePopulationIdAsc = 'LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - LegsByUpdatedBlockIdVariancePopulationIdDesc = 'LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - LegsByUpdatedBlockIdVariancePopulationInstructionIdAsc = 'LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_INSTRUCTION_ID_ASC', - LegsByUpdatedBlockIdVariancePopulationInstructionIdDesc = 'LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_INSTRUCTION_ID_DESC', - LegsByUpdatedBlockIdVariancePopulationLegTypeAsc = 'LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_LEG_TYPE_ASC', - LegsByUpdatedBlockIdVariancePopulationLegTypeDesc = 'LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_LEG_TYPE_DESC', - LegsByUpdatedBlockIdVariancePopulationNftIdsAsc = 'LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_NFT_IDS_ASC', - LegsByUpdatedBlockIdVariancePopulationNftIdsDesc = 'LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_NFT_IDS_DESC', - LegsByUpdatedBlockIdVariancePopulationSettlementIdAsc = 'LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_SETTLEMENT_ID_ASC', - LegsByUpdatedBlockIdVariancePopulationSettlementIdDesc = 'LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_SETTLEMENT_ID_DESC', - LegsByUpdatedBlockIdVariancePopulationToIdAsc = 'LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TO_ID_ASC', - LegsByUpdatedBlockIdVariancePopulationToIdDesc = 'LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TO_ID_DESC', - LegsByUpdatedBlockIdVariancePopulationUpdatedAtAsc = 'LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - LegsByUpdatedBlockIdVariancePopulationUpdatedAtDesc = 'LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - LegsByUpdatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - LegsByUpdatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - LegsByUpdatedBlockIdVarianceSampleAddressesAsc = 'LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ADDRESSES_ASC', - LegsByUpdatedBlockIdVarianceSampleAddressesDesc = 'LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ADDRESSES_DESC', - LegsByUpdatedBlockIdVarianceSampleAmountAsc = 'LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_AMOUNT_ASC', - LegsByUpdatedBlockIdVarianceSampleAmountDesc = 'LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_AMOUNT_DESC', - LegsByUpdatedBlockIdVarianceSampleAssetIdAsc = 'LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_ASC', - LegsByUpdatedBlockIdVarianceSampleAssetIdDesc = 'LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_DESC', - LegsByUpdatedBlockIdVarianceSampleCreatedAtAsc = 'LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - LegsByUpdatedBlockIdVarianceSampleCreatedAtDesc = 'LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - LegsByUpdatedBlockIdVarianceSampleCreatedBlockIdAsc = 'LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - LegsByUpdatedBlockIdVarianceSampleCreatedBlockIdDesc = 'LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - LegsByUpdatedBlockIdVarianceSampleFromIdAsc = 'LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_FROM_ID_ASC', - LegsByUpdatedBlockIdVarianceSampleFromIdDesc = 'LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_FROM_ID_DESC', - LegsByUpdatedBlockIdVarianceSampleIdAsc = 'LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - LegsByUpdatedBlockIdVarianceSampleIdDesc = 'LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - LegsByUpdatedBlockIdVarianceSampleInstructionIdAsc = 'LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_INSTRUCTION_ID_ASC', - LegsByUpdatedBlockIdVarianceSampleInstructionIdDesc = 'LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_INSTRUCTION_ID_DESC', - LegsByUpdatedBlockIdVarianceSampleLegTypeAsc = 'LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_LEG_TYPE_ASC', - LegsByUpdatedBlockIdVarianceSampleLegTypeDesc = 'LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_LEG_TYPE_DESC', - LegsByUpdatedBlockIdVarianceSampleNftIdsAsc = 'LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_NFT_IDS_ASC', - LegsByUpdatedBlockIdVarianceSampleNftIdsDesc = 'LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_NFT_IDS_DESC', - LegsByUpdatedBlockIdVarianceSampleSettlementIdAsc = 'LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_SETTLEMENT_ID_ASC', - LegsByUpdatedBlockIdVarianceSampleSettlementIdDesc = 'LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_SETTLEMENT_ID_DESC', - LegsByUpdatedBlockIdVarianceSampleToIdAsc = 'LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TO_ID_ASC', - LegsByUpdatedBlockIdVarianceSampleToIdDesc = 'LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TO_ID_DESC', - LegsByUpdatedBlockIdVarianceSampleUpdatedAtAsc = 'LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - LegsByUpdatedBlockIdVarianceSampleUpdatedAtDesc = 'LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - LegsByUpdatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - LegsByUpdatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'LEGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - MultiSigsByCreatedBlockIdAverageAddressAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_AVERAGE_ADDRESS_ASC', - MultiSigsByCreatedBlockIdAverageAddressDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_AVERAGE_ADDRESS_DESC', - MultiSigsByCreatedBlockIdAverageCreatedAtAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - MultiSigsByCreatedBlockIdAverageCreatedAtDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - MultiSigsByCreatedBlockIdAverageCreatedBlockIdAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - MultiSigsByCreatedBlockIdAverageCreatedBlockIdDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - MultiSigsByCreatedBlockIdAverageCreatorAccountIdAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_AVERAGE_CREATOR_ACCOUNT_ID_ASC', - MultiSigsByCreatedBlockIdAverageCreatorAccountIdDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_AVERAGE_CREATOR_ACCOUNT_ID_DESC', - MultiSigsByCreatedBlockIdAverageCreatorIdAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_AVERAGE_CREATOR_ID_ASC', - MultiSigsByCreatedBlockIdAverageCreatorIdDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_AVERAGE_CREATOR_ID_DESC', - MultiSigsByCreatedBlockIdAverageIdAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_AVERAGE_ID_ASC', - MultiSigsByCreatedBlockIdAverageIdDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_AVERAGE_ID_DESC', - MultiSigsByCreatedBlockIdAverageSignaturesRequiredAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_AVERAGE_SIGNATURES_REQUIRED_ASC', - MultiSigsByCreatedBlockIdAverageSignaturesRequiredDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_AVERAGE_SIGNATURES_REQUIRED_DESC', - MultiSigsByCreatedBlockIdAverageUpdatedAtAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - MultiSigsByCreatedBlockIdAverageUpdatedAtDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - MultiSigsByCreatedBlockIdAverageUpdatedBlockIdAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - MultiSigsByCreatedBlockIdAverageUpdatedBlockIdDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - MultiSigsByCreatedBlockIdCountAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_COUNT_ASC', - MultiSigsByCreatedBlockIdCountDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_COUNT_DESC', - MultiSigsByCreatedBlockIdDistinctCountAddressAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ADDRESS_ASC', - MultiSigsByCreatedBlockIdDistinctCountAddressDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ADDRESS_DESC', - MultiSigsByCreatedBlockIdDistinctCountCreatedAtAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - MultiSigsByCreatedBlockIdDistinctCountCreatedAtDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - MultiSigsByCreatedBlockIdDistinctCountCreatedBlockIdAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - MultiSigsByCreatedBlockIdDistinctCountCreatedBlockIdDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - MultiSigsByCreatedBlockIdDistinctCountCreatorAccountIdAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATOR_ACCOUNT_ID_ASC', - MultiSigsByCreatedBlockIdDistinctCountCreatorAccountIdDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATOR_ACCOUNT_ID_DESC', - MultiSigsByCreatedBlockIdDistinctCountCreatorIdAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATOR_ID_ASC', - MultiSigsByCreatedBlockIdDistinctCountCreatorIdDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATOR_ID_DESC', - MultiSigsByCreatedBlockIdDistinctCountIdAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - MultiSigsByCreatedBlockIdDistinctCountIdDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - MultiSigsByCreatedBlockIdDistinctCountSignaturesRequiredAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_SIGNATURES_REQUIRED_ASC', - MultiSigsByCreatedBlockIdDistinctCountSignaturesRequiredDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_SIGNATURES_REQUIRED_DESC', - MultiSigsByCreatedBlockIdDistinctCountUpdatedAtAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - MultiSigsByCreatedBlockIdDistinctCountUpdatedAtDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - MultiSigsByCreatedBlockIdDistinctCountUpdatedBlockIdAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - MultiSigsByCreatedBlockIdDistinctCountUpdatedBlockIdDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - MultiSigsByCreatedBlockIdMaxAddressAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_MAX_ADDRESS_ASC', - MultiSigsByCreatedBlockIdMaxAddressDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_MAX_ADDRESS_DESC', - MultiSigsByCreatedBlockIdMaxCreatedAtAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_ASC', - MultiSigsByCreatedBlockIdMaxCreatedAtDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_DESC', - MultiSigsByCreatedBlockIdMaxCreatedBlockIdAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - MultiSigsByCreatedBlockIdMaxCreatedBlockIdDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - MultiSigsByCreatedBlockIdMaxCreatorAccountIdAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_MAX_CREATOR_ACCOUNT_ID_ASC', - MultiSigsByCreatedBlockIdMaxCreatorAccountIdDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_MAX_CREATOR_ACCOUNT_ID_DESC', - MultiSigsByCreatedBlockIdMaxCreatorIdAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_MAX_CREATOR_ID_ASC', - MultiSigsByCreatedBlockIdMaxCreatorIdDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_MAX_CREATOR_ID_DESC', - MultiSigsByCreatedBlockIdMaxIdAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_MAX_ID_ASC', - MultiSigsByCreatedBlockIdMaxIdDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_MAX_ID_DESC', - MultiSigsByCreatedBlockIdMaxSignaturesRequiredAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_MAX_SIGNATURES_REQUIRED_ASC', - MultiSigsByCreatedBlockIdMaxSignaturesRequiredDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_MAX_SIGNATURES_REQUIRED_DESC', - MultiSigsByCreatedBlockIdMaxUpdatedAtAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - MultiSigsByCreatedBlockIdMaxUpdatedAtDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - MultiSigsByCreatedBlockIdMaxUpdatedBlockIdAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - MultiSigsByCreatedBlockIdMaxUpdatedBlockIdDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - MultiSigsByCreatedBlockIdMinAddressAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_MIN_ADDRESS_ASC', - MultiSigsByCreatedBlockIdMinAddressDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_MIN_ADDRESS_DESC', - MultiSigsByCreatedBlockIdMinCreatedAtAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_ASC', - MultiSigsByCreatedBlockIdMinCreatedAtDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_DESC', - MultiSigsByCreatedBlockIdMinCreatedBlockIdAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - MultiSigsByCreatedBlockIdMinCreatedBlockIdDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - MultiSigsByCreatedBlockIdMinCreatorAccountIdAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_MIN_CREATOR_ACCOUNT_ID_ASC', - MultiSigsByCreatedBlockIdMinCreatorAccountIdDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_MIN_CREATOR_ACCOUNT_ID_DESC', - MultiSigsByCreatedBlockIdMinCreatorIdAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_MIN_CREATOR_ID_ASC', - MultiSigsByCreatedBlockIdMinCreatorIdDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_MIN_CREATOR_ID_DESC', - MultiSigsByCreatedBlockIdMinIdAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_MIN_ID_ASC', - MultiSigsByCreatedBlockIdMinIdDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_MIN_ID_DESC', - MultiSigsByCreatedBlockIdMinSignaturesRequiredAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_MIN_SIGNATURES_REQUIRED_ASC', - MultiSigsByCreatedBlockIdMinSignaturesRequiredDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_MIN_SIGNATURES_REQUIRED_DESC', - MultiSigsByCreatedBlockIdMinUpdatedAtAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - MultiSigsByCreatedBlockIdMinUpdatedAtDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - MultiSigsByCreatedBlockIdMinUpdatedBlockIdAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - MultiSigsByCreatedBlockIdMinUpdatedBlockIdDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - MultiSigsByCreatedBlockIdStddevPopulationAddressAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ADDRESS_ASC', - MultiSigsByCreatedBlockIdStddevPopulationAddressDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ADDRESS_DESC', - MultiSigsByCreatedBlockIdStddevPopulationCreatedAtAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - MultiSigsByCreatedBlockIdStddevPopulationCreatedAtDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - MultiSigsByCreatedBlockIdStddevPopulationCreatedBlockIdAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - MultiSigsByCreatedBlockIdStddevPopulationCreatedBlockIdDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - MultiSigsByCreatedBlockIdStddevPopulationCreatorAccountIdAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATOR_ACCOUNT_ID_ASC', - MultiSigsByCreatedBlockIdStddevPopulationCreatorAccountIdDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATOR_ACCOUNT_ID_DESC', - MultiSigsByCreatedBlockIdStddevPopulationCreatorIdAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATOR_ID_ASC', - MultiSigsByCreatedBlockIdStddevPopulationCreatorIdDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATOR_ID_DESC', - MultiSigsByCreatedBlockIdStddevPopulationIdAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - MultiSigsByCreatedBlockIdStddevPopulationIdDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - MultiSigsByCreatedBlockIdStddevPopulationSignaturesRequiredAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_SIGNATURES_REQUIRED_ASC', - MultiSigsByCreatedBlockIdStddevPopulationSignaturesRequiredDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_SIGNATURES_REQUIRED_DESC', - MultiSigsByCreatedBlockIdStddevPopulationUpdatedAtAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - MultiSigsByCreatedBlockIdStddevPopulationUpdatedAtDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - MultiSigsByCreatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - MultiSigsByCreatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - MultiSigsByCreatedBlockIdStddevSampleAddressAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ADDRESS_ASC', - MultiSigsByCreatedBlockIdStddevSampleAddressDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ADDRESS_DESC', - MultiSigsByCreatedBlockIdStddevSampleCreatedAtAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - MultiSigsByCreatedBlockIdStddevSampleCreatedAtDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - MultiSigsByCreatedBlockIdStddevSampleCreatedBlockIdAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - MultiSigsByCreatedBlockIdStddevSampleCreatedBlockIdDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - MultiSigsByCreatedBlockIdStddevSampleCreatorAccountIdAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATOR_ACCOUNT_ID_ASC', - MultiSigsByCreatedBlockIdStddevSampleCreatorAccountIdDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATOR_ACCOUNT_ID_DESC', - MultiSigsByCreatedBlockIdStddevSampleCreatorIdAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATOR_ID_ASC', - MultiSigsByCreatedBlockIdStddevSampleCreatorIdDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATOR_ID_DESC', - MultiSigsByCreatedBlockIdStddevSampleIdAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - MultiSigsByCreatedBlockIdStddevSampleIdDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - MultiSigsByCreatedBlockIdStddevSampleSignaturesRequiredAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_SIGNATURES_REQUIRED_ASC', - MultiSigsByCreatedBlockIdStddevSampleSignaturesRequiredDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_SIGNATURES_REQUIRED_DESC', - MultiSigsByCreatedBlockIdStddevSampleUpdatedAtAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - MultiSigsByCreatedBlockIdStddevSampleUpdatedAtDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - MultiSigsByCreatedBlockIdStddevSampleUpdatedBlockIdAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - MultiSigsByCreatedBlockIdStddevSampleUpdatedBlockIdDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - MultiSigsByCreatedBlockIdSumAddressAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_SUM_ADDRESS_ASC', - MultiSigsByCreatedBlockIdSumAddressDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_SUM_ADDRESS_DESC', - MultiSigsByCreatedBlockIdSumCreatedAtAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_ASC', - MultiSigsByCreatedBlockIdSumCreatedAtDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_DESC', - MultiSigsByCreatedBlockIdSumCreatedBlockIdAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - MultiSigsByCreatedBlockIdSumCreatedBlockIdDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - MultiSigsByCreatedBlockIdSumCreatorAccountIdAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_SUM_CREATOR_ACCOUNT_ID_ASC', - MultiSigsByCreatedBlockIdSumCreatorAccountIdDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_SUM_CREATOR_ACCOUNT_ID_DESC', - MultiSigsByCreatedBlockIdSumCreatorIdAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_SUM_CREATOR_ID_ASC', - MultiSigsByCreatedBlockIdSumCreatorIdDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_SUM_CREATOR_ID_DESC', - MultiSigsByCreatedBlockIdSumIdAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_SUM_ID_ASC', - MultiSigsByCreatedBlockIdSumIdDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_SUM_ID_DESC', - MultiSigsByCreatedBlockIdSumSignaturesRequiredAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_SUM_SIGNATURES_REQUIRED_ASC', - MultiSigsByCreatedBlockIdSumSignaturesRequiredDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_SUM_SIGNATURES_REQUIRED_DESC', - MultiSigsByCreatedBlockIdSumUpdatedAtAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - MultiSigsByCreatedBlockIdSumUpdatedAtDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - MultiSigsByCreatedBlockIdSumUpdatedBlockIdAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - MultiSigsByCreatedBlockIdSumUpdatedBlockIdDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - MultiSigsByCreatedBlockIdVariancePopulationAddressAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ADDRESS_ASC', - MultiSigsByCreatedBlockIdVariancePopulationAddressDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ADDRESS_DESC', - MultiSigsByCreatedBlockIdVariancePopulationCreatedAtAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - MultiSigsByCreatedBlockIdVariancePopulationCreatedAtDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - MultiSigsByCreatedBlockIdVariancePopulationCreatedBlockIdAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - MultiSigsByCreatedBlockIdVariancePopulationCreatedBlockIdDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - MultiSigsByCreatedBlockIdVariancePopulationCreatorAccountIdAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATOR_ACCOUNT_ID_ASC', - MultiSigsByCreatedBlockIdVariancePopulationCreatorAccountIdDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATOR_ACCOUNT_ID_DESC', - MultiSigsByCreatedBlockIdVariancePopulationCreatorIdAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATOR_ID_ASC', - MultiSigsByCreatedBlockIdVariancePopulationCreatorIdDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATOR_ID_DESC', - MultiSigsByCreatedBlockIdVariancePopulationIdAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - MultiSigsByCreatedBlockIdVariancePopulationIdDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - MultiSigsByCreatedBlockIdVariancePopulationSignaturesRequiredAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_SIGNATURES_REQUIRED_ASC', - MultiSigsByCreatedBlockIdVariancePopulationSignaturesRequiredDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_SIGNATURES_REQUIRED_DESC', - MultiSigsByCreatedBlockIdVariancePopulationUpdatedAtAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - MultiSigsByCreatedBlockIdVariancePopulationUpdatedAtDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - MultiSigsByCreatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - MultiSigsByCreatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - MultiSigsByCreatedBlockIdVarianceSampleAddressAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ADDRESS_ASC', - MultiSigsByCreatedBlockIdVarianceSampleAddressDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ADDRESS_DESC', - MultiSigsByCreatedBlockIdVarianceSampleCreatedAtAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - MultiSigsByCreatedBlockIdVarianceSampleCreatedAtDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - MultiSigsByCreatedBlockIdVarianceSampleCreatedBlockIdAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - MultiSigsByCreatedBlockIdVarianceSampleCreatedBlockIdDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - MultiSigsByCreatedBlockIdVarianceSampleCreatorAccountIdAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATOR_ACCOUNT_ID_ASC', - MultiSigsByCreatedBlockIdVarianceSampleCreatorAccountIdDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATOR_ACCOUNT_ID_DESC', - MultiSigsByCreatedBlockIdVarianceSampleCreatorIdAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATOR_ID_ASC', - MultiSigsByCreatedBlockIdVarianceSampleCreatorIdDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATOR_ID_DESC', - MultiSigsByCreatedBlockIdVarianceSampleIdAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - MultiSigsByCreatedBlockIdVarianceSampleIdDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - MultiSigsByCreatedBlockIdVarianceSampleSignaturesRequiredAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_SIGNATURES_REQUIRED_ASC', - MultiSigsByCreatedBlockIdVarianceSampleSignaturesRequiredDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_SIGNATURES_REQUIRED_DESC', - MultiSigsByCreatedBlockIdVarianceSampleUpdatedAtAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - MultiSigsByCreatedBlockIdVarianceSampleUpdatedAtDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - MultiSigsByCreatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - MultiSigsByCreatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'MULTI_SIGS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - MultiSigsByUpdatedBlockIdAverageAddressAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_AVERAGE_ADDRESS_ASC', - MultiSigsByUpdatedBlockIdAverageAddressDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_AVERAGE_ADDRESS_DESC', - MultiSigsByUpdatedBlockIdAverageCreatedAtAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - MultiSigsByUpdatedBlockIdAverageCreatedAtDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - MultiSigsByUpdatedBlockIdAverageCreatedBlockIdAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - MultiSigsByUpdatedBlockIdAverageCreatedBlockIdDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - MultiSigsByUpdatedBlockIdAverageCreatorAccountIdAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATOR_ACCOUNT_ID_ASC', - MultiSigsByUpdatedBlockIdAverageCreatorAccountIdDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATOR_ACCOUNT_ID_DESC', - MultiSigsByUpdatedBlockIdAverageCreatorIdAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATOR_ID_ASC', - MultiSigsByUpdatedBlockIdAverageCreatorIdDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATOR_ID_DESC', - MultiSigsByUpdatedBlockIdAverageIdAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_ASC', - MultiSigsByUpdatedBlockIdAverageIdDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_DESC', - MultiSigsByUpdatedBlockIdAverageSignaturesRequiredAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_AVERAGE_SIGNATURES_REQUIRED_ASC', - MultiSigsByUpdatedBlockIdAverageSignaturesRequiredDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_AVERAGE_SIGNATURES_REQUIRED_DESC', - MultiSigsByUpdatedBlockIdAverageUpdatedAtAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - MultiSigsByUpdatedBlockIdAverageUpdatedAtDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - MultiSigsByUpdatedBlockIdAverageUpdatedBlockIdAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - MultiSigsByUpdatedBlockIdAverageUpdatedBlockIdDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - MultiSigsByUpdatedBlockIdCountAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_COUNT_ASC', - MultiSigsByUpdatedBlockIdCountDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_COUNT_DESC', - MultiSigsByUpdatedBlockIdDistinctCountAddressAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ADDRESS_ASC', - MultiSigsByUpdatedBlockIdDistinctCountAddressDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ADDRESS_DESC', - MultiSigsByUpdatedBlockIdDistinctCountCreatedAtAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - MultiSigsByUpdatedBlockIdDistinctCountCreatedAtDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - MultiSigsByUpdatedBlockIdDistinctCountCreatedBlockIdAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - MultiSigsByUpdatedBlockIdDistinctCountCreatedBlockIdDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - MultiSigsByUpdatedBlockIdDistinctCountCreatorAccountIdAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATOR_ACCOUNT_ID_ASC', - MultiSigsByUpdatedBlockIdDistinctCountCreatorAccountIdDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATOR_ACCOUNT_ID_DESC', - MultiSigsByUpdatedBlockIdDistinctCountCreatorIdAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATOR_ID_ASC', - MultiSigsByUpdatedBlockIdDistinctCountCreatorIdDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATOR_ID_DESC', - MultiSigsByUpdatedBlockIdDistinctCountIdAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - MultiSigsByUpdatedBlockIdDistinctCountIdDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - MultiSigsByUpdatedBlockIdDistinctCountSignaturesRequiredAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_SIGNATURES_REQUIRED_ASC', - MultiSigsByUpdatedBlockIdDistinctCountSignaturesRequiredDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_SIGNATURES_REQUIRED_DESC', - MultiSigsByUpdatedBlockIdDistinctCountUpdatedAtAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - MultiSigsByUpdatedBlockIdDistinctCountUpdatedAtDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - MultiSigsByUpdatedBlockIdDistinctCountUpdatedBlockIdAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - MultiSigsByUpdatedBlockIdDistinctCountUpdatedBlockIdDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - MultiSigsByUpdatedBlockIdMaxAddressAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_MAX_ADDRESS_ASC', - MultiSigsByUpdatedBlockIdMaxAddressDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_MAX_ADDRESS_DESC', - MultiSigsByUpdatedBlockIdMaxCreatedAtAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_ASC', - MultiSigsByUpdatedBlockIdMaxCreatedAtDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_DESC', - MultiSigsByUpdatedBlockIdMaxCreatedBlockIdAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - MultiSigsByUpdatedBlockIdMaxCreatedBlockIdDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - MultiSigsByUpdatedBlockIdMaxCreatorAccountIdAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_MAX_CREATOR_ACCOUNT_ID_ASC', - MultiSigsByUpdatedBlockIdMaxCreatorAccountIdDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_MAX_CREATOR_ACCOUNT_ID_DESC', - MultiSigsByUpdatedBlockIdMaxCreatorIdAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_MAX_CREATOR_ID_ASC', - MultiSigsByUpdatedBlockIdMaxCreatorIdDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_MAX_CREATOR_ID_DESC', - MultiSigsByUpdatedBlockIdMaxIdAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_MAX_ID_ASC', - MultiSigsByUpdatedBlockIdMaxIdDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_MAX_ID_DESC', - MultiSigsByUpdatedBlockIdMaxSignaturesRequiredAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_MAX_SIGNATURES_REQUIRED_ASC', - MultiSigsByUpdatedBlockIdMaxSignaturesRequiredDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_MAX_SIGNATURES_REQUIRED_DESC', - MultiSigsByUpdatedBlockIdMaxUpdatedAtAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - MultiSigsByUpdatedBlockIdMaxUpdatedAtDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - MultiSigsByUpdatedBlockIdMaxUpdatedBlockIdAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - MultiSigsByUpdatedBlockIdMaxUpdatedBlockIdDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - MultiSigsByUpdatedBlockIdMinAddressAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_MIN_ADDRESS_ASC', - MultiSigsByUpdatedBlockIdMinAddressDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_MIN_ADDRESS_DESC', - MultiSigsByUpdatedBlockIdMinCreatedAtAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_ASC', - MultiSigsByUpdatedBlockIdMinCreatedAtDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_DESC', - MultiSigsByUpdatedBlockIdMinCreatedBlockIdAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - MultiSigsByUpdatedBlockIdMinCreatedBlockIdDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - MultiSigsByUpdatedBlockIdMinCreatorAccountIdAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_MIN_CREATOR_ACCOUNT_ID_ASC', - MultiSigsByUpdatedBlockIdMinCreatorAccountIdDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_MIN_CREATOR_ACCOUNT_ID_DESC', - MultiSigsByUpdatedBlockIdMinCreatorIdAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_MIN_CREATOR_ID_ASC', - MultiSigsByUpdatedBlockIdMinCreatorIdDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_MIN_CREATOR_ID_DESC', - MultiSigsByUpdatedBlockIdMinIdAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_MIN_ID_ASC', - MultiSigsByUpdatedBlockIdMinIdDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_MIN_ID_DESC', - MultiSigsByUpdatedBlockIdMinSignaturesRequiredAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_MIN_SIGNATURES_REQUIRED_ASC', - MultiSigsByUpdatedBlockIdMinSignaturesRequiredDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_MIN_SIGNATURES_REQUIRED_DESC', - MultiSigsByUpdatedBlockIdMinUpdatedAtAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - MultiSigsByUpdatedBlockIdMinUpdatedAtDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - MultiSigsByUpdatedBlockIdMinUpdatedBlockIdAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - MultiSigsByUpdatedBlockIdMinUpdatedBlockIdDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - MultiSigsByUpdatedBlockIdStddevPopulationAddressAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ADDRESS_ASC', - MultiSigsByUpdatedBlockIdStddevPopulationAddressDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ADDRESS_DESC', - MultiSigsByUpdatedBlockIdStddevPopulationCreatedAtAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - MultiSigsByUpdatedBlockIdStddevPopulationCreatedAtDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - MultiSigsByUpdatedBlockIdStddevPopulationCreatedBlockIdAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - MultiSigsByUpdatedBlockIdStddevPopulationCreatedBlockIdDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - MultiSigsByUpdatedBlockIdStddevPopulationCreatorAccountIdAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATOR_ACCOUNT_ID_ASC', - MultiSigsByUpdatedBlockIdStddevPopulationCreatorAccountIdDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATOR_ACCOUNT_ID_DESC', - MultiSigsByUpdatedBlockIdStddevPopulationCreatorIdAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATOR_ID_ASC', - MultiSigsByUpdatedBlockIdStddevPopulationCreatorIdDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATOR_ID_DESC', - MultiSigsByUpdatedBlockIdStddevPopulationIdAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - MultiSigsByUpdatedBlockIdStddevPopulationIdDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - MultiSigsByUpdatedBlockIdStddevPopulationSignaturesRequiredAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_SIGNATURES_REQUIRED_ASC', - MultiSigsByUpdatedBlockIdStddevPopulationSignaturesRequiredDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_SIGNATURES_REQUIRED_DESC', - MultiSigsByUpdatedBlockIdStddevPopulationUpdatedAtAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - MultiSigsByUpdatedBlockIdStddevPopulationUpdatedAtDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - MultiSigsByUpdatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - MultiSigsByUpdatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - MultiSigsByUpdatedBlockIdStddevSampleAddressAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ADDRESS_ASC', - MultiSigsByUpdatedBlockIdStddevSampleAddressDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ADDRESS_DESC', - MultiSigsByUpdatedBlockIdStddevSampleCreatedAtAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - MultiSigsByUpdatedBlockIdStddevSampleCreatedAtDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - MultiSigsByUpdatedBlockIdStddevSampleCreatedBlockIdAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - MultiSigsByUpdatedBlockIdStddevSampleCreatedBlockIdDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - MultiSigsByUpdatedBlockIdStddevSampleCreatorAccountIdAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATOR_ACCOUNT_ID_ASC', - MultiSigsByUpdatedBlockIdStddevSampleCreatorAccountIdDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATOR_ACCOUNT_ID_DESC', - MultiSigsByUpdatedBlockIdStddevSampleCreatorIdAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATOR_ID_ASC', - MultiSigsByUpdatedBlockIdStddevSampleCreatorIdDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATOR_ID_DESC', - MultiSigsByUpdatedBlockIdStddevSampleIdAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - MultiSigsByUpdatedBlockIdStddevSampleIdDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - MultiSigsByUpdatedBlockIdStddevSampleSignaturesRequiredAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_SIGNATURES_REQUIRED_ASC', - MultiSigsByUpdatedBlockIdStddevSampleSignaturesRequiredDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_SIGNATURES_REQUIRED_DESC', - MultiSigsByUpdatedBlockIdStddevSampleUpdatedAtAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - MultiSigsByUpdatedBlockIdStddevSampleUpdatedAtDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - MultiSigsByUpdatedBlockIdStddevSampleUpdatedBlockIdAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - MultiSigsByUpdatedBlockIdStddevSampleUpdatedBlockIdDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - MultiSigsByUpdatedBlockIdSumAddressAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_SUM_ADDRESS_ASC', - MultiSigsByUpdatedBlockIdSumAddressDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_SUM_ADDRESS_DESC', - MultiSigsByUpdatedBlockIdSumCreatedAtAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_ASC', - MultiSigsByUpdatedBlockIdSumCreatedAtDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_DESC', - MultiSigsByUpdatedBlockIdSumCreatedBlockIdAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - MultiSigsByUpdatedBlockIdSumCreatedBlockIdDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - MultiSigsByUpdatedBlockIdSumCreatorAccountIdAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_SUM_CREATOR_ACCOUNT_ID_ASC', - MultiSigsByUpdatedBlockIdSumCreatorAccountIdDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_SUM_CREATOR_ACCOUNT_ID_DESC', - MultiSigsByUpdatedBlockIdSumCreatorIdAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_SUM_CREATOR_ID_ASC', - MultiSigsByUpdatedBlockIdSumCreatorIdDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_SUM_CREATOR_ID_DESC', - MultiSigsByUpdatedBlockIdSumIdAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_SUM_ID_ASC', - MultiSigsByUpdatedBlockIdSumIdDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_SUM_ID_DESC', - MultiSigsByUpdatedBlockIdSumSignaturesRequiredAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_SUM_SIGNATURES_REQUIRED_ASC', - MultiSigsByUpdatedBlockIdSumSignaturesRequiredDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_SUM_SIGNATURES_REQUIRED_DESC', - MultiSigsByUpdatedBlockIdSumUpdatedAtAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - MultiSigsByUpdatedBlockIdSumUpdatedAtDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - MultiSigsByUpdatedBlockIdSumUpdatedBlockIdAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - MultiSigsByUpdatedBlockIdSumUpdatedBlockIdDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - MultiSigsByUpdatedBlockIdVariancePopulationAddressAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ADDRESS_ASC', - MultiSigsByUpdatedBlockIdVariancePopulationAddressDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ADDRESS_DESC', - MultiSigsByUpdatedBlockIdVariancePopulationCreatedAtAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - MultiSigsByUpdatedBlockIdVariancePopulationCreatedAtDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - MultiSigsByUpdatedBlockIdVariancePopulationCreatedBlockIdAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - MultiSigsByUpdatedBlockIdVariancePopulationCreatedBlockIdDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - MultiSigsByUpdatedBlockIdVariancePopulationCreatorAccountIdAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATOR_ACCOUNT_ID_ASC', - MultiSigsByUpdatedBlockIdVariancePopulationCreatorAccountIdDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATOR_ACCOUNT_ID_DESC', - MultiSigsByUpdatedBlockIdVariancePopulationCreatorIdAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATOR_ID_ASC', - MultiSigsByUpdatedBlockIdVariancePopulationCreatorIdDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATOR_ID_DESC', - MultiSigsByUpdatedBlockIdVariancePopulationIdAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - MultiSigsByUpdatedBlockIdVariancePopulationIdDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - MultiSigsByUpdatedBlockIdVariancePopulationSignaturesRequiredAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_SIGNATURES_REQUIRED_ASC', - MultiSigsByUpdatedBlockIdVariancePopulationSignaturesRequiredDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_SIGNATURES_REQUIRED_DESC', - MultiSigsByUpdatedBlockIdVariancePopulationUpdatedAtAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - MultiSigsByUpdatedBlockIdVariancePopulationUpdatedAtDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - MultiSigsByUpdatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - MultiSigsByUpdatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - MultiSigsByUpdatedBlockIdVarianceSampleAddressAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ADDRESS_ASC', - MultiSigsByUpdatedBlockIdVarianceSampleAddressDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ADDRESS_DESC', - MultiSigsByUpdatedBlockIdVarianceSampleCreatedAtAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - MultiSigsByUpdatedBlockIdVarianceSampleCreatedAtDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - MultiSigsByUpdatedBlockIdVarianceSampleCreatedBlockIdAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - MultiSigsByUpdatedBlockIdVarianceSampleCreatedBlockIdDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - MultiSigsByUpdatedBlockIdVarianceSampleCreatorAccountIdAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATOR_ACCOUNT_ID_ASC', - MultiSigsByUpdatedBlockIdVarianceSampleCreatorAccountIdDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATOR_ACCOUNT_ID_DESC', - MultiSigsByUpdatedBlockIdVarianceSampleCreatorIdAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATOR_ID_ASC', - MultiSigsByUpdatedBlockIdVarianceSampleCreatorIdDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATOR_ID_DESC', - MultiSigsByUpdatedBlockIdVarianceSampleIdAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - MultiSigsByUpdatedBlockIdVarianceSampleIdDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - MultiSigsByUpdatedBlockIdVarianceSampleSignaturesRequiredAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_SIGNATURES_REQUIRED_ASC', - MultiSigsByUpdatedBlockIdVarianceSampleSignaturesRequiredDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_SIGNATURES_REQUIRED_DESC', - MultiSigsByUpdatedBlockIdVarianceSampleUpdatedAtAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - MultiSigsByUpdatedBlockIdVarianceSampleUpdatedAtDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - MultiSigsByUpdatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - MultiSigsByUpdatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'MULTI_SIGS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - MultiSigProposalsByCreatedBlockIdAverageApprovalCountAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_AVERAGE_APPROVAL_COUNT_ASC', - MultiSigProposalsByCreatedBlockIdAverageApprovalCountDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_AVERAGE_APPROVAL_COUNT_DESC', - MultiSigProposalsByCreatedBlockIdAverageCreatedAtAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - MultiSigProposalsByCreatedBlockIdAverageCreatedAtDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - MultiSigProposalsByCreatedBlockIdAverageCreatedBlockIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - MultiSigProposalsByCreatedBlockIdAverageCreatedBlockIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - MultiSigProposalsByCreatedBlockIdAverageCreatorAccountAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_AVERAGE_CREATOR_ACCOUNT_ASC', - MultiSigProposalsByCreatedBlockIdAverageCreatorAccountDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_AVERAGE_CREATOR_ACCOUNT_DESC', - MultiSigProposalsByCreatedBlockIdAverageCreatorIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_AVERAGE_CREATOR_ID_ASC', - MultiSigProposalsByCreatedBlockIdAverageCreatorIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_AVERAGE_CREATOR_ID_DESC', - MultiSigProposalsByCreatedBlockIdAverageDatetimeAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_AVERAGE_DATETIME_ASC', - MultiSigProposalsByCreatedBlockIdAverageDatetimeDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_AVERAGE_DATETIME_DESC', - MultiSigProposalsByCreatedBlockIdAverageEventIdxAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_IDX_ASC', - MultiSigProposalsByCreatedBlockIdAverageEventIdxDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_IDX_DESC', - MultiSigProposalsByCreatedBlockIdAverageExtrinsicIdxAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_AVERAGE_EXTRINSIC_IDX_ASC', - MultiSigProposalsByCreatedBlockIdAverageExtrinsicIdxDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_AVERAGE_EXTRINSIC_IDX_DESC', - MultiSigProposalsByCreatedBlockIdAverageIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_AVERAGE_ID_ASC', - MultiSigProposalsByCreatedBlockIdAverageIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_AVERAGE_ID_DESC', - MultiSigProposalsByCreatedBlockIdAverageMultisigIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_AVERAGE_MULTISIG_ID_ASC', - MultiSigProposalsByCreatedBlockIdAverageMultisigIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_AVERAGE_MULTISIG_ID_DESC', - MultiSigProposalsByCreatedBlockIdAverageProposalIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_AVERAGE_PROPOSAL_ID_ASC', - MultiSigProposalsByCreatedBlockIdAverageProposalIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_AVERAGE_PROPOSAL_ID_DESC', - MultiSigProposalsByCreatedBlockIdAverageRejectionCountAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_AVERAGE_REJECTION_COUNT_ASC', - MultiSigProposalsByCreatedBlockIdAverageRejectionCountDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_AVERAGE_REJECTION_COUNT_DESC', - MultiSigProposalsByCreatedBlockIdAverageStatusAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_AVERAGE_STATUS_ASC', - MultiSigProposalsByCreatedBlockIdAverageStatusDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_AVERAGE_STATUS_DESC', - MultiSigProposalsByCreatedBlockIdAverageUpdatedAtAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - MultiSigProposalsByCreatedBlockIdAverageUpdatedAtDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - MultiSigProposalsByCreatedBlockIdAverageUpdatedBlockIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - MultiSigProposalsByCreatedBlockIdAverageUpdatedBlockIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - MultiSigProposalsByCreatedBlockIdCountAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_COUNT_ASC', - MultiSigProposalsByCreatedBlockIdCountDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_COUNT_DESC', - MultiSigProposalsByCreatedBlockIdDistinctCountApprovalCountAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_APPROVAL_COUNT_ASC', - MultiSigProposalsByCreatedBlockIdDistinctCountApprovalCountDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_APPROVAL_COUNT_DESC', - MultiSigProposalsByCreatedBlockIdDistinctCountCreatedAtAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - MultiSigProposalsByCreatedBlockIdDistinctCountCreatedAtDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - MultiSigProposalsByCreatedBlockIdDistinctCountCreatedBlockIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - MultiSigProposalsByCreatedBlockIdDistinctCountCreatedBlockIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - MultiSigProposalsByCreatedBlockIdDistinctCountCreatorAccountAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATOR_ACCOUNT_ASC', - MultiSigProposalsByCreatedBlockIdDistinctCountCreatorAccountDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATOR_ACCOUNT_DESC', - MultiSigProposalsByCreatedBlockIdDistinctCountCreatorIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATOR_ID_ASC', - MultiSigProposalsByCreatedBlockIdDistinctCountCreatorIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATOR_ID_DESC', - MultiSigProposalsByCreatedBlockIdDistinctCountDatetimeAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_ASC', - MultiSigProposalsByCreatedBlockIdDistinctCountDatetimeDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_DESC', - MultiSigProposalsByCreatedBlockIdDistinctCountEventIdxAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_ASC', - MultiSigProposalsByCreatedBlockIdDistinctCountEventIdxDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_DESC', - MultiSigProposalsByCreatedBlockIdDistinctCountExtrinsicIdxAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EXTRINSIC_IDX_ASC', - MultiSigProposalsByCreatedBlockIdDistinctCountExtrinsicIdxDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EXTRINSIC_IDX_DESC', - MultiSigProposalsByCreatedBlockIdDistinctCountIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - MultiSigProposalsByCreatedBlockIdDistinctCountIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - MultiSigProposalsByCreatedBlockIdDistinctCountMultisigIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_MULTISIG_ID_ASC', - MultiSigProposalsByCreatedBlockIdDistinctCountMultisigIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_MULTISIG_ID_DESC', - MultiSigProposalsByCreatedBlockIdDistinctCountProposalIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_PROPOSAL_ID_ASC', - MultiSigProposalsByCreatedBlockIdDistinctCountProposalIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_PROPOSAL_ID_DESC', - MultiSigProposalsByCreatedBlockIdDistinctCountRejectionCountAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_REJECTION_COUNT_ASC', - MultiSigProposalsByCreatedBlockIdDistinctCountRejectionCountDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_REJECTION_COUNT_DESC', - MultiSigProposalsByCreatedBlockIdDistinctCountStatusAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_STATUS_ASC', - MultiSigProposalsByCreatedBlockIdDistinctCountStatusDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_STATUS_DESC', - MultiSigProposalsByCreatedBlockIdDistinctCountUpdatedAtAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - MultiSigProposalsByCreatedBlockIdDistinctCountUpdatedAtDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - MultiSigProposalsByCreatedBlockIdDistinctCountUpdatedBlockIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - MultiSigProposalsByCreatedBlockIdDistinctCountUpdatedBlockIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - MultiSigProposalsByCreatedBlockIdMaxApprovalCountAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_MAX_APPROVAL_COUNT_ASC', - MultiSigProposalsByCreatedBlockIdMaxApprovalCountDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_MAX_APPROVAL_COUNT_DESC', - MultiSigProposalsByCreatedBlockIdMaxCreatedAtAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_ASC', - MultiSigProposalsByCreatedBlockIdMaxCreatedAtDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_DESC', - MultiSigProposalsByCreatedBlockIdMaxCreatedBlockIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - MultiSigProposalsByCreatedBlockIdMaxCreatedBlockIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - MultiSigProposalsByCreatedBlockIdMaxCreatorAccountAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_MAX_CREATOR_ACCOUNT_ASC', - MultiSigProposalsByCreatedBlockIdMaxCreatorAccountDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_MAX_CREATOR_ACCOUNT_DESC', - MultiSigProposalsByCreatedBlockIdMaxCreatorIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_MAX_CREATOR_ID_ASC', - MultiSigProposalsByCreatedBlockIdMaxCreatorIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_MAX_CREATOR_ID_DESC', - MultiSigProposalsByCreatedBlockIdMaxDatetimeAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_MAX_DATETIME_ASC', - MultiSigProposalsByCreatedBlockIdMaxDatetimeDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_MAX_DATETIME_DESC', - MultiSigProposalsByCreatedBlockIdMaxEventIdxAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_MAX_EVENT_IDX_ASC', - MultiSigProposalsByCreatedBlockIdMaxEventIdxDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_MAX_EVENT_IDX_DESC', - MultiSigProposalsByCreatedBlockIdMaxExtrinsicIdxAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_MAX_EXTRINSIC_IDX_ASC', - MultiSigProposalsByCreatedBlockIdMaxExtrinsicIdxDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_MAX_EXTRINSIC_IDX_DESC', - MultiSigProposalsByCreatedBlockIdMaxIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_MAX_ID_ASC', - MultiSigProposalsByCreatedBlockIdMaxIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_MAX_ID_DESC', - MultiSigProposalsByCreatedBlockIdMaxMultisigIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_MAX_MULTISIG_ID_ASC', - MultiSigProposalsByCreatedBlockIdMaxMultisigIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_MAX_MULTISIG_ID_DESC', - MultiSigProposalsByCreatedBlockIdMaxProposalIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_MAX_PROPOSAL_ID_ASC', - MultiSigProposalsByCreatedBlockIdMaxProposalIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_MAX_PROPOSAL_ID_DESC', - MultiSigProposalsByCreatedBlockIdMaxRejectionCountAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_MAX_REJECTION_COUNT_ASC', - MultiSigProposalsByCreatedBlockIdMaxRejectionCountDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_MAX_REJECTION_COUNT_DESC', - MultiSigProposalsByCreatedBlockIdMaxStatusAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_MAX_STATUS_ASC', - MultiSigProposalsByCreatedBlockIdMaxStatusDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_MAX_STATUS_DESC', - MultiSigProposalsByCreatedBlockIdMaxUpdatedAtAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - MultiSigProposalsByCreatedBlockIdMaxUpdatedAtDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - MultiSigProposalsByCreatedBlockIdMaxUpdatedBlockIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - MultiSigProposalsByCreatedBlockIdMaxUpdatedBlockIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - MultiSigProposalsByCreatedBlockIdMinApprovalCountAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_MIN_APPROVAL_COUNT_ASC', - MultiSigProposalsByCreatedBlockIdMinApprovalCountDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_MIN_APPROVAL_COUNT_DESC', - MultiSigProposalsByCreatedBlockIdMinCreatedAtAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_ASC', - MultiSigProposalsByCreatedBlockIdMinCreatedAtDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_DESC', - MultiSigProposalsByCreatedBlockIdMinCreatedBlockIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - MultiSigProposalsByCreatedBlockIdMinCreatedBlockIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - MultiSigProposalsByCreatedBlockIdMinCreatorAccountAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_MIN_CREATOR_ACCOUNT_ASC', - MultiSigProposalsByCreatedBlockIdMinCreatorAccountDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_MIN_CREATOR_ACCOUNT_DESC', - MultiSigProposalsByCreatedBlockIdMinCreatorIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_MIN_CREATOR_ID_ASC', - MultiSigProposalsByCreatedBlockIdMinCreatorIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_MIN_CREATOR_ID_DESC', - MultiSigProposalsByCreatedBlockIdMinDatetimeAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_MIN_DATETIME_ASC', - MultiSigProposalsByCreatedBlockIdMinDatetimeDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_MIN_DATETIME_DESC', - MultiSigProposalsByCreatedBlockIdMinEventIdxAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_MIN_EVENT_IDX_ASC', - MultiSigProposalsByCreatedBlockIdMinEventIdxDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_MIN_EVENT_IDX_DESC', - MultiSigProposalsByCreatedBlockIdMinExtrinsicIdxAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_MIN_EXTRINSIC_IDX_ASC', - MultiSigProposalsByCreatedBlockIdMinExtrinsicIdxDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_MIN_EXTRINSIC_IDX_DESC', - MultiSigProposalsByCreatedBlockIdMinIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_MIN_ID_ASC', - MultiSigProposalsByCreatedBlockIdMinIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_MIN_ID_DESC', - MultiSigProposalsByCreatedBlockIdMinMultisigIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_MIN_MULTISIG_ID_ASC', - MultiSigProposalsByCreatedBlockIdMinMultisigIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_MIN_MULTISIG_ID_DESC', - MultiSigProposalsByCreatedBlockIdMinProposalIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_MIN_PROPOSAL_ID_ASC', - MultiSigProposalsByCreatedBlockIdMinProposalIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_MIN_PROPOSAL_ID_DESC', - MultiSigProposalsByCreatedBlockIdMinRejectionCountAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_MIN_REJECTION_COUNT_ASC', - MultiSigProposalsByCreatedBlockIdMinRejectionCountDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_MIN_REJECTION_COUNT_DESC', - MultiSigProposalsByCreatedBlockIdMinStatusAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_MIN_STATUS_ASC', - MultiSigProposalsByCreatedBlockIdMinStatusDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_MIN_STATUS_DESC', - MultiSigProposalsByCreatedBlockIdMinUpdatedAtAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - MultiSigProposalsByCreatedBlockIdMinUpdatedAtDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - MultiSigProposalsByCreatedBlockIdMinUpdatedBlockIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - MultiSigProposalsByCreatedBlockIdMinUpdatedBlockIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - MultiSigProposalsByCreatedBlockIdStddevPopulationApprovalCountAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_APPROVAL_COUNT_ASC', - MultiSigProposalsByCreatedBlockIdStddevPopulationApprovalCountDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_APPROVAL_COUNT_DESC', - MultiSigProposalsByCreatedBlockIdStddevPopulationCreatedAtAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - MultiSigProposalsByCreatedBlockIdStddevPopulationCreatedAtDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - MultiSigProposalsByCreatedBlockIdStddevPopulationCreatedBlockIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - MultiSigProposalsByCreatedBlockIdStddevPopulationCreatedBlockIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - MultiSigProposalsByCreatedBlockIdStddevPopulationCreatorAccountAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATOR_ACCOUNT_ASC', - MultiSigProposalsByCreatedBlockIdStddevPopulationCreatorAccountDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATOR_ACCOUNT_DESC', - MultiSigProposalsByCreatedBlockIdStddevPopulationCreatorIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATOR_ID_ASC', - MultiSigProposalsByCreatedBlockIdStddevPopulationCreatorIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATOR_ID_DESC', - MultiSigProposalsByCreatedBlockIdStddevPopulationDatetimeAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_DATETIME_ASC', - MultiSigProposalsByCreatedBlockIdStddevPopulationDatetimeDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_DATETIME_DESC', - MultiSigProposalsByCreatedBlockIdStddevPopulationEventIdxAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_ASC', - MultiSigProposalsByCreatedBlockIdStddevPopulationEventIdxDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_DESC', - MultiSigProposalsByCreatedBlockIdStddevPopulationExtrinsicIdxAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EXTRINSIC_IDX_ASC', - MultiSigProposalsByCreatedBlockIdStddevPopulationExtrinsicIdxDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EXTRINSIC_IDX_DESC', - MultiSigProposalsByCreatedBlockIdStddevPopulationIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - MultiSigProposalsByCreatedBlockIdStddevPopulationIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - MultiSigProposalsByCreatedBlockIdStddevPopulationMultisigIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_MULTISIG_ID_ASC', - MultiSigProposalsByCreatedBlockIdStddevPopulationMultisigIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_MULTISIG_ID_DESC', - MultiSigProposalsByCreatedBlockIdStddevPopulationProposalIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_PROPOSAL_ID_ASC', - MultiSigProposalsByCreatedBlockIdStddevPopulationProposalIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_PROPOSAL_ID_DESC', - MultiSigProposalsByCreatedBlockIdStddevPopulationRejectionCountAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_REJECTION_COUNT_ASC', - MultiSigProposalsByCreatedBlockIdStddevPopulationRejectionCountDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_REJECTION_COUNT_DESC', - MultiSigProposalsByCreatedBlockIdStddevPopulationStatusAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_STATUS_ASC', - MultiSigProposalsByCreatedBlockIdStddevPopulationStatusDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_STATUS_DESC', - MultiSigProposalsByCreatedBlockIdStddevPopulationUpdatedAtAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - MultiSigProposalsByCreatedBlockIdStddevPopulationUpdatedAtDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - MultiSigProposalsByCreatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - MultiSigProposalsByCreatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - MultiSigProposalsByCreatedBlockIdStddevSampleApprovalCountAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_APPROVAL_COUNT_ASC', - MultiSigProposalsByCreatedBlockIdStddevSampleApprovalCountDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_APPROVAL_COUNT_DESC', - MultiSigProposalsByCreatedBlockIdStddevSampleCreatedAtAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - MultiSigProposalsByCreatedBlockIdStddevSampleCreatedAtDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - MultiSigProposalsByCreatedBlockIdStddevSampleCreatedBlockIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - MultiSigProposalsByCreatedBlockIdStddevSampleCreatedBlockIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - MultiSigProposalsByCreatedBlockIdStddevSampleCreatorAccountAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATOR_ACCOUNT_ASC', - MultiSigProposalsByCreatedBlockIdStddevSampleCreatorAccountDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATOR_ACCOUNT_DESC', - MultiSigProposalsByCreatedBlockIdStddevSampleCreatorIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATOR_ID_ASC', - MultiSigProposalsByCreatedBlockIdStddevSampleCreatorIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATOR_ID_DESC', - MultiSigProposalsByCreatedBlockIdStddevSampleDatetimeAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_DATETIME_ASC', - MultiSigProposalsByCreatedBlockIdStddevSampleDatetimeDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_DATETIME_DESC', - MultiSigProposalsByCreatedBlockIdStddevSampleEventIdxAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', - MultiSigProposalsByCreatedBlockIdStddevSampleEventIdxDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', - MultiSigProposalsByCreatedBlockIdStddevSampleExtrinsicIdxAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EXTRINSIC_IDX_ASC', - MultiSigProposalsByCreatedBlockIdStddevSampleExtrinsicIdxDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EXTRINSIC_IDX_DESC', - MultiSigProposalsByCreatedBlockIdStddevSampleIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - MultiSigProposalsByCreatedBlockIdStddevSampleIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - MultiSigProposalsByCreatedBlockIdStddevSampleMultisigIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_MULTISIG_ID_ASC', - MultiSigProposalsByCreatedBlockIdStddevSampleMultisigIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_MULTISIG_ID_DESC', - MultiSigProposalsByCreatedBlockIdStddevSampleProposalIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_PROPOSAL_ID_ASC', - MultiSigProposalsByCreatedBlockIdStddevSampleProposalIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_PROPOSAL_ID_DESC', - MultiSigProposalsByCreatedBlockIdStddevSampleRejectionCountAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_REJECTION_COUNT_ASC', - MultiSigProposalsByCreatedBlockIdStddevSampleRejectionCountDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_REJECTION_COUNT_DESC', - MultiSigProposalsByCreatedBlockIdStddevSampleStatusAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_STATUS_ASC', - MultiSigProposalsByCreatedBlockIdStddevSampleStatusDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_STATUS_DESC', - MultiSigProposalsByCreatedBlockIdStddevSampleUpdatedAtAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - MultiSigProposalsByCreatedBlockIdStddevSampleUpdatedAtDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - MultiSigProposalsByCreatedBlockIdStddevSampleUpdatedBlockIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - MultiSigProposalsByCreatedBlockIdStddevSampleUpdatedBlockIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - MultiSigProposalsByCreatedBlockIdSumApprovalCountAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_SUM_APPROVAL_COUNT_ASC', - MultiSigProposalsByCreatedBlockIdSumApprovalCountDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_SUM_APPROVAL_COUNT_DESC', - MultiSigProposalsByCreatedBlockIdSumCreatedAtAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_ASC', - MultiSigProposalsByCreatedBlockIdSumCreatedAtDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_DESC', - MultiSigProposalsByCreatedBlockIdSumCreatedBlockIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - MultiSigProposalsByCreatedBlockIdSumCreatedBlockIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - MultiSigProposalsByCreatedBlockIdSumCreatorAccountAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_SUM_CREATOR_ACCOUNT_ASC', - MultiSigProposalsByCreatedBlockIdSumCreatorAccountDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_SUM_CREATOR_ACCOUNT_DESC', - MultiSigProposalsByCreatedBlockIdSumCreatorIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_SUM_CREATOR_ID_ASC', - MultiSigProposalsByCreatedBlockIdSumCreatorIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_SUM_CREATOR_ID_DESC', - MultiSigProposalsByCreatedBlockIdSumDatetimeAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_SUM_DATETIME_ASC', - MultiSigProposalsByCreatedBlockIdSumDatetimeDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_SUM_DATETIME_DESC', - MultiSigProposalsByCreatedBlockIdSumEventIdxAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_SUM_EVENT_IDX_ASC', - MultiSigProposalsByCreatedBlockIdSumEventIdxDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_SUM_EVENT_IDX_DESC', - MultiSigProposalsByCreatedBlockIdSumExtrinsicIdxAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_SUM_EXTRINSIC_IDX_ASC', - MultiSigProposalsByCreatedBlockIdSumExtrinsicIdxDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_SUM_EXTRINSIC_IDX_DESC', - MultiSigProposalsByCreatedBlockIdSumIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_SUM_ID_ASC', - MultiSigProposalsByCreatedBlockIdSumIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_SUM_ID_DESC', - MultiSigProposalsByCreatedBlockIdSumMultisigIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_SUM_MULTISIG_ID_ASC', - MultiSigProposalsByCreatedBlockIdSumMultisigIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_SUM_MULTISIG_ID_DESC', - MultiSigProposalsByCreatedBlockIdSumProposalIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_SUM_PROPOSAL_ID_ASC', - MultiSigProposalsByCreatedBlockIdSumProposalIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_SUM_PROPOSAL_ID_DESC', - MultiSigProposalsByCreatedBlockIdSumRejectionCountAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_SUM_REJECTION_COUNT_ASC', - MultiSigProposalsByCreatedBlockIdSumRejectionCountDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_SUM_REJECTION_COUNT_DESC', - MultiSigProposalsByCreatedBlockIdSumStatusAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_SUM_STATUS_ASC', - MultiSigProposalsByCreatedBlockIdSumStatusDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_SUM_STATUS_DESC', - MultiSigProposalsByCreatedBlockIdSumUpdatedAtAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - MultiSigProposalsByCreatedBlockIdSumUpdatedAtDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - MultiSigProposalsByCreatedBlockIdSumUpdatedBlockIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - MultiSigProposalsByCreatedBlockIdSumUpdatedBlockIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - MultiSigProposalsByCreatedBlockIdVariancePopulationApprovalCountAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_APPROVAL_COUNT_ASC', - MultiSigProposalsByCreatedBlockIdVariancePopulationApprovalCountDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_APPROVAL_COUNT_DESC', - MultiSigProposalsByCreatedBlockIdVariancePopulationCreatedAtAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - MultiSigProposalsByCreatedBlockIdVariancePopulationCreatedAtDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - MultiSigProposalsByCreatedBlockIdVariancePopulationCreatedBlockIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - MultiSigProposalsByCreatedBlockIdVariancePopulationCreatedBlockIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - MultiSigProposalsByCreatedBlockIdVariancePopulationCreatorAccountAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATOR_ACCOUNT_ASC', - MultiSigProposalsByCreatedBlockIdVariancePopulationCreatorAccountDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATOR_ACCOUNT_DESC', - MultiSigProposalsByCreatedBlockIdVariancePopulationCreatorIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATOR_ID_ASC', - MultiSigProposalsByCreatedBlockIdVariancePopulationCreatorIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATOR_ID_DESC', - MultiSigProposalsByCreatedBlockIdVariancePopulationDatetimeAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_DATETIME_ASC', - MultiSigProposalsByCreatedBlockIdVariancePopulationDatetimeDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_DATETIME_DESC', - MultiSigProposalsByCreatedBlockIdVariancePopulationEventIdxAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', - MultiSigProposalsByCreatedBlockIdVariancePopulationEventIdxDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', - MultiSigProposalsByCreatedBlockIdVariancePopulationExtrinsicIdxAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EXTRINSIC_IDX_ASC', - MultiSigProposalsByCreatedBlockIdVariancePopulationExtrinsicIdxDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EXTRINSIC_IDX_DESC', - MultiSigProposalsByCreatedBlockIdVariancePopulationIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - MultiSigProposalsByCreatedBlockIdVariancePopulationIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - MultiSigProposalsByCreatedBlockIdVariancePopulationMultisigIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_MULTISIG_ID_ASC', - MultiSigProposalsByCreatedBlockIdVariancePopulationMultisigIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_MULTISIG_ID_DESC', - MultiSigProposalsByCreatedBlockIdVariancePopulationProposalIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_PROPOSAL_ID_ASC', - MultiSigProposalsByCreatedBlockIdVariancePopulationProposalIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_PROPOSAL_ID_DESC', - MultiSigProposalsByCreatedBlockIdVariancePopulationRejectionCountAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_REJECTION_COUNT_ASC', - MultiSigProposalsByCreatedBlockIdVariancePopulationRejectionCountDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_REJECTION_COUNT_DESC', - MultiSigProposalsByCreatedBlockIdVariancePopulationStatusAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_STATUS_ASC', - MultiSigProposalsByCreatedBlockIdVariancePopulationStatusDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_STATUS_DESC', - MultiSigProposalsByCreatedBlockIdVariancePopulationUpdatedAtAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - MultiSigProposalsByCreatedBlockIdVariancePopulationUpdatedAtDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - MultiSigProposalsByCreatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - MultiSigProposalsByCreatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - MultiSigProposalsByCreatedBlockIdVarianceSampleApprovalCountAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_APPROVAL_COUNT_ASC', - MultiSigProposalsByCreatedBlockIdVarianceSampleApprovalCountDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_APPROVAL_COUNT_DESC', - MultiSigProposalsByCreatedBlockIdVarianceSampleCreatedAtAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - MultiSigProposalsByCreatedBlockIdVarianceSampleCreatedAtDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - MultiSigProposalsByCreatedBlockIdVarianceSampleCreatedBlockIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - MultiSigProposalsByCreatedBlockIdVarianceSampleCreatedBlockIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - MultiSigProposalsByCreatedBlockIdVarianceSampleCreatorAccountAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATOR_ACCOUNT_ASC', - MultiSigProposalsByCreatedBlockIdVarianceSampleCreatorAccountDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATOR_ACCOUNT_DESC', - MultiSigProposalsByCreatedBlockIdVarianceSampleCreatorIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATOR_ID_ASC', - MultiSigProposalsByCreatedBlockIdVarianceSampleCreatorIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATOR_ID_DESC', - MultiSigProposalsByCreatedBlockIdVarianceSampleDatetimeAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_DATETIME_ASC', - MultiSigProposalsByCreatedBlockIdVarianceSampleDatetimeDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_DATETIME_DESC', - MultiSigProposalsByCreatedBlockIdVarianceSampleEventIdxAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', - MultiSigProposalsByCreatedBlockIdVarianceSampleEventIdxDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', - MultiSigProposalsByCreatedBlockIdVarianceSampleExtrinsicIdxAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EXTRINSIC_IDX_ASC', - MultiSigProposalsByCreatedBlockIdVarianceSampleExtrinsicIdxDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EXTRINSIC_IDX_DESC', - MultiSigProposalsByCreatedBlockIdVarianceSampleIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - MultiSigProposalsByCreatedBlockIdVarianceSampleIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - MultiSigProposalsByCreatedBlockIdVarianceSampleMultisigIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_MULTISIG_ID_ASC', - MultiSigProposalsByCreatedBlockIdVarianceSampleMultisigIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_MULTISIG_ID_DESC', - MultiSigProposalsByCreatedBlockIdVarianceSampleProposalIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_PROPOSAL_ID_ASC', - MultiSigProposalsByCreatedBlockIdVarianceSampleProposalIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_PROPOSAL_ID_DESC', - MultiSigProposalsByCreatedBlockIdVarianceSampleRejectionCountAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_REJECTION_COUNT_ASC', - MultiSigProposalsByCreatedBlockIdVarianceSampleRejectionCountDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_REJECTION_COUNT_DESC', - MultiSigProposalsByCreatedBlockIdVarianceSampleStatusAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_STATUS_ASC', - MultiSigProposalsByCreatedBlockIdVarianceSampleStatusDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_STATUS_DESC', - MultiSigProposalsByCreatedBlockIdVarianceSampleUpdatedAtAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - MultiSigProposalsByCreatedBlockIdVarianceSampleUpdatedAtDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - MultiSigProposalsByCreatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - MultiSigProposalsByCreatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - MultiSigProposalsByUpdatedBlockIdAverageApprovalCountAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_AVERAGE_APPROVAL_COUNT_ASC', - MultiSigProposalsByUpdatedBlockIdAverageApprovalCountDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_AVERAGE_APPROVAL_COUNT_DESC', - MultiSigProposalsByUpdatedBlockIdAverageCreatedAtAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - MultiSigProposalsByUpdatedBlockIdAverageCreatedAtDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - MultiSigProposalsByUpdatedBlockIdAverageCreatedBlockIdAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - MultiSigProposalsByUpdatedBlockIdAverageCreatedBlockIdDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - MultiSigProposalsByUpdatedBlockIdAverageCreatorAccountAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATOR_ACCOUNT_ASC', - MultiSigProposalsByUpdatedBlockIdAverageCreatorAccountDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATOR_ACCOUNT_DESC', - MultiSigProposalsByUpdatedBlockIdAverageCreatorIdAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATOR_ID_ASC', - MultiSigProposalsByUpdatedBlockIdAverageCreatorIdDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATOR_ID_DESC', - MultiSigProposalsByUpdatedBlockIdAverageDatetimeAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_AVERAGE_DATETIME_ASC', - MultiSigProposalsByUpdatedBlockIdAverageDatetimeDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_AVERAGE_DATETIME_DESC', - MultiSigProposalsByUpdatedBlockIdAverageEventIdxAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_IDX_ASC', - MultiSigProposalsByUpdatedBlockIdAverageEventIdxDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_IDX_DESC', - MultiSigProposalsByUpdatedBlockIdAverageExtrinsicIdxAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_AVERAGE_EXTRINSIC_IDX_ASC', - MultiSigProposalsByUpdatedBlockIdAverageExtrinsicIdxDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_AVERAGE_EXTRINSIC_IDX_DESC', - MultiSigProposalsByUpdatedBlockIdAverageIdAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_ASC', - MultiSigProposalsByUpdatedBlockIdAverageIdDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_DESC', - MultiSigProposalsByUpdatedBlockIdAverageMultisigIdAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_AVERAGE_MULTISIG_ID_ASC', - MultiSigProposalsByUpdatedBlockIdAverageMultisigIdDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_AVERAGE_MULTISIG_ID_DESC', - MultiSigProposalsByUpdatedBlockIdAverageProposalIdAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_AVERAGE_PROPOSAL_ID_ASC', - MultiSigProposalsByUpdatedBlockIdAverageProposalIdDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_AVERAGE_PROPOSAL_ID_DESC', - MultiSigProposalsByUpdatedBlockIdAverageRejectionCountAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_AVERAGE_REJECTION_COUNT_ASC', - MultiSigProposalsByUpdatedBlockIdAverageRejectionCountDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_AVERAGE_REJECTION_COUNT_DESC', - MultiSigProposalsByUpdatedBlockIdAverageStatusAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_AVERAGE_STATUS_ASC', - MultiSigProposalsByUpdatedBlockIdAverageStatusDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_AVERAGE_STATUS_DESC', - MultiSigProposalsByUpdatedBlockIdAverageUpdatedAtAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - MultiSigProposalsByUpdatedBlockIdAverageUpdatedAtDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - MultiSigProposalsByUpdatedBlockIdAverageUpdatedBlockIdAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - MultiSigProposalsByUpdatedBlockIdAverageUpdatedBlockIdDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - MultiSigProposalsByUpdatedBlockIdCountAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_COUNT_ASC', - MultiSigProposalsByUpdatedBlockIdCountDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_COUNT_DESC', - MultiSigProposalsByUpdatedBlockIdDistinctCountApprovalCountAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_APPROVAL_COUNT_ASC', - MultiSigProposalsByUpdatedBlockIdDistinctCountApprovalCountDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_APPROVAL_COUNT_DESC', - MultiSigProposalsByUpdatedBlockIdDistinctCountCreatedAtAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - MultiSigProposalsByUpdatedBlockIdDistinctCountCreatedAtDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - MultiSigProposalsByUpdatedBlockIdDistinctCountCreatedBlockIdAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - MultiSigProposalsByUpdatedBlockIdDistinctCountCreatedBlockIdDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - MultiSigProposalsByUpdatedBlockIdDistinctCountCreatorAccountAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATOR_ACCOUNT_ASC', - MultiSigProposalsByUpdatedBlockIdDistinctCountCreatorAccountDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATOR_ACCOUNT_DESC', - MultiSigProposalsByUpdatedBlockIdDistinctCountCreatorIdAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATOR_ID_ASC', - MultiSigProposalsByUpdatedBlockIdDistinctCountCreatorIdDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATOR_ID_DESC', - MultiSigProposalsByUpdatedBlockIdDistinctCountDatetimeAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_ASC', - MultiSigProposalsByUpdatedBlockIdDistinctCountDatetimeDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_DESC', - MultiSigProposalsByUpdatedBlockIdDistinctCountEventIdxAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_ASC', - MultiSigProposalsByUpdatedBlockIdDistinctCountEventIdxDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_DESC', - MultiSigProposalsByUpdatedBlockIdDistinctCountExtrinsicIdxAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EXTRINSIC_IDX_ASC', - MultiSigProposalsByUpdatedBlockIdDistinctCountExtrinsicIdxDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EXTRINSIC_IDX_DESC', - MultiSigProposalsByUpdatedBlockIdDistinctCountIdAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - MultiSigProposalsByUpdatedBlockIdDistinctCountIdDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - MultiSigProposalsByUpdatedBlockIdDistinctCountMultisigIdAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_MULTISIG_ID_ASC', - MultiSigProposalsByUpdatedBlockIdDistinctCountMultisigIdDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_MULTISIG_ID_DESC', - MultiSigProposalsByUpdatedBlockIdDistinctCountProposalIdAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_PROPOSAL_ID_ASC', - MultiSigProposalsByUpdatedBlockIdDistinctCountProposalIdDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_PROPOSAL_ID_DESC', - MultiSigProposalsByUpdatedBlockIdDistinctCountRejectionCountAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_REJECTION_COUNT_ASC', - MultiSigProposalsByUpdatedBlockIdDistinctCountRejectionCountDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_REJECTION_COUNT_DESC', - MultiSigProposalsByUpdatedBlockIdDistinctCountStatusAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_STATUS_ASC', - MultiSigProposalsByUpdatedBlockIdDistinctCountStatusDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_STATUS_DESC', - MultiSigProposalsByUpdatedBlockIdDistinctCountUpdatedAtAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - MultiSigProposalsByUpdatedBlockIdDistinctCountUpdatedAtDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - MultiSigProposalsByUpdatedBlockIdDistinctCountUpdatedBlockIdAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - MultiSigProposalsByUpdatedBlockIdDistinctCountUpdatedBlockIdDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - MultiSigProposalsByUpdatedBlockIdMaxApprovalCountAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_MAX_APPROVAL_COUNT_ASC', - MultiSigProposalsByUpdatedBlockIdMaxApprovalCountDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_MAX_APPROVAL_COUNT_DESC', - MultiSigProposalsByUpdatedBlockIdMaxCreatedAtAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_ASC', - MultiSigProposalsByUpdatedBlockIdMaxCreatedAtDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_DESC', - MultiSigProposalsByUpdatedBlockIdMaxCreatedBlockIdAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - MultiSigProposalsByUpdatedBlockIdMaxCreatedBlockIdDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - MultiSigProposalsByUpdatedBlockIdMaxCreatorAccountAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_MAX_CREATOR_ACCOUNT_ASC', - MultiSigProposalsByUpdatedBlockIdMaxCreatorAccountDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_MAX_CREATOR_ACCOUNT_DESC', - MultiSigProposalsByUpdatedBlockIdMaxCreatorIdAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_MAX_CREATOR_ID_ASC', - MultiSigProposalsByUpdatedBlockIdMaxCreatorIdDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_MAX_CREATOR_ID_DESC', - MultiSigProposalsByUpdatedBlockIdMaxDatetimeAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_MAX_DATETIME_ASC', - MultiSigProposalsByUpdatedBlockIdMaxDatetimeDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_MAX_DATETIME_DESC', - MultiSigProposalsByUpdatedBlockIdMaxEventIdxAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_MAX_EVENT_IDX_ASC', - MultiSigProposalsByUpdatedBlockIdMaxEventIdxDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_MAX_EVENT_IDX_DESC', - MultiSigProposalsByUpdatedBlockIdMaxExtrinsicIdxAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_MAX_EXTRINSIC_IDX_ASC', - MultiSigProposalsByUpdatedBlockIdMaxExtrinsicIdxDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_MAX_EXTRINSIC_IDX_DESC', - MultiSigProposalsByUpdatedBlockIdMaxIdAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_MAX_ID_ASC', - MultiSigProposalsByUpdatedBlockIdMaxIdDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_MAX_ID_DESC', - MultiSigProposalsByUpdatedBlockIdMaxMultisigIdAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_MAX_MULTISIG_ID_ASC', - MultiSigProposalsByUpdatedBlockIdMaxMultisigIdDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_MAX_MULTISIG_ID_DESC', - MultiSigProposalsByUpdatedBlockIdMaxProposalIdAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_MAX_PROPOSAL_ID_ASC', - MultiSigProposalsByUpdatedBlockIdMaxProposalIdDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_MAX_PROPOSAL_ID_DESC', - MultiSigProposalsByUpdatedBlockIdMaxRejectionCountAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_MAX_REJECTION_COUNT_ASC', - MultiSigProposalsByUpdatedBlockIdMaxRejectionCountDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_MAX_REJECTION_COUNT_DESC', - MultiSigProposalsByUpdatedBlockIdMaxStatusAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_MAX_STATUS_ASC', - MultiSigProposalsByUpdatedBlockIdMaxStatusDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_MAX_STATUS_DESC', - MultiSigProposalsByUpdatedBlockIdMaxUpdatedAtAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - MultiSigProposalsByUpdatedBlockIdMaxUpdatedAtDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - MultiSigProposalsByUpdatedBlockIdMaxUpdatedBlockIdAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - MultiSigProposalsByUpdatedBlockIdMaxUpdatedBlockIdDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - MultiSigProposalsByUpdatedBlockIdMinApprovalCountAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_MIN_APPROVAL_COUNT_ASC', - MultiSigProposalsByUpdatedBlockIdMinApprovalCountDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_MIN_APPROVAL_COUNT_DESC', - MultiSigProposalsByUpdatedBlockIdMinCreatedAtAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_ASC', - MultiSigProposalsByUpdatedBlockIdMinCreatedAtDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_DESC', - MultiSigProposalsByUpdatedBlockIdMinCreatedBlockIdAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - MultiSigProposalsByUpdatedBlockIdMinCreatedBlockIdDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - MultiSigProposalsByUpdatedBlockIdMinCreatorAccountAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_MIN_CREATOR_ACCOUNT_ASC', - MultiSigProposalsByUpdatedBlockIdMinCreatorAccountDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_MIN_CREATOR_ACCOUNT_DESC', - MultiSigProposalsByUpdatedBlockIdMinCreatorIdAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_MIN_CREATOR_ID_ASC', - MultiSigProposalsByUpdatedBlockIdMinCreatorIdDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_MIN_CREATOR_ID_DESC', - MultiSigProposalsByUpdatedBlockIdMinDatetimeAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_MIN_DATETIME_ASC', - MultiSigProposalsByUpdatedBlockIdMinDatetimeDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_MIN_DATETIME_DESC', - MultiSigProposalsByUpdatedBlockIdMinEventIdxAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_MIN_EVENT_IDX_ASC', - MultiSigProposalsByUpdatedBlockIdMinEventIdxDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_MIN_EVENT_IDX_DESC', - MultiSigProposalsByUpdatedBlockIdMinExtrinsicIdxAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_MIN_EXTRINSIC_IDX_ASC', - MultiSigProposalsByUpdatedBlockIdMinExtrinsicIdxDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_MIN_EXTRINSIC_IDX_DESC', - MultiSigProposalsByUpdatedBlockIdMinIdAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_MIN_ID_ASC', - MultiSigProposalsByUpdatedBlockIdMinIdDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_MIN_ID_DESC', - MultiSigProposalsByUpdatedBlockIdMinMultisigIdAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_MIN_MULTISIG_ID_ASC', - MultiSigProposalsByUpdatedBlockIdMinMultisigIdDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_MIN_MULTISIG_ID_DESC', - MultiSigProposalsByUpdatedBlockIdMinProposalIdAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_MIN_PROPOSAL_ID_ASC', - MultiSigProposalsByUpdatedBlockIdMinProposalIdDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_MIN_PROPOSAL_ID_DESC', - MultiSigProposalsByUpdatedBlockIdMinRejectionCountAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_MIN_REJECTION_COUNT_ASC', - MultiSigProposalsByUpdatedBlockIdMinRejectionCountDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_MIN_REJECTION_COUNT_DESC', - MultiSigProposalsByUpdatedBlockIdMinStatusAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_MIN_STATUS_ASC', - MultiSigProposalsByUpdatedBlockIdMinStatusDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_MIN_STATUS_DESC', - MultiSigProposalsByUpdatedBlockIdMinUpdatedAtAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - MultiSigProposalsByUpdatedBlockIdMinUpdatedAtDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - MultiSigProposalsByUpdatedBlockIdMinUpdatedBlockIdAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - MultiSigProposalsByUpdatedBlockIdMinUpdatedBlockIdDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - MultiSigProposalsByUpdatedBlockIdStddevPopulationApprovalCountAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_APPROVAL_COUNT_ASC', - MultiSigProposalsByUpdatedBlockIdStddevPopulationApprovalCountDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_APPROVAL_COUNT_DESC', - MultiSigProposalsByUpdatedBlockIdStddevPopulationCreatedAtAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - MultiSigProposalsByUpdatedBlockIdStddevPopulationCreatedAtDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - MultiSigProposalsByUpdatedBlockIdStddevPopulationCreatedBlockIdAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - MultiSigProposalsByUpdatedBlockIdStddevPopulationCreatedBlockIdDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - MultiSigProposalsByUpdatedBlockIdStddevPopulationCreatorAccountAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATOR_ACCOUNT_ASC', - MultiSigProposalsByUpdatedBlockIdStddevPopulationCreatorAccountDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATOR_ACCOUNT_DESC', - MultiSigProposalsByUpdatedBlockIdStddevPopulationCreatorIdAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATOR_ID_ASC', - MultiSigProposalsByUpdatedBlockIdStddevPopulationCreatorIdDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATOR_ID_DESC', - MultiSigProposalsByUpdatedBlockIdStddevPopulationDatetimeAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_DATETIME_ASC', - MultiSigProposalsByUpdatedBlockIdStddevPopulationDatetimeDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_DATETIME_DESC', - MultiSigProposalsByUpdatedBlockIdStddevPopulationEventIdxAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_ASC', - MultiSigProposalsByUpdatedBlockIdStddevPopulationEventIdxDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_DESC', - MultiSigProposalsByUpdatedBlockIdStddevPopulationExtrinsicIdxAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EXTRINSIC_IDX_ASC', - MultiSigProposalsByUpdatedBlockIdStddevPopulationExtrinsicIdxDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EXTRINSIC_IDX_DESC', - MultiSigProposalsByUpdatedBlockIdStddevPopulationIdAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - MultiSigProposalsByUpdatedBlockIdStddevPopulationIdDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - MultiSigProposalsByUpdatedBlockIdStddevPopulationMultisigIdAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_MULTISIG_ID_ASC', - MultiSigProposalsByUpdatedBlockIdStddevPopulationMultisigIdDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_MULTISIG_ID_DESC', - MultiSigProposalsByUpdatedBlockIdStddevPopulationProposalIdAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_PROPOSAL_ID_ASC', - MultiSigProposalsByUpdatedBlockIdStddevPopulationProposalIdDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_PROPOSAL_ID_DESC', - MultiSigProposalsByUpdatedBlockIdStddevPopulationRejectionCountAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_REJECTION_COUNT_ASC', - MultiSigProposalsByUpdatedBlockIdStddevPopulationRejectionCountDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_REJECTION_COUNT_DESC', - MultiSigProposalsByUpdatedBlockIdStddevPopulationStatusAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_STATUS_ASC', - MultiSigProposalsByUpdatedBlockIdStddevPopulationStatusDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_STATUS_DESC', - MultiSigProposalsByUpdatedBlockIdStddevPopulationUpdatedAtAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - MultiSigProposalsByUpdatedBlockIdStddevPopulationUpdatedAtDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - MultiSigProposalsByUpdatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - MultiSigProposalsByUpdatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - MultiSigProposalsByUpdatedBlockIdStddevSampleApprovalCountAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_APPROVAL_COUNT_ASC', - MultiSigProposalsByUpdatedBlockIdStddevSampleApprovalCountDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_APPROVAL_COUNT_DESC', - MultiSigProposalsByUpdatedBlockIdStddevSampleCreatedAtAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - MultiSigProposalsByUpdatedBlockIdStddevSampleCreatedAtDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - MultiSigProposalsByUpdatedBlockIdStddevSampleCreatedBlockIdAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - MultiSigProposalsByUpdatedBlockIdStddevSampleCreatedBlockIdDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - MultiSigProposalsByUpdatedBlockIdStddevSampleCreatorAccountAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATOR_ACCOUNT_ASC', - MultiSigProposalsByUpdatedBlockIdStddevSampleCreatorAccountDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATOR_ACCOUNT_DESC', - MultiSigProposalsByUpdatedBlockIdStddevSampleCreatorIdAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATOR_ID_ASC', - MultiSigProposalsByUpdatedBlockIdStddevSampleCreatorIdDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATOR_ID_DESC', - MultiSigProposalsByUpdatedBlockIdStddevSampleDatetimeAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_DATETIME_ASC', - MultiSigProposalsByUpdatedBlockIdStddevSampleDatetimeDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_DATETIME_DESC', - MultiSigProposalsByUpdatedBlockIdStddevSampleEventIdxAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', - MultiSigProposalsByUpdatedBlockIdStddevSampleEventIdxDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', - MultiSigProposalsByUpdatedBlockIdStddevSampleExtrinsicIdxAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EXTRINSIC_IDX_ASC', - MultiSigProposalsByUpdatedBlockIdStddevSampleExtrinsicIdxDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EXTRINSIC_IDX_DESC', - MultiSigProposalsByUpdatedBlockIdStddevSampleIdAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - MultiSigProposalsByUpdatedBlockIdStddevSampleIdDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - MultiSigProposalsByUpdatedBlockIdStddevSampleMultisigIdAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_MULTISIG_ID_ASC', - MultiSigProposalsByUpdatedBlockIdStddevSampleMultisigIdDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_MULTISIG_ID_DESC', - MultiSigProposalsByUpdatedBlockIdStddevSampleProposalIdAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_PROPOSAL_ID_ASC', - MultiSigProposalsByUpdatedBlockIdStddevSampleProposalIdDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_PROPOSAL_ID_DESC', - MultiSigProposalsByUpdatedBlockIdStddevSampleRejectionCountAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_REJECTION_COUNT_ASC', - MultiSigProposalsByUpdatedBlockIdStddevSampleRejectionCountDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_REJECTION_COUNT_DESC', - MultiSigProposalsByUpdatedBlockIdStddevSampleStatusAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_STATUS_ASC', - MultiSigProposalsByUpdatedBlockIdStddevSampleStatusDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_STATUS_DESC', - MultiSigProposalsByUpdatedBlockIdStddevSampleUpdatedAtAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - MultiSigProposalsByUpdatedBlockIdStddevSampleUpdatedAtDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - MultiSigProposalsByUpdatedBlockIdStddevSampleUpdatedBlockIdAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - MultiSigProposalsByUpdatedBlockIdStddevSampleUpdatedBlockIdDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - MultiSigProposalsByUpdatedBlockIdSumApprovalCountAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_SUM_APPROVAL_COUNT_ASC', - MultiSigProposalsByUpdatedBlockIdSumApprovalCountDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_SUM_APPROVAL_COUNT_DESC', - MultiSigProposalsByUpdatedBlockIdSumCreatedAtAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_ASC', - MultiSigProposalsByUpdatedBlockIdSumCreatedAtDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_DESC', - MultiSigProposalsByUpdatedBlockIdSumCreatedBlockIdAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - MultiSigProposalsByUpdatedBlockIdSumCreatedBlockIdDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - MultiSigProposalsByUpdatedBlockIdSumCreatorAccountAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_SUM_CREATOR_ACCOUNT_ASC', - MultiSigProposalsByUpdatedBlockIdSumCreatorAccountDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_SUM_CREATOR_ACCOUNT_DESC', - MultiSigProposalsByUpdatedBlockIdSumCreatorIdAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_SUM_CREATOR_ID_ASC', - MultiSigProposalsByUpdatedBlockIdSumCreatorIdDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_SUM_CREATOR_ID_DESC', - MultiSigProposalsByUpdatedBlockIdSumDatetimeAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_SUM_DATETIME_ASC', - MultiSigProposalsByUpdatedBlockIdSumDatetimeDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_SUM_DATETIME_DESC', - MultiSigProposalsByUpdatedBlockIdSumEventIdxAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_SUM_EVENT_IDX_ASC', - MultiSigProposalsByUpdatedBlockIdSumEventIdxDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_SUM_EVENT_IDX_DESC', - MultiSigProposalsByUpdatedBlockIdSumExtrinsicIdxAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_SUM_EXTRINSIC_IDX_ASC', - MultiSigProposalsByUpdatedBlockIdSumExtrinsicIdxDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_SUM_EXTRINSIC_IDX_DESC', - MultiSigProposalsByUpdatedBlockIdSumIdAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_SUM_ID_ASC', - MultiSigProposalsByUpdatedBlockIdSumIdDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_SUM_ID_DESC', - MultiSigProposalsByUpdatedBlockIdSumMultisigIdAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_SUM_MULTISIG_ID_ASC', - MultiSigProposalsByUpdatedBlockIdSumMultisigIdDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_SUM_MULTISIG_ID_DESC', - MultiSigProposalsByUpdatedBlockIdSumProposalIdAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_SUM_PROPOSAL_ID_ASC', - MultiSigProposalsByUpdatedBlockIdSumProposalIdDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_SUM_PROPOSAL_ID_DESC', - MultiSigProposalsByUpdatedBlockIdSumRejectionCountAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_SUM_REJECTION_COUNT_ASC', - MultiSigProposalsByUpdatedBlockIdSumRejectionCountDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_SUM_REJECTION_COUNT_DESC', - MultiSigProposalsByUpdatedBlockIdSumStatusAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_SUM_STATUS_ASC', - MultiSigProposalsByUpdatedBlockIdSumStatusDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_SUM_STATUS_DESC', - MultiSigProposalsByUpdatedBlockIdSumUpdatedAtAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - MultiSigProposalsByUpdatedBlockIdSumUpdatedAtDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - MultiSigProposalsByUpdatedBlockIdSumUpdatedBlockIdAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - MultiSigProposalsByUpdatedBlockIdSumUpdatedBlockIdDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - MultiSigProposalsByUpdatedBlockIdVariancePopulationApprovalCountAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_APPROVAL_COUNT_ASC', - MultiSigProposalsByUpdatedBlockIdVariancePopulationApprovalCountDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_APPROVAL_COUNT_DESC', - MultiSigProposalsByUpdatedBlockIdVariancePopulationCreatedAtAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - MultiSigProposalsByUpdatedBlockIdVariancePopulationCreatedAtDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - MultiSigProposalsByUpdatedBlockIdVariancePopulationCreatedBlockIdAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - MultiSigProposalsByUpdatedBlockIdVariancePopulationCreatedBlockIdDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - MultiSigProposalsByUpdatedBlockIdVariancePopulationCreatorAccountAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATOR_ACCOUNT_ASC', - MultiSigProposalsByUpdatedBlockIdVariancePopulationCreatorAccountDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATOR_ACCOUNT_DESC', - MultiSigProposalsByUpdatedBlockIdVariancePopulationCreatorIdAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATOR_ID_ASC', - MultiSigProposalsByUpdatedBlockIdVariancePopulationCreatorIdDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATOR_ID_DESC', - MultiSigProposalsByUpdatedBlockIdVariancePopulationDatetimeAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_DATETIME_ASC', - MultiSigProposalsByUpdatedBlockIdVariancePopulationDatetimeDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_DATETIME_DESC', - MultiSigProposalsByUpdatedBlockIdVariancePopulationEventIdxAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', - MultiSigProposalsByUpdatedBlockIdVariancePopulationEventIdxDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', - MultiSigProposalsByUpdatedBlockIdVariancePopulationExtrinsicIdxAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EXTRINSIC_IDX_ASC', - MultiSigProposalsByUpdatedBlockIdVariancePopulationExtrinsicIdxDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EXTRINSIC_IDX_DESC', - MultiSigProposalsByUpdatedBlockIdVariancePopulationIdAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - MultiSigProposalsByUpdatedBlockIdVariancePopulationIdDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - MultiSigProposalsByUpdatedBlockIdVariancePopulationMultisigIdAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_MULTISIG_ID_ASC', - MultiSigProposalsByUpdatedBlockIdVariancePopulationMultisigIdDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_MULTISIG_ID_DESC', - MultiSigProposalsByUpdatedBlockIdVariancePopulationProposalIdAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_PROPOSAL_ID_ASC', - MultiSigProposalsByUpdatedBlockIdVariancePopulationProposalIdDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_PROPOSAL_ID_DESC', - MultiSigProposalsByUpdatedBlockIdVariancePopulationRejectionCountAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_REJECTION_COUNT_ASC', - MultiSigProposalsByUpdatedBlockIdVariancePopulationRejectionCountDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_REJECTION_COUNT_DESC', - MultiSigProposalsByUpdatedBlockIdVariancePopulationStatusAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_STATUS_ASC', - MultiSigProposalsByUpdatedBlockIdVariancePopulationStatusDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_STATUS_DESC', - MultiSigProposalsByUpdatedBlockIdVariancePopulationUpdatedAtAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - MultiSigProposalsByUpdatedBlockIdVariancePopulationUpdatedAtDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - MultiSigProposalsByUpdatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - MultiSigProposalsByUpdatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - MultiSigProposalsByUpdatedBlockIdVarianceSampleApprovalCountAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_APPROVAL_COUNT_ASC', - MultiSigProposalsByUpdatedBlockIdVarianceSampleApprovalCountDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_APPROVAL_COUNT_DESC', - MultiSigProposalsByUpdatedBlockIdVarianceSampleCreatedAtAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - MultiSigProposalsByUpdatedBlockIdVarianceSampleCreatedAtDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - MultiSigProposalsByUpdatedBlockIdVarianceSampleCreatedBlockIdAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - MultiSigProposalsByUpdatedBlockIdVarianceSampleCreatedBlockIdDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - MultiSigProposalsByUpdatedBlockIdVarianceSampleCreatorAccountAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATOR_ACCOUNT_ASC', - MultiSigProposalsByUpdatedBlockIdVarianceSampleCreatorAccountDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATOR_ACCOUNT_DESC', - MultiSigProposalsByUpdatedBlockIdVarianceSampleCreatorIdAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATOR_ID_ASC', - MultiSigProposalsByUpdatedBlockIdVarianceSampleCreatorIdDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATOR_ID_DESC', - MultiSigProposalsByUpdatedBlockIdVarianceSampleDatetimeAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_DATETIME_ASC', - MultiSigProposalsByUpdatedBlockIdVarianceSampleDatetimeDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_DATETIME_DESC', - MultiSigProposalsByUpdatedBlockIdVarianceSampleEventIdxAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', - MultiSigProposalsByUpdatedBlockIdVarianceSampleEventIdxDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', - MultiSigProposalsByUpdatedBlockIdVarianceSampleExtrinsicIdxAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EXTRINSIC_IDX_ASC', - MultiSigProposalsByUpdatedBlockIdVarianceSampleExtrinsicIdxDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EXTRINSIC_IDX_DESC', - MultiSigProposalsByUpdatedBlockIdVarianceSampleIdAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - MultiSigProposalsByUpdatedBlockIdVarianceSampleIdDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - MultiSigProposalsByUpdatedBlockIdVarianceSampleMultisigIdAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_MULTISIG_ID_ASC', - MultiSigProposalsByUpdatedBlockIdVarianceSampleMultisigIdDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_MULTISIG_ID_DESC', - MultiSigProposalsByUpdatedBlockIdVarianceSampleProposalIdAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_PROPOSAL_ID_ASC', - MultiSigProposalsByUpdatedBlockIdVarianceSampleProposalIdDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_PROPOSAL_ID_DESC', - MultiSigProposalsByUpdatedBlockIdVarianceSampleRejectionCountAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_REJECTION_COUNT_ASC', - MultiSigProposalsByUpdatedBlockIdVarianceSampleRejectionCountDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_REJECTION_COUNT_DESC', - MultiSigProposalsByUpdatedBlockIdVarianceSampleStatusAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_STATUS_ASC', - MultiSigProposalsByUpdatedBlockIdVarianceSampleStatusDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_STATUS_DESC', - MultiSigProposalsByUpdatedBlockIdVarianceSampleUpdatedAtAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - MultiSigProposalsByUpdatedBlockIdVarianceSampleUpdatedAtDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - MultiSigProposalsByUpdatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - MultiSigProposalsByUpdatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'MULTI_SIG_PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - MultiSigProposalVotesByCreatedBlockIdAverageActionAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_AVERAGE_ACTION_ASC', - MultiSigProposalVotesByCreatedBlockIdAverageActionDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_AVERAGE_ACTION_DESC', - MultiSigProposalVotesByCreatedBlockIdAverageCreatedAtAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - MultiSigProposalVotesByCreatedBlockIdAverageCreatedAtDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - MultiSigProposalVotesByCreatedBlockIdAverageCreatedBlockIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - MultiSigProposalVotesByCreatedBlockIdAverageCreatedBlockIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - MultiSigProposalVotesByCreatedBlockIdAverageDatetimeAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_AVERAGE_DATETIME_ASC', - MultiSigProposalVotesByCreatedBlockIdAverageDatetimeDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_AVERAGE_DATETIME_DESC', - MultiSigProposalVotesByCreatedBlockIdAverageEventIdxAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_IDX_ASC', - MultiSigProposalVotesByCreatedBlockIdAverageEventIdxDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_IDX_DESC', - MultiSigProposalVotesByCreatedBlockIdAverageExtrinsicIdxAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_AVERAGE_EXTRINSIC_IDX_ASC', - MultiSigProposalVotesByCreatedBlockIdAverageExtrinsicIdxDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_AVERAGE_EXTRINSIC_IDX_DESC', - MultiSigProposalVotesByCreatedBlockIdAverageIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_AVERAGE_ID_ASC', - MultiSigProposalVotesByCreatedBlockIdAverageIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_AVERAGE_ID_DESC', - MultiSigProposalVotesByCreatedBlockIdAverageProposalIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_AVERAGE_PROPOSAL_ID_ASC', - MultiSigProposalVotesByCreatedBlockIdAverageProposalIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_AVERAGE_PROPOSAL_ID_DESC', - MultiSigProposalVotesByCreatedBlockIdAverageSignerIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_AVERAGE_SIGNER_ID_ASC', - MultiSigProposalVotesByCreatedBlockIdAverageSignerIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_AVERAGE_SIGNER_ID_DESC', - MultiSigProposalVotesByCreatedBlockIdAverageUpdatedAtAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - MultiSigProposalVotesByCreatedBlockIdAverageUpdatedAtDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - MultiSigProposalVotesByCreatedBlockIdAverageUpdatedBlockIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - MultiSigProposalVotesByCreatedBlockIdAverageUpdatedBlockIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - MultiSigProposalVotesByCreatedBlockIdCountAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_COUNT_ASC', - MultiSigProposalVotesByCreatedBlockIdCountDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_COUNT_DESC', - MultiSigProposalVotesByCreatedBlockIdDistinctCountActionAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ACTION_ASC', - MultiSigProposalVotesByCreatedBlockIdDistinctCountActionDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ACTION_DESC', - MultiSigProposalVotesByCreatedBlockIdDistinctCountCreatedAtAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - MultiSigProposalVotesByCreatedBlockIdDistinctCountCreatedAtDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - MultiSigProposalVotesByCreatedBlockIdDistinctCountCreatedBlockIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - MultiSigProposalVotesByCreatedBlockIdDistinctCountCreatedBlockIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - MultiSigProposalVotesByCreatedBlockIdDistinctCountDatetimeAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_ASC', - MultiSigProposalVotesByCreatedBlockIdDistinctCountDatetimeDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_DESC', - MultiSigProposalVotesByCreatedBlockIdDistinctCountEventIdxAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_ASC', - MultiSigProposalVotesByCreatedBlockIdDistinctCountEventIdxDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_DESC', - MultiSigProposalVotesByCreatedBlockIdDistinctCountExtrinsicIdxAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EXTRINSIC_IDX_ASC', - MultiSigProposalVotesByCreatedBlockIdDistinctCountExtrinsicIdxDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EXTRINSIC_IDX_DESC', - MultiSigProposalVotesByCreatedBlockIdDistinctCountIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - MultiSigProposalVotesByCreatedBlockIdDistinctCountIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - MultiSigProposalVotesByCreatedBlockIdDistinctCountProposalIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_PROPOSAL_ID_ASC', - MultiSigProposalVotesByCreatedBlockIdDistinctCountProposalIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_PROPOSAL_ID_DESC', - MultiSigProposalVotesByCreatedBlockIdDistinctCountSignerIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_SIGNER_ID_ASC', - MultiSigProposalVotesByCreatedBlockIdDistinctCountSignerIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_SIGNER_ID_DESC', - MultiSigProposalVotesByCreatedBlockIdDistinctCountUpdatedAtAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - MultiSigProposalVotesByCreatedBlockIdDistinctCountUpdatedAtDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - MultiSigProposalVotesByCreatedBlockIdDistinctCountUpdatedBlockIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - MultiSigProposalVotesByCreatedBlockIdDistinctCountUpdatedBlockIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - MultiSigProposalVotesByCreatedBlockIdMaxActionAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MAX_ACTION_ASC', - MultiSigProposalVotesByCreatedBlockIdMaxActionDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MAX_ACTION_DESC', - MultiSigProposalVotesByCreatedBlockIdMaxCreatedAtAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_ASC', - MultiSigProposalVotesByCreatedBlockIdMaxCreatedAtDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_DESC', - MultiSigProposalVotesByCreatedBlockIdMaxCreatedBlockIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - MultiSigProposalVotesByCreatedBlockIdMaxCreatedBlockIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - MultiSigProposalVotesByCreatedBlockIdMaxDatetimeAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MAX_DATETIME_ASC', - MultiSigProposalVotesByCreatedBlockIdMaxDatetimeDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MAX_DATETIME_DESC', - MultiSigProposalVotesByCreatedBlockIdMaxEventIdxAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MAX_EVENT_IDX_ASC', - MultiSigProposalVotesByCreatedBlockIdMaxEventIdxDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MAX_EVENT_IDX_DESC', - MultiSigProposalVotesByCreatedBlockIdMaxExtrinsicIdxAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MAX_EXTRINSIC_IDX_ASC', - MultiSigProposalVotesByCreatedBlockIdMaxExtrinsicIdxDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MAX_EXTRINSIC_IDX_DESC', - MultiSigProposalVotesByCreatedBlockIdMaxIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MAX_ID_ASC', - MultiSigProposalVotesByCreatedBlockIdMaxIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MAX_ID_DESC', - MultiSigProposalVotesByCreatedBlockIdMaxProposalIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MAX_PROPOSAL_ID_ASC', - MultiSigProposalVotesByCreatedBlockIdMaxProposalIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MAX_PROPOSAL_ID_DESC', - MultiSigProposalVotesByCreatedBlockIdMaxSignerIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MAX_SIGNER_ID_ASC', - MultiSigProposalVotesByCreatedBlockIdMaxSignerIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MAX_SIGNER_ID_DESC', - MultiSigProposalVotesByCreatedBlockIdMaxUpdatedAtAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - MultiSigProposalVotesByCreatedBlockIdMaxUpdatedAtDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - MultiSigProposalVotesByCreatedBlockIdMaxUpdatedBlockIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - MultiSigProposalVotesByCreatedBlockIdMaxUpdatedBlockIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - MultiSigProposalVotesByCreatedBlockIdMinActionAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MIN_ACTION_ASC', - MultiSigProposalVotesByCreatedBlockIdMinActionDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MIN_ACTION_DESC', - MultiSigProposalVotesByCreatedBlockIdMinCreatedAtAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_ASC', - MultiSigProposalVotesByCreatedBlockIdMinCreatedAtDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_DESC', - MultiSigProposalVotesByCreatedBlockIdMinCreatedBlockIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - MultiSigProposalVotesByCreatedBlockIdMinCreatedBlockIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - MultiSigProposalVotesByCreatedBlockIdMinDatetimeAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MIN_DATETIME_ASC', - MultiSigProposalVotesByCreatedBlockIdMinDatetimeDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MIN_DATETIME_DESC', - MultiSigProposalVotesByCreatedBlockIdMinEventIdxAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MIN_EVENT_IDX_ASC', - MultiSigProposalVotesByCreatedBlockIdMinEventIdxDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MIN_EVENT_IDX_DESC', - MultiSigProposalVotesByCreatedBlockIdMinExtrinsicIdxAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MIN_EXTRINSIC_IDX_ASC', - MultiSigProposalVotesByCreatedBlockIdMinExtrinsicIdxDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MIN_EXTRINSIC_IDX_DESC', - MultiSigProposalVotesByCreatedBlockIdMinIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MIN_ID_ASC', - MultiSigProposalVotesByCreatedBlockIdMinIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MIN_ID_DESC', - MultiSigProposalVotesByCreatedBlockIdMinProposalIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MIN_PROPOSAL_ID_ASC', - MultiSigProposalVotesByCreatedBlockIdMinProposalIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MIN_PROPOSAL_ID_DESC', - MultiSigProposalVotesByCreatedBlockIdMinSignerIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MIN_SIGNER_ID_ASC', - MultiSigProposalVotesByCreatedBlockIdMinSignerIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MIN_SIGNER_ID_DESC', - MultiSigProposalVotesByCreatedBlockIdMinUpdatedAtAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - MultiSigProposalVotesByCreatedBlockIdMinUpdatedAtDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - MultiSigProposalVotesByCreatedBlockIdMinUpdatedBlockIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - MultiSigProposalVotesByCreatedBlockIdMinUpdatedBlockIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - MultiSigProposalVotesByCreatedBlockIdStddevPopulationActionAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ACTION_ASC', - MultiSigProposalVotesByCreatedBlockIdStddevPopulationActionDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ACTION_DESC', - MultiSigProposalVotesByCreatedBlockIdStddevPopulationCreatedAtAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - MultiSigProposalVotesByCreatedBlockIdStddevPopulationCreatedAtDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - MultiSigProposalVotesByCreatedBlockIdStddevPopulationCreatedBlockIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - MultiSigProposalVotesByCreatedBlockIdStddevPopulationCreatedBlockIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - MultiSigProposalVotesByCreatedBlockIdStddevPopulationDatetimeAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_DATETIME_ASC', - MultiSigProposalVotesByCreatedBlockIdStddevPopulationDatetimeDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_DATETIME_DESC', - MultiSigProposalVotesByCreatedBlockIdStddevPopulationEventIdxAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_ASC', - MultiSigProposalVotesByCreatedBlockIdStddevPopulationEventIdxDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_DESC', - MultiSigProposalVotesByCreatedBlockIdStddevPopulationExtrinsicIdxAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EXTRINSIC_IDX_ASC', - MultiSigProposalVotesByCreatedBlockIdStddevPopulationExtrinsicIdxDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EXTRINSIC_IDX_DESC', - MultiSigProposalVotesByCreatedBlockIdStddevPopulationIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - MultiSigProposalVotesByCreatedBlockIdStddevPopulationIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - MultiSigProposalVotesByCreatedBlockIdStddevPopulationProposalIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_PROPOSAL_ID_ASC', - MultiSigProposalVotesByCreatedBlockIdStddevPopulationProposalIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_PROPOSAL_ID_DESC', - MultiSigProposalVotesByCreatedBlockIdStddevPopulationSignerIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_SIGNER_ID_ASC', - MultiSigProposalVotesByCreatedBlockIdStddevPopulationSignerIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_SIGNER_ID_DESC', - MultiSigProposalVotesByCreatedBlockIdStddevPopulationUpdatedAtAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - MultiSigProposalVotesByCreatedBlockIdStddevPopulationUpdatedAtDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - MultiSigProposalVotesByCreatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - MultiSigProposalVotesByCreatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - MultiSigProposalVotesByCreatedBlockIdStddevSampleActionAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ACTION_ASC', - MultiSigProposalVotesByCreatedBlockIdStddevSampleActionDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ACTION_DESC', - MultiSigProposalVotesByCreatedBlockIdStddevSampleCreatedAtAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - MultiSigProposalVotesByCreatedBlockIdStddevSampleCreatedAtDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - MultiSigProposalVotesByCreatedBlockIdStddevSampleCreatedBlockIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - MultiSigProposalVotesByCreatedBlockIdStddevSampleCreatedBlockIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - MultiSigProposalVotesByCreatedBlockIdStddevSampleDatetimeAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_DATETIME_ASC', - MultiSigProposalVotesByCreatedBlockIdStddevSampleDatetimeDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_DATETIME_DESC', - MultiSigProposalVotesByCreatedBlockIdStddevSampleEventIdxAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', - MultiSigProposalVotesByCreatedBlockIdStddevSampleEventIdxDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', - MultiSigProposalVotesByCreatedBlockIdStddevSampleExtrinsicIdxAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EXTRINSIC_IDX_ASC', - MultiSigProposalVotesByCreatedBlockIdStddevSampleExtrinsicIdxDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EXTRINSIC_IDX_DESC', - MultiSigProposalVotesByCreatedBlockIdStddevSampleIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - MultiSigProposalVotesByCreatedBlockIdStddevSampleIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - MultiSigProposalVotesByCreatedBlockIdStddevSampleProposalIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_PROPOSAL_ID_ASC', - MultiSigProposalVotesByCreatedBlockIdStddevSampleProposalIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_PROPOSAL_ID_DESC', - MultiSigProposalVotesByCreatedBlockIdStddevSampleSignerIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_SIGNER_ID_ASC', - MultiSigProposalVotesByCreatedBlockIdStddevSampleSignerIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_SIGNER_ID_DESC', - MultiSigProposalVotesByCreatedBlockIdStddevSampleUpdatedAtAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - MultiSigProposalVotesByCreatedBlockIdStddevSampleUpdatedAtDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - MultiSigProposalVotesByCreatedBlockIdStddevSampleUpdatedBlockIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - MultiSigProposalVotesByCreatedBlockIdStddevSampleUpdatedBlockIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - MultiSigProposalVotesByCreatedBlockIdSumActionAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_SUM_ACTION_ASC', - MultiSigProposalVotesByCreatedBlockIdSumActionDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_SUM_ACTION_DESC', - MultiSigProposalVotesByCreatedBlockIdSumCreatedAtAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_ASC', - MultiSigProposalVotesByCreatedBlockIdSumCreatedAtDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_DESC', - MultiSigProposalVotesByCreatedBlockIdSumCreatedBlockIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - MultiSigProposalVotesByCreatedBlockIdSumCreatedBlockIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - MultiSigProposalVotesByCreatedBlockIdSumDatetimeAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_SUM_DATETIME_ASC', - MultiSigProposalVotesByCreatedBlockIdSumDatetimeDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_SUM_DATETIME_DESC', - MultiSigProposalVotesByCreatedBlockIdSumEventIdxAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_SUM_EVENT_IDX_ASC', - MultiSigProposalVotesByCreatedBlockIdSumEventIdxDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_SUM_EVENT_IDX_DESC', - MultiSigProposalVotesByCreatedBlockIdSumExtrinsicIdxAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_SUM_EXTRINSIC_IDX_ASC', - MultiSigProposalVotesByCreatedBlockIdSumExtrinsicIdxDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_SUM_EXTRINSIC_IDX_DESC', - MultiSigProposalVotesByCreatedBlockIdSumIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_SUM_ID_ASC', - MultiSigProposalVotesByCreatedBlockIdSumIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_SUM_ID_DESC', - MultiSigProposalVotesByCreatedBlockIdSumProposalIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_SUM_PROPOSAL_ID_ASC', - MultiSigProposalVotesByCreatedBlockIdSumProposalIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_SUM_PROPOSAL_ID_DESC', - MultiSigProposalVotesByCreatedBlockIdSumSignerIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_SUM_SIGNER_ID_ASC', - MultiSigProposalVotesByCreatedBlockIdSumSignerIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_SUM_SIGNER_ID_DESC', - MultiSigProposalVotesByCreatedBlockIdSumUpdatedAtAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - MultiSigProposalVotesByCreatedBlockIdSumUpdatedAtDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - MultiSigProposalVotesByCreatedBlockIdSumUpdatedBlockIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - MultiSigProposalVotesByCreatedBlockIdSumUpdatedBlockIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - MultiSigProposalVotesByCreatedBlockIdVariancePopulationActionAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ACTION_ASC', - MultiSigProposalVotesByCreatedBlockIdVariancePopulationActionDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ACTION_DESC', - MultiSigProposalVotesByCreatedBlockIdVariancePopulationCreatedAtAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - MultiSigProposalVotesByCreatedBlockIdVariancePopulationCreatedAtDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - MultiSigProposalVotesByCreatedBlockIdVariancePopulationCreatedBlockIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - MultiSigProposalVotesByCreatedBlockIdVariancePopulationCreatedBlockIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - MultiSigProposalVotesByCreatedBlockIdVariancePopulationDatetimeAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_DATETIME_ASC', - MultiSigProposalVotesByCreatedBlockIdVariancePopulationDatetimeDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_DATETIME_DESC', - MultiSigProposalVotesByCreatedBlockIdVariancePopulationEventIdxAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', - MultiSigProposalVotesByCreatedBlockIdVariancePopulationEventIdxDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', - MultiSigProposalVotesByCreatedBlockIdVariancePopulationExtrinsicIdxAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EXTRINSIC_IDX_ASC', - MultiSigProposalVotesByCreatedBlockIdVariancePopulationExtrinsicIdxDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EXTRINSIC_IDX_DESC', - MultiSigProposalVotesByCreatedBlockIdVariancePopulationIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - MultiSigProposalVotesByCreatedBlockIdVariancePopulationIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - MultiSigProposalVotesByCreatedBlockIdVariancePopulationProposalIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_PROPOSAL_ID_ASC', - MultiSigProposalVotesByCreatedBlockIdVariancePopulationProposalIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_PROPOSAL_ID_DESC', - MultiSigProposalVotesByCreatedBlockIdVariancePopulationSignerIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_SIGNER_ID_ASC', - MultiSigProposalVotesByCreatedBlockIdVariancePopulationSignerIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_SIGNER_ID_DESC', - MultiSigProposalVotesByCreatedBlockIdVariancePopulationUpdatedAtAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - MultiSigProposalVotesByCreatedBlockIdVariancePopulationUpdatedAtDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - MultiSigProposalVotesByCreatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - MultiSigProposalVotesByCreatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - MultiSigProposalVotesByCreatedBlockIdVarianceSampleActionAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ACTION_ASC', - MultiSigProposalVotesByCreatedBlockIdVarianceSampleActionDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ACTION_DESC', - MultiSigProposalVotesByCreatedBlockIdVarianceSampleCreatedAtAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - MultiSigProposalVotesByCreatedBlockIdVarianceSampleCreatedAtDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - MultiSigProposalVotesByCreatedBlockIdVarianceSampleCreatedBlockIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - MultiSigProposalVotesByCreatedBlockIdVarianceSampleCreatedBlockIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - MultiSigProposalVotesByCreatedBlockIdVarianceSampleDatetimeAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_DATETIME_ASC', - MultiSigProposalVotesByCreatedBlockIdVarianceSampleDatetimeDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_DATETIME_DESC', - MultiSigProposalVotesByCreatedBlockIdVarianceSampleEventIdxAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', - MultiSigProposalVotesByCreatedBlockIdVarianceSampleEventIdxDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', - MultiSigProposalVotesByCreatedBlockIdVarianceSampleExtrinsicIdxAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EXTRINSIC_IDX_ASC', - MultiSigProposalVotesByCreatedBlockIdVarianceSampleExtrinsicIdxDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EXTRINSIC_IDX_DESC', - MultiSigProposalVotesByCreatedBlockIdVarianceSampleIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - MultiSigProposalVotesByCreatedBlockIdVarianceSampleIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - MultiSigProposalVotesByCreatedBlockIdVarianceSampleProposalIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_PROPOSAL_ID_ASC', - MultiSigProposalVotesByCreatedBlockIdVarianceSampleProposalIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_PROPOSAL_ID_DESC', - MultiSigProposalVotesByCreatedBlockIdVarianceSampleSignerIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_SIGNER_ID_ASC', - MultiSigProposalVotesByCreatedBlockIdVarianceSampleSignerIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_SIGNER_ID_DESC', - MultiSigProposalVotesByCreatedBlockIdVarianceSampleUpdatedAtAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - MultiSigProposalVotesByCreatedBlockIdVarianceSampleUpdatedAtDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - MultiSigProposalVotesByCreatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - MultiSigProposalVotesByCreatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - MultiSigProposalVotesByUpdatedBlockIdAverageActionAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_AVERAGE_ACTION_ASC', - MultiSigProposalVotesByUpdatedBlockIdAverageActionDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_AVERAGE_ACTION_DESC', - MultiSigProposalVotesByUpdatedBlockIdAverageCreatedAtAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - MultiSigProposalVotesByUpdatedBlockIdAverageCreatedAtDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - MultiSigProposalVotesByUpdatedBlockIdAverageCreatedBlockIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - MultiSigProposalVotesByUpdatedBlockIdAverageCreatedBlockIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - MultiSigProposalVotesByUpdatedBlockIdAverageDatetimeAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_AVERAGE_DATETIME_ASC', - MultiSigProposalVotesByUpdatedBlockIdAverageDatetimeDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_AVERAGE_DATETIME_DESC', - MultiSigProposalVotesByUpdatedBlockIdAverageEventIdxAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_IDX_ASC', - MultiSigProposalVotesByUpdatedBlockIdAverageEventIdxDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_IDX_DESC', - MultiSigProposalVotesByUpdatedBlockIdAverageExtrinsicIdxAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_AVERAGE_EXTRINSIC_IDX_ASC', - MultiSigProposalVotesByUpdatedBlockIdAverageExtrinsicIdxDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_AVERAGE_EXTRINSIC_IDX_DESC', - MultiSigProposalVotesByUpdatedBlockIdAverageIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_AVERAGE_ID_ASC', - MultiSigProposalVotesByUpdatedBlockIdAverageIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_AVERAGE_ID_DESC', - MultiSigProposalVotesByUpdatedBlockIdAverageProposalIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_AVERAGE_PROPOSAL_ID_ASC', - MultiSigProposalVotesByUpdatedBlockIdAverageProposalIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_AVERAGE_PROPOSAL_ID_DESC', - MultiSigProposalVotesByUpdatedBlockIdAverageSignerIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_AVERAGE_SIGNER_ID_ASC', - MultiSigProposalVotesByUpdatedBlockIdAverageSignerIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_AVERAGE_SIGNER_ID_DESC', - MultiSigProposalVotesByUpdatedBlockIdAverageUpdatedAtAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - MultiSigProposalVotesByUpdatedBlockIdAverageUpdatedAtDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - MultiSigProposalVotesByUpdatedBlockIdAverageUpdatedBlockIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - MultiSigProposalVotesByUpdatedBlockIdAverageUpdatedBlockIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - MultiSigProposalVotesByUpdatedBlockIdCountAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_COUNT_ASC', - MultiSigProposalVotesByUpdatedBlockIdCountDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_COUNT_DESC', - MultiSigProposalVotesByUpdatedBlockIdDistinctCountActionAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ACTION_ASC', - MultiSigProposalVotesByUpdatedBlockIdDistinctCountActionDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ACTION_DESC', - MultiSigProposalVotesByUpdatedBlockIdDistinctCountCreatedAtAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - MultiSigProposalVotesByUpdatedBlockIdDistinctCountCreatedAtDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - MultiSigProposalVotesByUpdatedBlockIdDistinctCountCreatedBlockIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - MultiSigProposalVotesByUpdatedBlockIdDistinctCountCreatedBlockIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - MultiSigProposalVotesByUpdatedBlockIdDistinctCountDatetimeAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_ASC', - MultiSigProposalVotesByUpdatedBlockIdDistinctCountDatetimeDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_DESC', - MultiSigProposalVotesByUpdatedBlockIdDistinctCountEventIdxAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_ASC', - MultiSigProposalVotesByUpdatedBlockIdDistinctCountEventIdxDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_DESC', - MultiSigProposalVotesByUpdatedBlockIdDistinctCountExtrinsicIdxAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EXTRINSIC_IDX_ASC', - MultiSigProposalVotesByUpdatedBlockIdDistinctCountExtrinsicIdxDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EXTRINSIC_IDX_DESC', - MultiSigProposalVotesByUpdatedBlockIdDistinctCountIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - MultiSigProposalVotesByUpdatedBlockIdDistinctCountIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - MultiSigProposalVotesByUpdatedBlockIdDistinctCountProposalIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_PROPOSAL_ID_ASC', - MultiSigProposalVotesByUpdatedBlockIdDistinctCountProposalIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_PROPOSAL_ID_DESC', - MultiSigProposalVotesByUpdatedBlockIdDistinctCountSignerIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_SIGNER_ID_ASC', - MultiSigProposalVotesByUpdatedBlockIdDistinctCountSignerIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_SIGNER_ID_DESC', - MultiSigProposalVotesByUpdatedBlockIdDistinctCountUpdatedAtAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - MultiSigProposalVotesByUpdatedBlockIdDistinctCountUpdatedAtDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - MultiSigProposalVotesByUpdatedBlockIdDistinctCountUpdatedBlockIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - MultiSigProposalVotesByUpdatedBlockIdDistinctCountUpdatedBlockIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - MultiSigProposalVotesByUpdatedBlockIdMaxActionAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MAX_ACTION_ASC', - MultiSigProposalVotesByUpdatedBlockIdMaxActionDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MAX_ACTION_DESC', - MultiSigProposalVotesByUpdatedBlockIdMaxCreatedAtAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_ASC', - MultiSigProposalVotesByUpdatedBlockIdMaxCreatedAtDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_DESC', - MultiSigProposalVotesByUpdatedBlockIdMaxCreatedBlockIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - MultiSigProposalVotesByUpdatedBlockIdMaxCreatedBlockIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - MultiSigProposalVotesByUpdatedBlockIdMaxDatetimeAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MAX_DATETIME_ASC', - MultiSigProposalVotesByUpdatedBlockIdMaxDatetimeDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MAX_DATETIME_DESC', - MultiSigProposalVotesByUpdatedBlockIdMaxEventIdxAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MAX_EVENT_IDX_ASC', - MultiSigProposalVotesByUpdatedBlockIdMaxEventIdxDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MAX_EVENT_IDX_DESC', - MultiSigProposalVotesByUpdatedBlockIdMaxExtrinsicIdxAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MAX_EXTRINSIC_IDX_ASC', - MultiSigProposalVotesByUpdatedBlockIdMaxExtrinsicIdxDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MAX_EXTRINSIC_IDX_DESC', - MultiSigProposalVotesByUpdatedBlockIdMaxIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MAX_ID_ASC', - MultiSigProposalVotesByUpdatedBlockIdMaxIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MAX_ID_DESC', - MultiSigProposalVotesByUpdatedBlockIdMaxProposalIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MAX_PROPOSAL_ID_ASC', - MultiSigProposalVotesByUpdatedBlockIdMaxProposalIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MAX_PROPOSAL_ID_DESC', - MultiSigProposalVotesByUpdatedBlockIdMaxSignerIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MAX_SIGNER_ID_ASC', - MultiSigProposalVotesByUpdatedBlockIdMaxSignerIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MAX_SIGNER_ID_DESC', - MultiSigProposalVotesByUpdatedBlockIdMaxUpdatedAtAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - MultiSigProposalVotesByUpdatedBlockIdMaxUpdatedAtDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - MultiSigProposalVotesByUpdatedBlockIdMaxUpdatedBlockIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - MultiSigProposalVotesByUpdatedBlockIdMaxUpdatedBlockIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - MultiSigProposalVotesByUpdatedBlockIdMinActionAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MIN_ACTION_ASC', - MultiSigProposalVotesByUpdatedBlockIdMinActionDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MIN_ACTION_DESC', - MultiSigProposalVotesByUpdatedBlockIdMinCreatedAtAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_ASC', - MultiSigProposalVotesByUpdatedBlockIdMinCreatedAtDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_DESC', - MultiSigProposalVotesByUpdatedBlockIdMinCreatedBlockIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - MultiSigProposalVotesByUpdatedBlockIdMinCreatedBlockIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - MultiSigProposalVotesByUpdatedBlockIdMinDatetimeAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MIN_DATETIME_ASC', - MultiSigProposalVotesByUpdatedBlockIdMinDatetimeDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MIN_DATETIME_DESC', - MultiSigProposalVotesByUpdatedBlockIdMinEventIdxAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MIN_EVENT_IDX_ASC', - MultiSigProposalVotesByUpdatedBlockIdMinEventIdxDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MIN_EVENT_IDX_DESC', - MultiSigProposalVotesByUpdatedBlockIdMinExtrinsicIdxAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MIN_EXTRINSIC_IDX_ASC', - MultiSigProposalVotesByUpdatedBlockIdMinExtrinsicIdxDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MIN_EXTRINSIC_IDX_DESC', - MultiSigProposalVotesByUpdatedBlockIdMinIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MIN_ID_ASC', - MultiSigProposalVotesByUpdatedBlockIdMinIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MIN_ID_DESC', - MultiSigProposalVotesByUpdatedBlockIdMinProposalIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MIN_PROPOSAL_ID_ASC', - MultiSigProposalVotesByUpdatedBlockIdMinProposalIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MIN_PROPOSAL_ID_DESC', - MultiSigProposalVotesByUpdatedBlockIdMinSignerIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MIN_SIGNER_ID_ASC', - MultiSigProposalVotesByUpdatedBlockIdMinSignerIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MIN_SIGNER_ID_DESC', - MultiSigProposalVotesByUpdatedBlockIdMinUpdatedAtAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - MultiSigProposalVotesByUpdatedBlockIdMinUpdatedAtDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - MultiSigProposalVotesByUpdatedBlockIdMinUpdatedBlockIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - MultiSigProposalVotesByUpdatedBlockIdMinUpdatedBlockIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - MultiSigProposalVotesByUpdatedBlockIdStddevPopulationActionAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ACTION_ASC', - MultiSigProposalVotesByUpdatedBlockIdStddevPopulationActionDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ACTION_DESC', - MultiSigProposalVotesByUpdatedBlockIdStddevPopulationCreatedAtAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - MultiSigProposalVotesByUpdatedBlockIdStddevPopulationCreatedAtDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - MultiSigProposalVotesByUpdatedBlockIdStddevPopulationCreatedBlockIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - MultiSigProposalVotesByUpdatedBlockIdStddevPopulationCreatedBlockIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - MultiSigProposalVotesByUpdatedBlockIdStddevPopulationDatetimeAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_DATETIME_ASC', - MultiSigProposalVotesByUpdatedBlockIdStddevPopulationDatetimeDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_DATETIME_DESC', - MultiSigProposalVotesByUpdatedBlockIdStddevPopulationEventIdxAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_ASC', - MultiSigProposalVotesByUpdatedBlockIdStddevPopulationEventIdxDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_DESC', - MultiSigProposalVotesByUpdatedBlockIdStddevPopulationExtrinsicIdxAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EXTRINSIC_IDX_ASC', - MultiSigProposalVotesByUpdatedBlockIdStddevPopulationExtrinsicIdxDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EXTRINSIC_IDX_DESC', - MultiSigProposalVotesByUpdatedBlockIdStddevPopulationIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - MultiSigProposalVotesByUpdatedBlockIdStddevPopulationIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - MultiSigProposalVotesByUpdatedBlockIdStddevPopulationProposalIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_PROPOSAL_ID_ASC', - MultiSigProposalVotesByUpdatedBlockIdStddevPopulationProposalIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_PROPOSAL_ID_DESC', - MultiSigProposalVotesByUpdatedBlockIdStddevPopulationSignerIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_SIGNER_ID_ASC', - MultiSigProposalVotesByUpdatedBlockIdStddevPopulationSignerIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_SIGNER_ID_DESC', - MultiSigProposalVotesByUpdatedBlockIdStddevPopulationUpdatedAtAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - MultiSigProposalVotesByUpdatedBlockIdStddevPopulationUpdatedAtDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - MultiSigProposalVotesByUpdatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - MultiSigProposalVotesByUpdatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - MultiSigProposalVotesByUpdatedBlockIdStddevSampleActionAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ACTION_ASC', - MultiSigProposalVotesByUpdatedBlockIdStddevSampleActionDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ACTION_DESC', - MultiSigProposalVotesByUpdatedBlockIdStddevSampleCreatedAtAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - MultiSigProposalVotesByUpdatedBlockIdStddevSampleCreatedAtDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - MultiSigProposalVotesByUpdatedBlockIdStddevSampleCreatedBlockIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - MultiSigProposalVotesByUpdatedBlockIdStddevSampleCreatedBlockIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - MultiSigProposalVotesByUpdatedBlockIdStddevSampleDatetimeAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_DATETIME_ASC', - MultiSigProposalVotesByUpdatedBlockIdStddevSampleDatetimeDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_DATETIME_DESC', - MultiSigProposalVotesByUpdatedBlockIdStddevSampleEventIdxAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', - MultiSigProposalVotesByUpdatedBlockIdStddevSampleEventIdxDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', - MultiSigProposalVotesByUpdatedBlockIdStddevSampleExtrinsicIdxAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EXTRINSIC_IDX_ASC', - MultiSigProposalVotesByUpdatedBlockIdStddevSampleExtrinsicIdxDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EXTRINSIC_IDX_DESC', - MultiSigProposalVotesByUpdatedBlockIdStddevSampleIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - MultiSigProposalVotesByUpdatedBlockIdStddevSampleIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - MultiSigProposalVotesByUpdatedBlockIdStddevSampleProposalIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_PROPOSAL_ID_ASC', - MultiSigProposalVotesByUpdatedBlockIdStddevSampleProposalIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_PROPOSAL_ID_DESC', - MultiSigProposalVotesByUpdatedBlockIdStddevSampleSignerIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_SIGNER_ID_ASC', - MultiSigProposalVotesByUpdatedBlockIdStddevSampleSignerIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_SIGNER_ID_DESC', - MultiSigProposalVotesByUpdatedBlockIdStddevSampleUpdatedAtAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - MultiSigProposalVotesByUpdatedBlockIdStddevSampleUpdatedAtDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - MultiSigProposalVotesByUpdatedBlockIdStddevSampleUpdatedBlockIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - MultiSigProposalVotesByUpdatedBlockIdStddevSampleUpdatedBlockIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - MultiSigProposalVotesByUpdatedBlockIdSumActionAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_SUM_ACTION_ASC', - MultiSigProposalVotesByUpdatedBlockIdSumActionDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_SUM_ACTION_DESC', - MultiSigProposalVotesByUpdatedBlockIdSumCreatedAtAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_ASC', - MultiSigProposalVotesByUpdatedBlockIdSumCreatedAtDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_DESC', - MultiSigProposalVotesByUpdatedBlockIdSumCreatedBlockIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - MultiSigProposalVotesByUpdatedBlockIdSumCreatedBlockIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - MultiSigProposalVotesByUpdatedBlockIdSumDatetimeAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_SUM_DATETIME_ASC', - MultiSigProposalVotesByUpdatedBlockIdSumDatetimeDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_SUM_DATETIME_DESC', - MultiSigProposalVotesByUpdatedBlockIdSumEventIdxAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_SUM_EVENT_IDX_ASC', - MultiSigProposalVotesByUpdatedBlockIdSumEventIdxDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_SUM_EVENT_IDX_DESC', - MultiSigProposalVotesByUpdatedBlockIdSumExtrinsicIdxAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_SUM_EXTRINSIC_IDX_ASC', - MultiSigProposalVotesByUpdatedBlockIdSumExtrinsicIdxDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_SUM_EXTRINSIC_IDX_DESC', - MultiSigProposalVotesByUpdatedBlockIdSumIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_SUM_ID_ASC', - MultiSigProposalVotesByUpdatedBlockIdSumIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_SUM_ID_DESC', - MultiSigProposalVotesByUpdatedBlockIdSumProposalIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_SUM_PROPOSAL_ID_ASC', - MultiSigProposalVotesByUpdatedBlockIdSumProposalIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_SUM_PROPOSAL_ID_DESC', - MultiSigProposalVotesByUpdatedBlockIdSumSignerIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_SUM_SIGNER_ID_ASC', - MultiSigProposalVotesByUpdatedBlockIdSumSignerIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_SUM_SIGNER_ID_DESC', - MultiSigProposalVotesByUpdatedBlockIdSumUpdatedAtAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - MultiSigProposalVotesByUpdatedBlockIdSumUpdatedAtDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - MultiSigProposalVotesByUpdatedBlockIdSumUpdatedBlockIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - MultiSigProposalVotesByUpdatedBlockIdSumUpdatedBlockIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - MultiSigProposalVotesByUpdatedBlockIdVariancePopulationActionAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ACTION_ASC', - MultiSigProposalVotesByUpdatedBlockIdVariancePopulationActionDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ACTION_DESC', - MultiSigProposalVotesByUpdatedBlockIdVariancePopulationCreatedAtAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - MultiSigProposalVotesByUpdatedBlockIdVariancePopulationCreatedAtDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - MultiSigProposalVotesByUpdatedBlockIdVariancePopulationCreatedBlockIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - MultiSigProposalVotesByUpdatedBlockIdVariancePopulationCreatedBlockIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - MultiSigProposalVotesByUpdatedBlockIdVariancePopulationDatetimeAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_DATETIME_ASC', - MultiSigProposalVotesByUpdatedBlockIdVariancePopulationDatetimeDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_DATETIME_DESC', - MultiSigProposalVotesByUpdatedBlockIdVariancePopulationEventIdxAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', - MultiSigProposalVotesByUpdatedBlockIdVariancePopulationEventIdxDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', - MultiSigProposalVotesByUpdatedBlockIdVariancePopulationExtrinsicIdxAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EXTRINSIC_IDX_ASC', - MultiSigProposalVotesByUpdatedBlockIdVariancePopulationExtrinsicIdxDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EXTRINSIC_IDX_DESC', - MultiSigProposalVotesByUpdatedBlockIdVariancePopulationIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - MultiSigProposalVotesByUpdatedBlockIdVariancePopulationIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - MultiSigProposalVotesByUpdatedBlockIdVariancePopulationProposalIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_PROPOSAL_ID_ASC', - MultiSigProposalVotesByUpdatedBlockIdVariancePopulationProposalIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_PROPOSAL_ID_DESC', - MultiSigProposalVotesByUpdatedBlockIdVariancePopulationSignerIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_SIGNER_ID_ASC', - MultiSigProposalVotesByUpdatedBlockIdVariancePopulationSignerIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_SIGNER_ID_DESC', - MultiSigProposalVotesByUpdatedBlockIdVariancePopulationUpdatedAtAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - MultiSigProposalVotesByUpdatedBlockIdVariancePopulationUpdatedAtDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - MultiSigProposalVotesByUpdatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - MultiSigProposalVotesByUpdatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - MultiSigProposalVotesByUpdatedBlockIdVarianceSampleActionAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ACTION_ASC', - MultiSigProposalVotesByUpdatedBlockIdVarianceSampleActionDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ACTION_DESC', - MultiSigProposalVotesByUpdatedBlockIdVarianceSampleCreatedAtAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - MultiSigProposalVotesByUpdatedBlockIdVarianceSampleCreatedAtDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - MultiSigProposalVotesByUpdatedBlockIdVarianceSampleCreatedBlockIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - MultiSigProposalVotesByUpdatedBlockIdVarianceSampleCreatedBlockIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - MultiSigProposalVotesByUpdatedBlockIdVarianceSampleDatetimeAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_DATETIME_ASC', - MultiSigProposalVotesByUpdatedBlockIdVarianceSampleDatetimeDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_DATETIME_DESC', - MultiSigProposalVotesByUpdatedBlockIdVarianceSampleEventIdxAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', - MultiSigProposalVotesByUpdatedBlockIdVarianceSampleEventIdxDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', - MultiSigProposalVotesByUpdatedBlockIdVarianceSampleExtrinsicIdxAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EXTRINSIC_IDX_ASC', - MultiSigProposalVotesByUpdatedBlockIdVarianceSampleExtrinsicIdxDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EXTRINSIC_IDX_DESC', - MultiSigProposalVotesByUpdatedBlockIdVarianceSampleIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - MultiSigProposalVotesByUpdatedBlockIdVarianceSampleIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - MultiSigProposalVotesByUpdatedBlockIdVarianceSampleProposalIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_PROPOSAL_ID_ASC', - MultiSigProposalVotesByUpdatedBlockIdVarianceSampleProposalIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_PROPOSAL_ID_DESC', - MultiSigProposalVotesByUpdatedBlockIdVarianceSampleSignerIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_SIGNER_ID_ASC', - MultiSigProposalVotesByUpdatedBlockIdVarianceSampleSignerIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_SIGNER_ID_DESC', - MultiSigProposalVotesByUpdatedBlockIdVarianceSampleUpdatedAtAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - MultiSigProposalVotesByUpdatedBlockIdVarianceSampleUpdatedAtDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - MultiSigProposalVotesByUpdatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - MultiSigProposalVotesByUpdatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'MULTI_SIG_PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - MultiSigSignersByCreatedBlockIdAverageCreatedAtAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - MultiSigSignersByCreatedBlockIdAverageCreatedAtDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - MultiSigSignersByCreatedBlockIdAverageCreatedBlockIdAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - MultiSigSignersByCreatedBlockIdAverageCreatedBlockIdDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - MultiSigSignersByCreatedBlockIdAverageIdAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_AVERAGE_ID_ASC', - MultiSigSignersByCreatedBlockIdAverageIdDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_AVERAGE_ID_DESC', - MultiSigSignersByCreatedBlockIdAverageMultisigIdAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_AVERAGE_MULTISIG_ID_ASC', - MultiSigSignersByCreatedBlockIdAverageMultisigIdDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_AVERAGE_MULTISIG_ID_DESC', - MultiSigSignersByCreatedBlockIdAverageSignerTypeAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_AVERAGE_SIGNER_TYPE_ASC', - MultiSigSignersByCreatedBlockIdAverageSignerTypeDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_AVERAGE_SIGNER_TYPE_DESC', - MultiSigSignersByCreatedBlockIdAverageSignerValueAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_AVERAGE_SIGNER_VALUE_ASC', - MultiSigSignersByCreatedBlockIdAverageSignerValueDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_AVERAGE_SIGNER_VALUE_DESC', - MultiSigSignersByCreatedBlockIdAverageStatusAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_AVERAGE_STATUS_ASC', - MultiSigSignersByCreatedBlockIdAverageStatusDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_AVERAGE_STATUS_DESC', - MultiSigSignersByCreatedBlockIdAverageUpdatedAtAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - MultiSigSignersByCreatedBlockIdAverageUpdatedAtDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - MultiSigSignersByCreatedBlockIdAverageUpdatedBlockIdAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - MultiSigSignersByCreatedBlockIdAverageUpdatedBlockIdDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - MultiSigSignersByCreatedBlockIdCountAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_COUNT_ASC', - MultiSigSignersByCreatedBlockIdCountDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_COUNT_DESC', - MultiSigSignersByCreatedBlockIdDistinctCountCreatedAtAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - MultiSigSignersByCreatedBlockIdDistinctCountCreatedAtDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - MultiSigSignersByCreatedBlockIdDistinctCountCreatedBlockIdAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - MultiSigSignersByCreatedBlockIdDistinctCountCreatedBlockIdDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - MultiSigSignersByCreatedBlockIdDistinctCountIdAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - MultiSigSignersByCreatedBlockIdDistinctCountIdDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - MultiSigSignersByCreatedBlockIdDistinctCountMultisigIdAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_MULTISIG_ID_ASC', - MultiSigSignersByCreatedBlockIdDistinctCountMultisigIdDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_MULTISIG_ID_DESC', - MultiSigSignersByCreatedBlockIdDistinctCountSignerTypeAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_SIGNER_TYPE_ASC', - MultiSigSignersByCreatedBlockIdDistinctCountSignerTypeDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_SIGNER_TYPE_DESC', - MultiSigSignersByCreatedBlockIdDistinctCountSignerValueAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_SIGNER_VALUE_ASC', - MultiSigSignersByCreatedBlockIdDistinctCountSignerValueDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_SIGNER_VALUE_DESC', - MultiSigSignersByCreatedBlockIdDistinctCountStatusAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_STATUS_ASC', - MultiSigSignersByCreatedBlockIdDistinctCountStatusDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_STATUS_DESC', - MultiSigSignersByCreatedBlockIdDistinctCountUpdatedAtAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - MultiSigSignersByCreatedBlockIdDistinctCountUpdatedAtDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - MultiSigSignersByCreatedBlockIdDistinctCountUpdatedBlockIdAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - MultiSigSignersByCreatedBlockIdDistinctCountUpdatedBlockIdDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - MultiSigSignersByCreatedBlockIdMaxCreatedAtAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_ASC', - MultiSigSignersByCreatedBlockIdMaxCreatedAtDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_DESC', - MultiSigSignersByCreatedBlockIdMaxCreatedBlockIdAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - MultiSigSignersByCreatedBlockIdMaxCreatedBlockIdDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - MultiSigSignersByCreatedBlockIdMaxIdAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_MAX_ID_ASC', - MultiSigSignersByCreatedBlockIdMaxIdDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_MAX_ID_DESC', - MultiSigSignersByCreatedBlockIdMaxMultisigIdAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_MAX_MULTISIG_ID_ASC', - MultiSigSignersByCreatedBlockIdMaxMultisigIdDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_MAX_MULTISIG_ID_DESC', - MultiSigSignersByCreatedBlockIdMaxSignerTypeAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_MAX_SIGNER_TYPE_ASC', - MultiSigSignersByCreatedBlockIdMaxSignerTypeDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_MAX_SIGNER_TYPE_DESC', - MultiSigSignersByCreatedBlockIdMaxSignerValueAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_MAX_SIGNER_VALUE_ASC', - MultiSigSignersByCreatedBlockIdMaxSignerValueDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_MAX_SIGNER_VALUE_DESC', - MultiSigSignersByCreatedBlockIdMaxStatusAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_MAX_STATUS_ASC', - MultiSigSignersByCreatedBlockIdMaxStatusDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_MAX_STATUS_DESC', - MultiSigSignersByCreatedBlockIdMaxUpdatedAtAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - MultiSigSignersByCreatedBlockIdMaxUpdatedAtDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - MultiSigSignersByCreatedBlockIdMaxUpdatedBlockIdAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - MultiSigSignersByCreatedBlockIdMaxUpdatedBlockIdDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - MultiSigSignersByCreatedBlockIdMinCreatedAtAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_ASC', - MultiSigSignersByCreatedBlockIdMinCreatedAtDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_DESC', - MultiSigSignersByCreatedBlockIdMinCreatedBlockIdAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - MultiSigSignersByCreatedBlockIdMinCreatedBlockIdDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - MultiSigSignersByCreatedBlockIdMinIdAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_MIN_ID_ASC', - MultiSigSignersByCreatedBlockIdMinIdDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_MIN_ID_DESC', - MultiSigSignersByCreatedBlockIdMinMultisigIdAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_MIN_MULTISIG_ID_ASC', - MultiSigSignersByCreatedBlockIdMinMultisigIdDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_MIN_MULTISIG_ID_DESC', - MultiSigSignersByCreatedBlockIdMinSignerTypeAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_MIN_SIGNER_TYPE_ASC', - MultiSigSignersByCreatedBlockIdMinSignerTypeDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_MIN_SIGNER_TYPE_DESC', - MultiSigSignersByCreatedBlockIdMinSignerValueAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_MIN_SIGNER_VALUE_ASC', - MultiSigSignersByCreatedBlockIdMinSignerValueDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_MIN_SIGNER_VALUE_DESC', - MultiSigSignersByCreatedBlockIdMinStatusAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_MIN_STATUS_ASC', - MultiSigSignersByCreatedBlockIdMinStatusDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_MIN_STATUS_DESC', - MultiSigSignersByCreatedBlockIdMinUpdatedAtAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - MultiSigSignersByCreatedBlockIdMinUpdatedAtDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - MultiSigSignersByCreatedBlockIdMinUpdatedBlockIdAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - MultiSigSignersByCreatedBlockIdMinUpdatedBlockIdDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - MultiSigSignersByCreatedBlockIdStddevPopulationCreatedAtAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - MultiSigSignersByCreatedBlockIdStddevPopulationCreatedAtDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - MultiSigSignersByCreatedBlockIdStddevPopulationCreatedBlockIdAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - MultiSigSignersByCreatedBlockIdStddevPopulationCreatedBlockIdDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - MultiSigSignersByCreatedBlockIdStddevPopulationIdAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - MultiSigSignersByCreatedBlockIdStddevPopulationIdDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - MultiSigSignersByCreatedBlockIdStddevPopulationMultisigIdAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_MULTISIG_ID_ASC', - MultiSigSignersByCreatedBlockIdStddevPopulationMultisigIdDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_MULTISIG_ID_DESC', - MultiSigSignersByCreatedBlockIdStddevPopulationSignerTypeAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_SIGNER_TYPE_ASC', - MultiSigSignersByCreatedBlockIdStddevPopulationSignerTypeDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_SIGNER_TYPE_DESC', - MultiSigSignersByCreatedBlockIdStddevPopulationSignerValueAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_SIGNER_VALUE_ASC', - MultiSigSignersByCreatedBlockIdStddevPopulationSignerValueDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_SIGNER_VALUE_DESC', - MultiSigSignersByCreatedBlockIdStddevPopulationStatusAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_STATUS_ASC', - MultiSigSignersByCreatedBlockIdStddevPopulationStatusDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_STATUS_DESC', - MultiSigSignersByCreatedBlockIdStddevPopulationUpdatedAtAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - MultiSigSignersByCreatedBlockIdStddevPopulationUpdatedAtDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - MultiSigSignersByCreatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - MultiSigSignersByCreatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - MultiSigSignersByCreatedBlockIdStddevSampleCreatedAtAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - MultiSigSignersByCreatedBlockIdStddevSampleCreatedAtDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - MultiSigSignersByCreatedBlockIdStddevSampleCreatedBlockIdAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - MultiSigSignersByCreatedBlockIdStddevSampleCreatedBlockIdDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - MultiSigSignersByCreatedBlockIdStddevSampleIdAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - MultiSigSignersByCreatedBlockIdStddevSampleIdDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - MultiSigSignersByCreatedBlockIdStddevSampleMultisigIdAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_MULTISIG_ID_ASC', - MultiSigSignersByCreatedBlockIdStddevSampleMultisigIdDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_MULTISIG_ID_DESC', - MultiSigSignersByCreatedBlockIdStddevSampleSignerTypeAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_SIGNER_TYPE_ASC', - MultiSigSignersByCreatedBlockIdStddevSampleSignerTypeDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_SIGNER_TYPE_DESC', - MultiSigSignersByCreatedBlockIdStddevSampleSignerValueAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_SIGNER_VALUE_ASC', - MultiSigSignersByCreatedBlockIdStddevSampleSignerValueDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_SIGNER_VALUE_DESC', - MultiSigSignersByCreatedBlockIdStddevSampleStatusAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_STATUS_ASC', - MultiSigSignersByCreatedBlockIdStddevSampleStatusDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_STATUS_DESC', - MultiSigSignersByCreatedBlockIdStddevSampleUpdatedAtAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - MultiSigSignersByCreatedBlockIdStddevSampleUpdatedAtDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - MultiSigSignersByCreatedBlockIdStddevSampleUpdatedBlockIdAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - MultiSigSignersByCreatedBlockIdStddevSampleUpdatedBlockIdDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - MultiSigSignersByCreatedBlockIdSumCreatedAtAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_ASC', - MultiSigSignersByCreatedBlockIdSumCreatedAtDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_DESC', - MultiSigSignersByCreatedBlockIdSumCreatedBlockIdAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - MultiSigSignersByCreatedBlockIdSumCreatedBlockIdDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - MultiSigSignersByCreatedBlockIdSumIdAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_SUM_ID_ASC', - MultiSigSignersByCreatedBlockIdSumIdDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_SUM_ID_DESC', - MultiSigSignersByCreatedBlockIdSumMultisigIdAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_SUM_MULTISIG_ID_ASC', - MultiSigSignersByCreatedBlockIdSumMultisigIdDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_SUM_MULTISIG_ID_DESC', - MultiSigSignersByCreatedBlockIdSumSignerTypeAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_SUM_SIGNER_TYPE_ASC', - MultiSigSignersByCreatedBlockIdSumSignerTypeDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_SUM_SIGNER_TYPE_DESC', - MultiSigSignersByCreatedBlockIdSumSignerValueAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_SUM_SIGNER_VALUE_ASC', - MultiSigSignersByCreatedBlockIdSumSignerValueDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_SUM_SIGNER_VALUE_DESC', - MultiSigSignersByCreatedBlockIdSumStatusAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_SUM_STATUS_ASC', - MultiSigSignersByCreatedBlockIdSumStatusDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_SUM_STATUS_DESC', - MultiSigSignersByCreatedBlockIdSumUpdatedAtAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - MultiSigSignersByCreatedBlockIdSumUpdatedAtDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - MultiSigSignersByCreatedBlockIdSumUpdatedBlockIdAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - MultiSigSignersByCreatedBlockIdSumUpdatedBlockIdDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - MultiSigSignersByCreatedBlockIdVariancePopulationCreatedAtAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - MultiSigSignersByCreatedBlockIdVariancePopulationCreatedAtDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - MultiSigSignersByCreatedBlockIdVariancePopulationCreatedBlockIdAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - MultiSigSignersByCreatedBlockIdVariancePopulationCreatedBlockIdDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - MultiSigSignersByCreatedBlockIdVariancePopulationIdAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - MultiSigSignersByCreatedBlockIdVariancePopulationIdDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - MultiSigSignersByCreatedBlockIdVariancePopulationMultisigIdAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_MULTISIG_ID_ASC', - MultiSigSignersByCreatedBlockIdVariancePopulationMultisigIdDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_MULTISIG_ID_DESC', - MultiSigSignersByCreatedBlockIdVariancePopulationSignerTypeAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_SIGNER_TYPE_ASC', - MultiSigSignersByCreatedBlockIdVariancePopulationSignerTypeDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_SIGNER_TYPE_DESC', - MultiSigSignersByCreatedBlockIdVariancePopulationSignerValueAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_SIGNER_VALUE_ASC', - MultiSigSignersByCreatedBlockIdVariancePopulationSignerValueDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_SIGNER_VALUE_DESC', - MultiSigSignersByCreatedBlockIdVariancePopulationStatusAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_STATUS_ASC', - MultiSigSignersByCreatedBlockIdVariancePopulationStatusDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_STATUS_DESC', - MultiSigSignersByCreatedBlockIdVariancePopulationUpdatedAtAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - MultiSigSignersByCreatedBlockIdVariancePopulationUpdatedAtDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - MultiSigSignersByCreatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - MultiSigSignersByCreatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - MultiSigSignersByCreatedBlockIdVarianceSampleCreatedAtAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - MultiSigSignersByCreatedBlockIdVarianceSampleCreatedAtDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - MultiSigSignersByCreatedBlockIdVarianceSampleCreatedBlockIdAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - MultiSigSignersByCreatedBlockIdVarianceSampleCreatedBlockIdDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - MultiSigSignersByCreatedBlockIdVarianceSampleIdAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - MultiSigSignersByCreatedBlockIdVarianceSampleIdDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - MultiSigSignersByCreatedBlockIdVarianceSampleMultisigIdAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_MULTISIG_ID_ASC', - MultiSigSignersByCreatedBlockIdVarianceSampleMultisigIdDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_MULTISIG_ID_DESC', - MultiSigSignersByCreatedBlockIdVarianceSampleSignerTypeAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_SIGNER_TYPE_ASC', - MultiSigSignersByCreatedBlockIdVarianceSampleSignerTypeDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_SIGNER_TYPE_DESC', - MultiSigSignersByCreatedBlockIdVarianceSampleSignerValueAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_SIGNER_VALUE_ASC', - MultiSigSignersByCreatedBlockIdVarianceSampleSignerValueDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_SIGNER_VALUE_DESC', - MultiSigSignersByCreatedBlockIdVarianceSampleStatusAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_STATUS_ASC', - MultiSigSignersByCreatedBlockIdVarianceSampleStatusDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_STATUS_DESC', - MultiSigSignersByCreatedBlockIdVarianceSampleUpdatedAtAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - MultiSigSignersByCreatedBlockIdVarianceSampleUpdatedAtDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - MultiSigSignersByCreatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - MultiSigSignersByCreatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'MULTI_SIG_SIGNERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - MultiSigSignersByUpdatedBlockIdAverageCreatedAtAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - MultiSigSignersByUpdatedBlockIdAverageCreatedAtDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - MultiSigSignersByUpdatedBlockIdAverageCreatedBlockIdAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - MultiSigSignersByUpdatedBlockIdAverageCreatedBlockIdDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - MultiSigSignersByUpdatedBlockIdAverageIdAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_ASC', - MultiSigSignersByUpdatedBlockIdAverageIdDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_DESC', - MultiSigSignersByUpdatedBlockIdAverageMultisigIdAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_AVERAGE_MULTISIG_ID_ASC', - MultiSigSignersByUpdatedBlockIdAverageMultisigIdDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_AVERAGE_MULTISIG_ID_DESC', - MultiSigSignersByUpdatedBlockIdAverageSignerTypeAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_AVERAGE_SIGNER_TYPE_ASC', - MultiSigSignersByUpdatedBlockIdAverageSignerTypeDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_AVERAGE_SIGNER_TYPE_DESC', - MultiSigSignersByUpdatedBlockIdAverageSignerValueAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_AVERAGE_SIGNER_VALUE_ASC', - MultiSigSignersByUpdatedBlockIdAverageSignerValueDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_AVERAGE_SIGNER_VALUE_DESC', - MultiSigSignersByUpdatedBlockIdAverageStatusAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_AVERAGE_STATUS_ASC', - MultiSigSignersByUpdatedBlockIdAverageStatusDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_AVERAGE_STATUS_DESC', - MultiSigSignersByUpdatedBlockIdAverageUpdatedAtAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - MultiSigSignersByUpdatedBlockIdAverageUpdatedAtDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - MultiSigSignersByUpdatedBlockIdAverageUpdatedBlockIdAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - MultiSigSignersByUpdatedBlockIdAverageUpdatedBlockIdDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - MultiSigSignersByUpdatedBlockIdCountAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_COUNT_ASC', - MultiSigSignersByUpdatedBlockIdCountDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_COUNT_DESC', - MultiSigSignersByUpdatedBlockIdDistinctCountCreatedAtAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - MultiSigSignersByUpdatedBlockIdDistinctCountCreatedAtDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - MultiSigSignersByUpdatedBlockIdDistinctCountCreatedBlockIdAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - MultiSigSignersByUpdatedBlockIdDistinctCountCreatedBlockIdDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - MultiSigSignersByUpdatedBlockIdDistinctCountIdAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - MultiSigSignersByUpdatedBlockIdDistinctCountIdDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - MultiSigSignersByUpdatedBlockIdDistinctCountMultisigIdAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_MULTISIG_ID_ASC', - MultiSigSignersByUpdatedBlockIdDistinctCountMultisigIdDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_MULTISIG_ID_DESC', - MultiSigSignersByUpdatedBlockIdDistinctCountSignerTypeAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_SIGNER_TYPE_ASC', - MultiSigSignersByUpdatedBlockIdDistinctCountSignerTypeDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_SIGNER_TYPE_DESC', - MultiSigSignersByUpdatedBlockIdDistinctCountSignerValueAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_SIGNER_VALUE_ASC', - MultiSigSignersByUpdatedBlockIdDistinctCountSignerValueDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_SIGNER_VALUE_DESC', - MultiSigSignersByUpdatedBlockIdDistinctCountStatusAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_STATUS_ASC', - MultiSigSignersByUpdatedBlockIdDistinctCountStatusDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_STATUS_DESC', - MultiSigSignersByUpdatedBlockIdDistinctCountUpdatedAtAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - MultiSigSignersByUpdatedBlockIdDistinctCountUpdatedAtDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - MultiSigSignersByUpdatedBlockIdDistinctCountUpdatedBlockIdAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - MultiSigSignersByUpdatedBlockIdDistinctCountUpdatedBlockIdDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - MultiSigSignersByUpdatedBlockIdMaxCreatedAtAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_ASC', - MultiSigSignersByUpdatedBlockIdMaxCreatedAtDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_DESC', - MultiSigSignersByUpdatedBlockIdMaxCreatedBlockIdAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - MultiSigSignersByUpdatedBlockIdMaxCreatedBlockIdDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - MultiSigSignersByUpdatedBlockIdMaxIdAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_MAX_ID_ASC', - MultiSigSignersByUpdatedBlockIdMaxIdDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_MAX_ID_DESC', - MultiSigSignersByUpdatedBlockIdMaxMultisigIdAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_MAX_MULTISIG_ID_ASC', - MultiSigSignersByUpdatedBlockIdMaxMultisigIdDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_MAX_MULTISIG_ID_DESC', - MultiSigSignersByUpdatedBlockIdMaxSignerTypeAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_MAX_SIGNER_TYPE_ASC', - MultiSigSignersByUpdatedBlockIdMaxSignerTypeDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_MAX_SIGNER_TYPE_DESC', - MultiSigSignersByUpdatedBlockIdMaxSignerValueAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_MAX_SIGNER_VALUE_ASC', - MultiSigSignersByUpdatedBlockIdMaxSignerValueDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_MAX_SIGNER_VALUE_DESC', - MultiSigSignersByUpdatedBlockIdMaxStatusAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_MAX_STATUS_ASC', - MultiSigSignersByUpdatedBlockIdMaxStatusDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_MAX_STATUS_DESC', - MultiSigSignersByUpdatedBlockIdMaxUpdatedAtAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - MultiSigSignersByUpdatedBlockIdMaxUpdatedAtDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - MultiSigSignersByUpdatedBlockIdMaxUpdatedBlockIdAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - MultiSigSignersByUpdatedBlockIdMaxUpdatedBlockIdDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - MultiSigSignersByUpdatedBlockIdMinCreatedAtAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_ASC', - MultiSigSignersByUpdatedBlockIdMinCreatedAtDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_DESC', - MultiSigSignersByUpdatedBlockIdMinCreatedBlockIdAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - MultiSigSignersByUpdatedBlockIdMinCreatedBlockIdDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - MultiSigSignersByUpdatedBlockIdMinIdAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_MIN_ID_ASC', - MultiSigSignersByUpdatedBlockIdMinIdDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_MIN_ID_DESC', - MultiSigSignersByUpdatedBlockIdMinMultisigIdAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_MIN_MULTISIG_ID_ASC', - MultiSigSignersByUpdatedBlockIdMinMultisigIdDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_MIN_MULTISIG_ID_DESC', - MultiSigSignersByUpdatedBlockIdMinSignerTypeAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_MIN_SIGNER_TYPE_ASC', - MultiSigSignersByUpdatedBlockIdMinSignerTypeDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_MIN_SIGNER_TYPE_DESC', - MultiSigSignersByUpdatedBlockIdMinSignerValueAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_MIN_SIGNER_VALUE_ASC', - MultiSigSignersByUpdatedBlockIdMinSignerValueDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_MIN_SIGNER_VALUE_DESC', - MultiSigSignersByUpdatedBlockIdMinStatusAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_MIN_STATUS_ASC', - MultiSigSignersByUpdatedBlockIdMinStatusDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_MIN_STATUS_DESC', - MultiSigSignersByUpdatedBlockIdMinUpdatedAtAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - MultiSigSignersByUpdatedBlockIdMinUpdatedAtDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - MultiSigSignersByUpdatedBlockIdMinUpdatedBlockIdAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - MultiSigSignersByUpdatedBlockIdMinUpdatedBlockIdDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - MultiSigSignersByUpdatedBlockIdStddevPopulationCreatedAtAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - MultiSigSignersByUpdatedBlockIdStddevPopulationCreatedAtDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - MultiSigSignersByUpdatedBlockIdStddevPopulationCreatedBlockIdAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - MultiSigSignersByUpdatedBlockIdStddevPopulationCreatedBlockIdDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - MultiSigSignersByUpdatedBlockIdStddevPopulationIdAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - MultiSigSignersByUpdatedBlockIdStddevPopulationIdDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - MultiSigSignersByUpdatedBlockIdStddevPopulationMultisigIdAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_MULTISIG_ID_ASC', - MultiSigSignersByUpdatedBlockIdStddevPopulationMultisigIdDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_MULTISIG_ID_DESC', - MultiSigSignersByUpdatedBlockIdStddevPopulationSignerTypeAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_SIGNER_TYPE_ASC', - MultiSigSignersByUpdatedBlockIdStddevPopulationSignerTypeDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_SIGNER_TYPE_DESC', - MultiSigSignersByUpdatedBlockIdStddevPopulationSignerValueAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_SIGNER_VALUE_ASC', - MultiSigSignersByUpdatedBlockIdStddevPopulationSignerValueDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_SIGNER_VALUE_DESC', - MultiSigSignersByUpdatedBlockIdStddevPopulationStatusAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_STATUS_ASC', - MultiSigSignersByUpdatedBlockIdStddevPopulationStatusDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_STATUS_DESC', - MultiSigSignersByUpdatedBlockIdStddevPopulationUpdatedAtAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - MultiSigSignersByUpdatedBlockIdStddevPopulationUpdatedAtDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - MultiSigSignersByUpdatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - MultiSigSignersByUpdatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - MultiSigSignersByUpdatedBlockIdStddevSampleCreatedAtAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - MultiSigSignersByUpdatedBlockIdStddevSampleCreatedAtDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - MultiSigSignersByUpdatedBlockIdStddevSampleCreatedBlockIdAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - MultiSigSignersByUpdatedBlockIdStddevSampleCreatedBlockIdDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - MultiSigSignersByUpdatedBlockIdStddevSampleIdAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - MultiSigSignersByUpdatedBlockIdStddevSampleIdDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - MultiSigSignersByUpdatedBlockIdStddevSampleMultisigIdAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_MULTISIG_ID_ASC', - MultiSigSignersByUpdatedBlockIdStddevSampleMultisigIdDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_MULTISIG_ID_DESC', - MultiSigSignersByUpdatedBlockIdStddevSampleSignerTypeAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_SIGNER_TYPE_ASC', - MultiSigSignersByUpdatedBlockIdStddevSampleSignerTypeDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_SIGNER_TYPE_DESC', - MultiSigSignersByUpdatedBlockIdStddevSampleSignerValueAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_SIGNER_VALUE_ASC', - MultiSigSignersByUpdatedBlockIdStddevSampleSignerValueDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_SIGNER_VALUE_DESC', - MultiSigSignersByUpdatedBlockIdStddevSampleStatusAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_STATUS_ASC', - MultiSigSignersByUpdatedBlockIdStddevSampleStatusDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_STATUS_DESC', - MultiSigSignersByUpdatedBlockIdStddevSampleUpdatedAtAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - MultiSigSignersByUpdatedBlockIdStddevSampleUpdatedAtDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - MultiSigSignersByUpdatedBlockIdStddevSampleUpdatedBlockIdAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - MultiSigSignersByUpdatedBlockIdStddevSampleUpdatedBlockIdDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - MultiSigSignersByUpdatedBlockIdSumCreatedAtAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_ASC', - MultiSigSignersByUpdatedBlockIdSumCreatedAtDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_DESC', - MultiSigSignersByUpdatedBlockIdSumCreatedBlockIdAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - MultiSigSignersByUpdatedBlockIdSumCreatedBlockIdDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - MultiSigSignersByUpdatedBlockIdSumIdAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_SUM_ID_ASC', - MultiSigSignersByUpdatedBlockIdSumIdDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_SUM_ID_DESC', - MultiSigSignersByUpdatedBlockIdSumMultisigIdAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_SUM_MULTISIG_ID_ASC', - MultiSigSignersByUpdatedBlockIdSumMultisigIdDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_SUM_MULTISIG_ID_DESC', - MultiSigSignersByUpdatedBlockIdSumSignerTypeAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_SUM_SIGNER_TYPE_ASC', - MultiSigSignersByUpdatedBlockIdSumSignerTypeDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_SUM_SIGNER_TYPE_DESC', - MultiSigSignersByUpdatedBlockIdSumSignerValueAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_SUM_SIGNER_VALUE_ASC', - MultiSigSignersByUpdatedBlockIdSumSignerValueDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_SUM_SIGNER_VALUE_DESC', - MultiSigSignersByUpdatedBlockIdSumStatusAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_SUM_STATUS_ASC', - MultiSigSignersByUpdatedBlockIdSumStatusDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_SUM_STATUS_DESC', - MultiSigSignersByUpdatedBlockIdSumUpdatedAtAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - MultiSigSignersByUpdatedBlockIdSumUpdatedAtDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - MultiSigSignersByUpdatedBlockIdSumUpdatedBlockIdAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - MultiSigSignersByUpdatedBlockIdSumUpdatedBlockIdDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - MultiSigSignersByUpdatedBlockIdVariancePopulationCreatedAtAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - MultiSigSignersByUpdatedBlockIdVariancePopulationCreatedAtDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - MultiSigSignersByUpdatedBlockIdVariancePopulationCreatedBlockIdAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - MultiSigSignersByUpdatedBlockIdVariancePopulationCreatedBlockIdDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - MultiSigSignersByUpdatedBlockIdVariancePopulationIdAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - MultiSigSignersByUpdatedBlockIdVariancePopulationIdDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - MultiSigSignersByUpdatedBlockIdVariancePopulationMultisigIdAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_MULTISIG_ID_ASC', - MultiSigSignersByUpdatedBlockIdVariancePopulationMultisigIdDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_MULTISIG_ID_DESC', - MultiSigSignersByUpdatedBlockIdVariancePopulationSignerTypeAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_SIGNER_TYPE_ASC', - MultiSigSignersByUpdatedBlockIdVariancePopulationSignerTypeDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_SIGNER_TYPE_DESC', - MultiSigSignersByUpdatedBlockIdVariancePopulationSignerValueAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_SIGNER_VALUE_ASC', - MultiSigSignersByUpdatedBlockIdVariancePopulationSignerValueDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_SIGNER_VALUE_DESC', - MultiSigSignersByUpdatedBlockIdVariancePopulationStatusAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_STATUS_ASC', - MultiSigSignersByUpdatedBlockIdVariancePopulationStatusDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_STATUS_DESC', - MultiSigSignersByUpdatedBlockIdVariancePopulationUpdatedAtAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - MultiSigSignersByUpdatedBlockIdVariancePopulationUpdatedAtDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - MultiSigSignersByUpdatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - MultiSigSignersByUpdatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - MultiSigSignersByUpdatedBlockIdVarianceSampleCreatedAtAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - MultiSigSignersByUpdatedBlockIdVarianceSampleCreatedAtDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - MultiSigSignersByUpdatedBlockIdVarianceSampleCreatedBlockIdAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - MultiSigSignersByUpdatedBlockIdVarianceSampleCreatedBlockIdDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - MultiSigSignersByUpdatedBlockIdVarianceSampleIdAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - MultiSigSignersByUpdatedBlockIdVarianceSampleIdDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - MultiSigSignersByUpdatedBlockIdVarianceSampleMultisigIdAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_MULTISIG_ID_ASC', - MultiSigSignersByUpdatedBlockIdVarianceSampleMultisigIdDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_MULTISIG_ID_DESC', - MultiSigSignersByUpdatedBlockIdVarianceSampleSignerTypeAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_SIGNER_TYPE_ASC', - MultiSigSignersByUpdatedBlockIdVarianceSampleSignerTypeDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_SIGNER_TYPE_DESC', - MultiSigSignersByUpdatedBlockIdVarianceSampleSignerValueAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_SIGNER_VALUE_ASC', - MultiSigSignersByUpdatedBlockIdVarianceSampleSignerValueDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_SIGNER_VALUE_DESC', - MultiSigSignersByUpdatedBlockIdVarianceSampleStatusAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_STATUS_ASC', - MultiSigSignersByUpdatedBlockIdVarianceSampleStatusDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_STATUS_DESC', - MultiSigSignersByUpdatedBlockIdVarianceSampleUpdatedAtAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - MultiSigSignersByUpdatedBlockIdVarianceSampleUpdatedAtDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - MultiSigSignersByUpdatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - MultiSigSignersByUpdatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'MULTI_SIG_SIGNERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - Natural = 'NATURAL', - NftHoldersByCreatedBlockIdAverageAssetIdAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_ASSET_ID_ASC', - NftHoldersByCreatedBlockIdAverageAssetIdDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_ASSET_ID_DESC', - NftHoldersByCreatedBlockIdAverageCreatedAtAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - NftHoldersByCreatedBlockIdAverageCreatedAtDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - NftHoldersByCreatedBlockIdAverageCreatedBlockIdAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - NftHoldersByCreatedBlockIdAverageCreatedBlockIdDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - NftHoldersByCreatedBlockIdAverageIdentityIdAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_IDENTITY_ID_ASC', - NftHoldersByCreatedBlockIdAverageIdentityIdDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_IDENTITY_ID_DESC', - NftHoldersByCreatedBlockIdAverageIdAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_ID_ASC', - NftHoldersByCreatedBlockIdAverageIdDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_ID_DESC', - NftHoldersByCreatedBlockIdAverageNftIdsAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_NFT_IDS_ASC', - NftHoldersByCreatedBlockIdAverageNftIdsDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_NFT_IDS_DESC', - NftHoldersByCreatedBlockIdAverageUpdatedAtAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - NftHoldersByCreatedBlockIdAverageUpdatedAtDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - NftHoldersByCreatedBlockIdAverageUpdatedBlockIdAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - NftHoldersByCreatedBlockIdAverageUpdatedBlockIdDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - NftHoldersByCreatedBlockIdCountAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_COUNT_ASC', - NftHoldersByCreatedBlockIdCountDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_COUNT_DESC', - NftHoldersByCreatedBlockIdDistinctCountAssetIdAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_ASC', - NftHoldersByCreatedBlockIdDistinctCountAssetIdDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_DESC', - NftHoldersByCreatedBlockIdDistinctCountCreatedAtAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - NftHoldersByCreatedBlockIdDistinctCountCreatedAtDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - NftHoldersByCreatedBlockIdDistinctCountCreatedBlockIdAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - NftHoldersByCreatedBlockIdDistinctCountCreatedBlockIdDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - NftHoldersByCreatedBlockIdDistinctCountIdentityIdAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_IDENTITY_ID_ASC', - NftHoldersByCreatedBlockIdDistinctCountIdentityIdDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_IDENTITY_ID_DESC', - NftHoldersByCreatedBlockIdDistinctCountIdAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - NftHoldersByCreatedBlockIdDistinctCountIdDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - NftHoldersByCreatedBlockIdDistinctCountNftIdsAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_NFT_IDS_ASC', - NftHoldersByCreatedBlockIdDistinctCountNftIdsDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_NFT_IDS_DESC', - NftHoldersByCreatedBlockIdDistinctCountUpdatedAtAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - NftHoldersByCreatedBlockIdDistinctCountUpdatedAtDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - NftHoldersByCreatedBlockIdDistinctCountUpdatedBlockIdAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - NftHoldersByCreatedBlockIdDistinctCountUpdatedBlockIdDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - NftHoldersByCreatedBlockIdMaxAssetIdAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_MAX_ASSET_ID_ASC', - NftHoldersByCreatedBlockIdMaxAssetIdDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_MAX_ASSET_ID_DESC', - NftHoldersByCreatedBlockIdMaxCreatedAtAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_ASC', - NftHoldersByCreatedBlockIdMaxCreatedAtDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_DESC', - NftHoldersByCreatedBlockIdMaxCreatedBlockIdAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - NftHoldersByCreatedBlockIdMaxCreatedBlockIdDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - NftHoldersByCreatedBlockIdMaxIdentityIdAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_MAX_IDENTITY_ID_ASC', - NftHoldersByCreatedBlockIdMaxIdentityIdDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_MAX_IDENTITY_ID_DESC', - NftHoldersByCreatedBlockIdMaxIdAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_MAX_ID_ASC', - NftHoldersByCreatedBlockIdMaxIdDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_MAX_ID_DESC', - NftHoldersByCreatedBlockIdMaxNftIdsAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_MAX_NFT_IDS_ASC', - NftHoldersByCreatedBlockIdMaxNftIdsDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_MAX_NFT_IDS_DESC', - NftHoldersByCreatedBlockIdMaxUpdatedAtAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - NftHoldersByCreatedBlockIdMaxUpdatedAtDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - NftHoldersByCreatedBlockIdMaxUpdatedBlockIdAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - NftHoldersByCreatedBlockIdMaxUpdatedBlockIdDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - NftHoldersByCreatedBlockIdMinAssetIdAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_MIN_ASSET_ID_ASC', - NftHoldersByCreatedBlockIdMinAssetIdDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_MIN_ASSET_ID_DESC', - NftHoldersByCreatedBlockIdMinCreatedAtAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_ASC', - NftHoldersByCreatedBlockIdMinCreatedAtDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_DESC', - NftHoldersByCreatedBlockIdMinCreatedBlockIdAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - NftHoldersByCreatedBlockIdMinCreatedBlockIdDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - NftHoldersByCreatedBlockIdMinIdentityIdAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_MIN_IDENTITY_ID_ASC', - NftHoldersByCreatedBlockIdMinIdentityIdDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_MIN_IDENTITY_ID_DESC', - NftHoldersByCreatedBlockIdMinIdAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_MIN_ID_ASC', - NftHoldersByCreatedBlockIdMinIdDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_MIN_ID_DESC', - NftHoldersByCreatedBlockIdMinNftIdsAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_MIN_NFT_IDS_ASC', - NftHoldersByCreatedBlockIdMinNftIdsDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_MIN_NFT_IDS_DESC', - NftHoldersByCreatedBlockIdMinUpdatedAtAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - NftHoldersByCreatedBlockIdMinUpdatedAtDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - NftHoldersByCreatedBlockIdMinUpdatedBlockIdAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - NftHoldersByCreatedBlockIdMinUpdatedBlockIdDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - NftHoldersByCreatedBlockIdStddevPopulationAssetIdAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_ASC', - NftHoldersByCreatedBlockIdStddevPopulationAssetIdDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_DESC', - NftHoldersByCreatedBlockIdStddevPopulationCreatedAtAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - NftHoldersByCreatedBlockIdStddevPopulationCreatedAtDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - NftHoldersByCreatedBlockIdStddevPopulationCreatedBlockIdAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - NftHoldersByCreatedBlockIdStddevPopulationCreatedBlockIdDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - NftHoldersByCreatedBlockIdStddevPopulationIdentityIdAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_IDENTITY_ID_ASC', - NftHoldersByCreatedBlockIdStddevPopulationIdentityIdDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_IDENTITY_ID_DESC', - NftHoldersByCreatedBlockIdStddevPopulationIdAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - NftHoldersByCreatedBlockIdStddevPopulationIdDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - NftHoldersByCreatedBlockIdStddevPopulationNftIdsAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_NFT_IDS_ASC', - NftHoldersByCreatedBlockIdStddevPopulationNftIdsDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_NFT_IDS_DESC', - NftHoldersByCreatedBlockIdStddevPopulationUpdatedAtAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - NftHoldersByCreatedBlockIdStddevPopulationUpdatedAtDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - NftHoldersByCreatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - NftHoldersByCreatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - NftHoldersByCreatedBlockIdStddevSampleAssetIdAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_ASC', - NftHoldersByCreatedBlockIdStddevSampleAssetIdDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_DESC', - NftHoldersByCreatedBlockIdStddevSampleCreatedAtAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - NftHoldersByCreatedBlockIdStddevSampleCreatedAtDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - NftHoldersByCreatedBlockIdStddevSampleCreatedBlockIdAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - NftHoldersByCreatedBlockIdStddevSampleCreatedBlockIdDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - NftHoldersByCreatedBlockIdStddevSampleIdentityIdAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_IDENTITY_ID_ASC', - NftHoldersByCreatedBlockIdStddevSampleIdentityIdDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_IDENTITY_ID_DESC', - NftHoldersByCreatedBlockIdStddevSampleIdAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - NftHoldersByCreatedBlockIdStddevSampleIdDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - NftHoldersByCreatedBlockIdStddevSampleNftIdsAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_NFT_IDS_ASC', - NftHoldersByCreatedBlockIdStddevSampleNftIdsDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_NFT_IDS_DESC', - NftHoldersByCreatedBlockIdStddevSampleUpdatedAtAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - NftHoldersByCreatedBlockIdStddevSampleUpdatedAtDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - NftHoldersByCreatedBlockIdStddevSampleUpdatedBlockIdAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - NftHoldersByCreatedBlockIdStddevSampleUpdatedBlockIdDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - NftHoldersByCreatedBlockIdSumAssetIdAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_SUM_ASSET_ID_ASC', - NftHoldersByCreatedBlockIdSumAssetIdDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_SUM_ASSET_ID_DESC', - NftHoldersByCreatedBlockIdSumCreatedAtAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_ASC', - NftHoldersByCreatedBlockIdSumCreatedAtDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_DESC', - NftHoldersByCreatedBlockIdSumCreatedBlockIdAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - NftHoldersByCreatedBlockIdSumCreatedBlockIdDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - NftHoldersByCreatedBlockIdSumIdentityIdAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_SUM_IDENTITY_ID_ASC', - NftHoldersByCreatedBlockIdSumIdentityIdDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_SUM_IDENTITY_ID_DESC', - NftHoldersByCreatedBlockIdSumIdAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_SUM_ID_ASC', - NftHoldersByCreatedBlockIdSumIdDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_SUM_ID_DESC', - NftHoldersByCreatedBlockIdSumNftIdsAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_SUM_NFT_IDS_ASC', - NftHoldersByCreatedBlockIdSumNftIdsDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_SUM_NFT_IDS_DESC', - NftHoldersByCreatedBlockIdSumUpdatedAtAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - NftHoldersByCreatedBlockIdSumUpdatedAtDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - NftHoldersByCreatedBlockIdSumUpdatedBlockIdAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - NftHoldersByCreatedBlockIdSumUpdatedBlockIdDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - NftHoldersByCreatedBlockIdVariancePopulationAssetIdAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_ASC', - NftHoldersByCreatedBlockIdVariancePopulationAssetIdDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_DESC', - NftHoldersByCreatedBlockIdVariancePopulationCreatedAtAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - NftHoldersByCreatedBlockIdVariancePopulationCreatedAtDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - NftHoldersByCreatedBlockIdVariancePopulationCreatedBlockIdAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - NftHoldersByCreatedBlockIdVariancePopulationCreatedBlockIdDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - NftHoldersByCreatedBlockIdVariancePopulationIdentityIdAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_IDENTITY_ID_ASC', - NftHoldersByCreatedBlockIdVariancePopulationIdentityIdDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_IDENTITY_ID_DESC', - NftHoldersByCreatedBlockIdVariancePopulationIdAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - NftHoldersByCreatedBlockIdVariancePopulationIdDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - NftHoldersByCreatedBlockIdVariancePopulationNftIdsAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_NFT_IDS_ASC', - NftHoldersByCreatedBlockIdVariancePopulationNftIdsDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_NFT_IDS_DESC', - NftHoldersByCreatedBlockIdVariancePopulationUpdatedAtAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - NftHoldersByCreatedBlockIdVariancePopulationUpdatedAtDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - NftHoldersByCreatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - NftHoldersByCreatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - NftHoldersByCreatedBlockIdVarianceSampleAssetIdAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_ASC', - NftHoldersByCreatedBlockIdVarianceSampleAssetIdDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_DESC', - NftHoldersByCreatedBlockIdVarianceSampleCreatedAtAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - NftHoldersByCreatedBlockIdVarianceSampleCreatedAtDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - NftHoldersByCreatedBlockIdVarianceSampleCreatedBlockIdAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - NftHoldersByCreatedBlockIdVarianceSampleCreatedBlockIdDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - NftHoldersByCreatedBlockIdVarianceSampleIdentityIdAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_IDENTITY_ID_ASC', - NftHoldersByCreatedBlockIdVarianceSampleIdentityIdDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_IDENTITY_ID_DESC', - NftHoldersByCreatedBlockIdVarianceSampleIdAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - NftHoldersByCreatedBlockIdVarianceSampleIdDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - NftHoldersByCreatedBlockIdVarianceSampleNftIdsAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_NFT_IDS_ASC', - NftHoldersByCreatedBlockIdVarianceSampleNftIdsDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_NFT_IDS_DESC', - NftHoldersByCreatedBlockIdVarianceSampleUpdatedAtAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - NftHoldersByCreatedBlockIdVarianceSampleUpdatedAtDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - NftHoldersByCreatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - NftHoldersByCreatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'NFT_HOLDERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - NftHoldersByUpdatedBlockIdAverageAssetIdAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_ASSET_ID_ASC', - NftHoldersByUpdatedBlockIdAverageAssetIdDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_ASSET_ID_DESC', - NftHoldersByUpdatedBlockIdAverageCreatedAtAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - NftHoldersByUpdatedBlockIdAverageCreatedAtDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - NftHoldersByUpdatedBlockIdAverageCreatedBlockIdAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - NftHoldersByUpdatedBlockIdAverageCreatedBlockIdDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - NftHoldersByUpdatedBlockIdAverageIdentityIdAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_IDENTITY_ID_ASC', - NftHoldersByUpdatedBlockIdAverageIdentityIdDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_IDENTITY_ID_DESC', - NftHoldersByUpdatedBlockIdAverageIdAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_ASC', - NftHoldersByUpdatedBlockIdAverageIdDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_DESC', - NftHoldersByUpdatedBlockIdAverageNftIdsAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_NFT_IDS_ASC', - NftHoldersByUpdatedBlockIdAverageNftIdsDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_NFT_IDS_DESC', - NftHoldersByUpdatedBlockIdAverageUpdatedAtAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - NftHoldersByUpdatedBlockIdAverageUpdatedAtDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - NftHoldersByUpdatedBlockIdAverageUpdatedBlockIdAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - NftHoldersByUpdatedBlockIdAverageUpdatedBlockIdDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - NftHoldersByUpdatedBlockIdCountAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_COUNT_ASC', - NftHoldersByUpdatedBlockIdCountDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_COUNT_DESC', - NftHoldersByUpdatedBlockIdDistinctCountAssetIdAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_ASC', - NftHoldersByUpdatedBlockIdDistinctCountAssetIdDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_DESC', - NftHoldersByUpdatedBlockIdDistinctCountCreatedAtAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - NftHoldersByUpdatedBlockIdDistinctCountCreatedAtDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - NftHoldersByUpdatedBlockIdDistinctCountCreatedBlockIdAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - NftHoldersByUpdatedBlockIdDistinctCountCreatedBlockIdDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - NftHoldersByUpdatedBlockIdDistinctCountIdentityIdAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_IDENTITY_ID_ASC', - NftHoldersByUpdatedBlockIdDistinctCountIdentityIdDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_IDENTITY_ID_DESC', - NftHoldersByUpdatedBlockIdDistinctCountIdAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - NftHoldersByUpdatedBlockIdDistinctCountIdDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - NftHoldersByUpdatedBlockIdDistinctCountNftIdsAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_NFT_IDS_ASC', - NftHoldersByUpdatedBlockIdDistinctCountNftIdsDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_NFT_IDS_DESC', - NftHoldersByUpdatedBlockIdDistinctCountUpdatedAtAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - NftHoldersByUpdatedBlockIdDistinctCountUpdatedAtDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - NftHoldersByUpdatedBlockIdDistinctCountUpdatedBlockIdAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - NftHoldersByUpdatedBlockIdDistinctCountUpdatedBlockIdDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - NftHoldersByUpdatedBlockIdMaxAssetIdAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_ASSET_ID_ASC', - NftHoldersByUpdatedBlockIdMaxAssetIdDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_ASSET_ID_DESC', - NftHoldersByUpdatedBlockIdMaxCreatedAtAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_ASC', - NftHoldersByUpdatedBlockIdMaxCreatedAtDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_DESC', - NftHoldersByUpdatedBlockIdMaxCreatedBlockIdAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - NftHoldersByUpdatedBlockIdMaxCreatedBlockIdDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - NftHoldersByUpdatedBlockIdMaxIdentityIdAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_IDENTITY_ID_ASC', - NftHoldersByUpdatedBlockIdMaxIdentityIdDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_IDENTITY_ID_DESC', - NftHoldersByUpdatedBlockIdMaxIdAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_ID_ASC', - NftHoldersByUpdatedBlockIdMaxIdDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_ID_DESC', - NftHoldersByUpdatedBlockIdMaxNftIdsAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_NFT_IDS_ASC', - NftHoldersByUpdatedBlockIdMaxNftIdsDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_NFT_IDS_DESC', - NftHoldersByUpdatedBlockIdMaxUpdatedAtAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - NftHoldersByUpdatedBlockIdMaxUpdatedAtDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - NftHoldersByUpdatedBlockIdMaxUpdatedBlockIdAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - NftHoldersByUpdatedBlockIdMaxUpdatedBlockIdDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - NftHoldersByUpdatedBlockIdMinAssetIdAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_ASSET_ID_ASC', - NftHoldersByUpdatedBlockIdMinAssetIdDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_ASSET_ID_DESC', - NftHoldersByUpdatedBlockIdMinCreatedAtAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_ASC', - NftHoldersByUpdatedBlockIdMinCreatedAtDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_DESC', - NftHoldersByUpdatedBlockIdMinCreatedBlockIdAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - NftHoldersByUpdatedBlockIdMinCreatedBlockIdDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - NftHoldersByUpdatedBlockIdMinIdentityIdAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_IDENTITY_ID_ASC', - NftHoldersByUpdatedBlockIdMinIdentityIdDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_IDENTITY_ID_DESC', - NftHoldersByUpdatedBlockIdMinIdAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_ID_ASC', - NftHoldersByUpdatedBlockIdMinIdDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_ID_DESC', - NftHoldersByUpdatedBlockIdMinNftIdsAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_NFT_IDS_ASC', - NftHoldersByUpdatedBlockIdMinNftIdsDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_NFT_IDS_DESC', - NftHoldersByUpdatedBlockIdMinUpdatedAtAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - NftHoldersByUpdatedBlockIdMinUpdatedAtDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - NftHoldersByUpdatedBlockIdMinUpdatedBlockIdAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - NftHoldersByUpdatedBlockIdMinUpdatedBlockIdDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - NftHoldersByUpdatedBlockIdStddevPopulationAssetIdAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_ASC', - NftHoldersByUpdatedBlockIdStddevPopulationAssetIdDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_DESC', - NftHoldersByUpdatedBlockIdStddevPopulationCreatedAtAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - NftHoldersByUpdatedBlockIdStddevPopulationCreatedAtDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - NftHoldersByUpdatedBlockIdStddevPopulationCreatedBlockIdAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - NftHoldersByUpdatedBlockIdStddevPopulationCreatedBlockIdDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - NftHoldersByUpdatedBlockIdStddevPopulationIdentityIdAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_IDENTITY_ID_ASC', - NftHoldersByUpdatedBlockIdStddevPopulationIdentityIdDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_IDENTITY_ID_DESC', - NftHoldersByUpdatedBlockIdStddevPopulationIdAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - NftHoldersByUpdatedBlockIdStddevPopulationIdDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - NftHoldersByUpdatedBlockIdStddevPopulationNftIdsAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_NFT_IDS_ASC', - NftHoldersByUpdatedBlockIdStddevPopulationNftIdsDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_NFT_IDS_DESC', - NftHoldersByUpdatedBlockIdStddevPopulationUpdatedAtAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - NftHoldersByUpdatedBlockIdStddevPopulationUpdatedAtDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - NftHoldersByUpdatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - NftHoldersByUpdatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - NftHoldersByUpdatedBlockIdStddevSampleAssetIdAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_ASC', - NftHoldersByUpdatedBlockIdStddevSampleAssetIdDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_DESC', - NftHoldersByUpdatedBlockIdStddevSampleCreatedAtAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - NftHoldersByUpdatedBlockIdStddevSampleCreatedAtDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - NftHoldersByUpdatedBlockIdStddevSampleCreatedBlockIdAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - NftHoldersByUpdatedBlockIdStddevSampleCreatedBlockIdDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - NftHoldersByUpdatedBlockIdStddevSampleIdentityIdAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_IDENTITY_ID_ASC', - NftHoldersByUpdatedBlockIdStddevSampleIdentityIdDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_IDENTITY_ID_DESC', - NftHoldersByUpdatedBlockIdStddevSampleIdAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - NftHoldersByUpdatedBlockIdStddevSampleIdDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - NftHoldersByUpdatedBlockIdStddevSampleNftIdsAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_NFT_IDS_ASC', - NftHoldersByUpdatedBlockIdStddevSampleNftIdsDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_NFT_IDS_DESC', - NftHoldersByUpdatedBlockIdStddevSampleUpdatedAtAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - NftHoldersByUpdatedBlockIdStddevSampleUpdatedAtDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - NftHoldersByUpdatedBlockIdStddevSampleUpdatedBlockIdAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - NftHoldersByUpdatedBlockIdStddevSampleUpdatedBlockIdDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - NftHoldersByUpdatedBlockIdSumAssetIdAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_ASSET_ID_ASC', - NftHoldersByUpdatedBlockIdSumAssetIdDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_ASSET_ID_DESC', - NftHoldersByUpdatedBlockIdSumCreatedAtAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_ASC', - NftHoldersByUpdatedBlockIdSumCreatedAtDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_DESC', - NftHoldersByUpdatedBlockIdSumCreatedBlockIdAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - NftHoldersByUpdatedBlockIdSumCreatedBlockIdDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - NftHoldersByUpdatedBlockIdSumIdentityIdAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_IDENTITY_ID_ASC', - NftHoldersByUpdatedBlockIdSumIdentityIdDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_IDENTITY_ID_DESC', - NftHoldersByUpdatedBlockIdSumIdAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_ID_ASC', - NftHoldersByUpdatedBlockIdSumIdDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_ID_DESC', - NftHoldersByUpdatedBlockIdSumNftIdsAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_NFT_IDS_ASC', - NftHoldersByUpdatedBlockIdSumNftIdsDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_NFT_IDS_DESC', - NftHoldersByUpdatedBlockIdSumUpdatedAtAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - NftHoldersByUpdatedBlockIdSumUpdatedAtDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - NftHoldersByUpdatedBlockIdSumUpdatedBlockIdAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - NftHoldersByUpdatedBlockIdSumUpdatedBlockIdDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - NftHoldersByUpdatedBlockIdVariancePopulationAssetIdAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_ASC', - NftHoldersByUpdatedBlockIdVariancePopulationAssetIdDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_DESC', - NftHoldersByUpdatedBlockIdVariancePopulationCreatedAtAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - NftHoldersByUpdatedBlockIdVariancePopulationCreatedAtDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - NftHoldersByUpdatedBlockIdVariancePopulationCreatedBlockIdAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - NftHoldersByUpdatedBlockIdVariancePopulationCreatedBlockIdDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - NftHoldersByUpdatedBlockIdVariancePopulationIdentityIdAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_IDENTITY_ID_ASC', - NftHoldersByUpdatedBlockIdVariancePopulationIdentityIdDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_IDENTITY_ID_DESC', - NftHoldersByUpdatedBlockIdVariancePopulationIdAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - NftHoldersByUpdatedBlockIdVariancePopulationIdDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - NftHoldersByUpdatedBlockIdVariancePopulationNftIdsAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_NFT_IDS_ASC', - NftHoldersByUpdatedBlockIdVariancePopulationNftIdsDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_NFT_IDS_DESC', - NftHoldersByUpdatedBlockIdVariancePopulationUpdatedAtAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - NftHoldersByUpdatedBlockIdVariancePopulationUpdatedAtDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - NftHoldersByUpdatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - NftHoldersByUpdatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - NftHoldersByUpdatedBlockIdVarianceSampleAssetIdAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_ASC', - NftHoldersByUpdatedBlockIdVarianceSampleAssetIdDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_DESC', - NftHoldersByUpdatedBlockIdVarianceSampleCreatedAtAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - NftHoldersByUpdatedBlockIdVarianceSampleCreatedAtDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - NftHoldersByUpdatedBlockIdVarianceSampleCreatedBlockIdAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - NftHoldersByUpdatedBlockIdVarianceSampleCreatedBlockIdDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - NftHoldersByUpdatedBlockIdVarianceSampleIdentityIdAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_IDENTITY_ID_ASC', - NftHoldersByUpdatedBlockIdVarianceSampleIdentityIdDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_IDENTITY_ID_DESC', - NftHoldersByUpdatedBlockIdVarianceSampleIdAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - NftHoldersByUpdatedBlockIdVarianceSampleIdDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - NftHoldersByUpdatedBlockIdVarianceSampleNftIdsAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_NFT_IDS_ASC', - NftHoldersByUpdatedBlockIdVarianceSampleNftIdsDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_NFT_IDS_DESC', - NftHoldersByUpdatedBlockIdVarianceSampleUpdatedAtAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - NftHoldersByUpdatedBlockIdVarianceSampleUpdatedAtDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - NftHoldersByUpdatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - NftHoldersByUpdatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'NFT_HOLDERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - ParentHashAsc = 'PARENT_HASH_ASC', - ParentHashDesc = 'PARENT_HASH_DESC', - ParentIdAsc = 'PARENT_ID_ASC', - ParentIdDesc = 'PARENT_ID_DESC', - PermissionsByCreatedBlockIdAverageAssetsAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_AVERAGE_ASSETS_ASC', - PermissionsByCreatedBlockIdAverageAssetsDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_AVERAGE_ASSETS_DESC', - PermissionsByCreatedBlockIdAverageCreatedAtAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - PermissionsByCreatedBlockIdAverageCreatedAtDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - PermissionsByCreatedBlockIdAverageCreatedBlockIdAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - PermissionsByCreatedBlockIdAverageCreatedBlockIdDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - PermissionsByCreatedBlockIdAverageDatetimeAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_AVERAGE_DATETIME_ASC', - PermissionsByCreatedBlockIdAverageDatetimeDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_AVERAGE_DATETIME_DESC', - PermissionsByCreatedBlockIdAverageIdAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_AVERAGE_ID_ASC', - PermissionsByCreatedBlockIdAverageIdDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_AVERAGE_ID_DESC', - PermissionsByCreatedBlockIdAveragePortfoliosAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_AVERAGE_PORTFOLIOS_ASC', - PermissionsByCreatedBlockIdAveragePortfoliosDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_AVERAGE_PORTFOLIOS_DESC', - PermissionsByCreatedBlockIdAverageTransactionsAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_AVERAGE_TRANSACTIONS_ASC', - PermissionsByCreatedBlockIdAverageTransactionsDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_AVERAGE_TRANSACTIONS_DESC', - PermissionsByCreatedBlockIdAverageTransactionGroupsAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_AVERAGE_TRANSACTION_GROUPS_ASC', - PermissionsByCreatedBlockIdAverageTransactionGroupsDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_AVERAGE_TRANSACTION_GROUPS_DESC', - PermissionsByCreatedBlockIdAverageUpdatedAtAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - PermissionsByCreatedBlockIdAverageUpdatedAtDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - PermissionsByCreatedBlockIdAverageUpdatedBlockIdAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - PermissionsByCreatedBlockIdAverageUpdatedBlockIdDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - PermissionsByCreatedBlockIdCountAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_COUNT_ASC', - PermissionsByCreatedBlockIdCountDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_COUNT_DESC', - PermissionsByCreatedBlockIdDistinctCountAssetsAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ASSETS_ASC', - PermissionsByCreatedBlockIdDistinctCountAssetsDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ASSETS_DESC', - PermissionsByCreatedBlockIdDistinctCountCreatedAtAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - PermissionsByCreatedBlockIdDistinctCountCreatedAtDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - PermissionsByCreatedBlockIdDistinctCountCreatedBlockIdAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - PermissionsByCreatedBlockIdDistinctCountCreatedBlockIdDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - PermissionsByCreatedBlockIdDistinctCountDatetimeAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_ASC', - PermissionsByCreatedBlockIdDistinctCountDatetimeDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_DESC', - PermissionsByCreatedBlockIdDistinctCountIdAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - PermissionsByCreatedBlockIdDistinctCountIdDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - PermissionsByCreatedBlockIdDistinctCountPortfoliosAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_PORTFOLIOS_ASC', - PermissionsByCreatedBlockIdDistinctCountPortfoliosDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_PORTFOLIOS_DESC', - PermissionsByCreatedBlockIdDistinctCountTransactionsAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TRANSACTIONS_ASC', - PermissionsByCreatedBlockIdDistinctCountTransactionsDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TRANSACTIONS_DESC', - PermissionsByCreatedBlockIdDistinctCountTransactionGroupsAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TRANSACTION_GROUPS_ASC', - PermissionsByCreatedBlockIdDistinctCountTransactionGroupsDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TRANSACTION_GROUPS_DESC', - PermissionsByCreatedBlockIdDistinctCountUpdatedAtAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - PermissionsByCreatedBlockIdDistinctCountUpdatedAtDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - PermissionsByCreatedBlockIdDistinctCountUpdatedBlockIdAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - PermissionsByCreatedBlockIdDistinctCountUpdatedBlockIdDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - PermissionsByCreatedBlockIdMaxAssetsAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_MAX_ASSETS_ASC', - PermissionsByCreatedBlockIdMaxAssetsDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_MAX_ASSETS_DESC', - PermissionsByCreatedBlockIdMaxCreatedAtAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_ASC', - PermissionsByCreatedBlockIdMaxCreatedAtDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_DESC', - PermissionsByCreatedBlockIdMaxCreatedBlockIdAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - PermissionsByCreatedBlockIdMaxCreatedBlockIdDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - PermissionsByCreatedBlockIdMaxDatetimeAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_MAX_DATETIME_ASC', - PermissionsByCreatedBlockIdMaxDatetimeDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_MAX_DATETIME_DESC', - PermissionsByCreatedBlockIdMaxIdAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_MAX_ID_ASC', - PermissionsByCreatedBlockIdMaxIdDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_MAX_ID_DESC', - PermissionsByCreatedBlockIdMaxPortfoliosAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_MAX_PORTFOLIOS_ASC', - PermissionsByCreatedBlockIdMaxPortfoliosDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_MAX_PORTFOLIOS_DESC', - PermissionsByCreatedBlockIdMaxTransactionsAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_MAX_TRANSACTIONS_ASC', - PermissionsByCreatedBlockIdMaxTransactionsDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_MAX_TRANSACTIONS_DESC', - PermissionsByCreatedBlockIdMaxTransactionGroupsAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_MAX_TRANSACTION_GROUPS_ASC', - PermissionsByCreatedBlockIdMaxTransactionGroupsDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_MAX_TRANSACTION_GROUPS_DESC', - PermissionsByCreatedBlockIdMaxUpdatedAtAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - PermissionsByCreatedBlockIdMaxUpdatedAtDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - PermissionsByCreatedBlockIdMaxUpdatedBlockIdAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - PermissionsByCreatedBlockIdMaxUpdatedBlockIdDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - PermissionsByCreatedBlockIdMinAssetsAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_MIN_ASSETS_ASC', - PermissionsByCreatedBlockIdMinAssetsDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_MIN_ASSETS_DESC', - PermissionsByCreatedBlockIdMinCreatedAtAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_ASC', - PermissionsByCreatedBlockIdMinCreatedAtDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_DESC', - PermissionsByCreatedBlockIdMinCreatedBlockIdAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - PermissionsByCreatedBlockIdMinCreatedBlockIdDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - PermissionsByCreatedBlockIdMinDatetimeAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_MIN_DATETIME_ASC', - PermissionsByCreatedBlockIdMinDatetimeDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_MIN_DATETIME_DESC', - PermissionsByCreatedBlockIdMinIdAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_MIN_ID_ASC', - PermissionsByCreatedBlockIdMinIdDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_MIN_ID_DESC', - PermissionsByCreatedBlockIdMinPortfoliosAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_MIN_PORTFOLIOS_ASC', - PermissionsByCreatedBlockIdMinPortfoliosDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_MIN_PORTFOLIOS_DESC', - PermissionsByCreatedBlockIdMinTransactionsAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_MIN_TRANSACTIONS_ASC', - PermissionsByCreatedBlockIdMinTransactionsDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_MIN_TRANSACTIONS_DESC', - PermissionsByCreatedBlockIdMinTransactionGroupsAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_MIN_TRANSACTION_GROUPS_ASC', - PermissionsByCreatedBlockIdMinTransactionGroupsDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_MIN_TRANSACTION_GROUPS_DESC', - PermissionsByCreatedBlockIdMinUpdatedAtAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - PermissionsByCreatedBlockIdMinUpdatedAtDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - PermissionsByCreatedBlockIdMinUpdatedBlockIdAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - PermissionsByCreatedBlockIdMinUpdatedBlockIdDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - PermissionsByCreatedBlockIdStddevPopulationAssetsAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ASSETS_ASC', - PermissionsByCreatedBlockIdStddevPopulationAssetsDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ASSETS_DESC', - PermissionsByCreatedBlockIdStddevPopulationCreatedAtAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - PermissionsByCreatedBlockIdStddevPopulationCreatedAtDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - PermissionsByCreatedBlockIdStddevPopulationCreatedBlockIdAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - PermissionsByCreatedBlockIdStddevPopulationCreatedBlockIdDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - PermissionsByCreatedBlockIdStddevPopulationDatetimeAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_DATETIME_ASC', - PermissionsByCreatedBlockIdStddevPopulationDatetimeDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_DATETIME_DESC', - PermissionsByCreatedBlockIdStddevPopulationIdAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - PermissionsByCreatedBlockIdStddevPopulationIdDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - PermissionsByCreatedBlockIdStddevPopulationPortfoliosAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_PORTFOLIOS_ASC', - PermissionsByCreatedBlockIdStddevPopulationPortfoliosDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_PORTFOLIOS_DESC', - PermissionsByCreatedBlockIdStddevPopulationTransactionsAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TRANSACTIONS_ASC', - PermissionsByCreatedBlockIdStddevPopulationTransactionsDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TRANSACTIONS_DESC', - PermissionsByCreatedBlockIdStddevPopulationTransactionGroupsAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TRANSACTION_GROUPS_ASC', - PermissionsByCreatedBlockIdStddevPopulationTransactionGroupsDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TRANSACTION_GROUPS_DESC', - PermissionsByCreatedBlockIdStddevPopulationUpdatedAtAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - PermissionsByCreatedBlockIdStddevPopulationUpdatedAtDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - PermissionsByCreatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - PermissionsByCreatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - PermissionsByCreatedBlockIdStddevSampleAssetsAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ASSETS_ASC', - PermissionsByCreatedBlockIdStddevSampleAssetsDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ASSETS_DESC', - PermissionsByCreatedBlockIdStddevSampleCreatedAtAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - PermissionsByCreatedBlockIdStddevSampleCreatedAtDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - PermissionsByCreatedBlockIdStddevSampleCreatedBlockIdAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - PermissionsByCreatedBlockIdStddevSampleCreatedBlockIdDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - PermissionsByCreatedBlockIdStddevSampleDatetimeAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_DATETIME_ASC', - PermissionsByCreatedBlockIdStddevSampleDatetimeDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_DATETIME_DESC', - PermissionsByCreatedBlockIdStddevSampleIdAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - PermissionsByCreatedBlockIdStddevSampleIdDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - PermissionsByCreatedBlockIdStddevSamplePortfoliosAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_PORTFOLIOS_ASC', - PermissionsByCreatedBlockIdStddevSamplePortfoliosDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_PORTFOLIOS_DESC', - PermissionsByCreatedBlockIdStddevSampleTransactionsAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TRANSACTIONS_ASC', - PermissionsByCreatedBlockIdStddevSampleTransactionsDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TRANSACTIONS_DESC', - PermissionsByCreatedBlockIdStddevSampleTransactionGroupsAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TRANSACTION_GROUPS_ASC', - PermissionsByCreatedBlockIdStddevSampleTransactionGroupsDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TRANSACTION_GROUPS_DESC', - PermissionsByCreatedBlockIdStddevSampleUpdatedAtAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - PermissionsByCreatedBlockIdStddevSampleUpdatedAtDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - PermissionsByCreatedBlockIdStddevSampleUpdatedBlockIdAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - PermissionsByCreatedBlockIdStddevSampleUpdatedBlockIdDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - PermissionsByCreatedBlockIdSumAssetsAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_SUM_ASSETS_ASC', - PermissionsByCreatedBlockIdSumAssetsDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_SUM_ASSETS_DESC', - PermissionsByCreatedBlockIdSumCreatedAtAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_ASC', - PermissionsByCreatedBlockIdSumCreatedAtDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_DESC', - PermissionsByCreatedBlockIdSumCreatedBlockIdAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - PermissionsByCreatedBlockIdSumCreatedBlockIdDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - PermissionsByCreatedBlockIdSumDatetimeAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_SUM_DATETIME_ASC', - PermissionsByCreatedBlockIdSumDatetimeDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_SUM_DATETIME_DESC', - PermissionsByCreatedBlockIdSumIdAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_SUM_ID_ASC', - PermissionsByCreatedBlockIdSumIdDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_SUM_ID_DESC', - PermissionsByCreatedBlockIdSumPortfoliosAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_SUM_PORTFOLIOS_ASC', - PermissionsByCreatedBlockIdSumPortfoliosDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_SUM_PORTFOLIOS_DESC', - PermissionsByCreatedBlockIdSumTransactionsAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_SUM_TRANSACTIONS_ASC', - PermissionsByCreatedBlockIdSumTransactionsDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_SUM_TRANSACTIONS_DESC', - PermissionsByCreatedBlockIdSumTransactionGroupsAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_SUM_TRANSACTION_GROUPS_ASC', - PermissionsByCreatedBlockIdSumTransactionGroupsDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_SUM_TRANSACTION_GROUPS_DESC', - PermissionsByCreatedBlockIdSumUpdatedAtAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - PermissionsByCreatedBlockIdSumUpdatedAtDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - PermissionsByCreatedBlockIdSumUpdatedBlockIdAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - PermissionsByCreatedBlockIdSumUpdatedBlockIdDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - PermissionsByCreatedBlockIdVariancePopulationAssetsAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ASSETS_ASC', - PermissionsByCreatedBlockIdVariancePopulationAssetsDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ASSETS_DESC', - PermissionsByCreatedBlockIdVariancePopulationCreatedAtAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - PermissionsByCreatedBlockIdVariancePopulationCreatedAtDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - PermissionsByCreatedBlockIdVariancePopulationCreatedBlockIdAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - PermissionsByCreatedBlockIdVariancePopulationCreatedBlockIdDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - PermissionsByCreatedBlockIdVariancePopulationDatetimeAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_DATETIME_ASC', - PermissionsByCreatedBlockIdVariancePopulationDatetimeDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_DATETIME_DESC', - PermissionsByCreatedBlockIdVariancePopulationIdAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - PermissionsByCreatedBlockIdVariancePopulationIdDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - PermissionsByCreatedBlockIdVariancePopulationPortfoliosAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_PORTFOLIOS_ASC', - PermissionsByCreatedBlockIdVariancePopulationPortfoliosDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_PORTFOLIOS_DESC', - PermissionsByCreatedBlockIdVariancePopulationTransactionsAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TRANSACTIONS_ASC', - PermissionsByCreatedBlockIdVariancePopulationTransactionsDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TRANSACTIONS_DESC', - PermissionsByCreatedBlockIdVariancePopulationTransactionGroupsAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TRANSACTION_GROUPS_ASC', - PermissionsByCreatedBlockIdVariancePopulationTransactionGroupsDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TRANSACTION_GROUPS_DESC', - PermissionsByCreatedBlockIdVariancePopulationUpdatedAtAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - PermissionsByCreatedBlockIdVariancePopulationUpdatedAtDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - PermissionsByCreatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - PermissionsByCreatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - PermissionsByCreatedBlockIdVarianceSampleAssetsAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ASSETS_ASC', - PermissionsByCreatedBlockIdVarianceSampleAssetsDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ASSETS_DESC', - PermissionsByCreatedBlockIdVarianceSampleCreatedAtAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - PermissionsByCreatedBlockIdVarianceSampleCreatedAtDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - PermissionsByCreatedBlockIdVarianceSampleCreatedBlockIdAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - PermissionsByCreatedBlockIdVarianceSampleCreatedBlockIdDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - PermissionsByCreatedBlockIdVarianceSampleDatetimeAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_DATETIME_ASC', - PermissionsByCreatedBlockIdVarianceSampleDatetimeDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_DATETIME_DESC', - PermissionsByCreatedBlockIdVarianceSampleIdAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - PermissionsByCreatedBlockIdVarianceSampleIdDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - PermissionsByCreatedBlockIdVarianceSamplePortfoliosAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_PORTFOLIOS_ASC', - PermissionsByCreatedBlockIdVarianceSamplePortfoliosDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_PORTFOLIOS_DESC', - PermissionsByCreatedBlockIdVarianceSampleTransactionsAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TRANSACTIONS_ASC', - PermissionsByCreatedBlockIdVarianceSampleTransactionsDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TRANSACTIONS_DESC', - PermissionsByCreatedBlockIdVarianceSampleTransactionGroupsAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TRANSACTION_GROUPS_ASC', - PermissionsByCreatedBlockIdVarianceSampleTransactionGroupsDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TRANSACTION_GROUPS_DESC', - PermissionsByCreatedBlockIdVarianceSampleUpdatedAtAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - PermissionsByCreatedBlockIdVarianceSampleUpdatedAtDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - PermissionsByCreatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - PermissionsByCreatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'PERMISSIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - PermissionsByUpdatedBlockIdAverageAssetsAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_AVERAGE_ASSETS_ASC', - PermissionsByUpdatedBlockIdAverageAssetsDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_AVERAGE_ASSETS_DESC', - PermissionsByUpdatedBlockIdAverageCreatedAtAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - PermissionsByUpdatedBlockIdAverageCreatedAtDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - PermissionsByUpdatedBlockIdAverageCreatedBlockIdAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - PermissionsByUpdatedBlockIdAverageCreatedBlockIdDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - PermissionsByUpdatedBlockIdAverageDatetimeAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_AVERAGE_DATETIME_ASC', - PermissionsByUpdatedBlockIdAverageDatetimeDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_AVERAGE_DATETIME_DESC', - PermissionsByUpdatedBlockIdAverageIdAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_ASC', - PermissionsByUpdatedBlockIdAverageIdDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_DESC', - PermissionsByUpdatedBlockIdAveragePortfoliosAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_AVERAGE_PORTFOLIOS_ASC', - PermissionsByUpdatedBlockIdAveragePortfoliosDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_AVERAGE_PORTFOLIOS_DESC', - PermissionsByUpdatedBlockIdAverageTransactionsAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_AVERAGE_TRANSACTIONS_ASC', - PermissionsByUpdatedBlockIdAverageTransactionsDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_AVERAGE_TRANSACTIONS_DESC', - PermissionsByUpdatedBlockIdAverageTransactionGroupsAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_AVERAGE_TRANSACTION_GROUPS_ASC', - PermissionsByUpdatedBlockIdAverageTransactionGroupsDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_AVERAGE_TRANSACTION_GROUPS_DESC', - PermissionsByUpdatedBlockIdAverageUpdatedAtAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - PermissionsByUpdatedBlockIdAverageUpdatedAtDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - PermissionsByUpdatedBlockIdAverageUpdatedBlockIdAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - PermissionsByUpdatedBlockIdAverageUpdatedBlockIdDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - PermissionsByUpdatedBlockIdCountAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_COUNT_ASC', - PermissionsByUpdatedBlockIdCountDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_COUNT_DESC', - PermissionsByUpdatedBlockIdDistinctCountAssetsAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ASSETS_ASC', - PermissionsByUpdatedBlockIdDistinctCountAssetsDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ASSETS_DESC', - PermissionsByUpdatedBlockIdDistinctCountCreatedAtAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - PermissionsByUpdatedBlockIdDistinctCountCreatedAtDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - PermissionsByUpdatedBlockIdDistinctCountCreatedBlockIdAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - PermissionsByUpdatedBlockIdDistinctCountCreatedBlockIdDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - PermissionsByUpdatedBlockIdDistinctCountDatetimeAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_ASC', - PermissionsByUpdatedBlockIdDistinctCountDatetimeDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_DESC', - PermissionsByUpdatedBlockIdDistinctCountIdAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - PermissionsByUpdatedBlockIdDistinctCountIdDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - PermissionsByUpdatedBlockIdDistinctCountPortfoliosAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_PORTFOLIOS_ASC', - PermissionsByUpdatedBlockIdDistinctCountPortfoliosDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_PORTFOLIOS_DESC', - PermissionsByUpdatedBlockIdDistinctCountTransactionsAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TRANSACTIONS_ASC', - PermissionsByUpdatedBlockIdDistinctCountTransactionsDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TRANSACTIONS_DESC', - PermissionsByUpdatedBlockIdDistinctCountTransactionGroupsAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TRANSACTION_GROUPS_ASC', - PermissionsByUpdatedBlockIdDistinctCountTransactionGroupsDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TRANSACTION_GROUPS_DESC', - PermissionsByUpdatedBlockIdDistinctCountUpdatedAtAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - PermissionsByUpdatedBlockIdDistinctCountUpdatedAtDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - PermissionsByUpdatedBlockIdDistinctCountUpdatedBlockIdAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - PermissionsByUpdatedBlockIdDistinctCountUpdatedBlockIdDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - PermissionsByUpdatedBlockIdMaxAssetsAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_MAX_ASSETS_ASC', - PermissionsByUpdatedBlockIdMaxAssetsDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_MAX_ASSETS_DESC', - PermissionsByUpdatedBlockIdMaxCreatedAtAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_ASC', - PermissionsByUpdatedBlockIdMaxCreatedAtDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_DESC', - PermissionsByUpdatedBlockIdMaxCreatedBlockIdAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - PermissionsByUpdatedBlockIdMaxCreatedBlockIdDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - PermissionsByUpdatedBlockIdMaxDatetimeAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_MAX_DATETIME_ASC', - PermissionsByUpdatedBlockIdMaxDatetimeDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_MAX_DATETIME_DESC', - PermissionsByUpdatedBlockIdMaxIdAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_MAX_ID_ASC', - PermissionsByUpdatedBlockIdMaxIdDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_MAX_ID_DESC', - PermissionsByUpdatedBlockIdMaxPortfoliosAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_MAX_PORTFOLIOS_ASC', - PermissionsByUpdatedBlockIdMaxPortfoliosDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_MAX_PORTFOLIOS_DESC', - PermissionsByUpdatedBlockIdMaxTransactionsAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_MAX_TRANSACTIONS_ASC', - PermissionsByUpdatedBlockIdMaxTransactionsDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_MAX_TRANSACTIONS_DESC', - PermissionsByUpdatedBlockIdMaxTransactionGroupsAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_MAX_TRANSACTION_GROUPS_ASC', - PermissionsByUpdatedBlockIdMaxTransactionGroupsDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_MAX_TRANSACTION_GROUPS_DESC', - PermissionsByUpdatedBlockIdMaxUpdatedAtAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - PermissionsByUpdatedBlockIdMaxUpdatedAtDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - PermissionsByUpdatedBlockIdMaxUpdatedBlockIdAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - PermissionsByUpdatedBlockIdMaxUpdatedBlockIdDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - PermissionsByUpdatedBlockIdMinAssetsAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_MIN_ASSETS_ASC', - PermissionsByUpdatedBlockIdMinAssetsDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_MIN_ASSETS_DESC', - PermissionsByUpdatedBlockIdMinCreatedAtAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_ASC', - PermissionsByUpdatedBlockIdMinCreatedAtDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_DESC', - PermissionsByUpdatedBlockIdMinCreatedBlockIdAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - PermissionsByUpdatedBlockIdMinCreatedBlockIdDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - PermissionsByUpdatedBlockIdMinDatetimeAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_MIN_DATETIME_ASC', - PermissionsByUpdatedBlockIdMinDatetimeDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_MIN_DATETIME_DESC', - PermissionsByUpdatedBlockIdMinIdAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_MIN_ID_ASC', - PermissionsByUpdatedBlockIdMinIdDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_MIN_ID_DESC', - PermissionsByUpdatedBlockIdMinPortfoliosAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_MIN_PORTFOLIOS_ASC', - PermissionsByUpdatedBlockIdMinPortfoliosDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_MIN_PORTFOLIOS_DESC', - PermissionsByUpdatedBlockIdMinTransactionsAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_MIN_TRANSACTIONS_ASC', - PermissionsByUpdatedBlockIdMinTransactionsDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_MIN_TRANSACTIONS_DESC', - PermissionsByUpdatedBlockIdMinTransactionGroupsAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_MIN_TRANSACTION_GROUPS_ASC', - PermissionsByUpdatedBlockIdMinTransactionGroupsDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_MIN_TRANSACTION_GROUPS_DESC', - PermissionsByUpdatedBlockIdMinUpdatedAtAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - PermissionsByUpdatedBlockIdMinUpdatedAtDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - PermissionsByUpdatedBlockIdMinUpdatedBlockIdAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - PermissionsByUpdatedBlockIdMinUpdatedBlockIdDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - PermissionsByUpdatedBlockIdStddevPopulationAssetsAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ASSETS_ASC', - PermissionsByUpdatedBlockIdStddevPopulationAssetsDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ASSETS_DESC', - PermissionsByUpdatedBlockIdStddevPopulationCreatedAtAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - PermissionsByUpdatedBlockIdStddevPopulationCreatedAtDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - PermissionsByUpdatedBlockIdStddevPopulationCreatedBlockIdAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - PermissionsByUpdatedBlockIdStddevPopulationCreatedBlockIdDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - PermissionsByUpdatedBlockIdStddevPopulationDatetimeAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_DATETIME_ASC', - PermissionsByUpdatedBlockIdStddevPopulationDatetimeDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_DATETIME_DESC', - PermissionsByUpdatedBlockIdStddevPopulationIdAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - PermissionsByUpdatedBlockIdStddevPopulationIdDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - PermissionsByUpdatedBlockIdStddevPopulationPortfoliosAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_PORTFOLIOS_ASC', - PermissionsByUpdatedBlockIdStddevPopulationPortfoliosDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_PORTFOLIOS_DESC', - PermissionsByUpdatedBlockIdStddevPopulationTransactionsAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TRANSACTIONS_ASC', - PermissionsByUpdatedBlockIdStddevPopulationTransactionsDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TRANSACTIONS_DESC', - PermissionsByUpdatedBlockIdStddevPopulationTransactionGroupsAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TRANSACTION_GROUPS_ASC', - PermissionsByUpdatedBlockIdStddevPopulationTransactionGroupsDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TRANSACTION_GROUPS_DESC', - PermissionsByUpdatedBlockIdStddevPopulationUpdatedAtAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - PermissionsByUpdatedBlockIdStddevPopulationUpdatedAtDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - PermissionsByUpdatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - PermissionsByUpdatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - PermissionsByUpdatedBlockIdStddevSampleAssetsAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ASSETS_ASC', - PermissionsByUpdatedBlockIdStddevSampleAssetsDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ASSETS_DESC', - PermissionsByUpdatedBlockIdStddevSampleCreatedAtAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - PermissionsByUpdatedBlockIdStddevSampleCreatedAtDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - PermissionsByUpdatedBlockIdStddevSampleCreatedBlockIdAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - PermissionsByUpdatedBlockIdStddevSampleCreatedBlockIdDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - PermissionsByUpdatedBlockIdStddevSampleDatetimeAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_DATETIME_ASC', - PermissionsByUpdatedBlockIdStddevSampleDatetimeDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_DATETIME_DESC', - PermissionsByUpdatedBlockIdStddevSampleIdAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - PermissionsByUpdatedBlockIdStddevSampleIdDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - PermissionsByUpdatedBlockIdStddevSamplePortfoliosAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_PORTFOLIOS_ASC', - PermissionsByUpdatedBlockIdStddevSamplePortfoliosDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_PORTFOLIOS_DESC', - PermissionsByUpdatedBlockIdStddevSampleTransactionsAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TRANSACTIONS_ASC', - PermissionsByUpdatedBlockIdStddevSampleTransactionsDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TRANSACTIONS_DESC', - PermissionsByUpdatedBlockIdStddevSampleTransactionGroupsAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TRANSACTION_GROUPS_ASC', - PermissionsByUpdatedBlockIdStddevSampleTransactionGroupsDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TRANSACTION_GROUPS_DESC', - PermissionsByUpdatedBlockIdStddevSampleUpdatedAtAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - PermissionsByUpdatedBlockIdStddevSampleUpdatedAtDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - PermissionsByUpdatedBlockIdStddevSampleUpdatedBlockIdAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - PermissionsByUpdatedBlockIdStddevSampleUpdatedBlockIdDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - PermissionsByUpdatedBlockIdSumAssetsAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_SUM_ASSETS_ASC', - PermissionsByUpdatedBlockIdSumAssetsDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_SUM_ASSETS_DESC', - PermissionsByUpdatedBlockIdSumCreatedAtAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_ASC', - PermissionsByUpdatedBlockIdSumCreatedAtDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_DESC', - PermissionsByUpdatedBlockIdSumCreatedBlockIdAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - PermissionsByUpdatedBlockIdSumCreatedBlockIdDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - PermissionsByUpdatedBlockIdSumDatetimeAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_SUM_DATETIME_ASC', - PermissionsByUpdatedBlockIdSumDatetimeDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_SUM_DATETIME_DESC', - PermissionsByUpdatedBlockIdSumIdAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_SUM_ID_ASC', - PermissionsByUpdatedBlockIdSumIdDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_SUM_ID_DESC', - PermissionsByUpdatedBlockIdSumPortfoliosAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_SUM_PORTFOLIOS_ASC', - PermissionsByUpdatedBlockIdSumPortfoliosDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_SUM_PORTFOLIOS_DESC', - PermissionsByUpdatedBlockIdSumTransactionsAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_SUM_TRANSACTIONS_ASC', - PermissionsByUpdatedBlockIdSumTransactionsDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_SUM_TRANSACTIONS_DESC', - PermissionsByUpdatedBlockIdSumTransactionGroupsAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_SUM_TRANSACTION_GROUPS_ASC', - PermissionsByUpdatedBlockIdSumTransactionGroupsDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_SUM_TRANSACTION_GROUPS_DESC', - PermissionsByUpdatedBlockIdSumUpdatedAtAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - PermissionsByUpdatedBlockIdSumUpdatedAtDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - PermissionsByUpdatedBlockIdSumUpdatedBlockIdAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - PermissionsByUpdatedBlockIdSumUpdatedBlockIdDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - PermissionsByUpdatedBlockIdVariancePopulationAssetsAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ASSETS_ASC', - PermissionsByUpdatedBlockIdVariancePopulationAssetsDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ASSETS_DESC', - PermissionsByUpdatedBlockIdVariancePopulationCreatedAtAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - PermissionsByUpdatedBlockIdVariancePopulationCreatedAtDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - PermissionsByUpdatedBlockIdVariancePopulationCreatedBlockIdAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - PermissionsByUpdatedBlockIdVariancePopulationCreatedBlockIdDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - PermissionsByUpdatedBlockIdVariancePopulationDatetimeAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_DATETIME_ASC', - PermissionsByUpdatedBlockIdVariancePopulationDatetimeDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_DATETIME_DESC', - PermissionsByUpdatedBlockIdVariancePopulationIdAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - PermissionsByUpdatedBlockIdVariancePopulationIdDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - PermissionsByUpdatedBlockIdVariancePopulationPortfoliosAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_PORTFOLIOS_ASC', - PermissionsByUpdatedBlockIdVariancePopulationPortfoliosDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_PORTFOLIOS_DESC', - PermissionsByUpdatedBlockIdVariancePopulationTransactionsAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TRANSACTIONS_ASC', - PermissionsByUpdatedBlockIdVariancePopulationTransactionsDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TRANSACTIONS_DESC', - PermissionsByUpdatedBlockIdVariancePopulationTransactionGroupsAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TRANSACTION_GROUPS_ASC', - PermissionsByUpdatedBlockIdVariancePopulationTransactionGroupsDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TRANSACTION_GROUPS_DESC', - PermissionsByUpdatedBlockIdVariancePopulationUpdatedAtAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - PermissionsByUpdatedBlockIdVariancePopulationUpdatedAtDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - PermissionsByUpdatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - PermissionsByUpdatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - PermissionsByUpdatedBlockIdVarianceSampleAssetsAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ASSETS_ASC', - PermissionsByUpdatedBlockIdVarianceSampleAssetsDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ASSETS_DESC', - PermissionsByUpdatedBlockIdVarianceSampleCreatedAtAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - PermissionsByUpdatedBlockIdVarianceSampleCreatedAtDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - PermissionsByUpdatedBlockIdVarianceSampleCreatedBlockIdAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - PermissionsByUpdatedBlockIdVarianceSampleCreatedBlockIdDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - PermissionsByUpdatedBlockIdVarianceSampleDatetimeAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_DATETIME_ASC', - PermissionsByUpdatedBlockIdVarianceSampleDatetimeDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_DATETIME_DESC', - PermissionsByUpdatedBlockIdVarianceSampleIdAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - PermissionsByUpdatedBlockIdVarianceSampleIdDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - PermissionsByUpdatedBlockIdVarianceSamplePortfoliosAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_PORTFOLIOS_ASC', - PermissionsByUpdatedBlockIdVarianceSamplePortfoliosDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_PORTFOLIOS_DESC', - PermissionsByUpdatedBlockIdVarianceSampleTransactionsAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TRANSACTIONS_ASC', - PermissionsByUpdatedBlockIdVarianceSampleTransactionsDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TRANSACTIONS_DESC', - PermissionsByUpdatedBlockIdVarianceSampleTransactionGroupsAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TRANSACTION_GROUPS_ASC', - PermissionsByUpdatedBlockIdVarianceSampleTransactionGroupsDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TRANSACTION_GROUPS_DESC', - PermissionsByUpdatedBlockIdVarianceSampleUpdatedAtAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - PermissionsByUpdatedBlockIdVarianceSampleUpdatedAtDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - PermissionsByUpdatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - PermissionsByUpdatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'PERMISSIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - PolyxTransactionsByCreatedBlockIdAverageAddressAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_ADDRESS_ASC', - PolyxTransactionsByCreatedBlockIdAverageAddressDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_ADDRESS_DESC', - PolyxTransactionsByCreatedBlockIdAverageAmountAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_AMOUNT_ASC', - PolyxTransactionsByCreatedBlockIdAverageAmountDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_AMOUNT_DESC', - PolyxTransactionsByCreatedBlockIdAverageCallIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_CALL_ID_ASC', - PolyxTransactionsByCreatedBlockIdAverageCallIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_CALL_ID_DESC', - PolyxTransactionsByCreatedBlockIdAverageCreatedAtAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - PolyxTransactionsByCreatedBlockIdAverageCreatedAtDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - PolyxTransactionsByCreatedBlockIdAverageCreatedBlockIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - PolyxTransactionsByCreatedBlockIdAverageCreatedBlockIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - PolyxTransactionsByCreatedBlockIdAverageDatetimeAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_DATETIME_ASC', - PolyxTransactionsByCreatedBlockIdAverageDatetimeDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_DATETIME_DESC', - PolyxTransactionsByCreatedBlockIdAverageEventIdxAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_IDX_ASC', - PolyxTransactionsByCreatedBlockIdAverageEventIdxDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_IDX_DESC', - PolyxTransactionsByCreatedBlockIdAverageEventIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_ID_ASC', - PolyxTransactionsByCreatedBlockIdAverageEventIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_ID_DESC', - PolyxTransactionsByCreatedBlockIdAverageExtrinsicIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_EXTRINSIC_ID_ASC', - PolyxTransactionsByCreatedBlockIdAverageExtrinsicIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_EXTRINSIC_ID_DESC', - PolyxTransactionsByCreatedBlockIdAverageIdentityIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_IDENTITY_ID_ASC', - PolyxTransactionsByCreatedBlockIdAverageIdentityIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_IDENTITY_ID_DESC', - PolyxTransactionsByCreatedBlockIdAverageIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_ID_ASC', - PolyxTransactionsByCreatedBlockIdAverageIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_ID_DESC', - PolyxTransactionsByCreatedBlockIdAverageMemoAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_MEMO_ASC', - PolyxTransactionsByCreatedBlockIdAverageMemoDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_MEMO_DESC', - PolyxTransactionsByCreatedBlockIdAverageModuleIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_MODULE_ID_ASC', - PolyxTransactionsByCreatedBlockIdAverageModuleIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_MODULE_ID_DESC', - PolyxTransactionsByCreatedBlockIdAverageToAddressAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_TO_ADDRESS_ASC', - PolyxTransactionsByCreatedBlockIdAverageToAddressDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_TO_ADDRESS_DESC', - PolyxTransactionsByCreatedBlockIdAverageToIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_TO_ID_ASC', - PolyxTransactionsByCreatedBlockIdAverageToIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_TO_ID_DESC', - PolyxTransactionsByCreatedBlockIdAverageTypeAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_TYPE_ASC', - PolyxTransactionsByCreatedBlockIdAverageTypeDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_TYPE_DESC', - PolyxTransactionsByCreatedBlockIdAverageUpdatedAtAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - PolyxTransactionsByCreatedBlockIdAverageUpdatedAtDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - PolyxTransactionsByCreatedBlockIdAverageUpdatedBlockIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - PolyxTransactionsByCreatedBlockIdAverageUpdatedBlockIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - PolyxTransactionsByCreatedBlockIdCountAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_COUNT_ASC', - PolyxTransactionsByCreatedBlockIdCountDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_COUNT_DESC', - PolyxTransactionsByCreatedBlockIdDistinctCountAddressAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ADDRESS_ASC', - PolyxTransactionsByCreatedBlockIdDistinctCountAddressDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ADDRESS_DESC', - PolyxTransactionsByCreatedBlockIdDistinctCountAmountAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_AMOUNT_ASC', - PolyxTransactionsByCreatedBlockIdDistinctCountAmountDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_AMOUNT_DESC', - PolyxTransactionsByCreatedBlockIdDistinctCountCallIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CALL_ID_ASC', - PolyxTransactionsByCreatedBlockIdDistinctCountCallIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CALL_ID_DESC', - PolyxTransactionsByCreatedBlockIdDistinctCountCreatedAtAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - PolyxTransactionsByCreatedBlockIdDistinctCountCreatedAtDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - PolyxTransactionsByCreatedBlockIdDistinctCountCreatedBlockIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - PolyxTransactionsByCreatedBlockIdDistinctCountCreatedBlockIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - PolyxTransactionsByCreatedBlockIdDistinctCountDatetimeAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_ASC', - PolyxTransactionsByCreatedBlockIdDistinctCountDatetimeDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_DESC', - PolyxTransactionsByCreatedBlockIdDistinctCountEventIdxAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_ASC', - PolyxTransactionsByCreatedBlockIdDistinctCountEventIdxDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_DESC', - PolyxTransactionsByCreatedBlockIdDistinctCountEventIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_ID_ASC', - PolyxTransactionsByCreatedBlockIdDistinctCountEventIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_ID_DESC', - PolyxTransactionsByCreatedBlockIdDistinctCountExtrinsicIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EXTRINSIC_ID_ASC', - PolyxTransactionsByCreatedBlockIdDistinctCountExtrinsicIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EXTRINSIC_ID_DESC', - PolyxTransactionsByCreatedBlockIdDistinctCountIdentityIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_IDENTITY_ID_ASC', - PolyxTransactionsByCreatedBlockIdDistinctCountIdentityIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_IDENTITY_ID_DESC', - PolyxTransactionsByCreatedBlockIdDistinctCountIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - PolyxTransactionsByCreatedBlockIdDistinctCountIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - PolyxTransactionsByCreatedBlockIdDistinctCountMemoAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_MEMO_ASC', - PolyxTransactionsByCreatedBlockIdDistinctCountMemoDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_MEMO_DESC', - PolyxTransactionsByCreatedBlockIdDistinctCountModuleIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_MODULE_ID_ASC', - PolyxTransactionsByCreatedBlockIdDistinctCountModuleIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_MODULE_ID_DESC', - PolyxTransactionsByCreatedBlockIdDistinctCountToAddressAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TO_ADDRESS_ASC', - PolyxTransactionsByCreatedBlockIdDistinctCountToAddressDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TO_ADDRESS_DESC', - PolyxTransactionsByCreatedBlockIdDistinctCountToIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TO_ID_ASC', - PolyxTransactionsByCreatedBlockIdDistinctCountToIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TO_ID_DESC', - PolyxTransactionsByCreatedBlockIdDistinctCountTypeAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TYPE_ASC', - PolyxTransactionsByCreatedBlockIdDistinctCountTypeDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TYPE_DESC', - PolyxTransactionsByCreatedBlockIdDistinctCountUpdatedAtAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - PolyxTransactionsByCreatedBlockIdDistinctCountUpdatedAtDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - PolyxTransactionsByCreatedBlockIdDistinctCountUpdatedBlockIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - PolyxTransactionsByCreatedBlockIdDistinctCountUpdatedBlockIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - PolyxTransactionsByCreatedBlockIdMaxAddressAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_ADDRESS_ASC', - PolyxTransactionsByCreatedBlockIdMaxAddressDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_ADDRESS_DESC', - PolyxTransactionsByCreatedBlockIdMaxAmountAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_AMOUNT_ASC', - PolyxTransactionsByCreatedBlockIdMaxAmountDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_AMOUNT_DESC', - PolyxTransactionsByCreatedBlockIdMaxCallIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_CALL_ID_ASC', - PolyxTransactionsByCreatedBlockIdMaxCallIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_CALL_ID_DESC', - PolyxTransactionsByCreatedBlockIdMaxCreatedAtAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_ASC', - PolyxTransactionsByCreatedBlockIdMaxCreatedAtDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_DESC', - PolyxTransactionsByCreatedBlockIdMaxCreatedBlockIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - PolyxTransactionsByCreatedBlockIdMaxCreatedBlockIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - PolyxTransactionsByCreatedBlockIdMaxDatetimeAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_DATETIME_ASC', - PolyxTransactionsByCreatedBlockIdMaxDatetimeDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_DATETIME_DESC', - PolyxTransactionsByCreatedBlockIdMaxEventIdxAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_EVENT_IDX_ASC', - PolyxTransactionsByCreatedBlockIdMaxEventIdxDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_EVENT_IDX_DESC', - PolyxTransactionsByCreatedBlockIdMaxEventIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_EVENT_ID_ASC', - PolyxTransactionsByCreatedBlockIdMaxEventIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_EVENT_ID_DESC', - PolyxTransactionsByCreatedBlockIdMaxExtrinsicIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_EXTRINSIC_ID_ASC', - PolyxTransactionsByCreatedBlockIdMaxExtrinsicIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_EXTRINSIC_ID_DESC', - PolyxTransactionsByCreatedBlockIdMaxIdentityIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_IDENTITY_ID_ASC', - PolyxTransactionsByCreatedBlockIdMaxIdentityIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_IDENTITY_ID_DESC', - PolyxTransactionsByCreatedBlockIdMaxIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_ID_ASC', - PolyxTransactionsByCreatedBlockIdMaxIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_ID_DESC', - PolyxTransactionsByCreatedBlockIdMaxMemoAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_MEMO_ASC', - PolyxTransactionsByCreatedBlockIdMaxMemoDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_MEMO_DESC', - PolyxTransactionsByCreatedBlockIdMaxModuleIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_MODULE_ID_ASC', - PolyxTransactionsByCreatedBlockIdMaxModuleIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_MODULE_ID_DESC', - PolyxTransactionsByCreatedBlockIdMaxToAddressAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_TO_ADDRESS_ASC', - PolyxTransactionsByCreatedBlockIdMaxToAddressDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_TO_ADDRESS_DESC', - PolyxTransactionsByCreatedBlockIdMaxToIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_TO_ID_ASC', - PolyxTransactionsByCreatedBlockIdMaxToIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_TO_ID_DESC', - PolyxTransactionsByCreatedBlockIdMaxTypeAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_TYPE_ASC', - PolyxTransactionsByCreatedBlockIdMaxTypeDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_TYPE_DESC', - PolyxTransactionsByCreatedBlockIdMaxUpdatedAtAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - PolyxTransactionsByCreatedBlockIdMaxUpdatedAtDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - PolyxTransactionsByCreatedBlockIdMaxUpdatedBlockIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - PolyxTransactionsByCreatedBlockIdMaxUpdatedBlockIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - PolyxTransactionsByCreatedBlockIdMinAddressAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_ADDRESS_ASC', - PolyxTransactionsByCreatedBlockIdMinAddressDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_ADDRESS_DESC', - PolyxTransactionsByCreatedBlockIdMinAmountAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_AMOUNT_ASC', - PolyxTransactionsByCreatedBlockIdMinAmountDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_AMOUNT_DESC', - PolyxTransactionsByCreatedBlockIdMinCallIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_CALL_ID_ASC', - PolyxTransactionsByCreatedBlockIdMinCallIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_CALL_ID_DESC', - PolyxTransactionsByCreatedBlockIdMinCreatedAtAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_ASC', - PolyxTransactionsByCreatedBlockIdMinCreatedAtDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_DESC', - PolyxTransactionsByCreatedBlockIdMinCreatedBlockIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - PolyxTransactionsByCreatedBlockIdMinCreatedBlockIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - PolyxTransactionsByCreatedBlockIdMinDatetimeAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_DATETIME_ASC', - PolyxTransactionsByCreatedBlockIdMinDatetimeDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_DATETIME_DESC', - PolyxTransactionsByCreatedBlockIdMinEventIdxAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_EVENT_IDX_ASC', - PolyxTransactionsByCreatedBlockIdMinEventIdxDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_EVENT_IDX_DESC', - PolyxTransactionsByCreatedBlockIdMinEventIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_EVENT_ID_ASC', - PolyxTransactionsByCreatedBlockIdMinEventIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_EVENT_ID_DESC', - PolyxTransactionsByCreatedBlockIdMinExtrinsicIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_EXTRINSIC_ID_ASC', - PolyxTransactionsByCreatedBlockIdMinExtrinsicIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_EXTRINSIC_ID_DESC', - PolyxTransactionsByCreatedBlockIdMinIdentityIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_IDENTITY_ID_ASC', - PolyxTransactionsByCreatedBlockIdMinIdentityIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_IDENTITY_ID_DESC', - PolyxTransactionsByCreatedBlockIdMinIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_ID_ASC', - PolyxTransactionsByCreatedBlockIdMinIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_ID_DESC', - PolyxTransactionsByCreatedBlockIdMinMemoAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_MEMO_ASC', - PolyxTransactionsByCreatedBlockIdMinMemoDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_MEMO_DESC', - PolyxTransactionsByCreatedBlockIdMinModuleIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_MODULE_ID_ASC', - PolyxTransactionsByCreatedBlockIdMinModuleIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_MODULE_ID_DESC', - PolyxTransactionsByCreatedBlockIdMinToAddressAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_TO_ADDRESS_ASC', - PolyxTransactionsByCreatedBlockIdMinToAddressDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_TO_ADDRESS_DESC', - PolyxTransactionsByCreatedBlockIdMinToIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_TO_ID_ASC', - PolyxTransactionsByCreatedBlockIdMinToIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_TO_ID_DESC', - PolyxTransactionsByCreatedBlockIdMinTypeAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_TYPE_ASC', - PolyxTransactionsByCreatedBlockIdMinTypeDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_TYPE_DESC', - PolyxTransactionsByCreatedBlockIdMinUpdatedAtAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - PolyxTransactionsByCreatedBlockIdMinUpdatedAtDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - PolyxTransactionsByCreatedBlockIdMinUpdatedBlockIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - PolyxTransactionsByCreatedBlockIdMinUpdatedBlockIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - PolyxTransactionsByCreatedBlockIdStddevPopulationAddressAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ADDRESS_ASC', - PolyxTransactionsByCreatedBlockIdStddevPopulationAddressDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ADDRESS_DESC', - PolyxTransactionsByCreatedBlockIdStddevPopulationAmountAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_AMOUNT_ASC', - PolyxTransactionsByCreatedBlockIdStddevPopulationAmountDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_AMOUNT_DESC', - PolyxTransactionsByCreatedBlockIdStddevPopulationCallIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CALL_ID_ASC', - PolyxTransactionsByCreatedBlockIdStddevPopulationCallIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CALL_ID_DESC', - PolyxTransactionsByCreatedBlockIdStddevPopulationCreatedAtAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - PolyxTransactionsByCreatedBlockIdStddevPopulationCreatedAtDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - PolyxTransactionsByCreatedBlockIdStddevPopulationCreatedBlockIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - PolyxTransactionsByCreatedBlockIdStddevPopulationCreatedBlockIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - PolyxTransactionsByCreatedBlockIdStddevPopulationDatetimeAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_DATETIME_ASC', - PolyxTransactionsByCreatedBlockIdStddevPopulationDatetimeDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_DATETIME_DESC', - PolyxTransactionsByCreatedBlockIdStddevPopulationEventIdxAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_ASC', - PolyxTransactionsByCreatedBlockIdStddevPopulationEventIdxDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_DESC', - PolyxTransactionsByCreatedBlockIdStddevPopulationEventIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_ID_ASC', - PolyxTransactionsByCreatedBlockIdStddevPopulationEventIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_ID_DESC', - PolyxTransactionsByCreatedBlockIdStddevPopulationExtrinsicIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EXTRINSIC_ID_ASC', - PolyxTransactionsByCreatedBlockIdStddevPopulationExtrinsicIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EXTRINSIC_ID_DESC', - PolyxTransactionsByCreatedBlockIdStddevPopulationIdentityIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_IDENTITY_ID_ASC', - PolyxTransactionsByCreatedBlockIdStddevPopulationIdentityIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_IDENTITY_ID_DESC', - PolyxTransactionsByCreatedBlockIdStddevPopulationIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - PolyxTransactionsByCreatedBlockIdStddevPopulationIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - PolyxTransactionsByCreatedBlockIdStddevPopulationMemoAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_MEMO_ASC', - PolyxTransactionsByCreatedBlockIdStddevPopulationMemoDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_MEMO_DESC', - PolyxTransactionsByCreatedBlockIdStddevPopulationModuleIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_MODULE_ID_ASC', - PolyxTransactionsByCreatedBlockIdStddevPopulationModuleIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_MODULE_ID_DESC', - PolyxTransactionsByCreatedBlockIdStddevPopulationToAddressAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TO_ADDRESS_ASC', - PolyxTransactionsByCreatedBlockIdStddevPopulationToAddressDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TO_ADDRESS_DESC', - PolyxTransactionsByCreatedBlockIdStddevPopulationToIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TO_ID_ASC', - PolyxTransactionsByCreatedBlockIdStddevPopulationToIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TO_ID_DESC', - PolyxTransactionsByCreatedBlockIdStddevPopulationTypeAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TYPE_ASC', - PolyxTransactionsByCreatedBlockIdStddevPopulationTypeDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TYPE_DESC', - PolyxTransactionsByCreatedBlockIdStddevPopulationUpdatedAtAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - PolyxTransactionsByCreatedBlockIdStddevPopulationUpdatedAtDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - PolyxTransactionsByCreatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - PolyxTransactionsByCreatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - PolyxTransactionsByCreatedBlockIdStddevSampleAddressAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ADDRESS_ASC', - PolyxTransactionsByCreatedBlockIdStddevSampleAddressDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ADDRESS_DESC', - PolyxTransactionsByCreatedBlockIdStddevSampleAmountAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_AMOUNT_ASC', - PolyxTransactionsByCreatedBlockIdStddevSampleAmountDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_AMOUNT_DESC', - PolyxTransactionsByCreatedBlockIdStddevSampleCallIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CALL_ID_ASC', - PolyxTransactionsByCreatedBlockIdStddevSampleCallIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CALL_ID_DESC', - PolyxTransactionsByCreatedBlockIdStddevSampleCreatedAtAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - PolyxTransactionsByCreatedBlockIdStddevSampleCreatedAtDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - PolyxTransactionsByCreatedBlockIdStddevSampleCreatedBlockIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - PolyxTransactionsByCreatedBlockIdStddevSampleCreatedBlockIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - PolyxTransactionsByCreatedBlockIdStddevSampleDatetimeAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_DATETIME_ASC', - PolyxTransactionsByCreatedBlockIdStddevSampleDatetimeDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_DATETIME_DESC', - PolyxTransactionsByCreatedBlockIdStddevSampleEventIdxAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', - PolyxTransactionsByCreatedBlockIdStddevSampleEventIdxDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', - PolyxTransactionsByCreatedBlockIdStddevSampleEventIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_ID_ASC', - PolyxTransactionsByCreatedBlockIdStddevSampleEventIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_ID_DESC', - PolyxTransactionsByCreatedBlockIdStddevSampleExtrinsicIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EXTRINSIC_ID_ASC', - PolyxTransactionsByCreatedBlockIdStddevSampleExtrinsicIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EXTRINSIC_ID_DESC', - PolyxTransactionsByCreatedBlockIdStddevSampleIdentityIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_IDENTITY_ID_ASC', - PolyxTransactionsByCreatedBlockIdStddevSampleIdentityIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_IDENTITY_ID_DESC', - PolyxTransactionsByCreatedBlockIdStddevSampleIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - PolyxTransactionsByCreatedBlockIdStddevSampleIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - PolyxTransactionsByCreatedBlockIdStddevSampleMemoAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_MEMO_ASC', - PolyxTransactionsByCreatedBlockIdStddevSampleMemoDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_MEMO_DESC', - PolyxTransactionsByCreatedBlockIdStddevSampleModuleIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_MODULE_ID_ASC', - PolyxTransactionsByCreatedBlockIdStddevSampleModuleIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_MODULE_ID_DESC', - PolyxTransactionsByCreatedBlockIdStddevSampleToAddressAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TO_ADDRESS_ASC', - PolyxTransactionsByCreatedBlockIdStddevSampleToAddressDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TO_ADDRESS_DESC', - PolyxTransactionsByCreatedBlockIdStddevSampleToIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TO_ID_ASC', - PolyxTransactionsByCreatedBlockIdStddevSampleToIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TO_ID_DESC', - PolyxTransactionsByCreatedBlockIdStddevSampleTypeAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TYPE_ASC', - PolyxTransactionsByCreatedBlockIdStddevSampleTypeDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TYPE_DESC', - PolyxTransactionsByCreatedBlockIdStddevSampleUpdatedAtAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - PolyxTransactionsByCreatedBlockIdStddevSampleUpdatedAtDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - PolyxTransactionsByCreatedBlockIdStddevSampleUpdatedBlockIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - PolyxTransactionsByCreatedBlockIdStddevSampleUpdatedBlockIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - PolyxTransactionsByCreatedBlockIdSumAddressAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_ADDRESS_ASC', - PolyxTransactionsByCreatedBlockIdSumAddressDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_ADDRESS_DESC', - PolyxTransactionsByCreatedBlockIdSumAmountAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_AMOUNT_ASC', - PolyxTransactionsByCreatedBlockIdSumAmountDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_AMOUNT_DESC', - PolyxTransactionsByCreatedBlockIdSumCallIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_CALL_ID_ASC', - PolyxTransactionsByCreatedBlockIdSumCallIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_CALL_ID_DESC', - PolyxTransactionsByCreatedBlockIdSumCreatedAtAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_ASC', - PolyxTransactionsByCreatedBlockIdSumCreatedAtDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_DESC', - PolyxTransactionsByCreatedBlockIdSumCreatedBlockIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - PolyxTransactionsByCreatedBlockIdSumCreatedBlockIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - PolyxTransactionsByCreatedBlockIdSumDatetimeAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_DATETIME_ASC', - PolyxTransactionsByCreatedBlockIdSumDatetimeDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_DATETIME_DESC', - PolyxTransactionsByCreatedBlockIdSumEventIdxAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_EVENT_IDX_ASC', - PolyxTransactionsByCreatedBlockIdSumEventIdxDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_EVENT_IDX_DESC', - PolyxTransactionsByCreatedBlockIdSumEventIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_EVENT_ID_ASC', - PolyxTransactionsByCreatedBlockIdSumEventIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_EVENT_ID_DESC', - PolyxTransactionsByCreatedBlockIdSumExtrinsicIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_EXTRINSIC_ID_ASC', - PolyxTransactionsByCreatedBlockIdSumExtrinsicIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_EXTRINSIC_ID_DESC', - PolyxTransactionsByCreatedBlockIdSumIdentityIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_IDENTITY_ID_ASC', - PolyxTransactionsByCreatedBlockIdSumIdentityIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_IDENTITY_ID_DESC', - PolyxTransactionsByCreatedBlockIdSumIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_ID_ASC', - PolyxTransactionsByCreatedBlockIdSumIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_ID_DESC', - PolyxTransactionsByCreatedBlockIdSumMemoAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_MEMO_ASC', - PolyxTransactionsByCreatedBlockIdSumMemoDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_MEMO_DESC', - PolyxTransactionsByCreatedBlockIdSumModuleIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_MODULE_ID_ASC', - PolyxTransactionsByCreatedBlockIdSumModuleIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_MODULE_ID_DESC', - PolyxTransactionsByCreatedBlockIdSumToAddressAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_TO_ADDRESS_ASC', - PolyxTransactionsByCreatedBlockIdSumToAddressDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_TO_ADDRESS_DESC', - PolyxTransactionsByCreatedBlockIdSumToIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_TO_ID_ASC', - PolyxTransactionsByCreatedBlockIdSumToIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_TO_ID_DESC', - PolyxTransactionsByCreatedBlockIdSumTypeAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_TYPE_ASC', - PolyxTransactionsByCreatedBlockIdSumTypeDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_TYPE_DESC', - PolyxTransactionsByCreatedBlockIdSumUpdatedAtAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - PolyxTransactionsByCreatedBlockIdSumUpdatedAtDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - PolyxTransactionsByCreatedBlockIdSumUpdatedBlockIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - PolyxTransactionsByCreatedBlockIdSumUpdatedBlockIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - PolyxTransactionsByCreatedBlockIdVariancePopulationAddressAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ADDRESS_ASC', - PolyxTransactionsByCreatedBlockIdVariancePopulationAddressDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ADDRESS_DESC', - PolyxTransactionsByCreatedBlockIdVariancePopulationAmountAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_AMOUNT_ASC', - PolyxTransactionsByCreatedBlockIdVariancePopulationAmountDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_AMOUNT_DESC', - PolyxTransactionsByCreatedBlockIdVariancePopulationCallIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CALL_ID_ASC', - PolyxTransactionsByCreatedBlockIdVariancePopulationCallIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CALL_ID_DESC', - PolyxTransactionsByCreatedBlockIdVariancePopulationCreatedAtAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - PolyxTransactionsByCreatedBlockIdVariancePopulationCreatedAtDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - PolyxTransactionsByCreatedBlockIdVariancePopulationCreatedBlockIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - PolyxTransactionsByCreatedBlockIdVariancePopulationCreatedBlockIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - PolyxTransactionsByCreatedBlockIdVariancePopulationDatetimeAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_DATETIME_ASC', - PolyxTransactionsByCreatedBlockIdVariancePopulationDatetimeDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_DATETIME_DESC', - PolyxTransactionsByCreatedBlockIdVariancePopulationEventIdxAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', - PolyxTransactionsByCreatedBlockIdVariancePopulationEventIdxDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', - PolyxTransactionsByCreatedBlockIdVariancePopulationEventIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_ID_ASC', - PolyxTransactionsByCreatedBlockIdVariancePopulationEventIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_ID_DESC', - PolyxTransactionsByCreatedBlockIdVariancePopulationExtrinsicIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EXTRINSIC_ID_ASC', - PolyxTransactionsByCreatedBlockIdVariancePopulationExtrinsicIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EXTRINSIC_ID_DESC', - PolyxTransactionsByCreatedBlockIdVariancePopulationIdentityIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_IDENTITY_ID_ASC', - PolyxTransactionsByCreatedBlockIdVariancePopulationIdentityIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_IDENTITY_ID_DESC', - PolyxTransactionsByCreatedBlockIdVariancePopulationIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - PolyxTransactionsByCreatedBlockIdVariancePopulationIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - PolyxTransactionsByCreatedBlockIdVariancePopulationMemoAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_MEMO_ASC', - PolyxTransactionsByCreatedBlockIdVariancePopulationMemoDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_MEMO_DESC', - PolyxTransactionsByCreatedBlockIdVariancePopulationModuleIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_MODULE_ID_ASC', - PolyxTransactionsByCreatedBlockIdVariancePopulationModuleIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_MODULE_ID_DESC', - PolyxTransactionsByCreatedBlockIdVariancePopulationToAddressAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TO_ADDRESS_ASC', - PolyxTransactionsByCreatedBlockIdVariancePopulationToAddressDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TO_ADDRESS_DESC', - PolyxTransactionsByCreatedBlockIdVariancePopulationToIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TO_ID_ASC', - PolyxTransactionsByCreatedBlockIdVariancePopulationToIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TO_ID_DESC', - PolyxTransactionsByCreatedBlockIdVariancePopulationTypeAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TYPE_ASC', - PolyxTransactionsByCreatedBlockIdVariancePopulationTypeDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TYPE_DESC', - PolyxTransactionsByCreatedBlockIdVariancePopulationUpdatedAtAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - PolyxTransactionsByCreatedBlockIdVariancePopulationUpdatedAtDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - PolyxTransactionsByCreatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - PolyxTransactionsByCreatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - PolyxTransactionsByCreatedBlockIdVarianceSampleAddressAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ADDRESS_ASC', - PolyxTransactionsByCreatedBlockIdVarianceSampleAddressDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ADDRESS_DESC', - PolyxTransactionsByCreatedBlockIdVarianceSampleAmountAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_AMOUNT_ASC', - PolyxTransactionsByCreatedBlockIdVarianceSampleAmountDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_AMOUNT_DESC', - PolyxTransactionsByCreatedBlockIdVarianceSampleCallIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CALL_ID_ASC', - PolyxTransactionsByCreatedBlockIdVarianceSampleCallIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CALL_ID_DESC', - PolyxTransactionsByCreatedBlockIdVarianceSampleCreatedAtAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - PolyxTransactionsByCreatedBlockIdVarianceSampleCreatedAtDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - PolyxTransactionsByCreatedBlockIdVarianceSampleCreatedBlockIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - PolyxTransactionsByCreatedBlockIdVarianceSampleCreatedBlockIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - PolyxTransactionsByCreatedBlockIdVarianceSampleDatetimeAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_DATETIME_ASC', - PolyxTransactionsByCreatedBlockIdVarianceSampleDatetimeDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_DATETIME_DESC', - PolyxTransactionsByCreatedBlockIdVarianceSampleEventIdxAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', - PolyxTransactionsByCreatedBlockIdVarianceSampleEventIdxDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', - PolyxTransactionsByCreatedBlockIdVarianceSampleEventIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_ID_ASC', - PolyxTransactionsByCreatedBlockIdVarianceSampleEventIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_ID_DESC', - PolyxTransactionsByCreatedBlockIdVarianceSampleExtrinsicIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EXTRINSIC_ID_ASC', - PolyxTransactionsByCreatedBlockIdVarianceSampleExtrinsicIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EXTRINSIC_ID_DESC', - PolyxTransactionsByCreatedBlockIdVarianceSampleIdentityIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_IDENTITY_ID_ASC', - PolyxTransactionsByCreatedBlockIdVarianceSampleIdentityIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_IDENTITY_ID_DESC', - PolyxTransactionsByCreatedBlockIdVarianceSampleIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - PolyxTransactionsByCreatedBlockIdVarianceSampleIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - PolyxTransactionsByCreatedBlockIdVarianceSampleMemoAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_MEMO_ASC', - PolyxTransactionsByCreatedBlockIdVarianceSampleMemoDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_MEMO_DESC', - PolyxTransactionsByCreatedBlockIdVarianceSampleModuleIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_MODULE_ID_ASC', - PolyxTransactionsByCreatedBlockIdVarianceSampleModuleIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_MODULE_ID_DESC', - PolyxTransactionsByCreatedBlockIdVarianceSampleToAddressAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TO_ADDRESS_ASC', - PolyxTransactionsByCreatedBlockIdVarianceSampleToAddressDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TO_ADDRESS_DESC', - PolyxTransactionsByCreatedBlockIdVarianceSampleToIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TO_ID_ASC', - PolyxTransactionsByCreatedBlockIdVarianceSampleToIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TO_ID_DESC', - PolyxTransactionsByCreatedBlockIdVarianceSampleTypeAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TYPE_ASC', - PolyxTransactionsByCreatedBlockIdVarianceSampleTypeDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TYPE_DESC', - PolyxTransactionsByCreatedBlockIdVarianceSampleUpdatedAtAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - PolyxTransactionsByCreatedBlockIdVarianceSampleUpdatedAtDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - PolyxTransactionsByCreatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - PolyxTransactionsByCreatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'POLYX_TRANSACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - PolyxTransactionsByUpdatedBlockIdAverageAddressAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_ADDRESS_ASC', - PolyxTransactionsByUpdatedBlockIdAverageAddressDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_ADDRESS_DESC', - PolyxTransactionsByUpdatedBlockIdAverageAmountAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_AMOUNT_ASC', - PolyxTransactionsByUpdatedBlockIdAverageAmountDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_AMOUNT_DESC', - PolyxTransactionsByUpdatedBlockIdAverageCallIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_CALL_ID_ASC', - PolyxTransactionsByUpdatedBlockIdAverageCallIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_CALL_ID_DESC', - PolyxTransactionsByUpdatedBlockIdAverageCreatedAtAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - PolyxTransactionsByUpdatedBlockIdAverageCreatedAtDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - PolyxTransactionsByUpdatedBlockIdAverageCreatedBlockIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - PolyxTransactionsByUpdatedBlockIdAverageCreatedBlockIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - PolyxTransactionsByUpdatedBlockIdAverageDatetimeAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_DATETIME_ASC', - PolyxTransactionsByUpdatedBlockIdAverageDatetimeDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_DATETIME_DESC', - PolyxTransactionsByUpdatedBlockIdAverageEventIdxAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_IDX_ASC', - PolyxTransactionsByUpdatedBlockIdAverageEventIdxDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_IDX_DESC', - PolyxTransactionsByUpdatedBlockIdAverageEventIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_ID_ASC', - PolyxTransactionsByUpdatedBlockIdAverageEventIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_ID_DESC', - PolyxTransactionsByUpdatedBlockIdAverageExtrinsicIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_EXTRINSIC_ID_ASC', - PolyxTransactionsByUpdatedBlockIdAverageExtrinsicIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_EXTRINSIC_ID_DESC', - PolyxTransactionsByUpdatedBlockIdAverageIdentityIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_IDENTITY_ID_ASC', - PolyxTransactionsByUpdatedBlockIdAverageIdentityIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_IDENTITY_ID_DESC', - PolyxTransactionsByUpdatedBlockIdAverageIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_ASC', - PolyxTransactionsByUpdatedBlockIdAverageIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_DESC', - PolyxTransactionsByUpdatedBlockIdAverageMemoAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_MEMO_ASC', - PolyxTransactionsByUpdatedBlockIdAverageMemoDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_MEMO_DESC', - PolyxTransactionsByUpdatedBlockIdAverageModuleIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_MODULE_ID_ASC', - PolyxTransactionsByUpdatedBlockIdAverageModuleIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_MODULE_ID_DESC', - PolyxTransactionsByUpdatedBlockIdAverageToAddressAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_TO_ADDRESS_ASC', - PolyxTransactionsByUpdatedBlockIdAverageToAddressDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_TO_ADDRESS_DESC', - PolyxTransactionsByUpdatedBlockIdAverageToIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_TO_ID_ASC', - PolyxTransactionsByUpdatedBlockIdAverageToIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_TO_ID_DESC', - PolyxTransactionsByUpdatedBlockIdAverageTypeAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_TYPE_ASC', - PolyxTransactionsByUpdatedBlockIdAverageTypeDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_TYPE_DESC', - PolyxTransactionsByUpdatedBlockIdAverageUpdatedAtAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - PolyxTransactionsByUpdatedBlockIdAverageUpdatedAtDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - PolyxTransactionsByUpdatedBlockIdAverageUpdatedBlockIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - PolyxTransactionsByUpdatedBlockIdAverageUpdatedBlockIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - PolyxTransactionsByUpdatedBlockIdCountAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_COUNT_ASC', - PolyxTransactionsByUpdatedBlockIdCountDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_COUNT_DESC', - PolyxTransactionsByUpdatedBlockIdDistinctCountAddressAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ADDRESS_ASC', - PolyxTransactionsByUpdatedBlockIdDistinctCountAddressDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ADDRESS_DESC', - PolyxTransactionsByUpdatedBlockIdDistinctCountAmountAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_AMOUNT_ASC', - PolyxTransactionsByUpdatedBlockIdDistinctCountAmountDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_AMOUNT_DESC', - PolyxTransactionsByUpdatedBlockIdDistinctCountCallIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CALL_ID_ASC', - PolyxTransactionsByUpdatedBlockIdDistinctCountCallIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CALL_ID_DESC', - PolyxTransactionsByUpdatedBlockIdDistinctCountCreatedAtAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - PolyxTransactionsByUpdatedBlockIdDistinctCountCreatedAtDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - PolyxTransactionsByUpdatedBlockIdDistinctCountCreatedBlockIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - PolyxTransactionsByUpdatedBlockIdDistinctCountCreatedBlockIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - PolyxTransactionsByUpdatedBlockIdDistinctCountDatetimeAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_ASC', - PolyxTransactionsByUpdatedBlockIdDistinctCountDatetimeDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_DESC', - PolyxTransactionsByUpdatedBlockIdDistinctCountEventIdxAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_ASC', - PolyxTransactionsByUpdatedBlockIdDistinctCountEventIdxDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_DESC', - PolyxTransactionsByUpdatedBlockIdDistinctCountEventIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_ID_ASC', - PolyxTransactionsByUpdatedBlockIdDistinctCountEventIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_ID_DESC', - PolyxTransactionsByUpdatedBlockIdDistinctCountExtrinsicIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EXTRINSIC_ID_ASC', - PolyxTransactionsByUpdatedBlockIdDistinctCountExtrinsicIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EXTRINSIC_ID_DESC', - PolyxTransactionsByUpdatedBlockIdDistinctCountIdentityIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_IDENTITY_ID_ASC', - PolyxTransactionsByUpdatedBlockIdDistinctCountIdentityIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_IDENTITY_ID_DESC', - PolyxTransactionsByUpdatedBlockIdDistinctCountIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - PolyxTransactionsByUpdatedBlockIdDistinctCountIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - PolyxTransactionsByUpdatedBlockIdDistinctCountMemoAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_MEMO_ASC', - PolyxTransactionsByUpdatedBlockIdDistinctCountMemoDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_MEMO_DESC', - PolyxTransactionsByUpdatedBlockIdDistinctCountModuleIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_MODULE_ID_ASC', - PolyxTransactionsByUpdatedBlockIdDistinctCountModuleIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_MODULE_ID_DESC', - PolyxTransactionsByUpdatedBlockIdDistinctCountToAddressAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TO_ADDRESS_ASC', - PolyxTransactionsByUpdatedBlockIdDistinctCountToAddressDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TO_ADDRESS_DESC', - PolyxTransactionsByUpdatedBlockIdDistinctCountToIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TO_ID_ASC', - PolyxTransactionsByUpdatedBlockIdDistinctCountToIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TO_ID_DESC', - PolyxTransactionsByUpdatedBlockIdDistinctCountTypeAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TYPE_ASC', - PolyxTransactionsByUpdatedBlockIdDistinctCountTypeDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TYPE_DESC', - PolyxTransactionsByUpdatedBlockIdDistinctCountUpdatedAtAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - PolyxTransactionsByUpdatedBlockIdDistinctCountUpdatedAtDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - PolyxTransactionsByUpdatedBlockIdDistinctCountUpdatedBlockIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - PolyxTransactionsByUpdatedBlockIdDistinctCountUpdatedBlockIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - PolyxTransactionsByUpdatedBlockIdMaxAddressAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_ADDRESS_ASC', - PolyxTransactionsByUpdatedBlockIdMaxAddressDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_ADDRESS_DESC', - PolyxTransactionsByUpdatedBlockIdMaxAmountAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_AMOUNT_ASC', - PolyxTransactionsByUpdatedBlockIdMaxAmountDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_AMOUNT_DESC', - PolyxTransactionsByUpdatedBlockIdMaxCallIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_CALL_ID_ASC', - PolyxTransactionsByUpdatedBlockIdMaxCallIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_CALL_ID_DESC', - PolyxTransactionsByUpdatedBlockIdMaxCreatedAtAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_ASC', - PolyxTransactionsByUpdatedBlockIdMaxCreatedAtDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_DESC', - PolyxTransactionsByUpdatedBlockIdMaxCreatedBlockIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - PolyxTransactionsByUpdatedBlockIdMaxCreatedBlockIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - PolyxTransactionsByUpdatedBlockIdMaxDatetimeAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_DATETIME_ASC', - PolyxTransactionsByUpdatedBlockIdMaxDatetimeDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_DATETIME_DESC', - PolyxTransactionsByUpdatedBlockIdMaxEventIdxAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_EVENT_IDX_ASC', - PolyxTransactionsByUpdatedBlockIdMaxEventIdxDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_EVENT_IDX_DESC', - PolyxTransactionsByUpdatedBlockIdMaxEventIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_EVENT_ID_ASC', - PolyxTransactionsByUpdatedBlockIdMaxEventIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_EVENT_ID_DESC', - PolyxTransactionsByUpdatedBlockIdMaxExtrinsicIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_EXTRINSIC_ID_ASC', - PolyxTransactionsByUpdatedBlockIdMaxExtrinsicIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_EXTRINSIC_ID_DESC', - PolyxTransactionsByUpdatedBlockIdMaxIdentityIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_IDENTITY_ID_ASC', - PolyxTransactionsByUpdatedBlockIdMaxIdentityIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_IDENTITY_ID_DESC', - PolyxTransactionsByUpdatedBlockIdMaxIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_ID_ASC', - PolyxTransactionsByUpdatedBlockIdMaxIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_ID_DESC', - PolyxTransactionsByUpdatedBlockIdMaxMemoAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_MEMO_ASC', - PolyxTransactionsByUpdatedBlockIdMaxMemoDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_MEMO_DESC', - PolyxTransactionsByUpdatedBlockIdMaxModuleIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_MODULE_ID_ASC', - PolyxTransactionsByUpdatedBlockIdMaxModuleIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_MODULE_ID_DESC', - PolyxTransactionsByUpdatedBlockIdMaxToAddressAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_TO_ADDRESS_ASC', - PolyxTransactionsByUpdatedBlockIdMaxToAddressDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_TO_ADDRESS_DESC', - PolyxTransactionsByUpdatedBlockIdMaxToIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_TO_ID_ASC', - PolyxTransactionsByUpdatedBlockIdMaxToIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_TO_ID_DESC', - PolyxTransactionsByUpdatedBlockIdMaxTypeAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_TYPE_ASC', - PolyxTransactionsByUpdatedBlockIdMaxTypeDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_TYPE_DESC', - PolyxTransactionsByUpdatedBlockIdMaxUpdatedAtAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - PolyxTransactionsByUpdatedBlockIdMaxUpdatedAtDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - PolyxTransactionsByUpdatedBlockIdMaxUpdatedBlockIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - PolyxTransactionsByUpdatedBlockIdMaxUpdatedBlockIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - PolyxTransactionsByUpdatedBlockIdMinAddressAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_ADDRESS_ASC', - PolyxTransactionsByUpdatedBlockIdMinAddressDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_ADDRESS_DESC', - PolyxTransactionsByUpdatedBlockIdMinAmountAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_AMOUNT_ASC', - PolyxTransactionsByUpdatedBlockIdMinAmountDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_AMOUNT_DESC', - PolyxTransactionsByUpdatedBlockIdMinCallIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_CALL_ID_ASC', - PolyxTransactionsByUpdatedBlockIdMinCallIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_CALL_ID_DESC', - PolyxTransactionsByUpdatedBlockIdMinCreatedAtAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_ASC', - PolyxTransactionsByUpdatedBlockIdMinCreatedAtDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_DESC', - PolyxTransactionsByUpdatedBlockIdMinCreatedBlockIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - PolyxTransactionsByUpdatedBlockIdMinCreatedBlockIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - PolyxTransactionsByUpdatedBlockIdMinDatetimeAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_DATETIME_ASC', - PolyxTransactionsByUpdatedBlockIdMinDatetimeDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_DATETIME_DESC', - PolyxTransactionsByUpdatedBlockIdMinEventIdxAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_EVENT_IDX_ASC', - PolyxTransactionsByUpdatedBlockIdMinEventIdxDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_EVENT_IDX_DESC', - PolyxTransactionsByUpdatedBlockIdMinEventIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_EVENT_ID_ASC', - PolyxTransactionsByUpdatedBlockIdMinEventIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_EVENT_ID_DESC', - PolyxTransactionsByUpdatedBlockIdMinExtrinsicIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_EXTRINSIC_ID_ASC', - PolyxTransactionsByUpdatedBlockIdMinExtrinsicIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_EXTRINSIC_ID_DESC', - PolyxTransactionsByUpdatedBlockIdMinIdentityIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_IDENTITY_ID_ASC', - PolyxTransactionsByUpdatedBlockIdMinIdentityIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_IDENTITY_ID_DESC', - PolyxTransactionsByUpdatedBlockIdMinIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_ID_ASC', - PolyxTransactionsByUpdatedBlockIdMinIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_ID_DESC', - PolyxTransactionsByUpdatedBlockIdMinMemoAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_MEMO_ASC', - PolyxTransactionsByUpdatedBlockIdMinMemoDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_MEMO_DESC', - PolyxTransactionsByUpdatedBlockIdMinModuleIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_MODULE_ID_ASC', - PolyxTransactionsByUpdatedBlockIdMinModuleIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_MODULE_ID_DESC', - PolyxTransactionsByUpdatedBlockIdMinToAddressAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_TO_ADDRESS_ASC', - PolyxTransactionsByUpdatedBlockIdMinToAddressDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_TO_ADDRESS_DESC', - PolyxTransactionsByUpdatedBlockIdMinToIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_TO_ID_ASC', - PolyxTransactionsByUpdatedBlockIdMinToIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_TO_ID_DESC', - PolyxTransactionsByUpdatedBlockIdMinTypeAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_TYPE_ASC', - PolyxTransactionsByUpdatedBlockIdMinTypeDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_TYPE_DESC', - PolyxTransactionsByUpdatedBlockIdMinUpdatedAtAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - PolyxTransactionsByUpdatedBlockIdMinUpdatedAtDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - PolyxTransactionsByUpdatedBlockIdMinUpdatedBlockIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - PolyxTransactionsByUpdatedBlockIdMinUpdatedBlockIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - PolyxTransactionsByUpdatedBlockIdStddevPopulationAddressAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ADDRESS_ASC', - PolyxTransactionsByUpdatedBlockIdStddevPopulationAddressDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ADDRESS_DESC', - PolyxTransactionsByUpdatedBlockIdStddevPopulationAmountAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_AMOUNT_ASC', - PolyxTransactionsByUpdatedBlockIdStddevPopulationAmountDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_AMOUNT_DESC', - PolyxTransactionsByUpdatedBlockIdStddevPopulationCallIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CALL_ID_ASC', - PolyxTransactionsByUpdatedBlockIdStddevPopulationCallIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CALL_ID_DESC', - PolyxTransactionsByUpdatedBlockIdStddevPopulationCreatedAtAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - PolyxTransactionsByUpdatedBlockIdStddevPopulationCreatedAtDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - PolyxTransactionsByUpdatedBlockIdStddevPopulationCreatedBlockIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - PolyxTransactionsByUpdatedBlockIdStddevPopulationCreatedBlockIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - PolyxTransactionsByUpdatedBlockIdStddevPopulationDatetimeAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_DATETIME_ASC', - PolyxTransactionsByUpdatedBlockIdStddevPopulationDatetimeDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_DATETIME_DESC', - PolyxTransactionsByUpdatedBlockIdStddevPopulationEventIdxAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_ASC', - PolyxTransactionsByUpdatedBlockIdStddevPopulationEventIdxDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_DESC', - PolyxTransactionsByUpdatedBlockIdStddevPopulationEventIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_ID_ASC', - PolyxTransactionsByUpdatedBlockIdStddevPopulationEventIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_ID_DESC', - PolyxTransactionsByUpdatedBlockIdStddevPopulationExtrinsicIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EXTRINSIC_ID_ASC', - PolyxTransactionsByUpdatedBlockIdStddevPopulationExtrinsicIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EXTRINSIC_ID_DESC', - PolyxTransactionsByUpdatedBlockIdStddevPopulationIdentityIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_IDENTITY_ID_ASC', - PolyxTransactionsByUpdatedBlockIdStddevPopulationIdentityIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_IDENTITY_ID_DESC', - PolyxTransactionsByUpdatedBlockIdStddevPopulationIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - PolyxTransactionsByUpdatedBlockIdStddevPopulationIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - PolyxTransactionsByUpdatedBlockIdStddevPopulationMemoAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_MEMO_ASC', - PolyxTransactionsByUpdatedBlockIdStddevPopulationMemoDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_MEMO_DESC', - PolyxTransactionsByUpdatedBlockIdStddevPopulationModuleIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_MODULE_ID_ASC', - PolyxTransactionsByUpdatedBlockIdStddevPopulationModuleIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_MODULE_ID_DESC', - PolyxTransactionsByUpdatedBlockIdStddevPopulationToAddressAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TO_ADDRESS_ASC', - PolyxTransactionsByUpdatedBlockIdStddevPopulationToAddressDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TO_ADDRESS_DESC', - PolyxTransactionsByUpdatedBlockIdStddevPopulationToIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TO_ID_ASC', - PolyxTransactionsByUpdatedBlockIdStddevPopulationToIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TO_ID_DESC', - PolyxTransactionsByUpdatedBlockIdStddevPopulationTypeAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TYPE_ASC', - PolyxTransactionsByUpdatedBlockIdStddevPopulationTypeDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TYPE_DESC', - PolyxTransactionsByUpdatedBlockIdStddevPopulationUpdatedAtAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - PolyxTransactionsByUpdatedBlockIdStddevPopulationUpdatedAtDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - PolyxTransactionsByUpdatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - PolyxTransactionsByUpdatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - PolyxTransactionsByUpdatedBlockIdStddevSampleAddressAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ADDRESS_ASC', - PolyxTransactionsByUpdatedBlockIdStddevSampleAddressDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ADDRESS_DESC', - PolyxTransactionsByUpdatedBlockIdStddevSampleAmountAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_AMOUNT_ASC', - PolyxTransactionsByUpdatedBlockIdStddevSampleAmountDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_AMOUNT_DESC', - PolyxTransactionsByUpdatedBlockIdStddevSampleCallIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CALL_ID_ASC', - PolyxTransactionsByUpdatedBlockIdStddevSampleCallIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CALL_ID_DESC', - PolyxTransactionsByUpdatedBlockIdStddevSampleCreatedAtAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - PolyxTransactionsByUpdatedBlockIdStddevSampleCreatedAtDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - PolyxTransactionsByUpdatedBlockIdStddevSampleCreatedBlockIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - PolyxTransactionsByUpdatedBlockIdStddevSampleCreatedBlockIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - PolyxTransactionsByUpdatedBlockIdStddevSampleDatetimeAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_DATETIME_ASC', - PolyxTransactionsByUpdatedBlockIdStddevSampleDatetimeDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_DATETIME_DESC', - PolyxTransactionsByUpdatedBlockIdStddevSampleEventIdxAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', - PolyxTransactionsByUpdatedBlockIdStddevSampleEventIdxDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', - PolyxTransactionsByUpdatedBlockIdStddevSampleEventIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_ID_ASC', - PolyxTransactionsByUpdatedBlockIdStddevSampleEventIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_ID_DESC', - PolyxTransactionsByUpdatedBlockIdStddevSampleExtrinsicIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EXTRINSIC_ID_ASC', - PolyxTransactionsByUpdatedBlockIdStddevSampleExtrinsicIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EXTRINSIC_ID_DESC', - PolyxTransactionsByUpdatedBlockIdStddevSampleIdentityIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_IDENTITY_ID_ASC', - PolyxTransactionsByUpdatedBlockIdStddevSampleIdentityIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_IDENTITY_ID_DESC', - PolyxTransactionsByUpdatedBlockIdStddevSampleIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - PolyxTransactionsByUpdatedBlockIdStddevSampleIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - PolyxTransactionsByUpdatedBlockIdStddevSampleMemoAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_MEMO_ASC', - PolyxTransactionsByUpdatedBlockIdStddevSampleMemoDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_MEMO_DESC', - PolyxTransactionsByUpdatedBlockIdStddevSampleModuleIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_MODULE_ID_ASC', - PolyxTransactionsByUpdatedBlockIdStddevSampleModuleIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_MODULE_ID_DESC', - PolyxTransactionsByUpdatedBlockIdStddevSampleToAddressAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TO_ADDRESS_ASC', - PolyxTransactionsByUpdatedBlockIdStddevSampleToAddressDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TO_ADDRESS_DESC', - PolyxTransactionsByUpdatedBlockIdStddevSampleToIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TO_ID_ASC', - PolyxTransactionsByUpdatedBlockIdStddevSampleToIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TO_ID_DESC', - PolyxTransactionsByUpdatedBlockIdStddevSampleTypeAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TYPE_ASC', - PolyxTransactionsByUpdatedBlockIdStddevSampleTypeDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TYPE_DESC', - PolyxTransactionsByUpdatedBlockIdStddevSampleUpdatedAtAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - PolyxTransactionsByUpdatedBlockIdStddevSampleUpdatedAtDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - PolyxTransactionsByUpdatedBlockIdStddevSampleUpdatedBlockIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - PolyxTransactionsByUpdatedBlockIdStddevSampleUpdatedBlockIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - PolyxTransactionsByUpdatedBlockIdSumAddressAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_ADDRESS_ASC', - PolyxTransactionsByUpdatedBlockIdSumAddressDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_ADDRESS_DESC', - PolyxTransactionsByUpdatedBlockIdSumAmountAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_AMOUNT_ASC', - PolyxTransactionsByUpdatedBlockIdSumAmountDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_AMOUNT_DESC', - PolyxTransactionsByUpdatedBlockIdSumCallIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_CALL_ID_ASC', - PolyxTransactionsByUpdatedBlockIdSumCallIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_CALL_ID_DESC', - PolyxTransactionsByUpdatedBlockIdSumCreatedAtAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_ASC', - PolyxTransactionsByUpdatedBlockIdSumCreatedAtDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_DESC', - PolyxTransactionsByUpdatedBlockIdSumCreatedBlockIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - PolyxTransactionsByUpdatedBlockIdSumCreatedBlockIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - PolyxTransactionsByUpdatedBlockIdSumDatetimeAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_DATETIME_ASC', - PolyxTransactionsByUpdatedBlockIdSumDatetimeDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_DATETIME_DESC', - PolyxTransactionsByUpdatedBlockIdSumEventIdxAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_EVENT_IDX_ASC', - PolyxTransactionsByUpdatedBlockIdSumEventIdxDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_EVENT_IDX_DESC', - PolyxTransactionsByUpdatedBlockIdSumEventIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_EVENT_ID_ASC', - PolyxTransactionsByUpdatedBlockIdSumEventIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_EVENT_ID_DESC', - PolyxTransactionsByUpdatedBlockIdSumExtrinsicIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_EXTRINSIC_ID_ASC', - PolyxTransactionsByUpdatedBlockIdSumExtrinsicIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_EXTRINSIC_ID_DESC', - PolyxTransactionsByUpdatedBlockIdSumIdentityIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_IDENTITY_ID_ASC', - PolyxTransactionsByUpdatedBlockIdSumIdentityIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_IDENTITY_ID_DESC', - PolyxTransactionsByUpdatedBlockIdSumIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_ID_ASC', - PolyxTransactionsByUpdatedBlockIdSumIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_ID_DESC', - PolyxTransactionsByUpdatedBlockIdSumMemoAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_MEMO_ASC', - PolyxTransactionsByUpdatedBlockIdSumMemoDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_MEMO_DESC', - PolyxTransactionsByUpdatedBlockIdSumModuleIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_MODULE_ID_ASC', - PolyxTransactionsByUpdatedBlockIdSumModuleIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_MODULE_ID_DESC', - PolyxTransactionsByUpdatedBlockIdSumToAddressAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_TO_ADDRESS_ASC', - PolyxTransactionsByUpdatedBlockIdSumToAddressDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_TO_ADDRESS_DESC', - PolyxTransactionsByUpdatedBlockIdSumToIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_TO_ID_ASC', - PolyxTransactionsByUpdatedBlockIdSumToIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_TO_ID_DESC', - PolyxTransactionsByUpdatedBlockIdSumTypeAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_TYPE_ASC', - PolyxTransactionsByUpdatedBlockIdSumTypeDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_TYPE_DESC', - PolyxTransactionsByUpdatedBlockIdSumUpdatedAtAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - PolyxTransactionsByUpdatedBlockIdSumUpdatedAtDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - PolyxTransactionsByUpdatedBlockIdSumUpdatedBlockIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - PolyxTransactionsByUpdatedBlockIdSumUpdatedBlockIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - PolyxTransactionsByUpdatedBlockIdVariancePopulationAddressAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ADDRESS_ASC', - PolyxTransactionsByUpdatedBlockIdVariancePopulationAddressDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ADDRESS_DESC', - PolyxTransactionsByUpdatedBlockIdVariancePopulationAmountAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_AMOUNT_ASC', - PolyxTransactionsByUpdatedBlockIdVariancePopulationAmountDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_AMOUNT_DESC', - PolyxTransactionsByUpdatedBlockIdVariancePopulationCallIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CALL_ID_ASC', - PolyxTransactionsByUpdatedBlockIdVariancePopulationCallIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CALL_ID_DESC', - PolyxTransactionsByUpdatedBlockIdVariancePopulationCreatedAtAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - PolyxTransactionsByUpdatedBlockIdVariancePopulationCreatedAtDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - PolyxTransactionsByUpdatedBlockIdVariancePopulationCreatedBlockIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - PolyxTransactionsByUpdatedBlockIdVariancePopulationCreatedBlockIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - PolyxTransactionsByUpdatedBlockIdVariancePopulationDatetimeAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_DATETIME_ASC', - PolyxTransactionsByUpdatedBlockIdVariancePopulationDatetimeDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_DATETIME_DESC', - PolyxTransactionsByUpdatedBlockIdVariancePopulationEventIdxAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', - PolyxTransactionsByUpdatedBlockIdVariancePopulationEventIdxDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', - PolyxTransactionsByUpdatedBlockIdVariancePopulationEventIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_ID_ASC', - PolyxTransactionsByUpdatedBlockIdVariancePopulationEventIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_ID_DESC', - PolyxTransactionsByUpdatedBlockIdVariancePopulationExtrinsicIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EXTRINSIC_ID_ASC', - PolyxTransactionsByUpdatedBlockIdVariancePopulationExtrinsicIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EXTRINSIC_ID_DESC', - PolyxTransactionsByUpdatedBlockIdVariancePopulationIdentityIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_IDENTITY_ID_ASC', - PolyxTransactionsByUpdatedBlockIdVariancePopulationIdentityIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_IDENTITY_ID_DESC', - PolyxTransactionsByUpdatedBlockIdVariancePopulationIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - PolyxTransactionsByUpdatedBlockIdVariancePopulationIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - PolyxTransactionsByUpdatedBlockIdVariancePopulationMemoAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_MEMO_ASC', - PolyxTransactionsByUpdatedBlockIdVariancePopulationMemoDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_MEMO_DESC', - PolyxTransactionsByUpdatedBlockIdVariancePopulationModuleIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_MODULE_ID_ASC', - PolyxTransactionsByUpdatedBlockIdVariancePopulationModuleIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_MODULE_ID_DESC', - PolyxTransactionsByUpdatedBlockIdVariancePopulationToAddressAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TO_ADDRESS_ASC', - PolyxTransactionsByUpdatedBlockIdVariancePopulationToAddressDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TO_ADDRESS_DESC', - PolyxTransactionsByUpdatedBlockIdVariancePopulationToIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TO_ID_ASC', - PolyxTransactionsByUpdatedBlockIdVariancePopulationToIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TO_ID_DESC', - PolyxTransactionsByUpdatedBlockIdVariancePopulationTypeAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TYPE_ASC', - PolyxTransactionsByUpdatedBlockIdVariancePopulationTypeDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TYPE_DESC', - PolyxTransactionsByUpdatedBlockIdVariancePopulationUpdatedAtAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - PolyxTransactionsByUpdatedBlockIdVariancePopulationUpdatedAtDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - PolyxTransactionsByUpdatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - PolyxTransactionsByUpdatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - PolyxTransactionsByUpdatedBlockIdVarianceSampleAddressAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ADDRESS_ASC', - PolyxTransactionsByUpdatedBlockIdVarianceSampleAddressDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ADDRESS_DESC', - PolyxTransactionsByUpdatedBlockIdVarianceSampleAmountAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_AMOUNT_ASC', - PolyxTransactionsByUpdatedBlockIdVarianceSampleAmountDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_AMOUNT_DESC', - PolyxTransactionsByUpdatedBlockIdVarianceSampleCallIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CALL_ID_ASC', - PolyxTransactionsByUpdatedBlockIdVarianceSampleCallIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CALL_ID_DESC', - PolyxTransactionsByUpdatedBlockIdVarianceSampleCreatedAtAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - PolyxTransactionsByUpdatedBlockIdVarianceSampleCreatedAtDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - PolyxTransactionsByUpdatedBlockIdVarianceSampleCreatedBlockIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - PolyxTransactionsByUpdatedBlockIdVarianceSampleCreatedBlockIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - PolyxTransactionsByUpdatedBlockIdVarianceSampleDatetimeAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_DATETIME_ASC', - PolyxTransactionsByUpdatedBlockIdVarianceSampleDatetimeDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_DATETIME_DESC', - PolyxTransactionsByUpdatedBlockIdVarianceSampleEventIdxAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', - PolyxTransactionsByUpdatedBlockIdVarianceSampleEventIdxDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', - PolyxTransactionsByUpdatedBlockIdVarianceSampleEventIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_ID_ASC', - PolyxTransactionsByUpdatedBlockIdVarianceSampleEventIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_ID_DESC', - PolyxTransactionsByUpdatedBlockIdVarianceSampleExtrinsicIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EXTRINSIC_ID_ASC', - PolyxTransactionsByUpdatedBlockIdVarianceSampleExtrinsicIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EXTRINSIC_ID_DESC', - PolyxTransactionsByUpdatedBlockIdVarianceSampleIdentityIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_IDENTITY_ID_ASC', - PolyxTransactionsByUpdatedBlockIdVarianceSampleIdentityIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_IDENTITY_ID_DESC', - PolyxTransactionsByUpdatedBlockIdVarianceSampleIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - PolyxTransactionsByUpdatedBlockIdVarianceSampleIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - PolyxTransactionsByUpdatedBlockIdVarianceSampleMemoAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_MEMO_ASC', - PolyxTransactionsByUpdatedBlockIdVarianceSampleMemoDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_MEMO_DESC', - PolyxTransactionsByUpdatedBlockIdVarianceSampleModuleIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_MODULE_ID_ASC', - PolyxTransactionsByUpdatedBlockIdVarianceSampleModuleIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_MODULE_ID_DESC', - PolyxTransactionsByUpdatedBlockIdVarianceSampleToAddressAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TO_ADDRESS_ASC', - PolyxTransactionsByUpdatedBlockIdVarianceSampleToAddressDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TO_ADDRESS_DESC', - PolyxTransactionsByUpdatedBlockIdVarianceSampleToIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TO_ID_ASC', - PolyxTransactionsByUpdatedBlockIdVarianceSampleToIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TO_ID_DESC', - PolyxTransactionsByUpdatedBlockIdVarianceSampleTypeAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TYPE_ASC', - PolyxTransactionsByUpdatedBlockIdVarianceSampleTypeDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TYPE_DESC', - PolyxTransactionsByUpdatedBlockIdVarianceSampleUpdatedAtAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - PolyxTransactionsByUpdatedBlockIdVarianceSampleUpdatedAtDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - PolyxTransactionsByUpdatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - PolyxTransactionsByUpdatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'POLYX_TRANSACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - PortfoliosByCreatedBlockIdAverageCreatedAtAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - PortfoliosByCreatedBlockIdAverageCreatedAtDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - PortfoliosByCreatedBlockIdAverageCreatedBlockIdAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - PortfoliosByCreatedBlockIdAverageCreatedBlockIdDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - PortfoliosByCreatedBlockIdAverageCustodianIdAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_AVERAGE_CUSTODIAN_ID_ASC', - PortfoliosByCreatedBlockIdAverageCustodianIdDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_AVERAGE_CUSTODIAN_ID_DESC', - PortfoliosByCreatedBlockIdAverageDeletedAtAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_AVERAGE_DELETED_AT_ASC', - PortfoliosByCreatedBlockIdAverageDeletedAtDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_AVERAGE_DELETED_AT_DESC', - PortfoliosByCreatedBlockIdAverageEventIdxAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_IDX_ASC', - PortfoliosByCreatedBlockIdAverageEventIdxDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_IDX_DESC', - PortfoliosByCreatedBlockIdAverageIdentityIdAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_AVERAGE_IDENTITY_ID_ASC', - PortfoliosByCreatedBlockIdAverageIdentityIdDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_AVERAGE_IDENTITY_ID_DESC', - PortfoliosByCreatedBlockIdAverageIdAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_AVERAGE_ID_ASC', - PortfoliosByCreatedBlockIdAverageIdDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_AVERAGE_ID_DESC', - PortfoliosByCreatedBlockIdAverageNameAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_AVERAGE_NAME_ASC', - PortfoliosByCreatedBlockIdAverageNameDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_AVERAGE_NAME_DESC', - PortfoliosByCreatedBlockIdAverageNumberAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_AVERAGE_NUMBER_ASC', - PortfoliosByCreatedBlockIdAverageNumberDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_AVERAGE_NUMBER_DESC', - PortfoliosByCreatedBlockIdAverageUpdatedAtAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - PortfoliosByCreatedBlockIdAverageUpdatedAtDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - PortfoliosByCreatedBlockIdAverageUpdatedBlockIdAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - PortfoliosByCreatedBlockIdAverageUpdatedBlockIdDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - PortfoliosByCreatedBlockIdCountAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_COUNT_ASC', - PortfoliosByCreatedBlockIdCountDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_COUNT_DESC', - PortfoliosByCreatedBlockIdDistinctCountCreatedAtAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - PortfoliosByCreatedBlockIdDistinctCountCreatedAtDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - PortfoliosByCreatedBlockIdDistinctCountCreatedBlockIdAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - PortfoliosByCreatedBlockIdDistinctCountCreatedBlockIdDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - PortfoliosByCreatedBlockIdDistinctCountCustodianIdAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CUSTODIAN_ID_ASC', - PortfoliosByCreatedBlockIdDistinctCountCustodianIdDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CUSTODIAN_ID_DESC', - PortfoliosByCreatedBlockIdDistinctCountDeletedAtAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_DELETED_AT_ASC', - PortfoliosByCreatedBlockIdDistinctCountDeletedAtDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_DELETED_AT_DESC', - PortfoliosByCreatedBlockIdDistinctCountEventIdxAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_ASC', - PortfoliosByCreatedBlockIdDistinctCountEventIdxDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_DESC', - PortfoliosByCreatedBlockIdDistinctCountIdentityIdAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_IDENTITY_ID_ASC', - PortfoliosByCreatedBlockIdDistinctCountIdentityIdDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_IDENTITY_ID_DESC', - PortfoliosByCreatedBlockIdDistinctCountIdAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - PortfoliosByCreatedBlockIdDistinctCountIdDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - PortfoliosByCreatedBlockIdDistinctCountNameAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_NAME_ASC', - PortfoliosByCreatedBlockIdDistinctCountNameDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_NAME_DESC', - PortfoliosByCreatedBlockIdDistinctCountNumberAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_NUMBER_ASC', - PortfoliosByCreatedBlockIdDistinctCountNumberDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_NUMBER_DESC', - PortfoliosByCreatedBlockIdDistinctCountUpdatedAtAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - PortfoliosByCreatedBlockIdDistinctCountUpdatedAtDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - PortfoliosByCreatedBlockIdDistinctCountUpdatedBlockIdAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - PortfoliosByCreatedBlockIdDistinctCountUpdatedBlockIdDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - PortfoliosByCreatedBlockIdMaxCreatedAtAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_ASC', - PortfoliosByCreatedBlockIdMaxCreatedAtDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_DESC', - PortfoliosByCreatedBlockIdMaxCreatedBlockIdAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - PortfoliosByCreatedBlockIdMaxCreatedBlockIdDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - PortfoliosByCreatedBlockIdMaxCustodianIdAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_MAX_CUSTODIAN_ID_ASC', - PortfoliosByCreatedBlockIdMaxCustodianIdDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_MAX_CUSTODIAN_ID_DESC', - PortfoliosByCreatedBlockIdMaxDeletedAtAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_MAX_DELETED_AT_ASC', - PortfoliosByCreatedBlockIdMaxDeletedAtDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_MAX_DELETED_AT_DESC', - PortfoliosByCreatedBlockIdMaxEventIdxAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_MAX_EVENT_IDX_ASC', - PortfoliosByCreatedBlockIdMaxEventIdxDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_MAX_EVENT_IDX_DESC', - PortfoliosByCreatedBlockIdMaxIdentityIdAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_MAX_IDENTITY_ID_ASC', - PortfoliosByCreatedBlockIdMaxIdentityIdDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_MAX_IDENTITY_ID_DESC', - PortfoliosByCreatedBlockIdMaxIdAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_MAX_ID_ASC', - PortfoliosByCreatedBlockIdMaxIdDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_MAX_ID_DESC', - PortfoliosByCreatedBlockIdMaxNameAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_MAX_NAME_ASC', - PortfoliosByCreatedBlockIdMaxNameDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_MAX_NAME_DESC', - PortfoliosByCreatedBlockIdMaxNumberAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_MAX_NUMBER_ASC', - PortfoliosByCreatedBlockIdMaxNumberDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_MAX_NUMBER_DESC', - PortfoliosByCreatedBlockIdMaxUpdatedAtAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - PortfoliosByCreatedBlockIdMaxUpdatedAtDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - PortfoliosByCreatedBlockIdMaxUpdatedBlockIdAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - PortfoliosByCreatedBlockIdMaxUpdatedBlockIdDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - PortfoliosByCreatedBlockIdMinCreatedAtAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_ASC', - PortfoliosByCreatedBlockIdMinCreatedAtDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_DESC', - PortfoliosByCreatedBlockIdMinCreatedBlockIdAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - PortfoliosByCreatedBlockIdMinCreatedBlockIdDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - PortfoliosByCreatedBlockIdMinCustodianIdAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_MIN_CUSTODIAN_ID_ASC', - PortfoliosByCreatedBlockIdMinCustodianIdDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_MIN_CUSTODIAN_ID_DESC', - PortfoliosByCreatedBlockIdMinDeletedAtAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_MIN_DELETED_AT_ASC', - PortfoliosByCreatedBlockIdMinDeletedAtDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_MIN_DELETED_AT_DESC', - PortfoliosByCreatedBlockIdMinEventIdxAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_MIN_EVENT_IDX_ASC', - PortfoliosByCreatedBlockIdMinEventIdxDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_MIN_EVENT_IDX_DESC', - PortfoliosByCreatedBlockIdMinIdentityIdAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_MIN_IDENTITY_ID_ASC', - PortfoliosByCreatedBlockIdMinIdentityIdDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_MIN_IDENTITY_ID_DESC', - PortfoliosByCreatedBlockIdMinIdAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_MIN_ID_ASC', - PortfoliosByCreatedBlockIdMinIdDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_MIN_ID_DESC', - PortfoliosByCreatedBlockIdMinNameAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_MIN_NAME_ASC', - PortfoliosByCreatedBlockIdMinNameDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_MIN_NAME_DESC', - PortfoliosByCreatedBlockIdMinNumberAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_MIN_NUMBER_ASC', - PortfoliosByCreatedBlockIdMinNumberDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_MIN_NUMBER_DESC', - PortfoliosByCreatedBlockIdMinUpdatedAtAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - PortfoliosByCreatedBlockIdMinUpdatedAtDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - PortfoliosByCreatedBlockIdMinUpdatedBlockIdAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - PortfoliosByCreatedBlockIdMinUpdatedBlockIdDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - PortfoliosByCreatedBlockIdStddevPopulationCreatedAtAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - PortfoliosByCreatedBlockIdStddevPopulationCreatedAtDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - PortfoliosByCreatedBlockIdStddevPopulationCreatedBlockIdAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - PortfoliosByCreatedBlockIdStddevPopulationCreatedBlockIdDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - PortfoliosByCreatedBlockIdStddevPopulationCustodianIdAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CUSTODIAN_ID_ASC', - PortfoliosByCreatedBlockIdStddevPopulationCustodianIdDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CUSTODIAN_ID_DESC', - PortfoliosByCreatedBlockIdStddevPopulationDeletedAtAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_DELETED_AT_ASC', - PortfoliosByCreatedBlockIdStddevPopulationDeletedAtDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_DELETED_AT_DESC', - PortfoliosByCreatedBlockIdStddevPopulationEventIdxAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_ASC', - PortfoliosByCreatedBlockIdStddevPopulationEventIdxDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_DESC', - PortfoliosByCreatedBlockIdStddevPopulationIdentityIdAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_IDENTITY_ID_ASC', - PortfoliosByCreatedBlockIdStddevPopulationIdentityIdDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_IDENTITY_ID_DESC', - PortfoliosByCreatedBlockIdStddevPopulationIdAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - PortfoliosByCreatedBlockIdStddevPopulationIdDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - PortfoliosByCreatedBlockIdStddevPopulationNameAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_NAME_ASC', - PortfoliosByCreatedBlockIdStddevPopulationNameDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_NAME_DESC', - PortfoliosByCreatedBlockIdStddevPopulationNumberAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_NUMBER_ASC', - PortfoliosByCreatedBlockIdStddevPopulationNumberDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_NUMBER_DESC', - PortfoliosByCreatedBlockIdStddevPopulationUpdatedAtAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - PortfoliosByCreatedBlockIdStddevPopulationUpdatedAtDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - PortfoliosByCreatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - PortfoliosByCreatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - PortfoliosByCreatedBlockIdStddevSampleCreatedAtAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - PortfoliosByCreatedBlockIdStddevSampleCreatedAtDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - PortfoliosByCreatedBlockIdStddevSampleCreatedBlockIdAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - PortfoliosByCreatedBlockIdStddevSampleCreatedBlockIdDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - PortfoliosByCreatedBlockIdStddevSampleCustodianIdAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CUSTODIAN_ID_ASC', - PortfoliosByCreatedBlockIdStddevSampleCustodianIdDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CUSTODIAN_ID_DESC', - PortfoliosByCreatedBlockIdStddevSampleDeletedAtAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_DELETED_AT_ASC', - PortfoliosByCreatedBlockIdStddevSampleDeletedAtDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_DELETED_AT_DESC', - PortfoliosByCreatedBlockIdStddevSampleEventIdxAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', - PortfoliosByCreatedBlockIdStddevSampleEventIdxDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', - PortfoliosByCreatedBlockIdStddevSampleIdentityIdAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_IDENTITY_ID_ASC', - PortfoliosByCreatedBlockIdStddevSampleIdentityIdDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_IDENTITY_ID_DESC', - PortfoliosByCreatedBlockIdStddevSampleIdAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - PortfoliosByCreatedBlockIdStddevSampleIdDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - PortfoliosByCreatedBlockIdStddevSampleNameAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_NAME_ASC', - PortfoliosByCreatedBlockIdStddevSampleNameDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_NAME_DESC', - PortfoliosByCreatedBlockIdStddevSampleNumberAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_NUMBER_ASC', - PortfoliosByCreatedBlockIdStddevSampleNumberDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_NUMBER_DESC', - PortfoliosByCreatedBlockIdStddevSampleUpdatedAtAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - PortfoliosByCreatedBlockIdStddevSampleUpdatedAtDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - PortfoliosByCreatedBlockIdStddevSampleUpdatedBlockIdAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - PortfoliosByCreatedBlockIdStddevSampleUpdatedBlockIdDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - PortfoliosByCreatedBlockIdSumCreatedAtAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_ASC', - PortfoliosByCreatedBlockIdSumCreatedAtDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_DESC', - PortfoliosByCreatedBlockIdSumCreatedBlockIdAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - PortfoliosByCreatedBlockIdSumCreatedBlockIdDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - PortfoliosByCreatedBlockIdSumCustodianIdAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_SUM_CUSTODIAN_ID_ASC', - PortfoliosByCreatedBlockIdSumCustodianIdDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_SUM_CUSTODIAN_ID_DESC', - PortfoliosByCreatedBlockIdSumDeletedAtAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_SUM_DELETED_AT_ASC', - PortfoliosByCreatedBlockIdSumDeletedAtDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_SUM_DELETED_AT_DESC', - PortfoliosByCreatedBlockIdSumEventIdxAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_SUM_EVENT_IDX_ASC', - PortfoliosByCreatedBlockIdSumEventIdxDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_SUM_EVENT_IDX_DESC', - PortfoliosByCreatedBlockIdSumIdentityIdAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_SUM_IDENTITY_ID_ASC', - PortfoliosByCreatedBlockIdSumIdentityIdDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_SUM_IDENTITY_ID_DESC', - PortfoliosByCreatedBlockIdSumIdAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_SUM_ID_ASC', - PortfoliosByCreatedBlockIdSumIdDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_SUM_ID_DESC', - PortfoliosByCreatedBlockIdSumNameAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_SUM_NAME_ASC', - PortfoliosByCreatedBlockIdSumNameDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_SUM_NAME_DESC', - PortfoliosByCreatedBlockIdSumNumberAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_SUM_NUMBER_ASC', - PortfoliosByCreatedBlockIdSumNumberDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_SUM_NUMBER_DESC', - PortfoliosByCreatedBlockIdSumUpdatedAtAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - PortfoliosByCreatedBlockIdSumUpdatedAtDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - PortfoliosByCreatedBlockIdSumUpdatedBlockIdAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - PortfoliosByCreatedBlockIdSumUpdatedBlockIdDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - PortfoliosByCreatedBlockIdVariancePopulationCreatedAtAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - PortfoliosByCreatedBlockIdVariancePopulationCreatedAtDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - PortfoliosByCreatedBlockIdVariancePopulationCreatedBlockIdAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - PortfoliosByCreatedBlockIdVariancePopulationCreatedBlockIdDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - PortfoliosByCreatedBlockIdVariancePopulationCustodianIdAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CUSTODIAN_ID_ASC', - PortfoliosByCreatedBlockIdVariancePopulationCustodianIdDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CUSTODIAN_ID_DESC', - PortfoliosByCreatedBlockIdVariancePopulationDeletedAtAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_DELETED_AT_ASC', - PortfoliosByCreatedBlockIdVariancePopulationDeletedAtDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_DELETED_AT_DESC', - PortfoliosByCreatedBlockIdVariancePopulationEventIdxAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', - PortfoliosByCreatedBlockIdVariancePopulationEventIdxDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', - PortfoliosByCreatedBlockIdVariancePopulationIdentityIdAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_IDENTITY_ID_ASC', - PortfoliosByCreatedBlockIdVariancePopulationIdentityIdDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_IDENTITY_ID_DESC', - PortfoliosByCreatedBlockIdVariancePopulationIdAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - PortfoliosByCreatedBlockIdVariancePopulationIdDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - PortfoliosByCreatedBlockIdVariancePopulationNameAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_NAME_ASC', - PortfoliosByCreatedBlockIdVariancePopulationNameDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_NAME_DESC', - PortfoliosByCreatedBlockIdVariancePopulationNumberAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_NUMBER_ASC', - PortfoliosByCreatedBlockIdVariancePopulationNumberDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_NUMBER_DESC', - PortfoliosByCreatedBlockIdVariancePopulationUpdatedAtAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - PortfoliosByCreatedBlockIdVariancePopulationUpdatedAtDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - PortfoliosByCreatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - PortfoliosByCreatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - PortfoliosByCreatedBlockIdVarianceSampleCreatedAtAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - PortfoliosByCreatedBlockIdVarianceSampleCreatedAtDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - PortfoliosByCreatedBlockIdVarianceSampleCreatedBlockIdAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - PortfoliosByCreatedBlockIdVarianceSampleCreatedBlockIdDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - PortfoliosByCreatedBlockIdVarianceSampleCustodianIdAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CUSTODIAN_ID_ASC', - PortfoliosByCreatedBlockIdVarianceSampleCustodianIdDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CUSTODIAN_ID_DESC', - PortfoliosByCreatedBlockIdVarianceSampleDeletedAtAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_DELETED_AT_ASC', - PortfoliosByCreatedBlockIdVarianceSampleDeletedAtDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_DELETED_AT_DESC', - PortfoliosByCreatedBlockIdVarianceSampleEventIdxAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', - PortfoliosByCreatedBlockIdVarianceSampleEventIdxDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', - PortfoliosByCreatedBlockIdVarianceSampleIdentityIdAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_IDENTITY_ID_ASC', - PortfoliosByCreatedBlockIdVarianceSampleIdentityIdDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_IDENTITY_ID_DESC', - PortfoliosByCreatedBlockIdVarianceSampleIdAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - PortfoliosByCreatedBlockIdVarianceSampleIdDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - PortfoliosByCreatedBlockIdVarianceSampleNameAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_NAME_ASC', - PortfoliosByCreatedBlockIdVarianceSampleNameDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_NAME_DESC', - PortfoliosByCreatedBlockIdVarianceSampleNumberAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_NUMBER_ASC', - PortfoliosByCreatedBlockIdVarianceSampleNumberDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_NUMBER_DESC', - PortfoliosByCreatedBlockIdVarianceSampleUpdatedAtAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - PortfoliosByCreatedBlockIdVarianceSampleUpdatedAtDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - PortfoliosByCreatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - PortfoliosByCreatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'PORTFOLIOS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - PortfoliosByUpdatedBlockIdAverageCreatedAtAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - PortfoliosByUpdatedBlockIdAverageCreatedAtDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - PortfoliosByUpdatedBlockIdAverageCreatedBlockIdAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - PortfoliosByUpdatedBlockIdAverageCreatedBlockIdDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - PortfoliosByUpdatedBlockIdAverageCustodianIdAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_AVERAGE_CUSTODIAN_ID_ASC', - PortfoliosByUpdatedBlockIdAverageCustodianIdDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_AVERAGE_CUSTODIAN_ID_DESC', - PortfoliosByUpdatedBlockIdAverageDeletedAtAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_AVERAGE_DELETED_AT_ASC', - PortfoliosByUpdatedBlockIdAverageDeletedAtDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_AVERAGE_DELETED_AT_DESC', - PortfoliosByUpdatedBlockIdAverageEventIdxAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_IDX_ASC', - PortfoliosByUpdatedBlockIdAverageEventIdxDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_IDX_DESC', - PortfoliosByUpdatedBlockIdAverageIdentityIdAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_AVERAGE_IDENTITY_ID_ASC', - PortfoliosByUpdatedBlockIdAverageIdentityIdDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_AVERAGE_IDENTITY_ID_DESC', - PortfoliosByUpdatedBlockIdAverageIdAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_ASC', - PortfoliosByUpdatedBlockIdAverageIdDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_DESC', - PortfoliosByUpdatedBlockIdAverageNameAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_AVERAGE_NAME_ASC', - PortfoliosByUpdatedBlockIdAverageNameDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_AVERAGE_NAME_DESC', - PortfoliosByUpdatedBlockIdAverageNumberAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_AVERAGE_NUMBER_ASC', - PortfoliosByUpdatedBlockIdAverageNumberDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_AVERAGE_NUMBER_DESC', - PortfoliosByUpdatedBlockIdAverageUpdatedAtAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - PortfoliosByUpdatedBlockIdAverageUpdatedAtDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - PortfoliosByUpdatedBlockIdAverageUpdatedBlockIdAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - PortfoliosByUpdatedBlockIdAverageUpdatedBlockIdDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - PortfoliosByUpdatedBlockIdCountAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_COUNT_ASC', - PortfoliosByUpdatedBlockIdCountDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_COUNT_DESC', - PortfoliosByUpdatedBlockIdDistinctCountCreatedAtAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - PortfoliosByUpdatedBlockIdDistinctCountCreatedAtDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - PortfoliosByUpdatedBlockIdDistinctCountCreatedBlockIdAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - PortfoliosByUpdatedBlockIdDistinctCountCreatedBlockIdDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - PortfoliosByUpdatedBlockIdDistinctCountCustodianIdAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CUSTODIAN_ID_ASC', - PortfoliosByUpdatedBlockIdDistinctCountCustodianIdDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CUSTODIAN_ID_DESC', - PortfoliosByUpdatedBlockIdDistinctCountDeletedAtAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_DELETED_AT_ASC', - PortfoliosByUpdatedBlockIdDistinctCountDeletedAtDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_DELETED_AT_DESC', - PortfoliosByUpdatedBlockIdDistinctCountEventIdxAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_ASC', - PortfoliosByUpdatedBlockIdDistinctCountEventIdxDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_DESC', - PortfoliosByUpdatedBlockIdDistinctCountIdentityIdAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_IDENTITY_ID_ASC', - PortfoliosByUpdatedBlockIdDistinctCountIdentityIdDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_IDENTITY_ID_DESC', - PortfoliosByUpdatedBlockIdDistinctCountIdAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - PortfoliosByUpdatedBlockIdDistinctCountIdDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - PortfoliosByUpdatedBlockIdDistinctCountNameAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_NAME_ASC', - PortfoliosByUpdatedBlockIdDistinctCountNameDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_NAME_DESC', - PortfoliosByUpdatedBlockIdDistinctCountNumberAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_NUMBER_ASC', - PortfoliosByUpdatedBlockIdDistinctCountNumberDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_NUMBER_DESC', - PortfoliosByUpdatedBlockIdDistinctCountUpdatedAtAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - PortfoliosByUpdatedBlockIdDistinctCountUpdatedAtDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - PortfoliosByUpdatedBlockIdDistinctCountUpdatedBlockIdAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - PortfoliosByUpdatedBlockIdDistinctCountUpdatedBlockIdDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - PortfoliosByUpdatedBlockIdMaxCreatedAtAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_ASC', - PortfoliosByUpdatedBlockIdMaxCreatedAtDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_DESC', - PortfoliosByUpdatedBlockIdMaxCreatedBlockIdAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - PortfoliosByUpdatedBlockIdMaxCreatedBlockIdDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - PortfoliosByUpdatedBlockIdMaxCustodianIdAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_MAX_CUSTODIAN_ID_ASC', - PortfoliosByUpdatedBlockIdMaxCustodianIdDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_MAX_CUSTODIAN_ID_DESC', - PortfoliosByUpdatedBlockIdMaxDeletedAtAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_MAX_DELETED_AT_ASC', - PortfoliosByUpdatedBlockIdMaxDeletedAtDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_MAX_DELETED_AT_DESC', - PortfoliosByUpdatedBlockIdMaxEventIdxAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_MAX_EVENT_IDX_ASC', - PortfoliosByUpdatedBlockIdMaxEventIdxDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_MAX_EVENT_IDX_DESC', - PortfoliosByUpdatedBlockIdMaxIdentityIdAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_MAX_IDENTITY_ID_ASC', - PortfoliosByUpdatedBlockIdMaxIdentityIdDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_MAX_IDENTITY_ID_DESC', - PortfoliosByUpdatedBlockIdMaxIdAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_MAX_ID_ASC', - PortfoliosByUpdatedBlockIdMaxIdDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_MAX_ID_DESC', - PortfoliosByUpdatedBlockIdMaxNameAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_MAX_NAME_ASC', - PortfoliosByUpdatedBlockIdMaxNameDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_MAX_NAME_DESC', - PortfoliosByUpdatedBlockIdMaxNumberAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_MAX_NUMBER_ASC', - PortfoliosByUpdatedBlockIdMaxNumberDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_MAX_NUMBER_DESC', - PortfoliosByUpdatedBlockIdMaxUpdatedAtAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - PortfoliosByUpdatedBlockIdMaxUpdatedAtDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - PortfoliosByUpdatedBlockIdMaxUpdatedBlockIdAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - PortfoliosByUpdatedBlockIdMaxUpdatedBlockIdDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - PortfoliosByUpdatedBlockIdMinCreatedAtAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_ASC', - PortfoliosByUpdatedBlockIdMinCreatedAtDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_DESC', - PortfoliosByUpdatedBlockIdMinCreatedBlockIdAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - PortfoliosByUpdatedBlockIdMinCreatedBlockIdDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - PortfoliosByUpdatedBlockIdMinCustodianIdAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_MIN_CUSTODIAN_ID_ASC', - PortfoliosByUpdatedBlockIdMinCustodianIdDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_MIN_CUSTODIAN_ID_DESC', - PortfoliosByUpdatedBlockIdMinDeletedAtAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_MIN_DELETED_AT_ASC', - PortfoliosByUpdatedBlockIdMinDeletedAtDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_MIN_DELETED_AT_DESC', - PortfoliosByUpdatedBlockIdMinEventIdxAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_MIN_EVENT_IDX_ASC', - PortfoliosByUpdatedBlockIdMinEventIdxDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_MIN_EVENT_IDX_DESC', - PortfoliosByUpdatedBlockIdMinIdentityIdAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_MIN_IDENTITY_ID_ASC', - PortfoliosByUpdatedBlockIdMinIdentityIdDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_MIN_IDENTITY_ID_DESC', - PortfoliosByUpdatedBlockIdMinIdAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_MIN_ID_ASC', - PortfoliosByUpdatedBlockIdMinIdDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_MIN_ID_DESC', - PortfoliosByUpdatedBlockIdMinNameAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_MIN_NAME_ASC', - PortfoliosByUpdatedBlockIdMinNameDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_MIN_NAME_DESC', - PortfoliosByUpdatedBlockIdMinNumberAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_MIN_NUMBER_ASC', - PortfoliosByUpdatedBlockIdMinNumberDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_MIN_NUMBER_DESC', - PortfoliosByUpdatedBlockIdMinUpdatedAtAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - PortfoliosByUpdatedBlockIdMinUpdatedAtDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - PortfoliosByUpdatedBlockIdMinUpdatedBlockIdAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - PortfoliosByUpdatedBlockIdMinUpdatedBlockIdDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - PortfoliosByUpdatedBlockIdStddevPopulationCreatedAtAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - PortfoliosByUpdatedBlockIdStddevPopulationCreatedAtDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - PortfoliosByUpdatedBlockIdStddevPopulationCreatedBlockIdAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - PortfoliosByUpdatedBlockIdStddevPopulationCreatedBlockIdDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - PortfoliosByUpdatedBlockIdStddevPopulationCustodianIdAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CUSTODIAN_ID_ASC', - PortfoliosByUpdatedBlockIdStddevPopulationCustodianIdDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CUSTODIAN_ID_DESC', - PortfoliosByUpdatedBlockIdStddevPopulationDeletedAtAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_DELETED_AT_ASC', - PortfoliosByUpdatedBlockIdStddevPopulationDeletedAtDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_DELETED_AT_DESC', - PortfoliosByUpdatedBlockIdStddevPopulationEventIdxAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_ASC', - PortfoliosByUpdatedBlockIdStddevPopulationEventIdxDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_DESC', - PortfoliosByUpdatedBlockIdStddevPopulationIdentityIdAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_IDENTITY_ID_ASC', - PortfoliosByUpdatedBlockIdStddevPopulationIdentityIdDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_IDENTITY_ID_DESC', - PortfoliosByUpdatedBlockIdStddevPopulationIdAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - PortfoliosByUpdatedBlockIdStddevPopulationIdDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - PortfoliosByUpdatedBlockIdStddevPopulationNameAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_NAME_ASC', - PortfoliosByUpdatedBlockIdStddevPopulationNameDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_NAME_DESC', - PortfoliosByUpdatedBlockIdStddevPopulationNumberAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_NUMBER_ASC', - PortfoliosByUpdatedBlockIdStddevPopulationNumberDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_NUMBER_DESC', - PortfoliosByUpdatedBlockIdStddevPopulationUpdatedAtAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - PortfoliosByUpdatedBlockIdStddevPopulationUpdatedAtDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - PortfoliosByUpdatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - PortfoliosByUpdatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - PortfoliosByUpdatedBlockIdStddevSampleCreatedAtAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - PortfoliosByUpdatedBlockIdStddevSampleCreatedAtDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - PortfoliosByUpdatedBlockIdStddevSampleCreatedBlockIdAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - PortfoliosByUpdatedBlockIdStddevSampleCreatedBlockIdDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - PortfoliosByUpdatedBlockIdStddevSampleCustodianIdAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CUSTODIAN_ID_ASC', - PortfoliosByUpdatedBlockIdStddevSampleCustodianIdDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CUSTODIAN_ID_DESC', - PortfoliosByUpdatedBlockIdStddevSampleDeletedAtAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_DELETED_AT_ASC', - PortfoliosByUpdatedBlockIdStddevSampleDeletedAtDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_DELETED_AT_DESC', - PortfoliosByUpdatedBlockIdStddevSampleEventIdxAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', - PortfoliosByUpdatedBlockIdStddevSampleEventIdxDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', - PortfoliosByUpdatedBlockIdStddevSampleIdentityIdAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_IDENTITY_ID_ASC', - PortfoliosByUpdatedBlockIdStddevSampleIdentityIdDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_IDENTITY_ID_DESC', - PortfoliosByUpdatedBlockIdStddevSampleIdAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - PortfoliosByUpdatedBlockIdStddevSampleIdDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - PortfoliosByUpdatedBlockIdStddevSampleNameAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_NAME_ASC', - PortfoliosByUpdatedBlockIdStddevSampleNameDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_NAME_DESC', - PortfoliosByUpdatedBlockIdStddevSampleNumberAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_NUMBER_ASC', - PortfoliosByUpdatedBlockIdStddevSampleNumberDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_NUMBER_DESC', - PortfoliosByUpdatedBlockIdStddevSampleUpdatedAtAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - PortfoliosByUpdatedBlockIdStddevSampleUpdatedAtDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - PortfoliosByUpdatedBlockIdStddevSampleUpdatedBlockIdAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - PortfoliosByUpdatedBlockIdStddevSampleUpdatedBlockIdDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - PortfoliosByUpdatedBlockIdSumCreatedAtAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_ASC', - PortfoliosByUpdatedBlockIdSumCreatedAtDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_DESC', - PortfoliosByUpdatedBlockIdSumCreatedBlockIdAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - PortfoliosByUpdatedBlockIdSumCreatedBlockIdDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - PortfoliosByUpdatedBlockIdSumCustodianIdAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_SUM_CUSTODIAN_ID_ASC', - PortfoliosByUpdatedBlockIdSumCustodianIdDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_SUM_CUSTODIAN_ID_DESC', - PortfoliosByUpdatedBlockIdSumDeletedAtAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_SUM_DELETED_AT_ASC', - PortfoliosByUpdatedBlockIdSumDeletedAtDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_SUM_DELETED_AT_DESC', - PortfoliosByUpdatedBlockIdSumEventIdxAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_SUM_EVENT_IDX_ASC', - PortfoliosByUpdatedBlockIdSumEventIdxDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_SUM_EVENT_IDX_DESC', - PortfoliosByUpdatedBlockIdSumIdentityIdAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_SUM_IDENTITY_ID_ASC', - PortfoliosByUpdatedBlockIdSumIdentityIdDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_SUM_IDENTITY_ID_DESC', - PortfoliosByUpdatedBlockIdSumIdAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_SUM_ID_ASC', - PortfoliosByUpdatedBlockIdSumIdDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_SUM_ID_DESC', - PortfoliosByUpdatedBlockIdSumNameAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_SUM_NAME_ASC', - PortfoliosByUpdatedBlockIdSumNameDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_SUM_NAME_DESC', - PortfoliosByUpdatedBlockIdSumNumberAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_SUM_NUMBER_ASC', - PortfoliosByUpdatedBlockIdSumNumberDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_SUM_NUMBER_DESC', - PortfoliosByUpdatedBlockIdSumUpdatedAtAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - PortfoliosByUpdatedBlockIdSumUpdatedAtDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - PortfoliosByUpdatedBlockIdSumUpdatedBlockIdAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - PortfoliosByUpdatedBlockIdSumUpdatedBlockIdDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - PortfoliosByUpdatedBlockIdVariancePopulationCreatedAtAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - PortfoliosByUpdatedBlockIdVariancePopulationCreatedAtDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - PortfoliosByUpdatedBlockIdVariancePopulationCreatedBlockIdAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - PortfoliosByUpdatedBlockIdVariancePopulationCreatedBlockIdDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - PortfoliosByUpdatedBlockIdVariancePopulationCustodianIdAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CUSTODIAN_ID_ASC', - PortfoliosByUpdatedBlockIdVariancePopulationCustodianIdDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CUSTODIAN_ID_DESC', - PortfoliosByUpdatedBlockIdVariancePopulationDeletedAtAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_DELETED_AT_ASC', - PortfoliosByUpdatedBlockIdVariancePopulationDeletedAtDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_DELETED_AT_DESC', - PortfoliosByUpdatedBlockIdVariancePopulationEventIdxAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', - PortfoliosByUpdatedBlockIdVariancePopulationEventIdxDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', - PortfoliosByUpdatedBlockIdVariancePopulationIdentityIdAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_IDENTITY_ID_ASC', - PortfoliosByUpdatedBlockIdVariancePopulationIdentityIdDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_IDENTITY_ID_DESC', - PortfoliosByUpdatedBlockIdVariancePopulationIdAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - PortfoliosByUpdatedBlockIdVariancePopulationIdDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - PortfoliosByUpdatedBlockIdVariancePopulationNameAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_NAME_ASC', - PortfoliosByUpdatedBlockIdVariancePopulationNameDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_NAME_DESC', - PortfoliosByUpdatedBlockIdVariancePopulationNumberAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_NUMBER_ASC', - PortfoliosByUpdatedBlockIdVariancePopulationNumberDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_NUMBER_DESC', - PortfoliosByUpdatedBlockIdVariancePopulationUpdatedAtAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - PortfoliosByUpdatedBlockIdVariancePopulationUpdatedAtDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - PortfoliosByUpdatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - PortfoliosByUpdatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - PortfoliosByUpdatedBlockIdVarianceSampleCreatedAtAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - PortfoliosByUpdatedBlockIdVarianceSampleCreatedAtDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - PortfoliosByUpdatedBlockIdVarianceSampleCreatedBlockIdAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - PortfoliosByUpdatedBlockIdVarianceSampleCreatedBlockIdDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - PortfoliosByUpdatedBlockIdVarianceSampleCustodianIdAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CUSTODIAN_ID_ASC', - PortfoliosByUpdatedBlockIdVarianceSampleCustodianIdDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CUSTODIAN_ID_DESC', - PortfoliosByUpdatedBlockIdVarianceSampleDeletedAtAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_DELETED_AT_ASC', - PortfoliosByUpdatedBlockIdVarianceSampleDeletedAtDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_DELETED_AT_DESC', - PortfoliosByUpdatedBlockIdVarianceSampleEventIdxAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', - PortfoliosByUpdatedBlockIdVarianceSampleEventIdxDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', - PortfoliosByUpdatedBlockIdVarianceSampleIdentityIdAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_IDENTITY_ID_ASC', - PortfoliosByUpdatedBlockIdVarianceSampleIdentityIdDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_IDENTITY_ID_DESC', - PortfoliosByUpdatedBlockIdVarianceSampleIdAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - PortfoliosByUpdatedBlockIdVarianceSampleIdDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - PortfoliosByUpdatedBlockIdVarianceSampleNameAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_NAME_ASC', - PortfoliosByUpdatedBlockIdVarianceSampleNameDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_NAME_DESC', - PortfoliosByUpdatedBlockIdVarianceSampleNumberAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_NUMBER_ASC', - PortfoliosByUpdatedBlockIdVarianceSampleNumberDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_NUMBER_DESC', - PortfoliosByUpdatedBlockIdVarianceSampleUpdatedAtAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - PortfoliosByUpdatedBlockIdVarianceSampleUpdatedAtDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - PortfoliosByUpdatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - PortfoliosByUpdatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'PORTFOLIOS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - PortfolioMovementsByCreatedBlockIdAverageAddressAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_AVERAGE_ADDRESS_ASC', - PortfolioMovementsByCreatedBlockIdAverageAddressDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_AVERAGE_ADDRESS_DESC', - PortfolioMovementsByCreatedBlockIdAverageAmountAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_AVERAGE_AMOUNT_ASC', - PortfolioMovementsByCreatedBlockIdAverageAmountDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_AVERAGE_AMOUNT_DESC', - PortfolioMovementsByCreatedBlockIdAverageAssetIdAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_AVERAGE_ASSET_ID_ASC', - PortfolioMovementsByCreatedBlockIdAverageAssetIdDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_AVERAGE_ASSET_ID_DESC', - PortfolioMovementsByCreatedBlockIdAverageCreatedAtAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - PortfolioMovementsByCreatedBlockIdAverageCreatedAtDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - PortfolioMovementsByCreatedBlockIdAverageCreatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - PortfolioMovementsByCreatedBlockIdAverageCreatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - PortfolioMovementsByCreatedBlockIdAverageFromIdAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_AVERAGE_FROM_ID_ASC', - PortfolioMovementsByCreatedBlockIdAverageFromIdDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_AVERAGE_FROM_ID_DESC', - PortfolioMovementsByCreatedBlockIdAverageIdAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_AVERAGE_ID_ASC', - PortfolioMovementsByCreatedBlockIdAverageIdDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_AVERAGE_ID_DESC', - PortfolioMovementsByCreatedBlockIdAverageMemoAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_AVERAGE_MEMO_ASC', - PortfolioMovementsByCreatedBlockIdAverageMemoDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_AVERAGE_MEMO_DESC', - PortfolioMovementsByCreatedBlockIdAverageNftIdsAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_AVERAGE_NFT_IDS_ASC', - PortfolioMovementsByCreatedBlockIdAverageNftIdsDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_AVERAGE_NFT_IDS_DESC', - PortfolioMovementsByCreatedBlockIdAverageToIdAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_AVERAGE_TO_ID_ASC', - PortfolioMovementsByCreatedBlockIdAverageToIdDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_AVERAGE_TO_ID_DESC', - PortfolioMovementsByCreatedBlockIdAverageTypeAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_AVERAGE_TYPE_ASC', - PortfolioMovementsByCreatedBlockIdAverageTypeDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_AVERAGE_TYPE_DESC', - PortfolioMovementsByCreatedBlockIdAverageUpdatedAtAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - PortfolioMovementsByCreatedBlockIdAverageUpdatedAtDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - PortfolioMovementsByCreatedBlockIdAverageUpdatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - PortfolioMovementsByCreatedBlockIdAverageUpdatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - PortfolioMovementsByCreatedBlockIdCountAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_COUNT_ASC', - PortfolioMovementsByCreatedBlockIdCountDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_COUNT_DESC', - PortfolioMovementsByCreatedBlockIdDistinctCountAddressAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ADDRESS_ASC', - PortfolioMovementsByCreatedBlockIdDistinctCountAddressDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ADDRESS_DESC', - PortfolioMovementsByCreatedBlockIdDistinctCountAmountAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_AMOUNT_ASC', - PortfolioMovementsByCreatedBlockIdDistinctCountAmountDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_AMOUNT_DESC', - PortfolioMovementsByCreatedBlockIdDistinctCountAssetIdAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_ASC', - PortfolioMovementsByCreatedBlockIdDistinctCountAssetIdDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_DESC', - PortfolioMovementsByCreatedBlockIdDistinctCountCreatedAtAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - PortfolioMovementsByCreatedBlockIdDistinctCountCreatedAtDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - PortfolioMovementsByCreatedBlockIdDistinctCountCreatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - PortfolioMovementsByCreatedBlockIdDistinctCountCreatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - PortfolioMovementsByCreatedBlockIdDistinctCountFromIdAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_FROM_ID_ASC', - PortfolioMovementsByCreatedBlockIdDistinctCountFromIdDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_FROM_ID_DESC', - PortfolioMovementsByCreatedBlockIdDistinctCountIdAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - PortfolioMovementsByCreatedBlockIdDistinctCountIdDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - PortfolioMovementsByCreatedBlockIdDistinctCountMemoAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_MEMO_ASC', - PortfolioMovementsByCreatedBlockIdDistinctCountMemoDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_MEMO_DESC', - PortfolioMovementsByCreatedBlockIdDistinctCountNftIdsAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_NFT_IDS_ASC', - PortfolioMovementsByCreatedBlockIdDistinctCountNftIdsDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_NFT_IDS_DESC', - PortfolioMovementsByCreatedBlockIdDistinctCountToIdAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TO_ID_ASC', - PortfolioMovementsByCreatedBlockIdDistinctCountToIdDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TO_ID_DESC', - PortfolioMovementsByCreatedBlockIdDistinctCountTypeAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TYPE_ASC', - PortfolioMovementsByCreatedBlockIdDistinctCountTypeDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TYPE_DESC', - PortfolioMovementsByCreatedBlockIdDistinctCountUpdatedAtAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - PortfolioMovementsByCreatedBlockIdDistinctCountUpdatedAtDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - PortfolioMovementsByCreatedBlockIdDistinctCountUpdatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - PortfolioMovementsByCreatedBlockIdDistinctCountUpdatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - PortfolioMovementsByCreatedBlockIdMaxAddressAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_MAX_ADDRESS_ASC', - PortfolioMovementsByCreatedBlockIdMaxAddressDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_MAX_ADDRESS_DESC', - PortfolioMovementsByCreatedBlockIdMaxAmountAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_MAX_AMOUNT_ASC', - PortfolioMovementsByCreatedBlockIdMaxAmountDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_MAX_AMOUNT_DESC', - PortfolioMovementsByCreatedBlockIdMaxAssetIdAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_MAX_ASSET_ID_ASC', - PortfolioMovementsByCreatedBlockIdMaxAssetIdDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_MAX_ASSET_ID_DESC', - PortfolioMovementsByCreatedBlockIdMaxCreatedAtAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_ASC', - PortfolioMovementsByCreatedBlockIdMaxCreatedAtDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_DESC', - PortfolioMovementsByCreatedBlockIdMaxCreatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - PortfolioMovementsByCreatedBlockIdMaxCreatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - PortfolioMovementsByCreatedBlockIdMaxFromIdAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_MAX_FROM_ID_ASC', - PortfolioMovementsByCreatedBlockIdMaxFromIdDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_MAX_FROM_ID_DESC', - PortfolioMovementsByCreatedBlockIdMaxIdAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_MAX_ID_ASC', - PortfolioMovementsByCreatedBlockIdMaxIdDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_MAX_ID_DESC', - PortfolioMovementsByCreatedBlockIdMaxMemoAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_MAX_MEMO_ASC', - PortfolioMovementsByCreatedBlockIdMaxMemoDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_MAX_MEMO_DESC', - PortfolioMovementsByCreatedBlockIdMaxNftIdsAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_MAX_NFT_IDS_ASC', - PortfolioMovementsByCreatedBlockIdMaxNftIdsDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_MAX_NFT_IDS_DESC', - PortfolioMovementsByCreatedBlockIdMaxToIdAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_MAX_TO_ID_ASC', - PortfolioMovementsByCreatedBlockIdMaxToIdDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_MAX_TO_ID_DESC', - PortfolioMovementsByCreatedBlockIdMaxTypeAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_MAX_TYPE_ASC', - PortfolioMovementsByCreatedBlockIdMaxTypeDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_MAX_TYPE_DESC', - PortfolioMovementsByCreatedBlockIdMaxUpdatedAtAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - PortfolioMovementsByCreatedBlockIdMaxUpdatedAtDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - PortfolioMovementsByCreatedBlockIdMaxUpdatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - PortfolioMovementsByCreatedBlockIdMaxUpdatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - PortfolioMovementsByCreatedBlockIdMinAddressAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_MIN_ADDRESS_ASC', - PortfolioMovementsByCreatedBlockIdMinAddressDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_MIN_ADDRESS_DESC', - PortfolioMovementsByCreatedBlockIdMinAmountAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_MIN_AMOUNT_ASC', - PortfolioMovementsByCreatedBlockIdMinAmountDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_MIN_AMOUNT_DESC', - PortfolioMovementsByCreatedBlockIdMinAssetIdAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_MIN_ASSET_ID_ASC', - PortfolioMovementsByCreatedBlockIdMinAssetIdDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_MIN_ASSET_ID_DESC', - PortfolioMovementsByCreatedBlockIdMinCreatedAtAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_ASC', - PortfolioMovementsByCreatedBlockIdMinCreatedAtDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_DESC', - PortfolioMovementsByCreatedBlockIdMinCreatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - PortfolioMovementsByCreatedBlockIdMinCreatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - PortfolioMovementsByCreatedBlockIdMinFromIdAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_MIN_FROM_ID_ASC', - PortfolioMovementsByCreatedBlockIdMinFromIdDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_MIN_FROM_ID_DESC', - PortfolioMovementsByCreatedBlockIdMinIdAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_MIN_ID_ASC', - PortfolioMovementsByCreatedBlockIdMinIdDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_MIN_ID_DESC', - PortfolioMovementsByCreatedBlockIdMinMemoAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_MIN_MEMO_ASC', - PortfolioMovementsByCreatedBlockIdMinMemoDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_MIN_MEMO_DESC', - PortfolioMovementsByCreatedBlockIdMinNftIdsAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_MIN_NFT_IDS_ASC', - PortfolioMovementsByCreatedBlockIdMinNftIdsDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_MIN_NFT_IDS_DESC', - PortfolioMovementsByCreatedBlockIdMinToIdAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_MIN_TO_ID_ASC', - PortfolioMovementsByCreatedBlockIdMinToIdDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_MIN_TO_ID_DESC', - PortfolioMovementsByCreatedBlockIdMinTypeAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_MIN_TYPE_ASC', - PortfolioMovementsByCreatedBlockIdMinTypeDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_MIN_TYPE_DESC', - PortfolioMovementsByCreatedBlockIdMinUpdatedAtAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - PortfolioMovementsByCreatedBlockIdMinUpdatedAtDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - PortfolioMovementsByCreatedBlockIdMinUpdatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - PortfolioMovementsByCreatedBlockIdMinUpdatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - PortfolioMovementsByCreatedBlockIdStddevPopulationAddressAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ADDRESS_ASC', - PortfolioMovementsByCreatedBlockIdStddevPopulationAddressDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ADDRESS_DESC', - PortfolioMovementsByCreatedBlockIdStddevPopulationAmountAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_AMOUNT_ASC', - PortfolioMovementsByCreatedBlockIdStddevPopulationAmountDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_AMOUNT_DESC', - PortfolioMovementsByCreatedBlockIdStddevPopulationAssetIdAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_ASC', - PortfolioMovementsByCreatedBlockIdStddevPopulationAssetIdDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_DESC', - PortfolioMovementsByCreatedBlockIdStddevPopulationCreatedAtAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - PortfolioMovementsByCreatedBlockIdStddevPopulationCreatedAtDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - PortfolioMovementsByCreatedBlockIdStddevPopulationCreatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - PortfolioMovementsByCreatedBlockIdStddevPopulationCreatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - PortfolioMovementsByCreatedBlockIdStddevPopulationFromIdAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_FROM_ID_ASC', - PortfolioMovementsByCreatedBlockIdStddevPopulationFromIdDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_FROM_ID_DESC', - PortfolioMovementsByCreatedBlockIdStddevPopulationIdAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - PortfolioMovementsByCreatedBlockIdStddevPopulationIdDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - PortfolioMovementsByCreatedBlockIdStddevPopulationMemoAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_MEMO_ASC', - PortfolioMovementsByCreatedBlockIdStddevPopulationMemoDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_MEMO_DESC', - PortfolioMovementsByCreatedBlockIdStddevPopulationNftIdsAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_NFT_IDS_ASC', - PortfolioMovementsByCreatedBlockIdStddevPopulationNftIdsDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_NFT_IDS_DESC', - PortfolioMovementsByCreatedBlockIdStddevPopulationToIdAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TO_ID_ASC', - PortfolioMovementsByCreatedBlockIdStddevPopulationToIdDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TO_ID_DESC', - PortfolioMovementsByCreatedBlockIdStddevPopulationTypeAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TYPE_ASC', - PortfolioMovementsByCreatedBlockIdStddevPopulationTypeDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TYPE_DESC', - PortfolioMovementsByCreatedBlockIdStddevPopulationUpdatedAtAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - PortfolioMovementsByCreatedBlockIdStddevPopulationUpdatedAtDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - PortfolioMovementsByCreatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - PortfolioMovementsByCreatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - PortfolioMovementsByCreatedBlockIdStddevSampleAddressAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ADDRESS_ASC', - PortfolioMovementsByCreatedBlockIdStddevSampleAddressDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ADDRESS_DESC', - PortfolioMovementsByCreatedBlockIdStddevSampleAmountAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_AMOUNT_ASC', - PortfolioMovementsByCreatedBlockIdStddevSampleAmountDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_AMOUNT_DESC', - PortfolioMovementsByCreatedBlockIdStddevSampleAssetIdAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_ASC', - PortfolioMovementsByCreatedBlockIdStddevSampleAssetIdDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_DESC', - PortfolioMovementsByCreatedBlockIdStddevSampleCreatedAtAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - PortfolioMovementsByCreatedBlockIdStddevSampleCreatedAtDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - PortfolioMovementsByCreatedBlockIdStddevSampleCreatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - PortfolioMovementsByCreatedBlockIdStddevSampleCreatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - PortfolioMovementsByCreatedBlockIdStddevSampleFromIdAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_FROM_ID_ASC', - PortfolioMovementsByCreatedBlockIdStddevSampleFromIdDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_FROM_ID_DESC', - PortfolioMovementsByCreatedBlockIdStddevSampleIdAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - PortfolioMovementsByCreatedBlockIdStddevSampleIdDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - PortfolioMovementsByCreatedBlockIdStddevSampleMemoAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_MEMO_ASC', - PortfolioMovementsByCreatedBlockIdStddevSampleMemoDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_MEMO_DESC', - PortfolioMovementsByCreatedBlockIdStddevSampleNftIdsAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_NFT_IDS_ASC', - PortfolioMovementsByCreatedBlockIdStddevSampleNftIdsDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_NFT_IDS_DESC', - PortfolioMovementsByCreatedBlockIdStddevSampleToIdAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TO_ID_ASC', - PortfolioMovementsByCreatedBlockIdStddevSampleToIdDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TO_ID_DESC', - PortfolioMovementsByCreatedBlockIdStddevSampleTypeAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TYPE_ASC', - PortfolioMovementsByCreatedBlockIdStddevSampleTypeDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TYPE_DESC', - PortfolioMovementsByCreatedBlockIdStddevSampleUpdatedAtAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - PortfolioMovementsByCreatedBlockIdStddevSampleUpdatedAtDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - PortfolioMovementsByCreatedBlockIdStddevSampleUpdatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - PortfolioMovementsByCreatedBlockIdStddevSampleUpdatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - PortfolioMovementsByCreatedBlockIdSumAddressAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_SUM_ADDRESS_ASC', - PortfolioMovementsByCreatedBlockIdSumAddressDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_SUM_ADDRESS_DESC', - PortfolioMovementsByCreatedBlockIdSumAmountAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_SUM_AMOUNT_ASC', - PortfolioMovementsByCreatedBlockIdSumAmountDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_SUM_AMOUNT_DESC', - PortfolioMovementsByCreatedBlockIdSumAssetIdAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_SUM_ASSET_ID_ASC', - PortfolioMovementsByCreatedBlockIdSumAssetIdDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_SUM_ASSET_ID_DESC', - PortfolioMovementsByCreatedBlockIdSumCreatedAtAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_ASC', - PortfolioMovementsByCreatedBlockIdSumCreatedAtDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_DESC', - PortfolioMovementsByCreatedBlockIdSumCreatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - PortfolioMovementsByCreatedBlockIdSumCreatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - PortfolioMovementsByCreatedBlockIdSumFromIdAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_SUM_FROM_ID_ASC', - PortfolioMovementsByCreatedBlockIdSumFromIdDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_SUM_FROM_ID_DESC', - PortfolioMovementsByCreatedBlockIdSumIdAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_SUM_ID_ASC', - PortfolioMovementsByCreatedBlockIdSumIdDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_SUM_ID_DESC', - PortfolioMovementsByCreatedBlockIdSumMemoAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_SUM_MEMO_ASC', - PortfolioMovementsByCreatedBlockIdSumMemoDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_SUM_MEMO_DESC', - PortfolioMovementsByCreatedBlockIdSumNftIdsAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_SUM_NFT_IDS_ASC', - PortfolioMovementsByCreatedBlockIdSumNftIdsDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_SUM_NFT_IDS_DESC', - PortfolioMovementsByCreatedBlockIdSumToIdAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_SUM_TO_ID_ASC', - PortfolioMovementsByCreatedBlockIdSumToIdDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_SUM_TO_ID_DESC', - PortfolioMovementsByCreatedBlockIdSumTypeAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_SUM_TYPE_ASC', - PortfolioMovementsByCreatedBlockIdSumTypeDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_SUM_TYPE_DESC', - PortfolioMovementsByCreatedBlockIdSumUpdatedAtAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - PortfolioMovementsByCreatedBlockIdSumUpdatedAtDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - PortfolioMovementsByCreatedBlockIdSumUpdatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - PortfolioMovementsByCreatedBlockIdSumUpdatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - PortfolioMovementsByCreatedBlockIdVariancePopulationAddressAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ADDRESS_ASC', - PortfolioMovementsByCreatedBlockIdVariancePopulationAddressDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ADDRESS_DESC', - PortfolioMovementsByCreatedBlockIdVariancePopulationAmountAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_AMOUNT_ASC', - PortfolioMovementsByCreatedBlockIdVariancePopulationAmountDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_AMOUNT_DESC', - PortfolioMovementsByCreatedBlockIdVariancePopulationAssetIdAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_ASC', - PortfolioMovementsByCreatedBlockIdVariancePopulationAssetIdDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_DESC', - PortfolioMovementsByCreatedBlockIdVariancePopulationCreatedAtAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - PortfolioMovementsByCreatedBlockIdVariancePopulationCreatedAtDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - PortfolioMovementsByCreatedBlockIdVariancePopulationCreatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - PortfolioMovementsByCreatedBlockIdVariancePopulationCreatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - PortfolioMovementsByCreatedBlockIdVariancePopulationFromIdAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_FROM_ID_ASC', - PortfolioMovementsByCreatedBlockIdVariancePopulationFromIdDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_FROM_ID_DESC', - PortfolioMovementsByCreatedBlockIdVariancePopulationIdAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - PortfolioMovementsByCreatedBlockIdVariancePopulationIdDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - PortfolioMovementsByCreatedBlockIdVariancePopulationMemoAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_MEMO_ASC', - PortfolioMovementsByCreatedBlockIdVariancePopulationMemoDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_MEMO_DESC', - PortfolioMovementsByCreatedBlockIdVariancePopulationNftIdsAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_NFT_IDS_ASC', - PortfolioMovementsByCreatedBlockIdVariancePopulationNftIdsDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_NFT_IDS_DESC', - PortfolioMovementsByCreatedBlockIdVariancePopulationToIdAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TO_ID_ASC', - PortfolioMovementsByCreatedBlockIdVariancePopulationToIdDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TO_ID_DESC', - PortfolioMovementsByCreatedBlockIdVariancePopulationTypeAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TYPE_ASC', - PortfolioMovementsByCreatedBlockIdVariancePopulationTypeDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TYPE_DESC', - PortfolioMovementsByCreatedBlockIdVariancePopulationUpdatedAtAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - PortfolioMovementsByCreatedBlockIdVariancePopulationUpdatedAtDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - PortfolioMovementsByCreatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - PortfolioMovementsByCreatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - PortfolioMovementsByCreatedBlockIdVarianceSampleAddressAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ADDRESS_ASC', - PortfolioMovementsByCreatedBlockIdVarianceSampleAddressDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ADDRESS_DESC', - PortfolioMovementsByCreatedBlockIdVarianceSampleAmountAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_AMOUNT_ASC', - PortfolioMovementsByCreatedBlockIdVarianceSampleAmountDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_AMOUNT_DESC', - PortfolioMovementsByCreatedBlockIdVarianceSampleAssetIdAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_ASC', - PortfolioMovementsByCreatedBlockIdVarianceSampleAssetIdDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_DESC', - PortfolioMovementsByCreatedBlockIdVarianceSampleCreatedAtAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - PortfolioMovementsByCreatedBlockIdVarianceSampleCreatedAtDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - PortfolioMovementsByCreatedBlockIdVarianceSampleCreatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - PortfolioMovementsByCreatedBlockIdVarianceSampleCreatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - PortfolioMovementsByCreatedBlockIdVarianceSampleFromIdAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_FROM_ID_ASC', - PortfolioMovementsByCreatedBlockIdVarianceSampleFromIdDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_FROM_ID_DESC', - PortfolioMovementsByCreatedBlockIdVarianceSampleIdAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - PortfolioMovementsByCreatedBlockIdVarianceSampleIdDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - PortfolioMovementsByCreatedBlockIdVarianceSampleMemoAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_MEMO_ASC', - PortfolioMovementsByCreatedBlockIdVarianceSampleMemoDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_MEMO_DESC', - PortfolioMovementsByCreatedBlockIdVarianceSampleNftIdsAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_NFT_IDS_ASC', - PortfolioMovementsByCreatedBlockIdVarianceSampleNftIdsDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_NFT_IDS_DESC', - PortfolioMovementsByCreatedBlockIdVarianceSampleToIdAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TO_ID_ASC', - PortfolioMovementsByCreatedBlockIdVarianceSampleToIdDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TO_ID_DESC', - PortfolioMovementsByCreatedBlockIdVarianceSampleTypeAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TYPE_ASC', - PortfolioMovementsByCreatedBlockIdVarianceSampleTypeDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TYPE_DESC', - PortfolioMovementsByCreatedBlockIdVarianceSampleUpdatedAtAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - PortfolioMovementsByCreatedBlockIdVarianceSampleUpdatedAtDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - PortfolioMovementsByCreatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - PortfolioMovementsByCreatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - PortfolioMovementsByUpdatedBlockIdAverageAddressAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_ADDRESS_ASC', - PortfolioMovementsByUpdatedBlockIdAverageAddressDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_ADDRESS_DESC', - PortfolioMovementsByUpdatedBlockIdAverageAmountAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_AMOUNT_ASC', - PortfolioMovementsByUpdatedBlockIdAverageAmountDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_AMOUNT_DESC', - PortfolioMovementsByUpdatedBlockIdAverageAssetIdAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_ASSET_ID_ASC', - PortfolioMovementsByUpdatedBlockIdAverageAssetIdDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_ASSET_ID_DESC', - PortfolioMovementsByUpdatedBlockIdAverageCreatedAtAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - PortfolioMovementsByUpdatedBlockIdAverageCreatedAtDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - PortfolioMovementsByUpdatedBlockIdAverageCreatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - PortfolioMovementsByUpdatedBlockIdAverageCreatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - PortfolioMovementsByUpdatedBlockIdAverageFromIdAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_FROM_ID_ASC', - PortfolioMovementsByUpdatedBlockIdAverageFromIdDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_FROM_ID_DESC', - PortfolioMovementsByUpdatedBlockIdAverageIdAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_ASC', - PortfolioMovementsByUpdatedBlockIdAverageIdDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_DESC', - PortfolioMovementsByUpdatedBlockIdAverageMemoAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_MEMO_ASC', - PortfolioMovementsByUpdatedBlockIdAverageMemoDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_MEMO_DESC', - PortfolioMovementsByUpdatedBlockIdAverageNftIdsAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_NFT_IDS_ASC', - PortfolioMovementsByUpdatedBlockIdAverageNftIdsDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_NFT_IDS_DESC', - PortfolioMovementsByUpdatedBlockIdAverageToIdAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_TO_ID_ASC', - PortfolioMovementsByUpdatedBlockIdAverageToIdDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_TO_ID_DESC', - PortfolioMovementsByUpdatedBlockIdAverageTypeAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_TYPE_ASC', - PortfolioMovementsByUpdatedBlockIdAverageTypeDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_TYPE_DESC', - PortfolioMovementsByUpdatedBlockIdAverageUpdatedAtAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - PortfolioMovementsByUpdatedBlockIdAverageUpdatedAtDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - PortfolioMovementsByUpdatedBlockIdAverageUpdatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - PortfolioMovementsByUpdatedBlockIdAverageUpdatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - PortfolioMovementsByUpdatedBlockIdCountAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_COUNT_ASC', - PortfolioMovementsByUpdatedBlockIdCountDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_COUNT_DESC', - PortfolioMovementsByUpdatedBlockIdDistinctCountAddressAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ADDRESS_ASC', - PortfolioMovementsByUpdatedBlockIdDistinctCountAddressDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ADDRESS_DESC', - PortfolioMovementsByUpdatedBlockIdDistinctCountAmountAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_AMOUNT_ASC', - PortfolioMovementsByUpdatedBlockIdDistinctCountAmountDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_AMOUNT_DESC', - PortfolioMovementsByUpdatedBlockIdDistinctCountAssetIdAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_ASC', - PortfolioMovementsByUpdatedBlockIdDistinctCountAssetIdDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_DESC', - PortfolioMovementsByUpdatedBlockIdDistinctCountCreatedAtAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - PortfolioMovementsByUpdatedBlockIdDistinctCountCreatedAtDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - PortfolioMovementsByUpdatedBlockIdDistinctCountCreatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - PortfolioMovementsByUpdatedBlockIdDistinctCountCreatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - PortfolioMovementsByUpdatedBlockIdDistinctCountFromIdAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_FROM_ID_ASC', - PortfolioMovementsByUpdatedBlockIdDistinctCountFromIdDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_FROM_ID_DESC', - PortfolioMovementsByUpdatedBlockIdDistinctCountIdAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - PortfolioMovementsByUpdatedBlockIdDistinctCountIdDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - PortfolioMovementsByUpdatedBlockIdDistinctCountMemoAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_MEMO_ASC', - PortfolioMovementsByUpdatedBlockIdDistinctCountMemoDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_MEMO_DESC', - PortfolioMovementsByUpdatedBlockIdDistinctCountNftIdsAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_NFT_IDS_ASC', - PortfolioMovementsByUpdatedBlockIdDistinctCountNftIdsDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_NFT_IDS_DESC', - PortfolioMovementsByUpdatedBlockIdDistinctCountToIdAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TO_ID_ASC', - PortfolioMovementsByUpdatedBlockIdDistinctCountToIdDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TO_ID_DESC', - PortfolioMovementsByUpdatedBlockIdDistinctCountTypeAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TYPE_ASC', - PortfolioMovementsByUpdatedBlockIdDistinctCountTypeDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TYPE_DESC', - PortfolioMovementsByUpdatedBlockIdDistinctCountUpdatedAtAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - PortfolioMovementsByUpdatedBlockIdDistinctCountUpdatedAtDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - PortfolioMovementsByUpdatedBlockIdDistinctCountUpdatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - PortfolioMovementsByUpdatedBlockIdDistinctCountUpdatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - PortfolioMovementsByUpdatedBlockIdMaxAddressAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_MAX_ADDRESS_ASC', - PortfolioMovementsByUpdatedBlockIdMaxAddressDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_MAX_ADDRESS_DESC', - PortfolioMovementsByUpdatedBlockIdMaxAmountAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_MAX_AMOUNT_ASC', - PortfolioMovementsByUpdatedBlockIdMaxAmountDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_MAX_AMOUNT_DESC', - PortfolioMovementsByUpdatedBlockIdMaxAssetIdAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_MAX_ASSET_ID_ASC', - PortfolioMovementsByUpdatedBlockIdMaxAssetIdDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_MAX_ASSET_ID_DESC', - PortfolioMovementsByUpdatedBlockIdMaxCreatedAtAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_ASC', - PortfolioMovementsByUpdatedBlockIdMaxCreatedAtDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_DESC', - PortfolioMovementsByUpdatedBlockIdMaxCreatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - PortfolioMovementsByUpdatedBlockIdMaxCreatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - PortfolioMovementsByUpdatedBlockIdMaxFromIdAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_MAX_FROM_ID_ASC', - PortfolioMovementsByUpdatedBlockIdMaxFromIdDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_MAX_FROM_ID_DESC', - PortfolioMovementsByUpdatedBlockIdMaxIdAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_MAX_ID_ASC', - PortfolioMovementsByUpdatedBlockIdMaxIdDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_MAX_ID_DESC', - PortfolioMovementsByUpdatedBlockIdMaxMemoAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_MAX_MEMO_ASC', - PortfolioMovementsByUpdatedBlockIdMaxMemoDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_MAX_MEMO_DESC', - PortfolioMovementsByUpdatedBlockIdMaxNftIdsAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_MAX_NFT_IDS_ASC', - PortfolioMovementsByUpdatedBlockIdMaxNftIdsDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_MAX_NFT_IDS_DESC', - PortfolioMovementsByUpdatedBlockIdMaxToIdAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_MAX_TO_ID_ASC', - PortfolioMovementsByUpdatedBlockIdMaxToIdDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_MAX_TO_ID_DESC', - PortfolioMovementsByUpdatedBlockIdMaxTypeAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_MAX_TYPE_ASC', - PortfolioMovementsByUpdatedBlockIdMaxTypeDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_MAX_TYPE_DESC', - PortfolioMovementsByUpdatedBlockIdMaxUpdatedAtAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - PortfolioMovementsByUpdatedBlockIdMaxUpdatedAtDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - PortfolioMovementsByUpdatedBlockIdMaxUpdatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - PortfolioMovementsByUpdatedBlockIdMaxUpdatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - PortfolioMovementsByUpdatedBlockIdMinAddressAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_MIN_ADDRESS_ASC', - PortfolioMovementsByUpdatedBlockIdMinAddressDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_MIN_ADDRESS_DESC', - PortfolioMovementsByUpdatedBlockIdMinAmountAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_MIN_AMOUNT_ASC', - PortfolioMovementsByUpdatedBlockIdMinAmountDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_MIN_AMOUNT_DESC', - PortfolioMovementsByUpdatedBlockIdMinAssetIdAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_MIN_ASSET_ID_ASC', - PortfolioMovementsByUpdatedBlockIdMinAssetIdDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_MIN_ASSET_ID_DESC', - PortfolioMovementsByUpdatedBlockIdMinCreatedAtAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_ASC', - PortfolioMovementsByUpdatedBlockIdMinCreatedAtDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_DESC', - PortfolioMovementsByUpdatedBlockIdMinCreatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - PortfolioMovementsByUpdatedBlockIdMinCreatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - PortfolioMovementsByUpdatedBlockIdMinFromIdAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_MIN_FROM_ID_ASC', - PortfolioMovementsByUpdatedBlockIdMinFromIdDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_MIN_FROM_ID_DESC', - PortfolioMovementsByUpdatedBlockIdMinIdAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_MIN_ID_ASC', - PortfolioMovementsByUpdatedBlockIdMinIdDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_MIN_ID_DESC', - PortfolioMovementsByUpdatedBlockIdMinMemoAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_MIN_MEMO_ASC', - PortfolioMovementsByUpdatedBlockIdMinMemoDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_MIN_MEMO_DESC', - PortfolioMovementsByUpdatedBlockIdMinNftIdsAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_MIN_NFT_IDS_ASC', - PortfolioMovementsByUpdatedBlockIdMinNftIdsDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_MIN_NFT_IDS_DESC', - PortfolioMovementsByUpdatedBlockIdMinToIdAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_MIN_TO_ID_ASC', - PortfolioMovementsByUpdatedBlockIdMinToIdDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_MIN_TO_ID_DESC', - PortfolioMovementsByUpdatedBlockIdMinTypeAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_MIN_TYPE_ASC', - PortfolioMovementsByUpdatedBlockIdMinTypeDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_MIN_TYPE_DESC', - PortfolioMovementsByUpdatedBlockIdMinUpdatedAtAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - PortfolioMovementsByUpdatedBlockIdMinUpdatedAtDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - PortfolioMovementsByUpdatedBlockIdMinUpdatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - PortfolioMovementsByUpdatedBlockIdMinUpdatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - PortfolioMovementsByUpdatedBlockIdStddevPopulationAddressAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ADDRESS_ASC', - PortfolioMovementsByUpdatedBlockIdStddevPopulationAddressDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ADDRESS_DESC', - PortfolioMovementsByUpdatedBlockIdStddevPopulationAmountAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_AMOUNT_ASC', - PortfolioMovementsByUpdatedBlockIdStddevPopulationAmountDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_AMOUNT_DESC', - PortfolioMovementsByUpdatedBlockIdStddevPopulationAssetIdAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_ASC', - PortfolioMovementsByUpdatedBlockIdStddevPopulationAssetIdDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_DESC', - PortfolioMovementsByUpdatedBlockIdStddevPopulationCreatedAtAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - PortfolioMovementsByUpdatedBlockIdStddevPopulationCreatedAtDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - PortfolioMovementsByUpdatedBlockIdStddevPopulationCreatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - PortfolioMovementsByUpdatedBlockIdStddevPopulationCreatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - PortfolioMovementsByUpdatedBlockIdStddevPopulationFromIdAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_FROM_ID_ASC', - PortfolioMovementsByUpdatedBlockIdStddevPopulationFromIdDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_FROM_ID_DESC', - PortfolioMovementsByUpdatedBlockIdStddevPopulationIdAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - PortfolioMovementsByUpdatedBlockIdStddevPopulationIdDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - PortfolioMovementsByUpdatedBlockIdStddevPopulationMemoAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_MEMO_ASC', - PortfolioMovementsByUpdatedBlockIdStddevPopulationMemoDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_MEMO_DESC', - PortfolioMovementsByUpdatedBlockIdStddevPopulationNftIdsAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_NFT_IDS_ASC', - PortfolioMovementsByUpdatedBlockIdStddevPopulationNftIdsDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_NFT_IDS_DESC', - PortfolioMovementsByUpdatedBlockIdStddevPopulationToIdAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TO_ID_ASC', - PortfolioMovementsByUpdatedBlockIdStddevPopulationToIdDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TO_ID_DESC', - PortfolioMovementsByUpdatedBlockIdStddevPopulationTypeAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TYPE_ASC', - PortfolioMovementsByUpdatedBlockIdStddevPopulationTypeDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TYPE_DESC', - PortfolioMovementsByUpdatedBlockIdStddevPopulationUpdatedAtAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - PortfolioMovementsByUpdatedBlockIdStddevPopulationUpdatedAtDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - PortfolioMovementsByUpdatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - PortfolioMovementsByUpdatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - PortfolioMovementsByUpdatedBlockIdStddevSampleAddressAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ADDRESS_ASC', - PortfolioMovementsByUpdatedBlockIdStddevSampleAddressDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ADDRESS_DESC', - PortfolioMovementsByUpdatedBlockIdStddevSampleAmountAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_AMOUNT_ASC', - PortfolioMovementsByUpdatedBlockIdStddevSampleAmountDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_AMOUNT_DESC', - PortfolioMovementsByUpdatedBlockIdStddevSampleAssetIdAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_ASC', - PortfolioMovementsByUpdatedBlockIdStddevSampleAssetIdDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_DESC', - PortfolioMovementsByUpdatedBlockIdStddevSampleCreatedAtAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - PortfolioMovementsByUpdatedBlockIdStddevSampleCreatedAtDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - PortfolioMovementsByUpdatedBlockIdStddevSampleCreatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - PortfolioMovementsByUpdatedBlockIdStddevSampleCreatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - PortfolioMovementsByUpdatedBlockIdStddevSampleFromIdAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_FROM_ID_ASC', - PortfolioMovementsByUpdatedBlockIdStddevSampleFromIdDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_FROM_ID_DESC', - PortfolioMovementsByUpdatedBlockIdStddevSampleIdAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - PortfolioMovementsByUpdatedBlockIdStddevSampleIdDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - PortfolioMovementsByUpdatedBlockIdStddevSampleMemoAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_MEMO_ASC', - PortfolioMovementsByUpdatedBlockIdStddevSampleMemoDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_MEMO_DESC', - PortfolioMovementsByUpdatedBlockIdStddevSampleNftIdsAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_NFT_IDS_ASC', - PortfolioMovementsByUpdatedBlockIdStddevSampleNftIdsDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_NFT_IDS_DESC', - PortfolioMovementsByUpdatedBlockIdStddevSampleToIdAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TO_ID_ASC', - PortfolioMovementsByUpdatedBlockIdStddevSampleToIdDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TO_ID_DESC', - PortfolioMovementsByUpdatedBlockIdStddevSampleTypeAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TYPE_ASC', - PortfolioMovementsByUpdatedBlockIdStddevSampleTypeDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TYPE_DESC', - PortfolioMovementsByUpdatedBlockIdStddevSampleUpdatedAtAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - PortfolioMovementsByUpdatedBlockIdStddevSampleUpdatedAtDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - PortfolioMovementsByUpdatedBlockIdStddevSampleUpdatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - PortfolioMovementsByUpdatedBlockIdStddevSampleUpdatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - PortfolioMovementsByUpdatedBlockIdSumAddressAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_SUM_ADDRESS_ASC', - PortfolioMovementsByUpdatedBlockIdSumAddressDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_SUM_ADDRESS_DESC', - PortfolioMovementsByUpdatedBlockIdSumAmountAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_SUM_AMOUNT_ASC', - PortfolioMovementsByUpdatedBlockIdSumAmountDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_SUM_AMOUNT_DESC', - PortfolioMovementsByUpdatedBlockIdSumAssetIdAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_SUM_ASSET_ID_ASC', - PortfolioMovementsByUpdatedBlockIdSumAssetIdDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_SUM_ASSET_ID_DESC', - PortfolioMovementsByUpdatedBlockIdSumCreatedAtAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_ASC', - PortfolioMovementsByUpdatedBlockIdSumCreatedAtDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_DESC', - PortfolioMovementsByUpdatedBlockIdSumCreatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - PortfolioMovementsByUpdatedBlockIdSumCreatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - PortfolioMovementsByUpdatedBlockIdSumFromIdAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_SUM_FROM_ID_ASC', - PortfolioMovementsByUpdatedBlockIdSumFromIdDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_SUM_FROM_ID_DESC', - PortfolioMovementsByUpdatedBlockIdSumIdAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_SUM_ID_ASC', - PortfolioMovementsByUpdatedBlockIdSumIdDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_SUM_ID_DESC', - PortfolioMovementsByUpdatedBlockIdSumMemoAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_SUM_MEMO_ASC', - PortfolioMovementsByUpdatedBlockIdSumMemoDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_SUM_MEMO_DESC', - PortfolioMovementsByUpdatedBlockIdSumNftIdsAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_SUM_NFT_IDS_ASC', - PortfolioMovementsByUpdatedBlockIdSumNftIdsDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_SUM_NFT_IDS_DESC', - PortfolioMovementsByUpdatedBlockIdSumToIdAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_SUM_TO_ID_ASC', - PortfolioMovementsByUpdatedBlockIdSumToIdDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_SUM_TO_ID_DESC', - PortfolioMovementsByUpdatedBlockIdSumTypeAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_SUM_TYPE_ASC', - PortfolioMovementsByUpdatedBlockIdSumTypeDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_SUM_TYPE_DESC', - PortfolioMovementsByUpdatedBlockIdSumUpdatedAtAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - PortfolioMovementsByUpdatedBlockIdSumUpdatedAtDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - PortfolioMovementsByUpdatedBlockIdSumUpdatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - PortfolioMovementsByUpdatedBlockIdSumUpdatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - PortfolioMovementsByUpdatedBlockIdVariancePopulationAddressAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ADDRESS_ASC', - PortfolioMovementsByUpdatedBlockIdVariancePopulationAddressDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ADDRESS_DESC', - PortfolioMovementsByUpdatedBlockIdVariancePopulationAmountAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_AMOUNT_ASC', - PortfolioMovementsByUpdatedBlockIdVariancePopulationAmountDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_AMOUNT_DESC', - PortfolioMovementsByUpdatedBlockIdVariancePopulationAssetIdAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_ASC', - PortfolioMovementsByUpdatedBlockIdVariancePopulationAssetIdDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_DESC', - PortfolioMovementsByUpdatedBlockIdVariancePopulationCreatedAtAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - PortfolioMovementsByUpdatedBlockIdVariancePopulationCreatedAtDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - PortfolioMovementsByUpdatedBlockIdVariancePopulationCreatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - PortfolioMovementsByUpdatedBlockIdVariancePopulationCreatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - PortfolioMovementsByUpdatedBlockIdVariancePopulationFromIdAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_FROM_ID_ASC', - PortfolioMovementsByUpdatedBlockIdVariancePopulationFromIdDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_FROM_ID_DESC', - PortfolioMovementsByUpdatedBlockIdVariancePopulationIdAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - PortfolioMovementsByUpdatedBlockIdVariancePopulationIdDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - PortfolioMovementsByUpdatedBlockIdVariancePopulationMemoAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_MEMO_ASC', - PortfolioMovementsByUpdatedBlockIdVariancePopulationMemoDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_MEMO_DESC', - PortfolioMovementsByUpdatedBlockIdVariancePopulationNftIdsAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_NFT_IDS_ASC', - PortfolioMovementsByUpdatedBlockIdVariancePopulationNftIdsDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_NFT_IDS_DESC', - PortfolioMovementsByUpdatedBlockIdVariancePopulationToIdAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TO_ID_ASC', - PortfolioMovementsByUpdatedBlockIdVariancePopulationToIdDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TO_ID_DESC', - PortfolioMovementsByUpdatedBlockIdVariancePopulationTypeAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TYPE_ASC', - PortfolioMovementsByUpdatedBlockIdVariancePopulationTypeDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TYPE_DESC', - PortfolioMovementsByUpdatedBlockIdVariancePopulationUpdatedAtAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - PortfolioMovementsByUpdatedBlockIdVariancePopulationUpdatedAtDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - PortfolioMovementsByUpdatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - PortfolioMovementsByUpdatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - PortfolioMovementsByUpdatedBlockIdVarianceSampleAddressAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ADDRESS_ASC', - PortfolioMovementsByUpdatedBlockIdVarianceSampleAddressDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ADDRESS_DESC', - PortfolioMovementsByUpdatedBlockIdVarianceSampleAmountAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_AMOUNT_ASC', - PortfolioMovementsByUpdatedBlockIdVarianceSampleAmountDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_AMOUNT_DESC', - PortfolioMovementsByUpdatedBlockIdVarianceSampleAssetIdAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_ASC', - PortfolioMovementsByUpdatedBlockIdVarianceSampleAssetIdDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_DESC', - PortfolioMovementsByUpdatedBlockIdVarianceSampleCreatedAtAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - PortfolioMovementsByUpdatedBlockIdVarianceSampleCreatedAtDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - PortfolioMovementsByUpdatedBlockIdVarianceSampleCreatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - PortfolioMovementsByUpdatedBlockIdVarianceSampleCreatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - PortfolioMovementsByUpdatedBlockIdVarianceSampleFromIdAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_FROM_ID_ASC', - PortfolioMovementsByUpdatedBlockIdVarianceSampleFromIdDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_FROM_ID_DESC', - PortfolioMovementsByUpdatedBlockIdVarianceSampleIdAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - PortfolioMovementsByUpdatedBlockIdVarianceSampleIdDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - PortfolioMovementsByUpdatedBlockIdVarianceSampleMemoAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_MEMO_ASC', - PortfolioMovementsByUpdatedBlockIdVarianceSampleMemoDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_MEMO_DESC', - PortfolioMovementsByUpdatedBlockIdVarianceSampleNftIdsAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_NFT_IDS_ASC', - PortfolioMovementsByUpdatedBlockIdVarianceSampleNftIdsDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_NFT_IDS_DESC', - PortfolioMovementsByUpdatedBlockIdVarianceSampleToIdAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TO_ID_ASC', - PortfolioMovementsByUpdatedBlockIdVarianceSampleToIdDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TO_ID_DESC', - PortfolioMovementsByUpdatedBlockIdVarianceSampleTypeAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TYPE_ASC', - PortfolioMovementsByUpdatedBlockIdVarianceSampleTypeDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TYPE_DESC', - PortfolioMovementsByUpdatedBlockIdVarianceSampleUpdatedAtAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - PortfolioMovementsByUpdatedBlockIdVarianceSampleUpdatedAtDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - PortfolioMovementsByUpdatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - PortfolioMovementsByUpdatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - PrimaryKeyAsc = 'PRIMARY_KEY_ASC', - PrimaryKeyDesc = 'PRIMARY_KEY_DESC', - ProposalsByCreatedBlockIdAverageBalanceAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_AVERAGE_BALANCE_ASC', - ProposalsByCreatedBlockIdAverageBalanceDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_AVERAGE_BALANCE_DESC', - ProposalsByCreatedBlockIdAverageCreatedAtAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - ProposalsByCreatedBlockIdAverageCreatedAtDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - ProposalsByCreatedBlockIdAverageCreatedBlockIdAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - ProposalsByCreatedBlockIdAverageCreatedBlockIdDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - ProposalsByCreatedBlockIdAverageDescriptionAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_AVERAGE_DESCRIPTION_ASC', - ProposalsByCreatedBlockIdAverageDescriptionDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_AVERAGE_DESCRIPTION_DESC', - ProposalsByCreatedBlockIdAverageIdAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_AVERAGE_ID_ASC', - ProposalsByCreatedBlockIdAverageIdDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_AVERAGE_ID_DESC', - ProposalsByCreatedBlockIdAverageOwnerIdAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_AVERAGE_OWNER_ID_ASC', - ProposalsByCreatedBlockIdAverageOwnerIdDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_AVERAGE_OWNER_ID_DESC', - ProposalsByCreatedBlockIdAverageProposerAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_AVERAGE_PROPOSER_ASC', - ProposalsByCreatedBlockIdAverageProposerDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_AVERAGE_PROPOSER_DESC', - ProposalsByCreatedBlockIdAverageSnapshottedAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_AVERAGE_SNAPSHOTTED_ASC', - ProposalsByCreatedBlockIdAverageSnapshottedDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_AVERAGE_SNAPSHOTTED_DESC', - ProposalsByCreatedBlockIdAverageStateAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_AVERAGE_STATE_ASC', - ProposalsByCreatedBlockIdAverageStateDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_AVERAGE_STATE_DESC', - ProposalsByCreatedBlockIdAverageTotalAyeWeightAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_AVERAGE_TOTAL_AYE_WEIGHT_ASC', - ProposalsByCreatedBlockIdAverageTotalAyeWeightDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_AVERAGE_TOTAL_AYE_WEIGHT_DESC', - ProposalsByCreatedBlockIdAverageTotalNayWeightAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_AVERAGE_TOTAL_NAY_WEIGHT_ASC', - ProposalsByCreatedBlockIdAverageTotalNayWeightDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_AVERAGE_TOTAL_NAY_WEIGHT_DESC', - ProposalsByCreatedBlockIdAverageUpdatedAtAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - ProposalsByCreatedBlockIdAverageUpdatedAtDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - ProposalsByCreatedBlockIdAverageUpdatedBlockIdAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - ProposalsByCreatedBlockIdAverageUpdatedBlockIdDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - ProposalsByCreatedBlockIdAverageUrlAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_AVERAGE_URL_ASC', - ProposalsByCreatedBlockIdAverageUrlDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_AVERAGE_URL_DESC', - ProposalsByCreatedBlockIdCountAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_COUNT_ASC', - ProposalsByCreatedBlockIdCountDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_COUNT_DESC', - ProposalsByCreatedBlockIdDistinctCountBalanceAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_BALANCE_ASC', - ProposalsByCreatedBlockIdDistinctCountBalanceDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_BALANCE_DESC', - ProposalsByCreatedBlockIdDistinctCountCreatedAtAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - ProposalsByCreatedBlockIdDistinctCountCreatedAtDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - ProposalsByCreatedBlockIdDistinctCountCreatedBlockIdAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - ProposalsByCreatedBlockIdDistinctCountCreatedBlockIdDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - ProposalsByCreatedBlockIdDistinctCountDescriptionAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_DESCRIPTION_ASC', - ProposalsByCreatedBlockIdDistinctCountDescriptionDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_DESCRIPTION_DESC', - ProposalsByCreatedBlockIdDistinctCountIdAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - ProposalsByCreatedBlockIdDistinctCountIdDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - ProposalsByCreatedBlockIdDistinctCountOwnerIdAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_OWNER_ID_ASC', - ProposalsByCreatedBlockIdDistinctCountOwnerIdDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_OWNER_ID_DESC', - ProposalsByCreatedBlockIdDistinctCountProposerAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_PROPOSER_ASC', - ProposalsByCreatedBlockIdDistinctCountProposerDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_PROPOSER_DESC', - ProposalsByCreatedBlockIdDistinctCountSnapshottedAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_SNAPSHOTTED_ASC', - ProposalsByCreatedBlockIdDistinctCountSnapshottedDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_SNAPSHOTTED_DESC', - ProposalsByCreatedBlockIdDistinctCountStateAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_STATE_ASC', - ProposalsByCreatedBlockIdDistinctCountStateDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_STATE_DESC', - ProposalsByCreatedBlockIdDistinctCountTotalAyeWeightAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TOTAL_AYE_WEIGHT_ASC', - ProposalsByCreatedBlockIdDistinctCountTotalAyeWeightDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TOTAL_AYE_WEIGHT_DESC', - ProposalsByCreatedBlockIdDistinctCountTotalNayWeightAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TOTAL_NAY_WEIGHT_ASC', - ProposalsByCreatedBlockIdDistinctCountTotalNayWeightDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TOTAL_NAY_WEIGHT_DESC', - ProposalsByCreatedBlockIdDistinctCountUpdatedAtAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - ProposalsByCreatedBlockIdDistinctCountUpdatedAtDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - ProposalsByCreatedBlockIdDistinctCountUpdatedBlockIdAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - ProposalsByCreatedBlockIdDistinctCountUpdatedBlockIdDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - ProposalsByCreatedBlockIdDistinctCountUrlAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_URL_ASC', - ProposalsByCreatedBlockIdDistinctCountUrlDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_URL_DESC', - ProposalsByCreatedBlockIdMaxBalanceAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_MAX_BALANCE_ASC', - ProposalsByCreatedBlockIdMaxBalanceDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_MAX_BALANCE_DESC', - ProposalsByCreatedBlockIdMaxCreatedAtAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_ASC', - ProposalsByCreatedBlockIdMaxCreatedAtDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_DESC', - ProposalsByCreatedBlockIdMaxCreatedBlockIdAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - ProposalsByCreatedBlockIdMaxCreatedBlockIdDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - ProposalsByCreatedBlockIdMaxDescriptionAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_MAX_DESCRIPTION_ASC', - ProposalsByCreatedBlockIdMaxDescriptionDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_MAX_DESCRIPTION_DESC', - ProposalsByCreatedBlockIdMaxIdAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_MAX_ID_ASC', - ProposalsByCreatedBlockIdMaxIdDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_MAX_ID_DESC', - ProposalsByCreatedBlockIdMaxOwnerIdAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_MAX_OWNER_ID_ASC', - ProposalsByCreatedBlockIdMaxOwnerIdDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_MAX_OWNER_ID_DESC', - ProposalsByCreatedBlockIdMaxProposerAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_MAX_PROPOSER_ASC', - ProposalsByCreatedBlockIdMaxProposerDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_MAX_PROPOSER_DESC', - ProposalsByCreatedBlockIdMaxSnapshottedAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_MAX_SNAPSHOTTED_ASC', - ProposalsByCreatedBlockIdMaxSnapshottedDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_MAX_SNAPSHOTTED_DESC', - ProposalsByCreatedBlockIdMaxStateAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_MAX_STATE_ASC', - ProposalsByCreatedBlockIdMaxStateDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_MAX_STATE_DESC', - ProposalsByCreatedBlockIdMaxTotalAyeWeightAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_MAX_TOTAL_AYE_WEIGHT_ASC', - ProposalsByCreatedBlockIdMaxTotalAyeWeightDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_MAX_TOTAL_AYE_WEIGHT_DESC', - ProposalsByCreatedBlockIdMaxTotalNayWeightAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_MAX_TOTAL_NAY_WEIGHT_ASC', - ProposalsByCreatedBlockIdMaxTotalNayWeightDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_MAX_TOTAL_NAY_WEIGHT_DESC', - ProposalsByCreatedBlockIdMaxUpdatedAtAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - ProposalsByCreatedBlockIdMaxUpdatedAtDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - ProposalsByCreatedBlockIdMaxUpdatedBlockIdAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - ProposalsByCreatedBlockIdMaxUpdatedBlockIdDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - ProposalsByCreatedBlockIdMaxUrlAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_MAX_URL_ASC', - ProposalsByCreatedBlockIdMaxUrlDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_MAX_URL_DESC', - ProposalsByCreatedBlockIdMinBalanceAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_MIN_BALANCE_ASC', - ProposalsByCreatedBlockIdMinBalanceDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_MIN_BALANCE_DESC', - ProposalsByCreatedBlockIdMinCreatedAtAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_ASC', - ProposalsByCreatedBlockIdMinCreatedAtDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_DESC', - ProposalsByCreatedBlockIdMinCreatedBlockIdAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - ProposalsByCreatedBlockIdMinCreatedBlockIdDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - ProposalsByCreatedBlockIdMinDescriptionAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_MIN_DESCRIPTION_ASC', - ProposalsByCreatedBlockIdMinDescriptionDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_MIN_DESCRIPTION_DESC', - ProposalsByCreatedBlockIdMinIdAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_MIN_ID_ASC', - ProposalsByCreatedBlockIdMinIdDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_MIN_ID_DESC', - ProposalsByCreatedBlockIdMinOwnerIdAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_MIN_OWNER_ID_ASC', - ProposalsByCreatedBlockIdMinOwnerIdDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_MIN_OWNER_ID_DESC', - ProposalsByCreatedBlockIdMinProposerAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_MIN_PROPOSER_ASC', - ProposalsByCreatedBlockIdMinProposerDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_MIN_PROPOSER_DESC', - ProposalsByCreatedBlockIdMinSnapshottedAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_MIN_SNAPSHOTTED_ASC', - ProposalsByCreatedBlockIdMinSnapshottedDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_MIN_SNAPSHOTTED_DESC', - ProposalsByCreatedBlockIdMinStateAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_MIN_STATE_ASC', - ProposalsByCreatedBlockIdMinStateDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_MIN_STATE_DESC', - ProposalsByCreatedBlockIdMinTotalAyeWeightAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_MIN_TOTAL_AYE_WEIGHT_ASC', - ProposalsByCreatedBlockIdMinTotalAyeWeightDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_MIN_TOTAL_AYE_WEIGHT_DESC', - ProposalsByCreatedBlockIdMinTotalNayWeightAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_MIN_TOTAL_NAY_WEIGHT_ASC', - ProposalsByCreatedBlockIdMinTotalNayWeightDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_MIN_TOTAL_NAY_WEIGHT_DESC', - ProposalsByCreatedBlockIdMinUpdatedAtAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - ProposalsByCreatedBlockIdMinUpdatedAtDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - ProposalsByCreatedBlockIdMinUpdatedBlockIdAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - ProposalsByCreatedBlockIdMinUpdatedBlockIdDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - ProposalsByCreatedBlockIdMinUrlAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_MIN_URL_ASC', - ProposalsByCreatedBlockIdMinUrlDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_MIN_URL_DESC', - ProposalsByCreatedBlockIdStddevPopulationBalanceAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_BALANCE_ASC', - ProposalsByCreatedBlockIdStddevPopulationBalanceDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_BALANCE_DESC', - ProposalsByCreatedBlockIdStddevPopulationCreatedAtAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - ProposalsByCreatedBlockIdStddevPopulationCreatedAtDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - ProposalsByCreatedBlockIdStddevPopulationCreatedBlockIdAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - ProposalsByCreatedBlockIdStddevPopulationCreatedBlockIdDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - ProposalsByCreatedBlockIdStddevPopulationDescriptionAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_DESCRIPTION_ASC', - ProposalsByCreatedBlockIdStddevPopulationDescriptionDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_DESCRIPTION_DESC', - ProposalsByCreatedBlockIdStddevPopulationIdAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - ProposalsByCreatedBlockIdStddevPopulationIdDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - ProposalsByCreatedBlockIdStddevPopulationOwnerIdAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_OWNER_ID_ASC', - ProposalsByCreatedBlockIdStddevPopulationOwnerIdDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_OWNER_ID_DESC', - ProposalsByCreatedBlockIdStddevPopulationProposerAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_PROPOSER_ASC', - ProposalsByCreatedBlockIdStddevPopulationProposerDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_PROPOSER_DESC', - ProposalsByCreatedBlockIdStddevPopulationSnapshottedAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_SNAPSHOTTED_ASC', - ProposalsByCreatedBlockIdStddevPopulationSnapshottedDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_SNAPSHOTTED_DESC', - ProposalsByCreatedBlockIdStddevPopulationStateAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_STATE_ASC', - ProposalsByCreatedBlockIdStddevPopulationStateDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_STATE_DESC', - ProposalsByCreatedBlockIdStddevPopulationTotalAyeWeightAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TOTAL_AYE_WEIGHT_ASC', - ProposalsByCreatedBlockIdStddevPopulationTotalAyeWeightDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TOTAL_AYE_WEIGHT_DESC', - ProposalsByCreatedBlockIdStddevPopulationTotalNayWeightAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TOTAL_NAY_WEIGHT_ASC', - ProposalsByCreatedBlockIdStddevPopulationTotalNayWeightDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TOTAL_NAY_WEIGHT_DESC', - ProposalsByCreatedBlockIdStddevPopulationUpdatedAtAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - ProposalsByCreatedBlockIdStddevPopulationUpdatedAtDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - ProposalsByCreatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - ProposalsByCreatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - ProposalsByCreatedBlockIdStddevPopulationUrlAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_URL_ASC', - ProposalsByCreatedBlockIdStddevPopulationUrlDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_URL_DESC', - ProposalsByCreatedBlockIdStddevSampleBalanceAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_BALANCE_ASC', - ProposalsByCreatedBlockIdStddevSampleBalanceDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_BALANCE_DESC', - ProposalsByCreatedBlockIdStddevSampleCreatedAtAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - ProposalsByCreatedBlockIdStddevSampleCreatedAtDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - ProposalsByCreatedBlockIdStddevSampleCreatedBlockIdAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - ProposalsByCreatedBlockIdStddevSampleCreatedBlockIdDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - ProposalsByCreatedBlockIdStddevSampleDescriptionAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_DESCRIPTION_ASC', - ProposalsByCreatedBlockIdStddevSampleDescriptionDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_DESCRIPTION_DESC', - ProposalsByCreatedBlockIdStddevSampleIdAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - ProposalsByCreatedBlockIdStddevSampleIdDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - ProposalsByCreatedBlockIdStddevSampleOwnerIdAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_OWNER_ID_ASC', - ProposalsByCreatedBlockIdStddevSampleOwnerIdDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_OWNER_ID_DESC', - ProposalsByCreatedBlockIdStddevSampleProposerAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_PROPOSER_ASC', - ProposalsByCreatedBlockIdStddevSampleProposerDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_PROPOSER_DESC', - ProposalsByCreatedBlockIdStddevSampleSnapshottedAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_SNAPSHOTTED_ASC', - ProposalsByCreatedBlockIdStddevSampleSnapshottedDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_SNAPSHOTTED_DESC', - ProposalsByCreatedBlockIdStddevSampleStateAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_STATE_ASC', - ProposalsByCreatedBlockIdStddevSampleStateDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_STATE_DESC', - ProposalsByCreatedBlockIdStddevSampleTotalAyeWeightAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TOTAL_AYE_WEIGHT_ASC', - ProposalsByCreatedBlockIdStddevSampleTotalAyeWeightDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TOTAL_AYE_WEIGHT_DESC', - ProposalsByCreatedBlockIdStddevSampleTotalNayWeightAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TOTAL_NAY_WEIGHT_ASC', - ProposalsByCreatedBlockIdStddevSampleTotalNayWeightDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TOTAL_NAY_WEIGHT_DESC', - ProposalsByCreatedBlockIdStddevSampleUpdatedAtAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - ProposalsByCreatedBlockIdStddevSampleUpdatedAtDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - ProposalsByCreatedBlockIdStddevSampleUpdatedBlockIdAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - ProposalsByCreatedBlockIdStddevSampleUpdatedBlockIdDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - ProposalsByCreatedBlockIdStddevSampleUrlAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_URL_ASC', - ProposalsByCreatedBlockIdStddevSampleUrlDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_URL_DESC', - ProposalsByCreatedBlockIdSumBalanceAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_SUM_BALANCE_ASC', - ProposalsByCreatedBlockIdSumBalanceDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_SUM_BALANCE_DESC', - ProposalsByCreatedBlockIdSumCreatedAtAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_ASC', - ProposalsByCreatedBlockIdSumCreatedAtDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_DESC', - ProposalsByCreatedBlockIdSumCreatedBlockIdAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - ProposalsByCreatedBlockIdSumCreatedBlockIdDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - ProposalsByCreatedBlockIdSumDescriptionAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_SUM_DESCRIPTION_ASC', - ProposalsByCreatedBlockIdSumDescriptionDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_SUM_DESCRIPTION_DESC', - ProposalsByCreatedBlockIdSumIdAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_SUM_ID_ASC', - ProposalsByCreatedBlockIdSumIdDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_SUM_ID_DESC', - ProposalsByCreatedBlockIdSumOwnerIdAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_SUM_OWNER_ID_ASC', - ProposalsByCreatedBlockIdSumOwnerIdDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_SUM_OWNER_ID_DESC', - ProposalsByCreatedBlockIdSumProposerAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_SUM_PROPOSER_ASC', - ProposalsByCreatedBlockIdSumProposerDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_SUM_PROPOSER_DESC', - ProposalsByCreatedBlockIdSumSnapshottedAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_SUM_SNAPSHOTTED_ASC', - ProposalsByCreatedBlockIdSumSnapshottedDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_SUM_SNAPSHOTTED_DESC', - ProposalsByCreatedBlockIdSumStateAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_SUM_STATE_ASC', - ProposalsByCreatedBlockIdSumStateDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_SUM_STATE_DESC', - ProposalsByCreatedBlockIdSumTotalAyeWeightAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_SUM_TOTAL_AYE_WEIGHT_ASC', - ProposalsByCreatedBlockIdSumTotalAyeWeightDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_SUM_TOTAL_AYE_WEIGHT_DESC', - ProposalsByCreatedBlockIdSumTotalNayWeightAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_SUM_TOTAL_NAY_WEIGHT_ASC', - ProposalsByCreatedBlockIdSumTotalNayWeightDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_SUM_TOTAL_NAY_WEIGHT_DESC', - ProposalsByCreatedBlockIdSumUpdatedAtAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - ProposalsByCreatedBlockIdSumUpdatedAtDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - ProposalsByCreatedBlockIdSumUpdatedBlockIdAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - ProposalsByCreatedBlockIdSumUpdatedBlockIdDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - ProposalsByCreatedBlockIdSumUrlAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_SUM_URL_ASC', - ProposalsByCreatedBlockIdSumUrlDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_SUM_URL_DESC', - ProposalsByCreatedBlockIdVariancePopulationBalanceAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_BALANCE_ASC', - ProposalsByCreatedBlockIdVariancePopulationBalanceDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_BALANCE_DESC', - ProposalsByCreatedBlockIdVariancePopulationCreatedAtAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - ProposalsByCreatedBlockIdVariancePopulationCreatedAtDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - ProposalsByCreatedBlockIdVariancePopulationCreatedBlockIdAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - ProposalsByCreatedBlockIdVariancePopulationCreatedBlockIdDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - ProposalsByCreatedBlockIdVariancePopulationDescriptionAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_DESCRIPTION_ASC', - ProposalsByCreatedBlockIdVariancePopulationDescriptionDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_DESCRIPTION_DESC', - ProposalsByCreatedBlockIdVariancePopulationIdAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - ProposalsByCreatedBlockIdVariancePopulationIdDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - ProposalsByCreatedBlockIdVariancePopulationOwnerIdAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_OWNER_ID_ASC', - ProposalsByCreatedBlockIdVariancePopulationOwnerIdDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_OWNER_ID_DESC', - ProposalsByCreatedBlockIdVariancePopulationProposerAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_PROPOSER_ASC', - ProposalsByCreatedBlockIdVariancePopulationProposerDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_PROPOSER_DESC', - ProposalsByCreatedBlockIdVariancePopulationSnapshottedAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_SNAPSHOTTED_ASC', - ProposalsByCreatedBlockIdVariancePopulationSnapshottedDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_SNAPSHOTTED_DESC', - ProposalsByCreatedBlockIdVariancePopulationStateAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_STATE_ASC', - ProposalsByCreatedBlockIdVariancePopulationStateDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_STATE_DESC', - ProposalsByCreatedBlockIdVariancePopulationTotalAyeWeightAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TOTAL_AYE_WEIGHT_ASC', - ProposalsByCreatedBlockIdVariancePopulationTotalAyeWeightDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TOTAL_AYE_WEIGHT_DESC', - ProposalsByCreatedBlockIdVariancePopulationTotalNayWeightAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TOTAL_NAY_WEIGHT_ASC', - ProposalsByCreatedBlockIdVariancePopulationTotalNayWeightDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TOTAL_NAY_WEIGHT_DESC', - ProposalsByCreatedBlockIdVariancePopulationUpdatedAtAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - ProposalsByCreatedBlockIdVariancePopulationUpdatedAtDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - ProposalsByCreatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - ProposalsByCreatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - ProposalsByCreatedBlockIdVariancePopulationUrlAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_URL_ASC', - ProposalsByCreatedBlockIdVariancePopulationUrlDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_URL_DESC', - ProposalsByCreatedBlockIdVarianceSampleBalanceAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_BALANCE_ASC', - ProposalsByCreatedBlockIdVarianceSampleBalanceDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_BALANCE_DESC', - ProposalsByCreatedBlockIdVarianceSampleCreatedAtAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - ProposalsByCreatedBlockIdVarianceSampleCreatedAtDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - ProposalsByCreatedBlockIdVarianceSampleCreatedBlockIdAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - ProposalsByCreatedBlockIdVarianceSampleCreatedBlockIdDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - ProposalsByCreatedBlockIdVarianceSampleDescriptionAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_DESCRIPTION_ASC', - ProposalsByCreatedBlockIdVarianceSampleDescriptionDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_DESCRIPTION_DESC', - ProposalsByCreatedBlockIdVarianceSampleIdAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - ProposalsByCreatedBlockIdVarianceSampleIdDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - ProposalsByCreatedBlockIdVarianceSampleOwnerIdAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_OWNER_ID_ASC', - ProposalsByCreatedBlockIdVarianceSampleOwnerIdDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_OWNER_ID_DESC', - ProposalsByCreatedBlockIdVarianceSampleProposerAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_PROPOSER_ASC', - ProposalsByCreatedBlockIdVarianceSampleProposerDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_PROPOSER_DESC', - ProposalsByCreatedBlockIdVarianceSampleSnapshottedAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_SNAPSHOTTED_ASC', - ProposalsByCreatedBlockIdVarianceSampleSnapshottedDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_SNAPSHOTTED_DESC', - ProposalsByCreatedBlockIdVarianceSampleStateAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_STATE_ASC', - ProposalsByCreatedBlockIdVarianceSampleStateDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_STATE_DESC', - ProposalsByCreatedBlockIdVarianceSampleTotalAyeWeightAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TOTAL_AYE_WEIGHT_ASC', - ProposalsByCreatedBlockIdVarianceSampleTotalAyeWeightDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TOTAL_AYE_WEIGHT_DESC', - ProposalsByCreatedBlockIdVarianceSampleTotalNayWeightAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TOTAL_NAY_WEIGHT_ASC', - ProposalsByCreatedBlockIdVarianceSampleTotalNayWeightDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TOTAL_NAY_WEIGHT_DESC', - ProposalsByCreatedBlockIdVarianceSampleUpdatedAtAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - ProposalsByCreatedBlockIdVarianceSampleUpdatedAtDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - ProposalsByCreatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - ProposalsByCreatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - ProposalsByCreatedBlockIdVarianceSampleUrlAsc = 'PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_URL_ASC', - ProposalsByCreatedBlockIdVarianceSampleUrlDesc = 'PROPOSALS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_URL_DESC', - ProposalsByUpdatedBlockIdAverageBalanceAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_AVERAGE_BALANCE_ASC', - ProposalsByUpdatedBlockIdAverageBalanceDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_AVERAGE_BALANCE_DESC', - ProposalsByUpdatedBlockIdAverageCreatedAtAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - ProposalsByUpdatedBlockIdAverageCreatedAtDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - ProposalsByUpdatedBlockIdAverageCreatedBlockIdAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - ProposalsByUpdatedBlockIdAverageCreatedBlockIdDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - ProposalsByUpdatedBlockIdAverageDescriptionAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_AVERAGE_DESCRIPTION_ASC', - ProposalsByUpdatedBlockIdAverageDescriptionDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_AVERAGE_DESCRIPTION_DESC', - ProposalsByUpdatedBlockIdAverageIdAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_ASC', - ProposalsByUpdatedBlockIdAverageIdDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_DESC', - ProposalsByUpdatedBlockIdAverageOwnerIdAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_AVERAGE_OWNER_ID_ASC', - ProposalsByUpdatedBlockIdAverageOwnerIdDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_AVERAGE_OWNER_ID_DESC', - ProposalsByUpdatedBlockIdAverageProposerAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_AVERAGE_PROPOSER_ASC', - ProposalsByUpdatedBlockIdAverageProposerDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_AVERAGE_PROPOSER_DESC', - ProposalsByUpdatedBlockIdAverageSnapshottedAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_AVERAGE_SNAPSHOTTED_ASC', - ProposalsByUpdatedBlockIdAverageSnapshottedDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_AVERAGE_SNAPSHOTTED_DESC', - ProposalsByUpdatedBlockIdAverageStateAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_AVERAGE_STATE_ASC', - ProposalsByUpdatedBlockIdAverageStateDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_AVERAGE_STATE_DESC', - ProposalsByUpdatedBlockIdAverageTotalAyeWeightAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_AVERAGE_TOTAL_AYE_WEIGHT_ASC', - ProposalsByUpdatedBlockIdAverageTotalAyeWeightDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_AVERAGE_TOTAL_AYE_WEIGHT_DESC', - ProposalsByUpdatedBlockIdAverageTotalNayWeightAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_AVERAGE_TOTAL_NAY_WEIGHT_ASC', - ProposalsByUpdatedBlockIdAverageTotalNayWeightDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_AVERAGE_TOTAL_NAY_WEIGHT_DESC', - ProposalsByUpdatedBlockIdAverageUpdatedAtAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - ProposalsByUpdatedBlockIdAverageUpdatedAtDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - ProposalsByUpdatedBlockIdAverageUpdatedBlockIdAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - ProposalsByUpdatedBlockIdAverageUpdatedBlockIdDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - ProposalsByUpdatedBlockIdAverageUrlAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_AVERAGE_URL_ASC', - ProposalsByUpdatedBlockIdAverageUrlDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_AVERAGE_URL_DESC', - ProposalsByUpdatedBlockIdCountAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_COUNT_ASC', - ProposalsByUpdatedBlockIdCountDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_COUNT_DESC', - ProposalsByUpdatedBlockIdDistinctCountBalanceAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_BALANCE_ASC', - ProposalsByUpdatedBlockIdDistinctCountBalanceDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_BALANCE_DESC', - ProposalsByUpdatedBlockIdDistinctCountCreatedAtAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - ProposalsByUpdatedBlockIdDistinctCountCreatedAtDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - ProposalsByUpdatedBlockIdDistinctCountCreatedBlockIdAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - ProposalsByUpdatedBlockIdDistinctCountCreatedBlockIdDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - ProposalsByUpdatedBlockIdDistinctCountDescriptionAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_DESCRIPTION_ASC', - ProposalsByUpdatedBlockIdDistinctCountDescriptionDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_DESCRIPTION_DESC', - ProposalsByUpdatedBlockIdDistinctCountIdAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - ProposalsByUpdatedBlockIdDistinctCountIdDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - ProposalsByUpdatedBlockIdDistinctCountOwnerIdAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_OWNER_ID_ASC', - ProposalsByUpdatedBlockIdDistinctCountOwnerIdDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_OWNER_ID_DESC', - ProposalsByUpdatedBlockIdDistinctCountProposerAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_PROPOSER_ASC', - ProposalsByUpdatedBlockIdDistinctCountProposerDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_PROPOSER_DESC', - ProposalsByUpdatedBlockIdDistinctCountSnapshottedAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_SNAPSHOTTED_ASC', - ProposalsByUpdatedBlockIdDistinctCountSnapshottedDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_SNAPSHOTTED_DESC', - ProposalsByUpdatedBlockIdDistinctCountStateAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_STATE_ASC', - ProposalsByUpdatedBlockIdDistinctCountStateDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_STATE_DESC', - ProposalsByUpdatedBlockIdDistinctCountTotalAyeWeightAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TOTAL_AYE_WEIGHT_ASC', - ProposalsByUpdatedBlockIdDistinctCountTotalAyeWeightDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TOTAL_AYE_WEIGHT_DESC', - ProposalsByUpdatedBlockIdDistinctCountTotalNayWeightAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TOTAL_NAY_WEIGHT_ASC', - ProposalsByUpdatedBlockIdDistinctCountTotalNayWeightDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TOTAL_NAY_WEIGHT_DESC', - ProposalsByUpdatedBlockIdDistinctCountUpdatedAtAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - ProposalsByUpdatedBlockIdDistinctCountUpdatedAtDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - ProposalsByUpdatedBlockIdDistinctCountUpdatedBlockIdAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - ProposalsByUpdatedBlockIdDistinctCountUpdatedBlockIdDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - ProposalsByUpdatedBlockIdDistinctCountUrlAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_URL_ASC', - ProposalsByUpdatedBlockIdDistinctCountUrlDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_URL_DESC', - ProposalsByUpdatedBlockIdMaxBalanceAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_MAX_BALANCE_ASC', - ProposalsByUpdatedBlockIdMaxBalanceDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_MAX_BALANCE_DESC', - ProposalsByUpdatedBlockIdMaxCreatedAtAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_ASC', - ProposalsByUpdatedBlockIdMaxCreatedAtDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_DESC', - ProposalsByUpdatedBlockIdMaxCreatedBlockIdAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - ProposalsByUpdatedBlockIdMaxCreatedBlockIdDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - ProposalsByUpdatedBlockIdMaxDescriptionAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_MAX_DESCRIPTION_ASC', - ProposalsByUpdatedBlockIdMaxDescriptionDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_MAX_DESCRIPTION_DESC', - ProposalsByUpdatedBlockIdMaxIdAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_MAX_ID_ASC', - ProposalsByUpdatedBlockIdMaxIdDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_MAX_ID_DESC', - ProposalsByUpdatedBlockIdMaxOwnerIdAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_MAX_OWNER_ID_ASC', - ProposalsByUpdatedBlockIdMaxOwnerIdDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_MAX_OWNER_ID_DESC', - ProposalsByUpdatedBlockIdMaxProposerAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_MAX_PROPOSER_ASC', - ProposalsByUpdatedBlockIdMaxProposerDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_MAX_PROPOSER_DESC', - ProposalsByUpdatedBlockIdMaxSnapshottedAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_MAX_SNAPSHOTTED_ASC', - ProposalsByUpdatedBlockIdMaxSnapshottedDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_MAX_SNAPSHOTTED_DESC', - ProposalsByUpdatedBlockIdMaxStateAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_MAX_STATE_ASC', - ProposalsByUpdatedBlockIdMaxStateDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_MAX_STATE_DESC', - ProposalsByUpdatedBlockIdMaxTotalAyeWeightAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_MAX_TOTAL_AYE_WEIGHT_ASC', - ProposalsByUpdatedBlockIdMaxTotalAyeWeightDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_MAX_TOTAL_AYE_WEIGHT_DESC', - ProposalsByUpdatedBlockIdMaxTotalNayWeightAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_MAX_TOTAL_NAY_WEIGHT_ASC', - ProposalsByUpdatedBlockIdMaxTotalNayWeightDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_MAX_TOTAL_NAY_WEIGHT_DESC', - ProposalsByUpdatedBlockIdMaxUpdatedAtAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - ProposalsByUpdatedBlockIdMaxUpdatedAtDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - ProposalsByUpdatedBlockIdMaxUpdatedBlockIdAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - ProposalsByUpdatedBlockIdMaxUpdatedBlockIdDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - ProposalsByUpdatedBlockIdMaxUrlAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_MAX_URL_ASC', - ProposalsByUpdatedBlockIdMaxUrlDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_MAX_URL_DESC', - ProposalsByUpdatedBlockIdMinBalanceAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_MIN_BALANCE_ASC', - ProposalsByUpdatedBlockIdMinBalanceDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_MIN_BALANCE_DESC', - ProposalsByUpdatedBlockIdMinCreatedAtAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_ASC', - ProposalsByUpdatedBlockIdMinCreatedAtDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_DESC', - ProposalsByUpdatedBlockIdMinCreatedBlockIdAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - ProposalsByUpdatedBlockIdMinCreatedBlockIdDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - ProposalsByUpdatedBlockIdMinDescriptionAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_MIN_DESCRIPTION_ASC', - ProposalsByUpdatedBlockIdMinDescriptionDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_MIN_DESCRIPTION_DESC', - ProposalsByUpdatedBlockIdMinIdAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_MIN_ID_ASC', - ProposalsByUpdatedBlockIdMinIdDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_MIN_ID_DESC', - ProposalsByUpdatedBlockIdMinOwnerIdAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_MIN_OWNER_ID_ASC', - ProposalsByUpdatedBlockIdMinOwnerIdDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_MIN_OWNER_ID_DESC', - ProposalsByUpdatedBlockIdMinProposerAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_MIN_PROPOSER_ASC', - ProposalsByUpdatedBlockIdMinProposerDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_MIN_PROPOSER_DESC', - ProposalsByUpdatedBlockIdMinSnapshottedAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_MIN_SNAPSHOTTED_ASC', - ProposalsByUpdatedBlockIdMinSnapshottedDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_MIN_SNAPSHOTTED_DESC', - ProposalsByUpdatedBlockIdMinStateAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_MIN_STATE_ASC', - ProposalsByUpdatedBlockIdMinStateDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_MIN_STATE_DESC', - ProposalsByUpdatedBlockIdMinTotalAyeWeightAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_MIN_TOTAL_AYE_WEIGHT_ASC', - ProposalsByUpdatedBlockIdMinTotalAyeWeightDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_MIN_TOTAL_AYE_WEIGHT_DESC', - ProposalsByUpdatedBlockIdMinTotalNayWeightAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_MIN_TOTAL_NAY_WEIGHT_ASC', - ProposalsByUpdatedBlockIdMinTotalNayWeightDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_MIN_TOTAL_NAY_WEIGHT_DESC', - ProposalsByUpdatedBlockIdMinUpdatedAtAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - ProposalsByUpdatedBlockIdMinUpdatedAtDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - ProposalsByUpdatedBlockIdMinUpdatedBlockIdAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - ProposalsByUpdatedBlockIdMinUpdatedBlockIdDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - ProposalsByUpdatedBlockIdMinUrlAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_MIN_URL_ASC', - ProposalsByUpdatedBlockIdMinUrlDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_MIN_URL_DESC', - ProposalsByUpdatedBlockIdStddevPopulationBalanceAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_BALANCE_ASC', - ProposalsByUpdatedBlockIdStddevPopulationBalanceDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_BALANCE_DESC', - ProposalsByUpdatedBlockIdStddevPopulationCreatedAtAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - ProposalsByUpdatedBlockIdStddevPopulationCreatedAtDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - ProposalsByUpdatedBlockIdStddevPopulationCreatedBlockIdAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - ProposalsByUpdatedBlockIdStddevPopulationCreatedBlockIdDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - ProposalsByUpdatedBlockIdStddevPopulationDescriptionAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_DESCRIPTION_ASC', - ProposalsByUpdatedBlockIdStddevPopulationDescriptionDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_DESCRIPTION_DESC', - ProposalsByUpdatedBlockIdStddevPopulationIdAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - ProposalsByUpdatedBlockIdStddevPopulationIdDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - ProposalsByUpdatedBlockIdStddevPopulationOwnerIdAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_OWNER_ID_ASC', - ProposalsByUpdatedBlockIdStddevPopulationOwnerIdDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_OWNER_ID_DESC', - ProposalsByUpdatedBlockIdStddevPopulationProposerAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_PROPOSER_ASC', - ProposalsByUpdatedBlockIdStddevPopulationProposerDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_PROPOSER_DESC', - ProposalsByUpdatedBlockIdStddevPopulationSnapshottedAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_SNAPSHOTTED_ASC', - ProposalsByUpdatedBlockIdStddevPopulationSnapshottedDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_SNAPSHOTTED_DESC', - ProposalsByUpdatedBlockIdStddevPopulationStateAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_STATE_ASC', - ProposalsByUpdatedBlockIdStddevPopulationStateDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_STATE_DESC', - ProposalsByUpdatedBlockIdStddevPopulationTotalAyeWeightAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TOTAL_AYE_WEIGHT_ASC', - ProposalsByUpdatedBlockIdStddevPopulationTotalAyeWeightDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TOTAL_AYE_WEIGHT_DESC', - ProposalsByUpdatedBlockIdStddevPopulationTotalNayWeightAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TOTAL_NAY_WEIGHT_ASC', - ProposalsByUpdatedBlockIdStddevPopulationTotalNayWeightDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TOTAL_NAY_WEIGHT_DESC', - ProposalsByUpdatedBlockIdStddevPopulationUpdatedAtAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - ProposalsByUpdatedBlockIdStddevPopulationUpdatedAtDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - ProposalsByUpdatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - ProposalsByUpdatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - ProposalsByUpdatedBlockIdStddevPopulationUrlAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_URL_ASC', - ProposalsByUpdatedBlockIdStddevPopulationUrlDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_URL_DESC', - ProposalsByUpdatedBlockIdStddevSampleBalanceAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_BALANCE_ASC', - ProposalsByUpdatedBlockIdStddevSampleBalanceDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_BALANCE_DESC', - ProposalsByUpdatedBlockIdStddevSampleCreatedAtAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - ProposalsByUpdatedBlockIdStddevSampleCreatedAtDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - ProposalsByUpdatedBlockIdStddevSampleCreatedBlockIdAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - ProposalsByUpdatedBlockIdStddevSampleCreatedBlockIdDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - ProposalsByUpdatedBlockIdStddevSampleDescriptionAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_DESCRIPTION_ASC', - ProposalsByUpdatedBlockIdStddevSampleDescriptionDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_DESCRIPTION_DESC', - ProposalsByUpdatedBlockIdStddevSampleIdAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - ProposalsByUpdatedBlockIdStddevSampleIdDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - ProposalsByUpdatedBlockIdStddevSampleOwnerIdAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_OWNER_ID_ASC', - ProposalsByUpdatedBlockIdStddevSampleOwnerIdDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_OWNER_ID_DESC', - ProposalsByUpdatedBlockIdStddevSampleProposerAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_PROPOSER_ASC', - ProposalsByUpdatedBlockIdStddevSampleProposerDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_PROPOSER_DESC', - ProposalsByUpdatedBlockIdStddevSampleSnapshottedAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_SNAPSHOTTED_ASC', - ProposalsByUpdatedBlockIdStddevSampleSnapshottedDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_SNAPSHOTTED_DESC', - ProposalsByUpdatedBlockIdStddevSampleStateAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_STATE_ASC', - ProposalsByUpdatedBlockIdStddevSampleStateDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_STATE_DESC', - ProposalsByUpdatedBlockIdStddevSampleTotalAyeWeightAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TOTAL_AYE_WEIGHT_ASC', - ProposalsByUpdatedBlockIdStddevSampleTotalAyeWeightDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TOTAL_AYE_WEIGHT_DESC', - ProposalsByUpdatedBlockIdStddevSampleTotalNayWeightAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TOTAL_NAY_WEIGHT_ASC', - ProposalsByUpdatedBlockIdStddevSampleTotalNayWeightDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TOTAL_NAY_WEIGHT_DESC', - ProposalsByUpdatedBlockIdStddevSampleUpdatedAtAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - ProposalsByUpdatedBlockIdStddevSampleUpdatedAtDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - ProposalsByUpdatedBlockIdStddevSampleUpdatedBlockIdAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - ProposalsByUpdatedBlockIdStddevSampleUpdatedBlockIdDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - ProposalsByUpdatedBlockIdStddevSampleUrlAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_URL_ASC', - ProposalsByUpdatedBlockIdStddevSampleUrlDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_URL_DESC', - ProposalsByUpdatedBlockIdSumBalanceAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_SUM_BALANCE_ASC', - ProposalsByUpdatedBlockIdSumBalanceDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_SUM_BALANCE_DESC', - ProposalsByUpdatedBlockIdSumCreatedAtAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_ASC', - ProposalsByUpdatedBlockIdSumCreatedAtDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_DESC', - ProposalsByUpdatedBlockIdSumCreatedBlockIdAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - ProposalsByUpdatedBlockIdSumCreatedBlockIdDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - ProposalsByUpdatedBlockIdSumDescriptionAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_SUM_DESCRIPTION_ASC', - ProposalsByUpdatedBlockIdSumDescriptionDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_SUM_DESCRIPTION_DESC', - ProposalsByUpdatedBlockIdSumIdAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_SUM_ID_ASC', - ProposalsByUpdatedBlockIdSumIdDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_SUM_ID_DESC', - ProposalsByUpdatedBlockIdSumOwnerIdAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_SUM_OWNER_ID_ASC', - ProposalsByUpdatedBlockIdSumOwnerIdDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_SUM_OWNER_ID_DESC', - ProposalsByUpdatedBlockIdSumProposerAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_SUM_PROPOSER_ASC', - ProposalsByUpdatedBlockIdSumProposerDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_SUM_PROPOSER_DESC', - ProposalsByUpdatedBlockIdSumSnapshottedAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_SUM_SNAPSHOTTED_ASC', - ProposalsByUpdatedBlockIdSumSnapshottedDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_SUM_SNAPSHOTTED_DESC', - ProposalsByUpdatedBlockIdSumStateAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_SUM_STATE_ASC', - ProposalsByUpdatedBlockIdSumStateDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_SUM_STATE_DESC', - ProposalsByUpdatedBlockIdSumTotalAyeWeightAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_SUM_TOTAL_AYE_WEIGHT_ASC', - ProposalsByUpdatedBlockIdSumTotalAyeWeightDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_SUM_TOTAL_AYE_WEIGHT_DESC', - ProposalsByUpdatedBlockIdSumTotalNayWeightAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_SUM_TOTAL_NAY_WEIGHT_ASC', - ProposalsByUpdatedBlockIdSumTotalNayWeightDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_SUM_TOTAL_NAY_WEIGHT_DESC', - ProposalsByUpdatedBlockIdSumUpdatedAtAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - ProposalsByUpdatedBlockIdSumUpdatedAtDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - ProposalsByUpdatedBlockIdSumUpdatedBlockIdAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - ProposalsByUpdatedBlockIdSumUpdatedBlockIdDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - ProposalsByUpdatedBlockIdSumUrlAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_SUM_URL_ASC', - ProposalsByUpdatedBlockIdSumUrlDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_SUM_URL_DESC', - ProposalsByUpdatedBlockIdVariancePopulationBalanceAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_BALANCE_ASC', - ProposalsByUpdatedBlockIdVariancePopulationBalanceDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_BALANCE_DESC', - ProposalsByUpdatedBlockIdVariancePopulationCreatedAtAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - ProposalsByUpdatedBlockIdVariancePopulationCreatedAtDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - ProposalsByUpdatedBlockIdVariancePopulationCreatedBlockIdAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - ProposalsByUpdatedBlockIdVariancePopulationCreatedBlockIdDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - ProposalsByUpdatedBlockIdVariancePopulationDescriptionAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_DESCRIPTION_ASC', - ProposalsByUpdatedBlockIdVariancePopulationDescriptionDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_DESCRIPTION_DESC', - ProposalsByUpdatedBlockIdVariancePopulationIdAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - ProposalsByUpdatedBlockIdVariancePopulationIdDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - ProposalsByUpdatedBlockIdVariancePopulationOwnerIdAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_OWNER_ID_ASC', - ProposalsByUpdatedBlockIdVariancePopulationOwnerIdDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_OWNER_ID_DESC', - ProposalsByUpdatedBlockIdVariancePopulationProposerAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_PROPOSER_ASC', - ProposalsByUpdatedBlockIdVariancePopulationProposerDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_PROPOSER_DESC', - ProposalsByUpdatedBlockIdVariancePopulationSnapshottedAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_SNAPSHOTTED_ASC', - ProposalsByUpdatedBlockIdVariancePopulationSnapshottedDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_SNAPSHOTTED_DESC', - ProposalsByUpdatedBlockIdVariancePopulationStateAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_STATE_ASC', - ProposalsByUpdatedBlockIdVariancePopulationStateDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_STATE_DESC', - ProposalsByUpdatedBlockIdVariancePopulationTotalAyeWeightAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TOTAL_AYE_WEIGHT_ASC', - ProposalsByUpdatedBlockIdVariancePopulationTotalAyeWeightDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TOTAL_AYE_WEIGHT_DESC', - ProposalsByUpdatedBlockIdVariancePopulationTotalNayWeightAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TOTAL_NAY_WEIGHT_ASC', - ProposalsByUpdatedBlockIdVariancePopulationTotalNayWeightDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TOTAL_NAY_WEIGHT_DESC', - ProposalsByUpdatedBlockIdVariancePopulationUpdatedAtAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - ProposalsByUpdatedBlockIdVariancePopulationUpdatedAtDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - ProposalsByUpdatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - ProposalsByUpdatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - ProposalsByUpdatedBlockIdVariancePopulationUrlAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_URL_ASC', - ProposalsByUpdatedBlockIdVariancePopulationUrlDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_URL_DESC', - ProposalsByUpdatedBlockIdVarianceSampleBalanceAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_BALANCE_ASC', - ProposalsByUpdatedBlockIdVarianceSampleBalanceDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_BALANCE_DESC', - ProposalsByUpdatedBlockIdVarianceSampleCreatedAtAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - ProposalsByUpdatedBlockIdVarianceSampleCreatedAtDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - ProposalsByUpdatedBlockIdVarianceSampleCreatedBlockIdAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - ProposalsByUpdatedBlockIdVarianceSampleCreatedBlockIdDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - ProposalsByUpdatedBlockIdVarianceSampleDescriptionAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_DESCRIPTION_ASC', - ProposalsByUpdatedBlockIdVarianceSampleDescriptionDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_DESCRIPTION_DESC', - ProposalsByUpdatedBlockIdVarianceSampleIdAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - ProposalsByUpdatedBlockIdVarianceSampleIdDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - ProposalsByUpdatedBlockIdVarianceSampleOwnerIdAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_OWNER_ID_ASC', - ProposalsByUpdatedBlockIdVarianceSampleOwnerIdDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_OWNER_ID_DESC', - ProposalsByUpdatedBlockIdVarianceSampleProposerAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_PROPOSER_ASC', - ProposalsByUpdatedBlockIdVarianceSampleProposerDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_PROPOSER_DESC', - ProposalsByUpdatedBlockIdVarianceSampleSnapshottedAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_SNAPSHOTTED_ASC', - ProposalsByUpdatedBlockIdVarianceSampleSnapshottedDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_SNAPSHOTTED_DESC', - ProposalsByUpdatedBlockIdVarianceSampleStateAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_STATE_ASC', - ProposalsByUpdatedBlockIdVarianceSampleStateDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_STATE_DESC', - ProposalsByUpdatedBlockIdVarianceSampleTotalAyeWeightAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TOTAL_AYE_WEIGHT_ASC', - ProposalsByUpdatedBlockIdVarianceSampleTotalAyeWeightDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TOTAL_AYE_WEIGHT_DESC', - ProposalsByUpdatedBlockIdVarianceSampleTotalNayWeightAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TOTAL_NAY_WEIGHT_ASC', - ProposalsByUpdatedBlockIdVarianceSampleTotalNayWeightDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TOTAL_NAY_WEIGHT_DESC', - ProposalsByUpdatedBlockIdVarianceSampleUpdatedAtAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - ProposalsByUpdatedBlockIdVarianceSampleUpdatedAtDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - ProposalsByUpdatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - ProposalsByUpdatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - ProposalsByUpdatedBlockIdVarianceSampleUrlAsc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_URL_ASC', - ProposalsByUpdatedBlockIdVarianceSampleUrlDesc = 'PROPOSALS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_URL_DESC', - ProposalVotesByCreatedBlockIdAverageAccountAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_AVERAGE_ACCOUNT_ASC', - ProposalVotesByCreatedBlockIdAverageAccountDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_AVERAGE_ACCOUNT_DESC', - ProposalVotesByCreatedBlockIdAverageCreatedAtAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - ProposalVotesByCreatedBlockIdAverageCreatedAtDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - ProposalVotesByCreatedBlockIdAverageCreatedBlockIdAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - ProposalVotesByCreatedBlockIdAverageCreatedBlockIdDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - ProposalVotesByCreatedBlockIdAverageIdAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_AVERAGE_ID_ASC', - ProposalVotesByCreatedBlockIdAverageIdDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_AVERAGE_ID_DESC', - ProposalVotesByCreatedBlockIdAverageProposalIdAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_AVERAGE_PROPOSAL_ID_ASC', - ProposalVotesByCreatedBlockIdAverageProposalIdDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_AVERAGE_PROPOSAL_ID_DESC', - ProposalVotesByCreatedBlockIdAverageUpdatedAtAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - ProposalVotesByCreatedBlockIdAverageUpdatedAtDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - ProposalVotesByCreatedBlockIdAverageUpdatedBlockIdAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - ProposalVotesByCreatedBlockIdAverageUpdatedBlockIdDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - ProposalVotesByCreatedBlockIdAverageVoteAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_AVERAGE_VOTE_ASC', - ProposalVotesByCreatedBlockIdAverageVoteDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_AVERAGE_VOTE_DESC', - ProposalVotesByCreatedBlockIdAverageWeightAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_AVERAGE_WEIGHT_ASC', - ProposalVotesByCreatedBlockIdAverageWeightDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_AVERAGE_WEIGHT_DESC', - ProposalVotesByCreatedBlockIdCountAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_COUNT_ASC', - ProposalVotesByCreatedBlockIdCountDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_COUNT_DESC', - ProposalVotesByCreatedBlockIdDistinctCountAccountAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ACCOUNT_ASC', - ProposalVotesByCreatedBlockIdDistinctCountAccountDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ACCOUNT_DESC', - ProposalVotesByCreatedBlockIdDistinctCountCreatedAtAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - ProposalVotesByCreatedBlockIdDistinctCountCreatedAtDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - ProposalVotesByCreatedBlockIdDistinctCountCreatedBlockIdAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - ProposalVotesByCreatedBlockIdDistinctCountCreatedBlockIdDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - ProposalVotesByCreatedBlockIdDistinctCountIdAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - ProposalVotesByCreatedBlockIdDistinctCountIdDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - ProposalVotesByCreatedBlockIdDistinctCountProposalIdAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_PROPOSAL_ID_ASC', - ProposalVotesByCreatedBlockIdDistinctCountProposalIdDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_PROPOSAL_ID_DESC', - ProposalVotesByCreatedBlockIdDistinctCountUpdatedAtAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - ProposalVotesByCreatedBlockIdDistinctCountUpdatedAtDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - ProposalVotesByCreatedBlockIdDistinctCountUpdatedBlockIdAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - ProposalVotesByCreatedBlockIdDistinctCountUpdatedBlockIdDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - ProposalVotesByCreatedBlockIdDistinctCountVoteAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_VOTE_ASC', - ProposalVotesByCreatedBlockIdDistinctCountVoteDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_VOTE_DESC', - ProposalVotesByCreatedBlockIdDistinctCountWeightAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_WEIGHT_ASC', - ProposalVotesByCreatedBlockIdDistinctCountWeightDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_WEIGHT_DESC', - ProposalVotesByCreatedBlockIdMaxAccountAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MAX_ACCOUNT_ASC', - ProposalVotesByCreatedBlockIdMaxAccountDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MAX_ACCOUNT_DESC', - ProposalVotesByCreatedBlockIdMaxCreatedAtAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_ASC', - ProposalVotesByCreatedBlockIdMaxCreatedAtDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_DESC', - ProposalVotesByCreatedBlockIdMaxCreatedBlockIdAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - ProposalVotesByCreatedBlockIdMaxCreatedBlockIdDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - ProposalVotesByCreatedBlockIdMaxIdAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MAX_ID_ASC', - ProposalVotesByCreatedBlockIdMaxIdDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MAX_ID_DESC', - ProposalVotesByCreatedBlockIdMaxProposalIdAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MAX_PROPOSAL_ID_ASC', - ProposalVotesByCreatedBlockIdMaxProposalIdDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MAX_PROPOSAL_ID_DESC', - ProposalVotesByCreatedBlockIdMaxUpdatedAtAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - ProposalVotesByCreatedBlockIdMaxUpdatedAtDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - ProposalVotesByCreatedBlockIdMaxUpdatedBlockIdAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - ProposalVotesByCreatedBlockIdMaxUpdatedBlockIdDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - ProposalVotesByCreatedBlockIdMaxVoteAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MAX_VOTE_ASC', - ProposalVotesByCreatedBlockIdMaxVoteDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MAX_VOTE_DESC', - ProposalVotesByCreatedBlockIdMaxWeightAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MAX_WEIGHT_ASC', - ProposalVotesByCreatedBlockIdMaxWeightDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MAX_WEIGHT_DESC', - ProposalVotesByCreatedBlockIdMinAccountAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MIN_ACCOUNT_ASC', - ProposalVotesByCreatedBlockIdMinAccountDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MIN_ACCOUNT_DESC', - ProposalVotesByCreatedBlockIdMinCreatedAtAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_ASC', - ProposalVotesByCreatedBlockIdMinCreatedAtDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_DESC', - ProposalVotesByCreatedBlockIdMinCreatedBlockIdAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - ProposalVotesByCreatedBlockIdMinCreatedBlockIdDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - ProposalVotesByCreatedBlockIdMinIdAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MIN_ID_ASC', - ProposalVotesByCreatedBlockIdMinIdDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MIN_ID_DESC', - ProposalVotesByCreatedBlockIdMinProposalIdAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MIN_PROPOSAL_ID_ASC', - ProposalVotesByCreatedBlockIdMinProposalIdDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MIN_PROPOSAL_ID_DESC', - ProposalVotesByCreatedBlockIdMinUpdatedAtAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - ProposalVotesByCreatedBlockIdMinUpdatedAtDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - ProposalVotesByCreatedBlockIdMinUpdatedBlockIdAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - ProposalVotesByCreatedBlockIdMinUpdatedBlockIdDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - ProposalVotesByCreatedBlockIdMinVoteAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MIN_VOTE_ASC', - ProposalVotesByCreatedBlockIdMinVoteDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MIN_VOTE_DESC', - ProposalVotesByCreatedBlockIdMinWeightAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MIN_WEIGHT_ASC', - ProposalVotesByCreatedBlockIdMinWeightDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_MIN_WEIGHT_DESC', - ProposalVotesByCreatedBlockIdStddevPopulationAccountAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ACCOUNT_ASC', - ProposalVotesByCreatedBlockIdStddevPopulationAccountDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ACCOUNT_DESC', - ProposalVotesByCreatedBlockIdStddevPopulationCreatedAtAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - ProposalVotesByCreatedBlockIdStddevPopulationCreatedAtDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - ProposalVotesByCreatedBlockIdStddevPopulationCreatedBlockIdAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - ProposalVotesByCreatedBlockIdStddevPopulationCreatedBlockIdDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - ProposalVotesByCreatedBlockIdStddevPopulationIdAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - ProposalVotesByCreatedBlockIdStddevPopulationIdDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - ProposalVotesByCreatedBlockIdStddevPopulationProposalIdAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_PROPOSAL_ID_ASC', - ProposalVotesByCreatedBlockIdStddevPopulationProposalIdDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_PROPOSAL_ID_DESC', - ProposalVotesByCreatedBlockIdStddevPopulationUpdatedAtAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - ProposalVotesByCreatedBlockIdStddevPopulationUpdatedAtDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - ProposalVotesByCreatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - ProposalVotesByCreatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - ProposalVotesByCreatedBlockIdStddevPopulationVoteAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_VOTE_ASC', - ProposalVotesByCreatedBlockIdStddevPopulationVoteDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_VOTE_DESC', - ProposalVotesByCreatedBlockIdStddevPopulationWeightAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_WEIGHT_ASC', - ProposalVotesByCreatedBlockIdStddevPopulationWeightDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_WEIGHT_DESC', - ProposalVotesByCreatedBlockIdStddevSampleAccountAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ACCOUNT_ASC', - ProposalVotesByCreatedBlockIdStddevSampleAccountDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ACCOUNT_DESC', - ProposalVotesByCreatedBlockIdStddevSampleCreatedAtAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - ProposalVotesByCreatedBlockIdStddevSampleCreatedAtDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - ProposalVotesByCreatedBlockIdStddevSampleCreatedBlockIdAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - ProposalVotesByCreatedBlockIdStddevSampleCreatedBlockIdDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - ProposalVotesByCreatedBlockIdStddevSampleIdAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - ProposalVotesByCreatedBlockIdStddevSampleIdDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - ProposalVotesByCreatedBlockIdStddevSampleProposalIdAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_PROPOSAL_ID_ASC', - ProposalVotesByCreatedBlockIdStddevSampleProposalIdDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_PROPOSAL_ID_DESC', - ProposalVotesByCreatedBlockIdStddevSampleUpdatedAtAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - ProposalVotesByCreatedBlockIdStddevSampleUpdatedAtDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - ProposalVotesByCreatedBlockIdStddevSampleUpdatedBlockIdAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - ProposalVotesByCreatedBlockIdStddevSampleUpdatedBlockIdDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - ProposalVotesByCreatedBlockIdStddevSampleVoteAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_VOTE_ASC', - ProposalVotesByCreatedBlockIdStddevSampleVoteDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_VOTE_DESC', - ProposalVotesByCreatedBlockIdStddevSampleWeightAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_WEIGHT_ASC', - ProposalVotesByCreatedBlockIdStddevSampleWeightDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_WEIGHT_DESC', - ProposalVotesByCreatedBlockIdSumAccountAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_SUM_ACCOUNT_ASC', - ProposalVotesByCreatedBlockIdSumAccountDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_SUM_ACCOUNT_DESC', - ProposalVotesByCreatedBlockIdSumCreatedAtAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_ASC', - ProposalVotesByCreatedBlockIdSumCreatedAtDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_DESC', - ProposalVotesByCreatedBlockIdSumCreatedBlockIdAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - ProposalVotesByCreatedBlockIdSumCreatedBlockIdDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - ProposalVotesByCreatedBlockIdSumIdAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_SUM_ID_ASC', - ProposalVotesByCreatedBlockIdSumIdDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_SUM_ID_DESC', - ProposalVotesByCreatedBlockIdSumProposalIdAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_SUM_PROPOSAL_ID_ASC', - ProposalVotesByCreatedBlockIdSumProposalIdDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_SUM_PROPOSAL_ID_DESC', - ProposalVotesByCreatedBlockIdSumUpdatedAtAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - ProposalVotesByCreatedBlockIdSumUpdatedAtDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - ProposalVotesByCreatedBlockIdSumUpdatedBlockIdAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - ProposalVotesByCreatedBlockIdSumUpdatedBlockIdDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - ProposalVotesByCreatedBlockIdSumVoteAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_SUM_VOTE_ASC', - ProposalVotesByCreatedBlockIdSumVoteDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_SUM_VOTE_DESC', - ProposalVotesByCreatedBlockIdSumWeightAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_SUM_WEIGHT_ASC', - ProposalVotesByCreatedBlockIdSumWeightDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_SUM_WEIGHT_DESC', - ProposalVotesByCreatedBlockIdVariancePopulationAccountAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ACCOUNT_ASC', - ProposalVotesByCreatedBlockIdVariancePopulationAccountDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ACCOUNT_DESC', - ProposalVotesByCreatedBlockIdVariancePopulationCreatedAtAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - ProposalVotesByCreatedBlockIdVariancePopulationCreatedAtDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - ProposalVotesByCreatedBlockIdVariancePopulationCreatedBlockIdAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - ProposalVotesByCreatedBlockIdVariancePopulationCreatedBlockIdDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - ProposalVotesByCreatedBlockIdVariancePopulationIdAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - ProposalVotesByCreatedBlockIdVariancePopulationIdDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - ProposalVotesByCreatedBlockIdVariancePopulationProposalIdAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_PROPOSAL_ID_ASC', - ProposalVotesByCreatedBlockIdVariancePopulationProposalIdDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_PROPOSAL_ID_DESC', - ProposalVotesByCreatedBlockIdVariancePopulationUpdatedAtAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - ProposalVotesByCreatedBlockIdVariancePopulationUpdatedAtDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - ProposalVotesByCreatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - ProposalVotesByCreatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - ProposalVotesByCreatedBlockIdVariancePopulationVoteAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_VOTE_ASC', - ProposalVotesByCreatedBlockIdVariancePopulationVoteDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_VOTE_DESC', - ProposalVotesByCreatedBlockIdVariancePopulationWeightAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_WEIGHT_ASC', - ProposalVotesByCreatedBlockIdVariancePopulationWeightDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_WEIGHT_DESC', - ProposalVotesByCreatedBlockIdVarianceSampleAccountAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ACCOUNT_ASC', - ProposalVotesByCreatedBlockIdVarianceSampleAccountDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ACCOUNT_DESC', - ProposalVotesByCreatedBlockIdVarianceSampleCreatedAtAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - ProposalVotesByCreatedBlockIdVarianceSampleCreatedAtDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - ProposalVotesByCreatedBlockIdVarianceSampleCreatedBlockIdAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - ProposalVotesByCreatedBlockIdVarianceSampleCreatedBlockIdDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - ProposalVotesByCreatedBlockIdVarianceSampleIdAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - ProposalVotesByCreatedBlockIdVarianceSampleIdDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - ProposalVotesByCreatedBlockIdVarianceSampleProposalIdAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_PROPOSAL_ID_ASC', - ProposalVotesByCreatedBlockIdVarianceSampleProposalIdDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_PROPOSAL_ID_DESC', - ProposalVotesByCreatedBlockIdVarianceSampleUpdatedAtAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - ProposalVotesByCreatedBlockIdVarianceSampleUpdatedAtDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - ProposalVotesByCreatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - ProposalVotesByCreatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - ProposalVotesByCreatedBlockIdVarianceSampleVoteAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_VOTE_ASC', - ProposalVotesByCreatedBlockIdVarianceSampleVoteDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_VOTE_DESC', - ProposalVotesByCreatedBlockIdVarianceSampleWeightAsc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_WEIGHT_ASC', - ProposalVotesByCreatedBlockIdVarianceSampleWeightDesc = 'PROPOSAL_VOTES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_WEIGHT_DESC', - ProposalVotesByUpdatedBlockIdAverageAccountAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_AVERAGE_ACCOUNT_ASC', - ProposalVotesByUpdatedBlockIdAverageAccountDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_AVERAGE_ACCOUNT_DESC', - ProposalVotesByUpdatedBlockIdAverageCreatedAtAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - ProposalVotesByUpdatedBlockIdAverageCreatedAtDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - ProposalVotesByUpdatedBlockIdAverageCreatedBlockIdAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - ProposalVotesByUpdatedBlockIdAverageCreatedBlockIdDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - ProposalVotesByUpdatedBlockIdAverageIdAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_AVERAGE_ID_ASC', - ProposalVotesByUpdatedBlockIdAverageIdDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_AVERAGE_ID_DESC', - ProposalVotesByUpdatedBlockIdAverageProposalIdAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_AVERAGE_PROPOSAL_ID_ASC', - ProposalVotesByUpdatedBlockIdAverageProposalIdDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_AVERAGE_PROPOSAL_ID_DESC', - ProposalVotesByUpdatedBlockIdAverageUpdatedAtAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - ProposalVotesByUpdatedBlockIdAverageUpdatedAtDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - ProposalVotesByUpdatedBlockIdAverageUpdatedBlockIdAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - ProposalVotesByUpdatedBlockIdAverageUpdatedBlockIdDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - ProposalVotesByUpdatedBlockIdAverageVoteAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_AVERAGE_VOTE_ASC', - ProposalVotesByUpdatedBlockIdAverageVoteDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_AVERAGE_VOTE_DESC', - ProposalVotesByUpdatedBlockIdAverageWeightAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_AVERAGE_WEIGHT_ASC', - ProposalVotesByUpdatedBlockIdAverageWeightDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_AVERAGE_WEIGHT_DESC', - ProposalVotesByUpdatedBlockIdCountAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_COUNT_ASC', - ProposalVotesByUpdatedBlockIdCountDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_COUNT_DESC', - ProposalVotesByUpdatedBlockIdDistinctCountAccountAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ACCOUNT_ASC', - ProposalVotesByUpdatedBlockIdDistinctCountAccountDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ACCOUNT_DESC', - ProposalVotesByUpdatedBlockIdDistinctCountCreatedAtAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - ProposalVotesByUpdatedBlockIdDistinctCountCreatedAtDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - ProposalVotesByUpdatedBlockIdDistinctCountCreatedBlockIdAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - ProposalVotesByUpdatedBlockIdDistinctCountCreatedBlockIdDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - ProposalVotesByUpdatedBlockIdDistinctCountIdAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - ProposalVotesByUpdatedBlockIdDistinctCountIdDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - ProposalVotesByUpdatedBlockIdDistinctCountProposalIdAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_PROPOSAL_ID_ASC', - ProposalVotesByUpdatedBlockIdDistinctCountProposalIdDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_PROPOSAL_ID_DESC', - ProposalVotesByUpdatedBlockIdDistinctCountUpdatedAtAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - ProposalVotesByUpdatedBlockIdDistinctCountUpdatedAtDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - ProposalVotesByUpdatedBlockIdDistinctCountUpdatedBlockIdAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - ProposalVotesByUpdatedBlockIdDistinctCountUpdatedBlockIdDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - ProposalVotesByUpdatedBlockIdDistinctCountVoteAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_VOTE_ASC', - ProposalVotesByUpdatedBlockIdDistinctCountVoteDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_VOTE_DESC', - ProposalVotesByUpdatedBlockIdDistinctCountWeightAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_WEIGHT_ASC', - ProposalVotesByUpdatedBlockIdDistinctCountWeightDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_WEIGHT_DESC', - ProposalVotesByUpdatedBlockIdMaxAccountAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MAX_ACCOUNT_ASC', - ProposalVotesByUpdatedBlockIdMaxAccountDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MAX_ACCOUNT_DESC', - ProposalVotesByUpdatedBlockIdMaxCreatedAtAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_ASC', - ProposalVotesByUpdatedBlockIdMaxCreatedAtDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_DESC', - ProposalVotesByUpdatedBlockIdMaxCreatedBlockIdAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - ProposalVotesByUpdatedBlockIdMaxCreatedBlockIdDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - ProposalVotesByUpdatedBlockIdMaxIdAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MAX_ID_ASC', - ProposalVotesByUpdatedBlockIdMaxIdDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MAX_ID_DESC', - ProposalVotesByUpdatedBlockIdMaxProposalIdAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MAX_PROPOSAL_ID_ASC', - ProposalVotesByUpdatedBlockIdMaxProposalIdDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MAX_PROPOSAL_ID_DESC', - ProposalVotesByUpdatedBlockIdMaxUpdatedAtAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - ProposalVotesByUpdatedBlockIdMaxUpdatedAtDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - ProposalVotesByUpdatedBlockIdMaxUpdatedBlockIdAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - ProposalVotesByUpdatedBlockIdMaxUpdatedBlockIdDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - ProposalVotesByUpdatedBlockIdMaxVoteAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MAX_VOTE_ASC', - ProposalVotesByUpdatedBlockIdMaxVoteDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MAX_VOTE_DESC', - ProposalVotesByUpdatedBlockIdMaxWeightAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MAX_WEIGHT_ASC', - ProposalVotesByUpdatedBlockIdMaxWeightDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MAX_WEIGHT_DESC', - ProposalVotesByUpdatedBlockIdMinAccountAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MIN_ACCOUNT_ASC', - ProposalVotesByUpdatedBlockIdMinAccountDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MIN_ACCOUNT_DESC', - ProposalVotesByUpdatedBlockIdMinCreatedAtAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_ASC', - ProposalVotesByUpdatedBlockIdMinCreatedAtDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_DESC', - ProposalVotesByUpdatedBlockIdMinCreatedBlockIdAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - ProposalVotesByUpdatedBlockIdMinCreatedBlockIdDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - ProposalVotesByUpdatedBlockIdMinIdAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MIN_ID_ASC', - ProposalVotesByUpdatedBlockIdMinIdDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MIN_ID_DESC', - ProposalVotesByUpdatedBlockIdMinProposalIdAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MIN_PROPOSAL_ID_ASC', - ProposalVotesByUpdatedBlockIdMinProposalIdDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MIN_PROPOSAL_ID_DESC', - ProposalVotesByUpdatedBlockIdMinUpdatedAtAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - ProposalVotesByUpdatedBlockIdMinUpdatedAtDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - ProposalVotesByUpdatedBlockIdMinUpdatedBlockIdAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - ProposalVotesByUpdatedBlockIdMinUpdatedBlockIdDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - ProposalVotesByUpdatedBlockIdMinVoteAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MIN_VOTE_ASC', - ProposalVotesByUpdatedBlockIdMinVoteDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MIN_VOTE_DESC', - ProposalVotesByUpdatedBlockIdMinWeightAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MIN_WEIGHT_ASC', - ProposalVotesByUpdatedBlockIdMinWeightDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_MIN_WEIGHT_DESC', - ProposalVotesByUpdatedBlockIdStddevPopulationAccountAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ACCOUNT_ASC', - ProposalVotesByUpdatedBlockIdStddevPopulationAccountDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ACCOUNT_DESC', - ProposalVotesByUpdatedBlockIdStddevPopulationCreatedAtAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - ProposalVotesByUpdatedBlockIdStddevPopulationCreatedAtDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - ProposalVotesByUpdatedBlockIdStddevPopulationCreatedBlockIdAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - ProposalVotesByUpdatedBlockIdStddevPopulationCreatedBlockIdDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - ProposalVotesByUpdatedBlockIdStddevPopulationIdAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - ProposalVotesByUpdatedBlockIdStddevPopulationIdDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - ProposalVotesByUpdatedBlockIdStddevPopulationProposalIdAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_PROPOSAL_ID_ASC', - ProposalVotesByUpdatedBlockIdStddevPopulationProposalIdDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_PROPOSAL_ID_DESC', - ProposalVotesByUpdatedBlockIdStddevPopulationUpdatedAtAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - ProposalVotesByUpdatedBlockIdStddevPopulationUpdatedAtDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - ProposalVotesByUpdatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - ProposalVotesByUpdatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - ProposalVotesByUpdatedBlockIdStddevPopulationVoteAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_VOTE_ASC', - ProposalVotesByUpdatedBlockIdStddevPopulationVoteDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_VOTE_DESC', - ProposalVotesByUpdatedBlockIdStddevPopulationWeightAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_WEIGHT_ASC', - ProposalVotesByUpdatedBlockIdStddevPopulationWeightDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_WEIGHT_DESC', - ProposalVotesByUpdatedBlockIdStddevSampleAccountAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ACCOUNT_ASC', - ProposalVotesByUpdatedBlockIdStddevSampleAccountDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ACCOUNT_DESC', - ProposalVotesByUpdatedBlockIdStddevSampleCreatedAtAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - ProposalVotesByUpdatedBlockIdStddevSampleCreatedAtDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - ProposalVotesByUpdatedBlockIdStddevSampleCreatedBlockIdAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - ProposalVotesByUpdatedBlockIdStddevSampleCreatedBlockIdDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - ProposalVotesByUpdatedBlockIdStddevSampleIdAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - ProposalVotesByUpdatedBlockIdStddevSampleIdDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - ProposalVotesByUpdatedBlockIdStddevSampleProposalIdAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_PROPOSAL_ID_ASC', - ProposalVotesByUpdatedBlockIdStddevSampleProposalIdDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_PROPOSAL_ID_DESC', - ProposalVotesByUpdatedBlockIdStddevSampleUpdatedAtAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - ProposalVotesByUpdatedBlockIdStddevSampleUpdatedAtDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - ProposalVotesByUpdatedBlockIdStddevSampleUpdatedBlockIdAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - ProposalVotesByUpdatedBlockIdStddevSampleUpdatedBlockIdDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - ProposalVotesByUpdatedBlockIdStddevSampleVoteAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_VOTE_ASC', - ProposalVotesByUpdatedBlockIdStddevSampleVoteDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_VOTE_DESC', - ProposalVotesByUpdatedBlockIdStddevSampleWeightAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_WEIGHT_ASC', - ProposalVotesByUpdatedBlockIdStddevSampleWeightDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_WEIGHT_DESC', - ProposalVotesByUpdatedBlockIdSumAccountAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_SUM_ACCOUNT_ASC', - ProposalVotesByUpdatedBlockIdSumAccountDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_SUM_ACCOUNT_DESC', - ProposalVotesByUpdatedBlockIdSumCreatedAtAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_ASC', - ProposalVotesByUpdatedBlockIdSumCreatedAtDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_DESC', - ProposalVotesByUpdatedBlockIdSumCreatedBlockIdAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - ProposalVotesByUpdatedBlockIdSumCreatedBlockIdDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - ProposalVotesByUpdatedBlockIdSumIdAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_SUM_ID_ASC', - ProposalVotesByUpdatedBlockIdSumIdDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_SUM_ID_DESC', - ProposalVotesByUpdatedBlockIdSumProposalIdAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_SUM_PROPOSAL_ID_ASC', - ProposalVotesByUpdatedBlockIdSumProposalIdDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_SUM_PROPOSAL_ID_DESC', - ProposalVotesByUpdatedBlockIdSumUpdatedAtAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - ProposalVotesByUpdatedBlockIdSumUpdatedAtDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - ProposalVotesByUpdatedBlockIdSumUpdatedBlockIdAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - ProposalVotesByUpdatedBlockIdSumUpdatedBlockIdDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - ProposalVotesByUpdatedBlockIdSumVoteAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_SUM_VOTE_ASC', - ProposalVotesByUpdatedBlockIdSumVoteDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_SUM_VOTE_DESC', - ProposalVotesByUpdatedBlockIdSumWeightAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_SUM_WEIGHT_ASC', - ProposalVotesByUpdatedBlockIdSumWeightDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_SUM_WEIGHT_DESC', - ProposalVotesByUpdatedBlockIdVariancePopulationAccountAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ACCOUNT_ASC', - ProposalVotesByUpdatedBlockIdVariancePopulationAccountDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ACCOUNT_DESC', - ProposalVotesByUpdatedBlockIdVariancePopulationCreatedAtAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - ProposalVotesByUpdatedBlockIdVariancePopulationCreatedAtDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - ProposalVotesByUpdatedBlockIdVariancePopulationCreatedBlockIdAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - ProposalVotesByUpdatedBlockIdVariancePopulationCreatedBlockIdDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - ProposalVotesByUpdatedBlockIdVariancePopulationIdAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - ProposalVotesByUpdatedBlockIdVariancePopulationIdDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - ProposalVotesByUpdatedBlockIdVariancePopulationProposalIdAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_PROPOSAL_ID_ASC', - ProposalVotesByUpdatedBlockIdVariancePopulationProposalIdDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_PROPOSAL_ID_DESC', - ProposalVotesByUpdatedBlockIdVariancePopulationUpdatedAtAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - ProposalVotesByUpdatedBlockIdVariancePopulationUpdatedAtDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - ProposalVotesByUpdatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - ProposalVotesByUpdatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - ProposalVotesByUpdatedBlockIdVariancePopulationVoteAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_VOTE_ASC', - ProposalVotesByUpdatedBlockIdVariancePopulationVoteDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_VOTE_DESC', - ProposalVotesByUpdatedBlockIdVariancePopulationWeightAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_WEIGHT_ASC', - ProposalVotesByUpdatedBlockIdVariancePopulationWeightDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_WEIGHT_DESC', - ProposalVotesByUpdatedBlockIdVarianceSampleAccountAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ACCOUNT_ASC', - ProposalVotesByUpdatedBlockIdVarianceSampleAccountDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ACCOUNT_DESC', - ProposalVotesByUpdatedBlockIdVarianceSampleCreatedAtAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - ProposalVotesByUpdatedBlockIdVarianceSampleCreatedAtDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - ProposalVotesByUpdatedBlockIdVarianceSampleCreatedBlockIdAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - ProposalVotesByUpdatedBlockIdVarianceSampleCreatedBlockIdDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - ProposalVotesByUpdatedBlockIdVarianceSampleIdAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - ProposalVotesByUpdatedBlockIdVarianceSampleIdDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - ProposalVotesByUpdatedBlockIdVarianceSampleProposalIdAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_PROPOSAL_ID_ASC', - ProposalVotesByUpdatedBlockIdVarianceSampleProposalIdDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_PROPOSAL_ID_DESC', - ProposalVotesByUpdatedBlockIdVarianceSampleUpdatedAtAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - ProposalVotesByUpdatedBlockIdVarianceSampleUpdatedAtDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - ProposalVotesByUpdatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - ProposalVotesByUpdatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - ProposalVotesByUpdatedBlockIdVarianceSampleVoteAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_VOTE_ASC', - ProposalVotesByUpdatedBlockIdVarianceSampleVoteDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_VOTE_DESC', - ProposalVotesByUpdatedBlockIdVarianceSampleWeightAsc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_WEIGHT_ASC', - ProposalVotesByUpdatedBlockIdVarianceSampleWeightDesc = 'PROPOSAL_VOTES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_WEIGHT_DESC', - SettlementsByCreatedBlockIdAverageCreatedAtAsc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - SettlementsByCreatedBlockIdAverageCreatedAtDesc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - SettlementsByCreatedBlockIdAverageCreatedBlockIdAsc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - SettlementsByCreatedBlockIdAverageCreatedBlockIdDesc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - SettlementsByCreatedBlockIdAverageIdAsc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_AVERAGE_ID_ASC', - SettlementsByCreatedBlockIdAverageIdDesc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_AVERAGE_ID_DESC', - SettlementsByCreatedBlockIdAverageResultAsc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_AVERAGE_RESULT_ASC', - SettlementsByCreatedBlockIdAverageResultDesc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_AVERAGE_RESULT_DESC', - SettlementsByCreatedBlockIdAverageUpdatedAtAsc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - SettlementsByCreatedBlockIdAverageUpdatedAtDesc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - SettlementsByCreatedBlockIdAverageUpdatedBlockIdAsc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - SettlementsByCreatedBlockIdAverageUpdatedBlockIdDesc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - SettlementsByCreatedBlockIdCountAsc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_COUNT_ASC', - SettlementsByCreatedBlockIdCountDesc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_COUNT_DESC', - SettlementsByCreatedBlockIdDistinctCountCreatedAtAsc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - SettlementsByCreatedBlockIdDistinctCountCreatedAtDesc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - SettlementsByCreatedBlockIdDistinctCountCreatedBlockIdAsc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - SettlementsByCreatedBlockIdDistinctCountCreatedBlockIdDesc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - SettlementsByCreatedBlockIdDistinctCountIdAsc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - SettlementsByCreatedBlockIdDistinctCountIdDesc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - SettlementsByCreatedBlockIdDistinctCountResultAsc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_RESULT_ASC', - SettlementsByCreatedBlockIdDistinctCountResultDesc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_RESULT_DESC', - SettlementsByCreatedBlockIdDistinctCountUpdatedAtAsc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - SettlementsByCreatedBlockIdDistinctCountUpdatedAtDesc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - SettlementsByCreatedBlockIdDistinctCountUpdatedBlockIdAsc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - SettlementsByCreatedBlockIdDistinctCountUpdatedBlockIdDesc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - SettlementsByCreatedBlockIdMaxCreatedAtAsc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_ASC', - SettlementsByCreatedBlockIdMaxCreatedAtDesc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_DESC', - SettlementsByCreatedBlockIdMaxCreatedBlockIdAsc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - SettlementsByCreatedBlockIdMaxCreatedBlockIdDesc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - SettlementsByCreatedBlockIdMaxIdAsc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_MAX_ID_ASC', - SettlementsByCreatedBlockIdMaxIdDesc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_MAX_ID_DESC', - SettlementsByCreatedBlockIdMaxResultAsc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_MAX_RESULT_ASC', - SettlementsByCreatedBlockIdMaxResultDesc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_MAX_RESULT_DESC', - SettlementsByCreatedBlockIdMaxUpdatedAtAsc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - SettlementsByCreatedBlockIdMaxUpdatedAtDesc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - SettlementsByCreatedBlockIdMaxUpdatedBlockIdAsc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - SettlementsByCreatedBlockIdMaxUpdatedBlockIdDesc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - SettlementsByCreatedBlockIdMinCreatedAtAsc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_ASC', - SettlementsByCreatedBlockIdMinCreatedAtDesc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_DESC', - SettlementsByCreatedBlockIdMinCreatedBlockIdAsc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - SettlementsByCreatedBlockIdMinCreatedBlockIdDesc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - SettlementsByCreatedBlockIdMinIdAsc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_MIN_ID_ASC', - SettlementsByCreatedBlockIdMinIdDesc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_MIN_ID_DESC', - SettlementsByCreatedBlockIdMinResultAsc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_MIN_RESULT_ASC', - SettlementsByCreatedBlockIdMinResultDesc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_MIN_RESULT_DESC', - SettlementsByCreatedBlockIdMinUpdatedAtAsc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - SettlementsByCreatedBlockIdMinUpdatedAtDesc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - SettlementsByCreatedBlockIdMinUpdatedBlockIdAsc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - SettlementsByCreatedBlockIdMinUpdatedBlockIdDesc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - SettlementsByCreatedBlockIdStddevPopulationCreatedAtAsc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - SettlementsByCreatedBlockIdStddevPopulationCreatedAtDesc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - SettlementsByCreatedBlockIdStddevPopulationCreatedBlockIdAsc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - SettlementsByCreatedBlockIdStddevPopulationCreatedBlockIdDesc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - SettlementsByCreatedBlockIdStddevPopulationIdAsc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - SettlementsByCreatedBlockIdStddevPopulationIdDesc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - SettlementsByCreatedBlockIdStddevPopulationResultAsc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_RESULT_ASC', - SettlementsByCreatedBlockIdStddevPopulationResultDesc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_RESULT_DESC', - SettlementsByCreatedBlockIdStddevPopulationUpdatedAtAsc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - SettlementsByCreatedBlockIdStddevPopulationUpdatedAtDesc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - SettlementsByCreatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - SettlementsByCreatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - SettlementsByCreatedBlockIdStddevSampleCreatedAtAsc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - SettlementsByCreatedBlockIdStddevSampleCreatedAtDesc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - SettlementsByCreatedBlockIdStddevSampleCreatedBlockIdAsc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - SettlementsByCreatedBlockIdStddevSampleCreatedBlockIdDesc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - SettlementsByCreatedBlockIdStddevSampleIdAsc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - SettlementsByCreatedBlockIdStddevSampleIdDesc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - SettlementsByCreatedBlockIdStddevSampleResultAsc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_RESULT_ASC', - SettlementsByCreatedBlockIdStddevSampleResultDesc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_RESULT_DESC', - SettlementsByCreatedBlockIdStddevSampleUpdatedAtAsc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - SettlementsByCreatedBlockIdStddevSampleUpdatedAtDesc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - SettlementsByCreatedBlockIdStddevSampleUpdatedBlockIdAsc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - SettlementsByCreatedBlockIdStddevSampleUpdatedBlockIdDesc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - SettlementsByCreatedBlockIdSumCreatedAtAsc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_ASC', - SettlementsByCreatedBlockIdSumCreatedAtDesc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_DESC', - SettlementsByCreatedBlockIdSumCreatedBlockIdAsc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - SettlementsByCreatedBlockIdSumCreatedBlockIdDesc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - SettlementsByCreatedBlockIdSumIdAsc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_SUM_ID_ASC', - SettlementsByCreatedBlockIdSumIdDesc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_SUM_ID_DESC', - SettlementsByCreatedBlockIdSumResultAsc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_SUM_RESULT_ASC', - SettlementsByCreatedBlockIdSumResultDesc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_SUM_RESULT_DESC', - SettlementsByCreatedBlockIdSumUpdatedAtAsc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - SettlementsByCreatedBlockIdSumUpdatedAtDesc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - SettlementsByCreatedBlockIdSumUpdatedBlockIdAsc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - SettlementsByCreatedBlockIdSumUpdatedBlockIdDesc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - SettlementsByCreatedBlockIdVariancePopulationCreatedAtAsc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - SettlementsByCreatedBlockIdVariancePopulationCreatedAtDesc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - SettlementsByCreatedBlockIdVariancePopulationCreatedBlockIdAsc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - SettlementsByCreatedBlockIdVariancePopulationCreatedBlockIdDesc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - SettlementsByCreatedBlockIdVariancePopulationIdAsc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - SettlementsByCreatedBlockIdVariancePopulationIdDesc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - SettlementsByCreatedBlockIdVariancePopulationResultAsc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_RESULT_ASC', - SettlementsByCreatedBlockIdVariancePopulationResultDesc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_RESULT_DESC', - SettlementsByCreatedBlockIdVariancePopulationUpdatedAtAsc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - SettlementsByCreatedBlockIdVariancePopulationUpdatedAtDesc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - SettlementsByCreatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - SettlementsByCreatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - SettlementsByCreatedBlockIdVarianceSampleCreatedAtAsc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - SettlementsByCreatedBlockIdVarianceSampleCreatedAtDesc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - SettlementsByCreatedBlockIdVarianceSampleCreatedBlockIdAsc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - SettlementsByCreatedBlockIdVarianceSampleCreatedBlockIdDesc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - SettlementsByCreatedBlockIdVarianceSampleIdAsc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - SettlementsByCreatedBlockIdVarianceSampleIdDesc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - SettlementsByCreatedBlockIdVarianceSampleResultAsc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_RESULT_ASC', - SettlementsByCreatedBlockIdVarianceSampleResultDesc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_RESULT_DESC', - SettlementsByCreatedBlockIdVarianceSampleUpdatedAtAsc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - SettlementsByCreatedBlockIdVarianceSampleUpdatedAtDesc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - SettlementsByCreatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - SettlementsByCreatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'SETTLEMENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - SettlementsByUpdatedBlockIdAverageCreatedAtAsc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - SettlementsByUpdatedBlockIdAverageCreatedAtDesc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - SettlementsByUpdatedBlockIdAverageCreatedBlockIdAsc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - SettlementsByUpdatedBlockIdAverageCreatedBlockIdDesc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - SettlementsByUpdatedBlockIdAverageIdAsc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_ASC', - SettlementsByUpdatedBlockIdAverageIdDesc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_DESC', - SettlementsByUpdatedBlockIdAverageResultAsc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_RESULT_ASC', - SettlementsByUpdatedBlockIdAverageResultDesc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_RESULT_DESC', - SettlementsByUpdatedBlockIdAverageUpdatedAtAsc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - SettlementsByUpdatedBlockIdAverageUpdatedAtDesc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - SettlementsByUpdatedBlockIdAverageUpdatedBlockIdAsc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - SettlementsByUpdatedBlockIdAverageUpdatedBlockIdDesc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - SettlementsByUpdatedBlockIdCountAsc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_COUNT_ASC', - SettlementsByUpdatedBlockIdCountDesc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_COUNT_DESC', - SettlementsByUpdatedBlockIdDistinctCountCreatedAtAsc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - SettlementsByUpdatedBlockIdDistinctCountCreatedAtDesc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - SettlementsByUpdatedBlockIdDistinctCountCreatedBlockIdAsc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - SettlementsByUpdatedBlockIdDistinctCountCreatedBlockIdDesc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - SettlementsByUpdatedBlockIdDistinctCountIdAsc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - SettlementsByUpdatedBlockIdDistinctCountIdDesc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - SettlementsByUpdatedBlockIdDistinctCountResultAsc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_RESULT_ASC', - SettlementsByUpdatedBlockIdDistinctCountResultDesc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_RESULT_DESC', - SettlementsByUpdatedBlockIdDistinctCountUpdatedAtAsc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - SettlementsByUpdatedBlockIdDistinctCountUpdatedAtDesc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - SettlementsByUpdatedBlockIdDistinctCountUpdatedBlockIdAsc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - SettlementsByUpdatedBlockIdDistinctCountUpdatedBlockIdDesc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - SettlementsByUpdatedBlockIdMaxCreatedAtAsc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_ASC', - SettlementsByUpdatedBlockIdMaxCreatedAtDesc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_DESC', - SettlementsByUpdatedBlockIdMaxCreatedBlockIdAsc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - SettlementsByUpdatedBlockIdMaxCreatedBlockIdDesc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - SettlementsByUpdatedBlockIdMaxIdAsc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_MAX_ID_ASC', - SettlementsByUpdatedBlockIdMaxIdDesc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_MAX_ID_DESC', - SettlementsByUpdatedBlockIdMaxResultAsc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_MAX_RESULT_ASC', - SettlementsByUpdatedBlockIdMaxResultDesc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_MAX_RESULT_DESC', - SettlementsByUpdatedBlockIdMaxUpdatedAtAsc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - SettlementsByUpdatedBlockIdMaxUpdatedAtDesc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - SettlementsByUpdatedBlockIdMaxUpdatedBlockIdAsc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - SettlementsByUpdatedBlockIdMaxUpdatedBlockIdDesc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - SettlementsByUpdatedBlockIdMinCreatedAtAsc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_ASC', - SettlementsByUpdatedBlockIdMinCreatedAtDesc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_DESC', - SettlementsByUpdatedBlockIdMinCreatedBlockIdAsc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - SettlementsByUpdatedBlockIdMinCreatedBlockIdDesc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - SettlementsByUpdatedBlockIdMinIdAsc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_MIN_ID_ASC', - SettlementsByUpdatedBlockIdMinIdDesc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_MIN_ID_DESC', - SettlementsByUpdatedBlockIdMinResultAsc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_MIN_RESULT_ASC', - SettlementsByUpdatedBlockIdMinResultDesc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_MIN_RESULT_DESC', - SettlementsByUpdatedBlockIdMinUpdatedAtAsc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - SettlementsByUpdatedBlockIdMinUpdatedAtDesc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - SettlementsByUpdatedBlockIdMinUpdatedBlockIdAsc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - SettlementsByUpdatedBlockIdMinUpdatedBlockIdDesc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - SettlementsByUpdatedBlockIdStddevPopulationCreatedAtAsc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - SettlementsByUpdatedBlockIdStddevPopulationCreatedAtDesc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - SettlementsByUpdatedBlockIdStddevPopulationCreatedBlockIdAsc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - SettlementsByUpdatedBlockIdStddevPopulationCreatedBlockIdDesc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - SettlementsByUpdatedBlockIdStddevPopulationIdAsc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - SettlementsByUpdatedBlockIdStddevPopulationIdDesc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - SettlementsByUpdatedBlockIdStddevPopulationResultAsc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_RESULT_ASC', - SettlementsByUpdatedBlockIdStddevPopulationResultDesc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_RESULT_DESC', - SettlementsByUpdatedBlockIdStddevPopulationUpdatedAtAsc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - SettlementsByUpdatedBlockIdStddevPopulationUpdatedAtDesc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - SettlementsByUpdatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - SettlementsByUpdatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - SettlementsByUpdatedBlockIdStddevSampleCreatedAtAsc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - SettlementsByUpdatedBlockIdStddevSampleCreatedAtDesc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - SettlementsByUpdatedBlockIdStddevSampleCreatedBlockIdAsc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - SettlementsByUpdatedBlockIdStddevSampleCreatedBlockIdDesc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - SettlementsByUpdatedBlockIdStddevSampleIdAsc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - SettlementsByUpdatedBlockIdStddevSampleIdDesc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - SettlementsByUpdatedBlockIdStddevSampleResultAsc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_RESULT_ASC', - SettlementsByUpdatedBlockIdStddevSampleResultDesc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_RESULT_DESC', - SettlementsByUpdatedBlockIdStddevSampleUpdatedAtAsc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - SettlementsByUpdatedBlockIdStddevSampleUpdatedAtDesc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - SettlementsByUpdatedBlockIdStddevSampleUpdatedBlockIdAsc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - SettlementsByUpdatedBlockIdStddevSampleUpdatedBlockIdDesc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - SettlementsByUpdatedBlockIdSumCreatedAtAsc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_ASC', - SettlementsByUpdatedBlockIdSumCreatedAtDesc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_DESC', - SettlementsByUpdatedBlockIdSumCreatedBlockIdAsc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - SettlementsByUpdatedBlockIdSumCreatedBlockIdDesc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - SettlementsByUpdatedBlockIdSumIdAsc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_SUM_ID_ASC', - SettlementsByUpdatedBlockIdSumIdDesc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_SUM_ID_DESC', - SettlementsByUpdatedBlockIdSumResultAsc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_SUM_RESULT_ASC', - SettlementsByUpdatedBlockIdSumResultDesc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_SUM_RESULT_DESC', - SettlementsByUpdatedBlockIdSumUpdatedAtAsc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - SettlementsByUpdatedBlockIdSumUpdatedAtDesc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - SettlementsByUpdatedBlockIdSumUpdatedBlockIdAsc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - SettlementsByUpdatedBlockIdSumUpdatedBlockIdDesc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - SettlementsByUpdatedBlockIdVariancePopulationCreatedAtAsc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - SettlementsByUpdatedBlockIdVariancePopulationCreatedAtDesc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - SettlementsByUpdatedBlockIdVariancePopulationCreatedBlockIdAsc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - SettlementsByUpdatedBlockIdVariancePopulationCreatedBlockIdDesc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - SettlementsByUpdatedBlockIdVariancePopulationIdAsc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - SettlementsByUpdatedBlockIdVariancePopulationIdDesc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - SettlementsByUpdatedBlockIdVariancePopulationResultAsc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_RESULT_ASC', - SettlementsByUpdatedBlockIdVariancePopulationResultDesc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_RESULT_DESC', - SettlementsByUpdatedBlockIdVariancePopulationUpdatedAtAsc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - SettlementsByUpdatedBlockIdVariancePopulationUpdatedAtDesc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - SettlementsByUpdatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - SettlementsByUpdatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - SettlementsByUpdatedBlockIdVarianceSampleCreatedAtAsc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - SettlementsByUpdatedBlockIdVarianceSampleCreatedAtDesc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - SettlementsByUpdatedBlockIdVarianceSampleCreatedBlockIdAsc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - SettlementsByUpdatedBlockIdVarianceSampleCreatedBlockIdDesc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - SettlementsByUpdatedBlockIdVarianceSampleIdAsc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - SettlementsByUpdatedBlockIdVarianceSampleIdDesc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - SettlementsByUpdatedBlockIdVarianceSampleResultAsc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_RESULT_ASC', - SettlementsByUpdatedBlockIdVarianceSampleResultDesc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_RESULT_DESC', - SettlementsByUpdatedBlockIdVarianceSampleUpdatedAtAsc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - SettlementsByUpdatedBlockIdVarianceSampleUpdatedAtDesc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - SettlementsByUpdatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - SettlementsByUpdatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'SETTLEMENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - SpecVersionIdAsc = 'SPEC_VERSION_ID_ASC', - SpecVersionIdDesc = 'SPEC_VERSION_ID_DESC', - StakingEventsByCreatedBlockIdAverageAmountAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_AVERAGE_AMOUNT_ASC', - StakingEventsByCreatedBlockIdAverageAmountDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_AVERAGE_AMOUNT_DESC', - StakingEventsByCreatedBlockIdAverageCreatedAtAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - StakingEventsByCreatedBlockIdAverageCreatedAtDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - StakingEventsByCreatedBlockIdAverageCreatedBlockIdAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - StakingEventsByCreatedBlockIdAverageCreatedBlockIdDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - StakingEventsByCreatedBlockIdAverageDatetimeAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_AVERAGE_DATETIME_ASC', - StakingEventsByCreatedBlockIdAverageDatetimeDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_AVERAGE_DATETIME_DESC', - StakingEventsByCreatedBlockIdAverageEventIdAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_ID_ASC', - StakingEventsByCreatedBlockIdAverageEventIdDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_ID_DESC', - StakingEventsByCreatedBlockIdAverageIdentityIdAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_AVERAGE_IDENTITY_ID_ASC', - StakingEventsByCreatedBlockIdAverageIdentityIdDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_AVERAGE_IDENTITY_ID_DESC', - StakingEventsByCreatedBlockIdAverageIdAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_AVERAGE_ID_ASC', - StakingEventsByCreatedBlockIdAverageIdDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_AVERAGE_ID_DESC', - StakingEventsByCreatedBlockIdAverageNominatedValidatorsAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_AVERAGE_NOMINATED_VALIDATORS_ASC', - StakingEventsByCreatedBlockIdAverageNominatedValidatorsDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_AVERAGE_NOMINATED_VALIDATORS_DESC', - StakingEventsByCreatedBlockIdAverageStashAccountAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_AVERAGE_STASH_ACCOUNT_ASC', - StakingEventsByCreatedBlockIdAverageStashAccountDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_AVERAGE_STASH_ACCOUNT_DESC', - StakingEventsByCreatedBlockIdAverageTransactionIdAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_AVERAGE_TRANSACTION_ID_ASC', - StakingEventsByCreatedBlockIdAverageTransactionIdDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_AVERAGE_TRANSACTION_ID_DESC', - StakingEventsByCreatedBlockIdAverageUpdatedAtAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - StakingEventsByCreatedBlockIdAverageUpdatedAtDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - StakingEventsByCreatedBlockIdAverageUpdatedBlockIdAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - StakingEventsByCreatedBlockIdAverageUpdatedBlockIdDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - StakingEventsByCreatedBlockIdCountAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_COUNT_ASC', - StakingEventsByCreatedBlockIdCountDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_COUNT_DESC', - StakingEventsByCreatedBlockIdDistinctCountAmountAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_AMOUNT_ASC', - StakingEventsByCreatedBlockIdDistinctCountAmountDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_AMOUNT_DESC', - StakingEventsByCreatedBlockIdDistinctCountCreatedAtAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - StakingEventsByCreatedBlockIdDistinctCountCreatedAtDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - StakingEventsByCreatedBlockIdDistinctCountCreatedBlockIdAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - StakingEventsByCreatedBlockIdDistinctCountCreatedBlockIdDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - StakingEventsByCreatedBlockIdDistinctCountDatetimeAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_ASC', - StakingEventsByCreatedBlockIdDistinctCountDatetimeDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_DESC', - StakingEventsByCreatedBlockIdDistinctCountEventIdAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_ID_ASC', - StakingEventsByCreatedBlockIdDistinctCountEventIdDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_ID_DESC', - StakingEventsByCreatedBlockIdDistinctCountIdentityIdAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_IDENTITY_ID_ASC', - StakingEventsByCreatedBlockIdDistinctCountIdentityIdDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_IDENTITY_ID_DESC', - StakingEventsByCreatedBlockIdDistinctCountIdAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - StakingEventsByCreatedBlockIdDistinctCountIdDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - StakingEventsByCreatedBlockIdDistinctCountNominatedValidatorsAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_NOMINATED_VALIDATORS_ASC', - StakingEventsByCreatedBlockIdDistinctCountNominatedValidatorsDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_NOMINATED_VALIDATORS_DESC', - StakingEventsByCreatedBlockIdDistinctCountStashAccountAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_STASH_ACCOUNT_ASC', - StakingEventsByCreatedBlockIdDistinctCountStashAccountDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_STASH_ACCOUNT_DESC', - StakingEventsByCreatedBlockIdDistinctCountTransactionIdAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TRANSACTION_ID_ASC', - StakingEventsByCreatedBlockIdDistinctCountTransactionIdDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TRANSACTION_ID_DESC', - StakingEventsByCreatedBlockIdDistinctCountUpdatedAtAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - StakingEventsByCreatedBlockIdDistinctCountUpdatedAtDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - StakingEventsByCreatedBlockIdDistinctCountUpdatedBlockIdAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - StakingEventsByCreatedBlockIdDistinctCountUpdatedBlockIdDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - StakingEventsByCreatedBlockIdMaxAmountAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_MAX_AMOUNT_ASC', - StakingEventsByCreatedBlockIdMaxAmountDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_MAX_AMOUNT_DESC', - StakingEventsByCreatedBlockIdMaxCreatedAtAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_ASC', - StakingEventsByCreatedBlockIdMaxCreatedAtDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_DESC', - StakingEventsByCreatedBlockIdMaxCreatedBlockIdAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - StakingEventsByCreatedBlockIdMaxCreatedBlockIdDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - StakingEventsByCreatedBlockIdMaxDatetimeAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_MAX_DATETIME_ASC', - StakingEventsByCreatedBlockIdMaxDatetimeDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_MAX_DATETIME_DESC', - StakingEventsByCreatedBlockIdMaxEventIdAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_MAX_EVENT_ID_ASC', - StakingEventsByCreatedBlockIdMaxEventIdDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_MAX_EVENT_ID_DESC', - StakingEventsByCreatedBlockIdMaxIdentityIdAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_MAX_IDENTITY_ID_ASC', - StakingEventsByCreatedBlockIdMaxIdentityIdDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_MAX_IDENTITY_ID_DESC', - StakingEventsByCreatedBlockIdMaxIdAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_MAX_ID_ASC', - StakingEventsByCreatedBlockIdMaxIdDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_MAX_ID_DESC', - StakingEventsByCreatedBlockIdMaxNominatedValidatorsAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_MAX_NOMINATED_VALIDATORS_ASC', - StakingEventsByCreatedBlockIdMaxNominatedValidatorsDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_MAX_NOMINATED_VALIDATORS_DESC', - StakingEventsByCreatedBlockIdMaxStashAccountAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_MAX_STASH_ACCOUNT_ASC', - StakingEventsByCreatedBlockIdMaxStashAccountDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_MAX_STASH_ACCOUNT_DESC', - StakingEventsByCreatedBlockIdMaxTransactionIdAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_MAX_TRANSACTION_ID_ASC', - StakingEventsByCreatedBlockIdMaxTransactionIdDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_MAX_TRANSACTION_ID_DESC', - StakingEventsByCreatedBlockIdMaxUpdatedAtAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - StakingEventsByCreatedBlockIdMaxUpdatedAtDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - StakingEventsByCreatedBlockIdMaxUpdatedBlockIdAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - StakingEventsByCreatedBlockIdMaxUpdatedBlockIdDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - StakingEventsByCreatedBlockIdMinAmountAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_MIN_AMOUNT_ASC', - StakingEventsByCreatedBlockIdMinAmountDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_MIN_AMOUNT_DESC', - StakingEventsByCreatedBlockIdMinCreatedAtAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_ASC', - StakingEventsByCreatedBlockIdMinCreatedAtDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_DESC', - StakingEventsByCreatedBlockIdMinCreatedBlockIdAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - StakingEventsByCreatedBlockIdMinCreatedBlockIdDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - StakingEventsByCreatedBlockIdMinDatetimeAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_MIN_DATETIME_ASC', - StakingEventsByCreatedBlockIdMinDatetimeDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_MIN_DATETIME_DESC', - StakingEventsByCreatedBlockIdMinEventIdAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_MIN_EVENT_ID_ASC', - StakingEventsByCreatedBlockIdMinEventIdDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_MIN_EVENT_ID_DESC', - StakingEventsByCreatedBlockIdMinIdentityIdAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_MIN_IDENTITY_ID_ASC', - StakingEventsByCreatedBlockIdMinIdentityIdDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_MIN_IDENTITY_ID_DESC', - StakingEventsByCreatedBlockIdMinIdAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_MIN_ID_ASC', - StakingEventsByCreatedBlockIdMinIdDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_MIN_ID_DESC', - StakingEventsByCreatedBlockIdMinNominatedValidatorsAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_MIN_NOMINATED_VALIDATORS_ASC', - StakingEventsByCreatedBlockIdMinNominatedValidatorsDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_MIN_NOMINATED_VALIDATORS_DESC', - StakingEventsByCreatedBlockIdMinStashAccountAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_MIN_STASH_ACCOUNT_ASC', - StakingEventsByCreatedBlockIdMinStashAccountDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_MIN_STASH_ACCOUNT_DESC', - StakingEventsByCreatedBlockIdMinTransactionIdAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_MIN_TRANSACTION_ID_ASC', - StakingEventsByCreatedBlockIdMinTransactionIdDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_MIN_TRANSACTION_ID_DESC', - StakingEventsByCreatedBlockIdMinUpdatedAtAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - StakingEventsByCreatedBlockIdMinUpdatedAtDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - StakingEventsByCreatedBlockIdMinUpdatedBlockIdAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - StakingEventsByCreatedBlockIdMinUpdatedBlockIdDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - StakingEventsByCreatedBlockIdStddevPopulationAmountAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_AMOUNT_ASC', - StakingEventsByCreatedBlockIdStddevPopulationAmountDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_AMOUNT_DESC', - StakingEventsByCreatedBlockIdStddevPopulationCreatedAtAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - StakingEventsByCreatedBlockIdStddevPopulationCreatedAtDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - StakingEventsByCreatedBlockIdStddevPopulationCreatedBlockIdAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - StakingEventsByCreatedBlockIdStddevPopulationCreatedBlockIdDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - StakingEventsByCreatedBlockIdStddevPopulationDatetimeAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_DATETIME_ASC', - StakingEventsByCreatedBlockIdStddevPopulationDatetimeDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_DATETIME_DESC', - StakingEventsByCreatedBlockIdStddevPopulationEventIdAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_ID_ASC', - StakingEventsByCreatedBlockIdStddevPopulationEventIdDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_ID_DESC', - StakingEventsByCreatedBlockIdStddevPopulationIdentityIdAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_IDENTITY_ID_ASC', - StakingEventsByCreatedBlockIdStddevPopulationIdentityIdDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_IDENTITY_ID_DESC', - StakingEventsByCreatedBlockIdStddevPopulationIdAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - StakingEventsByCreatedBlockIdStddevPopulationIdDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - StakingEventsByCreatedBlockIdStddevPopulationNominatedValidatorsAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_NOMINATED_VALIDATORS_ASC', - StakingEventsByCreatedBlockIdStddevPopulationNominatedValidatorsDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_NOMINATED_VALIDATORS_DESC', - StakingEventsByCreatedBlockIdStddevPopulationStashAccountAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_STASH_ACCOUNT_ASC', - StakingEventsByCreatedBlockIdStddevPopulationStashAccountDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_STASH_ACCOUNT_DESC', - StakingEventsByCreatedBlockIdStddevPopulationTransactionIdAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TRANSACTION_ID_ASC', - StakingEventsByCreatedBlockIdStddevPopulationTransactionIdDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TRANSACTION_ID_DESC', - StakingEventsByCreatedBlockIdStddevPopulationUpdatedAtAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - StakingEventsByCreatedBlockIdStddevPopulationUpdatedAtDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - StakingEventsByCreatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - StakingEventsByCreatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - StakingEventsByCreatedBlockIdStddevSampleAmountAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_AMOUNT_ASC', - StakingEventsByCreatedBlockIdStddevSampleAmountDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_AMOUNT_DESC', - StakingEventsByCreatedBlockIdStddevSampleCreatedAtAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - StakingEventsByCreatedBlockIdStddevSampleCreatedAtDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - StakingEventsByCreatedBlockIdStddevSampleCreatedBlockIdAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - StakingEventsByCreatedBlockIdStddevSampleCreatedBlockIdDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - StakingEventsByCreatedBlockIdStddevSampleDatetimeAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_DATETIME_ASC', - StakingEventsByCreatedBlockIdStddevSampleDatetimeDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_DATETIME_DESC', - StakingEventsByCreatedBlockIdStddevSampleEventIdAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_ID_ASC', - StakingEventsByCreatedBlockIdStddevSampleEventIdDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_ID_DESC', - StakingEventsByCreatedBlockIdStddevSampleIdentityIdAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_IDENTITY_ID_ASC', - StakingEventsByCreatedBlockIdStddevSampleIdentityIdDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_IDENTITY_ID_DESC', - StakingEventsByCreatedBlockIdStddevSampleIdAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - StakingEventsByCreatedBlockIdStddevSampleIdDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - StakingEventsByCreatedBlockIdStddevSampleNominatedValidatorsAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_NOMINATED_VALIDATORS_ASC', - StakingEventsByCreatedBlockIdStddevSampleNominatedValidatorsDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_NOMINATED_VALIDATORS_DESC', - StakingEventsByCreatedBlockIdStddevSampleStashAccountAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_STASH_ACCOUNT_ASC', - StakingEventsByCreatedBlockIdStddevSampleStashAccountDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_STASH_ACCOUNT_DESC', - StakingEventsByCreatedBlockIdStddevSampleTransactionIdAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TRANSACTION_ID_ASC', - StakingEventsByCreatedBlockIdStddevSampleTransactionIdDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TRANSACTION_ID_DESC', - StakingEventsByCreatedBlockIdStddevSampleUpdatedAtAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - StakingEventsByCreatedBlockIdStddevSampleUpdatedAtDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - StakingEventsByCreatedBlockIdStddevSampleUpdatedBlockIdAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - StakingEventsByCreatedBlockIdStddevSampleUpdatedBlockIdDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - StakingEventsByCreatedBlockIdSumAmountAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_SUM_AMOUNT_ASC', - StakingEventsByCreatedBlockIdSumAmountDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_SUM_AMOUNT_DESC', - StakingEventsByCreatedBlockIdSumCreatedAtAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_ASC', - StakingEventsByCreatedBlockIdSumCreatedAtDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_DESC', - StakingEventsByCreatedBlockIdSumCreatedBlockIdAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - StakingEventsByCreatedBlockIdSumCreatedBlockIdDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - StakingEventsByCreatedBlockIdSumDatetimeAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_SUM_DATETIME_ASC', - StakingEventsByCreatedBlockIdSumDatetimeDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_SUM_DATETIME_DESC', - StakingEventsByCreatedBlockIdSumEventIdAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_SUM_EVENT_ID_ASC', - StakingEventsByCreatedBlockIdSumEventIdDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_SUM_EVENT_ID_DESC', - StakingEventsByCreatedBlockIdSumIdentityIdAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_SUM_IDENTITY_ID_ASC', - StakingEventsByCreatedBlockIdSumIdentityIdDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_SUM_IDENTITY_ID_DESC', - StakingEventsByCreatedBlockIdSumIdAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_SUM_ID_ASC', - StakingEventsByCreatedBlockIdSumIdDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_SUM_ID_DESC', - StakingEventsByCreatedBlockIdSumNominatedValidatorsAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_SUM_NOMINATED_VALIDATORS_ASC', - StakingEventsByCreatedBlockIdSumNominatedValidatorsDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_SUM_NOMINATED_VALIDATORS_DESC', - StakingEventsByCreatedBlockIdSumStashAccountAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_SUM_STASH_ACCOUNT_ASC', - StakingEventsByCreatedBlockIdSumStashAccountDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_SUM_STASH_ACCOUNT_DESC', - StakingEventsByCreatedBlockIdSumTransactionIdAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_SUM_TRANSACTION_ID_ASC', - StakingEventsByCreatedBlockIdSumTransactionIdDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_SUM_TRANSACTION_ID_DESC', - StakingEventsByCreatedBlockIdSumUpdatedAtAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - StakingEventsByCreatedBlockIdSumUpdatedAtDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - StakingEventsByCreatedBlockIdSumUpdatedBlockIdAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - StakingEventsByCreatedBlockIdSumUpdatedBlockIdDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - StakingEventsByCreatedBlockIdVariancePopulationAmountAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_AMOUNT_ASC', - StakingEventsByCreatedBlockIdVariancePopulationAmountDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_AMOUNT_DESC', - StakingEventsByCreatedBlockIdVariancePopulationCreatedAtAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - StakingEventsByCreatedBlockIdVariancePopulationCreatedAtDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - StakingEventsByCreatedBlockIdVariancePopulationCreatedBlockIdAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - StakingEventsByCreatedBlockIdVariancePopulationCreatedBlockIdDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - StakingEventsByCreatedBlockIdVariancePopulationDatetimeAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_DATETIME_ASC', - StakingEventsByCreatedBlockIdVariancePopulationDatetimeDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_DATETIME_DESC', - StakingEventsByCreatedBlockIdVariancePopulationEventIdAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_ID_ASC', - StakingEventsByCreatedBlockIdVariancePopulationEventIdDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_ID_DESC', - StakingEventsByCreatedBlockIdVariancePopulationIdentityIdAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_IDENTITY_ID_ASC', - StakingEventsByCreatedBlockIdVariancePopulationIdentityIdDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_IDENTITY_ID_DESC', - StakingEventsByCreatedBlockIdVariancePopulationIdAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - StakingEventsByCreatedBlockIdVariancePopulationIdDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - StakingEventsByCreatedBlockIdVariancePopulationNominatedValidatorsAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_NOMINATED_VALIDATORS_ASC', - StakingEventsByCreatedBlockIdVariancePopulationNominatedValidatorsDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_NOMINATED_VALIDATORS_DESC', - StakingEventsByCreatedBlockIdVariancePopulationStashAccountAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_STASH_ACCOUNT_ASC', - StakingEventsByCreatedBlockIdVariancePopulationStashAccountDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_STASH_ACCOUNT_DESC', - StakingEventsByCreatedBlockIdVariancePopulationTransactionIdAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TRANSACTION_ID_ASC', - StakingEventsByCreatedBlockIdVariancePopulationTransactionIdDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TRANSACTION_ID_DESC', - StakingEventsByCreatedBlockIdVariancePopulationUpdatedAtAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - StakingEventsByCreatedBlockIdVariancePopulationUpdatedAtDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - StakingEventsByCreatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - StakingEventsByCreatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - StakingEventsByCreatedBlockIdVarianceSampleAmountAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_AMOUNT_ASC', - StakingEventsByCreatedBlockIdVarianceSampleAmountDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_AMOUNT_DESC', - StakingEventsByCreatedBlockIdVarianceSampleCreatedAtAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - StakingEventsByCreatedBlockIdVarianceSampleCreatedAtDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - StakingEventsByCreatedBlockIdVarianceSampleCreatedBlockIdAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - StakingEventsByCreatedBlockIdVarianceSampleCreatedBlockIdDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - StakingEventsByCreatedBlockIdVarianceSampleDatetimeAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_DATETIME_ASC', - StakingEventsByCreatedBlockIdVarianceSampleDatetimeDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_DATETIME_DESC', - StakingEventsByCreatedBlockIdVarianceSampleEventIdAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_ID_ASC', - StakingEventsByCreatedBlockIdVarianceSampleEventIdDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_ID_DESC', - StakingEventsByCreatedBlockIdVarianceSampleIdentityIdAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_IDENTITY_ID_ASC', - StakingEventsByCreatedBlockIdVarianceSampleIdentityIdDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_IDENTITY_ID_DESC', - StakingEventsByCreatedBlockIdVarianceSampleIdAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - StakingEventsByCreatedBlockIdVarianceSampleIdDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - StakingEventsByCreatedBlockIdVarianceSampleNominatedValidatorsAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_NOMINATED_VALIDATORS_ASC', - StakingEventsByCreatedBlockIdVarianceSampleNominatedValidatorsDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_NOMINATED_VALIDATORS_DESC', - StakingEventsByCreatedBlockIdVarianceSampleStashAccountAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_STASH_ACCOUNT_ASC', - StakingEventsByCreatedBlockIdVarianceSampleStashAccountDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_STASH_ACCOUNT_DESC', - StakingEventsByCreatedBlockIdVarianceSampleTransactionIdAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TRANSACTION_ID_ASC', - StakingEventsByCreatedBlockIdVarianceSampleTransactionIdDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TRANSACTION_ID_DESC', - StakingEventsByCreatedBlockIdVarianceSampleUpdatedAtAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - StakingEventsByCreatedBlockIdVarianceSampleUpdatedAtDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - StakingEventsByCreatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - StakingEventsByCreatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'STAKING_EVENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - StakingEventsByUpdatedBlockIdAverageAmountAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_AVERAGE_AMOUNT_ASC', - StakingEventsByUpdatedBlockIdAverageAmountDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_AVERAGE_AMOUNT_DESC', - StakingEventsByUpdatedBlockIdAverageCreatedAtAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - StakingEventsByUpdatedBlockIdAverageCreatedAtDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - StakingEventsByUpdatedBlockIdAverageCreatedBlockIdAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - StakingEventsByUpdatedBlockIdAverageCreatedBlockIdDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - StakingEventsByUpdatedBlockIdAverageDatetimeAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_AVERAGE_DATETIME_ASC', - StakingEventsByUpdatedBlockIdAverageDatetimeDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_AVERAGE_DATETIME_DESC', - StakingEventsByUpdatedBlockIdAverageEventIdAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_ID_ASC', - StakingEventsByUpdatedBlockIdAverageEventIdDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_ID_DESC', - StakingEventsByUpdatedBlockIdAverageIdentityIdAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_AVERAGE_IDENTITY_ID_ASC', - StakingEventsByUpdatedBlockIdAverageIdentityIdDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_AVERAGE_IDENTITY_ID_DESC', - StakingEventsByUpdatedBlockIdAverageIdAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_ASC', - StakingEventsByUpdatedBlockIdAverageIdDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_DESC', - StakingEventsByUpdatedBlockIdAverageNominatedValidatorsAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_AVERAGE_NOMINATED_VALIDATORS_ASC', - StakingEventsByUpdatedBlockIdAverageNominatedValidatorsDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_AVERAGE_NOMINATED_VALIDATORS_DESC', - StakingEventsByUpdatedBlockIdAverageStashAccountAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_AVERAGE_STASH_ACCOUNT_ASC', - StakingEventsByUpdatedBlockIdAverageStashAccountDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_AVERAGE_STASH_ACCOUNT_DESC', - StakingEventsByUpdatedBlockIdAverageTransactionIdAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_AVERAGE_TRANSACTION_ID_ASC', - StakingEventsByUpdatedBlockIdAverageTransactionIdDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_AVERAGE_TRANSACTION_ID_DESC', - StakingEventsByUpdatedBlockIdAverageUpdatedAtAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - StakingEventsByUpdatedBlockIdAverageUpdatedAtDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - StakingEventsByUpdatedBlockIdAverageUpdatedBlockIdAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - StakingEventsByUpdatedBlockIdAverageUpdatedBlockIdDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - StakingEventsByUpdatedBlockIdCountAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_COUNT_ASC', - StakingEventsByUpdatedBlockIdCountDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_COUNT_DESC', - StakingEventsByUpdatedBlockIdDistinctCountAmountAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_AMOUNT_ASC', - StakingEventsByUpdatedBlockIdDistinctCountAmountDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_AMOUNT_DESC', - StakingEventsByUpdatedBlockIdDistinctCountCreatedAtAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - StakingEventsByUpdatedBlockIdDistinctCountCreatedAtDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - StakingEventsByUpdatedBlockIdDistinctCountCreatedBlockIdAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - StakingEventsByUpdatedBlockIdDistinctCountCreatedBlockIdDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - StakingEventsByUpdatedBlockIdDistinctCountDatetimeAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_ASC', - StakingEventsByUpdatedBlockIdDistinctCountDatetimeDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_DESC', - StakingEventsByUpdatedBlockIdDistinctCountEventIdAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_ID_ASC', - StakingEventsByUpdatedBlockIdDistinctCountEventIdDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_ID_DESC', - StakingEventsByUpdatedBlockIdDistinctCountIdentityIdAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_IDENTITY_ID_ASC', - StakingEventsByUpdatedBlockIdDistinctCountIdentityIdDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_IDENTITY_ID_DESC', - StakingEventsByUpdatedBlockIdDistinctCountIdAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - StakingEventsByUpdatedBlockIdDistinctCountIdDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - StakingEventsByUpdatedBlockIdDistinctCountNominatedValidatorsAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_NOMINATED_VALIDATORS_ASC', - StakingEventsByUpdatedBlockIdDistinctCountNominatedValidatorsDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_NOMINATED_VALIDATORS_DESC', - StakingEventsByUpdatedBlockIdDistinctCountStashAccountAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_STASH_ACCOUNT_ASC', - StakingEventsByUpdatedBlockIdDistinctCountStashAccountDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_STASH_ACCOUNT_DESC', - StakingEventsByUpdatedBlockIdDistinctCountTransactionIdAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TRANSACTION_ID_ASC', - StakingEventsByUpdatedBlockIdDistinctCountTransactionIdDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TRANSACTION_ID_DESC', - StakingEventsByUpdatedBlockIdDistinctCountUpdatedAtAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - StakingEventsByUpdatedBlockIdDistinctCountUpdatedAtDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - StakingEventsByUpdatedBlockIdDistinctCountUpdatedBlockIdAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - StakingEventsByUpdatedBlockIdDistinctCountUpdatedBlockIdDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - StakingEventsByUpdatedBlockIdMaxAmountAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_MAX_AMOUNT_ASC', - StakingEventsByUpdatedBlockIdMaxAmountDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_MAX_AMOUNT_DESC', - StakingEventsByUpdatedBlockIdMaxCreatedAtAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_ASC', - StakingEventsByUpdatedBlockIdMaxCreatedAtDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_DESC', - StakingEventsByUpdatedBlockIdMaxCreatedBlockIdAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - StakingEventsByUpdatedBlockIdMaxCreatedBlockIdDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - StakingEventsByUpdatedBlockIdMaxDatetimeAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_MAX_DATETIME_ASC', - StakingEventsByUpdatedBlockIdMaxDatetimeDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_MAX_DATETIME_DESC', - StakingEventsByUpdatedBlockIdMaxEventIdAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_MAX_EVENT_ID_ASC', - StakingEventsByUpdatedBlockIdMaxEventIdDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_MAX_EVENT_ID_DESC', - StakingEventsByUpdatedBlockIdMaxIdentityIdAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_MAX_IDENTITY_ID_ASC', - StakingEventsByUpdatedBlockIdMaxIdentityIdDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_MAX_IDENTITY_ID_DESC', - StakingEventsByUpdatedBlockIdMaxIdAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_MAX_ID_ASC', - StakingEventsByUpdatedBlockIdMaxIdDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_MAX_ID_DESC', - StakingEventsByUpdatedBlockIdMaxNominatedValidatorsAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_MAX_NOMINATED_VALIDATORS_ASC', - StakingEventsByUpdatedBlockIdMaxNominatedValidatorsDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_MAX_NOMINATED_VALIDATORS_DESC', - StakingEventsByUpdatedBlockIdMaxStashAccountAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_MAX_STASH_ACCOUNT_ASC', - StakingEventsByUpdatedBlockIdMaxStashAccountDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_MAX_STASH_ACCOUNT_DESC', - StakingEventsByUpdatedBlockIdMaxTransactionIdAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_MAX_TRANSACTION_ID_ASC', - StakingEventsByUpdatedBlockIdMaxTransactionIdDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_MAX_TRANSACTION_ID_DESC', - StakingEventsByUpdatedBlockIdMaxUpdatedAtAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - StakingEventsByUpdatedBlockIdMaxUpdatedAtDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - StakingEventsByUpdatedBlockIdMaxUpdatedBlockIdAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - StakingEventsByUpdatedBlockIdMaxUpdatedBlockIdDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - StakingEventsByUpdatedBlockIdMinAmountAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_MIN_AMOUNT_ASC', - StakingEventsByUpdatedBlockIdMinAmountDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_MIN_AMOUNT_DESC', - StakingEventsByUpdatedBlockIdMinCreatedAtAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_ASC', - StakingEventsByUpdatedBlockIdMinCreatedAtDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_DESC', - StakingEventsByUpdatedBlockIdMinCreatedBlockIdAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - StakingEventsByUpdatedBlockIdMinCreatedBlockIdDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - StakingEventsByUpdatedBlockIdMinDatetimeAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_MIN_DATETIME_ASC', - StakingEventsByUpdatedBlockIdMinDatetimeDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_MIN_DATETIME_DESC', - StakingEventsByUpdatedBlockIdMinEventIdAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_MIN_EVENT_ID_ASC', - StakingEventsByUpdatedBlockIdMinEventIdDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_MIN_EVENT_ID_DESC', - StakingEventsByUpdatedBlockIdMinIdentityIdAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_MIN_IDENTITY_ID_ASC', - StakingEventsByUpdatedBlockIdMinIdentityIdDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_MIN_IDENTITY_ID_DESC', - StakingEventsByUpdatedBlockIdMinIdAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_MIN_ID_ASC', - StakingEventsByUpdatedBlockIdMinIdDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_MIN_ID_DESC', - StakingEventsByUpdatedBlockIdMinNominatedValidatorsAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_MIN_NOMINATED_VALIDATORS_ASC', - StakingEventsByUpdatedBlockIdMinNominatedValidatorsDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_MIN_NOMINATED_VALIDATORS_DESC', - StakingEventsByUpdatedBlockIdMinStashAccountAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_MIN_STASH_ACCOUNT_ASC', - StakingEventsByUpdatedBlockIdMinStashAccountDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_MIN_STASH_ACCOUNT_DESC', - StakingEventsByUpdatedBlockIdMinTransactionIdAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_MIN_TRANSACTION_ID_ASC', - StakingEventsByUpdatedBlockIdMinTransactionIdDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_MIN_TRANSACTION_ID_DESC', - StakingEventsByUpdatedBlockIdMinUpdatedAtAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - StakingEventsByUpdatedBlockIdMinUpdatedAtDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - StakingEventsByUpdatedBlockIdMinUpdatedBlockIdAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - StakingEventsByUpdatedBlockIdMinUpdatedBlockIdDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - StakingEventsByUpdatedBlockIdStddevPopulationAmountAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_AMOUNT_ASC', - StakingEventsByUpdatedBlockIdStddevPopulationAmountDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_AMOUNT_DESC', - StakingEventsByUpdatedBlockIdStddevPopulationCreatedAtAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - StakingEventsByUpdatedBlockIdStddevPopulationCreatedAtDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - StakingEventsByUpdatedBlockIdStddevPopulationCreatedBlockIdAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - StakingEventsByUpdatedBlockIdStddevPopulationCreatedBlockIdDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - StakingEventsByUpdatedBlockIdStddevPopulationDatetimeAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_DATETIME_ASC', - StakingEventsByUpdatedBlockIdStddevPopulationDatetimeDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_DATETIME_DESC', - StakingEventsByUpdatedBlockIdStddevPopulationEventIdAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_ID_ASC', - StakingEventsByUpdatedBlockIdStddevPopulationEventIdDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_ID_DESC', - StakingEventsByUpdatedBlockIdStddevPopulationIdentityIdAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_IDENTITY_ID_ASC', - StakingEventsByUpdatedBlockIdStddevPopulationIdentityIdDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_IDENTITY_ID_DESC', - StakingEventsByUpdatedBlockIdStddevPopulationIdAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - StakingEventsByUpdatedBlockIdStddevPopulationIdDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - StakingEventsByUpdatedBlockIdStddevPopulationNominatedValidatorsAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_NOMINATED_VALIDATORS_ASC', - StakingEventsByUpdatedBlockIdStddevPopulationNominatedValidatorsDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_NOMINATED_VALIDATORS_DESC', - StakingEventsByUpdatedBlockIdStddevPopulationStashAccountAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_STASH_ACCOUNT_ASC', - StakingEventsByUpdatedBlockIdStddevPopulationStashAccountDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_STASH_ACCOUNT_DESC', - StakingEventsByUpdatedBlockIdStddevPopulationTransactionIdAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TRANSACTION_ID_ASC', - StakingEventsByUpdatedBlockIdStddevPopulationTransactionIdDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TRANSACTION_ID_DESC', - StakingEventsByUpdatedBlockIdStddevPopulationUpdatedAtAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - StakingEventsByUpdatedBlockIdStddevPopulationUpdatedAtDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - StakingEventsByUpdatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - StakingEventsByUpdatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - StakingEventsByUpdatedBlockIdStddevSampleAmountAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_AMOUNT_ASC', - StakingEventsByUpdatedBlockIdStddevSampleAmountDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_AMOUNT_DESC', - StakingEventsByUpdatedBlockIdStddevSampleCreatedAtAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - StakingEventsByUpdatedBlockIdStddevSampleCreatedAtDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - StakingEventsByUpdatedBlockIdStddevSampleCreatedBlockIdAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - StakingEventsByUpdatedBlockIdStddevSampleCreatedBlockIdDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - StakingEventsByUpdatedBlockIdStddevSampleDatetimeAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_DATETIME_ASC', - StakingEventsByUpdatedBlockIdStddevSampleDatetimeDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_DATETIME_DESC', - StakingEventsByUpdatedBlockIdStddevSampleEventIdAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_ID_ASC', - StakingEventsByUpdatedBlockIdStddevSampleEventIdDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_ID_DESC', - StakingEventsByUpdatedBlockIdStddevSampleIdentityIdAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_IDENTITY_ID_ASC', - StakingEventsByUpdatedBlockIdStddevSampleIdentityIdDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_IDENTITY_ID_DESC', - StakingEventsByUpdatedBlockIdStddevSampleIdAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - StakingEventsByUpdatedBlockIdStddevSampleIdDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - StakingEventsByUpdatedBlockIdStddevSampleNominatedValidatorsAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_NOMINATED_VALIDATORS_ASC', - StakingEventsByUpdatedBlockIdStddevSampleNominatedValidatorsDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_NOMINATED_VALIDATORS_DESC', - StakingEventsByUpdatedBlockIdStddevSampleStashAccountAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_STASH_ACCOUNT_ASC', - StakingEventsByUpdatedBlockIdStddevSampleStashAccountDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_STASH_ACCOUNT_DESC', - StakingEventsByUpdatedBlockIdStddevSampleTransactionIdAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TRANSACTION_ID_ASC', - StakingEventsByUpdatedBlockIdStddevSampleTransactionIdDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TRANSACTION_ID_DESC', - StakingEventsByUpdatedBlockIdStddevSampleUpdatedAtAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - StakingEventsByUpdatedBlockIdStddevSampleUpdatedAtDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - StakingEventsByUpdatedBlockIdStddevSampleUpdatedBlockIdAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - StakingEventsByUpdatedBlockIdStddevSampleUpdatedBlockIdDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - StakingEventsByUpdatedBlockIdSumAmountAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_SUM_AMOUNT_ASC', - StakingEventsByUpdatedBlockIdSumAmountDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_SUM_AMOUNT_DESC', - StakingEventsByUpdatedBlockIdSumCreatedAtAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_ASC', - StakingEventsByUpdatedBlockIdSumCreatedAtDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_DESC', - StakingEventsByUpdatedBlockIdSumCreatedBlockIdAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - StakingEventsByUpdatedBlockIdSumCreatedBlockIdDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - StakingEventsByUpdatedBlockIdSumDatetimeAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_SUM_DATETIME_ASC', - StakingEventsByUpdatedBlockIdSumDatetimeDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_SUM_DATETIME_DESC', - StakingEventsByUpdatedBlockIdSumEventIdAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_SUM_EVENT_ID_ASC', - StakingEventsByUpdatedBlockIdSumEventIdDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_SUM_EVENT_ID_DESC', - StakingEventsByUpdatedBlockIdSumIdentityIdAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_SUM_IDENTITY_ID_ASC', - StakingEventsByUpdatedBlockIdSumIdentityIdDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_SUM_IDENTITY_ID_DESC', - StakingEventsByUpdatedBlockIdSumIdAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_SUM_ID_ASC', - StakingEventsByUpdatedBlockIdSumIdDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_SUM_ID_DESC', - StakingEventsByUpdatedBlockIdSumNominatedValidatorsAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_SUM_NOMINATED_VALIDATORS_ASC', - StakingEventsByUpdatedBlockIdSumNominatedValidatorsDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_SUM_NOMINATED_VALIDATORS_DESC', - StakingEventsByUpdatedBlockIdSumStashAccountAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_SUM_STASH_ACCOUNT_ASC', - StakingEventsByUpdatedBlockIdSumStashAccountDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_SUM_STASH_ACCOUNT_DESC', - StakingEventsByUpdatedBlockIdSumTransactionIdAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_SUM_TRANSACTION_ID_ASC', - StakingEventsByUpdatedBlockIdSumTransactionIdDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_SUM_TRANSACTION_ID_DESC', - StakingEventsByUpdatedBlockIdSumUpdatedAtAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - StakingEventsByUpdatedBlockIdSumUpdatedAtDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - StakingEventsByUpdatedBlockIdSumUpdatedBlockIdAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - StakingEventsByUpdatedBlockIdSumUpdatedBlockIdDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - StakingEventsByUpdatedBlockIdVariancePopulationAmountAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_AMOUNT_ASC', - StakingEventsByUpdatedBlockIdVariancePopulationAmountDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_AMOUNT_DESC', - StakingEventsByUpdatedBlockIdVariancePopulationCreatedAtAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - StakingEventsByUpdatedBlockIdVariancePopulationCreatedAtDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - StakingEventsByUpdatedBlockIdVariancePopulationCreatedBlockIdAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - StakingEventsByUpdatedBlockIdVariancePopulationCreatedBlockIdDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - StakingEventsByUpdatedBlockIdVariancePopulationDatetimeAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_DATETIME_ASC', - StakingEventsByUpdatedBlockIdVariancePopulationDatetimeDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_DATETIME_DESC', - StakingEventsByUpdatedBlockIdVariancePopulationEventIdAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_ID_ASC', - StakingEventsByUpdatedBlockIdVariancePopulationEventIdDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_ID_DESC', - StakingEventsByUpdatedBlockIdVariancePopulationIdentityIdAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_IDENTITY_ID_ASC', - StakingEventsByUpdatedBlockIdVariancePopulationIdentityIdDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_IDENTITY_ID_DESC', - StakingEventsByUpdatedBlockIdVariancePopulationIdAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - StakingEventsByUpdatedBlockIdVariancePopulationIdDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - StakingEventsByUpdatedBlockIdVariancePopulationNominatedValidatorsAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_NOMINATED_VALIDATORS_ASC', - StakingEventsByUpdatedBlockIdVariancePopulationNominatedValidatorsDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_NOMINATED_VALIDATORS_DESC', - StakingEventsByUpdatedBlockIdVariancePopulationStashAccountAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_STASH_ACCOUNT_ASC', - StakingEventsByUpdatedBlockIdVariancePopulationStashAccountDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_STASH_ACCOUNT_DESC', - StakingEventsByUpdatedBlockIdVariancePopulationTransactionIdAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TRANSACTION_ID_ASC', - StakingEventsByUpdatedBlockIdVariancePopulationTransactionIdDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TRANSACTION_ID_DESC', - StakingEventsByUpdatedBlockIdVariancePopulationUpdatedAtAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - StakingEventsByUpdatedBlockIdVariancePopulationUpdatedAtDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - StakingEventsByUpdatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - StakingEventsByUpdatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - StakingEventsByUpdatedBlockIdVarianceSampleAmountAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_AMOUNT_ASC', - StakingEventsByUpdatedBlockIdVarianceSampleAmountDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_AMOUNT_DESC', - StakingEventsByUpdatedBlockIdVarianceSampleCreatedAtAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - StakingEventsByUpdatedBlockIdVarianceSampleCreatedAtDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - StakingEventsByUpdatedBlockIdVarianceSampleCreatedBlockIdAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - StakingEventsByUpdatedBlockIdVarianceSampleCreatedBlockIdDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - StakingEventsByUpdatedBlockIdVarianceSampleDatetimeAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_DATETIME_ASC', - StakingEventsByUpdatedBlockIdVarianceSampleDatetimeDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_DATETIME_DESC', - StakingEventsByUpdatedBlockIdVarianceSampleEventIdAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_ID_ASC', - StakingEventsByUpdatedBlockIdVarianceSampleEventIdDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_ID_DESC', - StakingEventsByUpdatedBlockIdVarianceSampleIdentityIdAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_IDENTITY_ID_ASC', - StakingEventsByUpdatedBlockIdVarianceSampleIdentityIdDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_IDENTITY_ID_DESC', - StakingEventsByUpdatedBlockIdVarianceSampleIdAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - StakingEventsByUpdatedBlockIdVarianceSampleIdDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - StakingEventsByUpdatedBlockIdVarianceSampleNominatedValidatorsAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_NOMINATED_VALIDATORS_ASC', - StakingEventsByUpdatedBlockIdVarianceSampleNominatedValidatorsDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_NOMINATED_VALIDATORS_DESC', - StakingEventsByUpdatedBlockIdVarianceSampleStashAccountAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_STASH_ACCOUNT_ASC', - StakingEventsByUpdatedBlockIdVarianceSampleStashAccountDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_STASH_ACCOUNT_DESC', - StakingEventsByUpdatedBlockIdVarianceSampleTransactionIdAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TRANSACTION_ID_ASC', - StakingEventsByUpdatedBlockIdVarianceSampleTransactionIdDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TRANSACTION_ID_DESC', - StakingEventsByUpdatedBlockIdVarianceSampleUpdatedAtAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - StakingEventsByUpdatedBlockIdVarianceSampleUpdatedAtDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - StakingEventsByUpdatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - StakingEventsByUpdatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'STAKING_EVENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - StateRootAsc = 'STATE_ROOT_ASC', - StateRootDesc = 'STATE_ROOT_DESC', - StatTypesByCreatedBlockIdAverageAssetIdAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_AVERAGE_ASSET_ID_ASC', - StatTypesByCreatedBlockIdAverageAssetIdDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_AVERAGE_ASSET_ID_DESC', - StatTypesByCreatedBlockIdAverageClaimIssuerIdAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_AVERAGE_CLAIM_ISSUER_ID_ASC', - StatTypesByCreatedBlockIdAverageClaimIssuerIdDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_AVERAGE_CLAIM_ISSUER_ID_DESC', - StatTypesByCreatedBlockIdAverageClaimTypeAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_AVERAGE_CLAIM_TYPE_ASC', - StatTypesByCreatedBlockIdAverageClaimTypeDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_AVERAGE_CLAIM_TYPE_DESC', - StatTypesByCreatedBlockIdAverageCreatedAtAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - StatTypesByCreatedBlockIdAverageCreatedAtDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - StatTypesByCreatedBlockIdAverageCreatedBlockIdAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - StatTypesByCreatedBlockIdAverageCreatedBlockIdDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - StatTypesByCreatedBlockIdAverageIdAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_AVERAGE_ID_ASC', - StatTypesByCreatedBlockIdAverageIdDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_AVERAGE_ID_DESC', - StatTypesByCreatedBlockIdAverageOpTypeAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_AVERAGE_OP_TYPE_ASC', - StatTypesByCreatedBlockIdAverageOpTypeDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_AVERAGE_OP_TYPE_DESC', - StatTypesByCreatedBlockIdAverageUpdatedAtAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - StatTypesByCreatedBlockIdAverageUpdatedAtDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - StatTypesByCreatedBlockIdAverageUpdatedBlockIdAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - StatTypesByCreatedBlockIdAverageUpdatedBlockIdDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - StatTypesByCreatedBlockIdCountAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_COUNT_ASC', - StatTypesByCreatedBlockIdCountDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_COUNT_DESC', - StatTypesByCreatedBlockIdDistinctCountAssetIdAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_ASC', - StatTypesByCreatedBlockIdDistinctCountAssetIdDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_DESC', - StatTypesByCreatedBlockIdDistinctCountClaimIssuerIdAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CLAIM_ISSUER_ID_ASC', - StatTypesByCreatedBlockIdDistinctCountClaimIssuerIdDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CLAIM_ISSUER_ID_DESC', - StatTypesByCreatedBlockIdDistinctCountClaimTypeAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CLAIM_TYPE_ASC', - StatTypesByCreatedBlockIdDistinctCountClaimTypeDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CLAIM_TYPE_DESC', - StatTypesByCreatedBlockIdDistinctCountCreatedAtAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - StatTypesByCreatedBlockIdDistinctCountCreatedAtDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - StatTypesByCreatedBlockIdDistinctCountCreatedBlockIdAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - StatTypesByCreatedBlockIdDistinctCountCreatedBlockIdDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - StatTypesByCreatedBlockIdDistinctCountIdAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - StatTypesByCreatedBlockIdDistinctCountIdDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - StatTypesByCreatedBlockIdDistinctCountOpTypeAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_OP_TYPE_ASC', - StatTypesByCreatedBlockIdDistinctCountOpTypeDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_OP_TYPE_DESC', - StatTypesByCreatedBlockIdDistinctCountUpdatedAtAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - StatTypesByCreatedBlockIdDistinctCountUpdatedAtDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - StatTypesByCreatedBlockIdDistinctCountUpdatedBlockIdAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - StatTypesByCreatedBlockIdDistinctCountUpdatedBlockIdDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - StatTypesByCreatedBlockIdMaxAssetIdAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_MAX_ASSET_ID_ASC', - StatTypesByCreatedBlockIdMaxAssetIdDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_MAX_ASSET_ID_DESC', - StatTypesByCreatedBlockIdMaxClaimIssuerIdAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_MAX_CLAIM_ISSUER_ID_ASC', - StatTypesByCreatedBlockIdMaxClaimIssuerIdDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_MAX_CLAIM_ISSUER_ID_DESC', - StatTypesByCreatedBlockIdMaxClaimTypeAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_MAX_CLAIM_TYPE_ASC', - StatTypesByCreatedBlockIdMaxClaimTypeDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_MAX_CLAIM_TYPE_DESC', - StatTypesByCreatedBlockIdMaxCreatedAtAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_ASC', - StatTypesByCreatedBlockIdMaxCreatedAtDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_DESC', - StatTypesByCreatedBlockIdMaxCreatedBlockIdAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - StatTypesByCreatedBlockIdMaxCreatedBlockIdDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - StatTypesByCreatedBlockIdMaxIdAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_MAX_ID_ASC', - StatTypesByCreatedBlockIdMaxIdDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_MAX_ID_DESC', - StatTypesByCreatedBlockIdMaxOpTypeAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_MAX_OP_TYPE_ASC', - StatTypesByCreatedBlockIdMaxOpTypeDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_MAX_OP_TYPE_DESC', - StatTypesByCreatedBlockIdMaxUpdatedAtAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - StatTypesByCreatedBlockIdMaxUpdatedAtDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - StatTypesByCreatedBlockIdMaxUpdatedBlockIdAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - StatTypesByCreatedBlockIdMaxUpdatedBlockIdDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - StatTypesByCreatedBlockIdMinAssetIdAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_MIN_ASSET_ID_ASC', - StatTypesByCreatedBlockIdMinAssetIdDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_MIN_ASSET_ID_DESC', - StatTypesByCreatedBlockIdMinClaimIssuerIdAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_MIN_CLAIM_ISSUER_ID_ASC', - StatTypesByCreatedBlockIdMinClaimIssuerIdDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_MIN_CLAIM_ISSUER_ID_DESC', - StatTypesByCreatedBlockIdMinClaimTypeAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_MIN_CLAIM_TYPE_ASC', - StatTypesByCreatedBlockIdMinClaimTypeDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_MIN_CLAIM_TYPE_DESC', - StatTypesByCreatedBlockIdMinCreatedAtAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_ASC', - StatTypesByCreatedBlockIdMinCreatedAtDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_DESC', - StatTypesByCreatedBlockIdMinCreatedBlockIdAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - StatTypesByCreatedBlockIdMinCreatedBlockIdDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - StatTypesByCreatedBlockIdMinIdAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_MIN_ID_ASC', - StatTypesByCreatedBlockIdMinIdDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_MIN_ID_DESC', - StatTypesByCreatedBlockIdMinOpTypeAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_MIN_OP_TYPE_ASC', - StatTypesByCreatedBlockIdMinOpTypeDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_MIN_OP_TYPE_DESC', - StatTypesByCreatedBlockIdMinUpdatedAtAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - StatTypesByCreatedBlockIdMinUpdatedAtDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - StatTypesByCreatedBlockIdMinUpdatedBlockIdAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - StatTypesByCreatedBlockIdMinUpdatedBlockIdDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - StatTypesByCreatedBlockIdStddevPopulationAssetIdAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_ASC', - StatTypesByCreatedBlockIdStddevPopulationAssetIdDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_DESC', - StatTypesByCreatedBlockIdStddevPopulationClaimIssuerIdAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CLAIM_ISSUER_ID_ASC', - StatTypesByCreatedBlockIdStddevPopulationClaimIssuerIdDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CLAIM_ISSUER_ID_DESC', - StatTypesByCreatedBlockIdStddevPopulationClaimTypeAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CLAIM_TYPE_ASC', - StatTypesByCreatedBlockIdStddevPopulationClaimTypeDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CLAIM_TYPE_DESC', - StatTypesByCreatedBlockIdStddevPopulationCreatedAtAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - StatTypesByCreatedBlockIdStddevPopulationCreatedAtDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - StatTypesByCreatedBlockIdStddevPopulationCreatedBlockIdAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - StatTypesByCreatedBlockIdStddevPopulationCreatedBlockIdDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - StatTypesByCreatedBlockIdStddevPopulationIdAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - StatTypesByCreatedBlockIdStddevPopulationIdDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - StatTypesByCreatedBlockIdStddevPopulationOpTypeAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_OP_TYPE_ASC', - StatTypesByCreatedBlockIdStddevPopulationOpTypeDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_OP_TYPE_DESC', - StatTypesByCreatedBlockIdStddevPopulationUpdatedAtAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - StatTypesByCreatedBlockIdStddevPopulationUpdatedAtDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - StatTypesByCreatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - StatTypesByCreatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - StatTypesByCreatedBlockIdStddevSampleAssetIdAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_ASC', - StatTypesByCreatedBlockIdStddevSampleAssetIdDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_DESC', - StatTypesByCreatedBlockIdStddevSampleClaimIssuerIdAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CLAIM_ISSUER_ID_ASC', - StatTypesByCreatedBlockIdStddevSampleClaimIssuerIdDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CLAIM_ISSUER_ID_DESC', - StatTypesByCreatedBlockIdStddevSampleClaimTypeAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CLAIM_TYPE_ASC', - StatTypesByCreatedBlockIdStddevSampleClaimTypeDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CLAIM_TYPE_DESC', - StatTypesByCreatedBlockIdStddevSampleCreatedAtAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - StatTypesByCreatedBlockIdStddevSampleCreatedAtDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - StatTypesByCreatedBlockIdStddevSampleCreatedBlockIdAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - StatTypesByCreatedBlockIdStddevSampleCreatedBlockIdDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - StatTypesByCreatedBlockIdStddevSampleIdAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - StatTypesByCreatedBlockIdStddevSampleIdDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - StatTypesByCreatedBlockIdStddevSampleOpTypeAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_OP_TYPE_ASC', - StatTypesByCreatedBlockIdStddevSampleOpTypeDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_OP_TYPE_DESC', - StatTypesByCreatedBlockIdStddevSampleUpdatedAtAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - StatTypesByCreatedBlockIdStddevSampleUpdatedAtDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - StatTypesByCreatedBlockIdStddevSampleUpdatedBlockIdAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - StatTypesByCreatedBlockIdStddevSampleUpdatedBlockIdDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - StatTypesByCreatedBlockIdSumAssetIdAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_SUM_ASSET_ID_ASC', - StatTypesByCreatedBlockIdSumAssetIdDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_SUM_ASSET_ID_DESC', - StatTypesByCreatedBlockIdSumClaimIssuerIdAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_SUM_CLAIM_ISSUER_ID_ASC', - StatTypesByCreatedBlockIdSumClaimIssuerIdDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_SUM_CLAIM_ISSUER_ID_DESC', - StatTypesByCreatedBlockIdSumClaimTypeAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_SUM_CLAIM_TYPE_ASC', - StatTypesByCreatedBlockIdSumClaimTypeDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_SUM_CLAIM_TYPE_DESC', - StatTypesByCreatedBlockIdSumCreatedAtAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_ASC', - StatTypesByCreatedBlockIdSumCreatedAtDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_DESC', - StatTypesByCreatedBlockIdSumCreatedBlockIdAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - StatTypesByCreatedBlockIdSumCreatedBlockIdDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - StatTypesByCreatedBlockIdSumIdAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_SUM_ID_ASC', - StatTypesByCreatedBlockIdSumIdDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_SUM_ID_DESC', - StatTypesByCreatedBlockIdSumOpTypeAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_SUM_OP_TYPE_ASC', - StatTypesByCreatedBlockIdSumOpTypeDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_SUM_OP_TYPE_DESC', - StatTypesByCreatedBlockIdSumUpdatedAtAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - StatTypesByCreatedBlockIdSumUpdatedAtDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - StatTypesByCreatedBlockIdSumUpdatedBlockIdAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - StatTypesByCreatedBlockIdSumUpdatedBlockIdDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - StatTypesByCreatedBlockIdVariancePopulationAssetIdAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_ASC', - StatTypesByCreatedBlockIdVariancePopulationAssetIdDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_DESC', - StatTypesByCreatedBlockIdVariancePopulationClaimIssuerIdAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CLAIM_ISSUER_ID_ASC', - StatTypesByCreatedBlockIdVariancePopulationClaimIssuerIdDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CLAIM_ISSUER_ID_DESC', - StatTypesByCreatedBlockIdVariancePopulationClaimTypeAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CLAIM_TYPE_ASC', - StatTypesByCreatedBlockIdVariancePopulationClaimTypeDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CLAIM_TYPE_DESC', - StatTypesByCreatedBlockIdVariancePopulationCreatedAtAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - StatTypesByCreatedBlockIdVariancePopulationCreatedAtDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - StatTypesByCreatedBlockIdVariancePopulationCreatedBlockIdAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - StatTypesByCreatedBlockIdVariancePopulationCreatedBlockIdDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - StatTypesByCreatedBlockIdVariancePopulationIdAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - StatTypesByCreatedBlockIdVariancePopulationIdDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - StatTypesByCreatedBlockIdVariancePopulationOpTypeAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_OP_TYPE_ASC', - StatTypesByCreatedBlockIdVariancePopulationOpTypeDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_OP_TYPE_DESC', - StatTypesByCreatedBlockIdVariancePopulationUpdatedAtAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - StatTypesByCreatedBlockIdVariancePopulationUpdatedAtDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - StatTypesByCreatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - StatTypesByCreatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - StatTypesByCreatedBlockIdVarianceSampleAssetIdAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_ASC', - StatTypesByCreatedBlockIdVarianceSampleAssetIdDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_DESC', - StatTypesByCreatedBlockIdVarianceSampleClaimIssuerIdAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CLAIM_ISSUER_ID_ASC', - StatTypesByCreatedBlockIdVarianceSampleClaimIssuerIdDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CLAIM_ISSUER_ID_DESC', - StatTypesByCreatedBlockIdVarianceSampleClaimTypeAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CLAIM_TYPE_ASC', - StatTypesByCreatedBlockIdVarianceSampleClaimTypeDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CLAIM_TYPE_DESC', - StatTypesByCreatedBlockIdVarianceSampleCreatedAtAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - StatTypesByCreatedBlockIdVarianceSampleCreatedAtDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - StatTypesByCreatedBlockIdVarianceSampleCreatedBlockIdAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - StatTypesByCreatedBlockIdVarianceSampleCreatedBlockIdDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - StatTypesByCreatedBlockIdVarianceSampleIdAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - StatTypesByCreatedBlockIdVarianceSampleIdDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - StatTypesByCreatedBlockIdVarianceSampleOpTypeAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_OP_TYPE_ASC', - StatTypesByCreatedBlockIdVarianceSampleOpTypeDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_OP_TYPE_DESC', - StatTypesByCreatedBlockIdVarianceSampleUpdatedAtAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - StatTypesByCreatedBlockIdVarianceSampleUpdatedAtDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - StatTypesByCreatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - StatTypesByCreatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'STAT_TYPES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - StatTypesByUpdatedBlockIdAverageAssetIdAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_AVERAGE_ASSET_ID_ASC', - StatTypesByUpdatedBlockIdAverageAssetIdDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_AVERAGE_ASSET_ID_DESC', - StatTypesByUpdatedBlockIdAverageClaimIssuerIdAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_AVERAGE_CLAIM_ISSUER_ID_ASC', - StatTypesByUpdatedBlockIdAverageClaimIssuerIdDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_AVERAGE_CLAIM_ISSUER_ID_DESC', - StatTypesByUpdatedBlockIdAverageClaimTypeAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_AVERAGE_CLAIM_TYPE_ASC', - StatTypesByUpdatedBlockIdAverageClaimTypeDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_AVERAGE_CLAIM_TYPE_DESC', - StatTypesByUpdatedBlockIdAverageCreatedAtAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - StatTypesByUpdatedBlockIdAverageCreatedAtDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - StatTypesByUpdatedBlockIdAverageCreatedBlockIdAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - StatTypesByUpdatedBlockIdAverageCreatedBlockIdDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - StatTypesByUpdatedBlockIdAverageIdAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_AVERAGE_ID_ASC', - StatTypesByUpdatedBlockIdAverageIdDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_AVERAGE_ID_DESC', - StatTypesByUpdatedBlockIdAverageOpTypeAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_AVERAGE_OP_TYPE_ASC', - StatTypesByUpdatedBlockIdAverageOpTypeDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_AVERAGE_OP_TYPE_DESC', - StatTypesByUpdatedBlockIdAverageUpdatedAtAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - StatTypesByUpdatedBlockIdAverageUpdatedAtDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - StatTypesByUpdatedBlockIdAverageUpdatedBlockIdAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - StatTypesByUpdatedBlockIdAverageUpdatedBlockIdDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - StatTypesByUpdatedBlockIdCountAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_COUNT_ASC', - StatTypesByUpdatedBlockIdCountDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_COUNT_DESC', - StatTypesByUpdatedBlockIdDistinctCountAssetIdAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_ASC', - StatTypesByUpdatedBlockIdDistinctCountAssetIdDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_DESC', - StatTypesByUpdatedBlockIdDistinctCountClaimIssuerIdAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CLAIM_ISSUER_ID_ASC', - StatTypesByUpdatedBlockIdDistinctCountClaimIssuerIdDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CLAIM_ISSUER_ID_DESC', - StatTypesByUpdatedBlockIdDistinctCountClaimTypeAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CLAIM_TYPE_ASC', - StatTypesByUpdatedBlockIdDistinctCountClaimTypeDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CLAIM_TYPE_DESC', - StatTypesByUpdatedBlockIdDistinctCountCreatedAtAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - StatTypesByUpdatedBlockIdDistinctCountCreatedAtDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - StatTypesByUpdatedBlockIdDistinctCountCreatedBlockIdAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - StatTypesByUpdatedBlockIdDistinctCountCreatedBlockIdDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - StatTypesByUpdatedBlockIdDistinctCountIdAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - StatTypesByUpdatedBlockIdDistinctCountIdDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - StatTypesByUpdatedBlockIdDistinctCountOpTypeAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_OP_TYPE_ASC', - StatTypesByUpdatedBlockIdDistinctCountOpTypeDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_OP_TYPE_DESC', - StatTypesByUpdatedBlockIdDistinctCountUpdatedAtAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - StatTypesByUpdatedBlockIdDistinctCountUpdatedAtDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - StatTypesByUpdatedBlockIdDistinctCountUpdatedBlockIdAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - StatTypesByUpdatedBlockIdDistinctCountUpdatedBlockIdDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - StatTypesByUpdatedBlockIdMaxAssetIdAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_MAX_ASSET_ID_ASC', - StatTypesByUpdatedBlockIdMaxAssetIdDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_MAX_ASSET_ID_DESC', - StatTypesByUpdatedBlockIdMaxClaimIssuerIdAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_MAX_CLAIM_ISSUER_ID_ASC', - StatTypesByUpdatedBlockIdMaxClaimIssuerIdDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_MAX_CLAIM_ISSUER_ID_DESC', - StatTypesByUpdatedBlockIdMaxClaimTypeAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_MAX_CLAIM_TYPE_ASC', - StatTypesByUpdatedBlockIdMaxClaimTypeDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_MAX_CLAIM_TYPE_DESC', - StatTypesByUpdatedBlockIdMaxCreatedAtAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_ASC', - StatTypesByUpdatedBlockIdMaxCreatedAtDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_DESC', - StatTypesByUpdatedBlockIdMaxCreatedBlockIdAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - StatTypesByUpdatedBlockIdMaxCreatedBlockIdDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - StatTypesByUpdatedBlockIdMaxIdAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_MAX_ID_ASC', - StatTypesByUpdatedBlockIdMaxIdDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_MAX_ID_DESC', - StatTypesByUpdatedBlockIdMaxOpTypeAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_MAX_OP_TYPE_ASC', - StatTypesByUpdatedBlockIdMaxOpTypeDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_MAX_OP_TYPE_DESC', - StatTypesByUpdatedBlockIdMaxUpdatedAtAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - StatTypesByUpdatedBlockIdMaxUpdatedAtDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - StatTypesByUpdatedBlockIdMaxUpdatedBlockIdAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - StatTypesByUpdatedBlockIdMaxUpdatedBlockIdDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - StatTypesByUpdatedBlockIdMinAssetIdAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_MIN_ASSET_ID_ASC', - StatTypesByUpdatedBlockIdMinAssetIdDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_MIN_ASSET_ID_DESC', - StatTypesByUpdatedBlockIdMinClaimIssuerIdAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_MIN_CLAIM_ISSUER_ID_ASC', - StatTypesByUpdatedBlockIdMinClaimIssuerIdDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_MIN_CLAIM_ISSUER_ID_DESC', - StatTypesByUpdatedBlockIdMinClaimTypeAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_MIN_CLAIM_TYPE_ASC', - StatTypesByUpdatedBlockIdMinClaimTypeDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_MIN_CLAIM_TYPE_DESC', - StatTypesByUpdatedBlockIdMinCreatedAtAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_ASC', - StatTypesByUpdatedBlockIdMinCreatedAtDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_DESC', - StatTypesByUpdatedBlockIdMinCreatedBlockIdAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - StatTypesByUpdatedBlockIdMinCreatedBlockIdDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - StatTypesByUpdatedBlockIdMinIdAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_MIN_ID_ASC', - StatTypesByUpdatedBlockIdMinIdDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_MIN_ID_DESC', - StatTypesByUpdatedBlockIdMinOpTypeAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_MIN_OP_TYPE_ASC', - StatTypesByUpdatedBlockIdMinOpTypeDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_MIN_OP_TYPE_DESC', - StatTypesByUpdatedBlockIdMinUpdatedAtAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - StatTypesByUpdatedBlockIdMinUpdatedAtDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - StatTypesByUpdatedBlockIdMinUpdatedBlockIdAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - StatTypesByUpdatedBlockIdMinUpdatedBlockIdDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - StatTypesByUpdatedBlockIdStddevPopulationAssetIdAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_ASC', - StatTypesByUpdatedBlockIdStddevPopulationAssetIdDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_DESC', - StatTypesByUpdatedBlockIdStddevPopulationClaimIssuerIdAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CLAIM_ISSUER_ID_ASC', - StatTypesByUpdatedBlockIdStddevPopulationClaimIssuerIdDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CLAIM_ISSUER_ID_DESC', - StatTypesByUpdatedBlockIdStddevPopulationClaimTypeAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CLAIM_TYPE_ASC', - StatTypesByUpdatedBlockIdStddevPopulationClaimTypeDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CLAIM_TYPE_DESC', - StatTypesByUpdatedBlockIdStddevPopulationCreatedAtAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - StatTypesByUpdatedBlockIdStddevPopulationCreatedAtDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - StatTypesByUpdatedBlockIdStddevPopulationCreatedBlockIdAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - StatTypesByUpdatedBlockIdStddevPopulationCreatedBlockIdDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - StatTypesByUpdatedBlockIdStddevPopulationIdAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - StatTypesByUpdatedBlockIdStddevPopulationIdDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - StatTypesByUpdatedBlockIdStddevPopulationOpTypeAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_OP_TYPE_ASC', - StatTypesByUpdatedBlockIdStddevPopulationOpTypeDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_OP_TYPE_DESC', - StatTypesByUpdatedBlockIdStddevPopulationUpdatedAtAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - StatTypesByUpdatedBlockIdStddevPopulationUpdatedAtDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - StatTypesByUpdatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - StatTypesByUpdatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - StatTypesByUpdatedBlockIdStddevSampleAssetIdAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_ASC', - StatTypesByUpdatedBlockIdStddevSampleAssetIdDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_DESC', - StatTypesByUpdatedBlockIdStddevSampleClaimIssuerIdAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CLAIM_ISSUER_ID_ASC', - StatTypesByUpdatedBlockIdStddevSampleClaimIssuerIdDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CLAIM_ISSUER_ID_DESC', - StatTypesByUpdatedBlockIdStddevSampleClaimTypeAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CLAIM_TYPE_ASC', - StatTypesByUpdatedBlockIdStddevSampleClaimTypeDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CLAIM_TYPE_DESC', - StatTypesByUpdatedBlockIdStddevSampleCreatedAtAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - StatTypesByUpdatedBlockIdStddevSampleCreatedAtDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - StatTypesByUpdatedBlockIdStddevSampleCreatedBlockIdAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - StatTypesByUpdatedBlockIdStddevSampleCreatedBlockIdDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - StatTypesByUpdatedBlockIdStddevSampleIdAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - StatTypesByUpdatedBlockIdStddevSampleIdDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - StatTypesByUpdatedBlockIdStddevSampleOpTypeAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_OP_TYPE_ASC', - StatTypesByUpdatedBlockIdStddevSampleOpTypeDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_OP_TYPE_DESC', - StatTypesByUpdatedBlockIdStddevSampleUpdatedAtAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - StatTypesByUpdatedBlockIdStddevSampleUpdatedAtDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - StatTypesByUpdatedBlockIdStddevSampleUpdatedBlockIdAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - StatTypesByUpdatedBlockIdStddevSampleUpdatedBlockIdDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - StatTypesByUpdatedBlockIdSumAssetIdAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_SUM_ASSET_ID_ASC', - StatTypesByUpdatedBlockIdSumAssetIdDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_SUM_ASSET_ID_DESC', - StatTypesByUpdatedBlockIdSumClaimIssuerIdAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_SUM_CLAIM_ISSUER_ID_ASC', - StatTypesByUpdatedBlockIdSumClaimIssuerIdDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_SUM_CLAIM_ISSUER_ID_DESC', - StatTypesByUpdatedBlockIdSumClaimTypeAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_SUM_CLAIM_TYPE_ASC', - StatTypesByUpdatedBlockIdSumClaimTypeDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_SUM_CLAIM_TYPE_DESC', - StatTypesByUpdatedBlockIdSumCreatedAtAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_ASC', - StatTypesByUpdatedBlockIdSumCreatedAtDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_DESC', - StatTypesByUpdatedBlockIdSumCreatedBlockIdAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - StatTypesByUpdatedBlockIdSumCreatedBlockIdDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - StatTypesByUpdatedBlockIdSumIdAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_SUM_ID_ASC', - StatTypesByUpdatedBlockIdSumIdDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_SUM_ID_DESC', - StatTypesByUpdatedBlockIdSumOpTypeAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_SUM_OP_TYPE_ASC', - StatTypesByUpdatedBlockIdSumOpTypeDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_SUM_OP_TYPE_DESC', - StatTypesByUpdatedBlockIdSumUpdatedAtAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - StatTypesByUpdatedBlockIdSumUpdatedAtDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - StatTypesByUpdatedBlockIdSumUpdatedBlockIdAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - StatTypesByUpdatedBlockIdSumUpdatedBlockIdDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - StatTypesByUpdatedBlockIdVariancePopulationAssetIdAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_ASC', - StatTypesByUpdatedBlockIdVariancePopulationAssetIdDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_DESC', - StatTypesByUpdatedBlockIdVariancePopulationClaimIssuerIdAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CLAIM_ISSUER_ID_ASC', - StatTypesByUpdatedBlockIdVariancePopulationClaimIssuerIdDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CLAIM_ISSUER_ID_DESC', - StatTypesByUpdatedBlockIdVariancePopulationClaimTypeAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CLAIM_TYPE_ASC', - StatTypesByUpdatedBlockIdVariancePopulationClaimTypeDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CLAIM_TYPE_DESC', - StatTypesByUpdatedBlockIdVariancePopulationCreatedAtAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - StatTypesByUpdatedBlockIdVariancePopulationCreatedAtDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - StatTypesByUpdatedBlockIdVariancePopulationCreatedBlockIdAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - StatTypesByUpdatedBlockIdVariancePopulationCreatedBlockIdDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - StatTypesByUpdatedBlockIdVariancePopulationIdAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - StatTypesByUpdatedBlockIdVariancePopulationIdDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - StatTypesByUpdatedBlockIdVariancePopulationOpTypeAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_OP_TYPE_ASC', - StatTypesByUpdatedBlockIdVariancePopulationOpTypeDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_OP_TYPE_DESC', - StatTypesByUpdatedBlockIdVariancePopulationUpdatedAtAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - StatTypesByUpdatedBlockIdVariancePopulationUpdatedAtDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - StatTypesByUpdatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - StatTypesByUpdatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - StatTypesByUpdatedBlockIdVarianceSampleAssetIdAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_ASC', - StatTypesByUpdatedBlockIdVarianceSampleAssetIdDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_DESC', - StatTypesByUpdatedBlockIdVarianceSampleClaimIssuerIdAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CLAIM_ISSUER_ID_ASC', - StatTypesByUpdatedBlockIdVarianceSampleClaimIssuerIdDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CLAIM_ISSUER_ID_DESC', - StatTypesByUpdatedBlockIdVarianceSampleClaimTypeAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CLAIM_TYPE_ASC', - StatTypesByUpdatedBlockIdVarianceSampleClaimTypeDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CLAIM_TYPE_DESC', - StatTypesByUpdatedBlockIdVarianceSampleCreatedAtAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - StatTypesByUpdatedBlockIdVarianceSampleCreatedAtDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - StatTypesByUpdatedBlockIdVarianceSampleCreatedBlockIdAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - StatTypesByUpdatedBlockIdVarianceSampleCreatedBlockIdDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - StatTypesByUpdatedBlockIdVarianceSampleIdAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - StatTypesByUpdatedBlockIdVarianceSampleIdDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - StatTypesByUpdatedBlockIdVarianceSampleOpTypeAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_OP_TYPE_ASC', - StatTypesByUpdatedBlockIdVarianceSampleOpTypeDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_OP_TYPE_DESC', - StatTypesByUpdatedBlockIdVarianceSampleUpdatedAtAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - StatTypesByUpdatedBlockIdVarianceSampleUpdatedAtDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - StatTypesByUpdatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - StatTypesByUpdatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'STAT_TYPES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - StosByCreatedBlockIdAverageCreatedAtAsc = 'STOS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - StosByCreatedBlockIdAverageCreatedAtDesc = 'STOS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - StosByCreatedBlockIdAverageCreatedBlockIdAsc = 'STOS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - StosByCreatedBlockIdAverageCreatedBlockIdDesc = 'STOS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - StosByCreatedBlockIdAverageCreatorIdAsc = 'STOS_BY_CREATED_BLOCK_ID_AVERAGE_CREATOR_ID_ASC', - StosByCreatedBlockIdAverageCreatorIdDesc = 'STOS_BY_CREATED_BLOCK_ID_AVERAGE_CREATOR_ID_DESC', - StosByCreatedBlockIdAverageEndAsc = 'STOS_BY_CREATED_BLOCK_ID_AVERAGE_END_ASC', - StosByCreatedBlockIdAverageEndDesc = 'STOS_BY_CREATED_BLOCK_ID_AVERAGE_END_DESC', - StosByCreatedBlockIdAverageIdAsc = 'STOS_BY_CREATED_BLOCK_ID_AVERAGE_ID_ASC', - StosByCreatedBlockIdAverageIdDesc = 'STOS_BY_CREATED_BLOCK_ID_AVERAGE_ID_DESC', - StosByCreatedBlockIdAverageMinimumInvestmentAsc = 'STOS_BY_CREATED_BLOCK_ID_AVERAGE_MINIMUM_INVESTMENT_ASC', - StosByCreatedBlockIdAverageMinimumInvestmentDesc = 'STOS_BY_CREATED_BLOCK_ID_AVERAGE_MINIMUM_INVESTMENT_DESC', - StosByCreatedBlockIdAverageNameAsc = 'STOS_BY_CREATED_BLOCK_ID_AVERAGE_NAME_ASC', - StosByCreatedBlockIdAverageNameDesc = 'STOS_BY_CREATED_BLOCK_ID_AVERAGE_NAME_DESC', - StosByCreatedBlockIdAverageOfferingAssetIdAsc = 'STOS_BY_CREATED_BLOCK_ID_AVERAGE_OFFERING_ASSET_ID_ASC', - StosByCreatedBlockIdAverageOfferingAssetIdDesc = 'STOS_BY_CREATED_BLOCK_ID_AVERAGE_OFFERING_ASSET_ID_DESC', - StosByCreatedBlockIdAverageOfferingPortfolioIdAsc = 'STOS_BY_CREATED_BLOCK_ID_AVERAGE_OFFERING_PORTFOLIO_ID_ASC', - StosByCreatedBlockIdAverageOfferingPortfolioIdDesc = 'STOS_BY_CREATED_BLOCK_ID_AVERAGE_OFFERING_PORTFOLIO_ID_DESC', - StosByCreatedBlockIdAverageRaisingAssetIdAsc = 'STOS_BY_CREATED_BLOCK_ID_AVERAGE_RAISING_ASSET_ID_ASC', - StosByCreatedBlockIdAverageRaisingAssetIdDesc = 'STOS_BY_CREATED_BLOCK_ID_AVERAGE_RAISING_ASSET_ID_DESC', - StosByCreatedBlockIdAverageRaisingPortfolioIdAsc = 'STOS_BY_CREATED_BLOCK_ID_AVERAGE_RAISING_PORTFOLIO_ID_ASC', - StosByCreatedBlockIdAverageRaisingPortfolioIdDesc = 'STOS_BY_CREATED_BLOCK_ID_AVERAGE_RAISING_PORTFOLIO_ID_DESC', - StosByCreatedBlockIdAverageStartAsc = 'STOS_BY_CREATED_BLOCK_ID_AVERAGE_START_ASC', - StosByCreatedBlockIdAverageStartDesc = 'STOS_BY_CREATED_BLOCK_ID_AVERAGE_START_DESC', - StosByCreatedBlockIdAverageStatusAsc = 'STOS_BY_CREATED_BLOCK_ID_AVERAGE_STATUS_ASC', - StosByCreatedBlockIdAverageStatusDesc = 'STOS_BY_CREATED_BLOCK_ID_AVERAGE_STATUS_DESC', - StosByCreatedBlockIdAverageStoIdAsc = 'STOS_BY_CREATED_BLOCK_ID_AVERAGE_STO_ID_ASC', - StosByCreatedBlockIdAverageStoIdDesc = 'STOS_BY_CREATED_BLOCK_ID_AVERAGE_STO_ID_DESC', - StosByCreatedBlockIdAverageTiersAsc = 'STOS_BY_CREATED_BLOCK_ID_AVERAGE_TIERS_ASC', - StosByCreatedBlockIdAverageTiersDesc = 'STOS_BY_CREATED_BLOCK_ID_AVERAGE_TIERS_DESC', - StosByCreatedBlockIdAverageUpdatedAtAsc = 'STOS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - StosByCreatedBlockIdAverageUpdatedAtDesc = 'STOS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - StosByCreatedBlockIdAverageUpdatedBlockIdAsc = 'STOS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - StosByCreatedBlockIdAverageUpdatedBlockIdDesc = 'STOS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - StosByCreatedBlockIdAverageVenueIdAsc = 'STOS_BY_CREATED_BLOCK_ID_AVERAGE_VENUE_ID_ASC', - StosByCreatedBlockIdAverageVenueIdDesc = 'STOS_BY_CREATED_BLOCK_ID_AVERAGE_VENUE_ID_DESC', - StosByCreatedBlockIdCountAsc = 'STOS_BY_CREATED_BLOCK_ID_COUNT_ASC', - StosByCreatedBlockIdCountDesc = 'STOS_BY_CREATED_BLOCK_ID_COUNT_DESC', - StosByCreatedBlockIdDistinctCountCreatedAtAsc = 'STOS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - StosByCreatedBlockIdDistinctCountCreatedAtDesc = 'STOS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - StosByCreatedBlockIdDistinctCountCreatedBlockIdAsc = 'STOS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - StosByCreatedBlockIdDistinctCountCreatedBlockIdDesc = 'STOS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - StosByCreatedBlockIdDistinctCountCreatorIdAsc = 'STOS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATOR_ID_ASC', - StosByCreatedBlockIdDistinctCountCreatorIdDesc = 'STOS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATOR_ID_DESC', - StosByCreatedBlockIdDistinctCountEndAsc = 'STOS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_END_ASC', - StosByCreatedBlockIdDistinctCountEndDesc = 'STOS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_END_DESC', - StosByCreatedBlockIdDistinctCountIdAsc = 'STOS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - StosByCreatedBlockIdDistinctCountIdDesc = 'STOS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - StosByCreatedBlockIdDistinctCountMinimumInvestmentAsc = 'STOS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_MINIMUM_INVESTMENT_ASC', - StosByCreatedBlockIdDistinctCountMinimumInvestmentDesc = 'STOS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_MINIMUM_INVESTMENT_DESC', - StosByCreatedBlockIdDistinctCountNameAsc = 'STOS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_NAME_ASC', - StosByCreatedBlockIdDistinctCountNameDesc = 'STOS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_NAME_DESC', - StosByCreatedBlockIdDistinctCountOfferingAssetIdAsc = 'STOS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_OFFERING_ASSET_ID_ASC', - StosByCreatedBlockIdDistinctCountOfferingAssetIdDesc = 'STOS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_OFFERING_ASSET_ID_DESC', - StosByCreatedBlockIdDistinctCountOfferingPortfolioIdAsc = 'STOS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_OFFERING_PORTFOLIO_ID_ASC', - StosByCreatedBlockIdDistinctCountOfferingPortfolioIdDesc = 'STOS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_OFFERING_PORTFOLIO_ID_DESC', - StosByCreatedBlockIdDistinctCountRaisingAssetIdAsc = 'STOS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_RAISING_ASSET_ID_ASC', - StosByCreatedBlockIdDistinctCountRaisingAssetIdDesc = 'STOS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_RAISING_ASSET_ID_DESC', - StosByCreatedBlockIdDistinctCountRaisingPortfolioIdAsc = 'STOS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_RAISING_PORTFOLIO_ID_ASC', - StosByCreatedBlockIdDistinctCountRaisingPortfolioIdDesc = 'STOS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_RAISING_PORTFOLIO_ID_DESC', - StosByCreatedBlockIdDistinctCountStartAsc = 'STOS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_START_ASC', - StosByCreatedBlockIdDistinctCountStartDesc = 'STOS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_START_DESC', - StosByCreatedBlockIdDistinctCountStatusAsc = 'STOS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_STATUS_ASC', - StosByCreatedBlockIdDistinctCountStatusDesc = 'STOS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_STATUS_DESC', - StosByCreatedBlockIdDistinctCountStoIdAsc = 'STOS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_STO_ID_ASC', - StosByCreatedBlockIdDistinctCountStoIdDesc = 'STOS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_STO_ID_DESC', - StosByCreatedBlockIdDistinctCountTiersAsc = 'STOS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TIERS_ASC', - StosByCreatedBlockIdDistinctCountTiersDesc = 'STOS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TIERS_DESC', - StosByCreatedBlockIdDistinctCountUpdatedAtAsc = 'STOS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - StosByCreatedBlockIdDistinctCountUpdatedAtDesc = 'STOS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - StosByCreatedBlockIdDistinctCountUpdatedBlockIdAsc = 'STOS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - StosByCreatedBlockIdDistinctCountUpdatedBlockIdDesc = 'STOS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - StosByCreatedBlockIdDistinctCountVenueIdAsc = 'STOS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_VENUE_ID_ASC', - StosByCreatedBlockIdDistinctCountVenueIdDesc = 'STOS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_VENUE_ID_DESC', - StosByCreatedBlockIdMaxCreatedAtAsc = 'STOS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_ASC', - StosByCreatedBlockIdMaxCreatedAtDesc = 'STOS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_DESC', - StosByCreatedBlockIdMaxCreatedBlockIdAsc = 'STOS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - StosByCreatedBlockIdMaxCreatedBlockIdDesc = 'STOS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - StosByCreatedBlockIdMaxCreatorIdAsc = 'STOS_BY_CREATED_BLOCK_ID_MAX_CREATOR_ID_ASC', - StosByCreatedBlockIdMaxCreatorIdDesc = 'STOS_BY_CREATED_BLOCK_ID_MAX_CREATOR_ID_DESC', - StosByCreatedBlockIdMaxEndAsc = 'STOS_BY_CREATED_BLOCK_ID_MAX_END_ASC', - StosByCreatedBlockIdMaxEndDesc = 'STOS_BY_CREATED_BLOCK_ID_MAX_END_DESC', - StosByCreatedBlockIdMaxIdAsc = 'STOS_BY_CREATED_BLOCK_ID_MAX_ID_ASC', - StosByCreatedBlockIdMaxIdDesc = 'STOS_BY_CREATED_BLOCK_ID_MAX_ID_DESC', - StosByCreatedBlockIdMaxMinimumInvestmentAsc = 'STOS_BY_CREATED_BLOCK_ID_MAX_MINIMUM_INVESTMENT_ASC', - StosByCreatedBlockIdMaxMinimumInvestmentDesc = 'STOS_BY_CREATED_BLOCK_ID_MAX_MINIMUM_INVESTMENT_DESC', - StosByCreatedBlockIdMaxNameAsc = 'STOS_BY_CREATED_BLOCK_ID_MAX_NAME_ASC', - StosByCreatedBlockIdMaxNameDesc = 'STOS_BY_CREATED_BLOCK_ID_MAX_NAME_DESC', - StosByCreatedBlockIdMaxOfferingAssetIdAsc = 'STOS_BY_CREATED_BLOCK_ID_MAX_OFFERING_ASSET_ID_ASC', - StosByCreatedBlockIdMaxOfferingAssetIdDesc = 'STOS_BY_CREATED_BLOCK_ID_MAX_OFFERING_ASSET_ID_DESC', - StosByCreatedBlockIdMaxOfferingPortfolioIdAsc = 'STOS_BY_CREATED_BLOCK_ID_MAX_OFFERING_PORTFOLIO_ID_ASC', - StosByCreatedBlockIdMaxOfferingPortfolioIdDesc = 'STOS_BY_CREATED_BLOCK_ID_MAX_OFFERING_PORTFOLIO_ID_DESC', - StosByCreatedBlockIdMaxRaisingAssetIdAsc = 'STOS_BY_CREATED_BLOCK_ID_MAX_RAISING_ASSET_ID_ASC', - StosByCreatedBlockIdMaxRaisingAssetIdDesc = 'STOS_BY_CREATED_BLOCK_ID_MAX_RAISING_ASSET_ID_DESC', - StosByCreatedBlockIdMaxRaisingPortfolioIdAsc = 'STOS_BY_CREATED_BLOCK_ID_MAX_RAISING_PORTFOLIO_ID_ASC', - StosByCreatedBlockIdMaxRaisingPortfolioIdDesc = 'STOS_BY_CREATED_BLOCK_ID_MAX_RAISING_PORTFOLIO_ID_DESC', - StosByCreatedBlockIdMaxStartAsc = 'STOS_BY_CREATED_BLOCK_ID_MAX_START_ASC', - StosByCreatedBlockIdMaxStartDesc = 'STOS_BY_CREATED_BLOCK_ID_MAX_START_DESC', - StosByCreatedBlockIdMaxStatusAsc = 'STOS_BY_CREATED_BLOCK_ID_MAX_STATUS_ASC', - StosByCreatedBlockIdMaxStatusDesc = 'STOS_BY_CREATED_BLOCK_ID_MAX_STATUS_DESC', - StosByCreatedBlockIdMaxStoIdAsc = 'STOS_BY_CREATED_BLOCK_ID_MAX_STO_ID_ASC', - StosByCreatedBlockIdMaxStoIdDesc = 'STOS_BY_CREATED_BLOCK_ID_MAX_STO_ID_DESC', - StosByCreatedBlockIdMaxTiersAsc = 'STOS_BY_CREATED_BLOCK_ID_MAX_TIERS_ASC', - StosByCreatedBlockIdMaxTiersDesc = 'STOS_BY_CREATED_BLOCK_ID_MAX_TIERS_DESC', - StosByCreatedBlockIdMaxUpdatedAtAsc = 'STOS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - StosByCreatedBlockIdMaxUpdatedAtDesc = 'STOS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - StosByCreatedBlockIdMaxUpdatedBlockIdAsc = 'STOS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - StosByCreatedBlockIdMaxUpdatedBlockIdDesc = 'STOS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - StosByCreatedBlockIdMaxVenueIdAsc = 'STOS_BY_CREATED_BLOCK_ID_MAX_VENUE_ID_ASC', - StosByCreatedBlockIdMaxVenueIdDesc = 'STOS_BY_CREATED_BLOCK_ID_MAX_VENUE_ID_DESC', - StosByCreatedBlockIdMinCreatedAtAsc = 'STOS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_ASC', - StosByCreatedBlockIdMinCreatedAtDesc = 'STOS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_DESC', - StosByCreatedBlockIdMinCreatedBlockIdAsc = 'STOS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - StosByCreatedBlockIdMinCreatedBlockIdDesc = 'STOS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - StosByCreatedBlockIdMinCreatorIdAsc = 'STOS_BY_CREATED_BLOCK_ID_MIN_CREATOR_ID_ASC', - StosByCreatedBlockIdMinCreatorIdDesc = 'STOS_BY_CREATED_BLOCK_ID_MIN_CREATOR_ID_DESC', - StosByCreatedBlockIdMinEndAsc = 'STOS_BY_CREATED_BLOCK_ID_MIN_END_ASC', - StosByCreatedBlockIdMinEndDesc = 'STOS_BY_CREATED_BLOCK_ID_MIN_END_DESC', - StosByCreatedBlockIdMinIdAsc = 'STOS_BY_CREATED_BLOCK_ID_MIN_ID_ASC', - StosByCreatedBlockIdMinIdDesc = 'STOS_BY_CREATED_BLOCK_ID_MIN_ID_DESC', - StosByCreatedBlockIdMinMinimumInvestmentAsc = 'STOS_BY_CREATED_BLOCK_ID_MIN_MINIMUM_INVESTMENT_ASC', - StosByCreatedBlockIdMinMinimumInvestmentDesc = 'STOS_BY_CREATED_BLOCK_ID_MIN_MINIMUM_INVESTMENT_DESC', - StosByCreatedBlockIdMinNameAsc = 'STOS_BY_CREATED_BLOCK_ID_MIN_NAME_ASC', - StosByCreatedBlockIdMinNameDesc = 'STOS_BY_CREATED_BLOCK_ID_MIN_NAME_DESC', - StosByCreatedBlockIdMinOfferingAssetIdAsc = 'STOS_BY_CREATED_BLOCK_ID_MIN_OFFERING_ASSET_ID_ASC', - StosByCreatedBlockIdMinOfferingAssetIdDesc = 'STOS_BY_CREATED_BLOCK_ID_MIN_OFFERING_ASSET_ID_DESC', - StosByCreatedBlockIdMinOfferingPortfolioIdAsc = 'STOS_BY_CREATED_BLOCK_ID_MIN_OFFERING_PORTFOLIO_ID_ASC', - StosByCreatedBlockIdMinOfferingPortfolioIdDesc = 'STOS_BY_CREATED_BLOCK_ID_MIN_OFFERING_PORTFOLIO_ID_DESC', - StosByCreatedBlockIdMinRaisingAssetIdAsc = 'STOS_BY_CREATED_BLOCK_ID_MIN_RAISING_ASSET_ID_ASC', - StosByCreatedBlockIdMinRaisingAssetIdDesc = 'STOS_BY_CREATED_BLOCK_ID_MIN_RAISING_ASSET_ID_DESC', - StosByCreatedBlockIdMinRaisingPortfolioIdAsc = 'STOS_BY_CREATED_BLOCK_ID_MIN_RAISING_PORTFOLIO_ID_ASC', - StosByCreatedBlockIdMinRaisingPortfolioIdDesc = 'STOS_BY_CREATED_BLOCK_ID_MIN_RAISING_PORTFOLIO_ID_DESC', - StosByCreatedBlockIdMinStartAsc = 'STOS_BY_CREATED_BLOCK_ID_MIN_START_ASC', - StosByCreatedBlockIdMinStartDesc = 'STOS_BY_CREATED_BLOCK_ID_MIN_START_DESC', - StosByCreatedBlockIdMinStatusAsc = 'STOS_BY_CREATED_BLOCK_ID_MIN_STATUS_ASC', - StosByCreatedBlockIdMinStatusDesc = 'STOS_BY_CREATED_BLOCK_ID_MIN_STATUS_DESC', - StosByCreatedBlockIdMinStoIdAsc = 'STOS_BY_CREATED_BLOCK_ID_MIN_STO_ID_ASC', - StosByCreatedBlockIdMinStoIdDesc = 'STOS_BY_CREATED_BLOCK_ID_MIN_STO_ID_DESC', - StosByCreatedBlockIdMinTiersAsc = 'STOS_BY_CREATED_BLOCK_ID_MIN_TIERS_ASC', - StosByCreatedBlockIdMinTiersDesc = 'STOS_BY_CREATED_BLOCK_ID_MIN_TIERS_DESC', - StosByCreatedBlockIdMinUpdatedAtAsc = 'STOS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - StosByCreatedBlockIdMinUpdatedAtDesc = 'STOS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - StosByCreatedBlockIdMinUpdatedBlockIdAsc = 'STOS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - StosByCreatedBlockIdMinUpdatedBlockIdDesc = 'STOS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - StosByCreatedBlockIdMinVenueIdAsc = 'STOS_BY_CREATED_BLOCK_ID_MIN_VENUE_ID_ASC', - StosByCreatedBlockIdMinVenueIdDesc = 'STOS_BY_CREATED_BLOCK_ID_MIN_VENUE_ID_DESC', - StosByCreatedBlockIdStddevPopulationCreatedAtAsc = 'STOS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - StosByCreatedBlockIdStddevPopulationCreatedAtDesc = 'STOS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - StosByCreatedBlockIdStddevPopulationCreatedBlockIdAsc = 'STOS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - StosByCreatedBlockIdStddevPopulationCreatedBlockIdDesc = 'STOS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - StosByCreatedBlockIdStddevPopulationCreatorIdAsc = 'STOS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATOR_ID_ASC', - StosByCreatedBlockIdStddevPopulationCreatorIdDesc = 'STOS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATOR_ID_DESC', - StosByCreatedBlockIdStddevPopulationEndAsc = 'STOS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_END_ASC', - StosByCreatedBlockIdStddevPopulationEndDesc = 'STOS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_END_DESC', - StosByCreatedBlockIdStddevPopulationIdAsc = 'STOS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - StosByCreatedBlockIdStddevPopulationIdDesc = 'STOS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - StosByCreatedBlockIdStddevPopulationMinimumInvestmentAsc = 'STOS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_MINIMUM_INVESTMENT_ASC', - StosByCreatedBlockIdStddevPopulationMinimumInvestmentDesc = 'STOS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_MINIMUM_INVESTMENT_DESC', - StosByCreatedBlockIdStddevPopulationNameAsc = 'STOS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_NAME_ASC', - StosByCreatedBlockIdStddevPopulationNameDesc = 'STOS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_NAME_DESC', - StosByCreatedBlockIdStddevPopulationOfferingAssetIdAsc = 'STOS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_OFFERING_ASSET_ID_ASC', - StosByCreatedBlockIdStddevPopulationOfferingAssetIdDesc = 'STOS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_OFFERING_ASSET_ID_DESC', - StosByCreatedBlockIdStddevPopulationOfferingPortfolioIdAsc = 'STOS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_OFFERING_PORTFOLIO_ID_ASC', - StosByCreatedBlockIdStddevPopulationOfferingPortfolioIdDesc = 'STOS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_OFFERING_PORTFOLIO_ID_DESC', - StosByCreatedBlockIdStddevPopulationRaisingAssetIdAsc = 'STOS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_RAISING_ASSET_ID_ASC', - StosByCreatedBlockIdStddevPopulationRaisingAssetIdDesc = 'STOS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_RAISING_ASSET_ID_DESC', - StosByCreatedBlockIdStddevPopulationRaisingPortfolioIdAsc = 'STOS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_RAISING_PORTFOLIO_ID_ASC', - StosByCreatedBlockIdStddevPopulationRaisingPortfolioIdDesc = 'STOS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_RAISING_PORTFOLIO_ID_DESC', - StosByCreatedBlockIdStddevPopulationStartAsc = 'STOS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_START_ASC', - StosByCreatedBlockIdStddevPopulationStartDesc = 'STOS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_START_DESC', - StosByCreatedBlockIdStddevPopulationStatusAsc = 'STOS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_STATUS_ASC', - StosByCreatedBlockIdStddevPopulationStatusDesc = 'STOS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_STATUS_DESC', - StosByCreatedBlockIdStddevPopulationStoIdAsc = 'STOS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_STO_ID_ASC', - StosByCreatedBlockIdStddevPopulationStoIdDesc = 'STOS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_STO_ID_DESC', - StosByCreatedBlockIdStddevPopulationTiersAsc = 'STOS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TIERS_ASC', - StosByCreatedBlockIdStddevPopulationTiersDesc = 'STOS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TIERS_DESC', - StosByCreatedBlockIdStddevPopulationUpdatedAtAsc = 'STOS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - StosByCreatedBlockIdStddevPopulationUpdatedAtDesc = 'STOS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - StosByCreatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'STOS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - StosByCreatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'STOS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - StosByCreatedBlockIdStddevPopulationVenueIdAsc = 'STOS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_VENUE_ID_ASC', - StosByCreatedBlockIdStddevPopulationVenueIdDesc = 'STOS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_VENUE_ID_DESC', - StosByCreatedBlockIdStddevSampleCreatedAtAsc = 'STOS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - StosByCreatedBlockIdStddevSampleCreatedAtDesc = 'STOS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - StosByCreatedBlockIdStddevSampleCreatedBlockIdAsc = 'STOS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - StosByCreatedBlockIdStddevSampleCreatedBlockIdDesc = 'STOS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - StosByCreatedBlockIdStddevSampleCreatorIdAsc = 'STOS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATOR_ID_ASC', - StosByCreatedBlockIdStddevSampleCreatorIdDesc = 'STOS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATOR_ID_DESC', - StosByCreatedBlockIdStddevSampleEndAsc = 'STOS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_END_ASC', - StosByCreatedBlockIdStddevSampleEndDesc = 'STOS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_END_DESC', - StosByCreatedBlockIdStddevSampleIdAsc = 'STOS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - StosByCreatedBlockIdStddevSampleIdDesc = 'STOS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - StosByCreatedBlockIdStddevSampleMinimumInvestmentAsc = 'STOS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_MINIMUM_INVESTMENT_ASC', - StosByCreatedBlockIdStddevSampleMinimumInvestmentDesc = 'STOS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_MINIMUM_INVESTMENT_DESC', - StosByCreatedBlockIdStddevSampleNameAsc = 'STOS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_NAME_ASC', - StosByCreatedBlockIdStddevSampleNameDesc = 'STOS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_NAME_DESC', - StosByCreatedBlockIdStddevSampleOfferingAssetIdAsc = 'STOS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_OFFERING_ASSET_ID_ASC', - StosByCreatedBlockIdStddevSampleOfferingAssetIdDesc = 'STOS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_OFFERING_ASSET_ID_DESC', - StosByCreatedBlockIdStddevSampleOfferingPortfolioIdAsc = 'STOS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_OFFERING_PORTFOLIO_ID_ASC', - StosByCreatedBlockIdStddevSampleOfferingPortfolioIdDesc = 'STOS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_OFFERING_PORTFOLIO_ID_DESC', - StosByCreatedBlockIdStddevSampleRaisingAssetIdAsc = 'STOS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_RAISING_ASSET_ID_ASC', - StosByCreatedBlockIdStddevSampleRaisingAssetIdDesc = 'STOS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_RAISING_ASSET_ID_DESC', - StosByCreatedBlockIdStddevSampleRaisingPortfolioIdAsc = 'STOS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_RAISING_PORTFOLIO_ID_ASC', - StosByCreatedBlockIdStddevSampleRaisingPortfolioIdDesc = 'STOS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_RAISING_PORTFOLIO_ID_DESC', - StosByCreatedBlockIdStddevSampleStartAsc = 'STOS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_START_ASC', - StosByCreatedBlockIdStddevSampleStartDesc = 'STOS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_START_DESC', - StosByCreatedBlockIdStddevSampleStatusAsc = 'STOS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_STATUS_ASC', - StosByCreatedBlockIdStddevSampleStatusDesc = 'STOS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_STATUS_DESC', - StosByCreatedBlockIdStddevSampleStoIdAsc = 'STOS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_STO_ID_ASC', - StosByCreatedBlockIdStddevSampleStoIdDesc = 'STOS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_STO_ID_DESC', - StosByCreatedBlockIdStddevSampleTiersAsc = 'STOS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TIERS_ASC', - StosByCreatedBlockIdStddevSampleTiersDesc = 'STOS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TIERS_DESC', - StosByCreatedBlockIdStddevSampleUpdatedAtAsc = 'STOS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - StosByCreatedBlockIdStddevSampleUpdatedAtDesc = 'STOS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - StosByCreatedBlockIdStddevSampleUpdatedBlockIdAsc = 'STOS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - StosByCreatedBlockIdStddevSampleUpdatedBlockIdDesc = 'STOS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - StosByCreatedBlockIdStddevSampleVenueIdAsc = 'STOS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_VENUE_ID_ASC', - StosByCreatedBlockIdStddevSampleVenueIdDesc = 'STOS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_VENUE_ID_DESC', - StosByCreatedBlockIdSumCreatedAtAsc = 'STOS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_ASC', - StosByCreatedBlockIdSumCreatedAtDesc = 'STOS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_DESC', - StosByCreatedBlockIdSumCreatedBlockIdAsc = 'STOS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - StosByCreatedBlockIdSumCreatedBlockIdDesc = 'STOS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - StosByCreatedBlockIdSumCreatorIdAsc = 'STOS_BY_CREATED_BLOCK_ID_SUM_CREATOR_ID_ASC', - StosByCreatedBlockIdSumCreatorIdDesc = 'STOS_BY_CREATED_BLOCK_ID_SUM_CREATOR_ID_DESC', - StosByCreatedBlockIdSumEndAsc = 'STOS_BY_CREATED_BLOCK_ID_SUM_END_ASC', - StosByCreatedBlockIdSumEndDesc = 'STOS_BY_CREATED_BLOCK_ID_SUM_END_DESC', - StosByCreatedBlockIdSumIdAsc = 'STOS_BY_CREATED_BLOCK_ID_SUM_ID_ASC', - StosByCreatedBlockIdSumIdDesc = 'STOS_BY_CREATED_BLOCK_ID_SUM_ID_DESC', - StosByCreatedBlockIdSumMinimumInvestmentAsc = 'STOS_BY_CREATED_BLOCK_ID_SUM_MINIMUM_INVESTMENT_ASC', - StosByCreatedBlockIdSumMinimumInvestmentDesc = 'STOS_BY_CREATED_BLOCK_ID_SUM_MINIMUM_INVESTMENT_DESC', - StosByCreatedBlockIdSumNameAsc = 'STOS_BY_CREATED_BLOCK_ID_SUM_NAME_ASC', - StosByCreatedBlockIdSumNameDesc = 'STOS_BY_CREATED_BLOCK_ID_SUM_NAME_DESC', - StosByCreatedBlockIdSumOfferingAssetIdAsc = 'STOS_BY_CREATED_BLOCK_ID_SUM_OFFERING_ASSET_ID_ASC', - StosByCreatedBlockIdSumOfferingAssetIdDesc = 'STOS_BY_CREATED_BLOCK_ID_SUM_OFFERING_ASSET_ID_DESC', - StosByCreatedBlockIdSumOfferingPortfolioIdAsc = 'STOS_BY_CREATED_BLOCK_ID_SUM_OFFERING_PORTFOLIO_ID_ASC', - StosByCreatedBlockIdSumOfferingPortfolioIdDesc = 'STOS_BY_CREATED_BLOCK_ID_SUM_OFFERING_PORTFOLIO_ID_DESC', - StosByCreatedBlockIdSumRaisingAssetIdAsc = 'STOS_BY_CREATED_BLOCK_ID_SUM_RAISING_ASSET_ID_ASC', - StosByCreatedBlockIdSumRaisingAssetIdDesc = 'STOS_BY_CREATED_BLOCK_ID_SUM_RAISING_ASSET_ID_DESC', - StosByCreatedBlockIdSumRaisingPortfolioIdAsc = 'STOS_BY_CREATED_BLOCK_ID_SUM_RAISING_PORTFOLIO_ID_ASC', - StosByCreatedBlockIdSumRaisingPortfolioIdDesc = 'STOS_BY_CREATED_BLOCK_ID_SUM_RAISING_PORTFOLIO_ID_DESC', - StosByCreatedBlockIdSumStartAsc = 'STOS_BY_CREATED_BLOCK_ID_SUM_START_ASC', - StosByCreatedBlockIdSumStartDesc = 'STOS_BY_CREATED_BLOCK_ID_SUM_START_DESC', - StosByCreatedBlockIdSumStatusAsc = 'STOS_BY_CREATED_BLOCK_ID_SUM_STATUS_ASC', - StosByCreatedBlockIdSumStatusDesc = 'STOS_BY_CREATED_BLOCK_ID_SUM_STATUS_DESC', - StosByCreatedBlockIdSumStoIdAsc = 'STOS_BY_CREATED_BLOCK_ID_SUM_STO_ID_ASC', - StosByCreatedBlockIdSumStoIdDesc = 'STOS_BY_CREATED_BLOCK_ID_SUM_STO_ID_DESC', - StosByCreatedBlockIdSumTiersAsc = 'STOS_BY_CREATED_BLOCK_ID_SUM_TIERS_ASC', - StosByCreatedBlockIdSumTiersDesc = 'STOS_BY_CREATED_BLOCK_ID_SUM_TIERS_DESC', - StosByCreatedBlockIdSumUpdatedAtAsc = 'STOS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - StosByCreatedBlockIdSumUpdatedAtDesc = 'STOS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - StosByCreatedBlockIdSumUpdatedBlockIdAsc = 'STOS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - StosByCreatedBlockIdSumUpdatedBlockIdDesc = 'STOS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - StosByCreatedBlockIdSumVenueIdAsc = 'STOS_BY_CREATED_BLOCK_ID_SUM_VENUE_ID_ASC', - StosByCreatedBlockIdSumVenueIdDesc = 'STOS_BY_CREATED_BLOCK_ID_SUM_VENUE_ID_DESC', - StosByCreatedBlockIdVariancePopulationCreatedAtAsc = 'STOS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - StosByCreatedBlockIdVariancePopulationCreatedAtDesc = 'STOS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - StosByCreatedBlockIdVariancePopulationCreatedBlockIdAsc = 'STOS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - StosByCreatedBlockIdVariancePopulationCreatedBlockIdDesc = 'STOS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - StosByCreatedBlockIdVariancePopulationCreatorIdAsc = 'STOS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATOR_ID_ASC', - StosByCreatedBlockIdVariancePopulationCreatorIdDesc = 'STOS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATOR_ID_DESC', - StosByCreatedBlockIdVariancePopulationEndAsc = 'STOS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_END_ASC', - StosByCreatedBlockIdVariancePopulationEndDesc = 'STOS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_END_DESC', - StosByCreatedBlockIdVariancePopulationIdAsc = 'STOS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - StosByCreatedBlockIdVariancePopulationIdDesc = 'STOS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - StosByCreatedBlockIdVariancePopulationMinimumInvestmentAsc = 'STOS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_MINIMUM_INVESTMENT_ASC', - StosByCreatedBlockIdVariancePopulationMinimumInvestmentDesc = 'STOS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_MINIMUM_INVESTMENT_DESC', - StosByCreatedBlockIdVariancePopulationNameAsc = 'STOS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_NAME_ASC', - StosByCreatedBlockIdVariancePopulationNameDesc = 'STOS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_NAME_DESC', - StosByCreatedBlockIdVariancePopulationOfferingAssetIdAsc = 'STOS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_OFFERING_ASSET_ID_ASC', - StosByCreatedBlockIdVariancePopulationOfferingAssetIdDesc = 'STOS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_OFFERING_ASSET_ID_DESC', - StosByCreatedBlockIdVariancePopulationOfferingPortfolioIdAsc = 'STOS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_OFFERING_PORTFOLIO_ID_ASC', - StosByCreatedBlockIdVariancePopulationOfferingPortfolioIdDesc = 'STOS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_OFFERING_PORTFOLIO_ID_DESC', - StosByCreatedBlockIdVariancePopulationRaisingAssetIdAsc = 'STOS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_RAISING_ASSET_ID_ASC', - StosByCreatedBlockIdVariancePopulationRaisingAssetIdDesc = 'STOS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_RAISING_ASSET_ID_DESC', - StosByCreatedBlockIdVariancePopulationRaisingPortfolioIdAsc = 'STOS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_RAISING_PORTFOLIO_ID_ASC', - StosByCreatedBlockIdVariancePopulationRaisingPortfolioIdDesc = 'STOS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_RAISING_PORTFOLIO_ID_DESC', - StosByCreatedBlockIdVariancePopulationStartAsc = 'STOS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_START_ASC', - StosByCreatedBlockIdVariancePopulationStartDesc = 'STOS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_START_DESC', - StosByCreatedBlockIdVariancePopulationStatusAsc = 'STOS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_STATUS_ASC', - StosByCreatedBlockIdVariancePopulationStatusDesc = 'STOS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_STATUS_DESC', - StosByCreatedBlockIdVariancePopulationStoIdAsc = 'STOS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_STO_ID_ASC', - StosByCreatedBlockIdVariancePopulationStoIdDesc = 'STOS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_STO_ID_DESC', - StosByCreatedBlockIdVariancePopulationTiersAsc = 'STOS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TIERS_ASC', - StosByCreatedBlockIdVariancePopulationTiersDesc = 'STOS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TIERS_DESC', - StosByCreatedBlockIdVariancePopulationUpdatedAtAsc = 'STOS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - StosByCreatedBlockIdVariancePopulationUpdatedAtDesc = 'STOS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - StosByCreatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'STOS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - StosByCreatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'STOS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - StosByCreatedBlockIdVariancePopulationVenueIdAsc = 'STOS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_VENUE_ID_ASC', - StosByCreatedBlockIdVariancePopulationVenueIdDesc = 'STOS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_VENUE_ID_DESC', - StosByCreatedBlockIdVarianceSampleCreatedAtAsc = 'STOS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - StosByCreatedBlockIdVarianceSampleCreatedAtDesc = 'STOS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - StosByCreatedBlockIdVarianceSampleCreatedBlockIdAsc = 'STOS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - StosByCreatedBlockIdVarianceSampleCreatedBlockIdDesc = 'STOS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - StosByCreatedBlockIdVarianceSampleCreatorIdAsc = 'STOS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATOR_ID_ASC', - StosByCreatedBlockIdVarianceSampleCreatorIdDesc = 'STOS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATOR_ID_DESC', - StosByCreatedBlockIdVarianceSampleEndAsc = 'STOS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_END_ASC', - StosByCreatedBlockIdVarianceSampleEndDesc = 'STOS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_END_DESC', - StosByCreatedBlockIdVarianceSampleIdAsc = 'STOS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - StosByCreatedBlockIdVarianceSampleIdDesc = 'STOS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - StosByCreatedBlockIdVarianceSampleMinimumInvestmentAsc = 'STOS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_MINIMUM_INVESTMENT_ASC', - StosByCreatedBlockIdVarianceSampleMinimumInvestmentDesc = 'STOS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_MINIMUM_INVESTMENT_DESC', - StosByCreatedBlockIdVarianceSampleNameAsc = 'STOS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_NAME_ASC', - StosByCreatedBlockIdVarianceSampleNameDesc = 'STOS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_NAME_DESC', - StosByCreatedBlockIdVarianceSampleOfferingAssetIdAsc = 'STOS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_OFFERING_ASSET_ID_ASC', - StosByCreatedBlockIdVarianceSampleOfferingAssetIdDesc = 'STOS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_OFFERING_ASSET_ID_DESC', - StosByCreatedBlockIdVarianceSampleOfferingPortfolioIdAsc = 'STOS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_OFFERING_PORTFOLIO_ID_ASC', - StosByCreatedBlockIdVarianceSampleOfferingPortfolioIdDesc = 'STOS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_OFFERING_PORTFOLIO_ID_DESC', - StosByCreatedBlockIdVarianceSampleRaisingAssetIdAsc = 'STOS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_RAISING_ASSET_ID_ASC', - StosByCreatedBlockIdVarianceSampleRaisingAssetIdDesc = 'STOS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_RAISING_ASSET_ID_DESC', - StosByCreatedBlockIdVarianceSampleRaisingPortfolioIdAsc = 'STOS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_RAISING_PORTFOLIO_ID_ASC', - StosByCreatedBlockIdVarianceSampleRaisingPortfolioIdDesc = 'STOS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_RAISING_PORTFOLIO_ID_DESC', - StosByCreatedBlockIdVarianceSampleStartAsc = 'STOS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_START_ASC', - StosByCreatedBlockIdVarianceSampleStartDesc = 'STOS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_START_DESC', - StosByCreatedBlockIdVarianceSampleStatusAsc = 'STOS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_STATUS_ASC', - StosByCreatedBlockIdVarianceSampleStatusDesc = 'STOS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_STATUS_DESC', - StosByCreatedBlockIdVarianceSampleStoIdAsc = 'STOS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_STO_ID_ASC', - StosByCreatedBlockIdVarianceSampleStoIdDesc = 'STOS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_STO_ID_DESC', - StosByCreatedBlockIdVarianceSampleTiersAsc = 'STOS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TIERS_ASC', - StosByCreatedBlockIdVarianceSampleTiersDesc = 'STOS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TIERS_DESC', - StosByCreatedBlockIdVarianceSampleUpdatedAtAsc = 'STOS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - StosByCreatedBlockIdVarianceSampleUpdatedAtDesc = 'STOS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - StosByCreatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'STOS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - StosByCreatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'STOS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - StosByCreatedBlockIdVarianceSampleVenueIdAsc = 'STOS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_VENUE_ID_ASC', - StosByCreatedBlockIdVarianceSampleVenueIdDesc = 'STOS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_VENUE_ID_DESC', - StosByUpdatedBlockIdAverageCreatedAtAsc = 'STOS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - StosByUpdatedBlockIdAverageCreatedAtDesc = 'STOS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - StosByUpdatedBlockIdAverageCreatedBlockIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - StosByUpdatedBlockIdAverageCreatedBlockIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - StosByUpdatedBlockIdAverageCreatorIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATOR_ID_ASC', - StosByUpdatedBlockIdAverageCreatorIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATOR_ID_DESC', - StosByUpdatedBlockIdAverageEndAsc = 'STOS_BY_UPDATED_BLOCK_ID_AVERAGE_END_ASC', - StosByUpdatedBlockIdAverageEndDesc = 'STOS_BY_UPDATED_BLOCK_ID_AVERAGE_END_DESC', - StosByUpdatedBlockIdAverageIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_ASC', - StosByUpdatedBlockIdAverageIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_DESC', - StosByUpdatedBlockIdAverageMinimumInvestmentAsc = 'STOS_BY_UPDATED_BLOCK_ID_AVERAGE_MINIMUM_INVESTMENT_ASC', - StosByUpdatedBlockIdAverageMinimumInvestmentDesc = 'STOS_BY_UPDATED_BLOCK_ID_AVERAGE_MINIMUM_INVESTMENT_DESC', - StosByUpdatedBlockIdAverageNameAsc = 'STOS_BY_UPDATED_BLOCK_ID_AVERAGE_NAME_ASC', - StosByUpdatedBlockIdAverageNameDesc = 'STOS_BY_UPDATED_BLOCK_ID_AVERAGE_NAME_DESC', - StosByUpdatedBlockIdAverageOfferingAssetIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_AVERAGE_OFFERING_ASSET_ID_ASC', - StosByUpdatedBlockIdAverageOfferingAssetIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_AVERAGE_OFFERING_ASSET_ID_DESC', - StosByUpdatedBlockIdAverageOfferingPortfolioIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_AVERAGE_OFFERING_PORTFOLIO_ID_ASC', - StosByUpdatedBlockIdAverageOfferingPortfolioIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_AVERAGE_OFFERING_PORTFOLIO_ID_DESC', - StosByUpdatedBlockIdAverageRaisingAssetIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_AVERAGE_RAISING_ASSET_ID_ASC', - StosByUpdatedBlockIdAverageRaisingAssetIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_AVERAGE_RAISING_ASSET_ID_DESC', - StosByUpdatedBlockIdAverageRaisingPortfolioIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_AVERAGE_RAISING_PORTFOLIO_ID_ASC', - StosByUpdatedBlockIdAverageRaisingPortfolioIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_AVERAGE_RAISING_PORTFOLIO_ID_DESC', - StosByUpdatedBlockIdAverageStartAsc = 'STOS_BY_UPDATED_BLOCK_ID_AVERAGE_START_ASC', - StosByUpdatedBlockIdAverageStartDesc = 'STOS_BY_UPDATED_BLOCK_ID_AVERAGE_START_DESC', - StosByUpdatedBlockIdAverageStatusAsc = 'STOS_BY_UPDATED_BLOCK_ID_AVERAGE_STATUS_ASC', - StosByUpdatedBlockIdAverageStatusDesc = 'STOS_BY_UPDATED_BLOCK_ID_AVERAGE_STATUS_DESC', - StosByUpdatedBlockIdAverageStoIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_AVERAGE_STO_ID_ASC', - StosByUpdatedBlockIdAverageStoIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_AVERAGE_STO_ID_DESC', - StosByUpdatedBlockIdAverageTiersAsc = 'STOS_BY_UPDATED_BLOCK_ID_AVERAGE_TIERS_ASC', - StosByUpdatedBlockIdAverageTiersDesc = 'STOS_BY_UPDATED_BLOCK_ID_AVERAGE_TIERS_DESC', - StosByUpdatedBlockIdAverageUpdatedAtAsc = 'STOS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - StosByUpdatedBlockIdAverageUpdatedAtDesc = 'STOS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - StosByUpdatedBlockIdAverageUpdatedBlockIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - StosByUpdatedBlockIdAverageUpdatedBlockIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - StosByUpdatedBlockIdAverageVenueIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_AVERAGE_VENUE_ID_ASC', - StosByUpdatedBlockIdAverageVenueIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_AVERAGE_VENUE_ID_DESC', - StosByUpdatedBlockIdCountAsc = 'STOS_BY_UPDATED_BLOCK_ID_COUNT_ASC', - StosByUpdatedBlockIdCountDesc = 'STOS_BY_UPDATED_BLOCK_ID_COUNT_DESC', - StosByUpdatedBlockIdDistinctCountCreatedAtAsc = 'STOS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - StosByUpdatedBlockIdDistinctCountCreatedAtDesc = 'STOS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - StosByUpdatedBlockIdDistinctCountCreatedBlockIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - StosByUpdatedBlockIdDistinctCountCreatedBlockIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - StosByUpdatedBlockIdDistinctCountCreatorIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATOR_ID_ASC', - StosByUpdatedBlockIdDistinctCountCreatorIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATOR_ID_DESC', - StosByUpdatedBlockIdDistinctCountEndAsc = 'STOS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_END_ASC', - StosByUpdatedBlockIdDistinctCountEndDesc = 'STOS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_END_DESC', - StosByUpdatedBlockIdDistinctCountIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - StosByUpdatedBlockIdDistinctCountIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - StosByUpdatedBlockIdDistinctCountMinimumInvestmentAsc = 'STOS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_MINIMUM_INVESTMENT_ASC', - StosByUpdatedBlockIdDistinctCountMinimumInvestmentDesc = 'STOS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_MINIMUM_INVESTMENT_DESC', - StosByUpdatedBlockIdDistinctCountNameAsc = 'STOS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_NAME_ASC', - StosByUpdatedBlockIdDistinctCountNameDesc = 'STOS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_NAME_DESC', - StosByUpdatedBlockIdDistinctCountOfferingAssetIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_OFFERING_ASSET_ID_ASC', - StosByUpdatedBlockIdDistinctCountOfferingAssetIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_OFFERING_ASSET_ID_DESC', - StosByUpdatedBlockIdDistinctCountOfferingPortfolioIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_OFFERING_PORTFOLIO_ID_ASC', - StosByUpdatedBlockIdDistinctCountOfferingPortfolioIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_OFFERING_PORTFOLIO_ID_DESC', - StosByUpdatedBlockIdDistinctCountRaisingAssetIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_RAISING_ASSET_ID_ASC', - StosByUpdatedBlockIdDistinctCountRaisingAssetIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_RAISING_ASSET_ID_DESC', - StosByUpdatedBlockIdDistinctCountRaisingPortfolioIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_RAISING_PORTFOLIO_ID_ASC', - StosByUpdatedBlockIdDistinctCountRaisingPortfolioIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_RAISING_PORTFOLIO_ID_DESC', - StosByUpdatedBlockIdDistinctCountStartAsc = 'STOS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_START_ASC', - StosByUpdatedBlockIdDistinctCountStartDesc = 'STOS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_START_DESC', - StosByUpdatedBlockIdDistinctCountStatusAsc = 'STOS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_STATUS_ASC', - StosByUpdatedBlockIdDistinctCountStatusDesc = 'STOS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_STATUS_DESC', - StosByUpdatedBlockIdDistinctCountStoIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_STO_ID_ASC', - StosByUpdatedBlockIdDistinctCountStoIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_STO_ID_DESC', - StosByUpdatedBlockIdDistinctCountTiersAsc = 'STOS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TIERS_ASC', - StosByUpdatedBlockIdDistinctCountTiersDesc = 'STOS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TIERS_DESC', - StosByUpdatedBlockIdDistinctCountUpdatedAtAsc = 'STOS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - StosByUpdatedBlockIdDistinctCountUpdatedAtDesc = 'STOS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - StosByUpdatedBlockIdDistinctCountUpdatedBlockIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - StosByUpdatedBlockIdDistinctCountUpdatedBlockIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - StosByUpdatedBlockIdDistinctCountVenueIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_VENUE_ID_ASC', - StosByUpdatedBlockIdDistinctCountVenueIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_VENUE_ID_DESC', - StosByUpdatedBlockIdMaxCreatedAtAsc = 'STOS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_ASC', - StosByUpdatedBlockIdMaxCreatedAtDesc = 'STOS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_DESC', - StosByUpdatedBlockIdMaxCreatedBlockIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - StosByUpdatedBlockIdMaxCreatedBlockIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - StosByUpdatedBlockIdMaxCreatorIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_MAX_CREATOR_ID_ASC', - StosByUpdatedBlockIdMaxCreatorIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_MAX_CREATOR_ID_DESC', - StosByUpdatedBlockIdMaxEndAsc = 'STOS_BY_UPDATED_BLOCK_ID_MAX_END_ASC', - StosByUpdatedBlockIdMaxEndDesc = 'STOS_BY_UPDATED_BLOCK_ID_MAX_END_DESC', - StosByUpdatedBlockIdMaxIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_MAX_ID_ASC', - StosByUpdatedBlockIdMaxIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_MAX_ID_DESC', - StosByUpdatedBlockIdMaxMinimumInvestmentAsc = 'STOS_BY_UPDATED_BLOCK_ID_MAX_MINIMUM_INVESTMENT_ASC', - StosByUpdatedBlockIdMaxMinimumInvestmentDesc = 'STOS_BY_UPDATED_BLOCK_ID_MAX_MINIMUM_INVESTMENT_DESC', - StosByUpdatedBlockIdMaxNameAsc = 'STOS_BY_UPDATED_BLOCK_ID_MAX_NAME_ASC', - StosByUpdatedBlockIdMaxNameDesc = 'STOS_BY_UPDATED_BLOCK_ID_MAX_NAME_DESC', - StosByUpdatedBlockIdMaxOfferingAssetIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_MAX_OFFERING_ASSET_ID_ASC', - StosByUpdatedBlockIdMaxOfferingAssetIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_MAX_OFFERING_ASSET_ID_DESC', - StosByUpdatedBlockIdMaxOfferingPortfolioIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_MAX_OFFERING_PORTFOLIO_ID_ASC', - StosByUpdatedBlockIdMaxOfferingPortfolioIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_MAX_OFFERING_PORTFOLIO_ID_DESC', - StosByUpdatedBlockIdMaxRaisingAssetIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_MAX_RAISING_ASSET_ID_ASC', - StosByUpdatedBlockIdMaxRaisingAssetIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_MAX_RAISING_ASSET_ID_DESC', - StosByUpdatedBlockIdMaxRaisingPortfolioIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_MAX_RAISING_PORTFOLIO_ID_ASC', - StosByUpdatedBlockIdMaxRaisingPortfolioIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_MAX_RAISING_PORTFOLIO_ID_DESC', - StosByUpdatedBlockIdMaxStartAsc = 'STOS_BY_UPDATED_BLOCK_ID_MAX_START_ASC', - StosByUpdatedBlockIdMaxStartDesc = 'STOS_BY_UPDATED_BLOCK_ID_MAX_START_DESC', - StosByUpdatedBlockIdMaxStatusAsc = 'STOS_BY_UPDATED_BLOCK_ID_MAX_STATUS_ASC', - StosByUpdatedBlockIdMaxStatusDesc = 'STOS_BY_UPDATED_BLOCK_ID_MAX_STATUS_DESC', - StosByUpdatedBlockIdMaxStoIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_MAX_STO_ID_ASC', - StosByUpdatedBlockIdMaxStoIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_MAX_STO_ID_DESC', - StosByUpdatedBlockIdMaxTiersAsc = 'STOS_BY_UPDATED_BLOCK_ID_MAX_TIERS_ASC', - StosByUpdatedBlockIdMaxTiersDesc = 'STOS_BY_UPDATED_BLOCK_ID_MAX_TIERS_DESC', - StosByUpdatedBlockIdMaxUpdatedAtAsc = 'STOS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - StosByUpdatedBlockIdMaxUpdatedAtDesc = 'STOS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - StosByUpdatedBlockIdMaxUpdatedBlockIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - StosByUpdatedBlockIdMaxUpdatedBlockIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - StosByUpdatedBlockIdMaxVenueIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_MAX_VENUE_ID_ASC', - StosByUpdatedBlockIdMaxVenueIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_MAX_VENUE_ID_DESC', - StosByUpdatedBlockIdMinCreatedAtAsc = 'STOS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_ASC', - StosByUpdatedBlockIdMinCreatedAtDesc = 'STOS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_DESC', - StosByUpdatedBlockIdMinCreatedBlockIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - StosByUpdatedBlockIdMinCreatedBlockIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - StosByUpdatedBlockIdMinCreatorIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_MIN_CREATOR_ID_ASC', - StosByUpdatedBlockIdMinCreatorIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_MIN_CREATOR_ID_DESC', - StosByUpdatedBlockIdMinEndAsc = 'STOS_BY_UPDATED_BLOCK_ID_MIN_END_ASC', - StosByUpdatedBlockIdMinEndDesc = 'STOS_BY_UPDATED_BLOCK_ID_MIN_END_DESC', - StosByUpdatedBlockIdMinIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_MIN_ID_ASC', - StosByUpdatedBlockIdMinIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_MIN_ID_DESC', - StosByUpdatedBlockIdMinMinimumInvestmentAsc = 'STOS_BY_UPDATED_BLOCK_ID_MIN_MINIMUM_INVESTMENT_ASC', - StosByUpdatedBlockIdMinMinimumInvestmentDesc = 'STOS_BY_UPDATED_BLOCK_ID_MIN_MINIMUM_INVESTMENT_DESC', - StosByUpdatedBlockIdMinNameAsc = 'STOS_BY_UPDATED_BLOCK_ID_MIN_NAME_ASC', - StosByUpdatedBlockIdMinNameDesc = 'STOS_BY_UPDATED_BLOCK_ID_MIN_NAME_DESC', - StosByUpdatedBlockIdMinOfferingAssetIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_MIN_OFFERING_ASSET_ID_ASC', - StosByUpdatedBlockIdMinOfferingAssetIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_MIN_OFFERING_ASSET_ID_DESC', - StosByUpdatedBlockIdMinOfferingPortfolioIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_MIN_OFFERING_PORTFOLIO_ID_ASC', - StosByUpdatedBlockIdMinOfferingPortfolioIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_MIN_OFFERING_PORTFOLIO_ID_DESC', - StosByUpdatedBlockIdMinRaisingAssetIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_MIN_RAISING_ASSET_ID_ASC', - StosByUpdatedBlockIdMinRaisingAssetIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_MIN_RAISING_ASSET_ID_DESC', - StosByUpdatedBlockIdMinRaisingPortfolioIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_MIN_RAISING_PORTFOLIO_ID_ASC', - StosByUpdatedBlockIdMinRaisingPortfolioIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_MIN_RAISING_PORTFOLIO_ID_DESC', - StosByUpdatedBlockIdMinStartAsc = 'STOS_BY_UPDATED_BLOCK_ID_MIN_START_ASC', - StosByUpdatedBlockIdMinStartDesc = 'STOS_BY_UPDATED_BLOCK_ID_MIN_START_DESC', - StosByUpdatedBlockIdMinStatusAsc = 'STOS_BY_UPDATED_BLOCK_ID_MIN_STATUS_ASC', - StosByUpdatedBlockIdMinStatusDesc = 'STOS_BY_UPDATED_BLOCK_ID_MIN_STATUS_DESC', - StosByUpdatedBlockIdMinStoIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_MIN_STO_ID_ASC', - StosByUpdatedBlockIdMinStoIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_MIN_STO_ID_DESC', - StosByUpdatedBlockIdMinTiersAsc = 'STOS_BY_UPDATED_BLOCK_ID_MIN_TIERS_ASC', - StosByUpdatedBlockIdMinTiersDesc = 'STOS_BY_UPDATED_BLOCK_ID_MIN_TIERS_DESC', - StosByUpdatedBlockIdMinUpdatedAtAsc = 'STOS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - StosByUpdatedBlockIdMinUpdatedAtDesc = 'STOS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - StosByUpdatedBlockIdMinUpdatedBlockIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - StosByUpdatedBlockIdMinUpdatedBlockIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - StosByUpdatedBlockIdMinVenueIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_MIN_VENUE_ID_ASC', - StosByUpdatedBlockIdMinVenueIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_MIN_VENUE_ID_DESC', - StosByUpdatedBlockIdStddevPopulationCreatedAtAsc = 'STOS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - StosByUpdatedBlockIdStddevPopulationCreatedAtDesc = 'STOS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - StosByUpdatedBlockIdStddevPopulationCreatedBlockIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - StosByUpdatedBlockIdStddevPopulationCreatedBlockIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - StosByUpdatedBlockIdStddevPopulationCreatorIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATOR_ID_ASC', - StosByUpdatedBlockIdStddevPopulationCreatorIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATOR_ID_DESC', - StosByUpdatedBlockIdStddevPopulationEndAsc = 'STOS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_END_ASC', - StosByUpdatedBlockIdStddevPopulationEndDesc = 'STOS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_END_DESC', - StosByUpdatedBlockIdStddevPopulationIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - StosByUpdatedBlockIdStddevPopulationIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - StosByUpdatedBlockIdStddevPopulationMinimumInvestmentAsc = 'STOS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_MINIMUM_INVESTMENT_ASC', - StosByUpdatedBlockIdStddevPopulationMinimumInvestmentDesc = 'STOS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_MINIMUM_INVESTMENT_DESC', - StosByUpdatedBlockIdStddevPopulationNameAsc = 'STOS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_NAME_ASC', - StosByUpdatedBlockIdStddevPopulationNameDesc = 'STOS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_NAME_DESC', - StosByUpdatedBlockIdStddevPopulationOfferingAssetIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_OFFERING_ASSET_ID_ASC', - StosByUpdatedBlockIdStddevPopulationOfferingAssetIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_OFFERING_ASSET_ID_DESC', - StosByUpdatedBlockIdStddevPopulationOfferingPortfolioIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_OFFERING_PORTFOLIO_ID_ASC', - StosByUpdatedBlockIdStddevPopulationOfferingPortfolioIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_OFFERING_PORTFOLIO_ID_DESC', - StosByUpdatedBlockIdStddevPopulationRaisingAssetIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_RAISING_ASSET_ID_ASC', - StosByUpdatedBlockIdStddevPopulationRaisingAssetIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_RAISING_ASSET_ID_DESC', - StosByUpdatedBlockIdStddevPopulationRaisingPortfolioIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_RAISING_PORTFOLIO_ID_ASC', - StosByUpdatedBlockIdStddevPopulationRaisingPortfolioIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_RAISING_PORTFOLIO_ID_DESC', - StosByUpdatedBlockIdStddevPopulationStartAsc = 'STOS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_START_ASC', - StosByUpdatedBlockIdStddevPopulationStartDesc = 'STOS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_START_DESC', - StosByUpdatedBlockIdStddevPopulationStatusAsc = 'STOS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_STATUS_ASC', - StosByUpdatedBlockIdStddevPopulationStatusDesc = 'STOS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_STATUS_DESC', - StosByUpdatedBlockIdStddevPopulationStoIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_STO_ID_ASC', - StosByUpdatedBlockIdStddevPopulationStoIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_STO_ID_DESC', - StosByUpdatedBlockIdStddevPopulationTiersAsc = 'STOS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TIERS_ASC', - StosByUpdatedBlockIdStddevPopulationTiersDesc = 'STOS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TIERS_DESC', - StosByUpdatedBlockIdStddevPopulationUpdatedAtAsc = 'STOS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - StosByUpdatedBlockIdStddevPopulationUpdatedAtDesc = 'STOS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - StosByUpdatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - StosByUpdatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - StosByUpdatedBlockIdStddevPopulationVenueIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_VENUE_ID_ASC', - StosByUpdatedBlockIdStddevPopulationVenueIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_VENUE_ID_DESC', - StosByUpdatedBlockIdStddevSampleCreatedAtAsc = 'STOS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - StosByUpdatedBlockIdStddevSampleCreatedAtDesc = 'STOS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - StosByUpdatedBlockIdStddevSampleCreatedBlockIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - StosByUpdatedBlockIdStddevSampleCreatedBlockIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - StosByUpdatedBlockIdStddevSampleCreatorIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATOR_ID_ASC', - StosByUpdatedBlockIdStddevSampleCreatorIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATOR_ID_DESC', - StosByUpdatedBlockIdStddevSampleEndAsc = 'STOS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_END_ASC', - StosByUpdatedBlockIdStddevSampleEndDesc = 'STOS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_END_DESC', - StosByUpdatedBlockIdStddevSampleIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - StosByUpdatedBlockIdStddevSampleIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - StosByUpdatedBlockIdStddevSampleMinimumInvestmentAsc = 'STOS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_MINIMUM_INVESTMENT_ASC', - StosByUpdatedBlockIdStddevSampleMinimumInvestmentDesc = 'STOS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_MINIMUM_INVESTMENT_DESC', - StosByUpdatedBlockIdStddevSampleNameAsc = 'STOS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_NAME_ASC', - StosByUpdatedBlockIdStddevSampleNameDesc = 'STOS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_NAME_DESC', - StosByUpdatedBlockIdStddevSampleOfferingAssetIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_OFFERING_ASSET_ID_ASC', - StosByUpdatedBlockIdStddevSampleOfferingAssetIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_OFFERING_ASSET_ID_DESC', - StosByUpdatedBlockIdStddevSampleOfferingPortfolioIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_OFFERING_PORTFOLIO_ID_ASC', - StosByUpdatedBlockIdStddevSampleOfferingPortfolioIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_OFFERING_PORTFOLIO_ID_DESC', - StosByUpdatedBlockIdStddevSampleRaisingAssetIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_RAISING_ASSET_ID_ASC', - StosByUpdatedBlockIdStddevSampleRaisingAssetIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_RAISING_ASSET_ID_DESC', - StosByUpdatedBlockIdStddevSampleRaisingPortfolioIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_RAISING_PORTFOLIO_ID_ASC', - StosByUpdatedBlockIdStddevSampleRaisingPortfolioIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_RAISING_PORTFOLIO_ID_DESC', - StosByUpdatedBlockIdStddevSampleStartAsc = 'STOS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_START_ASC', - StosByUpdatedBlockIdStddevSampleStartDesc = 'STOS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_START_DESC', - StosByUpdatedBlockIdStddevSampleStatusAsc = 'STOS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_STATUS_ASC', - StosByUpdatedBlockIdStddevSampleStatusDesc = 'STOS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_STATUS_DESC', - StosByUpdatedBlockIdStddevSampleStoIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_STO_ID_ASC', - StosByUpdatedBlockIdStddevSampleStoIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_STO_ID_DESC', - StosByUpdatedBlockIdStddevSampleTiersAsc = 'STOS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TIERS_ASC', - StosByUpdatedBlockIdStddevSampleTiersDesc = 'STOS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TIERS_DESC', - StosByUpdatedBlockIdStddevSampleUpdatedAtAsc = 'STOS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - StosByUpdatedBlockIdStddevSampleUpdatedAtDesc = 'STOS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - StosByUpdatedBlockIdStddevSampleUpdatedBlockIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - StosByUpdatedBlockIdStddevSampleUpdatedBlockIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - StosByUpdatedBlockIdStddevSampleVenueIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_VENUE_ID_ASC', - StosByUpdatedBlockIdStddevSampleVenueIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_VENUE_ID_DESC', - StosByUpdatedBlockIdSumCreatedAtAsc = 'STOS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_ASC', - StosByUpdatedBlockIdSumCreatedAtDesc = 'STOS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_DESC', - StosByUpdatedBlockIdSumCreatedBlockIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - StosByUpdatedBlockIdSumCreatedBlockIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - StosByUpdatedBlockIdSumCreatorIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_SUM_CREATOR_ID_ASC', - StosByUpdatedBlockIdSumCreatorIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_SUM_CREATOR_ID_DESC', - StosByUpdatedBlockIdSumEndAsc = 'STOS_BY_UPDATED_BLOCK_ID_SUM_END_ASC', - StosByUpdatedBlockIdSumEndDesc = 'STOS_BY_UPDATED_BLOCK_ID_SUM_END_DESC', - StosByUpdatedBlockIdSumIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_SUM_ID_ASC', - StosByUpdatedBlockIdSumIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_SUM_ID_DESC', - StosByUpdatedBlockIdSumMinimumInvestmentAsc = 'STOS_BY_UPDATED_BLOCK_ID_SUM_MINIMUM_INVESTMENT_ASC', - StosByUpdatedBlockIdSumMinimumInvestmentDesc = 'STOS_BY_UPDATED_BLOCK_ID_SUM_MINIMUM_INVESTMENT_DESC', - StosByUpdatedBlockIdSumNameAsc = 'STOS_BY_UPDATED_BLOCK_ID_SUM_NAME_ASC', - StosByUpdatedBlockIdSumNameDesc = 'STOS_BY_UPDATED_BLOCK_ID_SUM_NAME_DESC', - StosByUpdatedBlockIdSumOfferingAssetIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_SUM_OFFERING_ASSET_ID_ASC', - StosByUpdatedBlockIdSumOfferingAssetIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_SUM_OFFERING_ASSET_ID_DESC', - StosByUpdatedBlockIdSumOfferingPortfolioIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_SUM_OFFERING_PORTFOLIO_ID_ASC', - StosByUpdatedBlockIdSumOfferingPortfolioIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_SUM_OFFERING_PORTFOLIO_ID_DESC', - StosByUpdatedBlockIdSumRaisingAssetIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_SUM_RAISING_ASSET_ID_ASC', - StosByUpdatedBlockIdSumRaisingAssetIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_SUM_RAISING_ASSET_ID_DESC', - StosByUpdatedBlockIdSumRaisingPortfolioIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_SUM_RAISING_PORTFOLIO_ID_ASC', - StosByUpdatedBlockIdSumRaisingPortfolioIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_SUM_RAISING_PORTFOLIO_ID_DESC', - StosByUpdatedBlockIdSumStartAsc = 'STOS_BY_UPDATED_BLOCK_ID_SUM_START_ASC', - StosByUpdatedBlockIdSumStartDesc = 'STOS_BY_UPDATED_BLOCK_ID_SUM_START_DESC', - StosByUpdatedBlockIdSumStatusAsc = 'STOS_BY_UPDATED_BLOCK_ID_SUM_STATUS_ASC', - StosByUpdatedBlockIdSumStatusDesc = 'STOS_BY_UPDATED_BLOCK_ID_SUM_STATUS_DESC', - StosByUpdatedBlockIdSumStoIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_SUM_STO_ID_ASC', - StosByUpdatedBlockIdSumStoIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_SUM_STO_ID_DESC', - StosByUpdatedBlockIdSumTiersAsc = 'STOS_BY_UPDATED_BLOCK_ID_SUM_TIERS_ASC', - StosByUpdatedBlockIdSumTiersDesc = 'STOS_BY_UPDATED_BLOCK_ID_SUM_TIERS_DESC', - StosByUpdatedBlockIdSumUpdatedAtAsc = 'STOS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - StosByUpdatedBlockIdSumUpdatedAtDesc = 'STOS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - StosByUpdatedBlockIdSumUpdatedBlockIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - StosByUpdatedBlockIdSumUpdatedBlockIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - StosByUpdatedBlockIdSumVenueIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_SUM_VENUE_ID_ASC', - StosByUpdatedBlockIdSumVenueIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_SUM_VENUE_ID_DESC', - StosByUpdatedBlockIdVariancePopulationCreatedAtAsc = 'STOS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - StosByUpdatedBlockIdVariancePopulationCreatedAtDesc = 'STOS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - StosByUpdatedBlockIdVariancePopulationCreatedBlockIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - StosByUpdatedBlockIdVariancePopulationCreatedBlockIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - StosByUpdatedBlockIdVariancePopulationCreatorIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATOR_ID_ASC', - StosByUpdatedBlockIdVariancePopulationCreatorIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATOR_ID_DESC', - StosByUpdatedBlockIdVariancePopulationEndAsc = 'STOS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_END_ASC', - StosByUpdatedBlockIdVariancePopulationEndDesc = 'STOS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_END_DESC', - StosByUpdatedBlockIdVariancePopulationIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - StosByUpdatedBlockIdVariancePopulationIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - StosByUpdatedBlockIdVariancePopulationMinimumInvestmentAsc = 'STOS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_MINIMUM_INVESTMENT_ASC', - StosByUpdatedBlockIdVariancePopulationMinimumInvestmentDesc = 'STOS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_MINIMUM_INVESTMENT_DESC', - StosByUpdatedBlockIdVariancePopulationNameAsc = 'STOS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_NAME_ASC', - StosByUpdatedBlockIdVariancePopulationNameDesc = 'STOS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_NAME_DESC', - StosByUpdatedBlockIdVariancePopulationOfferingAssetIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_OFFERING_ASSET_ID_ASC', - StosByUpdatedBlockIdVariancePopulationOfferingAssetIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_OFFERING_ASSET_ID_DESC', - StosByUpdatedBlockIdVariancePopulationOfferingPortfolioIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_OFFERING_PORTFOLIO_ID_ASC', - StosByUpdatedBlockIdVariancePopulationOfferingPortfolioIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_OFFERING_PORTFOLIO_ID_DESC', - StosByUpdatedBlockIdVariancePopulationRaisingAssetIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_RAISING_ASSET_ID_ASC', - StosByUpdatedBlockIdVariancePopulationRaisingAssetIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_RAISING_ASSET_ID_DESC', - StosByUpdatedBlockIdVariancePopulationRaisingPortfolioIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_RAISING_PORTFOLIO_ID_ASC', - StosByUpdatedBlockIdVariancePopulationRaisingPortfolioIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_RAISING_PORTFOLIO_ID_DESC', - StosByUpdatedBlockIdVariancePopulationStartAsc = 'STOS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_START_ASC', - StosByUpdatedBlockIdVariancePopulationStartDesc = 'STOS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_START_DESC', - StosByUpdatedBlockIdVariancePopulationStatusAsc = 'STOS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_STATUS_ASC', - StosByUpdatedBlockIdVariancePopulationStatusDesc = 'STOS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_STATUS_DESC', - StosByUpdatedBlockIdVariancePopulationStoIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_STO_ID_ASC', - StosByUpdatedBlockIdVariancePopulationStoIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_STO_ID_DESC', - StosByUpdatedBlockIdVariancePopulationTiersAsc = 'STOS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TIERS_ASC', - StosByUpdatedBlockIdVariancePopulationTiersDesc = 'STOS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TIERS_DESC', - StosByUpdatedBlockIdVariancePopulationUpdatedAtAsc = 'STOS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - StosByUpdatedBlockIdVariancePopulationUpdatedAtDesc = 'STOS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - StosByUpdatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - StosByUpdatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - StosByUpdatedBlockIdVariancePopulationVenueIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_VENUE_ID_ASC', - StosByUpdatedBlockIdVariancePopulationVenueIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_VENUE_ID_DESC', - StosByUpdatedBlockIdVarianceSampleCreatedAtAsc = 'STOS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - StosByUpdatedBlockIdVarianceSampleCreatedAtDesc = 'STOS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - StosByUpdatedBlockIdVarianceSampleCreatedBlockIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - StosByUpdatedBlockIdVarianceSampleCreatedBlockIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - StosByUpdatedBlockIdVarianceSampleCreatorIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATOR_ID_ASC', - StosByUpdatedBlockIdVarianceSampleCreatorIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATOR_ID_DESC', - StosByUpdatedBlockIdVarianceSampleEndAsc = 'STOS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_END_ASC', - StosByUpdatedBlockIdVarianceSampleEndDesc = 'STOS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_END_DESC', - StosByUpdatedBlockIdVarianceSampleIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - StosByUpdatedBlockIdVarianceSampleIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - StosByUpdatedBlockIdVarianceSampleMinimumInvestmentAsc = 'STOS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_MINIMUM_INVESTMENT_ASC', - StosByUpdatedBlockIdVarianceSampleMinimumInvestmentDesc = 'STOS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_MINIMUM_INVESTMENT_DESC', - StosByUpdatedBlockIdVarianceSampleNameAsc = 'STOS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_NAME_ASC', - StosByUpdatedBlockIdVarianceSampleNameDesc = 'STOS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_NAME_DESC', - StosByUpdatedBlockIdVarianceSampleOfferingAssetIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_OFFERING_ASSET_ID_ASC', - StosByUpdatedBlockIdVarianceSampleOfferingAssetIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_OFFERING_ASSET_ID_DESC', - StosByUpdatedBlockIdVarianceSampleOfferingPortfolioIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_OFFERING_PORTFOLIO_ID_ASC', - StosByUpdatedBlockIdVarianceSampleOfferingPortfolioIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_OFFERING_PORTFOLIO_ID_DESC', - StosByUpdatedBlockIdVarianceSampleRaisingAssetIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_RAISING_ASSET_ID_ASC', - StosByUpdatedBlockIdVarianceSampleRaisingAssetIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_RAISING_ASSET_ID_DESC', - StosByUpdatedBlockIdVarianceSampleRaisingPortfolioIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_RAISING_PORTFOLIO_ID_ASC', - StosByUpdatedBlockIdVarianceSampleRaisingPortfolioIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_RAISING_PORTFOLIO_ID_DESC', - StosByUpdatedBlockIdVarianceSampleStartAsc = 'STOS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_START_ASC', - StosByUpdatedBlockIdVarianceSampleStartDesc = 'STOS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_START_DESC', - StosByUpdatedBlockIdVarianceSampleStatusAsc = 'STOS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_STATUS_ASC', - StosByUpdatedBlockIdVarianceSampleStatusDesc = 'STOS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_STATUS_DESC', - StosByUpdatedBlockIdVarianceSampleStoIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_STO_ID_ASC', - StosByUpdatedBlockIdVarianceSampleStoIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_STO_ID_DESC', - StosByUpdatedBlockIdVarianceSampleTiersAsc = 'STOS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TIERS_ASC', - StosByUpdatedBlockIdVarianceSampleTiersDesc = 'STOS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TIERS_DESC', - StosByUpdatedBlockIdVarianceSampleUpdatedAtAsc = 'STOS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - StosByUpdatedBlockIdVarianceSampleUpdatedAtDesc = 'STOS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - StosByUpdatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - StosByUpdatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - StosByUpdatedBlockIdVarianceSampleVenueIdAsc = 'STOS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_VENUE_ID_ASC', - StosByUpdatedBlockIdVarianceSampleVenueIdDesc = 'STOS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_VENUE_ID_DESC', - TickerExternalAgentsByCreatedBlockIdAverageAssetIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_AVERAGE_ASSET_ID_ASC', - TickerExternalAgentsByCreatedBlockIdAverageAssetIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_AVERAGE_ASSET_ID_DESC', - TickerExternalAgentsByCreatedBlockIdAverageCallerIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_AVERAGE_CALLER_ID_ASC', - TickerExternalAgentsByCreatedBlockIdAverageCallerIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_AVERAGE_CALLER_ID_DESC', - TickerExternalAgentsByCreatedBlockIdAverageCreatedAtAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - TickerExternalAgentsByCreatedBlockIdAverageCreatedAtDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - TickerExternalAgentsByCreatedBlockIdAverageCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - TickerExternalAgentsByCreatedBlockIdAverageCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - TickerExternalAgentsByCreatedBlockIdAverageDatetimeAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_AVERAGE_DATETIME_ASC', - TickerExternalAgentsByCreatedBlockIdAverageDatetimeDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_AVERAGE_DATETIME_DESC', - TickerExternalAgentsByCreatedBlockIdAverageEventIdxAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_IDX_ASC', - TickerExternalAgentsByCreatedBlockIdAverageEventIdxDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_IDX_DESC', - TickerExternalAgentsByCreatedBlockIdAverageIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_AVERAGE_ID_ASC', - TickerExternalAgentsByCreatedBlockIdAverageIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_AVERAGE_ID_DESC', - TickerExternalAgentsByCreatedBlockIdAverageUpdatedAtAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - TickerExternalAgentsByCreatedBlockIdAverageUpdatedAtDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - TickerExternalAgentsByCreatedBlockIdAverageUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentsByCreatedBlockIdAverageUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentsByCreatedBlockIdCountAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_COUNT_ASC', - TickerExternalAgentsByCreatedBlockIdCountDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_COUNT_DESC', - TickerExternalAgentsByCreatedBlockIdDistinctCountAssetIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_ASC', - TickerExternalAgentsByCreatedBlockIdDistinctCountAssetIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_DESC', - TickerExternalAgentsByCreatedBlockIdDistinctCountCallerIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CALLER_ID_ASC', - TickerExternalAgentsByCreatedBlockIdDistinctCountCallerIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CALLER_ID_DESC', - TickerExternalAgentsByCreatedBlockIdDistinctCountCreatedAtAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - TickerExternalAgentsByCreatedBlockIdDistinctCountCreatedAtDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - TickerExternalAgentsByCreatedBlockIdDistinctCountCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - TickerExternalAgentsByCreatedBlockIdDistinctCountCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - TickerExternalAgentsByCreatedBlockIdDistinctCountDatetimeAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_ASC', - TickerExternalAgentsByCreatedBlockIdDistinctCountDatetimeDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_DESC', - TickerExternalAgentsByCreatedBlockIdDistinctCountEventIdxAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_ASC', - TickerExternalAgentsByCreatedBlockIdDistinctCountEventIdxDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_DESC', - TickerExternalAgentsByCreatedBlockIdDistinctCountIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - TickerExternalAgentsByCreatedBlockIdDistinctCountIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - TickerExternalAgentsByCreatedBlockIdDistinctCountUpdatedAtAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - TickerExternalAgentsByCreatedBlockIdDistinctCountUpdatedAtDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - TickerExternalAgentsByCreatedBlockIdDistinctCountUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentsByCreatedBlockIdDistinctCountUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentsByCreatedBlockIdMaxAssetIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_MAX_ASSET_ID_ASC', - TickerExternalAgentsByCreatedBlockIdMaxAssetIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_MAX_ASSET_ID_DESC', - TickerExternalAgentsByCreatedBlockIdMaxCallerIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_MAX_CALLER_ID_ASC', - TickerExternalAgentsByCreatedBlockIdMaxCallerIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_MAX_CALLER_ID_DESC', - TickerExternalAgentsByCreatedBlockIdMaxCreatedAtAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_ASC', - TickerExternalAgentsByCreatedBlockIdMaxCreatedAtDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_DESC', - TickerExternalAgentsByCreatedBlockIdMaxCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - TickerExternalAgentsByCreatedBlockIdMaxCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - TickerExternalAgentsByCreatedBlockIdMaxDatetimeAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_MAX_DATETIME_ASC', - TickerExternalAgentsByCreatedBlockIdMaxDatetimeDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_MAX_DATETIME_DESC', - TickerExternalAgentsByCreatedBlockIdMaxEventIdxAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_MAX_EVENT_IDX_ASC', - TickerExternalAgentsByCreatedBlockIdMaxEventIdxDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_MAX_EVENT_IDX_DESC', - TickerExternalAgentsByCreatedBlockIdMaxIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_MAX_ID_ASC', - TickerExternalAgentsByCreatedBlockIdMaxIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_MAX_ID_DESC', - TickerExternalAgentsByCreatedBlockIdMaxUpdatedAtAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - TickerExternalAgentsByCreatedBlockIdMaxUpdatedAtDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - TickerExternalAgentsByCreatedBlockIdMaxUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentsByCreatedBlockIdMaxUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentsByCreatedBlockIdMinAssetIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_MIN_ASSET_ID_ASC', - TickerExternalAgentsByCreatedBlockIdMinAssetIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_MIN_ASSET_ID_DESC', - TickerExternalAgentsByCreatedBlockIdMinCallerIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_MIN_CALLER_ID_ASC', - TickerExternalAgentsByCreatedBlockIdMinCallerIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_MIN_CALLER_ID_DESC', - TickerExternalAgentsByCreatedBlockIdMinCreatedAtAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_ASC', - TickerExternalAgentsByCreatedBlockIdMinCreatedAtDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_DESC', - TickerExternalAgentsByCreatedBlockIdMinCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - TickerExternalAgentsByCreatedBlockIdMinCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - TickerExternalAgentsByCreatedBlockIdMinDatetimeAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_MIN_DATETIME_ASC', - TickerExternalAgentsByCreatedBlockIdMinDatetimeDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_MIN_DATETIME_DESC', - TickerExternalAgentsByCreatedBlockIdMinEventIdxAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_MIN_EVENT_IDX_ASC', - TickerExternalAgentsByCreatedBlockIdMinEventIdxDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_MIN_EVENT_IDX_DESC', - TickerExternalAgentsByCreatedBlockIdMinIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_MIN_ID_ASC', - TickerExternalAgentsByCreatedBlockIdMinIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_MIN_ID_DESC', - TickerExternalAgentsByCreatedBlockIdMinUpdatedAtAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - TickerExternalAgentsByCreatedBlockIdMinUpdatedAtDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - TickerExternalAgentsByCreatedBlockIdMinUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentsByCreatedBlockIdMinUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentsByCreatedBlockIdStddevPopulationAssetIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_ASC', - TickerExternalAgentsByCreatedBlockIdStddevPopulationAssetIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_DESC', - TickerExternalAgentsByCreatedBlockIdStddevPopulationCallerIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CALLER_ID_ASC', - TickerExternalAgentsByCreatedBlockIdStddevPopulationCallerIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CALLER_ID_DESC', - TickerExternalAgentsByCreatedBlockIdStddevPopulationCreatedAtAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - TickerExternalAgentsByCreatedBlockIdStddevPopulationCreatedAtDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - TickerExternalAgentsByCreatedBlockIdStddevPopulationCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - TickerExternalAgentsByCreatedBlockIdStddevPopulationCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - TickerExternalAgentsByCreatedBlockIdStddevPopulationDatetimeAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_DATETIME_ASC', - TickerExternalAgentsByCreatedBlockIdStddevPopulationDatetimeDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_DATETIME_DESC', - TickerExternalAgentsByCreatedBlockIdStddevPopulationEventIdxAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_ASC', - TickerExternalAgentsByCreatedBlockIdStddevPopulationEventIdxDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_DESC', - TickerExternalAgentsByCreatedBlockIdStddevPopulationIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - TickerExternalAgentsByCreatedBlockIdStddevPopulationIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - TickerExternalAgentsByCreatedBlockIdStddevPopulationUpdatedAtAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - TickerExternalAgentsByCreatedBlockIdStddevPopulationUpdatedAtDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - TickerExternalAgentsByCreatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentsByCreatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentsByCreatedBlockIdStddevSampleAssetIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_ASC', - TickerExternalAgentsByCreatedBlockIdStddevSampleAssetIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_DESC', - TickerExternalAgentsByCreatedBlockIdStddevSampleCallerIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CALLER_ID_ASC', - TickerExternalAgentsByCreatedBlockIdStddevSampleCallerIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CALLER_ID_DESC', - TickerExternalAgentsByCreatedBlockIdStddevSampleCreatedAtAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - TickerExternalAgentsByCreatedBlockIdStddevSampleCreatedAtDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - TickerExternalAgentsByCreatedBlockIdStddevSampleCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - TickerExternalAgentsByCreatedBlockIdStddevSampleCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - TickerExternalAgentsByCreatedBlockIdStddevSampleDatetimeAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_DATETIME_ASC', - TickerExternalAgentsByCreatedBlockIdStddevSampleDatetimeDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_DATETIME_DESC', - TickerExternalAgentsByCreatedBlockIdStddevSampleEventIdxAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', - TickerExternalAgentsByCreatedBlockIdStddevSampleEventIdxDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', - TickerExternalAgentsByCreatedBlockIdStddevSampleIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - TickerExternalAgentsByCreatedBlockIdStddevSampleIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - TickerExternalAgentsByCreatedBlockIdStddevSampleUpdatedAtAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - TickerExternalAgentsByCreatedBlockIdStddevSampleUpdatedAtDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - TickerExternalAgentsByCreatedBlockIdStddevSampleUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentsByCreatedBlockIdStddevSampleUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentsByCreatedBlockIdSumAssetIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_SUM_ASSET_ID_ASC', - TickerExternalAgentsByCreatedBlockIdSumAssetIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_SUM_ASSET_ID_DESC', - TickerExternalAgentsByCreatedBlockIdSumCallerIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_SUM_CALLER_ID_ASC', - TickerExternalAgentsByCreatedBlockIdSumCallerIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_SUM_CALLER_ID_DESC', - TickerExternalAgentsByCreatedBlockIdSumCreatedAtAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_ASC', - TickerExternalAgentsByCreatedBlockIdSumCreatedAtDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_DESC', - TickerExternalAgentsByCreatedBlockIdSumCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - TickerExternalAgentsByCreatedBlockIdSumCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - TickerExternalAgentsByCreatedBlockIdSumDatetimeAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_SUM_DATETIME_ASC', - TickerExternalAgentsByCreatedBlockIdSumDatetimeDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_SUM_DATETIME_DESC', - TickerExternalAgentsByCreatedBlockIdSumEventIdxAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_SUM_EVENT_IDX_ASC', - TickerExternalAgentsByCreatedBlockIdSumEventIdxDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_SUM_EVENT_IDX_DESC', - TickerExternalAgentsByCreatedBlockIdSumIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_SUM_ID_ASC', - TickerExternalAgentsByCreatedBlockIdSumIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_SUM_ID_DESC', - TickerExternalAgentsByCreatedBlockIdSumUpdatedAtAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - TickerExternalAgentsByCreatedBlockIdSumUpdatedAtDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - TickerExternalAgentsByCreatedBlockIdSumUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentsByCreatedBlockIdSumUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentsByCreatedBlockIdVariancePopulationAssetIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_ASC', - TickerExternalAgentsByCreatedBlockIdVariancePopulationAssetIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_DESC', - TickerExternalAgentsByCreatedBlockIdVariancePopulationCallerIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CALLER_ID_ASC', - TickerExternalAgentsByCreatedBlockIdVariancePopulationCallerIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CALLER_ID_DESC', - TickerExternalAgentsByCreatedBlockIdVariancePopulationCreatedAtAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - TickerExternalAgentsByCreatedBlockIdVariancePopulationCreatedAtDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - TickerExternalAgentsByCreatedBlockIdVariancePopulationCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - TickerExternalAgentsByCreatedBlockIdVariancePopulationCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - TickerExternalAgentsByCreatedBlockIdVariancePopulationDatetimeAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_DATETIME_ASC', - TickerExternalAgentsByCreatedBlockIdVariancePopulationDatetimeDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_DATETIME_DESC', - TickerExternalAgentsByCreatedBlockIdVariancePopulationEventIdxAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', - TickerExternalAgentsByCreatedBlockIdVariancePopulationEventIdxDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', - TickerExternalAgentsByCreatedBlockIdVariancePopulationIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - TickerExternalAgentsByCreatedBlockIdVariancePopulationIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - TickerExternalAgentsByCreatedBlockIdVariancePopulationUpdatedAtAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - TickerExternalAgentsByCreatedBlockIdVariancePopulationUpdatedAtDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - TickerExternalAgentsByCreatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentsByCreatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentsByCreatedBlockIdVarianceSampleAssetIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_ASC', - TickerExternalAgentsByCreatedBlockIdVarianceSampleAssetIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_DESC', - TickerExternalAgentsByCreatedBlockIdVarianceSampleCallerIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CALLER_ID_ASC', - TickerExternalAgentsByCreatedBlockIdVarianceSampleCallerIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CALLER_ID_DESC', - TickerExternalAgentsByCreatedBlockIdVarianceSampleCreatedAtAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - TickerExternalAgentsByCreatedBlockIdVarianceSampleCreatedAtDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - TickerExternalAgentsByCreatedBlockIdVarianceSampleCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - TickerExternalAgentsByCreatedBlockIdVarianceSampleCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - TickerExternalAgentsByCreatedBlockIdVarianceSampleDatetimeAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_DATETIME_ASC', - TickerExternalAgentsByCreatedBlockIdVarianceSampleDatetimeDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_DATETIME_DESC', - TickerExternalAgentsByCreatedBlockIdVarianceSampleEventIdxAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', - TickerExternalAgentsByCreatedBlockIdVarianceSampleEventIdxDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', - TickerExternalAgentsByCreatedBlockIdVarianceSampleIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - TickerExternalAgentsByCreatedBlockIdVarianceSampleIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - TickerExternalAgentsByCreatedBlockIdVarianceSampleUpdatedAtAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - TickerExternalAgentsByCreatedBlockIdVarianceSampleUpdatedAtDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - TickerExternalAgentsByCreatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentsByCreatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentsByUpdatedBlockIdAverageAssetIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_AVERAGE_ASSET_ID_ASC', - TickerExternalAgentsByUpdatedBlockIdAverageAssetIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_AVERAGE_ASSET_ID_DESC', - TickerExternalAgentsByUpdatedBlockIdAverageCallerIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_AVERAGE_CALLER_ID_ASC', - TickerExternalAgentsByUpdatedBlockIdAverageCallerIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_AVERAGE_CALLER_ID_DESC', - TickerExternalAgentsByUpdatedBlockIdAverageCreatedAtAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - TickerExternalAgentsByUpdatedBlockIdAverageCreatedAtDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - TickerExternalAgentsByUpdatedBlockIdAverageCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - TickerExternalAgentsByUpdatedBlockIdAverageCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - TickerExternalAgentsByUpdatedBlockIdAverageDatetimeAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_AVERAGE_DATETIME_ASC', - TickerExternalAgentsByUpdatedBlockIdAverageDatetimeDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_AVERAGE_DATETIME_DESC', - TickerExternalAgentsByUpdatedBlockIdAverageEventIdxAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_IDX_ASC', - TickerExternalAgentsByUpdatedBlockIdAverageEventIdxDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_IDX_DESC', - TickerExternalAgentsByUpdatedBlockIdAverageIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_ASC', - TickerExternalAgentsByUpdatedBlockIdAverageIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_DESC', - TickerExternalAgentsByUpdatedBlockIdAverageUpdatedAtAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - TickerExternalAgentsByUpdatedBlockIdAverageUpdatedAtDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - TickerExternalAgentsByUpdatedBlockIdAverageUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentsByUpdatedBlockIdAverageUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentsByUpdatedBlockIdCountAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_COUNT_ASC', - TickerExternalAgentsByUpdatedBlockIdCountDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_COUNT_DESC', - TickerExternalAgentsByUpdatedBlockIdDistinctCountAssetIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_ASC', - TickerExternalAgentsByUpdatedBlockIdDistinctCountAssetIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_DESC', - TickerExternalAgentsByUpdatedBlockIdDistinctCountCallerIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CALLER_ID_ASC', - TickerExternalAgentsByUpdatedBlockIdDistinctCountCallerIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CALLER_ID_DESC', - TickerExternalAgentsByUpdatedBlockIdDistinctCountCreatedAtAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - TickerExternalAgentsByUpdatedBlockIdDistinctCountCreatedAtDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - TickerExternalAgentsByUpdatedBlockIdDistinctCountCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - TickerExternalAgentsByUpdatedBlockIdDistinctCountCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - TickerExternalAgentsByUpdatedBlockIdDistinctCountDatetimeAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_ASC', - TickerExternalAgentsByUpdatedBlockIdDistinctCountDatetimeDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_DESC', - TickerExternalAgentsByUpdatedBlockIdDistinctCountEventIdxAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_ASC', - TickerExternalAgentsByUpdatedBlockIdDistinctCountEventIdxDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_DESC', - TickerExternalAgentsByUpdatedBlockIdDistinctCountIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - TickerExternalAgentsByUpdatedBlockIdDistinctCountIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - TickerExternalAgentsByUpdatedBlockIdDistinctCountUpdatedAtAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - TickerExternalAgentsByUpdatedBlockIdDistinctCountUpdatedAtDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - TickerExternalAgentsByUpdatedBlockIdDistinctCountUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentsByUpdatedBlockIdDistinctCountUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentsByUpdatedBlockIdMaxAssetIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_MAX_ASSET_ID_ASC', - TickerExternalAgentsByUpdatedBlockIdMaxAssetIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_MAX_ASSET_ID_DESC', - TickerExternalAgentsByUpdatedBlockIdMaxCallerIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_MAX_CALLER_ID_ASC', - TickerExternalAgentsByUpdatedBlockIdMaxCallerIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_MAX_CALLER_ID_DESC', - TickerExternalAgentsByUpdatedBlockIdMaxCreatedAtAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_ASC', - TickerExternalAgentsByUpdatedBlockIdMaxCreatedAtDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_DESC', - TickerExternalAgentsByUpdatedBlockIdMaxCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - TickerExternalAgentsByUpdatedBlockIdMaxCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - TickerExternalAgentsByUpdatedBlockIdMaxDatetimeAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_MAX_DATETIME_ASC', - TickerExternalAgentsByUpdatedBlockIdMaxDatetimeDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_MAX_DATETIME_DESC', - TickerExternalAgentsByUpdatedBlockIdMaxEventIdxAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_MAX_EVENT_IDX_ASC', - TickerExternalAgentsByUpdatedBlockIdMaxEventIdxDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_MAX_EVENT_IDX_DESC', - TickerExternalAgentsByUpdatedBlockIdMaxIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_MAX_ID_ASC', - TickerExternalAgentsByUpdatedBlockIdMaxIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_MAX_ID_DESC', - TickerExternalAgentsByUpdatedBlockIdMaxUpdatedAtAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - TickerExternalAgentsByUpdatedBlockIdMaxUpdatedAtDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - TickerExternalAgentsByUpdatedBlockIdMaxUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentsByUpdatedBlockIdMaxUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentsByUpdatedBlockIdMinAssetIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_MIN_ASSET_ID_ASC', - TickerExternalAgentsByUpdatedBlockIdMinAssetIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_MIN_ASSET_ID_DESC', - TickerExternalAgentsByUpdatedBlockIdMinCallerIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_MIN_CALLER_ID_ASC', - TickerExternalAgentsByUpdatedBlockIdMinCallerIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_MIN_CALLER_ID_DESC', - TickerExternalAgentsByUpdatedBlockIdMinCreatedAtAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_ASC', - TickerExternalAgentsByUpdatedBlockIdMinCreatedAtDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_DESC', - TickerExternalAgentsByUpdatedBlockIdMinCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - TickerExternalAgentsByUpdatedBlockIdMinCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - TickerExternalAgentsByUpdatedBlockIdMinDatetimeAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_MIN_DATETIME_ASC', - TickerExternalAgentsByUpdatedBlockIdMinDatetimeDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_MIN_DATETIME_DESC', - TickerExternalAgentsByUpdatedBlockIdMinEventIdxAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_MIN_EVENT_IDX_ASC', - TickerExternalAgentsByUpdatedBlockIdMinEventIdxDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_MIN_EVENT_IDX_DESC', - TickerExternalAgentsByUpdatedBlockIdMinIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_MIN_ID_ASC', - TickerExternalAgentsByUpdatedBlockIdMinIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_MIN_ID_DESC', - TickerExternalAgentsByUpdatedBlockIdMinUpdatedAtAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - TickerExternalAgentsByUpdatedBlockIdMinUpdatedAtDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - TickerExternalAgentsByUpdatedBlockIdMinUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentsByUpdatedBlockIdMinUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentsByUpdatedBlockIdStddevPopulationAssetIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_ASC', - TickerExternalAgentsByUpdatedBlockIdStddevPopulationAssetIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_DESC', - TickerExternalAgentsByUpdatedBlockIdStddevPopulationCallerIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CALLER_ID_ASC', - TickerExternalAgentsByUpdatedBlockIdStddevPopulationCallerIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CALLER_ID_DESC', - TickerExternalAgentsByUpdatedBlockIdStddevPopulationCreatedAtAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - TickerExternalAgentsByUpdatedBlockIdStddevPopulationCreatedAtDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - TickerExternalAgentsByUpdatedBlockIdStddevPopulationCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - TickerExternalAgentsByUpdatedBlockIdStddevPopulationCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - TickerExternalAgentsByUpdatedBlockIdStddevPopulationDatetimeAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_DATETIME_ASC', - TickerExternalAgentsByUpdatedBlockIdStddevPopulationDatetimeDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_DATETIME_DESC', - TickerExternalAgentsByUpdatedBlockIdStddevPopulationEventIdxAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_ASC', - TickerExternalAgentsByUpdatedBlockIdStddevPopulationEventIdxDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_DESC', - TickerExternalAgentsByUpdatedBlockIdStddevPopulationIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - TickerExternalAgentsByUpdatedBlockIdStddevPopulationIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - TickerExternalAgentsByUpdatedBlockIdStddevPopulationUpdatedAtAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - TickerExternalAgentsByUpdatedBlockIdStddevPopulationUpdatedAtDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - TickerExternalAgentsByUpdatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentsByUpdatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentsByUpdatedBlockIdStddevSampleAssetIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_ASC', - TickerExternalAgentsByUpdatedBlockIdStddevSampleAssetIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_DESC', - TickerExternalAgentsByUpdatedBlockIdStddevSampleCallerIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CALLER_ID_ASC', - TickerExternalAgentsByUpdatedBlockIdStddevSampleCallerIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CALLER_ID_DESC', - TickerExternalAgentsByUpdatedBlockIdStddevSampleCreatedAtAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - TickerExternalAgentsByUpdatedBlockIdStddevSampleCreatedAtDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - TickerExternalAgentsByUpdatedBlockIdStddevSampleCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - TickerExternalAgentsByUpdatedBlockIdStddevSampleCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - TickerExternalAgentsByUpdatedBlockIdStddevSampleDatetimeAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_DATETIME_ASC', - TickerExternalAgentsByUpdatedBlockIdStddevSampleDatetimeDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_DATETIME_DESC', - TickerExternalAgentsByUpdatedBlockIdStddevSampleEventIdxAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', - TickerExternalAgentsByUpdatedBlockIdStddevSampleEventIdxDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', - TickerExternalAgentsByUpdatedBlockIdStddevSampleIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - TickerExternalAgentsByUpdatedBlockIdStddevSampleIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - TickerExternalAgentsByUpdatedBlockIdStddevSampleUpdatedAtAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - TickerExternalAgentsByUpdatedBlockIdStddevSampleUpdatedAtDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - TickerExternalAgentsByUpdatedBlockIdStddevSampleUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentsByUpdatedBlockIdStddevSampleUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentsByUpdatedBlockIdSumAssetIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_SUM_ASSET_ID_ASC', - TickerExternalAgentsByUpdatedBlockIdSumAssetIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_SUM_ASSET_ID_DESC', - TickerExternalAgentsByUpdatedBlockIdSumCallerIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_SUM_CALLER_ID_ASC', - TickerExternalAgentsByUpdatedBlockIdSumCallerIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_SUM_CALLER_ID_DESC', - TickerExternalAgentsByUpdatedBlockIdSumCreatedAtAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_ASC', - TickerExternalAgentsByUpdatedBlockIdSumCreatedAtDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_DESC', - TickerExternalAgentsByUpdatedBlockIdSumCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - TickerExternalAgentsByUpdatedBlockIdSumCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - TickerExternalAgentsByUpdatedBlockIdSumDatetimeAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_SUM_DATETIME_ASC', - TickerExternalAgentsByUpdatedBlockIdSumDatetimeDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_SUM_DATETIME_DESC', - TickerExternalAgentsByUpdatedBlockIdSumEventIdxAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_SUM_EVENT_IDX_ASC', - TickerExternalAgentsByUpdatedBlockIdSumEventIdxDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_SUM_EVENT_IDX_DESC', - TickerExternalAgentsByUpdatedBlockIdSumIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_SUM_ID_ASC', - TickerExternalAgentsByUpdatedBlockIdSumIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_SUM_ID_DESC', - TickerExternalAgentsByUpdatedBlockIdSumUpdatedAtAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - TickerExternalAgentsByUpdatedBlockIdSumUpdatedAtDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - TickerExternalAgentsByUpdatedBlockIdSumUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentsByUpdatedBlockIdSumUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentsByUpdatedBlockIdVariancePopulationAssetIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_ASC', - TickerExternalAgentsByUpdatedBlockIdVariancePopulationAssetIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_DESC', - TickerExternalAgentsByUpdatedBlockIdVariancePopulationCallerIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CALLER_ID_ASC', - TickerExternalAgentsByUpdatedBlockIdVariancePopulationCallerIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CALLER_ID_DESC', - TickerExternalAgentsByUpdatedBlockIdVariancePopulationCreatedAtAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - TickerExternalAgentsByUpdatedBlockIdVariancePopulationCreatedAtDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - TickerExternalAgentsByUpdatedBlockIdVariancePopulationCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - TickerExternalAgentsByUpdatedBlockIdVariancePopulationCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - TickerExternalAgentsByUpdatedBlockIdVariancePopulationDatetimeAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_DATETIME_ASC', - TickerExternalAgentsByUpdatedBlockIdVariancePopulationDatetimeDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_DATETIME_DESC', - TickerExternalAgentsByUpdatedBlockIdVariancePopulationEventIdxAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', - TickerExternalAgentsByUpdatedBlockIdVariancePopulationEventIdxDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', - TickerExternalAgentsByUpdatedBlockIdVariancePopulationIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - TickerExternalAgentsByUpdatedBlockIdVariancePopulationIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - TickerExternalAgentsByUpdatedBlockIdVariancePopulationUpdatedAtAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - TickerExternalAgentsByUpdatedBlockIdVariancePopulationUpdatedAtDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - TickerExternalAgentsByUpdatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentsByUpdatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentsByUpdatedBlockIdVarianceSampleAssetIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_ASC', - TickerExternalAgentsByUpdatedBlockIdVarianceSampleAssetIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_DESC', - TickerExternalAgentsByUpdatedBlockIdVarianceSampleCallerIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CALLER_ID_ASC', - TickerExternalAgentsByUpdatedBlockIdVarianceSampleCallerIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CALLER_ID_DESC', - TickerExternalAgentsByUpdatedBlockIdVarianceSampleCreatedAtAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - TickerExternalAgentsByUpdatedBlockIdVarianceSampleCreatedAtDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - TickerExternalAgentsByUpdatedBlockIdVarianceSampleCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - TickerExternalAgentsByUpdatedBlockIdVarianceSampleCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - TickerExternalAgentsByUpdatedBlockIdVarianceSampleDatetimeAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_DATETIME_ASC', - TickerExternalAgentsByUpdatedBlockIdVarianceSampleDatetimeDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_DATETIME_DESC', - TickerExternalAgentsByUpdatedBlockIdVarianceSampleEventIdxAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', - TickerExternalAgentsByUpdatedBlockIdVarianceSampleEventIdxDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', - TickerExternalAgentsByUpdatedBlockIdVarianceSampleIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - TickerExternalAgentsByUpdatedBlockIdVarianceSampleIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - TickerExternalAgentsByUpdatedBlockIdVarianceSampleUpdatedAtAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - TickerExternalAgentsByUpdatedBlockIdVarianceSampleUpdatedAtDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - TickerExternalAgentsByUpdatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentsByUpdatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentActionsByCreatedBlockIdAverageAssetIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_ASSET_ID_ASC', - TickerExternalAgentActionsByCreatedBlockIdAverageAssetIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_ASSET_ID_DESC', - TickerExternalAgentActionsByCreatedBlockIdAverageCallerIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_CALLER_ID_ASC', - TickerExternalAgentActionsByCreatedBlockIdAverageCallerIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_CALLER_ID_DESC', - TickerExternalAgentActionsByCreatedBlockIdAverageCreatedAtAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - TickerExternalAgentActionsByCreatedBlockIdAverageCreatedAtDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - TickerExternalAgentActionsByCreatedBlockIdAverageCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - TickerExternalAgentActionsByCreatedBlockIdAverageCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - TickerExternalAgentActionsByCreatedBlockIdAverageEventIdxAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_IDX_ASC', - TickerExternalAgentActionsByCreatedBlockIdAverageEventIdxDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_IDX_DESC', - TickerExternalAgentActionsByCreatedBlockIdAverageEventIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_ID_ASC', - TickerExternalAgentActionsByCreatedBlockIdAverageEventIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_ID_DESC', - TickerExternalAgentActionsByCreatedBlockIdAverageIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_ID_ASC', - TickerExternalAgentActionsByCreatedBlockIdAverageIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_ID_DESC', - TickerExternalAgentActionsByCreatedBlockIdAveragePalletNameAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_PALLET_NAME_ASC', - TickerExternalAgentActionsByCreatedBlockIdAveragePalletNameDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_PALLET_NAME_DESC', - TickerExternalAgentActionsByCreatedBlockIdAverageUpdatedAtAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - TickerExternalAgentActionsByCreatedBlockIdAverageUpdatedAtDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - TickerExternalAgentActionsByCreatedBlockIdAverageUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentActionsByCreatedBlockIdAverageUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentActionsByCreatedBlockIdCountAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_COUNT_ASC', - TickerExternalAgentActionsByCreatedBlockIdCountDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_COUNT_DESC', - TickerExternalAgentActionsByCreatedBlockIdDistinctCountAssetIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_ASC', - TickerExternalAgentActionsByCreatedBlockIdDistinctCountAssetIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_DESC', - TickerExternalAgentActionsByCreatedBlockIdDistinctCountCallerIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CALLER_ID_ASC', - TickerExternalAgentActionsByCreatedBlockIdDistinctCountCallerIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CALLER_ID_DESC', - TickerExternalAgentActionsByCreatedBlockIdDistinctCountCreatedAtAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - TickerExternalAgentActionsByCreatedBlockIdDistinctCountCreatedAtDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - TickerExternalAgentActionsByCreatedBlockIdDistinctCountCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - TickerExternalAgentActionsByCreatedBlockIdDistinctCountCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - TickerExternalAgentActionsByCreatedBlockIdDistinctCountEventIdxAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_ASC', - TickerExternalAgentActionsByCreatedBlockIdDistinctCountEventIdxDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_DESC', - TickerExternalAgentActionsByCreatedBlockIdDistinctCountEventIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_ID_ASC', - TickerExternalAgentActionsByCreatedBlockIdDistinctCountEventIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_ID_DESC', - TickerExternalAgentActionsByCreatedBlockIdDistinctCountIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - TickerExternalAgentActionsByCreatedBlockIdDistinctCountIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - TickerExternalAgentActionsByCreatedBlockIdDistinctCountPalletNameAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_PALLET_NAME_ASC', - TickerExternalAgentActionsByCreatedBlockIdDistinctCountPalletNameDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_PALLET_NAME_DESC', - TickerExternalAgentActionsByCreatedBlockIdDistinctCountUpdatedAtAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - TickerExternalAgentActionsByCreatedBlockIdDistinctCountUpdatedAtDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - TickerExternalAgentActionsByCreatedBlockIdDistinctCountUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentActionsByCreatedBlockIdDistinctCountUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentActionsByCreatedBlockIdMaxAssetIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_MAX_ASSET_ID_ASC', - TickerExternalAgentActionsByCreatedBlockIdMaxAssetIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_MAX_ASSET_ID_DESC', - TickerExternalAgentActionsByCreatedBlockIdMaxCallerIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_MAX_CALLER_ID_ASC', - TickerExternalAgentActionsByCreatedBlockIdMaxCallerIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_MAX_CALLER_ID_DESC', - TickerExternalAgentActionsByCreatedBlockIdMaxCreatedAtAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_ASC', - TickerExternalAgentActionsByCreatedBlockIdMaxCreatedAtDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_DESC', - TickerExternalAgentActionsByCreatedBlockIdMaxCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - TickerExternalAgentActionsByCreatedBlockIdMaxCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - TickerExternalAgentActionsByCreatedBlockIdMaxEventIdxAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_MAX_EVENT_IDX_ASC', - TickerExternalAgentActionsByCreatedBlockIdMaxEventIdxDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_MAX_EVENT_IDX_DESC', - TickerExternalAgentActionsByCreatedBlockIdMaxEventIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_MAX_EVENT_ID_ASC', - TickerExternalAgentActionsByCreatedBlockIdMaxEventIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_MAX_EVENT_ID_DESC', - TickerExternalAgentActionsByCreatedBlockIdMaxIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_MAX_ID_ASC', - TickerExternalAgentActionsByCreatedBlockIdMaxIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_MAX_ID_DESC', - TickerExternalAgentActionsByCreatedBlockIdMaxPalletNameAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_MAX_PALLET_NAME_ASC', - TickerExternalAgentActionsByCreatedBlockIdMaxPalletNameDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_MAX_PALLET_NAME_DESC', - TickerExternalAgentActionsByCreatedBlockIdMaxUpdatedAtAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - TickerExternalAgentActionsByCreatedBlockIdMaxUpdatedAtDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - TickerExternalAgentActionsByCreatedBlockIdMaxUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentActionsByCreatedBlockIdMaxUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentActionsByCreatedBlockIdMinAssetIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_MIN_ASSET_ID_ASC', - TickerExternalAgentActionsByCreatedBlockIdMinAssetIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_MIN_ASSET_ID_DESC', - TickerExternalAgentActionsByCreatedBlockIdMinCallerIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_MIN_CALLER_ID_ASC', - TickerExternalAgentActionsByCreatedBlockIdMinCallerIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_MIN_CALLER_ID_DESC', - TickerExternalAgentActionsByCreatedBlockIdMinCreatedAtAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_ASC', - TickerExternalAgentActionsByCreatedBlockIdMinCreatedAtDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_DESC', - TickerExternalAgentActionsByCreatedBlockIdMinCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - TickerExternalAgentActionsByCreatedBlockIdMinCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - TickerExternalAgentActionsByCreatedBlockIdMinEventIdxAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_MIN_EVENT_IDX_ASC', - TickerExternalAgentActionsByCreatedBlockIdMinEventIdxDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_MIN_EVENT_IDX_DESC', - TickerExternalAgentActionsByCreatedBlockIdMinEventIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_MIN_EVENT_ID_ASC', - TickerExternalAgentActionsByCreatedBlockIdMinEventIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_MIN_EVENT_ID_DESC', - TickerExternalAgentActionsByCreatedBlockIdMinIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_MIN_ID_ASC', - TickerExternalAgentActionsByCreatedBlockIdMinIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_MIN_ID_DESC', - TickerExternalAgentActionsByCreatedBlockIdMinPalletNameAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_MIN_PALLET_NAME_ASC', - TickerExternalAgentActionsByCreatedBlockIdMinPalletNameDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_MIN_PALLET_NAME_DESC', - TickerExternalAgentActionsByCreatedBlockIdMinUpdatedAtAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - TickerExternalAgentActionsByCreatedBlockIdMinUpdatedAtDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - TickerExternalAgentActionsByCreatedBlockIdMinUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentActionsByCreatedBlockIdMinUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentActionsByCreatedBlockIdStddevPopulationAssetIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_ASC', - TickerExternalAgentActionsByCreatedBlockIdStddevPopulationAssetIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_DESC', - TickerExternalAgentActionsByCreatedBlockIdStddevPopulationCallerIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CALLER_ID_ASC', - TickerExternalAgentActionsByCreatedBlockIdStddevPopulationCallerIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CALLER_ID_DESC', - TickerExternalAgentActionsByCreatedBlockIdStddevPopulationCreatedAtAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - TickerExternalAgentActionsByCreatedBlockIdStddevPopulationCreatedAtDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - TickerExternalAgentActionsByCreatedBlockIdStddevPopulationCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - TickerExternalAgentActionsByCreatedBlockIdStddevPopulationCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - TickerExternalAgentActionsByCreatedBlockIdStddevPopulationEventIdxAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_ASC', - TickerExternalAgentActionsByCreatedBlockIdStddevPopulationEventIdxDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_DESC', - TickerExternalAgentActionsByCreatedBlockIdStddevPopulationEventIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_ID_ASC', - TickerExternalAgentActionsByCreatedBlockIdStddevPopulationEventIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_ID_DESC', - TickerExternalAgentActionsByCreatedBlockIdStddevPopulationIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - TickerExternalAgentActionsByCreatedBlockIdStddevPopulationIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - TickerExternalAgentActionsByCreatedBlockIdStddevPopulationPalletNameAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_PALLET_NAME_ASC', - TickerExternalAgentActionsByCreatedBlockIdStddevPopulationPalletNameDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_PALLET_NAME_DESC', - TickerExternalAgentActionsByCreatedBlockIdStddevPopulationUpdatedAtAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - TickerExternalAgentActionsByCreatedBlockIdStddevPopulationUpdatedAtDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - TickerExternalAgentActionsByCreatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentActionsByCreatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentActionsByCreatedBlockIdStddevSampleAssetIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_ASC', - TickerExternalAgentActionsByCreatedBlockIdStddevSampleAssetIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_DESC', - TickerExternalAgentActionsByCreatedBlockIdStddevSampleCallerIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CALLER_ID_ASC', - TickerExternalAgentActionsByCreatedBlockIdStddevSampleCallerIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CALLER_ID_DESC', - TickerExternalAgentActionsByCreatedBlockIdStddevSampleCreatedAtAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - TickerExternalAgentActionsByCreatedBlockIdStddevSampleCreatedAtDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - TickerExternalAgentActionsByCreatedBlockIdStddevSampleCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - TickerExternalAgentActionsByCreatedBlockIdStddevSampleCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - TickerExternalAgentActionsByCreatedBlockIdStddevSampleEventIdxAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', - TickerExternalAgentActionsByCreatedBlockIdStddevSampleEventIdxDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', - TickerExternalAgentActionsByCreatedBlockIdStddevSampleEventIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_ID_ASC', - TickerExternalAgentActionsByCreatedBlockIdStddevSampleEventIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_ID_DESC', - TickerExternalAgentActionsByCreatedBlockIdStddevSampleIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - TickerExternalAgentActionsByCreatedBlockIdStddevSampleIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - TickerExternalAgentActionsByCreatedBlockIdStddevSamplePalletNameAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_PALLET_NAME_ASC', - TickerExternalAgentActionsByCreatedBlockIdStddevSamplePalletNameDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_PALLET_NAME_DESC', - TickerExternalAgentActionsByCreatedBlockIdStddevSampleUpdatedAtAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - TickerExternalAgentActionsByCreatedBlockIdStddevSampleUpdatedAtDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - TickerExternalAgentActionsByCreatedBlockIdStddevSampleUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentActionsByCreatedBlockIdStddevSampleUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentActionsByCreatedBlockIdSumAssetIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_SUM_ASSET_ID_ASC', - TickerExternalAgentActionsByCreatedBlockIdSumAssetIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_SUM_ASSET_ID_DESC', - TickerExternalAgentActionsByCreatedBlockIdSumCallerIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_SUM_CALLER_ID_ASC', - TickerExternalAgentActionsByCreatedBlockIdSumCallerIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_SUM_CALLER_ID_DESC', - TickerExternalAgentActionsByCreatedBlockIdSumCreatedAtAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_ASC', - TickerExternalAgentActionsByCreatedBlockIdSumCreatedAtDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_DESC', - TickerExternalAgentActionsByCreatedBlockIdSumCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - TickerExternalAgentActionsByCreatedBlockIdSumCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - TickerExternalAgentActionsByCreatedBlockIdSumEventIdxAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_SUM_EVENT_IDX_ASC', - TickerExternalAgentActionsByCreatedBlockIdSumEventIdxDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_SUM_EVENT_IDX_DESC', - TickerExternalAgentActionsByCreatedBlockIdSumEventIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_SUM_EVENT_ID_ASC', - TickerExternalAgentActionsByCreatedBlockIdSumEventIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_SUM_EVENT_ID_DESC', - TickerExternalAgentActionsByCreatedBlockIdSumIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_SUM_ID_ASC', - TickerExternalAgentActionsByCreatedBlockIdSumIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_SUM_ID_DESC', - TickerExternalAgentActionsByCreatedBlockIdSumPalletNameAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_SUM_PALLET_NAME_ASC', - TickerExternalAgentActionsByCreatedBlockIdSumPalletNameDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_SUM_PALLET_NAME_DESC', - TickerExternalAgentActionsByCreatedBlockIdSumUpdatedAtAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - TickerExternalAgentActionsByCreatedBlockIdSumUpdatedAtDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - TickerExternalAgentActionsByCreatedBlockIdSumUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentActionsByCreatedBlockIdSumUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentActionsByCreatedBlockIdVariancePopulationAssetIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_ASC', - TickerExternalAgentActionsByCreatedBlockIdVariancePopulationAssetIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_DESC', - TickerExternalAgentActionsByCreatedBlockIdVariancePopulationCallerIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CALLER_ID_ASC', - TickerExternalAgentActionsByCreatedBlockIdVariancePopulationCallerIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CALLER_ID_DESC', - TickerExternalAgentActionsByCreatedBlockIdVariancePopulationCreatedAtAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - TickerExternalAgentActionsByCreatedBlockIdVariancePopulationCreatedAtDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - TickerExternalAgentActionsByCreatedBlockIdVariancePopulationCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - TickerExternalAgentActionsByCreatedBlockIdVariancePopulationCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - TickerExternalAgentActionsByCreatedBlockIdVariancePopulationEventIdxAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', - TickerExternalAgentActionsByCreatedBlockIdVariancePopulationEventIdxDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', - TickerExternalAgentActionsByCreatedBlockIdVariancePopulationEventIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_ID_ASC', - TickerExternalAgentActionsByCreatedBlockIdVariancePopulationEventIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_ID_DESC', - TickerExternalAgentActionsByCreatedBlockIdVariancePopulationIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - TickerExternalAgentActionsByCreatedBlockIdVariancePopulationIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - TickerExternalAgentActionsByCreatedBlockIdVariancePopulationPalletNameAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_PALLET_NAME_ASC', - TickerExternalAgentActionsByCreatedBlockIdVariancePopulationPalletNameDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_PALLET_NAME_DESC', - TickerExternalAgentActionsByCreatedBlockIdVariancePopulationUpdatedAtAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - TickerExternalAgentActionsByCreatedBlockIdVariancePopulationUpdatedAtDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - TickerExternalAgentActionsByCreatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentActionsByCreatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentActionsByCreatedBlockIdVarianceSampleAssetIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_ASC', - TickerExternalAgentActionsByCreatedBlockIdVarianceSampleAssetIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_DESC', - TickerExternalAgentActionsByCreatedBlockIdVarianceSampleCallerIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CALLER_ID_ASC', - TickerExternalAgentActionsByCreatedBlockIdVarianceSampleCallerIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CALLER_ID_DESC', - TickerExternalAgentActionsByCreatedBlockIdVarianceSampleCreatedAtAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - TickerExternalAgentActionsByCreatedBlockIdVarianceSampleCreatedAtDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - TickerExternalAgentActionsByCreatedBlockIdVarianceSampleCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - TickerExternalAgentActionsByCreatedBlockIdVarianceSampleCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - TickerExternalAgentActionsByCreatedBlockIdVarianceSampleEventIdxAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', - TickerExternalAgentActionsByCreatedBlockIdVarianceSampleEventIdxDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', - TickerExternalAgentActionsByCreatedBlockIdVarianceSampleEventIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_ID_ASC', - TickerExternalAgentActionsByCreatedBlockIdVarianceSampleEventIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_ID_DESC', - TickerExternalAgentActionsByCreatedBlockIdVarianceSampleIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - TickerExternalAgentActionsByCreatedBlockIdVarianceSampleIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - TickerExternalAgentActionsByCreatedBlockIdVarianceSamplePalletNameAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_PALLET_NAME_ASC', - TickerExternalAgentActionsByCreatedBlockIdVarianceSamplePalletNameDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_PALLET_NAME_DESC', - TickerExternalAgentActionsByCreatedBlockIdVarianceSampleUpdatedAtAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - TickerExternalAgentActionsByCreatedBlockIdVarianceSampleUpdatedAtDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - TickerExternalAgentActionsByCreatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentActionsByCreatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentActionsByUpdatedBlockIdAverageAssetIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_ASSET_ID_ASC', - TickerExternalAgentActionsByUpdatedBlockIdAverageAssetIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_ASSET_ID_DESC', - TickerExternalAgentActionsByUpdatedBlockIdAverageCallerIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_CALLER_ID_ASC', - TickerExternalAgentActionsByUpdatedBlockIdAverageCallerIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_CALLER_ID_DESC', - TickerExternalAgentActionsByUpdatedBlockIdAverageCreatedAtAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - TickerExternalAgentActionsByUpdatedBlockIdAverageCreatedAtDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - TickerExternalAgentActionsByUpdatedBlockIdAverageCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - TickerExternalAgentActionsByUpdatedBlockIdAverageCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - TickerExternalAgentActionsByUpdatedBlockIdAverageEventIdxAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_IDX_ASC', - TickerExternalAgentActionsByUpdatedBlockIdAverageEventIdxDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_IDX_DESC', - TickerExternalAgentActionsByUpdatedBlockIdAverageEventIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_ID_ASC', - TickerExternalAgentActionsByUpdatedBlockIdAverageEventIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_ID_DESC', - TickerExternalAgentActionsByUpdatedBlockIdAverageIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_ASC', - TickerExternalAgentActionsByUpdatedBlockIdAverageIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_DESC', - TickerExternalAgentActionsByUpdatedBlockIdAveragePalletNameAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_PALLET_NAME_ASC', - TickerExternalAgentActionsByUpdatedBlockIdAveragePalletNameDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_PALLET_NAME_DESC', - TickerExternalAgentActionsByUpdatedBlockIdAverageUpdatedAtAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - TickerExternalAgentActionsByUpdatedBlockIdAverageUpdatedAtDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - TickerExternalAgentActionsByUpdatedBlockIdAverageUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentActionsByUpdatedBlockIdAverageUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentActionsByUpdatedBlockIdCountAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_COUNT_ASC', - TickerExternalAgentActionsByUpdatedBlockIdCountDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_COUNT_DESC', - TickerExternalAgentActionsByUpdatedBlockIdDistinctCountAssetIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_ASC', - TickerExternalAgentActionsByUpdatedBlockIdDistinctCountAssetIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_DESC', - TickerExternalAgentActionsByUpdatedBlockIdDistinctCountCallerIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CALLER_ID_ASC', - TickerExternalAgentActionsByUpdatedBlockIdDistinctCountCallerIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CALLER_ID_DESC', - TickerExternalAgentActionsByUpdatedBlockIdDistinctCountCreatedAtAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - TickerExternalAgentActionsByUpdatedBlockIdDistinctCountCreatedAtDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - TickerExternalAgentActionsByUpdatedBlockIdDistinctCountCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - TickerExternalAgentActionsByUpdatedBlockIdDistinctCountCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - TickerExternalAgentActionsByUpdatedBlockIdDistinctCountEventIdxAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_ASC', - TickerExternalAgentActionsByUpdatedBlockIdDistinctCountEventIdxDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_DESC', - TickerExternalAgentActionsByUpdatedBlockIdDistinctCountEventIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_ID_ASC', - TickerExternalAgentActionsByUpdatedBlockIdDistinctCountEventIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_ID_DESC', - TickerExternalAgentActionsByUpdatedBlockIdDistinctCountIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - TickerExternalAgentActionsByUpdatedBlockIdDistinctCountIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - TickerExternalAgentActionsByUpdatedBlockIdDistinctCountPalletNameAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_PALLET_NAME_ASC', - TickerExternalAgentActionsByUpdatedBlockIdDistinctCountPalletNameDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_PALLET_NAME_DESC', - TickerExternalAgentActionsByUpdatedBlockIdDistinctCountUpdatedAtAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - TickerExternalAgentActionsByUpdatedBlockIdDistinctCountUpdatedAtDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - TickerExternalAgentActionsByUpdatedBlockIdDistinctCountUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentActionsByUpdatedBlockIdDistinctCountUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentActionsByUpdatedBlockIdMaxAssetIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_MAX_ASSET_ID_ASC', - TickerExternalAgentActionsByUpdatedBlockIdMaxAssetIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_MAX_ASSET_ID_DESC', - TickerExternalAgentActionsByUpdatedBlockIdMaxCallerIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_MAX_CALLER_ID_ASC', - TickerExternalAgentActionsByUpdatedBlockIdMaxCallerIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_MAX_CALLER_ID_DESC', - TickerExternalAgentActionsByUpdatedBlockIdMaxCreatedAtAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_ASC', - TickerExternalAgentActionsByUpdatedBlockIdMaxCreatedAtDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_DESC', - TickerExternalAgentActionsByUpdatedBlockIdMaxCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - TickerExternalAgentActionsByUpdatedBlockIdMaxCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - TickerExternalAgentActionsByUpdatedBlockIdMaxEventIdxAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_MAX_EVENT_IDX_ASC', - TickerExternalAgentActionsByUpdatedBlockIdMaxEventIdxDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_MAX_EVENT_IDX_DESC', - TickerExternalAgentActionsByUpdatedBlockIdMaxEventIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_MAX_EVENT_ID_ASC', - TickerExternalAgentActionsByUpdatedBlockIdMaxEventIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_MAX_EVENT_ID_DESC', - TickerExternalAgentActionsByUpdatedBlockIdMaxIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_MAX_ID_ASC', - TickerExternalAgentActionsByUpdatedBlockIdMaxIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_MAX_ID_DESC', - TickerExternalAgentActionsByUpdatedBlockIdMaxPalletNameAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_MAX_PALLET_NAME_ASC', - TickerExternalAgentActionsByUpdatedBlockIdMaxPalletNameDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_MAX_PALLET_NAME_DESC', - TickerExternalAgentActionsByUpdatedBlockIdMaxUpdatedAtAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - TickerExternalAgentActionsByUpdatedBlockIdMaxUpdatedAtDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - TickerExternalAgentActionsByUpdatedBlockIdMaxUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentActionsByUpdatedBlockIdMaxUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentActionsByUpdatedBlockIdMinAssetIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_MIN_ASSET_ID_ASC', - TickerExternalAgentActionsByUpdatedBlockIdMinAssetIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_MIN_ASSET_ID_DESC', - TickerExternalAgentActionsByUpdatedBlockIdMinCallerIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_MIN_CALLER_ID_ASC', - TickerExternalAgentActionsByUpdatedBlockIdMinCallerIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_MIN_CALLER_ID_DESC', - TickerExternalAgentActionsByUpdatedBlockIdMinCreatedAtAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_ASC', - TickerExternalAgentActionsByUpdatedBlockIdMinCreatedAtDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_DESC', - TickerExternalAgentActionsByUpdatedBlockIdMinCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - TickerExternalAgentActionsByUpdatedBlockIdMinCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - TickerExternalAgentActionsByUpdatedBlockIdMinEventIdxAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_MIN_EVENT_IDX_ASC', - TickerExternalAgentActionsByUpdatedBlockIdMinEventIdxDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_MIN_EVENT_IDX_DESC', - TickerExternalAgentActionsByUpdatedBlockIdMinEventIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_MIN_EVENT_ID_ASC', - TickerExternalAgentActionsByUpdatedBlockIdMinEventIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_MIN_EVENT_ID_DESC', - TickerExternalAgentActionsByUpdatedBlockIdMinIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_MIN_ID_ASC', - TickerExternalAgentActionsByUpdatedBlockIdMinIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_MIN_ID_DESC', - TickerExternalAgentActionsByUpdatedBlockIdMinPalletNameAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_MIN_PALLET_NAME_ASC', - TickerExternalAgentActionsByUpdatedBlockIdMinPalletNameDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_MIN_PALLET_NAME_DESC', - TickerExternalAgentActionsByUpdatedBlockIdMinUpdatedAtAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - TickerExternalAgentActionsByUpdatedBlockIdMinUpdatedAtDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - TickerExternalAgentActionsByUpdatedBlockIdMinUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentActionsByUpdatedBlockIdMinUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentActionsByUpdatedBlockIdStddevPopulationAssetIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_ASC', - TickerExternalAgentActionsByUpdatedBlockIdStddevPopulationAssetIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_DESC', - TickerExternalAgentActionsByUpdatedBlockIdStddevPopulationCallerIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CALLER_ID_ASC', - TickerExternalAgentActionsByUpdatedBlockIdStddevPopulationCallerIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CALLER_ID_DESC', - TickerExternalAgentActionsByUpdatedBlockIdStddevPopulationCreatedAtAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - TickerExternalAgentActionsByUpdatedBlockIdStddevPopulationCreatedAtDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - TickerExternalAgentActionsByUpdatedBlockIdStddevPopulationCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - TickerExternalAgentActionsByUpdatedBlockIdStddevPopulationCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - TickerExternalAgentActionsByUpdatedBlockIdStddevPopulationEventIdxAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_ASC', - TickerExternalAgentActionsByUpdatedBlockIdStddevPopulationEventIdxDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_DESC', - TickerExternalAgentActionsByUpdatedBlockIdStddevPopulationEventIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_ID_ASC', - TickerExternalAgentActionsByUpdatedBlockIdStddevPopulationEventIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_ID_DESC', - TickerExternalAgentActionsByUpdatedBlockIdStddevPopulationIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - TickerExternalAgentActionsByUpdatedBlockIdStddevPopulationIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - TickerExternalAgentActionsByUpdatedBlockIdStddevPopulationPalletNameAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_PALLET_NAME_ASC', - TickerExternalAgentActionsByUpdatedBlockIdStddevPopulationPalletNameDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_PALLET_NAME_DESC', - TickerExternalAgentActionsByUpdatedBlockIdStddevPopulationUpdatedAtAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - TickerExternalAgentActionsByUpdatedBlockIdStddevPopulationUpdatedAtDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - TickerExternalAgentActionsByUpdatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentActionsByUpdatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentActionsByUpdatedBlockIdStddevSampleAssetIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_ASC', - TickerExternalAgentActionsByUpdatedBlockIdStddevSampleAssetIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_DESC', - TickerExternalAgentActionsByUpdatedBlockIdStddevSampleCallerIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CALLER_ID_ASC', - TickerExternalAgentActionsByUpdatedBlockIdStddevSampleCallerIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CALLER_ID_DESC', - TickerExternalAgentActionsByUpdatedBlockIdStddevSampleCreatedAtAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - TickerExternalAgentActionsByUpdatedBlockIdStddevSampleCreatedAtDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - TickerExternalAgentActionsByUpdatedBlockIdStddevSampleCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - TickerExternalAgentActionsByUpdatedBlockIdStddevSampleCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - TickerExternalAgentActionsByUpdatedBlockIdStddevSampleEventIdxAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', - TickerExternalAgentActionsByUpdatedBlockIdStddevSampleEventIdxDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', - TickerExternalAgentActionsByUpdatedBlockIdStddevSampleEventIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_ID_ASC', - TickerExternalAgentActionsByUpdatedBlockIdStddevSampleEventIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_ID_DESC', - TickerExternalAgentActionsByUpdatedBlockIdStddevSampleIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - TickerExternalAgentActionsByUpdatedBlockIdStddevSampleIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - TickerExternalAgentActionsByUpdatedBlockIdStddevSamplePalletNameAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_PALLET_NAME_ASC', - TickerExternalAgentActionsByUpdatedBlockIdStddevSamplePalletNameDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_PALLET_NAME_DESC', - TickerExternalAgentActionsByUpdatedBlockIdStddevSampleUpdatedAtAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - TickerExternalAgentActionsByUpdatedBlockIdStddevSampleUpdatedAtDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - TickerExternalAgentActionsByUpdatedBlockIdStddevSampleUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentActionsByUpdatedBlockIdStddevSampleUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentActionsByUpdatedBlockIdSumAssetIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_SUM_ASSET_ID_ASC', - TickerExternalAgentActionsByUpdatedBlockIdSumAssetIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_SUM_ASSET_ID_DESC', - TickerExternalAgentActionsByUpdatedBlockIdSumCallerIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_SUM_CALLER_ID_ASC', - TickerExternalAgentActionsByUpdatedBlockIdSumCallerIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_SUM_CALLER_ID_DESC', - TickerExternalAgentActionsByUpdatedBlockIdSumCreatedAtAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_ASC', - TickerExternalAgentActionsByUpdatedBlockIdSumCreatedAtDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_DESC', - TickerExternalAgentActionsByUpdatedBlockIdSumCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - TickerExternalAgentActionsByUpdatedBlockIdSumCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - TickerExternalAgentActionsByUpdatedBlockIdSumEventIdxAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_SUM_EVENT_IDX_ASC', - TickerExternalAgentActionsByUpdatedBlockIdSumEventIdxDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_SUM_EVENT_IDX_DESC', - TickerExternalAgentActionsByUpdatedBlockIdSumEventIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_SUM_EVENT_ID_ASC', - TickerExternalAgentActionsByUpdatedBlockIdSumEventIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_SUM_EVENT_ID_DESC', - TickerExternalAgentActionsByUpdatedBlockIdSumIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_SUM_ID_ASC', - TickerExternalAgentActionsByUpdatedBlockIdSumIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_SUM_ID_DESC', - TickerExternalAgentActionsByUpdatedBlockIdSumPalletNameAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_SUM_PALLET_NAME_ASC', - TickerExternalAgentActionsByUpdatedBlockIdSumPalletNameDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_SUM_PALLET_NAME_DESC', - TickerExternalAgentActionsByUpdatedBlockIdSumUpdatedAtAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - TickerExternalAgentActionsByUpdatedBlockIdSumUpdatedAtDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - TickerExternalAgentActionsByUpdatedBlockIdSumUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentActionsByUpdatedBlockIdSumUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentActionsByUpdatedBlockIdVariancePopulationAssetIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_ASC', - TickerExternalAgentActionsByUpdatedBlockIdVariancePopulationAssetIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_DESC', - TickerExternalAgentActionsByUpdatedBlockIdVariancePopulationCallerIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CALLER_ID_ASC', - TickerExternalAgentActionsByUpdatedBlockIdVariancePopulationCallerIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CALLER_ID_DESC', - TickerExternalAgentActionsByUpdatedBlockIdVariancePopulationCreatedAtAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - TickerExternalAgentActionsByUpdatedBlockIdVariancePopulationCreatedAtDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - TickerExternalAgentActionsByUpdatedBlockIdVariancePopulationCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - TickerExternalAgentActionsByUpdatedBlockIdVariancePopulationCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - TickerExternalAgentActionsByUpdatedBlockIdVariancePopulationEventIdxAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', - TickerExternalAgentActionsByUpdatedBlockIdVariancePopulationEventIdxDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', - TickerExternalAgentActionsByUpdatedBlockIdVariancePopulationEventIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_ID_ASC', - TickerExternalAgentActionsByUpdatedBlockIdVariancePopulationEventIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_ID_DESC', - TickerExternalAgentActionsByUpdatedBlockIdVariancePopulationIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - TickerExternalAgentActionsByUpdatedBlockIdVariancePopulationIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - TickerExternalAgentActionsByUpdatedBlockIdVariancePopulationPalletNameAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_PALLET_NAME_ASC', - TickerExternalAgentActionsByUpdatedBlockIdVariancePopulationPalletNameDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_PALLET_NAME_DESC', - TickerExternalAgentActionsByUpdatedBlockIdVariancePopulationUpdatedAtAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - TickerExternalAgentActionsByUpdatedBlockIdVariancePopulationUpdatedAtDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - TickerExternalAgentActionsByUpdatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentActionsByUpdatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentActionsByUpdatedBlockIdVarianceSampleAssetIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_ASC', - TickerExternalAgentActionsByUpdatedBlockIdVarianceSampleAssetIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_DESC', - TickerExternalAgentActionsByUpdatedBlockIdVarianceSampleCallerIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CALLER_ID_ASC', - TickerExternalAgentActionsByUpdatedBlockIdVarianceSampleCallerIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CALLER_ID_DESC', - TickerExternalAgentActionsByUpdatedBlockIdVarianceSampleCreatedAtAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - TickerExternalAgentActionsByUpdatedBlockIdVarianceSampleCreatedAtDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - TickerExternalAgentActionsByUpdatedBlockIdVarianceSampleCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - TickerExternalAgentActionsByUpdatedBlockIdVarianceSampleCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - TickerExternalAgentActionsByUpdatedBlockIdVarianceSampleEventIdxAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', - TickerExternalAgentActionsByUpdatedBlockIdVarianceSampleEventIdxDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', - TickerExternalAgentActionsByUpdatedBlockIdVarianceSampleEventIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_ID_ASC', - TickerExternalAgentActionsByUpdatedBlockIdVarianceSampleEventIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_ID_DESC', - TickerExternalAgentActionsByUpdatedBlockIdVarianceSampleIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - TickerExternalAgentActionsByUpdatedBlockIdVarianceSampleIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - TickerExternalAgentActionsByUpdatedBlockIdVarianceSamplePalletNameAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_PALLET_NAME_ASC', - TickerExternalAgentActionsByUpdatedBlockIdVarianceSamplePalletNameDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_PALLET_NAME_DESC', - TickerExternalAgentActionsByUpdatedBlockIdVarianceSampleUpdatedAtAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - TickerExternalAgentActionsByUpdatedBlockIdVarianceSampleUpdatedAtDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - TickerExternalAgentActionsByUpdatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentActionsByUpdatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdAverageAssetIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_ASSET_ID_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdAverageAssetIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_ASSET_ID_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdAverageCreatedAtAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdAverageCreatedAtDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdAverageCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdAverageCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdAverageDatetimeAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_DATETIME_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdAverageDatetimeDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_DATETIME_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdAverageEventIdxAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_IDX_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdAverageEventIdxDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_IDX_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdAverageIdentityIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_IDENTITY_ID_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdAverageIdentityIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_IDENTITY_ID_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdAverageIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_ID_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdAverageIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_ID_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdAveragePermissionsAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_PERMISSIONS_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdAveragePermissionsDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_PERMISSIONS_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdAverageTypeAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_TYPE_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdAverageTypeDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_TYPE_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdAverageUpdatedAtAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdAverageUpdatedAtDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdAverageUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdAverageUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdCountAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_COUNT_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdCountDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_COUNT_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdDistinctCountAssetIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdDistinctCountAssetIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdDistinctCountCreatedAtAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdDistinctCountCreatedAtDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdDistinctCountCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdDistinctCountCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdDistinctCountDatetimeAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdDistinctCountDatetimeDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdDistinctCountEventIdxAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdDistinctCountEventIdxDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdDistinctCountIdentityIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_IDENTITY_ID_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdDistinctCountIdentityIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_IDENTITY_ID_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdDistinctCountIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdDistinctCountIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdDistinctCountPermissionsAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_PERMISSIONS_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdDistinctCountPermissionsDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_PERMISSIONS_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdDistinctCountTypeAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TYPE_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdDistinctCountTypeDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TYPE_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdDistinctCountUpdatedAtAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdDistinctCountUpdatedAtDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdDistinctCountUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdDistinctCountUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdMaxAssetIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_MAX_ASSET_ID_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdMaxAssetIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_MAX_ASSET_ID_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdMaxCreatedAtAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdMaxCreatedAtDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdMaxCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdMaxCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdMaxDatetimeAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_MAX_DATETIME_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdMaxDatetimeDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_MAX_DATETIME_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdMaxEventIdxAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_MAX_EVENT_IDX_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdMaxEventIdxDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_MAX_EVENT_IDX_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdMaxIdentityIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_MAX_IDENTITY_ID_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdMaxIdentityIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_MAX_IDENTITY_ID_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdMaxIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_MAX_ID_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdMaxIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_MAX_ID_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdMaxPermissionsAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_MAX_PERMISSIONS_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdMaxPermissionsDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_MAX_PERMISSIONS_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdMaxTypeAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_MAX_TYPE_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdMaxTypeDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_MAX_TYPE_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdMaxUpdatedAtAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdMaxUpdatedAtDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdMaxUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdMaxUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdMinAssetIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_MIN_ASSET_ID_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdMinAssetIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_MIN_ASSET_ID_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdMinCreatedAtAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdMinCreatedAtDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdMinCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdMinCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdMinDatetimeAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_MIN_DATETIME_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdMinDatetimeDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_MIN_DATETIME_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdMinEventIdxAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_MIN_EVENT_IDX_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdMinEventIdxDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_MIN_EVENT_IDX_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdMinIdentityIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_MIN_IDENTITY_ID_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdMinIdentityIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_MIN_IDENTITY_ID_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdMinIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_MIN_ID_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdMinIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_MIN_ID_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdMinPermissionsAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_MIN_PERMISSIONS_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdMinPermissionsDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_MIN_PERMISSIONS_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdMinTypeAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_MIN_TYPE_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdMinTypeDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_MIN_TYPE_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdMinUpdatedAtAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdMinUpdatedAtDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdMinUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdMinUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdStddevPopulationAssetIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdStddevPopulationAssetIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdStddevPopulationCreatedAtAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdStddevPopulationCreatedAtDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdStddevPopulationCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdStddevPopulationCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdStddevPopulationDatetimeAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_DATETIME_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdStddevPopulationDatetimeDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_DATETIME_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdStddevPopulationEventIdxAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdStddevPopulationEventIdxDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdStddevPopulationIdentityIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_IDENTITY_ID_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdStddevPopulationIdentityIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_IDENTITY_ID_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdStddevPopulationIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdStddevPopulationIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdStddevPopulationPermissionsAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_PERMISSIONS_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdStddevPopulationPermissionsDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_PERMISSIONS_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdStddevPopulationTypeAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TYPE_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdStddevPopulationTypeDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TYPE_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdStddevPopulationUpdatedAtAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdStddevPopulationUpdatedAtDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdStddevSampleAssetIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdStddevSampleAssetIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdStddevSampleCreatedAtAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdStddevSampleCreatedAtDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdStddevSampleCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdStddevSampleCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdStddevSampleDatetimeAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_DATETIME_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdStddevSampleDatetimeDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_DATETIME_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdStddevSampleEventIdxAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdStddevSampleEventIdxDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdStddevSampleIdentityIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_IDENTITY_ID_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdStddevSampleIdentityIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_IDENTITY_ID_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdStddevSampleIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdStddevSampleIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdStddevSamplePermissionsAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_PERMISSIONS_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdStddevSamplePermissionsDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_PERMISSIONS_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdStddevSampleTypeAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TYPE_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdStddevSampleTypeDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TYPE_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdStddevSampleUpdatedAtAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdStddevSampleUpdatedAtDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdStddevSampleUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdStddevSampleUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdSumAssetIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_SUM_ASSET_ID_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdSumAssetIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_SUM_ASSET_ID_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdSumCreatedAtAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdSumCreatedAtDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdSumCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdSumCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdSumDatetimeAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_SUM_DATETIME_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdSumDatetimeDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_SUM_DATETIME_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdSumEventIdxAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_SUM_EVENT_IDX_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdSumEventIdxDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_SUM_EVENT_IDX_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdSumIdentityIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_SUM_IDENTITY_ID_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdSumIdentityIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_SUM_IDENTITY_ID_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdSumIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_SUM_ID_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdSumIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_SUM_ID_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdSumPermissionsAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_SUM_PERMISSIONS_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdSumPermissionsDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_SUM_PERMISSIONS_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdSumTypeAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_SUM_TYPE_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdSumTypeDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_SUM_TYPE_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdSumUpdatedAtAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdSumUpdatedAtDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdSumUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdSumUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdVariancePopulationAssetIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdVariancePopulationAssetIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdVariancePopulationCreatedAtAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdVariancePopulationCreatedAtDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdVariancePopulationCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdVariancePopulationCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdVariancePopulationDatetimeAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_DATETIME_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdVariancePopulationDatetimeDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_DATETIME_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdVariancePopulationEventIdxAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdVariancePopulationEventIdxDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdVariancePopulationIdentityIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_IDENTITY_ID_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdVariancePopulationIdentityIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_IDENTITY_ID_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdVariancePopulationIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdVariancePopulationIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdVariancePopulationPermissionsAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_PERMISSIONS_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdVariancePopulationPermissionsDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_PERMISSIONS_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdVariancePopulationTypeAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TYPE_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdVariancePopulationTypeDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TYPE_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdVariancePopulationUpdatedAtAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdVariancePopulationUpdatedAtDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdVarianceSampleAssetIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdVarianceSampleAssetIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdVarianceSampleCreatedAtAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdVarianceSampleCreatedAtDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdVarianceSampleCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdVarianceSampleCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdVarianceSampleDatetimeAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_DATETIME_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdVarianceSampleDatetimeDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_DATETIME_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdVarianceSampleEventIdxAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdVarianceSampleEventIdxDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdVarianceSampleIdentityIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_IDENTITY_ID_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdVarianceSampleIdentityIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_IDENTITY_ID_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdVarianceSampleIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdVarianceSampleIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdVarianceSamplePermissionsAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_PERMISSIONS_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdVarianceSamplePermissionsDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_PERMISSIONS_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdVarianceSampleTypeAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TYPE_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdVarianceSampleTypeDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TYPE_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdVarianceSampleUpdatedAtAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdVarianceSampleUpdatedAtDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - TickerExternalAgentHistoriesByCreatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentHistoriesByCreatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdAverageAssetIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_ASSET_ID_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdAverageAssetIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_ASSET_ID_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdAverageCreatedAtAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdAverageCreatedAtDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdAverageCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdAverageCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdAverageDatetimeAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_DATETIME_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdAverageDatetimeDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_DATETIME_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdAverageEventIdxAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_IDX_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdAverageEventIdxDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_IDX_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdAverageIdentityIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_IDENTITY_ID_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdAverageIdentityIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_IDENTITY_ID_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdAverageIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_ID_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdAverageIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_ID_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdAveragePermissionsAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_PERMISSIONS_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdAveragePermissionsDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_PERMISSIONS_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdAverageTypeAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_TYPE_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdAverageTypeDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_TYPE_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdAverageUpdatedAtAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdAverageUpdatedAtDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdAverageUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdAverageUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdCountAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_COUNT_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdCountDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_COUNT_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdDistinctCountAssetIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdDistinctCountAssetIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdDistinctCountCreatedAtAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdDistinctCountCreatedAtDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdDistinctCountCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdDistinctCountCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdDistinctCountDatetimeAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdDistinctCountDatetimeDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_DATETIME_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdDistinctCountEventIdxAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdDistinctCountEventIdxDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdDistinctCountIdentityIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_IDENTITY_ID_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdDistinctCountIdentityIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_IDENTITY_ID_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdDistinctCountIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdDistinctCountIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdDistinctCountPermissionsAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_PERMISSIONS_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdDistinctCountPermissionsDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_PERMISSIONS_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdDistinctCountTypeAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TYPE_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdDistinctCountTypeDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TYPE_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdDistinctCountUpdatedAtAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdDistinctCountUpdatedAtDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdDistinctCountUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdDistinctCountUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdMaxAssetIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_ASSET_ID_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdMaxAssetIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_ASSET_ID_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdMaxCreatedAtAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdMaxCreatedAtDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdMaxCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdMaxCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdMaxDatetimeAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_DATETIME_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdMaxDatetimeDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_DATETIME_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdMaxEventIdxAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_EVENT_IDX_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdMaxEventIdxDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_EVENT_IDX_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdMaxIdentityIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_IDENTITY_ID_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdMaxIdentityIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_IDENTITY_ID_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdMaxIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_ID_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdMaxIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_ID_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdMaxPermissionsAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_PERMISSIONS_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdMaxPermissionsDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_PERMISSIONS_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdMaxTypeAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_TYPE_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdMaxTypeDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_TYPE_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdMaxUpdatedAtAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdMaxUpdatedAtDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdMaxUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdMaxUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdMinAssetIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_ASSET_ID_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdMinAssetIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_ASSET_ID_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdMinCreatedAtAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdMinCreatedAtDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdMinCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdMinCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdMinDatetimeAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_DATETIME_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdMinDatetimeDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_DATETIME_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdMinEventIdxAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_EVENT_IDX_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdMinEventIdxDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_EVENT_IDX_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdMinIdentityIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_IDENTITY_ID_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdMinIdentityIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_IDENTITY_ID_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdMinIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_ID_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdMinIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_ID_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdMinPermissionsAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_PERMISSIONS_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdMinPermissionsDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_PERMISSIONS_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdMinTypeAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_TYPE_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdMinTypeDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_TYPE_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdMinUpdatedAtAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdMinUpdatedAtDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdMinUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdMinUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdStddevPopulationAssetIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdStddevPopulationAssetIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdStddevPopulationCreatedAtAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdStddevPopulationCreatedAtDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdStddevPopulationCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdStddevPopulationCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdStddevPopulationDatetimeAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_DATETIME_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdStddevPopulationDatetimeDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_DATETIME_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdStddevPopulationEventIdxAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdStddevPopulationEventIdxDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdStddevPopulationIdentityIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_IDENTITY_ID_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdStddevPopulationIdentityIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_IDENTITY_ID_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdStddevPopulationIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdStddevPopulationIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdStddevPopulationPermissionsAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_PERMISSIONS_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdStddevPopulationPermissionsDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_PERMISSIONS_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdStddevPopulationTypeAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TYPE_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdStddevPopulationTypeDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TYPE_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdStddevPopulationUpdatedAtAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdStddevPopulationUpdatedAtDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdStddevSampleAssetIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdStddevSampleAssetIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdStddevSampleCreatedAtAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdStddevSampleCreatedAtDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdStddevSampleCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdStddevSampleCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdStddevSampleDatetimeAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_DATETIME_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdStddevSampleDatetimeDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_DATETIME_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdStddevSampleEventIdxAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdStddevSampleEventIdxDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdStddevSampleIdentityIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_IDENTITY_ID_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdStddevSampleIdentityIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_IDENTITY_ID_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdStddevSampleIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdStddevSampleIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdStddevSamplePermissionsAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_PERMISSIONS_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdStddevSamplePermissionsDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_PERMISSIONS_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdStddevSampleTypeAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TYPE_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdStddevSampleTypeDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TYPE_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdStddevSampleUpdatedAtAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdStddevSampleUpdatedAtDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdStddevSampleUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdStddevSampleUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdSumAssetIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_ASSET_ID_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdSumAssetIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_ASSET_ID_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdSumCreatedAtAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdSumCreatedAtDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdSumCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdSumCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdSumDatetimeAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_DATETIME_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdSumDatetimeDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_DATETIME_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdSumEventIdxAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_EVENT_IDX_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdSumEventIdxDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_EVENT_IDX_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdSumIdentityIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_IDENTITY_ID_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdSumIdentityIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_IDENTITY_ID_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdSumIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_ID_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdSumIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_ID_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdSumPermissionsAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_PERMISSIONS_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdSumPermissionsDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_PERMISSIONS_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdSumTypeAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_TYPE_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdSumTypeDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_TYPE_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdSumUpdatedAtAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdSumUpdatedAtDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdSumUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdSumUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdVariancePopulationAssetIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdVariancePopulationAssetIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdVariancePopulationCreatedAtAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdVariancePopulationCreatedAtDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdVariancePopulationCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdVariancePopulationCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdVariancePopulationDatetimeAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_DATETIME_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdVariancePopulationDatetimeDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_DATETIME_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdVariancePopulationEventIdxAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdVariancePopulationEventIdxDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdVariancePopulationIdentityIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_IDENTITY_ID_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdVariancePopulationIdentityIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_IDENTITY_ID_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdVariancePopulationIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdVariancePopulationIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdVariancePopulationPermissionsAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_PERMISSIONS_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdVariancePopulationPermissionsDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_PERMISSIONS_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdVariancePopulationTypeAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TYPE_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdVariancePopulationTypeDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TYPE_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdVariancePopulationUpdatedAtAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdVariancePopulationUpdatedAtDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdVarianceSampleAssetIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdVarianceSampleAssetIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdVarianceSampleCreatedAtAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdVarianceSampleCreatedAtDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdVarianceSampleCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdVarianceSampleCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdVarianceSampleDatetimeAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_DATETIME_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdVarianceSampleDatetimeDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_DATETIME_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdVarianceSampleEventIdxAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdVarianceSampleEventIdxDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdVarianceSampleIdentityIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_IDENTITY_ID_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdVarianceSampleIdentityIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_IDENTITY_ID_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdVarianceSampleIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdVarianceSampleIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdVarianceSamplePermissionsAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_PERMISSIONS_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdVarianceSamplePermissionsDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_PERMISSIONS_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdVarianceSampleTypeAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TYPE_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdVarianceSampleTypeDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TYPE_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdVarianceSampleUpdatedAtAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdVarianceSampleUpdatedAtDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - TickerExternalAgentHistoriesByUpdatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentHistoriesByUpdatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - TransferCompliancesByCreatedBlockIdAverageAssetIdAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_AVERAGE_ASSET_ID_ASC', - TransferCompliancesByCreatedBlockIdAverageAssetIdDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_AVERAGE_ASSET_ID_DESC', - TransferCompliancesByCreatedBlockIdAverageClaimIssuerIdAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_AVERAGE_CLAIM_ISSUER_ID_ASC', - TransferCompliancesByCreatedBlockIdAverageClaimIssuerIdDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_AVERAGE_CLAIM_ISSUER_ID_DESC', - TransferCompliancesByCreatedBlockIdAverageClaimTypeAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_AVERAGE_CLAIM_TYPE_ASC', - TransferCompliancesByCreatedBlockIdAverageClaimTypeDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_AVERAGE_CLAIM_TYPE_DESC', - TransferCompliancesByCreatedBlockIdAverageClaimValueAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_AVERAGE_CLAIM_VALUE_ASC', - TransferCompliancesByCreatedBlockIdAverageClaimValueDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_AVERAGE_CLAIM_VALUE_DESC', - TransferCompliancesByCreatedBlockIdAverageCreatedAtAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - TransferCompliancesByCreatedBlockIdAverageCreatedAtDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - TransferCompliancesByCreatedBlockIdAverageCreatedBlockIdAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - TransferCompliancesByCreatedBlockIdAverageCreatedBlockIdDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - TransferCompliancesByCreatedBlockIdAverageIdAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_AVERAGE_ID_ASC', - TransferCompliancesByCreatedBlockIdAverageIdDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_AVERAGE_ID_DESC', - TransferCompliancesByCreatedBlockIdAverageMaxAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_AVERAGE_MAX_ASC', - TransferCompliancesByCreatedBlockIdAverageMaxDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_AVERAGE_MAX_DESC', - TransferCompliancesByCreatedBlockIdAverageMinAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_AVERAGE_MIN_ASC', - TransferCompliancesByCreatedBlockIdAverageMinDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_AVERAGE_MIN_DESC', - TransferCompliancesByCreatedBlockIdAverageStatTypeIdAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_AVERAGE_STAT_TYPE_ID_ASC', - TransferCompliancesByCreatedBlockIdAverageStatTypeIdDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_AVERAGE_STAT_TYPE_ID_DESC', - TransferCompliancesByCreatedBlockIdAverageTypeAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_AVERAGE_TYPE_ASC', - TransferCompliancesByCreatedBlockIdAverageTypeDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_AVERAGE_TYPE_DESC', - TransferCompliancesByCreatedBlockIdAverageUpdatedAtAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - TransferCompliancesByCreatedBlockIdAverageUpdatedAtDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - TransferCompliancesByCreatedBlockIdAverageUpdatedBlockIdAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - TransferCompliancesByCreatedBlockIdAverageUpdatedBlockIdDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - TransferCompliancesByCreatedBlockIdAverageValueAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_AVERAGE_VALUE_ASC', - TransferCompliancesByCreatedBlockIdAverageValueDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_AVERAGE_VALUE_DESC', - TransferCompliancesByCreatedBlockIdCountAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_COUNT_ASC', - TransferCompliancesByCreatedBlockIdCountDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_COUNT_DESC', - TransferCompliancesByCreatedBlockIdDistinctCountAssetIdAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_ASC', - TransferCompliancesByCreatedBlockIdDistinctCountAssetIdDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_DESC', - TransferCompliancesByCreatedBlockIdDistinctCountClaimIssuerIdAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CLAIM_ISSUER_ID_ASC', - TransferCompliancesByCreatedBlockIdDistinctCountClaimIssuerIdDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CLAIM_ISSUER_ID_DESC', - TransferCompliancesByCreatedBlockIdDistinctCountClaimTypeAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CLAIM_TYPE_ASC', - TransferCompliancesByCreatedBlockIdDistinctCountClaimTypeDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CLAIM_TYPE_DESC', - TransferCompliancesByCreatedBlockIdDistinctCountClaimValueAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CLAIM_VALUE_ASC', - TransferCompliancesByCreatedBlockIdDistinctCountClaimValueDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CLAIM_VALUE_DESC', - TransferCompliancesByCreatedBlockIdDistinctCountCreatedAtAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - TransferCompliancesByCreatedBlockIdDistinctCountCreatedAtDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - TransferCompliancesByCreatedBlockIdDistinctCountCreatedBlockIdAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - TransferCompliancesByCreatedBlockIdDistinctCountCreatedBlockIdDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - TransferCompliancesByCreatedBlockIdDistinctCountIdAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - TransferCompliancesByCreatedBlockIdDistinctCountIdDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - TransferCompliancesByCreatedBlockIdDistinctCountMaxAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_MAX_ASC', - TransferCompliancesByCreatedBlockIdDistinctCountMaxDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_MAX_DESC', - TransferCompliancesByCreatedBlockIdDistinctCountMinAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_MIN_ASC', - TransferCompliancesByCreatedBlockIdDistinctCountMinDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_MIN_DESC', - TransferCompliancesByCreatedBlockIdDistinctCountStatTypeIdAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_STAT_TYPE_ID_ASC', - TransferCompliancesByCreatedBlockIdDistinctCountStatTypeIdDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_STAT_TYPE_ID_DESC', - TransferCompliancesByCreatedBlockIdDistinctCountTypeAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TYPE_ASC', - TransferCompliancesByCreatedBlockIdDistinctCountTypeDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TYPE_DESC', - TransferCompliancesByCreatedBlockIdDistinctCountUpdatedAtAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - TransferCompliancesByCreatedBlockIdDistinctCountUpdatedAtDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - TransferCompliancesByCreatedBlockIdDistinctCountUpdatedBlockIdAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - TransferCompliancesByCreatedBlockIdDistinctCountUpdatedBlockIdDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - TransferCompliancesByCreatedBlockIdDistinctCountValueAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_VALUE_ASC', - TransferCompliancesByCreatedBlockIdDistinctCountValueDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_VALUE_DESC', - TransferCompliancesByCreatedBlockIdMaxAssetIdAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_MAX_ASSET_ID_ASC', - TransferCompliancesByCreatedBlockIdMaxAssetIdDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_MAX_ASSET_ID_DESC', - TransferCompliancesByCreatedBlockIdMaxClaimIssuerIdAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_MAX_CLAIM_ISSUER_ID_ASC', - TransferCompliancesByCreatedBlockIdMaxClaimIssuerIdDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_MAX_CLAIM_ISSUER_ID_DESC', - TransferCompliancesByCreatedBlockIdMaxClaimTypeAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_MAX_CLAIM_TYPE_ASC', - TransferCompliancesByCreatedBlockIdMaxClaimTypeDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_MAX_CLAIM_TYPE_DESC', - TransferCompliancesByCreatedBlockIdMaxClaimValueAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_MAX_CLAIM_VALUE_ASC', - TransferCompliancesByCreatedBlockIdMaxClaimValueDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_MAX_CLAIM_VALUE_DESC', - TransferCompliancesByCreatedBlockIdMaxCreatedAtAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_ASC', - TransferCompliancesByCreatedBlockIdMaxCreatedAtDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_DESC', - TransferCompliancesByCreatedBlockIdMaxCreatedBlockIdAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - TransferCompliancesByCreatedBlockIdMaxCreatedBlockIdDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - TransferCompliancesByCreatedBlockIdMaxIdAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_MAX_ID_ASC', - TransferCompliancesByCreatedBlockIdMaxIdDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_MAX_ID_DESC', - TransferCompliancesByCreatedBlockIdMaxMaxAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_MAX_MAX_ASC', - TransferCompliancesByCreatedBlockIdMaxMaxDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_MAX_MAX_DESC', - TransferCompliancesByCreatedBlockIdMaxMinAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_MAX_MIN_ASC', - TransferCompliancesByCreatedBlockIdMaxMinDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_MAX_MIN_DESC', - TransferCompliancesByCreatedBlockIdMaxStatTypeIdAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_MAX_STAT_TYPE_ID_ASC', - TransferCompliancesByCreatedBlockIdMaxStatTypeIdDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_MAX_STAT_TYPE_ID_DESC', - TransferCompliancesByCreatedBlockIdMaxTypeAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_MAX_TYPE_ASC', - TransferCompliancesByCreatedBlockIdMaxTypeDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_MAX_TYPE_DESC', - TransferCompliancesByCreatedBlockIdMaxUpdatedAtAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - TransferCompliancesByCreatedBlockIdMaxUpdatedAtDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - TransferCompliancesByCreatedBlockIdMaxUpdatedBlockIdAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - TransferCompliancesByCreatedBlockIdMaxUpdatedBlockIdDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - TransferCompliancesByCreatedBlockIdMaxValueAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_MAX_VALUE_ASC', - TransferCompliancesByCreatedBlockIdMaxValueDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_MAX_VALUE_DESC', - TransferCompliancesByCreatedBlockIdMinAssetIdAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_MIN_ASSET_ID_ASC', - TransferCompliancesByCreatedBlockIdMinAssetIdDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_MIN_ASSET_ID_DESC', - TransferCompliancesByCreatedBlockIdMinClaimIssuerIdAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_MIN_CLAIM_ISSUER_ID_ASC', - TransferCompliancesByCreatedBlockIdMinClaimIssuerIdDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_MIN_CLAIM_ISSUER_ID_DESC', - TransferCompliancesByCreatedBlockIdMinClaimTypeAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_MIN_CLAIM_TYPE_ASC', - TransferCompliancesByCreatedBlockIdMinClaimTypeDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_MIN_CLAIM_TYPE_DESC', - TransferCompliancesByCreatedBlockIdMinClaimValueAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_MIN_CLAIM_VALUE_ASC', - TransferCompliancesByCreatedBlockIdMinClaimValueDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_MIN_CLAIM_VALUE_DESC', - TransferCompliancesByCreatedBlockIdMinCreatedAtAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_ASC', - TransferCompliancesByCreatedBlockIdMinCreatedAtDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_DESC', - TransferCompliancesByCreatedBlockIdMinCreatedBlockIdAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - TransferCompliancesByCreatedBlockIdMinCreatedBlockIdDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - TransferCompliancesByCreatedBlockIdMinIdAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_MIN_ID_ASC', - TransferCompliancesByCreatedBlockIdMinIdDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_MIN_ID_DESC', - TransferCompliancesByCreatedBlockIdMinMaxAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_MIN_MAX_ASC', - TransferCompliancesByCreatedBlockIdMinMaxDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_MIN_MAX_DESC', - TransferCompliancesByCreatedBlockIdMinMinAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_MIN_MIN_ASC', - TransferCompliancesByCreatedBlockIdMinMinDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_MIN_MIN_DESC', - TransferCompliancesByCreatedBlockIdMinStatTypeIdAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_MIN_STAT_TYPE_ID_ASC', - TransferCompliancesByCreatedBlockIdMinStatTypeIdDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_MIN_STAT_TYPE_ID_DESC', - TransferCompliancesByCreatedBlockIdMinTypeAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_MIN_TYPE_ASC', - TransferCompliancesByCreatedBlockIdMinTypeDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_MIN_TYPE_DESC', - TransferCompliancesByCreatedBlockIdMinUpdatedAtAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - TransferCompliancesByCreatedBlockIdMinUpdatedAtDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - TransferCompliancesByCreatedBlockIdMinUpdatedBlockIdAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - TransferCompliancesByCreatedBlockIdMinUpdatedBlockIdDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - TransferCompliancesByCreatedBlockIdMinValueAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_MIN_VALUE_ASC', - TransferCompliancesByCreatedBlockIdMinValueDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_MIN_VALUE_DESC', - TransferCompliancesByCreatedBlockIdStddevPopulationAssetIdAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_ASC', - TransferCompliancesByCreatedBlockIdStddevPopulationAssetIdDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_DESC', - TransferCompliancesByCreatedBlockIdStddevPopulationClaimIssuerIdAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CLAIM_ISSUER_ID_ASC', - TransferCompliancesByCreatedBlockIdStddevPopulationClaimIssuerIdDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CLAIM_ISSUER_ID_DESC', - TransferCompliancesByCreatedBlockIdStddevPopulationClaimTypeAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CLAIM_TYPE_ASC', - TransferCompliancesByCreatedBlockIdStddevPopulationClaimTypeDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CLAIM_TYPE_DESC', - TransferCompliancesByCreatedBlockIdStddevPopulationClaimValueAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CLAIM_VALUE_ASC', - TransferCompliancesByCreatedBlockIdStddevPopulationClaimValueDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CLAIM_VALUE_DESC', - TransferCompliancesByCreatedBlockIdStddevPopulationCreatedAtAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - TransferCompliancesByCreatedBlockIdStddevPopulationCreatedAtDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - TransferCompliancesByCreatedBlockIdStddevPopulationCreatedBlockIdAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - TransferCompliancesByCreatedBlockIdStddevPopulationCreatedBlockIdDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - TransferCompliancesByCreatedBlockIdStddevPopulationIdAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - TransferCompliancesByCreatedBlockIdStddevPopulationIdDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - TransferCompliancesByCreatedBlockIdStddevPopulationMaxAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_MAX_ASC', - TransferCompliancesByCreatedBlockIdStddevPopulationMaxDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_MAX_DESC', - TransferCompliancesByCreatedBlockIdStddevPopulationMinAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_MIN_ASC', - TransferCompliancesByCreatedBlockIdStddevPopulationMinDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_MIN_DESC', - TransferCompliancesByCreatedBlockIdStddevPopulationStatTypeIdAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_STAT_TYPE_ID_ASC', - TransferCompliancesByCreatedBlockIdStddevPopulationStatTypeIdDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_STAT_TYPE_ID_DESC', - TransferCompliancesByCreatedBlockIdStddevPopulationTypeAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TYPE_ASC', - TransferCompliancesByCreatedBlockIdStddevPopulationTypeDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TYPE_DESC', - TransferCompliancesByCreatedBlockIdStddevPopulationUpdatedAtAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - TransferCompliancesByCreatedBlockIdStddevPopulationUpdatedAtDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - TransferCompliancesByCreatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - TransferCompliancesByCreatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - TransferCompliancesByCreatedBlockIdStddevPopulationValueAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_VALUE_ASC', - TransferCompliancesByCreatedBlockIdStddevPopulationValueDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_VALUE_DESC', - TransferCompliancesByCreatedBlockIdStddevSampleAssetIdAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_ASC', - TransferCompliancesByCreatedBlockIdStddevSampleAssetIdDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_DESC', - TransferCompliancesByCreatedBlockIdStddevSampleClaimIssuerIdAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CLAIM_ISSUER_ID_ASC', - TransferCompliancesByCreatedBlockIdStddevSampleClaimIssuerIdDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CLAIM_ISSUER_ID_DESC', - TransferCompliancesByCreatedBlockIdStddevSampleClaimTypeAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CLAIM_TYPE_ASC', - TransferCompliancesByCreatedBlockIdStddevSampleClaimTypeDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CLAIM_TYPE_DESC', - TransferCompliancesByCreatedBlockIdStddevSampleClaimValueAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CLAIM_VALUE_ASC', - TransferCompliancesByCreatedBlockIdStddevSampleClaimValueDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CLAIM_VALUE_DESC', - TransferCompliancesByCreatedBlockIdStddevSampleCreatedAtAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - TransferCompliancesByCreatedBlockIdStddevSampleCreatedAtDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - TransferCompliancesByCreatedBlockIdStddevSampleCreatedBlockIdAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - TransferCompliancesByCreatedBlockIdStddevSampleCreatedBlockIdDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - TransferCompliancesByCreatedBlockIdStddevSampleIdAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - TransferCompliancesByCreatedBlockIdStddevSampleIdDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - TransferCompliancesByCreatedBlockIdStddevSampleMaxAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_MAX_ASC', - TransferCompliancesByCreatedBlockIdStddevSampleMaxDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_MAX_DESC', - TransferCompliancesByCreatedBlockIdStddevSampleMinAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_MIN_ASC', - TransferCompliancesByCreatedBlockIdStddevSampleMinDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_MIN_DESC', - TransferCompliancesByCreatedBlockIdStddevSampleStatTypeIdAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_STAT_TYPE_ID_ASC', - TransferCompliancesByCreatedBlockIdStddevSampleStatTypeIdDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_STAT_TYPE_ID_DESC', - TransferCompliancesByCreatedBlockIdStddevSampleTypeAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TYPE_ASC', - TransferCompliancesByCreatedBlockIdStddevSampleTypeDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TYPE_DESC', - TransferCompliancesByCreatedBlockIdStddevSampleUpdatedAtAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - TransferCompliancesByCreatedBlockIdStddevSampleUpdatedAtDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - TransferCompliancesByCreatedBlockIdStddevSampleUpdatedBlockIdAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - TransferCompliancesByCreatedBlockIdStddevSampleUpdatedBlockIdDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - TransferCompliancesByCreatedBlockIdStddevSampleValueAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_VALUE_ASC', - TransferCompliancesByCreatedBlockIdStddevSampleValueDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_VALUE_DESC', - TransferCompliancesByCreatedBlockIdSumAssetIdAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_SUM_ASSET_ID_ASC', - TransferCompliancesByCreatedBlockIdSumAssetIdDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_SUM_ASSET_ID_DESC', - TransferCompliancesByCreatedBlockIdSumClaimIssuerIdAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_SUM_CLAIM_ISSUER_ID_ASC', - TransferCompliancesByCreatedBlockIdSumClaimIssuerIdDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_SUM_CLAIM_ISSUER_ID_DESC', - TransferCompliancesByCreatedBlockIdSumClaimTypeAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_SUM_CLAIM_TYPE_ASC', - TransferCompliancesByCreatedBlockIdSumClaimTypeDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_SUM_CLAIM_TYPE_DESC', - TransferCompliancesByCreatedBlockIdSumClaimValueAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_SUM_CLAIM_VALUE_ASC', - TransferCompliancesByCreatedBlockIdSumClaimValueDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_SUM_CLAIM_VALUE_DESC', - TransferCompliancesByCreatedBlockIdSumCreatedAtAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_ASC', - TransferCompliancesByCreatedBlockIdSumCreatedAtDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_DESC', - TransferCompliancesByCreatedBlockIdSumCreatedBlockIdAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - TransferCompliancesByCreatedBlockIdSumCreatedBlockIdDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - TransferCompliancesByCreatedBlockIdSumIdAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_SUM_ID_ASC', - TransferCompliancesByCreatedBlockIdSumIdDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_SUM_ID_DESC', - TransferCompliancesByCreatedBlockIdSumMaxAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_SUM_MAX_ASC', - TransferCompliancesByCreatedBlockIdSumMaxDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_SUM_MAX_DESC', - TransferCompliancesByCreatedBlockIdSumMinAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_SUM_MIN_ASC', - TransferCompliancesByCreatedBlockIdSumMinDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_SUM_MIN_DESC', - TransferCompliancesByCreatedBlockIdSumStatTypeIdAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_SUM_STAT_TYPE_ID_ASC', - TransferCompliancesByCreatedBlockIdSumStatTypeIdDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_SUM_STAT_TYPE_ID_DESC', - TransferCompliancesByCreatedBlockIdSumTypeAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_SUM_TYPE_ASC', - TransferCompliancesByCreatedBlockIdSumTypeDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_SUM_TYPE_DESC', - TransferCompliancesByCreatedBlockIdSumUpdatedAtAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - TransferCompliancesByCreatedBlockIdSumUpdatedAtDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - TransferCompliancesByCreatedBlockIdSumUpdatedBlockIdAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - TransferCompliancesByCreatedBlockIdSumUpdatedBlockIdDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - TransferCompliancesByCreatedBlockIdSumValueAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_SUM_VALUE_ASC', - TransferCompliancesByCreatedBlockIdSumValueDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_SUM_VALUE_DESC', - TransferCompliancesByCreatedBlockIdVariancePopulationAssetIdAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_ASC', - TransferCompliancesByCreatedBlockIdVariancePopulationAssetIdDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_DESC', - TransferCompliancesByCreatedBlockIdVariancePopulationClaimIssuerIdAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CLAIM_ISSUER_ID_ASC', - TransferCompliancesByCreatedBlockIdVariancePopulationClaimIssuerIdDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CLAIM_ISSUER_ID_DESC', - TransferCompliancesByCreatedBlockIdVariancePopulationClaimTypeAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CLAIM_TYPE_ASC', - TransferCompliancesByCreatedBlockIdVariancePopulationClaimTypeDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CLAIM_TYPE_DESC', - TransferCompliancesByCreatedBlockIdVariancePopulationClaimValueAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CLAIM_VALUE_ASC', - TransferCompliancesByCreatedBlockIdVariancePopulationClaimValueDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CLAIM_VALUE_DESC', - TransferCompliancesByCreatedBlockIdVariancePopulationCreatedAtAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - TransferCompliancesByCreatedBlockIdVariancePopulationCreatedAtDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - TransferCompliancesByCreatedBlockIdVariancePopulationCreatedBlockIdAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - TransferCompliancesByCreatedBlockIdVariancePopulationCreatedBlockIdDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - TransferCompliancesByCreatedBlockIdVariancePopulationIdAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - TransferCompliancesByCreatedBlockIdVariancePopulationIdDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - TransferCompliancesByCreatedBlockIdVariancePopulationMaxAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_MAX_ASC', - TransferCompliancesByCreatedBlockIdVariancePopulationMaxDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_MAX_DESC', - TransferCompliancesByCreatedBlockIdVariancePopulationMinAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_MIN_ASC', - TransferCompliancesByCreatedBlockIdVariancePopulationMinDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_MIN_DESC', - TransferCompliancesByCreatedBlockIdVariancePopulationStatTypeIdAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_STAT_TYPE_ID_ASC', - TransferCompliancesByCreatedBlockIdVariancePopulationStatTypeIdDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_STAT_TYPE_ID_DESC', - TransferCompliancesByCreatedBlockIdVariancePopulationTypeAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TYPE_ASC', - TransferCompliancesByCreatedBlockIdVariancePopulationTypeDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TYPE_DESC', - TransferCompliancesByCreatedBlockIdVariancePopulationUpdatedAtAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - TransferCompliancesByCreatedBlockIdVariancePopulationUpdatedAtDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - TransferCompliancesByCreatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - TransferCompliancesByCreatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - TransferCompliancesByCreatedBlockIdVariancePopulationValueAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_VALUE_ASC', - TransferCompliancesByCreatedBlockIdVariancePopulationValueDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_VALUE_DESC', - TransferCompliancesByCreatedBlockIdVarianceSampleAssetIdAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_ASC', - TransferCompliancesByCreatedBlockIdVarianceSampleAssetIdDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_DESC', - TransferCompliancesByCreatedBlockIdVarianceSampleClaimIssuerIdAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CLAIM_ISSUER_ID_ASC', - TransferCompliancesByCreatedBlockIdVarianceSampleClaimIssuerIdDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CLAIM_ISSUER_ID_DESC', - TransferCompliancesByCreatedBlockIdVarianceSampleClaimTypeAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CLAIM_TYPE_ASC', - TransferCompliancesByCreatedBlockIdVarianceSampleClaimTypeDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CLAIM_TYPE_DESC', - TransferCompliancesByCreatedBlockIdVarianceSampleClaimValueAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CLAIM_VALUE_ASC', - TransferCompliancesByCreatedBlockIdVarianceSampleClaimValueDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CLAIM_VALUE_DESC', - TransferCompliancesByCreatedBlockIdVarianceSampleCreatedAtAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - TransferCompliancesByCreatedBlockIdVarianceSampleCreatedAtDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - TransferCompliancesByCreatedBlockIdVarianceSampleCreatedBlockIdAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - TransferCompliancesByCreatedBlockIdVarianceSampleCreatedBlockIdDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - TransferCompliancesByCreatedBlockIdVarianceSampleIdAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - TransferCompliancesByCreatedBlockIdVarianceSampleIdDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - TransferCompliancesByCreatedBlockIdVarianceSampleMaxAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_MAX_ASC', - TransferCompliancesByCreatedBlockIdVarianceSampleMaxDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_MAX_DESC', - TransferCompliancesByCreatedBlockIdVarianceSampleMinAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_MIN_ASC', - TransferCompliancesByCreatedBlockIdVarianceSampleMinDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_MIN_DESC', - TransferCompliancesByCreatedBlockIdVarianceSampleStatTypeIdAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_STAT_TYPE_ID_ASC', - TransferCompliancesByCreatedBlockIdVarianceSampleStatTypeIdDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_STAT_TYPE_ID_DESC', - TransferCompliancesByCreatedBlockIdVarianceSampleTypeAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TYPE_ASC', - TransferCompliancesByCreatedBlockIdVarianceSampleTypeDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TYPE_DESC', - TransferCompliancesByCreatedBlockIdVarianceSampleUpdatedAtAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - TransferCompliancesByCreatedBlockIdVarianceSampleUpdatedAtDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - TransferCompliancesByCreatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - TransferCompliancesByCreatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - TransferCompliancesByCreatedBlockIdVarianceSampleValueAsc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_VALUE_ASC', - TransferCompliancesByCreatedBlockIdVarianceSampleValueDesc = 'TRANSFER_COMPLIANCES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_VALUE_DESC', - TransferCompliancesByUpdatedBlockIdAverageAssetIdAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_AVERAGE_ASSET_ID_ASC', - TransferCompliancesByUpdatedBlockIdAverageAssetIdDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_AVERAGE_ASSET_ID_DESC', - TransferCompliancesByUpdatedBlockIdAverageClaimIssuerIdAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_AVERAGE_CLAIM_ISSUER_ID_ASC', - TransferCompliancesByUpdatedBlockIdAverageClaimIssuerIdDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_AVERAGE_CLAIM_ISSUER_ID_DESC', - TransferCompliancesByUpdatedBlockIdAverageClaimTypeAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_AVERAGE_CLAIM_TYPE_ASC', - TransferCompliancesByUpdatedBlockIdAverageClaimTypeDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_AVERAGE_CLAIM_TYPE_DESC', - TransferCompliancesByUpdatedBlockIdAverageClaimValueAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_AVERAGE_CLAIM_VALUE_ASC', - TransferCompliancesByUpdatedBlockIdAverageClaimValueDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_AVERAGE_CLAIM_VALUE_DESC', - TransferCompliancesByUpdatedBlockIdAverageCreatedAtAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - TransferCompliancesByUpdatedBlockIdAverageCreatedAtDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - TransferCompliancesByUpdatedBlockIdAverageCreatedBlockIdAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - TransferCompliancesByUpdatedBlockIdAverageCreatedBlockIdDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - TransferCompliancesByUpdatedBlockIdAverageIdAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_AVERAGE_ID_ASC', - TransferCompliancesByUpdatedBlockIdAverageIdDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_AVERAGE_ID_DESC', - TransferCompliancesByUpdatedBlockIdAverageMaxAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_AVERAGE_MAX_ASC', - TransferCompliancesByUpdatedBlockIdAverageMaxDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_AVERAGE_MAX_DESC', - TransferCompliancesByUpdatedBlockIdAverageMinAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_AVERAGE_MIN_ASC', - TransferCompliancesByUpdatedBlockIdAverageMinDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_AVERAGE_MIN_DESC', - TransferCompliancesByUpdatedBlockIdAverageStatTypeIdAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_AVERAGE_STAT_TYPE_ID_ASC', - TransferCompliancesByUpdatedBlockIdAverageStatTypeIdDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_AVERAGE_STAT_TYPE_ID_DESC', - TransferCompliancesByUpdatedBlockIdAverageTypeAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_AVERAGE_TYPE_ASC', - TransferCompliancesByUpdatedBlockIdAverageTypeDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_AVERAGE_TYPE_DESC', - TransferCompliancesByUpdatedBlockIdAverageUpdatedAtAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - TransferCompliancesByUpdatedBlockIdAverageUpdatedAtDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - TransferCompliancesByUpdatedBlockIdAverageUpdatedBlockIdAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - TransferCompliancesByUpdatedBlockIdAverageUpdatedBlockIdDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - TransferCompliancesByUpdatedBlockIdAverageValueAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_AVERAGE_VALUE_ASC', - TransferCompliancesByUpdatedBlockIdAverageValueDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_AVERAGE_VALUE_DESC', - TransferCompliancesByUpdatedBlockIdCountAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_COUNT_ASC', - TransferCompliancesByUpdatedBlockIdCountDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_COUNT_DESC', - TransferCompliancesByUpdatedBlockIdDistinctCountAssetIdAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_ASC', - TransferCompliancesByUpdatedBlockIdDistinctCountAssetIdDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_DESC', - TransferCompliancesByUpdatedBlockIdDistinctCountClaimIssuerIdAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CLAIM_ISSUER_ID_ASC', - TransferCompliancesByUpdatedBlockIdDistinctCountClaimIssuerIdDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CLAIM_ISSUER_ID_DESC', - TransferCompliancesByUpdatedBlockIdDistinctCountClaimTypeAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CLAIM_TYPE_ASC', - TransferCompliancesByUpdatedBlockIdDistinctCountClaimTypeDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CLAIM_TYPE_DESC', - TransferCompliancesByUpdatedBlockIdDistinctCountClaimValueAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CLAIM_VALUE_ASC', - TransferCompliancesByUpdatedBlockIdDistinctCountClaimValueDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CLAIM_VALUE_DESC', - TransferCompliancesByUpdatedBlockIdDistinctCountCreatedAtAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - TransferCompliancesByUpdatedBlockIdDistinctCountCreatedAtDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - TransferCompliancesByUpdatedBlockIdDistinctCountCreatedBlockIdAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - TransferCompliancesByUpdatedBlockIdDistinctCountCreatedBlockIdDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - TransferCompliancesByUpdatedBlockIdDistinctCountIdAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - TransferCompliancesByUpdatedBlockIdDistinctCountIdDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - TransferCompliancesByUpdatedBlockIdDistinctCountMaxAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_MAX_ASC', - TransferCompliancesByUpdatedBlockIdDistinctCountMaxDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_MAX_DESC', - TransferCompliancesByUpdatedBlockIdDistinctCountMinAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_MIN_ASC', - TransferCompliancesByUpdatedBlockIdDistinctCountMinDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_MIN_DESC', - TransferCompliancesByUpdatedBlockIdDistinctCountStatTypeIdAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_STAT_TYPE_ID_ASC', - TransferCompliancesByUpdatedBlockIdDistinctCountStatTypeIdDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_STAT_TYPE_ID_DESC', - TransferCompliancesByUpdatedBlockIdDistinctCountTypeAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TYPE_ASC', - TransferCompliancesByUpdatedBlockIdDistinctCountTypeDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TYPE_DESC', - TransferCompliancesByUpdatedBlockIdDistinctCountUpdatedAtAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - TransferCompliancesByUpdatedBlockIdDistinctCountUpdatedAtDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - TransferCompliancesByUpdatedBlockIdDistinctCountUpdatedBlockIdAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - TransferCompliancesByUpdatedBlockIdDistinctCountUpdatedBlockIdDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - TransferCompliancesByUpdatedBlockIdDistinctCountValueAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_VALUE_ASC', - TransferCompliancesByUpdatedBlockIdDistinctCountValueDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_VALUE_DESC', - TransferCompliancesByUpdatedBlockIdMaxAssetIdAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_MAX_ASSET_ID_ASC', - TransferCompliancesByUpdatedBlockIdMaxAssetIdDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_MAX_ASSET_ID_DESC', - TransferCompliancesByUpdatedBlockIdMaxClaimIssuerIdAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_MAX_CLAIM_ISSUER_ID_ASC', - TransferCompliancesByUpdatedBlockIdMaxClaimIssuerIdDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_MAX_CLAIM_ISSUER_ID_DESC', - TransferCompliancesByUpdatedBlockIdMaxClaimTypeAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_MAX_CLAIM_TYPE_ASC', - TransferCompliancesByUpdatedBlockIdMaxClaimTypeDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_MAX_CLAIM_TYPE_DESC', - TransferCompliancesByUpdatedBlockIdMaxClaimValueAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_MAX_CLAIM_VALUE_ASC', - TransferCompliancesByUpdatedBlockIdMaxClaimValueDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_MAX_CLAIM_VALUE_DESC', - TransferCompliancesByUpdatedBlockIdMaxCreatedAtAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_ASC', - TransferCompliancesByUpdatedBlockIdMaxCreatedAtDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_DESC', - TransferCompliancesByUpdatedBlockIdMaxCreatedBlockIdAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - TransferCompliancesByUpdatedBlockIdMaxCreatedBlockIdDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - TransferCompliancesByUpdatedBlockIdMaxIdAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_MAX_ID_ASC', - TransferCompliancesByUpdatedBlockIdMaxIdDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_MAX_ID_DESC', - TransferCompliancesByUpdatedBlockIdMaxMaxAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_MAX_MAX_ASC', - TransferCompliancesByUpdatedBlockIdMaxMaxDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_MAX_MAX_DESC', - TransferCompliancesByUpdatedBlockIdMaxMinAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_MAX_MIN_ASC', - TransferCompliancesByUpdatedBlockIdMaxMinDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_MAX_MIN_DESC', - TransferCompliancesByUpdatedBlockIdMaxStatTypeIdAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_MAX_STAT_TYPE_ID_ASC', - TransferCompliancesByUpdatedBlockIdMaxStatTypeIdDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_MAX_STAT_TYPE_ID_DESC', - TransferCompliancesByUpdatedBlockIdMaxTypeAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_MAX_TYPE_ASC', - TransferCompliancesByUpdatedBlockIdMaxTypeDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_MAX_TYPE_DESC', - TransferCompliancesByUpdatedBlockIdMaxUpdatedAtAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - TransferCompliancesByUpdatedBlockIdMaxUpdatedAtDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - TransferCompliancesByUpdatedBlockIdMaxUpdatedBlockIdAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - TransferCompliancesByUpdatedBlockIdMaxUpdatedBlockIdDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - TransferCompliancesByUpdatedBlockIdMaxValueAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_MAX_VALUE_ASC', - TransferCompliancesByUpdatedBlockIdMaxValueDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_MAX_VALUE_DESC', - TransferCompliancesByUpdatedBlockIdMinAssetIdAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_MIN_ASSET_ID_ASC', - TransferCompliancesByUpdatedBlockIdMinAssetIdDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_MIN_ASSET_ID_DESC', - TransferCompliancesByUpdatedBlockIdMinClaimIssuerIdAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_MIN_CLAIM_ISSUER_ID_ASC', - TransferCompliancesByUpdatedBlockIdMinClaimIssuerIdDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_MIN_CLAIM_ISSUER_ID_DESC', - TransferCompliancesByUpdatedBlockIdMinClaimTypeAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_MIN_CLAIM_TYPE_ASC', - TransferCompliancesByUpdatedBlockIdMinClaimTypeDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_MIN_CLAIM_TYPE_DESC', - TransferCompliancesByUpdatedBlockIdMinClaimValueAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_MIN_CLAIM_VALUE_ASC', - TransferCompliancesByUpdatedBlockIdMinClaimValueDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_MIN_CLAIM_VALUE_DESC', - TransferCompliancesByUpdatedBlockIdMinCreatedAtAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_ASC', - TransferCompliancesByUpdatedBlockIdMinCreatedAtDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_DESC', - TransferCompliancesByUpdatedBlockIdMinCreatedBlockIdAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - TransferCompliancesByUpdatedBlockIdMinCreatedBlockIdDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - TransferCompliancesByUpdatedBlockIdMinIdAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_MIN_ID_ASC', - TransferCompliancesByUpdatedBlockIdMinIdDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_MIN_ID_DESC', - TransferCompliancesByUpdatedBlockIdMinMaxAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_MIN_MAX_ASC', - TransferCompliancesByUpdatedBlockIdMinMaxDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_MIN_MAX_DESC', - TransferCompliancesByUpdatedBlockIdMinMinAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_MIN_MIN_ASC', - TransferCompliancesByUpdatedBlockIdMinMinDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_MIN_MIN_DESC', - TransferCompliancesByUpdatedBlockIdMinStatTypeIdAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_MIN_STAT_TYPE_ID_ASC', - TransferCompliancesByUpdatedBlockIdMinStatTypeIdDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_MIN_STAT_TYPE_ID_DESC', - TransferCompliancesByUpdatedBlockIdMinTypeAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_MIN_TYPE_ASC', - TransferCompliancesByUpdatedBlockIdMinTypeDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_MIN_TYPE_DESC', - TransferCompliancesByUpdatedBlockIdMinUpdatedAtAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - TransferCompliancesByUpdatedBlockIdMinUpdatedAtDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - TransferCompliancesByUpdatedBlockIdMinUpdatedBlockIdAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - TransferCompliancesByUpdatedBlockIdMinUpdatedBlockIdDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - TransferCompliancesByUpdatedBlockIdMinValueAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_MIN_VALUE_ASC', - TransferCompliancesByUpdatedBlockIdMinValueDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_MIN_VALUE_DESC', - TransferCompliancesByUpdatedBlockIdStddevPopulationAssetIdAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_ASC', - TransferCompliancesByUpdatedBlockIdStddevPopulationAssetIdDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_DESC', - TransferCompliancesByUpdatedBlockIdStddevPopulationClaimIssuerIdAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CLAIM_ISSUER_ID_ASC', - TransferCompliancesByUpdatedBlockIdStddevPopulationClaimIssuerIdDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CLAIM_ISSUER_ID_DESC', - TransferCompliancesByUpdatedBlockIdStddevPopulationClaimTypeAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CLAIM_TYPE_ASC', - TransferCompliancesByUpdatedBlockIdStddevPopulationClaimTypeDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CLAIM_TYPE_DESC', - TransferCompliancesByUpdatedBlockIdStddevPopulationClaimValueAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CLAIM_VALUE_ASC', - TransferCompliancesByUpdatedBlockIdStddevPopulationClaimValueDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CLAIM_VALUE_DESC', - TransferCompliancesByUpdatedBlockIdStddevPopulationCreatedAtAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - TransferCompliancesByUpdatedBlockIdStddevPopulationCreatedAtDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - TransferCompliancesByUpdatedBlockIdStddevPopulationCreatedBlockIdAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - TransferCompliancesByUpdatedBlockIdStddevPopulationCreatedBlockIdDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - TransferCompliancesByUpdatedBlockIdStddevPopulationIdAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - TransferCompliancesByUpdatedBlockIdStddevPopulationIdDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - TransferCompliancesByUpdatedBlockIdStddevPopulationMaxAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_MAX_ASC', - TransferCompliancesByUpdatedBlockIdStddevPopulationMaxDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_MAX_DESC', - TransferCompliancesByUpdatedBlockIdStddevPopulationMinAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_MIN_ASC', - TransferCompliancesByUpdatedBlockIdStddevPopulationMinDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_MIN_DESC', - TransferCompliancesByUpdatedBlockIdStddevPopulationStatTypeIdAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_STAT_TYPE_ID_ASC', - TransferCompliancesByUpdatedBlockIdStddevPopulationStatTypeIdDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_STAT_TYPE_ID_DESC', - TransferCompliancesByUpdatedBlockIdStddevPopulationTypeAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TYPE_ASC', - TransferCompliancesByUpdatedBlockIdStddevPopulationTypeDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TYPE_DESC', - TransferCompliancesByUpdatedBlockIdStddevPopulationUpdatedAtAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - TransferCompliancesByUpdatedBlockIdStddevPopulationUpdatedAtDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - TransferCompliancesByUpdatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - TransferCompliancesByUpdatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - TransferCompliancesByUpdatedBlockIdStddevPopulationValueAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_VALUE_ASC', - TransferCompliancesByUpdatedBlockIdStddevPopulationValueDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_VALUE_DESC', - TransferCompliancesByUpdatedBlockIdStddevSampleAssetIdAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_ASC', - TransferCompliancesByUpdatedBlockIdStddevSampleAssetIdDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_DESC', - TransferCompliancesByUpdatedBlockIdStddevSampleClaimIssuerIdAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CLAIM_ISSUER_ID_ASC', - TransferCompliancesByUpdatedBlockIdStddevSampleClaimIssuerIdDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CLAIM_ISSUER_ID_DESC', - TransferCompliancesByUpdatedBlockIdStddevSampleClaimTypeAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CLAIM_TYPE_ASC', - TransferCompliancesByUpdatedBlockIdStddevSampleClaimTypeDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CLAIM_TYPE_DESC', - TransferCompliancesByUpdatedBlockIdStddevSampleClaimValueAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CLAIM_VALUE_ASC', - TransferCompliancesByUpdatedBlockIdStddevSampleClaimValueDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CLAIM_VALUE_DESC', - TransferCompliancesByUpdatedBlockIdStddevSampleCreatedAtAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - TransferCompliancesByUpdatedBlockIdStddevSampleCreatedAtDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - TransferCompliancesByUpdatedBlockIdStddevSampleCreatedBlockIdAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - TransferCompliancesByUpdatedBlockIdStddevSampleCreatedBlockIdDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - TransferCompliancesByUpdatedBlockIdStddevSampleIdAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - TransferCompliancesByUpdatedBlockIdStddevSampleIdDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - TransferCompliancesByUpdatedBlockIdStddevSampleMaxAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_MAX_ASC', - TransferCompliancesByUpdatedBlockIdStddevSampleMaxDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_MAX_DESC', - TransferCompliancesByUpdatedBlockIdStddevSampleMinAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_MIN_ASC', - TransferCompliancesByUpdatedBlockIdStddevSampleMinDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_MIN_DESC', - TransferCompliancesByUpdatedBlockIdStddevSampleStatTypeIdAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_STAT_TYPE_ID_ASC', - TransferCompliancesByUpdatedBlockIdStddevSampleStatTypeIdDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_STAT_TYPE_ID_DESC', - TransferCompliancesByUpdatedBlockIdStddevSampleTypeAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TYPE_ASC', - TransferCompliancesByUpdatedBlockIdStddevSampleTypeDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TYPE_DESC', - TransferCompliancesByUpdatedBlockIdStddevSampleUpdatedAtAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - TransferCompliancesByUpdatedBlockIdStddevSampleUpdatedAtDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - TransferCompliancesByUpdatedBlockIdStddevSampleUpdatedBlockIdAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - TransferCompliancesByUpdatedBlockIdStddevSampleUpdatedBlockIdDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - TransferCompliancesByUpdatedBlockIdStddevSampleValueAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_VALUE_ASC', - TransferCompliancesByUpdatedBlockIdStddevSampleValueDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_VALUE_DESC', - TransferCompliancesByUpdatedBlockIdSumAssetIdAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_SUM_ASSET_ID_ASC', - TransferCompliancesByUpdatedBlockIdSumAssetIdDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_SUM_ASSET_ID_DESC', - TransferCompliancesByUpdatedBlockIdSumClaimIssuerIdAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_SUM_CLAIM_ISSUER_ID_ASC', - TransferCompliancesByUpdatedBlockIdSumClaimIssuerIdDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_SUM_CLAIM_ISSUER_ID_DESC', - TransferCompliancesByUpdatedBlockIdSumClaimTypeAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_SUM_CLAIM_TYPE_ASC', - TransferCompliancesByUpdatedBlockIdSumClaimTypeDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_SUM_CLAIM_TYPE_DESC', - TransferCompliancesByUpdatedBlockIdSumClaimValueAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_SUM_CLAIM_VALUE_ASC', - TransferCompliancesByUpdatedBlockIdSumClaimValueDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_SUM_CLAIM_VALUE_DESC', - TransferCompliancesByUpdatedBlockIdSumCreatedAtAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_ASC', - TransferCompliancesByUpdatedBlockIdSumCreatedAtDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_DESC', - TransferCompliancesByUpdatedBlockIdSumCreatedBlockIdAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - TransferCompliancesByUpdatedBlockIdSumCreatedBlockIdDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - TransferCompliancesByUpdatedBlockIdSumIdAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_SUM_ID_ASC', - TransferCompliancesByUpdatedBlockIdSumIdDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_SUM_ID_DESC', - TransferCompliancesByUpdatedBlockIdSumMaxAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_SUM_MAX_ASC', - TransferCompliancesByUpdatedBlockIdSumMaxDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_SUM_MAX_DESC', - TransferCompliancesByUpdatedBlockIdSumMinAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_SUM_MIN_ASC', - TransferCompliancesByUpdatedBlockIdSumMinDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_SUM_MIN_DESC', - TransferCompliancesByUpdatedBlockIdSumStatTypeIdAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_SUM_STAT_TYPE_ID_ASC', - TransferCompliancesByUpdatedBlockIdSumStatTypeIdDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_SUM_STAT_TYPE_ID_DESC', - TransferCompliancesByUpdatedBlockIdSumTypeAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_SUM_TYPE_ASC', - TransferCompliancesByUpdatedBlockIdSumTypeDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_SUM_TYPE_DESC', - TransferCompliancesByUpdatedBlockIdSumUpdatedAtAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - TransferCompliancesByUpdatedBlockIdSumUpdatedAtDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - TransferCompliancesByUpdatedBlockIdSumUpdatedBlockIdAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - TransferCompliancesByUpdatedBlockIdSumUpdatedBlockIdDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - TransferCompliancesByUpdatedBlockIdSumValueAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_SUM_VALUE_ASC', - TransferCompliancesByUpdatedBlockIdSumValueDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_SUM_VALUE_DESC', - TransferCompliancesByUpdatedBlockIdVariancePopulationAssetIdAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_ASC', - TransferCompliancesByUpdatedBlockIdVariancePopulationAssetIdDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_DESC', - TransferCompliancesByUpdatedBlockIdVariancePopulationClaimIssuerIdAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CLAIM_ISSUER_ID_ASC', - TransferCompliancesByUpdatedBlockIdVariancePopulationClaimIssuerIdDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CLAIM_ISSUER_ID_DESC', - TransferCompliancesByUpdatedBlockIdVariancePopulationClaimTypeAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CLAIM_TYPE_ASC', - TransferCompliancesByUpdatedBlockIdVariancePopulationClaimTypeDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CLAIM_TYPE_DESC', - TransferCompliancesByUpdatedBlockIdVariancePopulationClaimValueAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CLAIM_VALUE_ASC', - TransferCompliancesByUpdatedBlockIdVariancePopulationClaimValueDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CLAIM_VALUE_DESC', - TransferCompliancesByUpdatedBlockIdVariancePopulationCreatedAtAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - TransferCompliancesByUpdatedBlockIdVariancePopulationCreatedAtDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - TransferCompliancesByUpdatedBlockIdVariancePopulationCreatedBlockIdAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - TransferCompliancesByUpdatedBlockIdVariancePopulationCreatedBlockIdDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - TransferCompliancesByUpdatedBlockIdVariancePopulationIdAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - TransferCompliancesByUpdatedBlockIdVariancePopulationIdDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - TransferCompliancesByUpdatedBlockIdVariancePopulationMaxAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_MAX_ASC', - TransferCompliancesByUpdatedBlockIdVariancePopulationMaxDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_MAX_DESC', - TransferCompliancesByUpdatedBlockIdVariancePopulationMinAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_MIN_ASC', - TransferCompliancesByUpdatedBlockIdVariancePopulationMinDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_MIN_DESC', - TransferCompliancesByUpdatedBlockIdVariancePopulationStatTypeIdAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_STAT_TYPE_ID_ASC', - TransferCompliancesByUpdatedBlockIdVariancePopulationStatTypeIdDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_STAT_TYPE_ID_DESC', - TransferCompliancesByUpdatedBlockIdVariancePopulationTypeAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TYPE_ASC', - TransferCompliancesByUpdatedBlockIdVariancePopulationTypeDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TYPE_DESC', - TransferCompliancesByUpdatedBlockIdVariancePopulationUpdatedAtAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - TransferCompliancesByUpdatedBlockIdVariancePopulationUpdatedAtDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - TransferCompliancesByUpdatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - TransferCompliancesByUpdatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - TransferCompliancesByUpdatedBlockIdVariancePopulationValueAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_VALUE_ASC', - TransferCompliancesByUpdatedBlockIdVariancePopulationValueDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_VALUE_DESC', - TransferCompliancesByUpdatedBlockIdVarianceSampleAssetIdAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_ASC', - TransferCompliancesByUpdatedBlockIdVarianceSampleAssetIdDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_DESC', - TransferCompliancesByUpdatedBlockIdVarianceSampleClaimIssuerIdAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CLAIM_ISSUER_ID_ASC', - TransferCompliancesByUpdatedBlockIdVarianceSampleClaimIssuerIdDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CLAIM_ISSUER_ID_DESC', - TransferCompliancesByUpdatedBlockIdVarianceSampleClaimTypeAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CLAIM_TYPE_ASC', - TransferCompliancesByUpdatedBlockIdVarianceSampleClaimTypeDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CLAIM_TYPE_DESC', - TransferCompliancesByUpdatedBlockIdVarianceSampleClaimValueAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CLAIM_VALUE_ASC', - TransferCompliancesByUpdatedBlockIdVarianceSampleClaimValueDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CLAIM_VALUE_DESC', - TransferCompliancesByUpdatedBlockIdVarianceSampleCreatedAtAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - TransferCompliancesByUpdatedBlockIdVarianceSampleCreatedAtDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - TransferCompliancesByUpdatedBlockIdVarianceSampleCreatedBlockIdAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - TransferCompliancesByUpdatedBlockIdVarianceSampleCreatedBlockIdDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - TransferCompliancesByUpdatedBlockIdVarianceSampleIdAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - TransferCompliancesByUpdatedBlockIdVarianceSampleIdDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - TransferCompliancesByUpdatedBlockIdVarianceSampleMaxAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_MAX_ASC', - TransferCompliancesByUpdatedBlockIdVarianceSampleMaxDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_MAX_DESC', - TransferCompliancesByUpdatedBlockIdVarianceSampleMinAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_MIN_ASC', - TransferCompliancesByUpdatedBlockIdVarianceSampleMinDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_MIN_DESC', - TransferCompliancesByUpdatedBlockIdVarianceSampleStatTypeIdAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_STAT_TYPE_ID_ASC', - TransferCompliancesByUpdatedBlockIdVarianceSampleStatTypeIdDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_STAT_TYPE_ID_DESC', - TransferCompliancesByUpdatedBlockIdVarianceSampleTypeAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TYPE_ASC', - TransferCompliancesByUpdatedBlockIdVarianceSampleTypeDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TYPE_DESC', - TransferCompliancesByUpdatedBlockIdVarianceSampleUpdatedAtAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - TransferCompliancesByUpdatedBlockIdVarianceSampleUpdatedAtDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - TransferCompliancesByUpdatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - TransferCompliancesByUpdatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - TransferCompliancesByUpdatedBlockIdVarianceSampleValueAsc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_VALUE_ASC', - TransferCompliancesByUpdatedBlockIdVarianceSampleValueDesc = 'TRANSFER_COMPLIANCES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_VALUE_DESC', - TransferComplianceExemptionsByCreatedBlockIdAverageAssetIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_AVERAGE_ASSET_ID_ASC', - TransferComplianceExemptionsByCreatedBlockIdAverageAssetIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_AVERAGE_ASSET_ID_DESC', - TransferComplianceExemptionsByCreatedBlockIdAverageClaimTypeAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_AVERAGE_CLAIM_TYPE_ASC', - TransferComplianceExemptionsByCreatedBlockIdAverageClaimTypeDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_AVERAGE_CLAIM_TYPE_DESC', - TransferComplianceExemptionsByCreatedBlockIdAverageCreatedAtAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - TransferComplianceExemptionsByCreatedBlockIdAverageCreatedAtDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - TransferComplianceExemptionsByCreatedBlockIdAverageCreatedBlockIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - TransferComplianceExemptionsByCreatedBlockIdAverageCreatedBlockIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - TransferComplianceExemptionsByCreatedBlockIdAverageExemptedEntityIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_AVERAGE_EXEMPTED_ENTITY_ID_ASC', - TransferComplianceExemptionsByCreatedBlockIdAverageExemptedEntityIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_AVERAGE_EXEMPTED_ENTITY_ID_DESC', - TransferComplianceExemptionsByCreatedBlockIdAverageIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_AVERAGE_ID_ASC', - TransferComplianceExemptionsByCreatedBlockIdAverageIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_AVERAGE_ID_DESC', - TransferComplianceExemptionsByCreatedBlockIdAverageOpTypeAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_AVERAGE_OP_TYPE_ASC', - TransferComplianceExemptionsByCreatedBlockIdAverageOpTypeDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_AVERAGE_OP_TYPE_DESC', - TransferComplianceExemptionsByCreatedBlockIdAverageUpdatedAtAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - TransferComplianceExemptionsByCreatedBlockIdAverageUpdatedAtDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - TransferComplianceExemptionsByCreatedBlockIdAverageUpdatedBlockIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - TransferComplianceExemptionsByCreatedBlockIdAverageUpdatedBlockIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - TransferComplianceExemptionsByCreatedBlockIdCountAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_COUNT_ASC', - TransferComplianceExemptionsByCreatedBlockIdCountDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_COUNT_DESC', - TransferComplianceExemptionsByCreatedBlockIdDistinctCountAssetIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_ASC', - TransferComplianceExemptionsByCreatedBlockIdDistinctCountAssetIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_DESC', - TransferComplianceExemptionsByCreatedBlockIdDistinctCountClaimTypeAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CLAIM_TYPE_ASC', - TransferComplianceExemptionsByCreatedBlockIdDistinctCountClaimTypeDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CLAIM_TYPE_DESC', - TransferComplianceExemptionsByCreatedBlockIdDistinctCountCreatedAtAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - TransferComplianceExemptionsByCreatedBlockIdDistinctCountCreatedAtDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - TransferComplianceExemptionsByCreatedBlockIdDistinctCountCreatedBlockIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - TransferComplianceExemptionsByCreatedBlockIdDistinctCountCreatedBlockIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - TransferComplianceExemptionsByCreatedBlockIdDistinctCountExemptedEntityIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EXEMPTED_ENTITY_ID_ASC', - TransferComplianceExemptionsByCreatedBlockIdDistinctCountExemptedEntityIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EXEMPTED_ENTITY_ID_DESC', - TransferComplianceExemptionsByCreatedBlockIdDistinctCountIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - TransferComplianceExemptionsByCreatedBlockIdDistinctCountIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - TransferComplianceExemptionsByCreatedBlockIdDistinctCountOpTypeAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_OP_TYPE_ASC', - TransferComplianceExemptionsByCreatedBlockIdDistinctCountOpTypeDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_OP_TYPE_DESC', - TransferComplianceExemptionsByCreatedBlockIdDistinctCountUpdatedAtAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - TransferComplianceExemptionsByCreatedBlockIdDistinctCountUpdatedAtDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - TransferComplianceExemptionsByCreatedBlockIdDistinctCountUpdatedBlockIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - TransferComplianceExemptionsByCreatedBlockIdDistinctCountUpdatedBlockIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - TransferComplianceExemptionsByCreatedBlockIdMaxAssetIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_MAX_ASSET_ID_ASC', - TransferComplianceExemptionsByCreatedBlockIdMaxAssetIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_MAX_ASSET_ID_DESC', - TransferComplianceExemptionsByCreatedBlockIdMaxClaimTypeAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_MAX_CLAIM_TYPE_ASC', - TransferComplianceExemptionsByCreatedBlockIdMaxClaimTypeDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_MAX_CLAIM_TYPE_DESC', - TransferComplianceExemptionsByCreatedBlockIdMaxCreatedAtAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_ASC', - TransferComplianceExemptionsByCreatedBlockIdMaxCreatedAtDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_DESC', - TransferComplianceExemptionsByCreatedBlockIdMaxCreatedBlockIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - TransferComplianceExemptionsByCreatedBlockIdMaxCreatedBlockIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - TransferComplianceExemptionsByCreatedBlockIdMaxExemptedEntityIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_MAX_EXEMPTED_ENTITY_ID_ASC', - TransferComplianceExemptionsByCreatedBlockIdMaxExemptedEntityIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_MAX_EXEMPTED_ENTITY_ID_DESC', - TransferComplianceExemptionsByCreatedBlockIdMaxIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_MAX_ID_ASC', - TransferComplianceExemptionsByCreatedBlockIdMaxIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_MAX_ID_DESC', - TransferComplianceExemptionsByCreatedBlockIdMaxOpTypeAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_MAX_OP_TYPE_ASC', - TransferComplianceExemptionsByCreatedBlockIdMaxOpTypeDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_MAX_OP_TYPE_DESC', - TransferComplianceExemptionsByCreatedBlockIdMaxUpdatedAtAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - TransferComplianceExemptionsByCreatedBlockIdMaxUpdatedAtDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - TransferComplianceExemptionsByCreatedBlockIdMaxUpdatedBlockIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - TransferComplianceExemptionsByCreatedBlockIdMaxUpdatedBlockIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - TransferComplianceExemptionsByCreatedBlockIdMinAssetIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_MIN_ASSET_ID_ASC', - TransferComplianceExemptionsByCreatedBlockIdMinAssetIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_MIN_ASSET_ID_DESC', - TransferComplianceExemptionsByCreatedBlockIdMinClaimTypeAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_MIN_CLAIM_TYPE_ASC', - TransferComplianceExemptionsByCreatedBlockIdMinClaimTypeDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_MIN_CLAIM_TYPE_DESC', - TransferComplianceExemptionsByCreatedBlockIdMinCreatedAtAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_ASC', - TransferComplianceExemptionsByCreatedBlockIdMinCreatedAtDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_DESC', - TransferComplianceExemptionsByCreatedBlockIdMinCreatedBlockIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - TransferComplianceExemptionsByCreatedBlockIdMinCreatedBlockIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - TransferComplianceExemptionsByCreatedBlockIdMinExemptedEntityIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_MIN_EXEMPTED_ENTITY_ID_ASC', - TransferComplianceExemptionsByCreatedBlockIdMinExemptedEntityIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_MIN_EXEMPTED_ENTITY_ID_DESC', - TransferComplianceExemptionsByCreatedBlockIdMinIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_MIN_ID_ASC', - TransferComplianceExemptionsByCreatedBlockIdMinIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_MIN_ID_DESC', - TransferComplianceExemptionsByCreatedBlockIdMinOpTypeAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_MIN_OP_TYPE_ASC', - TransferComplianceExemptionsByCreatedBlockIdMinOpTypeDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_MIN_OP_TYPE_DESC', - TransferComplianceExemptionsByCreatedBlockIdMinUpdatedAtAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - TransferComplianceExemptionsByCreatedBlockIdMinUpdatedAtDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - TransferComplianceExemptionsByCreatedBlockIdMinUpdatedBlockIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - TransferComplianceExemptionsByCreatedBlockIdMinUpdatedBlockIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - TransferComplianceExemptionsByCreatedBlockIdStddevPopulationAssetIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_ASC', - TransferComplianceExemptionsByCreatedBlockIdStddevPopulationAssetIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_DESC', - TransferComplianceExemptionsByCreatedBlockIdStddevPopulationClaimTypeAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CLAIM_TYPE_ASC', - TransferComplianceExemptionsByCreatedBlockIdStddevPopulationClaimTypeDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CLAIM_TYPE_DESC', - TransferComplianceExemptionsByCreatedBlockIdStddevPopulationCreatedAtAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - TransferComplianceExemptionsByCreatedBlockIdStddevPopulationCreatedAtDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - TransferComplianceExemptionsByCreatedBlockIdStddevPopulationCreatedBlockIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - TransferComplianceExemptionsByCreatedBlockIdStddevPopulationCreatedBlockIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - TransferComplianceExemptionsByCreatedBlockIdStddevPopulationExemptedEntityIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EXEMPTED_ENTITY_ID_ASC', - TransferComplianceExemptionsByCreatedBlockIdStddevPopulationExemptedEntityIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EXEMPTED_ENTITY_ID_DESC', - TransferComplianceExemptionsByCreatedBlockIdStddevPopulationIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - TransferComplianceExemptionsByCreatedBlockIdStddevPopulationIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - TransferComplianceExemptionsByCreatedBlockIdStddevPopulationOpTypeAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_OP_TYPE_ASC', - TransferComplianceExemptionsByCreatedBlockIdStddevPopulationOpTypeDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_OP_TYPE_DESC', - TransferComplianceExemptionsByCreatedBlockIdStddevPopulationUpdatedAtAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - TransferComplianceExemptionsByCreatedBlockIdStddevPopulationUpdatedAtDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - TransferComplianceExemptionsByCreatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - TransferComplianceExemptionsByCreatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - TransferComplianceExemptionsByCreatedBlockIdStddevSampleAssetIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_ASC', - TransferComplianceExemptionsByCreatedBlockIdStddevSampleAssetIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_DESC', - TransferComplianceExemptionsByCreatedBlockIdStddevSampleClaimTypeAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CLAIM_TYPE_ASC', - TransferComplianceExemptionsByCreatedBlockIdStddevSampleClaimTypeDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CLAIM_TYPE_DESC', - TransferComplianceExemptionsByCreatedBlockIdStddevSampleCreatedAtAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - TransferComplianceExemptionsByCreatedBlockIdStddevSampleCreatedAtDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - TransferComplianceExemptionsByCreatedBlockIdStddevSampleCreatedBlockIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - TransferComplianceExemptionsByCreatedBlockIdStddevSampleCreatedBlockIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - TransferComplianceExemptionsByCreatedBlockIdStddevSampleExemptedEntityIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EXEMPTED_ENTITY_ID_ASC', - TransferComplianceExemptionsByCreatedBlockIdStddevSampleExemptedEntityIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EXEMPTED_ENTITY_ID_DESC', - TransferComplianceExemptionsByCreatedBlockIdStddevSampleIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - TransferComplianceExemptionsByCreatedBlockIdStddevSampleIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - TransferComplianceExemptionsByCreatedBlockIdStddevSampleOpTypeAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_OP_TYPE_ASC', - TransferComplianceExemptionsByCreatedBlockIdStddevSampleOpTypeDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_OP_TYPE_DESC', - TransferComplianceExemptionsByCreatedBlockIdStddevSampleUpdatedAtAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - TransferComplianceExemptionsByCreatedBlockIdStddevSampleUpdatedAtDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - TransferComplianceExemptionsByCreatedBlockIdStddevSampleUpdatedBlockIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - TransferComplianceExemptionsByCreatedBlockIdStddevSampleUpdatedBlockIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - TransferComplianceExemptionsByCreatedBlockIdSumAssetIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_SUM_ASSET_ID_ASC', - TransferComplianceExemptionsByCreatedBlockIdSumAssetIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_SUM_ASSET_ID_DESC', - TransferComplianceExemptionsByCreatedBlockIdSumClaimTypeAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_SUM_CLAIM_TYPE_ASC', - TransferComplianceExemptionsByCreatedBlockIdSumClaimTypeDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_SUM_CLAIM_TYPE_DESC', - TransferComplianceExemptionsByCreatedBlockIdSumCreatedAtAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_ASC', - TransferComplianceExemptionsByCreatedBlockIdSumCreatedAtDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_DESC', - TransferComplianceExemptionsByCreatedBlockIdSumCreatedBlockIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - TransferComplianceExemptionsByCreatedBlockIdSumCreatedBlockIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - TransferComplianceExemptionsByCreatedBlockIdSumExemptedEntityIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_SUM_EXEMPTED_ENTITY_ID_ASC', - TransferComplianceExemptionsByCreatedBlockIdSumExemptedEntityIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_SUM_EXEMPTED_ENTITY_ID_DESC', - TransferComplianceExemptionsByCreatedBlockIdSumIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_SUM_ID_ASC', - TransferComplianceExemptionsByCreatedBlockIdSumIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_SUM_ID_DESC', - TransferComplianceExemptionsByCreatedBlockIdSumOpTypeAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_SUM_OP_TYPE_ASC', - TransferComplianceExemptionsByCreatedBlockIdSumOpTypeDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_SUM_OP_TYPE_DESC', - TransferComplianceExemptionsByCreatedBlockIdSumUpdatedAtAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - TransferComplianceExemptionsByCreatedBlockIdSumUpdatedAtDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - TransferComplianceExemptionsByCreatedBlockIdSumUpdatedBlockIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - TransferComplianceExemptionsByCreatedBlockIdSumUpdatedBlockIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - TransferComplianceExemptionsByCreatedBlockIdVariancePopulationAssetIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_ASC', - TransferComplianceExemptionsByCreatedBlockIdVariancePopulationAssetIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_DESC', - TransferComplianceExemptionsByCreatedBlockIdVariancePopulationClaimTypeAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CLAIM_TYPE_ASC', - TransferComplianceExemptionsByCreatedBlockIdVariancePopulationClaimTypeDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CLAIM_TYPE_DESC', - TransferComplianceExemptionsByCreatedBlockIdVariancePopulationCreatedAtAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - TransferComplianceExemptionsByCreatedBlockIdVariancePopulationCreatedAtDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - TransferComplianceExemptionsByCreatedBlockIdVariancePopulationCreatedBlockIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - TransferComplianceExemptionsByCreatedBlockIdVariancePopulationCreatedBlockIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - TransferComplianceExemptionsByCreatedBlockIdVariancePopulationExemptedEntityIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EXEMPTED_ENTITY_ID_ASC', - TransferComplianceExemptionsByCreatedBlockIdVariancePopulationExemptedEntityIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EXEMPTED_ENTITY_ID_DESC', - TransferComplianceExemptionsByCreatedBlockIdVariancePopulationIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - TransferComplianceExemptionsByCreatedBlockIdVariancePopulationIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - TransferComplianceExemptionsByCreatedBlockIdVariancePopulationOpTypeAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_OP_TYPE_ASC', - TransferComplianceExemptionsByCreatedBlockIdVariancePopulationOpTypeDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_OP_TYPE_DESC', - TransferComplianceExemptionsByCreatedBlockIdVariancePopulationUpdatedAtAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - TransferComplianceExemptionsByCreatedBlockIdVariancePopulationUpdatedAtDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - TransferComplianceExemptionsByCreatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - TransferComplianceExemptionsByCreatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - TransferComplianceExemptionsByCreatedBlockIdVarianceSampleAssetIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_ASC', - TransferComplianceExemptionsByCreatedBlockIdVarianceSampleAssetIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_DESC', - TransferComplianceExemptionsByCreatedBlockIdVarianceSampleClaimTypeAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CLAIM_TYPE_ASC', - TransferComplianceExemptionsByCreatedBlockIdVarianceSampleClaimTypeDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CLAIM_TYPE_DESC', - TransferComplianceExemptionsByCreatedBlockIdVarianceSampleCreatedAtAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - TransferComplianceExemptionsByCreatedBlockIdVarianceSampleCreatedAtDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - TransferComplianceExemptionsByCreatedBlockIdVarianceSampleCreatedBlockIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - TransferComplianceExemptionsByCreatedBlockIdVarianceSampleCreatedBlockIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - TransferComplianceExemptionsByCreatedBlockIdVarianceSampleExemptedEntityIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EXEMPTED_ENTITY_ID_ASC', - TransferComplianceExemptionsByCreatedBlockIdVarianceSampleExemptedEntityIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EXEMPTED_ENTITY_ID_DESC', - TransferComplianceExemptionsByCreatedBlockIdVarianceSampleIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - TransferComplianceExemptionsByCreatedBlockIdVarianceSampleIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - TransferComplianceExemptionsByCreatedBlockIdVarianceSampleOpTypeAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_OP_TYPE_ASC', - TransferComplianceExemptionsByCreatedBlockIdVarianceSampleOpTypeDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_OP_TYPE_DESC', - TransferComplianceExemptionsByCreatedBlockIdVarianceSampleUpdatedAtAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - TransferComplianceExemptionsByCreatedBlockIdVarianceSampleUpdatedAtDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - TransferComplianceExemptionsByCreatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - TransferComplianceExemptionsByCreatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - TransferComplianceExemptionsByUpdatedBlockIdAverageAssetIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_ASSET_ID_ASC', - TransferComplianceExemptionsByUpdatedBlockIdAverageAssetIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_ASSET_ID_DESC', - TransferComplianceExemptionsByUpdatedBlockIdAverageClaimTypeAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_CLAIM_TYPE_ASC', - TransferComplianceExemptionsByUpdatedBlockIdAverageClaimTypeDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_CLAIM_TYPE_DESC', - TransferComplianceExemptionsByUpdatedBlockIdAverageCreatedAtAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - TransferComplianceExemptionsByUpdatedBlockIdAverageCreatedAtDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - TransferComplianceExemptionsByUpdatedBlockIdAverageCreatedBlockIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - TransferComplianceExemptionsByUpdatedBlockIdAverageCreatedBlockIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - TransferComplianceExemptionsByUpdatedBlockIdAverageExemptedEntityIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_EXEMPTED_ENTITY_ID_ASC', - TransferComplianceExemptionsByUpdatedBlockIdAverageExemptedEntityIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_EXEMPTED_ENTITY_ID_DESC', - TransferComplianceExemptionsByUpdatedBlockIdAverageIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_ASC', - TransferComplianceExemptionsByUpdatedBlockIdAverageIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_DESC', - TransferComplianceExemptionsByUpdatedBlockIdAverageOpTypeAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_OP_TYPE_ASC', - TransferComplianceExemptionsByUpdatedBlockIdAverageOpTypeDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_OP_TYPE_DESC', - TransferComplianceExemptionsByUpdatedBlockIdAverageUpdatedAtAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - TransferComplianceExemptionsByUpdatedBlockIdAverageUpdatedAtDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - TransferComplianceExemptionsByUpdatedBlockIdAverageUpdatedBlockIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - TransferComplianceExemptionsByUpdatedBlockIdAverageUpdatedBlockIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - TransferComplianceExemptionsByUpdatedBlockIdCountAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_COUNT_ASC', - TransferComplianceExemptionsByUpdatedBlockIdCountDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_COUNT_DESC', - TransferComplianceExemptionsByUpdatedBlockIdDistinctCountAssetIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_ASC', - TransferComplianceExemptionsByUpdatedBlockIdDistinctCountAssetIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_DESC', - TransferComplianceExemptionsByUpdatedBlockIdDistinctCountClaimTypeAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CLAIM_TYPE_ASC', - TransferComplianceExemptionsByUpdatedBlockIdDistinctCountClaimTypeDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CLAIM_TYPE_DESC', - TransferComplianceExemptionsByUpdatedBlockIdDistinctCountCreatedAtAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - TransferComplianceExemptionsByUpdatedBlockIdDistinctCountCreatedAtDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - TransferComplianceExemptionsByUpdatedBlockIdDistinctCountCreatedBlockIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - TransferComplianceExemptionsByUpdatedBlockIdDistinctCountCreatedBlockIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - TransferComplianceExemptionsByUpdatedBlockIdDistinctCountExemptedEntityIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EXEMPTED_ENTITY_ID_ASC', - TransferComplianceExemptionsByUpdatedBlockIdDistinctCountExemptedEntityIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EXEMPTED_ENTITY_ID_DESC', - TransferComplianceExemptionsByUpdatedBlockIdDistinctCountIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - TransferComplianceExemptionsByUpdatedBlockIdDistinctCountIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - TransferComplianceExemptionsByUpdatedBlockIdDistinctCountOpTypeAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_OP_TYPE_ASC', - TransferComplianceExemptionsByUpdatedBlockIdDistinctCountOpTypeDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_OP_TYPE_DESC', - TransferComplianceExemptionsByUpdatedBlockIdDistinctCountUpdatedAtAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - TransferComplianceExemptionsByUpdatedBlockIdDistinctCountUpdatedAtDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - TransferComplianceExemptionsByUpdatedBlockIdDistinctCountUpdatedBlockIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - TransferComplianceExemptionsByUpdatedBlockIdDistinctCountUpdatedBlockIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - TransferComplianceExemptionsByUpdatedBlockIdMaxAssetIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_MAX_ASSET_ID_ASC', - TransferComplianceExemptionsByUpdatedBlockIdMaxAssetIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_MAX_ASSET_ID_DESC', - TransferComplianceExemptionsByUpdatedBlockIdMaxClaimTypeAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_MAX_CLAIM_TYPE_ASC', - TransferComplianceExemptionsByUpdatedBlockIdMaxClaimTypeDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_MAX_CLAIM_TYPE_DESC', - TransferComplianceExemptionsByUpdatedBlockIdMaxCreatedAtAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_ASC', - TransferComplianceExemptionsByUpdatedBlockIdMaxCreatedAtDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_DESC', - TransferComplianceExemptionsByUpdatedBlockIdMaxCreatedBlockIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - TransferComplianceExemptionsByUpdatedBlockIdMaxCreatedBlockIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - TransferComplianceExemptionsByUpdatedBlockIdMaxExemptedEntityIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_MAX_EXEMPTED_ENTITY_ID_ASC', - TransferComplianceExemptionsByUpdatedBlockIdMaxExemptedEntityIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_MAX_EXEMPTED_ENTITY_ID_DESC', - TransferComplianceExemptionsByUpdatedBlockIdMaxIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_MAX_ID_ASC', - TransferComplianceExemptionsByUpdatedBlockIdMaxIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_MAX_ID_DESC', - TransferComplianceExemptionsByUpdatedBlockIdMaxOpTypeAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_MAX_OP_TYPE_ASC', - TransferComplianceExemptionsByUpdatedBlockIdMaxOpTypeDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_MAX_OP_TYPE_DESC', - TransferComplianceExemptionsByUpdatedBlockIdMaxUpdatedAtAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - TransferComplianceExemptionsByUpdatedBlockIdMaxUpdatedAtDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - TransferComplianceExemptionsByUpdatedBlockIdMaxUpdatedBlockIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - TransferComplianceExemptionsByUpdatedBlockIdMaxUpdatedBlockIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - TransferComplianceExemptionsByUpdatedBlockIdMinAssetIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_MIN_ASSET_ID_ASC', - TransferComplianceExemptionsByUpdatedBlockIdMinAssetIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_MIN_ASSET_ID_DESC', - TransferComplianceExemptionsByUpdatedBlockIdMinClaimTypeAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_MIN_CLAIM_TYPE_ASC', - TransferComplianceExemptionsByUpdatedBlockIdMinClaimTypeDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_MIN_CLAIM_TYPE_DESC', - TransferComplianceExemptionsByUpdatedBlockIdMinCreatedAtAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_ASC', - TransferComplianceExemptionsByUpdatedBlockIdMinCreatedAtDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_DESC', - TransferComplianceExemptionsByUpdatedBlockIdMinCreatedBlockIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - TransferComplianceExemptionsByUpdatedBlockIdMinCreatedBlockIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - TransferComplianceExemptionsByUpdatedBlockIdMinExemptedEntityIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_MIN_EXEMPTED_ENTITY_ID_ASC', - TransferComplianceExemptionsByUpdatedBlockIdMinExemptedEntityIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_MIN_EXEMPTED_ENTITY_ID_DESC', - TransferComplianceExemptionsByUpdatedBlockIdMinIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_MIN_ID_ASC', - TransferComplianceExemptionsByUpdatedBlockIdMinIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_MIN_ID_DESC', - TransferComplianceExemptionsByUpdatedBlockIdMinOpTypeAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_MIN_OP_TYPE_ASC', - TransferComplianceExemptionsByUpdatedBlockIdMinOpTypeDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_MIN_OP_TYPE_DESC', - TransferComplianceExemptionsByUpdatedBlockIdMinUpdatedAtAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - TransferComplianceExemptionsByUpdatedBlockIdMinUpdatedAtDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - TransferComplianceExemptionsByUpdatedBlockIdMinUpdatedBlockIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - TransferComplianceExemptionsByUpdatedBlockIdMinUpdatedBlockIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - TransferComplianceExemptionsByUpdatedBlockIdStddevPopulationAssetIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_ASC', - TransferComplianceExemptionsByUpdatedBlockIdStddevPopulationAssetIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_DESC', - TransferComplianceExemptionsByUpdatedBlockIdStddevPopulationClaimTypeAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CLAIM_TYPE_ASC', - TransferComplianceExemptionsByUpdatedBlockIdStddevPopulationClaimTypeDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CLAIM_TYPE_DESC', - TransferComplianceExemptionsByUpdatedBlockIdStddevPopulationCreatedAtAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - TransferComplianceExemptionsByUpdatedBlockIdStddevPopulationCreatedAtDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - TransferComplianceExemptionsByUpdatedBlockIdStddevPopulationCreatedBlockIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - TransferComplianceExemptionsByUpdatedBlockIdStddevPopulationCreatedBlockIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - TransferComplianceExemptionsByUpdatedBlockIdStddevPopulationExemptedEntityIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EXEMPTED_ENTITY_ID_ASC', - TransferComplianceExemptionsByUpdatedBlockIdStddevPopulationExemptedEntityIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EXEMPTED_ENTITY_ID_DESC', - TransferComplianceExemptionsByUpdatedBlockIdStddevPopulationIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - TransferComplianceExemptionsByUpdatedBlockIdStddevPopulationIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - TransferComplianceExemptionsByUpdatedBlockIdStddevPopulationOpTypeAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_OP_TYPE_ASC', - TransferComplianceExemptionsByUpdatedBlockIdStddevPopulationOpTypeDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_OP_TYPE_DESC', - TransferComplianceExemptionsByUpdatedBlockIdStddevPopulationUpdatedAtAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - TransferComplianceExemptionsByUpdatedBlockIdStddevPopulationUpdatedAtDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - TransferComplianceExemptionsByUpdatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - TransferComplianceExemptionsByUpdatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - TransferComplianceExemptionsByUpdatedBlockIdStddevSampleAssetIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_ASC', - TransferComplianceExemptionsByUpdatedBlockIdStddevSampleAssetIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_DESC', - TransferComplianceExemptionsByUpdatedBlockIdStddevSampleClaimTypeAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CLAIM_TYPE_ASC', - TransferComplianceExemptionsByUpdatedBlockIdStddevSampleClaimTypeDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CLAIM_TYPE_DESC', - TransferComplianceExemptionsByUpdatedBlockIdStddevSampleCreatedAtAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - TransferComplianceExemptionsByUpdatedBlockIdStddevSampleCreatedAtDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - TransferComplianceExemptionsByUpdatedBlockIdStddevSampleCreatedBlockIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - TransferComplianceExemptionsByUpdatedBlockIdStddevSampleCreatedBlockIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - TransferComplianceExemptionsByUpdatedBlockIdStddevSampleExemptedEntityIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EXEMPTED_ENTITY_ID_ASC', - TransferComplianceExemptionsByUpdatedBlockIdStddevSampleExemptedEntityIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EXEMPTED_ENTITY_ID_DESC', - TransferComplianceExemptionsByUpdatedBlockIdStddevSampleIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - TransferComplianceExemptionsByUpdatedBlockIdStddevSampleIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - TransferComplianceExemptionsByUpdatedBlockIdStddevSampleOpTypeAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_OP_TYPE_ASC', - TransferComplianceExemptionsByUpdatedBlockIdStddevSampleOpTypeDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_OP_TYPE_DESC', - TransferComplianceExemptionsByUpdatedBlockIdStddevSampleUpdatedAtAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - TransferComplianceExemptionsByUpdatedBlockIdStddevSampleUpdatedAtDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - TransferComplianceExemptionsByUpdatedBlockIdStddevSampleUpdatedBlockIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - TransferComplianceExemptionsByUpdatedBlockIdStddevSampleUpdatedBlockIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - TransferComplianceExemptionsByUpdatedBlockIdSumAssetIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_SUM_ASSET_ID_ASC', - TransferComplianceExemptionsByUpdatedBlockIdSumAssetIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_SUM_ASSET_ID_DESC', - TransferComplianceExemptionsByUpdatedBlockIdSumClaimTypeAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_SUM_CLAIM_TYPE_ASC', - TransferComplianceExemptionsByUpdatedBlockIdSumClaimTypeDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_SUM_CLAIM_TYPE_DESC', - TransferComplianceExemptionsByUpdatedBlockIdSumCreatedAtAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_ASC', - TransferComplianceExemptionsByUpdatedBlockIdSumCreatedAtDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_DESC', - TransferComplianceExemptionsByUpdatedBlockIdSumCreatedBlockIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - TransferComplianceExemptionsByUpdatedBlockIdSumCreatedBlockIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - TransferComplianceExemptionsByUpdatedBlockIdSumExemptedEntityIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_SUM_EXEMPTED_ENTITY_ID_ASC', - TransferComplianceExemptionsByUpdatedBlockIdSumExemptedEntityIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_SUM_EXEMPTED_ENTITY_ID_DESC', - TransferComplianceExemptionsByUpdatedBlockIdSumIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_SUM_ID_ASC', - TransferComplianceExemptionsByUpdatedBlockIdSumIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_SUM_ID_DESC', - TransferComplianceExemptionsByUpdatedBlockIdSumOpTypeAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_SUM_OP_TYPE_ASC', - TransferComplianceExemptionsByUpdatedBlockIdSumOpTypeDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_SUM_OP_TYPE_DESC', - TransferComplianceExemptionsByUpdatedBlockIdSumUpdatedAtAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - TransferComplianceExemptionsByUpdatedBlockIdSumUpdatedAtDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - TransferComplianceExemptionsByUpdatedBlockIdSumUpdatedBlockIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - TransferComplianceExemptionsByUpdatedBlockIdSumUpdatedBlockIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - TransferComplianceExemptionsByUpdatedBlockIdVariancePopulationAssetIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_ASC', - TransferComplianceExemptionsByUpdatedBlockIdVariancePopulationAssetIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_DESC', - TransferComplianceExemptionsByUpdatedBlockIdVariancePopulationClaimTypeAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CLAIM_TYPE_ASC', - TransferComplianceExemptionsByUpdatedBlockIdVariancePopulationClaimTypeDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CLAIM_TYPE_DESC', - TransferComplianceExemptionsByUpdatedBlockIdVariancePopulationCreatedAtAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - TransferComplianceExemptionsByUpdatedBlockIdVariancePopulationCreatedAtDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - TransferComplianceExemptionsByUpdatedBlockIdVariancePopulationCreatedBlockIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - TransferComplianceExemptionsByUpdatedBlockIdVariancePopulationCreatedBlockIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - TransferComplianceExemptionsByUpdatedBlockIdVariancePopulationExemptedEntityIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EXEMPTED_ENTITY_ID_ASC', - TransferComplianceExemptionsByUpdatedBlockIdVariancePopulationExemptedEntityIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EXEMPTED_ENTITY_ID_DESC', - TransferComplianceExemptionsByUpdatedBlockIdVariancePopulationIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - TransferComplianceExemptionsByUpdatedBlockIdVariancePopulationIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - TransferComplianceExemptionsByUpdatedBlockIdVariancePopulationOpTypeAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_OP_TYPE_ASC', - TransferComplianceExemptionsByUpdatedBlockIdVariancePopulationOpTypeDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_OP_TYPE_DESC', - TransferComplianceExemptionsByUpdatedBlockIdVariancePopulationUpdatedAtAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - TransferComplianceExemptionsByUpdatedBlockIdVariancePopulationUpdatedAtDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - TransferComplianceExemptionsByUpdatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - TransferComplianceExemptionsByUpdatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - TransferComplianceExemptionsByUpdatedBlockIdVarianceSampleAssetIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_ASC', - TransferComplianceExemptionsByUpdatedBlockIdVarianceSampleAssetIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_DESC', - TransferComplianceExemptionsByUpdatedBlockIdVarianceSampleClaimTypeAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CLAIM_TYPE_ASC', - TransferComplianceExemptionsByUpdatedBlockIdVarianceSampleClaimTypeDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CLAIM_TYPE_DESC', - TransferComplianceExemptionsByUpdatedBlockIdVarianceSampleCreatedAtAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - TransferComplianceExemptionsByUpdatedBlockIdVarianceSampleCreatedAtDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - TransferComplianceExemptionsByUpdatedBlockIdVarianceSampleCreatedBlockIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - TransferComplianceExemptionsByUpdatedBlockIdVarianceSampleCreatedBlockIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - TransferComplianceExemptionsByUpdatedBlockIdVarianceSampleExemptedEntityIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EXEMPTED_ENTITY_ID_ASC', - TransferComplianceExemptionsByUpdatedBlockIdVarianceSampleExemptedEntityIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EXEMPTED_ENTITY_ID_DESC', - TransferComplianceExemptionsByUpdatedBlockIdVarianceSampleIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - TransferComplianceExemptionsByUpdatedBlockIdVarianceSampleIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - TransferComplianceExemptionsByUpdatedBlockIdVarianceSampleOpTypeAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_OP_TYPE_ASC', - TransferComplianceExemptionsByUpdatedBlockIdVarianceSampleOpTypeDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_OP_TYPE_DESC', - TransferComplianceExemptionsByUpdatedBlockIdVarianceSampleUpdatedAtAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - TransferComplianceExemptionsByUpdatedBlockIdVarianceSampleUpdatedAtDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - TransferComplianceExemptionsByUpdatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - TransferComplianceExemptionsByUpdatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'TRANSFER_COMPLIANCE_EXEMPTIONS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - TransferManagersByCreatedBlockIdAverageAssetIdAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_AVERAGE_ASSET_ID_ASC', - TransferManagersByCreatedBlockIdAverageAssetIdDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_AVERAGE_ASSET_ID_DESC', - TransferManagersByCreatedBlockIdAverageCreatedAtAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - TransferManagersByCreatedBlockIdAverageCreatedAtDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - TransferManagersByCreatedBlockIdAverageCreatedBlockIdAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - TransferManagersByCreatedBlockIdAverageCreatedBlockIdDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - TransferManagersByCreatedBlockIdAverageExemptedEntitiesAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_AVERAGE_EXEMPTED_ENTITIES_ASC', - TransferManagersByCreatedBlockIdAverageExemptedEntitiesDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_AVERAGE_EXEMPTED_ENTITIES_DESC', - TransferManagersByCreatedBlockIdAverageIdAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_AVERAGE_ID_ASC', - TransferManagersByCreatedBlockIdAverageIdDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_AVERAGE_ID_DESC', - TransferManagersByCreatedBlockIdAverageTypeAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_AVERAGE_TYPE_ASC', - TransferManagersByCreatedBlockIdAverageTypeDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_AVERAGE_TYPE_DESC', - TransferManagersByCreatedBlockIdAverageUpdatedAtAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - TransferManagersByCreatedBlockIdAverageUpdatedAtDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - TransferManagersByCreatedBlockIdAverageUpdatedBlockIdAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - TransferManagersByCreatedBlockIdAverageUpdatedBlockIdDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - TransferManagersByCreatedBlockIdAverageValueAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_AVERAGE_VALUE_ASC', - TransferManagersByCreatedBlockIdAverageValueDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_AVERAGE_VALUE_DESC', - TransferManagersByCreatedBlockIdCountAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_COUNT_ASC', - TransferManagersByCreatedBlockIdCountDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_COUNT_DESC', - TransferManagersByCreatedBlockIdDistinctCountAssetIdAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_ASC', - TransferManagersByCreatedBlockIdDistinctCountAssetIdDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_DESC', - TransferManagersByCreatedBlockIdDistinctCountCreatedAtAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - TransferManagersByCreatedBlockIdDistinctCountCreatedAtDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - TransferManagersByCreatedBlockIdDistinctCountCreatedBlockIdAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - TransferManagersByCreatedBlockIdDistinctCountCreatedBlockIdDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - TransferManagersByCreatedBlockIdDistinctCountExemptedEntitiesAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EXEMPTED_ENTITIES_ASC', - TransferManagersByCreatedBlockIdDistinctCountExemptedEntitiesDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EXEMPTED_ENTITIES_DESC', - TransferManagersByCreatedBlockIdDistinctCountIdAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - TransferManagersByCreatedBlockIdDistinctCountIdDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - TransferManagersByCreatedBlockIdDistinctCountTypeAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TYPE_ASC', - TransferManagersByCreatedBlockIdDistinctCountTypeDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TYPE_DESC', - TransferManagersByCreatedBlockIdDistinctCountUpdatedAtAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - TransferManagersByCreatedBlockIdDistinctCountUpdatedAtDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - TransferManagersByCreatedBlockIdDistinctCountUpdatedBlockIdAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - TransferManagersByCreatedBlockIdDistinctCountUpdatedBlockIdDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - TransferManagersByCreatedBlockIdDistinctCountValueAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_VALUE_ASC', - TransferManagersByCreatedBlockIdDistinctCountValueDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_VALUE_DESC', - TransferManagersByCreatedBlockIdMaxAssetIdAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_MAX_ASSET_ID_ASC', - TransferManagersByCreatedBlockIdMaxAssetIdDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_MAX_ASSET_ID_DESC', - TransferManagersByCreatedBlockIdMaxCreatedAtAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_ASC', - TransferManagersByCreatedBlockIdMaxCreatedAtDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_DESC', - TransferManagersByCreatedBlockIdMaxCreatedBlockIdAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - TransferManagersByCreatedBlockIdMaxCreatedBlockIdDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - TransferManagersByCreatedBlockIdMaxExemptedEntitiesAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_MAX_EXEMPTED_ENTITIES_ASC', - TransferManagersByCreatedBlockIdMaxExemptedEntitiesDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_MAX_EXEMPTED_ENTITIES_DESC', - TransferManagersByCreatedBlockIdMaxIdAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_MAX_ID_ASC', - TransferManagersByCreatedBlockIdMaxIdDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_MAX_ID_DESC', - TransferManagersByCreatedBlockIdMaxTypeAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_MAX_TYPE_ASC', - TransferManagersByCreatedBlockIdMaxTypeDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_MAX_TYPE_DESC', - TransferManagersByCreatedBlockIdMaxUpdatedAtAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - TransferManagersByCreatedBlockIdMaxUpdatedAtDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - TransferManagersByCreatedBlockIdMaxUpdatedBlockIdAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - TransferManagersByCreatedBlockIdMaxUpdatedBlockIdDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - TransferManagersByCreatedBlockIdMaxValueAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_MAX_VALUE_ASC', - TransferManagersByCreatedBlockIdMaxValueDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_MAX_VALUE_DESC', - TransferManagersByCreatedBlockIdMinAssetIdAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_MIN_ASSET_ID_ASC', - TransferManagersByCreatedBlockIdMinAssetIdDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_MIN_ASSET_ID_DESC', - TransferManagersByCreatedBlockIdMinCreatedAtAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_ASC', - TransferManagersByCreatedBlockIdMinCreatedAtDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_DESC', - TransferManagersByCreatedBlockIdMinCreatedBlockIdAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - TransferManagersByCreatedBlockIdMinCreatedBlockIdDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - TransferManagersByCreatedBlockIdMinExemptedEntitiesAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_MIN_EXEMPTED_ENTITIES_ASC', - TransferManagersByCreatedBlockIdMinExemptedEntitiesDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_MIN_EXEMPTED_ENTITIES_DESC', - TransferManagersByCreatedBlockIdMinIdAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_MIN_ID_ASC', - TransferManagersByCreatedBlockIdMinIdDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_MIN_ID_DESC', - TransferManagersByCreatedBlockIdMinTypeAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_MIN_TYPE_ASC', - TransferManagersByCreatedBlockIdMinTypeDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_MIN_TYPE_DESC', - TransferManagersByCreatedBlockIdMinUpdatedAtAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - TransferManagersByCreatedBlockIdMinUpdatedAtDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - TransferManagersByCreatedBlockIdMinUpdatedBlockIdAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - TransferManagersByCreatedBlockIdMinUpdatedBlockIdDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - TransferManagersByCreatedBlockIdMinValueAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_MIN_VALUE_ASC', - TransferManagersByCreatedBlockIdMinValueDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_MIN_VALUE_DESC', - TransferManagersByCreatedBlockIdStddevPopulationAssetIdAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_ASC', - TransferManagersByCreatedBlockIdStddevPopulationAssetIdDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_DESC', - TransferManagersByCreatedBlockIdStddevPopulationCreatedAtAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - TransferManagersByCreatedBlockIdStddevPopulationCreatedAtDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - TransferManagersByCreatedBlockIdStddevPopulationCreatedBlockIdAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - TransferManagersByCreatedBlockIdStddevPopulationCreatedBlockIdDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - TransferManagersByCreatedBlockIdStddevPopulationExemptedEntitiesAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EXEMPTED_ENTITIES_ASC', - TransferManagersByCreatedBlockIdStddevPopulationExemptedEntitiesDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EXEMPTED_ENTITIES_DESC', - TransferManagersByCreatedBlockIdStddevPopulationIdAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - TransferManagersByCreatedBlockIdStddevPopulationIdDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - TransferManagersByCreatedBlockIdStddevPopulationTypeAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TYPE_ASC', - TransferManagersByCreatedBlockIdStddevPopulationTypeDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TYPE_DESC', - TransferManagersByCreatedBlockIdStddevPopulationUpdatedAtAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - TransferManagersByCreatedBlockIdStddevPopulationUpdatedAtDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - TransferManagersByCreatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - TransferManagersByCreatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - TransferManagersByCreatedBlockIdStddevPopulationValueAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_VALUE_ASC', - TransferManagersByCreatedBlockIdStddevPopulationValueDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_VALUE_DESC', - TransferManagersByCreatedBlockIdStddevSampleAssetIdAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_ASC', - TransferManagersByCreatedBlockIdStddevSampleAssetIdDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_DESC', - TransferManagersByCreatedBlockIdStddevSampleCreatedAtAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - TransferManagersByCreatedBlockIdStddevSampleCreatedAtDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - TransferManagersByCreatedBlockIdStddevSampleCreatedBlockIdAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - TransferManagersByCreatedBlockIdStddevSampleCreatedBlockIdDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - TransferManagersByCreatedBlockIdStddevSampleExemptedEntitiesAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EXEMPTED_ENTITIES_ASC', - TransferManagersByCreatedBlockIdStddevSampleExemptedEntitiesDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EXEMPTED_ENTITIES_DESC', - TransferManagersByCreatedBlockIdStddevSampleIdAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - TransferManagersByCreatedBlockIdStddevSampleIdDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - TransferManagersByCreatedBlockIdStddevSampleTypeAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TYPE_ASC', - TransferManagersByCreatedBlockIdStddevSampleTypeDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TYPE_DESC', - TransferManagersByCreatedBlockIdStddevSampleUpdatedAtAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - TransferManagersByCreatedBlockIdStddevSampleUpdatedAtDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - TransferManagersByCreatedBlockIdStddevSampleUpdatedBlockIdAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - TransferManagersByCreatedBlockIdStddevSampleUpdatedBlockIdDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - TransferManagersByCreatedBlockIdStddevSampleValueAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_VALUE_ASC', - TransferManagersByCreatedBlockIdStddevSampleValueDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_VALUE_DESC', - TransferManagersByCreatedBlockIdSumAssetIdAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_SUM_ASSET_ID_ASC', - TransferManagersByCreatedBlockIdSumAssetIdDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_SUM_ASSET_ID_DESC', - TransferManagersByCreatedBlockIdSumCreatedAtAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_ASC', - TransferManagersByCreatedBlockIdSumCreatedAtDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_DESC', - TransferManagersByCreatedBlockIdSumCreatedBlockIdAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - TransferManagersByCreatedBlockIdSumCreatedBlockIdDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - TransferManagersByCreatedBlockIdSumExemptedEntitiesAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_SUM_EXEMPTED_ENTITIES_ASC', - TransferManagersByCreatedBlockIdSumExemptedEntitiesDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_SUM_EXEMPTED_ENTITIES_DESC', - TransferManagersByCreatedBlockIdSumIdAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_SUM_ID_ASC', - TransferManagersByCreatedBlockIdSumIdDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_SUM_ID_DESC', - TransferManagersByCreatedBlockIdSumTypeAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_SUM_TYPE_ASC', - TransferManagersByCreatedBlockIdSumTypeDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_SUM_TYPE_DESC', - TransferManagersByCreatedBlockIdSumUpdatedAtAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - TransferManagersByCreatedBlockIdSumUpdatedAtDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - TransferManagersByCreatedBlockIdSumUpdatedBlockIdAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - TransferManagersByCreatedBlockIdSumUpdatedBlockIdDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - TransferManagersByCreatedBlockIdSumValueAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_SUM_VALUE_ASC', - TransferManagersByCreatedBlockIdSumValueDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_SUM_VALUE_DESC', - TransferManagersByCreatedBlockIdVariancePopulationAssetIdAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_ASC', - TransferManagersByCreatedBlockIdVariancePopulationAssetIdDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_DESC', - TransferManagersByCreatedBlockIdVariancePopulationCreatedAtAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - TransferManagersByCreatedBlockIdVariancePopulationCreatedAtDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - TransferManagersByCreatedBlockIdVariancePopulationCreatedBlockIdAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - TransferManagersByCreatedBlockIdVariancePopulationCreatedBlockIdDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - TransferManagersByCreatedBlockIdVariancePopulationExemptedEntitiesAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EXEMPTED_ENTITIES_ASC', - TransferManagersByCreatedBlockIdVariancePopulationExemptedEntitiesDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EXEMPTED_ENTITIES_DESC', - TransferManagersByCreatedBlockIdVariancePopulationIdAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - TransferManagersByCreatedBlockIdVariancePopulationIdDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - TransferManagersByCreatedBlockIdVariancePopulationTypeAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TYPE_ASC', - TransferManagersByCreatedBlockIdVariancePopulationTypeDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TYPE_DESC', - TransferManagersByCreatedBlockIdVariancePopulationUpdatedAtAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - TransferManagersByCreatedBlockIdVariancePopulationUpdatedAtDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - TransferManagersByCreatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - TransferManagersByCreatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - TransferManagersByCreatedBlockIdVariancePopulationValueAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_VALUE_ASC', - TransferManagersByCreatedBlockIdVariancePopulationValueDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_VALUE_DESC', - TransferManagersByCreatedBlockIdVarianceSampleAssetIdAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_ASC', - TransferManagersByCreatedBlockIdVarianceSampleAssetIdDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_DESC', - TransferManagersByCreatedBlockIdVarianceSampleCreatedAtAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - TransferManagersByCreatedBlockIdVarianceSampleCreatedAtDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - TransferManagersByCreatedBlockIdVarianceSampleCreatedBlockIdAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - TransferManagersByCreatedBlockIdVarianceSampleCreatedBlockIdDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - TransferManagersByCreatedBlockIdVarianceSampleExemptedEntitiesAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EXEMPTED_ENTITIES_ASC', - TransferManagersByCreatedBlockIdVarianceSampleExemptedEntitiesDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EXEMPTED_ENTITIES_DESC', - TransferManagersByCreatedBlockIdVarianceSampleIdAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - TransferManagersByCreatedBlockIdVarianceSampleIdDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - TransferManagersByCreatedBlockIdVarianceSampleTypeAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TYPE_ASC', - TransferManagersByCreatedBlockIdVarianceSampleTypeDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TYPE_DESC', - TransferManagersByCreatedBlockIdVarianceSampleUpdatedAtAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - TransferManagersByCreatedBlockIdVarianceSampleUpdatedAtDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - TransferManagersByCreatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - TransferManagersByCreatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - TransferManagersByCreatedBlockIdVarianceSampleValueAsc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_VALUE_ASC', - TransferManagersByCreatedBlockIdVarianceSampleValueDesc = 'TRANSFER_MANAGERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_VALUE_DESC', - TransferManagersByUpdatedBlockIdAverageAssetIdAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_AVERAGE_ASSET_ID_ASC', - TransferManagersByUpdatedBlockIdAverageAssetIdDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_AVERAGE_ASSET_ID_DESC', - TransferManagersByUpdatedBlockIdAverageCreatedAtAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - TransferManagersByUpdatedBlockIdAverageCreatedAtDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - TransferManagersByUpdatedBlockIdAverageCreatedBlockIdAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - TransferManagersByUpdatedBlockIdAverageCreatedBlockIdDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - TransferManagersByUpdatedBlockIdAverageExemptedEntitiesAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_AVERAGE_EXEMPTED_ENTITIES_ASC', - TransferManagersByUpdatedBlockIdAverageExemptedEntitiesDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_AVERAGE_EXEMPTED_ENTITIES_DESC', - TransferManagersByUpdatedBlockIdAverageIdAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_ASC', - TransferManagersByUpdatedBlockIdAverageIdDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_DESC', - TransferManagersByUpdatedBlockIdAverageTypeAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_AVERAGE_TYPE_ASC', - TransferManagersByUpdatedBlockIdAverageTypeDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_AVERAGE_TYPE_DESC', - TransferManagersByUpdatedBlockIdAverageUpdatedAtAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - TransferManagersByUpdatedBlockIdAverageUpdatedAtDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - TransferManagersByUpdatedBlockIdAverageUpdatedBlockIdAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - TransferManagersByUpdatedBlockIdAverageUpdatedBlockIdDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - TransferManagersByUpdatedBlockIdAverageValueAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_AVERAGE_VALUE_ASC', - TransferManagersByUpdatedBlockIdAverageValueDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_AVERAGE_VALUE_DESC', - TransferManagersByUpdatedBlockIdCountAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_COUNT_ASC', - TransferManagersByUpdatedBlockIdCountDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_COUNT_DESC', - TransferManagersByUpdatedBlockIdDistinctCountAssetIdAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_ASC', - TransferManagersByUpdatedBlockIdDistinctCountAssetIdDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_DESC', - TransferManagersByUpdatedBlockIdDistinctCountCreatedAtAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - TransferManagersByUpdatedBlockIdDistinctCountCreatedAtDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - TransferManagersByUpdatedBlockIdDistinctCountCreatedBlockIdAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - TransferManagersByUpdatedBlockIdDistinctCountCreatedBlockIdDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - TransferManagersByUpdatedBlockIdDistinctCountExemptedEntitiesAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EXEMPTED_ENTITIES_ASC', - TransferManagersByUpdatedBlockIdDistinctCountExemptedEntitiesDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EXEMPTED_ENTITIES_DESC', - TransferManagersByUpdatedBlockIdDistinctCountIdAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - TransferManagersByUpdatedBlockIdDistinctCountIdDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - TransferManagersByUpdatedBlockIdDistinctCountTypeAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TYPE_ASC', - TransferManagersByUpdatedBlockIdDistinctCountTypeDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TYPE_DESC', - TransferManagersByUpdatedBlockIdDistinctCountUpdatedAtAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - TransferManagersByUpdatedBlockIdDistinctCountUpdatedAtDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - TransferManagersByUpdatedBlockIdDistinctCountUpdatedBlockIdAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - TransferManagersByUpdatedBlockIdDistinctCountUpdatedBlockIdDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - TransferManagersByUpdatedBlockIdDistinctCountValueAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_VALUE_ASC', - TransferManagersByUpdatedBlockIdDistinctCountValueDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_VALUE_DESC', - TransferManagersByUpdatedBlockIdMaxAssetIdAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_MAX_ASSET_ID_ASC', - TransferManagersByUpdatedBlockIdMaxAssetIdDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_MAX_ASSET_ID_DESC', - TransferManagersByUpdatedBlockIdMaxCreatedAtAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_ASC', - TransferManagersByUpdatedBlockIdMaxCreatedAtDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_DESC', - TransferManagersByUpdatedBlockIdMaxCreatedBlockIdAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - TransferManagersByUpdatedBlockIdMaxCreatedBlockIdDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - TransferManagersByUpdatedBlockIdMaxExemptedEntitiesAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_MAX_EXEMPTED_ENTITIES_ASC', - TransferManagersByUpdatedBlockIdMaxExemptedEntitiesDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_MAX_EXEMPTED_ENTITIES_DESC', - TransferManagersByUpdatedBlockIdMaxIdAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_MAX_ID_ASC', - TransferManagersByUpdatedBlockIdMaxIdDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_MAX_ID_DESC', - TransferManagersByUpdatedBlockIdMaxTypeAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_MAX_TYPE_ASC', - TransferManagersByUpdatedBlockIdMaxTypeDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_MAX_TYPE_DESC', - TransferManagersByUpdatedBlockIdMaxUpdatedAtAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - TransferManagersByUpdatedBlockIdMaxUpdatedAtDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - TransferManagersByUpdatedBlockIdMaxUpdatedBlockIdAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - TransferManagersByUpdatedBlockIdMaxUpdatedBlockIdDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - TransferManagersByUpdatedBlockIdMaxValueAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_MAX_VALUE_ASC', - TransferManagersByUpdatedBlockIdMaxValueDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_MAX_VALUE_DESC', - TransferManagersByUpdatedBlockIdMinAssetIdAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_MIN_ASSET_ID_ASC', - TransferManagersByUpdatedBlockIdMinAssetIdDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_MIN_ASSET_ID_DESC', - TransferManagersByUpdatedBlockIdMinCreatedAtAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_ASC', - TransferManagersByUpdatedBlockIdMinCreatedAtDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_DESC', - TransferManagersByUpdatedBlockIdMinCreatedBlockIdAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - TransferManagersByUpdatedBlockIdMinCreatedBlockIdDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - TransferManagersByUpdatedBlockIdMinExemptedEntitiesAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_MIN_EXEMPTED_ENTITIES_ASC', - TransferManagersByUpdatedBlockIdMinExemptedEntitiesDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_MIN_EXEMPTED_ENTITIES_DESC', - TransferManagersByUpdatedBlockIdMinIdAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_MIN_ID_ASC', - TransferManagersByUpdatedBlockIdMinIdDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_MIN_ID_DESC', - TransferManagersByUpdatedBlockIdMinTypeAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_MIN_TYPE_ASC', - TransferManagersByUpdatedBlockIdMinTypeDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_MIN_TYPE_DESC', - TransferManagersByUpdatedBlockIdMinUpdatedAtAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - TransferManagersByUpdatedBlockIdMinUpdatedAtDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - TransferManagersByUpdatedBlockIdMinUpdatedBlockIdAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - TransferManagersByUpdatedBlockIdMinUpdatedBlockIdDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - TransferManagersByUpdatedBlockIdMinValueAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_MIN_VALUE_ASC', - TransferManagersByUpdatedBlockIdMinValueDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_MIN_VALUE_DESC', - TransferManagersByUpdatedBlockIdStddevPopulationAssetIdAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_ASC', - TransferManagersByUpdatedBlockIdStddevPopulationAssetIdDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_DESC', - TransferManagersByUpdatedBlockIdStddevPopulationCreatedAtAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - TransferManagersByUpdatedBlockIdStddevPopulationCreatedAtDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - TransferManagersByUpdatedBlockIdStddevPopulationCreatedBlockIdAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - TransferManagersByUpdatedBlockIdStddevPopulationCreatedBlockIdDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - TransferManagersByUpdatedBlockIdStddevPopulationExemptedEntitiesAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EXEMPTED_ENTITIES_ASC', - TransferManagersByUpdatedBlockIdStddevPopulationExemptedEntitiesDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EXEMPTED_ENTITIES_DESC', - TransferManagersByUpdatedBlockIdStddevPopulationIdAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - TransferManagersByUpdatedBlockIdStddevPopulationIdDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - TransferManagersByUpdatedBlockIdStddevPopulationTypeAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TYPE_ASC', - TransferManagersByUpdatedBlockIdStddevPopulationTypeDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TYPE_DESC', - TransferManagersByUpdatedBlockIdStddevPopulationUpdatedAtAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - TransferManagersByUpdatedBlockIdStddevPopulationUpdatedAtDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - TransferManagersByUpdatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - TransferManagersByUpdatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - TransferManagersByUpdatedBlockIdStddevPopulationValueAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_VALUE_ASC', - TransferManagersByUpdatedBlockIdStddevPopulationValueDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_VALUE_DESC', - TransferManagersByUpdatedBlockIdStddevSampleAssetIdAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_ASC', - TransferManagersByUpdatedBlockIdStddevSampleAssetIdDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_DESC', - TransferManagersByUpdatedBlockIdStddevSampleCreatedAtAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - TransferManagersByUpdatedBlockIdStddevSampleCreatedAtDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - TransferManagersByUpdatedBlockIdStddevSampleCreatedBlockIdAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - TransferManagersByUpdatedBlockIdStddevSampleCreatedBlockIdDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - TransferManagersByUpdatedBlockIdStddevSampleExemptedEntitiesAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EXEMPTED_ENTITIES_ASC', - TransferManagersByUpdatedBlockIdStddevSampleExemptedEntitiesDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EXEMPTED_ENTITIES_DESC', - TransferManagersByUpdatedBlockIdStddevSampleIdAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - TransferManagersByUpdatedBlockIdStddevSampleIdDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - TransferManagersByUpdatedBlockIdStddevSampleTypeAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TYPE_ASC', - TransferManagersByUpdatedBlockIdStddevSampleTypeDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TYPE_DESC', - TransferManagersByUpdatedBlockIdStddevSampleUpdatedAtAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - TransferManagersByUpdatedBlockIdStddevSampleUpdatedAtDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - TransferManagersByUpdatedBlockIdStddevSampleUpdatedBlockIdAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - TransferManagersByUpdatedBlockIdStddevSampleUpdatedBlockIdDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - TransferManagersByUpdatedBlockIdStddevSampleValueAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_VALUE_ASC', - TransferManagersByUpdatedBlockIdStddevSampleValueDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_VALUE_DESC', - TransferManagersByUpdatedBlockIdSumAssetIdAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_SUM_ASSET_ID_ASC', - TransferManagersByUpdatedBlockIdSumAssetIdDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_SUM_ASSET_ID_DESC', - TransferManagersByUpdatedBlockIdSumCreatedAtAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_ASC', - TransferManagersByUpdatedBlockIdSumCreatedAtDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_DESC', - TransferManagersByUpdatedBlockIdSumCreatedBlockIdAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - TransferManagersByUpdatedBlockIdSumCreatedBlockIdDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - TransferManagersByUpdatedBlockIdSumExemptedEntitiesAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_SUM_EXEMPTED_ENTITIES_ASC', - TransferManagersByUpdatedBlockIdSumExemptedEntitiesDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_SUM_EXEMPTED_ENTITIES_DESC', - TransferManagersByUpdatedBlockIdSumIdAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_SUM_ID_ASC', - TransferManagersByUpdatedBlockIdSumIdDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_SUM_ID_DESC', - TransferManagersByUpdatedBlockIdSumTypeAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_SUM_TYPE_ASC', - TransferManagersByUpdatedBlockIdSumTypeDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_SUM_TYPE_DESC', - TransferManagersByUpdatedBlockIdSumUpdatedAtAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - TransferManagersByUpdatedBlockIdSumUpdatedAtDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - TransferManagersByUpdatedBlockIdSumUpdatedBlockIdAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - TransferManagersByUpdatedBlockIdSumUpdatedBlockIdDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - TransferManagersByUpdatedBlockIdSumValueAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_SUM_VALUE_ASC', - TransferManagersByUpdatedBlockIdSumValueDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_SUM_VALUE_DESC', - TransferManagersByUpdatedBlockIdVariancePopulationAssetIdAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_ASC', - TransferManagersByUpdatedBlockIdVariancePopulationAssetIdDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_DESC', - TransferManagersByUpdatedBlockIdVariancePopulationCreatedAtAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - TransferManagersByUpdatedBlockIdVariancePopulationCreatedAtDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - TransferManagersByUpdatedBlockIdVariancePopulationCreatedBlockIdAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - TransferManagersByUpdatedBlockIdVariancePopulationCreatedBlockIdDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - TransferManagersByUpdatedBlockIdVariancePopulationExemptedEntitiesAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EXEMPTED_ENTITIES_ASC', - TransferManagersByUpdatedBlockIdVariancePopulationExemptedEntitiesDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EXEMPTED_ENTITIES_DESC', - TransferManagersByUpdatedBlockIdVariancePopulationIdAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - TransferManagersByUpdatedBlockIdVariancePopulationIdDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - TransferManagersByUpdatedBlockIdVariancePopulationTypeAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TYPE_ASC', - TransferManagersByUpdatedBlockIdVariancePopulationTypeDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TYPE_DESC', - TransferManagersByUpdatedBlockIdVariancePopulationUpdatedAtAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - TransferManagersByUpdatedBlockIdVariancePopulationUpdatedAtDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - TransferManagersByUpdatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - TransferManagersByUpdatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - TransferManagersByUpdatedBlockIdVariancePopulationValueAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_VALUE_ASC', - TransferManagersByUpdatedBlockIdVariancePopulationValueDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_VALUE_DESC', - TransferManagersByUpdatedBlockIdVarianceSampleAssetIdAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_ASC', - TransferManagersByUpdatedBlockIdVarianceSampleAssetIdDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_DESC', - TransferManagersByUpdatedBlockIdVarianceSampleCreatedAtAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - TransferManagersByUpdatedBlockIdVarianceSampleCreatedAtDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - TransferManagersByUpdatedBlockIdVarianceSampleCreatedBlockIdAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - TransferManagersByUpdatedBlockIdVarianceSampleCreatedBlockIdDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - TransferManagersByUpdatedBlockIdVarianceSampleExemptedEntitiesAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EXEMPTED_ENTITIES_ASC', - TransferManagersByUpdatedBlockIdVarianceSampleExemptedEntitiesDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EXEMPTED_ENTITIES_DESC', - TransferManagersByUpdatedBlockIdVarianceSampleIdAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - TransferManagersByUpdatedBlockIdVarianceSampleIdDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - TransferManagersByUpdatedBlockIdVarianceSampleTypeAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TYPE_ASC', - TransferManagersByUpdatedBlockIdVarianceSampleTypeDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TYPE_DESC', - TransferManagersByUpdatedBlockIdVarianceSampleUpdatedAtAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - TransferManagersByUpdatedBlockIdVarianceSampleUpdatedAtDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - TransferManagersByUpdatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - TransferManagersByUpdatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - TransferManagersByUpdatedBlockIdVarianceSampleValueAsc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_VALUE_ASC', - TransferManagersByUpdatedBlockIdVarianceSampleValueDesc = 'TRANSFER_MANAGERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_VALUE_DESC', - TrustedClaimIssuersByCreatedBlockIdAverageAssetIdAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_AVERAGE_ASSET_ID_ASC', - TrustedClaimIssuersByCreatedBlockIdAverageAssetIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_AVERAGE_ASSET_ID_DESC', - TrustedClaimIssuersByCreatedBlockIdAverageCreatedAtAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - TrustedClaimIssuersByCreatedBlockIdAverageCreatedAtDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - TrustedClaimIssuersByCreatedBlockIdAverageCreatedBlockIdAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - TrustedClaimIssuersByCreatedBlockIdAverageCreatedBlockIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - TrustedClaimIssuersByCreatedBlockIdAverageEventIdxAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_IDX_ASC', - TrustedClaimIssuersByCreatedBlockIdAverageEventIdxDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_AVERAGE_EVENT_IDX_DESC', - TrustedClaimIssuersByCreatedBlockIdAverageIdAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_AVERAGE_ID_ASC', - TrustedClaimIssuersByCreatedBlockIdAverageIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_AVERAGE_ID_DESC', - TrustedClaimIssuersByCreatedBlockIdAverageIssuerAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_AVERAGE_ISSUER_ASC', - TrustedClaimIssuersByCreatedBlockIdAverageIssuerDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_AVERAGE_ISSUER_DESC', - TrustedClaimIssuersByCreatedBlockIdAverageUpdatedAtAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - TrustedClaimIssuersByCreatedBlockIdAverageUpdatedAtDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - TrustedClaimIssuersByCreatedBlockIdAverageUpdatedBlockIdAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - TrustedClaimIssuersByCreatedBlockIdAverageUpdatedBlockIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - TrustedClaimIssuersByCreatedBlockIdCountAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_COUNT_ASC', - TrustedClaimIssuersByCreatedBlockIdCountDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_COUNT_DESC', - TrustedClaimIssuersByCreatedBlockIdDistinctCountAssetIdAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_ASC', - TrustedClaimIssuersByCreatedBlockIdDistinctCountAssetIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_DESC', - TrustedClaimIssuersByCreatedBlockIdDistinctCountCreatedAtAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - TrustedClaimIssuersByCreatedBlockIdDistinctCountCreatedAtDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - TrustedClaimIssuersByCreatedBlockIdDistinctCountCreatedBlockIdAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - TrustedClaimIssuersByCreatedBlockIdDistinctCountCreatedBlockIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - TrustedClaimIssuersByCreatedBlockIdDistinctCountEventIdxAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_ASC', - TrustedClaimIssuersByCreatedBlockIdDistinctCountEventIdxDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_DESC', - TrustedClaimIssuersByCreatedBlockIdDistinctCountIdAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - TrustedClaimIssuersByCreatedBlockIdDistinctCountIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - TrustedClaimIssuersByCreatedBlockIdDistinctCountIssuerAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ISSUER_ASC', - TrustedClaimIssuersByCreatedBlockIdDistinctCountIssuerDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ISSUER_DESC', - TrustedClaimIssuersByCreatedBlockIdDistinctCountUpdatedAtAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - TrustedClaimIssuersByCreatedBlockIdDistinctCountUpdatedAtDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - TrustedClaimIssuersByCreatedBlockIdDistinctCountUpdatedBlockIdAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - TrustedClaimIssuersByCreatedBlockIdDistinctCountUpdatedBlockIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - TrustedClaimIssuersByCreatedBlockIdMaxAssetIdAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_MAX_ASSET_ID_ASC', - TrustedClaimIssuersByCreatedBlockIdMaxAssetIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_MAX_ASSET_ID_DESC', - TrustedClaimIssuersByCreatedBlockIdMaxCreatedAtAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_ASC', - TrustedClaimIssuersByCreatedBlockIdMaxCreatedAtDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_DESC', - TrustedClaimIssuersByCreatedBlockIdMaxCreatedBlockIdAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - TrustedClaimIssuersByCreatedBlockIdMaxCreatedBlockIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - TrustedClaimIssuersByCreatedBlockIdMaxEventIdxAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_MAX_EVENT_IDX_ASC', - TrustedClaimIssuersByCreatedBlockIdMaxEventIdxDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_MAX_EVENT_IDX_DESC', - TrustedClaimIssuersByCreatedBlockIdMaxIdAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_MAX_ID_ASC', - TrustedClaimIssuersByCreatedBlockIdMaxIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_MAX_ID_DESC', - TrustedClaimIssuersByCreatedBlockIdMaxIssuerAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_MAX_ISSUER_ASC', - TrustedClaimIssuersByCreatedBlockIdMaxIssuerDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_MAX_ISSUER_DESC', - TrustedClaimIssuersByCreatedBlockIdMaxUpdatedAtAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - TrustedClaimIssuersByCreatedBlockIdMaxUpdatedAtDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - TrustedClaimIssuersByCreatedBlockIdMaxUpdatedBlockIdAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - TrustedClaimIssuersByCreatedBlockIdMaxUpdatedBlockIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - TrustedClaimIssuersByCreatedBlockIdMinAssetIdAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_MIN_ASSET_ID_ASC', - TrustedClaimIssuersByCreatedBlockIdMinAssetIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_MIN_ASSET_ID_DESC', - TrustedClaimIssuersByCreatedBlockIdMinCreatedAtAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_ASC', - TrustedClaimIssuersByCreatedBlockIdMinCreatedAtDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_DESC', - TrustedClaimIssuersByCreatedBlockIdMinCreatedBlockIdAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - TrustedClaimIssuersByCreatedBlockIdMinCreatedBlockIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - TrustedClaimIssuersByCreatedBlockIdMinEventIdxAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_MIN_EVENT_IDX_ASC', - TrustedClaimIssuersByCreatedBlockIdMinEventIdxDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_MIN_EVENT_IDX_DESC', - TrustedClaimIssuersByCreatedBlockIdMinIdAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_MIN_ID_ASC', - TrustedClaimIssuersByCreatedBlockIdMinIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_MIN_ID_DESC', - TrustedClaimIssuersByCreatedBlockIdMinIssuerAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_MIN_ISSUER_ASC', - TrustedClaimIssuersByCreatedBlockIdMinIssuerDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_MIN_ISSUER_DESC', - TrustedClaimIssuersByCreatedBlockIdMinUpdatedAtAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - TrustedClaimIssuersByCreatedBlockIdMinUpdatedAtDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - TrustedClaimIssuersByCreatedBlockIdMinUpdatedBlockIdAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - TrustedClaimIssuersByCreatedBlockIdMinUpdatedBlockIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - TrustedClaimIssuersByCreatedBlockIdStddevPopulationAssetIdAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_ASC', - TrustedClaimIssuersByCreatedBlockIdStddevPopulationAssetIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_DESC', - TrustedClaimIssuersByCreatedBlockIdStddevPopulationCreatedAtAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - TrustedClaimIssuersByCreatedBlockIdStddevPopulationCreatedAtDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - TrustedClaimIssuersByCreatedBlockIdStddevPopulationCreatedBlockIdAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - TrustedClaimIssuersByCreatedBlockIdStddevPopulationCreatedBlockIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - TrustedClaimIssuersByCreatedBlockIdStddevPopulationEventIdxAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_ASC', - TrustedClaimIssuersByCreatedBlockIdStddevPopulationEventIdxDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_DESC', - TrustedClaimIssuersByCreatedBlockIdStddevPopulationIdAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - TrustedClaimIssuersByCreatedBlockIdStddevPopulationIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - TrustedClaimIssuersByCreatedBlockIdStddevPopulationIssuerAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ISSUER_ASC', - TrustedClaimIssuersByCreatedBlockIdStddevPopulationIssuerDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ISSUER_DESC', - TrustedClaimIssuersByCreatedBlockIdStddevPopulationUpdatedAtAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - TrustedClaimIssuersByCreatedBlockIdStddevPopulationUpdatedAtDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - TrustedClaimIssuersByCreatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - TrustedClaimIssuersByCreatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - TrustedClaimIssuersByCreatedBlockIdStddevSampleAssetIdAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_ASC', - TrustedClaimIssuersByCreatedBlockIdStddevSampleAssetIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_DESC', - TrustedClaimIssuersByCreatedBlockIdStddevSampleCreatedAtAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - TrustedClaimIssuersByCreatedBlockIdStddevSampleCreatedAtDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - TrustedClaimIssuersByCreatedBlockIdStddevSampleCreatedBlockIdAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - TrustedClaimIssuersByCreatedBlockIdStddevSampleCreatedBlockIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - TrustedClaimIssuersByCreatedBlockIdStddevSampleEventIdxAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', - TrustedClaimIssuersByCreatedBlockIdStddevSampleEventIdxDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', - TrustedClaimIssuersByCreatedBlockIdStddevSampleIdAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - TrustedClaimIssuersByCreatedBlockIdStddevSampleIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - TrustedClaimIssuersByCreatedBlockIdStddevSampleIssuerAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ISSUER_ASC', - TrustedClaimIssuersByCreatedBlockIdStddevSampleIssuerDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ISSUER_DESC', - TrustedClaimIssuersByCreatedBlockIdStddevSampleUpdatedAtAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - TrustedClaimIssuersByCreatedBlockIdStddevSampleUpdatedAtDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - TrustedClaimIssuersByCreatedBlockIdStddevSampleUpdatedBlockIdAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - TrustedClaimIssuersByCreatedBlockIdStddevSampleUpdatedBlockIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - TrustedClaimIssuersByCreatedBlockIdSumAssetIdAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_SUM_ASSET_ID_ASC', - TrustedClaimIssuersByCreatedBlockIdSumAssetIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_SUM_ASSET_ID_DESC', - TrustedClaimIssuersByCreatedBlockIdSumCreatedAtAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_ASC', - TrustedClaimIssuersByCreatedBlockIdSumCreatedAtDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_DESC', - TrustedClaimIssuersByCreatedBlockIdSumCreatedBlockIdAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - TrustedClaimIssuersByCreatedBlockIdSumCreatedBlockIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - TrustedClaimIssuersByCreatedBlockIdSumEventIdxAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_SUM_EVENT_IDX_ASC', - TrustedClaimIssuersByCreatedBlockIdSumEventIdxDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_SUM_EVENT_IDX_DESC', - TrustedClaimIssuersByCreatedBlockIdSumIdAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_SUM_ID_ASC', - TrustedClaimIssuersByCreatedBlockIdSumIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_SUM_ID_DESC', - TrustedClaimIssuersByCreatedBlockIdSumIssuerAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_SUM_ISSUER_ASC', - TrustedClaimIssuersByCreatedBlockIdSumIssuerDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_SUM_ISSUER_DESC', - TrustedClaimIssuersByCreatedBlockIdSumUpdatedAtAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - TrustedClaimIssuersByCreatedBlockIdSumUpdatedAtDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - TrustedClaimIssuersByCreatedBlockIdSumUpdatedBlockIdAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - TrustedClaimIssuersByCreatedBlockIdSumUpdatedBlockIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - TrustedClaimIssuersByCreatedBlockIdVariancePopulationAssetIdAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_ASC', - TrustedClaimIssuersByCreatedBlockIdVariancePopulationAssetIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_DESC', - TrustedClaimIssuersByCreatedBlockIdVariancePopulationCreatedAtAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - TrustedClaimIssuersByCreatedBlockIdVariancePopulationCreatedAtDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - TrustedClaimIssuersByCreatedBlockIdVariancePopulationCreatedBlockIdAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - TrustedClaimIssuersByCreatedBlockIdVariancePopulationCreatedBlockIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - TrustedClaimIssuersByCreatedBlockIdVariancePopulationEventIdxAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', - TrustedClaimIssuersByCreatedBlockIdVariancePopulationEventIdxDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', - TrustedClaimIssuersByCreatedBlockIdVariancePopulationIdAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - TrustedClaimIssuersByCreatedBlockIdVariancePopulationIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - TrustedClaimIssuersByCreatedBlockIdVariancePopulationIssuerAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ISSUER_ASC', - TrustedClaimIssuersByCreatedBlockIdVariancePopulationIssuerDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ISSUER_DESC', - TrustedClaimIssuersByCreatedBlockIdVariancePopulationUpdatedAtAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - TrustedClaimIssuersByCreatedBlockIdVariancePopulationUpdatedAtDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - TrustedClaimIssuersByCreatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - TrustedClaimIssuersByCreatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - TrustedClaimIssuersByCreatedBlockIdVarianceSampleAssetIdAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_ASC', - TrustedClaimIssuersByCreatedBlockIdVarianceSampleAssetIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_DESC', - TrustedClaimIssuersByCreatedBlockIdVarianceSampleCreatedAtAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - TrustedClaimIssuersByCreatedBlockIdVarianceSampleCreatedAtDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - TrustedClaimIssuersByCreatedBlockIdVarianceSampleCreatedBlockIdAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - TrustedClaimIssuersByCreatedBlockIdVarianceSampleCreatedBlockIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - TrustedClaimIssuersByCreatedBlockIdVarianceSampleEventIdxAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', - TrustedClaimIssuersByCreatedBlockIdVarianceSampleEventIdxDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', - TrustedClaimIssuersByCreatedBlockIdVarianceSampleIdAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - TrustedClaimIssuersByCreatedBlockIdVarianceSampleIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - TrustedClaimIssuersByCreatedBlockIdVarianceSampleIssuerAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ISSUER_ASC', - TrustedClaimIssuersByCreatedBlockIdVarianceSampleIssuerDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ISSUER_DESC', - TrustedClaimIssuersByCreatedBlockIdVarianceSampleUpdatedAtAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - TrustedClaimIssuersByCreatedBlockIdVarianceSampleUpdatedAtDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - TrustedClaimIssuersByCreatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - TrustedClaimIssuersByCreatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - TrustedClaimIssuersByUpdatedBlockIdAverageAssetIdAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_AVERAGE_ASSET_ID_ASC', - TrustedClaimIssuersByUpdatedBlockIdAverageAssetIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_AVERAGE_ASSET_ID_DESC', - TrustedClaimIssuersByUpdatedBlockIdAverageCreatedAtAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - TrustedClaimIssuersByUpdatedBlockIdAverageCreatedAtDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - TrustedClaimIssuersByUpdatedBlockIdAverageCreatedBlockIdAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - TrustedClaimIssuersByUpdatedBlockIdAverageCreatedBlockIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - TrustedClaimIssuersByUpdatedBlockIdAverageEventIdxAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_IDX_ASC', - TrustedClaimIssuersByUpdatedBlockIdAverageEventIdxDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_AVERAGE_EVENT_IDX_DESC', - TrustedClaimIssuersByUpdatedBlockIdAverageIdAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_ASC', - TrustedClaimIssuersByUpdatedBlockIdAverageIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_AVERAGE_ID_DESC', - TrustedClaimIssuersByUpdatedBlockIdAverageIssuerAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_AVERAGE_ISSUER_ASC', - TrustedClaimIssuersByUpdatedBlockIdAverageIssuerDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_AVERAGE_ISSUER_DESC', - TrustedClaimIssuersByUpdatedBlockIdAverageUpdatedAtAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - TrustedClaimIssuersByUpdatedBlockIdAverageUpdatedAtDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - TrustedClaimIssuersByUpdatedBlockIdAverageUpdatedBlockIdAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - TrustedClaimIssuersByUpdatedBlockIdAverageUpdatedBlockIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - TrustedClaimIssuersByUpdatedBlockIdCountAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_COUNT_ASC', - TrustedClaimIssuersByUpdatedBlockIdCountDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_COUNT_DESC', - TrustedClaimIssuersByUpdatedBlockIdDistinctCountAssetIdAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_ASC', - TrustedClaimIssuersByUpdatedBlockIdDistinctCountAssetIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ASSET_ID_DESC', - TrustedClaimIssuersByUpdatedBlockIdDistinctCountCreatedAtAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - TrustedClaimIssuersByUpdatedBlockIdDistinctCountCreatedAtDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - TrustedClaimIssuersByUpdatedBlockIdDistinctCountCreatedBlockIdAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - TrustedClaimIssuersByUpdatedBlockIdDistinctCountCreatedBlockIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - TrustedClaimIssuersByUpdatedBlockIdDistinctCountEventIdxAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_ASC', - TrustedClaimIssuersByUpdatedBlockIdDistinctCountEventIdxDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_EVENT_IDX_DESC', - TrustedClaimIssuersByUpdatedBlockIdDistinctCountIdAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - TrustedClaimIssuersByUpdatedBlockIdDistinctCountIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - TrustedClaimIssuersByUpdatedBlockIdDistinctCountIssuerAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ISSUER_ASC', - TrustedClaimIssuersByUpdatedBlockIdDistinctCountIssuerDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ISSUER_DESC', - TrustedClaimIssuersByUpdatedBlockIdDistinctCountUpdatedAtAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - TrustedClaimIssuersByUpdatedBlockIdDistinctCountUpdatedAtDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - TrustedClaimIssuersByUpdatedBlockIdDistinctCountUpdatedBlockIdAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - TrustedClaimIssuersByUpdatedBlockIdDistinctCountUpdatedBlockIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - TrustedClaimIssuersByUpdatedBlockIdMaxAssetIdAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_MAX_ASSET_ID_ASC', - TrustedClaimIssuersByUpdatedBlockIdMaxAssetIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_MAX_ASSET_ID_DESC', - TrustedClaimIssuersByUpdatedBlockIdMaxCreatedAtAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_ASC', - TrustedClaimIssuersByUpdatedBlockIdMaxCreatedAtDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_DESC', - TrustedClaimIssuersByUpdatedBlockIdMaxCreatedBlockIdAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - TrustedClaimIssuersByUpdatedBlockIdMaxCreatedBlockIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - TrustedClaimIssuersByUpdatedBlockIdMaxEventIdxAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_MAX_EVENT_IDX_ASC', - TrustedClaimIssuersByUpdatedBlockIdMaxEventIdxDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_MAX_EVENT_IDX_DESC', - TrustedClaimIssuersByUpdatedBlockIdMaxIdAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_MAX_ID_ASC', - TrustedClaimIssuersByUpdatedBlockIdMaxIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_MAX_ID_DESC', - TrustedClaimIssuersByUpdatedBlockIdMaxIssuerAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_MAX_ISSUER_ASC', - TrustedClaimIssuersByUpdatedBlockIdMaxIssuerDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_MAX_ISSUER_DESC', - TrustedClaimIssuersByUpdatedBlockIdMaxUpdatedAtAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - TrustedClaimIssuersByUpdatedBlockIdMaxUpdatedAtDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - TrustedClaimIssuersByUpdatedBlockIdMaxUpdatedBlockIdAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - TrustedClaimIssuersByUpdatedBlockIdMaxUpdatedBlockIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - TrustedClaimIssuersByUpdatedBlockIdMinAssetIdAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_MIN_ASSET_ID_ASC', - TrustedClaimIssuersByUpdatedBlockIdMinAssetIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_MIN_ASSET_ID_DESC', - TrustedClaimIssuersByUpdatedBlockIdMinCreatedAtAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_ASC', - TrustedClaimIssuersByUpdatedBlockIdMinCreatedAtDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_DESC', - TrustedClaimIssuersByUpdatedBlockIdMinCreatedBlockIdAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - TrustedClaimIssuersByUpdatedBlockIdMinCreatedBlockIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - TrustedClaimIssuersByUpdatedBlockIdMinEventIdxAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_MIN_EVENT_IDX_ASC', - TrustedClaimIssuersByUpdatedBlockIdMinEventIdxDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_MIN_EVENT_IDX_DESC', - TrustedClaimIssuersByUpdatedBlockIdMinIdAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_MIN_ID_ASC', - TrustedClaimIssuersByUpdatedBlockIdMinIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_MIN_ID_DESC', - TrustedClaimIssuersByUpdatedBlockIdMinIssuerAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_MIN_ISSUER_ASC', - TrustedClaimIssuersByUpdatedBlockIdMinIssuerDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_MIN_ISSUER_DESC', - TrustedClaimIssuersByUpdatedBlockIdMinUpdatedAtAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - TrustedClaimIssuersByUpdatedBlockIdMinUpdatedAtDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - TrustedClaimIssuersByUpdatedBlockIdMinUpdatedBlockIdAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - TrustedClaimIssuersByUpdatedBlockIdMinUpdatedBlockIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - TrustedClaimIssuersByUpdatedBlockIdStddevPopulationAssetIdAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_ASC', - TrustedClaimIssuersByUpdatedBlockIdStddevPopulationAssetIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ASSET_ID_DESC', - TrustedClaimIssuersByUpdatedBlockIdStddevPopulationCreatedAtAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - TrustedClaimIssuersByUpdatedBlockIdStddevPopulationCreatedAtDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - TrustedClaimIssuersByUpdatedBlockIdStddevPopulationCreatedBlockIdAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - TrustedClaimIssuersByUpdatedBlockIdStddevPopulationCreatedBlockIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - TrustedClaimIssuersByUpdatedBlockIdStddevPopulationEventIdxAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_ASC', - TrustedClaimIssuersByUpdatedBlockIdStddevPopulationEventIdxDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_EVENT_IDX_DESC', - TrustedClaimIssuersByUpdatedBlockIdStddevPopulationIdAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - TrustedClaimIssuersByUpdatedBlockIdStddevPopulationIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - TrustedClaimIssuersByUpdatedBlockIdStddevPopulationIssuerAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ISSUER_ASC', - TrustedClaimIssuersByUpdatedBlockIdStddevPopulationIssuerDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ISSUER_DESC', - TrustedClaimIssuersByUpdatedBlockIdStddevPopulationUpdatedAtAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - TrustedClaimIssuersByUpdatedBlockIdStddevPopulationUpdatedAtDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - TrustedClaimIssuersByUpdatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - TrustedClaimIssuersByUpdatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - TrustedClaimIssuersByUpdatedBlockIdStddevSampleAssetIdAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_ASC', - TrustedClaimIssuersByUpdatedBlockIdStddevSampleAssetIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ASSET_ID_DESC', - TrustedClaimIssuersByUpdatedBlockIdStddevSampleCreatedAtAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - TrustedClaimIssuersByUpdatedBlockIdStddevSampleCreatedAtDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - TrustedClaimIssuersByUpdatedBlockIdStddevSampleCreatedBlockIdAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - TrustedClaimIssuersByUpdatedBlockIdStddevSampleCreatedBlockIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - TrustedClaimIssuersByUpdatedBlockIdStddevSampleEventIdxAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', - TrustedClaimIssuersByUpdatedBlockIdStddevSampleEventIdxDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', - TrustedClaimIssuersByUpdatedBlockIdStddevSampleIdAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - TrustedClaimIssuersByUpdatedBlockIdStddevSampleIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - TrustedClaimIssuersByUpdatedBlockIdStddevSampleIssuerAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ISSUER_ASC', - TrustedClaimIssuersByUpdatedBlockIdStddevSampleIssuerDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ISSUER_DESC', - TrustedClaimIssuersByUpdatedBlockIdStddevSampleUpdatedAtAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - TrustedClaimIssuersByUpdatedBlockIdStddevSampleUpdatedAtDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - TrustedClaimIssuersByUpdatedBlockIdStddevSampleUpdatedBlockIdAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - TrustedClaimIssuersByUpdatedBlockIdStddevSampleUpdatedBlockIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - TrustedClaimIssuersByUpdatedBlockIdSumAssetIdAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_SUM_ASSET_ID_ASC', - TrustedClaimIssuersByUpdatedBlockIdSumAssetIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_SUM_ASSET_ID_DESC', - TrustedClaimIssuersByUpdatedBlockIdSumCreatedAtAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_ASC', - TrustedClaimIssuersByUpdatedBlockIdSumCreatedAtDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_DESC', - TrustedClaimIssuersByUpdatedBlockIdSumCreatedBlockIdAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - TrustedClaimIssuersByUpdatedBlockIdSumCreatedBlockIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - TrustedClaimIssuersByUpdatedBlockIdSumEventIdxAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_SUM_EVENT_IDX_ASC', - TrustedClaimIssuersByUpdatedBlockIdSumEventIdxDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_SUM_EVENT_IDX_DESC', - TrustedClaimIssuersByUpdatedBlockIdSumIdAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_SUM_ID_ASC', - TrustedClaimIssuersByUpdatedBlockIdSumIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_SUM_ID_DESC', - TrustedClaimIssuersByUpdatedBlockIdSumIssuerAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_SUM_ISSUER_ASC', - TrustedClaimIssuersByUpdatedBlockIdSumIssuerDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_SUM_ISSUER_DESC', - TrustedClaimIssuersByUpdatedBlockIdSumUpdatedAtAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - TrustedClaimIssuersByUpdatedBlockIdSumUpdatedAtDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - TrustedClaimIssuersByUpdatedBlockIdSumUpdatedBlockIdAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - TrustedClaimIssuersByUpdatedBlockIdSumUpdatedBlockIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - TrustedClaimIssuersByUpdatedBlockIdVariancePopulationAssetIdAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_ASC', - TrustedClaimIssuersByUpdatedBlockIdVariancePopulationAssetIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ASSET_ID_DESC', - TrustedClaimIssuersByUpdatedBlockIdVariancePopulationCreatedAtAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - TrustedClaimIssuersByUpdatedBlockIdVariancePopulationCreatedAtDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - TrustedClaimIssuersByUpdatedBlockIdVariancePopulationCreatedBlockIdAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - TrustedClaimIssuersByUpdatedBlockIdVariancePopulationCreatedBlockIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - TrustedClaimIssuersByUpdatedBlockIdVariancePopulationEventIdxAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', - TrustedClaimIssuersByUpdatedBlockIdVariancePopulationEventIdxDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', - TrustedClaimIssuersByUpdatedBlockIdVariancePopulationIdAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - TrustedClaimIssuersByUpdatedBlockIdVariancePopulationIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - TrustedClaimIssuersByUpdatedBlockIdVariancePopulationIssuerAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ISSUER_ASC', - TrustedClaimIssuersByUpdatedBlockIdVariancePopulationIssuerDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ISSUER_DESC', - TrustedClaimIssuersByUpdatedBlockIdVariancePopulationUpdatedAtAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - TrustedClaimIssuersByUpdatedBlockIdVariancePopulationUpdatedAtDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - TrustedClaimIssuersByUpdatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - TrustedClaimIssuersByUpdatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - TrustedClaimIssuersByUpdatedBlockIdVarianceSampleAssetIdAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_ASC', - TrustedClaimIssuersByUpdatedBlockIdVarianceSampleAssetIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ASSET_ID_DESC', - TrustedClaimIssuersByUpdatedBlockIdVarianceSampleCreatedAtAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - TrustedClaimIssuersByUpdatedBlockIdVarianceSampleCreatedAtDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - TrustedClaimIssuersByUpdatedBlockIdVarianceSampleCreatedBlockIdAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - TrustedClaimIssuersByUpdatedBlockIdVarianceSampleCreatedBlockIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - TrustedClaimIssuersByUpdatedBlockIdVarianceSampleEventIdxAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', - TrustedClaimIssuersByUpdatedBlockIdVarianceSampleEventIdxDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', - TrustedClaimIssuersByUpdatedBlockIdVarianceSampleIdAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - TrustedClaimIssuersByUpdatedBlockIdVarianceSampleIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - TrustedClaimIssuersByUpdatedBlockIdVarianceSampleIssuerAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ISSUER_ASC', - TrustedClaimIssuersByUpdatedBlockIdVarianceSampleIssuerDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ISSUER_DESC', - TrustedClaimIssuersByUpdatedBlockIdVarianceSampleUpdatedAtAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - TrustedClaimIssuersByUpdatedBlockIdVarianceSampleUpdatedAtDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - TrustedClaimIssuersByUpdatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - TrustedClaimIssuersByUpdatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'TRUSTED_CLAIM_ISSUERS_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - UpdatedAtAsc = 'UPDATED_AT_ASC', - UpdatedAtDesc = 'UPDATED_AT_DESC', - VenuesByCreatedBlockIdAverageCreatedAtAsc = 'VENUES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - VenuesByCreatedBlockIdAverageCreatedAtDesc = 'VENUES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - VenuesByCreatedBlockIdAverageCreatedBlockIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - VenuesByCreatedBlockIdAverageCreatedBlockIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - VenuesByCreatedBlockIdAverageDetailsAsc = 'VENUES_BY_CREATED_BLOCK_ID_AVERAGE_DETAILS_ASC', - VenuesByCreatedBlockIdAverageDetailsDesc = 'VENUES_BY_CREATED_BLOCK_ID_AVERAGE_DETAILS_DESC', - VenuesByCreatedBlockIdAverageIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_AVERAGE_ID_ASC', - VenuesByCreatedBlockIdAverageIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_AVERAGE_ID_DESC', - VenuesByCreatedBlockIdAverageOwnerIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_AVERAGE_OWNER_ID_ASC', - VenuesByCreatedBlockIdAverageOwnerIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_AVERAGE_OWNER_ID_DESC', - VenuesByCreatedBlockIdAverageTypeAsc = 'VENUES_BY_CREATED_BLOCK_ID_AVERAGE_TYPE_ASC', - VenuesByCreatedBlockIdAverageTypeDesc = 'VENUES_BY_CREATED_BLOCK_ID_AVERAGE_TYPE_DESC', - VenuesByCreatedBlockIdAverageUpdatedAtAsc = 'VENUES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - VenuesByCreatedBlockIdAverageUpdatedAtDesc = 'VENUES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - VenuesByCreatedBlockIdAverageUpdatedBlockIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - VenuesByCreatedBlockIdAverageUpdatedBlockIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - VenuesByCreatedBlockIdCountAsc = 'VENUES_BY_CREATED_BLOCK_ID_COUNT_ASC', - VenuesByCreatedBlockIdCountDesc = 'VENUES_BY_CREATED_BLOCK_ID_COUNT_DESC', - VenuesByCreatedBlockIdDistinctCountCreatedAtAsc = 'VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - VenuesByCreatedBlockIdDistinctCountCreatedAtDesc = 'VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - VenuesByCreatedBlockIdDistinctCountCreatedBlockIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - VenuesByCreatedBlockIdDistinctCountCreatedBlockIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - VenuesByCreatedBlockIdDistinctCountDetailsAsc = 'VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_DETAILS_ASC', - VenuesByCreatedBlockIdDistinctCountDetailsDesc = 'VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_DETAILS_DESC', - VenuesByCreatedBlockIdDistinctCountIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - VenuesByCreatedBlockIdDistinctCountIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - VenuesByCreatedBlockIdDistinctCountOwnerIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_OWNER_ID_ASC', - VenuesByCreatedBlockIdDistinctCountOwnerIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_OWNER_ID_DESC', - VenuesByCreatedBlockIdDistinctCountTypeAsc = 'VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TYPE_ASC', - VenuesByCreatedBlockIdDistinctCountTypeDesc = 'VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_TYPE_DESC', - VenuesByCreatedBlockIdDistinctCountUpdatedAtAsc = 'VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - VenuesByCreatedBlockIdDistinctCountUpdatedAtDesc = 'VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - VenuesByCreatedBlockIdDistinctCountUpdatedBlockIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - VenuesByCreatedBlockIdDistinctCountUpdatedBlockIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - VenuesByCreatedBlockIdMaxCreatedAtAsc = 'VENUES_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_ASC', - VenuesByCreatedBlockIdMaxCreatedAtDesc = 'VENUES_BY_CREATED_BLOCK_ID_MAX_CREATED_AT_DESC', - VenuesByCreatedBlockIdMaxCreatedBlockIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - VenuesByCreatedBlockIdMaxCreatedBlockIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - VenuesByCreatedBlockIdMaxDetailsAsc = 'VENUES_BY_CREATED_BLOCK_ID_MAX_DETAILS_ASC', - VenuesByCreatedBlockIdMaxDetailsDesc = 'VENUES_BY_CREATED_BLOCK_ID_MAX_DETAILS_DESC', - VenuesByCreatedBlockIdMaxIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_MAX_ID_ASC', - VenuesByCreatedBlockIdMaxIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_MAX_ID_DESC', - VenuesByCreatedBlockIdMaxOwnerIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_MAX_OWNER_ID_ASC', - VenuesByCreatedBlockIdMaxOwnerIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_MAX_OWNER_ID_DESC', - VenuesByCreatedBlockIdMaxTypeAsc = 'VENUES_BY_CREATED_BLOCK_ID_MAX_TYPE_ASC', - VenuesByCreatedBlockIdMaxTypeDesc = 'VENUES_BY_CREATED_BLOCK_ID_MAX_TYPE_DESC', - VenuesByCreatedBlockIdMaxUpdatedAtAsc = 'VENUES_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - VenuesByCreatedBlockIdMaxUpdatedAtDesc = 'VENUES_BY_CREATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - VenuesByCreatedBlockIdMaxUpdatedBlockIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - VenuesByCreatedBlockIdMaxUpdatedBlockIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - VenuesByCreatedBlockIdMinCreatedAtAsc = 'VENUES_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_ASC', - VenuesByCreatedBlockIdMinCreatedAtDesc = 'VENUES_BY_CREATED_BLOCK_ID_MIN_CREATED_AT_DESC', - VenuesByCreatedBlockIdMinCreatedBlockIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - VenuesByCreatedBlockIdMinCreatedBlockIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - VenuesByCreatedBlockIdMinDetailsAsc = 'VENUES_BY_CREATED_BLOCK_ID_MIN_DETAILS_ASC', - VenuesByCreatedBlockIdMinDetailsDesc = 'VENUES_BY_CREATED_BLOCK_ID_MIN_DETAILS_DESC', - VenuesByCreatedBlockIdMinIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_MIN_ID_ASC', - VenuesByCreatedBlockIdMinIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_MIN_ID_DESC', - VenuesByCreatedBlockIdMinOwnerIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_MIN_OWNER_ID_ASC', - VenuesByCreatedBlockIdMinOwnerIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_MIN_OWNER_ID_DESC', - VenuesByCreatedBlockIdMinTypeAsc = 'VENUES_BY_CREATED_BLOCK_ID_MIN_TYPE_ASC', - VenuesByCreatedBlockIdMinTypeDesc = 'VENUES_BY_CREATED_BLOCK_ID_MIN_TYPE_DESC', - VenuesByCreatedBlockIdMinUpdatedAtAsc = 'VENUES_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - VenuesByCreatedBlockIdMinUpdatedAtDesc = 'VENUES_BY_CREATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - VenuesByCreatedBlockIdMinUpdatedBlockIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - VenuesByCreatedBlockIdMinUpdatedBlockIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - VenuesByCreatedBlockIdStddevPopulationCreatedAtAsc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - VenuesByCreatedBlockIdStddevPopulationCreatedAtDesc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - VenuesByCreatedBlockIdStddevPopulationCreatedBlockIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - VenuesByCreatedBlockIdStddevPopulationCreatedBlockIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - VenuesByCreatedBlockIdStddevPopulationDetailsAsc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_DETAILS_ASC', - VenuesByCreatedBlockIdStddevPopulationDetailsDesc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_DETAILS_DESC', - VenuesByCreatedBlockIdStddevPopulationIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - VenuesByCreatedBlockIdStddevPopulationIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - VenuesByCreatedBlockIdStddevPopulationOwnerIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_OWNER_ID_ASC', - VenuesByCreatedBlockIdStddevPopulationOwnerIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_OWNER_ID_DESC', - VenuesByCreatedBlockIdStddevPopulationTypeAsc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TYPE_ASC', - VenuesByCreatedBlockIdStddevPopulationTypeDesc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_TYPE_DESC', - VenuesByCreatedBlockIdStddevPopulationUpdatedAtAsc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - VenuesByCreatedBlockIdStddevPopulationUpdatedAtDesc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - VenuesByCreatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - VenuesByCreatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - VenuesByCreatedBlockIdStddevSampleCreatedAtAsc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - VenuesByCreatedBlockIdStddevSampleCreatedAtDesc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - VenuesByCreatedBlockIdStddevSampleCreatedBlockIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - VenuesByCreatedBlockIdStddevSampleCreatedBlockIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - VenuesByCreatedBlockIdStddevSampleDetailsAsc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_DETAILS_ASC', - VenuesByCreatedBlockIdStddevSampleDetailsDesc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_DETAILS_DESC', - VenuesByCreatedBlockIdStddevSampleIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - VenuesByCreatedBlockIdStddevSampleIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - VenuesByCreatedBlockIdStddevSampleOwnerIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_OWNER_ID_ASC', - VenuesByCreatedBlockIdStddevSampleOwnerIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_OWNER_ID_DESC', - VenuesByCreatedBlockIdStddevSampleTypeAsc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TYPE_ASC', - VenuesByCreatedBlockIdStddevSampleTypeDesc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_TYPE_DESC', - VenuesByCreatedBlockIdStddevSampleUpdatedAtAsc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - VenuesByCreatedBlockIdStddevSampleUpdatedAtDesc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - VenuesByCreatedBlockIdStddevSampleUpdatedBlockIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - VenuesByCreatedBlockIdStddevSampleUpdatedBlockIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - VenuesByCreatedBlockIdSumCreatedAtAsc = 'VENUES_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_ASC', - VenuesByCreatedBlockIdSumCreatedAtDesc = 'VENUES_BY_CREATED_BLOCK_ID_SUM_CREATED_AT_DESC', - VenuesByCreatedBlockIdSumCreatedBlockIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - VenuesByCreatedBlockIdSumCreatedBlockIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - VenuesByCreatedBlockIdSumDetailsAsc = 'VENUES_BY_CREATED_BLOCK_ID_SUM_DETAILS_ASC', - VenuesByCreatedBlockIdSumDetailsDesc = 'VENUES_BY_CREATED_BLOCK_ID_SUM_DETAILS_DESC', - VenuesByCreatedBlockIdSumIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_SUM_ID_ASC', - VenuesByCreatedBlockIdSumIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_SUM_ID_DESC', - VenuesByCreatedBlockIdSumOwnerIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_SUM_OWNER_ID_ASC', - VenuesByCreatedBlockIdSumOwnerIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_SUM_OWNER_ID_DESC', - VenuesByCreatedBlockIdSumTypeAsc = 'VENUES_BY_CREATED_BLOCK_ID_SUM_TYPE_ASC', - VenuesByCreatedBlockIdSumTypeDesc = 'VENUES_BY_CREATED_BLOCK_ID_SUM_TYPE_DESC', - VenuesByCreatedBlockIdSumUpdatedAtAsc = 'VENUES_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - VenuesByCreatedBlockIdSumUpdatedAtDesc = 'VENUES_BY_CREATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - VenuesByCreatedBlockIdSumUpdatedBlockIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - VenuesByCreatedBlockIdSumUpdatedBlockIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - VenuesByCreatedBlockIdVariancePopulationCreatedAtAsc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - VenuesByCreatedBlockIdVariancePopulationCreatedAtDesc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - VenuesByCreatedBlockIdVariancePopulationCreatedBlockIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - VenuesByCreatedBlockIdVariancePopulationCreatedBlockIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - VenuesByCreatedBlockIdVariancePopulationDetailsAsc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_DETAILS_ASC', - VenuesByCreatedBlockIdVariancePopulationDetailsDesc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_DETAILS_DESC', - VenuesByCreatedBlockIdVariancePopulationIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - VenuesByCreatedBlockIdVariancePopulationIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - VenuesByCreatedBlockIdVariancePopulationOwnerIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_OWNER_ID_ASC', - VenuesByCreatedBlockIdVariancePopulationOwnerIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_OWNER_ID_DESC', - VenuesByCreatedBlockIdVariancePopulationTypeAsc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TYPE_ASC', - VenuesByCreatedBlockIdVariancePopulationTypeDesc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_TYPE_DESC', - VenuesByCreatedBlockIdVariancePopulationUpdatedAtAsc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - VenuesByCreatedBlockIdVariancePopulationUpdatedAtDesc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - VenuesByCreatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - VenuesByCreatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - VenuesByCreatedBlockIdVarianceSampleCreatedAtAsc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - VenuesByCreatedBlockIdVarianceSampleCreatedAtDesc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - VenuesByCreatedBlockIdVarianceSampleCreatedBlockIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - VenuesByCreatedBlockIdVarianceSampleCreatedBlockIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - VenuesByCreatedBlockIdVarianceSampleDetailsAsc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_DETAILS_ASC', - VenuesByCreatedBlockIdVarianceSampleDetailsDesc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_DETAILS_DESC', - VenuesByCreatedBlockIdVarianceSampleIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - VenuesByCreatedBlockIdVarianceSampleIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - VenuesByCreatedBlockIdVarianceSampleOwnerIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_OWNER_ID_ASC', - VenuesByCreatedBlockIdVarianceSampleOwnerIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_OWNER_ID_DESC', - VenuesByCreatedBlockIdVarianceSampleTypeAsc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TYPE_ASC', - VenuesByCreatedBlockIdVarianceSampleTypeDesc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_TYPE_DESC', - VenuesByCreatedBlockIdVarianceSampleUpdatedAtAsc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - VenuesByCreatedBlockIdVarianceSampleUpdatedAtDesc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - VenuesByCreatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - VenuesByCreatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'VENUES_BY_CREATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - VenuesByUpdatedBlockIdAverageCreatedAtAsc = 'VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_ASC', - VenuesByUpdatedBlockIdAverageCreatedAtDesc = 'VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_AT_DESC', - VenuesByUpdatedBlockIdAverageCreatedBlockIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - VenuesByUpdatedBlockIdAverageCreatedBlockIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - VenuesByUpdatedBlockIdAverageDetailsAsc = 'VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_DETAILS_ASC', - VenuesByUpdatedBlockIdAverageDetailsDesc = 'VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_DETAILS_DESC', - VenuesByUpdatedBlockIdAverageIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_ID_ASC', - VenuesByUpdatedBlockIdAverageIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_ID_DESC', - VenuesByUpdatedBlockIdAverageOwnerIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_OWNER_ID_ASC', - VenuesByUpdatedBlockIdAverageOwnerIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_OWNER_ID_DESC', - VenuesByUpdatedBlockIdAverageTypeAsc = 'VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_TYPE_ASC', - VenuesByUpdatedBlockIdAverageTypeDesc = 'VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_TYPE_DESC', - VenuesByUpdatedBlockIdAverageUpdatedAtAsc = 'VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_ASC', - VenuesByUpdatedBlockIdAverageUpdatedAtDesc = 'VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_AT_DESC', - VenuesByUpdatedBlockIdAverageUpdatedBlockIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - VenuesByUpdatedBlockIdAverageUpdatedBlockIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - VenuesByUpdatedBlockIdCountAsc = 'VENUES_BY_UPDATED_BLOCK_ID_COUNT_ASC', - VenuesByUpdatedBlockIdCountDesc = 'VENUES_BY_UPDATED_BLOCK_ID_COUNT_DESC', - VenuesByUpdatedBlockIdDistinctCountCreatedAtAsc = 'VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_ASC', - VenuesByUpdatedBlockIdDistinctCountCreatedAtDesc = 'VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_AT_DESC', - VenuesByUpdatedBlockIdDistinctCountCreatedBlockIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - VenuesByUpdatedBlockIdDistinctCountCreatedBlockIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - VenuesByUpdatedBlockIdDistinctCountDetailsAsc = 'VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_DETAILS_ASC', - VenuesByUpdatedBlockIdDistinctCountDetailsDesc = 'VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_DETAILS_DESC', - VenuesByUpdatedBlockIdDistinctCountIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_ASC', - VenuesByUpdatedBlockIdDistinctCountIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_ID_DESC', - VenuesByUpdatedBlockIdDistinctCountOwnerIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_OWNER_ID_ASC', - VenuesByUpdatedBlockIdDistinctCountOwnerIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_OWNER_ID_DESC', - VenuesByUpdatedBlockIdDistinctCountTypeAsc = 'VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TYPE_ASC', - VenuesByUpdatedBlockIdDistinctCountTypeDesc = 'VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_TYPE_DESC', - VenuesByUpdatedBlockIdDistinctCountUpdatedAtAsc = 'VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - VenuesByUpdatedBlockIdDistinctCountUpdatedAtDesc = 'VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - VenuesByUpdatedBlockIdDistinctCountUpdatedBlockIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - VenuesByUpdatedBlockIdDistinctCountUpdatedBlockIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - VenuesByUpdatedBlockIdMaxCreatedAtAsc = 'VENUES_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_ASC', - VenuesByUpdatedBlockIdMaxCreatedAtDesc = 'VENUES_BY_UPDATED_BLOCK_ID_MAX_CREATED_AT_DESC', - VenuesByUpdatedBlockIdMaxCreatedBlockIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_ASC', - VenuesByUpdatedBlockIdMaxCreatedBlockIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_MAX_CREATED_BLOCK_ID_DESC', - VenuesByUpdatedBlockIdMaxDetailsAsc = 'VENUES_BY_UPDATED_BLOCK_ID_MAX_DETAILS_ASC', - VenuesByUpdatedBlockIdMaxDetailsDesc = 'VENUES_BY_UPDATED_BLOCK_ID_MAX_DETAILS_DESC', - VenuesByUpdatedBlockIdMaxIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_MAX_ID_ASC', - VenuesByUpdatedBlockIdMaxIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_MAX_ID_DESC', - VenuesByUpdatedBlockIdMaxOwnerIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_MAX_OWNER_ID_ASC', - VenuesByUpdatedBlockIdMaxOwnerIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_MAX_OWNER_ID_DESC', - VenuesByUpdatedBlockIdMaxTypeAsc = 'VENUES_BY_UPDATED_BLOCK_ID_MAX_TYPE_ASC', - VenuesByUpdatedBlockIdMaxTypeDesc = 'VENUES_BY_UPDATED_BLOCK_ID_MAX_TYPE_DESC', - VenuesByUpdatedBlockIdMaxUpdatedAtAsc = 'VENUES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_ASC', - VenuesByUpdatedBlockIdMaxUpdatedAtDesc = 'VENUES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_AT_DESC', - VenuesByUpdatedBlockIdMaxUpdatedBlockIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_ASC', - VenuesByUpdatedBlockIdMaxUpdatedBlockIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_MAX_UPDATED_BLOCK_ID_DESC', - VenuesByUpdatedBlockIdMinCreatedAtAsc = 'VENUES_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_ASC', - VenuesByUpdatedBlockIdMinCreatedAtDesc = 'VENUES_BY_UPDATED_BLOCK_ID_MIN_CREATED_AT_DESC', - VenuesByUpdatedBlockIdMinCreatedBlockIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_ASC', - VenuesByUpdatedBlockIdMinCreatedBlockIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_MIN_CREATED_BLOCK_ID_DESC', - VenuesByUpdatedBlockIdMinDetailsAsc = 'VENUES_BY_UPDATED_BLOCK_ID_MIN_DETAILS_ASC', - VenuesByUpdatedBlockIdMinDetailsDesc = 'VENUES_BY_UPDATED_BLOCK_ID_MIN_DETAILS_DESC', - VenuesByUpdatedBlockIdMinIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_MIN_ID_ASC', - VenuesByUpdatedBlockIdMinIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_MIN_ID_DESC', - VenuesByUpdatedBlockIdMinOwnerIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_MIN_OWNER_ID_ASC', - VenuesByUpdatedBlockIdMinOwnerIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_MIN_OWNER_ID_DESC', - VenuesByUpdatedBlockIdMinTypeAsc = 'VENUES_BY_UPDATED_BLOCK_ID_MIN_TYPE_ASC', - VenuesByUpdatedBlockIdMinTypeDesc = 'VENUES_BY_UPDATED_BLOCK_ID_MIN_TYPE_DESC', - VenuesByUpdatedBlockIdMinUpdatedAtAsc = 'VENUES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_ASC', - VenuesByUpdatedBlockIdMinUpdatedAtDesc = 'VENUES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_AT_DESC', - VenuesByUpdatedBlockIdMinUpdatedBlockIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_ASC', - VenuesByUpdatedBlockIdMinUpdatedBlockIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_MIN_UPDATED_BLOCK_ID_DESC', - VenuesByUpdatedBlockIdStddevPopulationCreatedAtAsc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_ASC', - VenuesByUpdatedBlockIdStddevPopulationCreatedAtDesc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_AT_DESC', - VenuesByUpdatedBlockIdStddevPopulationCreatedBlockIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - VenuesByUpdatedBlockIdStddevPopulationCreatedBlockIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - VenuesByUpdatedBlockIdStddevPopulationDetailsAsc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_DETAILS_ASC', - VenuesByUpdatedBlockIdStddevPopulationDetailsDesc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_DETAILS_DESC', - VenuesByUpdatedBlockIdStddevPopulationIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_ASC', - VenuesByUpdatedBlockIdStddevPopulationIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_ID_DESC', - VenuesByUpdatedBlockIdStddevPopulationOwnerIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_OWNER_ID_ASC', - VenuesByUpdatedBlockIdStddevPopulationOwnerIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_OWNER_ID_DESC', - VenuesByUpdatedBlockIdStddevPopulationTypeAsc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TYPE_ASC', - VenuesByUpdatedBlockIdStddevPopulationTypeDesc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_TYPE_DESC', - VenuesByUpdatedBlockIdStddevPopulationUpdatedAtAsc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - VenuesByUpdatedBlockIdStddevPopulationUpdatedAtDesc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - VenuesByUpdatedBlockIdStddevPopulationUpdatedBlockIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - VenuesByUpdatedBlockIdStddevPopulationUpdatedBlockIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - VenuesByUpdatedBlockIdStddevSampleCreatedAtAsc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - VenuesByUpdatedBlockIdStddevSampleCreatedAtDesc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - VenuesByUpdatedBlockIdStddevSampleCreatedBlockIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - VenuesByUpdatedBlockIdStddevSampleCreatedBlockIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - VenuesByUpdatedBlockIdStddevSampleDetailsAsc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_DETAILS_ASC', - VenuesByUpdatedBlockIdStddevSampleDetailsDesc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_DETAILS_DESC', - VenuesByUpdatedBlockIdStddevSampleIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_ASC', - VenuesByUpdatedBlockIdStddevSampleIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_ID_DESC', - VenuesByUpdatedBlockIdStddevSampleOwnerIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_OWNER_ID_ASC', - VenuesByUpdatedBlockIdStddevSampleOwnerIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_OWNER_ID_DESC', - VenuesByUpdatedBlockIdStddevSampleTypeAsc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TYPE_ASC', - VenuesByUpdatedBlockIdStddevSampleTypeDesc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_TYPE_DESC', - VenuesByUpdatedBlockIdStddevSampleUpdatedAtAsc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - VenuesByUpdatedBlockIdStddevSampleUpdatedAtDesc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - VenuesByUpdatedBlockIdStddevSampleUpdatedBlockIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - VenuesByUpdatedBlockIdStddevSampleUpdatedBlockIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - VenuesByUpdatedBlockIdSumCreatedAtAsc = 'VENUES_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_ASC', - VenuesByUpdatedBlockIdSumCreatedAtDesc = 'VENUES_BY_UPDATED_BLOCK_ID_SUM_CREATED_AT_DESC', - VenuesByUpdatedBlockIdSumCreatedBlockIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_ASC', - VenuesByUpdatedBlockIdSumCreatedBlockIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_SUM_CREATED_BLOCK_ID_DESC', - VenuesByUpdatedBlockIdSumDetailsAsc = 'VENUES_BY_UPDATED_BLOCK_ID_SUM_DETAILS_ASC', - VenuesByUpdatedBlockIdSumDetailsDesc = 'VENUES_BY_UPDATED_BLOCK_ID_SUM_DETAILS_DESC', - VenuesByUpdatedBlockIdSumIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_SUM_ID_ASC', - VenuesByUpdatedBlockIdSumIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_SUM_ID_DESC', - VenuesByUpdatedBlockIdSumOwnerIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_SUM_OWNER_ID_ASC', - VenuesByUpdatedBlockIdSumOwnerIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_SUM_OWNER_ID_DESC', - VenuesByUpdatedBlockIdSumTypeAsc = 'VENUES_BY_UPDATED_BLOCK_ID_SUM_TYPE_ASC', - VenuesByUpdatedBlockIdSumTypeDesc = 'VENUES_BY_UPDATED_BLOCK_ID_SUM_TYPE_DESC', - VenuesByUpdatedBlockIdSumUpdatedAtAsc = 'VENUES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_ASC', - VenuesByUpdatedBlockIdSumUpdatedAtDesc = 'VENUES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_AT_DESC', - VenuesByUpdatedBlockIdSumUpdatedBlockIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_ASC', - VenuesByUpdatedBlockIdSumUpdatedBlockIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_SUM_UPDATED_BLOCK_ID_DESC', - VenuesByUpdatedBlockIdVariancePopulationCreatedAtAsc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - VenuesByUpdatedBlockIdVariancePopulationCreatedAtDesc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - VenuesByUpdatedBlockIdVariancePopulationCreatedBlockIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - VenuesByUpdatedBlockIdVariancePopulationCreatedBlockIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - VenuesByUpdatedBlockIdVariancePopulationDetailsAsc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_DETAILS_ASC', - VenuesByUpdatedBlockIdVariancePopulationDetailsDesc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_DETAILS_DESC', - VenuesByUpdatedBlockIdVariancePopulationIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_ASC', - VenuesByUpdatedBlockIdVariancePopulationIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_ID_DESC', - VenuesByUpdatedBlockIdVariancePopulationOwnerIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_OWNER_ID_ASC', - VenuesByUpdatedBlockIdVariancePopulationOwnerIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_OWNER_ID_DESC', - VenuesByUpdatedBlockIdVariancePopulationTypeAsc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TYPE_ASC', - VenuesByUpdatedBlockIdVariancePopulationTypeDesc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_TYPE_DESC', - VenuesByUpdatedBlockIdVariancePopulationUpdatedAtAsc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - VenuesByUpdatedBlockIdVariancePopulationUpdatedAtDesc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - VenuesByUpdatedBlockIdVariancePopulationUpdatedBlockIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - VenuesByUpdatedBlockIdVariancePopulationUpdatedBlockIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - VenuesByUpdatedBlockIdVarianceSampleCreatedAtAsc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - VenuesByUpdatedBlockIdVarianceSampleCreatedAtDesc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - VenuesByUpdatedBlockIdVarianceSampleCreatedBlockIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - VenuesByUpdatedBlockIdVarianceSampleCreatedBlockIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - VenuesByUpdatedBlockIdVarianceSampleDetailsAsc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_DETAILS_ASC', - VenuesByUpdatedBlockIdVarianceSampleDetailsDesc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_DETAILS_DESC', - VenuesByUpdatedBlockIdVarianceSampleIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_ASC', - VenuesByUpdatedBlockIdVarianceSampleIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_ID_DESC', - VenuesByUpdatedBlockIdVarianceSampleOwnerIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_OWNER_ID_ASC', - VenuesByUpdatedBlockIdVarianceSampleOwnerIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_OWNER_ID_DESC', - VenuesByUpdatedBlockIdVarianceSampleTypeAsc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TYPE_ASC', - VenuesByUpdatedBlockIdVarianceSampleTypeDesc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_TYPE_DESC', - VenuesByUpdatedBlockIdVarianceSampleUpdatedAtAsc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - VenuesByUpdatedBlockIdVarianceSampleUpdatedAtDesc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - VenuesByUpdatedBlockIdVarianceSampleUpdatedBlockIdAsc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - VenuesByUpdatedBlockIdVarianceSampleUpdatedBlockIdDesc = 'VENUES_BY_UPDATED_BLOCK_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', -} - -/** A filter to be used against Boolean fields. All fields are combined with a logical ‘and.’ */ -export type BooleanFilter = { - /** Not equal to the specified value, treating null like an ordinary value. */ - distinctFrom?: InputMaybe; - /** Equal to the specified value. */ - equalTo?: InputMaybe; - /** Greater than the specified value. */ - greaterThan?: InputMaybe; - /** Greater than or equal to the specified value. */ - greaterThanOrEqualTo?: InputMaybe; - /** Included in the specified list. */ - in?: InputMaybe>; - /** Is null (if `true` is specified) or is not null (if `false` is specified). */ - isNull?: InputMaybe; - /** Less than the specified value. */ - lessThan?: InputMaybe; - /** Less than or equal to the specified value. */ - lessThanOrEqualTo?: InputMaybe; - /** Equal to the specified value, treating null like an ordinary value. */ - notDistinctFrom?: InputMaybe; - /** Not equal to the specified value. */ - notEqualTo?: InputMaybe; - /** Not included in the specified list. */ - notIn?: InputMaybe>; -}; - -/** Represents `POLY`, the Ethereum based ERC-20 token, being converted to POLYX, the native Polymesh token */ -export type BridgeEvent = Node & { - __typename?: 'BridgeEvent'; - amount: Scalars['BigFloat']['output']; - createdAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `BridgeEvent`. */ - createdBlock?: Maybe; - createdBlockId: Scalars['String']['output']; - datetime: Scalars['Datetime']['output']; - eventIdx: Scalars['Int']['output']; - id: Scalars['String']['output']; - /** Reads a single `Identity` that is related to this `BridgeEvent`. */ - identity?: Maybe; - identityId: Scalars['String']['output']; - /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ - nodeId: Scalars['ID']['output']; - recipient: Scalars['String']['output']; - txHash: Scalars['String']['output']; - updatedAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `BridgeEvent`. */ - updatedBlock?: Maybe; - updatedBlockId: Scalars['String']['output']; -}; - -export type BridgeEventAggregates = { - __typename?: 'BridgeEventAggregates'; - /** Mean average aggregates across the matching connection (ignoring before/after/first/last/offset) */ - average?: Maybe; - /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ - distinctCount?: Maybe; - keys?: Maybe>; - /** Maximum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - max?: Maybe; - /** Minimum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - min?: Maybe; - /** Population standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevPopulation?: Maybe; - /** Sample standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevSample?: Maybe; - /** Sum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - sum?: Maybe; - /** Population variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - variancePopulation?: Maybe; - /** Sample variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - varianceSample?: Maybe; -}; - -/** A filter to be used against aggregates of `BridgeEvent` object types. */ -export type BridgeEventAggregatesFilter = { - /** Mean average aggregate over matching `BridgeEvent` objects. */ - average?: InputMaybe; - /** Distinct count aggregate over matching `BridgeEvent` objects. */ - distinctCount?: InputMaybe; - /** A filter that must pass for the relevant `BridgeEvent` object to be included within the aggregate. */ - filter?: InputMaybe; - /** Maximum aggregate over matching `BridgeEvent` objects. */ - max?: InputMaybe; - /** Minimum aggregate over matching `BridgeEvent` objects. */ - min?: InputMaybe; - /** Population standard deviation aggregate over matching `BridgeEvent` objects. */ - stddevPopulation?: InputMaybe; - /** Sample standard deviation aggregate over matching `BridgeEvent` objects. */ - stddevSample?: InputMaybe; - /** Sum aggregate over matching `BridgeEvent` objects. */ - sum?: InputMaybe; - /** Population variance aggregate over matching `BridgeEvent` objects. */ - variancePopulation?: InputMaybe; - /** Sample variance aggregate over matching `BridgeEvent` objects. */ - varianceSample?: InputMaybe; -}; - -export type BridgeEventAverageAggregateFilter = { - amount?: InputMaybe; - eventIdx?: InputMaybe; -}; - -export type BridgeEventAverageAggregates = { - __typename?: 'BridgeEventAverageAggregates'; - /** Mean average of amount across the matching connection */ - amount?: Maybe; - /** Mean average of eventIdx across the matching connection */ - eventIdx?: Maybe; -}; - -export type BridgeEventDistinctCountAggregateFilter = { - amount?: InputMaybe; - createdAt?: InputMaybe; - createdBlockId?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - id?: InputMaybe; - identityId?: InputMaybe; - recipient?: InputMaybe; - txHash?: InputMaybe; - updatedAt?: InputMaybe; - updatedBlockId?: InputMaybe; -}; - -export type BridgeEventDistinctCountAggregates = { - __typename?: 'BridgeEventDistinctCountAggregates'; - /** Distinct count of amount across the matching connection */ - amount?: Maybe; - /** Distinct count of createdAt across the matching connection */ - createdAt?: Maybe; - /** Distinct count of createdBlockId across the matching connection */ - createdBlockId?: Maybe; - /** Distinct count of datetime across the matching connection */ - datetime?: Maybe; - /** Distinct count of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Distinct count of id across the matching connection */ - id?: Maybe; - /** Distinct count of identityId across the matching connection */ - identityId?: Maybe; - /** Distinct count of recipient across the matching connection */ - recipient?: Maybe; - /** Distinct count of txHash across the matching connection */ - txHash?: Maybe; - /** Distinct count of updatedAt across the matching connection */ - updatedAt?: Maybe; - /** Distinct count of updatedBlockId across the matching connection */ - updatedBlockId?: Maybe; -}; - -/** A filter to be used against `BridgeEvent` object types. All fields are combined with a logical ‘and.’ */ -export type BridgeEventFilter = { - /** Filter by the object’s `amount` field. */ - amount?: InputMaybe; - /** Checks for all expressions in this list. */ - and?: InputMaybe>; - /** Filter by the object’s `createdAt` field. */ - createdAt?: InputMaybe; - /** Filter by the object’s `createdBlock` relation. */ - createdBlock?: InputMaybe; - /** Filter by the object’s `createdBlockId` field. */ - createdBlockId?: InputMaybe; - /** Filter by the object’s `datetime` field. */ - datetime?: InputMaybe; - /** Filter by the object’s `eventIdx` field. */ - eventIdx?: InputMaybe; - /** Filter by the object’s `id` field. */ - id?: InputMaybe; - /** Filter by the object’s `identity` relation. */ - identity?: InputMaybe; - /** Filter by the object’s `identityId` field. */ - identityId?: InputMaybe; - /** Negates the expression. */ - not?: InputMaybe; - /** Checks for any expressions in this list. */ - or?: InputMaybe>; - /** Filter by the object’s `recipient` field. */ - recipient?: InputMaybe; - /** Filter by the object’s `txHash` field. */ - txHash?: InputMaybe; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: InputMaybe; - /** Filter by the object’s `updatedBlock` relation. */ - updatedBlock?: InputMaybe; - /** Filter by the object’s `updatedBlockId` field. */ - updatedBlockId?: InputMaybe; -}; - -export type BridgeEventMaxAggregateFilter = { - amount?: InputMaybe; - eventIdx?: InputMaybe; -}; - -export type BridgeEventMaxAggregates = { - __typename?: 'BridgeEventMaxAggregates'; - /** Maximum of amount across the matching connection */ - amount?: Maybe; - /** Maximum of eventIdx across the matching connection */ - eventIdx?: Maybe; -}; - -export type BridgeEventMinAggregateFilter = { - amount?: InputMaybe; - eventIdx?: InputMaybe; -}; - -export type BridgeEventMinAggregates = { - __typename?: 'BridgeEventMinAggregates'; - /** Minimum of amount across the matching connection */ - amount?: Maybe; - /** Minimum of eventIdx across the matching connection */ - eventIdx?: Maybe; -}; - -export type BridgeEventStddevPopulationAggregateFilter = { - amount?: InputMaybe; - eventIdx?: InputMaybe; -}; - -export type BridgeEventStddevPopulationAggregates = { - __typename?: 'BridgeEventStddevPopulationAggregates'; - /** Population standard deviation of amount across the matching connection */ - amount?: Maybe; - /** Population standard deviation of eventIdx across the matching connection */ - eventIdx?: Maybe; -}; - -export type BridgeEventStddevSampleAggregateFilter = { - amount?: InputMaybe; - eventIdx?: InputMaybe; -}; - -export type BridgeEventStddevSampleAggregates = { - __typename?: 'BridgeEventStddevSampleAggregates'; - /** Sample standard deviation of amount across the matching connection */ - amount?: Maybe; - /** Sample standard deviation of eventIdx across the matching connection */ - eventIdx?: Maybe; -}; - -export type BridgeEventSumAggregateFilter = { - amount?: InputMaybe; - eventIdx?: InputMaybe; -}; - -export type BridgeEventSumAggregates = { - __typename?: 'BridgeEventSumAggregates'; - /** Sum of amount across the matching connection */ - amount: Scalars['BigFloat']['output']; - /** Sum of eventIdx across the matching connection */ - eventIdx: Scalars['BigInt']['output']; -}; - -export type BridgeEventVariancePopulationAggregateFilter = { - amount?: InputMaybe; - eventIdx?: InputMaybe; -}; - -export type BridgeEventVariancePopulationAggregates = { - __typename?: 'BridgeEventVariancePopulationAggregates'; - /** Population variance of amount across the matching connection */ - amount?: Maybe; - /** Population variance of eventIdx across the matching connection */ - eventIdx?: Maybe; -}; - -export type BridgeEventVarianceSampleAggregateFilter = { - amount?: InputMaybe; - eventIdx?: InputMaybe; -}; - -export type BridgeEventVarianceSampleAggregates = { - __typename?: 'BridgeEventVarianceSampleAggregates'; - /** Sample variance of amount across the matching connection */ - amount?: Maybe; - /** Sample variance of eventIdx across the matching connection */ - eventIdx?: Maybe; -}; - -/** A connection to a list of `BridgeEvent` values. */ -export type BridgeEventsConnection = { - __typename?: 'BridgeEventsConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `BridgeEvent` and cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `BridgeEvent` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `BridgeEvent` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `BridgeEvent` values. */ -export type BridgeEventsConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `BridgeEvent` edge in the connection. */ -export type BridgeEventsEdge = { - __typename?: 'BridgeEventsEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `BridgeEvent` at the end of the edge. */ - node?: Maybe; -}; - -/** Grouping methods for `BridgeEvent` for usage during aggregation. */ -export enum BridgeEventsGroupBy { - Amount = 'AMOUNT', - CreatedAt = 'CREATED_AT', - CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', - CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', - CreatedBlockId = 'CREATED_BLOCK_ID', - Datetime = 'DATETIME', - DatetimeTruncatedToDay = 'DATETIME_TRUNCATED_TO_DAY', - DatetimeTruncatedToHour = 'DATETIME_TRUNCATED_TO_HOUR', - EventIdx = 'EVENT_IDX', - IdentityId = 'IDENTITY_ID', - Recipient = 'RECIPIENT', - TxHash = 'TX_HASH', - UpdatedAt = 'UPDATED_AT', - UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', - UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export type BridgeEventsHavingAverageInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type BridgeEventsHavingDistinctCountInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Conditions for `BridgeEvent` aggregates. */ -export type BridgeEventsHavingInput = { - AND?: InputMaybe>; - OR?: InputMaybe>; - average?: InputMaybe; - distinctCount?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddevPopulation?: InputMaybe; - stddevSample?: InputMaybe; - sum?: InputMaybe; - variancePopulation?: InputMaybe; - varianceSample?: InputMaybe; -}; - -export type BridgeEventsHavingMaxInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type BridgeEventsHavingMinInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type BridgeEventsHavingStddevPopulationInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type BridgeEventsHavingStddevSampleInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type BridgeEventsHavingSumInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type BridgeEventsHavingVariancePopulationInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type BridgeEventsHavingVarianceSampleInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Methods to use when ordering `BridgeEvent`. */ -export enum BridgeEventsOrderBy { - AmountAsc = 'AMOUNT_ASC', - AmountDesc = 'AMOUNT_DESC', - CreatedAtAsc = 'CREATED_AT_ASC', - CreatedAtDesc = 'CREATED_AT_DESC', - CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', - CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', - DatetimeAsc = 'DATETIME_ASC', - DatetimeDesc = 'DATETIME_DESC', - EventIdxAsc = 'EVENT_IDX_ASC', - EventIdxDesc = 'EVENT_IDX_DESC', - IdentityIdAsc = 'IDENTITY_ID_ASC', - IdentityIdDesc = 'IDENTITY_ID_DESC', - IdAsc = 'ID_ASC', - IdDesc = 'ID_DESC', - Natural = 'NATURAL', - PrimaryKeyAsc = 'PRIMARY_KEY_ASC', - PrimaryKeyDesc = 'PRIMARY_KEY_DESC', - RecipientAsc = 'RECIPIENT_ASC', - RecipientDesc = 'RECIPIENT_DESC', - TxHashAsc = 'TX_HASH_ASC', - TxHashDesc = 'TX_HASH_DESC', - UpdatedAtAsc = 'UPDATED_AT_ASC', - UpdatedAtDesc = 'UPDATED_AT_DESC', - UpdatedBlockIdAsc = 'UPDATED_BLOCK_ID_ASC', - UpdatedBlockIdDesc = 'UPDATED_BLOCK_ID_DESC', -} - -/** Represents all known chain extrinsics */ -export enum CallIdEnum { - Abdicate = 'abdicate', - AbdicateMembership = 'abdicate_membership', - AcceptAssetOwnershipTransfer = 'accept_asset_ownership_transfer', - AcceptAuthorization = 'accept_authorization', - AcceptBecomeAgent = 'accept_become_agent', - AcceptMasterKey = 'accept_master_key', - AcceptMultisigSignerAsIdentity = 'accept_multisig_signer_as_identity', - AcceptMultisigSignerAsKey = 'accept_multisig_signer_as_key', - AcceptPayingKey = 'accept_paying_key', - AcceptPortfolioCustody = 'accept_portfolio_custody', - AcceptPrimaryIssuanceAgentTransfer = 'accept_primary_issuance_agent_transfer', - AcceptPrimaryKey = 'accept_primary_key', - AcceptTickerTransfer = 'accept_ticker_transfer', - AddActiveRule = 'add_active_rule', - AddAndAffirmInstruction = 'add_and_affirm_instruction', - AddAndAffirmInstructionWithMemo = 'add_and_affirm_instruction_with_memo', - AddAndAffirmInstructionWithMemoV2 = 'add_and_affirm_instruction_with_memo_v2', - AddAndAuthorizeInstruction = 'add_and_authorize_instruction', - AddAuthorization = 'add_authorization', - AddBallot = 'add_ballot', - AddClaim = 'add_claim', - AddComplianceRequirement = 'add_compliance_requirement', - AddDefaultTrustedClaimIssuer = 'add_default_trusted_claim_issuer', - AddDocuments = 'add_documents', - AddExemptedEntities = 'add_exempted_entities', - AddExtension = 'add_extension', - AddFreezeAdmin = 'add_freeze_admin', - AddInstruction = 'add_instruction', - AddInstructionWithMemo = 'add_instruction_with_memo', - AddInstructionWithMemoV2 = 'add_instruction_with_memo_v2', - AddInvestorUniquenessClaim = 'add_investor_uniqueness_claim', - AddInvestorUniquenessClaimV2 = 'add_investor_uniqueness_claim_v2', - AddMediatorAccount = 'add_mediator_account', - AddMember = 'add_member', - AddMultisigSigner = 'add_multisig_signer', - AddMultisigSignersViaCreator = 'add_multisig_signers_via_creator', - AddPermissionedValidator = 'add_permissioned_validator', - AddRangeProof = 'add_range_proof', - AddSecondaryKeysWithAuthorization = 'add_secondary_keys_with_authorization', - AddSecondaryKeysWithAuthorizationOld = 'add_secondary_keys_with_authorization_old', - AddTransaction = 'add_transaction', - AddTransferManager = 'add_transfer_manager', - AddVerifyRangeProof = 'add_verify_range_proof', - AffirmInstruction = 'affirm_instruction', - AffirmInstructionV2 = 'affirm_instruction_v2', - AffirmInstructionWithCount = 'affirm_instruction_with_count', - AffirmTransactions = 'affirm_transactions', - AffirmWithReceipts = 'affirm_with_receipts', - AffirmWithReceiptsWithCount = 'affirm_with_receipts_with_count', - AllowIdentityToCreatePortfolios = 'allow_identity_to_create_portfolios', - AllowVenues = 'allow_venues', - AmendProposal = 'amend_proposal', - ApplyIncomingBalance = 'apply_incoming_balance', - Approve = 'approve', - ApproveAsIdentity = 'approve_as_identity', - ApproveAsKey = 'approve_as_key', - ApproveCommitteeProposal = 'approve_committee_proposal', - ArchiveExtension = 'archive_extension', - AsDerivative = 'as_derivative', - AttachBallot = 'attach_ballot', - AuthorizeInstruction = 'authorize_instruction', - AuthorizeWithReceipts = 'authorize_with_receipts', - Batch = 'batch', - BatchAcceptAuthorization = 'batch_accept_authorization', - BatchAddAuthorization = 'batch_add_authorization', - BatchAddClaim = 'batch_add_claim', - BatchAddDefaultTrustedClaimIssuer = 'batch_add_default_trusted_claim_issuer', - BatchAddDocument = 'batch_add_document', - BatchAddSecondaryKeyWithAuthorization = 'batch_add_secondary_key_with_authorization', - BatchAddSigningKeyWithAuthorization = 'batch_add_signing_key_with_authorization', - BatchAll = 'batch_all', - BatchAtomic = 'batch_atomic', - BatchChangeAssetRule = 'batch_change_asset_rule', - BatchChangeComplianceRequirement = 'batch_change_compliance_requirement', - BatchForceHandleBridgeTx = 'batch_force_handle_bridge_tx', - BatchFreezeTx = 'batch_freeze_tx', - BatchHandleBridgeTx = 'batch_handle_bridge_tx', - BatchIssue = 'batch_issue', - BatchOld = 'batch_old', - BatchOptimistic = 'batch_optimistic', - BatchProposeBridgeTx = 'batch_propose_bridge_tx', - BatchRemoveAuthorization = 'batch_remove_authorization', - BatchRemoveDefaultTrustedClaimIssuer = 'batch_remove_default_trusted_claim_issuer', - BatchRemoveDocument = 'batch_remove_document', - BatchRevokeClaim = 'batch_revoke_claim', - BatchUnfreezeTx = 'batch_unfreeze_tx', - BatchUpdateAssetStats = 'batch_update_asset_stats', - Bond = 'bond', - BondAdditionalDeposit = 'bond_additional_deposit', - BondExtra = 'bond_extra', - BurnAccountBalance = 'burn_account_balance', - BuyTokens = 'buy_tokens', - Call = 'call', - CallOldWeight = 'call_old_weight', - Cancel = 'cancel', - CancelBallot = 'cancel_ballot', - CancelDeferredSlash = 'cancel_deferred_slash', - CancelNamed = 'cancel_named', - CancelProposal = 'cancel_proposal', - CddRegisterDid = 'cdd_register_did', - CddRegisterDidWithCdd = 'cdd_register_did_with_cdd', - ChangeAdmin = 'change_admin', - ChangeAllSignersAndSigsRequired = 'change_all_signers_and_sigs_required', - ChangeAssetRule = 'change_asset_rule', - ChangeBaseFee = 'change_base_fee', - ChangeBridgeExempted = 'change_bridge_exempted', - ChangeBridgeLimit = 'change_bridge_limit', - ChangeCddRequirementForMkRotation = 'change_cdd_requirement_for_mk_rotation', - ChangeCoefficient = 'change_coefficient', - ChangeComplianceRequirement = 'change_compliance_requirement', - ChangeController = 'change_controller', - ChangeEnd = 'change_end', - ChangeGroup = 'change_group', - ChangeMeta = 'change_meta', - ChangeRcv = 'change_rcv', - ChangeReceiptValidity = 'change_receipt_validity', - ChangeRecordDate = 'change_record_date', - ChangeSigsRequired = 'change_sigs_required', - ChangeSigsRequiredViaCreator = 'change_sigs_required_via_creator', - ChangeSlashingAllowedFor = 'change_slashing_allowed_for', - ChangeTemplateFees = 'change_template_fees', - ChangeTemplateMetaUrl = 'change_template_meta_url', - ChangeTimelock = 'change_timelock', - Chill = 'chill', - ChillFromGovernance = 'chill_from_governance', - Claim = 'claim', - ClaimClassicTicker = 'claim_classic_ticker', - ClaimItnReward = 'claim_itn_reward', - ClaimReceipt = 'claim_receipt', - ClaimSurcharge = 'claim_surcharge', - ClaimUnclaimed = 'claim_unclaimed', - ClearSnapshot = 'clear_snapshot', - Close = 'close', - ControllerRedeem = 'controller_redeem', - ControllerTransfer = 'controller_transfer', - CreateAccount = 'create_account', - CreateAndChangeCustomGroup = 'create_and_change_custom_group', - CreateAsset = 'create_asset', - CreateAssetAndMint = 'create_asset_and_mint', - CreateAssetWithCustomType = 'create_asset_with_custom_type', - CreateCheckpoint = 'create_checkpoint', - CreateChildIdentities = 'create_child_identities', - CreateChildIdentity = 'create_child_identity', - CreateConfidentialAsset = 'create_confidential_asset', - CreateCustodyPortfolio = 'create_custody_portfolio', - CreateFundraiser = 'create_fundraiser', - CreateGroup = 'create_group', - CreateGroupAndAddAuth = 'create_group_and_add_auth', - CreateMultisig = 'create_multisig', - CreateNftCollection = 'create_nft_collection', - CreateOrApproveProposalAsIdentity = 'create_or_approve_proposal_as_identity', - CreateOrApproveProposalAsKey = 'create_or_approve_proposal_as_key', - CreatePortfolio = 'create_portfolio', - CreateProposalAsIdentity = 'create_proposal_as_identity', - CreateProposalAsKey = 'create_proposal_as_key', - CreateSchedule = 'create_schedule', - CreateVenue = 'create_venue', - DecreasePolyxLimit = 'decrease_polyx_limit', - DeletePortfolio = 'delete_portfolio', - DepositBlockRewardReserveBalance = 'deposit_block_reward_reserve_balance', - DisableMember = 'disable_member', - DisallowVenues = 'disallow_venues', - Disbursement = 'disbursement', - DispatchAs = 'dispatch_as', - Distribute = 'distribute', - EmergencyReferendum = 'emergency_referendum', - EnableIndividualCommissions = 'enable_individual_commissions', - EnactReferendum = 'enact_referendum', - EnactSnapshotResults = 'enact_snapshot_results', - ExecuteManualInstruction = 'execute_manual_instruction', - ExecuteScheduledInstruction = 'execute_scheduled_instruction', - ExecuteScheduledInstructionV2 = 'execute_scheduled_instruction_v2', - ExecuteScheduledInstructionV3 = 'execute_scheduled_instruction_v3', - ExecuteScheduledPip = 'execute_scheduled_pip', - ExecuteScheduledProposal = 'execute_scheduled_proposal', - ExecuteTransaction = 'execute_transaction', - ExemptTickerAffirmation = 'exempt_ticker_affirmation', - ExpireScheduledPip = 'expire_scheduled_pip', - FastTrackProposal = 'fast_track_proposal', - FillBlock = 'fill_block', - FinalHint = 'final_hint', - ForceBatch = 'force_batch', - ForceHandleBridgeTx = 'force_handle_bridge_tx', - ForceNewEra = 'force_new_era', - ForceNewEraAlways = 'force_new_era_always', - ForceNoEras = 'force_no_eras', - ForceTransfer = 'force_transfer', - ForceUnstake = 'force_unstake', - ForwardedCall = 'forwarded_call', - Free = 'free', - Freeze = 'freeze', - FreezeFundraiser = 'freeze_fundraiser', - FreezeInstantiation = 'freeze_instantiation', - FreezeSecondaryKeys = 'freeze_secondary_keys', - FreezeSigningKeys = 'freeze_signing_keys', - FreezeTxs = 'freeze_txs', - GcAddCddClaim = 'gc_add_cdd_claim', - GcRevokeCddClaim = 'gc_revoke_cdd_claim', - GetCddOf = 'get_cdd_of', - GetMyDid = 'get_my_did', - HandleBridgeTx = 'handle_bridge_tx', - HandleScheduledBridgeTx = 'handle_scheduled_bridge_tx', - Heartbeat = 'heartbeat', - IncreaseCustodyAllowance = 'increase_custody_allowance', - IncreaseCustodyAllowanceOf = 'increase_custody_allowance_of', - IncreasePolyxLimit = 'increase_polyx_limit', - IncreaseValidatorCount = 'increase_validator_count', - InitiateCorporateAction = 'initiate_corporate_action', - InitiateCorporateActionAndDistribute = 'initiate_corporate_action_and_distribute', - Instantiate = 'instantiate', - InstantiateOldWeight = 'instantiate_old_weight', - InstantiateWithCode = 'instantiate_with_code', - InstantiateWithCodeAsPrimaryKey = 'instantiate_with_code_as_primary_key', - InstantiateWithCodeOldWeight = 'instantiate_with_code_old_weight', - InstantiateWithCodePerms = 'instantiate_with_code_perms', - InstantiateWithHashAsPrimaryKey = 'instantiate_with_hash_as_primary_key', - InstantiateWithHashPerms = 'instantiate_with_hash_perms', - InvalidateCddClaims = 'invalidate_cdd_claims', - Invest = 'invest', - IsIssuable = 'is_issuable', - Issue = 'issue', - IssueNft = 'issue_nft', - JoinIdentityAsIdentity = 'join_identity_as_identity', - JoinIdentityAsKey = 'join_identity_as_key', - KillPrefix = 'kill_prefix', - KillProposal = 'kill_proposal', - KillStorage = 'kill_storage', - LaunchSto = 'launch_sto', - LeaveIdentityAsIdentity = 'leave_identity_as_identity', - LeaveIdentityAsKey = 'leave_identity_as_key', - LegacySetPermissionToSigner = 'legacy_set_permission_to_signer', - LinkCaDoc = 'link_ca_doc', - MakeDivisible = 'make_divisible', - MakeMultisigPrimary = 'make_multisig_primary', - MakeMultisigSecondary = 'make_multisig_secondary', - MakeMultisigSigner = 'make_multisig_signer', - MediatorAffirmTransaction = 'mediator_affirm_transaction', - MediatorUnaffirmTransaction = 'mediator_unaffirm_transaction', - MintConfidentialAsset = 'mint_confidential_asset', - MockCddRegisterDid = 'mock_cdd_register_did', - ModifyExemptionList = 'modify_exemption_list', - ModifyFundraiserWindow = 'modify_fundraiser_window', - MovePortfolioFunds = 'move_portfolio_funds', - MovePortfolioFundsV2 = 'move_portfolio_funds_v2', - New = 'new', - Nominate = 'nominate', - NotePreimage = 'note_preimage', - NoteStalled = 'note_stalled', - OverrideReferendumEnactmentPeriod = 'override_referendum_enactment_period', - PauseAssetCompliance = 'pause_asset_compliance', - PauseAssetRules = 'pause_asset_rules', - PauseSto = 'pause_sto', - PayoutStakers = 'payout_stakers', - PayoutStakersBySystem = 'payout_stakers_by_system', - PlaceholderAddAndAffirmInstruction = 'placeholder_add_and_affirm_instruction', - PlaceholderAddAndAffirmInstructionWithMemo = 'placeholder_add_and_affirm_instruction_with_memo', - PlaceholderAddInstruction = 'placeholder_add_instruction', - PlaceholderAddInstructionWithMemo = 'placeholder_add_instruction_with_memo', - PlaceholderAffirmInstruction = 'placeholder_affirm_instruction', - PlaceholderClaimReceipt = 'placeholder_claim_receipt', - PlaceholderFillBlock = 'placeholder_fill_block', - PlaceholderLegacySetPermissionToSigner = 'placeholder_legacy_set_permission_to_signer', - PlaceholderRejectInstruction = 'placeholder_reject_instruction', - PlaceholderUnclaimReceipt = 'placeholder_unclaim_receipt', - PlaceholderWithdrawAffirmation = 'placeholder_withdraw_affirmation', - PlanConfigChange = 'plan_config_change', - PreApprovePortfolio = 'pre_approve_portfolio', - PreApproveTicker = 'pre_approve_ticker', - Propose = 'propose', - ProposeBridgeTx = 'propose_bridge_tx', - PruneProposal = 'prune_proposal', - PurgeKeys = 'purge_keys', - PushBenefit = 'push_benefit', - PutCode = 'put_code', - QuitPortfolioCustody = 'quit_portfolio_custody', - ReapStash = 'reap_stash', - Rebond = 'rebond', - ReceiverAffirmTransaction = 'receiver_affirm_transaction', - ReceiverUnaffirmTransaction = 'receiver_unaffirm_transaction', - Reclaim = 'reclaim', - Redeem = 'redeem', - RedeemFrom = 'redeem_from', - RedeemFromPortfolio = 'redeem_from_portfolio', - RedeemNft = 'redeem_nft', - RegisterAndSetLocalAssetMetadata = 'register_and_set_local_asset_metadata', - RegisterAssetMetadataGlobalType = 'register_asset_metadata_global_type', - RegisterAssetMetadataLocalType = 'register_asset_metadata_local_type', - RegisterCustomAssetType = 'register_custom_asset_type', - RegisterCustomClaimType = 'register_custom_claim_type', - RegisterDid = 'register_did', - RegisterTicker = 'register_ticker', - Reimbursement = 'reimbursement', - RejectAsIdentity = 'reject_as_identity', - RejectAsKey = 'reject_as_key', - RejectInstruction = 'reject_instruction', - RejectInstructionV2 = 'reject_instruction_v2', - RejectInstructionWithCount = 'reject_instruction_with_count', - RejectProposal = 'reject_proposal', - RejectReferendum = 'reject_referendum', - RejectTransaction = 'reject_transaction', - RelayTx = 'relay_tx', - Remark = 'remark', - RemarkWithEvent = 'remark_with_event', - RemoveActiveRule = 'remove_active_rule', - RemoveAgent = 'remove_agent', - RemoveAuthorization = 'remove_authorization', - RemoveBallot = 'remove_ballot', - RemoveCa = 'remove_ca', - RemoveCode = 'remove_code', - RemoveComplianceRequirement = 'remove_compliance_requirement', - RemoveCreatorControls = 'remove_creator_controls', - RemoveDefaultTrustedClaimIssuer = 'remove_default_trusted_claim_issuer', - RemoveDistribution = 'remove_distribution', - RemoveDocuments = 'remove_documents', - RemoveExemptedEntities = 'remove_exempted_entities', - RemoveFreezeAdmin = 'remove_freeze_admin', - RemoveLocalMetadataKey = 'remove_local_metadata_key', - RemoveMember = 'remove_member', - RemoveMetadataValue = 'remove_metadata_value', - RemoveMultisigSigner = 'remove_multisig_signer', - RemoveMultisigSignersViaCreator = 'remove_multisig_signers_via_creator', - RemovePayingKey = 'remove_paying_key', - RemovePermissionedValidator = 'remove_permissioned_validator', - RemovePortfolioPreApproval = 'remove_portfolio_pre_approval', - RemovePrimaryIssuanceAgent = 'remove_primary_issuance_agent', - RemoveSchedule = 'remove_schedule', - RemoveSecondaryKeys = 'remove_secondary_keys', - RemoveSecondaryKeysOld = 'remove_secondary_keys_old', - RemoveSigningKeys = 'remove_signing_keys', - RemoveSmartExtension = 'remove_smart_extension', - RemoveTickerAffirmationExemption = 'remove_ticker_affirmation_exemption', - RemoveTickerPreApproval = 'remove_ticker_pre_approval', - RemoveTransferManager = 'remove_transfer_manager', - RemoveTxs = 'remove_txs', - RenameAsset = 'rename_asset', - RenamePortfolio = 'rename_portfolio', - ReplaceAssetCompliance = 'replace_asset_compliance', - ReplaceAssetRules = 'replace_asset_rules', - ReportEquivocation = 'report_equivocation', - ReportEquivocationUnsigned = 'report_equivocation_unsigned', - RequestPreimage = 'request_preimage', - RescheduleExecution = 'reschedule_execution', - RescheduleInstruction = 'reschedule_instruction', - ReserveClassicTicker = 'reserve_classic_ticker', - ResetActiveRules = 'reset_active_rules', - ResetAssetCompliance = 'reset_asset_compliance', - ResetCaa = 'reset_caa', - ResetMembers = 'reset_members', - ResumeAssetCompliance = 'resume_asset_compliance', - ResumeAssetRules = 'resume_asset_rules', - RevokeClaim = 'revoke_claim', - RevokeClaimByIndex = 'revoke_claim_by_index', - RevokeCreatePortfoliosPermission = 'revoke_create_portfolios_permission', - RevokeOffchainAuthorization = 'revoke_offchain_authorization', - RotatePrimaryKeyToSecondary = 'rotate_primary_key_to_secondary', - ScaleValidatorCount = 'scale_validator_count', - Schedule = 'schedule', - ScheduleAfter = 'schedule_after', - ScheduleNamed = 'schedule_named', - ScheduleNamedAfter = 'schedule_named_after', - SenderAffirmTransaction = 'sender_affirm_transaction', - SenderUnaffirmTransaction = 'sender_unaffirm_transaction', - Set = 'set', - SetActiveAssetStats = 'set_active_asset_stats', - SetActiveMembersLimit = 'set_active_members_limit', - SetActivePipLimit = 'set_active_pip_limit', - SetAssetMetadata = 'set_asset_metadata', - SetAssetMetadataDetails = 'set_asset_metadata_details', - SetAssetTransferCompliance = 'set_asset_transfer_compliance', - SetBalance = 'set_balance', - SetChangesTrieConfig = 'set_changes_trie_config', - SetCode = 'set_code', - SetCodeWithoutChecks = 'set_code_without_checks', - SetCommissionCap = 'set_commission_cap', - SetController = 'set_controller', - SetDefaultEnactmentPeriod = 'set_default_enactment_period', - SetDefaultTargets = 'set_default_targets', - SetDefaultWithholdingTax = 'set_default_withholding_tax', - SetDidWithholdingTax = 'set_did_withholding_tax', - SetEntitiesExempt = 'set_entities_exempt', - SetExpiresAfter = 'set_expires_after', - SetFundingRound = 'set_funding_round', - SetGlobalCommission = 'set_global_commission', - SetGroupPermissions = 'set_group_permissions', - SetHeapPages = 'set_heap_pages', - SetHistoryDepth = 'set_history_depth', - SetInvulnerables = 'set_invulnerables', - SetItnRewardStatus = 'set_itn_reward_status', - SetKey = 'set_key', - SetKeys = 'set_keys', - SetMasterKey = 'set_master_key', - SetMaxDetailsLength = 'set_max_details_length', - SetMaxPipSkipCount = 'set_max_pip_skip_count', - SetMinBondThreshold = 'set_min_bond_threshold', - SetMinProposalDeposit = 'set_min_proposal_deposit', - SetPayee = 'set_payee', - SetPayingKey = 'set_paying_key', - SetPendingPipExpiry = 'set_pending_pip_expiry', - SetPermissionToSigner = 'set_permission_to_signer', - SetPrimaryKey = 'set_primary_key', - SetProposalCoolOffPeriod = 'set_proposal_cool_off_period', - SetProposalDuration = 'set_proposal_duration', - SetPruneHistoricalPips = 'set_prune_historical_pips', - SetReleaseCoordinator = 'set_release_coordinator', - SetSchedulesMaxComplexity = 'set_schedules_max_complexity', - SetSecondaryKeyPermissions = 'set_secondary_key_permissions', - SetStorage = 'set_storage', - SetUncles = 'set_uncles', - SetValidatorCount = 'set_validator_count', - SetVenueFiltering = 'set_venue_filtering', - SetVoteThreshold = 'set_vote_threshold', - Snapshot = 'snapshot', - Stop = 'stop', - SubmitElectionSolution = 'submit_election_solution', - SubmitElectionSolutionUnsigned = 'submit_election_solution_unsigned', - Sudo = 'sudo', - SudoAs = 'sudo_as', - SudoUncheckedWeight = 'sudo_unchecked_weight', - SwapMember = 'swap_member', - Transfer = 'transfer', - TransferWithMemo = 'transfer_with_memo', - Unbond = 'unbond', - UnclaimReceipt = 'unclaim_receipt', - Unfreeze = 'unfreeze', - UnfreezeFundraiser = 'unfreeze_fundraiser', - UnfreezeSecondaryKeys = 'unfreeze_secondary_keys', - UnfreezeTxs = 'unfreeze_txs', - UnlinkChildIdentity = 'unlink_child_identity', - UnnotePreimage = 'unnote_preimage', - UnrequestPreimage = 'unrequest_preimage', - UpdateAssetType = 'update_asset_type', - UpdateCallRuntimeWhitelist = 'update_call_runtime_whitelist', - UpdateIdentifiers = 'update_identifiers', - UpdatePermissionedValidatorIntendedCount = 'update_permissioned_validator_intended_count', - UpdatePolyxLimit = 'update_polyx_limit', - UpdateVenueDetails = 'update_venue_details', - UpdateVenueSigners = 'update_venue_signers', - UpdateVenueType = 'update_venue_type', - UpgradeApi = 'upgrade_api', - UploadCode = 'upload_code', - Validate = 'validate', - ValidateCddExpiryNominators = 'validate_cdd_expiry_nominators', - Vote = 'vote', - VoteOrPropose = 'vote_or_propose', - WithWeight = 'with_weight', - WithdrawAffirmation = 'withdraw_affirmation', - WithdrawAffirmationV2 = 'withdraw_affirmation_v2', - WithdrawAffirmationWithCount = 'withdraw_affirmation_with_count', - WithdrawUnbonded = 'withdraw_unbonded', -} - -/** A filter to be used against CallIdEnum fields. All fields are combined with a logical ‘and.’ */ -export type CallIdEnumFilter = { - /** Not equal to the specified value, treating null like an ordinary value. */ - distinctFrom?: InputMaybe; - /** Equal to the specified value. */ - equalTo?: InputMaybe; - /** Greater than the specified value. */ - greaterThan?: InputMaybe; - /** Greater than or equal to the specified value. */ - greaterThanOrEqualTo?: InputMaybe; - /** Included in the specified list. */ - in?: InputMaybe>; - /** Is null (if `true` is specified) or is not null (if `false` is specified). */ - isNull?: InputMaybe; - /** Less than the specified value. */ - lessThan?: InputMaybe; - /** Less than or equal to the specified value. */ - lessThanOrEqualTo?: InputMaybe; - /** Equal to the specified value, treating null like an ordinary value. */ - notDistinctFrom?: InputMaybe; - /** Not equal to the specified value. */ - notEqualTo?: InputMaybe; - /** Not included in the specified list. */ - notIn?: InputMaybe>; -}; - -/** A connection to a list of `ChildIdentity` values. */ -export type ChildIdentitiesConnection = { - __typename?: 'ChildIdentitiesConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `ChildIdentity` and cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `ChildIdentity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `ChildIdentity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `ChildIdentity` values. */ -export type ChildIdentitiesConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `ChildIdentity` edge in the connection. */ -export type ChildIdentitiesEdge = { - __typename?: 'ChildIdentitiesEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `ChildIdentity` at the end of the edge. */ - node?: Maybe; -}; - -/** Grouping methods for `ChildIdentity` for usage during aggregation. */ -export enum ChildIdentitiesGroupBy { - ChildId = 'CHILD_ID', - CreatedAt = 'CREATED_AT', - CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', - CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', - CreatedBlockId = 'CREATED_BLOCK_ID', - ParentId = 'PARENT_ID', - UpdatedAt = 'UPDATED_AT', - UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', - UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export type ChildIdentitiesHavingAverageInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ChildIdentitiesHavingDistinctCountInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Conditions for `ChildIdentity` aggregates. */ -export type ChildIdentitiesHavingInput = { - AND?: InputMaybe>; - OR?: InputMaybe>; - average?: InputMaybe; - distinctCount?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddevPopulation?: InputMaybe; - stddevSample?: InputMaybe; - sum?: InputMaybe; - variancePopulation?: InputMaybe; - varianceSample?: InputMaybe; -}; - -export type ChildIdentitiesHavingMaxInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ChildIdentitiesHavingMinInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ChildIdentitiesHavingStddevPopulationInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ChildIdentitiesHavingStddevSampleInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ChildIdentitiesHavingSumInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ChildIdentitiesHavingVariancePopulationInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ChildIdentitiesHavingVarianceSampleInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Methods to use when ordering `ChildIdentity`. */ -export enum ChildIdentitiesOrderBy { - ChildIdAsc = 'CHILD_ID_ASC', - ChildIdDesc = 'CHILD_ID_DESC', - CreatedAtAsc = 'CREATED_AT_ASC', - CreatedAtDesc = 'CREATED_AT_DESC', - CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', - CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', - IdAsc = 'ID_ASC', - IdDesc = 'ID_DESC', - Natural = 'NATURAL', - ParentIdAsc = 'PARENT_ID_ASC', - ParentIdDesc = 'PARENT_ID_DESC', - PrimaryKeyAsc = 'PRIMARY_KEY_ASC', - PrimaryKeyDesc = 'PRIMARY_KEY_DESC', - UpdatedAtAsc = 'UPDATED_AT_ASC', - UpdatedAtDesc = 'UPDATED_AT_DESC', - UpdatedBlockIdAsc = 'UPDATED_BLOCK_ID_ASC', - UpdatedBlockIdDesc = 'UPDATED_BLOCK_ID_DESC', -} - -/** Represents the parent child mapping for an Identity */ -export type ChildIdentity = Node & { - __typename?: 'ChildIdentity'; - /** Reads a single `Identity` that is related to this `ChildIdentity`. */ - child?: Maybe; - childId: Scalars['String']['output']; - createdAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `ChildIdentity`. */ - createdBlock?: Maybe; - createdBlockId: Scalars['String']['output']; - id: Scalars['String']['output']; - /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ - nodeId: Scalars['ID']['output']; - /** Reads a single `Identity` that is related to this `ChildIdentity`. */ - parent?: Maybe; - parentId: Scalars['String']['output']; - updatedAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `ChildIdentity`. */ - updatedBlock?: Maybe; - updatedBlockId: Scalars['String']['output']; -}; - -export type ChildIdentityAggregates = { - __typename?: 'ChildIdentityAggregates'; - /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ - distinctCount?: Maybe; - keys?: Maybe>; -}; - -/** A filter to be used against aggregates of `ChildIdentity` object types. */ -export type ChildIdentityAggregatesFilter = { - /** Distinct count aggregate over matching `ChildIdentity` objects. */ - distinctCount?: InputMaybe; - /** A filter that must pass for the relevant `ChildIdentity` object to be included within the aggregate. */ - filter?: InputMaybe; -}; - -export type ChildIdentityDistinctCountAggregateFilter = { - childId?: InputMaybe; - createdAt?: InputMaybe; - createdBlockId?: InputMaybe; - id?: InputMaybe; - parentId?: InputMaybe; - updatedAt?: InputMaybe; - updatedBlockId?: InputMaybe; -}; - -export type ChildIdentityDistinctCountAggregates = { - __typename?: 'ChildIdentityDistinctCountAggregates'; - /** Distinct count of childId across the matching connection */ - childId?: Maybe; - /** Distinct count of createdAt across the matching connection */ - createdAt?: Maybe; - /** Distinct count of createdBlockId across the matching connection */ - createdBlockId?: Maybe; - /** Distinct count of id across the matching connection */ - id?: Maybe; - /** Distinct count of parentId across the matching connection */ - parentId?: Maybe; - /** Distinct count of updatedAt across the matching connection */ - updatedAt?: Maybe; - /** Distinct count of updatedBlockId across the matching connection */ - updatedBlockId?: Maybe; -}; - -/** A filter to be used against `ChildIdentity` object types. All fields are combined with a logical ‘and.’ */ -export type ChildIdentityFilter = { - /** Checks for all expressions in this list. */ - and?: InputMaybe>; - /** Filter by the object’s `child` relation. */ - child?: InputMaybe; - /** Filter by the object’s `childId` field. */ - childId?: InputMaybe; - /** Filter by the object’s `createdAt` field. */ - createdAt?: InputMaybe; - /** Filter by the object’s `createdBlock` relation. */ - createdBlock?: InputMaybe; - /** Filter by the object’s `createdBlockId` field. */ - createdBlockId?: InputMaybe; - /** Filter by the object’s `id` field. */ - id?: InputMaybe; - /** Negates the expression. */ - not?: InputMaybe; - /** Checks for any expressions in this list. */ - or?: InputMaybe>; - /** Filter by the object’s `parent` relation. */ - parent?: InputMaybe; - /** Filter by the object’s `parentId` field. */ - parentId?: InputMaybe; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: InputMaybe; - /** Filter by the object’s `updatedBlock` relation. */ - updatedBlock?: InputMaybe; - /** Filter by the object’s `updatedBlockId` field. */ - updatedBlockId?: InputMaybe; -}; - -/** - * A claim made about an Identity. All active identities must have a valid CDD claim, but additional claims can be made. - * - * e.g. The Identity belongs to an accredited, US citizen - */ -export type Claim = Node & { - __typename?: 'Claim'; - cddId?: Maybe; - createdAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `Claim`. */ - createdBlock?: Maybe; - createdBlockId: Scalars['String']['output']; - /** Reads a single `CustomClaimType` that is related to this `Claim`. */ - customClaimType?: Maybe; - customClaimTypeId?: Maybe; - eventIdx: Scalars['Int']['output']; - expiry?: Maybe; - filterExpiry: Scalars['BigFloat']['output']; - id: Scalars['String']['output']; - issuanceDate: Scalars['BigFloat']['output']; - /** Reads a single `Identity` that is related to this `Claim`. */ - issuer?: Maybe; - issuerId: Scalars['String']['output']; - jurisdiction?: Maybe; - lastUpdateDate: Scalars['BigFloat']['output']; - /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ - nodeId: Scalars['ID']['output']; - revokeDate?: Maybe; - scope?: Maybe; - /** Reads a single `Identity` that is related to this `Claim`. */ - target?: Maybe; - targetId: Scalars['String']['output']; - type: ClaimTypeEnum; - updatedAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `Claim`. */ - updatedBlock?: Maybe; - updatedBlockId: Scalars['String']['output']; -}; - -export type ClaimAggregates = { - __typename?: 'ClaimAggregates'; - /** Mean average aggregates across the matching connection (ignoring before/after/first/last/offset) */ - average?: Maybe; - /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ - distinctCount?: Maybe; - keys?: Maybe>; - /** Maximum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - max?: Maybe; - /** Minimum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - min?: Maybe; - /** Population standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevPopulation?: Maybe; - /** Sample standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevSample?: Maybe; - /** Sum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - sum?: Maybe; - /** Population variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - variancePopulation?: Maybe; - /** Sample variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - varianceSample?: Maybe; -}; - -/** A filter to be used against aggregates of `Claim` object types. */ -export type ClaimAggregatesFilter = { - /** Mean average aggregate over matching `Claim` objects. */ - average?: InputMaybe; - /** Distinct count aggregate over matching `Claim` objects. */ - distinctCount?: InputMaybe; - /** A filter that must pass for the relevant `Claim` object to be included within the aggregate. */ - filter?: InputMaybe; - /** Maximum aggregate over matching `Claim` objects. */ - max?: InputMaybe; - /** Minimum aggregate over matching `Claim` objects. */ - min?: InputMaybe; - /** Population standard deviation aggregate over matching `Claim` objects. */ - stddevPopulation?: InputMaybe; - /** Sample standard deviation aggregate over matching `Claim` objects. */ - stddevSample?: InputMaybe; - /** Sum aggregate over matching `Claim` objects. */ - sum?: InputMaybe; - /** Population variance aggregate over matching `Claim` objects. */ - variancePopulation?: InputMaybe; - /** Sample variance aggregate over matching `Claim` objects. */ - varianceSample?: InputMaybe; -}; - -export type ClaimAverageAggregateFilter = { - eventIdx?: InputMaybe; - expiry?: InputMaybe; - filterExpiry?: InputMaybe; - issuanceDate?: InputMaybe; - lastUpdateDate?: InputMaybe; - revokeDate?: InputMaybe; -}; - -export type ClaimAverageAggregates = { - __typename?: 'ClaimAverageAggregates'; - /** Mean average of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Mean average of expiry across the matching connection */ - expiry?: Maybe; - /** Mean average of filterExpiry across the matching connection */ - filterExpiry?: Maybe; - /** Mean average of issuanceDate across the matching connection */ - issuanceDate?: Maybe; - /** Mean average of lastUpdateDate across the matching connection */ - lastUpdateDate?: Maybe; - /** Mean average of revokeDate across the matching connection */ - revokeDate?: Maybe; -}; - -export type ClaimDistinctCountAggregateFilter = { - cddId?: InputMaybe; - createdAt?: InputMaybe; - createdBlockId?: InputMaybe; - customClaimTypeId?: InputMaybe; - eventIdx?: InputMaybe; - expiry?: InputMaybe; - filterExpiry?: InputMaybe; - id?: InputMaybe; - issuanceDate?: InputMaybe; - issuerId?: InputMaybe; - jurisdiction?: InputMaybe; - lastUpdateDate?: InputMaybe; - revokeDate?: InputMaybe; - scope?: InputMaybe; - targetId?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; - updatedBlockId?: InputMaybe; -}; - -export type ClaimDistinctCountAggregates = { - __typename?: 'ClaimDistinctCountAggregates'; - /** Distinct count of cddId across the matching connection */ - cddId?: Maybe; - /** Distinct count of createdAt across the matching connection */ - createdAt?: Maybe; - /** Distinct count of createdBlockId across the matching connection */ - createdBlockId?: Maybe; - /** Distinct count of customClaimTypeId across the matching connection */ - customClaimTypeId?: Maybe; - /** Distinct count of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Distinct count of expiry across the matching connection */ - expiry?: Maybe; - /** Distinct count of filterExpiry across the matching connection */ - filterExpiry?: Maybe; - /** Distinct count of id across the matching connection */ - id?: Maybe; - /** Distinct count of issuanceDate across the matching connection */ - issuanceDate?: Maybe; - /** Distinct count of issuerId across the matching connection */ - issuerId?: Maybe; - /** Distinct count of jurisdiction across the matching connection */ - jurisdiction?: Maybe; - /** Distinct count of lastUpdateDate across the matching connection */ - lastUpdateDate?: Maybe; - /** Distinct count of revokeDate across the matching connection */ - revokeDate?: Maybe; - /** Distinct count of scope across the matching connection */ - scope?: Maybe; - /** Distinct count of targetId across the matching connection */ - targetId?: Maybe; - /** Distinct count of type across the matching connection */ - type?: Maybe; - /** Distinct count of updatedAt across the matching connection */ - updatedAt?: Maybe; - /** Distinct count of updatedBlockId across the matching connection */ - updatedBlockId?: Maybe; -}; - -/** A filter to be used against `Claim` object types. All fields are combined with a logical ‘and.’ */ -export type ClaimFilter = { - /** Checks for all expressions in this list. */ - and?: InputMaybe>; - /** Filter by the object’s `cddId` field. */ - cddId?: InputMaybe; - /** Filter by the object’s `createdAt` field. */ - createdAt?: InputMaybe; - /** Filter by the object’s `createdBlock` relation. */ - createdBlock?: InputMaybe; - /** Filter by the object’s `createdBlockId` field. */ - createdBlockId?: InputMaybe; - /** Filter by the object’s `customClaimType` relation. */ - customClaimType?: InputMaybe; - /** A related `customClaimType` exists. */ - customClaimTypeExists?: InputMaybe; - /** Filter by the object’s `customClaimTypeId` field. */ - customClaimTypeId?: InputMaybe; - /** Filter by the object’s `eventIdx` field. */ - eventIdx?: InputMaybe; - /** Filter by the object’s `expiry` field. */ - expiry?: InputMaybe; - /** Filter by the object’s `filterExpiry` field. */ - filterExpiry?: InputMaybe; - /** Filter by the object’s `id` field. */ - id?: InputMaybe; - /** Filter by the object’s `issuanceDate` field. */ - issuanceDate?: InputMaybe; - /** Filter by the object’s `issuer` relation. */ - issuer?: InputMaybe; - /** Filter by the object’s `issuerId` field. */ - issuerId?: InputMaybe; - /** Filter by the object’s `jurisdiction` field. */ - jurisdiction?: InputMaybe; - /** Filter by the object’s `lastUpdateDate` field. */ - lastUpdateDate?: InputMaybe; - /** Negates the expression. */ - not?: InputMaybe; - /** Checks for any expressions in this list. */ - or?: InputMaybe>; - /** Filter by the object’s `revokeDate` field. */ - revokeDate?: InputMaybe; - /** Filter by the object’s `scope` field. */ - scope?: InputMaybe; - /** Filter by the object’s `target` relation. */ - target?: InputMaybe; - /** Filter by the object’s `targetId` field. */ - targetId?: InputMaybe; - /** Filter by the object’s `type` field. */ - type?: InputMaybe; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: InputMaybe; - /** Filter by the object’s `updatedBlock` relation. */ - updatedBlock?: InputMaybe; - /** Filter by the object’s `updatedBlockId` field. */ - updatedBlockId?: InputMaybe; -}; - -export type ClaimMaxAggregateFilter = { - eventIdx?: InputMaybe; - expiry?: InputMaybe; - filterExpiry?: InputMaybe; - issuanceDate?: InputMaybe; - lastUpdateDate?: InputMaybe; - revokeDate?: InputMaybe; -}; - -export type ClaimMaxAggregates = { - __typename?: 'ClaimMaxAggregates'; - /** Maximum of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Maximum of expiry across the matching connection */ - expiry?: Maybe; - /** Maximum of filterExpiry across the matching connection */ - filterExpiry?: Maybe; - /** Maximum of issuanceDate across the matching connection */ - issuanceDate?: Maybe; - /** Maximum of lastUpdateDate across the matching connection */ - lastUpdateDate?: Maybe; - /** Maximum of revokeDate across the matching connection */ - revokeDate?: Maybe; -}; - -export type ClaimMinAggregateFilter = { - eventIdx?: InputMaybe; - expiry?: InputMaybe; - filterExpiry?: InputMaybe; - issuanceDate?: InputMaybe; - lastUpdateDate?: InputMaybe; - revokeDate?: InputMaybe; -}; - -export type ClaimMinAggregates = { - __typename?: 'ClaimMinAggregates'; - /** Minimum of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Minimum of expiry across the matching connection */ - expiry?: Maybe; - /** Minimum of filterExpiry across the matching connection */ - filterExpiry?: Maybe; - /** Minimum of issuanceDate across the matching connection */ - issuanceDate?: Maybe; - /** Minimum of lastUpdateDate across the matching connection */ - lastUpdateDate?: Maybe; - /** Minimum of revokeDate across the matching connection */ - revokeDate?: Maybe; -}; - -/** - * The scope of a claim. - * - * e.g. `target` is Blocked from owning "TICKER-A" or `target` is an Affiliate of "TICKER-B" - */ -export type ClaimScope = Node & { - __typename?: 'ClaimScope'; - createdAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `ClaimScope`. */ - createdBlock?: Maybe; - createdBlockId: Scalars['String']['output']; - id: Scalars['String']['output']; - /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ - nodeId: Scalars['ID']['output']; - scope?: Maybe; - target: Scalars['String']['output']; - ticker?: Maybe; - updatedAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `ClaimScope`. */ - updatedBlock?: Maybe; - updatedBlockId: Scalars['String']['output']; -}; - -export type ClaimScopeAggregates = { - __typename?: 'ClaimScopeAggregates'; - /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ - distinctCount?: Maybe; - keys?: Maybe>; -}; - -/** A filter to be used against aggregates of `ClaimScope` object types. */ -export type ClaimScopeAggregatesFilter = { - /** Distinct count aggregate over matching `ClaimScope` objects. */ - distinctCount?: InputMaybe; - /** A filter that must pass for the relevant `ClaimScope` object to be included within the aggregate. */ - filter?: InputMaybe; -}; - -export type ClaimScopeDistinctCountAggregateFilter = { - createdAt?: InputMaybe; - createdBlockId?: InputMaybe; - id?: InputMaybe; - scope?: InputMaybe; - target?: InputMaybe; - ticker?: InputMaybe; - updatedAt?: InputMaybe; - updatedBlockId?: InputMaybe; -}; - -export type ClaimScopeDistinctCountAggregates = { - __typename?: 'ClaimScopeDistinctCountAggregates'; - /** Distinct count of createdAt across the matching connection */ - createdAt?: Maybe; - /** Distinct count of createdBlockId across the matching connection */ - createdBlockId?: Maybe; - /** Distinct count of id across the matching connection */ - id?: Maybe; - /** Distinct count of scope across the matching connection */ - scope?: Maybe; - /** Distinct count of target across the matching connection */ - target?: Maybe; - /** Distinct count of ticker across the matching connection */ - ticker?: Maybe; - /** Distinct count of updatedAt across the matching connection */ - updatedAt?: Maybe; - /** Distinct count of updatedBlockId across the matching connection */ - updatedBlockId?: Maybe; -}; - -/** A filter to be used against `ClaimScope` object types. All fields are combined with a logical ‘and.’ */ -export type ClaimScopeFilter = { - /** Checks for all expressions in this list. */ - and?: InputMaybe>; - /** Filter by the object’s `createdAt` field. */ - createdAt?: InputMaybe; - /** Filter by the object’s `createdBlock` relation. */ - createdBlock?: InputMaybe; - /** Filter by the object’s `createdBlockId` field. */ - createdBlockId?: InputMaybe; - /** Filter by the object’s `id` field. */ - id?: InputMaybe; - /** Negates the expression. */ - not?: InputMaybe; - /** Checks for any expressions in this list. */ - or?: InputMaybe>; - /** Filter by the object’s `scope` field. */ - scope?: InputMaybe; - /** Filter by the object’s `target` field. */ - target?: InputMaybe; - /** Filter by the object’s `ticker` field. */ - ticker?: InputMaybe; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: InputMaybe; - /** Filter by the object’s `updatedBlock` relation. */ - updatedBlock?: InputMaybe; - /** Filter by the object’s `updatedBlockId` field. */ - updatedBlockId?: InputMaybe; -}; - -/** A connection to a list of `ClaimScope` values. */ -export type ClaimScopesConnection = { - __typename?: 'ClaimScopesConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `ClaimScope` and cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `ClaimScope` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `ClaimScope` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `ClaimScope` values. */ -export type ClaimScopesConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `ClaimScope` edge in the connection. */ -export type ClaimScopesEdge = { - __typename?: 'ClaimScopesEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `ClaimScope` at the end of the edge. */ - node?: Maybe; -}; - -/** Grouping methods for `ClaimScope` for usage during aggregation. */ -export enum ClaimScopesGroupBy { - CreatedAt = 'CREATED_AT', - CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', - CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', - CreatedBlockId = 'CREATED_BLOCK_ID', - Scope = 'SCOPE', - Target = 'TARGET', - Ticker = 'TICKER', - UpdatedAt = 'UPDATED_AT', - UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', - UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export type ClaimScopesHavingAverageInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ClaimScopesHavingDistinctCountInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Conditions for `ClaimScope` aggregates. */ -export type ClaimScopesHavingInput = { - AND?: InputMaybe>; - OR?: InputMaybe>; - average?: InputMaybe; - distinctCount?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddevPopulation?: InputMaybe; - stddevSample?: InputMaybe; - sum?: InputMaybe; - variancePopulation?: InputMaybe; - varianceSample?: InputMaybe; -}; - -export type ClaimScopesHavingMaxInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ClaimScopesHavingMinInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ClaimScopesHavingStddevPopulationInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ClaimScopesHavingStddevSampleInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ClaimScopesHavingSumInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ClaimScopesHavingVariancePopulationInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ClaimScopesHavingVarianceSampleInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Methods to use when ordering `ClaimScope`. */ -export enum ClaimScopesOrderBy { - CreatedAtAsc = 'CREATED_AT_ASC', - CreatedAtDesc = 'CREATED_AT_DESC', - CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', - CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', - IdAsc = 'ID_ASC', - IdDesc = 'ID_DESC', - Natural = 'NATURAL', - PrimaryKeyAsc = 'PRIMARY_KEY_ASC', - PrimaryKeyDesc = 'PRIMARY_KEY_DESC', - ScopeAsc = 'SCOPE_ASC', - ScopeDesc = 'SCOPE_DESC', - TargetAsc = 'TARGET_ASC', - TargetDesc = 'TARGET_DESC', - TickerAsc = 'TICKER_ASC', - TickerDesc = 'TICKER_DESC', - UpdatedAtAsc = 'UPDATED_AT_ASC', - UpdatedAtDesc = 'UPDATED_AT_DESC', - UpdatedBlockIdAsc = 'UPDATED_BLOCK_ID_ASC', - UpdatedBlockIdDesc = 'UPDATED_BLOCK_ID_DESC', -} - -export type ClaimStddevPopulationAggregateFilter = { - eventIdx?: InputMaybe; - expiry?: InputMaybe; - filterExpiry?: InputMaybe; - issuanceDate?: InputMaybe; - lastUpdateDate?: InputMaybe; - revokeDate?: InputMaybe; -}; - -export type ClaimStddevPopulationAggregates = { - __typename?: 'ClaimStddevPopulationAggregates'; - /** Population standard deviation of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Population standard deviation of expiry across the matching connection */ - expiry?: Maybe; - /** Population standard deviation of filterExpiry across the matching connection */ - filterExpiry?: Maybe; - /** Population standard deviation of issuanceDate across the matching connection */ - issuanceDate?: Maybe; - /** Population standard deviation of lastUpdateDate across the matching connection */ - lastUpdateDate?: Maybe; - /** Population standard deviation of revokeDate across the matching connection */ - revokeDate?: Maybe; -}; - -export type ClaimStddevSampleAggregateFilter = { - eventIdx?: InputMaybe; - expiry?: InputMaybe; - filterExpiry?: InputMaybe; - issuanceDate?: InputMaybe; - lastUpdateDate?: InputMaybe; - revokeDate?: InputMaybe; -}; - -export type ClaimStddevSampleAggregates = { - __typename?: 'ClaimStddevSampleAggregates'; - /** Sample standard deviation of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Sample standard deviation of expiry across the matching connection */ - expiry?: Maybe; - /** Sample standard deviation of filterExpiry across the matching connection */ - filterExpiry?: Maybe; - /** Sample standard deviation of issuanceDate across the matching connection */ - issuanceDate?: Maybe; - /** Sample standard deviation of lastUpdateDate across the matching connection */ - lastUpdateDate?: Maybe; - /** Sample standard deviation of revokeDate across the matching connection */ - revokeDate?: Maybe; -}; - -export type ClaimSumAggregateFilter = { - eventIdx?: InputMaybe; - expiry?: InputMaybe; - filterExpiry?: InputMaybe; - issuanceDate?: InputMaybe; - lastUpdateDate?: InputMaybe; - revokeDate?: InputMaybe; -}; - -export type ClaimSumAggregates = { - __typename?: 'ClaimSumAggregates'; - /** Sum of eventIdx across the matching connection */ - eventIdx: Scalars['BigInt']['output']; - /** Sum of expiry across the matching connection */ - expiry: Scalars['BigFloat']['output']; - /** Sum of filterExpiry across the matching connection */ - filterExpiry: Scalars['BigFloat']['output']; - /** Sum of issuanceDate across the matching connection */ - issuanceDate: Scalars['BigFloat']['output']; - /** Sum of lastUpdateDate across the matching connection */ - lastUpdateDate: Scalars['BigFloat']['output']; - /** Sum of revokeDate across the matching connection */ - revokeDate: Scalars['BigFloat']['output']; -}; - -/** Represents all possible claims that can be made of an identity */ -export enum ClaimTypeEnum { - Accredited = 'Accredited', - Affiliate = 'Affiliate', - Blocked = 'Blocked', - BuyLockup = 'BuyLockup', - Custom = 'Custom', - CustomerDueDiligence = 'CustomerDueDiligence', - Exempted = 'Exempted', - InvestorUniqueness = 'InvestorUniqueness', - InvestorUniquenessV2 = 'InvestorUniquenessV2', - Jurisdiction = 'Jurisdiction', - KnowYourCustomer = 'KnowYourCustomer', - NoData = 'NoData', - NoType = 'NoType', - SellLockup = 'SellLockup', -} - -/** A filter to be used against ClaimTypeEnum fields. All fields are combined with a logical ‘and.’ */ -export type ClaimTypeEnumFilter = { - /** Not equal to the specified value, treating null like an ordinary value. */ - distinctFrom?: InputMaybe; - /** Equal to the specified value. */ - equalTo?: InputMaybe; - /** Greater than the specified value. */ - greaterThan?: InputMaybe; - /** Greater than or equal to the specified value. */ - greaterThanOrEqualTo?: InputMaybe; - /** Included in the specified list. */ - in?: InputMaybe>; - /** Is null (if `true` is specified) or is not null (if `false` is specified). */ - isNull?: InputMaybe; - /** Less than the specified value. */ - lessThan?: InputMaybe; - /** Less than or equal to the specified value. */ - lessThanOrEqualTo?: InputMaybe; - /** Equal to the specified value, treating null like an ordinary value. */ - notDistinctFrom?: InputMaybe; - /** Not equal to the specified value. */ - notEqualTo?: InputMaybe; - /** Not included in the specified list. */ - notIn?: InputMaybe>; -}; - -export type ClaimVariancePopulationAggregateFilter = { - eventIdx?: InputMaybe; - expiry?: InputMaybe; - filterExpiry?: InputMaybe; - issuanceDate?: InputMaybe; - lastUpdateDate?: InputMaybe; - revokeDate?: InputMaybe; -}; - -export type ClaimVariancePopulationAggregates = { - __typename?: 'ClaimVariancePopulationAggregates'; - /** Population variance of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Population variance of expiry across the matching connection */ - expiry?: Maybe; - /** Population variance of filterExpiry across the matching connection */ - filterExpiry?: Maybe; - /** Population variance of issuanceDate across the matching connection */ - issuanceDate?: Maybe; - /** Population variance of lastUpdateDate across the matching connection */ - lastUpdateDate?: Maybe; - /** Population variance of revokeDate across the matching connection */ - revokeDate?: Maybe; -}; - -export type ClaimVarianceSampleAggregateFilter = { - eventIdx?: InputMaybe; - expiry?: InputMaybe; - filterExpiry?: InputMaybe; - issuanceDate?: InputMaybe; - lastUpdateDate?: InputMaybe; - revokeDate?: InputMaybe; -}; - -export type ClaimVarianceSampleAggregates = { - __typename?: 'ClaimVarianceSampleAggregates'; - /** Sample variance of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Sample variance of expiry across the matching connection */ - expiry?: Maybe; - /** Sample variance of filterExpiry across the matching connection */ - filterExpiry?: Maybe; - /** Sample variance of issuanceDate across the matching connection */ - issuanceDate?: Maybe; - /** Sample variance of lastUpdateDate across the matching connection */ - lastUpdateDate?: Maybe; - /** Sample variance of revokeDate across the matching connection */ - revokeDate?: Maybe; -}; - -/** A connection to a list of `Claim` values. */ -export type ClaimsConnection = { - __typename?: 'ClaimsConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Claim` and cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Claim` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Claim` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Claim` values. */ -export type ClaimsConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `Claim` edge in the connection. */ -export type ClaimsEdge = { - __typename?: 'ClaimsEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Claim` at the end of the edge. */ - node?: Maybe; -}; - -/** Grouping methods for `Claim` for usage during aggregation. */ -export enum ClaimsGroupBy { - CddId = 'CDD_ID', - CreatedAt = 'CREATED_AT', - CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', - CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', - CreatedBlockId = 'CREATED_BLOCK_ID', - CustomClaimTypeId = 'CUSTOM_CLAIM_TYPE_ID', - EventIdx = 'EVENT_IDX', - Expiry = 'EXPIRY', - FilterExpiry = 'FILTER_EXPIRY', - IssuanceDate = 'ISSUANCE_DATE', - IssuerId = 'ISSUER_ID', - Jurisdiction = 'JURISDICTION', - LastUpdateDate = 'LAST_UPDATE_DATE', - RevokeDate = 'REVOKE_DATE', - Scope = 'SCOPE', - TargetId = 'TARGET_ID', - Type = 'TYPE', - UpdatedAt = 'UPDATED_AT', - UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', - UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export type ClaimsHavingAverageInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - expiry?: InputMaybe; - filterExpiry?: InputMaybe; - issuanceDate?: InputMaybe; - lastUpdateDate?: InputMaybe; - revokeDate?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ClaimsHavingDistinctCountInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - expiry?: InputMaybe; - filterExpiry?: InputMaybe; - issuanceDate?: InputMaybe; - lastUpdateDate?: InputMaybe; - revokeDate?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Conditions for `Claim` aggregates. */ -export type ClaimsHavingInput = { - AND?: InputMaybe>; - OR?: InputMaybe>; - average?: InputMaybe; - distinctCount?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddevPopulation?: InputMaybe; - stddevSample?: InputMaybe; - sum?: InputMaybe; - variancePopulation?: InputMaybe; - varianceSample?: InputMaybe; -}; - -export type ClaimsHavingMaxInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - expiry?: InputMaybe; - filterExpiry?: InputMaybe; - issuanceDate?: InputMaybe; - lastUpdateDate?: InputMaybe; - revokeDate?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ClaimsHavingMinInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - expiry?: InputMaybe; - filterExpiry?: InputMaybe; - issuanceDate?: InputMaybe; - lastUpdateDate?: InputMaybe; - revokeDate?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ClaimsHavingStddevPopulationInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - expiry?: InputMaybe; - filterExpiry?: InputMaybe; - issuanceDate?: InputMaybe; - lastUpdateDate?: InputMaybe; - revokeDate?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ClaimsHavingStddevSampleInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - expiry?: InputMaybe; - filterExpiry?: InputMaybe; - issuanceDate?: InputMaybe; - lastUpdateDate?: InputMaybe; - revokeDate?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ClaimsHavingSumInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - expiry?: InputMaybe; - filterExpiry?: InputMaybe; - issuanceDate?: InputMaybe; - lastUpdateDate?: InputMaybe; - revokeDate?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ClaimsHavingVariancePopulationInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - expiry?: InputMaybe; - filterExpiry?: InputMaybe; - issuanceDate?: InputMaybe; - lastUpdateDate?: InputMaybe; - revokeDate?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ClaimsHavingVarianceSampleInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - expiry?: InputMaybe; - filterExpiry?: InputMaybe; - issuanceDate?: InputMaybe; - lastUpdateDate?: InputMaybe; - revokeDate?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Methods to use when ordering `Claim`. */ -export enum ClaimsOrderBy { - CddIdAsc = 'CDD_ID_ASC', - CddIdDesc = 'CDD_ID_DESC', - CreatedAtAsc = 'CREATED_AT_ASC', - CreatedAtDesc = 'CREATED_AT_DESC', - CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', - CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', - CustomClaimTypeIdAsc = 'CUSTOM_CLAIM_TYPE_ID_ASC', - CustomClaimTypeIdDesc = 'CUSTOM_CLAIM_TYPE_ID_DESC', - EventIdxAsc = 'EVENT_IDX_ASC', - EventIdxDesc = 'EVENT_IDX_DESC', - ExpiryAsc = 'EXPIRY_ASC', - ExpiryDesc = 'EXPIRY_DESC', - FilterExpiryAsc = 'FILTER_EXPIRY_ASC', - FilterExpiryDesc = 'FILTER_EXPIRY_DESC', - IdAsc = 'ID_ASC', - IdDesc = 'ID_DESC', - IssuanceDateAsc = 'ISSUANCE_DATE_ASC', - IssuanceDateDesc = 'ISSUANCE_DATE_DESC', - IssuerIdAsc = 'ISSUER_ID_ASC', - IssuerIdDesc = 'ISSUER_ID_DESC', - JurisdictionAsc = 'JURISDICTION_ASC', - JurisdictionDesc = 'JURISDICTION_DESC', - LastUpdateDateAsc = 'LAST_UPDATE_DATE_ASC', - LastUpdateDateDesc = 'LAST_UPDATE_DATE_DESC', - Natural = 'NATURAL', - PrimaryKeyAsc = 'PRIMARY_KEY_ASC', - PrimaryKeyDesc = 'PRIMARY_KEY_DESC', - RevokeDateAsc = 'REVOKE_DATE_ASC', - RevokeDateDesc = 'REVOKE_DATE_DESC', - ScopeAsc = 'SCOPE_ASC', - ScopeDesc = 'SCOPE_DESC', - TargetIdAsc = 'TARGET_ID_ASC', - TargetIdDesc = 'TARGET_ID_DESC', - TypeAsc = 'TYPE_ASC', - TypeDesc = 'TYPE_DESC', - UpdatedAtAsc = 'UPDATED_AT_ASC', - UpdatedAtDesc = 'UPDATED_AT_DESC', - UpdatedBlockIdAsc = 'UPDATED_BLOCK_ID_ASC', - UpdatedBlockIdDesc = 'UPDATED_BLOCK_ID_DESC', -} - -/** - * Represents a restriction all investor must comply with for a given Asset - * - * e.g. All investors must be German citizens - */ -export type Compliance = Node & { - __typename?: 'Compliance'; - /** Reads a single `Asset` that is related to this `Compliance`. */ - asset?: Maybe; - assetId: Scalars['String']['output']; - complianceId: Scalars['Int']['output']; - createdAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `Compliance`. */ - createdBlock?: Maybe; - createdBlockId: Scalars['String']['output']; - data: Scalars['String']['output']; - id: Scalars['String']['output']; - /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ - nodeId: Scalars['ID']['output']; - updatedAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `Compliance`. */ - updatedBlock?: Maybe; - updatedBlockId: Scalars['String']['output']; -}; - -export type ComplianceAggregates = { - __typename?: 'ComplianceAggregates'; - /** Mean average aggregates across the matching connection (ignoring before/after/first/last/offset) */ - average?: Maybe; - /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ - distinctCount?: Maybe; - keys?: Maybe>; - /** Maximum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - max?: Maybe; - /** Minimum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - min?: Maybe; - /** Population standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevPopulation?: Maybe; - /** Sample standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevSample?: Maybe; - /** Sum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - sum?: Maybe; - /** Population variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - variancePopulation?: Maybe; - /** Sample variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - varianceSample?: Maybe; -}; - -/** A filter to be used against aggregates of `Compliance` object types. */ -export type ComplianceAggregatesFilter = { - /** Mean average aggregate over matching `Compliance` objects. */ - average?: InputMaybe; - /** Distinct count aggregate over matching `Compliance` objects. */ - distinctCount?: InputMaybe; - /** A filter that must pass for the relevant `Compliance` object to be included within the aggregate. */ - filter?: InputMaybe; - /** Maximum aggregate over matching `Compliance` objects. */ - max?: InputMaybe; - /** Minimum aggregate over matching `Compliance` objects. */ - min?: InputMaybe; - /** Population standard deviation aggregate over matching `Compliance` objects. */ - stddevPopulation?: InputMaybe; - /** Sample standard deviation aggregate over matching `Compliance` objects. */ - stddevSample?: InputMaybe; - /** Sum aggregate over matching `Compliance` objects. */ - sum?: InputMaybe; - /** Population variance aggregate over matching `Compliance` objects. */ - variancePopulation?: InputMaybe; - /** Sample variance aggregate over matching `Compliance` objects. */ - varianceSample?: InputMaybe; -}; - -export type ComplianceAverageAggregateFilter = { - complianceId?: InputMaybe; -}; - -export type ComplianceAverageAggregates = { - __typename?: 'ComplianceAverageAggregates'; - /** Mean average of complianceId across the matching connection */ - complianceId?: Maybe; -}; - -export type ComplianceDistinctCountAggregateFilter = { - assetId?: InputMaybe; - complianceId?: InputMaybe; - createdAt?: InputMaybe; - createdBlockId?: InputMaybe; - data?: InputMaybe; - id?: InputMaybe; - updatedAt?: InputMaybe; - updatedBlockId?: InputMaybe; -}; - -export type ComplianceDistinctCountAggregates = { - __typename?: 'ComplianceDistinctCountAggregates'; - /** Distinct count of assetId across the matching connection */ - assetId?: Maybe; - /** Distinct count of complianceId across the matching connection */ - complianceId?: Maybe; - /** Distinct count of createdAt across the matching connection */ - createdAt?: Maybe; - /** Distinct count of createdBlockId across the matching connection */ - createdBlockId?: Maybe; - /** Distinct count of data across the matching connection */ - data?: Maybe; - /** Distinct count of id across the matching connection */ - id?: Maybe; - /** Distinct count of updatedAt across the matching connection */ - updatedAt?: Maybe; - /** Distinct count of updatedBlockId across the matching connection */ - updatedBlockId?: Maybe; -}; - -/** A filter to be used against `Compliance` object types. All fields are combined with a logical ‘and.’ */ -export type ComplianceFilter = { - /** Checks for all expressions in this list. */ - and?: InputMaybe>; - /** Filter by the object’s `asset` relation. */ - asset?: InputMaybe; - /** Filter by the object’s `assetId` field. */ - assetId?: InputMaybe; - /** Filter by the object’s `complianceId` field. */ - complianceId?: InputMaybe; - /** Filter by the object’s `createdAt` field. */ - createdAt?: InputMaybe; - /** Filter by the object’s `createdBlock` relation. */ - createdBlock?: InputMaybe; - /** Filter by the object’s `createdBlockId` field. */ - createdBlockId?: InputMaybe; - /** Filter by the object’s `data` field. */ - data?: InputMaybe; - /** Filter by the object’s `id` field. */ - id?: InputMaybe; - /** Negates the expression. */ - not?: InputMaybe; - /** Checks for any expressions in this list. */ - or?: InputMaybe>; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: InputMaybe; - /** Filter by the object’s `updatedBlock` relation. */ - updatedBlock?: InputMaybe; - /** Filter by the object’s `updatedBlockId` field. */ - updatedBlockId?: InputMaybe; -}; - -export type ComplianceMaxAggregateFilter = { - complianceId?: InputMaybe; -}; - -export type ComplianceMaxAggregates = { - __typename?: 'ComplianceMaxAggregates'; - /** Maximum of complianceId across the matching connection */ - complianceId?: Maybe; -}; - -export type ComplianceMinAggregateFilter = { - complianceId?: InputMaybe; -}; - -export type ComplianceMinAggregates = { - __typename?: 'ComplianceMinAggregates'; - /** Minimum of complianceId across the matching connection */ - complianceId?: Maybe; -}; - -export type ComplianceStddevPopulationAggregateFilter = { - complianceId?: InputMaybe; -}; - -export type ComplianceStddevPopulationAggregates = { - __typename?: 'ComplianceStddevPopulationAggregates'; - /** Population standard deviation of complianceId across the matching connection */ - complianceId?: Maybe; -}; - -export type ComplianceStddevSampleAggregateFilter = { - complianceId?: InputMaybe; -}; - -export type ComplianceStddevSampleAggregates = { - __typename?: 'ComplianceStddevSampleAggregates'; - /** Sample standard deviation of complianceId across the matching connection */ - complianceId?: Maybe; -}; - -export type ComplianceSumAggregateFilter = { - complianceId?: InputMaybe; -}; - -export type ComplianceSumAggregates = { - __typename?: 'ComplianceSumAggregates'; - /** Sum of complianceId across the matching connection */ - complianceId: Scalars['BigInt']['output']; -}; - -export type ComplianceVariancePopulationAggregateFilter = { - complianceId?: InputMaybe; -}; - -export type ComplianceVariancePopulationAggregates = { - __typename?: 'ComplianceVariancePopulationAggregates'; - /** Population variance of complianceId across the matching connection */ - complianceId?: Maybe; -}; - -export type ComplianceVarianceSampleAggregateFilter = { - complianceId?: InputMaybe; -}; - -export type ComplianceVarianceSampleAggregates = { - __typename?: 'ComplianceVarianceSampleAggregates'; - /** Sample variance of complianceId across the matching connection */ - complianceId?: Maybe; -}; - -/** A connection to a list of `Compliance` values. */ -export type CompliancesConnection = { - __typename?: 'CompliancesConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Compliance` and cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Compliance` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Compliance` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Compliance` values. */ -export type CompliancesConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `Compliance` edge in the connection. */ -export type CompliancesEdge = { - __typename?: 'CompliancesEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Compliance` at the end of the edge. */ - node?: Maybe; -}; - -/** Grouping methods for `Compliance` for usage during aggregation. */ -export enum CompliancesGroupBy { - AssetId = 'ASSET_ID', - ComplianceId = 'COMPLIANCE_ID', - CreatedAt = 'CREATED_AT', - CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', - CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', - CreatedBlockId = 'CREATED_BLOCK_ID', - Data = 'DATA', - UpdatedAt = 'UPDATED_AT', - UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', - UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export type CompliancesHavingAverageInput = { - complianceId?: InputMaybe; - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type CompliancesHavingDistinctCountInput = { - complianceId?: InputMaybe; - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Conditions for `Compliance` aggregates. */ -export type CompliancesHavingInput = { - AND?: InputMaybe>; - OR?: InputMaybe>; - average?: InputMaybe; - distinctCount?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddevPopulation?: InputMaybe; - stddevSample?: InputMaybe; - sum?: InputMaybe; - variancePopulation?: InputMaybe; - varianceSample?: InputMaybe; -}; - -export type CompliancesHavingMaxInput = { - complianceId?: InputMaybe; - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type CompliancesHavingMinInput = { - complianceId?: InputMaybe; - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type CompliancesHavingStddevPopulationInput = { - complianceId?: InputMaybe; - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type CompliancesHavingStddevSampleInput = { - complianceId?: InputMaybe; - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type CompliancesHavingSumInput = { - complianceId?: InputMaybe; - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type CompliancesHavingVariancePopulationInput = { - complianceId?: InputMaybe; - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type CompliancesHavingVarianceSampleInput = { - complianceId?: InputMaybe; - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Methods to use when ordering `Compliance`. */ -export enum CompliancesOrderBy { - AssetIdAsc = 'ASSET_ID_ASC', - AssetIdDesc = 'ASSET_ID_DESC', - ComplianceIdAsc = 'COMPLIANCE_ID_ASC', - ComplianceIdDesc = 'COMPLIANCE_ID_DESC', - CreatedAtAsc = 'CREATED_AT_ASC', - CreatedAtDesc = 'CREATED_AT_DESC', - CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', - CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', - DataAsc = 'DATA_ASC', - DataDesc = 'DATA_DESC', - IdAsc = 'ID_ASC', - IdDesc = 'ID_DESC', - Natural = 'NATURAL', - PrimaryKeyAsc = 'PRIMARY_KEY_ASC', - PrimaryKeyDesc = 'PRIMARY_KEY_DESC', - UpdatedAtAsc = 'UPDATED_AT_ASC', - UpdatedAtDesc = 'UPDATED_AT_DESC', - UpdatedBlockIdAsc = 'UPDATED_BLOCK_ID_ASC', - UpdatedBlockIdDesc = 'UPDATED_BLOCK_ID_DESC', -} - -/** Represents a confidential account */ -export type ConfidentialAccount = Node & { - __typename?: 'ConfidentialAccount'; - account: Scalars['String']['output']; - /** Reads and enables pagination through a set of `Block`. */ - blocksByConfidentialAssetHistoryFromIdAndCreatedBlockId: ConfidentialAccountBlocksByConfidentialAssetHistoryFromIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByConfidentialAssetHistoryFromIdAndUpdatedBlockId: ConfidentialAccountBlocksByConfidentialAssetHistoryFromIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByConfidentialAssetHistoryToIdAndCreatedBlockId: ConfidentialAccountBlocksByConfidentialAssetHistoryToIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByConfidentialAssetHistoryToIdAndUpdatedBlockId: ConfidentialAccountBlocksByConfidentialAssetHistoryToIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByConfidentialAssetHolderAccountIdAndCreatedBlockId: ConfidentialAccountBlocksByConfidentialAssetHolderAccountIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByConfidentialAssetHolderAccountIdAndUpdatedBlockId: ConfidentialAccountBlocksByConfidentialAssetHolderAccountIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByConfidentialLegReceiverIdAndCreatedBlockId: ConfidentialAccountBlocksByConfidentialLegReceiverIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByConfidentialLegReceiverIdAndUpdatedBlockId: ConfidentialAccountBlocksByConfidentialLegReceiverIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByConfidentialLegSenderIdAndCreatedBlockId: ConfidentialAccountBlocksByConfidentialLegSenderIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByConfidentialLegSenderIdAndUpdatedBlockId: ConfidentialAccountBlocksByConfidentialLegSenderIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByConfidentialTransactionAffirmationAccountIdAndCreatedBlockId: ConfidentialAccountBlocksByConfidentialTransactionAffirmationAccountIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByConfidentialTransactionAffirmationAccountIdAndUpdatedBlockId: ConfidentialAccountBlocksByConfidentialTransactionAffirmationAccountIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `ConfidentialAccount`. */ - confidentialAccountsByConfidentialAssetHistoryFromIdAndToId: ConfidentialAccountConfidentialAccountsByConfidentialAssetHistoryFromIdAndToIdManyToManyConnection; - /** Reads and enables pagination through a set of `ConfidentialAccount`. */ - confidentialAccountsByConfidentialAssetHistoryToIdAndFromId: ConfidentialAccountConfidentialAccountsByConfidentialAssetHistoryToIdAndFromIdManyToManyConnection; - /** Reads and enables pagination through a set of `ConfidentialAccount`. */ - confidentialAccountsByConfidentialLegReceiverIdAndSenderId: ConfidentialAccountConfidentialAccountsByConfidentialLegReceiverIdAndSenderIdManyToManyConnection; - /** Reads and enables pagination through a set of `ConfidentialAccount`. */ - confidentialAccountsByConfidentialLegSenderIdAndReceiverId: ConfidentialAccountConfidentialAccountsByConfidentialLegSenderIdAndReceiverIdManyToManyConnection; - /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ - confidentialAssetHistoriesByFromId: ConfidentialAssetHistoriesConnection; - /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ - confidentialAssetHistoriesByToId: ConfidentialAssetHistoriesConnection; - /** Reads and enables pagination through a set of `ConfidentialAssetHolder`. */ - confidentialAssetHoldersByAccountId: ConfidentialAssetHoldersConnection; - /** Reads and enables pagination through a set of `ConfidentialAsset`. */ - confidentialAssetsByConfidentialAssetHistoryFromIdAndAssetId: ConfidentialAccountConfidentialAssetsByConfidentialAssetHistoryFromIdAndAssetIdManyToManyConnection; - /** Reads and enables pagination through a set of `ConfidentialAsset`. */ - confidentialAssetsByConfidentialAssetHistoryToIdAndAssetId: ConfidentialAccountConfidentialAssetsByConfidentialAssetHistoryToIdAndAssetIdManyToManyConnection; - /** Reads and enables pagination through a set of `ConfidentialAsset`. */ - confidentialAssetsByConfidentialAssetHolderAccountIdAndAssetId: ConfidentialAccountConfidentialAssetsByConfidentialAssetHolderAccountIdAndAssetIdManyToManyConnection; - /** Reads and enables pagination through a set of `ConfidentialLeg`. */ - confidentialLegsByReceiverId: ConfidentialLegsConnection; - /** Reads and enables pagination through a set of `ConfidentialLeg`. */ - confidentialLegsBySenderId: ConfidentialLegsConnection; - /** Reads and enables pagination through a set of `ConfidentialTransactionAffirmation`. */ - confidentialTransactionAffirmationsByAccountId: ConfidentialTransactionAffirmationsConnection; - /** Reads and enables pagination through a set of `ConfidentialTransaction`. */ - confidentialTransactionsByConfidentialAssetHistoryFromIdAndTransactionId: ConfidentialAccountConfidentialTransactionsByConfidentialAssetHistoryFromIdAndTransactionIdManyToManyConnection; - /** Reads and enables pagination through a set of `ConfidentialTransaction`. */ - confidentialTransactionsByConfidentialAssetHistoryToIdAndTransactionId: ConfidentialAccountConfidentialTransactionsByConfidentialAssetHistoryToIdAndTransactionIdManyToManyConnection; - /** Reads and enables pagination through a set of `ConfidentialTransaction`. */ - confidentialTransactionsByConfidentialLegReceiverIdAndTransactionId: ConfidentialAccountConfidentialTransactionsByConfidentialLegReceiverIdAndTransactionIdManyToManyConnection; - /** Reads and enables pagination through a set of `ConfidentialTransaction`. */ - confidentialTransactionsByConfidentialLegSenderIdAndTransactionId: ConfidentialAccountConfidentialTransactionsByConfidentialLegSenderIdAndTransactionIdManyToManyConnection; - /** Reads and enables pagination through a set of `ConfidentialTransaction`. */ - confidentialTransactionsByConfidentialTransactionAffirmationAccountIdAndTransactionId: ConfidentialAccountConfidentialTransactionsByConfidentialTransactionAffirmationAccountIdAndTransactionIdManyToManyConnection; - createdAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `ConfidentialAccount`. */ - createdBlock?: Maybe; - createdBlockId: Scalars['String']['output']; - /** Reads a single `Identity` that is related to this `ConfidentialAccount`. */ - creator?: Maybe; - creatorId: Scalars['String']['output']; - eventIdx: Scalars['Int']['output']; - id: Scalars['String']['output']; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByConfidentialTransactionAffirmationAccountIdAndIdentityId: ConfidentialAccountIdentitiesByConfidentialTransactionAffirmationAccountIdAndIdentityIdManyToManyConnection; - /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ - nodeId: Scalars['ID']['output']; - updatedAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `ConfidentialAccount`. */ - updatedBlock?: Maybe; - updatedBlockId: Scalars['String']['output']; -}; - -/** Represents a confidential account */ -export type ConfidentialAccountBlocksByConfidentialAssetHistoryFromIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a confidential account */ -export type ConfidentialAccountBlocksByConfidentialAssetHistoryFromIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a confidential account */ -export type ConfidentialAccountBlocksByConfidentialAssetHistoryToIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a confidential account */ -export type ConfidentialAccountBlocksByConfidentialAssetHistoryToIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a confidential account */ -export type ConfidentialAccountBlocksByConfidentialAssetHolderAccountIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a confidential account */ -export type ConfidentialAccountBlocksByConfidentialAssetHolderAccountIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a confidential account */ -export type ConfidentialAccountBlocksByConfidentialLegReceiverIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a confidential account */ -export type ConfidentialAccountBlocksByConfidentialLegReceiverIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a confidential account */ -export type ConfidentialAccountBlocksByConfidentialLegSenderIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a confidential account */ -export type ConfidentialAccountBlocksByConfidentialLegSenderIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a confidential account */ -export type ConfidentialAccountBlocksByConfidentialTransactionAffirmationAccountIdAndCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** Represents a confidential account */ -export type ConfidentialAccountBlocksByConfidentialTransactionAffirmationAccountIdAndUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** Represents a confidential account */ -export type ConfidentialAccountConfidentialAccountsByConfidentialAssetHistoryFromIdAndToIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a confidential account */ -export type ConfidentialAccountConfidentialAccountsByConfidentialAssetHistoryToIdAndFromIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a confidential account */ -export type ConfidentialAccountConfidentialAccountsByConfidentialLegReceiverIdAndSenderIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a confidential account */ -export type ConfidentialAccountConfidentialAccountsByConfidentialLegSenderIdAndReceiverIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a confidential account */ -export type ConfidentialAccountConfidentialAssetHistoriesByFromIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a confidential account */ -export type ConfidentialAccountConfidentialAssetHistoriesByToIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a confidential account */ -export type ConfidentialAccountConfidentialAssetHoldersByAccountIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a confidential account */ -export type ConfidentialAccountConfidentialAssetsByConfidentialAssetHistoryFromIdAndAssetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a confidential account */ -export type ConfidentialAccountConfidentialAssetsByConfidentialAssetHistoryToIdAndAssetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a confidential account */ -export type ConfidentialAccountConfidentialAssetsByConfidentialAssetHolderAccountIdAndAssetIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** Represents a confidential account */ -export type ConfidentialAccountConfidentialLegsByReceiverIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a confidential account */ -export type ConfidentialAccountConfidentialLegsBySenderIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a confidential account */ -export type ConfidentialAccountConfidentialTransactionAffirmationsByAccountIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a confidential account */ -export type ConfidentialAccountConfidentialTransactionsByConfidentialAssetHistoryFromIdAndTransactionIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** Represents a confidential account */ -export type ConfidentialAccountConfidentialTransactionsByConfidentialAssetHistoryToIdAndTransactionIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** Represents a confidential account */ -export type ConfidentialAccountConfidentialTransactionsByConfidentialLegReceiverIdAndTransactionIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** Represents a confidential account */ -export type ConfidentialAccountConfidentialTransactionsByConfidentialLegSenderIdAndTransactionIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** Represents a confidential account */ -export type ConfidentialAccountConfidentialTransactionsByConfidentialTransactionAffirmationAccountIdAndTransactionIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** Represents a confidential account */ -export type ConfidentialAccountIdentitiesByConfidentialTransactionAffirmationAccountIdAndIdentityIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -export type ConfidentialAccountAggregates = { - __typename?: 'ConfidentialAccountAggregates'; - /** Mean average aggregates across the matching connection (ignoring before/after/first/last/offset) */ - average?: Maybe; - /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ - distinctCount?: Maybe; - keys?: Maybe>; - /** Maximum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - max?: Maybe; - /** Minimum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - min?: Maybe; - /** Population standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevPopulation?: Maybe; - /** Sample standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevSample?: Maybe; - /** Sum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - sum?: Maybe; - /** Population variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - variancePopulation?: Maybe; - /** Sample variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - varianceSample?: Maybe; -}; - -/** A filter to be used against aggregates of `ConfidentialAccount` object types. */ -export type ConfidentialAccountAggregatesFilter = { - /** Mean average aggregate over matching `ConfidentialAccount` objects. */ - average?: InputMaybe; - /** Distinct count aggregate over matching `ConfidentialAccount` objects. */ - distinctCount?: InputMaybe; - /** A filter that must pass for the relevant `ConfidentialAccount` object to be included within the aggregate. */ - filter?: InputMaybe; - /** Maximum aggregate over matching `ConfidentialAccount` objects. */ - max?: InputMaybe; - /** Minimum aggregate over matching `ConfidentialAccount` objects. */ - min?: InputMaybe; - /** Population standard deviation aggregate over matching `ConfidentialAccount` objects. */ - stddevPopulation?: InputMaybe; - /** Sample standard deviation aggregate over matching `ConfidentialAccount` objects. */ - stddevSample?: InputMaybe; - /** Sum aggregate over matching `ConfidentialAccount` objects. */ - sum?: InputMaybe; - /** Population variance aggregate over matching `ConfidentialAccount` objects. */ - variancePopulation?: InputMaybe; - /** Sample variance aggregate over matching `ConfidentialAccount` objects. */ - varianceSample?: InputMaybe; -}; - -export type ConfidentialAccountAverageAggregateFilter = { - eventIdx?: InputMaybe; -}; - -export type ConfidentialAccountAverageAggregates = { - __typename?: 'ConfidentialAccountAverageAggregates'; - /** Mean average of eventIdx across the matching connection */ - eventIdx?: Maybe; -}; - -/** A connection to a list of `Block` values, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialAccountBlocksByConfidentialAssetHistoryFromIdAndCreatedBlockIdManyToManyConnection = - { - __typename?: 'ConfidentialAccountBlocksByConfidentialAssetHistoryFromIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `ConfidentialAssetHistory`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialAccountBlocksByConfidentialAssetHistoryFromIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialAccountBlocksByConfidentialAssetHistoryFromIdAndCreatedBlockIdManyToManyEdge = - { - __typename?: 'ConfidentialAccountBlocksByConfidentialAssetHistoryFromIdAndCreatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ - confidentialAssetHistoriesByCreatedBlockId: ConfidentialAssetHistoriesConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - }; - -/** A `Block` edge in the connection, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialAccountBlocksByConfidentialAssetHistoryFromIdAndCreatedBlockIdManyToManyEdgeConfidentialAssetHistoriesByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialAccountBlocksByConfidentialAssetHistoryFromIdAndUpdatedBlockIdManyToManyConnection = - { - __typename?: 'ConfidentialAccountBlocksByConfidentialAssetHistoryFromIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `ConfidentialAssetHistory`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialAccountBlocksByConfidentialAssetHistoryFromIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialAccountBlocksByConfidentialAssetHistoryFromIdAndUpdatedBlockIdManyToManyEdge = - { - __typename?: 'ConfidentialAccountBlocksByConfidentialAssetHistoryFromIdAndUpdatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ - confidentialAssetHistoriesByUpdatedBlockId: ConfidentialAssetHistoriesConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - }; - -/** A `Block` edge in the connection, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialAccountBlocksByConfidentialAssetHistoryFromIdAndUpdatedBlockIdManyToManyEdgeConfidentialAssetHistoriesByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialAccountBlocksByConfidentialAssetHistoryToIdAndCreatedBlockIdManyToManyConnection = - { - __typename?: 'ConfidentialAccountBlocksByConfidentialAssetHistoryToIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `ConfidentialAssetHistory`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialAccountBlocksByConfidentialAssetHistoryToIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialAccountBlocksByConfidentialAssetHistoryToIdAndCreatedBlockIdManyToManyEdge = - { - __typename?: 'ConfidentialAccountBlocksByConfidentialAssetHistoryToIdAndCreatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ - confidentialAssetHistoriesByCreatedBlockId: ConfidentialAssetHistoriesConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - }; - -/** A `Block` edge in the connection, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialAccountBlocksByConfidentialAssetHistoryToIdAndCreatedBlockIdManyToManyEdgeConfidentialAssetHistoriesByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialAccountBlocksByConfidentialAssetHistoryToIdAndUpdatedBlockIdManyToManyConnection = - { - __typename?: 'ConfidentialAccountBlocksByConfidentialAssetHistoryToIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `ConfidentialAssetHistory`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialAccountBlocksByConfidentialAssetHistoryToIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialAccountBlocksByConfidentialAssetHistoryToIdAndUpdatedBlockIdManyToManyEdge = - { - __typename?: 'ConfidentialAccountBlocksByConfidentialAssetHistoryToIdAndUpdatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ - confidentialAssetHistoriesByUpdatedBlockId: ConfidentialAssetHistoriesConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - }; - -/** A `Block` edge in the connection, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialAccountBlocksByConfidentialAssetHistoryToIdAndUpdatedBlockIdManyToManyEdgeConfidentialAssetHistoriesByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialAssetHolder`. */ -export type ConfidentialAccountBlocksByConfidentialAssetHolderAccountIdAndCreatedBlockIdManyToManyConnection = - { - __typename?: 'ConfidentialAccountBlocksByConfidentialAssetHolderAccountIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `ConfidentialAssetHolder`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialAssetHolder`. */ -export type ConfidentialAccountBlocksByConfidentialAssetHolderAccountIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `ConfidentialAssetHolder`. */ -export type ConfidentialAccountBlocksByConfidentialAssetHolderAccountIdAndCreatedBlockIdManyToManyEdge = - { - __typename?: 'ConfidentialAccountBlocksByConfidentialAssetHolderAccountIdAndCreatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialAssetHolder`. */ - confidentialAssetHoldersByCreatedBlockId: ConfidentialAssetHoldersConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - }; - -/** A `Block` edge in the connection, with data from `ConfidentialAssetHolder`. */ -export type ConfidentialAccountBlocksByConfidentialAssetHolderAccountIdAndCreatedBlockIdManyToManyEdgeConfidentialAssetHoldersByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialAssetHolder`. */ -export type ConfidentialAccountBlocksByConfidentialAssetHolderAccountIdAndUpdatedBlockIdManyToManyConnection = - { - __typename?: 'ConfidentialAccountBlocksByConfidentialAssetHolderAccountIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `ConfidentialAssetHolder`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialAssetHolder`. */ -export type ConfidentialAccountBlocksByConfidentialAssetHolderAccountIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `ConfidentialAssetHolder`. */ -export type ConfidentialAccountBlocksByConfidentialAssetHolderAccountIdAndUpdatedBlockIdManyToManyEdge = - { - __typename?: 'ConfidentialAccountBlocksByConfidentialAssetHolderAccountIdAndUpdatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialAssetHolder`. */ - confidentialAssetHoldersByUpdatedBlockId: ConfidentialAssetHoldersConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - }; - -/** A `Block` edge in the connection, with data from `ConfidentialAssetHolder`. */ -export type ConfidentialAccountBlocksByConfidentialAssetHolderAccountIdAndUpdatedBlockIdManyToManyEdgeConfidentialAssetHoldersByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialLeg`. */ -export type ConfidentialAccountBlocksByConfidentialLegReceiverIdAndCreatedBlockIdManyToManyConnection = - { - __typename?: 'ConfidentialAccountBlocksByConfidentialLegReceiverIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `ConfidentialLeg`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialLeg`. */ -export type ConfidentialAccountBlocksByConfidentialLegReceiverIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `ConfidentialLeg`. */ -export type ConfidentialAccountBlocksByConfidentialLegReceiverIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'ConfidentialAccountBlocksByConfidentialLegReceiverIdAndCreatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialLeg`. */ - confidentialLegsByCreatedBlockId: ConfidentialLegsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `ConfidentialLeg`. */ -export type ConfidentialAccountBlocksByConfidentialLegReceiverIdAndCreatedBlockIdManyToManyEdgeConfidentialLegsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialLeg`. */ -export type ConfidentialAccountBlocksByConfidentialLegReceiverIdAndUpdatedBlockIdManyToManyConnection = - { - __typename?: 'ConfidentialAccountBlocksByConfidentialLegReceiverIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `ConfidentialLeg`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialLeg`. */ -export type ConfidentialAccountBlocksByConfidentialLegReceiverIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `ConfidentialLeg`. */ -export type ConfidentialAccountBlocksByConfidentialLegReceiverIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'ConfidentialAccountBlocksByConfidentialLegReceiverIdAndUpdatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialLeg`. */ - confidentialLegsByUpdatedBlockId: ConfidentialLegsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `ConfidentialLeg`. */ -export type ConfidentialAccountBlocksByConfidentialLegReceiverIdAndUpdatedBlockIdManyToManyEdgeConfidentialLegsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialLeg`. */ -export type ConfidentialAccountBlocksByConfidentialLegSenderIdAndCreatedBlockIdManyToManyConnection = - { - __typename?: 'ConfidentialAccountBlocksByConfidentialLegSenderIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `ConfidentialLeg`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialLeg`. */ -export type ConfidentialAccountBlocksByConfidentialLegSenderIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `ConfidentialLeg`. */ -export type ConfidentialAccountBlocksByConfidentialLegSenderIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'ConfidentialAccountBlocksByConfidentialLegSenderIdAndCreatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialLeg`. */ - confidentialLegsByCreatedBlockId: ConfidentialLegsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `ConfidentialLeg`. */ -export type ConfidentialAccountBlocksByConfidentialLegSenderIdAndCreatedBlockIdManyToManyEdgeConfidentialLegsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialLeg`. */ -export type ConfidentialAccountBlocksByConfidentialLegSenderIdAndUpdatedBlockIdManyToManyConnection = - { - __typename?: 'ConfidentialAccountBlocksByConfidentialLegSenderIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `ConfidentialLeg`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialLeg`. */ -export type ConfidentialAccountBlocksByConfidentialLegSenderIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `ConfidentialLeg`. */ -export type ConfidentialAccountBlocksByConfidentialLegSenderIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'ConfidentialAccountBlocksByConfidentialLegSenderIdAndUpdatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialLeg`. */ - confidentialLegsByUpdatedBlockId: ConfidentialLegsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `ConfidentialLeg`. */ -export type ConfidentialAccountBlocksByConfidentialLegSenderIdAndUpdatedBlockIdManyToManyEdgeConfidentialLegsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialTransactionAffirmation`. */ -export type ConfidentialAccountBlocksByConfidentialTransactionAffirmationAccountIdAndCreatedBlockIdManyToManyConnection = - { - __typename?: 'ConfidentialAccountBlocksByConfidentialTransactionAffirmationAccountIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `ConfidentialTransactionAffirmation`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialTransactionAffirmation`. */ -export type ConfidentialAccountBlocksByConfidentialTransactionAffirmationAccountIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ -export type ConfidentialAccountBlocksByConfidentialTransactionAffirmationAccountIdAndCreatedBlockIdManyToManyEdge = - { - __typename?: 'ConfidentialAccountBlocksByConfidentialTransactionAffirmationAccountIdAndCreatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialTransactionAffirmation`. */ - confidentialTransactionAffirmationsByCreatedBlockId: ConfidentialTransactionAffirmationsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - }; - -/** A `Block` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ -export type ConfidentialAccountBlocksByConfidentialTransactionAffirmationAccountIdAndCreatedBlockIdManyToManyEdgeConfidentialTransactionAffirmationsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialTransactionAffirmation`. */ -export type ConfidentialAccountBlocksByConfidentialTransactionAffirmationAccountIdAndUpdatedBlockIdManyToManyConnection = - { - __typename?: 'ConfidentialAccountBlocksByConfidentialTransactionAffirmationAccountIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `ConfidentialTransactionAffirmation`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialTransactionAffirmation`. */ -export type ConfidentialAccountBlocksByConfidentialTransactionAffirmationAccountIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ -export type ConfidentialAccountBlocksByConfidentialTransactionAffirmationAccountIdAndUpdatedBlockIdManyToManyEdge = - { - __typename?: 'ConfidentialAccountBlocksByConfidentialTransactionAffirmationAccountIdAndUpdatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialTransactionAffirmation`. */ - confidentialTransactionAffirmationsByUpdatedBlockId: ConfidentialTransactionAffirmationsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - }; - -/** A `Block` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ -export type ConfidentialAccountBlocksByConfidentialTransactionAffirmationAccountIdAndUpdatedBlockIdManyToManyEdgeConfidentialTransactionAffirmationsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialAccountConfidentialAccountsByConfidentialAssetHistoryFromIdAndToIdManyToManyConnection = - { - __typename?: 'ConfidentialAccountConfidentialAccountsByConfidentialAssetHistoryFromIdAndToIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `ConfidentialAccount`, info from the `ConfidentialAssetHistory`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `ConfidentialAccount` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `ConfidentialAccount` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialAccountConfidentialAccountsByConfidentialAssetHistoryFromIdAndToIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialAccountConfidentialAccountsByConfidentialAssetHistoryFromIdAndToIdManyToManyEdge = - { - __typename?: 'ConfidentialAccountConfidentialAccountsByConfidentialAssetHistoryFromIdAndToIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ - confidentialAssetHistoriesByToId: ConfidentialAssetHistoriesConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `ConfidentialAccount` at the end of the edge. */ - node?: Maybe; - }; - -/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialAccountConfidentialAccountsByConfidentialAssetHistoryFromIdAndToIdManyToManyEdgeConfidentialAssetHistoriesByToIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialAccountConfidentialAccountsByConfidentialAssetHistoryToIdAndFromIdManyToManyConnection = - { - __typename?: 'ConfidentialAccountConfidentialAccountsByConfidentialAssetHistoryToIdAndFromIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `ConfidentialAccount`, info from the `ConfidentialAssetHistory`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `ConfidentialAccount` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `ConfidentialAccount` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialAccountConfidentialAccountsByConfidentialAssetHistoryToIdAndFromIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialAccountConfidentialAccountsByConfidentialAssetHistoryToIdAndFromIdManyToManyEdge = - { - __typename?: 'ConfidentialAccountConfidentialAccountsByConfidentialAssetHistoryToIdAndFromIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ - confidentialAssetHistoriesByFromId: ConfidentialAssetHistoriesConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `ConfidentialAccount` at the end of the edge. */ - node?: Maybe; - }; - -/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialAccountConfidentialAccountsByConfidentialAssetHistoryToIdAndFromIdManyToManyEdgeConfidentialAssetHistoriesByFromIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialLeg`. */ -export type ConfidentialAccountConfidentialAccountsByConfidentialLegReceiverIdAndSenderIdManyToManyConnection = - { - __typename?: 'ConfidentialAccountConfidentialAccountsByConfidentialLegReceiverIdAndSenderIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `ConfidentialAccount`, info from the `ConfidentialLeg`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `ConfidentialAccount` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `ConfidentialAccount` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialLeg`. */ -export type ConfidentialAccountConfidentialAccountsByConfidentialLegReceiverIdAndSenderIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialLeg`. */ -export type ConfidentialAccountConfidentialAccountsByConfidentialLegReceiverIdAndSenderIdManyToManyEdge = - { - __typename?: 'ConfidentialAccountConfidentialAccountsByConfidentialLegReceiverIdAndSenderIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialLeg`. */ - confidentialLegsBySenderId: ConfidentialLegsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `ConfidentialAccount` at the end of the edge. */ - node?: Maybe; - }; - -/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialLeg`. */ -export type ConfidentialAccountConfidentialAccountsByConfidentialLegReceiverIdAndSenderIdManyToManyEdgeConfidentialLegsBySenderIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialLeg`. */ -export type ConfidentialAccountConfidentialAccountsByConfidentialLegSenderIdAndReceiverIdManyToManyConnection = - { - __typename?: 'ConfidentialAccountConfidentialAccountsByConfidentialLegSenderIdAndReceiverIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `ConfidentialAccount`, info from the `ConfidentialLeg`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `ConfidentialAccount` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `ConfidentialAccount` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialLeg`. */ -export type ConfidentialAccountConfidentialAccountsByConfidentialLegSenderIdAndReceiverIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialLeg`. */ -export type ConfidentialAccountConfidentialAccountsByConfidentialLegSenderIdAndReceiverIdManyToManyEdge = - { - __typename?: 'ConfidentialAccountConfidentialAccountsByConfidentialLegSenderIdAndReceiverIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialLeg`. */ - confidentialLegsByReceiverId: ConfidentialLegsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `ConfidentialAccount` at the end of the edge. */ - node?: Maybe; - }; - -/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialLeg`. */ -export type ConfidentialAccountConfidentialAccountsByConfidentialLegSenderIdAndReceiverIdManyToManyEdgeConfidentialLegsByReceiverIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `ConfidentialAsset` values, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialAccountConfidentialAssetsByConfidentialAssetHistoryFromIdAndAssetIdManyToManyConnection = - { - __typename?: 'ConfidentialAccountConfidentialAssetsByConfidentialAssetHistoryFromIdAndAssetIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `ConfidentialAsset`, info from the `ConfidentialAssetHistory`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `ConfidentialAsset` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `ConfidentialAsset` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `ConfidentialAsset` values, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialAccountConfidentialAssetsByConfidentialAssetHistoryFromIdAndAssetIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `ConfidentialAsset` edge in the connection, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialAccountConfidentialAssetsByConfidentialAssetHistoryFromIdAndAssetIdManyToManyEdge = - { - __typename?: 'ConfidentialAccountConfidentialAssetsByConfidentialAssetHistoryFromIdAndAssetIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ - confidentialAssetHistoriesByAssetId: ConfidentialAssetHistoriesConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `ConfidentialAsset` at the end of the edge. */ - node?: Maybe; - }; - -/** A `ConfidentialAsset` edge in the connection, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialAccountConfidentialAssetsByConfidentialAssetHistoryFromIdAndAssetIdManyToManyEdgeConfidentialAssetHistoriesByAssetIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `ConfidentialAsset` values, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialAccountConfidentialAssetsByConfidentialAssetHistoryToIdAndAssetIdManyToManyConnection = - { - __typename?: 'ConfidentialAccountConfidentialAssetsByConfidentialAssetHistoryToIdAndAssetIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `ConfidentialAsset`, info from the `ConfidentialAssetHistory`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `ConfidentialAsset` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `ConfidentialAsset` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `ConfidentialAsset` values, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialAccountConfidentialAssetsByConfidentialAssetHistoryToIdAndAssetIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `ConfidentialAsset` edge in the connection, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialAccountConfidentialAssetsByConfidentialAssetHistoryToIdAndAssetIdManyToManyEdge = - { - __typename?: 'ConfidentialAccountConfidentialAssetsByConfidentialAssetHistoryToIdAndAssetIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ - confidentialAssetHistoriesByAssetId: ConfidentialAssetHistoriesConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `ConfidentialAsset` at the end of the edge. */ - node?: Maybe; - }; - -/** A `ConfidentialAsset` edge in the connection, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialAccountConfidentialAssetsByConfidentialAssetHistoryToIdAndAssetIdManyToManyEdgeConfidentialAssetHistoriesByAssetIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `ConfidentialAsset` values, with data from `ConfidentialAssetHolder`. */ -export type ConfidentialAccountConfidentialAssetsByConfidentialAssetHolderAccountIdAndAssetIdManyToManyConnection = - { - __typename?: 'ConfidentialAccountConfidentialAssetsByConfidentialAssetHolderAccountIdAndAssetIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `ConfidentialAsset`, info from the `ConfidentialAssetHolder`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `ConfidentialAsset` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `ConfidentialAsset` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `ConfidentialAsset` values, with data from `ConfidentialAssetHolder`. */ -export type ConfidentialAccountConfidentialAssetsByConfidentialAssetHolderAccountIdAndAssetIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `ConfidentialAsset` edge in the connection, with data from `ConfidentialAssetHolder`. */ -export type ConfidentialAccountConfidentialAssetsByConfidentialAssetHolderAccountIdAndAssetIdManyToManyEdge = - { - __typename?: 'ConfidentialAccountConfidentialAssetsByConfidentialAssetHolderAccountIdAndAssetIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialAssetHolder`. */ - confidentialAssetHoldersByAssetId: ConfidentialAssetHoldersConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `ConfidentialAsset` at the end of the edge. */ - node?: Maybe; - }; - -/** A `ConfidentialAsset` edge in the connection, with data from `ConfidentialAssetHolder`. */ -export type ConfidentialAccountConfidentialAssetsByConfidentialAssetHolderAccountIdAndAssetIdManyToManyEdgeConfidentialAssetHoldersByAssetIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `ConfidentialTransaction` values, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialAccountConfidentialTransactionsByConfidentialAssetHistoryFromIdAndTransactionIdManyToManyConnection = - { - __typename?: 'ConfidentialAccountConfidentialTransactionsByConfidentialAssetHistoryFromIdAndTransactionIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `ConfidentialTransaction`, info from the `ConfidentialAssetHistory`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `ConfidentialTransaction` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `ConfidentialTransaction` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `ConfidentialTransaction` values, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialAccountConfidentialTransactionsByConfidentialAssetHistoryFromIdAndTransactionIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `ConfidentialTransaction` edge in the connection, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialAccountConfidentialTransactionsByConfidentialAssetHistoryFromIdAndTransactionIdManyToManyEdge = - { - __typename?: 'ConfidentialAccountConfidentialTransactionsByConfidentialAssetHistoryFromIdAndTransactionIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ - confidentialAssetHistoriesByTransactionId: ConfidentialAssetHistoriesConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `ConfidentialTransaction` at the end of the edge. */ - node?: Maybe; - }; - -/** A `ConfidentialTransaction` edge in the connection, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialAccountConfidentialTransactionsByConfidentialAssetHistoryFromIdAndTransactionIdManyToManyEdgeConfidentialAssetHistoriesByTransactionIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `ConfidentialTransaction` values, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialAccountConfidentialTransactionsByConfidentialAssetHistoryToIdAndTransactionIdManyToManyConnection = - { - __typename?: 'ConfidentialAccountConfidentialTransactionsByConfidentialAssetHistoryToIdAndTransactionIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `ConfidentialTransaction`, info from the `ConfidentialAssetHistory`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `ConfidentialTransaction` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `ConfidentialTransaction` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `ConfidentialTransaction` values, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialAccountConfidentialTransactionsByConfidentialAssetHistoryToIdAndTransactionIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `ConfidentialTransaction` edge in the connection, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialAccountConfidentialTransactionsByConfidentialAssetHistoryToIdAndTransactionIdManyToManyEdge = - { - __typename?: 'ConfidentialAccountConfidentialTransactionsByConfidentialAssetHistoryToIdAndTransactionIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ - confidentialAssetHistoriesByTransactionId: ConfidentialAssetHistoriesConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `ConfidentialTransaction` at the end of the edge. */ - node?: Maybe; - }; - -/** A `ConfidentialTransaction` edge in the connection, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialAccountConfidentialTransactionsByConfidentialAssetHistoryToIdAndTransactionIdManyToManyEdgeConfidentialAssetHistoriesByTransactionIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `ConfidentialTransaction` values, with data from `ConfidentialLeg`. */ -export type ConfidentialAccountConfidentialTransactionsByConfidentialLegReceiverIdAndTransactionIdManyToManyConnection = - { - __typename?: 'ConfidentialAccountConfidentialTransactionsByConfidentialLegReceiverIdAndTransactionIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `ConfidentialTransaction`, info from the `ConfidentialLeg`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `ConfidentialTransaction` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `ConfidentialTransaction` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `ConfidentialTransaction` values, with data from `ConfidentialLeg`. */ -export type ConfidentialAccountConfidentialTransactionsByConfidentialLegReceiverIdAndTransactionIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `ConfidentialTransaction` edge in the connection, with data from `ConfidentialLeg`. */ -export type ConfidentialAccountConfidentialTransactionsByConfidentialLegReceiverIdAndTransactionIdManyToManyEdge = - { - __typename?: 'ConfidentialAccountConfidentialTransactionsByConfidentialLegReceiverIdAndTransactionIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `ConfidentialLeg`. */ - legs: ConfidentialLegsConnection; - /** The `ConfidentialTransaction` at the end of the edge. */ - node?: Maybe; - }; - -/** A `ConfidentialTransaction` edge in the connection, with data from `ConfidentialLeg`. */ -export type ConfidentialAccountConfidentialTransactionsByConfidentialLegReceiverIdAndTransactionIdManyToManyEdgeLegsArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `ConfidentialTransaction` values, with data from `ConfidentialLeg`. */ -export type ConfidentialAccountConfidentialTransactionsByConfidentialLegSenderIdAndTransactionIdManyToManyConnection = - { - __typename?: 'ConfidentialAccountConfidentialTransactionsByConfidentialLegSenderIdAndTransactionIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `ConfidentialTransaction`, info from the `ConfidentialLeg`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `ConfidentialTransaction` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `ConfidentialTransaction` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `ConfidentialTransaction` values, with data from `ConfidentialLeg`. */ -export type ConfidentialAccountConfidentialTransactionsByConfidentialLegSenderIdAndTransactionIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `ConfidentialTransaction` edge in the connection, with data from `ConfidentialLeg`. */ -export type ConfidentialAccountConfidentialTransactionsByConfidentialLegSenderIdAndTransactionIdManyToManyEdge = - { - __typename?: 'ConfidentialAccountConfidentialTransactionsByConfidentialLegSenderIdAndTransactionIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `ConfidentialLeg`. */ - legs: ConfidentialLegsConnection; - /** The `ConfidentialTransaction` at the end of the edge. */ - node?: Maybe; - }; - -/** A `ConfidentialTransaction` edge in the connection, with data from `ConfidentialLeg`. */ -export type ConfidentialAccountConfidentialTransactionsByConfidentialLegSenderIdAndTransactionIdManyToManyEdgeLegsArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `ConfidentialTransaction` values, with data from `ConfidentialTransactionAffirmation`. */ -export type ConfidentialAccountConfidentialTransactionsByConfidentialTransactionAffirmationAccountIdAndTransactionIdManyToManyConnection = - { - __typename?: 'ConfidentialAccountConfidentialTransactionsByConfidentialTransactionAffirmationAccountIdAndTransactionIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `ConfidentialTransaction`, info from the `ConfidentialTransactionAffirmation`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `ConfidentialTransaction` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `ConfidentialTransaction` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `ConfidentialTransaction` values, with data from `ConfidentialTransactionAffirmation`. */ -export type ConfidentialAccountConfidentialTransactionsByConfidentialTransactionAffirmationAccountIdAndTransactionIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `ConfidentialTransaction` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ -export type ConfidentialAccountConfidentialTransactionsByConfidentialTransactionAffirmationAccountIdAndTransactionIdManyToManyEdge = - { - __typename?: 'ConfidentialAccountConfidentialTransactionsByConfidentialTransactionAffirmationAccountIdAndTransactionIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialTransactionAffirmation`. */ - affirmations: ConfidentialTransactionAffirmationsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `ConfidentialTransaction` at the end of the edge. */ - node?: Maybe; - }; - -/** A `ConfidentialTransaction` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ -export type ConfidentialAccountConfidentialTransactionsByConfidentialTransactionAffirmationAccountIdAndTransactionIdManyToManyEdgeAffirmationsArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -export type ConfidentialAccountDistinctCountAggregateFilter = { - account?: InputMaybe; - createdAt?: InputMaybe; - createdBlockId?: InputMaybe; - creatorId?: InputMaybe; - eventIdx?: InputMaybe; - id?: InputMaybe; - updatedAt?: InputMaybe; - updatedBlockId?: InputMaybe; -}; - -export type ConfidentialAccountDistinctCountAggregates = { - __typename?: 'ConfidentialAccountDistinctCountAggregates'; - /** Distinct count of account across the matching connection */ - account?: Maybe; - /** Distinct count of createdAt across the matching connection */ - createdAt?: Maybe; - /** Distinct count of createdBlockId across the matching connection */ - createdBlockId?: Maybe; - /** Distinct count of creatorId across the matching connection */ - creatorId?: Maybe; - /** Distinct count of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Distinct count of id across the matching connection */ - id?: Maybe; - /** Distinct count of updatedAt across the matching connection */ - updatedAt?: Maybe; - /** Distinct count of updatedBlockId across the matching connection */ - updatedBlockId?: Maybe; -}; - -/** A filter to be used against `ConfidentialAccount` object types. All fields are combined with a logical ‘and.’ */ -export type ConfidentialAccountFilter = { - /** Filter by the object’s `account` field. */ - account?: InputMaybe; - /** Checks for all expressions in this list. */ - and?: InputMaybe>; - /** Filter by the object’s `confidentialAssetHistoriesByFromId` relation. */ - confidentialAssetHistoriesByFromId?: InputMaybe; - /** Some related `confidentialAssetHistoriesByFromId` exist. */ - confidentialAssetHistoriesByFromIdExist?: InputMaybe; - /** Filter by the object’s `confidentialAssetHistoriesByToId` relation. */ - confidentialAssetHistoriesByToId?: InputMaybe; - /** Some related `confidentialAssetHistoriesByToId` exist. */ - confidentialAssetHistoriesByToIdExist?: InputMaybe; - /** Filter by the object’s `confidentialAssetHoldersByAccountId` relation. */ - confidentialAssetHoldersByAccountId?: InputMaybe; - /** Some related `confidentialAssetHoldersByAccountId` exist. */ - confidentialAssetHoldersByAccountIdExist?: InputMaybe; - /** Filter by the object’s `confidentialLegsByReceiverId` relation. */ - confidentialLegsByReceiverId?: InputMaybe; - /** Some related `confidentialLegsByReceiverId` exist. */ - confidentialLegsByReceiverIdExist?: InputMaybe; - /** Filter by the object’s `confidentialLegsBySenderId` relation. */ - confidentialLegsBySenderId?: InputMaybe; - /** Some related `confidentialLegsBySenderId` exist. */ - confidentialLegsBySenderIdExist?: InputMaybe; - /** Filter by the object’s `confidentialTransactionAffirmationsByAccountId` relation. */ - confidentialTransactionAffirmationsByAccountId?: InputMaybe; - /** Some related `confidentialTransactionAffirmationsByAccountId` exist. */ - confidentialTransactionAffirmationsByAccountIdExist?: InputMaybe; - /** Filter by the object’s `createdAt` field. */ - createdAt?: InputMaybe; - /** Filter by the object’s `createdBlock` relation. */ - createdBlock?: InputMaybe; - /** Filter by the object’s `createdBlockId` field. */ - createdBlockId?: InputMaybe; - /** Filter by the object’s `creator` relation. */ - creator?: InputMaybe; - /** Filter by the object’s `creatorId` field. */ - creatorId?: InputMaybe; - /** Filter by the object’s `eventIdx` field. */ - eventIdx?: InputMaybe; - /** Filter by the object’s `id` field. */ - id?: InputMaybe; - /** Negates the expression. */ - not?: InputMaybe; - /** Checks for any expressions in this list. */ - or?: InputMaybe>; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: InputMaybe; - /** Filter by the object’s `updatedBlock` relation. */ - updatedBlock?: InputMaybe; - /** Filter by the object’s `updatedBlockId` field. */ - updatedBlockId?: InputMaybe; -}; - -/** A connection to a list of `Identity` values, with data from `ConfidentialTransactionAffirmation`. */ -export type ConfidentialAccountIdentitiesByConfidentialTransactionAffirmationAccountIdAndIdentityIdManyToManyConnection = - { - __typename?: 'ConfidentialAccountIdentitiesByConfidentialTransactionAffirmationAccountIdAndIdentityIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `ConfidentialTransactionAffirmation`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Identity` values, with data from `ConfidentialTransactionAffirmation`. */ -export type ConfidentialAccountIdentitiesByConfidentialTransactionAffirmationAccountIdAndIdentityIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ -export type ConfidentialAccountIdentitiesByConfidentialTransactionAffirmationAccountIdAndIdentityIdManyToManyEdge = - { - __typename?: 'ConfidentialAccountIdentitiesByConfidentialTransactionAffirmationAccountIdAndIdentityIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialTransactionAffirmation`. */ - confidentialTransactionAffirmations: ConfidentialTransactionAffirmationsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; - }; - -/** A `Identity` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ -export type ConfidentialAccountIdentitiesByConfidentialTransactionAffirmationAccountIdAndIdentityIdManyToManyEdgeConfidentialTransactionAffirmationsArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -export type ConfidentialAccountMaxAggregateFilter = { - eventIdx?: InputMaybe; -}; - -export type ConfidentialAccountMaxAggregates = { - __typename?: 'ConfidentialAccountMaxAggregates'; - /** Maximum of eventIdx across the matching connection */ - eventIdx?: Maybe; -}; - -export type ConfidentialAccountMinAggregateFilter = { - eventIdx?: InputMaybe; -}; - -export type ConfidentialAccountMinAggregates = { - __typename?: 'ConfidentialAccountMinAggregates'; - /** Minimum of eventIdx across the matching connection */ - eventIdx?: Maybe; -}; - -export type ConfidentialAccountStddevPopulationAggregateFilter = { - eventIdx?: InputMaybe; -}; - -export type ConfidentialAccountStddevPopulationAggregates = { - __typename?: 'ConfidentialAccountStddevPopulationAggregates'; - /** Population standard deviation of eventIdx across the matching connection */ - eventIdx?: Maybe; -}; - -export type ConfidentialAccountStddevSampleAggregateFilter = { - eventIdx?: InputMaybe; -}; - -export type ConfidentialAccountStddevSampleAggregates = { - __typename?: 'ConfidentialAccountStddevSampleAggregates'; - /** Sample standard deviation of eventIdx across the matching connection */ - eventIdx?: Maybe; -}; - -export type ConfidentialAccountSumAggregateFilter = { - eventIdx?: InputMaybe; -}; - -export type ConfidentialAccountSumAggregates = { - __typename?: 'ConfidentialAccountSumAggregates'; - /** Sum of eventIdx across the matching connection */ - eventIdx: Scalars['BigInt']['output']; -}; - -/** A filter to be used against many `ConfidentialAssetHistory` object types. All fields are combined with a logical ‘and.’ */ -export type ConfidentialAccountToManyConfidentialAssetHistoryFilter = { - /** Aggregates across related `ConfidentialAssetHistory` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `ConfidentialAssetHistory` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `ConfidentialAssetHistory` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `ConfidentialAssetHistory` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `ConfidentialAssetHolder` object types. All fields are combined with a logical ‘and.’ */ -export type ConfidentialAccountToManyConfidentialAssetHolderFilter = { - /** Aggregates across related `ConfidentialAssetHolder` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `ConfidentialAssetHolder` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `ConfidentialAssetHolder` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `ConfidentialAssetHolder` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `ConfidentialLeg` object types. All fields are combined with a logical ‘and.’ */ -export type ConfidentialAccountToManyConfidentialLegFilter = { - /** Aggregates across related `ConfidentialLeg` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `ConfidentialLeg` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `ConfidentialLeg` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `ConfidentialLeg` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `ConfidentialTransactionAffirmation` object types. All fields are combined with a logical ‘and.’ */ -export type ConfidentialAccountToManyConfidentialTransactionAffirmationFilter = { - /** Aggregates across related `ConfidentialTransactionAffirmation` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `ConfidentialTransactionAffirmation` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `ConfidentialTransactionAffirmation` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `ConfidentialTransactionAffirmation` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -export type ConfidentialAccountVariancePopulationAggregateFilter = { - eventIdx?: InputMaybe; -}; - -export type ConfidentialAccountVariancePopulationAggregates = { - __typename?: 'ConfidentialAccountVariancePopulationAggregates'; - /** Population variance of eventIdx across the matching connection */ - eventIdx?: Maybe; -}; - -export type ConfidentialAccountVarianceSampleAggregateFilter = { - eventIdx?: InputMaybe; -}; - -export type ConfidentialAccountVarianceSampleAggregates = { - __typename?: 'ConfidentialAccountVarianceSampleAggregates'; - /** Sample variance of eventIdx across the matching connection */ - eventIdx?: Maybe; -}; - -/** A connection to a list of `ConfidentialAccount` values. */ -export type ConfidentialAccountsConnection = { - __typename?: 'ConfidentialAccountsConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `ConfidentialAccount` and cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `ConfidentialAccount` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `ConfidentialAccount` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `ConfidentialAccount` values. */ -export type ConfidentialAccountsConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `ConfidentialAccount` edge in the connection. */ -export type ConfidentialAccountsEdge = { - __typename?: 'ConfidentialAccountsEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `ConfidentialAccount` at the end of the edge. */ - node?: Maybe; -}; - -/** Grouping methods for `ConfidentialAccount` for usage during aggregation. */ -export enum ConfidentialAccountsGroupBy { - Account = 'ACCOUNT', - CreatedAt = 'CREATED_AT', - CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', - CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', - CreatedBlockId = 'CREATED_BLOCK_ID', - CreatorId = 'CREATOR_ID', - EventIdx = 'EVENT_IDX', - UpdatedAt = 'UPDATED_AT', - UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', - UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export type ConfidentialAccountsHavingAverageInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ConfidentialAccountsHavingDistinctCountInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Conditions for `ConfidentialAccount` aggregates. */ -export type ConfidentialAccountsHavingInput = { - AND?: InputMaybe>; - OR?: InputMaybe>; - average?: InputMaybe; - distinctCount?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddevPopulation?: InputMaybe; - stddevSample?: InputMaybe; - sum?: InputMaybe; - variancePopulation?: InputMaybe; - varianceSample?: InputMaybe; -}; - -export type ConfidentialAccountsHavingMaxInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ConfidentialAccountsHavingMinInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ConfidentialAccountsHavingStddevPopulationInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ConfidentialAccountsHavingStddevSampleInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ConfidentialAccountsHavingSumInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ConfidentialAccountsHavingVariancePopulationInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ConfidentialAccountsHavingVarianceSampleInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Methods to use when ordering `ConfidentialAccount`. */ -export enum ConfidentialAccountsOrderBy { - AccountAsc = 'ACCOUNT_ASC', - AccountDesc = 'ACCOUNT_DESC', - ConfidentialAssetHistoriesByFromIdAverageAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_AVERAGE_AMOUNT_ASC', - ConfidentialAssetHistoriesByFromIdAverageAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_AVERAGE_AMOUNT_DESC', - ConfidentialAssetHistoriesByFromIdAverageAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_AVERAGE_ASSET_ID_ASC', - ConfidentialAssetHistoriesByFromIdAverageAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_AVERAGE_ASSET_ID_DESC', - ConfidentialAssetHistoriesByFromIdAverageCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_AVERAGE_CREATED_AT_ASC', - ConfidentialAssetHistoriesByFromIdAverageCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_AVERAGE_CREATED_AT_DESC', - ConfidentialAssetHistoriesByFromIdAverageCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByFromIdAverageCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByFromIdAverageDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_AVERAGE_DATETIME_ASC', - ConfidentialAssetHistoriesByFromIdAverageDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_AVERAGE_DATETIME_DESC', - ConfidentialAssetHistoriesByFromIdAverageEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_AVERAGE_EVENT_IDX_ASC', - ConfidentialAssetHistoriesByFromIdAverageEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_AVERAGE_EVENT_IDX_DESC', - ConfidentialAssetHistoriesByFromIdAverageEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_AVERAGE_EVENT_ID_ASC', - ConfidentialAssetHistoriesByFromIdAverageEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_AVERAGE_EVENT_ID_DESC', - ConfidentialAssetHistoriesByFromIdAverageExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_AVERAGE_EXTRINSIC_IDX_ASC', - ConfidentialAssetHistoriesByFromIdAverageExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_AVERAGE_EXTRINSIC_IDX_DESC', - ConfidentialAssetHistoriesByFromIdAverageFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_AVERAGE_FROM_ID_ASC', - ConfidentialAssetHistoriesByFromIdAverageFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_AVERAGE_FROM_ID_DESC', - ConfidentialAssetHistoriesByFromIdAverageIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_AVERAGE_ID_ASC', - ConfidentialAssetHistoriesByFromIdAverageIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_AVERAGE_ID_DESC', - ConfidentialAssetHistoriesByFromIdAverageMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_AVERAGE_MEMO_ASC', - ConfidentialAssetHistoriesByFromIdAverageMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_AVERAGE_MEMO_DESC', - ConfidentialAssetHistoriesByFromIdAverageToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_AVERAGE_TO_ID_ASC', - ConfidentialAssetHistoriesByFromIdAverageToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_AVERAGE_TO_ID_DESC', - ConfidentialAssetHistoriesByFromIdAverageTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_AVERAGE_TRANSACTION_ID_ASC', - ConfidentialAssetHistoriesByFromIdAverageTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_AVERAGE_TRANSACTION_ID_DESC', - ConfidentialAssetHistoriesByFromIdAverageUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_AVERAGE_UPDATED_AT_ASC', - ConfidentialAssetHistoriesByFromIdAverageUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_AVERAGE_UPDATED_AT_DESC', - ConfidentialAssetHistoriesByFromIdAverageUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByFromIdAverageUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByFromIdCountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_COUNT_ASC', - ConfidentialAssetHistoriesByFromIdCountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_COUNT_DESC', - ConfidentialAssetHistoriesByFromIdDistinctCountAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_DISTINCT_COUNT_AMOUNT_ASC', - ConfidentialAssetHistoriesByFromIdDistinctCountAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_DISTINCT_COUNT_AMOUNT_DESC', - ConfidentialAssetHistoriesByFromIdDistinctCountAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_DISTINCT_COUNT_ASSET_ID_ASC', - ConfidentialAssetHistoriesByFromIdDistinctCountAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_DISTINCT_COUNT_ASSET_ID_DESC', - ConfidentialAssetHistoriesByFromIdDistinctCountCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_DISTINCT_COUNT_CREATED_AT_ASC', - ConfidentialAssetHistoriesByFromIdDistinctCountCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_DISTINCT_COUNT_CREATED_AT_DESC', - ConfidentialAssetHistoriesByFromIdDistinctCountCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByFromIdDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByFromIdDistinctCountDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_DISTINCT_COUNT_DATETIME_ASC', - ConfidentialAssetHistoriesByFromIdDistinctCountDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_DISTINCT_COUNT_DATETIME_DESC', - ConfidentialAssetHistoriesByFromIdDistinctCountEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_DISTINCT_COUNT_EVENT_IDX_ASC', - ConfidentialAssetHistoriesByFromIdDistinctCountEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_DISTINCT_COUNT_EVENT_IDX_DESC', - ConfidentialAssetHistoriesByFromIdDistinctCountEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_DISTINCT_COUNT_EVENT_ID_ASC', - ConfidentialAssetHistoriesByFromIdDistinctCountEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_DISTINCT_COUNT_EVENT_ID_DESC', - ConfidentialAssetHistoriesByFromIdDistinctCountExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_DISTINCT_COUNT_EXTRINSIC_IDX_ASC', - ConfidentialAssetHistoriesByFromIdDistinctCountExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_DISTINCT_COUNT_EXTRINSIC_IDX_DESC', - ConfidentialAssetHistoriesByFromIdDistinctCountFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_DISTINCT_COUNT_FROM_ID_ASC', - ConfidentialAssetHistoriesByFromIdDistinctCountFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_DISTINCT_COUNT_FROM_ID_DESC', - ConfidentialAssetHistoriesByFromIdDistinctCountIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_DISTINCT_COUNT_ID_ASC', - ConfidentialAssetHistoriesByFromIdDistinctCountIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_DISTINCT_COUNT_ID_DESC', - ConfidentialAssetHistoriesByFromIdDistinctCountMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_DISTINCT_COUNT_MEMO_ASC', - ConfidentialAssetHistoriesByFromIdDistinctCountMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_DISTINCT_COUNT_MEMO_DESC', - ConfidentialAssetHistoriesByFromIdDistinctCountToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_DISTINCT_COUNT_TO_ID_ASC', - ConfidentialAssetHistoriesByFromIdDistinctCountToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_DISTINCT_COUNT_TO_ID_DESC', - ConfidentialAssetHistoriesByFromIdDistinctCountTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_DISTINCT_COUNT_TRANSACTION_ID_ASC', - ConfidentialAssetHistoriesByFromIdDistinctCountTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_DISTINCT_COUNT_TRANSACTION_ID_DESC', - ConfidentialAssetHistoriesByFromIdDistinctCountUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - ConfidentialAssetHistoriesByFromIdDistinctCountUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - ConfidentialAssetHistoriesByFromIdDistinctCountUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByFromIdDistinctCountUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByFromIdMaxAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MAX_AMOUNT_ASC', - ConfidentialAssetHistoriesByFromIdMaxAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MAX_AMOUNT_DESC', - ConfidentialAssetHistoriesByFromIdMaxAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MAX_ASSET_ID_ASC', - ConfidentialAssetHistoriesByFromIdMaxAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MAX_ASSET_ID_DESC', - ConfidentialAssetHistoriesByFromIdMaxCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MAX_CREATED_AT_ASC', - ConfidentialAssetHistoriesByFromIdMaxCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MAX_CREATED_AT_DESC', - ConfidentialAssetHistoriesByFromIdMaxCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MAX_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByFromIdMaxCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MAX_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByFromIdMaxDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MAX_DATETIME_ASC', - ConfidentialAssetHistoriesByFromIdMaxDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MAX_DATETIME_DESC', - ConfidentialAssetHistoriesByFromIdMaxEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MAX_EVENT_IDX_ASC', - ConfidentialAssetHistoriesByFromIdMaxEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MAX_EVENT_IDX_DESC', - ConfidentialAssetHistoriesByFromIdMaxEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MAX_EVENT_ID_ASC', - ConfidentialAssetHistoriesByFromIdMaxEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MAX_EVENT_ID_DESC', - ConfidentialAssetHistoriesByFromIdMaxExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MAX_EXTRINSIC_IDX_ASC', - ConfidentialAssetHistoriesByFromIdMaxExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MAX_EXTRINSIC_IDX_DESC', - ConfidentialAssetHistoriesByFromIdMaxFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MAX_FROM_ID_ASC', - ConfidentialAssetHistoriesByFromIdMaxFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MAX_FROM_ID_DESC', - ConfidentialAssetHistoriesByFromIdMaxIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MAX_ID_ASC', - ConfidentialAssetHistoriesByFromIdMaxIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MAX_ID_DESC', - ConfidentialAssetHistoriesByFromIdMaxMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MAX_MEMO_ASC', - ConfidentialAssetHistoriesByFromIdMaxMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MAX_MEMO_DESC', - ConfidentialAssetHistoriesByFromIdMaxToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MAX_TO_ID_ASC', - ConfidentialAssetHistoriesByFromIdMaxToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MAX_TO_ID_DESC', - ConfidentialAssetHistoriesByFromIdMaxTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MAX_TRANSACTION_ID_ASC', - ConfidentialAssetHistoriesByFromIdMaxTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MAX_TRANSACTION_ID_DESC', - ConfidentialAssetHistoriesByFromIdMaxUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MAX_UPDATED_AT_ASC', - ConfidentialAssetHistoriesByFromIdMaxUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MAX_UPDATED_AT_DESC', - ConfidentialAssetHistoriesByFromIdMaxUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MAX_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByFromIdMaxUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MAX_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByFromIdMinAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MIN_AMOUNT_ASC', - ConfidentialAssetHistoriesByFromIdMinAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MIN_AMOUNT_DESC', - ConfidentialAssetHistoriesByFromIdMinAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MIN_ASSET_ID_ASC', - ConfidentialAssetHistoriesByFromIdMinAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MIN_ASSET_ID_DESC', - ConfidentialAssetHistoriesByFromIdMinCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MIN_CREATED_AT_ASC', - ConfidentialAssetHistoriesByFromIdMinCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MIN_CREATED_AT_DESC', - ConfidentialAssetHistoriesByFromIdMinCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MIN_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByFromIdMinCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MIN_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByFromIdMinDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MIN_DATETIME_ASC', - ConfidentialAssetHistoriesByFromIdMinDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MIN_DATETIME_DESC', - ConfidentialAssetHistoriesByFromIdMinEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MIN_EVENT_IDX_ASC', - ConfidentialAssetHistoriesByFromIdMinEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MIN_EVENT_IDX_DESC', - ConfidentialAssetHistoriesByFromIdMinEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MIN_EVENT_ID_ASC', - ConfidentialAssetHistoriesByFromIdMinEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MIN_EVENT_ID_DESC', - ConfidentialAssetHistoriesByFromIdMinExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MIN_EXTRINSIC_IDX_ASC', - ConfidentialAssetHistoriesByFromIdMinExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MIN_EXTRINSIC_IDX_DESC', - ConfidentialAssetHistoriesByFromIdMinFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MIN_FROM_ID_ASC', - ConfidentialAssetHistoriesByFromIdMinFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MIN_FROM_ID_DESC', - ConfidentialAssetHistoriesByFromIdMinIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MIN_ID_ASC', - ConfidentialAssetHistoriesByFromIdMinIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MIN_ID_DESC', - ConfidentialAssetHistoriesByFromIdMinMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MIN_MEMO_ASC', - ConfidentialAssetHistoriesByFromIdMinMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MIN_MEMO_DESC', - ConfidentialAssetHistoriesByFromIdMinToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MIN_TO_ID_ASC', - ConfidentialAssetHistoriesByFromIdMinToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MIN_TO_ID_DESC', - ConfidentialAssetHistoriesByFromIdMinTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MIN_TRANSACTION_ID_ASC', - ConfidentialAssetHistoriesByFromIdMinTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MIN_TRANSACTION_ID_DESC', - ConfidentialAssetHistoriesByFromIdMinUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MIN_UPDATED_AT_ASC', - ConfidentialAssetHistoriesByFromIdMinUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MIN_UPDATED_AT_DESC', - ConfidentialAssetHistoriesByFromIdMinUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MIN_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByFromIdMinUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_MIN_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByFromIdStddevPopulationAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_POPULATION_AMOUNT_ASC', - ConfidentialAssetHistoriesByFromIdStddevPopulationAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_POPULATION_AMOUNT_DESC', - ConfidentialAssetHistoriesByFromIdStddevPopulationAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_POPULATION_ASSET_ID_ASC', - ConfidentialAssetHistoriesByFromIdStddevPopulationAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_POPULATION_ASSET_ID_DESC', - ConfidentialAssetHistoriesByFromIdStddevPopulationCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_POPULATION_CREATED_AT_ASC', - ConfidentialAssetHistoriesByFromIdStddevPopulationCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_POPULATION_CREATED_AT_DESC', - ConfidentialAssetHistoriesByFromIdStddevPopulationCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByFromIdStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByFromIdStddevPopulationDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_POPULATION_DATETIME_ASC', - ConfidentialAssetHistoriesByFromIdStddevPopulationDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_POPULATION_DATETIME_DESC', - ConfidentialAssetHistoriesByFromIdStddevPopulationEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_POPULATION_EVENT_IDX_ASC', - ConfidentialAssetHistoriesByFromIdStddevPopulationEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_POPULATION_EVENT_IDX_DESC', - ConfidentialAssetHistoriesByFromIdStddevPopulationEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_POPULATION_EVENT_ID_ASC', - ConfidentialAssetHistoriesByFromIdStddevPopulationEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_POPULATION_EVENT_ID_DESC', - ConfidentialAssetHistoriesByFromIdStddevPopulationExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_POPULATION_EXTRINSIC_IDX_ASC', - ConfidentialAssetHistoriesByFromIdStddevPopulationExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_POPULATION_EXTRINSIC_IDX_DESC', - ConfidentialAssetHistoriesByFromIdStddevPopulationFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_POPULATION_FROM_ID_ASC', - ConfidentialAssetHistoriesByFromIdStddevPopulationFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_POPULATION_FROM_ID_DESC', - ConfidentialAssetHistoriesByFromIdStddevPopulationIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_POPULATION_ID_ASC', - ConfidentialAssetHistoriesByFromIdStddevPopulationIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_POPULATION_ID_DESC', - ConfidentialAssetHistoriesByFromIdStddevPopulationMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_POPULATION_MEMO_ASC', - ConfidentialAssetHistoriesByFromIdStddevPopulationMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_POPULATION_MEMO_DESC', - ConfidentialAssetHistoriesByFromIdStddevPopulationToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_POPULATION_TO_ID_ASC', - ConfidentialAssetHistoriesByFromIdStddevPopulationToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_POPULATION_TO_ID_DESC', - ConfidentialAssetHistoriesByFromIdStddevPopulationTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_POPULATION_TRANSACTION_ID_ASC', - ConfidentialAssetHistoriesByFromIdStddevPopulationTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_POPULATION_TRANSACTION_ID_DESC', - ConfidentialAssetHistoriesByFromIdStddevPopulationUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - ConfidentialAssetHistoriesByFromIdStddevPopulationUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - ConfidentialAssetHistoriesByFromIdStddevPopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByFromIdStddevPopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByFromIdStddevSampleAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_SAMPLE_AMOUNT_ASC', - ConfidentialAssetHistoriesByFromIdStddevSampleAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_SAMPLE_AMOUNT_DESC', - ConfidentialAssetHistoriesByFromIdStddevSampleAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_SAMPLE_ASSET_ID_ASC', - ConfidentialAssetHistoriesByFromIdStddevSampleAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_SAMPLE_ASSET_ID_DESC', - ConfidentialAssetHistoriesByFromIdStddevSampleCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - ConfidentialAssetHistoriesByFromIdStddevSampleCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - ConfidentialAssetHistoriesByFromIdStddevSampleCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByFromIdStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByFromIdStddevSampleDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_SAMPLE_DATETIME_ASC', - ConfidentialAssetHistoriesByFromIdStddevSampleDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_SAMPLE_DATETIME_DESC', - ConfidentialAssetHistoriesByFromIdStddevSampleEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', - ConfidentialAssetHistoriesByFromIdStddevSampleEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', - ConfidentialAssetHistoriesByFromIdStddevSampleEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_SAMPLE_EVENT_ID_ASC', - ConfidentialAssetHistoriesByFromIdStddevSampleEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_SAMPLE_EVENT_ID_DESC', - ConfidentialAssetHistoriesByFromIdStddevSampleExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_SAMPLE_EXTRINSIC_IDX_ASC', - ConfidentialAssetHistoriesByFromIdStddevSampleExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_SAMPLE_EXTRINSIC_IDX_DESC', - ConfidentialAssetHistoriesByFromIdStddevSampleFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_SAMPLE_FROM_ID_ASC', - ConfidentialAssetHistoriesByFromIdStddevSampleFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_SAMPLE_FROM_ID_DESC', - ConfidentialAssetHistoriesByFromIdStddevSampleIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_SAMPLE_ID_ASC', - ConfidentialAssetHistoriesByFromIdStddevSampleIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_SAMPLE_ID_DESC', - ConfidentialAssetHistoriesByFromIdStddevSampleMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_SAMPLE_MEMO_ASC', - ConfidentialAssetHistoriesByFromIdStddevSampleMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_SAMPLE_MEMO_DESC', - ConfidentialAssetHistoriesByFromIdStddevSampleToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_SAMPLE_TO_ID_ASC', - ConfidentialAssetHistoriesByFromIdStddevSampleToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_SAMPLE_TO_ID_DESC', - ConfidentialAssetHistoriesByFromIdStddevSampleTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_SAMPLE_TRANSACTION_ID_ASC', - ConfidentialAssetHistoriesByFromIdStddevSampleTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_SAMPLE_TRANSACTION_ID_DESC', - ConfidentialAssetHistoriesByFromIdStddevSampleUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - ConfidentialAssetHistoriesByFromIdStddevSampleUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - ConfidentialAssetHistoriesByFromIdStddevSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByFromIdStddevSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByFromIdSumAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_SUM_AMOUNT_ASC', - ConfidentialAssetHistoriesByFromIdSumAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_SUM_AMOUNT_DESC', - ConfidentialAssetHistoriesByFromIdSumAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_SUM_ASSET_ID_ASC', - ConfidentialAssetHistoriesByFromIdSumAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_SUM_ASSET_ID_DESC', - ConfidentialAssetHistoriesByFromIdSumCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_SUM_CREATED_AT_ASC', - ConfidentialAssetHistoriesByFromIdSumCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_SUM_CREATED_AT_DESC', - ConfidentialAssetHistoriesByFromIdSumCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_SUM_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByFromIdSumCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_SUM_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByFromIdSumDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_SUM_DATETIME_ASC', - ConfidentialAssetHistoriesByFromIdSumDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_SUM_DATETIME_DESC', - ConfidentialAssetHistoriesByFromIdSumEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_SUM_EVENT_IDX_ASC', - ConfidentialAssetHistoriesByFromIdSumEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_SUM_EVENT_IDX_DESC', - ConfidentialAssetHistoriesByFromIdSumEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_SUM_EVENT_ID_ASC', - ConfidentialAssetHistoriesByFromIdSumEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_SUM_EVENT_ID_DESC', - ConfidentialAssetHistoriesByFromIdSumExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_SUM_EXTRINSIC_IDX_ASC', - ConfidentialAssetHistoriesByFromIdSumExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_SUM_EXTRINSIC_IDX_DESC', - ConfidentialAssetHistoriesByFromIdSumFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_SUM_FROM_ID_ASC', - ConfidentialAssetHistoriesByFromIdSumFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_SUM_FROM_ID_DESC', - ConfidentialAssetHistoriesByFromIdSumIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_SUM_ID_ASC', - ConfidentialAssetHistoriesByFromIdSumIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_SUM_ID_DESC', - ConfidentialAssetHistoriesByFromIdSumMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_SUM_MEMO_ASC', - ConfidentialAssetHistoriesByFromIdSumMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_SUM_MEMO_DESC', - ConfidentialAssetHistoriesByFromIdSumToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_SUM_TO_ID_ASC', - ConfidentialAssetHistoriesByFromIdSumToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_SUM_TO_ID_DESC', - ConfidentialAssetHistoriesByFromIdSumTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_SUM_TRANSACTION_ID_ASC', - ConfidentialAssetHistoriesByFromIdSumTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_SUM_TRANSACTION_ID_DESC', - ConfidentialAssetHistoriesByFromIdSumUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_SUM_UPDATED_AT_ASC', - ConfidentialAssetHistoriesByFromIdSumUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_SUM_UPDATED_AT_DESC', - ConfidentialAssetHistoriesByFromIdSumUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_SUM_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByFromIdSumUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_SUM_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByFromIdVariancePopulationAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_POPULATION_AMOUNT_ASC', - ConfidentialAssetHistoriesByFromIdVariancePopulationAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_POPULATION_AMOUNT_DESC', - ConfidentialAssetHistoriesByFromIdVariancePopulationAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_POPULATION_ASSET_ID_ASC', - ConfidentialAssetHistoriesByFromIdVariancePopulationAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_POPULATION_ASSET_ID_DESC', - ConfidentialAssetHistoriesByFromIdVariancePopulationCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - ConfidentialAssetHistoriesByFromIdVariancePopulationCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - ConfidentialAssetHistoriesByFromIdVariancePopulationCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByFromIdVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByFromIdVariancePopulationDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_POPULATION_DATETIME_ASC', - ConfidentialAssetHistoriesByFromIdVariancePopulationDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_POPULATION_DATETIME_DESC', - ConfidentialAssetHistoriesByFromIdVariancePopulationEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', - ConfidentialAssetHistoriesByFromIdVariancePopulationEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', - ConfidentialAssetHistoriesByFromIdVariancePopulationEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_POPULATION_EVENT_ID_ASC', - ConfidentialAssetHistoriesByFromIdVariancePopulationEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_POPULATION_EVENT_ID_DESC', - ConfidentialAssetHistoriesByFromIdVariancePopulationExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_POPULATION_EXTRINSIC_IDX_ASC', - ConfidentialAssetHistoriesByFromIdVariancePopulationExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_POPULATION_EXTRINSIC_IDX_DESC', - ConfidentialAssetHistoriesByFromIdVariancePopulationFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_POPULATION_FROM_ID_ASC', - ConfidentialAssetHistoriesByFromIdVariancePopulationFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_POPULATION_FROM_ID_DESC', - ConfidentialAssetHistoriesByFromIdVariancePopulationIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_POPULATION_ID_ASC', - ConfidentialAssetHistoriesByFromIdVariancePopulationIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_POPULATION_ID_DESC', - ConfidentialAssetHistoriesByFromIdVariancePopulationMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_POPULATION_MEMO_ASC', - ConfidentialAssetHistoriesByFromIdVariancePopulationMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_POPULATION_MEMO_DESC', - ConfidentialAssetHistoriesByFromIdVariancePopulationToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_POPULATION_TO_ID_ASC', - ConfidentialAssetHistoriesByFromIdVariancePopulationToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_POPULATION_TO_ID_DESC', - ConfidentialAssetHistoriesByFromIdVariancePopulationTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_POPULATION_TRANSACTION_ID_ASC', - ConfidentialAssetHistoriesByFromIdVariancePopulationTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_POPULATION_TRANSACTION_ID_DESC', - ConfidentialAssetHistoriesByFromIdVariancePopulationUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - ConfidentialAssetHistoriesByFromIdVariancePopulationUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - ConfidentialAssetHistoriesByFromIdVariancePopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByFromIdVariancePopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByFromIdVarianceSampleAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_SAMPLE_AMOUNT_ASC', - ConfidentialAssetHistoriesByFromIdVarianceSampleAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_SAMPLE_AMOUNT_DESC', - ConfidentialAssetHistoriesByFromIdVarianceSampleAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_SAMPLE_ASSET_ID_ASC', - ConfidentialAssetHistoriesByFromIdVarianceSampleAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_SAMPLE_ASSET_ID_DESC', - ConfidentialAssetHistoriesByFromIdVarianceSampleCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - ConfidentialAssetHistoriesByFromIdVarianceSampleCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - ConfidentialAssetHistoriesByFromIdVarianceSampleCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByFromIdVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByFromIdVarianceSampleDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_SAMPLE_DATETIME_ASC', - ConfidentialAssetHistoriesByFromIdVarianceSampleDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_SAMPLE_DATETIME_DESC', - ConfidentialAssetHistoriesByFromIdVarianceSampleEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', - ConfidentialAssetHistoriesByFromIdVarianceSampleEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', - ConfidentialAssetHistoriesByFromIdVarianceSampleEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_SAMPLE_EVENT_ID_ASC', - ConfidentialAssetHistoriesByFromIdVarianceSampleEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_SAMPLE_EVENT_ID_DESC', - ConfidentialAssetHistoriesByFromIdVarianceSampleExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_SAMPLE_EXTRINSIC_IDX_ASC', - ConfidentialAssetHistoriesByFromIdVarianceSampleExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_SAMPLE_EXTRINSIC_IDX_DESC', - ConfidentialAssetHistoriesByFromIdVarianceSampleFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_SAMPLE_FROM_ID_ASC', - ConfidentialAssetHistoriesByFromIdVarianceSampleFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_SAMPLE_FROM_ID_DESC', - ConfidentialAssetHistoriesByFromIdVarianceSampleIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_SAMPLE_ID_ASC', - ConfidentialAssetHistoriesByFromIdVarianceSampleIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_SAMPLE_ID_DESC', - ConfidentialAssetHistoriesByFromIdVarianceSampleMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_SAMPLE_MEMO_ASC', - ConfidentialAssetHistoriesByFromIdVarianceSampleMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_SAMPLE_MEMO_DESC', - ConfidentialAssetHistoriesByFromIdVarianceSampleToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_SAMPLE_TO_ID_ASC', - ConfidentialAssetHistoriesByFromIdVarianceSampleToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_SAMPLE_TO_ID_DESC', - ConfidentialAssetHistoriesByFromIdVarianceSampleTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_SAMPLE_TRANSACTION_ID_ASC', - ConfidentialAssetHistoriesByFromIdVarianceSampleTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_SAMPLE_TRANSACTION_ID_DESC', - ConfidentialAssetHistoriesByFromIdVarianceSampleUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - ConfidentialAssetHistoriesByFromIdVarianceSampleUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - ConfidentialAssetHistoriesByFromIdVarianceSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByFromIdVarianceSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_FROM_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByToIdAverageAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_AVERAGE_AMOUNT_ASC', - ConfidentialAssetHistoriesByToIdAverageAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_AVERAGE_AMOUNT_DESC', - ConfidentialAssetHistoriesByToIdAverageAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_AVERAGE_ASSET_ID_ASC', - ConfidentialAssetHistoriesByToIdAverageAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_AVERAGE_ASSET_ID_DESC', - ConfidentialAssetHistoriesByToIdAverageCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_AVERAGE_CREATED_AT_ASC', - ConfidentialAssetHistoriesByToIdAverageCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_AVERAGE_CREATED_AT_DESC', - ConfidentialAssetHistoriesByToIdAverageCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByToIdAverageCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByToIdAverageDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_AVERAGE_DATETIME_ASC', - ConfidentialAssetHistoriesByToIdAverageDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_AVERAGE_DATETIME_DESC', - ConfidentialAssetHistoriesByToIdAverageEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_AVERAGE_EVENT_IDX_ASC', - ConfidentialAssetHistoriesByToIdAverageEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_AVERAGE_EVENT_IDX_DESC', - ConfidentialAssetHistoriesByToIdAverageEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_AVERAGE_EVENT_ID_ASC', - ConfidentialAssetHistoriesByToIdAverageEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_AVERAGE_EVENT_ID_DESC', - ConfidentialAssetHistoriesByToIdAverageExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_AVERAGE_EXTRINSIC_IDX_ASC', - ConfidentialAssetHistoriesByToIdAverageExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_AVERAGE_EXTRINSIC_IDX_DESC', - ConfidentialAssetHistoriesByToIdAverageFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_AVERAGE_FROM_ID_ASC', - ConfidentialAssetHistoriesByToIdAverageFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_AVERAGE_FROM_ID_DESC', - ConfidentialAssetHistoriesByToIdAverageIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_AVERAGE_ID_ASC', - ConfidentialAssetHistoriesByToIdAverageIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_AVERAGE_ID_DESC', - ConfidentialAssetHistoriesByToIdAverageMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_AVERAGE_MEMO_ASC', - ConfidentialAssetHistoriesByToIdAverageMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_AVERAGE_MEMO_DESC', - ConfidentialAssetHistoriesByToIdAverageToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_AVERAGE_TO_ID_ASC', - ConfidentialAssetHistoriesByToIdAverageToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_AVERAGE_TO_ID_DESC', - ConfidentialAssetHistoriesByToIdAverageTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_AVERAGE_TRANSACTION_ID_ASC', - ConfidentialAssetHistoriesByToIdAverageTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_AVERAGE_TRANSACTION_ID_DESC', - ConfidentialAssetHistoriesByToIdAverageUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_AVERAGE_UPDATED_AT_ASC', - ConfidentialAssetHistoriesByToIdAverageUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_AVERAGE_UPDATED_AT_DESC', - ConfidentialAssetHistoriesByToIdAverageUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByToIdAverageUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByToIdCountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_COUNT_ASC', - ConfidentialAssetHistoriesByToIdCountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_COUNT_DESC', - ConfidentialAssetHistoriesByToIdDistinctCountAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_DISTINCT_COUNT_AMOUNT_ASC', - ConfidentialAssetHistoriesByToIdDistinctCountAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_DISTINCT_COUNT_AMOUNT_DESC', - ConfidentialAssetHistoriesByToIdDistinctCountAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_DISTINCT_COUNT_ASSET_ID_ASC', - ConfidentialAssetHistoriesByToIdDistinctCountAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_DISTINCT_COUNT_ASSET_ID_DESC', - ConfidentialAssetHistoriesByToIdDistinctCountCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_DISTINCT_COUNT_CREATED_AT_ASC', - ConfidentialAssetHistoriesByToIdDistinctCountCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_DISTINCT_COUNT_CREATED_AT_DESC', - ConfidentialAssetHistoriesByToIdDistinctCountCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByToIdDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByToIdDistinctCountDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_DISTINCT_COUNT_DATETIME_ASC', - ConfidentialAssetHistoriesByToIdDistinctCountDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_DISTINCT_COUNT_DATETIME_DESC', - ConfidentialAssetHistoriesByToIdDistinctCountEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_DISTINCT_COUNT_EVENT_IDX_ASC', - ConfidentialAssetHistoriesByToIdDistinctCountEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_DISTINCT_COUNT_EVENT_IDX_DESC', - ConfidentialAssetHistoriesByToIdDistinctCountEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_DISTINCT_COUNT_EVENT_ID_ASC', - ConfidentialAssetHistoriesByToIdDistinctCountEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_DISTINCT_COUNT_EVENT_ID_DESC', - ConfidentialAssetHistoriesByToIdDistinctCountExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_DISTINCT_COUNT_EXTRINSIC_IDX_ASC', - ConfidentialAssetHistoriesByToIdDistinctCountExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_DISTINCT_COUNT_EXTRINSIC_IDX_DESC', - ConfidentialAssetHistoriesByToIdDistinctCountFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_DISTINCT_COUNT_FROM_ID_ASC', - ConfidentialAssetHistoriesByToIdDistinctCountFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_DISTINCT_COUNT_FROM_ID_DESC', - ConfidentialAssetHistoriesByToIdDistinctCountIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_DISTINCT_COUNT_ID_ASC', - ConfidentialAssetHistoriesByToIdDistinctCountIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_DISTINCT_COUNT_ID_DESC', - ConfidentialAssetHistoriesByToIdDistinctCountMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_DISTINCT_COUNT_MEMO_ASC', - ConfidentialAssetHistoriesByToIdDistinctCountMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_DISTINCT_COUNT_MEMO_DESC', - ConfidentialAssetHistoriesByToIdDistinctCountToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_DISTINCT_COUNT_TO_ID_ASC', - ConfidentialAssetHistoriesByToIdDistinctCountToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_DISTINCT_COUNT_TO_ID_DESC', - ConfidentialAssetHistoriesByToIdDistinctCountTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_DISTINCT_COUNT_TRANSACTION_ID_ASC', - ConfidentialAssetHistoriesByToIdDistinctCountTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_DISTINCT_COUNT_TRANSACTION_ID_DESC', - ConfidentialAssetHistoriesByToIdDistinctCountUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - ConfidentialAssetHistoriesByToIdDistinctCountUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - ConfidentialAssetHistoriesByToIdDistinctCountUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByToIdDistinctCountUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByToIdMaxAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MAX_AMOUNT_ASC', - ConfidentialAssetHistoriesByToIdMaxAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MAX_AMOUNT_DESC', - ConfidentialAssetHistoriesByToIdMaxAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MAX_ASSET_ID_ASC', - ConfidentialAssetHistoriesByToIdMaxAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MAX_ASSET_ID_DESC', - ConfidentialAssetHistoriesByToIdMaxCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MAX_CREATED_AT_ASC', - ConfidentialAssetHistoriesByToIdMaxCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MAX_CREATED_AT_DESC', - ConfidentialAssetHistoriesByToIdMaxCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MAX_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByToIdMaxCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MAX_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByToIdMaxDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MAX_DATETIME_ASC', - ConfidentialAssetHistoriesByToIdMaxDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MAX_DATETIME_DESC', - ConfidentialAssetHistoriesByToIdMaxEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MAX_EVENT_IDX_ASC', - ConfidentialAssetHistoriesByToIdMaxEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MAX_EVENT_IDX_DESC', - ConfidentialAssetHistoriesByToIdMaxEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MAX_EVENT_ID_ASC', - ConfidentialAssetHistoriesByToIdMaxEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MAX_EVENT_ID_DESC', - ConfidentialAssetHistoriesByToIdMaxExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MAX_EXTRINSIC_IDX_ASC', - ConfidentialAssetHistoriesByToIdMaxExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MAX_EXTRINSIC_IDX_DESC', - ConfidentialAssetHistoriesByToIdMaxFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MAX_FROM_ID_ASC', - ConfidentialAssetHistoriesByToIdMaxFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MAX_FROM_ID_DESC', - ConfidentialAssetHistoriesByToIdMaxIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MAX_ID_ASC', - ConfidentialAssetHistoriesByToIdMaxIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MAX_ID_DESC', - ConfidentialAssetHistoriesByToIdMaxMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MAX_MEMO_ASC', - ConfidentialAssetHistoriesByToIdMaxMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MAX_MEMO_DESC', - ConfidentialAssetHistoriesByToIdMaxToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MAX_TO_ID_ASC', - ConfidentialAssetHistoriesByToIdMaxToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MAX_TO_ID_DESC', - ConfidentialAssetHistoriesByToIdMaxTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MAX_TRANSACTION_ID_ASC', - ConfidentialAssetHistoriesByToIdMaxTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MAX_TRANSACTION_ID_DESC', - ConfidentialAssetHistoriesByToIdMaxUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MAX_UPDATED_AT_ASC', - ConfidentialAssetHistoriesByToIdMaxUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MAX_UPDATED_AT_DESC', - ConfidentialAssetHistoriesByToIdMaxUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MAX_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByToIdMaxUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MAX_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByToIdMinAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MIN_AMOUNT_ASC', - ConfidentialAssetHistoriesByToIdMinAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MIN_AMOUNT_DESC', - ConfidentialAssetHistoriesByToIdMinAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MIN_ASSET_ID_ASC', - ConfidentialAssetHistoriesByToIdMinAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MIN_ASSET_ID_DESC', - ConfidentialAssetHistoriesByToIdMinCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MIN_CREATED_AT_ASC', - ConfidentialAssetHistoriesByToIdMinCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MIN_CREATED_AT_DESC', - ConfidentialAssetHistoriesByToIdMinCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MIN_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByToIdMinCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MIN_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByToIdMinDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MIN_DATETIME_ASC', - ConfidentialAssetHistoriesByToIdMinDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MIN_DATETIME_DESC', - ConfidentialAssetHistoriesByToIdMinEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MIN_EVENT_IDX_ASC', - ConfidentialAssetHistoriesByToIdMinEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MIN_EVENT_IDX_DESC', - ConfidentialAssetHistoriesByToIdMinEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MIN_EVENT_ID_ASC', - ConfidentialAssetHistoriesByToIdMinEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MIN_EVENT_ID_DESC', - ConfidentialAssetHistoriesByToIdMinExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MIN_EXTRINSIC_IDX_ASC', - ConfidentialAssetHistoriesByToIdMinExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MIN_EXTRINSIC_IDX_DESC', - ConfidentialAssetHistoriesByToIdMinFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MIN_FROM_ID_ASC', - ConfidentialAssetHistoriesByToIdMinFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MIN_FROM_ID_DESC', - ConfidentialAssetHistoriesByToIdMinIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MIN_ID_ASC', - ConfidentialAssetHistoriesByToIdMinIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MIN_ID_DESC', - ConfidentialAssetHistoriesByToIdMinMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MIN_MEMO_ASC', - ConfidentialAssetHistoriesByToIdMinMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MIN_MEMO_DESC', - ConfidentialAssetHistoriesByToIdMinToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MIN_TO_ID_ASC', - ConfidentialAssetHistoriesByToIdMinToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MIN_TO_ID_DESC', - ConfidentialAssetHistoriesByToIdMinTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MIN_TRANSACTION_ID_ASC', - ConfidentialAssetHistoriesByToIdMinTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MIN_TRANSACTION_ID_DESC', - ConfidentialAssetHistoriesByToIdMinUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MIN_UPDATED_AT_ASC', - ConfidentialAssetHistoriesByToIdMinUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MIN_UPDATED_AT_DESC', - ConfidentialAssetHistoriesByToIdMinUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MIN_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByToIdMinUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_MIN_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByToIdStddevPopulationAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_POPULATION_AMOUNT_ASC', - ConfidentialAssetHistoriesByToIdStddevPopulationAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_POPULATION_AMOUNT_DESC', - ConfidentialAssetHistoriesByToIdStddevPopulationAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_POPULATION_ASSET_ID_ASC', - ConfidentialAssetHistoriesByToIdStddevPopulationAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_POPULATION_ASSET_ID_DESC', - ConfidentialAssetHistoriesByToIdStddevPopulationCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_POPULATION_CREATED_AT_ASC', - ConfidentialAssetHistoriesByToIdStddevPopulationCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_POPULATION_CREATED_AT_DESC', - ConfidentialAssetHistoriesByToIdStddevPopulationCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByToIdStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByToIdStddevPopulationDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_POPULATION_DATETIME_ASC', - ConfidentialAssetHistoriesByToIdStddevPopulationDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_POPULATION_DATETIME_DESC', - ConfidentialAssetHistoriesByToIdStddevPopulationEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_POPULATION_EVENT_IDX_ASC', - ConfidentialAssetHistoriesByToIdStddevPopulationEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_POPULATION_EVENT_IDX_DESC', - ConfidentialAssetHistoriesByToIdStddevPopulationEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_POPULATION_EVENT_ID_ASC', - ConfidentialAssetHistoriesByToIdStddevPopulationEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_POPULATION_EVENT_ID_DESC', - ConfidentialAssetHistoriesByToIdStddevPopulationExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_POPULATION_EXTRINSIC_IDX_ASC', - ConfidentialAssetHistoriesByToIdStddevPopulationExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_POPULATION_EXTRINSIC_IDX_DESC', - ConfidentialAssetHistoriesByToIdStddevPopulationFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_POPULATION_FROM_ID_ASC', - ConfidentialAssetHistoriesByToIdStddevPopulationFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_POPULATION_FROM_ID_DESC', - ConfidentialAssetHistoriesByToIdStddevPopulationIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_POPULATION_ID_ASC', - ConfidentialAssetHistoriesByToIdStddevPopulationIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_POPULATION_ID_DESC', - ConfidentialAssetHistoriesByToIdStddevPopulationMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_POPULATION_MEMO_ASC', - ConfidentialAssetHistoriesByToIdStddevPopulationMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_POPULATION_MEMO_DESC', - ConfidentialAssetHistoriesByToIdStddevPopulationToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_POPULATION_TO_ID_ASC', - ConfidentialAssetHistoriesByToIdStddevPopulationToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_POPULATION_TO_ID_DESC', - ConfidentialAssetHistoriesByToIdStddevPopulationTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_POPULATION_TRANSACTION_ID_ASC', - ConfidentialAssetHistoriesByToIdStddevPopulationTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_POPULATION_TRANSACTION_ID_DESC', - ConfidentialAssetHistoriesByToIdStddevPopulationUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - ConfidentialAssetHistoriesByToIdStddevPopulationUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - ConfidentialAssetHistoriesByToIdStddevPopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByToIdStddevPopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByToIdStddevSampleAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_SAMPLE_AMOUNT_ASC', - ConfidentialAssetHistoriesByToIdStddevSampleAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_SAMPLE_AMOUNT_DESC', - ConfidentialAssetHistoriesByToIdStddevSampleAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_SAMPLE_ASSET_ID_ASC', - ConfidentialAssetHistoriesByToIdStddevSampleAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_SAMPLE_ASSET_ID_DESC', - ConfidentialAssetHistoriesByToIdStddevSampleCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - ConfidentialAssetHistoriesByToIdStddevSampleCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - ConfidentialAssetHistoriesByToIdStddevSampleCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByToIdStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByToIdStddevSampleDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_SAMPLE_DATETIME_ASC', - ConfidentialAssetHistoriesByToIdStddevSampleDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_SAMPLE_DATETIME_DESC', - ConfidentialAssetHistoriesByToIdStddevSampleEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', - ConfidentialAssetHistoriesByToIdStddevSampleEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', - ConfidentialAssetHistoriesByToIdStddevSampleEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_SAMPLE_EVENT_ID_ASC', - ConfidentialAssetHistoriesByToIdStddevSampleEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_SAMPLE_EVENT_ID_DESC', - ConfidentialAssetHistoriesByToIdStddevSampleExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_SAMPLE_EXTRINSIC_IDX_ASC', - ConfidentialAssetHistoriesByToIdStddevSampleExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_SAMPLE_EXTRINSIC_IDX_DESC', - ConfidentialAssetHistoriesByToIdStddevSampleFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_SAMPLE_FROM_ID_ASC', - ConfidentialAssetHistoriesByToIdStddevSampleFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_SAMPLE_FROM_ID_DESC', - ConfidentialAssetHistoriesByToIdStddevSampleIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_SAMPLE_ID_ASC', - ConfidentialAssetHistoriesByToIdStddevSampleIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_SAMPLE_ID_DESC', - ConfidentialAssetHistoriesByToIdStddevSampleMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_SAMPLE_MEMO_ASC', - ConfidentialAssetHistoriesByToIdStddevSampleMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_SAMPLE_MEMO_DESC', - ConfidentialAssetHistoriesByToIdStddevSampleToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_SAMPLE_TO_ID_ASC', - ConfidentialAssetHistoriesByToIdStddevSampleToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_SAMPLE_TO_ID_DESC', - ConfidentialAssetHistoriesByToIdStddevSampleTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_SAMPLE_TRANSACTION_ID_ASC', - ConfidentialAssetHistoriesByToIdStddevSampleTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_SAMPLE_TRANSACTION_ID_DESC', - ConfidentialAssetHistoriesByToIdStddevSampleUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - ConfidentialAssetHistoriesByToIdStddevSampleUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - ConfidentialAssetHistoriesByToIdStddevSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByToIdStddevSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByToIdSumAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_SUM_AMOUNT_ASC', - ConfidentialAssetHistoriesByToIdSumAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_SUM_AMOUNT_DESC', - ConfidentialAssetHistoriesByToIdSumAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_SUM_ASSET_ID_ASC', - ConfidentialAssetHistoriesByToIdSumAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_SUM_ASSET_ID_DESC', - ConfidentialAssetHistoriesByToIdSumCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_SUM_CREATED_AT_ASC', - ConfidentialAssetHistoriesByToIdSumCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_SUM_CREATED_AT_DESC', - ConfidentialAssetHistoriesByToIdSumCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_SUM_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByToIdSumCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_SUM_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByToIdSumDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_SUM_DATETIME_ASC', - ConfidentialAssetHistoriesByToIdSumDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_SUM_DATETIME_DESC', - ConfidentialAssetHistoriesByToIdSumEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_SUM_EVENT_IDX_ASC', - ConfidentialAssetHistoriesByToIdSumEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_SUM_EVENT_IDX_DESC', - ConfidentialAssetHistoriesByToIdSumEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_SUM_EVENT_ID_ASC', - ConfidentialAssetHistoriesByToIdSumEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_SUM_EVENT_ID_DESC', - ConfidentialAssetHistoriesByToIdSumExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_SUM_EXTRINSIC_IDX_ASC', - ConfidentialAssetHistoriesByToIdSumExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_SUM_EXTRINSIC_IDX_DESC', - ConfidentialAssetHistoriesByToIdSumFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_SUM_FROM_ID_ASC', - ConfidentialAssetHistoriesByToIdSumFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_SUM_FROM_ID_DESC', - ConfidentialAssetHistoriesByToIdSumIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_SUM_ID_ASC', - ConfidentialAssetHistoriesByToIdSumIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_SUM_ID_DESC', - ConfidentialAssetHistoriesByToIdSumMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_SUM_MEMO_ASC', - ConfidentialAssetHistoriesByToIdSumMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_SUM_MEMO_DESC', - ConfidentialAssetHistoriesByToIdSumToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_SUM_TO_ID_ASC', - ConfidentialAssetHistoriesByToIdSumToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_SUM_TO_ID_DESC', - ConfidentialAssetHistoriesByToIdSumTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_SUM_TRANSACTION_ID_ASC', - ConfidentialAssetHistoriesByToIdSumTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_SUM_TRANSACTION_ID_DESC', - ConfidentialAssetHistoriesByToIdSumUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_SUM_UPDATED_AT_ASC', - ConfidentialAssetHistoriesByToIdSumUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_SUM_UPDATED_AT_DESC', - ConfidentialAssetHistoriesByToIdSumUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_SUM_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByToIdSumUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_SUM_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByToIdVariancePopulationAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_POPULATION_AMOUNT_ASC', - ConfidentialAssetHistoriesByToIdVariancePopulationAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_POPULATION_AMOUNT_DESC', - ConfidentialAssetHistoriesByToIdVariancePopulationAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_POPULATION_ASSET_ID_ASC', - ConfidentialAssetHistoriesByToIdVariancePopulationAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_POPULATION_ASSET_ID_DESC', - ConfidentialAssetHistoriesByToIdVariancePopulationCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - ConfidentialAssetHistoriesByToIdVariancePopulationCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - ConfidentialAssetHistoriesByToIdVariancePopulationCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByToIdVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByToIdVariancePopulationDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_POPULATION_DATETIME_ASC', - ConfidentialAssetHistoriesByToIdVariancePopulationDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_POPULATION_DATETIME_DESC', - ConfidentialAssetHistoriesByToIdVariancePopulationEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', - ConfidentialAssetHistoriesByToIdVariancePopulationEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', - ConfidentialAssetHistoriesByToIdVariancePopulationEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_POPULATION_EVENT_ID_ASC', - ConfidentialAssetHistoriesByToIdVariancePopulationEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_POPULATION_EVENT_ID_DESC', - ConfidentialAssetHistoriesByToIdVariancePopulationExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_POPULATION_EXTRINSIC_IDX_ASC', - ConfidentialAssetHistoriesByToIdVariancePopulationExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_POPULATION_EXTRINSIC_IDX_DESC', - ConfidentialAssetHistoriesByToIdVariancePopulationFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_POPULATION_FROM_ID_ASC', - ConfidentialAssetHistoriesByToIdVariancePopulationFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_POPULATION_FROM_ID_DESC', - ConfidentialAssetHistoriesByToIdVariancePopulationIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_POPULATION_ID_ASC', - ConfidentialAssetHistoriesByToIdVariancePopulationIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_POPULATION_ID_DESC', - ConfidentialAssetHistoriesByToIdVariancePopulationMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_POPULATION_MEMO_ASC', - ConfidentialAssetHistoriesByToIdVariancePopulationMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_POPULATION_MEMO_DESC', - ConfidentialAssetHistoriesByToIdVariancePopulationToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_POPULATION_TO_ID_ASC', - ConfidentialAssetHistoriesByToIdVariancePopulationToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_POPULATION_TO_ID_DESC', - ConfidentialAssetHistoriesByToIdVariancePopulationTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_POPULATION_TRANSACTION_ID_ASC', - ConfidentialAssetHistoriesByToIdVariancePopulationTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_POPULATION_TRANSACTION_ID_DESC', - ConfidentialAssetHistoriesByToIdVariancePopulationUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - ConfidentialAssetHistoriesByToIdVariancePopulationUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - ConfidentialAssetHistoriesByToIdVariancePopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByToIdVariancePopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByToIdVarianceSampleAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_SAMPLE_AMOUNT_ASC', - ConfidentialAssetHistoriesByToIdVarianceSampleAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_SAMPLE_AMOUNT_DESC', - ConfidentialAssetHistoriesByToIdVarianceSampleAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_SAMPLE_ASSET_ID_ASC', - ConfidentialAssetHistoriesByToIdVarianceSampleAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_SAMPLE_ASSET_ID_DESC', - ConfidentialAssetHistoriesByToIdVarianceSampleCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - ConfidentialAssetHistoriesByToIdVarianceSampleCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - ConfidentialAssetHistoriesByToIdVarianceSampleCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByToIdVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByToIdVarianceSampleDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_SAMPLE_DATETIME_ASC', - ConfidentialAssetHistoriesByToIdVarianceSampleDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_SAMPLE_DATETIME_DESC', - ConfidentialAssetHistoriesByToIdVarianceSampleEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', - ConfidentialAssetHistoriesByToIdVarianceSampleEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', - ConfidentialAssetHistoriesByToIdVarianceSampleEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_SAMPLE_EVENT_ID_ASC', - ConfidentialAssetHistoriesByToIdVarianceSampleEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_SAMPLE_EVENT_ID_DESC', - ConfidentialAssetHistoriesByToIdVarianceSampleExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_SAMPLE_EXTRINSIC_IDX_ASC', - ConfidentialAssetHistoriesByToIdVarianceSampleExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_SAMPLE_EXTRINSIC_IDX_DESC', - ConfidentialAssetHistoriesByToIdVarianceSampleFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_SAMPLE_FROM_ID_ASC', - ConfidentialAssetHistoriesByToIdVarianceSampleFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_SAMPLE_FROM_ID_DESC', - ConfidentialAssetHistoriesByToIdVarianceSampleIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_SAMPLE_ID_ASC', - ConfidentialAssetHistoriesByToIdVarianceSampleIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_SAMPLE_ID_DESC', - ConfidentialAssetHistoriesByToIdVarianceSampleMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_SAMPLE_MEMO_ASC', - ConfidentialAssetHistoriesByToIdVarianceSampleMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_SAMPLE_MEMO_DESC', - ConfidentialAssetHistoriesByToIdVarianceSampleToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_SAMPLE_TO_ID_ASC', - ConfidentialAssetHistoriesByToIdVarianceSampleToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_SAMPLE_TO_ID_DESC', - ConfidentialAssetHistoriesByToIdVarianceSampleTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_SAMPLE_TRANSACTION_ID_ASC', - ConfidentialAssetHistoriesByToIdVarianceSampleTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_SAMPLE_TRANSACTION_ID_DESC', - ConfidentialAssetHistoriesByToIdVarianceSampleUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - ConfidentialAssetHistoriesByToIdVarianceSampleUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - ConfidentialAssetHistoriesByToIdVarianceSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByToIdVarianceSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TO_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHoldersByAccountIdAverageAccountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_AVERAGE_ACCOUNT_ID_ASC', - ConfidentialAssetHoldersByAccountIdAverageAccountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_AVERAGE_ACCOUNT_ID_DESC', - ConfidentialAssetHoldersByAccountIdAverageAmountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_AVERAGE_AMOUNT_ASC', - ConfidentialAssetHoldersByAccountIdAverageAmountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_AVERAGE_AMOUNT_DESC', - ConfidentialAssetHoldersByAccountIdAverageAssetIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_AVERAGE_ASSET_ID_ASC', - ConfidentialAssetHoldersByAccountIdAverageAssetIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_AVERAGE_ASSET_ID_DESC', - ConfidentialAssetHoldersByAccountIdAverageCreatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_AVERAGE_CREATED_AT_ASC', - ConfidentialAssetHoldersByAccountIdAverageCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_AVERAGE_CREATED_AT_DESC', - ConfidentialAssetHoldersByAccountIdAverageCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHoldersByAccountIdAverageCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHoldersByAccountIdAverageEventIdxAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_AVERAGE_EVENT_IDX_ASC', - ConfidentialAssetHoldersByAccountIdAverageEventIdxDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_AVERAGE_EVENT_IDX_DESC', - ConfidentialAssetHoldersByAccountIdAverageIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_AVERAGE_ID_ASC', - ConfidentialAssetHoldersByAccountIdAverageIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_AVERAGE_ID_DESC', - ConfidentialAssetHoldersByAccountIdAverageUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_AVERAGE_UPDATED_AT_ASC', - ConfidentialAssetHoldersByAccountIdAverageUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_AVERAGE_UPDATED_AT_DESC', - ConfidentialAssetHoldersByAccountIdAverageUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHoldersByAccountIdAverageUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHoldersByAccountIdCountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_COUNT_ASC', - ConfidentialAssetHoldersByAccountIdCountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_COUNT_DESC', - ConfidentialAssetHoldersByAccountIdDistinctCountAccountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_DISTINCT_COUNT_ACCOUNT_ID_ASC', - ConfidentialAssetHoldersByAccountIdDistinctCountAccountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_DISTINCT_COUNT_ACCOUNT_ID_DESC', - ConfidentialAssetHoldersByAccountIdDistinctCountAmountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_DISTINCT_COUNT_AMOUNT_ASC', - ConfidentialAssetHoldersByAccountIdDistinctCountAmountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_DISTINCT_COUNT_AMOUNT_DESC', - ConfidentialAssetHoldersByAccountIdDistinctCountAssetIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_DISTINCT_COUNT_ASSET_ID_ASC', - ConfidentialAssetHoldersByAccountIdDistinctCountAssetIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_DISTINCT_COUNT_ASSET_ID_DESC', - ConfidentialAssetHoldersByAccountIdDistinctCountCreatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_DISTINCT_COUNT_CREATED_AT_ASC', - ConfidentialAssetHoldersByAccountIdDistinctCountCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_DISTINCT_COUNT_CREATED_AT_DESC', - ConfidentialAssetHoldersByAccountIdDistinctCountCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHoldersByAccountIdDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHoldersByAccountIdDistinctCountEventIdxAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_DISTINCT_COUNT_EVENT_IDX_ASC', - ConfidentialAssetHoldersByAccountIdDistinctCountEventIdxDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_DISTINCT_COUNT_EVENT_IDX_DESC', - ConfidentialAssetHoldersByAccountIdDistinctCountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_DISTINCT_COUNT_ID_ASC', - ConfidentialAssetHoldersByAccountIdDistinctCountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_DISTINCT_COUNT_ID_DESC', - ConfidentialAssetHoldersByAccountIdDistinctCountUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - ConfidentialAssetHoldersByAccountIdDistinctCountUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - ConfidentialAssetHoldersByAccountIdDistinctCountUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHoldersByAccountIdDistinctCountUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHoldersByAccountIdMaxAccountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MAX_ACCOUNT_ID_ASC', - ConfidentialAssetHoldersByAccountIdMaxAccountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MAX_ACCOUNT_ID_DESC', - ConfidentialAssetHoldersByAccountIdMaxAmountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MAX_AMOUNT_ASC', - ConfidentialAssetHoldersByAccountIdMaxAmountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MAX_AMOUNT_DESC', - ConfidentialAssetHoldersByAccountIdMaxAssetIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MAX_ASSET_ID_ASC', - ConfidentialAssetHoldersByAccountIdMaxAssetIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MAX_ASSET_ID_DESC', - ConfidentialAssetHoldersByAccountIdMaxCreatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MAX_CREATED_AT_ASC', - ConfidentialAssetHoldersByAccountIdMaxCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MAX_CREATED_AT_DESC', - ConfidentialAssetHoldersByAccountIdMaxCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MAX_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHoldersByAccountIdMaxCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MAX_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHoldersByAccountIdMaxEventIdxAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MAX_EVENT_IDX_ASC', - ConfidentialAssetHoldersByAccountIdMaxEventIdxDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MAX_EVENT_IDX_DESC', - ConfidentialAssetHoldersByAccountIdMaxIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MAX_ID_ASC', - ConfidentialAssetHoldersByAccountIdMaxIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MAX_ID_DESC', - ConfidentialAssetHoldersByAccountIdMaxUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MAX_UPDATED_AT_ASC', - ConfidentialAssetHoldersByAccountIdMaxUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MAX_UPDATED_AT_DESC', - ConfidentialAssetHoldersByAccountIdMaxUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MAX_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHoldersByAccountIdMaxUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MAX_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHoldersByAccountIdMinAccountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MIN_ACCOUNT_ID_ASC', - ConfidentialAssetHoldersByAccountIdMinAccountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MIN_ACCOUNT_ID_DESC', - ConfidentialAssetHoldersByAccountIdMinAmountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MIN_AMOUNT_ASC', - ConfidentialAssetHoldersByAccountIdMinAmountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MIN_AMOUNT_DESC', - ConfidentialAssetHoldersByAccountIdMinAssetIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MIN_ASSET_ID_ASC', - ConfidentialAssetHoldersByAccountIdMinAssetIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MIN_ASSET_ID_DESC', - ConfidentialAssetHoldersByAccountIdMinCreatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MIN_CREATED_AT_ASC', - ConfidentialAssetHoldersByAccountIdMinCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MIN_CREATED_AT_DESC', - ConfidentialAssetHoldersByAccountIdMinCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MIN_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHoldersByAccountIdMinCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MIN_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHoldersByAccountIdMinEventIdxAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MIN_EVENT_IDX_ASC', - ConfidentialAssetHoldersByAccountIdMinEventIdxDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MIN_EVENT_IDX_DESC', - ConfidentialAssetHoldersByAccountIdMinIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MIN_ID_ASC', - ConfidentialAssetHoldersByAccountIdMinIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MIN_ID_DESC', - ConfidentialAssetHoldersByAccountIdMinUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MIN_UPDATED_AT_ASC', - ConfidentialAssetHoldersByAccountIdMinUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MIN_UPDATED_AT_DESC', - ConfidentialAssetHoldersByAccountIdMinUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MIN_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHoldersByAccountIdMinUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_MIN_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHoldersByAccountIdStddevPopulationAccountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_POPULATION_ACCOUNT_ID_ASC', - ConfidentialAssetHoldersByAccountIdStddevPopulationAccountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_POPULATION_ACCOUNT_ID_DESC', - ConfidentialAssetHoldersByAccountIdStddevPopulationAmountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_POPULATION_AMOUNT_ASC', - ConfidentialAssetHoldersByAccountIdStddevPopulationAmountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_POPULATION_AMOUNT_DESC', - ConfidentialAssetHoldersByAccountIdStddevPopulationAssetIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_POPULATION_ASSET_ID_ASC', - ConfidentialAssetHoldersByAccountIdStddevPopulationAssetIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_POPULATION_ASSET_ID_DESC', - ConfidentialAssetHoldersByAccountIdStddevPopulationCreatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_POPULATION_CREATED_AT_ASC', - ConfidentialAssetHoldersByAccountIdStddevPopulationCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_POPULATION_CREATED_AT_DESC', - ConfidentialAssetHoldersByAccountIdStddevPopulationCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHoldersByAccountIdStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHoldersByAccountIdStddevPopulationEventIdxAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_POPULATION_EVENT_IDX_ASC', - ConfidentialAssetHoldersByAccountIdStddevPopulationEventIdxDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_POPULATION_EVENT_IDX_DESC', - ConfidentialAssetHoldersByAccountIdStddevPopulationIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_POPULATION_ID_ASC', - ConfidentialAssetHoldersByAccountIdStddevPopulationIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_POPULATION_ID_DESC', - ConfidentialAssetHoldersByAccountIdStddevPopulationUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - ConfidentialAssetHoldersByAccountIdStddevPopulationUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - ConfidentialAssetHoldersByAccountIdStddevPopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHoldersByAccountIdStddevPopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHoldersByAccountIdStddevSampleAccountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_SAMPLE_ACCOUNT_ID_ASC', - ConfidentialAssetHoldersByAccountIdStddevSampleAccountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_SAMPLE_ACCOUNT_ID_DESC', - ConfidentialAssetHoldersByAccountIdStddevSampleAmountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_SAMPLE_AMOUNT_ASC', - ConfidentialAssetHoldersByAccountIdStddevSampleAmountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_SAMPLE_AMOUNT_DESC', - ConfidentialAssetHoldersByAccountIdStddevSampleAssetIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_SAMPLE_ASSET_ID_ASC', - ConfidentialAssetHoldersByAccountIdStddevSampleAssetIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_SAMPLE_ASSET_ID_DESC', - ConfidentialAssetHoldersByAccountIdStddevSampleCreatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - ConfidentialAssetHoldersByAccountIdStddevSampleCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - ConfidentialAssetHoldersByAccountIdStddevSampleCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHoldersByAccountIdStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHoldersByAccountIdStddevSampleEventIdxAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', - ConfidentialAssetHoldersByAccountIdStddevSampleEventIdxDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', - ConfidentialAssetHoldersByAccountIdStddevSampleIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_SAMPLE_ID_ASC', - ConfidentialAssetHoldersByAccountIdStddevSampleIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_SAMPLE_ID_DESC', - ConfidentialAssetHoldersByAccountIdStddevSampleUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - ConfidentialAssetHoldersByAccountIdStddevSampleUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - ConfidentialAssetHoldersByAccountIdStddevSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHoldersByAccountIdStddevSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHoldersByAccountIdSumAccountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_SUM_ACCOUNT_ID_ASC', - ConfidentialAssetHoldersByAccountIdSumAccountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_SUM_ACCOUNT_ID_DESC', - ConfidentialAssetHoldersByAccountIdSumAmountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_SUM_AMOUNT_ASC', - ConfidentialAssetHoldersByAccountIdSumAmountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_SUM_AMOUNT_DESC', - ConfidentialAssetHoldersByAccountIdSumAssetIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_SUM_ASSET_ID_ASC', - ConfidentialAssetHoldersByAccountIdSumAssetIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_SUM_ASSET_ID_DESC', - ConfidentialAssetHoldersByAccountIdSumCreatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_SUM_CREATED_AT_ASC', - ConfidentialAssetHoldersByAccountIdSumCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_SUM_CREATED_AT_DESC', - ConfidentialAssetHoldersByAccountIdSumCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_SUM_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHoldersByAccountIdSumCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_SUM_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHoldersByAccountIdSumEventIdxAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_SUM_EVENT_IDX_ASC', - ConfidentialAssetHoldersByAccountIdSumEventIdxDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_SUM_EVENT_IDX_DESC', - ConfidentialAssetHoldersByAccountIdSumIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_SUM_ID_ASC', - ConfidentialAssetHoldersByAccountIdSumIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_SUM_ID_DESC', - ConfidentialAssetHoldersByAccountIdSumUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_SUM_UPDATED_AT_ASC', - ConfidentialAssetHoldersByAccountIdSumUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_SUM_UPDATED_AT_DESC', - ConfidentialAssetHoldersByAccountIdSumUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_SUM_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHoldersByAccountIdSumUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_SUM_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHoldersByAccountIdVariancePopulationAccountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_POPULATION_ACCOUNT_ID_ASC', - ConfidentialAssetHoldersByAccountIdVariancePopulationAccountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_POPULATION_ACCOUNT_ID_DESC', - ConfidentialAssetHoldersByAccountIdVariancePopulationAmountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_POPULATION_AMOUNT_ASC', - ConfidentialAssetHoldersByAccountIdVariancePopulationAmountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_POPULATION_AMOUNT_DESC', - ConfidentialAssetHoldersByAccountIdVariancePopulationAssetIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_POPULATION_ASSET_ID_ASC', - ConfidentialAssetHoldersByAccountIdVariancePopulationAssetIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_POPULATION_ASSET_ID_DESC', - ConfidentialAssetHoldersByAccountIdVariancePopulationCreatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - ConfidentialAssetHoldersByAccountIdVariancePopulationCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - ConfidentialAssetHoldersByAccountIdVariancePopulationCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHoldersByAccountIdVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHoldersByAccountIdVariancePopulationEventIdxAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', - ConfidentialAssetHoldersByAccountIdVariancePopulationEventIdxDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', - ConfidentialAssetHoldersByAccountIdVariancePopulationIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_POPULATION_ID_ASC', - ConfidentialAssetHoldersByAccountIdVariancePopulationIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_POPULATION_ID_DESC', - ConfidentialAssetHoldersByAccountIdVariancePopulationUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - ConfidentialAssetHoldersByAccountIdVariancePopulationUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - ConfidentialAssetHoldersByAccountIdVariancePopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHoldersByAccountIdVariancePopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHoldersByAccountIdVarianceSampleAccountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_ACCOUNT_ID_ASC', - ConfidentialAssetHoldersByAccountIdVarianceSampleAccountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_ACCOUNT_ID_DESC', - ConfidentialAssetHoldersByAccountIdVarianceSampleAmountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_AMOUNT_ASC', - ConfidentialAssetHoldersByAccountIdVarianceSampleAmountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_AMOUNT_DESC', - ConfidentialAssetHoldersByAccountIdVarianceSampleAssetIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_ASSET_ID_ASC', - ConfidentialAssetHoldersByAccountIdVarianceSampleAssetIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_ASSET_ID_DESC', - ConfidentialAssetHoldersByAccountIdVarianceSampleCreatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - ConfidentialAssetHoldersByAccountIdVarianceSampleCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - ConfidentialAssetHoldersByAccountIdVarianceSampleCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHoldersByAccountIdVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHoldersByAccountIdVarianceSampleEventIdxAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', - ConfidentialAssetHoldersByAccountIdVarianceSampleEventIdxDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', - ConfidentialAssetHoldersByAccountIdVarianceSampleIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_ID_ASC', - ConfidentialAssetHoldersByAccountIdVarianceSampleIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_ID_DESC', - ConfidentialAssetHoldersByAccountIdVarianceSampleUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - ConfidentialAssetHoldersByAccountIdVarianceSampleUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - ConfidentialAssetHoldersByAccountIdVarianceSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHoldersByAccountIdVarianceSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - ConfidentialLegsByReceiverIdAverageAssetAuditorsAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_AVERAGE_ASSET_AUDITORS_ASC', - ConfidentialLegsByReceiverIdAverageAssetAuditorsDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_AVERAGE_ASSET_AUDITORS_DESC', - ConfidentialLegsByReceiverIdAverageCreatedAtAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_AVERAGE_CREATED_AT_ASC', - ConfidentialLegsByReceiverIdAverageCreatedAtDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_AVERAGE_CREATED_AT_DESC', - ConfidentialLegsByReceiverIdAverageCreatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - ConfidentialLegsByReceiverIdAverageCreatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - ConfidentialLegsByReceiverIdAverageIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_AVERAGE_ID_ASC', - ConfidentialLegsByReceiverIdAverageIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_AVERAGE_ID_DESC', - ConfidentialLegsByReceiverIdAverageMediatorsAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_AVERAGE_MEDIATORS_ASC', - ConfidentialLegsByReceiverIdAverageMediatorsDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_AVERAGE_MEDIATORS_DESC', - ConfidentialLegsByReceiverIdAverageReceiverIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_AVERAGE_RECEIVER_ID_ASC', - ConfidentialLegsByReceiverIdAverageReceiverIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_AVERAGE_RECEIVER_ID_DESC', - ConfidentialLegsByReceiverIdAverageSenderIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_AVERAGE_SENDER_ID_ASC', - ConfidentialLegsByReceiverIdAverageSenderIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_AVERAGE_SENDER_ID_DESC', - ConfidentialLegsByReceiverIdAverageTransactionIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_AVERAGE_TRANSACTION_ID_ASC', - ConfidentialLegsByReceiverIdAverageTransactionIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_AVERAGE_TRANSACTION_ID_DESC', - ConfidentialLegsByReceiverIdAverageUpdatedAtAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_AVERAGE_UPDATED_AT_ASC', - ConfidentialLegsByReceiverIdAverageUpdatedAtDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_AVERAGE_UPDATED_AT_DESC', - ConfidentialLegsByReceiverIdAverageUpdatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - ConfidentialLegsByReceiverIdAverageUpdatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - ConfidentialLegsByReceiverIdCountAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_COUNT_ASC', - ConfidentialLegsByReceiverIdCountDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_COUNT_DESC', - ConfidentialLegsByReceiverIdDistinctCountAssetAuditorsAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_DISTINCT_COUNT_ASSET_AUDITORS_ASC', - ConfidentialLegsByReceiverIdDistinctCountAssetAuditorsDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_DISTINCT_COUNT_ASSET_AUDITORS_DESC', - ConfidentialLegsByReceiverIdDistinctCountCreatedAtAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_DISTINCT_COUNT_CREATED_AT_ASC', - ConfidentialLegsByReceiverIdDistinctCountCreatedAtDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_DISTINCT_COUNT_CREATED_AT_DESC', - ConfidentialLegsByReceiverIdDistinctCountCreatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - ConfidentialLegsByReceiverIdDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - ConfidentialLegsByReceiverIdDistinctCountIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_DISTINCT_COUNT_ID_ASC', - ConfidentialLegsByReceiverIdDistinctCountIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_DISTINCT_COUNT_ID_DESC', - ConfidentialLegsByReceiverIdDistinctCountMediatorsAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_DISTINCT_COUNT_MEDIATORS_ASC', - ConfidentialLegsByReceiverIdDistinctCountMediatorsDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_DISTINCT_COUNT_MEDIATORS_DESC', - ConfidentialLegsByReceiverIdDistinctCountReceiverIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_DISTINCT_COUNT_RECEIVER_ID_ASC', - ConfidentialLegsByReceiverIdDistinctCountReceiverIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_DISTINCT_COUNT_RECEIVER_ID_DESC', - ConfidentialLegsByReceiverIdDistinctCountSenderIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_DISTINCT_COUNT_SENDER_ID_ASC', - ConfidentialLegsByReceiverIdDistinctCountSenderIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_DISTINCT_COUNT_SENDER_ID_DESC', - ConfidentialLegsByReceiverIdDistinctCountTransactionIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_DISTINCT_COUNT_TRANSACTION_ID_ASC', - ConfidentialLegsByReceiverIdDistinctCountTransactionIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_DISTINCT_COUNT_TRANSACTION_ID_DESC', - ConfidentialLegsByReceiverIdDistinctCountUpdatedAtAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - ConfidentialLegsByReceiverIdDistinctCountUpdatedAtDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - ConfidentialLegsByReceiverIdDistinctCountUpdatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - ConfidentialLegsByReceiverIdDistinctCountUpdatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - ConfidentialLegsByReceiverIdMaxAssetAuditorsAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MAX_ASSET_AUDITORS_ASC', - ConfidentialLegsByReceiverIdMaxAssetAuditorsDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MAX_ASSET_AUDITORS_DESC', - ConfidentialLegsByReceiverIdMaxCreatedAtAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MAX_CREATED_AT_ASC', - ConfidentialLegsByReceiverIdMaxCreatedAtDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MAX_CREATED_AT_DESC', - ConfidentialLegsByReceiverIdMaxCreatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MAX_CREATED_BLOCK_ID_ASC', - ConfidentialLegsByReceiverIdMaxCreatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MAX_CREATED_BLOCK_ID_DESC', - ConfidentialLegsByReceiverIdMaxIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MAX_ID_ASC', - ConfidentialLegsByReceiverIdMaxIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MAX_ID_DESC', - ConfidentialLegsByReceiverIdMaxMediatorsAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MAX_MEDIATORS_ASC', - ConfidentialLegsByReceiverIdMaxMediatorsDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MAX_MEDIATORS_DESC', - ConfidentialLegsByReceiverIdMaxReceiverIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MAX_RECEIVER_ID_ASC', - ConfidentialLegsByReceiverIdMaxReceiverIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MAX_RECEIVER_ID_DESC', - ConfidentialLegsByReceiverIdMaxSenderIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MAX_SENDER_ID_ASC', - ConfidentialLegsByReceiverIdMaxSenderIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MAX_SENDER_ID_DESC', - ConfidentialLegsByReceiverIdMaxTransactionIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MAX_TRANSACTION_ID_ASC', - ConfidentialLegsByReceiverIdMaxTransactionIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MAX_TRANSACTION_ID_DESC', - ConfidentialLegsByReceiverIdMaxUpdatedAtAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MAX_UPDATED_AT_ASC', - ConfidentialLegsByReceiverIdMaxUpdatedAtDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MAX_UPDATED_AT_DESC', - ConfidentialLegsByReceiverIdMaxUpdatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MAX_UPDATED_BLOCK_ID_ASC', - ConfidentialLegsByReceiverIdMaxUpdatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MAX_UPDATED_BLOCK_ID_DESC', - ConfidentialLegsByReceiverIdMinAssetAuditorsAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MIN_ASSET_AUDITORS_ASC', - ConfidentialLegsByReceiverIdMinAssetAuditorsDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MIN_ASSET_AUDITORS_DESC', - ConfidentialLegsByReceiverIdMinCreatedAtAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MIN_CREATED_AT_ASC', - ConfidentialLegsByReceiverIdMinCreatedAtDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MIN_CREATED_AT_DESC', - ConfidentialLegsByReceiverIdMinCreatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MIN_CREATED_BLOCK_ID_ASC', - ConfidentialLegsByReceiverIdMinCreatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MIN_CREATED_BLOCK_ID_DESC', - ConfidentialLegsByReceiverIdMinIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MIN_ID_ASC', - ConfidentialLegsByReceiverIdMinIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MIN_ID_DESC', - ConfidentialLegsByReceiverIdMinMediatorsAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MIN_MEDIATORS_ASC', - ConfidentialLegsByReceiverIdMinMediatorsDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MIN_MEDIATORS_DESC', - ConfidentialLegsByReceiverIdMinReceiverIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MIN_RECEIVER_ID_ASC', - ConfidentialLegsByReceiverIdMinReceiverIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MIN_RECEIVER_ID_DESC', - ConfidentialLegsByReceiverIdMinSenderIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MIN_SENDER_ID_ASC', - ConfidentialLegsByReceiverIdMinSenderIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MIN_SENDER_ID_DESC', - ConfidentialLegsByReceiverIdMinTransactionIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MIN_TRANSACTION_ID_ASC', - ConfidentialLegsByReceiverIdMinTransactionIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MIN_TRANSACTION_ID_DESC', - ConfidentialLegsByReceiverIdMinUpdatedAtAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MIN_UPDATED_AT_ASC', - ConfidentialLegsByReceiverIdMinUpdatedAtDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MIN_UPDATED_AT_DESC', - ConfidentialLegsByReceiverIdMinUpdatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MIN_UPDATED_BLOCK_ID_ASC', - ConfidentialLegsByReceiverIdMinUpdatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_MIN_UPDATED_BLOCK_ID_DESC', - ConfidentialLegsByReceiverIdStddevPopulationAssetAuditorsAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_POPULATION_ASSET_AUDITORS_ASC', - ConfidentialLegsByReceiverIdStddevPopulationAssetAuditorsDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_POPULATION_ASSET_AUDITORS_DESC', - ConfidentialLegsByReceiverIdStddevPopulationCreatedAtAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_POPULATION_CREATED_AT_ASC', - ConfidentialLegsByReceiverIdStddevPopulationCreatedAtDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_POPULATION_CREATED_AT_DESC', - ConfidentialLegsByReceiverIdStddevPopulationCreatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - ConfidentialLegsByReceiverIdStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - ConfidentialLegsByReceiverIdStddevPopulationIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_POPULATION_ID_ASC', - ConfidentialLegsByReceiverIdStddevPopulationIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_POPULATION_ID_DESC', - ConfidentialLegsByReceiverIdStddevPopulationMediatorsAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_POPULATION_MEDIATORS_ASC', - ConfidentialLegsByReceiverIdStddevPopulationMediatorsDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_POPULATION_MEDIATORS_DESC', - ConfidentialLegsByReceiverIdStddevPopulationReceiverIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_POPULATION_RECEIVER_ID_ASC', - ConfidentialLegsByReceiverIdStddevPopulationReceiverIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_POPULATION_RECEIVER_ID_DESC', - ConfidentialLegsByReceiverIdStddevPopulationSenderIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_POPULATION_SENDER_ID_ASC', - ConfidentialLegsByReceiverIdStddevPopulationSenderIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_POPULATION_SENDER_ID_DESC', - ConfidentialLegsByReceiverIdStddevPopulationTransactionIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_POPULATION_TRANSACTION_ID_ASC', - ConfidentialLegsByReceiverIdStddevPopulationTransactionIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_POPULATION_TRANSACTION_ID_DESC', - ConfidentialLegsByReceiverIdStddevPopulationUpdatedAtAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - ConfidentialLegsByReceiverIdStddevPopulationUpdatedAtDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - ConfidentialLegsByReceiverIdStddevPopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - ConfidentialLegsByReceiverIdStddevPopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - ConfidentialLegsByReceiverIdStddevSampleAssetAuditorsAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_SAMPLE_ASSET_AUDITORS_ASC', - ConfidentialLegsByReceiverIdStddevSampleAssetAuditorsDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_SAMPLE_ASSET_AUDITORS_DESC', - ConfidentialLegsByReceiverIdStddevSampleCreatedAtAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - ConfidentialLegsByReceiverIdStddevSampleCreatedAtDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - ConfidentialLegsByReceiverIdStddevSampleCreatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - ConfidentialLegsByReceiverIdStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - ConfidentialLegsByReceiverIdStddevSampleIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_SAMPLE_ID_ASC', - ConfidentialLegsByReceiverIdStddevSampleIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_SAMPLE_ID_DESC', - ConfidentialLegsByReceiverIdStddevSampleMediatorsAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_SAMPLE_MEDIATORS_ASC', - ConfidentialLegsByReceiverIdStddevSampleMediatorsDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_SAMPLE_MEDIATORS_DESC', - ConfidentialLegsByReceiverIdStddevSampleReceiverIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_SAMPLE_RECEIVER_ID_ASC', - ConfidentialLegsByReceiverIdStddevSampleReceiverIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_SAMPLE_RECEIVER_ID_DESC', - ConfidentialLegsByReceiverIdStddevSampleSenderIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_SAMPLE_SENDER_ID_ASC', - ConfidentialLegsByReceiverIdStddevSampleSenderIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_SAMPLE_SENDER_ID_DESC', - ConfidentialLegsByReceiverIdStddevSampleTransactionIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_SAMPLE_TRANSACTION_ID_ASC', - ConfidentialLegsByReceiverIdStddevSampleTransactionIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_SAMPLE_TRANSACTION_ID_DESC', - ConfidentialLegsByReceiverIdStddevSampleUpdatedAtAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - ConfidentialLegsByReceiverIdStddevSampleUpdatedAtDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - ConfidentialLegsByReceiverIdStddevSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - ConfidentialLegsByReceiverIdStddevSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - ConfidentialLegsByReceiverIdSumAssetAuditorsAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_SUM_ASSET_AUDITORS_ASC', - ConfidentialLegsByReceiverIdSumAssetAuditorsDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_SUM_ASSET_AUDITORS_DESC', - ConfidentialLegsByReceiverIdSumCreatedAtAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_SUM_CREATED_AT_ASC', - ConfidentialLegsByReceiverIdSumCreatedAtDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_SUM_CREATED_AT_DESC', - ConfidentialLegsByReceiverIdSumCreatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_SUM_CREATED_BLOCK_ID_ASC', - ConfidentialLegsByReceiverIdSumCreatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_SUM_CREATED_BLOCK_ID_DESC', - ConfidentialLegsByReceiverIdSumIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_SUM_ID_ASC', - ConfidentialLegsByReceiverIdSumIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_SUM_ID_DESC', - ConfidentialLegsByReceiverIdSumMediatorsAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_SUM_MEDIATORS_ASC', - ConfidentialLegsByReceiverIdSumMediatorsDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_SUM_MEDIATORS_DESC', - ConfidentialLegsByReceiverIdSumReceiverIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_SUM_RECEIVER_ID_ASC', - ConfidentialLegsByReceiverIdSumReceiverIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_SUM_RECEIVER_ID_DESC', - ConfidentialLegsByReceiverIdSumSenderIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_SUM_SENDER_ID_ASC', - ConfidentialLegsByReceiverIdSumSenderIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_SUM_SENDER_ID_DESC', - ConfidentialLegsByReceiverIdSumTransactionIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_SUM_TRANSACTION_ID_ASC', - ConfidentialLegsByReceiverIdSumTransactionIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_SUM_TRANSACTION_ID_DESC', - ConfidentialLegsByReceiverIdSumUpdatedAtAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_SUM_UPDATED_AT_ASC', - ConfidentialLegsByReceiverIdSumUpdatedAtDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_SUM_UPDATED_AT_DESC', - ConfidentialLegsByReceiverIdSumUpdatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_SUM_UPDATED_BLOCK_ID_ASC', - ConfidentialLegsByReceiverIdSumUpdatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_SUM_UPDATED_BLOCK_ID_DESC', - ConfidentialLegsByReceiverIdVariancePopulationAssetAuditorsAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_POPULATION_ASSET_AUDITORS_ASC', - ConfidentialLegsByReceiverIdVariancePopulationAssetAuditorsDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_POPULATION_ASSET_AUDITORS_DESC', - ConfidentialLegsByReceiverIdVariancePopulationCreatedAtAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - ConfidentialLegsByReceiverIdVariancePopulationCreatedAtDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - ConfidentialLegsByReceiverIdVariancePopulationCreatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - ConfidentialLegsByReceiverIdVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - ConfidentialLegsByReceiverIdVariancePopulationIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_POPULATION_ID_ASC', - ConfidentialLegsByReceiverIdVariancePopulationIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_POPULATION_ID_DESC', - ConfidentialLegsByReceiverIdVariancePopulationMediatorsAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_POPULATION_MEDIATORS_ASC', - ConfidentialLegsByReceiverIdVariancePopulationMediatorsDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_POPULATION_MEDIATORS_DESC', - ConfidentialLegsByReceiverIdVariancePopulationReceiverIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_POPULATION_RECEIVER_ID_ASC', - ConfidentialLegsByReceiverIdVariancePopulationReceiverIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_POPULATION_RECEIVER_ID_DESC', - ConfidentialLegsByReceiverIdVariancePopulationSenderIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_POPULATION_SENDER_ID_ASC', - ConfidentialLegsByReceiverIdVariancePopulationSenderIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_POPULATION_SENDER_ID_DESC', - ConfidentialLegsByReceiverIdVariancePopulationTransactionIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_POPULATION_TRANSACTION_ID_ASC', - ConfidentialLegsByReceiverIdVariancePopulationTransactionIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_POPULATION_TRANSACTION_ID_DESC', - ConfidentialLegsByReceiverIdVariancePopulationUpdatedAtAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - ConfidentialLegsByReceiverIdVariancePopulationUpdatedAtDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - ConfidentialLegsByReceiverIdVariancePopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - ConfidentialLegsByReceiverIdVariancePopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - ConfidentialLegsByReceiverIdVarianceSampleAssetAuditorsAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_SAMPLE_ASSET_AUDITORS_ASC', - ConfidentialLegsByReceiverIdVarianceSampleAssetAuditorsDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_SAMPLE_ASSET_AUDITORS_DESC', - ConfidentialLegsByReceiverIdVarianceSampleCreatedAtAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - ConfidentialLegsByReceiverIdVarianceSampleCreatedAtDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - ConfidentialLegsByReceiverIdVarianceSampleCreatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - ConfidentialLegsByReceiverIdVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - ConfidentialLegsByReceiverIdVarianceSampleIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_SAMPLE_ID_ASC', - ConfidentialLegsByReceiverIdVarianceSampleIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_SAMPLE_ID_DESC', - ConfidentialLegsByReceiverIdVarianceSampleMediatorsAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_SAMPLE_MEDIATORS_ASC', - ConfidentialLegsByReceiverIdVarianceSampleMediatorsDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_SAMPLE_MEDIATORS_DESC', - ConfidentialLegsByReceiverIdVarianceSampleReceiverIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_SAMPLE_RECEIVER_ID_ASC', - ConfidentialLegsByReceiverIdVarianceSampleReceiverIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_SAMPLE_RECEIVER_ID_DESC', - ConfidentialLegsByReceiverIdVarianceSampleSenderIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_SAMPLE_SENDER_ID_ASC', - ConfidentialLegsByReceiverIdVarianceSampleSenderIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_SAMPLE_SENDER_ID_DESC', - ConfidentialLegsByReceiverIdVarianceSampleTransactionIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_SAMPLE_TRANSACTION_ID_ASC', - ConfidentialLegsByReceiverIdVarianceSampleTransactionIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_SAMPLE_TRANSACTION_ID_DESC', - ConfidentialLegsByReceiverIdVarianceSampleUpdatedAtAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - ConfidentialLegsByReceiverIdVarianceSampleUpdatedAtDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - ConfidentialLegsByReceiverIdVarianceSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - ConfidentialLegsByReceiverIdVarianceSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_RECEIVER_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - ConfidentialLegsBySenderIdAverageAssetAuditorsAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_AVERAGE_ASSET_AUDITORS_ASC', - ConfidentialLegsBySenderIdAverageAssetAuditorsDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_AVERAGE_ASSET_AUDITORS_DESC', - ConfidentialLegsBySenderIdAverageCreatedAtAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_AVERAGE_CREATED_AT_ASC', - ConfidentialLegsBySenderIdAverageCreatedAtDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_AVERAGE_CREATED_AT_DESC', - ConfidentialLegsBySenderIdAverageCreatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - ConfidentialLegsBySenderIdAverageCreatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - ConfidentialLegsBySenderIdAverageIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_AVERAGE_ID_ASC', - ConfidentialLegsBySenderIdAverageIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_AVERAGE_ID_DESC', - ConfidentialLegsBySenderIdAverageMediatorsAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_AVERAGE_MEDIATORS_ASC', - ConfidentialLegsBySenderIdAverageMediatorsDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_AVERAGE_MEDIATORS_DESC', - ConfidentialLegsBySenderIdAverageReceiverIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_AVERAGE_RECEIVER_ID_ASC', - ConfidentialLegsBySenderIdAverageReceiverIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_AVERAGE_RECEIVER_ID_DESC', - ConfidentialLegsBySenderIdAverageSenderIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_AVERAGE_SENDER_ID_ASC', - ConfidentialLegsBySenderIdAverageSenderIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_AVERAGE_SENDER_ID_DESC', - ConfidentialLegsBySenderIdAverageTransactionIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_AVERAGE_TRANSACTION_ID_ASC', - ConfidentialLegsBySenderIdAverageTransactionIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_AVERAGE_TRANSACTION_ID_DESC', - ConfidentialLegsBySenderIdAverageUpdatedAtAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_AVERAGE_UPDATED_AT_ASC', - ConfidentialLegsBySenderIdAverageUpdatedAtDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_AVERAGE_UPDATED_AT_DESC', - ConfidentialLegsBySenderIdAverageUpdatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - ConfidentialLegsBySenderIdAverageUpdatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - ConfidentialLegsBySenderIdCountAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_COUNT_ASC', - ConfidentialLegsBySenderIdCountDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_COUNT_DESC', - ConfidentialLegsBySenderIdDistinctCountAssetAuditorsAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_DISTINCT_COUNT_ASSET_AUDITORS_ASC', - ConfidentialLegsBySenderIdDistinctCountAssetAuditorsDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_DISTINCT_COUNT_ASSET_AUDITORS_DESC', - ConfidentialLegsBySenderIdDistinctCountCreatedAtAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_DISTINCT_COUNT_CREATED_AT_ASC', - ConfidentialLegsBySenderIdDistinctCountCreatedAtDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_DISTINCT_COUNT_CREATED_AT_DESC', - ConfidentialLegsBySenderIdDistinctCountCreatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - ConfidentialLegsBySenderIdDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - ConfidentialLegsBySenderIdDistinctCountIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_DISTINCT_COUNT_ID_ASC', - ConfidentialLegsBySenderIdDistinctCountIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_DISTINCT_COUNT_ID_DESC', - ConfidentialLegsBySenderIdDistinctCountMediatorsAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_DISTINCT_COUNT_MEDIATORS_ASC', - ConfidentialLegsBySenderIdDistinctCountMediatorsDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_DISTINCT_COUNT_MEDIATORS_DESC', - ConfidentialLegsBySenderIdDistinctCountReceiverIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_DISTINCT_COUNT_RECEIVER_ID_ASC', - ConfidentialLegsBySenderIdDistinctCountReceiverIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_DISTINCT_COUNT_RECEIVER_ID_DESC', - ConfidentialLegsBySenderIdDistinctCountSenderIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_DISTINCT_COUNT_SENDER_ID_ASC', - ConfidentialLegsBySenderIdDistinctCountSenderIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_DISTINCT_COUNT_SENDER_ID_DESC', - ConfidentialLegsBySenderIdDistinctCountTransactionIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_DISTINCT_COUNT_TRANSACTION_ID_ASC', - ConfidentialLegsBySenderIdDistinctCountTransactionIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_DISTINCT_COUNT_TRANSACTION_ID_DESC', - ConfidentialLegsBySenderIdDistinctCountUpdatedAtAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - ConfidentialLegsBySenderIdDistinctCountUpdatedAtDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - ConfidentialLegsBySenderIdDistinctCountUpdatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - ConfidentialLegsBySenderIdDistinctCountUpdatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - ConfidentialLegsBySenderIdMaxAssetAuditorsAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MAX_ASSET_AUDITORS_ASC', - ConfidentialLegsBySenderIdMaxAssetAuditorsDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MAX_ASSET_AUDITORS_DESC', - ConfidentialLegsBySenderIdMaxCreatedAtAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MAX_CREATED_AT_ASC', - ConfidentialLegsBySenderIdMaxCreatedAtDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MAX_CREATED_AT_DESC', - ConfidentialLegsBySenderIdMaxCreatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MAX_CREATED_BLOCK_ID_ASC', - ConfidentialLegsBySenderIdMaxCreatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MAX_CREATED_BLOCK_ID_DESC', - ConfidentialLegsBySenderIdMaxIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MAX_ID_ASC', - ConfidentialLegsBySenderIdMaxIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MAX_ID_DESC', - ConfidentialLegsBySenderIdMaxMediatorsAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MAX_MEDIATORS_ASC', - ConfidentialLegsBySenderIdMaxMediatorsDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MAX_MEDIATORS_DESC', - ConfidentialLegsBySenderIdMaxReceiverIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MAX_RECEIVER_ID_ASC', - ConfidentialLegsBySenderIdMaxReceiverIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MAX_RECEIVER_ID_DESC', - ConfidentialLegsBySenderIdMaxSenderIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MAX_SENDER_ID_ASC', - ConfidentialLegsBySenderIdMaxSenderIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MAX_SENDER_ID_DESC', - ConfidentialLegsBySenderIdMaxTransactionIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MAX_TRANSACTION_ID_ASC', - ConfidentialLegsBySenderIdMaxTransactionIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MAX_TRANSACTION_ID_DESC', - ConfidentialLegsBySenderIdMaxUpdatedAtAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MAX_UPDATED_AT_ASC', - ConfidentialLegsBySenderIdMaxUpdatedAtDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MAX_UPDATED_AT_DESC', - ConfidentialLegsBySenderIdMaxUpdatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MAX_UPDATED_BLOCK_ID_ASC', - ConfidentialLegsBySenderIdMaxUpdatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MAX_UPDATED_BLOCK_ID_DESC', - ConfidentialLegsBySenderIdMinAssetAuditorsAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MIN_ASSET_AUDITORS_ASC', - ConfidentialLegsBySenderIdMinAssetAuditorsDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MIN_ASSET_AUDITORS_DESC', - ConfidentialLegsBySenderIdMinCreatedAtAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MIN_CREATED_AT_ASC', - ConfidentialLegsBySenderIdMinCreatedAtDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MIN_CREATED_AT_DESC', - ConfidentialLegsBySenderIdMinCreatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MIN_CREATED_BLOCK_ID_ASC', - ConfidentialLegsBySenderIdMinCreatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MIN_CREATED_BLOCK_ID_DESC', - ConfidentialLegsBySenderIdMinIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MIN_ID_ASC', - ConfidentialLegsBySenderIdMinIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MIN_ID_DESC', - ConfidentialLegsBySenderIdMinMediatorsAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MIN_MEDIATORS_ASC', - ConfidentialLegsBySenderIdMinMediatorsDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MIN_MEDIATORS_DESC', - ConfidentialLegsBySenderIdMinReceiverIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MIN_RECEIVER_ID_ASC', - ConfidentialLegsBySenderIdMinReceiverIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MIN_RECEIVER_ID_DESC', - ConfidentialLegsBySenderIdMinSenderIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MIN_SENDER_ID_ASC', - ConfidentialLegsBySenderIdMinSenderIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MIN_SENDER_ID_DESC', - ConfidentialLegsBySenderIdMinTransactionIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MIN_TRANSACTION_ID_ASC', - ConfidentialLegsBySenderIdMinTransactionIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MIN_TRANSACTION_ID_DESC', - ConfidentialLegsBySenderIdMinUpdatedAtAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MIN_UPDATED_AT_ASC', - ConfidentialLegsBySenderIdMinUpdatedAtDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MIN_UPDATED_AT_DESC', - ConfidentialLegsBySenderIdMinUpdatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MIN_UPDATED_BLOCK_ID_ASC', - ConfidentialLegsBySenderIdMinUpdatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_MIN_UPDATED_BLOCK_ID_DESC', - ConfidentialLegsBySenderIdStddevPopulationAssetAuditorsAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_POPULATION_ASSET_AUDITORS_ASC', - ConfidentialLegsBySenderIdStddevPopulationAssetAuditorsDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_POPULATION_ASSET_AUDITORS_DESC', - ConfidentialLegsBySenderIdStddevPopulationCreatedAtAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_POPULATION_CREATED_AT_ASC', - ConfidentialLegsBySenderIdStddevPopulationCreatedAtDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_POPULATION_CREATED_AT_DESC', - ConfidentialLegsBySenderIdStddevPopulationCreatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - ConfidentialLegsBySenderIdStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - ConfidentialLegsBySenderIdStddevPopulationIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_POPULATION_ID_ASC', - ConfidentialLegsBySenderIdStddevPopulationIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_POPULATION_ID_DESC', - ConfidentialLegsBySenderIdStddevPopulationMediatorsAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_POPULATION_MEDIATORS_ASC', - ConfidentialLegsBySenderIdStddevPopulationMediatorsDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_POPULATION_MEDIATORS_DESC', - ConfidentialLegsBySenderIdStddevPopulationReceiverIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_POPULATION_RECEIVER_ID_ASC', - ConfidentialLegsBySenderIdStddevPopulationReceiverIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_POPULATION_RECEIVER_ID_DESC', - ConfidentialLegsBySenderIdStddevPopulationSenderIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_POPULATION_SENDER_ID_ASC', - ConfidentialLegsBySenderIdStddevPopulationSenderIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_POPULATION_SENDER_ID_DESC', - ConfidentialLegsBySenderIdStddevPopulationTransactionIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_POPULATION_TRANSACTION_ID_ASC', - ConfidentialLegsBySenderIdStddevPopulationTransactionIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_POPULATION_TRANSACTION_ID_DESC', - ConfidentialLegsBySenderIdStddevPopulationUpdatedAtAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - ConfidentialLegsBySenderIdStddevPopulationUpdatedAtDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - ConfidentialLegsBySenderIdStddevPopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - ConfidentialLegsBySenderIdStddevPopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - ConfidentialLegsBySenderIdStddevSampleAssetAuditorsAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_SAMPLE_ASSET_AUDITORS_ASC', - ConfidentialLegsBySenderIdStddevSampleAssetAuditorsDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_SAMPLE_ASSET_AUDITORS_DESC', - ConfidentialLegsBySenderIdStddevSampleCreatedAtAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - ConfidentialLegsBySenderIdStddevSampleCreatedAtDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - ConfidentialLegsBySenderIdStddevSampleCreatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - ConfidentialLegsBySenderIdStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - ConfidentialLegsBySenderIdStddevSampleIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_SAMPLE_ID_ASC', - ConfidentialLegsBySenderIdStddevSampleIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_SAMPLE_ID_DESC', - ConfidentialLegsBySenderIdStddevSampleMediatorsAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_SAMPLE_MEDIATORS_ASC', - ConfidentialLegsBySenderIdStddevSampleMediatorsDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_SAMPLE_MEDIATORS_DESC', - ConfidentialLegsBySenderIdStddevSampleReceiverIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_SAMPLE_RECEIVER_ID_ASC', - ConfidentialLegsBySenderIdStddevSampleReceiverIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_SAMPLE_RECEIVER_ID_DESC', - ConfidentialLegsBySenderIdStddevSampleSenderIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_SAMPLE_SENDER_ID_ASC', - ConfidentialLegsBySenderIdStddevSampleSenderIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_SAMPLE_SENDER_ID_DESC', - ConfidentialLegsBySenderIdStddevSampleTransactionIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_SAMPLE_TRANSACTION_ID_ASC', - ConfidentialLegsBySenderIdStddevSampleTransactionIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_SAMPLE_TRANSACTION_ID_DESC', - ConfidentialLegsBySenderIdStddevSampleUpdatedAtAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - ConfidentialLegsBySenderIdStddevSampleUpdatedAtDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - ConfidentialLegsBySenderIdStddevSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - ConfidentialLegsBySenderIdStddevSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - ConfidentialLegsBySenderIdSumAssetAuditorsAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_SUM_ASSET_AUDITORS_ASC', - ConfidentialLegsBySenderIdSumAssetAuditorsDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_SUM_ASSET_AUDITORS_DESC', - ConfidentialLegsBySenderIdSumCreatedAtAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_SUM_CREATED_AT_ASC', - ConfidentialLegsBySenderIdSumCreatedAtDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_SUM_CREATED_AT_DESC', - ConfidentialLegsBySenderIdSumCreatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_SUM_CREATED_BLOCK_ID_ASC', - ConfidentialLegsBySenderIdSumCreatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_SUM_CREATED_BLOCK_ID_DESC', - ConfidentialLegsBySenderIdSumIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_SUM_ID_ASC', - ConfidentialLegsBySenderIdSumIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_SUM_ID_DESC', - ConfidentialLegsBySenderIdSumMediatorsAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_SUM_MEDIATORS_ASC', - ConfidentialLegsBySenderIdSumMediatorsDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_SUM_MEDIATORS_DESC', - ConfidentialLegsBySenderIdSumReceiverIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_SUM_RECEIVER_ID_ASC', - ConfidentialLegsBySenderIdSumReceiverIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_SUM_RECEIVER_ID_DESC', - ConfidentialLegsBySenderIdSumSenderIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_SUM_SENDER_ID_ASC', - ConfidentialLegsBySenderIdSumSenderIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_SUM_SENDER_ID_DESC', - ConfidentialLegsBySenderIdSumTransactionIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_SUM_TRANSACTION_ID_ASC', - ConfidentialLegsBySenderIdSumTransactionIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_SUM_TRANSACTION_ID_DESC', - ConfidentialLegsBySenderIdSumUpdatedAtAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_SUM_UPDATED_AT_ASC', - ConfidentialLegsBySenderIdSumUpdatedAtDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_SUM_UPDATED_AT_DESC', - ConfidentialLegsBySenderIdSumUpdatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_SUM_UPDATED_BLOCK_ID_ASC', - ConfidentialLegsBySenderIdSumUpdatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_SUM_UPDATED_BLOCK_ID_DESC', - ConfidentialLegsBySenderIdVariancePopulationAssetAuditorsAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_POPULATION_ASSET_AUDITORS_ASC', - ConfidentialLegsBySenderIdVariancePopulationAssetAuditorsDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_POPULATION_ASSET_AUDITORS_DESC', - ConfidentialLegsBySenderIdVariancePopulationCreatedAtAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - ConfidentialLegsBySenderIdVariancePopulationCreatedAtDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - ConfidentialLegsBySenderIdVariancePopulationCreatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - ConfidentialLegsBySenderIdVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - ConfidentialLegsBySenderIdVariancePopulationIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_POPULATION_ID_ASC', - ConfidentialLegsBySenderIdVariancePopulationIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_POPULATION_ID_DESC', - ConfidentialLegsBySenderIdVariancePopulationMediatorsAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_POPULATION_MEDIATORS_ASC', - ConfidentialLegsBySenderIdVariancePopulationMediatorsDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_POPULATION_MEDIATORS_DESC', - ConfidentialLegsBySenderIdVariancePopulationReceiverIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_POPULATION_RECEIVER_ID_ASC', - ConfidentialLegsBySenderIdVariancePopulationReceiverIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_POPULATION_RECEIVER_ID_DESC', - ConfidentialLegsBySenderIdVariancePopulationSenderIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_POPULATION_SENDER_ID_ASC', - ConfidentialLegsBySenderIdVariancePopulationSenderIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_POPULATION_SENDER_ID_DESC', - ConfidentialLegsBySenderIdVariancePopulationTransactionIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_POPULATION_TRANSACTION_ID_ASC', - ConfidentialLegsBySenderIdVariancePopulationTransactionIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_POPULATION_TRANSACTION_ID_DESC', - ConfidentialLegsBySenderIdVariancePopulationUpdatedAtAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - ConfidentialLegsBySenderIdVariancePopulationUpdatedAtDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - ConfidentialLegsBySenderIdVariancePopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - ConfidentialLegsBySenderIdVariancePopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - ConfidentialLegsBySenderIdVarianceSampleAssetAuditorsAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_SAMPLE_ASSET_AUDITORS_ASC', - ConfidentialLegsBySenderIdVarianceSampleAssetAuditorsDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_SAMPLE_ASSET_AUDITORS_DESC', - ConfidentialLegsBySenderIdVarianceSampleCreatedAtAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - ConfidentialLegsBySenderIdVarianceSampleCreatedAtDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - ConfidentialLegsBySenderIdVarianceSampleCreatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - ConfidentialLegsBySenderIdVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - ConfidentialLegsBySenderIdVarianceSampleIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_SAMPLE_ID_ASC', - ConfidentialLegsBySenderIdVarianceSampleIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_SAMPLE_ID_DESC', - ConfidentialLegsBySenderIdVarianceSampleMediatorsAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_SAMPLE_MEDIATORS_ASC', - ConfidentialLegsBySenderIdVarianceSampleMediatorsDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_SAMPLE_MEDIATORS_DESC', - ConfidentialLegsBySenderIdVarianceSampleReceiverIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_SAMPLE_RECEIVER_ID_ASC', - ConfidentialLegsBySenderIdVarianceSampleReceiverIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_SAMPLE_RECEIVER_ID_DESC', - ConfidentialLegsBySenderIdVarianceSampleSenderIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_SAMPLE_SENDER_ID_ASC', - ConfidentialLegsBySenderIdVarianceSampleSenderIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_SAMPLE_SENDER_ID_DESC', - ConfidentialLegsBySenderIdVarianceSampleTransactionIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_SAMPLE_TRANSACTION_ID_ASC', - ConfidentialLegsBySenderIdVarianceSampleTransactionIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_SAMPLE_TRANSACTION_ID_DESC', - ConfidentialLegsBySenderIdVarianceSampleUpdatedAtAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - ConfidentialLegsBySenderIdVarianceSampleUpdatedAtDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - ConfidentialLegsBySenderIdVarianceSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - ConfidentialLegsBySenderIdVarianceSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_LEGS_BY_SENDER_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - ConfidentialTransactionAffirmationsByAccountIdAverageAccountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_AVERAGE_ACCOUNT_ID_ASC', - ConfidentialTransactionAffirmationsByAccountIdAverageAccountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_AVERAGE_ACCOUNT_ID_DESC', - ConfidentialTransactionAffirmationsByAccountIdAverageCreatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_AVERAGE_CREATED_AT_ASC', - ConfidentialTransactionAffirmationsByAccountIdAverageCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_AVERAGE_CREATED_AT_DESC', - ConfidentialTransactionAffirmationsByAccountIdAverageCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - ConfidentialTransactionAffirmationsByAccountIdAverageCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - ConfidentialTransactionAffirmationsByAccountIdAverageEventIdxAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_AVERAGE_EVENT_IDX_ASC', - ConfidentialTransactionAffirmationsByAccountIdAverageEventIdxDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_AVERAGE_EVENT_IDX_DESC', - ConfidentialTransactionAffirmationsByAccountIdAverageIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_AVERAGE_IDENTITY_ID_ASC', - ConfidentialTransactionAffirmationsByAccountIdAverageIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_AVERAGE_IDENTITY_ID_DESC', - ConfidentialTransactionAffirmationsByAccountIdAverageIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_AVERAGE_ID_ASC', - ConfidentialTransactionAffirmationsByAccountIdAverageIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_AVERAGE_ID_DESC', - ConfidentialTransactionAffirmationsByAccountIdAverageLegIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_AVERAGE_LEG_ID_ASC', - ConfidentialTransactionAffirmationsByAccountIdAverageLegIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_AVERAGE_LEG_ID_DESC', - ConfidentialTransactionAffirmationsByAccountIdAverageProofsAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_AVERAGE_PROOFS_ASC', - ConfidentialTransactionAffirmationsByAccountIdAverageProofsDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_AVERAGE_PROOFS_DESC', - ConfidentialTransactionAffirmationsByAccountIdAverageStatusAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_AVERAGE_STATUS_ASC', - ConfidentialTransactionAffirmationsByAccountIdAverageStatusDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_AVERAGE_STATUS_DESC', - ConfidentialTransactionAffirmationsByAccountIdAverageTransactionIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_AVERAGE_TRANSACTION_ID_ASC', - ConfidentialTransactionAffirmationsByAccountIdAverageTransactionIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_AVERAGE_TRANSACTION_ID_DESC', - ConfidentialTransactionAffirmationsByAccountIdAverageTypeAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_AVERAGE_TYPE_ASC', - ConfidentialTransactionAffirmationsByAccountIdAverageTypeDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_AVERAGE_TYPE_DESC', - ConfidentialTransactionAffirmationsByAccountIdAverageUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_AVERAGE_UPDATED_AT_ASC', - ConfidentialTransactionAffirmationsByAccountIdAverageUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_AVERAGE_UPDATED_AT_DESC', - ConfidentialTransactionAffirmationsByAccountIdAverageUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - ConfidentialTransactionAffirmationsByAccountIdAverageUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - ConfidentialTransactionAffirmationsByAccountIdCountAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_COUNT_ASC', - ConfidentialTransactionAffirmationsByAccountIdCountDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_COUNT_DESC', - ConfidentialTransactionAffirmationsByAccountIdDistinctCountAccountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_DISTINCT_COUNT_ACCOUNT_ID_ASC', - ConfidentialTransactionAffirmationsByAccountIdDistinctCountAccountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_DISTINCT_COUNT_ACCOUNT_ID_DESC', - ConfidentialTransactionAffirmationsByAccountIdDistinctCountCreatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_DISTINCT_COUNT_CREATED_AT_ASC', - ConfidentialTransactionAffirmationsByAccountIdDistinctCountCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_DISTINCT_COUNT_CREATED_AT_DESC', - ConfidentialTransactionAffirmationsByAccountIdDistinctCountCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - ConfidentialTransactionAffirmationsByAccountIdDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - ConfidentialTransactionAffirmationsByAccountIdDistinctCountEventIdxAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_DISTINCT_COUNT_EVENT_IDX_ASC', - ConfidentialTransactionAffirmationsByAccountIdDistinctCountEventIdxDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_DISTINCT_COUNT_EVENT_IDX_DESC', - ConfidentialTransactionAffirmationsByAccountIdDistinctCountIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_DISTINCT_COUNT_IDENTITY_ID_ASC', - ConfidentialTransactionAffirmationsByAccountIdDistinctCountIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_DISTINCT_COUNT_IDENTITY_ID_DESC', - ConfidentialTransactionAffirmationsByAccountIdDistinctCountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_DISTINCT_COUNT_ID_ASC', - ConfidentialTransactionAffirmationsByAccountIdDistinctCountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_DISTINCT_COUNT_ID_DESC', - ConfidentialTransactionAffirmationsByAccountIdDistinctCountLegIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_DISTINCT_COUNT_LEG_ID_ASC', - ConfidentialTransactionAffirmationsByAccountIdDistinctCountLegIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_DISTINCT_COUNT_LEG_ID_DESC', - ConfidentialTransactionAffirmationsByAccountIdDistinctCountProofsAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_DISTINCT_COUNT_PROOFS_ASC', - ConfidentialTransactionAffirmationsByAccountIdDistinctCountProofsDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_DISTINCT_COUNT_PROOFS_DESC', - ConfidentialTransactionAffirmationsByAccountIdDistinctCountStatusAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_DISTINCT_COUNT_STATUS_ASC', - ConfidentialTransactionAffirmationsByAccountIdDistinctCountStatusDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_DISTINCT_COUNT_STATUS_DESC', - ConfidentialTransactionAffirmationsByAccountIdDistinctCountTransactionIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_DISTINCT_COUNT_TRANSACTION_ID_ASC', - ConfidentialTransactionAffirmationsByAccountIdDistinctCountTransactionIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_DISTINCT_COUNT_TRANSACTION_ID_DESC', - ConfidentialTransactionAffirmationsByAccountIdDistinctCountTypeAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_DISTINCT_COUNT_TYPE_ASC', - ConfidentialTransactionAffirmationsByAccountIdDistinctCountTypeDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_DISTINCT_COUNT_TYPE_DESC', - ConfidentialTransactionAffirmationsByAccountIdDistinctCountUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - ConfidentialTransactionAffirmationsByAccountIdDistinctCountUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - ConfidentialTransactionAffirmationsByAccountIdDistinctCountUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - ConfidentialTransactionAffirmationsByAccountIdDistinctCountUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - ConfidentialTransactionAffirmationsByAccountIdMaxAccountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MAX_ACCOUNT_ID_ASC', - ConfidentialTransactionAffirmationsByAccountIdMaxAccountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MAX_ACCOUNT_ID_DESC', - ConfidentialTransactionAffirmationsByAccountIdMaxCreatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MAX_CREATED_AT_ASC', - ConfidentialTransactionAffirmationsByAccountIdMaxCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MAX_CREATED_AT_DESC', - ConfidentialTransactionAffirmationsByAccountIdMaxCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MAX_CREATED_BLOCK_ID_ASC', - ConfidentialTransactionAffirmationsByAccountIdMaxCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MAX_CREATED_BLOCK_ID_DESC', - ConfidentialTransactionAffirmationsByAccountIdMaxEventIdxAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MAX_EVENT_IDX_ASC', - ConfidentialTransactionAffirmationsByAccountIdMaxEventIdxDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MAX_EVENT_IDX_DESC', - ConfidentialTransactionAffirmationsByAccountIdMaxIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MAX_IDENTITY_ID_ASC', - ConfidentialTransactionAffirmationsByAccountIdMaxIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MAX_IDENTITY_ID_DESC', - ConfidentialTransactionAffirmationsByAccountIdMaxIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MAX_ID_ASC', - ConfidentialTransactionAffirmationsByAccountIdMaxIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MAX_ID_DESC', - ConfidentialTransactionAffirmationsByAccountIdMaxLegIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MAX_LEG_ID_ASC', - ConfidentialTransactionAffirmationsByAccountIdMaxLegIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MAX_LEG_ID_DESC', - ConfidentialTransactionAffirmationsByAccountIdMaxProofsAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MAX_PROOFS_ASC', - ConfidentialTransactionAffirmationsByAccountIdMaxProofsDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MAX_PROOFS_DESC', - ConfidentialTransactionAffirmationsByAccountIdMaxStatusAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MAX_STATUS_ASC', - ConfidentialTransactionAffirmationsByAccountIdMaxStatusDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MAX_STATUS_DESC', - ConfidentialTransactionAffirmationsByAccountIdMaxTransactionIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MAX_TRANSACTION_ID_ASC', - ConfidentialTransactionAffirmationsByAccountIdMaxTransactionIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MAX_TRANSACTION_ID_DESC', - ConfidentialTransactionAffirmationsByAccountIdMaxTypeAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MAX_TYPE_ASC', - ConfidentialTransactionAffirmationsByAccountIdMaxTypeDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MAX_TYPE_DESC', - ConfidentialTransactionAffirmationsByAccountIdMaxUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MAX_UPDATED_AT_ASC', - ConfidentialTransactionAffirmationsByAccountIdMaxUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MAX_UPDATED_AT_DESC', - ConfidentialTransactionAffirmationsByAccountIdMaxUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MAX_UPDATED_BLOCK_ID_ASC', - ConfidentialTransactionAffirmationsByAccountIdMaxUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MAX_UPDATED_BLOCK_ID_DESC', - ConfidentialTransactionAffirmationsByAccountIdMinAccountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MIN_ACCOUNT_ID_ASC', - ConfidentialTransactionAffirmationsByAccountIdMinAccountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MIN_ACCOUNT_ID_DESC', - ConfidentialTransactionAffirmationsByAccountIdMinCreatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MIN_CREATED_AT_ASC', - ConfidentialTransactionAffirmationsByAccountIdMinCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MIN_CREATED_AT_DESC', - ConfidentialTransactionAffirmationsByAccountIdMinCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MIN_CREATED_BLOCK_ID_ASC', - ConfidentialTransactionAffirmationsByAccountIdMinCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MIN_CREATED_BLOCK_ID_DESC', - ConfidentialTransactionAffirmationsByAccountIdMinEventIdxAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MIN_EVENT_IDX_ASC', - ConfidentialTransactionAffirmationsByAccountIdMinEventIdxDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MIN_EVENT_IDX_DESC', - ConfidentialTransactionAffirmationsByAccountIdMinIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MIN_IDENTITY_ID_ASC', - ConfidentialTransactionAffirmationsByAccountIdMinIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MIN_IDENTITY_ID_DESC', - ConfidentialTransactionAffirmationsByAccountIdMinIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MIN_ID_ASC', - ConfidentialTransactionAffirmationsByAccountIdMinIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MIN_ID_DESC', - ConfidentialTransactionAffirmationsByAccountIdMinLegIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MIN_LEG_ID_ASC', - ConfidentialTransactionAffirmationsByAccountIdMinLegIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MIN_LEG_ID_DESC', - ConfidentialTransactionAffirmationsByAccountIdMinProofsAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MIN_PROOFS_ASC', - ConfidentialTransactionAffirmationsByAccountIdMinProofsDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MIN_PROOFS_DESC', - ConfidentialTransactionAffirmationsByAccountIdMinStatusAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MIN_STATUS_ASC', - ConfidentialTransactionAffirmationsByAccountIdMinStatusDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MIN_STATUS_DESC', - ConfidentialTransactionAffirmationsByAccountIdMinTransactionIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MIN_TRANSACTION_ID_ASC', - ConfidentialTransactionAffirmationsByAccountIdMinTransactionIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MIN_TRANSACTION_ID_DESC', - ConfidentialTransactionAffirmationsByAccountIdMinTypeAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MIN_TYPE_ASC', - ConfidentialTransactionAffirmationsByAccountIdMinTypeDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MIN_TYPE_DESC', - ConfidentialTransactionAffirmationsByAccountIdMinUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MIN_UPDATED_AT_ASC', - ConfidentialTransactionAffirmationsByAccountIdMinUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MIN_UPDATED_AT_DESC', - ConfidentialTransactionAffirmationsByAccountIdMinUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MIN_UPDATED_BLOCK_ID_ASC', - ConfidentialTransactionAffirmationsByAccountIdMinUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_MIN_UPDATED_BLOCK_ID_DESC', - ConfidentialTransactionAffirmationsByAccountIdStddevPopulationAccountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_POPULATION_ACCOUNT_ID_ASC', - ConfidentialTransactionAffirmationsByAccountIdStddevPopulationAccountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_POPULATION_ACCOUNT_ID_DESC', - ConfidentialTransactionAffirmationsByAccountIdStddevPopulationCreatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_POPULATION_CREATED_AT_ASC', - ConfidentialTransactionAffirmationsByAccountIdStddevPopulationCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_POPULATION_CREATED_AT_DESC', - ConfidentialTransactionAffirmationsByAccountIdStddevPopulationCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - ConfidentialTransactionAffirmationsByAccountIdStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - ConfidentialTransactionAffirmationsByAccountIdStddevPopulationEventIdxAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_POPULATION_EVENT_IDX_ASC', - ConfidentialTransactionAffirmationsByAccountIdStddevPopulationEventIdxDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_POPULATION_EVENT_IDX_DESC', - ConfidentialTransactionAffirmationsByAccountIdStddevPopulationIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_POPULATION_IDENTITY_ID_ASC', - ConfidentialTransactionAffirmationsByAccountIdStddevPopulationIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_POPULATION_IDENTITY_ID_DESC', - ConfidentialTransactionAffirmationsByAccountIdStddevPopulationIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_POPULATION_ID_ASC', - ConfidentialTransactionAffirmationsByAccountIdStddevPopulationIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_POPULATION_ID_DESC', - ConfidentialTransactionAffirmationsByAccountIdStddevPopulationLegIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_POPULATION_LEG_ID_ASC', - ConfidentialTransactionAffirmationsByAccountIdStddevPopulationLegIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_POPULATION_LEG_ID_DESC', - ConfidentialTransactionAffirmationsByAccountIdStddevPopulationProofsAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_POPULATION_PROOFS_ASC', - ConfidentialTransactionAffirmationsByAccountIdStddevPopulationProofsDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_POPULATION_PROOFS_DESC', - ConfidentialTransactionAffirmationsByAccountIdStddevPopulationStatusAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_POPULATION_STATUS_ASC', - ConfidentialTransactionAffirmationsByAccountIdStddevPopulationStatusDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_POPULATION_STATUS_DESC', - ConfidentialTransactionAffirmationsByAccountIdStddevPopulationTransactionIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_POPULATION_TRANSACTION_ID_ASC', - ConfidentialTransactionAffirmationsByAccountIdStddevPopulationTransactionIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_POPULATION_TRANSACTION_ID_DESC', - ConfidentialTransactionAffirmationsByAccountIdStddevPopulationTypeAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_POPULATION_TYPE_ASC', - ConfidentialTransactionAffirmationsByAccountIdStddevPopulationTypeDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_POPULATION_TYPE_DESC', - ConfidentialTransactionAffirmationsByAccountIdStddevPopulationUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - ConfidentialTransactionAffirmationsByAccountIdStddevPopulationUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - ConfidentialTransactionAffirmationsByAccountIdStddevPopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - ConfidentialTransactionAffirmationsByAccountIdStddevPopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - ConfidentialTransactionAffirmationsByAccountIdStddevSampleAccountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_SAMPLE_ACCOUNT_ID_ASC', - ConfidentialTransactionAffirmationsByAccountIdStddevSampleAccountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_SAMPLE_ACCOUNT_ID_DESC', - ConfidentialTransactionAffirmationsByAccountIdStddevSampleCreatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - ConfidentialTransactionAffirmationsByAccountIdStddevSampleCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - ConfidentialTransactionAffirmationsByAccountIdStddevSampleCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - ConfidentialTransactionAffirmationsByAccountIdStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - ConfidentialTransactionAffirmationsByAccountIdStddevSampleEventIdxAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', - ConfidentialTransactionAffirmationsByAccountIdStddevSampleEventIdxDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', - ConfidentialTransactionAffirmationsByAccountIdStddevSampleIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_SAMPLE_IDENTITY_ID_ASC', - ConfidentialTransactionAffirmationsByAccountIdStddevSampleIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_SAMPLE_IDENTITY_ID_DESC', - ConfidentialTransactionAffirmationsByAccountIdStddevSampleIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_SAMPLE_ID_ASC', - ConfidentialTransactionAffirmationsByAccountIdStddevSampleIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_SAMPLE_ID_DESC', - ConfidentialTransactionAffirmationsByAccountIdStddevSampleLegIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_SAMPLE_LEG_ID_ASC', - ConfidentialTransactionAffirmationsByAccountIdStddevSampleLegIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_SAMPLE_LEG_ID_DESC', - ConfidentialTransactionAffirmationsByAccountIdStddevSampleProofsAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_SAMPLE_PROOFS_ASC', - ConfidentialTransactionAffirmationsByAccountIdStddevSampleProofsDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_SAMPLE_PROOFS_DESC', - ConfidentialTransactionAffirmationsByAccountIdStddevSampleStatusAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_SAMPLE_STATUS_ASC', - ConfidentialTransactionAffirmationsByAccountIdStddevSampleStatusDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_SAMPLE_STATUS_DESC', - ConfidentialTransactionAffirmationsByAccountIdStddevSampleTransactionIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_SAMPLE_TRANSACTION_ID_ASC', - ConfidentialTransactionAffirmationsByAccountIdStddevSampleTransactionIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_SAMPLE_TRANSACTION_ID_DESC', - ConfidentialTransactionAffirmationsByAccountIdStddevSampleTypeAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_SAMPLE_TYPE_ASC', - ConfidentialTransactionAffirmationsByAccountIdStddevSampleTypeDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_SAMPLE_TYPE_DESC', - ConfidentialTransactionAffirmationsByAccountIdStddevSampleUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - ConfidentialTransactionAffirmationsByAccountIdStddevSampleUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - ConfidentialTransactionAffirmationsByAccountIdStddevSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - ConfidentialTransactionAffirmationsByAccountIdStddevSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - ConfidentialTransactionAffirmationsByAccountIdSumAccountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_SUM_ACCOUNT_ID_ASC', - ConfidentialTransactionAffirmationsByAccountIdSumAccountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_SUM_ACCOUNT_ID_DESC', - ConfidentialTransactionAffirmationsByAccountIdSumCreatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_SUM_CREATED_AT_ASC', - ConfidentialTransactionAffirmationsByAccountIdSumCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_SUM_CREATED_AT_DESC', - ConfidentialTransactionAffirmationsByAccountIdSumCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_SUM_CREATED_BLOCK_ID_ASC', - ConfidentialTransactionAffirmationsByAccountIdSumCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_SUM_CREATED_BLOCK_ID_DESC', - ConfidentialTransactionAffirmationsByAccountIdSumEventIdxAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_SUM_EVENT_IDX_ASC', - ConfidentialTransactionAffirmationsByAccountIdSumEventIdxDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_SUM_EVENT_IDX_DESC', - ConfidentialTransactionAffirmationsByAccountIdSumIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_SUM_IDENTITY_ID_ASC', - ConfidentialTransactionAffirmationsByAccountIdSumIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_SUM_IDENTITY_ID_DESC', - ConfidentialTransactionAffirmationsByAccountIdSumIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_SUM_ID_ASC', - ConfidentialTransactionAffirmationsByAccountIdSumIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_SUM_ID_DESC', - ConfidentialTransactionAffirmationsByAccountIdSumLegIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_SUM_LEG_ID_ASC', - ConfidentialTransactionAffirmationsByAccountIdSumLegIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_SUM_LEG_ID_DESC', - ConfidentialTransactionAffirmationsByAccountIdSumProofsAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_SUM_PROOFS_ASC', - ConfidentialTransactionAffirmationsByAccountIdSumProofsDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_SUM_PROOFS_DESC', - ConfidentialTransactionAffirmationsByAccountIdSumStatusAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_SUM_STATUS_ASC', - ConfidentialTransactionAffirmationsByAccountIdSumStatusDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_SUM_STATUS_DESC', - ConfidentialTransactionAffirmationsByAccountIdSumTransactionIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_SUM_TRANSACTION_ID_ASC', - ConfidentialTransactionAffirmationsByAccountIdSumTransactionIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_SUM_TRANSACTION_ID_DESC', - ConfidentialTransactionAffirmationsByAccountIdSumTypeAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_SUM_TYPE_ASC', - ConfidentialTransactionAffirmationsByAccountIdSumTypeDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_SUM_TYPE_DESC', - ConfidentialTransactionAffirmationsByAccountIdSumUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_SUM_UPDATED_AT_ASC', - ConfidentialTransactionAffirmationsByAccountIdSumUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_SUM_UPDATED_AT_DESC', - ConfidentialTransactionAffirmationsByAccountIdSumUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_SUM_UPDATED_BLOCK_ID_ASC', - ConfidentialTransactionAffirmationsByAccountIdSumUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_SUM_UPDATED_BLOCK_ID_DESC', - ConfidentialTransactionAffirmationsByAccountIdVariancePopulationAccountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_POPULATION_ACCOUNT_ID_ASC', - ConfidentialTransactionAffirmationsByAccountIdVariancePopulationAccountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_POPULATION_ACCOUNT_ID_DESC', - ConfidentialTransactionAffirmationsByAccountIdVariancePopulationCreatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - ConfidentialTransactionAffirmationsByAccountIdVariancePopulationCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - ConfidentialTransactionAffirmationsByAccountIdVariancePopulationCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - ConfidentialTransactionAffirmationsByAccountIdVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - ConfidentialTransactionAffirmationsByAccountIdVariancePopulationEventIdxAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', - ConfidentialTransactionAffirmationsByAccountIdVariancePopulationEventIdxDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', - ConfidentialTransactionAffirmationsByAccountIdVariancePopulationIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_POPULATION_IDENTITY_ID_ASC', - ConfidentialTransactionAffirmationsByAccountIdVariancePopulationIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_POPULATION_IDENTITY_ID_DESC', - ConfidentialTransactionAffirmationsByAccountIdVariancePopulationIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_POPULATION_ID_ASC', - ConfidentialTransactionAffirmationsByAccountIdVariancePopulationIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_POPULATION_ID_DESC', - ConfidentialTransactionAffirmationsByAccountIdVariancePopulationLegIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_POPULATION_LEG_ID_ASC', - ConfidentialTransactionAffirmationsByAccountIdVariancePopulationLegIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_POPULATION_LEG_ID_DESC', - ConfidentialTransactionAffirmationsByAccountIdVariancePopulationProofsAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_POPULATION_PROOFS_ASC', - ConfidentialTransactionAffirmationsByAccountIdVariancePopulationProofsDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_POPULATION_PROOFS_DESC', - ConfidentialTransactionAffirmationsByAccountIdVariancePopulationStatusAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_POPULATION_STATUS_ASC', - ConfidentialTransactionAffirmationsByAccountIdVariancePopulationStatusDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_POPULATION_STATUS_DESC', - ConfidentialTransactionAffirmationsByAccountIdVariancePopulationTransactionIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_POPULATION_TRANSACTION_ID_ASC', - ConfidentialTransactionAffirmationsByAccountIdVariancePopulationTransactionIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_POPULATION_TRANSACTION_ID_DESC', - ConfidentialTransactionAffirmationsByAccountIdVariancePopulationTypeAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_POPULATION_TYPE_ASC', - ConfidentialTransactionAffirmationsByAccountIdVariancePopulationTypeDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_POPULATION_TYPE_DESC', - ConfidentialTransactionAffirmationsByAccountIdVariancePopulationUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - ConfidentialTransactionAffirmationsByAccountIdVariancePopulationUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - ConfidentialTransactionAffirmationsByAccountIdVariancePopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - ConfidentialTransactionAffirmationsByAccountIdVariancePopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - ConfidentialTransactionAffirmationsByAccountIdVarianceSampleAccountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_ACCOUNT_ID_ASC', - ConfidentialTransactionAffirmationsByAccountIdVarianceSampleAccountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_ACCOUNT_ID_DESC', - ConfidentialTransactionAffirmationsByAccountIdVarianceSampleCreatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - ConfidentialTransactionAffirmationsByAccountIdVarianceSampleCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - ConfidentialTransactionAffirmationsByAccountIdVarianceSampleCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - ConfidentialTransactionAffirmationsByAccountIdVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - ConfidentialTransactionAffirmationsByAccountIdVarianceSampleEventIdxAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', - ConfidentialTransactionAffirmationsByAccountIdVarianceSampleEventIdxDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', - ConfidentialTransactionAffirmationsByAccountIdVarianceSampleIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_IDENTITY_ID_ASC', - ConfidentialTransactionAffirmationsByAccountIdVarianceSampleIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_IDENTITY_ID_DESC', - ConfidentialTransactionAffirmationsByAccountIdVarianceSampleIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_ID_ASC', - ConfidentialTransactionAffirmationsByAccountIdVarianceSampleIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_ID_DESC', - ConfidentialTransactionAffirmationsByAccountIdVarianceSampleLegIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_LEG_ID_ASC', - ConfidentialTransactionAffirmationsByAccountIdVarianceSampleLegIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_LEG_ID_DESC', - ConfidentialTransactionAffirmationsByAccountIdVarianceSampleProofsAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_PROOFS_ASC', - ConfidentialTransactionAffirmationsByAccountIdVarianceSampleProofsDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_PROOFS_DESC', - ConfidentialTransactionAffirmationsByAccountIdVarianceSampleStatusAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_STATUS_ASC', - ConfidentialTransactionAffirmationsByAccountIdVarianceSampleStatusDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_STATUS_DESC', - ConfidentialTransactionAffirmationsByAccountIdVarianceSampleTransactionIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_TRANSACTION_ID_ASC', - ConfidentialTransactionAffirmationsByAccountIdVarianceSampleTransactionIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_TRANSACTION_ID_DESC', - ConfidentialTransactionAffirmationsByAccountIdVarianceSampleTypeAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_TYPE_ASC', - ConfidentialTransactionAffirmationsByAccountIdVarianceSampleTypeDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_TYPE_DESC', - ConfidentialTransactionAffirmationsByAccountIdVarianceSampleUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - ConfidentialTransactionAffirmationsByAccountIdVarianceSampleUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - ConfidentialTransactionAffirmationsByAccountIdVarianceSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - ConfidentialTransactionAffirmationsByAccountIdVarianceSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_BY_ACCOUNT_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - CreatedAtAsc = 'CREATED_AT_ASC', - CreatedAtDesc = 'CREATED_AT_DESC', - CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', - CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', - CreatorIdAsc = 'CREATOR_ID_ASC', - CreatorIdDesc = 'CREATOR_ID_DESC', - EventIdxAsc = 'EVENT_IDX_ASC', - EventIdxDesc = 'EVENT_IDX_DESC', - IdAsc = 'ID_ASC', - IdDesc = 'ID_DESC', - Natural = 'NATURAL', - PrimaryKeyAsc = 'PRIMARY_KEY_ASC', - PrimaryKeyDesc = 'PRIMARY_KEY_DESC', - UpdatedAtAsc = 'UPDATED_AT_ASC', - UpdatedAtDesc = 'UPDATED_AT_DESC', - UpdatedBlockIdAsc = 'UPDATED_BLOCK_ID_ASC', - UpdatedBlockIdDesc = 'UPDATED_BLOCK_ID_DESC', -} - -/** Represents a confidential asset */ -export type ConfidentialAsset = Node & { - __typename?: 'ConfidentialAsset'; - allowedVenues?: Maybe; - assetId: Scalars['String']['output']; - auditors?: Maybe; - /** Reads and enables pagination through a set of `Block`. */ - blocksByConfidentialAssetHistoryAssetIdAndCreatedBlockId: ConfidentialAssetBlocksByConfidentialAssetHistoryAssetIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByConfidentialAssetHistoryAssetIdAndUpdatedBlockId: ConfidentialAssetBlocksByConfidentialAssetHistoryAssetIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByConfidentialAssetHolderAssetIdAndCreatedBlockId: ConfidentialAssetBlocksByConfidentialAssetHolderAssetIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByConfidentialAssetHolderAssetIdAndUpdatedBlockId: ConfidentialAssetBlocksByConfidentialAssetHolderAssetIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `ConfidentialAccount`. */ - confidentialAccountsByConfidentialAssetHistoryAssetIdAndFromId: ConfidentialAssetConfidentialAccountsByConfidentialAssetHistoryAssetIdAndFromIdManyToManyConnection; - /** Reads and enables pagination through a set of `ConfidentialAccount`. */ - confidentialAccountsByConfidentialAssetHistoryAssetIdAndToId: ConfidentialAssetConfidentialAccountsByConfidentialAssetHistoryAssetIdAndToIdManyToManyConnection; - /** Reads and enables pagination through a set of `ConfidentialAccount`. */ - confidentialAccountsByConfidentialAssetHolderAssetIdAndAccountId: ConfidentialAssetConfidentialAccountsByConfidentialAssetHolderAssetIdAndAccountIdManyToManyConnection; - /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ - confidentialAssetHistoriesByAssetId: ConfidentialAssetHistoriesConnection; - /** Reads and enables pagination through a set of `ConfidentialAssetHolder`. */ - confidentialAssetHoldersByAssetId: ConfidentialAssetHoldersConnection; - /** Reads and enables pagination through a set of `ConfidentialTransaction`. */ - confidentialTransactionsByConfidentialAssetHistoryAssetIdAndTransactionId: ConfidentialAssetConfidentialTransactionsByConfidentialAssetHistoryAssetIdAndTransactionIdManyToManyConnection; - createdAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `ConfidentialAsset`. */ - createdBlock?: Maybe; - createdBlockId: Scalars['String']['output']; - /** Reads a single `Identity` that is related to this `ConfidentialAsset`. */ - creator?: Maybe; - creatorId: Scalars['String']['output']; - data?: Maybe; - eventIdx: Scalars['Int']['output']; - id: Scalars['String']['output']; - mediators?: Maybe; - /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ - nodeId: Scalars['ID']['output']; - ticker?: Maybe; - totalSupply: Scalars['BigFloat']['output']; - updatedAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `ConfidentialAsset`. */ - updatedBlock?: Maybe; - updatedBlockId: Scalars['String']['output']; - venueFiltering: Scalars['Boolean']['output']; -}; - -/** Represents a confidential asset */ -export type ConfidentialAssetBlocksByConfidentialAssetHistoryAssetIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a confidential asset */ -export type ConfidentialAssetBlocksByConfidentialAssetHistoryAssetIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a confidential asset */ -export type ConfidentialAssetBlocksByConfidentialAssetHolderAssetIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a confidential asset */ -export type ConfidentialAssetBlocksByConfidentialAssetHolderAssetIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a confidential asset */ -export type ConfidentialAssetConfidentialAccountsByConfidentialAssetHistoryAssetIdAndFromIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a confidential asset */ -export type ConfidentialAssetConfidentialAccountsByConfidentialAssetHistoryAssetIdAndToIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a confidential asset */ -export type ConfidentialAssetConfidentialAccountsByConfidentialAssetHolderAssetIdAndAccountIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** Represents a confidential asset */ -export type ConfidentialAssetConfidentialAssetHistoriesByAssetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a confidential asset */ -export type ConfidentialAssetConfidentialAssetHoldersByAssetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a confidential asset */ -export type ConfidentialAssetConfidentialTransactionsByConfidentialAssetHistoryAssetIdAndTransactionIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -export type ConfidentialAssetAggregates = { - __typename?: 'ConfidentialAssetAggregates'; - /** Mean average aggregates across the matching connection (ignoring before/after/first/last/offset) */ - average?: Maybe; - /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ - distinctCount?: Maybe; - keys?: Maybe>; - /** Maximum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - max?: Maybe; - /** Minimum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - min?: Maybe; - /** Population standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevPopulation?: Maybe; - /** Sample standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevSample?: Maybe; - /** Sum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - sum?: Maybe; - /** Population variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - variancePopulation?: Maybe; - /** Sample variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - varianceSample?: Maybe; -}; - -/** A filter to be used against aggregates of `ConfidentialAsset` object types. */ -export type ConfidentialAssetAggregatesFilter = { - /** Mean average aggregate over matching `ConfidentialAsset` objects. */ - average?: InputMaybe; - /** Distinct count aggregate over matching `ConfidentialAsset` objects. */ - distinctCount?: InputMaybe; - /** A filter that must pass for the relevant `ConfidentialAsset` object to be included within the aggregate. */ - filter?: InputMaybe; - /** Maximum aggregate over matching `ConfidentialAsset` objects. */ - max?: InputMaybe; - /** Minimum aggregate over matching `ConfidentialAsset` objects. */ - min?: InputMaybe; - /** Population standard deviation aggregate over matching `ConfidentialAsset` objects. */ - stddevPopulation?: InputMaybe; - /** Sample standard deviation aggregate over matching `ConfidentialAsset` objects. */ - stddevSample?: InputMaybe; - /** Sum aggregate over matching `ConfidentialAsset` objects. */ - sum?: InputMaybe; - /** Population variance aggregate over matching `ConfidentialAsset` objects. */ - variancePopulation?: InputMaybe; - /** Sample variance aggregate over matching `ConfidentialAsset` objects. */ - varianceSample?: InputMaybe; -}; - -export type ConfidentialAssetAverageAggregateFilter = { - eventIdx?: InputMaybe; - totalSupply?: InputMaybe; -}; - -export type ConfidentialAssetAverageAggregates = { - __typename?: 'ConfidentialAssetAverageAggregates'; - /** Mean average of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Mean average of totalSupply across the matching connection */ - totalSupply?: Maybe; -}; - -/** A connection to a list of `Block` values, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialAssetBlocksByConfidentialAssetHistoryAssetIdAndCreatedBlockIdManyToManyConnection = - { - __typename?: 'ConfidentialAssetBlocksByConfidentialAssetHistoryAssetIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `ConfidentialAssetHistory`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialAssetBlocksByConfidentialAssetHistoryAssetIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialAssetBlocksByConfidentialAssetHistoryAssetIdAndCreatedBlockIdManyToManyEdge = - { - __typename?: 'ConfidentialAssetBlocksByConfidentialAssetHistoryAssetIdAndCreatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ - confidentialAssetHistoriesByCreatedBlockId: ConfidentialAssetHistoriesConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - }; - -/** A `Block` edge in the connection, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialAssetBlocksByConfidentialAssetHistoryAssetIdAndCreatedBlockIdManyToManyEdgeConfidentialAssetHistoriesByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialAssetBlocksByConfidentialAssetHistoryAssetIdAndUpdatedBlockIdManyToManyConnection = - { - __typename?: 'ConfidentialAssetBlocksByConfidentialAssetHistoryAssetIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `ConfidentialAssetHistory`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialAssetBlocksByConfidentialAssetHistoryAssetIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialAssetBlocksByConfidentialAssetHistoryAssetIdAndUpdatedBlockIdManyToManyEdge = - { - __typename?: 'ConfidentialAssetBlocksByConfidentialAssetHistoryAssetIdAndUpdatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ - confidentialAssetHistoriesByUpdatedBlockId: ConfidentialAssetHistoriesConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - }; - -/** A `Block` edge in the connection, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialAssetBlocksByConfidentialAssetHistoryAssetIdAndUpdatedBlockIdManyToManyEdgeConfidentialAssetHistoriesByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialAssetHolder`. */ -export type ConfidentialAssetBlocksByConfidentialAssetHolderAssetIdAndCreatedBlockIdManyToManyConnection = - { - __typename?: 'ConfidentialAssetBlocksByConfidentialAssetHolderAssetIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `ConfidentialAssetHolder`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialAssetHolder`. */ -export type ConfidentialAssetBlocksByConfidentialAssetHolderAssetIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `ConfidentialAssetHolder`. */ -export type ConfidentialAssetBlocksByConfidentialAssetHolderAssetIdAndCreatedBlockIdManyToManyEdge = - { - __typename?: 'ConfidentialAssetBlocksByConfidentialAssetHolderAssetIdAndCreatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialAssetHolder`. */ - confidentialAssetHoldersByCreatedBlockId: ConfidentialAssetHoldersConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - }; - -/** A `Block` edge in the connection, with data from `ConfidentialAssetHolder`. */ -export type ConfidentialAssetBlocksByConfidentialAssetHolderAssetIdAndCreatedBlockIdManyToManyEdgeConfidentialAssetHoldersByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialAssetHolder`. */ -export type ConfidentialAssetBlocksByConfidentialAssetHolderAssetIdAndUpdatedBlockIdManyToManyConnection = - { - __typename?: 'ConfidentialAssetBlocksByConfidentialAssetHolderAssetIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `ConfidentialAssetHolder`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialAssetHolder`. */ -export type ConfidentialAssetBlocksByConfidentialAssetHolderAssetIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `ConfidentialAssetHolder`. */ -export type ConfidentialAssetBlocksByConfidentialAssetHolderAssetIdAndUpdatedBlockIdManyToManyEdge = - { - __typename?: 'ConfidentialAssetBlocksByConfidentialAssetHolderAssetIdAndUpdatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialAssetHolder`. */ - confidentialAssetHoldersByUpdatedBlockId: ConfidentialAssetHoldersConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - }; - -/** A `Block` edge in the connection, with data from `ConfidentialAssetHolder`. */ -export type ConfidentialAssetBlocksByConfidentialAssetHolderAssetIdAndUpdatedBlockIdManyToManyEdgeConfidentialAssetHoldersByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialAssetConfidentialAccountsByConfidentialAssetHistoryAssetIdAndFromIdManyToManyConnection = - { - __typename?: 'ConfidentialAssetConfidentialAccountsByConfidentialAssetHistoryAssetIdAndFromIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `ConfidentialAccount`, info from the `ConfidentialAssetHistory`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `ConfidentialAccount` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `ConfidentialAccount` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialAssetConfidentialAccountsByConfidentialAssetHistoryAssetIdAndFromIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialAssetConfidentialAccountsByConfidentialAssetHistoryAssetIdAndFromIdManyToManyEdge = - { - __typename?: 'ConfidentialAssetConfidentialAccountsByConfidentialAssetHistoryAssetIdAndFromIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ - confidentialAssetHistoriesByFromId: ConfidentialAssetHistoriesConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `ConfidentialAccount` at the end of the edge. */ - node?: Maybe; - }; - -/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialAssetConfidentialAccountsByConfidentialAssetHistoryAssetIdAndFromIdManyToManyEdgeConfidentialAssetHistoriesByFromIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialAssetConfidentialAccountsByConfidentialAssetHistoryAssetIdAndToIdManyToManyConnection = - { - __typename?: 'ConfidentialAssetConfidentialAccountsByConfidentialAssetHistoryAssetIdAndToIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `ConfidentialAccount`, info from the `ConfidentialAssetHistory`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `ConfidentialAccount` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `ConfidentialAccount` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialAssetConfidentialAccountsByConfidentialAssetHistoryAssetIdAndToIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialAssetConfidentialAccountsByConfidentialAssetHistoryAssetIdAndToIdManyToManyEdge = - { - __typename?: 'ConfidentialAssetConfidentialAccountsByConfidentialAssetHistoryAssetIdAndToIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ - confidentialAssetHistoriesByToId: ConfidentialAssetHistoriesConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `ConfidentialAccount` at the end of the edge. */ - node?: Maybe; - }; - -/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialAssetConfidentialAccountsByConfidentialAssetHistoryAssetIdAndToIdManyToManyEdgeConfidentialAssetHistoriesByToIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialAssetHolder`. */ -export type ConfidentialAssetConfidentialAccountsByConfidentialAssetHolderAssetIdAndAccountIdManyToManyConnection = - { - __typename?: 'ConfidentialAssetConfidentialAccountsByConfidentialAssetHolderAssetIdAndAccountIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `ConfidentialAccount`, info from the `ConfidentialAssetHolder`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `ConfidentialAccount` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `ConfidentialAccount` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialAssetHolder`. */ -export type ConfidentialAssetConfidentialAccountsByConfidentialAssetHolderAssetIdAndAccountIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialAssetHolder`. */ -export type ConfidentialAssetConfidentialAccountsByConfidentialAssetHolderAssetIdAndAccountIdManyToManyEdge = - { - __typename?: 'ConfidentialAssetConfidentialAccountsByConfidentialAssetHolderAssetIdAndAccountIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialAssetHolder`. */ - confidentialAssetHoldersByAccountId: ConfidentialAssetHoldersConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `ConfidentialAccount` at the end of the edge. */ - node?: Maybe; - }; - -/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialAssetHolder`. */ -export type ConfidentialAssetConfidentialAccountsByConfidentialAssetHolderAssetIdAndAccountIdManyToManyEdgeConfidentialAssetHoldersByAccountIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `ConfidentialTransaction` values, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialAssetConfidentialTransactionsByConfidentialAssetHistoryAssetIdAndTransactionIdManyToManyConnection = - { - __typename?: 'ConfidentialAssetConfidentialTransactionsByConfidentialAssetHistoryAssetIdAndTransactionIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `ConfidentialTransaction`, info from the `ConfidentialAssetHistory`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `ConfidentialTransaction` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `ConfidentialTransaction` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `ConfidentialTransaction` values, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialAssetConfidentialTransactionsByConfidentialAssetHistoryAssetIdAndTransactionIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `ConfidentialTransaction` edge in the connection, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialAssetConfidentialTransactionsByConfidentialAssetHistoryAssetIdAndTransactionIdManyToManyEdge = - { - __typename?: 'ConfidentialAssetConfidentialTransactionsByConfidentialAssetHistoryAssetIdAndTransactionIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ - confidentialAssetHistoriesByTransactionId: ConfidentialAssetHistoriesConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `ConfidentialTransaction` at the end of the edge. */ - node?: Maybe; - }; - -/** A `ConfidentialTransaction` edge in the connection, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialAssetConfidentialTransactionsByConfidentialAssetHistoryAssetIdAndTransactionIdManyToManyEdgeConfidentialAssetHistoriesByTransactionIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -export type ConfidentialAssetDistinctCountAggregateFilter = { - allowedVenues?: InputMaybe; - assetId?: InputMaybe; - auditors?: InputMaybe; - createdAt?: InputMaybe; - createdBlockId?: InputMaybe; - creatorId?: InputMaybe; - data?: InputMaybe; - eventIdx?: InputMaybe; - id?: InputMaybe; - mediators?: InputMaybe; - ticker?: InputMaybe; - totalSupply?: InputMaybe; - updatedAt?: InputMaybe; - updatedBlockId?: InputMaybe; - venueFiltering?: InputMaybe; -}; - -export type ConfidentialAssetDistinctCountAggregates = { - __typename?: 'ConfidentialAssetDistinctCountAggregates'; - /** Distinct count of allowedVenues across the matching connection */ - allowedVenues?: Maybe; - /** Distinct count of assetId across the matching connection */ - assetId?: Maybe; - /** Distinct count of auditors across the matching connection */ - auditors?: Maybe; - /** Distinct count of createdAt across the matching connection */ - createdAt?: Maybe; - /** Distinct count of createdBlockId across the matching connection */ - createdBlockId?: Maybe; - /** Distinct count of creatorId across the matching connection */ - creatorId?: Maybe; - /** Distinct count of data across the matching connection */ - data?: Maybe; - /** Distinct count of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Distinct count of id across the matching connection */ - id?: Maybe; - /** Distinct count of mediators across the matching connection */ - mediators?: Maybe; - /** Distinct count of ticker across the matching connection */ - ticker?: Maybe; - /** Distinct count of totalSupply across the matching connection */ - totalSupply?: Maybe; - /** Distinct count of updatedAt across the matching connection */ - updatedAt?: Maybe; - /** Distinct count of updatedBlockId across the matching connection */ - updatedBlockId?: Maybe; - /** Distinct count of venueFiltering across the matching connection */ - venueFiltering?: Maybe; -}; - -/** A filter to be used against `ConfidentialAsset` object types. All fields are combined with a logical ‘and.’ */ -export type ConfidentialAssetFilter = { - /** Filter by the object’s `allowedVenues` field. */ - allowedVenues?: InputMaybe; - /** Checks for all expressions in this list. */ - and?: InputMaybe>; - /** Filter by the object’s `assetId` field. */ - assetId?: InputMaybe; - /** Filter by the object’s `auditors` field. */ - auditors?: InputMaybe; - /** Filter by the object’s `confidentialAssetHistoriesByAssetId` relation. */ - confidentialAssetHistoriesByAssetId?: InputMaybe; - /** Some related `confidentialAssetHistoriesByAssetId` exist. */ - confidentialAssetHistoriesByAssetIdExist?: InputMaybe; - /** Filter by the object’s `confidentialAssetHoldersByAssetId` relation. */ - confidentialAssetHoldersByAssetId?: InputMaybe; - /** Some related `confidentialAssetHoldersByAssetId` exist. */ - confidentialAssetHoldersByAssetIdExist?: InputMaybe; - /** Filter by the object’s `createdAt` field. */ - createdAt?: InputMaybe; - /** Filter by the object’s `createdBlock` relation. */ - createdBlock?: InputMaybe; - /** Filter by the object’s `createdBlockId` field. */ - createdBlockId?: InputMaybe; - /** Filter by the object’s `creator` relation. */ - creator?: InputMaybe; - /** Filter by the object’s `creatorId` field. */ - creatorId?: InputMaybe; - /** Filter by the object’s `data` field. */ - data?: InputMaybe; - /** Filter by the object’s `eventIdx` field. */ - eventIdx?: InputMaybe; - /** Filter by the object’s `id` field. */ - id?: InputMaybe; - /** Filter by the object’s `mediators` field. */ - mediators?: InputMaybe; - /** Negates the expression. */ - not?: InputMaybe; - /** Checks for any expressions in this list. */ - or?: InputMaybe>; - /** Filter by the object’s `ticker` field. */ - ticker?: InputMaybe; - /** Filter by the object’s `totalSupply` field. */ - totalSupply?: InputMaybe; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: InputMaybe; - /** Filter by the object’s `updatedBlock` relation. */ - updatedBlock?: InputMaybe; - /** Filter by the object’s `updatedBlockId` field. */ - updatedBlockId?: InputMaybe; - /** Filter by the object’s `venueFiltering` field. */ - venueFiltering?: InputMaybe; -}; - -/** A connection to a list of `ConfidentialAssetHistory` values. */ -export type ConfidentialAssetHistoriesConnection = { - __typename?: 'ConfidentialAssetHistoriesConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `ConfidentialAssetHistory` and cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `ConfidentialAssetHistory` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `ConfidentialAssetHistory` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `ConfidentialAssetHistory` values. */ -export type ConfidentialAssetHistoriesConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `ConfidentialAssetHistory` edge in the connection. */ -export type ConfidentialAssetHistoriesEdge = { - __typename?: 'ConfidentialAssetHistoriesEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `ConfidentialAssetHistory` at the end of the edge. */ - node?: Maybe; -}; - -/** Grouping methods for `ConfidentialAssetHistory` for usage during aggregation. */ -export enum ConfidentialAssetHistoriesGroupBy { - Amount = 'AMOUNT', - AssetId = 'ASSET_ID', - CreatedAt = 'CREATED_AT', - CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', - CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', - CreatedBlockId = 'CREATED_BLOCK_ID', - Datetime = 'DATETIME', - DatetimeTruncatedToDay = 'DATETIME_TRUNCATED_TO_DAY', - DatetimeTruncatedToHour = 'DATETIME_TRUNCATED_TO_HOUR', - EventId = 'EVENT_ID', - EventIdx = 'EVENT_IDX', - ExtrinsicIdx = 'EXTRINSIC_IDX', - FromId = 'FROM_ID', - Memo = 'MEMO', - ToId = 'TO_ID', - TransactionId = 'TRANSACTION_ID', - UpdatedAt = 'UPDATED_AT', - UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', - UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export type ConfidentialAssetHistoriesHavingAverageInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ConfidentialAssetHistoriesHavingDistinctCountInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Conditions for `ConfidentialAssetHistory` aggregates. */ -export type ConfidentialAssetHistoriesHavingInput = { - AND?: InputMaybe>; - OR?: InputMaybe>; - average?: InputMaybe; - distinctCount?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddevPopulation?: InputMaybe; - stddevSample?: InputMaybe; - sum?: InputMaybe; - variancePopulation?: InputMaybe; - varianceSample?: InputMaybe; -}; - -export type ConfidentialAssetHistoriesHavingMaxInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ConfidentialAssetHistoriesHavingMinInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ConfidentialAssetHistoriesHavingStddevPopulationInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ConfidentialAssetHistoriesHavingStddevSampleInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ConfidentialAssetHistoriesHavingSumInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ConfidentialAssetHistoriesHavingVariancePopulationInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ConfidentialAssetHistoriesHavingVarianceSampleInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Methods to use when ordering `ConfidentialAssetHistory`. */ -export enum ConfidentialAssetHistoriesOrderBy { - AmountAsc = 'AMOUNT_ASC', - AmountDesc = 'AMOUNT_DESC', - AssetIdAsc = 'ASSET_ID_ASC', - AssetIdDesc = 'ASSET_ID_DESC', - CreatedAtAsc = 'CREATED_AT_ASC', - CreatedAtDesc = 'CREATED_AT_DESC', - CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', - CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', - DatetimeAsc = 'DATETIME_ASC', - DatetimeDesc = 'DATETIME_DESC', - EventIdxAsc = 'EVENT_IDX_ASC', - EventIdxDesc = 'EVENT_IDX_DESC', - EventIdAsc = 'EVENT_ID_ASC', - EventIdDesc = 'EVENT_ID_DESC', - ExtrinsicIdxAsc = 'EXTRINSIC_IDX_ASC', - ExtrinsicIdxDesc = 'EXTRINSIC_IDX_DESC', - FromIdAsc = 'FROM_ID_ASC', - FromIdDesc = 'FROM_ID_DESC', - IdAsc = 'ID_ASC', - IdDesc = 'ID_DESC', - MemoAsc = 'MEMO_ASC', - MemoDesc = 'MEMO_DESC', - Natural = 'NATURAL', - PrimaryKeyAsc = 'PRIMARY_KEY_ASC', - PrimaryKeyDesc = 'PRIMARY_KEY_DESC', - ToIdAsc = 'TO_ID_ASC', - ToIdDesc = 'TO_ID_DESC', - TransactionIdAsc = 'TRANSACTION_ID_ASC', - TransactionIdDesc = 'TRANSACTION_ID_DESC', - UpdatedAtAsc = 'UPDATED_AT_ASC', - UpdatedAtDesc = 'UPDATED_AT_DESC', - UpdatedBlockIdAsc = 'UPDATED_BLOCK_ID_ASC', - UpdatedBlockIdDesc = 'UPDATED_BLOCK_ID_DESC', -} - -/** Represents a confidential asset transaction history entry */ -export type ConfidentialAssetHistory = Node & { - __typename?: 'ConfidentialAssetHistory'; - amount: Scalars['String']['output']; - /** Reads a single `ConfidentialAsset` that is related to this `ConfidentialAssetHistory`. */ - asset?: Maybe; - assetId: Scalars['String']['output']; - createdAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `ConfidentialAssetHistory`. */ - createdBlock?: Maybe; - createdBlockId: Scalars['String']['output']; - datetime: Scalars['Datetime']['output']; - eventId: EventIdEnum; - eventIdx: Scalars['Int']['output']; - extrinsicIdx?: Maybe; - /** Reads a single `ConfidentialAccount` that is related to this `ConfidentialAssetHistory`. */ - from?: Maybe; - fromId?: Maybe; - id: Scalars['String']['output']; - memo?: Maybe; - /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ - nodeId: Scalars['ID']['output']; - /** Reads a single `ConfidentialAccount` that is related to this `ConfidentialAssetHistory`. */ - to?: Maybe; - toId?: Maybe; - /** Reads a single `ConfidentialTransaction` that is related to this `ConfidentialAssetHistory`. */ - transaction?: Maybe; - transactionId?: Maybe; - updatedAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `ConfidentialAssetHistory`. */ - updatedBlock?: Maybe; - updatedBlockId: Scalars['String']['output']; -}; - -export type ConfidentialAssetHistoryAggregates = { - __typename?: 'ConfidentialAssetHistoryAggregates'; - /** Mean average aggregates across the matching connection (ignoring before/after/first/last/offset) */ - average?: Maybe; - /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ - distinctCount?: Maybe; - keys?: Maybe>; - /** Maximum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - max?: Maybe; - /** Minimum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - min?: Maybe; - /** Population standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevPopulation?: Maybe; - /** Sample standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevSample?: Maybe; - /** Sum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - sum?: Maybe; - /** Population variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - variancePopulation?: Maybe; - /** Sample variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - varianceSample?: Maybe; -}; - -/** A filter to be used against aggregates of `ConfidentialAssetHistory` object types. */ -export type ConfidentialAssetHistoryAggregatesFilter = { - /** Mean average aggregate over matching `ConfidentialAssetHistory` objects. */ - average?: InputMaybe; - /** Distinct count aggregate over matching `ConfidentialAssetHistory` objects. */ - distinctCount?: InputMaybe; - /** A filter that must pass for the relevant `ConfidentialAssetHistory` object to be included within the aggregate. */ - filter?: InputMaybe; - /** Maximum aggregate over matching `ConfidentialAssetHistory` objects. */ - max?: InputMaybe; - /** Minimum aggregate over matching `ConfidentialAssetHistory` objects. */ - min?: InputMaybe; - /** Population standard deviation aggregate over matching `ConfidentialAssetHistory` objects. */ - stddevPopulation?: InputMaybe; - /** Sample standard deviation aggregate over matching `ConfidentialAssetHistory` objects. */ - stddevSample?: InputMaybe; - /** Sum aggregate over matching `ConfidentialAssetHistory` objects. */ - sum?: InputMaybe; - /** Population variance aggregate over matching `ConfidentialAssetHistory` objects. */ - variancePopulation?: InputMaybe; - /** Sample variance aggregate over matching `ConfidentialAssetHistory` objects. */ - varianceSample?: InputMaybe; -}; - -export type ConfidentialAssetHistoryAverageAggregateFilter = { - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; -}; - -export type ConfidentialAssetHistoryAverageAggregates = { - __typename?: 'ConfidentialAssetHistoryAverageAggregates'; - /** Mean average of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Mean average of extrinsicIdx across the matching connection */ - extrinsicIdx?: Maybe; -}; - -export type ConfidentialAssetHistoryDistinctCountAggregateFilter = { - amount?: InputMaybe; - assetId?: InputMaybe; - createdAt?: InputMaybe; - createdBlockId?: InputMaybe; - datetime?: InputMaybe; - eventId?: InputMaybe; - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; - fromId?: InputMaybe; - id?: InputMaybe; - memo?: InputMaybe; - toId?: InputMaybe; - transactionId?: InputMaybe; - updatedAt?: InputMaybe; - updatedBlockId?: InputMaybe; -}; - -export type ConfidentialAssetHistoryDistinctCountAggregates = { - __typename?: 'ConfidentialAssetHistoryDistinctCountAggregates'; - /** Distinct count of amount across the matching connection */ - amount?: Maybe; - /** Distinct count of assetId across the matching connection */ - assetId?: Maybe; - /** Distinct count of createdAt across the matching connection */ - createdAt?: Maybe; - /** Distinct count of createdBlockId across the matching connection */ - createdBlockId?: Maybe; - /** Distinct count of datetime across the matching connection */ - datetime?: Maybe; - /** Distinct count of eventId across the matching connection */ - eventId?: Maybe; - /** Distinct count of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Distinct count of extrinsicIdx across the matching connection */ - extrinsicIdx?: Maybe; - /** Distinct count of fromId across the matching connection */ - fromId?: Maybe; - /** Distinct count of id across the matching connection */ - id?: Maybe; - /** Distinct count of memo across the matching connection */ - memo?: Maybe; - /** Distinct count of toId across the matching connection */ - toId?: Maybe; - /** Distinct count of transactionId across the matching connection */ - transactionId?: Maybe; - /** Distinct count of updatedAt across the matching connection */ - updatedAt?: Maybe; - /** Distinct count of updatedBlockId across the matching connection */ - updatedBlockId?: Maybe; -}; - -/** A filter to be used against `ConfidentialAssetHistory` object types. All fields are combined with a logical ‘and.’ */ -export type ConfidentialAssetHistoryFilter = { - /** Filter by the object’s `amount` field. */ - amount?: InputMaybe; - /** Checks for all expressions in this list. */ - and?: InputMaybe>; - /** Filter by the object’s `asset` relation. */ - asset?: InputMaybe; - /** Filter by the object’s `assetId` field. */ - assetId?: InputMaybe; - /** Filter by the object’s `createdAt` field. */ - createdAt?: InputMaybe; - /** Filter by the object’s `createdBlock` relation. */ - createdBlock?: InputMaybe; - /** Filter by the object’s `createdBlockId` field. */ - createdBlockId?: InputMaybe; - /** Filter by the object’s `datetime` field. */ - datetime?: InputMaybe; - /** Filter by the object’s `eventId` field. */ - eventId?: InputMaybe; - /** Filter by the object’s `eventIdx` field. */ - eventIdx?: InputMaybe; - /** Filter by the object’s `extrinsicIdx` field. */ - extrinsicIdx?: InputMaybe; - /** Filter by the object’s `from` relation. */ - from?: InputMaybe; - /** A related `from` exists. */ - fromExists?: InputMaybe; - /** Filter by the object’s `fromId` field. */ - fromId?: InputMaybe; - /** Filter by the object’s `id` field. */ - id?: InputMaybe; - /** Filter by the object’s `memo` field. */ - memo?: InputMaybe; - /** Negates the expression. */ - not?: InputMaybe; - /** Checks for any expressions in this list. */ - or?: InputMaybe>; - /** Filter by the object’s `to` relation. */ - to?: InputMaybe; - /** A related `to` exists. */ - toExists?: InputMaybe; - /** Filter by the object’s `toId` field. */ - toId?: InputMaybe; - /** Filter by the object’s `transaction` relation. */ - transaction?: InputMaybe; - /** A related `transaction` exists. */ - transactionExists?: InputMaybe; - /** Filter by the object’s `transactionId` field. */ - transactionId?: InputMaybe; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: InputMaybe; - /** Filter by the object’s `updatedBlock` relation. */ - updatedBlock?: InputMaybe; - /** Filter by the object’s `updatedBlockId` field. */ - updatedBlockId?: InputMaybe; -}; - -export type ConfidentialAssetHistoryMaxAggregateFilter = { - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; -}; - -export type ConfidentialAssetHistoryMaxAggregates = { - __typename?: 'ConfidentialAssetHistoryMaxAggregates'; - /** Maximum of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Maximum of extrinsicIdx across the matching connection */ - extrinsicIdx?: Maybe; -}; - -export type ConfidentialAssetHistoryMinAggregateFilter = { - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; -}; - -export type ConfidentialAssetHistoryMinAggregates = { - __typename?: 'ConfidentialAssetHistoryMinAggregates'; - /** Minimum of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Minimum of extrinsicIdx across the matching connection */ - extrinsicIdx?: Maybe; -}; - -export type ConfidentialAssetHistoryStddevPopulationAggregateFilter = { - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; -}; - -export type ConfidentialAssetHistoryStddevPopulationAggregates = { - __typename?: 'ConfidentialAssetHistoryStddevPopulationAggregates'; - /** Population standard deviation of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Population standard deviation of extrinsicIdx across the matching connection */ - extrinsicIdx?: Maybe; -}; - -export type ConfidentialAssetHistoryStddevSampleAggregateFilter = { - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; -}; - -export type ConfidentialAssetHistoryStddevSampleAggregates = { - __typename?: 'ConfidentialAssetHistoryStddevSampleAggregates'; - /** Sample standard deviation of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Sample standard deviation of extrinsicIdx across the matching connection */ - extrinsicIdx?: Maybe; -}; - -export type ConfidentialAssetHistorySumAggregateFilter = { - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; -}; - -export type ConfidentialAssetHistorySumAggregates = { - __typename?: 'ConfidentialAssetHistorySumAggregates'; - /** Sum of eventIdx across the matching connection */ - eventIdx: Scalars['BigInt']['output']; - /** Sum of extrinsicIdx across the matching connection */ - extrinsicIdx: Scalars['BigInt']['output']; -}; - -export type ConfidentialAssetHistoryVariancePopulationAggregateFilter = { - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; -}; - -export type ConfidentialAssetHistoryVariancePopulationAggregates = { - __typename?: 'ConfidentialAssetHistoryVariancePopulationAggregates'; - /** Population variance of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Population variance of extrinsicIdx across the matching connection */ - extrinsicIdx?: Maybe; -}; - -export type ConfidentialAssetHistoryVarianceSampleAggregateFilter = { - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; -}; - -export type ConfidentialAssetHistoryVarianceSampleAggregates = { - __typename?: 'ConfidentialAssetHistoryVarianceSampleAggregates'; - /** Sample variance of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Sample variance of extrinsicIdx across the matching connection */ - extrinsicIdx?: Maybe; -}; - -/** Represents a confidential asset holder */ -export type ConfidentialAssetHolder = Node & { - __typename?: 'ConfidentialAssetHolder'; - /** Reads a single `ConfidentialAccount` that is related to this `ConfidentialAssetHolder`. */ - account?: Maybe; - accountId: Scalars['String']['output']; - /** the encrypted amount */ - amount?: Maybe; - /** Reads a single `ConfidentialAsset` that is related to this `ConfidentialAssetHolder`. */ - asset?: Maybe; - assetId: Scalars['String']['output']; - createdAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `ConfidentialAssetHolder`. */ - createdBlock?: Maybe; - createdBlockId: Scalars['String']['output']; - eventIdx: Scalars['Int']['output']; - id: Scalars['String']['output']; - /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ - nodeId: Scalars['ID']['output']; - updatedAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `ConfidentialAssetHolder`. */ - updatedBlock?: Maybe; - updatedBlockId: Scalars['String']['output']; -}; - -export type ConfidentialAssetHolderAggregates = { - __typename?: 'ConfidentialAssetHolderAggregates'; - /** Mean average aggregates across the matching connection (ignoring before/after/first/last/offset) */ - average?: Maybe; - /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ - distinctCount?: Maybe; - keys?: Maybe>; - /** Maximum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - max?: Maybe; - /** Minimum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - min?: Maybe; - /** Population standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevPopulation?: Maybe; - /** Sample standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevSample?: Maybe; - /** Sum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - sum?: Maybe; - /** Population variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - variancePopulation?: Maybe; - /** Sample variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - varianceSample?: Maybe; -}; - -/** A filter to be used against aggregates of `ConfidentialAssetHolder` object types. */ -export type ConfidentialAssetHolderAggregatesFilter = { - /** Mean average aggregate over matching `ConfidentialAssetHolder` objects. */ - average?: InputMaybe; - /** Distinct count aggregate over matching `ConfidentialAssetHolder` objects. */ - distinctCount?: InputMaybe; - /** A filter that must pass for the relevant `ConfidentialAssetHolder` object to be included within the aggregate. */ - filter?: InputMaybe; - /** Maximum aggregate over matching `ConfidentialAssetHolder` objects. */ - max?: InputMaybe; - /** Minimum aggregate over matching `ConfidentialAssetHolder` objects. */ - min?: InputMaybe; - /** Population standard deviation aggregate over matching `ConfidentialAssetHolder` objects. */ - stddevPopulation?: InputMaybe; - /** Sample standard deviation aggregate over matching `ConfidentialAssetHolder` objects. */ - stddevSample?: InputMaybe; - /** Sum aggregate over matching `ConfidentialAssetHolder` objects. */ - sum?: InputMaybe; - /** Population variance aggregate over matching `ConfidentialAssetHolder` objects. */ - variancePopulation?: InputMaybe; - /** Sample variance aggregate over matching `ConfidentialAssetHolder` objects. */ - varianceSample?: InputMaybe; -}; - -export type ConfidentialAssetHolderAverageAggregateFilter = { - eventIdx?: InputMaybe; -}; - -export type ConfidentialAssetHolderAverageAggregates = { - __typename?: 'ConfidentialAssetHolderAverageAggregates'; - /** Mean average of eventIdx across the matching connection */ - eventIdx?: Maybe; -}; - -export type ConfidentialAssetHolderDistinctCountAggregateFilter = { - accountId?: InputMaybe; - amount?: InputMaybe; - assetId?: InputMaybe; - createdAt?: InputMaybe; - createdBlockId?: InputMaybe; - eventIdx?: InputMaybe; - id?: InputMaybe; - updatedAt?: InputMaybe; - updatedBlockId?: InputMaybe; -}; - -export type ConfidentialAssetHolderDistinctCountAggregates = { - __typename?: 'ConfidentialAssetHolderDistinctCountAggregates'; - /** Distinct count of accountId across the matching connection */ - accountId?: Maybe; - /** Distinct count of amount across the matching connection */ - amount?: Maybe; - /** Distinct count of assetId across the matching connection */ - assetId?: Maybe; - /** Distinct count of createdAt across the matching connection */ - createdAt?: Maybe; - /** Distinct count of createdBlockId across the matching connection */ - createdBlockId?: Maybe; - /** Distinct count of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Distinct count of id across the matching connection */ - id?: Maybe; - /** Distinct count of updatedAt across the matching connection */ - updatedAt?: Maybe; - /** Distinct count of updatedBlockId across the matching connection */ - updatedBlockId?: Maybe; -}; - -/** A filter to be used against `ConfidentialAssetHolder` object types. All fields are combined with a logical ‘and.’ */ -export type ConfidentialAssetHolderFilter = { - /** Filter by the object’s `account` relation. */ - account?: InputMaybe; - /** Filter by the object’s `accountId` field. */ - accountId?: InputMaybe; - /** Filter by the object’s `amount` field. */ - amount?: InputMaybe; - /** Checks for all expressions in this list. */ - and?: InputMaybe>; - /** Filter by the object’s `asset` relation. */ - asset?: InputMaybe; - /** Filter by the object’s `assetId` field. */ - assetId?: InputMaybe; - /** Filter by the object’s `createdAt` field. */ - createdAt?: InputMaybe; - /** Filter by the object’s `createdBlock` relation. */ - createdBlock?: InputMaybe; - /** Filter by the object’s `createdBlockId` field. */ - createdBlockId?: InputMaybe; - /** Filter by the object’s `eventIdx` field. */ - eventIdx?: InputMaybe; - /** Filter by the object’s `id` field. */ - id?: InputMaybe; - /** Negates the expression. */ - not?: InputMaybe; - /** Checks for any expressions in this list. */ - or?: InputMaybe>; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: InputMaybe; - /** Filter by the object’s `updatedBlock` relation. */ - updatedBlock?: InputMaybe; - /** Filter by the object’s `updatedBlockId` field. */ - updatedBlockId?: InputMaybe; -}; - -export type ConfidentialAssetHolderMaxAggregateFilter = { - eventIdx?: InputMaybe; -}; - -export type ConfidentialAssetHolderMaxAggregates = { - __typename?: 'ConfidentialAssetHolderMaxAggregates'; - /** Maximum of eventIdx across the matching connection */ - eventIdx?: Maybe; -}; - -export type ConfidentialAssetHolderMinAggregateFilter = { - eventIdx?: InputMaybe; -}; - -export type ConfidentialAssetHolderMinAggregates = { - __typename?: 'ConfidentialAssetHolderMinAggregates'; - /** Minimum of eventIdx across the matching connection */ - eventIdx?: Maybe; -}; - -export type ConfidentialAssetHolderStddevPopulationAggregateFilter = { - eventIdx?: InputMaybe; -}; - -export type ConfidentialAssetHolderStddevPopulationAggregates = { - __typename?: 'ConfidentialAssetHolderStddevPopulationAggregates'; - /** Population standard deviation of eventIdx across the matching connection */ - eventIdx?: Maybe; -}; - -export type ConfidentialAssetHolderStddevSampleAggregateFilter = { - eventIdx?: InputMaybe; -}; - -export type ConfidentialAssetHolderStddevSampleAggregates = { - __typename?: 'ConfidentialAssetHolderStddevSampleAggregates'; - /** Sample standard deviation of eventIdx across the matching connection */ - eventIdx?: Maybe; -}; - -export type ConfidentialAssetHolderSumAggregateFilter = { - eventIdx?: InputMaybe; -}; - -export type ConfidentialAssetHolderSumAggregates = { - __typename?: 'ConfidentialAssetHolderSumAggregates'; - /** Sum of eventIdx across the matching connection */ - eventIdx: Scalars['BigInt']['output']; -}; - -export type ConfidentialAssetHolderVariancePopulationAggregateFilter = { - eventIdx?: InputMaybe; -}; - -export type ConfidentialAssetHolderVariancePopulationAggregates = { - __typename?: 'ConfidentialAssetHolderVariancePopulationAggregates'; - /** Population variance of eventIdx across the matching connection */ - eventIdx?: Maybe; -}; - -export type ConfidentialAssetHolderVarianceSampleAggregateFilter = { - eventIdx?: InputMaybe; -}; - -export type ConfidentialAssetHolderVarianceSampleAggregates = { - __typename?: 'ConfidentialAssetHolderVarianceSampleAggregates'; - /** Sample variance of eventIdx across the matching connection */ - eventIdx?: Maybe; -}; - -/** A connection to a list of `ConfidentialAssetHolder` values. */ -export type ConfidentialAssetHoldersConnection = { - __typename?: 'ConfidentialAssetHoldersConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `ConfidentialAssetHolder` and cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `ConfidentialAssetHolder` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `ConfidentialAssetHolder` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `ConfidentialAssetHolder` values. */ -export type ConfidentialAssetHoldersConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `ConfidentialAssetHolder` edge in the connection. */ -export type ConfidentialAssetHoldersEdge = { - __typename?: 'ConfidentialAssetHoldersEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `ConfidentialAssetHolder` at the end of the edge. */ - node?: Maybe; -}; - -/** Grouping methods for `ConfidentialAssetHolder` for usage during aggregation. */ -export enum ConfidentialAssetHoldersGroupBy { - AccountId = 'ACCOUNT_ID', - Amount = 'AMOUNT', - AssetId = 'ASSET_ID', - CreatedAt = 'CREATED_AT', - CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', - CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', - CreatedBlockId = 'CREATED_BLOCK_ID', - EventIdx = 'EVENT_IDX', - UpdatedAt = 'UPDATED_AT', - UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', - UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export type ConfidentialAssetHoldersHavingAverageInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ConfidentialAssetHoldersHavingDistinctCountInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Conditions for `ConfidentialAssetHolder` aggregates. */ -export type ConfidentialAssetHoldersHavingInput = { - AND?: InputMaybe>; - OR?: InputMaybe>; - average?: InputMaybe; - distinctCount?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddevPopulation?: InputMaybe; - stddevSample?: InputMaybe; - sum?: InputMaybe; - variancePopulation?: InputMaybe; - varianceSample?: InputMaybe; -}; - -export type ConfidentialAssetHoldersHavingMaxInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ConfidentialAssetHoldersHavingMinInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ConfidentialAssetHoldersHavingStddevPopulationInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ConfidentialAssetHoldersHavingStddevSampleInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ConfidentialAssetHoldersHavingSumInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ConfidentialAssetHoldersHavingVariancePopulationInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ConfidentialAssetHoldersHavingVarianceSampleInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Methods to use when ordering `ConfidentialAssetHolder`. */ -export enum ConfidentialAssetHoldersOrderBy { - AccountIdAsc = 'ACCOUNT_ID_ASC', - AccountIdDesc = 'ACCOUNT_ID_DESC', - AmountAsc = 'AMOUNT_ASC', - AmountDesc = 'AMOUNT_DESC', - AssetIdAsc = 'ASSET_ID_ASC', - AssetIdDesc = 'ASSET_ID_DESC', - CreatedAtAsc = 'CREATED_AT_ASC', - CreatedAtDesc = 'CREATED_AT_DESC', - CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', - CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', - EventIdxAsc = 'EVENT_IDX_ASC', - EventIdxDesc = 'EVENT_IDX_DESC', - IdAsc = 'ID_ASC', - IdDesc = 'ID_DESC', - Natural = 'NATURAL', - PrimaryKeyAsc = 'PRIMARY_KEY_ASC', - PrimaryKeyDesc = 'PRIMARY_KEY_DESC', - UpdatedAtAsc = 'UPDATED_AT_ASC', - UpdatedAtDesc = 'UPDATED_AT_DESC', - UpdatedBlockIdAsc = 'UPDATED_BLOCK_ID_ASC', - UpdatedBlockIdDesc = 'UPDATED_BLOCK_ID_DESC', -} - -export type ConfidentialAssetMaxAggregateFilter = { - eventIdx?: InputMaybe; - totalSupply?: InputMaybe; -}; - -export type ConfidentialAssetMaxAggregates = { - __typename?: 'ConfidentialAssetMaxAggregates'; - /** Maximum of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Maximum of totalSupply across the matching connection */ - totalSupply?: Maybe; -}; - -export type ConfidentialAssetMinAggregateFilter = { - eventIdx?: InputMaybe; - totalSupply?: InputMaybe; -}; - -export type ConfidentialAssetMinAggregates = { - __typename?: 'ConfidentialAssetMinAggregates'; - /** Minimum of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Minimum of totalSupply across the matching connection */ - totalSupply?: Maybe; -}; - -export type ConfidentialAssetStddevPopulationAggregateFilter = { - eventIdx?: InputMaybe; - totalSupply?: InputMaybe; -}; - -export type ConfidentialAssetStddevPopulationAggregates = { - __typename?: 'ConfidentialAssetStddevPopulationAggregates'; - /** Population standard deviation of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Population standard deviation of totalSupply across the matching connection */ - totalSupply?: Maybe; -}; - -export type ConfidentialAssetStddevSampleAggregateFilter = { - eventIdx?: InputMaybe; - totalSupply?: InputMaybe; -}; - -export type ConfidentialAssetStddevSampleAggregates = { - __typename?: 'ConfidentialAssetStddevSampleAggregates'; - /** Sample standard deviation of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Sample standard deviation of totalSupply across the matching connection */ - totalSupply?: Maybe; -}; - -export type ConfidentialAssetSumAggregateFilter = { - eventIdx?: InputMaybe; - totalSupply?: InputMaybe; -}; - -export type ConfidentialAssetSumAggregates = { - __typename?: 'ConfidentialAssetSumAggregates'; - /** Sum of eventIdx across the matching connection */ - eventIdx: Scalars['BigInt']['output']; - /** Sum of totalSupply across the matching connection */ - totalSupply: Scalars['BigFloat']['output']; -}; - -/** A filter to be used against many `ConfidentialAssetHistory` object types. All fields are combined with a logical ‘and.’ */ -export type ConfidentialAssetToManyConfidentialAssetHistoryFilter = { - /** Aggregates across related `ConfidentialAssetHistory` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `ConfidentialAssetHistory` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `ConfidentialAssetHistory` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `ConfidentialAssetHistory` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `ConfidentialAssetHolder` object types. All fields are combined with a logical ‘and.’ */ -export type ConfidentialAssetToManyConfidentialAssetHolderFilter = { - /** Aggregates across related `ConfidentialAssetHolder` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `ConfidentialAssetHolder` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `ConfidentialAssetHolder` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `ConfidentialAssetHolder` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -export type ConfidentialAssetVariancePopulationAggregateFilter = { - eventIdx?: InputMaybe; - totalSupply?: InputMaybe; -}; - -export type ConfidentialAssetVariancePopulationAggregates = { - __typename?: 'ConfidentialAssetVariancePopulationAggregates'; - /** Population variance of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Population variance of totalSupply across the matching connection */ - totalSupply?: Maybe; -}; - -export type ConfidentialAssetVarianceSampleAggregateFilter = { - eventIdx?: InputMaybe; - totalSupply?: InputMaybe; -}; - -export type ConfidentialAssetVarianceSampleAggregates = { - __typename?: 'ConfidentialAssetVarianceSampleAggregates'; - /** Sample variance of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Sample variance of totalSupply across the matching connection */ - totalSupply?: Maybe; -}; - -/** A connection to a list of `ConfidentialAsset` values. */ -export type ConfidentialAssetsConnection = { - __typename?: 'ConfidentialAssetsConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `ConfidentialAsset` and cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `ConfidentialAsset` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `ConfidentialAsset` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `ConfidentialAsset` values. */ -export type ConfidentialAssetsConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `ConfidentialAsset` edge in the connection. */ -export type ConfidentialAssetsEdge = { - __typename?: 'ConfidentialAssetsEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `ConfidentialAsset` at the end of the edge. */ - node?: Maybe; -}; - -/** Grouping methods for `ConfidentialAsset` for usage during aggregation. */ -export enum ConfidentialAssetsGroupBy { - AllowedVenues = 'ALLOWED_VENUES', - AssetId = 'ASSET_ID', - Auditors = 'AUDITORS', - CreatedAt = 'CREATED_AT', - CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', - CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', - CreatedBlockId = 'CREATED_BLOCK_ID', - CreatorId = 'CREATOR_ID', - Data = 'DATA', - EventIdx = 'EVENT_IDX', - Mediators = 'MEDIATORS', - Ticker = 'TICKER', - TotalSupply = 'TOTAL_SUPPLY', - UpdatedAt = 'UPDATED_AT', - UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', - UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', - UpdatedBlockId = 'UPDATED_BLOCK_ID', - VenueFiltering = 'VENUE_FILTERING', -} - -export type ConfidentialAssetsHavingAverageInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - totalSupply?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ConfidentialAssetsHavingDistinctCountInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - totalSupply?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Conditions for `ConfidentialAsset` aggregates. */ -export type ConfidentialAssetsHavingInput = { - AND?: InputMaybe>; - OR?: InputMaybe>; - average?: InputMaybe; - distinctCount?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddevPopulation?: InputMaybe; - stddevSample?: InputMaybe; - sum?: InputMaybe; - variancePopulation?: InputMaybe; - varianceSample?: InputMaybe; -}; - -export type ConfidentialAssetsHavingMaxInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - totalSupply?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ConfidentialAssetsHavingMinInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - totalSupply?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ConfidentialAssetsHavingStddevPopulationInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - totalSupply?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ConfidentialAssetsHavingStddevSampleInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - totalSupply?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ConfidentialAssetsHavingSumInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - totalSupply?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ConfidentialAssetsHavingVariancePopulationInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - totalSupply?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ConfidentialAssetsHavingVarianceSampleInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - totalSupply?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Methods to use when ordering `ConfidentialAsset`. */ -export enum ConfidentialAssetsOrderBy { - AllowedVenuesAsc = 'ALLOWED_VENUES_ASC', - AllowedVenuesDesc = 'ALLOWED_VENUES_DESC', - AssetIdAsc = 'ASSET_ID_ASC', - AssetIdDesc = 'ASSET_ID_DESC', - AuditorsAsc = 'AUDITORS_ASC', - AuditorsDesc = 'AUDITORS_DESC', - ConfidentialAssetHistoriesByAssetIdAverageAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_AVERAGE_AMOUNT_ASC', - ConfidentialAssetHistoriesByAssetIdAverageAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_AVERAGE_AMOUNT_DESC', - ConfidentialAssetHistoriesByAssetIdAverageAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_AVERAGE_ASSET_ID_ASC', - ConfidentialAssetHistoriesByAssetIdAverageAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_AVERAGE_ASSET_ID_DESC', - ConfidentialAssetHistoriesByAssetIdAverageCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_AVERAGE_CREATED_AT_ASC', - ConfidentialAssetHistoriesByAssetIdAverageCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_AVERAGE_CREATED_AT_DESC', - ConfidentialAssetHistoriesByAssetIdAverageCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByAssetIdAverageCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByAssetIdAverageDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_AVERAGE_DATETIME_ASC', - ConfidentialAssetHistoriesByAssetIdAverageDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_AVERAGE_DATETIME_DESC', - ConfidentialAssetHistoriesByAssetIdAverageEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_AVERAGE_EVENT_IDX_ASC', - ConfidentialAssetHistoriesByAssetIdAverageEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_AVERAGE_EVENT_IDX_DESC', - ConfidentialAssetHistoriesByAssetIdAverageEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_AVERAGE_EVENT_ID_ASC', - ConfidentialAssetHistoriesByAssetIdAverageEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_AVERAGE_EVENT_ID_DESC', - ConfidentialAssetHistoriesByAssetIdAverageExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_AVERAGE_EXTRINSIC_IDX_ASC', - ConfidentialAssetHistoriesByAssetIdAverageExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_AVERAGE_EXTRINSIC_IDX_DESC', - ConfidentialAssetHistoriesByAssetIdAverageFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_AVERAGE_FROM_ID_ASC', - ConfidentialAssetHistoriesByAssetIdAverageFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_AVERAGE_FROM_ID_DESC', - ConfidentialAssetHistoriesByAssetIdAverageIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_AVERAGE_ID_ASC', - ConfidentialAssetHistoriesByAssetIdAverageIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_AVERAGE_ID_DESC', - ConfidentialAssetHistoriesByAssetIdAverageMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_AVERAGE_MEMO_ASC', - ConfidentialAssetHistoriesByAssetIdAverageMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_AVERAGE_MEMO_DESC', - ConfidentialAssetHistoriesByAssetIdAverageToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_AVERAGE_TO_ID_ASC', - ConfidentialAssetHistoriesByAssetIdAverageToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_AVERAGE_TO_ID_DESC', - ConfidentialAssetHistoriesByAssetIdAverageTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_AVERAGE_TRANSACTION_ID_ASC', - ConfidentialAssetHistoriesByAssetIdAverageTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_AVERAGE_TRANSACTION_ID_DESC', - ConfidentialAssetHistoriesByAssetIdAverageUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_AVERAGE_UPDATED_AT_ASC', - ConfidentialAssetHistoriesByAssetIdAverageUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_AVERAGE_UPDATED_AT_DESC', - ConfidentialAssetHistoriesByAssetIdAverageUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByAssetIdAverageUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByAssetIdCountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_COUNT_ASC', - ConfidentialAssetHistoriesByAssetIdCountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_COUNT_DESC', - ConfidentialAssetHistoriesByAssetIdDistinctCountAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_DISTINCT_COUNT_AMOUNT_ASC', - ConfidentialAssetHistoriesByAssetIdDistinctCountAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_DISTINCT_COUNT_AMOUNT_DESC', - ConfidentialAssetHistoriesByAssetIdDistinctCountAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_DISTINCT_COUNT_ASSET_ID_ASC', - ConfidentialAssetHistoriesByAssetIdDistinctCountAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_DISTINCT_COUNT_ASSET_ID_DESC', - ConfidentialAssetHistoriesByAssetIdDistinctCountCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_DISTINCT_COUNT_CREATED_AT_ASC', - ConfidentialAssetHistoriesByAssetIdDistinctCountCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_DISTINCT_COUNT_CREATED_AT_DESC', - ConfidentialAssetHistoriesByAssetIdDistinctCountCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByAssetIdDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByAssetIdDistinctCountDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_DISTINCT_COUNT_DATETIME_ASC', - ConfidentialAssetHistoriesByAssetIdDistinctCountDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_DISTINCT_COUNT_DATETIME_DESC', - ConfidentialAssetHistoriesByAssetIdDistinctCountEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_DISTINCT_COUNT_EVENT_IDX_ASC', - ConfidentialAssetHistoriesByAssetIdDistinctCountEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_DISTINCT_COUNT_EVENT_IDX_DESC', - ConfidentialAssetHistoriesByAssetIdDistinctCountEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_DISTINCT_COUNT_EVENT_ID_ASC', - ConfidentialAssetHistoriesByAssetIdDistinctCountEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_DISTINCT_COUNT_EVENT_ID_DESC', - ConfidentialAssetHistoriesByAssetIdDistinctCountExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_DISTINCT_COUNT_EXTRINSIC_IDX_ASC', - ConfidentialAssetHistoriesByAssetIdDistinctCountExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_DISTINCT_COUNT_EXTRINSIC_IDX_DESC', - ConfidentialAssetHistoriesByAssetIdDistinctCountFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_DISTINCT_COUNT_FROM_ID_ASC', - ConfidentialAssetHistoriesByAssetIdDistinctCountFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_DISTINCT_COUNT_FROM_ID_DESC', - ConfidentialAssetHistoriesByAssetIdDistinctCountIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_DISTINCT_COUNT_ID_ASC', - ConfidentialAssetHistoriesByAssetIdDistinctCountIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_DISTINCT_COUNT_ID_DESC', - ConfidentialAssetHistoriesByAssetIdDistinctCountMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_DISTINCT_COUNT_MEMO_ASC', - ConfidentialAssetHistoriesByAssetIdDistinctCountMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_DISTINCT_COUNT_MEMO_DESC', - ConfidentialAssetHistoriesByAssetIdDistinctCountToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_DISTINCT_COUNT_TO_ID_ASC', - ConfidentialAssetHistoriesByAssetIdDistinctCountToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_DISTINCT_COUNT_TO_ID_DESC', - ConfidentialAssetHistoriesByAssetIdDistinctCountTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_DISTINCT_COUNT_TRANSACTION_ID_ASC', - ConfidentialAssetHistoriesByAssetIdDistinctCountTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_DISTINCT_COUNT_TRANSACTION_ID_DESC', - ConfidentialAssetHistoriesByAssetIdDistinctCountUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - ConfidentialAssetHistoriesByAssetIdDistinctCountUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - ConfidentialAssetHistoriesByAssetIdDistinctCountUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByAssetIdDistinctCountUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByAssetIdMaxAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MAX_AMOUNT_ASC', - ConfidentialAssetHistoriesByAssetIdMaxAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MAX_AMOUNT_DESC', - ConfidentialAssetHistoriesByAssetIdMaxAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MAX_ASSET_ID_ASC', - ConfidentialAssetHistoriesByAssetIdMaxAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MAX_ASSET_ID_DESC', - ConfidentialAssetHistoriesByAssetIdMaxCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MAX_CREATED_AT_ASC', - ConfidentialAssetHistoriesByAssetIdMaxCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MAX_CREATED_AT_DESC', - ConfidentialAssetHistoriesByAssetIdMaxCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MAX_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByAssetIdMaxCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MAX_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByAssetIdMaxDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MAX_DATETIME_ASC', - ConfidentialAssetHistoriesByAssetIdMaxDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MAX_DATETIME_DESC', - ConfidentialAssetHistoriesByAssetIdMaxEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MAX_EVENT_IDX_ASC', - ConfidentialAssetHistoriesByAssetIdMaxEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MAX_EVENT_IDX_DESC', - ConfidentialAssetHistoriesByAssetIdMaxEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MAX_EVENT_ID_ASC', - ConfidentialAssetHistoriesByAssetIdMaxEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MAX_EVENT_ID_DESC', - ConfidentialAssetHistoriesByAssetIdMaxExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MAX_EXTRINSIC_IDX_ASC', - ConfidentialAssetHistoriesByAssetIdMaxExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MAX_EXTRINSIC_IDX_DESC', - ConfidentialAssetHistoriesByAssetIdMaxFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MAX_FROM_ID_ASC', - ConfidentialAssetHistoriesByAssetIdMaxFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MAX_FROM_ID_DESC', - ConfidentialAssetHistoriesByAssetIdMaxIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MAX_ID_ASC', - ConfidentialAssetHistoriesByAssetIdMaxIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MAX_ID_DESC', - ConfidentialAssetHistoriesByAssetIdMaxMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MAX_MEMO_ASC', - ConfidentialAssetHistoriesByAssetIdMaxMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MAX_MEMO_DESC', - ConfidentialAssetHistoriesByAssetIdMaxToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MAX_TO_ID_ASC', - ConfidentialAssetHistoriesByAssetIdMaxToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MAX_TO_ID_DESC', - ConfidentialAssetHistoriesByAssetIdMaxTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MAX_TRANSACTION_ID_ASC', - ConfidentialAssetHistoriesByAssetIdMaxTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MAX_TRANSACTION_ID_DESC', - ConfidentialAssetHistoriesByAssetIdMaxUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MAX_UPDATED_AT_ASC', - ConfidentialAssetHistoriesByAssetIdMaxUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MAX_UPDATED_AT_DESC', - ConfidentialAssetHistoriesByAssetIdMaxUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MAX_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByAssetIdMaxUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MAX_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByAssetIdMinAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MIN_AMOUNT_ASC', - ConfidentialAssetHistoriesByAssetIdMinAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MIN_AMOUNT_DESC', - ConfidentialAssetHistoriesByAssetIdMinAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MIN_ASSET_ID_ASC', - ConfidentialAssetHistoriesByAssetIdMinAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MIN_ASSET_ID_DESC', - ConfidentialAssetHistoriesByAssetIdMinCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MIN_CREATED_AT_ASC', - ConfidentialAssetHistoriesByAssetIdMinCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MIN_CREATED_AT_DESC', - ConfidentialAssetHistoriesByAssetIdMinCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MIN_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByAssetIdMinCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MIN_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByAssetIdMinDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MIN_DATETIME_ASC', - ConfidentialAssetHistoriesByAssetIdMinDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MIN_DATETIME_DESC', - ConfidentialAssetHistoriesByAssetIdMinEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MIN_EVENT_IDX_ASC', - ConfidentialAssetHistoriesByAssetIdMinEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MIN_EVENT_IDX_DESC', - ConfidentialAssetHistoriesByAssetIdMinEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MIN_EVENT_ID_ASC', - ConfidentialAssetHistoriesByAssetIdMinEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MIN_EVENT_ID_DESC', - ConfidentialAssetHistoriesByAssetIdMinExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MIN_EXTRINSIC_IDX_ASC', - ConfidentialAssetHistoriesByAssetIdMinExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MIN_EXTRINSIC_IDX_DESC', - ConfidentialAssetHistoriesByAssetIdMinFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MIN_FROM_ID_ASC', - ConfidentialAssetHistoriesByAssetIdMinFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MIN_FROM_ID_DESC', - ConfidentialAssetHistoriesByAssetIdMinIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MIN_ID_ASC', - ConfidentialAssetHistoriesByAssetIdMinIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MIN_ID_DESC', - ConfidentialAssetHistoriesByAssetIdMinMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MIN_MEMO_ASC', - ConfidentialAssetHistoriesByAssetIdMinMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MIN_MEMO_DESC', - ConfidentialAssetHistoriesByAssetIdMinToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MIN_TO_ID_ASC', - ConfidentialAssetHistoriesByAssetIdMinToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MIN_TO_ID_DESC', - ConfidentialAssetHistoriesByAssetIdMinTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MIN_TRANSACTION_ID_ASC', - ConfidentialAssetHistoriesByAssetIdMinTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MIN_TRANSACTION_ID_DESC', - ConfidentialAssetHistoriesByAssetIdMinUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MIN_UPDATED_AT_ASC', - ConfidentialAssetHistoriesByAssetIdMinUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MIN_UPDATED_AT_DESC', - ConfidentialAssetHistoriesByAssetIdMinUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MIN_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByAssetIdMinUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_MIN_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByAssetIdStddevPopulationAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_POPULATION_AMOUNT_ASC', - ConfidentialAssetHistoriesByAssetIdStddevPopulationAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_POPULATION_AMOUNT_DESC', - ConfidentialAssetHistoriesByAssetIdStddevPopulationAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_POPULATION_ASSET_ID_ASC', - ConfidentialAssetHistoriesByAssetIdStddevPopulationAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_POPULATION_ASSET_ID_DESC', - ConfidentialAssetHistoriesByAssetIdStddevPopulationCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_POPULATION_CREATED_AT_ASC', - ConfidentialAssetHistoriesByAssetIdStddevPopulationCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_POPULATION_CREATED_AT_DESC', - ConfidentialAssetHistoriesByAssetIdStddevPopulationCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByAssetIdStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByAssetIdStddevPopulationDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_POPULATION_DATETIME_ASC', - ConfidentialAssetHistoriesByAssetIdStddevPopulationDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_POPULATION_DATETIME_DESC', - ConfidentialAssetHistoriesByAssetIdStddevPopulationEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_POPULATION_EVENT_IDX_ASC', - ConfidentialAssetHistoriesByAssetIdStddevPopulationEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_POPULATION_EVENT_IDX_DESC', - ConfidentialAssetHistoriesByAssetIdStddevPopulationEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_POPULATION_EVENT_ID_ASC', - ConfidentialAssetHistoriesByAssetIdStddevPopulationEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_POPULATION_EVENT_ID_DESC', - ConfidentialAssetHistoriesByAssetIdStddevPopulationExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_POPULATION_EXTRINSIC_IDX_ASC', - ConfidentialAssetHistoriesByAssetIdStddevPopulationExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_POPULATION_EXTRINSIC_IDX_DESC', - ConfidentialAssetHistoriesByAssetIdStddevPopulationFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_POPULATION_FROM_ID_ASC', - ConfidentialAssetHistoriesByAssetIdStddevPopulationFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_POPULATION_FROM_ID_DESC', - ConfidentialAssetHistoriesByAssetIdStddevPopulationIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_POPULATION_ID_ASC', - ConfidentialAssetHistoriesByAssetIdStddevPopulationIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_POPULATION_ID_DESC', - ConfidentialAssetHistoriesByAssetIdStddevPopulationMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_POPULATION_MEMO_ASC', - ConfidentialAssetHistoriesByAssetIdStddevPopulationMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_POPULATION_MEMO_DESC', - ConfidentialAssetHistoriesByAssetIdStddevPopulationToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_POPULATION_TO_ID_ASC', - ConfidentialAssetHistoriesByAssetIdStddevPopulationToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_POPULATION_TO_ID_DESC', - ConfidentialAssetHistoriesByAssetIdStddevPopulationTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_POPULATION_TRANSACTION_ID_ASC', - ConfidentialAssetHistoriesByAssetIdStddevPopulationTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_POPULATION_TRANSACTION_ID_DESC', - ConfidentialAssetHistoriesByAssetIdStddevPopulationUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - ConfidentialAssetHistoriesByAssetIdStddevPopulationUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - ConfidentialAssetHistoriesByAssetIdStddevPopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByAssetIdStddevPopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByAssetIdStddevSampleAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_SAMPLE_AMOUNT_ASC', - ConfidentialAssetHistoriesByAssetIdStddevSampleAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_SAMPLE_AMOUNT_DESC', - ConfidentialAssetHistoriesByAssetIdStddevSampleAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_SAMPLE_ASSET_ID_ASC', - ConfidentialAssetHistoriesByAssetIdStddevSampleAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_SAMPLE_ASSET_ID_DESC', - ConfidentialAssetHistoriesByAssetIdStddevSampleCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - ConfidentialAssetHistoriesByAssetIdStddevSampleCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - ConfidentialAssetHistoriesByAssetIdStddevSampleCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByAssetIdStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByAssetIdStddevSampleDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_SAMPLE_DATETIME_ASC', - ConfidentialAssetHistoriesByAssetIdStddevSampleDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_SAMPLE_DATETIME_DESC', - ConfidentialAssetHistoriesByAssetIdStddevSampleEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', - ConfidentialAssetHistoriesByAssetIdStddevSampleEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', - ConfidentialAssetHistoriesByAssetIdStddevSampleEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_SAMPLE_EVENT_ID_ASC', - ConfidentialAssetHistoriesByAssetIdStddevSampleEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_SAMPLE_EVENT_ID_DESC', - ConfidentialAssetHistoriesByAssetIdStddevSampleExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_SAMPLE_EXTRINSIC_IDX_ASC', - ConfidentialAssetHistoriesByAssetIdStddevSampleExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_SAMPLE_EXTRINSIC_IDX_DESC', - ConfidentialAssetHistoriesByAssetIdStddevSampleFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_SAMPLE_FROM_ID_ASC', - ConfidentialAssetHistoriesByAssetIdStddevSampleFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_SAMPLE_FROM_ID_DESC', - ConfidentialAssetHistoriesByAssetIdStddevSampleIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_SAMPLE_ID_ASC', - ConfidentialAssetHistoriesByAssetIdStddevSampleIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_SAMPLE_ID_DESC', - ConfidentialAssetHistoriesByAssetIdStddevSampleMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_SAMPLE_MEMO_ASC', - ConfidentialAssetHistoriesByAssetIdStddevSampleMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_SAMPLE_MEMO_DESC', - ConfidentialAssetHistoriesByAssetIdStddevSampleToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_SAMPLE_TO_ID_ASC', - ConfidentialAssetHistoriesByAssetIdStddevSampleToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_SAMPLE_TO_ID_DESC', - ConfidentialAssetHistoriesByAssetIdStddevSampleTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_SAMPLE_TRANSACTION_ID_ASC', - ConfidentialAssetHistoriesByAssetIdStddevSampleTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_SAMPLE_TRANSACTION_ID_DESC', - ConfidentialAssetHistoriesByAssetIdStddevSampleUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - ConfidentialAssetHistoriesByAssetIdStddevSampleUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - ConfidentialAssetHistoriesByAssetIdStddevSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByAssetIdStddevSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByAssetIdSumAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_SUM_AMOUNT_ASC', - ConfidentialAssetHistoriesByAssetIdSumAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_SUM_AMOUNT_DESC', - ConfidentialAssetHistoriesByAssetIdSumAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_SUM_ASSET_ID_ASC', - ConfidentialAssetHistoriesByAssetIdSumAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_SUM_ASSET_ID_DESC', - ConfidentialAssetHistoriesByAssetIdSumCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_SUM_CREATED_AT_ASC', - ConfidentialAssetHistoriesByAssetIdSumCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_SUM_CREATED_AT_DESC', - ConfidentialAssetHistoriesByAssetIdSumCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_SUM_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByAssetIdSumCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_SUM_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByAssetIdSumDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_SUM_DATETIME_ASC', - ConfidentialAssetHistoriesByAssetIdSumDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_SUM_DATETIME_DESC', - ConfidentialAssetHistoriesByAssetIdSumEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_SUM_EVENT_IDX_ASC', - ConfidentialAssetHistoriesByAssetIdSumEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_SUM_EVENT_IDX_DESC', - ConfidentialAssetHistoriesByAssetIdSumEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_SUM_EVENT_ID_ASC', - ConfidentialAssetHistoriesByAssetIdSumEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_SUM_EVENT_ID_DESC', - ConfidentialAssetHistoriesByAssetIdSumExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_SUM_EXTRINSIC_IDX_ASC', - ConfidentialAssetHistoriesByAssetIdSumExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_SUM_EXTRINSIC_IDX_DESC', - ConfidentialAssetHistoriesByAssetIdSumFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_SUM_FROM_ID_ASC', - ConfidentialAssetHistoriesByAssetIdSumFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_SUM_FROM_ID_DESC', - ConfidentialAssetHistoriesByAssetIdSumIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_SUM_ID_ASC', - ConfidentialAssetHistoriesByAssetIdSumIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_SUM_ID_DESC', - ConfidentialAssetHistoriesByAssetIdSumMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_SUM_MEMO_ASC', - ConfidentialAssetHistoriesByAssetIdSumMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_SUM_MEMO_DESC', - ConfidentialAssetHistoriesByAssetIdSumToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_SUM_TO_ID_ASC', - ConfidentialAssetHistoriesByAssetIdSumToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_SUM_TO_ID_DESC', - ConfidentialAssetHistoriesByAssetIdSumTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_SUM_TRANSACTION_ID_ASC', - ConfidentialAssetHistoriesByAssetIdSumTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_SUM_TRANSACTION_ID_DESC', - ConfidentialAssetHistoriesByAssetIdSumUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_SUM_UPDATED_AT_ASC', - ConfidentialAssetHistoriesByAssetIdSumUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_SUM_UPDATED_AT_DESC', - ConfidentialAssetHistoriesByAssetIdSumUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_SUM_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByAssetIdSumUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_SUM_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByAssetIdVariancePopulationAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_POPULATION_AMOUNT_ASC', - ConfidentialAssetHistoriesByAssetIdVariancePopulationAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_POPULATION_AMOUNT_DESC', - ConfidentialAssetHistoriesByAssetIdVariancePopulationAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_POPULATION_ASSET_ID_ASC', - ConfidentialAssetHistoriesByAssetIdVariancePopulationAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_POPULATION_ASSET_ID_DESC', - ConfidentialAssetHistoriesByAssetIdVariancePopulationCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - ConfidentialAssetHistoriesByAssetIdVariancePopulationCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - ConfidentialAssetHistoriesByAssetIdVariancePopulationCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByAssetIdVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByAssetIdVariancePopulationDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_POPULATION_DATETIME_ASC', - ConfidentialAssetHistoriesByAssetIdVariancePopulationDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_POPULATION_DATETIME_DESC', - ConfidentialAssetHistoriesByAssetIdVariancePopulationEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', - ConfidentialAssetHistoriesByAssetIdVariancePopulationEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', - ConfidentialAssetHistoriesByAssetIdVariancePopulationEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_POPULATION_EVENT_ID_ASC', - ConfidentialAssetHistoriesByAssetIdVariancePopulationEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_POPULATION_EVENT_ID_DESC', - ConfidentialAssetHistoriesByAssetIdVariancePopulationExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_POPULATION_EXTRINSIC_IDX_ASC', - ConfidentialAssetHistoriesByAssetIdVariancePopulationExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_POPULATION_EXTRINSIC_IDX_DESC', - ConfidentialAssetHistoriesByAssetIdVariancePopulationFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_POPULATION_FROM_ID_ASC', - ConfidentialAssetHistoriesByAssetIdVariancePopulationFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_POPULATION_FROM_ID_DESC', - ConfidentialAssetHistoriesByAssetIdVariancePopulationIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_POPULATION_ID_ASC', - ConfidentialAssetHistoriesByAssetIdVariancePopulationIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_POPULATION_ID_DESC', - ConfidentialAssetHistoriesByAssetIdVariancePopulationMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_POPULATION_MEMO_ASC', - ConfidentialAssetHistoriesByAssetIdVariancePopulationMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_POPULATION_MEMO_DESC', - ConfidentialAssetHistoriesByAssetIdVariancePopulationToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_POPULATION_TO_ID_ASC', - ConfidentialAssetHistoriesByAssetIdVariancePopulationToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_POPULATION_TO_ID_DESC', - ConfidentialAssetHistoriesByAssetIdVariancePopulationTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_POPULATION_TRANSACTION_ID_ASC', - ConfidentialAssetHistoriesByAssetIdVariancePopulationTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_POPULATION_TRANSACTION_ID_DESC', - ConfidentialAssetHistoriesByAssetIdVariancePopulationUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - ConfidentialAssetHistoriesByAssetIdVariancePopulationUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - ConfidentialAssetHistoriesByAssetIdVariancePopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByAssetIdVariancePopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByAssetIdVarianceSampleAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_SAMPLE_AMOUNT_ASC', - ConfidentialAssetHistoriesByAssetIdVarianceSampleAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_SAMPLE_AMOUNT_DESC', - ConfidentialAssetHistoriesByAssetIdVarianceSampleAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_SAMPLE_ASSET_ID_ASC', - ConfidentialAssetHistoriesByAssetIdVarianceSampleAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_SAMPLE_ASSET_ID_DESC', - ConfidentialAssetHistoriesByAssetIdVarianceSampleCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - ConfidentialAssetHistoriesByAssetIdVarianceSampleCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - ConfidentialAssetHistoriesByAssetIdVarianceSampleCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByAssetIdVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByAssetIdVarianceSampleDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_SAMPLE_DATETIME_ASC', - ConfidentialAssetHistoriesByAssetIdVarianceSampleDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_SAMPLE_DATETIME_DESC', - ConfidentialAssetHistoriesByAssetIdVarianceSampleEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', - ConfidentialAssetHistoriesByAssetIdVarianceSampleEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', - ConfidentialAssetHistoriesByAssetIdVarianceSampleEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_SAMPLE_EVENT_ID_ASC', - ConfidentialAssetHistoriesByAssetIdVarianceSampleEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_SAMPLE_EVENT_ID_DESC', - ConfidentialAssetHistoriesByAssetIdVarianceSampleExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_SAMPLE_EXTRINSIC_IDX_ASC', - ConfidentialAssetHistoriesByAssetIdVarianceSampleExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_SAMPLE_EXTRINSIC_IDX_DESC', - ConfidentialAssetHistoriesByAssetIdVarianceSampleFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_SAMPLE_FROM_ID_ASC', - ConfidentialAssetHistoriesByAssetIdVarianceSampleFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_SAMPLE_FROM_ID_DESC', - ConfidentialAssetHistoriesByAssetIdVarianceSampleIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_SAMPLE_ID_ASC', - ConfidentialAssetHistoriesByAssetIdVarianceSampleIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_SAMPLE_ID_DESC', - ConfidentialAssetHistoriesByAssetIdVarianceSampleMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_SAMPLE_MEMO_ASC', - ConfidentialAssetHistoriesByAssetIdVarianceSampleMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_SAMPLE_MEMO_DESC', - ConfidentialAssetHistoriesByAssetIdVarianceSampleToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_SAMPLE_TO_ID_ASC', - ConfidentialAssetHistoriesByAssetIdVarianceSampleToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_SAMPLE_TO_ID_DESC', - ConfidentialAssetHistoriesByAssetIdVarianceSampleTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_SAMPLE_TRANSACTION_ID_ASC', - ConfidentialAssetHistoriesByAssetIdVarianceSampleTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_SAMPLE_TRANSACTION_ID_DESC', - ConfidentialAssetHistoriesByAssetIdVarianceSampleUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - ConfidentialAssetHistoriesByAssetIdVarianceSampleUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - ConfidentialAssetHistoriesByAssetIdVarianceSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByAssetIdVarianceSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_ASSET_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHoldersByAssetIdAverageAccountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_AVERAGE_ACCOUNT_ID_ASC', - ConfidentialAssetHoldersByAssetIdAverageAccountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_AVERAGE_ACCOUNT_ID_DESC', - ConfidentialAssetHoldersByAssetIdAverageAmountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_AVERAGE_AMOUNT_ASC', - ConfidentialAssetHoldersByAssetIdAverageAmountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_AVERAGE_AMOUNT_DESC', - ConfidentialAssetHoldersByAssetIdAverageAssetIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_AVERAGE_ASSET_ID_ASC', - ConfidentialAssetHoldersByAssetIdAverageAssetIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_AVERAGE_ASSET_ID_DESC', - ConfidentialAssetHoldersByAssetIdAverageCreatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_AVERAGE_CREATED_AT_ASC', - ConfidentialAssetHoldersByAssetIdAverageCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_AVERAGE_CREATED_AT_DESC', - ConfidentialAssetHoldersByAssetIdAverageCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHoldersByAssetIdAverageCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHoldersByAssetIdAverageEventIdxAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_AVERAGE_EVENT_IDX_ASC', - ConfidentialAssetHoldersByAssetIdAverageEventIdxDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_AVERAGE_EVENT_IDX_DESC', - ConfidentialAssetHoldersByAssetIdAverageIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_AVERAGE_ID_ASC', - ConfidentialAssetHoldersByAssetIdAverageIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_AVERAGE_ID_DESC', - ConfidentialAssetHoldersByAssetIdAverageUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_AVERAGE_UPDATED_AT_ASC', - ConfidentialAssetHoldersByAssetIdAverageUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_AVERAGE_UPDATED_AT_DESC', - ConfidentialAssetHoldersByAssetIdAverageUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHoldersByAssetIdAverageUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHoldersByAssetIdCountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_COUNT_ASC', - ConfidentialAssetHoldersByAssetIdCountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_COUNT_DESC', - ConfidentialAssetHoldersByAssetIdDistinctCountAccountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_DISTINCT_COUNT_ACCOUNT_ID_ASC', - ConfidentialAssetHoldersByAssetIdDistinctCountAccountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_DISTINCT_COUNT_ACCOUNT_ID_DESC', - ConfidentialAssetHoldersByAssetIdDistinctCountAmountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_DISTINCT_COUNT_AMOUNT_ASC', - ConfidentialAssetHoldersByAssetIdDistinctCountAmountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_DISTINCT_COUNT_AMOUNT_DESC', - ConfidentialAssetHoldersByAssetIdDistinctCountAssetIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_DISTINCT_COUNT_ASSET_ID_ASC', - ConfidentialAssetHoldersByAssetIdDistinctCountAssetIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_DISTINCT_COUNT_ASSET_ID_DESC', - ConfidentialAssetHoldersByAssetIdDistinctCountCreatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_DISTINCT_COUNT_CREATED_AT_ASC', - ConfidentialAssetHoldersByAssetIdDistinctCountCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_DISTINCT_COUNT_CREATED_AT_DESC', - ConfidentialAssetHoldersByAssetIdDistinctCountCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHoldersByAssetIdDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHoldersByAssetIdDistinctCountEventIdxAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_DISTINCT_COUNT_EVENT_IDX_ASC', - ConfidentialAssetHoldersByAssetIdDistinctCountEventIdxDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_DISTINCT_COUNT_EVENT_IDX_DESC', - ConfidentialAssetHoldersByAssetIdDistinctCountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_DISTINCT_COUNT_ID_ASC', - ConfidentialAssetHoldersByAssetIdDistinctCountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_DISTINCT_COUNT_ID_DESC', - ConfidentialAssetHoldersByAssetIdDistinctCountUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - ConfidentialAssetHoldersByAssetIdDistinctCountUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - ConfidentialAssetHoldersByAssetIdDistinctCountUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHoldersByAssetIdDistinctCountUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHoldersByAssetIdMaxAccountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MAX_ACCOUNT_ID_ASC', - ConfidentialAssetHoldersByAssetIdMaxAccountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MAX_ACCOUNT_ID_DESC', - ConfidentialAssetHoldersByAssetIdMaxAmountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MAX_AMOUNT_ASC', - ConfidentialAssetHoldersByAssetIdMaxAmountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MAX_AMOUNT_DESC', - ConfidentialAssetHoldersByAssetIdMaxAssetIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MAX_ASSET_ID_ASC', - ConfidentialAssetHoldersByAssetIdMaxAssetIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MAX_ASSET_ID_DESC', - ConfidentialAssetHoldersByAssetIdMaxCreatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MAX_CREATED_AT_ASC', - ConfidentialAssetHoldersByAssetIdMaxCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MAX_CREATED_AT_DESC', - ConfidentialAssetHoldersByAssetIdMaxCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MAX_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHoldersByAssetIdMaxCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MAX_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHoldersByAssetIdMaxEventIdxAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MAX_EVENT_IDX_ASC', - ConfidentialAssetHoldersByAssetIdMaxEventIdxDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MAX_EVENT_IDX_DESC', - ConfidentialAssetHoldersByAssetIdMaxIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MAX_ID_ASC', - ConfidentialAssetHoldersByAssetIdMaxIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MAX_ID_DESC', - ConfidentialAssetHoldersByAssetIdMaxUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MAX_UPDATED_AT_ASC', - ConfidentialAssetHoldersByAssetIdMaxUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MAX_UPDATED_AT_DESC', - ConfidentialAssetHoldersByAssetIdMaxUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MAX_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHoldersByAssetIdMaxUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MAX_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHoldersByAssetIdMinAccountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MIN_ACCOUNT_ID_ASC', - ConfidentialAssetHoldersByAssetIdMinAccountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MIN_ACCOUNT_ID_DESC', - ConfidentialAssetHoldersByAssetIdMinAmountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MIN_AMOUNT_ASC', - ConfidentialAssetHoldersByAssetIdMinAmountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MIN_AMOUNT_DESC', - ConfidentialAssetHoldersByAssetIdMinAssetIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MIN_ASSET_ID_ASC', - ConfidentialAssetHoldersByAssetIdMinAssetIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MIN_ASSET_ID_DESC', - ConfidentialAssetHoldersByAssetIdMinCreatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MIN_CREATED_AT_ASC', - ConfidentialAssetHoldersByAssetIdMinCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MIN_CREATED_AT_DESC', - ConfidentialAssetHoldersByAssetIdMinCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MIN_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHoldersByAssetIdMinCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MIN_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHoldersByAssetIdMinEventIdxAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MIN_EVENT_IDX_ASC', - ConfidentialAssetHoldersByAssetIdMinEventIdxDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MIN_EVENT_IDX_DESC', - ConfidentialAssetHoldersByAssetIdMinIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MIN_ID_ASC', - ConfidentialAssetHoldersByAssetIdMinIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MIN_ID_DESC', - ConfidentialAssetHoldersByAssetIdMinUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MIN_UPDATED_AT_ASC', - ConfidentialAssetHoldersByAssetIdMinUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MIN_UPDATED_AT_DESC', - ConfidentialAssetHoldersByAssetIdMinUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MIN_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHoldersByAssetIdMinUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_MIN_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHoldersByAssetIdStddevPopulationAccountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_POPULATION_ACCOUNT_ID_ASC', - ConfidentialAssetHoldersByAssetIdStddevPopulationAccountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_POPULATION_ACCOUNT_ID_DESC', - ConfidentialAssetHoldersByAssetIdStddevPopulationAmountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_POPULATION_AMOUNT_ASC', - ConfidentialAssetHoldersByAssetIdStddevPopulationAmountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_POPULATION_AMOUNT_DESC', - ConfidentialAssetHoldersByAssetIdStddevPopulationAssetIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_POPULATION_ASSET_ID_ASC', - ConfidentialAssetHoldersByAssetIdStddevPopulationAssetIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_POPULATION_ASSET_ID_DESC', - ConfidentialAssetHoldersByAssetIdStddevPopulationCreatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_POPULATION_CREATED_AT_ASC', - ConfidentialAssetHoldersByAssetIdStddevPopulationCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_POPULATION_CREATED_AT_DESC', - ConfidentialAssetHoldersByAssetIdStddevPopulationCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHoldersByAssetIdStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHoldersByAssetIdStddevPopulationEventIdxAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_POPULATION_EVENT_IDX_ASC', - ConfidentialAssetHoldersByAssetIdStddevPopulationEventIdxDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_POPULATION_EVENT_IDX_DESC', - ConfidentialAssetHoldersByAssetIdStddevPopulationIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_POPULATION_ID_ASC', - ConfidentialAssetHoldersByAssetIdStddevPopulationIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_POPULATION_ID_DESC', - ConfidentialAssetHoldersByAssetIdStddevPopulationUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - ConfidentialAssetHoldersByAssetIdStddevPopulationUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - ConfidentialAssetHoldersByAssetIdStddevPopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHoldersByAssetIdStddevPopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHoldersByAssetIdStddevSampleAccountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_SAMPLE_ACCOUNT_ID_ASC', - ConfidentialAssetHoldersByAssetIdStddevSampleAccountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_SAMPLE_ACCOUNT_ID_DESC', - ConfidentialAssetHoldersByAssetIdStddevSampleAmountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_SAMPLE_AMOUNT_ASC', - ConfidentialAssetHoldersByAssetIdStddevSampleAmountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_SAMPLE_AMOUNT_DESC', - ConfidentialAssetHoldersByAssetIdStddevSampleAssetIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_SAMPLE_ASSET_ID_ASC', - ConfidentialAssetHoldersByAssetIdStddevSampleAssetIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_SAMPLE_ASSET_ID_DESC', - ConfidentialAssetHoldersByAssetIdStddevSampleCreatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - ConfidentialAssetHoldersByAssetIdStddevSampleCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - ConfidentialAssetHoldersByAssetIdStddevSampleCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHoldersByAssetIdStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHoldersByAssetIdStddevSampleEventIdxAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', - ConfidentialAssetHoldersByAssetIdStddevSampleEventIdxDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', - ConfidentialAssetHoldersByAssetIdStddevSampleIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_SAMPLE_ID_ASC', - ConfidentialAssetHoldersByAssetIdStddevSampleIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_SAMPLE_ID_DESC', - ConfidentialAssetHoldersByAssetIdStddevSampleUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - ConfidentialAssetHoldersByAssetIdStddevSampleUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - ConfidentialAssetHoldersByAssetIdStddevSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHoldersByAssetIdStddevSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHoldersByAssetIdSumAccountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_SUM_ACCOUNT_ID_ASC', - ConfidentialAssetHoldersByAssetIdSumAccountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_SUM_ACCOUNT_ID_DESC', - ConfidentialAssetHoldersByAssetIdSumAmountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_SUM_AMOUNT_ASC', - ConfidentialAssetHoldersByAssetIdSumAmountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_SUM_AMOUNT_DESC', - ConfidentialAssetHoldersByAssetIdSumAssetIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_SUM_ASSET_ID_ASC', - ConfidentialAssetHoldersByAssetIdSumAssetIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_SUM_ASSET_ID_DESC', - ConfidentialAssetHoldersByAssetIdSumCreatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_SUM_CREATED_AT_ASC', - ConfidentialAssetHoldersByAssetIdSumCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_SUM_CREATED_AT_DESC', - ConfidentialAssetHoldersByAssetIdSumCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_SUM_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHoldersByAssetIdSumCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_SUM_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHoldersByAssetIdSumEventIdxAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_SUM_EVENT_IDX_ASC', - ConfidentialAssetHoldersByAssetIdSumEventIdxDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_SUM_EVENT_IDX_DESC', - ConfidentialAssetHoldersByAssetIdSumIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_SUM_ID_ASC', - ConfidentialAssetHoldersByAssetIdSumIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_SUM_ID_DESC', - ConfidentialAssetHoldersByAssetIdSumUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_SUM_UPDATED_AT_ASC', - ConfidentialAssetHoldersByAssetIdSumUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_SUM_UPDATED_AT_DESC', - ConfidentialAssetHoldersByAssetIdSumUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_SUM_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHoldersByAssetIdSumUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_SUM_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHoldersByAssetIdVariancePopulationAccountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_POPULATION_ACCOUNT_ID_ASC', - ConfidentialAssetHoldersByAssetIdVariancePopulationAccountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_POPULATION_ACCOUNT_ID_DESC', - ConfidentialAssetHoldersByAssetIdVariancePopulationAmountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_POPULATION_AMOUNT_ASC', - ConfidentialAssetHoldersByAssetIdVariancePopulationAmountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_POPULATION_AMOUNT_DESC', - ConfidentialAssetHoldersByAssetIdVariancePopulationAssetIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_POPULATION_ASSET_ID_ASC', - ConfidentialAssetHoldersByAssetIdVariancePopulationAssetIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_POPULATION_ASSET_ID_DESC', - ConfidentialAssetHoldersByAssetIdVariancePopulationCreatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - ConfidentialAssetHoldersByAssetIdVariancePopulationCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - ConfidentialAssetHoldersByAssetIdVariancePopulationCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHoldersByAssetIdVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHoldersByAssetIdVariancePopulationEventIdxAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', - ConfidentialAssetHoldersByAssetIdVariancePopulationEventIdxDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', - ConfidentialAssetHoldersByAssetIdVariancePopulationIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_POPULATION_ID_ASC', - ConfidentialAssetHoldersByAssetIdVariancePopulationIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_POPULATION_ID_DESC', - ConfidentialAssetHoldersByAssetIdVariancePopulationUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - ConfidentialAssetHoldersByAssetIdVariancePopulationUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - ConfidentialAssetHoldersByAssetIdVariancePopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHoldersByAssetIdVariancePopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHoldersByAssetIdVarianceSampleAccountIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_SAMPLE_ACCOUNT_ID_ASC', - ConfidentialAssetHoldersByAssetIdVarianceSampleAccountIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_SAMPLE_ACCOUNT_ID_DESC', - ConfidentialAssetHoldersByAssetIdVarianceSampleAmountAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_SAMPLE_AMOUNT_ASC', - ConfidentialAssetHoldersByAssetIdVarianceSampleAmountDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_SAMPLE_AMOUNT_DESC', - ConfidentialAssetHoldersByAssetIdVarianceSampleAssetIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_SAMPLE_ASSET_ID_ASC', - ConfidentialAssetHoldersByAssetIdVarianceSampleAssetIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_SAMPLE_ASSET_ID_DESC', - ConfidentialAssetHoldersByAssetIdVarianceSampleCreatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - ConfidentialAssetHoldersByAssetIdVarianceSampleCreatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - ConfidentialAssetHoldersByAssetIdVarianceSampleCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHoldersByAssetIdVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHoldersByAssetIdVarianceSampleEventIdxAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', - ConfidentialAssetHoldersByAssetIdVarianceSampleEventIdxDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', - ConfidentialAssetHoldersByAssetIdVarianceSampleIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_SAMPLE_ID_ASC', - ConfidentialAssetHoldersByAssetIdVarianceSampleIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_SAMPLE_ID_DESC', - ConfidentialAssetHoldersByAssetIdVarianceSampleUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - ConfidentialAssetHoldersByAssetIdVarianceSampleUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - ConfidentialAssetHoldersByAssetIdVarianceSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHoldersByAssetIdVarianceSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HOLDERS_BY_ASSET_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - CreatedAtAsc = 'CREATED_AT_ASC', - CreatedAtDesc = 'CREATED_AT_DESC', - CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', - CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', - CreatorIdAsc = 'CREATOR_ID_ASC', - CreatorIdDesc = 'CREATOR_ID_DESC', - DataAsc = 'DATA_ASC', - DataDesc = 'DATA_DESC', - EventIdxAsc = 'EVENT_IDX_ASC', - EventIdxDesc = 'EVENT_IDX_DESC', - IdAsc = 'ID_ASC', - IdDesc = 'ID_DESC', - MediatorsAsc = 'MEDIATORS_ASC', - MediatorsDesc = 'MEDIATORS_DESC', - Natural = 'NATURAL', - PrimaryKeyAsc = 'PRIMARY_KEY_ASC', - PrimaryKeyDesc = 'PRIMARY_KEY_DESC', - TickerAsc = 'TICKER_ASC', - TickerDesc = 'TICKER_DESC', - TotalSupplyAsc = 'TOTAL_SUPPLY_ASC', - TotalSupplyDesc = 'TOTAL_SUPPLY_DESC', - UpdatedAtAsc = 'UPDATED_AT_ASC', - UpdatedAtDesc = 'UPDATED_AT_DESC', - UpdatedBlockIdAsc = 'UPDATED_BLOCK_ID_ASC', - UpdatedBlockIdDesc = 'UPDATED_BLOCK_ID_DESC', - VenueFilteringAsc = 'VENUE_FILTERING_ASC', - VenueFilteringDesc = 'VENUE_FILTERING_DESC', -} - -/** Represents a leg of a confidential asset transaction */ -export type ConfidentialLeg = Node & { - __typename?: 'ConfidentialLeg'; - assetAuditors: Scalars['JSON']['output']; - createdAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `ConfidentialLeg`. */ - createdBlock?: Maybe; - createdBlockId: Scalars['String']['output']; - id: Scalars['String']['output']; - mediators: Scalars['JSON']['output']; - /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ - nodeId: Scalars['ID']['output']; - /** Reads a single `ConfidentialAccount` that is related to this `ConfidentialLeg`. */ - receiver?: Maybe; - receiverId: Scalars['String']['output']; - /** Reads a single `ConfidentialAccount` that is related to this `ConfidentialLeg`. */ - sender?: Maybe; - senderId: Scalars['String']['output']; - /** Reads a single `ConfidentialTransaction` that is related to this `ConfidentialLeg`. */ - transaction?: Maybe; - transactionId: Scalars['String']['output']; - updatedAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `ConfidentialLeg`. */ - updatedBlock?: Maybe; - updatedBlockId: Scalars['String']['output']; -}; - -export type ConfidentialLegAggregates = { - __typename?: 'ConfidentialLegAggregates'; - /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ - distinctCount?: Maybe; - keys?: Maybe>; -}; - -/** A filter to be used against aggregates of `ConfidentialLeg` object types. */ -export type ConfidentialLegAggregatesFilter = { - /** Distinct count aggregate over matching `ConfidentialLeg` objects. */ - distinctCount?: InputMaybe; - /** A filter that must pass for the relevant `ConfidentialLeg` object to be included within the aggregate. */ - filter?: InputMaybe; -}; - -export type ConfidentialLegDistinctCountAggregateFilter = { - assetAuditors?: InputMaybe; - createdAt?: InputMaybe; - createdBlockId?: InputMaybe; - id?: InputMaybe; - mediators?: InputMaybe; - receiverId?: InputMaybe; - senderId?: InputMaybe; - transactionId?: InputMaybe; - updatedAt?: InputMaybe; - updatedBlockId?: InputMaybe; -}; - -export type ConfidentialLegDistinctCountAggregates = { - __typename?: 'ConfidentialLegDistinctCountAggregates'; - /** Distinct count of assetAuditors across the matching connection */ - assetAuditors?: Maybe; - /** Distinct count of createdAt across the matching connection */ - createdAt?: Maybe; - /** Distinct count of createdBlockId across the matching connection */ - createdBlockId?: Maybe; - /** Distinct count of id across the matching connection */ - id?: Maybe; - /** Distinct count of mediators across the matching connection */ - mediators?: Maybe; - /** Distinct count of receiverId across the matching connection */ - receiverId?: Maybe; - /** Distinct count of senderId across the matching connection */ - senderId?: Maybe; - /** Distinct count of transactionId across the matching connection */ - transactionId?: Maybe; - /** Distinct count of updatedAt across the matching connection */ - updatedAt?: Maybe; - /** Distinct count of updatedBlockId across the matching connection */ - updatedBlockId?: Maybe; -}; - -/** A filter to be used against `ConfidentialLeg` object types. All fields are combined with a logical ‘and.’ */ -export type ConfidentialLegFilter = { - /** Checks for all expressions in this list. */ - and?: InputMaybe>; - /** Filter by the object’s `assetAuditors` field. */ - assetAuditors?: InputMaybe; - /** Filter by the object’s `createdAt` field. */ - createdAt?: InputMaybe; - /** Filter by the object’s `createdBlock` relation. */ - createdBlock?: InputMaybe; - /** Filter by the object’s `createdBlockId` field. */ - createdBlockId?: InputMaybe; - /** Filter by the object’s `id` field. */ - id?: InputMaybe; - /** Filter by the object’s `mediators` field. */ - mediators?: InputMaybe; - /** Negates the expression. */ - not?: InputMaybe; - /** Checks for any expressions in this list. */ - or?: InputMaybe>; - /** Filter by the object’s `receiver` relation. */ - receiver?: InputMaybe; - /** Filter by the object’s `receiverId` field. */ - receiverId?: InputMaybe; - /** Filter by the object’s `sender` relation. */ - sender?: InputMaybe; - /** Filter by the object’s `senderId` field. */ - senderId?: InputMaybe; - /** Filter by the object’s `transaction` relation. */ - transaction?: InputMaybe; - /** Filter by the object’s `transactionId` field. */ - transactionId?: InputMaybe; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: InputMaybe; - /** Filter by the object’s `updatedBlock` relation. */ - updatedBlock?: InputMaybe; - /** Filter by the object’s `updatedBlockId` field. */ - updatedBlockId?: InputMaybe; -}; - -/** A connection to a list of `ConfidentialLeg` values. */ -export type ConfidentialLegsConnection = { - __typename?: 'ConfidentialLegsConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `ConfidentialLeg` and cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `ConfidentialLeg` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `ConfidentialLeg` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `ConfidentialLeg` values. */ -export type ConfidentialLegsConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `ConfidentialLeg` edge in the connection. */ -export type ConfidentialLegsEdge = { - __typename?: 'ConfidentialLegsEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `ConfidentialLeg` at the end of the edge. */ - node?: Maybe; -}; - -/** Grouping methods for `ConfidentialLeg` for usage during aggregation. */ -export enum ConfidentialLegsGroupBy { - AssetAuditors = 'ASSET_AUDITORS', - CreatedAt = 'CREATED_AT', - CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', - CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', - CreatedBlockId = 'CREATED_BLOCK_ID', - Mediators = 'MEDIATORS', - ReceiverId = 'RECEIVER_ID', - SenderId = 'SENDER_ID', - TransactionId = 'TRANSACTION_ID', - UpdatedAt = 'UPDATED_AT', - UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', - UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export type ConfidentialLegsHavingAverageInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ConfidentialLegsHavingDistinctCountInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Conditions for `ConfidentialLeg` aggregates. */ -export type ConfidentialLegsHavingInput = { - AND?: InputMaybe>; - OR?: InputMaybe>; - average?: InputMaybe; - distinctCount?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddevPopulation?: InputMaybe; - stddevSample?: InputMaybe; - sum?: InputMaybe; - variancePopulation?: InputMaybe; - varianceSample?: InputMaybe; -}; - -export type ConfidentialLegsHavingMaxInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ConfidentialLegsHavingMinInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ConfidentialLegsHavingStddevPopulationInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ConfidentialLegsHavingStddevSampleInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ConfidentialLegsHavingSumInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ConfidentialLegsHavingVariancePopulationInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ConfidentialLegsHavingVarianceSampleInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Methods to use when ordering `ConfidentialLeg`. */ -export enum ConfidentialLegsOrderBy { - AssetAuditorsAsc = 'ASSET_AUDITORS_ASC', - AssetAuditorsDesc = 'ASSET_AUDITORS_DESC', - CreatedAtAsc = 'CREATED_AT_ASC', - CreatedAtDesc = 'CREATED_AT_DESC', - CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', - CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', - IdAsc = 'ID_ASC', - IdDesc = 'ID_DESC', - MediatorsAsc = 'MEDIATORS_ASC', - MediatorsDesc = 'MEDIATORS_DESC', - Natural = 'NATURAL', - PrimaryKeyAsc = 'PRIMARY_KEY_ASC', - PrimaryKeyDesc = 'PRIMARY_KEY_DESC', - ReceiverIdAsc = 'RECEIVER_ID_ASC', - ReceiverIdDesc = 'RECEIVER_ID_DESC', - SenderIdAsc = 'SENDER_ID_ASC', - SenderIdDesc = 'SENDER_ID_DESC', - TransactionIdAsc = 'TRANSACTION_ID_ASC', - TransactionIdDesc = 'TRANSACTION_ID_DESC', - UpdatedAtAsc = 'UPDATED_AT_ASC', - UpdatedAtDesc = 'UPDATED_AT_DESC', - UpdatedBlockIdAsc = 'UPDATED_BLOCK_ID_ASC', - UpdatedBlockIdDesc = 'UPDATED_BLOCK_ID_DESC', -} - -/** Represents a confidential transaction */ -export type ConfidentialTransaction = Node & { - __typename?: 'ConfidentialTransaction'; - /** Reads and enables pagination through a set of `ConfidentialTransactionAffirmation`. */ - affirmations: ConfidentialTransactionAffirmationsConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByConfidentialAssetHistoryTransactionIdAndCreatedBlockId: ConfidentialTransactionBlocksByConfidentialAssetHistoryTransactionIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByConfidentialAssetHistoryTransactionIdAndUpdatedBlockId: ConfidentialTransactionBlocksByConfidentialAssetHistoryTransactionIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByConfidentialLegTransactionIdAndCreatedBlockId: ConfidentialTransactionBlocksByConfidentialLegTransactionIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByConfidentialLegTransactionIdAndUpdatedBlockId: ConfidentialTransactionBlocksByConfidentialLegTransactionIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByConfidentialTransactionAffirmationTransactionIdAndCreatedBlockId: ConfidentialTransactionBlocksByConfidentialTransactionAffirmationTransactionIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByConfidentialTransactionAffirmationTransactionIdAndUpdatedBlockId: ConfidentialTransactionBlocksByConfidentialTransactionAffirmationTransactionIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `ConfidentialAccount`. */ - confidentialAccountsByConfidentialAssetHistoryTransactionIdAndFromId: ConfidentialTransactionConfidentialAccountsByConfidentialAssetHistoryTransactionIdAndFromIdManyToManyConnection; - /** Reads and enables pagination through a set of `ConfidentialAccount`. */ - confidentialAccountsByConfidentialAssetHistoryTransactionIdAndToId: ConfidentialTransactionConfidentialAccountsByConfidentialAssetHistoryTransactionIdAndToIdManyToManyConnection; - /** Reads and enables pagination through a set of `ConfidentialAccount`. */ - confidentialAccountsByConfidentialLegTransactionIdAndReceiverId: ConfidentialTransactionConfidentialAccountsByConfidentialLegTransactionIdAndReceiverIdManyToManyConnection; - /** Reads and enables pagination through a set of `ConfidentialAccount`. */ - confidentialAccountsByConfidentialLegTransactionIdAndSenderId: ConfidentialTransactionConfidentialAccountsByConfidentialLegTransactionIdAndSenderIdManyToManyConnection; - /** Reads and enables pagination through a set of `ConfidentialAccount`. */ - confidentialAccountsByConfidentialTransactionAffirmationTransactionIdAndAccountId: ConfidentialTransactionConfidentialAccountsByConfidentialTransactionAffirmationTransactionIdAndAccountIdManyToManyConnection; - /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ - confidentialAssetHistoriesByTransactionId: ConfidentialAssetHistoriesConnection; - /** Reads and enables pagination through a set of `ConfidentialAsset`. */ - confidentialAssetsByConfidentialAssetHistoryTransactionIdAndAssetId: ConfidentialTransactionConfidentialAssetsByConfidentialAssetHistoryTransactionIdAndAssetIdManyToManyConnection; - createdAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `ConfidentialTransaction`. */ - createdBlock?: Maybe; - createdBlockId: Scalars['String']['output']; - eventId: EventIdEnum; - eventIdx: Scalars['Int']['output']; - id: Scalars['String']['output']; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByConfidentialTransactionAffirmationTransactionIdAndIdentityId: ConfidentialTransactionIdentitiesByConfidentialTransactionAffirmationTransactionIdAndIdentityIdManyToManyConnection; - /** Reads and enables pagination through a set of `ConfidentialLeg`. */ - legs: ConfidentialLegsConnection; - memo?: Maybe; - /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ - nodeId: Scalars['ID']['output']; - pendingAffirmations: Scalars['Int']['output']; - status: ConfidentialTransactionStatusEnum; - updatedAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `ConfidentialTransaction`. */ - updatedBlock?: Maybe; - updatedBlockId: Scalars['String']['output']; - /** Reads a single `ConfidentialVenue` that is related to this `ConfidentialTransaction`. */ - venue?: Maybe; - venueId: Scalars['String']['output']; -}; - -/** Represents a confidential transaction */ -export type ConfidentialTransactionAffirmationsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a confidential transaction */ -export type ConfidentialTransactionBlocksByConfidentialAssetHistoryTransactionIdAndCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** Represents a confidential transaction */ -export type ConfidentialTransactionBlocksByConfidentialAssetHistoryTransactionIdAndUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** Represents a confidential transaction */ -export type ConfidentialTransactionBlocksByConfidentialLegTransactionIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a confidential transaction */ -export type ConfidentialTransactionBlocksByConfidentialLegTransactionIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a confidential transaction */ -export type ConfidentialTransactionBlocksByConfidentialTransactionAffirmationTransactionIdAndCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** Represents a confidential transaction */ -export type ConfidentialTransactionBlocksByConfidentialTransactionAffirmationTransactionIdAndUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** Represents a confidential transaction */ -export type ConfidentialTransactionConfidentialAccountsByConfidentialAssetHistoryTransactionIdAndFromIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** Represents a confidential transaction */ -export type ConfidentialTransactionConfidentialAccountsByConfidentialAssetHistoryTransactionIdAndToIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** Represents a confidential transaction */ -export type ConfidentialTransactionConfidentialAccountsByConfidentialLegTransactionIdAndReceiverIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** Represents a confidential transaction */ -export type ConfidentialTransactionConfidentialAccountsByConfidentialLegTransactionIdAndSenderIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** Represents a confidential transaction */ -export type ConfidentialTransactionConfidentialAccountsByConfidentialTransactionAffirmationTransactionIdAndAccountIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** Represents a confidential transaction */ -export type ConfidentialTransactionConfidentialAssetHistoriesByTransactionIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a confidential transaction */ -export type ConfidentialTransactionConfidentialAssetsByConfidentialAssetHistoryTransactionIdAndAssetIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** Represents a confidential transaction */ -export type ConfidentialTransactionIdentitiesByConfidentialTransactionAffirmationTransactionIdAndIdentityIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** Represents a confidential transaction */ -export type ConfidentialTransactionLegsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a confidential asset transaction affirmation */ -export type ConfidentialTransactionAffirmation = Node & { - __typename?: 'ConfidentialTransactionAffirmation'; - /** Reads a single `ConfidentialAccount` that is related to this `ConfidentialTransactionAffirmation`. */ - account?: Maybe; - accountId?: Maybe; - createdAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `ConfidentialTransactionAffirmation`. */ - createdBlock?: Maybe; - createdBlockId: Scalars['String']['output']; - eventIdx: Scalars['Int']['output']; - id: Scalars['String']['output']; - /** Reads a single `Identity` that is related to this `ConfidentialTransactionAffirmation`. */ - identity?: Maybe; - identityId: Scalars['String']['output']; - legId: Scalars['Int']['output']; - /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ - nodeId: Scalars['ID']['output']; - proofs?: Maybe; - status: AffirmStatusEnum; - /** Reads a single `ConfidentialTransaction` that is related to this `ConfidentialTransactionAffirmation`. */ - transaction?: Maybe; - transactionId: Scalars['String']['output']; - type: AffirmingPartyEnum; - updatedAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `ConfidentialTransactionAffirmation`. */ - updatedBlock?: Maybe; - updatedBlockId: Scalars['String']['output']; -}; - -export type ConfidentialTransactionAffirmationAggregates = { - __typename?: 'ConfidentialTransactionAffirmationAggregates'; - /** Mean average aggregates across the matching connection (ignoring before/after/first/last/offset) */ - average?: Maybe; - /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ - distinctCount?: Maybe; - keys?: Maybe>; - /** Maximum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - max?: Maybe; - /** Minimum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - min?: Maybe; - /** Population standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevPopulation?: Maybe; - /** Sample standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevSample?: Maybe; - /** Sum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - sum?: Maybe; - /** Population variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - variancePopulation?: Maybe; - /** Sample variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - varianceSample?: Maybe; -}; - -/** A filter to be used against aggregates of `ConfidentialTransactionAffirmation` object types. */ -export type ConfidentialTransactionAffirmationAggregatesFilter = { - /** Mean average aggregate over matching `ConfidentialTransactionAffirmation` objects. */ - average?: InputMaybe; - /** Distinct count aggregate over matching `ConfidentialTransactionAffirmation` objects. */ - distinctCount?: InputMaybe; - /** A filter that must pass for the relevant `ConfidentialTransactionAffirmation` object to be included within the aggregate. */ - filter?: InputMaybe; - /** Maximum aggregate over matching `ConfidentialTransactionAffirmation` objects. */ - max?: InputMaybe; - /** Minimum aggregate over matching `ConfidentialTransactionAffirmation` objects. */ - min?: InputMaybe; - /** Population standard deviation aggregate over matching `ConfidentialTransactionAffirmation` objects. */ - stddevPopulation?: InputMaybe; - /** Sample standard deviation aggregate over matching `ConfidentialTransactionAffirmation` objects. */ - stddevSample?: InputMaybe; - /** Sum aggregate over matching `ConfidentialTransactionAffirmation` objects. */ - sum?: InputMaybe; - /** Population variance aggregate over matching `ConfidentialTransactionAffirmation` objects. */ - variancePopulation?: InputMaybe; - /** Sample variance aggregate over matching `ConfidentialTransactionAffirmation` objects. */ - varianceSample?: InputMaybe; -}; - -export type ConfidentialTransactionAffirmationAverageAggregateFilter = { - eventIdx?: InputMaybe; - legId?: InputMaybe; -}; - -export type ConfidentialTransactionAffirmationAverageAggregates = { - __typename?: 'ConfidentialTransactionAffirmationAverageAggregates'; - /** Mean average of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Mean average of legId across the matching connection */ - legId?: Maybe; -}; - -export type ConfidentialTransactionAffirmationDistinctCountAggregateFilter = { - accountId?: InputMaybe; - createdAt?: InputMaybe; - createdBlockId?: InputMaybe; - eventIdx?: InputMaybe; - id?: InputMaybe; - identityId?: InputMaybe; - legId?: InputMaybe; - proofs?: InputMaybe; - status?: InputMaybe; - transactionId?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; - updatedBlockId?: InputMaybe; -}; - -export type ConfidentialTransactionAffirmationDistinctCountAggregates = { - __typename?: 'ConfidentialTransactionAffirmationDistinctCountAggregates'; - /** Distinct count of accountId across the matching connection */ - accountId?: Maybe; - /** Distinct count of createdAt across the matching connection */ - createdAt?: Maybe; - /** Distinct count of createdBlockId across the matching connection */ - createdBlockId?: Maybe; - /** Distinct count of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Distinct count of id across the matching connection */ - id?: Maybe; - /** Distinct count of identityId across the matching connection */ - identityId?: Maybe; - /** Distinct count of legId across the matching connection */ - legId?: Maybe; - /** Distinct count of proofs across the matching connection */ - proofs?: Maybe; - /** Distinct count of status across the matching connection */ - status?: Maybe; - /** Distinct count of transactionId across the matching connection */ - transactionId?: Maybe; - /** Distinct count of type across the matching connection */ - type?: Maybe; - /** Distinct count of updatedAt across the matching connection */ - updatedAt?: Maybe; - /** Distinct count of updatedBlockId across the matching connection */ - updatedBlockId?: Maybe; -}; - -/** A filter to be used against `ConfidentialTransactionAffirmation` object types. All fields are combined with a logical ‘and.’ */ -export type ConfidentialTransactionAffirmationFilter = { - /** Filter by the object’s `account` relation. */ - account?: InputMaybe; - /** A related `account` exists. */ - accountExists?: InputMaybe; - /** Filter by the object’s `accountId` field. */ - accountId?: InputMaybe; - /** Checks for all expressions in this list. */ - and?: InputMaybe>; - /** Filter by the object’s `createdAt` field. */ - createdAt?: InputMaybe; - /** Filter by the object’s `createdBlock` relation. */ - createdBlock?: InputMaybe; - /** Filter by the object’s `createdBlockId` field. */ - createdBlockId?: InputMaybe; - /** Filter by the object’s `eventIdx` field. */ - eventIdx?: InputMaybe; - /** Filter by the object’s `id` field. */ - id?: InputMaybe; - /** Filter by the object’s `identity` relation. */ - identity?: InputMaybe; - /** Filter by the object’s `identityId` field. */ - identityId?: InputMaybe; - /** Filter by the object’s `legId` field. */ - legId?: InputMaybe; - /** Negates the expression. */ - not?: InputMaybe; - /** Checks for any expressions in this list. */ - or?: InputMaybe>; - /** Filter by the object’s `proofs` field. */ - proofs?: InputMaybe; - /** Filter by the object’s `status` field. */ - status?: InputMaybe; - /** Filter by the object’s `transaction` relation. */ - transaction?: InputMaybe; - /** Filter by the object’s `transactionId` field. */ - transactionId?: InputMaybe; - /** Filter by the object’s `type` field. */ - type?: InputMaybe; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: InputMaybe; - /** Filter by the object’s `updatedBlock` relation. */ - updatedBlock?: InputMaybe; - /** Filter by the object’s `updatedBlockId` field. */ - updatedBlockId?: InputMaybe; -}; - -export type ConfidentialTransactionAffirmationMaxAggregateFilter = { - eventIdx?: InputMaybe; - legId?: InputMaybe; -}; - -export type ConfidentialTransactionAffirmationMaxAggregates = { - __typename?: 'ConfidentialTransactionAffirmationMaxAggregates'; - /** Maximum of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Maximum of legId across the matching connection */ - legId?: Maybe; -}; - -export type ConfidentialTransactionAffirmationMinAggregateFilter = { - eventIdx?: InputMaybe; - legId?: InputMaybe; -}; - -export type ConfidentialTransactionAffirmationMinAggregates = { - __typename?: 'ConfidentialTransactionAffirmationMinAggregates'; - /** Minimum of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Minimum of legId across the matching connection */ - legId?: Maybe; -}; - -export type ConfidentialTransactionAffirmationStddevPopulationAggregateFilter = { - eventIdx?: InputMaybe; - legId?: InputMaybe; -}; - -export type ConfidentialTransactionAffirmationStddevPopulationAggregates = { - __typename?: 'ConfidentialTransactionAffirmationStddevPopulationAggregates'; - /** Population standard deviation of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Population standard deviation of legId across the matching connection */ - legId?: Maybe; -}; - -export type ConfidentialTransactionAffirmationStddevSampleAggregateFilter = { - eventIdx?: InputMaybe; - legId?: InputMaybe; -}; - -export type ConfidentialTransactionAffirmationStddevSampleAggregates = { - __typename?: 'ConfidentialTransactionAffirmationStddevSampleAggregates'; - /** Sample standard deviation of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Sample standard deviation of legId across the matching connection */ - legId?: Maybe; -}; - -export type ConfidentialTransactionAffirmationSumAggregateFilter = { - eventIdx?: InputMaybe; - legId?: InputMaybe; -}; - -export type ConfidentialTransactionAffirmationSumAggregates = { - __typename?: 'ConfidentialTransactionAffirmationSumAggregates'; - /** Sum of eventIdx across the matching connection */ - eventIdx: Scalars['BigInt']['output']; - /** Sum of legId across the matching connection */ - legId: Scalars['BigInt']['output']; -}; - -export type ConfidentialTransactionAffirmationVariancePopulationAggregateFilter = { - eventIdx?: InputMaybe; - legId?: InputMaybe; -}; - -export type ConfidentialTransactionAffirmationVariancePopulationAggregates = { - __typename?: 'ConfidentialTransactionAffirmationVariancePopulationAggregates'; - /** Population variance of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Population variance of legId across the matching connection */ - legId?: Maybe; -}; - -export type ConfidentialTransactionAffirmationVarianceSampleAggregateFilter = { - eventIdx?: InputMaybe; - legId?: InputMaybe; -}; - -export type ConfidentialTransactionAffirmationVarianceSampleAggregates = { - __typename?: 'ConfidentialTransactionAffirmationVarianceSampleAggregates'; - /** Sample variance of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Sample variance of legId across the matching connection */ - legId?: Maybe; -}; - -/** A connection to a list of `ConfidentialTransactionAffirmation` values. */ -export type ConfidentialTransactionAffirmationsConnection = { - __typename?: 'ConfidentialTransactionAffirmationsConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `ConfidentialTransactionAffirmation` and cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `ConfidentialTransactionAffirmation` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `ConfidentialTransactionAffirmation` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `ConfidentialTransactionAffirmation` values. */ -export type ConfidentialTransactionAffirmationsConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `ConfidentialTransactionAffirmation` edge in the connection. */ -export type ConfidentialTransactionAffirmationsEdge = { - __typename?: 'ConfidentialTransactionAffirmationsEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `ConfidentialTransactionAffirmation` at the end of the edge. */ - node?: Maybe; -}; - -/** Grouping methods for `ConfidentialTransactionAffirmation` for usage during aggregation. */ -export enum ConfidentialTransactionAffirmationsGroupBy { - AccountId = 'ACCOUNT_ID', - CreatedAt = 'CREATED_AT', - CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', - CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', - CreatedBlockId = 'CREATED_BLOCK_ID', - EventIdx = 'EVENT_IDX', - IdentityId = 'IDENTITY_ID', - LegId = 'LEG_ID', - Proofs = 'PROOFS', - Status = 'STATUS', - TransactionId = 'TRANSACTION_ID', - Type = 'TYPE', - UpdatedAt = 'UPDATED_AT', - UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', - UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export type ConfidentialTransactionAffirmationsHavingAverageInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - legId?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ConfidentialTransactionAffirmationsHavingDistinctCountInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - legId?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Conditions for `ConfidentialTransactionAffirmation` aggregates. */ -export type ConfidentialTransactionAffirmationsHavingInput = { - AND?: InputMaybe>; - OR?: InputMaybe>; - average?: InputMaybe; - distinctCount?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddevPopulation?: InputMaybe; - stddevSample?: InputMaybe; - sum?: InputMaybe; - variancePopulation?: InputMaybe; - varianceSample?: InputMaybe; -}; - -export type ConfidentialTransactionAffirmationsHavingMaxInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - legId?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ConfidentialTransactionAffirmationsHavingMinInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - legId?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ConfidentialTransactionAffirmationsHavingStddevPopulationInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - legId?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ConfidentialTransactionAffirmationsHavingStddevSampleInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - legId?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ConfidentialTransactionAffirmationsHavingSumInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - legId?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ConfidentialTransactionAffirmationsHavingVariancePopulationInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - legId?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ConfidentialTransactionAffirmationsHavingVarianceSampleInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - legId?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Methods to use when ordering `ConfidentialTransactionAffirmation`. */ -export enum ConfidentialTransactionAffirmationsOrderBy { - AccountIdAsc = 'ACCOUNT_ID_ASC', - AccountIdDesc = 'ACCOUNT_ID_DESC', - CreatedAtAsc = 'CREATED_AT_ASC', - CreatedAtDesc = 'CREATED_AT_DESC', - CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', - CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', - EventIdxAsc = 'EVENT_IDX_ASC', - EventIdxDesc = 'EVENT_IDX_DESC', - IdentityIdAsc = 'IDENTITY_ID_ASC', - IdentityIdDesc = 'IDENTITY_ID_DESC', - IdAsc = 'ID_ASC', - IdDesc = 'ID_DESC', - LegIdAsc = 'LEG_ID_ASC', - LegIdDesc = 'LEG_ID_DESC', - Natural = 'NATURAL', - PrimaryKeyAsc = 'PRIMARY_KEY_ASC', - PrimaryKeyDesc = 'PRIMARY_KEY_DESC', - ProofsAsc = 'PROOFS_ASC', - ProofsDesc = 'PROOFS_DESC', - StatusAsc = 'STATUS_ASC', - StatusDesc = 'STATUS_DESC', - TransactionIdAsc = 'TRANSACTION_ID_ASC', - TransactionIdDesc = 'TRANSACTION_ID_DESC', - TypeAsc = 'TYPE_ASC', - TypeDesc = 'TYPE_DESC', - UpdatedAtAsc = 'UPDATED_AT_ASC', - UpdatedAtDesc = 'UPDATED_AT_DESC', - UpdatedBlockIdAsc = 'UPDATED_BLOCK_ID_ASC', - UpdatedBlockIdDesc = 'UPDATED_BLOCK_ID_DESC', -} - -export type ConfidentialTransactionAggregates = { - __typename?: 'ConfidentialTransactionAggregates'; - /** Mean average aggregates across the matching connection (ignoring before/after/first/last/offset) */ - average?: Maybe; - /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ - distinctCount?: Maybe; - keys?: Maybe>; - /** Maximum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - max?: Maybe; - /** Minimum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - min?: Maybe; - /** Population standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevPopulation?: Maybe; - /** Sample standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevSample?: Maybe; - /** Sum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - sum?: Maybe; - /** Population variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - variancePopulation?: Maybe; - /** Sample variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - varianceSample?: Maybe; -}; - -/** A filter to be used against aggregates of `ConfidentialTransaction` object types. */ -export type ConfidentialTransactionAggregatesFilter = { - /** Mean average aggregate over matching `ConfidentialTransaction` objects. */ - average?: InputMaybe; - /** Distinct count aggregate over matching `ConfidentialTransaction` objects. */ - distinctCount?: InputMaybe; - /** A filter that must pass for the relevant `ConfidentialTransaction` object to be included within the aggregate. */ - filter?: InputMaybe; - /** Maximum aggregate over matching `ConfidentialTransaction` objects. */ - max?: InputMaybe; - /** Minimum aggregate over matching `ConfidentialTransaction` objects. */ - min?: InputMaybe; - /** Population standard deviation aggregate over matching `ConfidentialTransaction` objects. */ - stddevPopulation?: InputMaybe; - /** Sample standard deviation aggregate over matching `ConfidentialTransaction` objects. */ - stddevSample?: InputMaybe; - /** Sum aggregate over matching `ConfidentialTransaction` objects. */ - sum?: InputMaybe; - /** Population variance aggregate over matching `ConfidentialTransaction` objects. */ - variancePopulation?: InputMaybe; - /** Sample variance aggregate over matching `ConfidentialTransaction` objects. */ - varianceSample?: InputMaybe; -}; - -export type ConfidentialTransactionAverageAggregateFilter = { - eventIdx?: InputMaybe; - pendingAffirmations?: InputMaybe; -}; - -export type ConfidentialTransactionAverageAggregates = { - __typename?: 'ConfidentialTransactionAverageAggregates'; - /** Mean average of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Mean average of pendingAffirmations across the matching connection */ - pendingAffirmations?: Maybe; -}; - -/** A connection to a list of `Block` values, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialTransactionBlocksByConfidentialAssetHistoryTransactionIdAndCreatedBlockIdManyToManyConnection = - { - __typename?: 'ConfidentialTransactionBlocksByConfidentialAssetHistoryTransactionIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `ConfidentialAssetHistory`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialTransactionBlocksByConfidentialAssetHistoryTransactionIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialTransactionBlocksByConfidentialAssetHistoryTransactionIdAndCreatedBlockIdManyToManyEdge = - { - __typename?: 'ConfidentialTransactionBlocksByConfidentialAssetHistoryTransactionIdAndCreatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ - confidentialAssetHistoriesByCreatedBlockId: ConfidentialAssetHistoriesConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - }; - -/** A `Block` edge in the connection, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialTransactionBlocksByConfidentialAssetHistoryTransactionIdAndCreatedBlockIdManyToManyEdgeConfidentialAssetHistoriesByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialTransactionBlocksByConfidentialAssetHistoryTransactionIdAndUpdatedBlockIdManyToManyConnection = - { - __typename?: 'ConfidentialTransactionBlocksByConfidentialAssetHistoryTransactionIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `ConfidentialAssetHistory`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialTransactionBlocksByConfidentialAssetHistoryTransactionIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialTransactionBlocksByConfidentialAssetHistoryTransactionIdAndUpdatedBlockIdManyToManyEdge = - { - __typename?: 'ConfidentialTransactionBlocksByConfidentialAssetHistoryTransactionIdAndUpdatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ - confidentialAssetHistoriesByUpdatedBlockId: ConfidentialAssetHistoriesConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - }; - -/** A `Block` edge in the connection, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialTransactionBlocksByConfidentialAssetHistoryTransactionIdAndUpdatedBlockIdManyToManyEdgeConfidentialAssetHistoriesByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialLeg`. */ -export type ConfidentialTransactionBlocksByConfidentialLegTransactionIdAndCreatedBlockIdManyToManyConnection = - { - __typename?: 'ConfidentialTransactionBlocksByConfidentialLegTransactionIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `ConfidentialLeg`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialLeg`. */ -export type ConfidentialTransactionBlocksByConfidentialLegTransactionIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `ConfidentialLeg`. */ -export type ConfidentialTransactionBlocksByConfidentialLegTransactionIdAndCreatedBlockIdManyToManyEdge = - { - __typename?: 'ConfidentialTransactionBlocksByConfidentialLegTransactionIdAndCreatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialLeg`. */ - confidentialLegsByCreatedBlockId: ConfidentialLegsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - }; - -/** A `Block` edge in the connection, with data from `ConfidentialLeg`. */ -export type ConfidentialTransactionBlocksByConfidentialLegTransactionIdAndCreatedBlockIdManyToManyEdgeConfidentialLegsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialLeg`. */ -export type ConfidentialTransactionBlocksByConfidentialLegTransactionIdAndUpdatedBlockIdManyToManyConnection = - { - __typename?: 'ConfidentialTransactionBlocksByConfidentialLegTransactionIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `ConfidentialLeg`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialLeg`. */ -export type ConfidentialTransactionBlocksByConfidentialLegTransactionIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `ConfidentialLeg`. */ -export type ConfidentialTransactionBlocksByConfidentialLegTransactionIdAndUpdatedBlockIdManyToManyEdge = - { - __typename?: 'ConfidentialTransactionBlocksByConfidentialLegTransactionIdAndUpdatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialLeg`. */ - confidentialLegsByUpdatedBlockId: ConfidentialLegsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - }; - -/** A `Block` edge in the connection, with data from `ConfidentialLeg`. */ -export type ConfidentialTransactionBlocksByConfidentialLegTransactionIdAndUpdatedBlockIdManyToManyEdgeConfidentialLegsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialTransactionAffirmation`. */ -export type ConfidentialTransactionBlocksByConfidentialTransactionAffirmationTransactionIdAndCreatedBlockIdManyToManyConnection = - { - __typename?: 'ConfidentialTransactionBlocksByConfidentialTransactionAffirmationTransactionIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `ConfidentialTransactionAffirmation`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialTransactionAffirmation`. */ -export type ConfidentialTransactionBlocksByConfidentialTransactionAffirmationTransactionIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ -export type ConfidentialTransactionBlocksByConfidentialTransactionAffirmationTransactionIdAndCreatedBlockIdManyToManyEdge = - { - __typename?: 'ConfidentialTransactionBlocksByConfidentialTransactionAffirmationTransactionIdAndCreatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialTransactionAffirmation`. */ - confidentialTransactionAffirmationsByCreatedBlockId: ConfidentialTransactionAffirmationsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - }; - -/** A `Block` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ -export type ConfidentialTransactionBlocksByConfidentialTransactionAffirmationTransactionIdAndCreatedBlockIdManyToManyEdgeConfidentialTransactionAffirmationsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialTransactionAffirmation`. */ -export type ConfidentialTransactionBlocksByConfidentialTransactionAffirmationTransactionIdAndUpdatedBlockIdManyToManyConnection = - { - __typename?: 'ConfidentialTransactionBlocksByConfidentialTransactionAffirmationTransactionIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `ConfidentialTransactionAffirmation`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialTransactionAffirmation`. */ -export type ConfidentialTransactionBlocksByConfidentialTransactionAffirmationTransactionIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ -export type ConfidentialTransactionBlocksByConfidentialTransactionAffirmationTransactionIdAndUpdatedBlockIdManyToManyEdge = - { - __typename?: 'ConfidentialTransactionBlocksByConfidentialTransactionAffirmationTransactionIdAndUpdatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialTransactionAffirmation`. */ - confidentialTransactionAffirmationsByUpdatedBlockId: ConfidentialTransactionAffirmationsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - }; - -/** A `Block` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ -export type ConfidentialTransactionBlocksByConfidentialTransactionAffirmationTransactionIdAndUpdatedBlockIdManyToManyEdgeConfidentialTransactionAffirmationsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialTransactionConfidentialAccountsByConfidentialAssetHistoryTransactionIdAndFromIdManyToManyConnection = - { - __typename?: 'ConfidentialTransactionConfidentialAccountsByConfidentialAssetHistoryTransactionIdAndFromIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `ConfidentialAccount`, info from the `ConfidentialAssetHistory`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `ConfidentialAccount` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `ConfidentialAccount` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialTransactionConfidentialAccountsByConfidentialAssetHistoryTransactionIdAndFromIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialTransactionConfidentialAccountsByConfidentialAssetHistoryTransactionIdAndFromIdManyToManyEdge = - { - __typename?: 'ConfidentialTransactionConfidentialAccountsByConfidentialAssetHistoryTransactionIdAndFromIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ - confidentialAssetHistoriesByFromId: ConfidentialAssetHistoriesConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `ConfidentialAccount` at the end of the edge. */ - node?: Maybe; - }; - -/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialTransactionConfidentialAccountsByConfidentialAssetHistoryTransactionIdAndFromIdManyToManyEdgeConfidentialAssetHistoriesByFromIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialTransactionConfidentialAccountsByConfidentialAssetHistoryTransactionIdAndToIdManyToManyConnection = - { - __typename?: 'ConfidentialTransactionConfidentialAccountsByConfidentialAssetHistoryTransactionIdAndToIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `ConfidentialAccount`, info from the `ConfidentialAssetHistory`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `ConfidentialAccount` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `ConfidentialAccount` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialTransactionConfidentialAccountsByConfidentialAssetHistoryTransactionIdAndToIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialTransactionConfidentialAccountsByConfidentialAssetHistoryTransactionIdAndToIdManyToManyEdge = - { - __typename?: 'ConfidentialTransactionConfidentialAccountsByConfidentialAssetHistoryTransactionIdAndToIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ - confidentialAssetHistoriesByToId: ConfidentialAssetHistoriesConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `ConfidentialAccount` at the end of the edge. */ - node?: Maybe; - }; - -/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialTransactionConfidentialAccountsByConfidentialAssetHistoryTransactionIdAndToIdManyToManyEdgeConfidentialAssetHistoriesByToIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialLeg`. */ -export type ConfidentialTransactionConfidentialAccountsByConfidentialLegTransactionIdAndReceiverIdManyToManyConnection = - { - __typename?: 'ConfidentialTransactionConfidentialAccountsByConfidentialLegTransactionIdAndReceiverIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `ConfidentialAccount`, info from the `ConfidentialLeg`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `ConfidentialAccount` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `ConfidentialAccount` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialLeg`. */ -export type ConfidentialTransactionConfidentialAccountsByConfidentialLegTransactionIdAndReceiverIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialLeg`. */ -export type ConfidentialTransactionConfidentialAccountsByConfidentialLegTransactionIdAndReceiverIdManyToManyEdge = - { - __typename?: 'ConfidentialTransactionConfidentialAccountsByConfidentialLegTransactionIdAndReceiverIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialLeg`. */ - confidentialLegsByReceiverId: ConfidentialLegsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `ConfidentialAccount` at the end of the edge. */ - node?: Maybe; - }; - -/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialLeg`. */ -export type ConfidentialTransactionConfidentialAccountsByConfidentialLegTransactionIdAndReceiverIdManyToManyEdgeConfidentialLegsByReceiverIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialLeg`. */ -export type ConfidentialTransactionConfidentialAccountsByConfidentialLegTransactionIdAndSenderIdManyToManyConnection = - { - __typename?: 'ConfidentialTransactionConfidentialAccountsByConfidentialLegTransactionIdAndSenderIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `ConfidentialAccount`, info from the `ConfidentialLeg`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `ConfidentialAccount` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `ConfidentialAccount` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialLeg`. */ -export type ConfidentialTransactionConfidentialAccountsByConfidentialLegTransactionIdAndSenderIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialLeg`. */ -export type ConfidentialTransactionConfidentialAccountsByConfidentialLegTransactionIdAndSenderIdManyToManyEdge = - { - __typename?: 'ConfidentialTransactionConfidentialAccountsByConfidentialLegTransactionIdAndSenderIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialLeg`. */ - confidentialLegsBySenderId: ConfidentialLegsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `ConfidentialAccount` at the end of the edge. */ - node?: Maybe; - }; - -/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialLeg`. */ -export type ConfidentialTransactionConfidentialAccountsByConfidentialLegTransactionIdAndSenderIdManyToManyEdgeConfidentialLegsBySenderIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialTransactionAffirmation`. */ -export type ConfidentialTransactionConfidentialAccountsByConfidentialTransactionAffirmationTransactionIdAndAccountIdManyToManyConnection = - { - __typename?: 'ConfidentialTransactionConfidentialAccountsByConfidentialTransactionAffirmationTransactionIdAndAccountIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `ConfidentialAccount`, info from the `ConfidentialTransactionAffirmation`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `ConfidentialAccount` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `ConfidentialAccount` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialTransactionAffirmation`. */ -export type ConfidentialTransactionConfidentialAccountsByConfidentialTransactionAffirmationTransactionIdAndAccountIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ -export type ConfidentialTransactionConfidentialAccountsByConfidentialTransactionAffirmationTransactionIdAndAccountIdManyToManyEdge = - { - __typename?: 'ConfidentialTransactionConfidentialAccountsByConfidentialTransactionAffirmationTransactionIdAndAccountIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialTransactionAffirmation`. */ - confidentialTransactionAffirmationsByAccountId: ConfidentialTransactionAffirmationsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `ConfidentialAccount` at the end of the edge. */ - node?: Maybe; - }; - -/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ -export type ConfidentialTransactionConfidentialAccountsByConfidentialTransactionAffirmationTransactionIdAndAccountIdManyToManyEdgeConfidentialTransactionAffirmationsByAccountIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `ConfidentialAsset` values, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialTransactionConfidentialAssetsByConfidentialAssetHistoryTransactionIdAndAssetIdManyToManyConnection = - { - __typename?: 'ConfidentialTransactionConfidentialAssetsByConfidentialAssetHistoryTransactionIdAndAssetIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `ConfidentialAsset`, info from the `ConfidentialAssetHistory`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `ConfidentialAsset` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `ConfidentialAsset` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `ConfidentialAsset` values, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialTransactionConfidentialAssetsByConfidentialAssetHistoryTransactionIdAndAssetIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `ConfidentialAsset` edge in the connection, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialTransactionConfidentialAssetsByConfidentialAssetHistoryTransactionIdAndAssetIdManyToManyEdge = - { - __typename?: 'ConfidentialTransactionConfidentialAssetsByConfidentialAssetHistoryTransactionIdAndAssetIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ - confidentialAssetHistoriesByAssetId: ConfidentialAssetHistoriesConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `ConfidentialAsset` at the end of the edge. */ - node?: Maybe; - }; - -/** A `ConfidentialAsset` edge in the connection, with data from `ConfidentialAssetHistory`. */ -export type ConfidentialTransactionConfidentialAssetsByConfidentialAssetHistoryTransactionIdAndAssetIdManyToManyEdgeConfidentialAssetHistoriesByAssetIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -export type ConfidentialTransactionDistinctCountAggregateFilter = { - createdAt?: InputMaybe; - createdBlockId?: InputMaybe; - eventId?: InputMaybe; - eventIdx?: InputMaybe; - id?: InputMaybe; - memo?: InputMaybe; - pendingAffirmations?: InputMaybe; - status?: InputMaybe; - updatedAt?: InputMaybe; - updatedBlockId?: InputMaybe; - venueId?: InputMaybe; -}; - -export type ConfidentialTransactionDistinctCountAggregates = { - __typename?: 'ConfidentialTransactionDistinctCountAggregates'; - /** Distinct count of createdAt across the matching connection */ - createdAt?: Maybe; - /** Distinct count of createdBlockId across the matching connection */ - createdBlockId?: Maybe; - /** Distinct count of eventId across the matching connection */ - eventId?: Maybe; - /** Distinct count of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Distinct count of id across the matching connection */ - id?: Maybe; - /** Distinct count of memo across the matching connection */ - memo?: Maybe; - /** Distinct count of pendingAffirmations across the matching connection */ - pendingAffirmations?: Maybe; - /** Distinct count of status across the matching connection */ - status?: Maybe; - /** Distinct count of updatedAt across the matching connection */ - updatedAt?: Maybe; - /** Distinct count of updatedBlockId across the matching connection */ - updatedBlockId?: Maybe; - /** Distinct count of venueId across the matching connection */ - venueId?: Maybe; -}; - -/** A filter to be used against `ConfidentialTransaction` object types. All fields are combined with a logical ‘and.’ */ -export type ConfidentialTransactionFilter = { - /** Filter by the object’s `affirmations` relation. */ - affirmations?: InputMaybe; - /** Some related `affirmations` exist. */ - affirmationsExist?: InputMaybe; - /** Checks for all expressions in this list. */ - and?: InputMaybe>; - /** Filter by the object’s `confidentialAssetHistoriesByTransactionId` relation. */ - confidentialAssetHistoriesByTransactionId?: InputMaybe; - /** Some related `confidentialAssetHistoriesByTransactionId` exist. */ - confidentialAssetHistoriesByTransactionIdExist?: InputMaybe; - /** Filter by the object’s `createdAt` field. */ - createdAt?: InputMaybe; - /** Filter by the object’s `createdBlock` relation. */ - createdBlock?: InputMaybe; - /** Filter by the object’s `createdBlockId` field. */ - createdBlockId?: InputMaybe; - /** Filter by the object’s `eventId` field. */ - eventId?: InputMaybe; - /** Filter by the object’s `eventIdx` field. */ - eventIdx?: InputMaybe; - /** Filter by the object’s `id` field. */ - id?: InputMaybe; - /** Filter by the object’s `legs` relation. */ - legs?: InputMaybe; - /** Some related `legs` exist. */ - legsExist?: InputMaybe; - /** Filter by the object’s `memo` field. */ - memo?: InputMaybe; - /** Negates the expression. */ - not?: InputMaybe; - /** Checks for any expressions in this list. */ - or?: InputMaybe>; - /** Filter by the object’s `pendingAffirmations` field. */ - pendingAffirmations?: InputMaybe; - /** Filter by the object’s `status` field. */ - status?: InputMaybe; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: InputMaybe; - /** Filter by the object’s `updatedBlock` relation. */ - updatedBlock?: InputMaybe; - /** Filter by the object’s `updatedBlockId` field. */ - updatedBlockId?: InputMaybe; - /** Filter by the object’s `venue` relation. */ - venue?: InputMaybe; - /** Filter by the object’s `venueId` field. */ - venueId?: InputMaybe; -}; - -/** A connection to a list of `Identity` values, with data from `ConfidentialTransactionAffirmation`. */ -export type ConfidentialTransactionIdentitiesByConfidentialTransactionAffirmationTransactionIdAndIdentityIdManyToManyConnection = - { - __typename?: 'ConfidentialTransactionIdentitiesByConfidentialTransactionAffirmationTransactionIdAndIdentityIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `ConfidentialTransactionAffirmation`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Identity` values, with data from `ConfidentialTransactionAffirmation`. */ -export type ConfidentialTransactionIdentitiesByConfidentialTransactionAffirmationTransactionIdAndIdentityIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ -export type ConfidentialTransactionIdentitiesByConfidentialTransactionAffirmationTransactionIdAndIdentityIdManyToManyEdge = - { - __typename?: 'ConfidentialTransactionIdentitiesByConfidentialTransactionAffirmationTransactionIdAndIdentityIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialTransactionAffirmation`. */ - confidentialTransactionAffirmations: ConfidentialTransactionAffirmationsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; - }; - -/** A `Identity` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ -export type ConfidentialTransactionIdentitiesByConfidentialTransactionAffirmationTransactionIdAndIdentityIdManyToManyEdgeConfidentialTransactionAffirmationsArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -export type ConfidentialTransactionMaxAggregateFilter = { - eventIdx?: InputMaybe; - pendingAffirmations?: InputMaybe; -}; - -export type ConfidentialTransactionMaxAggregates = { - __typename?: 'ConfidentialTransactionMaxAggregates'; - /** Maximum of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Maximum of pendingAffirmations across the matching connection */ - pendingAffirmations?: Maybe; -}; - -export type ConfidentialTransactionMinAggregateFilter = { - eventIdx?: InputMaybe; - pendingAffirmations?: InputMaybe; -}; - -export type ConfidentialTransactionMinAggregates = { - __typename?: 'ConfidentialTransactionMinAggregates'; - /** Minimum of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Minimum of pendingAffirmations across the matching connection */ - pendingAffirmations?: Maybe; -}; - -export enum ConfidentialTransactionStatusEnum { - Created = 'Created', - Executed = 'Executed', - Rejected = 'Rejected', -} - -/** A filter to be used against ConfidentialTransactionStatusEnum fields. All fields are combined with a logical ‘and.’ */ -export type ConfidentialTransactionStatusEnumFilter = { - /** Not equal to the specified value, treating null like an ordinary value. */ - distinctFrom?: InputMaybe; - /** Equal to the specified value. */ - equalTo?: InputMaybe; - /** Greater than the specified value. */ - greaterThan?: InputMaybe; - /** Greater than or equal to the specified value. */ - greaterThanOrEqualTo?: InputMaybe; - /** Included in the specified list. */ - in?: InputMaybe>; - /** Is null (if `true` is specified) or is not null (if `false` is specified). */ - isNull?: InputMaybe; - /** Less than the specified value. */ - lessThan?: InputMaybe; - /** Less than or equal to the specified value. */ - lessThanOrEqualTo?: InputMaybe; - /** Equal to the specified value, treating null like an ordinary value. */ - notDistinctFrom?: InputMaybe; - /** Not equal to the specified value. */ - notEqualTo?: InputMaybe; - /** Not included in the specified list. */ - notIn?: InputMaybe>; -}; - -export type ConfidentialTransactionStddevPopulationAggregateFilter = { - eventIdx?: InputMaybe; - pendingAffirmations?: InputMaybe; -}; - -export type ConfidentialTransactionStddevPopulationAggregates = { - __typename?: 'ConfidentialTransactionStddevPopulationAggregates'; - /** Population standard deviation of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Population standard deviation of pendingAffirmations across the matching connection */ - pendingAffirmations?: Maybe; -}; - -export type ConfidentialTransactionStddevSampleAggregateFilter = { - eventIdx?: InputMaybe; - pendingAffirmations?: InputMaybe; -}; - -export type ConfidentialTransactionStddevSampleAggregates = { - __typename?: 'ConfidentialTransactionStddevSampleAggregates'; - /** Sample standard deviation of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Sample standard deviation of pendingAffirmations across the matching connection */ - pendingAffirmations?: Maybe; -}; - -export type ConfidentialTransactionSumAggregateFilter = { - eventIdx?: InputMaybe; - pendingAffirmations?: InputMaybe; -}; - -export type ConfidentialTransactionSumAggregates = { - __typename?: 'ConfidentialTransactionSumAggregates'; - /** Sum of eventIdx across the matching connection */ - eventIdx: Scalars['BigInt']['output']; - /** Sum of pendingAffirmations across the matching connection */ - pendingAffirmations: Scalars['BigInt']['output']; -}; - -/** A filter to be used against many `ConfidentialAssetHistory` object types. All fields are combined with a logical ‘and.’ */ -export type ConfidentialTransactionToManyConfidentialAssetHistoryFilter = { - /** Aggregates across related `ConfidentialAssetHistory` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `ConfidentialAssetHistory` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `ConfidentialAssetHistory` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `ConfidentialAssetHistory` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `ConfidentialLeg` object types. All fields are combined with a logical ‘and.’ */ -export type ConfidentialTransactionToManyConfidentialLegFilter = { - /** Aggregates across related `ConfidentialLeg` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `ConfidentialLeg` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `ConfidentialLeg` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `ConfidentialLeg` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `ConfidentialTransactionAffirmation` object types. All fields are combined with a logical ‘and.’ */ -export type ConfidentialTransactionToManyConfidentialTransactionAffirmationFilter = { - /** Aggregates across related `ConfidentialTransactionAffirmation` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `ConfidentialTransactionAffirmation` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `ConfidentialTransactionAffirmation` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `ConfidentialTransactionAffirmation` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -export type ConfidentialTransactionVariancePopulationAggregateFilter = { - eventIdx?: InputMaybe; - pendingAffirmations?: InputMaybe; -}; - -export type ConfidentialTransactionVariancePopulationAggregates = { - __typename?: 'ConfidentialTransactionVariancePopulationAggregates'; - /** Population variance of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Population variance of pendingAffirmations across the matching connection */ - pendingAffirmations?: Maybe; -}; - -export type ConfidentialTransactionVarianceSampleAggregateFilter = { - eventIdx?: InputMaybe; - pendingAffirmations?: InputMaybe; -}; - -export type ConfidentialTransactionVarianceSampleAggregates = { - __typename?: 'ConfidentialTransactionVarianceSampleAggregates'; - /** Sample variance of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Sample variance of pendingAffirmations across the matching connection */ - pendingAffirmations?: Maybe; -}; - -/** A connection to a list of `ConfidentialTransaction` values. */ -export type ConfidentialTransactionsConnection = { - __typename?: 'ConfidentialTransactionsConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `ConfidentialTransaction` and cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `ConfidentialTransaction` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `ConfidentialTransaction` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `ConfidentialTransaction` values. */ -export type ConfidentialTransactionsConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `ConfidentialTransaction` edge in the connection. */ -export type ConfidentialTransactionsEdge = { - __typename?: 'ConfidentialTransactionsEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `ConfidentialTransaction` at the end of the edge. */ - node?: Maybe; -}; - -/** Grouping methods for `ConfidentialTransaction` for usage during aggregation. */ -export enum ConfidentialTransactionsGroupBy { - CreatedAt = 'CREATED_AT', - CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', - CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', - CreatedBlockId = 'CREATED_BLOCK_ID', - EventId = 'EVENT_ID', - EventIdx = 'EVENT_IDX', - Memo = 'MEMO', - PendingAffirmations = 'PENDING_AFFIRMATIONS', - Status = 'STATUS', - UpdatedAt = 'UPDATED_AT', - UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', - UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', - UpdatedBlockId = 'UPDATED_BLOCK_ID', - VenueId = 'VENUE_ID', -} - -export type ConfidentialTransactionsHavingAverageInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - pendingAffirmations?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ConfidentialTransactionsHavingDistinctCountInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - pendingAffirmations?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Conditions for `ConfidentialTransaction` aggregates. */ -export type ConfidentialTransactionsHavingInput = { - AND?: InputMaybe>; - OR?: InputMaybe>; - average?: InputMaybe; - distinctCount?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddevPopulation?: InputMaybe; - stddevSample?: InputMaybe; - sum?: InputMaybe; - variancePopulation?: InputMaybe; - varianceSample?: InputMaybe; -}; - -export type ConfidentialTransactionsHavingMaxInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - pendingAffirmations?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ConfidentialTransactionsHavingMinInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - pendingAffirmations?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ConfidentialTransactionsHavingStddevPopulationInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - pendingAffirmations?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ConfidentialTransactionsHavingStddevSampleInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - pendingAffirmations?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ConfidentialTransactionsHavingSumInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - pendingAffirmations?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ConfidentialTransactionsHavingVariancePopulationInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - pendingAffirmations?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ConfidentialTransactionsHavingVarianceSampleInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - pendingAffirmations?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Methods to use when ordering `ConfidentialTransaction`. */ -export enum ConfidentialTransactionsOrderBy { - AffirmationsAverageAccountIdAsc = 'AFFIRMATIONS_AVERAGE_ACCOUNT_ID_ASC', - AffirmationsAverageAccountIdDesc = 'AFFIRMATIONS_AVERAGE_ACCOUNT_ID_DESC', - AffirmationsAverageCreatedAtAsc = 'AFFIRMATIONS_AVERAGE_CREATED_AT_ASC', - AffirmationsAverageCreatedAtDesc = 'AFFIRMATIONS_AVERAGE_CREATED_AT_DESC', - AffirmationsAverageCreatedBlockIdAsc = 'AFFIRMATIONS_AVERAGE_CREATED_BLOCK_ID_ASC', - AffirmationsAverageCreatedBlockIdDesc = 'AFFIRMATIONS_AVERAGE_CREATED_BLOCK_ID_DESC', - AffirmationsAverageEventIdxAsc = 'AFFIRMATIONS_AVERAGE_EVENT_IDX_ASC', - AffirmationsAverageEventIdxDesc = 'AFFIRMATIONS_AVERAGE_EVENT_IDX_DESC', - AffirmationsAverageIdentityIdAsc = 'AFFIRMATIONS_AVERAGE_IDENTITY_ID_ASC', - AffirmationsAverageIdentityIdDesc = 'AFFIRMATIONS_AVERAGE_IDENTITY_ID_DESC', - AffirmationsAverageIdAsc = 'AFFIRMATIONS_AVERAGE_ID_ASC', - AffirmationsAverageIdDesc = 'AFFIRMATIONS_AVERAGE_ID_DESC', - AffirmationsAverageLegIdAsc = 'AFFIRMATIONS_AVERAGE_LEG_ID_ASC', - AffirmationsAverageLegIdDesc = 'AFFIRMATIONS_AVERAGE_LEG_ID_DESC', - AffirmationsAverageProofsAsc = 'AFFIRMATIONS_AVERAGE_PROOFS_ASC', - AffirmationsAverageProofsDesc = 'AFFIRMATIONS_AVERAGE_PROOFS_DESC', - AffirmationsAverageStatusAsc = 'AFFIRMATIONS_AVERAGE_STATUS_ASC', - AffirmationsAverageStatusDesc = 'AFFIRMATIONS_AVERAGE_STATUS_DESC', - AffirmationsAverageTransactionIdAsc = 'AFFIRMATIONS_AVERAGE_TRANSACTION_ID_ASC', - AffirmationsAverageTransactionIdDesc = 'AFFIRMATIONS_AVERAGE_TRANSACTION_ID_DESC', - AffirmationsAverageTypeAsc = 'AFFIRMATIONS_AVERAGE_TYPE_ASC', - AffirmationsAverageTypeDesc = 'AFFIRMATIONS_AVERAGE_TYPE_DESC', - AffirmationsAverageUpdatedAtAsc = 'AFFIRMATIONS_AVERAGE_UPDATED_AT_ASC', - AffirmationsAverageUpdatedAtDesc = 'AFFIRMATIONS_AVERAGE_UPDATED_AT_DESC', - AffirmationsAverageUpdatedBlockIdAsc = 'AFFIRMATIONS_AVERAGE_UPDATED_BLOCK_ID_ASC', - AffirmationsAverageUpdatedBlockIdDesc = 'AFFIRMATIONS_AVERAGE_UPDATED_BLOCK_ID_DESC', - AffirmationsCountAsc = 'AFFIRMATIONS_COUNT_ASC', - AffirmationsCountDesc = 'AFFIRMATIONS_COUNT_DESC', - AffirmationsDistinctCountAccountIdAsc = 'AFFIRMATIONS_DISTINCT_COUNT_ACCOUNT_ID_ASC', - AffirmationsDistinctCountAccountIdDesc = 'AFFIRMATIONS_DISTINCT_COUNT_ACCOUNT_ID_DESC', - AffirmationsDistinctCountCreatedAtAsc = 'AFFIRMATIONS_DISTINCT_COUNT_CREATED_AT_ASC', - AffirmationsDistinctCountCreatedAtDesc = 'AFFIRMATIONS_DISTINCT_COUNT_CREATED_AT_DESC', - AffirmationsDistinctCountCreatedBlockIdAsc = 'AFFIRMATIONS_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - AffirmationsDistinctCountCreatedBlockIdDesc = 'AFFIRMATIONS_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - AffirmationsDistinctCountEventIdxAsc = 'AFFIRMATIONS_DISTINCT_COUNT_EVENT_IDX_ASC', - AffirmationsDistinctCountEventIdxDesc = 'AFFIRMATIONS_DISTINCT_COUNT_EVENT_IDX_DESC', - AffirmationsDistinctCountIdentityIdAsc = 'AFFIRMATIONS_DISTINCT_COUNT_IDENTITY_ID_ASC', - AffirmationsDistinctCountIdentityIdDesc = 'AFFIRMATIONS_DISTINCT_COUNT_IDENTITY_ID_DESC', - AffirmationsDistinctCountIdAsc = 'AFFIRMATIONS_DISTINCT_COUNT_ID_ASC', - AffirmationsDistinctCountIdDesc = 'AFFIRMATIONS_DISTINCT_COUNT_ID_DESC', - AffirmationsDistinctCountLegIdAsc = 'AFFIRMATIONS_DISTINCT_COUNT_LEG_ID_ASC', - AffirmationsDistinctCountLegIdDesc = 'AFFIRMATIONS_DISTINCT_COUNT_LEG_ID_DESC', - AffirmationsDistinctCountProofsAsc = 'AFFIRMATIONS_DISTINCT_COUNT_PROOFS_ASC', - AffirmationsDistinctCountProofsDesc = 'AFFIRMATIONS_DISTINCT_COUNT_PROOFS_DESC', - AffirmationsDistinctCountStatusAsc = 'AFFIRMATIONS_DISTINCT_COUNT_STATUS_ASC', - AffirmationsDistinctCountStatusDesc = 'AFFIRMATIONS_DISTINCT_COUNT_STATUS_DESC', - AffirmationsDistinctCountTransactionIdAsc = 'AFFIRMATIONS_DISTINCT_COUNT_TRANSACTION_ID_ASC', - AffirmationsDistinctCountTransactionIdDesc = 'AFFIRMATIONS_DISTINCT_COUNT_TRANSACTION_ID_DESC', - AffirmationsDistinctCountTypeAsc = 'AFFIRMATIONS_DISTINCT_COUNT_TYPE_ASC', - AffirmationsDistinctCountTypeDesc = 'AFFIRMATIONS_DISTINCT_COUNT_TYPE_DESC', - AffirmationsDistinctCountUpdatedAtAsc = 'AFFIRMATIONS_DISTINCT_COUNT_UPDATED_AT_ASC', - AffirmationsDistinctCountUpdatedAtDesc = 'AFFIRMATIONS_DISTINCT_COUNT_UPDATED_AT_DESC', - AffirmationsDistinctCountUpdatedBlockIdAsc = 'AFFIRMATIONS_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - AffirmationsDistinctCountUpdatedBlockIdDesc = 'AFFIRMATIONS_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - AffirmationsMaxAccountIdAsc = 'AFFIRMATIONS_MAX_ACCOUNT_ID_ASC', - AffirmationsMaxAccountIdDesc = 'AFFIRMATIONS_MAX_ACCOUNT_ID_DESC', - AffirmationsMaxCreatedAtAsc = 'AFFIRMATIONS_MAX_CREATED_AT_ASC', - AffirmationsMaxCreatedAtDesc = 'AFFIRMATIONS_MAX_CREATED_AT_DESC', - AffirmationsMaxCreatedBlockIdAsc = 'AFFIRMATIONS_MAX_CREATED_BLOCK_ID_ASC', - AffirmationsMaxCreatedBlockIdDesc = 'AFFIRMATIONS_MAX_CREATED_BLOCK_ID_DESC', - AffirmationsMaxEventIdxAsc = 'AFFIRMATIONS_MAX_EVENT_IDX_ASC', - AffirmationsMaxEventIdxDesc = 'AFFIRMATIONS_MAX_EVENT_IDX_DESC', - AffirmationsMaxIdentityIdAsc = 'AFFIRMATIONS_MAX_IDENTITY_ID_ASC', - AffirmationsMaxIdentityIdDesc = 'AFFIRMATIONS_MAX_IDENTITY_ID_DESC', - AffirmationsMaxIdAsc = 'AFFIRMATIONS_MAX_ID_ASC', - AffirmationsMaxIdDesc = 'AFFIRMATIONS_MAX_ID_DESC', - AffirmationsMaxLegIdAsc = 'AFFIRMATIONS_MAX_LEG_ID_ASC', - AffirmationsMaxLegIdDesc = 'AFFIRMATIONS_MAX_LEG_ID_DESC', - AffirmationsMaxProofsAsc = 'AFFIRMATIONS_MAX_PROOFS_ASC', - AffirmationsMaxProofsDesc = 'AFFIRMATIONS_MAX_PROOFS_DESC', - AffirmationsMaxStatusAsc = 'AFFIRMATIONS_MAX_STATUS_ASC', - AffirmationsMaxStatusDesc = 'AFFIRMATIONS_MAX_STATUS_DESC', - AffirmationsMaxTransactionIdAsc = 'AFFIRMATIONS_MAX_TRANSACTION_ID_ASC', - AffirmationsMaxTransactionIdDesc = 'AFFIRMATIONS_MAX_TRANSACTION_ID_DESC', - AffirmationsMaxTypeAsc = 'AFFIRMATIONS_MAX_TYPE_ASC', - AffirmationsMaxTypeDesc = 'AFFIRMATIONS_MAX_TYPE_DESC', - AffirmationsMaxUpdatedAtAsc = 'AFFIRMATIONS_MAX_UPDATED_AT_ASC', - AffirmationsMaxUpdatedAtDesc = 'AFFIRMATIONS_MAX_UPDATED_AT_DESC', - AffirmationsMaxUpdatedBlockIdAsc = 'AFFIRMATIONS_MAX_UPDATED_BLOCK_ID_ASC', - AffirmationsMaxUpdatedBlockIdDesc = 'AFFIRMATIONS_MAX_UPDATED_BLOCK_ID_DESC', - AffirmationsMinAccountIdAsc = 'AFFIRMATIONS_MIN_ACCOUNT_ID_ASC', - AffirmationsMinAccountIdDesc = 'AFFIRMATIONS_MIN_ACCOUNT_ID_DESC', - AffirmationsMinCreatedAtAsc = 'AFFIRMATIONS_MIN_CREATED_AT_ASC', - AffirmationsMinCreatedAtDesc = 'AFFIRMATIONS_MIN_CREATED_AT_DESC', - AffirmationsMinCreatedBlockIdAsc = 'AFFIRMATIONS_MIN_CREATED_BLOCK_ID_ASC', - AffirmationsMinCreatedBlockIdDesc = 'AFFIRMATIONS_MIN_CREATED_BLOCK_ID_DESC', - AffirmationsMinEventIdxAsc = 'AFFIRMATIONS_MIN_EVENT_IDX_ASC', - AffirmationsMinEventIdxDesc = 'AFFIRMATIONS_MIN_EVENT_IDX_DESC', - AffirmationsMinIdentityIdAsc = 'AFFIRMATIONS_MIN_IDENTITY_ID_ASC', - AffirmationsMinIdentityIdDesc = 'AFFIRMATIONS_MIN_IDENTITY_ID_DESC', - AffirmationsMinIdAsc = 'AFFIRMATIONS_MIN_ID_ASC', - AffirmationsMinIdDesc = 'AFFIRMATIONS_MIN_ID_DESC', - AffirmationsMinLegIdAsc = 'AFFIRMATIONS_MIN_LEG_ID_ASC', - AffirmationsMinLegIdDesc = 'AFFIRMATIONS_MIN_LEG_ID_DESC', - AffirmationsMinProofsAsc = 'AFFIRMATIONS_MIN_PROOFS_ASC', - AffirmationsMinProofsDesc = 'AFFIRMATIONS_MIN_PROOFS_DESC', - AffirmationsMinStatusAsc = 'AFFIRMATIONS_MIN_STATUS_ASC', - AffirmationsMinStatusDesc = 'AFFIRMATIONS_MIN_STATUS_DESC', - AffirmationsMinTransactionIdAsc = 'AFFIRMATIONS_MIN_TRANSACTION_ID_ASC', - AffirmationsMinTransactionIdDesc = 'AFFIRMATIONS_MIN_TRANSACTION_ID_DESC', - AffirmationsMinTypeAsc = 'AFFIRMATIONS_MIN_TYPE_ASC', - AffirmationsMinTypeDesc = 'AFFIRMATIONS_MIN_TYPE_DESC', - AffirmationsMinUpdatedAtAsc = 'AFFIRMATIONS_MIN_UPDATED_AT_ASC', - AffirmationsMinUpdatedAtDesc = 'AFFIRMATIONS_MIN_UPDATED_AT_DESC', - AffirmationsMinUpdatedBlockIdAsc = 'AFFIRMATIONS_MIN_UPDATED_BLOCK_ID_ASC', - AffirmationsMinUpdatedBlockIdDesc = 'AFFIRMATIONS_MIN_UPDATED_BLOCK_ID_DESC', - AffirmationsStddevPopulationAccountIdAsc = 'AFFIRMATIONS_STDDEV_POPULATION_ACCOUNT_ID_ASC', - AffirmationsStddevPopulationAccountIdDesc = 'AFFIRMATIONS_STDDEV_POPULATION_ACCOUNT_ID_DESC', - AffirmationsStddevPopulationCreatedAtAsc = 'AFFIRMATIONS_STDDEV_POPULATION_CREATED_AT_ASC', - AffirmationsStddevPopulationCreatedAtDesc = 'AFFIRMATIONS_STDDEV_POPULATION_CREATED_AT_DESC', - AffirmationsStddevPopulationCreatedBlockIdAsc = 'AFFIRMATIONS_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - AffirmationsStddevPopulationCreatedBlockIdDesc = 'AFFIRMATIONS_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - AffirmationsStddevPopulationEventIdxAsc = 'AFFIRMATIONS_STDDEV_POPULATION_EVENT_IDX_ASC', - AffirmationsStddevPopulationEventIdxDesc = 'AFFIRMATIONS_STDDEV_POPULATION_EVENT_IDX_DESC', - AffirmationsStddevPopulationIdentityIdAsc = 'AFFIRMATIONS_STDDEV_POPULATION_IDENTITY_ID_ASC', - AffirmationsStddevPopulationIdentityIdDesc = 'AFFIRMATIONS_STDDEV_POPULATION_IDENTITY_ID_DESC', - AffirmationsStddevPopulationIdAsc = 'AFFIRMATIONS_STDDEV_POPULATION_ID_ASC', - AffirmationsStddevPopulationIdDesc = 'AFFIRMATIONS_STDDEV_POPULATION_ID_DESC', - AffirmationsStddevPopulationLegIdAsc = 'AFFIRMATIONS_STDDEV_POPULATION_LEG_ID_ASC', - AffirmationsStddevPopulationLegIdDesc = 'AFFIRMATIONS_STDDEV_POPULATION_LEG_ID_DESC', - AffirmationsStddevPopulationProofsAsc = 'AFFIRMATIONS_STDDEV_POPULATION_PROOFS_ASC', - AffirmationsStddevPopulationProofsDesc = 'AFFIRMATIONS_STDDEV_POPULATION_PROOFS_DESC', - AffirmationsStddevPopulationStatusAsc = 'AFFIRMATIONS_STDDEV_POPULATION_STATUS_ASC', - AffirmationsStddevPopulationStatusDesc = 'AFFIRMATIONS_STDDEV_POPULATION_STATUS_DESC', - AffirmationsStddevPopulationTransactionIdAsc = 'AFFIRMATIONS_STDDEV_POPULATION_TRANSACTION_ID_ASC', - AffirmationsStddevPopulationTransactionIdDesc = 'AFFIRMATIONS_STDDEV_POPULATION_TRANSACTION_ID_DESC', - AffirmationsStddevPopulationTypeAsc = 'AFFIRMATIONS_STDDEV_POPULATION_TYPE_ASC', - AffirmationsStddevPopulationTypeDesc = 'AFFIRMATIONS_STDDEV_POPULATION_TYPE_DESC', - AffirmationsStddevPopulationUpdatedAtAsc = 'AFFIRMATIONS_STDDEV_POPULATION_UPDATED_AT_ASC', - AffirmationsStddevPopulationUpdatedAtDesc = 'AFFIRMATIONS_STDDEV_POPULATION_UPDATED_AT_DESC', - AffirmationsStddevPopulationUpdatedBlockIdAsc = 'AFFIRMATIONS_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - AffirmationsStddevPopulationUpdatedBlockIdDesc = 'AFFIRMATIONS_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - AffirmationsStddevSampleAccountIdAsc = 'AFFIRMATIONS_STDDEV_SAMPLE_ACCOUNT_ID_ASC', - AffirmationsStddevSampleAccountIdDesc = 'AFFIRMATIONS_STDDEV_SAMPLE_ACCOUNT_ID_DESC', - AffirmationsStddevSampleCreatedAtAsc = 'AFFIRMATIONS_STDDEV_SAMPLE_CREATED_AT_ASC', - AffirmationsStddevSampleCreatedAtDesc = 'AFFIRMATIONS_STDDEV_SAMPLE_CREATED_AT_DESC', - AffirmationsStddevSampleCreatedBlockIdAsc = 'AFFIRMATIONS_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - AffirmationsStddevSampleCreatedBlockIdDesc = 'AFFIRMATIONS_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - AffirmationsStddevSampleEventIdxAsc = 'AFFIRMATIONS_STDDEV_SAMPLE_EVENT_IDX_ASC', - AffirmationsStddevSampleEventIdxDesc = 'AFFIRMATIONS_STDDEV_SAMPLE_EVENT_IDX_DESC', - AffirmationsStddevSampleIdentityIdAsc = 'AFFIRMATIONS_STDDEV_SAMPLE_IDENTITY_ID_ASC', - AffirmationsStddevSampleIdentityIdDesc = 'AFFIRMATIONS_STDDEV_SAMPLE_IDENTITY_ID_DESC', - AffirmationsStddevSampleIdAsc = 'AFFIRMATIONS_STDDEV_SAMPLE_ID_ASC', - AffirmationsStddevSampleIdDesc = 'AFFIRMATIONS_STDDEV_SAMPLE_ID_DESC', - AffirmationsStddevSampleLegIdAsc = 'AFFIRMATIONS_STDDEV_SAMPLE_LEG_ID_ASC', - AffirmationsStddevSampleLegIdDesc = 'AFFIRMATIONS_STDDEV_SAMPLE_LEG_ID_DESC', - AffirmationsStddevSampleProofsAsc = 'AFFIRMATIONS_STDDEV_SAMPLE_PROOFS_ASC', - AffirmationsStddevSampleProofsDesc = 'AFFIRMATIONS_STDDEV_SAMPLE_PROOFS_DESC', - AffirmationsStddevSampleStatusAsc = 'AFFIRMATIONS_STDDEV_SAMPLE_STATUS_ASC', - AffirmationsStddevSampleStatusDesc = 'AFFIRMATIONS_STDDEV_SAMPLE_STATUS_DESC', - AffirmationsStddevSampleTransactionIdAsc = 'AFFIRMATIONS_STDDEV_SAMPLE_TRANSACTION_ID_ASC', - AffirmationsStddevSampleTransactionIdDesc = 'AFFIRMATIONS_STDDEV_SAMPLE_TRANSACTION_ID_DESC', - AffirmationsStddevSampleTypeAsc = 'AFFIRMATIONS_STDDEV_SAMPLE_TYPE_ASC', - AffirmationsStddevSampleTypeDesc = 'AFFIRMATIONS_STDDEV_SAMPLE_TYPE_DESC', - AffirmationsStddevSampleUpdatedAtAsc = 'AFFIRMATIONS_STDDEV_SAMPLE_UPDATED_AT_ASC', - AffirmationsStddevSampleUpdatedAtDesc = 'AFFIRMATIONS_STDDEV_SAMPLE_UPDATED_AT_DESC', - AffirmationsStddevSampleUpdatedBlockIdAsc = 'AFFIRMATIONS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - AffirmationsStddevSampleUpdatedBlockIdDesc = 'AFFIRMATIONS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - AffirmationsSumAccountIdAsc = 'AFFIRMATIONS_SUM_ACCOUNT_ID_ASC', - AffirmationsSumAccountIdDesc = 'AFFIRMATIONS_SUM_ACCOUNT_ID_DESC', - AffirmationsSumCreatedAtAsc = 'AFFIRMATIONS_SUM_CREATED_AT_ASC', - AffirmationsSumCreatedAtDesc = 'AFFIRMATIONS_SUM_CREATED_AT_DESC', - AffirmationsSumCreatedBlockIdAsc = 'AFFIRMATIONS_SUM_CREATED_BLOCK_ID_ASC', - AffirmationsSumCreatedBlockIdDesc = 'AFFIRMATIONS_SUM_CREATED_BLOCK_ID_DESC', - AffirmationsSumEventIdxAsc = 'AFFIRMATIONS_SUM_EVENT_IDX_ASC', - AffirmationsSumEventIdxDesc = 'AFFIRMATIONS_SUM_EVENT_IDX_DESC', - AffirmationsSumIdentityIdAsc = 'AFFIRMATIONS_SUM_IDENTITY_ID_ASC', - AffirmationsSumIdentityIdDesc = 'AFFIRMATIONS_SUM_IDENTITY_ID_DESC', - AffirmationsSumIdAsc = 'AFFIRMATIONS_SUM_ID_ASC', - AffirmationsSumIdDesc = 'AFFIRMATIONS_SUM_ID_DESC', - AffirmationsSumLegIdAsc = 'AFFIRMATIONS_SUM_LEG_ID_ASC', - AffirmationsSumLegIdDesc = 'AFFIRMATIONS_SUM_LEG_ID_DESC', - AffirmationsSumProofsAsc = 'AFFIRMATIONS_SUM_PROOFS_ASC', - AffirmationsSumProofsDesc = 'AFFIRMATIONS_SUM_PROOFS_DESC', - AffirmationsSumStatusAsc = 'AFFIRMATIONS_SUM_STATUS_ASC', - AffirmationsSumStatusDesc = 'AFFIRMATIONS_SUM_STATUS_DESC', - AffirmationsSumTransactionIdAsc = 'AFFIRMATIONS_SUM_TRANSACTION_ID_ASC', - AffirmationsSumTransactionIdDesc = 'AFFIRMATIONS_SUM_TRANSACTION_ID_DESC', - AffirmationsSumTypeAsc = 'AFFIRMATIONS_SUM_TYPE_ASC', - AffirmationsSumTypeDesc = 'AFFIRMATIONS_SUM_TYPE_DESC', - AffirmationsSumUpdatedAtAsc = 'AFFIRMATIONS_SUM_UPDATED_AT_ASC', - AffirmationsSumUpdatedAtDesc = 'AFFIRMATIONS_SUM_UPDATED_AT_DESC', - AffirmationsSumUpdatedBlockIdAsc = 'AFFIRMATIONS_SUM_UPDATED_BLOCK_ID_ASC', - AffirmationsSumUpdatedBlockIdDesc = 'AFFIRMATIONS_SUM_UPDATED_BLOCK_ID_DESC', - AffirmationsVariancePopulationAccountIdAsc = 'AFFIRMATIONS_VARIANCE_POPULATION_ACCOUNT_ID_ASC', - AffirmationsVariancePopulationAccountIdDesc = 'AFFIRMATIONS_VARIANCE_POPULATION_ACCOUNT_ID_DESC', - AffirmationsVariancePopulationCreatedAtAsc = 'AFFIRMATIONS_VARIANCE_POPULATION_CREATED_AT_ASC', - AffirmationsVariancePopulationCreatedAtDesc = 'AFFIRMATIONS_VARIANCE_POPULATION_CREATED_AT_DESC', - AffirmationsVariancePopulationCreatedBlockIdAsc = 'AFFIRMATIONS_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - AffirmationsVariancePopulationCreatedBlockIdDesc = 'AFFIRMATIONS_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - AffirmationsVariancePopulationEventIdxAsc = 'AFFIRMATIONS_VARIANCE_POPULATION_EVENT_IDX_ASC', - AffirmationsVariancePopulationEventIdxDesc = 'AFFIRMATIONS_VARIANCE_POPULATION_EVENT_IDX_DESC', - AffirmationsVariancePopulationIdentityIdAsc = 'AFFIRMATIONS_VARIANCE_POPULATION_IDENTITY_ID_ASC', - AffirmationsVariancePopulationIdentityIdDesc = 'AFFIRMATIONS_VARIANCE_POPULATION_IDENTITY_ID_DESC', - AffirmationsVariancePopulationIdAsc = 'AFFIRMATIONS_VARIANCE_POPULATION_ID_ASC', - AffirmationsVariancePopulationIdDesc = 'AFFIRMATIONS_VARIANCE_POPULATION_ID_DESC', - AffirmationsVariancePopulationLegIdAsc = 'AFFIRMATIONS_VARIANCE_POPULATION_LEG_ID_ASC', - AffirmationsVariancePopulationLegIdDesc = 'AFFIRMATIONS_VARIANCE_POPULATION_LEG_ID_DESC', - AffirmationsVariancePopulationProofsAsc = 'AFFIRMATIONS_VARIANCE_POPULATION_PROOFS_ASC', - AffirmationsVariancePopulationProofsDesc = 'AFFIRMATIONS_VARIANCE_POPULATION_PROOFS_DESC', - AffirmationsVariancePopulationStatusAsc = 'AFFIRMATIONS_VARIANCE_POPULATION_STATUS_ASC', - AffirmationsVariancePopulationStatusDesc = 'AFFIRMATIONS_VARIANCE_POPULATION_STATUS_DESC', - AffirmationsVariancePopulationTransactionIdAsc = 'AFFIRMATIONS_VARIANCE_POPULATION_TRANSACTION_ID_ASC', - AffirmationsVariancePopulationTransactionIdDesc = 'AFFIRMATIONS_VARIANCE_POPULATION_TRANSACTION_ID_DESC', - AffirmationsVariancePopulationTypeAsc = 'AFFIRMATIONS_VARIANCE_POPULATION_TYPE_ASC', - AffirmationsVariancePopulationTypeDesc = 'AFFIRMATIONS_VARIANCE_POPULATION_TYPE_DESC', - AffirmationsVariancePopulationUpdatedAtAsc = 'AFFIRMATIONS_VARIANCE_POPULATION_UPDATED_AT_ASC', - AffirmationsVariancePopulationUpdatedAtDesc = 'AFFIRMATIONS_VARIANCE_POPULATION_UPDATED_AT_DESC', - AffirmationsVariancePopulationUpdatedBlockIdAsc = 'AFFIRMATIONS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - AffirmationsVariancePopulationUpdatedBlockIdDesc = 'AFFIRMATIONS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - AffirmationsVarianceSampleAccountIdAsc = 'AFFIRMATIONS_VARIANCE_SAMPLE_ACCOUNT_ID_ASC', - AffirmationsVarianceSampleAccountIdDesc = 'AFFIRMATIONS_VARIANCE_SAMPLE_ACCOUNT_ID_DESC', - AffirmationsVarianceSampleCreatedAtAsc = 'AFFIRMATIONS_VARIANCE_SAMPLE_CREATED_AT_ASC', - AffirmationsVarianceSampleCreatedAtDesc = 'AFFIRMATIONS_VARIANCE_SAMPLE_CREATED_AT_DESC', - AffirmationsVarianceSampleCreatedBlockIdAsc = 'AFFIRMATIONS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - AffirmationsVarianceSampleCreatedBlockIdDesc = 'AFFIRMATIONS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - AffirmationsVarianceSampleEventIdxAsc = 'AFFIRMATIONS_VARIANCE_SAMPLE_EVENT_IDX_ASC', - AffirmationsVarianceSampleEventIdxDesc = 'AFFIRMATIONS_VARIANCE_SAMPLE_EVENT_IDX_DESC', - AffirmationsVarianceSampleIdentityIdAsc = 'AFFIRMATIONS_VARIANCE_SAMPLE_IDENTITY_ID_ASC', - AffirmationsVarianceSampleIdentityIdDesc = 'AFFIRMATIONS_VARIANCE_SAMPLE_IDENTITY_ID_DESC', - AffirmationsVarianceSampleIdAsc = 'AFFIRMATIONS_VARIANCE_SAMPLE_ID_ASC', - AffirmationsVarianceSampleIdDesc = 'AFFIRMATIONS_VARIANCE_SAMPLE_ID_DESC', - AffirmationsVarianceSampleLegIdAsc = 'AFFIRMATIONS_VARIANCE_SAMPLE_LEG_ID_ASC', - AffirmationsVarianceSampleLegIdDesc = 'AFFIRMATIONS_VARIANCE_SAMPLE_LEG_ID_DESC', - AffirmationsVarianceSampleProofsAsc = 'AFFIRMATIONS_VARIANCE_SAMPLE_PROOFS_ASC', - AffirmationsVarianceSampleProofsDesc = 'AFFIRMATIONS_VARIANCE_SAMPLE_PROOFS_DESC', - AffirmationsVarianceSampleStatusAsc = 'AFFIRMATIONS_VARIANCE_SAMPLE_STATUS_ASC', - AffirmationsVarianceSampleStatusDesc = 'AFFIRMATIONS_VARIANCE_SAMPLE_STATUS_DESC', - AffirmationsVarianceSampleTransactionIdAsc = 'AFFIRMATIONS_VARIANCE_SAMPLE_TRANSACTION_ID_ASC', - AffirmationsVarianceSampleTransactionIdDesc = 'AFFIRMATIONS_VARIANCE_SAMPLE_TRANSACTION_ID_DESC', - AffirmationsVarianceSampleTypeAsc = 'AFFIRMATIONS_VARIANCE_SAMPLE_TYPE_ASC', - AffirmationsVarianceSampleTypeDesc = 'AFFIRMATIONS_VARIANCE_SAMPLE_TYPE_DESC', - AffirmationsVarianceSampleUpdatedAtAsc = 'AFFIRMATIONS_VARIANCE_SAMPLE_UPDATED_AT_ASC', - AffirmationsVarianceSampleUpdatedAtDesc = 'AFFIRMATIONS_VARIANCE_SAMPLE_UPDATED_AT_DESC', - AffirmationsVarianceSampleUpdatedBlockIdAsc = 'AFFIRMATIONS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - AffirmationsVarianceSampleUpdatedBlockIdDesc = 'AFFIRMATIONS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByTransactionIdAverageAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_AVERAGE_AMOUNT_ASC', - ConfidentialAssetHistoriesByTransactionIdAverageAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_AVERAGE_AMOUNT_DESC', - ConfidentialAssetHistoriesByTransactionIdAverageAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_AVERAGE_ASSET_ID_ASC', - ConfidentialAssetHistoriesByTransactionIdAverageAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_AVERAGE_ASSET_ID_DESC', - ConfidentialAssetHistoriesByTransactionIdAverageCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_AVERAGE_CREATED_AT_ASC', - ConfidentialAssetHistoriesByTransactionIdAverageCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_AVERAGE_CREATED_AT_DESC', - ConfidentialAssetHistoriesByTransactionIdAverageCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByTransactionIdAverageCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByTransactionIdAverageDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_AVERAGE_DATETIME_ASC', - ConfidentialAssetHistoriesByTransactionIdAverageDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_AVERAGE_DATETIME_DESC', - ConfidentialAssetHistoriesByTransactionIdAverageEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_AVERAGE_EVENT_IDX_ASC', - ConfidentialAssetHistoriesByTransactionIdAverageEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_AVERAGE_EVENT_IDX_DESC', - ConfidentialAssetHistoriesByTransactionIdAverageEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_AVERAGE_EVENT_ID_ASC', - ConfidentialAssetHistoriesByTransactionIdAverageEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_AVERAGE_EVENT_ID_DESC', - ConfidentialAssetHistoriesByTransactionIdAverageExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_AVERAGE_EXTRINSIC_IDX_ASC', - ConfidentialAssetHistoriesByTransactionIdAverageExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_AVERAGE_EXTRINSIC_IDX_DESC', - ConfidentialAssetHistoriesByTransactionIdAverageFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_AVERAGE_FROM_ID_ASC', - ConfidentialAssetHistoriesByTransactionIdAverageFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_AVERAGE_FROM_ID_DESC', - ConfidentialAssetHistoriesByTransactionIdAverageIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_AVERAGE_ID_ASC', - ConfidentialAssetHistoriesByTransactionIdAverageIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_AVERAGE_ID_DESC', - ConfidentialAssetHistoriesByTransactionIdAverageMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_AVERAGE_MEMO_ASC', - ConfidentialAssetHistoriesByTransactionIdAverageMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_AVERAGE_MEMO_DESC', - ConfidentialAssetHistoriesByTransactionIdAverageToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_AVERAGE_TO_ID_ASC', - ConfidentialAssetHistoriesByTransactionIdAverageToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_AVERAGE_TO_ID_DESC', - ConfidentialAssetHistoriesByTransactionIdAverageTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_AVERAGE_TRANSACTION_ID_ASC', - ConfidentialAssetHistoriesByTransactionIdAverageTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_AVERAGE_TRANSACTION_ID_DESC', - ConfidentialAssetHistoriesByTransactionIdAverageUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_AVERAGE_UPDATED_AT_ASC', - ConfidentialAssetHistoriesByTransactionIdAverageUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_AVERAGE_UPDATED_AT_DESC', - ConfidentialAssetHistoriesByTransactionIdAverageUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByTransactionIdAverageUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByTransactionIdCountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_COUNT_ASC', - ConfidentialAssetHistoriesByTransactionIdCountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_COUNT_DESC', - ConfidentialAssetHistoriesByTransactionIdDistinctCountAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_DISTINCT_COUNT_AMOUNT_ASC', - ConfidentialAssetHistoriesByTransactionIdDistinctCountAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_DISTINCT_COUNT_AMOUNT_DESC', - ConfidentialAssetHistoriesByTransactionIdDistinctCountAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_DISTINCT_COUNT_ASSET_ID_ASC', - ConfidentialAssetHistoriesByTransactionIdDistinctCountAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_DISTINCT_COUNT_ASSET_ID_DESC', - ConfidentialAssetHistoriesByTransactionIdDistinctCountCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_DISTINCT_COUNT_CREATED_AT_ASC', - ConfidentialAssetHistoriesByTransactionIdDistinctCountCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_DISTINCT_COUNT_CREATED_AT_DESC', - ConfidentialAssetHistoriesByTransactionIdDistinctCountCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByTransactionIdDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByTransactionIdDistinctCountDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_DISTINCT_COUNT_DATETIME_ASC', - ConfidentialAssetHistoriesByTransactionIdDistinctCountDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_DISTINCT_COUNT_DATETIME_DESC', - ConfidentialAssetHistoriesByTransactionIdDistinctCountEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_DISTINCT_COUNT_EVENT_IDX_ASC', - ConfidentialAssetHistoriesByTransactionIdDistinctCountEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_DISTINCT_COUNT_EVENT_IDX_DESC', - ConfidentialAssetHistoriesByTransactionIdDistinctCountEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_DISTINCT_COUNT_EVENT_ID_ASC', - ConfidentialAssetHistoriesByTransactionIdDistinctCountEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_DISTINCT_COUNT_EVENT_ID_DESC', - ConfidentialAssetHistoriesByTransactionIdDistinctCountExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_DISTINCT_COUNT_EXTRINSIC_IDX_ASC', - ConfidentialAssetHistoriesByTransactionIdDistinctCountExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_DISTINCT_COUNT_EXTRINSIC_IDX_DESC', - ConfidentialAssetHistoriesByTransactionIdDistinctCountFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_DISTINCT_COUNT_FROM_ID_ASC', - ConfidentialAssetHistoriesByTransactionIdDistinctCountFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_DISTINCT_COUNT_FROM_ID_DESC', - ConfidentialAssetHistoriesByTransactionIdDistinctCountIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_DISTINCT_COUNT_ID_ASC', - ConfidentialAssetHistoriesByTransactionIdDistinctCountIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_DISTINCT_COUNT_ID_DESC', - ConfidentialAssetHistoriesByTransactionIdDistinctCountMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_DISTINCT_COUNT_MEMO_ASC', - ConfidentialAssetHistoriesByTransactionIdDistinctCountMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_DISTINCT_COUNT_MEMO_DESC', - ConfidentialAssetHistoriesByTransactionIdDistinctCountToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_DISTINCT_COUNT_TO_ID_ASC', - ConfidentialAssetHistoriesByTransactionIdDistinctCountToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_DISTINCT_COUNT_TO_ID_DESC', - ConfidentialAssetHistoriesByTransactionIdDistinctCountTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_DISTINCT_COUNT_TRANSACTION_ID_ASC', - ConfidentialAssetHistoriesByTransactionIdDistinctCountTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_DISTINCT_COUNT_TRANSACTION_ID_DESC', - ConfidentialAssetHistoriesByTransactionIdDistinctCountUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - ConfidentialAssetHistoriesByTransactionIdDistinctCountUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - ConfidentialAssetHistoriesByTransactionIdDistinctCountUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByTransactionIdDistinctCountUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByTransactionIdMaxAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MAX_AMOUNT_ASC', - ConfidentialAssetHistoriesByTransactionIdMaxAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MAX_AMOUNT_DESC', - ConfidentialAssetHistoriesByTransactionIdMaxAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MAX_ASSET_ID_ASC', - ConfidentialAssetHistoriesByTransactionIdMaxAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MAX_ASSET_ID_DESC', - ConfidentialAssetHistoriesByTransactionIdMaxCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MAX_CREATED_AT_ASC', - ConfidentialAssetHistoriesByTransactionIdMaxCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MAX_CREATED_AT_DESC', - ConfidentialAssetHistoriesByTransactionIdMaxCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MAX_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByTransactionIdMaxCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MAX_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByTransactionIdMaxDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MAX_DATETIME_ASC', - ConfidentialAssetHistoriesByTransactionIdMaxDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MAX_DATETIME_DESC', - ConfidentialAssetHistoriesByTransactionIdMaxEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MAX_EVENT_IDX_ASC', - ConfidentialAssetHistoriesByTransactionIdMaxEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MAX_EVENT_IDX_DESC', - ConfidentialAssetHistoriesByTransactionIdMaxEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MAX_EVENT_ID_ASC', - ConfidentialAssetHistoriesByTransactionIdMaxEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MAX_EVENT_ID_DESC', - ConfidentialAssetHistoriesByTransactionIdMaxExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MAX_EXTRINSIC_IDX_ASC', - ConfidentialAssetHistoriesByTransactionIdMaxExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MAX_EXTRINSIC_IDX_DESC', - ConfidentialAssetHistoriesByTransactionIdMaxFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MAX_FROM_ID_ASC', - ConfidentialAssetHistoriesByTransactionIdMaxFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MAX_FROM_ID_DESC', - ConfidentialAssetHistoriesByTransactionIdMaxIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MAX_ID_ASC', - ConfidentialAssetHistoriesByTransactionIdMaxIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MAX_ID_DESC', - ConfidentialAssetHistoriesByTransactionIdMaxMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MAX_MEMO_ASC', - ConfidentialAssetHistoriesByTransactionIdMaxMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MAX_MEMO_DESC', - ConfidentialAssetHistoriesByTransactionIdMaxToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MAX_TO_ID_ASC', - ConfidentialAssetHistoriesByTransactionIdMaxToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MAX_TO_ID_DESC', - ConfidentialAssetHistoriesByTransactionIdMaxTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MAX_TRANSACTION_ID_ASC', - ConfidentialAssetHistoriesByTransactionIdMaxTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MAX_TRANSACTION_ID_DESC', - ConfidentialAssetHistoriesByTransactionIdMaxUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MAX_UPDATED_AT_ASC', - ConfidentialAssetHistoriesByTransactionIdMaxUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MAX_UPDATED_AT_DESC', - ConfidentialAssetHistoriesByTransactionIdMaxUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MAX_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByTransactionIdMaxUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MAX_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByTransactionIdMinAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MIN_AMOUNT_ASC', - ConfidentialAssetHistoriesByTransactionIdMinAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MIN_AMOUNT_DESC', - ConfidentialAssetHistoriesByTransactionIdMinAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MIN_ASSET_ID_ASC', - ConfidentialAssetHistoriesByTransactionIdMinAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MIN_ASSET_ID_DESC', - ConfidentialAssetHistoriesByTransactionIdMinCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MIN_CREATED_AT_ASC', - ConfidentialAssetHistoriesByTransactionIdMinCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MIN_CREATED_AT_DESC', - ConfidentialAssetHistoriesByTransactionIdMinCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MIN_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByTransactionIdMinCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MIN_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByTransactionIdMinDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MIN_DATETIME_ASC', - ConfidentialAssetHistoriesByTransactionIdMinDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MIN_DATETIME_DESC', - ConfidentialAssetHistoriesByTransactionIdMinEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MIN_EVENT_IDX_ASC', - ConfidentialAssetHistoriesByTransactionIdMinEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MIN_EVENT_IDX_DESC', - ConfidentialAssetHistoriesByTransactionIdMinEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MIN_EVENT_ID_ASC', - ConfidentialAssetHistoriesByTransactionIdMinEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MIN_EVENT_ID_DESC', - ConfidentialAssetHistoriesByTransactionIdMinExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MIN_EXTRINSIC_IDX_ASC', - ConfidentialAssetHistoriesByTransactionIdMinExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MIN_EXTRINSIC_IDX_DESC', - ConfidentialAssetHistoriesByTransactionIdMinFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MIN_FROM_ID_ASC', - ConfidentialAssetHistoriesByTransactionIdMinFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MIN_FROM_ID_DESC', - ConfidentialAssetHistoriesByTransactionIdMinIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MIN_ID_ASC', - ConfidentialAssetHistoriesByTransactionIdMinIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MIN_ID_DESC', - ConfidentialAssetHistoriesByTransactionIdMinMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MIN_MEMO_ASC', - ConfidentialAssetHistoriesByTransactionIdMinMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MIN_MEMO_DESC', - ConfidentialAssetHistoriesByTransactionIdMinToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MIN_TO_ID_ASC', - ConfidentialAssetHistoriesByTransactionIdMinToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MIN_TO_ID_DESC', - ConfidentialAssetHistoriesByTransactionIdMinTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MIN_TRANSACTION_ID_ASC', - ConfidentialAssetHistoriesByTransactionIdMinTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MIN_TRANSACTION_ID_DESC', - ConfidentialAssetHistoriesByTransactionIdMinUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MIN_UPDATED_AT_ASC', - ConfidentialAssetHistoriesByTransactionIdMinUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MIN_UPDATED_AT_DESC', - ConfidentialAssetHistoriesByTransactionIdMinUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MIN_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByTransactionIdMinUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_MIN_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByTransactionIdStddevPopulationAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_POPULATION_AMOUNT_ASC', - ConfidentialAssetHistoriesByTransactionIdStddevPopulationAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_POPULATION_AMOUNT_DESC', - ConfidentialAssetHistoriesByTransactionIdStddevPopulationAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_POPULATION_ASSET_ID_ASC', - ConfidentialAssetHistoriesByTransactionIdStddevPopulationAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_POPULATION_ASSET_ID_DESC', - ConfidentialAssetHistoriesByTransactionIdStddevPopulationCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_POPULATION_CREATED_AT_ASC', - ConfidentialAssetHistoriesByTransactionIdStddevPopulationCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_POPULATION_CREATED_AT_DESC', - ConfidentialAssetHistoriesByTransactionIdStddevPopulationCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByTransactionIdStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByTransactionIdStddevPopulationDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_POPULATION_DATETIME_ASC', - ConfidentialAssetHistoriesByTransactionIdStddevPopulationDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_POPULATION_DATETIME_DESC', - ConfidentialAssetHistoriesByTransactionIdStddevPopulationEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_POPULATION_EVENT_IDX_ASC', - ConfidentialAssetHistoriesByTransactionIdStddevPopulationEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_POPULATION_EVENT_IDX_DESC', - ConfidentialAssetHistoriesByTransactionIdStddevPopulationEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_POPULATION_EVENT_ID_ASC', - ConfidentialAssetHistoriesByTransactionIdStddevPopulationEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_POPULATION_EVENT_ID_DESC', - ConfidentialAssetHistoriesByTransactionIdStddevPopulationExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_POPULATION_EXTRINSIC_IDX_ASC', - ConfidentialAssetHistoriesByTransactionIdStddevPopulationExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_POPULATION_EXTRINSIC_IDX_DESC', - ConfidentialAssetHistoriesByTransactionIdStddevPopulationFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_POPULATION_FROM_ID_ASC', - ConfidentialAssetHistoriesByTransactionIdStddevPopulationFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_POPULATION_FROM_ID_DESC', - ConfidentialAssetHistoriesByTransactionIdStddevPopulationIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_POPULATION_ID_ASC', - ConfidentialAssetHistoriesByTransactionIdStddevPopulationIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_POPULATION_ID_DESC', - ConfidentialAssetHistoriesByTransactionIdStddevPopulationMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_POPULATION_MEMO_ASC', - ConfidentialAssetHistoriesByTransactionIdStddevPopulationMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_POPULATION_MEMO_DESC', - ConfidentialAssetHistoriesByTransactionIdStddevPopulationToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_POPULATION_TO_ID_ASC', - ConfidentialAssetHistoriesByTransactionIdStddevPopulationToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_POPULATION_TO_ID_DESC', - ConfidentialAssetHistoriesByTransactionIdStddevPopulationTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_POPULATION_TRANSACTION_ID_ASC', - ConfidentialAssetHistoriesByTransactionIdStddevPopulationTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_POPULATION_TRANSACTION_ID_DESC', - ConfidentialAssetHistoriesByTransactionIdStddevPopulationUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - ConfidentialAssetHistoriesByTransactionIdStddevPopulationUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - ConfidentialAssetHistoriesByTransactionIdStddevPopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByTransactionIdStddevPopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByTransactionIdStddevSampleAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_SAMPLE_AMOUNT_ASC', - ConfidentialAssetHistoriesByTransactionIdStddevSampleAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_SAMPLE_AMOUNT_DESC', - ConfidentialAssetHistoriesByTransactionIdStddevSampleAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_SAMPLE_ASSET_ID_ASC', - ConfidentialAssetHistoriesByTransactionIdStddevSampleAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_SAMPLE_ASSET_ID_DESC', - ConfidentialAssetHistoriesByTransactionIdStddevSampleCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - ConfidentialAssetHistoriesByTransactionIdStddevSampleCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - ConfidentialAssetHistoriesByTransactionIdStddevSampleCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByTransactionIdStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByTransactionIdStddevSampleDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_SAMPLE_DATETIME_ASC', - ConfidentialAssetHistoriesByTransactionIdStddevSampleDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_SAMPLE_DATETIME_DESC', - ConfidentialAssetHistoriesByTransactionIdStddevSampleEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', - ConfidentialAssetHistoriesByTransactionIdStddevSampleEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', - ConfidentialAssetHistoriesByTransactionIdStddevSampleEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_SAMPLE_EVENT_ID_ASC', - ConfidentialAssetHistoriesByTransactionIdStddevSampleEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_SAMPLE_EVENT_ID_DESC', - ConfidentialAssetHistoriesByTransactionIdStddevSampleExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_SAMPLE_EXTRINSIC_IDX_ASC', - ConfidentialAssetHistoriesByTransactionIdStddevSampleExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_SAMPLE_EXTRINSIC_IDX_DESC', - ConfidentialAssetHistoriesByTransactionIdStddevSampleFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_SAMPLE_FROM_ID_ASC', - ConfidentialAssetHistoriesByTransactionIdStddevSampleFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_SAMPLE_FROM_ID_DESC', - ConfidentialAssetHistoriesByTransactionIdStddevSampleIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_SAMPLE_ID_ASC', - ConfidentialAssetHistoriesByTransactionIdStddevSampleIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_SAMPLE_ID_DESC', - ConfidentialAssetHistoriesByTransactionIdStddevSampleMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_SAMPLE_MEMO_ASC', - ConfidentialAssetHistoriesByTransactionIdStddevSampleMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_SAMPLE_MEMO_DESC', - ConfidentialAssetHistoriesByTransactionIdStddevSampleToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_SAMPLE_TO_ID_ASC', - ConfidentialAssetHistoriesByTransactionIdStddevSampleToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_SAMPLE_TO_ID_DESC', - ConfidentialAssetHistoriesByTransactionIdStddevSampleTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_SAMPLE_TRANSACTION_ID_ASC', - ConfidentialAssetHistoriesByTransactionIdStddevSampleTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_SAMPLE_TRANSACTION_ID_DESC', - ConfidentialAssetHistoriesByTransactionIdStddevSampleUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - ConfidentialAssetHistoriesByTransactionIdStddevSampleUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - ConfidentialAssetHistoriesByTransactionIdStddevSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByTransactionIdStddevSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByTransactionIdSumAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_SUM_AMOUNT_ASC', - ConfidentialAssetHistoriesByTransactionIdSumAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_SUM_AMOUNT_DESC', - ConfidentialAssetHistoriesByTransactionIdSumAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_SUM_ASSET_ID_ASC', - ConfidentialAssetHistoriesByTransactionIdSumAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_SUM_ASSET_ID_DESC', - ConfidentialAssetHistoriesByTransactionIdSumCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_SUM_CREATED_AT_ASC', - ConfidentialAssetHistoriesByTransactionIdSumCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_SUM_CREATED_AT_DESC', - ConfidentialAssetHistoriesByTransactionIdSumCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_SUM_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByTransactionIdSumCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_SUM_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByTransactionIdSumDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_SUM_DATETIME_ASC', - ConfidentialAssetHistoriesByTransactionIdSumDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_SUM_DATETIME_DESC', - ConfidentialAssetHistoriesByTransactionIdSumEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_SUM_EVENT_IDX_ASC', - ConfidentialAssetHistoriesByTransactionIdSumEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_SUM_EVENT_IDX_DESC', - ConfidentialAssetHistoriesByTransactionIdSumEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_SUM_EVENT_ID_ASC', - ConfidentialAssetHistoriesByTransactionIdSumEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_SUM_EVENT_ID_DESC', - ConfidentialAssetHistoriesByTransactionIdSumExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_SUM_EXTRINSIC_IDX_ASC', - ConfidentialAssetHistoriesByTransactionIdSumExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_SUM_EXTRINSIC_IDX_DESC', - ConfidentialAssetHistoriesByTransactionIdSumFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_SUM_FROM_ID_ASC', - ConfidentialAssetHistoriesByTransactionIdSumFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_SUM_FROM_ID_DESC', - ConfidentialAssetHistoriesByTransactionIdSumIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_SUM_ID_ASC', - ConfidentialAssetHistoriesByTransactionIdSumIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_SUM_ID_DESC', - ConfidentialAssetHistoriesByTransactionIdSumMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_SUM_MEMO_ASC', - ConfidentialAssetHistoriesByTransactionIdSumMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_SUM_MEMO_DESC', - ConfidentialAssetHistoriesByTransactionIdSumToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_SUM_TO_ID_ASC', - ConfidentialAssetHistoriesByTransactionIdSumToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_SUM_TO_ID_DESC', - ConfidentialAssetHistoriesByTransactionIdSumTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_SUM_TRANSACTION_ID_ASC', - ConfidentialAssetHistoriesByTransactionIdSumTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_SUM_TRANSACTION_ID_DESC', - ConfidentialAssetHistoriesByTransactionIdSumUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_SUM_UPDATED_AT_ASC', - ConfidentialAssetHistoriesByTransactionIdSumUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_SUM_UPDATED_AT_DESC', - ConfidentialAssetHistoriesByTransactionIdSumUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_SUM_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByTransactionIdSumUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_SUM_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByTransactionIdVariancePopulationAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_POPULATION_AMOUNT_ASC', - ConfidentialAssetHistoriesByTransactionIdVariancePopulationAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_POPULATION_AMOUNT_DESC', - ConfidentialAssetHistoriesByTransactionIdVariancePopulationAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_POPULATION_ASSET_ID_ASC', - ConfidentialAssetHistoriesByTransactionIdVariancePopulationAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_POPULATION_ASSET_ID_DESC', - ConfidentialAssetHistoriesByTransactionIdVariancePopulationCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - ConfidentialAssetHistoriesByTransactionIdVariancePopulationCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - ConfidentialAssetHistoriesByTransactionIdVariancePopulationCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByTransactionIdVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByTransactionIdVariancePopulationDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_POPULATION_DATETIME_ASC', - ConfidentialAssetHistoriesByTransactionIdVariancePopulationDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_POPULATION_DATETIME_DESC', - ConfidentialAssetHistoriesByTransactionIdVariancePopulationEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', - ConfidentialAssetHistoriesByTransactionIdVariancePopulationEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', - ConfidentialAssetHistoriesByTransactionIdVariancePopulationEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_POPULATION_EVENT_ID_ASC', - ConfidentialAssetHistoriesByTransactionIdVariancePopulationEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_POPULATION_EVENT_ID_DESC', - ConfidentialAssetHistoriesByTransactionIdVariancePopulationExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_POPULATION_EXTRINSIC_IDX_ASC', - ConfidentialAssetHistoriesByTransactionIdVariancePopulationExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_POPULATION_EXTRINSIC_IDX_DESC', - ConfidentialAssetHistoriesByTransactionIdVariancePopulationFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_POPULATION_FROM_ID_ASC', - ConfidentialAssetHistoriesByTransactionIdVariancePopulationFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_POPULATION_FROM_ID_DESC', - ConfidentialAssetHistoriesByTransactionIdVariancePopulationIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_POPULATION_ID_ASC', - ConfidentialAssetHistoriesByTransactionIdVariancePopulationIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_POPULATION_ID_DESC', - ConfidentialAssetHistoriesByTransactionIdVariancePopulationMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_POPULATION_MEMO_ASC', - ConfidentialAssetHistoriesByTransactionIdVariancePopulationMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_POPULATION_MEMO_DESC', - ConfidentialAssetHistoriesByTransactionIdVariancePopulationToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_POPULATION_TO_ID_ASC', - ConfidentialAssetHistoriesByTransactionIdVariancePopulationToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_POPULATION_TO_ID_DESC', - ConfidentialAssetHistoriesByTransactionIdVariancePopulationTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_POPULATION_TRANSACTION_ID_ASC', - ConfidentialAssetHistoriesByTransactionIdVariancePopulationTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_POPULATION_TRANSACTION_ID_DESC', - ConfidentialAssetHistoriesByTransactionIdVariancePopulationUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - ConfidentialAssetHistoriesByTransactionIdVariancePopulationUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - ConfidentialAssetHistoriesByTransactionIdVariancePopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByTransactionIdVariancePopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByTransactionIdVarianceSampleAmountAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_SAMPLE_AMOUNT_ASC', - ConfidentialAssetHistoriesByTransactionIdVarianceSampleAmountDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_SAMPLE_AMOUNT_DESC', - ConfidentialAssetHistoriesByTransactionIdVarianceSampleAssetIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_SAMPLE_ASSET_ID_ASC', - ConfidentialAssetHistoriesByTransactionIdVarianceSampleAssetIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_SAMPLE_ASSET_ID_DESC', - ConfidentialAssetHistoriesByTransactionIdVarianceSampleCreatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - ConfidentialAssetHistoriesByTransactionIdVarianceSampleCreatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - ConfidentialAssetHistoriesByTransactionIdVarianceSampleCreatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByTransactionIdVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - ConfidentialAssetHistoriesByTransactionIdVarianceSampleDatetimeAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_SAMPLE_DATETIME_ASC', - ConfidentialAssetHistoriesByTransactionIdVarianceSampleDatetimeDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_SAMPLE_DATETIME_DESC', - ConfidentialAssetHistoriesByTransactionIdVarianceSampleEventIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', - ConfidentialAssetHistoriesByTransactionIdVarianceSampleEventIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', - ConfidentialAssetHistoriesByTransactionIdVarianceSampleEventIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_SAMPLE_EVENT_ID_ASC', - ConfidentialAssetHistoriesByTransactionIdVarianceSampleEventIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_SAMPLE_EVENT_ID_DESC', - ConfidentialAssetHistoriesByTransactionIdVarianceSampleExtrinsicIdxAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_SAMPLE_EXTRINSIC_IDX_ASC', - ConfidentialAssetHistoriesByTransactionIdVarianceSampleExtrinsicIdxDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_SAMPLE_EXTRINSIC_IDX_DESC', - ConfidentialAssetHistoriesByTransactionIdVarianceSampleFromIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_SAMPLE_FROM_ID_ASC', - ConfidentialAssetHistoriesByTransactionIdVarianceSampleFromIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_SAMPLE_FROM_ID_DESC', - ConfidentialAssetHistoriesByTransactionIdVarianceSampleIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_SAMPLE_ID_ASC', - ConfidentialAssetHistoriesByTransactionIdVarianceSampleIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_SAMPLE_ID_DESC', - ConfidentialAssetHistoriesByTransactionIdVarianceSampleMemoAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_SAMPLE_MEMO_ASC', - ConfidentialAssetHistoriesByTransactionIdVarianceSampleMemoDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_SAMPLE_MEMO_DESC', - ConfidentialAssetHistoriesByTransactionIdVarianceSampleToIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_SAMPLE_TO_ID_ASC', - ConfidentialAssetHistoriesByTransactionIdVarianceSampleToIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_SAMPLE_TO_ID_DESC', - ConfidentialAssetHistoriesByTransactionIdVarianceSampleTransactionIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_SAMPLE_TRANSACTION_ID_ASC', - ConfidentialAssetHistoriesByTransactionIdVarianceSampleTransactionIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_SAMPLE_TRANSACTION_ID_DESC', - ConfidentialAssetHistoriesByTransactionIdVarianceSampleUpdatedAtAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - ConfidentialAssetHistoriesByTransactionIdVarianceSampleUpdatedAtDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - ConfidentialAssetHistoriesByTransactionIdVarianceSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetHistoriesByTransactionIdVarianceSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSET_HISTORIES_BY_TRANSACTION_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - CreatedAtAsc = 'CREATED_AT_ASC', - CreatedAtDesc = 'CREATED_AT_DESC', - CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', - CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', - EventIdxAsc = 'EVENT_IDX_ASC', - EventIdxDesc = 'EVENT_IDX_DESC', - EventIdAsc = 'EVENT_ID_ASC', - EventIdDesc = 'EVENT_ID_DESC', - IdAsc = 'ID_ASC', - IdDesc = 'ID_DESC', - LegsAverageAssetAuditorsAsc = 'LEGS_AVERAGE_ASSET_AUDITORS_ASC', - LegsAverageAssetAuditorsDesc = 'LEGS_AVERAGE_ASSET_AUDITORS_DESC', - LegsAverageCreatedAtAsc = 'LEGS_AVERAGE_CREATED_AT_ASC', - LegsAverageCreatedAtDesc = 'LEGS_AVERAGE_CREATED_AT_DESC', - LegsAverageCreatedBlockIdAsc = 'LEGS_AVERAGE_CREATED_BLOCK_ID_ASC', - LegsAverageCreatedBlockIdDesc = 'LEGS_AVERAGE_CREATED_BLOCK_ID_DESC', - LegsAverageIdAsc = 'LEGS_AVERAGE_ID_ASC', - LegsAverageIdDesc = 'LEGS_AVERAGE_ID_DESC', - LegsAverageMediatorsAsc = 'LEGS_AVERAGE_MEDIATORS_ASC', - LegsAverageMediatorsDesc = 'LEGS_AVERAGE_MEDIATORS_DESC', - LegsAverageReceiverIdAsc = 'LEGS_AVERAGE_RECEIVER_ID_ASC', - LegsAverageReceiverIdDesc = 'LEGS_AVERAGE_RECEIVER_ID_DESC', - LegsAverageSenderIdAsc = 'LEGS_AVERAGE_SENDER_ID_ASC', - LegsAverageSenderIdDesc = 'LEGS_AVERAGE_SENDER_ID_DESC', - LegsAverageTransactionIdAsc = 'LEGS_AVERAGE_TRANSACTION_ID_ASC', - LegsAverageTransactionIdDesc = 'LEGS_AVERAGE_TRANSACTION_ID_DESC', - LegsAverageUpdatedAtAsc = 'LEGS_AVERAGE_UPDATED_AT_ASC', - LegsAverageUpdatedAtDesc = 'LEGS_AVERAGE_UPDATED_AT_DESC', - LegsAverageUpdatedBlockIdAsc = 'LEGS_AVERAGE_UPDATED_BLOCK_ID_ASC', - LegsAverageUpdatedBlockIdDesc = 'LEGS_AVERAGE_UPDATED_BLOCK_ID_DESC', - LegsCountAsc = 'LEGS_COUNT_ASC', - LegsCountDesc = 'LEGS_COUNT_DESC', - LegsDistinctCountAssetAuditorsAsc = 'LEGS_DISTINCT_COUNT_ASSET_AUDITORS_ASC', - LegsDistinctCountAssetAuditorsDesc = 'LEGS_DISTINCT_COUNT_ASSET_AUDITORS_DESC', - LegsDistinctCountCreatedAtAsc = 'LEGS_DISTINCT_COUNT_CREATED_AT_ASC', - LegsDistinctCountCreatedAtDesc = 'LEGS_DISTINCT_COUNT_CREATED_AT_DESC', - LegsDistinctCountCreatedBlockIdAsc = 'LEGS_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - LegsDistinctCountCreatedBlockIdDesc = 'LEGS_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - LegsDistinctCountIdAsc = 'LEGS_DISTINCT_COUNT_ID_ASC', - LegsDistinctCountIdDesc = 'LEGS_DISTINCT_COUNT_ID_DESC', - LegsDistinctCountMediatorsAsc = 'LEGS_DISTINCT_COUNT_MEDIATORS_ASC', - LegsDistinctCountMediatorsDesc = 'LEGS_DISTINCT_COUNT_MEDIATORS_DESC', - LegsDistinctCountReceiverIdAsc = 'LEGS_DISTINCT_COUNT_RECEIVER_ID_ASC', - LegsDistinctCountReceiverIdDesc = 'LEGS_DISTINCT_COUNT_RECEIVER_ID_DESC', - LegsDistinctCountSenderIdAsc = 'LEGS_DISTINCT_COUNT_SENDER_ID_ASC', - LegsDistinctCountSenderIdDesc = 'LEGS_DISTINCT_COUNT_SENDER_ID_DESC', - LegsDistinctCountTransactionIdAsc = 'LEGS_DISTINCT_COUNT_TRANSACTION_ID_ASC', - LegsDistinctCountTransactionIdDesc = 'LEGS_DISTINCT_COUNT_TRANSACTION_ID_DESC', - LegsDistinctCountUpdatedAtAsc = 'LEGS_DISTINCT_COUNT_UPDATED_AT_ASC', - LegsDistinctCountUpdatedAtDesc = 'LEGS_DISTINCT_COUNT_UPDATED_AT_DESC', - LegsDistinctCountUpdatedBlockIdAsc = 'LEGS_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - LegsDistinctCountUpdatedBlockIdDesc = 'LEGS_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - LegsMaxAssetAuditorsAsc = 'LEGS_MAX_ASSET_AUDITORS_ASC', - LegsMaxAssetAuditorsDesc = 'LEGS_MAX_ASSET_AUDITORS_DESC', - LegsMaxCreatedAtAsc = 'LEGS_MAX_CREATED_AT_ASC', - LegsMaxCreatedAtDesc = 'LEGS_MAX_CREATED_AT_DESC', - LegsMaxCreatedBlockIdAsc = 'LEGS_MAX_CREATED_BLOCK_ID_ASC', - LegsMaxCreatedBlockIdDesc = 'LEGS_MAX_CREATED_BLOCK_ID_DESC', - LegsMaxIdAsc = 'LEGS_MAX_ID_ASC', - LegsMaxIdDesc = 'LEGS_MAX_ID_DESC', - LegsMaxMediatorsAsc = 'LEGS_MAX_MEDIATORS_ASC', - LegsMaxMediatorsDesc = 'LEGS_MAX_MEDIATORS_DESC', - LegsMaxReceiverIdAsc = 'LEGS_MAX_RECEIVER_ID_ASC', - LegsMaxReceiverIdDesc = 'LEGS_MAX_RECEIVER_ID_DESC', - LegsMaxSenderIdAsc = 'LEGS_MAX_SENDER_ID_ASC', - LegsMaxSenderIdDesc = 'LEGS_MAX_SENDER_ID_DESC', - LegsMaxTransactionIdAsc = 'LEGS_MAX_TRANSACTION_ID_ASC', - LegsMaxTransactionIdDesc = 'LEGS_MAX_TRANSACTION_ID_DESC', - LegsMaxUpdatedAtAsc = 'LEGS_MAX_UPDATED_AT_ASC', - LegsMaxUpdatedAtDesc = 'LEGS_MAX_UPDATED_AT_DESC', - LegsMaxUpdatedBlockIdAsc = 'LEGS_MAX_UPDATED_BLOCK_ID_ASC', - LegsMaxUpdatedBlockIdDesc = 'LEGS_MAX_UPDATED_BLOCK_ID_DESC', - LegsMinAssetAuditorsAsc = 'LEGS_MIN_ASSET_AUDITORS_ASC', - LegsMinAssetAuditorsDesc = 'LEGS_MIN_ASSET_AUDITORS_DESC', - LegsMinCreatedAtAsc = 'LEGS_MIN_CREATED_AT_ASC', - LegsMinCreatedAtDesc = 'LEGS_MIN_CREATED_AT_DESC', - LegsMinCreatedBlockIdAsc = 'LEGS_MIN_CREATED_BLOCK_ID_ASC', - LegsMinCreatedBlockIdDesc = 'LEGS_MIN_CREATED_BLOCK_ID_DESC', - LegsMinIdAsc = 'LEGS_MIN_ID_ASC', - LegsMinIdDesc = 'LEGS_MIN_ID_DESC', - LegsMinMediatorsAsc = 'LEGS_MIN_MEDIATORS_ASC', - LegsMinMediatorsDesc = 'LEGS_MIN_MEDIATORS_DESC', - LegsMinReceiverIdAsc = 'LEGS_MIN_RECEIVER_ID_ASC', - LegsMinReceiverIdDesc = 'LEGS_MIN_RECEIVER_ID_DESC', - LegsMinSenderIdAsc = 'LEGS_MIN_SENDER_ID_ASC', - LegsMinSenderIdDesc = 'LEGS_MIN_SENDER_ID_DESC', - LegsMinTransactionIdAsc = 'LEGS_MIN_TRANSACTION_ID_ASC', - LegsMinTransactionIdDesc = 'LEGS_MIN_TRANSACTION_ID_DESC', - LegsMinUpdatedAtAsc = 'LEGS_MIN_UPDATED_AT_ASC', - LegsMinUpdatedAtDesc = 'LEGS_MIN_UPDATED_AT_DESC', - LegsMinUpdatedBlockIdAsc = 'LEGS_MIN_UPDATED_BLOCK_ID_ASC', - LegsMinUpdatedBlockIdDesc = 'LEGS_MIN_UPDATED_BLOCK_ID_DESC', - LegsStddevPopulationAssetAuditorsAsc = 'LEGS_STDDEV_POPULATION_ASSET_AUDITORS_ASC', - LegsStddevPopulationAssetAuditorsDesc = 'LEGS_STDDEV_POPULATION_ASSET_AUDITORS_DESC', - LegsStddevPopulationCreatedAtAsc = 'LEGS_STDDEV_POPULATION_CREATED_AT_ASC', - LegsStddevPopulationCreatedAtDesc = 'LEGS_STDDEV_POPULATION_CREATED_AT_DESC', - LegsStddevPopulationCreatedBlockIdAsc = 'LEGS_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - LegsStddevPopulationCreatedBlockIdDesc = 'LEGS_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - LegsStddevPopulationIdAsc = 'LEGS_STDDEV_POPULATION_ID_ASC', - LegsStddevPopulationIdDesc = 'LEGS_STDDEV_POPULATION_ID_DESC', - LegsStddevPopulationMediatorsAsc = 'LEGS_STDDEV_POPULATION_MEDIATORS_ASC', - LegsStddevPopulationMediatorsDesc = 'LEGS_STDDEV_POPULATION_MEDIATORS_DESC', - LegsStddevPopulationReceiverIdAsc = 'LEGS_STDDEV_POPULATION_RECEIVER_ID_ASC', - LegsStddevPopulationReceiverIdDesc = 'LEGS_STDDEV_POPULATION_RECEIVER_ID_DESC', - LegsStddevPopulationSenderIdAsc = 'LEGS_STDDEV_POPULATION_SENDER_ID_ASC', - LegsStddevPopulationSenderIdDesc = 'LEGS_STDDEV_POPULATION_SENDER_ID_DESC', - LegsStddevPopulationTransactionIdAsc = 'LEGS_STDDEV_POPULATION_TRANSACTION_ID_ASC', - LegsStddevPopulationTransactionIdDesc = 'LEGS_STDDEV_POPULATION_TRANSACTION_ID_DESC', - LegsStddevPopulationUpdatedAtAsc = 'LEGS_STDDEV_POPULATION_UPDATED_AT_ASC', - LegsStddevPopulationUpdatedAtDesc = 'LEGS_STDDEV_POPULATION_UPDATED_AT_DESC', - LegsStddevPopulationUpdatedBlockIdAsc = 'LEGS_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - LegsStddevPopulationUpdatedBlockIdDesc = 'LEGS_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - LegsStddevSampleAssetAuditorsAsc = 'LEGS_STDDEV_SAMPLE_ASSET_AUDITORS_ASC', - LegsStddevSampleAssetAuditorsDesc = 'LEGS_STDDEV_SAMPLE_ASSET_AUDITORS_DESC', - LegsStddevSampleCreatedAtAsc = 'LEGS_STDDEV_SAMPLE_CREATED_AT_ASC', - LegsStddevSampleCreatedAtDesc = 'LEGS_STDDEV_SAMPLE_CREATED_AT_DESC', - LegsStddevSampleCreatedBlockIdAsc = 'LEGS_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - LegsStddevSampleCreatedBlockIdDesc = 'LEGS_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - LegsStddevSampleIdAsc = 'LEGS_STDDEV_SAMPLE_ID_ASC', - LegsStddevSampleIdDesc = 'LEGS_STDDEV_SAMPLE_ID_DESC', - LegsStddevSampleMediatorsAsc = 'LEGS_STDDEV_SAMPLE_MEDIATORS_ASC', - LegsStddevSampleMediatorsDesc = 'LEGS_STDDEV_SAMPLE_MEDIATORS_DESC', - LegsStddevSampleReceiverIdAsc = 'LEGS_STDDEV_SAMPLE_RECEIVER_ID_ASC', - LegsStddevSampleReceiverIdDesc = 'LEGS_STDDEV_SAMPLE_RECEIVER_ID_DESC', - LegsStddevSampleSenderIdAsc = 'LEGS_STDDEV_SAMPLE_SENDER_ID_ASC', - LegsStddevSampleSenderIdDesc = 'LEGS_STDDEV_SAMPLE_SENDER_ID_DESC', - LegsStddevSampleTransactionIdAsc = 'LEGS_STDDEV_SAMPLE_TRANSACTION_ID_ASC', - LegsStddevSampleTransactionIdDesc = 'LEGS_STDDEV_SAMPLE_TRANSACTION_ID_DESC', - LegsStddevSampleUpdatedAtAsc = 'LEGS_STDDEV_SAMPLE_UPDATED_AT_ASC', - LegsStddevSampleUpdatedAtDesc = 'LEGS_STDDEV_SAMPLE_UPDATED_AT_DESC', - LegsStddevSampleUpdatedBlockIdAsc = 'LEGS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - LegsStddevSampleUpdatedBlockIdDesc = 'LEGS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - LegsSumAssetAuditorsAsc = 'LEGS_SUM_ASSET_AUDITORS_ASC', - LegsSumAssetAuditorsDesc = 'LEGS_SUM_ASSET_AUDITORS_DESC', - LegsSumCreatedAtAsc = 'LEGS_SUM_CREATED_AT_ASC', - LegsSumCreatedAtDesc = 'LEGS_SUM_CREATED_AT_DESC', - LegsSumCreatedBlockIdAsc = 'LEGS_SUM_CREATED_BLOCK_ID_ASC', - LegsSumCreatedBlockIdDesc = 'LEGS_SUM_CREATED_BLOCK_ID_DESC', - LegsSumIdAsc = 'LEGS_SUM_ID_ASC', - LegsSumIdDesc = 'LEGS_SUM_ID_DESC', - LegsSumMediatorsAsc = 'LEGS_SUM_MEDIATORS_ASC', - LegsSumMediatorsDesc = 'LEGS_SUM_MEDIATORS_DESC', - LegsSumReceiverIdAsc = 'LEGS_SUM_RECEIVER_ID_ASC', - LegsSumReceiverIdDesc = 'LEGS_SUM_RECEIVER_ID_DESC', - LegsSumSenderIdAsc = 'LEGS_SUM_SENDER_ID_ASC', - LegsSumSenderIdDesc = 'LEGS_SUM_SENDER_ID_DESC', - LegsSumTransactionIdAsc = 'LEGS_SUM_TRANSACTION_ID_ASC', - LegsSumTransactionIdDesc = 'LEGS_SUM_TRANSACTION_ID_DESC', - LegsSumUpdatedAtAsc = 'LEGS_SUM_UPDATED_AT_ASC', - LegsSumUpdatedAtDesc = 'LEGS_SUM_UPDATED_AT_DESC', - LegsSumUpdatedBlockIdAsc = 'LEGS_SUM_UPDATED_BLOCK_ID_ASC', - LegsSumUpdatedBlockIdDesc = 'LEGS_SUM_UPDATED_BLOCK_ID_DESC', - LegsVariancePopulationAssetAuditorsAsc = 'LEGS_VARIANCE_POPULATION_ASSET_AUDITORS_ASC', - LegsVariancePopulationAssetAuditorsDesc = 'LEGS_VARIANCE_POPULATION_ASSET_AUDITORS_DESC', - LegsVariancePopulationCreatedAtAsc = 'LEGS_VARIANCE_POPULATION_CREATED_AT_ASC', - LegsVariancePopulationCreatedAtDesc = 'LEGS_VARIANCE_POPULATION_CREATED_AT_DESC', - LegsVariancePopulationCreatedBlockIdAsc = 'LEGS_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - LegsVariancePopulationCreatedBlockIdDesc = 'LEGS_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - LegsVariancePopulationIdAsc = 'LEGS_VARIANCE_POPULATION_ID_ASC', - LegsVariancePopulationIdDesc = 'LEGS_VARIANCE_POPULATION_ID_DESC', - LegsVariancePopulationMediatorsAsc = 'LEGS_VARIANCE_POPULATION_MEDIATORS_ASC', - LegsVariancePopulationMediatorsDesc = 'LEGS_VARIANCE_POPULATION_MEDIATORS_DESC', - LegsVariancePopulationReceiverIdAsc = 'LEGS_VARIANCE_POPULATION_RECEIVER_ID_ASC', - LegsVariancePopulationReceiverIdDesc = 'LEGS_VARIANCE_POPULATION_RECEIVER_ID_DESC', - LegsVariancePopulationSenderIdAsc = 'LEGS_VARIANCE_POPULATION_SENDER_ID_ASC', - LegsVariancePopulationSenderIdDesc = 'LEGS_VARIANCE_POPULATION_SENDER_ID_DESC', - LegsVariancePopulationTransactionIdAsc = 'LEGS_VARIANCE_POPULATION_TRANSACTION_ID_ASC', - LegsVariancePopulationTransactionIdDesc = 'LEGS_VARIANCE_POPULATION_TRANSACTION_ID_DESC', - LegsVariancePopulationUpdatedAtAsc = 'LEGS_VARIANCE_POPULATION_UPDATED_AT_ASC', - LegsVariancePopulationUpdatedAtDesc = 'LEGS_VARIANCE_POPULATION_UPDATED_AT_DESC', - LegsVariancePopulationUpdatedBlockIdAsc = 'LEGS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - LegsVariancePopulationUpdatedBlockIdDesc = 'LEGS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - LegsVarianceSampleAssetAuditorsAsc = 'LEGS_VARIANCE_SAMPLE_ASSET_AUDITORS_ASC', - LegsVarianceSampleAssetAuditorsDesc = 'LEGS_VARIANCE_SAMPLE_ASSET_AUDITORS_DESC', - LegsVarianceSampleCreatedAtAsc = 'LEGS_VARIANCE_SAMPLE_CREATED_AT_ASC', - LegsVarianceSampleCreatedAtDesc = 'LEGS_VARIANCE_SAMPLE_CREATED_AT_DESC', - LegsVarianceSampleCreatedBlockIdAsc = 'LEGS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - LegsVarianceSampleCreatedBlockIdDesc = 'LEGS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - LegsVarianceSampleIdAsc = 'LEGS_VARIANCE_SAMPLE_ID_ASC', - LegsVarianceSampleIdDesc = 'LEGS_VARIANCE_SAMPLE_ID_DESC', - LegsVarianceSampleMediatorsAsc = 'LEGS_VARIANCE_SAMPLE_MEDIATORS_ASC', - LegsVarianceSampleMediatorsDesc = 'LEGS_VARIANCE_SAMPLE_MEDIATORS_DESC', - LegsVarianceSampleReceiverIdAsc = 'LEGS_VARIANCE_SAMPLE_RECEIVER_ID_ASC', - LegsVarianceSampleReceiverIdDesc = 'LEGS_VARIANCE_SAMPLE_RECEIVER_ID_DESC', - LegsVarianceSampleSenderIdAsc = 'LEGS_VARIANCE_SAMPLE_SENDER_ID_ASC', - LegsVarianceSampleSenderIdDesc = 'LEGS_VARIANCE_SAMPLE_SENDER_ID_DESC', - LegsVarianceSampleTransactionIdAsc = 'LEGS_VARIANCE_SAMPLE_TRANSACTION_ID_ASC', - LegsVarianceSampleTransactionIdDesc = 'LEGS_VARIANCE_SAMPLE_TRANSACTION_ID_DESC', - LegsVarianceSampleUpdatedAtAsc = 'LEGS_VARIANCE_SAMPLE_UPDATED_AT_ASC', - LegsVarianceSampleUpdatedAtDesc = 'LEGS_VARIANCE_SAMPLE_UPDATED_AT_DESC', - LegsVarianceSampleUpdatedBlockIdAsc = 'LEGS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - LegsVarianceSampleUpdatedBlockIdDesc = 'LEGS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - MemoAsc = 'MEMO_ASC', - MemoDesc = 'MEMO_DESC', - Natural = 'NATURAL', - PendingAffirmationsAsc = 'PENDING_AFFIRMATIONS_ASC', - PendingAffirmationsDesc = 'PENDING_AFFIRMATIONS_DESC', - PrimaryKeyAsc = 'PRIMARY_KEY_ASC', - PrimaryKeyDesc = 'PRIMARY_KEY_DESC', - StatusAsc = 'STATUS_ASC', - StatusDesc = 'STATUS_DESC', - UpdatedAtAsc = 'UPDATED_AT_ASC', - UpdatedAtDesc = 'UPDATED_AT_DESC', - UpdatedBlockIdAsc = 'UPDATED_BLOCK_ID_ASC', - UpdatedBlockIdDesc = 'UPDATED_BLOCK_ID_DESC', - VenueIdAsc = 'VENUE_ID_ASC', - VenueIdDesc = 'VENUE_ID_DESC', -} - -/** Represents a confidential venue */ -export type ConfidentialVenue = Node & { - __typename?: 'ConfidentialVenue'; - /** Reads and enables pagination through a set of `Block`. */ - blocksByConfidentialTransactionVenueIdAndCreatedBlockId: ConfidentialVenueBlocksByConfidentialTransactionVenueIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByConfidentialTransactionVenueIdAndUpdatedBlockId: ConfidentialVenueBlocksByConfidentialTransactionVenueIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `ConfidentialTransaction`. */ - confidentialTransactionsByVenueId: ConfidentialTransactionsConnection; - createdAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `ConfidentialVenue`. */ - createdBlock?: Maybe; - createdBlockId: Scalars['String']['output']; - /** Reads a single `Identity` that is related to this `ConfidentialVenue`. */ - creator?: Maybe; - creatorId: Scalars['String']['output']; - eventIdx: Scalars['Int']['output']; - id: Scalars['String']['output']; - /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ - nodeId: Scalars['ID']['output']; - updatedAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `ConfidentialVenue`. */ - updatedBlock?: Maybe; - updatedBlockId: Scalars['String']['output']; - venueId: Scalars['Int']['output']; -}; - -/** Represents a confidential venue */ -export type ConfidentialVenueBlocksByConfidentialTransactionVenueIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a confidential venue */ -export type ConfidentialVenueBlocksByConfidentialTransactionVenueIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a confidential venue */ -export type ConfidentialVenueConfidentialTransactionsByVenueIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -export type ConfidentialVenueAggregates = { - __typename?: 'ConfidentialVenueAggregates'; - /** Mean average aggregates across the matching connection (ignoring before/after/first/last/offset) */ - average?: Maybe; - /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ - distinctCount?: Maybe; - keys?: Maybe>; - /** Maximum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - max?: Maybe; - /** Minimum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - min?: Maybe; - /** Population standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevPopulation?: Maybe; - /** Sample standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevSample?: Maybe; - /** Sum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - sum?: Maybe; - /** Population variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - variancePopulation?: Maybe; - /** Sample variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - varianceSample?: Maybe; -}; - -/** A filter to be used against aggregates of `ConfidentialVenue` object types. */ -export type ConfidentialVenueAggregatesFilter = { - /** Mean average aggregate over matching `ConfidentialVenue` objects. */ - average?: InputMaybe; - /** Distinct count aggregate over matching `ConfidentialVenue` objects. */ - distinctCount?: InputMaybe; - /** A filter that must pass for the relevant `ConfidentialVenue` object to be included within the aggregate. */ - filter?: InputMaybe; - /** Maximum aggregate over matching `ConfidentialVenue` objects. */ - max?: InputMaybe; - /** Minimum aggregate over matching `ConfidentialVenue` objects. */ - min?: InputMaybe; - /** Population standard deviation aggregate over matching `ConfidentialVenue` objects. */ - stddevPopulation?: InputMaybe; - /** Sample standard deviation aggregate over matching `ConfidentialVenue` objects. */ - stddevSample?: InputMaybe; - /** Sum aggregate over matching `ConfidentialVenue` objects. */ - sum?: InputMaybe; - /** Population variance aggregate over matching `ConfidentialVenue` objects. */ - variancePopulation?: InputMaybe; - /** Sample variance aggregate over matching `ConfidentialVenue` objects. */ - varianceSample?: InputMaybe; -}; - -export type ConfidentialVenueAverageAggregateFilter = { - eventIdx?: InputMaybe; - venueId?: InputMaybe; -}; - -export type ConfidentialVenueAverageAggregates = { - __typename?: 'ConfidentialVenueAverageAggregates'; - /** Mean average of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Mean average of venueId across the matching connection */ - venueId?: Maybe; -}; - -/** A connection to a list of `Block` values, with data from `ConfidentialTransaction`. */ -export type ConfidentialVenueBlocksByConfidentialTransactionVenueIdAndCreatedBlockIdManyToManyConnection = - { - __typename?: 'ConfidentialVenueBlocksByConfidentialTransactionVenueIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `ConfidentialTransaction`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialTransaction`. */ -export type ConfidentialVenueBlocksByConfidentialTransactionVenueIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `ConfidentialTransaction`. */ -export type ConfidentialVenueBlocksByConfidentialTransactionVenueIdAndCreatedBlockIdManyToManyEdge = - { - __typename?: 'ConfidentialVenueBlocksByConfidentialTransactionVenueIdAndCreatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialTransaction`. */ - confidentialTransactionsByCreatedBlockId: ConfidentialTransactionsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - }; - -/** A `Block` edge in the connection, with data from `ConfidentialTransaction`. */ -export type ConfidentialVenueBlocksByConfidentialTransactionVenueIdAndCreatedBlockIdManyToManyEdgeConfidentialTransactionsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialTransaction`. */ -export type ConfidentialVenueBlocksByConfidentialTransactionVenueIdAndUpdatedBlockIdManyToManyConnection = - { - __typename?: 'ConfidentialVenueBlocksByConfidentialTransactionVenueIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `ConfidentialTransaction`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialTransaction`. */ -export type ConfidentialVenueBlocksByConfidentialTransactionVenueIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `ConfidentialTransaction`. */ -export type ConfidentialVenueBlocksByConfidentialTransactionVenueIdAndUpdatedBlockIdManyToManyEdge = - { - __typename?: 'ConfidentialVenueBlocksByConfidentialTransactionVenueIdAndUpdatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialTransaction`. */ - confidentialTransactionsByUpdatedBlockId: ConfidentialTransactionsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - }; - -/** A `Block` edge in the connection, with data from `ConfidentialTransaction`. */ -export type ConfidentialVenueBlocksByConfidentialTransactionVenueIdAndUpdatedBlockIdManyToManyEdgeConfidentialTransactionsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -export type ConfidentialVenueDistinctCountAggregateFilter = { - createdAt?: InputMaybe; - createdBlockId?: InputMaybe; - creatorId?: InputMaybe; - eventIdx?: InputMaybe; - id?: InputMaybe; - updatedAt?: InputMaybe; - updatedBlockId?: InputMaybe; - venueId?: InputMaybe; -}; - -export type ConfidentialVenueDistinctCountAggregates = { - __typename?: 'ConfidentialVenueDistinctCountAggregates'; - /** Distinct count of createdAt across the matching connection */ - createdAt?: Maybe; - /** Distinct count of createdBlockId across the matching connection */ - createdBlockId?: Maybe; - /** Distinct count of creatorId across the matching connection */ - creatorId?: Maybe; - /** Distinct count of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Distinct count of id across the matching connection */ - id?: Maybe; - /** Distinct count of updatedAt across the matching connection */ - updatedAt?: Maybe; - /** Distinct count of updatedBlockId across the matching connection */ - updatedBlockId?: Maybe; - /** Distinct count of venueId across the matching connection */ - venueId?: Maybe; -}; - -/** A filter to be used against `ConfidentialVenue` object types. All fields are combined with a logical ‘and.’ */ -export type ConfidentialVenueFilter = { - /** Checks for all expressions in this list. */ - and?: InputMaybe>; - /** Filter by the object’s `confidentialTransactionsByVenueId` relation. */ - confidentialTransactionsByVenueId?: InputMaybe; - /** Some related `confidentialTransactionsByVenueId` exist. */ - confidentialTransactionsByVenueIdExist?: InputMaybe; - /** Filter by the object’s `createdAt` field. */ - createdAt?: InputMaybe; - /** Filter by the object’s `createdBlock` relation. */ - createdBlock?: InputMaybe; - /** Filter by the object’s `createdBlockId` field. */ - createdBlockId?: InputMaybe; - /** Filter by the object’s `creator` relation. */ - creator?: InputMaybe; - /** Filter by the object’s `creatorId` field. */ - creatorId?: InputMaybe; - /** Filter by the object’s `eventIdx` field. */ - eventIdx?: InputMaybe; - /** Filter by the object’s `id` field. */ - id?: InputMaybe; - /** Negates the expression. */ - not?: InputMaybe; - /** Checks for any expressions in this list. */ - or?: InputMaybe>; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: InputMaybe; - /** Filter by the object’s `updatedBlock` relation. */ - updatedBlock?: InputMaybe; - /** Filter by the object’s `updatedBlockId` field. */ - updatedBlockId?: InputMaybe; - /** Filter by the object’s `venueId` field. */ - venueId?: InputMaybe; -}; - -export type ConfidentialVenueMaxAggregateFilter = { - eventIdx?: InputMaybe; - venueId?: InputMaybe; -}; - -export type ConfidentialVenueMaxAggregates = { - __typename?: 'ConfidentialVenueMaxAggregates'; - /** Maximum of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Maximum of venueId across the matching connection */ - venueId?: Maybe; -}; - -export type ConfidentialVenueMinAggregateFilter = { - eventIdx?: InputMaybe; - venueId?: InputMaybe; -}; - -export type ConfidentialVenueMinAggregates = { - __typename?: 'ConfidentialVenueMinAggregates'; - /** Minimum of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Minimum of venueId across the matching connection */ - venueId?: Maybe; -}; - -export type ConfidentialVenueStddevPopulationAggregateFilter = { - eventIdx?: InputMaybe; - venueId?: InputMaybe; -}; - -export type ConfidentialVenueStddevPopulationAggregates = { - __typename?: 'ConfidentialVenueStddevPopulationAggregates'; - /** Population standard deviation of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Population standard deviation of venueId across the matching connection */ - venueId?: Maybe; -}; - -export type ConfidentialVenueStddevSampleAggregateFilter = { - eventIdx?: InputMaybe; - venueId?: InputMaybe; -}; - -export type ConfidentialVenueStddevSampleAggregates = { - __typename?: 'ConfidentialVenueStddevSampleAggregates'; - /** Sample standard deviation of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Sample standard deviation of venueId across the matching connection */ - venueId?: Maybe; -}; - -export type ConfidentialVenueSumAggregateFilter = { - eventIdx?: InputMaybe; - venueId?: InputMaybe; -}; - -export type ConfidentialVenueSumAggregates = { - __typename?: 'ConfidentialVenueSumAggregates'; - /** Sum of eventIdx across the matching connection */ - eventIdx: Scalars['BigInt']['output']; - /** Sum of venueId across the matching connection */ - venueId: Scalars['BigInt']['output']; -}; - -/** A filter to be used against many `ConfidentialTransaction` object types. All fields are combined with a logical ‘and.’ */ -export type ConfidentialVenueToManyConfidentialTransactionFilter = { - /** Aggregates across related `ConfidentialTransaction` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `ConfidentialTransaction` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `ConfidentialTransaction` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `ConfidentialTransaction` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -export type ConfidentialVenueVariancePopulationAggregateFilter = { - eventIdx?: InputMaybe; - venueId?: InputMaybe; -}; - -export type ConfidentialVenueVariancePopulationAggregates = { - __typename?: 'ConfidentialVenueVariancePopulationAggregates'; - /** Population variance of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Population variance of venueId across the matching connection */ - venueId?: Maybe; -}; - -export type ConfidentialVenueVarianceSampleAggregateFilter = { - eventIdx?: InputMaybe; - venueId?: InputMaybe; -}; - -export type ConfidentialVenueVarianceSampleAggregates = { - __typename?: 'ConfidentialVenueVarianceSampleAggregates'; - /** Sample variance of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Sample variance of venueId across the matching connection */ - venueId?: Maybe; -}; - -/** A connection to a list of `ConfidentialVenue` values. */ -export type ConfidentialVenuesConnection = { - __typename?: 'ConfidentialVenuesConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `ConfidentialVenue` and cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `ConfidentialVenue` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `ConfidentialVenue` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `ConfidentialVenue` values. */ -export type ConfidentialVenuesConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `ConfidentialVenue` edge in the connection. */ -export type ConfidentialVenuesEdge = { - __typename?: 'ConfidentialVenuesEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `ConfidentialVenue` at the end of the edge. */ - node?: Maybe; -}; - -/** Grouping methods for `ConfidentialVenue` for usage during aggregation. */ -export enum ConfidentialVenuesGroupBy { - CreatedAt = 'CREATED_AT', - CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', - CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', - CreatedBlockId = 'CREATED_BLOCK_ID', - CreatorId = 'CREATOR_ID', - EventIdx = 'EVENT_IDX', - UpdatedAt = 'UPDATED_AT', - UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', - UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', - UpdatedBlockId = 'UPDATED_BLOCK_ID', - VenueId = 'VENUE_ID', -} - -export type ConfidentialVenuesHavingAverageInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; - venueId?: InputMaybe; -}; - -export type ConfidentialVenuesHavingDistinctCountInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; - venueId?: InputMaybe; -}; - -/** Conditions for `ConfidentialVenue` aggregates. */ -export type ConfidentialVenuesHavingInput = { - AND?: InputMaybe>; - OR?: InputMaybe>; - average?: InputMaybe; - distinctCount?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddevPopulation?: InputMaybe; - stddevSample?: InputMaybe; - sum?: InputMaybe; - variancePopulation?: InputMaybe; - varianceSample?: InputMaybe; -}; - -export type ConfidentialVenuesHavingMaxInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; - venueId?: InputMaybe; -}; - -export type ConfidentialVenuesHavingMinInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; - venueId?: InputMaybe; -}; - -export type ConfidentialVenuesHavingStddevPopulationInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; - venueId?: InputMaybe; -}; - -export type ConfidentialVenuesHavingStddevSampleInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; - venueId?: InputMaybe; -}; - -export type ConfidentialVenuesHavingSumInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; - venueId?: InputMaybe; -}; - -export type ConfidentialVenuesHavingVariancePopulationInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; - venueId?: InputMaybe; -}; - -export type ConfidentialVenuesHavingVarianceSampleInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; - venueId?: InputMaybe; -}; - -/** Methods to use when ordering `ConfidentialVenue`. */ -export enum ConfidentialVenuesOrderBy { - ConfidentialTransactionsByVenueIdAverageCreatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_AVERAGE_CREATED_AT_ASC', - ConfidentialTransactionsByVenueIdAverageCreatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_AVERAGE_CREATED_AT_DESC', - ConfidentialTransactionsByVenueIdAverageCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - ConfidentialTransactionsByVenueIdAverageCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - ConfidentialTransactionsByVenueIdAverageEventIdxAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_AVERAGE_EVENT_IDX_ASC', - ConfidentialTransactionsByVenueIdAverageEventIdxDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_AVERAGE_EVENT_IDX_DESC', - ConfidentialTransactionsByVenueIdAverageEventIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_AVERAGE_EVENT_ID_ASC', - ConfidentialTransactionsByVenueIdAverageEventIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_AVERAGE_EVENT_ID_DESC', - ConfidentialTransactionsByVenueIdAverageIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_AVERAGE_ID_ASC', - ConfidentialTransactionsByVenueIdAverageIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_AVERAGE_ID_DESC', - ConfidentialTransactionsByVenueIdAverageMemoAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_AVERAGE_MEMO_ASC', - ConfidentialTransactionsByVenueIdAverageMemoDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_AVERAGE_MEMO_DESC', - ConfidentialTransactionsByVenueIdAveragePendingAffirmationsAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_AVERAGE_PENDING_AFFIRMATIONS_ASC', - ConfidentialTransactionsByVenueIdAveragePendingAffirmationsDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_AVERAGE_PENDING_AFFIRMATIONS_DESC', - ConfidentialTransactionsByVenueIdAverageStatusAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_AVERAGE_STATUS_ASC', - ConfidentialTransactionsByVenueIdAverageStatusDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_AVERAGE_STATUS_DESC', - ConfidentialTransactionsByVenueIdAverageUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_AVERAGE_UPDATED_AT_ASC', - ConfidentialTransactionsByVenueIdAverageUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_AVERAGE_UPDATED_AT_DESC', - ConfidentialTransactionsByVenueIdAverageUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - ConfidentialTransactionsByVenueIdAverageUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - ConfidentialTransactionsByVenueIdAverageVenueIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_AVERAGE_VENUE_ID_ASC', - ConfidentialTransactionsByVenueIdAverageVenueIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_AVERAGE_VENUE_ID_DESC', - ConfidentialTransactionsByVenueIdCountAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_COUNT_ASC', - ConfidentialTransactionsByVenueIdCountDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_COUNT_DESC', - ConfidentialTransactionsByVenueIdDistinctCountCreatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_DISTINCT_COUNT_CREATED_AT_ASC', - ConfidentialTransactionsByVenueIdDistinctCountCreatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_DISTINCT_COUNT_CREATED_AT_DESC', - ConfidentialTransactionsByVenueIdDistinctCountCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - ConfidentialTransactionsByVenueIdDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - ConfidentialTransactionsByVenueIdDistinctCountEventIdxAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_DISTINCT_COUNT_EVENT_IDX_ASC', - ConfidentialTransactionsByVenueIdDistinctCountEventIdxDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_DISTINCT_COUNT_EVENT_IDX_DESC', - ConfidentialTransactionsByVenueIdDistinctCountEventIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_DISTINCT_COUNT_EVENT_ID_ASC', - ConfidentialTransactionsByVenueIdDistinctCountEventIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_DISTINCT_COUNT_EVENT_ID_DESC', - ConfidentialTransactionsByVenueIdDistinctCountIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_DISTINCT_COUNT_ID_ASC', - ConfidentialTransactionsByVenueIdDistinctCountIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_DISTINCT_COUNT_ID_DESC', - ConfidentialTransactionsByVenueIdDistinctCountMemoAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_DISTINCT_COUNT_MEMO_ASC', - ConfidentialTransactionsByVenueIdDistinctCountMemoDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_DISTINCT_COUNT_MEMO_DESC', - ConfidentialTransactionsByVenueIdDistinctCountPendingAffirmationsAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_DISTINCT_COUNT_PENDING_AFFIRMATIONS_ASC', - ConfidentialTransactionsByVenueIdDistinctCountPendingAffirmationsDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_DISTINCT_COUNT_PENDING_AFFIRMATIONS_DESC', - ConfidentialTransactionsByVenueIdDistinctCountStatusAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_DISTINCT_COUNT_STATUS_ASC', - ConfidentialTransactionsByVenueIdDistinctCountStatusDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_DISTINCT_COUNT_STATUS_DESC', - ConfidentialTransactionsByVenueIdDistinctCountUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - ConfidentialTransactionsByVenueIdDistinctCountUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - ConfidentialTransactionsByVenueIdDistinctCountUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - ConfidentialTransactionsByVenueIdDistinctCountUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - ConfidentialTransactionsByVenueIdDistinctCountVenueIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_DISTINCT_COUNT_VENUE_ID_ASC', - ConfidentialTransactionsByVenueIdDistinctCountVenueIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_DISTINCT_COUNT_VENUE_ID_DESC', - ConfidentialTransactionsByVenueIdMaxCreatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MAX_CREATED_AT_ASC', - ConfidentialTransactionsByVenueIdMaxCreatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MAX_CREATED_AT_DESC', - ConfidentialTransactionsByVenueIdMaxCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MAX_CREATED_BLOCK_ID_ASC', - ConfidentialTransactionsByVenueIdMaxCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MAX_CREATED_BLOCK_ID_DESC', - ConfidentialTransactionsByVenueIdMaxEventIdxAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MAX_EVENT_IDX_ASC', - ConfidentialTransactionsByVenueIdMaxEventIdxDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MAX_EVENT_IDX_DESC', - ConfidentialTransactionsByVenueIdMaxEventIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MAX_EVENT_ID_ASC', - ConfidentialTransactionsByVenueIdMaxEventIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MAX_EVENT_ID_DESC', - ConfidentialTransactionsByVenueIdMaxIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MAX_ID_ASC', - ConfidentialTransactionsByVenueIdMaxIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MAX_ID_DESC', - ConfidentialTransactionsByVenueIdMaxMemoAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MAX_MEMO_ASC', - ConfidentialTransactionsByVenueIdMaxMemoDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MAX_MEMO_DESC', - ConfidentialTransactionsByVenueIdMaxPendingAffirmationsAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MAX_PENDING_AFFIRMATIONS_ASC', - ConfidentialTransactionsByVenueIdMaxPendingAffirmationsDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MAX_PENDING_AFFIRMATIONS_DESC', - ConfidentialTransactionsByVenueIdMaxStatusAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MAX_STATUS_ASC', - ConfidentialTransactionsByVenueIdMaxStatusDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MAX_STATUS_DESC', - ConfidentialTransactionsByVenueIdMaxUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MAX_UPDATED_AT_ASC', - ConfidentialTransactionsByVenueIdMaxUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MAX_UPDATED_AT_DESC', - ConfidentialTransactionsByVenueIdMaxUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MAX_UPDATED_BLOCK_ID_ASC', - ConfidentialTransactionsByVenueIdMaxUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MAX_UPDATED_BLOCK_ID_DESC', - ConfidentialTransactionsByVenueIdMaxVenueIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MAX_VENUE_ID_ASC', - ConfidentialTransactionsByVenueIdMaxVenueIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MAX_VENUE_ID_DESC', - ConfidentialTransactionsByVenueIdMinCreatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MIN_CREATED_AT_ASC', - ConfidentialTransactionsByVenueIdMinCreatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MIN_CREATED_AT_DESC', - ConfidentialTransactionsByVenueIdMinCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MIN_CREATED_BLOCK_ID_ASC', - ConfidentialTransactionsByVenueIdMinCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MIN_CREATED_BLOCK_ID_DESC', - ConfidentialTransactionsByVenueIdMinEventIdxAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MIN_EVENT_IDX_ASC', - ConfidentialTransactionsByVenueIdMinEventIdxDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MIN_EVENT_IDX_DESC', - ConfidentialTransactionsByVenueIdMinEventIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MIN_EVENT_ID_ASC', - ConfidentialTransactionsByVenueIdMinEventIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MIN_EVENT_ID_DESC', - ConfidentialTransactionsByVenueIdMinIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MIN_ID_ASC', - ConfidentialTransactionsByVenueIdMinIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MIN_ID_DESC', - ConfidentialTransactionsByVenueIdMinMemoAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MIN_MEMO_ASC', - ConfidentialTransactionsByVenueIdMinMemoDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MIN_MEMO_DESC', - ConfidentialTransactionsByVenueIdMinPendingAffirmationsAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MIN_PENDING_AFFIRMATIONS_ASC', - ConfidentialTransactionsByVenueIdMinPendingAffirmationsDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MIN_PENDING_AFFIRMATIONS_DESC', - ConfidentialTransactionsByVenueIdMinStatusAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MIN_STATUS_ASC', - ConfidentialTransactionsByVenueIdMinStatusDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MIN_STATUS_DESC', - ConfidentialTransactionsByVenueIdMinUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MIN_UPDATED_AT_ASC', - ConfidentialTransactionsByVenueIdMinUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MIN_UPDATED_AT_DESC', - ConfidentialTransactionsByVenueIdMinUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MIN_UPDATED_BLOCK_ID_ASC', - ConfidentialTransactionsByVenueIdMinUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MIN_UPDATED_BLOCK_ID_DESC', - ConfidentialTransactionsByVenueIdMinVenueIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MIN_VENUE_ID_ASC', - ConfidentialTransactionsByVenueIdMinVenueIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_MIN_VENUE_ID_DESC', - ConfidentialTransactionsByVenueIdStddevPopulationCreatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_POPULATION_CREATED_AT_ASC', - ConfidentialTransactionsByVenueIdStddevPopulationCreatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_POPULATION_CREATED_AT_DESC', - ConfidentialTransactionsByVenueIdStddevPopulationCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - ConfidentialTransactionsByVenueIdStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - ConfidentialTransactionsByVenueIdStddevPopulationEventIdxAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_POPULATION_EVENT_IDX_ASC', - ConfidentialTransactionsByVenueIdStddevPopulationEventIdxDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_POPULATION_EVENT_IDX_DESC', - ConfidentialTransactionsByVenueIdStddevPopulationEventIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_POPULATION_EVENT_ID_ASC', - ConfidentialTransactionsByVenueIdStddevPopulationEventIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_POPULATION_EVENT_ID_DESC', - ConfidentialTransactionsByVenueIdStddevPopulationIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_POPULATION_ID_ASC', - ConfidentialTransactionsByVenueIdStddevPopulationIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_POPULATION_ID_DESC', - ConfidentialTransactionsByVenueIdStddevPopulationMemoAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_POPULATION_MEMO_ASC', - ConfidentialTransactionsByVenueIdStddevPopulationMemoDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_POPULATION_MEMO_DESC', - ConfidentialTransactionsByVenueIdStddevPopulationPendingAffirmationsAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_POPULATION_PENDING_AFFIRMATIONS_ASC', - ConfidentialTransactionsByVenueIdStddevPopulationPendingAffirmationsDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_POPULATION_PENDING_AFFIRMATIONS_DESC', - ConfidentialTransactionsByVenueIdStddevPopulationStatusAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_POPULATION_STATUS_ASC', - ConfidentialTransactionsByVenueIdStddevPopulationStatusDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_POPULATION_STATUS_DESC', - ConfidentialTransactionsByVenueIdStddevPopulationUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - ConfidentialTransactionsByVenueIdStddevPopulationUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - ConfidentialTransactionsByVenueIdStddevPopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - ConfidentialTransactionsByVenueIdStddevPopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - ConfidentialTransactionsByVenueIdStddevPopulationVenueIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_POPULATION_VENUE_ID_ASC', - ConfidentialTransactionsByVenueIdStddevPopulationVenueIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_POPULATION_VENUE_ID_DESC', - ConfidentialTransactionsByVenueIdStddevSampleCreatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - ConfidentialTransactionsByVenueIdStddevSampleCreatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - ConfidentialTransactionsByVenueIdStddevSampleCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - ConfidentialTransactionsByVenueIdStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - ConfidentialTransactionsByVenueIdStddevSampleEventIdxAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', - ConfidentialTransactionsByVenueIdStddevSampleEventIdxDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', - ConfidentialTransactionsByVenueIdStddevSampleEventIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_SAMPLE_EVENT_ID_ASC', - ConfidentialTransactionsByVenueIdStddevSampleEventIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_SAMPLE_EVENT_ID_DESC', - ConfidentialTransactionsByVenueIdStddevSampleIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_SAMPLE_ID_ASC', - ConfidentialTransactionsByVenueIdStddevSampleIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_SAMPLE_ID_DESC', - ConfidentialTransactionsByVenueIdStddevSampleMemoAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_SAMPLE_MEMO_ASC', - ConfidentialTransactionsByVenueIdStddevSampleMemoDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_SAMPLE_MEMO_DESC', - ConfidentialTransactionsByVenueIdStddevSamplePendingAffirmationsAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_SAMPLE_PENDING_AFFIRMATIONS_ASC', - ConfidentialTransactionsByVenueIdStddevSamplePendingAffirmationsDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_SAMPLE_PENDING_AFFIRMATIONS_DESC', - ConfidentialTransactionsByVenueIdStddevSampleStatusAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_SAMPLE_STATUS_ASC', - ConfidentialTransactionsByVenueIdStddevSampleStatusDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_SAMPLE_STATUS_DESC', - ConfidentialTransactionsByVenueIdStddevSampleUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - ConfidentialTransactionsByVenueIdStddevSampleUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - ConfidentialTransactionsByVenueIdStddevSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - ConfidentialTransactionsByVenueIdStddevSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - ConfidentialTransactionsByVenueIdStddevSampleVenueIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_SAMPLE_VENUE_ID_ASC', - ConfidentialTransactionsByVenueIdStddevSampleVenueIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_STDDEV_SAMPLE_VENUE_ID_DESC', - ConfidentialTransactionsByVenueIdSumCreatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_SUM_CREATED_AT_ASC', - ConfidentialTransactionsByVenueIdSumCreatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_SUM_CREATED_AT_DESC', - ConfidentialTransactionsByVenueIdSumCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_SUM_CREATED_BLOCK_ID_ASC', - ConfidentialTransactionsByVenueIdSumCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_SUM_CREATED_BLOCK_ID_DESC', - ConfidentialTransactionsByVenueIdSumEventIdxAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_SUM_EVENT_IDX_ASC', - ConfidentialTransactionsByVenueIdSumEventIdxDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_SUM_EVENT_IDX_DESC', - ConfidentialTransactionsByVenueIdSumEventIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_SUM_EVENT_ID_ASC', - ConfidentialTransactionsByVenueIdSumEventIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_SUM_EVENT_ID_DESC', - ConfidentialTransactionsByVenueIdSumIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_SUM_ID_ASC', - ConfidentialTransactionsByVenueIdSumIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_SUM_ID_DESC', - ConfidentialTransactionsByVenueIdSumMemoAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_SUM_MEMO_ASC', - ConfidentialTransactionsByVenueIdSumMemoDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_SUM_MEMO_DESC', - ConfidentialTransactionsByVenueIdSumPendingAffirmationsAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_SUM_PENDING_AFFIRMATIONS_ASC', - ConfidentialTransactionsByVenueIdSumPendingAffirmationsDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_SUM_PENDING_AFFIRMATIONS_DESC', - ConfidentialTransactionsByVenueIdSumStatusAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_SUM_STATUS_ASC', - ConfidentialTransactionsByVenueIdSumStatusDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_SUM_STATUS_DESC', - ConfidentialTransactionsByVenueIdSumUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_SUM_UPDATED_AT_ASC', - ConfidentialTransactionsByVenueIdSumUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_SUM_UPDATED_AT_DESC', - ConfidentialTransactionsByVenueIdSumUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_SUM_UPDATED_BLOCK_ID_ASC', - ConfidentialTransactionsByVenueIdSumUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_SUM_UPDATED_BLOCK_ID_DESC', - ConfidentialTransactionsByVenueIdSumVenueIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_SUM_VENUE_ID_ASC', - ConfidentialTransactionsByVenueIdSumVenueIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_SUM_VENUE_ID_DESC', - ConfidentialTransactionsByVenueIdVariancePopulationCreatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - ConfidentialTransactionsByVenueIdVariancePopulationCreatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - ConfidentialTransactionsByVenueIdVariancePopulationCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - ConfidentialTransactionsByVenueIdVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - ConfidentialTransactionsByVenueIdVariancePopulationEventIdxAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', - ConfidentialTransactionsByVenueIdVariancePopulationEventIdxDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', - ConfidentialTransactionsByVenueIdVariancePopulationEventIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_POPULATION_EVENT_ID_ASC', - ConfidentialTransactionsByVenueIdVariancePopulationEventIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_POPULATION_EVENT_ID_DESC', - ConfidentialTransactionsByVenueIdVariancePopulationIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_POPULATION_ID_ASC', - ConfidentialTransactionsByVenueIdVariancePopulationIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_POPULATION_ID_DESC', - ConfidentialTransactionsByVenueIdVariancePopulationMemoAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_POPULATION_MEMO_ASC', - ConfidentialTransactionsByVenueIdVariancePopulationMemoDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_POPULATION_MEMO_DESC', - ConfidentialTransactionsByVenueIdVariancePopulationPendingAffirmationsAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_POPULATION_PENDING_AFFIRMATIONS_ASC', - ConfidentialTransactionsByVenueIdVariancePopulationPendingAffirmationsDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_POPULATION_PENDING_AFFIRMATIONS_DESC', - ConfidentialTransactionsByVenueIdVariancePopulationStatusAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_POPULATION_STATUS_ASC', - ConfidentialTransactionsByVenueIdVariancePopulationStatusDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_POPULATION_STATUS_DESC', - ConfidentialTransactionsByVenueIdVariancePopulationUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - ConfidentialTransactionsByVenueIdVariancePopulationUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - ConfidentialTransactionsByVenueIdVariancePopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - ConfidentialTransactionsByVenueIdVariancePopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - ConfidentialTransactionsByVenueIdVariancePopulationVenueIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_POPULATION_VENUE_ID_ASC', - ConfidentialTransactionsByVenueIdVariancePopulationVenueIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_POPULATION_VENUE_ID_DESC', - ConfidentialTransactionsByVenueIdVarianceSampleCreatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - ConfidentialTransactionsByVenueIdVarianceSampleCreatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - ConfidentialTransactionsByVenueIdVarianceSampleCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - ConfidentialTransactionsByVenueIdVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - ConfidentialTransactionsByVenueIdVarianceSampleEventIdxAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', - ConfidentialTransactionsByVenueIdVarianceSampleEventIdxDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', - ConfidentialTransactionsByVenueIdVarianceSampleEventIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_SAMPLE_EVENT_ID_ASC', - ConfidentialTransactionsByVenueIdVarianceSampleEventIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_SAMPLE_EVENT_ID_DESC', - ConfidentialTransactionsByVenueIdVarianceSampleIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_SAMPLE_ID_ASC', - ConfidentialTransactionsByVenueIdVarianceSampleIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_SAMPLE_ID_DESC', - ConfidentialTransactionsByVenueIdVarianceSampleMemoAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_SAMPLE_MEMO_ASC', - ConfidentialTransactionsByVenueIdVarianceSampleMemoDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_SAMPLE_MEMO_DESC', - ConfidentialTransactionsByVenueIdVarianceSamplePendingAffirmationsAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_SAMPLE_PENDING_AFFIRMATIONS_ASC', - ConfidentialTransactionsByVenueIdVarianceSamplePendingAffirmationsDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_SAMPLE_PENDING_AFFIRMATIONS_DESC', - ConfidentialTransactionsByVenueIdVarianceSampleStatusAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_SAMPLE_STATUS_ASC', - ConfidentialTransactionsByVenueIdVarianceSampleStatusDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_SAMPLE_STATUS_DESC', - ConfidentialTransactionsByVenueIdVarianceSampleUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - ConfidentialTransactionsByVenueIdVarianceSampleUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - ConfidentialTransactionsByVenueIdVarianceSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - ConfidentialTransactionsByVenueIdVarianceSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - ConfidentialTransactionsByVenueIdVarianceSampleVenueIdAsc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_SAMPLE_VENUE_ID_ASC', - ConfidentialTransactionsByVenueIdVarianceSampleVenueIdDesc = 'CONFIDENTIAL_TRANSACTIONS_BY_VENUE_ID_VARIANCE_SAMPLE_VENUE_ID_DESC', - CreatedAtAsc = 'CREATED_AT_ASC', - CreatedAtDesc = 'CREATED_AT_DESC', - CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', - CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', - CreatorIdAsc = 'CREATOR_ID_ASC', - CreatorIdDesc = 'CREATOR_ID_DESC', - EventIdxAsc = 'EVENT_IDX_ASC', - EventIdxDesc = 'EVENT_IDX_DESC', - IdAsc = 'ID_ASC', - IdDesc = 'ID_DESC', - Natural = 'NATURAL', - PrimaryKeyAsc = 'PRIMARY_KEY_ASC', - PrimaryKeyDesc = 'PRIMARY_KEY_DESC', - UpdatedAtAsc = 'UPDATED_AT_ASC', - UpdatedAtDesc = 'UPDATED_AT_DESC', - UpdatedBlockIdAsc = 'UPDATED_BLOCK_ID_ASC', - UpdatedBlockIdDesc = 'UPDATED_BLOCK_ID_DESC', - VenueIdAsc = 'VENUE_ID_ASC', - VenueIdDesc = 'VENUE_ID_DESC', -} - -/** Represents the registered CustomClaimType */ -export type CustomClaimType = Node & { - __typename?: 'CustomClaimType'; - /** Reads and enables pagination through a set of `Block`. */ - blocksByClaimCustomClaimTypeIdAndCreatedBlockId: CustomClaimTypeBlocksByClaimCustomClaimTypeIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByClaimCustomClaimTypeIdAndUpdatedBlockId: CustomClaimTypeBlocksByClaimCustomClaimTypeIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Claim`. */ - claims: ClaimsConnection; - createdAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `CustomClaimType`. */ - createdBlock?: Maybe; - createdBlockId: Scalars['String']['output']; - id: Scalars['String']['output']; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByClaimCustomClaimTypeIdAndIssuerId: CustomClaimTypeIdentitiesByClaimCustomClaimTypeIdAndIssuerIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByClaimCustomClaimTypeIdAndTargetId: CustomClaimTypeIdentitiesByClaimCustomClaimTypeIdAndTargetIdManyToManyConnection; - /** Reads a single `Identity` that is related to this `CustomClaimType`. */ - identity?: Maybe; - identityId?: Maybe; - name: Scalars['String']['output']; - /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ - nodeId: Scalars['ID']['output']; - updatedAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `CustomClaimType`. */ - updatedBlock?: Maybe; - updatedBlockId: Scalars['String']['output']; -}; - -/** Represents the registered CustomClaimType */ -export type CustomClaimTypeBlocksByClaimCustomClaimTypeIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents the registered CustomClaimType */ -export type CustomClaimTypeBlocksByClaimCustomClaimTypeIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents the registered CustomClaimType */ -export type CustomClaimTypeClaimsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents the registered CustomClaimType */ -export type CustomClaimTypeIdentitiesByClaimCustomClaimTypeIdAndIssuerIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents the registered CustomClaimType */ -export type CustomClaimTypeIdentitiesByClaimCustomClaimTypeIdAndTargetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -export type CustomClaimTypeAggregates = { - __typename?: 'CustomClaimTypeAggregates'; - /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ - distinctCount?: Maybe; - keys?: Maybe>; -}; - -/** A filter to be used against aggregates of `CustomClaimType` object types. */ -export type CustomClaimTypeAggregatesFilter = { - /** Distinct count aggregate over matching `CustomClaimType` objects. */ - distinctCount?: InputMaybe; - /** A filter that must pass for the relevant `CustomClaimType` object to be included within the aggregate. */ - filter?: InputMaybe; -}; - -/** A connection to a list of `Block` values, with data from `Claim`. */ -export type CustomClaimTypeBlocksByClaimCustomClaimTypeIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'CustomClaimTypeBlocksByClaimCustomClaimTypeIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Claim`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Claim`. */ -export type CustomClaimTypeBlocksByClaimCustomClaimTypeIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Claim`. */ -export type CustomClaimTypeBlocksByClaimCustomClaimTypeIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'CustomClaimTypeBlocksByClaimCustomClaimTypeIdAndCreatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `Claim`. */ - claimsByCreatedBlockId: ClaimsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `Claim`. */ -export type CustomClaimTypeBlocksByClaimCustomClaimTypeIdAndCreatedBlockIdManyToManyEdgeClaimsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Claim`. */ -export type CustomClaimTypeBlocksByClaimCustomClaimTypeIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'CustomClaimTypeBlocksByClaimCustomClaimTypeIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Claim`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Claim`. */ -export type CustomClaimTypeBlocksByClaimCustomClaimTypeIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Claim`. */ -export type CustomClaimTypeBlocksByClaimCustomClaimTypeIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'CustomClaimTypeBlocksByClaimCustomClaimTypeIdAndUpdatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `Claim`. */ - claimsByUpdatedBlockId: ClaimsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `Claim`. */ -export type CustomClaimTypeBlocksByClaimCustomClaimTypeIdAndUpdatedBlockIdManyToManyEdgeClaimsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -export type CustomClaimTypeDistinctCountAggregateFilter = { - createdAt?: InputMaybe; - createdBlockId?: InputMaybe; - id?: InputMaybe; - identityId?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; - updatedBlockId?: InputMaybe; -}; - -export type CustomClaimTypeDistinctCountAggregates = { - __typename?: 'CustomClaimTypeDistinctCountAggregates'; - /** Distinct count of createdAt across the matching connection */ - createdAt?: Maybe; - /** Distinct count of createdBlockId across the matching connection */ - createdBlockId?: Maybe; - /** Distinct count of id across the matching connection */ - id?: Maybe; - /** Distinct count of identityId across the matching connection */ - identityId?: Maybe; - /** Distinct count of name across the matching connection */ - name?: Maybe; - /** Distinct count of updatedAt across the matching connection */ - updatedAt?: Maybe; - /** Distinct count of updatedBlockId across the matching connection */ - updatedBlockId?: Maybe; -}; - -/** A filter to be used against `CustomClaimType` object types. All fields are combined with a logical ‘and.’ */ -export type CustomClaimTypeFilter = { - /** Checks for all expressions in this list. */ - and?: InputMaybe>; - /** Filter by the object’s `claims` relation. */ - claims?: InputMaybe; - /** Some related `claims` exist. */ - claimsExist?: InputMaybe; - /** Filter by the object’s `createdAt` field. */ - createdAt?: InputMaybe; - /** Filter by the object’s `createdBlock` relation. */ - createdBlock?: InputMaybe; - /** Filter by the object’s `createdBlockId` field. */ - createdBlockId?: InputMaybe; - /** Filter by the object’s `id` field. */ - id?: InputMaybe; - /** Filter by the object’s `identity` relation. */ - identity?: InputMaybe; - /** A related `identity` exists. */ - identityExists?: InputMaybe; - /** Filter by the object’s `identityId` field. */ - identityId?: InputMaybe; - /** Filter by the object’s `name` field. */ - name?: InputMaybe; - /** Negates the expression. */ - not?: InputMaybe; - /** Checks for any expressions in this list. */ - or?: InputMaybe>; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: InputMaybe; - /** Filter by the object’s `updatedBlock` relation. */ - updatedBlock?: InputMaybe; - /** Filter by the object’s `updatedBlockId` field. */ - updatedBlockId?: InputMaybe; -}; - -/** A connection to a list of `Identity` values, with data from `Claim`. */ -export type CustomClaimTypeIdentitiesByClaimCustomClaimTypeIdAndIssuerIdManyToManyConnection = { - __typename?: 'CustomClaimTypeIdentitiesByClaimCustomClaimTypeIdAndIssuerIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `Claim`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `Claim`. */ -export type CustomClaimTypeIdentitiesByClaimCustomClaimTypeIdAndIssuerIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `Claim`. */ -export type CustomClaimTypeIdentitiesByClaimCustomClaimTypeIdAndIssuerIdManyToManyEdge = { - __typename?: 'CustomClaimTypeIdentitiesByClaimCustomClaimTypeIdAndIssuerIdManyToManyEdge'; - /** Reads and enables pagination through a set of `Claim`. */ - claimsByIssuerId: ClaimsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Identity` edge in the connection, with data from `Claim`. */ -export type CustomClaimTypeIdentitiesByClaimCustomClaimTypeIdAndIssuerIdManyToManyEdgeClaimsByIssuerIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Identity` values, with data from `Claim`. */ -export type CustomClaimTypeIdentitiesByClaimCustomClaimTypeIdAndTargetIdManyToManyConnection = { - __typename?: 'CustomClaimTypeIdentitiesByClaimCustomClaimTypeIdAndTargetIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `Claim`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `Claim`. */ -export type CustomClaimTypeIdentitiesByClaimCustomClaimTypeIdAndTargetIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `Claim`. */ -export type CustomClaimTypeIdentitiesByClaimCustomClaimTypeIdAndTargetIdManyToManyEdge = { - __typename?: 'CustomClaimTypeIdentitiesByClaimCustomClaimTypeIdAndTargetIdManyToManyEdge'; - /** Reads and enables pagination through a set of `Claim`. */ - claimsByTargetId: ClaimsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Identity` edge in the connection, with data from `Claim`. */ -export type CustomClaimTypeIdentitiesByClaimCustomClaimTypeIdAndTargetIdManyToManyEdgeClaimsByTargetIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A filter to be used against many `Claim` object types. All fields are combined with a logical ‘and.’ */ -export type CustomClaimTypeToManyClaimFilter = { - /** Aggregates across related `Claim` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `Claim` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `Claim` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `Claim` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A connection to a list of `CustomClaimType` values. */ -export type CustomClaimTypesConnection = { - __typename?: 'CustomClaimTypesConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `CustomClaimType` and cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `CustomClaimType` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `CustomClaimType` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `CustomClaimType` values. */ -export type CustomClaimTypesConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `CustomClaimType` edge in the connection. */ -export type CustomClaimTypesEdge = { - __typename?: 'CustomClaimTypesEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `CustomClaimType` at the end of the edge. */ - node?: Maybe; -}; - -/** Grouping methods for `CustomClaimType` for usage during aggregation. */ -export enum CustomClaimTypesGroupBy { - CreatedAt = 'CREATED_AT', - CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', - CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', - CreatedBlockId = 'CREATED_BLOCK_ID', - IdentityId = 'IDENTITY_ID', - Name = 'NAME', - UpdatedAt = 'UPDATED_AT', - UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', - UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export type CustomClaimTypesHavingAverageInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type CustomClaimTypesHavingDistinctCountInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Conditions for `CustomClaimType` aggregates. */ -export type CustomClaimTypesHavingInput = { - AND?: InputMaybe>; - OR?: InputMaybe>; - average?: InputMaybe; - distinctCount?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddevPopulation?: InputMaybe; - stddevSample?: InputMaybe; - sum?: InputMaybe; - variancePopulation?: InputMaybe; - varianceSample?: InputMaybe; -}; - -export type CustomClaimTypesHavingMaxInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type CustomClaimTypesHavingMinInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type CustomClaimTypesHavingStddevPopulationInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type CustomClaimTypesHavingStddevSampleInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type CustomClaimTypesHavingSumInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type CustomClaimTypesHavingVariancePopulationInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type CustomClaimTypesHavingVarianceSampleInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Methods to use when ordering `CustomClaimType`. */ -export enum CustomClaimTypesOrderBy { - ClaimsAverageCddIdAsc = 'CLAIMS_AVERAGE_CDD_ID_ASC', - ClaimsAverageCddIdDesc = 'CLAIMS_AVERAGE_CDD_ID_DESC', - ClaimsAverageCreatedAtAsc = 'CLAIMS_AVERAGE_CREATED_AT_ASC', - ClaimsAverageCreatedAtDesc = 'CLAIMS_AVERAGE_CREATED_AT_DESC', - ClaimsAverageCreatedBlockIdAsc = 'CLAIMS_AVERAGE_CREATED_BLOCK_ID_ASC', - ClaimsAverageCreatedBlockIdDesc = 'CLAIMS_AVERAGE_CREATED_BLOCK_ID_DESC', - ClaimsAverageCustomClaimTypeIdAsc = 'CLAIMS_AVERAGE_CUSTOM_CLAIM_TYPE_ID_ASC', - ClaimsAverageCustomClaimTypeIdDesc = 'CLAIMS_AVERAGE_CUSTOM_CLAIM_TYPE_ID_DESC', - ClaimsAverageEventIdxAsc = 'CLAIMS_AVERAGE_EVENT_IDX_ASC', - ClaimsAverageEventIdxDesc = 'CLAIMS_AVERAGE_EVENT_IDX_DESC', - ClaimsAverageExpiryAsc = 'CLAIMS_AVERAGE_EXPIRY_ASC', - ClaimsAverageExpiryDesc = 'CLAIMS_AVERAGE_EXPIRY_DESC', - ClaimsAverageFilterExpiryAsc = 'CLAIMS_AVERAGE_FILTER_EXPIRY_ASC', - ClaimsAverageFilterExpiryDesc = 'CLAIMS_AVERAGE_FILTER_EXPIRY_DESC', - ClaimsAverageIdAsc = 'CLAIMS_AVERAGE_ID_ASC', - ClaimsAverageIdDesc = 'CLAIMS_AVERAGE_ID_DESC', - ClaimsAverageIssuanceDateAsc = 'CLAIMS_AVERAGE_ISSUANCE_DATE_ASC', - ClaimsAverageIssuanceDateDesc = 'CLAIMS_AVERAGE_ISSUANCE_DATE_DESC', - ClaimsAverageIssuerIdAsc = 'CLAIMS_AVERAGE_ISSUER_ID_ASC', - ClaimsAverageIssuerIdDesc = 'CLAIMS_AVERAGE_ISSUER_ID_DESC', - ClaimsAverageJurisdictionAsc = 'CLAIMS_AVERAGE_JURISDICTION_ASC', - ClaimsAverageJurisdictionDesc = 'CLAIMS_AVERAGE_JURISDICTION_DESC', - ClaimsAverageLastUpdateDateAsc = 'CLAIMS_AVERAGE_LAST_UPDATE_DATE_ASC', - ClaimsAverageLastUpdateDateDesc = 'CLAIMS_AVERAGE_LAST_UPDATE_DATE_DESC', - ClaimsAverageRevokeDateAsc = 'CLAIMS_AVERAGE_REVOKE_DATE_ASC', - ClaimsAverageRevokeDateDesc = 'CLAIMS_AVERAGE_REVOKE_DATE_DESC', - ClaimsAverageScopeAsc = 'CLAIMS_AVERAGE_SCOPE_ASC', - ClaimsAverageScopeDesc = 'CLAIMS_AVERAGE_SCOPE_DESC', - ClaimsAverageTargetIdAsc = 'CLAIMS_AVERAGE_TARGET_ID_ASC', - ClaimsAverageTargetIdDesc = 'CLAIMS_AVERAGE_TARGET_ID_DESC', - ClaimsAverageTypeAsc = 'CLAIMS_AVERAGE_TYPE_ASC', - ClaimsAverageTypeDesc = 'CLAIMS_AVERAGE_TYPE_DESC', - ClaimsAverageUpdatedAtAsc = 'CLAIMS_AVERAGE_UPDATED_AT_ASC', - ClaimsAverageUpdatedAtDesc = 'CLAIMS_AVERAGE_UPDATED_AT_DESC', - ClaimsAverageUpdatedBlockIdAsc = 'CLAIMS_AVERAGE_UPDATED_BLOCK_ID_ASC', - ClaimsAverageUpdatedBlockIdDesc = 'CLAIMS_AVERAGE_UPDATED_BLOCK_ID_DESC', - ClaimsCountAsc = 'CLAIMS_COUNT_ASC', - ClaimsCountDesc = 'CLAIMS_COUNT_DESC', - ClaimsDistinctCountCddIdAsc = 'CLAIMS_DISTINCT_COUNT_CDD_ID_ASC', - ClaimsDistinctCountCddIdDesc = 'CLAIMS_DISTINCT_COUNT_CDD_ID_DESC', - ClaimsDistinctCountCreatedAtAsc = 'CLAIMS_DISTINCT_COUNT_CREATED_AT_ASC', - ClaimsDistinctCountCreatedAtDesc = 'CLAIMS_DISTINCT_COUNT_CREATED_AT_DESC', - ClaimsDistinctCountCreatedBlockIdAsc = 'CLAIMS_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - ClaimsDistinctCountCreatedBlockIdDesc = 'CLAIMS_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - ClaimsDistinctCountCustomClaimTypeIdAsc = 'CLAIMS_DISTINCT_COUNT_CUSTOM_CLAIM_TYPE_ID_ASC', - ClaimsDistinctCountCustomClaimTypeIdDesc = 'CLAIMS_DISTINCT_COUNT_CUSTOM_CLAIM_TYPE_ID_DESC', - ClaimsDistinctCountEventIdxAsc = 'CLAIMS_DISTINCT_COUNT_EVENT_IDX_ASC', - ClaimsDistinctCountEventIdxDesc = 'CLAIMS_DISTINCT_COUNT_EVENT_IDX_DESC', - ClaimsDistinctCountExpiryAsc = 'CLAIMS_DISTINCT_COUNT_EXPIRY_ASC', - ClaimsDistinctCountExpiryDesc = 'CLAIMS_DISTINCT_COUNT_EXPIRY_DESC', - ClaimsDistinctCountFilterExpiryAsc = 'CLAIMS_DISTINCT_COUNT_FILTER_EXPIRY_ASC', - ClaimsDistinctCountFilterExpiryDesc = 'CLAIMS_DISTINCT_COUNT_FILTER_EXPIRY_DESC', - ClaimsDistinctCountIdAsc = 'CLAIMS_DISTINCT_COUNT_ID_ASC', - ClaimsDistinctCountIdDesc = 'CLAIMS_DISTINCT_COUNT_ID_DESC', - ClaimsDistinctCountIssuanceDateAsc = 'CLAIMS_DISTINCT_COUNT_ISSUANCE_DATE_ASC', - ClaimsDistinctCountIssuanceDateDesc = 'CLAIMS_DISTINCT_COUNT_ISSUANCE_DATE_DESC', - ClaimsDistinctCountIssuerIdAsc = 'CLAIMS_DISTINCT_COUNT_ISSUER_ID_ASC', - ClaimsDistinctCountIssuerIdDesc = 'CLAIMS_DISTINCT_COUNT_ISSUER_ID_DESC', - ClaimsDistinctCountJurisdictionAsc = 'CLAIMS_DISTINCT_COUNT_JURISDICTION_ASC', - ClaimsDistinctCountJurisdictionDesc = 'CLAIMS_DISTINCT_COUNT_JURISDICTION_DESC', - ClaimsDistinctCountLastUpdateDateAsc = 'CLAIMS_DISTINCT_COUNT_LAST_UPDATE_DATE_ASC', - ClaimsDistinctCountLastUpdateDateDesc = 'CLAIMS_DISTINCT_COUNT_LAST_UPDATE_DATE_DESC', - ClaimsDistinctCountRevokeDateAsc = 'CLAIMS_DISTINCT_COUNT_REVOKE_DATE_ASC', - ClaimsDistinctCountRevokeDateDesc = 'CLAIMS_DISTINCT_COUNT_REVOKE_DATE_DESC', - ClaimsDistinctCountScopeAsc = 'CLAIMS_DISTINCT_COUNT_SCOPE_ASC', - ClaimsDistinctCountScopeDesc = 'CLAIMS_DISTINCT_COUNT_SCOPE_DESC', - ClaimsDistinctCountTargetIdAsc = 'CLAIMS_DISTINCT_COUNT_TARGET_ID_ASC', - ClaimsDistinctCountTargetIdDesc = 'CLAIMS_DISTINCT_COUNT_TARGET_ID_DESC', - ClaimsDistinctCountTypeAsc = 'CLAIMS_DISTINCT_COUNT_TYPE_ASC', - ClaimsDistinctCountTypeDesc = 'CLAIMS_DISTINCT_COUNT_TYPE_DESC', - ClaimsDistinctCountUpdatedAtAsc = 'CLAIMS_DISTINCT_COUNT_UPDATED_AT_ASC', - ClaimsDistinctCountUpdatedAtDesc = 'CLAIMS_DISTINCT_COUNT_UPDATED_AT_DESC', - ClaimsDistinctCountUpdatedBlockIdAsc = 'CLAIMS_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - ClaimsDistinctCountUpdatedBlockIdDesc = 'CLAIMS_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - ClaimsMaxCddIdAsc = 'CLAIMS_MAX_CDD_ID_ASC', - ClaimsMaxCddIdDesc = 'CLAIMS_MAX_CDD_ID_DESC', - ClaimsMaxCreatedAtAsc = 'CLAIMS_MAX_CREATED_AT_ASC', - ClaimsMaxCreatedAtDesc = 'CLAIMS_MAX_CREATED_AT_DESC', - ClaimsMaxCreatedBlockIdAsc = 'CLAIMS_MAX_CREATED_BLOCK_ID_ASC', - ClaimsMaxCreatedBlockIdDesc = 'CLAIMS_MAX_CREATED_BLOCK_ID_DESC', - ClaimsMaxCustomClaimTypeIdAsc = 'CLAIMS_MAX_CUSTOM_CLAIM_TYPE_ID_ASC', - ClaimsMaxCustomClaimTypeIdDesc = 'CLAIMS_MAX_CUSTOM_CLAIM_TYPE_ID_DESC', - ClaimsMaxEventIdxAsc = 'CLAIMS_MAX_EVENT_IDX_ASC', - ClaimsMaxEventIdxDesc = 'CLAIMS_MAX_EVENT_IDX_DESC', - ClaimsMaxExpiryAsc = 'CLAIMS_MAX_EXPIRY_ASC', - ClaimsMaxExpiryDesc = 'CLAIMS_MAX_EXPIRY_DESC', - ClaimsMaxFilterExpiryAsc = 'CLAIMS_MAX_FILTER_EXPIRY_ASC', - ClaimsMaxFilterExpiryDesc = 'CLAIMS_MAX_FILTER_EXPIRY_DESC', - ClaimsMaxIdAsc = 'CLAIMS_MAX_ID_ASC', - ClaimsMaxIdDesc = 'CLAIMS_MAX_ID_DESC', - ClaimsMaxIssuanceDateAsc = 'CLAIMS_MAX_ISSUANCE_DATE_ASC', - ClaimsMaxIssuanceDateDesc = 'CLAIMS_MAX_ISSUANCE_DATE_DESC', - ClaimsMaxIssuerIdAsc = 'CLAIMS_MAX_ISSUER_ID_ASC', - ClaimsMaxIssuerIdDesc = 'CLAIMS_MAX_ISSUER_ID_DESC', - ClaimsMaxJurisdictionAsc = 'CLAIMS_MAX_JURISDICTION_ASC', - ClaimsMaxJurisdictionDesc = 'CLAIMS_MAX_JURISDICTION_DESC', - ClaimsMaxLastUpdateDateAsc = 'CLAIMS_MAX_LAST_UPDATE_DATE_ASC', - ClaimsMaxLastUpdateDateDesc = 'CLAIMS_MAX_LAST_UPDATE_DATE_DESC', - ClaimsMaxRevokeDateAsc = 'CLAIMS_MAX_REVOKE_DATE_ASC', - ClaimsMaxRevokeDateDesc = 'CLAIMS_MAX_REVOKE_DATE_DESC', - ClaimsMaxScopeAsc = 'CLAIMS_MAX_SCOPE_ASC', - ClaimsMaxScopeDesc = 'CLAIMS_MAX_SCOPE_DESC', - ClaimsMaxTargetIdAsc = 'CLAIMS_MAX_TARGET_ID_ASC', - ClaimsMaxTargetIdDesc = 'CLAIMS_MAX_TARGET_ID_DESC', - ClaimsMaxTypeAsc = 'CLAIMS_MAX_TYPE_ASC', - ClaimsMaxTypeDesc = 'CLAIMS_MAX_TYPE_DESC', - ClaimsMaxUpdatedAtAsc = 'CLAIMS_MAX_UPDATED_AT_ASC', - ClaimsMaxUpdatedAtDesc = 'CLAIMS_MAX_UPDATED_AT_DESC', - ClaimsMaxUpdatedBlockIdAsc = 'CLAIMS_MAX_UPDATED_BLOCK_ID_ASC', - ClaimsMaxUpdatedBlockIdDesc = 'CLAIMS_MAX_UPDATED_BLOCK_ID_DESC', - ClaimsMinCddIdAsc = 'CLAIMS_MIN_CDD_ID_ASC', - ClaimsMinCddIdDesc = 'CLAIMS_MIN_CDD_ID_DESC', - ClaimsMinCreatedAtAsc = 'CLAIMS_MIN_CREATED_AT_ASC', - ClaimsMinCreatedAtDesc = 'CLAIMS_MIN_CREATED_AT_DESC', - ClaimsMinCreatedBlockIdAsc = 'CLAIMS_MIN_CREATED_BLOCK_ID_ASC', - ClaimsMinCreatedBlockIdDesc = 'CLAIMS_MIN_CREATED_BLOCK_ID_DESC', - ClaimsMinCustomClaimTypeIdAsc = 'CLAIMS_MIN_CUSTOM_CLAIM_TYPE_ID_ASC', - ClaimsMinCustomClaimTypeIdDesc = 'CLAIMS_MIN_CUSTOM_CLAIM_TYPE_ID_DESC', - ClaimsMinEventIdxAsc = 'CLAIMS_MIN_EVENT_IDX_ASC', - ClaimsMinEventIdxDesc = 'CLAIMS_MIN_EVENT_IDX_DESC', - ClaimsMinExpiryAsc = 'CLAIMS_MIN_EXPIRY_ASC', - ClaimsMinExpiryDesc = 'CLAIMS_MIN_EXPIRY_DESC', - ClaimsMinFilterExpiryAsc = 'CLAIMS_MIN_FILTER_EXPIRY_ASC', - ClaimsMinFilterExpiryDesc = 'CLAIMS_MIN_FILTER_EXPIRY_DESC', - ClaimsMinIdAsc = 'CLAIMS_MIN_ID_ASC', - ClaimsMinIdDesc = 'CLAIMS_MIN_ID_DESC', - ClaimsMinIssuanceDateAsc = 'CLAIMS_MIN_ISSUANCE_DATE_ASC', - ClaimsMinIssuanceDateDesc = 'CLAIMS_MIN_ISSUANCE_DATE_DESC', - ClaimsMinIssuerIdAsc = 'CLAIMS_MIN_ISSUER_ID_ASC', - ClaimsMinIssuerIdDesc = 'CLAIMS_MIN_ISSUER_ID_DESC', - ClaimsMinJurisdictionAsc = 'CLAIMS_MIN_JURISDICTION_ASC', - ClaimsMinJurisdictionDesc = 'CLAIMS_MIN_JURISDICTION_DESC', - ClaimsMinLastUpdateDateAsc = 'CLAIMS_MIN_LAST_UPDATE_DATE_ASC', - ClaimsMinLastUpdateDateDesc = 'CLAIMS_MIN_LAST_UPDATE_DATE_DESC', - ClaimsMinRevokeDateAsc = 'CLAIMS_MIN_REVOKE_DATE_ASC', - ClaimsMinRevokeDateDesc = 'CLAIMS_MIN_REVOKE_DATE_DESC', - ClaimsMinScopeAsc = 'CLAIMS_MIN_SCOPE_ASC', - ClaimsMinScopeDesc = 'CLAIMS_MIN_SCOPE_DESC', - ClaimsMinTargetIdAsc = 'CLAIMS_MIN_TARGET_ID_ASC', - ClaimsMinTargetIdDesc = 'CLAIMS_MIN_TARGET_ID_DESC', - ClaimsMinTypeAsc = 'CLAIMS_MIN_TYPE_ASC', - ClaimsMinTypeDesc = 'CLAIMS_MIN_TYPE_DESC', - ClaimsMinUpdatedAtAsc = 'CLAIMS_MIN_UPDATED_AT_ASC', - ClaimsMinUpdatedAtDesc = 'CLAIMS_MIN_UPDATED_AT_DESC', - ClaimsMinUpdatedBlockIdAsc = 'CLAIMS_MIN_UPDATED_BLOCK_ID_ASC', - ClaimsMinUpdatedBlockIdDesc = 'CLAIMS_MIN_UPDATED_BLOCK_ID_DESC', - ClaimsStddevPopulationCddIdAsc = 'CLAIMS_STDDEV_POPULATION_CDD_ID_ASC', - ClaimsStddevPopulationCddIdDesc = 'CLAIMS_STDDEV_POPULATION_CDD_ID_DESC', - ClaimsStddevPopulationCreatedAtAsc = 'CLAIMS_STDDEV_POPULATION_CREATED_AT_ASC', - ClaimsStddevPopulationCreatedAtDesc = 'CLAIMS_STDDEV_POPULATION_CREATED_AT_DESC', - ClaimsStddevPopulationCreatedBlockIdAsc = 'CLAIMS_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - ClaimsStddevPopulationCreatedBlockIdDesc = 'CLAIMS_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - ClaimsStddevPopulationCustomClaimTypeIdAsc = 'CLAIMS_STDDEV_POPULATION_CUSTOM_CLAIM_TYPE_ID_ASC', - ClaimsStddevPopulationCustomClaimTypeIdDesc = 'CLAIMS_STDDEV_POPULATION_CUSTOM_CLAIM_TYPE_ID_DESC', - ClaimsStddevPopulationEventIdxAsc = 'CLAIMS_STDDEV_POPULATION_EVENT_IDX_ASC', - ClaimsStddevPopulationEventIdxDesc = 'CLAIMS_STDDEV_POPULATION_EVENT_IDX_DESC', - ClaimsStddevPopulationExpiryAsc = 'CLAIMS_STDDEV_POPULATION_EXPIRY_ASC', - ClaimsStddevPopulationExpiryDesc = 'CLAIMS_STDDEV_POPULATION_EXPIRY_DESC', - ClaimsStddevPopulationFilterExpiryAsc = 'CLAIMS_STDDEV_POPULATION_FILTER_EXPIRY_ASC', - ClaimsStddevPopulationFilterExpiryDesc = 'CLAIMS_STDDEV_POPULATION_FILTER_EXPIRY_DESC', - ClaimsStddevPopulationIdAsc = 'CLAIMS_STDDEV_POPULATION_ID_ASC', - ClaimsStddevPopulationIdDesc = 'CLAIMS_STDDEV_POPULATION_ID_DESC', - ClaimsStddevPopulationIssuanceDateAsc = 'CLAIMS_STDDEV_POPULATION_ISSUANCE_DATE_ASC', - ClaimsStddevPopulationIssuanceDateDesc = 'CLAIMS_STDDEV_POPULATION_ISSUANCE_DATE_DESC', - ClaimsStddevPopulationIssuerIdAsc = 'CLAIMS_STDDEV_POPULATION_ISSUER_ID_ASC', - ClaimsStddevPopulationIssuerIdDesc = 'CLAIMS_STDDEV_POPULATION_ISSUER_ID_DESC', - ClaimsStddevPopulationJurisdictionAsc = 'CLAIMS_STDDEV_POPULATION_JURISDICTION_ASC', - ClaimsStddevPopulationJurisdictionDesc = 'CLAIMS_STDDEV_POPULATION_JURISDICTION_DESC', - ClaimsStddevPopulationLastUpdateDateAsc = 'CLAIMS_STDDEV_POPULATION_LAST_UPDATE_DATE_ASC', - ClaimsStddevPopulationLastUpdateDateDesc = 'CLAIMS_STDDEV_POPULATION_LAST_UPDATE_DATE_DESC', - ClaimsStddevPopulationRevokeDateAsc = 'CLAIMS_STDDEV_POPULATION_REVOKE_DATE_ASC', - ClaimsStddevPopulationRevokeDateDesc = 'CLAIMS_STDDEV_POPULATION_REVOKE_DATE_DESC', - ClaimsStddevPopulationScopeAsc = 'CLAIMS_STDDEV_POPULATION_SCOPE_ASC', - ClaimsStddevPopulationScopeDesc = 'CLAIMS_STDDEV_POPULATION_SCOPE_DESC', - ClaimsStddevPopulationTargetIdAsc = 'CLAIMS_STDDEV_POPULATION_TARGET_ID_ASC', - ClaimsStddevPopulationTargetIdDesc = 'CLAIMS_STDDEV_POPULATION_TARGET_ID_DESC', - ClaimsStddevPopulationTypeAsc = 'CLAIMS_STDDEV_POPULATION_TYPE_ASC', - ClaimsStddevPopulationTypeDesc = 'CLAIMS_STDDEV_POPULATION_TYPE_DESC', - ClaimsStddevPopulationUpdatedAtAsc = 'CLAIMS_STDDEV_POPULATION_UPDATED_AT_ASC', - ClaimsStddevPopulationUpdatedAtDesc = 'CLAIMS_STDDEV_POPULATION_UPDATED_AT_DESC', - ClaimsStddevPopulationUpdatedBlockIdAsc = 'CLAIMS_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - ClaimsStddevPopulationUpdatedBlockIdDesc = 'CLAIMS_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - ClaimsStddevSampleCddIdAsc = 'CLAIMS_STDDEV_SAMPLE_CDD_ID_ASC', - ClaimsStddevSampleCddIdDesc = 'CLAIMS_STDDEV_SAMPLE_CDD_ID_DESC', - ClaimsStddevSampleCreatedAtAsc = 'CLAIMS_STDDEV_SAMPLE_CREATED_AT_ASC', - ClaimsStddevSampleCreatedAtDesc = 'CLAIMS_STDDEV_SAMPLE_CREATED_AT_DESC', - ClaimsStddevSampleCreatedBlockIdAsc = 'CLAIMS_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - ClaimsStddevSampleCreatedBlockIdDesc = 'CLAIMS_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - ClaimsStddevSampleCustomClaimTypeIdAsc = 'CLAIMS_STDDEV_SAMPLE_CUSTOM_CLAIM_TYPE_ID_ASC', - ClaimsStddevSampleCustomClaimTypeIdDesc = 'CLAIMS_STDDEV_SAMPLE_CUSTOM_CLAIM_TYPE_ID_DESC', - ClaimsStddevSampleEventIdxAsc = 'CLAIMS_STDDEV_SAMPLE_EVENT_IDX_ASC', - ClaimsStddevSampleEventIdxDesc = 'CLAIMS_STDDEV_SAMPLE_EVENT_IDX_DESC', - ClaimsStddevSampleExpiryAsc = 'CLAIMS_STDDEV_SAMPLE_EXPIRY_ASC', - ClaimsStddevSampleExpiryDesc = 'CLAIMS_STDDEV_SAMPLE_EXPIRY_DESC', - ClaimsStddevSampleFilterExpiryAsc = 'CLAIMS_STDDEV_SAMPLE_FILTER_EXPIRY_ASC', - ClaimsStddevSampleFilterExpiryDesc = 'CLAIMS_STDDEV_SAMPLE_FILTER_EXPIRY_DESC', - ClaimsStddevSampleIdAsc = 'CLAIMS_STDDEV_SAMPLE_ID_ASC', - ClaimsStddevSampleIdDesc = 'CLAIMS_STDDEV_SAMPLE_ID_DESC', - ClaimsStddevSampleIssuanceDateAsc = 'CLAIMS_STDDEV_SAMPLE_ISSUANCE_DATE_ASC', - ClaimsStddevSampleIssuanceDateDesc = 'CLAIMS_STDDEV_SAMPLE_ISSUANCE_DATE_DESC', - ClaimsStddevSampleIssuerIdAsc = 'CLAIMS_STDDEV_SAMPLE_ISSUER_ID_ASC', - ClaimsStddevSampleIssuerIdDesc = 'CLAIMS_STDDEV_SAMPLE_ISSUER_ID_DESC', - ClaimsStddevSampleJurisdictionAsc = 'CLAIMS_STDDEV_SAMPLE_JURISDICTION_ASC', - ClaimsStddevSampleJurisdictionDesc = 'CLAIMS_STDDEV_SAMPLE_JURISDICTION_DESC', - ClaimsStddevSampleLastUpdateDateAsc = 'CLAIMS_STDDEV_SAMPLE_LAST_UPDATE_DATE_ASC', - ClaimsStddevSampleLastUpdateDateDesc = 'CLAIMS_STDDEV_SAMPLE_LAST_UPDATE_DATE_DESC', - ClaimsStddevSampleRevokeDateAsc = 'CLAIMS_STDDEV_SAMPLE_REVOKE_DATE_ASC', - ClaimsStddevSampleRevokeDateDesc = 'CLAIMS_STDDEV_SAMPLE_REVOKE_DATE_DESC', - ClaimsStddevSampleScopeAsc = 'CLAIMS_STDDEV_SAMPLE_SCOPE_ASC', - ClaimsStddevSampleScopeDesc = 'CLAIMS_STDDEV_SAMPLE_SCOPE_DESC', - ClaimsStddevSampleTargetIdAsc = 'CLAIMS_STDDEV_SAMPLE_TARGET_ID_ASC', - ClaimsStddevSampleTargetIdDesc = 'CLAIMS_STDDEV_SAMPLE_TARGET_ID_DESC', - ClaimsStddevSampleTypeAsc = 'CLAIMS_STDDEV_SAMPLE_TYPE_ASC', - ClaimsStddevSampleTypeDesc = 'CLAIMS_STDDEV_SAMPLE_TYPE_DESC', - ClaimsStddevSampleUpdatedAtAsc = 'CLAIMS_STDDEV_SAMPLE_UPDATED_AT_ASC', - ClaimsStddevSampleUpdatedAtDesc = 'CLAIMS_STDDEV_SAMPLE_UPDATED_AT_DESC', - ClaimsStddevSampleUpdatedBlockIdAsc = 'CLAIMS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - ClaimsStddevSampleUpdatedBlockIdDesc = 'CLAIMS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - ClaimsSumCddIdAsc = 'CLAIMS_SUM_CDD_ID_ASC', - ClaimsSumCddIdDesc = 'CLAIMS_SUM_CDD_ID_DESC', - ClaimsSumCreatedAtAsc = 'CLAIMS_SUM_CREATED_AT_ASC', - ClaimsSumCreatedAtDesc = 'CLAIMS_SUM_CREATED_AT_DESC', - ClaimsSumCreatedBlockIdAsc = 'CLAIMS_SUM_CREATED_BLOCK_ID_ASC', - ClaimsSumCreatedBlockIdDesc = 'CLAIMS_SUM_CREATED_BLOCK_ID_DESC', - ClaimsSumCustomClaimTypeIdAsc = 'CLAIMS_SUM_CUSTOM_CLAIM_TYPE_ID_ASC', - ClaimsSumCustomClaimTypeIdDesc = 'CLAIMS_SUM_CUSTOM_CLAIM_TYPE_ID_DESC', - ClaimsSumEventIdxAsc = 'CLAIMS_SUM_EVENT_IDX_ASC', - ClaimsSumEventIdxDesc = 'CLAIMS_SUM_EVENT_IDX_DESC', - ClaimsSumExpiryAsc = 'CLAIMS_SUM_EXPIRY_ASC', - ClaimsSumExpiryDesc = 'CLAIMS_SUM_EXPIRY_DESC', - ClaimsSumFilterExpiryAsc = 'CLAIMS_SUM_FILTER_EXPIRY_ASC', - ClaimsSumFilterExpiryDesc = 'CLAIMS_SUM_FILTER_EXPIRY_DESC', - ClaimsSumIdAsc = 'CLAIMS_SUM_ID_ASC', - ClaimsSumIdDesc = 'CLAIMS_SUM_ID_DESC', - ClaimsSumIssuanceDateAsc = 'CLAIMS_SUM_ISSUANCE_DATE_ASC', - ClaimsSumIssuanceDateDesc = 'CLAIMS_SUM_ISSUANCE_DATE_DESC', - ClaimsSumIssuerIdAsc = 'CLAIMS_SUM_ISSUER_ID_ASC', - ClaimsSumIssuerIdDesc = 'CLAIMS_SUM_ISSUER_ID_DESC', - ClaimsSumJurisdictionAsc = 'CLAIMS_SUM_JURISDICTION_ASC', - ClaimsSumJurisdictionDesc = 'CLAIMS_SUM_JURISDICTION_DESC', - ClaimsSumLastUpdateDateAsc = 'CLAIMS_SUM_LAST_UPDATE_DATE_ASC', - ClaimsSumLastUpdateDateDesc = 'CLAIMS_SUM_LAST_UPDATE_DATE_DESC', - ClaimsSumRevokeDateAsc = 'CLAIMS_SUM_REVOKE_DATE_ASC', - ClaimsSumRevokeDateDesc = 'CLAIMS_SUM_REVOKE_DATE_DESC', - ClaimsSumScopeAsc = 'CLAIMS_SUM_SCOPE_ASC', - ClaimsSumScopeDesc = 'CLAIMS_SUM_SCOPE_DESC', - ClaimsSumTargetIdAsc = 'CLAIMS_SUM_TARGET_ID_ASC', - ClaimsSumTargetIdDesc = 'CLAIMS_SUM_TARGET_ID_DESC', - ClaimsSumTypeAsc = 'CLAIMS_SUM_TYPE_ASC', - ClaimsSumTypeDesc = 'CLAIMS_SUM_TYPE_DESC', - ClaimsSumUpdatedAtAsc = 'CLAIMS_SUM_UPDATED_AT_ASC', - ClaimsSumUpdatedAtDesc = 'CLAIMS_SUM_UPDATED_AT_DESC', - ClaimsSumUpdatedBlockIdAsc = 'CLAIMS_SUM_UPDATED_BLOCK_ID_ASC', - ClaimsSumUpdatedBlockIdDesc = 'CLAIMS_SUM_UPDATED_BLOCK_ID_DESC', - ClaimsVariancePopulationCddIdAsc = 'CLAIMS_VARIANCE_POPULATION_CDD_ID_ASC', - ClaimsVariancePopulationCddIdDesc = 'CLAIMS_VARIANCE_POPULATION_CDD_ID_DESC', - ClaimsVariancePopulationCreatedAtAsc = 'CLAIMS_VARIANCE_POPULATION_CREATED_AT_ASC', - ClaimsVariancePopulationCreatedAtDesc = 'CLAIMS_VARIANCE_POPULATION_CREATED_AT_DESC', - ClaimsVariancePopulationCreatedBlockIdAsc = 'CLAIMS_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - ClaimsVariancePopulationCreatedBlockIdDesc = 'CLAIMS_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - ClaimsVariancePopulationCustomClaimTypeIdAsc = 'CLAIMS_VARIANCE_POPULATION_CUSTOM_CLAIM_TYPE_ID_ASC', - ClaimsVariancePopulationCustomClaimTypeIdDesc = 'CLAIMS_VARIANCE_POPULATION_CUSTOM_CLAIM_TYPE_ID_DESC', - ClaimsVariancePopulationEventIdxAsc = 'CLAIMS_VARIANCE_POPULATION_EVENT_IDX_ASC', - ClaimsVariancePopulationEventIdxDesc = 'CLAIMS_VARIANCE_POPULATION_EVENT_IDX_DESC', - ClaimsVariancePopulationExpiryAsc = 'CLAIMS_VARIANCE_POPULATION_EXPIRY_ASC', - ClaimsVariancePopulationExpiryDesc = 'CLAIMS_VARIANCE_POPULATION_EXPIRY_DESC', - ClaimsVariancePopulationFilterExpiryAsc = 'CLAIMS_VARIANCE_POPULATION_FILTER_EXPIRY_ASC', - ClaimsVariancePopulationFilterExpiryDesc = 'CLAIMS_VARIANCE_POPULATION_FILTER_EXPIRY_DESC', - ClaimsVariancePopulationIdAsc = 'CLAIMS_VARIANCE_POPULATION_ID_ASC', - ClaimsVariancePopulationIdDesc = 'CLAIMS_VARIANCE_POPULATION_ID_DESC', - ClaimsVariancePopulationIssuanceDateAsc = 'CLAIMS_VARIANCE_POPULATION_ISSUANCE_DATE_ASC', - ClaimsVariancePopulationIssuanceDateDesc = 'CLAIMS_VARIANCE_POPULATION_ISSUANCE_DATE_DESC', - ClaimsVariancePopulationIssuerIdAsc = 'CLAIMS_VARIANCE_POPULATION_ISSUER_ID_ASC', - ClaimsVariancePopulationIssuerIdDesc = 'CLAIMS_VARIANCE_POPULATION_ISSUER_ID_DESC', - ClaimsVariancePopulationJurisdictionAsc = 'CLAIMS_VARIANCE_POPULATION_JURISDICTION_ASC', - ClaimsVariancePopulationJurisdictionDesc = 'CLAIMS_VARIANCE_POPULATION_JURISDICTION_DESC', - ClaimsVariancePopulationLastUpdateDateAsc = 'CLAIMS_VARIANCE_POPULATION_LAST_UPDATE_DATE_ASC', - ClaimsVariancePopulationLastUpdateDateDesc = 'CLAIMS_VARIANCE_POPULATION_LAST_UPDATE_DATE_DESC', - ClaimsVariancePopulationRevokeDateAsc = 'CLAIMS_VARIANCE_POPULATION_REVOKE_DATE_ASC', - ClaimsVariancePopulationRevokeDateDesc = 'CLAIMS_VARIANCE_POPULATION_REVOKE_DATE_DESC', - ClaimsVariancePopulationScopeAsc = 'CLAIMS_VARIANCE_POPULATION_SCOPE_ASC', - ClaimsVariancePopulationScopeDesc = 'CLAIMS_VARIANCE_POPULATION_SCOPE_DESC', - ClaimsVariancePopulationTargetIdAsc = 'CLAIMS_VARIANCE_POPULATION_TARGET_ID_ASC', - ClaimsVariancePopulationTargetIdDesc = 'CLAIMS_VARIANCE_POPULATION_TARGET_ID_DESC', - ClaimsVariancePopulationTypeAsc = 'CLAIMS_VARIANCE_POPULATION_TYPE_ASC', - ClaimsVariancePopulationTypeDesc = 'CLAIMS_VARIANCE_POPULATION_TYPE_DESC', - ClaimsVariancePopulationUpdatedAtAsc = 'CLAIMS_VARIANCE_POPULATION_UPDATED_AT_ASC', - ClaimsVariancePopulationUpdatedAtDesc = 'CLAIMS_VARIANCE_POPULATION_UPDATED_AT_DESC', - ClaimsVariancePopulationUpdatedBlockIdAsc = 'CLAIMS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - ClaimsVariancePopulationUpdatedBlockIdDesc = 'CLAIMS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - ClaimsVarianceSampleCddIdAsc = 'CLAIMS_VARIANCE_SAMPLE_CDD_ID_ASC', - ClaimsVarianceSampleCddIdDesc = 'CLAIMS_VARIANCE_SAMPLE_CDD_ID_DESC', - ClaimsVarianceSampleCreatedAtAsc = 'CLAIMS_VARIANCE_SAMPLE_CREATED_AT_ASC', - ClaimsVarianceSampleCreatedAtDesc = 'CLAIMS_VARIANCE_SAMPLE_CREATED_AT_DESC', - ClaimsVarianceSampleCreatedBlockIdAsc = 'CLAIMS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - ClaimsVarianceSampleCreatedBlockIdDesc = 'CLAIMS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - ClaimsVarianceSampleCustomClaimTypeIdAsc = 'CLAIMS_VARIANCE_SAMPLE_CUSTOM_CLAIM_TYPE_ID_ASC', - ClaimsVarianceSampleCustomClaimTypeIdDesc = 'CLAIMS_VARIANCE_SAMPLE_CUSTOM_CLAIM_TYPE_ID_DESC', - ClaimsVarianceSampleEventIdxAsc = 'CLAIMS_VARIANCE_SAMPLE_EVENT_IDX_ASC', - ClaimsVarianceSampleEventIdxDesc = 'CLAIMS_VARIANCE_SAMPLE_EVENT_IDX_DESC', - ClaimsVarianceSampleExpiryAsc = 'CLAIMS_VARIANCE_SAMPLE_EXPIRY_ASC', - ClaimsVarianceSampleExpiryDesc = 'CLAIMS_VARIANCE_SAMPLE_EXPIRY_DESC', - ClaimsVarianceSampleFilterExpiryAsc = 'CLAIMS_VARIANCE_SAMPLE_FILTER_EXPIRY_ASC', - ClaimsVarianceSampleFilterExpiryDesc = 'CLAIMS_VARIANCE_SAMPLE_FILTER_EXPIRY_DESC', - ClaimsVarianceSampleIdAsc = 'CLAIMS_VARIANCE_SAMPLE_ID_ASC', - ClaimsVarianceSampleIdDesc = 'CLAIMS_VARIANCE_SAMPLE_ID_DESC', - ClaimsVarianceSampleIssuanceDateAsc = 'CLAIMS_VARIANCE_SAMPLE_ISSUANCE_DATE_ASC', - ClaimsVarianceSampleIssuanceDateDesc = 'CLAIMS_VARIANCE_SAMPLE_ISSUANCE_DATE_DESC', - ClaimsVarianceSampleIssuerIdAsc = 'CLAIMS_VARIANCE_SAMPLE_ISSUER_ID_ASC', - ClaimsVarianceSampleIssuerIdDesc = 'CLAIMS_VARIANCE_SAMPLE_ISSUER_ID_DESC', - ClaimsVarianceSampleJurisdictionAsc = 'CLAIMS_VARIANCE_SAMPLE_JURISDICTION_ASC', - ClaimsVarianceSampleJurisdictionDesc = 'CLAIMS_VARIANCE_SAMPLE_JURISDICTION_DESC', - ClaimsVarianceSampleLastUpdateDateAsc = 'CLAIMS_VARIANCE_SAMPLE_LAST_UPDATE_DATE_ASC', - ClaimsVarianceSampleLastUpdateDateDesc = 'CLAIMS_VARIANCE_SAMPLE_LAST_UPDATE_DATE_DESC', - ClaimsVarianceSampleRevokeDateAsc = 'CLAIMS_VARIANCE_SAMPLE_REVOKE_DATE_ASC', - ClaimsVarianceSampleRevokeDateDesc = 'CLAIMS_VARIANCE_SAMPLE_REVOKE_DATE_DESC', - ClaimsVarianceSampleScopeAsc = 'CLAIMS_VARIANCE_SAMPLE_SCOPE_ASC', - ClaimsVarianceSampleScopeDesc = 'CLAIMS_VARIANCE_SAMPLE_SCOPE_DESC', - ClaimsVarianceSampleTargetIdAsc = 'CLAIMS_VARIANCE_SAMPLE_TARGET_ID_ASC', - ClaimsVarianceSampleTargetIdDesc = 'CLAIMS_VARIANCE_SAMPLE_TARGET_ID_DESC', - ClaimsVarianceSampleTypeAsc = 'CLAIMS_VARIANCE_SAMPLE_TYPE_ASC', - ClaimsVarianceSampleTypeDesc = 'CLAIMS_VARIANCE_SAMPLE_TYPE_DESC', - ClaimsVarianceSampleUpdatedAtAsc = 'CLAIMS_VARIANCE_SAMPLE_UPDATED_AT_ASC', - ClaimsVarianceSampleUpdatedAtDesc = 'CLAIMS_VARIANCE_SAMPLE_UPDATED_AT_DESC', - ClaimsVarianceSampleUpdatedBlockIdAsc = 'CLAIMS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - ClaimsVarianceSampleUpdatedBlockIdDesc = 'CLAIMS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - CreatedAtAsc = 'CREATED_AT_ASC', - CreatedAtDesc = 'CREATED_AT_DESC', - CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', - CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', - IdentityIdAsc = 'IDENTITY_ID_ASC', - IdentityIdDesc = 'IDENTITY_ID_DESC', - IdAsc = 'ID_ASC', - IdDesc = 'ID_DESC', - NameAsc = 'NAME_ASC', - NameDesc = 'NAME_DESC', - Natural = 'NATURAL', - PrimaryKeyAsc = 'PRIMARY_KEY_ASC', - PrimaryKeyDesc = 'PRIMARY_KEY_DESC', - UpdatedAtAsc = 'UPDATED_AT_ASC', - UpdatedAtDesc = 'UPDATED_AT_DESC', - UpdatedBlockIdAsc = 'UPDATED_BLOCK_ID_ASC', - UpdatedBlockIdDesc = 'UPDATED_BLOCK_ID_DESC', -} - -/** A filter to be used against Datetime fields. All fields are combined with a logical ‘and.’ */ -export type DatetimeFilter = { - /** Not equal to the specified value, treating null like an ordinary value. */ - distinctFrom?: InputMaybe; - /** Equal to the specified value. */ - equalTo?: InputMaybe; - /** Greater than the specified value. */ - greaterThan?: InputMaybe; - /** Greater than or equal to the specified value. */ - greaterThanOrEqualTo?: InputMaybe; - /** Included in the specified list. */ - in?: InputMaybe>; - /** Is null (if `true` is specified) or is not null (if `false` is specified). */ - isNull?: InputMaybe; - /** Less than the specified value. */ - lessThan?: InputMaybe; - /** Less than or equal to the specified value. */ - lessThanOrEqualTo?: InputMaybe; - /** Equal to the specified value, treating null like an ordinary value. */ - notDistinctFrom?: InputMaybe; - /** Not equal to the specified value. */ - notEqualTo?: InputMaybe; - /** Not included in the specified list. */ - notIn?: InputMaybe>; -}; - -export type Debug = Node & { - __typename?: 'Debug'; - context?: Maybe; - createdAt: Scalars['Datetime']['output']; - id: Scalars['String']['output']; - line?: Maybe; - /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ - nodeId: Scalars['ID']['output']; - updatedAt: Scalars['Datetime']['output']; -}; - -export type DebugAggregates = { - __typename?: 'DebugAggregates'; - /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ - distinctCount?: Maybe; - keys?: Maybe>; -}; - -export type DebugDistinctCountAggregates = { - __typename?: 'DebugDistinctCountAggregates'; - /** Distinct count of context across the matching connection */ - context?: Maybe; - /** Distinct count of createdAt across the matching connection */ - createdAt?: Maybe; - /** Distinct count of id across the matching connection */ - id?: Maybe; - /** Distinct count of line across the matching connection */ - line?: Maybe; - /** Distinct count of updatedAt across the matching connection */ - updatedAt?: Maybe; -}; - -/** A filter to be used against `Debug` object types. All fields are combined with a logical ‘and.’ */ -export type DebugFilter = { - /** Checks for all expressions in this list. */ - and?: InputMaybe>; - /** Filter by the object’s `context` field. */ - context?: InputMaybe; - /** Filter by the object’s `createdAt` field. */ - createdAt?: InputMaybe; - /** Filter by the object’s `id` field. */ - id?: InputMaybe; - /** Filter by the object’s `line` field. */ - line?: InputMaybe; - /** Negates the expression. */ - not?: InputMaybe; - /** Checks for any expressions in this list. */ - or?: InputMaybe>; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: InputMaybe; -}; - -/** A connection to a list of `Debug` values. */ -export type DebugsConnection = { - __typename?: 'DebugsConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Debug` and cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Debug` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Debug` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Debug` values. */ -export type DebugsConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `Debug` edge in the connection. */ -export type DebugsEdge = { - __typename?: 'DebugsEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Debug` at the end of the edge. */ - node?: Maybe; -}; - -/** Grouping methods for `Debug` for usage during aggregation. */ -export enum DebugsGroupBy { - Context = 'CONTEXT', - CreatedAt = 'CREATED_AT', - CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', - CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', - Line = 'LINE', - UpdatedAt = 'UPDATED_AT', - UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', - UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', -} - -export type DebugsHavingAverageInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type DebugsHavingDistinctCountInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Conditions for `Debug` aggregates. */ -export type DebugsHavingInput = { - AND?: InputMaybe>; - OR?: InputMaybe>; - average?: InputMaybe; - distinctCount?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddevPopulation?: InputMaybe; - stddevSample?: InputMaybe; - sum?: InputMaybe; - variancePopulation?: InputMaybe; - varianceSample?: InputMaybe; -}; - -export type DebugsHavingMaxInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type DebugsHavingMinInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type DebugsHavingStddevPopulationInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type DebugsHavingStddevSampleInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type DebugsHavingSumInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type DebugsHavingVariancePopulationInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type DebugsHavingVarianceSampleInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Methods to use when ordering `Debug`. */ -export enum DebugsOrderBy { - ContextAsc = 'CONTEXT_ASC', - ContextDesc = 'CONTEXT_DESC', - CreatedAtAsc = 'CREATED_AT_ASC', - CreatedAtDesc = 'CREATED_AT_DESC', - IdAsc = 'ID_ASC', - IdDesc = 'ID_DESC', - LineAsc = 'LINE_ASC', - LineDesc = 'LINE_DESC', - Natural = 'NATURAL', - PrimaryKeyAsc = 'PRIMARY_KEY_ASC', - PrimaryKeyDesc = 'PRIMARY_KEY_DESC', - UpdatedAtAsc = 'UPDATED_AT_ASC', - UpdatedAtDesc = 'UPDATED_AT_DESC', -} - -/** Represents a distribution to the owners of an Asset. e.g. dividend payment */ -export type Distribution = Node & { - __typename?: 'Distribution'; - amount: Scalars['BigFloat']['output']; - /** Reads a single `Asset` that is related to this `Distribution`. */ - asset?: Maybe; - assetId: Scalars['String']['output']; - /** Reads and enables pagination through a set of `Block`. */ - blocksByDistributionPaymentDistributionIdAndCreatedBlockId: DistributionBlocksByDistributionPaymentDistributionIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByDistributionPaymentDistributionIdAndUpdatedBlockId: DistributionBlocksByDistributionPaymentDistributionIdAndUpdatedBlockIdManyToManyConnection; - createdAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `Distribution`. */ - createdBlock?: Maybe; - createdBlockId: Scalars['String']['output']; - currency: Scalars['String']['output']; - /** Reads and enables pagination through a set of `DistributionPayment`. */ - distributionPayments: DistributionPaymentsConnection; - expiresAt?: Maybe; - id: Scalars['String']['output']; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByDistributionPaymentDistributionIdAndTargetId: DistributionIdentitiesByDistributionPaymentDistributionIdAndTargetIdManyToManyConnection; - /** Reads a single `Identity` that is related to this `Distribution`. */ - identity?: Maybe; - identityId: Scalars['String']['output']; - localId: Scalars['Int']['output']; - /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ - nodeId: Scalars['ID']['output']; - paymentAt: Scalars['BigFloat']['output']; - perShare: Scalars['BigFloat']['output']; - /** Reads a single `Portfolio` that is related to this `Distribution`. */ - portfolio?: Maybe; - portfolioId: Scalars['String']['output']; - remaining: Scalars['BigFloat']['output']; - taxes: Scalars['BigFloat']['output']; - updatedAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `Distribution`. */ - updatedBlock?: Maybe; - updatedBlockId: Scalars['String']['output']; -}; - -/** Represents a distribution to the owners of an Asset. e.g. dividend payment */ -export type DistributionBlocksByDistributionPaymentDistributionIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a distribution to the owners of an Asset. e.g. dividend payment */ -export type DistributionBlocksByDistributionPaymentDistributionIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a distribution to the owners of an Asset. e.g. dividend payment */ -export type DistributionDistributionPaymentsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a distribution to the owners of an Asset. e.g. dividend payment */ -export type DistributionIdentitiesByDistributionPaymentDistributionIdAndTargetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -export type DistributionAggregates = { - __typename?: 'DistributionAggregates'; - /** Mean average aggregates across the matching connection (ignoring before/after/first/last/offset) */ - average?: Maybe; - /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ - distinctCount?: Maybe; - keys?: Maybe>; - /** Maximum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - max?: Maybe; - /** Minimum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - min?: Maybe; - /** Population standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevPopulation?: Maybe; - /** Sample standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevSample?: Maybe; - /** Sum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - sum?: Maybe; - /** Population variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - variancePopulation?: Maybe; - /** Sample variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - varianceSample?: Maybe; -}; - -/** A filter to be used against aggregates of `Distribution` object types. */ -export type DistributionAggregatesFilter = { - /** Mean average aggregate over matching `Distribution` objects. */ - average?: InputMaybe; - /** Distinct count aggregate over matching `Distribution` objects. */ - distinctCount?: InputMaybe; - /** A filter that must pass for the relevant `Distribution` object to be included within the aggregate. */ - filter?: InputMaybe; - /** Maximum aggregate over matching `Distribution` objects. */ - max?: InputMaybe; - /** Minimum aggregate over matching `Distribution` objects. */ - min?: InputMaybe; - /** Population standard deviation aggregate over matching `Distribution` objects. */ - stddevPopulation?: InputMaybe; - /** Sample standard deviation aggregate over matching `Distribution` objects. */ - stddevSample?: InputMaybe; - /** Sum aggregate over matching `Distribution` objects. */ - sum?: InputMaybe; - /** Population variance aggregate over matching `Distribution` objects. */ - variancePopulation?: InputMaybe; - /** Sample variance aggregate over matching `Distribution` objects. */ - varianceSample?: InputMaybe; -}; - -export type DistributionAverageAggregateFilter = { - amount?: InputMaybe; - expiresAt?: InputMaybe; - localId?: InputMaybe; - paymentAt?: InputMaybe; - perShare?: InputMaybe; - remaining?: InputMaybe; - taxes?: InputMaybe; -}; - -export type DistributionAverageAggregates = { - __typename?: 'DistributionAverageAggregates'; - /** Mean average of amount across the matching connection */ - amount?: Maybe; - /** Mean average of expiresAt across the matching connection */ - expiresAt?: Maybe; - /** Mean average of localId across the matching connection */ - localId?: Maybe; - /** Mean average of paymentAt across the matching connection */ - paymentAt?: Maybe; - /** Mean average of perShare across the matching connection */ - perShare?: Maybe; - /** Mean average of remaining across the matching connection */ - remaining?: Maybe; - /** Mean average of taxes across the matching connection */ - taxes?: Maybe; -}; - -/** A connection to a list of `Block` values, with data from `DistributionPayment`. */ -export type DistributionBlocksByDistributionPaymentDistributionIdAndCreatedBlockIdManyToManyConnection = - { - __typename?: 'DistributionBlocksByDistributionPaymentDistributionIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `DistributionPayment`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Block` values, with data from `DistributionPayment`. */ -export type DistributionBlocksByDistributionPaymentDistributionIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `DistributionPayment`. */ -export type DistributionBlocksByDistributionPaymentDistributionIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'DistributionBlocksByDistributionPaymentDistributionIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `DistributionPayment`. */ - distributionPaymentsByCreatedBlockId: DistributionPaymentsConnection; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `DistributionPayment`. */ -export type DistributionBlocksByDistributionPaymentDistributionIdAndCreatedBlockIdManyToManyEdgeDistributionPaymentsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `DistributionPayment`. */ -export type DistributionBlocksByDistributionPaymentDistributionIdAndUpdatedBlockIdManyToManyConnection = - { - __typename?: 'DistributionBlocksByDistributionPaymentDistributionIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `DistributionPayment`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Block` values, with data from `DistributionPayment`. */ -export type DistributionBlocksByDistributionPaymentDistributionIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `DistributionPayment`. */ -export type DistributionBlocksByDistributionPaymentDistributionIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'DistributionBlocksByDistributionPaymentDistributionIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `DistributionPayment`. */ - distributionPaymentsByUpdatedBlockId: DistributionPaymentsConnection; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `DistributionPayment`. */ -export type DistributionBlocksByDistributionPaymentDistributionIdAndUpdatedBlockIdManyToManyEdgeDistributionPaymentsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -export type DistributionDistinctCountAggregateFilter = { - amount?: InputMaybe; - assetId?: InputMaybe; - createdAt?: InputMaybe; - createdBlockId?: InputMaybe; - currency?: InputMaybe; - expiresAt?: InputMaybe; - id?: InputMaybe; - identityId?: InputMaybe; - localId?: InputMaybe; - paymentAt?: InputMaybe; - perShare?: InputMaybe; - portfolioId?: InputMaybe; - remaining?: InputMaybe; - taxes?: InputMaybe; - updatedAt?: InputMaybe; - updatedBlockId?: InputMaybe; -}; - -export type DistributionDistinctCountAggregates = { - __typename?: 'DistributionDistinctCountAggregates'; - /** Distinct count of amount across the matching connection */ - amount?: Maybe; - /** Distinct count of assetId across the matching connection */ - assetId?: Maybe; - /** Distinct count of createdAt across the matching connection */ - createdAt?: Maybe; - /** Distinct count of createdBlockId across the matching connection */ - createdBlockId?: Maybe; - /** Distinct count of currency across the matching connection */ - currency?: Maybe; - /** Distinct count of expiresAt across the matching connection */ - expiresAt?: Maybe; - /** Distinct count of id across the matching connection */ - id?: Maybe; - /** Distinct count of identityId across the matching connection */ - identityId?: Maybe; - /** Distinct count of localId across the matching connection */ - localId?: Maybe; - /** Distinct count of paymentAt across the matching connection */ - paymentAt?: Maybe; - /** Distinct count of perShare across the matching connection */ - perShare?: Maybe; - /** Distinct count of portfolioId across the matching connection */ - portfolioId?: Maybe; - /** Distinct count of remaining across the matching connection */ - remaining?: Maybe; - /** Distinct count of taxes across the matching connection */ - taxes?: Maybe; - /** Distinct count of updatedAt across the matching connection */ - updatedAt?: Maybe; - /** Distinct count of updatedBlockId across the matching connection */ - updatedBlockId?: Maybe; -}; - -/** A filter to be used against `Distribution` object types. All fields are combined with a logical ‘and.’ */ -export type DistributionFilter = { - /** Filter by the object’s `amount` field. */ - amount?: InputMaybe; - /** Checks for all expressions in this list. */ - and?: InputMaybe>; - /** Filter by the object’s `asset` relation. */ - asset?: InputMaybe; - /** Filter by the object’s `assetId` field. */ - assetId?: InputMaybe; - /** Filter by the object’s `createdAt` field. */ - createdAt?: InputMaybe; - /** Filter by the object’s `createdBlock` relation. */ - createdBlock?: InputMaybe; - /** Filter by the object’s `createdBlockId` field. */ - createdBlockId?: InputMaybe; - /** Filter by the object’s `currency` field. */ - currency?: InputMaybe; - /** Filter by the object’s `distributionPayments` relation. */ - distributionPayments?: InputMaybe; - /** Some related `distributionPayments` exist. */ - distributionPaymentsExist?: InputMaybe; - /** Filter by the object’s `expiresAt` field. */ - expiresAt?: InputMaybe; - /** Filter by the object’s `id` field. */ - id?: InputMaybe; - /** Filter by the object’s `identity` relation. */ - identity?: InputMaybe; - /** Filter by the object’s `identityId` field. */ - identityId?: InputMaybe; - /** Filter by the object’s `localId` field. */ - localId?: InputMaybe; - /** Negates the expression. */ - not?: InputMaybe; - /** Checks for any expressions in this list. */ - or?: InputMaybe>; - /** Filter by the object’s `paymentAt` field. */ - paymentAt?: InputMaybe; - /** Filter by the object’s `perShare` field. */ - perShare?: InputMaybe; - /** Filter by the object’s `portfolio` relation. */ - portfolio?: InputMaybe; - /** Filter by the object’s `portfolioId` field. */ - portfolioId?: InputMaybe; - /** Filter by the object’s `remaining` field. */ - remaining?: InputMaybe; - /** Filter by the object’s `taxes` field. */ - taxes?: InputMaybe; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: InputMaybe; - /** Filter by the object’s `updatedBlock` relation. */ - updatedBlock?: InputMaybe; - /** Filter by the object’s `updatedBlockId` field. */ - updatedBlockId?: InputMaybe; -}; - -/** A connection to a list of `Identity` values, with data from `DistributionPayment`. */ -export type DistributionIdentitiesByDistributionPaymentDistributionIdAndTargetIdManyToManyConnection = - { - __typename?: 'DistributionIdentitiesByDistributionPaymentDistributionIdAndTargetIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `DistributionPayment`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Identity` values, with data from `DistributionPayment`. */ -export type DistributionIdentitiesByDistributionPaymentDistributionIdAndTargetIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `DistributionPayment`. */ -export type DistributionIdentitiesByDistributionPaymentDistributionIdAndTargetIdManyToManyEdge = { - __typename?: 'DistributionIdentitiesByDistributionPaymentDistributionIdAndTargetIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `DistributionPayment`. */ - distributionPaymentsByTargetId: DistributionPaymentsConnection; - /** The `Identity` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Identity` edge in the connection, with data from `DistributionPayment`. */ -export type DistributionIdentitiesByDistributionPaymentDistributionIdAndTargetIdManyToManyEdgeDistributionPaymentsByTargetIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -export type DistributionMaxAggregateFilter = { - amount?: InputMaybe; - expiresAt?: InputMaybe; - localId?: InputMaybe; - paymentAt?: InputMaybe; - perShare?: InputMaybe; - remaining?: InputMaybe; - taxes?: InputMaybe; -}; - -export type DistributionMaxAggregates = { - __typename?: 'DistributionMaxAggregates'; - /** Maximum of amount across the matching connection */ - amount?: Maybe; - /** Maximum of expiresAt across the matching connection */ - expiresAt?: Maybe; - /** Maximum of localId across the matching connection */ - localId?: Maybe; - /** Maximum of paymentAt across the matching connection */ - paymentAt?: Maybe; - /** Maximum of perShare across the matching connection */ - perShare?: Maybe; - /** Maximum of remaining across the matching connection */ - remaining?: Maybe; - /** Maximum of taxes across the matching connection */ - taxes?: Maybe; -}; - -export type DistributionMinAggregateFilter = { - amount?: InputMaybe; - expiresAt?: InputMaybe; - localId?: InputMaybe; - paymentAt?: InputMaybe; - perShare?: InputMaybe; - remaining?: InputMaybe; - taxes?: InputMaybe; -}; - -export type DistributionMinAggregates = { - __typename?: 'DistributionMinAggregates'; - /** Minimum of amount across the matching connection */ - amount?: Maybe; - /** Minimum of expiresAt across the matching connection */ - expiresAt?: Maybe; - /** Minimum of localId across the matching connection */ - localId?: Maybe; - /** Minimum of paymentAt across the matching connection */ - paymentAt?: Maybe; - /** Minimum of perShare across the matching connection */ - perShare?: Maybe; - /** Minimum of remaining across the matching connection */ - remaining?: Maybe; - /** Minimum of taxes across the matching connection */ - taxes?: Maybe; -}; - -/** Represents an owner of an asset collecting a distribution e.g. accepting a dividend */ -export type DistributionPayment = Node & { - __typename?: 'DistributionPayment'; - amount: Scalars['BigFloat']['output']; - amountAfterTax: Scalars['BigFloat']['output']; - createdAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `DistributionPayment`. */ - createdBlock?: Maybe; - createdBlockId: Scalars['String']['output']; - datetime: Scalars['Datetime']['output']; - /** Reads a single `Distribution` that is related to this `DistributionPayment`. */ - distribution?: Maybe; - distributionId: Scalars['String']['output']; - eventId: EventIdEnum; - id: Scalars['String']['output']; - /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ - nodeId: Scalars['ID']['output']; - reclaimed: Scalars['Boolean']['output']; - /** Reads a single `Identity` that is related to this `DistributionPayment`. */ - target?: Maybe; - targetId: Scalars['String']['output']; - tax: Scalars['BigFloat']['output']; - updatedAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `DistributionPayment`. */ - updatedBlock?: Maybe; - updatedBlockId: Scalars['String']['output']; -}; - -export type DistributionPaymentAggregates = { - __typename?: 'DistributionPaymentAggregates'; - /** Mean average aggregates across the matching connection (ignoring before/after/first/last/offset) */ - average?: Maybe; - /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ - distinctCount?: Maybe; - keys?: Maybe>; - /** Maximum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - max?: Maybe; - /** Minimum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - min?: Maybe; - /** Population standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevPopulation?: Maybe; - /** Sample standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevSample?: Maybe; - /** Sum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - sum?: Maybe; - /** Population variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - variancePopulation?: Maybe; - /** Sample variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - varianceSample?: Maybe; -}; - -/** A filter to be used against aggregates of `DistributionPayment` object types. */ -export type DistributionPaymentAggregatesFilter = { - /** Mean average aggregate over matching `DistributionPayment` objects. */ - average?: InputMaybe; - /** Distinct count aggregate over matching `DistributionPayment` objects. */ - distinctCount?: InputMaybe; - /** A filter that must pass for the relevant `DistributionPayment` object to be included within the aggregate. */ - filter?: InputMaybe; - /** Maximum aggregate over matching `DistributionPayment` objects. */ - max?: InputMaybe; - /** Minimum aggregate over matching `DistributionPayment` objects. */ - min?: InputMaybe; - /** Population standard deviation aggregate over matching `DistributionPayment` objects. */ - stddevPopulation?: InputMaybe; - /** Sample standard deviation aggregate over matching `DistributionPayment` objects. */ - stddevSample?: InputMaybe; - /** Sum aggregate over matching `DistributionPayment` objects. */ - sum?: InputMaybe; - /** Population variance aggregate over matching `DistributionPayment` objects. */ - variancePopulation?: InputMaybe; - /** Sample variance aggregate over matching `DistributionPayment` objects. */ - varianceSample?: InputMaybe; -}; - -export type DistributionPaymentAverageAggregateFilter = { - amount?: InputMaybe; - amountAfterTax?: InputMaybe; - tax?: InputMaybe; -}; - -export type DistributionPaymentAverageAggregates = { - __typename?: 'DistributionPaymentAverageAggregates'; - /** Mean average of amount across the matching connection */ - amount?: Maybe; - /** Mean average of amountAfterTax across the matching connection */ - amountAfterTax?: Maybe; - /** Mean average of tax across the matching connection */ - tax?: Maybe; -}; - -export type DistributionPaymentDistinctCountAggregateFilter = { - amount?: InputMaybe; - amountAfterTax?: InputMaybe; - createdAt?: InputMaybe; - createdBlockId?: InputMaybe; - datetime?: InputMaybe; - distributionId?: InputMaybe; - eventId?: InputMaybe; - id?: InputMaybe; - reclaimed?: InputMaybe; - targetId?: InputMaybe; - tax?: InputMaybe; - updatedAt?: InputMaybe; - updatedBlockId?: InputMaybe; -}; - -export type DistributionPaymentDistinctCountAggregates = { - __typename?: 'DistributionPaymentDistinctCountAggregates'; - /** Distinct count of amount across the matching connection */ - amount?: Maybe; - /** Distinct count of amountAfterTax across the matching connection */ - amountAfterTax?: Maybe; - /** Distinct count of createdAt across the matching connection */ - createdAt?: Maybe; - /** Distinct count of createdBlockId across the matching connection */ - createdBlockId?: Maybe; - /** Distinct count of datetime across the matching connection */ - datetime?: Maybe; - /** Distinct count of distributionId across the matching connection */ - distributionId?: Maybe; - /** Distinct count of eventId across the matching connection */ - eventId?: Maybe; - /** Distinct count of id across the matching connection */ - id?: Maybe; - /** Distinct count of reclaimed across the matching connection */ - reclaimed?: Maybe; - /** Distinct count of targetId across the matching connection */ - targetId?: Maybe; - /** Distinct count of tax across the matching connection */ - tax?: Maybe; - /** Distinct count of updatedAt across the matching connection */ - updatedAt?: Maybe; - /** Distinct count of updatedBlockId across the matching connection */ - updatedBlockId?: Maybe; -}; - -/** A filter to be used against `DistributionPayment` object types. All fields are combined with a logical ‘and.’ */ -export type DistributionPaymentFilter = { - /** Filter by the object’s `amount` field. */ - amount?: InputMaybe; - /** Filter by the object’s `amountAfterTax` field. */ - amountAfterTax?: InputMaybe; - /** Checks for all expressions in this list. */ - and?: InputMaybe>; - /** Filter by the object’s `createdAt` field. */ - createdAt?: InputMaybe; - /** Filter by the object’s `createdBlock` relation. */ - createdBlock?: InputMaybe; - /** Filter by the object’s `createdBlockId` field. */ - createdBlockId?: InputMaybe; - /** Filter by the object’s `datetime` field. */ - datetime?: InputMaybe; - /** Filter by the object’s `distribution` relation. */ - distribution?: InputMaybe; - /** Filter by the object’s `distributionId` field. */ - distributionId?: InputMaybe; - /** Filter by the object’s `eventId` field. */ - eventId?: InputMaybe; - /** Filter by the object’s `id` field. */ - id?: InputMaybe; - /** Negates the expression. */ - not?: InputMaybe; - /** Checks for any expressions in this list. */ - or?: InputMaybe>; - /** Filter by the object’s `reclaimed` field. */ - reclaimed?: InputMaybe; - /** Filter by the object’s `target` relation. */ - target?: InputMaybe; - /** Filter by the object’s `targetId` field. */ - targetId?: InputMaybe; - /** Filter by the object’s `tax` field. */ - tax?: InputMaybe; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: InputMaybe; - /** Filter by the object’s `updatedBlock` relation. */ - updatedBlock?: InputMaybe; - /** Filter by the object’s `updatedBlockId` field. */ - updatedBlockId?: InputMaybe; -}; - -export type DistributionPaymentMaxAggregateFilter = { - amount?: InputMaybe; - amountAfterTax?: InputMaybe; - tax?: InputMaybe; -}; - -export type DistributionPaymentMaxAggregates = { - __typename?: 'DistributionPaymentMaxAggregates'; - /** Maximum of amount across the matching connection */ - amount?: Maybe; - /** Maximum of amountAfterTax across the matching connection */ - amountAfterTax?: Maybe; - /** Maximum of tax across the matching connection */ - tax?: Maybe; -}; - -export type DistributionPaymentMinAggregateFilter = { - amount?: InputMaybe; - amountAfterTax?: InputMaybe; - tax?: InputMaybe; -}; - -export type DistributionPaymentMinAggregates = { - __typename?: 'DistributionPaymentMinAggregates'; - /** Minimum of amount across the matching connection */ - amount?: Maybe; - /** Minimum of amountAfterTax across the matching connection */ - amountAfterTax?: Maybe; - /** Minimum of tax across the matching connection */ - tax?: Maybe; -}; - -export type DistributionPaymentStddevPopulationAggregateFilter = { - amount?: InputMaybe; - amountAfterTax?: InputMaybe; - tax?: InputMaybe; -}; - -export type DistributionPaymentStddevPopulationAggregates = { - __typename?: 'DistributionPaymentStddevPopulationAggregates'; - /** Population standard deviation of amount across the matching connection */ - amount?: Maybe; - /** Population standard deviation of amountAfterTax across the matching connection */ - amountAfterTax?: Maybe; - /** Population standard deviation of tax across the matching connection */ - tax?: Maybe; -}; - -export type DistributionPaymentStddevSampleAggregateFilter = { - amount?: InputMaybe; - amountAfterTax?: InputMaybe; - tax?: InputMaybe; -}; - -export type DistributionPaymentStddevSampleAggregates = { - __typename?: 'DistributionPaymentStddevSampleAggregates'; - /** Sample standard deviation of amount across the matching connection */ - amount?: Maybe; - /** Sample standard deviation of amountAfterTax across the matching connection */ - amountAfterTax?: Maybe; - /** Sample standard deviation of tax across the matching connection */ - tax?: Maybe; -}; - -export type DistributionPaymentSumAggregateFilter = { - amount?: InputMaybe; - amountAfterTax?: InputMaybe; - tax?: InputMaybe; -}; - -export type DistributionPaymentSumAggregates = { - __typename?: 'DistributionPaymentSumAggregates'; - /** Sum of amount across the matching connection */ - amount: Scalars['BigFloat']['output']; - /** Sum of amountAfterTax across the matching connection */ - amountAfterTax: Scalars['BigFloat']['output']; - /** Sum of tax across the matching connection */ - tax: Scalars['BigFloat']['output']; -}; - -export type DistributionPaymentVariancePopulationAggregateFilter = { - amount?: InputMaybe; - amountAfterTax?: InputMaybe; - tax?: InputMaybe; -}; - -export type DistributionPaymentVariancePopulationAggregates = { - __typename?: 'DistributionPaymentVariancePopulationAggregates'; - /** Population variance of amount across the matching connection */ - amount?: Maybe; - /** Population variance of amountAfterTax across the matching connection */ - amountAfterTax?: Maybe; - /** Population variance of tax across the matching connection */ - tax?: Maybe; -}; - -export type DistributionPaymentVarianceSampleAggregateFilter = { - amount?: InputMaybe; - amountAfterTax?: InputMaybe; - tax?: InputMaybe; -}; - -export type DistributionPaymentVarianceSampleAggregates = { - __typename?: 'DistributionPaymentVarianceSampleAggregates'; - /** Sample variance of amount across the matching connection */ - amount?: Maybe; - /** Sample variance of amountAfterTax across the matching connection */ - amountAfterTax?: Maybe; - /** Sample variance of tax across the matching connection */ - tax?: Maybe; -}; - -/** A connection to a list of `DistributionPayment` values. */ -export type DistributionPaymentsConnection = { - __typename?: 'DistributionPaymentsConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `DistributionPayment` and cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `DistributionPayment` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `DistributionPayment` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `DistributionPayment` values. */ -export type DistributionPaymentsConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `DistributionPayment` edge in the connection. */ -export type DistributionPaymentsEdge = { - __typename?: 'DistributionPaymentsEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `DistributionPayment` at the end of the edge. */ - node?: Maybe; -}; - -/** Grouping methods for `DistributionPayment` for usage during aggregation. */ -export enum DistributionPaymentsGroupBy { - Amount = 'AMOUNT', - AmountAfterTax = 'AMOUNT_AFTER_TAX', - CreatedAt = 'CREATED_AT', - CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', - CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', - CreatedBlockId = 'CREATED_BLOCK_ID', - Datetime = 'DATETIME', - DatetimeTruncatedToDay = 'DATETIME_TRUNCATED_TO_DAY', - DatetimeTruncatedToHour = 'DATETIME_TRUNCATED_TO_HOUR', - DistributionId = 'DISTRIBUTION_ID', - EventId = 'EVENT_ID', - Reclaimed = 'RECLAIMED', - TargetId = 'TARGET_ID', - Tax = 'TAX', - UpdatedAt = 'UPDATED_AT', - UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', - UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export type DistributionPaymentsHavingAverageInput = { - amount?: InputMaybe; - amountAfterTax?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - tax?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type DistributionPaymentsHavingDistinctCountInput = { - amount?: InputMaybe; - amountAfterTax?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - tax?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Conditions for `DistributionPayment` aggregates. */ -export type DistributionPaymentsHavingInput = { - AND?: InputMaybe>; - OR?: InputMaybe>; - average?: InputMaybe; - distinctCount?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddevPopulation?: InputMaybe; - stddevSample?: InputMaybe; - sum?: InputMaybe; - variancePopulation?: InputMaybe; - varianceSample?: InputMaybe; -}; - -export type DistributionPaymentsHavingMaxInput = { - amount?: InputMaybe; - amountAfterTax?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - tax?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type DistributionPaymentsHavingMinInput = { - amount?: InputMaybe; - amountAfterTax?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - tax?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type DistributionPaymentsHavingStddevPopulationInput = { - amount?: InputMaybe; - amountAfterTax?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - tax?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type DistributionPaymentsHavingStddevSampleInput = { - amount?: InputMaybe; - amountAfterTax?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - tax?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type DistributionPaymentsHavingSumInput = { - amount?: InputMaybe; - amountAfterTax?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - tax?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type DistributionPaymentsHavingVariancePopulationInput = { - amount?: InputMaybe; - amountAfterTax?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - tax?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type DistributionPaymentsHavingVarianceSampleInput = { - amount?: InputMaybe; - amountAfterTax?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - tax?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Methods to use when ordering `DistributionPayment`. */ -export enum DistributionPaymentsOrderBy { - AmountAfterTaxAsc = 'AMOUNT_AFTER_TAX_ASC', - AmountAfterTaxDesc = 'AMOUNT_AFTER_TAX_DESC', - AmountAsc = 'AMOUNT_ASC', - AmountDesc = 'AMOUNT_DESC', - CreatedAtAsc = 'CREATED_AT_ASC', - CreatedAtDesc = 'CREATED_AT_DESC', - CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', - CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', - DatetimeAsc = 'DATETIME_ASC', - DatetimeDesc = 'DATETIME_DESC', - DistributionIdAsc = 'DISTRIBUTION_ID_ASC', - DistributionIdDesc = 'DISTRIBUTION_ID_DESC', - EventIdAsc = 'EVENT_ID_ASC', - EventIdDesc = 'EVENT_ID_DESC', - IdAsc = 'ID_ASC', - IdDesc = 'ID_DESC', - Natural = 'NATURAL', - PrimaryKeyAsc = 'PRIMARY_KEY_ASC', - PrimaryKeyDesc = 'PRIMARY_KEY_DESC', - ReclaimedAsc = 'RECLAIMED_ASC', - ReclaimedDesc = 'RECLAIMED_DESC', - TargetIdAsc = 'TARGET_ID_ASC', - TargetIdDesc = 'TARGET_ID_DESC', - TaxAsc = 'TAX_ASC', - TaxDesc = 'TAX_DESC', - UpdatedAtAsc = 'UPDATED_AT_ASC', - UpdatedAtDesc = 'UPDATED_AT_DESC', - UpdatedBlockIdAsc = 'UPDATED_BLOCK_ID_ASC', - UpdatedBlockIdDesc = 'UPDATED_BLOCK_ID_DESC', -} - -export type DistributionStddevPopulationAggregateFilter = { - amount?: InputMaybe; - expiresAt?: InputMaybe; - localId?: InputMaybe; - paymentAt?: InputMaybe; - perShare?: InputMaybe; - remaining?: InputMaybe; - taxes?: InputMaybe; -}; - -export type DistributionStddevPopulationAggregates = { - __typename?: 'DistributionStddevPopulationAggregates'; - /** Population standard deviation of amount across the matching connection */ - amount?: Maybe; - /** Population standard deviation of expiresAt across the matching connection */ - expiresAt?: Maybe; - /** Population standard deviation of localId across the matching connection */ - localId?: Maybe; - /** Population standard deviation of paymentAt across the matching connection */ - paymentAt?: Maybe; - /** Population standard deviation of perShare across the matching connection */ - perShare?: Maybe; - /** Population standard deviation of remaining across the matching connection */ - remaining?: Maybe; - /** Population standard deviation of taxes across the matching connection */ - taxes?: Maybe; -}; - -export type DistributionStddevSampleAggregateFilter = { - amount?: InputMaybe; - expiresAt?: InputMaybe; - localId?: InputMaybe; - paymentAt?: InputMaybe; - perShare?: InputMaybe; - remaining?: InputMaybe; - taxes?: InputMaybe; -}; - -export type DistributionStddevSampleAggregates = { - __typename?: 'DistributionStddevSampleAggregates'; - /** Sample standard deviation of amount across the matching connection */ - amount?: Maybe; - /** Sample standard deviation of expiresAt across the matching connection */ - expiresAt?: Maybe; - /** Sample standard deviation of localId across the matching connection */ - localId?: Maybe; - /** Sample standard deviation of paymentAt across the matching connection */ - paymentAt?: Maybe; - /** Sample standard deviation of perShare across the matching connection */ - perShare?: Maybe; - /** Sample standard deviation of remaining across the matching connection */ - remaining?: Maybe; - /** Sample standard deviation of taxes across the matching connection */ - taxes?: Maybe; -}; - -export type DistributionSumAggregateFilter = { - amount?: InputMaybe; - expiresAt?: InputMaybe; - localId?: InputMaybe; - paymentAt?: InputMaybe; - perShare?: InputMaybe; - remaining?: InputMaybe; - taxes?: InputMaybe; -}; - -export type DistributionSumAggregates = { - __typename?: 'DistributionSumAggregates'; - /** Sum of amount across the matching connection */ - amount: Scalars['BigFloat']['output']; - /** Sum of expiresAt across the matching connection */ - expiresAt: Scalars['BigFloat']['output']; - /** Sum of localId across the matching connection */ - localId: Scalars['BigInt']['output']; - /** Sum of paymentAt across the matching connection */ - paymentAt: Scalars['BigFloat']['output']; - /** Sum of perShare across the matching connection */ - perShare: Scalars['BigFloat']['output']; - /** Sum of remaining across the matching connection */ - remaining: Scalars['BigFloat']['output']; - /** Sum of taxes across the matching connection */ - taxes: Scalars['BigFloat']['output']; -}; - -/** A filter to be used against many `DistributionPayment` object types. All fields are combined with a logical ‘and.’ */ -export type DistributionToManyDistributionPaymentFilter = { - /** Aggregates across related `DistributionPayment` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `DistributionPayment` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `DistributionPayment` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `DistributionPayment` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -export type DistributionVariancePopulationAggregateFilter = { - amount?: InputMaybe; - expiresAt?: InputMaybe; - localId?: InputMaybe; - paymentAt?: InputMaybe; - perShare?: InputMaybe; - remaining?: InputMaybe; - taxes?: InputMaybe; -}; - -export type DistributionVariancePopulationAggregates = { - __typename?: 'DistributionVariancePopulationAggregates'; - /** Population variance of amount across the matching connection */ - amount?: Maybe; - /** Population variance of expiresAt across the matching connection */ - expiresAt?: Maybe; - /** Population variance of localId across the matching connection */ - localId?: Maybe; - /** Population variance of paymentAt across the matching connection */ - paymentAt?: Maybe; - /** Population variance of perShare across the matching connection */ - perShare?: Maybe; - /** Population variance of remaining across the matching connection */ - remaining?: Maybe; - /** Population variance of taxes across the matching connection */ - taxes?: Maybe; -}; - -export type DistributionVarianceSampleAggregateFilter = { - amount?: InputMaybe; - expiresAt?: InputMaybe; - localId?: InputMaybe; - paymentAt?: InputMaybe; - perShare?: InputMaybe; - remaining?: InputMaybe; - taxes?: InputMaybe; -}; - -export type DistributionVarianceSampleAggregates = { - __typename?: 'DistributionVarianceSampleAggregates'; - /** Sample variance of amount across the matching connection */ - amount?: Maybe; - /** Sample variance of expiresAt across the matching connection */ - expiresAt?: Maybe; - /** Sample variance of localId across the matching connection */ - localId?: Maybe; - /** Sample variance of paymentAt across the matching connection */ - paymentAt?: Maybe; - /** Sample variance of perShare across the matching connection */ - perShare?: Maybe; - /** Sample variance of remaining across the matching connection */ - remaining?: Maybe; - /** Sample variance of taxes across the matching connection */ - taxes?: Maybe; -}; - -/** A connection to a list of `Distribution` values. */ -export type DistributionsConnection = { - __typename?: 'DistributionsConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Distribution` and cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Distribution` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Distribution` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Distribution` values. */ -export type DistributionsConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `Distribution` edge in the connection. */ -export type DistributionsEdge = { - __typename?: 'DistributionsEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Distribution` at the end of the edge. */ - node?: Maybe; -}; - -/** Grouping methods for `Distribution` for usage during aggregation. */ -export enum DistributionsGroupBy { - Amount = 'AMOUNT', - AssetId = 'ASSET_ID', - CreatedAt = 'CREATED_AT', - CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', - CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', - CreatedBlockId = 'CREATED_BLOCK_ID', - Currency = 'CURRENCY', - ExpiresAt = 'EXPIRES_AT', - IdentityId = 'IDENTITY_ID', - LocalId = 'LOCAL_ID', - PaymentAt = 'PAYMENT_AT', - PerShare = 'PER_SHARE', - PortfolioId = 'PORTFOLIO_ID', - Remaining = 'REMAINING', - Taxes = 'TAXES', - UpdatedAt = 'UPDATED_AT', - UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', - UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export type DistributionsHavingAverageInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - expiresAt?: InputMaybe; - localId?: InputMaybe; - paymentAt?: InputMaybe; - perShare?: InputMaybe; - remaining?: InputMaybe; - taxes?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type DistributionsHavingDistinctCountInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - expiresAt?: InputMaybe; - localId?: InputMaybe; - paymentAt?: InputMaybe; - perShare?: InputMaybe; - remaining?: InputMaybe; - taxes?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Conditions for `Distribution` aggregates. */ -export type DistributionsHavingInput = { - AND?: InputMaybe>; - OR?: InputMaybe>; - average?: InputMaybe; - distinctCount?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddevPopulation?: InputMaybe; - stddevSample?: InputMaybe; - sum?: InputMaybe; - variancePopulation?: InputMaybe; - varianceSample?: InputMaybe; -}; - -export type DistributionsHavingMaxInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - expiresAt?: InputMaybe; - localId?: InputMaybe; - paymentAt?: InputMaybe; - perShare?: InputMaybe; - remaining?: InputMaybe; - taxes?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type DistributionsHavingMinInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - expiresAt?: InputMaybe; - localId?: InputMaybe; - paymentAt?: InputMaybe; - perShare?: InputMaybe; - remaining?: InputMaybe; - taxes?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type DistributionsHavingStddevPopulationInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - expiresAt?: InputMaybe; - localId?: InputMaybe; - paymentAt?: InputMaybe; - perShare?: InputMaybe; - remaining?: InputMaybe; - taxes?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type DistributionsHavingStddevSampleInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - expiresAt?: InputMaybe; - localId?: InputMaybe; - paymentAt?: InputMaybe; - perShare?: InputMaybe; - remaining?: InputMaybe; - taxes?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type DistributionsHavingSumInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - expiresAt?: InputMaybe; - localId?: InputMaybe; - paymentAt?: InputMaybe; - perShare?: InputMaybe; - remaining?: InputMaybe; - taxes?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type DistributionsHavingVariancePopulationInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - expiresAt?: InputMaybe; - localId?: InputMaybe; - paymentAt?: InputMaybe; - perShare?: InputMaybe; - remaining?: InputMaybe; - taxes?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type DistributionsHavingVarianceSampleInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - expiresAt?: InputMaybe; - localId?: InputMaybe; - paymentAt?: InputMaybe; - perShare?: InputMaybe; - remaining?: InputMaybe; - taxes?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Methods to use when ordering `Distribution`. */ -export enum DistributionsOrderBy { - AmountAsc = 'AMOUNT_ASC', - AmountDesc = 'AMOUNT_DESC', - AssetIdAsc = 'ASSET_ID_ASC', - AssetIdDesc = 'ASSET_ID_DESC', - CreatedAtAsc = 'CREATED_AT_ASC', - CreatedAtDesc = 'CREATED_AT_DESC', - CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', - CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', - CurrencyAsc = 'CURRENCY_ASC', - CurrencyDesc = 'CURRENCY_DESC', - DistributionPaymentsAverageAmountAfterTaxAsc = 'DISTRIBUTION_PAYMENTS_AVERAGE_AMOUNT_AFTER_TAX_ASC', - DistributionPaymentsAverageAmountAfterTaxDesc = 'DISTRIBUTION_PAYMENTS_AVERAGE_AMOUNT_AFTER_TAX_DESC', - DistributionPaymentsAverageAmountAsc = 'DISTRIBUTION_PAYMENTS_AVERAGE_AMOUNT_ASC', - DistributionPaymentsAverageAmountDesc = 'DISTRIBUTION_PAYMENTS_AVERAGE_AMOUNT_DESC', - DistributionPaymentsAverageCreatedAtAsc = 'DISTRIBUTION_PAYMENTS_AVERAGE_CREATED_AT_ASC', - DistributionPaymentsAverageCreatedAtDesc = 'DISTRIBUTION_PAYMENTS_AVERAGE_CREATED_AT_DESC', - DistributionPaymentsAverageCreatedBlockIdAsc = 'DISTRIBUTION_PAYMENTS_AVERAGE_CREATED_BLOCK_ID_ASC', - DistributionPaymentsAverageCreatedBlockIdDesc = 'DISTRIBUTION_PAYMENTS_AVERAGE_CREATED_BLOCK_ID_DESC', - DistributionPaymentsAverageDatetimeAsc = 'DISTRIBUTION_PAYMENTS_AVERAGE_DATETIME_ASC', - DistributionPaymentsAverageDatetimeDesc = 'DISTRIBUTION_PAYMENTS_AVERAGE_DATETIME_DESC', - DistributionPaymentsAverageDistributionIdAsc = 'DISTRIBUTION_PAYMENTS_AVERAGE_DISTRIBUTION_ID_ASC', - DistributionPaymentsAverageDistributionIdDesc = 'DISTRIBUTION_PAYMENTS_AVERAGE_DISTRIBUTION_ID_DESC', - DistributionPaymentsAverageEventIdAsc = 'DISTRIBUTION_PAYMENTS_AVERAGE_EVENT_ID_ASC', - DistributionPaymentsAverageEventIdDesc = 'DISTRIBUTION_PAYMENTS_AVERAGE_EVENT_ID_DESC', - DistributionPaymentsAverageIdAsc = 'DISTRIBUTION_PAYMENTS_AVERAGE_ID_ASC', - DistributionPaymentsAverageIdDesc = 'DISTRIBUTION_PAYMENTS_AVERAGE_ID_DESC', - DistributionPaymentsAverageReclaimedAsc = 'DISTRIBUTION_PAYMENTS_AVERAGE_RECLAIMED_ASC', - DistributionPaymentsAverageReclaimedDesc = 'DISTRIBUTION_PAYMENTS_AVERAGE_RECLAIMED_DESC', - DistributionPaymentsAverageTargetIdAsc = 'DISTRIBUTION_PAYMENTS_AVERAGE_TARGET_ID_ASC', - DistributionPaymentsAverageTargetIdDesc = 'DISTRIBUTION_PAYMENTS_AVERAGE_TARGET_ID_DESC', - DistributionPaymentsAverageTaxAsc = 'DISTRIBUTION_PAYMENTS_AVERAGE_TAX_ASC', - DistributionPaymentsAverageTaxDesc = 'DISTRIBUTION_PAYMENTS_AVERAGE_TAX_DESC', - DistributionPaymentsAverageUpdatedAtAsc = 'DISTRIBUTION_PAYMENTS_AVERAGE_UPDATED_AT_ASC', - DistributionPaymentsAverageUpdatedAtDesc = 'DISTRIBUTION_PAYMENTS_AVERAGE_UPDATED_AT_DESC', - DistributionPaymentsAverageUpdatedBlockIdAsc = 'DISTRIBUTION_PAYMENTS_AVERAGE_UPDATED_BLOCK_ID_ASC', - DistributionPaymentsAverageUpdatedBlockIdDesc = 'DISTRIBUTION_PAYMENTS_AVERAGE_UPDATED_BLOCK_ID_DESC', - DistributionPaymentsCountAsc = 'DISTRIBUTION_PAYMENTS_COUNT_ASC', - DistributionPaymentsCountDesc = 'DISTRIBUTION_PAYMENTS_COUNT_DESC', - DistributionPaymentsDistinctCountAmountAfterTaxAsc = 'DISTRIBUTION_PAYMENTS_DISTINCT_COUNT_AMOUNT_AFTER_TAX_ASC', - DistributionPaymentsDistinctCountAmountAfterTaxDesc = 'DISTRIBUTION_PAYMENTS_DISTINCT_COUNT_AMOUNT_AFTER_TAX_DESC', - DistributionPaymentsDistinctCountAmountAsc = 'DISTRIBUTION_PAYMENTS_DISTINCT_COUNT_AMOUNT_ASC', - DistributionPaymentsDistinctCountAmountDesc = 'DISTRIBUTION_PAYMENTS_DISTINCT_COUNT_AMOUNT_DESC', - DistributionPaymentsDistinctCountCreatedAtAsc = 'DISTRIBUTION_PAYMENTS_DISTINCT_COUNT_CREATED_AT_ASC', - DistributionPaymentsDistinctCountCreatedAtDesc = 'DISTRIBUTION_PAYMENTS_DISTINCT_COUNT_CREATED_AT_DESC', - DistributionPaymentsDistinctCountCreatedBlockIdAsc = 'DISTRIBUTION_PAYMENTS_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - DistributionPaymentsDistinctCountCreatedBlockIdDesc = 'DISTRIBUTION_PAYMENTS_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - DistributionPaymentsDistinctCountDatetimeAsc = 'DISTRIBUTION_PAYMENTS_DISTINCT_COUNT_DATETIME_ASC', - DistributionPaymentsDistinctCountDatetimeDesc = 'DISTRIBUTION_PAYMENTS_DISTINCT_COUNT_DATETIME_DESC', - DistributionPaymentsDistinctCountDistributionIdAsc = 'DISTRIBUTION_PAYMENTS_DISTINCT_COUNT_DISTRIBUTION_ID_ASC', - DistributionPaymentsDistinctCountDistributionIdDesc = 'DISTRIBUTION_PAYMENTS_DISTINCT_COUNT_DISTRIBUTION_ID_DESC', - DistributionPaymentsDistinctCountEventIdAsc = 'DISTRIBUTION_PAYMENTS_DISTINCT_COUNT_EVENT_ID_ASC', - DistributionPaymentsDistinctCountEventIdDesc = 'DISTRIBUTION_PAYMENTS_DISTINCT_COUNT_EVENT_ID_DESC', - DistributionPaymentsDistinctCountIdAsc = 'DISTRIBUTION_PAYMENTS_DISTINCT_COUNT_ID_ASC', - DistributionPaymentsDistinctCountIdDesc = 'DISTRIBUTION_PAYMENTS_DISTINCT_COUNT_ID_DESC', - DistributionPaymentsDistinctCountReclaimedAsc = 'DISTRIBUTION_PAYMENTS_DISTINCT_COUNT_RECLAIMED_ASC', - DistributionPaymentsDistinctCountReclaimedDesc = 'DISTRIBUTION_PAYMENTS_DISTINCT_COUNT_RECLAIMED_DESC', - DistributionPaymentsDistinctCountTargetIdAsc = 'DISTRIBUTION_PAYMENTS_DISTINCT_COUNT_TARGET_ID_ASC', - DistributionPaymentsDistinctCountTargetIdDesc = 'DISTRIBUTION_PAYMENTS_DISTINCT_COUNT_TARGET_ID_DESC', - DistributionPaymentsDistinctCountTaxAsc = 'DISTRIBUTION_PAYMENTS_DISTINCT_COUNT_TAX_ASC', - DistributionPaymentsDistinctCountTaxDesc = 'DISTRIBUTION_PAYMENTS_DISTINCT_COUNT_TAX_DESC', - DistributionPaymentsDistinctCountUpdatedAtAsc = 'DISTRIBUTION_PAYMENTS_DISTINCT_COUNT_UPDATED_AT_ASC', - DistributionPaymentsDistinctCountUpdatedAtDesc = 'DISTRIBUTION_PAYMENTS_DISTINCT_COUNT_UPDATED_AT_DESC', - DistributionPaymentsDistinctCountUpdatedBlockIdAsc = 'DISTRIBUTION_PAYMENTS_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - DistributionPaymentsDistinctCountUpdatedBlockIdDesc = 'DISTRIBUTION_PAYMENTS_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - DistributionPaymentsMaxAmountAfterTaxAsc = 'DISTRIBUTION_PAYMENTS_MAX_AMOUNT_AFTER_TAX_ASC', - DistributionPaymentsMaxAmountAfterTaxDesc = 'DISTRIBUTION_PAYMENTS_MAX_AMOUNT_AFTER_TAX_DESC', - DistributionPaymentsMaxAmountAsc = 'DISTRIBUTION_PAYMENTS_MAX_AMOUNT_ASC', - DistributionPaymentsMaxAmountDesc = 'DISTRIBUTION_PAYMENTS_MAX_AMOUNT_DESC', - DistributionPaymentsMaxCreatedAtAsc = 'DISTRIBUTION_PAYMENTS_MAX_CREATED_AT_ASC', - DistributionPaymentsMaxCreatedAtDesc = 'DISTRIBUTION_PAYMENTS_MAX_CREATED_AT_DESC', - DistributionPaymentsMaxCreatedBlockIdAsc = 'DISTRIBUTION_PAYMENTS_MAX_CREATED_BLOCK_ID_ASC', - DistributionPaymentsMaxCreatedBlockIdDesc = 'DISTRIBUTION_PAYMENTS_MAX_CREATED_BLOCK_ID_DESC', - DistributionPaymentsMaxDatetimeAsc = 'DISTRIBUTION_PAYMENTS_MAX_DATETIME_ASC', - DistributionPaymentsMaxDatetimeDesc = 'DISTRIBUTION_PAYMENTS_MAX_DATETIME_DESC', - DistributionPaymentsMaxDistributionIdAsc = 'DISTRIBUTION_PAYMENTS_MAX_DISTRIBUTION_ID_ASC', - DistributionPaymentsMaxDistributionIdDesc = 'DISTRIBUTION_PAYMENTS_MAX_DISTRIBUTION_ID_DESC', - DistributionPaymentsMaxEventIdAsc = 'DISTRIBUTION_PAYMENTS_MAX_EVENT_ID_ASC', - DistributionPaymentsMaxEventIdDesc = 'DISTRIBUTION_PAYMENTS_MAX_EVENT_ID_DESC', - DistributionPaymentsMaxIdAsc = 'DISTRIBUTION_PAYMENTS_MAX_ID_ASC', - DistributionPaymentsMaxIdDesc = 'DISTRIBUTION_PAYMENTS_MAX_ID_DESC', - DistributionPaymentsMaxReclaimedAsc = 'DISTRIBUTION_PAYMENTS_MAX_RECLAIMED_ASC', - DistributionPaymentsMaxReclaimedDesc = 'DISTRIBUTION_PAYMENTS_MAX_RECLAIMED_DESC', - DistributionPaymentsMaxTargetIdAsc = 'DISTRIBUTION_PAYMENTS_MAX_TARGET_ID_ASC', - DistributionPaymentsMaxTargetIdDesc = 'DISTRIBUTION_PAYMENTS_MAX_TARGET_ID_DESC', - DistributionPaymentsMaxTaxAsc = 'DISTRIBUTION_PAYMENTS_MAX_TAX_ASC', - DistributionPaymentsMaxTaxDesc = 'DISTRIBUTION_PAYMENTS_MAX_TAX_DESC', - DistributionPaymentsMaxUpdatedAtAsc = 'DISTRIBUTION_PAYMENTS_MAX_UPDATED_AT_ASC', - DistributionPaymentsMaxUpdatedAtDesc = 'DISTRIBUTION_PAYMENTS_MAX_UPDATED_AT_DESC', - DistributionPaymentsMaxUpdatedBlockIdAsc = 'DISTRIBUTION_PAYMENTS_MAX_UPDATED_BLOCK_ID_ASC', - DistributionPaymentsMaxUpdatedBlockIdDesc = 'DISTRIBUTION_PAYMENTS_MAX_UPDATED_BLOCK_ID_DESC', - DistributionPaymentsMinAmountAfterTaxAsc = 'DISTRIBUTION_PAYMENTS_MIN_AMOUNT_AFTER_TAX_ASC', - DistributionPaymentsMinAmountAfterTaxDesc = 'DISTRIBUTION_PAYMENTS_MIN_AMOUNT_AFTER_TAX_DESC', - DistributionPaymentsMinAmountAsc = 'DISTRIBUTION_PAYMENTS_MIN_AMOUNT_ASC', - DistributionPaymentsMinAmountDesc = 'DISTRIBUTION_PAYMENTS_MIN_AMOUNT_DESC', - DistributionPaymentsMinCreatedAtAsc = 'DISTRIBUTION_PAYMENTS_MIN_CREATED_AT_ASC', - DistributionPaymentsMinCreatedAtDesc = 'DISTRIBUTION_PAYMENTS_MIN_CREATED_AT_DESC', - DistributionPaymentsMinCreatedBlockIdAsc = 'DISTRIBUTION_PAYMENTS_MIN_CREATED_BLOCK_ID_ASC', - DistributionPaymentsMinCreatedBlockIdDesc = 'DISTRIBUTION_PAYMENTS_MIN_CREATED_BLOCK_ID_DESC', - DistributionPaymentsMinDatetimeAsc = 'DISTRIBUTION_PAYMENTS_MIN_DATETIME_ASC', - DistributionPaymentsMinDatetimeDesc = 'DISTRIBUTION_PAYMENTS_MIN_DATETIME_DESC', - DistributionPaymentsMinDistributionIdAsc = 'DISTRIBUTION_PAYMENTS_MIN_DISTRIBUTION_ID_ASC', - DistributionPaymentsMinDistributionIdDesc = 'DISTRIBUTION_PAYMENTS_MIN_DISTRIBUTION_ID_DESC', - DistributionPaymentsMinEventIdAsc = 'DISTRIBUTION_PAYMENTS_MIN_EVENT_ID_ASC', - DistributionPaymentsMinEventIdDesc = 'DISTRIBUTION_PAYMENTS_MIN_EVENT_ID_DESC', - DistributionPaymentsMinIdAsc = 'DISTRIBUTION_PAYMENTS_MIN_ID_ASC', - DistributionPaymentsMinIdDesc = 'DISTRIBUTION_PAYMENTS_MIN_ID_DESC', - DistributionPaymentsMinReclaimedAsc = 'DISTRIBUTION_PAYMENTS_MIN_RECLAIMED_ASC', - DistributionPaymentsMinReclaimedDesc = 'DISTRIBUTION_PAYMENTS_MIN_RECLAIMED_DESC', - DistributionPaymentsMinTargetIdAsc = 'DISTRIBUTION_PAYMENTS_MIN_TARGET_ID_ASC', - DistributionPaymentsMinTargetIdDesc = 'DISTRIBUTION_PAYMENTS_MIN_TARGET_ID_DESC', - DistributionPaymentsMinTaxAsc = 'DISTRIBUTION_PAYMENTS_MIN_TAX_ASC', - DistributionPaymentsMinTaxDesc = 'DISTRIBUTION_PAYMENTS_MIN_TAX_DESC', - DistributionPaymentsMinUpdatedAtAsc = 'DISTRIBUTION_PAYMENTS_MIN_UPDATED_AT_ASC', - DistributionPaymentsMinUpdatedAtDesc = 'DISTRIBUTION_PAYMENTS_MIN_UPDATED_AT_DESC', - DistributionPaymentsMinUpdatedBlockIdAsc = 'DISTRIBUTION_PAYMENTS_MIN_UPDATED_BLOCK_ID_ASC', - DistributionPaymentsMinUpdatedBlockIdDesc = 'DISTRIBUTION_PAYMENTS_MIN_UPDATED_BLOCK_ID_DESC', - DistributionPaymentsStddevPopulationAmountAfterTaxAsc = 'DISTRIBUTION_PAYMENTS_STDDEV_POPULATION_AMOUNT_AFTER_TAX_ASC', - DistributionPaymentsStddevPopulationAmountAfterTaxDesc = 'DISTRIBUTION_PAYMENTS_STDDEV_POPULATION_AMOUNT_AFTER_TAX_DESC', - DistributionPaymentsStddevPopulationAmountAsc = 'DISTRIBUTION_PAYMENTS_STDDEV_POPULATION_AMOUNT_ASC', - DistributionPaymentsStddevPopulationAmountDesc = 'DISTRIBUTION_PAYMENTS_STDDEV_POPULATION_AMOUNT_DESC', - DistributionPaymentsStddevPopulationCreatedAtAsc = 'DISTRIBUTION_PAYMENTS_STDDEV_POPULATION_CREATED_AT_ASC', - DistributionPaymentsStddevPopulationCreatedAtDesc = 'DISTRIBUTION_PAYMENTS_STDDEV_POPULATION_CREATED_AT_DESC', - DistributionPaymentsStddevPopulationCreatedBlockIdAsc = 'DISTRIBUTION_PAYMENTS_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - DistributionPaymentsStddevPopulationCreatedBlockIdDesc = 'DISTRIBUTION_PAYMENTS_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - DistributionPaymentsStddevPopulationDatetimeAsc = 'DISTRIBUTION_PAYMENTS_STDDEV_POPULATION_DATETIME_ASC', - DistributionPaymentsStddevPopulationDatetimeDesc = 'DISTRIBUTION_PAYMENTS_STDDEV_POPULATION_DATETIME_DESC', - DistributionPaymentsStddevPopulationDistributionIdAsc = 'DISTRIBUTION_PAYMENTS_STDDEV_POPULATION_DISTRIBUTION_ID_ASC', - DistributionPaymentsStddevPopulationDistributionIdDesc = 'DISTRIBUTION_PAYMENTS_STDDEV_POPULATION_DISTRIBUTION_ID_DESC', - DistributionPaymentsStddevPopulationEventIdAsc = 'DISTRIBUTION_PAYMENTS_STDDEV_POPULATION_EVENT_ID_ASC', - DistributionPaymentsStddevPopulationEventIdDesc = 'DISTRIBUTION_PAYMENTS_STDDEV_POPULATION_EVENT_ID_DESC', - DistributionPaymentsStddevPopulationIdAsc = 'DISTRIBUTION_PAYMENTS_STDDEV_POPULATION_ID_ASC', - DistributionPaymentsStddevPopulationIdDesc = 'DISTRIBUTION_PAYMENTS_STDDEV_POPULATION_ID_DESC', - DistributionPaymentsStddevPopulationReclaimedAsc = 'DISTRIBUTION_PAYMENTS_STDDEV_POPULATION_RECLAIMED_ASC', - DistributionPaymentsStddevPopulationReclaimedDesc = 'DISTRIBUTION_PAYMENTS_STDDEV_POPULATION_RECLAIMED_DESC', - DistributionPaymentsStddevPopulationTargetIdAsc = 'DISTRIBUTION_PAYMENTS_STDDEV_POPULATION_TARGET_ID_ASC', - DistributionPaymentsStddevPopulationTargetIdDesc = 'DISTRIBUTION_PAYMENTS_STDDEV_POPULATION_TARGET_ID_DESC', - DistributionPaymentsStddevPopulationTaxAsc = 'DISTRIBUTION_PAYMENTS_STDDEV_POPULATION_TAX_ASC', - DistributionPaymentsStddevPopulationTaxDesc = 'DISTRIBUTION_PAYMENTS_STDDEV_POPULATION_TAX_DESC', - DistributionPaymentsStddevPopulationUpdatedAtAsc = 'DISTRIBUTION_PAYMENTS_STDDEV_POPULATION_UPDATED_AT_ASC', - DistributionPaymentsStddevPopulationUpdatedAtDesc = 'DISTRIBUTION_PAYMENTS_STDDEV_POPULATION_UPDATED_AT_DESC', - DistributionPaymentsStddevPopulationUpdatedBlockIdAsc = 'DISTRIBUTION_PAYMENTS_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - DistributionPaymentsStddevPopulationUpdatedBlockIdDesc = 'DISTRIBUTION_PAYMENTS_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - DistributionPaymentsStddevSampleAmountAfterTaxAsc = 'DISTRIBUTION_PAYMENTS_STDDEV_SAMPLE_AMOUNT_AFTER_TAX_ASC', - DistributionPaymentsStddevSampleAmountAfterTaxDesc = 'DISTRIBUTION_PAYMENTS_STDDEV_SAMPLE_AMOUNT_AFTER_TAX_DESC', - DistributionPaymentsStddevSampleAmountAsc = 'DISTRIBUTION_PAYMENTS_STDDEV_SAMPLE_AMOUNT_ASC', - DistributionPaymentsStddevSampleAmountDesc = 'DISTRIBUTION_PAYMENTS_STDDEV_SAMPLE_AMOUNT_DESC', - DistributionPaymentsStddevSampleCreatedAtAsc = 'DISTRIBUTION_PAYMENTS_STDDEV_SAMPLE_CREATED_AT_ASC', - DistributionPaymentsStddevSampleCreatedAtDesc = 'DISTRIBUTION_PAYMENTS_STDDEV_SAMPLE_CREATED_AT_DESC', - DistributionPaymentsStddevSampleCreatedBlockIdAsc = 'DISTRIBUTION_PAYMENTS_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - DistributionPaymentsStddevSampleCreatedBlockIdDesc = 'DISTRIBUTION_PAYMENTS_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - DistributionPaymentsStddevSampleDatetimeAsc = 'DISTRIBUTION_PAYMENTS_STDDEV_SAMPLE_DATETIME_ASC', - DistributionPaymentsStddevSampleDatetimeDesc = 'DISTRIBUTION_PAYMENTS_STDDEV_SAMPLE_DATETIME_DESC', - DistributionPaymentsStddevSampleDistributionIdAsc = 'DISTRIBUTION_PAYMENTS_STDDEV_SAMPLE_DISTRIBUTION_ID_ASC', - DistributionPaymentsStddevSampleDistributionIdDesc = 'DISTRIBUTION_PAYMENTS_STDDEV_SAMPLE_DISTRIBUTION_ID_DESC', - DistributionPaymentsStddevSampleEventIdAsc = 'DISTRIBUTION_PAYMENTS_STDDEV_SAMPLE_EVENT_ID_ASC', - DistributionPaymentsStddevSampleEventIdDesc = 'DISTRIBUTION_PAYMENTS_STDDEV_SAMPLE_EVENT_ID_DESC', - DistributionPaymentsStddevSampleIdAsc = 'DISTRIBUTION_PAYMENTS_STDDEV_SAMPLE_ID_ASC', - DistributionPaymentsStddevSampleIdDesc = 'DISTRIBUTION_PAYMENTS_STDDEV_SAMPLE_ID_DESC', - DistributionPaymentsStddevSampleReclaimedAsc = 'DISTRIBUTION_PAYMENTS_STDDEV_SAMPLE_RECLAIMED_ASC', - DistributionPaymentsStddevSampleReclaimedDesc = 'DISTRIBUTION_PAYMENTS_STDDEV_SAMPLE_RECLAIMED_DESC', - DistributionPaymentsStddevSampleTargetIdAsc = 'DISTRIBUTION_PAYMENTS_STDDEV_SAMPLE_TARGET_ID_ASC', - DistributionPaymentsStddevSampleTargetIdDesc = 'DISTRIBUTION_PAYMENTS_STDDEV_SAMPLE_TARGET_ID_DESC', - DistributionPaymentsStddevSampleTaxAsc = 'DISTRIBUTION_PAYMENTS_STDDEV_SAMPLE_TAX_ASC', - DistributionPaymentsStddevSampleTaxDesc = 'DISTRIBUTION_PAYMENTS_STDDEV_SAMPLE_TAX_DESC', - DistributionPaymentsStddevSampleUpdatedAtAsc = 'DISTRIBUTION_PAYMENTS_STDDEV_SAMPLE_UPDATED_AT_ASC', - DistributionPaymentsStddevSampleUpdatedAtDesc = 'DISTRIBUTION_PAYMENTS_STDDEV_SAMPLE_UPDATED_AT_DESC', - DistributionPaymentsStddevSampleUpdatedBlockIdAsc = 'DISTRIBUTION_PAYMENTS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - DistributionPaymentsStddevSampleUpdatedBlockIdDesc = 'DISTRIBUTION_PAYMENTS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - DistributionPaymentsSumAmountAfterTaxAsc = 'DISTRIBUTION_PAYMENTS_SUM_AMOUNT_AFTER_TAX_ASC', - DistributionPaymentsSumAmountAfterTaxDesc = 'DISTRIBUTION_PAYMENTS_SUM_AMOUNT_AFTER_TAX_DESC', - DistributionPaymentsSumAmountAsc = 'DISTRIBUTION_PAYMENTS_SUM_AMOUNT_ASC', - DistributionPaymentsSumAmountDesc = 'DISTRIBUTION_PAYMENTS_SUM_AMOUNT_DESC', - DistributionPaymentsSumCreatedAtAsc = 'DISTRIBUTION_PAYMENTS_SUM_CREATED_AT_ASC', - DistributionPaymentsSumCreatedAtDesc = 'DISTRIBUTION_PAYMENTS_SUM_CREATED_AT_DESC', - DistributionPaymentsSumCreatedBlockIdAsc = 'DISTRIBUTION_PAYMENTS_SUM_CREATED_BLOCK_ID_ASC', - DistributionPaymentsSumCreatedBlockIdDesc = 'DISTRIBUTION_PAYMENTS_SUM_CREATED_BLOCK_ID_DESC', - DistributionPaymentsSumDatetimeAsc = 'DISTRIBUTION_PAYMENTS_SUM_DATETIME_ASC', - DistributionPaymentsSumDatetimeDesc = 'DISTRIBUTION_PAYMENTS_SUM_DATETIME_DESC', - DistributionPaymentsSumDistributionIdAsc = 'DISTRIBUTION_PAYMENTS_SUM_DISTRIBUTION_ID_ASC', - DistributionPaymentsSumDistributionIdDesc = 'DISTRIBUTION_PAYMENTS_SUM_DISTRIBUTION_ID_DESC', - DistributionPaymentsSumEventIdAsc = 'DISTRIBUTION_PAYMENTS_SUM_EVENT_ID_ASC', - DistributionPaymentsSumEventIdDesc = 'DISTRIBUTION_PAYMENTS_SUM_EVENT_ID_DESC', - DistributionPaymentsSumIdAsc = 'DISTRIBUTION_PAYMENTS_SUM_ID_ASC', - DistributionPaymentsSumIdDesc = 'DISTRIBUTION_PAYMENTS_SUM_ID_DESC', - DistributionPaymentsSumReclaimedAsc = 'DISTRIBUTION_PAYMENTS_SUM_RECLAIMED_ASC', - DistributionPaymentsSumReclaimedDesc = 'DISTRIBUTION_PAYMENTS_SUM_RECLAIMED_DESC', - DistributionPaymentsSumTargetIdAsc = 'DISTRIBUTION_PAYMENTS_SUM_TARGET_ID_ASC', - DistributionPaymentsSumTargetIdDesc = 'DISTRIBUTION_PAYMENTS_SUM_TARGET_ID_DESC', - DistributionPaymentsSumTaxAsc = 'DISTRIBUTION_PAYMENTS_SUM_TAX_ASC', - DistributionPaymentsSumTaxDesc = 'DISTRIBUTION_PAYMENTS_SUM_TAX_DESC', - DistributionPaymentsSumUpdatedAtAsc = 'DISTRIBUTION_PAYMENTS_SUM_UPDATED_AT_ASC', - DistributionPaymentsSumUpdatedAtDesc = 'DISTRIBUTION_PAYMENTS_SUM_UPDATED_AT_DESC', - DistributionPaymentsSumUpdatedBlockIdAsc = 'DISTRIBUTION_PAYMENTS_SUM_UPDATED_BLOCK_ID_ASC', - DistributionPaymentsSumUpdatedBlockIdDesc = 'DISTRIBUTION_PAYMENTS_SUM_UPDATED_BLOCK_ID_DESC', - DistributionPaymentsVariancePopulationAmountAfterTaxAsc = 'DISTRIBUTION_PAYMENTS_VARIANCE_POPULATION_AMOUNT_AFTER_TAX_ASC', - DistributionPaymentsVariancePopulationAmountAfterTaxDesc = 'DISTRIBUTION_PAYMENTS_VARIANCE_POPULATION_AMOUNT_AFTER_TAX_DESC', - DistributionPaymentsVariancePopulationAmountAsc = 'DISTRIBUTION_PAYMENTS_VARIANCE_POPULATION_AMOUNT_ASC', - DistributionPaymentsVariancePopulationAmountDesc = 'DISTRIBUTION_PAYMENTS_VARIANCE_POPULATION_AMOUNT_DESC', - DistributionPaymentsVariancePopulationCreatedAtAsc = 'DISTRIBUTION_PAYMENTS_VARIANCE_POPULATION_CREATED_AT_ASC', - DistributionPaymentsVariancePopulationCreatedAtDesc = 'DISTRIBUTION_PAYMENTS_VARIANCE_POPULATION_CREATED_AT_DESC', - DistributionPaymentsVariancePopulationCreatedBlockIdAsc = 'DISTRIBUTION_PAYMENTS_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - DistributionPaymentsVariancePopulationCreatedBlockIdDesc = 'DISTRIBUTION_PAYMENTS_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - DistributionPaymentsVariancePopulationDatetimeAsc = 'DISTRIBUTION_PAYMENTS_VARIANCE_POPULATION_DATETIME_ASC', - DistributionPaymentsVariancePopulationDatetimeDesc = 'DISTRIBUTION_PAYMENTS_VARIANCE_POPULATION_DATETIME_DESC', - DistributionPaymentsVariancePopulationDistributionIdAsc = 'DISTRIBUTION_PAYMENTS_VARIANCE_POPULATION_DISTRIBUTION_ID_ASC', - DistributionPaymentsVariancePopulationDistributionIdDesc = 'DISTRIBUTION_PAYMENTS_VARIANCE_POPULATION_DISTRIBUTION_ID_DESC', - DistributionPaymentsVariancePopulationEventIdAsc = 'DISTRIBUTION_PAYMENTS_VARIANCE_POPULATION_EVENT_ID_ASC', - DistributionPaymentsVariancePopulationEventIdDesc = 'DISTRIBUTION_PAYMENTS_VARIANCE_POPULATION_EVENT_ID_DESC', - DistributionPaymentsVariancePopulationIdAsc = 'DISTRIBUTION_PAYMENTS_VARIANCE_POPULATION_ID_ASC', - DistributionPaymentsVariancePopulationIdDesc = 'DISTRIBUTION_PAYMENTS_VARIANCE_POPULATION_ID_DESC', - DistributionPaymentsVariancePopulationReclaimedAsc = 'DISTRIBUTION_PAYMENTS_VARIANCE_POPULATION_RECLAIMED_ASC', - DistributionPaymentsVariancePopulationReclaimedDesc = 'DISTRIBUTION_PAYMENTS_VARIANCE_POPULATION_RECLAIMED_DESC', - DistributionPaymentsVariancePopulationTargetIdAsc = 'DISTRIBUTION_PAYMENTS_VARIANCE_POPULATION_TARGET_ID_ASC', - DistributionPaymentsVariancePopulationTargetIdDesc = 'DISTRIBUTION_PAYMENTS_VARIANCE_POPULATION_TARGET_ID_DESC', - DistributionPaymentsVariancePopulationTaxAsc = 'DISTRIBUTION_PAYMENTS_VARIANCE_POPULATION_TAX_ASC', - DistributionPaymentsVariancePopulationTaxDesc = 'DISTRIBUTION_PAYMENTS_VARIANCE_POPULATION_TAX_DESC', - DistributionPaymentsVariancePopulationUpdatedAtAsc = 'DISTRIBUTION_PAYMENTS_VARIANCE_POPULATION_UPDATED_AT_ASC', - DistributionPaymentsVariancePopulationUpdatedAtDesc = 'DISTRIBUTION_PAYMENTS_VARIANCE_POPULATION_UPDATED_AT_DESC', - DistributionPaymentsVariancePopulationUpdatedBlockIdAsc = 'DISTRIBUTION_PAYMENTS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - DistributionPaymentsVariancePopulationUpdatedBlockIdDesc = 'DISTRIBUTION_PAYMENTS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - DistributionPaymentsVarianceSampleAmountAfterTaxAsc = 'DISTRIBUTION_PAYMENTS_VARIANCE_SAMPLE_AMOUNT_AFTER_TAX_ASC', - DistributionPaymentsVarianceSampleAmountAfterTaxDesc = 'DISTRIBUTION_PAYMENTS_VARIANCE_SAMPLE_AMOUNT_AFTER_TAX_DESC', - DistributionPaymentsVarianceSampleAmountAsc = 'DISTRIBUTION_PAYMENTS_VARIANCE_SAMPLE_AMOUNT_ASC', - DistributionPaymentsVarianceSampleAmountDesc = 'DISTRIBUTION_PAYMENTS_VARIANCE_SAMPLE_AMOUNT_DESC', - DistributionPaymentsVarianceSampleCreatedAtAsc = 'DISTRIBUTION_PAYMENTS_VARIANCE_SAMPLE_CREATED_AT_ASC', - DistributionPaymentsVarianceSampleCreatedAtDesc = 'DISTRIBUTION_PAYMENTS_VARIANCE_SAMPLE_CREATED_AT_DESC', - DistributionPaymentsVarianceSampleCreatedBlockIdAsc = 'DISTRIBUTION_PAYMENTS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - DistributionPaymentsVarianceSampleCreatedBlockIdDesc = 'DISTRIBUTION_PAYMENTS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - DistributionPaymentsVarianceSampleDatetimeAsc = 'DISTRIBUTION_PAYMENTS_VARIANCE_SAMPLE_DATETIME_ASC', - DistributionPaymentsVarianceSampleDatetimeDesc = 'DISTRIBUTION_PAYMENTS_VARIANCE_SAMPLE_DATETIME_DESC', - DistributionPaymentsVarianceSampleDistributionIdAsc = 'DISTRIBUTION_PAYMENTS_VARIANCE_SAMPLE_DISTRIBUTION_ID_ASC', - DistributionPaymentsVarianceSampleDistributionIdDesc = 'DISTRIBUTION_PAYMENTS_VARIANCE_SAMPLE_DISTRIBUTION_ID_DESC', - DistributionPaymentsVarianceSampleEventIdAsc = 'DISTRIBUTION_PAYMENTS_VARIANCE_SAMPLE_EVENT_ID_ASC', - DistributionPaymentsVarianceSampleEventIdDesc = 'DISTRIBUTION_PAYMENTS_VARIANCE_SAMPLE_EVENT_ID_DESC', - DistributionPaymentsVarianceSampleIdAsc = 'DISTRIBUTION_PAYMENTS_VARIANCE_SAMPLE_ID_ASC', - DistributionPaymentsVarianceSampleIdDesc = 'DISTRIBUTION_PAYMENTS_VARIANCE_SAMPLE_ID_DESC', - DistributionPaymentsVarianceSampleReclaimedAsc = 'DISTRIBUTION_PAYMENTS_VARIANCE_SAMPLE_RECLAIMED_ASC', - DistributionPaymentsVarianceSampleReclaimedDesc = 'DISTRIBUTION_PAYMENTS_VARIANCE_SAMPLE_RECLAIMED_DESC', - DistributionPaymentsVarianceSampleTargetIdAsc = 'DISTRIBUTION_PAYMENTS_VARIANCE_SAMPLE_TARGET_ID_ASC', - DistributionPaymentsVarianceSampleTargetIdDesc = 'DISTRIBUTION_PAYMENTS_VARIANCE_SAMPLE_TARGET_ID_DESC', - DistributionPaymentsVarianceSampleTaxAsc = 'DISTRIBUTION_PAYMENTS_VARIANCE_SAMPLE_TAX_ASC', - DistributionPaymentsVarianceSampleTaxDesc = 'DISTRIBUTION_PAYMENTS_VARIANCE_SAMPLE_TAX_DESC', - DistributionPaymentsVarianceSampleUpdatedAtAsc = 'DISTRIBUTION_PAYMENTS_VARIANCE_SAMPLE_UPDATED_AT_ASC', - DistributionPaymentsVarianceSampleUpdatedAtDesc = 'DISTRIBUTION_PAYMENTS_VARIANCE_SAMPLE_UPDATED_AT_DESC', - DistributionPaymentsVarianceSampleUpdatedBlockIdAsc = 'DISTRIBUTION_PAYMENTS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - DistributionPaymentsVarianceSampleUpdatedBlockIdDesc = 'DISTRIBUTION_PAYMENTS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - ExpiresAtAsc = 'EXPIRES_AT_ASC', - ExpiresAtDesc = 'EXPIRES_AT_DESC', - IdentityIdAsc = 'IDENTITY_ID_ASC', - IdentityIdDesc = 'IDENTITY_ID_DESC', - IdAsc = 'ID_ASC', - IdDesc = 'ID_DESC', - LocalIdAsc = 'LOCAL_ID_ASC', - LocalIdDesc = 'LOCAL_ID_DESC', - Natural = 'NATURAL', - PaymentAtAsc = 'PAYMENT_AT_ASC', - PaymentAtDesc = 'PAYMENT_AT_DESC', - PerShareAsc = 'PER_SHARE_ASC', - PerShareDesc = 'PER_SHARE_DESC', - PortfolioIdAsc = 'PORTFOLIO_ID_ASC', - PortfolioIdDesc = 'PORTFOLIO_ID_DESC', - PrimaryKeyAsc = 'PRIMARY_KEY_ASC', - PrimaryKeyDesc = 'PRIMARY_KEY_DESC', - RemainingAsc = 'REMAINING_ASC', - RemainingDesc = 'REMAINING_DESC', - TaxesAsc = 'TAXES_ASC', - TaxesDesc = 'TAXES_DESC', - UpdatedAtAsc = 'UPDATED_AT_ASC', - UpdatedAtDesc = 'UPDATED_AT_DESC', - UpdatedBlockIdAsc = 'UPDATED_BLOCK_ID_ASC', - UpdatedBlockIdDesc = 'UPDATED_BLOCK_ID_DESC', -} - -/** Information of a chain state transition on. For most use cases a more specific entity should be queried */ -export type Event = Node & { - __typename?: 'Event'; - attributes?: Maybe; - attributesTxt: Scalars['String']['output']; - /** Reads a single `Block` that is related to this `Event`. */ - block?: Maybe; - blockId: Scalars['String']['output']; - claimExpiry?: Maybe; - claimIssuer?: Maybe; - claimScope?: Maybe; - claimType?: Maybe; - corporateActionTicker?: Maybe; - createdAt: Scalars['Datetime']['output']; - eventArg0?: Maybe; - eventArg1?: Maybe; - eventArg2?: Maybe; - eventArg3?: Maybe; - eventId: EventIdEnum; - eventIdx: Scalars['Int']['output']; - /** Reads a single `Extrinsic` that is related to this `Event`. */ - extrinsic?: Maybe; - extrinsicId?: Maybe; - extrinsicIdx?: Maybe; - fundraiserOfferingAsset?: Maybe; - id: Scalars['String']['output']; - moduleId: ModuleIdEnum; - /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ - nodeId: Scalars['ID']['output']; - specVersionId: Scalars['Int']['output']; - transferTo?: Maybe; - updatedAt: Scalars['Datetime']['output']; -}; - -export type EventAggregates = { - __typename?: 'EventAggregates'; - /** Mean average aggregates across the matching connection (ignoring before/after/first/last/offset) */ - average?: Maybe; - /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ - distinctCount?: Maybe; - keys?: Maybe>; - /** Maximum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - max?: Maybe; - /** Minimum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - min?: Maybe; - /** Population standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevPopulation?: Maybe; - /** Sample standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevSample?: Maybe; - /** Sum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - sum?: Maybe; - /** Population variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - variancePopulation?: Maybe; - /** Sample variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - varianceSample?: Maybe; -}; - -/** A filter to be used against aggregates of `Event` object types. */ -export type EventAggregatesFilter = { - /** Mean average aggregate over matching `Event` objects. */ - average?: InputMaybe; - /** Distinct count aggregate over matching `Event` objects. */ - distinctCount?: InputMaybe; - /** A filter that must pass for the relevant `Event` object to be included within the aggregate. */ - filter?: InputMaybe; - /** Maximum aggregate over matching `Event` objects. */ - max?: InputMaybe; - /** Minimum aggregate over matching `Event` objects. */ - min?: InputMaybe; - /** Population standard deviation aggregate over matching `Event` objects. */ - stddevPopulation?: InputMaybe; - /** Sample standard deviation aggregate over matching `Event` objects. */ - stddevSample?: InputMaybe; - /** Sum aggregate over matching `Event` objects. */ - sum?: InputMaybe; - /** Population variance aggregate over matching `Event` objects. */ - variancePopulation?: InputMaybe; - /** Sample variance aggregate over matching `Event` objects. */ - varianceSample?: InputMaybe; -}; - -export type EventAverageAggregateFilter = { - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; - specVersionId?: InputMaybe; -}; - -export type EventAverageAggregates = { - __typename?: 'EventAverageAggregates'; - /** Mean average of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Mean average of extrinsicIdx across the matching connection */ - extrinsicIdx?: Maybe; - /** Mean average of specVersionId across the matching connection */ - specVersionId?: Maybe; -}; - -export type EventDistinctCountAggregateFilter = { - attributes?: InputMaybe; - attributesTxt?: InputMaybe; - blockId?: InputMaybe; - claimExpiry?: InputMaybe; - claimIssuer?: InputMaybe; - claimScope?: InputMaybe; - claimType?: InputMaybe; - corporateActionTicker?: InputMaybe; - createdAt?: InputMaybe; - eventArg0?: InputMaybe; - eventArg1?: InputMaybe; - eventArg2?: InputMaybe; - eventArg3?: InputMaybe; - eventId?: InputMaybe; - eventIdx?: InputMaybe; - extrinsicId?: InputMaybe; - extrinsicIdx?: InputMaybe; - fundraiserOfferingAsset?: InputMaybe; - id?: InputMaybe; - moduleId?: InputMaybe; - specVersionId?: InputMaybe; - transferTo?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type EventDistinctCountAggregates = { - __typename?: 'EventDistinctCountAggregates'; - /** Distinct count of attributes across the matching connection */ - attributes?: Maybe; - /** Distinct count of attributesTxt across the matching connection */ - attributesTxt?: Maybe; - /** Distinct count of blockId across the matching connection */ - blockId?: Maybe; - /** Distinct count of claimExpiry across the matching connection */ - claimExpiry?: Maybe; - /** Distinct count of claimIssuer across the matching connection */ - claimIssuer?: Maybe; - /** Distinct count of claimScope across the matching connection */ - claimScope?: Maybe; - /** Distinct count of claimType across the matching connection */ - claimType?: Maybe; - /** Distinct count of corporateActionTicker across the matching connection */ - corporateActionTicker?: Maybe; - /** Distinct count of createdAt across the matching connection */ - createdAt?: Maybe; - /** Distinct count of eventArg0 across the matching connection */ - eventArg0?: Maybe; - /** Distinct count of eventArg1 across the matching connection */ - eventArg1?: Maybe; - /** Distinct count of eventArg2 across the matching connection */ - eventArg2?: Maybe; - /** Distinct count of eventArg3 across the matching connection */ - eventArg3?: Maybe; - /** Distinct count of eventId across the matching connection */ - eventId?: Maybe; - /** Distinct count of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Distinct count of extrinsicId across the matching connection */ - extrinsicId?: Maybe; - /** Distinct count of extrinsicIdx across the matching connection */ - extrinsicIdx?: Maybe; - /** Distinct count of fundraiserOfferingAsset across the matching connection */ - fundraiserOfferingAsset?: Maybe; - /** Distinct count of id across the matching connection */ - id?: Maybe; - /** Distinct count of moduleId across the matching connection */ - moduleId?: Maybe; - /** Distinct count of specVersionId across the matching connection */ - specVersionId?: Maybe; - /** Distinct count of transferTo across the matching connection */ - transferTo?: Maybe; - /** Distinct count of updatedAt across the matching connection */ - updatedAt?: Maybe; -}; - -/** A filter to be used against `Event` object types. All fields are combined with a logical ‘and.’ */ -export type EventFilter = { - /** Checks for all expressions in this list. */ - and?: InputMaybe>; - /** Filter by the object’s `attributes` field. */ - attributes?: InputMaybe; - /** Filter by the object’s `attributesTxt` field. */ - attributesTxt?: InputMaybe; - /** Filter by the object’s `block` relation. */ - block?: InputMaybe; - /** Filter by the object’s `blockId` field. */ - blockId?: InputMaybe; - /** Filter by the object’s `claimExpiry` field. */ - claimExpiry?: InputMaybe; - /** Filter by the object’s `claimIssuer` field. */ - claimIssuer?: InputMaybe; - /** Filter by the object’s `claimScope` field. */ - claimScope?: InputMaybe; - /** Filter by the object’s `claimType` field. */ - claimType?: InputMaybe; - /** Filter by the object’s `corporateActionTicker` field. */ - corporateActionTicker?: InputMaybe; - /** Filter by the object’s `createdAt` field. */ - createdAt?: InputMaybe; - /** Filter by the object’s `eventArg0` field. */ - eventArg0?: InputMaybe; - /** Filter by the object’s `eventArg1` field. */ - eventArg1?: InputMaybe; - /** Filter by the object’s `eventArg2` field. */ - eventArg2?: InputMaybe; - /** Filter by the object’s `eventArg3` field. */ - eventArg3?: InputMaybe; - /** Filter by the object’s `eventId` field. */ - eventId?: InputMaybe; - /** Filter by the object’s `eventIdx` field. */ - eventIdx?: InputMaybe; - /** Filter by the object’s `extrinsic` relation. */ - extrinsic?: InputMaybe; - /** A related `extrinsic` exists. */ - extrinsicExists?: InputMaybe; - /** Filter by the object’s `extrinsicId` field. */ - extrinsicId?: InputMaybe; - /** Filter by the object’s `extrinsicIdx` field. */ - extrinsicIdx?: InputMaybe; - /** Filter by the object’s `fundraiserOfferingAsset` field. */ - fundraiserOfferingAsset?: InputMaybe; - /** Filter by the object’s `id` field. */ - id?: InputMaybe; - /** Filter by the object’s `moduleId` field. */ - moduleId?: InputMaybe; - /** Negates the expression. */ - not?: InputMaybe; - /** Checks for any expressions in this list. */ - or?: InputMaybe>; - /** Filter by the object’s `specVersionId` field. */ - specVersionId?: InputMaybe; - /** Filter by the object’s `transferTo` field. */ - transferTo?: InputMaybe; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: InputMaybe; -}; - -/** Events are emitted when chain state is changed. This enum represents all known events */ -export enum EventIdEnum { - AcceptedPayingKey = 'AcceptedPayingKey', - AccountBalanceBurned = 'AccountBalanceBurned', - AccountCreated = 'AccountCreated', - AccountDeposit = 'AccountDeposit', - AccountDepositIncoming = 'AccountDepositIncoming', - AccountWithdraw = 'AccountWithdraw', - ActiveLimitChanged = 'ActiveLimitChanged', - ActivePipLimitChanged = 'ActivePipLimitChanged', - AdminChanged = 'AdminChanged', - AffirmationWithdrawn = 'AffirmationWithdrawn', - AgentAdded = 'AgentAdded', - AgentRemoved = 'AgentRemoved', - AllGood = 'AllGood', - ApiHashUpdated = 'ApiHashUpdated', - Approval = 'Approval', - Approved = 'Approved', - AssetAffirmationExemption = 'AssetAffirmationExemption', - AssetBalanceUpdated = 'AssetBalanceUpdated', - AssetCompliancePaused = 'AssetCompliancePaused', - AssetComplianceReplaced = 'AssetComplianceReplaced', - AssetComplianceReset = 'AssetComplianceReset', - AssetComplianceResumed = 'AssetComplianceResumed', - AssetCreated = 'AssetCreated', - AssetDidRegistered = 'AssetDidRegistered', - AssetFrozen = 'AssetFrozen', - AssetOwnershipTransferred = 'AssetOwnershipTransferred', - AssetPurchased = 'AssetPurchased', - AssetRenamed = 'AssetRenamed', - AssetRuleChanged = 'AssetRuleChanged', - AssetRuleRemoved = 'AssetRuleRemoved', - AssetRulesPaused = 'AssetRulesPaused', - AssetRulesReplaced = 'AssetRulesReplaced', - AssetRulesReset = 'AssetRulesReset', - AssetRulesResumed = 'AssetRulesResumed', - AssetStatsUpdated = 'AssetStatsUpdated', - AssetTypeChanged = 'AssetTypeChanged', - AssetUnfrozen = 'AssetUnfrozen', - AuthorizationAdded = 'AuthorizationAdded', - AuthorizationConsumed = 'AuthorizationConsumed', - AuthorizationRejected = 'AuthorizationRejected', - AuthorizationRetryLimitReached = 'AuthorizationRetryLimitReached', - AuthorizationRevoked = 'AuthorizationRevoked', - AuthorizedPayingKey = 'AuthorizedPayingKey', - BalanceSet = 'BalanceSet', - BallotCancelled = 'BallotCancelled', - BallotCreated = 'BallotCreated', - BatchCompleted = 'BatchCompleted', - BatchCompletedOld = 'BatchCompletedOld', - BatchCompletedWithErrors = 'BatchCompletedWithErrors', - BatchInterrupted = 'BatchInterrupted', - BatchInterruptedOld = 'BatchInterruptedOld', - BatchOptimisticFailed = 'BatchOptimisticFailed', - BenefitClaimed = 'BenefitClaimed', - Bonded = 'Bonded', - BridgeLimitUpdated = 'BridgeLimitUpdated', - BridgeTxFailed = 'BridgeTxFailed', - BridgeTxScheduleFailed = 'BridgeTxScheduleFailed', - BridgeTxScheduled = 'BridgeTxScheduled', - Bridged = 'Bridged', - CaaTransferred = 'CAATransferred', - CaInitiated = 'CAInitiated', - CaLinkedToDoc = 'CALinkedToDoc', - CaRemoved = 'CARemoved', - CallLookupFailed = 'CallLookupFailed', - CallUnavailable = 'CallUnavailable', - Called = 'Called', - Canceled = 'Canceled', - CddClaimsInvalidated = 'CddClaimsInvalidated', - CddRequirementForMasterKeyUpdated = 'CddRequirementForMasterKeyUpdated', - CddRequirementForPrimaryKeyUpdated = 'CddRequirementForPrimaryKeyUpdated', - CddStatus = 'CddStatus', - CheckpointCreated = 'CheckpointCreated', - ChildDidCreated = 'ChildDidCreated', - ChildDidUnlinked = 'ChildDidUnlinked', - ClaimAdded = 'ClaimAdded', - ClaimRevoked = 'ClaimRevoked', - ClassicTickerClaimed = 'ClassicTickerClaimed', - Cleared = 'Cleared', - Closed = 'Closed', - CodeRemoved = 'CodeRemoved', - CodeStored = 'CodeStored', - CodeUpdated = 'CodeUpdated', - CoefficientSet = 'CoefficientSet', - CommissionCapUpdated = 'CommissionCapUpdated', - ComplianceRequirementChanged = 'ComplianceRequirementChanged', - ComplianceRequirementCreated = 'ComplianceRequirementCreated', - ComplianceRequirementRemoved = 'ComplianceRequirementRemoved', - ConfidentialAssetCreated = 'ConfidentialAssetCreated', - ContractCodeUpdated = 'ContractCodeUpdated', - ContractEmitted = 'ContractEmitted', - ContractExecution = 'ContractExecution', - ControllerChanged = 'ControllerChanged', - ControllerRedemption = 'ControllerRedemption', - ControllerTransfer = 'ControllerTransfer', - Created = 'Created', - CustodyAllowanceChanged = 'CustodyAllowanceChanged', - CustodyTransfer = 'CustodyTransfer', - CustomAssetTypeExists = 'CustomAssetTypeExists', - CustomAssetTypeRegistered = 'CustomAssetTypeRegistered', - CustomClaimTypeAdded = 'CustomClaimTypeAdded', - DefaultEnactmentPeriodChanged = 'DefaultEnactmentPeriodChanged', - DefaultTargetIdentitiesChanged = 'DefaultTargetIdentitiesChanged', - DefaultWithholdingTaxChanged = 'DefaultWithholdingTaxChanged', - DelegateCalled = 'DelegateCalled', - DidCreated = 'DidCreated', - DidStatus = 'DidStatus', - DidWithholdingTaxChanged = 'DidWithholdingTaxChanged', - Dispatched = 'Dispatched', - DispatchedAs = 'DispatchedAs', - DividendCanceled = 'DividendCanceled', - DividendCreated = 'DividendCreated', - DividendPaidOutToUser = 'DividendPaidOutToUser', - DividendRemainingClaimed = 'DividendRemainingClaimed', - DivisibilityChanged = 'DivisibilityChanged', - DocumentAdded = 'DocumentAdded', - DocumentRemoved = 'DocumentRemoved', - Dummy = 'Dummy', - Endowed = 'Endowed', - EraPayout = 'EraPayout', - Evicted = 'Evicted', - Executed = 'Executed', - ExecutionCancellingFailed = 'ExecutionCancellingFailed', - ExecutionScheduled = 'ExecutionScheduled', - ExecutionSchedulingFailed = 'ExecutionSchedulingFailed', - ExemptedUpdated = 'ExemptedUpdated', - ExemptionListModified = 'ExemptionListModified', - ExemptionsAdded = 'ExemptionsAdded', - ExemptionsRemoved = 'ExemptionsRemoved', - ExpiresAfterUpdated = 'ExpiresAfterUpdated', - ExpiryScheduled = 'ExpiryScheduled', - ExpirySchedulingFailed = 'ExpirySchedulingFailed', - ExtensionAdded = 'ExtensionAdded', - ExtensionArchived = 'ExtensionArchived', - ExtensionRemoved = 'ExtensionRemoved', - ExtensionUnArchive = 'ExtensionUnArchive', - ExtrinsicFailed = 'ExtrinsicFailed', - ExtrinsicSuccess = 'ExtrinsicSuccess', - FailedToExecuteInstruction = 'FailedToExecuteInstruction', - FeeCharged = 'FeeCharged', - FeeSet = 'FeeSet', - FinalVotes = 'FinalVotes', - FreezeAdminAdded = 'FreezeAdminAdded', - FreezeAdminRemoved = 'FreezeAdminRemoved', - Frozen = 'Frozen', - FrozenTx = 'FrozenTx', - FundingRoundSet = 'FundingRoundSet', - FundraiserClosed = 'FundraiserClosed', - FundraiserCreated = 'FundraiserCreated', - FundraiserFrozen = 'FundraiserFrozen', - FundraiserUnfrozen = 'FundraiserUnfrozen', - FundraiserWindowModifed = 'FundraiserWindowModifed', - FundraiserWindowModified = 'FundraiserWindowModified', - FundsMovedBetweenPortfolios = 'FundsMovedBetweenPortfolios', - FundsRaised = 'FundsRaised', - FungibleTokensMovedBetweenPortfolios = 'FungibleTokensMovedBetweenPortfolios', - GlobalCommissionUpdated = 'GlobalCommissionUpdated', - GroupChanged = 'GroupChanged', - GroupCreated = 'GroupCreated', - GroupPermissionsUpdated = 'GroupPermissionsUpdated', - HeartbeatReceived = 'HeartbeatReceived', - HistoricalPipsPruned = 'HistoricalPipsPruned', - IdentifiersUpdated = 'IdentifiersUpdated', - IndexAssigned = 'IndexAssigned', - IndexFreed = 'IndexFreed', - IndexFrozen = 'IndexFrozen', - IndividualCommissionEnabled = 'IndividualCommissionEnabled', - Instantiated = 'Instantiated', - InstantiationFeeChanged = 'InstantiationFeeChanged', - InstantiationFreezed = 'InstantiationFreezed', - InstantiationUnFreezed = 'InstantiationUnFreezed', - InstructionAffirmed = 'InstructionAffirmed', - InstructionAuthorized = 'InstructionAuthorized', - InstructionAutomaticallyAffirmed = 'InstructionAutomaticallyAffirmed', - InstructionCreated = 'InstructionCreated', - InstructionExecuted = 'InstructionExecuted', - InstructionFailed = 'InstructionFailed', - InstructionRejected = 'InstructionRejected', - InstructionRescheduled = 'InstructionRescheduled', - InstructionUnauthorized = 'InstructionUnauthorized', - InstructionV2Created = 'InstructionV2Created', - InvalidatedNominators = 'InvalidatedNominators', - Invested = 'Invested', - InvestorUniquenessClaimNotAllowed = 'InvestorUniquenessClaimNotAllowed', - IsIssuable = 'IsIssuable', - Issued = 'Issued', - IssuedNft = 'IssuedNFT', - ItemCompleted = 'ItemCompleted', - ItemFailed = 'ItemFailed', - ItnRewardClaimed = 'ItnRewardClaimed', - KeyChanged = 'KeyChanged', - KilledAccount = 'KilledAccount', - LegFailedExecution = 'LegFailedExecution', - LocalMetadataKeyDeleted = 'LocalMetadataKeyDeleted', - MasterKeyUpdated = 'MasterKeyUpdated', - MaxDetailsLengthChanged = 'MaxDetailsLengthChanged', - MaxPipSkipCountChanged = 'MaxPipSkipCountChanged', - MaximumSchedulesComplexityChanged = 'MaximumSchedulesComplexityChanged', - MemberAdded = 'MemberAdded', - MemberRemoved = 'MemberRemoved', - MemberRevoked = 'MemberRevoked', - MembersReset = 'MembersReset', - MembersSwapped = 'MembersSwapped', - MetaChanged = 'MetaChanged', - MetadataValueDeleted = 'MetadataValueDeleted', - MinimumBondThresholdUpdated = 'MinimumBondThresholdUpdated', - MinimumProposalDepositChanged = 'MinimumProposalDepositChanged', - MockInvestorUidCreated = 'MockInvestorUIDCreated', - MovedBetweenPortfolios = 'MovedBetweenPortfolios', - MultiSigCreated = 'MultiSigCreated', - MultiSigSignaturesRequiredChanged = 'MultiSigSignaturesRequiredChanged', - MultiSigSignerAdded = 'MultiSigSignerAdded', - MultiSigSignerAuthorized = 'MultiSigSignerAuthorized', - MultiSigSignerRemoved = 'MultiSigSignerRemoved', - NftPortfolioUpdated = 'NFTPortfolioUpdated', - NfTsMovedBetweenPortfolios = 'NFTsMovedBetweenPortfolios', - NewAccount = 'NewAccount', - NewAssetRuleCreated = 'NewAssetRuleCreated', - NewAuthorities = 'NewAuthorities', - NewSession = 'NewSession', - NftCollectionCreated = 'NftCollectionCreated', - Nominated = 'Nominated', - Noted = 'Noted', - OffChainAuthorizationRevoked = 'OffChainAuthorizationRevoked', - Offence = 'Offence', - OldSlashingReportDiscarded = 'OldSlashingReportDiscarded', - Paused = 'Paused', - PendingPipExpiryChanged = 'PendingPipExpiryChanged', - PeriodicFailed = 'PeriodicFailed', - PermanentlyOverweight = 'PermanentlyOverweight', - PermissionedIdentityAdded = 'PermissionedIdentityAdded', - PermissionedIdentityRemoved = 'PermissionedIdentityRemoved', - PermissionedValidatorAdded = 'PermissionedValidatorAdded', - PermissionedValidatorRemoved = 'PermissionedValidatorRemoved', - PermissionedValidatorStatusChanged = 'PermissionedValidatorStatusChanged', - PipClosed = 'PipClosed', - PipSkipped = 'PipSkipped', - PlaceholderFillBlock = 'PlaceholderFillBlock', - PortfolioCreated = 'PortfolioCreated', - PortfolioCustodianChanged = 'PortfolioCustodianChanged', - PortfolioDeleted = 'PortfolioDeleted', - PortfolioRenamed = 'PortfolioRenamed', - PreApprovedAsset = 'PreApprovedAsset', - PreApprovedPortfolio = 'PreApprovedPortfolio', - PrimaryIssuanceAgentTransfered = 'PrimaryIssuanceAgentTransfered', - PrimaryIssuanceAgentTransferred = 'PrimaryIssuanceAgentTransferred', - PrimaryKeyUpdated = 'PrimaryKeyUpdated', - ProposalAdded = 'ProposalAdded', - ProposalApproved = 'ProposalApproved', - ProposalBondAdjusted = 'ProposalBondAdjusted', - ProposalCoolOffPeriodChanged = 'ProposalCoolOffPeriodChanged', - ProposalCreated = 'ProposalCreated', - ProposalDetailsAmended = 'ProposalDetailsAmended', - ProposalDurationChanged = 'ProposalDurationChanged', - ProposalExecuted = 'ProposalExecuted', - ProposalExecutionFailed = 'ProposalExecutionFailed', - ProposalRefund = 'ProposalRefund', - ProposalRejected = 'ProposalRejected', - ProposalRejectionVote = 'ProposalRejectionVote', - ProposalStateUpdated = 'ProposalStateUpdated', - Proposed = 'Proposed', - PutCodeFlagChanged = 'PutCodeFlagChanged', - QuorumThresholdChanged = 'QuorumThresholdChanged', - RcvChanged = 'RCVChanged', - RangeChanged = 'RangeChanged', - RangeProofAdded = 'RangeProofAdded', - RangeProofVerified = 'RangeProofVerified', - ReceiptClaimed = 'ReceiptClaimed', - ReceiptUnclaimed = 'ReceiptUnclaimed', - ReceiptValidityChanged = 'ReceiptValidityChanged', - Reclaimed = 'Reclaimed', - RecordDateChanged = 'RecordDateChanged', - Redeemed = 'Redeemed', - RedeemedNft = 'RedeemedNFT', - ReferendumCreated = 'ReferendumCreated', - ReferendumScheduled = 'ReferendumScheduled', - ReferendumStateUpdated = 'ReferendumStateUpdated', - RegisterAssetMetadataGlobalType = 'RegisterAssetMetadataGlobalType', - RegisterAssetMetadataLocalType = 'RegisterAssetMetadataLocalType', - Rejected = 'Rejected', - RelayedTx = 'RelayedTx', - ReleaseCoordinatorUpdated = 'ReleaseCoordinatorUpdated', - Remarked = 'Remarked', - RemoveAssetAffirmationExemption = 'RemoveAssetAffirmationExemption', - RemovePreApprovedAsset = 'RemovePreApprovedAsset', - Removed = 'Removed', - RemovedPayingKey = 'RemovedPayingKey', - Requested = 'Requested', - ReserveRepatriated = 'ReserveRepatriated', - Reserved = 'Reserved', - Restored = 'Restored', - Resumed = 'Resumed', - RevokePreApprovedPortfolio = 'RevokePreApprovedPortfolio', - Reward = 'Reward', - RewardPaymentSchedulingInterrupted = 'RewardPaymentSchedulingInterrupted', - ScRuntimeCall = 'SCRuntimeCall', - ScheduleCreated = 'ScheduleCreated', - ScheduleRemoved = 'ScheduleRemoved', - ScheduleUpdated = 'ScheduleUpdated', - Scheduled = 'Scheduled', - SchedulingFailed = 'SchedulingFailed', - SecondaryKeyLeftIdentity = 'SecondaryKeyLeftIdentity', - SecondaryKeyPermissionsUpdated = 'SecondaryKeyPermissionsUpdated', - SecondaryKeysAdded = 'SecondaryKeysAdded', - SecondaryKeysFrozen = 'SecondaryKeysFrozen', - SecondaryKeysRemoved = 'SecondaryKeysRemoved', - SecondaryKeysUnfrozen = 'SecondaryKeysUnfrozen', - SecondaryPermissionsUpdated = 'SecondaryPermissionsUpdated', - SetAssetMetadataValue = 'SetAssetMetadataValue', - SetAssetMetadataValueDetails = 'SetAssetMetadataValueDetails', - SetAssetTransferCompliance = 'SetAssetTransferCompliance', - SettlementManuallyExecuted = 'SettlementManuallyExecuted', - SignerLeft = 'SignerLeft', - SigningKeysAdded = 'SigningKeysAdded', - SigningKeysFrozen = 'SigningKeysFrozen', - SigningKeysRemoved = 'SigningKeysRemoved', - SigningKeysUnfrozen = 'SigningKeysUnfrozen', - SigningPermissionsUpdated = 'SigningPermissionsUpdated', - Slash = 'Slash', - SlashingAllowedForChanged = 'SlashingAllowedForChanged', - SlashingParamsUpdated = 'SlashingParamsUpdated', - SnapshotCleared = 'SnapshotCleared', - SnapshotResultsEnacted = 'SnapshotResultsEnacted', - SnapshotTaken = 'SnapshotTaken', - SolutionStored = 'SolutionStored', - SomeOffline = 'SomeOffline', - StakingElection = 'StakingElection', - StatTypesAdded = 'StatTypesAdded', - StatTypesRemoved = 'StatTypesRemoved', - Sudid = 'Sudid', - SudoAsDone = 'SudoAsDone', - TemplateInstantiationFeeChanged = 'TemplateInstantiationFeeChanged', - TemplateMetaUrlChanged = 'TemplateMetaUrlChanged', - TemplateOwnershipTransferred = 'TemplateOwnershipTransferred', - TemplateUsageFeeChanged = 'TemplateUsageFeeChanged', - Terminated = 'Terminated', - TickerRegistered = 'TickerRegistered', - TickerTransferred = 'TickerTransferred', - TimelockChanged = 'TimelockChanged', - TransactionAffirmed = 'TransactionAffirmed', - TransactionCreated = 'TransactionCreated', - TransactionExecuted = 'TransactionExecuted', - TransactionFeePaid = 'TransactionFeePaid', - TransactionRejected = 'TransactionRejected', - Transfer = 'Transfer', - TransferConditionExemptionsAdded = 'TransferConditionExemptionsAdded', - TransferConditionExemptionsRemoved = 'TransferConditionExemptionsRemoved', - TransferManagerAdded = 'TransferManagerAdded', - TransferManagerRemoved = 'TransferManagerRemoved', - TransferWithData = 'TransferWithData', - TreasuryDidSet = 'TreasuryDidSet', - TreasuryDisbursement = 'TreasuryDisbursement', - TreasuryDisbursementFailed = 'TreasuryDisbursementFailed', - TreasuryReimbursement = 'TreasuryReimbursement', - TrustedDefaultClaimIssuerAdded = 'TrustedDefaultClaimIssuerAdded', - TrustedDefaultClaimIssuerRemoved = 'TrustedDefaultClaimIssuerRemoved', - TxRemoved = 'TxRemoved', - TxsHandled = 'TxsHandled', - Unbonded = 'Unbonded', - UnexpectedError = 'UnexpectedError', - Unfrozen = 'Unfrozen', - UnfrozenTx = 'UnfrozenTx', - Unreserved = 'Unreserved', - UpdatedPolyxLimit = 'UpdatedPolyxLimit', - UserPortfolios = 'UserPortfolios', - VenueCreated = 'VenueCreated', - VenueDetailsUpdated = 'VenueDetailsUpdated', - VenueFiltering = 'VenueFiltering', - VenueSignersUpdated = 'VenueSignersUpdated', - VenueTypeUpdated = 'VenueTypeUpdated', - VenueUnauthorized = 'VenueUnauthorized', - VenueUpdated = 'VenueUpdated', - VenuesAllowed = 'VenuesAllowed', - VenuesBlocked = 'VenuesBlocked', - VoteCast = 'VoteCast', - VoteEnactReferendum = 'VoteEnactReferendum', - VoteRejectReferendum = 'VoteRejectReferendum', - VoteRetracted = 'VoteRetracted', - VoteThresholdUpdated = 'VoteThresholdUpdated', - Voted = 'Voted', - Withdrawn = 'Withdrawn', -} - -/** A filter to be used against EventIdEnum fields. All fields are combined with a logical ‘and.’ */ -export type EventIdEnumFilter = { - /** Not equal to the specified value, treating null like an ordinary value. */ - distinctFrom?: InputMaybe; - /** Equal to the specified value. */ - equalTo?: InputMaybe; - /** Greater than the specified value. */ - greaterThan?: InputMaybe; - /** Greater than or equal to the specified value. */ - greaterThanOrEqualTo?: InputMaybe; - /** Included in the specified list. */ - in?: InputMaybe>; - /** Is null (if `true` is specified) or is not null (if `false` is specified). */ - isNull?: InputMaybe; - /** Less than the specified value. */ - lessThan?: InputMaybe; - /** Less than or equal to the specified value. */ - lessThanOrEqualTo?: InputMaybe; - /** Equal to the specified value, treating null like an ordinary value. */ - notDistinctFrom?: InputMaybe; - /** Not equal to the specified value. */ - notEqualTo?: InputMaybe; - /** Not included in the specified list. */ - notIn?: InputMaybe>; -}; - -export type EventMaxAggregateFilter = { - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; - specVersionId?: InputMaybe; -}; - -export type EventMaxAggregates = { - __typename?: 'EventMaxAggregates'; - /** Maximum of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Maximum of extrinsicIdx across the matching connection */ - extrinsicIdx?: Maybe; - /** Maximum of specVersionId across the matching connection */ - specVersionId?: Maybe; -}; - -export type EventMinAggregateFilter = { - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; - specVersionId?: InputMaybe; -}; - -export type EventMinAggregates = { - __typename?: 'EventMinAggregates'; - /** Minimum of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Minimum of extrinsicIdx across the matching connection */ - extrinsicIdx?: Maybe; - /** Minimum of specVersionId across the matching connection */ - specVersionId?: Maybe; -}; - -export type EventStddevPopulationAggregateFilter = { - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; - specVersionId?: InputMaybe; -}; - -export type EventStddevPopulationAggregates = { - __typename?: 'EventStddevPopulationAggregates'; - /** Population standard deviation of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Population standard deviation of extrinsicIdx across the matching connection */ - extrinsicIdx?: Maybe; - /** Population standard deviation of specVersionId across the matching connection */ - specVersionId?: Maybe; -}; - -export type EventStddevSampleAggregateFilter = { - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; - specVersionId?: InputMaybe; -}; - -export type EventStddevSampleAggregates = { - __typename?: 'EventStddevSampleAggregates'; - /** Sample standard deviation of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Sample standard deviation of extrinsicIdx across the matching connection */ - extrinsicIdx?: Maybe; - /** Sample standard deviation of specVersionId across the matching connection */ - specVersionId?: Maybe; -}; - -export type EventSumAggregateFilter = { - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; - specVersionId?: InputMaybe; -}; - -export type EventSumAggregates = { - __typename?: 'EventSumAggregates'; - /** Sum of eventIdx across the matching connection */ - eventIdx: Scalars['BigInt']['output']; - /** Sum of extrinsicIdx across the matching connection */ - extrinsicIdx: Scalars['BigInt']['output']; - /** Sum of specVersionId across the matching connection */ - specVersionId: Scalars['BigInt']['output']; -}; - -export type EventVariancePopulationAggregateFilter = { - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; - specVersionId?: InputMaybe; -}; - -export type EventVariancePopulationAggregates = { - __typename?: 'EventVariancePopulationAggregates'; - /** Population variance of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Population variance of extrinsicIdx across the matching connection */ - extrinsicIdx?: Maybe; - /** Population variance of specVersionId across the matching connection */ - specVersionId?: Maybe; -}; - -export type EventVarianceSampleAggregateFilter = { - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; - specVersionId?: InputMaybe; -}; - -export type EventVarianceSampleAggregates = { - __typename?: 'EventVarianceSampleAggregates'; - /** Sample variance of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Sample variance of extrinsicIdx across the matching connection */ - extrinsicIdx?: Maybe; - /** Sample variance of specVersionId across the matching connection */ - specVersionId?: Maybe; -}; - -/** A connection to a list of `Event` values. */ -export type EventsConnection = { - __typename?: 'EventsConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Event` and cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Event` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Event` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Event` values. */ -export type EventsConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `Event` edge in the connection. */ -export type EventsEdge = { - __typename?: 'EventsEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Event` at the end of the edge. */ - node?: Maybe; -}; - -/** Grouping methods for `Event` for usage during aggregation. */ -export enum EventsGroupBy { - Attributes = 'ATTRIBUTES', - AttributesTxt = 'ATTRIBUTES_TXT', - BlockId = 'BLOCK_ID', - ClaimExpiry = 'CLAIM_EXPIRY', - ClaimIssuer = 'CLAIM_ISSUER', - ClaimScope = 'CLAIM_SCOPE', - ClaimType = 'CLAIM_TYPE', - CorporateActionTicker = 'CORPORATE_ACTION_TICKER', - CreatedAt = 'CREATED_AT', - CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', - CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', - EventArg_0 = 'EVENT_ARG_0', - EventArg_1 = 'EVENT_ARG_1', - EventArg_2 = 'EVENT_ARG_2', - EventArg_3 = 'EVENT_ARG_3', - EventId = 'EVENT_ID', - EventIdx = 'EVENT_IDX', - ExtrinsicId = 'EXTRINSIC_ID', - ExtrinsicIdx = 'EXTRINSIC_IDX', - FundraiserOfferingAsset = 'FUNDRAISER_OFFERING_ASSET', - ModuleId = 'MODULE_ID', - SpecVersionId = 'SPEC_VERSION_ID', - TransferTo = 'TRANSFER_TO', - UpdatedAt = 'UPDATED_AT', - UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', - UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', -} - -export type EventsHavingAverageInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; - specVersionId?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type EventsHavingDistinctCountInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; - specVersionId?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Conditions for `Event` aggregates. */ -export type EventsHavingInput = { - AND?: InputMaybe>; - OR?: InputMaybe>; - average?: InputMaybe; - distinctCount?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddevPopulation?: InputMaybe; - stddevSample?: InputMaybe; - sum?: InputMaybe; - variancePopulation?: InputMaybe; - varianceSample?: InputMaybe; -}; - -export type EventsHavingMaxInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; - specVersionId?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type EventsHavingMinInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; - specVersionId?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type EventsHavingStddevPopulationInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; - specVersionId?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type EventsHavingStddevSampleInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; - specVersionId?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type EventsHavingSumInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; - specVersionId?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type EventsHavingVariancePopulationInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; - specVersionId?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type EventsHavingVarianceSampleInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; - specVersionId?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Methods to use when ordering `Event`. */ -export enum EventsOrderBy { - AttributesAsc = 'ATTRIBUTES_ASC', - AttributesDesc = 'ATTRIBUTES_DESC', - AttributesTxtAsc = 'ATTRIBUTES_TXT_ASC', - AttributesTxtDesc = 'ATTRIBUTES_TXT_DESC', - BlockIdAsc = 'BLOCK_ID_ASC', - BlockIdDesc = 'BLOCK_ID_DESC', - ClaimExpiryAsc = 'CLAIM_EXPIRY_ASC', - ClaimExpiryDesc = 'CLAIM_EXPIRY_DESC', - ClaimIssuerAsc = 'CLAIM_ISSUER_ASC', - ClaimIssuerDesc = 'CLAIM_ISSUER_DESC', - ClaimScopeAsc = 'CLAIM_SCOPE_ASC', - ClaimScopeDesc = 'CLAIM_SCOPE_DESC', - ClaimTypeAsc = 'CLAIM_TYPE_ASC', - ClaimTypeDesc = 'CLAIM_TYPE_DESC', - CorporateActionTickerAsc = 'CORPORATE_ACTION_TICKER_ASC', - CorporateActionTickerDesc = 'CORPORATE_ACTION_TICKER_DESC', - CreatedAtAsc = 'CREATED_AT_ASC', - CreatedAtDesc = 'CREATED_AT_DESC', - EventArg_0Asc = 'EVENT_ARG_0_ASC', - EventArg_0Desc = 'EVENT_ARG_0_DESC', - EventArg_1Asc = 'EVENT_ARG_1_ASC', - EventArg_1Desc = 'EVENT_ARG_1_DESC', - EventArg_2Asc = 'EVENT_ARG_2_ASC', - EventArg_2Desc = 'EVENT_ARG_2_DESC', - EventArg_3Asc = 'EVENT_ARG_3_ASC', - EventArg_3Desc = 'EVENT_ARG_3_DESC', - EventIdxAsc = 'EVENT_IDX_ASC', - EventIdxDesc = 'EVENT_IDX_DESC', - EventIdAsc = 'EVENT_ID_ASC', - EventIdDesc = 'EVENT_ID_DESC', - ExtrinsicIdxAsc = 'EXTRINSIC_IDX_ASC', - ExtrinsicIdxDesc = 'EXTRINSIC_IDX_DESC', - ExtrinsicIdAsc = 'EXTRINSIC_ID_ASC', - ExtrinsicIdDesc = 'EXTRINSIC_ID_DESC', - FundraiserOfferingAssetAsc = 'FUNDRAISER_OFFERING_ASSET_ASC', - FundraiserOfferingAssetDesc = 'FUNDRAISER_OFFERING_ASSET_DESC', - IdAsc = 'ID_ASC', - IdDesc = 'ID_DESC', - ModuleIdAsc = 'MODULE_ID_ASC', - ModuleIdDesc = 'MODULE_ID_DESC', - Natural = 'NATURAL', - PrimaryKeyAsc = 'PRIMARY_KEY_ASC', - PrimaryKeyDesc = 'PRIMARY_KEY_DESC', - SpecVersionIdAsc = 'SPEC_VERSION_ID_ASC', - SpecVersionIdDesc = 'SPEC_VERSION_ID_DESC', - TransferToAsc = 'TRANSFER_TO_ASC', - TransferToDesc = 'TRANSFER_TO_DESC', - UpdatedAtAsc = 'UPDATED_AT_ASC', - UpdatedAtDesc = 'UPDATED_AT_DESC', -} - -/** - * Represents external data included into the chain. Virtually all user actions, as well as runtime operations are extrinsics - * - * Usually extrinsics are signed. When the block author includes data, e.g. `timestamp.set` then the signature is implied. This is indicated with `signed = 0` - */ -export type Extrinsic = Node & { - __typename?: 'Extrinsic'; - address?: Maybe; - /** Reads a single `Block` that is related to this `Extrinsic`. */ - block?: Maybe; - blockId: Scalars['String']['output']; - /** Reads and enables pagination through a set of `Block`. */ - blocksByEventExtrinsicIdAndBlockId: ExtrinsicBlocksByEventExtrinsicIdAndBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByPolyxTransactionExtrinsicIdAndCreatedBlockId: ExtrinsicBlocksByPolyxTransactionExtrinsicIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByPolyxTransactionExtrinsicIdAndUpdatedBlockId: ExtrinsicBlocksByPolyxTransactionExtrinsicIdAndUpdatedBlockIdManyToManyConnection; - callId: CallIdEnum; - createdAt: Scalars['Datetime']['output']; - /** Reads and enables pagination through a set of `Event`. */ - events: EventsConnection; - extrinsicHash?: Maybe; - extrinsicIdx: Scalars['Int']['output']; - extrinsicLength: Scalars['Int']['output']; - id: Scalars['String']['output']; - moduleId: ModuleIdEnum; - /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ - nodeId: Scalars['ID']['output']; - nonce?: Maybe; - params?: Maybe; - paramsTxt: Scalars['String']['output']; - /** Reads and enables pagination through a set of `PolyxTransaction`. */ - polyxTransactions: PolyxTransactionsConnection; - signed: Scalars['Int']['output']; - /** `signedbyAddress` is now deprecated in favour of `signed` */ - signedbyAddress: Scalars['Int']['output']; - specVersionId: Scalars['Int']['output']; - success: Scalars['Int']['output']; - updatedAt: Scalars['Datetime']['output']; -}; - -/** - * Represents external data included into the chain. Virtually all user actions, as well as runtime operations are extrinsics - * - * Usually extrinsics are signed. When the block author includes data, e.g. `timestamp.set` then the signature is implied. This is indicated with `signed = 0` - */ -export type ExtrinsicBlocksByEventExtrinsicIdAndBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents external data included into the chain. Virtually all user actions, as well as runtime operations are extrinsics - * - * Usually extrinsics are signed. When the block author includes data, e.g. `timestamp.set` then the signature is implied. This is indicated with `signed = 0` - */ -export type ExtrinsicBlocksByPolyxTransactionExtrinsicIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents external data included into the chain. Virtually all user actions, as well as runtime operations are extrinsics - * - * Usually extrinsics are signed. When the block author includes data, e.g. `timestamp.set` then the signature is implied. This is indicated with `signed = 0` - */ -export type ExtrinsicBlocksByPolyxTransactionExtrinsicIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents external data included into the chain. Virtually all user actions, as well as runtime operations are extrinsics - * - * Usually extrinsics are signed. When the block author includes data, e.g. `timestamp.set` then the signature is implied. This is indicated with `signed = 0` - */ -export type ExtrinsicEventsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents external data included into the chain. Virtually all user actions, as well as runtime operations are extrinsics - * - * Usually extrinsics are signed. When the block author includes data, e.g. `timestamp.set` then the signature is implied. This is indicated with `signed = 0` - */ -export type ExtrinsicPolyxTransactionsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -export type ExtrinsicAggregates = { - __typename?: 'ExtrinsicAggregates'; - /** Mean average aggregates across the matching connection (ignoring before/after/first/last/offset) */ - average?: Maybe; - /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ - distinctCount?: Maybe; - keys?: Maybe>; - /** Maximum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - max?: Maybe; - /** Minimum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - min?: Maybe; - /** Population standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevPopulation?: Maybe; - /** Sample standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevSample?: Maybe; - /** Sum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - sum?: Maybe; - /** Population variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - variancePopulation?: Maybe; - /** Sample variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - varianceSample?: Maybe; -}; - -/** A filter to be used against aggregates of `Extrinsic` object types. */ -export type ExtrinsicAggregatesFilter = { - /** Mean average aggregate over matching `Extrinsic` objects. */ - average?: InputMaybe; - /** Distinct count aggregate over matching `Extrinsic` objects. */ - distinctCount?: InputMaybe; - /** A filter that must pass for the relevant `Extrinsic` object to be included within the aggregate. */ - filter?: InputMaybe; - /** Maximum aggregate over matching `Extrinsic` objects. */ - max?: InputMaybe; - /** Minimum aggregate over matching `Extrinsic` objects. */ - min?: InputMaybe; - /** Population standard deviation aggregate over matching `Extrinsic` objects. */ - stddevPopulation?: InputMaybe; - /** Sample standard deviation aggregate over matching `Extrinsic` objects. */ - stddevSample?: InputMaybe; - /** Sum aggregate over matching `Extrinsic` objects. */ - sum?: InputMaybe; - /** Population variance aggregate over matching `Extrinsic` objects. */ - variancePopulation?: InputMaybe; - /** Sample variance aggregate over matching `Extrinsic` objects. */ - varianceSample?: InputMaybe; -}; - -export type ExtrinsicAverageAggregateFilter = { - extrinsicIdx?: InputMaybe; - extrinsicLength?: InputMaybe; - nonce?: InputMaybe; - signed?: InputMaybe; - signedbyAddress?: InputMaybe; - specVersionId?: InputMaybe; - success?: InputMaybe; -}; - -export type ExtrinsicAverageAggregates = { - __typename?: 'ExtrinsicAverageAggregates'; - /** Mean average of extrinsicIdx across the matching connection */ - extrinsicIdx?: Maybe; - /** Mean average of extrinsicLength across the matching connection */ - extrinsicLength?: Maybe; - /** Mean average of nonce across the matching connection */ - nonce?: Maybe; - /** Mean average of signed across the matching connection */ - signed?: Maybe; - /** Mean average of signedbyAddress across the matching connection */ - signedbyAddress?: Maybe; - /** Mean average of specVersionId across the matching connection */ - specVersionId?: Maybe; - /** Mean average of success across the matching connection */ - success?: Maybe; -}; - -/** A connection to a list of `Block` values, with data from `Event`. */ -export type ExtrinsicBlocksByEventExtrinsicIdAndBlockIdManyToManyConnection = { - __typename?: 'ExtrinsicBlocksByEventExtrinsicIdAndBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Event`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Event`. */ -export type ExtrinsicBlocksByEventExtrinsicIdAndBlockIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `Block` edge in the connection, with data from `Event`. */ -export type ExtrinsicBlocksByEventExtrinsicIdAndBlockIdManyToManyEdge = { - __typename?: 'ExtrinsicBlocksByEventExtrinsicIdAndBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `Event`. */ - events: EventsConnection; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `Event`. */ -export type ExtrinsicBlocksByEventExtrinsicIdAndBlockIdManyToManyEdgeEventsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Block` values, with data from `PolyxTransaction`. */ -export type ExtrinsicBlocksByPolyxTransactionExtrinsicIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'ExtrinsicBlocksByPolyxTransactionExtrinsicIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `PolyxTransaction`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `PolyxTransaction`. */ -export type ExtrinsicBlocksByPolyxTransactionExtrinsicIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `PolyxTransaction`. */ -export type ExtrinsicBlocksByPolyxTransactionExtrinsicIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'ExtrinsicBlocksByPolyxTransactionExtrinsicIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `PolyxTransaction`. */ - polyxTransactionsByCreatedBlockId: PolyxTransactionsConnection; -}; - -/** A `Block` edge in the connection, with data from `PolyxTransaction`. */ -export type ExtrinsicBlocksByPolyxTransactionExtrinsicIdAndCreatedBlockIdManyToManyEdgePolyxTransactionsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `PolyxTransaction`. */ -export type ExtrinsicBlocksByPolyxTransactionExtrinsicIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'ExtrinsicBlocksByPolyxTransactionExtrinsicIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `PolyxTransaction`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `PolyxTransaction`. */ -export type ExtrinsicBlocksByPolyxTransactionExtrinsicIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `PolyxTransaction`. */ -export type ExtrinsicBlocksByPolyxTransactionExtrinsicIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'ExtrinsicBlocksByPolyxTransactionExtrinsicIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `PolyxTransaction`. */ - polyxTransactionsByUpdatedBlockId: PolyxTransactionsConnection; -}; - -/** A `Block` edge in the connection, with data from `PolyxTransaction`. */ -export type ExtrinsicBlocksByPolyxTransactionExtrinsicIdAndUpdatedBlockIdManyToManyEdgePolyxTransactionsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -export type ExtrinsicDistinctCountAggregateFilter = { - address?: InputMaybe; - blockId?: InputMaybe; - callId?: InputMaybe; - createdAt?: InputMaybe; - extrinsicHash?: InputMaybe; - extrinsicIdx?: InputMaybe; - extrinsicLength?: InputMaybe; - id?: InputMaybe; - moduleId?: InputMaybe; - nonce?: InputMaybe; - params?: InputMaybe; - paramsTxt?: InputMaybe; - signed?: InputMaybe; - signedbyAddress?: InputMaybe; - specVersionId?: InputMaybe; - success?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ExtrinsicDistinctCountAggregates = { - __typename?: 'ExtrinsicDistinctCountAggregates'; - /** Distinct count of address across the matching connection */ - address?: Maybe; - /** Distinct count of blockId across the matching connection */ - blockId?: Maybe; - /** Distinct count of callId across the matching connection */ - callId?: Maybe; - /** Distinct count of createdAt across the matching connection */ - createdAt?: Maybe; - /** Distinct count of extrinsicHash across the matching connection */ - extrinsicHash?: Maybe; - /** Distinct count of extrinsicIdx across the matching connection */ - extrinsicIdx?: Maybe; - /** Distinct count of extrinsicLength across the matching connection */ - extrinsicLength?: Maybe; - /** Distinct count of id across the matching connection */ - id?: Maybe; - /** Distinct count of moduleId across the matching connection */ - moduleId?: Maybe; - /** Distinct count of nonce across the matching connection */ - nonce?: Maybe; - /** Distinct count of params across the matching connection */ - params?: Maybe; - /** Distinct count of paramsTxt across the matching connection */ - paramsTxt?: Maybe; - /** Distinct count of signed across the matching connection */ - signed?: Maybe; - /** Distinct count of signedbyAddress across the matching connection */ - signedbyAddress?: Maybe; - /** Distinct count of specVersionId across the matching connection */ - specVersionId?: Maybe; - /** Distinct count of success across the matching connection */ - success?: Maybe; - /** Distinct count of updatedAt across the matching connection */ - updatedAt?: Maybe; -}; - -/** A filter to be used against `Extrinsic` object types. All fields are combined with a logical ‘and.’ */ -export type ExtrinsicFilter = { - /** Filter by the object’s `address` field. */ - address?: InputMaybe; - /** Checks for all expressions in this list. */ - and?: InputMaybe>; - /** Filter by the object’s `block` relation. */ - block?: InputMaybe; - /** Filter by the object’s `blockId` field. */ - blockId?: InputMaybe; - /** Filter by the object’s `callId` field. */ - callId?: InputMaybe; - /** Filter by the object’s `createdAt` field. */ - createdAt?: InputMaybe; - /** Filter by the object’s `events` relation. */ - events?: InputMaybe; - /** Some related `events` exist. */ - eventsExist?: InputMaybe; - /** Filter by the object’s `extrinsicHash` field. */ - extrinsicHash?: InputMaybe; - /** Filter by the object’s `extrinsicIdx` field. */ - extrinsicIdx?: InputMaybe; - /** Filter by the object’s `extrinsicLength` field. */ - extrinsicLength?: InputMaybe; - /** Filter by the object’s `id` field. */ - id?: InputMaybe; - /** Filter by the object’s `moduleId` field. */ - moduleId?: InputMaybe; - /** Filter by the object’s `nonce` field. */ - nonce?: InputMaybe; - /** Negates the expression. */ - not?: InputMaybe; - /** Checks for any expressions in this list. */ - or?: InputMaybe>; - /** Filter by the object’s `params` field. */ - params?: InputMaybe; - /** Filter by the object’s `paramsTxt` field. */ - paramsTxt?: InputMaybe; - /** Filter by the object’s `polyxTransactions` relation. */ - polyxTransactions?: InputMaybe; - /** Some related `polyxTransactions` exist. */ - polyxTransactionsExist?: InputMaybe; - /** Filter by the object’s `signed` field. */ - signed?: InputMaybe; - /** Filter by the object’s `signedbyAddress` field. */ - signedbyAddress?: InputMaybe; - /** Filter by the object’s `specVersionId` field. */ - specVersionId?: InputMaybe; - /** Filter by the object’s `success` field. */ - success?: InputMaybe; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: InputMaybe; -}; - -export type ExtrinsicMaxAggregateFilter = { - extrinsicIdx?: InputMaybe; - extrinsicLength?: InputMaybe; - nonce?: InputMaybe; - signed?: InputMaybe; - signedbyAddress?: InputMaybe; - specVersionId?: InputMaybe; - success?: InputMaybe; -}; - -export type ExtrinsicMaxAggregates = { - __typename?: 'ExtrinsicMaxAggregates'; - /** Maximum of extrinsicIdx across the matching connection */ - extrinsicIdx?: Maybe; - /** Maximum of extrinsicLength across the matching connection */ - extrinsicLength?: Maybe; - /** Maximum of nonce across the matching connection */ - nonce?: Maybe; - /** Maximum of signed across the matching connection */ - signed?: Maybe; - /** Maximum of signedbyAddress across the matching connection */ - signedbyAddress?: Maybe; - /** Maximum of specVersionId across the matching connection */ - specVersionId?: Maybe; - /** Maximum of success across the matching connection */ - success?: Maybe; -}; - -export type ExtrinsicMinAggregateFilter = { - extrinsicIdx?: InputMaybe; - extrinsicLength?: InputMaybe; - nonce?: InputMaybe; - signed?: InputMaybe; - signedbyAddress?: InputMaybe; - specVersionId?: InputMaybe; - success?: InputMaybe; -}; - -export type ExtrinsicMinAggregates = { - __typename?: 'ExtrinsicMinAggregates'; - /** Minimum of extrinsicIdx across the matching connection */ - extrinsicIdx?: Maybe; - /** Minimum of extrinsicLength across the matching connection */ - extrinsicLength?: Maybe; - /** Minimum of nonce across the matching connection */ - nonce?: Maybe; - /** Minimum of signed across the matching connection */ - signed?: Maybe; - /** Minimum of signedbyAddress across the matching connection */ - signedbyAddress?: Maybe; - /** Minimum of specVersionId across the matching connection */ - specVersionId?: Maybe; - /** Minimum of success across the matching connection */ - success?: Maybe; -}; - -export type ExtrinsicStddevPopulationAggregateFilter = { - extrinsicIdx?: InputMaybe; - extrinsicLength?: InputMaybe; - nonce?: InputMaybe; - signed?: InputMaybe; - signedbyAddress?: InputMaybe; - specVersionId?: InputMaybe; - success?: InputMaybe; -}; - -export type ExtrinsicStddevPopulationAggregates = { - __typename?: 'ExtrinsicStddevPopulationAggregates'; - /** Population standard deviation of extrinsicIdx across the matching connection */ - extrinsicIdx?: Maybe; - /** Population standard deviation of extrinsicLength across the matching connection */ - extrinsicLength?: Maybe; - /** Population standard deviation of nonce across the matching connection */ - nonce?: Maybe; - /** Population standard deviation of signed across the matching connection */ - signed?: Maybe; - /** Population standard deviation of signedbyAddress across the matching connection */ - signedbyAddress?: Maybe; - /** Population standard deviation of specVersionId across the matching connection */ - specVersionId?: Maybe; - /** Population standard deviation of success across the matching connection */ - success?: Maybe; -}; - -export type ExtrinsicStddevSampleAggregateFilter = { - extrinsicIdx?: InputMaybe; - extrinsicLength?: InputMaybe; - nonce?: InputMaybe; - signed?: InputMaybe; - signedbyAddress?: InputMaybe; - specVersionId?: InputMaybe; - success?: InputMaybe; -}; - -export type ExtrinsicStddevSampleAggregates = { - __typename?: 'ExtrinsicStddevSampleAggregates'; - /** Sample standard deviation of extrinsicIdx across the matching connection */ - extrinsicIdx?: Maybe; - /** Sample standard deviation of extrinsicLength across the matching connection */ - extrinsicLength?: Maybe; - /** Sample standard deviation of nonce across the matching connection */ - nonce?: Maybe; - /** Sample standard deviation of signed across the matching connection */ - signed?: Maybe; - /** Sample standard deviation of signedbyAddress across the matching connection */ - signedbyAddress?: Maybe; - /** Sample standard deviation of specVersionId across the matching connection */ - specVersionId?: Maybe; - /** Sample standard deviation of success across the matching connection */ - success?: Maybe; -}; - -export type ExtrinsicSumAggregateFilter = { - extrinsicIdx?: InputMaybe; - extrinsicLength?: InputMaybe; - nonce?: InputMaybe; - signed?: InputMaybe; - signedbyAddress?: InputMaybe; - specVersionId?: InputMaybe; - success?: InputMaybe; -}; - -export type ExtrinsicSumAggregates = { - __typename?: 'ExtrinsicSumAggregates'; - /** Sum of extrinsicIdx across the matching connection */ - extrinsicIdx: Scalars['BigInt']['output']; - /** Sum of extrinsicLength across the matching connection */ - extrinsicLength: Scalars['BigInt']['output']; - /** Sum of nonce across the matching connection */ - nonce: Scalars['BigInt']['output']; - /** Sum of signed across the matching connection */ - signed: Scalars['BigInt']['output']; - /** Sum of signedbyAddress across the matching connection */ - signedbyAddress: Scalars['BigInt']['output']; - /** Sum of specVersionId across the matching connection */ - specVersionId: Scalars['BigInt']['output']; - /** Sum of success across the matching connection */ - success: Scalars['BigInt']['output']; -}; - -/** A filter to be used against many `Event` object types. All fields are combined with a logical ‘and.’ */ -export type ExtrinsicToManyEventFilter = { - /** Aggregates across related `Event` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `Event` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `Event` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `Event` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `PolyxTransaction` object types. All fields are combined with a logical ‘and.’ */ -export type ExtrinsicToManyPolyxTransactionFilter = { - /** Aggregates across related `PolyxTransaction` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `PolyxTransaction` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `PolyxTransaction` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `PolyxTransaction` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -export type ExtrinsicVariancePopulationAggregateFilter = { - extrinsicIdx?: InputMaybe; - extrinsicLength?: InputMaybe; - nonce?: InputMaybe; - signed?: InputMaybe; - signedbyAddress?: InputMaybe; - specVersionId?: InputMaybe; - success?: InputMaybe; -}; - -export type ExtrinsicVariancePopulationAggregates = { - __typename?: 'ExtrinsicVariancePopulationAggregates'; - /** Population variance of extrinsicIdx across the matching connection */ - extrinsicIdx?: Maybe; - /** Population variance of extrinsicLength across the matching connection */ - extrinsicLength?: Maybe; - /** Population variance of nonce across the matching connection */ - nonce?: Maybe; - /** Population variance of signed across the matching connection */ - signed?: Maybe; - /** Population variance of signedbyAddress across the matching connection */ - signedbyAddress?: Maybe; - /** Population variance of specVersionId across the matching connection */ - specVersionId?: Maybe; - /** Population variance of success across the matching connection */ - success?: Maybe; -}; - -export type ExtrinsicVarianceSampleAggregateFilter = { - extrinsicIdx?: InputMaybe; - extrinsicLength?: InputMaybe; - nonce?: InputMaybe; - signed?: InputMaybe; - signedbyAddress?: InputMaybe; - specVersionId?: InputMaybe; - success?: InputMaybe; -}; - -export type ExtrinsicVarianceSampleAggregates = { - __typename?: 'ExtrinsicVarianceSampleAggregates'; - /** Sample variance of extrinsicIdx across the matching connection */ - extrinsicIdx?: Maybe; - /** Sample variance of extrinsicLength across the matching connection */ - extrinsicLength?: Maybe; - /** Sample variance of nonce across the matching connection */ - nonce?: Maybe; - /** Sample variance of signed across the matching connection */ - signed?: Maybe; - /** Sample variance of signedbyAddress across the matching connection */ - signedbyAddress?: Maybe; - /** Sample variance of specVersionId across the matching connection */ - specVersionId?: Maybe; - /** Sample variance of success across the matching connection */ - success?: Maybe; -}; - -/** A connection to a list of `Extrinsic` values. */ -export type ExtrinsicsConnection = { - __typename?: 'ExtrinsicsConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Extrinsic` and cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Extrinsic` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Extrinsic` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Extrinsic` values. */ -export type ExtrinsicsConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `Extrinsic` edge in the connection. */ -export type ExtrinsicsEdge = { - __typename?: 'ExtrinsicsEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Extrinsic` at the end of the edge. */ - node?: Maybe; -}; - -/** Grouping methods for `Extrinsic` for usage during aggregation. */ -export enum ExtrinsicsGroupBy { - Address = 'ADDRESS', - BlockId = 'BLOCK_ID', - CallId = 'CALL_ID', - CreatedAt = 'CREATED_AT', - CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', - CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', - ExtrinsicHash = 'EXTRINSIC_HASH', - ExtrinsicIdx = 'EXTRINSIC_IDX', - ExtrinsicLength = 'EXTRINSIC_LENGTH', - ModuleId = 'MODULE_ID', - Nonce = 'NONCE', - Params = 'PARAMS', - ParamsTxt = 'PARAMS_TXT', - Signed = 'SIGNED', - SignedbyAddress = 'SIGNEDBY_ADDRESS', - SpecVersionId = 'SPEC_VERSION_ID', - Success = 'SUCCESS', - UpdatedAt = 'UPDATED_AT', - UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', - UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', -} - -export type ExtrinsicsHavingAverageInput = { - createdAt?: InputMaybe; - extrinsicIdx?: InputMaybe; - extrinsicLength?: InputMaybe; - nonce?: InputMaybe; - signed?: InputMaybe; - signedbyAddress?: InputMaybe; - specVersionId?: InputMaybe; - success?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ExtrinsicsHavingDistinctCountInput = { - createdAt?: InputMaybe; - extrinsicIdx?: InputMaybe; - extrinsicLength?: InputMaybe; - nonce?: InputMaybe; - signed?: InputMaybe; - signedbyAddress?: InputMaybe; - specVersionId?: InputMaybe; - success?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Conditions for `Extrinsic` aggregates. */ -export type ExtrinsicsHavingInput = { - AND?: InputMaybe>; - OR?: InputMaybe>; - average?: InputMaybe; - distinctCount?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddevPopulation?: InputMaybe; - stddevSample?: InputMaybe; - sum?: InputMaybe; - variancePopulation?: InputMaybe; - varianceSample?: InputMaybe; -}; - -export type ExtrinsicsHavingMaxInput = { - createdAt?: InputMaybe; - extrinsicIdx?: InputMaybe; - extrinsicLength?: InputMaybe; - nonce?: InputMaybe; - signed?: InputMaybe; - signedbyAddress?: InputMaybe; - specVersionId?: InputMaybe; - success?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ExtrinsicsHavingMinInput = { - createdAt?: InputMaybe; - extrinsicIdx?: InputMaybe; - extrinsicLength?: InputMaybe; - nonce?: InputMaybe; - signed?: InputMaybe; - signedbyAddress?: InputMaybe; - specVersionId?: InputMaybe; - success?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ExtrinsicsHavingStddevPopulationInput = { - createdAt?: InputMaybe; - extrinsicIdx?: InputMaybe; - extrinsicLength?: InputMaybe; - nonce?: InputMaybe; - signed?: InputMaybe; - signedbyAddress?: InputMaybe; - specVersionId?: InputMaybe; - success?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ExtrinsicsHavingStddevSampleInput = { - createdAt?: InputMaybe; - extrinsicIdx?: InputMaybe; - extrinsicLength?: InputMaybe; - nonce?: InputMaybe; - signed?: InputMaybe; - signedbyAddress?: InputMaybe; - specVersionId?: InputMaybe; - success?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ExtrinsicsHavingSumInput = { - createdAt?: InputMaybe; - extrinsicIdx?: InputMaybe; - extrinsicLength?: InputMaybe; - nonce?: InputMaybe; - signed?: InputMaybe; - signedbyAddress?: InputMaybe; - specVersionId?: InputMaybe; - success?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ExtrinsicsHavingVariancePopulationInput = { - createdAt?: InputMaybe; - extrinsicIdx?: InputMaybe; - extrinsicLength?: InputMaybe; - nonce?: InputMaybe; - signed?: InputMaybe; - signedbyAddress?: InputMaybe; - specVersionId?: InputMaybe; - success?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ExtrinsicsHavingVarianceSampleInput = { - createdAt?: InputMaybe; - extrinsicIdx?: InputMaybe; - extrinsicLength?: InputMaybe; - nonce?: InputMaybe; - signed?: InputMaybe; - signedbyAddress?: InputMaybe; - specVersionId?: InputMaybe; - success?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Methods to use when ordering `Extrinsic`. */ -export enum ExtrinsicsOrderBy { - AddressAsc = 'ADDRESS_ASC', - AddressDesc = 'ADDRESS_DESC', - BlockIdAsc = 'BLOCK_ID_ASC', - BlockIdDesc = 'BLOCK_ID_DESC', - CallIdAsc = 'CALL_ID_ASC', - CallIdDesc = 'CALL_ID_DESC', - CreatedAtAsc = 'CREATED_AT_ASC', - CreatedAtDesc = 'CREATED_AT_DESC', - EventsAverageAttributesAsc = 'EVENTS_AVERAGE_ATTRIBUTES_ASC', - EventsAverageAttributesDesc = 'EVENTS_AVERAGE_ATTRIBUTES_DESC', - EventsAverageAttributesTxtAsc = 'EVENTS_AVERAGE_ATTRIBUTES_TXT_ASC', - EventsAverageAttributesTxtDesc = 'EVENTS_AVERAGE_ATTRIBUTES_TXT_DESC', - EventsAverageBlockIdAsc = 'EVENTS_AVERAGE_BLOCK_ID_ASC', - EventsAverageBlockIdDesc = 'EVENTS_AVERAGE_BLOCK_ID_DESC', - EventsAverageClaimExpiryAsc = 'EVENTS_AVERAGE_CLAIM_EXPIRY_ASC', - EventsAverageClaimExpiryDesc = 'EVENTS_AVERAGE_CLAIM_EXPIRY_DESC', - EventsAverageClaimIssuerAsc = 'EVENTS_AVERAGE_CLAIM_ISSUER_ASC', - EventsAverageClaimIssuerDesc = 'EVENTS_AVERAGE_CLAIM_ISSUER_DESC', - EventsAverageClaimScopeAsc = 'EVENTS_AVERAGE_CLAIM_SCOPE_ASC', - EventsAverageClaimScopeDesc = 'EVENTS_AVERAGE_CLAIM_SCOPE_DESC', - EventsAverageClaimTypeAsc = 'EVENTS_AVERAGE_CLAIM_TYPE_ASC', - EventsAverageClaimTypeDesc = 'EVENTS_AVERAGE_CLAIM_TYPE_DESC', - EventsAverageCorporateActionTickerAsc = 'EVENTS_AVERAGE_CORPORATE_ACTION_TICKER_ASC', - EventsAverageCorporateActionTickerDesc = 'EVENTS_AVERAGE_CORPORATE_ACTION_TICKER_DESC', - EventsAverageCreatedAtAsc = 'EVENTS_AVERAGE_CREATED_AT_ASC', - EventsAverageCreatedAtDesc = 'EVENTS_AVERAGE_CREATED_AT_DESC', - EventsAverageEventArg_0Asc = 'EVENTS_AVERAGE_EVENT_ARG_0_ASC', - EventsAverageEventArg_0Desc = 'EVENTS_AVERAGE_EVENT_ARG_0_DESC', - EventsAverageEventArg_1Asc = 'EVENTS_AVERAGE_EVENT_ARG_1_ASC', - EventsAverageEventArg_1Desc = 'EVENTS_AVERAGE_EVENT_ARG_1_DESC', - EventsAverageEventArg_2Asc = 'EVENTS_AVERAGE_EVENT_ARG_2_ASC', - EventsAverageEventArg_2Desc = 'EVENTS_AVERAGE_EVENT_ARG_2_DESC', - EventsAverageEventArg_3Asc = 'EVENTS_AVERAGE_EVENT_ARG_3_ASC', - EventsAverageEventArg_3Desc = 'EVENTS_AVERAGE_EVENT_ARG_3_DESC', - EventsAverageEventIdxAsc = 'EVENTS_AVERAGE_EVENT_IDX_ASC', - EventsAverageEventIdxDesc = 'EVENTS_AVERAGE_EVENT_IDX_DESC', - EventsAverageEventIdAsc = 'EVENTS_AVERAGE_EVENT_ID_ASC', - EventsAverageEventIdDesc = 'EVENTS_AVERAGE_EVENT_ID_DESC', - EventsAverageExtrinsicIdxAsc = 'EVENTS_AVERAGE_EXTRINSIC_IDX_ASC', - EventsAverageExtrinsicIdxDesc = 'EVENTS_AVERAGE_EXTRINSIC_IDX_DESC', - EventsAverageExtrinsicIdAsc = 'EVENTS_AVERAGE_EXTRINSIC_ID_ASC', - EventsAverageExtrinsicIdDesc = 'EVENTS_AVERAGE_EXTRINSIC_ID_DESC', - EventsAverageFundraiserOfferingAssetAsc = 'EVENTS_AVERAGE_FUNDRAISER_OFFERING_ASSET_ASC', - EventsAverageFundraiserOfferingAssetDesc = 'EVENTS_AVERAGE_FUNDRAISER_OFFERING_ASSET_DESC', - EventsAverageIdAsc = 'EVENTS_AVERAGE_ID_ASC', - EventsAverageIdDesc = 'EVENTS_AVERAGE_ID_DESC', - EventsAverageModuleIdAsc = 'EVENTS_AVERAGE_MODULE_ID_ASC', - EventsAverageModuleIdDesc = 'EVENTS_AVERAGE_MODULE_ID_DESC', - EventsAverageSpecVersionIdAsc = 'EVENTS_AVERAGE_SPEC_VERSION_ID_ASC', - EventsAverageSpecVersionIdDesc = 'EVENTS_AVERAGE_SPEC_VERSION_ID_DESC', - EventsAverageTransferToAsc = 'EVENTS_AVERAGE_TRANSFER_TO_ASC', - EventsAverageTransferToDesc = 'EVENTS_AVERAGE_TRANSFER_TO_DESC', - EventsAverageUpdatedAtAsc = 'EVENTS_AVERAGE_UPDATED_AT_ASC', - EventsAverageUpdatedAtDesc = 'EVENTS_AVERAGE_UPDATED_AT_DESC', - EventsCountAsc = 'EVENTS_COUNT_ASC', - EventsCountDesc = 'EVENTS_COUNT_DESC', - EventsDistinctCountAttributesAsc = 'EVENTS_DISTINCT_COUNT_ATTRIBUTES_ASC', - EventsDistinctCountAttributesDesc = 'EVENTS_DISTINCT_COUNT_ATTRIBUTES_DESC', - EventsDistinctCountAttributesTxtAsc = 'EVENTS_DISTINCT_COUNT_ATTRIBUTES_TXT_ASC', - EventsDistinctCountAttributesTxtDesc = 'EVENTS_DISTINCT_COUNT_ATTRIBUTES_TXT_DESC', - EventsDistinctCountBlockIdAsc = 'EVENTS_DISTINCT_COUNT_BLOCK_ID_ASC', - EventsDistinctCountBlockIdDesc = 'EVENTS_DISTINCT_COUNT_BLOCK_ID_DESC', - EventsDistinctCountClaimExpiryAsc = 'EVENTS_DISTINCT_COUNT_CLAIM_EXPIRY_ASC', - EventsDistinctCountClaimExpiryDesc = 'EVENTS_DISTINCT_COUNT_CLAIM_EXPIRY_DESC', - EventsDistinctCountClaimIssuerAsc = 'EVENTS_DISTINCT_COUNT_CLAIM_ISSUER_ASC', - EventsDistinctCountClaimIssuerDesc = 'EVENTS_DISTINCT_COUNT_CLAIM_ISSUER_DESC', - EventsDistinctCountClaimScopeAsc = 'EVENTS_DISTINCT_COUNT_CLAIM_SCOPE_ASC', - EventsDistinctCountClaimScopeDesc = 'EVENTS_DISTINCT_COUNT_CLAIM_SCOPE_DESC', - EventsDistinctCountClaimTypeAsc = 'EVENTS_DISTINCT_COUNT_CLAIM_TYPE_ASC', - EventsDistinctCountClaimTypeDesc = 'EVENTS_DISTINCT_COUNT_CLAIM_TYPE_DESC', - EventsDistinctCountCorporateActionTickerAsc = 'EVENTS_DISTINCT_COUNT_CORPORATE_ACTION_TICKER_ASC', - EventsDistinctCountCorporateActionTickerDesc = 'EVENTS_DISTINCT_COUNT_CORPORATE_ACTION_TICKER_DESC', - EventsDistinctCountCreatedAtAsc = 'EVENTS_DISTINCT_COUNT_CREATED_AT_ASC', - EventsDistinctCountCreatedAtDesc = 'EVENTS_DISTINCT_COUNT_CREATED_AT_DESC', - EventsDistinctCountEventArg_0Asc = 'EVENTS_DISTINCT_COUNT_EVENT_ARG_0_ASC', - EventsDistinctCountEventArg_0Desc = 'EVENTS_DISTINCT_COUNT_EVENT_ARG_0_DESC', - EventsDistinctCountEventArg_1Asc = 'EVENTS_DISTINCT_COUNT_EVENT_ARG_1_ASC', - EventsDistinctCountEventArg_1Desc = 'EVENTS_DISTINCT_COUNT_EVENT_ARG_1_DESC', - EventsDistinctCountEventArg_2Asc = 'EVENTS_DISTINCT_COUNT_EVENT_ARG_2_ASC', - EventsDistinctCountEventArg_2Desc = 'EVENTS_DISTINCT_COUNT_EVENT_ARG_2_DESC', - EventsDistinctCountEventArg_3Asc = 'EVENTS_DISTINCT_COUNT_EVENT_ARG_3_ASC', - EventsDistinctCountEventArg_3Desc = 'EVENTS_DISTINCT_COUNT_EVENT_ARG_3_DESC', - EventsDistinctCountEventIdxAsc = 'EVENTS_DISTINCT_COUNT_EVENT_IDX_ASC', - EventsDistinctCountEventIdxDesc = 'EVENTS_DISTINCT_COUNT_EVENT_IDX_DESC', - EventsDistinctCountEventIdAsc = 'EVENTS_DISTINCT_COUNT_EVENT_ID_ASC', - EventsDistinctCountEventIdDesc = 'EVENTS_DISTINCT_COUNT_EVENT_ID_DESC', - EventsDistinctCountExtrinsicIdxAsc = 'EVENTS_DISTINCT_COUNT_EXTRINSIC_IDX_ASC', - EventsDistinctCountExtrinsicIdxDesc = 'EVENTS_DISTINCT_COUNT_EXTRINSIC_IDX_DESC', - EventsDistinctCountExtrinsicIdAsc = 'EVENTS_DISTINCT_COUNT_EXTRINSIC_ID_ASC', - EventsDistinctCountExtrinsicIdDesc = 'EVENTS_DISTINCT_COUNT_EXTRINSIC_ID_DESC', - EventsDistinctCountFundraiserOfferingAssetAsc = 'EVENTS_DISTINCT_COUNT_FUNDRAISER_OFFERING_ASSET_ASC', - EventsDistinctCountFundraiserOfferingAssetDesc = 'EVENTS_DISTINCT_COUNT_FUNDRAISER_OFFERING_ASSET_DESC', - EventsDistinctCountIdAsc = 'EVENTS_DISTINCT_COUNT_ID_ASC', - EventsDistinctCountIdDesc = 'EVENTS_DISTINCT_COUNT_ID_DESC', - EventsDistinctCountModuleIdAsc = 'EVENTS_DISTINCT_COUNT_MODULE_ID_ASC', - EventsDistinctCountModuleIdDesc = 'EVENTS_DISTINCT_COUNT_MODULE_ID_DESC', - EventsDistinctCountSpecVersionIdAsc = 'EVENTS_DISTINCT_COUNT_SPEC_VERSION_ID_ASC', - EventsDistinctCountSpecVersionIdDesc = 'EVENTS_DISTINCT_COUNT_SPEC_VERSION_ID_DESC', - EventsDistinctCountTransferToAsc = 'EVENTS_DISTINCT_COUNT_TRANSFER_TO_ASC', - EventsDistinctCountTransferToDesc = 'EVENTS_DISTINCT_COUNT_TRANSFER_TO_DESC', - EventsDistinctCountUpdatedAtAsc = 'EVENTS_DISTINCT_COUNT_UPDATED_AT_ASC', - EventsDistinctCountUpdatedAtDesc = 'EVENTS_DISTINCT_COUNT_UPDATED_AT_DESC', - EventsMaxAttributesAsc = 'EVENTS_MAX_ATTRIBUTES_ASC', - EventsMaxAttributesDesc = 'EVENTS_MAX_ATTRIBUTES_DESC', - EventsMaxAttributesTxtAsc = 'EVENTS_MAX_ATTRIBUTES_TXT_ASC', - EventsMaxAttributesTxtDesc = 'EVENTS_MAX_ATTRIBUTES_TXT_DESC', - EventsMaxBlockIdAsc = 'EVENTS_MAX_BLOCK_ID_ASC', - EventsMaxBlockIdDesc = 'EVENTS_MAX_BLOCK_ID_DESC', - EventsMaxClaimExpiryAsc = 'EVENTS_MAX_CLAIM_EXPIRY_ASC', - EventsMaxClaimExpiryDesc = 'EVENTS_MAX_CLAIM_EXPIRY_DESC', - EventsMaxClaimIssuerAsc = 'EVENTS_MAX_CLAIM_ISSUER_ASC', - EventsMaxClaimIssuerDesc = 'EVENTS_MAX_CLAIM_ISSUER_DESC', - EventsMaxClaimScopeAsc = 'EVENTS_MAX_CLAIM_SCOPE_ASC', - EventsMaxClaimScopeDesc = 'EVENTS_MAX_CLAIM_SCOPE_DESC', - EventsMaxClaimTypeAsc = 'EVENTS_MAX_CLAIM_TYPE_ASC', - EventsMaxClaimTypeDesc = 'EVENTS_MAX_CLAIM_TYPE_DESC', - EventsMaxCorporateActionTickerAsc = 'EVENTS_MAX_CORPORATE_ACTION_TICKER_ASC', - EventsMaxCorporateActionTickerDesc = 'EVENTS_MAX_CORPORATE_ACTION_TICKER_DESC', - EventsMaxCreatedAtAsc = 'EVENTS_MAX_CREATED_AT_ASC', - EventsMaxCreatedAtDesc = 'EVENTS_MAX_CREATED_AT_DESC', - EventsMaxEventArg_0Asc = 'EVENTS_MAX_EVENT_ARG_0_ASC', - EventsMaxEventArg_0Desc = 'EVENTS_MAX_EVENT_ARG_0_DESC', - EventsMaxEventArg_1Asc = 'EVENTS_MAX_EVENT_ARG_1_ASC', - EventsMaxEventArg_1Desc = 'EVENTS_MAX_EVENT_ARG_1_DESC', - EventsMaxEventArg_2Asc = 'EVENTS_MAX_EVENT_ARG_2_ASC', - EventsMaxEventArg_2Desc = 'EVENTS_MAX_EVENT_ARG_2_DESC', - EventsMaxEventArg_3Asc = 'EVENTS_MAX_EVENT_ARG_3_ASC', - EventsMaxEventArg_3Desc = 'EVENTS_MAX_EVENT_ARG_3_DESC', - EventsMaxEventIdxAsc = 'EVENTS_MAX_EVENT_IDX_ASC', - EventsMaxEventIdxDesc = 'EVENTS_MAX_EVENT_IDX_DESC', - EventsMaxEventIdAsc = 'EVENTS_MAX_EVENT_ID_ASC', - EventsMaxEventIdDesc = 'EVENTS_MAX_EVENT_ID_DESC', - EventsMaxExtrinsicIdxAsc = 'EVENTS_MAX_EXTRINSIC_IDX_ASC', - EventsMaxExtrinsicIdxDesc = 'EVENTS_MAX_EXTRINSIC_IDX_DESC', - EventsMaxExtrinsicIdAsc = 'EVENTS_MAX_EXTRINSIC_ID_ASC', - EventsMaxExtrinsicIdDesc = 'EVENTS_MAX_EXTRINSIC_ID_DESC', - EventsMaxFundraiserOfferingAssetAsc = 'EVENTS_MAX_FUNDRAISER_OFFERING_ASSET_ASC', - EventsMaxFundraiserOfferingAssetDesc = 'EVENTS_MAX_FUNDRAISER_OFFERING_ASSET_DESC', - EventsMaxIdAsc = 'EVENTS_MAX_ID_ASC', - EventsMaxIdDesc = 'EVENTS_MAX_ID_DESC', - EventsMaxModuleIdAsc = 'EVENTS_MAX_MODULE_ID_ASC', - EventsMaxModuleIdDesc = 'EVENTS_MAX_MODULE_ID_DESC', - EventsMaxSpecVersionIdAsc = 'EVENTS_MAX_SPEC_VERSION_ID_ASC', - EventsMaxSpecVersionIdDesc = 'EVENTS_MAX_SPEC_VERSION_ID_DESC', - EventsMaxTransferToAsc = 'EVENTS_MAX_TRANSFER_TO_ASC', - EventsMaxTransferToDesc = 'EVENTS_MAX_TRANSFER_TO_DESC', - EventsMaxUpdatedAtAsc = 'EVENTS_MAX_UPDATED_AT_ASC', - EventsMaxUpdatedAtDesc = 'EVENTS_MAX_UPDATED_AT_DESC', - EventsMinAttributesAsc = 'EVENTS_MIN_ATTRIBUTES_ASC', - EventsMinAttributesDesc = 'EVENTS_MIN_ATTRIBUTES_DESC', - EventsMinAttributesTxtAsc = 'EVENTS_MIN_ATTRIBUTES_TXT_ASC', - EventsMinAttributesTxtDesc = 'EVENTS_MIN_ATTRIBUTES_TXT_DESC', - EventsMinBlockIdAsc = 'EVENTS_MIN_BLOCK_ID_ASC', - EventsMinBlockIdDesc = 'EVENTS_MIN_BLOCK_ID_DESC', - EventsMinClaimExpiryAsc = 'EVENTS_MIN_CLAIM_EXPIRY_ASC', - EventsMinClaimExpiryDesc = 'EVENTS_MIN_CLAIM_EXPIRY_DESC', - EventsMinClaimIssuerAsc = 'EVENTS_MIN_CLAIM_ISSUER_ASC', - EventsMinClaimIssuerDesc = 'EVENTS_MIN_CLAIM_ISSUER_DESC', - EventsMinClaimScopeAsc = 'EVENTS_MIN_CLAIM_SCOPE_ASC', - EventsMinClaimScopeDesc = 'EVENTS_MIN_CLAIM_SCOPE_DESC', - EventsMinClaimTypeAsc = 'EVENTS_MIN_CLAIM_TYPE_ASC', - EventsMinClaimTypeDesc = 'EVENTS_MIN_CLAIM_TYPE_DESC', - EventsMinCorporateActionTickerAsc = 'EVENTS_MIN_CORPORATE_ACTION_TICKER_ASC', - EventsMinCorporateActionTickerDesc = 'EVENTS_MIN_CORPORATE_ACTION_TICKER_DESC', - EventsMinCreatedAtAsc = 'EVENTS_MIN_CREATED_AT_ASC', - EventsMinCreatedAtDesc = 'EVENTS_MIN_CREATED_AT_DESC', - EventsMinEventArg_0Asc = 'EVENTS_MIN_EVENT_ARG_0_ASC', - EventsMinEventArg_0Desc = 'EVENTS_MIN_EVENT_ARG_0_DESC', - EventsMinEventArg_1Asc = 'EVENTS_MIN_EVENT_ARG_1_ASC', - EventsMinEventArg_1Desc = 'EVENTS_MIN_EVENT_ARG_1_DESC', - EventsMinEventArg_2Asc = 'EVENTS_MIN_EVENT_ARG_2_ASC', - EventsMinEventArg_2Desc = 'EVENTS_MIN_EVENT_ARG_2_DESC', - EventsMinEventArg_3Asc = 'EVENTS_MIN_EVENT_ARG_3_ASC', - EventsMinEventArg_3Desc = 'EVENTS_MIN_EVENT_ARG_3_DESC', - EventsMinEventIdxAsc = 'EVENTS_MIN_EVENT_IDX_ASC', - EventsMinEventIdxDesc = 'EVENTS_MIN_EVENT_IDX_DESC', - EventsMinEventIdAsc = 'EVENTS_MIN_EVENT_ID_ASC', - EventsMinEventIdDesc = 'EVENTS_MIN_EVENT_ID_DESC', - EventsMinExtrinsicIdxAsc = 'EVENTS_MIN_EXTRINSIC_IDX_ASC', - EventsMinExtrinsicIdxDesc = 'EVENTS_MIN_EXTRINSIC_IDX_DESC', - EventsMinExtrinsicIdAsc = 'EVENTS_MIN_EXTRINSIC_ID_ASC', - EventsMinExtrinsicIdDesc = 'EVENTS_MIN_EXTRINSIC_ID_DESC', - EventsMinFundraiserOfferingAssetAsc = 'EVENTS_MIN_FUNDRAISER_OFFERING_ASSET_ASC', - EventsMinFundraiserOfferingAssetDesc = 'EVENTS_MIN_FUNDRAISER_OFFERING_ASSET_DESC', - EventsMinIdAsc = 'EVENTS_MIN_ID_ASC', - EventsMinIdDesc = 'EVENTS_MIN_ID_DESC', - EventsMinModuleIdAsc = 'EVENTS_MIN_MODULE_ID_ASC', - EventsMinModuleIdDesc = 'EVENTS_MIN_MODULE_ID_DESC', - EventsMinSpecVersionIdAsc = 'EVENTS_MIN_SPEC_VERSION_ID_ASC', - EventsMinSpecVersionIdDesc = 'EVENTS_MIN_SPEC_VERSION_ID_DESC', - EventsMinTransferToAsc = 'EVENTS_MIN_TRANSFER_TO_ASC', - EventsMinTransferToDesc = 'EVENTS_MIN_TRANSFER_TO_DESC', - EventsMinUpdatedAtAsc = 'EVENTS_MIN_UPDATED_AT_ASC', - EventsMinUpdatedAtDesc = 'EVENTS_MIN_UPDATED_AT_DESC', - EventsStddevPopulationAttributesAsc = 'EVENTS_STDDEV_POPULATION_ATTRIBUTES_ASC', - EventsStddevPopulationAttributesDesc = 'EVENTS_STDDEV_POPULATION_ATTRIBUTES_DESC', - EventsStddevPopulationAttributesTxtAsc = 'EVENTS_STDDEV_POPULATION_ATTRIBUTES_TXT_ASC', - EventsStddevPopulationAttributesTxtDesc = 'EVENTS_STDDEV_POPULATION_ATTRIBUTES_TXT_DESC', - EventsStddevPopulationBlockIdAsc = 'EVENTS_STDDEV_POPULATION_BLOCK_ID_ASC', - EventsStddevPopulationBlockIdDesc = 'EVENTS_STDDEV_POPULATION_BLOCK_ID_DESC', - EventsStddevPopulationClaimExpiryAsc = 'EVENTS_STDDEV_POPULATION_CLAIM_EXPIRY_ASC', - EventsStddevPopulationClaimExpiryDesc = 'EVENTS_STDDEV_POPULATION_CLAIM_EXPIRY_DESC', - EventsStddevPopulationClaimIssuerAsc = 'EVENTS_STDDEV_POPULATION_CLAIM_ISSUER_ASC', - EventsStddevPopulationClaimIssuerDesc = 'EVENTS_STDDEV_POPULATION_CLAIM_ISSUER_DESC', - EventsStddevPopulationClaimScopeAsc = 'EVENTS_STDDEV_POPULATION_CLAIM_SCOPE_ASC', - EventsStddevPopulationClaimScopeDesc = 'EVENTS_STDDEV_POPULATION_CLAIM_SCOPE_DESC', - EventsStddevPopulationClaimTypeAsc = 'EVENTS_STDDEV_POPULATION_CLAIM_TYPE_ASC', - EventsStddevPopulationClaimTypeDesc = 'EVENTS_STDDEV_POPULATION_CLAIM_TYPE_DESC', - EventsStddevPopulationCorporateActionTickerAsc = 'EVENTS_STDDEV_POPULATION_CORPORATE_ACTION_TICKER_ASC', - EventsStddevPopulationCorporateActionTickerDesc = 'EVENTS_STDDEV_POPULATION_CORPORATE_ACTION_TICKER_DESC', - EventsStddevPopulationCreatedAtAsc = 'EVENTS_STDDEV_POPULATION_CREATED_AT_ASC', - EventsStddevPopulationCreatedAtDesc = 'EVENTS_STDDEV_POPULATION_CREATED_AT_DESC', - EventsStddevPopulationEventArg_0Asc = 'EVENTS_STDDEV_POPULATION_EVENT_ARG_0_ASC', - EventsStddevPopulationEventArg_0Desc = 'EVENTS_STDDEV_POPULATION_EVENT_ARG_0_DESC', - EventsStddevPopulationEventArg_1Asc = 'EVENTS_STDDEV_POPULATION_EVENT_ARG_1_ASC', - EventsStddevPopulationEventArg_1Desc = 'EVENTS_STDDEV_POPULATION_EVENT_ARG_1_DESC', - EventsStddevPopulationEventArg_2Asc = 'EVENTS_STDDEV_POPULATION_EVENT_ARG_2_ASC', - EventsStddevPopulationEventArg_2Desc = 'EVENTS_STDDEV_POPULATION_EVENT_ARG_2_DESC', - EventsStddevPopulationEventArg_3Asc = 'EVENTS_STDDEV_POPULATION_EVENT_ARG_3_ASC', - EventsStddevPopulationEventArg_3Desc = 'EVENTS_STDDEV_POPULATION_EVENT_ARG_3_DESC', - EventsStddevPopulationEventIdxAsc = 'EVENTS_STDDEV_POPULATION_EVENT_IDX_ASC', - EventsStddevPopulationEventIdxDesc = 'EVENTS_STDDEV_POPULATION_EVENT_IDX_DESC', - EventsStddevPopulationEventIdAsc = 'EVENTS_STDDEV_POPULATION_EVENT_ID_ASC', - EventsStddevPopulationEventIdDesc = 'EVENTS_STDDEV_POPULATION_EVENT_ID_DESC', - EventsStddevPopulationExtrinsicIdxAsc = 'EVENTS_STDDEV_POPULATION_EXTRINSIC_IDX_ASC', - EventsStddevPopulationExtrinsicIdxDesc = 'EVENTS_STDDEV_POPULATION_EXTRINSIC_IDX_DESC', - EventsStddevPopulationExtrinsicIdAsc = 'EVENTS_STDDEV_POPULATION_EXTRINSIC_ID_ASC', - EventsStddevPopulationExtrinsicIdDesc = 'EVENTS_STDDEV_POPULATION_EXTRINSIC_ID_DESC', - EventsStddevPopulationFundraiserOfferingAssetAsc = 'EVENTS_STDDEV_POPULATION_FUNDRAISER_OFFERING_ASSET_ASC', - EventsStddevPopulationFundraiserOfferingAssetDesc = 'EVENTS_STDDEV_POPULATION_FUNDRAISER_OFFERING_ASSET_DESC', - EventsStddevPopulationIdAsc = 'EVENTS_STDDEV_POPULATION_ID_ASC', - EventsStddevPopulationIdDesc = 'EVENTS_STDDEV_POPULATION_ID_DESC', - EventsStddevPopulationModuleIdAsc = 'EVENTS_STDDEV_POPULATION_MODULE_ID_ASC', - EventsStddevPopulationModuleIdDesc = 'EVENTS_STDDEV_POPULATION_MODULE_ID_DESC', - EventsStddevPopulationSpecVersionIdAsc = 'EVENTS_STDDEV_POPULATION_SPEC_VERSION_ID_ASC', - EventsStddevPopulationSpecVersionIdDesc = 'EVENTS_STDDEV_POPULATION_SPEC_VERSION_ID_DESC', - EventsStddevPopulationTransferToAsc = 'EVENTS_STDDEV_POPULATION_TRANSFER_TO_ASC', - EventsStddevPopulationTransferToDesc = 'EVENTS_STDDEV_POPULATION_TRANSFER_TO_DESC', - EventsStddevPopulationUpdatedAtAsc = 'EVENTS_STDDEV_POPULATION_UPDATED_AT_ASC', - EventsStddevPopulationUpdatedAtDesc = 'EVENTS_STDDEV_POPULATION_UPDATED_AT_DESC', - EventsStddevSampleAttributesAsc = 'EVENTS_STDDEV_SAMPLE_ATTRIBUTES_ASC', - EventsStddevSampleAttributesDesc = 'EVENTS_STDDEV_SAMPLE_ATTRIBUTES_DESC', - EventsStddevSampleAttributesTxtAsc = 'EVENTS_STDDEV_SAMPLE_ATTRIBUTES_TXT_ASC', - EventsStddevSampleAttributesTxtDesc = 'EVENTS_STDDEV_SAMPLE_ATTRIBUTES_TXT_DESC', - EventsStddevSampleBlockIdAsc = 'EVENTS_STDDEV_SAMPLE_BLOCK_ID_ASC', - EventsStddevSampleBlockIdDesc = 'EVENTS_STDDEV_SAMPLE_BLOCK_ID_DESC', - EventsStddevSampleClaimExpiryAsc = 'EVENTS_STDDEV_SAMPLE_CLAIM_EXPIRY_ASC', - EventsStddevSampleClaimExpiryDesc = 'EVENTS_STDDEV_SAMPLE_CLAIM_EXPIRY_DESC', - EventsStddevSampleClaimIssuerAsc = 'EVENTS_STDDEV_SAMPLE_CLAIM_ISSUER_ASC', - EventsStddevSampleClaimIssuerDesc = 'EVENTS_STDDEV_SAMPLE_CLAIM_ISSUER_DESC', - EventsStddevSampleClaimScopeAsc = 'EVENTS_STDDEV_SAMPLE_CLAIM_SCOPE_ASC', - EventsStddevSampleClaimScopeDesc = 'EVENTS_STDDEV_SAMPLE_CLAIM_SCOPE_DESC', - EventsStddevSampleClaimTypeAsc = 'EVENTS_STDDEV_SAMPLE_CLAIM_TYPE_ASC', - EventsStddevSampleClaimTypeDesc = 'EVENTS_STDDEV_SAMPLE_CLAIM_TYPE_DESC', - EventsStddevSampleCorporateActionTickerAsc = 'EVENTS_STDDEV_SAMPLE_CORPORATE_ACTION_TICKER_ASC', - EventsStddevSampleCorporateActionTickerDesc = 'EVENTS_STDDEV_SAMPLE_CORPORATE_ACTION_TICKER_DESC', - EventsStddevSampleCreatedAtAsc = 'EVENTS_STDDEV_SAMPLE_CREATED_AT_ASC', - EventsStddevSampleCreatedAtDesc = 'EVENTS_STDDEV_SAMPLE_CREATED_AT_DESC', - EventsStddevSampleEventArg_0Asc = 'EVENTS_STDDEV_SAMPLE_EVENT_ARG_0_ASC', - EventsStddevSampleEventArg_0Desc = 'EVENTS_STDDEV_SAMPLE_EVENT_ARG_0_DESC', - EventsStddevSampleEventArg_1Asc = 'EVENTS_STDDEV_SAMPLE_EVENT_ARG_1_ASC', - EventsStddevSampleEventArg_1Desc = 'EVENTS_STDDEV_SAMPLE_EVENT_ARG_1_DESC', - EventsStddevSampleEventArg_2Asc = 'EVENTS_STDDEV_SAMPLE_EVENT_ARG_2_ASC', - EventsStddevSampleEventArg_2Desc = 'EVENTS_STDDEV_SAMPLE_EVENT_ARG_2_DESC', - EventsStddevSampleEventArg_3Asc = 'EVENTS_STDDEV_SAMPLE_EVENT_ARG_3_ASC', - EventsStddevSampleEventArg_3Desc = 'EVENTS_STDDEV_SAMPLE_EVENT_ARG_3_DESC', - EventsStddevSampleEventIdxAsc = 'EVENTS_STDDEV_SAMPLE_EVENT_IDX_ASC', - EventsStddevSampleEventIdxDesc = 'EVENTS_STDDEV_SAMPLE_EVENT_IDX_DESC', - EventsStddevSampleEventIdAsc = 'EVENTS_STDDEV_SAMPLE_EVENT_ID_ASC', - EventsStddevSampleEventIdDesc = 'EVENTS_STDDEV_SAMPLE_EVENT_ID_DESC', - EventsStddevSampleExtrinsicIdxAsc = 'EVENTS_STDDEV_SAMPLE_EXTRINSIC_IDX_ASC', - EventsStddevSampleExtrinsicIdxDesc = 'EVENTS_STDDEV_SAMPLE_EXTRINSIC_IDX_DESC', - EventsStddevSampleExtrinsicIdAsc = 'EVENTS_STDDEV_SAMPLE_EXTRINSIC_ID_ASC', - EventsStddevSampleExtrinsicIdDesc = 'EVENTS_STDDEV_SAMPLE_EXTRINSIC_ID_DESC', - EventsStddevSampleFundraiserOfferingAssetAsc = 'EVENTS_STDDEV_SAMPLE_FUNDRAISER_OFFERING_ASSET_ASC', - EventsStddevSampleFundraiserOfferingAssetDesc = 'EVENTS_STDDEV_SAMPLE_FUNDRAISER_OFFERING_ASSET_DESC', - EventsStddevSampleIdAsc = 'EVENTS_STDDEV_SAMPLE_ID_ASC', - EventsStddevSampleIdDesc = 'EVENTS_STDDEV_SAMPLE_ID_DESC', - EventsStddevSampleModuleIdAsc = 'EVENTS_STDDEV_SAMPLE_MODULE_ID_ASC', - EventsStddevSampleModuleIdDesc = 'EVENTS_STDDEV_SAMPLE_MODULE_ID_DESC', - EventsStddevSampleSpecVersionIdAsc = 'EVENTS_STDDEV_SAMPLE_SPEC_VERSION_ID_ASC', - EventsStddevSampleSpecVersionIdDesc = 'EVENTS_STDDEV_SAMPLE_SPEC_VERSION_ID_DESC', - EventsStddevSampleTransferToAsc = 'EVENTS_STDDEV_SAMPLE_TRANSFER_TO_ASC', - EventsStddevSampleTransferToDesc = 'EVENTS_STDDEV_SAMPLE_TRANSFER_TO_DESC', - EventsStddevSampleUpdatedAtAsc = 'EVENTS_STDDEV_SAMPLE_UPDATED_AT_ASC', - EventsStddevSampleUpdatedAtDesc = 'EVENTS_STDDEV_SAMPLE_UPDATED_AT_DESC', - EventsSumAttributesAsc = 'EVENTS_SUM_ATTRIBUTES_ASC', - EventsSumAttributesDesc = 'EVENTS_SUM_ATTRIBUTES_DESC', - EventsSumAttributesTxtAsc = 'EVENTS_SUM_ATTRIBUTES_TXT_ASC', - EventsSumAttributesTxtDesc = 'EVENTS_SUM_ATTRIBUTES_TXT_DESC', - EventsSumBlockIdAsc = 'EVENTS_SUM_BLOCK_ID_ASC', - EventsSumBlockIdDesc = 'EVENTS_SUM_BLOCK_ID_DESC', - EventsSumClaimExpiryAsc = 'EVENTS_SUM_CLAIM_EXPIRY_ASC', - EventsSumClaimExpiryDesc = 'EVENTS_SUM_CLAIM_EXPIRY_DESC', - EventsSumClaimIssuerAsc = 'EVENTS_SUM_CLAIM_ISSUER_ASC', - EventsSumClaimIssuerDesc = 'EVENTS_SUM_CLAIM_ISSUER_DESC', - EventsSumClaimScopeAsc = 'EVENTS_SUM_CLAIM_SCOPE_ASC', - EventsSumClaimScopeDesc = 'EVENTS_SUM_CLAIM_SCOPE_DESC', - EventsSumClaimTypeAsc = 'EVENTS_SUM_CLAIM_TYPE_ASC', - EventsSumClaimTypeDesc = 'EVENTS_SUM_CLAIM_TYPE_DESC', - EventsSumCorporateActionTickerAsc = 'EVENTS_SUM_CORPORATE_ACTION_TICKER_ASC', - EventsSumCorporateActionTickerDesc = 'EVENTS_SUM_CORPORATE_ACTION_TICKER_DESC', - EventsSumCreatedAtAsc = 'EVENTS_SUM_CREATED_AT_ASC', - EventsSumCreatedAtDesc = 'EVENTS_SUM_CREATED_AT_DESC', - EventsSumEventArg_0Asc = 'EVENTS_SUM_EVENT_ARG_0_ASC', - EventsSumEventArg_0Desc = 'EVENTS_SUM_EVENT_ARG_0_DESC', - EventsSumEventArg_1Asc = 'EVENTS_SUM_EVENT_ARG_1_ASC', - EventsSumEventArg_1Desc = 'EVENTS_SUM_EVENT_ARG_1_DESC', - EventsSumEventArg_2Asc = 'EVENTS_SUM_EVENT_ARG_2_ASC', - EventsSumEventArg_2Desc = 'EVENTS_SUM_EVENT_ARG_2_DESC', - EventsSumEventArg_3Asc = 'EVENTS_SUM_EVENT_ARG_3_ASC', - EventsSumEventArg_3Desc = 'EVENTS_SUM_EVENT_ARG_3_DESC', - EventsSumEventIdxAsc = 'EVENTS_SUM_EVENT_IDX_ASC', - EventsSumEventIdxDesc = 'EVENTS_SUM_EVENT_IDX_DESC', - EventsSumEventIdAsc = 'EVENTS_SUM_EVENT_ID_ASC', - EventsSumEventIdDesc = 'EVENTS_SUM_EVENT_ID_DESC', - EventsSumExtrinsicIdxAsc = 'EVENTS_SUM_EXTRINSIC_IDX_ASC', - EventsSumExtrinsicIdxDesc = 'EVENTS_SUM_EXTRINSIC_IDX_DESC', - EventsSumExtrinsicIdAsc = 'EVENTS_SUM_EXTRINSIC_ID_ASC', - EventsSumExtrinsicIdDesc = 'EVENTS_SUM_EXTRINSIC_ID_DESC', - EventsSumFundraiserOfferingAssetAsc = 'EVENTS_SUM_FUNDRAISER_OFFERING_ASSET_ASC', - EventsSumFundraiserOfferingAssetDesc = 'EVENTS_SUM_FUNDRAISER_OFFERING_ASSET_DESC', - EventsSumIdAsc = 'EVENTS_SUM_ID_ASC', - EventsSumIdDesc = 'EVENTS_SUM_ID_DESC', - EventsSumModuleIdAsc = 'EVENTS_SUM_MODULE_ID_ASC', - EventsSumModuleIdDesc = 'EVENTS_SUM_MODULE_ID_DESC', - EventsSumSpecVersionIdAsc = 'EVENTS_SUM_SPEC_VERSION_ID_ASC', - EventsSumSpecVersionIdDesc = 'EVENTS_SUM_SPEC_VERSION_ID_DESC', - EventsSumTransferToAsc = 'EVENTS_SUM_TRANSFER_TO_ASC', - EventsSumTransferToDesc = 'EVENTS_SUM_TRANSFER_TO_DESC', - EventsSumUpdatedAtAsc = 'EVENTS_SUM_UPDATED_AT_ASC', - EventsSumUpdatedAtDesc = 'EVENTS_SUM_UPDATED_AT_DESC', - EventsVariancePopulationAttributesAsc = 'EVENTS_VARIANCE_POPULATION_ATTRIBUTES_ASC', - EventsVariancePopulationAttributesDesc = 'EVENTS_VARIANCE_POPULATION_ATTRIBUTES_DESC', - EventsVariancePopulationAttributesTxtAsc = 'EVENTS_VARIANCE_POPULATION_ATTRIBUTES_TXT_ASC', - EventsVariancePopulationAttributesTxtDesc = 'EVENTS_VARIANCE_POPULATION_ATTRIBUTES_TXT_DESC', - EventsVariancePopulationBlockIdAsc = 'EVENTS_VARIANCE_POPULATION_BLOCK_ID_ASC', - EventsVariancePopulationBlockIdDesc = 'EVENTS_VARIANCE_POPULATION_BLOCK_ID_DESC', - EventsVariancePopulationClaimExpiryAsc = 'EVENTS_VARIANCE_POPULATION_CLAIM_EXPIRY_ASC', - EventsVariancePopulationClaimExpiryDesc = 'EVENTS_VARIANCE_POPULATION_CLAIM_EXPIRY_DESC', - EventsVariancePopulationClaimIssuerAsc = 'EVENTS_VARIANCE_POPULATION_CLAIM_ISSUER_ASC', - EventsVariancePopulationClaimIssuerDesc = 'EVENTS_VARIANCE_POPULATION_CLAIM_ISSUER_DESC', - EventsVariancePopulationClaimScopeAsc = 'EVENTS_VARIANCE_POPULATION_CLAIM_SCOPE_ASC', - EventsVariancePopulationClaimScopeDesc = 'EVENTS_VARIANCE_POPULATION_CLAIM_SCOPE_DESC', - EventsVariancePopulationClaimTypeAsc = 'EVENTS_VARIANCE_POPULATION_CLAIM_TYPE_ASC', - EventsVariancePopulationClaimTypeDesc = 'EVENTS_VARIANCE_POPULATION_CLAIM_TYPE_DESC', - EventsVariancePopulationCorporateActionTickerAsc = 'EVENTS_VARIANCE_POPULATION_CORPORATE_ACTION_TICKER_ASC', - EventsVariancePopulationCorporateActionTickerDesc = 'EVENTS_VARIANCE_POPULATION_CORPORATE_ACTION_TICKER_DESC', - EventsVariancePopulationCreatedAtAsc = 'EVENTS_VARIANCE_POPULATION_CREATED_AT_ASC', - EventsVariancePopulationCreatedAtDesc = 'EVENTS_VARIANCE_POPULATION_CREATED_AT_DESC', - EventsVariancePopulationEventArg_0Asc = 'EVENTS_VARIANCE_POPULATION_EVENT_ARG_0_ASC', - EventsVariancePopulationEventArg_0Desc = 'EVENTS_VARIANCE_POPULATION_EVENT_ARG_0_DESC', - EventsVariancePopulationEventArg_1Asc = 'EVENTS_VARIANCE_POPULATION_EVENT_ARG_1_ASC', - EventsVariancePopulationEventArg_1Desc = 'EVENTS_VARIANCE_POPULATION_EVENT_ARG_1_DESC', - EventsVariancePopulationEventArg_2Asc = 'EVENTS_VARIANCE_POPULATION_EVENT_ARG_2_ASC', - EventsVariancePopulationEventArg_2Desc = 'EVENTS_VARIANCE_POPULATION_EVENT_ARG_2_DESC', - EventsVariancePopulationEventArg_3Asc = 'EVENTS_VARIANCE_POPULATION_EVENT_ARG_3_ASC', - EventsVariancePopulationEventArg_3Desc = 'EVENTS_VARIANCE_POPULATION_EVENT_ARG_3_DESC', - EventsVariancePopulationEventIdxAsc = 'EVENTS_VARIANCE_POPULATION_EVENT_IDX_ASC', - EventsVariancePopulationEventIdxDesc = 'EVENTS_VARIANCE_POPULATION_EVENT_IDX_DESC', - EventsVariancePopulationEventIdAsc = 'EVENTS_VARIANCE_POPULATION_EVENT_ID_ASC', - EventsVariancePopulationEventIdDesc = 'EVENTS_VARIANCE_POPULATION_EVENT_ID_DESC', - EventsVariancePopulationExtrinsicIdxAsc = 'EVENTS_VARIANCE_POPULATION_EXTRINSIC_IDX_ASC', - EventsVariancePopulationExtrinsicIdxDesc = 'EVENTS_VARIANCE_POPULATION_EXTRINSIC_IDX_DESC', - EventsVariancePopulationExtrinsicIdAsc = 'EVENTS_VARIANCE_POPULATION_EXTRINSIC_ID_ASC', - EventsVariancePopulationExtrinsicIdDesc = 'EVENTS_VARIANCE_POPULATION_EXTRINSIC_ID_DESC', - EventsVariancePopulationFundraiserOfferingAssetAsc = 'EVENTS_VARIANCE_POPULATION_FUNDRAISER_OFFERING_ASSET_ASC', - EventsVariancePopulationFundraiserOfferingAssetDesc = 'EVENTS_VARIANCE_POPULATION_FUNDRAISER_OFFERING_ASSET_DESC', - EventsVariancePopulationIdAsc = 'EVENTS_VARIANCE_POPULATION_ID_ASC', - EventsVariancePopulationIdDesc = 'EVENTS_VARIANCE_POPULATION_ID_DESC', - EventsVariancePopulationModuleIdAsc = 'EVENTS_VARIANCE_POPULATION_MODULE_ID_ASC', - EventsVariancePopulationModuleIdDesc = 'EVENTS_VARIANCE_POPULATION_MODULE_ID_DESC', - EventsVariancePopulationSpecVersionIdAsc = 'EVENTS_VARIANCE_POPULATION_SPEC_VERSION_ID_ASC', - EventsVariancePopulationSpecVersionIdDesc = 'EVENTS_VARIANCE_POPULATION_SPEC_VERSION_ID_DESC', - EventsVariancePopulationTransferToAsc = 'EVENTS_VARIANCE_POPULATION_TRANSFER_TO_ASC', - EventsVariancePopulationTransferToDesc = 'EVENTS_VARIANCE_POPULATION_TRANSFER_TO_DESC', - EventsVariancePopulationUpdatedAtAsc = 'EVENTS_VARIANCE_POPULATION_UPDATED_AT_ASC', - EventsVariancePopulationUpdatedAtDesc = 'EVENTS_VARIANCE_POPULATION_UPDATED_AT_DESC', - EventsVarianceSampleAttributesAsc = 'EVENTS_VARIANCE_SAMPLE_ATTRIBUTES_ASC', - EventsVarianceSampleAttributesDesc = 'EVENTS_VARIANCE_SAMPLE_ATTRIBUTES_DESC', - EventsVarianceSampleAttributesTxtAsc = 'EVENTS_VARIANCE_SAMPLE_ATTRIBUTES_TXT_ASC', - EventsVarianceSampleAttributesTxtDesc = 'EVENTS_VARIANCE_SAMPLE_ATTRIBUTES_TXT_DESC', - EventsVarianceSampleBlockIdAsc = 'EVENTS_VARIANCE_SAMPLE_BLOCK_ID_ASC', - EventsVarianceSampleBlockIdDesc = 'EVENTS_VARIANCE_SAMPLE_BLOCK_ID_DESC', - EventsVarianceSampleClaimExpiryAsc = 'EVENTS_VARIANCE_SAMPLE_CLAIM_EXPIRY_ASC', - EventsVarianceSampleClaimExpiryDesc = 'EVENTS_VARIANCE_SAMPLE_CLAIM_EXPIRY_DESC', - EventsVarianceSampleClaimIssuerAsc = 'EVENTS_VARIANCE_SAMPLE_CLAIM_ISSUER_ASC', - EventsVarianceSampleClaimIssuerDesc = 'EVENTS_VARIANCE_SAMPLE_CLAIM_ISSUER_DESC', - EventsVarianceSampleClaimScopeAsc = 'EVENTS_VARIANCE_SAMPLE_CLAIM_SCOPE_ASC', - EventsVarianceSampleClaimScopeDesc = 'EVENTS_VARIANCE_SAMPLE_CLAIM_SCOPE_DESC', - EventsVarianceSampleClaimTypeAsc = 'EVENTS_VARIANCE_SAMPLE_CLAIM_TYPE_ASC', - EventsVarianceSampleClaimTypeDesc = 'EVENTS_VARIANCE_SAMPLE_CLAIM_TYPE_DESC', - EventsVarianceSampleCorporateActionTickerAsc = 'EVENTS_VARIANCE_SAMPLE_CORPORATE_ACTION_TICKER_ASC', - EventsVarianceSampleCorporateActionTickerDesc = 'EVENTS_VARIANCE_SAMPLE_CORPORATE_ACTION_TICKER_DESC', - EventsVarianceSampleCreatedAtAsc = 'EVENTS_VARIANCE_SAMPLE_CREATED_AT_ASC', - EventsVarianceSampleCreatedAtDesc = 'EVENTS_VARIANCE_SAMPLE_CREATED_AT_DESC', - EventsVarianceSampleEventArg_0Asc = 'EVENTS_VARIANCE_SAMPLE_EVENT_ARG_0_ASC', - EventsVarianceSampleEventArg_0Desc = 'EVENTS_VARIANCE_SAMPLE_EVENT_ARG_0_DESC', - EventsVarianceSampleEventArg_1Asc = 'EVENTS_VARIANCE_SAMPLE_EVENT_ARG_1_ASC', - EventsVarianceSampleEventArg_1Desc = 'EVENTS_VARIANCE_SAMPLE_EVENT_ARG_1_DESC', - EventsVarianceSampleEventArg_2Asc = 'EVENTS_VARIANCE_SAMPLE_EVENT_ARG_2_ASC', - EventsVarianceSampleEventArg_2Desc = 'EVENTS_VARIANCE_SAMPLE_EVENT_ARG_2_DESC', - EventsVarianceSampleEventArg_3Asc = 'EVENTS_VARIANCE_SAMPLE_EVENT_ARG_3_ASC', - EventsVarianceSampleEventArg_3Desc = 'EVENTS_VARIANCE_SAMPLE_EVENT_ARG_3_DESC', - EventsVarianceSampleEventIdxAsc = 'EVENTS_VARIANCE_SAMPLE_EVENT_IDX_ASC', - EventsVarianceSampleEventIdxDesc = 'EVENTS_VARIANCE_SAMPLE_EVENT_IDX_DESC', - EventsVarianceSampleEventIdAsc = 'EVENTS_VARIANCE_SAMPLE_EVENT_ID_ASC', - EventsVarianceSampleEventIdDesc = 'EVENTS_VARIANCE_SAMPLE_EVENT_ID_DESC', - EventsVarianceSampleExtrinsicIdxAsc = 'EVENTS_VARIANCE_SAMPLE_EXTRINSIC_IDX_ASC', - EventsVarianceSampleExtrinsicIdxDesc = 'EVENTS_VARIANCE_SAMPLE_EXTRINSIC_IDX_DESC', - EventsVarianceSampleExtrinsicIdAsc = 'EVENTS_VARIANCE_SAMPLE_EXTRINSIC_ID_ASC', - EventsVarianceSampleExtrinsicIdDesc = 'EVENTS_VARIANCE_SAMPLE_EXTRINSIC_ID_DESC', - EventsVarianceSampleFundraiserOfferingAssetAsc = 'EVENTS_VARIANCE_SAMPLE_FUNDRAISER_OFFERING_ASSET_ASC', - EventsVarianceSampleFundraiserOfferingAssetDesc = 'EVENTS_VARIANCE_SAMPLE_FUNDRAISER_OFFERING_ASSET_DESC', - EventsVarianceSampleIdAsc = 'EVENTS_VARIANCE_SAMPLE_ID_ASC', - EventsVarianceSampleIdDesc = 'EVENTS_VARIANCE_SAMPLE_ID_DESC', - EventsVarianceSampleModuleIdAsc = 'EVENTS_VARIANCE_SAMPLE_MODULE_ID_ASC', - EventsVarianceSampleModuleIdDesc = 'EVENTS_VARIANCE_SAMPLE_MODULE_ID_DESC', - EventsVarianceSampleSpecVersionIdAsc = 'EVENTS_VARIANCE_SAMPLE_SPEC_VERSION_ID_ASC', - EventsVarianceSampleSpecVersionIdDesc = 'EVENTS_VARIANCE_SAMPLE_SPEC_VERSION_ID_DESC', - EventsVarianceSampleTransferToAsc = 'EVENTS_VARIANCE_SAMPLE_TRANSFER_TO_ASC', - EventsVarianceSampleTransferToDesc = 'EVENTS_VARIANCE_SAMPLE_TRANSFER_TO_DESC', - EventsVarianceSampleUpdatedAtAsc = 'EVENTS_VARIANCE_SAMPLE_UPDATED_AT_ASC', - EventsVarianceSampleUpdatedAtDesc = 'EVENTS_VARIANCE_SAMPLE_UPDATED_AT_DESC', - ExtrinsicHashAsc = 'EXTRINSIC_HASH_ASC', - ExtrinsicHashDesc = 'EXTRINSIC_HASH_DESC', - ExtrinsicIdxAsc = 'EXTRINSIC_IDX_ASC', - ExtrinsicIdxDesc = 'EXTRINSIC_IDX_DESC', - ExtrinsicLengthAsc = 'EXTRINSIC_LENGTH_ASC', - ExtrinsicLengthDesc = 'EXTRINSIC_LENGTH_DESC', - IdAsc = 'ID_ASC', - IdDesc = 'ID_DESC', - ModuleIdAsc = 'MODULE_ID_ASC', - ModuleIdDesc = 'MODULE_ID_DESC', - Natural = 'NATURAL', - NonceAsc = 'NONCE_ASC', - NonceDesc = 'NONCE_DESC', - ParamsAsc = 'PARAMS_ASC', - ParamsDesc = 'PARAMS_DESC', - ParamsTxtAsc = 'PARAMS_TXT_ASC', - ParamsTxtDesc = 'PARAMS_TXT_DESC', - PolyxTransactionsAverageAddressAsc = 'POLYX_TRANSACTIONS_AVERAGE_ADDRESS_ASC', - PolyxTransactionsAverageAddressDesc = 'POLYX_TRANSACTIONS_AVERAGE_ADDRESS_DESC', - PolyxTransactionsAverageAmountAsc = 'POLYX_TRANSACTIONS_AVERAGE_AMOUNT_ASC', - PolyxTransactionsAverageAmountDesc = 'POLYX_TRANSACTIONS_AVERAGE_AMOUNT_DESC', - PolyxTransactionsAverageCallIdAsc = 'POLYX_TRANSACTIONS_AVERAGE_CALL_ID_ASC', - PolyxTransactionsAverageCallIdDesc = 'POLYX_TRANSACTIONS_AVERAGE_CALL_ID_DESC', - PolyxTransactionsAverageCreatedAtAsc = 'POLYX_TRANSACTIONS_AVERAGE_CREATED_AT_ASC', - PolyxTransactionsAverageCreatedAtDesc = 'POLYX_TRANSACTIONS_AVERAGE_CREATED_AT_DESC', - PolyxTransactionsAverageCreatedBlockIdAsc = 'POLYX_TRANSACTIONS_AVERAGE_CREATED_BLOCK_ID_ASC', - PolyxTransactionsAverageCreatedBlockIdDesc = 'POLYX_TRANSACTIONS_AVERAGE_CREATED_BLOCK_ID_DESC', - PolyxTransactionsAverageDatetimeAsc = 'POLYX_TRANSACTIONS_AVERAGE_DATETIME_ASC', - PolyxTransactionsAverageDatetimeDesc = 'POLYX_TRANSACTIONS_AVERAGE_DATETIME_DESC', - PolyxTransactionsAverageEventIdxAsc = 'POLYX_TRANSACTIONS_AVERAGE_EVENT_IDX_ASC', - PolyxTransactionsAverageEventIdxDesc = 'POLYX_TRANSACTIONS_AVERAGE_EVENT_IDX_DESC', - PolyxTransactionsAverageEventIdAsc = 'POLYX_TRANSACTIONS_AVERAGE_EVENT_ID_ASC', - PolyxTransactionsAverageEventIdDesc = 'POLYX_TRANSACTIONS_AVERAGE_EVENT_ID_DESC', - PolyxTransactionsAverageExtrinsicIdAsc = 'POLYX_TRANSACTIONS_AVERAGE_EXTRINSIC_ID_ASC', - PolyxTransactionsAverageExtrinsicIdDesc = 'POLYX_TRANSACTIONS_AVERAGE_EXTRINSIC_ID_DESC', - PolyxTransactionsAverageIdentityIdAsc = 'POLYX_TRANSACTIONS_AVERAGE_IDENTITY_ID_ASC', - PolyxTransactionsAverageIdentityIdDesc = 'POLYX_TRANSACTIONS_AVERAGE_IDENTITY_ID_DESC', - PolyxTransactionsAverageIdAsc = 'POLYX_TRANSACTIONS_AVERAGE_ID_ASC', - PolyxTransactionsAverageIdDesc = 'POLYX_TRANSACTIONS_AVERAGE_ID_DESC', - PolyxTransactionsAverageMemoAsc = 'POLYX_TRANSACTIONS_AVERAGE_MEMO_ASC', - PolyxTransactionsAverageMemoDesc = 'POLYX_TRANSACTIONS_AVERAGE_MEMO_DESC', - PolyxTransactionsAverageModuleIdAsc = 'POLYX_TRANSACTIONS_AVERAGE_MODULE_ID_ASC', - PolyxTransactionsAverageModuleIdDesc = 'POLYX_TRANSACTIONS_AVERAGE_MODULE_ID_DESC', - PolyxTransactionsAverageToAddressAsc = 'POLYX_TRANSACTIONS_AVERAGE_TO_ADDRESS_ASC', - PolyxTransactionsAverageToAddressDesc = 'POLYX_TRANSACTIONS_AVERAGE_TO_ADDRESS_DESC', - PolyxTransactionsAverageToIdAsc = 'POLYX_TRANSACTIONS_AVERAGE_TO_ID_ASC', - PolyxTransactionsAverageToIdDesc = 'POLYX_TRANSACTIONS_AVERAGE_TO_ID_DESC', - PolyxTransactionsAverageTypeAsc = 'POLYX_TRANSACTIONS_AVERAGE_TYPE_ASC', - PolyxTransactionsAverageTypeDesc = 'POLYX_TRANSACTIONS_AVERAGE_TYPE_DESC', - PolyxTransactionsAverageUpdatedAtAsc = 'POLYX_TRANSACTIONS_AVERAGE_UPDATED_AT_ASC', - PolyxTransactionsAverageUpdatedAtDesc = 'POLYX_TRANSACTIONS_AVERAGE_UPDATED_AT_DESC', - PolyxTransactionsAverageUpdatedBlockIdAsc = 'POLYX_TRANSACTIONS_AVERAGE_UPDATED_BLOCK_ID_ASC', - PolyxTransactionsAverageUpdatedBlockIdDesc = 'POLYX_TRANSACTIONS_AVERAGE_UPDATED_BLOCK_ID_DESC', - PolyxTransactionsCountAsc = 'POLYX_TRANSACTIONS_COUNT_ASC', - PolyxTransactionsCountDesc = 'POLYX_TRANSACTIONS_COUNT_DESC', - PolyxTransactionsDistinctCountAddressAsc = 'POLYX_TRANSACTIONS_DISTINCT_COUNT_ADDRESS_ASC', - PolyxTransactionsDistinctCountAddressDesc = 'POLYX_TRANSACTIONS_DISTINCT_COUNT_ADDRESS_DESC', - PolyxTransactionsDistinctCountAmountAsc = 'POLYX_TRANSACTIONS_DISTINCT_COUNT_AMOUNT_ASC', - PolyxTransactionsDistinctCountAmountDesc = 'POLYX_TRANSACTIONS_DISTINCT_COUNT_AMOUNT_DESC', - PolyxTransactionsDistinctCountCallIdAsc = 'POLYX_TRANSACTIONS_DISTINCT_COUNT_CALL_ID_ASC', - PolyxTransactionsDistinctCountCallIdDesc = 'POLYX_TRANSACTIONS_DISTINCT_COUNT_CALL_ID_DESC', - PolyxTransactionsDistinctCountCreatedAtAsc = 'POLYX_TRANSACTIONS_DISTINCT_COUNT_CREATED_AT_ASC', - PolyxTransactionsDistinctCountCreatedAtDesc = 'POLYX_TRANSACTIONS_DISTINCT_COUNT_CREATED_AT_DESC', - PolyxTransactionsDistinctCountCreatedBlockIdAsc = 'POLYX_TRANSACTIONS_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - PolyxTransactionsDistinctCountCreatedBlockIdDesc = 'POLYX_TRANSACTIONS_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - PolyxTransactionsDistinctCountDatetimeAsc = 'POLYX_TRANSACTIONS_DISTINCT_COUNT_DATETIME_ASC', - PolyxTransactionsDistinctCountDatetimeDesc = 'POLYX_TRANSACTIONS_DISTINCT_COUNT_DATETIME_DESC', - PolyxTransactionsDistinctCountEventIdxAsc = 'POLYX_TRANSACTIONS_DISTINCT_COUNT_EVENT_IDX_ASC', - PolyxTransactionsDistinctCountEventIdxDesc = 'POLYX_TRANSACTIONS_DISTINCT_COUNT_EVENT_IDX_DESC', - PolyxTransactionsDistinctCountEventIdAsc = 'POLYX_TRANSACTIONS_DISTINCT_COUNT_EVENT_ID_ASC', - PolyxTransactionsDistinctCountEventIdDesc = 'POLYX_TRANSACTIONS_DISTINCT_COUNT_EVENT_ID_DESC', - PolyxTransactionsDistinctCountExtrinsicIdAsc = 'POLYX_TRANSACTIONS_DISTINCT_COUNT_EXTRINSIC_ID_ASC', - PolyxTransactionsDistinctCountExtrinsicIdDesc = 'POLYX_TRANSACTIONS_DISTINCT_COUNT_EXTRINSIC_ID_DESC', - PolyxTransactionsDistinctCountIdentityIdAsc = 'POLYX_TRANSACTIONS_DISTINCT_COUNT_IDENTITY_ID_ASC', - PolyxTransactionsDistinctCountIdentityIdDesc = 'POLYX_TRANSACTIONS_DISTINCT_COUNT_IDENTITY_ID_DESC', - PolyxTransactionsDistinctCountIdAsc = 'POLYX_TRANSACTIONS_DISTINCT_COUNT_ID_ASC', - PolyxTransactionsDistinctCountIdDesc = 'POLYX_TRANSACTIONS_DISTINCT_COUNT_ID_DESC', - PolyxTransactionsDistinctCountMemoAsc = 'POLYX_TRANSACTIONS_DISTINCT_COUNT_MEMO_ASC', - PolyxTransactionsDistinctCountMemoDesc = 'POLYX_TRANSACTIONS_DISTINCT_COUNT_MEMO_DESC', - PolyxTransactionsDistinctCountModuleIdAsc = 'POLYX_TRANSACTIONS_DISTINCT_COUNT_MODULE_ID_ASC', - PolyxTransactionsDistinctCountModuleIdDesc = 'POLYX_TRANSACTIONS_DISTINCT_COUNT_MODULE_ID_DESC', - PolyxTransactionsDistinctCountToAddressAsc = 'POLYX_TRANSACTIONS_DISTINCT_COUNT_TO_ADDRESS_ASC', - PolyxTransactionsDistinctCountToAddressDesc = 'POLYX_TRANSACTIONS_DISTINCT_COUNT_TO_ADDRESS_DESC', - PolyxTransactionsDistinctCountToIdAsc = 'POLYX_TRANSACTIONS_DISTINCT_COUNT_TO_ID_ASC', - PolyxTransactionsDistinctCountToIdDesc = 'POLYX_TRANSACTIONS_DISTINCT_COUNT_TO_ID_DESC', - PolyxTransactionsDistinctCountTypeAsc = 'POLYX_TRANSACTIONS_DISTINCT_COUNT_TYPE_ASC', - PolyxTransactionsDistinctCountTypeDesc = 'POLYX_TRANSACTIONS_DISTINCT_COUNT_TYPE_DESC', - PolyxTransactionsDistinctCountUpdatedAtAsc = 'POLYX_TRANSACTIONS_DISTINCT_COUNT_UPDATED_AT_ASC', - PolyxTransactionsDistinctCountUpdatedAtDesc = 'POLYX_TRANSACTIONS_DISTINCT_COUNT_UPDATED_AT_DESC', - PolyxTransactionsDistinctCountUpdatedBlockIdAsc = 'POLYX_TRANSACTIONS_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - PolyxTransactionsDistinctCountUpdatedBlockIdDesc = 'POLYX_TRANSACTIONS_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - PolyxTransactionsMaxAddressAsc = 'POLYX_TRANSACTIONS_MAX_ADDRESS_ASC', - PolyxTransactionsMaxAddressDesc = 'POLYX_TRANSACTIONS_MAX_ADDRESS_DESC', - PolyxTransactionsMaxAmountAsc = 'POLYX_TRANSACTIONS_MAX_AMOUNT_ASC', - PolyxTransactionsMaxAmountDesc = 'POLYX_TRANSACTIONS_MAX_AMOUNT_DESC', - PolyxTransactionsMaxCallIdAsc = 'POLYX_TRANSACTIONS_MAX_CALL_ID_ASC', - PolyxTransactionsMaxCallIdDesc = 'POLYX_TRANSACTIONS_MAX_CALL_ID_DESC', - PolyxTransactionsMaxCreatedAtAsc = 'POLYX_TRANSACTIONS_MAX_CREATED_AT_ASC', - PolyxTransactionsMaxCreatedAtDesc = 'POLYX_TRANSACTIONS_MAX_CREATED_AT_DESC', - PolyxTransactionsMaxCreatedBlockIdAsc = 'POLYX_TRANSACTIONS_MAX_CREATED_BLOCK_ID_ASC', - PolyxTransactionsMaxCreatedBlockIdDesc = 'POLYX_TRANSACTIONS_MAX_CREATED_BLOCK_ID_DESC', - PolyxTransactionsMaxDatetimeAsc = 'POLYX_TRANSACTIONS_MAX_DATETIME_ASC', - PolyxTransactionsMaxDatetimeDesc = 'POLYX_TRANSACTIONS_MAX_DATETIME_DESC', - PolyxTransactionsMaxEventIdxAsc = 'POLYX_TRANSACTIONS_MAX_EVENT_IDX_ASC', - PolyxTransactionsMaxEventIdxDesc = 'POLYX_TRANSACTIONS_MAX_EVENT_IDX_DESC', - PolyxTransactionsMaxEventIdAsc = 'POLYX_TRANSACTIONS_MAX_EVENT_ID_ASC', - PolyxTransactionsMaxEventIdDesc = 'POLYX_TRANSACTIONS_MAX_EVENT_ID_DESC', - PolyxTransactionsMaxExtrinsicIdAsc = 'POLYX_TRANSACTIONS_MAX_EXTRINSIC_ID_ASC', - PolyxTransactionsMaxExtrinsicIdDesc = 'POLYX_TRANSACTIONS_MAX_EXTRINSIC_ID_DESC', - PolyxTransactionsMaxIdentityIdAsc = 'POLYX_TRANSACTIONS_MAX_IDENTITY_ID_ASC', - PolyxTransactionsMaxIdentityIdDesc = 'POLYX_TRANSACTIONS_MAX_IDENTITY_ID_DESC', - PolyxTransactionsMaxIdAsc = 'POLYX_TRANSACTIONS_MAX_ID_ASC', - PolyxTransactionsMaxIdDesc = 'POLYX_TRANSACTIONS_MAX_ID_DESC', - PolyxTransactionsMaxMemoAsc = 'POLYX_TRANSACTIONS_MAX_MEMO_ASC', - PolyxTransactionsMaxMemoDesc = 'POLYX_TRANSACTIONS_MAX_MEMO_DESC', - PolyxTransactionsMaxModuleIdAsc = 'POLYX_TRANSACTIONS_MAX_MODULE_ID_ASC', - PolyxTransactionsMaxModuleIdDesc = 'POLYX_TRANSACTIONS_MAX_MODULE_ID_DESC', - PolyxTransactionsMaxToAddressAsc = 'POLYX_TRANSACTIONS_MAX_TO_ADDRESS_ASC', - PolyxTransactionsMaxToAddressDesc = 'POLYX_TRANSACTIONS_MAX_TO_ADDRESS_DESC', - PolyxTransactionsMaxToIdAsc = 'POLYX_TRANSACTIONS_MAX_TO_ID_ASC', - PolyxTransactionsMaxToIdDesc = 'POLYX_TRANSACTIONS_MAX_TO_ID_DESC', - PolyxTransactionsMaxTypeAsc = 'POLYX_TRANSACTIONS_MAX_TYPE_ASC', - PolyxTransactionsMaxTypeDesc = 'POLYX_TRANSACTIONS_MAX_TYPE_DESC', - PolyxTransactionsMaxUpdatedAtAsc = 'POLYX_TRANSACTIONS_MAX_UPDATED_AT_ASC', - PolyxTransactionsMaxUpdatedAtDesc = 'POLYX_TRANSACTIONS_MAX_UPDATED_AT_DESC', - PolyxTransactionsMaxUpdatedBlockIdAsc = 'POLYX_TRANSACTIONS_MAX_UPDATED_BLOCK_ID_ASC', - PolyxTransactionsMaxUpdatedBlockIdDesc = 'POLYX_TRANSACTIONS_MAX_UPDATED_BLOCK_ID_DESC', - PolyxTransactionsMinAddressAsc = 'POLYX_TRANSACTIONS_MIN_ADDRESS_ASC', - PolyxTransactionsMinAddressDesc = 'POLYX_TRANSACTIONS_MIN_ADDRESS_DESC', - PolyxTransactionsMinAmountAsc = 'POLYX_TRANSACTIONS_MIN_AMOUNT_ASC', - PolyxTransactionsMinAmountDesc = 'POLYX_TRANSACTIONS_MIN_AMOUNT_DESC', - PolyxTransactionsMinCallIdAsc = 'POLYX_TRANSACTIONS_MIN_CALL_ID_ASC', - PolyxTransactionsMinCallIdDesc = 'POLYX_TRANSACTIONS_MIN_CALL_ID_DESC', - PolyxTransactionsMinCreatedAtAsc = 'POLYX_TRANSACTIONS_MIN_CREATED_AT_ASC', - PolyxTransactionsMinCreatedAtDesc = 'POLYX_TRANSACTIONS_MIN_CREATED_AT_DESC', - PolyxTransactionsMinCreatedBlockIdAsc = 'POLYX_TRANSACTIONS_MIN_CREATED_BLOCK_ID_ASC', - PolyxTransactionsMinCreatedBlockIdDesc = 'POLYX_TRANSACTIONS_MIN_CREATED_BLOCK_ID_DESC', - PolyxTransactionsMinDatetimeAsc = 'POLYX_TRANSACTIONS_MIN_DATETIME_ASC', - PolyxTransactionsMinDatetimeDesc = 'POLYX_TRANSACTIONS_MIN_DATETIME_DESC', - PolyxTransactionsMinEventIdxAsc = 'POLYX_TRANSACTIONS_MIN_EVENT_IDX_ASC', - PolyxTransactionsMinEventIdxDesc = 'POLYX_TRANSACTIONS_MIN_EVENT_IDX_DESC', - PolyxTransactionsMinEventIdAsc = 'POLYX_TRANSACTIONS_MIN_EVENT_ID_ASC', - PolyxTransactionsMinEventIdDesc = 'POLYX_TRANSACTIONS_MIN_EVENT_ID_DESC', - PolyxTransactionsMinExtrinsicIdAsc = 'POLYX_TRANSACTIONS_MIN_EXTRINSIC_ID_ASC', - PolyxTransactionsMinExtrinsicIdDesc = 'POLYX_TRANSACTIONS_MIN_EXTRINSIC_ID_DESC', - PolyxTransactionsMinIdentityIdAsc = 'POLYX_TRANSACTIONS_MIN_IDENTITY_ID_ASC', - PolyxTransactionsMinIdentityIdDesc = 'POLYX_TRANSACTIONS_MIN_IDENTITY_ID_DESC', - PolyxTransactionsMinIdAsc = 'POLYX_TRANSACTIONS_MIN_ID_ASC', - PolyxTransactionsMinIdDesc = 'POLYX_TRANSACTIONS_MIN_ID_DESC', - PolyxTransactionsMinMemoAsc = 'POLYX_TRANSACTIONS_MIN_MEMO_ASC', - PolyxTransactionsMinMemoDesc = 'POLYX_TRANSACTIONS_MIN_MEMO_DESC', - PolyxTransactionsMinModuleIdAsc = 'POLYX_TRANSACTIONS_MIN_MODULE_ID_ASC', - PolyxTransactionsMinModuleIdDesc = 'POLYX_TRANSACTIONS_MIN_MODULE_ID_DESC', - PolyxTransactionsMinToAddressAsc = 'POLYX_TRANSACTIONS_MIN_TO_ADDRESS_ASC', - PolyxTransactionsMinToAddressDesc = 'POLYX_TRANSACTIONS_MIN_TO_ADDRESS_DESC', - PolyxTransactionsMinToIdAsc = 'POLYX_TRANSACTIONS_MIN_TO_ID_ASC', - PolyxTransactionsMinToIdDesc = 'POLYX_TRANSACTIONS_MIN_TO_ID_DESC', - PolyxTransactionsMinTypeAsc = 'POLYX_TRANSACTIONS_MIN_TYPE_ASC', - PolyxTransactionsMinTypeDesc = 'POLYX_TRANSACTIONS_MIN_TYPE_DESC', - PolyxTransactionsMinUpdatedAtAsc = 'POLYX_TRANSACTIONS_MIN_UPDATED_AT_ASC', - PolyxTransactionsMinUpdatedAtDesc = 'POLYX_TRANSACTIONS_MIN_UPDATED_AT_DESC', - PolyxTransactionsMinUpdatedBlockIdAsc = 'POLYX_TRANSACTIONS_MIN_UPDATED_BLOCK_ID_ASC', - PolyxTransactionsMinUpdatedBlockIdDesc = 'POLYX_TRANSACTIONS_MIN_UPDATED_BLOCK_ID_DESC', - PolyxTransactionsStddevPopulationAddressAsc = 'POLYX_TRANSACTIONS_STDDEV_POPULATION_ADDRESS_ASC', - PolyxTransactionsStddevPopulationAddressDesc = 'POLYX_TRANSACTIONS_STDDEV_POPULATION_ADDRESS_DESC', - PolyxTransactionsStddevPopulationAmountAsc = 'POLYX_TRANSACTIONS_STDDEV_POPULATION_AMOUNT_ASC', - PolyxTransactionsStddevPopulationAmountDesc = 'POLYX_TRANSACTIONS_STDDEV_POPULATION_AMOUNT_DESC', - PolyxTransactionsStddevPopulationCallIdAsc = 'POLYX_TRANSACTIONS_STDDEV_POPULATION_CALL_ID_ASC', - PolyxTransactionsStddevPopulationCallIdDesc = 'POLYX_TRANSACTIONS_STDDEV_POPULATION_CALL_ID_DESC', - PolyxTransactionsStddevPopulationCreatedAtAsc = 'POLYX_TRANSACTIONS_STDDEV_POPULATION_CREATED_AT_ASC', - PolyxTransactionsStddevPopulationCreatedAtDesc = 'POLYX_TRANSACTIONS_STDDEV_POPULATION_CREATED_AT_DESC', - PolyxTransactionsStddevPopulationCreatedBlockIdAsc = 'POLYX_TRANSACTIONS_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - PolyxTransactionsStddevPopulationCreatedBlockIdDesc = 'POLYX_TRANSACTIONS_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - PolyxTransactionsStddevPopulationDatetimeAsc = 'POLYX_TRANSACTIONS_STDDEV_POPULATION_DATETIME_ASC', - PolyxTransactionsStddevPopulationDatetimeDesc = 'POLYX_TRANSACTIONS_STDDEV_POPULATION_DATETIME_DESC', - PolyxTransactionsStddevPopulationEventIdxAsc = 'POLYX_TRANSACTIONS_STDDEV_POPULATION_EVENT_IDX_ASC', - PolyxTransactionsStddevPopulationEventIdxDesc = 'POLYX_TRANSACTIONS_STDDEV_POPULATION_EVENT_IDX_DESC', - PolyxTransactionsStddevPopulationEventIdAsc = 'POLYX_TRANSACTIONS_STDDEV_POPULATION_EVENT_ID_ASC', - PolyxTransactionsStddevPopulationEventIdDesc = 'POLYX_TRANSACTIONS_STDDEV_POPULATION_EVENT_ID_DESC', - PolyxTransactionsStddevPopulationExtrinsicIdAsc = 'POLYX_TRANSACTIONS_STDDEV_POPULATION_EXTRINSIC_ID_ASC', - PolyxTransactionsStddevPopulationExtrinsicIdDesc = 'POLYX_TRANSACTIONS_STDDEV_POPULATION_EXTRINSIC_ID_DESC', - PolyxTransactionsStddevPopulationIdentityIdAsc = 'POLYX_TRANSACTIONS_STDDEV_POPULATION_IDENTITY_ID_ASC', - PolyxTransactionsStddevPopulationIdentityIdDesc = 'POLYX_TRANSACTIONS_STDDEV_POPULATION_IDENTITY_ID_DESC', - PolyxTransactionsStddevPopulationIdAsc = 'POLYX_TRANSACTIONS_STDDEV_POPULATION_ID_ASC', - PolyxTransactionsStddevPopulationIdDesc = 'POLYX_TRANSACTIONS_STDDEV_POPULATION_ID_DESC', - PolyxTransactionsStddevPopulationMemoAsc = 'POLYX_TRANSACTIONS_STDDEV_POPULATION_MEMO_ASC', - PolyxTransactionsStddevPopulationMemoDesc = 'POLYX_TRANSACTIONS_STDDEV_POPULATION_MEMO_DESC', - PolyxTransactionsStddevPopulationModuleIdAsc = 'POLYX_TRANSACTIONS_STDDEV_POPULATION_MODULE_ID_ASC', - PolyxTransactionsStddevPopulationModuleIdDesc = 'POLYX_TRANSACTIONS_STDDEV_POPULATION_MODULE_ID_DESC', - PolyxTransactionsStddevPopulationToAddressAsc = 'POLYX_TRANSACTIONS_STDDEV_POPULATION_TO_ADDRESS_ASC', - PolyxTransactionsStddevPopulationToAddressDesc = 'POLYX_TRANSACTIONS_STDDEV_POPULATION_TO_ADDRESS_DESC', - PolyxTransactionsStddevPopulationToIdAsc = 'POLYX_TRANSACTIONS_STDDEV_POPULATION_TO_ID_ASC', - PolyxTransactionsStddevPopulationToIdDesc = 'POLYX_TRANSACTIONS_STDDEV_POPULATION_TO_ID_DESC', - PolyxTransactionsStddevPopulationTypeAsc = 'POLYX_TRANSACTIONS_STDDEV_POPULATION_TYPE_ASC', - PolyxTransactionsStddevPopulationTypeDesc = 'POLYX_TRANSACTIONS_STDDEV_POPULATION_TYPE_DESC', - PolyxTransactionsStddevPopulationUpdatedAtAsc = 'POLYX_TRANSACTIONS_STDDEV_POPULATION_UPDATED_AT_ASC', - PolyxTransactionsStddevPopulationUpdatedAtDesc = 'POLYX_TRANSACTIONS_STDDEV_POPULATION_UPDATED_AT_DESC', - PolyxTransactionsStddevPopulationUpdatedBlockIdAsc = 'POLYX_TRANSACTIONS_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - PolyxTransactionsStddevPopulationUpdatedBlockIdDesc = 'POLYX_TRANSACTIONS_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - PolyxTransactionsStddevSampleAddressAsc = 'POLYX_TRANSACTIONS_STDDEV_SAMPLE_ADDRESS_ASC', - PolyxTransactionsStddevSampleAddressDesc = 'POLYX_TRANSACTIONS_STDDEV_SAMPLE_ADDRESS_DESC', - PolyxTransactionsStddevSampleAmountAsc = 'POLYX_TRANSACTIONS_STDDEV_SAMPLE_AMOUNT_ASC', - PolyxTransactionsStddevSampleAmountDesc = 'POLYX_TRANSACTIONS_STDDEV_SAMPLE_AMOUNT_DESC', - PolyxTransactionsStddevSampleCallIdAsc = 'POLYX_TRANSACTIONS_STDDEV_SAMPLE_CALL_ID_ASC', - PolyxTransactionsStddevSampleCallIdDesc = 'POLYX_TRANSACTIONS_STDDEV_SAMPLE_CALL_ID_DESC', - PolyxTransactionsStddevSampleCreatedAtAsc = 'POLYX_TRANSACTIONS_STDDEV_SAMPLE_CREATED_AT_ASC', - PolyxTransactionsStddevSampleCreatedAtDesc = 'POLYX_TRANSACTIONS_STDDEV_SAMPLE_CREATED_AT_DESC', - PolyxTransactionsStddevSampleCreatedBlockIdAsc = 'POLYX_TRANSACTIONS_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - PolyxTransactionsStddevSampleCreatedBlockIdDesc = 'POLYX_TRANSACTIONS_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - PolyxTransactionsStddevSampleDatetimeAsc = 'POLYX_TRANSACTIONS_STDDEV_SAMPLE_DATETIME_ASC', - PolyxTransactionsStddevSampleDatetimeDesc = 'POLYX_TRANSACTIONS_STDDEV_SAMPLE_DATETIME_DESC', - PolyxTransactionsStddevSampleEventIdxAsc = 'POLYX_TRANSACTIONS_STDDEV_SAMPLE_EVENT_IDX_ASC', - PolyxTransactionsStddevSampleEventIdxDesc = 'POLYX_TRANSACTIONS_STDDEV_SAMPLE_EVENT_IDX_DESC', - PolyxTransactionsStddevSampleEventIdAsc = 'POLYX_TRANSACTIONS_STDDEV_SAMPLE_EVENT_ID_ASC', - PolyxTransactionsStddevSampleEventIdDesc = 'POLYX_TRANSACTIONS_STDDEV_SAMPLE_EVENT_ID_DESC', - PolyxTransactionsStddevSampleExtrinsicIdAsc = 'POLYX_TRANSACTIONS_STDDEV_SAMPLE_EXTRINSIC_ID_ASC', - PolyxTransactionsStddevSampleExtrinsicIdDesc = 'POLYX_TRANSACTIONS_STDDEV_SAMPLE_EXTRINSIC_ID_DESC', - PolyxTransactionsStddevSampleIdentityIdAsc = 'POLYX_TRANSACTIONS_STDDEV_SAMPLE_IDENTITY_ID_ASC', - PolyxTransactionsStddevSampleIdentityIdDesc = 'POLYX_TRANSACTIONS_STDDEV_SAMPLE_IDENTITY_ID_DESC', - PolyxTransactionsStddevSampleIdAsc = 'POLYX_TRANSACTIONS_STDDEV_SAMPLE_ID_ASC', - PolyxTransactionsStddevSampleIdDesc = 'POLYX_TRANSACTIONS_STDDEV_SAMPLE_ID_DESC', - PolyxTransactionsStddevSampleMemoAsc = 'POLYX_TRANSACTIONS_STDDEV_SAMPLE_MEMO_ASC', - PolyxTransactionsStddevSampleMemoDesc = 'POLYX_TRANSACTIONS_STDDEV_SAMPLE_MEMO_DESC', - PolyxTransactionsStddevSampleModuleIdAsc = 'POLYX_TRANSACTIONS_STDDEV_SAMPLE_MODULE_ID_ASC', - PolyxTransactionsStddevSampleModuleIdDesc = 'POLYX_TRANSACTIONS_STDDEV_SAMPLE_MODULE_ID_DESC', - PolyxTransactionsStddevSampleToAddressAsc = 'POLYX_TRANSACTIONS_STDDEV_SAMPLE_TO_ADDRESS_ASC', - PolyxTransactionsStddevSampleToAddressDesc = 'POLYX_TRANSACTIONS_STDDEV_SAMPLE_TO_ADDRESS_DESC', - PolyxTransactionsStddevSampleToIdAsc = 'POLYX_TRANSACTIONS_STDDEV_SAMPLE_TO_ID_ASC', - PolyxTransactionsStddevSampleToIdDesc = 'POLYX_TRANSACTIONS_STDDEV_SAMPLE_TO_ID_DESC', - PolyxTransactionsStddevSampleTypeAsc = 'POLYX_TRANSACTIONS_STDDEV_SAMPLE_TYPE_ASC', - PolyxTransactionsStddevSampleTypeDesc = 'POLYX_TRANSACTIONS_STDDEV_SAMPLE_TYPE_DESC', - PolyxTransactionsStddevSampleUpdatedAtAsc = 'POLYX_TRANSACTIONS_STDDEV_SAMPLE_UPDATED_AT_ASC', - PolyxTransactionsStddevSampleUpdatedAtDesc = 'POLYX_TRANSACTIONS_STDDEV_SAMPLE_UPDATED_AT_DESC', - PolyxTransactionsStddevSampleUpdatedBlockIdAsc = 'POLYX_TRANSACTIONS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - PolyxTransactionsStddevSampleUpdatedBlockIdDesc = 'POLYX_TRANSACTIONS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - PolyxTransactionsSumAddressAsc = 'POLYX_TRANSACTIONS_SUM_ADDRESS_ASC', - PolyxTransactionsSumAddressDesc = 'POLYX_TRANSACTIONS_SUM_ADDRESS_DESC', - PolyxTransactionsSumAmountAsc = 'POLYX_TRANSACTIONS_SUM_AMOUNT_ASC', - PolyxTransactionsSumAmountDesc = 'POLYX_TRANSACTIONS_SUM_AMOUNT_DESC', - PolyxTransactionsSumCallIdAsc = 'POLYX_TRANSACTIONS_SUM_CALL_ID_ASC', - PolyxTransactionsSumCallIdDesc = 'POLYX_TRANSACTIONS_SUM_CALL_ID_DESC', - PolyxTransactionsSumCreatedAtAsc = 'POLYX_TRANSACTIONS_SUM_CREATED_AT_ASC', - PolyxTransactionsSumCreatedAtDesc = 'POLYX_TRANSACTIONS_SUM_CREATED_AT_DESC', - PolyxTransactionsSumCreatedBlockIdAsc = 'POLYX_TRANSACTIONS_SUM_CREATED_BLOCK_ID_ASC', - PolyxTransactionsSumCreatedBlockIdDesc = 'POLYX_TRANSACTIONS_SUM_CREATED_BLOCK_ID_DESC', - PolyxTransactionsSumDatetimeAsc = 'POLYX_TRANSACTIONS_SUM_DATETIME_ASC', - PolyxTransactionsSumDatetimeDesc = 'POLYX_TRANSACTIONS_SUM_DATETIME_DESC', - PolyxTransactionsSumEventIdxAsc = 'POLYX_TRANSACTIONS_SUM_EVENT_IDX_ASC', - PolyxTransactionsSumEventIdxDesc = 'POLYX_TRANSACTIONS_SUM_EVENT_IDX_DESC', - PolyxTransactionsSumEventIdAsc = 'POLYX_TRANSACTIONS_SUM_EVENT_ID_ASC', - PolyxTransactionsSumEventIdDesc = 'POLYX_TRANSACTIONS_SUM_EVENT_ID_DESC', - PolyxTransactionsSumExtrinsicIdAsc = 'POLYX_TRANSACTIONS_SUM_EXTRINSIC_ID_ASC', - PolyxTransactionsSumExtrinsicIdDesc = 'POLYX_TRANSACTIONS_SUM_EXTRINSIC_ID_DESC', - PolyxTransactionsSumIdentityIdAsc = 'POLYX_TRANSACTIONS_SUM_IDENTITY_ID_ASC', - PolyxTransactionsSumIdentityIdDesc = 'POLYX_TRANSACTIONS_SUM_IDENTITY_ID_DESC', - PolyxTransactionsSumIdAsc = 'POLYX_TRANSACTIONS_SUM_ID_ASC', - PolyxTransactionsSumIdDesc = 'POLYX_TRANSACTIONS_SUM_ID_DESC', - PolyxTransactionsSumMemoAsc = 'POLYX_TRANSACTIONS_SUM_MEMO_ASC', - PolyxTransactionsSumMemoDesc = 'POLYX_TRANSACTIONS_SUM_MEMO_DESC', - PolyxTransactionsSumModuleIdAsc = 'POLYX_TRANSACTIONS_SUM_MODULE_ID_ASC', - PolyxTransactionsSumModuleIdDesc = 'POLYX_TRANSACTIONS_SUM_MODULE_ID_DESC', - PolyxTransactionsSumToAddressAsc = 'POLYX_TRANSACTIONS_SUM_TO_ADDRESS_ASC', - PolyxTransactionsSumToAddressDesc = 'POLYX_TRANSACTIONS_SUM_TO_ADDRESS_DESC', - PolyxTransactionsSumToIdAsc = 'POLYX_TRANSACTIONS_SUM_TO_ID_ASC', - PolyxTransactionsSumToIdDesc = 'POLYX_TRANSACTIONS_SUM_TO_ID_DESC', - PolyxTransactionsSumTypeAsc = 'POLYX_TRANSACTIONS_SUM_TYPE_ASC', - PolyxTransactionsSumTypeDesc = 'POLYX_TRANSACTIONS_SUM_TYPE_DESC', - PolyxTransactionsSumUpdatedAtAsc = 'POLYX_TRANSACTIONS_SUM_UPDATED_AT_ASC', - PolyxTransactionsSumUpdatedAtDesc = 'POLYX_TRANSACTIONS_SUM_UPDATED_AT_DESC', - PolyxTransactionsSumUpdatedBlockIdAsc = 'POLYX_TRANSACTIONS_SUM_UPDATED_BLOCK_ID_ASC', - PolyxTransactionsSumUpdatedBlockIdDesc = 'POLYX_TRANSACTIONS_SUM_UPDATED_BLOCK_ID_DESC', - PolyxTransactionsVariancePopulationAddressAsc = 'POLYX_TRANSACTIONS_VARIANCE_POPULATION_ADDRESS_ASC', - PolyxTransactionsVariancePopulationAddressDesc = 'POLYX_TRANSACTIONS_VARIANCE_POPULATION_ADDRESS_DESC', - PolyxTransactionsVariancePopulationAmountAsc = 'POLYX_TRANSACTIONS_VARIANCE_POPULATION_AMOUNT_ASC', - PolyxTransactionsVariancePopulationAmountDesc = 'POLYX_TRANSACTIONS_VARIANCE_POPULATION_AMOUNT_DESC', - PolyxTransactionsVariancePopulationCallIdAsc = 'POLYX_TRANSACTIONS_VARIANCE_POPULATION_CALL_ID_ASC', - PolyxTransactionsVariancePopulationCallIdDesc = 'POLYX_TRANSACTIONS_VARIANCE_POPULATION_CALL_ID_DESC', - PolyxTransactionsVariancePopulationCreatedAtAsc = 'POLYX_TRANSACTIONS_VARIANCE_POPULATION_CREATED_AT_ASC', - PolyxTransactionsVariancePopulationCreatedAtDesc = 'POLYX_TRANSACTIONS_VARIANCE_POPULATION_CREATED_AT_DESC', - PolyxTransactionsVariancePopulationCreatedBlockIdAsc = 'POLYX_TRANSACTIONS_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - PolyxTransactionsVariancePopulationCreatedBlockIdDesc = 'POLYX_TRANSACTIONS_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - PolyxTransactionsVariancePopulationDatetimeAsc = 'POLYX_TRANSACTIONS_VARIANCE_POPULATION_DATETIME_ASC', - PolyxTransactionsVariancePopulationDatetimeDesc = 'POLYX_TRANSACTIONS_VARIANCE_POPULATION_DATETIME_DESC', - PolyxTransactionsVariancePopulationEventIdxAsc = 'POLYX_TRANSACTIONS_VARIANCE_POPULATION_EVENT_IDX_ASC', - PolyxTransactionsVariancePopulationEventIdxDesc = 'POLYX_TRANSACTIONS_VARIANCE_POPULATION_EVENT_IDX_DESC', - PolyxTransactionsVariancePopulationEventIdAsc = 'POLYX_TRANSACTIONS_VARIANCE_POPULATION_EVENT_ID_ASC', - PolyxTransactionsVariancePopulationEventIdDesc = 'POLYX_TRANSACTIONS_VARIANCE_POPULATION_EVENT_ID_DESC', - PolyxTransactionsVariancePopulationExtrinsicIdAsc = 'POLYX_TRANSACTIONS_VARIANCE_POPULATION_EXTRINSIC_ID_ASC', - PolyxTransactionsVariancePopulationExtrinsicIdDesc = 'POLYX_TRANSACTIONS_VARIANCE_POPULATION_EXTRINSIC_ID_DESC', - PolyxTransactionsVariancePopulationIdentityIdAsc = 'POLYX_TRANSACTIONS_VARIANCE_POPULATION_IDENTITY_ID_ASC', - PolyxTransactionsVariancePopulationIdentityIdDesc = 'POLYX_TRANSACTIONS_VARIANCE_POPULATION_IDENTITY_ID_DESC', - PolyxTransactionsVariancePopulationIdAsc = 'POLYX_TRANSACTIONS_VARIANCE_POPULATION_ID_ASC', - PolyxTransactionsVariancePopulationIdDesc = 'POLYX_TRANSACTIONS_VARIANCE_POPULATION_ID_DESC', - PolyxTransactionsVariancePopulationMemoAsc = 'POLYX_TRANSACTIONS_VARIANCE_POPULATION_MEMO_ASC', - PolyxTransactionsVariancePopulationMemoDesc = 'POLYX_TRANSACTIONS_VARIANCE_POPULATION_MEMO_DESC', - PolyxTransactionsVariancePopulationModuleIdAsc = 'POLYX_TRANSACTIONS_VARIANCE_POPULATION_MODULE_ID_ASC', - PolyxTransactionsVariancePopulationModuleIdDesc = 'POLYX_TRANSACTIONS_VARIANCE_POPULATION_MODULE_ID_DESC', - PolyxTransactionsVariancePopulationToAddressAsc = 'POLYX_TRANSACTIONS_VARIANCE_POPULATION_TO_ADDRESS_ASC', - PolyxTransactionsVariancePopulationToAddressDesc = 'POLYX_TRANSACTIONS_VARIANCE_POPULATION_TO_ADDRESS_DESC', - PolyxTransactionsVariancePopulationToIdAsc = 'POLYX_TRANSACTIONS_VARIANCE_POPULATION_TO_ID_ASC', - PolyxTransactionsVariancePopulationToIdDesc = 'POLYX_TRANSACTIONS_VARIANCE_POPULATION_TO_ID_DESC', - PolyxTransactionsVariancePopulationTypeAsc = 'POLYX_TRANSACTIONS_VARIANCE_POPULATION_TYPE_ASC', - PolyxTransactionsVariancePopulationTypeDesc = 'POLYX_TRANSACTIONS_VARIANCE_POPULATION_TYPE_DESC', - PolyxTransactionsVariancePopulationUpdatedAtAsc = 'POLYX_TRANSACTIONS_VARIANCE_POPULATION_UPDATED_AT_ASC', - PolyxTransactionsVariancePopulationUpdatedAtDesc = 'POLYX_TRANSACTIONS_VARIANCE_POPULATION_UPDATED_AT_DESC', - PolyxTransactionsVariancePopulationUpdatedBlockIdAsc = 'POLYX_TRANSACTIONS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - PolyxTransactionsVariancePopulationUpdatedBlockIdDesc = 'POLYX_TRANSACTIONS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - PolyxTransactionsVarianceSampleAddressAsc = 'POLYX_TRANSACTIONS_VARIANCE_SAMPLE_ADDRESS_ASC', - PolyxTransactionsVarianceSampleAddressDesc = 'POLYX_TRANSACTIONS_VARIANCE_SAMPLE_ADDRESS_DESC', - PolyxTransactionsVarianceSampleAmountAsc = 'POLYX_TRANSACTIONS_VARIANCE_SAMPLE_AMOUNT_ASC', - PolyxTransactionsVarianceSampleAmountDesc = 'POLYX_TRANSACTIONS_VARIANCE_SAMPLE_AMOUNT_DESC', - PolyxTransactionsVarianceSampleCallIdAsc = 'POLYX_TRANSACTIONS_VARIANCE_SAMPLE_CALL_ID_ASC', - PolyxTransactionsVarianceSampleCallIdDesc = 'POLYX_TRANSACTIONS_VARIANCE_SAMPLE_CALL_ID_DESC', - PolyxTransactionsVarianceSampleCreatedAtAsc = 'POLYX_TRANSACTIONS_VARIANCE_SAMPLE_CREATED_AT_ASC', - PolyxTransactionsVarianceSampleCreatedAtDesc = 'POLYX_TRANSACTIONS_VARIANCE_SAMPLE_CREATED_AT_DESC', - PolyxTransactionsVarianceSampleCreatedBlockIdAsc = 'POLYX_TRANSACTIONS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - PolyxTransactionsVarianceSampleCreatedBlockIdDesc = 'POLYX_TRANSACTIONS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - PolyxTransactionsVarianceSampleDatetimeAsc = 'POLYX_TRANSACTIONS_VARIANCE_SAMPLE_DATETIME_ASC', - PolyxTransactionsVarianceSampleDatetimeDesc = 'POLYX_TRANSACTIONS_VARIANCE_SAMPLE_DATETIME_DESC', - PolyxTransactionsVarianceSampleEventIdxAsc = 'POLYX_TRANSACTIONS_VARIANCE_SAMPLE_EVENT_IDX_ASC', - PolyxTransactionsVarianceSampleEventIdxDesc = 'POLYX_TRANSACTIONS_VARIANCE_SAMPLE_EVENT_IDX_DESC', - PolyxTransactionsVarianceSampleEventIdAsc = 'POLYX_TRANSACTIONS_VARIANCE_SAMPLE_EVENT_ID_ASC', - PolyxTransactionsVarianceSampleEventIdDesc = 'POLYX_TRANSACTIONS_VARIANCE_SAMPLE_EVENT_ID_DESC', - PolyxTransactionsVarianceSampleExtrinsicIdAsc = 'POLYX_TRANSACTIONS_VARIANCE_SAMPLE_EXTRINSIC_ID_ASC', - PolyxTransactionsVarianceSampleExtrinsicIdDesc = 'POLYX_TRANSACTIONS_VARIANCE_SAMPLE_EXTRINSIC_ID_DESC', - PolyxTransactionsVarianceSampleIdentityIdAsc = 'POLYX_TRANSACTIONS_VARIANCE_SAMPLE_IDENTITY_ID_ASC', - PolyxTransactionsVarianceSampleIdentityIdDesc = 'POLYX_TRANSACTIONS_VARIANCE_SAMPLE_IDENTITY_ID_DESC', - PolyxTransactionsVarianceSampleIdAsc = 'POLYX_TRANSACTIONS_VARIANCE_SAMPLE_ID_ASC', - PolyxTransactionsVarianceSampleIdDesc = 'POLYX_TRANSACTIONS_VARIANCE_SAMPLE_ID_DESC', - PolyxTransactionsVarianceSampleMemoAsc = 'POLYX_TRANSACTIONS_VARIANCE_SAMPLE_MEMO_ASC', - PolyxTransactionsVarianceSampleMemoDesc = 'POLYX_TRANSACTIONS_VARIANCE_SAMPLE_MEMO_DESC', - PolyxTransactionsVarianceSampleModuleIdAsc = 'POLYX_TRANSACTIONS_VARIANCE_SAMPLE_MODULE_ID_ASC', - PolyxTransactionsVarianceSampleModuleIdDesc = 'POLYX_TRANSACTIONS_VARIANCE_SAMPLE_MODULE_ID_DESC', - PolyxTransactionsVarianceSampleToAddressAsc = 'POLYX_TRANSACTIONS_VARIANCE_SAMPLE_TO_ADDRESS_ASC', - PolyxTransactionsVarianceSampleToAddressDesc = 'POLYX_TRANSACTIONS_VARIANCE_SAMPLE_TO_ADDRESS_DESC', - PolyxTransactionsVarianceSampleToIdAsc = 'POLYX_TRANSACTIONS_VARIANCE_SAMPLE_TO_ID_ASC', - PolyxTransactionsVarianceSampleToIdDesc = 'POLYX_TRANSACTIONS_VARIANCE_SAMPLE_TO_ID_DESC', - PolyxTransactionsVarianceSampleTypeAsc = 'POLYX_TRANSACTIONS_VARIANCE_SAMPLE_TYPE_ASC', - PolyxTransactionsVarianceSampleTypeDesc = 'POLYX_TRANSACTIONS_VARIANCE_SAMPLE_TYPE_DESC', - PolyxTransactionsVarianceSampleUpdatedAtAsc = 'POLYX_TRANSACTIONS_VARIANCE_SAMPLE_UPDATED_AT_ASC', - PolyxTransactionsVarianceSampleUpdatedAtDesc = 'POLYX_TRANSACTIONS_VARIANCE_SAMPLE_UPDATED_AT_DESC', - PolyxTransactionsVarianceSampleUpdatedBlockIdAsc = 'POLYX_TRANSACTIONS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - PolyxTransactionsVarianceSampleUpdatedBlockIdDesc = 'POLYX_TRANSACTIONS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - PrimaryKeyAsc = 'PRIMARY_KEY_ASC', - PrimaryKeyDesc = 'PRIMARY_KEY_DESC', - SignedbyAddressAsc = 'SIGNEDBY_ADDRESS_ASC', - SignedbyAddressDesc = 'SIGNEDBY_ADDRESS_DESC', - SignedAsc = 'SIGNED_ASC', - SignedDesc = 'SIGNED_DESC', - SpecVersionIdAsc = 'SPEC_VERSION_ID_ASC', - SpecVersionIdDesc = 'SPEC_VERSION_ID_DESC', - SuccessAsc = 'SUCCESS_ASC', - SuccessDesc = 'SUCCESS_DESC', - UpdatedAtAsc = 'UPDATED_AT_ASC', - UpdatedAtDesc = 'UPDATED_AT_DESC', -} - -export type FoundType = Node & { - __typename?: 'FoundType'; - createdAt: Scalars['Datetime']['output']; - id: Scalars['String']['output']; - /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ - nodeId: Scalars['ID']['output']; - rawType: Scalars['String']['output']; - updatedAt: Scalars['Datetime']['output']; -}; - -export type FoundTypeAggregates = { - __typename?: 'FoundTypeAggregates'; - /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ - distinctCount?: Maybe; - keys?: Maybe>; -}; - -export type FoundTypeDistinctCountAggregates = { - __typename?: 'FoundTypeDistinctCountAggregates'; - /** Distinct count of createdAt across the matching connection */ - createdAt?: Maybe; - /** Distinct count of id across the matching connection */ - id?: Maybe; - /** Distinct count of rawType across the matching connection */ - rawType?: Maybe; - /** Distinct count of updatedAt across the matching connection */ - updatedAt?: Maybe; -}; - -/** A filter to be used against `FoundType` object types. All fields are combined with a logical ‘and.’ */ -export type FoundTypeFilter = { - /** Checks for all expressions in this list. */ - and?: InputMaybe>; - /** Filter by the object’s `createdAt` field. */ - createdAt?: InputMaybe; - /** Filter by the object’s `id` field. */ - id?: InputMaybe; - /** Negates the expression. */ - not?: InputMaybe; - /** Checks for any expressions in this list. */ - or?: InputMaybe>; - /** Filter by the object’s `rawType` field. */ - rawType?: InputMaybe; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: InputMaybe; -}; - -/** A connection to a list of `FoundType` values. */ -export type FoundTypesConnection = { - __typename?: 'FoundTypesConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `FoundType` and cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `FoundType` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `FoundType` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `FoundType` values. */ -export type FoundTypesConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `FoundType` edge in the connection. */ -export type FoundTypesEdge = { - __typename?: 'FoundTypesEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `FoundType` at the end of the edge. */ - node?: Maybe; -}; - -/** Grouping methods for `FoundType` for usage during aggregation. */ -export enum FoundTypesGroupBy { - CreatedAt = 'CREATED_AT', - CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', - CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', - RawType = 'RAW_TYPE', - UpdatedAt = 'UPDATED_AT', - UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', - UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', -} - -export type FoundTypesHavingAverageInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type FoundTypesHavingDistinctCountInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Conditions for `FoundType` aggregates. */ -export type FoundTypesHavingInput = { - AND?: InputMaybe>; - OR?: InputMaybe>; - average?: InputMaybe; - distinctCount?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddevPopulation?: InputMaybe; - stddevSample?: InputMaybe; - sum?: InputMaybe; - variancePopulation?: InputMaybe; - varianceSample?: InputMaybe; -}; - -export type FoundTypesHavingMaxInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type FoundTypesHavingMinInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type FoundTypesHavingStddevPopulationInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type FoundTypesHavingStddevSampleInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type FoundTypesHavingSumInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type FoundTypesHavingVariancePopulationInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type FoundTypesHavingVarianceSampleInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Methods to use when ordering `FoundType`. */ -export enum FoundTypesOrderBy { - CreatedAtAsc = 'CREATED_AT_ASC', - CreatedAtDesc = 'CREATED_AT_DESC', - IdAsc = 'ID_ASC', - IdDesc = 'ID_DESC', - Natural = 'NATURAL', - PrimaryKeyAsc = 'PRIMARY_KEY_ASC', - PrimaryKeyDesc = 'PRIMARY_KEY_DESC', - RawTypeAsc = 'RAW_TYPE_ASC', - RawTypeDesc = 'RAW_TYPE_DESC', - UpdatedAtAsc = 'UPDATED_AT_ASC', - UpdatedAtDesc = 'UPDATED_AT_DESC', -} - -/** Represents an investment into an Asset */ -export type Funding = Node & { - __typename?: 'Funding'; - amount: Scalars['BigFloat']['output']; - /** Reads a single `Asset` that is related to this `Funding`. */ - asset?: Maybe; - assetId: Scalars['String']['output']; - createdAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `Funding`. */ - createdBlock?: Maybe; - createdBlockId: Scalars['String']['output']; - datetime: Scalars['Datetime']['output']; - fundingRound: Scalars['String']['output']; - id: Scalars['String']['output']; - /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ - nodeId: Scalars['ID']['output']; - totalFundingAmount: Scalars['BigFloat']['output']; - updatedAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `Funding`. */ - updatedBlock?: Maybe; - updatedBlockId: Scalars['String']['output']; -}; - -export type FundingAggregates = { - __typename?: 'FundingAggregates'; - /** Mean average aggregates across the matching connection (ignoring before/after/first/last/offset) */ - average?: Maybe; - /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ - distinctCount?: Maybe; - keys?: Maybe>; - /** Maximum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - max?: Maybe; - /** Minimum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - min?: Maybe; - /** Population standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevPopulation?: Maybe; - /** Sample standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevSample?: Maybe; - /** Sum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - sum?: Maybe; - /** Population variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - variancePopulation?: Maybe; - /** Sample variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - varianceSample?: Maybe; -}; - -/** A filter to be used against aggregates of `Funding` object types. */ -export type FundingAggregatesFilter = { - /** Mean average aggregate over matching `Funding` objects. */ - average?: InputMaybe; - /** Distinct count aggregate over matching `Funding` objects. */ - distinctCount?: InputMaybe; - /** A filter that must pass for the relevant `Funding` object to be included within the aggregate. */ - filter?: InputMaybe; - /** Maximum aggregate over matching `Funding` objects. */ - max?: InputMaybe; - /** Minimum aggregate over matching `Funding` objects. */ - min?: InputMaybe; - /** Population standard deviation aggregate over matching `Funding` objects. */ - stddevPopulation?: InputMaybe; - /** Sample standard deviation aggregate over matching `Funding` objects. */ - stddevSample?: InputMaybe; - /** Sum aggregate over matching `Funding` objects. */ - sum?: InputMaybe; - /** Population variance aggregate over matching `Funding` objects. */ - variancePopulation?: InputMaybe; - /** Sample variance aggregate over matching `Funding` objects. */ - varianceSample?: InputMaybe; -}; - -export type FundingAverageAggregateFilter = { - amount?: InputMaybe; - totalFundingAmount?: InputMaybe; -}; - -export type FundingAverageAggregates = { - __typename?: 'FundingAverageAggregates'; - /** Mean average of amount across the matching connection */ - amount?: Maybe; - /** Mean average of totalFundingAmount across the matching connection */ - totalFundingAmount?: Maybe; -}; - -export type FundingDistinctCountAggregateFilter = { - amount?: InputMaybe; - assetId?: InputMaybe; - createdAt?: InputMaybe; - createdBlockId?: InputMaybe; - datetime?: InputMaybe; - fundingRound?: InputMaybe; - id?: InputMaybe; - totalFundingAmount?: InputMaybe; - updatedAt?: InputMaybe; - updatedBlockId?: InputMaybe; -}; - -export type FundingDistinctCountAggregates = { - __typename?: 'FundingDistinctCountAggregates'; - /** Distinct count of amount across the matching connection */ - amount?: Maybe; - /** Distinct count of assetId across the matching connection */ - assetId?: Maybe; - /** Distinct count of createdAt across the matching connection */ - createdAt?: Maybe; - /** Distinct count of createdBlockId across the matching connection */ - createdBlockId?: Maybe; - /** Distinct count of datetime across the matching connection */ - datetime?: Maybe; - /** Distinct count of fundingRound across the matching connection */ - fundingRound?: Maybe; - /** Distinct count of id across the matching connection */ - id?: Maybe; - /** Distinct count of totalFundingAmount across the matching connection */ - totalFundingAmount?: Maybe; - /** Distinct count of updatedAt across the matching connection */ - updatedAt?: Maybe; - /** Distinct count of updatedBlockId across the matching connection */ - updatedBlockId?: Maybe; -}; - -/** A filter to be used against `Funding` object types. All fields are combined with a logical ‘and.’ */ -export type FundingFilter = { - /** Filter by the object’s `amount` field. */ - amount?: InputMaybe; - /** Checks for all expressions in this list. */ - and?: InputMaybe>; - /** Filter by the object’s `asset` relation. */ - asset?: InputMaybe; - /** Filter by the object’s `assetId` field. */ - assetId?: InputMaybe; - /** Filter by the object’s `createdAt` field. */ - createdAt?: InputMaybe; - /** Filter by the object’s `createdBlock` relation. */ - createdBlock?: InputMaybe; - /** Filter by the object’s `createdBlockId` field. */ - createdBlockId?: InputMaybe; - /** Filter by the object’s `datetime` field. */ - datetime?: InputMaybe; - /** Filter by the object’s `fundingRound` field. */ - fundingRound?: InputMaybe; - /** Filter by the object’s `id` field. */ - id?: InputMaybe; - /** Negates the expression. */ - not?: InputMaybe; - /** Checks for any expressions in this list. */ - or?: InputMaybe>; - /** Filter by the object’s `totalFundingAmount` field. */ - totalFundingAmount?: InputMaybe; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: InputMaybe; - /** Filter by the object’s `updatedBlock` relation. */ - updatedBlock?: InputMaybe; - /** Filter by the object’s `updatedBlockId` field. */ - updatedBlockId?: InputMaybe; -}; - -export type FundingMaxAggregateFilter = { - amount?: InputMaybe; - totalFundingAmount?: InputMaybe; -}; - -export type FundingMaxAggregates = { - __typename?: 'FundingMaxAggregates'; - /** Maximum of amount across the matching connection */ - amount?: Maybe; - /** Maximum of totalFundingAmount across the matching connection */ - totalFundingAmount?: Maybe; -}; - -export type FundingMinAggregateFilter = { - amount?: InputMaybe; - totalFundingAmount?: InputMaybe; -}; - -export type FundingMinAggregates = { - __typename?: 'FundingMinAggregates'; - /** Minimum of amount across the matching connection */ - amount?: Maybe; - /** Minimum of totalFundingAmount across the matching connection */ - totalFundingAmount?: Maybe; -}; - -export type FundingStddevPopulationAggregateFilter = { - amount?: InputMaybe; - totalFundingAmount?: InputMaybe; -}; - -export type FundingStddevPopulationAggregates = { - __typename?: 'FundingStddevPopulationAggregates'; - /** Population standard deviation of amount across the matching connection */ - amount?: Maybe; - /** Population standard deviation of totalFundingAmount across the matching connection */ - totalFundingAmount?: Maybe; -}; - -export type FundingStddevSampleAggregateFilter = { - amount?: InputMaybe; - totalFundingAmount?: InputMaybe; -}; - -export type FundingStddevSampleAggregates = { - __typename?: 'FundingStddevSampleAggregates'; - /** Sample standard deviation of amount across the matching connection */ - amount?: Maybe; - /** Sample standard deviation of totalFundingAmount across the matching connection */ - totalFundingAmount?: Maybe; -}; - -export type FundingSumAggregateFilter = { - amount?: InputMaybe; - totalFundingAmount?: InputMaybe; -}; - -export type FundingSumAggregates = { - __typename?: 'FundingSumAggregates'; - /** Sum of amount across the matching connection */ - amount: Scalars['BigFloat']['output']; - /** Sum of totalFundingAmount across the matching connection */ - totalFundingAmount: Scalars['BigFloat']['output']; -}; - -export type FundingVariancePopulationAggregateFilter = { - amount?: InputMaybe; - totalFundingAmount?: InputMaybe; -}; - -export type FundingVariancePopulationAggregates = { - __typename?: 'FundingVariancePopulationAggregates'; - /** Population variance of amount across the matching connection */ - amount?: Maybe; - /** Population variance of totalFundingAmount across the matching connection */ - totalFundingAmount?: Maybe; -}; - -export type FundingVarianceSampleAggregateFilter = { - amount?: InputMaybe; - totalFundingAmount?: InputMaybe; -}; - -export type FundingVarianceSampleAggregates = { - __typename?: 'FundingVarianceSampleAggregates'; - /** Sample variance of amount across the matching connection */ - amount?: Maybe; - /** Sample variance of totalFundingAmount across the matching connection */ - totalFundingAmount?: Maybe; -}; - -/** A connection to a list of `Funding` values. */ -export type FundingsConnection = { - __typename?: 'FundingsConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Funding` and cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Funding` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Funding` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Funding` values. */ -export type FundingsConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `Funding` edge in the connection. */ -export type FundingsEdge = { - __typename?: 'FundingsEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Funding` at the end of the edge. */ - node?: Maybe; -}; - -/** Grouping methods for `Funding` for usage during aggregation. */ -export enum FundingsGroupBy { - Amount = 'AMOUNT', - AssetId = 'ASSET_ID', - CreatedAt = 'CREATED_AT', - CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', - CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', - CreatedBlockId = 'CREATED_BLOCK_ID', - Datetime = 'DATETIME', - DatetimeTruncatedToDay = 'DATETIME_TRUNCATED_TO_DAY', - DatetimeTruncatedToHour = 'DATETIME_TRUNCATED_TO_HOUR', - FundingRound = 'FUNDING_ROUND', - TotalFundingAmount = 'TOTAL_FUNDING_AMOUNT', - UpdatedAt = 'UPDATED_AT', - UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', - UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export type FundingsHavingAverageInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - totalFundingAmount?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type FundingsHavingDistinctCountInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - totalFundingAmount?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Conditions for `Funding` aggregates. */ -export type FundingsHavingInput = { - AND?: InputMaybe>; - OR?: InputMaybe>; - average?: InputMaybe; - distinctCount?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddevPopulation?: InputMaybe; - stddevSample?: InputMaybe; - sum?: InputMaybe; - variancePopulation?: InputMaybe; - varianceSample?: InputMaybe; -}; - -export type FundingsHavingMaxInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - totalFundingAmount?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type FundingsHavingMinInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - totalFundingAmount?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type FundingsHavingStddevPopulationInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - totalFundingAmount?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type FundingsHavingStddevSampleInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - totalFundingAmount?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type FundingsHavingSumInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - totalFundingAmount?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type FundingsHavingVariancePopulationInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - totalFundingAmount?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type FundingsHavingVarianceSampleInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - totalFundingAmount?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Methods to use when ordering `Funding`. */ -export enum FundingsOrderBy { - AmountAsc = 'AMOUNT_ASC', - AmountDesc = 'AMOUNT_DESC', - AssetIdAsc = 'ASSET_ID_ASC', - AssetIdDesc = 'ASSET_ID_DESC', - CreatedAtAsc = 'CREATED_AT_ASC', - CreatedAtDesc = 'CREATED_AT_DESC', - CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', - CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', - DatetimeAsc = 'DATETIME_ASC', - DatetimeDesc = 'DATETIME_DESC', - FundingRoundAsc = 'FUNDING_ROUND_ASC', - FundingRoundDesc = 'FUNDING_ROUND_DESC', - IdAsc = 'ID_ASC', - IdDesc = 'ID_DESC', - Natural = 'NATURAL', - PrimaryKeyAsc = 'PRIMARY_KEY_ASC', - PrimaryKeyDesc = 'PRIMARY_KEY_DESC', - TotalFundingAmountAsc = 'TOTAL_FUNDING_AMOUNT_ASC', - TotalFundingAmountDesc = 'TOTAL_FUNDING_AMOUNT_DESC', - UpdatedAtAsc = 'UPDATED_AT_ASC', - UpdatedAtDesc = 'UPDATED_AT_DESC', - UpdatedBlockIdAsc = 'UPDATED_BLOCK_ID_ASC', - UpdatedBlockIdDesc = 'UPDATED_BLOCK_ID_DESC', -} - -export type HavingBigfloatFilter = { - equalTo?: InputMaybe; - greaterThan?: InputMaybe; - greaterThanOrEqualTo?: InputMaybe; - lessThan?: InputMaybe; - lessThanOrEqualTo?: InputMaybe; - notEqualTo?: InputMaybe; -}; - -export type HavingDatetimeFilter = { - equalTo?: InputMaybe; - greaterThan?: InputMaybe; - greaterThanOrEqualTo?: InputMaybe; - lessThan?: InputMaybe; - lessThanOrEqualTo?: InputMaybe; - notEqualTo?: InputMaybe; -}; - -export type HavingIntFilter = { - equalTo?: InputMaybe; - greaterThan?: InputMaybe; - greaterThanOrEqualTo?: InputMaybe; - lessThan?: InputMaybe; - lessThanOrEqualTo?: InputMaybe; - notEqualTo?: InputMaybe; -}; - -/** A connection to a list of `Identity` values. */ -export type IdentitiesConnection = { - __typename?: 'IdentitiesConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity` and cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values. */ -export type IdentitiesConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `Identity` edge in the connection. */ -export type IdentitiesEdge = { - __typename?: 'IdentitiesEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; -}; - -/** Grouping methods for `Identity` for usage during aggregation. */ -export enum IdentitiesGroupBy { - CreatedAt = 'CREATED_AT', - CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', - CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', - CreatedBlockId = 'CREATED_BLOCK_ID', - Datetime = 'DATETIME', - DatetimeTruncatedToDay = 'DATETIME_TRUNCATED_TO_DAY', - DatetimeTruncatedToHour = 'DATETIME_TRUNCATED_TO_HOUR', - EventId = 'EVENT_ID', - PrimaryAccount = 'PRIMARY_ACCOUNT', - SecondaryKeysFrozen = 'SECONDARY_KEYS_FROZEN', - UpdatedAt = 'UPDATED_AT', - UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', - UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export type IdentitiesHavingAverageInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type IdentitiesHavingDistinctCountInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Conditions for `Identity` aggregates. */ -export type IdentitiesHavingInput = { - AND?: InputMaybe>; - OR?: InputMaybe>; - average?: InputMaybe; - distinctCount?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddevPopulation?: InputMaybe; - stddevSample?: InputMaybe; - sum?: InputMaybe; - variancePopulation?: InputMaybe; - varianceSample?: InputMaybe; -}; - -export type IdentitiesHavingMaxInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type IdentitiesHavingMinInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type IdentitiesHavingStddevPopulationInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type IdentitiesHavingStddevSampleInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type IdentitiesHavingSumInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type IdentitiesHavingVariancePopulationInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type IdentitiesHavingVarianceSampleInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Methods to use when ordering `Identity`. */ -export enum IdentitiesOrderBy { - AssetsByOwnerIdAverageCreatedAtAsc = 'ASSETS_BY_OWNER_ID_AVERAGE_CREATED_AT_ASC', - AssetsByOwnerIdAverageCreatedAtDesc = 'ASSETS_BY_OWNER_ID_AVERAGE_CREATED_AT_DESC', - AssetsByOwnerIdAverageCreatedBlockIdAsc = 'ASSETS_BY_OWNER_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - AssetsByOwnerIdAverageCreatedBlockIdDesc = 'ASSETS_BY_OWNER_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - AssetsByOwnerIdAverageEventIdxAsc = 'ASSETS_BY_OWNER_ID_AVERAGE_EVENT_IDX_ASC', - AssetsByOwnerIdAverageEventIdxDesc = 'ASSETS_BY_OWNER_ID_AVERAGE_EVENT_IDX_DESC', - AssetsByOwnerIdAverageFundingRoundAsc = 'ASSETS_BY_OWNER_ID_AVERAGE_FUNDING_ROUND_ASC', - AssetsByOwnerIdAverageFundingRoundDesc = 'ASSETS_BY_OWNER_ID_AVERAGE_FUNDING_ROUND_DESC', - AssetsByOwnerIdAverageIdentifiersAsc = 'ASSETS_BY_OWNER_ID_AVERAGE_IDENTIFIERS_ASC', - AssetsByOwnerIdAverageIdentifiersDesc = 'ASSETS_BY_OWNER_ID_AVERAGE_IDENTIFIERS_DESC', - AssetsByOwnerIdAverageIdAsc = 'ASSETS_BY_OWNER_ID_AVERAGE_ID_ASC', - AssetsByOwnerIdAverageIdDesc = 'ASSETS_BY_OWNER_ID_AVERAGE_ID_DESC', - AssetsByOwnerIdAverageIsCompliancePausedAsc = 'ASSETS_BY_OWNER_ID_AVERAGE_IS_COMPLIANCE_PAUSED_ASC', - AssetsByOwnerIdAverageIsCompliancePausedDesc = 'ASSETS_BY_OWNER_ID_AVERAGE_IS_COMPLIANCE_PAUSED_DESC', - AssetsByOwnerIdAverageIsDivisibleAsc = 'ASSETS_BY_OWNER_ID_AVERAGE_IS_DIVISIBLE_ASC', - AssetsByOwnerIdAverageIsDivisibleDesc = 'ASSETS_BY_OWNER_ID_AVERAGE_IS_DIVISIBLE_DESC', - AssetsByOwnerIdAverageIsFrozenAsc = 'ASSETS_BY_OWNER_ID_AVERAGE_IS_FROZEN_ASC', - AssetsByOwnerIdAverageIsFrozenDesc = 'ASSETS_BY_OWNER_ID_AVERAGE_IS_FROZEN_DESC', - AssetsByOwnerIdAverageIsNftCollectionAsc = 'ASSETS_BY_OWNER_ID_AVERAGE_IS_NFT_COLLECTION_ASC', - AssetsByOwnerIdAverageIsNftCollectionDesc = 'ASSETS_BY_OWNER_ID_AVERAGE_IS_NFT_COLLECTION_DESC', - AssetsByOwnerIdAverageIsUniquenessRequiredAsc = 'ASSETS_BY_OWNER_ID_AVERAGE_IS_UNIQUENESS_REQUIRED_ASC', - AssetsByOwnerIdAverageIsUniquenessRequiredDesc = 'ASSETS_BY_OWNER_ID_AVERAGE_IS_UNIQUENESS_REQUIRED_DESC', - AssetsByOwnerIdAverageNameAsc = 'ASSETS_BY_OWNER_ID_AVERAGE_NAME_ASC', - AssetsByOwnerIdAverageNameDesc = 'ASSETS_BY_OWNER_ID_AVERAGE_NAME_DESC', - AssetsByOwnerIdAverageOwnerIdAsc = 'ASSETS_BY_OWNER_ID_AVERAGE_OWNER_ID_ASC', - AssetsByOwnerIdAverageOwnerIdDesc = 'ASSETS_BY_OWNER_ID_AVERAGE_OWNER_ID_DESC', - AssetsByOwnerIdAverageTickerAsc = 'ASSETS_BY_OWNER_ID_AVERAGE_TICKER_ASC', - AssetsByOwnerIdAverageTickerDesc = 'ASSETS_BY_OWNER_ID_AVERAGE_TICKER_DESC', - AssetsByOwnerIdAverageTotalSupplyAsc = 'ASSETS_BY_OWNER_ID_AVERAGE_TOTAL_SUPPLY_ASC', - AssetsByOwnerIdAverageTotalSupplyDesc = 'ASSETS_BY_OWNER_ID_AVERAGE_TOTAL_SUPPLY_DESC', - AssetsByOwnerIdAverageTotalTransfersAsc = 'ASSETS_BY_OWNER_ID_AVERAGE_TOTAL_TRANSFERS_ASC', - AssetsByOwnerIdAverageTotalTransfersDesc = 'ASSETS_BY_OWNER_ID_AVERAGE_TOTAL_TRANSFERS_DESC', - AssetsByOwnerIdAverageTypeAsc = 'ASSETS_BY_OWNER_ID_AVERAGE_TYPE_ASC', - AssetsByOwnerIdAverageTypeDesc = 'ASSETS_BY_OWNER_ID_AVERAGE_TYPE_DESC', - AssetsByOwnerIdAverageUpdatedAtAsc = 'ASSETS_BY_OWNER_ID_AVERAGE_UPDATED_AT_ASC', - AssetsByOwnerIdAverageUpdatedAtDesc = 'ASSETS_BY_OWNER_ID_AVERAGE_UPDATED_AT_DESC', - AssetsByOwnerIdAverageUpdatedBlockIdAsc = 'ASSETS_BY_OWNER_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - AssetsByOwnerIdAverageUpdatedBlockIdDesc = 'ASSETS_BY_OWNER_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - AssetsByOwnerIdCountAsc = 'ASSETS_BY_OWNER_ID_COUNT_ASC', - AssetsByOwnerIdCountDesc = 'ASSETS_BY_OWNER_ID_COUNT_DESC', - AssetsByOwnerIdDistinctCountCreatedAtAsc = 'ASSETS_BY_OWNER_ID_DISTINCT_COUNT_CREATED_AT_ASC', - AssetsByOwnerIdDistinctCountCreatedAtDesc = 'ASSETS_BY_OWNER_ID_DISTINCT_COUNT_CREATED_AT_DESC', - AssetsByOwnerIdDistinctCountCreatedBlockIdAsc = 'ASSETS_BY_OWNER_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - AssetsByOwnerIdDistinctCountCreatedBlockIdDesc = 'ASSETS_BY_OWNER_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - AssetsByOwnerIdDistinctCountEventIdxAsc = 'ASSETS_BY_OWNER_ID_DISTINCT_COUNT_EVENT_IDX_ASC', - AssetsByOwnerIdDistinctCountEventIdxDesc = 'ASSETS_BY_OWNER_ID_DISTINCT_COUNT_EVENT_IDX_DESC', - AssetsByOwnerIdDistinctCountFundingRoundAsc = 'ASSETS_BY_OWNER_ID_DISTINCT_COUNT_FUNDING_ROUND_ASC', - AssetsByOwnerIdDistinctCountFundingRoundDesc = 'ASSETS_BY_OWNER_ID_DISTINCT_COUNT_FUNDING_ROUND_DESC', - AssetsByOwnerIdDistinctCountIdentifiersAsc = 'ASSETS_BY_OWNER_ID_DISTINCT_COUNT_IDENTIFIERS_ASC', - AssetsByOwnerIdDistinctCountIdentifiersDesc = 'ASSETS_BY_OWNER_ID_DISTINCT_COUNT_IDENTIFIERS_DESC', - AssetsByOwnerIdDistinctCountIdAsc = 'ASSETS_BY_OWNER_ID_DISTINCT_COUNT_ID_ASC', - AssetsByOwnerIdDistinctCountIdDesc = 'ASSETS_BY_OWNER_ID_DISTINCT_COUNT_ID_DESC', - AssetsByOwnerIdDistinctCountIsCompliancePausedAsc = 'ASSETS_BY_OWNER_ID_DISTINCT_COUNT_IS_COMPLIANCE_PAUSED_ASC', - AssetsByOwnerIdDistinctCountIsCompliancePausedDesc = 'ASSETS_BY_OWNER_ID_DISTINCT_COUNT_IS_COMPLIANCE_PAUSED_DESC', - AssetsByOwnerIdDistinctCountIsDivisibleAsc = 'ASSETS_BY_OWNER_ID_DISTINCT_COUNT_IS_DIVISIBLE_ASC', - AssetsByOwnerIdDistinctCountIsDivisibleDesc = 'ASSETS_BY_OWNER_ID_DISTINCT_COUNT_IS_DIVISIBLE_DESC', - AssetsByOwnerIdDistinctCountIsFrozenAsc = 'ASSETS_BY_OWNER_ID_DISTINCT_COUNT_IS_FROZEN_ASC', - AssetsByOwnerIdDistinctCountIsFrozenDesc = 'ASSETS_BY_OWNER_ID_DISTINCT_COUNT_IS_FROZEN_DESC', - AssetsByOwnerIdDistinctCountIsNftCollectionAsc = 'ASSETS_BY_OWNER_ID_DISTINCT_COUNT_IS_NFT_COLLECTION_ASC', - AssetsByOwnerIdDistinctCountIsNftCollectionDesc = 'ASSETS_BY_OWNER_ID_DISTINCT_COUNT_IS_NFT_COLLECTION_DESC', - AssetsByOwnerIdDistinctCountIsUniquenessRequiredAsc = 'ASSETS_BY_OWNER_ID_DISTINCT_COUNT_IS_UNIQUENESS_REQUIRED_ASC', - AssetsByOwnerIdDistinctCountIsUniquenessRequiredDesc = 'ASSETS_BY_OWNER_ID_DISTINCT_COUNT_IS_UNIQUENESS_REQUIRED_DESC', - AssetsByOwnerIdDistinctCountNameAsc = 'ASSETS_BY_OWNER_ID_DISTINCT_COUNT_NAME_ASC', - AssetsByOwnerIdDistinctCountNameDesc = 'ASSETS_BY_OWNER_ID_DISTINCT_COUNT_NAME_DESC', - AssetsByOwnerIdDistinctCountOwnerIdAsc = 'ASSETS_BY_OWNER_ID_DISTINCT_COUNT_OWNER_ID_ASC', - AssetsByOwnerIdDistinctCountOwnerIdDesc = 'ASSETS_BY_OWNER_ID_DISTINCT_COUNT_OWNER_ID_DESC', - AssetsByOwnerIdDistinctCountTickerAsc = 'ASSETS_BY_OWNER_ID_DISTINCT_COUNT_TICKER_ASC', - AssetsByOwnerIdDistinctCountTickerDesc = 'ASSETS_BY_OWNER_ID_DISTINCT_COUNT_TICKER_DESC', - AssetsByOwnerIdDistinctCountTotalSupplyAsc = 'ASSETS_BY_OWNER_ID_DISTINCT_COUNT_TOTAL_SUPPLY_ASC', - AssetsByOwnerIdDistinctCountTotalSupplyDesc = 'ASSETS_BY_OWNER_ID_DISTINCT_COUNT_TOTAL_SUPPLY_DESC', - AssetsByOwnerIdDistinctCountTotalTransfersAsc = 'ASSETS_BY_OWNER_ID_DISTINCT_COUNT_TOTAL_TRANSFERS_ASC', - AssetsByOwnerIdDistinctCountTotalTransfersDesc = 'ASSETS_BY_OWNER_ID_DISTINCT_COUNT_TOTAL_TRANSFERS_DESC', - AssetsByOwnerIdDistinctCountTypeAsc = 'ASSETS_BY_OWNER_ID_DISTINCT_COUNT_TYPE_ASC', - AssetsByOwnerIdDistinctCountTypeDesc = 'ASSETS_BY_OWNER_ID_DISTINCT_COUNT_TYPE_DESC', - AssetsByOwnerIdDistinctCountUpdatedAtAsc = 'ASSETS_BY_OWNER_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - AssetsByOwnerIdDistinctCountUpdatedAtDesc = 'ASSETS_BY_OWNER_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - AssetsByOwnerIdDistinctCountUpdatedBlockIdAsc = 'ASSETS_BY_OWNER_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - AssetsByOwnerIdDistinctCountUpdatedBlockIdDesc = 'ASSETS_BY_OWNER_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - AssetsByOwnerIdMaxCreatedAtAsc = 'ASSETS_BY_OWNER_ID_MAX_CREATED_AT_ASC', - AssetsByOwnerIdMaxCreatedAtDesc = 'ASSETS_BY_OWNER_ID_MAX_CREATED_AT_DESC', - AssetsByOwnerIdMaxCreatedBlockIdAsc = 'ASSETS_BY_OWNER_ID_MAX_CREATED_BLOCK_ID_ASC', - AssetsByOwnerIdMaxCreatedBlockIdDesc = 'ASSETS_BY_OWNER_ID_MAX_CREATED_BLOCK_ID_DESC', - AssetsByOwnerIdMaxEventIdxAsc = 'ASSETS_BY_OWNER_ID_MAX_EVENT_IDX_ASC', - AssetsByOwnerIdMaxEventIdxDesc = 'ASSETS_BY_OWNER_ID_MAX_EVENT_IDX_DESC', - AssetsByOwnerIdMaxFundingRoundAsc = 'ASSETS_BY_OWNER_ID_MAX_FUNDING_ROUND_ASC', - AssetsByOwnerIdMaxFundingRoundDesc = 'ASSETS_BY_OWNER_ID_MAX_FUNDING_ROUND_DESC', - AssetsByOwnerIdMaxIdentifiersAsc = 'ASSETS_BY_OWNER_ID_MAX_IDENTIFIERS_ASC', - AssetsByOwnerIdMaxIdentifiersDesc = 'ASSETS_BY_OWNER_ID_MAX_IDENTIFIERS_DESC', - AssetsByOwnerIdMaxIdAsc = 'ASSETS_BY_OWNER_ID_MAX_ID_ASC', - AssetsByOwnerIdMaxIdDesc = 'ASSETS_BY_OWNER_ID_MAX_ID_DESC', - AssetsByOwnerIdMaxIsCompliancePausedAsc = 'ASSETS_BY_OWNER_ID_MAX_IS_COMPLIANCE_PAUSED_ASC', - AssetsByOwnerIdMaxIsCompliancePausedDesc = 'ASSETS_BY_OWNER_ID_MAX_IS_COMPLIANCE_PAUSED_DESC', - AssetsByOwnerIdMaxIsDivisibleAsc = 'ASSETS_BY_OWNER_ID_MAX_IS_DIVISIBLE_ASC', - AssetsByOwnerIdMaxIsDivisibleDesc = 'ASSETS_BY_OWNER_ID_MAX_IS_DIVISIBLE_DESC', - AssetsByOwnerIdMaxIsFrozenAsc = 'ASSETS_BY_OWNER_ID_MAX_IS_FROZEN_ASC', - AssetsByOwnerIdMaxIsFrozenDesc = 'ASSETS_BY_OWNER_ID_MAX_IS_FROZEN_DESC', - AssetsByOwnerIdMaxIsNftCollectionAsc = 'ASSETS_BY_OWNER_ID_MAX_IS_NFT_COLLECTION_ASC', - AssetsByOwnerIdMaxIsNftCollectionDesc = 'ASSETS_BY_OWNER_ID_MAX_IS_NFT_COLLECTION_DESC', - AssetsByOwnerIdMaxIsUniquenessRequiredAsc = 'ASSETS_BY_OWNER_ID_MAX_IS_UNIQUENESS_REQUIRED_ASC', - AssetsByOwnerIdMaxIsUniquenessRequiredDesc = 'ASSETS_BY_OWNER_ID_MAX_IS_UNIQUENESS_REQUIRED_DESC', - AssetsByOwnerIdMaxNameAsc = 'ASSETS_BY_OWNER_ID_MAX_NAME_ASC', - AssetsByOwnerIdMaxNameDesc = 'ASSETS_BY_OWNER_ID_MAX_NAME_DESC', - AssetsByOwnerIdMaxOwnerIdAsc = 'ASSETS_BY_OWNER_ID_MAX_OWNER_ID_ASC', - AssetsByOwnerIdMaxOwnerIdDesc = 'ASSETS_BY_OWNER_ID_MAX_OWNER_ID_DESC', - AssetsByOwnerIdMaxTickerAsc = 'ASSETS_BY_OWNER_ID_MAX_TICKER_ASC', - AssetsByOwnerIdMaxTickerDesc = 'ASSETS_BY_OWNER_ID_MAX_TICKER_DESC', - AssetsByOwnerIdMaxTotalSupplyAsc = 'ASSETS_BY_OWNER_ID_MAX_TOTAL_SUPPLY_ASC', - AssetsByOwnerIdMaxTotalSupplyDesc = 'ASSETS_BY_OWNER_ID_MAX_TOTAL_SUPPLY_DESC', - AssetsByOwnerIdMaxTotalTransfersAsc = 'ASSETS_BY_OWNER_ID_MAX_TOTAL_TRANSFERS_ASC', - AssetsByOwnerIdMaxTotalTransfersDesc = 'ASSETS_BY_OWNER_ID_MAX_TOTAL_TRANSFERS_DESC', - AssetsByOwnerIdMaxTypeAsc = 'ASSETS_BY_OWNER_ID_MAX_TYPE_ASC', - AssetsByOwnerIdMaxTypeDesc = 'ASSETS_BY_OWNER_ID_MAX_TYPE_DESC', - AssetsByOwnerIdMaxUpdatedAtAsc = 'ASSETS_BY_OWNER_ID_MAX_UPDATED_AT_ASC', - AssetsByOwnerIdMaxUpdatedAtDesc = 'ASSETS_BY_OWNER_ID_MAX_UPDATED_AT_DESC', - AssetsByOwnerIdMaxUpdatedBlockIdAsc = 'ASSETS_BY_OWNER_ID_MAX_UPDATED_BLOCK_ID_ASC', - AssetsByOwnerIdMaxUpdatedBlockIdDesc = 'ASSETS_BY_OWNER_ID_MAX_UPDATED_BLOCK_ID_DESC', - AssetsByOwnerIdMinCreatedAtAsc = 'ASSETS_BY_OWNER_ID_MIN_CREATED_AT_ASC', - AssetsByOwnerIdMinCreatedAtDesc = 'ASSETS_BY_OWNER_ID_MIN_CREATED_AT_DESC', - AssetsByOwnerIdMinCreatedBlockIdAsc = 'ASSETS_BY_OWNER_ID_MIN_CREATED_BLOCK_ID_ASC', - AssetsByOwnerIdMinCreatedBlockIdDesc = 'ASSETS_BY_OWNER_ID_MIN_CREATED_BLOCK_ID_DESC', - AssetsByOwnerIdMinEventIdxAsc = 'ASSETS_BY_OWNER_ID_MIN_EVENT_IDX_ASC', - AssetsByOwnerIdMinEventIdxDesc = 'ASSETS_BY_OWNER_ID_MIN_EVENT_IDX_DESC', - AssetsByOwnerIdMinFundingRoundAsc = 'ASSETS_BY_OWNER_ID_MIN_FUNDING_ROUND_ASC', - AssetsByOwnerIdMinFundingRoundDesc = 'ASSETS_BY_OWNER_ID_MIN_FUNDING_ROUND_DESC', - AssetsByOwnerIdMinIdentifiersAsc = 'ASSETS_BY_OWNER_ID_MIN_IDENTIFIERS_ASC', - AssetsByOwnerIdMinIdentifiersDesc = 'ASSETS_BY_OWNER_ID_MIN_IDENTIFIERS_DESC', - AssetsByOwnerIdMinIdAsc = 'ASSETS_BY_OWNER_ID_MIN_ID_ASC', - AssetsByOwnerIdMinIdDesc = 'ASSETS_BY_OWNER_ID_MIN_ID_DESC', - AssetsByOwnerIdMinIsCompliancePausedAsc = 'ASSETS_BY_OWNER_ID_MIN_IS_COMPLIANCE_PAUSED_ASC', - AssetsByOwnerIdMinIsCompliancePausedDesc = 'ASSETS_BY_OWNER_ID_MIN_IS_COMPLIANCE_PAUSED_DESC', - AssetsByOwnerIdMinIsDivisibleAsc = 'ASSETS_BY_OWNER_ID_MIN_IS_DIVISIBLE_ASC', - AssetsByOwnerIdMinIsDivisibleDesc = 'ASSETS_BY_OWNER_ID_MIN_IS_DIVISIBLE_DESC', - AssetsByOwnerIdMinIsFrozenAsc = 'ASSETS_BY_OWNER_ID_MIN_IS_FROZEN_ASC', - AssetsByOwnerIdMinIsFrozenDesc = 'ASSETS_BY_OWNER_ID_MIN_IS_FROZEN_DESC', - AssetsByOwnerIdMinIsNftCollectionAsc = 'ASSETS_BY_OWNER_ID_MIN_IS_NFT_COLLECTION_ASC', - AssetsByOwnerIdMinIsNftCollectionDesc = 'ASSETS_BY_OWNER_ID_MIN_IS_NFT_COLLECTION_DESC', - AssetsByOwnerIdMinIsUniquenessRequiredAsc = 'ASSETS_BY_OWNER_ID_MIN_IS_UNIQUENESS_REQUIRED_ASC', - AssetsByOwnerIdMinIsUniquenessRequiredDesc = 'ASSETS_BY_OWNER_ID_MIN_IS_UNIQUENESS_REQUIRED_DESC', - AssetsByOwnerIdMinNameAsc = 'ASSETS_BY_OWNER_ID_MIN_NAME_ASC', - AssetsByOwnerIdMinNameDesc = 'ASSETS_BY_OWNER_ID_MIN_NAME_DESC', - AssetsByOwnerIdMinOwnerIdAsc = 'ASSETS_BY_OWNER_ID_MIN_OWNER_ID_ASC', - AssetsByOwnerIdMinOwnerIdDesc = 'ASSETS_BY_OWNER_ID_MIN_OWNER_ID_DESC', - AssetsByOwnerIdMinTickerAsc = 'ASSETS_BY_OWNER_ID_MIN_TICKER_ASC', - AssetsByOwnerIdMinTickerDesc = 'ASSETS_BY_OWNER_ID_MIN_TICKER_DESC', - AssetsByOwnerIdMinTotalSupplyAsc = 'ASSETS_BY_OWNER_ID_MIN_TOTAL_SUPPLY_ASC', - AssetsByOwnerIdMinTotalSupplyDesc = 'ASSETS_BY_OWNER_ID_MIN_TOTAL_SUPPLY_DESC', - AssetsByOwnerIdMinTotalTransfersAsc = 'ASSETS_BY_OWNER_ID_MIN_TOTAL_TRANSFERS_ASC', - AssetsByOwnerIdMinTotalTransfersDesc = 'ASSETS_BY_OWNER_ID_MIN_TOTAL_TRANSFERS_DESC', - AssetsByOwnerIdMinTypeAsc = 'ASSETS_BY_OWNER_ID_MIN_TYPE_ASC', - AssetsByOwnerIdMinTypeDesc = 'ASSETS_BY_OWNER_ID_MIN_TYPE_DESC', - AssetsByOwnerIdMinUpdatedAtAsc = 'ASSETS_BY_OWNER_ID_MIN_UPDATED_AT_ASC', - AssetsByOwnerIdMinUpdatedAtDesc = 'ASSETS_BY_OWNER_ID_MIN_UPDATED_AT_DESC', - AssetsByOwnerIdMinUpdatedBlockIdAsc = 'ASSETS_BY_OWNER_ID_MIN_UPDATED_BLOCK_ID_ASC', - AssetsByOwnerIdMinUpdatedBlockIdDesc = 'ASSETS_BY_OWNER_ID_MIN_UPDATED_BLOCK_ID_DESC', - AssetsByOwnerIdStddevPopulationCreatedAtAsc = 'ASSETS_BY_OWNER_ID_STDDEV_POPULATION_CREATED_AT_ASC', - AssetsByOwnerIdStddevPopulationCreatedAtDesc = 'ASSETS_BY_OWNER_ID_STDDEV_POPULATION_CREATED_AT_DESC', - AssetsByOwnerIdStddevPopulationCreatedBlockIdAsc = 'ASSETS_BY_OWNER_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - AssetsByOwnerIdStddevPopulationCreatedBlockIdDesc = 'ASSETS_BY_OWNER_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - AssetsByOwnerIdStddevPopulationEventIdxAsc = 'ASSETS_BY_OWNER_ID_STDDEV_POPULATION_EVENT_IDX_ASC', - AssetsByOwnerIdStddevPopulationEventIdxDesc = 'ASSETS_BY_OWNER_ID_STDDEV_POPULATION_EVENT_IDX_DESC', - AssetsByOwnerIdStddevPopulationFundingRoundAsc = 'ASSETS_BY_OWNER_ID_STDDEV_POPULATION_FUNDING_ROUND_ASC', - AssetsByOwnerIdStddevPopulationFundingRoundDesc = 'ASSETS_BY_OWNER_ID_STDDEV_POPULATION_FUNDING_ROUND_DESC', - AssetsByOwnerIdStddevPopulationIdentifiersAsc = 'ASSETS_BY_OWNER_ID_STDDEV_POPULATION_IDENTIFIERS_ASC', - AssetsByOwnerIdStddevPopulationIdentifiersDesc = 'ASSETS_BY_OWNER_ID_STDDEV_POPULATION_IDENTIFIERS_DESC', - AssetsByOwnerIdStddevPopulationIdAsc = 'ASSETS_BY_OWNER_ID_STDDEV_POPULATION_ID_ASC', - AssetsByOwnerIdStddevPopulationIdDesc = 'ASSETS_BY_OWNER_ID_STDDEV_POPULATION_ID_DESC', - AssetsByOwnerIdStddevPopulationIsCompliancePausedAsc = 'ASSETS_BY_OWNER_ID_STDDEV_POPULATION_IS_COMPLIANCE_PAUSED_ASC', - AssetsByOwnerIdStddevPopulationIsCompliancePausedDesc = 'ASSETS_BY_OWNER_ID_STDDEV_POPULATION_IS_COMPLIANCE_PAUSED_DESC', - AssetsByOwnerIdStddevPopulationIsDivisibleAsc = 'ASSETS_BY_OWNER_ID_STDDEV_POPULATION_IS_DIVISIBLE_ASC', - AssetsByOwnerIdStddevPopulationIsDivisibleDesc = 'ASSETS_BY_OWNER_ID_STDDEV_POPULATION_IS_DIVISIBLE_DESC', - AssetsByOwnerIdStddevPopulationIsFrozenAsc = 'ASSETS_BY_OWNER_ID_STDDEV_POPULATION_IS_FROZEN_ASC', - AssetsByOwnerIdStddevPopulationIsFrozenDesc = 'ASSETS_BY_OWNER_ID_STDDEV_POPULATION_IS_FROZEN_DESC', - AssetsByOwnerIdStddevPopulationIsNftCollectionAsc = 'ASSETS_BY_OWNER_ID_STDDEV_POPULATION_IS_NFT_COLLECTION_ASC', - AssetsByOwnerIdStddevPopulationIsNftCollectionDesc = 'ASSETS_BY_OWNER_ID_STDDEV_POPULATION_IS_NFT_COLLECTION_DESC', - AssetsByOwnerIdStddevPopulationIsUniquenessRequiredAsc = 'ASSETS_BY_OWNER_ID_STDDEV_POPULATION_IS_UNIQUENESS_REQUIRED_ASC', - AssetsByOwnerIdStddevPopulationIsUniquenessRequiredDesc = 'ASSETS_BY_OWNER_ID_STDDEV_POPULATION_IS_UNIQUENESS_REQUIRED_DESC', - AssetsByOwnerIdStddevPopulationNameAsc = 'ASSETS_BY_OWNER_ID_STDDEV_POPULATION_NAME_ASC', - AssetsByOwnerIdStddevPopulationNameDesc = 'ASSETS_BY_OWNER_ID_STDDEV_POPULATION_NAME_DESC', - AssetsByOwnerIdStddevPopulationOwnerIdAsc = 'ASSETS_BY_OWNER_ID_STDDEV_POPULATION_OWNER_ID_ASC', - AssetsByOwnerIdStddevPopulationOwnerIdDesc = 'ASSETS_BY_OWNER_ID_STDDEV_POPULATION_OWNER_ID_DESC', - AssetsByOwnerIdStddevPopulationTickerAsc = 'ASSETS_BY_OWNER_ID_STDDEV_POPULATION_TICKER_ASC', - AssetsByOwnerIdStddevPopulationTickerDesc = 'ASSETS_BY_OWNER_ID_STDDEV_POPULATION_TICKER_DESC', - AssetsByOwnerIdStddevPopulationTotalSupplyAsc = 'ASSETS_BY_OWNER_ID_STDDEV_POPULATION_TOTAL_SUPPLY_ASC', - AssetsByOwnerIdStddevPopulationTotalSupplyDesc = 'ASSETS_BY_OWNER_ID_STDDEV_POPULATION_TOTAL_SUPPLY_DESC', - AssetsByOwnerIdStddevPopulationTotalTransfersAsc = 'ASSETS_BY_OWNER_ID_STDDEV_POPULATION_TOTAL_TRANSFERS_ASC', - AssetsByOwnerIdStddevPopulationTotalTransfersDesc = 'ASSETS_BY_OWNER_ID_STDDEV_POPULATION_TOTAL_TRANSFERS_DESC', - AssetsByOwnerIdStddevPopulationTypeAsc = 'ASSETS_BY_OWNER_ID_STDDEV_POPULATION_TYPE_ASC', - AssetsByOwnerIdStddevPopulationTypeDesc = 'ASSETS_BY_OWNER_ID_STDDEV_POPULATION_TYPE_DESC', - AssetsByOwnerIdStddevPopulationUpdatedAtAsc = 'ASSETS_BY_OWNER_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - AssetsByOwnerIdStddevPopulationUpdatedAtDesc = 'ASSETS_BY_OWNER_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - AssetsByOwnerIdStddevPopulationUpdatedBlockIdAsc = 'ASSETS_BY_OWNER_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - AssetsByOwnerIdStddevPopulationUpdatedBlockIdDesc = 'ASSETS_BY_OWNER_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - AssetsByOwnerIdStddevSampleCreatedAtAsc = 'ASSETS_BY_OWNER_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - AssetsByOwnerIdStddevSampleCreatedAtDesc = 'ASSETS_BY_OWNER_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - AssetsByOwnerIdStddevSampleCreatedBlockIdAsc = 'ASSETS_BY_OWNER_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - AssetsByOwnerIdStddevSampleCreatedBlockIdDesc = 'ASSETS_BY_OWNER_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - AssetsByOwnerIdStddevSampleEventIdxAsc = 'ASSETS_BY_OWNER_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', - AssetsByOwnerIdStddevSampleEventIdxDesc = 'ASSETS_BY_OWNER_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', - AssetsByOwnerIdStddevSampleFundingRoundAsc = 'ASSETS_BY_OWNER_ID_STDDEV_SAMPLE_FUNDING_ROUND_ASC', - AssetsByOwnerIdStddevSampleFundingRoundDesc = 'ASSETS_BY_OWNER_ID_STDDEV_SAMPLE_FUNDING_ROUND_DESC', - AssetsByOwnerIdStddevSampleIdentifiersAsc = 'ASSETS_BY_OWNER_ID_STDDEV_SAMPLE_IDENTIFIERS_ASC', - AssetsByOwnerIdStddevSampleIdentifiersDesc = 'ASSETS_BY_OWNER_ID_STDDEV_SAMPLE_IDENTIFIERS_DESC', - AssetsByOwnerIdStddevSampleIdAsc = 'ASSETS_BY_OWNER_ID_STDDEV_SAMPLE_ID_ASC', - AssetsByOwnerIdStddevSampleIdDesc = 'ASSETS_BY_OWNER_ID_STDDEV_SAMPLE_ID_DESC', - AssetsByOwnerIdStddevSampleIsCompliancePausedAsc = 'ASSETS_BY_OWNER_ID_STDDEV_SAMPLE_IS_COMPLIANCE_PAUSED_ASC', - AssetsByOwnerIdStddevSampleIsCompliancePausedDesc = 'ASSETS_BY_OWNER_ID_STDDEV_SAMPLE_IS_COMPLIANCE_PAUSED_DESC', - AssetsByOwnerIdStddevSampleIsDivisibleAsc = 'ASSETS_BY_OWNER_ID_STDDEV_SAMPLE_IS_DIVISIBLE_ASC', - AssetsByOwnerIdStddevSampleIsDivisibleDesc = 'ASSETS_BY_OWNER_ID_STDDEV_SAMPLE_IS_DIVISIBLE_DESC', - AssetsByOwnerIdStddevSampleIsFrozenAsc = 'ASSETS_BY_OWNER_ID_STDDEV_SAMPLE_IS_FROZEN_ASC', - AssetsByOwnerIdStddevSampleIsFrozenDesc = 'ASSETS_BY_OWNER_ID_STDDEV_SAMPLE_IS_FROZEN_DESC', - AssetsByOwnerIdStddevSampleIsNftCollectionAsc = 'ASSETS_BY_OWNER_ID_STDDEV_SAMPLE_IS_NFT_COLLECTION_ASC', - AssetsByOwnerIdStddevSampleIsNftCollectionDesc = 'ASSETS_BY_OWNER_ID_STDDEV_SAMPLE_IS_NFT_COLLECTION_DESC', - AssetsByOwnerIdStddevSampleIsUniquenessRequiredAsc = 'ASSETS_BY_OWNER_ID_STDDEV_SAMPLE_IS_UNIQUENESS_REQUIRED_ASC', - AssetsByOwnerIdStddevSampleIsUniquenessRequiredDesc = 'ASSETS_BY_OWNER_ID_STDDEV_SAMPLE_IS_UNIQUENESS_REQUIRED_DESC', - AssetsByOwnerIdStddevSampleNameAsc = 'ASSETS_BY_OWNER_ID_STDDEV_SAMPLE_NAME_ASC', - AssetsByOwnerIdStddevSampleNameDesc = 'ASSETS_BY_OWNER_ID_STDDEV_SAMPLE_NAME_DESC', - AssetsByOwnerIdStddevSampleOwnerIdAsc = 'ASSETS_BY_OWNER_ID_STDDEV_SAMPLE_OWNER_ID_ASC', - AssetsByOwnerIdStddevSampleOwnerIdDesc = 'ASSETS_BY_OWNER_ID_STDDEV_SAMPLE_OWNER_ID_DESC', - AssetsByOwnerIdStddevSampleTickerAsc = 'ASSETS_BY_OWNER_ID_STDDEV_SAMPLE_TICKER_ASC', - AssetsByOwnerIdStddevSampleTickerDesc = 'ASSETS_BY_OWNER_ID_STDDEV_SAMPLE_TICKER_DESC', - AssetsByOwnerIdStddevSampleTotalSupplyAsc = 'ASSETS_BY_OWNER_ID_STDDEV_SAMPLE_TOTAL_SUPPLY_ASC', - AssetsByOwnerIdStddevSampleTotalSupplyDesc = 'ASSETS_BY_OWNER_ID_STDDEV_SAMPLE_TOTAL_SUPPLY_DESC', - AssetsByOwnerIdStddevSampleTotalTransfersAsc = 'ASSETS_BY_OWNER_ID_STDDEV_SAMPLE_TOTAL_TRANSFERS_ASC', - AssetsByOwnerIdStddevSampleTotalTransfersDesc = 'ASSETS_BY_OWNER_ID_STDDEV_SAMPLE_TOTAL_TRANSFERS_DESC', - AssetsByOwnerIdStddevSampleTypeAsc = 'ASSETS_BY_OWNER_ID_STDDEV_SAMPLE_TYPE_ASC', - AssetsByOwnerIdStddevSampleTypeDesc = 'ASSETS_BY_OWNER_ID_STDDEV_SAMPLE_TYPE_DESC', - AssetsByOwnerIdStddevSampleUpdatedAtAsc = 'ASSETS_BY_OWNER_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - AssetsByOwnerIdStddevSampleUpdatedAtDesc = 'ASSETS_BY_OWNER_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - AssetsByOwnerIdStddevSampleUpdatedBlockIdAsc = 'ASSETS_BY_OWNER_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - AssetsByOwnerIdStddevSampleUpdatedBlockIdDesc = 'ASSETS_BY_OWNER_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - AssetsByOwnerIdSumCreatedAtAsc = 'ASSETS_BY_OWNER_ID_SUM_CREATED_AT_ASC', - AssetsByOwnerIdSumCreatedAtDesc = 'ASSETS_BY_OWNER_ID_SUM_CREATED_AT_DESC', - AssetsByOwnerIdSumCreatedBlockIdAsc = 'ASSETS_BY_OWNER_ID_SUM_CREATED_BLOCK_ID_ASC', - AssetsByOwnerIdSumCreatedBlockIdDesc = 'ASSETS_BY_OWNER_ID_SUM_CREATED_BLOCK_ID_DESC', - AssetsByOwnerIdSumEventIdxAsc = 'ASSETS_BY_OWNER_ID_SUM_EVENT_IDX_ASC', - AssetsByOwnerIdSumEventIdxDesc = 'ASSETS_BY_OWNER_ID_SUM_EVENT_IDX_DESC', - AssetsByOwnerIdSumFundingRoundAsc = 'ASSETS_BY_OWNER_ID_SUM_FUNDING_ROUND_ASC', - AssetsByOwnerIdSumFundingRoundDesc = 'ASSETS_BY_OWNER_ID_SUM_FUNDING_ROUND_DESC', - AssetsByOwnerIdSumIdentifiersAsc = 'ASSETS_BY_OWNER_ID_SUM_IDENTIFIERS_ASC', - AssetsByOwnerIdSumIdentifiersDesc = 'ASSETS_BY_OWNER_ID_SUM_IDENTIFIERS_DESC', - AssetsByOwnerIdSumIdAsc = 'ASSETS_BY_OWNER_ID_SUM_ID_ASC', - AssetsByOwnerIdSumIdDesc = 'ASSETS_BY_OWNER_ID_SUM_ID_DESC', - AssetsByOwnerIdSumIsCompliancePausedAsc = 'ASSETS_BY_OWNER_ID_SUM_IS_COMPLIANCE_PAUSED_ASC', - AssetsByOwnerIdSumIsCompliancePausedDesc = 'ASSETS_BY_OWNER_ID_SUM_IS_COMPLIANCE_PAUSED_DESC', - AssetsByOwnerIdSumIsDivisibleAsc = 'ASSETS_BY_OWNER_ID_SUM_IS_DIVISIBLE_ASC', - AssetsByOwnerIdSumIsDivisibleDesc = 'ASSETS_BY_OWNER_ID_SUM_IS_DIVISIBLE_DESC', - AssetsByOwnerIdSumIsFrozenAsc = 'ASSETS_BY_OWNER_ID_SUM_IS_FROZEN_ASC', - AssetsByOwnerIdSumIsFrozenDesc = 'ASSETS_BY_OWNER_ID_SUM_IS_FROZEN_DESC', - AssetsByOwnerIdSumIsNftCollectionAsc = 'ASSETS_BY_OWNER_ID_SUM_IS_NFT_COLLECTION_ASC', - AssetsByOwnerIdSumIsNftCollectionDesc = 'ASSETS_BY_OWNER_ID_SUM_IS_NFT_COLLECTION_DESC', - AssetsByOwnerIdSumIsUniquenessRequiredAsc = 'ASSETS_BY_OWNER_ID_SUM_IS_UNIQUENESS_REQUIRED_ASC', - AssetsByOwnerIdSumIsUniquenessRequiredDesc = 'ASSETS_BY_OWNER_ID_SUM_IS_UNIQUENESS_REQUIRED_DESC', - AssetsByOwnerIdSumNameAsc = 'ASSETS_BY_OWNER_ID_SUM_NAME_ASC', - AssetsByOwnerIdSumNameDesc = 'ASSETS_BY_OWNER_ID_SUM_NAME_DESC', - AssetsByOwnerIdSumOwnerIdAsc = 'ASSETS_BY_OWNER_ID_SUM_OWNER_ID_ASC', - AssetsByOwnerIdSumOwnerIdDesc = 'ASSETS_BY_OWNER_ID_SUM_OWNER_ID_DESC', - AssetsByOwnerIdSumTickerAsc = 'ASSETS_BY_OWNER_ID_SUM_TICKER_ASC', - AssetsByOwnerIdSumTickerDesc = 'ASSETS_BY_OWNER_ID_SUM_TICKER_DESC', - AssetsByOwnerIdSumTotalSupplyAsc = 'ASSETS_BY_OWNER_ID_SUM_TOTAL_SUPPLY_ASC', - AssetsByOwnerIdSumTotalSupplyDesc = 'ASSETS_BY_OWNER_ID_SUM_TOTAL_SUPPLY_DESC', - AssetsByOwnerIdSumTotalTransfersAsc = 'ASSETS_BY_OWNER_ID_SUM_TOTAL_TRANSFERS_ASC', - AssetsByOwnerIdSumTotalTransfersDesc = 'ASSETS_BY_OWNER_ID_SUM_TOTAL_TRANSFERS_DESC', - AssetsByOwnerIdSumTypeAsc = 'ASSETS_BY_OWNER_ID_SUM_TYPE_ASC', - AssetsByOwnerIdSumTypeDesc = 'ASSETS_BY_OWNER_ID_SUM_TYPE_DESC', - AssetsByOwnerIdSumUpdatedAtAsc = 'ASSETS_BY_OWNER_ID_SUM_UPDATED_AT_ASC', - AssetsByOwnerIdSumUpdatedAtDesc = 'ASSETS_BY_OWNER_ID_SUM_UPDATED_AT_DESC', - AssetsByOwnerIdSumUpdatedBlockIdAsc = 'ASSETS_BY_OWNER_ID_SUM_UPDATED_BLOCK_ID_ASC', - AssetsByOwnerIdSumUpdatedBlockIdDesc = 'ASSETS_BY_OWNER_ID_SUM_UPDATED_BLOCK_ID_DESC', - AssetsByOwnerIdVariancePopulationCreatedAtAsc = 'ASSETS_BY_OWNER_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - AssetsByOwnerIdVariancePopulationCreatedAtDesc = 'ASSETS_BY_OWNER_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - AssetsByOwnerIdVariancePopulationCreatedBlockIdAsc = 'ASSETS_BY_OWNER_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - AssetsByOwnerIdVariancePopulationCreatedBlockIdDesc = 'ASSETS_BY_OWNER_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - AssetsByOwnerIdVariancePopulationEventIdxAsc = 'ASSETS_BY_OWNER_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', - AssetsByOwnerIdVariancePopulationEventIdxDesc = 'ASSETS_BY_OWNER_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', - AssetsByOwnerIdVariancePopulationFundingRoundAsc = 'ASSETS_BY_OWNER_ID_VARIANCE_POPULATION_FUNDING_ROUND_ASC', - AssetsByOwnerIdVariancePopulationFundingRoundDesc = 'ASSETS_BY_OWNER_ID_VARIANCE_POPULATION_FUNDING_ROUND_DESC', - AssetsByOwnerIdVariancePopulationIdentifiersAsc = 'ASSETS_BY_OWNER_ID_VARIANCE_POPULATION_IDENTIFIERS_ASC', - AssetsByOwnerIdVariancePopulationIdentifiersDesc = 'ASSETS_BY_OWNER_ID_VARIANCE_POPULATION_IDENTIFIERS_DESC', - AssetsByOwnerIdVariancePopulationIdAsc = 'ASSETS_BY_OWNER_ID_VARIANCE_POPULATION_ID_ASC', - AssetsByOwnerIdVariancePopulationIdDesc = 'ASSETS_BY_OWNER_ID_VARIANCE_POPULATION_ID_DESC', - AssetsByOwnerIdVariancePopulationIsCompliancePausedAsc = 'ASSETS_BY_OWNER_ID_VARIANCE_POPULATION_IS_COMPLIANCE_PAUSED_ASC', - AssetsByOwnerIdVariancePopulationIsCompliancePausedDesc = 'ASSETS_BY_OWNER_ID_VARIANCE_POPULATION_IS_COMPLIANCE_PAUSED_DESC', - AssetsByOwnerIdVariancePopulationIsDivisibleAsc = 'ASSETS_BY_OWNER_ID_VARIANCE_POPULATION_IS_DIVISIBLE_ASC', - AssetsByOwnerIdVariancePopulationIsDivisibleDesc = 'ASSETS_BY_OWNER_ID_VARIANCE_POPULATION_IS_DIVISIBLE_DESC', - AssetsByOwnerIdVariancePopulationIsFrozenAsc = 'ASSETS_BY_OWNER_ID_VARIANCE_POPULATION_IS_FROZEN_ASC', - AssetsByOwnerIdVariancePopulationIsFrozenDesc = 'ASSETS_BY_OWNER_ID_VARIANCE_POPULATION_IS_FROZEN_DESC', - AssetsByOwnerIdVariancePopulationIsNftCollectionAsc = 'ASSETS_BY_OWNER_ID_VARIANCE_POPULATION_IS_NFT_COLLECTION_ASC', - AssetsByOwnerIdVariancePopulationIsNftCollectionDesc = 'ASSETS_BY_OWNER_ID_VARIANCE_POPULATION_IS_NFT_COLLECTION_DESC', - AssetsByOwnerIdVariancePopulationIsUniquenessRequiredAsc = 'ASSETS_BY_OWNER_ID_VARIANCE_POPULATION_IS_UNIQUENESS_REQUIRED_ASC', - AssetsByOwnerIdVariancePopulationIsUniquenessRequiredDesc = 'ASSETS_BY_OWNER_ID_VARIANCE_POPULATION_IS_UNIQUENESS_REQUIRED_DESC', - AssetsByOwnerIdVariancePopulationNameAsc = 'ASSETS_BY_OWNER_ID_VARIANCE_POPULATION_NAME_ASC', - AssetsByOwnerIdVariancePopulationNameDesc = 'ASSETS_BY_OWNER_ID_VARIANCE_POPULATION_NAME_DESC', - AssetsByOwnerIdVariancePopulationOwnerIdAsc = 'ASSETS_BY_OWNER_ID_VARIANCE_POPULATION_OWNER_ID_ASC', - AssetsByOwnerIdVariancePopulationOwnerIdDesc = 'ASSETS_BY_OWNER_ID_VARIANCE_POPULATION_OWNER_ID_DESC', - AssetsByOwnerIdVariancePopulationTickerAsc = 'ASSETS_BY_OWNER_ID_VARIANCE_POPULATION_TICKER_ASC', - AssetsByOwnerIdVariancePopulationTickerDesc = 'ASSETS_BY_OWNER_ID_VARIANCE_POPULATION_TICKER_DESC', - AssetsByOwnerIdVariancePopulationTotalSupplyAsc = 'ASSETS_BY_OWNER_ID_VARIANCE_POPULATION_TOTAL_SUPPLY_ASC', - AssetsByOwnerIdVariancePopulationTotalSupplyDesc = 'ASSETS_BY_OWNER_ID_VARIANCE_POPULATION_TOTAL_SUPPLY_DESC', - AssetsByOwnerIdVariancePopulationTotalTransfersAsc = 'ASSETS_BY_OWNER_ID_VARIANCE_POPULATION_TOTAL_TRANSFERS_ASC', - AssetsByOwnerIdVariancePopulationTotalTransfersDesc = 'ASSETS_BY_OWNER_ID_VARIANCE_POPULATION_TOTAL_TRANSFERS_DESC', - AssetsByOwnerIdVariancePopulationTypeAsc = 'ASSETS_BY_OWNER_ID_VARIANCE_POPULATION_TYPE_ASC', - AssetsByOwnerIdVariancePopulationTypeDesc = 'ASSETS_BY_OWNER_ID_VARIANCE_POPULATION_TYPE_DESC', - AssetsByOwnerIdVariancePopulationUpdatedAtAsc = 'ASSETS_BY_OWNER_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - AssetsByOwnerIdVariancePopulationUpdatedAtDesc = 'ASSETS_BY_OWNER_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - AssetsByOwnerIdVariancePopulationUpdatedBlockIdAsc = 'ASSETS_BY_OWNER_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - AssetsByOwnerIdVariancePopulationUpdatedBlockIdDesc = 'ASSETS_BY_OWNER_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - AssetsByOwnerIdVarianceSampleCreatedAtAsc = 'ASSETS_BY_OWNER_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - AssetsByOwnerIdVarianceSampleCreatedAtDesc = 'ASSETS_BY_OWNER_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - AssetsByOwnerIdVarianceSampleCreatedBlockIdAsc = 'ASSETS_BY_OWNER_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - AssetsByOwnerIdVarianceSampleCreatedBlockIdDesc = 'ASSETS_BY_OWNER_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - AssetsByOwnerIdVarianceSampleEventIdxAsc = 'ASSETS_BY_OWNER_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', - AssetsByOwnerIdVarianceSampleEventIdxDesc = 'ASSETS_BY_OWNER_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', - AssetsByOwnerIdVarianceSampleFundingRoundAsc = 'ASSETS_BY_OWNER_ID_VARIANCE_SAMPLE_FUNDING_ROUND_ASC', - AssetsByOwnerIdVarianceSampleFundingRoundDesc = 'ASSETS_BY_OWNER_ID_VARIANCE_SAMPLE_FUNDING_ROUND_DESC', - AssetsByOwnerIdVarianceSampleIdentifiersAsc = 'ASSETS_BY_OWNER_ID_VARIANCE_SAMPLE_IDENTIFIERS_ASC', - AssetsByOwnerIdVarianceSampleIdentifiersDesc = 'ASSETS_BY_OWNER_ID_VARIANCE_SAMPLE_IDENTIFIERS_DESC', - AssetsByOwnerIdVarianceSampleIdAsc = 'ASSETS_BY_OWNER_ID_VARIANCE_SAMPLE_ID_ASC', - AssetsByOwnerIdVarianceSampleIdDesc = 'ASSETS_BY_OWNER_ID_VARIANCE_SAMPLE_ID_DESC', - AssetsByOwnerIdVarianceSampleIsCompliancePausedAsc = 'ASSETS_BY_OWNER_ID_VARIANCE_SAMPLE_IS_COMPLIANCE_PAUSED_ASC', - AssetsByOwnerIdVarianceSampleIsCompliancePausedDesc = 'ASSETS_BY_OWNER_ID_VARIANCE_SAMPLE_IS_COMPLIANCE_PAUSED_DESC', - AssetsByOwnerIdVarianceSampleIsDivisibleAsc = 'ASSETS_BY_OWNER_ID_VARIANCE_SAMPLE_IS_DIVISIBLE_ASC', - AssetsByOwnerIdVarianceSampleIsDivisibleDesc = 'ASSETS_BY_OWNER_ID_VARIANCE_SAMPLE_IS_DIVISIBLE_DESC', - AssetsByOwnerIdVarianceSampleIsFrozenAsc = 'ASSETS_BY_OWNER_ID_VARIANCE_SAMPLE_IS_FROZEN_ASC', - AssetsByOwnerIdVarianceSampleIsFrozenDesc = 'ASSETS_BY_OWNER_ID_VARIANCE_SAMPLE_IS_FROZEN_DESC', - AssetsByOwnerIdVarianceSampleIsNftCollectionAsc = 'ASSETS_BY_OWNER_ID_VARIANCE_SAMPLE_IS_NFT_COLLECTION_ASC', - AssetsByOwnerIdVarianceSampleIsNftCollectionDesc = 'ASSETS_BY_OWNER_ID_VARIANCE_SAMPLE_IS_NFT_COLLECTION_DESC', - AssetsByOwnerIdVarianceSampleIsUniquenessRequiredAsc = 'ASSETS_BY_OWNER_ID_VARIANCE_SAMPLE_IS_UNIQUENESS_REQUIRED_ASC', - AssetsByOwnerIdVarianceSampleIsUniquenessRequiredDesc = 'ASSETS_BY_OWNER_ID_VARIANCE_SAMPLE_IS_UNIQUENESS_REQUIRED_DESC', - AssetsByOwnerIdVarianceSampleNameAsc = 'ASSETS_BY_OWNER_ID_VARIANCE_SAMPLE_NAME_ASC', - AssetsByOwnerIdVarianceSampleNameDesc = 'ASSETS_BY_OWNER_ID_VARIANCE_SAMPLE_NAME_DESC', - AssetsByOwnerIdVarianceSampleOwnerIdAsc = 'ASSETS_BY_OWNER_ID_VARIANCE_SAMPLE_OWNER_ID_ASC', - AssetsByOwnerIdVarianceSampleOwnerIdDesc = 'ASSETS_BY_OWNER_ID_VARIANCE_SAMPLE_OWNER_ID_DESC', - AssetsByOwnerIdVarianceSampleTickerAsc = 'ASSETS_BY_OWNER_ID_VARIANCE_SAMPLE_TICKER_ASC', - AssetsByOwnerIdVarianceSampleTickerDesc = 'ASSETS_BY_OWNER_ID_VARIANCE_SAMPLE_TICKER_DESC', - AssetsByOwnerIdVarianceSampleTotalSupplyAsc = 'ASSETS_BY_OWNER_ID_VARIANCE_SAMPLE_TOTAL_SUPPLY_ASC', - AssetsByOwnerIdVarianceSampleTotalSupplyDesc = 'ASSETS_BY_OWNER_ID_VARIANCE_SAMPLE_TOTAL_SUPPLY_DESC', - AssetsByOwnerIdVarianceSampleTotalTransfersAsc = 'ASSETS_BY_OWNER_ID_VARIANCE_SAMPLE_TOTAL_TRANSFERS_ASC', - AssetsByOwnerIdVarianceSampleTotalTransfersDesc = 'ASSETS_BY_OWNER_ID_VARIANCE_SAMPLE_TOTAL_TRANSFERS_DESC', - AssetsByOwnerIdVarianceSampleTypeAsc = 'ASSETS_BY_OWNER_ID_VARIANCE_SAMPLE_TYPE_ASC', - AssetsByOwnerIdVarianceSampleTypeDesc = 'ASSETS_BY_OWNER_ID_VARIANCE_SAMPLE_TYPE_DESC', - AssetsByOwnerIdVarianceSampleUpdatedAtAsc = 'ASSETS_BY_OWNER_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - AssetsByOwnerIdVarianceSampleUpdatedAtDesc = 'ASSETS_BY_OWNER_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - AssetsByOwnerIdVarianceSampleUpdatedBlockIdAsc = 'ASSETS_BY_OWNER_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - AssetsByOwnerIdVarianceSampleUpdatedBlockIdDesc = 'ASSETS_BY_OWNER_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - AuthorizationsByFromIdAverageCreatedAtAsc = 'AUTHORIZATIONS_BY_FROM_ID_AVERAGE_CREATED_AT_ASC', - AuthorizationsByFromIdAverageCreatedAtDesc = 'AUTHORIZATIONS_BY_FROM_ID_AVERAGE_CREATED_AT_DESC', - AuthorizationsByFromIdAverageCreatedBlockIdAsc = 'AUTHORIZATIONS_BY_FROM_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - AuthorizationsByFromIdAverageCreatedBlockIdDesc = 'AUTHORIZATIONS_BY_FROM_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - AuthorizationsByFromIdAverageDataAsc = 'AUTHORIZATIONS_BY_FROM_ID_AVERAGE_DATA_ASC', - AuthorizationsByFromIdAverageDataDesc = 'AUTHORIZATIONS_BY_FROM_ID_AVERAGE_DATA_DESC', - AuthorizationsByFromIdAverageExpiryAsc = 'AUTHORIZATIONS_BY_FROM_ID_AVERAGE_EXPIRY_ASC', - AuthorizationsByFromIdAverageExpiryDesc = 'AUTHORIZATIONS_BY_FROM_ID_AVERAGE_EXPIRY_DESC', - AuthorizationsByFromIdAverageFromIdAsc = 'AUTHORIZATIONS_BY_FROM_ID_AVERAGE_FROM_ID_ASC', - AuthorizationsByFromIdAverageFromIdDesc = 'AUTHORIZATIONS_BY_FROM_ID_AVERAGE_FROM_ID_DESC', - AuthorizationsByFromIdAverageIdAsc = 'AUTHORIZATIONS_BY_FROM_ID_AVERAGE_ID_ASC', - AuthorizationsByFromIdAverageIdDesc = 'AUTHORIZATIONS_BY_FROM_ID_AVERAGE_ID_DESC', - AuthorizationsByFromIdAverageStatusAsc = 'AUTHORIZATIONS_BY_FROM_ID_AVERAGE_STATUS_ASC', - AuthorizationsByFromIdAverageStatusDesc = 'AUTHORIZATIONS_BY_FROM_ID_AVERAGE_STATUS_DESC', - AuthorizationsByFromIdAverageToIdAsc = 'AUTHORIZATIONS_BY_FROM_ID_AVERAGE_TO_ID_ASC', - AuthorizationsByFromIdAverageToIdDesc = 'AUTHORIZATIONS_BY_FROM_ID_AVERAGE_TO_ID_DESC', - AuthorizationsByFromIdAverageToKeyAsc = 'AUTHORIZATIONS_BY_FROM_ID_AVERAGE_TO_KEY_ASC', - AuthorizationsByFromIdAverageToKeyDesc = 'AUTHORIZATIONS_BY_FROM_ID_AVERAGE_TO_KEY_DESC', - AuthorizationsByFromIdAverageTypeAsc = 'AUTHORIZATIONS_BY_FROM_ID_AVERAGE_TYPE_ASC', - AuthorizationsByFromIdAverageTypeDesc = 'AUTHORIZATIONS_BY_FROM_ID_AVERAGE_TYPE_DESC', - AuthorizationsByFromIdAverageUpdatedAtAsc = 'AUTHORIZATIONS_BY_FROM_ID_AVERAGE_UPDATED_AT_ASC', - AuthorizationsByFromIdAverageUpdatedAtDesc = 'AUTHORIZATIONS_BY_FROM_ID_AVERAGE_UPDATED_AT_DESC', - AuthorizationsByFromIdAverageUpdatedBlockIdAsc = 'AUTHORIZATIONS_BY_FROM_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - AuthorizationsByFromIdAverageUpdatedBlockIdDesc = 'AUTHORIZATIONS_BY_FROM_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - AuthorizationsByFromIdCountAsc = 'AUTHORIZATIONS_BY_FROM_ID_COUNT_ASC', - AuthorizationsByFromIdCountDesc = 'AUTHORIZATIONS_BY_FROM_ID_COUNT_DESC', - AuthorizationsByFromIdDistinctCountCreatedAtAsc = 'AUTHORIZATIONS_BY_FROM_ID_DISTINCT_COUNT_CREATED_AT_ASC', - AuthorizationsByFromIdDistinctCountCreatedAtDesc = 'AUTHORIZATIONS_BY_FROM_ID_DISTINCT_COUNT_CREATED_AT_DESC', - AuthorizationsByFromIdDistinctCountCreatedBlockIdAsc = 'AUTHORIZATIONS_BY_FROM_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - AuthorizationsByFromIdDistinctCountCreatedBlockIdDesc = 'AUTHORIZATIONS_BY_FROM_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - AuthorizationsByFromIdDistinctCountDataAsc = 'AUTHORIZATIONS_BY_FROM_ID_DISTINCT_COUNT_DATA_ASC', - AuthorizationsByFromIdDistinctCountDataDesc = 'AUTHORIZATIONS_BY_FROM_ID_DISTINCT_COUNT_DATA_DESC', - AuthorizationsByFromIdDistinctCountExpiryAsc = 'AUTHORIZATIONS_BY_FROM_ID_DISTINCT_COUNT_EXPIRY_ASC', - AuthorizationsByFromIdDistinctCountExpiryDesc = 'AUTHORIZATIONS_BY_FROM_ID_DISTINCT_COUNT_EXPIRY_DESC', - AuthorizationsByFromIdDistinctCountFromIdAsc = 'AUTHORIZATIONS_BY_FROM_ID_DISTINCT_COUNT_FROM_ID_ASC', - AuthorizationsByFromIdDistinctCountFromIdDesc = 'AUTHORIZATIONS_BY_FROM_ID_DISTINCT_COUNT_FROM_ID_DESC', - AuthorizationsByFromIdDistinctCountIdAsc = 'AUTHORIZATIONS_BY_FROM_ID_DISTINCT_COUNT_ID_ASC', - AuthorizationsByFromIdDistinctCountIdDesc = 'AUTHORIZATIONS_BY_FROM_ID_DISTINCT_COUNT_ID_DESC', - AuthorizationsByFromIdDistinctCountStatusAsc = 'AUTHORIZATIONS_BY_FROM_ID_DISTINCT_COUNT_STATUS_ASC', - AuthorizationsByFromIdDistinctCountStatusDesc = 'AUTHORIZATIONS_BY_FROM_ID_DISTINCT_COUNT_STATUS_DESC', - AuthorizationsByFromIdDistinctCountToIdAsc = 'AUTHORIZATIONS_BY_FROM_ID_DISTINCT_COUNT_TO_ID_ASC', - AuthorizationsByFromIdDistinctCountToIdDesc = 'AUTHORIZATIONS_BY_FROM_ID_DISTINCT_COUNT_TO_ID_DESC', - AuthorizationsByFromIdDistinctCountToKeyAsc = 'AUTHORIZATIONS_BY_FROM_ID_DISTINCT_COUNT_TO_KEY_ASC', - AuthorizationsByFromIdDistinctCountToKeyDesc = 'AUTHORIZATIONS_BY_FROM_ID_DISTINCT_COUNT_TO_KEY_DESC', - AuthorizationsByFromIdDistinctCountTypeAsc = 'AUTHORIZATIONS_BY_FROM_ID_DISTINCT_COUNT_TYPE_ASC', - AuthorizationsByFromIdDistinctCountTypeDesc = 'AUTHORIZATIONS_BY_FROM_ID_DISTINCT_COUNT_TYPE_DESC', - AuthorizationsByFromIdDistinctCountUpdatedAtAsc = 'AUTHORIZATIONS_BY_FROM_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - AuthorizationsByFromIdDistinctCountUpdatedAtDesc = 'AUTHORIZATIONS_BY_FROM_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - AuthorizationsByFromIdDistinctCountUpdatedBlockIdAsc = 'AUTHORIZATIONS_BY_FROM_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - AuthorizationsByFromIdDistinctCountUpdatedBlockIdDesc = 'AUTHORIZATIONS_BY_FROM_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - AuthorizationsByFromIdMaxCreatedAtAsc = 'AUTHORIZATIONS_BY_FROM_ID_MAX_CREATED_AT_ASC', - AuthorizationsByFromIdMaxCreatedAtDesc = 'AUTHORIZATIONS_BY_FROM_ID_MAX_CREATED_AT_DESC', - AuthorizationsByFromIdMaxCreatedBlockIdAsc = 'AUTHORIZATIONS_BY_FROM_ID_MAX_CREATED_BLOCK_ID_ASC', - AuthorizationsByFromIdMaxCreatedBlockIdDesc = 'AUTHORIZATIONS_BY_FROM_ID_MAX_CREATED_BLOCK_ID_DESC', - AuthorizationsByFromIdMaxDataAsc = 'AUTHORIZATIONS_BY_FROM_ID_MAX_DATA_ASC', - AuthorizationsByFromIdMaxDataDesc = 'AUTHORIZATIONS_BY_FROM_ID_MAX_DATA_DESC', - AuthorizationsByFromIdMaxExpiryAsc = 'AUTHORIZATIONS_BY_FROM_ID_MAX_EXPIRY_ASC', - AuthorizationsByFromIdMaxExpiryDesc = 'AUTHORIZATIONS_BY_FROM_ID_MAX_EXPIRY_DESC', - AuthorizationsByFromIdMaxFromIdAsc = 'AUTHORIZATIONS_BY_FROM_ID_MAX_FROM_ID_ASC', - AuthorizationsByFromIdMaxFromIdDesc = 'AUTHORIZATIONS_BY_FROM_ID_MAX_FROM_ID_DESC', - AuthorizationsByFromIdMaxIdAsc = 'AUTHORIZATIONS_BY_FROM_ID_MAX_ID_ASC', - AuthorizationsByFromIdMaxIdDesc = 'AUTHORIZATIONS_BY_FROM_ID_MAX_ID_DESC', - AuthorizationsByFromIdMaxStatusAsc = 'AUTHORIZATIONS_BY_FROM_ID_MAX_STATUS_ASC', - AuthorizationsByFromIdMaxStatusDesc = 'AUTHORIZATIONS_BY_FROM_ID_MAX_STATUS_DESC', - AuthorizationsByFromIdMaxToIdAsc = 'AUTHORIZATIONS_BY_FROM_ID_MAX_TO_ID_ASC', - AuthorizationsByFromIdMaxToIdDesc = 'AUTHORIZATIONS_BY_FROM_ID_MAX_TO_ID_DESC', - AuthorizationsByFromIdMaxToKeyAsc = 'AUTHORIZATIONS_BY_FROM_ID_MAX_TO_KEY_ASC', - AuthorizationsByFromIdMaxToKeyDesc = 'AUTHORIZATIONS_BY_FROM_ID_MAX_TO_KEY_DESC', - AuthorizationsByFromIdMaxTypeAsc = 'AUTHORIZATIONS_BY_FROM_ID_MAX_TYPE_ASC', - AuthorizationsByFromIdMaxTypeDesc = 'AUTHORIZATIONS_BY_FROM_ID_MAX_TYPE_DESC', - AuthorizationsByFromIdMaxUpdatedAtAsc = 'AUTHORIZATIONS_BY_FROM_ID_MAX_UPDATED_AT_ASC', - AuthorizationsByFromIdMaxUpdatedAtDesc = 'AUTHORIZATIONS_BY_FROM_ID_MAX_UPDATED_AT_DESC', - AuthorizationsByFromIdMaxUpdatedBlockIdAsc = 'AUTHORIZATIONS_BY_FROM_ID_MAX_UPDATED_BLOCK_ID_ASC', - AuthorizationsByFromIdMaxUpdatedBlockIdDesc = 'AUTHORIZATIONS_BY_FROM_ID_MAX_UPDATED_BLOCK_ID_DESC', - AuthorizationsByFromIdMinCreatedAtAsc = 'AUTHORIZATIONS_BY_FROM_ID_MIN_CREATED_AT_ASC', - AuthorizationsByFromIdMinCreatedAtDesc = 'AUTHORIZATIONS_BY_FROM_ID_MIN_CREATED_AT_DESC', - AuthorizationsByFromIdMinCreatedBlockIdAsc = 'AUTHORIZATIONS_BY_FROM_ID_MIN_CREATED_BLOCK_ID_ASC', - AuthorizationsByFromIdMinCreatedBlockIdDesc = 'AUTHORIZATIONS_BY_FROM_ID_MIN_CREATED_BLOCK_ID_DESC', - AuthorizationsByFromIdMinDataAsc = 'AUTHORIZATIONS_BY_FROM_ID_MIN_DATA_ASC', - AuthorizationsByFromIdMinDataDesc = 'AUTHORIZATIONS_BY_FROM_ID_MIN_DATA_DESC', - AuthorizationsByFromIdMinExpiryAsc = 'AUTHORIZATIONS_BY_FROM_ID_MIN_EXPIRY_ASC', - AuthorizationsByFromIdMinExpiryDesc = 'AUTHORIZATIONS_BY_FROM_ID_MIN_EXPIRY_DESC', - AuthorizationsByFromIdMinFromIdAsc = 'AUTHORIZATIONS_BY_FROM_ID_MIN_FROM_ID_ASC', - AuthorizationsByFromIdMinFromIdDesc = 'AUTHORIZATIONS_BY_FROM_ID_MIN_FROM_ID_DESC', - AuthorizationsByFromIdMinIdAsc = 'AUTHORIZATIONS_BY_FROM_ID_MIN_ID_ASC', - AuthorizationsByFromIdMinIdDesc = 'AUTHORIZATIONS_BY_FROM_ID_MIN_ID_DESC', - AuthorizationsByFromIdMinStatusAsc = 'AUTHORIZATIONS_BY_FROM_ID_MIN_STATUS_ASC', - AuthorizationsByFromIdMinStatusDesc = 'AUTHORIZATIONS_BY_FROM_ID_MIN_STATUS_DESC', - AuthorizationsByFromIdMinToIdAsc = 'AUTHORIZATIONS_BY_FROM_ID_MIN_TO_ID_ASC', - AuthorizationsByFromIdMinToIdDesc = 'AUTHORIZATIONS_BY_FROM_ID_MIN_TO_ID_DESC', - AuthorizationsByFromIdMinToKeyAsc = 'AUTHORIZATIONS_BY_FROM_ID_MIN_TO_KEY_ASC', - AuthorizationsByFromIdMinToKeyDesc = 'AUTHORIZATIONS_BY_FROM_ID_MIN_TO_KEY_DESC', - AuthorizationsByFromIdMinTypeAsc = 'AUTHORIZATIONS_BY_FROM_ID_MIN_TYPE_ASC', - AuthorizationsByFromIdMinTypeDesc = 'AUTHORIZATIONS_BY_FROM_ID_MIN_TYPE_DESC', - AuthorizationsByFromIdMinUpdatedAtAsc = 'AUTHORIZATIONS_BY_FROM_ID_MIN_UPDATED_AT_ASC', - AuthorizationsByFromIdMinUpdatedAtDesc = 'AUTHORIZATIONS_BY_FROM_ID_MIN_UPDATED_AT_DESC', - AuthorizationsByFromIdMinUpdatedBlockIdAsc = 'AUTHORIZATIONS_BY_FROM_ID_MIN_UPDATED_BLOCK_ID_ASC', - AuthorizationsByFromIdMinUpdatedBlockIdDesc = 'AUTHORIZATIONS_BY_FROM_ID_MIN_UPDATED_BLOCK_ID_DESC', - AuthorizationsByFromIdStddevPopulationCreatedAtAsc = 'AUTHORIZATIONS_BY_FROM_ID_STDDEV_POPULATION_CREATED_AT_ASC', - AuthorizationsByFromIdStddevPopulationCreatedAtDesc = 'AUTHORIZATIONS_BY_FROM_ID_STDDEV_POPULATION_CREATED_AT_DESC', - AuthorizationsByFromIdStddevPopulationCreatedBlockIdAsc = 'AUTHORIZATIONS_BY_FROM_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - AuthorizationsByFromIdStddevPopulationCreatedBlockIdDesc = 'AUTHORIZATIONS_BY_FROM_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - AuthorizationsByFromIdStddevPopulationDataAsc = 'AUTHORIZATIONS_BY_FROM_ID_STDDEV_POPULATION_DATA_ASC', - AuthorizationsByFromIdStddevPopulationDataDesc = 'AUTHORIZATIONS_BY_FROM_ID_STDDEV_POPULATION_DATA_DESC', - AuthorizationsByFromIdStddevPopulationExpiryAsc = 'AUTHORIZATIONS_BY_FROM_ID_STDDEV_POPULATION_EXPIRY_ASC', - AuthorizationsByFromIdStddevPopulationExpiryDesc = 'AUTHORIZATIONS_BY_FROM_ID_STDDEV_POPULATION_EXPIRY_DESC', - AuthorizationsByFromIdStddevPopulationFromIdAsc = 'AUTHORIZATIONS_BY_FROM_ID_STDDEV_POPULATION_FROM_ID_ASC', - AuthorizationsByFromIdStddevPopulationFromIdDesc = 'AUTHORIZATIONS_BY_FROM_ID_STDDEV_POPULATION_FROM_ID_DESC', - AuthorizationsByFromIdStddevPopulationIdAsc = 'AUTHORIZATIONS_BY_FROM_ID_STDDEV_POPULATION_ID_ASC', - AuthorizationsByFromIdStddevPopulationIdDesc = 'AUTHORIZATIONS_BY_FROM_ID_STDDEV_POPULATION_ID_DESC', - AuthorizationsByFromIdStddevPopulationStatusAsc = 'AUTHORIZATIONS_BY_FROM_ID_STDDEV_POPULATION_STATUS_ASC', - AuthorizationsByFromIdStddevPopulationStatusDesc = 'AUTHORIZATIONS_BY_FROM_ID_STDDEV_POPULATION_STATUS_DESC', - AuthorizationsByFromIdStddevPopulationToIdAsc = 'AUTHORIZATIONS_BY_FROM_ID_STDDEV_POPULATION_TO_ID_ASC', - AuthorizationsByFromIdStddevPopulationToIdDesc = 'AUTHORIZATIONS_BY_FROM_ID_STDDEV_POPULATION_TO_ID_DESC', - AuthorizationsByFromIdStddevPopulationToKeyAsc = 'AUTHORIZATIONS_BY_FROM_ID_STDDEV_POPULATION_TO_KEY_ASC', - AuthorizationsByFromIdStddevPopulationToKeyDesc = 'AUTHORIZATIONS_BY_FROM_ID_STDDEV_POPULATION_TO_KEY_DESC', - AuthorizationsByFromIdStddevPopulationTypeAsc = 'AUTHORIZATIONS_BY_FROM_ID_STDDEV_POPULATION_TYPE_ASC', - AuthorizationsByFromIdStddevPopulationTypeDesc = 'AUTHORIZATIONS_BY_FROM_ID_STDDEV_POPULATION_TYPE_DESC', - AuthorizationsByFromIdStddevPopulationUpdatedAtAsc = 'AUTHORIZATIONS_BY_FROM_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - AuthorizationsByFromIdStddevPopulationUpdatedAtDesc = 'AUTHORIZATIONS_BY_FROM_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - AuthorizationsByFromIdStddevPopulationUpdatedBlockIdAsc = 'AUTHORIZATIONS_BY_FROM_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - AuthorizationsByFromIdStddevPopulationUpdatedBlockIdDesc = 'AUTHORIZATIONS_BY_FROM_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - AuthorizationsByFromIdStddevSampleCreatedAtAsc = 'AUTHORIZATIONS_BY_FROM_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - AuthorizationsByFromIdStddevSampleCreatedAtDesc = 'AUTHORIZATIONS_BY_FROM_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - AuthorizationsByFromIdStddevSampleCreatedBlockIdAsc = 'AUTHORIZATIONS_BY_FROM_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - AuthorizationsByFromIdStddevSampleCreatedBlockIdDesc = 'AUTHORIZATIONS_BY_FROM_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - AuthorizationsByFromIdStddevSampleDataAsc = 'AUTHORIZATIONS_BY_FROM_ID_STDDEV_SAMPLE_DATA_ASC', - AuthorizationsByFromIdStddevSampleDataDesc = 'AUTHORIZATIONS_BY_FROM_ID_STDDEV_SAMPLE_DATA_DESC', - AuthorizationsByFromIdStddevSampleExpiryAsc = 'AUTHORIZATIONS_BY_FROM_ID_STDDEV_SAMPLE_EXPIRY_ASC', - AuthorizationsByFromIdStddevSampleExpiryDesc = 'AUTHORIZATIONS_BY_FROM_ID_STDDEV_SAMPLE_EXPIRY_DESC', - AuthorizationsByFromIdStddevSampleFromIdAsc = 'AUTHORIZATIONS_BY_FROM_ID_STDDEV_SAMPLE_FROM_ID_ASC', - AuthorizationsByFromIdStddevSampleFromIdDesc = 'AUTHORIZATIONS_BY_FROM_ID_STDDEV_SAMPLE_FROM_ID_DESC', - AuthorizationsByFromIdStddevSampleIdAsc = 'AUTHORIZATIONS_BY_FROM_ID_STDDEV_SAMPLE_ID_ASC', - AuthorizationsByFromIdStddevSampleIdDesc = 'AUTHORIZATIONS_BY_FROM_ID_STDDEV_SAMPLE_ID_DESC', - AuthorizationsByFromIdStddevSampleStatusAsc = 'AUTHORIZATIONS_BY_FROM_ID_STDDEV_SAMPLE_STATUS_ASC', - AuthorizationsByFromIdStddevSampleStatusDesc = 'AUTHORIZATIONS_BY_FROM_ID_STDDEV_SAMPLE_STATUS_DESC', - AuthorizationsByFromIdStddevSampleToIdAsc = 'AUTHORIZATIONS_BY_FROM_ID_STDDEV_SAMPLE_TO_ID_ASC', - AuthorizationsByFromIdStddevSampleToIdDesc = 'AUTHORIZATIONS_BY_FROM_ID_STDDEV_SAMPLE_TO_ID_DESC', - AuthorizationsByFromIdStddevSampleToKeyAsc = 'AUTHORIZATIONS_BY_FROM_ID_STDDEV_SAMPLE_TO_KEY_ASC', - AuthorizationsByFromIdStddevSampleToKeyDesc = 'AUTHORIZATIONS_BY_FROM_ID_STDDEV_SAMPLE_TO_KEY_DESC', - AuthorizationsByFromIdStddevSampleTypeAsc = 'AUTHORIZATIONS_BY_FROM_ID_STDDEV_SAMPLE_TYPE_ASC', - AuthorizationsByFromIdStddevSampleTypeDesc = 'AUTHORIZATIONS_BY_FROM_ID_STDDEV_SAMPLE_TYPE_DESC', - AuthorizationsByFromIdStddevSampleUpdatedAtAsc = 'AUTHORIZATIONS_BY_FROM_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - AuthorizationsByFromIdStddevSampleUpdatedAtDesc = 'AUTHORIZATIONS_BY_FROM_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - AuthorizationsByFromIdStddevSampleUpdatedBlockIdAsc = 'AUTHORIZATIONS_BY_FROM_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - AuthorizationsByFromIdStddevSampleUpdatedBlockIdDesc = 'AUTHORIZATIONS_BY_FROM_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - AuthorizationsByFromIdSumCreatedAtAsc = 'AUTHORIZATIONS_BY_FROM_ID_SUM_CREATED_AT_ASC', - AuthorizationsByFromIdSumCreatedAtDesc = 'AUTHORIZATIONS_BY_FROM_ID_SUM_CREATED_AT_DESC', - AuthorizationsByFromIdSumCreatedBlockIdAsc = 'AUTHORIZATIONS_BY_FROM_ID_SUM_CREATED_BLOCK_ID_ASC', - AuthorizationsByFromIdSumCreatedBlockIdDesc = 'AUTHORIZATIONS_BY_FROM_ID_SUM_CREATED_BLOCK_ID_DESC', - AuthorizationsByFromIdSumDataAsc = 'AUTHORIZATIONS_BY_FROM_ID_SUM_DATA_ASC', - AuthorizationsByFromIdSumDataDesc = 'AUTHORIZATIONS_BY_FROM_ID_SUM_DATA_DESC', - AuthorizationsByFromIdSumExpiryAsc = 'AUTHORIZATIONS_BY_FROM_ID_SUM_EXPIRY_ASC', - AuthorizationsByFromIdSumExpiryDesc = 'AUTHORIZATIONS_BY_FROM_ID_SUM_EXPIRY_DESC', - AuthorizationsByFromIdSumFromIdAsc = 'AUTHORIZATIONS_BY_FROM_ID_SUM_FROM_ID_ASC', - AuthorizationsByFromIdSumFromIdDesc = 'AUTHORIZATIONS_BY_FROM_ID_SUM_FROM_ID_DESC', - AuthorizationsByFromIdSumIdAsc = 'AUTHORIZATIONS_BY_FROM_ID_SUM_ID_ASC', - AuthorizationsByFromIdSumIdDesc = 'AUTHORIZATIONS_BY_FROM_ID_SUM_ID_DESC', - AuthorizationsByFromIdSumStatusAsc = 'AUTHORIZATIONS_BY_FROM_ID_SUM_STATUS_ASC', - AuthorizationsByFromIdSumStatusDesc = 'AUTHORIZATIONS_BY_FROM_ID_SUM_STATUS_DESC', - AuthorizationsByFromIdSumToIdAsc = 'AUTHORIZATIONS_BY_FROM_ID_SUM_TO_ID_ASC', - AuthorizationsByFromIdSumToIdDesc = 'AUTHORIZATIONS_BY_FROM_ID_SUM_TO_ID_DESC', - AuthorizationsByFromIdSumToKeyAsc = 'AUTHORIZATIONS_BY_FROM_ID_SUM_TO_KEY_ASC', - AuthorizationsByFromIdSumToKeyDesc = 'AUTHORIZATIONS_BY_FROM_ID_SUM_TO_KEY_DESC', - AuthorizationsByFromIdSumTypeAsc = 'AUTHORIZATIONS_BY_FROM_ID_SUM_TYPE_ASC', - AuthorizationsByFromIdSumTypeDesc = 'AUTHORIZATIONS_BY_FROM_ID_SUM_TYPE_DESC', - AuthorizationsByFromIdSumUpdatedAtAsc = 'AUTHORIZATIONS_BY_FROM_ID_SUM_UPDATED_AT_ASC', - AuthorizationsByFromIdSumUpdatedAtDesc = 'AUTHORIZATIONS_BY_FROM_ID_SUM_UPDATED_AT_DESC', - AuthorizationsByFromIdSumUpdatedBlockIdAsc = 'AUTHORIZATIONS_BY_FROM_ID_SUM_UPDATED_BLOCK_ID_ASC', - AuthorizationsByFromIdSumUpdatedBlockIdDesc = 'AUTHORIZATIONS_BY_FROM_ID_SUM_UPDATED_BLOCK_ID_DESC', - AuthorizationsByFromIdVariancePopulationCreatedAtAsc = 'AUTHORIZATIONS_BY_FROM_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - AuthorizationsByFromIdVariancePopulationCreatedAtDesc = 'AUTHORIZATIONS_BY_FROM_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - AuthorizationsByFromIdVariancePopulationCreatedBlockIdAsc = 'AUTHORIZATIONS_BY_FROM_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - AuthorizationsByFromIdVariancePopulationCreatedBlockIdDesc = 'AUTHORIZATIONS_BY_FROM_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - AuthorizationsByFromIdVariancePopulationDataAsc = 'AUTHORIZATIONS_BY_FROM_ID_VARIANCE_POPULATION_DATA_ASC', - AuthorizationsByFromIdVariancePopulationDataDesc = 'AUTHORIZATIONS_BY_FROM_ID_VARIANCE_POPULATION_DATA_DESC', - AuthorizationsByFromIdVariancePopulationExpiryAsc = 'AUTHORIZATIONS_BY_FROM_ID_VARIANCE_POPULATION_EXPIRY_ASC', - AuthorizationsByFromIdVariancePopulationExpiryDesc = 'AUTHORIZATIONS_BY_FROM_ID_VARIANCE_POPULATION_EXPIRY_DESC', - AuthorizationsByFromIdVariancePopulationFromIdAsc = 'AUTHORIZATIONS_BY_FROM_ID_VARIANCE_POPULATION_FROM_ID_ASC', - AuthorizationsByFromIdVariancePopulationFromIdDesc = 'AUTHORIZATIONS_BY_FROM_ID_VARIANCE_POPULATION_FROM_ID_DESC', - AuthorizationsByFromIdVariancePopulationIdAsc = 'AUTHORIZATIONS_BY_FROM_ID_VARIANCE_POPULATION_ID_ASC', - AuthorizationsByFromIdVariancePopulationIdDesc = 'AUTHORIZATIONS_BY_FROM_ID_VARIANCE_POPULATION_ID_DESC', - AuthorizationsByFromIdVariancePopulationStatusAsc = 'AUTHORIZATIONS_BY_FROM_ID_VARIANCE_POPULATION_STATUS_ASC', - AuthorizationsByFromIdVariancePopulationStatusDesc = 'AUTHORIZATIONS_BY_FROM_ID_VARIANCE_POPULATION_STATUS_DESC', - AuthorizationsByFromIdVariancePopulationToIdAsc = 'AUTHORIZATIONS_BY_FROM_ID_VARIANCE_POPULATION_TO_ID_ASC', - AuthorizationsByFromIdVariancePopulationToIdDesc = 'AUTHORIZATIONS_BY_FROM_ID_VARIANCE_POPULATION_TO_ID_DESC', - AuthorizationsByFromIdVariancePopulationToKeyAsc = 'AUTHORIZATIONS_BY_FROM_ID_VARIANCE_POPULATION_TO_KEY_ASC', - AuthorizationsByFromIdVariancePopulationToKeyDesc = 'AUTHORIZATIONS_BY_FROM_ID_VARIANCE_POPULATION_TO_KEY_DESC', - AuthorizationsByFromIdVariancePopulationTypeAsc = 'AUTHORIZATIONS_BY_FROM_ID_VARIANCE_POPULATION_TYPE_ASC', - AuthorizationsByFromIdVariancePopulationTypeDesc = 'AUTHORIZATIONS_BY_FROM_ID_VARIANCE_POPULATION_TYPE_DESC', - AuthorizationsByFromIdVariancePopulationUpdatedAtAsc = 'AUTHORIZATIONS_BY_FROM_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - AuthorizationsByFromIdVariancePopulationUpdatedAtDesc = 'AUTHORIZATIONS_BY_FROM_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - AuthorizationsByFromIdVariancePopulationUpdatedBlockIdAsc = 'AUTHORIZATIONS_BY_FROM_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - AuthorizationsByFromIdVariancePopulationUpdatedBlockIdDesc = 'AUTHORIZATIONS_BY_FROM_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - AuthorizationsByFromIdVarianceSampleCreatedAtAsc = 'AUTHORIZATIONS_BY_FROM_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - AuthorizationsByFromIdVarianceSampleCreatedAtDesc = 'AUTHORIZATIONS_BY_FROM_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - AuthorizationsByFromIdVarianceSampleCreatedBlockIdAsc = 'AUTHORIZATIONS_BY_FROM_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - AuthorizationsByFromIdVarianceSampleCreatedBlockIdDesc = 'AUTHORIZATIONS_BY_FROM_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - AuthorizationsByFromIdVarianceSampleDataAsc = 'AUTHORIZATIONS_BY_FROM_ID_VARIANCE_SAMPLE_DATA_ASC', - AuthorizationsByFromIdVarianceSampleDataDesc = 'AUTHORIZATIONS_BY_FROM_ID_VARIANCE_SAMPLE_DATA_DESC', - AuthorizationsByFromIdVarianceSampleExpiryAsc = 'AUTHORIZATIONS_BY_FROM_ID_VARIANCE_SAMPLE_EXPIRY_ASC', - AuthorizationsByFromIdVarianceSampleExpiryDesc = 'AUTHORIZATIONS_BY_FROM_ID_VARIANCE_SAMPLE_EXPIRY_DESC', - AuthorizationsByFromIdVarianceSampleFromIdAsc = 'AUTHORIZATIONS_BY_FROM_ID_VARIANCE_SAMPLE_FROM_ID_ASC', - AuthorizationsByFromIdVarianceSampleFromIdDesc = 'AUTHORIZATIONS_BY_FROM_ID_VARIANCE_SAMPLE_FROM_ID_DESC', - AuthorizationsByFromIdVarianceSampleIdAsc = 'AUTHORIZATIONS_BY_FROM_ID_VARIANCE_SAMPLE_ID_ASC', - AuthorizationsByFromIdVarianceSampleIdDesc = 'AUTHORIZATIONS_BY_FROM_ID_VARIANCE_SAMPLE_ID_DESC', - AuthorizationsByFromIdVarianceSampleStatusAsc = 'AUTHORIZATIONS_BY_FROM_ID_VARIANCE_SAMPLE_STATUS_ASC', - AuthorizationsByFromIdVarianceSampleStatusDesc = 'AUTHORIZATIONS_BY_FROM_ID_VARIANCE_SAMPLE_STATUS_DESC', - AuthorizationsByFromIdVarianceSampleToIdAsc = 'AUTHORIZATIONS_BY_FROM_ID_VARIANCE_SAMPLE_TO_ID_ASC', - AuthorizationsByFromIdVarianceSampleToIdDesc = 'AUTHORIZATIONS_BY_FROM_ID_VARIANCE_SAMPLE_TO_ID_DESC', - AuthorizationsByFromIdVarianceSampleToKeyAsc = 'AUTHORIZATIONS_BY_FROM_ID_VARIANCE_SAMPLE_TO_KEY_ASC', - AuthorizationsByFromIdVarianceSampleToKeyDesc = 'AUTHORIZATIONS_BY_FROM_ID_VARIANCE_SAMPLE_TO_KEY_DESC', - AuthorizationsByFromIdVarianceSampleTypeAsc = 'AUTHORIZATIONS_BY_FROM_ID_VARIANCE_SAMPLE_TYPE_ASC', - AuthorizationsByFromIdVarianceSampleTypeDesc = 'AUTHORIZATIONS_BY_FROM_ID_VARIANCE_SAMPLE_TYPE_DESC', - AuthorizationsByFromIdVarianceSampleUpdatedAtAsc = 'AUTHORIZATIONS_BY_FROM_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - AuthorizationsByFromIdVarianceSampleUpdatedAtDesc = 'AUTHORIZATIONS_BY_FROM_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - AuthorizationsByFromIdVarianceSampleUpdatedBlockIdAsc = 'AUTHORIZATIONS_BY_FROM_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - AuthorizationsByFromIdVarianceSampleUpdatedBlockIdDesc = 'AUTHORIZATIONS_BY_FROM_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - BridgeEventsAverageAmountAsc = 'BRIDGE_EVENTS_AVERAGE_AMOUNT_ASC', - BridgeEventsAverageAmountDesc = 'BRIDGE_EVENTS_AVERAGE_AMOUNT_DESC', - BridgeEventsAverageCreatedAtAsc = 'BRIDGE_EVENTS_AVERAGE_CREATED_AT_ASC', - BridgeEventsAverageCreatedAtDesc = 'BRIDGE_EVENTS_AVERAGE_CREATED_AT_DESC', - BridgeEventsAverageCreatedBlockIdAsc = 'BRIDGE_EVENTS_AVERAGE_CREATED_BLOCK_ID_ASC', - BridgeEventsAverageCreatedBlockIdDesc = 'BRIDGE_EVENTS_AVERAGE_CREATED_BLOCK_ID_DESC', - BridgeEventsAverageDatetimeAsc = 'BRIDGE_EVENTS_AVERAGE_DATETIME_ASC', - BridgeEventsAverageDatetimeDesc = 'BRIDGE_EVENTS_AVERAGE_DATETIME_DESC', - BridgeEventsAverageEventIdxAsc = 'BRIDGE_EVENTS_AVERAGE_EVENT_IDX_ASC', - BridgeEventsAverageEventIdxDesc = 'BRIDGE_EVENTS_AVERAGE_EVENT_IDX_DESC', - BridgeEventsAverageIdentityIdAsc = 'BRIDGE_EVENTS_AVERAGE_IDENTITY_ID_ASC', - BridgeEventsAverageIdentityIdDesc = 'BRIDGE_EVENTS_AVERAGE_IDENTITY_ID_DESC', - BridgeEventsAverageIdAsc = 'BRIDGE_EVENTS_AVERAGE_ID_ASC', - BridgeEventsAverageIdDesc = 'BRIDGE_EVENTS_AVERAGE_ID_DESC', - BridgeEventsAverageRecipientAsc = 'BRIDGE_EVENTS_AVERAGE_RECIPIENT_ASC', - BridgeEventsAverageRecipientDesc = 'BRIDGE_EVENTS_AVERAGE_RECIPIENT_DESC', - BridgeEventsAverageTxHashAsc = 'BRIDGE_EVENTS_AVERAGE_TX_HASH_ASC', - BridgeEventsAverageTxHashDesc = 'BRIDGE_EVENTS_AVERAGE_TX_HASH_DESC', - BridgeEventsAverageUpdatedAtAsc = 'BRIDGE_EVENTS_AVERAGE_UPDATED_AT_ASC', - BridgeEventsAverageUpdatedAtDesc = 'BRIDGE_EVENTS_AVERAGE_UPDATED_AT_DESC', - BridgeEventsAverageUpdatedBlockIdAsc = 'BRIDGE_EVENTS_AVERAGE_UPDATED_BLOCK_ID_ASC', - BridgeEventsAverageUpdatedBlockIdDesc = 'BRIDGE_EVENTS_AVERAGE_UPDATED_BLOCK_ID_DESC', - BridgeEventsCountAsc = 'BRIDGE_EVENTS_COUNT_ASC', - BridgeEventsCountDesc = 'BRIDGE_EVENTS_COUNT_DESC', - BridgeEventsDistinctCountAmountAsc = 'BRIDGE_EVENTS_DISTINCT_COUNT_AMOUNT_ASC', - BridgeEventsDistinctCountAmountDesc = 'BRIDGE_EVENTS_DISTINCT_COUNT_AMOUNT_DESC', - BridgeEventsDistinctCountCreatedAtAsc = 'BRIDGE_EVENTS_DISTINCT_COUNT_CREATED_AT_ASC', - BridgeEventsDistinctCountCreatedAtDesc = 'BRIDGE_EVENTS_DISTINCT_COUNT_CREATED_AT_DESC', - BridgeEventsDistinctCountCreatedBlockIdAsc = 'BRIDGE_EVENTS_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - BridgeEventsDistinctCountCreatedBlockIdDesc = 'BRIDGE_EVENTS_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - BridgeEventsDistinctCountDatetimeAsc = 'BRIDGE_EVENTS_DISTINCT_COUNT_DATETIME_ASC', - BridgeEventsDistinctCountDatetimeDesc = 'BRIDGE_EVENTS_DISTINCT_COUNT_DATETIME_DESC', - BridgeEventsDistinctCountEventIdxAsc = 'BRIDGE_EVENTS_DISTINCT_COUNT_EVENT_IDX_ASC', - BridgeEventsDistinctCountEventIdxDesc = 'BRIDGE_EVENTS_DISTINCT_COUNT_EVENT_IDX_DESC', - BridgeEventsDistinctCountIdentityIdAsc = 'BRIDGE_EVENTS_DISTINCT_COUNT_IDENTITY_ID_ASC', - BridgeEventsDistinctCountIdentityIdDesc = 'BRIDGE_EVENTS_DISTINCT_COUNT_IDENTITY_ID_DESC', - BridgeEventsDistinctCountIdAsc = 'BRIDGE_EVENTS_DISTINCT_COUNT_ID_ASC', - BridgeEventsDistinctCountIdDesc = 'BRIDGE_EVENTS_DISTINCT_COUNT_ID_DESC', - BridgeEventsDistinctCountRecipientAsc = 'BRIDGE_EVENTS_DISTINCT_COUNT_RECIPIENT_ASC', - BridgeEventsDistinctCountRecipientDesc = 'BRIDGE_EVENTS_DISTINCT_COUNT_RECIPIENT_DESC', - BridgeEventsDistinctCountTxHashAsc = 'BRIDGE_EVENTS_DISTINCT_COUNT_TX_HASH_ASC', - BridgeEventsDistinctCountTxHashDesc = 'BRIDGE_EVENTS_DISTINCT_COUNT_TX_HASH_DESC', - BridgeEventsDistinctCountUpdatedAtAsc = 'BRIDGE_EVENTS_DISTINCT_COUNT_UPDATED_AT_ASC', - BridgeEventsDistinctCountUpdatedAtDesc = 'BRIDGE_EVENTS_DISTINCT_COUNT_UPDATED_AT_DESC', - BridgeEventsDistinctCountUpdatedBlockIdAsc = 'BRIDGE_EVENTS_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - BridgeEventsDistinctCountUpdatedBlockIdDesc = 'BRIDGE_EVENTS_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - BridgeEventsMaxAmountAsc = 'BRIDGE_EVENTS_MAX_AMOUNT_ASC', - BridgeEventsMaxAmountDesc = 'BRIDGE_EVENTS_MAX_AMOUNT_DESC', - BridgeEventsMaxCreatedAtAsc = 'BRIDGE_EVENTS_MAX_CREATED_AT_ASC', - BridgeEventsMaxCreatedAtDesc = 'BRIDGE_EVENTS_MAX_CREATED_AT_DESC', - BridgeEventsMaxCreatedBlockIdAsc = 'BRIDGE_EVENTS_MAX_CREATED_BLOCK_ID_ASC', - BridgeEventsMaxCreatedBlockIdDesc = 'BRIDGE_EVENTS_MAX_CREATED_BLOCK_ID_DESC', - BridgeEventsMaxDatetimeAsc = 'BRIDGE_EVENTS_MAX_DATETIME_ASC', - BridgeEventsMaxDatetimeDesc = 'BRIDGE_EVENTS_MAX_DATETIME_DESC', - BridgeEventsMaxEventIdxAsc = 'BRIDGE_EVENTS_MAX_EVENT_IDX_ASC', - BridgeEventsMaxEventIdxDesc = 'BRIDGE_EVENTS_MAX_EVENT_IDX_DESC', - BridgeEventsMaxIdentityIdAsc = 'BRIDGE_EVENTS_MAX_IDENTITY_ID_ASC', - BridgeEventsMaxIdentityIdDesc = 'BRIDGE_EVENTS_MAX_IDENTITY_ID_DESC', - BridgeEventsMaxIdAsc = 'BRIDGE_EVENTS_MAX_ID_ASC', - BridgeEventsMaxIdDesc = 'BRIDGE_EVENTS_MAX_ID_DESC', - BridgeEventsMaxRecipientAsc = 'BRIDGE_EVENTS_MAX_RECIPIENT_ASC', - BridgeEventsMaxRecipientDesc = 'BRIDGE_EVENTS_MAX_RECIPIENT_DESC', - BridgeEventsMaxTxHashAsc = 'BRIDGE_EVENTS_MAX_TX_HASH_ASC', - BridgeEventsMaxTxHashDesc = 'BRIDGE_EVENTS_MAX_TX_HASH_DESC', - BridgeEventsMaxUpdatedAtAsc = 'BRIDGE_EVENTS_MAX_UPDATED_AT_ASC', - BridgeEventsMaxUpdatedAtDesc = 'BRIDGE_EVENTS_MAX_UPDATED_AT_DESC', - BridgeEventsMaxUpdatedBlockIdAsc = 'BRIDGE_EVENTS_MAX_UPDATED_BLOCK_ID_ASC', - BridgeEventsMaxUpdatedBlockIdDesc = 'BRIDGE_EVENTS_MAX_UPDATED_BLOCK_ID_DESC', - BridgeEventsMinAmountAsc = 'BRIDGE_EVENTS_MIN_AMOUNT_ASC', - BridgeEventsMinAmountDesc = 'BRIDGE_EVENTS_MIN_AMOUNT_DESC', - BridgeEventsMinCreatedAtAsc = 'BRIDGE_EVENTS_MIN_CREATED_AT_ASC', - BridgeEventsMinCreatedAtDesc = 'BRIDGE_EVENTS_MIN_CREATED_AT_DESC', - BridgeEventsMinCreatedBlockIdAsc = 'BRIDGE_EVENTS_MIN_CREATED_BLOCK_ID_ASC', - BridgeEventsMinCreatedBlockIdDesc = 'BRIDGE_EVENTS_MIN_CREATED_BLOCK_ID_DESC', - BridgeEventsMinDatetimeAsc = 'BRIDGE_EVENTS_MIN_DATETIME_ASC', - BridgeEventsMinDatetimeDesc = 'BRIDGE_EVENTS_MIN_DATETIME_DESC', - BridgeEventsMinEventIdxAsc = 'BRIDGE_EVENTS_MIN_EVENT_IDX_ASC', - BridgeEventsMinEventIdxDesc = 'BRIDGE_EVENTS_MIN_EVENT_IDX_DESC', - BridgeEventsMinIdentityIdAsc = 'BRIDGE_EVENTS_MIN_IDENTITY_ID_ASC', - BridgeEventsMinIdentityIdDesc = 'BRIDGE_EVENTS_MIN_IDENTITY_ID_DESC', - BridgeEventsMinIdAsc = 'BRIDGE_EVENTS_MIN_ID_ASC', - BridgeEventsMinIdDesc = 'BRIDGE_EVENTS_MIN_ID_DESC', - BridgeEventsMinRecipientAsc = 'BRIDGE_EVENTS_MIN_RECIPIENT_ASC', - BridgeEventsMinRecipientDesc = 'BRIDGE_EVENTS_MIN_RECIPIENT_DESC', - BridgeEventsMinTxHashAsc = 'BRIDGE_EVENTS_MIN_TX_HASH_ASC', - BridgeEventsMinTxHashDesc = 'BRIDGE_EVENTS_MIN_TX_HASH_DESC', - BridgeEventsMinUpdatedAtAsc = 'BRIDGE_EVENTS_MIN_UPDATED_AT_ASC', - BridgeEventsMinUpdatedAtDesc = 'BRIDGE_EVENTS_MIN_UPDATED_AT_DESC', - BridgeEventsMinUpdatedBlockIdAsc = 'BRIDGE_EVENTS_MIN_UPDATED_BLOCK_ID_ASC', - BridgeEventsMinUpdatedBlockIdDesc = 'BRIDGE_EVENTS_MIN_UPDATED_BLOCK_ID_DESC', - BridgeEventsStddevPopulationAmountAsc = 'BRIDGE_EVENTS_STDDEV_POPULATION_AMOUNT_ASC', - BridgeEventsStddevPopulationAmountDesc = 'BRIDGE_EVENTS_STDDEV_POPULATION_AMOUNT_DESC', - BridgeEventsStddevPopulationCreatedAtAsc = 'BRIDGE_EVENTS_STDDEV_POPULATION_CREATED_AT_ASC', - BridgeEventsStddevPopulationCreatedAtDesc = 'BRIDGE_EVENTS_STDDEV_POPULATION_CREATED_AT_DESC', - BridgeEventsStddevPopulationCreatedBlockIdAsc = 'BRIDGE_EVENTS_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - BridgeEventsStddevPopulationCreatedBlockIdDesc = 'BRIDGE_EVENTS_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - BridgeEventsStddevPopulationDatetimeAsc = 'BRIDGE_EVENTS_STDDEV_POPULATION_DATETIME_ASC', - BridgeEventsStddevPopulationDatetimeDesc = 'BRIDGE_EVENTS_STDDEV_POPULATION_DATETIME_DESC', - BridgeEventsStddevPopulationEventIdxAsc = 'BRIDGE_EVENTS_STDDEV_POPULATION_EVENT_IDX_ASC', - BridgeEventsStddevPopulationEventIdxDesc = 'BRIDGE_EVENTS_STDDEV_POPULATION_EVENT_IDX_DESC', - BridgeEventsStddevPopulationIdentityIdAsc = 'BRIDGE_EVENTS_STDDEV_POPULATION_IDENTITY_ID_ASC', - BridgeEventsStddevPopulationIdentityIdDesc = 'BRIDGE_EVENTS_STDDEV_POPULATION_IDENTITY_ID_DESC', - BridgeEventsStddevPopulationIdAsc = 'BRIDGE_EVENTS_STDDEV_POPULATION_ID_ASC', - BridgeEventsStddevPopulationIdDesc = 'BRIDGE_EVENTS_STDDEV_POPULATION_ID_DESC', - BridgeEventsStddevPopulationRecipientAsc = 'BRIDGE_EVENTS_STDDEV_POPULATION_RECIPIENT_ASC', - BridgeEventsStddevPopulationRecipientDesc = 'BRIDGE_EVENTS_STDDEV_POPULATION_RECIPIENT_DESC', - BridgeEventsStddevPopulationTxHashAsc = 'BRIDGE_EVENTS_STDDEV_POPULATION_TX_HASH_ASC', - BridgeEventsStddevPopulationTxHashDesc = 'BRIDGE_EVENTS_STDDEV_POPULATION_TX_HASH_DESC', - BridgeEventsStddevPopulationUpdatedAtAsc = 'BRIDGE_EVENTS_STDDEV_POPULATION_UPDATED_AT_ASC', - BridgeEventsStddevPopulationUpdatedAtDesc = 'BRIDGE_EVENTS_STDDEV_POPULATION_UPDATED_AT_DESC', - BridgeEventsStddevPopulationUpdatedBlockIdAsc = 'BRIDGE_EVENTS_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - BridgeEventsStddevPopulationUpdatedBlockIdDesc = 'BRIDGE_EVENTS_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - BridgeEventsStddevSampleAmountAsc = 'BRIDGE_EVENTS_STDDEV_SAMPLE_AMOUNT_ASC', - BridgeEventsStddevSampleAmountDesc = 'BRIDGE_EVENTS_STDDEV_SAMPLE_AMOUNT_DESC', - BridgeEventsStddevSampleCreatedAtAsc = 'BRIDGE_EVENTS_STDDEV_SAMPLE_CREATED_AT_ASC', - BridgeEventsStddevSampleCreatedAtDesc = 'BRIDGE_EVENTS_STDDEV_SAMPLE_CREATED_AT_DESC', - BridgeEventsStddevSampleCreatedBlockIdAsc = 'BRIDGE_EVENTS_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - BridgeEventsStddevSampleCreatedBlockIdDesc = 'BRIDGE_EVENTS_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - BridgeEventsStddevSampleDatetimeAsc = 'BRIDGE_EVENTS_STDDEV_SAMPLE_DATETIME_ASC', - BridgeEventsStddevSampleDatetimeDesc = 'BRIDGE_EVENTS_STDDEV_SAMPLE_DATETIME_DESC', - BridgeEventsStddevSampleEventIdxAsc = 'BRIDGE_EVENTS_STDDEV_SAMPLE_EVENT_IDX_ASC', - BridgeEventsStddevSampleEventIdxDesc = 'BRIDGE_EVENTS_STDDEV_SAMPLE_EVENT_IDX_DESC', - BridgeEventsStddevSampleIdentityIdAsc = 'BRIDGE_EVENTS_STDDEV_SAMPLE_IDENTITY_ID_ASC', - BridgeEventsStddevSampleIdentityIdDesc = 'BRIDGE_EVENTS_STDDEV_SAMPLE_IDENTITY_ID_DESC', - BridgeEventsStddevSampleIdAsc = 'BRIDGE_EVENTS_STDDEV_SAMPLE_ID_ASC', - BridgeEventsStddevSampleIdDesc = 'BRIDGE_EVENTS_STDDEV_SAMPLE_ID_DESC', - BridgeEventsStddevSampleRecipientAsc = 'BRIDGE_EVENTS_STDDEV_SAMPLE_RECIPIENT_ASC', - BridgeEventsStddevSampleRecipientDesc = 'BRIDGE_EVENTS_STDDEV_SAMPLE_RECIPIENT_DESC', - BridgeEventsStddevSampleTxHashAsc = 'BRIDGE_EVENTS_STDDEV_SAMPLE_TX_HASH_ASC', - BridgeEventsStddevSampleTxHashDesc = 'BRIDGE_EVENTS_STDDEV_SAMPLE_TX_HASH_DESC', - BridgeEventsStddevSampleUpdatedAtAsc = 'BRIDGE_EVENTS_STDDEV_SAMPLE_UPDATED_AT_ASC', - BridgeEventsStddevSampleUpdatedAtDesc = 'BRIDGE_EVENTS_STDDEV_SAMPLE_UPDATED_AT_DESC', - BridgeEventsStddevSampleUpdatedBlockIdAsc = 'BRIDGE_EVENTS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - BridgeEventsStddevSampleUpdatedBlockIdDesc = 'BRIDGE_EVENTS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - BridgeEventsSumAmountAsc = 'BRIDGE_EVENTS_SUM_AMOUNT_ASC', - BridgeEventsSumAmountDesc = 'BRIDGE_EVENTS_SUM_AMOUNT_DESC', - BridgeEventsSumCreatedAtAsc = 'BRIDGE_EVENTS_SUM_CREATED_AT_ASC', - BridgeEventsSumCreatedAtDesc = 'BRIDGE_EVENTS_SUM_CREATED_AT_DESC', - BridgeEventsSumCreatedBlockIdAsc = 'BRIDGE_EVENTS_SUM_CREATED_BLOCK_ID_ASC', - BridgeEventsSumCreatedBlockIdDesc = 'BRIDGE_EVENTS_SUM_CREATED_BLOCK_ID_DESC', - BridgeEventsSumDatetimeAsc = 'BRIDGE_EVENTS_SUM_DATETIME_ASC', - BridgeEventsSumDatetimeDesc = 'BRIDGE_EVENTS_SUM_DATETIME_DESC', - BridgeEventsSumEventIdxAsc = 'BRIDGE_EVENTS_SUM_EVENT_IDX_ASC', - BridgeEventsSumEventIdxDesc = 'BRIDGE_EVENTS_SUM_EVENT_IDX_DESC', - BridgeEventsSumIdentityIdAsc = 'BRIDGE_EVENTS_SUM_IDENTITY_ID_ASC', - BridgeEventsSumIdentityIdDesc = 'BRIDGE_EVENTS_SUM_IDENTITY_ID_DESC', - BridgeEventsSumIdAsc = 'BRIDGE_EVENTS_SUM_ID_ASC', - BridgeEventsSumIdDesc = 'BRIDGE_EVENTS_SUM_ID_DESC', - BridgeEventsSumRecipientAsc = 'BRIDGE_EVENTS_SUM_RECIPIENT_ASC', - BridgeEventsSumRecipientDesc = 'BRIDGE_EVENTS_SUM_RECIPIENT_DESC', - BridgeEventsSumTxHashAsc = 'BRIDGE_EVENTS_SUM_TX_HASH_ASC', - BridgeEventsSumTxHashDesc = 'BRIDGE_EVENTS_SUM_TX_HASH_DESC', - BridgeEventsSumUpdatedAtAsc = 'BRIDGE_EVENTS_SUM_UPDATED_AT_ASC', - BridgeEventsSumUpdatedAtDesc = 'BRIDGE_EVENTS_SUM_UPDATED_AT_DESC', - BridgeEventsSumUpdatedBlockIdAsc = 'BRIDGE_EVENTS_SUM_UPDATED_BLOCK_ID_ASC', - BridgeEventsSumUpdatedBlockIdDesc = 'BRIDGE_EVENTS_SUM_UPDATED_BLOCK_ID_DESC', - BridgeEventsVariancePopulationAmountAsc = 'BRIDGE_EVENTS_VARIANCE_POPULATION_AMOUNT_ASC', - BridgeEventsVariancePopulationAmountDesc = 'BRIDGE_EVENTS_VARIANCE_POPULATION_AMOUNT_DESC', - BridgeEventsVariancePopulationCreatedAtAsc = 'BRIDGE_EVENTS_VARIANCE_POPULATION_CREATED_AT_ASC', - BridgeEventsVariancePopulationCreatedAtDesc = 'BRIDGE_EVENTS_VARIANCE_POPULATION_CREATED_AT_DESC', - BridgeEventsVariancePopulationCreatedBlockIdAsc = 'BRIDGE_EVENTS_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - BridgeEventsVariancePopulationCreatedBlockIdDesc = 'BRIDGE_EVENTS_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - BridgeEventsVariancePopulationDatetimeAsc = 'BRIDGE_EVENTS_VARIANCE_POPULATION_DATETIME_ASC', - BridgeEventsVariancePopulationDatetimeDesc = 'BRIDGE_EVENTS_VARIANCE_POPULATION_DATETIME_DESC', - BridgeEventsVariancePopulationEventIdxAsc = 'BRIDGE_EVENTS_VARIANCE_POPULATION_EVENT_IDX_ASC', - BridgeEventsVariancePopulationEventIdxDesc = 'BRIDGE_EVENTS_VARIANCE_POPULATION_EVENT_IDX_DESC', - BridgeEventsVariancePopulationIdentityIdAsc = 'BRIDGE_EVENTS_VARIANCE_POPULATION_IDENTITY_ID_ASC', - BridgeEventsVariancePopulationIdentityIdDesc = 'BRIDGE_EVENTS_VARIANCE_POPULATION_IDENTITY_ID_DESC', - BridgeEventsVariancePopulationIdAsc = 'BRIDGE_EVENTS_VARIANCE_POPULATION_ID_ASC', - BridgeEventsVariancePopulationIdDesc = 'BRIDGE_EVENTS_VARIANCE_POPULATION_ID_DESC', - BridgeEventsVariancePopulationRecipientAsc = 'BRIDGE_EVENTS_VARIANCE_POPULATION_RECIPIENT_ASC', - BridgeEventsVariancePopulationRecipientDesc = 'BRIDGE_EVENTS_VARIANCE_POPULATION_RECIPIENT_DESC', - BridgeEventsVariancePopulationTxHashAsc = 'BRIDGE_EVENTS_VARIANCE_POPULATION_TX_HASH_ASC', - BridgeEventsVariancePopulationTxHashDesc = 'BRIDGE_EVENTS_VARIANCE_POPULATION_TX_HASH_DESC', - BridgeEventsVariancePopulationUpdatedAtAsc = 'BRIDGE_EVENTS_VARIANCE_POPULATION_UPDATED_AT_ASC', - BridgeEventsVariancePopulationUpdatedAtDesc = 'BRIDGE_EVENTS_VARIANCE_POPULATION_UPDATED_AT_DESC', - BridgeEventsVariancePopulationUpdatedBlockIdAsc = 'BRIDGE_EVENTS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - BridgeEventsVariancePopulationUpdatedBlockIdDesc = 'BRIDGE_EVENTS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - BridgeEventsVarianceSampleAmountAsc = 'BRIDGE_EVENTS_VARIANCE_SAMPLE_AMOUNT_ASC', - BridgeEventsVarianceSampleAmountDesc = 'BRIDGE_EVENTS_VARIANCE_SAMPLE_AMOUNT_DESC', - BridgeEventsVarianceSampleCreatedAtAsc = 'BRIDGE_EVENTS_VARIANCE_SAMPLE_CREATED_AT_ASC', - BridgeEventsVarianceSampleCreatedAtDesc = 'BRIDGE_EVENTS_VARIANCE_SAMPLE_CREATED_AT_DESC', - BridgeEventsVarianceSampleCreatedBlockIdAsc = 'BRIDGE_EVENTS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - BridgeEventsVarianceSampleCreatedBlockIdDesc = 'BRIDGE_EVENTS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - BridgeEventsVarianceSampleDatetimeAsc = 'BRIDGE_EVENTS_VARIANCE_SAMPLE_DATETIME_ASC', - BridgeEventsVarianceSampleDatetimeDesc = 'BRIDGE_EVENTS_VARIANCE_SAMPLE_DATETIME_DESC', - BridgeEventsVarianceSampleEventIdxAsc = 'BRIDGE_EVENTS_VARIANCE_SAMPLE_EVENT_IDX_ASC', - BridgeEventsVarianceSampleEventIdxDesc = 'BRIDGE_EVENTS_VARIANCE_SAMPLE_EVENT_IDX_DESC', - BridgeEventsVarianceSampleIdentityIdAsc = 'BRIDGE_EVENTS_VARIANCE_SAMPLE_IDENTITY_ID_ASC', - BridgeEventsVarianceSampleIdentityIdDesc = 'BRIDGE_EVENTS_VARIANCE_SAMPLE_IDENTITY_ID_DESC', - BridgeEventsVarianceSampleIdAsc = 'BRIDGE_EVENTS_VARIANCE_SAMPLE_ID_ASC', - BridgeEventsVarianceSampleIdDesc = 'BRIDGE_EVENTS_VARIANCE_SAMPLE_ID_DESC', - BridgeEventsVarianceSampleRecipientAsc = 'BRIDGE_EVENTS_VARIANCE_SAMPLE_RECIPIENT_ASC', - BridgeEventsVarianceSampleRecipientDesc = 'BRIDGE_EVENTS_VARIANCE_SAMPLE_RECIPIENT_DESC', - BridgeEventsVarianceSampleTxHashAsc = 'BRIDGE_EVENTS_VARIANCE_SAMPLE_TX_HASH_ASC', - BridgeEventsVarianceSampleTxHashDesc = 'BRIDGE_EVENTS_VARIANCE_SAMPLE_TX_HASH_DESC', - BridgeEventsVarianceSampleUpdatedAtAsc = 'BRIDGE_EVENTS_VARIANCE_SAMPLE_UPDATED_AT_ASC', - BridgeEventsVarianceSampleUpdatedAtDesc = 'BRIDGE_EVENTS_VARIANCE_SAMPLE_UPDATED_AT_DESC', - BridgeEventsVarianceSampleUpdatedBlockIdAsc = 'BRIDGE_EVENTS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - BridgeEventsVarianceSampleUpdatedBlockIdDesc = 'BRIDGE_EVENTS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - ChildrenAverageChildIdAsc = 'CHILDREN_AVERAGE_CHILD_ID_ASC', - ChildrenAverageChildIdDesc = 'CHILDREN_AVERAGE_CHILD_ID_DESC', - ChildrenAverageCreatedAtAsc = 'CHILDREN_AVERAGE_CREATED_AT_ASC', - ChildrenAverageCreatedAtDesc = 'CHILDREN_AVERAGE_CREATED_AT_DESC', - ChildrenAverageCreatedBlockIdAsc = 'CHILDREN_AVERAGE_CREATED_BLOCK_ID_ASC', - ChildrenAverageCreatedBlockIdDesc = 'CHILDREN_AVERAGE_CREATED_BLOCK_ID_DESC', - ChildrenAverageIdAsc = 'CHILDREN_AVERAGE_ID_ASC', - ChildrenAverageIdDesc = 'CHILDREN_AVERAGE_ID_DESC', - ChildrenAverageParentIdAsc = 'CHILDREN_AVERAGE_PARENT_ID_ASC', - ChildrenAverageParentIdDesc = 'CHILDREN_AVERAGE_PARENT_ID_DESC', - ChildrenAverageUpdatedAtAsc = 'CHILDREN_AVERAGE_UPDATED_AT_ASC', - ChildrenAverageUpdatedAtDesc = 'CHILDREN_AVERAGE_UPDATED_AT_DESC', - ChildrenAverageUpdatedBlockIdAsc = 'CHILDREN_AVERAGE_UPDATED_BLOCK_ID_ASC', - ChildrenAverageUpdatedBlockIdDesc = 'CHILDREN_AVERAGE_UPDATED_BLOCK_ID_DESC', - ChildrenCountAsc = 'CHILDREN_COUNT_ASC', - ChildrenCountDesc = 'CHILDREN_COUNT_DESC', - ChildrenDistinctCountChildIdAsc = 'CHILDREN_DISTINCT_COUNT_CHILD_ID_ASC', - ChildrenDistinctCountChildIdDesc = 'CHILDREN_DISTINCT_COUNT_CHILD_ID_DESC', - ChildrenDistinctCountCreatedAtAsc = 'CHILDREN_DISTINCT_COUNT_CREATED_AT_ASC', - ChildrenDistinctCountCreatedAtDesc = 'CHILDREN_DISTINCT_COUNT_CREATED_AT_DESC', - ChildrenDistinctCountCreatedBlockIdAsc = 'CHILDREN_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - ChildrenDistinctCountCreatedBlockIdDesc = 'CHILDREN_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - ChildrenDistinctCountIdAsc = 'CHILDREN_DISTINCT_COUNT_ID_ASC', - ChildrenDistinctCountIdDesc = 'CHILDREN_DISTINCT_COUNT_ID_DESC', - ChildrenDistinctCountParentIdAsc = 'CHILDREN_DISTINCT_COUNT_PARENT_ID_ASC', - ChildrenDistinctCountParentIdDesc = 'CHILDREN_DISTINCT_COUNT_PARENT_ID_DESC', - ChildrenDistinctCountUpdatedAtAsc = 'CHILDREN_DISTINCT_COUNT_UPDATED_AT_ASC', - ChildrenDistinctCountUpdatedAtDesc = 'CHILDREN_DISTINCT_COUNT_UPDATED_AT_DESC', - ChildrenDistinctCountUpdatedBlockIdAsc = 'CHILDREN_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - ChildrenDistinctCountUpdatedBlockIdDesc = 'CHILDREN_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - ChildrenMaxChildIdAsc = 'CHILDREN_MAX_CHILD_ID_ASC', - ChildrenMaxChildIdDesc = 'CHILDREN_MAX_CHILD_ID_DESC', - ChildrenMaxCreatedAtAsc = 'CHILDREN_MAX_CREATED_AT_ASC', - ChildrenMaxCreatedAtDesc = 'CHILDREN_MAX_CREATED_AT_DESC', - ChildrenMaxCreatedBlockIdAsc = 'CHILDREN_MAX_CREATED_BLOCK_ID_ASC', - ChildrenMaxCreatedBlockIdDesc = 'CHILDREN_MAX_CREATED_BLOCK_ID_DESC', - ChildrenMaxIdAsc = 'CHILDREN_MAX_ID_ASC', - ChildrenMaxIdDesc = 'CHILDREN_MAX_ID_DESC', - ChildrenMaxParentIdAsc = 'CHILDREN_MAX_PARENT_ID_ASC', - ChildrenMaxParentIdDesc = 'CHILDREN_MAX_PARENT_ID_DESC', - ChildrenMaxUpdatedAtAsc = 'CHILDREN_MAX_UPDATED_AT_ASC', - ChildrenMaxUpdatedAtDesc = 'CHILDREN_MAX_UPDATED_AT_DESC', - ChildrenMaxUpdatedBlockIdAsc = 'CHILDREN_MAX_UPDATED_BLOCK_ID_ASC', - ChildrenMaxUpdatedBlockIdDesc = 'CHILDREN_MAX_UPDATED_BLOCK_ID_DESC', - ChildrenMinChildIdAsc = 'CHILDREN_MIN_CHILD_ID_ASC', - ChildrenMinChildIdDesc = 'CHILDREN_MIN_CHILD_ID_DESC', - ChildrenMinCreatedAtAsc = 'CHILDREN_MIN_CREATED_AT_ASC', - ChildrenMinCreatedAtDesc = 'CHILDREN_MIN_CREATED_AT_DESC', - ChildrenMinCreatedBlockIdAsc = 'CHILDREN_MIN_CREATED_BLOCK_ID_ASC', - ChildrenMinCreatedBlockIdDesc = 'CHILDREN_MIN_CREATED_BLOCK_ID_DESC', - ChildrenMinIdAsc = 'CHILDREN_MIN_ID_ASC', - ChildrenMinIdDesc = 'CHILDREN_MIN_ID_DESC', - ChildrenMinParentIdAsc = 'CHILDREN_MIN_PARENT_ID_ASC', - ChildrenMinParentIdDesc = 'CHILDREN_MIN_PARENT_ID_DESC', - ChildrenMinUpdatedAtAsc = 'CHILDREN_MIN_UPDATED_AT_ASC', - ChildrenMinUpdatedAtDesc = 'CHILDREN_MIN_UPDATED_AT_DESC', - ChildrenMinUpdatedBlockIdAsc = 'CHILDREN_MIN_UPDATED_BLOCK_ID_ASC', - ChildrenMinUpdatedBlockIdDesc = 'CHILDREN_MIN_UPDATED_BLOCK_ID_DESC', - ChildrenStddevPopulationChildIdAsc = 'CHILDREN_STDDEV_POPULATION_CHILD_ID_ASC', - ChildrenStddevPopulationChildIdDesc = 'CHILDREN_STDDEV_POPULATION_CHILD_ID_DESC', - ChildrenStddevPopulationCreatedAtAsc = 'CHILDREN_STDDEV_POPULATION_CREATED_AT_ASC', - ChildrenStddevPopulationCreatedAtDesc = 'CHILDREN_STDDEV_POPULATION_CREATED_AT_DESC', - ChildrenStddevPopulationCreatedBlockIdAsc = 'CHILDREN_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - ChildrenStddevPopulationCreatedBlockIdDesc = 'CHILDREN_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - ChildrenStddevPopulationIdAsc = 'CHILDREN_STDDEV_POPULATION_ID_ASC', - ChildrenStddevPopulationIdDesc = 'CHILDREN_STDDEV_POPULATION_ID_DESC', - ChildrenStddevPopulationParentIdAsc = 'CHILDREN_STDDEV_POPULATION_PARENT_ID_ASC', - ChildrenStddevPopulationParentIdDesc = 'CHILDREN_STDDEV_POPULATION_PARENT_ID_DESC', - ChildrenStddevPopulationUpdatedAtAsc = 'CHILDREN_STDDEV_POPULATION_UPDATED_AT_ASC', - ChildrenStddevPopulationUpdatedAtDesc = 'CHILDREN_STDDEV_POPULATION_UPDATED_AT_DESC', - ChildrenStddevPopulationUpdatedBlockIdAsc = 'CHILDREN_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - ChildrenStddevPopulationUpdatedBlockIdDesc = 'CHILDREN_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - ChildrenStddevSampleChildIdAsc = 'CHILDREN_STDDEV_SAMPLE_CHILD_ID_ASC', - ChildrenStddevSampleChildIdDesc = 'CHILDREN_STDDEV_SAMPLE_CHILD_ID_DESC', - ChildrenStddevSampleCreatedAtAsc = 'CHILDREN_STDDEV_SAMPLE_CREATED_AT_ASC', - ChildrenStddevSampleCreatedAtDesc = 'CHILDREN_STDDEV_SAMPLE_CREATED_AT_DESC', - ChildrenStddevSampleCreatedBlockIdAsc = 'CHILDREN_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - ChildrenStddevSampleCreatedBlockIdDesc = 'CHILDREN_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - ChildrenStddevSampleIdAsc = 'CHILDREN_STDDEV_SAMPLE_ID_ASC', - ChildrenStddevSampleIdDesc = 'CHILDREN_STDDEV_SAMPLE_ID_DESC', - ChildrenStddevSampleParentIdAsc = 'CHILDREN_STDDEV_SAMPLE_PARENT_ID_ASC', - ChildrenStddevSampleParentIdDesc = 'CHILDREN_STDDEV_SAMPLE_PARENT_ID_DESC', - ChildrenStddevSampleUpdatedAtAsc = 'CHILDREN_STDDEV_SAMPLE_UPDATED_AT_ASC', - ChildrenStddevSampleUpdatedAtDesc = 'CHILDREN_STDDEV_SAMPLE_UPDATED_AT_DESC', - ChildrenStddevSampleUpdatedBlockIdAsc = 'CHILDREN_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - ChildrenStddevSampleUpdatedBlockIdDesc = 'CHILDREN_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - ChildrenSumChildIdAsc = 'CHILDREN_SUM_CHILD_ID_ASC', - ChildrenSumChildIdDesc = 'CHILDREN_SUM_CHILD_ID_DESC', - ChildrenSumCreatedAtAsc = 'CHILDREN_SUM_CREATED_AT_ASC', - ChildrenSumCreatedAtDesc = 'CHILDREN_SUM_CREATED_AT_DESC', - ChildrenSumCreatedBlockIdAsc = 'CHILDREN_SUM_CREATED_BLOCK_ID_ASC', - ChildrenSumCreatedBlockIdDesc = 'CHILDREN_SUM_CREATED_BLOCK_ID_DESC', - ChildrenSumIdAsc = 'CHILDREN_SUM_ID_ASC', - ChildrenSumIdDesc = 'CHILDREN_SUM_ID_DESC', - ChildrenSumParentIdAsc = 'CHILDREN_SUM_PARENT_ID_ASC', - ChildrenSumParentIdDesc = 'CHILDREN_SUM_PARENT_ID_DESC', - ChildrenSumUpdatedAtAsc = 'CHILDREN_SUM_UPDATED_AT_ASC', - ChildrenSumUpdatedAtDesc = 'CHILDREN_SUM_UPDATED_AT_DESC', - ChildrenSumUpdatedBlockIdAsc = 'CHILDREN_SUM_UPDATED_BLOCK_ID_ASC', - ChildrenSumUpdatedBlockIdDesc = 'CHILDREN_SUM_UPDATED_BLOCK_ID_DESC', - ChildrenVariancePopulationChildIdAsc = 'CHILDREN_VARIANCE_POPULATION_CHILD_ID_ASC', - ChildrenVariancePopulationChildIdDesc = 'CHILDREN_VARIANCE_POPULATION_CHILD_ID_DESC', - ChildrenVariancePopulationCreatedAtAsc = 'CHILDREN_VARIANCE_POPULATION_CREATED_AT_ASC', - ChildrenVariancePopulationCreatedAtDesc = 'CHILDREN_VARIANCE_POPULATION_CREATED_AT_DESC', - ChildrenVariancePopulationCreatedBlockIdAsc = 'CHILDREN_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - ChildrenVariancePopulationCreatedBlockIdDesc = 'CHILDREN_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - ChildrenVariancePopulationIdAsc = 'CHILDREN_VARIANCE_POPULATION_ID_ASC', - ChildrenVariancePopulationIdDesc = 'CHILDREN_VARIANCE_POPULATION_ID_DESC', - ChildrenVariancePopulationParentIdAsc = 'CHILDREN_VARIANCE_POPULATION_PARENT_ID_ASC', - ChildrenVariancePopulationParentIdDesc = 'CHILDREN_VARIANCE_POPULATION_PARENT_ID_DESC', - ChildrenVariancePopulationUpdatedAtAsc = 'CHILDREN_VARIANCE_POPULATION_UPDATED_AT_ASC', - ChildrenVariancePopulationUpdatedAtDesc = 'CHILDREN_VARIANCE_POPULATION_UPDATED_AT_DESC', - ChildrenVariancePopulationUpdatedBlockIdAsc = 'CHILDREN_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - ChildrenVariancePopulationUpdatedBlockIdDesc = 'CHILDREN_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - ChildrenVarianceSampleChildIdAsc = 'CHILDREN_VARIANCE_SAMPLE_CHILD_ID_ASC', - ChildrenVarianceSampleChildIdDesc = 'CHILDREN_VARIANCE_SAMPLE_CHILD_ID_DESC', - ChildrenVarianceSampleCreatedAtAsc = 'CHILDREN_VARIANCE_SAMPLE_CREATED_AT_ASC', - ChildrenVarianceSampleCreatedAtDesc = 'CHILDREN_VARIANCE_SAMPLE_CREATED_AT_DESC', - ChildrenVarianceSampleCreatedBlockIdAsc = 'CHILDREN_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - ChildrenVarianceSampleCreatedBlockIdDesc = 'CHILDREN_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - ChildrenVarianceSampleIdAsc = 'CHILDREN_VARIANCE_SAMPLE_ID_ASC', - ChildrenVarianceSampleIdDesc = 'CHILDREN_VARIANCE_SAMPLE_ID_DESC', - ChildrenVarianceSampleParentIdAsc = 'CHILDREN_VARIANCE_SAMPLE_PARENT_ID_ASC', - ChildrenVarianceSampleParentIdDesc = 'CHILDREN_VARIANCE_SAMPLE_PARENT_ID_DESC', - ChildrenVarianceSampleUpdatedAtAsc = 'CHILDREN_VARIANCE_SAMPLE_UPDATED_AT_ASC', - ChildrenVarianceSampleUpdatedAtDesc = 'CHILDREN_VARIANCE_SAMPLE_UPDATED_AT_DESC', - ChildrenVarianceSampleUpdatedBlockIdAsc = 'CHILDREN_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - ChildrenVarianceSampleUpdatedBlockIdDesc = 'CHILDREN_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - ClaimsByIssuerIdAverageCddIdAsc = 'CLAIMS_BY_ISSUER_ID_AVERAGE_CDD_ID_ASC', - ClaimsByIssuerIdAverageCddIdDesc = 'CLAIMS_BY_ISSUER_ID_AVERAGE_CDD_ID_DESC', - ClaimsByIssuerIdAverageCreatedAtAsc = 'CLAIMS_BY_ISSUER_ID_AVERAGE_CREATED_AT_ASC', - ClaimsByIssuerIdAverageCreatedAtDesc = 'CLAIMS_BY_ISSUER_ID_AVERAGE_CREATED_AT_DESC', - ClaimsByIssuerIdAverageCreatedBlockIdAsc = 'CLAIMS_BY_ISSUER_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - ClaimsByIssuerIdAverageCreatedBlockIdDesc = 'CLAIMS_BY_ISSUER_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - ClaimsByIssuerIdAverageCustomClaimTypeIdAsc = 'CLAIMS_BY_ISSUER_ID_AVERAGE_CUSTOM_CLAIM_TYPE_ID_ASC', - ClaimsByIssuerIdAverageCustomClaimTypeIdDesc = 'CLAIMS_BY_ISSUER_ID_AVERAGE_CUSTOM_CLAIM_TYPE_ID_DESC', - ClaimsByIssuerIdAverageEventIdxAsc = 'CLAIMS_BY_ISSUER_ID_AVERAGE_EVENT_IDX_ASC', - ClaimsByIssuerIdAverageEventIdxDesc = 'CLAIMS_BY_ISSUER_ID_AVERAGE_EVENT_IDX_DESC', - ClaimsByIssuerIdAverageExpiryAsc = 'CLAIMS_BY_ISSUER_ID_AVERAGE_EXPIRY_ASC', - ClaimsByIssuerIdAverageExpiryDesc = 'CLAIMS_BY_ISSUER_ID_AVERAGE_EXPIRY_DESC', - ClaimsByIssuerIdAverageFilterExpiryAsc = 'CLAIMS_BY_ISSUER_ID_AVERAGE_FILTER_EXPIRY_ASC', - ClaimsByIssuerIdAverageFilterExpiryDesc = 'CLAIMS_BY_ISSUER_ID_AVERAGE_FILTER_EXPIRY_DESC', - ClaimsByIssuerIdAverageIdAsc = 'CLAIMS_BY_ISSUER_ID_AVERAGE_ID_ASC', - ClaimsByIssuerIdAverageIdDesc = 'CLAIMS_BY_ISSUER_ID_AVERAGE_ID_DESC', - ClaimsByIssuerIdAverageIssuanceDateAsc = 'CLAIMS_BY_ISSUER_ID_AVERAGE_ISSUANCE_DATE_ASC', - ClaimsByIssuerIdAverageIssuanceDateDesc = 'CLAIMS_BY_ISSUER_ID_AVERAGE_ISSUANCE_DATE_DESC', - ClaimsByIssuerIdAverageIssuerIdAsc = 'CLAIMS_BY_ISSUER_ID_AVERAGE_ISSUER_ID_ASC', - ClaimsByIssuerIdAverageIssuerIdDesc = 'CLAIMS_BY_ISSUER_ID_AVERAGE_ISSUER_ID_DESC', - ClaimsByIssuerIdAverageJurisdictionAsc = 'CLAIMS_BY_ISSUER_ID_AVERAGE_JURISDICTION_ASC', - ClaimsByIssuerIdAverageJurisdictionDesc = 'CLAIMS_BY_ISSUER_ID_AVERAGE_JURISDICTION_DESC', - ClaimsByIssuerIdAverageLastUpdateDateAsc = 'CLAIMS_BY_ISSUER_ID_AVERAGE_LAST_UPDATE_DATE_ASC', - ClaimsByIssuerIdAverageLastUpdateDateDesc = 'CLAIMS_BY_ISSUER_ID_AVERAGE_LAST_UPDATE_DATE_DESC', - ClaimsByIssuerIdAverageRevokeDateAsc = 'CLAIMS_BY_ISSUER_ID_AVERAGE_REVOKE_DATE_ASC', - ClaimsByIssuerIdAverageRevokeDateDesc = 'CLAIMS_BY_ISSUER_ID_AVERAGE_REVOKE_DATE_DESC', - ClaimsByIssuerIdAverageScopeAsc = 'CLAIMS_BY_ISSUER_ID_AVERAGE_SCOPE_ASC', - ClaimsByIssuerIdAverageScopeDesc = 'CLAIMS_BY_ISSUER_ID_AVERAGE_SCOPE_DESC', - ClaimsByIssuerIdAverageTargetIdAsc = 'CLAIMS_BY_ISSUER_ID_AVERAGE_TARGET_ID_ASC', - ClaimsByIssuerIdAverageTargetIdDesc = 'CLAIMS_BY_ISSUER_ID_AVERAGE_TARGET_ID_DESC', - ClaimsByIssuerIdAverageTypeAsc = 'CLAIMS_BY_ISSUER_ID_AVERAGE_TYPE_ASC', - ClaimsByIssuerIdAverageTypeDesc = 'CLAIMS_BY_ISSUER_ID_AVERAGE_TYPE_DESC', - ClaimsByIssuerIdAverageUpdatedAtAsc = 'CLAIMS_BY_ISSUER_ID_AVERAGE_UPDATED_AT_ASC', - ClaimsByIssuerIdAverageUpdatedAtDesc = 'CLAIMS_BY_ISSUER_ID_AVERAGE_UPDATED_AT_DESC', - ClaimsByIssuerIdAverageUpdatedBlockIdAsc = 'CLAIMS_BY_ISSUER_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - ClaimsByIssuerIdAverageUpdatedBlockIdDesc = 'CLAIMS_BY_ISSUER_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - ClaimsByIssuerIdCountAsc = 'CLAIMS_BY_ISSUER_ID_COUNT_ASC', - ClaimsByIssuerIdCountDesc = 'CLAIMS_BY_ISSUER_ID_COUNT_DESC', - ClaimsByIssuerIdDistinctCountCddIdAsc = 'CLAIMS_BY_ISSUER_ID_DISTINCT_COUNT_CDD_ID_ASC', - ClaimsByIssuerIdDistinctCountCddIdDesc = 'CLAIMS_BY_ISSUER_ID_DISTINCT_COUNT_CDD_ID_DESC', - ClaimsByIssuerIdDistinctCountCreatedAtAsc = 'CLAIMS_BY_ISSUER_ID_DISTINCT_COUNT_CREATED_AT_ASC', - ClaimsByIssuerIdDistinctCountCreatedAtDesc = 'CLAIMS_BY_ISSUER_ID_DISTINCT_COUNT_CREATED_AT_DESC', - ClaimsByIssuerIdDistinctCountCreatedBlockIdAsc = 'CLAIMS_BY_ISSUER_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - ClaimsByIssuerIdDistinctCountCreatedBlockIdDesc = 'CLAIMS_BY_ISSUER_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - ClaimsByIssuerIdDistinctCountCustomClaimTypeIdAsc = 'CLAIMS_BY_ISSUER_ID_DISTINCT_COUNT_CUSTOM_CLAIM_TYPE_ID_ASC', - ClaimsByIssuerIdDistinctCountCustomClaimTypeIdDesc = 'CLAIMS_BY_ISSUER_ID_DISTINCT_COUNT_CUSTOM_CLAIM_TYPE_ID_DESC', - ClaimsByIssuerIdDistinctCountEventIdxAsc = 'CLAIMS_BY_ISSUER_ID_DISTINCT_COUNT_EVENT_IDX_ASC', - ClaimsByIssuerIdDistinctCountEventIdxDesc = 'CLAIMS_BY_ISSUER_ID_DISTINCT_COUNT_EVENT_IDX_DESC', - ClaimsByIssuerIdDistinctCountExpiryAsc = 'CLAIMS_BY_ISSUER_ID_DISTINCT_COUNT_EXPIRY_ASC', - ClaimsByIssuerIdDistinctCountExpiryDesc = 'CLAIMS_BY_ISSUER_ID_DISTINCT_COUNT_EXPIRY_DESC', - ClaimsByIssuerIdDistinctCountFilterExpiryAsc = 'CLAIMS_BY_ISSUER_ID_DISTINCT_COUNT_FILTER_EXPIRY_ASC', - ClaimsByIssuerIdDistinctCountFilterExpiryDesc = 'CLAIMS_BY_ISSUER_ID_DISTINCT_COUNT_FILTER_EXPIRY_DESC', - ClaimsByIssuerIdDistinctCountIdAsc = 'CLAIMS_BY_ISSUER_ID_DISTINCT_COUNT_ID_ASC', - ClaimsByIssuerIdDistinctCountIdDesc = 'CLAIMS_BY_ISSUER_ID_DISTINCT_COUNT_ID_DESC', - ClaimsByIssuerIdDistinctCountIssuanceDateAsc = 'CLAIMS_BY_ISSUER_ID_DISTINCT_COUNT_ISSUANCE_DATE_ASC', - ClaimsByIssuerIdDistinctCountIssuanceDateDesc = 'CLAIMS_BY_ISSUER_ID_DISTINCT_COUNT_ISSUANCE_DATE_DESC', - ClaimsByIssuerIdDistinctCountIssuerIdAsc = 'CLAIMS_BY_ISSUER_ID_DISTINCT_COUNT_ISSUER_ID_ASC', - ClaimsByIssuerIdDistinctCountIssuerIdDesc = 'CLAIMS_BY_ISSUER_ID_DISTINCT_COUNT_ISSUER_ID_DESC', - ClaimsByIssuerIdDistinctCountJurisdictionAsc = 'CLAIMS_BY_ISSUER_ID_DISTINCT_COUNT_JURISDICTION_ASC', - ClaimsByIssuerIdDistinctCountJurisdictionDesc = 'CLAIMS_BY_ISSUER_ID_DISTINCT_COUNT_JURISDICTION_DESC', - ClaimsByIssuerIdDistinctCountLastUpdateDateAsc = 'CLAIMS_BY_ISSUER_ID_DISTINCT_COUNT_LAST_UPDATE_DATE_ASC', - ClaimsByIssuerIdDistinctCountLastUpdateDateDesc = 'CLAIMS_BY_ISSUER_ID_DISTINCT_COUNT_LAST_UPDATE_DATE_DESC', - ClaimsByIssuerIdDistinctCountRevokeDateAsc = 'CLAIMS_BY_ISSUER_ID_DISTINCT_COUNT_REVOKE_DATE_ASC', - ClaimsByIssuerIdDistinctCountRevokeDateDesc = 'CLAIMS_BY_ISSUER_ID_DISTINCT_COUNT_REVOKE_DATE_DESC', - ClaimsByIssuerIdDistinctCountScopeAsc = 'CLAIMS_BY_ISSUER_ID_DISTINCT_COUNT_SCOPE_ASC', - ClaimsByIssuerIdDistinctCountScopeDesc = 'CLAIMS_BY_ISSUER_ID_DISTINCT_COUNT_SCOPE_DESC', - ClaimsByIssuerIdDistinctCountTargetIdAsc = 'CLAIMS_BY_ISSUER_ID_DISTINCT_COUNT_TARGET_ID_ASC', - ClaimsByIssuerIdDistinctCountTargetIdDesc = 'CLAIMS_BY_ISSUER_ID_DISTINCT_COUNT_TARGET_ID_DESC', - ClaimsByIssuerIdDistinctCountTypeAsc = 'CLAIMS_BY_ISSUER_ID_DISTINCT_COUNT_TYPE_ASC', - ClaimsByIssuerIdDistinctCountTypeDesc = 'CLAIMS_BY_ISSUER_ID_DISTINCT_COUNT_TYPE_DESC', - ClaimsByIssuerIdDistinctCountUpdatedAtAsc = 'CLAIMS_BY_ISSUER_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - ClaimsByIssuerIdDistinctCountUpdatedAtDesc = 'CLAIMS_BY_ISSUER_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - ClaimsByIssuerIdDistinctCountUpdatedBlockIdAsc = 'CLAIMS_BY_ISSUER_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - ClaimsByIssuerIdDistinctCountUpdatedBlockIdDesc = 'CLAIMS_BY_ISSUER_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - ClaimsByIssuerIdMaxCddIdAsc = 'CLAIMS_BY_ISSUER_ID_MAX_CDD_ID_ASC', - ClaimsByIssuerIdMaxCddIdDesc = 'CLAIMS_BY_ISSUER_ID_MAX_CDD_ID_DESC', - ClaimsByIssuerIdMaxCreatedAtAsc = 'CLAIMS_BY_ISSUER_ID_MAX_CREATED_AT_ASC', - ClaimsByIssuerIdMaxCreatedAtDesc = 'CLAIMS_BY_ISSUER_ID_MAX_CREATED_AT_DESC', - ClaimsByIssuerIdMaxCreatedBlockIdAsc = 'CLAIMS_BY_ISSUER_ID_MAX_CREATED_BLOCK_ID_ASC', - ClaimsByIssuerIdMaxCreatedBlockIdDesc = 'CLAIMS_BY_ISSUER_ID_MAX_CREATED_BLOCK_ID_DESC', - ClaimsByIssuerIdMaxCustomClaimTypeIdAsc = 'CLAIMS_BY_ISSUER_ID_MAX_CUSTOM_CLAIM_TYPE_ID_ASC', - ClaimsByIssuerIdMaxCustomClaimTypeIdDesc = 'CLAIMS_BY_ISSUER_ID_MAX_CUSTOM_CLAIM_TYPE_ID_DESC', - ClaimsByIssuerIdMaxEventIdxAsc = 'CLAIMS_BY_ISSUER_ID_MAX_EVENT_IDX_ASC', - ClaimsByIssuerIdMaxEventIdxDesc = 'CLAIMS_BY_ISSUER_ID_MAX_EVENT_IDX_DESC', - ClaimsByIssuerIdMaxExpiryAsc = 'CLAIMS_BY_ISSUER_ID_MAX_EXPIRY_ASC', - ClaimsByIssuerIdMaxExpiryDesc = 'CLAIMS_BY_ISSUER_ID_MAX_EXPIRY_DESC', - ClaimsByIssuerIdMaxFilterExpiryAsc = 'CLAIMS_BY_ISSUER_ID_MAX_FILTER_EXPIRY_ASC', - ClaimsByIssuerIdMaxFilterExpiryDesc = 'CLAIMS_BY_ISSUER_ID_MAX_FILTER_EXPIRY_DESC', - ClaimsByIssuerIdMaxIdAsc = 'CLAIMS_BY_ISSUER_ID_MAX_ID_ASC', - ClaimsByIssuerIdMaxIdDesc = 'CLAIMS_BY_ISSUER_ID_MAX_ID_DESC', - ClaimsByIssuerIdMaxIssuanceDateAsc = 'CLAIMS_BY_ISSUER_ID_MAX_ISSUANCE_DATE_ASC', - ClaimsByIssuerIdMaxIssuanceDateDesc = 'CLAIMS_BY_ISSUER_ID_MAX_ISSUANCE_DATE_DESC', - ClaimsByIssuerIdMaxIssuerIdAsc = 'CLAIMS_BY_ISSUER_ID_MAX_ISSUER_ID_ASC', - ClaimsByIssuerIdMaxIssuerIdDesc = 'CLAIMS_BY_ISSUER_ID_MAX_ISSUER_ID_DESC', - ClaimsByIssuerIdMaxJurisdictionAsc = 'CLAIMS_BY_ISSUER_ID_MAX_JURISDICTION_ASC', - ClaimsByIssuerIdMaxJurisdictionDesc = 'CLAIMS_BY_ISSUER_ID_MAX_JURISDICTION_DESC', - ClaimsByIssuerIdMaxLastUpdateDateAsc = 'CLAIMS_BY_ISSUER_ID_MAX_LAST_UPDATE_DATE_ASC', - ClaimsByIssuerIdMaxLastUpdateDateDesc = 'CLAIMS_BY_ISSUER_ID_MAX_LAST_UPDATE_DATE_DESC', - ClaimsByIssuerIdMaxRevokeDateAsc = 'CLAIMS_BY_ISSUER_ID_MAX_REVOKE_DATE_ASC', - ClaimsByIssuerIdMaxRevokeDateDesc = 'CLAIMS_BY_ISSUER_ID_MAX_REVOKE_DATE_DESC', - ClaimsByIssuerIdMaxScopeAsc = 'CLAIMS_BY_ISSUER_ID_MAX_SCOPE_ASC', - ClaimsByIssuerIdMaxScopeDesc = 'CLAIMS_BY_ISSUER_ID_MAX_SCOPE_DESC', - ClaimsByIssuerIdMaxTargetIdAsc = 'CLAIMS_BY_ISSUER_ID_MAX_TARGET_ID_ASC', - ClaimsByIssuerIdMaxTargetIdDesc = 'CLAIMS_BY_ISSUER_ID_MAX_TARGET_ID_DESC', - ClaimsByIssuerIdMaxTypeAsc = 'CLAIMS_BY_ISSUER_ID_MAX_TYPE_ASC', - ClaimsByIssuerIdMaxTypeDesc = 'CLAIMS_BY_ISSUER_ID_MAX_TYPE_DESC', - ClaimsByIssuerIdMaxUpdatedAtAsc = 'CLAIMS_BY_ISSUER_ID_MAX_UPDATED_AT_ASC', - ClaimsByIssuerIdMaxUpdatedAtDesc = 'CLAIMS_BY_ISSUER_ID_MAX_UPDATED_AT_DESC', - ClaimsByIssuerIdMaxUpdatedBlockIdAsc = 'CLAIMS_BY_ISSUER_ID_MAX_UPDATED_BLOCK_ID_ASC', - ClaimsByIssuerIdMaxUpdatedBlockIdDesc = 'CLAIMS_BY_ISSUER_ID_MAX_UPDATED_BLOCK_ID_DESC', - ClaimsByIssuerIdMinCddIdAsc = 'CLAIMS_BY_ISSUER_ID_MIN_CDD_ID_ASC', - ClaimsByIssuerIdMinCddIdDesc = 'CLAIMS_BY_ISSUER_ID_MIN_CDD_ID_DESC', - ClaimsByIssuerIdMinCreatedAtAsc = 'CLAIMS_BY_ISSUER_ID_MIN_CREATED_AT_ASC', - ClaimsByIssuerIdMinCreatedAtDesc = 'CLAIMS_BY_ISSUER_ID_MIN_CREATED_AT_DESC', - ClaimsByIssuerIdMinCreatedBlockIdAsc = 'CLAIMS_BY_ISSUER_ID_MIN_CREATED_BLOCK_ID_ASC', - ClaimsByIssuerIdMinCreatedBlockIdDesc = 'CLAIMS_BY_ISSUER_ID_MIN_CREATED_BLOCK_ID_DESC', - ClaimsByIssuerIdMinCustomClaimTypeIdAsc = 'CLAIMS_BY_ISSUER_ID_MIN_CUSTOM_CLAIM_TYPE_ID_ASC', - ClaimsByIssuerIdMinCustomClaimTypeIdDesc = 'CLAIMS_BY_ISSUER_ID_MIN_CUSTOM_CLAIM_TYPE_ID_DESC', - ClaimsByIssuerIdMinEventIdxAsc = 'CLAIMS_BY_ISSUER_ID_MIN_EVENT_IDX_ASC', - ClaimsByIssuerIdMinEventIdxDesc = 'CLAIMS_BY_ISSUER_ID_MIN_EVENT_IDX_DESC', - ClaimsByIssuerIdMinExpiryAsc = 'CLAIMS_BY_ISSUER_ID_MIN_EXPIRY_ASC', - ClaimsByIssuerIdMinExpiryDesc = 'CLAIMS_BY_ISSUER_ID_MIN_EXPIRY_DESC', - ClaimsByIssuerIdMinFilterExpiryAsc = 'CLAIMS_BY_ISSUER_ID_MIN_FILTER_EXPIRY_ASC', - ClaimsByIssuerIdMinFilterExpiryDesc = 'CLAIMS_BY_ISSUER_ID_MIN_FILTER_EXPIRY_DESC', - ClaimsByIssuerIdMinIdAsc = 'CLAIMS_BY_ISSUER_ID_MIN_ID_ASC', - ClaimsByIssuerIdMinIdDesc = 'CLAIMS_BY_ISSUER_ID_MIN_ID_DESC', - ClaimsByIssuerIdMinIssuanceDateAsc = 'CLAIMS_BY_ISSUER_ID_MIN_ISSUANCE_DATE_ASC', - ClaimsByIssuerIdMinIssuanceDateDesc = 'CLAIMS_BY_ISSUER_ID_MIN_ISSUANCE_DATE_DESC', - ClaimsByIssuerIdMinIssuerIdAsc = 'CLAIMS_BY_ISSUER_ID_MIN_ISSUER_ID_ASC', - ClaimsByIssuerIdMinIssuerIdDesc = 'CLAIMS_BY_ISSUER_ID_MIN_ISSUER_ID_DESC', - ClaimsByIssuerIdMinJurisdictionAsc = 'CLAIMS_BY_ISSUER_ID_MIN_JURISDICTION_ASC', - ClaimsByIssuerIdMinJurisdictionDesc = 'CLAIMS_BY_ISSUER_ID_MIN_JURISDICTION_DESC', - ClaimsByIssuerIdMinLastUpdateDateAsc = 'CLAIMS_BY_ISSUER_ID_MIN_LAST_UPDATE_DATE_ASC', - ClaimsByIssuerIdMinLastUpdateDateDesc = 'CLAIMS_BY_ISSUER_ID_MIN_LAST_UPDATE_DATE_DESC', - ClaimsByIssuerIdMinRevokeDateAsc = 'CLAIMS_BY_ISSUER_ID_MIN_REVOKE_DATE_ASC', - ClaimsByIssuerIdMinRevokeDateDesc = 'CLAIMS_BY_ISSUER_ID_MIN_REVOKE_DATE_DESC', - ClaimsByIssuerIdMinScopeAsc = 'CLAIMS_BY_ISSUER_ID_MIN_SCOPE_ASC', - ClaimsByIssuerIdMinScopeDesc = 'CLAIMS_BY_ISSUER_ID_MIN_SCOPE_DESC', - ClaimsByIssuerIdMinTargetIdAsc = 'CLAIMS_BY_ISSUER_ID_MIN_TARGET_ID_ASC', - ClaimsByIssuerIdMinTargetIdDesc = 'CLAIMS_BY_ISSUER_ID_MIN_TARGET_ID_DESC', - ClaimsByIssuerIdMinTypeAsc = 'CLAIMS_BY_ISSUER_ID_MIN_TYPE_ASC', - ClaimsByIssuerIdMinTypeDesc = 'CLAIMS_BY_ISSUER_ID_MIN_TYPE_DESC', - ClaimsByIssuerIdMinUpdatedAtAsc = 'CLAIMS_BY_ISSUER_ID_MIN_UPDATED_AT_ASC', - ClaimsByIssuerIdMinUpdatedAtDesc = 'CLAIMS_BY_ISSUER_ID_MIN_UPDATED_AT_DESC', - ClaimsByIssuerIdMinUpdatedBlockIdAsc = 'CLAIMS_BY_ISSUER_ID_MIN_UPDATED_BLOCK_ID_ASC', - ClaimsByIssuerIdMinUpdatedBlockIdDesc = 'CLAIMS_BY_ISSUER_ID_MIN_UPDATED_BLOCK_ID_DESC', - ClaimsByIssuerIdStddevPopulationCddIdAsc = 'CLAIMS_BY_ISSUER_ID_STDDEV_POPULATION_CDD_ID_ASC', - ClaimsByIssuerIdStddevPopulationCddIdDesc = 'CLAIMS_BY_ISSUER_ID_STDDEV_POPULATION_CDD_ID_DESC', - ClaimsByIssuerIdStddevPopulationCreatedAtAsc = 'CLAIMS_BY_ISSUER_ID_STDDEV_POPULATION_CREATED_AT_ASC', - ClaimsByIssuerIdStddevPopulationCreatedAtDesc = 'CLAIMS_BY_ISSUER_ID_STDDEV_POPULATION_CREATED_AT_DESC', - ClaimsByIssuerIdStddevPopulationCreatedBlockIdAsc = 'CLAIMS_BY_ISSUER_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - ClaimsByIssuerIdStddevPopulationCreatedBlockIdDesc = 'CLAIMS_BY_ISSUER_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - ClaimsByIssuerIdStddevPopulationCustomClaimTypeIdAsc = 'CLAIMS_BY_ISSUER_ID_STDDEV_POPULATION_CUSTOM_CLAIM_TYPE_ID_ASC', - ClaimsByIssuerIdStddevPopulationCustomClaimTypeIdDesc = 'CLAIMS_BY_ISSUER_ID_STDDEV_POPULATION_CUSTOM_CLAIM_TYPE_ID_DESC', - ClaimsByIssuerIdStddevPopulationEventIdxAsc = 'CLAIMS_BY_ISSUER_ID_STDDEV_POPULATION_EVENT_IDX_ASC', - ClaimsByIssuerIdStddevPopulationEventIdxDesc = 'CLAIMS_BY_ISSUER_ID_STDDEV_POPULATION_EVENT_IDX_DESC', - ClaimsByIssuerIdStddevPopulationExpiryAsc = 'CLAIMS_BY_ISSUER_ID_STDDEV_POPULATION_EXPIRY_ASC', - ClaimsByIssuerIdStddevPopulationExpiryDesc = 'CLAIMS_BY_ISSUER_ID_STDDEV_POPULATION_EXPIRY_DESC', - ClaimsByIssuerIdStddevPopulationFilterExpiryAsc = 'CLAIMS_BY_ISSUER_ID_STDDEV_POPULATION_FILTER_EXPIRY_ASC', - ClaimsByIssuerIdStddevPopulationFilterExpiryDesc = 'CLAIMS_BY_ISSUER_ID_STDDEV_POPULATION_FILTER_EXPIRY_DESC', - ClaimsByIssuerIdStddevPopulationIdAsc = 'CLAIMS_BY_ISSUER_ID_STDDEV_POPULATION_ID_ASC', - ClaimsByIssuerIdStddevPopulationIdDesc = 'CLAIMS_BY_ISSUER_ID_STDDEV_POPULATION_ID_DESC', - ClaimsByIssuerIdStddevPopulationIssuanceDateAsc = 'CLAIMS_BY_ISSUER_ID_STDDEV_POPULATION_ISSUANCE_DATE_ASC', - ClaimsByIssuerIdStddevPopulationIssuanceDateDesc = 'CLAIMS_BY_ISSUER_ID_STDDEV_POPULATION_ISSUANCE_DATE_DESC', - ClaimsByIssuerIdStddevPopulationIssuerIdAsc = 'CLAIMS_BY_ISSUER_ID_STDDEV_POPULATION_ISSUER_ID_ASC', - ClaimsByIssuerIdStddevPopulationIssuerIdDesc = 'CLAIMS_BY_ISSUER_ID_STDDEV_POPULATION_ISSUER_ID_DESC', - ClaimsByIssuerIdStddevPopulationJurisdictionAsc = 'CLAIMS_BY_ISSUER_ID_STDDEV_POPULATION_JURISDICTION_ASC', - ClaimsByIssuerIdStddevPopulationJurisdictionDesc = 'CLAIMS_BY_ISSUER_ID_STDDEV_POPULATION_JURISDICTION_DESC', - ClaimsByIssuerIdStddevPopulationLastUpdateDateAsc = 'CLAIMS_BY_ISSUER_ID_STDDEV_POPULATION_LAST_UPDATE_DATE_ASC', - ClaimsByIssuerIdStddevPopulationLastUpdateDateDesc = 'CLAIMS_BY_ISSUER_ID_STDDEV_POPULATION_LAST_UPDATE_DATE_DESC', - ClaimsByIssuerIdStddevPopulationRevokeDateAsc = 'CLAIMS_BY_ISSUER_ID_STDDEV_POPULATION_REVOKE_DATE_ASC', - ClaimsByIssuerIdStddevPopulationRevokeDateDesc = 'CLAIMS_BY_ISSUER_ID_STDDEV_POPULATION_REVOKE_DATE_DESC', - ClaimsByIssuerIdStddevPopulationScopeAsc = 'CLAIMS_BY_ISSUER_ID_STDDEV_POPULATION_SCOPE_ASC', - ClaimsByIssuerIdStddevPopulationScopeDesc = 'CLAIMS_BY_ISSUER_ID_STDDEV_POPULATION_SCOPE_DESC', - ClaimsByIssuerIdStddevPopulationTargetIdAsc = 'CLAIMS_BY_ISSUER_ID_STDDEV_POPULATION_TARGET_ID_ASC', - ClaimsByIssuerIdStddevPopulationTargetIdDesc = 'CLAIMS_BY_ISSUER_ID_STDDEV_POPULATION_TARGET_ID_DESC', - ClaimsByIssuerIdStddevPopulationTypeAsc = 'CLAIMS_BY_ISSUER_ID_STDDEV_POPULATION_TYPE_ASC', - ClaimsByIssuerIdStddevPopulationTypeDesc = 'CLAIMS_BY_ISSUER_ID_STDDEV_POPULATION_TYPE_DESC', - ClaimsByIssuerIdStddevPopulationUpdatedAtAsc = 'CLAIMS_BY_ISSUER_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - ClaimsByIssuerIdStddevPopulationUpdatedAtDesc = 'CLAIMS_BY_ISSUER_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - ClaimsByIssuerIdStddevPopulationUpdatedBlockIdAsc = 'CLAIMS_BY_ISSUER_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - ClaimsByIssuerIdStddevPopulationUpdatedBlockIdDesc = 'CLAIMS_BY_ISSUER_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - ClaimsByIssuerIdStddevSampleCddIdAsc = 'CLAIMS_BY_ISSUER_ID_STDDEV_SAMPLE_CDD_ID_ASC', - ClaimsByIssuerIdStddevSampleCddIdDesc = 'CLAIMS_BY_ISSUER_ID_STDDEV_SAMPLE_CDD_ID_DESC', - ClaimsByIssuerIdStddevSampleCreatedAtAsc = 'CLAIMS_BY_ISSUER_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - ClaimsByIssuerIdStddevSampleCreatedAtDesc = 'CLAIMS_BY_ISSUER_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - ClaimsByIssuerIdStddevSampleCreatedBlockIdAsc = 'CLAIMS_BY_ISSUER_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - ClaimsByIssuerIdStddevSampleCreatedBlockIdDesc = 'CLAIMS_BY_ISSUER_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - ClaimsByIssuerIdStddevSampleCustomClaimTypeIdAsc = 'CLAIMS_BY_ISSUER_ID_STDDEV_SAMPLE_CUSTOM_CLAIM_TYPE_ID_ASC', - ClaimsByIssuerIdStddevSampleCustomClaimTypeIdDesc = 'CLAIMS_BY_ISSUER_ID_STDDEV_SAMPLE_CUSTOM_CLAIM_TYPE_ID_DESC', - ClaimsByIssuerIdStddevSampleEventIdxAsc = 'CLAIMS_BY_ISSUER_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', - ClaimsByIssuerIdStddevSampleEventIdxDesc = 'CLAIMS_BY_ISSUER_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', - ClaimsByIssuerIdStddevSampleExpiryAsc = 'CLAIMS_BY_ISSUER_ID_STDDEV_SAMPLE_EXPIRY_ASC', - ClaimsByIssuerIdStddevSampleExpiryDesc = 'CLAIMS_BY_ISSUER_ID_STDDEV_SAMPLE_EXPIRY_DESC', - ClaimsByIssuerIdStddevSampleFilterExpiryAsc = 'CLAIMS_BY_ISSUER_ID_STDDEV_SAMPLE_FILTER_EXPIRY_ASC', - ClaimsByIssuerIdStddevSampleFilterExpiryDesc = 'CLAIMS_BY_ISSUER_ID_STDDEV_SAMPLE_FILTER_EXPIRY_DESC', - ClaimsByIssuerIdStddevSampleIdAsc = 'CLAIMS_BY_ISSUER_ID_STDDEV_SAMPLE_ID_ASC', - ClaimsByIssuerIdStddevSampleIdDesc = 'CLAIMS_BY_ISSUER_ID_STDDEV_SAMPLE_ID_DESC', - ClaimsByIssuerIdStddevSampleIssuanceDateAsc = 'CLAIMS_BY_ISSUER_ID_STDDEV_SAMPLE_ISSUANCE_DATE_ASC', - ClaimsByIssuerIdStddevSampleIssuanceDateDesc = 'CLAIMS_BY_ISSUER_ID_STDDEV_SAMPLE_ISSUANCE_DATE_DESC', - ClaimsByIssuerIdStddevSampleIssuerIdAsc = 'CLAIMS_BY_ISSUER_ID_STDDEV_SAMPLE_ISSUER_ID_ASC', - ClaimsByIssuerIdStddevSampleIssuerIdDesc = 'CLAIMS_BY_ISSUER_ID_STDDEV_SAMPLE_ISSUER_ID_DESC', - ClaimsByIssuerIdStddevSampleJurisdictionAsc = 'CLAIMS_BY_ISSUER_ID_STDDEV_SAMPLE_JURISDICTION_ASC', - ClaimsByIssuerIdStddevSampleJurisdictionDesc = 'CLAIMS_BY_ISSUER_ID_STDDEV_SAMPLE_JURISDICTION_DESC', - ClaimsByIssuerIdStddevSampleLastUpdateDateAsc = 'CLAIMS_BY_ISSUER_ID_STDDEV_SAMPLE_LAST_UPDATE_DATE_ASC', - ClaimsByIssuerIdStddevSampleLastUpdateDateDesc = 'CLAIMS_BY_ISSUER_ID_STDDEV_SAMPLE_LAST_UPDATE_DATE_DESC', - ClaimsByIssuerIdStddevSampleRevokeDateAsc = 'CLAIMS_BY_ISSUER_ID_STDDEV_SAMPLE_REVOKE_DATE_ASC', - ClaimsByIssuerIdStddevSampleRevokeDateDesc = 'CLAIMS_BY_ISSUER_ID_STDDEV_SAMPLE_REVOKE_DATE_DESC', - ClaimsByIssuerIdStddevSampleScopeAsc = 'CLAIMS_BY_ISSUER_ID_STDDEV_SAMPLE_SCOPE_ASC', - ClaimsByIssuerIdStddevSampleScopeDesc = 'CLAIMS_BY_ISSUER_ID_STDDEV_SAMPLE_SCOPE_DESC', - ClaimsByIssuerIdStddevSampleTargetIdAsc = 'CLAIMS_BY_ISSUER_ID_STDDEV_SAMPLE_TARGET_ID_ASC', - ClaimsByIssuerIdStddevSampleTargetIdDesc = 'CLAIMS_BY_ISSUER_ID_STDDEV_SAMPLE_TARGET_ID_DESC', - ClaimsByIssuerIdStddevSampleTypeAsc = 'CLAIMS_BY_ISSUER_ID_STDDEV_SAMPLE_TYPE_ASC', - ClaimsByIssuerIdStddevSampleTypeDesc = 'CLAIMS_BY_ISSUER_ID_STDDEV_SAMPLE_TYPE_DESC', - ClaimsByIssuerIdStddevSampleUpdatedAtAsc = 'CLAIMS_BY_ISSUER_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - ClaimsByIssuerIdStddevSampleUpdatedAtDesc = 'CLAIMS_BY_ISSUER_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - ClaimsByIssuerIdStddevSampleUpdatedBlockIdAsc = 'CLAIMS_BY_ISSUER_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - ClaimsByIssuerIdStddevSampleUpdatedBlockIdDesc = 'CLAIMS_BY_ISSUER_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - ClaimsByIssuerIdSumCddIdAsc = 'CLAIMS_BY_ISSUER_ID_SUM_CDD_ID_ASC', - ClaimsByIssuerIdSumCddIdDesc = 'CLAIMS_BY_ISSUER_ID_SUM_CDD_ID_DESC', - ClaimsByIssuerIdSumCreatedAtAsc = 'CLAIMS_BY_ISSUER_ID_SUM_CREATED_AT_ASC', - ClaimsByIssuerIdSumCreatedAtDesc = 'CLAIMS_BY_ISSUER_ID_SUM_CREATED_AT_DESC', - ClaimsByIssuerIdSumCreatedBlockIdAsc = 'CLAIMS_BY_ISSUER_ID_SUM_CREATED_BLOCK_ID_ASC', - ClaimsByIssuerIdSumCreatedBlockIdDesc = 'CLAIMS_BY_ISSUER_ID_SUM_CREATED_BLOCK_ID_DESC', - ClaimsByIssuerIdSumCustomClaimTypeIdAsc = 'CLAIMS_BY_ISSUER_ID_SUM_CUSTOM_CLAIM_TYPE_ID_ASC', - ClaimsByIssuerIdSumCustomClaimTypeIdDesc = 'CLAIMS_BY_ISSUER_ID_SUM_CUSTOM_CLAIM_TYPE_ID_DESC', - ClaimsByIssuerIdSumEventIdxAsc = 'CLAIMS_BY_ISSUER_ID_SUM_EVENT_IDX_ASC', - ClaimsByIssuerIdSumEventIdxDesc = 'CLAIMS_BY_ISSUER_ID_SUM_EVENT_IDX_DESC', - ClaimsByIssuerIdSumExpiryAsc = 'CLAIMS_BY_ISSUER_ID_SUM_EXPIRY_ASC', - ClaimsByIssuerIdSumExpiryDesc = 'CLAIMS_BY_ISSUER_ID_SUM_EXPIRY_DESC', - ClaimsByIssuerIdSumFilterExpiryAsc = 'CLAIMS_BY_ISSUER_ID_SUM_FILTER_EXPIRY_ASC', - ClaimsByIssuerIdSumFilterExpiryDesc = 'CLAIMS_BY_ISSUER_ID_SUM_FILTER_EXPIRY_DESC', - ClaimsByIssuerIdSumIdAsc = 'CLAIMS_BY_ISSUER_ID_SUM_ID_ASC', - ClaimsByIssuerIdSumIdDesc = 'CLAIMS_BY_ISSUER_ID_SUM_ID_DESC', - ClaimsByIssuerIdSumIssuanceDateAsc = 'CLAIMS_BY_ISSUER_ID_SUM_ISSUANCE_DATE_ASC', - ClaimsByIssuerIdSumIssuanceDateDesc = 'CLAIMS_BY_ISSUER_ID_SUM_ISSUANCE_DATE_DESC', - ClaimsByIssuerIdSumIssuerIdAsc = 'CLAIMS_BY_ISSUER_ID_SUM_ISSUER_ID_ASC', - ClaimsByIssuerIdSumIssuerIdDesc = 'CLAIMS_BY_ISSUER_ID_SUM_ISSUER_ID_DESC', - ClaimsByIssuerIdSumJurisdictionAsc = 'CLAIMS_BY_ISSUER_ID_SUM_JURISDICTION_ASC', - ClaimsByIssuerIdSumJurisdictionDesc = 'CLAIMS_BY_ISSUER_ID_SUM_JURISDICTION_DESC', - ClaimsByIssuerIdSumLastUpdateDateAsc = 'CLAIMS_BY_ISSUER_ID_SUM_LAST_UPDATE_DATE_ASC', - ClaimsByIssuerIdSumLastUpdateDateDesc = 'CLAIMS_BY_ISSUER_ID_SUM_LAST_UPDATE_DATE_DESC', - ClaimsByIssuerIdSumRevokeDateAsc = 'CLAIMS_BY_ISSUER_ID_SUM_REVOKE_DATE_ASC', - ClaimsByIssuerIdSumRevokeDateDesc = 'CLAIMS_BY_ISSUER_ID_SUM_REVOKE_DATE_DESC', - ClaimsByIssuerIdSumScopeAsc = 'CLAIMS_BY_ISSUER_ID_SUM_SCOPE_ASC', - ClaimsByIssuerIdSumScopeDesc = 'CLAIMS_BY_ISSUER_ID_SUM_SCOPE_DESC', - ClaimsByIssuerIdSumTargetIdAsc = 'CLAIMS_BY_ISSUER_ID_SUM_TARGET_ID_ASC', - ClaimsByIssuerIdSumTargetIdDesc = 'CLAIMS_BY_ISSUER_ID_SUM_TARGET_ID_DESC', - ClaimsByIssuerIdSumTypeAsc = 'CLAIMS_BY_ISSUER_ID_SUM_TYPE_ASC', - ClaimsByIssuerIdSumTypeDesc = 'CLAIMS_BY_ISSUER_ID_SUM_TYPE_DESC', - ClaimsByIssuerIdSumUpdatedAtAsc = 'CLAIMS_BY_ISSUER_ID_SUM_UPDATED_AT_ASC', - ClaimsByIssuerIdSumUpdatedAtDesc = 'CLAIMS_BY_ISSUER_ID_SUM_UPDATED_AT_DESC', - ClaimsByIssuerIdSumUpdatedBlockIdAsc = 'CLAIMS_BY_ISSUER_ID_SUM_UPDATED_BLOCK_ID_ASC', - ClaimsByIssuerIdSumUpdatedBlockIdDesc = 'CLAIMS_BY_ISSUER_ID_SUM_UPDATED_BLOCK_ID_DESC', - ClaimsByIssuerIdVariancePopulationCddIdAsc = 'CLAIMS_BY_ISSUER_ID_VARIANCE_POPULATION_CDD_ID_ASC', - ClaimsByIssuerIdVariancePopulationCddIdDesc = 'CLAIMS_BY_ISSUER_ID_VARIANCE_POPULATION_CDD_ID_DESC', - ClaimsByIssuerIdVariancePopulationCreatedAtAsc = 'CLAIMS_BY_ISSUER_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - ClaimsByIssuerIdVariancePopulationCreatedAtDesc = 'CLAIMS_BY_ISSUER_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - ClaimsByIssuerIdVariancePopulationCreatedBlockIdAsc = 'CLAIMS_BY_ISSUER_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - ClaimsByIssuerIdVariancePopulationCreatedBlockIdDesc = 'CLAIMS_BY_ISSUER_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - ClaimsByIssuerIdVariancePopulationCustomClaimTypeIdAsc = 'CLAIMS_BY_ISSUER_ID_VARIANCE_POPULATION_CUSTOM_CLAIM_TYPE_ID_ASC', - ClaimsByIssuerIdVariancePopulationCustomClaimTypeIdDesc = 'CLAIMS_BY_ISSUER_ID_VARIANCE_POPULATION_CUSTOM_CLAIM_TYPE_ID_DESC', - ClaimsByIssuerIdVariancePopulationEventIdxAsc = 'CLAIMS_BY_ISSUER_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', - ClaimsByIssuerIdVariancePopulationEventIdxDesc = 'CLAIMS_BY_ISSUER_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', - ClaimsByIssuerIdVariancePopulationExpiryAsc = 'CLAIMS_BY_ISSUER_ID_VARIANCE_POPULATION_EXPIRY_ASC', - ClaimsByIssuerIdVariancePopulationExpiryDesc = 'CLAIMS_BY_ISSUER_ID_VARIANCE_POPULATION_EXPIRY_DESC', - ClaimsByIssuerIdVariancePopulationFilterExpiryAsc = 'CLAIMS_BY_ISSUER_ID_VARIANCE_POPULATION_FILTER_EXPIRY_ASC', - ClaimsByIssuerIdVariancePopulationFilterExpiryDesc = 'CLAIMS_BY_ISSUER_ID_VARIANCE_POPULATION_FILTER_EXPIRY_DESC', - ClaimsByIssuerIdVariancePopulationIdAsc = 'CLAIMS_BY_ISSUER_ID_VARIANCE_POPULATION_ID_ASC', - ClaimsByIssuerIdVariancePopulationIdDesc = 'CLAIMS_BY_ISSUER_ID_VARIANCE_POPULATION_ID_DESC', - ClaimsByIssuerIdVariancePopulationIssuanceDateAsc = 'CLAIMS_BY_ISSUER_ID_VARIANCE_POPULATION_ISSUANCE_DATE_ASC', - ClaimsByIssuerIdVariancePopulationIssuanceDateDesc = 'CLAIMS_BY_ISSUER_ID_VARIANCE_POPULATION_ISSUANCE_DATE_DESC', - ClaimsByIssuerIdVariancePopulationIssuerIdAsc = 'CLAIMS_BY_ISSUER_ID_VARIANCE_POPULATION_ISSUER_ID_ASC', - ClaimsByIssuerIdVariancePopulationIssuerIdDesc = 'CLAIMS_BY_ISSUER_ID_VARIANCE_POPULATION_ISSUER_ID_DESC', - ClaimsByIssuerIdVariancePopulationJurisdictionAsc = 'CLAIMS_BY_ISSUER_ID_VARIANCE_POPULATION_JURISDICTION_ASC', - ClaimsByIssuerIdVariancePopulationJurisdictionDesc = 'CLAIMS_BY_ISSUER_ID_VARIANCE_POPULATION_JURISDICTION_DESC', - ClaimsByIssuerIdVariancePopulationLastUpdateDateAsc = 'CLAIMS_BY_ISSUER_ID_VARIANCE_POPULATION_LAST_UPDATE_DATE_ASC', - ClaimsByIssuerIdVariancePopulationLastUpdateDateDesc = 'CLAIMS_BY_ISSUER_ID_VARIANCE_POPULATION_LAST_UPDATE_DATE_DESC', - ClaimsByIssuerIdVariancePopulationRevokeDateAsc = 'CLAIMS_BY_ISSUER_ID_VARIANCE_POPULATION_REVOKE_DATE_ASC', - ClaimsByIssuerIdVariancePopulationRevokeDateDesc = 'CLAIMS_BY_ISSUER_ID_VARIANCE_POPULATION_REVOKE_DATE_DESC', - ClaimsByIssuerIdVariancePopulationScopeAsc = 'CLAIMS_BY_ISSUER_ID_VARIANCE_POPULATION_SCOPE_ASC', - ClaimsByIssuerIdVariancePopulationScopeDesc = 'CLAIMS_BY_ISSUER_ID_VARIANCE_POPULATION_SCOPE_DESC', - ClaimsByIssuerIdVariancePopulationTargetIdAsc = 'CLAIMS_BY_ISSUER_ID_VARIANCE_POPULATION_TARGET_ID_ASC', - ClaimsByIssuerIdVariancePopulationTargetIdDesc = 'CLAIMS_BY_ISSUER_ID_VARIANCE_POPULATION_TARGET_ID_DESC', - ClaimsByIssuerIdVariancePopulationTypeAsc = 'CLAIMS_BY_ISSUER_ID_VARIANCE_POPULATION_TYPE_ASC', - ClaimsByIssuerIdVariancePopulationTypeDesc = 'CLAIMS_BY_ISSUER_ID_VARIANCE_POPULATION_TYPE_DESC', - ClaimsByIssuerIdVariancePopulationUpdatedAtAsc = 'CLAIMS_BY_ISSUER_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - ClaimsByIssuerIdVariancePopulationUpdatedAtDesc = 'CLAIMS_BY_ISSUER_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - ClaimsByIssuerIdVariancePopulationUpdatedBlockIdAsc = 'CLAIMS_BY_ISSUER_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - ClaimsByIssuerIdVariancePopulationUpdatedBlockIdDesc = 'CLAIMS_BY_ISSUER_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - ClaimsByIssuerIdVarianceSampleCddIdAsc = 'CLAIMS_BY_ISSUER_ID_VARIANCE_SAMPLE_CDD_ID_ASC', - ClaimsByIssuerIdVarianceSampleCddIdDesc = 'CLAIMS_BY_ISSUER_ID_VARIANCE_SAMPLE_CDD_ID_DESC', - ClaimsByIssuerIdVarianceSampleCreatedAtAsc = 'CLAIMS_BY_ISSUER_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - ClaimsByIssuerIdVarianceSampleCreatedAtDesc = 'CLAIMS_BY_ISSUER_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - ClaimsByIssuerIdVarianceSampleCreatedBlockIdAsc = 'CLAIMS_BY_ISSUER_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - ClaimsByIssuerIdVarianceSampleCreatedBlockIdDesc = 'CLAIMS_BY_ISSUER_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - ClaimsByIssuerIdVarianceSampleCustomClaimTypeIdAsc = 'CLAIMS_BY_ISSUER_ID_VARIANCE_SAMPLE_CUSTOM_CLAIM_TYPE_ID_ASC', - ClaimsByIssuerIdVarianceSampleCustomClaimTypeIdDesc = 'CLAIMS_BY_ISSUER_ID_VARIANCE_SAMPLE_CUSTOM_CLAIM_TYPE_ID_DESC', - ClaimsByIssuerIdVarianceSampleEventIdxAsc = 'CLAIMS_BY_ISSUER_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', - ClaimsByIssuerIdVarianceSampleEventIdxDesc = 'CLAIMS_BY_ISSUER_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', - ClaimsByIssuerIdVarianceSampleExpiryAsc = 'CLAIMS_BY_ISSUER_ID_VARIANCE_SAMPLE_EXPIRY_ASC', - ClaimsByIssuerIdVarianceSampleExpiryDesc = 'CLAIMS_BY_ISSUER_ID_VARIANCE_SAMPLE_EXPIRY_DESC', - ClaimsByIssuerIdVarianceSampleFilterExpiryAsc = 'CLAIMS_BY_ISSUER_ID_VARIANCE_SAMPLE_FILTER_EXPIRY_ASC', - ClaimsByIssuerIdVarianceSampleFilterExpiryDesc = 'CLAIMS_BY_ISSUER_ID_VARIANCE_SAMPLE_FILTER_EXPIRY_DESC', - ClaimsByIssuerIdVarianceSampleIdAsc = 'CLAIMS_BY_ISSUER_ID_VARIANCE_SAMPLE_ID_ASC', - ClaimsByIssuerIdVarianceSampleIdDesc = 'CLAIMS_BY_ISSUER_ID_VARIANCE_SAMPLE_ID_DESC', - ClaimsByIssuerIdVarianceSampleIssuanceDateAsc = 'CLAIMS_BY_ISSUER_ID_VARIANCE_SAMPLE_ISSUANCE_DATE_ASC', - ClaimsByIssuerIdVarianceSampleIssuanceDateDesc = 'CLAIMS_BY_ISSUER_ID_VARIANCE_SAMPLE_ISSUANCE_DATE_DESC', - ClaimsByIssuerIdVarianceSampleIssuerIdAsc = 'CLAIMS_BY_ISSUER_ID_VARIANCE_SAMPLE_ISSUER_ID_ASC', - ClaimsByIssuerIdVarianceSampleIssuerIdDesc = 'CLAIMS_BY_ISSUER_ID_VARIANCE_SAMPLE_ISSUER_ID_DESC', - ClaimsByIssuerIdVarianceSampleJurisdictionAsc = 'CLAIMS_BY_ISSUER_ID_VARIANCE_SAMPLE_JURISDICTION_ASC', - ClaimsByIssuerIdVarianceSampleJurisdictionDesc = 'CLAIMS_BY_ISSUER_ID_VARIANCE_SAMPLE_JURISDICTION_DESC', - ClaimsByIssuerIdVarianceSampleLastUpdateDateAsc = 'CLAIMS_BY_ISSUER_ID_VARIANCE_SAMPLE_LAST_UPDATE_DATE_ASC', - ClaimsByIssuerIdVarianceSampleLastUpdateDateDesc = 'CLAIMS_BY_ISSUER_ID_VARIANCE_SAMPLE_LAST_UPDATE_DATE_DESC', - ClaimsByIssuerIdVarianceSampleRevokeDateAsc = 'CLAIMS_BY_ISSUER_ID_VARIANCE_SAMPLE_REVOKE_DATE_ASC', - ClaimsByIssuerIdVarianceSampleRevokeDateDesc = 'CLAIMS_BY_ISSUER_ID_VARIANCE_SAMPLE_REVOKE_DATE_DESC', - ClaimsByIssuerIdVarianceSampleScopeAsc = 'CLAIMS_BY_ISSUER_ID_VARIANCE_SAMPLE_SCOPE_ASC', - ClaimsByIssuerIdVarianceSampleScopeDesc = 'CLAIMS_BY_ISSUER_ID_VARIANCE_SAMPLE_SCOPE_DESC', - ClaimsByIssuerIdVarianceSampleTargetIdAsc = 'CLAIMS_BY_ISSUER_ID_VARIANCE_SAMPLE_TARGET_ID_ASC', - ClaimsByIssuerIdVarianceSampleTargetIdDesc = 'CLAIMS_BY_ISSUER_ID_VARIANCE_SAMPLE_TARGET_ID_DESC', - ClaimsByIssuerIdVarianceSampleTypeAsc = 'CLAIMS_BY_ISSUER_ID_VARIANCE_SAMPLE_TYPE_ASC', - ClaimsByIssuerIdVarianceSampleTypeDesc = 'CLAIMS_BY_ISSUER_ID_VARIANCE_SAMPLE_TYPE_DESC', - ClaimsByIssuerIdVarianceSampleUpdatedAtAsc = 'CLAIMS_BY_ISSUER_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - ClaimsByIssuerIdVarianceSampleUpdatedAtDesc = 'CLAIMS_BY_ISSUER_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - ClaimsByIssuerIdVarianceSampleUpdatedBlockIdAsc = 'CLAIMS_BY_ISSUER_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - ClaimsByIssuerIdVarianceSampleUpdatedBlockIdDesc = 'CLAIMS_BY_ISSUER_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - ClaimsByTargetIdAverageCddIdAsc = 'CLAIMS_BY_TARGET_ID_AVERAGE_CDD_ID_ASC', - ClaimsByTargetIdAverageCddIdDesc = 'CLAIMS_BY_TARGET_ID_AVERAGE_CDD_ID_DESC', - ClaimsByTargetIdAverageCreatedAtAsc = 'CLAIMS_BY_TARGET_ID_AVERAGE_CREATED_AT_ASC', - ClaimsByTargetIdAverageCreatedAtDesc = 'CLAIMS_BY_TARGET_ID_AVERAGE_CREATED_AT_DESC', - ClaimsByTargetIdAverageCreatedBlockIdAsc = 'CLAIMS_BY_TARGET_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - ClaimsByTargetIdAverageCreatedBlockIdDesc = 'CLAIMS_BY_TARGET_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - ClaimsByTargetIdAverageCustomClaimTypeIdAsc = 'CLAIMS_BY_TARGET_ID_AVERAGE_CUSTOM_CLAIM_TYPE_ID_ASC', - ClaimsByTargetIdAverageCustomClaimTypeIdDesc = 'CLAIMS_BY_TARGET_ID_AVERAGE_CUSTOM_CLAIM_TYPE_ID_DESC', - ClaimsByTargetIdAverageEventIdxAsc = 'CLAIMS_BY_TARGET_ID_AVERAGE_EVENT_IDX_ASC', - ClaimsByTargetIdAverageEventIdxDesc = 'CLAIMS_BY_TARGET_ID_AVERAGE_EVENT_IDX_DESC', - ClaimsByTargetIdAverageExpiryAsc = 'CLAIMS_BY_TARGET_ID_AVERAGE_EXPIRY_ASC', - ClaimsByTargetIdAverageExpiryDesc = 'CLAIMS_BY_TARGET_ID_AVERAGE_EXPIRY_DESC', - ClaimsByTargetIdAverageFilterExpiryAsc = 'CLAIMS_BY_TARGET_ID_AVERAGE_FILTER_EXPIRY_ASC', - ClaimsByTargetIdAverageFilterExpiryDesc = 'CLAIMS_BY_TARGET_ID_AVERAGE_FILTER_EXPIRY_DESC', - ClaimsByTargetIdAverageIdAsc = 'CLAIMS_BY_TARGET_ID_AVERAGE_ID_ASC', - ClaimsByTargetIdAverageIdDesc = 'CLAIMS_BY_TARGET_ID_AVERAGE_ID_DESC', - ClaimsByTargetIdAverageIssuanceDateAsc = 'CLAIMS_BY_TARGET_ID_AVERAGE_ISSUANCE_DATE_ASC', - ClaimsByTargetIdAverageIssuanceDateDesc = 'CLAIMS_BY_TARGET_ID_AVERAGE_ISSUANCE_DATE_DESC', - ClaimsByTargetIdAverageIssuerIdAsc = 'CLAIMS_BY_TARGET_ID_AVERAGE_ISSUER_ID_ASC', - ClaimsByTargetIdAverageIssuerIdDesc = 'CLAIMS_BY_TARGET_ID_AVERAGE_ISSUER_ID_DESC', - ClaimsByTargetIdAverageJurisdictionAsc = 'CLAIMS_BY_TARGET_ID_AVERAGE_JURISDICTION_ASC', - ClaimsByTargetIdAverageJurisdictionDesc = 'CLAIMS_BY_TARGET_ID_AVERAGE_JURISDICTION_DESC', - ClaimsByTargetIdAverageLastUpdateDateAsc = 'CLAIMS_BY_TARGET_ID_AVERAGE_LAST_UPDATE_DATE_ASC', - ClaimsByTargetIdAverageLastUpdateDateDesc = 'CLAIMS_BY_TARGET_ID_AVERAGE_LAST_UPDATE_DATE_DESC', - ClaimsByTargetIdAverageRevokeDateAsc = 'CLAIMS_BY_TARGET_ID_AVERAGE_REVOKE_DATE_ASC', - ClaimsByTargetIdAverageRevokeDateDesc = 'CLAIMS_BY_TARGET_ID_AVERAGE_REVOKE_DATE_DESC', - ClaimsByTargetIdAverageScopeAsc = 'CLAIMS_BY_TARGET_ID_AVERAGE_SCOPE_ASC', - ClaimsByTargetIdAverageScopeDesc = 'CLAIMS_BY_TARGET_ID_AVERAGE_SCOPE_DESC', - ClaimsByTargetIdAverageTargetIdAsc = 'CLAIMS_BY_TARGET_ID_AVERAGE_TARGET_ID_ASC', - ClaimsByTargetIdAverageTargetIdDesc = 'CLAIMS_BY_TARGET_ID_AVERAGE_TARGET_ID_DESC', - ClaimsByTargetIdAverageTypeAsc = 'CLAIMS_BY_TARGET_ID_AVERAGE_TYPE_ASC', - ClaimsByTargetIdAverageTypeDesc = 'CLAIMS_BY_TARGET_ID_AVERAGE_TYPE_DESC', - ClaimsByTargetIdAverageUpdatedAtAsc = 'CLAIMS_BY_TARGET_ID_AVERAGE_UPDATED_AT_ASC', - ClaimsByTargetIdAverageUpdatedAtDesc = 'CLAIMS_BY_TARGET_ID_AVERAGE_UPDATED_AT_DESC', - ClaimsByTargetIdAverageUpdatedBlockIdAsc = 'CLAIMS_BY_TARGET_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - ClaimsByTargetIdAverageUpdatedBlockIdDesc = 'CLAIMS_BY_TARGET_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - ClaimsByTargetIdCountAsc = 'CLAIMS_BY_TARGET_ID_COUNT_ASC', - ClaimsByTargetIdCountDesc = 'CLAIMS_BY_TARGET_ID_COUNT_DESC', - ClaimsByTargetIdDistinctCountCddIdAsc = 'CLAIMS_BY_TARGET_ID_DISTINCT_COUNT_CDD_ID_ASC', - ClaimsByTargetIdDistinctCountCddIdDesc = 'CLAIMS_BY_TARGET_ID_DISTINCT_COUNT_CDD_ID_DESC', - ClaimsByTargetIdDistinctCountCreatedAtAsc = 'CLAIMS_BY_TARGET_ID_DISTINCT_COUNT_CREATED_AT_ASC', - ClaimsByTargetIdDistinctCountCreatedAtDesc = 'CLAIMS_BY_TARGET_ID_DISTINCT_COUNT_CREATED_AT_DESC', - ClaimsByTargetIdDistinctCountCreatedBlockIdAsc = 'CLAIMS_BY_TARGET_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - ClaimsByTargetIdDistinctCountCreatedBlockIdDesc = 'CLAIMS_BY_TARGET_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - ClaimsByTargetIdDistinctCountCustomClaimTypeIdAsc = 'CLAIMS_BY_TARGET_ID_DISTINCT_COUNT_CUSTOM_CLAIM_TYPE_ID_ASC', - ClaimsByTargetIdDistinctCountCustomClaimTypeIdDesc = 'CLAIMS_BY_TARGET_ID_DISTINCT_COUNT_CUSTOM_CLAIM_TYPE_ID_DESC', - ClaimsByTargetIdDistinctCountEventIdxAsc = 'CLAIMS_BY_TARGET_ID_DISTINCT_COUNT_EVENT_IDX_ASC', - ClaimsByTargetIdDistinctCountEventIdxDesc = 'CLAIMS_BY_TARGET_ID_DISTINCT_COUNT_EVENT_IDX_DESC', - ClaimsByTargetIdDistinctCountExpiryAsc = 'CLAIMS_BY_TARGET_ID_DISTINCT_COUNT_EXPIRY_ASC', - ClaimsByTargetIdDistinctCountExpiryDesc = 'CLAIMS_BY_TARGET_ID_DISTINCT_COUNT_EXPIRY_DESC', - ClaimsByTargetIdDistinctCountFilterExpiryAsc = 'CLAIMS_BY_TARGET_ID_DISTINCT_COUNT_FILTER_EXPIRY_ASC', - ClaimsByTargetIdDistinctCountFilterExpiryDesc = 'CLAIMS_BY_TARGET_ID_DISTINCT_COUNT_FILTER_EXPIRY_DESC', - ClaimsByTargetIdDistinctCountIdAsc = 'CLAIMS_BY_TARGET_ID_DISTINCT_COUNT_ID_ASC', - ClaimsByTargetIdDistinctCountIdDesc = 'CLAIMS_BY_TARGET_ID_DISTINCT_COUNT_ID_DESC', - ClaimsByTargetIdDistinctCountIssuanceDateAsc = 'CLAIMS_BY_TARGET_ID_DISTINCT_COUNT_ISSUANCE_DATE_ASC', - ClaimsByTargetIdDistinctCountIssuanceDateDesc = 'CLAIMS_BY_TARGET_ID_DISTINCT_COUNT_ISSUANCE_DATE_DESC', - ClaimsByTargetIdDistinctCountIssuerIdAsc = 'CLAIMS_BY_TARGET_ID_DISTINCT_COUNT_ISSUER_ID_ASC', - ClaimsByTargetIdDistinctCountIssuerIdDesc = 'CLAIMS_BY_TARGET_ID_DISTINCT_COUNT_ISSUER_ID_DESC', - ClaimsByTargetIdDistinctCountJurisdictionAsc = 'CLAIMS_BY_TARGET_ID_DISTINCT_COUNT_JURISDICTION_ASC', - ClaimsByTargetIdDistinctCountJurisdictionDesc = 'CLAIMS_BY_TARGET_ID_DISTINCT_COUNT_JURISDICTION_DESC', - ClaimsByTargetIdDistinctCountLastUpdateDateAsc = 'CLAIMS_BY_TARGET_ID_DISTINCT_COUNT_LAST_UPDATE_DATE_ASC', - ClaimsByTargetIdDistinctCountLastUpdateDateDesc = 'CLAIMS_BY_TARGET_ID_DISTINCT_COUNT_LAST_UPDATE_DATE_DESC', - ClaimsByTargetIdDistinctCountRevokeDateAsc = 'CLAIMS_BY_TARGET_ID_DISTINCT_COUNT_REVOKE_DATE_ASC', - ClaimsByTargetIdDistinctCountRevokeDateDesc = 'CLAIMS_BY_TARGET_ID_DISTINCT_COUNT_REVOKE_DATE_DESC', - ClaimsByTargetIdDistinctCountScopeAsc = 'CLAIMS_BY_TARGET_ID_DISTINCT_COUNT_SCOPE_ASC', - ClaimsByTargetIdDistinctCountScopeDesc = 'CLAIMS_BY_TARGET_ID_DISTINCT_COUNT_SCOPE_DESC', - ClaimsByTargetIdDistinctCountTargetIdAsc = 'CLAIMS_BY_TARGET_ID_DISTINCT_COUNT_TARGET_ID_ASC', - ClaimsByTargetIdDistinctCountTargetIdDesc = 'CLAIMS_BY_TARGET_ID_DISTINCT_COUNT_TARGET_ID_DESC', - ClaimsByTargetIdDistinctCountTypeAsc = 'CLAIMS_BY_TARGET_ID_DISTINCT_COUNT_TYPE_ASC', - ClaimsByTargetIdDistinctCountTypeDesc = 'CLAIMS_BY_TARGET_ID_DISTINCT_COUNT_TYPE_DESC', - ClaimsByTargetIdDistinctCountUpdatedAtAsc = 'CLAIMS_BY_TARGET_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - ClaimsByTargetIdDistinctCountUpdatedAtDesc = 'CLAIMS_BY_TARGET_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - ClaimsByTargetIdDistinctCountUpdatedBlockIdAsc = 'CLAIMS_BY_TARGET_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - ClaimsByTargetIdDistinctCountUpdatedBlockIdDesc = 'CLAIMS_BY_TARGET_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - ClaimsByTargetIdMaxCddIdAsc = 'CLAIMS_BY_TARGET_ID_MAX_CDD_ID_ASC', - ClaimsByTargetIdMaxCddIdDesc = 'CLAIMS_BY_TARGET_ID_MAX_CDD_ID_DESC', - ClaimsByTargetIdMaxCreatedAtAsc = 'CLAIMS_BY_TARGET_ID_MAX_CREATED_AT_ASC', - ClaimsByTargetIdMaxCreatedAtDesc = 'CLAIMS_BY_TARGET_ID_MAX_CREATED_AT_DESC', - ClaimsByTargetIdMaxCreatedBlockIdAsc = 'CLAIMS_BY_TARGET_ID_MAX_CREATED_BLOCK_ID_ASC', - ClaimsByTargetIdMaxCreatedBlockIdDesc = 'CLAIMS_BY_TARGET_ID_MAX_CREATED_BLOCK_ID_DESC', - ClaimsByTargetIdMaxCustomClaimTypeIdAsc = 'CLAIMS_BY_TARGET_ID_MAX_CUSTOM_CLAIM_TYPE_ID_ASC', - ClaimsByTargetIdMaxCustomClaimTypeIdDesc = 'CLAIMS_BY_TARGET_ID_MAX_CUSTOM_CLAIM_TYPE_ID_DESC', - ClaimsByTargetIdMaxEventIdxAsc = 'CLAIMS_BY_TARGET_ID_MAX_EVENT_IDX_ASC', - ClaimsByTargetIdMaxEventIdxDesc = 'CLAIMS_BY_TARGET_ID_MAX_EVENT_IDX_DESC', - ClaimsByTargetIdMaxExpiryAsc = 'CLAIMS_BY_TARGET_ID_MAX_EXPIRY_ASC', - ClaimsByTargetIdMaxExpiryDesc = 'CLAIMS_BY_TARGET_ID_MAX_EXPIRY_DESC', - ClaimsByTargetIdMaxFilterExpiryAsc = 'CLAIMS_BY_TARGET_ID_MAX_FILTER_EXPIRY_ASC', - ClaimsByTargetIdMaxFilterExpiryDesc = 'CLAIMS_BY_TARGET_ID_MAX_FILTER_EXPIRY_DESC', - ClaimsByTargetIdMaxIdAsc = 'CLAIMS_BY_TARGET_ID_MAX_ID_ASC', - ClaimsByTargetIdMaxIdDesc = 'CLAIMS_BY_TARGET_ID_MAX_ID_DESC', - ClaimsByTargetIdMaxIssuanceDateAsc = 'CLAIMS_BY_TARGET_ID_MAX_ISSUANCE_DATE_ASC', - ClaimsByTargetIdMaxIssuanceDateDesc = 'CLAIMS_BY_TARGET_ID_MAX_ISSUANCE_DATE_DESC', - ClaimsByTargetIdMaxIssuerIdAsc = 'CLAIMS_BY_TARGET_ID_MAX_ISSUER_ID_ASC', - ClaimsByTargetIdMaxIssuerIdDesc = 'CLAIMS_BY_TARGET_ID_MAX_ISSUER_ID_DESC', - ClaimsByTargetIdMaxJurisdictionAsc = 'CLAIMS_BY_TARGET_ID_MAX_JURISDICTION_ASC', - ClaimsByTargetIdMaxJurisdictionDesc = 'CLAIMS_BY_TARGET_ID_MAX_JURISDICTION_DESC', - ClaimsByTargetIdMaxLastUpdateDateAsc = 'CLAIMS_BY_TARGET_ID_MAX_LAST_UPDATE_DATE_ASC', - ClaimsByTargetIdMaxLastUpdateDateDesc = 'CLAIMS_BY_TARGET_ID_MAX_LAST_UPDATE_DATE_DESC', - ClaimsByTargetIdMaxRevokeDateAsc = 'CLAIMS_BY_TARGET_ID_MAX_REVOKE_DATE_ASC', - ClaimsByTargetIdMaxRevokeDateDesc = 'CLAIMS_BY_TARGET_ID_MAX_REVOKE_DATE_DESC', - ClaimsByTargetIdMaxScopeAsc = 'CLAIMS_BY_TARGET_ID_MAX_SCOPE_ASC', - ClaimsByTargetIdMaxScopeDesc = 'CLAIMS_BY_TARGET_ID_MAX_SCOPE_DESC', - ClaimsByTargetIdMaxTargetIdAsc = 'CLAIMS_BY_TARGET_ID_MAX_TARGET_ID_ASC', - ClaimsByTargetIdMaxTargetIdDesc = 'CLAIMS_BY_TARGET_ID_MAX_TARGET_ID_DESC', - ClaimsByTargetIdMaxTypeAsc = 'CLAIMS_BY_TARGET_ID_MAX_TYPE_ASC', - ClaimsByTargetIdMaxTypeDesc = 'CLAIMS_BY_TARGET_ID_MAX_TYPE_DESC', - ClaimsByTargetIdMaxUpdatedAtAsc = 'CLAIMS_BY_TARGET_ID_MAX_UPDATED_AT_ASC', - ClaimsByTargetIdMaxUpdatedAtDesc = 'CLAIMS_BY_TARGET_ID_MAX_UPDATED_AT_DESC', - ClaimsByTargetIdMaxUpdatedBlockIdAsc = 'CLAIMS_BY_TARGET_ID_MAX_UPDATED_BLOCK_ID_ASC', - ClaimsByTargetIdMaxUpdatedBlockIdDesc = 'CLAIMS_BY_TARGET_ID_MAX_UPDATED_BLOCK_ID_DESC', - ClaimsByTargetIdMinCddIdAsc = 'CLAIMS_BY_TARGET_ID_MIN_CDD_ID_ASC', - ClaimsByTargetIdMinCddIdDesc = 'CLAIMS_BY_TARGET_ID_MIN_CDD_ID_DESC', - ClaimsByTargetIdMinCreatedAtAsc = 'CLAIMS_BY_TARGET_ID_MIN_CREATED_AT_ASC', - ClaimsByTargetIdMinCreatedAtDesc = 'CLAIMS_BY_TARGET_ID_MIN_CREATED_AT_DESC', - ClaimsByTargetIdMinCreatedBlockIdAsc = 'CLAIMS_BY_TARGET_ID_MIN_CREATED_BLOCK_ID_ASC', - ClaimsByTargetIdMinCreatedBlockIdDesc = 'CLAIMS_BY_TARGET_ID_MIN_CREATED_BLOCK_ID_DESC', - ClaimsByTargetIdMinCustomClaimTypeIdAsc = 'CLAIMS_BY_TARGET_ID_MIN_CUSTOM_CLAIM_TYPE_ID_ASC', - ClaimsByTargetIdMinCustomClaimTypeIdDesc = 'CLAIMS_BY_TARGET_ID_MIN_CUSTOM_CLAIM_TYPE_ID_DESC', - ClaimsByTargetIdMinEventIdxAsc = 'CLAIMS_BY_TARGET_ID_MIN_EVENT_IDX_ASC', - ClaimsByTargetIdMinEventIdxDesc = 'CLAIMS_BY_TARGET_ID_MIN_EVENT_IDX_DESC', - ClaimsByTargetIdMinExpiryAsc = 'CLAIMS_BY_TARGET_ID_MIN_EXPIRY_ASC', - ClaimsByTargetIdMinExpiryDesc = 'CLAIMS_BY_TARGET_ID_MIN_EXPIRY_DESC', - ClaimsByTargetIdMinFilterExpiryAsc = 'CLAIMS_BY_TARGET_ID_MIN_FILTER_EXPIRY_ASC', - ClaimsByTargetIdMinFilterExpiryDesc = 'CLAIMS_BY_TARGET_ID_MIN_FILTER_EXPIRY_DESC', - ClaimsByTargetIdMinIdAsc = 'CLAIMS_BY_TARGET_ID_MIN_ID_ASC', - ClaimsByTargetIdMinIdDesc = 'CLAIMS_BY_TARGET_ID_MIN_ID_DESC', - ClaimsByTargetIdMinIssuanceDateAsc = 'CLAIMS_BY_TARGET_ID_MIN_ISSUANCE_DATE_ASC', - ClaimsByTargetIdMinIssuanceDateDesc = 'CLAIMS_BY_TARGET_ID_MIN_ISSUANCE_DATE_DESC', - ClaimsByTargetIdMinIssuerIdAsc = 'CLAIMS_BY_TARGET_ID_MIN_ISSUER_ID_ASC', - ClaimsByTargetIdMinIssuerIdDesc = 'CLAIMS_BY_TARGET_ID_MIN_ISSUER_ID_DESC', - ClaimsByTargetIdMinJurisdictionAsc = 'CLAIMS_BY_TARGET_ID_MIN_JURISDICTION_ASC', - ClaimsByTargetIdMinJurisdictionDesc = 'CLAIMS_BY_TARGET_ID_MIN_JURISDICTION_DESC', - ClaimsByTargetIdMinLastUpdateDateAsc = 'CLAIMS_BY_TARGET_ID_MIN_LAST_UPDATE_DATE_ASC', - ClaimsByTargetIdMinLastUpdateDateDesc = 'CLAIMS_BY_TARGET_ID_MIN_LAST_UPDATE_DATE_DESC', - ClaimsByTargetIdMinRevokeDateAsc = 'CLAIMS_BY_TARGET_ID_MIN_REVOKE_DATE_ASC', - ClaimsByTargetIdMinRevokeDateDesc = 'CLAIMS_BY_TARGET_ID_MIN_REVOKE_DATE_DESC', - ClaimsByTargetIdMinScopeAsc = 'CLAIMS_BY_TARGET_ID_MIN_SCOPE_ASC', - ClaimsByTargetIdMinScopeDesc = 'CLAIMS_BY_TARGET_ID_MIN_SCOPE_DESC', - ClaimsByTargetIdMinTargetIdAsc = 'CLAIMS_BY_TARGET_ID_MIN_TARGET_ID_ASC', - ClaimsByTargetIdMinTargetIdDesc = 'CLAIMS_BY_TARGET_ID_MIN_TARGET_ID_DESC', - ClaimsByTargetIdMinTypeAsc = 'CLAIMS_BY_TARGET_ID_MIN_TYPE_ASC', - ClaimsByTargetIdMinTypeDesc = 'CLAIMS_BY_TARGET_ID_MIN_TYPE_DESC', - ClaimsByTargetIdMinUpdatedAtAsc = 'CLAIMS_BY_TARGET_ID_MIN_UPDATED_AT_ASC', - ClaimsByTargetIdMinUpdatedAtDesc = 'CLAIMS_BY_TARGET_ID_MIN_UPDATED_AT_DESC', - ClaimsByTargetIdMinUpdatedBlockIdAsc = 'CLAIMS_BY_TARGET_ID_MIN_UPDATED_BLOCK_ID_ASC', - ClaimsByTargetIdMinUpdatedBlockIdDesc = 'CLAIMS_BY_TARGET_ID_MIN_UPDATED_BLOCK_ID_DESC', - ClaimsByTargetIdStddevPopulationCddIdAsc = 'CLAIMS_BY_TARGET_ID_STDDEV_POPULATION_CDD_ID_ASC', - ClaimsByTargetIdStddevPopulationCddIdDesc = 'CLAIMS_BY_TARGET_ID_STDDEV_POPULATION_CDD_ID_DESC', - ClaimsByTargetIdStddevPopulationCreatedAtAsc = 'CLAIMS_BY_TARGET_ID_STDDEV_POPULATION_CREATED_AT_ASC', - ClaimsByTargetIdStddevPopulationCreatedAtDesc = 'CLAIMS_BY_TARGET_ID_STDDEV_POPULATION_CREATED_AT_DESC', - ClaimsByTargetIdStddevPopulationCreatedBlockIdAsc = 'CLAIMS_BY_TARGET_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - ClaimsByTargetIdStddevPopulationCreatedBlockIdDesc = 'CLAIMS_BY_TARGET_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - ClaimsByTargetIdStddevPopulationCustomClaimTypeIdAsc = 'CLAIMS_BY_TARGET_ID_STDDEV_POPULATION_CUSTOM_CLAIM_TYPE_ID_ASC', - ClaimsByTargetIdStddevPopulationCustomClaimTypeIdDesc = 'CLAIMS_BY_TARGET_ID_STDDEV_POPULATION_CUSTOM_CLAIM_TYPE_ID_DESC', - ClaimsByTargetIdStddevPopulationEventIdxAsc = 'CLAIMS_BY_TARGET_ID_STDDEV_POPULATION_EVENT_IDX_ASC', - ClaimsByTargetIdStddevPopulationEventIdxDesc = 'CLAIMS_BY_TARGET_ID_STDDEV_POPULATION_EVENT_IDX_DESC', - ClaimsByTargetIdStddevPopulationExpiryAsc = 'CLAIMS_BY_TARGET_ID_STDDEV_POPULATION_EXPIRY_ASC', - ClaimsByTargetIdStddevPopulationExpiryDesc = 'CLAIMS_BY_TARGET_ID_STDDEV_POPULATION_EXPIRY_DESC', - ClaimsByTargetIdStddevPopulationFilterExpiryAsc = 'CLAIMS_BY_TARGET_ID_STDDEV_POPULATION_FILTER_EXPIRY_ASC', - ClaimsByTargetIdStddevPopulationFilterExpiryDesc = 'CLAIMS_BY_TARGET_ID_STDDEV_POPULATION_FILTER_EXPIRY_DESC', - ClaimsByTargetIdStddevPopulationIdAsc = 'CLAIMS_BY_TARGET_ID_STDDEV_POPULATION_ID_ASC', - ClaimsByTargetIdStddevPopulationIdDesc = 'CLAIMS_BY_TARGET_ID_STDDEV_POPULATION_ID_DESC', - ClaimsByTargetIdStddevPopulationIssuanceDateAsc = 'CLAIMS_BY_TARGET_ID_STDDEV_POPULATION_ISSUANCE_DATE_ASC', - ClaimsByTargetIdStddevPopulationIssuanceDateDesc = 'CLAIMS_BY_TARGET_ID_STDDEV_POPULATION_ISSUANCE_DATE_DESC', - ClaimsByTargetIdStddevPopulationIssuerIdAsc = 'CLAIMS_BY_TARGET_ID_STDDEV_POPULATION_ISSUER_ID_ASC', - ClaimsByTargetIdStddevPopulationIssuerIdDesc = 'CLAIMS_BY_TARGET_ID_STDDEV_POPULATION_ISSUER_ID_DESC', - ClaimsByTargetIdStddevPopulationJurisdictionAsc = 'CLAIMS_BY_TARGET_ID_STDDEV_POPULATION_JURISDICTION_ASC', - ClaimsByTargetIdStddevPopulationJurisdictionDesc = 'CLAIMS_BY_TARGET_ID_STDDEV_POPULATION_JURISDICTION_DESC', - ClaimsByTargetIdStddevPopulationLastUpdateDateAsc = 'CLAIMS_BY_TARGET_ID_STDDEV_POPULATION_LAST_UPDATE_DATE_ASC', - ClaimsByTargetIdStddevPopulationLastUpdateDateDesc = 'CLAIMS_BY_TARGET_ID_STDDEV_POPULATION_LAST_UPDATE_DATE_DESC', - ClaimsByTargetIdStddevPopulationRevokeDateAsc = 'CLAIMS_BY_TARGET_ID_STDDEV_POPULATION_REVOKE_DATE_ASC', - ClaimsByTargetIdStddevPopulationRevokeDateDesc = 'CLAIMS_BY_TARGET_ID_STDDEV_POPULATION_REVOKE_DATE_DESC', - ClaimsByTargetIdStddevPopulationScopeAsc = 'CLAIMS_BY_TARGET_ID_STDDEV_POPULATION_SCOPE_ASC', - ClaimsByTargetIdStddevPopulationScopeDesc = 'CLAIMS_BY_TARGET_ID_STDDEV_POPULATION_SCOPE_DESC', - ClaimsByTargetIdStddevPopulationTargetIdAsc = 'CLAIMS_BY_TARGET_ID_STDDEV_POPULATION_TARGET_ID_ASC', - ClaimsByTargetIdStddevPopulationTargetIdDesc = 'CLAIMS_BY_TARGET_ID_STDDEV_POPULATION_TARGET_ID_DESC', - ClaimsByTargetIdStddevPopulationTypeAsc = 'CLAIMS_BY_TARGET_ID_STDDEV_POPULATION_TYPE_ASC', - ClaimsByTargetIdStddevPopulationTypeDesc = 'CLAIMS_BY_TARGET_ID_STDDEV_POPULATION_TYPE_DESC', - ClaimsByTargetIdStddevPopulationUpdatedAtAsc = 'CLAIMS_BY_TARGET_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - ClaimsByTargetIdStddevPopulationUpdatedAtDesc = 'CLAIMS_BY_TARGET_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - ClaimsByTargetIdStddevPopulationUpdatedBlockIdAsc = 'CLAIMS_BY_TARGET_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - ClaimsByTargetIdStddevPopulationUpdatedBlockIdDesc = 'CLAIMS_BY_TARGET_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - ClaimsByTargetIdStddevSampleCddIdAsc = 'CLAIMS_BY_TARGET_ID_STDDEV_SAMPLE_CDD_ID_ASC', - ClaimsByTargetIdStddevSampleCddIdDesc = 'CLAIMS_BY_TARGET_ID_STDDEV_SAMPLE_CDD_ID_DESC', - ClaimsByTargetIdStddevSampleCreatedAtAsc = 'CLAIMS_BY_TARGET_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - ClaimsByTargetIdStddevSampleCreatedAtDesc = 'CLAIMS_BY_TARGET_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - ClaimsByTargetIdStddevSampleCreatedBlockIdAsc = 'CLAIMS_BY_TARGET_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - ClaimsByTargetIdStddevSampleCreatedBlockIdDesc = 'CLAIMS_BY_TARGET_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - ClaimsByTargetIdStddevSampleCustomClaimTypeIdAsc = 'CLAIMS_BY_TARGET_ID_STDDEV_SAMPLE_CUSTOM_CLAIM_TYPE_ID_ASC', - ClaimsByTargetIdStddevSampleCustomClaimTypeIdDesc = 'CLAIMS_BY_TARGET_ID_STDDEV_SAMPLE_CUSTOM_CLAIM_TYPE_ID_DESC', - ClaimsByTargetIdStddevSampleEventIdxAsc = 'CLAIMS_BY_TARGET_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', - ClaimsByTargetIdStddevSampleEventIdxDesc = 'CLAIMS_BY_TARGET_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', - ClaimsByTargetIdStddevSampleExpiryAsc = 'CLAIMS_BY_TARGET_ID_STDDEV_SAMPLE_EXPIRY_ASC', - ClaimsByTargetIdStddevSampleExpiryDesc = 'CLAIMS_BY_TARGET_ID_STDDEV_SAMPLE_EXPIRY_DESC', - ClaimsByTargetIdStddevSampleFilterExpiryAsc = 'CLAIMS_BY_TARGET_ID_STDDEV_SAMPLE_FILTER_EXPIRY_ASC', - ClaimsByTargetIdStddevSampleFilterExpiryDesc = 'CLAIMS_BY_TARGET_ID_STDDEV_SAMPLE_FILTER_EXPIRY_DESC', - ClaimsByTargetIdStddevSampleIdAsc = 'CLAIMS_BY_TARGET_ID_STDDEV_SAMPLE_ID_ASC', - ClaimsByTargetIdStddevSampleIdDesc = 'CLAIMS_BY_TARGET_ID_STDDEV_SAMPLE_ID_DESC', - ClaimsByTargetIdStddevSampleIssuanceDateAsc = 'CLAIMS_BY_TARGET_ID_STDDEV_SAMPLE_ISSUANCE_DATE_ASC', - ClaimsByTargetIdStddevSampleIssuanceDateDesc = 'CLAIMS_BY_TARGET_ID_STDDEV_SAMPLE_ISSUANCE_DATE_DESC', - ClaimsByTargetIdStddevSampleIssuerIdAsc = 'CLAIMS_BY_TARGET_ID_STDDEV_SAMPLE_ISSUER_ID_ASC', - ClaimsByTargetIdStddevSampleIssuerIdDesc = 'CLAIMS_BY_TARGET_ID_STDDEV_SAMPLE_ISSUER_ID_DESC', - ClaimsByTargetIdStddevSampleJurisdictionAsc = 'CLAIMS_BY_TARGET_ID_STDDEV_SAMPLE_JURISDICTION_ASC', - ClaimsByTargetIdStddevSampleJurisdictionDesc = 'CLAIMS_BY_TARGET_ID_STDDEV_SAMPLE_JURISDICTION_DESC', - ClaimsByTargetIdStddevSampleLastUpdateDateAsc = 'CLAIMS_BY_TARGET_ID_STDDEV_SAMPLE_LAST_UPDATE_DATE_ASC', - ClaimsByTargetIdStddevSampleLastUpdateDateDesc = 'CLAIMS_BY_TARGET_ID_STDDEV_SAMPLE_LAST_UPDATE_DATE_DESC', - ClaimsByTargetIdStddevSampleRevokeDateAsc = 'CLAIMS_BY_TARGET_ID_STDDEV_SAMPLE_REVOKE_DATE_ASC', - ClaimsByTargetIdStddevSampleRevokeDateDesc = 'CLAIMS_BY_TARGET_ID_STDDEV_SAMPLE_REVOKE_DATE_DESC', - ClaimsByTargetIdStddevSampleScopeAsc = 'CLAIMS_BY_TARGET_ID_STDDEV_SAMPLE_SCOPE_ASC', - ClaimsByTargetIdStddevSampleScopeDesc = 'CLAIMS_BY_TARGET_ID_STDDEV_SAMPLE_SCOPE_DESC', - ClaimsByTargetIdStddevSampleTargetIdAsc = 'CLAIMS_BY_TARGET_ID_STDDEV_SAMPLE_TARGET_ID_ASC', - ClaimsByTargetIdStddevSampleTargetIdDesc = 'CLAIMS_BY_TARGET_ID_STDDEV_SAMPLE_TARGET_ID_DESC', - ClaimsByTargetIdStddevSampleTypeAsc = 'CLAIMS_BY_TARGET_ID_STDDEV_SAMPLE_TYPE_ASC', - ClaimsByTargetIdStddevSampleTypeDesc = 'CLAIMS_BY_TARGET_ID_STDDEV_SAMPLE_TYPE_DESC', - ClaimsByTargetIdStddevSampleUpdatedAtAsc = 'CLAIMS_BY_TARGET_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - ClaimsByTargetIdStddevSampleUpdatedAtDesc = 'CLAIMS_BY_TARGET_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - ClaimsByTargetIdStddevSampleUpdatedBlockIdAsc = 'CLAIMS_BY_TARGET_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - ClaimsByTargetIdStddevSampleUpdatedBlockIdDesc = 'CLAIMS_BY_TARGET_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - ClaimsByTargetIdSumCddIdAsc = 'CLAIMS_BY_TARGET_ID_SUM_CDD_ID_ASC', - ClaimsByTargetIdSumCddIdDesc = 'CLAIMS_BY_TARGET_ID_SUM_CDD_ID_DESC', - ClaimsByTargetIdSumCreatedAtAsc = 'CLAIMS_BY_TARGET_ID_SUM_CREATED_AT_ASC', - ClaimsByTargetIdSumCreatedAtDesc = 'CLAIMS_BY_TARGET_ID_SUM_CREATED_AT_DESC', - ClaimsByTargetIdSumCreatedBlockIdAsc = 'CLAIMS_BY_TARGET_ID_SUM_CREATED_BLOCK_ID_ASC', - ClaimsByTargetIdSumCreatedBlockIdDesc = 'CLAIMS_BY_TARGET_ID_SUM_CREATED_BLOCK_ID_DESC', - ClaimsByTargetIdSumCustomClaimTypeIdAsc = 'CLAIMS_BY_TARGET_ID_SUM_CUSTOM_CLAIM_TYPE_ID_ASC', - ClaimsByTargetIdSumCustomClaimTypeIdDesc = 'CLAIMS_BY_TARGET_ID_SUM_CUSTOM_CLAIM_TYPE_ID_DESC', - ClaimsByTargetIdSumEventIdxAsc = 'CLAIMS_BY_TARGET_ID_SUM_EVENT_IDX_ASC', - ClaimsByTargetIdSumEventIdxDesc = 'CLAIMS_BY_TARGET_ID_SUM_EVENT_IDX_DESC', - ClaimsByTargetIdSumExpiryAsc = 'CLAIMS_BY_TARGET_ID_SUM_EXPIRY_ASC', - ClaimsByTargetIdSumExpiryDesc = 'CLAIMS_BY_TARGET_ID_SUM_EXPIRY_DESC', - ClaimsByTargetIdSumFilterExpiryAsc = 'CLAIMS_BY_TARGET_ID_SUM_FILTER_EXPIRY_ASC', - ClaimsByTargetIdSumFilterExpiryDesc = 'CLAIMS_BY_TARGET_ID_SUM_FILTER_EXPIRY_DESC', - ClaimsByTargetIdSumIdAsc = 'CLAIMS_BY_TARGET_ID_SUM_ID_ASC', - ClaimsByTargetIdSumIdDesc = 'CLAIMS_BY_TARGET_ID_SUM_ID_DESC', - ClaimsByTargetIdSumIssuanceDateAsc = 'CLAIMS_BY_TARGET_ID_SUM_ISSUANCE_DATE_ASC', - ClaimsByTargetIdSumIssuanceDateDesc = 'CLAIMS_BY_TARGET_ID_SUM_ISSUANCE_DATE_DESC', - ClaimsByTargetIdSumIssuerIdAsc = 'CLAIMS_BY_TARGET_ID_SUM_ISSUER_ID_ASC', - ClaimsByTargetIdSumIssuerIdDesc = 'CLAIMS_BY_TARGET_ID_SUM_ISSUER_ID_DESC', - ClaimsByTargetIdSumJurisdictionAsc = 'CLAIMS_BY_TARGET_ID_SUM_JURISDICTION_ASC', - ClaimsByTargetIdSumJurisdictionDesc = 'CLAIMS_BY_TARGET_ID_SUM_JURISDICTION_DESC', - ClaimsByTargetIdSumLastUpdateDateAsc = 'CLAIMS_BY_TARGET_ID_SUM_LAST_UPDATE_DATE_ASC', - ClaimsByTargetIdSumLastUpdateDateDesc = 'CLAIMS_BY_TARGET_ID_SUM_LAST_UPDATE_DATE_DESC', - ClaimsByTargetIdSumRevokeDateAsc = 'CLAIMS_BY_TARGET_ID_SUM_REVOKE_DATE_ASC', - ClaimsByTargetIdSumRevokeDateDesc = 'CLAIMS_BY_TARGET_ID_SUM_REVOKE_DATE_DESC', - ClaimsByTargetIdSumScopeAsc = 'CLAIMS_BY_TARGET_ID_SUM_SCOPE_ASC', - ClaimsByTargetIdSumScopeDesc = 'CLAIMS_BY_TARGET_ID_SUM_SCOPE_DESC', - ClaimsByTargetIdSumTargetIdAsc = 'CLAIMS_BY_TARGET_ID_SUM_TARGET_ID_ASC', - ClaimsByTargetIdSumTargetIdDesc = 'CLAIMS_BY_TARGET_ID_SUM_TARGET_ID_DESC', - ClaimsByTargetIdSumTypeAsc = 'CLAIMS_BY_TARGET_ID_SUM_TYPE_ASC', - ClaimsByTargetIdSumTypeDesc = 'CLAIMS_BY_TARGET_ID_SUM_TYPE_DESC', - ClaimsByTargetIdSumUpdatedAtAsc = 'CLAIMS_BY_TARGET_ID_SUM_UPDATED_AT_ASC', - ClaimsByTargetIdSumUpdatedAtDesc = 'CLAIMS_BY_TARGET_ID_SUM_UPDATED_AT_DESC', - ClaimsByTargetIdSumUpdatedBlockIdAsc = 'CLAIMS_BY_TARGET_ID_SUM_UPDATED_BLOCK_ID_ASC', - ClaimsByTargetIdSumUpdatedBlockIdDesc = 'CLAIMS_BY_TARGET_ID_SUM_UPDATED_BLOCK_ID_DESC', - ClaimsByTargetIdVariancePopulationCddIdAsc = 'CLAIMS_BY_TARGET_ID_VARIANCE_POPULATION_CDD_ID_ASC', - ClaimsByTargetIdVariancePopulationCddIdDesc = 'CLAIMS_BY_TARGET_ID_VARIANCE_POPULATION_CDD_ID_DESC', - ClaimsByTargetIdVariancePopulationCreatedAtAsc = 'CLAIMS_BY_TARGET_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - ClaimsByTargetIdVariancePopulationCreatedAtDesc = 'CLAIMS_BY_TARGET_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - ClaimsByTargetIdVariancePopulationCreatedBlockIdAsc = 'CLAIMS_BY_TARGET_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - ClaimsByTargetIdVariancePopulationCreatedBlockIdDesc = 'CLAIMS_BY_TARGET_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - ClaimsByTargetIdVariancePopulationCustomClaimTypeIdAsc = 'CLAIMS_BY_TARGET_ID_VARIANCE_POPULATION_CUSTOM_CLAIM_TYPE_ID_ASC', - ClaimsByTargetIdVariancePopulationCustomClaimTypeIdDesc = 'CLAIMS_BY_TARGET_ID_VARIANCE_POPULATION_CUSTOM_CLAIM_TYPE_ID_DESC', - ClaimsByTargetIdVariancePopulationEventIdxAsc = 'CLAIMS_BY_TARGET_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', - ClaimsByTargetIdVariancePopulationEventIdxDesc = 'CLAIMS_BY_TARGET_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', - ClaimsByTargetIdVariancePopulationExpiryAsc = 'CLAIMS_BY_TARGET_ID_VARIANCE_POPULATION_EXPIRY_ASC', - ClaimsByTargetIdVariancePopulationExpiryDesc = 'CLAIMS_BY_TARGET_ID_VARIANCE_POPULATION_EXPIRY_DESC', - ClaimsByTargetIdVariancePopulationFilterExpiryAsc = 'CLAIMS_BY_TARGET_ID_VARIANCE_POPULATION_FILTER_EXPIRY_ASC', - ClaimsByTargetIdVariancePopulationFilterExpiryDesc = 'CLAIMS_BY_TARGET_ID_VARIANCE_POPULATION_FILTER_EXPIRY_DESC', - ClaimsByTargetIdVariancePopulationIdAsc = 'CLAIMS_BY_TARGET_ID_VARIANCE_POPULATION_ID_ASC', - ClaimsByTargetIdVariancePopulationIdDesc = 'CLAIMS_BY_TARGET_ID_VARIANCE_POPULATION_ID_DESC', - ClaimsByTargetIdVariancePopulationIssuanceDateAsc = 'CLAIMS_BY_TARGET_ID_VARIANCE_POPULATION_ISSUANCE_DATE_ASC', - ClaimsByTargetIdVariancePopulationIssuanceDateDesc = 'CLAIMS_BY_TARGET_ID_VARIANCE_POPULATION_ISSUANCE_DATE_DESC', - ClaimsByTargetIdVariancePopulationIssuerIdAsc = 'CLAIMS_BY_TARGET_ID_VARIANCE_POPULATION_ISSUER_ID_ASC', - ClaimsByTargetIdVariancePopulationIssuerIdDesc = 'CLAIMS_BY_TARGET_ID_VARIANCE_POPULATION_ISSUER_ID_DESC', - ClaimsByTargetIdVariancePopulationJurisdictionAsc = 'CLAIMS_BY_TARGET_ID_VARIANCE_POPULATION_JURISDICTION_ASC', - ClaimsByTargetIdVariancePopulationJurisdictionDesc = 'CLAIMS_BY_TARGET_ID_VARIANCE_POPULATION_JURISDICTION_DESC', - ClaimsByTargetIdVariancePopulationLastUpdateDateAsc = 'CLAIMS_BY_TARGET_ID_VARIANCE_POPULATION_LAST_UPDATE_DATE_ASC', - ClaimsByTargetIdVariancePopulationLastUpdateDateDesc = 'CLAIMS_BY_TARGET_ID_VARIANCE_POPULATION_LAST_UPDATE_DATE_DESC', - ClaimsByTargetIdVariancePopulationRevokeDateAsc = 'CLAIMS_BY_TARGET_ID_VARIANCE_POPULATION_REVOKE_DATE_ASC', - ClaimsByTargetIdVariancePopulationRevokeDateDesc = 'CLAIMS_BY_TARGET_ID_VARIANCE_POPULATION_REVOKE_DATE_DESC', - ClaimsByTargetIdVariancePopulationScopeAsc = 'CLAIMS_BY_TARGET_ID_VARIANCE_POPULATION_SCOPE_ASC', - ClaimsByTargetIdVariancePopulationScopeDesc = 'CLAIMS_BY_TARGET_ID_VARIANCE_POPULATION_SCOPE_DESC', - ClaimsByTargetIdVariancePopulationTargetIdAsc = 'CLAIMS_BY_TARGET_ID_VARIANCE_POPULATION_TARGET_ID_ASC', - ClaimsByTargetIdVariancePopulationTargetIdDesc = 'CLAIMS_BY_TARGET_ID_VARIANCE_POPULATION_TARGET_ID_DESC', - ClaimsByTargetIdVariancePopulationTypeAsc = 'CLAIMS_BY_TARGET_ID_VARIANCE_POPULATION_TYPE_ASC', - ClaimsByTargetIdVariancePopulationTypeDesc = 'CLAIMS_BY_TARGET_ID_VARIANCE_POPULATION_TYPE_DESC', - ClaimsByTargetIdVariancePopulationUpdatedAtAsc = 'CLAIMS_BY_TARGET_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - ClaimsByTargetIdVariancePopulationUpdatedAtDesc = 'CLAIMS_BY_TARGET_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - ClaimsByTargetIdVariancePopulationUpdatedBlockIdAsc = 'CLAIMS_BY_TARGET_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - ClaimsByTargetIdVariancePopulationUpdatedBlockIdDesc = 'CLAIMS_BY_TARGET_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - ClaimsByTargetIdVarianceSampleCddIdAsc = 'CLAIMS_BY_TARGET_ID_VARIANCE_SAMPLE_CDD_ID_ASC', - ClaimsByTargetIdVarianceSampleCddIdDesc = 'CLAIMS_BY_TARGET_ID_VARIANCE_SAMPLE_CDD_ID_DESC', - ClaimsByTargetIdVarianceSampleCreatedAtAsc = 'CLAIMS_BY_TARGET_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - ClaimsByTargetIdVarianceSampleCreatedAtDesc = 'CLAIMS_BY_TARGET_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - ClaimsByTargetIdVarianceSampleCreatedBlockIdAsc = 'CLAIMS_BY_TARGET_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - ClaimsByTargetIdVarianceSampleCreatedBlockIdDesc = 'CLAIMS_BY_TARGET_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - ClaimsByTargetIdVarianceSampleCustomClaimTypeIdAsc = 'CLAIMS_BY_TARGET_ID_VARIANCE_SAMPLE_CUSTOM_CLAIM_TYPE_ID_ASC', - ClaimsByTargetIdVarianceSampleCustomClaimTypeIdDesc = 'CLAIMS_BY_TARGET_ID_VARIANCE_SAMPLE_CUSTOM_CLAIM_TYPE_ID_DESC', - ClaimsByTargetIdVarianceSampleEventIdxAsc = 'CLAIMS_BY_TARGET_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', - ClaimsByTargetIdVarianceSampleEventIdxDesc = 'CLAIMS_BY_TARGET_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', - ClaimsByTargetIdVarianceSampleExpiryAsc = 'CLAIMS_BY_TARGET_ID_VARIANCE_SAMPLE_EXPIRY_ASC', - ClaimsByTargetIdVarianceSampleExpiryDesc = 'CLAIMS_BY_TARGET_ID_VARIANCE_SAMPLE_EXPIRY_DESC', - ClaimsByTargetIdVarianceSampleFilterExpiryAsc = 'CLAIMS_BY_TARGET_ID_VARIANCE_SAMPLE_FILTER_EXPIRY_ASC', - ClaimsByTargetIdVarianceSampleFilterExpiryDesc = 'CLAIMS_BY_TARGET_ID_VARIANCE_SAMPLE_FILTER_EXPIRY_DESC', - ClaimsByTargetIdVarianceSampleIdAsc = 'CLAIMS_BY_TARGET_ID_VARIANCE_SAMPLE_ID_ASC', - ClaimsByTargetIdVarianceSampleIdDesc = 'CLAIMS_BY_TARGET_ID_VARIANCE_SAMPLE_ID_DESC', - ClaimsByTargetIdVarianceSampleIssuanceDateAsc = 'CLAIMS_BY_TARGET_ID_VARIANCE_SAMPLE_ISSUANCE_DATE_ASC', - ClaimsByTargetIdVarianceSampleIssuanceDateDesc = 'CLAIMS_BY_TARGET_ID_VARIANCE_SAMPLE_ISSUANCE_DATE_DESC', - ClaimsByTargetIdVarianceSampleIssuerIdAsc = 'CLAIMS_BY_TARGET_ID_VARIANCE_SAMPLE_ISSUER_ID_ASC', - ClaimsByTargetIdVarianceSampleIssuerIdDesc = 'CLAIMS_BY_TARGET_ID_VARIANCE_SAMPLE_ISSUER_ID_DESC', - ClaimsByTargetIdVarianceSampleJurisdictionAsc = 'CLAIMS_BY_TARGET_ID_VARIANCE_SAMPLE_JURISDICTION_ASC', - ClaimsByTargetIdVarianceSampleJurisdictionDesc = 'CLAIMS_BY_TARGET_ID_VARIANCE_SAMPLE_JURISDICTION_DESC', - ClaimsByTargetIdVarianceSampleLastUpdateDateAsc = 'CLAIMS_BY_TARGET_ID_VARIANCE_SAMPLE_LAST_UPDATE_DATE_ASC', - ClaimsByTargetIdVarianceSampleLastUpdateDateDesc = 'CLAIMS_BY_TARGET_ID_VARIANCE_SAMPLE_LAST_UPDATE_DATE_DESC', - ClaimsByTargetIdVarianceSampleRevokeDateAsc = 'CLAIMS_BY_TARGET_ID_VARIANCE_SAMPLE_REVOKE_DATE_ASC', - ClaimsByTargetIdVarianceSampleRevokeDateDesc = 'CLAIMS_BY_TARGET_ID_VARIANCE_SAMPLE_REVOKE_DATE_DESC', - ClaimsByTargetIdVarianceSampleScopeAsc = 'CLAIMS_BY_TARGET_ID_VARIANCE_SAMPLE_SCOPE_ASC', - ClaimsByTargetIdVarianceSampleScopeDesc = 'CLAIMS_BY_TARGET_ID_VARIANCE_SAMPLE_SCOPE_DESC', - ClaimsByTargetIdVarianceSampleTargetIdAsc = 'CLAIMS_BY_TARGET_ID_VARIANCE_SAMPLE_TARGET_ID_ASC', - ClaimsByTargetIdVarianceSampleTargetIdDesc = 'CLAIMS_BY_TARGET_ID_VARIANCE_SAMPLE_TARGET_ID_DESC', - ClaimsByTargetIdVarianceSampleTypeAsc = 'CLAIMS_BY_TARGET_ID_VARIANCE_SAMPLE_TYPE_ASC', - ClaimsByTargetIdVarianceSampleTypeDesc = 'CLAIMS_BY_TARGET_ID_VARIANCE_SAMPLE_TYPE_DESC', - ClaimsByTargetIdVarianceSampleUpdatedAtAsc = 'CLAIMS_BY_TARGET_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - ClaimsByTargetIdVarianceSampleUpdatedAtDesc = 'CLAIMS_BY_TARGET_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - ClaimsByTargetIdVarianceSampleUpdatedBlockIdAsc = 'CLAIMS_BY_TARGET_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - ClaimsByTargetIdVarianceSampleUpdatedBlockIdDesc = 'CLAIMS_BY_TARGET_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - ConfidentialAccountsByCreatorIdAverageAccountAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_AVERAGE_ACCOUNT_ASC', - ConfidentialAccountsByCreatorIdAverageAccountDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_AVERAGE_ACCOUNT_DESC', - ConfidentialAccountsByCreatorIdAverageCreatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_AVERAGE_CREATED_AT_ASC', - ConfidentialAccountsByCreatorIdAverageCreatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_AVERAGE_CREATED_AT_DESC', - ConfidentialAccountsByCreatorIdAverageCreatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - ConfidentialAccountsByCreatorIdAverageCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - ConfidentialAccountsByCreatorIdAverageCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_AVERAGE_CREATOR_ID_ASC', - ConfidentialAccountsByCreatorIdAverageCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_AVERAGE_CREATOR_ID_DESC', - ConfidentialAccountsByCreatorIdAverageEventIdxAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_AVERAGE_EVENT_IDX_ASC', - ConfidentialAccountsByCreatorIdAverageEventIdxDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_AVERAGE_EVENT_IDX_DESC', - ConfidentialAccountsByCreatorIdAverageIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_AVERAGE_ID_ASC', - ConfidentialAccountsByCreatorIdAverageIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_AVERAGE_ID_DESC', - ConfidentialAccountsByCreatorIdAverageUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_AVERAGE_UPDATED_AT_ASC', - ConfidentialAccountsByCreatorIdAverageUpdatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_AVERAGE_UPDATED_AT_DESC', - ConfidentialAccountsByCreatorIdAverageUpdatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - ConfidentialAccountsByCreatorIdAverageUpdatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - ConfidentialAccountsByCreatorIdCountAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_COUNT_ASC', - ConfidentialAccountsByCreatorIdCountDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_COUNT_DESC', - ConfidentialAccountsByCreatorIdDistinctCountAccountAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_DISTINCT_COUNT_ACCOUNT_ASC', - ConfidentialAccountsByCreatorIdDistinctCountAccountDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_DISTINCT_COUNT_ACCOUNT_DESC', - ConfidentialAccountsByCreatorIdDistinctCountCreatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_DISTINCT_COUNT_CREATED_AT_ASC', - ConfidentialAccountsByCreatorIdDistinctCountCreatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_DISTINCT_COUNT_CREATED_AT_DESC', - ConfidentialAccountsByCreatorIdDistinctCountCreatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - ConfidentialAccountsByCreatorIdDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - ConfidentialAccountsByCreatorIdDistinctCountCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_DISTINCT_COUNT_CREATOR_ID_ASC', - ConfidentialAccountsByCreatorIdDistinctCountCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_DISTINCT_COUNT_CREATOR_ID_DESC', - ConfidentialAccountsByCreatorIdDistinctCountEventIdxAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_DISTINCT_COUNT_EVENT_IDX_ASC', - ConfidentialAccountsByCreatorIdDistinctCountEventIdxDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_DISTINCT_COUNT_EVENT_IDX_DESC', - ConfidentialAccountsByCreatorIdDistinctCountIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_DISTINCT_COUNT_ID_ASC', - ConfidentialAccountsByCreatorIdDistinctCountIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_DISTINCT_COUNT_ID_DESC', - ConfidentialAccountsByCreatorIdDistinctCountUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - ConfidentialAccountsByCreatorIdDistinctCountUpdatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - ConfidentialAccountsByCreatorIdDistinctCountUpdatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - ConfidentialAccountsByCreatorIdDistinctCountUpdatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - ConfidentialAccountsByCreatorIdMaxAccountAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MAX_ACCOUNT_ASC', - ConfidentialAccountsByCreatorIdMaxAccountDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MAX_ACCOUNT_DESC', - ConfidentialAccountsByCreatorIdMaxCreatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MAX_CREATED_AT_ASC', - ConfidentialAccountsByCreatorIdMaxCreatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MAX_CREATED_AT_DESC', - ConfidentialAccountsByCreatorIdMaxCreatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MAX_CREATED_BLOCK_ID_ASC', - ConfidentialAccountsByCreatorIdMaxCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MAX_CREATED_BLOCK_ID_DESC', - ConfidentialAccountsByCreatorIdMaxCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MAX_CREATOR_ID_ASC', - ConfidentialAccountsByCreatorIdMaxCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MAX_CREATOR_ID_DESC', - ConfidentialAccountsByCreatorIdMaxEventIdxAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MAX_EVENT_IDX_ASC', - ConfidentialAccountsByCreatorIdMaxEventIdxDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MAX_EVENT_IDX_DESC', - ConfidentialAccountsByCreatorIdMaxIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MAX_ID_ASC', - ConfidentialAccountsByCreatorIdMaxIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MAX_ID_DESC', - ConfidentialAccountsByCreatorIdMaxUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MAX_UPDATED_AT_ASC', - ConfidentialAccountsByCreatorIdMaxUpdatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MAX_UPDATED_AT_DESC', - ConfidentialAccountsByCreatorIdMaxUpdatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MAX_UPDATED_BLOCK_ID_ASC', - ConfidentialAccountsByCreatorIdMaxUpdatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MAX_UPDATED_BLOCK_ID_DESC', - ConfidentialAccountsByCreatorIdMinAccountAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MIN_ACCOUNT_ASC', - ConfidentialAccountsByCreatorIdMinAccountDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MIN_ACCOUNT_DESC', - ConfidentialAccountsByCreatorIdMinCreatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MIN_CREATED_AT_ASC', - ConfidentialAccountsByCreatorIdMinCreatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MIN_CREATED_AT_DESC', - ConfidentialAccountsByCreatorIdMinCreatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MIN_CREATED_BLOCK_ID_ASC', - ConfidentialAccountsByCreatorIdMinCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MIN_CREATED_BLOCK_ID_DESC', - ConfidentialAccountsByCreatorIdMinCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MIN_CREATOR_ID_ASC', - ConfidentialAccountsByCreatorIdMinCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MIN_CREATOR_ID_DESC', - ConfidentialAccountsByCreatorIdMinEventIdxAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MIN_EVENT_IDX_ASC', - ConfidentialAccountsByCreatorIdMinEventIdxDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MIN_EVENT_IDX_DESC', - ConfidentialAccountsByCreatorIdMinIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MIN_ID_ASC', - ConfidentialAccountsByCreatorIdMinIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MIN_ID_DESC', - ConfidentialAccountsByCreatorIdMinUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MIN_UPDATED_AT_ASC', - ConfidentialAccountsByCreatorIdMinUpdatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MIN_UPDATED_AT_DESC', - ConfidentialAccountsByCreatorIdMinUpdatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MIN_UPDATED_BLOCK_ID_ASC', - ConfidentialAccountsByCreatorIdMinUpdatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_MIN_UPDATED_BLOCK_ID_DESC', - ConfidentialAccountsByCreatorIdStddevPopulationAccountAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_POPULATION_ACCOUNT_ASC', - ConfidentialAccountsByCreatorIdStddevPopulationAccountDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_POPULATION_ACCOUNT_DESC', - ConfidentialAccountsByCreatorIdStddevPopulationCreatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_POPULATION_CREATED_AT_ASC', - ConfidentialAccountsByCreatorIdStddevPopulationCreatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_POPULATION_CREATED_AT_DESC', - ConfidentialAccountsByCreatorIdStddevPopulationCreatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - ConfidentialAccountsByCreatorIdStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - ConfidentialAccountsByCreatorIdStddevPopulationCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_POPULATION_CREATOR_ID_ASC', - ConfidentialAccountsByCreatorIdStddevPopulationCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_POPULATION_CREATOR_ID_DESC', - ConfidentialAccountsByCreatorIdStddevPopulationEventIdxAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_POPULATION_EVENT_IDX_ASC', - ConfidentialAccountsByCreatorIdStddevPopulationEventIdxDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_POPULATION_EVENT_IDX_DESC', - ConfidentialAccountsByCreatorIdStddevPopulationIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_POPULATION_ID_ASC', - ConfidentialAccountsByCreatorIdStddevPopulationIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_POPULATION_ID_DESC', - ConfidentialAccountsByCreatorIdStddevPopulationUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - ConfidentialAccountsByCreatorIdStddevPopulationUpdatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - ConfidentialAccountsByCreatorIdStddevPopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - ConfidentialAccountsByCreatorIdStddevPopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - ConfidentialAccountsByCreatorIdStddevSampleAccountAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_SAMPLE_ACCOUNT_ASC', - ConfidentialAccountsByCreatorIdStddevSampleAccountDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_SAMPLE_ACCOUNT_DESC', - ConfidentialAccountsByCreatorIdStddevSampleCreatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - ConfidentialAccountsByCreatorIdStddevSampleCreatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - ConfidentialAccountsByCreatorIdStddevSampleCreatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - ConfidentialAccountsByCreatorIdStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - ConfidentialAccountsByCreatorIdStddevSampleCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_SAMPLE_CREATOR_ID_ASC', - ConfidentialAccountsByCreatorIdStddevSampleCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_SAMPLE_CREATOR_ID_DESC', - ConfidentialAccountsByCreatorIdStddevSampleEventIdxAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', - ConfidentialAccountsByCreatorIdStddevSampleEventIdxDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', - ConfidentialAccountsByCreatorIdStddevSampleIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_SAMPLE_ID_ASC', - ConfidentialAccountsByCreatorIdStddevSampleIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_SAMPLE_ID_DESC', - ConfidentialAccountsByCreatorIdStddevSampleUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - ConfidentialAccountsByCreatorIdStddevSampleUpdatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - ConfidentialAccountsByCreatorIdStddevSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - ConfidentialAccountsByCreatorIdStddevSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - ConfidentialAccountsByCreatorIdSumAccountAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_SUM_ACCOUNT_ASC', - ConfidentialAccountsByCreatorIdSumAccountDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_SUM_ACCOUNT_DESC', - ConfidentialAccountsByCreatorIdSumCreatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_SUM_CREATED_AT_ASC', - ConfidentialAccountsByCreatorIdSumCreatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_SUM_CREATED_AT_DESC', - ConfidentialAccountsByCreatorIdSumCreatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_SUM_CREATED_BLOCK_ID_ASC', - ConfidentialAccountsByCreatorIdSumCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_SUM_CREATED_BLOCK_ID_DESC', - ConfidentialAccountsByCreatorIdSumCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_SUM_CREATOR_ID_ASC', - ConfidentialAccountsByCreatorIdSumCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_SUM_CREATOR_ID_DESC', - ConfidentialAccountsByCreatorIdSumEventIdxAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_SUM_EVENT_IDX_ASC', - ConfidentialAccountsByCreatorIdSumEventIdxDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_SUM_EVENT_IDX_DESC', - ConfidentialAccountsByCreatorIdSumIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_SUM_ID_ASC', - ConfidentialAccountsByCreatorIdSumIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_SUM_ID_DESC', - ConfidentialAccountsByCreatorIdSumUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_SUM_UPDATED_AT_ASC', - ConfidentialAccountsByCreatorIdSumUpdatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_SUM_UPDATED_AT_DESC', - ConfidentialAccountsByCreatorIdSumUpdatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_SUM_UPDATED_BLOCK_ID_ASC', - ConfidentialAccountsByCreatorIdSumUpdatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_SUM_UPDATED_BLOCK_ID_DESC', - ConfidentialAccountsByCreatorIdVariancePopulationAccountAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_POPULATION_ACCOUNT_ASC', - ConfidentialAccountsByCreatorIdVariancePopulationAccountDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_POPULATION_ACCOUNT_DESC', - ConfidentialAccountsByCreatorIdVariancePopulationCreatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - ConfidentialAccountsByCreatorIdVariancePopulationCreatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - ConfidentialAccountsByCreatorIdVariancePopulationCreatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - ConfidentialAccountsByCreatorIdVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - ConfidentialAccountsByCreatorIdVariancePopulationCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_POPULATION_CREATOR_ID_ASC', - ConfidentialAccountsByCreatorIdVariancePopulationCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_POPULATION_CREATOR_ID_DESC', - ConfidentialAccountsByCreatorIdVariancePopulationEventIdxAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', - ConfidentialAccountsByCreatorIdVariancePopulationEventIdxDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', - ConfidentialAccountsByCreatorIdVariancePopulationIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_POPULATION_ID_ASC', - ConfidentialAccountsByCreatorIdVariancePopulationIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_POPULATION_ID_DESC', - ConfidentialAccountsByCreatorIdVariancePopulationUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - ConfidentialAccountsByCreatorIdVariancePopulationUpdatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - ConfidentialAccountsByCreatorIdVariancePopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - ConfidentialAccountsByCreatorIdVariancePopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - ConfidentialAccountsByCreatorIdVarianceSampleAccountAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_SAMPLE_ACCOUNT_ASC', - ConfidentialAccountsByCreatorIdVarianceSampleAccountDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_SAMPLE_ACCOUNT_DESC', - ConfidentialAccountsByCreatorIdVarianceSampleCreatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - ConfidentialAccountsByCreatorIdVarianceSampleCreatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - ConfidentialAccountsByCreatorIdVarianceSampleCreatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - ConfidentialAccountsByCreatorIdVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - ConfidentialAccountsByCreatorIdVarianceSampleCreatorIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_SAMPLE_CREATOR_ID_ASC', - ConfidentialAccountsByCreatorIdVarianceSampleCreatorIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_SAMPLE_CREATOR_ID_DESC', - ConfidentialAccountsByCreatorIdVarianceSampleEventIdxAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', - ConfidentialAccountsByCreatorIdVarianceSampleEventIdxDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', - ConfidentialAccountsByCreatorIdVarianceSampleIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_SAMPLE_ID_ASC', - ConfidentialAccountsByCreatorIdVarianceSampleIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_SAMPLE_ID_DESC', - ConfidentialAccountsByCreatorIdVarianceSampleUpdatedAtAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - ConfidentialAccountsByCreatorIdVarianceSampleUpdatedAtDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - ConfidentialAccountsByCreatorIdVarianceSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - ConfidentialAccountsByCreatorIdVarianceSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_ACCOUNTS_BY_CREATOR_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetsByCreatorIdAverageAllowedVenuesAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_AVERAGE_ALLOWED_VENUES_ASC', - ConfidentialAssetsByCreatorIdAverageAllowedVenuesDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_AVERAGE_ALLOWED_VENUES_DESC', - ConfidentialAssetsByCreatorIdAverageAssetIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_AVERAGE_ASSET_ID_ASC', - ConfidentialAssetsByCreatorIdAverageAssetIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_AVERAGE_ASSET_ID_DESC', - ConfidentialAssetsByCreatorIdAverageAuditorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_AVERAGE_AUDITORS_ASC', - ConfidentialAssetsByCreatorIdAverageAuditorsDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_AVERAGE_AUDITORS_DESC', - ConfidentialAssetsByCreatorIdAverageCreatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_AVERAGE_CREATED_AT_ASC', - ConfidentialAssetsByCreatorIdAverageCreatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_AVERAGE_CREATED_AT_DESC', - ConfidentialAssetsByCreatorIdAverageCreatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - ConfidentialAssetsByCreatorIdAverageCreatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - ConfidentialAssetsByCreatorIdAverageCreatorIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_AVERAGE_CREATOR_ID_ASC', - ConfidentialAssetsByCreatorIdAverageCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_AVERAGE_CREATOR_ID_DESC', - ConfidentialAssetsByCreatorIdAverageDataAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_AVERAGE_DATA_ASC', - ConfidentialAssetsByCreatorIdAverageDataDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_AVERAGE_DATA_DESC', - ConfidentialAssetsByCreatorIdAverageEventIdxAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_AVERAGE_EVENT_IDX_ASC', - ConfidentialAssetsByCreatorIdAverageEventIdxDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_AVERAGE_EVENT_IDX_DESC', - ConfidentialAssetsByCreatorIdAverageIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_AVERAGE_ID_ASC', - ConfidentialAssetsByCreatorIdAverageIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_AVERAGE_ID_DESC', - ConfidentialAssetsByCreatorIdAverageMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_AVERAGE_MEDIATORS_ASC', - ConfidentialAssetsByCreatorIdAverageMediatorsDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_AVERAGE_MEDIATORS_DESC', - ConfidentialAssetsByCreatorIdAverageTickerAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_AVERAGE_TICKER_ASC', - ConfidentialAssetsByCreatorIdAverageTickerDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_AVERAGE_TICKER_DESC', - ConfidentialAssetsByCreatorIdAverageTotalSupplyAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_AVERAGE_TOTAL_SUPPLY_ASC', - ConfidentialAssetsByCreatorIdAverageTotalSupplyDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_AVERAGE_TOTAL_SUPPLY_DESC', - ConfidentialAssetsByCreatorIdAverageUpdatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_AVERAGE_UPDATED_AT_ASC', - ConfidentialAssetsByCreatorIdAverageUpdatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_AVERAGE_UPDATED_AT_DESC', - ConfidentialAssetsByCreatorIdAverageUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetsByCreatorIdAverageUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetsByCreatorIdAverageVenueFilteringAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_AVERAGE_VENUE_FILTERING_ASC', - ConfidentialAssetsByCreatorIdAverageVenueFilteringDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_AVERAGE_VENUE_FILTERING_DESC', - ConfidentialAssetsByCreatorIdCountAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_COUNT_ASC', - ConfidentialAssetsByCreatorIdCountDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_COUNT_DESC', - ConfidentialAssetsByCreatorIdDistinctCountAllowedVenuesAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_DISTINCT_COUNT_ALLOWED_VENUES_ASC', - ConfidentialAssetsByCreatorIdDistinctCountAllowedVenuesDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_DISTINCT_COUNT_ALLOWED_VENUES_DESC', - ConfidentialAssetsByCreatorIdDistinctCountAssetIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_DISTINCT_COUNT_ASSET_ID_ASC', - ConfidentialAssetsByCreatorIdDistinctCountAssetIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_DISTINCT_COUNT_ASSET_ID_DESC', - ConfidentialAssetsByCreatorIdDistinctCountAuditorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_DISTINCT_COUNT_AUDITORS_ASC', - ConfidentialAssetsByCreatorIdDistinctCountAuditorsDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_DISTINCT_COUNT_AUDITORS_DESC', - ConfidentialAssetsByCreatorIdDistinctCountCreatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_DISTINCT_COUNT_CREATED_AT_ASC', - ConfidentialAssetsByCreatorIdDistinctCountCreatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_DISTINCT_COUNT_CREATED_AT_DESC', - ConfidentialAssetsByCreatorIdDistinctCountCreatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - ConfidentialAssetsByCreatorIdDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - ConfidentialAssetsByCreatorIdDistinctCountCreatorIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_DISTINCT_COUNT_CREATOR_ID_ASC', - ConfidentialAssetsByCreatorIdDistinctCountCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_DISTINCT_COUNT_CREATOR_ID_DESC', - ConfidentialAssetsByCreatorIdDistinctCountDataAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_DISTINCT_COUNT_DATA_ASC', - ConfidentialAssetsByCreatorIdDistinctCountDataDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_DISTINCT_COUNT_DATA_DESC', - ConfidentialAssetsByCreatorIdDistinctCountEventIdxAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_DISTINCT_COUNT_EVENT_IDX_ASC', - ConfidentialAssetsByCreatorIdDistinctCountEventIdxDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_DISTINCT_COUNT_EVENT_IDX_DESC', - ConfidentialAssetsByCreatorIdDistinctCountIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_DISTINCT_COUNT_ID_ASC', - ConfidentialAssetsByCreatorIdDistinctCountIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_DISTINCT_COUNT_ID_DESC', - ConfidentialAssetsByCreatorIdDistinctCountMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_DISTINCT_COUNT_MEDIATORS_ASC', - ConfidentialAssetsByCreatorIdDistinctCountMediatorsDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_DISTINCT_COUNT_MEDIATORS_DESC', - ConfidentialAssetsByCreatorIdDistinctCountTickerAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_DISTINCT_COUNT_TICKER_ASC', - ConfidentialAssetsByCreatorIdDistinctCountTickerDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_DISTINCT_COUNT_TICKER_DESC', - ConfidentialAssetsByCreatorIdDistinctCountTotalSupplyAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_DISTINCT_COUNT_TOTAL_SUPPLY_ASC', - ConfidentialAssetsByCreatorIdDistinctCountTotalSupplyDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_DISTINCT_COUNT_TOTAL_SUPPLY_DESC', - ConfidentialAssetsByCreatorIdDistinctCountUpdatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - ConfidentialAssetsByCreatorIdDistinctCountUpdatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - ConfidentialAssetsByCreatorIdDistinctCountUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetsByCreatorIdDistinctCountUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetsByCreatorIdDistinctCountVenueFilteringAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_DISTINCT_COUNT_VENUE_FILTERING_ASC', - ConfidentialAssetsByCreatorIdDistinctCountVenueFilteringDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_DISTINCT_COUNT_VENUE_FILTERING_DESC', - ConfidentialAssetsByCreatorIdMaxAllowedVenuesAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MAX_ALLOWED_VENUES_ASC', - ConfidentialAssetsByCreatorIdMaxAllowedVenuesDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MAX_ALLOWED_VENUES_DESC', - ConfidentialAssetsByCreatorIdMaxAssetIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MAX_ASSET_ID_ASC', - ConfidentialAssetsByCreatorIdMaxAssetIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MAX_ASSET_ID_DESC', - ConfidentialAssetsByCreatorIdMaxAuditorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MAX_AUDITORS_ASC', - ConfidentialAssetsByCreatorIdMaxAuditorsDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MAX_AUDITORS_DESC', - ConfidentialAssetsByCreatorIdMaxCreatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MAX_CREATED_AT_ASC', - ConfidentialAssetsByCreatorIdMaxCreatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MAX_CREATED_AT_DESC', - ConfidentialAssetsByCreatorIdMaxCreatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MAX_CREATED_BLOCK_ID_ASC', - ConfidentialAssetsByCreatorIdMaxCreatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MAX_CREATED_BLOCK_ID_DESC', - ConfidentialAssetsByCreatorIdMaxCreatorIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MAX_CREATOR_ID_ASC', - ConfidentialAssetsByCreatorIdMaxCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MAX_CREATOR_ID_DESC', - ConfidentialAssetsByCreatorIdMaxDataAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MAX_DATA_ASC', - ConfidentialAssetsByCreatorIdMaxDataDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MAX_DATA_DESC', - ConfidentialAssetsByCreatorIdMaxEventIdxAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MAX_EVENT_IDX_ASC', - ConfidentialAssetsByCreatorIdMaxEventIdxDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MAX_EVENT_IDX_DESC', - ConfidentialAssetsByCreatorIdMaxIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MAX_ID_ASC', - ConfidentialAssetsByCreatorIdMaxIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MAX_ID_DESC', - ConfidentialAssetsByCreatorIdMaxMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MAX_MEDIATORS_ASC', - ConfidentialAssetsByCreatorIdMaxMediatorsDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MAX_MEDIATORS_DESC', - ConfidentialAssetsByCreatorIdMaxTickerAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MAX_TICKER_ASC', - ConfidentialAssetsByCreatorIdMaxTickerDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MAX_TICKER_DESC', - ConfidentialAssetsByCreatorIdMaxTotalSupplyAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MAX_TOTAL_SUPPLY_ASC', - ConfidentialAssetsByCreatorIdMaxTotalSupplyDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MAX_TOTAL_SUPPLY_DESC', - ConfidentialAssetsByCreatorIdMaxUpdatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MAX_UPDATED_AT_ASC', - ConfidentialAssetsByCreatorIdMaxUpdatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MAX_UPDATED_AT_DESC', - ConfidentialAssetsByCreatorIdMaxUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MAX_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetsByCreatorIdMaxUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MAX_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetsByCreatorIdMaxVenueFilteringAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MAX_VENUE_FILTERING_ASC', - ConfidentialAssetsByCreatorIdMaxVenueFilteringDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MAX_VENUE_FILTERING_DESC', - ConfidentialAssetsByCreatorIdMinAllowedVenuesAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MIN_ALLOWED_VENUES_ASC', - ConfidentialAssetsByCreatorIdMinAllowedVenuesDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MIN_ALLOWED_VENUES_DESC', - ConfidentialAssetsByCreatorIdMinAssetIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MIN_ASSET_ID_ASC', - ConfidentialAssetsByCreatorIdMinAssetIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MIN_ASSET_ID_DESC', - ConfidentialAssetsByCreatorIdMinAuditorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MIN_AUDITORS_ASC', - ConfidentialAssetsByCreatorIdMinAuditorsDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MIN_AUDITORS_DESC', - ConfidentialAssetsByCreatorIdMinCreatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MIN_CREATED_AT_ASC', - ConfidentialAssetsByCreatorIdMinCreatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MIN_CREATED_AT_DESC', - ConfidentialAssetsByCreatorIdMinCreatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MIN_CREATED_BLOCK_ID_ASC', - ConfidentialAssetsByCreatorIdMinCreatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MIN_CREATED_BLOCK_ID_DESC', - ConfidentialAssetsByCreatorIdMinCreatorIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MIN_CREATOR_ID_ASC', - ConfidentialAssetsByCreatorIdMinCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MIN_CREATOR_ID_DESC', - ConfidentialAssetsByCreatorIdMinDataAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MIN_DATA_ASC', - ConfidentialAssetsByCreatorIdMinDataDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MIN_DATA_DESC', - ConfidentialAssetsByCreatorIdMinEventIdxAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MIN_EVENT_IDX_ASC', - ConfidentialAssetsByCreatorIdMinEventIdxDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MIN_EVENT_IDX_DESC', - ConfidentialAssetsByCreatorIdMinIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MIN_ID_ASC', - ConfidentialAssetsByCreatorIdMinIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MIN_ID_DESC', - ConfidentialAssetsByCreatorIdMinMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MIN_MEDIATORS_ASC', - ConfidentialAssetsByCreatorIdMinMediatorsDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MIN_MEDIATORS_DESC', - ConfidentialAssetsByCreatorIdMinTickerAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MIN_TICKER_ASC', - ConfidentialAssetsByCreatorIdMinTickerDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MIN_TICKER_DESC', - ConfidentialAssetsByCreatorIdMinTotalSupplyAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MIN_TOTAL_SUPPLY_ASC', - ConfidentialAssetsByCreatorIdMinTotalSupplyDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MIN_TOTAL_SUPPLY_DESC', - ConfidentialAssetsByCreatorIdMinUpdatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MIN_UPDATED_AT_ASC', - ConfidentialAssetsByCreatorIdMinUpdatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MIN_UPDATED_AT_DESC', - ConfidentialAssetsByCreatorIdMinUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MIN_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetsByCreatorIdMinUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MIN_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetsByCreatorIdMinVenueFilteringAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MIN_VENUE_FILTERING_ASC', - ConfidentialAssetsByCreatorIdMinVenueFilteringDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_MIN_VENUE_FILTERING_DESC', - ConfidentialAssetsByCreatorIdStddevPopulationAllowedVenuesAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_POPULATION_ALLOWED_VENUES_ASC', - ConfidentialAssetsByCreatorIdStddevPopulationAllowedVenuesDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_POPULATION_ALLOWED_VENUES_DESC', - ConfidentialAssetsByCreatorIdStddevPopulationAssetIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_POPULATION_ASSET_ID_ASC', - ConfidentialAssetsByCreatorIdStddevPopulationAssetIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_POPULATION_ASSET_ID_DESC', - ConfidentialAssetsByCreatorIdStddevPopulationAuditorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_POPULATION_AUDITORS_ASC', - ConfidentialAssetsByCreatorIdStddevPopulationAuditorsDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_POPULATION_AUDITORS_DESC', - ConfidentialAssetsByCreatorIdStddevPopulationCreatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_POPULATION_CREATED_AT_ASC', - ConfidentialAssetsByCreatorIdStddevPopulationCreatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_POPULATION_CREATED_AT_DESC', - ConfidentialAssetsByCreatorIdStddevPopulationCreatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - ConfidentialAssetsByCreatorIdStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - ConfidentialAssetsByCreatorIdStddevPopulationCreatorIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_POPULATION_CREATOR_ID_ASC', - ConfidentialAssetsByCreatorIdStddevPopulationCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_POPULATION_CREATOR_ID_DESC', - ConfidentialAssetsByCreatorIdStddevPopulationDataAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_POPULATION_DATA_ASC', - ConfidentialAssetsByCreatorIdStddevPopulationDataDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_POPULATION_DATA_DESC', - ConfidentialAssetsByCreatorIdStddevPopulationEventIdxAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_POPULATION_EVENT_IDX_ASC', - ConfidentialAssetsByCreatorIdStddevPopulationEventIdxDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_POPULATION_EVENT_IDX_DESC', - ConfidentialAssetsByCreatorIdStddevPopulationIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_POPULATION_ID_ASC', - ConfidentialAssetsByCreatorIdStddevPopulationIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_POPULATION_ID_DESC', - ConfidentialAssetsByCreatorIdStddevPopulationMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_POPULATION_MEDIATORS_ASC', - ConfidentialAssetsByCreatorIdStddevPopulationMediatorsDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_POPULATION_MEDIATORS_DESC', - ConfidentialAssetsByCreatorIdStddevPopulationTickerAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_POPULATION_TICKER_ASC', - ConfidentialAssetsByCreatorIdStddevPopulationTickerDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_POPULATION_TICKER_DESC', - ConfidentialAssetsByCreatorIdStddevPopulationTotalSupplyAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_POPULATION_TOTAL_SUPPLY_ASC', - ConfidentialAssetsByCreatorIdStddevPopulationTotalSupplyDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_POPULATION_TOTAL_SUPPLY_DESC', - ConfidentialAssetsByCreatorIdStddevPopulationUpdatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - ConfidentialAssetsByCreatorIdStddevPopulationUpdatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - ConfidentialAssetsByCreatorIdStddevPopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetsByCreatorIdStddevPopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetsByCreatorIdStddevPopulationVenueFilteringAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_POPULATION_VENUE_FILTERING_ASC', - ConfidentialAssetsByCreatorIdStddevPopulationVenueFilteringDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_POPULATION_VENUE_FILTERING_DESC', - ConfidentialAssetsByCreatorIdStddevSampleAllowedVenuesAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_SAMPLE_ALLOWED_VENUES_ASC', - ConfidentialAssetsByCreatorIdStddevSampleAllowedVenuesDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_SAMPLE_ALLOWED_VENUES_DESC', - ConfidentialAssetsByCreatorIdStddevSampleAssetIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_SAMPLE_ASSET_ID_ASC', - ConfidentialAssetsByCreatorIdStddevSampleAssetIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_SAMPLE_ASSET_ID_DESC', - ConfidentialAssetsByCreatorIdStddevSampleAuditorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_SAMPLE_AUDITORS_ASC', - ConfidentialAssetsByCreatorIdStddevSampleAuditorsDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_SAMPLE_AUDITORS_DESC', - ConfidentialAssetsByCreatorIdStddevSampleCreatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - ConfidentialAssetsByCreatorIdStddevSampleCreatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - ConfidentialAssetsByCreatorIdStddevSampleCreatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - ConfidentialAssetsByCreatorIdStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - ConfidentialAssetsByCreatorIdStddevSampleCreatorIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_SAMPLE_CREATOR_ID_ASC', - ConfidentialAssetsByCreatorIdStddevSampleCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_SAMPLE_CREATOR_ID_DESC', - ConfidentialAssetsByCreatorIdStddevSampleDataAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_SAMPLE_DATA_ASC', - ConfidentialAssetsByCreatorIdStddevSampleDataDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_SAMPLE_DATA_DESC', - ConfidentialAssetsByCreatorIdStddevSampleEventIdxAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', - ConfidentialAssetsByCreatorIdStddevSampleEventIdxDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', - ConfidentialAssetsByCreatorIdStddevSampleIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_SAMPLE_ID_ASC', - ConfidentialAssetsByCreatorIdStddevSampleIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_SAMPLE_ID_DESC', - ConfidentialAssetsByCreatorIdStddevSampleMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_SAMPLE_MEDIATORS_ASC', - ConfidentialAssetsByCreatorIdStddevSampleMediatorsDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_SAMPLE_MEDIATORS_DESC', - ConfidentialAssetsByCreatorIdStddevSampleTickerAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_SAMPLE_TICKER_ASC', - ConfidentialAssetsByCreatorIdStddevSampleTickerDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_SAMPLE_TICKER_DESC', - ConfidentialAssetsByCreatorIdStddevSampleTotalSupplyAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_SAMPLE_TOTAL_SUPPLY_ASC', - ConfidentialAssetsByCreatorIdStddevSampleTotalSupplyDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_SAMPLE_TOTAL_SUPPLY_DESC', - ConfidentialAssetsByCreatorIdStddevSampleUpdatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - ConfidentialAssetsByCreatorIdStddevSampleUpdatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - ConfidentialAssetsByCreatorIdStddevSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetsByCreatorIdStddevSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetsByCreatorIdStddevSampleVenueFilteringAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_SAMPLE_VENUE_FILTERING_ASC', - ConfidentialAssetsByCreatorIdStddevSampleVenueFilteringDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_STDDEV_SAMPLE_VENUE_FILTERING_DESC', - ConfidentialAssetsByCreatorIdSumAllowedVenuesAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_SUM_ALLOWED_VENUES_ASC', - ConfidentialAssetsByCreatorIdSumAllowedVenuesDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_SUM_ALLOWED_VENUES_DESC', - ConfidentialAssetsByCreatorIdSumAssetIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_SUM_ASSET_ID_ASC', - ConfidentialAssetsByCreatorIdSumAssetIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_SUM_ASSET_ID_DESC', - ConfidentialAssetsByCreatorIdSumAuditorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_SUM_AUDITORS_ASC', - ConfidentialAssetsByCreatorIdSumAuditorsDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_SUM_AUDITORS_DESC', - ConfidentialAssetsByCreatorIdSumCreatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_SUM_CREATED_AT_ASC', - ConfidentialAssetsByCreatorIdSumCreatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_SUM_CREATED_AT_DESC', - ConfidentialAssetsByCreatorIdSumCreatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_SUM_CREATED_BLOCK_ID_ASC', - ConfidentialAssetsByCreatorIdSumCreatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_SUM_CREATED_BLOCK_ID_DESC', - ConfidentialAssetsByCreatorIdSumCreatorIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_SUM_CREATOR_ID_ASC', - ConfidentialAssetsByCreatorIdSumCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_SUM_CREATOR_ID_DESC', - ConfidentialAssetsByCreatorIdSumDataAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_SUM_DATA_ASC', - ConfidentialAssetsByCreatorIdSumDataDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_SUM_DATA_DESC', - ConfidentialAssetsByCreatorIdSumEventIdxAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_SUM_EVENT_IDX_ASC', - ConfidentialAssetsByCreatorIdSumEventIdxDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_SUM_EVENT_IDX_DESC', - ConfidentialAssetsByCreatorIdSumIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_SUM_ID_ASC', - ConfidentialAssetsByCreatorIdSumIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_SUM_ID_DESC', - ConfidentialAssetsByCreatorIdSumMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_SUM_MEDIATORS_ASC', - ConfidentialAssetsByCreatorIdSumMediatorsDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_SUM_MEDIATORS_DESC', - ConfidentialAssetsByCreatorIdSumTickerAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_SUM_TICKER_ASC', - ConfidentialAssetsByCreatorIdSumTickerDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_SUM_TICKER_DESC', - ConfidentialAssetsByCreatorIdSumTotalSupplyAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_SUM_TOTAL_SUPPLY_ASC', - ConfidentialAssetsByCreatorIdSumTotalSupplyDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_SUM_TOTAL_SUPPLY_DESC', - ConfidentialAssetsByCreatorIdSumUpdatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_SUM_UPDATED_AT_ASC', - ConfidentialAssetsByCreatorIdSumUpdatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_SUM_UPDATED_AT_DESC', - ConfidentialAssetsByCreatorIdSumUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_SUM_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetsByCreatorIdSumUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_SUM_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetsByCreatorIdSumVenueFilteringAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_SUM_VENUE_FILTERING_ASC', - ConfidentialAssetsByCreatorIdSumVenueFilteringDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_SUM_VENUE_FILTERING_DESC', - ConfidentialAssetsByCreatorIdVariancePopulationAllowedVenuesAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_POPULATION_ALLOWED_VENUES_ASC', - ConfidentialAssetsByCreatorIdVariancePopulationAllowedVenuesDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_POPULATION_ALLOWED_VENUES_DESC', - ConfidentialAssetsByCreatorIdVariancePopulationAssetIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_POPULATION_ASSET_ID_ASC', - ConfidentialAssetsByCreatorIdVariancePopulationAssetIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_POPULATION_ASSET_ID_DESC', - ConfidentialAssetsByCreatorIdVariancePopulationAuditorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_POPULATION_AUDITORS_ASC', - ConfidentialAssetsByCreatorIdVariancePopulationAuditorsDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_POPULATION_AUDITORS_DESC', - ConfidentialAssetsByCreatorIdVariancePopulationCreatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - ConfidentialAssetsByCreatorIdVariancePopulationCreatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - ConfidentialAssetsByCreatorIdVariancePopulationCreatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - ConfidentialAssetsByCreatorIdVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - ConfidentialAssetsByCreatorIdVariancePopulationCreatorIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_POPULATION_CREATOR_ID_ASC', - ConfidentialAssetsByCreatorIdVariancePopulationCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_POPULATION_CREATOR_ID_DESC', - ConfidentialAssetsByCreatorIdVariancePopulationDataAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_POPULATION_DATA_ASC', - ConfidentialAssetsByCreatorIdVariancePopulationDataDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_POPULATION_DATA_DESC', - ConfidentialAssetsByCreatorIdVariancePopulationEventIdxAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', - ConfidentialAssetsByCreatorIdVariancePopulationEventIdxDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', - ConfidentialAssetsByCreatorIdVariancePopulationIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_POPULATION_ID_ASC', - ConfidentialAssetsByCreatorIdVariancePopulationIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_POPULATION_ID_DESC', - ConfidentialAssetsByCreatorIdVariancePopulationMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_POPULATION_MEDIATORS_ASC', - ConfidentialAssetsByCreatorIdVariancePopulationMediatorsDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_POPULATION_MEDIATORS_DESC', - ConfidentialAssetsByCreatorIdVariancePopulationTickerAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_POPULATION_TICKER_ASC', - ConfidentialAssetsByCreatorIdVariancePopulationTickerDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_POPULATION_TICKER_DESC', - ConfidentialAssetsByCreatorIdVariancePopulationTotalSupplyAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_POPULATION_TOTAL_SUPPLY_ASC', - ConfidentialAssetsByCreatorIdVariancePopulationTotalSupplyDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_POPULATION_TOTAL_SUPPLY_DESC', - ConfidentialAssetsByCreatorIdVariancePopulationUpdatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - ConfidentialAssetsByCreatorIdVariancePopulationUpdatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - ConfidentialAssetsByCreatorIdVariancePopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetsByCreatorIdVariancePopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetsByCreatorIdVariancePopulationVenueFilteringAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_POPULATION_VENUE_FILTERING_ASC', - ConfidentialAssetsByCreatorIdVariancePopulationVenueFilteringDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_POPULATION_VENUE_FILTERING_DESC', - ConfidentialAssetsByCreatorIdVarianceSampleAllowedVenuesAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_SAMPLE_ALLOWED_VENUES_ASC', - ConfidentialAssetsByCreatorIdVarianceSampleAllowedVenuesDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_SAMPLE_ALLOWED_VENUES_DESC', - ConfidentialAssetsByCreatorIdVarianceSampleAssetIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_SAMPLE_ASSET_ID_ASC', - ConfidentialAssetsByCreatorIdVarianceSampleAssetIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_SAMPLE_ASSET_ID_DESC', - ConfidentialAssetsByCreatorIdVarianceSampleAuditorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_SAMPLE_AUDITORS_ASC', - ConfidentialAssetsByCreatorIdVarianceSampleAuditorsDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_SAMPLE_AUDITORS_DESC', - ConfidentialAssetsByCreatorIdVarianceSampleCreatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - ConfidentialAssetsByCreatorIdVarianceSampleCreatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - ConfidentialAssetsByCreatorIdVarianceSampleCreatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - ConfidentialAssetsByCreatorIdVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - ConfidentialAssetsByCreatorIdVarianceSampleCreatorIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_SAMPLE_CREATOR_ID_ASC', - ConfidentialAssetsByCreatorIdVarianceSampleCreatorIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_SAMPLE_CREATOR_ID_DESC', - ConfidentialAssetsByCreatorIdVarianceSampleDataAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_SAMPLE_DATA_ASC', - ConfidentialAssetsByCreatorIdVarianceSampleDataDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_SAMPLE_DATA_DESC', - ConfidentialAssetsByCreatorIdVarianceSampleEventIdxAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', - ConfidentialAssetsByCreatorIdVarianceSampleEventIdxDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', - ConfidentialAssetsByCreatorIdVarianceSampleIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_SAMPLE_ID_ASC', - ConfidentialAssetsByCreatorIdVarianceSampleIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_SAMPLE_ID_DESC', - ConfidentialAssetsByCreatorIdVarianceSampleMediatorsAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_SAMPLE_MEDIATORS_ASC', - ConfidentialAssetsByCreatorIdVarianceSampleMediatorsDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_SAMPLE_MEDIATORS_DESC', - ConfidentialAssetsByCreatorIdVarianceSampleTickerAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_SAMPLE_TICKER_ASC', - ConfidentialAssetsByCreatorIdVarianceSampleTickerDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_SAMPLE_TICKER_DESC', - ConfidentialAssetsByCreatorIdVarianceSampleTotalSupplyAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_SAMPLE_TOTAL_SUPPLY_ASC', - ConfidentialAssetsByCreatorIdVarianceSampleTotalSupplyDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_SAMPLE_TOTAL_SUPPLY_DESC', - ConfidentialAssetsByCreatorIdVarianceSampleUpdatedAtAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - ConfidentialAssetsByCreatorIdVarianceSampleUpdatedAtDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - ConfidentialAssetsByCreatorIdVarianceSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - ConfidentialAssetsByCreatorIdVarianceSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - ConfidentialAssetsByCreatorIdVarianceSampleVenueFilteringAsc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_SAMPLE_VENUE_FILTERING_ASC', - ConfidentialAssetsByCreatorIdVarianceSampleVenueFilteringDesc = 'CONFIDENTIAL_ASSETS_BY_CREATOR_ID_VARIANCE_SAMPLE_VENUE_FILTERING_DESC', - ConfidentialTransactionAffirmationsAverageAccountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_AVERAGE_ACCOUNT_ID_ASC', - ConfidentialTransactionAffirmationsAverageAccountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_AVERAGE_ACCOUNT_ID_DESC', - ConfidentialTransactionAffirmationsAverageCreatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_AVERAGE_CREATED_AT_ASC', - ConfidentialTransactionAffirmationsAverageCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_AVERAGE_CREATED_AT_DESC', - ConfidentialTransactionAffirmationsAverageCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_AVERAGE_CREATED_BLOCK_ID_ASC', - ConfidentialTransactionAffirmationsAverageCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_AVERAGE_CREATED_BLOCK_ID_DESC', - ConfidentialTransactionAffirmationsAverageEventIdxAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_AVERAGE_EVENT_IDX_ASC', - ConfidentialTransactionAffirmationsAverageEventIdxDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_AVERAGE_EVENT_IDX_DESC', - ConfidentialTransactionAffirmationsAverageIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_AVERAGE_IDENTITY_ID_ASC', - ConfidentialTransactionAffirmationsAverageIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_AVERAGE_IDENTITY_ID_DESC', - ConfidentialTransactionAffirmationsAverageIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_AVERAGE_ID_ASC', - ConfidentialTransactionAffirmationsAverageIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_AVERAGE_ID_DESC', - ConfidentialTransactionAffirmationsAverageLegIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_AVERAGE_LEG_ID_ASC', - ConfidentialTransactionAffirmationsAverageLegIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_AVERAGE_LEG_ID_DESC', - ConfidentialTransactionAffirmationsAverageProofsAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_AVERAGE_PROOFS_ASC', - ConfidentialTransactionAffirmationsAverageProofsDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_AVERAGE_PROOFS_DESC', - ConfidentialTransactionAffirmationsAverageStatusAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_AVERAGE_STATUS_ASC', - ConfidentialTransactionAffirmationsAverageStatusDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_AVERAGE_STATUS_DESC', - ConfidentialTransactionAffirmationsAverageTransactionIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_AVERAGE_TRANSACTION_ID_ASC', - ConfidentialTransactionAffirmationsAverageTransactionIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_AVERAGE_TRANSACTION_ID_DESC', - ConfidentialTransactionAffirmationsAverageTypeAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_AVERAGE_TYPE_ASC', - ConfidentialTransactionAffirmationsAverageTypeDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_AVERAGE_TYPE_DESC', - ConfidentialTransactionAffirmationsAverageUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_AVERAGE_UPDATED_AT_ASC', - ConfidentialTransactionAffirmationsAverageUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_AVERAGE_UPDATED_AT_DESC', - ConfidentialTransactionAffirmationsAverageUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_AVERAGE_UPDATED_BLOCK_ID_ASC', - ConfidentialTransactionAffirmationsAverageUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_AVERAGE_UPDATED_BLOCK_ID_DESC', - ConfidentialTransactionAffirmationsCountAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_COUNT_ASC', - ConfidentialTransactionAffirmationsCountDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_COUNT_DESC', - ConfidentialTransactionAffirmationsDistinctCountAccountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_DISTINCT_COUNT_ACCOUNT_ID_ASC', - ConfidentialTransactionAffirmationsDistinctCountAccountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_DISTINCT_COUNT_ACCOUNT_ID_DESC', - ConfidentialTransactionAffirmationsDistinctCountCreatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_DISTINCT_COUNT_CREATED_AT_ASC', - ConfidentialTransactionAffirmationsDistinctCountCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_DISTINCT_COUNT_CREATED_AT_DESC', - ConfidentialTransactionAffirmationsDistinctCountCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - ConfidentialTransactionAffirmationsDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - ConfidentialTransactionAffirmationsDistinctCountEventIdxAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_DISTINCT_COUNT_EVENT_IDX_ASC', - ConfidentialTransactionAffirmationsDistinctCountEventIdxDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_DISTINCT_COUNT_EVENT_IDX_DESC', - ConfidentialTransactionAffirmationsDistinctCountIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_DISTINCT_COUNT_IDENTITY_ID_ASC', - ConfidentialTransactionAffirmationsDistinctCountIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_DISTINCT_COUNT_IDENTITY_ID_DESC', - ConfidentialTransactionAffirmationsDistinctCountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_DISTINCT_COUNT_ID_ASC', - ConfidentialTransactionAffirmationsDistinctCountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_DISTINCT_COUNT_ID_DESC', - ConfidentialTransactionAffirmationsDistinctCountLegIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_DISTINCT_COUNT_LEG_ID_ASC', - ConfidentialTransactionAffirmationsDistinctCountLegIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_DISTINCT_COUNT_LEG_ID_DESC', - ConfidentialTransactionAffirmationsDistinctCountProofsAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_DISTINCT_COUNT_PROOFS_ASC', - ConfidentialTransactionAffirmationsDistinctCountProofsDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_DISTINCT_COUNT_PROOFS_DESC', - ConfidentialTransactionAffirmationsDistinctCountStatusAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_DISTINCT_COUNT_STATUS_ASC', - ConfidentialTransactionAffirmationsDistinctCountStatusDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_DISTINCT_COUNT_STATUS_DESC', - ConfidentialTransactionAffirmationsDistinctCountTransactionIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_DISTINCT_COUNT_TRANSACTION_ID_ASC', - ConfidentialTransactionAffirmationsDistinctCountTransactionIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_DISTINCT_COUNT_TRANSACTION_ID_DESC', - ConfidentialTransactionAffirmationsDistinctCountTypeAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_DISTINCT_COUNT_TYPE_ASC', - ConfidentialTransactionAffirmationsDistinctCountTypeDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_DISTINCT_COUNT_TYPE_DESC', - ConfidentialTransactionAffirmationsDistinctCountUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_DISTINCT_COUNT_UPDATED_AT_ASC', - ConfidentialTransactionAffirmationsDistinctCountUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_DISTINCT_COUNT_UPDATED_AT_DESC', - ConfidentialTransactionAffirmationsDistinctCountUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - ConfidentialTransactionAffirmationsDistinctCountUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - ConfidentialTransactionAffirmationsMaxAccountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MAX_ACCOUNT_ID_ASC', - ConfidentialTransactionAffirmationsMaxAccountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MAX_ACCOUNT_ID_DESC', - ConfidentialTransactionAffirmationsMaxCreatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MAX_CREATED_AT_ASC', - ConfidentialTransactionAffirmationsMaxCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MAX_CREATED_AT_DESC', - ConfidentialTransactionAffirmationsMaxCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MAX_CREATED_BLOCK_ID_ASC', - ConfidentialTransactionAffirmationsMaxCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MAX_CREATED_BLOCK_ID_DESC', - ConfidentialTransactionAffirmationsMaxEventIdxAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MAX_EVENT_IDX_ASC', - ConfidentialTransactionAffirmationsMaxEventIdxDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MAX_EVENT_IDX_DESC', - ConfidentialTransactionAffirmationsMaxIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MAX_IDENTITY_ID_ASC', - ConfidentialTransactionAffirmationsMaxIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MAX_IDENTITY_ID_DESC', - ConfidentialTransactionAffirmationsMaxIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MAX_ID_ASC', - ConfidentialTransactionAffirmationsMaxIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MAX_ID_DESC', - ConfidentialTransactionAffirmationsMaxLegIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MAX_LEG_ID_ASC', - ConfidentialTransactionAffirmationsMaxLegIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MAX_LEG_ID_DESC', - ConfidentialTransactionAffirmationsMaxProofsAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MAX_PROOFS_ASC', - ConfidentialTransactionAffirmationsMaxProofsDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MAX_PROOFS_DESC', - ConfidentialTransactionAffirmationsMaxStatusAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MAX_STATUS_ASC', - ConfidentialTransactionAffirmationsMaxStatusDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MAX_STATUS_DESC', - ConfidentialTransactionAffirmationsMaxTransactionIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MAX_TRANSACTION_ID_ASC', - ConfidentialTransactionAffirmationsMaxTransactionIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MAX_TRANSACTION_ID_DESC', - ConfidentialTransactionAffirmationsMaxTypeAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MAX_TYPE_ASC', - ConfidentialTransactionAffirmationsMaxTypeDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MAX_TYPE_DESC', - ConfidentialTransactionAffirmationsMaxUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MAX_UPDATED_AT_ASC', - ConfidentialTransactionAffirmationsMaxUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MAX_UPDATED_AT_DESC', - ConfidentialTransactionAffirmationsMaxUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MAX_UPDATED_BLOCK_ID_ASC', - ConfidentialTransactionAffirmationsMaxUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MAX_UPDATED_BLOCK_ID_DESC', - ConfidentialTransactionAffirmationsMinAccountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MIN_ACCOUNT_ID_ASC', - ConfidentialTransactionAffirmationsMinAccountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MIN_ACCOUNT_ID_DESC', - ConfidentialTransactionAffirmationsMinCreatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MIN_CREATED_AT_ASC', - ConfidentialTransactionAffirmationsMinCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MIN_CREATED_AT_DESC', - ConfidentialTransactionAffirmationsMinCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MIN_CREATED_BLOCK_ID_ASC', - ConfidentialTransactionAffirmationsMinCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MIN_CREATED_BLOCK_ID_DESC', - ConfidentialTransactionAffirmationsMinEventIdxAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MIN_EVENT_IDX_ASC', - ConfidentialTransactionAffirmationsMinEventIdxDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MIN_EVENT_IDX_DESC', - ConfidentialTransactionAffirmationsMinIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MIN_IDENTITY_ID_ASC', - ConfidentialTransactionAffirmationsMinIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MIN_IDENTITY_ID_DESC', - ConfidentialTransactionAffirmationsMinIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MIN_ID_ASC', - ConfidentialTransactionAffirmationsMinIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MIN_ID_DESC', - ConfidentialTransactionAffirmationsMinLegIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MIN_LEG_ID_ASC', - ConfidentialTransactionAffirmationsMinLegIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MIN_LEG_ID_DESC', - ConfidentialTransactionAffirmationsMinProofsAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MIN_PROOFS_ASC', - ConfidentialTransactionAffirmationsMinProofsDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MIN_PROOFS_DESC', - ConfidentialTransactionAffirmationsMinStatusAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MIN_STATUS_ASC', - ConfidentialTransactionAffirmationsMinStatusDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MIN_STATUS_DESC', - ConfidentialTransactionAffirmationsMinTransactionIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MIN_TRANSACTION_ID_ASC', - ConfidentialTransactionAffirmationsMinTransactionIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MIN_TRANSACTION_ID_DESC', - ConfidentialTransactionAffirmationsMinTypeAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MIN_TYPE_ASC', - ConfidentialTransactionAffirmationsMinTypeDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MIN_TYPE_DESC', - ConfidentialTransactionAffirmationsMinUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MIN_UPDATED_AT_ASC', - ConfidentialTransactionAffirmationsMinUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MIN_UPDATED_AT_DESC', - ConfidentialTransactionAffirmationsMinUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MIN_UPDATED_BLOCK_ID_ASC', - ConfidentialTransactionAffirmationsMinUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_MIN_UPDATED_BLOCK_ID_DESC', - ConfidentialTransactionAffirmationsStddevPopulationAccountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_POPULATION_ACCOUNT_ID_ASC', - ConfidentialTransactionAffirmationsStddevPopulationAccountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_POPULATION_ACCOUNT_ID_DESC', - ConfidentialTransactionAffirmationsStddevPopulationCreatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_POPULATION_CREATED_AT_ASC', - ConfidentialTransactionAffirmationsStddevPopulationCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_POPULATION_CREATED_AT_DESC', - ConfidentialTransactionAffirmationsStddevPopulationCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - ConfidentialTransactionAffirmationsStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - ConfidentialTransactionAffirmationsStddevPopulationEventIdxAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_POPULATION_EVENT_IDX_ASC', - ConfidentialTransactionAffirmationsStddevPopulationEventIdxDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_POPULATION_EVENT_IDX_DESC', - ConfidentialTransactionAffirmationsStddevPopulationIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_POPULATION_IDENTITY_ID_ASC', - ConfidentialTransactionAffirmationsStddevPopulationIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_POPULATION_IDENTITY_ID_DESC', - ConfidentialTransactionAffirmationsStddevPopulationIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_POPULATION_ID_ASC', - ConfidentialTransactionAffirmationsStddevPopulationIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_POPULATION_ID_DESC', - ConfidentialTransactionAffirmationsStddevPopulationLegIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_POPULATION_LEG_ID_ASC', - ConfidentialTransactionAffirmationsStddevPopulationLegIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_POPULATION_LEG_ID_DESC', - ConfidentialTransactionAffirmationsStddevPopulationProofsAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_POPULATION_PROOFS_ASC', - ConfidentialTransactionAffirmationsStddevPopulationProofsDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_POPULATION_PROOFS_DESC', - ConfidentialTransactionAffirmationsStddevPopulationStatusAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_POPULATION_STATUS_ASC', - ConfidentialTransactionAffirmationsStddevPopulationStatusDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_POPULATION_STATUS_DESC', - ConfidentialTransactionAffirmationsStddevPopulationTransactionIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_POPULATION_TRANSACTION_ID_ASC', - ConfidentialTransactionAffirmationsStddevPopulationTransactionIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_POPULATION_TRANSACTION_ID_DESC', - ConfidentialTransactionAffirmationsStddevPopulationTypeAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_POPULATION_TYPE_ASC', - ConfidentialTransactionAffirmationsStddevPopulationTypeDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_POPULATION_TYPE_DESC', - ConfidentialTransactionAffirmationsStddevPopulationUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_POPULATION_UPDATED_AT_ASC', - ConfidentialTransactionAffirmationsStddevPopulationUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_POPULATION_UPDATED_AT_DESC', - ConfidentialTransactionAffirmationsStddevPopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - ConfidentialTransactionAffirmationsStddevPopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - ConfidentialTransactionAffirmationsStddevSampleAccountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_SAMPLE_ACCOUNT_ID_ASC', - ConfidentialTransactionAffirmationsStddevSampleAccountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_SAMPLE_ACCOUNT_ID_DESC', - ConfidentialTransactionAffirmationsStddevSampleCreatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_SAMPLE_CREATED_AT_ASC', - ConfidentialTransactionAffirmationsStddevSampleCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_SAMPLE_CREATED_AT_DESC', - ConfidentialTransactionAffirmationsStddevSampleCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - ConfidentialTransactionAffirmationsStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - ConfidentialTransactionAffirmationsStddevSampleEventIdxAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_SAMPLE_EVENT_IDX_ASC', - ConfidentialTransactionAffirmationsStddevSampleEventIdxDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_SAMPLE_EVENT_IDX_DESC', - ConfidentialTransactionAffirmationsStddevSampleIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_SAMPLE_IDENTITY_ID_ASC', - ConfidentialTransactionAffirmationsStddevSampleIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_SAMPLE_IDENTITY_ID_DESC', - ConfidentialTransactionAffirmationsStddevSampleIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_SAMPLE_ID_ASC', - ConfidentialTransactionAffirmationsStddevSampleIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_SAMPLE_ID_DESC', - ConfidentialTransactionAffirmationsStddevSampleLegIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_SAMPLE_LEG_ID_ASC', - ConfidentialTransactionAffirmationsStddevSampleLegIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_SAMPLE_LEG_ID_DESC', - ConfidentialTransactionAffirmationsStddevSampleProofsAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_SAMPLE_PROOFS_ASC', - ConfidentialTransactionAffirmationsStddevSampleProofsDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_SAMPLE_PROOFS_DESC', - ConfidentialTransactionAffirmationsStddevSampleStatusAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_SAMPLE_STATUS_ASC', - ConfidentialTransactionAffirmationsStddevSampleStatusDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_SAMPLE_STATUS_DESC', - ConfidentialTransactionAffirmationsStddevSampleTransactionIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_SAMPLE_TRANSACTION_ID_ASC', - ConfidentialTransactionAffirmationsStddevSampleTransactionIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_SAMPLE_TRANSACTION_ID_DESC', - ConfidentialTransactionAffirmationsStddevSampleTypeAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_SAMPLE_TYPE_ASC', - ConfidentialTransactionAffirmationsStddevSampleTypeDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_SAMPLE_TYPE_DESC', - ConfidentialTransactionAffirmationsStddevSampleUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_SAMPLE_UPDATED_AT_ASC', - ConfidentialTransactionAffirmationsStddevSampleUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_SAMPLE_UPDATED_AT_DESC', - ConfidentialTransactionAffirmationsStddevSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - ConfidentialTransactionAffirmationsStddevSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - ConfidentialTransactionAffirmationsSumAccountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_SUM_ACCOUNT_ID_ASC', - ConfidentialTransactionAffirmationsSumAccountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_SUM_ACCOUNT_ID_DESC', - ConfidentialTransactionAffirmationsSumCreatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_SUM_CREATED_AT_ASC', - ConfidentialTransactionAffirmationsSumCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_SUM_CREATED_AT_DESC', - ConfidentialTransactionAffirmationsSumCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_SUM_CREATED_BLOCK_ID_ASC', - ConfidentialTransactionAffirmationsSumCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_SUM_CREATED_BLOCK_ID_DESC', - ConfidentialTransactionAffirmationsSumEventIdxAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_SUM_EVENT_IDX_ASC', - ConfidentialTransactionAffirmationsSumEventIdxDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_SUM_EVENT_IDX_DESC', - ConfidentialTransactionAffirmationsSumIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_SUM_IDENTITY_ID_ASC', - ConfidentialTransactionAffirmationsSumIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_SUM_IDENTITY_ID_DESC', - ConfidentialTransactionAffirmationsSumIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_SUM_ID_ASC', - ConfidentialTransactionAffirmationsSumIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_SUM_ID_DESC', - ConfidentialTransactionAffirmationsSumLegIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_SUM_LEG_ID_ASC', - ConfidentialTransactionAffirmationsSumLegIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_SUM_LEG_ID_DESC', - ConfidentialTransactionAffirmationsSumProofsAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_SUM_PROOFS_ASC', - ConfidentialTransactionAffirmationsSumProofsDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_SUM_PROOFS_DESC', - ConfidentialTransactionAffirmationsSumStatusAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_SUM_STATUS_ASC', - ConfidentialTransactionAffirmationsSumStatusDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_SUM_STATUS_DESC', - ConfidentialTransactionAffirmationsSumTransactionIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_SUM_TRANSACTION_ID_ASC', - ConfidentialTransactionAffirmationsSumTransactionIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_SUM_TRANSACTION_ID_DESC', - ConfidentialTransactionAffirmationsSumTypeAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_SUM_TYPE_ASC', - ConfidentialTransactionAffirmationsSumTypeDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_SUM_TYPE_DESC', - ConfidentialTransactionAffirmationsSumUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_SUM_UPDATED_AT_ASC', - ConfidentialTransactionAffirmationsSumUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_SUM_UPDATED_AT_DESC', - ConfidentialTransactionAffirmationsSumUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_SUM_UPDATED_BLOCK_ID_ASC', - ConfidentialTransactionAffirmationsSumUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_SUM_UPDATED_BLOCK_ID_DESC', - ConfidentialTransactionAffirmationsVariancePopulationAccountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_POPULATION_ACCOUNT_ID_ASC', - ConfidentialTransactionAffirmationsVariancePopulationAccountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_POPULATION_ACCOUNT_ID_DESC', - ConfidentialTransactionAffirmationsVariancePopulationCreatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_POPULATION_CREATED_AT_ASC', - ConfidentialTransactionAffirmationsVariancePopulationCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_POPULATION_CREATED_AT_DESC', - ConfidentialTransactionAffirmationsVariancePopulationCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - ConfidentialTransactionAffirmationsVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - ConfidentialTransactionAffirmationsVariancePopulationEventIdxAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_POPULATION_EVENT_IDX_ASC', - ConfidentialTransactionAffirmationsVariancePopulationEventIdxDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_POPULATION_EVENT_IDX_DESC', - ConfidentialTransactionAffirmationsVariancePopulationIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_POPULATION_IDENTITY_ID_ASC', - ConfidentialTransactionAffirmationsVariancePopulationIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_POPULATION_IDENTITY_ID_DESC', - ConfidentialTransactionAffirmationsVariancePopulationIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_POPULATION_ID_ASC', - ConfidentialTransactionAffirmationsVariancePopulationIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_POPULATION_ID_DESC', - ConfidentialTransactionAffirmationsVariancePopulationLegIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_POPULATION_LEG_ID_ASC', - ConfidentialTransactionAffirmationsVariancePopulationLegIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_POPULATION_LEG_ID_DESC', - ConfidentialTransactionAffirmationsVariancePopulationProofsAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_POPULATION_PROOFS_ASC', - ConfidentialTransactionAffirmationsVariancePopulationProofsDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_POPULATION_PROOFS_DESC', - ConfidentialTransactionAffirmationsVariancePopulationStatusAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_POPULATION_STATUS_ASC', - ConfidentialTransactionAffirmationsVariancePopulationStatusDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_POPULATION_STATUS_DESC', - ConfidentialTransactionAffirmationsVariancePopulationTransactionIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_POPULATION_TRANSACTION_ID_ASC', - ConfidentialTransactionAffirmationsVariancePopulationTransactionIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_POPULATION_TRANSACTION_ID_DESC', - ConfidentialTransactionAffirmationsVariancePopulationTypeAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_POPULATION_TYPE_ASC', - ConfidentialTransactionAffirmationsVariancePopulationTypeDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_POPULATION_TYPE_DESC', - ConfidentialTransactionAffirmationsVariancePopulationUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_POPULATION_UPDATED_AT_ASC', - ConfidentialTransactionAffirmationsVariancePopulationUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_POPULATION_UPDATED_AT_DESC', - ConfidentialTransactionAffirmationsVariancePopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - ConfidentialTransactionAffirmationsVariancePopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - ConfidentialTransactionAffirmationsVarianceSampleAccountIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_SAMPLE_ACCOUNT_ID_ASC', - ConfidentialTransactionAffirmationsVarianceSampleAccountIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_SAMPLE_ACCOUNT_ID_DESC', - ConfidentialTransactionAffirmationsVarianceSampleCreatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_SAMPLE_CREATED_AT_ASC', - ConfidentialTransactionAffirmationsVarianceSampleCreatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_SAMPLE_CREATED_AT_DESC', - ConfidentialTransactionAffirmationsVarianceSampleCreatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - ConfidentialTransactionAffirmationsVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - ConfidentialTransactionAffirmationsVarianceSampleEventIdxAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_SAMPLE_EVENT_IDX_ASC', - ConfidentialTransactionAffirmationsVarianceSampleEventIdxDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_SAMPLE_EVENT_IDX_DESC', - ConfidentialTransactionAffirmationsVarianceSampleIdentityIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_SAMPLE_IDENTITY_ID_ASC', - ConfidentialTransactionAffirmationsVarianceSampleIdentityIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_SAMPLE_IDENTITY_ID_DESC', - ConfidentialTransactionAffirmationsVarianceSampleIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_SAMPLE_ID_ASC', - ConfidentialTransactionAffirmationsVarianceSampleIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_SAMPLE_ID_DESC', - ConfidentialTransactionAffirmationsVarianceSampleLegIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_SAMPLE_LEG_ID_ASC', - ConfidentialTransactionAffirmationsVarianceSampleLegIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_SAMPLE_LEG_ID_DESC', - ConfidentialTransactionAffirmationsVarianceSampleProofsAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_SAMPLE_PROOFS_ASC', - ConfidentialTransactionAffirmationsVarianceSampleProofsDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_SAMPLE_PROOFS_DESC', - ConfidentialTransactionAffirmationsVarianceSampleStatusAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_SAMPLE_STATUS_ASC', - ConfidentialTransactionAffirmationsVarianceSampleStatusDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_SAMPLE_STATUS_DESC', - ConfidentialTransactionAffirmationsVarianceSampleTransactionIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_SAMPLE_TRANSACTION_ID_ASC', - ConfidentialTransactionAffirmationsVarianceSampleTransactionIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_SAMPLE_TRANSACTION_ID_DESC', - ConfidentialTransactionAffirmationsVarianceSampleTypeAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_SAMPLE_TYPE_ASC', - ConfidentialTransactionAffirmationsVarianceSampleTypeDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_SAMPLE_TYPE_DESC', - ConfidentialTransactionAffirmationsVarianceSampleUpdatedAtAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_SAMPLE_UPDATED_AT_ASC', - ConfidentialTransactionAffirmationsVarianceSampleUpdatedAtDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_SAMPLE_UPDATED_AT_DESC', - ConfidentialTransactionAffirmationsVarianceSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - ConfidentialTransactionAffirmationsVarianceSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_TRANSACTION_AFFIRMATIONS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - ConfidentialVenuesByCreatorIdAverageCreatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_AVERAGE_CREATED_AT_ASC', - ConfidentialVenuesByCreatorIdAverageCreatedAtDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_AVERAGE_CREATED_AT_DESC', - ConfidentialVenuesByCreatorIdAverageCreatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - ConfidentialVenuesByCreatorIdAverageCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - ConfidentialVenuesByCreatorIdAverageCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_AVERAGE_CREATOR_ID_ASC', - ConfidentialVenuesByCreatorIdAverageCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_AVERAGE_CREATOR_ID_DESC', - ConfidentialVenuesByCreatorIdAverageEventIdxAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_AVERAGE_EVENT_IDX_ASC', - ConfidentialVenuesByCreatorIdAverageEventIdxDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_AVERAGE_EVENT_IDX_DESC', - ConfidentialVenuesByCreatorIdAverageIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_AVERAGE_ID_ASC', - ConfidentialVenuesByCreatorIdAverageIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_AVERAGE_ID_DESC', - ConfidentialVenuesByCreatorIdAverageUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_AVERAGE_UPDATED_AT_ASC', - ConfidentialVenuesByCreatorIdAverageUpdatedAtDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_AVERAGE_UPDATED_AT_DESC', - ConfidentialVenuesByCreatorIdAverageUpdatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - ConfidentialVenuesByCreatorIdAverageUpdatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - ConfidentialVenuesByCreatorIdAverageVenueIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_AVERAGE_VENUE_ID_ASC', - ConfidentialVenuesByCreatorIdAverageVenueIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_AVERAGE_VENUE_ID_DESC', - ConfidentialVenuesByCreatorIdCountAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_COUNT_ASC', - ConfidentialVenuesByCreatorIdCountDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_COUNT_DESC', - ConfidentialVenuesByCreatorIdDistinctCountCreatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_DISTINCT_COUNT_CREATED_AT_ASC', - ConfidentialVenuesByCreatorIdDistinctCountCreatedAtDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_DISTINCT_COUNT_CREATED_AT_DESC', - ConfidentialVenuesByCreatorIdDistinctCountCreatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - ConfidentialVenuesByCreatorIdDistinctCountCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - ConfidentialVenuesByCreatorIdDistinctCountCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_DISTINCT_COUNT_CREATOR_ID_ASC', - ConfidentialVenuesByCreatorIdDistinctCountCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_DISTINCT_COUNT_CREATOR_ID_DESC', - ConfidentialVenuesByCreatorIdDistinctCountEventIdxAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_DISTINCT_COUNT_EVENT_IDX_ASC', - ConfidentialVenuesByCreatorIdDistinctCountEventIdxDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_DISTINCT_COUNT_EVENT_IDX_DESC', - ConfidentialVenuesByCreatorIdDistinctCountIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_DISTINCT_COUNT_ID_ASC', - ConfidentialVenuesByCreatorIdDistinctCountIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_DISTINCT_COUNT_ID_DESC', - ConfidentialVenuesByCreatorIdDistinctCountUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - ConfidentialVenuesByCreatorIdDistinctCountUpdatedAtDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - ConfidentialVenuesByCreatorIdDistinctCountUpdatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - ConfidentialVenuesByCreatorIdDistinctCountUpdatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - ConfidentialVenuesByCreatorIdDistinctCountVenueIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_DISTINCT_COUNT_VENUE_ID_ASC', - ConfidentialVenuesByCreatorIdDistinctCountVenueIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_DISTINCT_COUNT_VENUE_ID_DESC', - ConfidentialVenuesByCreatorIdMaxCreatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MAX_CREATED_AT_ASC', - ConfidentialVenuesByCreatorIdMaxCreatedAtDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MAX_CREATED_AT_DESC', - ConfidentialVenuesByCreatorIdMaxCreatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MAX_CREATED_BLOCK_ID_ASC', - ConfidentialVenuesByCreatorIdMaxCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MAX_CREATED_BLOCK_ID_DESC', - ConfidentialVenuesByCreatorIdMaxCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MAX_CREATOR_ID_ASC', - ConfidentialVenuesByCreatorIdMaxCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MAX_CREATOR_ID_DESC', - ConfidentialVenuesByCreatorIdMaxEventIdxAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MAX_EVENT_IDX_ASC', - ConfidentialVenuesByCreatorIdMaxEventIdxDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MAX_EVENT_IDX_DESC', - ConfidentialVenuesByCreatorIdMaxIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MAX_ID_ASC', - ConfidentialVenuesByCreatorIdMaxIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MAX_ID_DESC', - ConfidentialVenuesByCreatorIdMaxUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MAX_UPDATED_AT_ASC', - ConfidentialVenuesByCreatorIdMaxUpdatedAtDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MAX_UPDATED_AT_DESC', - ConfidentialVenuesByCreatorIdMaxUpdatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MAX_UPDATED_BLOCK_ID_ASC', - ConfidentialVenuesByCreatorIdMaxUpdatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MAX_UPDATED_BLOCK_ID_DESC', - ConfidentialVenuesByCreatorIdMaxVenueIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MAX_VENUE_ID_ASC', - ConfidentialVenuesByCreatorIdMaxVenueIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MAX_VENUE_ID_DESC', - ConfidentialVenuesByCreatorIdMinCreatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MIN_CREATED_AT_ASC', - ConfidentialVenuesByCreatorIdMinCreatedAtDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MIN_CREATED_AT_DESC', - ConfidentialVenuesByCreatorIdMinCreatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MIN_CREATED_BLOCK_ID_ASC', - ConfidentialVenuesByCreatorIdMinCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MIN_CREATED_BLOCK_ID_DESC', - ConfidentialVenuesByCreatorIdMinCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MIN_CREATOR_ID_ASC', - ConfidentialVenuesByCreatorIdMinCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MIN_CREATOR_ID_DESC', - ConfidentialVenuesByCreatorIdMinEventIdxAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MIN_EVENT_IDX_ASC', - ConfidentialVenuesByCreatorIdMinEventIdxDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MIN_EVENT_IDX_DESC', - ConfidentialVenuesByCreatorIdMinIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MIN_ID_ASC', - ConfidentialVenuesByCreatorIdMinIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MIN_ID_DESC', - ConfidentialVenuesByCreatorIdMinUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MIN_UPDATED_AT_ASC', - ConfidentialVenuesByCreatorIdMinUpdatedAtDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MIN_UPDATED_AT_DESC', - ConfidentialVenuesByCreatorIdMinUpdatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MIN_UPDATED_BLOCK_ID_ASC', - ConfidentialVenuesByCreatorIdMinUpdatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MIN_UPDATED_BLOCK_ID_DESC', - ConfidentialVenuesByCreatorIdMinVenueIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MIN_VENUE_ID_ASC', - ConfidentialVenuesByCreatorIdMinVenueIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_MIN_VENUE_ID_DESC', - ConfidentialVenuesByCreatorIdStddevPopulationCreatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_POPULATION_CREATED_AT_ASC', - ConfidentialVenuesByCreatorIdStddevPopulationCreatedAtDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_POPULATION_CREATED_AT_DESC', - ConfidentialVenuesByCreatorIdStddevPopulationCreatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - ConfidentialVenuesByCreatorIdStddevPopulationCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - ConfidentialVenuesByCreatorIdStddevPopulationCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_POPULATION_CREATOR_ID_ASC', - ConfidentialVenuesByCreatorIdStddevPopulationCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_POPULATION_CREATOR_ID_DESC', - ConfidentialVenuesByCreatorIdStddevPopulationEventIdxAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_POPULATION_EVENT_IDX_ASC', - ConfidentialVenuesByCreatorIdStddevPopulationEventIdxDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_POPULATION_EVENT_IDX_DESC', - ConfidentialVenuesByCreatorIdStddevPopulationIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_POPULATION_ID_ASC', - ConfidentialVenuesByCreatorIdStddevPopulationIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_POPULATION_ID_DESC', - ConfidentialVenuesByCreatorIdStddevPopulationUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - ConfidentialVenuesByCreatorIdStddevPopulationUpdatedAtDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - ConfidentialVenuesByCreatorIdStddevPopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - ConfidentialVenuesByCreatorIdStddevPopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - ConfidentialVenuesByCreatorIdStddevPopulationVenueIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_POPULATION_VENUE_ID_ASC', - ConfidentialVenuesByCreatorIdStddevPopulationVenueIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_POPULATION_VENUE_ID_DESC', - ConfidentialVenuesByCreatorIdStddevSampleCreatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - ConfidentialVenuesByCreatorIdStddevSampleCreatedAtDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - ConfidentialVenuesByCreatorIdStddevSampleCreatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - ConfidentialVenuesByCreatorIdStddevSampleCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - ConfidentialVenuesByCreatorIdStddevSampleCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_SAMPLE_CREATOR_ID_ASC', - ConfidentialVenuesByCreatorIdStddevSampleCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_SAMPLE_CREATOR_ID_DESC', - ConfidentialVenuesByCreatorIdStddevSampleEventIdxAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', - ConfidentialVenuesByCreatorIdStddevSampleEventIdxDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', - ConfidentialVenuesByCreatorIdStddevSampleIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_SAMPLE_ID_ASC', - ConfidentialVenuesByCreatorIdStddevSampleIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_SAMPLE_ID_DESC', - ConfidentialVenuesByCreatorIdStddevSampleUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - ConfidentialVenuesByCreatorIdStddevSampleUpdatedAtDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - ConfidentialVenuesByCreatorIdStddevSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - ConfidentialVenuesByCreatorIdStddevSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - ConfidentialVenuesByCreatorIdStddevSampleVenueIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_SAMPLE_VENUE_ID_ASC', - ConfidentialVenuesByCreatorIdStddevSampleVenueIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_STDDEV_SAMPLE_VENUE_ID_DESC', - ConfidentialVenuesByCreatorIdSumCreatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_SUM_CREATED_AT_ASC', - ConfidentialVenuesByCreatorIdSumCreatedAtDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_SUM_CREATED_AT_DESC', - ConfidentialVenuesByCreatorIdSumCreatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_SUM_CREATED_BLOCK_ID_ASC', - ConfidentialVenuesByCreatorIdSumCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_SUM_CREATED_BLOCK_ID_DESC', - ConfidentialVenuesByCreatorIdSumCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_SUM_CREATOR_ID_ASC', - ConfidentialVenuesByCreatorIdSumCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_SUM_CREATOR_ID_DESC', - ConfidentialVenuesByCreatorIdSumEventIdxAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_SUM_EVENT_IDX_ASC', - ConfidentialVenuesByCreatorIdSumEventIdxDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_SUM_EVENT_IDX_DESC', - ConfidentialVenuesByCreatorIdSumIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_SUM_ID_ASC', - ConfidentialVenuesByCreatorIdSumIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_SUM_ID_DESC', - ConfidentialVenuesByCreatorIdSumUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_SUM_UPDATED_AT_ASC', - ConfidentialVenuesByCreatorIdSumUpdatedAtDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_SUM_UPDATED_AT_DESC', - ConfidentialVenuesByCreatorIdSumUpdatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_SUM_UPDATED_BLOCK_ID_ASC', - ConfidentialVenuesByCreatorIdSumUpdatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_SUM_UPDATED_BLOCK_ID_DESC', - ConfidentialVenuesByCreatorIdSumVenueIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_SUM_VENUE_ID_ASC', - ConfidentialVenuesByCreatorIdSumVenueIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_SUM_VENUE_ID_DESC', - ConfidentialVenuesByCreatorIdVariancePopulationCreatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - ConfidentialVenuesByCreatorIdVariancePopulationCreatedAtDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - ConfidentialVenuesByCreatorIdVariancePopulationCreatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - ConfidentialVenuesByCreatorIdVariancePopulationCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - ConfidentialVenuesByCreatorIdVariancePopulationCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_POPULATION_CREATOR_ID_ASC', - ConfidentialVenuesByCreatorIdVariancePopulationCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_POPULATION_CREATOR_ID_DESC', - ConfidentialVenuesByCreatorIdVariancePopulationEventIdxAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', - ConfidentialVenuesByCreatorIdVariancePopulationEventIdxDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', - ConfidentialVenuesByCreatorIdVariancePopulationIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_POPULATION_ID_ASC', - ConfidentialVenuesByCreatorIdVariancePopulationIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_POPULATION_ID_DESC', - ConfidentialVenuesByCreatorIdVariancePopulationUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - ConfidentialVenuesByCreatorIdVariancePopulationUpdatedAtDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - ConfidentialVenuesByCreatorIdVariancePopulationUpdatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - ConfidentialVenuesByCreatorIdVariancePopulationUpdatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - ConfidentialVenuesByCreatorIdVariancePopulationVenueIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_POPULATION_VENUE_ID_ASC', - ConfidentialVenuesByCreatorIdVariancePopulationVenueIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_POPULATION_VENUE_ID_DESC', - ConfidentialVenuesByCreatorIdVarianceSampleCreatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - ConfidentialVenuesByCreatorIdVarianceSampleCreatedAtDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - ConfidentialVenuesByCreatorIdVarianceSampleCreatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - ConfidentialVenuesByCreatorIdVarianceSampleCreatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - ConfidentialVenuesByCreatorIdVarianceSampleCreatorIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_SAMPLE_CREATOR_ID_ASC', - ConfidentialVenuesByCreatorIdVarianceSampleCreatorIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_SAMPLE_CREATOR_ID_DESC', - ConfidentialVenuesByCreatorIdVarianceSampleEventIdxAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', - ConfidentialVenuesByCreatorIdVarianceSampleEventIdxDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', - ConfidentialVenuesByCreatorIdVarianceSampleIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_SAMPLE_ID_ASC', - ConfidentialVenuesByCreatorIdVarianceSampleIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_SAMPLE_ID_DESC', - ConfidentialVenuesByCreatorIdVarianceSampleUpdatedAtAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - ConfidentialVenuesByCreatorIdVarianceSampleUpdatedAtDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - ConfidentialVenuesByCreatorIdVarianceSampleUpdatedBlockIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - ConfidentialVenuesByCreatorIdVarianceSampleUpdatedBlockIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - ConfidentialVenuesByCreatorIdVarianceSampleVenueIdAsc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_SAMPLE_VENUE_ID_ASC', - ConfidentialVenuesByCreatorIdVarianceSampleVenueIdDesc = 'CONFIDENTIAL_VENUES_BY_CREATOR_ID_VARIANCE_SAMPLE_VENUE_ID_DESC', - CreatedAtAsc = 'CREATED_AT_ASC', - CreatedAtDesc = 'CREATED_AT_DESC', - CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', - CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', - CustomClaimTypesAverageCreatedAtAsc = 'CUSTOM_CLAIM_TYPES_AVERAGE_CREATED_AT_ASC', - CustomClaimTypesAverageCreatedAtDesc = 'CUSTOM_CLAIM_TYPES_AVERAGE_CREATED_AT_DESC', - CustomClaimTypesAverageCreatedBlockIdAsc = 'CUSTOM_CLAIM_TYPES_AVERAGE_CREATED_BLOCK_ID_ASC', - CustomClaimTypesAverageCreatedBlockIdDesc = 'CUSTOM_CLAIM_TYPES_AVERAGE_CREATED_BLOCK_ID_DESC', - CustomClaimTypesAverageIdentityIdAsc = 'CUSTOM_CLAIM_TYPES_AVERAGE_IDENTITY_ID_ASC', - CustomClaimTypesAverageIdentityIdDesc = 'CUSTOM_CLAIM_TYPES_AVERAGE_IDENTITY_ID_DESC', - CustomClaimTypesAverageIdAsc = 'CUSTOM_CLAIM_TYPES_AVERAGE_ID_ASC', - CustomClaimTypesAverageIdDesc = 'CUSTOM_CLAIM_TYPES_AVERAGE_ID_DESC', - CustomClaimTypesAverageNameAsc = 'CUSTOM_CLAIM_TYPES_AVERAGE_NAME_ASC', - CustomClaimTypesAverageNameDesc = 'CUSTOM_CLAIM_TYPES_AVERAGE_NAME_DESC', - CustomClaimTypesAverageUpdatedAtAsc = 'CUSTOM_CLAIM_TYPES_AVERAGE_UPDATED_AT_ASC', - CustomClaimTypesAverageUpdatedAtDesc = 'CUSTOM_CLAIM_TYPES_AVERAGE_UPDATED_AT_DESC', - CustomClaimTypesAverageUpdatedBlockIdAsc = 'CUSTOM_CLAIM_TYPES_AVERAGE_UPDATED_BLOCK_ID_ASC', - CustomClaimTypesAverageUpdatedBlockIdDesc = 'CUSTOM_CLAIM_TYPES_AVERAGE_UPDATED_BLOCK_ID_DESC', - CustomClaimTypesCountAsc = 'CUSTOM_CLAIM_TYPES_COUNT_ASC', - CustomClaimTypesCountDesc = 'CUSTOM_CLAIM_TYPES_COUNT_DESC', - CustomClaimTypesDistinctCountCreatedAtAsc = 'CUSTOM_CLAIM_TYPES_DISTINCT_COUNT_CREATED_AT_ASC', - CustomClaimTypesDistinctCountCreatedAtDesc = 'CUSTOM_CLAIM_TYPES_DISTINCT_COUNT_CREATED_AT_DESC', - CustomClaimTypesDistinctCountCreatedBlockIdAsc = 'CUSTOM_CLAIM_TYPES_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - CustomClaimTypesDistinctCountCreatedBlockIdDesc = 'CUSTOM_CLAIM_TYPES_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - CustomClaimTypesDistinctCountIdentityIdAsc = 'CUSTOM_CLAIM_TYPES_DISTINCT_COUNT_IDENTITY_ID_ASC', - CustomClaimTypesDistinctCountIdentityIdDesc = 'CUSTOM_CLAIM_TYPES_DISTINCT_COUNT_IDENTITY_ID_DESC', - CustomClaimTypesDistinctCountIdAsc = 'CUSTOM_CLAIM_TYPES_DISTINCT_COUNT_ID_ASC', - CustomClaimTypesDistinctCountIdDesc = 'CUSTOM_CLAIM_TYPES_DISTINCT_COUNT_ID_DESC', - CustomClaimTypesDistinctCountNameAsc = 'CUSTOM_CLAIM_TYPES_DISTINCT_COUNT_NAME_ASC', - CustomClaimTypesDistinctCountNameDesc = 'CUSTOM_CLAIM_TYPES_DISTINCT_COUNT_NAME_DESC', - CustomClaimTypesDistinctCountUpdatedAtAsc = 'CUSTOM_CLAIM_TYPES_DISTINCT_COUNT_UPDATED_AT_ASC', - CustomClaimTypesDistinctCountUpdatedAtDesc = 'CUSTOM_CLAIM_TYPES_DISTINCT_COUNT_UPDATED_AT_DESC', - CustomClaimTypesDistinctCountUpdatedBlockIdAsc = 'CUSTOM_CLAIM_TYPES_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - CustomClaimTypesDistinctCountUpdatedBlockIdDesc = 'CUSTOM_CLAIM_TYPES_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - CustomClaimTypesMaxCreatedAtAsc = 'CUSTOM_CLAIM_TYPES_MAX_CREATED_AT_ASC', - CustomClaimTypesMaxCreatedAtDesc = 'CUSTOM_CLAIM_TYPES_MAX_CREATED_AT_DESC', - CustomClaimTypesMaxCreatedBlockIdAsc = 'CUSTOM_CLAIM_TYPES_MAX_CREATED_BLOCK_ID_ASC', - CustomClaimTypesMaxCreatedBlockIdDesc = 'CUSTOM_CLAIM_TYPES_MAX_CREATED_BLOCK_ID_DESC', - CustomClaimTypesMaxIdentityIdAsc = 'CUSTOM_CLAIM_TYPES_MAX_IDENTITY_ID_ASC', - CustomClaimTypesMaxIdentityIdDesc = 'CUSTOM_CLAIM_TYPES_MAX_IDENTITY_ID_DESC', - CustomClaimTypesMaxIdAsc = 'CUSTOM_CLAIM_TYPES_MAX_ID_ASC', - CustomClaimTypesMaxIdDesc = 'CUSTOM_CLAIM_TYPES_MAX_ID_DESC', - CustomClaimTypesMaxNameAsc = 'CUSTOM_CLAIM_TYPES_MAX_NAME_ASC', - CustomClaimTypesMaxNameDesc = 'CUSTOM_CLAIM_TYPES_MAX_NAME_DESC', - CustomClaimTypesMaxUpdatedAtAsc = 'CUSTOM_CLAIM_TYPES_MAX_UPDATED_AT_ASC', - CustomClaimTypesMaxUpdatedAtDesc = 'CUSTOM_CLAIM_TYPES_MAX_UPDATED_AT_DESC', - CustomClaimTypesMaxUpdatedBlockIdAsc = 'CUSTOM_CLAIM_TYPES_MAX_UPDATED_BLOCK_ID_ASC', - CustomClaimTypesMaxUpdatedBlockIdDesc = 'CUSTOM_CLAIM_TYPES_MAX_UPDATED_BLOCK_ID_DESC', - CustomClaimTypesMinCreatedAtAsc = 'CUSTOM_CLAIM_TYPES_MIN_CREATED_AT_ASC', - CustomClaimTypesMinCreatedAtDesc = 'CUSTOM_CLAIM_TYPES_MIN_CREATED_AT_DESC', - CustomClaimTypesMinCreatedBlockIdAsc = 'CUSTOM_CLAIM_TYPES_MIN_CREATED_BLOCK_ID_ASC', - CustomClaimTypesMinCreatedBlockIdDesc = 'CUSTOM_CLAIM_TYPES_MIN_CREATED_BLOCK_ID_DESC', - CustomClaimTypesMinIdentityIdAsc = 'CUSTOM_CLAIM_TYPES_MIN_IDENTITY_ID_ASC', - CustomClaimTypesMinIdentityIdDesc = 'CUSTOM_CLAIM_TYPES_MIN_IDENTITY_ID_DESC', - CustomClaimTypesMinIdAsc = 'CUSTOM_CLAIM_TYPES_MIN_ID_ASC', - CustomClaimTypesMinIdDesc = 'CUSTOM_CLAIM_TYPES_MIN_ID_DESC', - CustomClaimTypesMinNameAsc = 'CUSTOM_CLAIM_TYPES_MIN_NAME_ASC', - CustomClaimTypesMinNameDesc = 'CUSTOM_CLAIM_TYPES_MIN_NAME_DESC', - CustomClaimTypesMinUpdatedAtAsc = 'CUSTOM_CLAIM_TYPES_MIN_UPDATED_AT_ASC', - CustomClaimTypesMinUpdatedAtDesc = 'CUSTOM_CLAIM_TYPES_MIN_UPDATED_AT_DESC', - CustomClaimTypesMinUpdatedBlockIdAsc = 'CUSTOM_CLAIM_TYPES_MIN_UPDATED_BLOCK_ID_ASC', - CustomClaimTypesMinUpdatedBlockIdDesc = 'CUSTOM_CLAIM_TYPES_MIN_UPDATED_BLOCK_ID_DESC', - CustomClaimTypesStddevPopulationCreatedAtAsc = 'CUSTOM_CLAIM_TYPES_STDDEV_POPULATION_CREATED_AT_ASC', - CustomClaimTypesStddevPopulationCreatedAtDesc = 'CUSTOM_CLAIM_TYPES_STDDEV_POPULATION_CREATED_AT_DESC', - CustomClaimTypesStddevPopulationCreatedBlockIdAsc = 'CUSTOM_CLAIM_TYPES_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - CustomClaimTypesStddevPopulationCreatedBlockIdDesc = 'CUSTOM_CLAIM_TYPES_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - CustomClaimTypesStddevPopulationIdentityIdAsc = 'CUSTOM_CLAIM_TYPES_STDDEV_POPULATION_IDENTITY_ID_ASC', - CustomClaimTypesStddevPopulationIdentityIdDesc = 'CUSTOM_CLAIM_TYPES_STDDEV_POPULATION_IDENTITY_ID_DESC', - CustomClaimTypesStddevPopulationIdAsc = 'CUSTOM_CLAIM_TYPES_STDDEV_POPULATION_ID_ASC', - CustomClaimTypesStddevPopulationIdDesc = 'CUSTOM_CLAIM_TYPES_STDDEV_POPULATION_ID_DESC', - CustomClaimTypesStddevPopulationNameAsc = 'CUSTOM_CLAIM_TYPES_STDDEV_POPULATION_NAME_ASC', - CustomClaimTypesStddevPopulationNameDesc = 'CUSTOM_CLAIM_TYPES_STDDEV_POPULATION_NAME_DESC', - CustomClaimTypesStddevPopulationUpdatedAtAsc = 'CUSTOM_CLAIM_TYPES_STDDEV_POPULATION_UPDATED_AT_ASC', - CustomClaimTypesStddevPopulationUpdatedAtDesc = 'CUSTOM_CLAIM_TYPES_STDDEV_POPULATION_UPDATED_AT_DESC', - CustomClaimTypesStddevPopulationUpdatedBlockIdAsc = 'CUSTOM_CLAIM_TYPES_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - CustomClaimTypesStddevPopulationUpdatedBlockIdDesc = 'CUSTOM_CLAIM_TYPES_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - CustomClaimTypesStddevSampleCreatedAtAsc = 'CUSTOM_CLAIM_TYPES_STDDEV_SAMPLE_CREATED_AT_ASC', - CustomClaimTypesStddevSampleCreatedAtDesc = 'CUSTOM_CLAIM_TYPES_STDDEV_SAMPLE_CREATED_AT_DESC', - CustomClaimTypesStddevSampleCreatedBlockIdAsc = 'CUSTOM_CLAIM_TYPES_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - CustomClaimTypesStddevSampleCreatedBlockIdDesc = 'CUSTOM_CLAIM_TYPES_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - CustomClaimTypesStddevSampleIdentityIdAsc = 'CUSTOM_CLAIM_TYPES_STDDEV_SAMPLE_IDENTITY_ID_ASC', - CustomClaimTypesStddevSampleIdentityIdDesc = 'CUSTOM_CLAIM_TYPES_STDDEV_SAMPLE_IDENTITY_ID_DESC', - CustomClaimTypesStddevSampleIdAsc = 'CUSTOM_CLAIM_TYPES_STDDEV_SAMPLE_ID_ASC', - CustomClaimTypesStddevSampleIdDesc = 'CUSTOM_CLAIM_TYPES_STDDEV_SAMPLE_ID_DESC', - CustomClaimTypesStddevSampleNameAsc = 'CUSTOM_CLAIM_TYPES_STDDEV_SAMPLE_NAME_ASC', - CustomClaimTypesStddevSampleNameDesc = 'CUSTOM_CLAIM_TYPES_STDDEV_SAMPLE_NAME_DESC', - CustomClaimTypesStddevSampleUpdatedAtAsc = 'CUSTOM_CLAIM_TYPES_STDDEV_SAMPLE_UPDATED_AT_ASC', - CustomClaimTypesStddevSampleUpdatedAtDesc = 'CUSTOM_CLAIM_TYPES_STDDEV_SAMPLE_UPDATED_AT_DESC', - CustomClaimTypesStddevSampleUpdatedBlockIdAsc = 'CUSTOM_CLAIM_TYPES_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - CustomClaimTypesStddevSampleUpdatedBlockIdDesc = 'CUSTOM_CLAIM_TYPES_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - CustomClaimTypesSumCreatedAtAsc = 'CUSTOM_CLAIM_TYPES_SUM_CREATED_AT_ASC', - CustomClaimTypesSumCreatedAtDesc = 'CUSTOM_CLAIM_TYPES_SUM_CREATED_AT_DESC', - CustomClaimTypesSumCreatedBlockIdAsc = 'CUSTOM_CLAIM_TYPES_SUM_CREATED_BLOCK_ID_ASC', - CustomClaimTypesSumCreatedBlockIdDesc = 'CUSTOM_CLAIM_TYPES_SUM_CREATED_BLOCK_ID_DESC', - CustomClaimTypesSumIdentityIdAsc = 'CUSTOM_CLAIM_TYPES_SUM_IDENTITY_ID_ASC', - CustomClaimTypesSumIdentityIdDesc = 'CUSTOM_CLAIM_TYPES_SUM_IDENTITY_ID_DESC', - CustomClaimTypesSumIdAsc = 'CUSTOM_CLAIM_TYPES_SUM_ID_ASC', - CustomClaimTypesSumIdDesc = 'CUSTOM_CLAIM_TYPES_SUM_ID_DESC', - CustomClaimTypesSumNameAsc = 'CUSTOM_CLAIM_TYPES_SUM_NAME_ASC', - CustomClaimTypesSumNameDesc = 'CUSTOM_CLAIM_TYPES_SUM_NAME_DESC', - CustomClaimTypesSumUpdatedAtAsc = 'CUSTOM_CLAIM_TYPES_SUM_UPDATED_AT_ASC', - CustomClaimTypesSumUpdatedAtDesc = 'CUSTOM_CLAIM_TYPES_SUM_UPDATED_AT_DESC', - CustomClaimTypesSumUpdatedBlockIdAsc = 'CUSTOM_CLAIM_TYPES_SUM_UPDATED_BLOCK_ID_ASC', - CustomClaimTypesSumUpdatedBlockIdDesc = 'CUSTOM_CLAIM_TYPES_SUM_UPDATED_BLOCK_ID_DESC', - CustomClaimTypesVariancePopulationCreatedAtAsc = 'CUSTOM_CLAIM_TYPES_VARIANCE_POPULATION_CREATED_AT_ASC', - CustomClaimTypesVariancePopulationCreatedAtDesc = 'CUSTOM_CLAIM_TYPES_VARIANCE_POPULATION_CREATED_AT_DESC', - CustomClaimTypesVariancePopulationCreatedBlockIdAsc = 'CUSTOM_CLAIM_TYPES_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - CustomClaimTypesVariancePopulationCreatedBlockIdDesc = 'CUSTOM_CLAIM_TYPES_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - CustomClaimTypesVariancePopulationIdentityIdAsc = 'CUSTOM_CLAIM_TYPES_VARIANCE_POPULATION_IDENTITY_ID_ASC', - CustomClaimTypesVariancePopulationIdentityIdDesc = 'CUSTOM_CLAIM_TYPES_VARIANCE_POPULATION_IDENTITY_ID_DESC', - CustomClaimTypesVariancePopulationIdAsc = 'CUSTOM_CLAIM_TYPES_VARIANCE_POPULATION_ID_ASC', - CustomClaimTypesVariancePopulationIdDesc = 'CUSTOM_CLAIM_TYPES_VARIANCE_POPULATION_ID_DESC', - CustomClaimTypesVariancePopulationNameAsc = 'CUSTOM_CLAIM_TYPES_VARIANCE_POPULATION_NAME_ASC', - CustomClaimTypesVariancePopulationNameDesc = 'CUSTOM_CLAIM_TYPES_VARIANCE_POPULATION_NAME_DESC', - CustomClaimTypesVariancePopulationUpdatedAtAsc = 'CUSTOM_CLAIM_TYPES_VARIANCE_POPULATION_UPDATED_AT_ASC', - CustomClaimTypesVariancePopulationUpdatedAtDesc = 'CUSTOM_CLAIM_TYPES_VARIANCE_POPULATION_UPDATED_AT_DESC', - CustomClaimTypesVariancePopulationUpdatedBlockIdAsc = 'CUSTOM_CLAIM_TYPES_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - CustomClaimTypesVariancePopulationUpdatedBlockIdDesc = 'CUSTOM_CLAIM_TYPES_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - CustomClaimTypesVarianceSampleCreatedAtAsc = 'CUSTOM_CLAIM_TYPES_VARIANCE_SAMPLE_CREATED_AT_ASC', - CustomClaimTypesVarianceSampleCreatedAtDesc = 'CUSTOM_CLAIM_TYPES_VARIANCE_SAMPLE_CREATED_AT_DESC', - CustomClaimTypesVarianceSampleCreatedBlockIdAsc = 'CUSTOM_CLAIM_TYPES_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - CustomClaimTypesVarianceSampleCreatedBlockIdDesc = 'CUSTOM_CLAIM_TYPES_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - CustomClaimTypesVarianceSampleIdentityIdAsc = 'CUSTOM_CLAIM_TYPES_VARIANCE_SAMPLE_IDENTITY_ID_ASC', - CustomClaimTypesVarianceSampleIdentityIdDesc = 'CUSTOM_CLAIM_TYPES_VARIANCE_SAMPLE_IDENTITY_ID_DESC', - CustomClaimTypesVarianceSampleIdAsc = 'CUSTOM_CLAIM_TYPES_VARIANCE_SAMPLE_ID_ASC', - CustomClaimTypesVarianceSampleIdDesc = 'CUSTOM_CLAIM_TYPES_VARIANCE_SAMPLE_ID_DESC', - CustomClaimTypesVarianceSampleNameAsc = 'CUSTOM_CLAIM_TYPES_VARIANCE_SAMPLE_NAME_ASC', - CustomClaimTypesVarianceSampleNameDesc = 'CUSTOM_CLAIM_TYPES_VARIANCE_SAMPLE_NAME_DESC', - CustomClaimTypesVarianceSampleUpdatedAtAsc = 'CUSTOM_CLAIM_TYPES_VARIANCE_SAMPLE_UPDATED_AT_ASC', - CustomClaimTypesVarianceSampleUpdatedAtDesc = 'CUSTOM_CLAIM_TYPES_VARIANCE_SAMPLE_UPDATED_AT_DESC', - CustomClaimTypesVarianceSampleUpdatedBlockIdAsc = 'CUSTOM_CLAIM_TYPES_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - CustomClaimTypesVarianceSampleUpdatedBlockIdDesc = 'CUSTOM_CLAIM_TYPES_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - DatetimeAsc = 'DATETIME_ASC', - DatetimeDesc = 'DATETIME_DESC', - DidAsc = 'DID_ASC', - DidDesc = 'DID_DESC', - DistributionsAverageAmountAsc = 'DISTRIBUTIONS_AVERAGE_AMOUNT_ASC', - DistributionsAverageAmountDesc = 'DISTRIBUTIONS_AVERAGE_AMOUNT_DESC', - DistributionsAverageAssetIdAsc = 'DISTRIBUTIONS_AVERAGE_ASSET_ID_ASC', - DistributionsAverageAssetIdDesc = 'DISTRIBUTIONS_AVERAGE_ASSET_ID_DESC', - DistributionsAverageCreatedAtAsc = 'DISTRIBUTIONS_AVERAGE_CREATED_AT_ASC', - DistributionsAverageCreatedAtDesc = 'DISTRIBUTIONS_AVERAGE_CREATED_AT_DESC', - DistributionsAverageCreatedBlockIdAsc = 'DISTRIBUTIONS_AVERAGE_CREATED_BLOCK_ID_ASC', - DistributionsAverageCreatedBlockIdDesc = 'DISTRIBUTIONS_AVERAGE_CREATED_BLOCK_ID_DESC', - DistributionsAverageCurrencyAsc = 'DISTRIBUTIONS_AVERAGE_CURRENCY_ASC', - DistributionsAverageCurrencyDesc = 'DISTRIBUTIONS_AVERAGE_CURRENCY_DESC', - DistributionsAverageExpiresAtAsc = 'DISTRIBUTIONS_AVERAGE_EXPIRES_AT_ASC', - DistributionsAverageExpiresAtDesc = 'DISTRIBUTIONS_AVERAGE_EXPIRES_AT_DESC', - DistributionsAverageIdentityIdAsc = 'DISTRIBUTIONS_AVERAGE_IDENTITY_ID_ASC', - DistributionsAverageIdentityIdDesc = 'DISTRIBUTIONS_AVERAGE_IDENTITY_ID_DESC', - DistributionsAverageIdAsc = 'DISTRIBUTIONS_AVERAGE_ID_ASC', - DistributionsAverageIdDesc = 'DISTRIBUTIONS_AVERAGE_ID_DESC', - DistributionsAverageLocalIdAsc = 'DISTRIBUTIONS_AVERAGE_LOCAL_ID_ASC', - DistributionsAverageLocalIdDesc = 'DISTRIBUTIONS_AVERAGE_LOCAL_ID_DESC', - DistributionsAveragePaymentAtAsc = 'DISTRIBUTIONS_AVERAGE_PAYMENT_AT_ASC', - DistributionsAveragePaymentAtDesc = 'DISTRIBUTIONS_AVERAGE_PAYMENT_AT_DESC', - DistributionsAveragePerShareAsc = 'DISTRIBUTIONS_AVERAGE_PER_SHARE_ASC', - DistributionsAveragePerShareDesc = 'DISTRIBUTIONS_AVERAGE_PER_SHARE_DESC', - DistributionsAveragePortfolioIdAsc = 'DISTRIBUTIONS_AVERAGE_PORTFOLIO_ID_ASC', - DistributionsAveragePortfolioIdDesc = 'DISTRIBUTIONS_AVERAGE_PORTFOLIO_ID_DESC', - DistributionsAverageRemainingAsc = 'DISTRIBUTIONS_AVERAGE_REMAINING_ASC', - DistributionsAverageRemainingDesc = 'DISTRIBUTIONS_AVERAGE_REMAINING_DESC', - DistributionsAverageTaxesAsc = 'DISTRIBUTIONS_AVERAGE_TAXES_ASC', - DistributionsAverageTaxesDesc = 'DISTRIBUTIONS_AVERAGE_TAXES_DESC', - DistributionsAverageUpdatedAtAsc = 'DISTRIBUTIONS_AVERAGE_UPDATED_AT_ASC', - DistributionsAverageUpdatedAtDesc = 'DISTRIBUTIONS_AVERAGE_UPDATED_AT_DESC', - DistributionsAverageUpdatedBlockIdAsc = 'DISTRIBUTIONS_AVERAGE_UPDATED_BLOCK_ID_ASC', - DistributionsAverageUpdatedBlockIdDesc = 'DISTRIBUTIONS_AVERAGE_UPDATED_BLOCK_ID_DESC', - DistributionsCountAsc = 'DISTRIBUTIONS_COUNT_ASC', - DistributionsCountDesc = 'DISTRIBUTIONS_COUNT_DESC', - DistributionsDistinctCountAmountAsc = 'DISTRIBUTIONS_DISTINCT_COUNT_AMOUNT_ASC', - DistributionsDistinctCountAmountDesc = 'DISTRIBUTIONS_DISTINCT_COUNT_AMOUNT_DESC', - DistributionsDistinctCountAssetIdAsc = 'DISTRIBUTIONS_DISTINCT_COUNT_ASSET_ID_ASC', - DistributionsDistinctCountAssetIdDesc = 'DISTRIBUTIONS_DISTINCT_COUNT_ASSET_ID_DESC', - DistributionsDistinctCountCreatedAtAsc = 'DISTRIBUTIONS_DISTINCT_COUNT_CREATED_AT_ASC', - DistributionsDistinctCountCreatedAtDesc = 'DISTRIBUTIONS_DISTINCT_COUNT_CREATED_AT_DESC', - DistributionsDistinctCountCreatedBlockIdAsc = 'DISTRIBUTIONS_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - DistributionsDistinctCountCreatedBlockIdDesc = 'DISTRIBUTIONS_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - DistributionsDistinctCountCurrencyAsc = 'DISTRIBUTIONS_DISTINCT_COUNT_CURRENCY_ASC', - DistributionsDistinctCountCurrencyDesc = 'DISTRIBUTIONS_DISTINCT_COUNT_CURRENCY_DESC', - DistributionsDistinctCountExpiresAtAsc = 'DISTRIBUTIONS_DISTINCT_COUNT_EXPIRES_AT_ASC', - DistributionsDistinctCountExpiresAtDesc = 'DISTRIBUTIONS_DISTINCT_COUNT_EXPIRES_AT_DESC', - DistributionsDistinctCountIdentityIdAsc = 'DISTRIBUTIONS_DISTINCT_COUNT_IDENTITY_ID_ASC', - DistributionsDistinctCountIdentityIdDesc = 'DISTRIBUTIONS_DISTINCT_COUNT_IDENTITY_ID_DESC', - DistributionsDistinctCountIdAsc = 'DISTRIBUTIONS_DISTINCT_COUNT_ID_ASC', - DistributionsDistinctCountIdDesc = 'DISTRIBUTIONS_DISTINCT_COUNT_ID_DESC', - DistributionsDistinctCountLocalIdAsc = 'DISTRIBUTIONS_DISTINCT_COUNT_LOCAL_ID_ASC', - DistributionsDistinctCountLocalIdDesc = 'DISTRIBUTIONS_DISTINCT_COUNT_LOCAL_ID_DESC', - DistributionsDistinctCountPaymentAtAsc = 'DISTRIBUTIONS_DISTINCT_COUNT_PAYMENT_AT_ASC', - DistributionsDistinctCountPaymentAtDesc = 'DISTRIBUTIONS_DISTINCT_COUNT_PAYMENT_AT_DESC', - DistributionsDistinctCountPerShareAsc = 'DISTRIBUTIONS_DISTINCT_COUNT_PER_SHARE_ASC', - DistributionsDistinctCountPerShareDesc = 'DISTRIBUTIONS_DISTINCT_COUNT_PER_SHARE_DESC', - DistributionsDistinctCountPortfolioIdAsc = 'DISTRIBUTIONS_DISTINCT_COUNT_PORTFOLIO_ID_ASC', - DistributionsDistinctCountPortfolioIdDesc = 'DISTRIBUTIONS_DISTINCT_COUNT_PORTFOLIO_ID_DESC', - DistributionsDistinctCountRemainingAsc = 'DISTRIBUTIONS_DISTINCT_COUNT_REMAINING_ASC', - DistributionsDistinctCountRemainingDesc = 'DISTRIBUTIONS_DISTINCT_COUNT_REMAINING_DESC', - DistributionsDistinctCountTaxesAsc = 'DISTRIBUTIONS_DISTINCT_COUNT_TAXES_ASC', - DistributionsDistinctCountTaxesDesc = 'DISTRIBUTIONS_DISTINCT_COUNT_TAXES_DESC', - DistributionsDistinctCountUpdatedAtAsc = 'DISTRIBUTIONS_DISTINCT_COUNT_UPDATED_AT_ASC', - DistributionsDistinctCountUpdatedAtDesc = 'DISTRIBUTIONS_DISTINCT_COUNT_UPDATED_AT_DESC', - DistributionsDistinctCountUpdatedBlockIdAsc = 'DISTRIBUTIONS_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - DistributionsDistinctCountUpdatedBlockIdDesc = 'DISTRIBUTIONS_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - DistributionsMaxAmountAsc = 'DISTRIBUTIONS_MAX_AMOUNT_ASC', - DistributionsMaxAmountDesc = 'DISTRIBUTIONS_MAX_AMOUNT_DESC', - DistributionsMaxAssetIdAsc = 'DISTRIBUTIONS_MAX_ASSET_ID_ASC', - DistributionsMaxAssetIdDesc = 'DISTRIBUTIONS_MAX_ASSET_ID_DESC', - DistributionsMaxCreatedAtAsc = 'DISTRIBUTIONS_MAX_CREATED_AT_ASC', - DistributionsMaxCreatedAtDesc = 'DISTRIBUTIONS_MAX_CREATED_AT_DESC', - DistributionsMaxCreatedBlockIdAsc = 'DISTRIBUTIONS_MAX_CREATED_BLOCK_ID_ASC', - DistributionsMaxCreatedBlockIdDesc = 'DISTRIBUTIONS_MAX_CREATED_BLOCK_ID_DESC', - DistributionsMaxCurrencyAsc = 'DISTRIBUTIONS_MAX_CURRENCY_ASC', - DistributionsMaxCurrencyDesc = 'DISTRIBUTIONS_MAX_CURRENCY_DESC', - DistributionsMaxExpiresAtAsc = 'DISTRIBUTIONS_MAX_EXPIRES_AT_ASC', - DistributionsMaxExpiresAtDesc = 'DISTRIBUTIONS_MAX_EXPIRES_AT_DESC', - DistributionsMaxIdentityIdAsc = 'DISTRIBUTIONS_MAX_IDENTITY_ID_ASC', - DistributionsMaxIdentityIdDesc = 'DISTRIBUTIONS_MAX_IDENTITY_ID_DESC', - DistributionsMaxIdAsc = 'DISTRIBUTIONS_MAX_ID_ASC', - DistributionsMaxIdDesc = 'DISTRIBUTIONS_MAX_ID_DESC', - DistributionsMaxLocalIdAsc = 'DISTRIBUTIONS_MAX_LOCAL_ID_ASC', - DistributionsMaxLocalIdDesc = 'DISTRIBUTIONS_MAX_LOCAL_ID_DESC', - DistributionsMaxPaymentAtAsc = 'DISTRIBUTIONS_MAX_PAYMENT_AT_ASC', - DistributionsMaxPaymentAtDesc = 'DISTRIBUTIONS_MAX_PAYMENT_AT_DESC', - DistributionsMaxPerShareAsc = 'DISTRIBUTIONS_MAX_PER_SHARE_ASC', - DistributionsMaxPerShareDesc = 'DISTRIBUTIONS_MAX_PER_SHARE_DESC', - DistributionsMaxPortfolioIdAsc = 'DISTRIBUTIONS_MAX_PORTFOLIO_ID_ASC', - DistributionsMaxPortfolioIdDesc = 'DISTRIBUTIONS_MAX_PORTFOLIO_ID_DESC', - DistributionsMaxRemainingAsc = 'DISTRIBUTIONS_MAX_REMAINING_ASC', - DistributionsMaxRemainingDesc = 'DISTRIBUTIONS_MAX_REMAINING_DESC', - DistributionsMaxTaxesAsc = 'DISTRIBUTIONS_MAX_TAXES_ASC', - DistributionsMaxTaxesDesc = 'DISTRIBUTIONS_MAX_TAXES_DESC', - DistributionsMaxUpdatedAtAsc = 'DISTRIBUTIONS_MAX_UPDATED_AT_ASC', - DistributionsMaxUpdatedAtDesc = 'DISTRIBUTIONS_MAX_UPDATED_AT_DESC', - DistributionsMaxUpdatedBlockIdAsc = 'DISTRIBUTIONS_MAX_UPDATED_BLOCK_ID_ASC', - DistributionsMaxUpdatedBlockIdDesc = 'DISTRIBUTIONS_MAX_UPDATED_BLOCK_ID_DESC', - DistributionsMinAmountAsc = 'DISTRIBUTIONS_MIN_AMOUNT_ASC', - DistributionsMinAmountDesc = 'DISTRIBUTIONS_MIN_AMOUNT_DESC', - DistributionsMinAssetIdAsc = 'DISTRIBUTIONS_MIN_ASSET_ID_ASC', - DistributionsMinAssetIdDesc = 'DISTRIBUTIONS_MIN_ASSET_ID_DESC', - DistributionsMinCreatedAtAsc = 'DISTRIBUTIONS_MIN_CREATED_AT_ASC', - DistributionsMinCreatedAtDesc = 'DISTRIBUTIONS_MIN_CREATED_AT_DESC', - DistributionsMinCreatedBlockIdAsc = 'DISTRIBUTIONS_MIN_CREATED_BLOCK_ID_ASC', - DistributionsMinCreatedBlockIdDesc = 'DISTRIBUTIONS_MIN_CREATED_BLOCK_ID_DESC', - DistributionsMinCurrencyAsc = 'DISTRIBUTIONS_MIN_CURRENCY_ASC', - DistributionsMinCurrencyDesc = 'DISTRIBUTIONS_MIN_CURRENCY_DESC', - DistributionsMinExpiresAtAsc = 'DISTRIBUTIONS_MIN_EXPIRES_AT_ASC', - DistributionsMinExpiresAtDesc = 'DISTRIBUTIONS_MIN_EXPIRES_AT_DESC', - DistributionsMinIdentityIdAsc = 'DISTRIBUTIONS_MIN_IDENTITY_ID_ASC', - DistributionsMinIdentityIdDesc = 'DISTRIBUTIONS_MIN_IDENTITY_ID_DESC', - DistributionsMinIdAsc = 'DISTRIBUTIONS_MIN_ID_ASC', - DistributionsMinIdDesc = 'DISTRIBUTIONS_MIN_ID_DESC', - DistributionsMinLocalIdAsc = 'DISTRIBUTIONS_MIN_LOCAL_ID_ASC', - DistributionsMinLocalIdDesc = 'DISTRIBUTIONS_MIN_LOCAL_ID_DESC', - DistributionsMinPaymentAtAsc = 'DISTRIBUTIONS_MIN_PAYMENT_AT_ASC', - DistributionsMinPaymentAtDesc = 'DISTRIBUTIONS_MIN_PAYMENT_AT_DESC', - DistributionsMinPerShareAsc = 'DISTRIBUTIONS_MIN_PER_SHARE_ASC', - DistributionsMinPerShareDesc = 'DISTRIBUTIONS_MIN_PER_SHARE_DESC', - DistributionsMinPortfolioIdAsc = 'DISTRIBUTIONS_MIN_PORTFOLIO_ID_ASC', - DistributionsMinPortfolioIdDesc = 'DISTRIBUTIONS_MIN_PORTFOLIO_ID_DESC', - DistributionsMinRemainingAsc = 'DISTRIBUTIONS_MIN_REMAINING_ASC', - DistributionsMinRemainingDesc = 'DISTRIBUTIONS_MIN_REMAINING_DESC', - DistributionsMinTaxesAsc = 'DISTRIBUTIONS_MIN_TAXES_ASC', - DistributionsMinTaxesDesc = 'DISTRIBUTIONS_MIN_TAXES_DESC', - DistributionsMinUpdatedAtAsc = 'DISTRIBUTIONS_MIN_UPDATED_AT_ASC', - DistributionsMinUpdatedAtDesc = 'DISTRIBUTIONS_MIN_UPDATED_AT_DESC', - DistributionsMinUpdatedBlockIdAsc = 'DISTRIBUTIONS_MIN_UPDATED_BLOCK_ID_ASC', - DistributionsMinUpdatedBlockIdDesc = 'DISTRIBUTIONS_MIN_UPDATED_BLOCK_ID_DESC', - DistributionsStddevPopulationAmountAsc = 'DISTRIBUTIONS_STDDEV_POPULATION_AMOUNT_ASC', - DistributionsStddevPopulationAmountDesc = 'DISTRIBUTIONS_STDDEV_POPULATION_AMOUNT_DESC', - DistributionsStddevPopulationAssetIdAsc = 'DISTRIBUTIONS_STDDEV_POPULATION_ASSET_ID_ASC', - DistributionsStddevPopulationAssetIdDesc = 'DISTRIBUTIONS_STDDEV_POPULATION_ASSET_ID_DESC', - DistributionsStddevPopulationCreatedAtAsc = 'DISTRIBUTIONS_STDDEV_POPULATION_CREATED_AT_ASC', - DistributionsStddevPopulationCreatedAtDesc = 'DISTRIBUTIONS_STDDEV_POPULATION_CREATED_AT_DESC', - DistributionsStddevPopulationCreatedBlockIdAsc = 'DISTRIBUTIONS_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - DistributionsStddevPopulationCreatedBlockIdDesc = 'DISTRIBUTIONS_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - DistributionsStddevPopulationCurrencyAsc = 'DISTRIBUTIONS_STDDEV_POPULATION_CURRENCY_ASC', - DistributionsStddevPopulationCurrencyDesc = 'DISTRIBUTIONS_STDDEV_POPULATION_CURRENCY_DESC', - DistributionsStddevPopulationExpiresAtAsc = 'DISTRIBUTIONS_STDDEV_POPULATION_EXPIRES_AT_ASC', - DistributionsStddevPopulationExpiresAtDesc = 'DISTRIBUTIONS_STDDEV_POPULATION_EXPIRES_AT_DESC', - DistributionsStddevPopulationIdentityIdAsc = 'DISTRIBUTIONS_STDDEV_POPULATION_IDENTITY_ID_ASC', - DistributionsStddevPopulationIdentityIdDesc = 'DISTRIBUTIONS_STDDEV_POPULATION_IDENTITY_ID_DESC', - DistributionsStddevPopulationIdAsc = 'DISTRIBUTIONS_STDDEV_POPULATION_ID_ASC', - DistributionsStddevPopulationIdDesc = 'DISTRIBUTIONS_STDDEV_POPULATION_ID_DESC', - DistributionsStddevPopulationLocalIdAsc = 'DISTRIBUTIONS_STDDEV_POPULATION_LOCAL_ID_ASC', - DistributionsStddevPopulationLocalIdDesc = 'DISTRIBUTIONS_STDDEV_POPULATION_LOCAL_ID_DESC', - DistributionsStddevPopulationPaymentAtAsc = 'DISTRIBUTIONS_STDDEV_POPULATION_PAYMENT_AT_ASC', - DistributionsStddevPopulationPaymentAtDesc = 'DISTRIBUTIONS_STDDEV_POPULATION_PAYMENT_AT_DESC', - DistributionsStddevPopulationPerShareAsc = 'DISTRIBUTIONS_STDDEV_POPULATION_PER_SHARE_ASC', - DistributionsStddevPopulationPerShareDesc = 'DISTRIBUTIONS_STDDEV_POPULATION_PER_SHARE_DESC', - DistributionsStddevPopulationPortfolioIdAsc = 'DISTRIBUTIONS_STDDEV_POPULATION_PORTFOLIO_ID_ASC', - DistributionsStddevPopulationPortfolioIdDesc = 'DISTRIBUTIONS_STDDEV_POPULATION_PORTFOLIO_ID_DESC', - DistributionsStddevPopulationRemainingAsc = 'DISTRIBUTIONS_STDDEV_POPULATION_REMAINING_ASC', - DistributionsStddevPopulationRemainingDesc = 'DISTRIBUTIONS_STDDEV_POPULATION_REMAINING_DESC', - DistributionsStddevPopulationTaxesAsc = 'DISTRIBUTIONS_STDDEV_POPULATION_TAXES_ASC', - DistributionsStddevPopulationTaxesDesc = 'DISTRIBUTIONS_STDDEV_POPULATION_TAXES_DESC', - DistributionsStddevPopulationUpdatedAtAsc = 'DISTRIBUTIONS_STDDEV_POPULATION_UPDATED_AT_ASC', - DistributionsStddevPopulationUpdatedAtDesc = 'DISTRIBUTIONS_STDDEV_POPULATION_UPDATED_AT_DESC', - DistributionsStddevPopulationUpdatedBlockIdAsc = 'DISTRIBUTIONS_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - DistributionsStddevPopulationUpdatedBlockIdDesc = 'DISTRIBUTIONS_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - DistributionsStddevSampleAmountAsc = 'DISTRIBUTIONS_STDDEV_SAMPLE_AMOUNT_ASC', - DistributionsStddevSampleAmountDesc = 'DISTRIBUTIONS_STDDEV_SAMPLE_AMOUNT_DESC', - DistributionsStddevSampleAssetIdAsc = 'DISTRIBUTIONS_STDDEV_SAMPLE_ASSET_ID_ASC', - DistributionsStddevSampleAssetIdDesc = 'DISTRIBUTIONS_STDDEV_SAMPLE_ASSET_ID_DESC', - DistributionsStddevSampleCreatedAtAsc = 'DISTRIBUTIONS_STDDEV_SAMPLE_CREATED_AT_ASC', - DistributionsStddevSampleCreatedAtDesc = 'DISTRIBUTIONS_STDDEV_SAMPLE_CREATED_AT_DESC', - DistributionsStddevSampleCreatedBlockIdAsc = 'DISTRIBUTIONS_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - DistributionsStddevSampleCreatedBlockIdDesc = 'DISTRIBUTIONS_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - DistributionsStddevSampleCurrencyAsc = 'DISTRIBUTIONS_STDDEV_SAMPLE_CURRENCY_ASC', - DistributionsStddevSampleCurrencyDesc = 'DISTRIBUTIONS_STDDEV_SAMPLE_CURRENCY_DESC', - DistributionsStddevSampleExpiresAtAsc = 'DISTRIBUTIONS_STDDEV_SAMPLE_EXPIRES_AT_ASC', - DistributionsStddevSampleExpiresAtDesc = 'DISTRIBUTIONS_STDDEV_SAMPLE_EXPIRES_AT_DESC', - DistributionsStddevSampleIdentityIdAsc = 'DISTRIBUTIONS_STDDEV_SAMPLE_IDENTITY_ID_ASC', - DistributionsStddevSampleIdentityIdDesc = 'DISTRIBUTIONS_STDDEV_SAMPLE_IDENTITY_ID_DESC', - DistributionsStddevSampleIdAsc = 'DISTRIBUTIONS_STDDEV_SAMPLE_ID_ASC', - DistributionsStddevSampleIdDesc = 'DISTRIBUTIONS_STDDEV_SAMPLE_ID_DESC', - DistributionsStddevSampleLocalIdAsc = 'DISTRIBUTIONS_STDDEV_SAMPLE_LOCAL_ID_ASC', - DistributionsStddevSampleLocalIdDesc = 'DISTRIBUTIONS_STDDEV_SAMPLE_LOCAL_ID_DESC', - DistributionsStddevSamplePaymentAtAsc = 'DISTRIBUTIONS_STDDEV_SAMPLE_PAYMENT_AT_ASC', - DistributionsStddevSamplePaymentAtDesc = 'DISTRIBUTIONS_STDDEV_SAMPLE_PAYMENT_AT_DESC', - DistributionsStddevSamplePerShareAsc = 'DISTRIBUTIONS_STDDEV_SAMPLE_PER_SHARE_ASC', - DistributionsStddevSamplePerShareDesc = 'DISTRIBUTIONS_STDDEV_SAMPLE_PER_SHARE_DESC', - DistributionsStddevSamplePortfolioIdAsc = 'DISTRIBUTIONS_STDDEV_SAMPLE_PORTFOLIO_ID_ASC', - DistributionsStddevSamplePortfolioIdDesc = 'DISTRIBUTIONS_STDDEV_SAMPLE_PORTFOLIO_ID_DESC', - DistributionsStddevSampleRemainingAsc = 'DISTRIBUTIONS_STDDEV_SAMPLE_REMAINING_ASC', - DistributionsStddevSampleRemainingDesc = 'DISTRIBUTIONS_STDDEV_SAMPLE_REMAINING_DESC', - DistributionsStddevSampleTaxesAsc = 'DISTRIBUTIONS_STDDEV_SAMPLE_TAXES_ASC', - DistributionsStddevSampleTaxesDesc = 'DISTRIBUTIONS_STDDEV_SAMPLE_TAXES_DESC', - DistributionsStddevSampleUpdatedAtAsc = 'DISTRIBUTIONS_STDDEV_SAMPLE_UPDATED_AT_ASC', - DistributionsStddevSampleUpdatedAtDesc = 'DISTRIBUTIONS_STDDEV_SAMPLE_UPDATED_AT_DESC', - DistributionsStddevSampleUpdatedBlockIdAsc = 'DISTRIBUTIONS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - DistributionsStddevSampleUpdatedBlockIdDesc = 'DISTRIBUTIONS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - DistributionsSumAmountAsc = 'DISTRIBUTIONS_SUM_AMOUNT_ASC', - DistributionsSumAmountDesc = 'DISTRIBUTIONS_SUM_AMOUNT_DESC', - DistributionsSumAssetIdAsc = 'DISTRIBUTIONS_SUM_ASSET_ID_ASC', - DistributionsSumAssetIdDesc = 'DISTRIBUTIONS_SUM_ASSET_ID_DESC', - DistributionsSumCreatedAtAsc = 'DISTRIBUTIONS_SUM_CREATED_AT_ASC', - DistributionsSumCreatedAtDesc = 'DISTRIBUTIONS_SUM_CREATED_AT_DESC', - DistributionsSumCreatedBlockIdAsc = 'DISTRIBUTIONS_SUM_CREATED_BLOCK_ID_ASC', - DistributionsSumCreatedBlockIdDesc = 'DISTRIBUTIONS_SUM_CREATED_BLOCK_ID_DESC', - DistributionsSumCurrencyAsc = 'DISTRIBUTIONS_SUM_CURRENCY_ASC', - DistributionsSumCurrencyDesc = 'DISTRIBUTIONS_SUM_CURRENCY_DESC', - DistributionsSumExpiresAtAsc = 'DISTRIBUTIONS_SUM_EXPIRES_AT_ASC', - DistributionsSumExpiresAtDesc = 'DISTRIBUTIONS_SUM_EXPIRES_AT_DESC', - DistributionsSumIdentityIdAsc = 'DISTRIBUTIONS_SUM_IDENTITY_ID_ASC', - DistributionsSumIdentityIdDesc = 'DISTRIBUTIONS_SUM_IDENTITY_ID_DESC', - DistributionsSumIdAsc = 'DISTRIBUTIONS_SUM_ID_ASC', - DistributionsSumIdDesc = 'DISTRIBUTIONS_SUM_ID_DESC', - DistributionsSumLocalIdAsc = 'DISTRIBUTIONS_SUM_LOCAL_ID_ASC', - DistributionsSumLocalIdDesc = 'DISTRIBUTIONS_SUM_LOCAL_ID_DESC', - DistributionsSumPaymentAtAsc = 'DISTRIBUTIONS_SUM_PAYMENT_AT_ASC', - DistributionsSumPaymentAtDesc = 'DISTRIBUTIONS_SUM_PAYMENT_AT_DESC', - DistributionsSumPerShareAsc = 'DISTRIBUTIONS_SUM_PER_SHARE_ASC', - DistributionsSumPerShareDesc = 'DISTRIBUTIONS_SUM_PER_SHARE_DESC', - DistributionsSumPortfolioIdAsc = 'DISTRIBUTIONS_SUM_PORTFOLIO_ID_ASC', - DistributionsSumPortfolioIdDesc = 'DISTRIBUTIONS_SUM_PORTFOLIO_ID_DESC', - DistributionsSumRemainingAsc = 'DISTRIBUTIONS_SUM_REMAINING_ASC', - DistributionsSumRemainingDesc = 'DISTRIBUTIONS_SUM_REMAINING_DESC', - DistributionsSumTaxesAsc = 'DISTRIBUTIONS_SUM_TAXES_ASC', - DistributionsSumTaxesDesc = 'DISTRIBUTIONS_SUM_TAXES_DESC', - DistributionsSumUpdatedAtAsc = 'DISTRIBUTIONS_SUM_UPDATED_AT_ASC', - DistributionsSumUpdatedAtDesc = 'DISTRIBUTIONS_SUM_UPDATED_AT_DESC', - DistributionsSumUpdatedBlockIdAsc = 'DISTRIBUTIONS_SUM_UPDATED_BLOCK_ID_ASC', - DistributionsSumUpdatedBlockIdDesc = 'DISTRIBUTIONS_SUM_UPDATED_BLOCK_ID_DESC', - DistributionsVariancePopulationAmountAsc = 'DISTRIBUTIONS_VARIANCE_POPULATION_AMOUNT_ASC', - DistributionsVariancePopulationAmountDesc = 'DISTRIBUTIONS_VARIANCE_POPULATION_AMOUNT_DESC', - DistributionsVariancePopulationAssetIdAsc = 'DISTRIBUTIONS_VARIANCE_POPULATION_ASSET_ID_ASC', - DistributionsVariancePopulationAssetIdDesc = 'DISTRIBUTIONS_VARIANCE_POPULATION_ASSET_ID_DESC', - DistributionsVariancePopulationCreatedAtAsc = 'DISTRIBUTIONS_VARIANCE_POPULATION_CREATED_AT_ASC', - DistributionsVariancePopulationCreatedAtDesc = 'DISTRIBUTIONS_VARIANCE_POPULATION_CREATED_AT_DESC', - DistributionsVariancePopulationCreatedBlockIdAsc = 'DISTRIBUTIONS_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - DistributionsVariancePopulationCreatedBlockIdDesc = 'DISTRIBUTIONS_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - DistributionsVariancePopulationCurrencyAsc = 'DISTRIBUTIONS_VARIANCE_POPULATION_CURRENCY_ASC', - DistributionsVariancePopulationCurrencyDesc = 'DISTRIBUTIONS_VARIANCE_POPULATION_CURRENCY_DESC', - DistributionsVariancePopulationExpiresAtAsc = 'DISTRIBUTIONS_VARIANCE_POPULATION_EXPIRES_AT_ASC', - DistributionsVariancePopulationExpiresAtDesc = 'DISTRIBUTIONS_VARIANCE_POPULATION_EXPIRES_AT_DESC', - DistributionsVariancePopulationIdentityIdAsc = 'DISTRIBUTIONS_VARIANCE_POPULATION_IDENTITY_ID_ASC', - DistributionsVariancePopulationIdentityIdDesc = 'DISTRIBUTIONS_VARIANCE_POPULATION_IDENTITY_ID_DESC', - DistributionsVariancePopulationIdAsc = 'DISTRIBUTIONS_VARIANCE_POPULATION_ID_ASC', - DistributionsVariancePopulationIdDesc = 'DISTRIBUTIONS_VARIANCE_POPULATION_ID_DESC', - DistributionsVariancePopulationLocalIdAsc = 'DISTRIBUTIONS_VARIANCE_POPULATION_LOCAL_ID_ASC', - DistributionsVariancePopulationLocalIdDesc = 'DISTRIBUTIONS_VARIANCE_POPULATION_LOCAL_ID_DESC', - DistributionsVariancePopulationPaymentAtAsc = 'DISTRIBUTIONS_VARIANCE_POPULATION_PAYMENT_AT_ASC', - DistributionsVariancePopulationPaymentAtDesc = 'DISTRIBUTIONS_VARIANCE_POPULATION_PAYMENT_AT_DESC', - DistributionsVariancePopulationPerShareAsc = 'DISTRIBUTIONS_VARIANCE_POPULATION_PER_SHARE_ASC', - DistributionsVariancePopulationPerShareDesc = 'DISTRIBUTIONS_VARIANCE_POPULATION_PER_SHARE_DESC', - DistributionsVariancePopulationPortfolioIdAsc = 'DISTRIBUTIONS_VARIANCE_POPULATION_PORTFOLIO_ID_ASC', - DistributionsVariancePopulationPortfolioIdDesc = 'DISTRIBUTIONS_VARIANCE_POPULATION_PORTFOLIO_ID_DESC', - DistributionsVariancePopulationRemainingAsc = 'DISTRIBUTIONS_VARIANCE_POPULATION_REMAINING_ASC', - DistributionsVariancePopulationRemainingDesc = 'DISTRIBUTIONS_VARIANCE_POPULATION_REMAINING_DESC', - DistributionsVariancePopulationTaxesAsc = 'DISTRIBUTIONS_VARIANCE_POPULATION_TAXES_ASC', - DistributionsVariancePopulationTaxesDesc = 'DISTRIBUTIONS_VARIANCE_POPULATION_TAXES_DESC', - DistributionsVariancePopulationUpdatedAtAsc = 'DISTRIBUTIONS_VARIANCE_POPULATION_UPDATED_AT_ASC', - DistributionsVariancePopulationUpdatedAtDesc = 'DISTRIBUTIONS_VARIANCE_POPULATION_UPDATED_AT_DESC', - DistributionsVariancePopulationUpdatedBlockIdAsc = 'DISTRIBUTIONS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - DistributionsVariancePopulationUpdatedBlockIdDesc = 'DISTRIBUTIONS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - DistributionsVarianceSampleAmountAsc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_AMOUNT_ASC', - DistributionsVarianceSampleAmountDesc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_AMOUNT_DESC', - DistributionsVarianceSampleAssetIdAsc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_ASSET_ID_ASC', - DistributionsVarianceSampleAssetIdDesc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_ASSET_ID_DESC', - DistributionsVarianceSampleCreatedAtAsc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_CREATED_AT_ASC', - DistributionsVarianceSampleCreatedAtDesc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_CREATED_AT_DESC', - DistributionsVarianceSampleCreatedBlockIdAsc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - DistributionsVarianceSampleCreatedBlockIdDesc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - DistributionsVarianceSampleCurrencyAsc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_CURRENCY_ASC', - DistributionsVarianceSampleCurrencyDesc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_CURRENCY_DESC', - DistributionsVarianceSampleExpiresAtAsc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_EXPIRES_AT_ASC', - DistributionsVarianceSampleExpiresAtDesc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_EXPIRES_AT_DESC', - DistributionsVarianceSampleIdentityIdAsc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_IDENTITY_ID_ASC', - DistributionsVarianceSampleIdentityIdDesc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_IDENTITY_ID_DESC', - DistributionsVarianceSampleIdAsc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_ID_ASC', - DistributionsVarianceSampleIdDesc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_ID_DESC', - DistributionsVarianceSampleLocalIdAsc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_LOCAL_ID_ASC', - DistributionsVarianceSampleLocalIdDesc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_LOCAL_ID_DESC', - DistributionsVarianceSamplePaymentAtAsc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_PAYMENT_AT_ASC', - DistributionsVarianceSamplePaymentAtDesc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_PAYMENT_AT_DESC', - DistributionsVarianceSamplePerShareAsc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_PER_SHARE_ASC', - DistributionsVarianceSamplePerShareDesc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_PER_SHARE_DESC', - DistributionsVarianceSamplePortfolioIdAsc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_PORTFOLIO_ID_ASC', - DistributionsVarianceSamplePortfolioIdDesc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_PORTFOLIO_ID_DESC', - DistributionsVarianceSampleRemainingAsc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_REMAINING_ASC', - DistributionsVarianceSampleRemainingDesc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_REMAINING_DESC', - DistributionsVarianceSampleTaxesAsc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_TAXES_ASC', - DistributionsVarianceSampleTaxesDesc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_TAXES_DESC', - DistributionsVarianceSampleUpdatedAtAsc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_UPDATED_AT_ASC', - DistributionsVarianceSampleUpdatedAtDesc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_UPDATED_AT_DESC', - DistributionsVarianceSampleUpdatedBlockIdAsc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - DistributionsVarianceSampleUpdatedBlockIdDesc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - DistributionPaymentsByTargetIdAverageAmountAfterTaxAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_AVERAGE_AMOUNT_AFTER_TAX_ASC', - DistributionPaymentsByTargetIdAverageAmountAfterTaxDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_AVERAGE_AMOUNT_AFTER_TAX_DESC', - DistributionPaymentsByTargetIdAverageAmountAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_AVERAGE_AMOUNT_ASC', - DistributionPaymentsByTargetIdAverageAmountDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_AVERAGE_AMOUNT_DESC', - DistributionPaymentsByTargetIdAverageCreatedAtAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_AVERAGE_CREATED_AT_ASC', - DistributionPaymentsByTargetIdAverageCreatedAtDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_AVERAGE_CREATED_AT_DESC', - DistributionPaymentsByTargetIdAverageCreatedBlockIdAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - DistributionPaymentsByTargetIdAverageCreatedBlockIdDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - DistributionPaymentsByTargetIdAverageDatetimeAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_AVERAGE_DATETIME_ASC', - DistributionPaymentsByTargetIdAverageDatetimeDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_AVERAGE_DATETIME_DESC', - DistributionPaymentsByTargetIdAverageDistributionIdAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_AVERAGE_DISTRIBUTION_ID_ASC', - DistributionPaymentsByTargetIdAverageDistributionIdDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_AVERAGE_DISTRIBUTION_ID_DESC', - DistributionPaymentsByTargetIdAverageEventIdAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_AVERAGE_EVENT_ID_ASC', - DistributionPaymentsByTargetIdAverageEventIdDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_AVERAGE_EVENT_ID_DESC', - DistributionPaymentsByTargetIdAverageIdAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_AVERAGE_ID_ASC', - DistributionPaymentsByTargetIdAverageIdDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_AVERAGE_ID_DESC', - DistributionPaymentsByTargetIdAverageReclaimedAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_AVERAGE_RECLAIMED_ASC', - DistributionPaymentsByTargetIdAverageReclaimedDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_AVERAGE_RECLAIMED_DESC', - DistributionPaymentsByTargetIdAverageTargetIdAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_AVERAGE_TARGET_ID_ASC', - DistributionPaymentsByTargetIdAverageTargetIdDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_AVERAGE_TARGET_ID_DESC', - DistributionPaymentsByTargetIdAverageTaxAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_AVERAGE_TAX_ASC', - DistributionPaymentsByTargetIdAverageTaxDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_AVERAGE_TAX_DESC', - DistributionPaymentsByTargetIdAverageUpdatedAtAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_AVERAGE_UPDATED_AT_ASC', - DistributionPaymentsByTargetIdAverageUpdatedAtDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_AVERAGE_UPDATED_AT_DESC', - DistributionPaymentsByTargetIdAverageUpdatedBlockIdAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - DistributionPaymentsByTargetIdAverageUpdatedBlockIdDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - DistributionPaymentsByTargetIdCountAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_COUNT_ASC', - DistributionPaymentsByTargetIdCountDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_COUNT_DESC', - DistributionPaymentsByTargetIdDistinctCountAmountAfterTaxAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_DISTINCT_COUNT_AMOUNT_AFTER_TAX_ASC', - DistributionPaymentsByTargetIdDistinctCountAmountAfterTaxDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_DISTINCT_COUNT_AMOUNT_AFTER_TAX_DESC', - DistributionPaymentsByTargetIdDistinctCountAmountAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_DISTINCT_COUNT_AMOUNT_ASC', - DistributionPaymentsByTargetIdDistinctCountAmountDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_DISTINCT_COUNT_AMOUNT_DESC', - DistributionPaymentsByTargetIdDistinctCountCreatedAtAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_DISTINCT_COUNT_CREATED_AT_ASC', - DistributionPaymentsByTargetIdDistinctCountCreatedAtDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_DISTINCT_COUNT_CREATED_AT_DESC', - DistributionPaymentsByTargetIdDistinctCountCreatedBlockIdAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - DistributionPaymentsByTargetIdDistinctCountCreatedBlockIdDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - DistributionPaymentsByTargetIdDistinctCountDatetimeAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_DISTINCT_COUNT_DATETIME_ASC', - DistributionPaymentsByTargetIdDistinctCountDatetimeDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_DISTINCT_COUNT_DATETIME_DESC', - DistributionPaymentsByTargetIdDistinctCountDistributionIdAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_DISTINCT_COUNT_DISTRIBUTION_ID_ASC', - DistributionPaymentsByTargetIdDistinctCountDistributionIdDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_DISTINCT_COUNT_DISTRIBUTION_ID_DESC', - DistributionPaymentsByTargetIdDistinctCountEventIdAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_DISTINCT_COUNT_EVENT_ID_ASC', - DistributionPaymentsByTargetIdDistinctCountEventIdDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_DISTINCT_COUNT_EVENT_ID_DESC', - DistributionPaymentsByTargetIdDistinctCountIdAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_DISTINCT_COUNT_ID_ASC', - DistributionPaymentsByTargetIdDistinctCountIdDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_DISTINCT_COUNT_ID_DESC', - DistributionPaymentsByTargetIdDistinctCountReclaimedAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_DISTINCT_COUNT_RECLAIMED_ASC', - DistributionPaymentsByTargetIdDistinctCountReclaimedDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_DISTINCT_COUNT_RECLAIMED_DESC', - DistributionPaymentsByTargetIdDistinctCountTargetIdAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_DISTINCT_COUNT_TARGET_ID_ASC', - DistributionPaymentsByTargetIdDistinctCountTargetIdDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_DISTINCT_COUNT_TARGET_ID_DESC', - DistributionPaymentsByTargetIdDistinctCountTaxAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_DISTINCT_COUNT_TAX_ASC', - DistributionPaymentsByTargetIdDistinctCountTaxDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_DISTINCT_COUNT_TAX_DESC', - DistributionPaymentsByTargetIdDistinctCountUpdatedAtAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - DistributionPaymentsByTargetIdDistinctCountUpdatedAtDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - DistributionPaymentsByTargetIdDistinctCountUpdatedBlockIdAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - DistributionPaymentsByTargetIdDistinctCountUpdatedBlockIdDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - DistributionPaymentsByTargetIdMaxAmountAfterTaxAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_MAX_AMOUNT_AFTER_TAX_ASC', - DistributionPaymentsByTargetIdMaxAmountAfterTaxDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_MAX_AMOUNT_AFTER_TAX_DESC', - DistributionPaymentsByTargetIdMaxAmountAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_MAX_AMOUNT_ASC', - DistributionPaymentsByTargetIdMaxAmountDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_MAX_AMOUNT_DESC', - DistributionPaymentsByTargetIdMaxCreatedAtAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_MAX_CREATED_AT_ASC', - DistributionPaymentsByTargetIdMaxCreatedAtDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_MAX_CREATED_AT_DESC', - DistributionPaymentsByTargetIdMaxCreatedBlockIdAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_MAX_CREATED_BLOCK_ID_ASC', - DistributionPaymentsByTargetIdMaxCreatedBlockIdDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_MAX_CREATED_BLOCK_ID_DESC', - DistributionPaymentsByTargetIdMaxDatetimeAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_MAX_DATETIME_ASC', - DistributionPaymentsByTargetIdMaxDatetimeDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_MAX_DATETIME_DESC', - DistributionPaymentsByTargetIdMaxDistributionIdAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_MAX_DISTRIBUTION_ID_ASC', - DistributionPaymentsByTargetIdMaxDistributionIdDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_MAX_DISTRIBUTION_ID_DESC', - DistributionPaymentsByTargetIdMaxEventIdAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_MAX_EVENT_ID_ASC', - DistributionPaymentsByTargetIdMaxEventIdDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_MAX_EVENT_ID_DESC', - DistributionPaymentsByTargetIdMaxIdAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_MAX_ID_ASC', - DistributionPaymentsByTargetIdMaxIdDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_MAX_ID_DESC', - DistributionPaymentsByTargetIdMaxReclaimedAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_MAX_RECLAIMED_ASC', - DistributionPaymentsByTargetIdMaxReclaimedDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_MAX_RECLAIMED_DESC', - DistributionPaymentsByTargetIdMaxTargetIdAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_MAX_TARGET_ID_ASC', - DistributionPaymentsByTargetIdMaxTargetIdDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_MAX_TARGET_ID_DESC', - DistributionPaymentsByTargetIdMaxTaxAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_MAX_TAX_ASC', - DistributionPaymentsByTargetIdMaxTaxDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_MAX_TAX_DESC', - DistributionPaymentsByTargetIdMaxUpdatedAtAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_MAX_UPDATED_AT_ASC', - DistributionPaymentsByTargetIdMaxUpdatedAtDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_MAX_UPDATED_AT_DESC', - DistributionPaymentsByTargetIdMaxUpdatedBlockIdAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_MAX_UPDATED_BLOCK_ID_ASC', - DistributionPaymentsByTargetIdMaxUpdatedBlockIdDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_MAX_UPDATED_BLOCK_ID_DESC', - DistributionPaymentsByTargetIdMinAmountAfterTaxAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_MIN_AMOUNT_AFTER_TAX_ASC', - DistributionPaymentsByTargetIdMinAmountAfterTaxDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_MIN_AMOUNT_AFTER_TAX_DESC', - DistributionPaymentsByTargetIdMinAmountAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_MIN_AMOUNT_ASC', - DistributionPaymentsByTargetIdMinAmountDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_MIN_AMOUNT_DESC', - DistributionPaymentsByTargetIdMinCreatedAtAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_MIN_CREATED_AT_ASC', - DistributionPaymentsByTargetIdMinCreatedAtDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_MIN_CREATED_AT_DESC', - DistributionPaymentsByTargetIdMinCreatedBlockIdAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_MIN_CREATED_BLOCK_ID_ASC', - DistributionPaymentsByTargetIdMinCreatedBlockIdDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_MIN_CREATED_BLOCK_ID_DESC', - DistributionPaymentsByTargetIdMinDatetimeAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_MIN_DATETIME_ASC', - DistributionPaymentsByTargetIdMinDatetimeDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_MIN_DATETIME_DESC', - DistributionPaymentsByTargetIdMinDistributionIdAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_MIN_DISTRIBUTION_ID_ASC', - DistributionPaymentsByTargetIdMinDistributionIdDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_MIN_DISTRIBUTION_ID_DESC', - DistributionPaymentsByTargetIdMinEventIdAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_MIN_EVENT_ID_ASC', - DistributionPaymentsByTargetIdMinEventIdDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_MIN_EVENT_ID_DESC', - DistributionPaymentsByTargetIdMinIdAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_MIN_ID_ASC', - DistributionPaymentsByTargetIdMinIdDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_MIN_ID_DESC', - DistributionPaymentsByTargetIdMinReclaimedAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_MIN_RECLAIMED_ASC', - DistributionPaymentsByTargetIdMinReclaimedDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_MIN_RECLAIMED_DESC', - DistributionPaymentsByTargetIdMinTargetIdAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_MIN_TARGET_ID_ASC', - DistributionPaymentsByTargetIdMinTargetIdDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_MIN_TARGET_ID_DESC', - DistributionPaymentsByTargetIdMinTaxAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_MIN_TAX_ASC', - DistributionPaymentsByTargetIdMinTaxDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_MIN_TAX_DESC', - DistributionPaymentsByTargetIdMinUpdatedAtAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_MIN_UPDATED_AT_ASC', - DistributionPaymentsByTargetIdMinUpdatedAtDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_MIN_UPDATED_AT_DESC', - DistributionPaymentsByTargetIdMinUpdatedBlockIdAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_MIN_UPDATED_BLOCK_ID_ASC', - DistributionPaymentsByTargetIdMinUpdatedBlockIdDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_MIN_UPDATED_BLOCK_ID_DESC', - DistributionPaymentsByTargetIdStddevPopulationAmountAfterTaxAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_STDDEV_POPULATION_AMOUNT_AFTER_TAX_ASC', - DistributionPaymentsByTargetIdStddevPopulationAmountAfterTaxDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_STDDEV_POPULATION_AMOUNT_AFTER_TAX_DESC', - DistributionPaymentsByTargetIdStddevPopulationAmountAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_STDDEV_POPULATION_AMOUNT_ASC', - DistributionPaymentsByTargetIdStddevPopulationAmountDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_STDDEV_POPULATION_AMOUNT_DESC', - DistributionPaymentsByTargetIdStddevPopulationCreatedAtAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_STDDEV_POPULATION_CREATED_AT_ASC', - DistributionPaymentsByTargetIdStddevPopulationCreatedAtDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_STDDEV_POPULATION_CREATED_AT_DESC', - DistributionPaymentsByTargetIdStddevPopulationCreatedBlockIdAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - DistributionPaymentsByTargetIdStddevPopulationCreatedBlockIdDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - DistributionPaymentsByTargetIdStddevPopulationDatetimeAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_STDDEV_POPULATION_DATETIME_ASC', - DistributionPaymentsByTargetIdStddevPopulationDatetimeDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_STDDEV_POPULATION_DATETIME_DESC', - DistributionPaymentsByTargetIdStddevPopulationDistributionIdAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_STDDEV_POPULATION_DISTRIBUTION_ID_ASC', - DistributionPaymentsByTargetIdStddevPopulationDistributionIdDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_STDDEV_POPULATION_DISTRIBUTION_ID_DESC', - DistributionPaymentsByTargetIdStddevPopulationEventIdAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_STDDEV_POPULATION_EVENT_ID_ASC', - DistributionPaymentsByTargetIdStddevPopulationEventIdDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_STDDEV_POPULATION_EVENT_ID_DESC', - DistributionPaymentsByTargetIdStddevPopulationIdAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_STDDEV_POPULATION_ID_ASC', - DistributionPaymentsByTargetIdStddevPopulationIdDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_STDDEV_POPULATION_ID_DESC', - DistributionPaymentsByTargetIdStddevPopulationReclaimedAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_STDDEV_POPULATION_RECLAIMED_ASC', - DistributionPaymentsByTargetIdStddevPopulationReclaimedDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_STDDEV_POPULATION_RECLAIMED_DESC', - DistributionPaymentsByTargetIdStddevPopulationTargetIdAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_STDDEV_POPULATION_TARGET_ID_ASC', - DistributionPaymentsByTargetIdStddevPopulationTargetIdDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_STDDEV_POPULATION_TARGET_ID_DESC', - DistributionPaymentsByTargetIdStddevPopulationTaxAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_STDDEV_POPULATION_TAX_ASC', - DistributionPaymentsByTargetIdStddevPopulationTaxDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_STDDEV_POPULATION_TAX_DESC', - DistributionPaymentsByTargetIdStddevPopulationUpdatedAtAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - DistributionPaymentsByTargetIdStddevPopulationUpdatedAtDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - DistributionPaymentsByTargetIdStddevPopulationUpdatedBlockIdAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - DistributionPaymentsByTargetIdStddevPopulationUpdatedBlockIdDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - DistributionPaymentsByTargetIdStddevSampleAmountAfterTaxAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_STDDEV_SAMPLE_AMOUNT_AFTER_TAX_ASC', - DistributionPaymentsByTargetIdStddevSampleAmountAfterTaxDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_STDDEV_SAMPLE_AMOUNT_AFTER_TAX_DESC', - DistributionPaymentsByTargetIdStddevSampleAmountAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_STDDEV_SAMPLE_AMOUNT_ASC', - DistributionPaymentsByTargetIdStddevSampleAmountDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_STDDEV_SAMPLE_AMOUNT_DESC', - DistributionPaymentsByTargetIdStddevSampleCreatedAtAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - DistributionPaymentsByTargetIdStddevSampleCreatedAtDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - DistributionPaymentsByTargetIdStddevSampleCreatedBlockIdAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - DistributionPaymentsByTargetIdStddevSampleCreatedBlockIdDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - DistributionPaymentsByTargetIdStddevSampleDatetimeAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_STDDEV_SAMPLE_DATETIME_ASC', - DistributionPaymentsByTargetIdStddevSampleDatetimeDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_STDDEV_SAMPLE_DATETIME_DESC', - DistributionPaymentsByTargetIdStddevSampleDistributionIdAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_STDDEV_SAMPLE_DISTRIBUTION_ID_ASC', - DistributionPaymentsByTargetIdStddevSampleDistributionIdDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_STDDEV_SAMPLE_DISTRIBUTION_ID_DESC', - DistributionPaymentsByTargetIdStddevSampleEventIdAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_STDDEV_SAMPLE_EVENT_ID_ASC', - DistributionPaymentsByTargetIdStddevSampleEventIdDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_STDDEV_SAMPLE_EVENT_ID_DESC', - DistributionPaymentsByTargetIdStddevSampleIdAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_STDDEV_SAMPLE_ID_ASC', - DistributionPaymentsByTargetIdStddevSampleIdDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_STDDEV_SAMPLE_ID_DESC', - DistributionPaymentsByTargetIdStddevSampleReclaimedAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_STDDEV_SAMPLE_RECLAIMED_ASC', - DistributionPaymentsByTargetIdStddevSampleReclaimedDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_STDDEV_SAMPLE_RECLAIMED_DESC', - DistributionPaymentsByTargetIdStddevSampleTargetIdAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_STDDEV_SAMPLE_TARGET_ID_ASC', - DistributionPaymentsByTargetIdStddevSampleTargetIdDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_STDDEV_SAMPLE_TARGET_ID_DESC', - DistributionPaymentsByTargetIdStddevSampleTaxAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_STDDEV_SAMPLE_TAX_ASC', - DistributionPaymentsByTargetIdStddevSampleTaxDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_STDDEV_SAMPLE_TAX_DESC', - DistributionPaymentsByTargetIdStddevSampleUpdatedAtAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - DistributionPaymentsByTargetIdStddevSampleUpdatedAtDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - DistributionPaymentsByTargetIdStddevSampleUpdatedBlockIdAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - DistributionPaymentsByTargetIdStddevSampleUpdatedBlockIdDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - DistributionPaymentsByTargetIdSumAmountAfterTaxAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_SUM_AMOUNT_AFTER_TAX_ASC', - DistributionPaymentsByTargetIdSumAmountAfterTaxDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_SUM_AMOUNT_AFTER_TAX_DESC', - DistributionPaymentsByTargetIdSumAmountAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_SUM_AMOUNT_ASC', - DistributionPaymentsByTargetIdSumAmountDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_SUM_AMOUNT_DESC', - DistributionPaymentsByTargetIdSumCreatedAtAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_SUM_CREATED_AT_ASC', - DistributionPaymentsByTargetIdSumCreatedAtDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_SUM_CREATED_AT_DESC', - DistributionPaymentsByTargetIdSumCreatedBlockIdAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_SUM_CREATED_BLOCK_ID_ASC', - DistributionPaymentsByTargetIdSumCreatedBlockIdDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_SUM_CREATED_BLOCK_ID_DESC', - DistributionPaymentsByTargetIdSumDatetimeAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_SUM_DATETIME_ASC', - DistributionPaymentsByTargetIdSumDatetimeDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_SUM_DATETIME_DESC', - DistributionPaymentsByTargetIdSumDistributionIdAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_SUM_DISTRIBUTION_ID_ASC', - DistributionPaymentsByTargetIdSumDistributionIdDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_SUM_DISTRIBUTION_ID_DESC', - DistributionPaymentsByTargetIdSumEventIdAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_SUM_EVENT_ID_ASC', - DistributionPaymentsByTargetIdSumEventIdDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_SUM_EVENT_ID_DESC', - DistributionPaymentsByTargetIdSumIdAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_SUM_ID_ASC', - DistributionPaymentsByTargetIdSumIdDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_SUM_ID_DESC', - DistributionPaymentsByTargetIdSumReclaimedAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_SUM_RECLAIMED_ASC', - DistributionPaymentsByTargetIdSumReclaimedDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_SUM_RECLAIMED_DESC', - DistributionPaymentsByTargetIdSumTargetIdAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_SUM_TARGET_ID_ASC', - DistributionPaymentsByTargetIdSumTargetIdDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_SUM_TARGET_ID_DESC', - DistributionPaymentsByTargetIdSumTaxAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_SUM_TAX_ASC', - DistributionPaymentsByTargetIdSumTaxDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_SUM_TAX_DESC', - DistributionPaymentsByTargetIdSumUpdatedAtAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_SUM_UPDATED_AT_ASC', - DistributionPaymentsByTargetIdSumUpdatedAtDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_SUM_UPDATED_AT_DESC', - DistributionPaymentsByTargetIdSumUpdatedBlockIdAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_SUM_UPDATED_BLOCK_ID_ASC', - DistributionPaymentsByTargetIdSumUpdatedBlockIdDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_SUM_UPDATED_BLOCK_ID_DESC', - DistributionPaymentsByTargetIdVariancePopulationAmountAfterTaxAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_VARIANCE_POPULATION_AMOUNT_AFTER_TAX_ASC', - DistributionPaymentsByTargetIdVariancePopulationAmountAfterTaxDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_VARIANCE_POPULATION_AMOUNT_AFTER_TAX_DESC', - DistributionPaymentsByTargetIdVariancePopulationAmountAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_VARIANCE_POPULATION_AMOUNT_ASC', - DistributionPaymentsByTargetIdVariancePopulationAmountDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_VARIANCE_POPULATION_AMOUNT_DESC', - DistributionPaymentsByTargetIdVariancePopulationCreatedAtAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - DistributionPaymentsByTargetIdVariancePopulationCreatedAtDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - DistributionPaymentsByTargetIdVariancePopulationCreatedBlockIdAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - DistributionPaymentsByTargetIdVariancePopulationCreatedBlockIdDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - DistributionPaymentsByTargetIdVariancePopulationDatetimeAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_VARIANCE_POPULATION_DATETIME_ASC', - DistributionPaymentsByTargetIdVariancePopulationDatetimeDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_VARIANCE_POPULATION_DATETIME_DESC', - DistributionPaymentsByTargetIdVariancePopulationDistributionIdAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_VARIANCE_POPULATION_DISTRIBUTION_ID_ASC', - DistributionPaymentsByTargetIdVariancePopulationDistributionIdDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_VARIANCE_POPULATION_DISTRIBUTION_ID_DESC', - DistributionPaymentsByTargetIdVariancePopulationEventIdAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_VARIANCE_POPULATION_EVENT_ID_ASC', - DistributionPaymentsByTargetIdVariancePopulationEventIdDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_VARIANCE_POPULATION_EVENT_ID_DESC', - DistributionPaymentsByTargetIdVariancePopulationIdAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_VARIANCE_POPULATION_ID_ASC', - DistributionPaymentsByTargetIdVariancePopulationIdDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_VARIANCE_POPULATION_ID_DESC', - DistributionPaymentsByTargetIdVariancePopulationReclaimedAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_VARIANCE_POPULATION_RECLAIMED_ASC', - DistributionPaymentsByTargetIdVariancePopulationReclaimedDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_VARIANCE_POPULATION_RECLAIMED_DESC', - DistributionPaymentsByTargetIdVariancePopulationTargetIdAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_VARIANCE_POPULATION_TARGET_ID_ASC', - DistributionPaymentsByTargetIdVariancePopulationTargetIdDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_VARIANCE_POPULATION_TARGET_ID_DESC', - DistributionPaymentsByTargetIdVariancePopulationTaxAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_VARIANCE_POPULATION_TAX_ASC', - DistributionPaymentsByTargetIdVariancePopulationTaxDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_VARIANCE_POPULATION_TAX_DESC', - DistributionPaymentsByTargetIdVariancePopulationUpdatedAtAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - DistributionPaymentsByTargetIdVariancePopulationUpdatedAtDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - DistributionPaymentsByTargetIdVariancePopulationUpdatedBlockIdAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - DistributionPaymentsByTargetIdVariancePopulationUpdatedBlockIdDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - DistributionPaymentsByTargetIdVarianceSampleAmountAfterTaxAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_VARIANCE_SAMPLE_AMOUNT_AFTER_TAX_ASC', - DistributionPaymentsByTargetIdVarianceSampleAmountAfterTaxDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_VARIANCE_SAMPLE_AMOUNT_AFTER_TAX_DESC', - DistributionPaymentsByTargetIdVarianceSampleAmountAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_VARIANCE_SAMPLE_AMOUNT_ASC', - DistributionPaymentsByTargetIdVarianceSampleAmountDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_VARIANCE_SAMPLE_AMOUNT_DESC', - DistributionPaymentsByTargetIdVarianceSampleCreatedAtAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - DistributionPaymentsByTargetIdVarianceSampleCreatedAtDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - DistributionPaymentsByTargetIdVarianceSampleCreatedBlockIdAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - DistributionPaymentsByTargetIdVarianceSampleCreatedBlockIdDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - DistributionPaymentsByTargetIdVarianceSampleDatetimeAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_VARIANCE_SAMPLE_DATETIME_ASC', - DistributionPaymentsByTargetIdVarianceSampleDatetimeDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_VARIANCE_SAMPLE_DATETIME_DESC', - DistributionPaymentsByTargetIdVarianceSampleDistributionIdAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_VARIANCE_SAMPLE_DISTRIBUTION_ID_ASC', - DistributionPaymentsByTargetIdVarianceSampleDistributionIdDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_VARIANCE_SAMPLE_DISTRIBUTION_ID_DESC', - DistributionPaymentsByTargetIdVarianceSampleEventIdAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_VARIANCE_SAMPLE_EVENT_ID_ASC', - DistributionPaymentsByTargetIdVarianceSampleEventIdDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_VARIANCE_SAMPLE_EVENT_ID_DESC', - DistributionPaymentsByTargetIdVarianceSampleIdAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_VARIANCE_SAMPLE_ID_ASC', - DistributionPaymentsByTargetIdVarianceSampleIdDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_VARIANCE_SAMPLE_ID_DESC', - DistributionPaymentsByTargetIdVarianceSampleReclaimedAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_VARIANCE_SAMPLE_RECLAIMED_ASC', - DistributionPaymentsByTargetIdVarianceSampleReclaimedDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_VARIANCE_SAMPLE_RECLAIMED_DESC', - DistributionPaymentsByTargetIdVarianceSampleTargetIdAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_VARIANCE_SAMPLE_TARGET_ID_ASC', - DistributionPaymentsByTargetIdVarianceSampleTargetIdDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_VARIANCE_SAMPLE_TARGET_ID_DESC', - DistributionPaymentsByTargetIdVarianceSampleTaxAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_VARIANCE_SAMPLE_TAX_ASC', - DistributionPaymentsByTargetIdVarianceSampleTaxDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_VARIANCE_SAMPLE_TAX_DESC', - DistributionPaymentsByTargetIdVarianceSampleUpdatedAtAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - DistributionPaymentsByTargetIdVarianceSampleUpdatedAtDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - DistributionPaymentsByTargetIdVarianceSampleUpdatedBlockIdAsc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - DistributionPaymentsByTargetIdVarianceSampleUpdatedBlockIdDesc = 'DISTRIBUTION_PAYMENTS_BY_TARGET_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - EventIdAsc = 'EVENT_ID_ASC', - EventIdDesc = 'EVENT_ID_DESC', - HeldAssetsAverageAmountAsc = 'HELD_ASSETS_AVERAGE_AMOUNT_ASC', - HeldAssetsAverageAmountDesc = 'HELD_ASSETS_AVERAGE_AMOUNT_DESC', - HeldAssetsAverageAssetIdAsc = 'HELD_ASSETS_AVERAGE_ASSET_ID_ASC', - HeldAssetsAverageAssetIdDesc = 'HELD_ASSETS_AVERAGE_ASSET_ID_DESC', - HeldAssetsAverageCreatedAtAsc = 'HELD_ASSETS_AVERAGE_CREATED_AT_ASC', - HeldAssetsAverageCreatedAtDesc = 'HELD_ASSETS_AVERAGE_CREATED_AT_DESC', - HeldAssetsAverageCreatedBlockIdAsc = 'HELD_ASSETS_AVERAGE_CREATED_BLOCK_ID_ASC', - HeldAssetsAverageCreatedBlockIdDesc = 'HELD_ASSETS_AVERAGE_CREATED_BLOCK_ID_DESC', - HeldAssetsAverageIdentityIdAsc = 'HELD_ASSETS_AVERAGE_IDENTITY_ID_ASC', - HeldAssetsAverageIdentityIdDesc = 'HELD_ASSETS_AVERAGE_IDENTITY_ID_DESC', - HeldAssetsAverageIdAsc = 'HELD_ASSETS_AVERAGE_ID_ASC', - HeldAssetsAverageIdDesc = 'HELD_ASSETS_AVERAGE_ID_DESC', - HeldAssetsAverageUpdatedAtAsc = 'HELD_ASSETS_AVERAGE_UPDATED_AT_ASC', - HeldAssetsAverageUpdatedAtDesc = 'HELD_ASSETS_AVERAGE_UPDATED_AT_DESC', - HeldAssetsAverageUpdatedBlockIdAsc = 'HELD_ASSETS_AVERAGE_UPDATED_BLOCK_ID_ASC', - HeldAssetsAverageUpdatedBlockIdDesc = 'HELD_ASSETS_AVERAGE_UPDATED_BLOCK_ID_DESC', - HeldAssetsCountAsc = 'HELD_ASSETS_COUNT_ASC', - HeldAssetsCountDesc = 'HELD_ASSETS_COUNT_DESC', - HeldAssetsDistinctCountAmountAsc = 'HELD_ASSETS_DISTINCT_COUNT_AMOUNT_ASC', - HeldAssetsDistinctCountAmountDesc = 'HELD_ASSETS_DISTINCT_COUNT_AMOUNT_DESC', - HeldAssetsDistinctCountAssetIdAsc = 'HELD_ASSETS_DISTINCT_COUNT_ASSET_ID_ASC', - HeldAssetsDistinctCountAssetIdDesc = 'HELD_ASSETS_DISTINCT_COUNT_ASSET_ID_DESC', - HeldAssetsDistinctCountCreatedAtAsc = 'HELD_ASSETS_DISTINCT_COUNT_CREATED_AT_ASC', - HeldAssetsDistinctCountCreatedAtDesc = 'HELD_ASSETS_DISTINCT_COUNT_CREATED_AT_DESC', - HeldAssetsDistinctCountCreatedBlockIdAsc = 'HELD_ASSETS_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - HeldAssetsDistinctCountCreatedBlockIdDesc = 'HELD_ASSETS_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - HeldAssetsDistinctCountIdentityIdAsc = 'HELD_ASSETS_DISTINCT_COUNT_IDENTITY_ID_ASC', - HeldAssetsDistinctCountIdentityIdDesc = 'HELD_ASSETS_DISTINCT_COUNT_IDENTITY_ID_DESC', - HeldAssetsDistinctCountIdAsc = 'HELD_ASSETS_DISTINCT_COUNT_ID_ASC', - HeldAssetsDistinctCountIdDesc = 'HELD_ASSETS_DISTINCT_COUNT_ID_DESC', - HeldAssetsDistinctCountUpdatedAtAsc = 'HELD_ASSETS_DISTINCT_COUNT_UPDATED_AT_ASC', - HeldAssetsDistinctCountUpdatedAtDesc = 'HELD_ASSETS_DISTINCT_COUNT_UPDATED_AT_DESC', - HeldAssetsDistinctCountUpdatedBlockIdAsc = 'HELD_ASSETS_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - HeldAssetsDistinctCountUpdatedBlockIdDesc = 'HELD_ASSETS_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - HeldAssetsMaxAmountAsc = 'HELD_ASSETS_MAX_AMOUNT_ASC', - HeldAssetsMaxAmountDesc = 'HELD_ASSETS_MAX_AMOUNT_DESC', - HeldAssetsMaxAssetIdAsc = 'HELD_ASSETS_MAX_ASSET_ID_ASC', - HeldAssetsMaxAssetIdDesc = 'HELD_ASSETS_MAX_ASSET_ID_DESC', - HeldAssetsMaxCreatedAtAsc = 'HELD_ASSETS_MAX_CREATED_AT_ASC', - HeldAssetsMaxCreatedAtDesc = 'HELD_ASSETS_MAX_CREATED_AT_DESC', - HeldAssetsMaxCreatedBlockIdAsc = 'HELD_ASSETS_MAX_CREATED_BLOCK_ID_ASC', - HeldAssetsMaxCreatedBlockIdDesc = 'HELD_ASSETS_MAX_CREATED_BLOCK_ID_DESC', - HeldAssetsMaxIdentityIdAsc = 'HELD_ASSETS_MAX_IDENTITY_ID_ASC', - HeldAssetsMaxIdentityIdDesc = 'HELD_ASSETS_MAX_IDENTITY_ID_DESC', - HeldAssetsMaxIdAsc = 'HELD_ASSETS_MAX_ID_ASC', - HeldAssetsMaxIdDesc = 'HELD_ASSETS_MAX_ID_DESC', - HeldAssetsMaxUpdatedAtAsc = 'HELD_ASSETS_MAX_UPDATED_AT_ASC', - HeldAssetsMaxUpdatedAtDesc = 'HELD_ASSETS_MAX_UPDATED_AT_DESC', - HeldAssetsMaxUpdatedBlockIdAsc = 'HELD_ASSETS_MAX_UPDATED_BLOCK_ID_ASC', - HeldAssetsMaxUpdatedBlockIdDesc = 'HELD_ASSETS_MAX_UPDATED_BLOCK_ID_DESC', - HeldAssetsMinAmountAsc = 'HELD_ASSETS_MIN_AMOUNT_ASC', - HeldAssetsMinAmountDesc = 'HELD_ASSETS_MIN_AMOUNT_DESC', - HeldAssetsMinAssetIdAsc = 'HELD_ASSETS_MIN_ASSET_ID_ASC', - HeldAssetsMinAssetIdDesc = 'HELD_ASSETS_MIN_ASSET_ID_DESC', - HeldAssetsMinCreatedAtAsc = 'HELD_ASSETS_MIN_CREATED_AT_ASC', - HeldAssetsMinCreatedAtDesc = 'HELD_ASSETS_MIN_CREATED_AT_DESC', - HeldAssetsMinCreatedBlockIdAsc = 'HELD_ASSETS_MIN_CREATED_BLOCK_ID_ASC', - HeldAssetsMinCreatedBlockIdDesc = 'HELD_ASSETS_MIN_CREATED_BLOCK_ID_DESC', - HeldAssetsMinIdentityIdAsc = 'HELD_ASSETS_MIN_IDENTITY_ID_ASC', - HeldAssetsMinIdentityIdDesc = 'HELD_ASSETS_MIN_IDENTITY_ID_DESC', - HeldAssetsMinIdAsc = 'HELD_ASSETS_MIN_ID_ASC', - HeldAssetsMinIdDesc = 'HELD_ASSETS_MIN_ID_DESC', - HeldAssetsMinUpdatedAtAsc = 'HELD_ASSETS_MIN_UPDATED_AT_ASC', - HeldAssetsMinUpdatedAtDesc = 'HELD_ASSETS_MIN_UPDATED_AT_DESC', - HeldAssetsMinUpdatedBlockIdAsc = 'HELD_ASSETS_MIN_UPDATED_BLOCK_ID_ASC', - HeldAssetsMinUpdatedBlockIdDesc = 'HELD_ASSETS_MIN_UPDATED_BLOCK_ID_DESC', - HeldAssetsStddevPopulationAmountAsc = 'HELD_ASSETS_STDDEV_POPULATION_AMOUNT_ASC', - HeldAssetsStddevPopulationAmountDesc = 'HELD_ASSETS_STDDEV_POPULATION_AMOUNT_DESC', - HeldAssetsStddevPopulationAssetIdAsc = 'HELD_ASSETS_STDDEV_POPULATION_ASSET_ID_ASC', - HeldAssetsStddevPopulationAssetIdDesc = 'HELD_ASSETS_STDDEV_POPULATION_ASSET_ID_DESC', - HeldAssetsStddevPopulationCreatedAtAsc = 'HELD_ASSETS_STDDEV_POPULATION_CREATED_AT_ASC', - HeldAssetsStddevPopulationCreatedAtDesc = 'HELD_ASSETS_STDDEV_POPULATION_CREATED_AT_DESC', - HeldAssetsStddevPopulationCreatedBlockIdAsc = 'HELD_ASSETS_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - HeldAssetsStddevPopulationCreatedBlockIdDesc = 'HELD_ASSETS_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - HeldAssetsStddevPopulationIdentityIdAsc = 'HELD_ASSETS_STDDEV_POPULATION_IDENTITY_ID_ASC', - HeldAssetsStddevPopulationIdentityIdDesc = 'HELD_ASSETS_STDDEV_POPULATION_IDENTITY_ID_DESC', - HeldAssetsStddevPopulationIdAsc = 'HELD_ASSETS_STDDEV_POPULATION_ID_ASC', - HeldAssetsStddevPopulationIdDesc = 'HELD_ASSETS_STDDEV_POPULATION_ID_DESC', - HeldAssetsStddevPopulationUpdatedAtAsc = 'HELD_ASSETS_STDDEV_POPULATION_UPDATED_AT_ASC', - HeldAssetsStddevPopulationUpdatedAtDesc = 'HELD_ASSETS_STDDEV_POPULATION_UPDATED_AT_DESC', - HeldAssetsStddevPopulationUpdatedBlockIdAsc = 'HELD_ASSETS_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - HeldAssetsStddevPopulationUpdatedBlockIdDesc = 'HELD_ASSETS_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - HeldAssetsStddevSampleAmountAsc = 'HELD_ASSETS_STDDEV_SAMPLE_AMOUNT_ASC', - HeldAssetsStddevSampleAmountDesc = 'HELD_ASSETS_STDDEV_SAMPLE_AMOUNT_DESC', - HeldAssetsStddevSampleAssetIdAsc = 'HELD_ASSETS_STDDEV_SAMPLE_ASSET_ID_ASC', - HeldAssetsStddevSampleAssetIdDesc = 'HELD_ASSETS_STDDEV_SAMPLE_ASSET_ID_DESC', - HeldAssetsStddevSampleCreatedAtAsc = 'HELD_ASSETS_STDDEV_SAMPLE_CREATED_AT_ASC', - HeldAssetsStddevSampleCreatedAtDesc = 'HELD_ASSETS_STDDEV_SAMPLE_CREATED_AT_DESC', - HeldAssetsStddevSampleCreatedBlockIdAsc = 'HELD_ASSETS_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - HeldAssetsStddevSampleCreatedBlockIdDesc = 'HELD_ASSETS_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - HeldAssetsStddevSampleIdentityIdAsc = 'HELD_ASSETS_STDDEV_SAMPLE_IDENTITY_ID_ASC', - HeldAssetsStddevSampleIdentityIdDesc = 'HELD_ASSETS_STDDEV_SAMPLE_IDENTITY_ID_DESC', - HeldAssetsStddevSampleIdAsc = 'HELD_ASSETS_STDDEV_SAMPLE_ID_ASC', - HeldAssetsStddevSampleIdDesc = 'HELD_ASSETS_STDDEV_SAMPLE_ID_DESC', - HeldAssetsStddevSampleUpdatedAtAsc = 'HELD_ASSETS_STDDEV_SAMPLE_UPDATED_AT_ASC', - HeldAssetsStddevSampleUpdatedAtDesc = 'HELD_ASSETS_STDDEV_SAMPLE_UPDATED_AT_DESC', - HeldAssetsStddevSampleUpdatedBlockIdAsc = 'HELD_ASSETS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - HeldAssetsStddevSampleUpdatedBlockIdDesc = 'HELD_ASSETS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - HeldAssetsSumAmountAsc = 'HELD_ASSETS_SUM_AMOUNT_ASC', - HeldAssetsSumAmountDesc = 'HELD_ASSETS_SUM_AMOUNT_DESC', - HeldAssetsSumAssetIdAsc = 'HELD_ASSETS_SUM_ASSET_ID_ASC', - HeldAssetsSumAssetIdDesc = 'HELD_ASSETS_SUM_ASSET_ID_DESC', - HeldAssetsSumCreatedAtAsc = 'HELD_ASSETS_SUM_CREATED_AT_ASC', - HeldAssetsSumCreatedAtDesc = 'HELD_ASSETS_SUM_CREATED_AT_DESC', - HeldAssetsSumCreatedBlockIdAsc = 'HELD_ASSETS_SUM_CREATED_BLOCK_ID_ASC', - HeldAssetsSumCreatedBlockIdDesc = 'HELD_ASSETS_SUM_CREATED_BLOCK_ID_DESC', - HeldAssetsSumIdentityIdAsc = 'HELD_ASSETS_SUM_IDENTITY_ID_ASC', - HeldAssetsSumIdentityIdDesc = 'HELD_ASSETS_SUM_IDENTITY_ID_DESC', - HeldAssetsSumIdAsc = 'HELD_ASSETS_SUM_ID_ASC', - HeldAssetsSumIdDesc = 'HELD_ASSETS_SUM_ID_DESC', - HeldAssetsSumUpdatedAtAsc = 'HELD_ASSETS_SUM_UPDATED_AT_ASC', - HeldAssetsSumUpdatedAtDesc = 'HELD_ASSETS_SUM_UPDATED_AT_DESC', - HeldAssetsSumUpdatedBlockIdAsc = 'HELD_ASSETS_SUM_UPDATED_BLOCK_ID_ASC', - HeldAssetsSumUpdatedBlockIdDesc = 'HELD_ASSETS_SUM_UPDATED_BLOCK_ID_DESC', - HeldAssetsVariancePopulationAmountAsc = 'HELD_ASSETS_VARIANCE_POPULATION_AMOUNT_ASC', - HeldAssetsVariancePopulationAmountDesc = 'HELD_ASSETS_VARIANCE_POPULATION_AMOUNT_DESC', - HeldAssetsVariancePopulationAssetIdAsc = 'HELD_ASSETS_VARIANCE_POPULATION_ASSET_ID_ASC', - HeldAssetsVariancePopulationAssetIdDesc = 'HELD_ASSETS_VARIANCE_POPULATION_ASSET_ID_DESC', - HeldAssetsVariancePopulationCreatedAtAsc = 'HELD_ASSETS_VARIANCE_POPULATION_CREATED_AT_ASC', - HeldAssetsVariancePopulationCreatedAtDesc = 'HELD_ASSETS_VARIANCE_POPULATION_CREATED_AT_DESC', - HeldAssetsVariancePopulationCreatedBlockIdAsc = 'HELD_ASSETS_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - HeldAssetsVariancePopulationCreatedBlockIdDesc = 'HELD_ASSETS_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - HeldAssetsVariancePopulationIdentityIdAsc = 'HELD_ASSETS_VARIANCE_POPULATION_IDENTITY_ID_ASC', - HeldAssetsVariancePopulationIdentityIdDesc = 'HELD_ASSETS_VARIANCE_POPULATION_IDENTITY_ID_DESC', - HeldAssetsVariancePopulationIdAsc = 'HELD_ASSETS_VARIANCE_POPULATION_ID_ASC', - HeldAssetsVariancePopulationIdDesc = 'HELD_ASSETS_VARIANCE_POPULATION_ID_DESC', - HeldAssetsVariancePopulationUpdatedAtAsc = 'HELD_ASSETS_VARIANCE_POPULATION_UPDATED_AT_ASC', - HeldAssetsVariancePopulationUpdatedAtDesc = 'HELD_ASSETS_VARIANCE_POPULATION_UPDATED_AT_DESC', - HeldAssetsVariancePopulationUpdatedBlockIdAsc = 'HELD_ASSETS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - HeldAssetsVariancePopulationUpdatedBlockIdDesc = 'HELD_ASSETS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - HeldAssetsVarianceSampleAmountAsc = 'HELD_ASSETS_VARIANCE_SAMPLE_AMOUNT_ASC', - HeldAssetsVarianceSampleAmountDesc = 'HELD_ASSETS_VARIANCE_SAMPLE_AMOUNT_DESC', - HeldAssetsVarianceSampleAssetIdAsc = 'HELD_ASSETS_VARIANCE_SAMPLE_ASSET_ID_ASC', - HeldAssetsVarianceSampleAssetIdDesc = 'HELD_ASSETS_VARIANCE_SAMPLE_ASSET_ID_DESC', - HeldAssetsVarianceSampleCreatedAtAsc = 'HELD_ASSETS_VARIANCE_SAMPLE_CREATED_AT_ASC', - HeldAssetsVarianceSampleCreatedAtDesc = 'HELD_ASSETS_VARIANCE_SAMPLE_CREATED_AT_DESC', - HeldAssetsVarianceSampleCreatedBlockIdAsc = 'HELD_ASSETS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - HeldAssetsVarianceSampleCreatedBlockIdDesc = 'HELD_ASSETS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - HeldAssetsVarianceSampleIdentityIdAsc = 'HELD_ASSETS_VARIANCE_SAMPLE_IDENTITY_ID_ASC', - HeldAssetsVarianceSampleIdentityIdDesc = 'HELD_ASSETS_VARIANCE_SAMPLE_IDENTITY_ID_DESC', - HeldAssetsVarianceSampleIdAsc = 'HELD_ASSETS_VARIANCE_SAMPLE_ID_ASC', - HeldAssetsVarianceSampleIdDesc = 'HELD_ASSETS_VARIANCE_SAMPLE_ID_DESC', - HeldAssetsVarianceSampleUpdatedAtAsc = 'HELD_ASSETS_VARIANCE_SAMPLE_UPDATED_AT_ASC', - HeldAssetsVarianceSampleUpdatedAtDesc = 'HELD_ASSETS_VARIANCE_SAMPLE_UPDATED_AT_DESC', - HeldAssetsVarianceSampleUpdatedBlockIdAsc = 'HELD_ASSETS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - HeldAssetsVarianceSampleUpdatedBlockIdDesc = 'HELD_ASSETS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - HeldNftsAverageAssetIdAsc = 'HELD_NFTS_AVERAGE_ASSET_ID_ASC', - HeldNftsAverageAssetIdDesc = 'HELD_NFTS_AVERAGE_ASSET_ID_DESC', - HeldNftsAverageCreatedAtAsc = 'HELD_NFTS_AVERAGE_CREATED_AT_ASC', - HeldNftsAverageCreatedAtDesc = 'HELD_NFTS_AVERAGE_CREATED_AT_DESC', - HeldNftsAverageCreatedBlockIdAsc = 'HELD_NFTS_AVERAGE_CREATED_BLOCK_ID_ASC', - HeldNftsAverageCreatedBlockIdDesc = 'HELD_NFTS_AVERAGE_CREATED_BLOCK_ID_DESC', - HeldNftsAverageIdentityIdAsc = 'HELD_NFTS_AVERAGE_IDENTITY_ID_ASC', - HeldNftsAverageIdentityIdDesc = 'HELD_NFTS_AVERAGE_IDENTITY_ID_DESC', - HeldNftsAverageIdAsc = 'HELD_NFTS_AVERAGE_ID_ASC', - HeldNftsAverageIdDesc = 'HELD_NFTS_AVERAGE_ID_DESC', - HeldNftsAverageNftIdsAsc = 'HELD_NFTS_AVERAGE_NFT_IDS_ASC', - HeldNftsAverageNftIdsDesc = 'HELD_NFTS_AVERAGE_NFT_IDS_DESC', - HeldNftsAverageUpdatedAtAsc = 'HELD_NFTS_AVERAGE_UPDATED_AT_ASC', - HeldNftsAverageUpdatedAtDesc = 'HELD_NFTS_AVERAGE_UPDATED_AT_DESC', - HeldNftsAverageUpdatedBlockIdAsc = 'HELD_NFTS_AVERAGE_UPDATED_BLOCK_ID_ASC', - HeldNftsAverageUpdatedBlockIdDesc = 'HELD_NFTS_AVERAGE_UPDATED_BLOCK_ID_DESC', - HeldNftsCountAsc = 'HELD_NFTS_COUNT_ASC', - HeldNftsCountDesc = 'HELD_NFTS_COUNT_DESC', - HeldNftsDistinctCountAssetIdAsc = 'HELD_NFTS_DISTINCT_COUNT_ASSET_ID_ASC', - HeldNftsDistinctCountAssetIdDesc = 'HELD_NFTS_DISTINCT_COUNT_ASSET_ID_DESC', - HeldNftsDistinctCountCreatedAtAsc = 'HELD_NFTS_DISTINCT_COUNT_CREATED_AT_ASC', - HeldNftsDistinctCountCreatedAtDesc = 'HELD_NFTS_DISTINCT_COUNT_CREATED_AT_DESC', - HeldNftsDistinctCountCreatedBlockIdAsc = 'HELD_NFTS_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - HeldNftsDistinctCountCreatedBlockIdDesc = 'HELD_NFTS_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - HeldNftsDistinctCountIdentityIdAsc = 'HELD_NFTS_DISTINCT_COUNT_IDENTITY_ID_ASC', - HeldNftsDistinctCountIdentityIdDesc = 'HELD_NFTS_DISTINCT_COUNT_IDENTITY_ID_DESC', - HeldNftsDistinctCountIdAsc = 'HELD_NFTS_DISTINCT_COUNT_ID_ASC', - HeldNftsDistinctCountIdDesc = 'HELD_NFTS_DISTINCT_COUNT_ID_DESC', - HeldNftsDistinctCountNftIdsAsc = 'HELD_NFTS_DISTINCT_COUNT_NFT_IDS_ASC', - HeldNftsDistinctCountNftIdsDesc = 'HELD_NFTS_DISTINCT_COUNT_NFT_IDS_DESC', - HeldNftsDistinctCountUpdatedAtAsc = 'HELD_NFTS_DISTINCT_COUNT_UPDATED_AT_ASC', - HeldNftsDistinctCountUpdatedAtDesc = 'HELD_NFTS_DISTINCT_COUNT_UPDATED_AT_DESC', - HeldNftsDistinctCountUpdatedBlockIdAsc = 'HELD_NFTS_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - HeldNftsDistinctCountUpdatedBlockIdDesc = 'HELD_NFTS_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - HeldNftsMaxAssetIdAsc = 'HELD_NFTS_MAX_ASSET_ID_ASC', - HeldNftsMaxAssetIdDesc = 'HELD_NFTS_MAX_ASSET_ID_DESC', - HeldNftsMaxCreatedAtAsc = 'HELD_NFTS_MAX_CREATED_AT_ASC', - HeldNftsMaxCreatedAtDesc = 'HELD_NFTS_MAX_CREATED_AT_DESC', - HeldNftsMaxCreatedBlockIdAsc = 'HELD_NFTS_MAX_CREATED_BLOCK_ID_ASC', - HeldNftsMaxCreatedBlockIdDesc = 'HELD_NFTS_MAX_CREATED_BLOCK_ID_DESC', - HeldNftsMaxIdentityIdAsc = 'HELD_NFTS_MAX_IDENTITY_ID_ASC', - HeldNftsMaxIdentityIdDesc = 'HELD_NFTS_MAX_IDENTITY_ID_DESC', - HeldNftsMaxIdAsc = 'HELD_NFTS_MAX_ID_ASC', - HeldNftsMaxIdDesc = 'HELD_NFTS_MAX_ID_DESC', - HeldNftsMaxNftIdsAsc = 'HELD_NFTS_MAX_NFT_IDS_ASC', - HeldNftsMaxNftIdsDesc = 'HELD_NFTS_MAX_NFT_IDS_DESC', - HeldNftsMaxUpdatedAtAsc = 'HELD_NFTS_MAX_UPDATED_AT_ASC', - HeldNftsMaxUpdatedAtDesc = 'HELD_NFTS_MAX_UPDATED_AT_DESC', - HeldNftsMaxUpdatedBlockIdAsc = 'HELD_NFTS_MAX_UPDATED_BLOCK_ID_ASC', - HeldNftsMaxUpdatedBlockIdDesc = 'HELD_NFTS_MAX_UPDATED_BLOCK_ID_DESC', - HeldNftsMinAssetIdAsc = 'HELD_NFTS_MIN_ASSET_ID_ASC', - HeldNftsMinAssetIdDesc = 'HELD_NFTS_MIN_ASSET_ID_DESC', - HeldNftsMinCreatedAtAsc = 'HELD_NFTS_MIN_CREATED_AT_ASC', - HeldNftsMinCreatedAtDesc = 'HELD_NFTS_MIN_CREATED_AT_DESC', - HeldNftsMinCreatedBlockIdAsc = 'HELD_NFTS_MIN_CREATED_BLOCK_ID_ASC', - HeldNftsMinCreatedBlockIdDesc = 'HELD_NFTS_MIN_CREATED_BLOCK_ID_DESC', - HeldNftsMinIdentityIdAsc = 'HELD_NFTS_MIN_IDENTITY_ID_ASC', - HeldNftsMinIdentityIdDesc = 'HELD_NFTS_MIN_IDENTITY_ID_DESC', - HeldNftsMinIdAsc = 'HELD_NFTS_MIN_ID_ASC', - HeldNftsMinIdDesc = 'HELD_NFTS_MIN_ID_DESC', - HeldNftsMinNftIdsAsc = 'HELD_NFTS_MIN_NFT_IDS_ASC', - HeldNftsMinNftIdsDesc = 'HELD_NFTS_MIN_NFT_IDS_DESC', - HeldNftsMinUpdatedAtAsc = 'HELD_NFTS_MIN_UPDATED_AT_ASC', - HeldNftsMinUpdatedAtDesc = 'HELD_NFTS_MIN_UPDATED_AT_DESC', - HeldNftsMinUpdatedBlockIdAsc = 'HELD_NFTS_MIN_UPDATED_BLOCK_ID_ASC', - HeldNftsMinUpdatedBlockIdDesc = 'HELD_NFTS_MIN_UPDATED_BLOCK_ID_DESC', - HeldNftsStddevPopulationAssetIdAsc = 'HELD_NFTS_STDDEV_POPULATION_ASSET_ID_ASC', - HeldNftsStddevPopulationAssetIdDesc = 'HELD_NFTS_STDDEV_POPULATION_ASSET_ID_DESC', - HeldNftsStddevPopulationCreatedAtAsc = 'HELD_NFTS_STDDEV_POPULATION_CREATED_AT_ASC', - HeldNftsStddevPopulationCreatedAtDesc = 'HELD_NFTS_STDDEV_POPULATION_CREATED_AT_DESC', - HeldNftsStddevPopulationCreatedBlockIdAsc = 'HELD_NFTS_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - HeldNftsStddevPopulationCreatedBlockIdDesc = 'HELD_NFTS_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - HeldNftsStddevPopulationIdentityIdAsc = 'HELD_NFTS_STDDEV_POPULATION_IDENTITY_ID_ASC', - HeldNftsStddevPopulationIdentityIdDesc = 'HELD_NFTS_STDDEV_POPULATION_IDENTITY_ID_DESC', - HeldNftsStddevPopulationIdAsc = 'HELD_NFTS_STDDEV_POPULATION_ID_ASC', - HeldNftsStddevPopulationIdDesc = 'HELD_NFTS_STDDEV_POPULATION_ID_DESC', - HeldNftsStddevPopulationNftIdsAsc = 'HELD_NFTS_STDDEV_POPULATION_NFT_IDS_ASC', - HeldNftsStddevPopulationNftIdsDesc = 'HELD_NFTS_STDDEV_POPULATION_NFT_IDS_DESC', - HeldNftsStddevPopulationUpdatedAtAsc = 'HELD_NFTS_STDDEV_POPULATION_UPDATED_AT_ASC', - HeldNftsStddevPopulationUpdatedAtDesc = 'HELD_NFTS_STDDEV_POPULATION_UPDATED_AT_DESC', - HeldNftsStddevPopulationUpdatedBlockIdAsc = 'HELD_NFTS_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - HeldNftsStddevPopulationUpdatedBlockIdDesc = 'HELD_NFTS_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - HeldNftsStddevSampleAssetIdAsc = 'HELD_NFTS_STDDEV_SAMPLE_ASSET_ID_ASC', - HeldNftsStddevSampleAssetIdDesc = 'HELD_NFTS_STDDEV_SAMPLE_ASSET_ID_DESC', - HeldNftsStddevSampleCreatedAtAsc = 'HELD_NFTS_STDDEV_SAMPLE_CREATED_AT_ASC', - HeldNftsStddevSampleCreatedAtDesc = 'HELD_NFTS_STDDEV_SAMPLE_CREATED_AT_DESC', - HeldNftsStddevSampleCreatedBlockIdAsc = 'HELD_NFTS_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - HeldNftsStddevSampleCreatedBlockIdDesc = 'HELD_NFTS_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - HeldNftsStddevSampleIdentityIdAsc = 'HELD_NFTS_STDDEV_SAMPLE_IDENTITY_ID_ASC', - HeldNftsStddevSampleIdentityIdDesc = 'HELD_NFTS_STDDEV_SAMPLE_IDENTITY_ID_DESC', - HeldNftsStddevSampleIdAsc = 'HELD_NFTS_STDDEV_SAMPLE_ID_ASC', - HeldNftsStddevSampleIdDesc = 'HELD_NFTS_STDDEV_SAMPLE_ID_DESC', - HeldNftsStddevSampleNftIdsAsc = 'HELD_NFTS_STDDEV_SAMPLE_NFT_IDS_ASC', - HeldNftsStddevSampleNftIdsDesc = 'HELD_NFTS_STDDEV_SAMPLE_NFT_IDS_DESC', - HeldNftsStddevSampleUpdatedAtAsc = 'HELD_NFTS_STDDEV_SAMPLE_UPDATED_AT_ASC', - HeldNftsStddevSampleUpdatedAtDesc = 'HELD_NFTS_STDDEV_SAMPLE_UPDATED_AT_DESC', - HeldNftsStddevSampleUpdatedBlockIdAsc = 'HELD_NFTS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - HeldNftsStddevSampleUpdatedBlockIdDesc = 'HELD_NFTS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - HeldNftsSumAssetIdAsc = 'HELD_NFTS_SUM_ASSET_ID_ASC', - HeldNftsSumAssetIdDesc = 'HELD_NFTS_SUM_ASSET_ID_DESC', - HeldNftsSumCreatedAtAsc = 'HELD_NFTS_SUM_CREATED_AT_ASC', - HeldNftsSumCreatedAtDesc = 'HELD_NFTS_SUM_CREATED_AT_DESC', - HeldNftsSumCreatedBlockIdAsc = 'HELD_NFTS_SUM_CREATED_BLOCK_ID_ASC', - HeldNftsSumCreatedBlockIdDesc = 'HELD_NFTS_SUM_CREATED_BLOCK_ID_DESC', - HeldNftsSumIdentityIdAsc = 'HELD_NFTS_SUM_IDENTITY_ID_ASC', - HeldNftsSumIdentityIdDesc = 'HELD_NFTS_SUM_IDENTITY_ID_DESC', - HeldNftsSumIdAsc = 'HELD_NFTS_SUM_ID_ASC', - HeldNftsSumIdDesc = 'HELD_NFTS_SUM_ID_DESC', - HeldNftsSumNftIdsAsc = 'HELD_NFTS_SUM_NFT_IDS_ASC', - HeldNftsSumNftIdsDesc = 'HELD_NFTS_SUM_NFT_IDS_DESC', - HeldNftsSumUpdatedAtAsc = 'HELD_NFTS_SUM_UPDATED_AT_ASC', - HeldNftsSumUpdatedAtDesc = 'HELD_NFTS_SUM_UPDATED_AT_DESC', - HeldNftsSumUpdatedBlockIdAsc = 'HELD_NFTS_SUM_UPDATED_BLOCK_ID_ASC', - HeldNftsSumUpdatedBlockIdDesc = 'HELD_NFTS_SUM_UPDATED_BLOCK_ID_DESC', - HeldNftsVariancePopulationAssetIdAsc = 'HELD_NFTS_VARIANCE_POPULATION_ASSET_ID_ASC', - HeldNftsVariancePopulationAssetIdDesc = 'HELD_NFTS_VARIANCE_POPULATION_ASSET_ID_DESC', - HeldNftsVariancePopulationCreatedAtAsc = 'HELD_NFTS_VARIANCE_POPULATION_CREATED_AT_ASC', - HeldNftsVariancePopulationCreatedAtDesc = 'HELD_NFTS_VARIANCE_POPULATION_CREATED_AT_DESC', - HeldNftsVariancePopulationCreatedBlockIdAsc = 'HELD_NFTS_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - HeldNftsVariancePopulationCreatedBlockIdDesc = 'HELD_NFTS_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - HeldNftsVariancePopulationIdentityIdAsc = 'HELD_NFTS_VARIANCE_POPULATION_IDENTITY_ID_ASC', - HeldNftsVariancePopulationIdentityIdDesc = 'HELD_NFTS_VARIANCE_POPULATION_IDENTITY_ID_DESC', - HeldNftsVariancePopulationIdAsc = 'HELD_NFTS_VARIANCE_POPULATION_ID_ASC', - HeldNftsVariancePopulationIdDesc = 'HELD_NFTS_VARIANCE_POPULATION_ID_DESC', - HeldNftsVariancePopulationNftIdsAsc = 'HELD_NFTS_VARIANCE_POPULATION_NFT_IDS_ASC', - HeldNftsVariancePopulationNftIdsDesc = 'HELD_NFTS_VARIANCE_POPULATION_NFT_IDS_DESC', - HeldNftsVariancePopulationUpdatedAtAsc = 'HELD_NFTS_VARIANCE_POPULATION_UPDATED_AT_ASC', - HeldNftsVariancePopulationUpdatedAtDesc = 'HELD_NFTS_VARIANCE_POPULATION_UPDATED_AT_DESC', - HeldNftsVariancePopulationUpdatedBlockIdAsc = 'HELD_NFTS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - HeldNftsVariancePopulationUpdatedBlockIdDesc = 'HELD_NFTS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - HeldNftsVarianceSampleAssetIdAsc = 'HELD_NFTS_VARIANCE_SAMPLE_ASSET_ID_ASC', - HeldNftsVarianceSampleAssetIdDesc = 'HELD_NFTS_VARIANCE_SAMPLE_ASSET_ID_DESC', - HeldNftsVarianceSampleCreatedAtAsc = 'HELD_NFTS_VARIANCE_SAMPLE_CREATED_AT_ASC', - HeldNftsVarianceSampleCreatedAtDesc = 'HELD_NFTS_VARIANCE_SAMPLE_CREATED_AT_DESC', - HeldNftsVarianceSampleCreatedBlockIdAsc = 'HELD_NFTS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - HeldNftsVarianceSampleCreatedBlockIdDesc = 'HELD_NFTS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - HeldNftsVarianceSampleIdentityIdAsc = 'HELD_NFTS_VARIANCE_SAMPLE_IDENTITY_ID_ASC', - HeldNftsVarianceSampleIdentityIdDesc = 'HELD_NFTS_VARIANCE_SAMPLE_IDENTITY_ID_DESC', - HeldNftsVarianceSampleIdAsc = 'HELD_NFTS_VARIANCE_SAMPLE_ID_ASC', - HeldNftsVarianceSampleIdDesc = 'HELD_NFTS_VARIANCE_SAMPLE_ID_DESC', - HeldNftsVarianceSampleNftIdsAsc = 'HELD_NFTS_VARIANCE_SAMPLE_NFT_IDS_ASC', - HeldNftsVarianceSampleNftIdsDesc = 'HELD_NFTS_VARIANCE_SAMPLE_NFT_IDS_DESC', - HeldNftsVarianceSampleUpdatedAtAsc = 'HELD_NFTS_VARIANCE_SAMPLE_UPDATED_AT_ASC', - HeldNftsVarianceSampleUpdatedAtDesc = 'HELD_NFTS_VARIANCE_SAMPLE_UPDATED_AT_DESC', - HeldNftsVarianceSampleUpdatedBlockIdAsc = 'HELD_NFTS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - HeldNftsVarianceSampleUpdatedBlockIdDesc = 'HELD_NFTS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - IdAsc = 'ID_ASC', - IdDesc = 'ID_DESC', - InvestmentsByInvestorIdAverageCreatedAtAsc = 'INVESTMENTS_BY_INVESTOR_ID_AVERAGE_CREATED_AT_ASC', - InvestmentsByInvestorIdAverageCreatedAtDesc = 'INVESTMENTS_BY_INVESTOR_ID_AVERAGE_CREATED_AT_DESC', - InvestmentsByInvestorIdAverageCreatedBlockIdAsc = 'INVESTMENTS_BY_INVESTOR_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - InvestmentsByInvestorIdAverageCreatedBlockIdDesc = 'INVESTMENTS_BY_INVESTOR_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - InvestmentsByInvestorIdAverageDatetimeAsc = 'INVESTMENTS_BY_INVESTOR_ID_AVERAGE_DATETIME_ASC', - InvestmentsByInvestorIdAverageDatetimeDesc = 'INVESTMENTS_BY_INVESTOR_ID_AVERAGE_DATETIME_DESC', - InvestmentsByInvestorIdAverageIdAsc = 'INVESTMENTS_BY_INVESTOR_ID_AVERAGE_ID_ASC', - InvestmentsByInvestorIdAverageIdDesc = 'INVESTMENTS_BY_INVESTOR_ID_AVERAGE_ID_DESC', - InvestmentsByInvestorIdAverageInvestorIdAsc = 'INVESTMENTS_BY_INVESTOR_ID_AVERAGE_INVESTOR_ID_ASC', - InvestmentsByInvestorIdAverageInvestorIdDesc = 'INVESTMENTS_BY_INVESTOR_ID_AVERAGE_INVESTOR_ID_DESC', - InvestmentsByInvestorIdAverageOfferingTokenAmountAsc = 'INVESTMENTS_BY_INVESTOR_ID_AVERAGE_OFFERING_TOKEN_AMOUNT_ASC', - InvestmentsByInvestorIdAverageOfferingTokenAmountDesc = 'INVESTMENTS_BY_INVESTOR_ID_AVERAGE_OFFERING_TOKEN_AMOUNT_DESC', - InvestmentsByInvestorIdAverageOfferingTokenAsc = 'INVESTMENTS_BY_INVESTOR_ID_AVERAGE_OFFERING_TOKEN_ASC', - InvestmentsByInvestorIdAverageOfferingTokenDesc = 'INVESTMENTS_BY_INVESTOR_ID_AVERAGE_OFFERING_TOKEN_DESC', - InvestmentsByInvestorIdAverageRaiseTokenAmountAsc = 'INVESTMENTS_BY_INVESTOR_ID_AVERAGE_RAISE_TOKEN_AMOUNT_ASC', - InvestmentsByInvestorIdAverageRaiseTokenAmountDesc = 'INVESTMENTS_BY_INVESTOR_ID_AVERAGE_RAISE_TOKEN_AMOUNT_DESC', - InvestmentsByInvestorIdAverageRaiseTokenAsc = 'INVESTMENTS_BY_INVESTOR_ID_AVERAGE_RAISE_TOKEN_ASC', - InvestmentsByInvestorIdAverageRaiseTokenDesc = 'INVESTMENTS_BY_INVESTOR_ID_AVERAGE_RAISE_TOKEN_DESC', - InvestmentsByInvestorIdAverageStoIdAsc = 'INVESTMENTS_BY_INVESTOR_ID_AVERAGE_STO_ID_ASC', - InvestmentsByInvestorIdAverageStoIdDesc = 'INVESTMENTS_BY_INVESTOR_ID_AVERAGE_STO_ID_DESC', - InvestmentsByInvestorIdAverageUpdatedAtAsc = 'INVESTMENTS_BY_INVESTOR_ID_AVERAGE_UPDATED_AT_ASC', - InvestmentsByInvestorIdAverageUpdatedAtDesc = 'INVESTMENTS_BY_INVESTOR_ID_AVERAGE_UPDATED_AT_DESC', - InvestmentsByInvestorIdAverageUpdatedBlockIdAsc = 'INVESTMENTS_BY_INVESTOR_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - InvestmentsByInvestorIdAverageUpdatedBlockIdDesc = 'INVESTMENTS_BY_INVESTOR_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - InvestmentsByInvestorIdCountAsc = 'INVESTMENTS_BY_INVESTOR_ID_COUNT_ASC', - InvestmentsByInvestorIdCountDesc = 'INVESTMENTS_BY_INVESTOR_ID_COUNT_DESC', - InvestmentsByInvestorIdDistinctCountCreatedAtAsc = 'INVESTMENTS_BY_INVESTOR_ID_DISTINCT_COUNT_CREATED_AT_ASC', - InvestmentsByInvestorIdDistinctCountCreatedAtDesc = 'INVESTMENTS_BY_INVESTOR_ID_DISTINCT_COUNT_CREATED_AT_DESC', - InvestmentsByInvestorIdDistinctCountCreatedBlockIdAsc = 'INVESTMENTS_BY_INVESTOR_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - InvestmentsByInvestorIdDistinctCountCreatedBlockIdDesc = 'INVESTMENTS_BY_INVESTOR_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - InvestmentsByInvestorIdDistinctCountDatetimeAsc = 'INVESTMENTS_BY_INVESTOR_ID_DISTINCT_COUNT_DATETIME_ASC', - InvestmentsByInvestorIdDistinctCountDatetimeDesc = 'INVESTMENTS_BY_INVESTOR_ID_DISTINCT_COUNT_DATETIME_DESC', - InvestmentsByInvestorIdDistinctCountIdAsc = 'INVESTMENTS_BY_INVESTOR_ID_DISTINCT_COUNT_ID_ASC', - InvestmentsByInvestorIdDistinctCountIdDesc = 'INVESTMENTS_BY_INVESTOR_ID_DISTINCT_COUNT_ID_DESC', - InvestmentsByInvestorIdDistinctCountInvestorIdAsc = 'INVESTMENTS_BY_INVESTOR_ID_DISTINCT_COUNT_INVESTOR_ID_ASC', - InvestmentsByInvestorIdDistinctCountInvestorIdDesc = 'INVESTMENTS_BY_INVESTOR_ID_DISTINCT_COUNT_INVESTOR_ID_DESC', - InvestmentsByInvestorIdDistinctCountOfferingTokenAmountAsc = 'INVESTMENTS_BY_INVESTOR_ID_DISTINCT_COUNT_OFFERING_TOKEN_AMOUNT_ASC', - InvestmentsByInvestorIdDistinctCountOfferingTokenAmountDesc = 'INVESTMENTS_BY_INVESTOR_ID_DISTINCT_COUNT_OFFERING_TOKEN_AMOUNT_DESC', - InvestmentsByInvestorIdDistinctCountOfferingTokenAsc = 'INVESTMENTS_BY_INVESTOR_ID_DISTINCT_COUNT_OFFERING_TOKEN_ASC', - InvestmentsByInvestorIdDistinctCountOfferingTokenDesc = 'INVESTMENTS_BY_INVESTOR_ID_DISTINCT_COUNT_OFFERING_TOKEN_DESC', - InvestmentsByInvestorIdDistinctCountRaiseTokenAmountAsc = 'INVESTMENTS_BY_INVESTOR_ID_DISTINCT_COUNT_RAISE_TOKEN_AMOUNT_ASC', - InvestmentsByInvestorIdDistinctCountRaiseTokenAmountDesc = 'INVESTMENTS_BY_INVESTOR_ID_DISTINCT_COUNT_RAISE_TOKEN_AMOUNT_DESC', - InvestmentsByInvestorIdDistinctCountRaiseTokenAsc = 'INVESTMENTS_BY_INVESTOR_ID_DISTINCT_COUNT_RAISE_TOKEN_ASC', - InvestmentsByInvestorIdDistinctCountRaiseTokenDesc = 'INVESTMENTS_BY_INVESTOR_ID_DISTINCT_COUNT_RAISE_TOKEN_DESC', - InvestmentsByInvestorIdDistinctCountStoIdAsc = 'INVESTMENTS_BY_INVESTOR_ID_DISTINCT_COUNT_STO_ID_ASC', - InvestmentsByInvestorIdDistinctCountStoIdDesc = 'INVESTMENTS_BY_INVESTOR_ID_DISTINCT_COUNT_STO_ID_DESC', - InvestmentsByInvestorIdDistinctCountUpdatedAtAsc = 'INVESTMENTS_BY_INVESTOR_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - InvestmentsByInvestorIdDistinctCountUpdatedAtDesc = 'INVESTMENTS_BY_INVESTOR_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - InvestmentsByInvestorIdDistinctCountUpdatedBlockIdAsc = 'INVESTMENTS_BY_INVESTOR_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - InvestmentsByInvestorIdDistinctCountUpdatedBlockIdDesc = 'INVESTMENTS_BY_INVESTOR_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - InvestmentsByInvestorIdMaxCreatedAtAsc = 'INVESTMENTS_BY_INVESTOR_ID_MAX_CREATED_AT_ASC', - InvestmentsByInvestorIdMaxCreatedAtDesc = 'INVESTMENTS_BY_INVESTOR_ID_MAX_CREATED_AT_DESC', - InvestmentsByInvestorIdMaxCreatedBlockIdAsc = 'INVESTMENTS_BY_INVESTOR_ID_MAX_CREATED_BLOCK_ID_ASC', - InvestmentsByInvestorIdMaxCreatedBlockIdDesc = 'INVESTMENTS_BY_INVESTOR_ID_MAX_CREATED_BLOCK_ID_DESC', - InvestmentsByInvestorIdMaxDatetimeAsc = 'INVESTMENTS_BY_INVESTOR_ID_MAX_DATETIME_ASC', - InvestmentsByInvestorIdMaxDatetimeDesc = 'INVESTMENTS_BY_INVESTOR_ID_MAX_DATETIME_DESC', - InvestmentsByInvestorIdMaxIdAsc = 'INVESTMENTS_BY_INVESTOR_ID_MAX_ID_ASC', - InvestmentsByInvestorIdMaxIdDesc = 'INVESTMENTS_BY_INVESTOR_ID_MAX_ID_DESC', - InvestmentsByInvestorIdMaxInvestorIdAsc = 'INVESTMENTS_BY_INVESTOR_ID_MAX_INVESTOR_ID_ASC', - InvestmentsByInvestorIdMaxInvestorIdDesc = 'INVESTMENTS_BY_INVESTOR_ID_MAX_INVESTOR_ID_DESC', - InvestmentsByInvestorIdMaxOfferingTokenAmountAsc = 'INVESTMENTS_BY_INVESTOR_ID_MAX_OFFERING_TOKEN_AMOUNT_ASC', - InvestmentsByInvestorIdMaxOfferingTokenAmountDesc = 'INVESTMENTS_BY_INVESTOR_ID_MAX_OFFERING_TOKEN_AMOUNT_DESC', - InvestmentsByInvestorIdMaxOfferingTokenAsc = 'INVESTMENTS_BY_INVESTOR_ID_MAX_OFFERING_TOKEN_ASC', - InvestmentsByInvestorIdMaxOfferingTokenDesc = 'INVESTMENTS_BY_INVESTOR_ID_MAX_OFFERING_TOKEN_DESC', - InvestmentsByInvestorIdMaxRaiseTokenAmountAsc = 'INVESTMENTS_BY_INVESTOR_ID_MAX_RAISE_TOKEN_AMOUNT_ASC', - InvestmentsByInvestorIdMaxRaiseTokenAmountDesc = 'INVESTMENTS_BY_INVESTOR_ID_MAX_RAISE_TOKEN_AMOUNT_DESC', - InvestmentsByInvestorIdMaxRaiseTokenAsc = 'INVESTMENTS_BY_INVESTOR_ID_MAX_RAISE_TOKEN_ASC', - InvestmentsByInvestorIdMaxRaiseTokenDesc = 'INVESTMENTS_BY_INVESTOR_ID_MAX_RAISE_TOKEN_DESC', - InvestmentsByInvestorIdMaxStoIdAsc = 'INVESTMENTS_BY_INVESTOR_ID_MAX_STO_ID_ASC', - InvestmentsByInvestorIdMaxStoIdDesc = 'INVESTMENTS_BY_INVESTOR_ID_MAX_STO_ID_DESC', - InvestmentsByInvestorIdMaxUpdatedAtAsc = 'INVESTMENTS_BY_INVESTOR_ID_MAX_UPDATED_AT_ASC', - InvestmentsByInvestorIdMaxUpdatedAtDesc = 'INVESTMENTS_BY_INVESTOR_ID_MAX_UPDATED_AT_DESC', - InvestmentsByInvestorIdMaxUpdatedBlockIdAsc = 'INVESTMENTS_BY_INVESTOR_ID_MAX_UPDATED_BLOCK_ID_ASC', - InvestmentsByInvestorIdMaxUpdatedBlockIdDesc = 'INVESTMENTS_BY_INVESTOR_ID_MAX_UPDATED_BLOCK_ID_DESC', - InvestmentsByInvestorIdMinCreatedAtAsc = 'INVESTMENTS_BY_INVESTOR_ID_MIN_CREATED_AT_ASC', - InvestmentsByInvestorIdMinCreatedAtDesc = 'INVESTMENTS_BY_INVESTOR_ID_MIN_CREATED_AT_DESC', - InvestmentsByInvestorIdMinCreatedBlockIdAsc = 'INVESTMENTS_BY_INVESTOR_ID_MIN_CREATED_BLOCK_ID_ASC', - InvestmentsByInvestorIdMinCreatedBlockIdDesc = 'INVESTMENTS_BY_INVESTOR_ID_MIN_CREATED_BLOCK_ID_DESC', - InvestmentsByInvestorIdMinDatetimeAsc = 'INVESTMENTS_BY_INVESTOR_ID_MIN_DATETIME_ASC', - InvestmentsByInvestorIdMinDatetimeDesc = 'INVESTMENTS_BY_INVESTOR_ID_MIN_DATETIME_DESC', - InvestmentsByInvestorIdMinIdAsc = 'INVESTMENTS_BY_INVESTOR_ID_MIN_ID_ASC', - InvestmentsByInvestorIdMinIdDesc = 'INVESTMENTS_BY_INVESTOR_ID_MIN_ID_DESC', - InvestmentsByInvestorIdMinInvestorIdAsc = 'INVESTMENTS_BY_INVESTOR_ID_MIN_INVESTOR_ID_ASC', - InvestmentsByInvestorIdMinInvestorIdDesc = 'INVESTMENTS_BY_INVESTOR_ID_MIN_INVESTOR_ID_DESC', - InvestmentsByInvestorIdMinOfferingTokenAmountAsc = 'INVESTMENTS_BY_INVESTOR_ID_MIN_OFFERING_TOKEN_AMOUNT_ASC', - InvestmentsByInvestorIdMinOfferingTokenAmountDesc = 'INVESTMENTS_BY_INVESTOR_ID_MIN_OFFERING_TOKEN_AMOUNT_DESC', - InvestmentsByInvestorIdMinOfferingTokenAsc = 'INVESTMENTS_BY_INVESTOR_ID_MIN_OFFERING_TOKEN_ASC', - InvestmentsByInvestorIdMinOfferingTokenDesc = 'INVESTMENTS_BY_INVESTOR_ID_MIN_OFFERING_TOKEN_DESC', - InvestmentsByInvestorIdMinRaiseTokenAmountAsc = 'INVESTMENTS_BY_INVESTOR_ID_MIN_RAISE_TOKEN_AMOUNT_ASC', - InvestmentsByInvestorIdMinRaiseTokenAmountDesc = 'INVESTMENTS_BY_INVESTOR_ID_MIN_RAISE_TOKEN_AMOUNT_DESC', - InvestmentsByInvestorIdMinRaiseTokenAsc = 'INVESTMENTS_BY_INVESTOR_ID_MIN_RAISE_TOKEN_ASC', - InvestmentsByInvestorIdMinRaiseTokenDesc = 'INVESTMENTS_BY_INVESTOR_ID_MIN_RAISE_TOKEN_DESC', - InvestmentsByInvestorIdMinStoIdAsc = 'INVESTMENTS_BY_INVESTOR_ID_MIN_STO_ID_ASC', - InvestmentsByInvestorIdMinStoIdDesc = 'INVESTMENTS_BY_INVESTOR_ID_MIN_STO_ID_DESC', - InvestmentsByInvestorIdMinUpdatedAtAsc = 'INVESTMENTS_BY_INVESTOR_ID_MIN_UPDATED_AT_ASC', - InvestmentsByInvestorIdMinUpdatedAtDesc = 'INVESTMENTS_BY_INVESTOR_ID_MIN_UPDATED_AT_DESC', - InvestmentsByInvestorIdMinUpdatedBlockIdAsc = 'INVESTMENTS_BY_INVESTOR_ID_MIN_UPDATED_BLOCK_ID_ASC', - InvestmentsByInvestorIdMinUpdatedBlockIdDesc = 'INVESTMENTS_BY_INVESTOR_ID_MIN_UPDATED_BLOCK_ID_DESC', - InvestmentsByInvestorIdStddevPopulationCreatedAtAsc = 'INVESTMENTS_BY_INVESTOR_ID_STDDEV_POPULATION_CREATED_AT_ASC', - InvestmentsByInvestorIdStddevPopulationCreatedAtDesc = 'INVESTMENTS_BY_INVESTOR_ID_STDDEV_POPULATION_CREATED_AT_DESC', - InvestmentsByInvestorIdStddevPopulationCreatedBlockIdAsc = 'INVESTMENTS_BY_INVESTOR_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - InvestmentsByInvestorIdStddevPopulationCreatedBlockIdDesc = 'INVESTMENTS_BY_INVESTOR_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - InvestmentsByInvestorIdStddevPopulationDatetimeAsc = 'INVESTMENTS_BY_INVESTOR_ID_STDDEV_POPULATION_DATETIME_ASC', - InvestmentsByInvestorIdStddevPopulationDatetimeDesc = 'INVESTMENTS_BY_INVESTOR_ID_STDDEV_POPULATION_DATETIME_DESC', - InvestmentsByInvestorIdStddevPopulationIdAsc = 'INVESTMENTS_BY_INVESTOR_ID_STDDEV_POPULATION_ID_ASC', - InvestmentsByInvestorIdStddevPopulationIdDesc = 'INVESTMENTS_BY_INVESTOR_ID_STDDEV_POPULATION_ID_DESC', - InvestmentsByInvestorIdStddevPopulationInvestorIdAsc = 'INVESTMENTS_BY_INVESTOR_ID_STDDEV_POPULATION_INVESTOR_ID_ASC', - InvestmentsByInvestorIdStddevPopulationInvestorIdDesc = 'INVESTMENTS_BY_INVESTOR_ID_STDDEV_POPULATION_INVESTOR_ID_DESC', - InvestmentsByInvestorIdStddevPopulationOfferingTokenAmountAsc = 'INVESTMENTS_BY_INVESTOR_ID_STDDEV_POPULATION_OFFERING_TOKEN_AMOUNT_ASC', - InvestmentsByInvestorIdStddevPopulationOfferingTokenAmountDesc = 'INVESTMENTS_BY_INVESTOR_ID_STDDEV_POPULATION_OFFERING_TOKEN_AMOUNT_DESC', - InvestmentsByInvestorIdStddevPopulationOfferingTokenAsc = 'INVESTMENTS_BY_INVESTOR_ID_STDDEV_POPULATION_OFFERING_TOKEN_ASC', - InvestmentsByInvestorIdStddevPopulationOfferingTokenDesc = 'INVESTMENTS_BY_INVESTOR_ID_STDDEV_POPULATION_OFFERING_TOKEN_DESC', - InvestmentsByInvestorIdStddevPopulationRaiseTokenAmountAsc = 'INVESTMENTS_BY_INVESTOR_ID_STDDEV_POPULATION_RAISE_TOKEN_AMOUNT_ASC', - InvestmentsByInvestorIdStddevPopulationRaiseTokenAmountDesc = 'INVESTMENTS_BY_INVESTOR_ID_STDDEV_POPULATION_RAISE_TOKEN_AMOUNT_DESC', - InvestmentsByInvestorIdStddevPopulationRaiseTokenAsc = 'INVESTMENTS_BY_INVESTOR_ID_STDDEV_POPULATION_RAISE_TOKEN_ASC', - InvestmentsByInvestorIdStddevPopulationRaiseTokenDesc = 'INVESTMENTS_BY_INVESTOR_ID_STDDEV_POPULATION_RAISE_TOKEN_DESC', - InvestmentsByInvestorIdStddevPopulationStoIdAsc = 'INVESTMENTS_BY_INVESTOR_ID_STDDEV_POPULATION_STO_ID_ASC', - InvestmentsByInvestorIdStddevPopulationStoIdDesc = 'INVESTMENTS_BY_INVESTOR_ID_STDDEV_POPULATION_STO_ID_DESC', - InvestmentsByInvestorIdStddevPopulationUpdatedAtAsc = 'INVESTMENTS_BY_INVESTOR_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - InvestmentsByInvestorIdStddevPopulationUpdatedAtDesc = 'INVESTMENTS_BY_INVESTOR_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - InvestmentsByInvestorIdStddevPopulationUpdatedBlockIdAsc = 'INVESTMENTS_BY_INVESTOR_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - InvestmentsByInvestorIdStddevPopulationUpdatedBlockIdDesc = 'INVESTMENTS_BY_INVESTOR_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - InvestmentsByInvestorIdStddevSampleCreatedAtAsc = 'INVESTMENTS_BY_INVESTOR_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - InvestmentsByInvestorIdStddevSampleCreatedAtDesc = 'INVESTMENTS_BY_INVESTOR_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - InvestmentsByInvestorIdStddevSampleCreatedBlockIdAsc = 'INVESTMENTS_BY_INVESTOR_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - InvestmentsByInvestorIdStddevSampleCreatedBlockIdDesc = 'INVESTMENTS_BY_INVESTOR_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - InvestmentsByInvestorIdStddevSampleDatetimeAsc = 'INVESTMENTS_BY_INVESTOR_ID_STDDEV_SAMPLE_DATETIME_ASC', - InvestmentsByInvestorIdStddevSampleDatetimeDesc = 'INVESTMENTS_BY_INVESTOR_ID_STDDEV_SAMPLE_DATETIME_DESC', - InvestmentsByInvestorIdStddevSampleIdAsc = 'INVESTMENTS_BY_INVESTOR_ID_STDDEV_SAMPLE_ID_ASC', - InvestmentsByInvestorIdStddevSampleIdDesc = 'INVESTMENTS_BY_INVESTOR_ID_STDDEV_SAMPLE_ID_DESC', - InvestmentsByInvestorIdStddevSampleInvestorIdAsc = 'INVESTMENTS_BY_INVESTOR_ID_STDDEV_SAMPLE_INVESTOR_ID_ASC', - InvestmentsByInvestorIdStddevSampleInvestorIdDesc = 'INVESTMENTS_BY_INVESTOR_ID_STDDEV_SAMPLE_INVESTOR_ID_DESC', - InvestmentsByInvestorIdStddevSampleOfferingTokenAmountAsc = 'INVESTMENTS_BY_INVESTOR_ID_STDDEV_SAMPLE_OFFERING_TOKEN_AMOUNT_ASC', - InvestmentsByInvestorIdStddevSampleOfferingTokenAmountDesc = 'INVESTMENTS_BY_INVESTOR_ID_STDDEV_SAMPLE_OFFERING_TOKEN_AMOUNT_DESC', - InvestmentsByInvestorIdStddevSampleOfferingTokenAsc = 'INVESTMENTS_BY_INVESTOR_ID_STDDEV_SAMPLE_OFFERING_TOKEN_ASC', - InvestmentsByInvestorIdStddevSampleOfferingTokenDesc = 'INVESTMENTS_BY_INVESTOR_ID_STDDEV_SAMPLE_OFFERING_TOKEN_DESC', - InvestmentsByInvestorIdStddevSampleRaiseTokenAmountAsc = 'INVESTMENTS_BY_INVESTOR_ID_STDDEV_SAMPLE_RAISE_TOKEN_AMOUNT_ASC', - InvestmentsByInvestorIdStddevSampleRaiseTokenAmountDesc = 'INVESTMENTS_BY_INVESTOR_ID_STDDEV_SAMPLE_RAISE_TOKEN_AMOUNT_DESC', - InvestmentsByInvestorIdStddevSampleRaiseTokenAsc = 'INVESTMENTS_BY_INVESTOR_ID_STDDEV_SAMPLE_RAISE_TOKEN_ASC', - InvestmentsByInvestorIdStddevSampleRaiseTokenDesc = 'INVESTMENTS_BY_INVESTOR_ID_STDDEV_SAMPLE_RAISE_TOKEN_DESC', - InvestmentsByInvestorIdStddevSampleStoIdAsc = 'INVESTMENTS_BY_INVESTOR_ID_STDDEV_SAMPLE_STO_ID_ASC', - InvestmentsByInvestorIdStddevSampleStoIdDesc = 'INVESTMENTS_BY_INVESTOR_ID_STDDEV_SAMPLE_STO_ID_DESC', - InvestmentsByInvestorIdStddevSampleUpdatedAtAsc = 'INVESTMENTS_BY_INVESTOR_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - InvestmentsByInvestorIdStddevSampleUpdatedAtDesc = 'INVESTMENTS_BY_INVESTOR_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - InvestmentsByInvestorIdStddevSampleUpdatedBlockIdAsc = 'INVESTMENTS_BY_INVESTOR_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - InvestmentsByInvestorIdStddevSampleUpdatedBlockIdDesc = 'INVESTMENTS_BY_INVESTOR_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - InvestmentsByInvestorIdSumCreatedAtAsc = 'INVESTMENTS_BY_INVESTOR_ID_SUM_CREATED_AT_ASC', - InvestmentsByInvestorIdSumCreatedAtDesc = 'INVESTMENTS_BY_INVESTOR_ID_SUM_CREATED_AT_DESC', - InvestmentsByInvestorIdSumCreatedBlockIdAsc = 'INVESTMENTS_BY_INVESTOR_ID_SUM_CREATED_BLOCK_ID_ASC', - InvestmentsByInvestorIdSumCreatedBlockIdDesc = 'INVESTMENTS_BY_INVESTOR_ID_SUM_CREATED_BLOCK_ID_DESC', - InvestmentsByInvestorIdSumDatetimeAsc = 'INVESTMENTS_BY_INVESTOR_ID_SUM_DATETIME_ASC', - InvestmentsByInvestorIdSumDatetimeDesc = 'INVESTMENTS_BY_INVESTOR_ID_SUM_DATETIME_DESC', - InvestmentsByInvestorIdSumIdAsc = 'INVESTMENTS_BY_INVESTOR_ID_SUM_ID_ASC', - InvestmentsByInvestorIdSumIdDesc = 'INVESTMENTS_BY_INVESTOR_ID_SUM_ID_DESC', - InvestmentsByInvestorIdSumInvestorIdAsc = 'INVESTMENTS_BY_INVESTOR_ID_SUM_INVESTOR_ID_ASC', - InvestmentsByInvestorIdSumInvestorIdDesc = 'INVESTMENTS_BY_INVESTOR_ID_SUM_INVESTOR_ID_DESC', - InvestmentsByInvestorIdSumOfferingTokenAmountAsc = 'INVESTMENTS_BY_INVESTOR_ID_SUM_OFFERING_TOKEN_AMOUNT_ASC', - InvestmentsByInvestorIdSumOfferingTokenAmountDesc = 'INVESTMENTS_BY_INVESTOR_ID_SUM_OFFERING_TOKEN_AMOUNT_DESC', - InvestmentsByInvestorIdSumOfferingTokenAsc = 'INVESTMENTS_BY_INVESTOR_ID_SUM_OFFERING_TOKEN_ASC', - InvestmentsByInvestorIdSumOfferingTokenDesc = 'INVESTMENTS_BY_INVESTOR_ID_SUM_OFFERING_TOKEN_DESC', - InvestmentsByInvestorIdSumRaiseTokenAmountAsc = 'INVESTMENTS_BY_INVESTOR_ID_SUM_RAISE_TOKEN_AMOUNT_ASC', - InvestmentsByInvestorIdSumRaiseTokenAmountDesc = 'INVESTMENTS_BY_INVESTOR_ID_SUM_RAISE_TOKEN_AMOUNT_DESC', - InvestmentsByInvestorIdSumRaiseTokenAsc = 'INVESTMENTS_BY_INVESTOR_ID_SUM_RAISE_TOKEN_ASC', - InvestmentsByInvestorIdSumRaiseTokenDesc = 'INVESTMENTS_BY_INVESTOR_ID_SUM_RAISE_TOKEN_DESC', - InvestmentsByInvestorIdSumStoIdAsc = 'INVESTMENTS_BY_INVESTOR_ID_SUM_STO_ID_ASC', - InvestmentsByInvestorIdSumStoIdDesc = 'INVESTMENTS_BY_INVESTOR_ID_SUM_STO_ID_DESC', - InvestmentsByInvestorIdSumUpdatedAtAsc = 'INVESTMENTS_BY_INVESTOR_ID_SUM_UPDATED_AT_ASC', - InvestmentsByInvestorIdSumUpdatedAtDesc = 'INVESTMENTS_BY_INVESTOR_ID_SUM_UPDATED_AT_DESC', - InvestmentsByInvestorIdSumUpdatedBlockIdAsc = 'INVESTMENTS_BY_INVESTOR_ID_SUM_UPDATED_BLOCK_ID_ASC', - InvestmentsByInvestorIdSumUpdatedBlockIdDesc = 'INVESTMENTS_BY_INVESTOR_ID_SUM_UPDATED_BLOCK_ID_DESC', - InvestmentsByInvestorIdVariancePopulationCreatedAtAsc = 'INVESTMENTS_BY_INVESTOR_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - InvestmentsByInvestorIdVariancePopulationCreatedAtDesc = 'INVESTMENTS_BY_INVESTOR_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - InvestmentsByInvestorIdVariancePopulationCreatedBlockIdAsc = 'INVESTMENTS_BY_INVESTOR_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - InvestmentsByInvestorIdVariancePopulationCreatedBlockIdDesc = 'INVESTMENTS_BY_INVESTOR_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - InvestmentsByInvestorIdVariancePopulationDatetimeAsc = 'INVESTMENTS_BY_INVESTOR_ID_VARIANCE_POPULATION_DATETIME_ASC', - InvestmentsByInvestorIdVariancePopulationDatetimeDesc = 'INVESTMENTS_BY_INVESTOR_ID_VARIANCE_POPULATION_DATETIME_DESC', - InvestmentsByInvestorIdVariancePopulationIdAsc = 'INVESTMENTS_BY_INVESTOR_ID_VARIANCE_POPULATION_ID_ASC', - InvestmentsByInvestorIdVariancePopulationIdDesc = 'INVESTMENTS_BY_INVESTOR_ID_VARIANCE_POPULATION_ID_DESC', - InvestmentsByInvestorIdVariancePopulationInvestorIdAsc = 'INVESTMENTS_BY_INVESTOR_ID_VARIANCE_POPULATION_INVESTOR_ID_ASC', - InvestmentsByInvestorIdVariancePopulationInvestorIdDesc = 'INVESTMENTS_BY_INVESTOR_ID_VARIANCE_POPULATION_INVESTOR_ID_DESC', - InvestmentsByInvestorIdVariancePopulationOfferingTokenAmountAsc = 'INVESTMENTS_BY_INVESTOR_ID_VARIANCE_POPULATION_OFFERING_TOKEN_AMOUNT_ASC', - InvestmentsByInvestorIdVariancePopulationOfferingTokenAmountDesc = 'INVESTMENTS_BY_INVESTOR_ID_VARIANCE_POPULATION_OFFERING_TOKEN_AMOUNT_DESC', - InvestmentsByInvestorIdVariancePopulationOfferingTokenAsc = 'INVESTMENTS_BY_INVESTOR_ID_VARIANCE_POPULATION_OFFERING_TOKEN_ASC', - InvestmentsByInvestorIdVariancePopulationOfferingTokenDesc = 'INVESTMENTS_BY_INVESTOR_ID_VARIANCE_POPULATION_OFFERING_TOKEN_DESC', - InvestmentsByInvestorIdVariancePopulationRaiseTokenAmountAsc = 'INVESTMENTS_BY_INVESTOR_ID_VARIANCE_POPULATION_RAISE_TOKEN_AMOUNT_ASC', - InvestmentsByInvestorIdVariancePopulationRaiseTokenAmountDesc = 'INVESTMENTS_BY_INVESTOR_ID_VARIANCE_POPULATION_RAISE_TOKEN_AMOUNT_DESC', - InvestmentsByInvestorIdVariancePopulationRaiseTokenAsc = 'INVESTMENTS_BY_INVESTOR_ID_VARIANCE_POPULATION_RAISE_TOKEN_ASC', - InvestmentsByInvestorIdVariancePopulationRaiseTokenDesc = 'INVESTMENTS_BY_INVESTOR_ID_VARIANCE_POPULATION_RAISE_TOKEN_DESC', - InvestmentsByInvestorIdVariancePopulationStoIdAsc = 'INVESTMENTS_BY_INVESTOR_ID_VARIANCE_POPULATION_STO_ID_ASC', - InvestmentsByInvestorIdVariancePopulationStoIdDesc = 'INVESTMENTS_BY_INVESTOR_ID_VARIANCE_POPULATION_STO_ID_DESC', - InvestmentsByInvestorIdVariancePopulationUpdatedAtAsc = 'INVESTMENTS_BY_INVESTOR_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - InvestmentsByInvestorIdVariancePopulationUpdatedAtDesc = 'INVESTMENTS_BY_INVESTOR_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - InvestmentsByInvestorIdVariancePopulationUpdatedBlockIdAsc = 'INVESTMENTS_BY_INVESTOR_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - InvestmentsByInvestorIdVariancePopulationUpdatedBlockIdDesc = 'INVESTMENTS_BY_INVESTOR_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - InvestmentsByInvestorIdVarianceSampleCreatedAtAsc = 'INVESTMENTS_BY_INVESTOR_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - InvestmentsByInvestorIdVarianceSampleCreatedAtDesc = 'INVESTMENTS_BY_INVESTOR_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - InvestmentsByInvestorIdVarianceSampleCreatedBlockIdAsc = 'INVESTMENTS_BY_INVESTOR_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - InvestmentsByInvestorIdVarianceSampleCreatedBlockIdDesc = 'INVESTMENTS_BY_INVESTOR_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - InvestmentsByInvestorIdVarianceSampleDatetimeAsc = 'INVESTMENTS_BY_INVESTOR_ID_VARIANCE_SAMPLE_DATETIME_ASC', - InvestmentsByInvestorIdVarianceSampleDatetimeDesc = 'INVESTMENTS_BY_INVESTOR_ID_VARIANCE_SAMPLE_DATETIME_DESC', - InvestmentsByInvestorIdVarianceSampleIdAsc = 'INVESTMENTS_BY_INVESTOR_ID_VARIANCE_SAMPLE_ID_ASC', - InvestmentsByInvestorIdVarianceSampleIdDesc = 'INVESTMENTS_BY_INVESTOR_ID_VARIANCE_SAMPLE_ID_DESC', - InvestmentsByInvestorIdVarianceSampleInvestorIdAsc = 'INVESTMENTS_BY_INVESTOR_ID_VARIANCE_SAMPLE_INVESTOR_ID_ASC', - InvestmentsByInvestorIdVarianceSampleInvestorIdDesc = 'INVESTMENTS_BY_INVESTOR_ID_VARIANCE_SAMPLE_INVESTOR_ID_DESC', - InvestmentsByInvestorIdVarianceSampleOfferingTokenAmountAsc = 'INVESTMENTS_BY_INVESTOR_ID_VARIANCE_SAMPLE_OFFERING_TOKEN_AMOUNT_ASC', - InvestmentsByInvestorIdVarianceSampleOfferingTokenAmountDesc = 'INVESTMENTS_BY_INVESTOR_ID_VARIANCE_SAMPLE_OFFERING_TOKEN_AMOUNT_DESC', - InvestmentsByInvestorIdVarianceSampleOfferingTokenAsc = 'INVESTMENTS_BY_INVESTOR_ID_VARIANCE_SAMPLE_OFFERING_TOKEN_ASC', - InvestmentsByInvestorIdVarianceSampleOfferingTokenDesc = 'INVESTMENTS_BY_INVESTOR_ID_VARIANCE_SAMPLE_OFFERING_TOKEN_DESC', - InvestmentsByInvestorIdVarianceSampleRaiseTokenAmountAsc = 'INVESTMENTS_BY_INVESTOR_ID_VARIANCE_SAMPLE_RAISE_TOKEN_AMOUNT_ASC', - InvestmentsByInvestorIdVarianceSampleRaiseTokenAmountDesc = 'INVESTMENTS_BY_INVESTOR_ID_VARIANCE_SAMPLE_RAISE_TOKEN_AMOUNT_DESC', - InvestmentsByInvestorIdVarianceSampleRaiseTokenAsc = 'INVESTMENTS_BY_INVESTOR_ID_VARIANCE_SAMPLE_RAISE_TOKEN_ASC', - InvestmentsByInvestorIdVarianceSampleRaiseTokenDesc = 'INVESTMENTS_BY_INVESTOR_ID_VARIANCE_SAMPLE_RAISE_TOKEN_DESC', - InvestmentsByInvestorIdVarianceSampleStoIdAsc = 'INVESTMENTS_BY_INVESTOR_ID_VARIANCE_SAMPLE_STO_ID_ASC', - InvestmentsByInvestorIdVarianceSampleStoIdDesc = 'INVESTMENTS_BY_INVESTOR_ID_VARIANCE_SAMPLE_STO_ID_DESC', - InvestmentsByInvestorIdVarianceSampleUpdatedAtAsc = 'INVESTMENTS_BY_INVESTOR_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - InvestmentsByInvestorIdVarianceSampleUpdatedAtDesc = 'INVESTMENTS_BY_INVESTOR_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - InvestmentsByInvestorIdVarianceSampleUpdatedBlockIdAsc = 'INVESTMENTS_BY_INVESTOR_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - InvestmentsByInvestorIdVarianceSampleUpdatedBlockIdDesc = 'INVESTMENTS_BY_INVESTOR_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - MultiSigsByCreatorIdAverageAddressAsc = 'MULTI_SIGS_BY_CREATOR_ID_AVERAGE_ADDRESS_ASC', - MultiSigsByCreatorIdAverageAddressDesc = 'MULTI_SIGS_BY_CREATOR_ID_AVERAGE_ADDRESS_DESC', - MultiSigsByCreatorIdAverageCreatedAtAsc = 'MULTI_SIGS_BY_CREATOR_ID_AVERAGE_CREATED_AT_ASC', - MultiSigsByCreatorIdAverageCreatedAtDesc = 'MULTI_SIGS_BY_CREATOR_ID_AVERAGE_CREATED_AT_DESC', - MultiSigsByCreatorIdAverageCreatedBlockIdAsc = 'MULTI_SIGS_BY_CREATOR_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - MultiSigsByCreatorIdAverageCreatedBlockIdDesc = 'MULTI_SIGS_BY_CREATOR_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - MultiSigsByCreatorIdAverageCreatorAccountIdAsc = 'MULTI_SIGS_BY_CREATOR_ID_AVERAGE_CREATOR_ACCOUNT_ID_ASC', - MultiSigsByCreatorIdAverageCreatorAccountIdDesc = 'MULTI_SIGS_BY_CREATOR_ID_AVERAGE_CREATOR_ACCOUNT_ID_DESC', - MultiSigsByCreatorIdAverageCreatorIdAsc = 'MULTI_SIGS_BY_CREATOR_ID_AVERAGE_CREATOR_ID_ASC', - MultiSigsByCreatorIdAverageCreatorIdDesc = 'MULTI_SIGS_BY_CREATOR_ID_AVERAGE_CREATOR_ID_DESC', - MultiSigsByCreatorIdAverageIdAsc = 'MULTI_SIGS_BY_CREATOR_ID_AVERAGE_ID_ASC', - MultiSigsByCreatorIdAverageIdDesc = 'MULTI_SIGS_BY_CREATOR_ID_AVERAGE_ID_DESC', - MultiSigsByCreatorIdAverageSignaturesRequiredAsc = 'MULTI_SIGS_BY_CREATOR_ID_AVERAGE_SIGNATURES_REQUIRED_ASC', - MultiSigsByCreatorIdAverageSignaturesRequiredDesc = 'MULTI_SIGS_BY_CREATOR_ID_AVERAGE_SIGNATURES_REQUIRED_DESC', - MultiSigsByCreatorIdAverageUpdatedAtAsc = 'MULTI_SIGS_BY_CREATOR_ID_AVERAGE_UPDATED_AT_ASC', - MultiSigsByCreatorIdAverageUpdatedAtDesc = 'MULTI_SIGS_BY_CREATOR_ID_AVERAGE_UPDATED_AT_DESC', - MultiSigsByCreatorIdAverageUpdatedBlockIdAsc = 'MULTI_SIGS_BY_CREATOR_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - MultiSigsByCreatorIdAverageUpdatedBlockIdDesc = 'MULTI_SIGS_BY_CREATOR_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - MultiSigsByCreatorIdCountAsc = 'MULTI_SIGS_BY_CREATOR_ID_COUNT_ASC', - MultiSigsByCreatorIdCountDesc = 'MULTI_SIGS_BY_CREATOR_ID_COUNT_DESC', - MultiSigsByCreatorIdDistinctCountAddressAsc = 'MULTI_SIGS_BY_CREATOR_ID_DISTINCT_COUNT_ADDRESS_ASC', - MultiSigsByCreatorIdDistinctCountAddressDesc = 'MULTI_SIGS_BY_CREATOR_ID_DISTINCT_COUNT_ADDRESS_DESC', - MultiSigsByCreatorIdDistinctCountCreatedAtAsc = 'MULTI_SIGS_BY_CREATOR_ID_DISTINCT_COUNT_CREATED_AT_ASC', - MultiSigsByCreatorIdDistinctCountCreatedAtDesc = 'MULTI_SIGS_BY_CREATOR_ID_DISTINCT_COUNT_CREATED_AT_DESC', - MultiSigsByCreatorIdDistinctCountCreatedBlockIdAsc = 'MULTI_SIGS_BY_CREATOR_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - MultiSigsByCreatorIdDistinctCountCreatedBlockIdDesc = 'MULTI_SIGS_BY_CREATOR_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - MultiSigsByCreatorIdDistinctCountCreatorAccountIdAsc = 'MULTI_SIGS_BY_CREATOR_ID_DISTINCT_COUNT_CREATOR_ACCOUNT_ID_ASC', - MultiSigsByCreatorIdDistinctCountCreatorAccountIdDesc = 'MULTI_SIGS_BY_CREATOR_ID_DISTINCT_COUNT_CREATOR_ACCOUNT_ID_DESC', - MultiSigsByCreatorIdDistinctCountCreatorIdAsc = 'MULTI_SIGS_BY_CREATOR_ID_DISTINCT_COUNT_CREATOR_ID_ASC', - MultiSigsByCreatorIdDistinctCountCreatorIdDesc = 'MULTI_SIGS_BY_CREATOR_ID_DISTINCT_COUNT_CREATOR_ID_DESC', - MultiSigsByCreatorIdDistinctCountIdAsc = 'MULTI_SIGS_BY_CREATOR_ID_DISTINCT_COUNT_ID_ASC', - MultiSigsByCreatorIdDistinctCountIdDesc = 'MULTI_SIGS_BY_CREATOR_ID_DISTINCT_COUNT_ID_DESC', - MultiSigsByCreatorIdDistinctCountSignaturesRequiredAsc = 'MULTI_SIGS_BY_CREATOR_ID_DISTINCT_COUNT_SIGNATURES_REQUIRED_ASC', - MultiSigsByCreatorIdDistinctCountSignaturesRequiredDesc = 'MULTI_SIGS_BY_CREATOR_ID_DISTINCT_COUNT_SIGNATURES_REQUIRED_DESC', - MultiSigsByCreatorIdDistinctCountUpdatedAtAsc = 'MULTI_SIGS_BY_CREATOR_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - MultiSigsByCreatorIdDistinctCountUpdatedAtDesc = 'MULTI_SIGS_BY_CREATOR_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - MultiSigsByCreatorIdDistinctCountUpdatedBlockIdAsc = 'MULTI_SIGS_BY_CREATOR_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - MultiSigsByCreatorIdDistinctCountUpdatedBlockIdDesc = 'MULTI_SIGS_BY_CREATOR_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - MultiSigsByCreatorIdMaxAddressAsc = 'MULTI_SIGS_BY_CREATOR_ID_MAX_ADDRESS_ASC', - MultiSigsByCreatorIdMaxAddressDesc = 'MULTI_SIGS_BY_CREATOR_ID_MAX_ADDRESS_DESC', - MultiSigsByCreatorIdMaxCreatedAtAsc = 'MULTI_SIGS_BY_CREATOR_ID_MAX_CREATED_AT_ASC', - MultiSigsByCreatorIdMaxCreatedAtDesc = 'MULTI_SIGS_BY_CREATOR_ID_MAX_CREATED_AT_DESC', - MultiSigsByCreatorIdMaxCreatedBlockIdAsc = 'MULTI_SIGS_BY_CREATOR_ID_MAX_CREATED_BLOCK_ID_ASC', - MultiSigsByCreatorIdMaxCreatedBlockIdDesc = 'MULTI_SIGS_BY_CREATOR_ID_MAX_CREATED_BLOCK_ID_DESC', - MultiSigsByCreatorIdMaxCreatorAccountIdAsc = 'MULTI_SIGS_BY_CREATOR_ID_MAX_CREATOR_ACCOUNT_ID_ASC', - MultiSigsByCreatorIdMaxCreatorAccountIdDesc = 'MULTI_SIGS_BY_CREATOR_ID_MAX_CREATOR_ACCOUNT_ID_DESC', - MultiSigsByCreatorIdMaxCreatorIdAsc = 'MULTI_SIGS_BY_CREATOR_ID_MAX_CREATOR_ID_ASC', - MultiSigsByCreatorIdMaxCreatorIdDesc = 'MULTI_SIGS_BY_CREATOR_ID_MAX_CREATOR_ID_DESC', - MultiSigsByCreatorIdMaxIdAsc = 'MULTI_SIGS_BY_CREATOR_ID_MAX_ID_ASC', - MultiSigsByCreatorIdMaxIdDesc = 'MULTI_SIGS_BY_CREATOR_ID_MAX_ID_DESC', - MultiSigsByCreatorIdMaxSignaturesRequiredAsc = 'MULTI_SIGS_BY_CREATOR_ID_MAX_SIGNATURES_REQUIRED_ASC', - MultiSigsByCreatorIdMaxSignaturesRequiredDesc = 'MULTI_SIGS_BY_CREATOR_ID_MAX_SIGNATURES_REQUIRED_DESC', - MultiSigsByCreatorIdMaxUpdatedAtAsc = 'MULTI_SIGS_BY_CREATOR_ID_MAX_UPDATED_AT_ASC', - MultiSigsByCreatorIdMaxUpdatedAtDesc = 'MULTI_SIGS_BY_CREATOR_ID_MAX_UPDATED_AT_DESC', - MultiSigsByCreatorIdMaxUpdatedBlockIdAsc = 'MULTI_SIGS_BY_CREATOR_ID_MAX_UPDATED_BLOCK_ID_ASC', - MultiSigsByCreatorIdMaxUpdatedBlockIdDesc = 'MULTI_SIGS_BY_CREATOR_ID_MAX_UPDATED_BLOCK_ID_DESC', - MultiSigsByCreatorIdMinAddressAsc = 'MULTI_SIGS_BY_CREATOR_ID_MIN_ADDRESS_ASC', - MultiSigsByCreatorIdMinAddressDesc = 'MULTI_SIGS_BY_CREATOR_ID_MIN_ADDRESS_DESC', - MultiSigsByCreatorIdMinCreatedAtAsc = 'MULTI_SIGS_BY_CREATOR_ID_MIN_CREATED_AT_ASC', - MultiSigsByCreatorIdMinCreatedAtDesc = 'MULTI_SIGS_BY_CREATOR_ID_MIN_CREATED_AT_DESC', - MultiSigsByCreatorIdMinCreatedBlockIdAsc = 'MULTI_SIGS_BY_CREATOR_ID_MIN_CREATED_BLOCK_ID_ASC', - MultiSigsByCreatorIdMinCreatedBlockIdDesc = 'MULTI_SIGS_BY_CREATOR_ID_MIN_CREATED_BLOCK_ID_DESC', - MultiSigsByCreatorIdMinCreatorAccountIdAsc = 'MULTI_SIGS_BY_CREATOR_ID_MIN_CREATOR_ACCOUNT_ID_ASC', - MultiSigsByCreatorIdMinCreatorAccountIdDesc = 'MULTI_SIGS_BY_CREATOR_ID_MIN_CREATOR_ACCOUNT_ID_DESC', - MultiSigsByCreatorIdMinCreatorIdAsc = 'MULTI_SIGS_BY_CREATOR_ID_MIN_CREATOR_ID_ASC', - MultiSigsByCreatorIdMinCreatorIdDesc = 'MULTI_SIGS_BY_CREATOR_ID_MIN_CREATOR_ID_DESC', - MultiSigsByCreatorIdMinIdAsc = 'MULTI_SIGS_BY_CREATOR_ID_MIN_ID_ASC', - MultiSigsByCreatorIdMinIdDesc = 'MULTI_SIGS_BY_CREATOR_ID_MIN_ID_DESC', - MultiSigsByCreatorIdMinSignaturesRequiredAsc = 'MULTI_SIGS_BY_CREATOR_ID_MIN_SIGNATURES_REQUIRED_ASC', - MultiSigsByCreatorIdMinSignaturesRequiredDesc = 'MULTI_SIGS_BY_CREATOR_ID_MIN_SIGNATURES_REQUIRED_DESC', - MultiSigsByCreatorIdMinUpdatedAtAsc = 'MULTI_SIGS_BY_CREATOR_ID_MIN_UPDATED_AT_ASC', - MultiSigsByCreatorIdMinUpdatedAtDesc = 'MULTI_SIGS_BY_CREATOR_ID_MIN_UPDATED_AT_DESC', - MultiSigsByCreatorIdMinUpdatedBlockIdAsc = 'MULTI_SIGS_BY_CREATOR_ID_MIN_UPDATED_BLOCK_ID_ASC', - MultiSigsByCreatorIdMinUpdatedBlockIdDesc = 'MULTI_SIGS_BY_CREATOR_ID_MIN_UPDATED_BLOCK_ID_DESC', - MultiSigsByCreatorIdStddevPopulationAddressAsc = 'MULTI_SIGS_BY_CREATOR_ID_STDDEV_POPULATION_ADDRESS_ASC', - MultiSigsByCreatorIdStddevPopulationAddressDesc = 'MULTI_SIGS_BY_CREATOR_ID_STDDEV_POPULATION_ADDRESS_DESC', - MultiSigsByCreatorIdStddevPopulationCreatedAtAsc = 'MULTI_SIGS_BY_CREATOR_ID_STDDEV_POPULATION_CREATED_AT_ASC', - MultiSigsByCreatorIdStddevPopulationCreatedAtDesc = 'MULTI_SIGS_BY_CREATOR_ID_STDDEV_POPULATION_CREATED_AT_DESC', - MultiSigsByCreatorIdStddevPopulationCreatedBlockIdAsc = 'MULTI_SIGS_BY_CREATOR_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - MultiSigsByCreatorIdStddevPopulationCreatedBlockIdDesc = 'MULTI_SIGS_BY_CREATOR_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - MultiSigsByCreatorIdStddevPopulationCreatorAccountIdAsc = 'MULTI_SIGS_BY_CREATOR_ID_STDDEV_POPULATION_CREATOR_ACCOUNT_ID_ASC', - MultiSigsByCreatorIdStddevPopulationCreatorAccountIdDesc = 'MULTI_SIGS_BY_CREATOR_ID_STDDEV_POPULATION_CREATOR_ACCOUNT_ID_DESC', - MultiSigsByCreatorIdStddevPopulationCreatorIdAsc = 'MULTI_SIGS_BY_CREATOR_ID_STDDEV_POPULATION_CREATOR_ID_ASC', - MultiSigsByCreatorIdStddevPopulationCreatorIdDesc = 'MULTI_SIGS_BY_CREATOR_ID_STDDEV_POPULATION_CREATOR_ID_DESC', - MultiSigsByCreatorIdStddevPopulationIdAsc = 'MULTI_SIGS_BY_CREATOR_ID_STDDEV_POPULATION_ID_ASC', - MultiSigsByCreatorIdStddevPopulationIdDesc = 'MULTI_SIGS_BY_CREATOR_ID_STDDEV_POPULATION_ID_DESC', - MultiSigsByCreatorIdStddevPopulationSignaturesRequiredAsc = 'MULTI_SIGS_BY_CREATOR_ID_STDDEV_POPULATION_SIGNATURES_REQUIRED_ASC', - MultiSigsByCreatorIdStddevPopulationSignaturesRequiredDesc = 'MULTI_SIGS_BY_CREATOR_ID_STDDEV_POPULATION_SIGNATURES_REQUIRED_DESC', - MultiSigsByCreatorIdStddevPopulationUpdatedAtAsc = 'MULTI_SIGS_BY_CREATOR_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - MultiSigsByCreatorIdStddevPopulationUpdatedAtDesc = 'MULTI_SIGS_BY_CREATOR_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - MultiSigsByCreatorIdStddevPopulationUpdatedBlockIdAsc = 'MULTI_SIGS_BY_CREATOR_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - MultiSigsByCreatorIdStddevPopulationUpdatedBlockIdDesc = 'MULTI_SIGS_BY_CREATOR_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - MultiSigsByCreatorIdStddevSampleAddressAsc = 'MULTI_SIGS_BY_CREATOR_ID_STDDEV_SAMPLE_ADDRESS_ASC', - MultiSigsByCreatorIdStddevSampleAddressDesc = 'MULTI_SIGS_BY_CREATOR_ID_STDDEV_SAMPLE_ADDRESS_DESC', - MultiSigsByCreatorIdStddevSampleCreatedAtAsc = 'MULTI_SIGS_BY_CREATOR_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - MultiSigsByCreatorIdStddevSampleCreatedAtDesc = 'MULTI_SIGS_BY_CREATOR_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - MultiSigsByCreatorIdStddevSampleCreatedBlockIdAsc = 'MULTI_SIGS_BY_CREATOR_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - MultiSigsByCreatorIdStddevSampleCreatedBlockIdDesc = 'MULTI_SIGS_BY_CREATOR_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - MultiSigsByCreatorIdStddevSampleCreatorAccountIdAsc = 'MULTI_SIGS_BY_CREATOR_ID_STDDEV_SAMPLE_CREATOR_ACCOUNT_ID_ASC', - MultiSigsByCreatorIdStddevSampleCreatorAccountIdDesc = 'MULTI_SIGS_BY_CREATOR_ID_STDDEV_SAMPLE_CREATOR_ACCOUNT_ID_DESC', - MultiSigsByCreatorIdStddevSampleCreatorIdAsc = 'MULTI_SIGS_BY_CREATOR_ID_STDDEV_SAMPLE_CREATOR_ID_ASC', - MultiSigsByCreatorIdStddevSampleCreatorIdDesc = 'MULTI_SIGS_BY_CREATOR_ID_STDDEV_SAMPLE_CREATOR_ID_DESC', - MultiSigsByCreatorIdStddevSampleIdAsc = 'MULTI_SIGS_BY_CREATOR_ID_STDDEV_SAMPLE_ID_ASC', - MultiSigsByCreatorIdStddevSampleIdDesc = 'MULTI_SIGS_BY_CREATOR_ID_STDDEV_SAMPLE_ID_DESC', - MultiSigsByCreatorIdStddevSampleSignaturesRequiredAsc = 'MULTI_SIGS_BY_CREATOR_ID_STDDEV_SAMPLE_SIGNATURES_REQUIRED_ASC', - MultiSigsByCreatorIdStddevSampleSignaturesRequiredDesc = 'MULTI_SIGS_BY_CREATOR_ID_STDDEV_SAMPLE_SIGNATURES_REQUIRED_DESC', - MultiSigsByCreatorIdStddevSampleUpdatedAtAsc = 'MULTI_SIGS_BY_CREATOR_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - MultiSigsByCreatorIdStddevSampleUpdatedAtDesc = 'MULTI_SIGS_BY_CREATOR_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - MultiSigsByCreatorIdStddevSampleUpdatedBlockIdAsc = 'MULTI_SIGS_BY_CREATOR_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - MultiSigsByCreatorIdStddevSampleUpdatedBlockIdDesc = 'MULTI_SIGS_BY_CREATOR_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - MultiSigsByCreatorIdSumAddressAsc = 'MULTI_SIGS_BY_CREATOR_ID_SUM_ADDRESS_ASC', - MultiSigsByCreatorIdSumAddressDesc = 'MULTI_SIGS_BY_CREATOR_ID_SUM_ADDRESS_DESC', - MultiSigsByCreatorIdSumCreatedAtAsc = 'MULTI_SIGS_BY_CREATOR_ID_SUM_CREATED_AT_ASC', - MultiSigsByCreatorIdSumCreatedAtDesc = 'MULTI_SIGS_BY_CREATOR_ID_SUM_CREATED_AT_DESC', - MultiSigsByCreatorIdSumCreatedBlockIdAsc = 'MULTI_SIGS_BY_CREATOR_ID_SUM_CREATED_BLOCK_ID_ASC', - MultiSigsByCreatorIdSumCreatedBlockIdDesc = 'MULTI_SIGS_BY_CREATOR_ID_SUM_CREATED_BLOCK_ID_DESC', - MultiSigsByCreatorIdSumCreatorAccountIdAsc = 'MULTI_SIGS_BY_CREATOR_ID_SUM_CREATOR_ACCOUNT_ID_ASC', - MultiSigsByCreatorIdSumCreatorAccountIdDesc = 'MULTI_SIGS_BY_CREATOR_ID_SUM_CREATOR_ACCOUNT_ID_DESC', - MultiSigsByCreatorIdSumCreatorIdAsc = 'MULTI_SIGS_BY_CREATOR_ID_SUM_CREATOR_ID_ASC', - MultiSigsByCreatorIdSumCreatorIdDesc = 'MULTI_SIGS_BY_CREATOR_ID_SUM_CREATOR_ID_DESC', - MultiSigsByCreatorIdSumIdAsc = 'MULTI_SIGS_BY_CREATOR_ID_SUM_ID_ASC', - MultiSigsByCreatorIdSumIdDesc = 'MULTI_SIGS_BY_CREATOR_ID_SUM_ID_DESC', - MultiSigsByCreatorIdSumSignaturesRequiredAsc = 'MULTI_SIGS_BY_CREATOR_ID_SUM_SIGNATURES_REQUIRED_ASC', - MultiSigsByCreatorIdSumSignaturesRequiredDesc = 'MULTI_SIGS_BY_CREATOR_ID_SUM_SIGNATURES_REQUIRED_DESC', - MultiSigsByCreatorIdSumUpdatedAtAsc = 'MULTI_SIGS_BY_CREATOR_ID_SUM_UPDATED_AT_ASC', - MultiSigsByCreatorIdSumUpdatedAtDesc = 'MULTI_SIGS_BY_CREATOR_ID_SUM_UPDATED_AT_DESC', - MultiSigsByCreatorIdSumUpdatedBlockIdAsc = 'MULTI_SIGS_BY_CREATOR_ID_SUM_UPDATED_BLOCK_ID_ASC', - MultiSigsByCreatorIdSumUpdatedBlockIdDesc = 'MULTI_SIGS_BY_CREATOR_ID_SUM_UPDATED_BLOCK_ID_DESC', - MultiSigsByCreatorIdVariancePopulationAddressAsc = 'MULTI_SIGS_BY_CREATOR_ID_VARIANCE_POPULATION_ADDRESS_ASC', - MultiSigsByCreatorIdVariancePopulationAddressDesc = 'MULTI_SIGS_BY_CREATOR_ID_VARIANCE_POPULATION_ADDRESS_DESC', - MultiSigsByCreatorIdVariancePopulationCreatedAtAsc = 'MULTI_SIGS_BY_CREATOR_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - MultiSigsByCreatorIdVariancePopulationCreatedAtDesc = 'MULTI_SIGS_BY_CREATOR_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - MultiSigsByCreatorIdVariancePopulationCreatedBlockIdAsc = 'MULTI_SIGS_BY_CREATOR_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - MultiSigsByCreatorIdVariancePopulationCreatedBlockIdDesc = 'MULTI_SIGS_BY_CREATOR_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - MultiSigsByCreatorIdVariancePopulationCreatorAccountIdAsc = 'MULTI_SIGS_BY_CREATOR_ID_VARIANCE_POPULATION_CREATOR_ACCOUNT_ID_ASC', - MultiSigsByCreatorIdVariancePopulationCreatorAccountIdDesc = 'MULTI_SIGS_BY_CREATOR_ID_VARIANCE_POPULATION_CREATOR_ACCOUNT_ID_DESC', - MultiSigsByCreatorIdVariancePopulationCreatorIdAsc = 'MULTI_SIGS_BY_CREATOR_ID_VARIANCE_POPULATION_CREATOR_ID_ASC', - MultiSigsByCreatorIdVariancePopulationCreatorIdDesc = 'MULTI_SIGS_BY_CREATOR_ID_VARIANCE_POPULATION_CREATOR_ID_DESC', - MultiSigsByCreatorIdVariancePopulationIdAsc = 'MULTI_SIGS_BY_CREATOR_ID_VARIANCE_POPULATION_ID_ASC', - MultiSigsByCreatorIdVariancePopulationIdDesc = 'MULTI_SIGS_BY_CREATOR_ID_VARIANCE_POPULATION_ID_DESC', - MultiSigsByCreatorIdVariancePopulationSignaturesRequiredAsc = 'MULTI_SIGS_BY_CREATOR_ID_VARIANCE_POPULATION_SIGNATURES_REQUIRED_ASC', - MultiSigsByCreatorIdVariancePopulationSignaturesRequiredDesc = 'MULTI_SIGS_BY_CREATOR_ID_VARIANCE_POPULATION_SIGNATURES_REQUIRED_DESC', - MultiSigsByCreatorIdVariancePopulationUpdatedAtAsc = 'MULTI_SIGS_BY_CREATOR_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - MultiSigsByCreatorIdVariancePopulationUpdatedAtDesc = 'MULTI_SIGS_BY_CREATOR_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - MultiSigsByCreatorIdVariancePopulationUpdatedBlockIdAsc = 'MULTI_SIGS_BY_CREATOR_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - MultiSigsByCreatorIdVariancePopulationUpdatedBlockIdDesc = 'MULTI_SIGS_BY_CREATOR_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - MultiSigsByCreatorIdVarianceSampleAddressAsc = 'MULTI_SIGS_BY_CREATOR_ID_VARIANCE_SAMPLE_ADDRESS_ASC', - MultiSigsByCreatorIdVarianceSampleAddressDesc = 'MULTI_SIGS_BY_CREATOR_ID_VARIANCE_SAMPLE_ADDRESS_DESC', - MultiSigsByCreatorIdVarianceSampleCreatedAtAsc = 'MULTI_SIGS_BY_CREATOR_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - MultiSigsByCreatorIdVarianceSampleCreatedAtDesc = 'MULTI_SIGS_BY_CREATOR_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - MultiSigsByCreatorIdVarianceSampleCreatedBlockIdAsc = 'MULTI_SIGS_BY_CREATOR_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - MultiSigsByCreatorIdVarianceSampleCreatedBlockIdDesc = 'MULTI_SIGS_BY_CREATOR_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - MultiSigsByCreatorIdVarianceSampleCreatorAccountIdAsc = 'MULTI_SIGS_BY_CREATOR_ID_VARIANCE_SAMPLE_CREATOR_ACCOUNT_ID_ASC', - MultiSigsByCreatorIdVarianceSampleCreatorAccountIdDesc = 'MULTI_SIGS_BY_CREATOR_ID_VARIANCE_SAMPLE_CREATOR_ACCOUNT_ID_DESC', - MultiSigsByCreatorIdVarianceSampleCreatorIdAsc = 'MULTI_SIGS_BY_CREATOR_ID_VARIANCE_SAMPLE_CREATOR_ID_ASC', - MultiSigsByCreatorIdVarianceSampleCreatorIdDesc = 'MULTI_SIGS_BY_CREATOR_ID_VARIANCE_SAMPLE_CREATOR_ID_DESC', - MultiSigsByCreatorIdVarianceSampleIdAsc = 'MULTI_SIGS_BY_CREATOR_ID_VARIANCE_SAMPLE_ID_ASC', - MultiSigsByCreatorIdVarianceSampleIdDesc = 'MULTI_SIGS_BY_CREATOR_ID_VARIANCE_SAMPLE_ID_DESC', - MultiSigsByCreatorIdVarianceSampleSignaturesRequiredAsc = 'MULTI_SIGS_BY_CREATOR_ID_VARIANCE_SAMPLE_SIGNATURES_REQUIRED_ASC', - MultiSigsByCreatorIdVarianceSampleSignaturesRequiredDesc = 'MULTI_SIGS_BY_CREATOR_ID_VARIANCE_SAMPLE_SIGNATURES_REQUIRED_DESC', - MultiSigsByCreatorIdVarianceSampleUpdatedAtAsc = 'MULTI_SIGS_BY_CREATOR_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - MultiSigsByCreatorIdVarianceSampleUpdatedAtDesc = 'MULTI_SIGS_BY_CREATOR_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - MultiSigsByCreatorIdVarianceSampleUpdatedBlockIdAsc = 'MULTI_SIGS_BY_CREATOR_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - MultiSigsByCreatorIdVarianceSampleUpdatedBlockIdDesc = 'MULTI_SIGS_BY_CREATOR_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - MultiSigProposalsByCreatorIdAverageApprovalCountAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_AVERAGE_APPROVAL_COUNT_ASC', - MultiSigProposalsByCreatorIdAverageApprovalCountDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_AVERAGE_APPROVAL_COUNT_DESC', - MultiSigProposalsByCreatorIdAverageCreatedAtAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_AVERAGE_CREATED_AT_ASC', - MultiSigProposalsByCreatorIdAverageCreatedAtDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_AVERAGE_CREATED_AT_DESC', - MultiSigProposalsByCreatorIdAverageCreatedBlockIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - MultiSigProposalsByCreatorIdAverageCreatedBlockIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - MultiSigProposalsByCreatorIdAverageCreatorAccountAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_AVERAGE_CREATOR_ACCOUNT_ASC', - MultiSigProposalsByCreatorIdAverageCreatorAccountDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_AVERAGE_CREATOR_ACCOUNT_DESC', - MultiSigProposalsByCreatorIdAverageCreatorIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_AVERAGE_CREATOR_ID_ASC', - MultiSigProposalsByCreatorIdAverageCreatorIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_AVERAGE_CREATOR_ID_DESC', - MultiSigProposalsByCreatorIdAverageDatetimeAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_AVERAGE_DATETIME_ASC', - MultiSigProposalsByCreatorIdAverageDatetimeDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_AVERAGE_DATETIME_DESC', - MultiSigProposalsByCreatorIdAverageEventIdxAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_AVERAGE_EVENT_IDX_ASC', - MultiSigProposalsByCreatorIdAverageEventIdxDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_AVERAGE_EVENT_IDX_DESC', - MultiSigProposalsByCreatorIdAverageExtrinsicIdxAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_AVERAGE_EXTRINSIC_IDX_ASC', - MultiSigProposalsByCreatorIdAverageExtrinsicIdxDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_AVERAGE_EXTRINSIC_IDX_DESC', - MultiSigProposalsByCreatorIdAverageIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_AVERAGE_ID_ASC', - MultiSigProposalsByCreatorIdAverageIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_AVERAGE_ID_DESC', - MultiSigProposalsByCreatorIdAverageMultisigIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_AVERAGE_MULTISIG_ID_ASC', - MultiSigProposalsByCreatorIdAverageMultisigIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_AVERAGE_MULTISIG_ID_DESC', - MultiSigProposalsByCreatorIdAverageProposalIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_AVERAGE_PROPOSAL_ID_ASC', - MultiSigProposalsByCreatorIdAverageProposalIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_AVERAGE_PROPOSAL_ID_DESC', - MultiSigProposalsByCreatorIdAverageRejectionCountAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_AVERAGE_REJECTION_COUNT_ASC', - MultiSigProposalsByCreatorIdAverageRejectionCountDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_AVERAGE_REJECTION_COUNT_DESC', - MultiSigProposalsByCreatorIdAverageStatusAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_AVERAGE_STATUS_ASC', - MultiSigProposalsByCreatorIdAverageStatusDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_AVERAGE_STATUS_DESC', - MultiSigProposalsByCreatorIdAverageUpdatedAtAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_AVERAGE_UPDATED_AT_ASC', - MultiSigProposalsByCreatorIdAverageUpdatedAtDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_AVERAGE_UPDATED_AT_DESC', - MultiSigProposalsByCreatorIdAverageUpdatedBlockIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - MultiSigProposalsByCreatorIdAverageUpdatedBlockIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - MultiSigProposalsByCreatorIdCountAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_COUNT_ASC', - MultiSigProposalsByCreatorIdCountDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_COUNT_DESC', - MultiSigProposalsByCreatorIdDistinctCountApprovalCountAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_DISTINCT_COUNT_APPROVAL_COUNT_ASC', - MultiSigProposalsByCreatorIdDistinctCountApprovalCountDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_DISTINCT_COUNT_APPROVAL_COUNT_DESC', - MultiSigProposalsByCreatorIdDistinctCountCreatedAtAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_DISTINCT_COUNT_CREATED_AT_ASC', - MultiSigProposalsByCreatorIdDistinctCountCreatedAtDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_DISTINCT_COUNT_CREATED_AT_DESC', - MultiSigProposalsByCreatorIdDistinctCountCreatedBlockIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - MultiSigProposalsByCreatorIdDistinctCountCreatedBlockIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - MultiSigProposalsByCreatorIdDistinctCountCreatorAccountAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_DISTINCT_COUNT_CREATOR_ACCOUNT_ASC', - MultiSigProposalsByCreatorIdDistinctCountCreatorAccountDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_DISTINCT_COUNT_CREATOR_ACCOUNT_DESC', - MultiSigProposalsByCreatorIdDistinctCountCreatorIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_DISTINCT_COUNT_CREATOR_ID_ASC', - MultiSigProposalsByCreatorIdDistinctCountCreatorIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_DISTINCT_COUNT_CREATOR_ID_DESC', - MultiSigProposalsByCreatorIdDistinctCountDatetimeAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_DISTINCT_COUNT_DATETIME_ASC', - MultiSigProposalsByCreatorIdDistinctCountDatetimeDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_DISTINCT_COUNT_DATETIME_DESC', - MultiSigProposalsByCreatorIdDistinctCountEventIdxAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_DISTINCT_COUNT_EVENT_IDX_ASC', - MultiSigProposalsByCreatorIdDistinctCountEventIdxDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_DISTINCT_COUNT_EVENT_IDX_DESC', - MultiSigProposalsByCreatorIdDistinctCountExtrinsicIdxAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_DISTINCT_COUNT_EXTRINSIC_IDX_ASC', - MultiSigProposalsByCreatorIdDistinctCountExtrinsicIdxDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_DISTINCT_COUNT_EXTRINSIC_IDX_DESC', - MultiSigProposalsByCreatorIdDistinctCountIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_DISTINCT_COUNT_ID_ASC', - MultiSigProposalsByCreatorIdDistinctCountIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_DISTINCT_COUNT_ID_DESC', - MultiSigProposalsByCreatorIdDistinctCountMultisigIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_DISTINCT_COUNT_MULTISIG_ID_ASC', - MultiSigProposalsByCreatorIdDistinctCountMultisigIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_DISTINCT_COUNT_MULTISIG_ID_DESC', - MultiSigProposalsByCreatorIdDistinctCountProposalIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_DISTINCT_COUNT_PROPOSAL_ID_ASC', - MultiSigProposalsByCreatorIdDistinctCountProposalIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_DISTINCT_COUNT_PROPOSAL_ID_DESC', - MultiSigProposalsByCreatorIdDistinctCountRejectionCountAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_DISTINCT_COUNT_REJECTION_COUNT_ASC', - MultiSigProposalsByCreatorIdDistinctCountRejectionCountDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_DISTINCT_COUNT_REJECTION_COUNT_DESC', - MultiSigProposalsByCreatorIdDistinctCountStatusAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_DISTINCT_COUNT_STATUS_ASC', - MultiSigProposalsByCreatorIdDistinctCountStatusDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_DISTINCT_COUNT_STATUS_DESC', - MultiSigProposalsByCreatorIdDistinctCountUpdatedAtAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - MultiSigProposalsByCreatorIdDistinctCountUpdatedAtDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - MultiSigProposalsByCreatorIdDistinctCountUpdatedBlockIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - MultiSigProposalsByCreatorIdDistinctCountUpdatedBlockIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - MultiSigProposalsByCreatorIdMaxApprovalCountAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_MAX_APPROVAL_COUNT_ASC', - MultiSigProposalsByCreatorIdMaxApprovalCountDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_MAX_APPROVAL_COUNT_DESC', - MultiSigProposalsByCreatorIdMaxCreatedAtAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_MAX_CREATED_AT_ASC', - MultiSigProposalsByCreatorIdMaxCreatedAtDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_MAX_CREATED_AT_DESC', - MultiSigProposalsByCreatorIdMaxCreatedBlockIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_MAX_CREATED_BLOCK_ID_ASC', - MultiSigProposalsByCreatorIdMaxCreatedBlockIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_MAX_CREATED_BLOCK_ID_DESC', - MultiSigProposalsByCreatorIdMaxCreatorAccountAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_MAX_CREATOR_ACCOUNT_ASC', - MultiSigProposalsByCreatorIdMaxCreatorAccountDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_MAX_CREATOR_ACCOUNT_DESC', - MultiSigProposalsByCreatorIdMaxCreatorIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_MAX_CREATOR_ID_ASC', - MultiSigProposalsByCreatorIdMaxCreatorIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_MAX_CREATOR_ID_DESC', - MultiSigProposalsByCreatorIdMaxDatetimeAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_MAX_DATETIME_ASC', - MultiSigProposalsByCreatorIdMaxDatetimeDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_MAX_DATETIME_DESC', - MultiSigProposalsByCreatorIdMaxEventIdxAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_MAX_EVENT_IDX_ASC', - MultiSigProposalsByCreatorIdMaxEventIdxDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_MAX_EVENT_IDX_DESC', - MultiSigProposalsByCreatorIdMaxExtrinsicIdxAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_MAX_EXTRINSIC_IDX_ASC', - MultiSigProposalsByCreatorIdMaxExtrinsicIdxDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_MAX_EXTRINSIC_IDX_DESC', - MultiSigProposalsByCreatorIdMaxIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_MAX_ID_ASC', - MultiSigProposalsByCreatorIdMaxIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_MAX_ID_DESC', - MultiSigProposalsByCreatorIdMaxMultisigIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_MAX_MULTISIG_ID_ASC', - MultiSigProposalsByCreatorIdMaxMultisigIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_MAX_MULTISIG_ID_DESC', - MultiSigProposalsByCreatorIdMaxProposalIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_MAX_PROPOSAL_ID_ASC', - MultiSigProposalsByCreatorIdMaxProposalIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_MAX_PROPOSAL_ID_DESC', - MultiSigProposalsByCreatorIdMaxRejectionCountAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_MAX_REJECTION_COUNT_ASC', - MultiSigProposalsByCreatorIdMaxRejectionCountDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_MAX_REJECTION_COUNT_DESC', - MultiSigProposalsByCreatorIdMaxStatusAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_MAX_STATUS_ASC', - MultiSigProposalsByCreatorIdMaxStatusDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_MAX_STATUS_DESC', - MultiSigProposalsByCreatorIdMaxUpdatedAtAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_MAX_UPDATED_AT_ASC', - MultiSigProposalsByCreatorIdMaxUpdatedAtDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_MAX_UPDATED_AT_DESC', - MultiSigProposalsByCreatorIdMaxUpdatedBlockIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_MAX_UPDATED_BLOCK_ID_ASC', - MultiSigProposalsByCreatorIdMaxUpdatedBlockIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_MAX_UPDATED_BLOCK_ID_DESC', - MultiSigProposalsByCreatorIdMinApprovalCountAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_MIN_APPROVAL_COUNT_ASC', - MultiSigProposalsByCreatorIdMinApprovalCountDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_MIN_APPROVAL_COUNT_DESC', - MultiSigProposalsByCreatorIdMinCreatedAtAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_MIN_CREATED_AT_ASC', - MultiSigProposalsByCreatorIdMinCreatedAtDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_MIN_CREATED_AT_DESC', - MultiSigProposalsByCreatorIdMinCreatedBlockIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_MIN_CREATED_BLOCK_ID_ASC', - MultiSigProposalsByCreatorIdMinCreatedBlockIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_MIN_CREATED_BLOCK_ID_DESC', - MultiSigProposalsByCreatorIdMinCreatorAccountAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_MIN_CREATOR_ACCOUNT_ASC', - MultiSigProposalsByCreatorIdMinCreatorAccountDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_MIN_CREATOR_ACCOUNT_DESC', - MultiSigProposalsByCreatorIdMinCreatorIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_MIN_CREATOR_ID_ASC', - MultiSigProposalsByCreatorIdMinCreatorIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_MIN_CREATOR_ID_DESC', - MultiSigProposalsByCreatorIdMinDatetimeAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_MIN_DATETIME_ASC', - MultiSigProposalsByCreatorIdMinDatetimeDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_MIN_DATETIME_DESC', - MultiSigProposalsByCreatorIdMinEventIdxAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_MIN_EVENT_IDX_ASC', - MultiSigProposalsByCreatorIdMinEventIdxDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_MIN_EVENT_IDX_DESC', - MultiSigProposalsByCreatorIdMinExtrinsicIdxAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_MIN_EXTRINSIC_IDX_ASC', - MultiSigProposalsByCreatorIdMinExtrinsicIdxDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_MIN_EXTRINSIC_IDX_DESC', - MultiSigProposalsByCreatorIdMinIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_MIN_ID_ASC', - MultiSigProposalsByCreatorIdMinIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_MIN_ID_DESC', - MultiSigProposalsByCreatorIdMinMultisigIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_MIN_MULTISIG_ID_ASC', - MultiSigProposalsByCreatorIdMinMultisigIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_MIN_MULTISIG_ID_DESC', - MultiSigProposalsByCreatorIdMinProposalIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_MIN_PROPOSAL_ID_ASC', - MultiSigProposalsByCreatorIdMinProposalIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_MIN_PROPOSAL_ID_DESC', - MultiSigProposalsByCreatorIdMinRejectionCountAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_MIN_REJECTION_COUNT_ASC', - MultiSigProposalsByCreatorIdMinRejectionCountDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_MIN_REJECTION_COUNT_DESC', - MultiSigProposalsByCreatorIdMinStatusAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_MIN_STATUS_ASC', - MultiSigProposalsByCreatorIdMinStatusDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_MIN_STATUS_DESC', - MultiSigProposalsByCreatorIdMinUpdatedAtAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_MIN_UPDATED_AT_ASC', - MultiSigProposalsByCreatorIdMinUpdatedAtDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_MIN_UPDATED_AT_DESC', - MultiSigProposalsByCreatorIdMinUpdatedBlockIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_MIN_UPDATED_BLOCK_ID_ASC', - MultiSigProposalsByCreatorIdMinUpdatedBlockIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_MIN_UPDATED_BLOCK_ID_DESC', - MultiSigProposalsByCreatorIdStddevPopulationApprovalCountAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_STDDEV_POPULATION_APPROVAL_COUNT_ASC', - MultiSigProposalsByCreatorIdStddevPopulationApprovalCountDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_STDDEV_POPULATION_APPROVAL_COUNT_DESC', - MultiSigProposalsByCreatorIdStddevPopulationCreatedAtAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_STDDEV_POPULATION_CREATED_AT_ASC', - MultiSigProposalsByCreatorIdStddevPopulationCreatedAtDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_STDDEV_POPULATION_CREATED_AT_DESC', - MultiSigProposalsByCreatorIdStddevPopulationCreatedBlockIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - MultiSigProposalsByCreatorIdStddevPopulationCreatedBlockIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - MultiSigProposalsByCreatorIdStddevPopulationCreatorAccountAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_STDDEV_POPULATION_CREATOR_ACCOUNT_ASC', - MultiSigProposalsByCreatorIdStddevPopulationCreatorAccountDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_STDDEV_POPULATION_CREATOR_ACCOUNT_DESC', - MultiSigProposalsByCreatorIdStddevPopulationCreatorIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_STDDEV_POPULATION_CREATOR_ID_ASC', - MultiSigProposalsByCreatorIdStddevPopulationCreatorIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_STDDEV_POPULATION_CREATOR_ID_DESC', - MultiSigProposalsByCreatorIdStddevPopulationDatetimeAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_STDDEV_POPULATION_DATETIME_ASC', - MultiSigProposalsByCreatorIdStddevPopulationDatetimeDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_STDDEV_POPULATION_DATETIME_DESC', - MultiSigProposalsByCreatorIdStddevPopulationEventIdxAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_STDDEV_POPULATION_EVENT_IDX_ASC', - MultiSigProposalsByCreatorIdStddevPopulationEventIdxDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_STDDEV_POPULATION_EVENT_IDX_DESC', - MultiSigProposalsByCreatorIdStddevPopulationExtrinsicIdxAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_STDDEV_POPULATION_EXTRINSIC_IDX_ASC', - MultiSigProposalsByCreatorIdStddevPopulationExtrinsicIdxDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_STDDEV_POPULATION_EXTRINSIC_IDX_DESC', - MultiSigProposalsByCreatorIdStddevPopulationIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_STDDEV_POPULATION_ID_ASC', - MultiSigProposalsByCreatorIdStddevPopulationIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_STDDEV_POPULATION_ID_DESC', - MultiSigProposalsByCreatorIdStddevPopulationMultisigIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_STDDEV_POPULATION_MULTISIG_ID_ASC', - MultiSigProposalsByCreatorIdStddevPopulationMultisigIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_STDDEV_POPULATION_MULTISIG_ID_DESC', - MultiSigProposalsByCreatorIdStddevPopulationProposalIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_STDDEV_POPULATION_PROPOSAL_ID_ASC', - MultiSigProposalsByCreatorIdStddevPopulationProposalIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_STDDEV_POPULATION_PROPOSAL_ID_DESC', - MultiSigProposalsByCreatorIdStddevPopulationRejectionCountAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_STDDEV_POPULATION_REJECTION_COUNT_ASC', - MultiSigProposalsByCreatorIdStddevPopulationRejectionCountDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_STDDEV_POPULATION_REJECTION_COUNT_DESC', - MultiSigProposalsByCreatorIdStddevPopulationStatusAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_STDDEV_POPULATION_STATUS_ASC', - MultiSigProposalsByCreatorIdStddevPopulationStatusDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_STDDEV_POPULATION_STATUS_DESC', - MultiSigProposalsByCreatorIdStddevPopulationUpdatedAtAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - MultiSigProposalsByCreatorIdStddevPopulationUpdatedAtDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - MultiSigProposalsByCreatorIdStddevPopulationUpdatedBlockIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - MultiSigProposalsByCreatorIdStddevPopulationUpdatedBlockIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - MultiSigProposalsByCreatorIdStddevSampleApprovalCountAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_STDDEV_SAMPLE_APPROVAL_COUNT_ASC', - MultiSigProposalsByCreatorIdStddevSampleApprovalCountDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_STDDEV_SAMPLE_APPROVAL_COUNT_DESC', - MultiSigProposalsByCreatorIdStddevSampleCreatedAtAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - MultiSigProposalsByCreatorIdStddevSampleCreatedAtDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - MultiSigProposalsByCreatorIdStddevSampleCreatedBlockIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - MultiSigProposalsByCreatorIdStddevSampleCreatedBlockIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - MultiSigProposalsByCreatorIdStddevSampleCreatorAccountAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_STDDEV_SAMPLE_CREATOR_ACCOUNT_ASC', - MultiSigProposalsByCreatorIdStddevSampleCreatorAccountDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_STDDEV_SAMPLE_CREATOR_ACCOUNT_DESC', - MultiSigProposalsByCreatorIdStddevSampleCreatorIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_STDDEV_SAMPLE_CREATOR_ID_ASC', - MultiSigProposalsByCreatorIdStddevSampleCreatorIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_STDDEV_SAMPLE_CREATOR_ID_DESC', - MultiSigProposalsByCreatorIdStddevSampleDatetimeAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_STDDEV_SAMPLE_DATETIME_ASC', - MultiSigProposalsByCreatorIdStddevSampleDatetimeDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_STDDEV_SAMPLE_DATETIME_DESC', - MultiSigProposalsByCreatorIdStddevSampleEventIdxAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', - MultiSigProposalsByCreatorIdStddevSampleEventIdxDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', - MultiSigProposalsByCreatorIdStddevSampleExtrinsicIdxAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_STDDEV_SAMPLE_EXTRINSIC_IDX_ASC', - MultiSigProposalsByCreatorIdStddevSampleExtrinsicIdxDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_STDDEV_SAMPLE_EXTRINSIC_IDX_DESC', - MultiSigProposalsByCreatorIdStddevSampleIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_STDDEV_SAMPLE_ID_ASC', - MultiSigProposalsByCreatorIdStddevSampleIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_STDDEV_SAMPLE_ID_DESC', - MultiSigProposalsByCreatorIdStddevSampleMultisigIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_STDDEV_SAMPLE_MULTISIG_ID_ASC', - MultiSigProposalsByCreatorIdStddevSampleMultisigIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_STDDEV_SAMPLE_MULTISIG_ID_DESC', - MultiSigProposalsByCreatorIdStddevSampleProposalIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_STDDEV_SAMPLE_PROPOSAL_ID_ASC', - MultiSigProposalsByCreatorIdStddevSampleProposalIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_STDDEV_SAMPLE_PROPOSAL_ID_DESC', - MultiSigProposalsByCreatorIdStddevSampleRejectionCountAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_STDDEV_SAMPLE_REJECTION_COUNT_ASC', - MultiSigProposalsByCreatorIdStddevSampleRejectionCountDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_STDDEV_SAMPLE_REJECTION_COUNT_DESC', - MultiSigProposalsByCreatorIdStddevSampleStatusAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_STDDEV_SAMPLE_STATUS_ASC', - MultiSigProposalsByCreatorIdStddevSampleStatusDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_STDDEV_SAMPLE_STATUS_DESC', - MultiSigProposalsByCreatorIdStddevSampleUpdatedAtAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - MultiSigProposalsByCreatorIdStddevSampleUpdatedAtDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - MultiSigProposalsByCreatorIdStddevSampleUpdatedBlockIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - MultiSigProposalsByCreatorIdStddevSampleUpdatedBlockIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - MultiSigProposalsByCreatorIdSumApprovalCountAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_SUM_APPROVAL_COUNT_ASC', - MultiSigProposalsByCreatorIdSumApprovalCountDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_SUM_APPROVAL_COUNT_DESC', - MultiSigProposalsByCreatorIdSumCreatedAtAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_SUM_CREATED_AT_ASC', - MultiSigProposalsByCreatorIdSumCreatedAtDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_SUM_CREATED_AT_DESC', - MultiSigProposalsByCreatorIdSumCreatedBlockIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_SUM_CREATED_BLOCK_ID_ASC', - MultiSigProposalsByCreatorIdSumCreatedBlockIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_SUM_CREATED_BLOCK_ID_DESC', - MultiSigProposalsByCreatorIdSumCreatorAccountAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_SUM_CREATOR_ACCOUNT_ASC', - MultiSigProposalsByCreatorIdSumCreatorAccountDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_SUM_CREATOR_ACCOUNT_DESC', - MultiSigProposalsByCreatorIdSumCreatorIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_SUM_CREATOR_ID_ASC', - MultiSigProposalsByCreatorIdSumCreatorIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_SUM_CREATOR_ID_DESC', - MultiSigProposalsByCreatorIdSumDatetimeAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_SUM_DATETIME_ASC', - MultiSigProposalsByCreatorIdSumDatetimeDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_SUM_DATETIME_DESC', - MultiSigProposalsByCreatorIdSumEventIdxAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_SUM_EVENT_IDX_ASC', - MultiSigProposalsByCreatorIdSumEventIdxDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_SUM_EVENT_IDX_DESC', - MultiSigProposalsByCreatorIdSumExtrinsicIdxAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_SUM_EXTRINSIC_IDX_ASC', - MultiSigProposalsByCreatorIdSumExtrinsicIdxDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_SUM_EXTRINSIC_IDX_DESC', - MultiSigProposalsByCreatorIdSumIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_SUM_ID_ASC', - MultiSigProposalsByCreatorIdSumIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_SUM_ID_DESC', - MultiSigProposalsByCreatorIdSumMultisigIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_SUM_MULTISIG_ID_ASC', - MultiSigProposalsByCreatorIdSumMultisigIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_SUM_MULTISIG_ID_DESC', - MultiSigProposalsByCreatorIdSumProposalIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_SUM_PROPOSAL_ID_ASC', - MultiSigProposalsByCreatorIdSumProposalIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_SUM_PROPOSAL_ID_DESC', - MultiSigProposalsByCreatorIdSumRejectionCountAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_SUM_REJECTION_COUNT_ASC', - MultiSigProposalsByCreatorIdSumRejectionCountDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_SUM_REJECTION_COUNT_DESC', - MultiSigProposalsByCreatorIdSumStatusAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_SUM_STATUS_ASC', - MultiSigProposalsByCreatorIdSumStatusDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_SUM_STATUS_DESC', - MultiSigProposalsByCreatorIdSumUpdatedAtAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_SUM_UPDATED_AT_ASC', - MultiSigProposalsByCreatorIdSumUpdatedAtDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_SUM_UPDATED_AT_DESC', - MultiSigProposalsByCreatorIdSumUpdatedBlockIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_SUM_UPDATED_BLOCK_ID_ASC', - MultiSigProposalsByCreatorIdSumUpdatedBlockIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_SUM_UPDATED_BLOCK_ID_DESC', - MultiSigProposalsByCreatorIdVariancePopulationApprovalCountAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_VARIANCE_POPULATION_APPROVAL_COUNT_ASC', - MultiSigProposalsByCreatorIdVariancePopulationApprovalCountDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_VARIANCE_POPULATION_APPROVAL_COUNT_DESC', - MultiSigProposalsByCreatorIdVariancePopulationCreatedAtAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - MultiSigProposalsByCreatorIdVariancePopulationCreatedAtDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - MultiSigProposalsByCreatorIdVariancePopulationCreatedBlockIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - MultiSigProposalsByCreatorIdVariancePopulationCreatedBlockIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - MultiSigProposalsByCreatorIdVariancePopulationCreatorAccountAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_VARIANCE_POPULATION_CREATOR_ACCOUNT_ASC', - MultiSigProposalsByCreatorIdVariancePopulationCreatorAccountDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_VARIANCE_POPULATION_CREATOR_ACCOUNT_DESC', - MultiSigProposalsByCreatorIdVariancePopulationCreatorIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_VARIANCE_POPULATION_CREATOR_ID_ASC', - MultiSigProposalsByCreatorIdVariancePopulationCreatorIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_VARIANCE_POPULATION_CREATOR_ID_DESC', - MultiSigProposalsByCreatorIdVariancePopulationDatetimeAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_VARIANCE_POPULATION_DATETIME_ASC', - MultiSigProposalsByCreatorIdVariancePopulationDatetimeDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_VARIANCE_POPULATION_DATETIME_DESC', - MultiSigProposalsByCreatorIdVariancePopulationEventIdxAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', - MultiSigProposalsByCreatorIdVariancePopulationEventIdxDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', - MultiSigProposalsByCreatorIdVariancePopulationExtrinsicIdxAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_VARIANCE_POPULATION_EXTRINSIC_IDX_ASC', - MultiSigProposalsByCreatorIdVariancePopulationExtrinsicIdxDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_VARIANCE_POPULATION_EXTRINSIC_IDX_DESC', - MultiSigProposalsByCreatorIdVariancePopulationIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_VARIANCE_POPULATION_ID_ASC', - MultiSigProposalsByCreatorIdVariancePopulationIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_VARIANCE_POPULATION_ID_DESC', - MultiSigProposalsByCreatorIdVariancePopulationMultisigIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_VARIANCE_POPULATION_MULTISIG_ID_ASC', - MultiSigProposalsByCreatorIdVariancePopulationMultisigIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_VARIANCE_POPULATION_MULTISIG_ID_DESC', - MultiSigProposalsByCreatorIdVariancePopulationProposalIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_VARIANCE_POPULATION_PROPOSAL_ID_ASC', - MultiSigProposalsByCreatorIdVariancePopulationProposalIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_VARIANCE_POPULATION_PROPOSAL_ID_DESC', - MultiSigProposalsByCreatorIdVariancePopulationRejectionCountAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_VARIANCE_POPULATION_REJECTION_COUNT_ASC', - MultiSigProposalsByCreatorIdVariancePopulationRejectionCountDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_VARIANCE_POPULATION_REJECTION_COUNT_DESC', - MultiSigProposalsByCreatorIdVariancePopulationStatusAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_VARIANCE_POPULATION_STATUS_ASC', - MultiSigProposalsByCreatorIdVariancePopulationStatusDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_VARIANCE_POPULATION_STATUS_DESC', - MultiSigProposalsByCreatorIdVariancePopulationUpdatedAtAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - MultiSigProposalsByCreatorIdVariancePopulationUpdatedAtDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - MultiSigProposalsByCreatorIdVariancePopulationUpdatedBlockIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - MultiSigProposalsByCreatorIdVariancePopulationUpdatedBlockIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - MultiSigProposalsByCreatorIdVarianceSampleApprovalCountAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_VARIANCE_SAMPLE_APPROVAL_COUNT_ASC', - MultiSigProposalsByCreatorIdVarianceSampleApprovalCountDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_VARIANCE_SAMPLE_APPROVAL_COUNT_DESC', - MultiSigProposalsByCreatorIdVarianceSampleCreatedAtAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - MultiSigProposalsByCreatorIdVarianceSampleCreatedAtDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - MultiSigProposalsByCreatorIdVarianceSampleCreatedBlockIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - MultiSigProposalsByCreatorIdVarianceSampleCreatedBlockIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - MultiSigProposalsByCreatorIdVarianceSampleCreatorAccountAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_VARIANCE_SAMPLE_CREATOR_ACCOUNT_ASC', - MultiSigProposalsByCreatorIdVarianceSampleCreatorAccountDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_VARIANCE_SAMPLE_CREATOR_ACCOUNT_DESC', - MultiSigProposalsByCreatorIdVarianceSampleCreatorIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_VARIANCE_SAMPLE_CREATOR_ID_ASC', - MultiSigProposalsByCreatorIdVarianceSampleCreatorIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_VARIANCE_SAMPLE_CREATOR_ID_DESC', - MultiSigProposalsByCreatorIdVarianceSampleDatetimeAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_VARIANCE_SAMPLE_DATETIME_ASC', - MultiSigProposalsByCreatorIdVarianceSampleDatetimeDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_VARIANCE_SAMPLE_DATETIME_DESC', - MultiSigProposalsByCreatorIdVarianceSampleEventIdxAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', - MultiSigProposalsByCreatorIdVarianceSampleEventIdxDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', - MultiSigProposalsByCreatorIdVarianceSampleExtrinsicIdxAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_VARIANCE_SAMPLE_EXTRINSIC_IDX_ASC', - MultiSigProposalsByCreatorIdVarianceSampleExtrinsicIdxDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_VARIANCE_SAMPLE_EXTRINSIC_IDX_DESC', - MultiSigProposalsByCreatorIdVarianceSampleIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_VARIANCE_SAMPLE_ID_ASC', - MultiSigProposalsByCreatorIdVarianceSampleIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_VARIANCE_SAMPLE_ID_DESC', - MultiSigProposalsByCreatorIdVarianceSampleMultisigIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_VARIANCE_SAMPLE_MULTISIG_ID_ASC', - MultiSigProposalsByCreatorIdVarianceSampleMultisigIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_VARIANCE_SAMPLE_MULTISIG_ID_DESC', - MultiSigProposalsByCreatorIdVarianceSampleProposalIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_VARIANCE_SAMPLE_PROPOSAL_ID_ASC', - MultiSigProposalsByCreatorIdVarianceSampleProposalIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_VARIANCE_SAMPLE_PROPOSAL_ID_DESC', - MultiSigProposalsByCreatorIdVarianceSampleRejectionCountAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_VARIANCE_SAMPLE_REJECTION_COUNT_ASC', - MultiSigProposalsByCreatorIdVarianceSampleRejectionCountDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_VARIANCE_SAMPLE_REJECTION_COUNT_DESC', - MultiSigProposalsByCreatorIdVarianceSampleStatusAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_VARIANCE_SAMPLE_STATUS_ASC', - MultiSigProposalsByCreatorIdVarianceSampleStatusDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_VARIANCE_SAMPLE_STATUS_DESC', - MultiSigProposalsByCreatorIdVarianceSampleUpdatedAtAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - MultiSigProposalsByCreatorIdVarianceSampleUpdatedAtDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - MultiSigProposalsByCreatorIdVarianceSampleUpdatedBlockIdAsc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - MultiSigProposalsByCreatorIdVarianceSampleUpdatedBlockIdDesc = 'MULTI_SIG_PROPOSALS_BY_CREATOR_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - Natural = 'NATURAL', - ParentChildIdentitiesAverageChildIdAsc = 'PARENT_CHILD_IDENTITIES_AVERAGE_CHILD_ID_ASC', - ParentChildIdentitiesAverageChildIdDesc = 'PARENT_CHILD_IDENTITIES_AVERAGE_CHILD_ID_DESC', - ParentChildIdentitiesAverageCreatedAtAsc = 'PARENT_CHILD_IDENTITIES_AVERAGE_CREATED_AT_ASC', - ParentChildIdentitiesAverageCreatedAtDesc = 'PARENT_CHILD_IDENTITIES_AVERAGE_CREATED_AT_DESC', - ParentChildIdentitiesAverageCreatedBlockIdAsc = 'PARENT_CHILD_IDENTITIES_AVERAGE_CREATED_BLOCK_ID_ASC', - ParentChildIdentitiesAverageCreatedBlockIdDesc = 'PARENT_CHILD_IDENTITIES_AVERAGE_CREATED_BLOCK_ID_DESC', - ParentChildIdentitiesAverageIdAsc = 'PARENT_CHILD_IDENTITIES_AVERAGE_ID_ASC', - ParentChildIdentitiesAverageIdDesc = 'PARENT_CHILD_IDENTITIES_AVERAGE_ID_DESC', - ParentChildIdentitiesAverageParentIdAsc = 'PARENT_CHILD_IDENTITIES_AVERAGE_PARENT_ID_ASC', - ParentChildIdentitiesAverageParentIdDesc = 'PARENT_CHILD_IDENTITIES_AVERAGE_PARENT_ID_DESC', - ParentChildIdentitiesAverageUpdatedAtAsc = 'PARENT_CHILD_IDENTITIES_AVERAGE_UPDATED_AT_ASC', - ParentChildIdentitiesAverageUpdatedAtDesc = 'PARENT_CHILD_IDENTITIES_AVERAGE_UPDATED_AT_DESC', - ParentChildIdentitiesAverageUpdatedBlockIdAsc = 'PARENT_CHILD_IDENTITIES_AVERAGE_UPDATED_BLOCK_ID_ASC', - ParentChildIdentitiesAverageUpdatedBlockIdDesc = 'PARENT_CHILD_IDENTITIES_AVERAGE_UPDATED_BLOCK_ID_DESC', - ParentChildIdentitiesCountAsc = 'PARENT_CHILD_IDENTITIES_COUNT_ASC', - ParentChildIdentitiesCountDesc = 'PARENT_CHILD_IDENTITIES_COUNT_DESC', - ParentChildIdentitiesDistinctCountChildIdAsc = 'PARENT_CHILD_IDENTITIES_DISTINCT_COUNT_CHILD_ID_ASC', - ParentChildIdentitiesDistinctCountChildIdDesc = 'PARENT_CHILD_IDENTITIES_DISTINCT_COUNT_CHILD_ID_DESC', - ParentChildIdentitiesDistinctCountCreatedAtAsc = 'PARENT_CHILD_IDENTITIES_DISTINCT_COUNT_CREATED_AT_ASC', - ParentChildIdentitiesDistinctCountCreatedAtDesc = 'PARENT_CHILD_IDENTITIES_DISTINCT_COUNT_CREATED_AT_DESC', - ParentChildIdentitiesDistinctCountCreatedBlockIdAsc = 'PARENT_CHILD_IDENTITIES_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - ParentChildIdentitiesDistinctCountCreatedBlockIdDesc = 'PARENT_CHILD_IDENTITIES_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - ParentChildIdentitiesDistinctCountIdAsc = 'PARENT_CHILD_IDENTITIES_DISTINCT_COUNT_ID_ASC', - ParentChildIdentitiesDistinctCountIdDesc = 'PARENT_CHILD_IDENTITIES_DISTINCT_COUNT_ID_DESC', - ParentChildIdentitiesDistinctCountParentIdAsc = 'PARENT_CHILD_IDENTITIES_DISTINCT_COUNT_PARENT_ID_ASC', - ParentChildIdentitiesDistinctCountParentIdDesc = 'PARENT_CHILD_IDENTITIES_DISTINCT_COUNT_PARENT_ID_DESC', - ParentChildIdentitiesDistinctCountUpdatedAtAsc = 'PARENT_CHILD_IDENTITIES_DISTINCT_COUNT_UPDATED_AT_ASC', - ParentChildIdentitiesDistinctCountUpdatedAtDesc = 'PARENT_CHILD_IDENTITIES_DISTINCT_COUNT_UPDATED_AT_DESC', - ParentChildIdentitiesDistinctCountUpdatedBlockIdAsc = 'PARENT_CHILD_IDENTITIES_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - ParentChildIdentitiesDistinctCountUpdatedBlockIdDesc = 'PARENT_CHILD_IDENTITIES_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - ParentChildIdentitiesMaxChildIdAsc = 'PARENT_CHILD_IDENTITIES_MAX_CHILD_ID_ASC', - ParentChildIdentitiesMaxChildIdDesc = 'PARENT_CHILD_IDENTITIES_MAX_CHILD_ID_DESC', - ParentChildIdentitiesMaxCreatedAtAsc = 'PARENT_CHILD_IDENTITIES_MAX_CREATED_AT_ASC', - ParentChildIdentitiesMaxCreatedAtDesc = 'PARENT_CHILD_IDENTITIES_MAX_CREATED_AT_DESC', - ParentChildIdentitiesMaxCreatedBlockIdAsc = 'PARENT_CHILD_IDENTITIES_MAX_CREATED_BLOCK_ID_ASC', - ParentChildIdentitiesMaxCreatedBlockIdDesc = 'PARENT_CHILD_IDENTITIES_MAX_CREATED_BLOCK_ID_DESC', - ParentChildIdentitiesMaxIdAsc = 'PARENT_CHILD_IDENTITIES_MAX_ID_ASC', - ParentChildIdentitiesMaxIdDesc = 'PARENT_CHILD_IDENTITIES_MAX_ID_DESC', - ParentChildIdentitiesMaxParentIdAsc = 'PARENT_CHILD_IDENTITIES_MAX_PARENT_ID_ASC', - ParentChildIdentitiesMaxParentIdDesc = 'PARENT_CHILD_IDENTITIES_MAX_PARENT_ID_DESC', - ParentChildIdentitiesMaxUpdatedAtAsc = 'PARENT_CHILD_IDENTITIES_MAX_UPDATED_AT_ASC', - ParentChildIdentitiesMaxUpdatedAtDesc = 'PARENT_CHILD_IDENTITIES_MAX_UPDATED_AT_DESC', - ParentChildIdentitiesMaxUpdatedBlockIdAsc = 'PARENT_CHILD_IDENTITIES_MAX_UPDATED_BLOCK_ID_ASC', - ParentChildIdentitiesMaxUpdatedBlockIdDesc = 'PARENT_CHILD_IDENTITIES_MAX_UPDATED_BLOCK_ID_DESC', - ParentChildIdentitiesMinChildIdAsc = 'PARENT_CHILD_IDENTITIES_MIN_CHILD_ID_ASC', - ParentChildIdentitiesMinChildIdDesc = 'PARENT_CHILD_IDENTITIES_MIN_CHILD_ID_DESC', - ParentChildIdentitiesMinCreatedAtAsc = 'PARENT_CHILD_IDENTITIES_MIN_CREATED_AT_ASC', - ParentChildIdentitiesMinCreatedAtDesc = 'PARENT_CHILD_IDENTITIES_MIN_CREATED_AT_DESC', - ParentChildIdentitiesMinCreatedBlockIdAsc = 'PARENT_CHILD_IDENTITIES_MIN_CREATED_BLOCK_ID_ASC', - ParentChildIdentitiesMinCreatedBlockIdDesc = 'PARENT_CHILD_IDENTITIES_MIN_CREATED_BLOCK_ID_DESC', - ParentChildIdentitiesMinIdAsc = 'PARENT_CHILD_IDENTITIES_MIN_ID_ASC', - ParentChildIdentitiesMinIdDesc = 'PARENT_CHILD_IDENTITIES_MIN_ID_DESC', - ParentChildIdentitiesMinParentIdAsc = 'PARENT_CHILD_IDENTITIES_MIN_PARENT_ID_ASC', - ParentChildIdentitiesMinParentIdDesc = 'PARENT_CHILD_IDENTITIES_MIN_PARENT_ID_DESC', - ParentChildIdentitiesMinUpdatedAtAsc = 'PARENT_CHILD_IDENTITIES_MIN_UPDATED_AT_ASC', - ParentChildIdentitiesMinUpdatedAtDesc = 'PARENT_CHILD_IDENTITIES_MIN_UPDATED_AT_DESC', - ParentChildIdentitiesMinUpdatedBlockIdAsc = 'PARENT_CHILD_IDENTITIES_MIN_UPDATED_BLOCK_ID_ASC', - ParentChildIdentitiesMinUpdatedBlockIdDesc = 'PARENT_CHILD_IDENTITIES_MIN_UPDATED_BLOCK_ID_DESC', - ParentChildIdentitiesStddevPopulationChildIdAsc = 'PARENT_CHILD_IDENTITIES_STDDEV_POPULATION_CHILD_ID_ASC', - ParentChildIdentitiesStddevPopulationChildIdDesc = 'PARENT_CHILD_IDENTITIES_STDDEV_POPULATION_CHILD_ID_DESC', - ParentChildIdentitiesStddevPopulationCreatedAtAsc = 'PARENT_CHILD_IDENTITIES_STDDEV_POPULATION_CREATED_AT_ASC', - ParentChildIdentitiesStddevPopulationCreatedAtDesc = 'PARENT_CHILD_IDENTITIES_STDDEV_POPULATION_CREATED_AT_DESC', - ParentChildIdentitiesStddevPopulationCreatedBlockIdAsc = 'PARENT_CHILD_IDENTITIES_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - ParentChildIdentitiesStddevPopulationCreatedBlockIdDesc = 'PARENT_CHILD_IDENTITIES_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - ParentChildIdentitiesStddevPopulationIdAsc = 'PARENT_CHILD_IDENTITIES_STDDEV_POPULATION_ID_ASC', - ParentChildIdentitiesStddevPopulationIdDesc = 'PARENT_CHILD_IDENTITIES_STDDEV_POPULATION_ID_DESC', - ParentChildIdentitiesStddevPopulationParentIdAsc = 'PARENT_CHILD_IDENTITIES_STDDEV_POPULATION_PARENT_ID_ASC', - ParentChildIdentitiesStddevPopulationParentIdDesc = 'PARENT_CHILD_IDENTITIES_STDDEV_POPULATION_PARENT_ID_DESC', - ParentChildIdentitiesStddevPopulationUpdatedAtAsc = 'PARENT_CHILD_IDENTITIES_STDDEV_POPULATION_UPDATED_AT_ASC', - ParentChildIdentitiesStddevPopulationUpdatedAtDesc = 'PARENT_CHILD_IDENTITIES_STDDEV_POPULATION_UPDATED_AT_DESC', - ParentChildIdentitiesStddevPopulationUpdatedBlockIdAsc = 'PARENT_CHILD_IDENTITIES_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - ParentChildIdentitiesStddevPopulationUpdatedBlockIdDesc = 'PARENT_CHILD_IDENTITIES_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - ParentChildIdentitiesStddevSampleChildIdAsc = 'PARENT_CHILD_IDENTITIES_STDDEV_SAMPLE_CHILD_ID_ASC', - ParentChildIdentitiesStddevSampleChildIdDesc = 'PARENT_CHILD_IDENTITIES_STDDEV_SAMPLE_CHILD_ID_DESC', - ParentChildIdentitiesStddevSampleCreatedAtAsc = 'PARENT_CHILD_IDENTITIES_STDDEV_SAMPLE_CREATED_AT_ASC', - ParentChildIdentitiesStddevSampleCreatedAtDesc = 'PARENT_CHILD_IDENTITIES_STDDEV_SAMPLE_CREATED_AT_DESC', - ParentChildIdentitiesStddevSampleCreatedBlockIdAsc = 'PARENT_CHILD_IDENTITIES_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - ParentChildIdentitiesStddevSampleCreatedBlockIdDesc = 'PARENT_CHILD_IDENTITIES_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - ParentChildIdentitiesStddevSampleIdAsc = 'PARENT_CHILD_IDENTITIES_STDDEV_SAMPLE_ID_ASC', - ParentChildIdentitiesStddevSampleIdDesc = 'PARENT_CHILD_IDENTITIES_STDDEV_SAMPLE_ID_DESC', - ParentChildIdentitiesStddevSampleParentIdAsc = 'PARENT_CHILD_IDENTITIES_STDDEV_SAMPLE_PARENT_ID_ASC', - ParentChildIdentitiesStddevSampleParentIdDesc = 'PARENT_CHILD_IDENTITIES_STDDEV_SAMPLE_PARENT_ID_DESC', - ParentChildIdentitiesStddevSampleUpdatedAtAsc = 'PARENT_CHILD_IDENTITIES_STDDEV_SAMPLE_UPDATED_AT_ASC', - ParentChildIdentitiesStddevSampleUpdatedAtDesc = 'PARENT_CHILD_IDENTITIES_STDDEV_SAMPLE_UPDATED_AT_DESC', - ParentChildIdentitiesStddevSampleUpdatedBlockIdAsc = 'PARENT_CHILD_IDENTITIES_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - ParentChildIdentitiesStddevSampleUpdatedBlockIdDesc = 'PARENT_CHILD_IDENTITIES_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - ParentChildIdentitiesSumChildIdAsc = 'PARENT_CHILD_IDENTITIES_SUM_CHILD_ID_ASC', - ParentChildIdentitiesSumChildIdDesc = 'PARENT_CHILD_IDENTITIES_SUM_CHILD_ID_DESC', - ParentChildIdentitiesSumCreatedAtAsc = 'PARENT_CHILD_IDENTITIES_SUM_CREATED_AT_ASC', - ParentChildIdentitiesSumCreatedAtDesc = 'PARENT_CHILD_IDENTITIES_SUM_CREATED_AT_DESC', - ParentChildIdentitiesSumCreatedBlockIdAsc = 'PARENT_CHILD_IDENTITIES_SUM_CREATED_BLOCK_ID_ASC', - ParentChildIdentitiesSumCreatedBlockIdDesc = 'PARENT_CHILD_IDENTITIES_SUM_CREATED_BLOCK_ID_DESC', - ParentChildIdentitiesSumIdAsc = 'PARENT_CHILD_IDENTITIES_SUM_ID_ASC', - ParentChildIdentitiesSumIdDesc = 'PARENT_CHILD_IDENTITIES_SUM_ID_DESC', - ParentChildIdentitiesSumParentIdAsc = 'PARENT_CHILD_IDENTITIES_SUM_PARENT_ID_ASC', - ParentChildIdentitiesSumParentIdDesc = 'PARENT_CHILD_IDENTITIES_SUM_PARENT_ID_DESC', - ParentChildIdentitiesSumUpdatedAtAsc = 'PARENT_CHILD_IDENTITIES_SUM_UPDATED_AT_ASC', - ParentChildIdentitiesSumUpdatedAtDesc = 'PARENT_CHILD_IDENTITIES_SUM_UPDATED_AT_DESC', - ParentChildIdentitiesSumUpdatedBlockIdAsc = 'PARENT_CHILD_IDENTITIES_SUM_UPDATED_BLOCK_ID_ASC', - ParentChildIdentitiesSumUpdatedBlockIdDesc = 'PARENT_CHILD_IDENTITIES_SUM_UPDATED_BLOCK_ID_DESC', - ParentChildIdentitiesVariancePopulationChildIdAsc = 'PARENT_CHILD_IDENTITIES_VARIANCE_POPULATION_CHILD_ID_ASC', - ParentChildIdentitiesVariancePopulationChildIdDesc = 'PARENT_CHILD_IDENTITIES_VARIANCE_POPULATION_CHILD_ID_DESC', - ParentChildIdentitiesVariancePopulationCreatedAtAsc = 'PARENT_CHILD_IDENTITIES_VARIANCE_POPULATION_CREATED_AT_ASC', - ParentChildIdentitiesVariancePopulationCreatedAtDesc = 'PARENT_CHILD_IDENTITIES_VARIANCE_POPULATION_CREATED_AT_DESC', - ParentChildIdentitiesVariancePopulationCreatedBlockIdAsc = 'PARENT_CHILD_IDENTITIES_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - ParentChildIdentitiesVariancePopulationCreatedBlockIdDesc = 'PARENT_CHILD_IDENTITIES_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - ParentChildIdentitiesVariancePopulationIdAsc = 'PARENT_CHILD_IDENTITIES_VARIANCE_POPULATION_ID_ASC', - ParentChildIdentitiesVariancePopulationIdDesc = 'PARENT_CHILD_IDENTITIES_VARIANCE_POPULATION_ID_DESC', - ParentChildIdentitiesVariancePopulationParentIdAsc = 'PARENT_CHILD_IDENTITIES_VARIANCE_POPULATION_PARENT_ID_ASC', - ParentChildIdentitiesVariancePopulationParentIdDesc = 'PARENT_CHILD_IDENTITIES_VARIANCE_POPULATION_PARENT_ID_DESC', - ParentChildIdentitiesVariancePopulationUpdatedAtAsc = 'PARENT_CHILD_IDENTITIES_VARIANCE_POPULATION_UPDATED_AT_ASC', - ParentChildIdentitiesVariancePopulationUpdatedAtDesc = 'PARENT_CHILD_IDENTITIES_VARIANCE_POPULATION_UPDATED_AT_DESC', - ParentChildIdentitiesVariancePopulationUpdatedBlockIdAsc = 'PARENT_CHILD_IDENTITIES_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - ParentChildIdentitiesVariancePopulationUpdatedBlockIdDesc = 'PARENT_CHILD_IDENTITIES_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - ParentChildIdentitiesVarianceSampleChildIdAsc = 'PARENT_CHILD_IDENTITIES_VARIANCE_SAMPLE_CHILD_ID_ASC', - ParentChildIdentitiesVarianceSampleChildIdDesc = 'PARENT_CHILD_IDENTITIES_VARIANCE_SAMPLE_CHILD_ID_DESC', - ParentChildIdentitiesVarianceSampleCreatedAtAsc = 'PARENT_CHILD_IDENTITIES_VARIANCE_SAMPLE_CREATED_AT_ASC', - ParentChildIdentitiesVarianceSampleCreatedAtDesc = 'PARENT_CHILD_IDENTITIES_VARIANCE_SAMPLE_CREATED_AT_DESC', - ParentChildIdentitiesVarianceSampleCreatedBlockIdAsc = 'PARENT_CHILD_IDENTITIES_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - ParentChildIdentitiesVarianceSampleCreatedBlockIdDesc = 'PARENT_CHILD_IDENTITIES_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - ParentChildIdentitiesVarianceSampleIdAsc = 'PARENT_CHILD_IDENTITIES_VARIANCE_SAMPLE_ID_ASC', - ParentChildIdentitiesVarianceSampleIdDesc = 'PARENT_CHILD_IDENTITIES_VARIANCE_SAMPLE_ID_DESC', - ParentChildIdentitiesVarianceSampleParentIdAsc = 'PARENT_CHILD_IDENTITIES_VARIANCE_SAMPLE_PARENT_ID_ASC', - ParentChildIdentitiesVarianceSampleParentIdDesc = 'PARENT_CHILD_IDENTITIES_VARIANCE_SAMPLE_PARENT_ID_DESC', - ParentChildIdentitiesVarianceSampleUpdatedAtAsc = 'PARENT_CHILD_IDENTITIES_VARIANCE_SAMPLE_UPDATED_AT_ASC', - ParentChildIdentitiesVarianceSampleUpdatedAtDesc = 'PARENT_CHILD_IDENTITIES_VARIANCE_SAMPLE_UPDATED_AT_DESC', - ParentChildIdentitiesVarianceSampleUpdatedBlockIdAsc = 'PARENT_CHILD_IDENTITIES_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - ParentChildIdentitiesVarianceSampleUpdatedBlockIdDesc = 'PARENT_CHILD_IDENTITIES_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - PortfoliosAverageCreatedAtAsc = 'PORTFOLIOS_AVERAGE_CREATED_AT_ASC', - PortfoliosAverageCreatedAtDesc = 'PORTFOLIOS_AVERAGE_CREATED_AT_DESC', - PortfoliosAverageCreatedBlockIdAsc = 'PORTFOLIOS_AVERAGE_CREATED_BLOCK_ID_ASC', - PortfoliosAverageCreatedBlockIdDesc = 'PORTFOLIOS_AVERAGE_CREATED_BLOCK_ID_DESC', - PortfoliosAverageCustodianIdAsc = 'PORTFOLIOS_AVERAGE_CUSTODIAN_ID_ASC', - PortfoliosAverageCustodianIdDesc = 'PORTFOLIOS_AVERAGE_CUSTODIAN_ID_DESC', - PortfoliosAverageDeletedAtAsc = 'PORTFOLIOS_AVERAGE_DELETED_AT_ASC', - PortfoliosAverageDeletedAtDesc = 'PORTFOLIOS_AVERAGE_DELETED_AT_DESC', - PortfoliosAverageEventIdxAsc = 'PORTFOLIOS_AVERAGE_EVENT_IDX_ASC', - PortfoliosAverageEventIdxDesc = 'PORTFOLIOS_AVERAGE_EVENT_IDX_DESC', - PortfoliosAverageIdentityIdAsc = 'PORTFOLIOS_AVERAGE_IDENTITY_ID_ASC', - PortfoliosAverageIdentityIdDesc = 'PORTFOLIOS_AVERAGE_IDENTITY_ID_DESC', - PortfoliosAverageIdAsc = 'PORTFOLIOS_AVERAGE_ID_ASC', - PortfoliosAverageIdDesc = 'PORTFOLIOS_AVERAGE_ID_DESC', - PortfoliosAverageNameAsc = 'PORTFOLIOS_AVERAGE_NAME_ASC', - PortfoliosAverageNameDesc = 'PORTFOLIOS_AVERAGE_NAME_DESC', - PortfoliosAverageNumberAsc = 'PORTFOLIOS_AVERAGE_NUMBER_ASC', - PortfoliosAverageNumberDesc = 'PORTFOLIOS_AVERAGE_NUMBER_DESC', - PortfoliosAverageUpdatedAtAsc = 'PORTFOLIOS_AVERAGE_UPDATED_AT_ASC', - PortfoliosAverageUpdatedAtDesc = 'PORTFOLIOS_AVERAGE_UPDATED_AT_DESC', - PortfoliosAverageUpdatedBlockIdAsc = 'PORTFOLIOS_AVERAGE_UPDATED_BLOCK_ID_ASC', - PortfoliosAverageUpdatedBlockIdDesc = 'PORTFOLIOS_AVERAGE_UPDATED_BLOCK_ID_DESC', - PortfoliosByCustodianIdAverageCreatedAtAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_AVERAGE_CREATED_AT_ASC', - PortfoliosByCustodianIdAverageCreatedAtDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_AVERAGE_CREATED_AT_DESC', - PortfoliosByCustodianIdAverageCreatedBlockIdAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - PortfoliosByCustodianIdAverageCreatedBlockIdDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - PortfoliosByCustodianIdAverageCustodianIdAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_AVERAGE_CUSTODIAN_ID_ASC', - PortfoliosByCustodianIdAverageCustodianIdDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_AVERAGE_CUSTODIAN_ID_DESC', - PortfoliosByCustodianIdAverageDeletedAtAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_AVERAGE_DELETED_AT_ASC', - PortfoliosByCustodianIdAverageDeletedAtDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_AVERAGE_DELETED_AT_DESC', - PortfoliosByCustodianIdAverageEventIdxAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_AVERAGE_EVENT_IDX_ASC', - PortfoliosByCustodianIdAverageEventIdxDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_AVERAGE_EVENT_IDX_DESC', - PortfoliosByCustodianIdAverageIdentityIdAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_AVERAGE_IDENTITY_ID_ASC', - PortfoliosByCustodianIdAverageIdentityIdDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_AVERAGE_IDENTITY_ID_DESC', - PortfoliosByCustodianIdAverageIdAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_AVERAGE_ID_ASC', - PortfoliosByCustodianIdAverageIdDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_AVERAGE_ID_DESC', - PortfoliosByCustodianIdAverageNameAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_AVERAGE_NAME_ASC', - PortfoliosByCustodianIdAverageNameDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_AVERAGE_NAME_DESC', - PortfoliosByCustodianIdAverageNumberAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_AVERAGE_NUMBER_ASC', - PortfoliosByCustodianIdAverageNumberDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_AVERAGE_NUMBER_DESC', - PortfoliosByCustodianIdAverageUpdatedAtAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_AVERAGE_UPDATED_AT_ASC', - PortfoliosByCustodianIdAverageUpdatedAtDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_AVERAGE_UPDATED_AT_DESC', - PortfoliosByCustodianIdAverageUpdatedBlockIdAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - PortfoliosByCustodianIdAverageUpdatedBlockIdDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - PortfoliosByCustodianIdCountAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_COUNT_ASC', - PortfoliosByCustodianIdCountDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_COUNT_DESC', - PortfoliosByCustodianIdDistinctCountCreatedAtAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_DISTINCT_COUNT_CREATED_AT_ASC', - PortfoliosByCustodianIdDistinctCountCreatedAtDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_DISTINCT_COUNT_CREATED_AT_DESC', - PortfoliosByCustodianIdDistinctCountCreatedBlockIdAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - PortfoliosByCustodianIdDistinctCountCreatedBlockIdDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - PortfoliosByCustodianIdDistinctCountCustodianIdAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_DISTINCT_COUNT_CUSTODIAN_ID_ASC', - PortfoliosByCustodianIdDistinctCountCustodianIdDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_DISTINCT_COUNT_CUSTODIAN_ID_DESC', - PortfoliosByCustodianIdDistinctCountDeletedAtAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_DISTINCT_COUNT_DELETED_AT_ASC', - PortfoliosByCustodianIdDistinctCountDeletedAtDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_DISTINCT_COUNT_DELETED_AT_DESC', - PortfoliosByCustodianIdDistinctCountEventIdxAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_DISTINCT_COUNT_EVENT_IDX_ASC', - PortfoliosByCustodianIdDistinctCountEventIdxDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_DISTINCT_COUNT_EVENT_IDX_DESC', - PortfoliosByCustodianIdDistinctCountIdentityIdAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_DISTINCT_COUNT_IDENTITY_ID_ASC', - PortfoliosByCustodianIdDistinctCountIdentityIdDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_DISTINCT_COUNT_IDENTITY_ID_DESC', - PortfoliosByCustodianIdDistinctCountIdAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_DISTINCT_COUNT_ID_ASC', - PortfoliosByCustodianIdDistinctCountIdDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_DISTINCT_COUNT_ID_DESC', - PortfoliosByCustodianIdDistinctCountNameAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_DISTINCT_COUNT_NAME_ASC', - PortfoliosByCustodianIdDistinctCountNameDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_DISTINCT_COUNT_NAME_DESC', - PortfoliosByCustodianIdDistinctCountNumberAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_DISTINCT_COUNT_NUMBER_ASC', - PortfoliosByCustodianIdDistinctCountNumberDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_DISTINCT_COUNT_NUMBER_DESC', - PortfoliosByCustodianIdDistinctCountUpdatedAtAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - PortfoliosByCustodianIdDistinctCountUpdatedAtDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - PortfoliosByCustodianIdDistinctCountUpdatedBlockIdAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - PortfoliosByCustodianIdDistinctCountUpdatedBlockIdDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - PortfoliosByCustodianIdMaxCreatedAtAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_MAX_CREATED_AT_ASC', - PortfoliosByCustodianIdMaxCreatedAtDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_MAX_CREATED_AT_DESC', - PortfoliosByCustodianIdMaxCreatedBlockIdAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_MAX_CREATED_BLOCK_ID_ASC', - PortfoliosByCustodianIdMaxCreatedBlockIdDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_MAX_CREATED_BLOCK_ID_DESC', - PortfoliosByCustodianIdMaxCustodianIdAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_MAX_CUSTODIAN_ID_ASC', - PortfoliosByCustodianIdMaxCustodianIdDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_MAX_CUSTODIAN_ID_DESC', - PortfoliosByCustodianIdMaxDeletedAtAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_MAX_DELETED_AT_ASC', - PortfoliosByCustodianIdMaxDeletedAtDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_MAX_DELETED_AT_DESC', - PortfoliosByCustodianIdMaxEventIdxAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_MAX_EVENT_IDX_ASC', - PortfoliosByCustodianIdMaxEventIdxDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_MAX_EVENT_IDX_DESC', - PortfoliosByCustodianIdMaxIdentityIdAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_MAX_IDENTITY_ID_ASC', - PortfoliosByCustodianIdMaxIdentityIdDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_MAX_IDENTITY_ID_DESC', - PortfoliosByCustodianIdMaxIdAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_MAX_ID_ASC', - PortfoliosByCustodianIdMaxIdDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_MAX_ID_DESC', - PortfoliosByCustodianIdMaxNameAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_MAX_NAME_ASC', - PortfoliosByCustodianIdMaxNameDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_MAX_NAME_DESC', - PortfoliosByCustodianIdMaxNumberAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_MAX_NUMBER_ASC', - PortfoliosByCustodianIdMaxNumberDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_MAX_NUMBER_DESC', - PortfoliosByCustodianIdMaxUpdatedAtAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_MAX_UPDATED_AT_ASC', - PortfoliosByCustodianIdMaxUpdatedAtDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_MAX_UPDATED_AT_DESC', - PortfoliosByCustodianIdMaxUpdatedBlockIdAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_MAX_UPDATED_BLOCK_ID_ASC', - PortfoliosByCustodianIdMaxUpdatedBlockIdDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_MAX_UPDATED_BLOCK_ID_DESC', - PortfoliosByCustodianIdMinCreatedAtAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_MIN_CREATED_AT_ASC', - PortfoliosByCustodianIdMinCreatedAtDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_MIN_CREATED_AT_DESC', - PortfoliosByCustodianIdMinCreatedBlockIdAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_MIN_CREATED_BLOCK_ID_ASC', - PortfoliosByCustodianIdMinCreatedBlockIdDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_MIN_CREATED_BLOCK_ID_DESC', - PortfoliosByCustodianIdMinCustodianIdAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_MIN_CUSTODIAN_ID_ASC', - PortfoliosByCustodianIdMinCustodianIdDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_MIN_CUSTODIAN_ID_DESC', - PortfoliosByCustodianIdMinDeletedAtAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_MIN_DELETED_AT_ASC', - PortfoliosByCustodianIdMinDeletedAtDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_MIN_DELETED_AT_DESC', - PortfoliosByCustodianIdMinEventIdxAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_MIN_EVENT_IDX_ASC', - PortfoliosByCustodianIdMinEventIdxDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_MIN_EVENT_IDX_DESC', - PortfoliosByCustodianIdMinIdentityIdAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_MIN_IDENTITY_ID_ASC', - PortfoliosByCustodianIdMinIdentityIdDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_MIN_IDENTITY_ID_DESC', - PortfoliosByCustodianIdMinIdAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_MIN_ID_ASC', - PortfoliosByCustodianIdMinIdDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_MIN_ID_DESC', - PortfoliosByCustodianIdMinNameAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_MIN_NAME_ASC', - PortfoliosByCustodianIdMinNameDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_MIN_NAME_DESC', - PortfoliosByCustodianIdMinNumberAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_MIN_NUMBER_ASC', - PortfoliosByCustodianIdMinNumberDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_MIN_NUMBER_DESC', - PortfoliosByCustodianIdMinUpdatedAtAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_MIN_UPDATED_AT_ASC', - PortfoliosByCustodianIdMinUpdatedAtDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_MIN_UPDATED_AT_DESC', - PortfoliosByCustodianIdMinUpdatedBlockIdAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_MIN_UPDATED_BLOCK_ID_ASC', - PortfoliosByCustodianIdMinUpdatedBlockIdDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_MIN_UPDATED_BLOCK_ID_DESC', - PortfoliosByCustodianIdStddevPopulationCreatedAtAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_STDDEV_POPULATION_CREATED_AT_ASC', - PortfoliosByCustodianIdStddevPopulationCreatedAtDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_STDDEV_POPULATION_CREATED_AT_DESC', - PortfoliosByCustodianIdStddevPopulationCreatedBlockIdAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - PortfoliosByCustodianIdStddevPopulationCreatedBlockIdDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - PortfoliosByCustodianIdStddevPopulationCustodianIdAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_STDDEV_POPULATION_CUSTODIAN_ID_ASC', - PortfoliosByCustodianIdStddevPopulationCustodianIdDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_STDDEV_POPULATION_CUSTODIAN_ID_DESC', - PortfoliosByCustodianIdStddevPopulationDeletedAtAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_STDDEV_POPULATION_DELETED_AT_ASC', - PortfoliosByCustodianIdStddevPopulationDeletedAtDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_STDDEV_POPULATION_DELETED_AT_DESC', - PortfoliosByCustodianIdStddevPopulationEventIdxAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_STDDEV_POPULATION_EVENT_IDX_ASC', - PortfoliosByCustodianIdStddevPopulationEventIdxDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_STDDEV_POPULATION_EVENT_IDX_DESC', - PortfoliosByCustodianIdStddevPopulationIdentityIdAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_STDDEV_POPULATION_IDENTITY_ID_ASC', - PortfoliosByCustodianIdStddevPopulationIdentityIdDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_STDDEV_POPULATION_IDENTITY_ID_DESC', - PortfoliosByCustodianIdStddevPopulationIdAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_STDDEV_POPULATION_ID_ASC', - PortfoliosByCustodianIdStddevPopulationIdDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_STDDEV_POPULATION_ID_DESC', - PortfoliosByCustodianIdStddevPopulationNameAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_STDDEV_POPULATION_NAME_ASC', - PortfoliosByCustodianIdStddevPopulationNameDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_STDDEV_POPULATION_NAME_DESC', - PortfoliosByCustodianIdStddevPopulationNumberAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_STDDEV_POPULATION_NUMBER_ASC', - PortfoliosByCustodianIdStddevPopulationNumberDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_STDDEV_POPULATION_NUMBER_DESC', - PortfoliosByCustodianIdStddevPopulationUpdatedAtAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - PortfoliosByCustodianIdStddevPopulationUpdatedAtDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - PortfoliosByCustodianIdStddevPopulationUpdatedBlockIdAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - PortfoliosByCustodianIdStddevPopulationUpdatedBlockIdDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - PortfoliosByCustodianIdStddevSampleCreatedAtAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - PortfoliosByCustodianIdStddevSampleCreatedAtDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - PortfoliosByCustodianIdStddevSampleCreatedBlockIdAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - PortfoliosByCustodianIdStddevSampleCreatedBlockIdDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - PortfoliosByCustodianIdStddevSampleCustodianIdAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_STDDEV_SAMPLE_CUSTODIAN_ID_ASC', - PortfoliosByCustodianIdStddevSampleCustodianIdDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_STDDEV_SAMPLE_CUSTODIAN_ID_DESC', - PortfoliosByCustodianIdStddevSampleDeletedAtAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_STDDEV_SAMPLE_DELETED_AT_ASC', - PortfoliosByCustodianIdStddevSampleDeletedAtDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_STDDEV_SAMPLE_DELETED_AT_DESC', - PortfoliosByCustodianIdStddevSampleEventIdxAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', - PortfoliosByCustodianIdStddevSampleEventIdxDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', - PortfoliosByCustodianIdStddevSampleIdentityIdAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_STDDEV_SAMPLE_IDENTITY_ID_ASC', - PortfoliosByCustodianIdStddevSampleIdentityIdDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_STDDEV_SAMPLE_IDENTITY_ID_DESC', - PortfoliosByCustodianIdStddevSampleIdAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_STDDEV_SAMPLE_ID_ASC', - PortfoliosByCustodianIdStddevSampleIdDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_STDDEV_SAMPLE_ID_DESC', - PortfoliosByCustodianIdStddevSampleNameAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_STDDEV_SAMPLE_NAME_ASC', - PortfoliosByCustodianIdStddevSampleNameDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_STDDEV_SAMPLE_NAME_DESC', - PortfoliosByCustodianIdStddevSampleNumberAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_STDDEV_SAMPLE_NUMBER_ASC', - PortfoliosByCustodianIdStddevSampleNumberDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_STDDEV_SAMPLE_NUMBER_DESC', - PortfoliosByCustodianIdStddevSampleUpdatedAtAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - PortfoliosByCustodianIdStddevSampleUpdatedAtDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - PortfoliosByCustodianIdStddevSampleUpdatedBlockIdAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - PortfoliosByCustodianIdStddevSampleUpdatedBlockIdDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - PortfoliosByCustodianIdSumCreatedAtAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_SUM_CREATED_AT_ASC', - PortfoliosByCustodianIdSumCreatedAtDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_SUM_CREATED_AT_DESC', - PortfoliosByCustodianIdSumCreatedBlockIdAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_SUM_CREATED_BLOCK_ID_ASC', - PortfoliosByCustodianIdSumCreatedBlockIdDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_SUM_CREATED_BLOCK_ID_DESC', - PortfoliosByCustodianIdSumCustodianIdAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_SUM_CUSTODIAN_ID_ASC', - PortfoliosByCustodianIdSumCustodianIdDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_SUM_CUSTODIAN_ID_DESC', - PortfoliosByCustodianIdSumDeletedAtAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_SUM_DELETED_AT_ASC', - PortfoliosByCustodianIdSumDeletedAtDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_SUM_DELETED_AT_DESC', - PortfoliosByCustodianIdSumEventIdxAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_SUM_EVENT_IDX_ASC', - PortfoliosByCustodianIdSumEventIdxDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_SUM_EVENT_IDX_DESC', - PortfoliosByCustodianIdSumIdentityIdAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_SUM_IDENTITY_ID_ASC', - PortfoliosByCustodianIdSumIdentityIdDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_SUM_IDENTITY_ID_DESC', - PortfoliosByCustodianIdSumIdAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_SUM_ID_ASC', - PortfoliosByCustodianIdSumIdDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_SUM_ID_DESC', - PortfoliosByCustodianIdSumNameAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_SUM_NAME_ASC', - PortfoliosByCustodianIdSumNameDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_SUM_NAME_DESC', - PortfoliosByCustodianIdSumNumberAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_SUM_NUMBER_ASC', - PortfoliosByCustodianIdSumNumberDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_SUM_NUMBER_DESC', - PortfoliosByCustodianIdSumUpdatedAtAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_SUM_UPDATED_AT_ASC', - PortfoliosByCustodianIdSumUpdatedAtDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_SUM_UPDATED_AT_DESC', - PortfoliosByCustodianIdSumUpdatedBlockIdAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_SUM_UPDATED_BLOCK_ID_ASC', - PortfoliosByCustodianIdSumUpdatedBlockIdDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_SUM_UPDATED_BLOCK_ID_DESC', - PortfoliosByCustodianIdVariancePopulationCreatedAtAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - PortfoliosByCustodianIdVariancePopulationCreatedAtDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - PortfoliosByCustodianIdVariancePopulationCreatedBlockIdAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - PortfoliosByCustodianIdVariancePopulationCreatedBlockIdDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - PortfoliosByCustodianIdVariancePopulationCustodianIdAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_VARIANCE_POPULATION_CUSTODIAN_ID_ASC', - PortfoliosByCustodianIdVariancePopulationCustodianIdDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_VARIANCE_POPULATION_CUSTODIAN_ID_DESC', - PortfoliosByCustodianIdVariancePopulationDeletedAtAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_VARIANCE_POPULATION_DELETED_AT_ASC', - PortfoliosByCustodianIdVariancePopulationDeletedAtDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_VARIANCE_POPULATION_DELETED_AT_DESC', - PortfoliosByCustodianIdVariancePopulationEventIdxAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', - PortfoliosByCustodianIdVariancePopulationEventIdxDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', - PortfoliosByCustodianIdVariancePopulationIdentityIdAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_VARIANCE_POPULATION_IDENTITY_ID_ASC', - PortfoliosByCustodianIdVariancePopulationIdentityIdDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_VARIANCE_POPULATION_IDENTITY_ID_DESC', - PortfoliosByCustodianIdVariancePopulationIdAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_VARIANCE_POPULATION_ID_ASC', - PortfoliosByCustodianIdVariancePopulationIdDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_VARIANCE_POPULATION_ID_DESC', - PortfoliosByCustodianIdVariancePopulationNameAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_VARIANCE_POPULATION_NAME_ASC', - PortfoliosByCustodianIdVariancePopulationNameDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_VARIANCE_POPULATION_NAME_DESC', - PortfoliosByCustodianIdVariancePopulationNumberAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_VARIANCE_POPULATION_NUMBER_ASC', - PortfoliosByCustodianIdVariancePopulationNumberDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_VARIANCE_POPULATION_NUMBER_DESC', - PortfoliosByCustodianIdVariancePopulationUpdatedAtAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - PortfoliosByCustodianIdVariancePopulationUpdatedAtDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - PortfoliosByCustodianIdVariancePopulationUpdatedBlockIdAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - PortfoliosByCustodianIdVariancePopulationUpdatedBlockIdDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - PortfoliosByCustodianIdVarianceSampleCreatedAtAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - PortfoliosByCustodianIdVarianceSampleCreatedAtDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - PortfoliosByCustodianIdVarianceSampleCreatedBlockIdAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - PortfoliosByCustodianIdVarianceSampleCreatedBlockIdDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - PortfoliosByCustodianIdVarianceSampleCustodianIdAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_VARIANCE_SAMPLE_CUSTODIAN_ID_ASC', - PortfoliosByCustodianIdVarianceSampleCustodianIdDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_VARIANCE_SAMPLE_CUSTODIAN_ID_DESC', - PortfoliosByCustodianIdVarianceSampleDeletedAtAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_VARIANCE_SAMPLE_DELETED_AT_ASC', - PortfoliosByCustodianIdVarianceSampleDeletedAtDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_VARIANCE_SAMPLE_DELETED_AT_DESC', - PortfoliosByCustodianIdVarianceSampleEventIdxAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', - PortfoliosByCustodianIdVarianceSampleEventIdxDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', - PortfoliosByCustodianIdVarianceSampleIdentityIdAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_VARIANCE_SAMPLE_IDENTITY_ID_ASC', - PortfoliosByCustodianIdVarianceSampleIdentityIdDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_VARIANCE_SAMPLE_IDENTITY_ID_DESC', - PortfoliosByCustodianIdVarianceSampleIdAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_VARIANCE_SAMPLE_ID_ASC', - PortfoliosByCustodianIdVarianceSampleIdDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_VARIANCE_SAMPLE_ID_DESC', - PortfoliosByCustodianIdVarianceSampleNameAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_VARIANCE_SAMPLE_NAME_ASC', - PortfoliosByCustodianIdVarianceSampleNameDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_VARIANCE_SAMPLE_NAME_DESC', - PortfoliosByCustodianIdVarianceSampleNumberAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_VARIANCE_SAMPLE_NUMBER_ASC', - PortfoliosByCustodianIdVarianceSampleNumberDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_VARIANCE_SAMPLE_NUMBER_DESC', - PortfoliosByCustodianIdVarianceSampleUpdatedAtAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - PortfoliosByCustodianIdVarianceSampleUpdatedAtDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - PortfoliosByCustodianIdVarianceSampleUpdatedBlockIdAsc = 'PORTFOLIOS_BY_CUSTODIAN_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - PortfoliosByCustodianIdVarianceSampleUpdatedBlockIdDesc = 'PORTFOLIOS_BY_CUSTODIAN_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - PortfoliosCountAsc = 'PORTFOLIOS_COUNT_ASC', - PortfoliosCountDesc = 'PORTFOLIOS_COUNT_DESC', - PortfoliosDistinctCountCreatedAtAsc = 'PORTFOLIOS_DISTINCT_COUNT_CREATED_AT_ASC', - PortfoliosDistinctCountCreatedAtDesc = 'PORTFOLIOS_DISTINCT_COUNT_CREATED_AT_DESC', - PortfoliosDistinctCountCreatedBlockIdAsc = 'PORTFOLIOS_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - PortfoliosDistinctCountCreatedBlockIdDesc = 'PORTFOLIOS_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - PortfoliosDistinctCountCustodianIdAsc = 'PORTFOLIOS_DISTINCT_COUNT_CUSTODIAN_ID_ASC', - PortfoliosDistinctCountCustodianIdDesc = 'PORTFOLIOS_DISTINCT_COUNT_CUSTODIAN_ID_DESC', - PortfoliosDistinctCountDeletedAtAsc = 'PORTFOLIOS_DISTINCT_COUNT_DELETED_AT_ASC', - PortfoliosDistinctCountDeletedAtDesc = 'PORTFOLIOS_DISTINCT_COUNT_DELETED_AT_DESC', - PortfoliosDistinctCountEventIdxAsc = 'PORTFOLIOS_DISTINCT_COUNT_EVENT_IDX_ASC', - PortfoliosDistinctCountEventIdxDesc = 'PORTFOLIOS_DISTINCT_COUNT_EVENT_IDX_DESC', - PortfoliosDistinctCountIdentityIdAsc = 'PORTFOLIOS_DISTINCT_COUNT_IDENTITY_ID_ASC', - PortfoliosDistinctCountIdentityIdDesc = 'PORTFOLIOS_DISTINCT_COUNT_IDENTITY_ID_DESC', - PortfoliosDistinctCountIdAsc = 'PORTFOLIOS_DISTINCT_COUNT_ID_ASC', - PortfoliosDistinctCountIdDesc = 'PORTFOLIOS_DISTINCT_COUNT_ID_DESC', - PortfoliosDistinctCountNameAsc = 'PORTFOLIOS_DISTINCT_COUNT_NAME_ASC', - PortfoliosDistinctCountNameDesc = 'PORTFOLIOS_DISTINCT_COUNT_NAME_DESC', - PortfoliosDistinctCountNumberAsc = 'PORTFOLIOS_DISTINCT_COUNT_NUMBER_ASC', - PortfoliosDistinctCountNumberDesc = 'PORTFOLIOS_DISTINCT_COUNT_NUMBER_DESC', - PortfoliosDistinctCountUpdatedAtAsc = 'PORTFOLIOS_DISTINCT_COUNT_UPDATED_AT_ASC', - PortfoliosDistinctCountUpdatedAtDesc = 'PORTFOLIOS_DISTINCT_COUNT_UPDATED_AT_DESC', - PortfoliosDistinctCountUpdatedBlockIdAsc = 'PORTFOLIOS_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - PortfoliosDistinctCountUpdatedBlockIdDesc = 'PORTFOLIOS_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - PortfoliosMaxCreatedAtAsc = 'PORTFOLIOS_MAX_CREATED_AT_ASC', - PortfoliosMaxCreatedAtDesc = 'PORTFOLIOS_MAX_CREATED_AT_DESC', - PortfoliosMaxCreatedBlockIdAsc = 'PORTFOLIOS_MAX_CREATED_BLOCK_ID_ASC', - PortfoliosMaxCreatedBlockIdDesc = 'PORTFOLIOS_MAX_CREATED_BLOCK_ID_DESC', - PortfoliosMaxCustodianIdAsc = 'PORTFOLIOS_MAX_CUSTODIAN_ID_ASC', - PortfoliosMaxCustodianIdDesc = 'PORTFOLIOS_MAX_CUSTODIAN_ID_DESC', - PortfoliosMaxDeletedAtAsc = 'PORTFOLIOS_MAX_DELETED_AT_ASC', - PortfoliosMaxDeletedAtDesc = 'PORTFOLIOS_MAX_DELETED_AT_DESC', - PortfoliosMaxEventIdxAsc = 'PORTFOLIOS_MAX_EVENT_IDX_ASC', - PortfoliosMaxEventIdxDesc = 'PORTFOLIOS_MAX_EVENT_IDX_DESC', - PortfoliosMaxIdentityIdAsc = 'PORTFOLIOS_MAX_IDENTITY_ID_ASC', - PortfoliosMaxIdentityIdDesc = 'PORTFOLIOS_MAX_IDENTITY_ID_DESC', - PortfoliosMaxIdAsc = 'PORTFOLIOS_MAX_ID_ASC', - PortfoliosMaxIdDesc = 'PORTFOLIOS_MAX_ID_DESC', - PortfoliosMaxNameAsc = 'PORTFOLIOS_MAX_NAME_ASC', - PortfoliosMaxNameDesc = 'PORTFOLIOS_MAX_NAME_DESC', - PortfoliosMaxNumberAsc = 'PORTFOLIOS_MAX_NUMBER_ASC', - PortfoliosMaxNumberDesc = 'PORTFOLIOS_MAX_NUMBER_DESC', - PortfoliosMaxUpdatedAtAsc = 'PORTFOLIOS_MAX_UPDATED_AT_ASC', - PortfoliosMaxUpdatedAtDesc = 'PORTFOLIOS_MAX_UPDATED_AT_DESC', - PortfoliosMaxUpdatedBlockIdAsc = 'PORTFOLIOS_MAX_UPDATED_BLOCK_ID_ASC', - PortfoliosMaxUpdatedBlockIdDesc = 'PORTFOLIOS_MAX_UPDATED_BLOCK_ID_DESC', - PortfoliosMinCreatedAtAsc = 'PORTFOLIOS_MIN_CREATED_AT_ASC', - PortfoliosMinCreatedAtDesc = 'PORTFOLIOS_MIN_CREATED_AT_DESC', - PortfoliosMinCreatedBlockIdAsc = 'PORTFOLIOS_MIN_CREATED_BLOCK_ID_ASC', - PortfoliosMinCreatedBlockIdDesc = 'PORTFOLIOS_MIN_CREATED_BLOCK_ID_DESC', - PortfoliosMinCustodianIdAsc = 'PORTFOLIOS_MIN_CUSTODIAN_ID_ASC', - PortfoliosMinCustodianIdDesc = 'PORTFOLIOS_MIN_CUSTODIAN_ID_DESC', - PortfoliosMinDeletedAtAsc = 'PORTFOLIOS_MIN_DELETED_AT_ASC', - PortfoliosMinDeletedAtDesc = 'PORTFOLIOS_MIN_DELETED_AT_DESC', - PortfoliosMinEventIdxAsc = 'PORTFOLIOS_MIN_EVENT_IDX_ASC', - PortfoliosMinEventIdxDesc = 'PORTFOLIOS_MIN_EVENT_IDX_DESC', - PortfoliosMinIdentityIdAsc = 'PORTFOLIOS_MIN_IDENTITY_ID_ASC', - PortfoliosMinIdentityIdDesc = 'PORTFOLIOS_MIN_IDENTITY_ID_DESC', - PortfoliosMinIdAsc = 'PORTFOLIOS_MIN_ID_ASC', - PortfoliosMinIdDesc = 'PORTFOLIOS_MIN_ID_DESC', - PortfoliosMinNameAsc = 'PORTFOLIOS_MIN_NAME_ASC', - PortfoliosMinNameDesc = 'PORTFOLIOS_MIN_NAME_DESC', - PortfoliosMinNumberAsc = 'PORTFOLIOS_MIN_NUMBER_ASC', - PortfoliosMinNumberDesc = 'PORTFOLIOS_MIN_NUMBER_DESC', - PortfoliosMinUpdatedAtAsc = 'PORTFOLIOS_MIN_UPDATED_AT_ASC', - PortfoliosMinUpdatedAtDesc = 'PORTFOLIOS_MIN_UPDATED_AT_DESC', - PortfoliosMinUpdatedBlockIdAsc = 'PORTFOLIOS_MIN_UPDATED_BLOCK_ID_ASC', - PortfoliosMinUpdatedBlockIdDesc = 'PORTFOLIOS_MIN_UPDATED_BLOCK_ID_DESC', - PortfoliosStddevPopulationCreatedAtAsc = 'PORTFOLIOS_STDDEV_POPULATION_CREATED_AT_ASC', - PortfoliosStddevPopulationCreatedAtDesc = 'PORTFOLIOS_STDDEV_POPULATION_CREATED_AT_DESC', - PortfoliosStddevPopulationCreatedBlockIdAsc = 'PORTFOLIOS_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - PortfoliosStddevPopulationCreatedBlockIdDesc = 'PORTFOLIOS_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - PortfoliosStddevPopulationCustodianIdAsc = 'PORTFOLIOS_STDDEV_POPULATION_CUSTODIAN_ID_ASC', - PortfoliosStddevPopulationCustodianIdDesc = 'PORTFOLIOS_STDDEV_POPULATION_CUSTODIAN_ID_DESC', - PortfoliosStddevPopulationDeletedAtAsc = 'PORTFOLIOS_STDDEV_POPULATION_DELETED_AT_ASC', - PortfoliosStddevPopulationDeletedAtDesc = 'PORTFOLIOS_STDDEV_POPULATION_DELETED_AT_DESC', - PortfoliosStddevPopulationEventIdxAsc = 'PORTFOLIOS_STDDEV_POPULATION_EVENT_IDX_ASC', - PortfoliosStddevPopulationEventIdxDesc = 'PORTFOLIOS_STDDEV_POPULATION_EVENT_IDX_DESC', - PortfoliosStddevPopulationIdentityIdAsc = 'PORTFOLIOS_STDDEV_POPULATION_IDENTITY_ID_ASC', - PortfoliosStddevPopulationIdentityIdDesc = 'PORTFOLIOS_STDDEV_POPULATION_IDENTITY_ID_DESC', - PortfoliosStddevPopulationIdAsc = 'PORTFOLIOS_STDDEV_POPULATION_ID_ASC', - PortfoliosStddevPopulationIdDesc = 'PORTFOLIOS_STDDEV_POPULATION_ID_DESC', - PortfoliosStddevPopulationNameAsc = 'PORTFOLIOS_STDDEV_POPULATION_NAME_ASC', - PortfoliosStddevPopulationNameDesc = 'PORTFOLIOS_STDDEV_POPULATION_NAME_DESC', - PortfoliosStddevPopulationNumberAsc = 'PORTFOLIOS_STDDEV_POPULATION_NUMBER_ASC', - PortfoliosStddevPopulationNumberDesc = 'PORTFOLIOS_STDDEV_POPULATION_NUMBER_DESC', - PortfoliosStddevPopulationUpdatedAtAsc = 'PORTFOLIOS_STDDEV_POPULATION_UPDATED_AT_ASC', - PortfoliosStddevPopulationUpdatedAtDesc = 'PORTFOLIOS_STDDEV_POPULATION_UPDATED_AT_DESC', - PortfoliosStddevPopulationUpdatedBlockIdAsc = 'PORTFOLIOS_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - PortfoliosStddevPopulationUpdatedBlockIdDesc = 'PORTFOLIOS_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - PortfoliosStddevSampleCreatedAtAsc = 'PORTFOLIOS_STDDEV_SAMPLE_CREATED_AT_ASC', - PortfoliosStddevSampleCreatedAtDesc = 'PORTFOLIOS_STDDEV_SAMPLE_CREATED_AT_DESC', - PortfoliosStddevSampleCreatedBlockIdAsc = 'PORTFOLIOS_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - PortfoliosStddevSampleCreatedBlockIdDesc = 'PORTFOLIOS_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - PortfoliosStddevSampleCustodianIdAsc = 'PORTFOLIOS_STDDEV_SAMPLE_CUSTODIAN_ID_ASC', - PortfoliosStddevSampleCustodianIdDesc = 'PORTFOLIOS_STDDEV_SAMPLE_CUSTODIAN_ID_DESC', - PortfoliosStddevSampleDeletedAtAsc = 'PORTFOLIOS_STDDEV_SAMPLE_DELETED_AT_ASC', - PortfoliosStddevSampleDeletedAtDesc = 'PORTFOLIOS_STDDEV_SAMPLE_DELETED_AT_DESC', - PortfoliosStddevSampleEventIdxAsc = 'PORTFOLIOS_STDDEV_SAMPLE_EVENT_IDX_ASC', - PortfoliosStddevSampleEventIdxDesc = 'PORTFOLIOS_STDDEV_SAMPLE_EVENT_IDX_DESC', - PortfoliosStddevSampleIdentityIdAsc = 'PORTFOLIOS_STDDEV_SAMPLE_IDENTITY_ID_ASC', - PortfoliosStddevSampleIdentityIdDesc = 'PORTFOLIOS_STDDEV_SAMPLE_IDENTITY_ID_DESC', - PortfoliosStddevSampleIdAsc = 'PORTFOLIOS_STDDEV_SAMPLE_ID_ASC', - PortfoliosStddevSampleIdDesc = 'PORTFOLIOS_STDDEV_SAMPLE_ID_DESC', - PortfoliosStddevSampleNameAsc = 'PORTFOLIOS_STDDEV_SAMPLE_NAME_ASC', - PortfoliosStddevSampleNameDesc = 'PORTFOLIOS_STDDEV_SAMPLE_NAME_DESC', - PortfoliosStddevSampleNumberAsc = 'PORTFOLIOS_STDDEV_SAMPLE_NUMBER_ASC', - PortfoliosStddevSampleNumberDesc = 'PORTFOLIOS_STDDEV_SAMPLE_NUMBER_DESC', - PortfoliosStddevSampleUpdatedAtAsc = 'PORTFOLIOS_STDDEV_SAMPLE_UPDATED_AT_ASC', - PortfoliosStddevSampleUpdatedAtDesc = 'PORTFOLIOS_STDDEV_SAMPLE_UPDATED_AT_DESC', - PortfoliosStddevSampleUpdatedBlockIdAsc = 'PORTFOLIOS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - PortfoliosStddevSampleUpdatedBlockIdDesc = 'PORTFOLIOS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - PortfoliosSumCreatedAtAsc = 'PORTFOLIOS_SUM_CREATED_AT_ASC', - PortfoliosSumCreatedAtDesc = 'PORTFOLIOS_SUM_CREATED_AT_DESC', - PortfoliosSumCreatedBlockIdAsc = 'PORTFOLIOS_SUM_CREATED_BLOCK_ID_ASC', - PortfoliosSumCreatedBlockIdDesc = 'PORTFOLIOS_SUM_CREATED_BLOCK_ID_DESC', - PortfoliosSumCustodianIdAsc = 'PORTFOLIOS_SUM_CUSTODIAN_ID_ASC', - PortfoliosSumCustodianIdDesc = 'PORTFOLIOS_SUM_CUSTODIAN_ID_DESC', - PortfoliosSumDeletedAtAsc = 'PORTFOLIOS_SUM_DELETED_AT_ASC', - PortfoliosSumDeletedAtDesc = 'PORTFOLIOS_SUM_DELETED_AT_DESC', - PortfoliosSumEventIdxAsc = 'PORTFOLIOS_SUM_EVENT_IDX_ASC', - PortfoliosSumEventIdxDesc = 'PORTFOLIOS_SUM_EVENT_IDX_DESC', - PortfoliosSumIdentityIdAsc = 'PORTFOLIOS_SUM_IDENTITY_ID_ASC', - PortfoliosSumIdentityIdDesc = 'PORTFOLIOS_SUM_IDENTITY_ID_DESC', - PortfoliosSumIdAsc = 'PORTFOLIOS_SUM_ID_ASC', - PortfoliosSumIdDesc = 'PORTFOLIOS_SUM_ID_DESC', - PortfoliosSumNameAsc = 'PORTFOLIOS_SUM_NAME_ASC', - PortfoliosSumNameDesc = 'PORTFOLIOS_SUM_NAME_DESC', - PortfoliosSumNumberAsc = 'PORTFOLIOS_SUM_NUMBER_ASC', - PortfoliosSumNumberDesc = 'PORTFOLIOS_SUM_NUMBER_DESC', - PortfoliosSumUpdatedAtAsc = 'PORTFOLIOS_SUM_UPDATED_AT_ASC', - PortfoliosSumUpdatedAtDesc = 'PORTFOLIOS_SUM_UPDATED_AT_DESC', - PortfoliosSumUpdatedBlockIdAsc = 'PORTFOLIOS_SUM_UPDATED_BLOCK_ID_ASC', - PortfoliosSumUpdatedBlockIdDesc = 'PORTFOLIOS_SUM_UPDATED_BLOCK_ID_DESC', - PortfoliosVariancePopulationCreatedAtAsc = 'PORTFOLIOS_VARIANCE_POPULATION_CREATED_AT_ASC', - PortfoliosVariancePopulationCreatedAtDesc = 'PORTFOLIOS_VARIANCE_POPULATION_CREATED_AT_DESC', - PortfoliosVariancePopulationCreatedBlockIdAsc = 'PORTFOLIOS_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - PortfoliosVariancePopulationCreatedBlockIdDesc = 'PORTFOLIOS_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - PortfoliosVariancePopulationCustodianIdAsc = 'PORTFOLIOS_VARIANCE_POPULATION_CUSTODIAN_ID_ASC', - PortfoliosVariancePopulationCustodianIdDesc = 'PORTFOLIOS_VARIANCE_POPULATION_CUSTODIAN_ID_DESC', - PortfoliosVariancePopulationDeletedAtAsc = 'PORTFOLIOS_VARIANCE_POPULATION_DELETED_AT_ASC', - PortfoliosVariancePopulationDeletedAtDesc = 'PORTFOLIOS_VARIANCE_POPULATION_DELETED_AT_DESC', - PortfoliosVariancePopulationEventIdxAsc = 'PORTFOLIOS_VARIANCE_POPULATION_EVENT_IDX_ASC', - PortfoliosVariancePopulationEventIdxDesc = 'PORTFOLIOS_VARIANCE_POPULATION_EVENT_IDX_DESC', - PortfoliosVariancePopulationIdentityIdAsc = 'PORTFOLIOS_VARIANCE_POPULATION_IDENTITY_ID_ASC', - PortfoliosVariancePopulationIdentityIdDesc = 'PORTFOLIOS_VARIANCE_POPULATION_IDENTITY_ID_DESC', - PortfoliosVariancePopulationIdAsc = 'PORTFOLIOS_VARIANCE_POPULATION_ID_ASC', - PortfoliosVariancePopulationIdDesc = 'PORTFOLIOS_VARIANCE_POPULATION_ID_DESC', - PortfoliosVariancePopulationNameAsc = 'PORTFOLIOS_VARIANCE_POPULATION_NAME_ASC', - PortfoliosVariancePopulationNameDesc = 'PORTFOLIOS_VARIANCE_POPULATION_NAME_DESC', - PortfoliosVariancePopulationNumberAsc = 'PORTFOLIOS_VARIANCE_POPULATION_NUMBER_ASC', - PortfoliosVariancePopulationNumberDesc = 'PORTFOLIOS_VARIANCE_POPULATION_NUMBER_DESC', - PortfoliosVariancePopulationUpdatedAtAsc = 'PORTFOLIOS_VARIANCE_POPULATION_UPDATED_AT_ASC', - PortfoliosVariancePopulationUpdatedAtDesc = 'PORTFOLIOS_VARIANCE_POPULATION_UPDATED_AT_DESC', - PortfoliosVariancePopulationUpdatedBlockIdAsc = 'PORTFOLIOS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - PortfoliosVariancePopulationUpdatedBlockIdDesc = 'PORTFOLIOS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - PortfoliosVarianceSampleCreatedAtAsc = 'PORTFOLIOS_VARIANCE_SAMPLE_CREATED_AT_ASC', - PortfoliosVarianceSampleCreatedAtDesc = 'PORTFOLIOS_VARIANCE_SAMPLE_CREATED_AT_DESC', - PortfoliosVarianceSampleCreatedBlockIdAsc = 'PORTFOLIOS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - PortfoliosVarianceSampleCreatedBlockIdDesc = 'PORTFOLIOS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - PortfoliosVarianceSampleCustodianIdAsc = 'PORTFOLIOS_VARIANCE_SAMPLE_CUSTODIAN_ID_ASC', - PortfoliosVarianceSampleCustodianIdDesc = 'PORTFOLIOS_VARIANCE_SAMPLE_CUSTODIAN_ID_DESC', - PortfoliosVarianceSampleDeletedAtAsc = 'PORTFOLIOS_VARIANCE_SAMPLE_DELETED_AT_ASC', - PortfoliosVarianceSampleDeletedAtDesc = 'PORTFOLIOS_VARIANCE_SAMPLE_DELETED_AT_DESC', - PortfoliosVarianceSampleEventIdxAsc = 'PORTFOLIOS_VARIANCE_SAMPLE_EVENT_IDX_ASC', - PortfoliosVarianceSampleEventIdxDesc = 'PORTFOLIOS_VARIANCE_SAMPLE_EVENT_IDX_DESC', - PortfoliosVarianceSampleIdentityIdAsc = 'PORTFOLIOS_VARIANCE_SAMPLE_IDENTITY_ID_ASC', - PortfoliosVarianceSampleIdentityIdDesc = 'PORTFOLIOS_VARIANCE_SAMPLE_IDENTITY_ID_DESC', - PortfoliosVarianceSampleIdAsc = 'PORTFOLIOS_VARIANCE_SAMPLE_ID_ASC', - PortfoliosVarianceSampleIdDesc = 'PORTFOLIOS_VARIANCE_SAMPLE_ID_DESC', - PortfoliosVarianceSampleNameAsc = 'PORTFOLIOS_VARIANCE_SAMPLE_NAME_ASC', - PortfoliosVarianceSampleNameDesc = 'PORTFOLIOS_VARIANCE_SAMPLE_NAME_DESC', - PortfoliosVarianceSampleNumberAsc = 'PORTFOLIOS_VARIANCE_SAMPLE_NUMBER_ASC', - PortfoliosVarianceSampleNumberDesc = 'PORTFOLIOS_VARIANCE_SAMPLE_NUMBER_DESC', - PortfoliosVarianceSampleUpdatedAtAsc = 'PORTFOLIOS_VARIANCE_SAMPLE_UPDATED_AT_ASC', - PortfoliosVarianceSampleUpdatedAtDesc = 'PORTFOLIOS_VARIANCE_SAMPLE_UPDATED_AT_DESC', - PortfoliosVarianceSampleUpdatedBlockIdAsc = 'PORTFOLIOS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - PortfoliosVarianceSampleUpdatedBlockIdDesc = 'PORTFOLIOS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - PrimaryAccountAsc = 'PRIMARY_ACCOUNT_ASC', - PrimaryAccountDesc = 'PRIMARY_ACCOUNT_DESC', - PrimaryKeyAsc = 'PRIMARY_KEY_ASC', - PrimaryKeyDesc = 'PRIMARY_KEY_DESC', - ProposalsByOwnerIdAverageBalanceAsc = 'PROPOSALS_BY_OWNER_ID_AVERAGE_BALANCE_ASC', - ProposalsByOwnerIdAverageBalanceDesc = 'PROPOSALS_BY_OWNER_ID_AVERAGE_BALANCE_DESC', - ProposalsByOwnerIdAverageCreatedAtAsc = 'PROPOSALS_BY_OWNER_ID_AVERAGE_CREATED_AT_ASC', - ProposalsByOwnerIdAverageCreatedAtDesc = 'PROPOSALS_BY_OWNER_ID_AVERAGE_CREATED_AT_DESC', - ProposalsByOwnerIdAverageCreatedBlockIdAsc = 'PROPOSALS_BY_OWNER_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - ProposalsByOwnerIdAverageCreatedBlockIdDesc = 'PROPOSALS_BY_OWNER_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - ProposalsByOwnerIdAverageDescriptionAsc = 'PROPOSALS_BY_OWNER_ID_AVERAGE_DESCRIPTION_ASC', - ProposalsByOwnerIdAverageDescriptionDesc = 'PROPOSALS_BY_OWNER_ID_AVERAGE_DESCRIPTION_DESC', - ProposalsByOwnerIdAverageIdAsc = 'PROPOSALS_BY_OWNER_ID_AVERAGE_ID_ASC', - ProposalsByOwnerIdAverageIdDesc = 'PROPOSALS_BY_OWNER_ID_AVERAGE_ID_DESC', - ProposalsByOwnerIdAverageOwnerIdAsc = 'PROPOSALS_BY_OWNER_ID_AVERAGE_OWNER_ID_ASC', - ProposalsByOwnerIdAverageOwnerIdDesc = 'PROPOSALS_BY_OWNER_ID_AVERAGE_OWNER_ID_DESC', - ProposalsByOwnerIdAverageProposerAsc = 'PROPOSALS_BY_OWNER_ID_AVERAGE_PROPOSER_ASC', - ProposalsByOwnerIdAverageProposerDesc = 'PROPOSALS_BY_OWNER_ID_AVERAGE_PROPOSER_DESC', - ProposalsByOwnerIdAverageSnapshottedAsc = 'PROPOSALS_BY_OWNER_ID_AVERAGE_SNAPSHOTTED_ASC', - ProposalsByOwnerIdAverageSnapshottedDesc = 'PROPOSALS_BY_OWNER_ID_AVERAGE_SNAPSHOTTED_DESC', - ProposalsByOwnerIdAverageStateAsc = 'PROPOSALS_BY_OWNER_ID_AVERAGE_STATE_ASC', - ProposalsByOwnerIdAverageStateDesc = 'PROPOSALS_BY_OWNER_ID_AVERAGE_STATE_DESC', - ProposalsByOwnerIdAverageTotalAyeWeightAsc = 'PROPOSALS_BY_OWNER_ID_AVERAGE_TOTAL_AYE_WEIGHT_ASC', - ProposalsByOwnerIdAverageTotalAyeWeightDesc = 'PROPOSALS_BY_OWNER_ID_AVERAGE_TOTAL_AYE_WEIGHT_DESC', - ProposalsByOwnerIdAverageTotalNayWeightAsc = 'PROPOSALS_BY_OWNER_ID_AVERAGE_TOTAL_NAY_WEIGHT_ASC', - ProposalsByOwnerIdAverageTotalNayWeightDesc = 'PROPOSALS_BY_OWNER_ID_AVERAGE_TOTAL_NAY_WEIGHT_DESC', - ProposalsByOwnerIdAverageUpdatedAtAsc = 'PROPOSALS_BY_OWNER_ID_AVERAGE_UPDATED_AT_ASC', - ProposalsByOwnerIdAverageUpdatedAtDesc = 'PROPOSALS_BY_OWNER_ID_AVERAGE_UPDATED_AT_DESC', - ProposalsByOwnerIdAverageUpdatedBlockIdAsc = 'PROPOSALS_BY_OWNER_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - ProposalsByOwnerIdAverageUpdatedBlockIdDesc = 'PROPOSALS_BY_OWNER_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - ProposalsByOwnerIdAverageUrlAsc = 'PROPOSALS_BY_OWNER_ID_AVERAGE_URL_ASC', - ProposalsByOwnerIdAverageUrlDesc = 'PROPOSALS_BY_OWNER_ID_AVERAGE_URL_DESC', - ProposalsByOwnerIdCountAsc = 'PROPOSALS_BY_OWNER_ID_COUNT_ASC', - ProposalsByOwnerIdCountDesc = 'PROPOSALS_BY_OWNER_ID_COUNT_DESC', - ProposalsByOwnerIdDistinctCountBalanceAsc = 'PROPOSALS_BY_OWNER_ID_DISTINCT_COUNT_BALANCE_ASC', - ProposalsByOwnerIdDistinctCountBalanceDesc = 'PROPOSALS_BY_OWNER_ID_DISTINCT_COUNT_BALANCE_DESC', - ProposalsByOwnerIdDistinctCountCreatedAtAsc = 'PROPOSALS_BY_OWNER_ID_DISTINCT_COUNT_CREATED_AT_ASC', - ProposalsByOwnerIdDistinctCountCreatedAtDesc = 'PROPOSALS_BY_OWNER_ID_DISTINCT_COUNT_CREATED_AT_DESC', - ProposalsByOwnerIdDistinctCountCreatedBlockIdAsc = 'PROPOSALS_BY_OWNER_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - ProposalsByOwnerIdDistinctCountCreatedBlockIdDesc = 'PROPOSALS_BY_OWNER_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - ProposalsByOwnerIdDistinctCountDescriptionAsc = 'PROPOSALS_BY_OWNER_ID_DISTINCT_COUNT_DESCRIPTION_ASC', - ProposalsByOwnerIdDistinctCountDescriptionDesc = 'PROPOSALS_BY_OWNER_ID_DISTINCT_COUNT_DESCRIPTION_DESC', - ProposalsByOwnerIdDistinctCountIdAsc = 'PROPOSALS_BY_OWNER_ID_DISTINCT_COUNT_ID_ASC', - ProposalsByOwnerIdDistinctCountIdDesc = 'PROPOSALS_BY_OWNER_ID_DISTINCT_COUNT_ID_DESC', - ProposalsByOwnerIdDistinctCountOwnerIdAsc = 'PROPOSALS_BY_OWNER_ID_DISTINCT_COUNT_OWNER_ID_ASC', - ProposalsByOwnerIdDistinctCountOwnerIdDesc = 'PROPOSALS_BY_OWNER_ID_DISTINCT_COUNT_OWNER_ID_DESC', - ProposalsByOwnerIdDistinctCountProposerAsc = 'PROPOSALS_BY_OWNER_ID_DISTINCT_COUNT_PROPOSER_ASC', - ProposalsByOwnerIdDistinctCountProposerDesc = 'PROPOSALS_BY_OWNER_ID_DISTINCT_COUNT_PROPOSER_DESC', - ProposalsByOwnerIdDistinctCountSnapshottedAsc = 'PROPOSALS_BY_OWNER_ID_DISTINCT_COUNT_SNAPSHOTTED_ASC', - ProposalsByOwnerIdDistinctCountSnapshottedDesc = 'PROPOSALS_BY_OWNER_ID_DISTINCT_COUNT_SNAPSHOTTED_DESC', - ProposalsByOwnerIdDistinctCountStateAsc = 'PROPOSALS_BY_OWNER_ID_DISTINCT_COUNT_STATE_ASC', - ProposalsByOwnerIdDistinctCountStateDesc = 'PROPOSALS_BY_OWNER_ID_DISTINCT_COUNT_STATE_DESC', - ProposalsByOwnerIdDistinctCountTotalAyeWeightAsc = 'PROPOSALS_BY_OWNER_ID_DISTINCT_COUNT_TOTAL_AYE_WEIGHT_ASC', - ProposalsByOwnerIdDistinctCountTotalAyeWeightDesc = 'PROPOSALS_BY_OWNER_ID_DISTINCT_COUNT_TOTAL_AYE_WEIGHT_DESC', - ProposalsByOwnerIdDistinctCountTotalNayWeightAsc = 'PROPOSALS_BY_OWNER_ID_DISTINCT_COUNT_TOTAL_NAY_WEIGHT_ASC', - ProposalsByOwnerIdDistinctCountTotalNayWeightDesc = 'PROPOSALS_BY_OWNER_ID_DISTINCT_COUNT_TOTAL_NAY_WEIGHT_DESC', - ProposalsByOwnerIdDistinctCountUpdatedAtAsc = 'PROPOSALS_BY_OWNER_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - ProposalsByOwnerIdDistinctCountUpdatedAtDesc = 'PROPOSALS_BY_OWNER_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - ProposalsByOwnerIdDistinctCountUpdatedBlockIdAsc = 'PROPOSALS_BY_OWNER_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - ProposalsByOwnerIdDistinctCountUpdatedBlockIdDesc = 'PROPOSALS_BY_OWNER_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - ProposalsByOwnerIdDistinctCountUrlAsc = 'PROPOSALS_BY_OWNER_ID_DISTINCT_COUNT_URL_ASC', - ProposalsByOwnerIdDistinctCountUrlDesc = 'PROPOSALS_BY_OWNER_ID_DISTINCT_COUNT_URL_DESC', - ProposalsByOwnerIdMaxBalanceAsc = 'PROPOSALS_BY_OWNER_ID_MAX_BALANCE_ASC', - ProposalsByOwnerIdMaxBalanceDesc = 'PROPOSALS_BY_OWNER_ID_MAX_BALANCE_DESC', - ProposalsByOwnerIdMaxCreatedAtAsc = 'PROPOSALS_BY_OWNER_ID_MAX_CREATED_AT_ASC', - ProposalsByOwnerIdMaxCreatedAtDesc = 'PROPOSALS_BY_OWNER_ID_MAX_CREATED_AT_DESC', - ProposalsByOwnerIdMaxCreatedBlockIdAsc = 'PROPOSALS_BY_OWNER_ID_MAX_CREATED_BLOCK_ID_ASC', - ProposalsByOwnerIdMaxCreatedBlockIdDesc = 'PROPOSALS_BY_OWNER_ID_MAX_CREATED_BLOCK_ID_DESC', - ProposalsByOwnerIdMaxDescriptionAsc = 'PROPOSALS_BY_OWNER_ID_MAX_DESCRIPTION_ASC', - ProposalsByOwnerIdMaxDescriptionDesc = 'PROPOSALS_BY_OWNER_ID_MAX_DESCRIPTION_DESC', - ProposalsByOwnerIdMaxIdAsc = 'PROPOSALS_BY_OWNER_ID_MAX_ID_ASC', - ProposalsByOwnerIdMaxIdDesc = 'PROPOSALS_BY_OWNER_ID_MAX_ID_DESC', - ProposalsByOwnerIdMaxOwnerIdAsc = 'PROPOSALS_BY_OWNER_ID_MAX_OWNER_ID_ASC', - ProposalsByOwnerIdMaxOwnerIdDesc = 'PROPOSALS_BY_OWNER_ID_MAX_OWNER_ID_DESC', - ProposalsByOwnerIdMaxProposerAsc = 'PROPOSALS_BY_OWNER_ID_MAX_PROPOSER_ASC', - ProposalsByOwnerIdMaxProposerDesc = 'PROPOSALS_BY_OWNER_ID_MAX_PROPOSER_DESC', - ProposalsByOwnerIdMaxSnapshottedAsc = 'PROPOSALS_BY_OWNER_ID_MAX_SNAPSHOTTED_ASC', - ProposalsByOwnerIdMaxSnapshottedDesc = 'PROPOSALS_BY_OWNER_ID_MAX_SNAPSHOTTED_DESC', - ProposalsByOwnerIdMaxStateAsc = 'PROPOSALS_BY_OWNER_ID_MAX_STATE_ASC', - ProposalsByOwnerIdMaxStateDesc = 'PROPOSALS_BY_OWNER_ID_MAX_STATE_DESC', - ProposalsByOwnerIdMaxTotalAyeWeightAsc = 'PROPOSALS_BY_OWNER_ID_MAX_TOTAL_AYE_WEIGHT_ASC', - ProposalsByOwnerIdMaxTotalAyeWeightDesc = 'PROPOSALS_BY_OWNER_ID_MAX_TOTAL_AYE_WEIGHT_DESC', - ProposalsByOwnerIdMaxTotalNayWeightAsc = 'PROPOSALS_BY_OWNER_ID_MAX_TOTAL_NAY_WEIGHT_ASC', - ProposalsByOwnerIdMaxTotalNayWeightDesc = 'PROPOSALS_BY_OWNER_ID_MAX_TOTAL_NAY_WEIGHT_DESC', - ProposalsByOwnerIdMaxUpdatedAtAsc = 'PROPOSALS_BY_OWNER_ID_MAX_UPDATED_AT_ASC', - ProposalsByOwnerIdMaxUpdatedAtDesc = 'PROPOSALS_BY_OWNER_ID_MAX_UPDATED_AT_DESC', - ProposalsByOwnerIdMaxUpdatedBlockIdAsc = 'PROPOSALS_BY_OWNER_ID_MAX_UPDATED_BLOCK_ID_ASC', - ProposalsByOwnerIdMaxUpdatedBlockIdDesc = 'PROPOSALS_BY_OWNER_ID_MAX_UPDATED_BLOCK_ID_DESC', - ProposalsByOwnerIdMaxUrlAsc = 'PROPOSALS_BY_OWNER_ID_MAX_URL_ASC', - ProposalsByOwnerIdMaxUrlDesc = 'PROPOSALS_BY_OWNER_ID_MAX_URL_DESC', - ProposalsByOwnerIdMinBalanceAsc = 'PROPOSALS_BY_OWNER_ID_MIN_BALANCE_ASC', - ProposalsByOwnerIdMinBalanceDesc = 'PROPOSALS_BY_OWNER_ID_MIN_BALANCE_DESC', - ProposalsByOwnerIdMinCreatedAtAsc = 'PROPOSALS_BY_OWNER_ID_MIN_CREATED_AT_ASC', - ProposalsByOwnerIdMinCreatedAtDesc = 'PROPOSALS_BY_OWNER_ID_MIN_CREATED_AT_DESC', - ProposalsByOwnerIdMinCreatedBlockIdAsc = 'PROPOSALS_BY_OWNER_ID_MIN_CREATED_BLOCK_ID_ASC', - ProposalsByOwnerIdMinCreatedBlockIdDesc = 'PROPOSALS_BY_OWNER_ID_MIN_CREATED_BLOCK_ID_DESC', - ProposalsByOwnerIdMinDescriptionAsc = 'PROPOSALS_BY_OWNER_ID_MIN_DESCRIPTION_ASC', - ProposalsByOwnerIdMinDescriptionDesc = 'PROPOSALS_BY_OWNER_ID_MIN_DESCRIPTION_DESC', - ProposalsByOwnerIdMinIdAsc = 'PROPOSALS_BY_OWNER_ID_MIN_ID_ASC', - ProposalsByOwnerIdMinIdDesc = 'PROPOSALS_BY_OWNER_ID_MIN_ID_DESC', - ProposalsByOwnerIdMinOwnerIdAsc = 'PROPOSALS_BY_OWNER_ID_MIN_OWNER_ID_ASC', - ProposalsByOwnerIdMinOwnerIdDesc = 'PROPOSALS_BY_OWNER_ID_MIN_OWNER_ID_DESC', - ProposalsByOwnerIdMinProposerAsc = 'PROPOSALS_BY_OWNER_ID_MIN_PROPOSER_ASC', - ProposalsByOwnerIdMinProposerDesc = 'PROPOSALS_BY_OWNER_ID_MIN_PROPOSER_DESC', - ProposalsByOwnerIdMinSnapshottedAsc = 'PROPOSALS_BY_OWNER_ID_MIN_SNAPSHOTTED_ASC', - ProposalsByOwnerIdMinSnapshottedDesc = 'PROPOSALS_BY_OWNER_ID_MIN_SNAPSHOTTED_DESC', - ProposalsByOwnerIdMinStateAsc = 'PROPOSALS_BY_OWNER_ID_MIN_STATE_ASC', - ProposalsByOwnerIdMinStateDesc = 'PROPOSALS_BY_OWNER_ID_MIN_STATE_DESC', - ProposalsByOwnerIdMinTotalAyeWeightAsc = 'PROPOSALS_BY_OWNER_ID_MIN_TOTAL_AYE_WEIGHT_ASC', - ProposalsByOwnerIdMinTotalAyeWeightDesc = 'PROPOSALS_BY_OWNER_ID_MIN_TOTAL_AYE_WEIGHT_DESC', - ProposalsByOwnerIdMinTotalNayWeightAsc = 'PROPOSALS_BY_OWNER_ID_MIN_TOTAL_NAY_WEIGHT_ASC', - ProposalsByOwnerIdMinTotalNayWeightDesc = 'PROPOSALS_BY_OWNER_ID_MIN_TOTAL_NAY_WEIGHT_DESC', - ProposalsByOwnerIdMinUpdatedAtAsc = 'PROPOSALS_BY_OWNER_ID_MIN_UPDATED_AT_ASC', - ProposalsByOwnerIdMinUpdatedAtDesc = 'PROPOSALS_BY_OWNER_ID_MIN_UPDATED_AT_DESC', - ProposalsByOwnerIdMinUpdatedBlockIdAsc = 'PROPOSALS_BY_OWNER_ID_MIN_UPDATED_BLOCK_ID_ASC', - ProposalsByOwnerIdMinUpdatedBlockIdDesc = 'PROPOSALS_BY_OWNER_ID_MIN_UPDATED_BLOCK_ID_DESC', - ProposalsByOwnerIdMinUrlAsc = 'PROPOSALS_BY_OWNER_ID_MIN_URL_ASC', - ProposalsByOwnerIdMinUrlDesc = 'PROPOSALS_BY_OWNER_ID_MIN_URL_DESC', - ProposalsByOwnerIdStddevPopulationBalanceAsc = 'PROPOSALS_BY_OWNER_ID_STDDEV_POPULATION_BALANCE_ASC', - ProposalsByOwnerIdStddevPopulationBalanceDesc = 'PROPOSALS_BY_OWNER_ID_STDDEV_POPULATION_BALANCE_DESC', - ProposalsByOwnerIdStddevPopulationCreatedAtAsc = 'PROPOSALS_BY_OWNER_ID_STDDEV_POPULATION_CREATED_AT_ASC', - ProposalsByOwnerIdStddevPopulationCreatedAtDesc = 'PROPOSALS_BY_OWNER_ID_STDDEV_POPULATION_CREATED_AT_DESC', - ProposalsByOwnerIdStddevPopulationCreatedBlockIdAsc = 'PROPOSALS_BY_OWNER_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - ProposalsByOwnerIdStddevPopulationCreatedBlockIdDesc = 'PROPOSALS_BY_OWNER_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - ProposalsByOwnerIdStddevPopulationDescriptionAsc = 'PROPOSALS_BY_OWNER_ID_STDDEV_POPULATION_DESCRIPTION_ASC', - ProposalsByOwnerIdStddevPopulationDescriptionDesc = 'PROPOSALS_BY_OWNER_ID_STDDEV_POPULATION_DESCRIPTION_DESC', - ProposalsByOwnerIdStddevPopulationIdAsc = 'PROPOSALS_BY_OWNER_ID_STDDEV_POPULATION_ID_ASC', - ProposalsByOwnerIdStddevPopulationIdDesc = 'PROPOSALS_BY_OWNER_ID_STDDEV_POPULATION_ID_DESC', - ProposalsByOwnerIdStddevPopulationOwnerIdAsc = 'PROPOSALS_BY_OWNER_ID_STDDEV_POPULATION_OWNER_ID_ASC', - ProposalsByOwnerIdStddevPopulationOwnerIdDesc = 'PROPOSALS_BY_OWNER_ID_STDDEV_POPULATION_OWNER_ID_DESC', - ProposalsByOwnerIdStddevPopulationProposerAsc = 'PROPOSALS_BY_OWNER_ID_STDDEV_POPULATION_PROPOSER_ASC', - ProposalsByOwnerIdStddevPopulationProposerDesc = 'PROPOSALS_BY_OWNER_ID_STDDEV_POPULATION_PROPOSER_DESC', - ProposalsByOwnerIdStddevPopulationSnapshottedAsc = 'PROPOSALS_BY_OWNER_ID_STDDEV_POPULATION_SNAPSHOTTED_ASC', - ProposalsByOwnerIdStddevPopulationSnapshottedDesc = 'PROPOSALS_BY_OWNER_ID_STDDEV_POPULATION_SNAPSHOTTED_DESC', - ProposalsByOwnerIdStddevPopulationStateAsc = 'PROPOSALS_BY_OWNER_ID_STDDEV_POPULATION_STATE_ASC', - ProposalsByOwnerIdStddevPopulationStateDesc = 'PROPOSALS_BY_OWNER_ID_STDDEV_POPULATION_STATE_DESC', - ProposalsByOwnerIdStddevPopulationTotalAyeWeightAsc = 'PROPOSALS_BY_OWNER_ID_STDDEV_POPULATION_TOTAL_AYE_WEIGHT_ASC', - ProposalsByOwnerIdStddevPopulationTotalAyeWeightDesc = 'PROPOSALS_BY_OWNER_ID_STDDEV_POPULATION_TOTAL_AYE_WEIGHT_DESC', - ProposalsByOwnerIdStddevPopulationTotalNayWeightAsc = 'PROPOSALS_BY_OWNER_ID_STDDEV_POPULATION_TOTAL_NAY_WEIGHT_ASC', - ProposalsByOwnerIdStddevPopulationTotalNayWeightDesc = 'PROPOSALS_BY_OWNER_ID_STDDEV_POPULATION_TOTAL_NAY_WEIGHT_DESC', - ProposalsByOwnerIdStddevPopulationUpdatedAtAsc = 'PROPOSALS_BY_OWNER_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - ProposalsByOwnerIdStddevPopulationUpdatedAtDesc = 'PROPOSALS_BY_OWNER_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - ProposalsByOwnerIdStddevPopulationUpdatedBlockIdAsc = 'PROPOSALS_BY_OWNER_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - ProposalsByOwnerIdStddevPopulationUpdatedBlockIdDesc = 'PROPOSALS_BY_OWNER_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - ProposalsByOwnerIdStddevPopulationUrlAsc = 'PROPOSALS_BY_OWNER_ID_STDDEV_POPULATION_URL_ASC', - ProposalsByOwnerIdStddevPopulationUrlDesc = 'PROPOSALS_BY_OWNER_ID_STDDEV_POPULATION_URL_DESC', - ProposalsByOwnerIdStddevSampleBalanceAsc = 'PROPOSALS_BY_OWNER_ID_STDDEV_SAMPLE_BALANCE_ASC', - ProposalsByOwnerIdStddevSampleBalanceDesc = 'PROPOSALS_BY_OWNER_ID_STDDEV_SAMPLE_BALANCE_DESC', - ProposalsByOwnerIdStddevSampleCreatedAtAsc = 'PROPOSALS_BY_OWNER_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - ProposalsByOwnerIdStddevSampleCreatedAtDesc = 'PROPOSALS_BY_OWNER_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - ProposalsByOwnerIdStddevSampleCreatedBlockIdAsc = 'PROPOSALS_BY_OWNER_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - ProposalsByOwnerIdStddevSampleCreatedBlockIdDesc = 'PROPOSALS_BY_OWNER_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - ProposalsByOwnerIdStddevSampleDescriptionAsc = 'PROPOSALS_BY_OWNER_ID_STDDEV_SAMPLE_DESCRIPTION_ASC', - ProposalsByOwnerIdStddevSampleDescriptionDesc = 'PROPOSALS_BY_OWNER_ID_STDDEV_SAMPLE_DESCRIPTION_DESC', - ProposalsByOwnerIdStddevSampleIdAsc = 'PROPOSALS_BY_OWNER_ID_STDDEV_SAMPLE_ID_ASC', - ProposalsByOwnerIdStddevSampleIdDesc = 'PROPOSALS_BY_OWNER_ID_STDDEV_SAMPLE_ID_DESC', - ProposalsByOwnerIdStddevSampleOwnerIdAsc = 'PROPOSALS_BY_OWNER_ID_STDDEV_SAMPLE_OWNER_ID_ASC', - ProposalsByOwnerIdStddevSampleOwnerIdDesc = 'PROPOSALS_BY_OWNER_ID_STDDEV_SAMPLE_OWNER_ID_DESC', - ProposalsByOwnerIdStddevSampleProposerAsc = 'PROPOSALS_BY_OWNER_ID_STDDEV_SAMPLE_PROPOSER_ASC', - ProposalsByOwnerIdStddevSampleProposerDesc = 'PROPOSALS_BY_OWNER_ID_STDDEV_SAMPLE_PROPOSER_DESC', - ProposalsByOwnerIdStddevSampleSnapshottedAsc = 'PROPOSALS_BY_OWNER_ID_STDDEV_SAMPLE_SNAPSHOTTED_ASC', - ProposalsByOwnerIdStddevSampleSnapshottedDesc = 'PROPOSALS_BY_OWNER_ID_STDDEV_SAMPLE_SNAPSHOTTED_DESC', - ProposalsByOwnerIdStddevSampleStateAsc = 'PROPOSALS_BY_OWNER_ID_STDDEV_SAMPLE_STATE_ASC', - ProposalsByOwnerIdStddevSampleStateDesc = 'PROPOSALS_BY_OWNER_ID_STDDEV_SAMPLE_STATE_DESC', - ProposalsByOwnerIdStddevSampleTotalAyeWeightAsc = 'PROPOSALS_BY_OWNER_ID_STDDEV_SAMPLE_TOTAL_AYE_WEIGHT_ASC', - ProposalsByOwnerIdStddevSampleTotalAyeWeightDesc = 'PROPOSALS_BY_OWNER_ID_STDDEV_SAMPLE_TOTAL_AYE_WEIGHT_DESC', - ProposalsByOwnerIdStddevSampleTotalNayWeightAsc = 'PROPOSALS_BY_OWNER_ID_STDDEV_SAMPLE_TOTAL_NAY_WEIGHT_ASC', - ProposalsByOwnerIdStddevSampleTotalNayWeightDesc = 'PROPOSALS_BY_OWNER_ID_STDDEV_SAMPLE_TOTAL_NAY_WEIGHT_DESC', - ProposalsByOwnerIdStddevSampleUpdatedAtAsc = 'PROPOSALS_BY_OWNER_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - ProposalsByOwnerIdStddevSampleUpdatedAtDesc = 'PROPOSALS_BY_OWNER_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - ProposalsByOwnerIdStddevSampleUpdatedBlockIdAsc = 'PROPOSALS_BY_OWNER_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - ProposalsByOwnerIdStddevSampleUpdatedBlockIdDesc = 'PROPOSALS_BY_OWNER_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - ProposalsByOwnerIdStddevSampleUrlAsc = 'PROPOSALS_BY_OWNER_ID_STDDEV_SAMPLE_URL_ASC', - ProposalsByOwnerIdStddevSampleUrlDesc = 'PROPOSALS_BY_OWNER_ID_STDDEV_SAMPLE_URL_DESC', - ProposalsByOwnerIdSumBalanceAsc = 'PROPOSALS_BY_OWNER_ID_SUM_BALANCE_ASC', - ProposalsByOwnerIdSumBalanceDesc = 'PROPOSALS_BY_OWNER_ID_SUM_BALANCE_DESC', - ProposalsByOwnerIdSumCreatedAtAsc = 'PROPOSALS_BY_OWNER_ID_SUM_CREATED_AT_ASC', - ProposalsByOwnerIdSumCreatedAtDesc = 'PROPOSALS_BY_OWNER_ID_SUM_CREATED_AT_DESC', - ProposalsByOwnerIdSumCreatedBlockIdAsc = 'PROPOSALS_BY_OWNER_ID_SUM_CREATED_BLOCK_ID_ASC', - ProposalsByOwnerIdSumCreatedBlockIdDesc = 'PROPOSALS_BY_OWNER_ID_SUM_CREATED_BLOCK_ID_DESC', - ProposalsByOwnerIdSumDescriptionAsc = 'PROPOSALS_BY_OWNER_ID_SUM_DESCRIPTION_ASC', - ProposalsByOwnerIdSumDescriptionDesc = 'PROPOSALS_BY_OWNER_ID_SUM_DESCRIPTION_DESC', - ProposalsByOwnerIdSumIdAsc = 'PROPOSALS_BY_OWNER_ID_SUM_ID_ASC', - ProposalsByOwnerIdSumIdDesc = 'PROPOSALS_BY_OWNER_ID_SUM_ID_DESC', - ProposalsByOwnerIdSumOwnerIdAsc = 'PROPOSALS_BY_OWNER_ID_SUM_OWNER_ID_ASC', - ProposalsByOwnerIdSumOwnerIdDesc = 'PROPOSALS_BY_OWNER_ID_SUM_OWNER_ID_DESC', - ProposalsByOwnerIdSumProposerAsc = 'PROPOSALS_BY_OWNER_ID_SUM_PROPOSER_ASC', - ProposalsByOwnerIdSumProposerDesc = 'PROPOSALS_BY_OWNER_ID_SUM_PROPOSER_DESC', - ProposalsByOwnerIdSumSnapshottedAsc = 'PROPOSALS_BY_OWNER_ID_SUM_SNAPSHOTTED_ASC', - ProposalsByOwnerIdSumSnapshottedDesc = 'PROPOSALS_BY_OWNER_ID_SUM_SNAPSHOTTED_DESC', - ProposalsByOwnerIdSumStateAsc = 'PROPOSALS_BY_OWNER_ID_SUM_STATE_ASC', - ProposalsByOwnerIdSumStateDesc = 'PROPOSALS_BY_OWNER_ID_SUM_STATE_DESC', - ProposalsByOwnerIdSumTotalAyeWeightAsc = 'PROPOSALS_BY_OWNER_ID_SUM_TOTAL_AYE_WEIGHT_ASC', - ProposalsByOwnerIdSumTotalAyeWeightDesc = 'PROPOSALS_BY_OWNER_ID_SUM_TOTAL_AYE_WEIGHT_DESC', - ProposalsByOwnerIdSumTotalNayWeightAsc = 'PROPOSALS_BY_OWNER_ID_SUM_TOTAL_NAY_WEIGHT_ASC', - ProposalsByOwnerIdSumTotalNayWeightDesc = 'PROPOSALS_BY_OWNER_ID_SUM_TOTAL_NAY_WEIGHT_DESC', - ProposalsByOwnerIdSumUpdatedAtAsc = 'PROPOSALS_BY_OWNER_ID_SUM_UPDATED_AT_ASC', - ProposalsByOwnerIdSumUpdatedAtDesc = 'PROPOSALS_BY_OWNER_ID_SUM_UPDATED_AT_DESC', - ProposalsByOwnerIdSumUpdatedBlockIdAsc = 'PROPOSALS_BY_OWNER_ID_SUM_UPDATED_BLOCK_ID_ASC', - ProposalsByOwnerIdSumUpdatedBlockIdDesc = 'PROPOSALS_BY_OWNER_ID_SUM_UPDATED_BLOCK_ID_DESC', - ProposalsByOwnerIdSumUrlAsc = 'PROPOSALS_BY_OWNER_ID_SUM_URL_ASC', - ProposalsByOwnerIdSumUrlDesc = 'PROPOSALS_BY_OWNER_ID_SUM_URL_DESC', - ProposalsByOwnerIdVariancePopulationBalanceAsc = 'PROPOSALS_BY_OWNER_ID_VARIANCE_POPULATION_BALANCE_ASC', - ProposalsByOwnerIdVariancePopulationBalanceDesc = 'PROPOSALS_BY_OWNER_ID_VARIANCE_POPULATION_BALANCE_DESC', - ProposalsByOwnerIdVariancePopulationCreatedAtAsc = 'PROPOSALS_BY_OWNER_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - ProposalsByOwnerIdVariancePopulationCreatedAtDesc = 'PROPOSALS_BY_OWNER_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - ProposalsByOwnerIdVariancePopulationCreatedBlockIdAsc = 'PROPOSALS_BY_OWNER_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - ProposalsByOwnerIdVariancePopulationCreatedBlockIdDesc = 'PROPOSALS_BY_OWNER_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - ProposalsByOwnerIdVariancePopulationDescriptionAsc = 'PROPOSALS_BY_OWNER_ID_VARIANCE_POPULATION_DESCRIPTION_ASC', - ProposalsByOwnerIdVariancePopulationDescriptionDesc = 'PROPOSALS_BY_OWNER_ID_VARIANCE_POPULATION_DESCRIPTION_DESC', - ProposalsByOwnerIdVariancePopulationIdAsc = 'PROPOSALS_BY_OWNER_ID_VARIANCE_POPULATION_ID_ASC', - ProposalsByOwnerIdVariancePopulationIdDesc = 'PROPOSALS_BY_OWNER_ID_VARIANCE_POPULATION_ID_DESC', - ProposalsByOwnerIdVariancePopulationOwnerIdAsc = 'PROPOSALS_BY_OWNER_ID_VARIANCE_POPULATION_OWNER_ID_ASC', - ProposalsByOwnerIdVariancePopulationOwnerIdDesc = 'PROPOSALS_BY_OWNER_ID_VARIANCE_POPULATION_OWNER_ID_DESC', - ProposalsByOwnerIdVariancePopulationProposerAsc = 'PROPOSALS_BY_OWNER_ID_VARIANCE_POPULATION_PROPOSER_ASC', - ProposalsByOwnerIdVariancePopulationProposerDesc = 'PROPOSALS_BY_OWNER_ID_VARIANCE_POPULATION_PROPOSER_DESC', - ProposalsByOwnerIdVariancePopulationSnapshottedAsc = 'PROPOSALS_BY_OWNER_ID_VARIANCE_POPULATION_SNAPSHOTTED_ASC', - ProposalsByOwnerIdVariancePopulationSnapshottedDesc = 'PROPOSALS_BY_OWNER_ID_VARIANCE_POPULATION_SNAPSHOTTED_DESC', - ProposalsByOwnerIdVariancePopulationStateAsc = 'PROPOSALS_BY_OWNER_ID_VARIANCE_POPULATION_STATE_ASC', - ProposalsByOwnerIdVariancePopulationStateDesc = 'PROPOSALS_BY_OWNER_ID_VARIANCE_POPULATION_STATE_DESC', - ProposalsByOwnerIdVariancePopulationTotalAyeWeightAsc = 'PROPOSALS_BY_OWNER_ID_VARIANCE_POPULATION_TOTAL_AYE_WEIGHT_ASC', - ProposalsByOwnerIdVariancePopulationTotalAyeWeightDesc = 'PROPOSALS_BY_OWNER_ID_VARIANCE_POPULATION_TOTAL_AYE_WEIGHT_DESC', - ProposalsByOwnerIdVariancePopulationTotalNayWeightAsc = 'PROPOSALS_BY_OWNER_ID_VARIANCE_POPULATION_TOTAL_NAY_WEIGHT_ASC', - ProposalsByOwnerIdVariancePopulationTotalNayWeightDesc = 'PROPOSALS_BY_OWNER_ID_VARIANCE_POPULATION_TOTAL_NAY_WEIGHT_DESC', - ProposalsByOwnerIdVariancePopulationUpdatedAtAsc = 'PROPOSALS_BY_OWNER_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - ProposalsByOwnerIdVariancePopulationUpdatedAtDesc = 'PROPOSALS_BY_OWNER_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - ProposalsByOwnerIdVariancePopulationUpdatedBlockIdAsc = 'PROPOSALS_BY_OWNER_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - ProposalsByOwnerIdVariancePopulationUpdatedBlockIdDesc = 'PROPOSALS_BY_OWNER_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - ProposalsByOwnerIdVariancePopulationUrlAsc = 'PROPOSALS_BY_OWNER_ID_VARIANCE_POPULATION_URL_ASC', - ProposalsByOwnerIdVariancePopulationUrlDesc = 'PROPOSALS_BY_OWNER_ID_VARIANCE_POPULATION_URL_DESC', - ProposalsByOwnerIdVarianceSampleBalanceAsc = 'PROPOSALS_BY_OWNER_ID_VARIANCE_SAMPLE_BALANCE_ASC', - ProposalsByOwnerIdVarianceSampleBalanceDesc = 'PROPOSALS_BY_OWNER_ID_VARIANCE_SAMPLE_BALANCE_DESC', - ProposalsByOwnerIdVarianceSampleCreatedAtAsc = 'PROPOSALS_BY_OWNER_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - ProposalsByOwnerIdVarianceSampleCreatedAtDesc = 'PROPOSALS_BY_OWNER_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - ProposalsByOwnerIdVarianceSampleCreatedBlockIdAsc = 'PROPOSALS_BY_OWNER_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - ProposalsByOwnerIdVarianceSampleCreatedBlockIdDesc = 'PROPOSALS_BY_OWNER_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - ProposalsByOwnerIdVarianceSampleDescriptionAsc = 'PROPOSALS_BY_OWNER_ID_VARIANCE_SAMPLE_DESCRIPTION_ASC', - ProposalsByOwnerIdVarianceSampleDescriptionDesc = 'PROPOSALS_BY_OWNER_ID_VARIANCE_SAMPLE_DESCRIPTION_DESC', - ProposalsByOwnerIdVarianceSampleIdAsc = 'PROPOSALS_BY_OWNER_ID_VARIANCE_SAMPLE_ID_ASC', - ProposalsByOwnerIdVarianceSampleIdDesc = 'PROPOSALS_BY_OWNER_ID_VARIANCE_SAMPLE_ID_DESC', - ProposalsByOwnerIdVarianceSampleOwnerIdAsc = 'PROPOSALS_BY_OWNER_ID_VARIANCE_SAMPLE_OWNER_ID_ASC', - ProposalsByOwnerIdVarianceSampleOwnerIdDesc = 'PROPOSALS_BY_OWNER_ID_VARIANCE_SAMPLE_OWNER_ID_DESC', - ProposalsByOwnerIdVarianceSampleProposerAsc = 'PROPOSALS_BY_OWNER_ID_VARIANCE_SAMPLE_PROPOSER_ASC', - ProposalsByOwnerIdVarianceSampleProposerDesc = 'PROPOSALS_BY_OWNER_ID_VARIANCE_SAMPLE_PROPOSER_DESC', - ProposalsByOwnerIdVarianceSampleSnapshottedAsc = 'PROPOSALS_BY_OWNER_ID_VARIANCE_SAMPLE_SNAPSHOTTED_ASC', - ProposalsByOwnerIdVarianceSampleSnapshottedDesc = 'PROPOSALS_BY_OWNER_ID_VARIANCE_SAMPLE_SNAPSHOTTED_DESC', - ProposalsByOwnerIdVarianceSampleStateAsc = 'PROPOSALS_BY_OWNER_ID_VARIANCE_SAMPLE_STATE_ASC', - ProposalsByOwnerIdVarianceSampleStateDesc = 'PROPOSALS_BY_OWNER_ID_VARIANCE_SAMPLE_STATE_DESC', - ProposalsByOwnerIdVarianceSampleTotalAyeWeightAsc = 'PROPOSALS_BY_OWNER_ID_VARIANCE_SAMPLE_TOTAL_AYE_WEIGHT_ASC', - ProposalsByOwnerIdVarianceSampleTotalAyeWeightDesc = 'PROPOSALS_BY_OWNER_ID_VARIANCE_SAMPLE_TOTAL_AYE_WEIGHT_DESC', - ProposalsByOwnerIdVarianceSampleTotalNayWeightAsc = 'PROPOSALS_BY_OWNER_ID_VARIANCE_SAMPLE_TOTAL_NAY_WEIGHT_ASC', - ProposalsByOwnerIdVarianceSampleTotalNayWeightDesc = 'PROPOSALS_BY_OWNER_ID_VARIANCE_SAMPLE_TOTAL_NAY_WEIGHT_DESC', - ProposalsByOwnerIdVarianceSampleUpdatedAtAsc = 'PROPOSALS_BY_OWNER_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - ProposalsByOwnerIdVarianceSampleUpdatedAtDesc = 'PROPOSALS_BY_OWNER_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - ProposalsByOwnerIdVarianceSampleUpdatedBlockIdAsc = 'PROPOSALS_BY_OWNER_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - ProposalsByOwnerIdVarianceSampleUpdatedBlockIdDesc = 'PROPOSALS_BY_OWNER_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - ProposalsByOwnerIdVarianceSampleUrlAsc = 'PROPOSALS_BY_OWNER_ID_VARIANCE_SAMPLE_URL_ASC', - ProposalsByOwnerIdVarianceSampleUrlDesc = 'PROPOSALS_BY_OWNER_ID_VARIANCE_SAMPLE_URL_DESC', - SecondaryAccountsAverageAddressAsc = 'SECONDARY_ACCOUNTS_AVERAGE_ADDRESS_ASC', - SecondaryAccountsAverageAddressDesc = 'SECONDARY_ACCOUNTS_AVERAGE_ADDRESS_DESC', - SecondaryAccountsAverageCreatedAtAsc = 'SECONDARY_ACCOUNTS_AVERAGE_CREATED_AT_ASC', - SecondaryAccountsAverageCreatedAtDesc = 'SECONDARY_ACCOUNTS_AVERAGE_CREATED_AT_DESC', - SecondaryAccountsAverageCreatedBlockIdAsc = 'SECONDARY_ACCOUNTS_AVERAGE_CREATED_BLOCK_ID_ASC', - SecondaryAccountsAverageCreatedBlockIdDesc = 'SECONDARY_ACCOUNTS_AVERAGE_CREATED_BLOCK_ID_DESC', - SecondaryAccountsAverageDatetimeAsc = 'SECONDARY_ACCOUNTS_AVERAGE_DATETIME_ASC', - SecondaryAccountsAverageDatetimeDesc = 'SECONDARY_ACCOUNTS_AVERAGE_DATETIME_DESC', - SecondaryAccountsAverageEventIdAsc = 'SECONDARY_ACCOUNTS_AVERAGE_EVENT_ID_ASC', - SecondaryAccountsAverageEventIdDesc = 'SECONDARY_ACCOUNTS_AVERAGE_EVENT_ID_DESC', - SecondaryAccountsAverageIdentityIdAsc = 'SECONDARY_ACCOUNTS_AVERAGE_IDENTITY_ID_ASC', - SecondaryAccountsAverageIdentityIdDesc = 'SECONDARY_ACCOUNTS_AVERAGE_IDENTITY_ID_DESC', - SecondaryAccountsAverageIdAsc = 'SECONDARY_ACCOUNTS_AVERAGE_ID_ASC', - SecondaryAccountsAverageIdDesc = 'SECONDARY_ACCOUNTS_AVERAGE_ID_DESC', - SecondaryAccountsAveragePermissionsIdAsc = 'SECONDARY_ACCOUNTS_AVERAGE_PERMISSIONS_ID_ASC', - SecondaryAccountsAveragePermissionsIdDesc = 'SECONDARY_ACCOUNTS_AVERAGE_PERMISSIONS_ID_DESC', - SecondaryAccountsAverageUpdatedAtAsc = 'SECONDARY_ACCOUNTS_AVERAGE_UPDATED_AT_ASC', - SecondaryAccountsAverageUpdatedAtDesc = 'SECONDARY_ACCOUNTS_AVERAGE_UPDATED_AT_DESC', - SecondaryAccountsAverageUpdatedBlockIdAsc = 'SECONDARY_ACCOUNTS_AVERAGE_UPDATED_BLOCK_ID_ASC', - SecondaryAccountsAverageUpdatedBlockIdDesc = 'SECONDARY_ACCOUNTS_AVERAGE_UPDATED_BLOCK_ID_DESC', - SecondaryAccountsCountAsc = 'SECONDARY_ACCOUNTS_COUNT_ASC', - SecondaryAccountsCountDesc = 'SECONDARY_ACCOUNTS_COUNT_DESC', - SecondaryAccountsDistinctCountAddressAsc = 'SECONDARY_ACCOUNTS_DISTINCT_COUNT_ADDRESS_ASC', - SecondaryAccountsDistinctCountAddressDesc = 'SECONDARY_ACCOUNTS_DISTINCT_COUNT_ADDRESS_DESC', - SecondaryAccountsDistinctCountCreatedAtAsc = 'SECONDARY_ACCOUNTS_DISTINCT_COUNT_CREATED_AT_ASC', - SecondaryAccountsDistinctCountCreatedAtDesc = 'SECONDARY_ACCOUNTS_DISTINCT_COUNT_CREATED_AT_DESC', - SecondaryAccountsDistinctCountCreatedBlockIdAsc = 'SECONDARY_ACCOUNTS_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - SecondaryAccountsDistinctCountCreatedBlockIdDesc = 'SECONDARY_ACCOUNTS_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - SecondaryAccountsDistinctCountDatetimeAsc = 'SECONDARY_ACCOUNTS_DISTINCT_COUNT_DATETIME_ASC', - SecondaryAccountsDistinctCountDatetimeDesc = 'SECONDARY_ACCOUNTS_DISTINCT_COUNT_DATETIME_DESC', - SecondaryAccountsDistinctCountEventIdAsc = 'SECONDARY_ACCOUNTS_DISTINCT_COUNT_EVENT_ID_ASC', - SecondaryAccountsDistinctCountEventIdDesc = 'SECONDARY_ACCOUNTS_DISTINCT_COUNT_EVENT_ID_DESC', - SecondaryAccountsDistinctCountIdentityIdAsc = 'SECONDARY_ACCOUNTS_DISTINCT_COUNT_IDENTITY_ID_ASC', - SecondaryAccountsDistinctCountIdentityIdDesc = 'SECONDARY_ACCOUNTS_DISTINCT_COUNT_IDENTITY_ID_DESC', - SecondaryAccountsDistinctCountIdAsc = 'SECONDARY_ACCOUNTS_DISTINCT_COUNT_ID_ASC', - SecondaryAccountsDistinctCountIdDesc = 'SECONDARY_ACCOUNTS_DISTINCT_COUNT_ID_DESC', - SecondaryAccountsDistinctCountPermissionsIdAsc = 'SECONDARY_ACCOUNTS_DISTINCT_COUNT_PERMISSIONS_ID_ASC', - SecondaryAccountsDistinctCountPermissionsIdDesc = 'SECONDARY_ACCOUNTS_DISTINCT_COUNT_PERMISSIONS_ID_DESC', - SecondaryAccountsDistinctCountUpdatedAtAsc = 'SECONDARY_ACCOUNTS_DISTINCT_COUNT_UPDATED_AT_ASC', - SecondaryAccountsDistinctCountUpdatedAtDesc = 'SECONDARY_ACCOUNTS_DISTINCT_COUNT_UPDATED_AT_DESC', - SecondaryAccountsDistinctCountUpdatedBlockIdAsc = 'SECONDARY_ACCOUNTS_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - SecondaryAccountsDistinctCountUpdatedBlockIdDesc = 'SECONDARY_ACCOUNTS_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - SecondaryAccountsMaxAddressAsc = 'SECONDARY_ACCOUNTS_MAX_ADDRESS_ASC', - SecondaryAccountsMaxAddressDesc = 'SECONDARY_ACCOUNTS_MAX_ADDRESS_DESC', - SecondaryAccountsMaxCreatedAtAsc = 'SECONDARY_ACCOUNTS_MAX_CREATED_AT_ASC', - SecondaryAccountsMaxCreatedAtDesc = 'SECONDARY_ACCOUNTS_MAX_CREATED_AT_DESC', - SecondaryAccountsMaxCreatedBlockIdAsc = 'SECONDARY_ACCOUNTS_MAX_CREATED_BLOCK_ID_ASC', - SecondaryAccountsMaxCreatedBlockIdDesc = 'SECONDARY_ACCOUNTS_MAX_CREATED_BLOCK_ID_DESC', - SecondaryAccountsMaxDatetimeAsc = 'SECONDARY_ACCOUNTS_MAX_DATETIME_ASC', - SecondaryAccountsMaxDatetimeDesc = 'SECONDARY_ACCOUNTS_MAX_DATETIME_DESC', - SecondaryAccountsMaxEventIdAsc = 'SECONDARY_ACCOUNTS_MAX_EVENT_ID_ASC', - SecondaryAccountsMaxEventIdDesc = 'SECONDARY_ACCOUNTS_MAX_EVENT_ID_DESC', - SecondaryAccountsMaxIdentityIdAsc = 'SECONDARY_ACCOUNTS_MAX_IDENTITY_ID_ASC', - SecondaryAccountsMaxIdentityIdDesc = 'SECONDARY_ACCOUNTS_MAX_IDENTITY_ID_DESC', - SecondaryAccountsMaxIdAsc = 'SECONDARY_ACCOUNTS_MAX_ID_ASC', - SecondaryAccountsMaxIdDesc = 'SECONDARY_ACCOUNTS_MAX_ID_DESC', - SecondaryAccountsMaxPermissionsIdAsc = 'SECONDARY_ACCOUNTS_MAX_PERMISSIONS_ID_ASC', - SecondaryAccountsMaxPermissionsIdDesc = 'SECONDARY_ACCOUNTS_MAX_PERMISSIONS_ID_DESC', - SecondaryAccountsMaxUpdatedAtAsc = 'SECONDARY_ACCOUNTS_MAX_UPDATED_AT_ASC', - SecondaryAccountsMaxUpdatedAtDesc = 'SECONDARY_ACCOUNTS_MAX_UPDATED_AT_DESC', - SecondaryAccountsMaxUpdatedBlockIdAsc = 'SECONDARY_ACCOUNTS_MAX_UPDATED_BLOCK_ID_ASC', - SecondaryAccountsMaxUpdatedBlockIdDesc = 'SECONDARY_ACCOUNTS_MAX_UPDATED_BLOCK_ID_DESC', - SecondaryAccountsMinAddressAsc = 'SECONDARY_ACCOUNTS_MIN_ADDRESS_ASC', - SecondaryAccountsMinAddressDesc = 'SECONDARY_ACCOUNTS_MIN_ADDRESS_DESC', - SecondaryAccountsMinCreatedAtAsc = 'SECONDARY_ACCOUNTS_MIN_CREATED_AT_ASC', - SecondaryAccountsMinCreatedAtDesc = 'SECONDARY_ACCOUNTS_MIN_CREATED_AT_DESC', - SecondaryAccountsMinCreatedBlockIdAsc = 'SECONDARY_ACCOUNTS_MIN_CREATED_BLOCK_ID_ASC', - SecondaryAccountsMinCreatedBlockIdDesc = 'SECONDARY_ACCOUNTS_MIN_CREATED_BLOCK_ID_DESC', - SecondaryAccountsMinDatetimeAsc = 'SECONDARY_ACCOUNTS_MIN_DATETIME_ASC', - SecondaryAccountsMinDatetimeDesc = 'SECONDARY_ACCOUNTS_MIN_DATETIME_DESC', - SecondaryAccountsMinEventIdAsc = 'SECONDARY_ACCOUNTS_MIN_EVENT_ID_ASC', - SecondaryAccountsMinEventIdDesc = 'SECONDARY_ACCOUNTS_MIN_EVENT_ID_DESC', - SecondaryAccountsMinIdentityIdAsc = 'SECONDARY_ACCOUNTS_MIN_IDENTITY_ID_ASC', - SecondaryAccountsMinIdentityIdDesc = 'SECONDARY_ACCOUNTS_MIN_IDENTITY_ID_DESC', - SecondaryAccountsMinIdAsc = 'SECONDARY_ACCOUNTS_MIN_ID_ASC', - SecondaryAccountsMinIdDesc = 'SECONDARY_ACCOUNTS_MIN_ID_DESC', - SecondaryAccountsMinPermissionsIdAsc = 'SECONDARY_ACCOUNTS_MIN_PERMISSIONS_ID_ASC', - SecondaryAccountsMinPermissionsIdDesc = 'SECONDARY_ACCOUNTS_MIN_PERMISSIONS_ID_DESC', - SecondaryAccountsMinUpdatedAtAsc = 'SECONDARY_ACCOUNTS_MIN_UPDATED_AT_ASC', - SecondaryAccountsMinUpdatedAtDesc = 'SECONDARY_ACCOUNTS_MIN_UPDATED_AT_DESC', - SecondaryAccountsMinUpdatedBlockIdAsc = 'SECONDARY_ACCOUNTS_MIN_UPDATED_BLOCK_ID_ASC', - SecondaryAccountsMinUpdatedBlockIdDesc = 'SECONDARY_ACCOUNTS_MIN_UPDATED_BLOCK_ID_DESC', - SecondaryAccountsStddevPopulationAddressAsc = 'SECONDARY_ACCOUNTS_STDDEV_POPULATION_ADDRESS_ASC', - SecondaryAccountsStddevPopulationAddressDesc = 'SECONDARY_ACCOUNTS_STDDEV_POPULATION_ADDRESS_DESC', - SecondaryAccountsStddevPopulationCreatedAtAsc = 'SECONDARY_ACCOUNTS_STDDEV_POPULATION_CREATED_AT_ASC', - SecondaryAccountsStddevPopulationCreatedAtDesc = 'SECONDARY_ACCOUNTS_STDDEV_POPULATION_CREATED_AT_DESC', - SecondaryAccountsStddevPopulationCreatedBlockIdAsc = 'SECONDARY_ACCOUNTS_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - SecondaryAccountsStddevPopulationCreatedBlockIdDesc = 'SECONDARY_ACCOUNTS_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - SecondaryAccountsStddevPopulationDatetimeAsc = 'SECONDARY_ACCOUNTS_STDDEV_POPULATION_DATETIME_ASC', - SecondaryAccountsStddevPopulationDatetimeDesc = 'SECONDARY_ACCOUNTS_STDDEV_POPULATION_DATETIME_DESC', - SecondaryAccountsStddevPopulationEventIdAsc = 'SECONDARY_ACCOUNTS_STDDEV_POPULATION_EVENT_ID_ASC', - SecondaryAccountsStddevPopulationEventIdDesc = 'SECONDARY_ACCOUNTS_STDDEV_POPULATION_EVENT_ID_DESC', - SecondaryAccountsStddevPopulationIdentityIdAsc = 'SECONDARY_ACCOUNTS_STDDEV_POPULATION_IDENTITY_ID_ASC', - SecondaryAccountsStddevPopulationIdentityIdDesc = 'SECONDARY_ACCOUNTS_STDDEV_POPULATION_IDENTITY_ID_DESC', - SecondaryAccountsStddevPopulationIdAsc = 'SECONDARY_ACCOUNTS_STDDEV_POPULATION_ID_ASC', - SecondaryAccountsStddevPopulationIdDesc = 'SECONDARY_ACCOUNTS_STDDEV_POPULATION_ID_DESC', - SecondaryAccountsStddevPopulationPermissionsIdAsc = 'SECONDARY_ACCOUNTS_STDDEV_POPULATION_PERMISSIONS_ID_ASC', - SecondaryAccountsStddevPopulationPermissionsIdDesc = 'SECONDARY_ACCOUNTS_STDDEV_POPULATION_PERMISSIONS_ID_DESC', - SecondaryAccountsStddevPopulationUpdatedAtAsc = 'SECONDARY_ACCOUNTS_STDDEV_POPULATION_UPDATED_AT_ASC', - SecondaryAccountsStddevPopulationUpdatedAtDesc = 'SECONDARY_ACCOUNTS_STDDEV_POPULATION_UPDATED_AT_DESC', - SecondaryAccountsStddevPopulationUpdatedBlockIdAsc = 'SECONDARY_ACCOUNTS_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - SecondaryAccountsStddevPopulationUpdatedBlockIdDesc = 'SECONDARY_ACCOUNTS_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - SecondaryAccountsStddevSampleAddressAsc = 'SECONDARY_ACCOUNTS_STDDEV_SAMPLE_ADDRESS_ASC', - SecondaryAccountsStddevSampleAddressDesc = 'SECONDARY_ACCOUNTS_STDDEV_SAMPLE_ADDRESS_DESC', - SecondaryAccountsStddevSampleCreatedAtAsc = 'SECONDARY_ACCOUNTS_STDDEV_SAMPLE_CREATED_AT_ASC', - SecondaryAccountsStddevSampleCreatedAtDesc = 'SECONDARY_ACCOUNTS_STDDEV_SAMPLE_CREATED_AT_DESC', - SecondaryAccountsStddevSampleCreatedBlockIdAsc = 'SECONDARY_ACCOUNTS_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - SecondaryAccountsStddevSampleCreatedBlockIdDesc = 'SECONDARY_ACCOUNTS_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - SecondaryAccountsStddevSampleDatetimeAsc = 'SECONDARY_ACCOUNTS_STDDEV_SAMPLE_DATETIME_ASC', - SecondaryAccountsStddevSampleDatetimeDesc = 'SECONDARY_ACCOUNTS_STDDEV_SAMPLE_DATETIME_DESC', - SecondaryAccountsStddevSampleEventIdAsc = 'SECONDARY_ACCOUNTS_STDDEV_SAMPLE_EVENT_ID_ASC', - SecondaryAccountsStddevSampleEventIdDesc = 'SECONDARY_ACCOUNTS_STDDEV_SAMPLE_EVENT_ID_DESC', - SecondaryAccountsStddevSampleIdentityIdAsc = 'SECONDARY_ACCOUNTS_STDDEV_SAMPLE_IDENTITY_ID_ASC', - SecondaryAccountsStddevSampleIdentityIdDesc = 'SECONDARY_ACCOUNTS_STDDEV_SAMPLE_IDENTITY_ID_DESC', - SecondaryAccountsStddevSampleIdAsc = 'SECONDARY_ACCOUNTS_STDDEV_SAMPLE_ID_ASC', - SecondaryAccountsStddevSampleIdDesc = 'SECONDARY_ACCOUNTS_STDDEV_SAMPLE_ID_DESC', - SecondaryAccountsStddevSamplePermissionsIdAsc = 'SECONDARY_ACCOUNTS_STDDEV_SAMPLE_PERMISSIONS_ID_ASC', - SecondaryAccountsStddevSamplePermissionsIdDesc = 'SECONDARY_ACCOUNTS_STDDEV_SAMPLE_PERMISSIONS_ID_DESC', - SecondaryAccountsStddevSampleUpdatedAtAsc = 'SECONDARY_ACCOUNTS_STDDEV_SAMPLE_UPDATED_AT_ASC', - SecondaryAccountsStddevSampleUpdatedAtDesc = 'SECONDARY_ACCOUNTS_STDDEV_SAMPLE_UPDATED_AT_DESC', - SecondaryAccountsStddevSampleUpdatedBlockIdAsc = 'SECONDARY_ACCOUNTS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - SecondaryAccountsStddevSampleUpdatedBlockIdDesc = 'SECONDARY_ACCOUNTS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - SecondaryAccountsSumAddressAsc = 'SECONDARY_ACCOUNTS_SUM_ADDRESS_ASC', - SecondaryAccountsSumAddressDesc = 'SECONDARY_ACCOUNTS_SUM_ADDRESS_DESC', - SecondaryAccountsSumCreatedAtAsc = 'SECONDARY_ACCOUNTS_SUM_CREATED_AT_ASC', - SecondaryAccountsSumCreatedAtDesc = 'SECONDARY_ACCOUNTS_SUM_CREATED_AT_DESC', - SecondaryAccountsSumCreatedBlockIdAsc = 'SECONDARY_ACCOUNTS_SUM_CREATED_BLOCK_ID_ASC', - SecondaryAccountsSumCreatedBlockIdDesc = 'SECONDARY_ACCOUNTS_SUM_CREATED_BLOCK_ID_DESC', - SecondaryAccountsSumDatetimeAsc = 'SECONDARY_ACCOUNTS_SUM_DATETIME_ASC', - SecondaryAccountsSumDatetimeDesc = 'SECONDARY_ACCOUNTS_SUM_DATETIME_DESC', - SecondaryAccountsSumEventIdAsc = 'SECONDARY_ACCOUNTS_SUM_EVENT_ID_ASC', - SecondaryAccountsSumEventIdDesc = 'SECONDARY_ACCOUNTS_SUM_EVENT_ID_DESC', - SecondaryAccountsSumIdentityIdAsc = 'SECONDARY_ACCOUNTS_SUM_IDENTITY_ID_ASC', - SecondaryAccountsSumIdentityIdDesc = 'SECONDARY_ACCOUNTS_SUM_IDENTITY_ID_DESC', - SecondaryAccountsSumIdAsc = 'SECONDARY_ACCOUNTS_SUM_ID_ASC', - SecondaryAccountsSumIdDesc = 'SECONDARY_ACCOUNTS_SUM_ID_DESC', - SecondaryAccountsSumPermissionsIdAsc = 'SECONDARY_ACCOUNTS_SUM_PERMISSIONS_ID_ASC', - SecondaryAccountsSumPermissionsIdDesc = 'SECONDARY_ACCOUNTS_SUM_PERMISSIONS_ID_DESC', - SecondaryAccountsSumUpdatedAtAsc = 'SECONDARY_ACCOUNTS_SUM_UPDATED_AT_ASC', - SecondaryAccountsSumUpdatedAtDesc = 'SECONDARY_ACCOUNTS_SUM_UPDATED_AT_DESC', - SecondaryAccountsSumUpdatedBlockIdAsc = 'SECONDARY_ACCOUNTS_SUM_UPDATED_BLOCK_ID_ASC', - SecondaryAccountsSumUpdatedBlockIdDesc = 'SECONDARY_ACCOUNTS_SUM_UPDATED_BLOCK_ID_DESC', - SecondaryAccountsVariancePopulationAddressAsc = 'SECONDARY_ACCOUNTS_VARIANCE_POPULATION_ADDRESS_ASC', - SecondaryAccountsVariancePopulationAddressDesc = 'SECONDARY_ACCOUNTS_VARIANCE_POPULATION_ADDRESS_DESC', - SecondaryAccountsVariancePopulationCreatedAtAsc = 'SECONDARY_ACCOUNTS_VARIANCE_POPULATION_CREATED_AT_ASC', - SecondaryAccountsVariancePopulationCreatedAtDesc = 'SECONDARY_ACCOUNTS_VARIANCE_POPULATION_CREATED_AT_DESC', - SecondaryAccountsVariancePopulationCreatedBlockIdAsc = 'SECONDARY_ACCOUNTS_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - SecondaryAccountsVariancePopulationCreatedBlockIdDesc = 'SECONDARY_ACCOUNTS_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - SecondaryAccountsVariancePopulationDatetimeAsc = 'SECONDARY_ACCOUNTS_VARIANCE_POPULATION_DATETIME_ASC', - SecondaryAccountsVariancePopulationDatetimeDesc = 'SECONDARY_ACCOUNTS_VARIANCE_POPULATION_DATETIME_DESC', - SecondaryAccountsVariancePopulationEventIdAsc = 'SECONDARY_ACCOUNTS_VARIANCE_POPULATION_EVENT_ID_ASC', - SecondaryAccountsVariancePopulationEventIdDesc = 'SECONDARY_ACCOUNTS_VARIANCE_POPULATION_EVENT_ID_DESC', - SecondaryAccountsVariancePopulationIdentityIdAsc = 'SECONDARY_ACCOUNTS_VARIANCE_POPULATION_IDENTITY_ID_ASC', - SecondaryAccountsVariancePopulationIdentityIdDesc = 'SECONDARY_ACCOUNTS_VARIANCE_POPULATION_IDENTITY_ID_DESC', - SecondaryAccountsVariancePopulationIdAsc = 'SECONDARY_ACCOUNTS_VARIANCE_POPULATION_ID_ASC', - SecondaryAccountsVariancePopulationIdDesc = 'SECONDARY_ACCOUNTS_VARIANCE_POPULATION_ID_DESC', - SecondaryAccountsVariancePopulationPermissionsIdAsc = 'SECONDARY_ACCOUNTS_VARIANCE_POPULATION_PERMISSIONS_ID_ASC', - SecondaryAccountsVariancePopulationPermissionsIdDesc = 'SECONDARY_ACCOUNTS_VARIANCE_POPULATION_PERMISSIONS_ID_DESC', - SecondaryAccountsVariancePopulationUpdatedAtAsc = 'SECONDARY_ACCOUNTS_VARIANCE_POPULATION_UPDATED_AT_ASC', - SecondaryAccountsVariancePopulationUpdatedAtDesc = 'SECONDARY_ACCOUNTS_VARIANCE_POPULATION_UPDATED_AT_DESC', - SecondaryAccountsVariancePopulationUpdatedBlockIdAsc = 'SECONDARY_ACCOUNTS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - SecondaryAccountsVariancePopulationUpdatedBlockIdDesc = 'SECONDARY_ACCOUNTS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - SecondaryAccountsVarianceSampleAddressAsc = 'SECONDARY_ACCOUNTS_VARIANCE_SAMPLE_ADDRESS_ASC', - SecondaryAccountsVarianceSampleAddressDesc = 'SECONDARY_ACCOUNTS_VARIANCE_SAMPLE_ADDRESS_DESC', - SecondaryAccountsVarianceSampleCreatedAtAsc = 'SECONDARY_ACCOUNTS_VARIANCE_SAMPLE_CREATED_AT_ASC', - SecondaryAccountsVarianceSampleCreatedAtDesc = 'SECONDARY_ACCOUNTS_VARIANCE_SAMPLE_CREATED_AT_DESC', - SecondaryAccountsVarianceSampleCreatedBlockIdAsc = 'SECONDARY_ACCOUNTS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - SecondaryAccountsVarianceSampleCreatedBlockIdDesc = 'SECONDARY_ACCOUNTS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - SecondaryAccountsVarianceSampleDatetimeAsc = 'SECONDARY_ACCOUNTS_VARIANCE_SAMPLE_DATETIME_ASC', - SecondaryAccountsVarianceSampleDatetimeDesc = 'SECONDARY_ACCOUNTS_VARIANCE_SAMPLE_DATETIME_DESC', - SecondaryAccountsVarianceSampleEventIdAsc = 'SECONDARY_ACCOUNTS_VARIANCE_SAMPLE_EVENT_ID_ASC', - SecondaryAccountsVarianceSampleEventIdDesc = 'SECONDARY_ACCOUNTS_VARIANCE_SAMPLE_EVENT_ID_DESC', - SecondaryAccountsVarianceSampleIdentityIdAsc = 'SECONDARY_ACCOUNTS_VARIANCE_SAMPLE_IDENTITY_ID_ASC', - SecondaryAccountsVarianceSampleIdentityIdDesc = 'SECONDARY_ACCOUNTS_VARIANCE_SAMPLE_IDENTITY_ID_DESC', - SecondaryAccountsVarianceSampleIdAsc = 'SECONDARY_ACCOUNTS_VARIANCE_SAMPLE_ID_ASC', - SecondaryAccountsVarianceSampleIdDesc = 'SECONDARY_ACCOUNTS_VARIANCE_SAMPLE_ID_DESC', - SecondaryAccountsVarianceSamplePermissionsIdAsc = 'SECONDARY_ACCOUNTS_VARIANCE_SAMPLE_PERMISSIONS_ID_ASC', - SecondaryAccountsVarianceSamplePermissionsIdDesc = 'SECONDARY_ACCOUNTS_VARIANCE_SAMPLE_PERMISSIONS_ID_DESC', - SecondaryAccountsVarianceSampleUpdatedAtAsc = 'SECONDARY_ACCOUNTS_VARIANCE_SAMPLE_UPDATED_AT_ASC', - SecondaryAccountsVarianceSampleUpdatedAtDesc = 'SECONDARY_ACCOUNTS_VARIANCE_SAMPLE_UPDATED_AT_DESC', - SecondaryAccountsVarianceSampleUpdatedBlockIdAsc = 'SECONDARY_ACCOUNTS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - SecondaryAccountsVarianceSampleUpdatedBlockIdDesc = 'SECONDARY_ACCOUNTS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - SecondaryKeysFrozenAsc = 'SECONDARY_KEYS_FROZEN_ASC', - SecondaryKeysFrozenDesc = 'SECONDARY_KEYS_FROZEN_DESC', - StakingEventsAverageAmountAsc = 'STAKING_EVENTS_AVERAGE_AMOUNT_ASC', - StakingEventsAverageAmountDesc = 'STAKING_EVENTS_AVERAGE_AMOUNT_DESC', - StakingEventsAverageCreatedAtAsc = 'STAKING_EVENTS_AVERAGE_CREATED_AT_ASC', - StakingEventsAverageCreatedAtDesc = 'STAKING_EVENTS_AVERAGE_CREATED_AT_DESC', - StakingEventsAverageCreatedBlockIdAsc = 'STAKING_EVENTS_AVERAGE_CREATED_BLOCK_ID_ASC', - StakingEventsAverageCreatedBlockIdDesc = 'STAKING_EVENTS_AVERAGE_CREATED_BLOCK_ID_DESC', - StakingEventsAverageDatetimeAsc = 'STAKING_EVENTS_AVERAGE_DATETIME_ASC', - StakingEventsAverageDatetimeDesc = 'STAKING_EVENTS_AVERAGE_DATETIME_DESC', - StakingEventsAverageEventIdAsc = 'STAKING_EVENTS_AVERAGE_EVENT_ID_ASC', - StakingEventsAverageEventIdDesc = 'STAKING_EVENTS_AVERAGE_EVENT_ID_DESC', - StakingEventsAverageIdentityIdAsc = 'STAKING_EVENTS_AVERAGE_IDENTITY_ID_ASC', - StakingEventsAverageIdentityIdDesc = 'STAKING_EVENTS_AVERAGE_IDENTITY_ID_DESC', - StakingEventsAverageIdAsc = 'STAKING_EVENTS_AVERAGE_ID_ASC', - StakingEventsAverageIdDesc = 'STAKING_EVENTS_AVERAGE_ID_DESC', - StakingEventsAverageNominatedValidatorsAsc = 'STAKING_EVENTS_AVERAGE_NOMINATED_VALIDATORS_ASC', - StakingEventsAverageNominatedValidatorsDesc = 'STAKING_EVENTS_AVERAGE_NOMINATED_VALIDATORS_DESC', - StakingEventsAverageStashAccountAsc = 'STAKING_EVENTS_AVERAGE_STASH_ACCOUNT_ASC', - StakingEventsAverageStashAccountDesc = 'STAKING_EVENTS_AVERAGE_STASH_ACCOUNT_DESC', - StakingEventsAverageTransactionIdAsc = 'STAKING_EVENTS_AVERAGE_TRANSACTION_ID_ASC', - StakingEventsAverageTransactionIdDesc = 'STAKING_EVENTS_AVERAGE_TRANSACTION_ID_DESC', - StakingEventsAverageUpdatedAtAsc = 'STAKING_EVENTS_AVERAGE_UPDATED_AT_ASC', - StakingEventsAverageUpdatedAtDesc = 'STAKING_EVENTS_AVERAGE_UPDATED_AT_DESC', - StakingEventsAverageUpdatedBlockIdAsc = 'STAKING_EVENTS_AVERAGE_UPDATED_BLOCK_ID_ASC', - StakingEventsAverageUpdatedBlockIdDesc = 'STAKING_EVENTS_AVERAGE_UPDATED_BLOCK_ID_DESC', - StakingEventsCountAsc = 'STAKING_EVENTS_COUNT_ASC', - StakingEventsCountDesc = 'STAKING_EVENTS_COUNT_DESC', - StakingEventsDistinctCountAmountAsc = 'STAKING_EVENTS_DISTINCT_COUNT_AMOUNT_ASC', - StakingEventsDistinctCountAmountDesc = 'STAKING_EVENTS_DISTINCT_COUNT_AMOUNT_DESC', - StakingEventsDistinctCountCreatedAtAsc = 'STAKING_EVENTS_DISTINCT_COUNT_CREATED_AT_ASC', - StakingEventsDistinctCountCreatedAtDesc = 'STAKING_EVENTS_DISTINCT_COUNT_CREATED_AT_DESC', - StakingEventsDistinctCountCreatedBlockIdAsc = 'STAKING_EVENTS_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - StakingEventsDistinctCountCreatedBlockIdDesc = 'STAKING_EVENTS_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - StakingEventsDistinctCountDatetimeAsc = 'STAKING_EVENTS_DISTINCT_COUNT_DATETIME_ASC', - StakingEventsDistinctCountDatetimeDesc = 'STAKING_EVENTS_DISTINCT_COUNT_DATETIME_DESC', - StakingEventsDistinctCountEventIdAsc = 'STAKING_EVENTS_DISTINCT_COUNT_EVENT_ID_ASC', - StakingEventsDistinctCountEventIdDesc = 'STAKING_EVENTS_DISTINCT_COUNT_EVENT_ID_DESC', - StakingEventsDistinctCountIdentityIdAsc = 'STAKING_EVENTS_DISTINCT_COUNT_IDENTITY_ID_ASC', - StakingEventsDistinctCountIdentityIdDesc = 'STAKING_EVENTS_DISTINCT_COUNT_IDENTITY_ID_DESC', - StakingEventsDistinctCountIdAsc = 'STAKING_EVENTS_DISTINCT_COUNT_ID_ASC', - StakingEventsDistinctCountIdDesc = 'STAKING_EVENTS_DISTINCT_COUNT_ID_DESC', - StakingEventsDistinctCountNominatedValidatorsAsc = 'STAKING_EVENTS_DISTINCT_COUNT_NOMINATED_VALIDATORS_ASC', - StakingEventsDistinctCountNominatedValidatorsDesc = 'STAKING_EVENTS_DISTINCT_COUNT_NOMINATED_VALIDATORS_DESC', - StakingEventsDistinctCountStashAccountAsc = 'STAKING_EVENTS_DISTINCT_COUNT_STASH_ACCOUNT_ASC', - StakingEventsDistinctCountStashAccountDesc = 'STAKING_EVENTS_DISTINCT_COUNT_STASH_ACCOUNT_DESC', - StakingEventsDistinctCountTransactionIdAsc = 'STAKING_EVENTS_DISTINCT_COUNT_TRANSACTION_ID_ASC', - StakingEventsDistinctCountTransactionIdDesc = 'STAKING_EVENTS_DISTINCT_COUNT_TRANSACTION_ID_DESC', - StakingEventsDistinctCountUpdatedAtAsc = 'STAKING_EVENTS_DISTINCT_COUNT_UPDATED_AT_ASC', - StakingEventsDistinctCountUpdatedAtDesc = 'STAKING_EVENTS_DISTINCT_COUNT_UPDATED_AT_DESC', - StakingEventsDistinctCountUpdatedBlockIdAsc = 'STAKING_EVENTS_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - StakingEventsDistinctCountUpdatedBlockIdDesc = 'STAKING_EVENTS_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - StakingEventsMaxAmountAsc = 'STAKING_EVENTS_MAX_AMOUNT_ASC', - StakingEventsMaxAmountDesc = 'STAKING_EVENTS_MAX_AMOUNT_DESC', - StakingEventsMaxCreatedAtAsc = 'STAKING_EVENTS_MAX_CREATED_AT_ASC', - StakingEventsMaxCreatedAtDesc = 'STAKING_EVENTS_MAX_CREATED_AT_DESC', - StakingEventsMaxCreatedBlockIdAsc = 'STAKING_EVENTS_MAX_CREATED_BLOCK_ID_ASC', - StakingEventsMaxCreatedBlockIdDesc = 'STAKING_EVENTS_MAX_CREATED_BLOCK_ID_DESC', - StakingEventsMaxDatetimeAsc = 'STAKING_EVENTS_MAX_DATETIME_ASC', - StakingEventsMaxDatetimeDesc = 'STAKING_EVENTS_MAX_DATETIME_DESC', - StakingEventsMaxEventIdAsc = 'STAKING_EVENTS_MAX_EVENT_ID_ASC', - StakingEventsMaxEventIdDesc = 'STAKING_EVENTS_MAX_EVENT_ID_DESC', - StakingEventsMaxIdentityIdAsc = 'STAKING_EVENTS_MAX_IDENTITY_ID_ASC', - StakingEventsMaxIdentityIdDesc = 'STAKING_EVENTS_MAX_IDENTITY_ID_DESC', - StakingEventsMaxIdAsc = 'STAKING_EVENTS_MAX_ID_ASC', - StakingEventsMaxIdDesc = 'STAKING_EVENTS_MAX_ID_DESC', - StakingEventsMaxNominatedValidatorsAsc = 'STAKING_EVENTS_MAX_NOMINATED_VALIDATORS_ASC', - StakingEventsMaxNominatedValidatorsDesc = 'STAKING_EVENTS_MAX_NOMINATED_VALIDATORS_DESC', - StakingEventsMaxStashAccountAsc = 'STAKING_EVENTS_MAX_STASH_ACCOUNT_ASC', - StakingEventsMaxStashAccountDesc = 'STAKING_EVENTS_MAX_STASH_ACCOUNT_DESC', - StakingEventsMaxTransactionIdAsc = 'STAKING_EVENTS_MAX_TRANSACTION_ID_ASC', - StakingEventsMaxTransactionIdDesc = 'STAKING_EVENTS_MAX_TRANSACTION_ID_DESC', - StakingEventsMaxUpdatedAtAsc = 'STAKING_EVENTS_MAX_UPDATED_AT_ASC', - StakingEventsMaxUpdatedAtDesc = 'STAKING_EVENTS_MAX_UPDATED_AT_DESC', - StakingEventsMaxUpdatedBlockIdAsc = 'STAKING_EVENTS_MAX_UPDATED_BLOCK_ID_ASC', - StakingEventsMaxUpdatedBlockIdDesc = 'STAKING_EVENTS_MAX_UPDATED_BLOCK_ID_DESC', - StakingEventsMinAmountAsc = 'STAKING_EVENTS_MIN_AMOUNT_ASC', - StakingEventsMinAmountDesc = 'STAKING_EVENTS_MIN_AMOUNT_DESC', - StakingEventsMinCreatedAtAsc = 'STAKING_EVENTS_MIN_CREATED_AT_ASC', - StakingEventsMinCreatedAtDesc = 'STAKING_EVENTS_MIN_CREATED_AT_DESC', - StakingEventsMinCreatedBlockIdAsc = 'STAKING_EVENTS_MIN_CREATED_BLOCK_ID_ASC', - StakingEventsMinCreatedBlockIdDesc = 'STAKING_EVENTS_MIN_CREATED_BLOCK_ID_DESC', - StakingEventsMinDatetimeAsc = 'STAKING_EVENTS_MIN_DATETIME_ASC', - StakingEventsMinDatetimeDesc = 'STAKING_EVENTS_MIN_DATETIME_DESC', - StakingEventsMinEventIdAsc = 'STAKING_EVENTS_MIN_EVENT_ID_ASC', - StakingEventsMinEventIdDesc = 'STAKING_EVENTS_MIN_EVENT_ID_DESC', - StakingEventsMinIdentityIdAsc = 'STAKING_EVENTS_MIN_IDENTITY_ID_ASC', - StakingEventsMinIdentityIdDesc = 'STAKING_EVENTS_MIN_IDENTITY_ID_DESC', - StakingEventsMinIdAsc = 'STAKING_EVENTS_MIN_ID_ASC', - StakingEventsMinIdDesc = 'STAKING_EVENTS_MIN_ID_DESC', - StakingEventsMinNominatedValidatorsAsc = 'STAKING_EVENTS_MIN_NOMINATED_VALIDATORS_ASC', - StakingEventsMinNominatedValidatorsDesc = 'STAKING_EVENTS_MIN_NOMINATED_VALIDATORS_DESC', - StakingEventsMinStashAccountAsc = 'STAKING_EVENTS_MIN_STASH_ACCOUNT_ASC', - StakingEventsMinStashAccountDesc = 'STAKING_EVENTS_MIN_STASH_ACCOUNT_DESC', - StakingEventsMinTransactionIdAsc = 'STAKING_EVENTS_MIN_TRANSACTION_ID_ASC', - StakingEventsMinTransactionIdDesc = 'STAKING_EVENTS_MIN_TRANSACTION_ID_DESC', - StakingEventsMinUpdatedAtAsc = 'STAKING_EVENTS_MIN_UPDATED_AT_ASC', - StakingEventsMinUpdatedAtDesc = 'STAKING_EVENTS_MIN_UPDATED_AT_DESC', - StakingEventsMinUpdatedBlockIdAsc = 'STAKING_EVENTS_MIN_UPDATED_BLOCK_ID_ASC', - StakingEventsMinUpdatedBlockIdDesc = 'STAKING_EVENTS_MIN_UPDATED_BLOCK_ID_DESC', - StakingEventsStddevPopulationAmountAsc = 'STAKING_EVENTS_STDDEV_POPULATION_AMOUNT_ASC', - StakingEventsStddevPopulationAmountDesc = 'STAKING_EVENTS_STDDEV_POPULATION_AMOUNT_DESC', - StakingEventsStddevPopulationCreatedAtAsc = 'STAKING_EVENTS_STDDEV_POPULATION_CREATED_AT_ASC', - StakingEventsStddevPopulationCreatedAtDesc = 'STAKING_EVENTS_STDDEV_POPULATION_CREATED_AT_DESC', - StakingEventsStddevPopulationCreatedBlockIdAsc = 'STAKING_EVENTS_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - StakingEventsStddevPopulationCreatedBlockIdDesc = 'STAKING_EVENTS_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - StakingEventsStddevPopulationDatetimeAsc = 'STAKING_EVENTS_STDDEV_POPULATION_DATETIME_ASC', - StakingEventsStddevPopulationDatetimeDesc = 'STAKING_EVENTS_STDDEV_POPULATION_DATETIME_DESC', - StakingEventsStddevPopulationEventIdAsc = 'STAKING_EVENTS_STDDEV_POPULATION_EVENT_ID_ASC', - StakingEventsStddevPopulationEventIdDesc = 'STAKING_EVENTS_STDDEV_POPULATION_EVENT_ID_DESC', - StakingEventsStddevPopulationIdentityIdAsc = 'STAKING_EVENTS_STDDEV_POPULATION_IDENTITY_ID_ASC', - StakingEventsStddevPopulationIdentityIdDesc = 'STAKING_EVENTS_STDDEV_POPULATION_IDENTITY_ID_DESC', - StakingEventsStddevPopulationIdAsc = 'STAKING_EVENTS_STDDEV_POPULATION_ID_ASC', - StakingEventsStddevPopulationIdDesc = 'STAKING_EVENTS_STDDEV_POPULATION_ID_DESC', - StakingEventsStddevPopulationNominatedValidatorsAsc = 'STAKING_EVENTS_STDDEV_POPULATION_NOMINATED_VALIDATORS_ASC', - StakingEventsStddevPopulationNominatedValidatorsDesc = 'STAKING_EVENTS_STDDEV_POPULATION_NOMINATED_VALIDATORS_DESC', - StakingEventsStddevPopulationStashAccountAsc = 'STAKING_EVENTS_STDDEV_POPULATION_STASH_ACCOUNT_ASC', - StakingEventsStddevPopulationStashAccountDesc = 'STAKING_EVENTS_STDDEV_POPULATION_STASH_ACCOUNT_DESC', - StakingEventsStddevPopulationTransactionIdAsc = 'STAKING_EVENTS_STDDEV_POPULATION_TRANSACTION_ID_ASC', - StakingEventsStddevPopulationTransactionIdDesc = 'STAKING_EVENTS_STDDEV_POPULATION_TRANSACTION_ID_DESC', - StakingEventsStddevPopulationUpdatedAtAsc = 'STAKING_EVENTS_STDDEV_POPULATION_UPDATED_AT_ASC', - StakingEventsStddevPopulationUpdatedAtDesc = 'STAKING_EVENTS_STDDEV_POPULATION_UPDATED_AT_DESC', - StakingEventsStddevPopulationUpdatedBlockIdAsc = 'STAKING_EVENTS_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - StakingEventsStddevPopulationUpdatedBlockIdDesc = 'STAKING_EVENTS_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - StakingEventsStddevSampleAmountAsc = 'STAKING_EVENTS_STDDEV_SAMPLE_AMOUNT_ASC', - StakingEventsStddevSampleAmountDesc = 'STAKING_EVENTS_STDDEV_SAMPLE_AMOUNT_DESC', - StakingEventsStddevSampleCreatedAtAsc = 'STAKING_EVENTS_STDDEV_SAMPLE_CREATED_AT_ASC', - StakingEventsStddevSampleCreatedAtDesc = 'STAKING_EVENTS_STDDEV_SAMPLE_CREATED_AT_DESC', - StakingEventsStddevSampleCreatedBlockIdAsc = 'STAKING_EVENTS_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - StakingEventsStddevSampleCreatedBlockIdDesc = 'STAKING_EVENTS_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - StakingEventsStddevSampleDatetimeAsc = 'STAKING_EVENTS_STDDEV_SAMPLE_DATETIME_ASC', - StakingEventsStddevSampleDatetimeDesc = 'STAKING_EVENTS_STDDEV_SAMPLE_DATETIME_DESC', - StakingEventsStddevSampleEventIdAsc = 'STAKING_EVENTS_STDDEV_SAMPLE_EVENT_ID_ASC', - StakingEventsStddevSampleEventIdDesc = 'STAKING_EVENTS_STDDEV_SAMPLE_EVENT_ID_DESC', - StakingEventsStddevSampleIdentityIdAsc = 'STAKING_EVENTS_STDDEV_SAMPLE_IDENTITY_ID_ASC', - StakingEventsStddevSampleIdentityIdDesc = 'STAKING_EVENTS_STDDEV_SAMPLE_IDENTITY_ID_DESC', - StakingEventsStddevSampleIdAsc = 'STAKING_EVENTS_STDDEV_SAMPLE_ID_ASC', - StakingEventsStddevSampleIdDesc = 'STAKING_EVENTS_STDDEV_SAMPLE_ID_DESC', - StakingEventsStddevSampleNominatedValidatorsAsc = 'STAKING_EVENTS_STDDEV_SAMPLE_NOMINATED_VALIDATORS_ASC', - StakingEventsStddevSampleNominatedValidatorsDesc = 'STAKING_EVENTS_STDDEV_SAMPLE_NOMINATED_VALIDATORS_DESC', - StakingEventsStddevSampleStashAccountAsc = 'STAKING_EVENTS_STDDEV_SAMPLE_STASH_ACCOUNT_ASC', - StakingEventsStddevSampleStashAccountDesc = 'STAKING_EVENTS_STDDEV_SAMPLE_STASH_ACCOUNT_DESC', - StakingEventsStddevSampleTransactionIdAsc = 'STAKING_EVENTS_STDDEV_SAMPLE_TRANSACTION_ID_ASC', - StakingEventsStddevSampleTransactionIdDesc = 'STAKING_EVENTS_STDDEV_SAMPLE_TRANSACTION_ID_DESC', - StakingEventsStddevSampleUpdatedAtAsc = 'STAKING_EVENTS_STDDEV_SAMPLE_UPDATED_AT_ASC', - StakingEventsStddevSampleUpdatedAtDesc = 'STAKING_EVENTS_STDDEV_SAMPLE_UPDATED_AT_DESC', - StakingEventsStddevSampleUpdatedBlockIdAsc = 'STAKING_EVENTS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - StakingEventsStddevSampleUpdatedBlockIdDesc = 'STAKING_EVENTS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - StakingEventsSumAmountAsc = 'STAKING_EVENTS_SUM_AMOUNT_ASC', - StakingEventsSumAmountDesc = 'STAKING_EVENTS_SUM_AMOUNT_DESC', - StakingEventsSumCreatedAtAsc = 'STAKING_EVENTS_SUM_CREATED_AT_ASC', - StakingEventsSumCreatedAtDesc = 'STAKING_EVENTS_SUM_CREATED_AT_DESC', - StakingEventsSumCreatedBlockIdAsc = 'STAKING_EVENTS_SUM_CREATED_BLOCK_ID_ASC', - StakingEventsSumCreatedBlockIdDesc = 'STAKING_EVENTS_SUM_CREATED_BLOCK_ID_DESC', - StakingEventsSumDatetimeAsc = 'STAKING_EVENTS_SUM_DATETIME_ASC', - StakingEventsSumDatetimeDesc = 'STAKING_EVENTS_SUM_DATETIME_DESC', - StakingEventsSumEventIdAsc = 'STAKING_EVENTS_SUM_EVENT_ID_ASC', - StakingEventsSumEventIdDesc = 'STAKING_EVENTS_SUM_EVENT_ID_DESC', - StakingEventsSumIdentityIdAsc = 'STAKING_EVENTS_SUM_IDENTITY_ID_ASC', - StakingEventsSumIdentityIdDesc = 'STAKING_EVENTS_SUM_IDENTITY_ID_DESC', - StakingEventsSumIdAsc = 'STAKING_EVENTS_SUM_ID_ASC', - StakingEventsSumIdDesc = 'STAKING_EVENTS_SUM_ID_DESC', - StakingEventsSumNominatedValidatorsAsc = 'STAKING_EVENTS_SUM_NOMINATED_VALIDATORS_ASC', - StakingEventsSumNominatedValidatorsDesc = 'STAKING_EVENTS_SUM_NOMINATED_VALIDATORS_DESC', - StakingEventsSumStashAccountAsc = 'STAKING_EVENTS_SUM_STASH_ACCOUNT_ASC', - StakingEventsSumStashAccountDesc = 'STAKING_EVENTS_SUM_STASH_ACCOUNT_DESC', - StakingEventsSumTransactionIdAsc = 'STAKING_EVENTS_SUM_TRANSACTION_ID_ASC', - StakingEventsSumTransactionIdDesc = 'STAKING_EVENTS_SUM_TRANSACTION_ID_DESC', - StakingEventsSumUpdatedAtAsc = 'STAKING_EVENTS_SUM_UPDATED_AT_ASC', - StakingEventsSumUpdatedAtDesc = 'STAKING_EVENTS_SUM_UPDATED_AT_DESC', - StakingEventsSumUpdatedBlockIdAsc = 'STAKING_EVENTS_SUM_UPDATED_BLOCK_ID_ASC', - StakingEventsSumUpdatedBlockIdDesc = 'STAKING_EVENTS_SUM_UPDATED_BLOCK_ID_DESC', - StakingEventsVariancePopulationAmountAsc = 'STAKING_EVENTS_VARIANCE_POPULATION_AMOUNT_ASC', - StakingEventsVariancePopulationAmountDesc = 'STAKING_EVENTS_VARIANCE_POPULATION_AMOUNT_DESC', - StakingEventsVariancePopulationCreatedAtAsc = 'STAKING_EVENTS_VARIANCE_POPULATION_CREATED_AT_ASC', - StakingEventsVariancePopulationCreatedAtDesc = 'STAKING_EVENTS_VARIANCE_POPULATION_CREATED_AT_DESC', - StakingEventsVariancePopulationCreatedBlockIdAsc = 'STAKING_EVENTS_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - StakingEventsVariancePopulationCreatedBlockIdDesc = 'STAKING_EVENTS_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - StakingEventsVariancePopulationDatetimeAsc = 'STAKING_EVENTS_VARIANCE_POPULATION_DATETIME_ASC', - StakingEventsVariancePopulationDatetimeDesc = 'STAKING_EVENTS_VARIANCE_POPULATION_DATETIME_DESC', - StakingEventsVariancePopulationEventIdAsc = 'STAKING_EVENTS_VARIANCE_POPULATION_EVENT_ID_ASC', - StakingEventsVariancePopulationEventIdDesc = 'STAKING_EVENTS_VARIANCE_POPULATION_EVENT_ID_DESC', - StakingEventsVariancePopulationIdentityIdAsc = 'STAKING_EVENTS_VARIANCE_POPULATION_IDENTITY_ID_ASC', - StakingEventsVariancePopulationIdentityIdDesc = 'STAKING_EVENTS_VARIANCE_POPULATION_IDENTITY_ID_DESC', - StakingEventsVariancePopulationIdAsc = 'STAKING_EVENTS_VARIANCE_POPULATION_ID_ASC', - StakingEventsVariancePopulationIdDesc = 'STAKING_EVENTS_VARIANCE_POPULATION_ID_DESC', - StakingEventsVariancePopulationNominatedValidatorsAsc = 'STAKING_EVENTS_VARIANCE_POPULATION_NOMINATED_VALIDATORS_ASC', - StakingEventsVariancePopulationNominatedValidatorsDesc = 'STAKING_EVENTS_VARIANCE_POPULATION_NOMINATED_VALIDATORS_DESC', - StakingEventsVariancePopulationStashAccountAsc = 'STAKING_EVENTS_VARIANCE_POPULATION_STASH_ACCOUNT_ASC', - StakingEventsVariancePopulationStashAccountDesc = 'STAKING_EVENTS_VARIANCE_POPULATION_STASH_ACCOUNT_DESC', - StakingEventsVariancePopulationTransactionIdAsc = 'STAKING_EVENTS_VARIANCE_POPULATION_TRANSACTION_ID_ASC', - StakingEventsVariancePopulationTransactionIdDesc = 'STAKING_EVENTS_VARIANCE_POPULATION_TRANSACTION_ID_DESC', - StakingEventsVariancePopulationUpdatedAtAsc = 'STAKING_EVENTS_VARIANCE_POPULATION_UPDATED_AT_ASC', - StakingEventsVariancePopulationUpdatedAtDesc = 'STAKING_EVENTS_VARIANCE_POPULATION_UPDATED_AT_DESC', - StakingEventsVariancePopulationUpdatedBlockIdAsc = 'STAKING_EVENTS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - StakingEventsVariancePopulationUpdatedBlockIdDesc = 'STAKING_EVENTS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - StakingEventsVarianceSampleAmountAsc = 'STAKING_EVENTS_VARIANCE_SAMPLE_AMOUNT_ASC', - StakingEventsVarianceSampleAmountDesc = 'STAKING_EVENTS_VARIANCE_SAMPLE_AMOUNT_DESC', - StakingEventsVarianceSampleCreatedAtAsc = 'STAKING_EVENTS_VARIANCE_SAMPLE_CREATED_AT_ASC', - StakingEventsVarianceSampleCreatedAtDesc = 'STAKING_EVENTS_VARIANCE_SAMPLE_CREATED_AT_DESC', - StakingEventsVarianceSampleCreatedBlockIdAsc = 'STAKING_EVENTS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - StakingEventsVarianceSampleCreatedBlockIdDesc = 'STAKING_EVENTS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - StakingEventsVarianceSampleDatetimeAsc = 'STAKING_EVENTS_VARIANCE_SAMPLE_DATETIME_ASC', - StakingEventsVarianceSampleDatetimeDesc = 'STAKING_EVENTS_VARIANCE_SAMPLE_DATETIME_DESC', - StakingEventsVarianceSampleEventIdAsc = 'STAKING_EVENTS_VARIANCE_SAMPLE_EVENT_ID_ASC', - StakingEventsVarianceSampleEventIdDesc = 'STAKING_EVENTS_VARIANCE_SAMPLE_EVENT_ID_DESC', - StakingEventsVarianceSampleIdentityIdAsc = 'STAKING_EVENTS_VARIANCE_SAMPLE_IDENTITY_ID_ASC', - StakingEventsVarianceSampleIdentityIdDesc = 'STAKING_EVENTS_VARIANCE_SAMPLE_IDENTITY_ID_DESC', - StakingEventsVarianceSampleIdAsc = 'STAKING_EVENTS_VARIANCE_SAMPLE_ID_ASC', - StakingEventsVarianceSampleIdDesc = 'STAKING_EVENTS_VARIANCE_SAMPLE_ID_DESC', - StakingEventsVarianceSampleNominatedValidatorsAsc = 'STAKING_EVENTS_VARIANCE_SAMPLE_NOMINATED_VALIDATORS_ASC', - StakingEventsVarianceSampleNominatedValidatorsDesc = 'STAKING_EVENTS_VARIANCE_SAMPLE_NOMINATED_VALIDATORS_DESC', - StakingEventsVarianceSampleStashAccountAsc = 'STAKING_EVENTS_VARIANCE_SAMPLE_STASH_ACCOUNT_ASC', - StakingEventsVarianceSampleStashAccountDesc = 'STAKING_EVENTS_VARIANCE_SAMPLE_STASH_ACCOUNT_DESC', - StakingEventsVarianceSampleTransactionIdAsc = 'STAKING_EVENTS_VARIANCE_SAMPLE_TRANSACTION_ID_ASC', - StakingEventsVarianceSampleTransactionIdDesc = 'STAKING_EVENTS_VARIANCE_SAMPLE_TRANSACTION_ID_DESC', - StakingEventsVarianceSampleUpdatedAtAsc = 'STAKING_EVENTS_VARIANCE_SAMPLE_UPDATED_AT_ASC', - StakingEventsVarianceSampleUpdatedAtDesc = 'STAKING_EVENTS_VARIANCE_SAMPLE_UPDATED_AT_DESC', - StakingEventsVarianceSampleUpdatedBlockIdAsc = 'STAKING_EVENTS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - StakingEventsVarianceSampleUpdatedBlockIdDesc = 'STAKING_EVENTS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - StatTypesByClaimIssuerIdAverageAssetIdAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_AVERAGE_ASSET_ID_ASC', - StatTypesByClaimIssuerIdAverageAssetIdDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_AVERAGE_ASSET_ID_DESC', - StatTypesByClaimIssuerIdAverageClaimIssuerIdAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_AVERAGE_CLAIM_ISSUER_ID_ASC', - StatTypesByClaimIssuerIdAverageClaimIssuerIdDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_AVERAGE_CLAIM_ISSUER_ID_DESC', - StatTypesByClaimIssuerIdAverageClaimTypeAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_AVERAGE_CLAIM_TYPE_ASC', - StatTypesByClaimIssuerIdAverageClaimTypeDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_AVERAGE_CLAIM_TYPE_DESC', - StatTypesByClaimIssuerIdAverageCreatedAtAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_AVERAGE_CREATED_AT_ASC', - StatTypesByClaimIssuerIdAverageCreatedAtDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_AVERAGE_CREATED_AT_DESC', - StatTypesByClaimIssuerIdAverageCreatedBlockIdAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - StatTypesByClaimIssuerIdAverageCreatedBlockIdDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - StatTypesByClaimIssuerIdAverageIdAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_AVERAGE_ID_ASC', - StatTypesByClaimIssuerIdAverageIdDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_AVERAGE_ID_DESC', - StatTypesByClaimIssuerIdAverageOpTypeAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_AVERAGE_OP_TYPE_ASC', - StatTypesByClaimIssuerIdAverageOpTypeDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_AVERAGE_OP_TYPE_DESC', - StatTypesByClaimIssuerIdAverageUpdatedAtAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_AVERAGE_UPDATED_AT_ASC', - StatTypesByClaimIssuerIdAverageUpdatedAtDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_AVERAGE_UPDATED_AT_DESC', - StatTypesByClaimIssuerIdAverageUpdatedBlockIdAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - StatTypesByClaimIssuerIdAverageUpdatedBlockIdDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - StatTypesByClaimIssuerIdCountAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_COUNT_ASC', - StatTypesByClaimIssuerIdCountDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_COUNT_DESC', - StatTypesByClaimIssuerIdDistinctCountAssetIdAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_DISTINCT_COUNT_ASSET_ID_ASC', - StatTypesByClaimIssuerIdDistinctCountAssetIdDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_DISTINCT_COUNT_ASSET_ID_DESC', - StatTypesByClaimIssuerIdDistinctCountClaimIssuerIdAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_DISTINCT_COUNT_CLAIM_ISSUER_ID_ASC', - StatTypesByClaimIssuerIdDistinctCountClaimIssuerIdDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_DISTINCT_COUNT_CLAIM_ISSUER_ID_DESC', - StatTypesByClaimIssuerIdDistinctCountClaimTypeAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_DISTINCT_COUNT_CLAIM_TYPE_ASC', - StatTypesByClaimIssuerIdDistinctCountClaimTypeDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_DISTINCT_COUNT_CLAIM_TYPE_DESC', - StatTypesByClaimIssuerIdDistinctCountCreatedAtAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_DISTINCT_COUNT_CREATED_AT_ASC', - StatTypesByClaimIssuerIdDistinctCountCreatedAtDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_DISTINCT_COUNT_CREATED_AT_DESC', - StatTypesByClaimIssuerIdDistinctCountCreatedBlockIdAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - StatTypesByClaimIssuerIdDistinctCountCreatedBlockIdDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - StatTypesByClaimIssuerIdDistinctCountIdAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_DISTINCT_COUNT_ID_ASC', - StatTypesByClaimIssuerIdDistinctCountIdDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_DISTINCT_COUNT_ID_DESC', - StatTypesByClaimIssuerIdDistinctCountOpTypeAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_DISTINCT_COUNT_OP_TYPE_ASC', - StatTypesByClaimIssuerIdDistinctCountOpTypeDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_DISTINCT_COUNT_OP_TYPE_DESC', - StatTypesByClaimIssuerIdDistinctCountUpdatedAtAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - StatTypesByClaimIssuerIdDistinctCountUpdatedAtDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - StatTypesByClaimIssuerIdDistinctCountUpdatedBlockIdAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - StatTypesByClaimIssuerIdDistinctCountUpdatedBlockIdDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - StatTypesByClaimIssuerIdMaxAssetIdAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_MAX_ASSET_ID_ASC', - StatTypesByClaimIssuerIdMaxAssetIdDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_MAX_ASSET_ID_DESC', - StatTypesByClaimIssuerIdMaxClaimIssuerIdAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_MAX_CLAIM_ISSUER_ID_ASC', - StatTypesByClaimIssuerIdMaxClaimIssuerIdDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_MAX_CLAIM_ISSUER_ID_DESC', - StatTypesByClaimIssuerIdMaxClaimTypeAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_MAX_CLAIM_TYPE_ASC', - StatTypesByClaimIssuerIdMaxClaimTypeDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_MAX_CLAIM_TYPE_DESC', - StatTypesByClaimIssuerIdMaxCreatedAtAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_MAX_CREATED_AT_ASC', - StatTypesByClaimIssuerIdMaxCreatedAtDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_MAX_CREATED_AT_DESC', - StatTypesByClaimIssuerIdMaxCreatedBlockIdAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_MAX_CREATED_BLOCK_ID_ASC', - StatTypesByClaimIssuerIdMaxCreatedBlockIdDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_MAX_CREATED_BLOCK_ID_DESC', - StatTypesByClaimIssuerIdMaxIdAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_MAX_ID_ASC', - StatTypesByClaimIssuerIdMaxIdDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_MAX_ID_DESC', - StatTypesByClaimIssuerIdMaxOpTypeAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_MAX_OP_TYPE_ASC', - StatTypesByClaimIssuerIdMaxOpTypeDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_MAX_OP_TYPE_DESC', - StatTypesByClaimIssuerIdMaxUpdatedAtAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_MAX_UPDATED_AT_ASC', - StatTypesByClaimIssuerIdMaxUpdatedAtDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_MAX_UPDATED_AT_DESC', - StatTypesByClaimIssuerIdMaxUpdatedBlockIdAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_MAX_UPDATED_BLOCK_ID_ASC', - StatTypesByClaimIssuerIdMaxUpdatedBlockIdDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_MAX_UPDATED_BLOCK_ID_DESC', - StatTypesByClaimIssuerIdMinAssetIdAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_MIN_ASSET_ID_ASC', - StatTypesByClaimIssuerIdMinAssetIdDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_MIN_ASSET_ID_DESC', - StatTypesByClaimIssuerIdMinClaimIssuerIdAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_MIN_CLAIM_ISSUER_ID_ASC', - StatTypesByClaimIssuerIdMinClaimIssuerIdDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_MIN_CLAIM_ISSUER_ID_DESC', - StatTypesByClaimIssuerIdMinClaimTypeAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_MIN_CLAIM_TYPE_ASC', - StatTypesByClaimIssuerIdMinClaimTypeDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_MIN_CLAIM_TYPE_DESC', - StatTypesByClaimIssuerIdMinCreatedAtAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_MIN_CREATED_AT_ASC', - StatTypesByClaimIssuerIdMinCreatedAtDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_MIN_CREATED_AT_DESC', - StatTypesByClaimIssuerIdMinCreatedBlockIdAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_MIN_CREATED_BLOCK_ID_ASC', - StatTypesByClaimIssuerIdMinCreatedBlockIdDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_MIN_CREATED_BLOCK_ID_DESC', - StatTypesByClaimIssuerIdMinIdAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_MIN_ID_ASC', - StatTypesByClaimIssuerIdMinIdDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_MIN_ID_DESC', - StatTypesByClaimIssuerIdMinOpTypeAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_MIN_OP_TYPE_ASC', - StatTypesByClaimIssuerIdMinOpTypeDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_MIN_OP_TYPE_DESC', - StatTypesByClaimIssuerIdMinUpdatedAtAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_MIN_UPDATED_AT_ASC', - StatTypesByClaimIssuerIdMinUpdatedAtDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_MIN_UPDATED_AT_DESC', - StatTypesByClaimIssuerIdMinUpdatedBlockIdAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_MIN_UPDATED_BLOCK_ID_ASC', - StatTypesByClaimIssuerIdMinUpdatedBlockIdDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_MIN_UPDATED_BLOCK_ID_DESC', - StatTypesByClaimIssuerIdStddevPopulationAssetIdAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_STDDEV_POPULATION_ASSET_ID_ASC', - StatTypesByClaimIssuerIdStddevPopulationAssetIdDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_STDDEV_POPULATION_ASSET_ID_DESC', - StatTypesByClaimIssuerIdStddevPopulationClaimIssuerIdAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_STDDEV_POPULATION_CLAIM_ISSUER_ID_ASC', - StatTypesByClaimIssuerIdStddevPopulationClaimIssuerIdDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_STDDEV_POPULATION_CLAIM_ISSUER_ID_DESC', - StatTypesByClaimIssuerIdStddevPopulationClaimTypeAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_STDDEV_POPULATION_CLAIM_TYPE_ASC', - StatTypesByClaimIssuerIdStddevPopulationClaimTypeDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_STDDEV_POPULATION_CLAIM_TYPE_DESC', - StatTypesByClaimIssuerIdStddevPopulationCreatedAtAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_STDDEV_POPULATION_CREATED_AT_ASC', - StatTypesByClaimIssuerIdStddevPopulationCreatedAtDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_STDDEV_POPULATION_CREATED_AT_DESC', - StatTypesByClaimIssuerIdStddevPopulationCreatedBlockIdAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - StatTypesByClaimIssuerIdStddevPopulationCreatedBlockIdDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - StatTypesByClaimIssuerIdStddevPopulationIdAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_STDDEV_POPULATION_ID_ASC', - StatTypesByClaimIssuerIdStddevPopulationIdDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_STDDEV_POPULATION_ID_DESC', - StatTypesByClaimIssuerIdStddevPopulationOpTypeAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_STDDEV_POPULATION_OP_TYPE_ASC', - StatTypesByClaimIssuerIdStddevPopulationOpTypeDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_STDDEV_POPULATION_OP_TYPE_DESC', - StatTypesByClaimIssuerIdStddevPopulationUpdatedAtAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - StatTypesByClaimIssuerIdStddevPopulationUpdatedAtDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - StatTypesByClaimIssuerIdStddevPopulationUpdatedBlockIdAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - StatTypesByClaimIssuerIdStddevPopulationUpdatedBlockIdDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - StatTypesByClaimIssuerIdStddevSampleAssetIdAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_STDDEV_SAMPLE_ASSET_ID_ASC', - StatTypesByClaimIssuerIdStddevSampleAssetIdDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_STDDEV_SAMPLE_ASSET_ID_DESC', - StatTypesByClaimIssuerIdStddevSampleClaimIssuerIdAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_STDDEV_SAMPLE_CLAIM_ISSUER_ID_ASC', - StatTypesByClaimIssuerIdStddevSampleClaimIssuerIdDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_STDDEV_SAMPLE_CLAIM_ISSUER_ID_DESC', - StatTypesByClaimIssuerIdStddevSampleClaimTypeAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_STDDEV_SAMPLE_CLAIM_TYPE_ASC', - StatTypesByClaimIssuerIdStddevSampleClaimTypeDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_STDDEV_SAMPLE_CLAIM_TYPE_DESC', - StatTypesByClaimIssuerIdStddevSampleCreatedAtAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - StatTypesByClaimIssuerIdStddevSampleCreatedAtDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - StatTypesByClaimIssuerIdStddevSampleCreatedBlockIdAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - StatTypesByClaimIssuerIdStddevSampleCreatedBlockIdDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - StatTypesByClaimIssuerIdStddevSampleIdAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_STDDEV_SAMPLE_ID_ASC', - StatTypesByClaimIssuerIdStddevSampleIdDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_STDDEV_SAMPLE_ID_DESC', - StatTypesByClaimIssuerIdStddevSampleOpTypeAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_STDDEV_SAMPLE_OP_TYPE_ASC', - StatTypesByClaimIssuerIdStddevSampleOpTypeDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_STDDEV_SAMPLE_OP_TYPE_DESC', - StatTypesByClaimIssuerIdStddevSampleUpdatedAtAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - StatTypesByClaimIssuerIdStddevSampleUpdatedAtDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - StatTypesByClaimIssuerIdStddevSampleUpdatedBlockIdAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - StatTypesByClaimIssuerIdStddevSampleUpdatedBlockIdDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - StatTypesByClaimIssuerIdSumAssetIdAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_SUM_ASSET_ID_ASC', - StatTypesByClaimIssuerIdSumAssetIdDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_SUM_ASSET_ID_DESC', - StatTypesByClaimIssuerIdSumClaimIssuerIdAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_SUM_CLAIM_ISSUER_ID_ASC', - StatTypesByClaimIssuerIdSumClaimIssuerIdDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_SUM_CLAIM_ISSUER_ID_DESC', - StatTypesByClaimIssuerIdSumClaimTypeAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_SUM_CLAIM_TYPE_ASC', - StatTypesByClaimIssuerIdSumClaimTypeDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_SUM_CLAIM_TYPE_DESC', - StatTypesByClaimIssuerIdSumCreatedAtAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_SUM_CREATED_AT_ASC', - StatTypesByClaimIssuerIdSumCreatedAtDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_SUM_CREATED_AT_DESC', - StatTypesByClaimIssuerIdSumCreatedBlockIdAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_SUM_CREATED_BLOCK_ID_ASC', - StatTypesByClaimIssuerIdSumCreatedBlockIdDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_SUM_CREATED_BLOCK_ID_DESC', - StatTypesByClaimIssuerIdSumIdAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_SUM_ID_ASC', - StatTypesByClaimIssuerIdSumIdDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_SUM_ID_DESC', - StatTypesByClaimIssuerIdSumOpTypeAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_SUM_OP_TYPE_ASC', - StatTypesByClaimIssuerIdSumOpTypeDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_SUM_OP_TYPE_DESC', - StatTypesByClaimIssuerIdSumUpdatedAtAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_SUM_UPDATED_AT_ASC', - StatTypesByClaimIssuerIdSumUpdatedAtDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_SUM_UPDATED_AT_DESC', - StatTypesByClaimIssuerIdSumUpdatedBlockIdAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_SUM_UPDATED_BLOCK_ID_ASC', - StatTypesByClaimIssuerIdSumUpdatedBlockIdDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_SUM_UPDATED_BLOCK_ID_DESC', - StatTypesByClaimIssuerIdVariancePopulationAssetIdAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_VARIANCE_POPULATION_ASSET_ID_ASC', - StatTypesByClaimIssuerIdVariancePopulationAssetIdDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_VARIANCE_POPULATION_ASSET_ID_DESC', - StatTypesByClaimIssuerIdVariancePopulationClaimIssuerIdAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_VARIANCE_POPULATION_CLAIM_ISSUER_ID_ASC', - StatTypesByClaimIssuerIdVariancePopulationClaimIssuerIdDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_VARIANCE_POPULATION_CLAIM_ISSUER_ID_DESC', - StatTypesByClaimIssuerIdVariancePopulationClaimTypeAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_VARIANCE_POPULATION_CLAIM_TYPE_ASC', - StatTypesByClaimIssuerIdVariancePopulationClaimTypeDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_VARIANCE_POPULATION_CLAIM_TYPE_DESC', - StatTypesByClaimIssuerIdVariancePopulationCreatedAtAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - StatTypesByClaimIssuerIdVariancePopulationCreatedAtDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - StatTypesByClaimIssuerIdVariancePopulationCreatedBlockIdAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - StatTypesByClaimIssuerIdVariancePopulationCreatedBlockIdDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - StatTypesByClaimIssuerIdVariancePopulationIdAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_VARIANCE_POPULATION_ID_ASC', - StatTypesByClaimIssuerIdVariancePopulationIdDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_VARIANCE_POPULATION_ID_DESC', - StatTypesByClaimIssuerIdVariancePopulationOpTypeAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_VARIANCE_POPULATION_OP_TYPE_ASC', - StatTypesByClaimIssuerIdVariancePopulationOpTypeDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_VARIANCE_POPULATION_OP_TYPE_DESC', - StatTypesByClaimIssuerIdVariancePopulationUpdatedAtAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - StatTypesByClaimIssuerIdVariancePopulationUpdatedAtDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - StatTypesByClaimIssuerIdVariancePopulationUpdatedBlockIdAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - StatTypesByClaimIssuerIdVariancePopulationUpdatedBlockIdDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - StatTypesByClaimIssuerIdVarianceSampleAssetIdAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_VARIANCE_SAMPLE_ASSET_ID_ASC', - StatTypesByClaimIssuerIdVarianceSampleAssetIdDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_VARIANCE_SAMPLE_ASSET_ID_DESC', - StatTypesByClaimIssuerIdVarianceSampleClaimIssuerIdAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_VARIANCE_SAMPLE_CLAIM_ISSUER_ID_ASC', - StatTypesByClaimIssuerIdVarianceSampleClaimIssuerIdDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_VARIANCE_SAMPLE_CLAIM_ISSUER_ID_DESC', - StatTypesByClaimIssuerIdVarianceSampleClaimTypeAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_VARIANCE_SAMPLE_CLAIM_TYPE_ASC', - StatTypesByClaimIssuerIdVarianceSampleClaimTypeDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_VARIANCE_SAMPLE_CLAIM_TYPE_DESC', - StatTypesByClaimIssuerIdVarianceSampleCreatedAtAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - StatTypesByClaimIssuerIdVarianceSampleCreatedAtDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - StatTypesByClaimIssuerIdVarianceSampleCreatedBlockIdAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - StatTypesByClaimIssuerIdVarianceSampleCreatedBlockIdDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - StatTypesByClaimIssuerIdVarianceSampleIdAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_VARIANCE_SAMPLE_ID_ASC', - StatTypesByClaimIssuerIdVarianceSampleIdDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_VARIANCE_SAMPLE_ID_DESC', - StatTypesByClaimIssuerIdVarianceSampleOpTypeAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_VARIANCE_SAMPLE_OP_TYPE_ASC', - StatTypesByClaimIssuerIdVarianceSampleOpTypeDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_VARIANCE_SAMPLE_OP_TYPE_DESC', - StatTypesByClaimIssuerIdVarianceSampleUpdatedAtAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - StatTypesByClaimIssuerIdVarianceSampleUpdatedAtDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - StatTypesByClaimIssuerIdVarianceSampleUpdatedBlockIdAsc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - StatTypesByClaimIssuerIdVarianceSampleUpdatedBlockIdDesc = 'STAT_TYPES_BY_CLAIM_ISSUER_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - StosByCreatorIdAverageCreatedAtAsc = 'STOS_BY_CREATOR_ID_AVERAGE_CREATED_AT_ASC', - StosByCreatorIdAverageCreatedAtDesc = 'STOS_BY_CREATOR_ID_AVERAGE_CREATED_AT_DESC', - StosByCreatorIdAverageCreatedBlockIdAsc = 'STOS_BY_CREATOR_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - StosByCreatorIdAverageCreatedBlockIdDesc = 'STOS_BY_CREATOR_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - StosByCreatorIdAverageCreatorIdAsc = 'STOS_BY_CREATOR_ID_AVERAGE_CREATOR_ID_ASC', - StosByCreatorIdAverageCreatorIdDesc = 'STOS_BY_CREATOR_ID_AVERAGE_CREATOR_ID_DESC', - StosByCreatorIdAverageEndAsc = 'STOS_BY_CREATOR_ID_AVERAGE_END_ASC', - StosByCreatorIdAverageEndDesc = 'STOS_BY_CREATOR_ID_AVERAGE_END_DESC', - StosByCreatorIdAverageIdAsc = 'STOS_BY_CREATOR_ID_AVERAGE_ID_ASC', - StosByCreatorIdAverageIdDesc = 'STOS_BY_CREATOR_ID_AVERAGE_ID_DESC', - StosByCreatorIdAverageMinimumInvestmentAsc = 'STOS_BY_CREATOR_ID_AVERAGE_MINIMUM_INVESTMENT_ASC', - StosByCreatorIdAverageMinimumInvestmentDesc = 'STOS_BY_CREATOR_ID_AVERAGE_MINIMUM_INVESTMENT_DESC', - StosByCreatorIdAverageNameAsc = 'STOS_BY_CREATOR_ID_AVERAGE_NAME_ASC', - StosByCreatorIdAverageNameDesc = 'STOS_BY_CREATOR_ID_AVERAGE_NAME_DESC', - StosByCreatorIdAverageOfferingAssetIdAsc = 'STOS_BY_CREATOR_ID_AVERAGE_OFFERING_ASSET_ID_ASC', - StosByCreatorIdAverageOfferingAssetIdDesc = 'STOS_BY_CREATOR_ID_AVERAGE_OFFERING_ASSET_ID_DESC', - StosByCreatorIdAverageOfferingPortfolioIdAsc = 'STOS_BY_CREATOR_ID_AVERAGE_OFFERING_PORTFOLIO_ID_ASC', - StosByCreatorIdAverageOfferingPortfolioIdDesc = 'STOS_BY_CREATOR_ID_AVERAGE_OFFERING_PORTFOLIO_ID_DESC', - StosByCreatorIdAverageRaisingAssetIdAsc = 'STOS_BY_CREATOR_ID_AVERAGE_RAISING_ASSET_ID_ASC', - StosByCreatorIdAverageRaisingAssetIdDesc = 'STOS_BY_CREATOR_ID_AVERAGE_RAISING_ASSET_ID_DESC', - StosByCreatorIdAverageRaisingPortfolioIdAsc = 'STOS_BY_CREATOR_ID_AVERAGE_RAISING_PORTFOLIO_ID_ASC', - StosByCreatorIdAverageRaisingPortfolioIdDesc = 'STOS_BY_CREATOR_ID_AVERAGE_RAISING_PORTFOLIO_ID_DESC', - StosByCreatorIdAverageStartAsc = 'STOS_BY_CREATOR_ID_AVERAGE_START_ASC', - StosByCreatorIdAverageStartDesc = 'STOS_BY_CREATOR_ID_AVERAGE_START_DESC', - StosByCreatorIdAverageStatusAsc = 'STOS_BY_CREATOR_ID_AVERAGE_STATUS_ASC', - StosByCreatorIdAverageStatusDesc = 'STOS_BY_CREATOR_ID_AVERAGE_STATUS_DESC', - StosByCreatorIdAverageStoIdAsc = 'STOS_BY_CREATOR_ID_AVERAGE_STO_ID_ASC', - StosByCreatorIdAverageStoIdDesc = 'STOS_BY_CREATOR_ID_AVERAGE_STO_ID_DESC', - StosByCreatorIdAverageTiersAsc = 'STOS_BY_CREATOR_ID_AVERAGE_TIERS_ASC', - StosByCreatorIdAverageTiersDesc = 'STOS_BY_CREATOR_ID_AVERAGE_TIERS_DESC', - StosByCreatorIdAverageUpdatedAtAsc = 'STOS_BY_CREATOR_ID_AVERAGE_UPDATED_AT_ASC', - StosByCreatorIdAverageUpdatedAtDesc = 'STOS_BY_CREATOR_ID_AVERAGE_UPDATED_AT_DESC', - StosByCreatorIdAverageUpdatedBlockIdAsc = 'STOS_BY_CREATOR_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - StosByCreatorIdAverageUpdatedBlockIdDesc = 'STOS_BY_CREATOR_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - StosByCreatorIdAverageVenueIdAsc = 'STOS_BY_CREATOR_ID_AVERAGE_VENUE_ID_ASC', - StosByCreatorIdAverageVenueIdDesc = 'STOS_BY_CREATOR_ID_AVERAGE_VENUE_ID_DESC', - StosByCreatorIdCountAsc = 'STOS_BY_CREATOR_ID_COUNT_ASC', - StosByCreatorIdCountDesc = 'STOS_BY_CREATOR_ID_COUNT_DESC', - StosByCreatorIdDistinctCountCreatedAtAsc = 'STOS_BY_CREATOR_ID_DISTINCT_COUNT_CREATED_AT_ASC', - StosByCreatorIdDistinctCountCreatedAtDesc = 'STOS_BY_CREATOR_ID_DISTINCT_COUNT_CREATED_AT_DESC', - StosByCreatorIdDistinctCountCreatedBlockIdAsc = 'STOS_BY_CREATOR_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - StosByCreatorIdDistinctCountCreatedBlockIdDesc = 'STOS_BY_CREATOR_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - StosByCreatorIdDistinctCountCreatorIdAsc = 'STOS_BY_CREATOR_ID_DISTINCT_COUNT_CREATOR_ID_ASC', - StosByCreatorIdDistinctCountCreatorIdDesc = 'STOS_BY_CREATOR_ID_DISTINCT_COUNT_CREATOR_ID_DESC', - StosByCreatorIdDistinctCountEndAsc = 'STOS_BY_CREATOR_ID_DISTINCT_COUNT_END_ASC', - StosByCreatorIdDistinctCountEndDesc = 'STOS_BY_CREATOR_ID_DISTINCT_COUNT_END_DESC', - StosByCreatorIdDistinctCountIdAsc = 'STOS_BY_CREATOR_ID_DISTINCT_COUNT_ID_ASC', - StosByCreatorIdDistinctCountIdDesc = 'STOS_BY_CREATOR_ID_DISTINCT_COUNT_ID_DESC', - StosByCreatorIdDistinctCountMinimumInvestmentAsc = 'STOS_BY_CREATOR_ID_DISTINCT_COUNT_MINIMUM_INVESTMENT_ASC', - StosByCreatorIdDistinctCountMinimumInvestmentDesc = 'STOS_BY_CREATOR_ID_DISTINCT_COUNT_MINIMUM_INVESTMENT_DESC', - StosByCreatorIdDistinctCountNameAsc = 'STOS_BY_CREATOR_ID_DISTINCT_COUNT_NAME_ASC', - StosByCreatorIdDistinctCountNameDesc = 'STOS_BY_CREATOR_ID_DISTINCT_COUNT_NAME_DESC', - StosByCreatorIdDistinctCountOfferingAssetIdAsc = 'STOS_BY_CREATOR_ID_DISTINCT_COUNT_OFFERING_ASSET_ID_ASC', - StosByCreatorIdDistinctCountOfferingAssetIdDesc = 'STOS_BY_CREATOR_ID_DISTINCT_COUNT_OFFERING_ASSET_ID_DESC', - StosByCreatorIdDistinctCountOfferingPortfolioIdAsc = 'STOS_BY_CREATOR_ID_DISTINCT_COUNT_OFFERING_PORTFOLIO_ID_ASC', - StosByCreatorIdDistinctCountOfferingPortfolioIdDesc = 'STOS_BY_CREATOR_ID_DISTINCT_COUNT_OFFERING_PORTFOLIO_ID_DESC', - StosByCreatorIdDistinctCountRaisingAssetIdAsc = 'STOS_BY_CREATOR_ID_DISTINCT_COUNT_RAISING_ASSET_ID_ASC', - StosByCreatorIdDistinctCountRaisingAssetIdDesc = 'STOS_BY_CREATOR_ID_DISTINCT_COUNT_RAISING_ASSET_ID_DESC', - StosByCreatorIdDistinctCountRaisingPortfolioIdAsc = 'STOS_BY_CREATOR_ID_DISTINCT_COUNT_RAISING_PORTFOLIO_ID_ASC', - StosByCreatorIdDistinctCountRaisingPortfolioIdDesc = 'STOS_BY_CREATOR_ID_DISTINCT_COUNT_RAISING_PORTFOLIO_ID_DESC', - StosByCreatorIdDistinctCountStartAsc = 'STOS_BY_CREATOR_ID_DISTINCT_COUNT_START_ASC', - StosByCreatorIdDistinctCountStartDesc = 'STOS_BY_CREATOR_ID_DISTINCT_COUNT_START_DESC', - StosByCreatorIdDistinctCountStatusAsc = 'STOS_BY_CREATOR_ID_DISTINCT_COUNT_STATUS_ASC', - StosByCreatorIdDistinctCountStatusDesc = 'STOS_BY_CREATOR_ID_DISTINCT_COUNT_STATUS_DESC', - StosByCreatorIdDistinctCountStoIdAsc = 'STOS_BY_CREATOR_ID_DISTINCT_COUNT_STO_ID_ASC', - StosByCreatorIdDistinctCountStoIdDesc = 'STOS_BY_CREATOR_ID_DISTINCT_COUNT_STO_ID_DESC', - StosByCreatorIdDistinctCountTiersAsc = 'STOS_BY_CREATOR_ID_DISTINCT_COUNT_TIERS_ASC', - StosByCreatorIdDistinctCountTiersDesc = 'STOS_BY_CREATOR_ID_DISTINCT_COUNT_TIERS_DESC', - StosByCreatorIdDistinctCountUpdatedAtAsc = 'STOS_BY_CREATOR_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - StosByCreatorIdDistinctCountUpdatedAtDesc = 'STOS_BY_CREATOR_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - StosByCreatorIdDistinctCountUpdatedBlockIdAsc = 'STOS_BY_CREATOR_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - StosByCreatorIdDistinctCountUpdatedBlockIdDesc = 'STOS_BY_CREATOR_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - StosByCreatorIdDistinctCountVenueIdAsc = 'STOS_BY_CREATOR_ID_DISTINCT_COUNT_VENUE_ID_ASC', - StosByCreatorIdDistinctCountVenueIdDesc = 'STOS_BY_CREATOR_ID_DISTINCT_COUNT_VENUE_ID_DESC', - StosByCreatorIdMaxCreatedAtAsc = 'STOS_BY_CREATOR_ID_MAX_CREATED_AT_ASC', - StosByCreatorIdMaxCreatedAtDesc = 'STOS_BY_CREATOR_ID_MAX_CREATED_AT_DESC', - StosByCreatorIdMaxCreatedBlockIdAsc = 'STOS_BY_CREATOR_ID_MAX_CREATED_BLOCK_ID_ASC', - StosByCreatorIdMaxCreatedBlockIdDesc = 'STOS_BY_CREATOR_ID_MAX_CREATED_BLOCK_ID_DESC', - StosByCreatorIdMaxCreatorIdAsc = 'STOS_BY_CREATOR_ID_MAX_CREATOR_ID_ASC', - StosByCreatorIdMaxCreatorIdDesc = 'STOS_BY_CREATOR_ID_MAX_CREATOR_ID_DESC', - StosByCreatorIdMaxEndAsc = 'STOS_BY_CREATOR_ID_MAX_END_ASC', - StosByCreatorIdMaxEndDesc = 'STOS_BY_CREATOR_ID_MAX_END_DESC', - StosByCreatorIdMaxIdAsc = 'STOS_BY_CREATOR_ID_MAX_ID_ASC', - StosByCreatorIdMaxIdDesc = 'STOS_BY_CREATOR_ID_MAX_ID_DESC', - StosByCreatorIdMaxMinimumInvestmentAsc = 'STOS_BY_CREATOR_ID_MAX_MINIMUM_INVESTMENT_ASC', - StosByCreatorIdMaxMinimumInvestmentDesc = 'STOS_BY_CREATOR_ID_MAX_MINIMUM_INVESTMENT_DESC', - StosByCreatorIdMaxNameAsc = 'STOS_BY_CREATOR_ID_MAX_NAME_ASC', - StosByCreatorIdMaxNameDesc = 'STOS_BY_CREATOR_ID_MAX_NAME_DESC', - StosByCreatorIdMaxOfferingAssetIdAsc = 'STOS_BY_CREATOR_ID_MAX_OFFERING_ASSET_ID_ASC', - StosByCreatorIdMaxOfferingAssetIdDesc = 'STOS_BY_CREATOR_ID_MAX_OFFERING_ASSET_ID_DESC', - StosByCreatorIdMaxOfferingPortfolioIdAsc = 'STOS_BY_CREATOR_ID_MAX_OFFERING_PORTFOLIO_ID_ASC', - StosByCreatorIdMaxOfferingPortfolioIdDesc = 'STOS_BY_CREATOR_ID_MAX_OFFERING_PORTFOLIO_ID_DESC', - StosByCreatorIdMaxRaisingAssetIdAsc = 'STOS_BY_CREATOR_ID_MAX_RAISING_ASSET_ID_ASC', - StosByCreatorIdMaxRaisingAssetIdDesc = 'STOS_BY_CREATOR_ID_MAX_RAISING_ASSET_ID_DESC', - StosByCreatorIdMaxRaisingPortfolioIdAsc = 'STOS_BY_CREATOR_ID_MAX_RAISING_PORTFOLIO_ID_ASC', - StosByCreatorIdMaxRaisingPortfolioIdDesc = 'STOS_BY_CREATOR_ID_MAX_RAISING_PORTFOLIO_ID_DESC', - StosByCreatorIdMaxStartAsc = 'STOS_BY_CREATOR_ID_MAX_START_ASC', - StosByCreatorIdMaxStartDesc = 'STOS_BY_CREATOR_ID_MAX_START_DESC', - StosByCreatorIdMaxStatusAsc = 'STOS_BY_CREATOR_ID_MAX_STATUS_ASC', - StosByCreatorIdMaxStatusDesc = 'STOS_BY_CREATOR_ID_MAX_STATUS_DESC', - StosByCreatorIdMaxStoIdAsc = 'STOS_BY_CREATOR_ID_MAX_STO_ID_ASC', - StosByCreatorIdMaxStoIdDesc = 'STOS_BY_CREATOR_ID_MAX_STO_ID_DESC', - StosByCreatorIdMaxTiersAsc = 'STOS_BY_CREATOR_ID_MAX_TIERS_ASC', - StosByCreatorIdMaxTiersDesc = 'STOS_BY_CREATOR_ID_MAX_TIERS_DESC', - StosByCreatorIdMaxUpdatedAtAsc = 'STOS_BY_CREATOR_ID_MAX_UPDATED_AT_ASC', - StosByCreatorIdMaxUpdatedAtDesc = 'STOS_BY_CREATOR_ID_MAX_UPDATED_AT_DESC', - StosByCreatorIdMaxUpdatedBlockIdAsc = 'STOS_BY_CREATOR_ID_MAX_UPDATED_BLOCK_ID_ASC', - StosByCreatorIdMaxUpdatedBlockIdDesc = 'STOS_BY_CREATOR_ID_MAX_UPDATED_BLOCK_ID_DESC', - StosByCreatorIdMaxVenueIdAsc = 'STOS_BY_CREATOR_ID_MAX_VENUE_ID_ASC', - StosByCreatorIdMaxVenueIdDesc = 'STOS_BY_CREATOR_ID_MAX_VENUE_ID_DESC', - StosByCreatorIdMinCreatedAtAsc = 'STOS_BY_CREATOR_ID_MIN_CREATED_AT_ASC', - StosByCreatorIdMinCreatedAtDesc = 'STOS_BY_CREATOR_ID_MIN_CREATED_AT_DESC', - StosByCreatorIdMinCreatedBlockIdAsc = 'STOS_BY_CREATOR_ID_MIN_CREATED_BLOCK_ID_ASC', - StosByCreatorIdMinCreatedBlockIdDesc = 'STOS_BY_CREATOR_ID_MIN_CREATED_BLOCK_ID_DESC', - StosByCreatorIdMinCreatorIdAsc = 'STOS_BY_CREATOR_ID_MIN_CREATOR_ID_ASC', - StosByCreatorIdMinCreatorIdDesc = 'STOS_BY_CREATOR_ID_MIN_CREATOR_ID_DESC', - StosByCreatorIdMinEndAsc = 'STOS_BY_CREATOR_ID_MIN_END_ASC', - StosByCreatorIdMinEndDesc = 'STOS_BY_CREATOR_ID_MIN_END_DESC', - StosByCreatorIdMinIdAsc = 'STOS_BY_CREATOR_ID_MIN_ID_ASC', - StosByCreatorIdMinIdDesc = 'STOS_BY_CREATOR_ID_MIN_ID_DESC', - StosByCreatorIdMinMinimumInvestmentAsc = 'STOS_BY_CREATOR_ID_MIN_MINIMUM_INVESTMENT_ASC', - StosByCreatorIdMinMinimumInvestmentDesc = 'STOS_BY_CREATOR_ID_MIN_MINIMUM_INVESTMENT_DESC', - StosByCreatorIdMinNameAsc = 'STOS_BY_CREATOR_ID_MIN_NAME_ASC', - StosByCreatorIdMinNameDesc = 'STOS_BY_CREATOR_ID_MIN_NAME_DESC', - StosByCreatorIdMinOfferingAssetIdAsc = 'STOS_BY_CREATOR_ID_MIN_OFFERING_ASSET_ID_ASC', - StosByCreatorIdMinOfferingAssetIdDesc = 'STOS_BY_CREATOR_ID_MIN_OFFERING_ASSET_ID_DESC', - StosByCreatorIdMinOfferingPortfolioIdAsc = 'STOS_BY_CREATOR_ID_MIN_OFFERING_PORTFOLIO_ID_ASC', - StosByCreatorIdMinOfferingPortfolioIdDesc = 'STOS_BY_CREATOR_ID_MIN_OFFERING_PORTFOLIO_ID_DESC', - StosByCreatorIdMinRaisingAssetIdAsc = 'STOS_BY_CREATOR_ID_MIN_RAISING_ASSET_ID_ASC', - StosByCreatorIdMinRaisingAssetIdDesc = 'STOS_BY_CREATOR_ID_MIN_RAISING_ASSET_ID_DESC', - StosByCreatorIdMinRaisingPortfolioIdAsc = 'STOS_BY_CREATOR_ID_MIN_RAISING_PORTFOLIO_ID_ASC', - StosByCreatorIdMinRaisingPortfolioIdDesc = 'STOS_BY_CREATOR_ID_MIN_RAISING_PORTFOLIO_ID_DESC', - StosByCreatorIdMinStartAsc = 'STOS_BY_CREATOR_ID_MIN_START_ASC', - StosByCreatorIdMinStartDesc = 'STOS_BY_CREATOR_ID_MIN_START_DESC', - StosByCreatorIdMinStatusAsc = 'STOS_BY_CREATOR_ID_MIN_STATUS_ASC', - StosByCreatorIdMinStatusDesc = 'STOS_BY_CREATOR_ID_MIN_STATUS_DESC', - StosByCreatorIdMinStoIdAsc = 'STOS_BY_CREATOR_ID_MIN_STO_ID_ASC', - StosByCreatorIdMinStoIdDesc = 'STOS_BY_CREATOR_ID_MIN_STO_ID_DESC', - StosByCreatorIdMinTiersAsc = 'STOS_BY_CREATOR_ID_MIN_TIERS_ASC', - StosByCreatorIdMinTiersDesc = 'STOS_BY_CREATOR_ID_MIN_TIERS_DESC', - StosByCreatorIdMinUpdatedAtAsc = 'STOS_BY_CREATOR_ID_MIN_UPDATED_AT_ASC', - StosByCreatorIdMinUpdatedAtDesc = 'STOS_BY_CREATOR_ID_MIN_UPDATED_AT_DESC', - StosByCreatorIdMinUpdatedBlockIdAsc = 'STOS_BY_CREATOR_ID_MIN_UPDATED_BLOCK_ID_ASC', - StosByCreatorIdMinUpdatedBlockIdDesc = 'STOS_BY_CREATOR_ID_MIN_UPDATED_BLOCK_ID_DESC', - StosByCreatorIdMinVenueIdAsc = 'STOS_BY_CREATOR_ID_MIN_VENUE_ID_ASC', - StosByCreatorIdMinVenueIdDesc = 'STOS_BY_CREATOR_ID_MIN_VENUE_ID_DESC', - StosByCreatorIdStddevPopulationCreatedAtAsc = 'STOS_BY_CREATOR_ID_STDDEV_POPULATION_CREATED_AT_ASC', - StosByCreatorIdStddevPopulationCreatedAtDesc = 'STOS_BY_CREATOR_ID_STDDEV_POPULATION_CREATED_AT_DESC', - StosByCreatorIdStddevPopulationCreatedBlockIdAsc = 'STOS_BY_CREATOR_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - StosByCreatorIdStddevPopulationCreatedBlockIdDesc = 'STOS_BY_CREATOR_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - StosByCreatorIdStddevPopulationCreatorIdAsc = 'STOS_BY_CREATOR_ID_STDDEV_POPULATION_CREATOR_ID_ASC', - StosByCreatorIdStddevPopulationCreatorIdDesc = 'STOS_BY_CREATOR_ID_STDDEV_POPULATION_CREATOR_ID_DESC', - StosByCreatorIdStddevPopulationEndAsc = 'STOS_BY_CREATOR_ID_STDDEV_POPULATION_END_ASC', - StosByCreatorIdStddevPopulationEndDesc = 'STOS_BY_CREATOR_ID_STDDEV_POPULATION_END_DESC', - StosByCreatorIdStddevPopulationIdAsc = 'STOS_BY_CREATOR_ID_STDDEV_POPULATION_ID_ASC', - StosByCreatorIdStddevPopulationIdDesc = 'STOS_BY_CREATOR_ID_STDDEV_POPULATION_ID_DESC', - StosByCreatorIdStddevPopulationMinimumInvestmentAsc = 'STOS_BY_CREATOR_ID_STDDEV_POPULATION_MINIMUM_INVESTMENT_ASC', - StosByCreatorIdStddevPopulationMinimumInvestmentDesc = 'STOS_BY_CREATOR_ID_STDDEV_POPULATION_MINIMUM_INVESTMENT_DESC', - StosByCreatorIdStddevPopulationNameAsc = 'STOS_BY_CREATOR_ID_STDDEV_POPULATION_NAME_ASC', - StosByCreatorIdStddevPopulationNameDesc = 'STOS_BY_CREATOR_ID_STDDEV_POPULATION_NAME_DESC', - StosByCreatorIdStddevPopulationOfferingAssetIdAsc = 'STOS_BY_CREATOR_ID_STDDEV_POPULATION_OFFERING_ASSET_ID_ASC', - StosByCreatorIdStddevPopulationOfferingAssetIdDesc = 'STOS_BY_CREATOR_ID_STDDEV_POPULATION_OFFERING_ASSET_ID_DESC', - StosByCreatorIdStddevPopulationOfferingPortfolioIdAsc = 'STOS_BY_CREATOR_ID_STDDEV_POPULATION_OFFERING_PORTFOLIO_ID_ASC', - StosByCreatorIdStddevPopulationOfferingPortfolioIdDesc = 'STOS_BY_CREATOR_ID_STDDEV_POPULATION_OFFERING_PORTFOLIO_ID_DESC', - StosByCreatorIdStddevPopulationRaisingAssetIdAsc = 'STOS_BY_CREATOR_ID_STDDEV_POPULATION_RAISING_ASSET_ID_ASC', - StosByCreatorIdStddevPopulationRaisingAssetIdDesc = 'STOS_BY_CREATOR_ID_STDDEV_POPULATION_RAISING_ASSET_ID_DESC', - StosByCreatorIdStddevPopulationRaisingPortfolioIdAsc = 'STOS_BY_CREATOR_ID_STDDEV_POPULATION_RAISING_PORTFOLIO_ID_ASC', - StosByCreatorIdStddevPopulationRaisingPortfolioIdDesc = 'STOS_BY_CREATOR_ID_STDDEV_POPULATION_RAISING_PORTFOLIO_ID_DESC', - StosByCreatorIdStddevPopulationStartAsc = 'STOS_BY_CREATOR_ID_STDDEV_POPULATION_START_ASC', - StosByCreatorIdStddevPopulationStartDesc = 'STOS_BY_CREATOR_ID_STDDEV_POPULATION_START_DESC', - StosByCreatorIdStddevPopulationStatusAsc = 'STOS_BY_CREATOR_ID_STDDEV_POPULATION_STATUS_ASC', - StosByCreatorIdStddevPopulationStatusDesc = 'STOS_BY_CREATOR_ID_STDDEV_POPULATION_STATUS_DESC', - StosByCreatorIdStddevPopulationStoIdAsc = 'STOS_BY_CREATOR_ID_STDDEV_POPULATION_STO_ID_ASC', - StosByCreatorIdStddevPopulationStoIdDesc = 'STOS_BY_CREATOR_ID_STDDEV_POPULATION_STO_ID_DESC', - StosByCreatorIdStddevPopulationTiersAsc = 'STOS_BY_CREATOR_ID_STDDEV_POPULATION_TIERS_ASC', - StosByCreatorIdStddevPopulationTiersDesc = 'STOS_BY_CREATOR_ID_STDDEV_POPULATION_TIERS_DESC', - StosByCreatorIdStddevPopulationUpdatedAtAsc = 'STOS_BY_CREATOR_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - StosByCreatorIdStddevPopulationUpdatedAtDesc = 'STOS_BY_CREATOR_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - StosByCreatorIdStddevPopulationUpdatedBlockIdAsc = 'STOS_BY_CREATOR_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - StosByCreatorIdStddevPopulationUpdatedBlockIdDesc = 'STOS_BY_CREATOR_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - StosByCreatorIdStddevPopulationVenueIdAsc = 'STOS_BY_CREATOR_ID_STDDEV_POPULATION_VENUE_ID_ASC', - StosByCreatorIdStddevPopulationVenueIdDesc = 'STOS_BY_CREATOR_ID_STDDEV_POPULATION_VENUE_ID_DESC', - StosByCreatorIdStddevSampleCreatedAtAsc = 'STOS_BY_CREATOR_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - StosByCreatorIdStddevSampleCreatedAtDesc = 'STOS_BY_CREATOR_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - StosByCreatorIdStddevSampleCreatedBlockIdAsc = 'STOS_BY_CREATOR_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - StosByCreatorIdStddevSampleCreatedBlockIdDesc = 'STOS_BY_CREATOR_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - StosByCreatorIdStddevSampleCreatorIdAsc = 'STOS_BY_CREATOR_ID_STDDEV_SAMPLE_CREATOR_ID_ASC', - StosByCreatorIdStddevSampleCreatorIdDesc = 'STOS_BY_CREATOR_ID_STDDEV_SAMPLE_CREATOR_ID_DESC', - StosByCreatorIdStddevSampleEndAsc = 'STOS_BY_CREATOR_ID_STDDEV_SAMPLE_END_ASC', - StosByCreatorIdStddevSampleEndDesc = 'STOS_BY_CREATOR_ID_STDDEV_SAMPLE_END_DESC', - StosByCreatorIdStddevSampleIdAsc = 'STOS_BY_CREATOR_ID_STDDEV_SAMPLE_ID_ASC', - StosByCreatorIdStddevSampleIdDesc = 'STOS_BY_CREATOR_ID_STDDEV_SAMPLE_ID_DESC', - StosByCreatorIdStddevSampleMinimumInvestmentAsc = 'STOS_BY_CREATOR_ID_STDDEV_SAMPLE_MINIMUM_INVESTMENT_ASC', - StosByCreatorIdStddevSampleMinimumInvestmentDesc = 'STOS_BY_CREATOR_ID_STDDEV_SAMPLE_MINIMUM_INVESTMENT_DESC', - StosByCreatorIdStddevSampleNameAsc = 'STOS_BY_CREATOR_ID_STDDEV_SAMPLE_NAME_ASC', - StosByCreatorIdStddevSampleNameDesc = 'STOS_BY_CREATOR_ID_STDDEV_SAMPLE_NAME_DESC', - StosByCreatorIdStddevSampleOfferingAssetIdAsc = 'STOS_BY_CREATOR_ID_STDDEV_SAMPLE_OFFERING_ASSET_ID_ASC', - StosByCreatorIdStddevSampleOfferingAssetIdDesc = 'STOS_BY_CREATOR_ID_STDDEV_SAMPLE_OFFERING_ASSET_ID_DESC', - StosByCreatorIdStddevSampleOfferingPortfolioIdAsc = 'STOS_BY_CREATOR_ID_STDDEV_SAMPLE_OFFERING_PORTFOLIO_ID_ASC', - StosByCreatorIdStddevSampleOfferingPortfolioIdDesc = 'STOS_BY_CREATOR_ID_STDDEV_SAMPLE_OFFERING_PORTFOLIO_ID_DESC', - StosByCreatorIdStddevSampleRaisingAssetIdAsc = 'STOS_BY_CREATOR_ID_STDDEV_SAMPLE_RAISING_ASSET_ID_ASC', - StosByCreatorIdStddevSampleRaisingAssetIdDesc = 'STOS_BY_CREATOR_ID_STDDEV_SAMPLE_RAISING_ASSET_ID_DESC', - StosByCreatorIdStddevSampleRaisingPortfolioIdAsc = 'STOS_BY_CREATOR_ID_STDDEV_SAMPLE_RAISING_PORTFOLIO_ID_ASC', - StosByCreatorIdStddevSampleRaisingPortfolioIdDesc = 'STOS_BY_CREATOR_ID_STDDEV_SAMPLE_RAISING_PORTFOLIO_ID_DESC', - StosByCreatorIdStddevSampleStartAsc = 'STOS_BY_CREATOR_ID_STDDEV_SAMPLE_START_ASC', - StosByCreatorIdStddevSampleStartDesc = 'STOS_BY_CREATOR_ID_STDDEV_SAMPLE_START_DESC', - StosByCreatorIdStddevSampleStatusAsc = 'STOS_BY_CREATOR_ID_STDDEV_SAMPLE_STATUS_ASC', - StosByCreatorIdStddevSampleStatusDesc = 'STOS_BY_CREATOR_ID_STDDEV_SAMPLE_STATUS_DESC', - StosByCreatorIdStddevSampleStoIdAsc = 'STOS_BY_CREATOR_ID_STDDEV_SAMPLE_STO_ID_ASC', - StosByCreatorIdStddevSampleStoIdDesc = 'STOS_BY_CREATOR_ID_STDDEV_SAMPLE_STO_ID_DESC', - StosByCreatorIdStddevSampleTiersAsc = 'STOS_BY_CREATOR_ID_STDDEV_SAMPLE_TIERS_ASC', - StosByCreatorIdStddevSampleTiersDesc = 'STOS_BY_CREATOR_ID_STDDEV_SAMPLE_TIERS_DESC', - StosByCreatorIdStddevSampleUpdatedAtAsc = 'STOS_BY_CREATOR_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - StosByCreatorIdStddevSampleUpdatedAtDesc = 'STOS_BY_CREATOR_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - StosByCreatorIdStddevSampleUpdatedBlockIdAsc = 'STOS_BY_CREATOR_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - StosByCreatorIdStddevSampleUpdatedBlockIdDesc = 'STOS_BY_CREATOR_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - StosByCreatorIdStddevSampleVenueIdAsc = 'STOS_BY_CREATOR_ID_STDDEV_SAMPLE_VENUE_ID_ASC', - StosByCreatorIdStddevSampleVenueIdDesc = 'STOS_BY_CREATOR_ID_STDDEV_SAMPLE_VENUE_ID_DESC', - StosByCreatorIdSumCreatedAtAsc = 'STOS_BY_CREATOR_ID_SUM_CREATED_AT_ASC', - StosByCreatorIdSumCreatedAtDesc = 'STOS_BY_CREATOR_ID_SUM_CREATED_AT_DESC', - StosByCreatorIdSumCreatedBlockIdAsc = 'STOS_BY_CREATOR_ID_SUM_CREATED_BLOCK_ID_ASC', - StosByCreatorIdSumCreatedBlockIdDesc = 'STOS_BY_CREATOR_ID_SUM_CREATED_BLOCK_ID_DESC', - StosByCreatorIdSumCreatorIdAsc = 'STOS_BY_CREATOR_ID_SUM_CREATOR_ID_ASC', - StosByCreatorIdSumCreatorIdDesc = 'STOS_BY_CREATOR_ID_SUM_CREATOR_ID_DESC', - StosByCreatorIdSumEndAsc = 'STOS_BY_CREATOR_ID_SUM_END_ASC', - StosByCreatorIdSumEndDesc = 'STOS_BY_CREATOR_ID_SUM_END_DESC', - StosByCreatorIdSumIdAsc = 'STOS_BY_CREATOR_ID_SUM_ID_ASC', - StosByCreatorIdSumIdDesc = 'STOS_BY_CREATOR_ID_SUM_ID_DESC', - StosByCreatorIdSumMinimumInvestmentAsc = 'STOS_BY_CREATOR_ID_SUM_MINIMUM_INVESTMENT_ASC', - StosByCreatorIdSumMinimumInvestmentDesc = 'STOS_BY_CREATOR_ID_SUM_MINIMUM_INVESTMENT_DESC', - StosByCreatorIdSumNameAsc = 'STOS_BY_CREATOR_ID_SUM_NAME_ASC', - StosByCreatorIdSumNameDesc = 'STOS_BY_CREATOR_ID_SUM_NAME_DESC', - StosByCreatorIdSumOfferingAssetIdAsc = 'STOS_BY_CREATOR_ID_SUM_OFFERING_ASSET_ID_ASC', - StosByCreatorIdSumOfferingAssetIdDesc = 'STOS_BY_CREATOR_ID_SUM_OFFERING_ASSET_ID_DESC', - StosByCreatorIdSumOfferingPortfolioIdAsc = 'STOS_BY_CREATOR_ID_SUM_OFFERING_PORTFOLIO_ID_ASC', - StosByCreatorIdSumOfferingPortfolioIdDesc = 'STOS_BY_CREATOR_ID_SUM_OFFERING_PORTFOLIO_ID_DESC', - StosByCreatorIdSumRaisingAssetIdAsc = 'STOS_BY_CREATOR_ID_SUM_RAISING_ASSET_ID_ASC', - StosByCreatorIdSumRaisingAssetIdDesc = 'STOS_BY_CREATOR_ID_SUM_RAISING_ASSET_ID_DESC', - StosByCreatorIdSumRaisingPortfolioIdAsc = 'STOS_BY_CREATOR_ID_SUM_RAISING_PORTFOLIO_ID_ASC', - StosByCreatorIdSumRaisingPortfolioIdDesc = 'STOS_BY_CREATOR_ID_SUM_RAISING_PORTFOLIO_ID_DESC', - StosByCreatorIdSumStartAsc = 'STOS_BY_CREATOR_ID_SUM_START_ASC', - StosByCreatorIdSumStartDesc = 'STOS_BY_CREATOR_ID_SUM_START_DESC', - StosByCreatorIdSumStatusAsc = 'STOS_BY_CREATOR_ID_SUM_STATUS_ASC', - StosByCreatorIdSumStatusDesc = 'STOS_BY_CREATOR_ID_SUM_STATUS_DESC', - StosByCreatorIdSumStoIdAsc = 'STOS_BY_CREATOR_ID_SUM_STO_ID_ASC', - StosByCreatorIdSumStoIdDesc = 'STOS_BY_CREATOR_ID_SUM_STO_ID_DESC', - StosByCreatorIdSumTiersAsc = 'STOS_BY_CREATOR_ID_SUM_TIERS_ASC', - StosByCreatorIdSumTiersDesc = 'STOS_BY_CREATOR_ID_SUM_TIERS_DESC', - StosByCreatorIdSumUpdatedAtAsc = 'STOS_BY_CREATOR_ID_SUM_UPDATED_AT_ASC', - StosByCreatorIdSumUpdatedAtDesc = 'STOS_BY_CREATOR_ID_SUM_UPDATED_AT_DESC', - StosByCreatorIdSumUpdatedBlockIdAsc = 'STOS_BY_CREATOR_ID_SUM_UPDATED_BLOCK_ID_ASC', - StosByCreatorIdSumUpdatedBlockIdDesc = 'STOS_BY_CREATOR_ID_SUM_UPDATED_BLOCK_ID_DESC', - StosByCreatorIdSumVenueIdAsc = 'STOS_BY_CREATOR_ID_SUM_VENUE_ID_ASC', - StosByCreatorIdSumVenueIdDesc = 'STOS_BY_CREATOR_ID_SUM_VENUE_ID_DESC', - StosByCreatorIdVariancePopulationCreatedAtAsc = 'STOS_BY_CREATOR_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - StosByCreatorIdVariancePopulationCreatedAtDesc = 'STOS_BY_CREATOR_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - StosByCreatorIdVariancePopulationCreatedBlockIdAsc = 'STOS_BY_CREATOR_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - StosByCreatorIdVariancePopulationCreatedBlockIdDesc = 'STOS_BY_CREATOR_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - StosByCreatorIdVariancePopulationCreatorIdAsc = 'STOS_BY_CREATOR_ID_VARIANCE_POPULATION_CREATOR_ID_ASC', - StosByCreatorIdVariancePopulationCreatorIdDesc = 'STOS_BY_CREATOR_ID_VARIANCE_POPULATION_CREATOR_ID_DESC', - StosByCreatorIdVariancePopulationEndAsc = 'STOS_BY_CREATOR_ID_VARIANCE_POPULATION_END_ASC', - StosByCreatorIdVariancePopulationEndDesc = 'STOS_BY_CREATOR_ID_VARIANCE_POPULATION_END_DESC', - StosByCreatorIdVariancePopulationIdAsc = 'STOS_BY_CREATOR_ID_VARIANCE_POPULATION_ID_ASC', - StosByCreatorIdVariancePopulationIdDesc = 'STOS_BY_CREATOR_ID_VARIANCE_POPULATION_ID_DESC', - StosByCreatorIdVariancePopulationMinimumInvestmentAsc = 'STOS_BY_CREATOR_ID_VARIANCE_POPULATION_MINIMUM_INVESTMENT_ASC', - StosByCreatorIdVariancePopulationMinimumInvestmentDesc = 'STOS_BY_CREATOR_ID_VARIANCE_POPULATION_MINIMUM_INVESTMENT_DESC', - StosByCreatorIdVariancePopulationNameAsc = 'STOS_BY_CREATOR_ID_VARIANCE_POPULATION_NAME_ASC', - StosByCreatorIdVariancePopulationNameDesc = 'STOS_BY_CREATOR_ID_VARIANCE_POPULATION_NAME_DESC', - StosByCreatorIdVariancePopulationOfferingAssetIdAsc = 'STOS_BY_CREATOR_ID_VARIANCE_POPULATION_OFFERING_ASSET_ID_ASC', - StosByCreatorIdVariancePopulationOfferingAssetIdDesc = 'STOS_BY_CREATOR_ID_VARIANCE_POPULATION_OFFERING_ASSET_ID_DESC', - StosByCreatorIdVariancePopulationOfferingPortfolioIdAsc = 'STOS_BY_CREATOR_ID_VARIANCE_POPULATION_OFFERING_PORTFOLIO_ID_ASC', - StosByCreatorIdVariancePopulationOfferingPortfolioIdDesc = 'STOS_BY_CREATOR_ID_VARIANCE_POPULATION_OFFERING_PORTFOLIO_ID_DESC', - StosByCreatorIdVariancePopulationRaisingAssetIdAsc = 'STOS_BY_CREATOR_ID_VARIANCE_POPULATION_RAISING_ASSET_ID_ASC', - StosByCreatorIdVariancePopulationRaisingAssetIdDesc = 'STOS_BY_CREATOR_ID_VARIANCE_POPULATION_RAISING_ASSET_ID_DESC', - StosByCreatorIdVariancePopulationRaisingPortfolioIdAsc = 'STOS_BY_CREATOR_ID_VARIANCE_POPULATION_RAISING_PORTFOLIO_ID_ASC', - StosByCreatorIdVariancePopulationRaisingPortfolioIdDesc = 'STOS_BY_CREATOR_ID_VARIANCE_POPULATION_RAISING_PORTFOLIO_ID_DESC', - StosByCreatorIdVariancePopulationStartAsc = 'STOS_BY_CREATOR_ID_VARIANCE_POPULATION_START_ASC', - StosByCreatorIdVariancePopulationStartDesc = 'STOS_BY_CREATOR_ID_VARIANCE_POPULATION_START_DESC', - StosByCreatorIdVariancePopulationStatusAsc = 'STOS_BY_CREATOR_ID_VARIANCE_POPULATION_STATUS_ASC', - StosByCreatorIdVariancePopulationStatusDesc = 'STOS_BY_CREATOR_ID_VARIANCE_POPULATION_STATUS_DESC', - StosByCreatorIdVariancePopulationStoIdAsc = 'STOS_BY_CREATOR_ID_VARIANCE_POPULATION_STO_ID_ASC', - StosByCreatorIdVariancePopulationStoIdDesc = 'STOS_BY_CREATOR_ID_VARIANCE_POPULATION_STO_ID_DESC', - StosByCreatorIdVariancePopulationTiersAsc = 'STOS_BY_CREATOR_ID_VARIANCE_POPULATION_TIERS_ASC', - StosByCreatorIdVariancePopulationTiersDesc = 'STOS_BY_CREATOR_ID_VARIANCE_POPULATION_TIERS_DESC', - StosByCreatorIdVariancePopulationUpdatedAtAsc = 'STOS_BY_CREATOR_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - StosByCreatorIdVariancePopulationUpdatedAtDesc = 'STOS_BY_CREATOR_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - StosByCreatorIdVariancePopulationUpdatedBlockIdAsc = 'STOS_BY_CREATOR_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - StosByCreatorIdVariancePopulationUpdatedBlockIdDesc = 'STOS_BY_CREATOR_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - StosByCreatorIdVariancePopulationVenueIdAsc = 'STOS_BY_CREATOR_ID_VARIANCE_POPULATION_VENUE_ID_ASC', - StosByCreatorIdVariancePopulationVenueIdDesc = 'STOS_BY_CREATOR_ID_VARIANCE_POPULATION_VENUE_ID_DESC', - StosByCreatorIdVarianceSampleCreatedAtAsc = 'STOS_BY_CREATOR_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - StosByCreatorIdVarianceSampleCreatedAtDesc = 'STOS_BY_CREATOR_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - StosByCreatorIdVarianceSampleCreatedBlockIdAsc = 'STOS_BY_CREATOR_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - StosByCreatorIdVarianceSampleCreatedBlockIdDesc = 'STOS_BY_CREATOR_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - StosByCreatorIdVarianceSampleCreatorIdAsc = 'STOS_BY_CREATOR_ID_VARIANCE_SAMPLE_CREATOR_ID_ASC', - StosByCreatorIdVarianceSampleCreatorIdDesc = 'STOS_BY_CREATOR_ID_VARIANCE_SAMPLE_CREATOR_ID_DESC', - StosByCreatorIdVarianceSampleEndAsc = 'STOS_BY_CREATOR_ID_VARIANCE_SAMPLE_END_ASC', - StosByCreatorIdVarianceSampleEndDesc = 'STOS_BY_CREATOR_ID_VARIANCE_SAMPLE_END_DESC', - StosByCreatorIdVarianceSampleIdAsc = 'STOS_BY_CREATOR_ID_VARIANCE_SAMPLE_ID_ASC', - StosByCreatorIdVarianceSampleIdDesc = 'STOS_BY_CREATOR_ID_VARIANCE_SAMPLE_ID_DESC', - StosByCreatorIdVarianceSampleMinimumInvestmentAsc = 'STOS_BY_CREATOR_ID_VARIANCE_SAMPLE_MINIMUM_INVESTMENT_ASC', - StosByCreatorIdVarianceSampleMinimumInvestmentDesc = 'STOS_BY_CREATOR_ID_VARIANCE_SAMPLE_MINIMUM_INVESTMENT_DESC', - StosByCreatorIdVarianceSampleNameAsc = 'STOS_BY_CREATOR_ID_VARIANCE_SAMPLE_NAME_ASC', - StosByCreatorIdVarianceSampleNameDesc = 'STOS_BY_CREATOR_ID_VARIANCE_SAMPLE_NAME_DESC', - StosByCreatorIdVarianceSampleOfferingAssetIdAsc = 'STOS_BY_CREATOR_ID_VARIANCE_SAMPLE_OFFERING_ASSET_ID_ASC', - StosByCreatorIdVarianceSampleOfferingAssetIdDesc = 'STOS_BY_CREATOR_ID_VARIANCE_SAMPLE_OFFERING_ASSET_ID_DESC', - StosByCreatorIdVarianceSampleOfferingPortfolioIdAsc = 'STOS_BY_CREATOR_ID_VARIANCE_SAMPLE_OFFERING_PORTFOLIO_ID_ASC', - StosByCreatorIdVarianceSampleOfferingPortfolioIdDesc = 'STOS_BY_CREATOR_ID_VARIANCE_SAMPLE_OFFERING_PORTFOLIO_ID_DESC', - StosByCreatorIdVarianceSampleRaisingAssetIdAsc = 'STOS_BY_CREATOR_ID_VARIANCE_SAMPLE_RAISING_ASSET_ID_ASC', - StosByCreatorIdVarianceSampleRaisingAssetIdDesc = 'STOS_BY_CREATOR_ID_VARIANCE_SAMPLE_RAISING_ASSET_ID_DESC', - StosByCreatorIdVarianceSampleRaisingPortfolioIdAsc = 'STOS_BY_CREATOR_ID_VARIANCE_SAMPLE_RAISING_PORTFOLIO_ID_ASC', - StosByCreatorIdVarianceSampleRaisingPortfolioIdDesc = 'STOS_BY_CREATOR_ID_VARIANCE_SAMPLE_RAISING_PORTFOLIO_ID_DESC', - StosByCreatorIdVarianceSampleStartAsc = 'STOS_BY_CREATOR_ID_VARIANCE_SAMPLE_START_ASC', - StosByCreatorIdVarianceSampleStartDesc = 'STOS_BY_CREATOR_ID_VARIANCE_SAMPLE_START_DESC', - StosByCreatorIdVarianceSampleStatusAsc = 'STOS_BY_CREATOR_ID_VARIANCE_SAMPLE_STATUS_ASC', - StosByCreatorIdVarianceSampleStatusDesc = 'STOS_BY_CREATOR_ID_VARIANCE_SAMPLE_STATUS_DESC', - StosByCreatorIdVarianceSampleStoIdAsc = 'STOS_BY_CREATOR_ID_VARIANCE_SAMPLE_STO_ID_ASC', - StosByCreatorIdVarianceSampleStoIdDesc = 'STOS_BY_CREATOR_ID_VARIANCE_SAMPLE_STO_ID_DESC', - StosByCreatorIdVarianceSampleTiersAsc = 'STOS_BY_CREATOR_ID_VARIANCE_SAMPLE_TIERS_ASC', - StosByCreatorIdVarianceSampleTiersDesc = 'STOS_BY_CREATOR_ID_VARIANCE_SAMPLE_TIERS_DESC', - StosByCreatorIdVarianceSampleUpdatedAtAsc = 'STOS_BY_CREATOR_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - StosByCreatorIdVarianceSampleUpdatedAtDesc = 'STOS_BY_CREATOR_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - StosByCreatorIdVarianceSampleUpdatedBlockIdAsc = 'STOS_BY_CREATOR_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - StosByCreatorIdVarianceSampleUpdatedBlockIdDesc = 'STOS_BY_CREATOR_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - StosByCreatorIdVarianceSampleVenueIdAsc = 'STOS_BY_CREATOR_ID_VARIANCE_SAMPLE_VENUE_ID_ASC', - StosByCreatorIdVarianceSampleVenueIdDesc = 'STOS_BY_CREATOR_ID_VARIANCE_SAMPLE_VENUE_ID_DESC', - TickerExternalAgentsByCallerIdAverageAssetIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_AVERAGE_ASSET_ID_ASC', - TickerExternalAgentsByCallerIdAverageAssetIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_AVERAGE_ASSET_ID_DESC', - TickerExternalAgentsByCallerIdAverageCallerIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_AVERAGE_CALLER_ID_ASC', - TickerExternalAgentsByCallerIdAverageCallerIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_AVERAGE_CALLER_ID_DESC', - TickerExternalAgentsByCallerIdAverageCreatedAtAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_AVERAGE_CREATED_AT_ASC', - TickerExternalAgentsByCallerIdAverageCreatedAtDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_AVERAGE_CREATED_AT_DESC', - TickerExternalAgentsByCallerIdAverageCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - TickerExternalAgentsByCallerIdAverageCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - TickerExternalAgentsByCallerIdAverageDatetimeAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_AVERAGE_DATETIME_ASC', - TickerExternalAgentsByCallerIdAverageDatetimeDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_AVERAGE_DATETIME_DESC', - TickerExternalAgentsByCallerIdAverageEventIdxAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_AVERAGE_EVENT_IDX_ASC', - TickerExternalAgentsByCallerIdAverageEventIdxDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_AVERAGE_EVENT_IDX_DESC', - TickerExternalAgentsByCallerIdAverageIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_AVERAGE_ID_ASC', - TickerExternalAgentsByCallerIdAverageIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_AVERAGE_ID_DESC', - TickerExternalAgentsByCallerIdAverageUpdatedAtAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_AVERAGE_UPDATED_AT_ASC', - TickerExternalAgentsByCallerIdAverageUpdatedAtDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_AVERAGE_UPDATED_AT_DESC', - TickerExternalAgentsByCallerIdAverageUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentsByCallerIdAverageUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentsByCallerIdCountAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_COUNT_ASC', - TickerExternalAgentsByCallerIdCountDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_COUNT_DESC', - TickerExternalAgentsByCallerIdDistinctCountAssetIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_DISTINCT_COUNT_ASSET_ID_ASC', - TickerExternalAgentsByCallerIdDistinctCountAssetIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_DISTINCT_COUNT_ASSET_ID_DESC', - TickerExternalAgentsByCallerIdDistinctCountCallerIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_DISTINCT_COUNT_CALLER_ID_ASC', - TickerExternalAgentsByCallerIdDistinctCountCallerIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_DISTINCT_COUNT_CALLER_ID_DESC', - TickerExternalAgentsByCallerIdDistinctCountCreatedAtAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_DISTINCT_COUNT_CREATED_AT_ASC', - TickerExternalAgentsByCallerIdDistinctCountCreatedAtDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_DISTINCT_COUNT_CREATED_AT_DESC', - TickerExternalAgentsByCallerIdDistinctCountCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - TickerExternalAgentsByCallerIdDistinctCountCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - TickerExternalAgentsByCallerIdDistinctCountDatetimeAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_DISTINCT_COUNT_DATETIME_ASC', - TickerExternalAgentsByCallerIdDistinctCountDatetimeDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_DISTINCT_COUNT_DATETIME_DESC', - TickerExternalAgentsByCallerIdDistinctCountEventIdxAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_DISTINCT_COUNT_EVENT_IDX_ASC', - TickerExternalAgentsByCallerIdDistinctCountEventIdxDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_DISTINCT_COUNT_EVENT_IDX_DESC', - TickerExternalAgentsByCallerIdDistinctCountIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_DISTINCT_COUNT_ID_ASC', - TickerExternalAgentsByCallerIdDistinctCountIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_DISTINCT_COUNT_ID_DESC', - TickerExternalAgentsByCallerIdDistinctCountUpdatedAtAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - TickerExternalAgentsByCallerIdDistinctCountUpdatedAtDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - TickerExternalAgentsByCallerIdDistinctCountUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentsByCallerIdDistinctCountUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentsByCallerIdMaxAssetIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_MAX_ASSET_ID_ASC', - TickerExternalAgentsByCallerIdMaxAssetIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_MAX_ASSET_ID_DESC', - TickerExternalAgentsByCallerIdMaxCallerIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_MAX_CALLER_ID_ASC', - TickerExternalAgentsByCallerIdMaxCallerIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_MAX_CALLER_ID_DESC', - TickerExternalAgentsByCallerIdMaxCreatedAtAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_MAX_CREATED_AT_ASC', - TickerExternalAgentsByCallerIdMaxCreatedAtDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_MAX_CREATED_AT_DESC', - TickerExternalAgentsByCallerIdMaxCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_MAX_CREATED_BLOCK_ID_ASC', - TickerExternalAgentsByCallerIdMaxCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_MAX_CREATED_BLOCK_ID_DESC', - TickerExternalAgentsByCallerIdMaxDatetimeAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_MAX_DATETIME_ASC', - TickerExternalAgentsByCallerIdMaxDatetimeDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_MAX_DATETIME_DESC', - TickerExternalAgentsByCallerIdMaxEventIdxAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_MAX_EVENT_IDX_ASC', - TickerExternalAgentsByCallerIdMaxEventIdxDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_MAX_EVENT_IDX_DESC', - TickerExternalAgentsByCallerIdMaxIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_MAX_ID_ASC', - TickerExternalAgentsByCallerIdMaxIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_MAX_ID_DESC', - TickerExternalAgentsByCallerIdMaxUpdatedAtAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_MAX_UPDATED_AT_ASC', - TickerExternalAgentsByCallerIdMaxUpdatedAtDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_MAX_UPDATED_AT_DESC', - TickerExternalAgentsByCallerIdMaxUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_MAX_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentsByCallerIdMaxUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_MAX_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentsByCallerIdMinAssetIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_MIN_ASSET_ID_ASC', - TickerExternalAgentsByCallerIdMinAssetIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_MIN_ASSET_ID_DESC', - TickerExternalAgentsByCallerIdMinCallerIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_MIN_CALLER_ID_ASC', - TickerExternalAgentsByCallerIdMinCallerIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_MIN_CALLER_ID_DESC', - TickerExternalAgentsByCallerIdMinCreatedAtAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_MIN_CREATED_AT_ASC', - TickerExternalAgentsByCallerIdMinCreatedAtDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_MIN_CREATED_AT_DESC', - TickerExternalAgentsByCallerIdMinCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_MIN_CREATED_BLOCK_ID_ASC', - TickerExternalAgentsByCallerIdMinCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_MIN_CREATED_BLOCK_ID_DESC', - TickerExternalAgentsByCallerIdMinDatetimeAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_MIN_DATETIME_ASC', - TickerExternalAgentsByCallerIdMinDatetimeDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_MIN_DATETIME_DESC', - TickerExternalAgentsByCallerIdMinEventIdxAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_MIN_EVENT_IDX_ASC', - TickerExternalAgentsByCallerIdMinEventIdxDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_MIN_EVENT_IDX_DESC', - TickerExternalAgentsByCallerIdMinIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_MIN_ID_ASC', - TickerExternalAgentsByCallerIdMinIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_MIN_ID_DESC', - TickerExternalAgentsByCallerIdMinUpdatedAtAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_MIN_UPDATED_AT_ASC', - TickerExternalAgentsByCallerIdMinUpdatedAtDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_MIN_UPDATED_AT_DESC', - TickerExternalAgentsByCallerIdMinUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_MIN_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentsByCallerIdMinUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_MIN_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentsByCallerIdStddevPopulationAssetIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_STDDEV_POPULATION_ASSET_ID_ASC', - TickerExternalAgentsByCallerIdStddevPopulationAssetIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_STDDEV_POPULATION_ASSET_ID_DESC', - TickerExternalAgentsByCallerIdStddevPopulationCallerIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_STDDEV_POPULATION_CALLER_ID_ASC', - TickerExternalAgentsByCallerIdStddevPopulationCallerIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_STDDEV_POPULATION_CALLER_ID_DESC', - TickerExternalAgentsByCallerIdStddevPopulationCreatedAtAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_STDDEV_POPULATION_CREATED_AT_ASC', - TickerExternalAgentsByCallerIdStddevPopulationCreatedAtDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_STDDEV_POPULATION_CREATED_AT_DESC', - TickerExternalAgentsByCallerIdStddevPopulationCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - TickerExternalAgentsByCallerIdStddevPopulationCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - TickerExternalAgentsByCallerIdStddevPopulationDatetimeAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_STDDEV_POPULATION_DATETIME_ASC', - TickerExternalAgentsByCallerIdStddevPopulationDatetimeDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_STDDEV_POPULATION_DATETIME_DESC', - TickerExternalAgentsByCallerIdStddevPopulationEventIdxAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_STDDEV_POPULATION_EVENT_IDX_ASC', - TickerExternalAgentsByCallerIdStddevPopulationEventIdxDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_STDDEV_POPULATION_EVENT_IDX_DESC', - TickerExternalAgentsByCallerIdStddevPopulationIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_STDDEV_POPULATION_ID_ASC', - TickerExternalAgentsByCallerIdStddevPopulationIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_STDDEV_POPULATION_ID_DESC', - TickerExternalAgentsByCallerIdStddevPopulationUpdatedAtAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - TickerExternalAgentsByCallerIdStddevPopulationUpdatedAtDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - TickerExternalAgentsByCallerIdStddevPopulationUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentsByCallerIdStddevPopulationUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentsByCallerIdStddevSampleAssetIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_STDDEV_SAMPLE_ASSET_ID_ASC', - TickerExternalAgentsByCallerIdStddevSampleAssetIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_STDDEV_SAMPLE_ASSET_ID_DESC', - TickerExternalAgentsByCallerIdStddevSampleCallerIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_STDDEV_SAMPLE_CALLER_ID_ASC', - TickerExternalAgentsByCallerIdStddevSampleCallerIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_STDDEV_SAMPLE_CALLER_ID_DESC', - TickerExternalAgentsByCallerIdStddevSampleCreatedAtAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - TickerExternalAgentsByCallerIdStddevSampleCreatedAtDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - TickerExternalAgentsByCallerIdStddevSampleCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - TickerExternalAgentsByCallerIdStddevSampleCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - TickerExternalAgentsByCallerIdStddevSampleDatetimeAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_STDDEV_SAMPLE_DATETIME_ASC', - TickerExternalAgentsByCallerIdStddevSampleDatetimeDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_STDDEV_SAMPLE_DATETIME_DESC', - TickerExternalAgentsByCallerIdStddevSampleEventIdxAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', - TickerExternalAgentsByCallerIdStddevSampleEventIdxDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', - TickerExternalAgentsByCallerIdStddevSampleIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_STDDEV_SAMPLE_ID_ASC', - TickerExternalAgentsByCallerIdStddevSampleIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_STDDEV_SAMPLE_ID_DESC', - TickerExternalAgentsByCallerIdStddevSampleUpdatedAtAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - TickerExternalAgentsByCallerIdStddevSampleUpdatedAtDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - TickerExternalAgentsByCallerIdStddevSampleUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentsByCallerIdStddevSampleUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentsByCallerIdSumAssetIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_SUM_ASSET_ID_ASC', - TickerExternalAgentsByCallerIdSumAssetIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_SUM_ASSET_ID_DESC', - TickerExternalAgentsByCallerIdSumCallerIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_SUM_CALLER_ID_ASC', - TickerExternalAgentsByCallerIdSumCallerIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_SUM_CALLER_ID_DESC', - TickerExternalAgentsByCallerIdSumCreatedAtAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_SUM_CREATED_AT_ASC', - TickerExternalAgentsByCallerIdSumCreatedAtDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_SUM_CREATED_AT_DESC', - TickerExternalAgentsByCallerIdSumCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_SUM_CREATED_BLOCK_ID_ASC', - TickerExternalAgentsByCallerIdSumCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_SUM_CREATED_BLOCK_ID_DESC', - TickerExternalAgentsByCallerIdSumDatetimeAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_SUM_DATETIME_ASC', - TickerExternalAgentsByCallerIdSumDatetimeDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_SUM_DATETIME_DESC', - TickerExternalAgentsByCallerIdSumEventIdxAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_SUM_EVENT_IDX_ASC', - TickerExternalAgentsByCallerIdSumEventIdxDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_SUM_EVENT_IDX_DESC', - TickerExternalAgentsByCallerIdSumIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_SUM_ID_ASC', - TickerExternalAgentsByCallerIdSumIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_SUM_ID_DESC', - TickerExternalAgentsByCallerIdSumUpdatedAtAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_SUM_UPDATED_AT_ASC', - TickerExternalAgentsByCallerIdSumUpdatedAtDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_SUM_UPDATED_AT_DESC', - TickerExternalAgentsByCallerIdSumUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_SUM_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentsByCallerIdSumUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_SUM_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentsByCallerIdVariancePopulationAssetIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_VARIANCE_POPULATION_ASSET_ID_ASC', - TickerExternalAgentsByCallerIdVariancePopulationAssetIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_VARIANCE_POPULATION_ASSET_ID_DESC', - TickerExternalAgentsByCallerIdVariancePopulationCallerIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_VARIANCE_POPULATION_CALLER_ID_ASC', - TickerExternalAgentsByCallerIdVariancePopulationCallerIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_VARIANCE_POPULATION_CALLER_ID_DESC', - TickerExternalAgentsByCallerIdVariancePopulationCreatedAtAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - TickerExternalAgentsByCallerIdVariancePopulationCreatedAtDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - TickerExternalAgentsByCallerIdVariancePopulationCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - TickerExternalAgentsByCallerIdVariancePopulationCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - TickerExternalAgentsByCallerIdVariancePopulationDatetimeAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_VARIANCE_POPULATION_DATETIME_ASC', - TickerExternalAgentsByCallerIdVariancePopulationDatetimeDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_VARIANCE_POPULATION_DATETIME_DESC', - TickerExternalAgentsByCallerIdVariancePopulationEventIdxAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', - TickerExternalAgentsByCallerIdVariancePopulationEventIdxDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', - TickerExternalAgentsByCallerIdVariancePopulationIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_VARIANCE_POPULATION_ID_ASC', - TickerExternalAgentsByCallerIdVariancePopulationIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_VARIANCE_POPULATION_ID_DESC', - TickerExternalAgentsByCallerIdVariancePopulationUpdatedAtAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - TickerExternalAgentsByCallerIdVariancePopulationUpdatedAtDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - TickerExternalAgentsByCallerIdVariancePopulationUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentsByCallerIdVariancePopulationUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentsByCallerIdVarianceSampleAssetIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_VARIANCE_SAMPLE_ASSET_ID_ASC', - TickerExternalAgentsByCallerIdVarianceSampleAssetIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_VARIANCE_SAMPLE_ASSET_ID_DESC', - TickerExternalAgentsByCallerIdVarianceSampleCallerIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_VARIANCE_SAMPLE_CALLER_ID_ASC', - TickerExternalAgentsByCallerIdVarianceSampleCallerIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_VARIANCE_SAMPLE_CALLER_ID_DESC', - TickerExternalAgentsByCallerIdVarianceSampleCreatedAtAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - TickerExternalAgentsByCallerIdVarianceSampleCreatedAtDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - TickerExternalAgentsByCallerIdVarianceSampleCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - TickerExternalAgentsByCallerIdVarianceSampleCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - TickerExternalAgentsByCallerIdVarianceSampleDatetimeAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_VARIANCE_SAMPLE_DATETIME_ASC', - TickerExternalAgentsByCallerIdVarianceSampleDatetimeDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_VARIANCE_SAMPLE_DATETIME_DESC', - TickerExternalAgentsByCallerIdVarianceSampleEventIdxAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', - TickerExternalAgentsByCallerIdVarianceSampleEventIdxDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', - TickerExternalAgentsByCallerIdVarianceSampleIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_VARIANCE_SAMPLE_ID_ASC', - TickerExternalAgentsByCallerIdVarianceSampleIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_VARIANCE_SAMPLE_ID_DESC', - TickerExternalAgentsByCallerIdVarianceSampleUpdatedAtAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - TickerExternalAgentsByCallerIdVarianceSampleUpdatedAtDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - TickerExternalAgentsByCallerIdVarianceSampleUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentsByCallerIdVarianceSampleUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENTS_BY_CALLER_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentActionsByCallerIdAverageAssetIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_AVERAGE_ASSET_ID_ASC', - TickerExternalAgentActionsByCallerIdAverageAssetIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_AVERAGE_ASSET_ID_DESC', - TickerExternalAgentActionsByCallerIdAverageCallerIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_AVERAGE_CALLER_ID_ASC', - TickerExternalAgentActionsByCallerIdAverageCallerIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_AVERAGE_CALLER_ID_DESC', - TickerExternalAgentActionsByCallerIdAverageCreatedAtAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_AVERAGE_CREATED_AT_ASC', - TickerExternalAgentActionsByCallerIdAverageCreatedAtDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_AVERAGE_CREATED_AT_DESC', - TickerExternalAgentActionsByCallerIdAverageCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - TickerExternalAgentActionsByCallerIdAverageCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - TickerExternalAgentActionsByCallerIdAverageEventIdxAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_AVERAGE_EVENT_IDX_ASC', - TickerExternalAgentActionsByCallerIdAverageEventIdxDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_AVERAGE_EVENT_IDX_DESC', - TickerExternalAgentActionsByCallerIdAverageEventIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_AVERAGE_EVENT_ID_ASC', - TickerExternalAgentActionsByCallerIdAverageEventIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_AVERAGE_EVENT_ID_DESC', - TickerExternalAgentActionsByCallerIdAverageIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_AVERAGE_ID_ASC', - TickerExternalAgentActionsByCallerIdAverageIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_AVERAGE_ID_DESC', - TickerExternalAgentActionsByCallerIdAveragePalletNameAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_AVERAGE_PALLET_NAME_ASC', - TickerExternalAgentActionsByCallerIdAveragePalletNameDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_AVERAGE_PALLET_NAME_DESC', - TickerExternalAgentActionsByCallerIdAverageUpdatedAtAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_AVERAGE_UPDATED_AT_ASC', - TickerExternalAgentActionsByCallerIdAverageUpdatedAtDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_AVERAGE_UPDATED_AT_DESC', - TickerExternalAgentActionsByCallerIdAverageUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentActionsByCallerIdAverageUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentActionsByCallerIdCountAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_COUNT_ASC', - TickerExternalAgentActionsByCallerIdCountDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_COUNT_DESC', - TickerExternalAgentActionsByCallerIdDistinctCountAssetIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_DISTINCT_COUNT_ASSET_ID_ASC', - TickerExternalAgentActionsByCallerIdDistinctCountAssetIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_DISTINCT_COUNT_ASSET_ID_DESC', - TickerExternalAgentActionsByCallerIdDistinctCountCallerIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_DISTINCT_COUNT_CALLER_ID_ASC', - TickerExternalAgentActionsByCallerIdDistinctCountCallerIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_DISTINCT_COUNT_CALLER_ID_DESC', - TickerExternalAgentActionsByCallerIdDistinctCountCreatedAtAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_DISTINCT_COUNT_CREATED_AT_ASC', - TickerExternalAgentActionsByCallerIdDistinctCountCreatedAtDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_DISTINCT_COUNT_CREATED_AT_DESC', - TickerExternalAgentActionsByCallerIdDistinctCountCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - TickerExternalAgentActionsByCallerIdDistinctCountCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - TickerExternalAgentActionsByCallerIdDistinctCountEventIdxAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_DISTINCT_COUNT_EVENT_IDX_ASC', - TickerExternalAgentActionsByCallerIdDistinctCountEventIdxDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_DISTINCT_COUNT_EVENT_IDX_DESC', - TickerExternalAgentActionsByCallerIdDistinctCountEventIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_DISTINCT_COUNT_EVENT_ID_ASC', - TickerExternalAgentActionsByCallerIdDistinctCountEventIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_DISTINCT_COUNT_EVENT_ID_DESC', - TickerExternalAgentActionsByCallerIdDistinctCountIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_DISTINCT_COUNT_ID_ASC', - TickerExternalAgentActionsByCallerIdDistinctCountIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_DISTINCT_COUNT_ID_DESC', - TickerExternalAgentActionsByCallerIdDistinctCountPalletNameAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_DISTINCT_COUNT_PALLET_NAME_ASC', - TickerExternalAgentActionsByCallerIdDistinctCountPalletNameDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_DISTINCT_COUNT_PALLET_NAME_DESC', - TickerExternalAgentActionsByCallerIdDistinctCountUpdatedAtAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - TickerExternalAgentActionsByCallerIdDistinctCountUpdatedAtDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - TickerExternalAgentActionsByCallerIdDistinctCountUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentActionsByCallerIdDistinctCountUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentActionsByCallerIdMaxAssetIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_MAX_ASSET_ID_ASC', - TickerExternalAgentActionsByCallerIdMaxAssetIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_MAX_ASSET_ID_DESC', - TickerExternalAgentActionsByCallerIdMaxCallerIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_MAX_CALLER_ID_ASC', - TickerExternalAgentActionsByCallerIdMaxCallerIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_MAX_CALLER_ID_DESC', - TickerExternalAgentActionsByCallerIdMaxCreatedAtAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_MAX_CREATED_AT_ASC', - TickerExternalAgentActionsByCallerIdMaxCreatedAtDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_MAX_CREATED_AT_DESC', - TickerExternalAgentActionsByCallerIdMaxCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_MAX_CREATED_BLOCK_ID_ASC', - TickerExternalAgentActionsByCallerIdMaxCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_MAX_CREATED_BLOCK_ID_DESC', - TickerExternalAgentActionsByCallerIdMaxEventIdxAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_MAX_EVENT_IDX_ASC', - TickerExternalAgentActionsByCallerIdMaxEventIdxDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_MAX_EVENT_IDX_DESC', - TickerExternalAgentActionsByCallerIdMaxEventIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_MAX_EVENT_ID_ASC', - TickerExternalAgentActionsByCallerIdMaxEventIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_MAX_EVENT_ID_DESC', - TickerExternalAgentActionsByCallerIdMaxIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_MAX_ID_ASC', - TickerExternalAgentActionsByCallerIdMaxIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_MAX_ID_DESC', - TickerExternalAgentActionsByCallerIdMaxPalletNameAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_MAX_PALLET_NAME_ASC', - TickerExternalAgentActionsByCallerIdMaxPalletNameDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_MAX_PALLET_NAME_DESC', - TickerExternalAgentActionsByCallerIdMaxUpdatedAtAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_MAX_UPDATED_AT_ASC', - TickerExternalAgentActionsByCallerIdMaxUpdatedAtDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_MAX_UPDATED_AT_DESC', - TickerExternalAgentActionsByCallerIdMaxUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_MAX_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentActionsByCallerIdMaxUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_MAX_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentActionsByCallerIdMinAssetIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_MIN_ASSET_ID_ASC', - TickerExternalAgentActionsByCallerIdMinAssetIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_MIN_ASSET_ID_DESC', - TickerExternalAgentActionsByCallerIdMinCallerIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_MIN_CALLER_ID_ASC', - TickerExternalAgentActionsByCallerIdMinCallerIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_MIN_CALLER_ID_DESC', - TickerExternalAgentActionsByCallerIdMinCreatedAtAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_MIN_CREATED_AT_ASC', - TickerExternalAgentActionsByCallerIdMinCreatedAtDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_MIN_CREATED_AT_DESC', - TickerExternalAgentActionsByCallerIdMinCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_MIN_CREATED_BLOCK_ID_ASC', - TickerExternalAgentActionsByCallerIdMinCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_MIN_CREATED_BLOCK_ID_DESC', - TickerExternalAgentActionsByCallerIdMinEventIdxAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_MIN_EVENT_IDX_ASC', - TickerExternalAgentActionsByCallerIdMinEventIdxDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_MIN_EVENT_IDX_DESC', - TickerExternalAgentActionsByCallerIdMinEventIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_MIN_EVENT_ID_ASC', - TickerExternalAgentActionsByCallerIdMinEventIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_MIN_EVENT_ID_DESC', - TickerExternalAgentActionsByCallerIdMinIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_MIN_ID_ASC', - TickerExternalAgentActionsByCallerIdMinIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_MIN_ID_DESC', - TickerExternalAgentActionsByCallerIdMinPalletNameAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_MIN_PALLET_NAME_ASC', - TickerExternalAgentActionsByCallerIdMinPalletNameDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_MIN_PALLET_NAME_DESC', - TickerExternalAgentActionsByCallerIdMinUpdatedAtAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_MIN_UPDATED_AT_ASC', - TickerExternalAgentActionsByCallerIdMinUpdatedAtDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_MIN_UPDATED_AT_DESC', - TickerExternalAgentActionsByCallerIdMinUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_MIN_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentActionsByCallerIdMinUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_MIN_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentActionsByCallerIdStddevPopulationAssetIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_STDDEV_POPULATION_ASSET_ID_ASC', - TickerExternalAgentActionsByCallerIdStddevPopulationAssetIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_STDDEV_POPULATION_ASSET_ID_DESC', - TickerExternalAgentActionsByCallerIdStddevPopulationCallerIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_STDDEV_POPULATION_CALLER_ID_ASC', - TickerExternalAgentActionsByCallerIdStddevPopulationCallerIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_STDDEV_POPULATION_CALLER_ID_DESC', - TickerExternalAgentActionsByCallerIdStddevPopulationCreatedAtAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_STDDEV_POPULATION_CREATED_AT_ASC', - TickerExternalAgentActionsByCallerIdStddevPopulationCreatedAtDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_STDDEV_POPULATION_CREATED_AT_DESC', - TickerExternalAgentActionsByCallerIdStddevPopulationCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - TickerExternalAgentActionsByCallerIdStddevPopulationCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - TickerExternalAgentActionsByCallerIdStddevPopulationEventIdxAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_STDDEV_POPULATION_EVENT_IDX_ASC', - TickerExternalAgentActionsByCallerIdStddevPopulationEventIdxDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_STDDEV_POPULATION_EVENT_IDX_DESC', - TickerExternalAgentActionsByCallerIdStddevPopulationEventIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_STDDEV_POPULATION_EVENT_ID_ASC', - TickerExternalAgentActionsByCallerIdStddevPopulationEventIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_STDDEV_POPULATION_EVENT_ID_DESC', - TickerExternalAgentActionsByCallerIdStddevPopulationIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_STDDEV_POPULATION_ID_ASC', - TickerExternalAgentActionsByCallerIdStddevPopulationIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_STDDEV_POPULATION_ID_DESC', - TickerExternalAgentActionsByCallerIdStddevPopulationPalletNameAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_STDDEV_POPULATION_PALLET_NAME_ASC', - TickerExternalAgentActionsByCallerIdStddevPopulationPalletNameDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_STDDEV_POPULATION_PALLET_NAME_DESC', - TickerExternalAgentActionsByCallerIdStddevPopulationUpdatedAtAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - TickerExternalAgentActionsByCallerIdStddevPopulationUpdatedAtDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - TickerExternalAgentActionsByCallerIdStddevPopulationUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentActionsByCallerIdStddevPopulationUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentActionsByCallerIdStddevSampleAssetIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_STDDEV_SAMPLE_ASSET_ID_ASC', - TickerExternalAgentActionsByCallerIdStddevSampleAssetIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_STDDEV_SAMPLE_ASSET_ID_DESC', - TickerExternalAgentActionsByCallerIdStddevSampleCallerIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_STDDEV_SAMPLE_CALLER_ID_ASC', - TickerExternalAgentActionsByCallerIdStddevSampleCallerIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_STDDEV_SAMPLE_CALLER_ID_DESC', - TickerExternalAgentActionsByCallerIdStddevSampleCreatedAtAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - TickerExternalAgentActionsByCallerIdStddevSampleCreatedAtDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - TickerExternalAgentActionsByCallerIdStddevSampleCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - TickerExternalAgentActionsByCallerIdStddevSampleCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - TickerExternalAgentActionsByCallerIdStddevSampleEventIdxAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', - TickerExternalAgentActionsByCallerIdStddevSampleEventIdxDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', - TickerExternalAgentActionsByCallerIdStddevSampleEventIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_STDDEV_SAMPLE_EVENT_ID_ASC', - TickerExternalAgentActionsByCallerIdStddevSampleEventIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_STDDEV_SAMPLE_EVENT_ID_DESC', - TickerExternalAgentActionsByCallerIdStddevSampleIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_STDDEV_SAMPLE_ID_ASC', - TickerExternalAgentActionsByCallerIdStddevSampleIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_STDDEV_SAMPLE_ID_DESC', - TickerExternalAgentActionsByCallerIdStddevSamplePalletNameAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_STDDEV_SAMPLE_PALLET_NAME_ASC', - TickerExternalAgentActionsByCallerIdStddevSamplePalletNameDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_STDDEV_SAMPLE_PALLET_NAME_DESC', - TickerExternalAgentActionsByCallerIdStddevSampleUpdatedAtAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - TickerExternalAgentActionsByCallerIdStddevSampleUpdatedAtDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - TickerExternalAgentActionsByCallerIdStddevSampleUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentActionsByCallerIdStddevSampleUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentActionsByCallerIdSumAssetIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_SUM_ASSET_ID_ASC', - TickerExternalAgentActionsByCallerIdSumAssetIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_SUM_ASSET_ID_DESC', - TickerExternalAgentActionsByCallerIdSumCallerIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_SUM_CALLER_ID_ASC', - TickerExternalAgentActionsByCallerIdSumCallerIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_SUM_CALLER_ID_DESC', - TickerExternalAgentActionsByCallerIdSumCreatedAtAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_SUM_CREATED_AT_ASC', - TickerExternalAgentActionsByCallerIdSumCreatedAtDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_SUM_CREATED_AT_DESC', - TickerExternalAgentActionsByCallerIdSumCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_SUM_CREATED_BLOCK_ID_ASC', - TickerExternalAgentActionsByCallerIdSumCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_SUM_CREATED_BLOCK_ID_DESC', - TickerExternalAgentActionsByCallerIdSumEventIdxAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_SUM_EVENT_IDX_ASC', - TickerExternalAgentActionsByCallerIdSumEventIdxDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_SUM_EVENT_IDX_DESC', - TickerExternalAgentActionsByCallerIdSumEventIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_SUM_EVENT_ID_ASC', - TickerExternalAgentActionsByCallerIdSumEventIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_SUM_EVENT_ID_DESC', - TickerExternalAgentActionsByCallerIdSumIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_SUM_ID_ASC', - TickerExternalAgentActionsByCallerIdSumIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_SUM_ID_DESC', - TickerExternalAgentActionsByCallerIdSumPalletNameAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_SUM_PALLET_NAME_ASC', - TickerExternalAgentActionsByCallerIdSumPalletNameDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_SUM_PALLET_NAME_DESC', - TickerExternalAgentActionsByCallerIdSumUpdatedAtAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_SUM_UPDATED_AT_ASC', - TickerExternalAgentActionsByCallerIdSumUpdatedAtDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_SUM_UPDATED_AT_DESC', - TickerExternalAgentActionsByCallerIdSumUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_SUM_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentActionsByCallerIdSumUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_SUM_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentActionsByCallerIdVariancePopulationAssetIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_VARIANCE_POPULATION_ASSET_ID_ASC', - TickerExternalAgentActionsByCallerIdVariancePopulationAssetIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_VARIANCE_POPULATION_ASSET_ID_DESC', - TickerExternalAgentActionsByCallerIdVariancePopulationCallerIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_VARIANCE_POPULATION_CALLER_ID_ASC', - TickerExternalAgentActionsByCallerIdVariancePopulationCallerIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_VARIANCE_POPULATION_CALLER_ID_DESC', - TickerExternalAgentActionsByCallerIdVariancePopulationCreatedAtAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - TickerExternalAgentActionsByCallerIdVariancePopulationCreatedAtDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - TickerExternalAgentActionsByCallerIdVariancePopulationCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - TickerExternalAgentActionsByCallerIdVariancePopulationCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - TickerExternalAgentActionsByCallerIdVariancePopulationEventIdxAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', - TickerExternalAgentActionsByCallerIdVariancePopulationEventIdxDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', - TickerExternalAgentActionsByCallerIdVariancePopulationEventIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_VARIANCE_POPULATION_EVENT_ID_ASC', - TickerExternalAgentActionsByCallerIdVariancePopulationEventIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_VARIANCE_POPULATION_EVENT_ID_DESC', - TickerExternalAgentActionsByCallerIdVariancePopulationIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_VARIANCE_POPULATION_ID_ASC', - TickerExternalAgentActionsByCallerIdVariancePopulationIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_VARIANCE_POPULATION_ID_DESC', - TickerExternalAgentActionsByCallerIdVariancePopulationPalletNameAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_VARIANCE_POPULATION_PALLET_NAME_ASC', - TickerExternalAgentActionsByCallerIdVariancePopulationPalletNameDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_VARIANCE_POPULATION_PALLET_NAME_DESC', - TickerExternalAgentActionsByCallerIdVariancePopulationUpdatedAtAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - TickerExternalAgentActionsByCallerIdVariancePopulationUpdatedAtDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - TickerExternalAgentActionsByCallerIdVariancePopulationUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentActionsByCallerIdVariancePopulationUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentActionsByCallerIdVarianceSampleAssetIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_VARIANCE_SAMPLE_ASSET_ID_ASC', - TickerExternalAgentActionsByCallerIdVarianceSampleAssetIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_VARIANCE_SAMPLE_ASSET_ID_DESC', - TickerExternalAgentActionsByCallerIdVarianceSampleCallerIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_VARIANCE_SAMPLE_CALLER_ID_ASC', - TickerExternalAgentActionsByCallerIdVarianceSampleCallerIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_VARIANCE_SAMPLE_CALLER_ID_DESC', - TickerExternalAgentActionsByCallerIdVarianceSampleCreatedAtAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - TickerExternalAgentActionsByCallerIdVarianceSampleCreatedAtDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - TickerExternalAgentActionsByCallerIdVarianceSampleCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - TickerExternalAgentActionsByCallerIdVarianceSampleCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - TickerExternalAgentActionsByCallerIdVarianceSampleEventIdxAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', - TickerExternalAgentActionsByCallerIdVarianceSampleEventIdxDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', - TickerExternalAgentActionsByCallerIdVarianceSampleEventIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_VARIANCE_SAMPLE_EVENT_ID_ASC', - TickerExternalAgentActionsByCallerIdVarianceSampleEventIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_VARIANCE_SAMPLE_EVENT_ID_DESC', - TickerExternalAgentActionsByCallerIdVarianceSampleIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_VARIANCE_SAMPLE_ID_ASC', - TickerExternalAgentActionsByCallerIdVarianceSampleIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_VARIANCE_SAMPLE_ID_DESC', - TickerExternalAgentActionsByCallerIdVarianceSamplePalletNameAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_VARIANCE_SAMPLE_PALLET_NAME_ASC', - TickerExternalAgentActionsByCallerIdVarianceSamplePalletNameDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_VARIANCE_SAMPLE_PALLET_NAME_DESC', - TickerExternalAgentActionsByCallerIdVarianceSampleUpdatedAtAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - TickerExternalAgentActionsByCallerIdVarianceSampleUpdatedAtDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - TickerExternalAgentActionsByCallerIdVarianceSampleUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentActionsByCallerIdVarianceSampleUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_ACTIONS_BY_CALLER_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentHistoriesAverageAssetIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_AVERAGE_ASSET_ID_ASC', - TickerExternalAgentHistoriesAverageAssetIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_AVERAGE_ASSET_ID_DESC', - TickerExternalAgentHistoriesAverageCreatedAtAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_AVERAGE_CREATED_AT_ASC', - TickerExternalAgentHistoriesAverageCreatedAtDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_AVERAGE_CREATED_AT_DESC', - TickerExternalAgentHistoriesAverageCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_AVERAGE_CREATED_BLOCK_ID_ASC', - TickerExternalAgentHistoriesAverageCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_AVERAGE_CREATED_BLOCK_ID_DESC', - TickerExternalAgentHistoriesAverageDatetimeAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_AVERAGE_DATETIME_ASC', - TickerExternalAgentHistoriesAverageDatetimeDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_AVERAGE_DATETIME_DESC', - TickerExternalAgentHistoriesAverageEventIdxAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_AVERAGE_EVENT_IDX_ASC', - TickerExternalAgentHistoriesAverageEventIdxDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_AVERAGE_EVENT_IDX_DESC', - TickerExternalAgentHistoriesAverageIdentityIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_AVERAGE_IDENTITY_ID_ASC', - TickerExternalAgentHistoriesAverageIdentityIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_AVERAGE_IDENTITY_ID_DESC', - TickerExternalAgentHistoriesAverageIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_AVERAGE_ID_ASC', - TickerExternalAgentHistoriesAverageIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_AVERAGE_ID_DESC', - TickerExternalAgentHistoriesAveragePermissionsAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_AVERAGE_PERMISSIONS_ASC', - TickerExternalAgentHistoriesAveragePermissionsDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_AVERAGE_PERMISSIONS_DESC', - TickerExternalAgentHistoriesAverageTypeAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_AVERAGE_TYPE_ASC', - TickerExternalAgentHistoriesAverageTypeDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_AVERAGE_TYPE_DESC', - TickerExternalAgentHistoriesAverageUpdatedAtAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_AVERAGE_UPDATED_AT_ASC', - TickerExternalAgentHistoriesAverageUpdatedAtDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_AVERAGE_UPDATED_AT_DESC', - TickerExternalAgentHistoriesAverageUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_AVERAGE_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentHistoriesAverageUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_AVERAGE_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentHistoriesCountAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_COUNT_ASC', - TickerExternalAgentHistoriesCountDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_COUNT_DESC', - TickerExternalAgentHistoriesDistinctCountAssetIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_DISTINCT_COUNT_ASSET_ID_ASC', - TickerExternalAgentHistoriesDistinctCountAssetIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_DISTINCT_COUNT_ASSET_ID_DESC', - TickerExternalAgentHistoriesDistinctCountCreatedAtAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_DISTINCT_COUNT_CREATED_AT_ASC', - TickerExternalAgentHistoriesDistinctCountCreatedAtDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_DISTINCT_COUNT_CREATED_AT_DESC', - TickerExternalAgentHistoriesDistinctCountCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - TickerExternalAgentHistoriesDistinctCountCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - TickerExternalAgentHistoriesDistinctCountDatetimeAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_DISTINCT_COUNT_DATETIME_ASC', - TickerExternalAgentHistoriesDistinctCountDatetimeDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_DISTINCT_COUNT_DATETIME_DESC', - TickerExternalAgentHistoriesDistinctCountEventIdxAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_DISTINCT_COUNT_EVENT_IDX_ASC', - TickerExternalAgentHistoriesDistinctCountEventIdxDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_DISTINCT_COUNT_EVENT_IDX_DESC', - TickerExternalAgentHistoriesDistinctCountIdentityIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_DISTINCT_COUNT_IDENTITY_ID_ASC', - TickerExternalAgentHistoriesDistinctCountIdentityIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_DISTINCT_COUNT_IDENTITY_ID_DESC', - TickerExternalAgentHistoriesDistinctCountIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_DISTINCT_COUNT_ID_ASC', - TickerExternalAgentHistoriesDistinctCountIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_DISTINCT_COUNT_ID_DESC', - TickerExternalAgentHistoriesDistinctCountPermissionsAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_DISTINCT_COUNT_PERMISSIONS_ASC', - TickerExternalAgentHistoriesDistinctCountPermissionsDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_DISTINCT_COUNT_PERMISSIONS_DESC', - TickerExternalAgentHistoriesDistinctCountTypeAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_DISTINCT_COUNT_TYPE_ASC', - TickerExternalAgentHistoriesDistinctCountTypeDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_DISTINCT_COUNT_TYPE_DESC', - TickerExternalAgentHistoriesDistinctCountUpdatedAtAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_DISTINCT_COUNT_UPDATED_AT_ASC', - TickerExternalAgentHistoriesDistinctCountUpdatedAtDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_DISTINCT_COUNT_UPDATED_AT_DESC', - TickerExternalAgentHistoriesDistinctCountUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentHistoriesDistinctCountUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentHistoriesMaxAssetIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MAX_ASSET_ID_ASC', - TickerExternalAgentHistoriesMaxAssetIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MAX_ASSET_ID_DESC', - TickerExternalAgentHistoriesMaxCreatedAtAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MAX_CREATED_AT_ASC', - TickerExternalAgentHistoriesMaxCreatedAtDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MAX_CREATED_AT_DESC', - TickerExternalAgentHistoriesMaxCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MAX_CREATED_BLOCK_ID_ASC', - TickerExternalAgentHistoriesMaxCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MAX_CREATED_BLOCK_ID_DESC', - TickerExternalAgentHistoriesMaxDatetimeAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MAX_DATETIME_ASC', - TickerExternalAgentHistoriesMaxDatetimeDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MAX_DATETIME_DESC', - TickerExternalAgentHistoriesMaxEventIdxAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MAX_EVENT_IDX_ASC', - TickerExternalAgentHistoriesMaxEventIdxDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MAX_EVENT_IDX_DESC', - TickerExternalAgentHistoriesMaxIdentityIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MAX_IDENTITY_ID_ASC', - TickerExternalAgentHistoriesMaxIdentityIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MAX_IDENTITY_ID_DESC', - TickerExternalAgentHistoriesMaxIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MAX_ID_ASC', - TickerExternalAgentHistoriesMaxIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MAX_ID_DESC', - TickerExternalAgentHistoriesMaxPermissionsAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MAX_PERMISSIONS_ASC', - TickerExternalAgentHistoriesMaxPermissionsDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MAX_PERMISSIONS_DESC', - TickerExternalAgentHistoriesMaxTypeAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MAX_TYPE_ASC', - TickerExternalAgentHistoriesMaxTypeDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MAX_TYPE_DESC', - TickerExternalAgentHistoriesMaxUpdatedAtAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MAX_UPDATED_AT_ASC', - TickerExternalAgentHistoriesMaxUpdatedAtDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MAX_UPDATED_AT_DESC', - TickerExternalAgentHistoriesMaxUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MAX_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentHistoriesMaxUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MAX_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentHistoriesMinAssetIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MIN_ASSET_ID_ASC', - TickerExternalAgentHistoriesMinAssetIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MIN_ASSET_ID_DESC', - TickerExternalAgentHistoriesMinCreatedAtAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MIN_CREATED_AT_ASC', - TickerExternalAgentHistoriesMinCreatedAtDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MIN_CREATED_AT_DESC', - TickerExternalAgentHistoriesMinCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MIN_CREATED_BLOCK_ID_ASC', - TickerExternalAgentHistoriesMinCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MIN_CREATED_BLOCK_ID_DESC', - TickerExternalAgentHistoriesMinDatetimeAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MIN_DATETIME_ASC', - TickerExternalAgentHistoriesMinDatetimeDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MIN_DATETIME_DESC', - TickerExternalAgentHistoriesMinEventIdxAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MIN_EVENT_IDX_ASC', - TickerExternalAgentHistoriesMinEventIdxDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MIN_EVENT_IDX_DESC', - TickerExternalAgentHistoriesMinIdentityIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MIN_IDENTITY_ID_ASC', - TickerExternalAgentHistoriesMinIdentityIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MIN_IDENTITY_ID_DESC', - TickerExternalAgentHistoriesMinIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MIN_ID_ASC', - TickerExternalAgentHistoriesMinIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MIN_ID_DESC', - TickerExternalAgentHistoriesMinPermissionsAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MIN_PERMISSIONS_ASC', - TickerExternalAgentHistoriesMinPermissionsDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MIN_PERMISSIONS_DESC', - TickerExternalAgentHistoriesMinTypeAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MIN_TYPE_ASC', - TickerExternalAgentHistoriesMinTypeDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MIN_TYPE_DESC', - TickerExternalAgentHistoriesMinUpdatedAtAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MIN_UPDATED_AT_ASC', - TickerExternalAgentHistoriesMinUpdatedAtDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MIN_UPDATED_AT_DESC', - TickerExternalAgentHistoriesMinUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MIN_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentHistoriesMinUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_MIN_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentHistoriesStddevPopulationAssetIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_POPULATION_ASSET_ID_ASC', - TickerExternalAgentHistoriesStddevPopulationAssetIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_POPULATION_ASSET_ID_DESC', - TickerExternalAgentHistoriesStddevPopulationCreatedAtAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_POPULATION_CREATED_AT_ASC', - TickerExternalAgentHistoriesStddevPopulationCreatedAtDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_POPULATION_CREATED_AT_DESC', - TickerExternalAgentHistoriesStddevPopulationCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - TickerExternalAgentHistoriesStddevPopulationCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - TickerExternalAgentHistoriesStddevPopulationDatetimeAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_POPULATION_DATETIME_ASC', - TickerExternalAgentHistoriesStddevPopulationDatetimeDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_POPULATION_DATETIME_DESC', - TickerExternalAgentHistoriesStddevPopulationEventIdxAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_POPULATION_EVENT_IDX_ASC', - TickerExternalAgentHistoriesStddevPopulationEventIdxDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_POPULATION_EVENT_IDX_DESC', - TickerExternalAgentHistoriesStddevPopulationIdentityIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_POPULATION_IDENTITY_ID_ASC', - TickerExternalAgentHistoriesStddevPopulationIdentityIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_POPULATION_IDENTITY_ID_DESC', - TickerExternalAgentHistoriesStddevPopulationIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_POPULATION_ID_ASC', - TickerExternalAgentHistoriesStddevPopulationIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_POPULATION_ID_DESC', - TickerExternalAgentHistoriesStddevPopulationPermissionsAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_POPULATION_PERMISSIONS_ASC', - TickerExternalAgentHistoriesStddevPopulationPermissionsDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_POPULATION_PERMISSIONS_DESC', - TickerExternalAgentHistoriesStddevPopulationTypeAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_POPULATION_TYPE_ASC', - TickerExternalAgentHistoriesStddevPopulationTypeDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_POPULATION_TYPE_DESC', - TickerExternalAgentHistoriesStddevPopulationUpdatedAtAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_POPULATION_UPDATED_AT_ASC', - TickerExternalAgentHistoriesStddevPopulationUpdatedAtDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_POPULATION_UPDATED_AT_DESC', - TickerExternalAgentHistoriesStddevPopulationUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentHistoriesStddevPopulationUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentHistoriesStddevSampleAssetIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_SAMPLE_ASSET_ID_ASC', - TickerExternalAgentHistoriesStddevSampleAssetIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_SAMPLE_ASSET_ID_DESC', - TickerExternalAgentHistoriesStddevSampleCreatedAtAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_SAMPLE_CREATED_AT_ASC', - TickerExternalAgentHistoriesStddevSampleCreatedAtDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_SAMPLE_CREATED_AT_DESC', - TickerExternalAgentHistoriesStddevSampleCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - TickerExternalAgentHistoriesStddevSampleCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - TickerExternalAgentHistoriesStddevSampleDatetimeAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_SAMPLE_DATETIME_ASC', - TickerExternalAgentHistoriesStddevSampleDatetimeDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_SAMPLE_DATETIME_DESC', - TickerExternalAgentHistoriesStddevSampleEventIdxAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_SAMPLE_EVENT_IDX_ASC', - TickerExternalAgentHistoriesStddevSampleEventIdxDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_SAMPLE_EVENT_IDX_DESC', - TickerExternalAgentHistoriesStddevSampleIdentityIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_SAMPLE_IDENTITY_ID_ASC', - TickerExternalAgentHistoriesStddevSampleIdentityIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_SAMPLE_IDENTITY_ID_DESC', - TickerExternalAgentHistoriesStddevSampleIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_SAMPLE_ID_ASC', - TickerExternalAgentHistoriesStddevSampleIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_SAMPLE_ID_DESC', - TickerExternalAgentHistoriesStddevSamplePermissionsAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_SAMPLE_PERMISSIONS_ASC', - TickerExternalAgentHistoriesStddevSamplePermissionsDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_SAMPLE_PERMISSIONS_DESC', - TickerExternalAgentHistoriesStddevSampleTypeAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_SAMPLE_TYPE_ASC', - TickerExternalAgentHistoriesStddevSampleTypeDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_SAMPLE_TYPE_DESC', - TickerExternalAgentHistoriesStddevSampleUpdatedAtAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_SAMPLE_UPDATED_AT_ASC', - TickerExternalAgentHistoriesStddevSampleUpdatedAtDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_SAMPLE_UPDATED_AT_DESC', - TickerExternalAgentHistoriesStddevSampleUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentHistoriesStddevSampleUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentHistoriesSumAssetIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_SUM_ASSET_ID_ASC', - TickerExternalAgentHistoriesSumAssetIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_SUM_ASSET_ID_DESC', - TickerExternalAgentHistoriesSumCreatedAtAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_SUM_CREATED_AT_ASC', - TickerExternalAgentHistoriesSumCreatedAtDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_SUM_CREATED_AT_DESC', - TickerExternalAgentHistoriesSumCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_SUM_CREATED_BLOCK_ID_ASC', - TickerExternalAgentHistoriesSumCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_SUM_CREATED_BLOCK_ID_DESC', - TickerExternalAgentHistoriesSumDatetimeAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_SUM_DATETIME_ASC', - TickerExternalAgentHistoriesSumDatetimeDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_SUM_DATETIME_DESC', - TickerExternalAgentHistoriesSumEventIdxAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_SUM_EVENT_IDX_ASC', - TickerExternalAgentHistoriesSumEventIdxDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_SUM_EVENT_IDX_DESC', - TickerExternalAgentHistoriesSumIdentityIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_SUM_IDENTITY_ID_ASC', - TickerExternalAgentHistoriesSumIdentityIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_SUM_IDENTITY_ID_DESC', - TickerExternalAgentHistoriesSumIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_SUM_ID_ASC', - TickerExternalAgentHistoriesSumIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_SUM_ID_DESC', - TickerExternalAgentHistoriesSumPermissionsAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_SUM_PERMISSIONS_ASC', - TickerExternalAgentHistoriesSumPermissionsDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_SUM_PERMISSIONS_DESC', - TickerExternalAgentHistoriesSumTypeAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_SUM_TYPE_ASC', - TickerExternalAgentHistoriesSumTypeDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_SUM_TYPE_DESC', - TickerExternalAgentHistoriesSumUpdatedAtAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_SUM_UPDATED_AT_ASC', - TickerExternalAgentHistoriesSumUpdatedAtDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_SUM_UPDATED_AT_DESC', - TickerExternalAgentHistoriesSumUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_SUM_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentHistoriesSumUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_SUM_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentHistoriesVariancePopulationAssetIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_POPULATION_ASSET_ID_ASC', - TickerExternalAgentHistoriesVariancePopulationAssetIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_POPULATION_ASSET_ID_DESC', - TickerExternalAgentHistoriesVariancePopulationCreatedAtAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_POPULATION_CREATED_AT_ASC', - TickerExternalAgentHistoriesVariancePopulationCreatedAtDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_POPULATION_CREATED_AT_DESC', - TickerExternalAgentHistoriesVariancePopulationCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - TickerExternalAgentHistoriesVariancePopulationCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - TickerExternalAgentHistoriesVariancePopulationDatetimeAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_POPULATION_DATETIME_ASC', - TickerExternalAgentHistoriesVariancePopulationDatetimeDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_POPULATION_DATETIME_DESC', - TickerExternalAgentHistoriesVariancePopulationEventIdxAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_POPULATION_EVENT_IDX_ASC', - TickerExternalAgentHistoriesVariancePopulationEventIdxDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_POPULATION_EVENT_IDX_DESC', - TickerExternalAgentHistoriesVariancePopulationIdentityIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_POPULATION_IDENTITY_ID_ASC', - TickerExternalAgentHistoriesVariancePopulationIdentityIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_POPULATION_IDENTITY_ID_DESC', - TickerExternalAgentHistoriesVariancePopulationIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_POPULATION_ID_ASC', - TickerExternalAgentHistoriesVariancePopulationIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_POPULATION_ID_DESC', - TickerExternalAgentHistoriesVariancePopulationPermissionsAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_POPULATION_PERMISSIONS_ASC', - TickerExternalAgentHistoriesVariancePopulationPermissionsDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_POPULATION_PERMISSIONS_DESC', - TickerExternalAgentHistoriesVariancePopulationTypeAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_POPULATION_TYPE_ASC', - TickerExternalAgentHistoriesVariancePopulationTypeDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_POPULATION_TYPE_DESC', - TickerExternalAgentHistoriesVariancePopulationUpdatedAtAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_POPULATION_UPDATED_AT_ASC', - TickerExternalAgentHistoriesVariancePopulationUpdatedAtDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_POPULATION_UPDATED_AT_DESC', - TickerExternalAgentHistoriesVariancePopulationUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentHistoriesVariancePopulationUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - TickerExternalAgentHistoriesVarianceSampleAssetIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_SAMPLE_ASSET_ID_ASC', - TickerExternalAgentHistoriesVarianceSampleAssetIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_SAMPLE_ASSET_ID_DESC', - TickerExternalAgentHistoriesVarianceSampleCreatedAtAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_SAMPLE_CREATED_AT_ASC', - TickerExternalAgentHistoriesVarianceSampleCreatedAtDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_SAMPLE_CREATED_AT_DESC', - TickerExternalAgentHistoriesVarianceSampleCreatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - TickerExternalAgentHistoriesVarianceSampleCreatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - TickerExternalAgentHistoriesVarianceSampleDatetimeAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_SAMPLE_DATETIME_ASC', - TickerExternalAgentHistoriesVarianceSampleDatetimeDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_SAMPLE_DATETIME_DESC', - TickerExternalAgentHistoriesVarianceSampleEventIdxAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_SAMPLE_EVENT_IDX_ASC', - TickerExternalAgentHistoriesVarianceSampleEventIdxDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_SAMPLE_EVENT_IDX_DESC', - TickerExternalAgentHistoriesVarianceSampleIdentityIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_SAMPLE_IDENTITY_ID_ASC', - TickerExternalAgentHistoriesVarianceSampleIdentityIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_SAMPLE_IDENTITY_ID_DESC', - TickerExternalAgentHistoriesVarianceSampleIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_SAMPLE_ID_ASC', - TickerExternalAgentHistoriesVarianceSampleIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_SAMPLE_ID_DESC', - TickerExternalAgentHistoriesVarianceSamplePermissionsAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_SAMPLE_PERMISSIONS_ASC', - TickerExternalAgentHistoriesVarianceSamplePermissionsDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_SAMPLE_PERMISSIONS_DESC', - TickerExternalAgentHistoriesVarianceSampleTypeAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_SAMPLE_TYPE_ASC', - TickerExternalAgentHistoriesVarianceSampleTypeDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_SAMPLE_TYPE_DESC', - TickerExternalAgentHistoriesVarianceSampleUpdatedAtAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_SAMPLE_UPDATED_AT_ASC', - TickerExternalAgentHistoriesVarianceSampleUpdatedAtDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_SAMPLE_UPDATED_AT_DESC', - TickerExternalAgentHistoriesVarianceSampleUpdatedBlockIdAsc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - TickerExternalAgentHistoriesVarianceSampleUpdatedBlockIdDesc = 'TICKER_EXTERNAL_AGENT_HISTORIES_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - TransferCompliancesByClaimIssuerIdAverageAssetIdAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_AVERAGE_ASSET_ID_ASC', - TransferCompliancesByClaimIssuerIdAverageAssetIdDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_AVERAGE_ASSET_ID_DESC', - TransferCompliancesByClaimIssuerIdAverageClaimIssuerIdAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_AVERAGE_CLAIM_ISSUER_ID_ASC', - TransferCompliancesByClaimIssuerIdAverageClaimIssuerIdDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_AVERAGE_CLAIM_ISSUER_ID_DESC', - TransferCompliancesByClaimIssuerIdAverageClaimTypeAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_AVERAGE_CLAIM_TYPE_ASC', - TransferCompliancesByClaimIssuerIdAverageClaimTypeDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_AVERAGE_CLAIM_TYPE_DESC', - TransferCompliancesByClaimIssuerIdAverageClaimValueAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_AVERAGE_CLAIM_VALUE_ASC', - TransferCompliancesByClaimIssuerIdAverageClaimValueDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_AVERAGE_CLAIM_VALUE_DESC', - TransferCompliancesByClaimIssuerIdAverageCreatedAtAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_AVERAGE_CREATED_AT_ASC', - TransferCompliancesByClaimIssuerIdAverageCreatedAtDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_AVERAGE_CREATED_AT_DESC', - TransferCompliancesByClaimIssuerIdAverageCreatedBlockIdAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - TransferCompliancesByClaimIssuerIdAverageCreatedBlockIdDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - TransferCompliancesByClaimIssuerIdAverageIdAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_AVERAGE_ID_ASC', - TransferCompliancesByClaimIssuerIdAverageIdDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_AVERAGE_ID_DESC', - TransferCompliancesByClaimIssuerIdAverageMaxAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_AVERAGE_MAX_ASC', - TransferCompliancesByClaimIssuerIdAverageMaxDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_AVERAGE_MAX_DESC', - TransferCompliancesByClaimIssuerIdAverageMinAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_AVERAGE_MIN_ASC', - TransferCompliancesByClaimIssuerIdAverageMinDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_AVERAGE_MIN_DESC', - TransferCompliancesByClaimIssuerIdAverageStatTypeIdAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_AVERAGE_STAT_TYPE_ID_ASC', - TransferCompliancesByClaimIssuerIdAverageStatTypeIdDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_AVERAGE_STAT_TYPE_ID_DESC', - TransferCompliancesByClaimIssuerIdAverageTypeAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_AVERAGE_TYPE_ASC', - TransferCompliancesByClaimIssuerIdAverageTypeDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_AVERAGE_TYPE_DESC', - TransferCompliancesByClaimIssuerIdAverageUpdatedAtAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_AVERAGE_UPDATED_AT_ASC', - TransferCompliancesByClaimIssuerIdAverageUpdatedAtDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_AVERAGE_UPDATED_AT_DESC', - TransferCompliancesByClaimIssuerIdAverageUpdatedBlockIdAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - TransferCompliancesByClaimIssuerIdAverageUpdatedBlockIdDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - TransferCompliancesByClaimIssuerIdAverageValueAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_AVERAGE_VALUE_ASC', - TransferCompliancesByClaimIssuerIdAverageValueDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_AVERAGE_VALUE_DESC', - TransferCompliancesByClaimIssuerIdCountAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_COUNT_ASC', - TransferCompliancesByClaimIssuerIdCountDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_COUNT_DESC', - TransferCompliancesByClaimIssuerIdDistinctCountAssetIdAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_DISTINCT_COUNT_ASSET_ID_ASC', - TransferCompliancesByClaimIssuerIdDistinctCountAssetIdDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_DISTINCT_COUNT_ASSET_ID_DESC', - TransferCompliancesByClaimIssuerIdDistinctCountClaimIssuerIdAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_DISTINCT_COUNT_CLAIM_ISSUER_ID_ASC', - TransferCompliancesByClaimIssuerIdDistinctCountClaimIssuerIdDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_DISTINCT_COUNT_CLAIM_ISSUER_ID_DESC', - TransferCompliancesByClaimIssuerIdDistinctCountClaimTypeAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_DISTINCT_COUNT_CLAIM_TYPE_ASC', - TransferCompliancesByClaimIssuerIdDistinctCountClaimTypeDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_DISTINCT_COUNT_CLAIM_TYPE_DESC', - TransferCompliancesByClaimIssuerIdDistinctCountClaimValueAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_DISTINCT_COUNT_CLAIM_VALUE_ASC', - TransferCompliancesByClaimIssuerIdDistinctCountClaimValueDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_DISTINCT_COUNT_CLAIM_VALUE_DESC', - TransferCompliancesByClaimIssuerIdDistinctCountCreatedAtAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_DISTINCT_COUNT_CREATED_AT_ASC', - TransferCompliancesByClaimIssuerIdDistinctCountCreatedAtDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_DISTINCT_COUNT_CREATED_AT_DESC', - TransferCompliancesByClaimIssuerIdDistinctCountCreatedBlockIdAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - TransferCompliancesByClaimIssuerIdDistinctCountCreatedBlockIdDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - TransferCompliancesByClaimIssuerIdDistinctCountIdAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_DISTINCT_COUNT_ID_ASC', - TransferCompliancesByClaimIssuerIdDistinctCountIdDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_DISTINCT_COUNT_ID_DESC', - TransferCompliancesByClaimIssuerIdDistinctCountMaxAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_DISTINCT_COUNT_MAX_ASC', - TransferCompliancesByClaimIssuerIdDistinctCountMaxDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_DISTINCT_COUNT_MAX_DESC', - TransferCompliancesByClaimIssuerIdDistinctCountMinAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_DISTINCT_COUNT_MIN_ASC', - TransferCompliancesByClaimIssuerIdDistinctCountMinDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_DISTINCT_COUNT_MIN_DESC', - TransferCompliancesByClaimIssuerIdDistinctCountStatTypeIdAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_DISTINCT_COUNT_STAT_TYPE_ID_ASC', - TransferCompliancesByClaimIssuerIdDistinctCountStatTypeIdDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_DISTINCT_COUNT_STAT_TYPE_ID_DESC', - TransferCompliancesByClaimIssuerIdDistinctCountTypeAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_DISTINCT_COUNT_TYPE_ASC', - TransferCompliancesByClaimIssuerIdDistinctCountTypeDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_DISTINCT_COUNT_TYPE_DESC', - TransferCompliancesByClaimIssuerIdDistinctCountUpdatedAtAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - TransferCompliancesByClaimIssuerIdDistinctCountUpdatedAtDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - TransferCompliancesByClaimIssuerIdDistinctCountUpdatedBlockIdAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - TransferCompliancesByClaimIssuerIdDistinctCountUpdatedBlockIdDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - TransferCompliancesByClaimIssuerIdDistinctCountValueAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_DISTINCT_COUNT_VALUE_ASC', - TransferCompliancesByClaimIssuerIdDistinctCountValueDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_DISTINCT_COUNT_VALUE_DESC', - TransferCompliancesByClaimIssuerIdMaxAssetIdAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_MAX_ASSET_ID_ASC', - TransferCompliancesByClaimIssuerIdMaxAssetIdDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_MAX_ASSET_ID_DESC', - TransferCompliancesByClaimIssuerIdMaxClaimIssuerIdAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_MAX_CLAIM_ISSUER_ID_ASC', - TransferCompliancesByClaimIssuerIdMaxClaimIssuerIdDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_MAX_CLAIM_ISSUER_ID_DESC', - TransferCompliancesByClaimIssuerIdMaxClaimTypeAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_MAX_CLAIM_TYPE_ASC', - TransferCompliancesByClaimIssuerIdMaxClaimTypeDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_MAX_CLAIM_TYPE_DESC', - TransferCompliancesByClaimIssuerIdMaxClaimValueAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_MAX_CLAIM_VALUE_ASC', - TransferCompliancesByClaimIssuerIdMaxClaimValueDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_MAX_CLAIM_VALUE_DESC', - TransferCompliancesByClaimIssuerIdMaxCreatedAtAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_MAX_CREATED_AT_ASC', - TransferCompliancesByClaimIssuerIdMaxCreatedAtDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_MAX_CREATED_AT_DESC', - TransferCompliancesByClaimIssuerIdMaxCreatedBlockIdAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_MAX_CREATED_BLOCK_ID_ASC', - TransferCompliancesByClaimIssuerIdMaxCreatedBlockIdDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_MAX_CREATED_BLOCK_ID_DESC', - TransferCompliancesByClaimIssuerIdMaxIdAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_MAX_ID_ASC', - TransferCompliancesByClaimIssuerIdMaxIdDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_MAX_ID_DESC', - TransferCompliancesByClaimIssuerIdMaxMaxAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_MAX_MAX_ASC', - TransferCompliancesByClaimIssuerIdMaxMaxDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_MAX_MAX_DESC', - TransferCompliancesByClaimIssuerIdMaxMinAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_MAX_MIN_ASC', - TransferCompliancesByClaimIssuerIdMaxMinDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_MAX_MIN_DESC', - TransferCompliancesByClaimIssuerIdMaxStatTypeIdAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_MAX_STAT_TYPE_ID_ASC', - TransferCompliancesByClaimIssuerIdMaxStatTypeIdDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_MAX_STAT_TYPE_ID_DESC', - TransferCompliancesByClaimIssuerIdMaxTypeAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_MAX_TYPE_ASC', - TransferCompliancesByClaimIssuerIdMaxTypeDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_MAX_TYPE_DESC', - TransferCompliancesByClaimIssuerIdMaxUpdatedAtAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_MAX_UPDATED_AT_ASC', - TransferCompliancesByClaimIssuerIdMaxUpdatedAtDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_MAX_UPDATED_AT_DESC', - TransferCompliancesByClaimIssuerIdMaxUpdatedBlockIdAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_MAX_UPDATED_BLOCK_ID_ASC', - TransferCompliancesByClaimIssuerIdMaxUpdatedBlockIdDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_MAX_UPDATED_BLOCK_ID_DESC', - TransferCompliancesByClaimIssuerIdMaxValueAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_MAX_VALUE_ASC', - TransferCompliancesByClaimIssuerIdMaxValueDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_MAX_VALUE_DESC', - TransferCompliancesByClaimIssuerIdMinAssetIdAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_MIN_ASSET_ID_ASC', - TransferCompliancesByClaimIssuerIdMinAssetIdDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_MIN_ASSET_ID_DESC', - TransferCompliancesByClaimIssuerIdMinClaimIssuerIdAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_MIN_CLAIM_ISSUER_ID_ASC', - TransferCompliancesByClaimIssuerIdMinClaimIssuerIdDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_MIN_CLAIM_ISSUER_ID_DESC', - TransferCompliancesByClaimIssuerIdMinClaimTypeAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_MIN_CLAIM_TYPE_ASC', - TransferCompliancesByClaimIssuerIdMinClaimTypeDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_MIN_CLAIM_TYPE_DESC', - TransferCompliancesByClaimIssuerIdMinClaimValueAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_MIN_CLAIM_VALUE_ASC', - TransferCompliancesByClaimIssuerIdMinClaimValueDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_MIN_CLAIM_VALUE_DESC', - TransferCompliancesByClaimIssuerIdMinCreatedAtAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_MIN_CREATED_AT_ASC', - TransferCompliancesByClaimIssuerIdMinCreatedAtDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_MIN_CREATED_AT_DESC', - TransferCompliancesByClaimIssuerIdMinCreatedBlockIdAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_MIN_CREATED_BLOCK_ID_ASC', - TransferCompliancesByClaimIssuerIdMinCreatedBlockIdDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_MIN_CREATED_BLOCK_ID_DESC', - TransferCompliancesByClaimIssuerIdMinIdAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_MIN_ID_ASC', - TransferCompliancesByClaimIssuerIdMinIdDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_MIN_ID_DESC', - TransferCompliancesByClaimIssuerIdMinMaxAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_MIN_MAX_ASC', - TransferCompliancesByClaimIssuerIdMinMaxDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_MIN_MAX_DESC', - TransferCompliancesByClaimIssuerIdMinMinAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_MIN_MIN_ASC', - TransferCompliancesByClaimIssuerIdMinMinDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_MIN_MIN_DESC', - TransferCompliancesByClaimIssuerIdMinStatTypeIdAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_MIN_STAT_TYPE_ID_ASC', - TransferCompliancesByClaimIssuerIdMinStatTypeIdDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_MIN_STAT_TYPE_ID_DESC', - TransferCompliancesByClaimIssuerIdMinTypeAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_MIN_TYPE_ASC', - TransferCompliancesByClaimIssuerIdMinTypeDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_MIN_TYPE_DESC', - TransferCompliancesByClaimIssuerIdMinUpdatedAtAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_MIN_UPDATED_AT_ASC', - TransferCompliancesByClaimIssuerIdMinUpdatedAtDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_MIN_UPDATED_AT_DESC', - TransferCompliancesByClaimIssuerIdMinUpdatedBlockIdAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_MIN_UPDATED_BLOCK_ID_ASC', - TransferCompliancesByClaimIssuerIdMinUpdatedBlockIdDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_MIN_UPDATED_BLOCK_ID_DESC', - TransferCompliancesByClaimIssuerIdMinValueAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_MIN_VALUE_ASC', - TransferCompliancesByClaimIssuerIdMinValueDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_MIN_VALUE_DESC', - TransferCompliancesByClaimIssuerIdStddevPopulationAssetIdAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_STDDEV_POPULATION_ASSET_ID_ASC', - TransferCompliancesByClaimIssuerIdStddevPopulationAssetIdDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_STDDEV_POPULATION_ASSET_ID_DESC', - TransferCompliancesByClaimIssuerIdStddevPopulationClaimIssuerIdAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_STDDEV_POPULATION_CLAIM_ISSUER_ID_ASC', - TransferCompliancesByClaimIssuerIdStddevPopulationClaimIssuerIdDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_STDDEV_POPULATION_CLAIM_ISSUER_ID_DESC', - TransferCompliancesByClaimIssuerIdStddevPopulationClaimTypeAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_STDDEV_POPULATION_CLAIM_TYPE_ASC', - TransferCompliancesByClaimIssuerIdStddevPopulationClaimTypeDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_STDDEV_POPULATION_CLAIM_TYPE_DESC', - TransferCompliancesByClaimIssuerIdStddevPopulationClaimValueAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_STDDEV_POPULATION_CLAIM_VALUE_ASC', - TransferCompliancesByClaimIssuerIdStddevPopulationClaimValueDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_STDDEV_POPULATION_CLAIM_VALUE_DESC', - TransferCompliancesByClaimIssuerIdStddevPopulationCreatedAtAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_STDDEV_POPULATION_CREATED_AT_ASC', - TransferCompliancesByClaimIssuerIdStddevPopulationCreatedAtDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_STDDEV_POPULATION_CREATED_AT_DESC', - TransferCompliancesByClaimIssuerIdStddevPopulationCreatedBlockIdAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - TransferCompliancesByClaimIssuerIdStddevPopulationCreatedBlockIdDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - TransferCompliancesByClaimIssuerIdStddevPopulationIdAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_STDDEV_POPULATION_ID_ASC', - TransferCompliancesByClaimIssuerIdStddevPopulationIdDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_STDDEV_POPULATION_ID_DESC', - TransferCompliancesByClaimIssuerIdStddevPopulationMaxAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_STDDEV_POPULATION_MAX_ASC', - TransferCompliancesByClaimIssuerIdStddevPopulationMaxDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_STDDEV_POPULATION_MAX_DESC', - TransferCompliancesByClaimIssuerIdStddevPopulationMinAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_STDDEV_POPULATION_MIN_ASC', - TransferCompliancesByClaimIssuerIdStddevPopulationMinDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_STDDEV_POPULATION_MIN_DESC', - TransferCompliancesByClaimIssuerIdStddevPopulationStatTypeIdAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_STDDEV_POPULATION_STAT_TYPE_ID_ASC', - TransferCompliancesByClaimIssuerIdStddevPopulationStatTypeIdDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_STDDEV_POPULATION_STAT_TYPE_ID_DESC', - TransferCompliancesByClaimIssuerIdStddevPopulationTypeAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_STDDEV_POPULATION_TYPE_ASC', - TransferCompliancesByClaimIssuerIdStddevPopulationTypeDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_STDDEV_POPULATION_TYPE_DESC', - TransferCompliancesByClaimIssuerIdStddevPopulationUpdatedAtAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - TransferCompliancesByClaimIssuerIdStddevPopulationUpdatedAtDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - TransferCompliancesByClaimIssuerIdStddevPopulationUpdatedBlockIdAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - TransferCompliancesByClaimIssuerIdStddevPopulationUpdatedBlockIdDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - TransferCompliancesByClaimIssuerIdStddevPopulationValueAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_STDDEV_POPULATION_VALUE_ASC', - TransferCompliancesByClaimIssuerIdStddevPopulationValueDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_STDDEV_POPULATION_VALUE_DESC', - TransferCompliancesByClaimIssuerIdStddevSampleAssetIdAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_STDDEV_SAMPLE_ASSET_ID_ASC', - TransferCompliancesByClaimIssuerIdStddevSampleAssetIdDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_STDDEV_SAMPLE_ASSET_ID_DESC', - TransferCompliancesByClaimIssuerIdStddevSampleClaimIssuerIdAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_STDDEV_SAMPLE_CLAIM_ISSUER_ID_ASC', - TransferCompliancesByClaimIssuerIdStddevSampleClaimIssuerIdDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_STDDEV_SAMPLE_CLAIM_ISSUER_ID_DESC', - TransferCompliancesByClaimIssuerIdStddevSampleClaimTypeAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_STDDEV_SAMPLE_CLAIM_TYPE_ASC', - TransferCompliancesByClaimIssuerIdStddevSampleClaimTypeDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_STDDEV_SAMPLE_CLAIM_TYPE_DESC', - TransferCompliancesByClaimIssuerIdStddevSampleClaimValueAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_STDDEV_SAMPLE_CLAIM_VALUE_ASC', - TransferCompliancesByClaimIssuerIdStddevSampleClaimValueDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_STDDEV_SAMPLE_CLAIM_VALUE_DESC', - TransferCompliancesByClaimIssuerIdStddevSampleCreatedAtAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - TransferCompliancesByClaimIssuerIdStddevSampleCreatedAtDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - TransferCompliancesByClaimIssuerIdStddevSampleCreatedBlockIdAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - TransferCompliancesByClaimIssuerIdStddevSampleCreatedBlockIdDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - TransferCompliancesByClaimIssuerIdStddevSampleIdAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_STDDEV_SAMPLE_ID_ASC', - TransferCompliancesByClaimIssuerIdStddevSampleIdDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_STDDEV_SAMPLE_ID_DESC', - TransferCompliancesByClaimIssuerIdStddevSampleMaxAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_STDDEV_SAMPLE_MAX_ASC', - TransferCompliancesByClaimIssuerIdStddevSampleMaxDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_STDDEV_SAMPLE_MAX_DESC', - TransferCompliancesByClaimIssuerIdStddevSampleMinAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_STDDEV_SAMPLE_MIN_ASC', - TransferCompliancesByClaimIssuerIdStddevSampleMinDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_STDDEV_SAMPLE_MIN_DESC', - TransferCompliancesByClaimIssuerIdStddevSampleStatTypeIdAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_STDDEV_SAMPLE_STAT_TYPE_ID_ASC', - TransferCompliancesByClaimIssuerIdStddevSampleStatTypeIdDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_STDDEV_SAMPLE_STAT_TYPE_ID_DESC', - TransferCompliancesByClaimIssuerIdStddevSampleTypeAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_STDDEV_SAMPLE_TYPE_ASC', - TransferCompliancesByClaimIssuerIdStddevSampleTypeDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_STDDEV_SAMPLE_TYPE_DESC', - TransferCompliancesByClaimIssuerIdStddevSampleUpdatedAtAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - TransferCompliancesByClaimIssuerIdStddevSampleUpdatedAtDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - TransferCompliancesByClaimIssuerIdStddevSampleUpdatedBlockIdAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - TransferCompliancesByClaimIssuerIdStddevSampleUpdatedBlockIdDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - TransferCompliancesByClaimIssuerIdStddevSampleValueAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_STDDEV_SAMPLE_VALUE_ASC', - TransferCompliancesByClaimIssuerIdStddevSampleValueDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_STDDEV_SAMPLE_VALUE_DESC', - TransferCompliancesByClaimIssuerIdSumAssetIdAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_SUM_ASSET_ID_ASC', - TransferCompliancesByClaimIssuerIdSumAssetIdDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_SUM_ASSET_ID_DESC', - TransferCompliancesByClaimIssuerIdSumClaimIssuerIdAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_SUM_CLAIM_ISSUER_ID_ASC', - TransferCompliancesByClaimIssuerIdSumClaimIssuerIdDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_SUM_CLAIM_ISSUER_ID_DESC', - TransferCompliancesByClaimIssuerIdSumClaimTypeAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_SUM_CLAIM_TYPE_ASC', - TransferCompliancesByClaimIssuerIdSumClaimTypeDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_SUM_CLAIM_TYPE_DESC', - TransferCompliancesByClaimIssuerIdSumClaimValueAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_SUM_CLAIM_VALUE_ASC', - TransferCompliancesByClaimIssuerIdSumClaimValueDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_SUM_CLAIM_VALUE_DESC', - TransferCompliancesByClaimIssuerIdSumCreatedAtAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_SUM_CREATED_AT_ASC', - TransferCompliancesByClaimIssuerIdSumCreatedAtDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_SUM_CREATED_AT_DESC', - TransferCompliancesByClaimIssuerIdSumCreatedBlockIdAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_SUM_CREATED_BLOCK_ID_ASC', - TransferCompliancesByClaimIssuerIdSumCreatedBlockIdDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_SUM_CREATED_BLOCK_ID_DESC', - TransferCompliancesByClaimIssuerIdSumIdAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_SUM_ID_ASC', - TransferCompliancesByClaimIssuerIdSumIdDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_SUM_ID_DESC', - TransferCompliancesByClaimIssuerIdSumMaxAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_SUM_MAX_ASC', - TransferCompliancesByClaimIssuerIdSumMaxDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_SUM_MAX_DESC', - TransferCompliancesByClaimIssuerIdSumMinAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_SUM_MIN_ASC', - TransferCompliancesByClaimIssuerIdSumMinDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_SUM_MIN_DESC', - TransferCompliancesByClaimIssuerIdSumStatTypeIdAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_SUM_STAT_TYPE_ID_ASC', - TransferCompliancesByClaimIssuerIdSumStatTypeIdDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_SUM_STAT_TYPE_ID_DESC', - TransferCompliancesByClaimIssuerIdSumTypeAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_SUM_TYPE_ASC', - TransferCompliancesByClaimIssuerIdSumTypeDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_SUM_TYPE_DESC', - TransferCompliancesByClaimIssuerIdSumUpdatedAtAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_SUM_UPDATED_AT_ASC', - TransferCompliancesByClaimIssuerIdSumUpdatedAtDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_SUM_UPDATED_AT_DESC', - TransferCompliancesByClaimIssuerIdSumUpdatedBlockIdAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_SUM_UPDATED_BLOCK_ID_ASC', - TransferCompliancesByClaimIssuerIdSumUpdatedBlockIdDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_SUM_UPDATED_BLOCK_ID_DESC', - TransferCompliancesByClaimIssuerIdSumValueAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_SUM_VALUE_ASC', - TransferCompliancesByClaimIssuerIdSumValueDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_SUM_VALUE_DESC', - TransferCompliancesByClaimIssuerIdVariancePopulationAssetIdAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_VARIANCE_POPULATION_ASSET_ID_ASC', - TransferCompliancesByClaimIssuerIdVariancePopulationAssetIdDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_VARIANCE_POPULATION_ASSET_ID_DESC', - TransferCompliancesByClaimIssuerIdVariancePopulationClaimIssuerIdAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_VARIANCE_POPULATION_CLAIM_ISSUER_ID_ASC', - TransferCompliancesByClaimIssuerIdVariancePopulationClaimIssuerIdDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_VARIANCE_POPULATION_CLAIM_ISSUER_ID_DESC', - TransferCompliancesByClaimIssuerIdVariancePopulationClaimTypeAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_VARIANCE_POPULATION_CLAIM_TYPE_ASC', - TransferCompliancesByClaimIssuerIdVariancePopulationClaimTypeDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_VARIANCE_POPULATION_CLAIM_TYPE_DESC', - TransferCompliancesByClaimIssuerIdVariancePopulationClaimValueAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_VARIANCE_POPULATION_CLAIM_VALUE_ASC', - TransferCompliancesByClaimIssuerIdVariancePopulationClaimValueDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_VARIANCE_POPULATION_CLAIM_VALUE_DESC', - TransferCompliancesByClaimIssuerIdVariancePopulationCreatedAtAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - TransferCompliancesByClaimIssuerIdVariancePopulationCreatedAtDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - TransferCompliancesByClaimIssuerIdVariancePopulationCreatedBlockIdAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - TransferCompliancesByClaimIssuerIdVariancePopulationCreatedBlockIdDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - TransferCompliancesByClaimIssuerIdVariancePopulationIdAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_VARIANCE_POPULATION_ID_ASC', - TransferCompliancesByClaimIssuerIdVariancePopulationIdDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_VARIANCE_POPULATION_ID_DESC', - TransferCompliancesByClaimIssuerIdVariancePopulationMaxAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_VARIANCE_POPULATION_MAX_ASC', - TransferCompliancesByClaimIssuerIdVariancePopulationMaxDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_VARIANCE_POPULATION_MAX_DESC', - TransferCompliancesByClaimIssuerIdVariancePopulationMinAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_VARIANCE_POPULATION_MIN_ASC', - TransferCompliancesByClaimIssuerIdVariancePopulationMinDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_VARIANCE_POPULATION_MIN_DESC', - TransferCompliancesByClaimIssuerIdVariancePopulationStatTypeIdAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_VARIANCE_POPULATION_STAT_TYPE_ID_ASC', - TransferCompliancesByClaimIssuerIdVariancePopulationStatTypeIdDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_VARIANCE_POPULATION_STAT_TYPE_ID_DESC', - TransferCompliancesByClaimIssuerIdVariancePopulationTypeAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_VARIANCE_POPULATION_TYPE_ASC', - TransferCompliancesByClaimIssuerIdVariancePopulationTypeDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_VARIANCE_POPULATION_TYPE_DESC', - TransferCompliancesByClaimIssuerIdVariancePopulationUpdatedAtAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - TransferCompliancesByClaimIssuerIdVariancePopulationUpdatedAtDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - TransferCompliancesByClaimIssuerIdVariancePopulationUpdatedBlockIdAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - TransferCompliancesByClaimIssuerIdVariancePopulationUpdatedBlockIdDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - TransferCompliancesByClaimIssuerIdVariancePopulationValueAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_VARIANCE_POPULATION_VALUE_ASC', - TransferCompliancesByClaimIssuerIdVariancePopulationValueDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_VARIANCE_POPULATION_VALUE_DESC', - TransferCompliancesByClaimIssuerIdVarianceSampleAssetIdAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_VARIANCE_SAMPLE_ASSET_ID_ASC', - TransferCompliancesByClaimIssuerIdVarianceSampleAssetIdDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_VARIANCE_SAMPLE_ASSET_ID_DESC', - TransferCompliancesByClaimIssuerIdVarianceSampleClaimIssuerIdAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_VARIANCE_SAMPLE_CLAIM_ISSUER_ID_ASC', - TransferCompliancesByClaimIssuerIdVarianceSampleClaimIssuerIdDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_VARIANCE_SAMPLE_CLAIM_ISSUER_ID_DESC', - TransferCompliancesByClaimIssuerIdVarianceSampleClaimTypeAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_VARIANCE_SAMPLE_CLAIM_TYPE_ASC', - TransferCompliancesByClaimIssuerIdVarianceSampleClaimTypeDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_VARIANCE_SAMPLE_CLAIM_TYPE_DESC', - TransferCompliancesByClaimIssuerIdVarianceSampleClaimValueAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_VARIANCE_SAMPLE_CLAIM_VALUE_ASC', - TransferCompliancesByClaimIssuerIdVarianceSampleClaimValueDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_VARIANCE_SAMPLE_CLAIM_VALUE_DESC', - TransferCompliancesByClaimIssuerIdVarianceSampleCreatedAtAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - TransferCompliancesByClaimIssuerIdVarianceSampleCreatedAtDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - TransferCompliancesByClaimIssuerIdVarianceSampleCreatedBlockIdAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - TransferCompliancesByClaimIssuerIdVarianceSampleCreatedBlockIdDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - TransferCompliancesByClaimIssuerIdVarianceSampleIdAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_VARIANCE_SAMPLE_ID_ASC', - TransferCompliancesByClaimIssuerIdVarianceSampleIdDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_VARIANCE_SAMPLE_ID_DESC', - TransferCompliancesByClaimIssuerIdVarianceSampleMaxAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_VARIANCE_SAMPLE_MAX_ASC', - TransferCompliancesByClaimIssuerIdVarianceSampleMaxDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_VARIANCE_SAMPLE_MAX_DESC', - TransferCompliancesByClaimIssuerIdVarianceSampleMinAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_VARIANCE_SAMPLE_MIN_ASC', - TransferCompliancesByClaimIssuerIdVarianceSampleMinDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_VARIANCE_SAMPLE_MIN_DESC', - TransferCompliancesByClaimIssuerIdVarianceSampleStatTypeIdAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_VARIANCE_SAMPLE_STAT_TYPE_ID_ASC', - TransferCompliancesByClaimIssuerIdVarianceSampleStatTypeIdDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_VARIANCE_SAMPLE_STAT_TYPE_ID_DESC', - TransferCompliancesByClaimIssuerIdVarianceSampleTypeAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_VARIANCE_SAMPLE_TYPE_ASC', - TransferCompliancesByClaimIssuerIdVarianceSampleTypeDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_VARIANCE_SAMPLE_TYPE_DESC', - TransferCompliancesByClaimIssuerIdVarianceSampleUpdatedAtAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - TransferCompliancesByClaimIssuerIdVarianceSampleUpdatedAtDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - TransferCompliancesByClaimIssuerIdVarianceSampleUpdatedBlockIdAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - TransferCompliancesByClaimIssuerIdVarianceSampleUpdatedBlockIdDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - TransferCompliancesByClaimIssuerIdVarianceSampleValueAsc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_VARIANCE_SAMPLE_VALUE_ASC', - TransferCompliancesByClaimIssuerIdVarianceSampleValueDesc = 'TRANSFER_COMPLIANCES_BY_CLAIM_ISSUER_ID_VARIANCE_SAMPLE_VALUE_DESC', - UpdatedAtAsc = 'UPDATED_AT_ASC', - UpdatedAtDesc = 'UPDATED_AT_DESC', - UpdatedBlockIdAsc = 'UPDATED_BLOCK_ID_ASC', - UpdatedBlockIdDesc = 'UPDATED_BLOCK_ID_DESC', - VenuesByOwnerIdAverageCreatedAtAsc = 'VENUES_BY_OWNER_ID_AVERAGE_CREATED_AT_ASC', - VenuesByOwnerIdAverageCreatedAtDesc = 'VENUES_BY_OWNER_ID_AVERAGE_CREATED_AT_DESC', - VenuesByOwnerIdAverageCreatedBlockIdAsc = 'VENUES_BY_OWNER_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - VenuesByOwnerIdAverageCreatedBlockIdDesc = 'VENUES_BY_OWNER_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - VenuesByOwnerIdAverageDetailsAsc = 'VENUES_BY_OWNER_ID_AVERAGE_DETAILS_ASC', - VenuesByOwnerIdAverageDetailsDesc = 'VENUES_BY_OWNER_ID_AVERAGE_DETAILS_DESC', - VenuesByOwnerIdAverageIdAsc = 'VENUES_BY_OWNER_ID_AVERAGE_ID_ASC', - VenuesByOwnerIdAverageIdDesc = 'VENUES_BY_OWNER_ID_AVERAGE_ID_DESC', - VenuesByOwnerIdAverageOwnerIdAsc = 'VENUES_BY_OWNER_ID_AVERAGE_OWNER_ID_ASC', - VenuesByOwnerIdAverageOwnerIdDesc = 'VENUES_BY_OWNER_ID_AVERAGE_OWNER_ID_DESC', - VenuesByOwnerIdAverageTypeAsc = 'VENUES_BY_OWNER_ID_AVERAGE_TYPE_ASC', - VenuesByOwnerIdAverageTypeDesc = 'VENUES_BY_OWNER_ID_AVERAGE_TYPE_DESC', - VenuesByOwnerIdAverageUpdatedAtAsc = 'VENUES_BY_OWNER_ID_AVERAGE_UPDATED_AT_ASC', - VenuesByOwnerIdAverageUpdatedAtDesc = 'VENUES_BY_OWNER_ID_AVERAGE_UPDATED_AT_DESC', - VenuesByOwnerIdAverageUpdatedBlockIdAsc = 'VENUES_BY_OWNER_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - VenuesByOwnerIdAverageUpdatedBlockIdDesc = 'VENUES_BY_OWNER_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - VenuesByOwnerIdCountAsc = 'VENUES_BY_OWNER_ID_COUNT_ASC', - VenuesByOwnerIdCountDesc = 'VENUES_BY_OWNER_ID_COUNT_DESC', - VenuesByOwnerIdDistinctCountCreatedAtAsc = 'VENUES_BY_OWNER_ID_DISTINCT_COUNT_CREATED_AT_ASC', - VenuesByOwnerIdDistinctCountCreatedAtDesc = 'VENUES_BY_OWNER_ID_DISTINCT_COUNT_CREATED_AT_DESC', - VenuesByOwnerIdDistinctCountCreatedBlockIdAsc = 'VENUES_BY_OWNER_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - VenuesByOwnerIdDistinctCountCreatedBlockIdDesc = 'VENUES_BY_OWNER_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - VenuesByOwnerIdDistinctCountDetailsAsc = 'VENUES_BY_OWNER_ID_DISTINCT_COUNT_DETAILS_ASC', - VenuesByOwnerIdDistinctCountDetailsDesc = 'VENUES_BY_OWNER_ID_DISTINCT_COUNT_DETAILS_DESC', - VenuesByOwnerIdDistinctCountIdAsc = 'VENUES_BY_OWNER_ID_DISTINCT_COUNT_ID_ASC', - VenuesByOwnerIdDistinctCountIdDesc = 'VENUES_BY_OWNER_ID_DISTINCT_COUNT_ID_DESC', - VenuesByOwnerIdDistinctCountOwnerIdAsc = 'VENUES_BY_OWNER_ID_DISTINCT_COUNT_OWNER_ID_ASC', - VenuesByOwnerIdDistinctCountOwnerIdDesc = 'VENUES_BY_OWNER_ID_DISTINCT_COUNT_OWNER_ID_DESC', - VenuesByOwnerIdDistinctCountTypeAsc = 'VENUES_BY_OWNER_ID_DISTINCT_COUNT_TYPE_ASC', - VenuesByOwnerIdDistinctCountTypeDesc = 'VENUES_BY_OWNER_ID_DISTINCT_COUNT_TYPE_DESC', - VenuesByOwnerIdDistinctCountUpdatedAtAsc = 'VENUES_BY_OWNER_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - VenuesByOwnerIdDistinctCountUpdatedAtDesc = 'VENUES_BY_OWNER_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - VenuesByOwnerIdDistinctCountUpdatedBlockIdAsc = 'VENUES_BY_OWNER_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - VenuesByOwnerIdDistinctCountUpdatedBlockIdDesc = 'VENUES_BY_OWNER_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - VenuesByOwnerIdMaxCreatedAtAsc = 'VENUES_BY_OWNER_ID_MAX_CREATED_AT_ASC', - VenuesByOwnerIdMaxCreatedAtDesc = 'VENUES_BY_OWNER_ID_MAX_CREATED_AT_DESC', - VenuesByOwnerIdMaxCreatedBlockIdAsc = 'VENUES_BY_OWNER_ID_MAX_CREATED_BLOCK_ID_ASC', - VenuesByOwnerIdMaxCreatedBlockIdDesc = 'VENUES_BY_OWNER_ID_MAX_CREATED_BLOCK_ID_DESC', - VenuesByOwnerIdMaxDetailsAsc = 'VENUES_BY_OWNER_ID_MAX_DETAILS_ASC', - VenuesByOwnerIdMaxDetailsDesc = 'VENUES_BY_OWNER_ID_MAX_DETAILS_DESC', - VenuesByOwnerIdMaxIdAsc = 'VENUES_BY_OWNER_ID_MAX_ID_ASC', - VenuesByOwnerIdMaxIdDesc = 'VENUES_BY_OWNER_ID_MAX_ID_DESC', - VenuesByOwnerIdMaxOwnerIdAsc = 'VENUES_BY_OWNER_ID_MAX_OWNER_ID_ASC', - VenuesByOwnerIdMaxOwnerIdDesc = 'VENUES_BY_OWNER_ID_MAX_OWNER_ID_DESC', - VenuesByOwnerIdMaxTypeAsc = 'VENUES_BY_OWNER_ID_MAX_TYPE_ASC', - VenuesByOwnerIdMaxTypeDesc = 'VENUES_BY_OWNER_ID_MAX_TYPE_DESC', - VenuesByOwnerIdMaxUpdatedAtAsc = 'VENUES_BY_OWNER_ID_MAX_UPDATED_AT_ASC', - VenuesByOwnerIdMaxUpdatedAtDesc = 'VENUES_BY_OWNER_ID_MAX_UPDATED_AT_DESC', - VenuesByOwnerIdMaxUpdatedBlockIdAsc = 'VENUES_BY_OWNER_ID_MAX_UPDATED_BLOCK_ID_ASC', - VenuesByOwnerIdMaxUpdatedBlockIdDesc = 'VENUES_BY_OWNER_ID_MAX_UPDATED_BLOCK_ID_DESC', - VenuesByOwnerIdMinCreatedAtAsc = 'VENUES_BY_OWNER_ID_MIN_CREATED_AT_ASC', - VenuesByOwnerIdMinCreatedAtDesc = 'VENUES_BY_OWNER_ID_MIN_CREATED_AT_DESC', - VenuesByOwnerIdMinCreatedBlockIdAsc = 'VENUES_BY_OWNER_ID_MIN_CREATED_BLOCK_ID_ASC', - VenuesByOwnerIdMinCreatedBlockIdDesc = 'VENUES_BY_OWNER_ID_MIN_CREATED_BLOCK_ID_DESC', - VenuesByOwnerIdMinDetailsAsc = 'VENUES_BY_OWNER_ID_MIN_DETAILS_ASC', - VenuesByOwnerIdMinDetailsDesc = 'VENUES_BY_OWNER_ID_MIN_DETAILS_DESC', - VenuesByOwnerIdMinIdAsc = 'VENUES_BY_OWNER_ID_MIN_ID_ASC', - VenuesByOwnerIdMinIdDesc = 'VENUES_BY_OWNER_ID_MIN_ID_DESC', - VenuesByOwnerIdMinOwnerIdAsc = 'VENUES_BY_OWNER_ID_MIN_OWNER_ID_ASC', - VenuesByOwnerIdMinOwnerIdDesc = 'VENUES_BY_OWNER_ID_MIN_OWNER_ID_DESC', - VenuesByOwnerIdMinTypeAsc = 'VENUES_BY_OWNER_ID_MIN_TYPE_ASC', - VenuesByOwnerIdMinTypeDesc = 'VENUES_BY_OWNER_ID_MIN_TYPE_DESC', - VenuesByOwnerIdMinUpdatedAtAsc = 'VENUES_BY_OWNER_ID_MIN_UPDATED_AT_ASC', - VenuesByOwnerIdMinUpdatedAtDesc = 'VENUES_BY_OWNER_ID_MIN_UPDATED_AT_DESC', - VenuesByOwnerIdMinUpdatedBlockIdAsc = 'VENUES_BY_OWNER_ID_MIN_UPDATED_BLOCK_ID_ASC', - VenuesByOwnerIdMinUpdatedBlockIdDesc = 'VENUES_BY_OWNER_ID_MIN_UPDATED_BLOCK_ID_DESC', - VenuesByOwnerIdStddevPopulationCreatedAtAsc = 'VENUES_BY_OWNER_ID_STDDEV_POPULATION_CREATED_AT_ASC', - VenuesByOwnerIdStddevPopulationCreatedAtDesc = 'VENUES_BY_OWNER_ID_STDDEV_POPULATION_CREATED_AT_DESC', - VenuesByOwnerIdStddevPopulationCreatedBlockIdAsc = 'VENUES_BY_OWNER_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - VenuesByOwnerIdStddevPopulationCreatedBlockIdDesc = 'VENUES_BY_OWNER_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - VenuesByOwnerIdStddevPopulationDetailsAsc = 'VENUES_BY_OWNER_ID_STDDEV_POPULATION_DETAILS_ASC', - VenuesByOwnerIdStddevPopulationDetailsDesc = 'VENUES_BY_OWNER_ID_STDDEV_POPULATION_DETAILS_DESC', - VenuesByOwnerIdStddevPopulationIdAsc = 'VENUES_BY_OWNER_ID_STDDEV_POPULATION_ID_ASC', - VenuesByOwnerIdStddevPopulationIdDesc = 'VENUES_BY_OWNER_ID_STDDEV_POPULATION_ID_DESC', - VenuesByOwnerIdStddevPopulationOwnerIdAsc = 'VENUES_BY_OWNER_ID_STDDEV_POPULATION_OWNER_ID_ASC', - VenuesByOwnerIdStddevPopulationOwnerIdDesc = 'VENUES_BY_OWNER_ID_STDDEV_POPULATION_OWNER_ID_DESC', - VenuesByOwnerIdStddevPopulationTypeAsc = 'VENUES_BY_OWNER_ID_STDDEV_POPULATION_TYPE_ASC', - VenuesByOwnerIdStddevPopulationTypeDesc = 'VENUES_BY_OWNER_ID_STDDEV_POPULATION_TYPE_DESC', - VenuesByOwnerIdStddevPopulationUpdatedAtAsc = 'VENUES_BY_OWNER_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - VenuesByOwnerIdStddevPopulationUpdatedAtDesc = 'VENUES_BY_OWNER_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - VenuesByOwnerIdStddevPopulationUpdatedBlockIdAsc = 'VENUES_BY_OWNER_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - VenuesByOwnerIdStddevPopulationUpdatedBlockIdDesc = 'VENUES_BY_OWNER_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - VenuesByOwnerIdStddevSampleCreatedAtAsc = 'VENUES_BY_OWNER_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - VenuesByOwnerIdStddevSampleCreatedAtDesc = 'VENUES_BY_OWNER_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - VenuesByOwnerIdStddevSampleCreatedBlockIdAsc = 'VENUES_BY_OWNER_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - VenuesByOwnerIdStddevSampleCreatedBlockIdDesc = 'VENUES_BY_OWNER_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - VenuesByOwnerIdStddevSampleDetailsAsc = 'VENUES_BY_OWNER_ID_STDDEV_SAMPLE_DETAILS_ASC', - VenuesByOwnerIdStddevSampleDetailsDesc = 'VENUES_BY_OWNER_ID_STDDEV_SAMPLE_DETAILS_DESC', - VenuesByOwnerIdStddevSampleIdAsc = 'VENUES_BY_OWNER_ID_STDDEV_SAMPLE_ID_ASC', - VenuesByOwnerIdStddevSampleIdDesc = 'VENUES_BY_OWNER_ID_STDDEV_SAMPLE_ID_DESC', - VenuesByOwnerIdStddevSampleOwnerIdAsc = 'VENUES_BY_OWNER_ID_STDDEV_SAMPLE_OWNER_ID_ASC', - VenuesByOwnerIdStddevSampleOwnerIdDesc = 'VENUES_BY_OWNER_ID_STDDEV_SAMPLE_OWNER_ID_DESC', - VenuesByOwnerIdStddevSampleTypeAsc = 'VENUES_BY_OWNER_ID_STDDEV_SAMPLE_TYPE_ASC', - VenuesByOwnerIdStddevSampleTypeDesc = 'VENUES_BY_OWNER_ID_STDDEV_SAMPLE_TYPE_DESC', - VenuesByOwnerIdStddevSampleUpdatedAtAsc = 'VENUES_BY_OWNER_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - VenuesByOwnerIdStddevSampleUpdatedAtDesc = 'VENUES_BY_OWNER_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - VenuesByOwnerIdStddevSampleUpdatedBlockIdAsc = 'VENUES_BY_OWNER_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - VenuesByOwnerIdStddevSampleUpdatedBlockIdDesc = 'VENUES_BY_OWNER_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - VenuesByOwnerIdSumCreatedAtAsc = 'VENUES_BY_OWNER_ID_SUM_CREATED_AT_ASC', - VenuesByOwnerIdSumCreatedAtDesc = 'VENUES_BY_OWNER_ID_SUM_CREATED_AT_DESC', - VenuesByOwnerIdSumCreatedBlockIdAsc = 'VENUES_BY_OWNER_ID_SUM_CREATED_BLOCK_ID_ASC', - VenuesByOwnerIdSumCreatedBlockIdDesc = 'VENUES_BY_OWNER_ID_SUM_CREATED_BLOCK_ID_DESC', - VenuesByOwnerIdSumDetailsAsc = 'VENUES_BY_OWNER_ID_SUM_DETAILS_ASC', - VenuesByOwnerIdSumDetailsDesc = 'VENUES_BY_OWNER_ID_SUM_DETAILS_DESC', - VenuesByOwnerIdSumIdAsc = 'VENUES_BY_OWNER_ID_SUM_ID_ASC', - VenuesByOwnerIdSumIdDesc = 'VENUES_BY_OWNER_ID_SUM_ID_DESC', - VenuesByOwnerIdSumOwnerIdAsc = 'VENUES_BY_OWNER_ID_SUM_OWNER_ID_ASC', - VenuesByOwnerIdSumOwnerIdDesc = 'VENUES_BY_OWNER_ID_SUM_OWNER_ID_DESC', - VenuesByOwnerIdSumTypeAsc = 'VENUES_BY_OWNER_ID_SUM_TYPE_ASC', - VenuesByOwnerIdSumTypeDesc = 'VENUES_BY_OWNER_ID_SUM_TYPE_DESC', - VenuesByOwnerIdSumUpdatedAtAsc = 'VENUES_BY_OWNER_ID_SUM_UPDATED_AT_ASC', - VenuesByOwnerIdSumUpdatedAtDesc = 'VENUES_BY_OWNER_ID_SUM_UPDATED_AT_DESC', - VenuesByOwnerIdSumUpdatedBlockIdAsc = 'VENUES_BY_OWNER_ID_SUM_UPDATED_BLOCK_ID_ASC', - VenuesByOwnerIdSumUpdatedBlockIdDesc = 'VENUES_BY_OWNER_ID_SUM_UPDATED_BLOCK_ID_DESC', - VenuesByOwnerIdVariancePopulationCreatedAtAsc = 'VENUES_BY_OWNER_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - VenuesByOwnerIdVariancePopulationCreatedAtDesc = 'VENUES_BY_OWNER_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - VenuesByOwnerIdVariancePopulationCreatedBlockIdAsc = 'VENUES_BY_OWNER_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - VenuesByOwnerIdVariancePopulationCreatedBlockIdDesc = 'VENUES_BY_OWNER_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - VenuesByOwnerIdVariancePopulationDetailsAsc = 'VENUES_BY_OWNER_ID_VARIANCE_POPULATION_DETAILS_ASC', - VenuesByOwnerIdVariancePopulationDetailsDesc = 'VENUES_BY_OWNER_ID_VARIANCE_POPULATION_DETAILS_DESC', - VenuesByOwnerIdVariancePopulationIdAsc = 'VENUES_BY_OWNER_ID_VARIANCE_POPULATION_ID_ASC', - VenuesByOwnerIdVariancePopulationIdDesc = 'VENUES_BY_OWNER_ID_VARIANCE_POPULATION_ID_DESC', - VenuesByOwnerIdVariancePopulationOwnerIdAsc = 'VENUES_BY_OWNER_ID_VARIANCE_POPULATION_OWNER_ID_ASC', - VenuesByOwnerIdVariancePopulationOwnerIdDesc = 'VENUES_BY_OWNER_ID_VARIANCE_POPULATION_OWNER_ID_DESC', - VenuesByOwnerIdVariancePopulationTypeAsc = 'VENUES_BY_OWNER_ID_VARIANCE_POPULATION_TYPE_ASC', - VenuesByOwnerIdVariancePopulationTypeDesc = 'VENUES_BY_OWNER_ID_VARIANCE_POPULATION_TYPE_DESC', - VenuesByOwnerIdVariancePopulationUpdatedAtAsc = 'VENUES_BY_OWNER_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - VenuesByOwnerIdVariancePopulationUpdatedAtDesc = 'VENUES_BY_OWNER_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - VenuesByOwnerIdVariancePopulationUpdatedBlockIdAsc = 'VENUES_BY_OWNER_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - VenuesByOwnerIdVariancePopulationUpdatedBlockIdDesc = 'VENUES_BY_OWNER_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - VenuesByOwnerIdVarianceSampleCreatedAtAsc = 'VENUES_BY_OWNER_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - VenuesByOwnerIdVarianceSampleCreatedAtDesc = 'VENUES_BY_OWNER_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - VenuesByOwnerIdVarianceSampleCreatedBlockIdAsc = 'VENUES_BY_OWNER_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - VenuesByOwnerIdVarianceSampleCreatedBlockIdDesc = 'VENUES_BY_OWNER_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - VenuesByOwnerIdVarianceSampleDetailsAsc = 'VENUES_BY_OWNER_ID_VARIANCE_SAMPLE_DETAILS_ASC', - VenuesByOwnerIdVarianceSampleDetailsDesc = 'VENUES_BY_OWNER_ID_VARIANCE_SAMPLE_DETAILS_DESC', - VenuesByOwnerIdVarianceSampleIdAsc = 'VENUES_BY_OWNER_ID_VARIANCE_SAMPLE_ID_ASC', - VenuesByOwnerIdVarianceSampleIdDesc = 'VENUES_BY_OWNER_ID_VARIANCE_SAMPLE_ID_DESC', - VenuesByOwnerIdVarianceSampleOwnerIdAsc = 'VENUES_BY_OWNER_ID_VARIANCE_SAMPLE_OWNER_ID_ASC', - VenuesByOwnerIdVarianceSampleOwnerIdDesc = 'VENUES_BY_OWNER_ID_VARIANCE_SAMPLE_OWNER_ID_DESC', - VenuesByOwnerIdVarianceSampleTypeAsc = 'VENUES_BY_OWNER_ID_VARIANCE_SAMPLE_TYPE_ASC', - VenuesByOwnerIdVarianceSampleTypeDesc = 'VENUES_BY_OWNER_ID_VARIANCE_SAMPLE_TYPE_DESC', - VenuesByOwnerIdVarianceSampleUpdatedAtAsc = 'VENUES_BY_OWNER_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - VenuesByOwnerIdVarianceSampleUpdatedAtDesc = 'VENUES_BY_OWNER_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - VenuesByOwnerIdVarianceSampleUpdatedBlockIdAsc = 'VENUES_BY_OWNER_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - VenuesByOwnerIdVarianceSampleUpdatedBlockIdDesc = 'VENUES_BY_OWNER_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', -} - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type Identity = Node & { - __typename?: 'Identity'; - /** Reads and enables pagination through a set of `Account`. */ - accountsByMultiSigCreatorIdAndCreatorAccountId: IdentityAccountsByMultiSigCreatorIdAndCreatorAccountIdManyToManyConnection; - /** Reads and enables pagination through a set of `Asset`. */ - assetsByAssetHolderIdentityIdAndAssetId: IdentityAssetsByAssetHolderIdentityIdAndAssetIdManyToManyConnection; - /** Reads and enables pagination through a set of `Asset`. */ - assetsByDistributionIdentityIdAndAssetId: IdentityAssetsByDistributionIdentityIdAndAssetIdManyToManyConnection; - /** Reads and enables pagination through a set of `Asset`. */ - assetsByNftHolderIdentityIdAndAssetId: IdentityAssetsByNftHolderIdentityIdAndAssetIdManyToManyConnection; - /** Reads and enables pagination through a set of `Asset`. */ - assetsByOwnerId: AssetsConnection; - /** Reads and enables pagination through a set of `Asset`. */ - assetsByStatTypeClaimIssuerIdAndAssetId: IdentityAssetsByStatTypeClaimIssuerIdAndAssetIdManyToManyConnection; - /** Reads and enables pagination through a set of `Asset`. */ - assetsByStoCreatorIdAndOfferingAssetId: IdentityAssetsByStoCreatorIdAndOfferingAssetIdManyToManyConnection; - /** Reads and enables pagination through a set of `Asset`. */ - assetsByTickerExternalAgentActionCallerIdAndAssetId: IdentityAssetsByTickerExternalAgentActionCallerIdAndAssetIdManyToManyConnection; - /** Reads and enables pagination through a set of `Asset`. */ - assetsByTickerExternalAgentCallerIdAndAssetId: IdentityAssetsByTickerExternalAgentCallerIdAndAssetIdManyToManyConnection; - /** Reads and enables pagination through a set of `Asset`. */ - assetsByTickerExternalAgentHistoryIdentityIdAndAssetId: IdentityAssetsByTickerExternalAgentHistoryIdentityIdAndAssetIdManyToManyConnection; - /** Reads and enables pagination through a set of `Asset`. */ - assetsByTransferComplianceClaimIssuerIdAndAssetId: IdentityAssetsByTransferComplianceClaimIssuerIdAndAssetIdManyToManyConnection; - /** Reads and enables pagination through a set of `Authorization`. */ - authorizationsByFromId: AuthorizationsConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByAccountIdentityIdAndCreatedBlockId: IdentityBlocksByAccountIdentityIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByAccountIdentityIdAndUpdatedBlockId: IdentityBlocksByAccountIdentityIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByAssetHolderIdentityIdAndCreatedBlockId: IdentityBlocksByAssetHolderIdentityIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByAssetHolderIdentityIdAndUpdatedBlockId: IdentityBlocksByAssetHolderIdentityIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByAssetOwnerIdAndCreatedBlockId: IdentityBlocksByAssetOwnerIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByAssetOwnerIdAndUpdatedBlockId: IdentityBlocksByAssetOwnerIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByAuthorizationFromIdAndCreatedBlockId: IdentityBlocksByAuthorizationFromIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByAuthorizationFromIdAndUpdatedBlockId: IdentityBlocksByAuthorizationFromIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByBridgeEventIdentityIdAndCreatedBlockId: IdentityBlocksByBridgeEventIdentityIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByBridgeEventIdentityIdAndUpdatedBlockId: IdentityBlocksByBridgeEventIdentityIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByChildIdentityChildIdAndCreatedBlockId: IdentityBlocksByChildIdentityChildIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByChildIdentityChildIdAndUpdatedBlockId: IdentityBlocksByChildIdentityChildIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByChildIdentityParentIdAndCreatedBlockId: IdentityBlocksByChildIdentityParentIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByChildIdentityParentIdAndUpdatedBlockId: IdentityBlocksByChildIdentityParentIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByClaimIssuerIdAndCreatedBlockId: IdentityBlocksByClaimIssuerIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByClaimIssuerIdAndUpdatedBlockId: IdentityBlocksByClaimIssuerIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByClaimTargetIdAndCreatedBlockId: IdentityBlocksByClaimTargetIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByClaimTargetIdAndUpdatedBlockId: IdentityBlocksByClaimTargetIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByConfidentialAccountCreatorIdAndCreatedBlockId: IdentityBlocksByConfidentialAccountCreatorIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByConfidentialAccountCreatorIdAndUpdatedBlockId: IdentityBlocksByConfidentialAccountCreatorIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByConfidentialAssetCreatorIdAndCreatedBlockId: IdentityBlocksByConfidentialAssetCreatorIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByConfidentialAssetCreatorIdAndUpdatedBlockId: IdentityBlocksByConfidentialAssetCreatorIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByConfidentialTransactionAffirmationIdentityIdAndCreatedBlockId: IdentityBlocksByConfidentialTransactionAffirmationIdentityIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByConfidentialTransactionAffirmationIdentityIdAndUpdatedBlockId: IdentityBlocksByConfidentialTransactionAffirmationIdentityIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByConfidentialVenueCreatorIdAndCreatedBlockId: IdentityBlocksByConfidentialVenueCreatorIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByConfidentialVenueCreatorIdAndUpdatedBlockId: IdentityBlocksByConfidentialVenueCreatorIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByCustomClaimTypeIdentityIdAndCreatedBlockId: IdentityBlocksByCustomClaimTypeIdentityIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByCustomClaimTypeIdentityIdAndUpdatedBlockId: IdentityBlocksByCustomClaimTypeIdentityIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByDistributionIdentityIdAndCreatedBlockId: IdentityBlocksByDistributionIdentityIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByDistributionIdentityIdAndUpdatedBlockId: IdentityBlocksByDistributionIdentityIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByDistributionPaymentTargetIdAndCreatedBlockId: IdentityBlocksByDistributionPaymentTargetIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByDistributionPaymentTargetIdAndUpdatedBlockId: IdentityBlocksByDistributionPaymentTargetIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByInvestmentInvestorIdAndCreatedBlockId: IdentityBlocksByInvestmentInvestorIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByInvestmentInvestorIdAndUpdatedBlockId: IdentityBlocksByInvestmentInvestorIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByMultiSigCreatorIdAndCreatedBlockId: IdentityBlocksByMultiSigCreatorIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByMultiSigCreatorIdAndUpdatedBlockId: IdentityBlocksByMultiSigCreatorIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByMultiSigProposalCreatorIdAndCreatedBlockId: IdentityBlocksByMultiSigProposalCreatorIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByMultiSigProposalCreatorIdAndUpdatedBlockId: IdentityBlocksByMultiSigProposalCreatorIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByNftHolderIdentityIdAndCreatedBlockId: IdentityBlocksByNftHolderIdentityIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByNftHolderIdentityIdAndUpdatedBlockId: IdentityBlocksByNftHolderIdentityIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByPortfolioCustodianIdAndCreatedBlockId: IdentityBlocksByPortfolioCustodianIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByPortfolioCustodianIdAndUpdatedBlockId: IdentityBlocksByPortfolioCustodianIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByPortfolioIdentityIdAndCreatedBlockId: IdentityBlocksByPortfolioIdentityIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByPortfolioIdentityIdAndUpdatedBlockId: IdentityBlocksByPortfolioIdentityIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByProposalOwnerIdAndCreatedBlockId: IdentityBlocksByProposalOwnerIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByProposalOwnerIdAndUpdatedBlockId: IdentityBlocksByProposalOwnerIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByStakingEventIdentityIdAndCreatedBlockId: IdentityBlocksByStakingEventIdentityIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByStakingEventIdentityIdAndUpdatedBlockId: IdentityBlocksByStakingEventIdentityIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByStatTypeClaimIssuerIdAndCreatedBlockId: IdentityBlocksByStatTypeClaimIssuerIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByStatTypeClaimIssuerIdAndUpdatedBlockId: IdentityBlocksByStatTypeClaimIssuerIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByStoCreatorIdAndCreatedBlockId: IdentityBlocksByStoCreatorIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByStoCreatorIdAndUpdatedBlockId: IdentityBlocksByStoCreatorIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByTickerExternalAgentActionCallerIdAndCreatedBlockId: IdentityBlocksByTickerExternalAgentActionCallerIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByTickerExternalAgentActionCallerIdAndUpdatedBlockId: IdentityBlocksByTickerExternalAgentActionCallerIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByTickerExternalAgentCallerIdAndCreatedBlockId: IdentityBlocksByTickerExternalAgentCallerIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByTickerExternalAgentCallerIdAndUpdatedBlockId: IdentityBlocksByTickerExternalAgentCallerIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByTickerExternalAgentHistoryIdentityIdAndCreatedBlockId: IdentityBlocksByTickerExternalAgentHistoryIdentityIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByTickerExternalAgentHistoryIdentityIdAndUpdatedBlockId: IdentityBlocksByTickerExternalAgentHistoryIdentityIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByTransferComplianceClaimIssuerIdAndCreatedBlockId: IdentityBlocksByTransferComplianceClaimIssuerIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByTransferComplianceClaimIssuerIdAndUpdatedBlockId: IdentityBlocksByTransferComplianceClaimIssuerIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByVenueOwnerIdAndCreatedBlockId: IdentityBlocksByVenueOwnerIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByVenueOwnerIdAndUpdatedBlockId: IdentityBlocksByVenueOwnerIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `BridgeEvent`. */ - bridgeEvents: BridgeEventsConnection; - /** Reads and enables pagination through a set of `ChildIdentity`. */ - children: ChildIdentitiesConnection; - /** Reads and enables pagination through a set of `Claim`. */ - claimsByIssuerId: ClaimsConnection; - /** Reads and enables pagination through a set of `Claim`. */ - claimsByTargetId: ClaimsConnection; - /** Reads and enables pagination through a set of `ConfidentialAccount`. */ - confidentialAccountsByConfidentialTransactionAffirmationIdentityIdAndAccountId: IdentityConfidentialAccountsByConfidentialTransactionAffirmationIdentityIdAndAccountIdManyToManyConnection; - /** Reads and enables pagination through a set of `ConfidentialAccount`. */ - confidentialAccountsByCreatorId: ConfidentialAccountsConnection; - /** Reads and enables pagination through a set of `ConfidentialAsset`. */ - confidentialAssetsByCreatorId: ConfidentialAssetsConnection; - /** Reads and enables pagination through a set of `ConfidentialTransactionAffirmation`. */ - confidentialTransactionAffirmations: ConfidentialTransactionAffirmationsConnection; - /** Reads and enables pagination through a set of `ConfidentialTransaction`. */ - confidentialTransactionsByConfidentialTransactionAffirmationIdentityIdAndTransactionId: IdentityConfidentialTransactionsByConfidentialTransactionAffirmationIdentityIdAndTransactionIdManyToManyConnection; - /** Reads and enables pagination through a set of `ConfidentialVenue`. */ - confidentialVenuesByCreatorId: ConfidentialVenuesConnection; - createdAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `Identity`. */ - createdBlock?: Maybe; - createdBlockId: Scalars['String']['output']; - /** Reads and enables pagination through a set of `CustomClaimType`. */ - customClaimTypes: CustomClaimTypesConnection; - /** Reads and enables pagination through a set of `CustomClaimType`. */ - customClaimTypesByClaimIssuerIdAndCustomClaimTypeId: IdentityCustomClaimTypesByClaimIssuerIdAndCustomClaimTypeIdManyToManyConnection; - /** Reads and enables pagination through a set of `CustomClaimType`. */ - customClaimTypesByClaimTargetIdAndCustomClaimTypeId: IdentityCustomClaimTypesByClaimTargetIdAndCustomClaimTypeIdManyToManyConnection; - datetime: Scalars['Datetime']['output']; - did: Scalars['String']['output']; - /** Reads and enables pagination through a set of `DistributionPayment`. */ - distributionPaymentsByTargetId: DistributionPaymentsConnection; - /** Reads and enables pagination through a set of `Distribution`. */ - distributions: DistributionsConnection; - /** Reads and enables pagination through a set of `Distribution`. */ - distributionsByDistributionPaymentTargetIdAndDistributionId: IdentityDistributionsByDistributionPaymentTargetIdAndDistributionIdManyToManyConnection; - eventId: EventIdEnum; - /** Reads and enables pagination through a set of `AssetHolder`. */ - heldAssets: AssetHoldersConnection; - /** Reads and enables pagination through a set of `NftHolder`. */ - heldNfts: NftHoldersConnection; - id: Scalars['String']['output']; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByChildIdentityChildIdAndParentId: IdentityIdentitiesByChildIdentityChildIdAndParentIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByChildIdentityParentIdAndChildId: IdentityIdentitiesByChildIdentityParentIdAndChildIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByClaimIssuerIdAndTargetId: IdentityIdentitiesByClaimIssuerIdAndTargetIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByClaimTargetIdAndIssuerId: IdentityIdentitiesByClaimTargetIdAndIssuerIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByPortfolioCustodianIdAndIdentityId: IdentityIdentitiesByPortfolioCustodianIdAndIdentityIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByPortfolioIdentityIdAndCustodianId: IdentityIdentitiesByPortfolioIdentityIdAndCustodianIdManyToManyConnection; - /** Reads and enables pagination through a set of `Investment`. */ - investmentsByInvestorId: InvestmentsConnection; - /** Reads and enables pagination through a set of `MultiSigProposal`. */ - multiSigProposalsByCreatorId: MultiSigProposalsConnection; - /** Reads and enables pagination through a set of `MultiSig`. */ - multiSigsByCreatorId: MultiSigsConnection; - /** Reads and enables pagination through a set of `MultiSig`. */ - multiSigsByMultiSigProposalCreatorIdAndMultisigId: IdentityMultiSigsByMultiSigProposalCreatorIdAndMultisigIdManyToManyConnection; - /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ - nodeId: Scalars['ID']['output']; - /** Reads and enables pagination through a set of `ChildIdentity`. */ - parentChildIdentities: ChildIdentitiesConnection; - /** Reads and enables pagination through a set of `Permission`. */ - permissionsByAccountIdentityIdAndPermissionsId: IdentityPermissionsByAccountIdentityIdAndPermissionsIdManyToManyConnection; - /** Reads and enables pagination through a set of `Portfolio`. */ - portfolios: PortfoliosConnection; - /** Reads and enables pagination through a set of `Portfolio`. */ - portfoliosByCustodianId: PortfoliosConnection; - /** Reads and enables pagination through a set of `Portfolio`. */ - portfoliosByDistributionIdentityIdAndPortfolioId: IdentityPortfoliosByDistributionIdentityIdAndPortfolioIdManyToManyConnection; - /** Reads and enables pagination through a set of `Portfolio`. */ - portfoliosByStoCreatorIdAndOfferingPortfolioId: IdentityPortfoliosByStoCreatorIdAndOfferingPortfolioIdManyToManyConnection; - /** Reads and enables pagination through a set of `Portfolio`. */ - portfoliosByStoCreatorIdAndRaisingPortfolioId: IdentityPortfoliosByStoCreatorIdAndRaisingPortfolioIdManyToManyConnection; - primaryAccount: Scalars['String']['output']; - /** Reads and enables pagination through a set of `Proposal`. */ - proposalsByOwnerId: ProposalsConnection; - /** Reads and enables pagination through a set of `Account`. */ - secondaryAccounts: AccountsConnection; - secondaryKeysFrozen: Scalars['Boolean']['output']; - /** Reads and enables pagination through a set of `StakingEvent`. */ - stakingEvents: StakingEventsConnection; - /** Reads and enables pagination through a set of `StatType`. */ - statTypesByClaimIssuerId: StatTypesConnection; - /** Reads and enables pagination through a set of `StatType`. */ - statTypesByTransferComplianceClaimIssuerIdAndStatTypeId: IdentityStatTypesByTransferComplianceClaimIssuerIdAndStatTypeIdManyToManyConnection; - /** Reads and enables pagination through a set of `Sto`. */ - stosByCreatorId: StosConnection; - /** Reads and enables pagination through a set of `TickerExternalAgentAction`. */ - tickerExternalAgentActionsByCallerId: TickerExternalAgentActionsConnection; - /** Reads and enables pagination through a set of `TickerExternalAgentHistory`. */ - tickerExternalAgentHistories: TickerExternalAgentHistoriesConnection; - /** Reads and enables pagination through a set of `TickerExternalAgent`. */ - tickerExternalAgentsByCallerId: TickerExternalAgentsConnection; - /** Reads and enables pagination through a set of `TransferCompliance`. */ - transferCompliancesByClaimIssuerId: TransferCompliancesConnection; - updatedAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `Identity`. */ - updatedBlock?: Maybe; - updatedBlockId: Scalars['String']['output']; - /** Reads and enables pagination through a set of `Venue`. */ - venuesByOwnerId: VenuesConnection; - /** Reads and enables pagination through a set of `Venue`. */ - venuesByStoCreatorIdAndVenueId: IdentityVenuesByStoCreatorIdAndVenueIdManyToManyConnection; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityAccountsByMultiSigCreatorIdAndCreatorAccountIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityAssetsByAssetHolderIdentityIdAndAssetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityAssetsByDistributionIdentityIdAndAssetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityAssetsByNftHolderIdentityIdAndAssetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityAssetsByOwnerIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityAssetsByStatTypeClaimIssuerIdAndAssetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityAssetsByStoCreatorIdAndOfferingAssetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityAssetsByTickerExternalAgentActionCallerIdAndAssetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityAssetsByTickerExternalAgentCallerIdAndAssetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityAssetsByTickerExternalAgentHistoryIdentityIdAndAssetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityAssetsByTransferComplianceClaimIssuerIdAndAssetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityAuthorizationsByFromIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityBlocksByAccountIdentityIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityBlocksByAccountIdentityIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityBlocksByAssetHolderIdentityIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityBlocksByAssetHolderIdentityIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityBlocksByAssetOwnerIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityBlocksByAssetOwnerIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityBlocksByAuthorizationFromIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityBlocksByAuthorizationFromIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityBlocksByBridgeEventIdentityIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityBlocksByBridgeEventIdentityIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityBlocksByChildIdentityChildIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityBlocksByChildIdentityChildIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityBlocksByChildIdentityParentIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityBlocksByChildIdentityParentIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityBlocksByClaimIssuerIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityBlocksByClaimIssuerIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityBlocksByClaimTargetIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityBlocksByClaimTargetIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityBlocksByConfidentialAccountCreatorIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityBlocksByConfidentialAccountCreatorIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityBlocksByConfidentialAssetCreatorIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityBlocksByConfidentialAssetCreatorIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityBlocksByConfidentialTransactionAffirmationIdentityIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityBlocksByConfidentialTransactionAffirmationIdentityIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityBlocksByConfidentialVenueCreatorIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityBlocksByConfidentialVenueCreatorIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityBlocksByCustomClaimTypeIdentityIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityBlocksByCustomClaimTypeIdentityIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityBlocksByDistributionIdentityIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityBlocksByDistributionIdentityIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityBlocksByDistributionPaymentTargetIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityBlocksByDistributionPaymentTargetIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityBlocksByInvestmentInvestorIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityBlocksByInvestmentInvestorIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityBlocksByMultiSigCreatorIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityBlocksByMultiSigCreatorIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityBlocksByMultiSigProposalCreatorIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityBlocksByMultiSigProposalCreatorIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityBlocksByNftHolderIdentityIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityBlocksByNftHolderIdentityIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityBlocksByPortfolioCustodianIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityBlocksByPortfolioCustodianIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityBlocksByPortfolioIdentityIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityBlocksByPortfolioIdentityIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityBlocksByProposalOwnerIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityBlocksByProposalOwnerIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityBlocksByStakingEventIdentityIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityBlocksByStakingEventIdentityIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityBlocksByStatTypeClaimIssuerIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityBlocksByStatTypeClaimIssuerIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityBlocksByStoCreatorIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityBlocksByStoCreatorIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityBlocksByTickerExternalAgentActionCallerIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityBlocksByTickerExternalAgentActionCallerIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityBlocksByTickerExternalAgentCallerIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityBlocksByTickerExternalAgentCallerIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityBlocksByTickerExternalAgentHistoryIdentityIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityBlocksByTickerExternalAgentHistoryIdentityIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityBlocksByTransferComplianceClaimIssuerIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityBlocksByTransferComplianceClaimIssuerIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityBlocksByVenueOwnerIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityBlocksByVenueOwnerIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityBridgeEventsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityChildrenArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityClaimsByIssuerIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityClaimsByTargetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityConfidentialAccountsByConfidentialTransactionAffirmationIdentityIdAndAccountIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityConfidentialAccountsByCreatorIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityConfidentialAssetsByCreatorIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityConfidentialTransactionAffirmationsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityConfidentialTransactionsByConfidentialTransactionAffirmationIdentityIdAndTransactionIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityConfidentialVenuesByCreatorIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityCustomClaimTypesArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityCustomClaimTypesByClaimIssuerIdAndCustomClaimTypeIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityCustomClaimTypesByClaimTargetIdAndCustomClaimTypeIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityDistributionPaymentsByTargetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityDistributionsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityDistributionsByDistributionPaymentTargetIdAndDistributionIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityHeldAssetsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityHeldNftsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityIdentitiesByChildIdentityChildIdAndParentIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityIdentitiesByChildIdentityParentIdAndChildIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityIdentitiesByClaimIssuerIdAndTargetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityIdentitiesByClaimTargetIdAndIssuerIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityIdentitiesByPortfolioCustodianIdAndIdentityIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityIdentitiesByPortfolioIdentityIdAndCustodianIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityInvestmentsByInvestorIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityMultiSigProposalsByCreatorIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityMultiSigsByCreatorIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityMultiSigsByMultiSigProposalCreatorIdAndMultisigIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityParentChildIdentitiesArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityPermissionsByAccountIdentityIdAndPermissionsIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityPortfoliosArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityPortfoliosByCustodianIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityPortfoliosByDistributionIdentityIdAndPortfolioIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityPortfoliosByStoCreatorIdAndOfferingPortfolioIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityPortfoliosByStoCreatorIdAndRaisingPortfolioIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityProposalsByOwnerIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentitySecondaryAccountsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityStakingEventsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityStatTypesByClaimIssuerIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityStatTypesByTransferComplianceClaimIssuerIdAndStatTypeIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityStosByCreatorIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityTickerExternalAgentActionsByCallerIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityTickerExternalAgentHistoriesArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityTickerExternalAgentsByCallerIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityTransferCompliancesByClaimIssuerIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityVenuesByOwnerIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a person or business on chain. All Polymesh assets belong to an Identity. A single Identity can have many accounts (i.e. "keys") - * - * An Identity needs a valid CDD claim from at least one KYC/KYB provider to perform most actions on chain - */ -export type IdentityVenuesByStoCreatorIdAndVenueIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Account` values, with data from `MultiSig`. */ -export type IdentityAccountsByMultiSigCreatorIdAndCreatorAccountIdManyToManyConnection = { - __typename?: 'IdentityAccountsByMultiSigCreatorIdAndCreatorAccountIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Account`, info from the `MultiSig`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Account` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Account` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Account` values, with data from `MultiSig`. */ -export type IdentityAccountsByMultiSigCreatorIdAndCreatorAccountIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Account` edge in the connection, with data from `MultiSig`. */ -export type IdentityAccountsByMultiSigCreatorIdAndCreatorAccountIdManyToManyEdge = { - __typename?: 'IdentityAccountsByMultiSigCreatorIdAndCreatorAccountIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `MultiSig`. */ - multiSigsByCreatorAccountId: MultiSigsConnection; - /** The `Account` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Account` edge in the connection, with data from `MultiSig`. */ -export type IdentityAccountsByMultiSigCreatorIdAndCreatorAccountIdManyToManyEdgeMultiSigsByCreatorAccountIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -export type IdentityAggregates = { - __typename?: 'IdentityAggregates'; - /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ - distinctCount?: Maybe; - keys?: Maybe>; -}; - -/** A filter to be used against aggregates of `Identity` object types. */ -export type IdentityAggregatesFilter = { - /** Distinct count aggregate over matching `Identity` objects. */ - distinctCount?: InputMaybe; - /** A filter that must pass for the relevant `Identity` object to be included within the aggregate. */ - filter?: InputMaybe; -}; - -/** A connection to a list of `Asset` values, with data from `AssetHolder`. */ -export type IdentityAssetsByAssetHolderIdentityIdAndAssetIdManyToManyConnection = { - __typename?: 'IdentityAssetsByAssetHolderIdentityIdAndAssetIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Asset`, info from the `AssetHolder`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Asset` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Asset` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Asset` values, with data from `AssetHolder`. */ -export type IdentityAssetsByAssetHolderIdentityIdAndAssetIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Asset` edge in the connection, with data from `AssetHolder`. */ -export type IdentityAssetsByAssetHolderIdentityIdAndAssetIdManyToManyEdge = { - __typename?: 'IdentityAssetsByAssetHolderIdentityIdAndAssetIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `AssetHolder`. */ - holders: AssetHoldersConnection; - /** The `Asset` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Asset` edge in the connection, with data from `AssetHolder`. */ -export type IdentityAssetsByAssetHolderIdentityIdAndAssetIdManyToManyEdgeHoldersArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Asset` values, with data from `Distribution`. */ -export type IdentityAssetsByDistributionIdentityIdAndAssetIdManyToManyConnection = { - __typename?: 'IdentityAssetsByDistributionIdentityIdAndAssetIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Asset`, info from the `Distribution`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Asset` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Asset` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Asset` values, with data from `Distribution`. */ -export type IdentityAssetsByDistributionIdentityIdAndAssetIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Asset` edge in the connection, with data from `Distribution`. */ -export type IdentityAssetsByDistributionIdentityIdAndAssetIdManyToManyEdge = { - __typename?: 'IdentityAssetsByDistributionIdentityIdAndAssetIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `Distribution`. */ - distributions: DistributionsConnection; - /** The `Asset` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Asset` edge in the connection, with data from `Distribution`. */ -export type IdentityAssetsByDistributionIdentityIdAndAssetIdManyToManyEdgeDistributionsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Asset` values, with data from `NftHolder`. */ -export type IdentityAssetsByNftHolderIdentityIdAndAssetIdManyToManyConnection = { - __typename?: 'IdentityAssetsByNftHolderIdentityIdAndAssetIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Asset`, info from the `NftHolder`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Asset` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Asset` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Asset` values, with data from `NftHolder`. */ -export type IdentityAssetsByNftHolderIdentityIdAndAssetIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Asset` edge in the connection, with data from `NftHolder`. */ -export type IdentityAssetsByNftHolderIdentityIdAndAssetIdManyToManyEdge = { - __typename?: 'IdentityAssetsByNftHolderIdentityIdAndAssetIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `NftHolder`. */ - nftHolders: NftHoldersConnection; - /** The `Asset` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Asset` edge in the connection, with data from `NftHolder`. */ -export type IdentityAssetsByNftHolderIdentityIdAndAssetIdManyToManyEdgeNftHoldersArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Asset` values, with data from `StatType`. */ -export type IdentityAssetsByStatTypeClaimIssuerIdAndAssetIdManyToManyConnection = { - __typename?: 'IdentityAssetsByStatTypeClaimIssuerIdAndAssetIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Asset`, info from the `StatType`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Asset` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Asset` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Asset` values, with data from `StatType`. */ -export type IdentityAssetsByStatTypeClaimIssuerIdAndAssetIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Asset` edge in the connection, with data from `StatType`. */ -export type IdentityAssetsByStatTypeClaimIssuerIdAndAssetIdManyToManyEdge = { - __typename?: 'IdentityAssetsByStatTypeClaimIssuerIdAndAssetIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Asset` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `StatType`. */ - statTypes: StatTypesConnection; -}; - -/** A `Asset` edge in the connection, with data from `StatType`. */ -export type IdentityAssetsByStatTypeClaimIssuerIdAndAssetIdManyToManyEdgeStatTypesArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Asset` values, with data from `Sto`. */ -export type IdentityAssetsByStoCreatorIdAndOfferingAssetIdManyToManyConnection = { - __typename?: 'IdentityAssetsByStoCreatorIdAndOfferingAssetIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Asset`, info from the `Sto`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Asset` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Asset` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Asset` values, with data from `Sto`. */ -export type IdentityAssetsByStoCreatorIdAndOfferingAssetIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Asset` edge in the connection, with data from `Sto`. */ -export type IdentityAssetsByStoCreatorIdAndOfferingAssetIdManyToManyEdge = { - __typename?: 'IdentityAssetsByStoCreatorIdAndOfferingAssetIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Asset` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Sto`. */ - stosByOfferingAssetId: StosConnection; -}; - -/** A `Asset` edge in the connection, with data from `Sto`. */ -export type IdentityAssetsByStoCreatorIdAndOfferingAssetIdManyToManyEdgeStosByOfferingAssetIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Asset` values, with data from `TickerExternalAgentAction`. */ -export type IdentityAssetsByTickerExternalAgentActionCallerIdAndAssetIdManyToManyConnection = { - __typename?: 'IdentityAssetsByTickerExternalAgentActionCallerIdAndAssetIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Asset`, info from the `TickerExternalAgentAction`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Asset` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Asset` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Asset` values, with data from `TickerExternalAgentAction`. */ -export type IdentityAssetsByTickerExternalAgentActionCallerIdAndAssetIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Asset` edge in the connection, with data from `TickerExternalAgentAction`. */ -export type IdentityAssetsByTickerExternalAgentActionCallerIdAndAssetIdManyToManyEdge = { - __typename?: 'IdentityAssetsByTickerExternalAgentActionCallerIdAndAssetIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Asset` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TickerExternalAgentAction`. */ - tickerExternalAgentActions: TickerExternalAgentActionsConnection; -}; - -/** A `Asset` edge in the connection, with data from `TickerExternalAgentAction`. */ -export type IdentityAssetsByTickerExternalAgentActionCallerIdAndAssetIdManyToManyEdgeTickerExternalAgentActionsArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Asset` values, with data from `TickerExternalAgent`. */ -export type IdentityAssetsByTickerExternalAgentCallerIdAndAssetIdManyToManyConnection = { - __typename?: 'IdentityAssetsByTickerExternalAgentCallerIdAndAssetIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Asset`, info from the `TickerExternalAgent`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Asset` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Asset` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Asset` values, with data from `TickerExternalAgent`. */ -export type IdentityAssetsByTickerExternalAgentCallerIdAndAssetIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Asset` edge in the connection, with data from `TickerExternalAgent`. */ -export type IdentityAssetsByTickerExternalAgentCallerIdAndAssetIdManyToManyEdge = { - __typename?: 'IdentityAssetsByTickerExternalAgentCallerIdAndAssetIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Asset` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TickerExternalAgent`. */ - tickerExternalAgents: TickerExternalAgentsConnection; -}; - -/** A `Asset` edge in the connection, with data from `TickerExternalAgent`. */ -export type IdentityAssetsByTickerExternalAgentCallerIdAndAssetIdManyToManyEdgeTickerExternalAgentsArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Asset` values, with data from `TickerExternalAgentHistory`. */ -export type IdentityAssetsByTickerExternalAgentHistoryIdentityIdAndAssetIdManyToManyConnection = { - __typename?: 'IdentityAssetsByTickerExternalAgentHistoryIdentityIdAndAssetIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Asset`, info from the `TickerExternalAgentHistory`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Asset` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Asset` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Asset` values, with data from `TickerExternalAgentHistory`. */ -export type IdentityAssetsByTickerExternalAgentHistoryIdentityIdAndAssetIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Asset` edge in the connection, with data from `TickerExternalAgentHistory`. */ -export type IdentityAssetsByTickerExternalAgentHistoryIdentityIdAndAssetIdManyToManyEdge = { - __typename?: 'IdentityAssetsByTickerExternalAgentHistoryIdentityIdAndAssetIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Asset` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TickerExternalAgentHistory`. */ - tickerExternalAgentHistories: TickerExternalAgentHistoriesConnection; -}; - -/** A `Asset` edge in the connection, with data from `TickerExternalAgentHistory`. */ -export type IdentityAssetsByTickerExternalAgentHistoryIdentityIdAndAssetIdManyToManyEdgeTickerExternalAgentHistoriesArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Asset` values, with data from `TransferCompliance`. */ -export type IdentityAssetsByTransferComplianceClaimIssuerIdAndAssetIdManyToManyConnection = { - __typename?: 'IdentityAssetsByTransferComplianceClaimIssuerIdAndAssetIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Asset`, info from the `TransferCompliance`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Asset` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Asset` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Asset` values, with data from `TransferCompliance`. */ -export type IdentityAssetsByTransferComplianceClaimIssuerIdAndAssetIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Asset` edge in the connection, with data from `TransferCompliance`. */ -export type IdentityAssetsByTransferComplianceClaimIssuerIdAndAssetIdManyToManyEdge = { - __typename?: 'IdentityAssetsByTransferComplianceClaimIssuerIdAndAssetIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Asset` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TransferCompliance`. */ - transferCompliances: TransferCompliancesConnection; -}; - -/** A `Asset` edge in the connection, with data from `TransferCompliance`. */ -export type IdentityAssetsByTransferComplianceClaimIssuerIdAndAssetIdManyToManyEdgeTransferCompliancesArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Account`. */ -export type IdentityBlocksByAccountIdentityIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'IdentityBlocksByAccountIdentityIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Account`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Account`. */ -export type IdentityBlocksByAccountIdentityIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Account`. */ -export type IdentityBlocksByAccountIdentityIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'IdentityBlocksByAccountIdentityIdAndCreatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `Account`. */ - accountsByCreatedBlockId: AccountsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `Account`. */ -export type IdentityBlocksByAccountIdentityIdAndCreatedBlockIdManyToManyEdgeAccountsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Account`. */ -export type IdentityBlocksByAccountIdentityIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'IdentityBlocksByAccountIdentityIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Account`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Account`. */ -export type IdentityBlocksByAccountIdentityIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Account`. */ -export type IdentityBlocksByAccountIdentityIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'IdentityBlocksByAccountIdentityIdAndUpdatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `Account`. */ - accountsByUpdatedBlockId: AccountsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `Account`. */ -export type IdentityBlocksByAccountIdentityIdAndUpdatedBlockIdManyToManyEdgeAccountsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `AssetHolder`. */ -export type IdentityBlocksByAssetHolderIdentityIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'IdentityBlocksByAssetHolderIdentityIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `AssetHolder`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `AssetHolder`. */ -export type IdentityBlocksByAssetHolderIdentityIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `AssetHolder`. */ -export type IdentityBlocksByAssetHolderIdentityIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'IdentityBlocksByAssetHolderIdentityIdAndCreatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `AssetHolder`. */ - assetHoldersByCreatedBlockId: AssetHoldersConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `AssetHolder`. */ -export type IdentityBlocksByAssetHolderIdentityIdAndCreatedBlockIdManyToManyEdgeAssetHoldersByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `AssetHolder`. */ -export type IdentityBlocksByAssetHolderIdentityIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'IdentityBlocksByAssetHolderIdentityIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `AssetHolder`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `AssetHolder`. */ -export type IdentityBlocksByAssetHolderIdentityIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `AssetHolder`. */ -export type IdentityBlocksByAssetHolderIdentityIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'IdentityBlocksByAssetHolderIdentityIdAndUpdatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `AssetHolder`. */ - assetHoldersByUpdatedBlockId: AssetHoldersConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `AssetHolder`. */ -export type IdentityBlocksByAssetHolderIdentityIdAndUpdatedBlockIdManyToManyEdgeAssetHoldersByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Asset`. */ -export type IdentityBlocksByAssetOwnerIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'IdentityBlocksByAssetOwnerIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Asset`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Asset`. */ -export type IdentityBlocksByAssetOwnerIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Asset`. */ -export type IdentityBlocksByAssetOwnerIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'IdentityBlocksByAssetOwnerIdAndCreatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `Asset`. */ - assetsByCreatedBlockId: AssetsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `Asset`. */ -export type IdentityBlocksByAssetOwnerIdAndCreatedBlockIdManyToManyEdgeAssetsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Asset`. */ -export type IdentityBlocksByAssetOwnerIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'IdentityBlocksByAssetOwnerIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Asset`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Asset`. */ -export type IdentityBlocksByAssetOwnerIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Asset`. */ -export type IdentityBlocksByAssetOwnerIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'IdentityBlocksByAssetOwnerIdAndUpdatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `Asset`. */ - assetsByUpdatedBlockId: AssetsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `Asset`. */ -export type IdentityBlocksByAssetOwnerIdAndUpdatedBlockIdManyToManyEdgeAssetsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Authorization`. */ -export type IdentityBlocksByAuthorizationFromIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'IdentityBlocksByAuthorizationFromIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Authorization`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Authorization`. */ -export type IdentityBlocksByAuthorizationFromIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Authorization`. */ -export type IdentityBlocksByAuthorizationFromIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'IdentityBlocksByAuthorizationFromIdAndCreatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `Authorization`. */ - authorizationsByCreatedBlockId: AuthorizationsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `Authorization`. */ -export type IdentityBlocksByAuthorizationFromIdAndCreatedBlockIdManyToManyEdgeAuthorizationsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Authorization`. */ -export type IdentityBlocksByAuthorizationFromIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'IdentityBlocksByAuthorizationFromIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Authorization`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Authorization`. */ -export type IdentityBlocksByAuthorizationFromIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Authorization`. */ -export type IdentityBlocksByAuthorizationFromIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'IdentityBlocksByAuthorizationFromIdAndUpdatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `Authorization`. */ - authorizationsByUpdatedBlockId: AuthorizationsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `Authorization`. */ -export type IdentityBlocksByAuthorizationFromIdAndUpdatedBlockIdManyToManyEdgeAuthorizationsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `BridgeEvent`. */ -export type IdentityBlocksByBridgeEventIdentityIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'IdentityBlocksByBridgeEventIdentityIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `BridgeEvent`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `BridgeEvent`. */ -export type IdentityBlocksByBridgeEventIdentityIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `BridgeEvent`. */ -export type IdentityBlocksByBridgeEventIdentityIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'IdentityBlocksByBridgeEventIdentityIdAndCreatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `BridgeEvent`. */ - bridgeEventsByCreatedBlockId: BridgeEventsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `BridgeEvent`. */ -export type IdentityBlocksByBridgeEventIdentityIdAndCreatedBlockIdManyToManyEdgeBridgeEventsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `BridgeEvent`. */ -export type IdentityBlocksByBridgeEventIdentityIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'IdentityBlocksByBridgeEventIdentityIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `BridgeEvent`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `BridgeEvent`. */ -export type IdentityBlocksByBridgeEventIdentityIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `BridgeEvent`. */ -export type IdentityBlocksByBridgeEventIdentityIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'IdentityBlocksByBridgeEventIdentityIdAndUpdatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `BridgeEvent`. */ - bridgeEventsByUpdatedBlockId: BridgeEventsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `BridgeEvent`. */ -export type IdentityBlocksByBridgeEventIdentityIdAndUpdatedBlockIdManyToManyEdgeBridgeEventsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `ChildIdentity`. */ -export type IdentityBlocksByChildIdentityChildIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'IdentityBlocksByChildIdentityChildIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `ChildIdentity`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `ChildIdentity`. */ -export type IdentityBlocksByChildIdentityChildIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `ChildIdentity`. */ -export type IdentityBlocksByChildIdentityChildIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'IdentityBlocksByChildIdentityChildIdAndCreatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ChildIdentity`. */ - childIdentitiesByCreatedBlockId: ChildIdentitiesConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `ChildIdentity`. */ -export type IdentityBlocksByChildIdentityChildIdAndCreatedBlockIdManyToManyEdgeChildIdentitiesByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `ChildIdentity`. */ -export type IdentityBlocksByChildIdentityChildIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'IdentityBlocksByChildIdentityChildIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `ChildIdentity`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `ChildIdentity`. */ -export type IdentityBlocksByChildIdentityChildIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `ChildIdentity`. */ -export type IdentityBlocksByChildIdentityChildIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'IdentityBlocksByChildIdentityChildIdAndUpdatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ChildIdentity`. */ - childIdentitiesByUpdatedBlockId: ChildIdentitiesConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `ChildIdentity`. */ -export type IdentityBlocksByChildIdentityChildIdAndUpdatedBlockIdManyToManyEdgeChildIdentitiesByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `ChildIdentity`. */ -export type IdentityBlocksByChildIdentityParentIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'IdentityBlocksByChildIdentityParentIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `ChildIdentity`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `ChildIdentity`. */ -export type IdentityBlocksByChildIdentityParentIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `ChildIdentity`. */ -export type IdentityBlocksByChildIdentityParentIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'IdentityBlocksByChildIdentityParentIdAndCreatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ChildIdentity`. */ - childIdentitiesByCreatedBlockId: ChildIdentitiesConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `ChildIdentity`. */ -export type IdentityBlocksByChildIdentityParentIdAndCreatedBlockIdManyToManyEdgeChildIdentitiesByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `ChildIdentity`. */ -export type IdentityBlocksByChildIdentityParentIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'IdentityBlocksByChildIdentityParentIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `ChildIdentity`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `ChildIdentity`. */ -export type IdentityBlocksByChildIdentityParentIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `ChildIdentity`. */ -export type IdentityBlocksByChildIdentityParentIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'IdentityBlocksByChildIdentityParentIdAndUpdatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ChildIdentity`. */ - childIdentitiesByUpdatedBlockId: ChildIdentitiesConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `ChildIdentity`. */ -export type IdentityBlocksByChildIdentityParentIdAndUpdatedBlockIdManyToManyEdgeChildIdentitiesByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Claim`. */ -export type IdentityBlocksByClaimIssuerIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'IdentityBlocksByClaimIssuerIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Claim`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Claim`. */ -export type IdentityBlocksByClaimIssuerIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Claim`. */ -export type IdentityBlocksByClaimIssuerIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'IdentityBlocksByClaimIssuerIdAndCreatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `Claim`. */ - claimsByCreatedBlockId: ClaimsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `Claim`. */ -export type IdentityBlocksByClaimIssuerIdAndCreatedBlockIdManyToManyEdgeClaimsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Claim`. */ -export type IdentityBlocksByClaimIssuerIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'IdentityBlocksByClaimIssuerIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Claim`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Claim`. */ -export type IdentityBlocksByClaimIssuerIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Claim`. */ -export type IdentityBlocksByClaimIssuerIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'IdentityBlocksByClaimIssuerIdAndUpdatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `Claim`. */ - claimsByUpdatedBlockId: ClaimsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `Claim`. */ -export type IdentityBlocksByClaimIssuerIdAndUpdatedBlockIdManyToManyEdgeClaimsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Claim`. */ -export type IdentityBlocksByClaimTargetIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'IdentityBlocksByClaimTargetIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Claim`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Claim`. */ -export type IdentityBlocksByClaimTargetIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Claim`. */ -export type IdentityBlocksByClaimTargetIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'IdentityBlocksByClaimTargetIdAndCreatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `Claim`. */ - claimsByCreatedBlockId: ClaimsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `Claim`. */ -export type IdentityBlocksByClaimTargetIdAndCreatedBlockIdManyToManyEdgeClaimsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Claim`. */ -export type IdentityBlocksByClaimTargetIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'IdentityBlocksByClaimTargetIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Claim`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Claim`. */ -export type IdentityBlocksByClaimTargetIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Claim`. */ -export type IdentityBlocksByClaimTargetIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'IdentityBlocksByClaimTargetIdAndUpdatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `Claim`. */ - claimsByUpdatedBlockId: ClaimsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `Claim`. */ -export type IdentityBlocksByClaimTargetIdAndUpdatedBlockIdManyToManyEdgeClaimsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialAccount`. */ -export type IdentityBlocksByConfidentialAccountCreatorIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'IdentityBlocksByConfidentialAccountCreatorIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `ConfidentialAccount`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `ConfidentialAccount`. */ -export type IdentityBlocksByConfidentialAccountCreatorIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `ConfidentialAccount`. */ -export type IdentityBlocksByConfidentialAccountCreatorIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'IdentityBlocksByConfidentialAccountCreatorIdAndCreatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialAccount`. */ - confidentialAccountsByCreatedBlockId: ConfidentialAccountsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `ConfidentialAccount`. */ -export type IdentityBlocksByConfidentialAccountCreatorIdAndCreatedBlockIdManyToManyEdgeConfidentialAccountsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialAccount`. */ -export type IdentityBlocksByConfidentialAccountCreatorIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'IdentityBlocksByConfidentialAccountCreatorIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `ConfidentialAccount`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `ConfidentialAccount`. */ -export type IdentityBlocksByConfidentialAccountCreatorIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `ConfidentialAccount`. */ -export type IdentityBlocksByConfidentialAccountCreatorIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'IdentityBlocksByConfidentialAccountCreatorIdAndUpdatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialAccount`. */ - confidentialAccountsByUpdatedBlockId: ConfidentialAccountsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `ConfidentialAccount`. */ -export type IdentityBlocksByConfidentialAccountCreatorIdAndUpdatedBlockIdManyToManyEdgeConfidentialAccountsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialAsset`. */ -export type IdentityBlocksByConfidentialAssetCreatorIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'IdentityBlocksByConfidentialAssetCreatorIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `ConfidentialAsset`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `ConfidentialAsset`. */ -export type IdentityBlocksByConfidentialAssetCreatorIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `ConfidentialAsset`. */ -export type IdentityBlocksByConfidentialAssetCreatorIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'IdentityBlocksByConfidentialAssetCreatorIdAndCreatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialAsset`. */ - confidentialAssetsByCreatedBlockId: ConfidentialAssetsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `ConfidentialAsset`. */ -export type IdentityBlocksByConfidentialAssetCreatorIdAndCreatedBlockIdManyToManyEdgeConfidentialAssetsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialAsset`. */ -export type IdentityBlocksByConfidentialAssetCreatorIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'IdentityBlocksByConfidentialAssetCreatorIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `ConfidentialAsset`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `ConfidentialAsset`. */ -export type IdentityBlocksByConfidentialAssetCreatorIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `ConfidentialAsset`. */ -export type IdentityBlocksByConfidentialAssetCreatorIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'IdentityBlocksByConfidentialAssetCreatorIdAndUpdatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialAsset`. */ - confidentialAssetsByUpdatedBlockId: ConfidentialAssetsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `ConfidentialAsset`. */ -export type IdentityBlocksByConfidentialAssetCreatorIdAndUpdatedBlockIdManyToManyEdgeConfidentialAssetsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialTransactionAffirmation`. */ -export type IdentityBlocksByConfidentialTransactionAffirmationIdentityIdAndCreatedBlockIdManyToManyConnection = - { - __typename?: 'IdentityBlocksByConfidentialTransactionAffirmationIdentityIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `ConfidentialTransactionAffirmation`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialTransactionAffirmation`. */ -export type IdentityBlocksByConfidentialTransactionAffirmationIdentityIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ -export type IdentityBlocksByConfidentialTransactionAffirmationIdentityIdAndCreatedBlockIdManyToManyEdge = - { - __typename?: 'IdentityBlocksByConfidentialTransactionAffirmationIdentityIdAndCreatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialTransactionAffirmation`. */ - confidentialTransactionAffirmationsByCreatedBlockId: ConfidentialTransactionAffirmationsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - }; - -/** A `Block` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ -export type IdentityBlocksByConfidentialTransactionAffirmationIdentityIdAndCreatedBlockIdManyToManyEdgeConfidentialTransactionAffirmationsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialTransactionAffirmation`. */ -export type IdentityBlocksByConfidentialTransactionAffirmationIdentityIdAndUpdatedBlockIdManyToManyConnection = - { - __typename?: 'IdentityBlocksByConfidentialTransactionAffirmationIdentityIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `ConfidentialTransactionAffirmation`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialTransactionAffirmation`. */ -export type IdentityBlocksByConfidentialTransactionAffirmationIdentityIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ -export type IdentityBlocksByConfidentialTransactionAffirmationIdentityIdAndUpdatedBlockIdManyToManyEdge = - { - __typename?: 'IdentityBlocksByConfidentialTransactionAffirmationIdentityIdAndUpdatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialTransactionAffirmation`. */ - confidentialTransactionAffirmationsByUpdatedBlockId: ConfidentialTransactionAffirmationsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - }; - -/** A `Block` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ -export type IdentityBlocksByConfidentialTransactionAffirmationIdentityIdAndUpdatedBlockIdManyToManyEdgeConfidentialTransactionAffirmationsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialVenue`. */ -export type IdentityBlocksByConfidentialVenueCreatorIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'IdentityBlocksByConfidentialVenueCreatorIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `ConfidentialVenue`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `ConfidentialVenue`. */ -export type IdentityBlocksByConfidentialVenueCreatorIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `ConfidentialVenue`. */ -export type IdentityBlocksByConfidentialVenueCreatorIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'IdentityBlocksByConfidentialVenueCreatorIdAndCreatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialVenue`. */ - confidentialVenuesByCreatedBlockId: ConfidentialVenuesConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `ConfidentialVenue`. */ -export type IdentityBlocksByConfidentialVenueCreatorIdAndCreatedBlockIdManyToManyEdgeConfidentialVenuesByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `ConfidentialVenue`. */ -export type IdentityBlocksByConfidentialVenueCreatorIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'IdentityBlocksByConfidentialVenueCreatorIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `ConfidentialVenue`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `ConfidentialVenue`. */ -export type IdentityBlocksByConfidentialVenueCreatorIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `ConfidentialVenue`. */ -export type IdentityBlocksByConfidentialVenueCreatorIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'IdentityBlocksByConfidentialVenueCreatorIdAndUpdatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialVenue`. */ - confidentialVenuesByUpdatedBlockId: ConfidentialVenuesConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `ConfidentialVenue`. */ -export type IdentityBlocksByConfidentialVenueCreatorIdAndUpdatedBlockIdManyToManyEdgeConfidentialVenuesByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `CustomClaimType`. */ -export type IdentityBlocksByCustomClaimTypeIdentityIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'IdentityBlocksByCustomClaimTypeIdentityIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `CustomClaimType`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `CustomClaimType`. */ -export type IdentityBlocksByCustomClaimTypeIdentityIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `CustomClaimType`. */ -export type IdentityBlocksByCustomClaimTypeIdentityIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'IdentityBlocksByCustomClaimTypeIdentityIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `CustomClaimType`. */ - customClaimTypesByCreatedBlockId: CustomClaimTypesConnection; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `CustomClaimType`. */ -export type IdentityBlocksByCustomClaimTypeIdentityIdAndCreatedBlockIdManyToManyEdgeCustomClaimTypesByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `CustomClaimType`. */ -export type IdentityBlocksByCustomClaimTypeIdentityIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'IdentityBlocksByCustomClaimTypeIdentityIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `CustomClaimType`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `CustomClaimType`. */ -export type IdentityBlocksByCustomClaimTypeIdentityIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `CustomClaimType`. */ -export type IdentityBlocksByCustomClaimTypeIdentityIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'IdentityBlocksByCustomClaimTypeIdentityIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `CustomClaimType`. */ - customClaimTypesByUpdatedBlockId: CustomClaimTypesConnection; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `CustomClaimType`. */ -export type IdentityBlocksByCustomClaimTypeIdentityIdAndUpdatedBlockIdManyToManyEdgeCustomClaimTypesByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Distribution`. */ -export type IdentityBlocksByDistributionIdentityIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'IdentityBlocksByDistributionIdentityIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Distribution`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Distribution`. */ -export type IdentityBlocksByDistributionIdentityIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Distribution`. */ -export type IdentityBlocksByDistributionIdentityIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'IdentityBlocksByDistributionIdentityIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `Distribution`. */ - distributionsByCreatedBlockId: DistributionsConnection; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `Distribution`. */ -export type IdentityBlocksByDistributionIdentityIdAndCreatedBlockIdManyToManyEdgeDistributionsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Distribution`. */ -export type IdentityBlocksByDistributionIdentityIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'IdentityBlocksByDistributionIdentityIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Distribution`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Distribution`. */ -export type IdentityBlocksByDistributionIdentityIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Distribution`. */ -export type IdentityBlocksByDistributionIdentityIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'IdentityBlocksByDistributionIdentityIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `Distribution`. */ - distributionsByUpdatedBlockId: DistributionsConnection; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `Distribution`. */ -export type IdentityBlocksByDistributionIdentityIdAndUpdatedBlockIdManyToManyEdgeDistributionsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `DistributionPayment`. */ -export type IdentityBlocksByDistributionPaymentTargetIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'IdentityBlocksByDistributionPaymentTargetIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `DistributionPayment`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `DistributionPayment`. */ -export type IdentityBlocksByDistributionPaymentTargetIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `DistributionPayment`. */ -export type IdentityBlocksByDistributionPaymentTargetIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'IdentityBlocksByDistributionPaymentTargetIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `DistributionPayment`. */ - distributionPaymentsByCreatedBlockId: DistributionPaymentsConnection; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `DistributionPayment`. */ -export type IdentityBlocksByDistributionPaymentTargetIdAndCreatedBlockIdManyToManyEdgeDistributionPaymentsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `DistributionPayment`. */ -export type IdentityBlocksByDistributionPaymentTargetIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'IdentityBlocksByDistributionPaymentTargetIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `DistributionPayment`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `DistributionPayment`. */ -export type IdentityBlocksByDistributionPaymentTargetIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `DistributionPayment`. */ -export type IdentityBlocksByDistributionPaymentTargetIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'IdentityBlocksByDistributionPaymentTargetIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `DistributionPayment`. */ - distributionPaymentsByUpdatedBlockId: DistributionPaymentsConnection; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `DistributionPayment`. */ -export type IdentityBlocksByDistributionPaymentTargetIdAndUpdatedBlockIdManyToManyEdgeDistributionPaymentsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Investment`. */ -export type IdentityBlocksByInvestmentInvestorIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'IdentityBlocksByInvestmentInvestorIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Investment`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Investment`. */ -export type IdentityBlocksByInvestmentInvestorIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Investment`. */ -export type IdentityBlocksByInvestmentInvestorIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'IdentityBlocksByInvestmentInvestorIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `Investment`. */ - investmentsByCreatedBlockId: InvestmentsConnection; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `Investment`. */ -export type IdentityBlocksByInvestmentInvestorIdAndCreatedBlockIdManyToManyEdgeInvestmentsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Investment`. */ -export type IdentityBlocksByInvestmentInvestorIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'IdentityBlocksByInvestmentInvestorIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Investment`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Investment`. */ -export type IdentityBlocksByInvestmentInvestorIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Investment`. */ -export type IdentityBlocksByInvestmentInvestorIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'IdentityBlocksByInvestmentInvestorIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `Investment`. */ - investmentsByUpdatedBlockId: InvestmentsConnection; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `Investment`. */ -export type IdentityBlocksByInvestmentInvestorIdAndUpdatedBlockIdManyToManyEdgeInvestmentsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `MultiSig`. */ -export type IdentityBlocksByMultiSigCreatorIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'IdentityBlocksByMultiSigCreatorIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `MultiSig`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `MultiSig`. */ -export type IdentityBlocksByMultiSigCreatorIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `MultiSig`. */ -export type IdentityBlocksByMultiSigCreatorIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'IdentityBlocksByMultiSigCreatorIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `MultiSig`. */ - multiSigsByCreatedBlockId: MultiSigsConnection; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `MultiSig`. */ -export type IdentityBlocksByMultiSigCreatorIdAndCreatedBlockIdManyToManyEdgeMultiSigsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `MultiSig`. */ -export type IdentityBlocksByMultiSigCreatorIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'IdentityBlocksByMultiSigCreatorIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `MultiSig`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `MultiSig`. */ -export type IdentityBlocksByMultiSigCreatorIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `MultiSig`. */ -export type IdentityBlocksByMultiSigCreatorIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'IdentityBlocksByMultiSigCreatorIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `MultiSig`. */ - multiSigsByUpdatedBlockId: MultiSigsConnection; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `MultiSig`. */ -export type IdentityBlocksByMultiSigCreatorIdAndUpdatedBlockIdManyToManyEdgeMultiSigsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `MultiSigProposal`. */ -export type IdentityBlocksByMultiSigProposalCreatorIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'IdentityBlocksByMultiSigProposalCreatorIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `MultiSigProposal`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `MultiSigProposal`. */ -export type IdentityBlocksByMultiSigProposalCreatorIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `MultiSigProposal`. */ -export type IdentityBlocksByMultiSigProposalCreatorIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'IdentityBlocksByMultiSigProposalCreatorIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `MultiSigProposal`. */ - multiSigProposalsByCreatedBlockId: MultiSigProposalsConnection; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `MultiSigProposal`. */ -export type IdentityBlocksByMultiSigProposalCreatorIdAndCreatedBlockIdManyToManyEdgeMultiSigProposalsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `MultiSigProposal`. */ -export type IdentityBlocksByMultiSigProposalCreatorIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'IdentityBlocksByMultiSigProposalCreatorIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `MultiSigProposal`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `MultiSigProposal`. */ -export type IdentityBlocksByMultiSigProposalCreatorIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `MultiSigProposal`. */ -export type IdentityBlocksByMultiSigProposalCreatorIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'IdentityBlocksByMultiSigProposalCreatorIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `MultiSigProposal`. */ - multiSigProposalsByUpdatedBlockId: MultiSigProposalsConnection; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `MultiSigProposal`. */ -export type IdentityBlocksByMultiSigProposalCreatorIdAndUpdatedBlockIdManyToManyEdgeMultiSigProposalsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `NftHolder`. */ -export type IdentityBlocksByNftHolderIdentityIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'IdentityBlocksByNftHolderIdentityIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `NftHolder`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `NftHolder`. */ -export type IdentityBlocksByNftHolderIdentityIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `NftHolder`. */ -export type IdentityBlocksByNftHolderIdentityIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'IdentityBlocksByNftHolderIdentityIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `NftHolder`. */ - nftHoldersByCreatedBlockId: NftHoldersConnection; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `NftHolder`. */ -export type IdentityBlocksByNftHolderIdentityIdAndCreatedBlockIdManyToManyEdgeNftHoldersByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `NftHolder`. */ -export type IdentityBlocksByNftHolderIdentityIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'IdentityBlocksByNftHolderIdentityIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `NftHolder`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `NftHolder`. */ -export type IdentityBlocksByNftHolderIdentityIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `NftHolder`. */ -export type IdentityBlocksByNftHolderIdentityIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'IdentityBlocksByNftHolderIdentityIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `NftHolder`. */ - nftHoldersByUpdatedBlockId: NftHoldersConnection; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `NftHolder`. */ -export type IdentityBlocksByNftHolderIdentityIdAndUpdatedBlockIdManyToManyEdgeNftHoldersByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Portfolio`. */ -export type IdentityBlocksByPortfolioCustodianIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'IdentityBlocksByPortfolioCustodianIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Portfolio`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Portfolio`. */ -export type IdentityBlocksByPortfolioCustodianIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Portfolio`. */ -export type IdentityBlocksByPortfolioCustodianIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'IdentityBlocksByPortfolioCustodianIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Portfolio`. */ - portfoliosByCreatedBlockId: PortfoliosConnection; -}; - -/** A `Block` edge in the connection, with data from `Portfolio`. */ -export type IdentityBlocksByPortfolioCustodianIdAndCreatedBlockIdManyToManyEdgePortfoliosByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Portfolio`. */ -export type IdentityBlocksByPortfolioCustodianIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'IdentityBlocksByPortfolioCustodianIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Portfolio`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Portfolio`. */ -export type IdentityBlocksByPortfolioCustodianIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Portfolio`. */ -export type IdentityBlocksByPortfolioCustodianIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'IdentityBlocksByPortfolioCustodianIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Portfolio`. */ - portfoliosByUpdatedBlockId: PortfoliosConnection; -}; - -/** A `Block` edge in the connection, with data from `Portfolio`. */ -export type IdentityBlocksByPortfolioCustodianIdAndUpdatedBlockIdManyToManyEdgePortfoliosByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Portfolio`. */ -export type IdentityBlocksByPortfolioIdentityIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'IdentityBlocksByPortfolioIdentityIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Portfolio`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Portfolio`. */ -export type IdentityBlocksByPortfolioIdentityIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Portfolio`. */ -export type IdentityBlocksByPortfolioIdentityIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'IdentityBlocksByPortfolioIdentityIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Portfolio`. */ - portfoliosByCreatedBlockId: PortfoliosConnection; -}; - -/** A `Block` edge in the connection, with data from `Portfolio`. */ -export type IdentityBlocksByPortfolioIdentityIdAndCreatedBlockIdManyToManyEdgePortfoliosByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Portfolio`. */ -export type IdentityBlocksByPortfolioIdentityIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'IdentityBlocksByPortfolioIdentityIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Portfolio`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Portfolio`. */ -export type IdentityBlocksByPortfolioIdentityIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Portfolio`. */ -export type IdentityBlocksByPortfolioIdentityIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'IdentityBlocksByPortfolioIdentityIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Portfolio`. */ - portfoliosByUpdatedBlockId: PortfoliosConnection; -}; - -/** A `Block` edge in the connection, with data from `Portfolio`. */ -export type IdentityBlocksByPortfolioIdentityIdAndUpdatedBlockIdManyToManyEdgePortfoliosByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Proposal`. */ -export type IdentityBlocksByProposalOwnerIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'IdentityBlocksByProposalOwnerIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Proposal`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Proposal`. */ -export type IdentityBlocksByProposalOwnerIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Proposal`. */ -export type IdentityBlocksByProposalOwnerIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'IdentityBlocksByProposalOwnerIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Proposal`. */ - proposalsByCreatedBlockId: ProposalsConnection; -}; - -/** A `Block` edge in the connection, with data from `Proposal`. */ -export type IdentityBlocksByProposalOwnerIdAndCreatedBlockIdManyToManyEdgeProposalsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Proposal`. */ -export type IdentityBlocksByProposalOwnerIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'IdentityBlocksByProposalOwnerIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Proposal`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Proposal`. */ -export type IdentityBlocksByProposalOwnerIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Proposal`. */ -export type IdentityBlocksByProposalOwnerIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'IdentityBlocksByProposalOwnerIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Proposal`. */ - proposalsByUpdatedBlockId: ProposalsConnection; -}; - -/** A `Block` edge in the connection, with data from `Proposal`. */ -export type IdentityBlocksByProposalOwnerIdAndUpdatedBlockIdManyToManyEdgeProposalsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `StakingEvent`. */ -export type IdentityBlocksByStakingEventIdentityIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'IdentityBlocksByStakingEventIdentityIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `StakingEvent`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `StakingEvent`. */ -export type IdentityBlocksByStakingEventIdentityIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `StakingEvent`. */ -export type IdentityBlocksByStakingEventIdentityIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'IdentityBlocksByStakingEventIdentityIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `StakingEvent`. */ - stakingEventsByCreatedBlockId: StakingEventsConnection; -}; - -/** A `Block` edge in the connection, with data from `StakingEvent`. */ -export type IdentityBlocksByStakingEventIdentityIdAndCreatedBlockIdManyToManyEdgeStakingEventsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `StakingEvent`. */ -export type IdentityBlocksByStakingEventIdentityIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'IdentityBlocksByStakingEventIdentityIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `StakingEvent`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `StakingEvent`. */ -export type IdentityBlocksByStakingEventIdentityIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `StakingEvent`. */ -export type IdentityBlocksByStakingEventIdentityIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'IdentityBlocksByStakingEventIdentityIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `StakingEvent`. */ - stakingEventsByUpdatedBlockId: StakingEventsConnection; -}; - -/** A `Block` edge in the connection, with data from `StakingEvent`. */ -export type IdentityBlocksByStakingEventIdentityIdAndUpdatedBlockIdManyToManyEdgeStakingEventsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `StatType`. */ -export type IdentityBlocksByStatTypeClaimIssuerIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'IdentityBlocksByStatTypeClaimIssuerIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `StatType`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `StatType`. */ -export type IdentityBlocksByStatTypeClaimIssuerIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `StatType`. */ -export type IdentityBlocksByStatTypeClaimIssuerIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'IdentityBlocksByStatTypeClaimIssuerIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `StatType`. */ - statTypesByCreatedBlockId: StatTypesConnection; -}; - -/** A `Block` edge in the connection, with data from `StatType`. */ -export type IdentityBlocksByStatTypeClaimIssuerIdAndCreatedBlockIdManyToManyEdgeStatTypesByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `StatType`. */ -export type IdentityBlocksByStatTypeClaimIssuerIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'IdentityBlocksByStatTypeClaimIssuerIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `StatType`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `StatType`. */ -export type IdentityBlocksByStatTypeClaimIssuerIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `StatType`. */ -export type IdentityBlocksByStatTypeClaimIssuerIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'IdentityBlocksByStatTypeClaimIssuerIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `StatType`. */ - statTypesByUpdatedBlockId: StatTypesConnection; -}; - -/** A `Block` edge in the connection, with data from `StatType`. */ -export type IdentityBlocksByStatTypeClaimIssuerIdAndUpdatedBlockIdManyToManyEdgeStatTypesByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Sto`. */ -export type IdentityBlocksByStoCreatorIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'IdentityBlocksByStoCreatorIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Sto`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Sto`. */ -export type IdentityBlocksByStoCreatorIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Sto`. */ -export type IdentityBlocksByStoCreatorIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'IdentityBlocksByStoCreatorIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Sto`. */ - stosByCreatedBlockId: StosConnection; -}; - -/** A `Block` edge in the connection, with data from `Sto`. */ -export type IdentityBlocksByStoCreatorIdAndCreatedBlockIdManyToManyEdgeStosByCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Block` values, with data from `Sto`. */ -export type IdentityBlocksByStoCreatorIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'IdentityBlocksByStoCreatorIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Sto`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Sto`. */ -export type IdentityBlocksByStoCreatorIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Sto`. */ -export type IdentityBlocksByStoCreatorIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'IdentityBlocksByStoCreatorIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Sto`. */ - stosByUpdatedBlockId: StosConnection; -}; - -/** A `Block` edge in the connection, with data from `Sto`. */ -export type IdentityBlocksByStoCreatorIdAndUpdatedBlockIdManyToManyEdgeStosByUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Block` values, with data from `TickerExternalAgentAction`. */ -export type IdentityBlocksByTickerExternalAgentActionCallerIdAndCreatedBlockIdManyToManyConnection = - { - __typename?: 'IdentityBlocksByTickerExternalAgentActionCallerIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `TickerExternalAgentAction`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Block` values, with data from `TickerExternalAgentAction`. */ -export type IdentityBlocksByTickerExternalAgentActionCallerIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `TickerExternalAgentAction`. */ -export type IdentityBlocksByTickerExternalAgentActionCallerIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'IdentityBlocksByTickerExternalAgentActionCallerIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TickerExternalAgentAction`. */ - tickerExternalAgentActionsByCreatedBlockId: TickerExternalAgentActionsConnection; -}; - -/** A `Block` edge in the connection, with data from `TickerExternalAgentAction`. */ -export type IdentityBlocksByTickerExternalAgentActionCallerIdAndCreatedBlockIdManyToManyEdgeTickerExternalAgentActionsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `TickerExternalAgentAction`. */ -export type IdentityBlocksByTickerExternalAgentActionCallerIdAndUpdatedBlockIdManyToManyConnection = - { - __typename?: 'IdentityBlocksByTickerExternalAgentActionCallerIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `TickerExternalAgentAction`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Block` values, with data from `TickerExternalAgentAction`. */ -export type IdentityBlocksByTickerExternalAgentActionCallerIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `TickerExternalAgentAction`. */ -export type IdentityBlocksByTickerExternalAgentActionCallerIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'IdentityBlocksByTickerExternalAgentActionCallerIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TickerExternalAgentAction`. */ - tickerExternalAgentActionsByUpdatedBlockId: TickerExternalAgentActionsConnection; -}; - -/** A `Block` edge in the connection, with data from `TickerExternalAgentAction`. */ -export type IdentityBlocksByTickerExternalAgentActionCallerIdAndUpdatedBlockIdManyToManyEdgeTickerExternalAgentActionsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `TickerExternalAgent`. */ -export type IdentityBlocksByTickerExternalAgentCallerIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'IdentityBlocksByTickerExternalAgentCallerIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `TickerExternalAgent`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `TickerExternalAgent`. */ -export type IdentityBlocksByTickerExternalAgentCallerIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `TickerExternalAgent`. */ -export type IdentityBlocksByTickerExternalAgentCallerIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'IdentityBlocksByTickerExternalAgentCallerIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TickerExternalAgent`. */ - tickerExternalAgentsByCreatedBlockId: TickerExternalAgentsConnection; -}; - -/** A `Block` edge in the connection, with data from `TickerExternalAgent`. */ -export type IdentityBlocksByTickerExternalAgentCallerIdAndCreatedBlockIdManyToManyEdgeTickerExternalAgentsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `TickerExternalAgent`. */ -export type IdentityBlocksByTickerExternalAgentCallerIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'IdentityBlocksByTickerExternalAgentCallerIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `TickerExternalAgent`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `TickerExternalAgent`. */ -export type IdentityBlocksByTickerExternalAgentCallerIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `TickerExternalAgent`. */ -export type IdentityBlocksByTickerExternalAgentCallerIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'IdentityBlocksByTickerExternalAgentCallerIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TickerExternalAgent`. */ - tickerExternalAgentsByUpdatedBlockId: TickerExternalAgentsConnection; -}; - -/** A `Block` edge in the connection, with data from `TickerExternalAgent`. */ -export type IdentityBlocksByTickerExternalAgentCallerIdAndUpdatedBlockIdManyToManyEdgeTickerExternalAgentsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `TickerExternalAgentHistory`. */ -export type IdentityBlocksByTickerExternalAgentHistoryIdentityIdAndCreatedBlockIdManyToManyConnection = - { - __typename?: 'IdentityBlocksByTickerExternalAgentHistoryIdentityIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `TickerExternalAgentHistory`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Block` values, with data from `TickerExternalAgentHistory`. */ -export type IdentityBlocksByTickerExternalAgentHistoryIdentityIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `TickerExternalAgentHistory`. */ -export type IdentityBlocksByTickerExternalAgentHistoryIdentityIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'IdentityBlocksByTickerExternalAgentHistoryIdentityIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TickerExternalAgentHistory`. */ - tickerExternalAgentHistoriesByCreatedBlockId: TickerExternalAgentHistoriesConnection; -}; - -/** A `Block` edge in the connection, with data from `TickerExternalAgentHistory`. */ -export type IdentityBlocksByTickerExternalAgentHistoryIdentityIdAndCreatedBlockIdManyToManyEdgeTickerExternalAgentHistoriesByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `TickerExternalAgentHistory`. */ -export type IdentityBlocksByTickerExternalAgentHistoryIdentityIdAndUpdatedBlockIdManyToManyConnection = - { - __typename?: 'IdentityBlocksByTickerExternalAgentHistoryIdentityIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `TickerExternalAgentHistory`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Block` values, with data from `TickerExternalAgentHistory`. */ -export type IdentityBlocksByTickerExternalAgentHistoryIdentityIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `TickerExternalAgentHistory`. */ -export type IdentityBlocksByTickerExternalAgentHistoryIdentityIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'IdentityBlocksByTickerExternalAgentHistoryIdentityIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TickerExternalAgentHistory`. */ - tickerExternalAgentHistoriesByUpdatedBlockId: TickerExternalAgentHistoriesConnection; -}; - -/** A `Block` edge in the connection, with data from `TickerExternalAgentHistory`. */ -export type IdentityBlocksByTickerExternalAgentHistoryIdentityIdAndUpdatedBlockIdManyToManyEdgeTickerExternalAgentHistoriesByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `TransferCompliance`. */ -export type IdentityBlocksByTransferComplianceClaimIssuerIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'IdentityBlocksByTransferComplianceClaimIssuerIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `TransferCompliance`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `TransferCompliance`. */ -export type IdentityBlocksByTransferComplianceClaimIssuerIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `TransferCompliance`. */ -export type IdentityBlocksByTransferComplianceClaimIssuerIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'IdentityBlocksByTransferComplianceClaimIssuerIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TransferCompliance`. */ - transferCompliancesByCreatedBlockId: TransferCompliancesConnection; -}; - -/** A `Block` edge in the connection, with data from `TransferCompliance`. */ -export type IdentityBlocksByTransferComplianceClaimIssuerIdAndCreatedBlockIdManyToManyEdgeTransferCompliancesByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `TransferCompliance`. */ -export type IdentityBlocksByTransferComplianceClaimIssuerIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'IdentityBlocksByTransferComplianceClaimIssuerIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `TransferCompliance`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `TransferCompliance`. */ -export type IdentityBlocksByTransferComplianceClaimIssuerIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `TransferCompliance`. */ -export type IdentityBlocksByTransferComplianceClaimIssuerIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'IdentityBlocksByTransferComplianceClaimIssuerIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TransferCompliance`. */ - transferCompliancesByUpdatedBlockId: TransferCompliancesConnection; -}; - -/** A `Block` edge in the connection, with data from `TransferCompliance`. */ -export type IdentityBlocksByTransferComplianceClaimIssuerIdAndUpdatedBlockIdManyToManyEdgeTransferCompliancesByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Venue`. */ -export type IdentityBlocksByVenueOwnerIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'IdentityBlocksByVenueOwnerIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Venue`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Venue`. */ -export type IdentityBlocksByVenueOwnerIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Venue`. */ -export type IdentityBlocksByVenueOwnerIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'IdentityBlocksByVenueOwnerIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Venue`. */ - venuesByCreatedBlockId: VenuesConnection; -}; - -/** A `Block` edge in the connection, with data from `Venue`. */ -export type IdentityBlocksByVenueOwnerIdAndCreatedBlockIdManyToManyEdgeVenuesByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Venue`. */ -export type IdentityBlocksByVenueOwnerIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'IdentityBlocksByVenueOwnerIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Venue`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Venue`. */ -export type IdentityBlocksByVenueOwnerIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Venue`. */ -export type IdentityBlocksByVenueOwnerIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'IdentityBlocksByVenueOwnerIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Venue`. */ - venuesByUpdatedBlockId: VenuesConnection; -}; - -/** A `Block` edge in the connection, with data from `Venue`. */ -export type IdentityBlocksByVenueOwnerIdAndUpdatedBlockIdManyToManyEdgeVenuesByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialTransactionAffirmation`. */ -export type IdentityConfidentialAccountsByConfidentialTransactionAffirmationIdentityIdAndAccountIdManyToManyConnection = - { - __typename?: 'IdentityConfidentialAccountsByConfidentialTransactionAffirmationIdentityIdAndAccountIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `ConfidentialAccount`, info from the `ConfidentialTransactionAffirmation`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `ConfidentialAccount` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `ConfidentialAccount` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `ConfidentialAccount` values, with data from `ConfidentialTransactionAffirmation`. */ -export type IdentityConfidentialAccountsByConfidentialTransactionAffirmationIdentityIdAndAccountIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ -export type IdentityConfidentialAccountsByConfidentialTransactionAffirmationIdentityIdAndAccountIdManyToManyEdge = - { - __typename?: 'IdentityConfidentialAccountsByConfidentialTransactionAffirmationIdentityIdAndAccountIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialTransactionAffirmation`. */ - confidentialTransactionAffirmationsByAccountId: ConfidentialTransactionAffirmationsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `ConfidentialAccount` at the end of the edge. */ - node?: Maybe; - }; - -/** A `ConfidentialAccount` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ -export type IdentityConfidentialAccountsByConfidentialTransactionAffirmationIdentityIdAndAccountIdManyToManyEdgeConfidentialTransactionAffirmationsByAccountIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `ConfidentialTransaction` values, with data from `ConfidentialTransactionAffirmation`. */ -export type IdentityConfidentialTransactionsByConfidentialTransactionAffirmationIdentityIdAndTransactionIdManyToManyConnection = - { - __typename?: 'IdentityConfidentialTransactionsByConfidentialTransactionAffirmationIdentityIdAndTransactionIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `ConfidentialTransaction`, info from the `ConfidentialTransactionAffirmation`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `ConfidentialTransaction` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `ConfidentialTransaction` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `ConfidentialTransaction` values, with data from `ConfidentialTransactionAffirmation`. */ -export type IdentityConfidentialTransactionsByConfidentialTransactionAffirmationIdentityIdAndTransactionIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `ConfidentialTransaction` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ -export type IdentityConfidentialTransactionsByConfidentialTransactionAffirmationIdentityIdAndTransactionIdManyToManyEdge = - { - __typename?: 'IdentityConfidentialTransactionsByConfidentialTransactionAffirmationIdentityIdAndTransactionIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ConfidentialTransactionAffirmation`. */ - affirmations: ConfidentialTransactionAffirmationsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `ConfidentialTransaction` at the end of the edge. */ - node?: Maybe; - }; - -/** A `ConfidentialTransaction` edge in the connection, with data from `ConfidentialTransactionAffirmation`. */ -export type IdentityConfidentialTransactionsByConfidentialTransactionAffirmationIdentityIdAndTransactionIdManyToManyEdgeAffirmationsArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `CustomClaimType` values, with data from `Claim`. */ -export type IdentityCustomClaimTypesByClaimIssuerIdAndCustomClaimTypeIdManyToManyConnection = { - __typename?: 'IdentityCustomClaimTypesByClaimIssuerIdAndCustomClaimTypeIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `CustomClaimType`, info from the `Claim`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `CustomClaimType` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `CustomClaimType` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `CustomClaimType` values, with data from `Claim`. */ -export type IdentityCustomClaimTypesByClaimIssuerIdAndCustomClaimTypeIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `CustomClaimType` edge in the connection, with data from `Claim`. */ -export type IdentityCustomClaimTypesByClaimIssuerIdAndCustomClaimTypeIdManyToManyEdge = { - __typename?: 'IdentityCustomClaimTypesByClaimIssuerIdAndCustomClaimTypeIdManyToManyEdge'; - /** Reads and enables pagination through a set of `Claim`. */ - claims: ClaimsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `CustomClaimType` at the end of the edge. */ - node?: Maybe; -}; - -/** A `CustomClaimType` edge in the connection, with data from `Claim`. */ -export type IdentityCustomClaimTypesByClaimIssuerIdAndCustomClaimTypeIdManyToManyEdgeClaimsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `CustomClaimType` values, with data from `Claim`. */ -export type IdentityCustomClaimTypesByClaimTargetIdAndCustomClaimTypeIdManyToManyConnection = { - __typename?: 'IdentityCustomClaimTypesByClaimTargetIdAndCustomClaimTypeIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `CustomClaimType`, info from the `Claim`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `CustomClaimType` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `CustomClaimType` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `CustomClaimType` values, with data from `Claim`. */ -export type IdentityCustomClaimTypesByClaimTargetIdAndCustomClaimTypeIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `CustomClaimType` edge in the connection, with data from `Claim`. */ -export type IdentityCustomClaimTypesByClaimTargetIdAndCustomClaimTypeIdManyToManyEdge = { - __typename?: 'IdentityCustomClaimTypesByClaimTargetIdAndCustomClaimTypeIdManyToManyEdge'; - /** Reads and enables pagination through a set of `Claim`. */ - claims: ClaimsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `CustomClaimType` at the end of the edge. */ - node?: Maybe; -}; - -/** A `CustomClaimType` edge in the connection, with data from `Claim`. */ -export type IdentityCustomClaimTypesByClaimTargetIdAndCustomClaimTypeIdManyToManyEdgeClaimsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -export type IdentityDistinctCountAggregateFilter = { - createdAt?: InputMaybe; - createdBlockId?: InputMaybe; - datetime?: InputMaybe; - did?: InputMaybe; - eventId?: InputMaybe; - id?: InputMaybe; - primaryAccount?: InputMaybe; - secondaryKeysFrozen?: InputMaybe; - updatedAt?: InputMaybe; - updatedBlockId?: InputMaybe; -}; - -export type IdentityDistinctCountAggregates = { - __typename?: 'IdentityDistinctCountAggregates'; - /** Distinct count of createdAt across the matching connection */ - createdAt?: Maybe; - /** Distinct count of createdBlockId across the matching connection */ - createdBlockId?: Maybe; - /** Distinct count of datetime across the matching connection */ - datetime?: Maybe; - /** Distinct count of did across the matching connection */ - did?: Maybe; - /** Distinct count of eventId across the matching connection */ - eventId?: Maybe; - /** Distinct count of id across the matching connection */ - id?: Maybe; - /** Distinct count of primaryAccount across the matching connection */ - primaryAccount?: Maybe; - /** Distinct count of secondaryKeysFrozen across the matching connection */ - secondaryKeysFrozen?: Maybe; - /** Distinct count of updatedAt across the matching connection */ - updatedAt?: Maybe; - /** Distinct count of updatedBlockId across the matching connection */ - updatedBlockId?: Maybe; -}; - -/** A connection to a list of `Distribution` values, with data from `DistributionPayment`. */ -export type IdentityDistributionsByDistributionPaymentTargetIdAndDistributionIdManyToManyConnection = - { - __typename?: 'IdentityDistributionsByDistributionPaymentTargetIdAndDistributionIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Distribution`, info from the `DistributionPayment`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Distribution` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Distribution` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Distribution` values, with data from `DistributionPayment`. */ -export type IdentityDistributionsByDistributionPaymentTargetIdAndDistributionIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Distribution` edge in the connection, with data from `DistributionPayment`. */ -export type IdentityDistributionsByDistributionPaymentTargetIdAndDistributionIdManyToManyEdge = { - __typename?: 'IdentityDistributionsByDistributionPaymentTargetIdAndDistributionIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `DistributionPayment`. */ - distributionPayments: DistributionPaymentsConnection; - /** The `Distribution` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Distribution` edge in the connection, with data from `DistributionPayment`. */ -export type IdentityDistributionsByDistributionPaymentTargetIdAndDistributionIdManyToManyEdgeDistributionPaymentsArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A filter to be used against `Identity` object types. All fields are combined with a logical ‘and.’ */ -export type IdentityFilter = { - /** Checks for all expressions in this list. */ - and?: InputMaybe>; - /** Filter by the object’s `assetsByOwnerId` relation. */ - assetsByOwnerId?: InputMaybe; - /** Some related `assetsByOwnerId` exist. */ - assetsByOwnerIdExist?: InputMaybe; - /** Filter by the object’s `authorizationsByFromId` relation. */ - authorizationsByFromId?: InputMaybe; - /** Some related `authorizationsByFromId` exist. */ - authorizationsByFromIdExist?: InputMaybe; - /** Filter by the object’s `bridgeEvents` relation. */ - bridgeEvents?: InputMaybe; - /** Some related `bridgeEvents` exist. */ - bridgeEventsExist?: InputMaybe; - /** Filter by the object’s `children` relation. */ - children?: InputMaybe; - /** Some related `children` exist. */ - childrenExist?: InputMaybe; - /** Filter by the object’s `claimsByIssuerId` relation. */ - claimsByIssuerId?: InputMaybe; - /** Some related `claimsByIssuerId` exist. */ - claimsByIssuerIdExist?: InputMaybe; - /** Filter by the object’s `claimsByTargetId` relation. */ - claimsByTargetId?: InputMaybe; - /** Some related `claimsByTargetId` exist. */ - claimsByTargetIdExist?: InputMaybe; - /** Filter by the object’s `confidentialAccountsByCreatorId` relation. */ - confidentialAccountsByCreatorId?: InputMaybe; - /** Some related `confidentialAccountsByCreatorId` exist. */ - confidentialAccountsByCreatorIdExist?: InputMaybe; - /** Filter by the object’s `confidentialAssetsByCreatorId` relation. */ - confidentialAssetsByCreatorId?: InputMaybe; - /** Some related `confidentialAssetsByCreatorId` exist. */ - confidentialAssetsByCreatorIdExist?: InputMaybe; - /** Filter by the object’s `confidentialTransactionAffirmations` relation. */ - confidentialTransactionAffirmations?: InputMaybe; - /** Some related `confidentialTransactionAffirmations` exist. */ - confidentialTransactionAffirmationsExist?: InputMaybe; - /** Filter by the object’s `confidentialVenuesByCreatorId` relation. */ - confidentialVenuesByCreatorId?: InputMaybe; - /** Some related `confidentialVenuesByCreatorId` exist. */ - confidentialVenuesByCreatorIdExist?: InputMaybe; - /** Filter by the object’s `createdAt` field. */ - createdAt?: InputMaybe; - /** Filter by the object’s `createdBlock` relation. */ - createdBlock?: InputMaybe; - /** Filter by the object’s `createdBlockId` field. */ - createdBlockId?: InputMaybe; - /** Filter by the object’s `customClaimTypes` relation. */ - customClaimTypes?: InputMaybe; - /** Some related `customClaimTypes` exist. */ - customClaimTypesExist?: InputMaybe; - /** Filter by the object’s `datetime` field. */ - datetime?: InputMaybe; - /** Filter by the object’s `did` field. */ - did?: InputMaybe; - /** Filter by the object’s `distributionPaymentsByTargetId` relation. */ - distributionPaymentsByTargetId?: InputMaybe; - /** Some related `distributionPaymentsByTargetId` exist. */ - distributionPaymentsByTargetIdExist?: InputMaybe; - /** Filter by the object’s `distributions` relation. */ - distributions?: InputMaybe; - /** Some related `distributions` exist. */ - distributionsExist?: InputMaybe; - /** Filter by the object’s `eventId` field. */ - eventId?: InputMaybe; - /** Filter by the object’s `heldAssets` relation. */ - heldAssets?: InputMaybe; - /** Some related `heldAssets` exist. */ - heldAssetsExist?: InputMaybe; - /** Filter by the object’s `heldNfts` relation. */ - heldNfts?: InputMaybe; - /** Some related `heldNfts` exist. */ - heldNftsExist?: InputMaybe; - /** Filter by the object’s `id` field. */ - id?: InputMaybe; - /** Filter by the object’s `investmentsByInvestorId` relation. */ - investmentsByInvestorId?: InputMaybe; - /** Some related `investmentsByInvestorId` exist. */ - investmentsByInvestorIdExist?: InputMaybe; - /** Filter by the object’s `multiSigProposalsByCreatorId` relation. */ - multiSigProposalsByCreatorId?: InputMaybe; - /** Some related `multiSigProposalsByCreatorId` exist. */ - multiSigProposalsByCreatorIdExist?: InputMaybe; - /** Filter by the object’s `multiSigsByCreatorId` relation. */ - multiSigsByCreatorId?: InputMaybe; - /** Some related `multiSigsByCreatorId` exist. */ - multiSigsByCreatorIdExist?: InputMaybe; - /** Negates the expression. */ - not?: InputMaybe; - /** Checks for any expressions in this list. */ - or?: InputMaybe>; - /** Filter by the object’s `parentChildIdentities` relation. */ - parentChildIdentities?: InputMaybe; - /** Some related `parentChildIdentities` exist. */ - parentChildIdentitiesExist?: InputMaybe; - /** Filter by the object’s `portfolios` relation. */ - portfolios?: InputMaybe; - /** Filter by the object’s `portfoliosByCustodianId` relation. */ - portfoliosByCustodianId?: InputMaybe; - /** Some related `portfoliosByCustodianId` exist. */ - portfoliosByCustodianIdExist?: InputMaybe; - /** Some related `portfolios` exist. */ - portfoliosExist?: InputMaybe; - /** Filter by the object’s `primaryAccount` field. */ - primaryAccount?: InputMaybe; - /** Filter by the object’s `proposalsByOwnerId` relation. */ - proposalsByOwnerId?: InputMaybe; - /** Some related `proposalsByOwnerId` exist. */ - proposalsByOwnerIdExist?: InputMaybe; - /** Filter by the object’s `secondaryAccounts` relation. */ - secondaryAccounts?: InputMaybe; - /** Some related `secondaryAccounts` exist. */ - secondaryAccountsExist?: InputMaybe; - /** Filter by the object’s `secondaryKeysFrozen` field. */ - secondaryKeysFrozen?: InputMaybe; - /** Filter by the object’s `stakingEvents` relation. */ - stakingEvents?: InputMaybe; - /** Some related `stakingEvents` exist. */ - stakingEventsExist?: InputMaybe; - /** Filter by the object’s `statTypesByClaimIssuerId` relation. */ - statTypesByClaimIssuerId?: InputMaybe; - /** Some related `statTypesByClaimIssuerId` exist. */ - statTypesByClaimIssuerIdExist?: InputMaybe; - /** Filter by the object’s `stosByCreatorId` relation. */ - stosByCreatorId?: InputMaybe; - /** Some related `stosByCreatorId` exist. */ - stosByCreatorIdExist?: InputMaybe; - /** Filter by the object’s `tickerExternalAgentActionsByCallerId` relation. */ - tickerExternalAgentActionsByCallerId?: InputMaybe; - /** Some related `tickerExternalAgentActionsByCallerId` exist. */ - tickerExternalAgentActionsByCallerIdExist?: InputMaybe; - /** Filter by the object’s `tickerExternalAgentHistories` relation. */ - tickerExternalAgentHistories?: InputMaybe; - /** Some related `tickerExternalAgentHistories` exist. */ - tickerExternalAgentHistoriesExist?: InputMaybe; - /** Filter by the object’s `tickerExternalAgentsByCallerId` relation. */ - tickerExternalAgentsByCallerId?: InputMaybe; - /** Some related `tickerExternalAgentsByCallerId` exist. */ - tickerExternalAgentsByCallerIdExist?: InputMaybe; - /** Filter by the object’s `transferCompliancesByClaimIssuerId` relation. */ - transferCompliancesByClaimIssuerId?: InputMaybe; - /** Some related `transferCompliancesByClaimIssuerId` exist. */ - transferCompliancesByClaimIssuerIdExist?: InputMaybe; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: InputMaybe; - /** Filter by the object’s `updatedBlock` relation. */ - updatedBlock?: InputMaybe; - /** Filter by the object’s `updatedBlockId` field. */ - updatedBlockId?: InputMaybe; - /** Filter by the object’s `venuesByOwnerId` relation. */ - venuesByOwnerId?: InputMaybe; - /** Some related `venuesByOwnerId` exist. */ - venuesByOwnerIdExist?: InputMaybe; -}; - -/** A connection to a list of `Identity` values, with data from `ChildIdentity`. */ -export type IdentityIdentitiesByChildIdentityChildIdAndParentIdManyToManyConnection = { - __typename?: 'IdentityIdentitiesByChildIdentityChildIdAndParentIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `ChildIdentity`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `ChildIdentity`. */ -export type IdentityIdentitiesByChildIdentityChildIdAndParentIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `ChildIdentity`. */ -export type IdentityIdentitiesByChildIdentityChildIdAndParentIdManyToManyEdge = { - __typename?: 'IdentityIdentitiesByChildIdentityChildIdAndParentIdManyToManyEdge'; - /** Reads and enables pagination through a set of `ChildIdentity`. */ - children: ChildIdentitiesConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Identity` edge in the connection, with data from `ChildIdentity`. */ -export type IdentityIdentitiesByChildIdentityChildIdAndParentIdManyToManyEdgeChildrenArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Identity` values, with data from `ChildIdentity`. */ -export type IdentityIdentitiesByChildIdentityParentIdAndChildIdManyToManyConnection = { - __typename?: 'IdentityIdentitiesByChildIdentityParentIdAndChildIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `ChildIdentity`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `ChildIdentity`. */ -export type IdentityIdentitiesByChildIdentityParentIdAndChildIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `ChildIdentity`. */ -export type IdentityIdentitiesByChildIdentityParentIdAndChildIdManyToManyEdge = { - __typename?: 'IdentityIdentitiesByChildIdentityParentIdAndChildIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `ChildIdentity`. */ - parentChildIdentities: ChildIdentitiesConnection; -}; - -/** A `Identity` edge in the connection, with data from `ChildIdentity`. */ -export type IdentityIdentitiesByChildIdentityParentIdAndChildIdManyToManyEdgeParentChildIdentitiesArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Identity` values, with data from `Claim`. */ -export type IdentityIdentitiesByClaimIssuerIdAndTargetIdManyToManyConnection = { - __typename?: 'IdentityIdentitiesByClaimIssuerIdAndTargetIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `Claim`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `Claim`. */ -export type IdentityIdentitiesByClaimIssuerIdAndTargetIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `Claim`. */ -export type IdentityIdentitiesByClaimIssuerIdAndTargetIdManyToManyEdge = { - __typename?: 'IdentityIdentitiesByClaimIssuerIdAndTargetIdManyToManyEdge'; - /** Reads and enables pagination through a set of `Claim`. */ - claimsByTargetId: ClaimsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Identity` edge in the connection, with data from `Claim`. */ -export type IdentityIdentitiesByClaimIssuerIdAndTargetIdManyToManyEdgeClaimsByTargetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Identity` values, with data from `Claim`. */ -export type IdentityIdentitiesByClaimTargetIdAndIssuerIdManyToManyConnection = { - __typename?: 'IdentityIdentitiesByClaimTargetIdAndIssuerIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `Claim`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `Claim`. */ -export type IdentityIdentitiesByClaimTargetIdAndIssuerIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `Claim`. */ -export type IdentityIdentitiesByClaimTargetIdAndIssuerIdManyToManyEdge = { - __typename?: 'IdentityIdentitiesByClaimTargetIdAndIssuerIdManyToManyEdge'; - /** Reads and enables pagination through a set of `Claim`. */ - claimsByIssuerId: ClaimsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Identity` edge in the connection, with data from `Claim`. */ -export type IdentityIdentitiesByClaimTargetIdAndIssuerIdManyToManyEdgeClaimsByIssuerIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Identity` values, with data from `Portfolio`. */ -export type IdentityIdentitiesByPortfolioCustodianIdAndIdentityIdManyToManyConnection = { - __typename?: 'IdentityIdentitiesByPortfolioCustodianIdAndIdentityIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `Portfolio`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `Portfolio`. */ -export type IdentityIdentitiesByPortfolioCustodianIdAndIdentityIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `Portfolio`. */ -export type IdentityIdentitiesByPortfolioCustodianIdAndIdentityIdManyToManyEdge = { - __typename?: 'IdentityIdentitiesByPortfolioCustodianIdAndIdentityIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Portfolio`. */ - portfolios: PortfoliosConnection; -}; - -/** A `Identity` edge in the connection, with data from `Portfolio`. */ -export type IdentityIdentitiesByPortfolioCustodianIdAndIdentityIdManyToManyEdgePortfoliosArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Identity` values, with data from `Portfolio`. */ -export type IdentityIdentitiesByPortfolioIdentityIdAndCustodianIdManyToManyConnection = { - __typename?: 'IdentityIdentitiesByPortfolioIdentityIdAndCustodianIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `Portfolio`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `Portfolio`. */ -export type IdentityIdentitiesByPortfolioIdentityIdAndCustodianIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `Portfolio`. */ -export type IdentityIdentitiesByPortfolioIdentityIdAndCustodianIdManyToManyEdge = { - __typename?: 'IdentityIdentitiesByPortfolioIdentityIdAndCustodianIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Portfolio`. */ - portfoliosByCustodianId: PortfoliosConnection; -}; - -/** A `Identity` edge in the connection, with data from `Portfolio`. */ -export type IdentityIdentitiesByPortfolioIdentityIdAndCustodianIdManyToManyEdgePortfoliosByCustodianIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `MultiSig` values, with data from `MultiSigProposal`. */ -export type IdentityMultiSigsByMultiSigProposalCreatorIdAndMultisigIdManyToManyConnection = { - __typename?: 'IdentityMultiSigsByMultiSigProposalCreatorIdAndMultisigIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `MultiSig`, info from the `MultiSigProposal`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `MultiSig` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `MultiSig` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `MultiSig` values, with data from `MultiSigProposal`. */ -export type IdentityMultiSigsByMultiSigProposalCreatorIdAndMultisigIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `MultiSig` edge in the connection, with data from `MultiSigProposal`. */ -export type IdentityMultiSigsByMultiSigProposalCreatorIdAndMultisigIdManyToManyEdge = { - __typename?: 'IdentityMultiSigsByMultiSigProposalCreatorIdAndMultisigIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `MultiSig` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `MultiSigProposal`. */ - proposals: MultiSigProposalsConnection; -}; - -/** A `MultiSig` edge in the connection, with data from `MultiSigProposal`. */ -export type IdentityMultiSigsByMultiSigProposalCreatorIdAndMultisigIdManyToManyEdgeProposalsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Permission` values, with data from `Account`. */ -export type IdentityPermissionsByAccountIdentityIdAndPermissionsIdManyToManyConnection = { - __typename?: 'IdentityPermissionsByAccountIdentityIdAndPermissionsIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Permission`, info from the `Account`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Permission` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Permission` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Permission` values, with data from `Account`. */ -export type IdentityPermissionsByAccountIdentityIdAndPermissionsIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Permission` edge in the connection, with data from `Account`. */ -export type IdentityPermissionsByAccountIdentityIdAndPermissionsIdManyToManyEdge = { - __typename?: 'IdentityPermissionsByAccountIdentityIdAndPermissionsIdManyToManyEdge'; - /** Reads and enables pagination through a set of `Account`. */ - accountsByPermissionsId: AccountsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Permission` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Permission` edge in the connection, with data from `Account`. */ -export type IdentityPermissionsByAccountIdentityIdAndPermissionsIdManyToManyEdgeAccountsByPermissionsIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Portfolio` values, with data from `Distribution`. */ -export type IdentityPortfoliosByDistributionIdentityIdAndPortfolioIdManyToManyConnection = { - __typename?: 'IdentityPortfoliosByDistributionIdentityIdAndPortfolioIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Portfolio`, info from the `Distribution`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Portfolio` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Portfolio` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Portfolio` values, with data from `Distribution`. */ -export type IdentityPortfoliosByDistributionIdentityIdAndPortfolioIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Portfolio` edge in the connection, with data from `Distribution`. */ -export type IdentityPortfoliosByDistributionIdentityIdAndPortfolioIdManyToManyEdge = { - __typename?: 'IdentityPortfoliosByDistributionIdentityIdAndPortfolioIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `Distribution`. */ - distributions: DistributionsConnection; - /** The `Portfolio` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Portfolio` edge in the connection, with data from `Distribution`. */ -export type IdentityPortfoliosByDistributionIdentityIdAndPortfolioIdManyToManyEdgeDistributionsArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Portfolio` values, with data from `Sto`. */ -export type IdentityPortfoliosByStoCreatorIdAndOfferingPortfolioIdManyToManyConnection = { - __typename?: 'IdentityPortfoliosByStoCreatorIdAndOfferingPortfolioIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Portfolio`, info from the `Sto`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Portfolio` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Portfolio` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Portfolio` values, with data from `Sto`. */ -export type IdentityPortfoliosByStoCreatorIdAndOfferingPortfolioIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Portfolio` edge in the connection, with data from `Sto`. */ -export type IdentityPortfoliosByStoCreatorIdAndOfferingPortfolioIdManyToManyEdge = { - __typename?: 'IdentityPortfoliosByStoCreatorIdAndOfferingPortfolioIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Portfolio` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Sto`. */ - stosByOfferingPortfolioId: StosConnection; -}; - -/** A `Portfolio` edge in the connection, with data from `Sto`. */ -export type IdentityPortfoliosByStoCreatorIdAndOfferingPortfolioIdManyToManyEdgeStosByOfferingPortfolioIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Portfolio` values, with data from `Sto`. */ -export type IdentityPortfoliosByStoCreatorIdAndRaisingPortfolioIdManyToManyConnection = { - __typename?: 'IdentityPortfoliosByStoCreatorIdAndRaisingPortfolioIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Portfolio`, info from the `Sto`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Portfolio` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Portfolio` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Portfolio` values, with data from `Sto`. */ -export type IdentityPortfoliosByStoCreatorIdAndRaisingPortfolioIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Portfolio` edge in the connection, with data from `Sto`. */ -export type IdentityPortfoliosByStoCreatorIdAndRaisingPortfolioIdManyToManyEdge = { - __typename?: 'IdentityPortfoliosByStoCreatorIdAndRaisingPortfolioIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Portfolio` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Sto`. */ - stosByRaisingPortfolioId: StosConnection; -}; - -/** A `Portfolio` edge in the connection, with data from `Sto`. */ -export type IdentityPortfoliosByStoCreatorIdAndRaisingPortfolioIdManyToManyEdgeStosByRaisingPortfolioIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `StatType` values, with data from `TransferCompliance`. */ -export type IdentityStatTypesByTransferComplianceClaimIssuerIdAndStatTypeIdManyToManyConnection = { - __typename?: 'IdentityStatTypesByTransferComplianceClaimIssuerIdAndStatTypeIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `StatType`, info from the `TransferCompliance`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `StatType` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `StatType` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `StatType` values, with data from `TransferCompliance`. */ -export type IdentityStatTypesByTransferComplianceClaimIssuerIdAndStatTypeIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `StatType` edge in the connection, with data from `TransferCompliance`. */ -export type IdentityStatTypesByTransferComplianceClaimIssuerIdAndStatTypeIdManyToManyEdge = { - __typename?: 'IdentityStatTypesByTransferComplianceClaimIssuerIdAndStatTypeIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `StatType` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TransferCompliance`. */ - transferCompliances: TransferCompliancesConnection; -}; - -/** A `StatType` edge in the connection, with data from `TransferCompliance`. */ -export type IdentityStatTypesByTransferComplianceClaimIssuerIdAndStatTypeIdManyToManyEdgeTransferCompliancesArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A filter to be used against many `Account` object types. All fields are combined with a logical ‘and.’ */ -export type IdentityToManyAccountFilter = { - /** Aggregates across related `Account` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `Account` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `Account` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `Account` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `Asset` object types. All fields are combined with a logical ‘and.’ */ -export type IdentityToManyAssetFilter = { - /** Aggregates across related `Asset` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `Asset` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `Asset` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `Asset` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `AssetHolder` object types. All fields are combined with a logical ‘and.’ */ -export type IdentityToManyAssetHolderFilter = { - /** Aggregates across related `AssetHolder` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `AssetHolder` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `AssetHolder` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `AssetHolder` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `Authorization` object types. All fields are combined with a logical ‘and.’ */ -export type IdentityToManyAuthorizationFilter = { - /** Aggregates across related `Authorization` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `Authorization` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `Authorization` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `Authorization` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `BridgeEvent` object types. All fields are combined with a logical ‘and.’ */ -export type IdentityToManyBridgeEventFilter = { - /** Aggregates across related `BridgeEvent` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `BridgeEvent` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `BridgeEvent` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `BridgeEvent` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `ChildIdentity` object types. All fields are combined with a logical ‘and.’ */ -export type IdentityToManyChildIdentityFilter = { - /** Aggregates across related `ChildIdentity` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `ChildIdentity` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `ChildIdentity` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `ChildIdentity` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `Claim` object types. All fields are combined with a logical ‘and.’ */ -export type IdentityToManyClaimFilter = { - /** Aggregates across related `Claim` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `Claim` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `Claim` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `Claim` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `ConfidentialAccount` object types. All fields are combined with a logical ‘and.’ */ -export type IdentityToManyConfidentialAccountFilter = { - /** Aggregates across related `ConfidentialAccount` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `ConfidentialAccount` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `ConfidentialAccount` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `ConfidentialAccount` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `ConfidentialAsset` object types. All fields are combined with a logical ‘and.’ */ -export type IdentityToManyConfidentialAssetFilter = { - /** Aggregates across related `ConfidentialAsset` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `ConfidentialAsset` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `ConfidentialAsset` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `ConfidentialAsset` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `ConfidentialTransactionAffirmation` object types. All fields are combined with a logical ‘and.’ */ -export type IdentityToManyConfidentialTransactionAffirmationFilter = { - /** Aggregates across related `ConfidentialTransactionAffirmation` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `ConfidentialTransactionAffirmation` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `ConfidentialTransactionAffirmation` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `ConfidentialTransactionAffirmation` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `ConfidentialVenue` object types. All fields are combined with a logical ‘and.’ */ -export type IdentityToManyConfidentialVenueFilter = { - /** Aggregates across related `ConfidentialVenue` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `ConfidentialVenue` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `ConfidentialVenue` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `ConfidentialVenue` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `CustomClaimType` object types. All fields are combined with a logical ‘and.’ */ -export type IdentityToManyCustomClaimTypeFilter = { - /** Aggregates across related `CustomClaimType` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `CustomClaimType` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `CustomClaimType` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `CustomClaimType` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `Distribution` object types. All fields are combined with a logical ‘and.’ */ -export type IdentityToManyDistributionFilter = { - /** Aggregates across related `Distribution` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `Distribution` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `Distribution` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `Distribution` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `DistributionPayment` object types. All fields are combined with a logical ‘and.’ */ -export type IdentityToManyDistributionPaymentFilter = { - /** Aggregates across related `DistributionPayment` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `DistributionPayment` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `DistributionPayment` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `DistributionPayment` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `Investment` object types. All fields are combined with a logical ‘and.’ */ -export type IdentityToManyInvestmentFilter = { - /** Aggregates across related `Investment` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `Investment` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `Investment` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `Investment` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `MultiSig` object types. All fields are combined with a logical ‘and.’ */ -export type IdentityToManyMultiSigFilter = { - /** Aggregates across related `MultiSig` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `MultiSig` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `MultiSig` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `MultiSig` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `MultiSigProposal` object types. All fields are combined with a logical ‘and.’ */ -export type IdentityToManyMultiSigProposalFilter = { - /** Aggregates across related `MultiSigProposal` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `MultiSigProposal` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `MultiSigProposal` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `MultiSigProposal` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `NftHolder` object types. All fields are combined with a logical ‘and.’ */ -export type IdentityToManyNftHolderFilter = { - /** Aggregates across related `NftHolder` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `NftHolder` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `NftHolder` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `NftHolder` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `Portfolio` object types. All fields are combined with a logical ‘and.’ */ -export type IdentityToManyPortfolioFilter = { - /** Aggregates across related `Portfolio` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `Portfolio` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `Portfolio` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `Portfolio` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `Proposal` object types. All fields are combined with a logical ‘and.’ */ -export type IdentityToManyProposalFilter = { - /** Aggregates across related `Proposal` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `Proposal` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `Proposal` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `Proposal` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `StakingEvent` object types. All fields are combined with a logical ‘and.’ */ -export type IdentityToManyStakingEventFilter = { - /** Aggregates across related `StakingEvent` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `StakingEvent` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `StakingEvent` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `StakingEvent` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `StatType` object types. All fields are combined with a logical ‘and.’ */ -export type IdentityToManyStatTypeFilter = { - /** Aggregates across related `StatType` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `StatType` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `StatType` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `StatType` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `Sto` object types. All fields are combined with a logical ‘and.’ */ -export type IdentityToManyStoFilter = { - /** Aggregates across related `Sto` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `Sto` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `Sto` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `Sto` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `TickerExternalAgentAction` object types. All fields are combined with a logical ‘and.’ */ -export type IdentityToManyTickerExternalAgentActionFilter = { - /** Aggregates across related `TickerExternalAgentAction` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `TickerExternalAgentAction` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `TickerExternalAgentAction` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `TickerExternalAgentAction` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `TickerExternalAgent` object types. All fields are combined with a logical ‘and.’ */ -export type IdentityToManyTickerExternalAgentFilter = { - /** Aggregates across related `TickerExternalAgent` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `TickerExternalAgent` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `TickerExternalAgent` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `TickerExternalAgent` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `TickerExternalAgentHistory` object types. All fields are combined with a logical ‘and.’ */ -export type IdentityToManyTickerExternalAgentHistoryFilter = { - /** Aggregates across related `TickerExternalAgentHistory` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `TickerExternalAgentHistory` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `TickerExternalAgentHistory` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `TickerExternalAgentHistory` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `TransferCompliance` object types. All fields are combined with a logical ‘and.’ */ -export type IdentityToManyTransferComplianceFilter = { - /** Aggregates across related `TransferCompliance` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `TransferCompliance` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `TransferCompliance` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `TransferCompliance` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `Venue` object types. All fields are combined with a logical ‘and.’ */ -export type IdentityToManyVenueFilter = { - /** Aggregates across related `Venue` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `Venue` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `Venue` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `Venue` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A connection to a list of `Venue` values, with data from `Sto`. */ -export type IdentityVenuesByStoCreatorIdAndVenueIdManyToManyConnection = { - __typename?: 'IdentityVenuesByStoCreatorIdAndVenueIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Venue`, info from the `Sto`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Venue` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Venue` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Venue` values, with data from `Sto`. */ -export type IdentityVenuesByStoCreatorIdAndVenueIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `Venue` edge in the connection, with data from `Sto`. */ -export type IdentityVenuesByStoCreatorIdAndVenueIdManyToManyEdge = { - __typename?: 'IdentityVenuesByStoCreatorIdAndVenueIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Venue` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Sto`. */ - stos: StosConnection; -}; - -/** A `Venue` edge in the connection, with data from `Sto`. */ -export type IdentityVenuesByStoCreatorIdAndVenueIdManyToManyEdgeStosArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a request to exchange Assets between parties. - * - * Before an Instruction is executed all involved parties must sign and submit an affirmation. Once an Instruction is affirmed it will then be attempted to be executed. If any party fails to satisfy any compliance or transfer restriction the Instruction will fail, and no movement of assets will occur. - */ -export type Instruction = Node & { - __typename?: 'Instruction'; - /** Reads and enables pagination through a set of `AssetTransaction`. */ - assetTransactions: AssetTransactionsConnection; - /** Reads and enables pagination through a set of `Asset`. */ - assetsByAssetTransactionInstructionIdAndAssetId: InstructionAssetsByAssetTransactionInstructionIdAndAssetIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByAssetTransactionInstructionIdAndCreatedBlockId: InstructionBlocksByAssetTransactionInstructionIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByAssetTransactionInstructionIdAndUpdatedBlockId: InstructionBlocksByAssetTransactionInstructionIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByLegInstructionIdAndCreatedBlockId: InstructionBlocksByLegInstructionIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByLegInstructionIdAndUpdatedBlockId: InstructionBlocksByLegInstructionIdAndUpdatedBlockIdManyToManyConnection; - createdAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `Instruction`. */ - createdBlock?: Maybe; - createdBlockId: Scalars['String']['output']; - endBlock?: Maybe; - eventId: EventIdEnum; - eventIdx: Scalars['Int']['output']; - id: Scalars['String']['output']; - /** Reads and enables pagination through a set of `Leg`. */ - legs: LegsConnection; - memo?: Maybe; - /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ - nodeId: Scalars['ID']['output']; - /** Reads and enables pagination through a set of `Portfolio`. */ - portfoliosByAssetTransactionInstructionIdAndFromPortfolioId: InstructionPortfoliosByAssetTransactionInstructionIdAndFromPortfolioIdManyToManyConnection; - /** Reads and enables pagination through a set of `Portfolio`. */ - portfoliosByAssetTransactionInstructionIdAndToPortfolioId: InstructionPortfoliosByAssetTransactionInstructionIdAndToPortfolioIdManyToManyConnection; - /** Reads and enables pagination through a set of `Portfolio`. */ - portfoliosByLegInstructionIdAndFromId: InstructionPortfoliosByLegInstructionIdAndFromIdManyToManyConnection; - /** Reads and enables pagination through a set of `Portfolio`. */ - portfoliosByLegInstructionIdAndToId: InstructionPortfoliosByLegInstructionIdAndToIdManyToManyConnection; - settlementType: Scalars['String']['output']; - /** Reads and enables pagination through a set of `Settlement`. */ - settlementsByLegInstructionIdAndSettlementId: InstructionSettlementsByLegInstructionIdAndSettlementIdManyToManyConnection; - status: InstructionStatusEnum; - tradeDate?: Maybe; - updatedAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `Instruction`. */ - updatedBlock?: Maybe; - updatedBlockId: Scalars['String']['output']; - valueDate?: Maybe; - /** Reads a single `Venue` that is related to this `Instruction`. */ - venue?: Maybe; - venueId: Scalars['String']['output']; -}; - -/** - * Represents a request to exchange Assets between parties. - * - * Before an Instruction is executed all involved parties must sign and submit an affirmation. Once an Instruction is affirmed it will then be attempted to be executed. If any party fails to satisfy any compliance or transfer restriction the Instruction will fail, and no movement of assets will occur. - */ -export type InstructionAssetTransactionsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a request to exchange Assets between parties. - * - * Before an Instruction is executed all involved parties must sign and submit an affirmation. Once an Instruction is affirmed it will then be attempted to be executed. If any party fails to satisfy any compliance or transfer restriction the Instruction will fail, and no movement of assets will occur. - */ -export type InstructionAssetsByAssetTransactionInstructionIdAndAssetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a request to exchange Assets between parties. - * - * Before an Instruction is executed all involved parties must sign and submit an affirmation. Once an Instruction is affirmed it will then be attempted to be executed. If any party fails to satisfy any compliance or transfer restriction the Instruction will fail, and no movement of assets will occur. - */ -export type InstructionBlocksByAssetTransactionInstructionIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a request to exchange Assets between parties. - * - * Before an Instruction is executed all involved parties must sign and submit an affirmation. Once an Instruction is affirmed it will then be attempted to be executed. If any party fails to satisfy any compliance or transfer restriction the Instruction will fail, and no movement of assets will occur. - */ -export type InstructionBlocksByAssetTransactionInstructionIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a request to exchange Assets between parties. - * - * Before an Instruction is executed all involved parties must sign and submit an affirmation. Once an Instruction is affirmed it will then be attempted to be executed. If any party fails to satisfy any compliance or transfer restriction the Instruction will fail, and no movement of assets will occur. - */ -export type InstructionBlocksByLegInstructionIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a request to exchange Assets between parties. - * - * Before an Instruction is executed all involved parties must sign and submit an affirmation. Once an Instruction is affirmed it will then be attempted to be executed. If any party fails to satisfy any compliance or transfer restriction the Instruction will fail, and no movement of assets will occur. - */ -export type InstructionBlocksByLegInstructionIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a request to exchange Assets between parties. - * - * Before an Instruction is executed all involved parties must sign and submit an affirmation. Once an Instruction is affirmed it will then be attempted to be executed. If any party fails to satisfy any compliance or transfer restriction the Instruction will fail, and no movement of assets will occur. - */ -export type InstructionLegsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a request to exchange Assets between parties. - * - * Before an Instruction is executed all involved parties must sign and submit an affirmation. Once an Instruction is affirmed it will then be attempted to be executed. If any party fails to satisfy any compliance or transfer restriction the Instruction will fail, and no movement of assets will occur. - */ -export type InstructionPortfoliosByAssetTransactionInstructionIdAndFromPortfolioIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a request to exchange Assets between parties. - * - * Before an Instruction is executed all involved parties must sign and submit an affirmation. Once an Instruction is affirmed it will then be attempted to be executed. If any party fails to satisfy any compliance or transfer restriction the Instruction will fail, and no movement of assets will occur. - */ -export type InstructionPortfoliosByAssetTransactionInstructionIdAndToPortfolioIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a request to exchange Assets between parties. - * - * Before an Instruction is executed all involved parties must sign and submit an affirmation. Once an Instruction is affirmed it will then be attempted to be executed. If any party fails to satisfy any compliance or transfer restriction the Instruction will fail, and no movement of assets will occur. - */ -export type InstructionPortfoliosByLegInstructionIdAndFromIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a request to exchange Assets between parties. - * - * Before an Instruction is executed all involved parties must sign and submit an affirmation. Once an Instruction is affirmed it will then be attempted to be executed. If any party fails to satisfy any compliance or transfer restriction the Instruction will fail, and no movement of assets will occur. - */ -export type InstructionPortfoliosByLegInstructionIdAndToIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a request to exchange Assets between parties. - * - * Before an Instruction is executed all involved parties must sign and submit an affirmation. Once an Instruction is affirmed it will then be attempted to be executed. If any party fails to satisfy any compliance or transfer restriction the Instruction will fail, and no movement of assets will occur. - */ -export type InstructionSettlementsByLegInstructionIdAndSettlementIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -export type InstructionAggregates = { - __typename?: 'InstructionAggregates'; - /** Mean average aggregates across the matching connection (ignoring before/after/first/last/offset) */ - average?: Maybe; - /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ - distinctCount?: Maybe; - keys?: Maybe>; - /** Maximum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - max?: Maybe; - /** Minimum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - min?: Maybe; - /** Population standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevPopulation?: Maybe; - /** Sample standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevSample?: Maybe; - /** Sum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - sum?: Maybe; - /** Population variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - variancePopulation?: Maybe; - /** Sample variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - varianceSample?: Maybe; -}; - -/** A filter to be used against aggregates of `Instruction` object types. */ -export type InstructionAggregatesFilter = { - /** Mean average aggregate over matching `Instruction` objects. */ - average?: InputMaybe; - /** Distinct count aggregate over matching `Instruction` objects. */ - distinctCount?: InputMaybe; - /** A filter that must pass for the relevant `Instruction` object to be included within the aggregate. */ - filter?: InputMaybe; - /** Maximum aggregate over matching `Instruction` objects. */ - max?: InputMaybe; - /** Minimum aggregate over matching `Instruction` objects. */ - min?: InputMaybe; - /** Population standard deviation aggregate over matching `Instruction` objects. */ - stddevPopulation?: InputMaybe; - /** Sample standard deviation aggregate over matching `Instruction` objects. */ - stddevSample?: InputMaybe; - /** Sum aggregate over matching `Instruction` objects. */ - sum?: InputMaybe; - /** Population variance aggregate over matching `Instruction` objects. */ - variancePopulation?: InputMaybe; - /** Sample variance aggregate over matching `Instruction` objects. */ - varianceSample?: InputMaybe; -}; - -/** A connection to a list of `Asset` values, with data from `AssetTransaction`. */ -export type InstructionAssetsByAssetTransactionInstructionIdAndAssetIdManyToManyConnection = { - __typename?: 'InstructionAssetsByAssetTransactionInstructionIdAndAssetIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Asset`, info from the `AssetTransaction`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Asset` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Asset` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Asset` values, with data from `AssetTransaction`. */ -export type InstructionAssetsByAssetTransactionInstructionIdAndAssetIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Asset` edge in the connection, with data from `AssetTransaction`. */ -export type InstructionAssetsByAssetTransactionInstructionIdAndAssetIdManyToManyEdge = { - __typename?: 'InstructionAssetsByAssetTransactionInstructionIdAndAssetIdManyToManyEdge'; - /** Reads and enables pagination through a set of `AssetTransaction`. */ - assetTransactions: AssetTransactionsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Asset` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Asset` edge in the connection, with data from `AssetTransaction`. */ -export type InstructionAssetsByAssetTransactionInstructionIdAndAssetIdManyToManyEdgeAssetTransactionsArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -export type InstructionAverageAggregateFilter = { - endBlock?: InputMaybe; - eventIdx?: InputMaybe; -}; - -export type InstructionAverageAggregates = { - __typename?: 'InstructionAverageAggregates'; - /** Mean average of endBlock across the matching connection */ - endBlock?: Maybe; - /** Mean average of eventIdx across the matching connection */ - eventIdx?: Maybe; -}; - -/** A connection to a list of `Block` values, with data from `AssetTransaction`. */ -export type InstructionBlocksByAssetTransactionInstructionIdAndCreatedBlockIdManyToManyConnection = - { - __typename?: 'InstructionBlocksByAssetTransactionInstructionIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `AssetTransaction`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Block` values, with data from `AssetTransaction`. */ -export type InstructionBlocksByAssetTransactionInstructionIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `AssetTransaction`. */ -export type InstructionBlocksByAssetTransactionInstructionIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'InstructionBlocksByAssetTransactionInstructionIdAndCreatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `AssetTransaction`. */ - assetTransactionsByCreatedBlockId: AssetTransactionsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `AssetTransaction`. */ -export type InstructionBlocksByAssetTransactionInstructionIdAndCreatedBlockIdManyToManyEdgeAssetTransactionsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `AssetTransaction`. */ -export type InstructionBlocksByAssetTransactionInstructionIdAndUpdatedBlockIdManyToManyConnection = - { - __typename?: 'InstructionBlocksByAssetTransactionInstructionIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `AssetTransaction`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Block` values, with data from `AssetTransaction`. */ -export type InstructionBlocksByAssetTransactionInstructionIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `AssetTransaction`. */ -export type InstructionBlocksByAssetTransactionInstructionIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'InstructionBlocksByAssetTransactionInstructionIdAndUpdatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `AssetTransaction`. */ - assetTransactionsByUpdatedBlockId: AssetTransactionsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `AssetTransaction`. */ -export type InstructionBlocksByAssetTransactionInstructionIdAndUpdatedBlockIdManyToManyEdgeAssetTransactionsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Leg`. */ -export type InstructionBlocksByLegInstructionIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'InstructionBlocksByLegInstructionIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Leg`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Leg`. */ -export type InstructionBlocksByLegInstructionIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Leg`. */ -export type InstructionBlocksByLegInstructionIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'InstructionBlocksByLegInstructionIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `Leg`. */ - legsByCreatedBlockId: LegsConnection; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `Leg`. */ -export type InstructionBlocksByLegInstructionIdAndCreatedBlockIdManyToManyEdgeLegsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Leg`. */ -export type InstructionBlocksByLegInstructionIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'InstructionBlocksByLegInstructionIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Leg`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Leg`. */ -export type InstructionBlocksByLegInstructionIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Leg`. */ -export type InstructionBlocksByLegInstructionIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'InstructionBlocksByLegInstructionIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `Leg`. */ - legsByUpdatedBlockId: LegsConnection; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `Leg`. */ -export type InstructionBlocksByLegInstructionIdAndUpdatedBlockIdManyToManyEdgeLegsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -export type InstructionDistinctCountAggregateFilter = { - createdAt?: InputMaybe; - createdBlockId?: InputMaybe; - endBlock?: InputMaybe; - eventId?: InputMaybe; - eventIdx?: InputMaybe; - id?: InputMaybe; - memo?: InputMaybe; - settlementType?: InputMaybe; - status?: InputMaybe; - tradeDate?: InputMaybe; - updatedAt?: InputMaybe; - updatedBlockId?: InputMaybe; - valueDate?: InputMaybe; - venueId?: InputMaybe; -}; - -export type InstructionDistinctCountAggregates = { - __typename?: 'InstructionDistinctCountAggregates'; - /** Distinct count of createdAt across the matching connection */ - createdAt?: Maybe; - /** Distinct count of createdBlockId across the matching connection */ - createdBlockId?: Maybe; - /** Distinct count of endBlock across the matching connection */ - endBlock?: Maybe; - /** Distinct count of eventId across the matching connection */ - eventId?: Maybe; - /** Distinct count of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Distinct count of id across the matching connection */ - id?: Maybe; - /** Distinct count of memo across the matching connection */ - memo?: Maybe; - /** Distinct count of settlementType across the matching connection */ - settlementType?: Maybe; - /** Distinct count of status across the matching connection */ - status?: Maybe; - /** Distinct count of tradeDate across the matching connection */ - tradeDate?: Maybe; - /** Distinct count of updatedAt across the matching connection */ - updatedAt?: Maybe; - /** Distinct count of updatedBlockId across the matching connection */ - updatedBlockId?: Maybe; - /** Distinct count of valueDate across the matching connection */ - valueDate?: Maybe; - /** Distinct count of venueId across the matching connection */ - venueId?: Maybe; -}; - -/** A filter to be used against `Instruction` object types. All fields are combined with a logical ‘and.’ */ -export type InstructionFilter = { - /** Checks for all expressions in this list. */ - and?: InputMaybe>; - /** Filter by the object’s `assetTransactions` relation. */ - assetTransactions?: InputMaybe; - /** Some related `assetTransactions` exist. */ - assetTransactionsExist?: InputMaybe; - /** Filter by the object’s `createdAt` field. */ - createdAt?: InputMaybe; - /** Filter by the object’s `createdBlock` relation. */ - createdBlock?: InputMaybe; - /** Filter by the object’s `createdBlockId` field. */ - createdBlockId?: InputMaybe; - /** Filter by the object’s `endBlock` field. */ - endBlock?: InputMaybe; - /** Filter by the object’s `eventId` field. */ - eventId?: InputMaybe; - /** Filter by the object’s `eventIdx` field. */ - eventIdx?: InputMaybe; - /** Filter by the object’s `id` field. */ - id?: InputMaybe; - /** Filter by the object’s `legs` relation. */ - legs?: InputMaybe; - /** Some related `legs` exist. */ - legsExist?: InputMaybe; - /** Filter by the object’s `memo` field. */ - memo?: InputMaybe; - /** Negates the expression. */ - not?: InputMaybe; - /** Checks for any expressions in this list. */ - or?: InputMaybe>; - /** Filter by the object’s `settlementType` field. */ - settlementType?: InputMaybe; - /** Filter by the object’s `status` field. */ - status?: InputMaybe; - /** Filter by the object’s `tradeDate` field. */ - tradeDate?: InputMaybe; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: InputMaybe; - /** Filter by the object’s `updatedBlock` relation. */ - updatedBlock?: InputMaybe; - /** Filter by the object’s `updatedBlockId` field. */ - updatedBlockId?: InputMaybe; - /** Filter by the object’s `valueDate` field. */ - valueDate?: InputMaybe; - /** Filter by the object’s `venue` relation. */ - venue?: InputMaybe; - /** Filter by the object’s `venueId` field. */ - venueId?: InputMaybe; -}; - -export type InstructionMaxAggregateFilter = { - endBlock?: InputMaybe; - eventIdx?: InputMaybe; -}; - -export type InstructionMaxAggregates = { - __typename?: 'InstructionMaxAggregates'; - /** Maximum of endBlock across the matching connection */ - endBlock?: Maybe; - /** Maximum of eventIdx across the matching connection */ - eventIdx?: Maybe; -}; - -export type InstructionMinAggregateFilter = { - endBlock?: InputMaybe; - eventIdx?: InputMaybe; -}; - -export type InstructionMinAggregates = { - __typename?: 'InstructionMinAggregates'; - /** Minimum of endBlock across the matching connection */ - endBlock?: Maybe; - /** Minimum of eventIdx across the matching connection */ - eventIdx?: Maybe; -}; - -/** A connection to a list of `Portfolio` values, with data from `AssetTransaction`. */ -export type InstructionPortfoliosByAssetTransactionInstructionIdAndFromPortfolioIdManyToManyConnection = - { - __typename?: 'InstructionPortfoliosByAssetTransactionInstructionIdAndFromPortfolioIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Portfolio`, info from the `AssetTransaction`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Portfolio` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Portfolio` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Portfolio` values, with data from `AssetTransaction`. */ -export type InstructionPortfoliosByAssetTransactionInstructionIdAndFromPortfolioIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Portfolio` edge in the connection, with data from `AssetTransaction`. */ -export type InstructionPortfoliosByAssetTransactionInstructionIdAndFromPortfolioIdManyToManyEdge = { - __typename?: 'InstructionPortfoliosByAssetTransactionInstructionIdAndFromPortfolioIdManyToManyEdge'; - /** Reads and enables pagination through a set of `AssetTransaction`. */ - assetTransactionsByFromPortfolioId: AssetTransactionsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Portfolio` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Portfolio` edge in the connection, with data from `AssetTransaction`. */ -export type InstructionPortfoliosByAssetTransactionInstructionIdAndFromPortfolioIdManyToManyEdgeAssetTransactionsByFromPortfolioIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Portfolio` values, with data from `AssetTransaction`. */ -export type InstructionPortfoliosByAssetTransactionInstructionIdAndToPortfolioIdManyToManyConnection = - { - __typename?: 'InstructionPortfoliosByAssetTransactionInstructionIdAndToPortfolioIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Portfolio`, info from the `AssetTransaction`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Portfolio` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Portfolio` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Portfolio` values, with data from `AssetTransaction`. */ -export type InstructionPortfoliosByAssetTransactionInstructionIdAndToPortfolioIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Portfolio` edge in the connection, with data from `AssetTransaction`. */ -export type InstructionPortfoliosByAssetTransactionInstructionIdAndToPortfolioIdManyToManyEdge = { - __typename?: 'InstructionPortfoliosByAssetTransactionInstructionIdAndToPortfolioIdManyToManyEdge'; - /** Reads and enables pagination through a set of `AssetTransaction`. */ - assetTransactionsByToPortfolioId: AssetTransactionsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Portfolio` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Portfolio` edge in the connection, with data from `AssetTransaction`. */ -export type InstructionPortfoliosByAssetTransactionInstructionIdAndToPortfolioIdManyToManyEdgeAssetTransactionsByToPortfolioIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Portfolio` values, with data from `Leg`. */ -export type InstructionPortfoliosByLegInstructionIdAndFromIdManyToManyConnection = { - __typename?: 'InstructionPortfoliosByLegInstructionIdAndFromIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Portfolio`, info from the `Leg`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Portfolio` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Portfolio` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Portfolio` values, with data from `Leg`. */ -export type InstructionPortfoliosByLegInstructionIdAndFromIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Portfolio` edge in the connection, with data from `Leg`. */ -export type InstructionPortfoliosByLegInstructionIdAndFromIdManyToManyEdge = { - __typename?: 'InstructionPortfoliosByLegInstructionIdAndFromIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `Leg`. */ - legsByFromId: LegsConnection; - /** The `Portfolio` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Portfolio` edge in the connection, with data from `Leg`. */ -export type InstructionPortfoliosByLegInstructionIdAndFromIdManyToManyEdgeLegsByFromIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Portfolio` values, with data from `Leg`. */ -export type InstructionPortfoliosByLegInstructionIdAndToIdManyToManyConnection = { - __typename?: 'InstructionPortfoliosByLegInstructionIdAndToIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Portfolio`, info from the `Leg`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Portfolio` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Portfolio` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Portfolio` values, with data from `Leg`. */ -export type InstructionPortfoliosByLegInstructionIdAndToIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Portfolio` edge in the connection, with data from `Leg`. */ -export type InstructionPortfoliosByLegInstructionIdAndToIdManyToManyEdge = { - __typename?: 'InstructionPortfoliosByLegInstructionIdAndToIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `Leg`. */ - legsByToId: LegsConnection; - /** The `Portfolio` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Portfolio` edge in the connection, with data from `Leg`. */ -export type InstructionPortfoliosByLegInstructionIdAndToIdManyToManyEdgeLegsByToIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Settlement` values, with data from `Leg`. */ -export type InstructionSettlementsByLegInstructionIdAndSettlementIdManyToManyConnection = { - __typename?: 'InstructionSettlementsByLegInstructionIdAndSettlementIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Settlement`, info from the `Leg`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Settlement` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Settlement` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Settlement` values, with data from `Leg`. */ -export type InstructionSettlementsByLegInstructionIdAndSettlementIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Settlement` edge in the connection, with data from `Leg`. */ -export type InstructionSettlementsByLegInstructionIdAndSettlementIdManyToManyEdge = { - __typename?: 'InstructionSettlementsByLegInstructionIdAndSettlementIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `Leg`. */ - legs: LegsConnection; - /** The `Settlement` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Settlement` edge in the connection, with data from `Leg`. */ -export type InstructionSettlementsByLegInstructionIdAndSettlementIdManyToManyEdgeLegsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents all possible states of an Instruction */ -export enum InstructionStatusEnum { - Created = 'Created', - Executed = 'Executed', - Failed = 'Failed', - Rejected = 'Rejected', -} - -/** A filter to be used against InstructionStatusEnum fields. All fields are combined with a logical ‘and.’ */ -export type InstructionStatusEnumFilter = { - /** Not equal to the specified value, treating null like an ordinary value. */ - distinctFrom?: InputMaybe; - /** Equal to the specified value. */ - equalTo?: InputMaybe; - /** Greater than the specified value. */ - greaterThan?: InputMaybe; - /** Greater than or equal to the specified value. */ - greaterThanOrEqualTo?: InputMaybe; - /** Included in the specified list. */ - in?: InputMaybe>; - /** Is null (if `true` is specified) or is not null (if `false` is specified). */ - isNull?: InputMaybe; - /** Less than the specified value. */ - lessThan?: InputMaybe; - /** Less than or equal to the specified value. */ - lessThanOrEqualTo?: InputMaybe; - /** Equal to the specified value, treating null like an ordinary value. */ - notDistinctFrom?: InputMaybe; - /** Not equal to the specified value. */ - notEqualTo?: InputMaybe; - /** Not included in the specified list. */ - notIn?: InputMaybe>; -}; - -export type InstructionStddevPopulationAggregateFilter = { - endBlock?: InputMaybe; - eventIdx?: InputMaybe; -}; - -export type InstructionStddevPopulationAggregates = { - __typename?: 'InstructionStddevPopulationAggregates'; - /** Population standard deviation of endBlock across the matching connection */ - endBlock?: Maybe; - /** Population standard deviation of eventIdx across the matching connection */ - eventIdx?: Maybe; -}; - -export type InstructionStddevSampleAggregateFilter = { - endBlock?: InputMaybe; - eventIdx?: InputMaybe; -}; - -export type InstructionStddevSampleAggregates = { - __typename?: 'InstructionStddevSampleAggregates'; - /** Sample standard deviation of endBlock across the matching connection */ - endBlock?: Maybe; - /** Sample standard deviation of eventIdx across the matching connection */ - eventIdx?: Maybe; -}; - -export type InstructionSumAggregateFilter = { - endBlock?: InputMaybe; - eventIdx?: InputMaybe; -}; - -export type InstructionSumAggregates = { - __typename?: 'InstructionSumAggregates'; - /** Sum of endBlock across the matching connection */ - endBlock: Scalars['BigInt']['output']; - /** Sum of eventIdx across the matching connection */ - eventIdx: Scalars['BigInt']['output']; -}; - -/** A filter to be used against many `AssetTransaction` object types. All fields are combined with a logical ‘and.’ */ -export type InstructionToManyAssetTransactionFilter = { - /** Aggregates across related `AssetTransaction` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `AssetTransaction` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `AssetTransaction` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `AssetTransaction` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `Leg` object types. All fields are combined with a logical ‘and.’ */ -export type InstructionToManyLegFilter = { - /** Aggregates across related `Leg` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `Leg` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `Leg` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `Leg` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -export type InstructionVariancePopulationAggregateFilter = { - endBlock?: InputMaybe; - eventIdx?: InputMaybe; -}; - -export type InstructionVariancePopulationAggregates = { - __typename?: 'InstructionVariancePopulationAggregates'; - /** Population variance of endBlock across the matching connection */ - endBlock?: Maybe; - /** Population variance of eventIdx across the matching connection */ - eventIdx?: Maybe; -}; - -export type InstructionVarianceSampleAggregateFilter = { - endBlock?: InputMaybe; - eventIdx?: InputMaybe; -}; - -export type InstructionVarianceSampleAggregates = { - __typename?: 'InstructionVarianceSampleAggregates'; - /** Sample variance of endBlock across the matching connection */ - endBlock?: Maybe; - /** Sample variance of eventIdx across the matching connection */ - eventIdx?: Maybe; -}; - -/** A connection to a list of `Instruction` values. */ -export type InstructionsConnection = { - __typename?: 'InstructionsConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Instruction` and cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Instruction` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Instruction` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Instruction` values. */ -export type InstructionsConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `Instruction` edge in the connection. */ -export type InstructionsEdge = { - __typename?: 'InstructionsEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Instruction` at the end of the edge. */ - node?: Maybe; -}; - -/** Grouping methods for `Instruction` for usage during aggregation. */ -export enum InstructionsGroupBy { - CreatedAt = 'CREATED_AT', - CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', - CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', - CreatedBlockId = 'CREATED_BLOCK_ID', - EndBlock = 'END_BLOCK', - EventId = 'EVENT_ID', - EventIdx = 'EVENT_IDX', - Memo = 'MEMO', - SettlementType = 'SETTLEMENT_TYPE', - Status = 'STATUS', - TradeDate = 'TRADE_DATE', - TradeDateTruncatedToDay = 'TRADE_DATE_TRUNCATED_TO_DAY', - TradeDateTruncatedToHour = 'TRADE_DATE_TRUNCATED_TO_HOUR', - UpdatedAt = 'UPDATED_AT', - UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', - UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', - UpdatedBlockId = 'UPDATED_BLOCK_ID', - ValueDate = 'VALUE_DATE', - ValueDateTruncatedToDay = 'VALUE_DATE_TRUNCATED_TO_DAY', - ValueDateTruncatedToHour = 'VALUE_DATE_TRUNCATED_TO_HOUR', - VenueId = 'VENUE_ID', -} - -export type InstructionsHavingAverageInput = { - createdAt?: InputMaybe; - endBlock?: InputMaybe; - eventIdx?: InputMaybe; - tradeDate?: InputMaybe; - updatedAt?: InputMaybe; - valueDate?: InputMaybe; -}; - -export type InstructionsHavingDistinctCountInput = { - createdAt?: InputMaybe; - endBlock?: InputMaybe; - eventIdx?: InputMaybe; - tradeDate?: InputMaybe; - updatedAt?: InputMaybe; - valueDate?: InputMaybe; -}; - -/** Conditions for `Instruction` aggregates. */ -export type InstructionsHavingInput = { - AND?: InputMaybe>; - OR?: InputMaybe>; - average?: InputMaybe; - distinctCount?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddevPopulation?: InputMaybe; - stddevSample?: InputMaybe; - sum?: InputMaybe; - variancePopulation?: InputMaybe; - varianceSample?: InputMaybe; -}; - -export type InstructionsHavingMaxInput = { - createdAt?: InputMaybe; - endBlock?: InputMaybe; - eventIdx?: InputMaybe; - tradeDate?: InputMaybe; - updatedAt?: InputMaybe; - valueDate?: InputMaybe; -}; - -export type InstructionsHavingMinInput = { - createdAt?: InputMaybe; - endBlock?: InputMaybe; - eventIdx?: InputMaybe; - tradeDate?: InputMaybe; - updatedAt?: InputMaybe; - valueDate?: InputMaybe; -}; - -export type InstructionsHavingStddevPopulationInput = { - createdAt?: InputMaybe; - endBlock?: InputMaybe; - eventIdx?: InputMaybe; - tradeDate?: InputMaybe; - updatedAt?: InputMaybe; - valueDate?: InputMaybe; -}; - -export type InstructionsHavingStddevSampleInput = { - createdAt?: InputMaybe; - endBlock?: InputMaybe; - eventIdx?: InputMaybe; - tradeDate?: InputMaybe; - updatedAt?: InputMaybe; - valueDate?: InputMaybe; -}; - -export type InstructionsHavingSumInput = { - createdAt?: InputMaybe; - endBlock?: InputMaybe; - eventIdx?: InputMaybe; - tradeDate?: InputMaybe; - updatedAt?: InputMaybe; - valueDate?: InputMaybe; -}; - -export type InstructionsHavingVariancePopulationInput = { - createdAt?: InputMaybe; - endBlock?: InputMaybe; - eventIdx?: InputMaybe; - tradeDate?: InputMaybe; - updatedAt?: InputMaybe; - valueDate?: InputMaybe; -}; - -export type InstructionsHavingVarianceSampleInput = { - createdAt?: InputMaybe; - endBlock?: InputMaybe; - eventIdx?: InputMaybe; - tradeDate?: InputMaybe; - updatedAt?: InputMaybe; - valueDate?: InputMaybe; -}; - -/** Methods to use when ordering `Instruction`. */ -export enum InstructionsOrderBy { - AssetTransactionsAverageAmountAsc = 'ASSET_TRANSACTIONS_AVERAGE_AMOUNT_ASC', - AssetTransactionsAverageAmountDesc = 'ASSET_TRANSACTIONS_AVERAGE_AMOUNT_DESC', - AssetTransactionsAverageAssetIdAsc = 'ASSET_TRANSACTIONS_AVERAGE_ASSET_ID_ASC', - AssetTransactionsAverageAssetIdDesc = 'ASSET_TRANSACTIONS_AVERAGE_ASSET_ID_DESC', - AssetTransactionsAverageCreatedAtAsc = 'ASSET_TRANSACTIONS_AVERAGE_CREATED_AT_ASC', - AssetTransactionsAverageCreatedAtDesc = 'ASSET_TRANSACTIONS_AVERAGE_CREATED_AT_DESC', - AssetTransactionsAverageCreatedBlockIdAsc = 'ASSET_TRANSACTIONS_AVERAGE_CREATED_BLOCK_ID_ASC', - AssetTransactionsAverageCreatedBlockIdDesc = 'ASSET_TRANSACTIONS_AVERAGE_CREATED_BLOCK_ID_DESC', - AssetTransactionsAverageDatetimeAsc = 'ASSET_TRANSACTIONS_AVERAGE_DATETIME_ASC', - AssetTransactionsAverageDatetimeDesc = 'ASSET_TRANSACTIONS_AVERAGE_DATETIME_DESC', - AssetTransactionsAverageEventIdxAsc = 'ASSET_TRANSACTIONS_AVERAGE_EVENT_IDX_ASC', - AssetTransactionsAverageEventIdxDesc = 'ASSET_TRANSACTIONS_AVERAGE_EVENT_IDX_DESC', - AssetTransactionsAverageEventIdAsc = 'ASSET_TRANSACTIONS_AVERAGE_EVENT_ID_ASC', - AssetTransactionsAverageEventIdDesc = 'ASSET_TRANSACTIONS_AVERAGE_EVENT_ID_DESC', - AssetTransactionsAverageExtrinsicIdxAsc = 'ASSET_TRANSACTIONS_AVERAGE_EXTRINSIC_IDX_ASC', - AssetTransactionsAverageExtrinsicIdxDesc = 'ASSET_TRANSACTIONS_AVERAGE_EXTRINSIC_IDX_DESC', - AssetTransactionsAverageFromPortfolioIdAsc = 'ASSET_TRANSACTIONS_AVERAGE_FROM_PORTFOLIO_ID_ASC', - AssetTransactionsAverageFromPortfolioIdDesc = 'ASSET_TRANSACTIONS_AVERAGE_FROM_PORTFOLIO_ID_DESC', - AssetTransactionsAverageFundingRoundAsc = 'ASSET_TRANSACTIONS_AVERAGE_FUNDING_ROUND_ASC', - AssetTransactionsAverageFundingRoundDesc = 'ASSET_TRANSACTIONS_AVERAGE_FUNDING_ROUND_DESC', - AssetTransactionsAverageIdAsc = 'ASSET_TRANSACTIONS_AVERAGE_ID_ASC', - AssetTransactionsAverageIdDesc = 'ASSET_TRANSACTIONS_AVERAGE_ID_DESC', - AssetTransactionsAverageInstructionIdAsc = 'ASSET_TRANSACTIONS_AVERAGE_INSTRUCTION_ID_ASC', - AssetTransactionsAverageInstructionIdDesc = 'ASSET_TRANSACTIONS_AVERAGE_INSTRUCTION_ID_DESC', - AssetTransactionsAverageInstructionMemoAsc = 'ASSET_TRANSACTIONS_AVERAGE_INSTRUCTION_MEMO_ASC', - AssetTransactionsAverageInstructionMemoDesc = 'ASSET_TRANSACTIONS_AVERAGE_INSTRUCTION_MEMO_DESC', - AssetTransactionsAverageNftIdsAsc = 'ASSET_TRANSACTIONS_AVERAGE_NFT_IDS_ASC', - AssetTransactionsAverageNftIdsDesc = 'ASSET_TRANSACTIONS_AVERAGE_NFT_IDS_DESC', - AssetTransactionsAverageToPortfolioIdAsc = 'ASSET_TRANSACTIONS_AVERAGE_TO_PORTFOLIO_ID_ASC', - AssetTransactionsAverageToPortfolioIdDesc = 'ASSET_TRANSACTIONS_AVERAGE_TO_PORTFOLIO_ID_DESC', - AssetTransactionsAverageUpdatedAtAsc = 'ASSET_TRANSACTIONS_AVERAGE_UPDATED_AT_ASC', - AssetTransactionsAverageUpdatedAtDesc = 'ASSET_TRANSACTIONS_AVERAGE_UPDATED_AT_DESC', - AssetTransactionsAverageUpdatedBlockIdAsc = 'ASSET_TRANSACTIONS_AVERAGE_UPDATED_BLOCK_ID_ASC', - AssetTransactionsAverageUpdatedBlockIdDesc = 'ASSET_TRANSACTIONS_AVERAGE_UPDATED_BLOCK_ID_DESC', - AssetTransactionsCountAsc = 'ASSET_TRANSACTIONS_COUNT_ASC', - AssetTransactionsCountDesc = 'ASSET_TRANSACTIONS_COUNT_DESC', - AssetTransactionsDistinctCountAmountAsc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_AMOUNT_ASC', - AssetTransactionsDistinctCountAmountDesc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_AMOUNT_DESC', - AssetTransactionsDistinctCountAssetIdAsc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_ASSET_ID_ASC', - AssetTransactionsDistinctCountAssetIdDesc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_ASSET_ID_DESC', - AssetTransactionsDistinctCountCreatedAtAsc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_CREATED_AT_ASC', - AssetTransactionsDistinctCountCreatedAtDesc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_CREATED_AT_DESC', - AssetTransactionsDistinctCountCreatedBlockIdAsc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - AssetTransactionsDistinctCountCreatedBlockIdDesc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - AssetTransactionsDistinctCountDatetimeAsc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_DATETIME_ASC', - AssetTransactionsDistinctCountDatetimeDesc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_DATETIME_DESC', - AssetTransactionsDistinctCountEventIdxAsc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_EVENT_IDX_ASC', - AssetTransactionsDistinctCountEventIdxDesc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_EVENT_IDX_DESC', - AssetTransactionsDistinctCountEventIdAsc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_EVENT_ID_ASC', - AssetTransactionsDistinctCountEventIdDesc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_EVENT_ID_DESC', - AssetTransactionsDistinctCountExtrinsicIdxAsc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_EXTRINSIC_IDX_ASC', - AssetTransactionsDistinctCountExtrinsicIdxDesc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_EXTRINSIC_IDX_DESC', - AssetTransactionsDistinctCountFromPortfolioIdAsc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_FROM_PORTFOLIO_ID_ASC', - AssetTransactionsDistinctCountFromPortfolioIdDesc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_FROM_PORTFOLIO_ID_DESC', - AssetTransactionsDistinctCountFundingRoundAsc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_FUNDING_ROUND_ASC', - AssetTransactionsDistinctCountFundingRoundDesc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_FUNDING_ROUND_DESC', - AssetTransactionsDistinctCountIdAsc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_ID_ASC', - AssetTransactionsDistinctCountIdDesc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_ID_DESC', - AssetTransactionsDistinctCountInstructionIdAsc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_INSTRUCTION_ID_ASC', - AssetTransactionsDistinctCountInstructionIdDesc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_INSTRUCTION_ID_DESC', - AssetTransactionsDistinctCountInstructionMemoAsc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_INSTRUCTION_MEMO_ASC', - AssetTransactionsDistinctCountInstructionMemoDesc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_INSTRUCTION_MEMO_DESC', - AssetTransactionsDistinctCountNftIdsAsc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_NFT_IDS_ASC', - AssetTransactionsDistinctCountNftIdsDesc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_NFT_IDS_DESC', - AssetTransactionsDistinctCountToPortfolioIdAsc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_TO_PORTFOLIO_ID_ASC', - AssetTransactionsDistinctCountToPortfolioIdDesc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_TO_PORTFOLIO_ID_DESC', - AssetTransactionsDistinctCountUpdatedAtAsc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_UPDATED_AT_ASC', - AssetTransactionsDistinctCountUpdatedAtDesc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_UPDATED_AT_DESC', - AssetTransactionsDistinctCountUpdatedBlockIdAsc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - AssetTransactionsDistinctCountUpdatedBlockIdDesc = 'ASSET_TRANSACTIONS_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - AssetTransactionsMaxAmountAsc = 'ASSET_TRANSACTIONS_MAX_AMOUNT_ASC', - AssetTransactionsMaxAmountDesc = 'ASSET_TRANSACTIONS_MAX_AMOUNT_DESC', - AssetTransactionsMaxAssetIdAsc = 'ASSET_TRANSACTIONS_MAX_ASSET_ID_ASC', - AssetTransactionsMaxAssetIdDesc = 'ASSET_TRANSACTIONS_MAX_ASSET_ID_DESC', - AssetTransactionsMaxCreatedAtAsc = 'ASSET_TRANSACTIONS_MAX_CREATED_AT_ASC', - AssetTransactionsMaxCreatedAtDesc = 'ASSET_TRANSACTIONS_MAX_CREATED_AT_DESC', - AssetTransactionsMaxCreatedBlockIdAsc = 'ASSET_TRANSACTIONS_MAX_CREATED_BLOCK_ID_ASC', - AssetTransactionsMaxCreatedBlockIdDesc = 'ASSET_TRANSACTIONS_MAX_CREATED_BLOCK_ID_DESC', - AssetTransactionsMaxDatetimeAsc = 'ASSET_TRANSACTIONS_MAX_DATETIME_ASC', - AssetTransactionsMaxDatetimeDesc = 'ASSET_TRANSACTIONS_MAX_DATETIME_DESC', - AssetTransactionsMaxEventIdxAsc = 'ASSET_TRANSACTIONS_MAX_EVENT_IDX_ASC', - AssetTransactionsMaxEventIdxDesc = 'ASSET_TRANSACTIONS_MAX_EVENT_IDX_DESC', - AssetTransactionsMaxEventIdAsc = 'ASSET_TRANSACTIONS_MAX_EVENT_ID_ASC', - AssetTransactionsMaxEventIdDesc = 'ASSET_TRANSACTIONS_MAX_EVENT_ID_DESC', - AssetTransactionsMaxExtrinsicIdxAsc = 'ASSET_TRANSACTIONS_MAX_EXTRINSIC_IDX_ASC', - AssetTransactionsMaxExtrinsicIdxDesc = 'ASSET_TRANSACTIONS_MAX_EXTRINSIC_IDX_DESC', - AssetTransactionsMaxFromPortfolioIdAsc = 'ASSET_TRANSACTIONS_MAX_FROM_PORTFOLIO_ID_ASC', - AssetTransactionsMaxFromPortfolioIdDesc = 'ASSET_TRANSACTIONS_MAX_FROM_PORTFOLIO_ID_DESC', - AssetTransactionsMaxFundingRoundAsc = 'ASSET_TRANSACTIONS_MAX_FUNDING_ROUND_ASC', - AssetTransactionsMaxFundingRoundDesc = 'ASSET_TRANSACTIONS_MAX_FUNDING_ROUND_DESC', - AssetTransactionsMaxIdAsc = 'ASSET_TRANSACTIONS_MAX_ID_ASC', - AssetTransactionsMaxIdDesc = 'ASSET_TRANSACTIONS_MAX_ID_DESC', - AssetTransactionsMaxInstructionIdAsc = 'ASSET_TRANSACTIONS_MAX_INSTRUCTION_ID_ASC', - AssetTransactionsMaxInstructionIdDesc = 'ASSET_TRANSACTIONS_MAX_INSTRUCTION_ID_DESC', - AssetTransactionsMaxInstructionMemoAsc = 'ASSET_TRANSACTIONS_MAX_INSTRUCTION_MEMO_ASC', - AssetTransactionsMaxInstructionMemoDesc = 'ASSET_TRANSACTIONS_MAX_INSTRUCTION_MEMO_DESC', - AssetTransactionsMaxNftIdsAsc = 'ASSET_TRANSACTIONS_MAX_NFT_IDS_ASC', - AssetTransactionsMaxNftIdsDesc = 'ASSET_TRANSACTIONS_MAX_NFT_IDS_DESC', - AssetTransactionsMaxToPortfolioIdAsc = 'ASSET_TRANSACTIONS_MAX_TO_PORTFOLIO_ID_ASC', - AssetTransactionsMaxToPortfolioIdDesc = 'ASSET_TRANSACTIONS_MAX_TO_PORTFOLIO_ID_DESC', - AssetTransactionsMaxUpdatedAtAsc = 'ASSET_TRANSACTIONS_MAX_UPDATED_AT_ASC', - AssetTransactionsMaxUpdatedAtDesc = 'ASSET_TRANSACTIONS_MAX_UPDATED_AT_DESC', - AssetTransactionsMaxUpdatedBlockIdAsc = 'ASSET_TRANSACTIONS_MAX_UPDATED_BLOCK_ID_ASC', - AssetTransactionsMaxUpdatedBlockIdDesc = 'ASSET_TRANSACTIONS_MAX_UPDATED_BLOCK_ID_DESC', - AssetTransactionsMinAmountAsc = 'ASSET_TRANSACTIONS_MIN_AMOUNT_ASC', - AssetTransactionsMinAmountDesc = 'ASSET_TRANSACTIONS_MIN_AMOUNT_DESC', - AssetTransactionsMinAssetIdAsc = 'ASSET_TRANSACTIONS_MIN_ASSET_ID_ASC', - AssetTransactionsMinAssetIdDesc = 'ASSET_TRANSACTIONS_MIN_ASSET_ID_DESC', - AssetTransactionsMinCreatedAtAsc = 'ASSET_TRANSACTIONS_MIN_CREATED_AT_ASC', - AssetTransactionsMinCreatedAtDesc = 'ASSET_TRANSACTIONS_MIN_CREATED_AT_DESC', - AssetTransactionsMinCreatedBlockIdAsc = 'ASSET_TRANSACTIONS_MIN_CREATED_BLOCK_ID_ASC', - AssetTransactionsMinCreatedBlockIdDesc = 'ASSET_TRANSACTIONS_MIN_CREATED_BLOCK_ID_DESC', - AssetTransactionsMinDatetimeAsc = 'ASSET_TRANSACTIONS_MIN_DATETIME_ASC', - AssetTransactionsMinDatetimeDesc = 'ASSET_TRANSACTIONS_MIN_DATETIME_DESC', - AssetTransactionsMinEventIdxAsc = 'ASSET_TRANSACTIONS_MIN_EVENT_IDX_ASC', - AssetTransactionsMinEventIdxDesc = 'ASSET_TRANSACTIONS_MIN_EVENT_IDX_DESC', - AssetTransactionsMinEventIdAsc = 'ASSET_TRANSACTIONS_MIN_EVENT_ID_ASC', - AssetTransactionsMinEventIdDesc = 'ASSET_TRANSACTIONS_MIN_EVENT_ID_DESC', - AssetTransactionsMinExtrinsicIdxAsc = 'ASSET_TRANSACTIONS_MIN_EXTRINSIC_IDX_ASC', - AssetTransactionsMinExtrinsicIdxDesc = 'ASSET_TRANSACTIONS_MIN_EXTRINSIC_IDX_DESC', - AssetTransactionsMinFromPortfolioIdAsc = 'ASSET_TRANSACTIONS_MIN_FROM_PORTFOLIO_ID_ASC', - AssetTransactionsMinFromPortfolioIdDesc = 'ASSET_TRANSACTIONS_MIN_FROM_PORTFOLIO_ID_DESC', - AssetTransactionsMinFundingRoundAsc = 'ASSET_TRANSACTIONS_MIN_FUNDING_ROUND_ASC', - AssetTransactionsMinFundingRoundDesc = 'ASSET_TRANSACTIONS_MIN_FUNDING_ROUND_DESC', - AssetTransactionsMinIdAsc = 'ASSET_TRANSACTIONS_MIN_ID_ASC', - AssetTransactionsMinIdDesc = 'ASSET_TRANSACTIONS_MIN_ID_DESC', - AssetTransactionsMinInstructionIdAsc = 'ASSET_TRANSACTIONS_MIN_INSTRUCTION_ID_ASC', - AssetTransactionsMinInstructionIdDesc = 'ASSET_TRANSACTIONS_MIN_INSTRUCTION_ID_DESC', - AssetTransactionsMinInstructionMemoAsc = 'ASSET_TRANSACTIONS_MIN_INSTRUCTION_MEMO_ASC', - AssetTransactionsMinInstructionMemoDesc = 'ASSET_TRANSACTIONS_MIN_INSTRUCTION_MEMO_DESC', - AssetTransactionsMinNftIdsAsc = 'ASSET_TRANSACTIONS_MIN_NFT_IDS_ASC', - AssetTransactionsMinNftIdsDesc = 'ASSET_TRANSACTIONS_MIN_NFT_IDS_DESC', - AssetTransactionsMinToPortfolioIdAsc = 'ASSET_TRANSACTIONS_MIN_TO_PORTFOLIO_ID_ASC', - AssetTransactionsMinToPortfolioIdDesc = 'ASSET_TRANSACTIONS_MIN_TO_PORTFOLIO_ID_DESC', - AssetTransactionsMinUpdatedAtAsc = 'ASSET_TRANSACTIONS_MIN_UPDATED_AT_ASC', - AssetTransactionsMinUpdatedAtDesc = 'ASSET_TRANSACTIONS_MIN_UPDATED_AT_DESC', - AssetTransactionsMinUpdatedBlockIdAsc = 'ASSET_TRANSACTIONS_MIN_UPDATED_BLOCK_ID_ASC', - AssetTransactionsMinUpdatedBlockIdDesc = 'ASSET_TRANSACTIONS_MIN_UPDATED_BLOCK_ID_DESC', - AssetTransactionsStddevPopulationAmountAsc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_AMOUNT_ASC', - AssetTransactionsStddevPopulationAmountDesc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_AMOUNT_DESC', - AssetTransactionsStddevPopulationAssetIdAsc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_ASSET_ID_ASC', - AssetTransactionsStddevPopulationAssetIdDesc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_ASSET_ID_DESC', - AssetTransactionsStddevPopulationCreatedAtAsc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_CREATED_AT_ASC', - AssetTransactionsStddevPopulationCreatedAtDesc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_CREATED_AT_DESC', - AssetTransactionsStddevPopulationCreatedBlockIdAsc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - AssetTransactionsStddevPopulationCreatedBlockIdDesc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - AssetTransactionsStddevPopulationDatetimeAsc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_DATETIME_ASC', - AssetTransactionsStddevPopulationDatetimeDesc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_DATETIME_DESC', - AssetTransactionsStddevPopulationEventIdxAsc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_EVENT_IDX_ASC', - AssetTransactionsStddevPopulationEventIdxDesc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_EVENT_IDX_DESC', - AssetTransactionsStddevPopulationEventIdAsc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_EVENT_ID_ASC', - AssetTransactionsStddevPopulationEventIdDesc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_EVENT_ID_DESC', - AssetTransactionsStddevPopulationExtrinsicIdxAsc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_EXTRINSIC_IDX_ASC', - AssetTransactionsStddevPopulationExtrinsicIdxDesc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_EXTRINSIC_IDX_DESC', - AssetTransactionsStddevPopulationFromPortfolioIdAsc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_FROM_PORTFOLIO_ID_ASC', - AssetTransactionsStddevPopulationFromPortfolioIdDesc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_FROM_PORTFOLIO_ID_DESC', - AssetTransactionsStddevPopulationFundingRoundAsc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_FUNDING_ROUND_ASC', - AssetTransactionsStddevPopulationFundingRoundDesc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_FUNDING_ROUND_DESC', - AssetTransactionsStddevPopulationIdAsc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_ID_ASC', - AssetTransactionsStddevPopulationIdDesc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_ID_DESC', - AssetTransactionsStddevPopulationInstructionIdAsc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_INSTRUCTION_ID_ASC', - AssetTransactionsStddevPopulationInstructionIdDesc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_INSTRUCTION_ID_DESC', - AssetTransactionsStddevPopulationInstructionMemoAsc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_INSTRUCTION_MEMO_ASC', - AssetTransactionsStddevPopulationInstructionMemoDesc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_INSTRUCTION_MEMO_DESC', - AssetTransactionsStddevPopulationNftIdsAsc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_NFT_IDS_ASC', - AssetTransactionsStddevPopulationNftIdsDesc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_NFT_IDS_DESC', - AssetTransactionsStddevPopulationToPortfolioIdAsc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_TO_PORTFOLIO_ID_ASC', - AssetTransactionsStddevPopulationToPortfolioIdDesc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_TO_PORTFOLIO_ID_DESC', - AssetTransactionsStddevPopulationUpdatedAtAsc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_UPDATED_AT_ASC', - AssetTransactionsStddevPopulationUpdatedAtDesc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_UPDATED_AT_DESC', - AssetTransactionsStddevPopulationUpdatedBlockIdAsc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - AssetTransactionsStddevPopulationUpdatedBlockIdDesc = 'ASSET_TRANSACTIONS_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - AssetTransactionsStddevSampleAmountAsc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_AMOUNT_ASC', - AssetTransactionsStddevSampleAmountDesc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_AMOUNT_DESC', - AssetTransactionsStddevSampleAssetIdAsc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_ASSET_ID_ASC', - AssetTransactionsStddevSampleAssetIdDesc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_ASSET_ID_DESC', - AssetTransactionsStddevSampleCreatedAtAsc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_CREATED_AT_ASC', - AssetTransactionsStddevSampleCreatedAtDesc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_CREATED_AT_DESC', - AssetTransactionsStddevSampleCreatedBlockIdAsc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - AssetTransactionsStddevSampleCreatedBlockIdDesc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - AssetTransactionsStddevSampleDatetimeAsc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_DATETIME_ASC', - AssetTransactionsStddevSampleDatetimeDesc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_DATETIME_DESC', - AssetTransactionsStddevSampleEventIdxAsc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_EVENT_IDX_ASC', - AssetTransactionsStddevSampleEventIdxDesc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_EVENT_IDX_DESC', - AssetTransactionsStddevSampleEventIdAsc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_EVENT_ID_ASC', - AssetTransactionsStddevSampleEventIdDesc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_EVENT_ID_DESC', - AssetTransactionsStddevSampleExtrinsicIdxAsc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_EXTRINSIC_IDX_ASC', - AssetTransactionsStddevSampleExtrinsicIdxDesc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_EXTRINSIC_IDX_DESC', - AssetTransactionsStddevSampleFromPortfolioIdAsc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_FROM_PORTFOLIO_ID_ASC', - AssetTransactionsStddevSampleFromPortfolioIdDesc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_FROM_PORTFOLIO_ID_DESC', - AssetTransactionsStddevSampleFundingRoundAsc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_FUNDING_ROUND_ASC', - AssetTransactionsStddevSampleFundingRoundDesc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_FUNDING_ROUND_DESC', - AssetTransactionsStddevSampleIdAsc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_ID_ASC', - AssetTransactionsStddevSampleIdDesc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_ID_DESC', - AssetTransactionsStddevSampleInstructionIdAsc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_INSTRUCTION_ID_ASC', - AssetTransactionsStddevSampleInstructionIdDesc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_INSTRUCTION_ID_DESC', - AssetTransactionsStddevSampleInstructionMemoAsc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_INSTRUCTION_MEMO_ASC', - AssetTransactionsStddevSampleInstructionMemoDesc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_INSTRUCTION_MEMO_DESC', - AssetTransactionsStddevSampleNftIdsAsc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_NFT_IDS_ASC', - AssetTransactionsStddevSampleNftIdsDesc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_NFT_IDS_DESC', - AssetTransactionsStddevSampleToPortfolioIdAsc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_TO_PORTFOLIO_ID_ASC', - AssetTransactionsStddevSampleToPortfolioIdDesc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_TO_PORTFOLIO_ID_DESC', - AssetTransactionsStddevSampleUpdatedAtAsc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_UPDATED_AT_ASC', - AssetTransactionsStddevSampleUpdatedAtDesc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_UPDATED_AT_DESC', - AssetTransactionsStddevSampleUpdatedBlockIdAsc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - AssetTransactionsStddevSampleUpdatedBlockIdDesc = 'ASSET_TRANSACTIONS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - AssetTransactionsSumAmountAsc = 'ASSET_TRANSACTIONS_SUM_AMOUNT_ASC', - AssetTransactionsSumAmountDesc = 'ASSET_TRANSACTIONS_SUM_AMOUNT_DESC', - AssetTransactionsSumAssetIdAsc = 'ASSET_TRANSACTIONS_SUM_ASSET_ID_ASC', - AssetTransactionsSumAssetIdDesc = 'ASSET_TRANSACTIONS_SUM_ASSET_ID_DESC', - AssetTransactionsSumCreatedAtAsc = 'ASSET_TRANSACTIONS_SUM_CREATED_AT_ASC', - AssetTransactionsSumCreatedAtDesc = 'ASSET_TRANSACTIONS_SUM_CREATED_AT_DESC', - AssetTransactionsSumCreatedBlockIdAsc = 'ASSET_TRANSACTIONS_SUM_CREATED_BLOCK_ID_ASC', - AssetTransactionsSumCreatedBlockIdDesc = 'ASSET_TRANSACTIONS_SUM_CREATED_BLOCK_ID_DESC', - AssetTransactionsSumDatetimeAsc = 'ASSET_TRANSACTIONS_SUM_DATETIME_ASC', - AssetTransactionsSumDatetimeDesc = 'ASSET_TRANSACTIONS_SUM_DATETIME_DESC', - AssetTransactionsSumEventIdxAsc = 'ASSET_TRANSACTIONS_SUM_EVENT_IDX_ASC', - AssetTransactionsSumEventIdxDesc = 'ASSET_TRANSACTIONS_SUM_EVENT_IDX_DESC', - AssetTransactionsSumEventIdAsc = 'ASSET_TRANSACTIONS_SUM_EVENT_ID_ASC', - AssetTransactionsSumEventIdDesc = 'ASSET_TRANSACTIONS_SUM_EVENT_ID_DESC', - AssetTransactionsSumExtrinsicIdxAsc = 'ASSET_TRANSACTIONS_SUM_EXTRINSIC_IDX_ASC', - AssetTransactionsSumExtrinsicIdxDesc = 'ASSET_TRANSACTIONS_SUM_EXTRINSIC_IDX_DESC', - AssetTransactionsSumFromPortfolioIdAsc = 'ASSET_TRANSACTIONS_SUM_FROM_PORTFOLIO_ID_ASC', - AssetTransactionsSumFromPortfolioIdDesc = 'ASSET_TRANSACTIONS_SUM_FROM_PORTFOLIO_ID_DESC', - AssetTransactionsSumFundingRoundAsc = 'ASSET_TRANSACTIONS_SUM_FUNDING_ROUND_ASC', - AssetTransactionsSumFundingRoundDesc = 'ASSET_TRANSACTIONS_SUM_FUNDING_ROUND_DESC', - AssetTransactionsSumIdAsc = 'ASSET_TRANSACTIONS_SUM_ID_ASC', - AssetTransactionsSumIdDesc = 'ASSET_TRANSACTIONS_SUM_ID_DESC', - AssetTransactionsSumInstructionIdAsc = 'ASSET_TRANSACTIONS_SUM_INSTRUCTION_ID_ASC', - AssetTransactionsSumInstructionIdDesc = 'ASSET_TRANSACTIONS_SUM_INSTRUCTION_ID_DESC', - AssetTransactionsSumInstructionMemoAsc = 'ASSET_TRANSACTIONS_SUM_INSTRUCTION_MEMO_ASC', - AssetTransactionsSumInstructionMemoDesc = 'ASSET_TRANSACTIONS_SUM_INSTRUCTION_MEMO_DESC', - AssetTransactionsSumNftIdsAsc = 'ASSET_TRANSACTIONS_SUM_NFT_IDS_ASC', - AssetTransactionsSumNftIdsDesc = 'ASSET_TRANSACTIONS_SUM_NFT_IDS_DESC', - AssetTransactionsSumToPortfolioIdAsc = 'ASSET_TRANSACTIONS_SUM_TO_PORTFOLIO_ID_ASC', - AssetTransactionsSumToPortfolioIdDesc = 'ASSET_TRANSACTIONS_SUM_TO_PORTFOLIO_ID_DESC', - AssetTransactionsSumUpdatedAtAsc = 'ASSET_TRANSACTIONS_SUM_UPDATED_AT_ASC', - AssetTransactionsSumUpdatedAtDesc = 'ASSET_TRANSACTIONS_SUM_UPDATED_AT_DESC', - AssetTransactionsSumUpdatedBlockIdAsc = 'ASSET_TRANSACTIONS_SUM_UPDATED_BLOCK_ID_ASC', - AssetTransactionsSumUpdatedBlockIdDesc = 'ASSET_TRANSACTIONS_SUM_UPDATED_BLOCK_ID_DESC', - AssetTransactionsVariancePopulationAmountAsc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_AMOUNT_ASC', - AssetTransactionsVariancePopulationAmountDesc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_AMOUNT_DESC', - AssetTransactionsVariancePopulationAssetIdAsc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_ASSET_ID_ASC', - AssetTransactionsVariancePopulationAssetIdDesc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_ASSET_ID_DESC', - AssetTransactionsVariancePopulationCreatedAtAsc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_CREATED_AT_ASC', - AssetTransactionsVariancePopulationCreatedAtDesc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_CREATED_AT_DESC', - AssetTransactionsVariancePopulationCreatedBlockIdAsc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - AssetTransactionsVariancePopulationCreatedBlockIdDesc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - AssetTransactionsVariancePopulationDatetimeAsc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_DATETIME_ASC', - AssetTransactionsVariancePopulationDatetimeDesc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_DATETIME_DESC', - AssetTransactionsVariancePopulationEventIdxAsc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_EVENT_IDX_ASC', - AssetTransactionsVariancePopulationEventIdxDesc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_EVENT_IDX_DESC', - AssetTransactionsVariancePopulationEventIdAsc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_EVENT_ID_ASC', - AssetTransactionsVariancePopulationEventIdDesc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_EVENT_ID_DESC', - AssetTransactionsVariancePopulationExtrinsicIdxAsc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_EXTRINSIC_IDX_ASC', - AssetTransactionsVariancePopulationExtrinsicIdxDesc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_EXTRINSIC_IDX_DESC', - AssetTransactionsVariancePopulationFromPortfolioIdAsc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_FROM_PORTFOLIO_ID_ASC', - AssetTransactionsVariancePopulationFromPortfolioIdDesc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_FROM_PORTFOLIO_ID_DESC', - AssetTransactionsVariancePopulationFundingRoundAsc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_FUNDING_ROUND_ASC', - AssetTransactionsVariancePopulationFundingRoundDesc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_FUNDING_ROUND_DESC', - AssetTransactionsVariancePopulationIdAsc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_ID_ASC', - AssetTransactionsVariancePopulationIdDesc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_ID_DESC', - AssetTransactionsVariancePopulationInstructionIdAsc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_INSTRUCTION_ID_ASC', - AssetTransactionsVariancePopulationInstructionIdDesc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_INSTRUCTION_ID_DESC', - AssetTransactionsVariancePopulationInstructionMemoAsc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_INSTRUCTION_MEMO_ASC', - AssetTransactionsVariancePopulationInstructionMemoDesc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_INSTRUCTION_MEMO_DESC', - AssetTransactionsVariancePopulationNftIdsAsc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_NFT_IDS_ASC', - AssetTransactionsVariancePopulationNftIdsDesc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_NFT_IDS_DESC', - AssetTransactionsVariancePopulationToPortfolioIdAsc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_TO_PORTFOLIO_ID_ASC', - AssetTransactionsVariancePopulationToPortfolioIdDesc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_TO_PORTFOLIO_ID_DESC', - AssetTransactionsVariancePopulationUpdatedAtAsc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_UPDATED_AT_ASC', - AssetTransactionsVariancePopulationUpdatedAtDesc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_UPDATED_AT_DESC', - AssetTransactionsVariancePopulationUpdatedBlockIdAsc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - AssetTransactionsVariancePopulationUpdatedBlockIdDesc = 'ASSET_TRANSACTIONS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - AssetTransactionsVarianceSampleAmountAsc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_AMOUNT_ASC', - AssetTransactionsVarianceSampleAmountDesc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_AMOUNT_DESC', - AssetTransactionsVarianceSampleAssetIdAsc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_ASSET_ID_ASC', - AssetTransactionsVarianceSampleAssetIdDesc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_ASSET_ID_DESC', - AssetTransactionsVarianceSampleCreatedAtAsc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_CREATED_AT_ASC', - AssetTransactionsVarianceSampleCreatedAtDesc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_CREATED_AT_DESC', - AssetTransactionsVarianceSampleCreatedBlockIdAsc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - AssetTransactionsVarianceSampleCreatedBlockIdDesc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - AssetTransactionsVarianceSampleDatetimeAsc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_DATETIME_ASC', - AssetTransactionsVarianceSampleDatetimeDesc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_DATETIME_DESC', - AssetTransactionsVarianceSampleEventIdxAsc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_EVENT_IDX_ASC', - AssetTransactionsVarianceSampleEventIdxDesc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_EVENT_IDX_DESC', - AssetTransactionsVarianceSampleEventIdAsc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_EVENT_ID_ASC', - AssetTransactionsVarianceSampleEventIdDesc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_EVENT_ID_DESC', - AssetTransactionsVarianceSampleExtrinsicIdxAsc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_EXTRINSIC_IDX_ASC', - AssetTransactionsVarianceSampleExtrinsicIdxDesc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_EXTRINSIC_IDX_DESC', - AssetTransactionsVarianceSampleFromPortfolioIdAsc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_FROM_PORTFOLIO_ID_ASC', - AssetTransactionsVarianceSampleFromPortfolioIdDesc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_FROM_PORTFOLIO_ID_DESC', - AssetTransactionsVarianceSampleFundingRoundAsc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_FUNDING_ROUND_ASC', - AssetTransactionsVarianceSampleFundingRoundDesc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_FUNDING_ROUND_DESC', - AssetTransactionsVarianceSampleIdAsc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_ID_ASC', - AssetTransactionsVarianceSampleIdDesc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_ID_DESC', - AssetTransactionsVarianceSampleInstructionIdAsc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_INSTRUCTION_ID_ASC', - AssetTransactionsVarianceSampleInstructionIdDesc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_INSTRUCTION_ID_DESC', - AssetTransactionsVarianceSampleInstructionMemoAsc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_INSTRUCTION_MEMO_ASC', - AssetTransactionsVarianceSampleInstructionMemoDesc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_INSTRUCTION_MEMO_DESC', - AssetTransactionsVarianceSampleNftIdsAsc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_NFT_IDS_ASC', - AssetTransactionsVarianceSampleNftIdsDesc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_NFT_IDS_DESC', - AssetTransactionsVarianceSampleToPortfolioIdAsc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_TO_PORTFOLIO_ID_ASC', - AssetTransactionsVarianceSampleToPortfolioIdDesc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_TO_PORTFOLIO_ID_DESC', - AssetTransactionsVarianceSampleUpdatedAtAsc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_UPDATED_AT_ASC', - AssetTransactionsVarianceSampleUpdatedAtDesc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_UPDATED_AT_DESC', - AssetTransactionsVarianceSampleUpdatedBlockIdAsc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - AssetTransactionsVarianceSampleUpdatedBlockIdDesc = 'ASSET_TRANSACTIONS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - CreatedAtAsc = 'CREATED_AT_ASC', - CreatedAtDesc = 'CREATED_AT_DESC', - CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', - CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', - EndBlockAsc = 'END_BLOCK_ASC', - EndBlockDesc = 'END_BLOCK_DESC', - EventIdxAsc = 'EVENT_IDX_ASC', - EventIdxDesc = 'EVENT_IDX_DESC', - EventIdAsc = 'EVENT_ID_ASC', - EventIdDesc = 'EVENT_ID_DESC', - IdAsc = 'ID_ASC', - IdDesc = 'ID_DESC', - LegsAverageAddressesAsc = 'LEGS_AVERAGE_ADDRESSES_ASC', - LegsAverageAddressesDesc = 'LEGS_AVERAGE_ADDRESSES_DESC', - LegsAverageAmountAsc = 'LEGS_AVERAGE_AMOUNT_ASC', - LegsAverageAmountDesc = 'LEGS_AVERAGE_AMOUNT_DESC', - LegsAverageAssetIdAsc = 'LEGS_AVERAGE_ASSET_ID_ASC', - LegsAverageAssetIdDesc = 'LEGS_AVERAGE_ASSET_ID_DESC', - LegsAverageCreatedAtAsc = 'LEGS_AVERAGE_CREATED_AT_ASC', - LegsAverageCreatedAtDesc = 'LEGS_AVERAGE_CREATED_AT_DESC', - LegsAverageCreatedBlockIdAsc = 'LEGS_AVERAGE_CREATED_BLOCK_ID_ASC', - LegsAverageCreatedBlockIdDesc = 'LEGS_AVERAGE_CREATED_BLOCK_ID_DESC', - LegsAverageFromIdAsc = 'LEGS_AVERAGE_FROM_ID_ASC', - LegsAverageFromIdDesc = 'LEGS_AVERAGE_FROM_ID_DESC', - LegsAverageIdAsc = 'LEGS_AVERAGE_ID_ASC', - LegsAverageIdDesc = 'LEGS_AVERAGE_ID_DESC', - LegsAverageInstructionIdAsc = 'LEGS_AVERAGE_INSTRUCTION_ID_ASC', - LegsAverageInstructionIdDesc = 'LEGS_AVERAGE_INSTRUCTION_ID_DESC', - LegsAverageLegTypeAsc = 'LEGS_AVERAGE_LEG_TYPE_ASC', - LegsAverageLegTypeDesc = 'LEGS_AVERAGE_LEG_TYPE_DESC', - LegsAverageNftIdsAsc = 'LEGS_AVERAGE_NFT_IDS_ASC', - LegsAverageNftIdsDesc = 'LEGS_AVERAGE_NFT_IDS_DESC', - LegsAverageSettlementIdAsc = 'LEGS_AVERAGE_SETTLEMENT_ID_ASC', - LegsAverageSettlementIdDesc = 'LEGS_AVERAGE_SETTLEMENT_ID_DESC', - LegsAverageToIdAsc = 'LEGS_AVERAGE_TO_ID_ASC', - LegsAverageToIdDesc = 'LEGS_AVERAGE_TO_ID_DESC', - LegsAverageUpdatedAtAsc = 'LEGS_AVERAGE_UPDATED_AT_ASC', - LegsAverageUpdatedAtDesc = 'LEGS_AVERAGE_UPDATED_AT_DESC', - LegsAverageUpdatedBlockIdAsc = 'LEGS_AVERAGE_UPDATED_BLOCK_ID_ASC', - LegsAverageUpdatedBlockIdDesc = 'LEGS_AVERAGE_UPDATED_BLOCK_ID_DESC', - LegsCountAsc = 'LEGS_COUNT_ASC', - LegsCountDesc = 'LEGS_COUNT_DESC', - LegsDistinctCountAddressesAsc = 'LEGS_DISTINCT_COUNT_ADDRESSES_ASC', - LegsDistinctCountAddressesDesc = 'LEGS_DISTINCT_COUNT_ADDRESSES_DESC', - LegsDistinctCountAmountAsc = 'LEGS_DISTINCT_COUNT_AMOUNT_ASC', - LegsDistinctCountAmountDesc = 'LEGS_DISTINCT_COUNT_AMOUNT_DESC', - LegsDistinctCountAssetIdAsc = 'LEGS_DISTINCT_COUNT_ASSET_ID_ASC', - LegsDistinctCountAssetIdDesc = 'LEGS_DISTINCT_COUNT_ASSET_ID_DESC', - LegsDistinctCountCreatedAtAsc = 'LEGS_DISTINCT_COUNT_CREATED_AT_ASC', - LegsDistinctCountCreatedAtDesc = 'LEGS_DISTINCT_COUNT_CREATED_AT_DESC', - LegsDistinctCountCreatedBlockIdAsc = 'LEGS_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - LegsDistinctCountCreatedBlockIdDesc = 'LEGS_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - LegsDistinctCountFromIdAsc = 'LEGS_DISTINCT_COUNT_FROM_ID_ASC', - LegsDistinctCountFromIdDesc = 'LEGS_DISTINCT_COUNT_FROM_ID_DESC', - LegsDistinctCountIdAsc = 'LEGS_DISTINCT_COUNT_ID_ASC', - LegsDistinctCountIdDesc = 'LEGS_DISTINCT_COUNT_ID_DESC', - LegsDistinctCountInstructionIdAsc = 'LEGS_DISTINCT_COUNT_INSTRUCTION_ID_ASC', - LegsDistinctCountInstructionIdDesc = 'LEGS_DISTINCT_COUNT_INSTRUCTION_ID_DESC', - LegsDistinctCountLegTypeAsc = 'LEGS_DISTINCT_COUNT_LEG_TYPE_ASC', - LegsDistinctCountLegTypeDesc = 'LEGS_DISTINCT_COUNT_LEG_TYPE_DESC', - LegsDistinctCountNftIdsAsc = 'LEGS_DISTINCT_COUNT_NFT_IDS_ASC', - LegsDistinctCountNftIdsDesc = 'LEGS_DISTINCT_COUNT_NFT_IDS_DESC', - LegsDistinctCountSettlementIdAsc = 'LEGS_DISTINCT_COUNT_SETTLEMENT_ID_ASC', - LegsDistinctCountSettlementIdDesc = 'LEGS_DISTINCT_COUNT_SETTLEMENT_ID_DESC', - LegsDistinctCountToIdAsc = 'LEGS_DISTINCT_COUNT_TO_ID_ASC', - LegsDistinctCountToIdDesc = 'LEGS_DISTINCT_COUNT_TO_ID_DESC', - LegsDistinctCountUpdatedAtAsc = 'LEGS_DISTINCT_COUNT_UPDATED_AT_ASC', - LegsDistinctCountUpdatedAtDesc = 'LEGS_DISTINCT_COUNT_UPDATED_AT_DESC', - LegsDistinctCountUpdatedBlockIdAsc = 'LEGS_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - LegsDistinctCountUpdatedBlockIdDesc = 'LEGS_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - LegsMaxAddressesAsc = 'LEGS_MAX_ADDRESSES_ASC', - LegsMaxAddressesDesc = 'LEGS_MAX_ADDRESSES_DESC', - LegsMaxAmountAsc = 'LEGS_MAX_AMOUNT_ASC', - LegsMaxAmountDesc = 'LEGS_MAX_AMOUNT_DESC', - LegsMaxAssetIdAsc = 'LEGS_MAX_ASSET_ID_ASC', - LegsMaxAssetIdDesc = 'LEGS_MAX_ASSET_ID_DESC', - LegsMaxCreatedAtAsc = 'LEGS_MAX_CREATED_AT_ASC', - LegsMaxCreatedAtDesc = 'LEGS_MAX_CREATED_AT_DESC', - LegsMaxCreatedBlockIdAsc = 'LEGS_MAX_CREATED_BLOCK_ID_ASC', - LegsMaxCreatedBlockIdDesc = 'LEGS_MAX_CREATED_BLOCK_ID_DESC', - LegsMaxFromIdAsc = 'LEGS_MAX_FROM_ID_ASC', - LegsMaxFromIdDesc = 'LEGS_MAX_FROM_ID_DESC', - LegsMaxIdAsc = 'LEGS_MAX_ID_ASC', - LegsMaxIdDesc = 'LEGS_MAX_ID_DESC', - LegsMaxInstructionIdAsc = 'LEGS_MAX_INSTRUCTION_ID_ASC', - LegsMaxInstructionIdDesc = 'LEGS_MAX_INSTRUCTION_ID_DESC', - LegsMaxLegTypeAsc = 'LEGS_MAX_LEG_TYPE_ASC', - LegsMaxLegTypeDesc = 'LEGS_MAX_LEG_TYPE_DESC', - LegsMaxNftIdsAsc = 'LEGS_MAX_NFT_IDS_ASC', - LegsMaxNftIdsDesc = 'LEGS_MAX_NFT_IDS_DESC', - LegsMaxSettlementIdAsc = 'LEGS_MAX_SETTLEMENT_ID_ASC', - LegsMaxSettlementIdDesc = 'LEGS_MAX_SETTLEMENT_ID_DESC', - LegsMaxToIdAsc = 'LEGS_MAX_TO_ID_ASC', - LegsMaxToIdDesc = 'LEGS_MAX_TO_ID_DESC', - LegsMaxUpdatedAtAsc = 'LEGS_MAX_UPDATED_AT_ASC', - LegsMaxUpdatedAtDesc = 'LEGS_MAX_UPDATED_AT_DESC', - LegsMaxUpdatedBlockIdAsc = 'LEGS_MAX_UPDATED_BLOCK_ID_ASC', - LegsMaxUpdatedBlockIdDesc = 'LEGS_MAX_UPDATED_BLOCK_ID_DESC', - LegsMinAddressesAsc = 'LEGS_MIN_ADDRESSES_ASC', - LegsMinAddressesDesc = 'LEGS_MIN_ADDRESSES_DESC', - LegsMinAmountAsc = 'LEGS_MIN_AMOUNT_ASC', - LegsMinAmountDesc = 'LEGS_MIN_AMOUNT_DESC', - LegsMinAssetIdAsc = 'LEGS_MIN_ASSET_ID_ASC', - LegsMinAssetIdDesc = 'LEGS_MIN_ASSET_ID_DESC', - LegsMinCreatedAtAsc = 'LEGS_MIN_CREATED_AT_ASC', - LegsMinCreatedAtDesc = 'LEGS_MIN_CREATED_AT_DESC', - LegsMinCreatedBlockIdAsc = 'LEGS_MIN_CREATED_BLOCK_ID_ASC', - LegsMinCreatedBlockIdDesc = 'LEGS_MIN_CREATED_BLOCK_ID_DESC', - LegsMinFromIdAsc = 'LEGS_MIN_FROM_ID_ASC', - LegsMinFromIdDesc = 'LEGS_MIN_FROM_ID_DESC', - LegsMinIdAsc = 'LEGS_MIN_ID_ASC', - LegsMinIdDesc = 'LEGS_MIN_ID_DESC', - LegsMinInstructionIdAsc = 'LEGS_MIN_INSTRUCTION_ID_ASC', - LegsMinInstructionIdDesc = 'LEGS_MIN_INSTRUCTION_ID_DESC', - LegsMinLegTypeAsc = 'LEGS_MIN_LEG_TYPE_ASC', - LegsMinLegTypeDesc = 'LEGS_MIN_LEG_TYPE_DESC', - LegsMinNftIdsAsc = 'LEGS_MIN_NFT_IDS_ASC', - LegsMinNftIdsDesc = 'LEGS_MIN_NFT_IDS_DESC', - LegsMinSettlementIdAsc = 'LEGS_MIN_SETTLEMENT_ID_ASC', - LegsMinSettlementIdDesc = 'LEGS_MIN_SETTLEMENT_ID_DESC', - LegsMinToIdAsc = 'LEGS_MIN_TO_ID_ASC', - LegsMinToIdDesc = 'LEGS_MIN_TO_ID_DESC', - LegsMinUpdatedAtAsc = 'LEGS_MIN_UPDATED_AT_ASC', - LegsMinUpdatedAtDesc = 'LEGS_MIN_UPDATED_AT_DESC', - LegsMinUpdatedBlockIdAsc = 'LEGS_MIN_UPDATED_BLOCK_ID_ASC', - LegsMinUpdatedBlockIdDesc = 'LEGS_MIN_UPDATED_BLOCK_ID_DESC', - LegsStddevPopulationAddressesAsc = 'LEGS_STDDEV_POPULATION_ADDRESSES_ASC', - LegsStddevPopulationAddressesDesc = 'LEGS_STDDEV_POPULATION_ADDRESSES_DESC', - LegsStddevPopulationAmountAsc = 'LEGS_STDDEV_POPULATION_AMOUNT_ASC', - LegsStddevPopulationAmountDesc = 'LEGS_STDDEV_POPULATION_AMOUNT_DESC', - LegsStddevPopulationAssetIdAsc = 'LEGS_STDDEV_POPULATION_ASSET_ID_ASC', - LegsStddevPopulationAssetIdDesc = 'LEGS_STDDEV_POPULATION_ASSET_ID_DESC', - LegsStddevPopulationCreatedAtAsc = 'LEGS_STDDEV_POPULATION_CREATED_AT_ASC', - LegsStddevPopulationCreatedAtDesc = 'LEGS_STDDEV_POPULATION_CREATED_AT_DESC', - LegsStddevPopulationCreatedBlockIdAsc = 'LEGS_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - LegsStddevPopulationCreatedBlockIdDesc = 'LEGS_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - LegsStddevPopulationFromIdAsc = 'LEGS_STDDEV_POPULATION_FROM_ID_ASC', - LegsStddevPopulationFromIdDesc = 'LEGS_STDDEV_POPULATION_FROM_ID_DESC', - LegsStddevPopulationIdAsc = 'LEGS_STDDEV_POPULATION_ID_ASC', - LegsStddevPopulationIdDesc = 'LEGS_STDDEV_POPULATION_ID_DESC', - LegsStddevPopulationInstructionIdAsc = 'LEGS_STDDEV_POPULATION_INSTRUCTION_ID_ASC', - LegsStddevPopulationInstructionIdDesc = 'LEGS_STDDEV_POPULATION_INSTRUCTION_ID_DESC', - LegsStddevPopulationLegTypeAsc = 'LEGS_STDDEV_POPULATION_LEG_TYPE_ASC', - LegsStddevPopulationLegTypeDesc = 'LEGS_STDDEV_POPULATION_LEG_TYPE_DESC', - LegsStddevPopulationNftIdsAsc = 'LEGS_STDDEV_POPULATION_NFT_IDS_ASC', - LegsStddevPopulationNftIdsDesc = 'LEGS_STDDEV_POPULATION_NFT_IDS_DESC', - LegsStddevPopulationSettlementIdAsc = 'LEGS_STDDEV_POPULATION_SETTLEMENT_ID_ASC', - LegsStddevPopulationSettlementIdDesc = 'LEGS_STDDEV_POPULATION_SETTLEMENT_ID_DESC', - LegsStddevPopulationToIdAsc = 'LEGS_STDDEV_POPULATION_TO_ID_ASC', - LegsStddevPopulationToIdDesc = 'LEGS_STDDEV_POPULATION_TO_ID_DESC', - LegsStddevPopulationUpdatedAtAsc = 'LEGS_STDDEV_POPULATION_UPDATED_AT_ASC', - LegsStddevPopulationUpdatedAtDesc = 'LEGS_STDDEV_POPULATION_UPDATED_AT_DESC', - LegsStddevPopulationUpdatedBlockIdAsc = 'LEGS_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - LegsStddevPopulationUpdatedBlockIdDesc = 'LEGS_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - LegsStddevSampleAddressesAsc = 'LEGS_STDDEV_SAMPLE_ADDRESSES_ASC', - LegsStddevSampleAddressesDesc = 'LEGS_STDDEV_SAMPLE_ADDRESSES_DESC', - LegsStddevSampleAmountAsc = 'LEGS_STDDEV_SAMPLE_AMOUNT_ASC', - LegsStddevSampleAmountDesc = 'LEGS_STDDEV_SAMPLE_AMOUNT_DESC', - LegsStddevSampleAssetIdAsc = 'LEGS_STDDEV_SAMPLE_ASSET_ID_ASC', - LegsStddevSampleAssetIdDesc = 'LEGS_STDDEV_SAMPLE_ASSET_ID_DESC', - LegsStddevSampleCreatedAtAsc = 'LEGS_STDDEV_SAMPLE_CREATED_AT_ASC', - LegsStddevSampleCreatedAtDesc = 'LEGS_STDDEV_SAMPLE_CREATED_AT_DESC', - LegsStddevSampleCreatedBlockIdAsc = 'LEGS_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - LegsStddevSampleCreatedBlockIdDesc = 'LEGS_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - LegsStddevSampleFromIdAsc = 'LEGS_STDDEV_SAMPLE_FROM_ID_ASC', - LegsStddevSampleFromIdDesc = 'LEGS_STDDEV_SAMPLE_FROM_ID_DESC', - LegsStddevSampleIdAsc = 'LEGS_STDDEV_SAMPLE_ID_ASC', - LegsStddevSampleIdDesc = 'LEGS_STDDEV_SAMPLE_ID_DESC', - LegsStddevSampleInstructionIdAsc = 'LEGS_STDDEV_SAMPLE_INSTRUCTION_ID_ASC', - LegsStddevSampleInstructionIdDesc = 'LEGS_STDDEV_SAMPLE_INSTRUCTION_ID_DESC', - LegsStddevSampleLegTypeAsc = 'LEGS_STDDEV_SAMPLE_LEG_TYPE_ASC', - LegsStddevSampleLegTypeDesc = 'LEGS_STDDEV_SAMPLE_LEG_TYPE_DESC', - LegsStddevSampleNftIdsAsc = 'LEGS_STDDEV_SAMPLE_NFT_IDS_ASC', - LegsStddevSampleNftIdsDesc = 'LEGS_STDDEV_SAMPLE_NFT_IDS_DESC', - LegsStddevSampleSettlementIdAsc = 'LEGS_STDDEV_SAMPLE_SETTLEMENT_ID_ASC', - LegsStddevSampleSettlementIdDesc = 'LEGS_STDDEV_SAMPLE_SETTLEMENT_ID_DESC', - LegsStddevSampleToIdAsc = 'LEGS_STDDEV_SAMPLE_TO_ID_ASC', - LegsStddevSampleToIdDesc = 'LEGS_STDDEV_SAMPLE_TO_ID_DESC', - LegsStddevSampleUpdatedAtAsc = 'LEGS_STDDEV_SAMPLE_UPDATED_AT_ASC', - LegsStddevSampleUpdatedAtDesc = 'LEGS_STDDEV_SAMPLE_UPDATED_AT_DESC', - LegsStddevSampleUpdatedBlockIdAsc = 'LEGS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - LegsStddevSampleUpdatedBlockIdDesc = 'LEGS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - LegsSumAddressesAsc = 'LEGS_SUM_ADDRESSES_ASC', - LegsSumAddressesDesc = 'LEGS_SUM_ADDRESSES_DESC', - LegsSumAmountAsc = 'LEGS_SUM_AMOUNT_ASC', - LegsSumAmountDesc = 'LEGS_SUM_AMOUNT_DESC', - LegsSumAssetIdAsc = 'LEGS_SUM_ASSET_ID_ASC', - LegsSumAssetIdDesc = 'LEGS_SUM_ASSET_ID_DESC', - LegsSumCreatedAtAsc = 'LEGS_SUM_CREATED_AT_ASC', - LegsSumCreatedAtDesc = 'LEGS_SUM_CREATED_AT_DESC', - LegsSumCreatedBlockIdAsc = 'LEGS_SUM_CREATED_BLOCK_ID_ASC', - LegsSumCreatedBlockIdDesc = 'LEGS_SUM_CREATED_BLOCK_ID_DESC', - LegsSumFromIdAsc = 'LEGS_SUM_FROM_ID_ASC', - LegsSumFromIdDesc = 'LEGS_SUM_FROM_ID_DESC', - LegsSumIdAsc = 'LEGS_SUM_ID_ASC', - LegsSumIdDesc = 'LEGS_SUM_ID_DESC', - LegsSumInstructionIdAsc = 'LEGS_SUM_INSTRUCTION_ID_ASC', - LegsSumInstructionIdDesc = 'LEGS_SUM_INSTRUCTION_ID_DESC', - LegsSumLegTypeAsc = 'LEGS_SUM_LEG_TYPE_ASC', - LegsSumLegTypeDesc = 'LEGS_SUM_LEG_TYPE_DESC', - LegsSumNftIdsAsc = 'LEGS_SUM_NFT_IDS_ASC', - LegsSumNftIdsDesc = 'LEGS_SUM_NFT_IDS_DESC', - LegsSumSettlementIdAsc = 'LEGS_SUM_SETTLEMENT_ID_ASC', - LegsSumSettlementIdDesc = 'LEGS_SUM_SETTLEMENT_ID_DESC', - LegsSumToIdAsc = 'LEGS_SUM_TO_ID_ASC', - LegsSumToIdDesc = 'LEGS_SUM_TO_ID_DESC', - LegsSumUpdatedAtAsc = 'LEGS_SUM_UPDATED_AT_ASC', - LegsSumUpdatedAtDesc = 'LEGS_SUM_UPDATED_AT_DESC', - LegsSumUpdatedBlockIdAsc = 'LEGS_SUM_UPDATED_BLOCK_ID_ASC', - LegsSumUpdatedBlockIdDesc = 'LEGS_SUM_UPDATED_BLOCK_ID_DESC', - LegsVariancePopulationAddressesAsc = 'LEGS_VARIANCE_POPULATION_ADDRESSES_ASC', - LegsVariancePopulationAddressesDesc = 'LEGS_VARIANCE_POPULATION_ADDRESSES_DESC', - LegsVariancePopulationAmountAsc = 'LEGS_VARIANCE_POPULATION_AMOUNT_ASC', - LegsVariancePopulationAmountDesc = 'LEGS_VARIANCE_POPULATION_AMOUNT_DESC', - LegsVariancePopulationAssetIdAsc = 'LEGS_VARIANCE_POPULATION_ASSET_ID_ASC', - LegsVariancePopulationAssetIdDesc = 'LEGS_VARIANCE_POPULATION_ASSET_ID_DESC', - LegsVariancePopulationCreatedAtAsc = 'LEGS_VARIANCE_POPULATION_CREATED_AT_ASC', - LegsVariancePopulationCreatedAtDesc = 'LEGS_VARIANCE_POPULATION_CREATED_AT_DESC', - LegsVariancePopulationCreatedBlockIdAsc = 'LEGS_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - LegsVariancePopulationCreatedBlockIdDesc = 'LEGS_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - LegsVariancePopulationFromIdAsc = 'LEGS_VARIANCE_POPULATION_FROM_ID_ASC', - LegsVariancePopulationFromIdDesc = 'LEGS_VARIANCE_POPULATION_FROM_ID_DESC', - LegsVariancePopulationIdAsc = 'LEGS_VARIANCE_POPULATION_ID_ASC', - LegsVariancePopulationIdDesc = 'LEGS_VARIANCE_POPULATION_ID_DESC', - LegsVariancePopulationInstructionIdAsc = 'LEGS_VARIANCE_POPULATION_INSTRUCTION_ID_ASC', - LegsVariancePopulationInstructionIdDesc = 'LEGS_VARIANCE_POPULATION_INSTRUCTION_ID_DESC', - LegsVariancePopulationLegTypeAsc = 'LEGS_VARIANCE_POPULATION_LEG_TYPE_ASC', - LegsVariancePopulationLegTypeDesc = 'LEGS_VARIANCE_POPULATION_LEG_TYPE_DESC', - LegsVariancePopulationNftIdsAsc = 'LEGS_VARIANCE_POPULATION_NFT_IDS_ASC', - LegsVariancePopulationNftIdsDesc = 'LEGS_VARIANCE_POPULATION_NFT_IDS_DESC', - LegsVariancePopulationSettlementIdAsc = 'LEGS_VARIANCE_POPULATION_SETTLEMENT_ID_ASC', - LegsVariancePopulationSettlementIdDesc = 'LEGS_VARIANCE_POPULATION_SETTLEMENT_ID_DESC', - LegsVariancePopulationToIdAsc = 'LEGS_VARIANCE_POPULATION_TO_ID_ASC', - LegsVariancePopulationToIdDesc = 'LEGS_VARIANCE_POPULATION_TO_ID_DESC', - LegsVariancePopulationUpdatedAtAsc = 'LEGS_VARIANCE_POPULATION_UPDATED_AT_ASC', - LegsVariancePopulationUpdatedAtDesc = 'LEGS_VARIANCE_POPULATION_UPDATED_AT_DESC', - LegsVariancePopulationUpdatedBlockIdAsc = 'LEGS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - LegsVariancePopulationUpdatedBlockIdDesc = 'LEGS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - LegsVarianceSampleAddressesAsc = 'LEGS_VARIANCE_SAMPLE_ADDRESSES_ASC', - LegsVarianceSampleAddressesDesc = 'LEGS_VARIANCE_SAMPLE_ADDRESSES_DESC', - LegsVarianceSampleAmountAsc = 'LEGS_VARIANCE_SAMPLE_AMOUNT_ASC', - LegsVarianceSampleAmountDesc = 'LEGS_VARIANCE_SAMPLE_AMOUNT_DESC', - LegsVarianceSampleAssetIdAsc = 'LEGS_VARIANCE_SAMPLE_ASSET_ID_ASC', - LegsVarianceSampleAssetIdDesc = 'LEGS_VARIANCE_SAMPLE_ASSET_ID_DESC', - LegsVarianceSampleCreatedAtAsc = 'LEGS_VARIANCE_SAMPLE_CREATED_AT_ASC', - LegsVarianceSampleCreatedAtDesc = 'LEGS_VARIANCE_SAMPLE_CREATED_AT_DESC', - LegsVarianceSampleCreatedBlockIdAsc = 'LEGS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - LegsVarianceSampleCreatedBlockIdDesc = 'LEGS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - LegsVarianceSampleFromIdAsc = 'LEGS_VARIANCE_SAMPLE_FROM_ID_ASC', - LegsVarianceSampleFromIdDesc = 'LEGS_VARIANCE_SAMPLE_FROM_ID_DESC', - LegsVarianceSampleIdAsc = 'LEGS_VARIANCE_SAMPLE_ID_ASC', - LegsVarianceSampleIdDesc = 'LEGS_VARIANCE_SAMPLE_ID_DESC', - LegsVarianceSampleInstructionIdAsc = 'LEGS_VARIANCE_SAMPLE_INSTRUCTION_ID_ASC', - LegsVarianceSampleInstructionIdDesc = 'LEGS_VARIANCE_SAMPLE_INSTRUCTION_ID_DESC', - LegsVarianceSampleLegTypeAsc = 'LEGS_VARIANCE_SAMPLE_LEG_TYPE_ASC', - LegsVarianceSampleLegTypeDesc = 'LEGS_VARIANCE_SAMPLE_LEG_TYPE_DESC', - LegsVarianceSampleNftIdsAsc = 'LEGS_VARIANCE_SAMPLE_NFT_IDS_ASC', - LegsVarianceSampleNftIdsDesc = 'LEGS_VARIANCE_SAMPLE_NFT_IDS_DESC', - LegsVarianceSampleSettlementIdAsc = 'LEGS_VARIANCE_SAMPLE_SETTLEMENT_ID_ASC', - LegsVarianceSampleSettlementIdDesc = 'LEGS_VARIANCE_SAMPLE_SETTLEMENT_ID_DESC', - LegsVarianceSampleToIdAsc = 'LEGS_VARIANCE_SAMPLE_TO_ID_ASC', - LegsVarianceSampleToIdDesc = 'LEGS_VARIANCE_SAMPLE_TO_ID_DESC', - LegsVarianceSampleUpdatedAtAsc = 'LEGS_VARIANCE_SAMPLE_UPDATED_AT_ASC', - LegsVarianceSampleUpdatedAtDesc = 'LEGS_VARIANCE_SAMPLE_UPDATED_AT_DESC', - LegsVarianceSampleUpdatedBlockIdAsc = 'LEGS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - LegsVarianceSampleUpdatedBlockIdDesc = 'LEGS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - MemoAsc = 'MEMO_ASC', - MemoDesc = 'MEMO_DESC', - Natural = 'NATURAL', - PrimaryKeyAsc = 'PRIMARY_KEY_ASC', - PrimaryKeyDesc = 'PRIMARY_KEY_DESC', - SettlementTypeAsc = 'SETTLEMENT_TYPE_ASC', - SettlementTypeDesc = 'SETTLEMENT_TYPE_DESC', - StatusAsc = 'STATUS_ASC', - StatusDesc = 'STATUS_DESC', - TradeDateAsc = 'TRADE_DATE_ASC', - TradeDateDesc = 'TRADE_DATE_DESC', - UpdatedAtAsc = 'UPDATED_AT_ASC', - UpdatedAtDesc = 'UPDATED_AT_DESC', - UpdatedBlockIdAsc = 'UPDATED_BLOCK_ID_ASC', - UpdatedBlockIdDesc = 'UPDATED_BLOCK_ID_DESC', - ValueDateAsc = 'VALUE_DATE_ASC', - ValueDateDesc = 'VALUE_DATE_DESC', - VenueIdAsc = 'VENUE_ID_ASC', - VenueIdDesc = 'VENUE_ID_DESC', -} - -/** A filter to be used against Int fields. All fields are combined with a logical ‘and.’ */ -export type IntFilter = { - /** Not equal to the specified value, treating null like an ordinary value. */ - distinctFrom?: InputMaybe; - /** Equal to the specified value. */ - equalTo?: InputMaybe; - /** Greater than the specified value. */ - greaterThan?: InputMaybe; - /** Greater than or equal to the specified value. */ - greaterThanOrEqualTo?: InputMaybe; - /** Included in the specified list. */ - in?: InputMaybe>; - /** Is null (if `true` is specified) or is not null (if `false` is specified). */ - isNull?: InputMaybe; - /** Less than the specified value. */ - lessThan?: InputMaybe; - /** Less than or equal to the specified value. */ - lessThanOrEqualTo?: InputMaybe; - /** Equal to the specified value, treating null like an ordinary value. */ - notDistinctFrom?: InputMaybe; - /** Not equal to the specified value. */ - notEqualTo?: InputMaybe; - /** Not included in the specified list. */ - notIn?: InputMaybe>; -}; - -/** Represents participation in an STO */ -export type Investment = Node & { - __typename?: 'Investment'; - createdAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `Investment`. */ - createdBlock?: Maybe; - createdBlockId: Scalars['String']['output']; - datetime: Scalars['Datetime']['output']; - id: Scalars['String']['output']; - /** Reads a single `Identity` that is related to this `Investment`. */ - investor?: Maybe; - investorId: Scalars['String']['output']; - /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ - nodeId: Scalars['ID']['output']; - offeringToken: Scalars['String']['output']; - offeringTokenAmount: Scalars['BigFloat']['output']; - raiseToken: Scalars['String']['output']; - raiseTokenAmount: Scalars['BigFloat']['output']; - stoId: Scalars['Int']['output']; - updatedAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `Investment`. */ - updatedBlock?: Maybe; - updatedBlockId: Scalars['String']['output']; -}; - -export type InvestmentAggregates = { - __typename?: 'InvestmentAggregates'; - /** Mean average aggregates across the matching connection (ignoring before/after/first/last/offset) */ - average?: Maybe; - /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ - distinctCount?: Maybe; - keys?: Maybe>; - /** Maximum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - max?: Maybe; - /** Minimum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - min?: Maybe; - /** Population standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevPopulation?: Maybe; - /** Sample standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevSample?: Maybe; - /** Sum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - sum?: Maybe; - /** Population variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - variancePopulation?: Maybe; - /** Sample variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - varianceSample?: Maybe; -}; - -/** A filter to be used against aggregates of `Investment` object types. */ -export type InvestmentAggregatesFilter = { - /** Mean average aggregate over matching `Investment` objects. */ - average?: InputMaybe; - /** Distinct count aggregate over matching `Investment` objects. */ - distinctCount?: InputMaybe; - /** A filter that must pass for the relevant `Investment` object to be included within the aggregate. */ - filter?: InputMaybe; - /** Maximum aggregate over matching `Investment` objects. */ - max?: InputMaybe; - /** Minimum aggregate over matching `Investment` objects. */ - min?: InputMaybe; - /** Population standard deviation aggregate over matching `Investment` objects. */ - stddevPopulation?: InputMaybe; - /** Sample standard deviation aggregate over matching `Investment` objects. */ - stddevSample?: InputMaybe; - /** Sum aggregate over matching `Investment` objects. */ - sum?: InputMaybe; - /** Population variance aggregate over matching `Investment` objects. */ - variancePopulation?: InputMaybe; - /** Sample variance aggregate over matching `Investment` objects. */ - varianceSample?: InputMaybe; -}; - -export type InvestmentAverageAggregateFilter = { - offeringTokenAmount?: InputMaybe; - raiseTokenAmount?: InputMaybe; - stoId?: InputMaybe; -}; - -export type InvestmentAverageAggregates = { - __typename?: 'InvestmentAverageAggregates'; - /** Mean average of offeringTokenAmount across the matching connection */ - offeringTokenAmount?: Maybe; - /** Mean average of raiseTokenAmount across the matching connection */ - raiseTokenAmount?: Maybe; - /** Mean average of stoId across the matching connection */ - stoId?: Maybe; -}; - -export type InvestmentDistinctCountAggregateFilter = { - createdAt?: InputMaybe; - createdBlockId?: InputMaybe; - datetime?: InputMaybe; - id?: InputMaybe; - investorId?: InputMaybe; - offeringToken?: InputMaybe; - offeringTokenAmount?: InputMaybe; - raiseToken?: InputMaybe; - raiseTokenAmount?: InputMaybe; - stoId?: InputMaybe; - updatedAt?: InputMaybe; - updatedBlockId?: InputMaybe; -}; - -export type InvestmentDistinctCountAggregates = { - __typename?: 'InvestmentDistinctCountAggregates'; - /** Distinct count of createdAt across the matching connection */ - createdAt?: Maybe; - /** Distinct count of createdBlockId across the matching connection */ - createdBlockId?: Maybe; - /** Distinct count of datetime across the matching connection */ - datetime?: Maybe; - /** Distinct count of id across the matching connection */ - id?: Maybe; - /** Distinct count of investorId across the matching connection */ - investorId?: Maybe; - /** Distinct count of offeringToken across the matching connection */ - offeringToken?: Maybe; - /** Distinct count of offeringTokenAmount across the matching connection */ - offeringTokenAmount?: Maybe; - /** Distinct count of raiseToken across the matching connection */ - raiseToken?: Maybe; - /** Distinct count of raiseTokenAmount across the matching connection */ - raiseTokenAmount?: Maybe; - /** Distinct count of stoId across the matching connection */ - stoId?: Maybe; - /** Distinct count of updatedAt across the matching connection */ - updatedAt?: Maybe; - /** Distinct count of updatedBlockId across the matching connection */ - updatedBlockId?: Maybe; -}; - -/** A filter to be used against `Investment` object types. All fields are combined with a logical ‘and.’ */ -export type InvestmentFilter = { - /** Checks for all expressions in this list. */ - and?: InputMaybe>; - /** Filter by the object’s `createdAt` field. */ - createdAt?: InputMaybe; - /** Filter by the object’s `createdBlock` relation. */ - createdBlock?: InputMaybe; - /** Filter by the object’s `createdBlockId` field. */ - createdBlockId?: InputMaybe; - /** Filter by the object’s `datetime` field. */ - datetime?: InputMaybe; - /** Filter by the object’s `id` field. */ - id?: InputMaybe; - /** Filter by the object’s `investor` relation. */ - investor?: InputMaybe; - /** Filter by the object’s `investorId` field. */ - investorId?: InputMaybe; - /** Negates the expression. */ - not?: InputMaybe; - /** Filter by the object’s `offeringToken` field. */ - offeringToken?: InputMaybe; - /** Filter by the object’s `offeringTokenAmount` field. */ - offeringTokenAmount?: InputMaybe; - /** Checks for any expressions in this list. */ - or?: InputMaybe>; - /** Filter by the object’s `raiseToken` field. */ - raiseToken?: InputMaybe; - /** Filter by the object’s `raiseTokenAmount` field. */ - raiseTokenAmount?: InputMaybe; - /** Filter by the object’s `stoId` field. */ - stoId?: InputMaybe; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: InputMaybe; - /** Filter by the object’s `updatedBlock` relation. */ - updatedBlock?: InputMaybe; - /** Filter by the object’s `updatedBlockId` field. */ - updatedBlockId?: InputMaybe; -}; - -export type InvestmentMaxAggregateFilter = { - offeringTokenAmount?: InputMaybe; - raiseTokenAmount?: InputMaybe; - stoId?: InputMaybe; -}; - -export type InvestmentMaxAggregates = { - __typename?: 'InvestmentMaxAggregates'; - /** Maximum of offeringTokenAmount across the matching connection */ - offeringTokenAmount?: Maybe; - /** Maximum of raiseTokenAmount across the matching connection */ - raiseTokenAmount?: Maybe; - /** Maximum of stoId across the matching connection */ - stoId?: Maybe; -}; - -export type InvestmentMinAggregateFilter = { - offeringTokenAmount?: InputMaybe; - raiseTokenAmount?: InputMaybe; - stoId?: InputMaybe; -}; - -export type InvestmentMinAggregates = { - __typename?: 'InvestmentMinAggregates'; - /** Minimum of offeringTokenAmount across the matching connection */ - offeringTokenAmount?: Maybe; - /** Minimum of raiseTokenAmount across the matching connection */ - raiseTokenAmount?: Maybe; - /** Minimum of stoId across the matching connection */ - stoId?: Maybe; -}; - -export type InvestmentStddevPopulationAggregateFilter = { - offeringTokenAmount?: InputMaybe; - raiseTokenAmount?: InputMaybe; - stoId?: InputMaybe; -}; - -export type InvestmentStddevPopulationAggregates = { - __typename?: 'InvestmentStddevPopulationAggregates'; - /** Population standard deviation of offeringTokenAmount across the matching connection */ - offeringTokenAmount?: Maybe; - /** Population standard deviation of raiseTokenAmount across the matching connection */ - raiseTokenAmount?: Maybe; - /** Population standard deviation of stoId across the matching connection */ - stoId?: Maybe; -}; - -export type InvestmentStddevSampleAggregateFilter = { - offeringTokenAmount?: InputMaybe; - raiseTokenAmount?: InputMaybe; - stoId?: InputMaybe; -}; - -export type InvestmentStddevSampleAggregates = { - __typename?: 'InvestmentStddevSampleAggregates'; - /** Sample standard deviation of offeringTokenAmount across the matching connection */ - offeringTokenAmount?: Maybe; - /** Sample standard deviation of raiseTokenAmount across the matching connection */ - raiseTokenAmount?: Maybe; - /** Sample standard deviation of stoId across the matching connection */ - stoId?: Maybe; -}; - -export type InvestmentSumAggregateFilter = { - offeringTokenAmount?: InputMaybe; - raiseTokenAmount?: InputMaybe; - stoId?: InputMaybe; -}; - -export type InvestmentSumAggregates = { - __typename?: 'InvestmentSumAggregates'; - /** Sum of offeringTokenAmount across the matching connection */ - offeringTokenAmount: Scalars['BigFloat']['output']; - /** Sum of raiseTokenAmount across the matching connection */ - raiseTokenAmount: Scalars['BigFloat']['output']; - /** Sum of stoId across the matching connection */ - stoId: Scalars['BigInt']['output']; -}; - -export type InvestmentVariancePopulationAggregateFilter = { - offeringTokenAmount?: InputMaybe; - raiseTokenAmount?: InputMaybe; - stoId?: InputMaybe; -}; - -export type InvestmentVariancePopulationAggregates = { - __typename?: 'InvestmentVariancePopulationAggregates'; - /** Population variance of offeringTokenAmount across the matching connection */ - offeringTokenAmount?: Maybe; - /** Population variance of raiseTokenAmount across the matching connection */ - raiseTokenAmount?: Maybe; - /** Population variance of stoId across the matching connection */ - stoId?: Maybe; -}; - -export type InvestmentVarianceSampleAggregateFilter = { - offeringTokenAmount?: InputMaybe; - raiseTokenAmount?: InputMaybe; - stoId?: InputMaybe; -}; - -export type InvestmentVarianceSampleAggregates = { - __typename?: 'InvestmentVarianceSampleAggregates'; - /** Sample variance of offeringTokenAmount across the matching connection */ - offeringTokenAmount?: Maybe; - /** Sample variance of raiseTokenAmount across the matching connection */ - raiseTokenAmount?: Maybe; - /** Sample variance of stoId across the matching connection */ - stoId?: Maybe; -}; - -/** A connection to a list of `Investment` values. */ -export type InvestmentsConnection = { - __typename?: 'InvestmentsConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Investment` and cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Investment` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Investment` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Investment` values. */ -export type InvestmentsConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `Investment` edge in the connection. */ -export type InvestmentsEdge = { - __typename?: 'InvestmentsEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Investment` at the end of the edge. */ - node?: Maybe; -}; - -/** Grouping methods for `Investment` for usage during aggregation. */ -export enum InvestmentsGroupBy { - CreatedAt = 'CREATED_AT', - CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', - CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', - CreatedBlockId = 'CREATED_BLOCK_ID', - Datetime = 'DATETIME', - DatetimeTruncatedToDay = 'DATETIME_TRUNCATED_TO_DAY', - DatetimeTruncatedToHour = 'DATETIME_TRUNCATED_TO_HOUR', - InvestorId = 'INVESTOR_ID', - OfferingToken = 'OFFERING_TOKEN', - OfferingTokenAmount = 'OFFERING_TOKEN_AMOUNT', - RaiseToken = 'RAISE_TOKEN', - RaiseTokenAmount = 'RAISE_TOKEN_AMOUNT', - StoId = 'STO_ID', - UpdatedAt = 'UPDATED_AT', - UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', - UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export type InvestmentsHavingAverageInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - offeringTokenAmount?: InputMaybe; - raiseTokenAmount?: InputMaybe; - stoId?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type InvestmentsHavingDistinctCountInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - offeringTokenAmount?: InputMaybe; - raiseTokenAmount?: InputMaybe; - stoId?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Conditions for `Investment` aggregates. */ -export type InvestmentsHavingInput = { - AND?: InputMaybe>; - OR?: InputMaybe>; - average?: InputMaybe; - distinctCount?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddevPopulation?: InputMaybe; - stddevSample?: InputMaybe; - sum?: InputMaybe; - variancePopulation?: InputMaybe; - varianceSample?: InputMaybe; -}; - -export type InvestmentsHavingMaxInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - offeringTokenAmount?: InputMaybe; - raiseTokenAmount?: InputMaybe; - stoId?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type InvestmentsHavingMinInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - offeringTokenAmount?: InputMaybe; - raiseTokenAmount?: InputMaybe; - stoId?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type InvestmentsHavingStddevPopulationInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - offeringTokenAmount?: InputMaybe; - raiseTokenAmount?: InputMaybe; - stoId?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type InvestmentsHavingStddevSampleInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - offeringTokenAmount?: InputMaybe; - raiseTokenAmount?: InputMaybe; - stoId?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type InvestmentsHavingSumInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - offeringTokenAmount?: InputMaybe; - raiseTokenAmount?: InputMaybe; - stoId?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type InvestmentsHavingVariancePopulationInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - offeringTokenAmount?: InputMaybe; - raiseTokenAmount?: InputMaybe; - stoId?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type InvestmentsHavingVarianceSampleInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - offeringTokenAmount?: InputMaybe; - raiseTokenAmount?: InputMaybe; - stoId?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Methods to use when ordering `Investment`. */ -export enum InvestmentsOrderBy { - CreatedAtAsc = 'CREATED_AT_ASC', - CreatedAtDesc = 'CREATED_AT_DESC', - CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', - CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', - DatetimeAsc = 'DATETIME_ASC', - DatetimeDesc = 'DATETIME_DESC', - IdAsc = 'ID_ASC', - IdDesc = 'ID_DESC', - InvestorIdAsc = 'INVESTOR_ID_ASC', - InvestorIdDesc = 'INVESTOR_ID_DESC', - Natural = 'NATURAL', - OfferingTokenAmountAsc = 'OFFERING_TOKEN_AMOUNT_ASC', - OfferingTokenAmountDesc = 'OFFERING_TOKEN_AMOUNT_DESC', - OfferingTokenAsc = 'OFFERING_TOKEN_ASC', - OfferingTokenDesc = 'OFFERING_TOKEN_DESC', - PrimaryKeyAsc = 'PRIMARY_KEY_ASC', - PrimaryKeyDesc = 'PRIMARY_KEY_DESC', - RaiseTokenAmountAsc = 'RAISE_TOKEN_AMOUNT_ASC', - RaiseTokenAmountDesc = 'RAISE_TOKEN_AMOUNT_DESC', - RaiseTokenAsc = 'RAISE_TOKEN_ASC', - RaiseTokenDesc = 'RAISE_TOKEN_DESC', - StoIdAsc = 'STO_ID_ASC', - StoIdDesc = 'STO_ID_DESC', - UpdatedAtAsc = 'UPDATED_AT_ASC', - UpdatedAtDesc = 'UPDATED_AT_DESC', - UpdatedBlockIdAsc = 'UPDATED_BLOCK_ID_ASC', - UpdatedBlockIdDesc = 'UPDATED_BLOCK_ID_DESC', -} - -/** A filter to be used against JSON fields. All fields are combined with a logical ‘and.’ */ -export type JsonFilter = { - /** Contained by the specified JSON. */ - containedBy?: InputMaybe; - /** Contains the specified JSON. */ - contains?: InputMaybe; - /** Contains all of the specified keys. */ - containsAllKeys?: InputMaybe>; - /** Contains any of the specified keys. */ - containsAnyKeys?: InputMaybe>; - /** Contains the specified key. */ - containsKey?: InputMaybe; - /** Not equal to the specified value, treating null like an ordinary value. */ - distinctFrom?: InputMaybe; - /** Equal to the specified value. */ - equalTo?: InputMaybe; - /** Greater than the specified value. */ - greaterThan?: InputMaybe; - /** Greater than or equal to the specified value. */ - greaterThanOrEqualTo?: InputMaybe; - /** Included in the specified list. */ - in?: InputMaybe>; - /** Is null (if `true` is specified) or is not null (if `false` is specified). */ - isNull?: InputMaybe; - /** Less than the specified value. */ - lessThan?: InputMaybe; - /** Less than or equal to the specified value. */ - lessThanOrEqualTo?: InputMaybe; - /** Equal to the specified value, treating null like an ordinary value. */ - notDistinctFrom?: InputMaybe; - /** Not equal to the specified value. */ - notEqualTo?: InputMaybe; - /** Not included in the specified list. */ - notIn?: InputMaybe>; -}; - -/** Represents the movement of a single Asset in a trade, e.g. Alice will give Bob 1 USDS */ -export type Leg = Node & { - __typename?: 'Leg'; - addresses: Scalars['JSON']['output']; - /** `amount` can be null for non-fungible tokens */ - amount?: Maybe; - assetId: Scalars['String']['output']; - createdAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `Leg`. */ - createdBlock?: Maybe; - createdBlockId: Scalars['String']['output']; - /** Reads a single `Portfolio` that is related to this `Leg`. */ - from?: Maybe; - fromId: Scalars['String']['output']; - id: Scalars['String']['output']; - /** Reads a single `Instruction` that is related to this `Leg`. */ - instruction?: Maybe; - instructionId?: Maybe; - legType: LegTypeEnum; - nftIds?: Maybe; - /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ - nodeId: Scalars['ID']['output']; - /** Reads a single `Settlement` that is related to this `Leg`. */ - settlement?: Maybe; - settlementId?: Maybe; - /** Reads a single `Portfolio` that is related to this `Leg`. */ - to?: Maybe; - toId: Scalars['String']['output']; - updatedAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `Leg`. */ - updatedBlock?: Maybe; - updatedBlockId: Scalars['String']['output']; -}; - -export type LegAggregates = { - __typename?: 'LegAggregates'; - /** Mean average aggregates across the matching connection (ignoring before/after/first/last/offset) */ - average?: Maybe; - /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ - distinctCount?: Maybe; - keys?: Maybe>; - /** Maximum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - max?: Maybe; - /** Minimum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - min?: Maybe; - /** Population standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevPopulation?: Maybe; - /** Sample standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevSample?: Maybe; - /** Sum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - sum?: Maybe; - /** Population variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - variancePopulation?: Maybe; - /** Sample variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - varianceSample?: Maybe; -}; - -/** A filter to be used against aggregates of `Leg` object types. */ -export type LegAggregatesFilter = { - /** Mean average aggregate over matching `Leg` objects. */ - average?: InputMaybe; - /** Distinct count aggregate over matching `Leg` objects. */ - distinctCount?: InputMaybe; - /** A filter that must pass for the relevant `Leg` object to be included within the aggregate. */ - filter?: InputMaybe; - /** Maximum aggregate over matching `Leg` objects. */ - max?: InputMaybe; - /** Minimum aggregate over matching `Leg` objects. */ - min?: InputMaybe; - /** Population standard deviation aggregate over matching `Leg` objects. */ - stddevPopulation?: InputMaybe; - /** Sample standard deviation aggregate over matching `Leg` objects. */ - stddevSample?: InputMaybe; - /** Sum aggregate over matching `Leg` objects. */ - sum?: InputMaybe; - /** Population variance aggregate over matching `Leg` objects. */ - variancePopulation?: InputMaybe; - /** Sample variance aggregate over matching `Leg` objects. */ - varianceSample?: InputMaybe; -}; - -export type LegAverageAggregateFilter = { - amount?: InputMaybe; -}; - -export type LegAverageAggregates = { - __typename?: 'LegAverageAggregates'; - /** Mean average of amount across the matching connection */ - amount?: Maybe; -}; - -export type LegDistinctCountAggregateFilter = { - addresses?: InputMaybe; - amount?: InputMaybe; - assetId?: InputMaybe; - createdAt?: InputMaybe; - createdBlockId?: InputMaybe; - fromId?: InputMaybe; - id?: InputMaybe; - instructionId?: InputMaybe; - legType?: InputMaybe; - nftIds?: InputMaybe; - settlementId?: InputMaybe; - toId?: InputMaybe; - updatedAt?: InputMaybe; - updatedBlockId?: InputMaybe; -}; - -export type LegDistinctCountAggregates = { - __typename?: 'LegDistinctCountAggregates'; - /** Distinct count of addresses across the matching connection */ - addresses?: Maybe; - /** Distinct count of amount across the matching connection */ - amount?: Maybe; - /** Distinct count of assetId across the matching connection */ - assetId?: Maybe; - /** Distinct count of createdAt across the matching connection */ - createdAt?: Maybe; - /** Distinct count of createdBlockId across the matching connection */ - createdBlockId?: Maybe; - /** Distinct count of fromId across the matching connection */ - fromId?: Maybe; - /** Distinct count of id across the matching connection */ - id?: Maybe; - /** Distinct count of instructionId across the matching connection */ - instructionId?: Maybe; - /** Distinct count of legType across the matching connection */ - legType?: Maybe; - /** Distinct count of nftIds across the matching connection */ - nftIds?: Maybe; - /** Distinct count of settlementId across the matching connection */ - settlementId?: Maybe; - /** Distinct count of toId across the matching connection */ - toId?: Maybe; - /** Distinct count of updatedAt across the matching connection */ - updatedAt?: Maybe; - /** Distinct count of updatedBlockId across the matching connection */ - updatedBlockId?: Maybe; -}; - -/** A filter to be used against `Leg` object types. All fields are combined with a logical ‘and.’ */ -export type LegFilter = { - /** Filter by the object’s `addresses` field. */ - addresses?: InputMaybe; - /** Filter by the object’s `amount` field. */ - amount?: InputMaybe; - /** Checks for all expressions in this list. */ - and?: InputMaybe>; - /** Filter by the object’s `assetId` field. */ - assetId?: InputMaybe; - /** Filter by the object’s `createdAt` field. */ - createdAt?: InputMaybe; - /** Filter by the object’s `createdBlock` relation. */ - createdBlock?: InputMaybe; - /** Filter by the object’s `createdBlockId` field. */ - createdBlockId?: InputMaybe; - /** Filter by the object’s `from` relation. */ - from?: InputMaybe; - /** Filter by the object’s `fromId` field. */ - fromId?: InputMaybe; - /** Filter by the object’s `id` field. */ - id?: InputMaybe; - /** Filter by the object’s `instruction` relation. */ - instruction?: InputMaybe; - /** A related `instruction` exists. */ - instructionExists?: InputMaybe; - /** Filter by the object’s `instructionId` field. */ - instructionId?: InputMaybe; - /** Filter by the object’s `legType` field. */ - legType?: InputMaybe; - /** Filter by the object’s `nftIds` field. */ - nftIds?: InputMaybe; - /** Negates the expression. */ - not?: InputMaybe; - /** Checks for any expressions in this list. */ - or?: InputMaybe>; - /** Filter by the object’s `settlement` relation. */ - settlement?: InputMaybe; - /** A related `settlement` exists. */ - settlementExists?: InputMaybe; - /** Filter by the object’s `settlementId` field. */ - settlementId?: InputMaybe; - /** Filter by the object’s `to` relation. */ - to?: InputMaybe; - /** Filter by the object’s `toId` field. */ - toId?: InputMaybe; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: InputMaybe; - /** Filter by the object’s `updatedBlock` relation. */ - updatedBlock?: InputMaybe; - /** Filter by the object’s `updatedBlockId` field. */ - updatedBlockId?: InputMaybe; -}; - -export type LegMaxAggregateFilter = { - amount?: InputMaybe; -}; - -export type LegMaxAggregates = { - __typename?: 'LegMaxAggregates'; - /** Maximum of amount across the matching connection */ - amount?: Maybe; -}; - -export type LegMinAggregateFilter = { - amount?: InputMaybe; -}; - -export type LegMinAggregates = { - __typename?: 'LegMinAggregates'; - /** Minimum of amount across the matching connection */ - amount?: Maybe; -}; - -export type LegStddevPopulationAggregateFilter = { - amount?: InputMaybe; -}; - -export type LegStddevPopulationAggregates = { - __typename?: 'LegStddevPopulationAggregates'; - /** Population standard deviation of amount across the matching connection */ - amount?: Maybe; -}; - -export type LegStddevSampleAggregateFilter = { - amount?: InputMaybe; -}; - -export type LegStddevSampleAggregates = { - __typename?: 'LegStddevSampleAggregates'; - /** Sample standard deviation of amount across the matching connection */ - amount?: Maybe; -}; - -export type LegSumAggregateFilter = { - amount?: InputMaybe; -}; - -export type LegSumAggregates = { - __typename?: 'LegSumAggregates'; - /** Sum of amount across the matching connection */ - amount: Scalars['BigFloat']['output']; -}; - -/** Represents all possible states of an Instruction */ -export enum LegTypeEnum { - Fungible = 'Fungible', - NonFungible = 'NonFungible', - OffChain = 'OffChain', -} - -/** A filter to be used against LegTypeEnum fields. All fields are combined with a logical ‘and.’ */ -export type LegTypeEnumFilter = { - /** Not equal to the specified value, treating null like an ordinary value. */ - distinctFrom?: InputMaybe; - /** Equal to the specified value. */ - equalTo?: InputMaybe; - /** Greater than the specified value. */ - greaterThan?: InputMaybe; - /** Greater than or equal to the specified value. */ - greaterThanOrEqualTo?: InputMaybe; - /** Included in the specified list. */ - in?: InputMaybe>; - /** Is null (if `true` is specified) or is not null (if `false` is specified). */ - isNull?: InputMaybe; - /** Less than the specified value. */ - lessThan?: InputMaybe; - /** Less than or equal to the specified value. */ - lessThanOrEqualTo?: InputMaybe; - /** Equal to the specified value, treating null like an ordinary value. */ - notDistinctFrom?: InputMaybe; - /** Not equal to the specified value. */ - notEqualTo?: InputMaybe; - /** Not included in the specified list. */ - notIn?: InputMaybe>; -}; - -export type LegVariancePopulationAggregateFilter = { - amount?: InputMaybe; -}; - -export type LegVariancePopulationAggregates = { - __typename?: 'LegVariancePopulationAggregates'; - /** Population variance of amount across the matching connection */ - amount?: Maybe; -}; - -export type LegVarianceSampleAggregateFilter = { - amount?: InputMaybe; -}; - -export type LegVarianceSampleAggregates = { - __typename?: 'LegVarianceSampleAggregates'; - /** Sample variance of amount across the matching connection */ - amount?: Maybe; -}; - -/** A connection to a list of `Leg` values. */ -export type LegsConnection = { - __typename?: 'LegsConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Leg` and cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Leg` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Leg` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Leg` values. */ -export type LegsConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `Leg` edge in the connection. */ -export type LegsEdge = { - __typename?: 'LegsEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Leg` at the end of the edge. */ - node?: Maybe; -}; - -/** Grouping methods for `Leg` for usage during aggregation. */ -export enum LegsGroupBy { - Addresses = 'ADDRESSES', - Amount = 'AMOUNT', - AssetId = 'ASSET_ID', - CreatedAt = 'CREATED_AT', - CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', - CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', - CreatedBlockId = 'CREATED_BLOCK_ID', - FromId = 'FROM_ID', - InstructionId = 'INSTRUCTION_ID', - LegType = 'LEG_TYPE', - NftIds = 'NFT_IDS', - SettlementId = 'SETTLEMENT_ID', - ToId = 'TO_ID', - UpdatedAt = 'UPDATED_AT', - UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', - UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export type LegsHavingAverageInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type LegsHavingDistinctCountInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Conditions for `Leg` aggregates. */ -export type LegsHavingInput = { - AND?: InputMaybe>; - OR?: InputMaybe>; - average?: InputMaybe; - distinctCount?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddevPopulation?: InputMaybe; - stddevSample?: InputMaybe; - sum?: InputMaybe; - variancePopulation?: InputMaybe; - varianceSample?: InputMaybe; -}; - -export type LegsHavingMaxInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type LegsHavingMinInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type LegsHavingStddevPopulationInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type LegsHavingStddevSampleInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type LegsHavingSumInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type LegsHavingVariancePopulationInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type LegsHavingVarianceSampleInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Methods to use when ordering `Leg`. */ -export enum LegsOrderBy { - AddressesAsc = 'ADDRESSES_ASC', - AddressesDesc = 'ADDRESSES_DESC', - AmountAsc = 'AMOUNT_ASC', - AmountDesc = 'AMOUNT_DESC', - AssetIdAsc = 'ASSET_ID_ASC', - AssetIdDesc = 'ASSET_ID_DESC', - CreatedAtAsc = 'CREATED_AT_ASC', - CreatedAtDesc = 'CREATED_AT_DESC', - CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', - CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', - FromIdAsc = 'FROM_ID_ASC', - FromIdDesc = 'FROM_ID_DESC', - IdAsc = 'ID_ASC', - IdDesc = 'ID_DESC', - InstructionIdAsc = 'INSTRUCTION_ID_ASC', - InstructionIdDesc = 'INSTRUCTION_ID_DESC', - LegTypeAsc = 'LEG_TYPE_ASC', - LegTypeDesc = 'LEG_TYPE_DESC', - Natural = 'NATURAL', - NftIdsAsc = 'NFT_IDS_ASC', - NftIdsDesc = 'NFT_IDS_DESC', - PrimaryKeyAsc = 'PRIMARY_KEY_ASC', - PrimaryKeyDesc = 'PRIMARY_KEY_DESC', - SettlementIdAsc = 'SETTLEMENT_ID_ASC', - SettlementIdDesc = 'SETTLEMENT_ID_DESC', - ToIdAsc = 'TO_ID_ASC', - ToIdDesc = 'TO_ID_DESC', - UpdatedAtAsc = 'UPDATED_AT_ASC', - UpdatedAtDesc = 'UPDATED_AT_DESC', - UpdatedBlockIdAsc = 'UPDATED_BLOCK_ID_ASC', - UpdatedBlockIdDesc = 'UPDATED_BLOCK_ID_DESC', -} - -/** Represents the list of migrations executed */ -export type Migration = Node & { - __typename?: 'Migration'; - createdAt: Scalars['Datetime']['output']; - executed: Scalars['Int']['output']; - id: Scalars['String']['output']; - /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ - nodeId: Scalars['ID']['output']; - number: Scalars['Int']['output']; - processedBlock: Scalars['Int']['output']; - updatedAt: Scalars['Datetime']['output']; - version: Scalars['String']['output']; -}; - -export type MigrationAggregates = { - __typename?: 'MigrationAggregates'; - /** Mean average aggregates across the matching connection (ignoring before/after/first/last/offset) */ - average?: Maybe; - /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ - distinctCount?: Maybe; - keys?: Maybe>; - /** Maximum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - max?: Maybe; - /** Minimum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - min?: Maybe; - /** Population standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevPopulation?: Maybe; - /** Sample standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevSample?: Maybe; - /** Sum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - sum?: Maybe; - /** Population variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - variancePopulation?: Maybe; - /** Sample variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - varianceSample?: Maybe; -}; - -export type MigrationAverageAggregates = { - __typename?: 'MigrationAverageAggregates'; - /** Mean average of executed across the matching connection */ - executed?: Maybe; - /** Mean average of number across the matching connection */ - number?: Maybe; - /** Mean average of processedBlock across the matching connection */ - processedBlock?: Maybe; -}; - -export type MigrationDistinctCountAggregates = { - __typename?: 'MigrationDistinctCountAggregates'; - /** Distinct count of createdAt across the matching connection */ - createdAt?: Maybe; - /** Distinct count of executed across the matching connection */ - executed?: Maybe; - /** Distinct count of id across the matching connection */ - id?: Maybe; - /** Distinct count of number across the matching connection */ - number?: Maybe; - /** Distinct count of processedBlock across the matching connection */ - processedBlock?: Maybe; - /** Distinct count of updatedAt across the matching connection */ - updatedAt?: Maybe; - /** Distinct count of version across the matching connection */ - version?: Maybe; -}; - -/** A filter to be used against `Migration` object types. All fields are combined with a logical ‘and.’ */ -export type MigrationFilter = { - /** Checks for all expressions in this list. */ - and?: InputMaybe>; - /** Filter by the object’s `createdAt` field. */ - createdAt?: InputMaybe; - /** Filter by the object’s `executed` field. */ - executed?: InputMaybe; - /** Filter by the object’s `id` field. */ - id?: InputMaybe; - /** Negates the expression. */ - not?: InputMaybe; - /** Filter by the object’s `number` field. */ - number?: InputMaybe; - /** Checks for any expressions in this list. */ - or?: InputMaybe>; - /** Filter by the object’s `processedBlock` field. */ - processedBlock?: InputMaybe; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: InputMaybe; - /** Filter by the object’s `version` field. */ - version?: InputMaybe; -}; - -export type MigrationMaxAggregates = { - __typename?: 'MigrationMaxAggregates'; - /** Maximum of executed across the matching connection */ - executed?: Maybe; - /** Maximum of number across the matching connection */ - number?: Maybe; - /** Maximum of processedBlock across the matching connection */ - processedBlock?: Maybe; -}; - -export type MigrationMinAggregates = { - __typename?: 'MigrationMinAggregates'; - /** Minimum of executed across the matching connection */ - executed?: Maybe; - /** Minimum of number across the matching connection */ - number?: Maybe; - /** Minimum of processedBlock across the matching connection */ - processedBlock?: Maybe; -}; - -export type MigrationStddevPopulationAggregates = { - __typename?: 'MigrationStddevPopulationAggregates'; - /** Population standard deviation of executed across the matching connection */ - executed?: Maybe; - /** Population standard deviation of number across the matching connection */ - number?: Maybe; - /** Population standard deviation of processedBlock across the matching connection */ - processedBlock?: Maybe; -}; - -export type MigrationStddevSampleAggregates = { - __typename?: 'MigrationStddevSampleAggregates'; - /** Sample standard deviation of executed across the matching connection */ - executed?: Maybe; - /** Sample standard deviation of number across the matching connection */ - number?: Maybe; - /** Sample standard deviation of processedBlock across the matching connection */ - processedBlock?: Maybe; -}; - -export type MigrationSumAggregates = { - __typename?: 'MigrationSumAggregates'; - /** Sum of executed across the matching connection */ - executed: Scalars['BigInt']['output']; - /** Sum of number across the matching connection */ - number: Scalars['BigInt']['output']; - /** Sum of processedBlock across the matching connection */ - processedBlock: Scalars['BigInt']['output']; -}; - -export type MigrationVariancePopulationAggregates = { - __typename?: 'MigrationVariancePopulationAggregates'; - /** Population variance of executed across the matching connection */ - executed?: Maybe; - /** Population variance of number across the matching connection */ - number?: Maybe; - /** Population variance of processedBlock across the matching connection */ - processedBlock?: Maybe; -}; - -export type MigrationVarianceSampleAggregates = { - __typename?: 'MigrationVarianceSampleAggregates'; - /** Sample variance of executed across the matching connection */ - executed?: Maybe; - /** Sample variance of number across the matching connection */ - number?: Maybe; - /** Sample variance of processedBlock across the matching connection */ - processedBlock?: Maybe; -}; - -/** A connection to a list of `Migration` values. */ -export type MigrationsConnection = { - __typename?: 'MigrationsConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Migration` and cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Migration` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Migration` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Migration` values. */ -export type MigrationsConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `Migration` edge in the connection. */ -export type MigrationsEdge = { - __typename?: 'MigrationsEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Migration` at the end of the edge. */ - node?: Maybe; -}; - -/** Grouping methods for `Migration` for usage during aggregation. */ -export enum MigrationsGroupBy { - CreatedAt = 'CREATED_AT', - CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', - CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', - Executed = 'EXECUTED', - Number = 'NUMBER', - ProcessedBlock = 'PROCESSED_BLOCK', - UpdatedAt = 'UPDATED_AT', - UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', - UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', - Version = 'VERSION', -} - -export type MigrationsHavingAverageInput = { - createdAt?: InputMaybe; - executed?: InputMaybe; - number?: InputMaybe; - processedBlock?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type MigrationsHavingDistinctCountInput = { - createdAt?: InputMaybe; - executed?: InputMaybe; - number?: InputMaybe; - processedBlock?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Conditions for `Migration` aggregates. */ -export type MigrationsHavingInput = { - AND?: InputMaybe>; - OR?: InputMaybe>; - average?: InputMaybe; - distinctCount?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddevPopulation?: InputMaybe; - stddevSample?: InputMaybe; - sum?: InputMaybe; - variancePopulation?: InputMaybe; - varianceSample?: InputMaybe; -}; - -export type MigrationsHavingMaxInput = { - createdAt?: InputMaybe; - executed?: InputMaybe; - number?: InputMaybe; - processedBlock?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type MigrationsHavingMinInput = { - createdAt?: InputMaybe; - executed?: InputMaybe; - number?: InputMaybe; - processedBlock?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type MigrationsHavingStddevPopulationInput = { - createdAt?: InputMaybe; - executed?: InputMaybe; - number?: InputMaybe; - processedBlock?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type MigrationsHavingStddevSampleInput = { - createdAt?: InputMaybe; - executed?: InputMaybe; - number?: InputMaybe; - processedBlock?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type MigrationsHavingSumInput = { - createdAt?: InputMaybe; - executed?: InputMaybe; - number?: InputMaybe; - processedBlock?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type MigrationsHavingVariancePopulationInput = { - createdAt?: InputMaybe; - executed?: InputMaybe; - number?: InputMaybe; - processedBlock?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type MigrationsHavingVarianceSampleInput = { - createdAt?: InputMaybe; - executed?: InputMaybe; - number?: InputMaybe; - processedBlock?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Methods to use when ordering `Migration`. */ -export enum MigrationsOrderBy { - CreatedAtAsc = 'CREATED_AT_ASC', - CreatedAtDesc = 'CREATED_AT_DESC', - ExecutedAsc = 'EXECUTED_ASC', - ExecutedDesc = 'EXECUTED_DESC', - IdAsc = 'ID_ASC', - IdDesc = 'ID_DESC', - Natural = 'NATURAL', - NumberAsc = 'NUMBER_ASC', - NumberDesc = 'NUMBER_DESC', - PrimaryKeyAsc = 'PRIMARY_KEY_ASC', - PrimaryKeyDesc = 'PRIMARY_KEY_DESC', - ProcessedBlockAsc = 'PROCESSED_BLOCK_ASC', - ProcessedBlockDesc = 'PROCESSED_BLOCK_DESC', - UpdatedAtAsc = 'UPDATED_AT_ASC', - UpdatedAtDesc = 'UPDATED_AT_DESC', - VersionAsc = 'VERSION_ASC', - VersionDesc = 'VERSION_DESC', -} - -/** Represents all known chain "pallets" */ -export enum ModuleIdEnum { - Asset = 'asset', - Authoritydiscovery = 'authoritydiscovery', - Authorship = 'authorship', - Babe = 'babe', - Balances = 'balances', - Base = 'base', - Bridge = 'bridge', - Capitaldistribution = 'capitaldistribution', - Cddserviceproviders = 'cddserviceproviders', - Checkpoint = 'checkpoint', - Committeemembership = 'committeemembership', - Compliancemanager = 'compliancemanager', - Confidential = 'confidential', - Confidentialasset = 'confidentialasset', - Contracts = 'contracts', - Corporateaction = 'corporateaction', - Corporateballot = 'corporateballot', - Dividend = 'dividend', - Exemption = 'exemption', - Externalagents = 'externalagents', - Finalitytracker = 'finalitytracker', - Grandpa = 'grandpa', - Historical = 'historical', - Identity = 'identity', - Imonline = 'imonline', - Indices = 'indices', - Multisig = 'multisig', - Nft = 'nft', - Offences = 'offences', - Permissions = 'permissions', - Pips = 'pips', - Polymeshcommittee = 'polymeshcommittee', - Polymeshcontracts = 'polymeshcontracts', - Portfolio = 'portfolio', - Preimage = 'preimage', - Protocolfee = 'protocolfee', - Randomnesscollectiveflip = 'randomnesscollectiveflip', - Relayer = 'relayer', - Rewards = 'rewards', - Scheduler = 'scheduler', - Session = 'session', - Settlement = 'settlement', - Staking = 'staking', - Statistics = 'statistics', - Sto = 'sto', - Stocapped = 'stocapped', - Sudo = 'sudo', - System = 'system', - Technicalcommittee = 'technicalcommittee', - Technicalcommitteemembership = 'technicalcommitteemembership', - Testutils = 'testutils', - Timestamp = 'timestamp', - Transactionpayment = 'transactionpayment', - Treasury = 'treasury', - Upgradecommittee = 'upgradecommittee', - Upgradecommitteemembership = 'upgradecommitteemembership', - Utility = 'utility', -} - -/** A filter to be used against ModuleIdEnum fields. All fields are combined with a logical ‘and.’ */ -export type ModuleIdEnumFilter = { - /** Not equal to the specified value, treating null like an ordinary value. */ - distinctFrom?: InputMaybe; - /** Equal to the specified value. */ - equalTo?: InputMaybe; - /** Greater than the specified value. */ - greaterThan?: InputMaybe; - /** Greater than or equal to the specified value. */ - greaterThanOrEqualTo?: InputMaybe; - /** Included in the specified list. */ - in?: InputMaybe>; - /** Is null (if `true` is specified) or is not null (if `false` is specified). */ - isNull?: InputMaybe; - /** Less than the specified value. */ - lessThan?: InputMaybe; - /** Less than or equal to the specified value. */ - lessThanOrEqualTo?: InputMaybe; - /** Equal to the specified value, treating null like an ordinary value. */ - notDistinctFrom?: InputMaybe; - /** Not equal to the specified value. */ - notEqualTo?: InputMaybe; - /** Not included in the specified list. */ - notIn?: InputMaybe>; -}; - -/** Represents a MultiSig */ -export type MultiSig = Node & { - __typename?: 'MultiSig'; - address: Scalars['String']['output']; - /** Reads and enables pagination through a set of `Block`. */ - blocksByMultiSigProposalMultisigIdAndCreatedBlockId: MultiSigBlocksByMultiSigProposalMultisigIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByMultiSigProposalMultisigIdAndUpdatedBlockId: MultiSigBlocksByMultiSigProposalMultisigIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByMultiSigSignerMultisigIdAndCreatedBlockId: MultiSigBlocksByMultiSigSignerMultisigIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByMultiSigSignerMultisigIdAndUpdatedBlockId: MultiSigBlocksByMultiSigSignerMultisigIdAndUpdatedBlockIdManyToManyConnection; - createdAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `MultiSig`. */ - createdBlock?: Maybe; - createdBlockId: Scalars['String']['output']; - /** Reads a single `Identity` that is related to this `MultiSig`. */ - creator?: Maybe; - /** Reads a single `Account` that is related to this `MultiSig`. */ - creatorAccount?: Maybe; - creatorAccountId: Scalars['String']['output']; - creatorId: Scalars['String']['output']; - id: Scalars['String']['output']; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByMultiSigProposalMultisigIdAndCreatorId: MultiSigIdentitiesByMultiSigProposalMultisigIdAndCreatorIdManyToManyConnection; - /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ - nodeId: Scalars['ID']['output']; - /** Reads and enables pagination through a set of `MultiSigProposal`. */ - proposals: MultiSigProposalsConnection; - signaturesRequired: Scalars['Int']['output']; - /** Reads and enables pagination through a set of `MultiSigSigner`. */ - signers: MultiSigSignersConnection; - updatedAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `MultiSig`. */ - updatedBlock?: Maybe; - updatedBlockId: Scalars['String']['output']; -}; - -/** Represents a MultiSig */ -export type MultiSigBlocksByMultiSigProposalMultisigIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a MultiSig */ -export type MultiSigBlocksByMultiSigProposalMultisigIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a MultiSig */ -export type MultiSigBlocksByMultiSigSignerMultisigIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a MultiSig */ -export type MultiSigBlocksByMultiSigSignerMultisigIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a MultiSig */ -export type MultiSigIdentitiesByMultiSigProposalMultisigIdAndCreatorIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a MultiSig */ -export type MultiSigProposalsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a MultiSig */ -export type MultiSigSignersArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -export type MultiSigAggregates = { - __typename?: 'MultiSigAggregates'; - /** Mean average aggregates across the matching connection (ignoring before/after/first/last/offset) */ - average?: Maybe; - /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ - distinctCount?: Maybe; - keys?: Maybe>; - /** Maximum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - max?: Maybe; - /** Minimum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - min?: Maybe; - /** Population standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevPopulation?: Maybe; - /** Sample standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevSample?: Maybe; - /** Sum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - sum?: Maybe; - /** Population variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - variancePopulation?: Maybe; - /** Sample variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - varianceSample?: Maybe; -}; - -/** A filter to be used against aggregates of `MultiSig` object types. */ -export type MultiSigAggregatesFilter = { - /** Mean average aggregate over matching `MultiSig` objects. */ - average?: InputMaybe; - /** Distinct count aggregate over matching `MultiSig` objects. */ - distinctCount?: InputMaybe; - /** A filter that must pass for the relevant `MultiSig` object to be included within the aggregate. */ - filter?: InputMaybe; - /** Maximum aggregate over matching `MultiSig` objects. */ - max?: InputMaybe; - /** Minimum aggregate over matching `MultiSig` objects. */ - min?: InputMaybe; - /** Population standard deviation aggregate over matching `MultiSig` objects. */ - stddevPopulation?: InputMaybe; - /** Sample standard deviation aggregate over matching `MultiSig` objects. */ - stddevSample?: InputMaybe; - /** Sum aggregate over matching `MultiSig` objects. */ - sum?: InputMaybe; - /** Population variance aggregate over matching `MultiSig` objects. */ - variancePopulation?: InputMaybe; - /** Sample variance aggregate over matching `MultiSig` objects. */ - varianceSample?: InputMaybe; -}; - -export type MultiSigAverageAggregateFilter = { - signaturesRequired?: InputMaybe; -}; - -export type MultiSigAverageAggregates = { - __typename?: 'MultiSigAverageAggregates'; - /** Mean average of signaturesRequired across the matching connection */ - signaturesRequired?: Maybe; -}; - -/** A connection to a list of `Block` values, with data from `MultiSigProposal`. */ -export type MultiSigBlocksByMultiSigProposalMultisigIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'MultiSigBlocksByMultiSigProposalMultisigIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `MultiSigProposal`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `MultiSigProposal`. */ -export type MultiSigBlocksByMultiSigProposalMultisigIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `MultiSigProposal`. */ -export type MultiSigBlocksByMultiSigProposalMultisigIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'MultiSigBlocksByMultiSigProposalMultisigIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `MultiSigProposal`. */ - multiSigProposalsByCreatedBlockId: MultiSigProposalsConnection; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `MultiSigProposal`. */ -export type MultiSigBlocksByMultiSigProposalMultisigIdAndCreatedBlockIdManyToManyEdgeMultiSigProposalsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `MultiSigProposal`. */ -export type MultiSigBlocksByMultiSigProposalMultisigIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'MultiSigBlocksByMultiSigProposalMultisigIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `MultiSigProposal`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `MultiSigProposal`. */ -export type MultiSigBlocksByMultiSigProposalMultisigIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `MultiSigProposal`. */ -export type MultiSigBlocksByMultiSigProposalMultisigIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'MultiSigBlocksByMultiSigProposalMultisigIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `MultiSigProposal`. */ - multiSigProposalsByUpdatedBlockId: MultiSigProposalsConnection; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `MultiSigProposal`. */ -export type MultiSigBlocksByMultiSigProposalMultisigIdAndUpdatedBlockIdManyToManyEdgeMultiSigProposalsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `MultiSigSigner`. */ -export type MultiSigBlocksByMultiSigSignerMultisigIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'MultiSigBlocksByMultiSigSignerMultisigIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `MultiSigSigner`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `MultiSigSigner`. */ -export type MultiSigBlocksByMultiSigSignerMultisigIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `MultiSigSigner`. */ -export type MultiSigBlocksByMultiSigSignerMultisigIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'MultiSigBlocksByMultiSigSignerMultisigIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `MultiSigSigner`. */ - multiSigSignersByCreatedBlockId: MultiSigSignersConnection; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `MultiSigSigner`. */ -export type MultiSigBlocksByMultiSigSignerMultisigIdAndCreatedBlockIdManyToManyEdgeMultiSigSignersByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `MultiSigSigner`. */ -export type MultiSigBlocksByMultiSigSignerMultisigIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'MultiSigBlocksByMultiSigSignerMultisigIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `MultiSigSigner`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `MultiSigSigner`. */ -export type MultiSigBlocksByMultiSigSignerMultisigIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `MultiSigSigner`. */ -export type MultiSigBlocksByMultiSigSignerMultisigIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'MultiSigBlocksByMultiSigSignerMultisigIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `MultiSigSigner`. */ - multiSigSignersByUpdatedBlockId: MultiSigSignersConnection; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `MultiSigSigner`. */ -export type MultiSigBlocksByMultiSigSignerMultisigIdAndUpdatedBlockIdManyToManyEdgeMultiSigSignersByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -export type MultiSigDistinctCountAggregateFilter = { - address?: InputMaybe; - createdAt?: InputMaybe; - createdBlockId?: InputMaybe; - creatorAccountId?: InputMaybe; - creatorId?: InputMaybe; - id?: InputMaybe; - signaturesRequired?: InputMaybe; - updatedAt?: InputMaybe; - updatedBlockId?: InputMaybe; -}; - -export type MultiSigDistinctCountAggregates = { - __typename?: 'MultiSigDistinctCountAggregates'; - /** Distinct count of address across the matching connection */ - address?: Maybe; - /** Distinct count of createdAt across the matching connection */ - createdAt?: Maybe; - /** Distinct count of createdBlockId across the matching connection */ - createdBlockId?: Maybe; - /** Distinct count of creatorAccountId across the matching connection */ - creatorAccountId?: Maybe; - /** Distinct count of creatorId across the matching connection */ - creatorId?: Maybe; - /** Distinct count of id across the matching connection */ - id?: Maybe; - /** Distinct count of signaturesRequired across the matching connection */ - signaturesRequired?: Maybe; - /** Distinct count of updatedAt across the matching connection */ - updatedAt?: Maybe; - /** Distinct count of updatedBlockId across the matching connection */ - updatedBlockId?: Maybe; -}; - -/** A filter to be used against `MultiSig` object types. All fields are combined with a logical ‘and.’ */ -export type MultiSigFilter = { - /** Filter by the object’s `address` field. */ - address?: InputMaybe; - /** Checks for all expressions in this list. */ - and?: InputMaybe>; - /** Filter by the object’s `createdAt` field. */ - createdAt?: InputMaybe; - /** Filter by the object’s `createdBlock` relation. */ - createdBlock?: InputMaybe; - /** Filter by the object’s `createdBlockId` field. */ - createdBlockId?: InputMaybe; - /** Filter by the object’s `creator` relation. */ - creator?: InputMaybe; - /** Filter by the object’s `creatorAccount` relation. */ - creatorAccount?: InputMaybe; - /** Filter by the object’s `creatorAccountId` field. */ - creatorAccountId?: InputMaybe; - /** Filter by the object’s `creatorId` field. */ - creatorId?: InputMaybe; - /** Filter by the object’s `id` field. */ - id?: InputMaybe; - /** Negates the expression. */ - not?: InputMaybe; - /** Checks for any expressions in this list. */ - or?: InputMaybe>; - /** Filter by the object’s `proposals` relation. */ - proposals?: InputMaybe; - /** Some related `proposals` exist. */ - proposalsExist?: InputMaybe; - /** Filter by the object’s `signaturesRequired` field. */ - signaturesRequired?: InputMaybe; - /** Filter by the object’s `signers` relation. */ - signers?: InputMaybe; - /** Some related `signers` exist. */ - signersExist?: InputMaybe; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: InputMaybe; - /** Filter by the object’s `updatedBlock` relation. */ - updatedBlock?: InputMaybe; - /** Filter by the object’s `updatedBlockId` field. */ - updatedBlockId?: InputMaybe; -}; - -/** A connection to a list of `Identity` values, with data from `MultiSigProposal`. */ -export type MultiSigIdentitiesByMultiSigProposalMultisigIdAndCreatorIdManyToManyConnection = { - __typename?: 'MultiSigIdentitiesByMultiSigProposalMultisigIdAndCreatorIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `MultiSigProposal`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `MultiSigProposal`. */ -export type MultiSigIdentitiesByMultiSigProposalMultisigIdAndCreatorIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `MultiSigProposal`. */ -export type MultiSigIdentitiesByMultiSigProposalMultisigIdAndCreatorIdManyToManyEdge = { - __typename?: 'MultiSigIdentitiesByMultiSigProposalMultisigIdAndCreatorIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `MultiSigProposal`. */ - multiSigProposalsByCreatorId: MultiSigProposalsConnection; - /** The `Identity` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Identity` edge in the connection, with data from `MultiSigProposal`. */ -export type MultiSigIdentitiesByMultiSigProposalMultisigIdAndCreatorIdManyToManyEdgeMultiSigProposalsByCreatorIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -export type MultiSigMaxAggregateFilter = { - signaturesRequired?: InputMaybe; -}; - -export type MultiSigMaxAggregates = { - __typename?: 'MultiSigMaxAggregates'; - /** Maximum of signaturesRequired across the matching connection */ - signaturesRequired?: Maybe; -}; - -export type MultiSigMinAggregateFilter = { - signaturesRequired?: InputMaybe; -}; - -export type MultiSigMinAggregates = { - __typename?: 'MultiSigMinAggregates'; - /** Minimum of signaturesRequired across the matching connection */ - signaturesRequired?: Maybe; -}; - -/** Represents a MultiSig proposal */ -export type MultiSigProposal = Node & { - __typename?: 'MultiSigProposal'; - approvalCount: Scalars['Int']['output']; - /** Reads and enables pagination through a set of `Block`. */ - blocksByMultiSigProposalVoteProposalIdAndCreatedBlockId: MultiSigProposalBlocksByMultiSigProposalVoteProposalIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByMultiSigProposalVoteProposalIdAndUpdatedBlockId: MultiSigProposalBlocksByMultiSigProposalVoteProposalIdAndUpdatedBlockIdManyToManyConnection; - createdAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `MultiSigProposal`. */ - createdBlock?: Maybe; - createdBlockId: Scalars['String']['output']; - /** Reads a single `Identity` that is related to this `MultiSigProposal`. */ - creator?: Maybe; - creatorAccount: Scalars['String']['output']; - creatorId: Scalars['String']['output']; - datetime: Scalars['Datetime']['output']; - eventIdx: Scalars['Int']['output']; - extrinsicIdx: Scalars['Int']['output']; - id: Scalars['String']['output']; - /** Reads and enables pagination through a set of `MultiSigSigner`. */ - multiSigSignersByMultiSigProposalVoteProposalIdAndSignerId: MultiSigProposalMultiSigSignersByMultiSigProposalVoteProposalIdAndSignerIdManyToManyConnection; - /** Reads a single `MultiSig` that is related to this `MultiSigProposal`. */ - multisig?: Maybe; - multisigId: Scalars['String']['output']; - /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ - nodeId: Scalars['ID']['output']; - proposalId: Scalars['Int']['output']; - rejectionCount: Scalars['Int']['output']; - status: Scalars['String']['output']; - updatedAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `MultiSigProposal`. */ - updatedBlock?: Maybe; - updatedBlockId: Scalars['String']['output']; - /** Reads and enables pagination through a set of `MultiSigProposalVote`. */ - votes: MultiSigProposalVotesConnection; -}; - -/** Represents a MultiSig proposal */ -export type MultiSigProposalBlocksByMultiSigProposalVoteProposalIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a MultiSig proposal */ -export type MultiSigProposalBlocksByMultiSigProposalVoteProposalIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a MultiSig proposal */ -export type MultiSigProposalMultiSigSignersByMultiSigProposalVoteProposalIdAndSignerIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a MultiSig proposal */ -export type MultiSigProposalVotesArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -export type MultiSigProposalAggregates = { - __typename?: 'MultiSigProposalAggregates'; - /** Mean average aggregates across the matching connection (ignoring before/after/first/last/offset) */ - average?: Maybe; - /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ - distinctCount?: Maybe; - keys?: Maybe>; - /** Maximum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - max?: Maybe; - /** Minimum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - min?: Maybe; - /** Population standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevPopulation?: Maybe; - /** Sample standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevSample?: Maybe; - /** Sum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - sum?: Maybe; - /** Population variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - variancePopulation?: Maybe; - /** Sample variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - varianceSample?: Maybe; -}; - -/** A filter to be used against aggregates of `MultiSigProposal` object types. */ -export type MultiSigProposalAggregatesFilter = { - /** Mean average aggregate over matching `MultiSigProposal` objects. */ - average?: InputMaybe; - /** Distinct count aggregate over matching `MultiSigProposal` objects. */ - distinctCount?: InputMaybe; - /** A filter that must pass for the relevant `MultiSigProposal` object to be included within the aggregate. */ - filter?: InputMaybe; - /** Maximum aggregate over matching `MultiSigProposal` objects. */ - max?: InputMaybe; - /** Minimum aggregate over matching `MultiSigProposal` objects. */ - min?: InputMaybe; - /** Population standard deviation aggregate over matching `MultiSigProposal` objects. */ - stddevPopulation?: InputMaybe; - /** Sample standard deviation aggregate over matching `MultiSigProposal` objects. */ - stddevSample?: InputMaybe; - /** Sum aggregate over matching `MultiSigProposal` objects. */ - sum?: InputMaybe; - /** Population variance aggregate over matching `MultiSigProposal` objects. */ - variancePopulation?: InputMaybe; - /** Sample variance aggregate over matching `MultiSigProposal` objects. */ - varianceSample?: InputMaybe; -}; - -export type MultiSigProposalAverageAggregateFilter = { - approvalCount?: InputMaybe; - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; - proposalId?: InputMaybe; - rejectionCount?: InputMaybe; -}; - -export type MultiSigProposalAverageAggregates = { - __typename?: 'MultiSigProposalAverageAggregates'; - /** Mean average of approvalCount across the matching connection */ - approvalCount?: Maybe; - /** Mean average of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Mean average of extrinsicIdx across the matching connection */ - extrinsicIdx?: Maybe; - /** Mean average of proposalId across the matching connection */ - proposalId?: Maybe; - /** Mean average of rejectionCount across the matching connection */ - rejectionCount?: Maybe; -}; - -/** A connection to a list of `Block` values, with data from `MultiSigProposalVote`. */ -export type MultiSigProposalBlocksByMultiSigProposalVoteProposalIdAndCreatedBlockIdManyToManyConnection = - { - __typename?: 'MultiSigProposalBlocksByMultiSigProposalVoteProposalIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `MultiSigProposalVote`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Block` values, with data from `MultiSigProposalVote`. */ -export type MultiSigProposalBlocksByMultiSigProposalVoteProposalIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `MultiSigProposalVote`. */ -export type MultiSigProposalBlocksByMultiSigProposalVoteProposalIdAndCreatedBlockIdManyToManyEdge = - { - __typename?: 'MultiSigProposalBlocksByMultiSigProposalVoteProposalIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `MultiSigProposalVote`. */ - multiSigProposalVotesByCreatedBlockId: MultiSigProposalVotesConnection; - /** The `Block` at the end of the edge. */ - node?: Maybe; - }; - -/** A `Block` edge in the connection, with data from `MultiSigProposalVote`. */ -export type MultiSigProposalBlocksByMultiSigProposalVoteProposalIdAndCreatedBlockIdManyToManyEdgeMultiSigProposalVotesByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `MultiSigProposalVote`. */ -export type MultiSigProposalBlocksByMultiSigProposalVoteProposalIdAndUpdatedBlockIdManyToManyConnection = - { - __typename?: 'MultiSigProposalBlocksByMultiSigProposalVoteProposalIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `MultiSigProposalVote`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Block` values, with data from `MultiSigProposalVote`. */ -export type MultiSigProposalBlocksByMultiSigProposalVoteProposalIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `MultiSigProposalVote`. */ -export type MultiSigProposalBlocksByMultiSigProposalVoteProposalIdAndUpdatedBlockIdManyToManyEdge = - { - __typename?: 'MultiSigProposalBlocksByMultiSigProposalVoteProposalIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `MultiSigProposalVote`. */ - multiSigProposalVotesByUpdatedBlockId: MultiSigProposalVotesConnection; - /** The `Block` at the end of the edge. */ - node?: Maybe; - }; - -/** A `Block` edge in the connection, with data from `MultiSigProposalVote`. */ -export type MultiSigProposalBlocksByMultiSigProposalVoteProposalIdAndUpdatedBlockIdManyToManyEdgeMultiSigProposalVotesByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -export type MultiSigProposalDistinctCountAggregateFilter = { - approvalCount?: InputMaybe; - createdAt?: InputMaybe; - createdBlockId?: InputMaybe; - creatorAccount?: InputMaybe; - creatorId?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; - id?: InputMaybe; - multisigId?: InputMaybe; - proposalId?: InputMaybe; - rejectionCount?: InputMaybe; - status?: InputMaybe; - updatedAt?: InputMaybe; - updatedBlockId?: InputMaybe; -}; - -export type MultiSigProposalDistinctCountAggregates = { - __typename?: 'MultiSigProposalDistinctCountAggregates'; - /** Distinct count of approvalCount across the matching connection */ - approvalCount?: Maybe; - /** Distinct count of createdAt across the matching connection */ - createdAt?: Maybe; - /** Distinct count of createdBlockId across the matching connection */ - createdBlockId?: Maybe; - /** Distinct count of creatorAccount across the matching connection */ - creatorAccount?: Maybe; - /** Distinct count of creatorId across the matching connection */ - creatorId?: Maybe; - /** Distinct count of datetime across the matching connection */ - datetime?: Maybe; - /** Distinct count of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Distinct count of extrinsicIdx across the matching connection */ - extrinsicIdx?: Maybe; - /** Distinct count of id across the matching connection */ - id?: Maybe; - /** Distinct count of multisigId across the matching connection */ - multisigId?: Maybe; - /** Distinct count of proposalId across the matching connection */ - proposalId?: Maybe; - /** Distinct count of rejectionCount across the matching connection */ - rejectionCount?: Maybe; - /** Distinct count of status across the matching connection */ - status?: Maybe; - /** Distinct count of updatedAt across the matching connection */ - updatedAt?: Maybe; - /** Distinct count of updatedBlockId across the matching connection */ - updatedBlockId?: Maybe; -}; - -/** A filter to be used against `MultiSigProposal` object types. All fields are combined with a logical ‘and.’ */ -export type MultiSigProposalFilter = { - /** Checks for all expressions in this list. */ - and?: InputMaybe>; - /** Filter by the object’s `approvalCount` field. */ - approvalCount?: InputMaybe; - /** Filter by the object’s `createdAt` field. */ - createdAt?: InputMaybe; - /** Filter by the object’s `createdBlock` relation. */ - createdBlock?: InputMaybe; - /** Filter by the object’s `createdBlockId` field. */ - createdBlockId?: InputMaybe; - /** Filter by the object’s `creator` relation. */ - creator?: InputMaybe; - /** Filter by the object’s `creatorAccount` field. */ - creatorAccount?: InputMaybe; - /** Filter by the object’s `creatorId` field. */ - creatorId?: InputMaybe; - /** Filter by the object’s `datetime` field. */ - datetime?: InputMaybe; - /** Filter by the object’s `eventIdx` field. */ - eventIdx?: InputMaybe; - /** Filter by the object’s `extrinsicIdx` field. */ - extrinsicIdx?: InputMaybe; - /** Filter by the object’s `id` field. */ - id?: InputMaybe; - /** Filter by the object’s `multisig` relation. */ - multisig?: InputMaybe; - /** Filter by the object’s `multisigId` field. */ - multisigId?: InputMaybe; - /** Negates the expression. */ - not?: InputMaybe; - /** Checks for any expressions in this list. */ - or?: InputMaybe>; - /** Filter by the object’s `proposalId` field. */ - proposalId?: InputMaybe; - /** Filter by the object’s `rejectionCount` field. */ - rejectionCount?: InputMaybe; - /** Filter by the object’s `status` field. */ - status?: InputMaybe; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: InputMaybe; - /** Filter by the object’s `updatedBlock` relation. */ - updatedBlock?: InputMaybe; - /** Filter by the object’s `updatedBlockId` field. */ - updatedBlockId?: InputMaybe; - /** Filter by the object’s `votes` relation. */ - votes?: InputMaybe; - /** Some related `votes` exist. */ - votesExist?: InputMaybe; -}; - -export type MultiSigProposalMaxAggregateFilter = { - approvalCount?: InputMaybe; - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; - proposalId?: InputMaybe; - rejectionCount?: InputMaybe; -}; - -export type MultiSigProposalMaxAggregates = { - __typename?: 'MultiSigProposalMaxAggregates'; - /** Maximum of approvalCount across the matching connection */ - approvalCount?: Maybe; - /** Maximum of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Maximum of extrinsicIdx across the matching connection */ - extrinsicIdx?: Maybe; - /** Maximum of proposalId across the matching connection */ - proposalId?: Maybe; - /** Maximum of rejectionCount across the matching connection */ - rejectionCount?: Maybe; -}; - -export type MultiSigProposalMinAggregateFilter = { - approvalCount?: InputMaybe; - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; - proposalId?: InputMaybe; - rejectionCount?: InputMaybe; -}; - -export type MultiSigProposalMinAggregates = { - __typename?: 'MultiSigProposalMinAggregates'; - /** Minimum of approvalCount across the matching connection */ - approvalCount?: Maybe; - /** Minimum of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Minimum of extrinsicIdx across the matching connection */ - extrinsicIdx?: Maybe; - /** Minimum of proposalId across the matching connection */ - proposalId?: Maybe; - /** Minimum of rejectionCount across the matching connection */ - rejectionCount?: Maybe; -}; - -/** A connection to a list of `MultiSigSigner` values, with data from `MultiSigProposalVote`. */ -export type MultiSigProposalMultiSigSignersByMultiSigProposalVoteProposalIdAndSignerIdManyToManyConnection = - { - __typename?: 'MultiSigProposalMultiSigSignersByMultiSigProposalVoteProposalIdAndSignerIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `MultiSigSigner`, info from the `MultiSigProposalVote`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `MultiSigSigner` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `MultiSigSigner` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `MultiSigSigner` values, with data from `MultiSigProposalVote`. */ -export type MultiSigProposalMultiSigSignersByMultiSigProposalVoteProposalIdAndSignerIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `MultiSigSigner` edge in the connection, with data from `MultiSigProposalVote`. */ -export type MultiSigProposalMultiSigSignersByMultiSigProposalVoteProposalIdAndSignerIdManyToManyEdge = - { - __typename?: 'MultiSigProposalMultiSigSignersByMultiSigProposalVoteProposalIdAndSignerIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `MultiSigSigner` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `MultiSigProposalVote`. */ - votes: MultiSigProposalVotesConnection; - }; - -/** A `MultiSigSigner` edge in the connection, with data from `MultiSigProposalVote`. */ -export type MultiSigProposalMultiSigSignersByMultiSigProposalVoteProposalIdAndSignerIdManyToManyEdgeVotesArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -export type MultiSigProposalStddevPopulationAggregateFilter = { - approvalCount?: InputMaybe; - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; - proposalId?: InputMaybe; - rejectionCount?: InputMaybe; -}; - -export type MultiSigProposalStddevPopulationAggregates = { - __typename?: 'MultiSigProposalStddevPopulationAggregates'; - /** Population standard deviation of approvalCount across the matching connection */ - approvalCount?: Maybe; - /** Population standard deviation of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Population standard deviation of extrinsicIdx across the matching connection */ - extrinsicIdx?: Maybe; - /** Population standard deviation of proposalId across the matching connection */ - proposalId?: Maybe; - /** Population standard deviation of rejectionCount across the matching connection */ - rejectionCount?: Maybe; -}; - -export type MultiSigProposalStddevSampleAggregateFilter = { - approvalCount?: InputMaybe; - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; - proposalId?: InputMaybe; - rejectionCount?: InputMaybe; -}; - -export type MultiSigProposalStddevSampleAggregates = { - __typename?: 'MultiSigProposalStddevSampleAggregates'; - /** Sample standard deviation of approvalCount across the matching connection */ - approvalCount?: Maybe; - /** Sample standard deviation of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Sample standard deviation of extrinsicIdx across the matching connection */ - extrinsicIdx?: Maybe; - /** Sample standard deviation of proposalId across the matching connection */ - proposalId?: Maybe; - /** Sample standard deviation of rejectionCount across the matching connection */ - rejectionCount?: Maybe; -}; - -export type MultiSigProposalSumAggregateFilter = { - approvalCount?: InputMaybe; - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; - proposalId?: InputMaybe; - rejectionCount?: InputMaybe; -}; - -export type MultiSigProposalSumAggregates = { - __typename?: 'MultiSigProposalSumAggregates'; - /** Sum of approvalCount across the matching connection */ - approvalCount: Scalars['BigInt']['output']; - /** Sum of eventIdx across the matching connection */ - eventIdx: Scalars['BigInt']['output']; - /** Sum of extrinsicIdx across the matching connection */ - extrinsicIdx: Scalars['BigInt']['output']; - /** Sum of proposalId across the matching connection */ - proposalId: Scalars['BigInt']['output']; - /** Sum of rejectionCount across the matching connection */ - rejectionCount: Scalars['BigInt']['output']; -}; - -/** A filter to be used against many `MultiSigProposalVote` object types. All fields are combined with a logical ‘and.’ */ -export type MultiSigProposalToManyMultiSigProposalVoteFilter = { - /** Aggregates across related `MultiSigProposalVote` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `MultiSigProposalVote` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `MultiSigProposalVote` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `MultiSigProposalVote` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -export type MultiSigProposalVariancePopulationAggregateFilter = { - approvalCount?: InputMaybe; - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; - proposalId?: InputMaybe; - rejectionCount?: InputMaybe; -}; - -export type MultiSigProposalVariancePopulationAggregates = { - __typename?: 'MultiSigProposalVariancePopulationAggregates'; - /** Population variance of approvalCount across the matching connection */ - approvalCount?: Maybe; - /** Population variance of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Population variance of extrinsicIdx across the matching connection */ - extrinsicIdx?: Maybe; - /** Population variance of proposalId across the matching connection */ - proposalId?: Maybe; - /** Population variance of rejectionCount across the matching connection */ - rejectionCount?: Maybe; -}; - -export type MultiSigProposalVarianceSampleAggregateFilter = { - approvalCount?: InputMaybe; - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; - proposalId?: InputMaybe; - rejectionCount?: InputMaybe; -}; - -export type MultiSigProposalVarianceSampleAggregates = { - __typename?: 'MultiSigProposalVarianceSampleAggregates'; - /** Sample variance of approvalCount across the matching connection */ - approvalCount?: Maybe; - /** Sample variance of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Sample variance of extrinsicIdx across the matching connection */ - extrinsicIdx?: Maybe; - /** Sample variance of proposalId across the matching connection */ - proposalId?: Maybe; - /** Sample variance of rejectionCount across the matching connection */ - rejectionCount?: Maybe; -}; - -/** Represents a MultiSig proposal vote */ -export type MultiSigProposalVote = Node & { - __typename?: 'MultiSigProposalVote'; - action?: Maybe; - createdAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `MultiSigProposalVote`. */ - createdBlock?: Maybe; - createdBlockId: Scalars['String']['output']; - datetime: Scalars['Datetime']['output']; - eventIdx: Scalars['Int']['output']; - extrinsicIdx: Scalars['Int']['output']; - id: Scalars['String']['output']; - /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ - nodeId: Scalars['ID']['output']; - /** Reads a single `MultiSigProposal` that is related to this `MultiSigProposalVote`. */ - proposal?: Maybe; - proposalId: Scalars['String']['output']; - /** Reads a single `MultiSigSigner` that is related to this `MultiSigProposalVote`. */ - signer?: Maybe; - signerId: Scalars['String']['output']; - updatedAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `MultiSigProposalVote`. */ - updatedBlock?: Maybe; - updatedBlockId: Scalars['String']['output']; -}; - -/** Represents action performed on MultiSig proposal */ -export enum MultiSigProposalVoteActionEnum { - Approved = 'Approved', - Rejected = 'Rejected', -} - -/** A filter to be used against MultiSigProposalVoteActionEnum fields. All fields are combined with a logical ‘and.’ */ -export type MultiSigProposalVoteActionEnumFilter = { - /** Not equal to the specified value, treating null like an ordinary value. */ - distinctFrom?: InputMaybe; - /** Equal to the specified value. */ - equalTo?: InputMaybe; - /** Greater than the specified value. */ - greaterThan?: InputMaybe; - /** Greater than or equal to the specified value. */ - greaterThanOrEqualTo?: InputMaybe; - /** Included in the specified list. */ - in?: InputMaybe>; - /** Is null (if `true` is specified) or is not null (if `false` is specified). */ - isNull?: InputMaybe; - /** Less than the specified value. */ - lessThan?: InputMaybe; - /** Less than or equal to the specified value. */ - lessThanOrEqualTo?: InputMaybe; - /** Equal to the specified value, treating null like an ordinary value. */ - notDistinctFrom?: InputMaybe; - /** Not equal to the specified value. */ - notEqualTo?: InputMaybe; - /** Not included in the specified list. */ - notIn?: InputMaybe>; -}; - -export type MultiSigProposalVoteAggregates = { - __typename?: 'MultiSigProposalVoteAggregates'; - /** Mean average aggregates across the matching connection (ignoring before/after/first/last/offset) */ - average?: Maybe; - /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ - distinctCount?: Maybe; - keys?: Maybe>; - /** Maximum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - max?: Maybe; - /** Minimum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - min?: Maybe; - /** Population standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevPopulation?: Maybe; - /** Sample standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevSample?: Maybe; - /** Sum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - sum?: Maybe; - /** Population variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - variancePopulation?: Maybe; - /** Sample variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - varianceSample?: Maybe; -}; - -/** A filter to be used against aggregates of `MultiSigProposalVote` object types. */ -export type MultiSigProposalVoteAggregatesFilter = { - /** Mean average aggregate over matching `MultiSigProposalVote` objects. */ - average?: InputMaybe; - /** Distinct count aggregate over matching `MultiSigProposalVote` objects. */ - distinctCount?: InputMaybe; - /** A filter that must pass for the relevant `MultiSigProposalVote` object to be included within the aggregate. */ - filter?: InputMaybe; - /** Maximum aggregate over matching `MultiSigProposalVote` objects. */ - max?: InputMaybe; - /** Minimum aggregate over matching `MultiSigProposalVote` objects. */ - min?: InputMaybe; - /** Population standard deviation aggregate over matching `MultiSigProposalVote` objects. */ - stddevPopulation?: InputMaybe; - /** Sample standard deviation aggregate over matching `MultiSigProposalVote` objects. */ - stddevSample?: InputMaybe; - /** Sum aggregate over matching `MultiSigProposalVote` objects. */ - sum?: InputMaybe; - /** Population variance aggregate over matching `MultiSigProposalVote` objects. */ - variancePopulation?: InputMaybe; - /** Sample variance aggregate over matching `MultiSigProposalVote` objects. */ - varianceSample?: InputMaybe; -}; - -export type MultiSigProposalVoteAverageAggregateFilter = { - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; -}; - -export type MultiSigProposalVoteAverageAggregates = { - __typename?: 'MultiSigProposalVoteAverageAggregates'; - /** Mean average of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Mean average of extrinsicIdx across the matching connection */ - extrinsicIdx?: Maybe; -}; - -export type MultiSigProposalVoteDistinctCountAggregateFilter = { - action?: InputMaybe; - createdAt?: InputMaybe; - createdBlockId?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; - id?: InputMaybe; - proposalId?: InputMaybe; - signerId?: InputMaybe; - updatedAt?: InputMaybe; - updatedBlockId?: InputMaybe; -}; - -export type MultiSigProposalVoteDistinctCountAggregates = { - __typename?: 'MultiSigProposalVoteDistinctCountAggregates'; - /** Distinct count of action across the matching connection */ - action?: Maybe; - /** Distinct count of createdAt across the matching connection */ - createdAt?: Maybe; - /** Distinct count of createdBlockId across the matching connection */ - createdBlockId?: Maybe; - /** Distinct count of datetime across the matching connection */ - datetime?: Maybe; - /** Distinct count of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Distinct count of extrinsicIdx across the matching connection */ - extrinsicIdx?: Maybe; - /** Distinct count of id across the matching connection */ - id?: Maybe; - /** Distinct count of proposalId across the matching connection */ - proposalId?: Maybe; - /** Distinct count of signerId across the matching connection */ - signerId?: Maybe; - /** Distinct count of updatedAt across the matching connection */ - updatedAt?: Maybe; - /** Distinct count of updatedBlockId across the matching connection */ - updatedBlockId?: Maybe; -}; - -/** A filter to be used against `MultiSigProposalVote` object types. All fields are combined with a logical ‘and.’ */ -export type MultiSigProposalVoteFilter = { - /** Filter by the object’s `action` field. */ - action?: InputMaybe; - /** Checks for all expressions in this list. */ - and?: InputMaybe>; - /** Filter by the object’s `createdAt` field. */ - createdAt?: InputMaybe; - /** Filter by the object’s `createdBlock` relation. */ - createdBlock?: InputMaybe; - /** Filter by the object’s `createdBlockId` field. */ - createdBlockId?: InputMaybe; - /** Filter by the object’s `datetime` field. */ - datetime?: InputMaybe; - /** Filter by the object’s `eventIdx` field. */ - eventIdx?: InputMaybe; - /** Filter by the object’s `extrinsicIdx` field. */ - extrinsicIdx?: InputMaybe; - /** Filter by the object’s `id` field. */ - id?: InputMaybe; - /** Negates the expression. */ - not?: InputMaybe; - /** Checks for any expressions in this list. */ - or?: InputMaybe>; - /** Filter by the object’s `proposal` relation. */ - proposal?: InputMaybe; - /** Filter by the object’s `proposalId` field. */ - proposalId?: InputMaybe; - /** Filter by the object’s `signer` relation. */ - signer?: InputMaybe; - /** Filter by the object’s `signerId` field. */ - signerId?: InputMaybe; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: InputMaybe; - /** Filter by the object’s `updatedBlock` relation. */ - updatedBlock?: InputMaybe; - /** Filter by the object’s `updatedBlockId` field. */ - updatedBlockId?: InputMaybe; -}; - -export type MultiSigProposalVoteMaxAggregateFilter = { - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; -}; - -export type MultiSigProposalVoteMaxAggregates = { - __typename?: 'MultiSigProposalVoteMaxAggregates'; - /** Maximum of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Maximum of extrinsicIdx across the matching connection */ - extrinsicIdx?: Maybe; -}; - -export type MultiSigProposalVoteMinAggregateFilter = { - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; -}; - -export type MultiSigProposalVoteMinAggregates = { - __typename?: 'MultiSigProposalVoteMinAggregates'; - /** Minimum of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Minimum of extrinsicIdx across the matching connection */ - extrinsicIdx?: Maybe; -}; - -export type MultiSigProposalVoteStddevPopulationAggregateFilter = { - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; -}; - -export type MultiSigProposalVoteStddevPopulationAggregates = { - __typename?: 'MultiSigProposalVoteStddevPopulationAggregates'; - /** Population standard deviation of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Population standard deviation of extrinsicIdx across the matching connection */ - extrinsicIdx?: Maybe; -}; - -export type MultiSigProposalVoteStddevSampleAggregateFilter = { - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; -}; - -export type MultiSigProposalVoteStddevSampleAggregates = { - __typename?: 'MultiSigProposalVoteStddevSampleAggregates'; - /** Sample standard deviation of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Sample standard deviation of extrinsicIdx across the matching connection */ - extrinsicIdx?: Maybe; -}; - -export type MultiSigProposalVoteSumAggregateFilter = { - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; -}; - -export type MultiSigProposalVoteSumAggregates = { - __typename?: 'MultiSigProposalVoteSumAggregates'; - /** Sum of eventIdx across the matching connection */ - eventIdx: Scalars['BigInt']['output']; - /** Sum of extrinsicIdx across the matching connection */ - extrinsicIdx: Scalars['BigInt']['output']; -}; - -export type MultiSigProposalVoteVariancePopulationAggregateFilter = { - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; -}; - -export type MultiSigProposalVoteVariancePopulationAggregates = { - __typename?: 'MultiSigProposalVoteVariancePopulationAggregates'; - /** Population variance of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Population variance of extrinsicIdx across the matching connection */ - extrinsicIdx?: Maybe; -}; - -export type MultiSigProposalVoteVarianceSampleAggregateFilter = { - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; -}; - -export type MultiSigProposalVoteVarianceSampleAggregates = { - __typename?: 'MultiSigProposalVoteVarianceSampleAggregates'; - /** Sample variance of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Sample variance of extrinsicIdx across the matching connection */ - extrinsicIdx?: Maybe; -}; - -/** A connection to a list of `MultiSigProposalVote` values. */ -export type MultiSigProposalVotesConnection = { - __typename?: 'MultiSigProposalVotesConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `MultiSigProposalVote` and cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `MultiSigProposalVote` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `MultiSigProposalVote` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `MultiSigProposalVote` values. */ -export type MultiSigProposalVotesConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `MultiSigProposalVote` edge in the connection. */ -export type MultiSigProposalVotesEdge = { - __typename?: 'MultiSigProposalVotesEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `MultiSigProposalVote` at the end of the edge. */ - node?: Maybe; -}; - -/** Grouping methods for `MultiSigProposalVote` for usage during aggregation. */ -export enum MultiSigProposalVotesGroupBy { - Action = 'ACTION', - CreatedAt = 'CREATED_AT', - CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', - CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', - CreatedBlockId = 'CREATED_BLOCK_ID', - Datetime = 'DATETIME', - DatetimeTruncatedToDay = 'DATETIME_TRUNCATED_TO_DAY', - DatetimeTruncatedToHour = 'DATETIME_TRUNCATED_TO_HOUR', - EventIdx = 'EVENT_IDX', - ExtrinsicIdx = 'EXTRINSIC_IDX', - ProposalId = 'PROPOSAL_ID', - SignerId = 'SIGNER_ID', - UpdatedAt = 'UPDATED_AT', - UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', - UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export type MultiSigProposalVotesHavingAverageInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type MultiSigProposalVotesHavingDistinctCountInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Conditions for `MultiSigProposalVote` aggregates. */ -export type MultiSigProposalVotesHavingInput = { - AND?: InputMaybe>; - OR?: InputMaybe>; - average?: InputMaybe; - distinctCount?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddevPopulation?: InputMaybe; - stddevSample?: InputMaybe; - sum?: InputMaybe; - variancePopulation?: InputMaybe; - varianceSample?: InputMaybe; -}; - -export type MultiSigProposalVotesHavingMaxInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type MultiSigProposalVotesHavingMinInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type MultiSigProposalVotesHavingStddevPopulationInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type MultiSigProposalVotesHavingStddevSampleInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type MultiSigProposalVotesHavingSumInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type MultiSigProposalVotesHavingVariancePopulationInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type MultiSigProposalVotesHavingVarianceSampleInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Methods to use when ordering `MultiSigProposalVote`. */ -export enum MultiSigProposalVotesOrderBy { - ActionAsc = 'ACTION_ASC', - ActionDesc = 'ACTION_DESC', - CreatedAtAsc = 'CREATED_AT_ASC', - CreatedAtDesc = 'CREATED_AT_DESC', - CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', - CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', - DatetimeAsc = 'DATETIME_ASC', - DatetimeDesc = 'DATETIME_DESC', - EventIdxAsc = 'EVENT_IDX_ASC', - EventIdxDesc = 'EVENT_IDX_DESC', - ExtrinsicIdxAsc = 'EXTRINSIC_IDX_ASC', - ExtrinsicIdxDesc = 'EXTRINSIC_IDX_DESC', - IdAsc = 'ID_ASC', - IdDesc = 'ID_DESC', - Natural = 'NATURAL', - PrimaryKeyAsc = 'PRIMARY_KEY_ASC', - PrimaryKeyDesc = 'PRIMARY_KEY_DESC', - ProposalIdAsc = 'PROPOSAL_ID_ASC', - ProposalIdDesc = 'PROPOSAL_ID_DESC', - SignerIdAsc = 'SIGNER_ID_ASC', - SignerIdDesc = 'SIGNER_ID_DESC', - UpdatedAtAsc = 'UPDATED_AT_ASC', - UpdatedAtDesc = 'UPDATED_AT_DESC', - UpdatedBlockIdAsc = 'UPDATED_BLOCK_ID_ASC', - UpdatedBlockIdDesc = 'UPDATED_BLOCK_ID_DESC', -} - -/** A connection to a list of `MultiSigProposal` values. */ -export type MultiSigProposalsConnection = { - __typename?: 'MultiSigProposalsConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `MultiSigProposal` and cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `MultiSigProposal` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `MultiSigProposal` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `MultiSigProposal` values. */ -export type MultiSigProposalsConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `MultiSigProposal` edge in the connection. */ -export type MultiSigProposalsEdge = { - __typename?: 'MultiSigProposalsEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `MultiSigProposal` at the end of the edge. */ - node?: Maybe; -}; - -/** Grouping methods for `MultiSigProposal` for usage during aggregation. */ -export enum MultiSigProposalsGroupBy { - ApprovalCount = 'APPROVAL_COUNT', - CreatedAt = 'CREATED_AT', - CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', - CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', - CreatedBlockId = 'CREATED_BLOCK_ID', - CreatorAccount = 'CREATOR_ACCOUNT', - CreatorId = 'CREATOR_ID', - Datetime = 'DATETIME', - DatetimeTruncatedToDay = 'DATETIME_TRUNCATED_TO_DAY', - DatetimeTruncatedToHour = 'DATETIME_TRUNCATED_TO_HOUR', - EventIdx = 'EVENT_IDX', - ExtrinsicIdx = 'EXTRINSIC_IDX', - MultisigId = 'MULTISIG_ID', - ProposalId = 'PROPOSAL_ID', - RejectionCount = 'REJECTION_COUNT', - Status = 'STATUS', - UpdatedAt = 'UPDATED_AT', - UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', - UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export type MultiSigProposalsHavingAverageInput = { - approvalCount?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; - proposalId?: InputMaybe; - rejectionCount?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type MultiSigProposalsHavingDistinctCountInput = { - approvalCount?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; - proposalId?: InputMaybe; - rejectionCount?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Conditions for `MultiSigProposal` aggregates. */ -export type MultiSigProposalsHavingInput = { - AND?: InputMaybe>; - OR?: InputMaybe>; - average?: InputMaybe; - distinctCount?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddevPopulation?: InputMaybe; - stddevSample?: InputMaybe; - sum?: InputMaybe; - variancePopulation?: InputMaybe; - varianceSample?: InputMaybe; -}; - -export type MultiSigProposalsHavingMaxInput = { - approvalCount?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; - proposalId?: InputMaybe; - rejectionCount?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type MultiSigProposalsHavingMinInput = { - approvalCount?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; - proposalId?: InputMaybe; - rejectionCount?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type MultiSigProposalsHavingStddevPopulationInput = { - approvalCount?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; - proposalId?: InputMaybe; - rejectionCount?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type MultiSigProposalsHavingStddevSampleInput = { - approvalCount?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; - proposalId?: InputMaybe; - rejectionCount?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type MultiSigProposalsHavingSumInput = { - approvalCount?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; - proposalId?: InputMaybe; - rejectionCount?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type MultiSigProposalsHavingVariancePopulationInput = { - approvalCount?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; - proposalId?: InputMaybe; - rejectionCount?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type MultiSigProposalsHavingVarianceSampleInput = { - approvalCount?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - extrinsicIdx?: InputMaybe; - proposalId?: InputMaybe; - rejectionCount?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Methods to use when ordering `MultiSigProposal`. */ -export enum MultiSigProposalsOrderBy { - ApprovalCountAsc = 'APPROVAL_COUNT_ASC', - ApprovalCountDesc = 'APPROVAL_COUNT_DESC', - CreatedAtAsc = 'CREATED_AT_ASC', - CreatedAtDesc = 'CREATED_AT_DESC', - CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', - CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', - CreatorAccountAsc = 'CREATOR_ACCOUNT_ASC', - CreatorAccountDesc = 'CREATOR_ACCOUNT_DESC', - CreatorIdAsc = 'CREATOR_ID_ASC', - CreatorIdDesc = 'CREATOR_ID_DESC', - DatetimeAsc = 'DATETIME_ASC', - DatetimeDesc = 'DATETIME_DESC', - EventIdxAsc = 'EVENT_IDX_ASC', - EventIdxDesc = 'EVENT_IDX_DESC', - ExtrinsicIdxAsc = 'EXTRINSIC_IDX_ASC', - ExtrinsicIdxDesc = 'EXTRINSIC_IDX_DESC', - IdAsc = 'ID_ASC', - IdDesc = 'ID_DESC', - MultisigIdAsc = 'MULTISIG_ID_ASC', - MultisigIdDesc = 'MULTISIG_ID_DESC', - Natural = 'NATURAL', - PrimaryKeyAsc = 'PRIMARY_KEY_ASC', - PrimaryKeyDesc = 'PRIMARY_KEY_DESC', - ProposalIdAsc = 'PROPOSAL_ID_ASC', - ProposalIdDesc = 'PROPOSAL_ID_DESC', - RejectionCountAsc = 'REJECTION_COUNT_ASC', - RejectionCountDesc = 'REJECTION_COUNT_DESC', - StatusAsc = 'STATUS_ASC', - StatusDesc = 'STATUS_DESC', - UpdatedAtAsc = 'UPDATED_AT_ASC', - UpdatedAtDesc = 'UPDATED_AT_DESC', - UpdatedBlockIdAsc = 'UPDATED_BLOCK_ID_ASC', - UpdatedBlockIdDesc = 'UPDATED_BLOCK_ID_DESC', - VotesAverageActionAsc = 'VOTES_AVERAGE_ACTION_ASC', - VotesAverageActionDesc = 'VOTES_AVERAGE_ACTION_DESC', - VotesAverageCreatedAtAsc = 'VOTES_AVERAGE_CREATED_AT_ASC', - VotesAverageCreatedAtDesc = 'VOTES_AVERAGE_CREATED_AT_DESC', - VotesAverageCreatedBlockIdAsc = 'VOTES_AVERAGE_CREATED_BLOCK_ID_ASC', - VotesAverageCreatedBlockIdDesc = 'VOTES_AVERAGE_CREATED_BLOCK_ID_DESC', - VotesAverageDatetimeAsc = 'VOTES_AVERAGE_DATETIME_ASC', - VotesAverageDatetimeDesc = 'VOTES_AVERAGE_DATETIME_DESC', - VotesAverageEventIdxAsc = 'VOTES_AVERAGE_EVENT_IDX_ASC', - VotesAverageEventIdxDesc = 'VOTES_AVERAGE_EVENT_IDX_DESC', - VotesAverageExtrinsicIdxAsc = 'VOTES_AVERAGE_EXTRINSIC_IDX_ASC', - VotesAverageExtrinsicIdxDesc = 'VOTES_AVERAGE_EXTRINSIC_IDX_DESC', - VotesAverageIdAsc = 'VOTES_AVERAGE_ID_ASC', - VotesAverageIdDesc = 'VOTES_AVERAGE_ID_DESC', - VotesAverageProposalIdAsc = 'VOTES_AVERAGE_PROPOSAL_ID_ASC', - VotesAverageProposalIdDesc = 'VOTES_AVERAGE_PROPOSAL_ID_DESC', - VotesAverageSignerIdAsc = 'VOTES_AVERAGE_SIGNER_ID_ASC', - VotesAverageSignerIdDesc = 'VOTES_AVERAGE_SIGNER_ID_DESC', - VotesAverageUpdatedAtAsc = 'VOTES_AVERAGE_UPDATED_AT_ASC', - VotesAverageUpdatedAtDesc = 'VOTES_AVERAGE_UPDATED_AT_DESC', - VotesAverageUpdatedBlockIdAsc = 'VOTES_AVERAGE_UPDATED_BLOCK_ID_ASC', - VotesAverageUpdatedBlockIdDesc = 'VOTES_AVERAGE_UPDATED_BLOCK_ID_DESC', - VotesCountAsc = 'VOTES_COUNT_ASC', - VotesCountDesc = 'VOTES_COUNT_DESC', - VotesDistinctCountActionAsc = 'VOTES_DISTINCT_COUNT_ACTION_ASC', - VotesDistinctCountActionDesc = 'VOTES_DISTINCT_COUNT_ACTION_DESC', - VotesDistinctCountCreatedAtAsc = 'VOTES_DISTINCT_COUNT_CREATED_AT_ASC', - VotesDistinctCountCreatedAtDesc = 'VOTES_DISTINCT_COUNT_CREATED_AT_DESC', - VotesDistinctCountCreatedBlockIdAsc = 'VOTES_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - VotesDistinctCountCreatedBlockIdDesc = 'VOTES_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - VotesDistinctCountDatetimeAsc = 'VOTES_DISTINCT_COUNT_DATETIME_ASC', - VotesDistinctCountDatetimeDesc = 'VOTES_DISTINCT_COUNT_DATETIME_DESC', - VotesDistinctCountEventIdxAsc = 'VOTES_DISTINCT_COUNT_EVENT_IDX_ASC', - VotesDistinctCountEventIdxDesc = 'VOTES_DISTINCT_COUNT_EVENT_IDX_DESC', - VotesDistinctCountExtrinsicIdxAsc = 'VOTES_DISTINCT_COUNT_EXTRINSIC_IDX_ASC', - VotesDistinctCountExtrinsicIdxDesc = 'VOTES_DISTINCT_COUNT_EXTRINSIC_IDX_DESC', - VotesDistinctCountIdAsc = 'VOTES_DISTINCT_COUNT_ID_ASC', - VotesDistinctCountIdDesc = 'VOTES_DISTINCT_COUNT_ID_DESC', - VotesDistinctCountProposalIdAsc = 'VOTES_DISTINCT_COUNT_PROPOSAL_ID_ASC', - VotesDistinctCountProposalIdDesc = 'VOTES_DISTINCT_COUNT_PROPOSAL_ID_DESC', - VotesDistinctCountSignerIdAsc = 'VOTES_DISTINCT_COUNT_SIGNER_ID_ASC', - VotesDistinctCountSignerIdDesc = 'VOTES_DISTINCT_COUNT_SIGNER_ID_DESC', - VotesDistinctCountUpdatedAtAsc = 'VOTES_DISTINCT_COUNT_UPDATED_AT_ASC', - VotesDistinctCountUpdatedAtDesc = 'VOTES_DISTINCT_COUNT_UPDATED_AT_DESC', - VotesDistinctCountUpdatedBlockIdAsc = 'VOTES_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - VotesDistinctCountUpdatedBlockIdDesc = 'VOTES_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - VotesMaxActionAsc = 'VOTES_MAX_ACTION_ASC', - VotesMaxActionDesc = 'VOTES_MAX_ACTION_DESC', - VotesMaxCreatedAtAsc = 'VOTES_MAX_CREATED_AT_ASC', - VotesMaxCreatedAtDesc = 'VOTES_MAX_CREATED_AT_DESC', - VotesMaxCreatedBlockIdAsc = 'VOTES_MAX_CREATED_BLOCK_ID_ASC', - VotesMaxCreatedBlockIdDesc = 'VOTES_MAX_CREATED_BLOCK_ID_DESC', - VotesMaxDatetimeAsc = 'VOTES_MAX_DATETIME_ASC', - VotesMaxDatetimeDesc = 'VOTES_MAX_DATETIME_DESC', - VotesMaxEventIdxAsc = 'VOTES_MAX_EVENT_IDX_ASC', - VotesMaxEventIdxDesc = 'VOTES_MAX_EVENT_IDX_DESC', - VotesMaxExtrinsicIdxAsc = 'VOTES_MAX_EXTRINSIC_IDX_ASC', - VotesMaxExtrinsicIdxDesc = 'VOTES_MAX_EXTRINSIC_IDX_DESC', - VotesMaxIdAsc = 'VOTES_MAX_ID_ASC', - VotesMaxIdDesc = 'VOTES_MAX_ID_DESC', - VotesMaxProposalIdAsc = 'VOTES_MAX_PROPOSAL_ID_ASC', - VotesMaxProposalIdDesc = 'VOTES_MAX_PROPOSAL_ID_DESC', - VotesMaxSignerIdAsc = 'VOTES_MAX_SIGNER_ID_ASC', - VotesMaxSignerIdDesc = 'VOTES_MAX_SIGNER_ID_DESC', - VotesMaxUpdatedAtAsc = 'VOTES_MAX_UPDATED_AT_ASC', - VotesMaxUpdatedAtDesc = 'VOTES_MAX_UPDATED_AT_DESC', - VotesMaxUpdatedBlockIdAsc = 'VOTES_MAX_UPDATED_BLOCK_ID_ASC', - VotesMaxUpdatedBlockIdDesc = 'VOTES_MAX_UPDATED_BLOCK_ID_DESC', - VotesMinActionAsc = 'VOTES_MIN_ACTION_ASC', - VotesMinActionDesc = 'VOTES_MIN_ACTION_DESC', - VotesMinCreatedAtAsc = 'VOTES_MIN_CREATED_AT_ASC', - VotesMinCreatedAtDesc = 'VOTES_MIN_CREATED_AT_DESC', - VotesMinCreatedBlockIdAsc = 'VOTES_MIN_CREATED_BLOCK_ID_ASC', - VotesMinCreatedBlockIdDesc = 'VOTES_MIN_CREATED_BLOCK_ID_DESC', - VotesMinDatetimeAsc = 'VOTES_MIN_DATETIME_ASC', - VotesMinDatetimeDesc = 'VOTES_MIN_DATETIME_DESC', - VotesMinEventIdxAsc = 'VOTES_MIN_EVENT_IDX_ASC', - VotesMinEventIdxDesc = 'VOTES_MIN_EVENT_IDX_DESC', - VotesMinExtrinsicIdxAsc = 'VOTES_MIN_EXTRINSIC_IDX_ASC', - VotesMinExtrinsicIdxDesc = 'VOTES_MIN_EXTRINSIC_IDX_DESC', - VotesMinIdAsc = 'VOTES_MIN_ID_ASC', - VotesMinIdDesc = 'VOTES_MIN_ID_DESC', - VotesMinProposalIdAsc = 'VOTES_MIN_PROPOSAL_ID_ASC', - VotesMinProposalIdDesc = 'VOTES_MIN_PROPOSAL_ID_DESC', - VotesMinSignerIdAsc = 'VOTES_MIN_SIGNER_ID_ASC', - VotesMinSignerIdDesc = 'VOTES_MIN_SIGNER_ID_DESC', - VotesMinUpdatedAtAsc = 'VOTES_MIN_UPDATED_AT_ASC', - VotesMinUpdatedAtDesc = 'VOTES_MIN_UPDATED_AT_DESC', - VotesMinUpdatedBlockIdAsc = 'VOTES_MIN_UPDATED_BLOCK_ID_ASC', - VotesMinUpdatedBlockIdDesc = 'VOTES_MIN_UPDATED_BLOCK_ID_DESC', - VotesStddevPopulationActionAsc = 'VOTES_STDDEV_POPULATION_ACTION_ASC', - VotesStddevPopulationActionDesc = 'VOTES_STDDEV_POPULATION_ACTION_DESC', - VotesStddevPopulationCreatedAtAsc = 'VOTES_STDDEV_POPULATION_CREATED_AT_ASC', - VotesStddevPopulationCreatedAtDesc = 'VOTES_STDDEV_POPULATION_CREATED_AT_DESC', - VotesStddevPopulationCreatedBlockIdAsc = 'VOTES_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - VotesStddevPopulationCreatedBlockIdDesc = 'VOTES_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - VotesStddevPopulationDatetimeAsc = 'VOTES_STDDEV_POPULATION_DATETIME_ASC', - VotesStddevPopulationDatetimeDesc = 'VOTES_STDDEV_POPULATION_DATETIME_DESC', - VotesStddevPopulationEventIdxAsc = 'VOTES_STDDEV_POPULATION_EVENT_IDX_ASC', - VotesStddevPopulationEventIdxDesc = 'VOTES_STDDEV_POPULATION_EVENT_IDX_DESC', - VotesStddevPopulationExtrinsicIdxAsc = 'VOTES_STDDEV_POPULATION_EXTRINSIC_IDX_ASC', - VotesStddevPopulationExtrinsicIdxDesc = 'VOTES_STDDEV_POPULATION_EXTRINSIC_IDX_DESC', - VotesStddevPopulationIdAsc = 'VOTES_STDDEV_POPULATION_ID_ASC', - VotesStddevPopulationIdDesc = 'VOTES_STDDEV_POPULATION_ID_DESC', - VotesStddevPopulationProposalIdAsc = 'VOTES_STDDEV_POPULATION_PROPOSAL_ID_ASC', - VotesStddevPopulationProposalIdDesc = 'VOTES_STDDEV_POPULATION_PROPOSAL_ID_DESC', - VotesStddevPopulationSignerIdAsc = 'VOTES_STDDEV_POPULATION_SIGNER_ID_ASC', - VotesStddevPopulationSignerIdDesc = 'VOTES_STDDEV_POPULATION_SIGNER_ID_DESC', - VotesStddevPopulationUpdatedAtAsc = 'VOTES_STDDEV_POPULATION_UPDATED_AT_ASC', - VotesStddevPopulationUpdatedAtDesc = 'VOTES_STDDEV_POPULATION_UPDATED_AT_DESC', - VotesStddevPopulationUpdatedBlockIdAsc = 'VOTES_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - VotesStddevPopulationUpdatedBlockIdDesc = 'VOTES_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - VotesStddevSampleActionAsc = 'VOTES_STDDEV_SAMPLE_ACTION_ASC', - VotesStddevSampleActionDesc = 'VOTES_STDDEV_SAMPLE_ACTION_DESC', - VotesStddevSampleCreatedAtAsc = 'VOTES_STDDEV_SAMPLE_CREATED_AT_ASC', - VotesStddevSampleCreatedAtDesc = 'VOTES_STDDEV_SAMPLE_CREATED_AT_DESC', - VotesStddevSampleCreatedBlockIdAsc = 'VOTES_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - VotesStddevSampleCreatedBlockIdDesc = 'VOTES_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - VotesStddevSampleDatetimeAsc = 'VOTES_STDDEV_SAMPLE_DATETIME_ASC', - VotesStddevSampleDatetimeDesc = 'VOTES_STDDEV_SAMPLE_DATETIME_DESC', - VotesStddevSampleEventIdxAsc = 'VOTES_STDDEV_SAMPLE_EVENT_IDX_ASC', - VotesStddevSampleEventIdxDesc = 'VOTES_STDDEV_SAMPLE_EVENT_IDX_DESC', - VotesStddevSampleExtrinsicIdxAsc = 'VOTES_STDDEV_SAMPLE_EXTRINSIC_IDX_ASC', - VotesStddevSampleExtrinsicIdxDesc = 'VOTES_STDDEV_SAMPLE_EXTRINSIC_IDX_DESC', - VotesStddevSampleIdAsc = 'VOTES_STDDEV_SAMPLE_ID_ASC', - VotesStddevSampleIdDesc = 'VOTES_STDDEV_SAMPLE_ID_DESC', - VotesStddevSampleProposalIdAsc = 'VOTES_STDDEV_SAMPLE_PROPOSAL_ID_ASC', - VotesStddevSampleProposalIdDesc = 'VOTES_STDDEV_SAMPLE_PROPOSAL_ID_DESC', - VotesStddevSampleSignerIdAsc = 'VOTES_STDDEV_SAMPLE_SIGNER_ID_ASC', - VotesStddevSampleSignerIdDesc = 'VOTES_STDDEV_SAMPLE_SIGNER_ID_DESC', - VotesStddevSampleUpdatedAtAsc = 'VOTES_STDDEV_SAMPLE_UPDATED_AT_ASC', - VotesStddevSampleUpdatedAtDesc = 'VOTES_STDDEV_SAMPLE_UPDATED_AT_DESC', - VotesStddevSampleUpdatedBlockIdAsc = 'VOTES_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - VotesStddevSampleUpdatedBlockIdDesc = 'VOTES_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - VotesSumActionAsc = 'VOTES_SUM_ACTION_ASC', - VotesSumActionDesc = 'VOTES_SUM_ACTION_DESC', - VotesSumCreatedAtAsc = 'VOTES_SUM_CREATED_AT_ASC', - VotesSumCreatedAtDesc = 'VOTES_SUM_CREATED_AT_DESC', - VotesSumCreatedBlockIdAsc = 'VOTES_SUM_CREATED_BLOCK_ID_ASC', - VotesSumCreatedBlockIdDesc = 'VOTES_SUM_CREATED_BLOCK_ID_DESC', - VotesSumDatetimeAsc = 'VOTES_SUM_DATETIME_ASC', - VotesSumDatetimeDesc = 'VOTES_SUM_DATETIME_DESC', - VotesSumEventIdxAsc = 'VOTES_SUM_EVENT_IDX_ASC', - VotesSumEventIdxDesc = 'VOTES_SUM_EVENT_IDX_DESC', - VotesSumExtrinsicIdxAsc = 'VOTES_SUM_EXTRINSIC_IDX_ASC', - VotesSumExtrinsicIdxDesc = 'VOTES_SUM_EXTRINSIC_IDX_DESC', - VotesSumIdAsc = 'VOTES_SUM_ID_ASC', - VotesSumIdDesc = 'VOTES_SUM_ID_DESC', - VotesSumProposalIdAsc = 'VOTES_SUM_PROPOSAL_ID_ASC', - VotesSumProposalIdDesc = 'VOTES_SUM_PROPOSAL_ID_DESC', - VotesSumSignerIdAsc = 'VOTES_SUM_SIGNER_ID_ASC', - VotesSumSignerIdDesc = 'VOTES_SUM_SIGNER_ID_DESC', - VotesSumUpdatedAtAsc = 'VOTES_SUM_UPDATED_AT_ASC', - VotesSumUpdatedAtDesc = 'VOTES_SUM_UPDATED_AT_DESC', - VotesSumUpdatedBlockIdAsc = 'VOTES_SUM_UPDATED_BLOCK_ID_ASC', - VotesSumUpdatedBlockIdDesc = 'VOTES_SUM_UPDATED_BLOCK_ID_DESC', - VotesVariancePopulationActionAsc = 'VOTES_VARIANCE_POPULATION_ACTION_ASC', - VotesVariancePopulationActionDesc = 'VOTES_VARIANCE_POPULATION_ACTION_DESC', - VotesVariancePopulationCreatedAtAsc = 'VOTES_VARIANCE_POPULATION_CREATED_AT_ASC', - VotesVariancePopulationCreatedAtDesc = 'VOTES_VARIANCE_POPULATION_CREATED_AT_DESC', - VotesVariancePopulationCreatedBlockIdAsc = 'VOTES_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - VotesVariancePopulationCreatedBlockIdDesc = 'VOTES_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - VotesVariancePopulationDatetimeAsc = 'VOTES_VARIANCE_POPULATION_DATETIME_ASC', - VotesVariancePopulationDatetimeDesc = 'VOTES_VARIANCE_POPULATION_DATETIME_DESC', - VotesVariancePopulationEventIdxAsc = 'VOTES_VARIANCE_POPULATION_EVENT_IDX_ASC', - VotesVariancePopulationEventIdxDesc = 'VOTES_VARIANCE_POPULATION_EVENT_IDX_DESC', - VotesVariancePopulationExtrinsicIdxAsc = 'VOTES_VARIANCE_POPULATION_EXTRINSIC_IDX_ASC', - VotesVariancePopulationExtrinsicIdxDesc = 'VOTES_VARIANCE_POPULATION_EXTRINSIC_IDX_DESC', - VotesVariancePopulationIdAsc = 'VOTES_VARIANCE_POPULATION_ID_ASC', - VotesVariancePopulationIdDesc = 'VOTES_VARIANCE_POPULATION_ID_DESC', - VotesVariancePopulationProposalIdAsc = 'VOTES_VARIANCE_POPULATION_PROPOSAL_ID_ASC', - VotesVariancePopulationProposalIdDesc = 'VOTES_VARIANCE_POPULATION_PROPOSAL_ID_DESC', - VotesVariancePopulationSignerIdAsc = 'VOTES_VARIANCE_POPULATION_SIGNER_ID_ASC', - VotesVariancePopulationSignerIdDesc = 'VOTES_VARIANCE_POPULATION_SIGNER_ID_DESC', - VotesVariancePopulationUpdatedAtAsc = 'VOTES_VARIANCE_POPULATION_UPDATED_AT_ASC', - VotesVariancePopulationUpdatedAtDesc = 'VOTES_VARIANCE_POPULATION_UPDATED_AT_DESC', - VotesVariancePopulationUpdatedBlockIdAsc = 'VOTES_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - VotesVariancePopulationUpdatedBlockIdDesc = 'VOTES_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - VotesVarianceSampleActionAsc = 'VOTES_VARIANCE_SAMPLE_ACTION_ASC', - VotesVarianceSampleActionDesc = 'VOTES_VARIANCE_SAMPLE_ACTION_DESC', - VotesVarianceSampleCreatedAtAsc = 'VOTES_VARIANCE_SAMPLE_CREATED_AT_ASC', - VotesVarianceSampleCreatedAtDesc = 'VOTES_VARIANCE_SAMPLE_CREATED_AT_DESC', - VotesVarianceSampleCreatedBlockIdAsc = 'VOTES_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - VotesVarianceSampleCreatedBlockIdDesc = 'VOTES_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - VotesVarianceSampleDatetimeAsc = 'VOTES_VARIANCE_SAMPLE_DATETIME_ASC', - VotesVarianceSampleDatetimeDesc = 'VOTES_VARIANCE_SAMPLE_DATETIME_DESC', - VotesVarianceSampleEventIdxAsc = 'VOTES_VARIANCE_SAMPLE_EVENT_IDX_ASC', - VotesVarianceSampleEventIdxDesc = 'VOTES_VARIANCE_SAMPLE_EVENT_IDX_DESC', - VotesVarianceSampleExtrinsicIdxAsc = 'VOTES_VARIANCE_SAMPLE_EXTRINSIC_IDX_ASC', - VotesVarianceSampleExtrinsicIdxDesc = 'VOTES_VARIANCE_SAMPLE_EXTRINSIC_IDX_DESC', - VotesVarianceSampleIdAsc = 'VOTES_VARIANCE_SAMPLE_ID_ASC', - VotesVarianceSampleIdDesc = 'VOTES_VARIANCE_SAMPLE_ID_DESC', - VotesVarianceSampleProposalIdAsc = 'VOTES_VARIANCE_SAMPLE_PROPOSAL_ID_ASC', - VotesVarianceSampleProposalIdDesc = 'VOTES_VARIANCE_SAMPLE_PROPOSAL_ID_DESC', - VotesVarianceSampleSignerIdAsc = 'VOTES_VARIANCE_SAMPLE_SIGNER_ID_ASC', - VotesVarianceSampleSignerIdDesc = 'VOTES_VARIANCE_SAMPLE_SIGNER_ID_DESC', - VotesVarianceSampleUpdatedAtAsc = 'VOTES_VARIANCE_SAMPLE_UPDATED_AT_ASC', - VotesVarianceSampleUpdatedAtDesc = 'VOTES_VARIANCE_SAMPLE_UPDATED_AT_DESC', - VotesVarianceSampleUpdatedBlockIdAsc = 'VOTES_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - VotesVarianceSampleUpdatedBlockIdDesc = 'VOTES_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', -} - -/** Represents a MultiSig signer */ -export type MultiSigSigner = Node & { - __typename?: 'MultiSigSigner'; - /** Reads and enables pagination through a set of `Block`. */ - blocksByMultiSigProposalVoteSignerIdAndCreatedBlockId: MultiSigSignerBlocksByMultiSigProposalVoteSignerIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByMultiSigProposalVoteSignerIdAndUpdatedBlockId: MultiSigSignerBlocksByMultiSigProposalVoteSignerIdAndUpdatedBlockIdManyToManyConnection; - createdAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `MultiSigSigner`. */ - createdBlock?: Maybe; - createdBlockId: Scalars['String']['output']; - id: Scalars['String']['output']; - /** Reads and enables pagination through a set of `MultiSigProposal`. */ - multiSigProposalsByMultiSigProposalVoteSignerIdAndProposalId: MultiSigSignerMultiSigProposalsByMultiSigProposalVoteSignerIdAndProposalIdManyToManyConnection; - /** Reads a single `MultiSig` that is related to this `MultiSigSigner`. */ - multisig?: Maybe; - multisigId: Scalars['String']['output']; - /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ - nodeId: Scalars['ID']['output']; - signerType: SignerTypeEnum; - signerValue: Scalars['String']['output']; - status: MultiSigSignerStatusEnum; - updatedAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `MultiSigSigner`. */ - updatedBlock?: Maybe; - updatedBlockId: Scalars['String']['output']; - /** Reads and enables pagination through a set of `MultiSigProposalVote`. */ - votes: MultiSigProposalVotesConnection; -}; - -/** Represents a MultiSig signer */ -export type MultiSigSignerBlocksByMultiSigProposalVoteSignerIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a MultiSig signer */ -export type MultiSigSignerBlocksByMultiSigProposalVoteSignerIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a MultiSig signer */ -export type MultiSigSignerMultiSigProposalsByMultiSigProposalVoteSignerIdAndProposalIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a MultiSig signer */ -export type MultiSigSignerVotesArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -export type MultiSigSignerAggregates = { - __typename?: 'MultiSigSignerAggregates'; - /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ - distinctCount?: Maybe; - keys?: Maybe>; -}; - -/** A filter to be used against aggregates of `MultiSigSigner` object types. */ -export type MultiSigSignerAggregatesFilter = { - /** Distinct count aggregate over matching `MultiSigSigner` objects. */ - distinctCount?: InputMaybe; - /** A filter that must pass for the relevant `MultiSigSigner` object to be included within the aggregate. */ - filter?: InputMaybe; -}; - -/** A connection to a list of `Block` values, with data from `MultiSigProposalVote`. */ -export type MultiSigSignerBlocksByMultiSigProposalVoteSignerIdAndCreatedBlockIdManyToManyConnection = - { - __typename?: 'MultiSigSignerBlocksByMultiSigProposalVoteSignerIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `MultiSigProposalVote`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Block` values, with data from `MultiSigProposalVote`. */ -export type MultiSigSignerBlocksByMultiSigProposalVoteSignerIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `MultiSigProposalVote`. */ -export type MultiSigSignerBlocksByMultiSigProposalVoteSignerIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'MultiSigSignerBlocksByMultiSigProposalVoteSignerIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `MultiSigProposalVote`. */ - multiSigProposalVotesByCreatedBlockId: MultiSigProposalVotesConnection; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `MultiSigProposalVote`. */ -export type MultiSigSignerBlocksByMultiSigProposalVoteSignerIdAndCreatedBlockIdManyToManyEdgeMultiSigProposalVotesByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `MultiSigProposalVote`. */ -export type MultiSigSignerBlocksByMultiSigProposalVoteSignerIdAndUpdatedBlockIdManyToManyConnection = - { - __typename?: 'MultiSigSignerBlocksByMultiSigProposalVoteSignerIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `MultiSigProposalVote`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Block` values, with data from `MultiSigProposalVote`. */ -export type MultiSigSignerBlocksByMultiSigProposalVoteSignerIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `MultiSigProposalVote`. */ -export type MultiSigSignerBlocksByMultiSigProposalVoteSignerIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'MultiSigSignerBlocksByMultiSigProposalVoteSignerIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `MultiSigProposalVote`. */ - multiSigProposalVotesByUpdatedBlockId: MultiSigProposalVotesConnection; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `MultiSigProposalVote`. */ -export type MultiSigSignerBlocksByMultiSigProposalVoteSignerIdAndUpdatedBlockIdManyToManyEdgeMultiSigProposalVotesByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -export type MultiSigSignerDistinctCountAggregateFilter = { - createdAt?: InputMaybe; - createdBlockId?: InputMaybe; - id?: InputMaybe; - multisigId?: InputMaybe; - signerType?: InputMaybe; - signerValue?: InputMaybe; - status?: InputMaybe; - updatedAt?: InputMaybe; - updatedBlockId?: InputMaybe; -}; - -export type MultiSigSignerDistinctCountAggregates = { - __typename?: 'MultiSigSignerDistinctCountAggregates'; - /** Distinct count of createdAt across the matching connection */ - createdAt?: Maybe; - /** Distinct count of createdBlockId across the matching connection */ - createdBlockId?: Maybe; - /** Distinct count of id across the matching connection */ - id?: Maybe; - /** Distinct count of multisigId across the matching connection */ - multisigId?: Maybe; - /** Distinct count of signerType across the matching connection */ - signerType?: Maybe; - /** Distinct count of signerValue across the matching connection */ - signerValue?: Maybe; - /** Distinct count of status across the matching connection */ - status?: Maybe; - /** Distinct count of updatedAt across the matching connection */ - updatedAt?: Maybe; - /** Distinct count of updatedBlockId across the matching connection */ - updatedBlockId?: Maybe; -}; - -/** A filter to be used against `MultiSigSigner` object types. All fields are combined with a logical ‘and.’ */ -export type MultiSigSignerFilter = { - /** Checks for all expressions in this list. */ - and?: InputMaybe>; - /** Filter by the object’s `createdAt` field. */ - createdAt?: InputMaybe; - /** Filter by the object’s `createdBlock` relation. */ - createdBlock?: InputMaybe; - /** Filter by the object’s `createdBlockId` field. */ - createdBlockId?: InputMaybe; - /** Filter by the object’s `id` field. */ - id?: InputMaybe; - /** Filter by the object’s `multisig` relation. */ - multisig?: InputMaybe; - /** Filter by the object’s `multisigId` field. */ - multisigId?: InputMaybe; - /** Negates the expression. */ - not?: InputMaybe; - /** Checks for any expressions in this list. */ - or?: InputMaybe>; - /** Filter by the object’s `signerType` field. */ - signerType?: InputMaybe; - /** Filter by the object’s `signerValue` field. */ - signerValue?: InputMaybe; - /** Filter by the object’s `status` field. */ - status?: InputMaybe; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: InputMaybe; - /** Filter by the object’s `updatedBlock` relation. */ - updatedBlock?: InputMaybe; - /** Filter by the object’s `updatedBlockId` field. */ - updatedBlockId?: InputMaybe; - /** Filter by the object’s `votes` relation. */ - votes?: InputMaybe; - /** Some related `votes` exist. */ - votesExist?: InputMaybe; -}; - -/** A connection to a list of `MultiSigProposal` values, with data from `MultiSigProposalVote`. */ -export type MultiSigSignerMultiSigProposalsByMultiSigProposalVoteSignerIdAndProposalIdManyToManyConnection = - { - __typename?: 'MultiSigSignerMultiSigProposalsByMultiSigProposalVoteSignerIdAndProposalIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `MultiSigProposal`, info from the `MultiSigProposalVote`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `MultiSigProposal` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `MultiSigProposal` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `MultiSigProposal` values, with data from `MultiSigProposalVote`. */ -export type MultiSigSignerMultiSigProposalsByMultiSigProposalVoteSignerIdAndProposalIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `MultiSigProposal` edge in the connection, with data from `MultiSigProposalVote`. */ -export type MultiSigSignerMultiSigProposalsByMultiSigProposalVoteSignerIdAndProposalIdManyToManyEdge = - { - __typename?: 'MultiSigSignerMultiSigProposalsByMultiSigProposalVoteSignerIdAndProposalIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `MultiSigProposal` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `MultiSigProposalVote`. */ - votes: MultiSigProposalVotesConnection; - }; - -/** A `MultiSigProposal` edge in the connection, with data from `MultiSigProposalVote`. */ -export type MultiSigSignerMultiSigProposalsByMultiSigProposalVoteSignerIdAndProposalIdManyToManyEdgeVotesArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** Represents MultiSig signer status */ -export enum MultiSigSignerStatusEnum { - Approved = 'Approved', - Authorized = 'Authorized', - Removed = 'Removed', -} - -/** A filter to be used against MultiSigSignerStatusEnum fields. All fields are combined with a logical ‘and.’ */ -export type MultiSigSignerStatusEnumFilter = { - /** Not equal to the specified value, treating null like an ordinary value. */ - distinctFrom?: InputMaybe; - /** Equal to the specified value. */ - equalTo?: InputMaybe; - /** Greater than the specified value. */ - greaterThan?: InputMaybe; - /** Greater than or equal to the specified value. */ - greaterThanOrEqualTo?: InputMaybe; - /** Included in the specified list. */ - in?: InputMaybe>; - /** Is null (if `true` is specified) or is not null (if `false` is specified). */ - isNull?: InputMaybe; - /** Less than the specified value. */ - lessThan?: InputMaybe; - /** Less than or equal to the specified value. */ - lessThanOrEqualTo?: InputMaybe; - /** Equal to the specified value, treating null like an ordinary value. */ - notDistinctFrom?: InputMaybe; - /** Not equal to the specified value. */ - notEqualTo?: InputMaybe; - /** Not included in the specified list. */ - notIn?: InputMaybe>; -}; - -/** A filter to be used against many `MultiSigProposalVote` object types. All fields are combined with a logical ‘and.’ */ -export type MultiSigSignerToManyMultiSigProposalVoteFilter = { - /** Aggregates across related `MultiSigProposalVote` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `MultiSigProposalVote` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `MultiSigProposalVote` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `MultiSigProposalVote` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A connection to a list of `MultiSigSigner` values. */ -export type MultiSigSignersConnection = { - __typename?: 'MultiSigSignersConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `MultiSigSigner` and cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `MultiSigSigner` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `MultiSigSigner` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `MultiSigSigner` values. */ -export type MultiSigSignersConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `MultiSigSigner` edge in the connection. */ -export type MultiSigSignersEdge = { - __typename?: 'MultiSigSignersEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `MultiSigSigner` at the end of the edge. */ - node?: Maybe; -}; - -/** Grouping methods for `MultiSigSigner` for usage during aggregation. */ -export enum MultiSigSignersGroupBy { - CreatedAt = 'CREATED_AT', - CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', - CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', - CreatedBlockId = 'CREATED_BLOCK_ID', - MultisigId = 'MULTISIG_ID', - SignerType = 'SIGNER_TYPE', - SignerValue = 'SIGNER_VALUE', - Status = 'STATUS', - UpdatedAt = 'UPDATED_AT', - UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', - UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export type MultiSigSignersHavingAverageInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type MultiSigSignersHavingDistinctCountInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Conditions for `MultiSigSigner` aggregates. */ -export type MultiSigSignersHavingInput = { - AND?: InputMaybe>; - OR?: InputMaybe>; - average?: InputMaybe; - distinctCount?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddevPopulation?: InputMaybe; - stddevSample?: InputMaybe; - sum?: InputMaybe; - variancePopulation?: InputMaybe; - varianceSample?: InputMaybe; -}; - -export type MultiSigSignersHavingMaxInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type MultiSigSignersHavingMinInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type MultiSigSignersHavingStddevPopulationInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type MultiSigSignersHavingStddevSampleInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type MultiSigSignersHavingSumInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type MultiSigSignersHavingVariancePopulationInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type MultiSigSignersHavingVarianceSampleInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Methods to use when ordering `MultiSigSigner`. */ -export enum MultiSigSignersOrderBy { - CreatedAtAsc = 'CREATED_AT_ASC', - CreatedAtDesc = 'CREATED_AT_DESC', - CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', - CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', - IdAsc = 'ID_ASC', - IdDesc = 'ID_DESC', - MultisigIdAsc = 'MULTISIG_ID_ASC', - MultisigIdDesc = 'MULTISIG_ID_DESC', - Natural = 'NATURAL', - PrimaryKeyAsc = 'PRIMARY_KEY_ASC', - PrimaryKeyDesc = 'PRIMARY_KEY_DESC', - SignerTypeAsc = 'SIGNER_TYPE_ASC', - SignerTypeDesc = 'SIGNER_TYPE_DESC', - SignerValueAsc = 'SIGNER_VALUE_ASC', - SignerValueDesc = 'SIGNER_VALUE_DESC', - StatusAsc = 'STATUS_ASC', - StatusDesc = 'STATUS_DESC', - UpdatedAtAsc = 'UPDATED_AT_ASC', - UpdatedAtDesc = 'UPDATED_AT_DESC', - UpdatedBlockIdAsc = 'UPDATED_BLOCK_ID_ASC', - UpdatedBlockIdDesc = 'UPDATED_BLOCK_ID_DESC', - VotesAverageActionAsc = 'VOTES_AVERAGE_ACTION_ASC', - VotesAverageActionDesc = 'VOTES_AVERAGE_ACTION_DESC', - VotesAverageCreatedAtAsc = 'VOTES_AVERAGE_CREATED_AT_ASC', - VotesAverageCreatedAtDesc = 'VOTES_AVERAGE_CREATED_AT_DESC', - VotesAverageCreatedBlockIdAsc = 'VOTES_AVERAGE_CREATED_BLOCK_ID_ASC', - VotesAverageCreatedBlockIdDesc = 'VOTES_AVERAGE_CREATED_BLOCK_ID_DESC', - VotesAverageDatetimeAsc = 'VOTES_AVERAGE_DATETIME_ASC', - VotesAverageDatetimeDesc = 'VOTES_AVERAGE_DATETIME_DESC', - VotesAverageEventIdxAsc = 'VOTES_AVERAGE_EVENT_IDX_ASC', - VotesAverageEventIdxDesc = 'VOTES_AVERAGE_EVENT_IDX_DESC', - VotesAverageExtrinsicIdxAsc = 'VOTES_AVERAGE_EXTRINSIC_IDX_ASC', - VotesAverageExtrinsicIdxDesc = 'VOTES_AVERAGE_EXTRINSIC_IDX_DESC', - VotesAverageIdAsc = 'VOTES_AVERAGE_ID_ASC', - VotesAverageIdDesc = 'VOTES_AVERAGE_ID_DESC', - VotesAverageProposalIdAsc = 'VOTES_AVERAGE_PROPOSAL_ID_ASC', - VotesAverageProposalIdDesc = 'VOTES_AVERAGE_PROPOSAL_ID_DESC', - VotesAverageSignerIdAsc = 'VOTES_AVERAGE_SIGNER_ID_ASC', - VotesAverageSignerIdDesc = 'VOTES_AVERAGE_SIGNER_ID_DESC', - VotesAverageUpdatedAtAsc = 'VOTES_AVERAGE_UPDATED_AT_ASC', - VotesAverageUpdatedAtDesc = 'VOTES_AVERAGE_UPDATED_AT_DESC', - VotesAverageUpdatedBlockIdAsc = 'VOTES_AVERAGE_UPDATED_BLOCK_ID_ASC', - VotesAverageUpdatedBlockIdDesc = 'VOTES_AVERAGE_UPDATED_BLOCK_ID_DESC', - VotesCountAsc = 'VOTES_COUNT_ASC', - VotesCountDesc = 'VOTES_COUNT_DESC', - VotesDistinctCountActionAsc = 'VOTES_DISTINCT_COUNT_ACTION_ASC', - VotesDistinctCountActionDesc = 'VOTES_DISTINCT_COUNT_ACTION_DESC', - VotesDistinctCountCreatedAtAsc = 'VOTES_DISTINCT_COUNT_CREATED_AT_ASC', - VotesDistinctCountCreatedAtDesc = 'VOTES_DISTINCT_COUNT_CREATED_AT_DESC', - VotesDistinctCountCreatedBlockIdAsc = 'VOTES_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - VotesDistinctCountCreatedBlockIdDesc = 'VOTES_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - VotesDistinctCountDatetimeAsc = 'VOTES_DISTINCT_COUNT_DATETIME_ASC', - VotesDistinctCountDatetimeDesc = 'VOTES_DISTINCT_COUNT_DATETIME_DESC', - VotesDistinctCountEventIdxAsc = 'VOTES_DISTINCT_COUNT_EVENT_IDX_ASC', - VotesDistinctCountEventIdxDesc = 'VOTES_DISTINCT_COUNT_EVENT_IDX_DESC', - VotesDistinctCountExtrinsicIdxAsc = 'VOTES_DISTINCT_COUNT_EXTRINSIC_IDX_ASC', - VotesDistinctCountExtrinsicIdxDesc = 'VOTES_DISTINCT_COUNT_EXTRINSIC_IDX_DESC', - VotesDistinctCountIdAsc = 'VOTES_DISTINCT_COUNT_ID_ASC', - VotesDistinctCountIdDesc = 'VOTES_DISTINCT_COUNT_ID_DESC', - VotesDistinctCountProposalIdAsc = 'VOTES_DISTINCT_COUNT_PROPOSAL_ID_ASC', - VotesDistinctCountProposalIdDesc = 'VOTES_DISTINCT_COUNT_PROPOSAL_ID_DESC', - VotesDistinctCountSignerIdAsc = 'VOTES_DISTINCT_COUNT_SIGNER_ID_ASC', - VotesDistinctCountSignerIdDesc = 'VOTES_DISTINCT_COUNT_SIGNER_ID_DESC', - VotesDistinctCountUpdatedAtAsc = 'VOTES_DISTINCT_COUNT_UPDATED_AT_ASC', - VotesDistinctCountUpdatedAtDesc = 'VOTES_DISTINCT_COUNT_UPDATED_AT_DESC', - VotesDistinctCountUpdatedBlockIdAsc = 'VOTES_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - VotesDistinctCountUpdatedBlockIdDesc = 'VOTES_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - VotesMaxActionAsc = 'VOTES_MAX_ACTION_ASC', - VotesMaxActionDesc = 'VOTES_MAX_ACTION_DESC', - VotesMaxCreatedAtAsc = 'VOTES_MAX_CREATED_AT_ASC', - VotesMaxCreatedAtDesc = 'VOTES_MAX_CREATED_AT_DESC', - VotesMaxCreatedBlockIdAsc = 'VOTES_MAX_CREATED_BLOCK_ID_ASC', - VotesMaxCreatedBlockIdDesc = 'VOTES_MAX_CREATED_BLOCK_ID_DESC', - VotesMaxDatetimeAsc = 'VOTES_MAX_DATETIME_ASC', - VotesMaxDatetimeDesc = 'VOTES_MAX_DATETIME_DESC', - VotesMaxEventIdxAsc = 'VOTES_MAX_EVENT_IDX_ASC', - VotesMaxEventIdxDesc = 'VOTES_MAX_EVENT_IDX_DESC', - VotesMaxExtrinsicIdxAsc = 'VOTES_MAX_EXTRINSIC_IDX_ASC', - VotesMaxExtrinsicIdxDesc = 'VOTES_MAX_EXTRINSIC_IDX_DESC', - VotesMaxIdAsc = 'VOTES_MAX_ID_ASC', - VotesMaxIdDesc = 'VOTES_MAX_ID_DESC', - VotesMaxProposalIdAsc = 'VOTES_MAX_PROPOSAL_ID_ASC', - VotesMaxProposalIdDesc = 'VOTES_MAX_PROPOSAL_ID_DESC', - VotesMaxSignerIdAsc = 'VOTES_MAX_SIGNER_ID_ASC', - VotesMaxSignerIdDesc = 'VOTES_MAX_SIGNER_ID_DESC', - VotesMaxUpdatedAtAsc = 'VOTES_MAX_UPDATED_AT_ASC', - VotesMaxUpdatedAtDesc = 'VOTES_MAX_UPDATED_AT_DESC', - VotesMaxUpdatedBlockIdAsc = 'VOTES_MAX_UPDATED_BLOCK_ID_ASC', - VotesMaxUpdatedBlockIdDesc = 'VOTES_MAX_UPDATED_BLOCK_ID_DESC', - VotesMinActionAsc = 'VOTES_MIN_ACTION_ASC', - VotesMinActionDesc = 'VOTES_MIN_ACTION_DESC', - VotesMinCreatedAtAsc = 'VOTES_MIN_CREATED_AT_ASC', - VotesMinCreatedAtDesc = 'VOTES_MIN_CREATED_AT_DESC', - VotesMinCreatedBlockIdAsc = 'VOTES_MIN_CREATED_BLOCK_ID_ASC', - VotesMinCreatedBlockIdDesc = 'VOTES_MIN_CREATED_BLOCK_ID_DESC', - VotesMinDatetimeAsc = 'VOTES_MIN_DATETIME_ASC', - VotesMinDatetimeDesc = 'VOTES_MIN_DATETIME_DESC', - VotesMinEventIdxAsc = 'VOTES_MIN_EVENT_IDX_ASC', - VotesMinEventIdxDesc = 'VOTES_MIN_EVENT_IDX_DESC', - VotesMinExtrinsicIdxAsc = 'VOTES_MIN_EXTRINSIC_IDX_ASC', - VotesMinExtrinsicIdxDesc = 'VOTES_MIN_EXTRINSIC_IDX_DESC', - VotesMinIdAsc = 'VOTES_MIN_ID_ASC', - VotesMinIdDesc = 'VOTES_MIN_ID_DESC', - VotesMinProposalIdAsc = 'VOTES_MIN_PROPOSAL_ID_ASC', - VotesMinProposalIdDesc = 'VOTES_MIN_PROPOSAL_ID_DESC', - VotesMinSignerIdAsc = 'VOTES_MIN_SIGNER_ID_ASC', - VotesMinSignerIdDesc = 'VOTES_MIN_SIGNER_ID_DESC', - VotesMinUpdatedAtAsc = 'VOTES_MIN_UPDATED_AT_ASC', - VotesMinUpdatedAtDesc = 'VOTES_MIN_UPDATED_AT_DESC', - VotesMinUpdatedBlockIdAsc = 'VOTES_MIN_UPDATED_BLOCK_ID_ASC', - VotesMinUpdatedBlockIdDesc = 'VOTES_MIN_UPDATED_BLOCK_ID_DESC', - VotesStddevPopulationActionAsc = 'VOTES_STDDEV_POPULATION_ACTION_ASC', - VotesStddevPopulationActionDesc = 'VOTES_STDDEV_POPULATION_ACTION_DESC', - VotesStddevPopulationCreatedAtAsc = 'VOTES_STDDEV_POPULATION_CREATED_AT_ASC', - VotesStddevPopulationCreatedAtDesc = 'VOTES_STDDEV_POPULATION_CREATED_AT_DESC', - VotesStddevPopulationCreatedBlockIdAsc = 'VOTES_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - VotesStddevPopulationCreatedBlockIdDesc = 'VOTES_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - VotesStddevPopulationDatetimeAsc = 'VOTES_STDDEV_POPULATION_DATETIME_ASC', - VotesStddevPopulationDatetimeDesc = 'VOTES_STDDEV_POPULATION_DATETIME_DESC', - VotesStddevPopulationEventIdxAsc = 'VOTES_STDDEV_POPULATION_EVENT_IDX_ASC', - VotesStddevPopulationEventIdxDesc = 'VOTES_STDDEV_POPULATION_EVENT_IDX_DESC', - VotesStddevPopulationExtrinsicIdxAsc = 'VOTES_STDDEV_POPULATION_EXTRINSIC_IDX_ASC', - VotesStddevPopulationExtrinsicIdxDesc = 'VOTES_STDDEV_POPULATION_EXTRINSIC_IDX_DESC', - VotesStddevPopulationIdAsc = 'VOTES_STDDEV_POPULATION_ID_ASC', - VotesStddevPopulationIdDesc = 'VOTES_STDDEV_POPULATION_ID_DESC', - VotesStddevPopulationProposalIdAsc = 'VOTES_STDDEV_POPULATION_PROPOSAL_ID_ASC', - VotesStddevPopulationProposalIdDesc = 'VOTES_STDDEV_POPULATION_PROPOSAL_ID_DESC', - VotesStddevPopulationSignerIdAsc = 'VOTES_STDDEV_POPULATION_SIGNER_ID_ASC', - VotesStddevPopulationSignerIdDesc = 'VOTES_STDDEV_POPULATION_SIGNER_ID_DESC', - VotesStddevPopulationUpdatedAtAsc = 'VOTES_STDDEV_POPULATION_UPDATED_AT_ASC', - VotesStddevPopulationUpdatedAtDesc = 'VOTES_STDDEV_POPULATION_UPDATED_AT_DESC', - VotesStddevPopulationUpdatedBlockIdAsc = 'VOTES_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - VotesStddevPopulationUpdatedBlockIdDesc = 'VOTES_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - VotesStddevSampleActionAsc = 'VOTES_STDDEV_SAMPLE_ACTION_ASC', - VotesStddevSampleActionDesc = 'VOTES_STDDEV_SAMPLE_ACTION_DESC', - VotesStddevSampleCreatedAtAsc = 'VOTES_STDDEV_SAMPLE_CREATED_AT_ASC', - VotesStddevSampleCreatedAtDesc = 'VOTES_STDDEV_SAMPLE_CREATED_AT_DESC', - VotesStddevSampleCreatedBlockIdAsc = 'VOTES_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - VotesStddevSampleCreatedBlockIdDesc = 'VOTES_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - VotesStddevSampleDatetimeAsc = 'VOTES_STDDEV_SAMPLE_DATETIME_ASC', - VotesStddevSampleDatetimeDesc = 'VOTES_STDDEV_SAMPLE_DATETIME_DESC', - VotesStddevSampleEventIdxAsc = 'VOTES_STDDEV_SAMPLE_EVENT_IDX_ASC', - VotesStddevSampleEventIdxDesc = 'VOTES_STDDEV_SAMPLE_EVENT_IDX_DESC', - VotesStddevSampleExtrinsicIdxAsc = 'VOTES_STDDEV_SAMPLE_EXTRINSIC_IDX_ASC', - VotesStddevSampleExtrinsicIdxDesc = 'VOTES_STDDEV_SAMPLE_EXTRINSIC_IDX_DESC', - VotesStddevSampleIdAsc = 'VOTES_STDDEV_SAMPLE_ID_ASC', - VotesStddevSampleIdDesc = 'VOTES_STDDEV_SAMPLE_ID_DESC', - VotesStddevSampleProposalIdAsc = 'VOTES_STDDEV_SAMPLE_PROPOSAL_ID_ASC', - VotesStddevSampleProposalIdDesc = 'VOTES_STDDEV_SAMPLE_PROPOSAL_ID_DESC', - VotesStddevSampleSignerIdAsc = 'VOTES_STDDEV_SAMPLE_SIGNER_ID_ASC', - VotesStddevSampleSignerIdDesc = 'VOTES_STDDEV_SAMPLE_SIGNER_ID_DESC', - VotesStddevSampleUpdatedAtAsc = 'VOTES_STDDEV_SAMPLE_UPDATED_AT_ASC', - VotesStddevSampleUpdatedAtDesc = 'VOTES_STDDEV_SAMPLE_UPDATED_AT_DESC', - VotesStddevSampleUpdatedBlockIdAsc = 'VOTES_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - VotesStddevSampleUpdatedBlockIdDesc = 'VOTES_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - VotesSumActionAsc = 'VOTES_SUM_ACTION_ASC', - VotesSumActionDesc = 'VOTES_SUM_ACTION_DESC', - VotesSumCreatedAtAsc = 'VOTES_SUM_CREATED_AT_ASC', - VotesSumCreatedAtDesc = 'VOTES_SUM_CREATED_AT_DESC', - VotesSumCreatedBlockIdAsc = 'VOTES_SUM_CREATED_BLOCK_ID_ASC', - VotesSumCreatedBlockIdDesc = 'VOTES_SUM_CREATED_BLOCK_ID_DESC', - VotesSumDatetimeAsc = 'VOTES_SUM_DATETIME_ASC', - VotesSumDatetimeDesc = 'VOTES_SUM_DATETIME_DESC', - VotesSumEventIdxAsc = 'VOTES_SUM_EVENT_IDX_ASC', - VotesSumEventIdxDesc = 'VOTES_SUM_EVENT_IDX_DESC', - VotesSumExtrinsicIdxAsc = 'VOTES_SUM_EXTRINSIC_IDX_ASC', - VotesSumExtrinsicIdxDesc = 'VOTES_SUM_EXTRINSIC_IDX_DESC', - VotesSumIdAsc = 'VOTES_SUM_ID_ASC', - VotesSumIdDesc = 'VOTES_SUM_ID_DESC', - VotesSumProposalIdAsc = 'VOTES_SUM_PROPOSAL_ID_ASC', - VotesSumProposalIdDesc = 'VOTES_SUM_PROPOSAL_ID_DESC', - VotesSumSignerIdAsc = 'VOTES_SUM_SIGNER_ID_ASC', - VotesSumSignerIdDesc = 'VOTES_SUM_SIGNER_ID_DESC', - VotesSumUpdatedAtAsc = 'VOTES_SUM_UPDATED_AT_ASC', - VotesSumUpdatedAtDesc = 'VOTES_SUM_UPDATED_AT_DESC', - VotesSumUpdatedBlockIdAsc = 'VOTES_SUM_UPDATED_BLOCK_ID_ASC', - VotesSumUpdatedBlockIdDesc = 'VOTES_SUM_UPDATED_BLOCK_ID_DESC', - VotesVariancePopulationActionAsc = 'VOTES_VARIANCE_POPULATION_ACTION_ASC', - VotesVariancePopulationActionDesc = 'VOTES_VARIANCE_POPULATION_ACTION_DESC', - VotesVariancePopulationCreatedAtAsc = 'VOTES_VARIANCE_POPULATION_CREATED_AT_ASC', - VotesVariancePopulationCreatedAtDesc = 'VOTES_VARIANCE_POPULATION_CREATED_AT_DESC', - VotesVariancePopulationCreatedBlockIdAsc = 'VOTES_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - VotesVariancePopulationCreatedBlockIdDesc = 'VOTES_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - VotesVariancePopulationDatetimeAsc = 'VOTES_VARIANCE_POPULATION_DATETIME_ASC', - VotesVariancePopulationDatetimeDesc = 'VOTES_VARIANCE_POPULATION_DATETIME_DESC', - VotesVariancePopulationEventIdxAsc = 'VOTES_VARIANCE_POPULATION_EVENT_IDX_ASC', - VotesVariancePopulationEventIdxDesc = 'VOTES_VARIANCE_POPULATION_EVENT_IDX_DESC', - VotesVariancePopulationExtrinsicIdxAsc = 'VOTES_VARIANCE_POPULATION_EXTRINSIC_IDX_ASC', - VotesVariancePopulationExtrinsicIdxDesc = 'VOTES_VARIANCE_POPULATION_EXTRINSIC_IDX_DESC', - VotesVariancePopulationIdAsc = 'VOTES_VARIANCE_POPULATION_ID_ASC', - VotesVariancePopulationIdDesc = 'VOTES_VARIANCE_POPULATION_ID_DESC', - VotesVariancePopulationProposalIdAsc = 'VOTES_VARIANCE_POPULATION_PROPOSAL_ID_ASC', - VotesVariancePopulationProposalIdDesc = 'VOTES_VARIANCE_POPULATION_PROPOSAL_ID_DESC', - VotesVariancePopulationSignerIdAsc = 'VOTES_VARIANCE_POPULATION_SIGNER_ID_ASC', - VotesVariancePopulationSignerIdDesc = 'VOTES_VARIANCE_POPULATION_SIGNER_ID_DESC', - VotesVariancePopulationUpdatedAtAsc = 'VOTES_VARIANCE_POPULATION_UPDATED_AT_ASC', - VotesVariancePopulationUpdatedAtDesc = 'VOTES_VARIANCE_POPULATION_UPDATED_AT_DESC', - VotesVariancePopulationUpdatedBlockIdAsc = 'VOTES_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - VotesVariancePopulationUpdatedBlockIdDesc = 'VOTES_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - VotesVarianceSampleActionAsc = 'VOTES_VARIANCE_SAMPLE_ACTION_ASC', - VotesVarianceSampleActionDesc = 'VOTES_VARIANCE_SAMPLE_ACTION_DESC', - VotesVarianceSampleCreatedAtAsc = 'VOTES_VARIANCE_SAMPLE_CREATED_AT_ASC', - VotesVarianceSampleCreatedAtDesc = 'VOTES_VARIANCE_SAMPLE_CREATED_AT_DESC', - VotesVarianceSampleCreatedBlockIdAsc = 'VOTES_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - VotesVarianceSampleCreatedBlockIdDesc = 'VOTES_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - VotesVarianceSampleDatetimeAsc = 'VOTES_VARIANCE_SAMPLE_DATETIME_ASC', - VotesVarianceSampleDatetimeDesc = 'VOTES_VARIANCE_SAMPLE_DATETIME_DESC', - VotesVarianceSampleEventIdxAsc = 'VOTES_VARIANCE_SAMPLE_EVENT_IDX_ASC', - VotesVarianceSampleEventIdxDesc = 'VOTES_VARIANCE_SAMPLE_EVENT_IDX_DESC', - VotesVarianceSampleExtrinsicIdxAsc = 'VOTES_VARIANCE_SAMPLE_EXTRINSIC_IDX_ASC', - VotesVarianceSampleExtrinsicIdxDesc = 'VOTES_VARIANCE_SAMPLE_EXTRINSIC_IDX_DESC', - VotesVarianceSampleIdAsc = 'VOTES_VARIANCE_SAMPLE_ID_ASC', - VotesVarianceSampleIdDesc = 'VOTES_VARIANCE_SAMPLE_ID_DESC', - VotesVarianceSampleProposalIdAsc = 'VOTES_VARIANCE_SAMPLE_PROPOSAL_ID_ASC', - VotesVarianceSampleProposalIdDesc = 'VOTES_VARIANCE_SAMPLE_PROPOSAL_ID_DESC', - VotesVarianceSampleSignerIdAsc = 'VOTES_VARIANCE_SAMPLE_SIGNER_ID_ASC', - VotesVarianceSampleSignerIdDesc = 'VOTES_VARIANCE_SAMPLE_SIGNER_ID_DESC', - VotesVarianceSampleUpdatedAtAsc = 'VOTES_VARIANCE_SAMPLE_UPDATED_AT_ASC', - VotesVarianceSampleUpdatedAtDesc = 'VOTES_VARIANCE_SAMPLE_UPDATED_AT_DESC', - VotesVarianceSampleUpdatedBlockIdAsc = 'VOTES_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - VotesVarianceSampleUpdatedBlockIdDesc = 'VOTES_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', -} - -export type MultiSigStddevPopulationAggregateFilter = { - signaturesRequired?: InputMaybe; -}; - -export type MultiSigStddevPopulationAggregates = { - __typename?: 'MultiSigStddevPopulationAggregates'; - /** Population standard deviation of signaturesRequired across the matching connection */ - signaturesRequired?: Maybe; -}; - -export type MultiSigStddevSampleAggregateFilter = { - signaturesRequired?: InputMaybe; -}; - -export type MultiSigStddevSampleAggregates = { - __typename?: 'MultiSigStddevSampleAggregates'; - /** Sample standard deviation of signaturesRequired across the matching connection */ - signaturesRequired?: Maybe; -}; - -export type MultiSigSumAggregateFilter = { - signaturesRequired?: InputMaybe; -}; - -export type MultiSigSumAggregates = { - __typename?: 'MultiSigSumAggregates'; - /** Sum of signaturesRequired across the matching connection */ - signaturesRequired: Scalars['BigInt']['output']; -}; - -/** A filter to be used against many `MultiSigProposal` object types. All fields are combined with a logical ‘and.’ */ -export type MultiSigToManyMultiSigProposalFilter = { - /** Aggregates across related `MultiSigProposal` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `MultiSigProposal` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `MultiSigProposal` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `MultiSigProposal` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `MultiSigSigner` object types. All fields are combined with a logical ‘and.’ */ -export type MultiSigToManyMultiSigSignerFilter = { - /** Aggregates across related `MultiSigSigner` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `MultiSigSigner` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `MultiSigSigner` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `MultiSigSigner` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -export type MultiSigVariancePopulationAggregateFilter = { - signaturesRequired?: InputMaybe; -}; - -export type MultiSigVariancePopulationAggregates = { - __typename?: 'MultiSigVariancePopulationAggregates'; - /** Population variance of signaturesRequired across the matching connection */ - signaturesRequired?: Maybe; -}; - -export type MultiSigVarianceSampleAggregateFilter = { - signaturesRequired?: InputMaybe; -}; - -export type MultiSigVarianceSampleAggregates = { - __typename?: 'MultiSigVarianceSampleAggregates'; - /** Sample variance of signaturesRequired across the matching connection */ - signaturesRequired?: Maybe; -}; - -/** A connection to a list of `MultiSig` values. */ -export type MultiSigsConnection = { - __typename?: 'MultiSigsConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `MultiSig` and cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `MultiSig` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `MultiSig` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `MultiSig` values. */ -export type MultiSigsConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `MultiSig` edge in the connection. */ -export type MultiSigsEdge = { - __typename?: 'MultiSigsEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `MultiSig` at the end of the edge. */ - node?: Maybe; -}; - -/** Grouping methods for `MultiSig` for usage during aggregation. */ -export enum MultiSigsGroupBy { - CreatedAt = 'CREATED_AT', - CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', - CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', - CreatedBlockId = 'CREATED_BLOCK_ID', - CreatorAccountId = 'CREATOR_ACCOUNT_ID', - CreatorId = 'CREATOR_ID', - SignaturesRequired = 'SIGNATURES_REQUIRED', - UpdatedAt = 'UPDATED_AT', - UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', - UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export type MultiSigsHavingAverageInput = { - createdAt?: InputMaybe; - signaturesRequired?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type MultiSigsHavingDistinctCountInput = { - createdAt?: InputMaybe; - signaturesRequired?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Conditions for `MultiSig` aggregates. */ -export type MultiSigsHavingInput = { - AND?: InputMaybe>; - OR?: InputMaybe>; - average?: InputMaybe; - distinctCount?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddevPopulation?: InputMaybe; - stddevSample?: InputMaybe; - sum?: InputMaybe; - variancePopulation?: InputMaybe; - varianceSample?: InputMaybe; -}; - -export type MultiSigsHavingMaxInput = { - createdAt?: InputMaybe; - signaturesRequired?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type MultiSigsHavingMinInput = { - createdAt?: InputMaybe; - signaturesRequired?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type MultiSigsHavingStddevPopulationInput = { - createdAt?: InputMaybe; - signaturesRequired?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type MultiSigsHavingStddevSampleInput = { - createdAt?: InputMaybe; - signaturesRequired?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type MultiSigsHavingSumInput = { - createdAt?: InputMaybe; - signaturesRequired?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type MultiSigsHavingVariancePopulationInput = { - createdAt?: InputMaybe; - signaturesRequired?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type MultiSigsHavingVarianceSampleInput = { - createdAt?: InputMaybe; - signaturesRequired?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Methods to use when ordering `MultiSig`. */ -export enum MultiSigsOrderBy { - AddressAsc = 'ADDRESS_ASC', - AddressDesc = 'ADDRESS_DESC', - CreatedAtAsc = 'CREATED_AT_ASC', - CreatedAtDesc = 'CREATED_AT_DESC', - CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', - CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', - CreatorAccountIdAsc = 'CREATOR_ACCOUNT_ID_ASC', - CreatorAccountIdDesc = 'CREATOR_ACCOUNT_ID_DESC', - CreatorIdAsc = 'CREATOR_ID_ASC', - CreatorIdDesc = 'CREATOR_ID_DESC', - IdAsc = 'ID_ASC', - IdDesc = 'ID_DESC', - Natural = 'NATURAL', - PrimaryKeyAsc = 'PRIMARY_KEY_ASC', - PrimaryKeyDesc = 'PRIMARY_KEY_DESC', - ProposalsAverageApprovalCountAsc = 'PROPOSALS_AVERAGE_APPROVAL_COUNT_ASC', - ProposalsAverageApprovalCountDesc = 'PROPOSALS_AVERAGE_APPROVAL_COUNT_DESC', - ProposalsAverageCreatedAtAsc = 'PROPOSALS_AVERAGE_CREATED_AT_ASC', - ProposalsAverageCreatedAtDesc = 'PROPOSALS_AVERAGE_CREATED_AT_DESC', - ProposalsAverageCreatedBlockIdAsc = 'PROPOSALS_AVERAGE_CREATED_BLOCK_ID_ASC', - ProposalsAverageCreatedBlockIdDesc = 'PROPOSALS_AVERAGE_CREATED_BLOCK_ID_DESC', - ProposalsAverageCreatorAccountAsc = 'PROPOSALS_AVERAGE_CREATOR_ACCOUNT_ASC', - ProposalsAverageCreatorAccountDesc = 'PROPOSALS_AVERAGE_CREATOR_ACCOUNT_DESC', - ProposalsAverageCreatorIdAsc = 'PROPOSALS_AVERAGE_CREATOR_ID_ASC', - ProposalsAverageCreatorIdDesc = 'PROPOSALS_AVERAGE_CREATOR_ID_DESC', - ProposalsAverageDatetimeAsc = 'PROPOSALS_AVERAGE_DATETIME_ASC', - ProposalsAverageDatetimeDesc = 'PROPOSALS_AVERAGE_DATETIME_DESC', - ProposalsAverageEventIdxAsc = 'PROPOSALS_AVERAGE_EVENT_IDX_ASC', - ProposalsAverageEventIdxDesc = 'PROPOSALS_AVERAGE_EVENT_IDX_DESC', - ProposalsAverageExtrinsicIdxAsc = 'PROPOSALS_AVERAGE_EXTRINSIC_IDX_ASC', - ProposalsAverageExtrinsicIdxDesc = 'PROPOSALS_AVERAGE_EXTRINSIC_IDX_DESC', - ProposalsAverageIdAsc = 'PROPOSALS_AVERAGE_ID_ASC', - ProposalsAverageIdDesc = 'PROPOSALS_AVERAGE_ID_DESC', - ProposalsAverageMultisigIdAsc = 'PROPOSALS_AVERAGE_MULTISIG_ID_ASC', - ProposalsAverageMultisigIdDesc = 'PROPOSALS_AVERAGE_MULTISIG_ID_DESC', - ProposalsAverageProposalIdAsc = 'PROPOSALS_AVERAGE_PROPOSAL_ID_ASC', - ProposalsAverageProposalIdDesc = 'PROPOSALS_AVERAGE_PROPOSAL_ID_DESC', - ProposalsAverageRejectionCountAsc = 'PROPOSALS_AVERAGE_REJECTION_COUNT_ASC', - ProposalsAverageRejectionCountDesc = 'PROPOSALS_AVERAGE_REJECTION_COUNT_DESC', - ProposalsAverageStatusAsc = 'PROPOSALS_AVERAGE_STATUS_ASC', - ProposalsAverageStatusDesc = 'PROPOSALS_AVERAGE_STATUS_DESC', - ProposalsAverageUpdatedAtAsc = 'PROPOSALS_AVERAGE_UPDATED_AT_ASC', - ProposalsAverageUpdatedAtDesc = 'PROPOSALS_AVERAGE_UPDATED_AT_DESC', - ProposalsAverageUpdatedBlockIdAsc = 'PROPOSALS_AVERAGE_UPDATED_BLOCK_ID_ASC', - ProposalsAverageUpdatedBlockIdDesc = 'PROPOSALS_AVERAGE_UPDATED_BLOCK_ID_DESC', - ProposalsCountAsc = 'PROPOSALS_COUNT_ASC', - ProposalsCountDesc = 'PROPOSALS_COUNT_DESC', - ProposalsDistinctCountApprovalCountAsc = 'PROPOSALS_DISTINCT_COUNT_APPROVAL_COUNT_ASC', - ProposalsDistinctCountApprovalCountDesc = 'PROPOSALS_DISTINCT_COUNT_APPROVAL_COUNT_DESC', - ProposalsDistinctCountCreatedAtAsc = 'PROPOSALS_DISTINCT_COUNT_CREATED_AT_ASC', - ProposalsDistinctCountCreatedAtDesc = 'PROPOSALS_DISTINCT_COUNT_CREATED_AT_DESC', - ProposalsDistinctCountCreatedBlockIdAsc = 'PROPOSALS_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - ProposalsDistinctCountCreatedBlockIdDesc = 'PROPOSALS_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - ProposalsDistinctCountCreatorAccountAsc = 'PROPOSALS_DISTINCT_COUNT_CREATOR_ACCOUNT_ASC', - ProposalsDistinctCountCreatorAccountDesc = 'PROPOSALS_DISTINCT_COUNT_CREATOR_ACCOUNT_DESC', - ProposalsDistinctCountCreatorIdAsc = 'PROPOSALS_DISTINCT_COUNT_CREATOR_ID_ASC', - ProposalsDistinctCountCreatorIdDesc = 'PROPOSALS_DISTINCT_COUNT_CREATOR_ID_DESC', - ProposalsDistinctCountDatetimeAsc = 'PROPOSALS_DISTINCT_COUNT_DATETIME_ASC', - ProposalsDistinctCountDatetimeDesc = 'PROPOSALS_DISTINCT_COUNT_DATETIME_DESC', - ProposalsDistinctCountEventIdxAsc = 'PROPOSALS_DISTINCT_COUNT_EVENT_IDX_ASC', - ProposalsDistinctCountEventIdxDesc = 'PROPOSALS_DISTINCT_COUNT_EVENT_IDX_DESC', - ProposalsDistinctCountExtrinsicIdxAsc = 'PROPOSALS_DISTINCT_COUNT_EXTRINSIC_IDX_ASC', - ProposalsDistinctCountExtrinsicIdxDesc = 'PROPOSALS_DISTINCT_COUNT_EXTRINSIC_IDX_DESC', - ProposalsDistinctCountIdAsc = 'PROPOSALS_DISTINCT_COUNT_ID_ASC', - ProposalsDistinctCountIdDesc = 'PROPOSALS_DISTINCT_COUNT_ID_DESC', - ProposalsDistinctCountMultisigIdAsc = 'PROPOSALS_DISTINCT_COUNT_MULTISIG_ID_ASC', - ProposalsDistinctCountMultisigIdDesc = 'PROPOSALS_DISTINCT_COUNT_MULTISIG_ID_DESC', - ProposalsDistinctCountProposalIdAsc = 'PROPOSALS_DISTINCT_COUNT_PROPOSAL_ID_ASC', - ProposalsDistinctCountProposalIdDesc = 'PROPOSALS_DISTINCT_COUNT_PROPOSAL_ID_DESC', - ProposalsDistinctCountRejectionCountAsc = 'PROPOSALS_DISTINCT_COUNT_REJECTION_COUNT_ASC', - ProposalsDistinctCountRejectionCountDesc = 'PROPOSALS_DISTINCT_COUNT_REJECTION_COUNT_DESC', - ProposalsDistinctCountStatusAsc = 'PROPOSALS_DISTINCT_COUNT_STATUS_ASC', - ProposalsDistinctCountStatusDesc = 'PROPOSALS_DISTINCT_COUNT_STATUS_DESC', - ProposalsDistinctCountUpdatedAtAsc = 'PROPOSALS_DISTINCT_COUNT_UPDATED_AT_ASC', - ProposalsDistinctCountUpdatedAtDesc = 'PROPOSALS_DISTINCT_COUNT_UPDATED_AT_DESC', - ProposalsDistinctCountUpdatedBlockIdAsc = 'PROPOSALS_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - ProposalsDistinctCountUpdatedBlockIdDesc = 'PROPOSALS_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - ProposalsMaxApprovalCountAsc = 'PROPOSALS_MAX_APPROVAL_COUNT_ASC', - ProposalsMaxApprovalCountDesc = 'PROPOSALS_MAX_APPROVAL_COUNT_DESC', - ProposalsMaxCreatedAtAsc = 'PROPOSALS_MAX_CREATED_AT_ASC', - ProposalsMaxCreatedAtDesc = 'PROPOSALS_MAX_CREATED_AT_DESC', - ProposalsMaxCreatedBlockIdAsc = 'PROPOSALS_MAX_CREATED_BLOCK_ID_ASC', - ProposalsMaxCreatedBlockIdDesc = 'PROPOSALS_MAX_CREATED_BLOCK_ID_DESC', - ProposalsMaxCreatorAccountAsc = 'PROPOSALS_MAX_CREATOR_ACCOUNT_ASC', - ProposalsMaxCreatorAccountDesc = 'PROPOSALS_MAX_CREATOR_ACCOUNT_DESC', - ProposalsMaxCreatorIdAsc = 'PROPOSALS_MAX_CREATOR_ID_ASC', - ProposalsMaxCreatorIdDesc = 'PROPOSALS_MAX_CREATOR_ID_DESC', - ProposalsMaxDatetimeAsc = 'PROPOSALS_MAX_DATETIME_ASC', - ProposalsMaxDatetimeDesc = 'PROPOSALS_MAX_DATETIME_DESC', - ProposalsMaxEventIdxAsc = 'PROPOSALS_MAX_EVENT_IDX_ASC', - ProposalsMaxEventIdxDesc = 'PROPOSALS_MAX_EVENT_IDX_DESC', - ProposalsMaxExtrinsicIdxAsc = 'PROPOSALS_MAX_EXTRINSIC_IDX_ASC', - ProposalsMaxExtrinsicIdxDesc = 'PROPOSALS_MAX_EXTRINSIC_IDX_DESC', - ProposalsMaxIdAsc = 'PROPOSALS_MAX_ID_ASC', - ProposalsMaxIdDesc = 'PROPOSALS_MAX_ID_DESC', - ProposalsMaxMultisigIdAsc = 'PROPOSALS_MAX_MULTISIG_ID_ASC', - ProposalsMaxMultisigIdDesc = 'PROPOSALS_MAX_MULTISIG_ID_DESC', - ProposalsMaxProposalIdAsc = 'PROPOSALS_MAX_PROPOSAL_ID_ASC', - ProposalsMaxProposalIdDesc = 'PROPOSALS_MAX_PROPOSAL_ID_DESC', - ProposalsMaxRejectionCountAsc = 'PROPOSALS_MAX_REJECTION_COUNT_ASC', - ProposalsMaxRejectionCountDesc = 'PROPOSALS_MAX_REJECTION_COUNT_DESC', - ProposalsMaxStatusAsc = 'PROPOSALS_MAX_STATUS_ASC', - ProposalsMaxStatusDesc = 'PROPOSALS_MAX_STATUS_DESC', - ProposalsMaxUpdatedAtAsc = 'PROPOSALS_MAX_UPDATED_AT_ASC', - ProposalsMaxUpdatedAtDesc = 'PROPOSALS_MAX_UPDATED_AT_DESC', - ProposalsMaxUpdatedBlockIdAsc = 'PROPOSALS_MAX_UPDATED_BLOCK_ID_ASC', - ProposalsMaxUpdatedBlockIdDesc = 'PROPOSALS_MAX_UPDATED_BLOCK_ID_DESC', - ProposalsMinApprovalCountAsc = 'PROPOSALS_MIN_APPROVAL_COUNT_ASC', - ProposalsMinApprovalCountDesc = 'PROPOSALS_MIN_APPROVAL_COUNT_DESC', - ProposalsMinCreatedAtAsc = 'PROPOSALS_MIN_CREATED_AT_ASC', - ProposalsMinCreatedAtDesc = 'PROPOSALS_MIN_CREATED_AT_DESC', - ProposalsMinCreatedBlockIdAsc = 'PROPOSALS_MIN_CREATED_BLOCK_ID_ASC', - ProposalsMinCreatedBlockIdDesc = 'PROPOSALS_MIN_CREATED_BLOCK_ID_DESC', - ProposalsMinCreatorAccountAsc = 'PROPOSALS_MIN_CREATOR_ACCOUNT_ASC', - ProposalsMinCreatorAccountDesc = 'PROPOSALS_MIN_CREATOR_ACCOUNT_DESC', - ProposalsMinCreatorIdAsc = 'PROPOSALS_MIN_CREATOR_ID_ASC', - ProposalsMinCreatorIdDesc = 'PROPOSALS_MIN_CREATOR_ID_DESC', - ProposalsMinDatetimeAsc = 'PROPOSALS_MIN_DATETIME_ASC', - ProposalsMinDatetimeDesc = 'PROPOSALS_MIN_DATETIME_DESC', - ProposalsMinEventIdxAsc = 'PROPOSALS_MIN_EVENT_IDX_ASC', - ProposalsMinEventIdxDesc = 'PROPOSALS_MIN_EVENT_IDX_DESC', - ProposalsMinExtrinsicIdxAsc = 'PROPOSALS_MIN_EXTRINSIC_IDX_ASC', - ProposalsMinExtrinsicIdxDesc = 'PROPOSALS_MIN_EXTRINSIC_IDX_DESC', - ProposalsMinIdAsc = 'PROPOSALS_MIN_ID_ASC', - ProposalsMinIdDesc = 'PROPOSALS_MIN_ID_DESC', - ProposalsMinMultisigIdAsc = 'PROPOSALS_MIN_MULTISIG_ID_ASC', - ProposalsMinMultisigIdDesc = 'PROPOSALS_MIN_MULTISIG_ID_DESC', - ProposalsMinProposalIdAsc = 'PROPOSALS_MIN_PROPOSAL_ID_ASC', - ProposalsMinProposalIdDesc = 'PROPOSALS_MIN_PROPOSAL_ID_DESC', - ProposalsMinRejectionCountAsc = 'PROPOSALS_MIN_REJECTION_COUNT_ASC', - ProposalsMinRejectionCountDesc = 'PROPOSALS_MIN_REJECTION_COUNT_DESC', - ProposalsMinStatusAsc = 'PROPOSALS_MIN_STATUS_ASC', - ProposalsMinStatusDesc = 'PROPOSALS_MIN_STATUS_DESC', - ProposalsMinUpdatedAtAsc = 'PROPOSALS_MIN_UPDATED_AT_ASC', - ProposalsMinUpdatedAtDesc = 'PROPOSALS_MIN_UPDATED_AT_DESC', - ProposalsMinUpdatedBlockIdAsc = 'PROPOSALS_MIN_UPDATED_BLOCK_ID_ASC', - ProposalsMinUpdatedBlockIdDesc = 'PROPOSALS_MIN_UPDATED_BLOCK_ID_DESC', - ProposalsStddevPopulationApprovalCountAsc = 'PROPOSALS_STDDEV_POPULATION_APPROVAL_COUNT_ASC', - ProposalsStddevPopulationApprovalCountDesc = 'PROPOSALS_STDDEV_POPULATION_APPROVAL_COUNT_DESC', - ProposalsStddevPopulationCreatedAtAsc = 'PROPOSALS_STDDEV_POPULATION_CREATED_AT_ASC', - ProposalsStddevPopulationCreatedAtDesc = 'PROPOSALS_STDDEV_POPULATION_CREATED_AT_DESC', - ProposalsStddevPopulationCreatedBlockIdAsc = 'PROPOSALS_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - ProposalsStddevPopulationCreatedBlockIdDesc = 'PROPOSALS_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - ProposalsStddevPopulationCreatorAccountAsc = 'PROPOSALS_STDDEV_POPULATION_CREATOR_ACCOUNT_ASC', - ProposalsStddevPopulationCreatorAccountDesc = 'PROPOSALS_STDDEV_POPULATION_CREATOR_ACCOUNT_DESC', - ProposalsStddevPopulationCreatorIdAsc = 'PROPOSALS_STDDEV_POPULATION_CREATOR_ID_ASC', - ProposalsStddevPopulationCreatorIdDesc = 'PROPOSALS_STDDEV_POPULATION_CREATOR_ID_DESC', - ProposalsStddevPopulationDatetimeAsc = 'PROPOSALS_STDDEV_POPULATION_DATETIME_ASC', - ProposalsStddevPopulationDatetimeDesc = 'PROPOSALS_STDDEV_POPULATION_DATETIME_DESC', - ProposalsStddevPopulationEventIdxAsc = 'PROPOSALS_STDDEV_POPULATION_EVENT_IDX_ASC', - ProposalsStddevPopulationEventIdxDesc = 'PROPOSALS_STDDEV_POPULATION_EVENT_IDX_DESC', - ProposalsStddevPopulationExtrinsicIdxAsc = 'PROPOSALS_STDDEV_POPULATION_EXTRINSIC_IDX_ASC', - ProposalsStddevPopulationExtrinsicIdxDesc = 'PROPOSALS_STDDEV_POPULATION_EXTRINSIC_IDX_DESC', - ProposalsStddevPopulationIdAsc = 'PROPOSALS_STDDEV_POPULATION_ID_ASC', - ProposalsStddevPopulationIdDesc = 'PROPOSALS_STDDEV_POPULATION_ID_DESC', - ProposalsStddevPopulationMultisigIdAsc = 'PROPOSALS_STDDEV_POPULATION_MULTISIG_ID_ASC', - ProposalsStddevPopulationMultisigIdDesc = 'PROPOSALS_STDDEV_POPULATION_MULTISIG_ID_DESC', - ProposalsStddevPopulationProposalIdAsc = 'PROPOSALS_STDDEV_POPULATION_PROPOSAL_ID_ASC', - ProposalsStddevPopulationProposalIdDesc = 'PROPOSALS_STDDEV_POPULATION_PROPOSAL_ID_DESC', - ProposalsStddevPopulationRejectionCountAsc = 'PROPOSALS_STDDEV_POPULATION_REJECTION_COUNT_ASC', - ProposalsStddevPopulationRejectionCountDesc = 'PROPOSALS_STDDEV_POPULATION_REJECTION_COUNT_DESC', - ProposalsStddevPopulationStatusAsc = 'PROPOSALS_STDDEV_POPULATION_STATUS_ASC', - ProposalsStddevPopulationStatusDesc = 'PROPOSALS_STDDEV_POPULATION_STATUS_DESC', - ProposalsStddevPopulationUpdatedAtAsc = 'PROPOSALS_STDDEV_POPULATION_UPDATED_AT_ASC', - ProposalsStddevPopulationUpdatedAtDesc = 'PROPOSALS_STDDEV_POPULATION_UPDATED_AT_DESC', - ProposalsStddevPopulationUpdatedBlockIdAsc = 'PROPOSALS_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - ProposalsStddevPopulationUpdatedBlockIdDesc = 'PROPOSALS_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - ProposalsStddevSampleApprovalCountAsc = 'PROPOSALS_STDDEV_SAMPLE_APPROVAL_COUNT_ASC', - ProposalsStddevSampleApprovalCountDesc = 'PROPOSALS_STDDEV_SAMPLE_APPROVAL_COUNT_DESC', - ProposalsStddevSampleCreatedAtAsc = 'PROPOSALS_STDDEV_SAMPLE_CREATED_AT_ASC', - ProposalsStddevSampleCreatedAtDesc = 'PROPOSALS_STDDEV_SAMPLE_CREATED_AT_DESC', - ProposalsStddevSampleCreatedBlockIdAsc = 'PROPOSALS_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - ProposalsStddevSampleCreatedBlockIdDesc = 'PROPOSALS_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - ProposalsStddevSampleCreatorAccountAsc = 'PROPOSALS_STDDEV_SAMPLE_CREATOR_ACCOUNT_ASC', - ProposalsStddevSampleCreatorAccountDesc = 'PROPOSALS_STDDEV_SAMPLE_CREATOR_ACCOUNT_DESC', - ProposalsStddevSampleCreatorIdAsc = 'PROPOSALS_STDDEV_SAMPLE_CREATOR_ID_ASC', - ProposalsStddevSampleCreatorIdDesc = 'PROPOSALS_STDDEV_SAMPLE_CREATOR_ID_DESC', - ProposalsStddevSampleDatetimeAsc = 'PROPOSALS_STDDEV_SAMPLE_DATETIME_ASC', - ProposalsStddevSampleDatetimeDesc = 'PROPOSALS_STDDEV_SAMPLE_DATETIME_DESC', - ProposalsStddevSampleEventIdxAsc = 'PROPOSALS_STDDEV_SAMPLE_EVENT_IDX_ASC', - ProposalsStddevSampleEventIdxDesc = 'PROPOSALS_STDDEV_SAMPLE_EVENT_IDX_DESC', - ProposalsStddevSampleExtrinsicIdxAsc = 'PROPOSALS_STDDEV_SAMPLE_EXTRINSIC_IDX_ASC', - ProposalsStddevSampleExtrinsicIdxDesc = 'PROPOSALS_STDDEV_SAMPLE_EXTRINSIC_IDX_DESC', - ProposalsStddevSampleIdAsc = 'PROPOSALS_STDDEV_SAMPLE_ID_ASC', - ProposalsStddevSampleIdDesc = 'PROPOSALS_STDDEV_SAMPLE_ID_DESC', - ProposalsStddevSampleMultisigIdAsc = 'PROPOSALS_STDDEV_SAMPLE_MULTISIG_ID_ASC', - ProposalsStddevSampleMultisigIdDesc = 'PROPOSALS_STDDEV_SAMPLE_MULTISIG_ID_DESC', - ProposalsStddevSampleProposalIdAsc = 'PROPOSALS_STDDEV_SAMPLE_PROPOSAL_ID_ASC', - ProposalsStddevSampleProposalIdDesc = 'PROPOSALS_STDDEV_SAMPLE_PROPOSAL_ID_DESC', - ProposalsStddevSampleRejectionCountAsc = 'PROPOSALS_STDDEV_SAMPLE_REJECTION_COUNT_ASC', - ProposalsStddevSampleRejectionCountDesc = 'PROPOSALS_STDDEV_SAMPLE_REJECTION_COUNT_DESC', - ProposalsStddevSampleStatusAsc = 'PROPOSALS_STDDEV_SAMPLE_STATUS_ASC', - ProposalsStddevSampleStatusDesc = 'PROPOSALS_STDDEV_SAMPLE_STATUS_DESC', - ProposalsStddevSampleUpdatedAtAsc = 'PROPOSALS_STDDEV_SAMPLE_UPDATED_AT_ASC', - ProposalsStddevSampleUpdatedAtDesc = 'PROPOSALS_STDDEV_SAMPLE_UPDATED_AT_DESC', - ProposalsStddevSampleUpdatedBlockIdAsc = 'PROPOSALS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - ProposalsStddevSampleUpdatedBlockIdDesc = 'PROPOSALS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - ProposalsSumApprovalCountAsc = 'PROPOSALS_SUM_APPROVAL_COUNT_ASC', - ProposalsSumApprovalCountDesc = 'PROPOSALS_SUM_APPROVAL_COUNT_DESC', - ProposalsSumCreatedAtAsc = 'PROPOSALS_SUM_CREATED_AT_ASC', - ProposalsSumCreatedAtDesc = 'PROPOSALS_SUM_CREATED_AT_DESC', - ProposalsSumCreatedBlockIdAsc = 'PROPOSALS_SUM_CREATED_BLOCK_ID_ASC', - ProposalsSumCreatedBlockIdDesc = 'PROPOSALS_SUM_CREATED_BLOCK_ID_DESC', - ProposalsSumCreatorAccountAsc = 'PROPOSALS_SUM_CREATOR_ACCOUNT_ASC', - ProposalsSumCreatorAccountDesc = 'PROPOSALS_SUM_CREATOR_ACCOUNT_DESC', - ProposalsSumCreatorIdAsc = 'PROPOSALS_SUM_CREATOR_ID_ASC', - ProposalsSumCreatorIdDesc = 'PROPOSALS_SUM_CREATOR_ID_DESC', - ProposalsSumDatetimeAsc = 'PROPOSALS_SUM_DATETIME_ASC', - ProposalsSumDatetimeDesc = 'PROPOSALS_SUM_DATETIME_DESC', - ProposalsSumEventIdxAsc = 'PROPOSALS_SUM_EVENT_IDX_ASC', - ProposalsSumEventIdxDesc = 'PROPOSALS_SUM_EVENT_IDX_DESC', - ProposalsSumExtrinsicIdxAsc = 'PROPOSALS_SUM_EXTRINSIC_IDX_ASC', - ProposalsSumExtrinsicIdxDesc = 'PROPOSALS_SUM_EXTRINSIC_IDX_DESC', - ProposalsSumIdAsc = 'PROPOSALS_SUM_ID_ASC', - ProposalsSumIdDesc = 'PROPOSALS_SUM_ID_DESC', - ProposalsSumMultisigIdAsc = 'PROPOSALS_SUM_MULTISIG_ID_ASC', - ProposalsSumMultisigIdDesc = 'PROPOSALS_SUM_MULTISIG_ID_DESC', - ProposalsSumProposalIdAsc = 'PROPOSALS_SUM_PROPOSAL_ID_ASC', - ProposalsSumProposalIdDesc = 'PROPOSALS_SUM_PROPOSAL_ID_DESC', - ProposalsSumRejectionCountAsc = 'PROPOSALS_SUM_REJECTION_COUNT_ASC', - ProposalsSumRejectionCountDesc = 'PROPOSALS_SUM_REJECTION_COUNT_DESC', - ProposalsSumStatusAsc = 'PROPOSALS_SUM_STATUS_ASC', - ProposalsSumStatusDesc = 'PROPOSALS_SUM_STATUS_DESC', - ProposalsSumUpdatedAtAsc = 'PROPOSALS_SUM_UPDATED_AT_ASC', - ProposalsSumUpdatedAtDesc = 'PROPOSALS_SUM_UPDATED_AT_DESC', - ProposalsSumUpdatedBlockIdAsc = 'PROPOSALS_SUM_UPDATED_BLOCK_ID_ASC', - ProposalsSumUpdatedBlockIdDesc = 'PROPOSALS_SUM_UPDATED_BLOCK_ID_DESC', - ProposalsVariancePopulationApprovalCountAsc = 'PROPOSALS_VARIANCE_POPULATION_APPROVAL_COUNT_ASC', - ProposalsVariancePopulationApprovalCountDesc = 'PROPOSALS_VARIANCE_POPULATION_APPROVAL_COUNT_DESC', - ProposalsVariancePopulationCreatedAtAsc = 'PROPOSALS_VARIANCE_POPULATION_CREATED_AT_ASC', - ProposalsVariancePopulationCreatedAtDesc = 'PROPOSALS_VARIANCE_POPULATION_CREATED_AT_DESC', - ProposalsVariancePopulationCreatedBlockIdAsc = 'PROPOSALS_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - ProposalsVariancePopulationCreatedBlockIdDesc = 'PROPOSALS_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - ProposalsVariancePopulationCreatorAccountAsc = 'PROPOSALS_VARIANCE_POPULATION_CREATOR_ACCOUNT_ASC', - ProposalsVariancePopulationCreatorAccountDesc = 'PROPOSALS_VARIANCE_POPULATION_CREATOR_ACCOUNT_DESC', - ProposalsVariancePopulationCreatorIdAsc = 'PROPOSALS_VARIANCE_POPULATION_CREATOR_ID_ASC', - ProposalsVariancePopulationCreatorIdDesc = 'PROPOSALS_VARIANCE_POPULATION_CREATOR_ID_DESC', - ProposalsVariancePopulationDatetimeAsc = 'PROPOSALS_VARIANCE_POPULATION_DATETIME_ASC', - ProposalsVariancePopulationDatetimeDesc = 'PROPOSALS_VARIANCE_POPULATION_DATETIME_DESC', - ProposalsVariancePopulationEventIdxAsc = 'PROPOSALS_VARIANCE_POPULATION_EVENT_IDX_ASC', - ProposalsVariancePopulationEventIdxDesc = 'PROPOSALS_VARIANCE_POPULATION_EVENT_IDX_DESC', - ProposalsVariancePopulationExtrinsicIdxAsc = 'PROPOSALS_VARIANCE_POPULATION_EXTRINSIC_IDX_ASC', - ProposalsVariancePopulationExtrinsicIdxDesc = 'PROPOSALS_VARIANCE_POPULATION_EXTRINSIC_IDX_DESC', - ProposalsVariancePopulationIdAsc = 'PROPOSALS_VARIANCE_POPULATION_ID_ASC', - ProposalsVariancePopulationIdDesc = 'PROPOSALS_VARIANCE_POPULATION_ID_DESC', - ProposalsVariancePopulationMultisigIdAsc = 'PROPOSALS_VARIANCE_POPULATION_MULTISIG_ID_ASC', - ProposalsVariancePopulationMultisigIdDesc = 'PROPOSALS_VARIANCE_POPULATION_MULTISIG_ID_DESC', - ProposalsVariancePopulationProposalIdAsc = 'PROPOSALS_VARIANCE_POPULATION_PROPOSAL_ID_ASC', - ProposalsVariancePopulationProposalIdDesc = 'PROPOSALS_VARIANCE_POPULATION_PROPOSAL_ID_DESC', - ProposalsVariancePopulationRejectionCountAsc = 'PROPOSALS_VARIANCE_POPULATION_REJECTION_COUNT_ASC', - ProposalsVariancePopulationRejectionCountDesc = 'PROPOSALS_VARIANCE_POPULATION_REJECTION_COUNT_DESC', - ProposalsVariancePopulationStatusAsc = 'PROPOSALS_VARIANCE_POPULATION_STATUS_ASC', - ProposalsVariancePopulationStatusDesc = 'PROPOSALS_VARIANCE_POPULATION_STATUS_DESC', - ProposalsVariancePopulationUpdatedAtAsc = 'PROPOSALS_VARIANCE_POPULATION_UPDATED_AT_ASC', - ProposalsVariancePopulationUpdatedAtDesc = 'PROPOSALS_VARIANCE_POPULATION_UPDATED_AT_DESC', - ProposalsVariancePopulationUpdatedBlockIdAsc = 'PROPOSALS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - ProposalsVariancePopulationUpdatedBlockIdDesc = 'PROPOSALS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - ProposalsVarianceSampleApprovalCountAsc = 'PROPOSALS_VARIANCE_SAMPLE_APPROVAL_COUNT_ASC', - ProposalsVarianceSampleApprovalCountDesc = 'PROPOSALS_VARIANCE_SAMPLE_APPROVAL_COUNT_DESC', - ProposalsVarianceSampleCreatedAtAsc = 'PROPOSALS_VARIANCE_SAMPLE_CREATED_AT_ASC', - ProposalsVarianceSampleCreatedAtDesc = 'PROPOSALS_VARIANCE_SAMPLE_CREATED_AT_DESC', - ProposalsVarianceSampleCreatedBlockIdAsc = 'PROPOSALS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - ProposalsVarianceSampleCreatedBlockIdDesc = 'PROPOSALS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - ProposalsVarianceSampleCreatorAccountAsc = 'PROPOSALS_VARIANCE_SAMPLE_CREATOR_ACCOUNT_ASC', - ProposalsVarianceSampleCreatorAccountDesc = 'PROPOSALS_VARIANCE_SAMPLE_CREATOR_ACCOUNT_DESC', - ProposalsVarianceSampleCreatorIdAsc = 'PROPOSALS_VARIANCE_SAMPLE_CREATOR_ID_ASC', - ProposalsVarianceSampleCreatorIdDesc = 'PROPOSALS_VARIANCE_SAMPLE_CREATOR_ID_DESC', - ProposalsVarianceSampleDatetimeAsc = 'PROPOSALS_VARIANCE_SAMPLE_DATETIME_ASC', - ProposalsVarianceSampleDatetimeDesc = 'PROPOSALS_VARIANCE_SAMPLE_DATETIME_DESC', - ProposalsVarianceSampleEventIdxAsc = 'PROPOSALS_VARIANCE_SAMPLE_EVENT_IDX_ASC', - ProposalsVarianceSampleEventIdxDesc = 'PROPOSALS_VARIANCE_SAMPLE_EVENT_IDX_DESC', - ProposalsVarianceSampleExtrinsicIdxAsc = 'PROPOSALS_VARIANCE_SAMPLE_EXTRINSIC_IDX_ASC', - ProposalsVarianceSampleExtrinsicIdxDesc = 'PROPOSALS_VARIANCE_SAMPLE_EXTRINSIC_IDX_DESC', - ProposalsVarianceSampleIdAsc = 'PROPOSALS_VARIANCE_SAMPLE_ID_ASC', - ProposalsVarianceSampleIdDesc = 'PROPOSALS_VARIANCE_SAMPLE_ID_DESC', - ProposalsVarianceSampleMultisigIdAsc = 'PROPOSALS_VARIANCE_SAMPLE_MULTISIG_ID_ASC', - ProposalsVarianceSampleMultisigIdDesc = 'PROPOSALS_VARIANCE_SAMPLE_MULTISIG_ID_DESC', - ProposalsVarianceSampleProposalIdAsc = 'PROPOSALS_VARIANCE_SAMPLE_PROPOSAL_ID_ASC', - ProposalsVarianceSampleProposalIdDesc = 'PROPOSALS_VARIANCE_SAMPLE_PROPOSAL_ID_DESC', - ProposalsVarianceSampleRejectionCountAsc = 'PROPOSALS_VARIANCE_SAMPLE_REJECTION_COUNT_ASC', - ProposalsVarianceSampleRejectionCountDesc = 'PROPOSALS_VARIANCE_SAMPLE_REJECTION_COUNT_DESC', - ProposalsVarianceSampleStatusAsc = 'PROPOSALS_VARIANCE_SAMPLE_STATUS_ASC', - ProposalsVarianceSampleStatusDesc = 'PROPOSALS_VARIANCE_SAMPLE_STATUS_DESC', - ProposalsVarianceSampleUpdatedAtAsc = 'PROPOSALS_VARIANCE_SAMPLE_UPDATED_AT_ASC', - ProposalsVarianceSampleUpdatedAtDesc = 'PROPOSALS_VARIANCE_SAMPLE_UPDATED_AT_DESC', - ProposalsVarianceSampleUpdatedBlockIdAsc = 'PROPOSALS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - ProposalsVarianceSampleUpdatedBlockIdDesc = 'PROPOSALS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - SignaturesRequiredAsc = 'SIGNATURES_REQUIRED_ASC', - SignaturesRequiredDesc = 'SIGNATURES_REQUIRED_DESC', - SignersAverageCreatedAtAsc = 'SIGNERS_AVERAGE_CREATED_AT_ASC', - SignersAverageCreatedAtDesc = 'SIGNERS_AVERAGE_CREATED_AT_DESC', - SignersAverageCreatedBlockIdAsc = 'SIGNERS_AVERAGE_CREATED_BLOCK_ID_ASC', - SignersAverageCreatedBlockIdDesc = 'SIGNERS_AVERAGE_CREATED_BLOCK_ID_DESC', - SignersAverageIdAsc = 'SIGNERS_AVERAGE_ID_ASC', - SignersAverageIdDesc = 'SIGNERS_AVERAGE_ID_DESC', - SignersAverageMultisigIdAsc = 'SIGNERS_AVERAGE_MULTISIG_ID_ASC', - SignersAverageMultisigIdDesc = 'SIGNERS_AVERAGE_MULTISIG_ID_DESC', - SignersAverageSignerTypeAsc = 'SIGNERS_AVERAGE_SIGNER_TYPE_ASC', - SignersAverageSignerTypeDesc = 'SIGNERS_AVERAGE_SIGNER_TYPE_DESC', - SignersAverageSignerValueAsc = 'SIGNERS_AVERAGE_SIGNER_VALUE_ASC', - SignersAverageSignerValueDesc = 'SIGNERS_AVERAGE_SIGNER_VALUE_DESC', - SignersAverageStatusAsc = 'SIGNERS_AVERAGE_STATUS_ASC', - SignersAverageStatusDesc = 'SIGNERS_AVERAGE_STATUS_DESC', - SignersAverageUpdatedAtAsc = 'SIGNERS_AVERAGE_UPDATED_AT_ASC', - SignersAverageUpdatedAtDesc = 'SIGNERS_AVERAGE_UPDATED_AT_DESC', - SignersAverageUpdatedBlockIdAsc = 'SIGNERS_AVERAGE_UPDATED_BLOCK_ID_ASC', - SignersAverageUpdatedBlockIdDesc = 'SIGNERS_AVERAGE_UPDATED_BLOCK_ID_DESC', - SignersCountAsc = 'SIGNERS_COUNT_ASC', - SignersCountDesc = 'SIGNERS_COUNT_DESC', - SignersDistinctCountCreatedAtAsc = 'SIGNERS_DISTINCT_COUNT_CREATED_AT_ASC', - SignersDistinctCountCreatedAtDesc = 'SIGNERS_DISTINCT_COUNT_CREATED_AT_DESC', - SignersDistinctCountCreatedBlockIdAsc = 'SIGNERS_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - SignersDistinctCountCreatedBlockIdDesc = 'SIGNERS_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - SignersDistinctCountIdAsc = 'SIGNERS_DISTINCT_COUNT_ID_ASC', - SignersDistinctCountIdDesc = 'SIGNERS_DISTINCT_COUNT_ID_DESC', - SignersDistinctCountMultisigIdAsc = 'SIGNERS_DISTINCT_COUNT_MULTISIG_ID_ASC', - SignersDistinctCountMultisigIdDesc = 'SIGNERS_DISTINCT_COUNT_MULTISIG_ID_DESC', - SignersDistinctCountSignerTypeAsc = 'SIGNERS_DISTINCT_COUNT_SIGNER_TYPE_ASC', - SignersDistinctCountSignerTypeDesc = 'SIGNERS_DISTINCT_COUNT_SIGNER_TYPE_DESC', - SignersDistinctCountSignerValueAsc = 'SIGNERS_DISTINCT_COUNT_SIGNER_VALUE_ASC', - SignersDistinctCountSignerValueDesc = 'SIGNERS_DISTINCT_COUNT_SIGNER_VALUE_DESC', - SignersDistinctCountStatusAsc = 'SIGNERS_DISTINCT_COUNT_STATUS_ASC', - SignersDistinctCountStatusDesc = 'SIGNERS_DISTINCT_COUNT_STATUS_DESC', - SignersDistinctCountUpdatedAtAsc = 'SIGNERS_DISTINCT_COUNT_UPDATED_AT_ASC', - SignersDistinctCountUpdatedAtDesc = 'SIGNERS_DISTINCT_COUNT_UPDATED_AT_DESC', - SignersDistinctCountUpdatedBlockIdAsc = 'SIGNERS_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - SignersDistinctCountUpdatedBlockIdDesc = 'SIGNERS_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - SignersMaxCreatedAtAsc = 'SIGNERS_MAX_CREATED_AT_ASC', - SignersMaxCreatedAtDesc = 'SIGNERS_MAX_CREATED_AT_DESC', - SignersMaxCreatedBlockIdAsc = 'SIGNERS_MAX_CREATED_BLOCK_ID_ASC', - SignersMaxCreatedBlockIdDesc = 'SIGNERS_MAX_CREATED_BLOCK_ID_DESC', - SignersMaxIdAsc = 'SIGNERS_MAX_ID_ASC', - SignersMaxIdDesc = 'SIGNERS_MAX_ID_DESC', - SignersMaxMultisigIdAsc = 'SIGNERS_MAX_MULTISIG_ID_ASC', - SignersMaxMultisigIdDesc = 'SIGNERS_MAX_MULTISIG_ID_DESC', - SignersMaxSignerTypeAsc = 'SIGNERS_MAX_SIGNER_TYPE_ASC', - SignersMaxSignerTypeDesc = 'SIGNERS_MAX_SIGNER_TYPE_DESC', - SignersMaxSignerValueAsc = 'SIGNERS_MAX_SIGNER_VALUE_ASC', - SignersMaxSignerValueDesc = 'SIGNERS_MAX_SIGNER_VALUE_DESC', - SignersMaxStatusAsc = 'SIGNERS_MAX_STATUS_ASC', - SignersMaxStatusDesc = 'SIGNERS_MAX_STATUS_DESC', - SignersMaxUpdatedAtAsc = 'SIGNERS_MAX_UPDATED_AT_ASC', - SignersMaxUpdatedAtDesc = 'SIGNERS_MAX_UPDATED_AT_DESC', - SignersMaxUpdatedBlockIdAsc = 'SIGNERS_MAX_UPDATED_BLOCK_ID_ASC', - SignersMaxUpdatedBlockIdDesc = 'SIGNERS_MAX_UPDATED_BLOCK_ID_DESC', - SignersMinCreatedAtAsc = 'SIGNERS_MIN_CREATED_AT_ASC', - SignersMinCreatedAtDesc = 'SIGNERS_MIN_CREATED_AT_DESC', - SignersMinCreatedBlockIdAsc = 'SIGNERS_MIN_CREATED_BLOCK_ID_ASC', - SignersMinCreatedBlockIdDesc = 'SIGNERS_MIN_CREATED_BLOCK_ID_DESC', - SignersMinIdAsc = 'SIGNERS_MIN_ID_ASC', - SignersMinIdDesc = 'SIGNERS_MIN_ID_DESC', - SignersMinMultisigIdAsc = 'SIGNERS_MIN_MULTISIG_ID_ASC', - SignersMinMultisigIdDesc = 'SIGNERS_MIN_MULTISIG_ID_DESC', - SignersMinSignerTypeAsc = 'SIGNERS_MIN_SIGNER_TYPE_ASC', - SignersMinSignerTypeDesc = 'SIGNERS_MIN_SIGNER_TYPE_DESC', - SignersMinSignerValueAsc = 'SIGNERS_MIN_SIGNER_VALUE_ASC', - SignersMinSignerValueDesc = 'SIGNERS_MIN_SIGNER_VALUE_DESC', - SignersMinStatusAsc = 'SIGNERS_MIN_STATUS_ASC', - SignersMinStatusDesc = 'SIGNERS_MIN_STATUS_DESC', - SignersMinUpdatedAtAsc = 'SIGNERS_MIN_UPDATED_AT_ASC', - SignersMinUpdatedAtDesc = 'SIGNERS_MIN_UPDATED_AT_DESC', - SignersMinUpdatedBlockIdAsc = 'SIGNERS_MIN_UPDATED_BLOCK_ID_ASC', - SignersMinUpdatedBlockIdDesc = 'SIGNERS_MIN_UPDATED_BLOCK_ID_DESC', - SignersStddevPopulationCreatedAtAsc = 'SIGNERS_STDDEV_POPULATION_CREATED_AT_ASC', - SignersStddevPopulationCreatedAtDesc = 'SIGNERS_STDDEV_POPULATION_CREATED_AT_DESC', - SignersStddevPopulationCreatedBlockIdAsc = 'SIGNERS_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - SignersStddevPopulationCreatedBlockIdDesc = 'SIGNERS_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - SignersStddevPopulationIdAsc = 'SIGNERS_STDDEV_POPULATION_ID_ASC', - SignersStddevPopulationIdDesc = 'SIGNERS_STDDEV_POPULATION_ID_DESC', - SignersStddevPopulationMultisigIdAsc = 'SIGNERS_STDDEV_POPULATION_MULTISIG_ID_ASC', - SignersStddevPopulationMultisigIdDesc = 'SIGNERS_STDDEV_POPULATION_MULTISIG_ID_DESC', - SignersStddevPopulationSignerTypeAsc = 'SIGNERS_STDDEV_POPULATION_SIGNER_TYPE_ASC', - SignersStddevPopulationSignerTypeDesc = 'SIGNERS_STDDEV_POPULATION_SIGNER_TYPE_DESC', - SignersStddevPopulationSignerValueAsc = 'SIGNERS_STDDEV_POPULATION_SIGNER_VALUE_ASC', - SignersStddevPopulationSignerValueDesc = 'SIGNERS_STDDEV_POPULATION_SIGNER_VALUE_DESC', - SignersStddevPopulationStatusAsc = 'SIGNERS_STDDEV_POPULATION_STATUS_ASC', - SignersStddevPopulationStatusDesc = 'SIGNERS_STDDEV_POPULATION_STATUS_DESC', - SignersStddevPopulationUpdatedAtAsc = 'SIGNERS_STDDEV_POPULATION_UPDATED_AT_ASC', - SignersStddevPopulationUpdatedAtDesc = 'SIGNERS_STDDEV_POPULATION_UPDATED_AT_DESC', - SignersStddevPopulationUpdatedBlockIdAsc = 'SIGNERS_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - SignersStddevPopulationUpdatedBlockIdDesc = 'SIGNERS_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - SignersStddevSampleCreatedAtAsc = 'SIGNERS_STDDEV_SAMPLE_CREATED_AT_ASC', - SignersStddevSampleCreatedAtDesc = 'SIGNERS_STDDEV_SAMPLE_CREATED_AT_DESC', - SignersStddevSampleCreatedBlockIdAsc = 'SIGNERS_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - SignersStddevSampleCreatedBlockIdDesc = 'SIGNERS_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - SignersStddevSampleIdAsc = 'SIGNERS_STDDEV_SAMPLE_ID_ASC', - SignersStddevSampleIdDesc = 'SIGNERS_STDDEV_SAMPLE_ID_DESC', - SignersStddevSampleMultisigIdAsc = 'SIGNERS_STDDEV_SAMPLE_MULTISIG_ID_ASC', - SignersStddevSampleMultisigIdDesc = 'SIGNERS_STDDEV_SAMPLE_MULTISIG_ID_DESC', - SignersStddevSampleSignerTypeAsc = 'SIGNERS_STDDEV_SAMPLE_SIGNER_TYPE_ASC', - SignersStddevSampleSignerTypeDesc = 'SIGNERS_STDDEV_SAMPLE_SIGNER_TYPE_DESC', - SignersStddevSampleSignerValueAsc = 'SIGNERS_STDDEV_SAMPLE_SIGNER_VALUE_ASC', - SignersStddevSampleSignerValueDesc = 'SIGNERS_STDDEV_SAMPLE_SIGNER_VALUE_DESC', - SignersStddevSampleStatusAsc = 'SIGNERS_STDDEV_SAMPLE_STATUS_ASC', - SignersStddevSampleStatusDesc = 'SIGNERS_STDDEV_SAMPLE_STATUS_DESC', - SignersStddevSampleUpdatedAtAsc = 'SIGNERS_STDDEV_SAMPLE_UPDATED_AT_ASC', - SignersStddevSampleUpdatedAtDesc = 'SIGNERS_STDDEV_SAMPLE_UPDATED_AT_DESC', - SignersStddevSampleUpdatedBlockIdAsc = 'SIGNERS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - SignersStddevSampleUpdatedBlockIdDesc = 'SIGNERS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - SignersSumCreatedAtAsc = 'SIGNERS_SUM_CREATED_AT_ASC', - SignersSumCreatedAtDesc = 'SIGNERS_SUM_CREATED_AT_DESC', - SignersSumCreatedBlockIdAsc = 'SIGNERS_SUM_CREATED_BLOCK_ID_ASC', - SignersSumCreatedBlockIdDesc = 'SIGNERS_SUM_CREATED_BLOCK_ID_DESC', - SignersSumIdAsc = 'SIGNERS_SUM_ID_ASC', - SignersSumIdDesc = 'SIGNERS_SUM_ID_DESC', - SignersSumMultisigIdAsc = 'SIGNERS_SUM_MULTISIG_ID_ASC', - SignersSumMultisigIdDesc = 'SIGNERS_SUM_MULTISIG_ID_DESC', - SignersSumSignerTypeAsc = 'SIGNERS_SUM_SIGNER_TYPE_ASC', - SignersSumSignerTypeDesc = 'SIGNERS_SUM_SIGNER_TYPE_DESC', - SignersSumSignerValueAsc = 'SIGNERS_SUM_SIGNER_VALUE_ASC', - SignersSumSignerValueDesc = 'SIGNERS_SUM_SIGNER_VALUE_DESC', - SignersSumStatusAsc = 'SIGNERS_SUM_STATUS_ASC', - SignersSumStatusDesc = 'SIGNERS_SUM_STATUS_DESC', - SignersSumUpdatedAtAsc = 'SIGNERS_SUM_UPDATED_AT_ASC', - SignersSumUpdatedAtDesc = 'SIGNERS_SUM_UPDATED_AT_DESC', - SignersSumUpdatedBlockIdAsc = 'SIGNERS_SUM_UPDATED_BLOCK_ID_ASC', - SignersSumUpdatedBlockIdDesc = 'SIGNERS_SUM_UPDATED_BLOCK_ID_DESC', - SignersVariancePopulationCreatedAtAsc = 'SIGNERS_VARIANCE_POPULATION_CREATED_AT_ASC', - SignersVariancePopulationCreatedAtDesc = 'SIGNERS_VARIANCE_POPULATION_CREATED_AT_DESC', - SignersVariancePopulationCreatedBlockIdAsc = 'SIGNERS_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - SignersVariancePopulationCreatedBlockIdDesc = 'SIGNERS_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - SignersVariancePopulationIdAsc = 'SIGNERS_VARIANCE_POPULATION_ID_ASC', - SignersVariancePopulationIdDesc = 'SIGNERS_VARIANCE_POPULATION_ID_DESC', - SignersVariancePopulationMultisigIdAsc = 'SIGNERS_VARIANCE_POPULATION_MULTISIG_ID_ASC', - SignersVariancePopulationMultisigIdDesc = 'SIGNERS_VARIANCE_POPULATION_MULTISIG_ID_DESC', - SignersVariancePopulationSignerTypeAsc = 'SIGNERS_VARIANCE_POPULATION_SIGNER_TYPE_ASC', - SignersVariancePopulationSignerTypeDesc = 'SIGNERS_VARIANCE_POPULATION_SIGNER_TYPE_DESC', - SignersVariancePopulationSignerValueAsc = 'SIGNERS_VARIANCE_POPULATION_SIGNER_VALUE_ASC', - SignersVariancePopulationSignerValueDesc = 'SIGNERS_VARIANCE_POPULATION_SIGNER_VALUE_DESC', - SignersVariancePopulationStatusAsc = 'SIGNERS_VARIANCE_POPULATION_STATUS_ASC', - SignersVariancePopulationStatusDesc = 'SIGNERS_VARIANCE_POPULATION_STATUS_DESC', - SignersVariancePopulationUpdatedAtAsc = 'SIGNERS_VARIANCE_POPULATION_UPDATED_AT_ASC', - SignersVariancePopulationUpdatedAtDesc = 'SIGNERS_VARIANCE_POPULATION_UPDATED_AT_DESC', - SignersVariancePopulationUpdatedBlockIdAsc = 'SIGNERS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - SignersVariancePopulationUpdatedBlockIdDesc = 'SIGNERS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - SignersVarianceSampleCreatedAtAsc = 'SIGNERS_VARIANCE_SAMPLE_CREATED_AT_ASC', - SignersVarianceSampleCreatedAtDesc = 'SIGNERS_VARIANCE_SAMPLE_CREATED_AT_DESC', - SignersVarianceSampleCreatedBlockIdAsc = 'SIGNERS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - SignersVarianceSampleCreatedBlockIdDesc = 'SIGNERS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - SignersVarianceSampleIdAsc = 'SIGNERS_VARIANCE_SAMPLE_ID_ASC', - SignersVarianceSampleIdDesc = 'SIGNERS_VARIANCE_SAMPLE_ID_DESC', - SignersVarianceSampleMultisigIdAsc = 'SIGNERS_VARIANCE_SAMPLE_MULTISIG_ID_ASC', - SignersVarianceSampleMultisigIdDesc = 'SIGNERS_VARIANCE_SAMPLE_MULTISIG_ID_DESC', - SignersVarianceSampleSignerTypeAsc = 'SIGNERS_VARIANCE_SAMPLE_SIGNER_TYPE_ASC', - SignersVarianceSampleSignerTypeDesc = 'SIGNERS_VARIANCE_SAMPLE_SIGNER_TYPE_DESC', - SignersVarianceSampleSignerValueAsc = 'SIGNERS_VARIANCE_SAMPLE_SIGNER_VALUE_ASC', - SignersVarianceSampleSignerValueDesc = 'SIGNERS_VARIANCE_SAMPLE_SIGNER_VALUE_DESC', - SignersVarianceSampleStatusAsc = 'SIGNERS_VARIANCE_SAMPLE_STATUS_ASC', - SignersVarianceSampleStatusDesc = 'SIGNERS_VARIANCE_SAMPLE_STATUS_DESC', - SignersVarianceSampleUpdatedAtAsc = 'SIGNERS_VARIANCE_SAMPLE_UPDATED_AT_ASC', - SignersVarianceSampleUpdatedAtDesc = 'SIGNERS_VARIANCE_SAMPLE_UPDATED_AT_DESC', - SignersVarianceSampleUpdatedBlockIdAsc = 'SIGNERS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - SignersVarianceSampleUpdatedBlockIdDesc = 'SIGNERS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - UpdatedAtAsc = 'UPDATED_AT_ASC', - UpdatedAtDesc = 'UPDATED_AT_DESC', - UpdatedBlockIdAsc = 'UPDATED_BLOCK_ID_ASC', - UpdatedBlockIdDesc = 'UPDATED_BLOCK_ID_DESC', -} - -/** Represents what NFTs of a collection an Identity owns */ -export type NftHolder = Node & { - __typename?: 'NftHolder'; - /** Reads a single `Asset` that is related to this `NftHolder`. */ - asset?: Maybe; - assetId: Scalars['String']['output']; - createdAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `NftHolder`. */ - createdBlock?: Maybe; - createdBlockId: Scalars['String']['output']; - id: Scalars['String']['output']; - /** Reads a single `Identity` that is related to this `NftHolder`. */ - identity?: Maybe; - identityId: Scalars['String']['output']; - nftIds?: Maybe; - /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ - nodeId: Scalars['ID']['output']; - updatedAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `NftHolder`. */ - updatedBlock?: Maybe; - updatedBlockId: Scalars['String']['output']; -}; - -export type NftHolderAggregates = { - __typename?: 'NftHolderAggregates'; - /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ - distinctCount?: Maybe; - keys?: Maybe>; -}; - -/** A filter to be used against aggregates of `NftHolder` object types. */ -export type NftHolderAggregatesFilter = { - /** Distinct count aggregate over matching `NftHolder` objects. */ - distinctCount?: InputMaybe; - /** A filter that must pass for the relevant `NftHolder` object to be included within the aggregate. */ - filter?: InputMaybe; -}; - -export type NftHolderDistinctCountAggregateFilter = { - assetId?: InputMaybe; - createdAt?: InputMaybe; - createdBlockId?: InputMaybe; - id?: InputMaybe; - identityId?: InputMaybe; - nftIds?: InputMaybe; - updatedAt?: InputMaybe; - updatedBlockId?: InputMaybe; -}; - -export type NftHolderDistinctCountAggregates = { - __typename?: 'NftHolderDistinctCountAggregates'; - /** Distinct count of assetId across the matching connection */ - assetId?: Maybe; - /** Distinct count of createdAt across the matching connection */ - createdAt?: Maybe; - /** Distinct count of createdBlockId across the matching connection */ - createdBlockId?: Maybe; - /** Distinct count of id across the matching connection */ - id?: Maybe; - /** Distinct count of identityId across the matching connection */ - identityId?: Maybe; - /** Distinct count of nftIds across the matching connection */ - nftIds?: Maybe; - /** Distinct count of updatedAt across the matching connection */ - updatedAt?: Maybe; - /** Distinct count of updatedBlockId across the matching connection */ - updatedBlockId?: Maybe; -}; - -/** A filter to be used against `NftHolder` object types. All fields are combined with a logical ‘and.’ */ -export type NftHolderFilter = { - /** Checks for all expressions in this list. */ - and?: InputMaybe>; - /** Filter by the object’s `asset` relation. */ - asset?: InputMaybe; - /** Filter by the object’s `assetId` field. */ - assetId?: InputMaybe; - /** Filter by the object’s `createdAt` field. */ - createdAt?: InputMaybe; - /** Filter by the object’s `createdBlock` relation. */ - createdBlock?: InputMaybe; - /** Filter by the object’s `createdBlockId` field. */ - createdBlockId?: InputMaybe; - /** Filter by the object’s `id` field. */ - id?: InputMaybe; - /** Filter by the object’s `identity` relation. */ - identity?: InputMaybe; - /** Filter by the object’s `identityId` field. */ - identityId?: InputMaybe; - /** Filter by the object’s `nftIds` field. */ - nftIds?: InputMaybe; - /** Negates the expression. */ - not?: InputMaybe; - /** Checks for any expressions in this list. */ - or?: InputMaybe>; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: InputMaybe; - /** Filter by the object’s `updatedBlock` relation. */ - updatedBlock?: InputMaybe; - /** Filter by the object’s `updatedBlockId` field. */ - updatedBlockId?: InputMaybe; -}; - -/** A connection to a list of `NftHolder` values. */ -export type NftHoldersConnection = { - __typename?: 'NftHoldersConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `NftHolder` and cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `NftHolder` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `NftHolder` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `NftHolder` values. */ -export type NftHoldersConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `NftHolder` edge in the connection. */ -export type NftHoldersEdge = { - __typename?: 'NftHoldersEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `NftHolder` at the end of the edge. */ - node?: Maybe; -}; - -/** Grouping methods for `NftHolder` for usage during aggregation. */ -export enum NftHoldersGroupBy { - AssetId = 'ASSET_ID', - CreatedAt = 'CREATED_AT', - CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', - CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', - CreatedBlockId = 'CREATED_BLOCK_ID', - IdentityId = 'IDENTITY_ID', - NftIds = 'NFT_IDS', - UpdatedAt = 'UPDATED_AT', - UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', - UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export type NftHoldersHavingAverageInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type NftHoldersHavingDistinctCountInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Conditions for `NftHolder` aggregates. */ -export type NftHoldersHavingInput = { - AND?: InputMaybe>; - OR?: InputMaybe>; - average?: InputMaybe; - distinctCount?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddevPopulation?: InputMaybe; - stddevSample?: InputMaybe; - sum?: InputMaybe; - variancePopulation?: InputMaybe; - varianceSample?: InputMaybe; -}; - -export type NftHoldersHavingMaxInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type NftHoldersHavingMinInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type NftHoldersHavingStddevPopulationInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type NftHoldersHavingStddevSampleInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type NftHoldersHavingSumInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type NftHoldersHavingVariancePopulationInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type NftHoldersHavingVarianceSampleInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Methods to use when ordering `NftHolder`. */ -export enum NftHoldersOrderBy { - AssetIdAsc = 'ASSET_ID_ASC', - AssetIdDesc = 'ASSET_ID_DESC', - CreatedAtAsc = 'CREATED_AT_ASC', - CreatedAtDesc = 'CREATED_AT_DESC', - CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', - CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', - IdentityIdAsc = 'IDENTITY_ID_ASC', - IdentityIdDesc = 'IDENTITY_ID_DESC', - IdAsc = 'ID_ASC', - IdDesc = 'ID_DESC', - Natural = 'NATURAL', - NftIdsAsc = 'NFT_IDS_ASC', - NftIdsDesc = 'NFT_IDS_DESC', - PrimaryKeyAsc = 'PRIMARY_KEY_ASC', - PrimaryKeyDesc = 'PRIMARY_KEY_DESC', - UpdatedAtAsc = 'UPDATED_AT_ASC', - UpdatedAtDesc = 'UPDATED_AT_DESC', - UpdatedBlockIdAsc = 'UPDATED_BLOCK_ID_ASC', - UpdatedBlockIdDesc = 'UPDATED_BLOCK_ID_DESC', -} - -/** An object with a globally unique `ID`. */ -export type Node = { - /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ - nodeId: Scalars['ID']['output']; -}; - -/** Information about pagination in a connection. */ -export type PageInfo = { - __typename?: 'PageInfo'; - /** When paginating forwards, the cursor to continue. */ - endCursor?: Maybe; - /** When paginating forwards, are there more items? */ - hasNextPage: Scalars['Boolean']['output']; - /** When paginating backwards, are there more items? */ - hasPreviousPage: Scalars['Boolean']['output']; - /** When paginating backwards, the cursor to continue. */ - startCursor?: Maybe; -}; - -/** Represents an Account's permissions. The primary key for an Identity always has full permission */ -export type Permission = Node & { - __typename?: 'Permission'; - /** Reads and enables pagination through a set of `Account`. */ - accountsByPermissionsId: AccountsConnection; - assets?: Maybe; - /** Reads and enables pagination through a set of `Block`. */ - blocksByAccountPermissionsIdAndCreatedBlockId: PermissionBlocksByAccountPermissionsIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByAccountPermissionsIdAndUpdatedBlockId: PermissionBlocksByAccountPermissionsIdAndUpdatedBlockIdManyToManyConnection; - createdAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `Permission`. */ - createdBlock?: Maybe; - createdBlockId: Scalars['String']['output']; - datetime: Scalars['Datetime']['output']; - id: Scalars['String']['output']; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByAccountPermissionsIdAndIdentityId: PermissionIdentitiesByAccountPermissionsIdAndIdentityIdManyToManyConnection; - /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ - nodeId: Scalars['ID']['output']; - portfolios?: Maybe; - transactionGroups: Scalars['JSON']['output']; - transactions?: Maybe; - updatedAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `Permission`. */ - updatedBlock?: Maybe; - updatedBlockId: Scalars['String']['output']; -}; - -/** Represents an Account's permissions. The primary key for an Identity always has full permission */ -export type PermissionAccountsByPermissionsIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents an Account's permissions. The primary key for an Identity always has full permission */ -export type PermissionAssetsArgs = { - distinct?: InputMaybe>>; -}; - -/** Represents an Account's permissions. The primary key for an Identity always has full permission */ -export type PermissionBlocksByAccountPermissionsIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents an Account's permissions. The primary key for an Identity always has full permission */ -export type PermissionBlocksByAccountPermissionsIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents an Account's permissions. The primary key for an Identity always has full permission */ -export type PermissionIdentitiesByAccountPermissionsIdAndIdentityIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents an Account's permissions. The primary key for an Identity always has full permission */ -export type PermissionPortfoliosArgs = { - distinct?: InputMaybe>>; -}; - -export type PermissionAggregates = { - __typename?: 'PermissionAggregates'; - /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ - distinctCount?: Maybe; - keys?: Maybe>; -}; - -/** A filter to be used against aggregates of `Permission` object types. */ -export type PermissionAggregatesFilter = { - /** Distinct count aggregate over matching `Permission` objects. */ - distinctCount?: InputMaybe; - /** A filter that must pass for the relevant `Permission` object to be included within the aggregate. */ - filter?: InputMaybe; -}; - -/** A connection to a list of `Block` values, with data from `Account`. */ -export type PermissionBlocksByAccountPermissionsIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'PermissionBlocksByAccountPermissionsIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Account`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Account`. */ -export type PermissionBlocksByAccountPermissionsIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Account`. */ -export type PermissionBlocksByAccountPermissionsIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'PermissionBlocksByAccountPermissionsIdAndCreatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `Account`. */ - accountsByCreatedBlockId: AccountsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `Account`. */ -export type PermissionBlocksByAccountPermissionsIdAndCreatedBlockIdManyToManyEdgeAccountsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Account`. */ -export type PermissionBlocksByAccountPermissionsIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'PermissionBlocksByAccountPermissionsIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Account`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Account`. */ -export type PermissionBlocksByAccountPermissionsIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Account`. */ -export type PermissionBlocksByAccountPermissionsIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'PermissionBlocksByAccountPermissionsIdAndUpdatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `Account`. */ - accountsByUpdatedBlockId: AccountsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `Account`. */ -export type PermissionBlocksByAccountPermissionsIdAndUpdatedBlockIdManyToManyEdgeAccountsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -export type PermissionDistinctCountAggregateFilter = { - assets?: InputMaybe; - createdAt?: InputMaybe; - createdBlockId?: InputMaybe; - datetime?: InputMaybe; - id?: InputMaybe; - portfolios?: InputMaybe; - transactionGroups?: InputMaybe; - transactions?: InputMaybe; - updatedAt?: InputMaybe; - updatedBlockId?: InputMaybe; -}; - -export type PermissionDistinctCountAggregates = { - __typename?: 'PermissionDistinctCountAggregates'; - /** Distinct count of assets across the matching connection */ - assets?: Maybe; - /** Distinct count of createdAt across the matching connection */ - createdAt?: Maybe; - /** Distinct count of createdBlockId across the matching connection */ - createdBlockId?: Maybe; - /** Distinct count of datetime across the matching connection */ - datetime?: Maybe; - /** Distinct count of id across the matching connection */ - id?: Maybe; - /** Distinct count of portfolios across the matching connection */ - portfolios?: Maybe; - /** Distinct count of transactionGroups across the matching connection */ - transactionGroups?: Maybe; - /** Distinct count of transactions across the matching connection */ - transactions?: Maybe; - /** Distinct count of updatedAt across the matching connection */ - updatedAt?: Maybe; - /** Distinct count of updatedBlockId across the matching connection */ - updatedBlockId?: Maybe; -}; - -/** A filter to be used against `Permission` object types. All fields are combined with a logical ‘and.’ */ -export type PermissionFilter = { - /** Filter by the object’s `accountsByPermissionsId` relation. */ - accountsByPermissionsId?: InputMaybe; - /** Some related `accountsByPermissionsId` exist. */ - accountsByPermissionsIdExist?: InputMaybe; - /** Checks for all expressions in this list. */ - and?: InputMaybe>; - /** Filter by the object’s `assets` field. */ - assets?: InputMaybe; - /** Filter by the object’s `createdAt` field. */ - createdAt?: InputMaybe; - /** Filter by the object’s `createdBlock` relation. */ - createdBlock?: InputMaybe; - /** Filter by the object’s `createdBlockId` field. */ - createdBlockId?: InputMaybe; - /** Filter by the object’s `datetime` field. */ - datetime?: InputMaybe; - /** Filter by the object’s `id` field. */ - id?: InputMaybe; - /** Negates the expression. */ - not?: InputMaybe; - /** Checks for any expressions in this list. */ - or?: InputMaybe>; - /** Filter by the object’s `portfolios` field. */ - portfolios?: InputMaybe; - /** Filter by the object’s `transactionGroups` field. */ - transactionGroups?: InputMaybe; - /** Filter by the object’s `transactions` field. */ - transactions?: InputMaybe; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: InputMaybe; - /** Filter by the object’s `updatedBlock` relation. */ - updatedBlock?: InputMaybe; - /** Filter by the object’s `updatedBlockId` field. */ - updatedBlockId?: InputMaybe; -}; - -/** A connection to a list of `Identity` values, with data from `Account`. */ -export type PermissionIdentitiesByAccountPermissionsIdAndIdentityIdManyToManyConnection = { - __typename?: 'PermissionIdentitiesByAccountPermissionsIdAndIdentityIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `Account`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `Account`. */ -export type PermissionIdentitiesByAccountPermissionsIdAndIdentityIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `Account`. */ -export type PermissionIdentitiesByAccountPermissionsIdAndIdentityIdManyToManyEdge = { - __typename?: 'PermissionIdentitiesByAccountPermissionsIdAndIdentityIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Account`. */ - secondaryAccounts: AccountsConnection; -}; - -/** A `Identity` edge in the connection, with data from `Account`. */ -export type PermissionIdentitiesByAccountPermissionsIdAndIdentityIdManyToManyEdgeSecondaryAccountsArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A filter to be used against many `Account` object types. All fields are combined with a logical ‘and.’ */ -export type PermissionToManyAccountFilter = { - /** Aggregates across related `Account` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `Account` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `Account` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `Account` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A connection to a list of `Permission` values. */ -export type PermissionsConnection = { - __typename?: 'PermissionsConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Permission` and cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Permission` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Permission` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Permission` values. */ -export type PermissionsConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `Permission` edge in the connection. */ -export type PermissionsEdge = { - __typename?: 'PermissionsEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Permission` at the end of the edge. */ - node?: Maybe; -}; - -/** Grouping methods for `Permission` for usage during aggregation. */ -export enum PermissionsGroupBy { - Assets = 'ASSETS', - CreatedAt = 'CREATED_AT', - CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', - CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', - CreatedBlockId = 'CREATED_BLOCK_ID', - Datetime = 'DATETIME', - DatetimeTruncatedToDay = 'DATETIME_TRUNCATED_TO_DAY', - DatetimeTruncatedToHour = 'DATETIME_TRUNCATED_TO_HOUR', - Portfolios = 'PORTFOLIOS', - Transactions = 'TRANSACTIONS', - TransactionGroups = 'TRANSACTION_GROUPS', - UpdatedAt = 'UPDATED_AT', - UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', - UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export type PermissionsHavingAverageInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type PermissionsHavingDistinctCountInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Conditions for `Permission` aggregates. */ -export type PermissionsHavingInput = { - AND?: InputMaybe>; - OR?: InputMaybe>; - average?: InputMaybe; - distinctCount?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddevPopulation?: InputMaybe; - stddevSample?: InputMaybe; - sum?: InputMaybe; - variancePopulation?: InputMaybe; - varianceSample?: InputMaybe; -}; - -export type PermissionsHavingMaxInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type PermissionsHavingMinInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type PermissionsHavingStddevPopulationInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type PermissionsHavingStddevSampleInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type PermissionsHavingSumInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type PermissionsHavingVariancePopulationInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type PermissionsHavingVarianceSampleInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Methods to use when ordering `Permission`. */ -export enum PermissionsOrderBy { - AccountsByPermissionsIdAverageAddressAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_AVERAGE_ADDRESS_ASC', - AccountsByPermissionsIdAverageAddressDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_AVERAGE_ADDRESS_DESC', - AccountsByPermissionsIdAverageCreatedAtAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_AVERAGE_CREATED_AT_ASC', - AccountsByPermissionsIdAverageCreatedAtDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_AVERAGE_CREATED_AT_DESC', - AccountsByPermissionsIdAverageCreatedBlockIdAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - AccountsByPermissionsIdAverageCreatedBlockIdDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - AccountsByPermissionsIdAverageDatetimeAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_AVERAGE_DATETIME_ASC', - AccountsByPermissionsIdAverageDatetimeDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_AVERAGE_DATETIME_DESC', - AccountsByPermissionsIdAverageEventIdAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_AVERAGE_EVENT_ID_ASC', - AccountsByPermissionsIdAverageEventIdDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_AVERAGE_EVENT_ID_DESC', - AccountsByPermissionsIdAverageIdentityIdAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_AVERAGE_IDENTITY_ID_ASC', - AccountsByPermissionsIdAverageIdentityIdDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_AVERAGE_IDENTITY_ID_DESC', - AccountsByPermissionsIdAverageIdAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_AVERAGE_ID_ASC', - AccountsByPermissionsIdAverageIdDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_AVERAGE_ID_DESC', - AccountsByPermissionsIdAveragePermissionsIdAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_AVERAGE_PERMISSIONS_ID_ASC', - AccountsByPermissionsIdAveragePermissionsIdDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_AVERAGE_PERMISSIONS_ID_DESC', - AccountsByPermissionsIdAverageUpdatedAtAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_AVERAGE_UPDATED_AT_ASC', - AccountsByPermissionsIdAverageUpdatedAtDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_AVERAGE_UPDATED_AT_DESC', - AccountsByPermissionsIdAverageUpdatedBlockIdAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - AccountsByPermissionsIdAverageUpdatedBlockIdDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - AccountsByPermissionsIdCountAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_COUNT_ASC', - AccountsByPermissionsIdCountDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_COUNT_DESC', - AccountsByPermissionsIdDistinctCountAddressAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_DISTINCT_COUNT_ADDRESS_ASC', - AccountsByPermissionsIdDistinctCountAddressDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_DISTINCT_COUNT_ADDRESS_DESC', - AccountsByPermissionsIdDistinctCountCreatedAtAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_DISTINCT_COUNT_CREATED_AT_ASC', - AccountsByPermissionsIdDistinctCountCreatedAtDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_DISTINCT_COUNT_CREATED_AT_DESC', - AccountsByPermissionsIdDistinctCountCreatedBlockIdAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - AccountsByPermissionsIdDistinctCountCreatedBlockIdDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - AccountsByPermissionsIdDistinctCountDatetimeAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_DISTINCT_COUNT_DATETIME_ASC', - AccountsByPermissionsIdDistinctCountDatetimeDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_DISTINCT_COUNT_DATETIME_DESC', - AccountsByPermissionsIdDistinctCountEventIdAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_DISTINCT_COUNT_EVENT_ID_ASC', - AccountsByPermissionsIdDistinctCountEventIdDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_DISTINCT_COUNT_EVENT_ID_DESC', - AccountsByPermissionsIdDistinctCountIdentityIdAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_DISTINCT_COUNT_IDENTITY_ID_ASC', - AccountsByPermissionsIdDistinctCountIdentityIdDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_DISTINCT_COUNT_IDENTITY_ID_DESC', - AccountsByPermissionsIdDistinctCountIdAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_DISTINCT_COUNT_ID_ASC', - AccountsByPermissionsIdDistinctCountIdDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_DISTINCT_COUNT_ID_DESC', - AccountsByPermissionsIdDistinctCountPermissionsIdAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_DISTINCT_COUNT_PERMISSIONS_ID_ASC', - AccountsByPermissionsIdDistinctCountPermissionsIdDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_DISTINCT_COUNT_PERMISSIONS_ID_DESC', - AccountsByPermissionsIdDistinctCountUpdatedAtAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - AccountsByPermissionsIdDistinctCountUpdatedAtDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - AccountsByPermissionsIdDistinctCountUpdatedBlockIdAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - AccountsByPermissionsIdDistinctCountUpdatedBlockIdDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - AccountsByPermissionsIdMaxAddressAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_MAX_ADDRESS_ASC', - AccountsByPermissionsIdMaxAddressDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_MAX_ADDRESS_DESC', - AccountsByPermissionsIdMaxCreatedAtAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_MAX_CREATED_AT_ASC', - AccountsByPermissionsIdMaxCreatedAtDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_MAX_CREATED_AT_DESC', - AccountsByPermissionsIdMaxCreatedBlockIdAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_MAX_CREATED_BLOCK_ID_ASC', - AccountsByPermissionsIdMaxCreatedBlockIdDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_MAX_CREATED_BLOCK_ID_DESC', - AccountsByPermissionsIdMaxDatetimeAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_MAX_DATETIME_ASC', - AccountsByPermissionsIdMaxDatetimeDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_MAX_DATETIME_DESC', - AccountsByPermissionsIdMaxEventIdAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_MAX_EVENT_ID_ASC', - AccountsByPermissionsIdMaxEventIdDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_MAX_EVENT_ID_DESC', - AccountsByPermissionsIdMaxIdentityIdAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_MAX_IDENTITY_ID_ASC', - AccountsByPermissionsIdMaxIdentityIdDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_MAX_IDENTITY_ID_DESC', - AccountsByPermissionsIdMaxIdAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_MAX_ID_ASC', - AccountsByPermissionsIdMaxIdDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_MAX_ID_DESC', - AccountsByPermissionsIdMaxPermissionsIdAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_MAX_PERMISSIONS_ID_ASC', - AccountsByPermissionsIdMaxPermissionsIdDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_MAX_PERMISSIONS_ID_DESC', - AccountsByPermissionsIdMaxUpdatedAtAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_MAX_UPDATED_AT_ASC', - AccountsByPermissionsIdMaxUpdatedAtDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_MAX_UPDATED_AT_DESC', - AccountsByPermissionsIdMaxUpdatedBlockIdAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_MAX_UPDATED_BLOCK_ID_ASC', - AccountsByPermissionsIdMaxUpdatedBlockIdDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_MAX_UPDATED_BLOCK_ID_DESC', - AccountsByPermissionsIdMinAddressAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_MIN_ADDRESS_ASC', - AccountsByPermissionsIdMinAddressDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_MIN_ADDRESS_DESC', - AccountsByPermissionsIdMinCreatedAtAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_MIN_CREATED_AT_ASC', - AccountsByPermissionsIdMinCreatedAtDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_MIN_CREATED_AT_DESC', - AccountsByPermissionsIdMinCreatedBlockIdAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_MIN_CREATED_BLOCK_ID_ASC', - AccountsByPermissionsIdMinCreatedBlockIdDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_MIN_CREATED_BLOCK_ID_DESC', - AccountsByPermissionsIdMinDatetimeAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_MIN_DATETIME_ASC', - AccountsByPermissionsIdMinDatetimeDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_MIN_DATETIME_DESC', - AccountsByPermissionsIdMinEventIdAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_MIN_EVENT_ID_ASC', - AccountsByPermissionsIdMinEventIdDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_MIN_EVENT_ID_DESC', - AccountsByPermissionsIdMinIdentityIdAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_MIN_IDENTITY_ID_ASC', - AccountsByPermissionsIdMinIdentityIdDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_MIN_IDENTITY_ID_DESC', - AccountsByPermissionsIdMinIdAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_MIN_ID_ASC', - AccountsByPermissionsIdMinIdDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_MIN_ID_DESC', - AccountsByPermissionsIdMinPermissionsIdAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_MIN_PERMISSIONS_ID_ASC', - AccountsByPermissionsIdMinPermissionsIdDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_MIN_PERMISSIONS_ID_DESC', - AccountsByPermissionsIdMinUpdatedAtAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_MIN_UPDATED_AT_ASC', - AccountsByPermissionsIdMinUpdatedAtDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_MIN_UPDATED_AT_DESC', - AccountsByPermissionsIdMinUpdatedBlockIdAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_MIN_UPDATED_BLOCK_ID_ASC', - AccountsByPermissionsIdMinUpdatedBlockIdDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_MIN_UPDATED_BLOCK_ID_DESC', - AccountsByPermissionsIdStddevPopulationAddressAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_STDDEV_POPULATION_ADDRESS_ASC', - AccountsByPermissionsIdStddevPopulationAddressDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_STDDEV_POPULATION_ADDRESS_DESC', - AccountsByPermissionsIdStddevPopulationCreatedAtAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_STDDEV_POPULATION_CREATED_AT_ASC', - AccountsByPermissionsIdStddevPopulationCreatedAtDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_STDDEV_POPULATION_CREATED_AT_DESC', - AccountsByPermissionsIdStddevPopulationCreatedBlockIdAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - AccountsByPermissionsIdStddevPopulationCreatedBlockIdDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - AccountsByPermissionsIdStddevPopulationDatetimeAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_STDDEV_POPULATION_DATETIME_ASC', - AccountsByPermissionsIdStddevPopulationDatetimeDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_STDDEV_POPULATION_DATETIME_DESC', - AccountsByPermissionsIdStddevPopulationEventIdAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_STDDEV_POPULATION_EVENT_ID_ASC', - AccountsByPermissionsIdStddevPopulationEventIdDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_STDDEV_POPULATION_EVENT_ID_DESC', - AccountsByPermissionsIdStddevPopulationIdentityIdAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_STDDEV_POPULATION_IDENTITY_ID_ASC', - AccountsByPermissionsIdStddevPopulationIdentityIdDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_STDDEV_POPULATION_IDENTITY_ID_DESC', - AccountsByPermissionsIdStddevPopulationIdAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_STDDEV_POPULATION_ID_ASC', - AccountsByPermissionsIdStddevPopulationIdDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_STDDEV_POPULATION_ID_DESC', - AccountsByPermissionsIdStddevPopulationPermissionsIdAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_STDDEV_POPULATION_PERMISSIONS_ID_ASC', - AccountsByPermissionsIdStddevPopulationPermissionsIdDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_STDDEV_POPULATION_PERMISSIONS_ID_DESC', - AccountsByPermissionsIdStddevPopulationUpdatedAtAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - AccountsByPermissionsIdStddevPopulationUpdatedAtDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - AccountsByPermissionsIdStddevPopulationUpdatedBlockIdAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - AccountsByPermissionsIdStddevPopulationUpdatedBlockIdDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - AccountsByPermissionsIdStddevSampleAddressAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_STDDEV_SAMPLE_ADDRESS_ASC', - AccountsByPermissionsIdStddevSampleAddressDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_STDDEV_SAMPLE_ADDRESS_DESC', - AccountsByPermissionsIdStddevSampleCreatedAtAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - AccountsByPermissionsIdStddevSampleCreatedAtDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - AccountsByPermissionsIdStddevSampleCreatedBlockIdAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - AccountsByPermissionsIdStddevSampleCreatedBlockIdDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - AccountsByPermissionsIdStddevSampleDatetimeAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_STDDEV_SAMPLE_DATETIME_ASC', - AccountsByPermissionsIdStddevSampleDatetimeDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_STDDEV_SAMPLE_DATETIME_DESC', - AccountsByPermissionsIdStddevSampleEventIdAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_STDDEV_SAMPLE_EVENT_ID_ASC', - AccountsByPermissionsIdStddevSampleEventIdDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_STDDEV_SAMPLE_EVENT_ID_DESC', - AccountsByPermissionsIdStddevSampleIdentityIdAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_STDDEV_SAMPLE_IDENTITY_ID_ASC', - AccountsByPermissionsIdStddevSampleIdentityIdDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_STDDEV_SAMPLE_IDENTITY_ID_DESC', - AccountsByPermissionsIdStddevSampleIdAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_STDDEV_SAMPLE_ID_ASC', - AccountsByPermissionsIdStddevSampleIdDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_STDDEV_SAMPLE_ID_DESC', - AccountsByPermissionsIdStddevSamplePermissionsIdAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_STDDEV_SAMPLE_PERMISSIONS_ID_ASC', - AccountsByPermissionsIdStddevSamplePermissionsIdDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_STDDEV_SAMPLE_PERMISSIONS_ID_DESC', - AccountsByPermissionsIdStddevSampleUpdatedAtAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - AccountsByPermissionsIdStddevSampleUpdatedAtDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - AccountsByPermissionsIdStddevSampleUpdatedBlockIdAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - AccountsByPermissionsIdStddevSampleUpdatedBlockIdDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - AccountsByPermissionsIdSumAddressAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_SUM_ADDRESS_ASC', - AccountsByPermissionsIdSumAddressDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_SUM_ADDRESS_DESC', - AccountsByPermissionsIdSumCreatedAtAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_SUM_CREATED_AT_ASC', - AccountsByPermissionsIdSumCreatedAtDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_SUM_CREATED_AT_DESC', - AccountsByPermissionsIdSumCreatedBlockIdAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_SUM_CREATED_BLOCK_ID_ASC', - AccountsByPermissionsIdSumCreatedBlockIdDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_SUM_CREATED_BLOCK_ID_DESC', - AccountsByPermissionsIdSumDatetimeAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_SUM_DATETIME_ASC', - AccountsByPermissionsIdSumDatetimeDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_SUM_DATETIME_DESC', - AccountsByPermissionsIdSumEventIdAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_SUM_EVENT_ID_ASC', - AccountsByPermissionsIdSumEventIdDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_SUM_EVENT_ID_DESC', - AccountsByPermissionsIdSumIdentityIdAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_SUM_IDENTITY_ID_ASC', - AccountsByPermissionsIdSumIdentityIdDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_SUM_IDENTITY_ID_DESC', - AccountsByPermissionsIdSumIdAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_SUM_ID_ASC', - AccountsByPermissionsIdSumIdDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_SUM_ID_DESC', - AccountsByPermissionsIdSumPermissionsIdAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_SUM_PERMISSIONS_ID_ASC', - AccountsByPermissionsIdSumPermissionsIdDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_SUM_PERMISSIONS_ID_DESC', - AccountsByPermissionsIdSumUpdatedAtAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_SUM_UPDATED_AT_ASC', - AccountsByPermissionsIdSumUpdatedAtDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_SUM_UPDATED_AT_DESC', - AccountsByPermissionsIdSumUpdatedBlockIdAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_SUM_UPDATED_BLOCK_ID_ASC', - AccountsByPermissionsIdSumUpdatedBlockIdDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_SUM_UPDATED_BLOCK_ID_DESC', - AccountsByPermissionsIdVariancePopulationAddressAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_VARIANCE_POPULATION_ADDRESS_ASC', - AccountsByPermissionsIdVariancePopulationAddressDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_VARIANCE_POPULATION_ADDRESS_DESC', - AccountsByPermissionsIdVariancePopulationCreatedAtAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - AccountsByPermissionsIdVariancePopulationCreatedAtDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - AccountsByPermissionsIdVariancePopulationCreatedBlockIdAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - AccountsByPermissionsIdVariancePopulationCreatedBlockIdDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - AccountsByPermissionsIdVariancePopulationDatetimeAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_VARIANCE_POPULATION_DATETIME_ASC', - AccountsByPermissionsIdVariancePopulationDatetimeDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_VARIANCE_POPULATION_DATETIME_DESC', - AccountsByPermissionsIdVariancePopulationEventIdAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_VARIANCE_POPULATION_EVENT_ID_ASC', - AccountsByPermissionsIdVariancePopulationEventIdDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_VARIANCE_POPULATION_EVENT_ID_DESC', - AccountsByPermissionsIdVariancePopulationIdentityIdAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_VARIANCE_POPULATION_IDENTITY_ID_ASC', - AccountsByPermissionsIdVariancePopulationIdentityIdDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_VARIANCE_POPULATION_IDENTITY_ID_DESC', - AccountsByPermissionsIdVariancePopulationIdAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_VARIANCE_POPULATION_ID_ASC', - AccountsByPermissionsIdVariancePopulationIdDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_VARIANCE_POPULATION_ID_DESC', - AccountsByPermissionsIdVariancePopulationPermissionsIdAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_VARIANCE_POPULATION_PERMISSIONS_ID_ASC', - AccountsByPermissionsIdVariancePopulationPermissionsIdDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_VARIANCE_POPULATION_PERMISSIONS_ID_DESC', - AccountsByPermissionsIdVariancePopulationUpdatedAtAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - AccountsByPermissionsIdVariancePopulationUpdatedAtDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - AccountsByPermissionsIdVariancePopulationUpdatedBlockIdAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - AccountsByPermissionsIdVariancePopulationUpdatedBlockIdDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - AccountsByPermissionsIdVarianceSampleAddressAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_VARIANCE_SAMPLE_ADDRESS_ASC', - AccountsByPermissionsIdVarianceSampleAddressDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_VARIANCE_SAMPLE_ADDRESS_DESC', - AccountsByPermissionsIdVarianceSampleCreatedAtAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - AccountsByPermissionsIdVarianceSampleCreatedAtDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - AccountsByPermissionsIdVarianceSampleCreatedBlockIdAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - AccountsByPermissionsIdVarianceSampleCreatedBlockIdDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - AccountsByPermissionsIdVarianceSampleDatetimeAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_VARIANCE_SAMPLE_DATETIME_ASC', - AccountsByPermissionsIdVarianceSampleDatetimeDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_VARIANCE_SAMPLE_DATETIME_DESC', - AccountsByPermissionsIdVarianceSampleEventIdAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_VARIANCE_SAMPLE_EVENT_ID_ASC', - AccountsByPermissionsIdVarianceSampleEventIdDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_VARIANCE_SAMPLE_EVENT_ID_DESC', - AccountsByPermissionsIdVarianceSampleIdentityIdAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_VARIANCE_SAMPLE_IDENTITY_ID_ASC', - AccountsByPermissionsIdVarianceSampleIdentityIdDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_VARIANCE_SAMPLE_IDENTITY_ID_DESC', - AccountsByPermissionsIdVarianceSampleIdAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_VARIANCE_SAMPLE_ID_ASC', - AccountsByPermissionsIdVarianceSampleIdDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_VARIANCE_SAMPLE_ID_DESC', - AccountsByPermissionsIdVarianceSamplePermissionsIdAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_VARIANCE_SAMPLE_PERMISSIONS_ID_ASC', - AccountsByPermissionsIdVarianceSamplePermissionsIdDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_VARIANCE_SAMPLE_PERMISSIONS_ID_DESC', - AccountsByPermissionsIdVarianceSampleUpdatedAtAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - AccountsByPermissionsIdVarianceSampleUpdatedAtDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - AccountsByPermissionsIdVarianceSampleUpdatedBlockIdAsc = 'ACCOUNTS_BY_PERMISSIONS_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - AccountsByPermissionsIdVarianceSampleUpdatedBlockIdDesc = 'ACCOUNTS_BY_PERMISSIONS_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - AssetsAsc = 'ASSETS_ASC', - AssetsDesc = 'ASSETS_DESC', - CreatedAtAsc = 'CREATED_AT_ASC', - CreatedAtDesc = 'CREATED_AT_DESC', - CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', - CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', - DatetimeAsc = 'DATETIME_ASC', - DatetimeDesc = 'DATETIME_DESC', - IdAsc = 'ID_ASC', - IdDesc = 'ID_DESC', - Natural = 'NATURAL', - PortfoliosAsc = 'PORTFOLIOS_ASC', - PortfoliosDesc = 'PORTFOLIOS_DESC', - PrimaryKeyAsc = 'PRIMARY_KEY_ASC', - PrimaryKeyDesc = 'PRIMARY_KEY_DESC', - TransactionsAsc = 'TRANSACTIONS_ASC', - TransactionsDesc = 'TRANSACTIONS_DESC', - TransactionGroupsAsc = 'TRANSACTION_GROUPS_ASC', - TransactionGroupsDesc = 'TRANSACTION_GROUPS_DESC', - UpdatedAtAsc = 'UPDATED_AT_ASC', - UpdatedAtDesc = 'UPDATED_AT_DESC', - UpdatedBlockIdAsc = 'UPDATED_BLOCK_ID_ASC', - UpdatedBlockIdDesc = 'UPDATED_BLOCK_ID_DESC', -} - -/** Represents transactions involving POLYX */ -export type PolyxTransaction = Node & { - __typename?: 'PolyxTransaction'; - address?: Maybe; - amount: Scalars['BigFloat']['output']; - callId?: Maybe; - createdAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `PolyxTransaction`. */ - createdBlock?: Maybe; - createdBlockId: Scalars['String']['output']; - datetime: Scalars['Datetime']['output']; - eventId?: Maybe; - eventIdx: Scalars['Int']['output']; - /** Reads a single `Extrinsic` that is related to this `PolyxTransaction`. */ - extrinsic?: Maybe; - extrinsicId?: Maybe; - id: Scalars['String']['output']; - identityId?: Maybe; - memo?: Maybe; - moduleId?: Maybe; - /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ - nodeId: Scalars['ID']['output']; - toAddress?: Maybe; - toId?: Maybe; - type: BalanceTypeEnum; - updatedAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `PolyxTransaction`. */ - updatedBlock?: Maybe; - updatedBlockId: Scalars['String']['output']; -}; - -export type PolyxTransactionAggregates = { - __typename?: 'PolyxTransactionAggregates'; - /** Mean average aggregates across the matching connection (ignoring before/after/first/last/offset) */ - average?: Maybe; - /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ - distinctCount?: Maybe; - keys?: Maybe>; - /** Maximum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - max?: Maybe; - /** Minimum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - min?: Maybe; - /** Population standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevPopulation?: Maybe; - /** Sample standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevSample?: Maybe; - /** Sum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - sum?: Maybe; - /** Population variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - variancePopulation?: Maybe; - /** Sample variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - varianceSample?: Maybe; -}; - -/** A filter to be used against aggregates of `PolyxTransaction` object types. */ -export type PolyxTransactionAggregatesFilter = { - /** Mean average aggregate over matching `PolyxTransaction` objects. */ - average?: InputMaybe; - /** Distinct count aggregate over matching `PolyxTransaction` objects. */ - distinctCount?: InputMaybe; - /** A filter that must pass for the relevant `PolyxTransaction` object to be included within the aggregate. */ - filter?: InputMaybe; - /** Maximum aggregate over matching `PolyxTransaction` objects. */ - max?: InputMaybe; - /** Minimum aggregate over matching `PolyxTransaction` objects. */ - min?: InputMaybe; - /** Population standard deviation aggregate over matching `PolyxTransaction` objects. */ - stddevPopulation?: InputMaybe; - /** Sample standard deviation aggregate over matching `PolyxTransaction` objects. */ - stddevSample?: InputMaybe; - /** Sum aggregate over matching `PolyxTransaction` objects. */ - sum?: InputMaybe; - /** Population variance aggregate over matching `PolyxTransaction` objects. */ - variancePopulation?: InputMaybe; - /** Sample variance aggregate over matching `PolyxTransaction` objects. */ - varianceSample?: InputMaybe; -}; - -export type PolyxTransactionAverageAggregateFilter = { - amount?: InputMaybe; - eventIdx?: InputMaybe; -}; - -export type PolyxTransactionAverageAggregates = { - __typename?: 'PolyxTransactionAverageAggregates'; - /** Mean average of amount across the matching connection */ - amount?: Maybe; - /** Mean average of eventIdx across the matching connection */ - eventIdx?: Maybe; -}; - -export type PolyxTransactionDistinctCountAggregateFilter = { - address?: InputMaybe; - amount?: InputMaybe; - callId?: InputMaybe; - createdAt?: InputMaybe; - createdBlockId?: InputMaybe; - datetime?: InputMaybe; - eventId?: InputMaybe; - eventIdx?: InputMaybe; - extrinsicId?: InputMaybe; - id?: InputMaybe; - identityId?: InputMaybe; - memo?: InputMaybe; - moduleId?: InputMaybe; - toAddress?: InputMaybe; - toId?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; - updatedBlockId?: InputMaybe; -}; - -export type PolyxTransactionDistinctCountAggregates = { - __typename?: 'PolyxTransactionDistinctCountAggregates'; - /** Distinct count of address across the matching connection */ - address?: Maybe; - /** Distinct count of amount across the matching connection */ - amount?: Maybe; - /** Distinct count of callId across the matching connection */ - callId?: Maybe; - /** Distinct count of createdAt across the matching connection */ - createdAt?: Maybe; - /** Distinct count of createdBlockId across the matching connection */ - createdBlockId?: Maybe; - /** Distinct count of datetime across the matching connection */ - datetime?: Maybe; - /** Distinct count of eventId across the matching connection */ - eventId?: Maybe; - /** Distinct count of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Distinct count of extrinsicId across the matching connection */ - extrinsicId?: Maybe; - /** Distinct count of id across the matching connection */ - id?: Maybe; - /** Distinct count of identityId across the matching connection */ - identityId?: Maybe; - /** Distinct count of memo across the matching connection */ - memo?: Maybe; - /** Distinct count of moduleId across the matching connection */ - moduleId?: Maybe; - /** Distinct count of toAddress across the matching connection */ - toAddress?: Maybe; - /** Distinct count of toId across the matching connection */ - toId?: Maybe; - /** Distinct count of type across the matching connection */ - type?: Maybe; - /** Distinct count of updatedAt across the matching connection */ - updatedAt?: Maybe; - /** Distinct count of updatedBlockId across the matching connection */ - updatedBlockId?: Maybe; -}; - -/** A filter to be used against `PolyxTransaction` object types. All fields are combined with a logical ‘and.’ */ -export type PolyxTransactionFilter = { - /** Filter by the object’s `address` field. */ - address?: InputMaybe; - /** Filter by the object’s `amount` field. */ - amount?: InputMaybe; - /** Checks for all expressions in this list. */ - and?: InputMaybe>; - /** Filter by the object’s `callId` field. */ - callId?: InputMaybe; - /** Filter by the object’s `createdAt` field. */ - createdAt?: InputMaybe; - /** Filter by the object’s `createdBlock` relation. */ - createdBlock?: InputMaybe; - /** Filter by the object’s `createdBlockId` field. */ - createdBlockId?: InputMaybe; - /** Filter by the object’s `datetime` field. */ - datetime?: InputMaybe; - /** Filter by the object’s `eventId` field. */ - eventId?: InputMaybe; - /** Filter by the object’s `eventIdx` field. */ - eventIdx?: InputMaybe; - /** Filter by the object’s `extrinsic` relation. */ - extrinsic?: InputMaybe; - /** A related `extrinsic` exists. */ - extrinsicExists?: InputMaybe; - /** Filter by the object’s `extrinsicId` field. */ - extrinsicId?: InputMaybe; - /** Filter by the object’s `id` field. */ - id?: InputMaybe; - /** Filter by the object’s `identityId` field. */ - identityId?: InputMaybe; - /** Filter by the object’s `memo` field. */ - memo?: InputMaybe; - /** Filter by the object’s `moduleId` field. */ - moduleId?: InputMaybe; - /** Negates the expression. */ - not?: InputMaybe; - /** Checks for any expressions in this list. */ - or?: InputMaybe>; - /** Filter by the object’s `toAddress` field. */ - toAddress?: InputMaybe; - /** Filter by the object’s `toId` field. */ - toId?: InputMaybe; - /** Filter by the object’s `type` field. */ - type?: InputMaybe; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: InputMaybe; - /** Filter by the object’s `updatedBlock` relation. */ - updatedBlock?: InputMaybe; - /** Filter by the object’s `updatedBlockId` field. */ - updatedBlockId?: InputMaybe; -}; - -export type PolyxTransactionMaxAggregateFilter = { - amount?: InputMaybe; - eventIdx?: InputMaybe; -}; - -export type PolyxTransactionMaxAggregates = { - __typename?: 'PolyxTransactionMaxAggregates'; - /** Maximum of amount across the matching connection */ - amount?: Maybe; - /** Maximum of eventIdx across the matching connection */ - eventIdx?: Maybe; -}; - -export type PolyxTransactionMinAggregateFilter = { - amount?: InputMaybe; - eventIdx?: InputMaybe; -}; - -export type PolyxTransactionMinAggregates = { - __typename?: 'PolyxTransactionMinAggregates'; - /** Minimum of amount across the matching connection */ - amount?: Maybe; - /** Minimum of eventIdx across the matching connection */ - eventIdx?: Maybe; -}; - -export type PolyxTransactionStddevPopulationAggregateFilter = { - amount?: InputMaybe; - eventIdx?: InputMaybe; -}; - -export type PolyxTransactionStddevPopulationAggregates = { - __typename?: 'PolyxTransactionStddevPopulationAggregates'; - /** Population standard deviation of amount across the matching connection */ - amount?: Maybe; - /** Population standard deviation of eventIdx across the matching connection */ - eventIdx?: Maybe; -}; - -export type PolyxTransactionStddevSampleAggregateFilter = { - amount?: InputMaybe; - eventIdx?: InputMaybe; -}; - -export type PolyxTransactionStddevSampleAggregates = { - __typename?: 'PolyxTransactionStddevSampleAggregates'; - /** Sample standard deviation of amount across the matching connection */ - amount?: Maybe; - /** Sample standard deviation of eventIdx across the matching connection */ - eventIdx?: Maybe; -}; - -export type PolyxTransactionSumAggregateFilter = { - amount?: InputMaybe; - eventIdx?: InputMaybe; -}; - -export type PolyxTransactionSumAggregates = { - __typename?: 'PolyxTransactionSumAggregates'; - /** Sum of amount across the matching connection */ - amount: Scalars['BigFloat']['output']; - /** Sum of eventIdx across the matching connection */ - eventIdx: Scalars['BigInt']['output']; -}; - -export type PolyxTransactionVariancePopulationAggregateFilter = { - amount?: InputMaybe; - eventIdx?: InputMaybe; -}; - -export type PolyxTransactionVariancePopulationAggregates = { - __typename?: 'PolyxTransactionVariancePopulationAggregates'; - /** Population variance of amount across the matching connection */ - amount?: Maybe; - /** Population variance of eventIdx across the matching connection */ - eventIdx?: Maybe; -}; - -export type PolyxTransactionVarianceSampleAggregateFilter = { - amount?: InputMaybe; - eventIdx?: InputMaybe; -}; - -export type PolyxTransactionVarianceSampleAggregates = { - __typename?: 'PolyxTransactionVarianceSampleAggregates'; - /** Sample variance of amount across the matching connection */ - amount?: Maybe; - /** Sample variance of eventIdx across the matching connection */ - eventIdx?: Maybe; -}; - -/** A connection to a list of `PolyxTransaction` values. */ -export type PolyxTransactionsConnection = { - __typename?: 'PolyxTransactionsConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `PolyxTransaction` and cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `PolyxTransaction` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `PolyxTransaction` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `PolyxTransaction` values. */ -export type PolyxTransactionsConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `PolyxTransaction` edge in the connection. */ -export type PolyxTransactionsEdge = { - __typename?: 'PolyxTransactionsEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `PolyxTransaction` at the end of the edge. */ - node?: Maybe; -}; - -/** Grouping methods for `PolyxTransaction` for usage during aggregation. */ -export enum PolyxTransactionsGroupBy { - Address = 'ADDRESS', - Amount = 'AMOUNT', - CallId = 'CALL_ID', - CreatedAt = 'CREATED_AT', - CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', - CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', - CreatedBlockId = 'CREATED_BLOCK_ID', - Datetime = 'DATETIME', - DatetimeTruncatedToDay = 'DATETIME_TRUNCATED_TO_DAY', - DatetimeTruncatedToHour = 'DATETIME_TRUNCATED_TO_HOUR', - EventId = 'EVENT_ID', - EventIdx = 'EVENT_IDX', - ExtrinsicId = 'EXTRINSIC_ID', - IdentityId = 'IDENTITY_ID', - Memo = 'MEMO', - ModuleId = 'MODULE_ID', - ToAddress = 'TO_ADDRESS', - ToId = 'TO_ID', - Type = 'TYPE', - UpdatedAt = 'UPDATED_AT', - UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', - UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export type PolyxTransactionsHavingAverageInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type PolyxTransactionsHavingDistinctCountInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Conditions for `PolyxTransaction` aggregates. */ -export type PolyxTransactionsHavingInput = { - AND?: InputMaybe>; - OR?: InputMaybe>; - average?: InputMaybe; - distinctCount?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddevPopulation?: InputMaybe; - stddevSample?: InputMaybe; - sum?: InputMaybe; - variancePopulation?: InputMaybe; - varianceSample?: InputMaybe; -}; - -export type PolyxTransactionsHavingMaxInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type PolyxTransactionsHavingMinInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type PolyxTransactionsHavingStddevPopulationInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type PolyxTransactionsHavingStddevSampleInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type PolyxTransactionsHavingSumInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type PolyxTransactionsHavingVariancePopulationInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type PolyxTransactionsHavingVarianceSampleInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Methods to use when ordering `PolyxTransaction`. */ -export enum PolyxTransactionsOrderBy { - AddressAsc = 'ADDRESS_ASC', - AddressDesc = 'ADDRESS_DESC', - AmountAsc = 'AMOUNT_ASC', - AmountDesc = 'AMOUNT_DESC', - CallIdAsc = 'CALL_ID_ASC', - CallIdDesc = 'CALL_ID_DESC', - CreatedAtAsc = 'CREATED_AT_ASC', - CreatedAtDesc = 'CREATED_AT_DESC', - CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', - CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', - DatetimeAsc = 'DATETIME_ASC', - DatetimeDesc = 'DATETIME_DESC', - EventIdxAsc = 'EVENT_IDX_ASC', - EventIdxDesc = 'EVENT_IDX_DESC', - EventIdAsc = 'EVENT_ID_ASC', - EventIdDesc = 'EVENT_ID_DESC', - ExtrinsicIdAsc = 'EXTRINSIC_ID_ASC', - ExtrinsicIdDesc = 'EXTRINSIC_ID_DESC', - IdentityIdAsc = 'IDENTITY_ID_ASC', - IdentityIdDesc = 'IDENTITY_ID_DESC', - IdAsc = 'ID_ASC', - IdDesc = 'ID_DESC', - MemoAsc = 'MEMO_ASC', - MemoDesc = 'MEMO_DESC', - ModuleIdAsc = 'MODULE_ID_ASC', - ModuleIdDesc = 'MODULE_ID_DESC', - Natural = 'NATURAL', - PrimaryKeyAsc = 'PRIMARY_KEY_ASC', - PrimaryKeyDesc = 'PRIMARY_KEY_DESC', - ToAddressAsc = 'TO_ADDRESS_ASC', - ToAddressDesc = 'TO_ADDRESS_DESC', - ToIdAsc = 'TO_ID_ASC', - ToIdDesc = 'TO_ID_DESC', - TypeAsc = 'TYPE_ASC', - TypeDesc = 'TYPE_DESC', - UpdatedAtAsc = 'UPDATED_AT_ASC', - UpdatedAtDesc = 'UPDATED_AT_DESC', - UpdatedBlockIdAsc = 'UPDATED_BLOCK_ID_ASC', - UpdatedBlockIdDesc = 'UPDATED_BLOCK_ID_DESC', -} - -/** - * Represents a grouping of Assets held by an Identity. Particular accounts maybe authorized only over certain portfolios - * - * Note: identities will always have a default Portfolio (id = 0) - */ -export type Portfolio = Node & { - __typename?: 'Portfolio'; - /** Reads and enables pagination through a set of `AssetTransaction`. */ - assetTransactionsByFromPortfolioId: AssetTransactionsConnection; - /** Reads and enables pagination through a set of `AssetTransaction`. */ - assetTransactionsByToPortfolioId: AssetTransactionsConnection; - /** Reads and enables pagination through a set of `Asset`. */ - assetsByAssetTransactionFromPortfolioIdAndAssetId: PortfolioAssetsByAssetTransactionFromPortfolioIdAndAssetIdManyToManyConnection; - /** Reads and enables pagination through a set of `Asset`. */ - assetsByAssetTransactionToPortfolioIdAndAssetId: PortfolioAssetsByAssetTransactionToPortfolioIdAndAssetIdManyToManyConnection; - /** Reads and enables pagination through a set of `Asset`. */ - assetsByDistributionPortfolioIdAndAssetId: PortfolioAssetsByDistributionPortfolioIdAndAssetIdManyToManyConnection; - /** Reads and enables pagination through a set of `Asset`. */ - assetsByPortfolioMovementFromIdAndAssetId: PortfolioAssetsByPortfolioMovementFromIdAndAssetIdManyToManyConnection; - /** Reads and enables pagination through a set of `Asset`. */ - assetsByPortfolioMovementToIdAndAssetId: PortfolioAssetsByPortfolioMovementToIdAndAssetIdManyToManyConnection; - /** Reads and enables pagination through a set of `Asset`. */ - assetsByStoOfferingPortfolioIdAndOfferingAssetId: PortfolioAssetsByStoOfferingPortfolioIdAndOfferingAssetIdManyToManyConnection; - /** Reads and enables pagination through a set of `Asset`. */ - assetsByStoRaisingPortfolioIdAndOfferingAssetId: PortfolioAssetsByStoRaisingPortfolioIdAndOfferingAssetIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByAssetTransactionFromPortfolioIdAndCreatedBlockId: PortfolioBlocksByAssetTransactionFromPortfolioIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByAssetTransactionFromPortfolioIdAndUpdatedBlockId: PortfolioBlocksByAssetTransactionFromPortfolioIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByAssetTransactionToPortfolioIdAndCreatedBlockId: PortfolioBlocksByAssetTransactionToPortfolioIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByAssetTransactionToPortfolioIdAndUpdatedBlockId: PortfolioBlocksByAssetTransactionToPortfolioIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByDistributionPortfolioIdAndCreatedBlockId: PortfolioBlocksByDistributionPortfolioIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByDistributionPortfolioIdAndUpdatedBlockId: PortfolioBlocksByDistributionPortfolioIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByLegFromIdAndCreatedBlockId: PortfolioBlocksByLegFromIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByLegFromIdAndUpdatedBlockId: PortfolioBlocksByLegFromIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByLegToIdAndCreatedBlockId: PortfolioBlocksByLegToIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByLegToIdAndUpdatedBlockId: PortfolioBlocksByLegToIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByPortfolioMovementFromIdAndCreatedBlockId: PortfolioBlocksByPortfolioMovementFromIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByPortfolioMovementFromIdAndUpdatedBlockId: PortfolioBlocksByPortfolioMovementFromIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByPortfolioMovementToIdAndCreatedBlockId: PortfolioBlocksByPortfolioMovementToIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByPortfolioMovementToIdAndUpdatedBlockId: PortfolioBlocksByPortfolioMovementToIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByStoOfferingPortfolioIdAndCreatedBlockId: PortfolioBlocksByStoOfferingPortfolioIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByStoOfferingPortfolioIdAndUpdatedBlockId: PortfolioBlocksByStoOfferingPortfolioIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByStoRaisingPortfolioIdAndCreatedBlockId: PortfolioBlocksByStoRaisingPortfolioIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByStoRaisingPortfolioIdAndUpdatedBlockId: PortfolioBlocksByStoRaisingPortfolioIdAndUpdatedBlockIdManyToManyConnection; - createdAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `Portfolio`. */ - createdBlock?: Maybe; - createdBlockId: Scalars['String']['output']; - /** Reads a single `Identity` that is related to this `Portfolio`. */ - custodian?: Maybe; - custodianId?: Maybe; - deletedAt?: Maybe; - /** Reads and enables pagination through a set of `Distribution`. */ - distributions: DistributionsConnection; - eventIdx: Scalars['Int']['output']; - id: Scalars['String']['output']; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByDistributionPortfolioIdAndIdentityId: PortfolioIdentitiesByDistributionPortfolioIdAndIdentityIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByStoOfferingPortfolioIdAndCreatorId: PortfolioIdentitiesByStoOfferingPortfolioIdAndCreatorIdManyToManyConnection; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByStoRaisingPortfolioIdAndCreatorId: PortfolioIdentitiesByStoRaisingPortfolioIdAndCreatorIdManyToManyConnection; - /** Reads a single `Identity` that is related to this `Portfolio`. */ - identity?: Maybe; - identityId: Scalars['String']['output']; - /** Reads and enables pagination through a set of `Instruction`. */ - instructionsByAssetTransactionFromPortfolioIdAndInstructionId: PortfolioInstructionsByAssetTransactionFromPortfolioIdAndInstructionIdManyToManyConnection; - /** Reads and enables pagination through a set of `Instruction`. */ - instructionsByAssetTransactionToPortfolioIdAndInstructionId: PortfolioInstructionsByAssetTransactionToPortfolioIdAndInstructionIdManyToManyConnection; - /** Reads and enables pagination through a set of `Instruction`. */ - instructionsByLegFromIdAndInstructionId: PortfolioInstructionsByLegFromIdAndInstructionIdManyToManyConnection; - /** Reads and enables pagination through a set of `Instruction`. */ - instructionsByLegToIdAndInstructionId: PortfolioInstructionsByLegToIdAndInstructionIdManyToManyConnection; - /** Reads and enables pagination through a set of `Leg`. */ - legsByFromId: LegsConnection; - /** Reads and enables pagination through a set of `Leg`. */ - legsByToId: LegsConnection; - name?: Maybe; - /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ - nodeId: Scalars['ID']['output']; - number: Scalars['Int']['output']; - /** Reads and enables pagination through a set of `PortfolioMovement`. */ - portfolioMovementsByFromId: PortfolioMovementsConnection; - /** Reads and enables pagination through a set of `PortfolioMovement`. */ - portfolioMovementsByToId: PortfolioMovementsConnection; - /** Reads and enables pagination through a set of `Portfolio`. */ - portfoliosByAssetTransactionFromPortfolioIdAndToPortfolioId: PortfolioPortfoliosByAssetTransactionFromPortfolioIdAndToPortfolioIdManyToManyConnection; - /** Reads and enables pagination through a set of `Portfolio`. */ - portfoliosByAssetTransactionToPortfolioIdAndFromPortfolioId: PortfolioPortfoliosByAssetTransactionToPortfolioIdAndFromPortfolioIdManyToManyConnection; - /** Reads and enables pagination through a set of `Portfolio`. */ - portfoliosByLegFromIdAndToId: PortfolioPortfoliosByLegFromIdAndToIdManyToManyConnection; - /** Reads and enables pagination through a set of `Portfolio`. */ - portfoliosByLegToIdAndFromId: PortfolioPortfoliosByLegToIdAndFromIdManyToManyConnection; - /** Reads and enables pagination through a set of `Portfolio`. */ - portfoliosByPortfolioMovementFromIdAndToId: PortfolioPortfoliosByPortfolioMovementFromIdAndToIdManyToManyConnection; - /** Reads and enables pagination through a set of `Portfolio`. */ - portfoliosByPortfolioMovementToIdAndFromId: PortfolioPortfoliosByPortfolioMovementToIdAndFromIdManyToManyConnection; - /** Reads and enables pagination through a set of `Portfolio`. */ - portfoliosByStoOfferingPortfolioIdAndRaisingPortfolioId: PortfolioPortfoliosByStoOfferingPortfolioIdAndRaisingPortfolioIdManyToManyConnection; - /** Reads and enables pagination through a set of `Portfolio`. */ - portfoliosByStoRaisingPortfolioIdAndOfferingPortfolioId: PortfolioPortfoliosByStoRaisingPortfolioIdAndOfferingPortfolioIdManyToManyConnection; - /** Reads and enables pagination through a set of `Settlement`. */ - settlementsByLegFromIdAndSettlementId: PortfolioSettlementsByLegFromIdAndSettlementIdManyToManyConnection; - /** Reads and enables pagination through a set of `Settlement`. */ - settlementsByLegToIdAndSettlementId: PortfolioSettlementsByLegToIdAndSettlementIdManyToManyConnection; - /** Reads and enables pagination through a set of `Sto`. */ - stosByOfferingPortfolioId: StosConnection; - /** Reads and enables pagination through a set of `Sto`. */ - stosByRaisingPortfolioId: StosConnection; - updatedAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `Portfolio`. */ - updatedBlock?: Maybe; - updatedBlockId: Scalars['String']['output']; - /** Reads and enables pagination through a set of `Venue`. */ - venuesByStoOfferingPortfolioIdAndVenueId: PortfolioVenuesByStoOfferingPortfolioIdAndVenueIdManyToManyConnection; - /** Reads and enables pagination through a set of `Venue`. */ - venuesByStoRaisingPortfolioIdAndVenueId: PortfolioVenuesByStoRaisingPortfolioIdAndVenueIdManyToManyConnection; -}; - -/** - * Represents a grouping of Assets held by an Identity. Particular accounts maybe authorized only over certain portfolios - * - * Note: identities will always have a default Portfolio (id = 0) - */ -export type PortfolioAssetTransactionsByFromPortfolioIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a grouping of Assets held by an Identity. Particular accounts maybe authorized only over certain portfolios - * - * Note: identities will always have a default Portfolio (id = 0) - */ -export type PortfolioAssetTransactionsByToPortfolioIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a grouping of Assets held by an Identity. Particular accounts maybe authorized only over certain portfolios - * - * Note: identities will always have a default Portfolio (id = 0) - */ -export type PortfolioAssetsByAssetTransactionFromPortfolioIdAndAssetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a grouping of Assets held by an Identity. Particular accounts maybe authorized only over certain portfolios - * - * Note: identities will always have a default Portfolio (id = 0) - */ -export type PortfolioAssetsByAssetTransactionToPortfolioIdAndAssetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a grouping of Assets held by an Identity. Particular accounts maybe authorized only over certain portfolios - * - * Note: identities will always have a default Portfolio (id = 0) - */ -export type PortfolioAssetsByDistributionPortfolioIdAndAssetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a grouping of Assets held by an Identity. Particular accounts maybe authorized only over certain portfolios - * - * Note: identities will always have a default Portfolio (id = 0) - */ -export type PortfolioAssetsByPortfolioMovementFromIdAndAssetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a grouping of Assets held by an Identity. Particular accounts maybe authorized only over certain portfolios - * - * Note: identities will always have a default Portfolio (id = 0) - */ -export type PortfolioAssetsByPortfolioMovementToIdAndAssetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a grouping of Assets held by an Identity. Particular accounts maybe authorized only over certain portfolios - * - * Note: identities will always have a default Portfolio (id = 0) - */ -export type PortfolioAssetsByStoOfferingPortfolioIdAndOfferingAssetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a grouping of Assets held by an Identity. Particular accounts maybe authorized only over certain portfolios - * - * Note: identities will always have a default Portfolio (id = 0) - */ -export type PortfolioAssetsByStoRaisingPortfolioIdAndOfferingAssetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a grouping of Assets held by an Identity. Particular accounts maybe authorized only over certain portfolios - * - * Note: identities will always have a default Portfolio (id = 0) - */ -export type PortfolioBlocksByAssetTransactionFromPortfolioIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a grouping of Assets held by an Identity. Particular accounts maybe authorized only over certain portfolios - * - * Note: identities will always have a default Portfolio (id = 0) - */ -export type PortfolioBlocksByAssetTransactionFromPortfolioIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a grouping of Assets held by an Identity. Particular accounts maybe authorized only over certain portfolios - * - * Note: identities will always have a default Portfolio (id = 0) - */ -export type PortfolioBlocksByAssetTransactionToPortfolioIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a grouping of Assets held by an Identity. Particular accounts maybe authorized only over certain portfolios - * - * Note: identities will always have a default Portfolio (id = 0) - */ -export type PortfolioBlocksByAssetTransactionToPortfolioIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a grouping of Assets held by an Identity. Particular accounts maybe authorized only over certain portfolios - * - * Note: identities will always have a default Portfolio (id = 0) - */ -export type PortfolioBlocksByDistributionPortfolioIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a grouping of Assets held by an Identity. Particular accounts maybe authorized only over certain portfolios - * - * Note: identities will always have a default Portfolio (id = 0) - */ -export type PortfolioBlocksByDistributionPortfolioIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a grouping of Assets held by an Identity. Particular accounts maybe authorized only over certain portfolios - * - * Note: identities will always have a default Portfolio (id = 0) - */ -export type PortfolioBlocksByLegFromIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a grouping of Assets held by an Identity. Particular accounts maybe authorized only over certain portfolios - * - * Note: identities will always have a default Portfolio (id = 0) - */ -export type PortfolioBlocksByLegFromIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a grouping of Assets held by an Identity. Particular accounts maybe authorized only over certain portfolios - * - * Note: identities will always have a default Portfolio (id = 0) - */ -export type PortfolioBlocksByLegToIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a grouping of Assets held by an Identity. Particular accounts maybe authorized only over certain portfolios - * - * Note: identities will always have a default Portfolio (id = 0) - */ -export type PortfolioBlocksByLegToIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a grouping of Assets held by an Identity. Particular accounts maybe authorized only over certain portfolios - * - * Note: identities will always have a default Portfolio (id = 0) - */ -export type PortfolioBlocksByPortfolioMovementFromIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a grouping of Assets held by an Identity. Particular accounts maybe authorized only over certain portfolios - * - * Note: identities will always have a default Portfolio (id = 0) - */ -export type PortfolioBlocksByPortfolioMovementFromIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a grouping of Assets held by an Identity. Particular accounts maybe authorized only over certain portfolios - * - * Note: identities will always have a default Portfolio (id = 0) - */ -export type PortfolioBlocksByPortfolioMovementToIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a grouping of Assets held by an Identity. Particular accounts maybe authorized only over certain portfolios - * - * Note: identities will always have a default Portfolio (id = 0) - */ -export type PortfolioBlocksByPortfolioMovementToIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a grouping of Assets held by an Identity. Particular accounts maybe authorized only over certain portfolios - * - * Note: identities will always have a default Portfolio (id = 0) - */ -export type PortfolioBlocksByStoOfferingPortfolioIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a grouping of Assets held by an Identity. Particular accounts maybe authorized only over certain portfolios - * - * Note: identities will always have a default Portfolio (id = 0) - */ -export type PortfolioBlocksByStoOfferingPortfolioIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a grouping of Assets held by an Identity. Particular accounts maybe authorized only over certain portfolios - * - * Note: identities will always have a default Portfolio (id = 0) - */ -export type PortfolioBlocksByStoRaisingPortfolioIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a grouping of Assets held by an Identity. Particular accounts maybe authorized only over certain portfolios - * - * Note: identities will always have a default Portfolio (id = 0) - */ -export type PortfolioBlocksByStoRaisingPortfolioIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a grouping of Assets held by an Identity. Particular accounts maybe authorized only over certain portfolios - * - * Note: identities will always have a default Portfolio (id = 0) - */ -export type PortfolioDistributionsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a grouping of Assets held by an Identity. Particular accounts maybe authorized only over certain portfolios - * - * Note: identities will always have a default Portfolio (id = 0) - */ -export type PortfolioIdentitiesByDistributionPortfolioIdAndIdentityIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a grouping of Assets held by an Identity. Particular accounts maybe authorized only over certain portfolios - * - * Note: identities will always have a default Portfolio (id = 0) - */ -export type PortfolioIdentitiesByStoOfferingPortfolioIdAndCreatorIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a grouping of Assets held by an Identity. Particular accounts maybe authorized only over certain portfolios - * - * Note: identities will always have a default Portfolio (id = 0) - */ -export type PortfolioIdentitiesByStoRaisingPortfolioIdAndCreatorIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a grouping of Assets held by an Identity. Particular accounts maybe authorized only over certain portfolios - * - * Note: identities will always have a default Portfolio (id = 0) - */ -export type PortfolioInstructionsByAssetTransactionFromPortfolioIdAndInstructionIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a grouping of Assets held by an Identity. Particular accounts maybe authorized only over certain portfolios - * - * Note: identities will always have a default Portfolio (id = 0) - */ -export type PortfolioInstructionsByAssetTransactionToPortfolioIdAndInstructionIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a grouping of Assets held by an Identity. Particular accounts maybe authorized only over certain portfolios - * - * Note: identities will always have a default Portfolio (id = 0) - */ -export type PortfolioInstructionsByLegFromIdAndInstructionIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a grouping of Assets held by an Identity. Particular accounts maybe authorized only over certain portfolios - * - * Note: identities will always have a default Portfolio (id = 0) - */ -export type PortfolioInstructionsByLegToIdAndInstructionIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a grouping of Assets held by an Identity. Particular accounts maybe authorized only over certain portfolios - * - * Note: identities will always have a default Portfolio (id = 0) - */ -export type PortfolioLegsByFromIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a grouping of Assets held by an Identity. Particular accounts maybe authorized only over certain portfolios - * - * Note: identities will always have a default Portfolio (id = 0) - */ -export type PortfolioLegsByToIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a grouping of Assets held by an Identity. Particular accounts maybe authorized only over certain portfolios - * - * Note: identities will always have a default Portfolio (id = 0) - */ -export type PortfolioPortfolioMovementsByFromIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a grouping of Assets held by an Identity. Particular accounts maybe authorized only over certain portfolios - * - * Note: identities will always have a default Portfolio (id = 0) - */ -export type PortfolioPortfolioMovementsByToIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a grouping of Assets held by an Identity. Particular accounts maybe authorized only over certain portfolios - * - * Note: identities will always have a default Portfolio (id = 0) - */ -export type PortfolioPortfoliosByAssetTransactionFromPortfolioIdAndToPortfolioIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a grouping of Assets held by an Identity. Particular accounts maybe authorized only over certain portfolios - * - * Note: identities will always have a default Portfolio (id = 0) - */ -export type PortfolioPortfoliosByAssetTransactionToPortfolioIdAndFromPortfolioIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a grouping of Assets held by an Identity. Particular accounts maybe authorized only over certain portfolios - * - * Note: identities will always have a default Portfolio (id = 0) - */ -export type PortfolioPortfoliosByLegFromIdAndToIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a grouping of Assets held by an Identity. Particular accounts maybe authorized only over certain portfolios - * - * Note: identities will always have a default Portfolio (id = 0) - */ -export type PortfolioPortfoliosByLegToIdAndFromIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a grouping of Assets held by an Identity. Particular accounts maybe authorized only over certain portfolios - * - * Note: identities will always have a default Portfolio (id = 0) - */ -export type PortfolioPortfoliosByPortfolioMovementFromIdAndToIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a grouping of Assets held by an Identity. Particular accounts maybe authorized only over certain portfolios - * - * Note: identities will always have a default Portfolio (id = 0) - */ -export type PortfolioPortfoliosByPortfolioMovementToIdAndFromIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a grouping of Assets held by an Identity. Particular accounts maybe authorized only over certain portfolios - * - * Note: identities will always have a default Portfolio (id = 0) - */ -export type PortfolioPortfoliosByStoOfferingPortfolioIdAndRaisingPortfolioIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a grouping of Assets held by an Identity. Particular accounts maybe authorized only over certain portfolios - * - * Note: identities will always have a default Portfolio (id = 0) - */ -export type PortfolioPortfoliosByStoRaisingPortfolioIdAndOfferingPortfolioIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a grouping of Assets held by an Identity. Particular accounts maybe authorized only over certain portfolios - * - * Note: identities will always have a default Portfolio (id = 0) - */ -export type PortfolioSettlementsByLegFromIdAndSettlementIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a grouping of Assets held by an Identity. Particular accounts maybe authorized only over certain portfolios - * - * Note: identities will always have a default Portfolio (id = 0) - */ -export type PortfolioSettlementsByLegToIdAndSettlementIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a grouping of Assets held by an Identity. Particular accounts maybe authorized only over certain portfolios - * - * Note: identities will always have a default Portfolio (id = 0) - */ -export type PortfolioStosByOfferingPortfolioIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a grouping of Assets held by an Identity. Particular accounts maybe authorized only over certain portfolios - * - * Note: identities will always have a default Portfolio (id = 0) - */ -export type PortfolioStosByRaisingPortfolioIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a grouping of Assets held by an Identity. Particular accounts maybe authorized only over certain portfolios - * - * Note: identities will always have a default Portfolio (id = 0) - */ -export type PortfolioVenuesByStoOfferingPortfolioIdAndVenueIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a grouping of Assets held by an Identity. Particular accounts maybe authorized only over certain portfolios - * - * Note: identities will always have a default Portfolio (id = 0) - */ -export type PortfolioVenuesByStoRaisingPortfolioIdAndVenueIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -export type PortfolioAggregates = { - __typename?: 'PortfolioAggregates'; - /** Mean average aggregates across the matching connection (ignoring before/after/first/last/offset) */ - average?: Maybe; - /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ - distinctCount?: Maybe; - keys?: Maybe>; - /** Maximum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - max?: Maybe; - /** Minimum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - min?: Maybe; - /** Population standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevPopulation?: Maybe; - /** Sample standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevSample?: Maybe; - /** Sum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - sum?: Maybe; - /** Population variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - variancePopulation?: Maybe; - /** Sample variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - varianceSample?: Maybe; -}; - -/** A filter to be used against aggregates of `Portfolio` object types. */ -export type PortfolioAggregatesFilter = { - /** Mean average aggregate over matching `Portfolio` objects. */ - average?: InputMaybe; - /** Distinct count aggregate over matching `Portfolio` objects. */ - distinctCount?: InputMaybe; - /** A filter that must pass for the relevant `Portfolio` object to be included within the aggregate. */ - filter?: InputMaybe; - /** Maximum aggregate over matching `Portfolio` objects. */ - max?: InputMaybe; - /** Minimum aggregate over matching `Portfolio` objects. */ - min?: InputMaybe; - /** Population standard deviation aggregate over matching `Portfolio` objects. */ - stddevPopulation?: InputMaybe; - /** Sample standard deviation aggregate over matching `Portfolio` objects. */ - stddevSample?: InputMaybe; - /** Sum aggregate over matching `Portfolio` objects. */ - sum?: InputMaybe; - /** Population variance aggregate over matching `Portfolio` objects. */ - variancePopulation?: InputMaybe; - /** Sample variance aggregate over matching `Portfolio` objects. */ - varianceSample?: InputMaybe; -}; - -/** A connection to a list of `Asset` values, with data from `AssetTransaction`. */ -export type PortfolioAssetsByAssetTransactionFromPortfolioIdAndAssetIdManyToManyConnection = { - __typename?: 'PortfolioAssetsByAssetTransactionFromPortfolioIdAndAssetIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Asset`, info from the `AssetTransaction`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Asset` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Asset` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Asset` values, with data from `AssetTransaction`. */ -export type PortfolioAssetsByAssetTransactionFromPortfolioIdAndAssetIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Asset` edge in the connection, with data from `AssetTransaction`. */ -export type PortfolioAssetsByAssetTransactionFromPortfolioIdAndAssetIdManyToManyEdge = { - __typename?: 'PortfolioAssetsByAssetTransactionFromPortfolioIdAndAssetIdManyToManyEdge'; - /** Reads and enables pagination through a set of `AssetTransaction`. */ - assetTransactions: AssetTransactionsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Asset` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Asset` edge in the connection, with data from `AssetTransaction`. */ -export type PortfolioAssetsByAssetTransactionFromPortfolioIdAndAssetIdManyToManyEdgeAssetTransactionsArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Asset` values, with data from `AssetTransaction`. */ -export type PortfolioAssetsByAssetTransactionToPortfolioIdAndAssetIdManyToManyConnection = { - __typename?: 'PortfolioAssetsByAssetTransactionToPortfolioIdAndAssetIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Asset`, info from the `AssetTransaction`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Asset` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Asset` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Asset` values, with data from `AssetTransaction`. */ -export type PortfolioAssetsByAssetTransactionToPortfolioIdAndAssetIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Asset` edge in the connection, with data from `AssetTransaction`. */ -export type PortfolioAssetsByAssetTransactionToPortfolioIdAndAssetIdManyToManyEdge = { - __typename?: 'PortfolioAssetsByAssetTransactionToPortfolioIdAndAssetIdManyToManyEdge'; - /** Reads and enables pagination through a set of `AssetTransaction`. */ - assetTransactions: AssetTransactionsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Asset` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Asset` edge in the connection, with data from `AssetTransaction`. */ -export type PortfolioAssetsByAssetTransactionToPortfolioIdAndAssetIdManyToManyEdgeAssetTransactionsArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Asset` values, with data from `Distribution`. */ -export type PortfolioAssetsByDistributionPortfolioIdAndAssetIdManyToManyConnection = { - __typename?: 'PortfolioAssetsByDistributionPortfolioIdAndAssetIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Asset`, info from the `Distribution`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Asset` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Asset` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Asset` values, with data from `Distribution`. */ -export type PortfolioAssetsByDistributionPortfolioIdAndAssetIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Asset` edge in the connection, with data from `Distribution`. */ -export type PortfolioAssetsByDistributionPortfolioIdAndAssetIdManyToManyEdge = { - __typename?: 'PortfolioAssetsByDistributionPortfolioIdAndAssetIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `Distribution`. */ - distributions: DistributionsConnection; - /** The `Asset` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Asset` edge in the connection, with data from `Distribution`. */ -export type PortfolioAssetsByDistributionPortfolioIdAndAssetIdManyToManyEdgeDistributionsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Asset` values, with data from `PortfolioMovement`. */ -export type PortfolioAssetsByPortfolioMovementFromIdAndAssetIdManyToManyConnection = { - __typename?: 'PortfolioAssetsByPortfolioMovementFromIdAndAssetIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Asset`, info from the `PortfolioMovement`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Asset` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Asset` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Asset` values, with data from `PortfolioMovement`. */ -export type PortfolioAssetsByPortfolioMovementFromIdAndAssetIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Asset` edge in the connection, with data from `PortfolioMovement`. */ -export type PortfolioAssetsByPortfolioMovementFromIdAndAssetIdManyToManyEdge = { - __typename?: 'PortfolioAssetsByPortfolioMovementFromIdAndAssetIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Asset` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `PortfolioMovement`. */ - portfolioMovements: PortfolioMovementsConnection; -}; - -/** A `Asset` edge in the connection, with data from `PortfolioMovement`. */ -export type PortfolioAssetsByPortfolioMovementFromIdAndAssetIdManyToManyEdgePortfolioMovementsArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Asset` values, with data from `PortfolioMovement`. */ -export type PortfolioAssetsByPortfolioMovementToIdAndAssetIdManyToManyConnection = { - __typename?: 'PortfolioAssetsByPortfolioMovementToIdAndAssetIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Asset`, info from the `PortfolioMovement`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Asset` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Asset` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Asset` values, with data from `PortfolioMovement`. */ -export type PortfolioAssetsByPortfolioMovementToIdAndAssetIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Asset` edge in the connection, with data from `PortfolioMovement`. */ -export type PortfolioAssetsByPortfolioMovementToIdAndAssetIdManyToManyEdge = { - __typename?: 'PortfolioAssetsByPortfolioMovementToIdAndAssetIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Asset` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `PortfolioMovement`. */ - portfolioMovements: PortfolioMovementsConnection; -}; - -/** A `Asset` edge in the connection, with data from `PortfolioMovement`. */ -export type PortfolioAssetsByPortfolioMovementToIdAndAssetIdManyToManyEdgePortfolioMovementsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Asset` values, with data from `Sto`. */ -export type PortfolioAssetsByStoOfferingPortfolioIdAndOfferingAssetIdManyToManyConnection = { - __typename?: 'PortfolioAssetsByStoOfferingPortfolioIdAndOfferingAssetIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Asset`, info from the `Sto`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Asset` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Asset` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Asset` values, with data from `Sto`. */ -export type PortfolioAssetsByStoOfferingPortfolioIdAndOfferingAssetIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Asset` edge in the connection, with data from `Sto`. */ -export type PortfolioAssetsByStoOfferingPortfolioIdAndOfferingAssetIdManyToManyEdge = { - __typename?: 'PortfolioAssetsByStoOfferingPortfolioIdAndOfferingAssetIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Asset` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Sto`. */ - stosByOfferingAssetId: StosConnection; -}; - -/** A `Asset` edge in the connection, with data from `Sto`. */ -export type PortfolioAssetsByStoOfferingPortfolioIdAndOfferingAssetIdManyToManyEdgeStosByOfferingAssetIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Asset` values, with data from `Sto`. */ -export type PortfolioAssetsByStoRaisingPortfolioIdAndOfferingAssetIdManyToManyConnection = { - __typename?: 'PortfolioAssetsByStoRaisingPortfolioIdAndOfferingAssetIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Asset`, info from the `Sto`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Asset` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Asset` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Asset` values, with data from `Sto`. */ -export type PortfolioAssetsByStoRaisingPortfolioIdAndOfferingAssetIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Asset` edge in the connection, with data from `Sto`. */ -export type PortfolioAssetsByStoRaisingPortfolioIdAndOfferingAssetIdManyToManyEdge = { - __typename?: 'PortfolioAssetsByStoRaisingPortfolioIdAndOfferingAssetIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Asset` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Sto`. */ - stosByOfferingAssetId: StosConnection; -}; - -/** A `Asset` edge in the connection, with data from `Sto`. */ -export type PortfolioAssetsByStoRaisingPortfolioIdAndOfferingAssetIdManyToManyEdgeStosByOfferingAssetIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -export type PortfolioAverageAggregateFilter = { - eventIdx?: InputMaybe; - number?: InputMaybe; -}; - -export type PortfolioAverageAggregates = { - __typename?: 'PortfolioAverageAggregates'; - /** Mean average of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Mean average of number across the matching connection */ - number?: Maybe; -}; - -/** A connection to a list of `Block` values, with data from `AssetTransaction`. */ -export type PortfolioBlocksByAssetTransactionFromPortfolioIdAndCreatedBlockIdManyToManyConnection = - { - __typename?: 'PortfolioBlocksByAssetTransactionFromPortfolioIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `AssetTransaction`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Block` values, with data from `AssetTransaction`. */ -export type PortfolioBlocksByAssetTransactionFromPortfolioIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `AssetTransaction`. */ -export type PortfolioBlocksByAssetTransactionFromPortfolioIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'PortfolioBlocksByAssetTransactionFromPortfolioIdAndCreatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `AssetTransaction`. */ - assetTransactionsByCreatedBlockId: AssetTransactionsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `AssetTransaction`. */ -export type PortfolioBlocksByAssetTransactionFromPortfolioIdAndCreatedBlockIdManyToManyEdgeAssetTransactionsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `AssetTransaction`. */ -export type PortfolioBlocksByAssetTransactionFromPortfolioIdAndUpdatedBlockIdManyToManyConnection = - { - __typename?: 'PortfolioBlocksByAssetTransactionFromPortfolioIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `AssetTransaction`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Block` values, with data from `AssetTransaction`. */ -export type PortfolioBlocksByAssetTransactionFromPortfolioIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `AssetTransaction`. */ -export type PortfolioBlocksByAssetTransactionFromPortfolioIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'PortfolioBlocksByAssetTransactionFromPortfolioIdAndUpdatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `AssetTransaction`. */ - assetTransactionsByUpdatedBlockId: AssetTransactionsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `AssetTransaction`. */ -export type PortfolioBlocksByAssetTransactionFromPortfolioIdAndUpdatedBlockIdManyToManyEdgeAssetTransactionsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `AssetTransaction`. */ -export type PortfolioBlocksByAssetTransactionToPortfolioIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'PortfolioBlocksByAssetTransactionToPortfolioIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `AssetTransaction`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `AssetTransaction`. */ -export type PortfolioBlocksByAssetTransactionToPortfolioIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `AssetTransaction`. */ -export type PortfolioBlocksByAssetTransactionToPortfolioIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'PortfolioBlocksByAssetTransactionToPortfolioIdAndCreatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `AssetTransaction`. */ - assetTransactionsByCreatedBlockId: AssetTransactionsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `AssetTransaction`. */ -export type PortfolioBlocksByAssetTransactionToPortfolioIdAndCreatedBlockIdManyToManyEdgeAssetTransactionsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `AssetTransaction`. */ -export type PortfolioBlocksByAssetTransactionToPortfolioIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'PortfolioBlocksByAssetTransactionToPortfolioIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `AssetTransaction`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `AssetTransaction`. */ -export type PortfolioBlocksByAssetTransactionToPortfolioIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `AssetTransaction`. */ -export type PortfolioBlocksByAssetTransactionToPortfolioIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'PortfolioBlocksByAssetTransactionToPortfolioIdAndUpdatedBlockIdManyToManyEdge'; - /** Reads and enables pagination through a set of `AssetTransaction`. */ - assetTransactionsByUpdatedBlockId: AssetTransactionsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `AssetTransaction`. */ -export type PortfolioBlocksByAssetTransactionToPortfolioIdAndUpdatedBlockIdManyToManyEdgeAssetTransactionsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Distribution`. */ -export type PortfolioBlocksByDistributionPortfolioIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'PortfolioBlocksByDistributionPortfolioIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Distribution`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Distribution`. */ -export type PortfolioBlocksByDistributionPortfolioIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Distribution`. */ -export type PortfolioBlocksByDistributionPortfolioIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'PortfolioBlocksByDistributionPortfolioIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `Distribution`. */ - distributionsByCreatedBlockId: DistributionsConnection; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `Distribution`. */ -export type PortfolioBlocksByDistributionPortfolioIdAndCreatedBlockIdManyToManyEdgeDistributionsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Distribution`. */ -export type PortfolioBlocksByDistributionPortfolioIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'PortfolioBlocksByDistributionPortfolioIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Distribution`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Distribution`. */ -export type PortfolioBlocksByDistributionPortfolioIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Distribution`. */ -export type PortfolioBlocksByDistributionPortfolioIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'PortfolioBlocksByDistributionPortfolioIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `Distribution`. */ - distributionsByUpdatedBlockId: DistributionsConnection; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `Distribution`. */ -export type PortfolioBlocksByDistributionPortfolioIdAndUpdatedBlockIdManyToManyEdgeDistributionsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Leg`. */ -export type PortfolioBlocksByLegFromIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'PortfolioBlocksByLegFromIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Leg`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Leg`. */ -export type PortfolioBlocksByLegFromIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `Block` edge in the connection, with data from `Leg`. */ -export type PortfolioBlocksByLegFromIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'PortfolioBlocksByLegFromIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `Leg`. */ - legsByCreatedBlockId: LegsConnection; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `Leg`. */ -export type PortfolioBlocksByLegFromIdAndCreatedBlockIdManyToManyEdgeLegsByCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Block` values, with data from `Leg`. */ -export type PortfolioBlocksByLegFromIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'PortfolioBlocksByLegFromIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Leg`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Leg`. */ -export type PortfolioBlocksByLegFromIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `Block` edge in the connection, with data from `Leg`. */ -export type PortfolioBlocksByLegFromIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'PortfolioBlocksByLegFromIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `Leg`. */ - legsByUpdatedBlockId: LegsConnection; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `Leg`. */ -export type PortfolioBlocksByLegFromIdAndUpdatedBlockIdManyToManyEdgeLegsByUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Block` values, with data from `Leg`. */ -export type PortfolioBlocksByLegToIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'PortfolioBlocksByLegToIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Leg`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Leg`. */ -export type PortfolioBlocksByLegToIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `Block` edge in the connection, with data from `Leg`. */ -export type PortfolioBlocksByLegToIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'PortfolioBlocksByLegToIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `Leg`. */ - legsByCreatedBlockId: LegsConnection; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `Leg`. */ -export type PortfolioBlocksByLegToIdAndCreatedBlockIdManyToManyEdgeLegsByCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Block` values, with data from `Leg`. */ -export type PortfolioBlocksByLegToIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'PortfolioBlocksByLegToIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Leg`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Leg`. */ -export type PortfolioBlocksByLegToIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `Block` edge in the connection, with data from `Leg`. */ -export type PortfolioBlocksByLegToIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'PortfolioBlocksByLegToIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `Leg`. */ - legsByUpdatedBlockId: LegsConnection; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `Leg`. */ -export type PortfolioBlocksByLegToIdAndUpdatedBlockIdManyToManyEdgeLegsByUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Block` values, with data from `PortfolioMovement`. */ -export type PortfolioBlocksByPortfolioMovementFromIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'PortfolioBlocksByPortfolioMovementFromIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `PortfolioMovement`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `PortfolioMovement`. */ -export type PortfolioBlocksByPortfolioMovementFromIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `PortfolioMovement`. */ -export type PortfolioBlocksByPortfolioMovementFromIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'PortfolioBlocksByPortfolioMovementFromIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `PortfolioMovement`. */ - portfolioMovementsByCreatedBlockId: PortfolioMovementsConnection; -}; - -/** A `Block` edge in the connection, with data from `PortfolioMovement`. */ -export type PortfolioBlocksByPortfolioMovementFromIdAndCreatedBlockIdManyToManyEdgePortfolioMovementsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `PortfolioMovement`. */ -export type PortfolioBlocksByPortfolioMovementFromIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'PortfolioBlocksByPortfolioMovementFromIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `PortfolioMovement`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `PortfolioMovement`. */ -export type PortfolioBlocksByPortfolioMovementFromIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `PortfolioMovement`. */ -export type PortfolioBlocksByPortfolioMovementFromIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'PortfolioBlocksByPortfolioMovementFromIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `PortfolioMovement`. */ - portfolioMovementsByUpdatedBlockId: PortfolioMovementsConnection; -}; - -/** A `Block` edge in the connection, with data from `PortfolioMovement`. */ -export type PortfolioBlocksByPortfolioMovementFromIdAndUpdatedBlockIdManyToManyEdgePortfolioMovementsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `PortfolioMovement`. */ -export type PortfolioBlocksByPortfolioMovementToIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'PortfolioBlocksByPortfolioMovementToIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `PortfolioMovement`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `PortfolioMovement`. */ -export type PortfolioBlocksByPortfolioMovementToIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `PortfolioMovement`. */ -export type PortfolioBlocksByPortfolioMovementToIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'PortfolioBlocksByPortfolioMovementToIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `PortfolioMovement`. */ - portfolioMovementsByCreatedBlockId: PortfolioMovementsConnection; -}; - -/** A `Block` edge in the connection, with data from `PortfolioMovement`. */ -export type PortfolioBlocksByPortfolioMovementToIdAndCreatedBlockIdManyToManyEdgePortfolioMovementsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `PortfolioMovement`. */ -export type PortfolioBlocksByPortfolioMovementToIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'PortfolioBlocksByPortfolioMovementToIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `PortfolioMovement`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `PortfolioMovement`. */ -export type PortfolioBlocksByPortfolioMovementToIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `PortfolioMovement`. */ -export type PortfolioBlocksByPortfolioMovementToIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'PortfolioBlocksByPortfolioMovementToIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `PortfolioMovement`. */ - portfolioMovementsByUpdatedBlockId: PortfolioMovementsConnection; -}; - -/** A `Block` edge in the connection, with data from `PortfolioMovement`. */ -export type PortfolioBlocksByPortfolioMovementToIdAndUpdatedBlockIdManyToManyEdgePortfolioMovementsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Sto`. */ -export type PortfolioBlocksByStoOfferingPortfolioIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'PortfolioBlocksByStoOfferingPortfolioIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Sto`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Sto`. */ -export type PortfolioBlocksByStoOfferingPortfolioIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Sto`. */ -export type PortfolioBlocksByStoOfferingPortfolioIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'PortfolioBlocksByStoOfferingPortfolioIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Sto`. */ - stosByCreatedBlockId: StosConnection; -}; - -/** A `Block` edge in the connection, with data from `Sto`. */ -export type PortfolioBlocksByStoOfferingPortfolioIdAndCreatedBlockIdManyToManyEdgeStosByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Sto`. */ -export type PortfolioBlocksByStoOfferingPortfolioIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'PortfolioBlocksByStoOfferingPortfolioIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Sto`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Sto`. */ -export type PortfolioBlocksByStoOfferingPortfolioIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Sto`. */ -export type PortfolioBlocksByStoOfferingPortfolioIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'PortfolioBlocksByStoOfferingPortfolioIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Sto`. */ - stosByUpdatedBlockId: StosConnection; -}; - -/** A `Block` edge in the connection, with data from `Sto`. */ -export type PortfolioBlocksByStoOfferingPortfolioIdAndUpdatedBlockIdManyToManyEdgeStosByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Sto`. */ -export type PortfolioBlocksByStoRaisingPortfolioIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'PortfolioBlocksByStoRaisingPortfolioIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Sto`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Sto`. */ -export type PortfolioBlocksByStoRaisingPortfolioIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Sto`. */ -export type PortfolioBlocksByStoRaisingPortfolioIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'PortfolioBlocksByStoRaisingPortfolioIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Sto`. */ - stosByCreatedBlockId: StosConnection; -}; - -/** A `Block` edge in the connection, with data from `Sto`. */ -export type PortfolioBlocksByStoRaisingPortfolioIdAndCreatedBlockIdManyToManyEdgeStosByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Sto`. */ -export type PortfolioBlocksByStoRaisingPortfolioIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'PortfolioBlocksByStoRaisingPortfolioIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Sto`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Sto`. */ -export type PortfolioBlocksByStoRaisingPortfolioIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Sto`. */ -export type PortfolioBlocksByStoRaisingPortfolioIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'PortfolioBlocksByStoRaisingPortfolioIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Sto`. */ - stosByUpdatedBlockId: StosConnection; -}; - -/** A `Block` edge in the connection, with data from `Sto`. */ -export type PortfolioBlocksByStoRaisingPortfolioIdAndUpdatedBlockIdManyToManyEdgeStosByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -export type PortfolioDistinctCountAggregateFilter = { - createdAt?: InputMaybe; - createdBlockId?: InputMaybe; - custodianId?: InputMaybe; - deletedAt?: InputMaybe; - eventIdx?: InputMaybe; - id?: InputMaybe; - identityId?: InputMaybe; - name?: InputMaybe; - number?: InputMaybe; - updatedAt?: InputMaybe; - updatedBlockId?: InputMaybe; -}; - -export type PortfolioDistinctCountAggregates = { - __typename?: 'PortfolioDistinctCountAggregates'; - /** Distinct count of createdAt across the matching connection */ - createdAt?: Maybe; - /** Distinct count of createdBlockId across the matching connection */ - createdBlockId?: Maybe; - /** Distinct count of custodianId across the matching connection */ - custodianId?: Maybe; - /** Distinct count of deletedAt across the matching connection */ - deletedAt?: Maybe; - /** Distinct count of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Distinct count of id across the matching connection */ - id?: Maybe; - /** Distinct count of identityId across the matching connection */ - identityId?: Maybe; - /** Distinct count of name across the matching connection */ - name?: Maybe; - /** Distinct count of number across the matching connection */ - number?: Maybe; - /** Distinct count of updatedAt across the matching connection */ - updatedAt?: Maybe; - /** Distinct count of updatedBlockId across the matching connection */ - updatedBlockId?: Maybe; -}; - -/** A filter to be used against `Portfolio` object types. All fields are combined with a logical ‘and.’ */ -export type PortfolioFilter = { - /** Checks for all expressions in this list. */ - and?: InputMaybe>; - /** Filter by the object’s `assetTransactionsByFromPortfolioId` relation. */ - assetTransactionsByFromPortfolioId?: InputMaybe; - /** Some related `assetTransactionsByFromPortfolioId` exist. */ - assetTransactionsByFromPortfolioIdExist?: InputMaybe; - /** Filter by the object’s `assetTransactionsByToPortfolioId` relation. */ - assetTransactionsByToPortfolioId?: InputMaybe; - /** Some related `assetTransactionsByToPortfolioId` exist. */ - assetTransactionsByToPortfolioIdExist?: InputMaybe; - /** Filter by the object’s `createdAt` field. */ - createdAt?: InputMaybe; - /** Filter by the object’s `createdBlock` relation. */ - createdBlock?: InputMaybe; - /** Filter by the object’s `createdBlockId` field. */ - createdBlockId?: InputMaybe; - /** Filter by the object’s `custodian` relation. */ - custodian?: InputMaybe; - /** A related `custodian` exists. */ - custodianExists?: InputMaybe; - /** Filter by the object’s `custodianId` field. */ - custodianId?: InputMaybe; - /** Filter by the object’s `deletedAt` field. */ - deletedAt?: InputMaybe; - /** Filter by the object’s `distributions` relation. */ - distributions?: InputMaybe; - /** Some related `distributions` exist. */ - distributionsExist?: InputMaybe; - /** Filter by the object’s `eventIdx` field. */ - eventIdx?: InputMaybe; - /** Filter by the object’s `id` field. */ - id?: InputMaybe; - /** Filter by the object’s `identity` relation. */ - identity?: InputMaybe; - /** Filter by the object’s `identityId` field. */ - identityId?: InputMaybe; - /** Filter by the object’s `legsByFromId` relation. */ - legsByFromId?: InputMaybe; - /** Some related `legsByFromId` exist. */ - legsByFromIdExist?: InputMaybe; - /** Filter by the object’s `legsByToId` relation. */ - legsByToId?: InputMaybe; - /** Some related `legsByToId` exist. */ - legsByToIdExist?: InputMaybe; - /** Filter by the object’s `name` field. */ - name?: InputMaybe; - /** Negates the expression. */ - not?: InputMaybe; - /** Filter by the object’s `number` field. */ - number?: InputMaybe; - /** Checks for any expressions in this list. */ - or?: InputMaybe>; - /** Filter by the object’s `portfolioMovementsByFromId` relation. */ - portfolioMovementsByFromId?: InputMaybe; - /** Some related `portfolioMovementsByFromId` exist. */ - portfolioMovementsByFromIdExist?: InputMaybe; - /** Filter by the object’s `portfolioMovementsByToId` relation. */ - portfolioMovementsByToId?: InputMaybe; - /** Some related `portfolioMovementsByToId` exist. */ - portfolioMovementsByToIdExist?: InputMaybe; - /** Filter by the object’s `stosByOfferingPortfolioId` relation. */ - stosByOfferingPortfolioId?: InputMaybe; - /** Some related `stosByOfferingPortfolioId` exist. */ - stosByOfferingPortfolioIdExist?: InputMaybe; - /** Filter by the object’s `stosByRaisingPortfolioId` relation. */ - stosByRaisingPortfolioId?: InputMaybe; - /** Some related `stosByRaisingPortfolioId` exist. */ - stosByRaisingPortfolioIdExist?: InputMaybe; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: InputMaybe; - /** Filter by the object’s `updatedBlock` relation. */ - updatedBlock?: InputMaybe; - /** Filter by the object’s `updatedBlockId` field. */ - updatedBlockId?: InputMaybe; -}; - -/** A connection to a list of `Identity` values, with data from `Distribution`. */ -export type PortfolioIdentitiesByDistributionPortfolioIdAndIdentityIdManyToManyConnection = { - __typename?: 'PortfolioIdentitiesByDistributionPortfolioIdAndIdentityIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `Distribution`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `Distribution`. */ -export type PortfolioIdentitiesByDistributionPortfolioIdAndIdentityIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `Distribution`. */ -export type PortfolioIdentitiesByDistributionPortfolioIdAndIdentityIdManyToManyEdge = { - __typename?: 'PortfolioIdentitiesByDistributionPortfolioIdAndIdentityIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `Distribution`. */ - distributions: DistributionsConnection; - /** The `Identity` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Identity` edge in the connection, with data from `Distribution`. */ -export type PortfolioIdentitiesByDistributionPortfolioIdAndIdentityIdManyToManyEdgeDistributionsArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Identity` values, with data from `Sto`. */ -export type PortfolioIdentitiesByStoOfferingPortfolioIdAndCreatorIdManyToManyConnection = { - __typename?: 'PortfolioIdentitiesByStoOfferingPortfolioIdAndCreatorIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `Sto`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `Sto`. */ -export type PortfolioIdentitiesByStoOfferingPortfolioIdAndCreatorIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `Sto`. */ -export type PortfolioIdentitiesByStoOfferingPortfolioIdAndCreatorIdManyToManyEdge = { - __typename?: 'PortfolioIdentitiesByStoOfferingPortfolioIdAndCreatorIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Sto`. */ - stosByCreatorId: StosConnection; -}; - -/** A `Identity` edge in the connection, with data from `Sto`. */ -export type PortfolioIdentitiesByStoOfferingPortfolioIdAndCreatorIdManyToManyEdgeStosByCreatorIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Identity` values, with data from `Sto`. */ -export type PortfolioIdentitiesByStoRaisingPortfolioIdAndCreatorIdManyToManyConnection = { - __typename?: 'PortfolioIdentitiesByStoRaisingPortfolioIdAndCreatorIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `Sto`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `Sto`. */ -export type PortfolioIdentitiesByStoRaisingPortfolioIdAndCreatorIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `Sto`. */ -export type PortfolioIdentitiesByStoRaisingPortfolioIdAndCreatorIdManyToManyEdge = { - __typename?: 'PortfolioIdentitiesByStoRaisingPortfolioIdAndCreatorIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Sto`. */ - stosByCreatorId: StosConnection; -}; - -/** A `Identity` edge in the connection, with data from `Sto`. */ -export type PortfolioIdentitiesByStoRaisingPortfolioIdAndCreatorIdManyToManyEdgeStosByCreatorIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Instruction` values, with data from `AssetTransaction`. */ -export type PortfolioInstructionsByAssetTransactionFromPortfolioIdAndInstructionIdManyToManyConnection = - { - __typename?: 'PortfolioInstructionsByAssetTransactionFromPortfolioIdAndInstructionIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Instruction`, info from the `AssetTransaction`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Instruction` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Instruction` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Instruction` values, with data from `AssetTransaction`. */ -export type PortfolioInstructionsByAssetTransactionFromPortfolioIdAndInstructionIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Instruction` edge in the connection, with data from `AssetTransaction`. */ -export type PortfolioInstructionsByAssetTransactionFromPortfolioIdAndInstructionIdManyToManyEdge = { - __typename?: 'PortfolioInstructionsByAssetTransactionFromPortfolioIdAndInstructionIdManyToManyEdge'; - /** Reads and enables pagination through a set of `AssetTransaction`. */ - assetTransactions: AssetTransactionsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Instruction` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Instruction` edge in the connection, with data from `AssetTransaction`. */ -export type PortfolioInstructionsByAssetTransactionFromPortfolioIdAndInstructionIdManyToManyEdgeAssetTransactionsArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Instruction` values, with data from `AssetTransaction`. */ -export type PortfolioInstructionsByAssetTransactionToPortfolioIdAndInstructionIdManyToManyConnection = - { - __typename?: 'PortfolioInstructionsByAssetTransactionToPortfolioIdAndInstructionIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Instruction`, info from the `AssetTransaction`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Instruction` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Instruction` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Instruction` values, with data from `AssetTransaction`. */ -export type PortfolioInstructionsByAssetTransactionToPortfolioIdAndInstructionIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Instruction` edge in the connection, with data from `AssetTransaction`. */ -export type PortfolioInstructionsByAssetTransactionToPortfolioIdAndInstructionIdManyToManyEdge = { - __typename?: 'PortfolioInstructionsByAssetTransactionToPortfolioIdAndInstructionIdManyToManyEdge'; - /** Reads and enables pagination through a set of `AssetTransaction`. */ - assetTransactions: AssetTransactionsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Instruction` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Instruction` edge in the connection, with data from `AssetTransaction`. */ -export type PortfolioInstructionsByAssetTransactionToPortfolioIdAndInstructionIdManyToManyEdgeAssetTransactionsArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Instruction` values, with data from `Leg`. */ -export type PortfolioInstructionsByLegFromIdAndInstructionIdManyToManyConnection = { - __typename?: 'PortfolioInstructionsByLegFromIdAndInstructionIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Instruction`, info from the `Leg`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Instruction` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Instruction` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Instruction` values, with data from `Leg`. */ -export type PortfolioInstructionsByLegFromIdAndInstructionIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Instruction` edge in the connection, with data from `Leg`. */ -export type PortfolioInstructionsByLegFromIdAndInstructionIdManyToManyEdge = { - __typename?: 'PortfolioInstructionsByLegFromIdAndInstructionIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `Leg`. */ - legs: LegsConnection; - /** The `Instruction` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Instruction` edge in the connection, with data from `Leg`. */ -export type PortfolioInstructionsByLegFromIdAndInstructionIdManyToManyEdgeLegsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Instruction` values, with data from `Leg`. */ -export type PortfolioInstructionsByLegToIdAndInstructionIdManyToManyConnection = { - __typename?: 'PortfolioInstructionsByLegToIdAndInstructionIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Instruction`, info from the `Leg`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Instruction` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Instruction` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Instruction` values, with data from `Leg`. */ -export type PortfolioInstructionsByLegToIdAndInstructionIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Instruction` edge in the connection, with data from `Leg`. */ -export type PortfolioInstructionsByLegToIdAndInstructionIdManyToManyEdge = { - __typename?: 'PortfolioInstructionsByLegToIdAndInstructionIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `Leg`. */ - legs: LegsConnection; - /** The `Instruction` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Instruction` edge in the connection, with data from `Leg`. */ -export type PortfolioInstructionsByLegToIdAndInstructionIdManyToManyEdgeLegsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -export type PortfolioMaxAggregateFilter = { - eventIdx?: InputMaybe; - number?: InputMaybe; -}; - -export type PortfolioMaxAggregates = { - __typename?: 'PortfolioMaxAggregates'; - /** Maximum of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Maximum of number across the matching connection */ - number?: Maybe; -}; - -export type PortfolioMinAggregateFilter = { - eventIdx?: InputMaybe; - number?: InputMaybe; -}; - -export type PortfolioMinAggregates = { - __typename?: 'PortfolioMinAggregates'; - /** Minimum of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Minimum of number across the matching connection */ - number?: Maybe; -}; - -/** - * Represents a transfer of fungible assets between a single identities portfolios. - * - * Note: transfers between identities are known as `Settlements` - */ -export type PortfolioMovement = Node & { - __typename?: 'PortfolioMovement'; - address: Scalars['String']['output']; - /** the number of fungible tokens transferred. Defined if type == Fungible */ - amount?: Maybe; - /** Reads a single `Asset` that is related to this `PortfolioMovement`. */ - asset?: Maybe; - assetId: Scalars['String']['output']; - createdAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `PortfolioMovement`. */ - createdBlock?: Maybe; - createdBlockId: Scalars['String']['output']; - /** Reads a single `Portfolio` that is related to this `PortfolioMovement`. */ - from?: Maybe; - fromId: Scalars['String']['output']; - id: Scalars['String']['output']; - memo?: Maybe; - /** the IDs of non-fungible tokens transferred. Defined if type == NonFungible */ - nftIds?: Maybe; - /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ - nodeId: Scalars['ID']['output']; - /** Reads a single `Portfolio` that is related to this `PortfolioMovement`. */ - to?: Maybe; - toId: Scalars['String']['output']; - type: PortfolioMovementTypeEnum; - updatedAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `PortfolioMovement`. */ - updatedBlock?: Maybe; - updatedBlockId: Scalars['String']['output']; -}; - -export type PortfolioMovementAggregates = { - __typename?: 'PortfolioMovementAggregates'; - /** Mean average aggregates across the matching connection (ignoring before/after/first/last/offset) */ - average?: Maybe; - /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ - distinctCount?: Maybe; - keys?: Maybe>; - /** Maximum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - max?: Maybe; - /** Minimum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - min?: Maybe; - /** Population standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevPopulation?: Maybe; - /** Sample standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevSample?: Maybe; - /** Sum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - sum?: Maybe; - /** Population variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - variancePopulation?: Maybe; - /** Sample variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - varianceSample?: Maybe; -}; - -/** A filter to be used against aggregates of `PortfolioMovement` object types. */ -export type PortfolioMovementAggregatesFilter = { - /** Mean average aggregate over matching `PortfolioMovement` objects. */ - average?: InputMaybe; - /** Distinct count aggregate over matching `PortfolioMovement` objects. */ - distinctCount?: InputMaybe; - /** A filter that must pass for the relevant `PortfolioMovement` object to be included within the aggregate. */ - filter?: InputMaybe; - /** Maximum aggregate over matching `PortfolioMovement` objects. */ - max?: InputMaybe; - /** Minimum aggregate over matching `PortfolioMovement` objects. */ - min?: InputMaybe; - /** Population standard deviation aggregate over matching `PortfolioMovement` objects. */ - stddevPopulation?: InputMaybe; - /** Sample standard deviation aggregate over matching `PortfolioMovement` objects. */ - stddevSample?: InputMaybe; - /** Sum aggregate over matching `PortfolioMovement` objects. */ - sum?: InputMaybe; - /** Population variance aggregate over matching `PortfolioMovement` objects. */ - variancePopulation?: InputMaybe; - /** Sample variance aggregate over matching `PortfolioMovement` objects. */ - varianceSample?: InputMaybe; -}; - -export type PortfolioMovementAverageAggregateFilter = { - amount?: InputMaybe; -}; - -export type PortfolioMovementAverageAggregates = { - __typename?: 'PortfolioMovementAverageAggregates'; - /** Mean average of amount across the matching connection */ - amount?: Maybe; -}; - -export type PortfolioMovementDistinctCountAggregateFilter = { - address?: InputMaybe; - amount?: InputMaybe; - assetId?: InputMaybe; - createdAt?: InputMaybe; - createdBlockId?: InputMaybe; - fromId?: InputMaybe; - id?: InputMaybe; - memo?: InputMaybe; - nftIds?: InputMaybe; - toId?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; - updatedBlockId?: InputMaybe; -}; - -export type PortfolioMovementDistinctCountAggregates = { - __typename?: 'PortfolioMovementDistinctCountAggregates'; - /** Distinct count of address across the matching connection */ - address?: Maybe; - /** Distinct count of amount across the matching connection */ - amount?: Maybe; - /** Distinct count of assetId across the matching connection */ - assetId?: Maybe; - /** Distinct count of createdAt across the matching connection */ - createdAt?: Maybe; - /** Distinct count of createdBlockId across the matching connection */ - createdBlockId?: Maybe; - /** Distinct count of fromId across the matching connection */ - fromId?: Maybe; - /** Distinct count of id across the matching connection */ - id?: Maybe; - /** Distinct count of memo across the matching connection */ - memo?: Maybe; - /** Distinct count of nftIds across the matching connection */ - nftIds?: Maybe; - /** Distinct count of toId across the matching connection */ - toId?: Maybe; - /** Distinct count of type across the matching connection */ - type?: Maybe; - /** Distinct count of updatedAt across the matching connection */ - updatedAt?: Maybe; - /** Distinct count of updatedBlockId across the matching connection */ - updatedBlockId?: Maybe; -}; - -/** A filter to be used against `PortfolioMovement` object types. All fields are combined with a logical ‘and.’ */ -export type PortfolioMovementFilter = { - /** Filter by the object’s `address` field. */ - address?: InputMaybe; - /** Filter by the object’s `amount` field. */ - amount?: InputMaybe; - /** Checks for all expressions in this list. */ - and?: InputMaybe>; - /** Filter by the object’s `asset` relation. */ - asset?: InputMaybe; - /** Filter by the object’s `assetId` field. */ - assetId?: InputMaybe; - /** Filter by the object’s `createdAt` field. */ - createdAt?: InputMaybe; - /** Filter by the object’s `createdBlock` relation. */ - createdBlock?: InputMaybe; - /** Filter by the object’s `createdBlockId` field. */ - createdBlockId?: InputMaybe; - /** Filter by the object’s `from` relation. */ - from?: InputMaybe; - /** Filter by the object’s `fromId` field. */ - fromId?: InputMaybe; - /** Filter by the object’s `id` field. */ - id?: InputMaybe; - /** Filter by the object’s `memo` field. */ - memo?: InputMaybe; - /** Filter by the object’s `nftIds` field. */ - nftIds?: InputMaybe; - /** Negates the expression. */ - not?: InputMaybe; - /** Checks for any expressions in this list. */ - or?: InputMaybe>; - /** Filter by the object’s `to` relation. */ - to?: InputMaybe; - /** Filter by the object’s `toId` field. */ - toId?: InputMaybe; - /** Filter by the object’s `type` field. */ - type?: InputMaybe; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: InputMaybe; - /** Filter by the object’s `updatedBlock` relation. */ - updatedBlock?: InputMaybe; - /** Filter by the object’s `updatedBlockId` field. */ - updatedBlockId?: InputMaybe; -}; - -export type PortfolioMovementMaxAggregateFilter = { - amount?: InputMaybe; -}; - -export type PortfolioMovementMaxAggregates = { - __typename?: 'PortfolioMovementMaxAggregates'; - /** Maximum of amount across the matching connection */ - amount?: Maybe; -}; - -export type PortfolioMovementMinAggregateFilter = { - amount?: InputMaybe; -}; - -export type PortfolioMovementMinAggregates = { - __typename?: 'PortfolioMovementMinAggregates'; - /** Minimum of amount across the matching connection */ - amount?: Maybe; -}; - -export type PortfolioMovementStddevPopulationAggregateFilter = { - amount?: InputMaybe; -}; - -export type PortfolioMovementStddevPopulationAggregates = { - __typename?: 'PortfolioMovementStddevPopulationAggregates'; - /** Population standard deviation of amount across the matching connection */ - amount?: Maybe; -}; - -export type PortfolioMovementStddevSampleAggregateFilter = { - amount?: InputMaybe; -}; - -export type PortfolioMovementStddevSampleAggregates = { - __typename?: 'PortfolioMovementStddevSampleAggregates'; - /** Sample standard deviation of amount across the matching connection */ - amount?: Maybe; -}; - -export type PortfolioMovementSumAggregateFilter = { - amount?: InputMaybe; -}; - -export type PortfolioMovementSumAggregates = { - __typename?: 'PortfolioMovementSumAggregates'; - /** Sum of amount across the matching connection */ - amount: Scalars['BigFloat']['output']; -}; - -export enum PortfolioMovementTypeEnum { - Fungible = 'Fungible', - NonFungible = 'NonFungible', -} - -/** A filter to be used against PortfolioMovementTypeEnum fields. All fields are combined with a logical ‘and.’ */ -export type PortfolioMovementTypeEnumFilter = { - /** Not equal to the specified value, treating null like an ordinary value. */ - distinctFrom?: InputMaybe; - /** Equal to the specified value. */ - equalTo?: InputMaybe; - /** Greater than the specified value. */ - greaterThan?: InputMaybe; - /** Greater than or equal to the specified value. */ - greaterThanOrEqualTo?: InputMaybe; - /** Included in the specified list. */ - in?: InputMaybe>; - /** Is null (if `true` is specified) or is not null (if `false` is specified). */ - isNull?: InputMaybe; - /** Less than the specified value. */ - lessThan?: InputMaybe; - /** Less than or equal to the specified value. */ - lessThanOrEqualTo?: InputMaybe; - /** Equal to the specified value, treating null like an ordinary value. */ - notDistinctFrom?: InputMaybe; - /** Not equal to the specified value. */ - notEqualTo?: InputMaybe; - /** Not included in the specified list. */ - notIn?: InputMaybe>; -}; - -export type PortfolioMovementVariancePopulationAggregateFilter = { - amount?: InputMaybe; -}; - -export type PortfolioMovementVariancePopulationAggregates = { - __typename?: 'PortfolioMovementVariancePopulationAggregates'; - /** Population variance of amount across the matching connection */ - amount?: Maybe; -}; - -export type PortfolioMovementVarianceSampleAggregateFilter = { - amount?: InputMaybe; -}; - -export type PortfolioMovementVarianceSampleAggregates = { - __typename?: 'PortfolioMovementVarianceSampleAggregates'; - /** Sample variance of amount across the matching connection */ - amount?: Maybe; -}; - -/** A connection to a list of `PortfolioMovement` values. */ -export type PortfolioMovementsConnection = { - __typename?: 'PortfolioMovementsConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `PortfolioMovement` and cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `PortfolioMovement` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `PortfolioMovement` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `PortfolioMovement` values. */ -export type PortfolioMovementsConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `PortfolioMovement` edge in the connection. */ -export type PortfolioMovementsEdge = { - __typename?: 'PortfolioMovementsEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `PortfolioMovement` at the end of the edge. */ - node?: Maybe; -}; - -/** Grouping methods for `PortfolioMovement` for usage during aggregation. */ -export enum PortfolioMovementsGroupBy { - Address = 'ADDRESS', - Amount = 'AMOUNT', - AssetId = 'ASSET_ID', - CreatedAt = 'CREATED_AT', - CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', - CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', - CreatedBlockId = 'CREATED_BLOCK_ID', - FromId = 'FROM_ID', - Memo = 'MEMO', - NftIds = 'NFT_IDS', - ToId = 'TO_ID', - Type = 'TYPE', - UpdatedAt = 'UPDATED_AT', - UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', - UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export type PortfolioMovementsHavingAverageInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type PortfolioMovementsHavingDistinctCountInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Conditions for `PortfolioMovement` aggregates. */ -export type PortfolioMovementsHavingInput = { - AND?: InputMaybe>; - OR?: InputMaybe>; - average?: InputMaybe; - distinctCount?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddevPopulation?: InputMaybe; - stddevSample?: InputMaybe; - sum?: InputMaybe; - variancePopulation?: InputMaybe; - varianceSample?: InputMaybe; -}; - -export type PortfolioMovementsHavingMaxInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type PortfolioMovementsHavingMinInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type PortfolioMovementsHavingStddevPopulationInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type PortfolioMovementsHavingStddevSampleInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type PortfolioMovementsHavingSumInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type PortfolioMovementsHavingVariancePopulationInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type PortfolioMovementsHavingVarianceSampleInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Methods to use when ordering `PortfolioMovement`. */ -export enum PortfolioMovementsOrderBy { - AddressAsc = 'ADDRESS_ASC', - AddressDesc = 'ADDRESS_DESC', - AmountAsc = 'AMOUNT_ASC', - AmountDesc = 'AMOUNT_DESC', - AssetIdAsc = 'ASSET_ID_ASC', - AssetIdDesc = 'ASSET_ID_DESC', - CreatedAtAsc = 'CREATED_AT_ASC', - CreatedAtDesc = 'CREATED_AT_DESC', - CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', - CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', - FromIdAsc = 'FROM_ID_ASC', - FromIdDesc = 'FROM_ID_DESC', - IdAsc = 'ID_ASC', - IdDesc = 'ID_DESC', - MemoAsc = 'MEMO_ASC', - MemoDesc = 'MEMO_DESC', - Natural = 'NATURAL', - NftIdsAsc = 'NFT_IDS_ASC', - NftIdsDesc = 'NFT_IDS_DESC', - PrimaryKeyAsc = 'PRIMARY_KEY_ASC', - PrimaryKeyDesc = 'PRIMARY_KEY_DESC', - ToIdAsc = 'TO_ID_ASC', - ToIdDesc = 'TO_ID_DESC', - TypeAsc = 'TYPE_ASC', - TypeDesc = 'TYPE_DESC', - UpdatedAtAsc = 'UPDATED_AT_ASC', - UpdatedAtDesc = 'UPDATED_AT_DESC', - UpdatedBlockIdAsc = 'UPDATED_BLOCK_ID_ASC', - UpdatedBlockIdDesc = 'UPDATED_BLOCK_ID_DESC', -} - -/** A connection to a list of `Portfolio` values, with data from `AssetTransaction`. */ -export type PortfolioPortfoliosByAssetTransactionFromPortfolioIdAndToPortfolioIdManyToManyConnection = - { - __typename?: 'PortfolioPortfoliosByAssetTransactionFromPortfolioIdAndToPortfolioIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Portfolio`, info from the `AssetTransaction`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Portfolio` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Portfolio` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Portfolio` values, with data from `AssetTransaction`. */ -export type PortfolioPortfoliosByAssetTransactionFromPortfolioIdAndToPortfolioIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Portfolio` edge in the connection, with data from `AssetTransaction`. */ -export type PortfolioPortfoliosByAssetTransactionFromPortfolioIdAndToPortfolioIdManyToManyEdge = { - __typename?: 'PortfolioPortfoliosByAssetTransactionFromPortfolioIdAndToPortfolioIdManyToManyEdge'; - /** Reads and enables pagination through a set of `AssetTransaction`. */ - assetTransactionsByToPortfolioId: AssetTransactionsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Portfolio` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Portfolio` edge in the connection, with data from `AssetTransaction`. */ -export type PortfolioPortfoliosByAssetTransactionFromPortfolioIdAndToPortfolioIdManyToManyEdgeAssetTransactionsByToPortfolioIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Portfolio` values, with data from `AssetTransaction`. */ -export type PortfolioPortfoliosByAssetTransactionToPortfolioIdAndFromPortfolioIdManyToManyConnection = - { - __typename?: 'PortfolioPortfoliosByAssetTransactionToPortfolioIdAndFromPortfolioIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Portfolio`, info from the `AssetTransaction`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Portfolio` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Portfolio` you could get from the connection. */ - totalCount: Scalars['Int']['output']; - }; - -/** A connection to a list of `Portfolio` values, with data from `AssetTransaction`. */ -export type PortfolioPortfoliosByAssetTransactionToPortfolioIdAndFromPortfolioIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Portfolio` edge in the connection, with data from `AssetTransaction`. */ -export type PortfolioPortfoliosByAssetTransactionToPortfolioIdAndFromPortfolioIdManyToManyEdge = { - __typename?: 'PortfolioPortfoliosByAssetTransactionToPortfolioIdAndFromPortfolioIdManyToManyEdge'; - /** Reads and enables pagination through a set of `AssetTransaction`. */ - assetTransactionsByFromPortfolioId: AssetTransactionsConnection; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Portfolio` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Portfolio` edge in the connection, with data from `AssetTransaction`. */ -export type PortfolioPortfoliosByAssetTransactionToPortfolioIdAndFromPortfolioIdManyToManyEdgeAssetTransactionsByFromPortfolioIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Portfolio` values, with data from `Leg`. */ -export type PortfolioPortfoliosByLegFromIdAndToIdManyToManyConnection = { - __typename?: 'PortfolioPortfoliosByLegFromIdAndToIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Portfolio`, info from the `Leg`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Portfolio` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Portfolio` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Portfolio` values, with data from `Leg`. */ -export type PortfolioPortfoliosByLegFromIdAndToIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `Portfolio` edge in the connection, with data from `Leg`. */ -export type PortfolioPortfoliosByLegFromIdAndToIdManyToManyEdge = { - __typename?: 'PortfolioPortfoliosByLegFromIdAndToIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `Leg`. */ - legsByToId: LegsConnection; - /** The `Portfolio` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Portfolio` edge in the connection, with data from `Leg`. */ -export type PortfolioPortfoliosByLegFromIdAndToIdManyToManyEdgeLegsByToIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Portfolio` values, with data from `Leg`. */ -export type PortfolioPortfoliosByLegToIdAndFromIdManyToManyConnection = { - __typename?: 'PortfolioPortfoliosByLegToIdAndFromIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Portfolio`, info from the `Leg`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Portfolio` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Portfolio` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Portfolio` values, with data from `Leg`. */ -export type PortfolioPortfoliosByLegToIdAndFromIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `Portfolio` edge in the connection, with data from `Leg`. */ -export type PortfolioPortfoliosByLegToIdAndFromIdManyToManyEdge = { - __typename?: 'PortfolioPortfoliosByLegToIdAndFromIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `Leg`. */ - legsByFromId: LegsConnection; - /** The `Portfolio` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Portfolio` edge in the connection, with data from `Leg`. */ -export type PortfolioPortfoliosByLegToIdAndFromIdManyToManyEdgeLegsByFromIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Portfolio` values, with data from `PortfolioMovement`. */ -export type PortfolioPortfoliosByPortfolioMovementFromIdAndToIdManyToManyConnection = { - __typename?: 'PortfolioPortfoliosByPortfolioMovementFromIdAndToIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Portfolio`, info from the `PortfolioMovement`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Portfolio` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Portfolio` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Portfolio` values, with data from `PortfolioMovement`. */ -export type PortfolioPortfoliosByPortfolioMovementFromIdAndToIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Portfolio` edge in the connection, with data from `PortfolioMovement`. */ -export type PortfolioPortfoliosByPortfolioMovementFromIdAndToIdManyToManyEdge = { - __typename?: 'PortfolioPortfoliosByPortfolioMovementFromIdAndToIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Portfolio` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `PortfolioMovement`. */ - portfolioMovementsByToId: PortfolioMovementsConnection; -}; - -/** A `Portfolio` edge in the connection, with data from `PortfolioMovement`. */ -export type PortfolioPortfoliosByPortfolioMovementFromIdAndToIdManyToManyEdgePortfolioMovementsByToIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Portfolio` values, with data from `PortfolioMovement`. */ -export type PortfolioPortfoliosByPortfolioMovementToIdAndFromIdManyToManyConnection = { - __typename?: 'PortfolioPortfoliosByPortfolioMovementToIdAndFromIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Portfolio`, info from the `PortfolioMovement`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Portfolio` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Portfolio` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Portfolio` values, with data from `PortfolioMovement`. */ -export type PortfolioPortfoliosByPortfolioMovementToIdAndFromIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Portfolio` edge in the connection, with data from `PortfolioMovement`. */ -export type PortfolioPortfoliosByPortfolioMovementToIdAndFromIdManyToManyEdge = { - __typename?: 'PortfolioPortfoliosByPortfolioMovementToIdAndFromIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Portfolio` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `PortfolioMovement`. */ - portfolioMovementsByFromId: PortfolioMovementsConnection; -}; - -/** A `Portfolio` edge in the connection, with data from `PortfolioMovement`. */ -export type PortfolioPortfoliosByPortfolioMovementToIdAndFromIdManyToManyEdgePortfolioMovementsByFromIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Portfolio` values, with data from `Sto`. */ -export type PortfolioPortfoliosByStoOfferingPortfolioIdAndRaisingPortfolioIdManyToManyConnection = { - __typename?: 'PortfolioPortfoliosByStoOfferingPortfolioIdAndRaisingPortfolioIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Portfolio`, info from the `Sto`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Portfolio` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Portfolio` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Portfolio` values, with data from `Sto`. */ -export type PortfolioPortfoliosByStoOfferingPortfolioIdAndRaisingPortfolioIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Portfolio` edge in the connection, with data from `Sto`. */ -export type PortfolioPortfoliosByStoOfferingPortfolioIdAndRaisingPortfolioIdManyToManyEdge = { - __typename?: 'PortfolioPortfoliosByStoOfferingPortfolioIdAndRaisingPortfolioIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Portfolio` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Sto`. */ - stosByRaisingPortfolioId: StosConnection; -}; - -/** A `Portfolio` edge in the connection, with data from `Sto`. */ -export type PortfolioPortfoliosByStoOfferingPortfolioIdAndRaisingPortfolioIdManyToManyEdgeStosByRaisingPortfolioIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Portfolio` values, with data from `Sto`. */ -export type PortfolioPortfoliosByStoRaisingPortfolioIdAndOfferingPortfolioIdManyToManyConnection = { - __typename?: 'PortfolioPortfoliosByStoRaisingPortfolioIdAndOfferingPortfolioIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Portfolio`, info from the `Sto`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Portfolio` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Portfolio` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Portfolio` values, with data from `Sto`. */ -export type PortfolioPortfoliosByStoRaisingPortfolioIdAndOfferingPortfolioIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Portfolio` edge in the connection, with data from `Sto`. */ -export type PortfolioPortfoliosByStoRaisingPortfolioIdAndOfferingPortfolioIdManyToManyEdge = { - __typename?: 'PortfolioPortfoliosByStoRaisingPortfolioIdAndOfferingPortfolioIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Portfolio` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Sto`. */ - stosByOfferingPortfolioId: StosConnection; -}; - -/** A `Portfolio` edge in the connection, with data from `Sto`. */ -export type PortfolioPortfoliosByStoRaisingPortfolioIdAndOfferingPortfolioIdManyToManyEdgeStosByOfferingPortfolioIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Settlement` values, with data from `Leg`. */ -export type PortfolioSettlementsByLegFromIdAndSettlementIdManyToManyConnection = { - __typename?: 'PortfolioSettlementsByLegFromIdAndSettlementIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Settlement`, info from the `Leg`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Settlement` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Settlement` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Settlement` values, with data from `Leg`. */ -export type PortfolioSettlementsByLegFromIdAndSettlementIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Settlement` edge in the connection, with data from `Leg`. */ -export type PortfolioSettlementsByLegFromIdAndSettlementIdManyToManyEdge = { - __typename?: 'PortfolioSettlementsByLegFromIdAndSettlementIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `Leg`. */ - legs: LegsConnection; - /** The `Settlement` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Settlement` edge in the connection, with data from `Leg`. */ -export type PortfolioSettlementsByLegFromIdAndSettlementIdManyToManyEdgeLegsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Settlement` values, with data from `Leg`. */ -export type PortfolioSettlementsByLegToIdAndSettlementIdManyToManyConnection = { - __typename?: 'PortfolioSettlementsByLegToIdAndSettlementIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Settlement`, info from the `Leg`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Settlement` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Settlement` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Settlement` values, with data from `Leg`. */ -export type PortfolioSettlementsByLegToIdAndSettlementIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Settlement` edge in the connection, with data from `Leg`. */ -export type PortfolioSettlementsByLegToIdAndSettlementIdManyToManyEdge = { - __typename?: 'PortfolioSettlementsByLegToIdAndSettlementIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `Leg`. */ - legs: LegsConnection; - /** The `Settlement` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Settlement` edge in the connection, with data from `Leg`. */ -export type PortfolioSettlementsByLegToIdAndSettlementIdManyToManyEdgeLegsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -export type PortfolioStddevPopulationAggregateFilter = { - eventIdx?: InputMaybe; - number?: InputMaybe; -}; - -export type PortfolioStddevPopulationAggregates = { - __typename?: 'PortfolioStddevPopulationAggregates'; - /** Population standard deviation of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Population standard deviation of number across the matching connection */ - number?: Maybe; -}; - -export type PortfolioStddevSampleAggregateFilter = { - eventIdx?: InputMaybe; - number?: InputMaybe; -}; - -export type PortfolioStddevSampleAggregates = { - __typename?: 'PortfolioStddevSampleAggregates'; - /** Sample standard deviation of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Sample standard deviation of number across the matching connection */ - number?: Maybe; -}; - -export type PortfolioSumAggregateFilter = { - eventIdx?: InputMaybe; - number?: InputMaybe; -}; - -export type PortfolioSumAggregates = { - __typename?: 'PortfolioSumAggregates'; - /** Sum of eventIdx across the matching connection */ - eventIdx: Scalars['BigInt']['output']; - /** Sum of number across the matching connection */ - number: Scalars['BigInt']['output']; -}; - -/** A filter to be used against many `AssetTransaction` object types. All fields are combined with a logical ‘and.’ */ -export type PortfolioToManyAssetTransactionFilter = { - /** Aggregates across related `AssetTransaction` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `AssetTransaction` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `AssetTransaction` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `AssetTransaction` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `Distribution` object types. All fields are combined with a logical ‘and.’ */ -export type PortfolioToManyDistributionFilter = { - /** Aggregates across related `Distribution` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `Distribution` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `Distribution` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `Distribution` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `Leg` object types. All fields are combined with a logical ‘and.’ */ -export type PortfolioToManyLegFilter = { - /** Aggregates across related `Leg` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `Leg` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `Leg` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `Leg` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `PortfolioMovement` object types. All fields are combined with a logical ‘and.’ */ -export type PortfolioToManyPortfolioMovementFilter = { - /** Aggregates across related `PortfolioMovement` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `PortfolioMovement` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `PortfolioMovement` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `PortfolioMovement` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `Sto` object types. All fields are combined with a logical ‘and.’ */ -export type PortfolioToManyStoFilter = { - /** Aggregates across related `Sto` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `Sto` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `Sto` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `Sto` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -export type PortfolioVariancePopulationAggregateFilter = { - eventIdx?: InputMaybe; - number?: InputMaybe; -}; - -export type PortfolioVariancePopulationAggregates = { - __typename?: 'PortfolioVariancePopulationAggregates'; - /** Population variance of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Population variance of number across the matching connection */ - number?: Maybe; -}; - -export type PortfolioVarianceSampleAggregateFilter = { - eventIdx?: InputMaybe; - number?: InputMaybe; -}; - -export type PortfolioVarianceSampleAggregates = { - __typename?: 'PortfolioVarianceSampleAggregates'; - /** Sample variance of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Sample variance of number across the matching connection */ - number?: Maybe; -}; - -/** A connection to a list of `Venue` values, with data from `Sto`. */ -export type PortfolioVenuesByStoOfferingPortfolioIdAndVenueIdManyToManyConnection = { - __typename?: 'PortfolioVenuesByStoOfferingPortfolioIdAndVenueIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Venue`, info from the `Sto`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Venue` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Venue` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Venue` values, with data from `Sto`. */ -export type PortfolioVenuesByStoOfferingPortfolioIdAndVenueIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Venue` edge in the connection, with data from `Sto`. */ -export type PortfolioVenuesByStoOfferingPortfolioIdAndVenueIdManyToManyEdge = { - __typename?: 'PortfolioVenuesByStoOfferingPortfolioIdAndVenueIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Venue` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Sto`. */ - stos: StosConnection; -}; - -/** A `Venue` edge in the connection, with data from `Sto`. */ -export type PortfolioVenuesByStoOfferingPortfolioIdAndVenueIdManyToManyEdgeStosArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Venue` values, with data from `Sto`. */ -export type PortfolioVenuesByStoRaisingPortfolioIdAndVenueIdManyToManyConnection = { - __typename?: 'PortfolioVenuesByStoRaisingPortfolioIdAndVenueIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Venue`, info from the `Sto`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Venue` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Venue` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Venue` values, with data from `Sto`. */ -export type PortfolioVenuesByStoRaisingPortfolioIdAndVenueIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Venue` edge in the connection, with data from `Sto`. */ -export type PortfolioVenuesByStoRaisingPortfolioIdAndVenueIdManyToManyEdge = { - __typename?: 'PortfolioVenuesByStoRaisingPortfolioIdAndVenueIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Venue` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Sto`. */ - stos: StosConnection; -}; - -/** A `Venue` edge in the connection, with data from `Sto`. */ -export type PortfolioVenuesByStoRaisingPortfolioIdAndVenueIdManyToManyEdgeStosArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Portfolio` values. */ -export type PortfoliosConnection = { - __typename?: 'PortfoliosConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Portfolio` and cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Portfolio` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Portfolio` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Portfolio` values. */ -export type PortfoliosConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `Portfolio` edge in the connection. */ -export type PortfoliosEdge = { - __typename?: 'PortfoliosEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Portfolio` at the end of the edge. */ - node?: Maybe; -}; - -/** Grouping methods for `Portfolio` for usage during aggregation. */ -export enum PortfoliosGroupBy { - CreatedAt = 'CREATED_AT', - CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', - CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', - CreatedBlockId = 'CREATED_BLOCK_ID', - CustodianId = 'CUSTODIAN_ID', - DeletedAt = 'DELETED_AT', - DeletedAtTruncatedToDay = 'DELETED_AT_TRUNCATED_TO_DAY', - DeletedAtTruncatedToHour = 'DELETED_AT_TRUNCATED_TO_HOUR', - EventIdx = 'EVENT_IDX', - IdentityId = 'IDENTITY_ID', - Name = 'NAME', - Number = 'NUMBER', - UpdatedAt = 'UPDATED_AT', - UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', - UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export type PortfoliosHavingAverageInput = { - createdAt?: InputMaybe; - deletedAt?: InputMaybe; - eventIdx?: InputMaybe; - number?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type PortfoliosHavingDistinctCountInput = { - createdAt?: InputMaybe; - deletedAt?: InputMaybe; - eventIdx?: InputMaybe; - number?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Conditions for `Portfolio` aggregates. */ -export type PortfoliosHavingInput = { - AND?: InputMaybe>; - OR?: InputMaybe>; - average?: InputMaybe; - distinctCount?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddevPopulation?: InputMaybe; - stddevSample?: InputMaybe; - sum?: InputMaybe; - variancePopulation?: InputMaybe; - varianceSample?: InputMaybe; -}; - -export type PortfoliosHavingMaxInput = { - createdAt?: InputMaybe; - deletedAt?: InputMaybe; - eventIdx?: InputMaybe; - number?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type PortfoliosHavingMinInput = { - createdAt?: InputMaybe; - deletedAt?: InputMaybe; - eventIdx?: InputMaybe; - number?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type PortfoliosHavingStddevPopulationInput = { - createdAt?: InputMaybe; - deletedAt?: InputMaybe; - eventIdx?: InputMaybe; - number?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type PortfoliosHavingStddevSampleInput = { - createdAt?: InputMaybe; - deletedAt?: InputMaybe; - eventIdx?: InputMaybe; - number?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type PortfoliosHavingSumInput = { - createdAt?: InputMaybe; - deletedAt?: InputMaybe; - eventIdx?: InputMaybe; - number?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type PortfoliosHavingVariancePopulationInput = { - createdAt?: InputMaybe; - deletedAt?: InputMaybe; - eventIdx?: InputMaybe; - number?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type PortfoliosHavingVarianceSampleInput = { - createdAt?: InputMaybe; - deletedAt?: InputMaybe; - eventIdx?: InputMaybe; - number?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Methods to use when ordering `Portfolio`. */ -export enum PortfoliosOrderBy { - AssetTransactionsByFromPortfolioIdAverageAmountAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_AVERAGE_AMOUNT_ASC', - AssetTransactionsByFromPortfolioIdAverageAmountDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_AVERAGE_AMOUNT_DESC', - AssetTransactionsByFromPortfolioIdAverageAssetIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_AVERAGE_ASSET_ID_ASC', - AssetTransactionsByFromPortfolioIdAverageAssetIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_AVERAGE_ASSET_ID_DESC', - AssetTransactionsByFromPortfolioIdAverageCreatedAtAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_AVERAGE_CREATED_AT_ASC', - AssetTransactionsByFromPortfolioIdAverageCreatedAtDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_AVERAGE_CREATED_AT_DESC', - AssetTransactionsByFromPortfolioIdAverageCreatedBlockIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - AssetTransactionsByFromPortfolioIdAverageCreatedBlockIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - AssetTransactionsByFromPortfolioIdAverageDatetimeAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_AVERAGE_DATETIME_ASC', - AssetTransactionsByFromPortfolioIdAverageDatetimeDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_AVERAGE_DATETIME_DESC', - AssetTransactionsByFromPortfolioIdAverageEventIdxAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_AVERAGE_EVENT_IDX_ASC', - AssetTransactionsByFromPortfolioIdAverageEventIdxDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_AVERAGE_EVENT_IDX_DESC', - AssetTransactionsByFromPortfolioIdAverageEventIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_AVERAGE_EVENT_ID_ASC', - AssetTransactionsByFromPortfolioIdAverageEventIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_AVERAGE_EVENT_ID_DESC', - AssetTransactionsByFromPortfolioIdAverageExtrinsicIdxAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_AVERAGE_EXTRINSIC_IDX_ASC', - AssetTransactionsByFromPortfolioIdAverageExtrinsicIdxDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_AVERAGE_EXTRINSIC_IDX_DESC', - AssetTransactionsByFromPortfolioIdAverageFromPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_AVERAGE_FROM_PORTFOLIO_ID_ASC', - AssetTransactionsByFromPortfolioIdAverageFromPortfolioIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_AVERAGE_FROM_PORTFOLIO_ID_DESC', - AssetTransactionsByFromPortfolioIdAverageFundingRoundAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_AVERAGE_FUNDING_ROUND_ASC', - AssetTransactionsByFromPortfolioIdAverageFundingRoundDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_AVERAGE_FUNDING_ROUND_DESC', - AssetTransactionsByFromPortfolioIdAverageIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_AVERAGE_ID_ASC', - AssetTransactionsByFromPortfolioIdAverageIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_AVERAGE_ID_DESC', - AssetTransactionsByFromPortfolioIdAverageInstructionIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_AVERAGE_INSTRUCTION_ID_ASC', - AssetTransactionsByFromPortfolioIdAverageInstructionIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_AVERAGE_INSTRUCTION_ID_DESC', - AssetTransactionsByFromPortfolioIdAverageInstructionMemoAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_AVERAGE_INSTRUCTION_MEMO_ASC', - AssetTransactionsByFromPortfolioIdAverageInstructionMemoDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_AVERAGE_INSTRUCTION_MEMO_DESC', - AssetTransactionsByFromPortfolioIdAverageNftIdsAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_AVERAGE_NFT_IDS_ASC', - AssetTransactionsByFromPortfolioIdAverageNftIdsDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_AVERAGE_NFT_IDS_DESC', - AssetTransactionsByFromPortfolioIdAverageToPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_AVERAGE_TO_PORTFOLIO_ID_ASC', - AssetTransactionsByFromPortfolioIdAverageToPortfolioIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_AVERAGE_TO_PORTFOLIO_ID_DESC', - AssetTransactionsByFromPortfolioIdAverageUpdatedAtAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_AVERAGE_UPDATED_AT_ASC', - AssetTransactionsByFromPortfolioIdAverageUpdatedAtDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_AVERAGE_UPDATED_AT_DESC', - AssetTransactionsByFromPortfolioIdAverageUpdatedBlockIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - AssetTransactionsByFromPortfolioIdAverageUpdatedBlockIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - AssetTransactionsByFromPortfolioIdCountAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_COUNT_ASC', - AssetTransactionsByFromPortfolioIdCountDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_COUNT_DESC', - AssetTransactionsByFromPortfolioIdDistinctCountAmountAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_DISTINCT_COUNT_AMOUNT_ASC', - AssetTransactionsByFromPortfolioIdDistinctCountAmountDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_DISTINCT_COUNT_AMOUNT_DESC', - AssetTransactionsByFromPortfolioIdDistinctCountAssetIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_DISTINCT_COUNT_ASSET_ID_ASC', - AssetTransactionsByFromPortfolioIdDistinctCountAssetIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_DISTINCT_COUNT_ASSET_ID_DESC', - AssetTransactionsByFromPortfolioIdDistinctCountCreatedAtAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_DISTINCT_COUNT_CREATED_AT_ASC', - AssetTransactionsByFromPortfolioIdDistinctCountCreatedAtDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_DISTINCT_COUNT_CREATED_AT_DESC', - AssetTransactionsByFromPortfolioIdDistinctCountCreatedBlockIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - AssetTransactionsByFromPortfolioIdDistinctCountCreatedBlockIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - AssetTransactionsByFromPortfolioIdDistinctCountDatetimeAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_DISTINCT_COUNT_DATETIME_ASC', - AssetTransactionsByFromPortfolioIdDistinctCountDatetimeDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_DISTINCT_COUNT_DATETIME_DESC', - AssetTransactionsByFromPortfolioIdDistinctCountEventIdxAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_DISTINCT_COUNT_EVENT_IDX_ASC', - AssetTransactionsByFromPortfolioIdDistinctCountEventIdxDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_DISTINCT_COUNT_EVENT_IDX_DESC', - AssetTransactionsByFromPortfolioIdDistinctCountEventIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_DISTINCT_COUNT_EVENT_ID_ASC', - AssetTransactionsByFromPortfolioIdDistinctCountEventIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_DISTINCT_COUNT_EVENT_ID_DESC', - AssetTransactionsByFromPortfolioIdDistinctCountExtrinsicIdxAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_DISTINCT_COUNT_EXTRINSIC_IDX_ASC', - AssetTransactionsByFromPortfolioIdDistinctCountExtrinsicIdxDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_DISTINCT_COUNT_EXTRINSIC_IDX_DESC', - AssetTransactionsByFromPortfolioIdDistinctCountFromPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_DISTINCT_COUNT_FROM_PORTFOLIO_ID_ASC', - AssetTransactionsByFromPortfolioIdDistinctCountFromPortfolioIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_DISTINCT_COUNT_FROM_PORTFOLIO_ID_DESC', - AssetTransactionsByFromPortfolioIdDistinctCountFundingRoundAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_DISTINCT_COUNT_FUNDING_ROUND_ASC', - AssetTransactionsByFromPortfolioIdDistinctCountFundingRoundDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_DISTINCT_COUNT_FUNDING_ROUND_DESC', - AssetTransactionsByFromPortfolioIdDistinctCountIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_DISTINCT_COUNT_ID_ASC', - AssetTransactionsByFromPortfolioIdDistinctCountIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_DISTINCT_COUNT_ID_DESC', - AssetTransactionsByFromPortfolioIdDistinctCountInstructionIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_DISTINCT_COUNT_INSTRUCTION_ID_ASC', - AssetTransactionsByFromPortfolioIdDistinctCountInstructionIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_DISTINCT_COUNT_INSTRUCTION_ID_DESC', - AssetTransactionsByFromPortfolioIdDistinctCountInstructionMemoAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_DISTINCT_COUNT_INSTRUCTION_MEMO_ASC', - AssetTransactionsByFromPortfolioIdDistinctCountInstructionMemoDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_DISTINCT_COUNT_INSTRUCTION_MEMO_DESC', - AssetTransactionsByFromPortfolioIdDistinctCountNftIdsAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_DISTINCT_COUNT_NFT_IDS_ASC', - AssetTransactionsByFromPortfolioIdDistinctCountNftIdsDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_DISTINCT_COUNT_NFT_IDS_DESC', - AssetTransactionsByFromPortfolioIdDistinctCountToPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_DISTINCT_COUNT_TO_PORTFOLIO_ID_ASC', - AssetTransactionsByFromPortfolioIdDistinctCountToPortfolioIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_DISTINCT_COUNT_TO_PORTFOLIO_ID_DESC', - AssetTransactionsByFromPortfolioIdDistinctCountUpdatedAtAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - AssetTransactionsByFromPortfolioIdDistinctCountUpdatedAtDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - AssetTransactionsByFromPortfolioIdDistinctCountUpdatedBlockIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - AssetTransactionsByFromPortfolioIdDistinctCountUpdatedBlockIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - AssetTransactionsByFromPortfolioIdMaxAmountAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MAX_AMOUNT_ASC', - AssetTransactionsByFromPortfolioIdMaxAmountDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MAX_AMOUNT_DESC', - AssetTransactionsByFromPortfolioIdMaxAssetIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MAX_ASSET_ID_ASC', - AssetTransactionsByFromPortfolioIdMaxAssetIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MAX_ASSET_ID_DESC', - AssetTransactionsByFromPortfolioIdMaxCreatedAtAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MAX_CREATED_AT_ASC', - AssetTransactionsByFromPortfolioIdMaxCreatedAtDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MAX_CREATED_AT_DESC', - AssetTransactionsByFromPortfolioIdMaxCreatedBlockIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MAX_CREATED_BLOCK_ID_ASC', - AssetTransactionsByFromPortfolioIdMaxCreatedBlockIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MAX_CREATED_BLOCK_ID_DESC', - AssetTransactionsByFromPortfolioIdMaxDatetimeAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MAX_DATETIME_ASC', - AssetTransactionsByFromPortfolioIdMaxDatetimeDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MAX_DATETIME_DESC', - AssetTransactionsByFromPortfolioIdMaxEventIdxAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MAX_EVENT_IDX_ASC', - AssetTransactionsByFromPortfolioIdMaxEventIdxDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MAX_EVENT_IDX_DESC', - AssetTransactionsByFromPortfolioIdMaxEventIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MAX_EVENT_ID_ASC', - AssetTransactionsByFromPortfolioIdMaxEventIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MAX_EVENT_ID_DESC', - AssetTransactionsByFromPortfolioIdMaxExtrinsicIdxAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MAX_EXTRINSIC_IDX_ASC', - AssetTransactionsByFromPortfolioIdMaxExtrinsicIdxDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MAX_EXTRINSIC_IDX_DESC', - AssetTransactionsByFromPortfolioIdMaxFromPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MAX_FROM_PORTFOLIO_ID_ASC', - AssetTransactionsByFromPortfolioIdMaxFromPortfolioIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MAX_FROM_PORTFOLIO_ID_DESC', - AssetTransactionsByFromPortfolioIdMaxFundingRoundAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MAX_FUNDING_ROUND_ASC', - AssetTransactionsByFromPortfolioIdMaxFundingRoundDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MAX_FUNDING_ROUND_DESC', - AssetTransactionsByFromPortfolioIdMaxIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MAX_ID_ASC', - AssetTransactionsByFromPortfolioIdMaxIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MAX_ID_DESC', - AssetTransactionsByFromPortfolioIdMaxInstructionIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MAX_INSTRUCTION_ID_ASC', - AssetTransactionsByFromPortfolioIdMaxInstructionIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MAX_INSTRUCTION_ID_DESC', - AssetTransactionsByFromPortfolioIdMaxInstructionMemoAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MAX_INSTRUCTION_MEMO_ASC', - AssetTransactionsByFromPortfolioIdMaxInstructionMemoDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MAX_INSTRUCTION_MEMO_DESC', - AssetTransactionsByFromPortfolioIdMaxNftIdsAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MAX_NFT_IDS_ASC', - AssetTransactionsByFromPortfolioIdMaxNftIdsDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MAX_NFT_IDS_DESC', - AssetTransactionsByFromPortfolioIdMaxToPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MAX_TO_PORTFOLIO_ID_ASC', - AssetTransactionsByFromPortfolioIdMaxToPortfolioIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MAX_TO_PORTFOLIO_ID_DESC', - AssetTransactionsByFromPortfolioIdMaxUpdatedAtAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MAX_UPDATED_AT_ASC', - AssetTransactionsByFromPortfolioIdMaxUpdatedAtDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MAX_UPDATED_AT_DESC', - AssetTransactionsByFromPortfolioIdMaxUpdatedBlockIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MAX_UPDATED_BLOCK_ID_ASC', - AssetTransactionsByFromPortfolioIdMaxUpdatedBlockIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MAX_UPDATED_BLOCK_ID_DESC', - AssetTransactionsByFromPortfolioIdMinAmountAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MIN_AMOUNT_ASC', - AssetTransactionsByFromPortfolioIdMinAmountDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MIN_AMOUNT_DESC', - AssetTransactionsByFromPortfolioIdMinAssetIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MIN_ASSET_ID_ASC', - AssetTransactionsByFromPortfolioIdMinAssetIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MIN_ASSET_ID_DESC', - AssetTransactionsByFromPortfolioIdMinCreatedAtAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MIN_CREATED_AT_ASC', - AssetTransactionsByFromPortfolioIdMinCreatedAtDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MIN_CREATED_AT_DESC', - AssetTransactionsByFromPortfolioIdMinCreatedBlockIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MIN_CREATED_BLOCK_ID_ASC', - AssetTransactionsByFromPortfolioIdMinCreatedBlockIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MIN_CREATED_BLOCK_ID_DESC', - AssetTransactionsByFromPortfolioIdMinDatetimeAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MIN_DATETIME_ASC', - AssetTransactionsByFromPortfolioIdMinDatetimeDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MIN_DATETIME_DESC', - AssetTransactionsByFromPortfolioIdMinEventIdxAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MIN_EVENT_IDX_ASC', - AssetTransactionsByFromPortfolioIdMinEventIdxDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MIN_EVENT_IDX_DESC', - AssetTransactionsByFromPortfolioIdMinEventIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MIN_EVENT_ID_ASC', - AssetTransactionsByFromPortfolioIdMinEventIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MIN_EVENT_ID_DESC', - AssetTransactionsByFromPortfolioIdMinExtrinsicIdxAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MIN_EXTRINSIC_IDX_ASC', - AssetTransactionsByFromPortfolioIdMinExtrinsicIdxDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MIN_EXTRINSIC_IDX_DESC', - AssetTransactionsByFromPortfolioIdMinFromPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MIN_FROM_PORTFOLIO_ID_ASC', - AssetTransactionsByFromPortfolioIdMinFromPortfolioIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MIN_FROM_PORTFOLIO_ID_DESC', - AssetTransactionsByFromPortfolioIdMinFundingRoundAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MIN_FUNDING_ROUND_ASC', - AssetTransactionsByFromPortfolioIdMinFundingRoundDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MIN_FUNDING_ROUND_DESC', - AssetTransactionsByFromPortfolioIdMinIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MIN_ID_ASC', - AssetTransactionsByFromPortfolioIdMinIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MIN_ID_DESC', - AssetTransactionsByFromPortfolioIdMinInstructionIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MIN_INSTRUCTION_ID_ASC', - AssetTransactionsByFromPortfolioIdMinInstructionIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MIN_INSTRUCTION_ID_DESC', - AssetTransactionsByFromPortfolioIdMinInstructionMemoAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MIN_INSTRUCTION_MEMO_ASC', - AssetTransactionsByFromPortfolioIdMinInstructionMemoDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MIN_INSTRUCTION_MEMO_DESC', - AssetTransactionsByFromPortfolioIdMinNftIdsAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MIN_NFT_IDS_ASC', - AssetTransactionsByFromPortfolioIdMinNftIdsDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MIN_NFT_IDS_DESC', - AssetTransactionsByFromPortfolioIdMinToPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MIN_TO_PORTFOLIO_ID_ASC', - AssetTransactionsByFromPortfolioIdMinToPortfolioIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MIN_TO_PORTFOLIO_ID_DESC', - AssetTransactionsByFromPortfolioIdMinUpdatedAtAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MIN_UPDATED_AT_ASC', - AssetTransactionsByFromPortfolioIdMinUpdatedAtDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MIN_UPDATED_AT_DESC', - AssetTransactionsByFromPortfolioIdMinUpdatedBlockIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MIN_UPDATED_BLOCK_ID_ASC', - AssetTransactionsByFromPortfolioIdMinUpdatedBlockIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_MIN_UPDATED_BLOCK_ID_DESC', - AssetTransactionsByFromPortfolioIdStddevPopulationAmountAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_POPULATION_AMOUNT_ASC', - AssetTransactionsByFromPortfolioIdStddevPopulationAmountDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_POPULATION_AMOUNT_DESC', - AssetTransactionsByFromPortfolioIdStddevPopulationAssetIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_POPULATION_ASSET_ID_ASC', - AssetTransactionsByFromPortfolioIdStddevPopulationAssetIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_POPULATION_ASSET_ID_DESC', - AssetTransactionsByFromPortfolioIdStddevPopulationCreatedAtAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_POPULATION_CREATED_AT_ASC', - AssetTransactionsByFromPortfolioIdStddevPopulationCreatedAtDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_POPULATION_CREATED_AT_DESC', - AssetTransactionsByFromPortfolioIdStddevPopulationCreatedBlockIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - AssetTransactionsByFromPortfolioIdStddevPopulationCreatedBlockIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - AssetTransactionsByFromPortfolioIdStddevPopulationDatetimeAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_POPULATION_DATETIME_ASC', - AssetTransactionsByFromPortfolioIdStddevPopulationDatetimeDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_POPULATION_DATETIME_DESC', - AssetTransactionsByFromPortfolioIdStddevPopulationEventIdxAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_POPULATION_EVENT_IDX_ASC', - AssetTransactionsByFromPortfolioIdStddevPopulationEventIdxDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_POPULATION_EVENT_IDX_DESC', - AssetTransactionsByFromPortfolioIdStddevPopulationEventIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_POPULATION_EVENT_ID_ASC', - AssetTransactionsByFromPortfolioIdStddevPopulationEventIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_POPULATION_EVENT_ID_DESC', - AssetTransactionsByFromPortfolioIdStddevPopulationExtrinsicIdxAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_POPULATION_EXTRINSIC_IDX_ASC', - AssetTransactionsByFromPortfolioIdStddevPopulationExtrinsicIdxDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_POPULATION_EXTRINSIC_IDX_DESC', - AssetTransactionsByFromPortfolioIdStddevPopulationFromPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_POPULATION_FROM_PORTFOLIO_ID_ASC', - AssetTransactionsByFromPortfolioIdStddevPopulationFromPortfolioIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_POPULATION_FROM_PORTFOLIO_ID_DESC', - AssetTransactionsByFromPortfolioIdStddevPopulationFundingRoundAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_POPULATION_FUNDING_ROUND_ASC', - AssetTransactionsByFromPortfolioIdStddevPopulationFundingRoundDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_POPULATION_FUNDING_ROUND_DESC', - AssetTransactionsByFromPortfolioIdStddevPopulationIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_POPULATION_ID_ASC', - AssetTransactionsByFromPortfolioIdStddevPopulationIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_POPULATION_ID_DESC', - AssetTransactionsByFromPortfolioIdStddevPopulationInstructionIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_POPULATION_INSTRUCTION_ID_ASC', - AssetTransactionsByFromPortfolioIdStddevPopulationInstructionIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_POPULATION_INSTRUCTION_ID_DESC', - AssetTransactionsByFromPortfolioIdStddevPopulationInstructionMemoAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_POPULATION_INSTRUCTION_MEMO_ASC', - AssetTransactionsByFromPortfolioIdStddevPopulationInstructionMemoDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_POPULATION_INSTRUCTION_MEMO_DESC', - AssetTransactionsByFromPortfolioIdStddevPopulationNftIdsAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_POPULATION_NFT_IDS_ASC', - AssetTransactionsByFromPortfolioIdStddevPopulationNftIdsDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_POPULATION_NFT_IDS_DESC', - AssetTransactionsByFromPortfolioIdStddevPopulationToPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_POPULATION_TO_PORTFOLIO_ID_ASC', - AssetTransactionsByFromPortfolioIdStddevPopulationToPortfolioIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_POPULATION_TO_PORTFOLIO_ID_DESC', - AssetTransactionsByFromPortfolioIdStddevPopulationUpdatedAtAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - AssetTransactionsByFromPortfolioIdStddevPopulationUpdatedAtDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - AssetTransactionsByFromPortfolioIdStddevPopulationUpdatedBlockIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - AssetTransactionsByFromPortfolioIdStddevPopulationUpdatedBlockIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - AssetTransactionsByFromPortfolioIdStddevSampleAmountAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_SAMPLE_AMOUNT_ASC', - AssetTransactionsByFromPortfolioIdStddevSampleAmountDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_SAMPLE_AMOUNT_DESC', - AssetTransactionsByFromPortfolioIdStddevSampleAssetIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_SAMPLE_ASSET_ID_ASC', - AssetTransactionsByFromPortfolioIdStddevSampleAssetIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_SAMPLE_ASSET_ID_DESC', - AssetTransactionsByFromPortfolioIdStddevSampleCreatedAtAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - AssetTransactionsByFromPortfolioIdStddevSampleCreatedAtDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - AssetTransactionsByFromPortfolioIdStddevSampleCreatedBlockIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - AssetTransactionsByFromPortfolioIdStddevSampleCreatedBlockIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - AssetTransactionsByFromPortfolioIdStddevSampleDatetimeAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_SAMPLE_DATETIME_ASC', - AssetTransactionsByFromPortfolioIdStddevSampleDatetimeDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_SAMPLE_DATETIME_DESC', - AssetTransactionsByFromPortfolioIdStddevSampleEventIdxAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', - AssetTransactionsByFromPortfolioIdStddevSampleEventIdxDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', - AssetTransactionsByFromPortfolioIdStddevSampleEventIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_SAMPLE_EVENT_ID_ASC', - AssetTransactionsByFromPortfolioIdStddevSampleEventIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_SAMPLE_EVENT_ID_DESC', - AssetTransactionsByFromPortfolioIdStddevSampleExtrinsicIdxAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_SAMPLE_EXTRINSIC_IDX_ASC', - AssetTransactionsByFromPortfolioIdStddevSampleExtrinsicIdxDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_SAMPLE_EXTRINSIC_IDX_DESC', - AssetTransactionsByFromPortfolioIdStddevSampleFromPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_SAMPLE_FROM_PORTFOLIO_ID_ASC', - AssetTransactionsByFromPortfolioIdStddevSampleFromPortfolioIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_SAMPLE_FROM_PORTFOLIO_ID_DESC', - AssetTransactionsByFromPortfolioIdStddevSampleFundingRoundAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_SAMPLE_FUNDING_ROUND_ASC', - AssetTransactionsByFromPortfolioIdStddevSampleFundingRoundDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_SAMPLE_FUNDING_ROUND_DESC', - AssetTransactionsByFromPortfolioIdStddevSampleIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_SAMPLE_ID_ASC', - AssetTransactionsByFromPortfolioIdStddevSampleIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_SAMPLE_ID_DESC', - AssetTransactionsByFromPortfolioIdStddevSampleInstructionIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_SAMPLE_INSTRUCTION_ID_ASC', - AssetTransactionsByFromPortfolioIdStddevSampleInstructionIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_SAMPLE_INSTRUCTION_ID_DESC', - AssetTransactionsByFromPortfolioIdStddevSampleInstructionMemoAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_SAMPLE_INSTRUCTION_MEMO_ASC', - AssetTransactionsByFromPortfolioIdStddevSampleInstructionMemoDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_SAMPLE_INSTRUCTION_MEMO_DESC', - AssetTransactionsByFromPortfolioIdStddevSampleNftIdsAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_SAMPLE_NFT_IDS_ASC', - AssetTransactionsByFromPortfolioIdStddevSampleNftIdsDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_SAMPLE_NFT_IDS_DESC', - AssetTransactionsByFromPortfolioIdStddevSampleToPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_SAMPLE_TO_PORTFOLIO_ID_ASC', - AssetTransactionsByFromPortfolioIdStddevSampleToPortfolioIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_SAMPLE_TO_PORTFOLIO_ID_DESC', - AssetTransactionsByFromPortfolioIdStddevSampleUpdatedAtAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - AssetTransactionsByFromPortfolioIdStddevSampleUpdatedAtDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - AssetTransactionsByFromPortfolioIdStddevSampleUpdatedBlockIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - AssetTransactionsByFromPortfolioIdStddevSampleUpdatedBlockIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - AssetTransactionsByFromPortfolioIdSumAmountAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_SUM_AMOUNT_ASC', - AssetTransactionsByFromPortfolioIdSumAmountDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_SUM_AMOUNT_DESC', - AssetTransactionsByFromPortfolioIdSumAssetIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_SUM_ASSET_ID_ASC', - AssetTransactionsByFromPortfolioIdSumAssetIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_SUM_ASSET_ID_DESC', - AssetTransactionsByFromPortfolioIdSumCreatedAtAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_SUM_CREATED_AT_ASC', - AssetTransactionsByFromPortfolioIdSumCreatedAtDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_SUM_CREATED_AT_DESC', - AssetTransactionsByFromPortfolioIdSumCreatedBlockIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_SUM_CREATED_BLOCK_ID_ASC', - AssetTransactionsByFromPortfolioIdSumCreatedBlockIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_SUM_CREATED_BLOCK_ID_DESC', - AssetTransactionsByFromPortfolioIdSumDatetimeAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_SUM_DATETIME_ASC', - AssetTransactionsByFromPortfolioIdSumDatetimeDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_SUM_DATETIME_DESC', - AssetTransactionsByFromPortfolioIdSumEventIdxAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_SUM_EVENT_IDX_ASC', - AssetTransactionsByFromPortfolioIdSumEventIdxDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_SUM_EVENT_IDX_DESC', - AssetTransactionsByFromPortfolioIdSumEventIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_SUM_EVENT_ID_ASC', - AssetTransactionsByFromPortfolioIdSumEventIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_SUM_EVENT_ID_DESC', - AssetTransactionsByFromPortfolioIdSumExtrinsicIdxAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_SUM_EXTRINSIC_IDX_ASC', - AssetTransactionsByFromPortfolioIdSumExtrinsicIdxDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_SUM_EXTRINSIC_IDX_DESC', - AssetTransactionsByFromPortfolioIdSumFromPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_SUM_FROM_PORTFOLIO_ID_ASC', - AssetTransactionsByFromPortfolioIdSumFromPortfolioIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_SUM_FROM_PORTFOLIO_ID_DESC', - AssetTransactionsByFromPortfolioIdSumFundingRoundAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_SUM_FUNDING_ROUND_ASC', - AssetTransactionsByFromPortfolioIdSumFundingRoundDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_SUM_FUNDING_ROUND_DESC', - AssetTransactionsByFromPortfolioIdSumIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_SUM_ID_ASC', - AssetTransactionsByFromPortfolioIdSumIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_SUM_ID_DESC', - AssetTransactionsByFromPortfolioIdSumInstructionIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_SUM_INSTRUCTION_ID_ASC', - AssetTransactionsByFromPortfolioIdSumInstructionIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_SUM_INSTRUCTION_ID_DESC', - AssetTransactionsByFromPortfolioIdSumInstructionMemoAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_SUM_INSTRUCTION_MEMO_ASC', - AssetTransactionsByFromPortfolioIdSumInstructionMemoDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_SUM_INSTRUCTION_MEMO_DESC', - AssetTransactionsByFromPortfolioIdSumNftIdsAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_SUM_NFT_IDS_ASC', - AssetTransactionsByFromPortfolioIdSumNftIdsDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_SUM_NFT_IDS_DESC', - AssetTransactionsByFromPortfolioIdSumToPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_SUM_TO_PORTFOLIO_ID_ASC', - AssetTransactionsByFromPortfolioIdSumToPortfolioIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_SUM_TO_PORTFOLIO_ID_DESC', - AssetTransactionsByFromPortfolioIdSumUpdatedAtAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_SUM_UPDATED_AT_ASC', - AssetTransactionsByFromPortfolioIdSumUpdatedAtDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_SUM_UPDATED_AT_DESC', - AssetTransactionsByFromPortfolioIdSumUpdatedBlockIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_SUM_UPDATED_BLOCK_ID_ASC', - AssetTransactionsByFromPortfolioIdSumUpdatedBlockIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_SUM_UPDATED_BLOCK_ID_DESC', - AssetTransactionsByFromPortfolioIdVariancePopulationAmountAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_POPULATION_AMOUNT_ASC', - AssetTransactionsByFromPortfolioIdVariancePopulationAmountDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_POPULATION_AMOUNT_DESC', - AssetTransactionsByFromPortfolioIdVariancePopulationAssetIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_POPULATION_ASSET_ID_ASC', - AssetTransactionsByFromPortfolioIdVariancePopulationAssetIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_POPULATION_ASSET_ID_DESC', - AssetTransactionsByFromPortfolioIdVariancePopulationCreatedAtAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - AssetTransactionsByFromPortfolioIdVariancePopulationCreatedAtDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - AssetTransactionsByFromPortfolioIdVariancePopulationCreatedBlockIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - AssetTransactionsByFromPortfolioIdVariancePopulationCreatedBlockIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - AssetTransactionsByFromPortfolioIdVariancePopulationDatetimeAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_POPULATION_DATETIME_ASC', - AssetTransactionsByFromPortfolioIdVariancePopulationDatetimeDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_POPULATION_DATETIME_DESC', - AssetTransactionsByFromPortfolioIdVariancePopulationEventIdxAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', - AssetTransactionsByFromPortfolioIdVariancePopulationEventIdxDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', - AssetTransactionsByFromPortfolioIdVariancePopulationEventIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_POPULATION_EVENT_ID_ASC', - AssetTransactionsByFromPortfolioIdVariancePopulationEventIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_POPULATION_EVENT_ID_DESC', - AssetTransactionsByFromPortfolioIdVariancePopulationExtrinsicIdxAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_POPULATION_EXTRINSIC_IDX_ASC', - AssetTransactionsByFromPortfolioIdVariancePopulationExtrinsicIdxDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_POPULATION_EXTRINSIC_IDX_DESC', - AssetTransactionsByFromPortfolioIdVariancePopulationFromPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_POPULATION_FROM_PORTFOLIO_ID_ASC', - AssetTransactionsByFromPortfolioIdVariancePopulationFromPortfolioIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_POPULATION_FROM_PORTFOLIO_ID_DESC', - AssetTransactionsByFromPortfolioIdVariancePopulationFundingRoundAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_POPULATION_FUNDING_ROUND_ASC', - AssetTransactionsByFromPortfolioIdVariancePopulationFundingRoundDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_POPULATION_FUNDING_ROUND_DESC', - AssetTransactionsByFromPortfolioIdVariancePopulationIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_POPULATION_ID_ASC', - AssetTransactionsByFromPortfolioIdVariancePopulationIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_POPULATION_ID_DESC', - AssetTransactionsByFromPortfolioIdVariancePopulationInstructionIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_POPULATION_INSTRUCTION_ID_ASC', - AssetTransactionsByFromPortfolioIdVariancePopulationInstructionIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_POPULATION_INSTRUCTION_ID_DESC', - AssetTransactionsByFromPortfolioIdVariancePopulationInstructionMemoAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_POPULATION_INSTRUCTION_MEMO_ASC', - AssetTransactionsByFromPortfolioIdVariancePopulationInstructionMemoDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_POPULATION_INSTRUCTION_MEMO_DESC', - AssetTransactionsByFromPortfolioIdVariancePopulationNftIdsAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_POPULATION_NFT_IDS_ASC', - AssetTransactionsByFromPortfolioIdVariancePopulationNftIdsDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_POPULATION_NFT_IDS_DESC', - AssetTransactionsByFromPortfolioIdVariancePopulationToPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_POPULATION_TO_PORTFOLIO_ID_ASC', - AssetTransactionsByFromPortfolioIdVariancePopulationToPortfolioIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_POPULATION_TO_PORTFOLIO_ID_DESC', - AssetTransactionsByFromPortfolioIdVariancePopulationUpdatedAtAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - AssetTransactionsByFromPortfolioIdVariancePopulationUpdatedAtDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - AssetTransactionsByFromPortfolioIdVariancePopulationUpdatedBlockIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - AssetTransactionsByFromPortfolioIdVariancePopulationUpdatedBlockIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - AssetTransactionsByFromPortfolioIdVarianceSampleAmountAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_SAMPLE_AMOUNT_ASC', - AssetTransactionsByFromPortfolioIdVarianceSampleAmountDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_SAMPLE_AMOUNT_DESC', - AssetTransactionsByFromPortfolioIdVarianceSampleAssetIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_SAMPLE_ASSET_ID_ASC', - AssetTransactionsByFromPortfolioIdVarianceSampleAssetIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_SAMPLE_ASSET_ID_DESC', - AssetTransactionsByFromPortfolioIdVarianceSampleCreatedAtAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - AssetTransactionsByFromPortfolioIdVarianceSampleCreatedAtDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - AssetTransactionsByFromPortfolioIdVarianceSampleCreatedBlockIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - AssetTransactionsByFromPortfolioIdVarianceSampleCreatedBlockIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - AssetTransactionsByFromPortfolioIdVarianceSampleDatetimeAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_SAMPLE_DATETIME_ASC', - AssetTransactionsByFromPortfolioIdVarianceSampleDatetimeDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_SAMPLE_DATETIME_DESC', - AssetTransactionsByFromPortfolioIdVarianceSampleEventIdxAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', - AssetTransactionsByFromPortfolioIdVarianceSampleEventIdxDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', - AssetTransactionsByFromPortfolioIdVarianceSampleEventIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_SAMPLE_EVENT_ID_ASC', - AssetTransactionsByFromPortfolioIdVarianceSampleEventIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_SAMPLE_EVENT_ID_DESC', - AssetTransactionsByFromPortfolioIdVarianceSampleExtrinsicIdxAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_SAMPLE_EXTRINSIC_IDX_ASC', - AssetTransactionsByFromPortfolioIdVarianceSampleExtrinsicIdxDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_SAMPLE_EXTRINSIC_IDX_DESC', - AssetTransactionsByFromPortfolioIdVarianceSampleFromPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_SAMPLE_FROM_PORTFOLIO_ID_ASC', - AssetTransactionsByFromPortfolioIdVarianceSampleFromPortfolioIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_SAMPLE_FROM_PORTFOLIO_ID_DESC', - AssetTransactionsByFromPortfolioIdVarianceSampleFundingRoundAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_SAMPLE_FUNDING_ROUND_ASC', - AssetTransactionsByFromPortfolioIdVarianceSampleFundingRoundDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_SAMPLE_FUNDING_ROUND_DESC', - AssetTransactionsByFromPortfolioIdVarianceSampleIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_SAMPLE_ID_ASC', - AssetTransactionsByFromPortfolioIdVarianceSampleIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_SAMPLE_ID_DESC', - AssetTransactionsByFromPortfolioIdVarianceSampleInstructionIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_SAMPLE_INSTRUCTION_ID_ASC', - AssetTransactionsByFromPortfolioIdVarianceSampleInstructionIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_SAMPLE_INSTRUCTION_ID_DESC', - AssetTransactionsByFromPortfolioIdVarianceSampleInstructionMemoAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_SAMPLE_INSTRUCTION_MEMO_ASC', - AssetTransactionsByFromPortfolioIdVarianceSampleInstructionMemoDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_SAMPLE_INSTRUCTION_MEMO_DESC', - AssetTransactionsByFromPortfolioIdVarianceSampleNftIdsAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_SAMPLE_NFT_IDS_ASC', - AssetTransactionsByFromPortfolioIdVarianceSampleNftIdsDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_SAMPLE_NFT_IDS_DESC', - AssetTransactionsByFromPortfolioIdVarianceSampleToPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_SAMPLE_TO_PORTFOLIO_ID_ASC', - AssetTransactionsByFromPortfolioIdVarianceSampleToPortfolioIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_SAMPLE_TO_PORTFOLIO_ID_DESC', - AssetTransactionsByFromPortfolioIdVarianceSampleUpdatedAtAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - AssetTransactionsByFromPortfolioIdVarianceSampleUpdatedAtDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - AssetTransactionsByFromPortfolioIdVarianceSampleUpdatedBlockIdAsc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - AssetTransactionsByFromPortfolioIdVarianceSampleUpdatedBlockIdDesc = 'ASSET_TRANSACTIONS_BY_FROM_PORTFOLIO_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - AssetTransactionsByToPortfolioIdAverageAmountAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_AVERAGE_AMOUNT_ASC', - AssetTransactionsByToPortfolioIdAverageAmountDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_AVERAGE_AMOUNT_DESC', - AssetTransactionsByToPortfolioIdAverageAssetIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_AVERAGE_ASSET_ID_ASC', - AssetTransactionsByToPortfolioIdAverageAssetIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_AVERAGE_ASSET_ID_DESC', - AssetTransactionsByToPortfolioIdAverageCreatedAtAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_AVERAGE_CREATED_AT_ASC', - AssetTransactionsByToPortfolioIdAverageCreatedAtDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_AVERAGE_CREATED_AT_DESC', - AssetTransactionsByToPortfolioIdAverageCreatedBlockIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - AssetTransactionsByToPortfolioIdAverageCreatedBlockIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - AssetTransactionsByToPortfolioIdAverageDatetimeAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_AVERAGE_DATETIME_ASC', - AssetTransactionsByToPortfolioIdAverageDatetimeDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_AVERAGE_DATETIME_DESC', - AssetTransactionsByToPortfolioIdAverageEventIdxAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_AVERAGE_EVENT_IDX_ASC', - AssetTransactionsByToPortfolioIdAverageEventIdxDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_AVERAGE_EVENT_IDX_DESC', - AssetTransactionsByToPortfolioIdAverageEventIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_AVERAGE_EVENT_ID_ASC', - AssetTransactionsByToPortfolioIdAverageEventIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_AVERAGE_EVENT_ID_DESC', - AssetTransactionsByToPortfolioIdAverageExtrinsicIdxAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_AVERAGE_EXTRINSIC_IDX_ASC', - AssetTransactionsByToPortfolioIdAverageExtrinsicIdxDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_AVERAGE_EXTRINSIC_IDX_DESC', - AssetTransactionsByToPortfolioIdAverageFromPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_AVERAGE_FROM_PORTFOLIO_ID_ASC', - AssetTransactionsByToPortfolioIdAverageFromPortfolioIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_AVERAGE_FROM_PORTFOLIO_ID_DESC', - AssetTransactionsByToPortfolioIdAverageFundingRoundAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_AVERAGE_FUNDING_ROUND_ASC', - AssetTransactionsByToPortfolioIdAverageFundingRoundDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_AVERAGE_FUNDING_ROUND_DESC', - AssetTransactionsByToPortfolioIdAverageIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_AVERAGE_ID_ASC', - AssetTransactionsByToPortfolioIdAverageIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_AVERAGE_ID_DESC', - AssetTransactionsByToPortfolioIdAverageInstructionIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_AVERAGE_INSTRUCTION_ID_ASC', - AssetTransactionsByToPortfolioIdAverageInstructionIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_AVERAGE_INSTRUCTION_ID_DESC', - AssetTransactionsByToPortfolioIdAverageInstructionMemoAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_AVERAGE_INSTRUCTION_MEMO_ASC', - AssetTransactionsByToPortfolioIdAverageInstructionMemoDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_AVERAGE_INSTRUCTION_MEMO_DESC', - AssetTransactionsByToPortfolioIdAverageNftIdsAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_AVERAGE_NFT_IDS_ASC', - AssetTransactionsByToPortfolioIdAverageNftIdsDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_AVERAGE_NFT_IDS_DESC', - AssetTransactionsByToPortfolioIdAverageToPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_AVERAGE_TO_PORTFOLIO_ID_ASC', - AssetTransactionsByToPortfolioIdAverageToPortfolioIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_AVERAGE_TO_PORTFOLIO_ID_DESC', - AssetTransactionsByToPortfolioIdAverageUpdatedAtAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_AVERAGE_UPDATED_AT_ASC', - AssetTransactionsByToPortfolioIdAverageUpdatedAtDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_AVERAGE_UPDATED_AT_DESC', - AssetTransactionsByToPortfolioIdAverageUpdatedBlockIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - AssetTransactionsByToPortfolioIdAverageUpdatedBlockIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - AssetTransactionsByToPortfolioIdCountAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_COUNT_ASC', - AssetTransactionsByToPortfolioIdCountDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_COUNT_DESC', - AssetTransactionsByToPortfolioIdDistinctCountAmountAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_DISTINCT_COUNT_AMOUNT_ASC', - AssetTransactionsByToPortfolioIdDistinctCountAmountDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_DISTINCT_COUNT_AMOUNT_DESC', - AssetTransactionsByToPortfolioIdDistinctCountAssetIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_DISTINCT_COUNT_ASSET_ID_ASC', - AssetTransactionsByToPortfolioIdDistinctCountAssetIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_DISTINCT_COUNT_ASSET_ID_DESC', - AssetTransactionsByToPortfolioIdDistinctCountCreatedAtAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_DISTINCT_COUNT_CREATED_AT_ASC', - AssetTransactionsByToPortfolioIdDistinctCountCreatedAtDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_DISTINCT_COUNT_CREATED_AT_DESC', - AssetTransactionsByToPortfolioIdDistinctCountCreatedBlockIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - AssetTransactionsByToPortfolioIdDistinctCountCreatedBlockIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - AssetTransactionsByToPortfolioIdDistinctCountDatetimeAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_DISTINCT_COUNT_DATETIME_ASC', - AssetTransactionsByToPortfolioIdDistinctCountDatetimeDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_DISTINCT_COUNT_DATETIME_DESC', - AssetTransactionsByToPortfolioIdDistinctCountEventIdxAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_DISTINCT_COUNT_EVENT_IDX_ASC', - AssetTransactionsByToPortfolioIdDistinctCountEventIdxDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_DISTINCT_COUNT_EVENT_IDX_DESC', - AssetTransactionsByToPortfolioIdDistinctCountEventIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_DISTINCT_COUNT_EVENT_ID_ASC', - AssetTransactionsByToPortfolioIdDistinctCountEventIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_DISTINCT_COUNT_EVENT_ID_DESC', - AssetTransactionsByToPortfolioIdDistinctCountExtrinsicIdxAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_DISTINCT_COUNT_EXTRINSIC_IDX_ASC', - AssetTransactionsByToPortfolioIdDistinctCountExtrinsicIdxDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_DISTINCT_COUNT_EXTRINSIC_IDX_DESC', - AssetTransactionsByToPortfolioIdDistinctCountFromPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_DISTINCT_COUNT_FROM_PORTFOLIO_ID_ASC', - AssetTransactionsByToPortfolioIdDistinctCountFromPortfolioIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_DISTINCT_COUNT_FROM_PORTFOLIO_ID_DESC', - AssetTransactionsByToPortfolioIdDistinctCountFundingRoundAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_DISTINCT_COUNT_FUNDING_ROUND_ASC', - AssetTransactionsByToPortfolioIdDistinctCountFundingRoundDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_DISTINCT_COUNT_FUNDING_ROUND_DESC', - AssetTransactionsByToPortfolioIdDistinctCountIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_DISTINCT_COUNT_ID_ASC', - AssetTransactionsByToPortfolioIdDistinctCountIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_DISTINCT_COUNT_ID_DESC', - AssetTransactionsByToPortfolioIdDistinctCountInstructionIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_DISTINCT_COUNT_INSTRUCTION_ID_ASC', - AssetTransactionsByToPortfolioIdDistinctCountInstructionIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_DISTINCT_COUNT_INSTRUCTION_ID_DESC', - AssetTransactionsByToPortfolioIdDistinctCountInstructionMemoAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_DISTINCT_COUNT_INSTRUCTION_MEMO_ASC', - AssetTransactionsByToPortfolioIdDistinctCountInstructionMemoDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_DISTINCT_COUNT_INSTRUCTION_MEMO_DESC', - AssetTransactionsByToPortfolioIdDistinctCountNftIdsAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_DISTINCT_COUNT_NFT_IDS_ASC', - AssetTransactionsByToPortfolioIdDistinctCountNftIdsDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_DISTINCT_COUNT_NFT_IDS_DESC', - AssetTransactionsByToPortfolioIdDistinctCountToPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_DISTINCT_COUNT_TO_PORTFOLIO_ID_ASC', - AssetTransactionsByToPortfolioIdDistinctCountToPortfolioIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_DISTINCT_COUNT_TO_PORTFOLIO_ID_DESC', - AssetTransactionsByToPortfolioIdDistinctCountUpdatedAtAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - AssetTransactionsByToPortfolioIdDistinctCountUpdatedAtDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - AssetTransactionsByToPortfolioIdDistinctCountUpdatedBlockIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - AssetTransactionsByToPortfolioIdDistinctCountUpdatedBlockIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - AssetTransactionsByToPortfolioIdMaxAmountAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MAX_AMOUNT_ASC', - AssetTransactionsByToPortfolioIdMaxAmountDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MAX_AMOUNT_DESC', - AssetTransactionsByToPortfolioIdMaxAssetIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MAX_ASSET_ID_ASC', - AssetTransactionsByToPortfolioIdMaxAssetIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MAX_ASSET_ID_DESC', - AssetTransactionsByToPortfolioIdMaxCreatedAtAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MAX_CREATED_AT_ASC', - AssetTransactionsByToPortfolioIdMaxCreatedAtDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MAX_CREATED_AT_DESC', - AssetTransactionsByToPortfolioIdMaxCreatedBlockIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MAX_CREATED_BLOCK_ID_ASC', - AssetTransactionsByToPortfolioIdMaxCreatedBlockIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MAX_CREATED_BLOCK_ID_DESC', - AssetTransactionsByToPortfolioIdMaxDatetimeAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MAX_DATETIME_ASC', - AssetTransactionsByToPortfolioIdMaxDatetimeDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MAX_DATETIME_DESC', - AssetTransactionsByToPortfolioIdMaxEventIdxAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MAX_EVENT_IDX_ASC', - AssetTransactionsByToPortfolioIdMaxEventIdxDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MAX_EVENT_IDX_DESC', - AssetTransactionsByToPortfolioIdMaxEventIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MAX_EVENT_ID_ASC', - AssetTransactionsByToPortfolioIdMaxEventIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MAX_EVENT_ID_DESC', - AssetTransactionsByToPortfolioIdMaxExtrinsicIdxAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MAX_EXTRINSIC_IDX_ASC', - AssetTransactionsByToPortfolioIdMaxExtrinsicIdxDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MAX_EXTRINSIC_IDX_DESC', - AssetTransactionsByToPortfolioIdMaxFromPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MAX_FROM_PORTFOLIO_ID_ASC', - AssetTransactionsByToPortfolioIdMaxFromPortfolioIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MAX_FROM_PORTFOLIO_ID_DESC', - AssetTransactionsByToPortfolioIdMaxFundingRoundAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MAX_FUNDING_ROUND_ASC', - AssetTransactionsByToPortfolioIdMaxFundingRoundDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MAX_FUNDING_ROUND_DESC', - AssetTransactionsByToPortfolioIdMaxIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MAX_ID_ASC', - AssetTransactionsByToPortfolioIdMaxIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MAX_ID_DESC', - AssetTransactionsByToPortfolioIdMaxInstructionIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MAX_INSTRUCTION_ID_ASC', - AssetTransactionsByToPortfolioIdMaxInstructionIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MAX_INSTRUCTION_ID_DESC', - AssetTransactionsByToPortfolioIdMaxInstructionMemoAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MAX_INSTRUCTION_MEMO_ASC', - AssetTransactionsByToPortfolioIdMaxInstructionMemoDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MAX_INSTRUCTION_MEMO_DESC', - AssetTransactionsByToPortfolioIdMaxNftIdsAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MAX_NFT_IDS_ASC', - AssetTransactionsByToPortfolioIdMaxNftIdsDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MAX_NFT_IDS_DESC', - AssetTransactionsByToPortfolioIdMaxToPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MAX_TO_PORTFOLIO_ID_ASC', - AssetTransactionsByToPortfolioIdMaxToPortfolioIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MAX_TO_PORTFOLIO_ID_DESC', - AssetTransactionsByToPortfolioIdMaxUpdatedAtAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MAX_UPDATED_AT_ASC', - AssetTransactionsByToPortfolioIdMaxUpdatedAtDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MAX_UPDATED_AT_DESC', - AssetTransactionsByToPortfolioIdMaxUpdatedBlockIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MAX_UPDATED_BLOCK_ID_ASC', - AssetTransactionsByToPortfolioIdMaxUpdatedBlockIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MAX_UPDATED_BLOCK_ID_DESC', - AssetTransactionsByToPortfolioIdMinAmountAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MIN_AMOUNT_ASC', - AssetTransactionsByToPortfolioIdMinAmountDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MIN_AMOUNT_DESC', - AssetTransactionsByToPortfolioIdMinAssetIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MIN_ASSET_ID_ASC', - AssetTransactionsByToPortfolioIdMinAssetIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MIN_ASSET_ID_DESC', - AssetTransactionsByToPortfolioIdMinCreatedAtAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MIN_CREATED_AT_ASC', - AssetTransactionsByToPortfolioIdMinCreatedAtDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MIN_CREATED_AT_DESC', - AssetTransactionsByToPortfolioIdMinCreatedBlockIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MIN_CREATED_BLOCK_ID_ASC', - AssetTransactionsByToPortfolioIdMinCreatedBlockIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MIN_CREATED_BLOCK_ID_DESC', - AssetTransactionsByToPortfolioIdMinDatetimeAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MIN_DATETIME_ASC', - AssetTransactionsByToPortfolioIdMinDatetimeDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MIN_DATETIME_DESC', - AssetTransactionsByToPortfolioIdMinEventIdxAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MIN_EVENT_IDX_ASC', - AssetTransactionsByToPortfolioIdMinEventIdxDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MIN_EVENT_IDX_DESC', - AssetTransactionsByToPortfolioIdMinEventIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MIN_EVENT_ID_ASC', - AssetTransactionsByToPortfolioIdMinEventIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MIN_EVENT_ID_DESC', - AssetTransactionsByToPortfolioIdMinExtrinsicIdxAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MIN_EXTRINSIC_IDX_ASC', - AssetTransactionsByToPortfolioIdMinExtrinsicIdxDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MIN_EXTRINSIC_IDX_DESC', - AssetTransactionsByToPortfolioIdMinFromPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MIN_FROM_PORTFOLIO_ID_ASC', - AssetTransactionsByToPortfolioIdMinFromPortfolioIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MIN_FROM_PORTFOLIO_ID_DESC', - AssetTransactionsByToPortfolioIdMinFundingRoundAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MIN_FUNDING_ROUND_ASC', - AssetTransactionsByToPortfolioIdMinFundingRoundDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MIN_FUNDING_ROUND_DESC', - AssetTransactionsByToPortfolioIdMinIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MIN_ID_ASC', - AssetTransactionsByToPortfolioIdMinIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MIN_ID_DESC', - AssetTransactionsByToPortfolioIdMinInstructionIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MIN_INSTRUCTION_ID_ASC', - AssetTransactionsByToPortfolioIdMinInstructionIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MIN_INSTRUCTION_ID_DESC', - AssetTransactionsByToPortfolioIdMinInstructionMemoAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MIN_INSTRUCTION_MEMO_ASC', - AssetTransactionsByToPortfolioIdMinInstructionMemoDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MIN_INSTRUCTION_MEMO_DESC', - AssetTransactionsByToPortfolioIdMinNftIdsAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MIN_NFT_IDS_ASC', - AssetTransactionsByToPortfolioIdMinNftIdsDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MIN_NFT_IDS_DESC', - AssetTransactionsByToPortfolioIdMinToPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MIN_TO_PORTFOLIO_ID_ASC', - AssetTransactionsByToPortfolioIdMinToPortfolioIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MIN_TO_PORTFOLIO_ID_DESC', - AssetTransactionsByToPortfolioIdMinUpdatedAtAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MIN_UPDATED_AT_ASC', - AssetTransactionsByToPortfolioIdMinUpdatedAtDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MIN_UPDATED_AT_DESC', - AssetTransactionsByToPortfolioIdMinUpdatedBlockIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MIN_UPDATED_BLOCK_ID_ASC', - AssetTransactionsByToPortfolioIdMinUpdatedBlockIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_MIN_UPDATED_BLOCK_ID_DESC', - AssetTransactionsByToPortfolioIdStddevPopulationAmountAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_POPULATION_AMOUNT_ASC', - AssetTransactionsByToPortfolioIdStddevPopulationAmountDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_POPULATION_AMOUNT_DESC', - AssetTransactionsByToPortfolioIdStddevPopulationAssetIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_POPULATION_ASSET_ID_ASC', - AssetTransactionsByToPortfolioIdStddevPopulationAssetIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_POPULATION_ASSET_ID_DESC', - AssetTransactionsByToPortfolioIdStddevPopulationCreatedAtAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_POPULATION_CREATED_AT_ASC', - AssetTransactionsByToPortfolioIdStddevPopulationCreatedAtDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_POPULATION_CREATED_AT_DESC', - AssetTransactionsByToPortfolioIdStddevPopulationCreatedBlockIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - AssetTransactionsByToPortfolioIdStddevPopulationCreatedBlockIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - AssetTransactionsByToPortfolioIdStddevPopulationDatetimeAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_POPULATION_DATETIME_ASC', - AssetTransactionsByToPortfolioIdStddevPopulationDatetimeDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_POPULATION_DATETIME_DESC', - AssetTransactionsByToPortfolioIdStddevPopulationEventIdxAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_POPULATION_EVENT_IDX_ASC', - AssetTransactionsByToPortfolioIdStddevPopulationEventIdxDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_POPULATION_EVENT_IDX_DESC', - AssetTransactionsByToPortfolioIdStddevPopulationEventIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_POPULATION_EVENT_ID_ASC', - AssetTransactionsByToPortfolioIdStddevPopulationEventIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_POPULATION_EVENT_ID_DESC', - AssetTransactionsByToPortfolioIdStddevPopulationExtrinsicIdxAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_POPULATION_EXTRINSIC_IDX_ASC', - AssetTransactionsByToPortfolioIdStddevPopulationExtrinsicIdxDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_POPULATION_EXTRINSIC_IDX_DESC', - AssetTransactionsByToPortfolioIdStddevPopulationFromPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_POPULATION_FROM_PORTFOLIO_ID_ASC', - AssetTransactionsByToPortfolioIdStddevPopulationFromPortfolioIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_POPULATION_FROM_PORTFOLIO_ID_DESC', - AssetTransactionsByToPortfolioIdStddevPopulationFundingRoundAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_POPULATION_FUNDING_ROUND_ASC', - AssetTransactionsByToPortfolioIdStddevPopulationFundingRoundDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_POPULATION_FUNDING_ROUND_DESC', - AssetTransactionsByToPortfolioIdStddevPopulationIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_POPULATION_ID_ASC', - AssetTransactionsByToPortfolioIdStddevPopulationIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_POPULATION_ID_DESC', - AssetTransactionsByToPortfolioIdStddevPopulationInstructionIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_POPULATION_INSTRUCTION_ID_ASC', - AssetTransactionsByToPortfolioIdStddevPopulationInstructionIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_POPULATION_INSTRUCTION_ID_DESC', - AssetTransactionsByToPortfolioIdStddevPopulationInstructionMemoAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_POPULATION_INSTRUCTION_MEMO_ASC', - AssetTransactionsByToPortfolioIdStddevPopulationInstructionMemoDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_POPULATION_INSTRUCTION_MEMO_DESC', - AssetTransactionsByToPortfolioIdStddevPopulationNftIdsAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_POPULATION_NFT_IDS_ASC', - AssetTransactionsByToPortfolioIdStddevPopulationNftIdsDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_POPULATION_NFT_IDS_DESC', - AssetTransactionsByToPortfolioIdStddevPopulationToPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_POPULATION_TO_PORTFOLIO_ID_ASC', - AssetTransactionsByToPortfolioIdStddevPopulationToPortfolioIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_POPULATION_TO_PORTFOLIO_ID_DESC', - AssetTransactionsByToPortfolioIdStddevPopulationUpdatedAtAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - AssetTransactionsByToPortfolioIdStddevPopulationUpdatedAtDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - AssetTransactionsByToPortfolioIdStddevPopulationUpdatedBlockIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - AssetTransactionsByToPortfolioIdStddevPopulationUpdatedBlockIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - AssetTransactionsByToPortfolioIdStddevSampleAmountAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_SAMPLE_AMOUNT_ASC', - AssetTransactionsByToPortfolioIdStddevSampleAmountDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_SAMPLE_AMOUNT_DESC', - AssetTransactionsByToPortfolioIdStddevSampleAssetIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_SAMPLE_ASSET_ID_ASC', - AssetTransactionsByToPortfolioIdStddevSampleAssetIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_SAMPLE_ASSET_ID_DESC', - AssetTransactionsByToPortfolioIdStddevSampleCreatedAtAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - AssetTransactionsByToPortfolioIdStddevSampleCreatedAtDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - AssetTransactionsByToPortfolioIdStddevSampleCreatedBlockIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - AssetTransactionsByToPortfolioIdStddevSampleCreatedBlockIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - AssetTransactionsByToPortfolioIdStddevSampleDatetimeAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_SAMPLE_DATETIME_ASC', - AssetTransactionsByToPortfolioIdStddevSampleDatetimeDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_SAMPLE_DATETIME_DESC', - AssetTransactionsByToPortfolioIdStddevSampleEventIdxAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_SAMPLE_EVENT_IDX_ASC', - AssetTransactionsByToPortfolioIdStddevSampleEventIdxDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_SAMPLE_EVENT_IDX_DESC', - AssetTransactionsByToPortfolioIdStddevSampleEventIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_SAMPLE_EVENT_ID_ASC', - AssetTransactionsByToPortfolioIdStddevSampleEventIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_SAMPLE_EVENT_ID_DESC', - AssetTransactionsByToPortfolioIdStddevSampleExtrinsicIdxAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_SAMPLE_EXTRINSIC_IDX_ASC', - AssetTransactionsByToPortfolioIdStddevSampleExtrinsicIdxDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_SAMPLE_EXTRINSIC_IDX_DESC', - AssetTransactionsByToPortfolioIdStddevSampleFromPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_SAMPLE_FROM_PORTFOLIO_ID_ASC', - AssetTransactionsByToPortfolioIdStddevSampleFromPortfolioIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_SAMPLE_FROM_PORTFOLIO_ID_DESC', - AssetTransactionsByToPortfolioIdStddevSampleFundingRoundAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_SAMPLE_FUNDING_ROUND_ASC', - AssetTransactionsByToPortfolioIdStddevSampleFundingRoundDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_SAMPLE_FUNDING_ROUND_DESC', - AssetTransactionsByToPortfolioIdStddevSampleIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_SAMPLE_ID_ASC', - AssetTransactionsByToPortfolioIdStddevSampleIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_SAMPLE_ID_DESC', - AssetTransactionsByToPortfolioIdStddevSampleInstructionIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_SAMPLE_INSTRUCTION_ID_ASC', - AssetTransactionsByToPortfolioIdStddevSampleInstructionIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_SAMPLE_INSTRUCTION_ID_DESC', - AssetTransactionsByToPortfolioIdStddevSampleInstructionMemoAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_SAMPLE_INSTRUCTION_MEMO_ASC', - AssetTransactionsByToPortfolioIdStddevSampleInstructionMemoDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_SAMPLE_INSTRUCTION_MEMO_DESC', - AssetTransactionsByToPortfolioIdStddevSampleNftIdsAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_SAMPLE_NFT_IDS_ASC', - AssetTransactionsByToPortfolioIdStddevSampleNftIdsDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_SAMPLE_NFT_IDS_DESC', - AssetTransactionsByToPortfolioIdStddevSampleToPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_SAMPLE_TO_PORTFOLIO_ID_ASC', - AssetTransactionsByToPortfolioIdStddevSampleToPortfolioIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_SAMPLE_TO_PORTFOLIO_ID_DESC', - AssetTransactionsByToPortfolioIdStddevSampleUpdatedAtAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - AssetTransactionsByToPortfolioIdStddevSampleUpdatedAtDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - AssetTransactionsByToPortfolioIdStddevSampleUpdatedBlockIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - AssetTransactionsByToPortfolioIdStddevSampleUpdatedBlockIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - AssetTransactionsByToPortfolioIdSumAmountAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_SUM_AMOUNT_ASC', - AssetTransactionsByToPortfolioIdSumAmountDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_SUM_AMOUNT_DESC', - AssetTransactionsByToPortfolioIdSumAssetIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_SUM_ASSET_ID_ASC', - AssetTransactionsByToPortfolioIdSumAssetIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_SUM_ASSET_ID_DESC', - AssetTransactionsByToPortfolioIdSumCreatedAtAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_SUM_CREATED_AT_ASC', - AssetTransactionsByToPortfolioIdSumCreatedAtDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_SUM_CREATED_AT_DESC', - AssetTransactionsByToPortfolioIdSumCreatedBlockIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_SUM_CREATED_BLOCK_ID_ASC', - AssetTransactionsByToPortfolioIdSumCreatedBlockIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_SUM_CREATED_BLOCK_ID_DESC', - AssetTransactionsByToPortfolioIdSumDatetimeAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_SUM_DATETIME_ASC', - AssetTransactionsByToPortfolioIdSumDatetimeDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_SUM_DATETIME_DESC', - AssetTransactionsByToPortfolioIdSumEventIdxAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_SUM_EVENT_IDX_ASC', - AssetTransactionsByToPortfolioIdSumEventIdxDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_SUM_EVENT_IDX_DESC', - AssetTransactionsByToPortfolioIdSumEventIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_SUM_EVENT_ID_ASC', - AssetTransactionsByToPortfolioIdSumEventIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_SUM_EVENT_ID_DESC', - AssetTransactionsByToPortfolioIdSumExtrinsicIdxAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_SUM_EXTRINSIC_IDX_ASC', - AssetTransactionsByToPortfolioIdSumExtrinsicIdxDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_SUM_EXTRINSIC_IDX_DESC', - AssetTransactionsByToPortfolioIdSumFromPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_SUM_FROM_PORTFOLIO_ID_ASC', - AssetTransactionsByToPortfolioIdSumFromPortfolioIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_SUM_FROM_PORTFOLIO_ID_DESC', - AssetTransactionsByToPortfolioIdSumFundingRoundAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_SUM_FUNDING_ROUND_ASC', - AssetTransactionsByToPortfolioIdSumFundingRoundDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_SUM_FUNDING_ROUND_DESC', - AssetTransactionsByToPortfolioIdSumIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_SUM_ID_ASC', - AssetTransactionsByToPortfolioIdSumIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_SUM_ID_DESC', - AssetTransactionsByToPortfolioIdSumInstructionIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_SUM_INSTRUCTION_ID_ASC', - AssetTransactionsByToPortfolioIdSumInstructionIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_SUM_INSTRUCTION_ID_DESC', - AssetTransactionsByToPortfolioIdSumInstructionMemoAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_SUM_INSTRUCTION_MEMO_ASC', - AssetTransactionsByToPortfolioIdSumInstructionMemoDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_SUM_INSTRUCTION_MEMO_DESC', - AssetTransactionsByToPortfolioIdSumNftIdsAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_SUM_NFT_IDS_ASC', - AssetTransactionsByToPortfolioIdSumNftIdsDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_SUM_NFT_IDS_DESC', - AssetTransactionsByToPortfolioIdSumToPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_SUM_TO_PORTFOLIO_ID_ASC', - AssetTransactionsByToPortfolioIdSumToPortfolioIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_SUM_TO_PORTFOLIO_ID_DESC', - AssetTransactionsByToPortfolioIdSumUpdatedAtAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_SUM_UPDATED_AT_ASC', - AssetTransactionsByToPortfolioIdSumUpdatedAtDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_SUM_UPDATED_AT_DESC', - AssetTransactionsByToPortfolioIdSumUpdatedBlockIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_SUM_UPDATED_BLOCK_ID_ASC', - AssetTransactionsByToPortfolioIdSumUpdatedBlockIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_SUM_UPDATED_BLOCK_ID_DESC', - AssetTransactionsByToPortfolioIdVariancePopulationAmountAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_POPULATION_AMOUNT_ASC', - AssetTransactionsByToPortfolioIdVariancePopulationAmountDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_POPULATION_AMOUNT_DESC', - AssetTransactionsByToPortfolioIdVariancePopulationAssetIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_POPULATION_ASSET_ID_ASC', - AssetTransactionsByToPortfolioIdVariancePopulationAssetIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_POPULATION_ASSET_ID_DESC', - AssetTransactionsByToPortfolioIdVariancePopulationCreatedAtAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - AssetTransactionsByToPortfolioIdVariancePopulationCreatedAtDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - AssetTransactionsByToPortfolioIdVariancePopulationCreatedBlockIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - AssetTransactionsByToPortfolioIdVariancePopulationCreatedBlockIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - AssetTransactionsByToPortfolioIdVariancePopulationDatetimeAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_POPULATION_DATETIME_ASC', - AssetTransactionsByToPortfolioIdVariancePopulationDatetimeDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_POPULATION_DATETIME_DESC', - AssetTransactionsByToPortfolioIdVariancePopulationEventIdxAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_POPULATION_EVENT_IDX_ASC', - AssetTransactionsByToPortfolioIdVariancePopulationEventIdxDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_POPULATION_EVENT_IDX_DESC', - AssetTransactionsByToPortfolioIdVariancePopulationEventIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_POPULATION_EVENT_ID_ASC', - AssetTransactionsByToPortfolioIdVariancePopulationEventIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_POPULATION_EVENT_ID_DESC', - AssetTransactionsByToPortfolioIdVariancePopulationExtrinsicIdxAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_POPULATION_EXTRINSIC_IDX_ASC', - AssetTransactionsByToPortfolioIdVariancePopulationExtrinsicIdxDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_POPULATION_EXTRINSIC_IDX_DESC', - AssetTransactionsByToPortfolioIdVariancePopulationFromPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_POPULATION_FROM_PORTFOLIO_ID_ASC', - AssetTransactionsByToPortfolioIdVariancePopulationFromPortfolioIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_POPULATION_FROM_PORTFOLIO_ID_DESC', - AssetTransactionsByToPortfolioIdVariancePopulationFundingRoundAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_POPULATION_FUNDING_ROUND_ASC', - AssetTransactionsByToPortfolioIdVariancePopulationFundingRoundDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_POPULATION_FUNDING_ROUND_DESC', - AssetTransactionsByToPortfolioIdVariancePopulationIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_POPULATION_ID_ASC', - AssetTransactionsByToPortfolioIdVariancePopulationIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_POPULATION_ID_DESC', - AssetTransactionsByToPortfolioIdVariancePopulationInstructionIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_POPULATION_INSTRUCTION_ID_ASC', - AssetTransactionsByToPortfolioIdVariancePopulationInstructionIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_POPULATION_INSTRUCTION_ID_DESC', - AssetTransactionsByToPortfolioIdVariancePopulationInstructionMemoAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_POPULATION_INSTRUCTION_MEMO_ASC', - AssetTransactionsByToPortfolioIdVariancePopulationInstructionMemoDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_POPULATION_INSTRUCTION_MEMO_DESC', - AssetTransactionsByToPortfolioIdVariancePopulationNftIdsAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_POPULATION_NFT_IDS_ASC', - AssetTransactionsByToPortfolioIdVariancePopulationNftIdsDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_POPULATION_NFT_IDS_DESC', - AssetTransactionsByToPortfolioIdVariancePopulationToPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_POPULATION_TO_PORTFOLIO_ID_ASC', - AssetTransactionsByToPortfolioIdVariancePopulationToPortfolioIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_POPULATION_TO_PORTFOLIO_ID_DESC', - AssetTransactionsByToPortfolioIdVariancePopulationUpdatedAtAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - AssetTransactionsByToPortfolioIdVariancePopulationUpdatedAtDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - AssetTransactionsByToPortfolioIdVariancePopulationUpdatedBlockIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - AssetTransactionsByToPortfolioIdVariancePopulationUpdatedBlockIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - AssetTransactionsByToPortfolioIdVarianceSampleAmountAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_SAMPLE_AMOUNT_ASC', - AssetTransactionsByToPortfolioIdVarianceSampleAmountDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_SAMPLE_AMOUNT_DESC', - AssetTransactionsByToPortfolioIdVarianceSampleAssetIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_SAMPLE_ASSET_ID_ASC', - AssetTransactionsByToPortfolioIdVarianceSampleAssetIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_SAMPLE_ASSET_ID_DESC', - AssetTransactionsByToPortfolioIdVarianceSampleCreatedAtAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - AssetTransactionsByToPortfolioIdVarianceSampleCreatedAtDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - AssetTransactionsByToPortfolioIdVarianceSampleCreatedBlockIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - AssetTransactionsByToPortfolioIdVarianceSampleCreatedBlockIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - AssetTransactionsByToPortfolioIdVarianceSampleDatetimeAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_SAMPLE_DATETIME_ASC', - AssetTransactionsByToPortfolioIdVarianceSampleDatetimeDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_SAMPLE_DATETIME_DESC', - AssetTransactionsByToPortfolioIdVarianceSampleEventIdxAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_SAMPLE_EVENT_IDX_ASC', - AssetTransactionsByToPortfolioIdVarianceSampleEventIdxDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_SAMPLE_EVENT_IDX_DESC', - AssetTransactionsByToPortfolioIdVarianceSampleEventIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_SAMPLE_EVENT_ID_ASC', - AssetTransactionsByToPortfolioIdVarianceSampleEventIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_SAMPLE_EVENT_ID_DESC', - AssetTransactionsByToPortfolioIdVarianceSampleExtrinsicIdxAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_SAMPLE_EXTRINSIC_IDX_ASC', - AssetTransactionsByToPortfolioIdVarianceSampleExtrinsicIdxDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_SAMPLE_EXTRINSIC_IDX_DESC', - AssetTransactionsByToPortfolioIdVarianceSampleFromPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_SAMPLE_FROM_PORTFOLIO_ID_ASC', - AssetTransactionsByToPortfolioIdVarianceSampleFromPortfolioIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_SAMPLE_FROM_PORTFOLIO_ID_DESC', - AssetTransactionsByToPortfolioIdVarianceSampleFundingRoundAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_SAMPLE_FUNDING_ROUND_ASC', - AssetTransactionsByToPortfolioIdVarianceSampleFundingRoundDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_SAMPLE_FUNDING_ROUND_DESC', - AssetTransactionsByToPortfolioIdVarianceSampleIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_SAMPLE_ID_ASC', - AssetTransactionsByToPortfolioIdVarianceSampleIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_SAMPLE_ID_DESC', - AssetTransactionsByToPortfolioIdVarianceSampleInstructionIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_SAMPLE_INSTRUCTION_ID_ASC', - AssetTransactionsByToPortfolioIdVarianceSampleInstructionIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_SAMPLE_INSTRUCTION_ID_DESC', - AssetTransactionsByToPortfolioIdVarianceSampleInstructionMemoAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_SAMPLE_INSTRUCTION_MEMO_ASC', - AssetTransactionsByToPortfolioIdVarianceSampleInstructionMemoDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_SAMPLE_INSTRUCTION_MEMO_DESC', - AssetTransactionsByToPortfolioIdVarianceSampleNftIdsAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_SAMPLE_NFT_IDS_ASC', - AssetTransactionsByToPortfolioIdVarianceSampleNftIdsDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_SAMPLE_NFT_IDS_DESC', - AssetTransactionsByToPortfolioIdVarianceSampleToPortfolioIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_SAMPLE_TO_PORTFOLIO_ID_ASC', - AssetTransactionsByToPortfolioIdVarianceSampleToPortfolioIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_SAMPLE_TO_PORTFOLIO_ID_DESC', - AssetTransactionsByToPortfolioIdVarianceSampleUpdatedAtAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - AssetTransactionsByToPortfolioIdVarianceSampleUpdatedAtDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - AssetTransactionsByToPortfolioIdVarianceSampleUpdatedBlockIdAsc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - AssetTransactionsByToPortfolioIdVarianceSampleUpdatedBlockIdDesc = 'ASSET_TRANSACTIONS_BY_TO_PORTFOLIO_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - CreatedAtAsc = 'CREATED_AT_ASC', - CreatedAtDesc = 'CREATED_AT_DESC', - CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', - CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', - CustodianIdAsc = 'CUSTODIAN_ID_ASC', - CustodianIdDesc = 'CUSTODIAN_ID_DESC', - DeletedAtAsc = 'DELETED_AT_ASC', - DeletedAtDesc = 'DELETED_AT_DESC', - DistributionsAverageAmountAsc = 'DISTRIBUTIONS_AVERAGE_AMOUNT_ASC', - DistributionsAverageAmountDesc = 'DISTRIBUTIONS_AVERAGE_AMOUNT_DESC', - DistributionsAverageAssetIdAsc = 'DISTRIBUTIONS_AVERAGE_ASSET_ID_ASC', - DistributionsAverageAssetIdDesc = 'DISTRIBUTIONS_AVERAGE_ASSET_ID_DESC', - DistributionsAverageCreatedAtAsc = 'DISTRIBUTIONS_AVERAGE_CREATED_AT_ASC', - DistributionsAverageCreatedAtDesc = 'DISTRIBUTIONS_AVERAGE_CREATED_AT_DESC', - DistributionsAverageCreatedBlockIdAsc = 'DISTRIBUTIONS_AVERAGE_CREATED_BLOCK_ID_ASC', - DistributionsAverageCreatedBlockIdDesc = 'DISTRIBUTIONS_AVERAGE_CREATED_BLOCK_ID_DESC', - DistributionsAverageCurrencyAsc = 'DISTRIBUTIONS_AVERAGE_CURRENCY_ASC', - DistributionsAverageCurrencyDesc = 'DISTRIBUTIONS_AVERAGE_CURRENCY_DESC', - DistributionsAverageExpiresAtAsc = 'DISTRIBUTIONS_AVERAGE_EXPIRES_AT_ASC', - DistributionsAverageExpiresAtDesc = 'DISTRIBUTIONS_AVERAGE_EXPIRES_AT_DESC', - DistributionsAverageIdentityIdAsc = 'DISTRIBUTIONS_AVERAGE_IDENTITY_ID_ASC', - DistributionsAverageIdentityIdDesc = 'DISTRIBUTIONS_AVERAGE_IDENTITY_ID_DESC', - DistributionsAverageIdAsc = 'DISTRIBUTIONS_AVERAGE_ID_ASC', - DistributionsAverageIdDesc = 'DISTRIBUTIONS_AVERAGE_ID_DESC', - DistributionsAverageLocalIdAsc = 'DISTRIBUTIONS_AVERAGE_LOCAL_ID_ASC', - DistributionsAverageLocalIdDesc = 'DISTRIBUTIONS_AVERAGE_LOCAL_ID_DESC', - DistributionsAveragePaymentAtAsc = 'DISTRIBUTIONS_AVERAGE_PAYMENT_AT_ASC', - DistributionsAveragePaymentAtDesc = 'DISTRIBUTIONS_AVERAGE_PAYMENT_AT_DESC', - DistributionsAveragePerShareAsc = 'DISTRIBUTIONS_AVERAGE_PER_SHARE_ASC', - DistributionsAveragePerShareDesc = 'DISTRIBUTIONS_AVERAGE_PER_SHARE_DESC', - DistributionsAveragePortfolioIdAsc = 'DISTRIBUTIONS_AVERAGE_PORTFOLIO_ID_ASC', - DistributionsAveragePortfolioIdDesc = 'DISTRIBUTIONS_AVERAGE_PORTFOLIO_ID_DESC', - DistributionsAverageRemainingAsc = 'DISTRIBUTIONS_AVERAGE_REMAINING_ASC', - DistributionsAverageRemainingDesc = 'DISTRIBUTIONS_AVERAGE_REMAINING_DESC', - DistributionsAverageTaxesAsc = 'DISTRIBUTIONS_AVERAGE_TAXES_ASC', - DistributionsAverageTaxesDesc = 'DISTRIBUTIONS_AVERAGE_TAXES_DESC', - DistributionsAverageUpdatedAtAsc = 'DISTRIBUTIONS_AVERAGE_UPDATED_AT_ASC', - DistributionsAverageUpdatedAtDesc = 'DISTRIBUTIONS_AVERAGE_UPDATED_AT_DESC', - DistributionsAverageUpdatedBlockIdAsc = 'DISTRIBUTIONS_AVERAGE_UPDATED_BLOCK_ID_ASC', - DistributionsAverageUpdatedBlockIdDesc = 'DISTRIBUTIONS_AVERAGE_UPDATED_BLOCK_ID_DESC', - DistributionsCountAsc = 'DISTRIBUTIONS_COUNT_ASC', - DistributionsCountDesc = 'DISTRIBUTIONS_COUNT_DESC', - DistributionsDistinctCountAmountAsc = 'DISTRIBUTIONS_DISTINCT_COUNT_AMOUNT_ASC', - DistributionsDistinctCountAmountDesc = 'DISTRIBUTIONS_DISTINCT_COUNT_AMOUNT_DESC', - DistributionsDistinctCountAssetIdAsc = 'DISTRIBUTIONS_DISTINCT_COUNT_ASSET_ID_ASC', - DistributionsDistinctCountAssetIdDesc = 'DISTRIBUTIONS_DISTINCT_COUNT_ASSET_ID_DESC', - DistributionsDistinctCountCreatedAtAsc = 'DISTRIBUTIONS_DISTINCT_COUNT_CREATED_AT_ASC', - DistributionsDistinctCountCreatedAtDesc = 'DISTRIBUTIONS_DISTINCT_COUNT_CREATED_AT_DESC', - DistributionsDistinctCountCreatedBlockIdAsc = 'DISTRIBUTIONS_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - DistributionsDistinctCountCreatedBlockIdDesc = 'DISTRIBUTIONS_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - DistributionsDistinctCountCurrencyAsc = 'DISTRIBUTIONS_DISTINCT_COUNT_CURRENCY_ASC', - DistributionsDistinctCountCurrencyDesc = 'DISTRIBUTIONS_DISTINCT_COUNT_CURRENCY_DESC', - DistributionsDistinctCountExpiresAtAsc = 'DISTRIBUTIONS_DISTINCT_COUNT_EXPIRES_AT_ASC', - DistributionsDistinctCountExpiresAtDesc = 'DISTRIBUTIONS_DISTINCT_COUNT_EXPIRES_AT_DESC', - DistributionsDistinctCountIdentityIdAsc = 'DISTRIBUTIONS_DISTINCT_COUNT_IDENTITY_ID_ASC', - DistributionsDistinctCountIdentityIdDesc = 'DISTRIBUTIONS_DISTINCT_COUNT_IDENTITY_ID_DESC', - DistributionsDistinctCountIdAsc = 'DISTRIBUTIONS_DISTINCT_COUNT_ID_ASC', - DistributionsDistinctCountIdDesc = 'DISTRIBUTIONS_DISTINCT_COUNT_ID_DESC', - DistributionsDistinctCountLocalIdAsc = 'DISTRIBUTIONS_DISTINCT_COUNT_LOCAL_ID_ASC', - DistributionsDistinctCountLocalIdDesc = 'DISTRIBUTIONS_DISTINCT_COUNT_LOCAL_ID_DESC', - DistributionsDistinctCountPaymentAtAsc = 'DISTRIBUTIONS_DISTINCT_COUNT_PAYMENT_AT_ASC', - DistributionsDistinctCountPaymentAtDesc = 'DISTRIBUTIONS_DISTINCT_COUNT_PAYMENT_AT_DESC', - DistributionsDistinctCountPerShareAsc = 'DISTRIBUTIONS_DISTINCT_COUNT_PER_SHARE_ASC', - DistributionsDistinctCountPerShareDesc = 'DISTRIBUTIONS_DISTINCT_COUNT_PER_SHARE_DESC', - DistributionsDistinctCountPortfolioIdAsc = 'DISTRIBUTIONS_DISTINCT_COUNT_PORTFOLIO_ID_ASC', - DistributionsDistinctCountPortfolioIdDesc = 'DISTRIBUTIONS_DISTINCT_COUNT_PORTFOLIO_ID_DESC', - DistributionsDistinctCountRemainingAsc = 'DISTRIBUTIONS_DISTINCT_COUNT_REMAINING_ASC', - DistributionsDistinctCountRemainingDesc = 'DISTRIBUTIONS_DISTINCT_COUNT_REMAINING_DESC', - DistributionsDistinctCountTaxesAsc = 'DISTRIBUTIONS_DISTINCT_COUNT_TAXES_ASC', - DistributionsDistinctCountTaxesDesc = 'DISTRIBUTIONS_DISTINCT_COUNT_TAXES_DESC', - DistributionsDistinctCountUpdatedAtAsc = 'DISTRIBUTIONS_DISTINCT_COUNT_UPDATED_AT_ASC', - DistributionsDistinctCountUpdatedAtDesc = 'DISTRIBUTIONS_DISTINCT_COUNT_UPDATED_AT_DESC', - DistributionsDistinctCountUpdatedBlockIdAsc = 'DISTRIBUTIONS_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - DistributionsDistinctCountUpdatedBlockIdDesc = 'DISTRIBUTIONS_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - DistributionsMaxAmountAsc = 'DISTRIBUTIONS_MAX_AMOUNT_ASC', - DistributionsMaxAmountDesc = 'DISTRIBUTIONS_MAX_AMOUNT_DESC', - DistributionsMaxAssetIdAsc = 'DISTRIBUTIONS_MAX_ASSET_ID_ASC', - DistributionsMaxAssetIdDesc = 'DISTRIBUTIONS_MAX_ASSET_ID_DESC', - DistributionsMaxCreatedAtAsc = 'DISTRIBUTIONS_MAX_CREATED_AT_ASC', - DistributionsMaxCreatedAtDesc = 'DISTRIBUTIONS_MAX_CREATED_AT_DESC', - DistributionsMaxCreatedBlockIdAsc = 'DISTRIBUTIONS_MAX_CREATED_BLOCK_ID_ASC', - DistributionsMaxCreatedBlockIdDesc = 'DISTRIBUTIONS_MAX_CREATED_BLOCK_ID_DESC', - DistributionsMaxCurrencyAsc = 'DISTRIBUTIONS_MAX_CURRENCY_ASC', - DistributionsMaxCurrencyDesc = 'DISTRIBUTIONS_MAX_CURRENCY_DESC', - DistributionsMaxExpiresAtAsc = 'DISTRIBUTIONS_MAX_EXPIRES_AT_ASC', - DistributionsMaxExpiresAtDesc = 'DISTRIBUTIONS_MAX_EXPIRES_AT_DESC', - DistributionsMaxIdentityIdAsc = 'DISTRIBUTIONS_MAX_IDENTITY_ID_ASC', - DistributionsMaxIdentityIdDesc = 'DISTRIBUTIONS_MAX_IDENTITY_ID_DESC', - DistributionsMaxIdAsc = 'DISTRIBUTIONS_MAX_ID_ASC', - DistributionsMaxIdDesc = 'DISTRIBUTIONS_MAX_ID_DESC', - DistributionsMaxLocalIdAsc = 'DISTRIBUTIONS_MAX_LOCAL_ID_ASC', - DistributionsMaxLocalIdDesc = 'DISTRIBUTIONS_MAX_LOCAL_ID_DESC', - DistributionsMaxPaymentAtAsc = 'DISTRIBUTIONS_MAX_PAYMENT_AT_ASC', - DistributionsMaxPaymentAtDesc = 'DISTRIBUTIONS_MAX_PAYMENT_AT_DESC', - DistributionsMaxPerShareAsc = 'DISTRIBUTIONS_MAX_PER_SHARE_ASC', - DistributionsMaxPerShareDesc = 'DISTRIBUTIONS_MAX_PER_SHARE_DESC', - DistributionsMaxPortfolioIdAsc = 'DISTRIBUTIONS_MAX_PORTFOLIO_ID_ASC', - DistributionsMaxPortfolioIdDesc = 'DISTRIBUTIONS_MAX_PORTFOLIO_ID_DESC', - DistributionsMaxRemainingAsc = 'DISTRIBUTIONS_MAX_REMAINING_ASC', - DistributionsMaxRemainingDesc = 'DISTRIBUTIONS_MAX_REMAINING_DESC', - DistributionsMaxTaxesAsc = 'DISTRIBUTIONS_MAX_TAXES_ASC', - DistributionsMaxTaxesDesc = 'DISTRIBUTIONS_MAX_TAXES_DESC', - DistributionsMaxUpdatedAtAsc = 'DISTRIBUTIONS_MAX_UPDATED_AT_ASC', - DistributionsMaxUpdatedAtDesc = 'DISTRIBUTIONS_MAX_UPDATED_AT_DESC', - DistributionsMaxUpdatedBlockIdAsc = 'DISTRIBUTIONS_MAX_UPDATED_BLOCK_ID_ASC', - DistributionsMaxUpdatedBlockIdDesc = 'DISTRIBUTIONS_MAX_UPDATED_BLOCK_ID_DESC', - DistributionsMinAmountAsc = 'DISTRIBUTIONS_MIN_AMOUNT_ASC', - DistributionsMinAmountDesc = 'DISTRIBUTIONS_MIN_AMOUNT_DESC', - DistributionsMinAssetIdAsc = 'DISTRIBUTIONS_MIN_ASSET_ID_ASC', - DistributionsMinAssetIdDesc = 'DISTRIBUTIONS_MIN_ASSET_ID_DESC', - DistributionsMinCreatedAtAsc = 'DISTRIBUTIONS_MIN_CREATED_AT_ASC', - DistributionsMinCreatedAtDesc = 'DISTRIBUTIONS_MIN_CREATED_AT_DESC', - DistributionsMinCreatedBlockIdAsc = 'DISTRIBUTIONS_MIN_CREATED_BLOCK_ID_ASC', - DistributionsMinCreatedBlockIdDesc = 'DISTRIBUTIONS_MIN_CREATED_BLOCK_ID_DESC', - DistributionsMinCurrencyAsc = 'DISTRIBUTIONS_MIN_CURRENCY_ASC', - DistributionsMinCurrencyDesc = 'DISTRIBUTIONS_MIN_CURRENCY_DESC', - DistributionsMinExpiresAtAsc = 'DISTRIBUTIONS_MIN_EXPIRES_AT_ASC', - DistributionsMinExpiresAtDesc = 'DISTRIBUTIONS_MIN_EXPIRES_AT_DESC', - DistributionsMinIdentityIdAsc = 'DISTRIBUTIONS_MIN_IDENTITY_ID_ASC', - DistributionsMinIdentityIdDesc = 'DISTRIBUTIONS_MIN_IDENTITY_ID_DESC', - DistributionsMinIdAsc = 'DISTRIBUTIONS_MIN_ID_ASC', - DistributionsMinIdDesc = 'DISTRIBUTIONS_MIN_ID_DESC', - DistributionsMinLocalIdAsc = 'DISTRIBUTIONS_MIN_LOCAL_ID_ASC', - DistributionsMinLocalIdDesc = 'DISTRIBUTIONS_MIN_LOCAL_ID_DESC', - DistributionsMinPaymentAtAsc = 'DISTRIBUTIONS_MIN_PAYMENT_AT_ASC', - DistributionsMinPaymentAtDesc = 'DISTRIBUTIONS_MIN_PAYMENT_AT_DESC', - DistributionsMinPerShareAsc = 'DISTRIBUTIONS_MIN_PER_SHARE_ASC', - DistributionsMinPerShareDesc = 'DISTRIBUTIONS_MIN_PER_SHARE_DESC', - DistributionsMinPortfolioIdAsc = 'DISTRIBUTIONS_MIN_PORTFOLIO_ID_ASC', - DistributionsMinPortfolioIdDesc = 'DISTRIBUTIONS_MIN_PORTFOLIO_ID_DESC', - DistributionsMinRemainingAsc = 'DISTRIBUTIONS_MIN_REMAINING_ASC', - DistributionsMinRemainingDesc = 'DISTRIBUTIONS_MIN_REMAINING_DESC', - DistributionsMinTaxesAsc = 'DISTRIBUTIONS_MIN_TAXES_ASC', - DistributionsMinTaxesDesc = 'DISTRIBUTIONS_MIN_TAXES_DESC', - DistributionsMinUpdatedAtAsc = 'DISTRIBUTIONS_MIN_UPDATED_AT_ASC', - DistributionsMinUpdatedAtDesc = 'DISTRIBUTIONS_MIN_UPDATED_AT_DESC', - DistributionsMinUpdatedBlockIdAsc = 'DISTRIBUTIONS_MIN_UPDATED_BLOCK_ID_ASC', - DistributionsMinUpdatedBlockIdDesc = 'DISTRIBUTIONS_MIN_UPDATED_BLOCK_ID_DESC', - DistributionsStddevPopulationAmountAsc = 'DISTRIBUTIONS_STDDEV_POPULATION_AMOUNT_ASC', - DistributionsStddevPopulationAmountDesc = 'DISTRIBUTIONS_STDDEV_POPULATION_AMOUNT_DESC', - DistributionsStddevPopulationAssetIdAsc = 'DISTRIBUTIONS_STDDEV_POPULATION_ASSET_ID_ASC', - DistributionsStddevPopulationAssetIdDesc = 'DISTRIBUTIONS_STDDEV_POPULATION_ASSET_ID_DESC', - DistributionsStddevPopulationCreatedAtAsc = 'DISTRIBUTIONS_STDDEV_POPULATION_CREATED_AT_ASC', - DistributionsStddevPopulationCreatedAtDesc = 'DISTRIBUTIONS_STDDEV_POPULATION_CREATED_AT_DESC', - DistributionsStddevPopulationCreatedBlockIdAsc = 'DISTRIBUTIONS_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - DistributionsStddevPopulationCreatedBlockIdDesc = 'DISTRIBUTIONS_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - DistributionsStddevPopulationCurrencyAsc = 'DISTRIBUTIONS_STDDEV_POPULATION_CURRENCY_ASC', - DistributionsStddevPopulationCurrencyDesc = 'DISTRIBUTIONS_STDDEV_POPULATION_CURRENCY_DESC', - DistributionsStddevPopulationExpiresAtAsc = 'DISTRIBUTIONS_STDDEV_POPULATION_EXPIRES_AT_ASC', - DistributionsStddevPopulationExpiresAtDesc = 'DISTRIBUTIONS_STDDEV_POPULATION_EXPIRES_AT_DESC', - DistributionsStddevPopulationIdentityIdAsc = 'DISTRIBUTIONS_STDDEV_POPULATION_IDENTITY_ID_ASC', - DistributionsStddevPopulationIdentityIdDesc = 'DISTRIBUTIONS_STDDEV_POPULATION_IDENTITY_ID_DESC', - DistributionsStddevPopulationIdAsc = 'DISTRIBUTIONS_STDDEV_POPULATION_ID_ASC', - DistributionsStddevPopulationIdDesc = 'DISTRIBUTIONS_STDDEV_POPULATION_ID_DESC', - DistributionsStddevPopulationLocalIdAsc = 'DISTRIBUTIONS_STDDEV_POPULATION_LOCAL_ID_ASC', - DistributionsStddevPopulationLocalIdDesc = 'DISTRIBUTIONS_STDDEV_POPULATION_LOCAL_ID_DESC', - DistributionsStddevPopulationPaymentAtAsc = 'DISTRIBUTIONS_STDDEV_POPULATION_PAYMENT_AT_ASC', - DistributionsStddevPopulationPaymentAtDesc = 'DISTRIBUTIONS_STDDEV_POPULATION_PAYMENT_AT_DESC', - DistributionsStddevPopulationPerShareAsc = 'DISTRIBUTIONS_STDDEV_POPULATION_PER_SHARE_ASC', - DistributionsStddevPopulationPerShareDesc = 'DISTRIBUTIONS_STDDEV_POPULATION_PER_SHARE_DESC', - DistributionsStddevPopulationPortfolioIdAsc = 'DISTRIBUTIONS_STDDEV_POPULATION_PORTFOLIO_ID_ASC', - DistributionsStddevPopulationPortfolioIdDesc = 'DISTRIBUTIONS_STDDEV_POPULATION_PORTFOLIO_ID_DESC', - DistributionsStddevPopulationRemainingAsc = 'DISTRIBUTIONS_STDDEV_POPULATION_REMAINING_ASC', - DistributionsStddevPopulationRemainingDesc = 'DISTRIBUTIONS_STDDEV_POPULATION_REMAINING_DESC', - DistributionsStddevPopulationTaxesAsc = 'DISTRIBUTIONS_STDDEV_POPULATION_TAXES_ASC', - DistributionsStddevPopulationTaxesDesc = 'DISTRIBUTIONS_STDDEV_POPULATION_TAXES_DESC', - DistributionsStddevPopulationUpdatedAtAsc = 'DISTRIBUTIONS_STDDEV_POPULATION_UPDATED_AT_ASC', - DistributionsStddevPopulationUpdatedAtDesc = 'DISTRIBUTIONS_STDDEV_POPULATION_UPDATED_AT_DESC', - DistributionsStddevPopulationUpdatedBlockIdAsc = 'DISTRIBUTIONS_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - DistributionsStddevPopulationUpdatedBlockIdDesc = 'DISTRIBUTIONS_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - DistributionsStddevSampleAmountAsc = 'DISTRIBUTIONS_STDDEV_SAMPLE_AMOUNT_ASC', - DistributionsStddevSampleAmountDesc = 'DISTRIBUTIONS_STDDEV_SAMPLE_AMOUNT_DESC', - DistributionsStddevSampleAssetIdAsc = 'DISTRIBUTIONS_STDDEV_SAMPLE_ASSET_ID_ASC', - DistributionsStddevSampleAssetIdDesc = 'DISTRIBUTIONS_STDDEV_SAMPLE_ASSET_ID_DESC', - DistributionsStddevSampleCreatedAtAsc = 'DISTRIBUTIONS_STDDEV_SAMPLE_CREATED_AT_ASC', - DistributionsStddevSampleCreatedAtDesc = 'DISTRIBUTIONS_STDDEV_SAMPLE_CREATED_AT_DESC', - DistributionsStddevSampleCreatedBlockIdAsc = 'DISTRIBUTIONS_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - DistributionsStddevSampleCreatedBlockIdDesc = 'DISTRIBUTIONS_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - DistributionsStddevSampleCurrencyAsc = 'DISTRIBUTIONS_STDDEV_SAMPLE_CURRENCY_ASC', - DistributionsStddevSampleCurrencyDesc = 'DISTRIBUTIONS_STDDEV_SAMPLE_CURRENCY_DESC', - DistributionsStddevSampleExpiresAtAsc = 'DISTRIBUTIONS_STDDEV_SAMPLE_EXPIRES_AT_ASC', - DistributionsStddevSampleExpiresAtDesc = 'DISTRIBUTIONS_STDDEV_SAMPLE_EXPIRES_AT_DESC', - DistributionsStddevSampleIdentityIdAsc = 'DISTRIBUTIONS_STDDEV_SAMPLE_IDENTITY_ID_ASC', - DistributionsStddevSampleIdentityIdDesc = 'DISTRIBUTIONS_STDDEV_SAMPLE_IDENTITY_ID_DESC', - DistributionsStddevSampleIdAsc = 'DISTRIBUTIONS_STDDEV_SAMPLE_ID_ASC', - DistributionsStddevSampleIdDesc = 'DISTRIBUTIONS_STDDEV_SAMPLE_ID_DESC', - DistributionsStddevSampleLocalIdAsc = 'DISTRIBUTIONS_STDDEV_SAMPLE_LOCAL_ID_ASC', - DistributionsStddevSampleLocalIdDesc = 'DISTRIBUTIONS_STDDEV_SAMPLE_LOCAL_ID_DESC', - DistributionsStddevSamplePaymentAtAsc = 'DISTRIBUTIONS_STDDEV_SAMPLE_PAYMENT_AT_ASC', - DistributionsStddevSamplePaymentAtDesc = 'DISTRIBUTIONS_STDDEV_SAMPLE_PAYMENT_AT_DESC', - DistributionsStddevSamplePerShareAsc = 'DISTRIBUTIONS_STDDEV_SAMPLE_PER_SHARE_ASC', - DistributionsStddevSamplePerShareDesc = 'DISTRIBUTIONS_STDDEV_SAMPLE_PER_SHARE_DESC', - DistributionsStddevSamplePortfolioIdAsc = 'DISTRIBUTIONS_STDDEV_SAMPLE_PORTFOLIO_ID_ASC', - DistributionsStddevSamplePortfolioIdDesc = 'DISTRIBUTIONS_STDDEV_SAMPLE_PORTFOLIO_ID_DESC', - DistributionsStddevSampleRemainingAsc = 'DISTRIBUTIONS_STDDEV_SAMPLE_REMAINING_ASC', - DistributionsStddevSampleRemainingDesc = 'DISTRIBUTIONS_STDDEV_SAMPLE_REMAINING_DESC', - DistributionsStddevSampleTaxesAsc = 'DISTRIBUTIONS_STDDEV_SAMPLE_TAXES_ASC', - DistributionsStddevSampleTaxesDesc = 'DISTRIBUTIONS_STDDEV_SAMPLE_TAXES_DESC', - DistributionsStddevSampleUpdatedAtAsc = 'DISTRIBUTIONS_STDDEV_SAMPLE_UPDATED_AT_ASC', - DistributionsStddevSampleUpdatedAtDesc = 'DISTRIBUTIONS_STDDEV_SAMPLE_UPDATED_AT_DESC', - DistributionsStddevSampleUpdatedBlockIdAsc = 'DISTRIBUTIONS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - DistributionsStddevSampleUpdatedBlockIdDesc = 'DISTRIBUTIONS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - DistributionsSumAmountAsc = 'DISTRIBUTIONS_SUM_AMOUNT_ASC', - DistributionsSumAmountDesc = 'DISTRIBUTIONS_SUM_AMOUNT_DESC', - DistributionsSumAssetIdAsc = 'DISTRIBUTIONS_SUM_ASSET_ID_ASC', - DistributionsSumAssetIdDesc = 'DISTRIBUTIONS_SUM_ASSET_ID_DESC', - DistributionsSumCreatedAtAsc = 'DISTRIBUTIONS_SUM_CREATED_AT_ASC', - DistributionsSumCreatedAtDesc = 'DISTRIBUTIONS_SUM_CREATED_AT_DESC', - DistributionsSumCreatedBlockIdAsc = 'DISTRIBUTIONS_SUM_CREATED_BLOCK_ID_ASC', - DistributionsSumCreatedBlockIdDesc = 'DISTRIBUTIONS_SUM_CREATED_BLOCK_ID_DESC', - DistributionsSumCurrencyAsc = 'DISTRIBUTIONS_SUM_CURRENCY_ASC', - DistributionsSumCurrencyDesc = 'DISTRIBUTIONS_SUM_CURRENCY_DESC', - DistributionsSumExpiresAtAsc = 'DISTRIBUTIONS_SUM_EXPIRES_AT_ASC', - DistributionsSumExpiresAtDesc = 'DISTRIBUTIONS_SUM_EXPIRES_AT_DESC', - DistributionsSumIdentityIdAsc = 'DISTRIBUTIONS_SUM_IDENTITY_ID_ASC', - DistributionsSumIdentityIdDesc = 'DISTRIBUTIONS_SUM_IDENTITY_ID_DESC', - DistributionsSumIdAsc = 'DISTRIBUTIONS_SUM_ID_ASC', - DistributionsSumIdDesc = 'DISTRIBUTIONS_SUM_ID_DESC', - DistributionsSumLocalIdAsc = 'DISTRIBUTIONS_SUM_LOCAL_ID_ASC', - DistributionsSumLocalIdDesc = 'DISTRIBUTIONS_SUM_LOCAL_ID_DESC', - DistributionsSumPaymentAtAsc = 'DISTRIBUTIONS_SUM_PAYMENT_AT_ASC', - DistributionsSumPaymentAtDesc = 'DISTRIBUTIONS_SUM_PAYMENT_AT_DESC', - DistributionsSumPerShareAsc = 'DISTRIBUTIONS_SUM_PER_SHARE_ASC', - DistributionsSumPerShareDesc = 'DISTRIBUTIONS_SUM_PER_SHARE_DESC', - DistributionsSumPortfolioIdAsc = 'DISTRIBUTIONS_SUM_PORTFOLIO_ID_ASC', - DistributionsSumPortfolioIdDesc = 'DISTRIBUTIONS_SUM_PORTFOLIO_ID_DESC', - DistributionsSumRemainingAsc = 'DISTRIBUTIONS_SUM_REMAINING_ASC', - DistributionsSumRemainingDesc = 'DISTRIBUTIONS_SUM_REMAINING_DESC', - DistributionsSumTaxesAsc = 'DISTRIBUTIONS_SUM_TAXES_ASC', - DistributionsSumTaxesDesc = 'DISTRIBUTIONS_SUM_TAXES_DESC', - DistributionsSumUpdatedAtAsc = 'DISTRIBUTIONS_SUM_UPDATED_AT_ASC', - DistributionsSumUpdatedAtDesc = 'DISTRIBUTIONS_SUM_UPDATED_AT_DESC', - DistributionsSumUpdatedBlockIdAsc = 'DISTRIBUTIONS_SUM_UPDATED_BLOCK_ID_ASC', - DistributionsSumUpdatedBlockIdDesc = 'DISTRIBUTIONS_SUM_UPDATED_BLOCK_ID_DESC', - DistributionsVariancePopulationAmountAsc = 'DISTRIBUTIONS_VARIANCE_POPULATION_AMOUNT_ASC', - DistributionsVariancePopulationAmountDesc = 'DISTRIBUTIONS_VARIANCE_POPULATION_AMOUNT_DESC', - DistributionsVariancePopulationAssetIdAsc = 'DISTRIBUTIONS_VARIANCE_POPULATION_ASSET_ID_ASC', - DistributionsVariancePopulationAssetIdDesc = 'DISTRIBUTIONS_VARIANCE_POPULATION_ASSET_ID_DESC', - DistributionsVariancePopulationCreatedAtAsc = 'DISTRIBUTIONS_VARIANCE_POPULATION_CREATED_AT_ASC', - DistributionsVariancePopulationCreatedAtDesc = 'DISTRIBUTIONS_VARIANCE_POPULATION_CREATED_AT_DESC', - DistributionsVariancePopulationCreatedBlockIdAsc = 'DISTRIBUTIONS_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - DistributionsVariancePopulationCreatedBlockIdDesc = 'DISTRIBUTIONS_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - DistributionsVariancePopulationCurrencyAsc = 'DISTRIBUTIONS_VARIANCE_POPULATION_CURRENCY_ASC', - DistributionsVariancePopulationCurrencyDesc = 'DISTRIBUTIONS_VARIANCE_POPULATION_CURRENCY_DESC', - DistributionsVariancePopulationExpiresAtAsc = 'DISTRIBUTIONS_VARIANCE_POPULATION_EXPIRES_AT_ASC', - DistributionsVariancePopulationExpiresAtDesc = 'DISTRIBUTIONS_VARIANCE_POPULATION_EXPIRES_AT_DESC', - DistributionsVariancePopulationIdentityIdAsc = 'DISTRIBUTIONS_VARIANCE_POPULATION_IDENTITY_ID_ASC', - DistributionsVariancePopulationIdentityIdDesc = 'DISTRIBUTIONS_VARIANCE_POPULATION_IDENTITY_ID_DESC', - DistributionsVariancePopulationIdAsc = 'DISTRIBUTIONS_VARIANCE_POPULATION_ID_ASC', - DistributionsVariancePopulationIdDesc = 'DISTRIBUTIONS_VARIANCE_POPULATION_ID_DESC', - DistributionsVariancePopulationLocalIdAsc = 'DISTRIBUTIONS_VARIANCE_POPULATION_LOCAL_ID_ASC', - DistributionsVariancePopulationLocalIdDesc = 'DISTRIBUTIONS_VARIANCE_POPULATION_LOCAL_ID_DESC', - DistributionsVariancePopulationPaymentAtAsc = 'DISTRIBUTIONS_VARIANCE_POPULATION_PAYMENT_AT_ASC', - DistributionsVariancePopulationPaymentAtDesc = 'DISTRIBUTIONS_VARIANCE_POPULATION_PAYMENT_AT_DESC', - DistributionsVariancePopulationPerShareAsc = 'DISTRIBUTIONS_VARIANCE_POPULATION_PER_SHARE_ASC', - DistributionsVariancePopulationPerShareDesc = 'DISTRIBUTIONS_VARIANCE_POPULATION_PER_SHARE_DESC', - DistributionsVariancePopulationPortfolioIdAsc = 'DISTRIBUTIONS_VARIANCE_POPULATION_PORTFOLIO_ID_ASC', - DistributionsVariancePopulationPortfolioIdDesc = 'DISTRIBUTIONS_VARIANCE_POPULATION_PORTFOLIO_ID_DESC', - DistributionsVariancePopulationRemainingAsc = 'DISTRIBUTIONS_VARIANCE_POPULATION_REMAINING_ASC', - DistributionsVariancePopulationRemainingDesc = 'DISTRIBUTIONS_VARIANCE_POPULATION_REMAINING_DESC', - DistributionsVariancePopulationTaxesAsc = 'DISTRIBUTIONS_VARIANCE_POPULATION_TAXES_ASC', - DistributionsVariancePopulationTaxesDesc = 'DISTRIBUTIONS_VARIANCE_POPULATION_TAXES_DESC', - DistributionsVariancePopulationUpdatedAtAsc = 'DISTRIBUTIONS_VARIANCE_POPULATION_UPDATED_AT_ASC', - DistributionsVariancePopulationUpdatedAtDesc = 'DISTRIBUTIONS_VARIANCE_POPULATION_UPDATED_AT_DESC', - DistributionsVariancePopulationUpdatedBlockIdAsc = 'DISTRIBUTIONS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - DistributionsVariancePopulationUpdatedBlockIdDesc = 'DISTRIBUTIONS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - DistributionsVarianceSampleAmountAsc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_AMOUNT_ASC', - DistributionsVarianceSampleAmountDesc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_AMOUNT_DESC', - DistributionsVarianceSampleAssetIdAsc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_ASSET_ID_ASC', - DistributionsVarianceSampleAssetIdDesc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_ASSET_ID_DESC', - DistributionsVarianceSampleCreatedAtAsc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_CREATED_AT_ASC', - DistributionsVarianceSampleCreatedAtDesc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_CREATED_AT_DESC', - DistributionsVarianceSampleCreatedBlockIdAsc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - DistributionsVarianceSampleCreatedBlockIdDesc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - DistributionsVarianceSampleCurrencyAsc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_CURRENCY_ASC', - DistributionsVarianceSampleCurrencyDesc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_CURRENCY_DESC', - DistributionsVarianceSampleExpiresAtAsc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_EXPIRES_AT_ASC', - DistributionsVarianceSampleExpiresAtDesc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_EXPIRES_AT_DESC', - DistributionsVarianceSampleIdentityIdAsc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_IDENTITY_ID_ASC', - DistributionsVarianceSampleIdentityIdDesc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_IDENTITY_ID_DESC', - DistributionsVarianceSampleIdAsc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_ID_ASC', - DistributionsVarianceSampleIdDesc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_ID_DESC', - DistributionsVarianceSampleLocalIdAsc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_LOCAL_ID_ASC', - DistributionsVarianceSampleLocalIdDesc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_LOCAL_ID_DESC', - DistributionsVarianceSamplePaymentAtAsc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_PAYMENT_AT_ASC', - DistributionsVarianceSamplePaymentAtDesc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_PAYMENT_AT_DESC', - DistributionsVarianceSamplePerShareAsc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_PER_SHARE_ASC', - DistributionsVarianceSamplePerShareDesc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_PER_SHARE_DESC', - DistributionsVarianceSamplePortfolioIdAsc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_PORTFOLIO_ID_ASC', - DistributionsVarianceSamplePortfolioIdDesc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_PORTFOLIO_ID_DESC', - DistributionsVarianceSampleRemainingAsc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_REMAINING_ASC', - DistributionsVarianceSampleRemainingDesc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_REMAINING_DESC', - DistributionsVarianceSampleTaxesAsc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_TAXES_ASC', - DistributionsVarianceSampleTaxesDesc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_TAXES_DESC', - DistributionsVarianceSampleUpdatedAtAsc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_UPDATED_AT_ASC', - DistributionsVarianceSampleUpdatedAtDesc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_UPDATED_AT_DESC', - DistributionsVarianceSampleUpdatedBlockIdAsc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - DistributionsVarianceSampleUpdatedBlockIdDesc = 'DISTRIBUTIONS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - EventIdxAsc = 'EVENT_IDX_ASC', - EventIdxDesc = 'EVENT_IDX_DESC', - IdentityIdAsc = 'IDENTITY_ID_ASC', - IdentityIdDesc = 'IDENTITY_ID_DESC', - IdAsc = 'ID_ASC', - IdDesc = 'ID_DESC', - LegsByFromIdAverageAddressesAsc = 'LEGS_BY_FROM_ID_AVERAGE_ADDRESSES_ASC', - LegsByFromIdAverageAddressesDesc = 'LEGS_BY_FROM_ID_AVERAGE_ADDRESSES_DESC', - LegsByFromIdAverageAmountAsc = 'LEGS_BY_FROM_ID_AVERAGE_AMOUNT_ASC', - LegsByFromIdAverageAmountDesc = 'LEGS_BY_FROM_ID_AVERAGE_AMOUNT_DESC', - LegsByFromIdAverageAssetIdAsc = 'LEGS_BY_FROM_ID_AVERAGE_ASSET_ID_ASC', - LegsByFromIdAverageAssetIdDesc = 'LEGS_BY_FROM_ID_AVERAGE_ASSET_ID_DESC', - LegsByFromIdAverageCreatedAtAsc = 'LEGS_BY_FROM_ID_AVERAGE_CREATED_AT_ASC', - LegsByFromIdAverageCreatedAtDesc = 'LEGS_BY_FROM_ID_AVERAGE_CREATED_AT_DESC', - LegsByFromIdAverageCreatedBlockIdAsc = 'LEGS_BY_FROM_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - LegsByFromIdAverageCreatedBlockIdDesc = 'LEGS_BY_FROM_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - LegsByFromIdAverageFromIdAsc = 'LEGS_BY_FROM_ID_AVERAGE_FROM_ID_ASC', - LegsByFromIdAverageFromIdDesc = 'LEGS_BY_FROM_ID_AVERAGE_FROM_ID_DESC', - LegsByFromIdAverageIdAsc = 'LEGS_BY_FROM_ID_AVERAGE_ID_ASC', - LegsByFromIdAverageIdDesc = 'LEGS_BY_FROM_ID_AVERAGE_ID_DESC', - LegsByFromIdAverageInstructionIdAsc = 'LEGS_BY_FROM_ID_AVERAGE_INSTRUCTION_ID_ASC', - LegsByFromIdAverageInstructionIdDesc = 'LEGS_BY_FROM_ID_AVERAGE_INSTRUCTION_ID_DESC', - LegsByFromIdAverageLegTypeAsc = 'LEGS_BY_FROM_ID_AVERAGE_LEG_TYPE_ASC', - LegsByFromIdAverageLegTypeDesc = 'LEGS_BY_FROM_ID_AVERAGE_LEG_TYPE_DESC', - LegsByFromIdAverageNftIdsAsc = 'LEGS_BY_FROM_ID_AVERAGE_NFT_IDS_ASC', - LegsByFromIdAverageNftIdsDesc = 'LEGS_BY_FROM_ID_AVERAGE_NFT_IDS_DESC', - LegsByFromIdAverageSettlementIdAsc = 'LEGS_BY_FROM_ID_AVERAGE_SETTLEMENT_ID_ASC', - LegsByFromIdAverageSettlementIdDesc = 'LEGS_BY_FROM_ID_AVERAGE_SETTLEMENT_ID_DESC', - LegsByFromIdAverageToIdAsc = 'LEGS_BY_FROM_ID_AVERAGE_TO_ID_ASC', - LegsByFromIdAverageToIdDesc = 'LEGS_BY_FROM_ID_AVERAGE_TO_ID_DESC', - LegsByFromIdAverageUpdatedAtAsc = 'LEGS_BY_FROM_ID_AVERAGE_UPDATED_AT_ASC', - LegsByFromIdAverageUpdatedAtDesc = 'LEGS_BY_FROM_ID_AVERAGE_UPDATED_AT_DESC', - LegsByFromIdAverageUpdatedBlockIdAsc = 'LEGS_BY_FROM_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - LegsByFromIdAverageUpdatedBlockIdDesc = 'LEGS_BY_FROM_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - LegsByFromIdCountAsc = 'LEGS_BY_FROM_ID_COUNT_ASC', - LegsByFromIdCountDesc = 'LEGS_BY_FROM_ID_COUNT_DESC', - LegsByFromIdDistinctCountAddressesAsc = 'LEGS_BY_FROM_ID_DISTINCT_COUNT_ADDRESSES_ASC', - LegsByFromIdDistinctCountAddressesDesc = 'LEGS_BY_FROM_ID_DISTINCT_COUNT_ADDRESSES_DESC', - LegsByFromIdDistinctCountAmountAsc = 'LEGS_BY_FROM_ID_DISTINCT_COUNT_AMOUNT_ASC', - LegsByFromIdDistinctCountAmountDesc = 'LEGS_BY_FROM_ID_DISTINCT_COUNT_AMOUNT_DESC', - LegsByFromIdDistinctCountAssetIdAsc = 'LEGS_BY_FROM_ID_DISTINCT_COUNT_ASSET_ID_ASC', - LegsByFromIdDistinctCountAssetIdDesc = 'LEGS_BY_FROM_ID_DISTINCT_COUNT_ASSET_ID_DESC', - LegsByFromIdDistinctCountCreatedAtAsc = 'LEGS_BY_FROM_ID_DISTINCT_COUNT_CREATED_AT_ASC', - LegsByFromIdDistinctCountCreatedAtDesc = 'LEGS_BY_FROM_ID_DISTINCT_COUNT_CREATED_AT_DESC', - LegsByFromIdDistinctCountCreatedBlockIdAsc = 'LEGS_BY_FROM_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - LegsByFromIdDistinctCountCreatedBlockIdDesc = 'LEGS_BY_FROM_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - LegsByFromIdDistinctCountFromIdAsc = 'LEGS_BY_FROM_ID_DISTINCT_COUNT_FROM_ID_ASC', - LegsByFromIdDistinctCountFromIdDesc = 'LEGS_BY_FROM_ID_DISTINCT_COUNT_FROM_ID_DESC', - LegsByFromIdDistinctCountIdAsc = 'LEGS_BY_FROM_ID_DISTINCT_COUNT_ID_ASC', - LegsByFromIdDistinctCountIdDesc = 'LEGS_BY_FROM_ID_DISTINCT_COUNT_ID_DESC', - LegsByFromIdDistinctCountInstructionIdAsc = 'LEGS_BY_FROM_ID_DISTINCT_COUNT_INSTRUCTION_ID_ASC', - LegsByFromIdDistinctCountInstructionIdDesc = 'LEGS_BY_FROM_ID_DISTINCT_COUNT_INSTRUCTION_ID_DESC', - LegsByFromIdDistinctCountLegTypeAsc = 'LEGS_BY_FROM_ID_DISTINCT_COUNT_LEG_TYPE_ASC', - LegsByFromIdDistinctCountLegTypeDesc = 'LEGS_BY_FROM_ID_DISTINCT_COUNT_LEG_TYPE_DESC', - LegsByFromIdDistinctCountNftIdsAsc = 'LEGS_BY_FROM_ID_DISTINCT_COUNT_NFT_IDS_ASC', - LegsByFromIdDistinctCountNftIdsDesc = 'LEGS_BY_FROM_ID_DISTINCT_COUNT_NFT_IDS_DESC', - LegsByFromIdDistinctCountSettlementIdAsc = 'LEGS_BY_FROM_ID_DISTINCT_COUNT_SETTLEMENT_ID_ASC', - LegsByFromIdDistinctCountSettlementIdDesc = 'LEGS_BY_FROM_ID_DISTINCT_COUNT_SETTLEMENT_ID_DESC', - LegsByFromIdDistinctCountToIdAsc = 'LEGS_BY_FROM_ID_DISTINCT_COUNT_TO_ID_ASC', - LegsByFromIdDistinctCountToIdDesc = 'LEGS_BY_FROM_ID_DISTINCT_COUNT_TO_ID_DESC', - LegsByFromIdDistinctCountUpdatedAtAsc = 'LEGS_BY_FROM_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - LegsByFromIdDistinctCountUpdatedAtDesc = 'LEGS_BY_FROM_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - LegsByFromIdDistinctCountUpdatedBlockIdAsc = 'LEGS_BY_FROM_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - LegsByFromIdDistinctCountUpdatedBlockIdDesc = 'LEGS_BY_FROM_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - LegsByFromIdMaxAddressesAsc = 'LEGS_BY_FROM_ID_MAX_ADDRESSES_ASC', - LegsByFromIdMaxAddressesDesc = 'LEGS_BY_FROM_ID_MAX_ADDRESSES_DESC', - LegsByFromIdMaxAmountAsc = 'LEGS_BY_FROM_ID_MAX_AMOUNT_ASC', - LegsByFromIdMaxAmountDesc = 'LEGS_BY_FROM_ID_MAX_AMOUNT_DESC', - LegsByFromIdMaxAssetIdAsc = 'LEGS_BY_FROM_ID_MAX_ASSET_ID_ASC', - LegsByFromIdMaxAssetIdDesc = 'LEGS_BY_FROM_ID_MAX_ASSET_ID_DESC', - LegsByFromIdMaxCreatedAtAsc = 'LEGS_BY_FROM_ID_MAX_CREATED_AT_ASC', - LegsByFromIdMaxCreatedAtDesc = 'LEGS_BY_FROM_ID_MAX_CREATED_AT_DESC', - LegsByFromIdMaxCreatedBlockIdAsc = 'LEGS_BY_FROM_ID_MAX_CREATED_BLOCK_ID_ASC', - LegsByFromIdMaxCreatedBlockIdDesc = 'LEGS_BY_FROM_ID_MAX_CREATED_BLOCK_ID_DESC', - LegsByFromIdMaxFromIdAsc = 'LEGS_BY_FROM_ID_MAX_FROM_ID_ASC', - LegsByFromIdMaxFromIdDesc = 'LEGS_BY_FROM_ID_MAX_FROM_ID_DESC', - LegsByFromIdMaxIdAsc = 'LEGS_BY_FROM_ID_MAX_ID_ASC', - LegsByFromIdMaxIdDesc = 'LEGS_BY_FROM_ID_MAX_ID_DESC', - LegsByFromIdMaxInstructionIdAsc = 'LEGS_BY_FROM_ID_MAX_INSTRUCTION_ID_ASC', - LegsByFromIdMaxInstructionIdDesc = 'LEGS_BY_FROM_ID_MAX_INSTRUCTION_ID_DESC', - LegsByFromIdMaxLegTypeAsc = 'LEGS_BY_FROM_ID_MAX_LEG_TYPE_ASC', - LegsByFromIdMaxLegTypeDesc = 'LEGS_BY_FROM_ID_MAX_LEG_TYPE_DESC', - LegsByFromIdMaxNftIdsAsc = 'LEGS_BY_FROM_ID_MAX_NFT_IDS_ASC', - LegsByFromIdMaxNftIdsDesc = 'LEGS_BY_FROM_ID_MAX_NFT_IDS_DESC', - LegsByFromIdMaxSettlementIdAsc = 'LEGS_BY_FROM_ID_MAX_SETTLEMENT_ID_ASC', - LegsByFromIdMaxSettlementIdDesc = 'LEGS_BY_FROM_ID_MAX_SETTLEMENT_ID_DESC', - LegsByFromIdMaxToIdAsc = 'LEGS_BY_FROM_ID_MAX_TO_ID_ASC', - LegsByFromIdMaxToIdDesc = 'LEGS_BY_FROM_ID_MAX_TO_ID_DESC', - LegsByFromIdMaxUpdatedAtAsc = 'LEGS_BY_FROM_ID_MAX_UPDATED_AT_ASC', - LegsByFromIdMaxUpdatedAtDesc = 'LEGS_BY_FROM_ID_MAX_UPDATED_AT_DESC', - LegsByFromIdMaxUpdatedBlockIdAsc = 'LEGS_BY_FROM_ID_MAX_UPDATED_BLOCK_ID_ASC', - LegsByFromIdMaxUpdatedBlockIdDesc = 'LEGS_BY_FROM_ID_MAX_UPDATED_BLOCK_ID_DESC', - LegsByFromIdMinAddressesAsc = 'LEGS_BY_FROM_ID_MIN_ADDRESSES_ASC', - LegsByFromIdMinAddressesDesc = 'LEGS_BY_FROM_ID_MIN_ADDRESSES_DESC', - LegsByFromIdMinAmountAsc = 'LEGS_BY_FROM_ID_MIN_AMOUNT_ASC', - LegsByFromIdMinAmountDesc = 'LEGS_BY_FROM_ID_MIN_AMOUNT_DESC', - LegsByFromIdMinAssetIdAsc = 'LEGS_BY_FROM_ID_MIN_ASSET_ID_ASC', - LegsByFromIdMinAssetIdDesc = 'LEGS_BY_FROM_ID_MIN_ASSET_ID_DESC', - LegsByFromIdMinCreatedAtAsc = 'LEGS_BY_FROM_ID_MIN_CREATED_AT_ASC', - LegsByFromIdMinCreatedAtDesc = 'LEGS_BY_FROM_ID_MIN_CREATED_AT_DESC', - LegsByFromIdMinCreatedBlockIdAsc = 'LEGS_BY_FROM_ID_MIN_CREATED_BLOCK_ID_ASC', - LegsByFromIdMinCreatedBlockIdDesc = 'LEGS_BY_FROM_ID_MIN_CREATED_BLOCK_ID_DESC', - LegsByFromIdMinFromIdAsc = 'LEGS_BY_FROM_ID_MIN_FROM_ID_ASC', - LegsByFromIdMinFromIdDesc = 'LEGS_BY_FROM_ID_MIN_FROM_ID_DESC', - LegsByFromIdMinIdAsc = 'LEGS_BY_FROM_ID_MIN_ID_ASC', - LegsByFromIdMinIdDesc = 'LEGS_BY_FROM_ID_MIN_ID_DESC', - LegsByFromIdMinInstructionIdAsc = 'LEGS_BY_FROM_ID_MIN_INSTRUCTION_ID_ASC', - LegsByFromIdMinInstructionIdDesc = 'LEGS_BY_FROM_ID_MIN_INSTRUCTION_ID_DESC', - LegsByFromIdMinLegTypeAsc = 'LEGS_BY_FROM_ID_MIN_LEG_TYPE_ASC', - LegsByFromIdMinLegTypeDesc = 'LEGS_BY_FROM_ID_MIN_LEG_TYPE_DESC', - LegsByFromIdMinNftIdsAsc = 'LEGS_BY_FROM_ID_MIN_NFT_IDS_ASC', - LegsByFromIdMinNftIdsDesc = 'LEGS_BY_FROM_ID_MIN_NFT_IDS_DESC', - LegsByFromIdMinSettlementIdAsc = 'LEGS_BY_FROM_ID_MIN_SETTLEMENT_ID_ASC', - LegsByFromIdMinSettlementIdDesc = 'LEGS_BY_FROM_ID_MIN_SETTLEMENT_ID_DESC', - LegsByFromIdMinToIdAsc = 'LEGS_BY_FROM_ID_MIN_TO_ID_ASC', - LegsByFromIdMinToIdDesc = 'LEGS_BY_FROM_ID_MIN_TO_ID_DESC', - LegsByFromIdMinUpdatedAtAsc = 'LEGS_BY_FROM_ID_MIN_UPDATED_AT_ASC', - LegsByFromIdMinUpdatedAtDesc = 'LEGS_BY_FROM_ID_MIN_UPDATED_AT_DESC', - LegsByFromIdMinUpdatedBlockIdAsc = 'LEGS_BY_FROM_ID_MIN_UPDATED_BLOCK_ID_ASC', - LegsByFromIdMinUpdatedBlockIdDesc = 'LEGS_BY_FROM_ID_MIN_UPDATED_BLOCK_ID_DESC', - LegsByFromIdStddevPopulationAddressesAsc = 'LEGS_BY_FROM_ID_STDDEV_POPULATION_ADDRESSES_ASC', - LegsByFromIdStddevPopulationAddressesDesc = 'LEGS_BY_FROM_ID_STDDEV_POPULATION_ADDRESSES_DESC', - LegsByFromIdStddevPopulationAmountAsc = 'LEGS_BY_FROM_ID_STDDEV_POPULATION_AMOUNT_ASC', - LegsByFromIdStddevPopulationAmountDesc = 'LEGS_BY_FROM_ID_STDDEV_POPULATION_AMOUNT_DESC', - LegsByFromIdStddevPopulationAssetIdAsc = 'LEGS_BY_FROM_ID_STDDEV_POPULATION_ASSET_ID_ASC', - LegsByFromIdStddevPopulationAssetIdDesc = 'LEGS_BY_FROM_ID_STDDEV_POPULATION_ASSET_ID_DESC', - LegsByFromIdStddevPopulationCreatedAtAsc = 'LEGS_BY_FROM_ID_STDDEV_POPULATION_CREATED_AT_ASC', - LegsByFromIdStddevPopulationCreatedAtDesc = 'LEGS_BY_FROM_ID_STDDEV_POPULATION_CREATED_AT_DESC', - LegsByFromIdStddevPopulationCreatedBlockIdAsc = 'LEGS_BY_FROM_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - LegsByFromIdStddevPopulationCreatedBlockIdDesc = 'LEGS_BY_FROM_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - LegsByFromIdStddevPopulationFromIdAsc = 'LEGS_BY_FROM_ID_STDDEV_POPULATION_FROM_ID_ASC', - LegsByFromIdStddevPopulationFromIdDesc = 'LEGS_BY_FROM_ID_STDDEV_POPULATION_FROM_ID_DESC', - LegsByFromIdStddevPopulationIdAsc = 'LEGS_BY_FROM_ID_STDDEV_POPULATION_ID_ASC', - LegsByFromIdStddevPopulationIdDesc = 'LEGS_BY_FROM_ID_STDDEV_POPULATION_ID_DESC', - LegsByFromIdStddevPopulationInstructionIdAsc = 'LEGS_BY_FROM_ID_STDDEV_POPULATION_INSTRUCTION_ID_ASC', - LegsByFromIdStddevPopulationInstructionIdDesc = 'LEGS_BY_FROM_ID_STDDEV_POPULATION_INSTRUCTION_ID_DESC', - LegsByFromIdStddevPopulationLegTypeAsc = 'LEGS_BY_FROM_ID_STDDEV_POPULATION_LEG_TYPE_ASC', - LegsByFromIdStddevPopulationLegTypeDesc = 'LEGS_BY_FROM_ID_STDDEV_POPULATION_LEG_TYPE_DESC', - LegsByFromIdStddevPopulationNftIdsAsc = 'LEGS_BY_FROM_ID_STDDEV_POPULATION_NFT_IDS_ASC', - LegsByFromIdStddevPopulationNftIdsDesc = 'LEGS_BY_FROM_ID_STDDEV_POPULATION_NFT_IDS_DESC', - LegsByFromIdStddevPopulationSettlementIdAsc = 'LEGS_BY_FROM_ID_STDDEV_POPULATION_SETTLEMENT_ID_ASC', - LegsByFromIdStddevPopulationSettlementIdDesc = 'LEGS_BY_FROM_ID_STDDEV_POPULATION_SETTLEMENT_ID_DESC', - LegsByFromIdStddevPopulationToIdAsc = 'LEGS_BY_FROM_ID_STDDEV_POPULATION_TO_ID_ASC', - LegsByFromIdStddevPopulationToIdDesc = 'LEGS_BY_FROM_ID_STDDEV_POPULATION_TO_ID_DESC', - LegsByFromIdStddevPopulationUpdatedAtAsc = 'LEGS_BY_FROM_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - LegsByFromIdStddevPopulationUpdatedAtDesc = 'LEGS_BY_FROM_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - LegsByFromIdStddevPopulationUpdatedBlockIdAsc = 'LEGS_BY_FROM_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - LegsByFromIdStddevPopulationUpdatedBlockIdDesc = 'LEGS_BY_FROM_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - LegsByFromIdStddevSampleAddressesAsc = 'LEGS_BY_FROM_ID_STDDEV_SAMPLE_ADDRESSES_ASC', - LegsByFromIdStddevSampleAddressesDesc = 'LEGS_BY_FROM_ID_STDDEV_SAMPLE_ADDRESSES_DESC', - LegsByFromIdStddevSampleAmountAsc = 'LEGS_BY_FROM_ID_STDDEV_SAMPLE_AMOUNT_ASC', - LegsByFromIdStddevSampleAmountDesc = 'LEGS_BY_FROM_ID_STDDEV_SAMPLE_AMOUNT_DESC', - LegsByFromIdStddevSampleAssetIdAsc = 'LEGS_BY_FROM_ID_STDDEV_SAMPLE_ASSET_ID_ASC', - LegsByFromIdStddevSampleAssetIdDesc = 'LEGS_BY_FROM_ID_STDDEV_SAMPLE_ASSET_ID_DESC', - LegsByFromIdStddevSampleCreatedAtAsc = 'LEGS_BY_FROM_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - LegsByFromIdStddevSampleCreatedAtDesc = 'LEGS_BY_FROM_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - LegsByFromIdStddevSampleCreatedBlockIdAsc = 'LEGS_BY_FROM_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - LegsByFromIdStddevSampleCreatedBlockIdDesc = 'LEGS_BY_FROM_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - LegsByFromIdStddevSampleFromIdAsc = 'LEGS_BY_FROM_ID_STDDEV_SAMPLE_FROM_ID_ASC', - LegsByFromIdStddevSampleFromIdDesc = 'LEGS_BY_FROM_ID_STDDEV_SAMPLE_FROM_ID_DESC', - LegsByFromIdStddevSampleIdAsc = 'LEGS_BY_FROM_ID_STDDEV_SAMPLE_ID_ASC', - LegsByFromIdStddevSampleIdDesc = 'LEGS_BY_FROM_ID_STDDEV_SAMPLE_ID_DESC', - LegsByFromIdStddevSampleInstructionIdAsc = 'LEGS_BY_FROM_ID_STDDEV_SAMPLE_INSTRUCTION_ID_ASC', - LegsByFromIdStddevSampleInstructionIdDesc = 'LEGS_BY_FROM_ID_STDDEV_SAMPLE_INSTRUCTION_ID_DESC', - LegsByFromIdStddevSampleLegTypeAsc = 'LEGS_BY_FROM_ID_STDDEV_SAMPLE_LEG_TYPE_ASC', - LegsByFromIdStddevSampleLegTypeDesc = 'LEGS_BY_FROM_ID_STDDEV_SAMPLE_LEG_TYPE_DESC', - LegsByFromIdStddevSampleNftIdsAsc = 'LEGS_BY_FROM_ID_STDDEV_SAMPLE_NFT_IDS_ASC', - LegsByFromIdStddevSampleNftIdsDesc = 'LEGS_BY_FROM_ID_STDDEV_SAMPLE_NFT_IDS_DESC', - LegsByFromIdStddevSampleSettlementIdAsc = 'LEGS_BY_FROM_ID_STDDEV_SAMPLE_SETTLEMENT_ID_ASC', - LegsByFromIdStddevSampleSettlementIdDesc = 'LEGS_BY_FROM_ID_STDDEV_SAMPLE_SETTLEMENT_ID_DESC', - LegsByFromIdStddevSampleToIdAsc = 'LEGS_BY_FROM_ID_STDDEV_SAMPLE_TO_ID_ASC', - LegsByFromIdStddevSampleToIdDesc = 'LEGS_BY_FROM_ID_STDDEV_SAMPLE_TO_ID_DESC', - LegsByFromIdStddevSampleUpdatedAtAsc = 'LEGS_BY_FROM_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - LegsByFromIdStddevSampleUpdatedAtDesc = 'LEGS_BY_FROM_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - LegsByFromIdStddevSampleUpdatedBlockIdAsc = 'LEGS_BY_FROM_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - LegsByFromIdStddevSampleUpdatedBlockIdDesc = 'LEGS_BY_FROM_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - LegsByFromIdSumAddressesAsc = 'LEGS_BY_FROM_ID_SUM_ADDRESSES_ASC', - LegsByFromIdSumAddressesDesc = 'LEGS_BY_FROM_ID_SUM_ADDRESSES_DESC', - LegsByFromIdSumAmountAsc = 'LEGS_BY_FROM_ID_SUM_AMOUNT_ASC', - LegsByFromIdSumAmountDesc = 'LEGS_BY_FROM_ID_SUM_AMOUNT_DESC', - LegsByFromIdSumAssetIdAsc = 'LEGS_BY_FROM_ID_SUM_ASSET_ID_ASC', - LegsByFromIdSumAssetIdDesc = 'LEGS_BY_FROM_ID_SUM_ASSET_ID_DESC', - LegsByFromIdSumCreatedAtAsc = 'LEGS_BY_FROM_ID_SUM_CREATED_AT_ASC', - LegsByFromIdSumCreatedAtDesc = 'LEGS_BY_FROM_ID_SUM_CREATED_AT_DESC', - LegsByFromIdSumCreatedBlockIdAsc = 'LEGS_BY_FROM_ID_SUM_CREATED_BLOCK_ID_ASC', - LegsByFromIdSumCreatedBlockIdDesc = 'LEGS_BY_FROM_ID_SUM_CREATED_BLOCK_ID_DESC', - LegsByFromIdSumFromIdAsc = 'LEGS_BY_FROM_ID_SUM_FROM_ID_ASC', - LegsByFromIdSumFromIdDesc = 'LEGS_BY_FROM_ID_SUM_FROM_ID_DESC', - LegsByFromIdSumIdAsc = 'LEGS_BY_FROM_ID_SUM_ID_ASC', - LegsByFromIdSumIdDesc = 'LEGS_BY_FROM_ID_SUM_ID_DESC', - LegsByFromIdSumInstructionIdAsc = 'LEGS_BY_FROM_ID_SUM_INSTRUCTION_ID_ASC', - LegsByFromIdSumInstructionIdDesc = 'LEGS_BY_FROM_ID_SUM_INSTRUCTION_ID_DESC', - LegsByFromIdSumLegTypeAsc = 'LEGS_BY_FROM_ID_SUM_LEG_TYPE_ASC', - LegsByFromIdSumLegTypeDesc = 'LEGS_BY_FROM_ID_SUM_LEG_TYPE_DESC', - LegsByFromIdSumNftIdsAsc = 'LEGS_BY_FROM_ID_SUM_NFT_IDS_ASC', - LegsByFromIdSumNftIdsDesc = 'LEGS_BY_FROM_ID_SUM_NFT_IDS_DESC', - LegsByFromIdSumSettlementIdAsc = 'LEGS_BY_FROM_ID_SUM_SETTLEMENT_ID_ASC', - LegsByFromIdSumSettlementIdDesc = 'LEGS_BY_FROM_ID_SUM_SETTLEMENT_ID_DESC', - LegsByFromIdSumToIdAsc = 'LEGS_BY_FROM_ID_SUM_TO_ID_ASC', - LegsByFromIdSumToIdDesc = 'LEGS_BY_FROM_ID_SUM_TO_ID_DESC', - LegsByFromIdSumUpdatedAtAsc = 'LEGS_BY_FROM_ID_SUM_UPDATED_AT_ASC', - LegsByFromIdSumUpdatedAtDesc = 'LEGS_BY_FROM_ID_SUM_UPDATED_AT_DESC', - LegsByFromIdSumUpdatedBlockIdAsc = 'LEGS_BY_FROM_ID_SUM_UPDATED_BLOCK_ID_ASC', - LegsByFromIdSumUpdatedBlockIdDesc = 'LEGS_BY_FROM_ID_SUM_UPDATED_BLOCK_ID_DESC', - LegsByFromIdVariancePopulationAddressesAsc = 'LEGS_BY_FROM_ID_VARIANCE_POPULATION_ADDRESSES_ASC', - LegsByFromIdVariancePopulationAddressesDesc = 'LEGS_BY_FROM_ID_VARIANCE_POPULATION_ADDRESSES_DESC', - LegsByFromIdVariancePopulationAmountAsc = 'LEGS_BY_FROM_ID_VARIANCE_POPULATION_AMOUNT_ASC', - LegsByFromIdVariancePopulationAmountDesc = 'LEGS_BY_FROM_ID_VARIANCE_POPULATION_AMOUNT_DESC', - LegsByFromIdVariancePopulationAssetIdAsc = 'LEGS_BY_FROM_ID_VARIANCE_POPULATION_ASSET_ID_ASC', - LegsByFromIdVariancePopulationAssetIdDesc = 'LEGS_BY_FROM_ID_VARIANCE_POPULATION_ASSET_ID_DESC', - LegsByFromIdVariancePopulationCreatedAtAsc = 'LEGS_BY_FROM_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - LegsByFromIdVariancePopulationCreatedAtDesc = 'LEGS_BY_FROM_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - LegsByFromIdVariancePopulationCreatedBlockIdAsc = 'LEGS_BY_FROM_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - LegsByFromIdVariancePopulationCreatedBlockIdDesc = 'LEGS_BY_FROM_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - LegsByFromIdVariancePopulationFromIdAsc = 'LEGS_BY_FROM_ID_VARIANCE_POPULATION_FROM_ID_ASC', - LegsByFromIdVariancePopulationFromIdDesc = 'LEGS_BY_FROM_ID_VARIANCE_POPULATION_FROM_ID_DESC', - LegsByFromIdVariancePopulationIdAsc = 'LEGS_BY_FROM_ID_VARIANCE_POPULATION_ID_ASC', - LegsByFromIdVariancePopulationIdDesc = 'LEGS_BY_FROM_ID_VARIANCE_POPULATION_ID_DESC', - LegsByFromIdVariancePopulationInstructionIdAsc = 'LEGS_BY_FROM_ID_VARIANCE_POPULATION_INSTRUCTION_ID_ASC', - LegsByFromIdVariancePopulationInstructionIdDesc = 'LEGS_BY_FROM_ID_VARIANCE_POPULATION_INSTRUCTION_ID_DESC', - LegsByFromIdVariancePopulationLegTypeAsc = 'LEGS_BY_FROM_ID_VARIANCE_POPULATION_LEG_TYPE_ASC', - LegsByFromIdVariancePopulationLegTypeDesc = 'LEGS_BY_FROM_ID_VARIANCE_POPULATION_LEG_TYPE_DESC', - LegsByFromIdVariancePopulationNftIdsAsc = 'LEGS_BY_FROM_ID_VARIANCE_POPULATION_NFT_IDS_ASC', - LegsByFromIdVariancePopulationNftIdsDesc = 'LEGS_BY_FROM_ID_VARIANCE_POPULATION_NFT_IDS_DESC', - LegsByFromIdVariancePopulationSettlementIdAsc = 'LEGS_BY_FROM_ID_VARIANCE_POPULATION_SETTLEMENT_ID_ASC', - LegsByFromIdVariancePopulationSettlementIdDesc = 'LEGS_BY_FROM_ID_VARIANCE_POPULATION_SETTLEMENT_ID_DESC', - LegsByFromIdVariancePopulationToIdAsc = 'LEGS_BY_FROM_ID_VARIANCE_POPULATION_TO_ID_ASC', - LegsByFromIdVariancePopulationToIdDesc = 'LEGS_BY_FROM_ID_VARIANCE_POPULATION_TO_ID_DESC', - LegsByFromIdVariancePopulationUpdatedAtAsc = 'LEGS_BY_FROM_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - LegsByFromIdVariancePopulationUpdatedAtDesc = 'LEGS_BY_FROM_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - LegsByFromIdVariancePopulationUpdatedBlockIdAsc = 'LEGS_BY_FROM_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - LegsByFromIdVariancePopulationUpdatedBlockIdDesc = 'LEGS_BY_FROM_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - LegsByFromIdVarianceSampleAddressesAsc = 'LEGS_BY_FROM_ID_VARIANCE_SAMPLE_ADDRESSES_ASC', - LegsByFromIdVarianceSampleAddressesDesc = 'LEGS_BY_FROM_ID_VARIANCE_SAMPLE_ADDRESSES_DESC', - LegsByFromIdVarianceSampleAmountAsc = 'LEGS_BY_FROM_ID_VARIANCE_SAMPLE_AMOUNT_ASC', - LegsByFromIdVarianceSampleAmountDesc = 'LEGS_BY_FROM_ID_VARIANCE_SAMPLE_AMOUNT_DESC', - LegsByFromIdVarianceSampleAssetIdAsc = 'LEGS_BY_FROM_ID_VARIANCE_SAMPLE_ASSET_ID_ASC', - LegsByFromIdVarianceSampleAssetIdDesc = 'LEGS_BY_FROM_ID_VARIANCE_SAMPLE_ASSET_ID_DESC', - LegsByFromIdVarianceSampleCreatedAtAsc = 'LEGS_BY_FROM_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - LegsByFromIdVarianceSampleCreatedAtDesc = 'LEGS_BY_FROM_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - LegsByFromIdVarianceSampleCreatedBlockIdAsc = 'LEGS_BY_FROM_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - LegsByFromIdVarianceSampleCreatedBlockIdDesc = 'LEGS_BY_FROM_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - LegsByFromIdVarianceSampleFromIdAsc = 'LEGS_BY_FROM_ID_VARIANCE_SAMPLE_FROM_ID_ASC', - LegsByFromIdVarianceSampleFromIdDesc = 'LEGS_BY_FROM_ID_VARIANCE_SAMPLE_FROM_ID_DESC', - LegsByFromIdVarianceSampleIdAsc = 'LEGS_BY_FROM_ID_VARIANCE_SAMPLE_ID_ASC', - LegsByFromIdVarianceSampleIdDesc = 'LEGS_BY_FROM_ID_VARIANCE_SAMPLE_ID_DESC', - LegsByFromIdVarianceSampleInstructionIdAsc = 'LEGS_BY_FROM_ID_VARIANCE_SAMPLE_INSTRUCTION_ID_ASC', - LegsByFromIdVarianceSampleInstructionIdDesc = 'LEGS_BY_FROM_ID_VARIANCE_SAMPLE_INSTRUCTION_ID_DESC', - LegsByFromIdVarianceSampleLegTypeAsc = 'LEGS_BY_FROM_ID_VARIANCE_SAMPLE_LEG_TYPE_ASC', - LegsByFromIdVarianceSampleLegTypeDesc = 'LEGS_BY_FROM_ID_VARIANCE_SAMPLE_LEG_TYPE_DESC', - LegsByFromIdVarianceSampleNftIdsAsc = 'LEGS_BY_FROM_ID_VARIANCE_SAMPLE_NFT_IDS_ASC', - LegsByFromIdVarianceSampleNftIdsDesc = 'LEGS_BY_FROM_ID_VARIANCE_SAMPLE_NFT_IDS_DESC', - LegsByFromIdVarianceSampleSettlementIdAsc = 'LEGS_BY_FROM_ID_VARIANCE_SAMPLE_SETTLEMENT_ID_ASC', - LegsByFromIdVarianceSampleSettlementIdDesc = 'LEGS_BY_FROM_ID_VARIANCE_SAMPLE_SETTLEMENT_ID_DESC', - LegsByFromIdVarianceSampleToIdAsc = 'LEGS_BY_FROM_ID_VARIANCE_SAMPLE_TO_ID_ASC', - LegsByFromIdVarianceSampleToIdDesc = 'LEGS_BY_FROM_ID_VARIANCE_SAMPLE_TO_ID_DESC', - LegsByFromIdVarianceSampleUpdatedAtAsc = 'LEGS_BY_FROM_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - LegsByFromIdVarianceSampleUpdatedAtDesc = 'LEGS_BY_FROM_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - LegsByFromIdVarianceSampleUpdatedBlockIdAsc = 'LEGS_BY_FROM_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - LegsByFromIdVarianceSampleUpdatedBlockIdDesc = 'LEGS_BY_FROM_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - LegsByToIdAverageAddressesAsc = 'LEGS_BY_TO_ID_AVERAGE_ADDRESSES_ASC', - LegsByToIdAverageAddressesDesc = 'LEGS_BY_TO_ID_AVERAGE_ADDRESSES_DESC', - LegsByToIdAverageAmountAsc = 'LEGS_BY_TO_ID_AVERAGE_AMOUNT_ASC', - LegsByToIdAverageAmountDesc = 'LEGS_BY_TO_ID_AVERAGE_AMOUNT_DESC', - LegsByToIdAverageAssetIdAsc = 'LEGS_BY_TO_ID_AVERAGE_ASSET_ID_ASC', - LegsByToIdAverageAssetIdDesc = 'LEGS_BY_TO_ID_AVERAGE_ASSET_ID_DESC', - LegsByToIdAverageCreatedAtAsc = 'LEGS_BY_TO_ID_AVERAGE_CREATED_AT_ASC', - LegsByToIdAverageCreatedAtDesc = 'LEGS_BY_TO_ID_AVERAGE_CREATED_AT_DESC', - LegsByToIdAverageCreatedBlockIdAsc = 'LEGS_BY_TO_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - LegsByToIdAverageCreatedBlockIdDesc = 'LEGS_BY_TO_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - LegsByToIdAverageFromIdAsc = 'LEGS_BY_TO_ID_AVERAGE_FROM_ID_ASC', - LegsByToIdAverageFromIdDesc = 'LEGS_BY_TO_ID_AVERAGE_FROM_ID_DESC', - LegsByToIdAverageIdAsc = 'LEGS_BY_TO_ID_AVERAGE_ID_ASC', - LegsByToIdAverageIdDesc = 'LEGS_BY_TO_ID_AVERAGE_ID_DESC', - LegsByToIdAverageInstructionIdAsc = 'LEGS_BY_TO_ID_AVERAGE_INSTRUCTION_ID_ASC', - LegsByToIdAverageInstructionIdDesc = 'LEGS_BY_TO_ID_AVERAGE_INSTRUCTION_ID_DESC', - LegsByToIdAverageLegTypeAsc = 'LEGS_BY_TO_ID_AVERAGE_LEG_TYPE_ASC', - LegsByToIdAverageLegTypeDesc = 'LEGS_BY_TO_ID_AVERAGE_LEG_TYPE_DESC', - LegsByToIdAverageNftIdsAsc = 'LEGS_BY_TO_ID_AVERAGE_NFT_IDS_ASC', - LegsByToIdAverageNftIdsDesc = 'LEGS_BY_TO_ID_AVERAGE_NFT_IDS_DESC', - LegsByToIdAverageSettlementIdAsc = 'LEGS_BY_TO_ID_AVERAGE_SETTLEMENT_ID_ASC', - LegsByToIdAverageSettlementIdDesc = 'LEGS_BY_TO_ID_AVERAGE_SETTLEMENT_ID_DESC', - LegsByToIdAverageToIdAsc = 'LEGS_BY_TO_ID_AVERAGE_TO_ID_ASC', - LegsByToIdAverageToIdDesc = 'LEGS_BY_TO_ID_AVERAGE_TO_ID_DESC', - LegsByToIdAverageUpdatedAtAsc = 'LEGS_BY_TO_ID_AVERAGE_UPDATED_AT_ASC', - LegsByToIdAverageUpdatedAtDesc = 'LEGS_BY_TO_ID_AVERAGE_UPDATED_AT_DESC', - LegsByToIdAverageUpdatedBlockIdAsc = 'LEGS_BY_TO_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - LegsByToIdAverageUpdatedBlockIdDesc = 'LEGS_BY_TO_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - LegsByToIdCountAsc = 'LEGS_BY_TO_ID_COUNT_ASC', - LegsByToIdCountDesc = 'LEGS_BY_TO_ID_COUNT_DESC', - LegsByToIdDistinctCountAddressesAsc = 'LEGS_BY_TO_ID_DISTINCT_COUNT_ADDRESSES_ASC', - LegsByToIdDistinctCountAddressesDesc = 'LEGS_BY_TO_ID_DISTINCT_COUNT_ADDRESSES_DESC', - LegsByToIdDistinctCountAmountAsc = 'LEGS_BY_TO_ID_DISTINCT_COUNT_AMOUNT_ASC', - LegsByToIdDistinctCountAmountDesc = 'LEGS_BY_TO_ID_DISTINCT_COUNT_AMOUNT_DESC', - LegsByToIdDistinctCountAssetIdAsc = 'LEGS_BY_TO_ID_DISTINCT_COUNT_ASSET_ID_ASC', - LegsByToIdDistinctCountAssetIdDesc = 'LEGS_BY_TO_ID_DISTINCT_COUNT_ASSET_ID_DESC', - LegsByToIdDistinctCountCreatedAtAsc = 'LEGS_BY_TO_ID_DISTINCT_COUNT_CREATED_AT_ASC', - LegsByToIdDistinctCountCreatedAtDesc = 'LEGS_BY_TO_ID_DISTINCT_COUNT_CREATED_AT_DESC', - LegsByToIdDistinctCountCreatedBlockIdAsc = 'LEGS_BY_TO_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - LegsByToIdDistinctCountCreatedBlockIdDesc = 'LEGS_BY_TO_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - LegsByToIdDistinctCountFromIdAsc = 'LEGS_BY_TO_ID_DISTINCT_COUNT_FROM_ID_ASC', - LegsByToIdDistinctCountFromIdDesc = 'LEGS_BY_TO_ID_DISTINCT_COUNT_FROM_ID_DESC', - LegsByToIdDistinctCountIdAsc = 'LEGS_BY_TO_ID_DISTINCT_COUNT_ID_ASC', - LegsByToIdDistinctCountIdDesc = 'LEGS_BY_TO_ID_DISTINCT_COUNT_ID_DESC', - LegsByToIdDistinctCountInstructionIdAsc = 'LEGS_BY_TO_ID_DISTINCT_COUNT_INSTRUCTION_ID_ASC', - LegsByToIdDistinctCountInstructionIdDesc = 'LEGS_BY_TO_ID_DISTINCT_COUNT_INSTRUCTION_ID_DESC', - LegsByToIdDistinctCountLegTypeAsc = 'LEGS_BY_TO_ID_DISTINCT_COUNT_LEG_TYPE_ASC', - LegsByToIdDistinctCountLegTypeDesc = 'LEGS_BY_TO_ID_DISTINCT_COUNT_LEG_TYPE_DESC', - LegsByToIdDistinctCountNftIdsAsc = 'LEGS_BY_TO_ID_DISTINCT_COUNT_NFT_IDS_ASC', - LegsByToIdDistinctCountNftIdsDesc = 'LEGS_BY_TO_ID_DISTINCT_COUNT_NFT_IDS_DESC', - LegsByToIdDistinctCountSettlementIdAsc = 'LEGS_BY_TO_ID_DISTINCT_COUNT_SETTLEMENT_ID_ASC', - LegsByToIdDistinctCountSettlementIdDesc = 'LEGS_BY_TO_ID_DISTINCT_COUNT_SETTLEMENT_ID_DESC', - LegsByToIdDistinctCountToIdAsc = 'LEGS_BY_TO_ID_DISTINCT_COUNT_TO_ID_ASC', - LegsByToIdDistinctCountToIdDesc = 'LEGS_BY_TO_ID_DISTINCT_COUNT_TO_ID_DESC', - LegsByToIdDistinctCountUpdatedAtAsc = 'LEGS_BY_TO_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - LegsByToIdDistinctCountUpdatedAtDesc = 'LEGS_BY_TO_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - LegsByToIdDistinctCountUpdatedBlockIdAsc = 'LEGS_BY_TO_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - LegsByToIdDistinctCountUpdatedBlockIdDesc = 'LEGS_BY_TO_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - LegsByToIdMaxAddressesAsc = 'LEGS_BY_TO_ID_MAX_ADDRESSES_ASC', - LegsByToIdMaxAddressesDesc = 'LEGS_BY_TO_ID_MAX_ADDRESSES_DESC', - LegsByToIdMaxAmountAsc = 'LEGS_BY_TO_ID_MAX_AMOUNT_ASC', - LegsByToIdMaxAmountDesc = 'LEGS_BY_TO_ID_MAX_AMOUNT_DESC', - LegsByToIdMaxAssetIdAsc = 'LEGS_BY_TO_ID_MAX_ASSET_ID_ASC', - LegsByToIdMaxAssetIdDesc = 'LEGS_BY_TO_ID_MAX_ASSET_ID_DESC', - LegsByToIdMaxCreatedAtAsc = 'LEGS_BY_TO_ID_MAX_CREATED_AT_ASC', - LegsByToIdMaxCreatedAtDesc = 'LEGS_BY_TO_ID_MAX_CREATED_AT_DESC', - LegsByToIdMaxCreatedBlockIdAsc = 'LEGS_BY_TO_ID_MAX_CREATED_BLOCK_ID_ASC', - LegsByToIdMaxCreatedBlockIdDesc = 'LEGS_BY_TO_ID_MAX_CREATED_BLOCK_ID_DESC', - LegsByToIdMaxFromIdAsc = 'LEGS_BY_TO_ID_MAX_FROM_ID_ASC', - LegsByToIdMaxFromIdDesc = 'LEGS_BY_TO_ID_MAX_FROM_ID_DESC', - LegsByToIdMaxIdAsc = 'LEGS_BY_TO_ID_MAX_ID_ASC', - LegsByToIdMaxIdDesc = 'LEGS_BY_TO_ID_MAX_ID_DESC', - LegsByToIdMaxInstructionIdAsc = 'LEGS_BY_TO_ID_MAX_INSTRUCTION_ID_ASC', - LegsByToIdMaxInstructionIdDesc = 'LEGS_BY_TO_ID_MAX_INSTRUCTION_ID_DESC', - LegsByToIdMaxLegTypeAsc = 'LEGS_BY_TO_ID_MAX_LEG_TYPE_ASC', - LegsByToIdMaxLegTypeDesc = 'LEGS_BY_TO_ID_MAX_LEG_TYPE_DESC', - LegsByToIdMaxNftIdsAsc = 'LEGS_BY_TO_ID_MAX_NFT_IDS_ASC', - LegsByToIdMaxNftIdsDesc = 'LEGS_BY_TO_ID_MAX_NFT_IDS_DESC', - LegsByToIdMaxSettlementIdAsc = 'LEGS_BY_TO_ID_MAX_SETTLEMENT_ID_ASC', - LegsByToIdMaxSettlementIdDesc = 'LEGS_BY_TO_ID_MAX_SETTLEMENT_ID_DESC', - LegsByToIdMaxToIdAsc = 'LEGS_BY_TO_ID_MAX_TO_ID_ASC', - LegsByToIdMaxToIdDesc = 'LEGS_BY_TO_ID_MAX_TO_ID_DESC', - LegsByToIdMaxUpdatedAtAsc = 'LEGS_BY_TO_ID_MAX_UPDATED_AT_ASC', - LegsByToIdMaxUpdatedAtDesc = 'LEGS_BY_TO_ID_MAX_UPDATED_AT_DESC', - LegsByToIdMaxUpdatedBlockIdAsc = 'LEGS_BY_TO_ID_MAX_UPDATED_BLOCK_ID_ASC', - LegsByToIdMaxUpdatedBlockIdDesc = 'LEGS_BY_TO_ID_MAX_UPDATED_BLOCK_ID_DESC', - LegsByToIdMinAddressesAsc = 'LEGS_BY_TO_ID_MIN_ADDRESSES_ASC', - LegsByToIdMinAddressesDesc = 'LEGS_BY_TO_ID_MIN_ADDRESSES_DESC', - LegsByToIdMinAmountAsc = 'LEGS_BY_TO_ID_MIN_AMOUNT_ASC', - LegsByToIdMinAmountDesc = 'LEGS_BY_TO_ID_MIN_AMOUNT_DESC', - LegsByToIdMinAssetIdAsc = 'LEGS_BY_TO_ID_MIN_ASSET_ID_ASC', - LegsByToIdMinAssetIdDesc = 'LEGS_BY_TO_ID_MIN_ASSET_ID_DESC', - LegsByToIdMinCreatedAtAsc = 'LEGS_BY_TO_ID_MIN_CREATED_AT_ASC', - LegsByToIdMinCreatedAtDesc = 'LEGS_BY_TO_ID_MIN_CREATED_AT_DESC', - LegsByToIdMinCreatedBlockIdAsc = 'LEGS_BY_TO_ID_MIN_CREATED_BLOCK_ID_ASC', - LegsByToIdMinCreatedBlockIdDesc = 'LEGS_BY_TO_ID_MIN_CREATED_BLOCK_ID_DESC', - LegsByToIdMinFromIdAsc = 'LEGS_BY_TO_ID_MIN_FROM_ID_ASC', - LegsByToIdMinFromIdDesc = 'LEGS_BY_TO_ID_MIN_FROM_ID_DESC', - LegsByToIdMinIdAsc = 'LEGS_BY_TO_ID_MIN_ID_ASC', - LegsByToIdMinIdDesc = 'LEGS_BY_TO_ID_MIN_ID_DESC', - LegsByToIdMinInstructionIdAsc = 'LEGS_BY_TO_ID_MIN_INSTRUCTION_ID_ASC', - LegsByToIdMinInstructionIdDesc = 'LEGS_BY_TO_ID_MIN_INSTRUCTION_ID_DESC', - LegsByToIdMinLegTypeAsc = 'LEGS_BY_TO_ID_MIN_LEG_TYPE_ASC', - LegsByToIdMinLegTypeDesc = 'LEGS_BY_TO_ID_MIN_LEG_TYPE_DESC', - LegsByToIdMinNftIdsAsc = 'LEGS_BY_TO_ID_MIN_NFT_IDS_ASC', - LegsByToIdMinNftIdsDesc = 'LEGS_BY_TO_ID_MIN_NFT_IDS_DESC', - LegsByToIdMinSettlementIdAsc = 'LEGS_BY_TO_ID_MIN_SETTLEMENT_ID_ASC', - LegsByToIdMinSettlementIdDesc = 'LEGS_BY_TO_ID_MIN_SETTLEMENT_ID_DESC', - LegsByToIdMinToIdAsc = 'LEGS_BY_TO_ID_MIN_TO_ID_ASC', - LegsByToIdMinToIdDesc = 'LEGS_BY_TO_ID_MIN_TO_ID_DESC', - LegsByToIdMinUpdatedAtAsc = 'LEGS_BY_TO_ID_MIN_UPDATED_AT_ASC', - LegsByToIdMinUpdatedAtDesc = 'LEGS_BY_TO_ID_MIN_UPDATED_AT_DESC', - LegsByToIdMinUpdatedBlockIdAsc = 'LEGS_BY_TO_ID_MIN_UPDATED_BLOCK_ID_ASC', - LegsByToIdMinUpdatedBlockIdDesc = 'LEGS_BY_TO_ID_MIN_UPDATED_BLOCK_ID_DESC', - LegsByToIdStddevPopulationAddressesAsc = 'LEGS_BY_TO_ID_STDDEV_POPULATION_ADDRESSES_ASC', - LegsByToIdStddevPopulationAddressesDesc = 'LEGS_BY_TO_ID_STDDEV_POPULATION_ADDRESSES_DESC', - LegsByToIdStddevPopulationAmountAsc = 'LEGS_BY_TO_ID_STDDEV_POPULATION_AMOUNT_ASC', - LegsByToIdStddevPopulationAmountDesc = 'LEGS_BY_TO_ID_STDDEV_POPULATION_AMOUNT_DESC', - LegsByToIdStddevPopulationAssetIdAsc = 'LEGS_BY_TO_ID_STDDEV_POPULATION_ASSET_ID_ASC', - LegsByToIdStddevPopulationAssetIdDesc = 'LEGS_BY_TO_ID_STDDEV_POPULATION_ASSET_ID_DESC', - LegsByToIdStddevPopulationCreatedAtAsc = 'LEGS_BY_TO_ID_STDDEV_POPULATION_CREATED_AT_ASC', - LegsByToIdStddevPopulationCreatedAtDesc = 'LEGS_BY_TO_ID_STDDEV_POPULATION_CREATED_AT_DESC', - LegsByToIdStddevPopulationCreatedBlockIdAsc = 'LEGS_BY_TO_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - LegsByToIdStddevPopulationCreatedBlockIdDesc = 'LEGS_BY_TO_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - LegsByToIdStddevPopulationFromIdAsc = 'LEGS_BY_TO_ID_STDDEV_POPULATION_FROM_ID_ASC', - LegsByToIdStddevPopulationFromIdDesc = 'LEGS_BY_TO_ID_STDDEV_POPULATION_FROM_ID_DESC', - LegsByToIdStddevPopulationIdAsc = 'LEGS_BY_TO_ID_STDDEV_POPULATION_ID_ASC', - LegsByToIdStddevPopulationIdDesc = 'LEGS_BY_TO_ID_STDDEV_POPULATION_ID_DESC', - LegsByToIdStddevPopulationInstructionIdAsc = 'LEGS_BY_TO_ID_STDDEV_POPULATION_INSTRUCTION_ID_ASC', - LegsByToIdStddevPopulationInstructionIdDesc = 'LEGS_BY_TO_ID_STDDEV_POPULATION_INSTRUCTION_ID_DESC', - LegsByToIdStddevPopulationLegTypeAsc = 'LEGS_BY_TO_ID_STDDEV_POPULATION_LEG_TYPE_ASC', - LegsByToIdStddevPopulationLegTypeDesc = 'LEGS_BY_TO_ID_STDDEV_POPULATION_LEG_TYPE_DESC', - LegsByToIdStddevPopulationNftIdsAsc = 'LEGS_BY_TO_ID_STDDEV_POPULATION_NFT_IDS_ASC', - LegsByToIdStddevPopulationNftIdsDesc = 'LEGS_BY_TO_ID_STDDEV_POPULATION_NFT_IDS_DESC', - LegsByToIdStddevPopulationSettlementIdAsc = 'LEGS_BY_TO_ID_STDDEV_POPULATION_SETTLEMENT_ID_ASC', - LegsByToIdStddevPopulationSettlementIdDesc = 'LEGS_BY_TO_ID_STDDEV_POPULATION_SETTLEMENT_ID_DESC', - LegsByToIdStddevPopulationToIdAsc = 'LEGS_BY_TO_ID_STDDEV_POPULATION_TO_ID_ASC', - LegsByToIdStddevPopulationToIdDesc = 'LEGS_BY_TO_ID_STDDEV_POPULATION_TO_ID_DESC', - LegsByToIdStddevPopulationUpdatedAtAsc = 'LEGS_BY_TO_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - LegsByToIdStddevPopulationUpdatedAtDesc = 'LEGS_BY_TO_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - LegsByToIdStddevPopulationUpdatedBlockIdAsc = 'LEGS_BY_TO_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - LegsByToIdStddevPopulationUpdatedBlockIdDesc = 'LEGS_BY_TO_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - LegsByToIdStddevSampleAddressesAsc = 'LEGS_BY_TO_ID_STDDEV_SAMPLE_ADDRESSES_ASC', - LegsByToIdStddevSampleAddressesDesc = 'LEGS_BY_TO_ID_STDDEV_SAMPLE_ADDRESSES_DESC', - LegsByToIdStddevSampleAmountAsc = 'LEGS_BY_TO_ID_STDDEV_SAMPLE_AMOUNT_ASC', - LegsByToIdStddevSampleAmountDesc = 'LEGS_BY_TO_ID_STDDEV_SAMPLE_AMOUNT_DESC', - LegsByToIdStddevSampleAssetIdAsc = 'LEGS_BY_TO_ID_STDDEV_SAMPLE_ASSET_ID_ASC', - LegsByToIdStddevSampleAssetIdDesc = 'LEGS_BY_TO_ID_STDDEV_SAMPLE_ASSET_ID_DESC', - LegsByToIdStddevSampleCreatedAtAsc = 'LEGS_BY_TO_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - LegsByToIdStddevSampleCreatedAtDesc = 'LEGS_BY_TO_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - LegsByToIdStddevSampleCreatedBlockIdAsc = 'LEGS_BY_TO_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - LegsByToIdStddevSampleCreatedBlockIdDesc = 'LEGS_BY_TO_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - LegsByToIdStddevSampleFromIdAsc = 'LEGS_BY_TO_ID_STDDEV_SAMPLE_FROM_ID_ASC', - LegsByToIdStddevSampleFromIdDesc = 'LEGS_BY_TO_ID_STDDEV_SAMPLE_FROM_ID_DESC', - LegsByToIdStddevSampleIdAsc = 'LEGS_BY_TO_ID_STDDEV_SAMPLE_ID_ASC', - LegsByToIdStddevSampleIdDesc = 'LEGS_BY_TO_ID_STDDEV_SAMPLE_ID_DESC', - LegsByToIdStddevSampleInstructionIdAsc = 'LEGS_BY_TO_ID_STDDEV_SAMPLE_INSTRUCTION_ID_ASC', - LegsByToIdStddevSampleInstructionIdDesc = 'LEGS_BY_TO_ID_STDDEV_SAMPLE_INSTRUCTION_ID_DESC', - LegsByToIdStddevSampleLegTypeAsc = 'LEGS_BY_TO_ID_STDDEV_SAMPLE_LEG_TYPE_ASC', - LegsByToIdStddevSampleLegTypeDesc = 'LEGS_BY_TO_ID_STDDEV_SAMPLE_LEG_TYPE_DESC', - LegsByToIdStddevSampleNftIdsAsc = 'LEGS_BY_TO_ID_STDDEV_SAMPLE_NFT_IDS_ASC', - LegsByToIdStddevSampleNftIdsDesc = 'LEGS_BY_TO_ID_STDDEV_SAMPLE_NFT_IDS_DESC', - LegsByToIdStddevSampleSettlementIdAsc = 'LEGS_BY_TO_ID_STDDEV_SAMPLE_SETTLEMENT_ID_ASC', - LegsByToIdStddevSampleSettlementIdDesc = 'LEGS_BY_TO_ID_STDDEV_SAMPLE_SETTLEMENT_ID_DESC', - LegsByToIdStddevSampleToIdAsc = 'LEGS_BY_TO_ID_STDDEV_SAMPLE_TO_ID_ASC', - LegsByToIdStddevSampleToIdDesc = 'LEGS_BY_TO_ID_STDDEV_SAMPLE_TO_ID_DESC', - LegsByToIdStddevSampleUpdatedAtAsc = 'LEGS_BY_TO_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - LegsByToIdStddevSampleUpdatedAtDesc = 'LEGS_BY_TO_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - LegsByToIdStddevSampleUpdatedBlockIdAsc = 'LEGS_BY_TO_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - LegsByToIdStddevSampleUpdatedBlockIdDesc = 'LEGS_BY_TO_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - LegsByToIdSumAddressesAsc = 'LEGS_BY_TO_ID_SUM_ADDRESSES_ASC', - LegsByToIdSumAddressesDesc = 'LEGS_BY_TO_ID_SUM_ADDRESSES_DESC', - LegsByToIdSumAmountAsc = 'LEGS_BY_TO_ID_SUM_AMOUNT_ASC', - LegsByToIdSumAmountDesc = 'LEGS_BY_TO_ID_SUM_AMOUNT_DESC', - LegsByToIdSumAssetIdAsc = 'LEGS_BY_TO_ID_SUM_ASSET_ID_ASC', - LegsByToIdSumAssetIdDesc = 'LEGS_BY_TO_ID_SUM_ASSET_ID_DESC', - LegsByToIdSumCreatedAtAsc = 'LEGS_BY_TO_ID_SUM_CREATED_AT_ASC', - LegsByToIdSumCreatedAtDesc = 'LEGS_BY_TO_ID_SUM_CREATED_AT_DESC', - LegsByToIdSumCreatedBlockIdAsc = 'LEGS_BY_TO_ID_SUM_CREATED_BLOCK_ID_ASC', - LegsByToIdSumCreatedBlockIdDesc = 'LEGS_BY_TO_ID_SUM_CREATED_BLOCK_ID_DESC', - LegsByToIdSumFromIdAsc = 'LEGS_BY_TO_ID_SUM_FROM_ID_ASC', - LegsByToIdSumFromIdDesc = 'LEGS_BY_TO_ID_SUM_FROM_ID_DESC', - LegsByToIdSumIdAsc = 'LEGS_BY_TO_ID_SUM_ID_ASC', - LegsByToIdSumIdDesc = 'LEGS_BY_TO_ID_SUM_ID_DESC', - LegsByToIdSumInstructionIdAsc = 'LEGS_BY_TO_ID_SUM_INSTRUCTION_ID_ASC', - LegsByToIdSumInstructionIdDesc = 'LEGS_BY_TO_ID_SUM_INSTRUCTION_ID_DESC', - LegsByToIdSumLegTypeAsc = 'LEGS_BY_TO_ID_SUM_LEG_TYPE_ASC', - LegsByToIdSumLegTypeDesc = 'LEGS_BY_TO_ID_SUM_LEG_TYPE_DESC', - LegsByToIdSumNftIdsAsc = 'LEGS_BY_TO_ID_SUM_NFT_IDS_ASC', - LegsByToIdSumNftIdsDesc = 'LEGS_BY_TO_ID_SUM_NFT_IDS_DESC', - LegsByToIdSumSettlementIdAsc = 'LEGS_BY_TO_ID_SUM_SETTLEMENT_ID_ASC', - LegsByToIdSumSettlementIdDesc = 'LEGS_BY_TO_ID_SUM_SETTLEMENT_ID_DESC', - LegsByToIdSumToIdAsc = 'LEGS_BY_TO_ID_SUM_TO_ID_ASC', - LegsByToIdSumToIdDesc = 'LEGS_BY_TO_ID_SUM_TO_ID_DESC', - LegsByToIdSumUpdatedAtAsc = 'LEGS_BY_TO_ID_SUM_UPDATED_AT_ASC', - LegsByToIdSumUpdatedAtDesc = 'LEGS_BY_TO_ID_SUM_UPDATED_AT_DESC', - LegsByToIdSumUpdatedBlockIdAsc = 'LEGS_BY_TO_ID_SUM_UPDATED_BLOCK_ID_ASC', - LegsByToIdSumUpdatedBlockIdDesc = 'LEGS_BY_TO_ID_SUM_UPDATED_BLOCK_ID_DESC', - LegsByToIdVariancePopulationAddressesAsc = 'LEGS_BY_TO_ID_VARIANCE_POPULATION_ADDRESSES_ASC', - LegsByToIdVariancePopulationAddressesDesc = 'LEGS_BY_TO_ID_VARIANCE_POPULATION_ADDRESSES_DESC', - LegsByToIdVariancePopulationAmountAsc = 'LEGS_BY_TO_ID_VARIANCE_POPULATION_AMOUNT_ASC', - LegsByToIdVariancePopulationAmountDesc = 'LEGS_BY_TO_ID_VARIANCE_POPULATION_AMOUNT_DESC', - LegsByToIdVariancePopulationAssetIdAsc = 'LEGS_BY_TO_ID_VARIANCE_POPULATION_ASSET_ID_ASC', - LegsByToIdVariancePopulationAssetIdDesc = 'LEGS_BY_TO_ID_VARIANCE_POPULATION_ASSET_ID_DESC', - LegsByToIdVariancePopulationCreatedAtAsc = 'LEGS_BY_TO_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - LegsByToIdVariancePopulationCreatedAtDesc = 'LEGS_BY_TO_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - LegsByToIdVariancePopulationCreatedBlockIdAsc = 'LEGS_BY_TO_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - LegsByToIdVariancePopulationCreatedBlockIdDesc = 'LEGS_BY_TO_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - LegsByToIdVariancePopulationFromIdAsc = 'LEGS_BY_TO_ID_VARIANCE_POPULATION_FROM_ID_ASC', - LegsByToIdVariancePopulationFromIdDesc = 'LEGS_BY_TO_ID_VARIANCE_POPULATION_FROM_ID_DESC', - LegsByToIdVariancePopulationIdAsc = 'LEGS_BY_TO_ID_VARIANCE_POPULATION_ID_ASC', - LegsByToIdVariancePopulationIdDesc = 'LEGS_BY_TO_ID_VARIANCE_POPULATION_ID_DESC', - LegsByToIdVariancePopulationInstructionIdAsc = 'LEGS_BY_TO_ID_VARIANCE_POPULATION_INSTRUCTION_ID_ASC', - LegsByToIdVariancePopulationInstructionIdDesc = 'LEGS_BY_TO_ID_VARIANCE_POPULATION_INSTRUCTION_ID_DESC', - LegsByToIdVariancePopulationLegTypeAsc = 'LEGS_BY_TO_ID_VARIANCE_POPULATION_LEG_TYPE_ASC', - LegsByToIdVariancePopulationLegTypeDesc = 'LEGS_BY_TO_ID_VARIANCE_POPULATION_LEG_TYPE_DESC', - LegsByToIdVariancePopulationNftIdsAsc = 'LEGS_BY_TO_ID_VARIANCE_POPULATION_NFT_IDS_ASC', - LegsByToIdVariancePopulationNftIdsDesc = 'LEGS_BY_TO_ID_VARIANCE_POPULATION_NFT_IDS_DESC', - LegsByToIdVariancePopulationSettlementIdAsc = 'LEGS_BY_TO_ID_VARIANCE_POPULATION_SETTLEMENT_ID_ASC', - LegsByToIdVariancePopulationSettlementIdDesc = 'LEGS_BY_TO_ID_VARIANCE_POPULATION_SETTLEMENT_ID_DESC', - LegsByToIdVariancePopulationToIdAsc = 'LEGS_BY_TO_ID_VARIANCE_POPULATION_TO_ID_ASC', - LegsByToIdVariancePopulationToIdDesc = 'LEGS_BY_TO_ID_VARIANCE_POPULATION_TO_ID_DESC', - LegsByToIdVariancePopulationUpdatedAtAsc = 'LEGS_BY_TO_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - LegsByToIdVariancePopulationUpdatedAtDesc = 'LEGS_BY_TO_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - LegsByToIdVariancePopulationUpdatedBlockIdAsc = 'LEGS_BY_TO_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - LegsByToIdVariancePopulationUpdatedBlockIdDesc = 'LEGS_BY_TO_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - LegsByToIdVarianceSampleAddressesAsc = 'LEGS_BY_TO_ID_VARIANCE_SAMPLE_ADDRESSES_ASC', - LegsByToIdVarianceSampleAddressesDesc = 'LEGS_BY_TO_ID_VARIANCE_SAMPLE_ADDRESSES_DESC', - LegsByToIdVarianceSampleAmountAsc = 'LEGS_BY_TO_ID_VARIANCE_SAMPLE_AMOUNT_ASC', - LegsByToIdVarianceSampleAmountDesc = 'LEGS_BY_TO_ID_VARIANCE_SAMPLE_AMOUNT_DESC', - LegsByToIdVarianceSampleAssetIdAsc = 'LEGS_BY_TO_ID_VARIANCE_SAMPLE_ASSET_ID_ASC', - LegsByToIdVarianceSampleAssetIdDesc = 'LEGS_BY_TO_ID_VARIANCE_SAMPLE_ASSET_ID_DESC', - LegsByToIdVarianceSampleCreatedAtAsc = 'LEGS_BY_TO_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - LegsByToIdVarianceSampleCreatedAtDesc = 'LEGS_BY_TO_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - LegsByToIdVarianceSampleCreatedBlockIdAsc = 'LEGS_BY_TO_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - LegsByToIdVarianceSampleCreatedBlockIdDesc = 'LEGS_BY_TO_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - LegsByToIdVarianceSampleFromIdAsc = 'LEGS_BY_TO_ID_VARIANCE_SAMPLE_FROM_ID_ASC', - LegsByToIdVarianceSampleFromIdDesc = 'LEGS_BY_TO_ID_VARIANCE_SAMPLE_FROM_ID_DESC', - LegsByToIdVarianceSampleIdAsc = 'LEGS_BY_TO_ID_VARIANCE_SAMPLE_ID_ASC', - LegsByToIdVarianceSampleIdDesc = 'LEGS_BY_TO_ID_VARIANCE_SAMPLE_ID_DESC', - LegsByToIdVarianceSampleInstructionIdAsc = 'LEGS_BY_TO_ID_VARIANCE_SAMPLE_INSTRUCTION_ID_ASC', - LegsByToIdVarianceSampleInstructionIdDesc = 'LEGS_BY_TO_ID_VARIANCE_SAMPLE_INSTRUCTION_ID_DESC', - LegsByToIdVarianceSampleLegTypeAsc = 'LEGS_BY_TO_ID_VARIANCE_SAMPLE_LEG_TYPE_ASC', - LegsByToIdVarianceSampleLegTypeDesc = 'LEGS_BY_TO_ID_VARIANCE_SAMPLE_LEG_TYPE_DESC', - LegsByToIdVarianceSampleNftIdsAsc = 'LEGS_BY_TO_ID_VARIANCE_SAMPLE_NFT_IDS_ASC', - LegsByToIdVarianceSampleNftIdsDesc = 'LEGS_BY_TO_ID_VARIANCE_SAMPLE_NFT_IDS_DESC', - LegsByToIdVarianceSampleSettlementIdAsc = 'LEGS_BY_TO_ID_VARIANCE_SAMPLE_SETTLEMENT_ID_ASC', - LegsByToIdVarianceSampleSettlementIdDesc = 'LEGS_BY_TO_ID_VARIANCE_SAMPLE_SETTLEMENT_ID_DESC', - LegsByToIdVarianceSampleToIdAsc = 'LEGS_BY_TO_ID_VARIANCE_SAMPLE_TO_ID_ASC', - LegsByToIdVarianceSampleToIdDesc = 'LEGS_BY_TO_ID_VARIANCE_SAMPLE_TO_ID_DESC', - LegsByToIdVarianceSampleUpdatedAtAsc = 'LEGS_BY_TO_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - LegsByToIdVarianceSampleUpdatedAtDesc = 'LEGS_BY_TO_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - LegsByToIdVarianceSampleUpdatedBlockIdAsc = 'LEGS_BY_TO_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - LegsByToIdVarianceSampleUpdatedBlockIdDesc = 'LEGS_BY_TO_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - NameAsc = 'NAME_ASC', - NameDesc = 'NAME_DESC', - Natural = 'NATURAL', - NumberAsc = 'NUMBER_ASC', - NumberDesc = 'NUMBER_DESC', - PortfolioMovementsByFromIdAverageAddressAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_AVERAGE_ADDRESS_ASC', - PortfolioMovementsByFromIdAverageAddressDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_AVERAGE_ADDRESS_DESC', - PortfolioMovementsByFromIdAverageAmountAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_AVERAGE_AMOUNT_ASC', - PortfolioMovementsByFromIdAverageAmountDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_AVERAGE_AMOUNT_DESC', - PortfolioMovementsByFromIdAverageAssetIdAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_AVERAGE_ASSET_ID_ASC', - PortfolioMovementsByFromIdAverageAssetIdDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_AVERAGE_ASSET_ID_DESC', - PortfolioMovementsByFromIdAverageCreatedAtAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_AVERAGE_CREATED_AT_ASC', - PortfolioMovementsByFromIdAverageCreatedAtDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_AVERAGE_CREATED_AT_DESC', - PortfolioMovementsByFromIdAverageCreatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - PortfolioMovementsByFromIdAverageCreatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - PortfolioMovementsByFromIdAverageFromIdAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_AVERAGE_FROM_ID_ASC', - PortfolioMovementsByFromIdAverageFromIdDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_AVERAGE_FROM_ID_DESC', - PortfolioMovementsByFromIdAverageIdAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_AVERAGE_ID_ASC', - PortfolioMovementsByFromIdAverageIdDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_AVERAGE_ID_DESC', - PortfolioMovementsByFromIdAverageMemoAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_AVERAGE_MEMO_ASC', - PortfolioMovementsByFromIdAverageMemoDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_AVERAGE_MEMO_DESC', - PortfolioMovementsByFromIdAverageNftIdsAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_AVERAGE_NFT_IDS_ASC', - PortfolioMovementsByFromIdAverageNftIdsDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_AVERAGE_NFT_IDS_DESC', - PortfolioMovementsByFromIdAverageToIdAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_AVERAGE_TO_ID_ASC', - PortfolioMovementsByFromIdAverageToIdDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_AVERAGE_TO_ID_DESC', - PortfolioMovementsByFromIdAverageTypeAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_AVERAGE_TYPE_ASC', - PortfolioMovementsByFromIdAverageTypeDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_AVERAGE_TYPE_DESC', - PortfolioMovementsByFromIdAverageUpdatedAtAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_AVERAGE_UPDATED_AT_ASC', - PortfolioMovementsByFromIdAverageUpdatedAtDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_AVERAGE_UPDATED_AT_DESC', - PortfolioMovementsByFromIdAverageUpdatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - PortfolioMovementsByFromIdAverageUpdatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - PortfolioMovementsByFromIdCountAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_COUNT_ASC', - PortfolioMovementsByFromIdCountDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_COUNT_DESC', - PortfolioMovementsByFromIdDistinctCountAddressAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_DISTINCT_COUNT_ADDRESS_ASC', - PortfolioMovementsByFromIdDistinctCountAddressDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_DISTINCT_COUNT_ADDRESS_DESC', - PortfolioMovementsByFromIdDistinctCountAmountAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_DISTINCT_COUNT_AMOUNT_ASC', - PortfolioMovementsByFromIdDistinctCountAmountDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_DISTINCT_COUNT_AMOUNT_DESC', - PortfolioMovementsByFromIdDistinctCountAssetIdAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_DISTINCT_COUNT_ASSET_ID_ASC', - PortfolioMovementsByFromIdDistinctCountAssetIdDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_DISTINCT_COUNT_ASSET_ID_DESC', - PortfolioMovementsByFromIdDistinctCountCreatedAtAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_DISTINCT_COUNT_CREATED_AT_ASC', - PortfolioMovementsByFromIdDistinctCountCreatedAtDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_DISTINCT_COUNT_CREATED_AT_DESC', - PortfolioMovementsByFromIdDistinctCountCreatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - PortfolioMovementsByFromIdDistinctCountCreatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - PortfolioMovementsByFromIdDistinctCountFromIdAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_DISTINCT_COUNT_FROM_ID_ASC', - PortfolioMovementsByFromIdDistinctCountFromIdDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_DISTINCT_COUNT_FROM_ID_DESC', - PortfolioMovementsByFromIdDistinctCountIdAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_DISTINCT_COUNT_ID_ASC', - PortfolioMovementsByFromIdDistinctCountIdDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_DISTINCT_COUNT_ID_DESC', - PortfolioMovementsByFromIdDistinctCountMemoAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_DISTINCT_COUNT_MEMO_ASC', - PortfolioMovementsByFromIdDistinctCountMemoDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_DISTINCT_COUNT_MEMO_DESC', - PortfolioMovementsByFromIdDistinctCountNftIdsAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_DISTINCT_COUNT_NFT_IDS_ASC', - PortfolioMovementsByFromIdDistinctCountNftIdsDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_DISTINCT_COUNT_NFT_IDS_DESC', - PortfolioMovementsByFromIdDistinctCountToIdAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_DISTINCT_COUNT_TO_ID_ASC', - PortfolioMovementsByFromIdDistinctCountToIdDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_DISTINCT_COUNT_TO_ID_DESC', - PortfolioMovementsByFromIdDistinctCountTypeAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_DISTINCT_COUNT_TYPE_ASC', - PortfolioMovementsByFromIdDistinctCountTypeDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_DISTINCT_COUNT_TYPE_DESC', - PortfolioMovementsByFromIdDistinctCountUpdatedAtAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - PortfolioMovementsByFromIdDistinctCountUpdatedAtDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - PortfolioMovementsByFromIdDistinctCountUpdatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - PortfolioMovementsByFromIdDistinctCountUpdatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - PortfolioMovementsByFromIdMaxAddressAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_MAX_ADDRESS_ASC', - PortfolioMovementsByFromIdMaxAddressDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_MAX_ADDRESS_DESC', - PortfolioMovementsByFromIdMaxAmountAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_MAX_AMOUNT_ASC', - PortfolioMovementsByFromIdMaxAmountDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_MAX_AMOUNT_DESC', - PortfolioMovementsByFromIdMaxAssetIdAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_MAX_ASSET_ID_ASC', - PortfolioMovementsByFromIdMaxAssetIdDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_MAX_ASSET_ID_DESC', - PortfolioMovementsByFromIdMaxCreatedAtAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_MAX_CREATED_AT_ASC', - PortfolioMovementsByFromIdMaxCreatedAtDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_MAX_CREATED_AT_DESC', - PortfolioMovementsByFromIdMaxCreatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_MAX_CREATED_BLOCK_ID_ASC', - PortfolioMovementsByFromIdMaxCreatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_MAX_CREATED_BLOCK_ID_DESC', - PortfolioMovementsByFromIdMaxFromIdAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_MAX_FROM_ID_ASC', - PortfolioMovementsByFromIdMaxFromIdDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_MAX_FROM_ID_DESC', - PortfolioMovementsByFromIdMaxIdAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_MAX_ID_ASC', - PortfolioMovementsByFromIdMaxIdDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_MAX_ID_DESC', - PortfolioMovementsByFromIdMaxMemoAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_MAX_MEMO_ASC', - PortfolioMovementsByFromIdMaxMemoDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_MAX_MEMO_DESC', - PortfolioMovementsByFromIdMaxNftIdsAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_MAX_NFT_IDS_ASC', - PortfolioMovementsByFromIdMaxNftIdsDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_MAX_NFT_IDS_DESC', - PortfolioMovementsByFromIdMaxToIdAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_MAX_TO_ID_ASC', - PortfolioMovementsByFromIdMaxToIdDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_MAX_TO_ID_DESC', - PortfolioMovementsByFromIdMaxTypeAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_MAX_TYPE_ASC', - PortfolioMovementsByFromIdMaxTypeDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_MAX_TYPE_DESC', - PortfolioMovementsByFromIdMaxUpdatedAtAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_MAX_UPDATED_AT_ASC', - PortfolioMovementsByFromIdMaxUpdatedAtDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_MAX_UPDATED_AT_DESC', - PortfolioMovementsByFromIdMaxUpdatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_MAX_UPDATED_BLOCK_ID_ASC', - PortfolioMovementsByFromIdMaxUpdatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_MAX_UPDATED_BLOCK_ID_DESC', - PortfolioMovementsByFromIdMinAddressAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_MIN_ADDRESS_ASC', - PortfolioMovementsByFromIdMinAddressDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_MIN_ADDRESS_DESC', - PortfolioMovementsByFromIdMinAmountAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_MIN_AMOUNT_ASC', - PortfolioMovementsByFromIdMinAmountDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_MIN_AMOUNT_DESC', - PortfolioMovementsByFromIdMinAssetIdAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_MIN_ASSET_ID_ASC', - PortfolioMovementsByFromIdMinAssetIdDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_MIN_ASSET_ID_DESC', - PortfolioMovementsByFromIdMinCreatedAtAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_MIN_CREATED_AT_ASC', - PortfolioMovementsByFromIdMinCreatedAtDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_MIN_CREATED_AT_DESC', - PortfolioMovementsByFromIdMinCreatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_MIN_CREATED_BLOCK_ID_ASC', - PortfolioMovementsByFromIdMinCreatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_MIN_CREATED_BLOCK_ID_DESC', - PortfolioMovementsByFromIdMinFromIdAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_MIN_FROM_ID_ASC', - PortfolioMovementsByFromIdMinFromIdDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_MIN_FROM_ID_DESC', - PortfolioMovementsByFromIdMinIdAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_MIN_ID_ASC', - PortfolioMovementsByFromIdMinIdDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_MIN_ID_DESC', - PortfolioMovementsByFromIdMinMemoAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_MIN_MEMO_ASC', - PortfolioMovementsByFromIdMinMemoDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_MIN_MEMO_DESC', - PortfolioMovementsByFromIdMinNftIdsAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_MIN_NFT_IDS_ASC', - PortfolioMovementsByFromIdMinNftIdsDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_MIN_NFT_IDS_DESC', - PortfolioMovementsByFromIdMinToIdAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_MIN_TO_ID_ASC', - PortfolioMovementsByFromIdMinToIdDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_MIN_TO_ID_DESC', - PortfolioMovementsByFromIdMinTypeAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_MIN_TYPE_ASC', - PortfolioMovementsByFromIdMinTypeDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_MIN_TYPE_DESC', - PortfolioMovementsByFromIdMinUpdatedAtAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_MIN_UPDATED_AT_ASC', - PortfolioMovementsByFromIdMinUpdatedAtDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_MIN_UPDATED_AT_DESC', - PortfolioMovementsByFromIdMinUpdatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_MIN_UPDATED_BLOCK_ID_ASC', - PortfolioMovementsByFromIdMinUpdatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_MIN_UPDATED_BLOCK_ID_DESC', - PortfolioMovementsByFromIdStddevPopulationAddressAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_STDDEV_POPULATION_ADDRESS_ASC', - PortfolioMovementsByFromIdStddevPopulationAddressDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_STDDEV_POPULATION_ADDRESS_DESC', - PortfolioMovementsByFromIdStddevPopulationAmountAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_STDDEV_POPULATION_AMOUNT_ASC', - PortfolioMovementsByFromIdStddevPopulationAmountDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_STDDEV_POPULATION_AMOUNT_DESC', - PortfolioMovementsByFromIdStddevPopulationAssetIdAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_STDDEV_POPULATION_ASSET_ID_ASC', - PortfolioMovementsByFromIdStddevPopulationAssetIdDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_STDDEV_POPULATION_ASSET_ID_DESC', - PortfolioMovementsByFromIdStddevPopulationCreatedAtAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_STDDEV_POPULATION_CREATED_AT_ASC', - PortfolioMovementsByFromIdStddevPopulationCreatedAtDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_STDDEV_POPULATION_CREATED_AT_DESC', - PortfolioMovementsByFromIdStddevPopulationCreatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - PortfolioMovementsByFromIdStddevPopulationCreatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - PortfolioMovementsByFromIdStddevPopulationFromIdAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_STDDEV_POPULATION_FROM_ID_ASC', - PortfolioMovementsByFromIdStddevPopulationFromIdDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_STDDEV_POPULATION_FROM_ID_DESC', - PortfolioMovementsByFromIdStddevPopulationIdAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_STDDEV_POPULATION_ID_ASC', - PortfolioMovementsByFromIdStddevPopulationIdDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_STDDEV_POPULATION_ID_DESC', - PortfolioMovementsByFromIdStddevPopulationMemoAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_STDDEV_POPULATION_MEMO_ASC', - PortfolioMovementsByFromIdStddevPopulationMemoDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_STDDEV_POPULATION_MEMO_DESC', - PortfolioMovementsByFromIdStddevPopulationNftIdsAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_STDDEV_POPULATION_NFT_IDS_ASC', - PortfolioMovementsByFromIdStddevPopulationNftIdsDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_STDDEV_POPULATION_NFT_IDS_DESC', - PortfolioMovementsByFromIdStddevPopulationToIdAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_STDDEV_POPULATION_TO_ID_ASC', - PortfolioMovementsByFromIdStddevPopulationToIdDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_STDDEV_POPULATION_TO_ID_DESC', - PortfolioMovementsByFromIdStddevPopulationTypeAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_STDDEV_POPULATION_TYPE_ASC', - PortfolioMovementsByFromIdStddevPopulationTypeDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_STDDEV_POPULATION_TYPE_DESC', - PortfolioMovementsByFromIdStddevPopulationUpdatedAtAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - PortfolioMovementsByFromIdStddevPopulationUpdatedAtDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - PortfolioMovementsByFromIdStddevPopulationUpdatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - PortfolioMovementsByFromIdStddevPopulationUpdatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - PortfolioMovementsByFromIdStddevSampleAddressAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_STDDEV_SAMPLE_ADDRESS_ASC', - PortfolioMovementsByFromIdStddevSampleAddressDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_STDDEV_SAMPLE_ADDRESS_DESC', - PortfolioMovementsByFromIdStddevSampleAmountAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_STDDEV_SAMPLE_AMOUNT_ASC', - PortfolioMovementsByFromIdStddevSampleAmountDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_STDDEV_SAMPLE_AMOUNT_DESC', - PortfolioMovementsByFromIdStddevSampleAssetIdAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_STDDEV_SAMPLE_ASSET_ID_ASC', - PortfolioMovementsByFromIdStddevSampleAssetIdDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_STDDEV_SAMPLE_ASSET_ID_DESC', - PortfolioMovementsByFromIdStddevSampleCreatedAtAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - PortfolioMovementsByFromIdStddevSampleCreatedAtDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - PortfolioMovementsByFromIdStddevSampleCreatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - PortfolioMovementsByFromIdStddevSampleCreatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - PortfolioMovementsByFromIdStddevSampleFromIdAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_STDDEV_SAMPLE_FROM_ID_ASC', - PortfolioMovementsByFromIdStddevSampleFromIdDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_STDDEV_SAMPLE_FROM_ID_DESC', - PortfolioMovementsByFromIdStddevSampleIdAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_STDDEV_SAMPLE_ID_ASC', - PortfolioMovementsByFromIdStddevSampleIdDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_STDDEV_SAMPLE_ID_DESC', - PortfolioMovementsByFromIdStddevSampleMemoAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_STDDEV_SAMPLE_MEMO_ASC', - PortfolioMovementsByFromIdStddevSampleMemoDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_STDDEV_SAMPLE_MEMO_DESC', - PortfolioMovementsByFromIdStddevSampleNftIdsAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_STDDEV_SAMPLE_NFT_IDS_ASC', - PortfolioMovementsByFromIdStddevSampleNftIdsDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_STDDEV_SAMPLE_NFT_IDS_DESC', - PortfolioMovementsByFromIdStddevSampleToIdAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_STDDEV_SAMPLE_TO_ID_ASC', - PortfolioMovementsByFromIdStddevSampleToIdDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_STDDEV_SAMPLE_TO_ID_DESC', - PortfolioMovementsByFromIdStddevSampleTypeAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_STDDEV_SAMPLE_TYPE_ASC', - PortfolioMovementsByFromIdStddevSampleTypeDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_STDDEV_SAMPLE_TYPE_DESC', - PortfolioMovementsByFromIdStddevSampleUpdatedAtAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - PortfolioMovementsByFromIdStddevSampleUpdatedAtDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - PortfolioMovementsByFromIdStddevSampleUpdatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - PortfolioMovementsByFromIdStddevSampleUpdatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - PortfolioMovementsByFromIdSumAddressAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_SUM_ADDRESS_ASC', - PortfolioMovementsByFromIdSumAddressDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_SUM_ADDRESS_DESC', - PortfolioMovementsByFromIdSumAmountAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_SUM_AMOUNT_ASC', - PortfolioMovementsByFromIdSumAmountDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_SUM_AMOUNT_DESC', - PortfolioMovementsByFromIdSumAssetIdAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_SUM_ASSET_ID_ASC', - PortfolioMovementsByFromIdSumAssetIdDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_SUM_ASSET_ID_DESC', - PortfolioMovementsByFromIdSumCreatedAtAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_SUM_CREATED_AT_ASC', - PortfolioMovementsByFromIdSumCreatedAtDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_SUM_CREATED_AT_DESC', - PortfolioMovementsByFromIdSumCreatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_SUM_CREATED_BLOCK_ID_ASC', - PortfolioMovementsByFromIdSumCreatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_SUM_CREATED_BLOCK_ID_DESC', - PortfolioMovementsByFromIdSumFromIdAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_SUM_FROM_ID_ASC', - PortfolioMovementsByFromIdSumFromIdDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_SUM_FROM_ID_DESC', - PortfolioMovementsByFromIdSumIdAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_SUM_ID_ASC', - PortfolioMovementsByFromIdSumIdDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_SUM_ID_DESC', - PortfolioMovementsByFromIdSumMemoAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_SUM_MEMO_ASC', - PortfolioMovementsByFromIdSumMemoDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_SUM_MEMO_DESC', - PortfolioMovementsByFromIdSumNftIdsAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_SUM_NFT_IDS_ASC', - PortfolioMovementsByFromIdSumNftIdsDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_SUM_NFT_IDS_DESC', - PortfolioMovementsByFromIdSumToIdAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_SUM_TO_ID_ASC', - PortfolioMovementsByFromIdSumToIdDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_SUM_TO_ID_DESC', - PortfolioMovementsByFromIdSumTypeAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_SUM_TYPE_ASC', - PortfolioMovementsByFromIdSumTypeDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_SUM_TYPE_DESC', - PortfolioMovementsByFromIdSumUpdatedAtAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_SUM_UPDATED_AT_ASC', - PortfolioMovementsByFromIdSumUpdatedAtDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_SUM_UPDATED_AT_DESC', - PortfolioMovementsByFromIdSumUpdatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_SUM_UPDATED_BLOCK_ID_ASC', - PortfolioMovementsByFromIdSumUpdatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_SUM_UPDATED_BLOCK_ID_DESC', - PortfolioMovementsByFromIdVariancePopulationAddressAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_VARIANCE_POPULATION_ADDRESS_ASC', - PortfolioMovementsByFromIdVariancePopulationAddressDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_VARIANCE_POPULATION_ADDRESS_DESC', - PortfolioMovementsByFromIdVariancePopulationAmountAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_VARIANCE_POPULATION_AMOUNT_ASC', - PortfolioMovementsByFromIdVariancePopulationAmountDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_VARIANCE_POPULATION_AMOUNT_DESC', - PortfolioMovementsByFromIdVariancePopulationAssetIdAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_VARIANCE_POPULATION_ASSET_ID_ASC', - PortfolioMovementsByFromIdVariancePopulationAssetIdDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_VARIANCE_POPULATION_ASSET_ID_DESC', - PortfolioMovementsByFromIdVariancePopulationCreatedAtAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - PortfolioMovementsByFromIdVariancePopulationCreatedAtDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - PortfolioMovementsByFromIdVariancePopulationCreatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - PortfolioMovementsByFromIdVariancePopulationCreatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - PortfolioMovementsByFromIdVariancePopulationFromIdAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_VARIANCE_POPULATION_FROM_ID_ASC', - PortfolioMovementsByFromIdVariancePopulationFromIdDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_VARIANCE_POPULATION_FROM_ID_DESC', - PortfolioMovementsByFromIdVariancePopulationIdAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_VARIANCE_POPULATION_ID_ASC', - PortfolioMovementsByFromIdVariancePopulationIdDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_VARIANCE_POPULATION_ID_DESC', - PortfolioMovementsByFromIdVariancePopulationMemoAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_VARIANCE_POPULATION_MEMO_ASC', - PortfolioMovementsByFromIdVariancePopulationMemoDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_VARIANCE_POPULATION_MEMO_DESC', - PortfolioMovementsByFromIdVariancePopulationNftIdsAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_VARIANCE_POPULATION_NFT_IDS_ASC', - PortfolioMovementsByFromIdVariancePopulationNftIdsDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_VARIANCE_POPULATION_NFT_IDS_DESC', - PortfolioMovementsByFromIdVariancePopulationToIdAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_VARIANCE_POPULATION_TO_ID_ASC', - PortfolioMovementsByFromIdVariancePopulationToIdDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_VARIANCE_POPULATION_TO_ID_DESC', - PortfolioMovementsByFromIdVariancePopulationTypeAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_VARIANCE_POPULATION_TYPE_ASC', - PortfolioMovementsByFromIdVariancePopulationTypeDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_VARIANCE_POPULATION_TYPE_DESC', - PortfolioMovementsByFromIdVariancePopulationUpdatedAtAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - PortfolioMovementsByFromIdVariancePopulationUpdatedAtDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - PortfolioMovementsByFromIdVariancePopulationUpdatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - PortfolioMovementsByFromIdVariancePopulationUpdatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - PortfolioMovementsByFromIdVarianceSampleAddressAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_VARIANCE_SAMPLE_ADDRESS_ASC', - PortfolioMovementsByFromIdVarianceSampleAddressDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_VARIANCE_SAMPLE_ADDRESS_DESC', - PortfolioMovementsByFromIdVarianceSampleAmountAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_VARIANCE_SAMPLE_AMOUNT_ASC', - PortfolioMovementsByFromIdVarianceSampleAmountDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_VARIANCE_SAMPLE_AMOUNT_DESC', - PortfolioMovementsByFromIdVarianceSampleAssetIdAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_VARIANCE_SAMPLE_ASSET_ID_ASC', - PortfolioMovementsByFromIdVarianceSampleAssetIdDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_VARIANCE_SAMPLE_ASSET_ID_DESC', - PortfolioMovementsByFromIdVarianceSampleCreatedAtAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - PortfolioMovementsByFromIdVarianceSampleCreatedAtDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - PortfolioMovementsByFromIdVarianceSampleCreatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - PortfolioMovementsByFromIdVarianceSampleCreatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - PortfolioMovementsByFromIdVarianceSampleFromIdAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_VARIANCE_SAMPLE_FROM_ID_ASC', - PortfolioMovementsByFromIdVarianceSampleFromIdDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_VARIANCE_SAMPLE_FROM_ID_DESC', - PortfolioMovementsByFromIdVarianceSampleIdAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_VARIANCE_SAMPLE_ID_ASC', - PortfolioMovementsByFromIdVarianceSampleIdDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_VARIANCE_SAMPLE_ID_DESC', - PortfolioMovementsByFromIdVarianceSampleMemoAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_VARIANCE_SAMPLE_MEMO_ASC', - PortfolioMovementsByFromIdVarianceSampleMemoDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_VARIANCE_SAMPLE_MEMO_DESC', - PortfolioMovementsByFromIdVarianceSampleNftIdsAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_VARIANCE_SAMPLE_NFT_IDS_ASC', - PortfolioMovementsByFromIdVarianceSampleNftIdsDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_VARIANCE_SAMPLE_NFT_IDS_DESC', - PortfolioMovementsByFromIdVarianceSampleToIdAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_VARIANCE_SAMPLE_TO_ID_ASC', - PortfolioMovementsByFromIdVarianceSampleToIdDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_VARIANCE_SAMPLE_TO_ID_DESC', - PortfolioMovementsByFromIdVarianceSampleTypeAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_VARIANCE_SAMPLE_TYPE_ASC', - PortfolioMovementsByFromIdVarianceSampleTypeDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_VARIANCE_SAMPLE_TYPE_DESC', - PortfolioMovementsByFromIdVarianceSampleUpdatedAtAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - PortfolioMovementsByFromIdVarianceSampleUpdatedAtDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - PortfolioMovementsByFromIdVarianceSampleUpdatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - PortfolioMovementsByFromIdVarianceSampleUpdatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_BY_FROM_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - PortfolioMovementsByToIdAverageAddressAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_AVERAGE_ADDRESS_ASC', - PortfolioMovementsByToIdAverageAddressDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_AVERAGE_ADDRESS_DESC', - PortfolioMovementsByToIdAverageAmountAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_AVERAGE_AMOUNT_ASC', - PortfolioMovementsByToIdAverageAmountDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_AVERAGE_AMOUNT_DESC', - PortfolioMovementsByToIdAverageAssetIdAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_AVERAGE_ASSET_ID_ASC', - PortfolioMovementsByToIdAverageAssetIdDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_AVERAGE_ASSET_ID_DESC', - PortfolioMovementsByToIdAverageCreatedAtAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_AVERAGE_CREATED_AT_ASC', - PortfolioMovementsByToIdAverageCreatedAtDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_AVERAGE_CREATED_AT_DESC', - PortfolioMovementsByToIdAverageCreatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - PortfolioMovementsByToIdAverageCreatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - PortfolioMovementsByToIdAverageFromIdAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_AVERAGE_FROM_ID_ASC', - PortfolioMovementsByToIdAverageFromIdDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_AVERAGE_FROM_ID_DESC', - PortfolioMovementsByToIdAverageIdAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_AVERAGE_ID_ASC', - PortfolioMovementsByToIdAverageIdDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_AVERAGE_ID_DESC', - PortfolioMovementsByToIdAverageMemoAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_AVERAGE_MEMO_ASC', - PortfolioMovementsByToIdAverageMemoDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_AVERAGE_MEMO_DESC', - PortfolioMovementsByToIdAverageNftIdsAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_AVERAGE_NFT_IDS_ASC', - PortfolioMovementsByToIdAverageNftIdsDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_AVERAGE_NFT_IDS_DESC', - PortfolioMovementsByToIdAverageToIdAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_AVERAGE_TO_ID_ASC', - PortfolioMovementsByToIdAverageToIdDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_AVERAGE_TO_ID_DESC', - PortfolioMovementsByToIdAverageTypeAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_AVERAGE_TYPE_ASC', - PortfolioMovementsByToIdAverageTypeDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_AVERAGE_TYPE_DESC', - PortfolioMovementsByToIdAverageUpdatedAtAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_AVERAGE_UPDATED_AT_ASC', - PortfolioMovementsByToIdAverageUpdatedAtDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_AVERAGE_UPDATED_AT_DESC', - PortfolioMovementsByToIdAverageUpdatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - PortfolioMovementsByToIdAverageUpdatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - PortfolioMovementsByToIdCountAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_COUNT_ASC', - PortfolioMovementsByToIdCountDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_COUNT_DESC', - PortfolioMovementsByToIdDistinctCountAddressAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_DISTINCT_COUNT_ADDRESS_ASC', - PortfolioMovementsByToIdDistinctCountAddressDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_DISTINCT_COUNT_ADDRESS_DESC', - PortfolioMovementsByToIdDistinctCountAmountAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_DISTINCT_COUNT_AMOUNT_ASC', - PortfolioMovementsByToIdDistinctCountAmountDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_DISTINCT_COUNT_AMOUNT_DESC', - PortfolioMovementsByToIdDistinctCountAssetIdAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_DISTINCT_COUNT_ASSET_ID_ASC', - PortfolioMovementsByToIdDistinctCountAssetIdDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_DISTINCT_COUNT_ASSET_ID_DESC', - PortfolioMovementsByToIdDistinctCountCreatedAtAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_DISTINCT_COUNT_CREATED_AT_ASC', - PortfolioMovementsByToIdDistinctCountCreatedAtDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_DISTINCT_COUNT_CREATED_AT_DESC', - PortfolioMovementsByToIdDistinctCountCreatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - PortfolioMovementsByToIdDistinctCountCreatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - PortfolioMovementsByToIdDistinctCountFromIdAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_DISTINCT_COUNT_FROM_ID_ASC', - PortfolioMovementsByToIdDistinctCountFromIdDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_DISTINCT_COUNT_FROM_ID_DESC', - PortfolioMovementsByToIdDistinctCountIdAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_DISTINCT_COUNT_ID_ASC', - PortfolioMovementsByToIdDistinctCountIdDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_DISTINCT_COUNT_ID_DESC', - PortfolioMovementsByToIdDistinctCountMemoAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_DISTINCT_COUNT_MEMO_ASC', - PortfolioMovementsByToIdDistinctCountMemoDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_DISTINCT_COUNT_MEMO_DESC', - PortfolioMovementsByToIdDistinctCountNftIdsAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_DISTINCT_COUNT_NFT_IDS_ASC', - PortfolioMovementsByToIdDistinctCountNftIdsDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_DISTINCT_COUNT_NFT_IDS_DESC', - PortfolioMovementsByToIdDistinctCountToIdAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_DISTINCT_COUNT_TO_ID_ASC', - PortfolioMovementsByToIdDistinctCountToIdDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_DISTINCT_COUNT_TO_ID_DESC', - PortfolioMovementsByToIdDistinctCountTypeAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_DISTINCT_COUNT_TYPE_ASC', - PortfolioMovementsByToIdDistinctCountTypeDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_DISTINCT_COUNT_TYPE_DESC', - PortfolioMovementsByToIdDistinctCountUpdatedAtAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - PortfolioMovementsByToIdDistinctCountUpdatedAtDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - PortfolioMovementsByToIdDistinctCountUpdatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - PortfolioMovementsByToIdDistinctCountUpdatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - PortfolioMovementsByToIdMaxAddressAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_MAX_ADDRESS_ASC', - PortfolioMovementsByToIdMaxAddressDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_MAX_ADDRESS_DESC', - PortfolioMovementsByToIdMaxAmountAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_MAX_AMOUNT_ASC', - PortfolioMovementsByToIdMaxAmountDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_MAX_AMOUNT_DESC', - PortfolioMovementsByToIdMaxAssetIdAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_MAX_ASSET_ID_ASC', - PortfolioMovementsByToIdMaxAssetIdDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_MAX_ASSET_ID_DESC', - PortfolioMovementsByToIdMaxCreatedAtAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_MAX_CREATED_AT_ASC', - PortfolioMovementsByToIdMaxCreatedAtDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_MAX_CREATED_AT_DESC', - PortfolioMovementsByToIdMaxCreatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_MAX_CREATED_BLOCK_ID_ASC', - PortfolioMovementsByToIdMaxCreatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_MAX_CREATED_BLOCK_ID_DESC', - PortfolioMovementsByToIdMaxFromIdAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_MAX_FROM_ID_ASC', - PortfolioMovementsByToIdMaxFromIdDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_MAX_FROM_ID_DESC', - PortfolioMovementsByToIdMaxIdAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_MAX_ID_ASC', - PortfolioMovementsByToIdMaxIdDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_MAX_ID_DESC', - PortfolioMovementsByToIdMaxMemoAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_MAX_MEMO_ASC', - PortfolioMovementsByToIdMaxMemoDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_MAX_MEMO_DESC', - PortfolioMovementsByToIdMaxNftIdsAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_MAX_NFT_IDS_ASC', - PortfolioMovementsByToIdMaxNftIdsDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_MAX_NFT_IDS_DESC', - PortfolioMovementsByToIdMaxToIdAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_MAX_TO_ID_ASC', - PortfolioMovementsByToIdMaxToIdDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_MAX_TO_ID_DESC', - PortfolioMovementsByToIdMaxTypeAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_MAX_TYPE_ASC', - PortfolioMovementsByToIdMaxTypeDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_MAX_TYPE_DESC', - PortfolioMovementsByToIdMaxUpdatedAtAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_MAX_UPDATED_AT_ASC', - PortfolioMovementsByToIdMaxUpdatedAtDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_MAX_UPDATED_AT_DESC', - PortfolioMovementsByToIdMaxUpdatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_MAX_UPDATED_BLOCK_ID_ASC', - PortfolioMovementsByToIdMaxUpdatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_MAX_UPDATED_BLOCK_ID_DESC', - PortfolioMovementsByToIdMinAddressAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_MIN_ADDRESS_ASC', - PortfolioMovementsByToIdMinAddressDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_MIN_ADDRESS_DESC', - PortfolioMovementsByToIdMinAmountAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_MIN_AMOUNT_ASC', - PortfolioMovementsByToIdMinAmountDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_MIN_AMOUNT_DESC', - PortfolioMovementsByToIdMinAssetIdAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_MIN_ASSET_ID_ASC', - PortfolioMovementsByToIdMinAssetIdDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_MIN_ASSET_ID_DESC', - PortfolioMovementsByToIdMinCreatedAtAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_MIN_CREATED_AT_ASC', - PortfolioMovementsByToIdMinCreatedAtDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_MIN_CREATED_AT_DESC', - PortfolioMovementsByToIdMinCreatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_MIN_CREATED_BLOCK_ID_ASC', - PortfolioMovementsByToIdMinCreatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_MIN_CREATED_BLOCK_ID_DESC', - PortfolioMovementsByToIdMinFromIdAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_MIN_FROM_ID_ASC', - PortfolioMovementsByToIdMinFromIdDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_MIN_FROM_ID_DESC', - PortfolioMovementsByToIdMinIdAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_MIN_ID_ASC', - PortfolioMovementsByToIdMinIdDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_MIN_ID_DESC', - PortfolioMovementsByToIdMinMemoAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_MIN_MEMO_ASC', - PortfolioMovementsByToIdMinMemoDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_MIN_MEMO_DESC', - PortfolioMovementsByToIdMinNftIdsAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_MIN_NFT_IDS_ASC', - PortfolioMovementsByToIdMinNftIdsDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_MIN_NFT_IDS_DESC', - PortfolioMovementsByToIdMinToIdAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_MIN_TO_ID_ASC', - PortfolioMovementsByToIdMinToIdDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_MIN_TO_ID_DESC', - PortfolioMovementsByToIdMinTypeAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_MIN_TYPE_ASC', - PortfolioMovementsByToIdMinTypeDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_MIN_TYPE_DESC', - PortfolioMovementsByToIdMinUpdatedAtAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_MIN_UPDATED_AT_ASC', - PortfolioMovementsByToIdMinUpdatedAtDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_MIN_UPDATED_AT_DESC', - PortfolioMovementsByToIdMinUpdatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_MIN_UPDATED_BLOCK_ID_ASC', - PortfolioMovementsByToIdMinUpdatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_MIN_UPDATED_BLOCK_ID_DESC', - PortfolioMovementsByToIdStddevPopulationAddressAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_STDDEV_POPULATION_ADDRESS_ASC', - PortfolioMovementsByToIdStddevPopulationAddressDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_STDDEV_POPULATION_ADDRESS_DESC', - PortfolioMovementsByToIdStddevPopulationAmountAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_STDDEV_POPULATION_AMOUNT_ASC', - PortfolioMovementsByToIdStddevPopulationAmountDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_STDDEV_POPULATION_AMOUNT_DESC', - PortfolioMovementsByToIdStddevPopulationAssetIdAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_STDDEV_POPULATION_ASSET_ID_ASC', - PortfolioMovementsByToIdStddevPopulationAssetIdDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_STDDEV_POPULATION_ASSET_ID_DESC', - PortfolioMovementsByToIdStddevPopulationCreatedAtAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_STDDEV_POPULATION_CREATED_AT_ASC', - PortfolioMovementsByToIdStddevPopulationCreatedAtDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_STDDEV_POPULATION_CREATED_AT_DESC', - PortfolioMovementsByToIdStddevPopulationCreatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - PortfolioMovementsByToIdStddevPopulationCreatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - PortfolioMovementsByToIdStddevPopulationFromIdAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_STDDEV_POPULATION_FROM_ID_ASC', - PortfolioMovementsByToIdStddevPopulationFromIdDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_STDDEV_POPULATION_FROM_ID_DESC', - PortfolioMovementsByToIdStddevPopulationIdAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_STDDEV_POPULATION_ID_ASC', - PortfolioMovementsByToIdStddevPopulationIdDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_STDDEV_POPULATION_ID_DESC', - PortfolioMovementsByToIdStddevPopulationMemoAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_STDDEV_POPULATION_MEMO_ASC', - PortfolioMovementsByToIdStddevPopulationMemoDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_STDDEV_POPULATION_MEMO_DESC', - PortfolioMovementsByToIdStddevPopulationNftIdsAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_STDDEV_POPULATION_NFT_IDS_ASC', - PortfolioMovementsByToIdStddevPopulationNftIdsDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_STDDEV_POPULATION_NFT_IDS_DESC', - PortfolioMovementsByToIdStddevPopulationToIdAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_STDDEV_POPULATION_TO_ID_ASC', - PortfolioMovementsByToIdStddevPopulationToIdDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_STDDEV_POPULATION_TO_ID_DESC', - PortfolioMovementsByToIdStddevPopulationTypeAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_STDDEV_POPULATION_TYPE_ASC', - PortfolioMovementsByToIdStddevPopulationTypeDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_STDDEV_POPULATION_TYPE_DESC', - PortfolioMovementsByToIdStddevPopulationUpdatedAtAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - PortfolioMovementsByToIdStddevPopulationUpdatedAtDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - PortfolioMovementsByToIdStddevPopulationUpdatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - PortfolioMovementsByToIdStddevPopulationUpdatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - PortfolioMovementsByToIdStddevSampleAddressAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_STDDEV_SAMPLE_ADDRESS_ASC', - PortfolioMovementsByToIdStddevSampleAddressDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_STDDEV_SAMPLE_ADDRESS_DESC', - PortfolioMovementsByToIdStddevSampleAmountAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_STDDEV_SAMPLE_AMOUNT_ASC', - PortfolioMovementsByToIdStddevSampleAmountDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_STDDEV_SAMPLE_AMOUNT_DESC', - PortfolioMovementsByToIdStddevSampleAssetIdAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_STDDEV_SAMPLE_ASSET_ID_ASC', - PortfolioMovementsByToIdStddevSampleAssetIdDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_STDDEV_SAMPLE_ASSET_ID_DESC', - PortfolioMovementsByToIdStddevSampleCreatedAtAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - PortfolioMovementsByToIdStddevSampleCreatedAtDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - PortfolioMovementsByToIdStddevSampleCreatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - PortfolioMovementsByToIdStddevSampleCreatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - PortfolioMovementsByToIdStddevSampleFromIdAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_STDDEV_SAMPLE_FROM_ID_ASC', - PortfolioMovementsByToIdStddevSampleFromIdDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_STDDEV_SAMPLE_FROM_ID_DESC', - PortfolioMovementsByToIdStddevSampleIdAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_STDDEV_SAMPLE_ID_ASC', - PortfolioMovementsByToIdStddevSampleIdDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_STDDEV_SAMPLE_ID_DESC', - PortfolioMovementsByToIdStddevSampleMemoAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_STDDEV_SAMPLE_MEMO_ASC', - PortfolioMovementsByToIdStddevSampleMemoDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_STDDEV_SAMPLE_MEMO_DESC', - PortfolioMovementsByToIdStddevSampleNftIdsAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_STDDEV_SAMPLE_NFT_IDS_ASC', - PortfolioMovementsByToIdStddevSampleNftIdsDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_STDDEV_SAMPLE_NFT_IDS_DESC', - PortfolioMovementsByToIdStddevSampleToIdAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_STDDEV_SAMPLE_TO_ID_ASC', - PortfolioMovementsByToIdStddevSampleToIdDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_STDDEV_SAMPLE_TO_ID_DESC', - PortfolioMovementsByToIdStddevSampleTypeAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_STDDEV_SAMPLE_TYPE_ASC', - PortfolioMovementsByToIdStddevSampleTypeDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_STDDEV_SAMPLE_TYPE_DESC', - PortfolioMovementsByToIdStddevSampleUpdatedAtAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - PortfolioMovementsByToIdStddevSampleUpdatedAtDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - PortfolioMovementsByToIdStddevSampleUpdatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - PortfolioMovementsByToIdStddevSampleUpdatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - PortfolioMovementsByToIdSumAddressAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_SUM_ADDRESS_ASC', - PortfolioMovementsByToIdSumAddressDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_SUM_ADDRESS_DESC', - PortfolioMovementsByToIdSumAmountAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_SUM_AMOUNT_ASC', - PortfolioMovementsByToIdSumAmountDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_SUM_AMOUNT_DESC', - PortfolioMovementsByToIdSumAssetIdAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_SUM_ASSET_ID_ASC', - PortfolioMovementsByToIdSumAssetIdDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_SUM_ASSET_ID_DESC', - PortfolioMovementsByToIdSumCreatedAtAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_SUM_CREATED_AT_ASC', - PortfolioMovementsByToIdSumCreatedAtDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_SUM_CREATED_AT_DESC', - PortfolioMovementsByToIdSumCreatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_SUM_CREATED_BLOCK_ID_ASC', - PortfolioMovementsByToIdSumCreatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_SUM_CREATED_BLOCK_ID_DESC', - PortfolioMovementsByToIdSumFromIdAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_SUM_FROM_ID_ASC', - PortfolioMovementsByToIdSumFromIdDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_SUM_FROM_ID_DESC', - PortfolioMovementsByToIdSumIdAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_SUM_ID_ASC', - PortfolioMovementsByToIdSumIdDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_SUM_ID_DESC', - PortfolioMovementsByToIdSumMemoAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_SUM_MEMO_ASC', - PortfolioMovementsByToIdSumMemoDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_SUM_MEMO_DESC', - PortfolioMovementsByToIdSumNftIdsAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_SUM_NFT_IDS_ASC', - PortfolioMovementsByToIdSumNftIdsDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_SUM_NFT_IDS_DESC', - PortfolioMovementsByToIdSumToIdAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_SUM_TO_ID_ASC', - PortfolioMovementsByToIdSumToIdDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_SUM_TO_ID_DESC', - PortfolioMovementsByToIdSumTypeAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_SUM_TYPE_ASC', - PortfolioMovementsByToIdSumTypeDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_SUM_TYPE_DESC', - PortfolioMovementsByToIdSumUpdatedAtAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_SUM_UPDATED_AT_ASC', - PortfolioMovementsByToIdSumUpdatedAtDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_SUM_UPDATED_AT_DESC', - PortfolioMovementsByToIdSumUpdatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_SUM_UPDATED_BLOCK_ID_ASC', - PortfolioMovementsByToIdSumUpdatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_SUM_UPDATED_BLOCK_ID_DESC', - PortfolioMovementsByToIdVariancePopulationAddressAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_VARIANCE_POPULATION_ADDRESS_ASC', - PortfolioMovementsByToIdVariancePopulationAddressDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_VARIANCE_POPULATION_ADDRESS_DESC', - PortfolioMovementsByToIdVariancePopulationAmountAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_VARIANCE_POPULATION_AMOUNT_ASC', - PortfolioMovementsByToIdVariancePopulationAmountDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_VARIANCE_POPULATION_AMOUNT_DESC', - PortfolioMovementsByToIdVariancePopulationAssetIdAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_VARIANCE_POPULATION_ASSET_ID_ASC', - PortfolioMovementsByToIdVariancePopulationAssetIdDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_VARIANCE_POPULATION_ASSET_ID_DESC', - PortfolioMovementsByToIdVariancePopulationCreatedAtAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - PortfolioMovementsByToIdVariancePopulationCreatedAtDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - PortfolioMovementsByToIdVariancePopulationCreatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - PortfolioMovementsByToIdVariancePopulationCreatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - PortfolioMovementsByToIdVariancePopulationFromIdAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_VARIANCE_POPULATION_FROM_ID_ASC', - PortfolioMovementsByToIdVariancePopulationFromIdDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_VARIANCE_POPULATION_FROM_ID_DESC', - PortfolioMovementsByToIdVariancePopulationIdAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_VARIANCE_POPULATION_ID_ASC', - PortfolioMovementsByToIdVariancePopulationIdDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_VARIANCE_POPULATION_ID_DESC', - PortfolioMovementsByToIdVariancePopulationMemoAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_VARIANCE_POPULATION_MEMO_ASC', - PortfolioMovementsByToIdVariancePopulationMemoDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_VARIANCE_POPULATION_MEMO_DESC', - PortfolioMovementsByToIdVariancePopulationNftIdsAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_VARIANCE_POPULATION_NFT_IDS_ASC', - PortfolioMovementsByToIdVariancePopulationNftIdsDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_VARIANCE_POPULATION_NFT_IDS_DESC', - PortfolioMovementsByToIdVariancePopulationToIdAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_VARIANCE_POPULATION_TO_ID_ASC', - PortfolioMovementsByToIdVariancePopulationToIdDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_VARIANCE_POPULATION_TO_ID_DESC', - PortfolioMovementsByToIdVariancePopulationTypeAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_VARIANCE_POPULATION_TYPE_ASC', - PortfolioMovementsByToIdVariancePopulationTypeDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_VARIANCE_POPULATION_TYPE_DESC', - PortfolioMovementsByToIdVariancePopulationUpdatedAtAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - PortfolioMovementsByToIdVariancePopulationUpdatedAtDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - PortfolioMovementsByToIdVariancePopulationUpdatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - PortfolioMovementsByToIdVariancePopulationUpdatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - PortfolioMovementsByToIdVarianceSampleAddressAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_VARIANCE_SAMPLE_ADDRESS_ASC', - PortfolioMovementsByToIdVarianceSampleAddressDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_VARIANCE_SAMPLE_ADDRESS_DESC', - PortfolioMovementsByToIdVarianceSampleAmountAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_VARIANCE_SAMPLE_AMOUNT_ASC', - PortfolioMovementsByToIdVarianceSampleAmountDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_VARIANCE_SAMPLE_AMOUNT_DESC', - PortfolioMovementsByToIdVarianceSampleAssetIdAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_VARIANCE_SAMPLE_ASSET_ID_ASC', - PortfolioMovementsByToIdVarianceSampleAssetIdDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_VARIANCE_SAMPLE_ASSET_ID_DESC', - PortfolioMovementsByToIdVarianceSampleCreatedAtAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - PortfolioMovementsByToIdVarianceSampleCreatedAtDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - PortfolioMovementsByToIdVarianceSampleCreatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - PortfolioMovementsByToIdVarianceSampleCreatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - PortfolioMovementsByToIdVarianceSampleFromIdAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_VARIANCE_SAMPLE_FROM_ID_ASC', - PortfolioMovementsByToIdVarianceSampleFromIdDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_VARIANCE_SAMPLE_FROM_ID_DESC', - PortfolioMovementsByToIdVarianceSampleIdAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_VARIANCE_SAMPLE_ID_ASC', - PortfolioMovementsByToIdVarianceSampleIdDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_VARIANCE_SAMPLE_ID_DESC', - PortfolioMovementsByToIdVarianceSampleMemoAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_VARIANCE_SAMPLE_MEMO_ASC', - PortfolioMovementsByToIdVarianceSampleMemoDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_VARIANCE_SAMPLE_MEMO_DESC', - PortfolioMovementsByToIdVarianceSampleNftIdsAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_VARIANCE_SAMPLE_NFT_IDS_ASC', - PortfolioMovementsByToIdVarianceSampleNftIdsDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_VARIANCE_SAMPLE_NFT_IDS_DESC', - PortfolioMovementsByToIdVarianceSampleToIdAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_VARIANCE_SAMPLE_TO_ID_ASC', - PortfolioMovementsByToIdVarianceSampleToIdDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_VARIANCE_SAMPLE_TO_ID_DESC', - PortfolioMovementsByToIdVarianceSampleTypeAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_VARIANCE_SAMPLE_TYPE_ASC', - PortfolioMovementsByToIdVarianceSampleTypeDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_VARIANCE_SAMPLE_TYPE_DESC', - PortfolioMovementsByToIdVarianceSampleUpdatedAtAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - PortfolioMovementsByToIdVarianceSampleUpdatedAtDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - PortfolioMovementsByToIdVarianceSampleUpdatedBlockIdAsc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - PortfolioMovementsByToIdVarianceSampleUpdatedBlockIdDesc = 'PORTFOLIO_MOVEMENTS_BY_TO_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - PrimaryKeyAsc = 'PRIMARY_KEY_ASC', - PrimaryKeyDesc = 'PRIMARY_KEY_DESC', - StosByOfferingPortfolioIdAverageCreatedAtAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_AVERAGE_CREATED_AT_ASC', - StosByOfferingPortfolioIdAverageCreatedAtDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_AVERAGE_CREATED_AT_DESC', - StosByOfferingPortfolioIdAverageCreatedBlockIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - StosByOfferingPortfolioIdAverageCreatedBlockIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - StosByOfferingPortfolioIdAverageCreatorIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_AVERAGE_CREATOR_ID_ASC', - StosByOfferingPortfolioIdAverageCreatorIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_AVERAGE_CREATOR_ID_DESC', - StosByOfferingPortfolioIdAverageEndAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_AVERAGE_END_ASC', - StosByOfferingPortfolioIdAverageEndDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_AVERAGE_END_DESC', - StosByOfferingPortfolioIdAverageIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_AVERAGE_ID_ASC', - StosByOfferingPortfolioIdAverageIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_AVERAGE_ID_DESC', - StosByOfferingPortfolioIdAverageMinimumInvestmentAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_AVERAGE_MINIMUM_INVESTMENT_ASC', - StosByOfferingPortfolioIdAverageMinimumInvestmentDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_AVERAGE_MINIMUM_INVESTMENT_DESC', - StosByOfferingPortfolioIdAverageNameAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_AVERAGE_NAME_ASC', - StosByOfferingPortfolioIdAverageNameDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_AVERAGE_NAME_DESC', - StosByOfferingPortfolioIdAverageOfferingAssetIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_AVERAGE_OFFERING_ASSET_ID_ASC', - StosByOfferingPortfolioIdAverageOfferingAssetIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_AVERAGE_OFFERING_ASSET_ID_DESC', - StosByOfferingPortfolioIdAverageOfferingPortfolioIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_AVERAGE_OFFERING_PORTFOLIO_ID_ASC', - StosByOfferingPortfolioIdAverageOfferingPortfolioIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_AVERAGE_OFFERING_PORTFOLIO_ID_DESC', - StosByOfferingPortfolioIdAverageRaisingAssetIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_AVERAGE_RAISING_ASSET_ID_ASC', - StosByOfferingPortfolioIdAverageRaisingAssetIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_AVERAGE_RAISING_ASSET_ID_DESC', - StosByOfferingPortfolioIdAverageRaisingPortfolioIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_AVERAGE_RAISING_PORTFOLIO_ID_ASC', - StosByOfferingPortfolioIdAverageRaisingPortfolioIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_AVERAGE_RAISING_PORTFOLIO_ID_DESC', - StosByOfferingPortfolioIdAverageStartAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_AVERAGE_START_ASC', - StosByOfferingPortfolioIdAverageStartDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_AVERAGE_START_DESC', - StosByOfferingPortfolioIdAverageStatusAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_AVERAGE_STATUS_ASC', - StosByOfferingPortfolioIdAverageStatusDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_AVERAGE_STATUS_DESC', - StosByOfferingPortfolioIdAverageStoIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_AVERAGE_STO_ID_ASC', - StosByOfferingPortfolioIdAverageStoIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_AVERAGE_STO_ID_DESC', - StosByOfferingPortfolioIdAverageTiersAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_AVERAGE_TIERS_ASC', - StosByOfferingPortfolioIdAverageTiersDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_AVERAGE_TIERS_DESC', - StosByOfferingPortfolioIdAverageUpdatedAtAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_AVERAGE_UPDATED_AT_ASC', - StosByOfferingPortfolioIdAverageUpdatedAtDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_AVERAGE_UPDATED_AT_DESC', - StosByOfferingPortfolioIdAverageUpdatedBlockIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - StosByOfferingPortfolioIdAverageUpdatedBlockIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - StosByOfferingPortfolioIdAverageVenueIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_AVERAGE_VENUE_ID_ASC', - StosByOfferingPortfolioIdAverageVenueIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_AVERAGE_VENUE_ID_DESC', - StosByOfferingPortfolioIdCountAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_COUNT_ASC', - StosByOfferingPortfolioIdCountDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_COUNT_DESC', - StosByOfferingPortfolioIdDistinctCountCreatedAtAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_DISTINCT_COUNT_CREATED_AT_ASC', - StosByOfferingPortfolioIdDistinctCountCreatedAtDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_DISTINCT_COUNT_CREATED_AT_DESC', - StosByOfferingPortfolioIdDistinctCountCreatedBlockIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - StosByOfferingPortfolioIdDistinctCountCreatedBlockIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - StosByOfferingPortfolioIdDistinctCountCreatorIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_DISTINCT_COUNT_CREATOR_ID_ASC', - StosByOfferingPortfolioIdDistinctCountCreatorIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_DISTINCT_COUNT_CREATOR_ID_DESC', - StosByOfferingPortfolioIdDistinctCountEndAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_DISTINCT_COUNT_END_ASC', - StosByOfferingPortfolioIdDistinctCountEndDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_DISTINCT_COUNT_END_DESC', - StosByOfferingPortfolioIdDistinctCountIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_DISTINCT_COUNT_ID_ASC', - StosByOfferingPortfolioIdDistinctCountIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_DISTINCT_COUNT_ID_DESC', - StosByOfferingPortfolioIdDistinctCountMinimumInvestmentAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_DISTINCT_COUNT_MINIMUM_INVESTMENT_ASC', - StosByOfferingPortfolioIdDistinctCountMinimumInvestmentDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_DISTINCT_COUNT_MINIMUM_INVESTMENT_DESC', - StosByOfferingPortfolioIdDistinctCountNameAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_DISTINCT_COUNT_NAME_ASC', - StosByOfferingPortfolioIdDistinctCountNameDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_DISTINCT_COUNT_NAME_DESC', - StosByOfferingPortfolioIdDistinctCountOfferingAssetIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_DISTINCT_COUNT_OFFERING_ASSET_ID_ASC', - StosByOfferingPortfolioIdDistinctCountOfferingAssetIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_DISTINCT_COUNT_OFFERING_ASSET_ID_DESC', - StosByOfferingPortfolioIdDistinctCountOfferingPortfolioIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_DISTINCT_COUNT_OFFERING_PORTFOLIO_ID_ASC', - StosByOfferingPortfolioIdDistinctCountOfferingPortfolioIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_DISTINCT_COUNT_OFFERING_PORTFOLIO_ID_DESC', - StosByOfferingPortfolioIdDistinctCountRaisingAssetIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_DISTINCT_COUNT_RAISING_ASSET_ID_ASC', - StosByOfferingPortfolioIdDistinctCountRaisingAssetIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_DISTINCT_COUNT_RAISING_ASSET_ID_DESC', - StosByOfferingPortfolioIdDistinctCountRaisingPortfolioIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_DISTINCT_COUNT_RAISING_PORTFOLIO_ID_ASC', - StosByOfferingPortfolioIdDistinctCountRaisingPortfolioIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_DISTINCT_COUNT_RAISING_PORTFOLIO_ID_DESC', - StosByOfferingPortfolioIdDistinctCountStartAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_DISTINCT_COUNT_START_ASC', - StosByOfferingPortfolioIdDistinctCountStartDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_DISTINCT_COUNT_START_DESC', - StosByOfferingPortfolioIdDistinctCountStatusAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_DISTINCT_COUNT_STATUS_ASC', - StosByOfferingPortfolioIdDistinctCountStatusDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_DISTINCT_COUNT_STATUS_DESC', - StosByOfferingPortfolioIdDistinctCountStoIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_DISTINCT_COUNT_STO_ID_ASC', - StosByOfferingPortfolioIdDistinctCountStoIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_DISTINCT_COUNT_STO_ID_DESC', - StosByOfferingPortfolioIdDistinctCountTiersAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_DISTINCT_COUNT_TIERS_ASC', - StosByOfferingPortfolioIdDistinctCountTiersDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_DISTINCT_COUNT_TIERS_DESC', - StosByOfferingPortfolioIdDistinctCountUpdatedAtAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - StosByOfferingPortfolioIdDistinctCountUpdatedAtDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - StosByOfferingPortfolioIdDistinctCountUpdatedBlockIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - StosByOfferingPortfolioIdDistinctCountUpdatedBlockIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - StosByOfferingPortfolioIdDistinctCountVenueIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_DISTINCT_COUNT_VENUE_ID_ASC', - StosByOfferingPortfolioIdDistinctCountVenueIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_DISTINCT_COUNT_VENUE_ID_DESC', - StosByOfferingPortfolioIdMaxCreatedAtAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_MAX_CREATED_AT_ASC', - StosByOfferingPortfolioIdMaxCreatedAtDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_MAX_CREATED_AT_DESC', - StosByOfferingPortfolioIdMaxCreatedBlockIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_MAX_CREATED_BLOCK_ID_ASC', - StosByOfferingPortfolioIdMaxCreatedBlockIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_MAX_CREATED_BLOCK_ID_DESC', - StosByOfferingPortfolioIdMaxCreatorIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_MAX_CREATOR_ID_ASC', - StosByOfferingPortfolioIdMaxCreatorIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_MAX_CREATOR_ID_DESC', - StosByOfferingPortfolioIdMaxEndAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_MAX_END_ASC', - StosByOfferingPortfolioIdMaxEndDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_MAX_END_DESC', - StosByOfferingPortfolioIdMaxIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_MAX_ID_ASC', - StosByOfferingPortfolioIdMaxIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_MAX_ID_DESC', - StosByOfferingPortfolioIdMaxMinimumInvestmentAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_MAX_MINIMUM_INVESTMENT_ASC', - StosByOfferingPortfolioIdMaxMinimumInvestmentDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_MAX_MINIMUM_INVESTMENT_DESC', - StosByOfferingPortfolioIdMaxNameAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_MAX_NAME_ASC', - StosByOfferingPortfolioIdMaxNameDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_MAX_NAME_DESC', - StosByOfferingPortfolioIdMaxOfferingAssetIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_MAX_OFFERING_ASSET_ID_ASC', - StosByOfferingPortfolioIdMaxOfferingAssetIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_MAX_OFFERING_ASSET_ID_DESC', - StosByOfferingPortfolioIdMaxOfferingPortfolioIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_MAX_OFFERING_PORTFOLIO_ID_ASC', - StosByOfferingPortfolioIdMaxOfferingPortfolioIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_MAX_OFFERING_PORTFOLIO_ID_DESC', - StosByOfferingPortfolioIdMaxRaisingAssetIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_MAX_RAISING_ASSET_ID_ASC', - StosByOfferingPortfolioIdMaxRaisingAssetIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_MAX_RAISING_ASSET_ID_DESC', - StosByOfferingPortfolioIdMaxRaisingPortfolioIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_MAX_RAISING_PORTFOLIO_ID_ASC', - StosByOfferingPortfolioIdMaxRaisingPortfolioIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_MAX_RAISING_PORTFOLIO_ID_DESC', - StosByOfferingPortfolioIdMaxStartAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_MAX_START_ASC', - StosByOfferingPortfolioIdMaxStartDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_MAX_START_DESC', - StosByOfferingPortfolioIdMaxStatusAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_MAX_STATUS_ASC', - StosByOfferingPortfolioIdMaxStatusDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_MAX_STATUS_DESC', - StosByOfferingPortfolioIdMaxStoIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_MAX_STO_ID_ASC', - StosByOfferingPortfolioIdMaxStoIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_MAX_STO_ID_DESC', - StosByOfferingPortfolioIdMaxTiersAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_MAX_TIERS_ASC', - StosByOfferingPortfolioIdMaxTiersDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_MAX_TIERS_DESC', - StosByOfferingPortfolioIdMaxUpdatedAtAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_MAX_UPDATED_AT_ASC', - StosByOfferingPortfolioIdMaxUpdatedAtDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_MAX_UPDATED_AT_DESC', - StosByOfferingPortfolioIdMaxUpdatedBlockIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_MAX_UPDATED_BLOCK_ID_ASC', - StosByOfferingPortfolioIdMaxUpdatedBlockIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_MAX_UPDATED_BLOCK_ID_DESC', - StosByOfferingPortfolioIdMaxVenueIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_MAX_VENUE_ID_ASC', - StosByOfferingPortfolioIdMaxVenueIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_MAX_VENUE_ID_DESC', - StosByOfferingPortfolioIdMinCreatedAtAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_MIN_CREATED_AT_ASC', - StosByOfferingPortfolioIdMinCreatedAtDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_MIN_CREATED_AT_DESC', - StosByOfferingPortfolioIdMinCreatedBlockIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_MIN_CREATED_BLOCK_ID_ASC', - StosByOfferingPortfolioIdMinCreatedBlockIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_MIN_CREATED_BLOCK_ID_DESC', - StosByOfferingPortfolioIdMinCreatorIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_MIN_CREATOR_ID_ASC', - StosByOfferingPortfolioIdMinCreatorIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_MIN_CREATOR_ID_DESC', - StosByOfferingPortfolioIdMinEndAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_MIN_END_ASC', - StosByOfferingPortfolioIdMinEndDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_MIN_END_DESC', - StosByOfferingPortfolioIdMinIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_MIN_ID_ASC', - StosByOfferingPortfolioIdMinIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_MIN_ID_DESC', - StosByOfferingPortfolioIdMinMinimumInvestmentAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_MIN_MINIMUM_INVESTMENT_ASC', - StosByOfferingPortfolioIdMinMinimumInvestmentDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_MIN_MINIMUM_INVESTMENT_DESC', - StosByOfferingPortfolioIdMinNameAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_MIN_NAME_ASC', - StosByOfferingPortfolioIdMinNameDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_MIN_NAME_DESC', - StosByOfferingPortfolioIdMinOfferingAssetIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_MIN_OFFERING_ASSET_ID_ASC', - StosByOfferingPortfolioIdMinOfferingAssetIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_MIN_OFFERING_ASSET_ID_DESC', - StosByOfferingPortfolioIdMinOfferingPortfolioIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_MIN_OFFERING_PORTFOLIO_ID_ASC', - StosByOfferingPortfolioIdMinOfferingPortfolioIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_MIN_OFFERING_PORTFOLIO_ID_DESC', - StosByOfferingPortfolioIdMinRaisingAssetIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_MIN_RAISING_ASSET_ID_ASC', - StosByOfferingPortfolioIdMinRaisingAssetIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_MIN_RAISING_ASSET_ID_DESC', - StosByOfferingPortfolioIdMinRaisingPortfolioIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_MIN_RAISING_PORTFOLIO_ID_ASC', - StosByOfferingPortfolioIdMinRaisingPortfolioIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_MIN_RAISING_PORTFOLIO_ID_DESC', - StosByOfferingPortfolioIdMinStartAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_MIN_START_ASC', - StosByOfferingPortfolioIdMinStartDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_MIN_START_DESC', - StosByOfferingPortfolioIdMinStatusAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_MIN_STATUS_ASC', - StosByOfferingPortfolioIdMinStatusDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_MIN_STATUS_DESC', - StosByOfferingPortfolioIdMinStoIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_MIN_STO_ID_ASC', - StosByOfferingPortfolioIdMinStoIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_MIN_STO_ID_DESC', - StosByOfferingPortfolioIdMinTiersAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_MIN_TIERS_ASC', - StosByOfferingPortfolioIdMinTiersDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_MIN_TIERS_DESC', - StosByOfferingPortfolioIdMinUpdatedAtAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_MIN_UPDATED_AT_ASC', - StosByOfferingPortfolioIdMinUpdatedAtDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_MIN_UPDATED_AT_DESC', - StosByOfferingPortfolioIdMinUpdatedBlockIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_MIN_UPDATED_BLOCK_ID_ASC', - StosByOfferingPortfolioIdMinUpdatedBlockIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_MIN_UPDATED_BLOCK_ID_DESC', - StosByOfferingPortfolioIdMinVenueIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_MIN_VENUE_ID_ASC', - StosByOfferingPortfolioIdMinVenueIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_MIN_VENUE_ID_DESC', - StosByOfferingPortfolioIdStddevPopulationCreatedAtAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_STDDEV_POPULATION_CREATED_AT_ASC', - StosByOfferingPortfolioIdStddevPopulationCreatedAtDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_STDDEV_POPULATION_CREATED_AT_DESC', - StosByOfferingPortfolioIdStddevPopulationCreatedBlockIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - StosByOfferingPortfolioIdStddevPopulationCreatedBlockIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - StosByOfferingPortfolioIdStddevPopulationCreatorIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_STDDEV_POPULATION_CREATOR_ID_ASC', - StosByOfferingPortfolioIdStddevPopulationCreatorIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_STDDEV_POPULATION_CREATOR_ID_DESC', - StosByOfferingPortfolioIdStddevPopulationEndAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_STDDEV_POPULATION_END_ASC', - StosByOfferingPortfolioIdStddevPopulationEndDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_STDDEV_POPULATION_END_DESC', - StosByOfferingPortfolioIdStddevPopulationIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_STDDEV_POPULATION_ID_ASC', - StosByOfferingPortfolioIdStddevPopulationIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_STDDEV_POPULATION_ID_DESC', - StosByOfferingPortfolioIdStddevPopulationMinimumInvestmentAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_STDDEV_POPULATION_MINIMUM_INVESTMENT_ASC', - StosByOfferingPortfolioIdStddevPopulationMinimumInvestmentDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_STDDEV_POPULATION_MINIMUM_INVESTMENT_DESC', - StosByOfferingPortfolioIdStddevPopulationNameAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_STDDEV_POPULATION_NAME_ASC', - StosByOfferingPortfolioIdStddevPopulationNameDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_STDDEV_POPULATION_NAME_DESC', - StosByOfferingPortfolioIdStddevPopulationOfferingAssetIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_STDDEV_POPULATION_OFFERING_ASSET_ID_ASC', - StosByOfferingPortfolioIdStddevPopulationOfferingAssetIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_STDDEV_POPULATION_OFFERING_ASSET_ID_DESC', - StosByOfferingPortfolioIdStddevPopulationOfferingPortfolioIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_STDDEV_POPULATION_OFFERING_PORTFOLIO_ID_ASC', - StosByOfferingPortfolioIdStddevPopulationOfferingPortfolioIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_STDDEV_POPULATION_OFFERING_PORTFOLIO_ID_DESC', - StosByOfferingPortfolioIdStddevPopulationRaisingAssetIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_STDDEV_POPULATION_RAISING_ASSET_ID_ASC', - StosByOfferingPortfolioIdStddevPopulationRaisingAssetIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_STDDEV_POPULATION_RAISING_ASSET_ID_DESC', - StosByOfferingPortfolioIdStddevPopulationRaisingPortfolioIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_STDDEV_POPULATION_RAISING_PORTFOLIO_ID_ASC', - StosByOfferingPortfolioIdStddevPopulationRaisingPortfolioIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_STDDEV_POPULATION_RAISING_PORTFOLIO_ID_DESC', - StosByOfferingPortfolioIdStddevPopulationStartAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_STDDEV_POPULATION_START_ASC', - StosByOfferingPortfolioIdStddevPopulationStartDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_STDDEV_POPULATION_START_DESC', - StosByOfferingPortfolioIdStddevPopulationStatusAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_STDDEV_POPULATION_STATUS_ASC', - StosByOfferingPortfolioIdStddevPopulationStatusDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_STDDEV_POPULATION_STATUS_DESC', - StosByOfferingPortfolioIdStddevPopulationStoIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_STDDEV_POPULATION_STO_ID_ASC', - StosByOfferingPortfolioIdStddevPopulationStoIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_STDDEV_POPULATION_STO_ID_DESC', - StosByOfferingPortfolioIdStddevPopulationTiersAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_STDDEV_POPULATION_TIERS_ASC', - StosByOfferingPortfolioIdStddevPopulationTiersDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_STDDEV_POPULATION_TIERS_DESC', - StosByOfferingPortfolioIdStddevPopulationUpdatedAtAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - StosByOfferingPortfolioIdStddevPopulationUpdatedAtDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - StosByOfferingPortfolioIdStddevPopulationUpdatedBlockIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - StosByOfferingPortfolioIdStddevPopulationUpdatedBlockIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - StosByOfferingPortfolioIdStddevPopulationVenueIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_STDDEV_POPULATION_VENUE_ID_ASC', - StosByOfferingPortfolioIdStddevPopulationVenueIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_STDDEV_POPULATION_VENUE_ID_DESC', - StosByOfferingPortfolioIdStddevSampleCreatedAtAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - StosByOfferingPortfolioIdStddevSampleCreatedAtDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - StosByOfferingPortfolioIdStddevSampleCreatedBlockIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - StosByOfferingPortfolioIdStddevSampleCreatedBlockIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - StosByOfferingPortfolioIdStddevSampleCreatorIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_STDDEV_SAMPLE_CREATOR_ID_ASC', - StosByOfferingPortfolioIdStddevSampleCreatorIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_STDDEV_SAMPLE_CREATOR_ID_DESC', - StosByOfferingPortfolioIdStddevSampleEndAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_STDDEV_SAMPLE_END_ASC', - StosByOfferingPortfolioIdStddevSampleEndDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_STDDEV_SAMPLE_END_DESC', - StosByOfferingPortfolioIdStddevSampleIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_STDDEV_SAMPLE_ID_ASC', - StosByOfferingPortfolioIdStddevSampleIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_STDDEV_SAMPLE_ID_DESC', - StosByOfferingPortfolioIdStddevSampleMinimumInvestmentAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_STDDEV_SAMPLE_MINIMUM_INVESTMENT_ASC', - StosByOfferingPortfolioIdStddevSampleMinimumInvestmentDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_STDDEV_SAMPLE_MINIMUM_INVESTMENT_DESC', - StosByOfferingPortfolioIdStddevSampleNameAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_STDDEV_SAMPLE_NAME_ASC', - StosByOfferingPortfolioIdStddevSampleNameDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_STDDEV_SAMPLE_NAME_DESC', - StosByOfferingPortfolioIdStddevSampleOfferingAssetIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_STDDEV_SAMPLE_OFFERING_ASSET_ID_ASC', - StosByOfferingPortfolioIdStddevSampleOfferingAssetIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_STDDEV_SAMPLE_OFFERING_ASSET_ID_DESC', - StosByOfferingPortfolioIdStddevSampleOfferingPortfolioIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_STDDEV_SAMPLE_OFFERING_PORTFOLIO_ID_ASC', - StosByOfferingPortfolioIdStddevSampleOfferingPortfolioIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_STDDEV_SAMPLE_OFFERING_PORTFOLIO_ID_DESC', - StosByOfferingPortfolioIdStddevSampleRaisingAssetIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_STDDEV_SAMPLE_RAISING_ASSET_ID_ASC', - StosByOfferingPortfolioIdStddevSampleRaisingAssetIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_STDDEV_SAMPLE_RAISING_ASSET_ID_DESC', - StosByOfferingPortfolioIdStddevSampleRaisingPortfolioIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_STDDEV_SAMPLE_RAISING_PORTFOLIO_ID_ASC', - StosByOfferingPortfolioIdStddevSampleRaisingPortfolioIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_STDDEV_SAMPLE_RAISING_PORTFOLIO_ID_DESC', - StosByOfferingPortfolioIdStddevSampleStartAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_STDDEV_SAMPLE_START_ASC', - StosByOfferingPortfolioIdStddevSampleStartDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_STDDEV_SAMPLE_START_DESC', - StosByOfferingPortfolioIdStddevSampleStatusAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_STDDEV_SAMPLE_STATUS_ASC', - StosByOfferingPortfolioIdStddevSampleStatusDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_STDDEV_SAMPLE_STATUS_DESC', - StosByOfferingPortfolioIdStddevSampleStoIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_STDDEV_SAMPLE_STO_ID_ASC', - StosByOfferingPortfolioIdStddevSampleStoIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_STDDEV_SAMPLE_STO_ID_DESC', - StosByOfferingPortfolioIdStddevSampleTiersAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_STDDEV_SAMPLE_TIERS_ASC', - StosByOfferingPortfolioIdStddevSampleTiersDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_STDDEV_SAMPLE_TIERS_DESC', - StosByOfferingPortfolioIdStddevSampleUpdatedAtAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - StosByOfferingPortfolioIdStddevSampleUpdatedAtDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - StosByOfferingPortfolioIdStddevSampleUpdatedBlockIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - StosByOfferingPortfolioIdStddevSampleUpdatedBlockIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - StosByOfferingPortfolioIdStddevSampleVenueIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_STDDEV_SAMPLE_VENUE_ID_ASC', - StosByOfferingPortfolioIdStddevSampleVenueIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_STDDEV_SAMPLE_VENUE_ID_DESC', - StosByOfferingPortfolioIdSumCreatedAtAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_SUM_CREATED_AT_ASC', - StosByOfferingPortfolioIdSumCreatedAtDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_SUM_CREATED_AT_DESC', - StosByOfferingPortfolioIdSumCreatedBlockIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_SUM_CREATED_BLOCK_ID_ASC', - StosByOfferingPortfolioIdSumCreatedBlockIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_SUM_CREATED_BLOCK_ID_DESC', - StosByOfferingPortfolioIdSumCreatorIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_SUM_CREATOR_ID_ASC', - StosByOfferingPortfolioIdSumCreatorIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_SUM_CREATOR_ID_DESC', - StosByOfferingPortfolioIdSumEndAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_SUM_END_ASC', - StosByOfferingPortfolioIdSumEndDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_SUM_END_DESC', - StosByOfferingPortfolioIdSumIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_SUM_ID_ASC', - StosByOfferingPortfolioIdSumIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_SUM_ID_DESC', - StosByOfferingPortfolioIdSumMinimumInvestmentAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_SUM_MINIMUM_INVESTMENT_ASC', - StosByOfferingPortfolioIdSumMinimumInvestmentDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_SUM_MINIMUM_INVESTMENT_DESC', - StosByOfferingPortfolioIdSumNameAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_SUM_NAME_ASC', - StosByOfferingPortfolioIdSumNameDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_SUM_NAME_DESC', - StosByOfferingPortfolioIdSumOfferingAssetIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_SUM_OFFERING_ASSET_ID_ASC', - StosByOfferingPortfolioIdSumOfferingAssetIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_SUM_OFFERING_ASSET_ID_DESC', - StosByOfferingPortfolioIdSumOfferingPortfolioIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_SUM_OFFERING_PORTFOLIO_ID_ASC', - StosByOfferingPortfolioIdSumOfferingPortfolioIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_SUM_OFFERING_PORTFOLIO_ID_DESC', - StosByOfferingPortfolioIdSumRaisingAssetIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_SUM_RAISING_ASSET_ID_ASC', - StosByOfferingPortfolioIdSumRaisingAssetIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_SUM_RAISING_ASSET_ID_DESC', - StosByOfferingPortfolioIdSumRaisingPortfolioIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_SUM_RAISING_PORTFOLIO_ID_ASC', - StosByOfferingPortfolioIdSumRaisingPortfolioIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_SUM_RAISING_PORTFOLIO_ID_DESC', - StosByOfferingPortfolioIdSumStartAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_SUM_START_ASC', - StosByOfferingPortfolioIdSumStartDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_SUM_START_DESC', - StosByOfferingPortfolioIdSumStatusAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_SUM_STATUS_ASC', - StosByOfferingPortfolioIdSumStatusDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_SUM_STATUS_DESC', - StosByOfferingPortfolioIdSumStoIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_SUM_STO_ID_ASC', - StosByOfferingPortfolioIdSumStoIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_SUM_STO_ID_DESC', - StosByOfferingPortfolioIdSumTiersAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_SUM_TIERS_ASC', - StosByOfferingPortfolioIdSumTiersDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_SUM_TIERS_DESC', - StosByOfferingPortfolioIdSumUpdatedAtAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_SUM_UPDATED_AT_ASC', - StosByOfferingPortfolioIdSumUpdatedAtDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_SUM_UPDATED_AT_DESC', - StosByOfferingPortfolioIdSumUpdatedBlockIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_SUM_UPDATED_BLOCK_ID_ASC', - StosByOfferingPortfolioIdSumUpdatedBlockIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_SUM_UPDATED_BLOCK_ID_DESC', - StosByOfferingPortfolioIdSumVenueIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_SUM_VENUE_ID_ASC', - StosByOfferingPortfolioIdSumVenueIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_SUM_VENUE_ID_DESC', - StosByOfferingPortfolioIdVariancePopulationCreatedAtAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - StosByOfferingPortfolioIdVariancePopulationCreatedAtDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - StosByOfferingPortfolioIdVariancePopulationCreatedBlockIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - StosByOfferingPortfolioIdVariancePopulationCreatedBlockIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - StosByOfferingPortfolioIdVariancePopulationCreatorIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_VARIANCE_POPULATION_CREATOR_ID_ASC', - StosByOfferingPortfolioIdVariancePopulationCreatorIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_VARIANCE_POPULATION_CREATOR_ID_DESC', - StosByOfferingPortfolioIdVariancePopulationEndAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_VARIANCE_POPULATION_END_ASC', - StosByOfferingPortfolioIdVariancePopulationEndDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_VARIANCE_POPULATION_END_DESC', - StosByOfferingPortfolioIdVariancePopulationIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_VARIANCE_POPULATION_ID_ASC', - StosByOfferingPortfolioIdVariancePopulationIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_VARIANCE_POPULATION_ID_DESC', - StosByOfferingPortfolioIdVariancePopulationMinimumInvestmentAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_VARIANCE_POPULATION_MINIMUM_INVESTMENT_ASC', - StosByOfferingPortfolioIdVariancePopulationMinimumInvestmentDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_VARIANCE_POPULATION_MINIMUM_INVESTMENT_DESC', - StosByOfferingPortfolioIdVariancePopulationNameAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_VARIANCE_POPULATION_NAME_ASC', - StosByOfferingPortfolioIdVariancePopulationNameDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_VARIANCE_POPULATION_NAME_DESC', - StosByOfferingPortfolioIdVariancePopulationOfferingAssetIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_VARIANCE_POPULATION_OFFERING_ASSET_ID_ASC', - StosByOfferingPortfolioIdVariancePopulationOfferingAssetIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_VARIANCE_POPULATION_OFFERING_ASSET_ID_DESC', - StosByOfferingPortfolioIdVariancePopulationOfferingPortfolioIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_VARIANCE_POPULATION_OFFERING_PORTFOLIO_ID_ASC', - StosByOfferingPortfolioIdVariancePopulationOfferingPortfolioIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_VARIANCE_POPULATION_OFFERING_PORTFOLIO_ID_DESC', - StosByOfferingPortfolioIdVariancePopulationRaisingAssetIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_VARIANCE_POPULATION_RAISING_ASSET_ID_ASC', - StosByOfferingPortfolioIdVariancePopulationRaisingAssetIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_VARIANCE_POPULATION_RAISING_ASSET_ID_DESC', - StosByOfferingPortfolioIdVariancePopulationRaisingPortfolioIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_VARIANCE_POPULATION_RAISING_PORTFOLIO_ID_ASC', - StosByOfferingPortfolioIdVariancePopulationRaisingPortfolioIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_VARIANCE_POPULATION_RAISING_PORTFOLIO_ID_DESC', - StosByOfferingPortfolioIdVariancePopulationStartAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_VARIANCE_POPULATION_START_ASC', - StosByOfferingPortfolioIdVariancePopulationStartDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_VARIANCE_POPULATION_START_DESC', - StosByOfferingPortfolioIdVariancePopulationStatusAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_VARIANCE_POPULATION_STATUS_ASC', - StosByOfferingPortfolioIdVariancePopulationStatusDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_VARIANCE_POPULATION_STATUS_DESC', - StosByOfferingPortfolioIdVariancePopulationStoIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_VARIANCE_POPULATION_STO_ID_ASC', - StosByOfferingPortfolioIdVariancePopulationStoIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_VARIANCE_POPULATION_STO_ID_DESC', - StosByOfferingPortfolioIdVariancePopulationTiersAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_VARIANCE_POPULATION_TIERS_ASC', - StosByOfferingPortfolioIdVariancePopulationTiersDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_VARIANCE_POPULATION_TIERS_DESC', - StosByOfferingPortfolioIdVariancePopulationUpdatedAtAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - StosByOfferingPortfolioIdVariancePopulationUpdatedAtDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - StosByOfferingPortfolioIdVariancePopulationUpdatedBlockIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - StosByOfferingPortfolioIdVariancePopulationUpdatedBlockIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - StosByOfferingPortfolioIdVariancePopulationVenueIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_VARIANCE_POPULATION_VENUE_ID_ASC', - StosByOfferingPortfolioIdVariancePopulationVenueIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_VARIANCE_POPULATION_VENUE_ID_DESC', - StosByOfferingPortfolioIdVarianceSampleCreatedAtAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - StosByOfferingPortfolioIdVarianceSampleCreatedAtDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - StosByOfferingPortfolioIdVarianceSampleCreatedBlockIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - StosByOfferingPortfolioIdVarianceSampleCreatedBlockIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - StosByOfferingPortfolioIdVarianceSampleCreatorIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_VARIANCE_SAMPLE_CREATOR_ID_ASC', - StosByOfferingPortfolioIdVarianceSampleCreatorIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_VARIANCE_SAMPLE_CREATOR_ID_DESC', - StosByOfferingPortfolioIdVarianceSampleEndAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_VARIANCE_SAMPLE_END_ASC', - StosByOfferingPortfolioIdVarianceSampleEndDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_VARIANCE_SAMPLE_END_DESC', - StosByOfferingPortfolioIdVarianceSampleIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_VARIANCE_SAMPLE_ID_ASC', - StosByOfferingPortfolioIdVarianceSampleIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_VARIANCE_SAMPLE_ID_DESC', - StosByOfferingPortfolioIdVarianceSampleMinimumInvestmentAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_VARIANCE_SAMPLE_MINIMUM_INVESTMENT_ASC', - StosByOfferingPortfolioIdVarianceSampleMinimumInvestmentDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_VARIANCE_SAMPLE_MINIMUM_INVESTMENT_DESC', - StosByOfferingPortfolioIdVarianceSampleNameAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_VARIANCE_SAMPLE_NAME_ASC', - StosByOfferingPortfolioIdVarianceSampleNameDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_VARIANCE_SAMPLE_NAME_DESC', - StosByOfferingPortfolioIdVarianceSampleOfferingAssetIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_VARIANCE_SAMPLE_OFFERING_ASSET_ID_ASC', - StosByOfferingPortfolioIdVarianceSampleOfferingAssetIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_VARIANCE_SAMPLE_OFFERING_ASSET_ID_DESC', - StosByOfferingPortfolioIdVarianceSampleOfferingPortfolioIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_VARIANCE_SAMPLE_OFFERING_PORTFOLIO_ID_ASC', - StosByOfferingPortfolioIdVarianceSampleOfferingPortfolioIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_VARIANCE_SAMPLE_OFFERING_PORTFOLIO_ID_DESC', - StosByOfferingPortfolioIdVarianceSampleRaisingAssetIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_VARIANCE_SAMPLE_RAISING_ASSET_ID_ASC', - StosByOfferingPortfolioIdVarianceSampleRaisingAssetIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_VARIANCE_SAMPLE_RAISING_ASSET_ID_DESC', - StosByOfferingPortfolioIdVarianceSampleRaisingPortfolioIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_VARIANCE_SAMPLE_RAISING_PORTFOLIO_ID_ASC', - StosByOfferingPortfolioIdVarianceSampleRaisingPortfolioIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_VARIANCE_SAMPLE_RAISING_PORTFOLIO_ID_DESC', - StosByOfferingPortfolioIdVarianceSampleStartAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_VARIANCE_SAMPLE_START_ASC', - StosByOfferingPortfolioIdVarianceSampleStartDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_VARIANCE_SAMPLE_START_DESC', - StosByOfferingPortfolioIdVarianceSampleStatusAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_VARIANCE_SAMPLE_STATUS_ASC', - StosByOfferingPortfolioIdVarianceSampleStatusDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_VARIANCE_SAMPLE_STATUS_DESC', - StosByOfferingPortfolioIdVarianceSampleStoIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_VARIANCE_SAMPLE_STO_ID_ASC', - StosByOfferingPortfolioIdVarianceSampleStoIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_VARIANCE_SAMPLE_STO_ID_DESC', - StosByOfferingPortfolioIdVarianceSampleTiersAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_VARIANCE_SAMPLE_TIERS_ASC', - StosByOfferingPortfolioIdVarianceSampleTiersDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_VARIANCE_SAMPLE_TIERS_DESC', - StosByOfferingPortfolioIdVarianceSampleUpdatedAtAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - StosByOfferingPortfolioIdVarianceSampleUpdatedAtDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - StosByOfferingPortfolioIdVarianceSampleUpdatedBlockIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - StosByOfferingPortfolioIdVarianceSampleUpdatedBlockIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - StosByOfferingPortfolioIdVarianceSampleVenueIdAsc = 'STOS_BY_OFFERING_PORTFOLIO_ID_VARIANCE_SAMPLE_VENUE_ID_ASC', - StosByOfferingPortfolioIdVarianceSampleVenueIdDesc = 'STOS_BY_OFFERING_PORTFOLIO_ID_VARIANCE_SAMPLE_VENUE_ID_DESC', - StosByRaisingPortfolioIdAverageCreatedAtAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_AVERAGE_CREATED_AT_ASC', - StosByRaisingPortfolioIdAverageCreatedAtDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_AVERAGE_CREATED_AT_DESC', - StosByRaisingPortfolioIdAverageCreatedBlockIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_AVERAGE_CREATED_BLOCK_ID_ASC', - StosByRaisingPortfolioIdAverageCreatedBlockIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_AVERAGE_CREATED_BLOCK_ID_DESC', - StosByRaisingPortfolioIdAverageCreatorIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_AVERAGE_CREATOR_ID_ASC', - StosByRaisingPortfolioIdAverageCreatorIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_AVERAGE_CREATOR_ID_DESC', - StosByRaisingPortfolioIdAverageEndAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_AVERAGE_END_ASC', - StosByRaisingPortfolioIdAverageEndDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_AVERAGE_END_DESC', - StosByRaisingPortfolioIdAverageIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_AVERAGE_ID_ASC', - StosByRaisingPortfolioIdAverageIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_AVERAGE_ID_DESC', - StosByRaisingPortfolioIdAverageMinimumInvestmentAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_AVERAGE_MINIMUM_INVESTMENT_ASC', - StosByRaisingPortfolioIdAverageMinimumInvestmentDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_AVERAGE_MINIMUM_INVESTMENT_DESC', - StosByRaisingPortfolioIdAverageNameAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_AVERAGE_NAME_ASC', - StosByRaisingPortfolioIdAverageNameDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_AVERAGE_NAME_DESC', - StosByRaisingPortfolioIdAverageOfferingAssetIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_AVERAGE_OFFERING_ASSET_ID_ASC', - StosByRaisingPortfolioIdAverageOfferingAssetIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_AVERAGE_OFFERING_ASSET_ID_DESC', - StosByRaisingPortfolioIdAverageOfferingPortfolioIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_AVERAGE_OFFERING_PORTFOLIO_ID_ASC', - StosByRaisingPortfolioIdAverageOfferingPortfolioIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_AVERAGE_OFFERING_PORTFOLIO_ID_DESC', - StosByRaisingPortfolioIdAverageRaisingAssetIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_AVERAGE_RAISING_ASSET_ID_ASC', - StosByRaisingPortfolioIdAverageRaisingAssetIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_AVERAGE_RAISING_ASSET_ID_DESC', - StosByRaisingPortfolioIdAverageRaisingPortfolioIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_AVERAGE_RAISING_PORTFOLIO_ID_ASC', - StosByRaisingPortfolioIdAverageRaisingPortfolioIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_AVERAGE_RAISING_PORTFOLIO_ID_DESC', - StosByRaisingPortfolioIdAverageStartAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_AVERAGE_START_ASC', - StosByRaisingPortfolioIdAverageStartDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_AVERAGE_START_DESC', - StosByRaisingPortfolioIdAverageStatusAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_AVERAGE_STATUS_ASC', - StosByRaisingPortfolioIdAverageStatusDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_AVERAGE_STATUS_DESC', - StosByRaisingPortfolioIdAverageStoIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_AVERAGE_STO_ID_ASC', - StosByRaisingPortfolioIdAverageStoIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_AVERAGE_STO_ID_DESC', - StosByRaisingPortfolioIdAverageTiersAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_AVERAGE_TIERS_ASC', - StosByRaisingPortfolioIdAverageTiersDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_AVERAGE_TIERS_DESC', - StosByRaisingPortfolioIdAverageUpdatedAtAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_AVERAGE_UPDATED_AT_ASC', - StosByRaisingPortfolioIdAverageUpdatedAtDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_AVERAGE_UPDATED_AT_DESC', - StosByRaisingPortfolioIdAverageUpdatedBlockIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_AVERAGE_UPDATED_BLOCK_ID_ASC', - StosByRaisingPortfolioIdAverageUpdatedBlockIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_AVERAGE_UPDATED_BLOCK_ID_DESC', - StosByRaisingPortfolioIdAverageVenueIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_AVERAGE_VENUE_ID_ASC', - StosByRaisingPortfolioIdAverageVenueIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_AVERAGE_VENUE_ID_DESC', - StosByRaisingPortfolioIdCountAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_COUNT_ASC', - StosByRaisingPortfolioIdCountDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_COUNT_DESC', - StosByRaisingPortfolioIdDistinctCountCreatedAtAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_DISTINCT_COUNT_CREATED_AT_ASC', - StosByRaisingPortfolioIdDistinctCountCreatedAtDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_DISTINCT_COUNT_CREATED_AT_DESC', - StosByRaisingPortfolioIdDistinctCountCreatedBlockIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - StosByRaisingPortfolioIdDistinctCountCreatedBlockIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - StosByRaisingPortfolioIdDistinctCountCreatorIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_DISTINCT_COUNT_CREATOR_ID_ASC', - StosByRaisingPortfolioIdDistinctCountCreatorIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_DISTINCT_COUNT_CREATOR_ID_DESC', - StosByRaisingPortfolioIdDistinctCountEndAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_DISTINCT_COUNT_END_ASC', - StosByRaisingPortfolioIdDistinctCountEndDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_DISTINCT_COUNT_END_DESC', - StosByRaisingPortfolioIdDistinctCountIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_DISTINCT_COUNT_ID_ASC', - StosByRaisingPortfolioIdDistinctCountIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_DISTINCT_COUNT_ID_DESC', - StosByRaisingPortfolioIdDistinctCountMinimumInvestmentAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_DISTINCT_COUNT_MINIMUM_INVESTMENT_ASC', - StosByRaisingPortfolioIdDistinctCountMinimumInvestmentDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_DISTINCT_COUNT_MINIMUM_INVESTMENT_DESC', - StosByRaisingPortfolioIdDistinctCountNameAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_DISTINCT_COUNT_NAME_ASC', - StosByRaisingPortfolioIdDistinctCountNameDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_DISTINCT_COUNT_NAME_DESC', - StosByRaisingPortfolioIdDistinctCountOfferingAssetIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_DISTINCT_COUNT_OFFERING_ASSET_ID_ASC', - StosByRaisingPortfolioIdDistinctCountOfferingAssetIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_DISTINCT_COUNT_OFFERING_ASSET_ID_DESC', - StosByRaisingPortfolioIdDistinctCountOfferingPortfolioIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_DISTINCT_COUNT_OFFERING_PORTFOLIO_ID_ASC', - StosByRaisingPortfolioIdDistinctCountOfferingPortfolioIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_DISTINCT_COUNT_OFFERING_PORTFOLIO_ID_DESC', - StosByRaisingPortfolioIdDistinctCountRaisingAssetIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_DISTINCT_COUNT_RAISING_ASSET_ID_ASC', - StosByRaisingPortfolioIdDistinctCountRaisingAssetIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_DISTINCT_COUNT_RAISING_ASSET_ID_DESC', - StosByRaisingPortfolioIdDistinctCountRaisingPortfolioIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_DISTINCT_COUNT_RAISING_PORTFOLIO_ID_ASC', - StosByRaisingPortfolioIdDistinctCountRaisingPortfolioIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_DISTINCT_COUNT_RAISING_PORTFOLIO_ID_DESC', - StosByRaisingPortfolioIdDistinctCountStartAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_DISTINCT_COUNT_START_ASC', - StosByRaisingPortfolioIdDistinctCountStartDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_DISTINCT_COUNT_START_DESC', - StosByRaisingPortfolioIdDistinctCountStatusAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_DISTINCT_COUNT_STATUS_ASC', - StosByRaisingPortfolioIdDistinctCountStatusDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_DISTINCT_COUNT_STATUS_DESC', - StosByRaisingPortfolioIdDistinctCountStoIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_DISTINCT_COUNT_STO_ID_ASC', - StosByRaisingPortfolioIdDistinctCountStoIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_DISTINCT_COUNT_STO_ID_DESC', - StosByRaisingPortfolioIdDistinctCountTiersAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_DISTINCT_COUNT_TIERS_ASC', - StosByRaisingPortfolioIdDistinctCountTiersDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_DISTINCT_COUNT_TIERS_DESC', - StosByRaisingPortfolioIdDistinctCountUpdatedAtAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_DISTINCT_COUNT_UPDATED_AT_ASC', - StosByRaisingPortfolioIdDistinctCountUpdatedAtDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_DISTINCT_COUNT_UPDATED_AT_DESC', - StosByRaisingPortfolioIdDistinctCountUpdatedBlockIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - StosByRaisingPortfolioIdDistinctCountUpdatedBlockIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - StosByRaisingPortfolioIdDistinctCountVenueIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_DISTINCT_COUNT_VENUE_ID_ASC', - StosByRaisingPortfolioIdDistinctCountVenueIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_DISTINCT_COUNT_VENUE_ID_DESC', - StosByRaisingPortfolioIdMaxCreatedAtAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_MAX_CREATED_AT_ASC', - StosByRaisingPortfolioIdMaxCreatedAtDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_MAX_CREATED_AT_DESC', - StosByRaisingPortfolioIdMaxCreatedBlockIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_MAX_CREATED_BLOCK_ID_ASC', - StosByRaisingPortfolioIdMaxCreatedBlockIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_MAX_CREATED_BLOCK_ID_DESC', - StosByRaisingPortfolioIdMaxCreatorIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_MAX_CREATOR_ID_ASC', - StosByRaisingPortfolioIdMaxCreatorIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_MAX_CREATOR_ID_DESC', - StosByRaisingPortfolioIdMaxEndAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_MAX_END_ASC', - StosByRaisingPortfolioIdMaxEndDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_MAX_END_DESC', - StosByRaisingPortfolioIdMaxIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_MAX_ID_ASC', - StosByRaisingPortfolioIdMaxIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_MAX_ID_DESC', - StosByRaisingPortfolioIdMaxMinimumInvestmentAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_MAX_MINIMUM_INVESTMENT_ASC', - StosByRaisingPortfolioIdMaxMinimumInvestmentDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_MAX_MINIMUM_INVESTMENT_DESC', - StosByRaisingPortfolioIdMaxNameAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_MAX_NAME_ASC', - StosByRaisingPortfolioIdMaxNameDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_MAX_NAME_DESC', - StosByRaisingPortfolioIdMaxOfferingAssetIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_MAX_OFFERING_ASSET_ID_ASC', - StosByRaisingPortfolioIdMaxOfferingAssetIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_MAX_OFFERING_ASSET_ID_DESC', - StosByRaisingPortfolioIdMaxOfferingPortfolioIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_MAX_OFFERING_PORTFOLIO_ID_ASC', - StosByRaisingPortfolioIdMaxOfferingPortfolioIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_MAX_OFFERING_PORTFOLIO_ID_DESC', - StosByRaisingPortfolioIdMaxRaisingAssetIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_MAX_RAISING_ASSET_ID_ASC', - StosByRaisingPortfolioIdMaxRaisingAssetIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_MAX_RAISING_ASSET_ID_DESC', - StosByRaisingPortfolioIdMaxRaisingPortfolioIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_MAX_RAISING_PORTFOLIO_ID_ASC', - StosByRaisingPortfolioIdMaxRaisingPortfolioIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_MAX_RAISING_PORTFOLIO_ID_DESC', - StosByRaisingPortfolioIdMaxStartAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_MAX_START_ASC', - StosByRaisingPortfolioIdMaxStartDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_MAX_START_DESC', - StosByRaisingPortfolioIdMaxStatusAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_MAX_STATUS_ASC', - StosByRaisingPortfolioIdMaxStatusDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_MAX_STATUS_DESC', - StosByRaisingPortfolioIdMaxStoIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_MAX_STO_ID_ASC', - StosByRaisingPortfolioIdMaxStoIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_MAX_STO_ID_DESC', - StosByRaisingPortfolioIdMaxTiersAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_MAX_TIERS_ASC', - StosByRaisingPortfolioIdMaxTiersDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_MAX_TIERS_DESC', - StosByRaisingPortfolioIdMaxUpdatedAtAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_MAX_UPDATED_AT_ASC', - StosByRaisingPortfolioIdMaxUpdatedAtDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_MAX_UPDATED_AT_DESC', - StosByRaisingPortfolioIdMaxUpdatedBlockIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_MAX_UPDATED_BLOCK_ID_ASC', - StosByRaisingPortfolioIdMaxUpdatedBlockIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_MAX_UPDATED_BLOCK_ID_DESC', - StosByRaisingPortfolioIdMaxVenueIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_MAX_VENUE_ID_ASC', - StosByRaisingPortfolioIdMaxVenueIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_MAX_VENUE_ID_DESC', - StosByRaisingPortfolioIdMinCreatedAtAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_MIN_CREATED_AT_ASC', - StosByRaisingPortfolioIdMinCreatedAtDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_MIN_CREATED_AT_DESC', - StosByRaisingPortfolioIdMinCreatedBlockIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_MIN_CREATED_BLOCK_ID_ASC', - StosByRaisingPortfolioIdMinCreatedBlockIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_MIN_CREATED_BLOCK_ID_DESC', - StosByRaisingPortfolioIdMinCreatorIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_MIN_CREATOR_ID_ASC', - StosByRaisingPortfolioIdMinCreatorIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_MIN_CREATOR_ID_DESC', - StosByRaisingPortfolioIdMinEndAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_MIN_END_ASC', - StosByRaisingPortfolioIdMinEndDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_MIN_END_DESC', - StosByRaisingPortfolioIdMinIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_MIN_ID_ASC', - StosByRaisingPortfolioIdMinIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_MIN_ID_DESC', - StosByRaisingPortfolioIdMinMinimumInvestmentAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_MIN_MINIMUM_INVESTMENT_ASC', - StosByRaisingPortfolioIdMinMinimumInvestmentDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_MIN_MINIMUM_INVESTMENT_DESC', - StosByRaisingPortfolioIdMinNameAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_MIN_NAME_ASC', - StosByRaisingPortfolioIdMinNameDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_MIN_NAME_DESC', - StosByRaisingPortfolioIdMinOfferingAssetIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_MIN_OFFERING_ASSET_ID_ASC', - StosByRaisingPortfolioIdMinOfferingAssetIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_MIN_OFFERING_ASSET_ID_DESC', - StosByRaisingPortfolioIdMinOfferingPortfolioIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_MIN_OFFERING_PORTFOLIO_ID_ASC', - StosByRaisingPortfolioIdMinOfferingPortfolioIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_MIN_OFFERING_PORTFOLIO_ID_DESC', - StosByRaisingPortfolioIdMinRaisingAssetIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_MIN_RAISING_ASSET_ID_ASC', - StosByRaisingPortfolioIdMinRaisingAssetIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_MIN_RAISING_ASSET_ID_DESC', - StosByRaisingPortfolioIdMinRaisingPortfolioIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_MIN_RAISING_PORTFOLIO_ID_ASC', - StosByRaisingPortfolioIdMinRaisingPortfolioIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_MIN_RAISING_PORTFOLIO_ID_DESC', - StosByRaisingPortfolioIdMinStartAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_MIN_START_ASC', - StosByRaisingPortfolioIdMinStartDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_MIN_START_DESC', - StosByRaisingPortfolioIdMinStatusAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_MIN_STATUS_ASC', - StosByRaisingPortfolioIdMinStatusDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_MIN_STATUS_DESC', - StosByRaisingPortfolioIdMinStoIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_MIN_STO_ID_ASC', - StosByRaisingPortfolioIdMinStoIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_MIN_STO_ID_DESC', - StosByRaisingPortfolioIdMinTiersAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_MIN_TIERS_ASC', - StosByRaisingPortfolioIdMinTiersDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_MIN_TIERS_DESC', - StosByRaisingPortfolioIdMinUpdatedAtAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_MIN_UPDATED_AT_ASC', - StosByRaisingPortfolioIdMinUpdatedAtDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_MIN_UPDATED_AT_DESC', - StosByRaisingPortfolioIdMinUpdatedBlockIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_MIN_UPDATED_BLOCK_ID_ASC', - StosByRaisingPortfolioIdMinUpdatedBlockIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_MIN_UPDATED_BLOCK_ID_DESC', - StosByRaisingPortfolioIdMinVenueIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_MIN_VENUE_ID_ASC', - StosByRaisingPortfolioIdMinVenueIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_MIN_VENUE_ID_DESC', - StosByRaisingPortfolioIdStddevPopulationCreatedAtAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_STDDEV_POPULATION_CREATED_AT_ASC', - StosByRaisingPortfolioIdStddevPopulationCreatedAtDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_STDDEV_POPULATION_CREATED_AT_DESC', - StosByRaisingPortfolioIdStddevPopulationCreatedBlockIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - StosByRaisingPortfolioIdStddevPopulationCreatedBlockIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - StosByRaisingPortfolioIdStddevPopulationCreatorIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_STDDEV_POPULATION_CREATOR_ID_ASC', - StosByRaisingPortfolioIdStddevPopulationCreatorIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_STDDEV_POPULATION_CREATOR_ID_DESC', - StosByRaisingPortfolioIdStddevPopulationEndAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_STDDEV_POPULATION_END_ASC', - StosByRaisingPortfolioIdStddevPopulationEndDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_STDDEV_POPULATION_END_DESC', - StosByRaisingPortfolioIdStddevPopulationIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_STDDEV_POPULATION_ID_ASC', - StosByRaisingPortfolioIdStddevPopulationIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_STDDEV_POPULATION_ID_DESC', - StosByRaisingPortfolioIdStddevPopulationMinimumInvestmentAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_STDDEV_POPULATION_MINIMUM_INVESTMENT_ASC', - StosByRaisingPortfolioIdStddevPopulationMinimumInvestmentDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_STDDEV_POPULATION_MINIMUM_INVESTMENT_DESC', - StosByRaisingPortfolioIdStddevPopulationNameAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_STDDEV_POPULATION_NAME_ASC', - StosByRaisingPortfolioIdStddevPopulationNameDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_STDDEV_POPULATION_NAME_DESC', - StosByRaisingPortfolioIdStddevPopulationOfferingAssetIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_STDDEV_POPULATION_OFFERING_ASSET_ID_ASC', - StosByRaisingPortfolioIdStddevPopulationOfferingAssetIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_STDDEV_POPULATION_OFFERING_ASSET_ID_DESC', - StosByRaisingPortfolioIdStddevPopulationOfferingPortfolioIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_STDDEV_POPULATION_OFFERING_PORTFOLIO_ID_ASC', - StosByRaisingPortfolioIdStddevPopulationOfferingPortfolioIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_STDDEV_POPULATION_OFFERING_PORTFOLIO_ID_DESC', - StosByRaisingPortfolioIdStddevPopulationRaisingAssetIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_STDDEV_POPULATION_RAISING_ASSET_ID_ASC', - StosByRaisingPortfolioIdStddevPopulationRaisingAssetIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_STDDEV_POPULATION_RAISING_ASSET_ID_DESC', - StosByRaisingPortfolioIdStddevPopulationRaisingPortfolioIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_STDDEV_POPULATION_RAISING_PORTFOLIO_ID_ASC', - StosByRaisingPortfolioIdStddevPopulationRaisingPortfolioIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_STDDEV_POPULATION_RAISING_PORTFOLIO_ID_DESC', - StosByRaisingPortfolioIdStddevPopulationStartAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_STDDEV_POPULATION_START_ASC', - StosByRaisingPortfolioIdStddevPopulationStartDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_STDDEV_POPULATION_START_DESC', - StosByRaisingPortfolioIdStddevPopulationStatusAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_STDDEV_POPULATION_STATUS_ASC', - StosByRaisingPortfolioIdStddevPopulationStatusDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_STDDEV_POPULATION_STATUS_DESC', - StosByRaisingPortfolioIdStddevPopulationStoIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_STDDEV_POPULATION_STO_ID_ASC', - StosByRaisingPortfolioIdStddevPopulationStoIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_STDDEV_POPULATION_STO_ID_DESC', - StosByRaisingPortfolioIdStddevPopulationTiersAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_STDDEV_POPULATION_TIERS_ASC', - StosByRaisingPortfolioIdStddevPopulationTiersDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_STDDEV_POPULATION_TIERS_DESC', - StosByRaisingPortfolioIdStddevPopulationUpdatedAtAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_STDDEV_POPULATION_UPDATED_AT_ASC', - StosByRaisingPortfolioIdStddevPopulationUpdatedAtDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_STDDEV_POPULATION_UPDATED_AT_DESC', - StosByRaisingPortfolioIdStddevPopulationUpdatedBlockIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - StosByRaisingPortfolioIdStddevPopulationUpdatedBlockIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - StosByRaisingPortfolioIdStddevPopulationVenueIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_STDDEV_POPULATION_VENUE_ID_ASC', - StosByRaisingPortfolioIdStddevPopulationVenueIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_STDDEV_POPULATION_VENUE_ID_DESC', - StosByRaisingPortfolioIdStddevSampleCreatedAtAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_STDDEV_SAMPLE_CREATED_AT_ASC', - StosByRaisingPortfolioIdStddevSampleCreatedAtDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_STDDEV_SAMPLE_CREATED_AT_DESC', - StosByRaisingPortfolioIdStddevSampleCreatedBlockIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - StosByRaisingPortfolioIdStddevSampleCreatedBlockIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - StosByRaisingPortfolioIdStddevSampleCreatorIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_STDDEV_SAMPLE_CREATOR_ID_ASC', - StosByRaisingPortfolioIdStddevSampleCreatorIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_STDDEV_SAMPLE_CREATOR_ID_DESC', - StosByRaisingPortfolioIdStddevSampleEndAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_STDDEV_SAMPLE_END_ASC', - StosByRaisingPortfolioIdStddevSampleEndDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_STDDEV_SAMPLE_END_DESC', - StosByRaisingPortfolioIdStddevSampleIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_STDDEV_SAMPLE_ID_ASC', - StosByRaisingPortfolioIdStddevSampleIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_STDDEV_SAMPLE_ID_DESC', - StosByRaisingPortfolioIdStddevSampleMinimumInvestmentAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_STDDEV_SAMPLE_MINIMUM_INVESTMENT_ASC', - StosByRaisingPortfolioIdStddevSampleMinimumInvestmentDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_STDDEV_SAMPLE_MINIMUM_INVESTMENT_DESC', - StosByRaisingPortfolioIdStddevSampleNameAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_STDDEV_SAMPLE_NAME_ASC', - StosByRaisingPortfolioIdStddevSampleNameDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_STDDEV_SAMPLE_NAME_DESC', - StosByRaisingPortfolioIdStddevSampleOfferingAssetIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_STDDEV_SAMPLE_OFFERING_ASSET_ID_ASC', - StosByRaisingPortfolioIdStddevSampleOfferingAssetIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_STDDEV_SAMPLE_OFFERING_ASSET_ID_DESC', - StosByRaisingPortfolioIdStddevSampleOfferingPortfolioIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_STDDEV_SAMPLE_OFFERING_PORTFOLIO_ID_ASC', - StosByRaisingPortfolioIdStddevSampleOfferingPortfolioIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_STDDEV_SAMPLE_OFFERING_PORTFOLIO_ID_DESC', - StosByRaisingPortfolioIdStddevSampleRaisingAssetIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_STDDEV_SAMPLE_RAISING_ASSET_ID_ASC', - StosByRaisingPortfolioIdStddevSampleRaisingAssetIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_STDDEV_SAMPLE_RAISING_ASSET_ID_DESC', - StosByRaisingPortfolioIdStddevSampleRaisingPortfolioIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_STDDEV_SAMPLE_RAISING_PORTFOLIO_ID_ASC', - StosByRaisingPortfolioIdStddevSampleRaisingPortfolioIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_STDDEV_SAMPLE_RAISING_PORTFOLIO_ID_DESC', - StosByRaisingPortfolioIdStddevSampleStartAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_STDDEV_SAMPLE_START_ASC', - StosByRaisingPortfolioIdStddevSampleStartDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_STDDEV_SAMPLE_START_DESC', - StosByRaisingPortfolioIdStddevSampleStatusAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_STDDEV_SAMPLE_STATUS_ASC', - StosByRaisingPortfolioIdStddevSampleStatusDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_STDDEV_SAMPLE_STATUS_DESC', - StosByRaisingPortfolioIdStddevSampleStoIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_STDDEV_SAMPLE_STO_ID_ASC', - StosByRaisingPortfolioIdStddevSampleStoIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_STDDEV_SAMPLE_STO_ID_DESC', - StosByRaisingPortfolioIdStddevSampleTiersAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_STDDEV_SAMPLE_TIERS_ASC', - StosByRaisingPortfolioIdStddevSampleTiersDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_STDDEV_SAMPLE_TIERS_DESC', - StosByRaisingPortfolioIdStddevSampleUpdatedAtAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_STDDEV_SAMPLE_UPDATED_AT_ASC', - StosByRaisingPortfolioIdStddevSampleUpdatedAtDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_STDDEV_SAMPLE_UPDATED_AT_DESC', - StosByRaisingPortfolioIdStddevSampleUpdatedBlockIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - StosByRaisingPortfolioIdStddevSampleUpdatedBlockIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - StosByRaisingPortfolioIdStddevSampleVenueIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_STDDEV_SAMPLE_VENUE_ID_ASC', - StosByRaisingPortfolioIdStddevSampleVenueIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_STDDEV_SAMPLE_VENUE_ID_DESC', - StosByRaisingPortfolioIdSumCreatedAtAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_SUM_CREATED_AT_ASC', - StosByRaisingPortfolioIdSumCreatedAtDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_SUM_CREATED_AT_DESC', - StosByRaisingPortfolioIdSumCreatedBlockIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_SUM_CREATED_BLOCK_ID_ASC', - StosByRaisingPortfolioIdSumCreatedBlockIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_SUM_CREATED_BLOCK_ID_DESC', - StosByRaisingPortfolioIdSumCreatorIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_SUM_CREATOR_ID_ASC', - StosByRaisingPortfolioIdSumCreatorIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_SUM_CREATOR_ID_DESC', - StosByRaisingPortfolioIdSumEndAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_SUM_END_ASC', - StosByRaisingPortfolioIdSumEndDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_SUM_END_DESC', - StosByRaisingPortfolioIdSumIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_SUM_ID_ASC', - StosByRaisingPortfolioIdSumIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_SUM_ID_DESC', - StosByRaisingPortfolioIdSumMinimumInvestmentAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_SUM_MINIMUM_INVESTMENT_ASC', - StosByRaisingPortfolioIdSumMinimumInvestmentDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_SUM_MINIMUM_INVESTMENT_DESC', - StosByRaisingPortfolioIdSumNameAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_SUM_NAME_ASC', - StosByRaisingPortfolioIdSumNameDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_SUM_NAME_DESC', - StosByRaisingPortfolioIdSumOfferingAssetIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_SUM_OFFERING_ASSET_ID_ASC', - StosByRaisingPortfolioIdSumOfferingAssetIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_SUM_OFFERING_ASSET_ID_DESC', - StosByRaisingPortfolioIdSumOfferingPortfolioIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_SUM_OFFERING_PORTFOLIO_ID_ASC', - StosByRaisingPortfolioIdSumOfferingPortfolioIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_SUM_OFFERING_PORTFOLIO_ID_DESC', - StosByRaisingPortfolioIdSumRaisingAssetIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_SUM_RAISING_ASSET_ID_ASC', - StosByRaisingPortfolioIdSumRaisingAssetIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_SUM_RAISING_ASSET_ID_DESC', - StosByRaisingPortfolioIdSumRaisingPortfolioIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_SUM_RAISING_PORTFOLIO_ID_ASC', - StosByRaisingPortfolioIdSumRaisingPortfolioIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_SUM_RAISING_PORTFOLIO_ID_DESC', - StosByRaisingPortfolioIdSumStartAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_SUM_START_ASC', - StosByRaisingPortfolioIdSumStartDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_SUM_START_DESC', - StosByRaisingPortfolioIdSumStatusAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_SUM_STATUS_ASC', - StosByRaisingPortfolioIdSumStatusDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_SUM_STATUS_DESC', - StosByRaisingPortfolioIdSumStoIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_SUM_STO_ID_ASC', - StosByRaisingPortfolioIdSumStoIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_SUM_STO_ID_DESC', - StosByRaisingPortfolioIdSumTiersAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_SUM_TIERS_ASC', - StosByRaisingPortfolioIdSumTiersDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_SUM_TIERS_DESC', - StosByRaisingPortfolioIdSumUpdatedAtAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_SUM_UPDATED_AT_ASC', - StosByRaisingPortfolioIdSumUpdatedAtDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_SUM_UPDATED_AT_DESC', - StosByRaisingPortfolioIdSumUpdatedBlockIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_SUM_UPDATED_BLOCK_ID_ASC', - StosByRaisingPortfolioIdSumUpdatedBlockIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_SUM_UPDATED_BLOCK_ID_DESC', - StosByRaisingPortfolioIdSumVenueIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_SUM_VENUE_ID_ASC', - StosByRaisingPortfolioIdSumVenueIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_SUM_VENUE_ID_DESC', - StosByRaisingPortfolioIdVariancePopulationCreatedAtAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_VARIANCE_POPULATION_CREATED_AT_ASC', - StosByRaisingPortfolioIdVariancePopulationCreatedAtDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_VARIANCE_POPULATION_CREATED_AT_DESC', - StosByRaisingPortfolioIdVariancePopulationCreatedBlockIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - StosByRaisingPortfolioIdVariancePopulationCreatedBlockIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - StosByRaisingPortfolioIdVariancePopulationCreatorIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_VARIANCE_POPULATION_CREATOR_ID_ASC', - StosByRaisingPortfolioIdVariancePopulationCreatorIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_VARIANCE_POPULATION_CREATOR_ID_DESC', - StosByRaisingPortfolioIdVariancePopulationEndAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_VARIANCE_POPULATION_END_ASC', - StosByRaisingPortfolioIdVariancePopulationEndDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_VARIANCE_POPULATION_END_DESC', - StosByRaisingPortfolioIdVariancePopulationIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_VARIANCE_POPULATION_ID_ASC', - StosByRaisingPortfolioIdVariancePopulationIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_VARIANCE_POPULATION_ID_DESC', - StosByRaisingPortfolioIdVariancePopulationMinimumInvestmentAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_VARIANCE_POPULATION_MINIMUM_INVESTMENT_ASC', - StosByRaisingPortfolioIdVariancePopulationMinimumInvestmentDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_VARIANCE_POPULATION_MINIMUM_INVESTMENT_DESC', - StosByRaisingPortfolioIdVariancePopulationNameAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_VARIANCE_POPULATION_NAME_ASC', - StosByRaisingPortfolioIdVariancePopulationNameDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_VARIANCE_POPULATION_NAME_DESC', - StosByRaisingPortfolioIdVariancePopulationOfferingAssetIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_VARIANCE_POPULATION_OFFERING_ASSET_ID_ASC', - StosByRaisingPortfolioIdVariancePopulationOfferingAssetIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_VARIANCE_POPULATION_OFFERING_ASSET_ID_DESC', - StosByRaisingPortfolioIdVariancePopulationOfferingPortfolioIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_VARIANCE_POPULATION_OFFERING_PORTFOLIO_ID_ASC', - StosByRaisingPortfolioIdVariancePopulationOfferingPortfolioIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_VARIANCE_POPULATION_OFFERING_PORTFOLIO_ID_DESC', - StosByRaisingPortfolioIdVariancePopulationRaisingAssetIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_VARIANCE_POPULATION_RAISING_ASSET_ID_ASC', - StosByRaisingPortfolioIdVariancePopulationRaisingAssetIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_VARIANCE_POPULATION_RAISING_ASSET_ID_DESC', - StosByRaisingPortfolioIdVariancePopulationRaisingPortfolioIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_VARIANCE_POPULATION_RAISING_PORTFOLIO_ID_ASC', - StosByRaisingPortfolioIdVariancePopulationRaisingPortfolioIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_VARIANCE_POPULATION_RAISING_PORTFOLIO_ID_DESC', - StosByRaisingPortfolioIdVariancePopulationStartAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_VARIANCE_POPULATION_START_ASC', - StosByRaisingPortfolioIdVariancePopulationStartDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_VARIANCE_POPULATION_START_DESC', - StosByRaisingPortfolioIdVariancePopulationStatusAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_VARIANCE_POPULATION_STATUS_ASC', - StosByRaisingPortfolioIdVariancePopulationStatusDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_VARIANCE_POPULATION_STATUS_DESC', - StosByRaisingPortfolioIdVariancePopulationStoIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_VARIANCE_POPULATION_STO_ID_ASC', - StosByRaisingPortfolioIdVariancePopulationStoIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_VARIANCE_POPULATION_STO_ID_DESC', - StosByRaisingPortfolioIdVariancePopulationTiersAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_VARIANCE_POPULATION_TIERS_ASC', - StosByRaisingPortfolioIdVariancePopulationTiersDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_VARIANCE_POPULATION_TIERS_DESC', - StosByRaisingPortfolioIdVariancePopulationUpdatedAtAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_VARIANCE_POPULATION_UPDATED_AT_ASC', - StosByRaisingPortfolioIdVariancePopulationUpdatedAtDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_VARIANCE_POPULATION_UPDATED_AT_DESC', - StosByRaisingPortfolioIdVariancePopulationUpdatedBlockIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - StosByRaisingPortfolioIdVariancePopulationUpdatedBlockIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - StosByRaisingPortfolioIdVariancePopulationVenueIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_VARIANCE_POPULATION_VENUE_ID_ASC', - StosByRaisingPortfolioIdVariancePopulationVenueIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_VARIANCE_POPULATION_VENUE_ID_DESC', - StosByRaisingPortfolioIdVarianceSampleCreatedAtAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_VARIANCE_SAMPLE_CREATED_AT_ASC', - StosByRaisingPortfolioIdVarianceSampleCreatedAtDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_VARIANCE_SAMPLE_CREATED_AT_DESC', - StosByRaisingPortfolioIdVarianceSampleCreatedBlockIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - StosByRaisingPortfolioIdVarianceSampleCreatedBlockIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - StosByRaisingPortfolioIdVarianceSampleCreatorIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_VARIANCE_SAMPLE_CREATOR_ID_ASC', - StosByRaisingPortfolioIdVarianceSampleCreatorIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_VARIANCE_SAMPLE_CREATOR_ID_DESC', - StosByRaisingPortfolioIdVarianceSampleEndAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_VARIANCE_SAMPLE_END_ASC', - StosByRaisingPortfolioIdVarianceSampleEndDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_VARIANCE_SAMPLE_END_DESC', - StosByRaisingPortfolioIdVarianceSampleIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_VARIANCE_SAMPLE_ID_ASC', - StosByRaisingPortfolioIdVarianceSampleIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_VARIANCE_SAMPLE_ID_DESC', - StosByRaisingPortfolioIdVarianceSampleMinimumInvestmentAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_VARIANCE_SAMPLE_MINIMUM_INVESTMENT_ASC', - StosByRaisingPortfolioIdVarianceSampleMinimumInvestmentDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_VARIANCE_SAMPLE_MINIMUM_INVESTMENT_DESC', - StosByRaisingPortfolioIdVarianceSampleNameAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_VARIANCE_SAMPLE_NAME_ASC', - StosByRaisingPortfolioIdVarianceSampleNameDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_VARIANCE_SAMPLE_NAME_DESC', - StosByRaisingPortfolioIdVarianceSampleOfferingAssetIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_VARIANCE_SAMPLE_OFFERING_ASSET_ID_ASC', - StosByRaisingPortfolioIdVarianceSampleOfferingAssetIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_VARIANCE_SAMPLE_OFFERING_ASSET_ID_DESC', - StosByRaisingPortfolioIdVarianceSampleOfferingPortfolioIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_VARIANCE_SAMPLE_OFFERING_PORTFOLIO_ID_ASC', - StosByRaisingPortfolioIdVarianceSampleOfferingPortfolioIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_VARIANCE_SAMPLE_OFFERING_PORTFOLIO_ID_DESC', - StosByRaisingPortfolioIdVarianceSampleRaisingAssetIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_VARIANCE_SAMPLE_RAISING_ASSET_ID_ASC', - StosByRaisingPortfolioIdVarianceSampleRaisingAssetIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_VARIANCE_SAMPLE_RAISING_ASSET_ID_DESC', - StosByRaisingPortfolioIdVarianceSampleRaisingPortfolioIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_VARIANCE_SAMPLE_RAISING_PORTFOLIO_ID_ASC', - StosByRaisingPortfolioIdVarianceSampleRaisingPortfolioIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_VARIANCE_SAMPLE_RAISING_PORTFOLIO_ID_DESC', - StosByRaisingPortfolioIdVarianceSampleStartAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_VARIANCE_SAMPLE_START_ASC', - StosByRaisingPortfolioIdVarianceSampleStartDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_VARIANCE_SAMPLE_START_DESC', - StosByRaisingPortfolioIdVarianceSampleStatusAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_VARIANCE_SAMPLE_STATUS_ASC', - StosByRaisingPortfolioIdVarianceSampleStatusDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_VARIANCE_SAMPLE_STATUS_DESC', - StosByRaisingPortfolioIdVarianceSampleStoIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_VARIANCE_SAMPLE_STO_ID_ASC', - StosByRaisingPortfolioIdVarianceSampleStoIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_VARIANCE_SAMPLE_STO_ID_DESC', - StosByRaisingPortfolioIdVarianceSampleTiersAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_VARIANCE_SAMPLE_TIERS_ASC', - StosByRaisingPortfolioIdVarianceSampleTiersDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_VARIANCE_SAMPLE_TIERS_DESC', - StosByRaisingPortfolioIdVarianceSampleUpdatedAtAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_VARIANCE_SAMPLE_UPDATED_AT_ASC', - StosByRaisingPortfolioIdVarianceSampleUpdatedAtDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_VARIANCE_SAMPLE_UPDATED_AT_DESC', - StosByRaisingPortfolioIdVarianceSampleUpdatedBlockIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - StosByRaisingPortfolioIdVarianceSampleUpdatedBlockIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - StosByRaisingPortfolioIdVarianceSampleVenueIdAsc = 'STOS_BY_RAISING_PORTFOLIO_ID_VARIANCE_SAMPLE_VENUE_ID_ASC', - StosByRaisingPortfolioIdVarianceSampleVenueIdDesc = 'STOS_BY_RAISING_PORTFOLIO_ID_VARIANCE_SAMPLE_VENUE_ID_DESC', - UpdatedAtAsc = 'UPDATED_AT_ASC', - UpdatedAtDesc = 'UPDATED_AT_DESC', - UpdatedBlockIdAsc = 'UPDATED_BLOCK_ID_ASC', - UpdatedBlockIdDesc = 'UPDATED_BLOCK_ID_DESC', -} - -/** Represents a potential change to how the chain will operate. It will need gain sufficient "Aye" votes before having effect */ -export type Proposal = Node & { - __typename?: 'Proposal'; - balance: Scalars['BigFloat']['output']; - /** Reads and enables pagination through a set of `Block`. */ - blocksByProposalVoteProposalIdAndCreatedBlockId: ProposalBlocksByProposalVoteProposalIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByProposalVoteProposalIdAndUpdatedBlockId: ProposalBlocksByProposalVoteProposalIdAndUpdatedBlockIdManyToManyConnection; - createdAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `Proposal`. */ - createdBlock?: Maybe; - createdBlockId: Scalars['String']['output']; - description?: Maybe; - id: Scalars['String']['output']; - /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ - nodeId: Scalars['ID']['output']; - /** Reads a single `Identity` that is related to this `Proposal`. */ - owner?: Maybe; - ownerId: Scalars['String']['output']; - proposer: Scalars['JSON']['output']; - snapshotted: Scalars['Boolean']['output']; - state: ProposalStateEnum; - totalAyeWeight: Scalars['BigFloat']['output']; - totalNayWeight: Scalars['BigFloat']['output']; - updatedAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `Proposal`. */ - updatedBlock?: Maybe; - updatedBlockId: Scalars['String']['output']; - url?: Maybe; - /** Reads and enables pagination through a set of `ProposalVote`. */ - votes: ProposalVotesConnection; -}; - -/** Represents a potential change to how the chain will operate. It will need gain sufficient "Aye" votes before having effect */ -export type ProposalBlocksByProposalVoteProposalIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a potential change to how the chain will operate. It will need gain sufficient "Aye" votes before having effect */ -export type ProposalBlocksByProposalVoteProposalIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a potential change to how the chain will operate. It will need gain sufficient "Aye" votes before having effect */ -export type ProposalVotesArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -export type ProposalAggregates = { - __typename?: 'ProposalAggregates'; - /** Mean average aggregates across the matching connection (ignoring before/after/first/last/offset) */ - average?: Maybe; - /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ - distinctCount?: Maybe; - keys?: Maybe>; - /** Maximum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - max?: Maybe; - /** Minimum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - min?: Maybe; - /** Population standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevPopulation?: Maybe; - /** Sample standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevSample?: Maybe; - /** Sum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - sum?: Maybe; - /** Population variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - variancePopulation?: Maybe; - /** Sample variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - varianceSample?: Maybe; -}; - -/** A filter to be used against aggregates of `Proposal` object types. */ -export type ProposalAggregatesFilter = { - /** Mean average aggregate over matching `Proposal` objects. */ - average?: InputMaybe; - /** Distinct count aggregate over matching `Proposal` objects. */ - distinctCount?: InputMaybe; - /** A filter that must pass for the relevant `Proposal` object to be included within the aggregate. */ - filter?: InputMaybe; - /** Maximum aggregate over matching `Proposal` objects. */ - max?: InputMaybe; - /** Minimum aggregate over matching `Proposal` objects. */ - min?: InputMaybe; - /** Population standard deviation aggregate over matching `Proposal` objects. */ - stddevPopulation?: InputMaybe; - /** Sample standard deviation aggregate over matching `Proposal` objects. */ - stddevSample?: InputMaybe; - /** Sum aggregate over matching `Proposal` objects. */ - sum?: InputMaybe; - /** Population variance aggregate over matching `Proposal` objects. */ - variancePopulation?: InputMaybe; - /** Sample variance aggregate over matching `Proposal` objects. */ - varianceSample?: InputMaybe; -}; - -export type ProposalAverageAggregateFilter = { - balance?: InputMaybe; - totalAyeWeight?: InputMaybe; - totalNayWeight?: InputMaybe; -}; - -export type ProposalAverageAggregates = { - __typename?: 'ProposalAverageAggregates'; - /** Mean average of balance across the matching connection */ - balance?: Maybe; - /** Mean average of totalAyeWeight across the matching connection */ - totalAyeWeight?: Maybe; - /** Mean average of totalNayWeight across the matching connection */ - totalNayWeight?: Maybe; -}; - -/** A connection to a list of `Block` values, with data from `ProposalVote`. */ -export type ProposalBlocksByProposalVoteProposalIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'ProposalBlocksByProposalVoteProposalIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `ProposalVote`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `ProposalVote`. */ -export type ProposalBlocksByProposalVoteProposalIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `ProposalVote`. */ -export type ProposalBlocksByProposalVoteProposalIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'ProposalBlocksByProposalVoteProposalIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `ProposalVote`. */ - proposalVotesByCreatedBlockId: ProposalVotesConnection; -}; - -/** A `Block` edge in the connection, with data from `ProposalVote`. */ -export type ProposalBlocksByProposalVoteProposalIdAndCreatedBlockIdManyToManyEdgeProposalVotesByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `ProposalVote`. */ -export type ProposalBlocksByProposalVoteProposalIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'ProposalBlocksByProposalVoteProposalIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `ProposalVote`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `ProposalVote`. */ -export type ProposalBlocksByProposalVoteProposalIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `ProposalVote`. */ -export type ProposalBlocksByProposalVoteProposalIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'ProposalBlocksByProposalVoteProposalIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `ProposalVote`. */ - proposalVotesByUpdatedBlockId: ProposalVotesConnection; -}; - -/** A `Block` edge in the connection, with data from `ProposalVote`. */ -export type ProposalBlocksByProposalVoteProposalIdAndUpdatedBlockIdManyToManyEdgeProposalVotesByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -export type ProposalDistinctCountAggregateFilter = { - balance?: InputMaybe; - createdAt?: InputMaybe; - createdBlockId?: InputMaybe; - description?: InputMaybe; - id?: InputMaybe; - ownerId?: InputMaybe; - proposer?: InputMaybe; - snapshotted?: InputMaybe; - state?: InputMaybe; - totalAyeWeight?: InputMaybe; - totalNayWeight?: InputMaybe; - updatedAt?: InputMaybe; - updatedBlockId?: InputMaybe; - url?: InputMaybe; -}; - -export type ProposalDistinctCountAggregates = { - __typename?: 'ProposalDistinctCountAggregates'; - /** Distinct count of balance across the matching connection */ - balance?: Maybe; - /** Distinct count of createdAt across the matching connection */ - createdAt?: Maybe; - /** Distinct count of createdBlockId across the matching connection */ - createdBlockId?: Maybe; - /** Distinct count of description across the matching connection */ - description?: Maybe; - /** Distinct count of id across the matching connection */ - id?: Maybe; - /** Distinct count of ownerId across the matching connection */ - ownerId?: Maybe; - /** Distinct count of proposer across the matching connection */ - proposer?: Maybe; - /** Distinct count of snapshotted across the matching connection */ - snapshotted?: Maybe; - /** Distinct count of state across the matching connection */ - state?: Maybe; - /** Distinct count of totalAyeWeight across the matching connection */ - totalAyeWeight?: Maybe; - /** Distinct count of totalNayWeight across the matching connection */ - totalNayWeight?: Maybe; - /** Distinct count of updatedAt across the matching connection */ - updatedAt?: Maybe; - /** Distinct count of updatedBlockId across the matching connection */ - updatedBlockId?: Maybe; - /** Distinct count of url across the matching connection */ - url?: Maybe; -}; - -/** A filter to be used against `Proposal` object types. All fields are combined with a logical ‘and.’ */ -export type ProposalFilter = { - /** Checks for all expressions in this list. */ - and?: InputMaybe>; - /** Filter by the object’s `balance` field. */ - balance?: InputMaybe; - /** Filter by the object’s `createdAt` field. */ - createdAt?: InputMaybe; - /** Filter by the object’s `createdBlock` relation. */ - createdBlock?: InputMaybe; - /** Filter by the object’s `createdBlockId` field. */ - createdBlockId?: InputMaybe; - /** Filter by the object’s `description` field. */ - description?: InputMaybe; - /** Filter by the object’s `id` field. */ - id?: InputMaybe; - /** Negates the expression. */ - not?: InputMaybe; - /** Checks for any expressions in this list. */ - or?: InputMaybe>; - /** Filter by the object’s `owner` relation. */ - owner?: InputMaybe; - /** Filter by the object’s `ownerId` field. */ - ownerId?: InputMaybe; - /** Filter by the object’s `proposer` field. */ - proposer?: InputMaybe; - /** Filter by the object’s `snapshotted` field. */ - snapshotted?: InputMaybe; - /** Filter by the object’s `state` field. */ - state?: InputMaybe; - /** Filter by the object’s `totalAyeWeight` field. */ - totalAyeWeight?: InputMaybe; - /** Filter by the object’s `totalNayWeight` field. */ - totalNayWeight?: InputMaybe; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: InputMaybe; - /** Filter by the object’s `updatedBlock` relation. */ - updatedBlock?: InputMaybe; - /** Filter by the object’s `updatedBlockId` field. */ - updatedBlockId?: InputMaybe; - /** Filter by the object’s `url` field. */ - url?: InputMaybe; - /** Filter by the object’s `votes` relation. */ - votes?: InputMaybe; - /** Some related `votes` exist. */ - votesExist?: InputMaybe; -}; - -export type ProposalMaxAggregateFilter = { - balance?: InputMaybe; - totalAyeWeight?: InputMaybe; - totalNayWeight?: InputMaybe; -}; - -export type ProposalMaxAggregates = { - __typename?: 'ProposalMaxAggregates'; - /** Maximum of balance across the matching connection */ - balance?: Maybe; - /** Maximum of totalAyeWeight across the matching connection */ - totalAyeWeight?: Maybe; - /** Maximum of totalNayWeight across the matching connection */ - totalNayWeight?: Maybe; -}; - -export type ProposalMinAggregateFilter = { - balance?: InputMaybe; - totalAyeWeight?: InputMaybe; - totalNayWeight?: InputMaybe; -}; - -export type ProposalMinAggregates = { - __typename?: 'ProposalMinAggregates'; - /** Minimum of balance across the matching connection */ - balance?: Maybe; - /** Minimum of totalAyeWeight across the matching connection */ - totalAyeWeight?: Maybe; - /** Minimum of totalNayWeight across the matching connection */ - totalNayWeight?: Maybe; -}; - -/** Represents all possible Proposal statuses */ -export enum ProposalStateEnum { - All = 'All', - Executed = 'Executed', - Expired = 'Expired', - Failed = 'Failed', - Pending = 'Pending', - Rejected = 'Rejected', - Scheduled = 'Scheduled', -} - -/** A filter to be used against ProposalStateEnum fields. All fields are combined with a logical ‘and.’ */ -export type ProposalStateEnumFilter = { - /** Not equal to the specified value, treating null like an ordinary value. */ - distinctFrom?: InputMaybe; - /** Equal to the specified value. */ - equalTo?: InputMaybe; - /** Greater than the specified value. */ - greaterThan?: InputMaybe; - /** Greater than or equal to the specified value. */ - greaterThanOrEqualTo?: InputMaybe; - /** Included in the specified list. */ - in?: InputMaybe>; - /** Is null (if `true` is specified) or is not null (if `false` is specified). */ - isNull?: InputMaybe; - /** Less than the specified value. */ - lessThan?: InputMaybe; - /** Less than or equal to the specified value. */ - lessThanOrEqualTo?: InputMaybe; - /** Equal to the specified value, treating null like an ordinary value. */ - notDistinctFrom?: InputMaybe; - /** Not equal to the specified value. */ - notEqualTo?: InputMaybe; - /** Not included in the specified list. */ - notIn?: InputMaybe>; -}; - -export type ProposalStddevPopulationAggregateFilter = { - balance?: InputMaybe; - totalAyeWeight?: InputMaybe; - totalNayWeight?: InputMaybe; -}; - -export type ProposalStddevPopulationAggregates = { - __typename?: 'ProposalStddevPopulationAggregates'; - /** Population standard deviation of balance across the matching connection */ - balance?: Maybe; - /** Population standard deviation of totalAyeWeight across the matching connection */ - totalAyeWeight?: Maybe; - /** Population standard deviation of totalNayWeight across the matching connection */ - totalNayWeight?: Maybe; -}; - -export type ProposalStddevSampleAggregateFilter = { - balance?: InputMaybe; - totalAyeWeight?: InputMaybe; - totalNayWeight?: InputMaybe; -}; - -export type ProposalStddevSampleAggregates = { - __typename?: 'ProposalStddevSampleAggregates'; - /** Sample standard deviation of balance across the matching connection */ - balance?: Maybe; - /** Sample standard deviation of totalAyeWeight across the matching connection */ - totalAyeWeight?: Maybe; - /** Sample standard deviation of totalNayWeight across the matching connection */ - totalNayWeight?: Maybe; -}; - -export type ProposalSumAggregateFilter = { - balance?: InputMaybe; - totalAyeWeight?: InputMaybe; - totalNayWeight?: InputMaybe; -}; - -export type ProposalSumAggregates = { - __typename?: 'ProposalSumAggregates'; - /** Sum of balance across the matching connection */ - balance: Scalars['BigFloat']['output']; - /** Sum of totalAyeWeight across the matching connection */ - totalAyeWeight: Scalars['BigFloat']['output']; - /** Sum of totalNayWeight across the matching connection */ - totalNayWeight: Scalars['BigFloat']['output']; -}; - -/** A filter to be used against many `ProposalVote` object types. All fields are combined with a logical ‘and.’ */ -export type ProposalToManyProposalVoteFilter = { - /** Aggregates across related `ProposalVote` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `ProposalVote` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `ProposalVote` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `ProposalVote` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -export type ProposalVariancePopulationAggregateFilter = { - balance?: InputMaybe; - totalAyeWeight?: InputMaybe; - totalNayWeight?: InputMaybe; -}; - -export type ProposalVariancePopulationAggregates = { - __typename?: 'ProposalVariancePopulationAggregates'; - /** Population variance of balance across the matching connection */ - balance?: Maybe; - /** Population variance of totalAyeWeight across the matching connection */ - totalAyeWeight?: Maybe; - /** Population variance of totalNayWeight across the matching connection */ - totalNayWeight?: Maybe; -}; - -export type ProposalVarianceSampleAggregateFilter = { - balance?: InputMaybe; - totalAyeWeight?: InputMaybe; - totalNayWeight?: InputMaybe; -}; - -export type ProposalVarianceSampleAggregates = { - __typename?: 'ProposalVarianceSampleAggregates'; - /** Sample variance of balance across the matching connection */ - balance?: Maybe; - /** Sample variance of totalAyeWeight across the matching connection */ - totalAyeWeight?: Maybe; - /** Sample variance of totalNayWeight across the matching connection */ - totalNayWeight?: Maybe; -}; - -/** Represents a vote on a governance proposal */ -export type ProposalVote = Node & { - __typename?: 'ProposalVote'; - account: Scalars['String']['output']; - createdAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `ProposalVote`. */ - createdBlock?: Maybe; - createdBlockId: Scalars['String']['output']; - id: Scalars['String']['output']; - /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ - nodeId: Scalars['ID']['output']; - /** Reads a single `Proposal` that is related to this `ProposalVote`. */ - proposal?: Maybe; - proposalId: Scalars['String']['output']; - updatedAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `ProposalVote`. */ - updatedBlock?: Maybe; - updatedBlockId: Scalars['String']['output']; - vote: Scalars['Boolean']['output']; - weight: Scalars['BigFloat']['output']; -}; - -export type ProposalVoteAggregates = { - __typename?: 'ProposalVoteAggregates'; - /** Mean average aggregates across the matching connection (ignoring before/after/first/last/offset) */ - average?: Maybe; - /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ - distinctCount?: Maybe; - keys?: Maybe>; - /** Maximum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - max?: Maybe; - /** Minimum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - min?: Maybe; - /** Population standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevPopulation?: Maybe; - /** Sample standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevSample?: Maybe; - /** Sum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - sum?: Maybe; - /** Population variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - variancePopulation?: Maybe; - /** Sample variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - varianceSample?: Maybe; -}; - -/** A filter to be used against aggregates of `ProposalVote` object types. */ -export type ProposalVoteAggregatesFilter = { - /** Mean average aggregate over matching `ProposalVote` objects. */ - average?: InputMaybe; - /** Distinct count aggregate over matching `ProposalVote` objects. */ - distinctCount?: InputMaybe; - /** A filter that must pass for the relevant `ProposalVote` object to be included within the aggregate. */ - filter?: InputMaybe; - /** Maximum aggregate over matching `ProposalVote` objects. */ - max?: InputMaybe; - /** Minimum aggregate over matching `ProposalVote` objects. */ - min?: InputMaybe; - /** Population standard deviation aggregate over matching `ProposalVote` objects. */ - stddevPopulation?: InputMaybe; - /** Sample standard deviation aggregate over matching `ProposalVote` objects. */ - stddevSample?: InputMaybe; - /** Sum aggregate over matching `ProposalVote` objects. */ - sum?: InputMaybe; - /** Population variance aggregate over matching `ProposalVote` objects. */ - variancePopulation?: InputMaybe; - /** Sample variance aggregate over matching `ProposalVote` objects. */ - varianceSample?: InputMaybe; -}; - -export type ProposalVoteAverageAggregateFilter = { - weight?: InputMaybe; -}; - -export type ProposalVoteAverageAggregates = { - __typename?: 'ProposalVoteAverageAggregates'; - /** Mean average of weight across the matching connection */ - weight?: Maybe; -}; - -export type ProposalVoteDistinctCountAggregateFilter = { - account?: InputMaybe; - createdAt?: InputMaybe; - createdBlockId?: InputMaybe; - id?: InputMaybe; - proposalId?: InputMaybe; - updatedAt?: InputMaybe; - updatedBlockId?: InputMaybe; - vote?: InputMaybe; - weight?: InputMaybe; -}; - -export type ProposalVoteDistinctCountAggregates = { - __typename?: 'ProposalVoteDistinctCountAggregates'; - /** Distinct count of account across the matching connection */ - account?: Maybe; - /** Distinct count of createdAt across the matching connection */ - createdAt?: Maybe; - /** Distinct count of createdBlockId across the matching connection */ - createdBlockId?: Maybe; - /** Distinct count of id across the matching connection */ - id?: Maybe; - /** Distinct count of proposalId across the matching connection */ - proposalId?: Maybe; - /** Distinct count of updatedAt across the matching connection */ - updatedAt?: Maybe; - /** Distinct count of updatedBlockId across the matching connection */ - updatedBlockId?: Maybe; - /** Distinct count of vote across the matching connection */ - vote?: Maybe; - /** Distinct count of weight across the matching connection */ - weight?: Maybe; -}; - -/** A filter to be used against `ProposalVote` object types. All fields are combined with a logical ‘and.’ */ -export type ProposalVoteFilter = { - /** Filter by the object’s `account` field. */ - account?: InputMaybe; - /** Checks for all expressions in this list. */ - and?: InputMaybe>; - /** Filter by the object’s `createdAt` field. */ - createdAt?: InputMaybe; - /** Filter by the object’s `createdBlock` relation. */ - createdBlock?: InputMaybe; - /** Filter by the object’s `createdBlockId` field. */ - createdBlockId?: InputMaybe; - /** Filter by the object’s `id` field. */ - id?: InputMaybe; - /** Negates the expression. */ - not?: InputMaybe; - /** Checks for any expressions in this list. */ - or?: InputMaybe>; - /** Filter by the object’s `proposal` relation. */ - proposal?: InputMaybe; - /** Filter by the object’s `proposalId` field. */ - proposalId?: InputMaybe; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: InputMaybe; - /** Filter by the object’s `updatedBlock` relation. */ - updatedBlock?: InputMaybe; - /** Filter by the object’s `updatedBlockId` field. */ - updatedBlockId?: InputMaybe; - /** Filter by the object’s `vote` field. */ - vote?: InputMaybe; - /** Filter by the object’s `weight` field. */ - weight?: InputMaybe; -}; - -export type ProposalVoteMaxAggregateFilter = { - weight?: InputMaybe; -}; - -export type ProposalVoteMaxAggregates = { - __typename?: 'ProposalVoteMaxAggregates'; - /** Maximum of weight across the matching connection */ - weight?: Maybe; -}; - -export type ProposalVoteMinAggregateFilter = { - weight?: InputMaybe; -}; - -export type ProposalVoteMinAggregates = { - __typename?: 'ProposalVoteMinAggregates'; - /** Minimum of weight across the matching connection */ - weight?: Maybe; -}; - -export type ProposalVoteStddevPopulationAggregateFilter = { - weight?: InputMaybe; -}; - -export type ProposalVoteStddevPopulationAggregates = { - __typename?: 'ProposalVoteStddevPopulationAggregates'; - /** Population standard deviation of weight across the matching connection */ - weight?: Maybe; -}; - -export type ProposalVoteStddevSampleAggregateFilter = { - weight?: InputMaybe; -}; - -export type ProposalVoteStddevSampleAggregates = { - __typename?: 'ProposalVoteStddevSampleAggregates'; - /** Sample standard deviation of weight across the matching connection */ - weight?: Maybe; -}; - -export type ProposalVoteSumAggregateFilter = { - weight?: InputMaybe; -}; - -export type ProposalVoteSumAggregates = { - __typename?: 'ProposalVoteSumAggregates'; - /** Sum of weight across the matching connection */ - weight: Scalars['BigFloat']['output']; -}; - -export type ProposalVoteVariancePopulationAggregateFilter = { - weight?: InputMaybe; -}; - -export type ProposalVoteVariancePopulationAggregates = { - __typename?: 'ProposalVoteVariancePopulationAggregates'; - /** Population variance of weight across the matching connection */ - weight?: Maybe; -}; - -export type ProposalVoteVarianceSampleAggregateFilter = { - weight?: InputMaybe; -}; - -export type ProposalVoteVarianceSampleAggregates = { - __typename?: 'ProposalVoteVarianceSampleAggregates'; - /** Sample variance of weight across the matching connection */ - weight?: Maybe; -}; - -/** A connection to a list of `ProposalVote` values. */ -export type ProposalVotesConnection = { - __typename?: 'ProposalVotesConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `ProposalVote` and cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `ProposalVote` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `ProposalVote` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `ProposalVote` values. */ -export type ProposalVotesConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `ProposalVote` edge in the connection. */ -export type ProposalVotesEdge = { - __typename?: 'ProposalVotesEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `ProposalVote` at the end of the edge. */ - node?: Maybe; -}; - -/** Grouping methods for `ProposalVote` for usage during aggregation. */ -export enum ProposalVotesGroupBy { - Account = 'ACCOUNT', - CreatedAt = 'CREATED_AT', - CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', - CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', - CreatedBlockId = 'CREATED_BLOCK_ID', - ProposalId = 'PROPOSAL_ID', - UpdatedAt = 'UPDATED_AT', - UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', - UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', - UpdatedBlockId = 'UPDATED_BLOCK_ID', - Vote = 'VOTE', - Weight = 'WEIGHT', -} - -export type ProposalVotesHavingAverageInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; - weight?: InputMaybe; -}; - -export type ProposalVotesHavingDistinctCountInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; - weight?: InputMaybe; -}; - -/** Conditions for `ProposalVote` aggregates. */ -export type ProposalVotesHavingInput = { - AND?: InputMaybe>; - OR?: InputMaybe>; - average?: InputMaybe; - distinctCount?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddevPopulation?: InputMaybe; - stddevSample?: InputMaybe; - sum?: InputMaybe; - variancePopulation?: InputMaybe; - varianceSample?: InputMaybe; -}; - -export type ProposalVotesHavingMaxInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; - weight?: InputMaybe; -}; - -export type ProposalVotesHavingMinInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; - weight?: InputMaybe; -}; - -export type ProposalVotesHavingStddevPopulationInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; - weight?: InputMaybe; -}; - -export type ProposalVotesHavingStddevSampleInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; - weight?: InputMaybe; -}; - -export type ProposalVotesHavingSumInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; - weight?: InputMaybe; -}; - -export type ProposalVotesHavingVariancePopulationInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; - weight?: InputMaybe; -}; - -export type ProposalVotesHavingVarianceSampleInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; - weight?: InputMaybe; -}; - -/** Methods to use when ordering `ProposalVote`. */ -export enum ProposalVotesOrderBy { - AccountAsc = 'ACCOUNT_ASC', - AccountDesc = 'ACCOUNT_DESC', - CreatedAtAsc = 'CREATED_AT_ASC', - CreatedAtDesc = 'CREATED_AT_DESC', - CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', - CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', - IdAsc = 'ID_ASC', - IdDesc = 'ID_DESC', - Natural = 'NATURAL', - PrimaryKeyAsc = 'PRIMARY_KEY_ASC', - PrimaryKeyDesc = 'PRIMARY_KEY_DESC', - ProposalIdAsc = 'PROPOSAL_ID_ASC', - ProposalIdDesc = 'PROPOSAL_ID_DESC', - UpdatedAtAsc = 'UPDATED_AT_ASC', - UpdatedAtDesc = 'UPDATED_AT_DESC', - UpdatedBlockIdAsc = 'UPDATED_BLOCK_ID_ASC', - UpdatedBlockIdDesc = 'UPDATED_BLOCK_ID_DESC', - VoteAsc = 'VOTE_ASC', - VoteDesc = 'VOTE_DESC', - WeightAsc = 'WEIGHT_ASC', - WeightDesc = 'WEIGHT_DESC', -} - -/** A connection to a list of `Proposal` values. */ -export type ProposalsConnection = { - __typename?: 'ProposalsConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Proposal` and cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Proposal` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Proposal` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Proposal` values. */ -export type ProposalsConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `Proposal` edge in the connection. */ -export type ProposalsEdge = { - __typename?: 'ProposalsEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Proposal` at the end of the edge. */ - node?: Maybe; -}; - -/** Grouping methods for `Proposal` for usage during aggregation. */ -export enum ProposalsGroupBy { - Balance = 'BALANCE', - CreatedAt = 'CREATED_AT', - CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', - CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', - CreatedBlockId = 'CREATED_BLOCK_ID', - Description = 'DESCRIPTION', - OwnerId = 'OWNER_ID', - Proposer = 'PROPOSER', - Snapshotted = 'SNAPSHOTTED', - State = 'STATE', - TotalAyeWeight = 'TOTAL_AYE_WEIGHT', - TotalNayWeight = 'TOTAL_NAY_WEIGHT', - UpdatedAt = 'UPDATED_AT', - UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', - UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', - UpdatedBlockId = 'UPDATED_BLOCK_ID', - Url = 'URL', -} - -export type ProposalsHavingAverageInput = { - balance?: InputMaybe; - createdAt?: InputMaybe; - totalAyeWeight?: InputMaybe; - totalNayWeight?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ProposalsHavingDistinctCountInput = { - balance?: InputMaybe; - createdAt?: InputMaybe; - totalAyeWeight?: InputMaybe; - totalNayWeight?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Conditions for `Proposal` aggregates. */ -export type ProposalsHavingInput = { - AND?: InputMaybe>; - OR?: InputMaybe>; - average?: InputMaybe; - distinctCount?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddevPopulation?: InputMaybe; - stddevSample?: InputMaybe; - sum?: InputMaybe; - variancePopulation?: InputMaybe; - varianceSample?: InputMaybe; -}; - -export type ProposalsHavingMaxInput = { - balance?: InputMaybe; - createdAt?: InputMaybe; - totalAyeWeight?: InputMaybe; - totalNayWeight?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ProposalsHavingMinInput = { - balance?: InputMaybe; - createdAt?: InputMaybe; - totalAyeWeight?: InputMaybe; - totalNayWeight?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ProposalsHavingStddevPopulationInput = { - balance?: InputMaybe; - createdAt?: InputMaybe; - totalAyeWeight?: InputMaybe; - totalNayWeight?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ProposalsHavingStddevSampleInput = { - balance?: InputMaybe; - createdAt?: InputMaybe; - totalAyeWeight?: InputMaybe; - totalNayWeight?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ProposalsHavingSumInput = { - balance?: InputMaybe; - createdAt?: InputMaybe; - totalAyeWeight?: InputMaybe; - totalNayWeight?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ProposalsHavingVariancePopulationInput = { - balance?: InputMaybe; - createdAt?: InputMaybe; - totalAyeWeight?: InputMaybe; - totalNayWeight?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type ProposalsHavingVarianceSampleInput = { - balance?: InputMaybe; - createdAt?: InputMaybe; - totalAyeWeight?: InputMaybe; - totalNayWeight?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Methods to use when ordering `Proposal`. */ -export enum ProposalsOrderBy { - BalanceAsc = 'BALANCE_ASC', - BalanceDesc = 'BALANCE_DESC', - CreatedAtAsc = 'CREATED_AT_ASC', - CreatedAtDesc = 'CREATED_AT_DESC', - CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', - CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', - DescriptionAsc = 'DESCRIPTION_ASC', - DescriptionDesc = 'DESCRIPTION_DESC', - IdAsc = 'ID_ASC', - IdDesc = 'ID_DESC', - Natural = 'NATURAL', - OwnerIdAsc = 'OWNER_ID_ASC', - OwnerIdDesc = 'OWNER_ID_DESC', - PrimaryKeyAsc = 'PRIMARY_KEY_ASC', - PrimaryKeyDesc = 'PRIMARY_KEY_DESC', - ProposerAsc = 'PROPOSER_ASC', - ProposerDesc = 'PROPOSER_DESC', - SnapshottedAsc = 'SNAPSHOTTED_ASC', - SnapshottedDesc = 'SNAPSHOTTED_DESC', - StateAsc = 'STATE_ASC', - StateDesc = 'STATE_DESC', - TotalAyeWeightAsc = 'TOTAL_AYE_WEIGHT_ASC', - TotalAyeWeightDesc = 'TOTAL_AYE_WEIGHT_DESC', - TotalNayWeightAsc = 'TOTAL_NAY_WEIGHT_ASC', - TotalNayWeightDesc = 'TOTAL_NAY_WEIGHT_DESC', - UpdatedAtAsc = 'UPDATED_AT_ASC', - UpdatedAtDesc = 'UPDATED_AT_DESC', - UpdatedBlockIdAsc = 'UPDATED_BLOCK_ID_ASC', - UpdatedBlockIdDesc = 'UPDATED_BLOCK_ID_DESC', - UrlAsc = 'URL_ASC', - UrlDesc = 'URL_DESC', - VotesAverageAccountAsc = 'VOTES_AVERAGE_ACCOUNT_ASC', - VotesAverageAccountDesc = 'VOTES_AVERAGE_ACCOUNT_DESC', - VotesAverageCreatedAtAsc = 'VOTES_AVERAGE_CREATED_AT_ASC', - VotesAverageCreatedAtDesc = 'VOTES_AVERAGE_CREATED_AT_DESC', - VotesAverageCreatedBlockIdAsc = 'VOTES_AVERAGE_CREATED_BLOCK_ID_ASC', - VotesAverageCreatedBlockIdDesc = 'VOTES_AVERAGE_CREATED_BLOCK_ID_DESC', - VotesAverageIdAsc = 'VOTES_AVERAGE_ID_ASC', - VotesAverageIdDesc = 'VOTES_AVERAGE_ID_DESC', - VotesAverageProposalIdAsc = 'VOTES_AVERAGE_PROPOSAL_ID_ASC', - VotesAverageProposalIdDesc = 'VOTES_AVERAGE_PROPOSAL_ID_DESC', - VotesAverageUpdatedAtAsc = 'VOTES_AVERAGE_UPDATED_AT_ASC', - VotesAverageUpdatedAtDesc = 'VOTES_AVERAGE_UPDATED_AT_DESC', - VotesAverageUpdatedBlockIdAsc = 'VOTES_AVERAGE_UPDATED_BLOCK_ID_ASC', - VotesAverageUpdatedBlockIdDesc = 'VOTES_AVERAGE_UPDATED_BLOCK_ID_DESC', - VotesAverageVoteAsc = 'VOTES_AVERAGE_VOTE_ASC', - VotesAverageVoteDesc = 'VOTES_AVERAGE_VOTE_DESC', - VotesAverageWeightAsc = 'VOTES_AVERAGE_WEIGHT_ASC', - VotesAverageWeightDesc = 'VOTES_AVERAGE_WEIGHT_DESC', - VotesCountAsc = 'VOTES_COUNT_ASC', - VotesCountDesc = 'VOTES_COUNT_DESC', - VotesDistinctCountAccountAsc = 'VOTES_DISTINCT_COUNT_ACCOUNT_ASC', - VotesDistinctCountAccountDesc = 'VOTES_DISTINCT_COUNT_ACCOUNT_DESC', - VotesDistinctCountCreatedAtAsc = 'VOTES_DISTINCT_COUNT_CREATED_AT_ASC', - VotesDistinctCountCreatedAtDesc = 'VOTES_DISTINCT_COUNT_CREATED_AT_DESC', - VotesDistinctCountCreatedBlockIdAsc = 'VOTES_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - VotesDistinctCountCreatedBlockIdDesc = 'VOTES_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - VotesDistinctCountIdAsc = 'VOTES_DISTINCT_COUNT_ID_ASC', - VotesDistinctCountIdDesc = 'VOTES_DISTINCT_COUNT_ID_DESC', - VotesDistinctCountProposalIdAsc = 'VOTES_DISTINCT_COUNT_PROPOSAL_ID_ASC', - VotesDistinctCountProposalIdDesc = 'VOTES_DISTINCT_COUNT_PROPOSAL_ID_DESC', - VotesDistinctCountUpdatedAtAsc = 'VOTES_DISTINCT_COUNT_UPDATED_AT_ASC', - VotesDistinctCountUpdatedAtDesc = 'VOTES_DISTINCT_COUNT_UPDATED_AT_DESC', - VotesDistinctCountUpdatedBlockIdAsc = 'VOTES_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - VotesDistinctCountUpdatedBlockIdDesc = 'VOTES_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - VotesDistinctCountVoteAsc = 'VOTES_DISTINCT_COUNT_VOTE_ASC', - VotesDistinctCountVoteDesc = 'VOTES_DISTINCT_COUNT_VOTE_DESC', - VotesDistinctCountWeightAsc = 'VOTES_DISTINCT_COUNT_WEIGHT_ASC', - VotesDistinctCountWeightDesc = 'VOTES_DISTINCT_COUNT_WEIGHT_DESC', - VotesMaxAccountAsc = 'VOTES_MAX_ACCOUNT_ASC', - VotesMaxAccountDesc = 'VOTES_MAX_ACCOUNT_DESC', - VotesMaxCreatedAtAsc = 'VOTES_MAX_CREATED_AT_ASC', - VotesMaxCreatedAtDesc = 'VOTES_MAX_CREATED_AT_DESC', - VotesMaxCreatedBlockIdAsc = 'VOTES_MAX_CREATED_BLOCK_ID_ASC', - VotesMaxCreatedBlockIdDesc = 'VOTES_MAX_CREATED_BLOCK_ID_DESC', - VotesMaxIdAsc = 'VOTES_MAX_ID_ASC', - VotesMaxIdDesc = 'VOTES_MAX_ID_DESC', - VotesMaxProposalIdAsc = 'VOTES_MAX_PROPOSAL_ID_ASC', - VotesMaxProposalIdDesc = 'VOTES_MAX_PROPOSAL_ID_DESC', - VotesMaxUpdatedAtAsc = 'VOTES_MAX_UPDATED_AT_ASC', - VotesMaxUpdatedAtDesc = 'VOTES_MAX_UPDATED_AT_DESC', - VotesMaxUpdatedBlockIdAsc = 'VOTES_MAX_UPDATED_BLOCK_ID_ASC', - VotesMaxUpdatedBlockIdDesc = 'VOTES_MAX_UPDATED_BLOCK_ID_DESC', - VotesMaxVoteAsc = 'VOTES_MAX_VOTE_ASC', - VotesMaxVoteDesc = 'VOTES_MAX_VOTE_DESC', - VotesMaxWeightAsc = 'VOTES_MAX_WEIGHT_ASC', - VotesMaxWeightDesc = 'VOTES_MAX_WEIGHT_DESC', - VotesMinAccountAsc = 'VOTES_MIN_ACCOUNT_ASC', - VotesMinAccountDesc = 'VOTES_MIN_ACCOUNT_DESC', - VotesMinCreatedAtAsc = 'VOTES_MIN_CREATED_AT_ASC', - VotesMinCreatedAtDesc = 'VOTES_MIN_CREATED_AT_DESC', - VotesMinCreatedBlockIdAsc = 'VOTES_MIN_CREATED_BLOCK_ID_ASC', - VotesMinCreatedBlockIdDesc = 'VOTES_MIN_CREATED_BLOCK_ID_DESC', - VotesMinIdAsc = 'VOTES_MIN_ID_ASC', - VotesMinIdDesc = 'VOTES_MIN_ID_DESC', - VotesMinProposalIdAsc = 'VOTES_MIN_PROPOSAL_ID_ASC', - VotesMinProposalIdDesc = 'VOTES_MIN_PROPOSAL_ID_DESC', - VotesMinUpdatedAtAsc = 'VOTES_MIN_UPDATED_AT_ASC', - VotesMinUpdatedAtDesc = 'VOTES_MIN_UPDATED_AT_DESC', - VotesMinUpdatedBlockIdAsc = 'VOTES_MIN_UPDATED_BLOCK_ID_ASC', - VotesMinUpdatedBlockIdDesc = 'VOTES_MIN_UPDATED_BLOCK_ID_DESC', - VotesMinVoteAsc = 'VOTES_MIN_VOTE_ASC', - VotesMinVoteDesc = 'VOTES_MIN_VOTE_DESC', - VotesMinWeightAsc = 'VOTES_MIN_WEIGHT_ASC', - VotesMinWeightDesc = 'VOTES_MIN_WEIGHT_DESC', - VotesStddevPopulationAccountAsc = 'VOTES_STDDEV_POPULATION_ACCOUNT_ASC', - VotesStddevPopulationAccountDesc = 'VOTES_STDDEV_POPULATION_ACCOUNT_DESC', - VotesStddevPopulationCreatedAtAsc = 'VOTES_STDDEV_POPULATION_CREATED_AT_ASC', - VotesStddevPopulationCreatedAtDesc = 'VOTES_STDDEV_POPULATION_CREATED_AT_DESC', - VotesStddevPopulationCreatedBlockIdAsc = 'VOTES_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - VotesStddevPopulationCreatedBlockIdDesc = 'VOTES_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - VotesStddevPopulationIdAsc = 'VOTES_STDDEV_POPULATION_ID_ASC', - VotesStddevPopulationIdDesc = 'VOTES_STDDEV_POPULATION_ID_DESC', - VotesStddevPopulationProposalIdAsc = 'VOTES_STDDEV_POPULATION_PROPOSAL_ID_ASC', - VotesStddevPopulationProposalIdDesc = 'VOTES_STDDEV_POPULATION_PROPOSAL_ID_DESC', - VotesStddevPopulationUpdatedAtAsc = 'VOTES_STDDEV_POPULATION_UPDATED_AT_ASC', - VotesStddevPopulationUpdatedAtDesc = 'VOTES_STDDEV_POPULATION_UPDATED_AT_DESC', - VotesStddevPopulationUpdatedBlockIdAsc = 'VOTES_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - VotesStddevPopulationUpdatedBlockIdDesc = 'VOTES_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - VotesStddevPopulationVoteAsc = 'VOTES_STDDEV_POPULATION_VOTE_ASC', - VotesStddevPopulationVoteDesc = 'VOTES_STDDEV_POPULATION_VOTE_DESC', - VotesStddevPopulationWeightAsc = 'VOTES_STDDEV_POPULATION_WEIGHT_ASC', - VotesStddevPopulationWeightDesc = 'VOTES_STDDEV_POPULATION_WEIGHT_DESC', - VotesStddevSampleAccountAsc = 'VOTES_STDDEV_SAMPLE_ACCOUNT_ASC', - VotesStddevSampleAccountDesc = 'VOTES_STDDEV_SAMPLE_ACCOUNT_DESC', - VotesStddevSampleCreatedAtAsc = 'VOTES_STDDEV_SAMPLE_CREATED_AT_ASC', - VotesStddevSampleCreatedAtDesc = 'VOTES_STDDEV_SAMPLE_CREATED_AT_DESC', - VotesStddevSampleCreatedBlockIdAsc = 'VOTES_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - VotesStddevSampleCreatedBlockIdDesc = 'VOTES_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - VotesStddevSampleIdAsc = 'VOTES_STDDEV_SAMPLE_ID_ASC', - VotesStddevSampleIdDesc = 'VOTES_STDDEV_SAMPLE_ID_DESC', - VotesStddevSampleProposalIdAsc = 'VOTES_STDDEV_SAMPLE_PROPOSAL_ID_ASC', - VotesStddevSampleProposalIdDesc = 'VOTES_STDDEV_SAMPLE_PROPOSAL_ID_DESC', - VotesStddevSampleUpdatedAtAsc = 'VOTES_STDDEV_SAMPLE_UPDATED_AT_ASC', - VotesStddevSampleUpdatedAtDesc = 'VOTES_STDDEV_SAMPLE_UPDATED_AT_DESC', - VotesStddevSampleUpdatedBlockIdAsc = 'VOTES_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - VotesStddevSampleUpdatedBlockIdDesc = 'VOTES_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - VotesStddevSampleVoteAsc = 'VOTES_STDDEV_SAMPLE_VOTE_ASC', - VotesStddevSampleVoteDesc = 'VOTES_STDDEV_SAMPLE_VOTE_DESC', - VotesStddevSampleWeightAsc = 'VOTES_STDDEV_SAMPLE_WEIGHT_ASC', - VotesStddevSampleWeightDesc = 'VOTES_STDDEV_SAMPLE_WEIGHT_DESC', - VotesSumAccountAsc = 'VOTES_SUM_ACCOUNT_ASC', - VotesSumAccountDesc = 'VOTES_SUM_ACCOUNT_DESC', - VotesSumCreatedAtAsc = 'VOTES_SUM_CREATED_AT_ASC', - VotesSumCreatedAtDesc = 'VOTES_SUM_CREATED_AT_DESC', - VotesSumCreatedBlockIdAsc = 'VOTES_SUM_CREATED_BLOCK_ID_ASC', - VotesSumCreatedBlockIdDesc = 'VOTES_SUM_CREATED_BLOCK_ID_DESC', - VotesSumIdAsc = 'VOTES_SUM_ID_ASC', - VotesSumIdDesc = 'VOTES_SUM_ID_DESC', - VotesSumProposalIdAsc = 'VOTES_SUM_PROPOSAL_ID_ASC', - VotesSumProposalIdDesc = 'VOTES_SUM_PROPOSAL_ID_DESC', - VotesSumUpdatedAtAsc = 'VOTES_SUM_UPDATED_AT_ASC', - VotesSumUpdatedAtDesc = 'VOTES_SUM_UPDATED_AT_DESC', - VotesSumUpdatedBlockIdAsc = 'VOTES_SUM_UPDATED_BLOCK_ID_ASC', - VotesSumUpdatedBlockIdDesc = 'VOTES_SUM_UPDATED_BLOCK_ID_DESC', - VotesSumVoteAsc = 'VOTES_SUM_VOTE_ASC', - VotesSumVoteDesc = 'VOTES_SUM_VOTE_DESC', - VotesSumWeightAsc = 'VOTES_SUM_WEIGHT_ASC', - VotesSumWeightDesc = 'VOTES_SUM_WEIGHT_DESC', - VotesVariancePopulationAccountAsc = 'VOTES_VARIANCE_POPULATION_ACCOUNT_ASC', - VotesVariancePopulationAccountDesc = 'VOTES_VARIANCE_POPULATION_ACCOUNT_DESC', - VotesVariancePopulationCreatedAtAsc = 'VOTES_VARIANCE_POPULATION_CREATED_AT_ASC', - VotesVariancePopulationCreatedAtDesc = 'VOTES_VARIANCE_POPULATION_CREATED_AT_DESC', - VotesVariancePopulationCreatedBlockIdAsc = 'VOTES_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - VotesVariancePopulationCreatedBlockIdDesc = 'VOTES_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - VotesVariancePopulationIdAsc = 'VOTES_VARIANCE_POPULATION_ID_ASC', - VotesVariancePopulationIdDesc = 'VOTES_VARIANCE_POPULATION_ID_DESC', - VotesVariancePopulationProposalIdAsc = 'VOTES_VARIANCE_POPULATION_PROPOSAL_ID_ASC', - VotesVariancePopulationProposalIdDesc = 'VOTES_VARIANCE_POPULATION_PROPOSAL_ID_DESC', - VotesVariancePopulationUpdatedAtAsc = 'VOTES_VARIANCE_POPULATION_UPDATED_AT_ASC', - VotesVariancePopulationUpdatedAtDesc = 'VOTES_VARIANCE_POPULATION_UPDATED_AT_DESC', - VotesVariancePopulationUpdatedBlockIdAsc = 'VOTES_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - VotesVariancePopulationUpdatedBlockIdDesc = 'VOTES_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - VotesVariancePopulationVoteAsc = 'VOTES_VARIANCE_POPULATION_VOTE_ASC', - VotesVariancePopulationVoteDesc = 'VOTES_VARIANCE_POPULATION_VOTE_DESC', - VotesVariancePopulationWeightAsc = 'VOTES_VARIANCE_POPULATION_WEIGHT_ASC', - VotesVariancePopulationWeightDesc = 'VOTES_VARIANCE_POPULATION_WEIGHT_DESC', - VotesVarianceSampleAccountAsc = 'VOTES_VARIANCE_SAMPLE_ACCOUNT_ASC', - VotesVarianceSampleAccountDesc = 'VOTES_VARIANCE_SAMPLE_ACCOUNT_DESC', - VotesVarianceSampleCreatedAtAsc = 'VOTES_VARIANCE_SAMPLE_CREATED_AT_ASC', - VotesVarianceSampleCreatedAtDesc = 'VOTES_VARIANCE_SAMPLE_CREATED_AT_DESC', - VotesVarianceSampleCreatedBlockIdAsc = 'VOTES_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - VotesVarianceSampleCreatedBlockIdDesc = 'VOTES_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - VotesVarianceSampleIdAsc = 'VOTES_VARIANCE_SAMPLE_ID_ASC', - VotesVarianceSampleIdDesc = 'VOTES_VARIANCE_SAMPLE_ID_DESC', - VotesVarianceSampleProposalIdAsc = 'VOTES_VARIANCE_SAMPLE_PROPOSAL_ID_ASC', - VotesVarianceSampleProposalIdDesc = 'VOTES_VARIANCE_SAMPLE_PROPOSAL_ID_DESC', - VotesVarianceSampleUpdatedAtAsc = 'VOTES_VARIANCE_SAMPLE_UPDATED_AT_ASC', - VotesVarianceSampleUpdatedAtDesc = 'VOTES_VARIANCE_SAMPLE_UPDATED_AT_DESC', - VotesVarianceSampleUpdatedBlockIdAsc = 'VOTES_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - VotesVarianceSampleUpdatedBlockIdDesc = 'VOTES_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - VotesVarianceSampleVoteAsc = 'VOTES_VARIANCE_SAMPLE_VOTE_ASC', - VotesVarianceSampleVoteDesc = 'VOTES_VARIANCE_SAMPLE_VOTE_DESC', - VotesVarianceSampleWeightAsc = 'VOTES_VARIANCE_SAMPLE_WEIGHT_ASC', - VotesVarianceSampleWeightDesc = 'VOTES_VARIANCE_SAMPLE_WEIGHT_DESC', -} - -/** The root query type which gives access points into the data universe. */ -export type Query = Node & { - __typename?: 'Query'; - _metadata?: Maybe<_Metadata>; - _metadatas?: Maybe<_Metadatas>; - account?: Maybe; - /** Reads a single `Account` using its globally unique `ID`. */ - accountByNodeId?: Maybe; - /** Reads and enables pagination through a set of `AccountHistory`. */ - accountHistories?: Maybe; - accountHistory?: Maybe; - /** Reads a single `AccountHistory` using its globally unique `ID`. */ - accountHistoryByNodeId?: Maybe; - /** Reads and enables pagination through a set of `Account`. */ - accounts?: Maybe; - agentGroup?: Maybe; - /** Reads a single `AgentGroup` using its globally unique `ID`. */ - agentGroupByNodeId?: Maybe; - agentGroupMembership?: Maybe; - /** Reads a single `AgentGroupMembership` using its globally unique `ID`. */ - agentGroupMembershipByNodeId?: Maybe; - /** Reads and enables pagination through a set of `AgentGroupMembership`. */ - agentGroupMemberships?: Maybe; - /** Reads and enables pagination through a set of `AgentGroup`. */ - agentGroups?: Maybe; - asset?: Maybe; - /** Reads a single `Asset` using its globally unique `ID`. */ - assetByNodeId?: Maybe; - assetDocument?: Maybe; - /** Reads a single `AssetDocument` using its globally unique `ID`. */ - assetDocumentByNodeId?: Maybe; - /** Reads and enables pagination through a set of `AssetDocument`. */ - assetDocuments?: Maybe; - assetHolder?: Maybe; - /** Reads a single `AssetHolder` using its globally unique `ID`. */ - assetHolderByNodeId?: Maybe; - /** Reads and enables pagination through a set of `AssetHolder`. */ - assetHolders?: Maybe; - assetPendingOwnershipTransfer?: Maybe; - /** Reads a single `AssetPendingOwnershipTransfer` using its globally unique `ID`. */ - assetPendingOwnershipTransferByNodeId?: Maybe; - /** Reads and enables pagination through a set of `AssetPendingOwnershipTransfer`. */ - assetPendingOwnershipTransfers?: Maybe; - assetTransaction?: Maybe; - /** Reads a single `AssetTransaction` using its globally unique `ID`. */ - assetTransactionByNodeId?: Maybe; - /** Reads and enables pagination through a set of `AssetTransaction`. */ - assetTransactions?: Maybe; - /** Reads and enables pagination through a set of `Asset`. */ - assets?: Maybe; - authorization?: Maybe; - /** Reads a single `Authorization` using its globally unique `ID`. */ - authorizationByNodeId?: Maybe; - /** Reads and enables pagination through a set of `Authorization`. */ - authorizations?: Maybe; - block?: Maybe; - /** Reads a single `Block` using its globally unique `ID`. */ - blockByNodeId?: Maybe; - /** Reads and enables pagination through a set of `Block`. */ - blocks?: Maybe; - bridgeEvent?: Maybe; - /** Reads a single `BridgeEvent` using its globally unique `ID`. */ - bridgeEventByNodeId?: Maybe; - /** Reads and enables pagination through a set of `BridgeEvent`. */ - bridgeEvents?: Maybe; - /** Reads and enables pagination through a set of `ChildIdentity`. */ - childIdentities?: Maybe; - childIdentity?: Maybe; - /** Reads a single `ChildIdentity` using its globally unique `ID`. */ - childIdentityByNodeId?: Maybe; - claim?: Maybe; - /** Reads a single `Claim` using its globally unique `ID`. */ - claimByNodeId?: Maybe; - claimScope?: Maybe; - /** Reads a single `ClaimScope` using its globally unique `ID`. */ - claimScopeByNodeId?: Maybe; - /** Reads and enables pagination through a set of `ClaimScope`. */ - claimScopes?: Maybe; - /** Reads and enables pagination through a set of `Claim`. */ - claims?: Maybe; - compliance?: Maybe; - /** Reads a single `Compliance` using its globally unique `ID`. */ - complianceByNodeId?: Maybe; - /** Reads and enables pagination through a set of `Compliance`. */ - compliances?: Maybe; - confidentialAccount?: Maybe; - /** Reads a single `ConfidentialAccount` using its globally unique `ID`. */ - confidentialAccountByNodeId?: Maybe; - /** Reads and enables pagination through a set of `ConfidentialAccount`. */ - confidentialAccounts?: Maybe; - confidentialAsset?: Maybe; - /** Reads a single `ConfidentialAsset` using its globally unique `ID`. */ - confidentialAssetByNodeId?: Maybe; - /** Reads and enables pagination through a set of `ConfidentialAssetHistory`. */ - confidentialAssetHistories?: Maybe; - confidentialAssetHistory?: Maybe; - /** Reads a single `ConfidentialAssetHistory` using its globally unique `ID`. */ - confidentialAssetHistoryByNodeId?: Maybe; - confidentialAssetHolder?: Maybe; - /** Reads a single `ConfidentialAssetHolder` using its globally unique `ID`. */ - confidentialAssetHolderByNodeId?: Maybe; - /** Reads and enables pagination through a set of `ConfidentialAssetHolder`. */ - confidentialAssetHolders?: Maybe; - /** Reads and enables pagination through a set of `ConfidentialAsset`. */ - confidentialAssets?: Maybe; - confidentialLeg?: Maybe; - /** Reads a single `ConfidentialLeg` using its globally unique `ID`. */ - confidentialLegByNodeId?: Maybe; - /** Reads and enables pagination through a set of `ConfidentialLeg`. */ - confidentialLegs?: Maybe; - confidentialTransaction?: Maybe; - confidentialTransactionAffirmation?: Maybe; - /** Reads a single `ConfidentialTransactionAffirmation` using its globally unique `ID`. */ - confidentialTransactionAffirmationByNodeId?: Maybe; - /** Reads and enables pagination through a set of `ConfidentialTransactionAffirmation`. */ - confidentialTransactionAffirmations?: Maybe; - /** Reads a single `ConfidentialTransaction` using its globally unique `ID`. */ - confidentialTransactionByNodeId?: Maybe; - /** Reads and enables pagination through a set of `ConfidentialTransaction`. */ - confidentialTransactions?: Maybe; - confidentialVenue?: Maybe; - /** Reads a single `ConfidentialVenue` using its globally unique `ID`. */ - confidentialVenueByNodeId?: Maybe; - /** Reads and enables pagination through a set of `ConfidentialVenue`. */ - confidentialVenues?: Maybe; - customClaimType?: Maybe; - /** Reads a single `CustomClaimType` using its globally unique `ID`. */ - customClaimTypeByNodeId?: Maybe; - /** Reads and enables pagination through a set of `CustomClaimType`. */ - customClaimTypes?: Maybe; - debug?: Maybe; - /** Reads a single `Debug` using its globally unique `ID`. */ - debugByNodeId?: Maybe; - /** Reads and enables pagination through a set of `Debug`. */ - debugs?: Maybe; - distribution?: Maybe; - /** Reads a single `Distribution` using its globally unique `ID`. */ - distributionByNodeId?: Maybe; - distributionPayment?: Maybe; - /** Reads a single `DistributionPayment` using its globally unique `ID`. */ - distributionPaymentByNodeId?: Maybe; - /** Reads and enables pagination through a set of `DistributionPayment`. */ - distributionPayments?: Maybe; - /** Reads and enables pagination through a set of `Distribution`. */ - distributions?: Maybe; - event?: Maybe; - /** Reads a single `Event` using its globally unique `ID`. */ - eventByNodeId?: Maybe; - /** Reads and enables pagination through a set of `Event`. */ - events?: Maybe; - extrinsic?: Maybe; - /** Reads a single `Extrinsic` using its globally unique `ID`. */ - extrinsicByNodeId?: Maybe; - /** Reads and enables pagination through a set of `Extrinsic`. */ - extrinsics?: Maybe; - foundType?: Maybe; - /** Reads a single `FoundType` using its globally unique `ID`. */ - foundTypeByNodeId?: Maybe; - /** Reads and enables pagination through a set of `FoundType`. */ - foundTypes?: Maybe; - funding?: Maybe; - /** Reads a single `Funding` using its globally unique `ID`. */ - fundingByNodeId?: Maybe; - /** Reads and enables pagination through a set of `Funding`. */ - fundings?: Maybe; - /** Reads and enables pagination through a set of `Identity`. */ - identities?: Maybe; - identity?: Maybe; - /** Reads a single `Identity` using its globally unique `ID`. */ - identityByNodeId?: Maybe; - instruction?: Maybe; - /** Reads a single `Instruction` using its globally unique `ID`. */ - instructionByNodeId?: Maybe; - /** Reads and enables pagination through a set of `Instruction`. */ - instructions?: Maybe; - investment?: Maybe; - /** Reads a single `Investment` using its globally unique `ID`. */ - investmentByNodeId?: Maybe; - /** Reads and enables pagination through a set of `Investment`. */ - investments?: Maybe; - leg?: Maybe; - /** Reads a single `Leg` using its globally unique `ID`. */ - legByNodeId?: Maybe; - /** Reads and enables pagination through a set of `Leg`. */ - legs?: Maybe; - migration?: Maybe; - /** Reads a single `Migration` using its globally unique `ID`. */ - migrationByNodeId?: Maybe; - /** Reads and enables pagination through a set of `Migration`. */ - migrations?: Maybe; - multiSig?: Maybe; - /** Reads a single `MultiSig` using its globally unique `ID`. */ - multiSigByNodeId?: Maybe; - multiSigProposal?: Maybe; - /** Reads a single `MultiSigProposal` using its globally unique `ID`. */ - multiSigProposalByNodeId?: Maybe; - multiSigProposalVote?: Maybe; - /** Reads a single `MultiSigProposalVote` using its globally unique `ID`. */ - multiSigProposalVoteByNodeId?: Maybe; - /** Reads and enables pagination through a set of `MultiSigProposalVote`. */ - multiSigProposalVotes?: Maybe; - /** Reads and enables pagination through a set of `MultiSigProposal`. */ - multiSigProposals?: Maybe; - multiSigSigner?: Maybe; - /** Reads a single `MultiSigSigner` using its globally unique `ID`. */ - multiSigSignerByNodeId?: Maybe; - /** Reads and enables pagination through a set of `MultiSigSigner`. */ - multiSigSigners?: Maybe; - /** Reads and enables pagination through a set of `MultiSig`. */ - multiSigs?: Maybe; - nftHolder?: Maybe; - /** Reads a single `NftHolder` using its globally unique `ID`. */ - nftHolderByNodeId?: Maybe; - /** Reads and enables pagination through a set of `NftHolder`. */ - nftHolders?: Maybe; - /** Fetches an object given its globally unique `ID`. */ - node?: Maybe; - /** The root query type must be a `Node` to work well with Relay 1 mutations. This just resolves to `query`. */ - nodeId: Scalars['ID']['output']; - permission?: Maybe; - /** Reads a single `Permission` using its globally unique `ID`. */ - permissionByNodeId?: Maybe; - /** Reads and enables pagination through a set of `Permission`. */ - permissions?: Maybe; - polyxTransaction?: Maybe; - /** Reads a single `PolyxTransaction` using its globally unique `ID`. */ - polyxTransactionByNodeId?: Maybe; - /** Reads and enables pagination through a set of `PolyxTransaction`. */ - polyxTransactions?: Maybe; - portfolio?: Maybe; - /** Reads a single `Portfolio` using its globally unique `ID`. */ - portfolioByNodeId?: Maybe; - portfolioMovement?: Maybe; - /** Reads a single `PortfolioMovement` using its globally unique `ID`. */ - portfolioMovementByNodeId?: Maybe; - /** Reads and enables pagination through a set of `PortfolioMovement`. */ - portfolioMovements?: Maybe; - /** Reads and enables pagination through a set of `Portfolio`. */ - portfolios?: Maybe; - proposal?: Maybe; - /** Reads a single `Proposal` using its globally unique `ID`. */ - proposalByNodeId?: Maybe; - proposalVote?: Maybe; - /** Reads a single `ProposalVote` using its globally unique `ID`. */ - proposalVoteByNodeId?: Maybe; - /** Reads and enables pagination through a set of `ProposalVote`. */ - proposalVotes?: Maybe; - /** Reads and enables pagination through a set of `Proposal`. */ - proposals?: Maybe; - /** - * Exposes the root query type nested one level down. This is helpful for Relay 1 - * which can only query top level fields if they are in a particular form. - */ - query: Query; - settlement?: Maybe; - /** Reads a single `Settlement` using its globally unique `ID`. */ - settlementByNodeId?: Maybe; - /** Reads and enables pagination through a set of `Settlement`. */ - settlements?: Maybe; - stakingEvent?: Maybe; - /** Reads a single `StakingEvent` using its globally unique `ID`. */ - stakingEventByNodeId?: Maybe; - /** Reads and enables pagination through a set of `StakingEvent`. */ - stakingEvents?: Maybe; - statType?: Maybe; - /** Reads a single `StatType` using its globally unique `ID`. */ - statTypeByNodeId?: Maybe; - /** Reads and enables pagination through a set of `StatType`. */ - statTypes?: Maybe; - sto?: Maybe; - /** Reads a single `Sto` using its globally unique `ID`. */ - stoByNodeId?: Maybe; - /** Reads and enables pagination through a set of `Sto`. */ - stos?: Maybe; - subqueryVersion?: Maybe; - /** Reads a single `SubqueryVersion` using its globally unique `ID`. */ - subqueryVersionByNodeId?: Maybe; - /** Reads and enables pagination through a set of `SubqueryVersion`. */ - subqueryVersions?: Maybe; - tickerExternalAgent?: Maybe; - tickerExternalAgentAction?: Maybe; - /** Reads a single `TickerExternalAgentAction` using its globally unique `ID`. */ - tickerExternalAgentActionByNodeId?: Maybe; - /** Reads and enables pagination through a set of `TickerExternalAgentAction`. */ - tickerExternalAgentActions?: Maybe; - /** Reads a single `TickerExternalAgent` using its globally unique `ID`. */ - tickerExternalAgentByNodeId?: Maybe; - /** Reads and enables pagination through a set of `TickerExternalAgentHistory`. */ - tickerExternalAgentHistories?: Maybe; - tickerExternalAgentHistory?: Maybe; - /** Reads a single `TickerExternalAgentHistory` using its globally unique `ID`. */ - tickerExternalAgentHistoryByNodeId?: Maybe; - /** Reads and enables pagination through a set of `TickerExternalAgent`. */ - tickerExternalAgents?: Maybe; - transferCompliance?: Maybe; - /** Reads a single `TransferCompliance` using its globally unique `ID`. */ - transferComplianceByNodeId?: Maybe; - transferComplianceExemption?: Maybe; - /** Reads a single `TransferComplianceExemption` using its globally unique `ID`. */ - transferComplianceExemptionByNodeId?: Maybe; - /** Reads and enables pagination through a set of `TransferComplianceExemption`. */ - transferComplianceExemptions?: Maybe; - /** Reads and enables pagination through a set of `TransferCompliance`. */ - transferCompliances?: Maybe; - transferManager?: Maybe; - /** Reads a single `TransferManager` using its globally unique `ID`. */ - transferManagerByNodeId?: Maybe; - /** Reads and enables pagination through a set of `TransferManager`. */ - transferManagers?: Maybe; - trustedClaimIssuer?: Maybe; - /** Reads a single `TrustedClaimIssuer` using its globally unique `ID`. */ - trustedClaimIssuerByNodeId?: Maybe; - /** Reads and enables pagination through a set of `TrustedClaimIssuer`. */ - trustedClaimIssuers?: Maybe; - venue?: Maybe; - /** Reads a single `Venue` using its globally unique `ID`. */ - venueByNodeId?: Maybe; - /** Reads and enables pagination through a set of `Venue`. */ - venues?: Maybe; -}; - -/** The root query type which gives access points into the data universe. */ -export type Query_MetadataArgs = { - chainId?: InputMaybe; -}; - -/** The root query type which gives access points into the data universe. */ -export type Query_MetadatasArgs = { - after?: InputMaybe; - before?: InputMaybe; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryAccountArgs = { - id: Scalars['String']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryAccountByNodeIdArgs = { - distinct?: InputMaybe>>; - nodeId: Scalars['ID']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryAccountHistoriesArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryAccountHistoryArgs = { - id: Scalars['String']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryAccountHistoryByNodeIdArgs = { - distinct?: InputMaybe>>; - nodeId: Scalars['ID']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryAccountsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryAgentGroupArgs = { - id: Scalars['String']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryAgentGroupByNodeIdArgs = { - distinct?: InputMaybe>>; - nodeId: Scalars['ID']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryAgentGroupMembershipArgs = { - id: Scalars['String']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryAgentGroupMembershipByNodeIdArgs = { - distinct?: InputMaybe>>; - nodeId: Scalars['ID']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryAgentGroupMembershipsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryAgentGroupsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryAssetArgs = { - id: Scalars['String']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryAssetByNodeIdArgs = { - distinct?: InputMaybe>>; - nodeId: Scalars['ID']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryAssetDocumentArgs = { - id: Scalars['String']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryAssetDocumentByNodeIdArgs = { - distinct?: InputMaybe>>; - nodeId: Scalars['ID']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryAssetDocumentsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryAssetHolderArgs = { - id: Scalars['String']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryAssetHolderByNodeIdArgs = { - distinct?: InputMaybe>>; - nodeId: Scalars['ID']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryAssetHoldersArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryAssetPendingOwnershipTransferArgs = { - id: Scalars['String']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryAssetPendingOwnershipTransferByNodeIdArgs = { - distinct?: InputMaybe>>; - nodeId: Scalars['ID']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryAssetPendingOwnershipTransfersArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryAssetTransactionArgs = { - id: Scalars['String']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryAssetTransactionByNodeIdArgs = { - distinct?: InputMaybe>>; - nodeId: Scalars['ID']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryAssetTransactionsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryAssetsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryAuthorizationArgs = { - id: Scalars['String']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryAuthorizationByNodeIdArgs = { - distinct?: InputMaybe>>; - nodeId: Scalars['ID']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryAuthorizationsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryBlockArgs = { - id: Scalars['String']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryBlockByNodeIdArgs = { - distinct?: InputMaybe>>; - nodeId: Scalars['ID']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryBlocksArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryBridgeEventArgs = { - id: Scalars['String']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryBridgeEventByNodeIdArgs = { - distinct?: InputMaybe>>; - nodeId: Scalars['ID']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryBridgeEventsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryChildIdentitiesArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryChildIdentityArgs = { - id: Scalars['String']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryChildIdentityByNodeIdArgs = { - distinct?: InputMaybe>>; - nodeId: Scalars['ID']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryClaimArgs = { - id: Scalars['String']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryClaimByNodeIdArgs = { - distinct?: InputMaybe>>; - nodeId: Scalars['ID']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryClaimScopeArgs = { - id: Scalars['String']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryClaimScopeByNodeIdArgs = { - distinct?: InputMaybe>>; - nodeId: Scalars['ID']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryClaimScopesArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryClaimsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryComplianceArgs = { - id: Scalars['String']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryComplianceByNodeIdArgs = { - distinct?: InputMaybe>>; - nodeId: Scalars['ID']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryCompliancesArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryConfidentialAccountArgs = { - id: Scalars['String']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryConfidentialAccountByNodeIdArgs = { - distinct?: InputMaybe>>; - nodeId: Scalars['ID']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryConfidentialAccountsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryConfidentialAssetArgs = { - id: Scalars['String']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryConfidentialAssetByNodeIdArgs = { - distinct?: InputMaybe>>; - nodeId: Scalars['ID']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryConfidentialAssetHistoriesArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryConfidentialAssetHistoryArgs = { - id: Scalars['String']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryConfidentialAssetHistoryByNodeIdArgs = { - distinct?: InputMaybe>>; - nodeId: Scalars['ID']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryConfidentialAssetHolderArgs = { - id: Scalars['String']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryConfidentialAssetHolderByNodeIdArgs = { - distinct?: InputMaybe>>; - nodeId: Scalars['ID']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryConfidentialAssetHoldersArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryConfidentialAssetsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryConfidentialLegArgs = { - id: Scalars['String']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryConfidentialLegByNodeIdArgs = { - distinct?: InputMaybe>>; - nodeId: Scalars['ID']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryConfidentialLegsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryConfidentialTransactionArgs = { - id: Scalars['String']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryConfidentialTransactionAffirmationArgs = { - id: Scalars['String']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryConfidentialTransactionAffirmationByNodeIdArgs = { - distinct?: InputMaybe>>; - nodeId: Scalars['ID']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryConfidentialTransactionAffirmationsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryConfidentialTransactionByNodeIdArgs = { - distinct?: InputMaybe>>; - nodeId: Scalars['ID']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryConfidentialTransactionsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryConfidentialVenueArgs = { - id: Scalars['String']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryConfidentialVenueByNodeIdArgs = { - distinct?: InputMaybe>>; - nodeId: Scalars['ID']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryConfidentialVenuesArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryCustomClaimTypeArgs = { - id: Scalars['String']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryCustomClaimTypeByNodeIdArgs = { - distinct?: InputMaybe>>; - nodeId: Scalars['ID']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryCustomClaimTypesArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryDebugArgs = { - id: Scalars['String']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryDebugByNodeIdArgs = { - distinct?: InputMaybe>>; - nodeId: Scalars['ID']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryDebugsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryDistributionArgs = { - id: Scalars['String']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryDistributionByNodeIdArgs = { - distinct?: InputMaybe>>; - nodeId: Scalars['ID']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryDistributionPaymentArgs = { - id: Scalars['String']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryDistributionPaymentByNodeIdArgs = { - distinct?: InputMaybe>>; - nodeId: Scalars['ID']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryDistributionPaymentsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryDistributionsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryEventArgs = { - id: Scalars['String']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryEventByNodeIdArgs = { - distinct?: InputMaybe>>; - nodeId: Scalars['ID']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryEventsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryExtrinsicArgs = { - id: Scalars['String']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryExtrinsicByNodeIdArgs = { - distinct?: InputMaybe>>; - nodeId: Scalars['ID']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryExtrinsicsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryFoundTypeArgs = { - id: Scalars['String']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryFoundTypeByNodeIdArgs = { - distinct?: InputMaybe>>; - nodeId: Scalars['ID']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryFoundTypesArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryFundingArgs = { - id: Scalars['String']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryFundingByNodeIdArgs = { - distinct?: InputMaybe>>; - nodeId: Scalars['ID']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryFundingsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryIdentitiesArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryIdentityArgs = { - id: Scalars['String']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryIdentityByNodeIdArgs = { - distinct?: InputMaybe>>; - nodeId: Scalars['ID']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryInstructionArgs = { - id: Scalars['String']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryInstructionByNodeIdArgs = { - distinct?: InputMaybe>>; - nodeId: Scalars['ID']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryInstructionsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryInvestmentArgs = { - id: Scalars['String']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryInvestmentByNodeIdArgs = { - distinct?: InputMaybe>>; - nodeId: Scalars['ID']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryInvestmentsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryLegArgs = { - id: Scalars['String']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryLegByNodeIdArgs = { - distinct?: InputMaybe>>; - nodeId: Scalars['ID']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryLegsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryMigrationArgs = { - id: Scalars['String']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryMigrationByNodeIdArgs = { - distinct?: InputMaybe>>; - nodeId: Scalars['ID']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryMigrationsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryMultiSigArgs = { - id: Scalars['String']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryMultiSigByNodeIdArgs = { - distinct?: InputMaybe>>; - nodeId: Scalars['ID']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryMultiSigProposalArgs = { - id: Scalars['String']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryMultiSigProposalByNodeIdArgs = { - distinct?: InputMaybe>>; - nodeId: Scalars['ID']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryMultiSigProposalVoteArgs = { - id: Scalars['String']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryMultiSigProposalVoteByNodeIdArgs = { - distinct?: InputMaybe>>; - nodeId: Scalars['ID']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryMultiSigProposalVotesArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryMultiSigProposalsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryMultiSigSignerArgs = { - id: Scalars['String']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryMultiSigSignerByNodeIdArgs = { - distinct?: InputMaybe>>; - nodeId: Scalars['ID']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryMultiSigSignersArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryMultiSigsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryNftHolderArgs = { - id: Scalars['String']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryNftHolderByNodeIdArgs = { - distinct?: InputMaybe>>; - nodeId: Scalars['ID']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryNftHoldersArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryNodeArgs = { - nodeId: Scalars['ID']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryPermissionArgs = { - id: Scalars['String']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryPermissionByNodeIdArgs = { - distinct?: InputMaybe>>; - nodeId: Scalars['ID']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryPermissionsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryPolyxTransactionArgs = { - id: Scalars['String']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryPolyxTransactionByNodeIdArgs = { - distinct?: InputMaybe>>; - nodeId: Scalars['ID']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryPolyxTransactionsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryPortfolioArgs = { - id: Scalars['String']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryPortfolioByNodeIdArgs = { - distinct?: InputMaybe>>; - nodeId: Scalars['ID']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryPortfolioMovementArgs = { - id: Scalars['String']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryPortfolioMovementByNodeIdArgs = { - distinct?: InputMaybe>>; - nodeId: Scalars['ID']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryPortfolioMovementsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryPortfoliosArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryProposalArgs = { - id: Scalars['String']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryProposalByNodeIdArgs = { - distinct?: InputMaybe>>; - nodeId: Scalars['ID']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryProposalVoteArgs = { - id: Scalars['String']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryProposalVoteByNodeIdArgs = { - distinct?: InputMaybe>>; - nodeId: Scalars['ID']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryProposalVotesArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryProposalsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** The root query type which gives access points into the data universe. */ -export type QuerySettlementArgs = { - id: Scalars['String']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QuerySettlementByNodeIdArgs = { - distinct?: InputMaybe>>; - nodeId: Scalars['ID']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QuerySettlementsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryStakingEventArgs = { - id: Scalars['String']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryStakingEventByNodeIdArgs = { - distinct?: InputMaybe>>; - nodeId: Scalars['ID']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryStakingEventsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryStatTypeArgs = { - id: Scalars['String']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryStatTypeByNodeIdArgs = { - distinct?: InputMaybe>>; - nodeId: Scalars['ID']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryStatTypesArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryStoArgs = { - id: Scalars['String']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryStoByNodeIdArgs = { - distinct?: InputMaybe>>; - nodeId: Scalars['ID']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryStosArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** The root query type which gives access points into the data universe. */ -export type QuerySubqueryVersionArgs = { - id: Scalars['String']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QuerySubqueryVersionByNodeIdArgs = { - distinct?: InputMaybe>>; - nodeId: Scalars['ID']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QuerySubqueryVersionsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryTickerExternalAgentArgs = { - id: Scalars['String']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryTickerExternalAgentActionArgs = { - id: Scalars['String']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryTickerExternalAgentActionByNodeIdArgs = { - distinct?: InputMaybe>>; - nodeId: Scalars['ID']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryTickerExternalAgentActionsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryTickerExternalAgentByNodeIdArgs = { - distinct?: InputMaybe>>; - nodeId: Scalars['ID']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryTickerExternalAgentHistoriesArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryTickerExternalAgentHistoryArgs = { - id: Scalars['String']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryTickerExternalAgentHistoryByNodeIdArgs = { - distinct?: InputMaybe>>; - nodeId: Scalars['ID']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryTickerExternalAgentsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryTransferComplianceArgs = { - id: Scalars['String']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryTransferComplianceByNodeIdArgs = { - distinct?: InputMaybe>>; - nodeId: Scalars['ID']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryTransferComplianceExemptionArgs = { - id: Scalars['String']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryTransferComplianceExemptionByNodeIdArgs = { - distinct?: InputMaybe>>; - nodeId: Scalars['ID']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryTransferComplianceExemptionsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryTransferCompliancesArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryTransferManagerArgs = { - id: Scalars['String']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryTransferManagerByNodeIdArgs = { - distinct?: InputMaybe>>; - nodeId: Scalars['ID']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryTransferManagersArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryTrustedClaimIssuerArgs = { - id: Scalars['String']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryTrustedClaimIssuerByNodeIdArgs = { - distinct?: InputMaybe>>; - nodeId: Scalars['ID']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryTrustedClaimIssuersArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryVenueArgs = { - id: Scalars['String']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryVenueByNodeIdArgs = { - distinct?: InputMaybe>>; - nodeId: Scalars['ID']['input']; -}; - -/** The root query type which gives access points into the data universe. */ -export type QueryVenuesArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a trade of assets between parties */ -export type Settlement = Node & { - __typename?: 'Settlement'; - /** Reads and enables pagination through a set of `Block`. */ - blocksByLegSettlementIdAndCreatedBlockId: SettlementBlocksByLegSettlementIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByLegSettlementIdAndUpdatedBlockId: SettlementBlocksByLegSettlementIdAndUpdatedBlockIdManyToManyConnection; - createdAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `Settlement`. */ - createdBlock?: Maybe; - createdBlockId: Scalars['String']['output']; - id: Scalars['String']['output']; - /** Reads and enables pagination through a set of `Instruction`. */ - instructionsByLegSettlementIdAndInstructionId: SettlementInstructionsByLegSettlementIdAndInstructionIdManyToManyConnection; - /** Reads and enables pagination through a set of `Leg`. */ - legs: LegsConnection; - /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ - nodeId: Scalars['ID']['output']; - /** Reads and enables pagination through a set of `Portfolio`. */ - portfoliosByLegSettlementIdAndFromId: SettlementPortfoliosByLegSettlementIdAndFromIdManyToManyConnection; - /** Reads and enables pagination through a set of `Portfolio`. */ - portfoliosByLegSettlementIdAndToId: SettlementPortfoliosByLegSettlementIdAndToIdManyToManyConnection; - result: SettlementResultEnum; - updatedAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `Settlement`. */ - updatedBlock?: Maybe; - updatedBlockId: Scalars['String']['output']; -}; - -/** Represents a trade of assets between parties */ -export type SettlementBlocksByLegSettlementIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a trade of assets between parties */ -export type SettlementBlocksByLegSettlementIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a trade of assets between parties */ -export type SettlementInstructionsByLegSettlementIdAndInstructionIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a trade of assets between parties */ -export type SettlementLegsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a trade of assets between parties */ -export type SettlementPortfoliosByLegSettlementIdAndFromIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents a trade of assets between parties */ -export type SettlementPortfoliosByLegSettlementIdAndToIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -export type SettlementAggregates = { - __typename?: 'SettlementAggregates'; - /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ - distinctCount?: Maybe; - keys?: Maybe>; -}; - -/** A filter to be used against aggregates of `Settlement` object types. */ -export type SettlementAggregatesFilter = { - /** Distinct count aggregate over matching `Settlement` objects. */ - distinctCount?: InputMaybe; - /** A filter that must pass for the relevant `Settlement` object to be included within the aggregate. */ - filter?: InputMaybe; -}; - -/** A connection to a list of `Block` values, with data from `Leg`. */ -export type SettlementBlocksByLegSettlementIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'SettlementBlocksByLegSettlementIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Leg`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Leg`. */ -export type SettlementBlocksByLegSettlementIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Leg`. */ -export type SettlementBlocksByLegSettlementIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'SettlementBlocksByLegSettlementIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `Leg`. */ - legsByCreatedBlockId: LegsConnection; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `Leg`. */ -export type SettlementBlocksByLegSettlementIdAndCreatedBlockIdManyToManyEdgeLegsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Leg`. */ -export type SettlementBlocksByLegSettlementIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'SettlementBlocksByLegSettlementIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Leg`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Leg`. */ -export type SettlementBlocksByLegSettlementIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Leg`. */ -export type SettlementBlocksByLegSettlementIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'SettlementBlocksByLegSettlementIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `Leg`. */ - legsByUpdatedBlockId: LegsConnection; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `Leg`. */ -export type SettlementBlocksByLegSettlementIdAndUpdatedBlockIdManyToManyEdgeLegsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -export type SettlementDistinctCountAggregateFilter = { - createdAt?: InputMaybe; - createdBlockId?: InputMaybe; - id?: InputMaybe; - result?: InputMaybe; - updatedAt?: InputMaybe; - updatedBlockId?: InputMaybe; -}; - -export type SettlementDistinctCountAggregates = { - __typename?: 'SettlementDistinctCountAggregates'; - /** Distinct count of createdAt across the matching connection */ - createdAt?: Maybe; - /** Distinct count of createdBlockId across the matching connection */ - createdBlockId?: Maybe; - /** Distinct count of id across the matching connection */ - id?: Maybe; - /** Distinct count of result across the matching connection */ - result?: Maybe; - /** Distinct count of updatedAt across the matching connection */ - updatedAt?: Maybe; - /** Distinct count of updatedBlockId across the matching connection */ - updatedBlockId?: Maybe; -}; - -/** A filter to be used against `Settlement` object types. All fields are combined with a logical ‘and.’ */ -export type SettlementFilter = { - /** Checks for all expressions in this list. */ - and?: InputMaybe>; - /** Filter by the object’s `createdAt` field. */ - createdAt?: InputMaybe; - /** Filter by the object’s `createdBlock` relation. */ - createdBlock?: InputMaybe; - /** Filter by the object’s `createdBlockId` field. */ - createdBlockId?: InputMaybe; - /** Filter by the object’s `id` field. */ - id?: InputMaybe; - /** Filter by the object’s `legs` relation. */ - legs?: InputMaybe; - /** Some related `legs` exist. */ - legsExist?: InputMaybe; - /** Negates the expression. */ - not?: InputMaybe; - /** Checks for any expressions in this list. */ - or?: InputMaybe>; - /** Filter by the object’s `result` field. */ - result?: InputMaybe; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: InputMaybe; - /** Filter by the object’s `updatedBlock` relation. */ - updatedBlock?: InputMaybe; - /** Filter by the object’s `updatedBlockId` field. */ - updatedBlockId?: InputMaybe; -}; - -/** A connection to a list of `Instruction` values, with data from `Leg`. */ -export type SettlementInstructionsByLegSettlementIdAndInstructionIdManyToManyConnection = { - __typename?: 'SettlementInstructionsByLegSettlementIdAndInstructionIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Instruction`, info from the `Leg`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Instruction` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Instruction` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Instruction` values, with data from `Leg`. */ -export type SettlementInstructionsByLegSettlementIdAndInstructionIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Instruction` edge in the connection, with data from `Leg`. */ -export type SettlementInstructionsByLegSettlementIdAndInstructionIdManyToManyEdge = { - __typename?: 'SettlementInstructionsByLegSettlementIdAndInstructionIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `Leg`. */ - legs: LegsConnection; - /** The `Instruction` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Instruction` edge in the connection, with data from `Leg`. */ -export type SettlementInstructionsByLegSettlementIdAndInstructionIdManyToManyEdgeLegsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Portfolio` values, with data from `Leg`. */ -export type SettlementPortfoliosByLegSettlementIdAndFromIdManyToManyConnection = { - __typename?: 'SettlementPortfoliosByLegSettlementIdAndFromIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Portfolio`, info from the `Leg`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Portfolio` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Portfolio` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Portfolio` values, with data from `Leg`. */ -export type SettlementPortfoliosByLegSettlementIdAndFromIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Portfolio` edge in the connection, with data from `Leg`. */ -export type SettlementPortfoliosByLegSettlementIdAndFromIdManyToManyEdge = { - __typename?: 'SettlementPortfoliosByLegSettlementIdAndFromIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `Leg`. */ - legsByFromId: LegsConnection; - /** The `Portfolio` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Portfolio` edge in the connection, with data from `Leg`. */ -export type SettlementPortfoliosByLegSettlementIdAndFromIdManyToManyEdgeLegsByFromIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Portfolio` values, with data from `Leg`. */ -export type SettlementPortfoliosByLegSettlementIdAndToIdManyToManyConnection = { - __typename?: 'SettlementPortfoliosByLegSettlementIdAndToIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Portfolio`, info from the `Leg`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Portfolio` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Portfolio` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Portfolio` values, with data from `Leg`. */ -export type SettlementPortfoliosByLegSettlementIdAndToIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Portfolio` edge in the connection, with data from `Leg`. */ -export type SettlementPortfoliosByLegSettlementIdAndToIdManyToManyEdge = { - __typename?: 'SettlementPortfoliosByLegSettlementIdAndToIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `Leg`. */ - legsByToId: LegsConnection; - /** The `Portfolio` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Portfolio` edge in the connection, with data from `Leg`. */ -export type SettlementPortfoliosByLegSettlementIdAndToIdManyToManyEdgeLegsByToIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** Represents all possible states of a Settlement */ -export enum SettlementResultEnum { - Executed = 'Executed', - Failed = 'Failed', - None = 'None', - Rejected = 'Rejected', -} - -/** A filter to be used against SettlementResultEnum fields. All fields are combined with a logical ‘and.’ */ -export type SettlementResultEnumFilter = { - /** Not equal to the specified value, treating null like an ordinary value. */ - distinctFrom?: InputMaybe; - /** Equal to the specified value. */ - equalTo?: InputMaybe; - /** Greater than the specified value. */ - greaterThan?: InputMaybe; - /** Greater than or equal to the specified value. */ - greaterThanOrEqualTo?: InputMaybe; - /** Included in the specified list. */ - in?: InputMaybe>; - /** Is null (if `true` is specified) or is not null (if `false` is specified). */ - isNull?: InputMaybe; - /** Less than the specified value. */ - lessThan?: InputMaybe; - /** Less than or equal to the specified value. */ - lessThanOrEqualTo?: InputMaybe; - /** Equal to the specified value, treating null like an ordinary value. */ - notDistinctFrom?: InputMaybe; - /** Not equal to the specified value. */ - notEqualTo?: InputMaybe; - /** Not included in the specified list. */ - notIn?: InputMaybe>; -}; - -/** A filter to be used against many `Leg` object types. All fields are combined with a logical ‘and.’ */ -export type SettlementToManyLegFilter = { - /** Aggregates across related `Leg` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `Leg` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `Leg` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `Leg` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A connection to a list of `Settlement` values. */ -export type SettlementsConnection = { - __typename?: 'SettlementsConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Settlement` and cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Settlement` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Settlement` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Settlement` values. */ -export type SettlementsConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `Settlement` edge in the connection. */ -export type SettlementsEdge = { - __typename?: 'SettlementsEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Settlement` at the end of the edge. */ - node?: Maybe; -}; - -/** Grouping methods for `Settlement` for usage during aggregation. */ -export enum SettlementsGroupBy { - CreatedAt = 'CREATED_AT', - CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', - CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', - CreatedBlockId = 'CREATED_BLOCK_ID', - Result = 'RESULT', - UpdatedAt = 'UPDATED_AT', - UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', - UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export type SettlementsHavingAverageInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type SettlementsHavingDistinctCountInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Conditions for `Settlement` aggregates. */ -export type SettlementsHavingInput = { - AND?: InputMaybe>; - OR?: InputMaybe>; - average?: InputMaybe; - distinctCount?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddevPopulation?: InputMaybe; - stddevSample?: InputMaybe; - sum?: InputMaybe; - variancePopulation?: InputMaybe; - varianceSample?: InputMaybe; -}; - -export type SettlementsHavingMaxInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type SettlementsHavingMinInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type SettlementsHavingStddevPopulationInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type SettlementsHavingStddevSampleInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type SettlementsHavingSumInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type SettlementsHavingVariancePopulationInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type SettlementsHavingVarianceSampleInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Methods to use when ordering `Settlement`. */ -export enum SettlementsOrderBy { - CreatedAtAsc = 'CREATED_AT_ASC', - CreatedAtDesc = 'CREATED_AT_DESC', - CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', - CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', - IdAsc = 'ID_ASC', - IdDesc = 'ID_DESC', - LegsAverageAddressesAsc = 'LEGS_AVERAGE_ADDRESSES_ASC', - LegsAverageAddressesDesc = 'LEGS_AVERAGE_ADDRESSES_DESC', - LegsAverageAmountAsc = 'LEGS_AVERAGE_AMOUNT_ASC', - LegsAverageAmountDesc = 'LEGS_AVERAGE_AMOUNT_DESC', - LegsAverageAssetIdAsc = 'LEGS_AVERAGE_ASSET_ID_ASC', - LegsAverageAssetIdDesc = 'LEGS_AVERAGE_ASSET_ID_DESC', - LegsAverageCreatedAtAsc = 'LEGS_AVERAGE_CREATED_AT_ASC', - LegsAverageCreatedAtDesc = 'LEGS_AVERAGE_CREATED_AT_DESC', - LegsAverageCreatedBlockIdAsc = 'LEGS_AVERAGE_CREATED_BLOCK_ID_ASC', - LegsAverageCreatedBlockIdDesc = 'LEGS_AVERAGE_CREATED_BLOCK_ID_DESC', - LegsAverageFromIdAsc = 'LEGS_AVERAGE_FROM_ID_ASC', - LegsAverageFromIdDesc = 'LEGS_AVERAGE_FROM_ID_DESC', - LegsAverageIdAsc = 'LEGS_AVERAGE_ID_ASC', - LegsAverageIdDesc = 'LEGS_AVERAGE_ID_DESC', - LegsAverageInstructionIdAsc = 'LEGS_AVERAGE_INSTRUCTION_ID_ASC', - LegsAverageInstructionIdDesc = 'LEGS_AVERAGE_INSTRUCTION_ID_DESC', - LegsAverageLegTypeAsc = 'LEGS_AVERAGE_LEG_TYPE_ASC', - LegsAverageLegTypeDesc = 'LEGS_AVERAGE_LEG_TYPE_DESC', - LegsAverageNftIdsAsc = 'LEGS_AVERAGE_NFT_IDS_ASC', - LegsAverageNftIdsDesc = 'LEGS_AVERAGE_NFT_IDS_DESC', - LegsAverageSettlementIdAsc = 'LEGS_AVERAGE_SETTLEMENT_ID_ASC', - LegsAverageSettlementIdDesc = 'LEGS_AVERAGE_SETTLEMENT_ID_DESC', - LegsAverageToIdAsc = 'LEGS_AVERAGE_TO_ID_ASC', - LegsAverageToIdDesc = 'LEGS_AVERAGE_TO_ID_DESC', - LegsAverageUpdatedAtAsc = 'LEGS_AVERAGE_UPDATED_AT_ASC', - LegsAverageUpdatedAtDesc = 'LEGS_AVERAGE_UPDATED_AT_DESC', - LegsAverageUpdatedBlockIdAsc = 'LEGS_AVERAGE_UPDATED_BLOCK_ID_ASC', - LegsAverageUpdatedBlockIdDesc = 'LEGS_AVERAGE_UPDATED_BLOCK_ID_DESC', - LegsCountAsc = 'LEGS_COUNT_ASC', - LegsCountDesc = 'LEGS_COUNT_DESC', - LegsDistinctCountAddressesAsc = 'LEGS_DISTINCT_COUNT_ADDRESSES_ASC', - LegsDistinctCountAddressesDesc = 'LEGS_DISTINCT_COUNT_ADDRESSES_DESC', - LegsDistinctCountAmountAsc = 'LEGS_DISTINCT_COUNT_AMOUNT_ASC', - LegsDistinctCountAmountDesc = 'LEGS_DISTINCT_COUNT_AMOUNT_DESC', - LegsDistinctCountAssetIdAsc = 'LEGS_DISTINCT_COUNT_ASSET_ID_ASC', - LegsDistinctCountAssetIdDesc = 'LEGS_DISTINCT_COUNT_ASSET_ID_DESC', - LegsDistinctCountCreatedAtAsc = 'LEGS_DISTINCT_COUNT_CREATED_AT_ASC', - LegsDistinctCountCreatedAtDesc = 'LEGS_DISTINCT_COUNT_CREATED_AT_DESC', - LegsDistinctCountCreatedBlockIdAsc = 'LEGS_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - LegsDistinctCountCreatedBlockIdDesc = 'LEGS_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - LegsDistinctCountFromIdAsc = 'LEGS_DISTINCT_COUNT_FROM_ID_ASC', - LegsDistinctCountFromIdDesc = 'LEGS_DISTINCT_COUNT_FROM_ID_DESC', - LegsDistinctCountIdAsc = 'LEGS_DISTINCT_COUNT_ID_ASC', - LegsDistinctCountIdDesc = 'LEGS_DISTINCT_COUNT_ID_DESC', - LegsDistinctCountInstructionIdAsc = 'LEGS_DISTINCT_COUNT_INSTRUCTION_ID_ASC', - LegsDistinctCountInstructionIdDesc = 'LEGS_DISTINCT_COUNT_INSTRUCTION_ID_DESC', - LegsDistinctCountLegTypeAsc = 'LEGS_DISTINCT_COUNT_LEG_TYPE_ASC', - LegsDistinctCountLegTypeDesc = 'LEGS_DISTINCT_COUNT_LEG_TYPE_DESC', - LegsDistinctCountNftIdsAsc = 'LEGS_DISTINCT_COUNT_NFT_IDS_ASC', - LegsDistinctCountNftIdsDesc = 'LEGS_DISTINCT_COUNT_NFT_IDS_DESC', - LegsDistinctCountSettlementIdAsc = 'LEGS_DISTINCT_COUNT_SETTLEMENT_ID_ASC', - LegsDistinctCountSettlementIdDesc = 'LEGS_DISTINCT_COUNT_SETTLEMENT_ID_DESC', - LegsDistinctCountToIdAsc = 'LEGS_DISTINCT_COUNT_TO_ID_ASC', - LegsDistinctCountToIdDesc = 'LEGS_DISTINCT_COUNT_TO_ID_DESC', - LegsDistinctCountUpdatedAtAsc = 'LEGS_DISTINCT_COUNT_UPDATED_AT_ASC', - LegsDistinctCountUpdatedAtDesc = 'LEGS_DISTINCT_COUNT_UPDATED_AT_DESC', - LegsDistinctCountUpdatedBlockIdAsc = 'LEGS_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - LegsDistinctCountUpdatedBlockIdDesc = 'LEGS_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - LegsMaxAddressesAsc = 'LEGS_MAX_ADDRESSES_ASC', - LegsMaxAddressesDesc = 'LEGS_MAX_ADDRESSES_DESC', - LegsMaxAmountAsc = 'LEGS_MAX_AMOUNT_ASC', - LegsMaxAmountDesc = 'LEGS_MAX_AMOUNT_DESC', - LegsMaxAssetIdAsc = 'LEGS_MAX_ASSET_ID_ASC', - LegsMaxAssetIdDesc = 'LEGS_MAX_ASSET_ID_DESC', - LegsMaxCreatedAtAsc = 'LEGS_MAX_CREATED_AT_ASC', - LegsMaxCreatedAtDesc = 'LEGS_MAX_CREATED_AT_DESC', - LegsMaxCreatedBlockIdAsc = 'LEGS_MAX_CREATED_BLOCK_ID_ASC', - LegsMaxCreatedBlockIdDesc = 'LEGS_MAX_CREATED_BLOCK_ID_DESC', - LegsMaxFromIdAsc = 'LEGS_MAX_FROM_ID_ASC', - LegsMaxFromIdDesc = 'LEGS_MAX_FROM_ID_DESC', - LegsMaxIdAsc = 'LEGS_MAX_ID_ASC', - LegsMaxIdDesc = 'LEGS_MAX_ID_DESC', - LegsMaxInstructionIdAsc = 'LEGS_MAX_INSTRUCTION_ID_ASC', - LegsMaxInstructionIdDesc = 'LEGS_MAX_INSTRUCTION_ID_DESC', - LegsMaxLegTypeAsc = 'LEGS_MAX_LEG_TYPE_ASC', - LegsMaxLegTypeDesc = 'LEGS_MAX_LEG_TYPE_DESC', - LegsMaxNftIdsAsc = 'LEGS_MAX_NFT_IDS_ASC', - LegsMaxNftIdsDesc = 'LEGS_MAX_NFT_IDS_DESC', - LegsMaxSettlementIdAsc = 'LEGS_MAX_SETTLEMENT_ID_ASC', - LegsMaxSettlementIdDesc = 'LEGS_MAX_SETTLEMENT_ID_DESC', - LegsMaxToIdAsc = 'LEGS_MAX_TO_ID_ASC', - LegsMaxToIdDesc = 'LEGS_MAX_TO_ID_DESC', - LegsMaxUpdatedAtAsc = 'LEGS_MAX_UPDATED_AT_ASC', - LegsMaxUpdatedAtDesc = 'LEGS_MAX_UPDATED_AT_DESC', - LegsMaxUpdatedBlockIdAsc = 'LEGS_MAX_UPDATED_BLOCK_ID_ASC', - LegsMaxUpdatedBlockIdDesc = 'LEGS_MAX_UPDATED_BLOCK_ID_DESC', - LegsMinAddressesAsc = 'LEGS_MIN_ADDRESSES_ASC', - LegsMinAddressesDesc = 'LEGS_MIN_ADDRESSES_DESC', - LegsMinAmountAsc = 'LEGS_MIN_AMOUNT_ASC', - LegsMinAmountDesc = 'LEGS_MIN_AMOUNT_DESC', - LegsMinAssetIdAsc = 'LEGS_MIN_ASSET_ID_ASC', - LegsMinAssetIdDesc = 'LEGS_MIN_ASSET_ID_DESC', - LegsMinCreatedAtAsc = 'LEGS_MIN_CREATED_AT_ASC', - LegsMinCreatedAtDesc = 'LEGS_MIN_CREATED_AT_DESC', - LegsMinCreatedBlockIdAsc = 'LEGS_MIN_CREATED_BLOCK_ID_ASC', - LegsMinCreatedBlockIdDesc = 'LEGS_MIN_CREATED_BLOCK_ID_DESC', - LegsMinFromIdAsc = 'LEGS_MIN_FROM_ID_ASC', - LegsMinFromIdDesc = 'LEGS_MIN_FROM_ID_DESC', - LegsMinIdAsc = 'LEGS_MIN_ID_ASC', - LegsMinIdDesc = 'LEGS_MIN_ID_DESC', - LegsMinInstructionIdAsc = 'LEGS_MIN_INSTRUCTION_ID_ASC', - LegsMinInstructionIdDesc = 'LEGS_MIN_INSTRUCTION_ID_DESC', - LegsMinLegTypeAsc = 'LEGS_MIN_LEG_TYPE_ASC', - LegsMinLegTypeDesc = 'LEGS_MIN_LEG_TYPE_DESC', - LegsMinNftIdsAsc = 'LEGS_MIN_NFT_IDS_ASC', - LegsMinNftIdsDesc = 'LEGS_MIN_NFT_IDS_DESC', - LegsMinSettlementIdAsc = 'LEGS_MIN_SETTLEMENT_ID_ASC', - LegsMinSettlementIdDesc = 'LEGS_MIN_SETTLEMENT_ID_DESC', - LegsMinToIdAsc = 'LEGS_MIN_TO_ID_ASC', - LegsMinToIdDesc = 'LEGS_MIN_TO_ID_DESC', - LegsMinUpdatedAtAsc = 'LEGS_MIN_UPDATED_AT_ASC', - LegsMinUpdatedAtDesc = 'LEGS_MIN_UPDATED_AT_DESC', - LegsMinUpdatedBlockIdAsc = 'LEGS_MIN_UPDATED_BLOCK_ID_ASC', - LegsMinUpdatedBlockIdDesc = 'LEGS_MIN_UPDATED_BLOCK_ID_DESC', - LegsStddevPopulationAddressesAsc = 'LEGS_STDDEV_POPULATION_ADDRESSES_ASC', - LegsStddevPopulationAddressesDesc = 'LEGS_STDDEV_POPULATION_ADDRESSES_DESC', - LegsStddevPopulationAmountAsc = 'LEGS_STDDEV_POPULATION_AMOUNT_ASC', - LegsStddevPopulationAmountDesc = 'LEGS_STDDEV_POPULATION_AMOUNT_DESC', - LegsStddevPopulationAssetIdAsc = 'LEGS_STDDEV_POPULATION_ASSET_ID_ASC', - LegsStddevPopulationAssetIdDesc = 'LEGS_STDDEV_POPULATION_ASSET_ID_DESC', - LegsStddevPopulationCreatedAtAsc = 'LEGS_STDDEV_POPULATION_CREATED_AT_ASC', - LegsStddevPopulationCreatedAtDesc = 'LEGS_STDDEV_POPULATION_CREATED_AT_DESC', - LegsStddevPopulationCreatedBlockIdAsc = 'LEGS_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - LegsStddevPopulationCreatedBlockIdDesc = 'LEGS_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - LegsStddevPopulationFromIdAsc = 'LEGS_STDDEV_POPULATION_FROM_ID_ASC', - LegsStddevPopulationFromIdDesc = 'LEGS_STDDEV_POPULATION_FROM_ID_DESC', - LegsStddevPopulationIdAsc = 'LEGS_STDDEV_POPULATION_ID_ASC', - LegsStddevPopulationIdDesc = 'LEGS_STDDEV_POPULATION_ID_DESC', - LegsStddevPopulationInstructionIdAsc = 'LEGS_STDDEV_POPULATION_INSTRUCTION_ID_ASC', - LegsStddevPopulationInstructionIdDesc = 'LEGS_STDDEV_POPULATION_INSTRUCTION_ID_DESC', - LegsStddevPopulationLegTypeAsc = 'LEGS_STDDEV_POPULATION_LEG_TYPE_ASC', - LegsStddevPopulationLegTypeDesc = 'LEGS_STDDEV_POPULATION_LEG_TYPE_DESC', - LegsStddevPopulationNftIdsAsc = 'LEGS_STDDEV_POPULATION_NFT_IDS_ASC', - LegsStddevPopulationNftIdsDesc = 'LEGS_STDDEV_POPULATION_NFT_IDS_DESC', - LegsStddevPopulationSettlementIdAsc = 'LEGS_STDDEV_POPULATION_SETTLEMENT_ID_ASC', - LegsStddevPopulationSettlementIdDesc = 'LEGS_STDDEV_POPULATION_SETTLEMENT_ID_DESC', - LegsStddevPopulationToIdAsc = 'LEGS_STDDEV_POPULATION_TO_ID_ASC', - LegsStddevPopulationToIdDesc = 'LEGS_STDDEV_POPULATION_TO_ID_DESC', - LegsStddevPopulationUpdatedAtAsc = 'LEGS_STDDEV_POPULATION_UPDATED_AT_ASC', - LegsStddevPopulationUpdatedAtDesc = 'LEGS_STDDEV_POPULATION_UPDATED_AT_DESC', - LegsStddevPopulationUpdatedBlockIdAsc = 'LEGS_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - LegsStddevPopulationUpdatedBlockIdDesc = 'LEGS_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - LegsStddevSampleAddressesAsc = 'LEGS_STDDEV_SAMPLE_ADDRESSES_ASC', - LegsStddevSampleAddressesDesc = 'LEGS_STDDEV_SAMPLE_ADDRESSES_DESC', - LegsStddevSampleAmountAsc = 'LEGS_STDDEV_SAMPLE_AMOUNT_ASC', - LegsStddevSampleAmountDesc = 'LEGS_STDDEV_SAMPLE_AMOUNT_DESC', - LegsStddevSampleAssetIdAsc = 'LEGS_STDDEV_SAMPLE_ASSET_ID_ASC', - LegsStddevSampleAssetIdDesc = 'LEGS_STDDEV_SAMPLE_ASSET_ID_DESC', - LegsStddevSampleCreatedAtAsc = 'LEGS_STDDEV_SAMPLE_CREATED_AT_ASC', - LegsStddevSampleCreatedAtDesc = 'LEGS_STDDEV_SAMPLE_CREATED_AT_DESC', - LegsStddevSampleCreatedBlockIdAsc = 'LEGS_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - LegsStddevSampleCreatedBlockIdDesc = 'LEGS_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - LegsStddevSampleFromIdAsc = 'LEGS_STDDEV_SAMPLE_FROM_ID_ASC', - LegsStddevSampleFromIdDesc = 'LEGS_STDDEV_SAMPLE_FROM_ID_DESC', - LegsStddevSampleIdAsc = 'LEGS_STDDEV_SAMPLE_ID_ASC', - LegsStddevSampleIdDesc = 'LEGS_STDDEV_SAMPLE_ID_DESC', - LegsStddevSampleInstructionIdAsc = 'LEGS_STDDEV_SAMPLE_INSTRUCTION_ID_ASC', - LegsStddevSampleInstructionIdDesc = 'LEGS_STDDEV_SAMPLE_INSTRUCTION_ID_DESC', - LegsStddevSampleLegTypeAsc = 'LEGS_STDDEV_SAMPLE_LEG_TYPE_ASC', - LegsStddevSampleLegTypeDesc = 'LEGS_STDDEV_SAMPLE_LEG_TYPE_DESC', - LegsStddevSampleNftIdsAsc = 'LEGS_STDDEV_SAMPLE_NFT_IDS_ASC', - LegsStddevSampleNftIdsDesc = 'LEGS_STDDEV_SAMPLE_NFT_IDS_DESC', - LegsStddevSampleSettlementIdAsc = 'LEGS_STDDEV_SAMPLE_SETTLEMENT_ID_ASC', - LegsStddevSampleSettlementIdDesc = 'LEGS_STDDEV_SAMPLE_SETTLEMENT_ID_DESC', - LegsStddevSampleToIdAsc = 'LEGS_STDDEV_SAMPLE_TO_ID_ASC', - LegsStddevSampleToIdDesc = 'LEGS_STDDEV_SAMPLE_TO_ID_DESC', - LegsStddevSampleUpdatedAtAsc = 'LEGS_STDDEV_SAMPLE_UPDATED_AT_ASC', - LegsStddevSampleUpdatedAtDesc = 'LEGS_STDDEV_SAMPLE_UPDATED_AT_DESC', - LegsStddevSampleUpdatedBlockIdAsc = 'LEGS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - LegsStddevSampleUpdatedBlockIdDesc = 'LEGS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - LegsSumAddressesAsc = 'LEGS_SUM_ADDRESSES_ASC', - LegsSumAddressesDesc = 'LEGS_SUM_ADDRESSES_DESC', - LegsSumAmountAsc = 'LEGS_SUM_AMOUNT_ASC', - LegsSumAmountDesc = 'LEGS_SUM_AMOUNT_DESC', - LegsSumAssetIdAsc = 'LEGS_SUM_ASSET_ID_ASC', - LegsSumAssetIdDesc = 'LEGS_SUM_ASSET_ID_DESC', - LegsSumCreatedAtAsc = 'LEGS_SUM_CREATED_AT_ASC', - LegsSumCreatedAtDesc = 'LEGS_SUM_CREATED_AT_DESC', - LegsSumCreatedBlockIdAsc = 'LEGS_SUM_CREATED_BLOCK_ID_ASC', - LegsSumCreatedBlockIdDesc = 'LEGS_SUM_CREATED_BLOCK_ID_DESC', - LegsSumFromIdAsc = 'LEGS_SUM_FROM_ID_ASC', - LegsSumFromIdDesc = 'LEGS_SUM_FROM_ID_DESC', - LegsSumIdAsc = 'LEGS_SUM_ID_ASC', - LegsSumIdDesc = 'LEGS_SUM_ID_DESC', - LegsSumInstructionIdAsc = 'LEGS_SUM_INSTRUCTION_ID_ASC', - LegsSumInstructionIdDesc = 'LEGS_SUM_INSTRUCTION_ID_DESC', - LegsSumLegTypeAsc = 'LEGS_SUM_LEG_TYPE_ASC', - LegsSumLegTypeDesc = 'LEGS_SUM_LEG_TYPE_DESC', - LegsSumNftIdsAsc = 'LEGS_SUM_NFT_IDS_ASC', - LegsSumNftIdsDesc = 'LEGS_SUM_NFT_IDS_DESC', - LegsSumSettlementIdAsc = 'LEGS_SUM_SETTLEMENT_ID_ASC', - LegsSumSettlementIdDesc = 'LEGS_SUM_SETTLEMENT_ID_DESC', - LegsSumToIdAsc = 'LEGS_SUM_TO_ID_ASC', - LegsSumToIdDesc = 'LEGS_SUM_TO_ID_DESC', - LegsSumUpdatedAtAsc = 'LEGS_SUM_UPDATED_AT_ASC', - LegsSumUpdatedAtDesc = 'LEGS_SUM_UPDATED_AT_DESC', - LegsSumUpdatedBlockIdAsc = 'LEGS_SUM_UPDATED_BLOCK_ID_ASC', - LegsSumUpdatedBlockIdDesc = 'LEGS_SUM_UPDATED_BLOCK_ID_DESC', - LegsVariancePopulationAddressesAsc = 'LEGS_VARIANCE_POPULATION_ADDRESSES_ASC', - LegsVariancePopulationAddressesDesc = 'LEGS_VARIANCE_POPULATION_ADDRESSES_DESC', - LegsVariancePopulationAmountAsc = 'LEGS_VARIANCE_POPULATION_AMOUNT_ASC', - LegsVariancePopulationAmountDesc = 'LEGS_VARIANCE_POPULATION_AMOUNT_DESC', - LegsVariancePopulationAssetIdAsc = 'LEGS_VARIANCE_POPULATION_ASSET_ID_ASC', - LegsVariancePopulationAssetIdDesc = 'LEGS_VARIANCE_POPULATION_ASSET_ID_DESC', - LegsVariancePopulationCreatedAtAsc = 'LEGS_VARIANCE_POPULATION_CREATED_AT_ASC', - LegsVariancePopulationCreatedAtDesc = 'LEGS_VARIANCE_POPULATION_CREATED_AT_DESC', - LegsVariancePopulationCreatedBlockIdAsc = 'LEGS_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - LegsVariancePopulationCreatedBlockIdDesc = 'LEGS_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - LegsVariancePopulationFromIdAsc = 'LEGS_VARIANCE_POPULATION_FROM_ID_ASC', - LegsVariancePopulationFromIdDesc = 'LEGS_VARIANCE_POPULATION_FROM_ID_DESC', - LegsVariancePopulationIdAsc = 'LEGS_VARIANCE_POPULATION_ID_ASC', - LegsVariancePopulationIdDesc = 'LEGS_VARIANCE_POPULATION_ID_DESC', - LegsVariancePopulationInstructionIdAsc = 'LEGS_VARIANCE_POPULATION_INSTRUCTION_ID_ASC', - LegsVariancePopulationInstructionIdDesc = 'LEGS_VARIANCE_POPULATION_INSTRUCTION_ID_DESC', - LegsVariancePopulationLegTypeAsc = 'LEGS_VARIANCE_POPULATION_LEG_TYPE_ASC', - LegsVariancePopulationLegTypeDesc = 'LEGS_VARIANCE_POPULATION_LEG_TYPE_DESC', - LegsVariancePopulationNftIdsAsc = 'LEGS_VARIANCE_POPULATION_NFT_IDS_ASC', - LegsVariancePopulationNftIdsDesc = 'LEGS_VARIANCE_POPULATION_NFT_IDS_DESC', - LegsVariancePopulationSettlementIdAsc = 'LEGS_VARIANCE_POPULATION_SETTLEMENT_ID_ASC', - LegsVariancePopulationSettlementIdDesc = 'LEGS_VARIANCE_POPULATION_SETTLEMENT_ID_DESC', - LegsVariancePopulationToIdAsc = 'LEGS_VARIANCE_POPULATION_TO_ID_ASC', - LegsVariancePopulationToIdDesc = 'LEGS_VARIANCE_POPULATION_TO_ID_DESC', - LegsVariancePopulationUpdatedAtAsc = 'LEGS_VARIANCE_POPULATION_UPDATED_AT_ASC', - LegsVariancePopulationUpdatedAtDesc = 'LEGS_VARIANCE_POPULATION_UPDATED_AT_DESC', - LegsVariancePopulationUpdatedBlockIdAsc = 'LEGS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - LegsVariancePopulationUpdatedBlockIdDesc = 'LEGS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - LegsVarianceSampleAddressesAsc = 'LEGS_VARIANCE_SAMPLE_ADDRESSES_ASC', - LegsVarianceSampleAddressesDesc = 'LEGS_VARIANCE_SAMPLE_ADDRESSES_DESC', - LegsVarianceSampleAmountAsc = 'LEGS_VARIANCE_SAMPLE_AMOUNT_ASC', - LegsVarianceSampleAmountDesc = 'LEGS_VARIANCE_SAMPLE_AMOUNT_DESC', - LegsVarianceSampleAssetIdAsc = 'LEGS_VARIANCE_SAMPLE_ASSET_ID_ASC', - LegsVarianceSampleAssetIdDesc = 'LEGS_VARIANCE_SAMPLE_ASSET_ID_DESC', - LegsVarianceSampleCreatedAtAsc = 'LEGS_VARIANCE_SAMPLE_CREATED_AT_ASC', - LegsVarianceSampleCreatedAtDesc = 'LEGS_VARIANCE_SAMPLE_CREATED_AT_DESC', - LegsVarianceSampleCreatedBlockIdAsc = 'LEGS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - LegsVarianceSampleCreatedBlockIdDesc = 'LEGS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - LegsVarianceSampleFromIdAsc = 'LEGS_VARIANCE_SAMPLE_FROM_ID_ASC', - LegsVarianceSampleFromIdDesc = 'LEGS_VARIANCE_SAMPLE_FROM_ID_DESC', - LegsVarianceSampleIdAsc = 'LEGS_VARIANCE_SAMPLE_ID_ASC', - LegsVarianceSampleIdDesc = 'LEGS_VARIANCE_SAMPLE_ID_DESC', - LegsVarianceSampleInstructionIdAsc = 'LEGS_VARIANCE_SAMPLE_INSTRUCTION_ID_ASC', - LegsVarianceSampleInstructionIdDesc = 'LEGS_VARIANCE_SAMPLE_INSTRUCTION_ID_DESC', - LegsVarianceSampleLegTypeAsc = 'LEGS_VARIANCE_SAMPLE_LEG_TYPE_ASC', - LegsVarianceSampleLegTypeDesc = 'LEGS_VARIANCE_SAMPLE_LEG_TYPE_DESC', - LegsVarianceSampleNftIdsAsc = 'LEGS_VARIANCE_SAMPLE_NFT_IDS_ASC', - LegsVarianceSampleNftIdsDesc = 'LEGS_VARIANCE_SAMPLE_NFT_IDS_DESC', - LegsVarianceSampleSettlementIdAsc = 'LEGS_VARIANCE_SAMPLE_SETTLEMENT_ID_ASC', - LegsVarianceSampleSettlementIdDesc = 'LEGS_VARIANCE_SAMPLE_SETTLEMENT_ID_DESC', - LegsVarianceSampleToIdAsc = 'LEGS_VARIANCE_SAMPLE_TO_ID_ASC', - LegsVarianceSampleToIdDesc = 'LEGS_VARIANCE_SAMPLE_TO_ID_DESC', - LegsVarianceSampleUpdatedAtAsc = 'LEGS_VARIANCE_SAMPLE_UPDATED_AT_ASC', - LegsVarianceSampleUpdatedAtDesc = 'LEGS_VARIANCE_SAMPLE_UPDATED_AT_DESC', - LegsVarianceSampleUpdatedBlockIdAsc = 'LEGS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - LegsVarianceSampleUpdatedBlockIdDesc = 'LEGS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - Natural = 'NATURAL', - PrimaryKeyAsc = 'PRIMARY_KEY_ASC', - PrimaryKeyDesc = 'PRIMARY_KEY_DESC', - ResultAsc = 'RESULT_ASC', - ResultDesc = 'RESULT_DESC', - UpdatedAtAsc = 'UPDATED_AT_ASC', - UpdatedAtDesc = 'UPDATED_AT_DESC', - UpdatedBlockIdAsc = 'UPDATED_BLOCK_ID_ASC', - UpdatedBlockIdDesc = 'UPDATED_BLOCK_ID_DESC', -} - -/** Represents signer types */ -export enum SignerTypeEnum { - Account = 'Account', - Identity = 'Identity', -} - -/** A filter to be used against SignerTypeEnum fields. All fields are combined with a logical ‘and.’ */ -export type SignerTypeEnumFilter = { - /** Not equal to the specified value, treating null like an ordinary value. */ - distinctFrom?: InputMaybe; - /** Equal to the specified value. */ - equalTo?: InputMaybe; - /** Greater than the specified value. */ - greaterThan?: InputMaybe; - /** Greater than or equal to the specified value. */ - greaterThanOrEqualTo?: InputMaybe; - /** Included in the specified list. */ - in?: InputMaybe>; - /** Is null (if `true` is specified) or is not null (if `false` is specified). */ - isNull?: InputMaybe; - /** Less than the specified value. */ - lessThan?: InputMaybe; - /** Less than or equal to the specified value. */ - lessThanOrEqualTo?: InputMaybe; - /** Equal to the specified value, treating null like an ordinary value. */ - notDistinctFrom?: InputMaybe; - /** Not equal to the specified value. */ - notEqualTo?: InputMaybe; - /** Not included in the specified list. */ - notIn?: InputMaybe>; -}; - -/** Represents a change in staking status */ -export type StakingEvent = Node & { - __typename?: 'StakingEvent'; - amount?: Maybe; - createdAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `StakingEvent`. */ - createdBlock?: Maybe; - createdBlockId: Scalars['String']['output']; - datetime: Scalars['Datetime']['output']; - eventId: EventIdEnum; - id: Scalars['String']['output']; - /** Reads a single `Identity` that is related to this `StakingEvent`. */ - identity?: Maybe; - identityId?: Maybe; - /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ - nodeId: Scalars['ID']['output']; - nominatedValidators?: Maybe; - stashAccount?: Maybe; - transactionId?: Maybe; - updatedAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `StakingEvent`. */ - updatedBlock?: Maybe; - updatedBlockId: Scalars['String']['output']; -}; - -export type StakingEventAggregates = { - __typename?: 'StakingEventAggregates'; - /** Mean average aggregates across the matching connection (ignoring before/after/first/last/offset) */ - average?: Maybe; - /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ - distinctCount?: Maybe; - keys?: Maybe>; - /** Maximum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - max?: Maybe; - /** Minimum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - min?: Maybe; - /** Population standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevPopulation?: Maybe; - /** Sample standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevSample?: Maybe; - /** Sum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - sum?: Maybe; - /** Population variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - variancePopulation?: Maybe; - /** Sample variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - varianceSample?: Maybe; -}; - -/** A filter to be used against aggregates of `StakingEvent` object types. */ -export type StakingEventAggregatesFilter = { - /** Mean average aggregate over matching `StakingEvent` objects. */ - average?: InputMaybe; - /** Distinct count aggregate over matching `StakingEvent` objects. */ - distinctCount?: InputMaybe; - /** A filter that must pass for the relevant `StakingEvent` object to be included within the aggregate. */ - filter?: InputMaybe; - /** Maximum aggregate over matching `StakingEvent` objects. */ - max?: InputMaybe; - /** Minimum aggregate over matching `StakingEvent` objects. */ - min?: InputMaybe; - /** Population standard deviation aggregate over matching `StakingEvent` objects. */ - stddevPopulation?: InputMaybe; - /** Sample standard deviation aggregate over matching `StakingEvent` objects. */ - stddevSample?: InputMaybe; - /** Sum aggregate over matching `StakingEvent` objects. */ - sum?: InputMaybe; - /** Population variance aggregate over matching `StakingEvent` objects. */ - variancePopulation?: InputMaybe; - /** Sample variance aggregate over matching `StakingEvent` objects. */ - varianceSample?: InputMaybe; -}; - -export type StakingEventAverageAggregateFilter = { - amount?: InputMaybe; -}; - -export type StakingEventAverageAggregates = { - __typename?: 'StakingEventAverageAggregates'; - /** Mean average of amount across the matching connection */ - amount?: Maybe; -}; - -export type StakingEventDistinctCountAggregateFilter = { - amount?: InputMaybe; - createdAt?: InputMaybe; - createdBlockId?: InputMaybe; - datetime?: InputMaybe; - eventId?: InputMaybe; - id?: InputMaybe; - identityId?: InputMaybe; - nominatedValidators?: InputMaybe; - stashAccount?: InputMaybe; - transactionId?: InputMaybe; - updatedAt?: InputMaybe; - updatedBlockId?: InputMaybe; -}; - -export type StakingEventDistinctCountAggregates = { - __typename?: 'StakingEventDistinctCountAggregates'; - /** Distinct count of amount across the matching connection */ - amount?: Maybe; - /** Distinct count of createdAt across the matching connection */ - createdAt?: Maybe; - /** Distinct count of createdBlockId across the matching connection */ - createdBlockId?: Maybe; - /** Distinct count of datetime across the matching connection */ - datetime?: Maybe; - /** Distinct count of eventId across the matching connection */ - eventId?: Maybe; - /** Distinct count of id across the matching connection */ - id?: Maybe; - /** Distinct count of identityId across the matching connection */ - identityId?: Maybe; - /** Distinct count of nominatedValidators across the matching connection */ - nominatedValidators?: Maybe; - /** Distinct count of stashAccount across the matching connection */ - stashAccount?: Maybe; - /** Distinct count of transactionId across the matching connection */ - transactionId?: Maybe; - /** Distinct count of updatedAt across the matching connection */ - updatedAt?: Maybe; - /** Distinct count of updatedBlockId across the matching connection */ - updatedBlockId?: Maybe; -}; - -/** A filter to be used against `StakingEvent` object types. All fields are combined with a logical ‘and.’ */ -export type StakingEventFilter = { - /** Filter by the object’s `amount` field. */ - amount?: InputMaybe; - /** Checks for all expressions in this list. */ - and?: InputMaybe>; - /** Filter by the object’s `createdAt` field. */ - createdAt?: InputMaybe; - /** Filter by the object’s `createdBlock` relation. */ - createdBlock?: InputMaybe; - /** Filter by the object’s `createdBlockId` field. */ - createdBlockId?: InputMaybe; - /** Filter by the object’s `datetime` field. */ - datetime?: InputMaybe; - /** Filter by the object’s `eventId` field. */ - eventId?: InputMaybe; - /** Filter by the object’s `id` field. */ - id?: InputMaybe; - /** Filter by the object’s `identity` relation. */ - identity?: InputMaybe; - /** A related `identity` exists. */ - identityExists?: InputMaybe; - /** Filter by the object’s `identityId` field. */ - identityId?: InputMaybe; - /** Filter by the object’s `nominatedValidators` field. */ - nominatedValidators?: InputMaybe; - /** Negates the expression. */ - not?: InputMaybe; - /** Checks for any expressions in this list. */ - or?: InputMaybe>; - /** Filter by the object’s `stashAccount` field. */ - stashAccount?: InputMaybe; - /** Filter by the object’s `transactionId` field. */ - transactionId?: InputMaybe; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: InputMaybe; - /** Filter by the object’s `updatedBlock` relation. */ - updatedBlock?: InputMaybe; - /** Filter by the object’s `updatedBlockId` field. */ - updatedBlockId?: InputMaybe; -}; - -export type StakingEventMaxAggregateFilter = { - amount?: InputMaybe; -}; - -export type StakingEventMaxAggregates = { - __typename?: 'StakingEventMaxAggregates'; - /** Maximum of amount across the matching connection */ - amount?: Maybe; -}; - -export type StakingEventMinAggregateFilter = { - amount?: InputMaybe; -}; - -export type StakingEventMinAggregates = { - __typename?: 'StakingEventMinAggregates'; - /** Minimum of amount across the matching connection */ - amount?: Maybe; -}; - -export type StakingEventStddevPopulationAggregateFilter = { - amount?: InputMaybe; -}; - -export type StakingEventStddevPopulationAggregates = { - __typename?: 'StakingEventStddevPopulationAggregates'; - /** Population standard deviation of amount across the matching connection */ - amount?: Maybe; -}; - -export type StakingEventStddevSampleAggregateFilter = { - amount?: InputMaybe; -}; - -export type StakingEventStddevSampleAggregates = { - __typename?: 'StakingEventStddevSampleAggregates'; - /** Sample standard deviation of amount across the matching connection */ - amount?: Maybe; -}; - -export type StakingEventSumAggregateFilter = { - amount?: InputMaybe; -}; - -export type StakingEventSumAggregates = { - __typename?: 'StakingEventSumAggregates'; - /** Sum of amount across the matching connection */ - amount: Scalars['BigFloat']['output']; -}; - -export type StakingEventVariancePopulationAggregateFilter = { - amount?: InputMaybe; -}; - -export type StakingEventVariancePopulationAggregates = { - __typename?: 'StakingEventVariancePopulationAggregates'; - /** Population variance of amount across the matching connection */ - amount?: Maybe; -}; - -export type StakingEventVarianceSampleAggregateFilter = { - amount?: InputMaybe; -}; - -export type StakingEventVarianceSampleAggregates = { - __typename?: 'StakingEventVarianceSampleAggregates'; - /** Sample variance of amount across the matching connection */ - amount?: Maybe; -}; - -/** A connection to a list of `StakingEvent` values. */ -export type StakingEventsConnection = { - __typename?: 'StakingEventsConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `StakingEvent` and cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `StakingEvent` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `StakingEvent` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `StakingEvent` values. */ -export type StakingEventsConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `StakingEvent` edge in the connection. */ -export type StakingEventsEdge = { - __typename?: 'StakingEventsEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `StakingEvent` at the end of the edge. */ - node?: Maybe; -}; - -/** Grouping methods for `StakingEvent` for usage during aggregation. */ -export enum StakingEventsGroupBy { - Amount = 'AMOUNT', - CreatedAt = 'CREATED_AT', - CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', - CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', - CreatedBlockId = 'CREATED_BLOCK_ID', - Datetime = 'DATETIME', - DatetimeTruncatedToDay = 'DATETIME_TRUNCATED_TO_DAY', - DatetimeTruncatedToHour = 'DATETIME_TRUNCATED_TO_HOUR', - EventId = 'EVENT_ID', - IdentityId = 'IDENTITY_ID', - NominatedValidators = 'NOMINATED_VALIDATORS', - StashAccount = 'STASH_ACCOUNT', - TransactionId = 'TRANSACTION_ID', - UpdatedAt = 'UPDATED_AT', - UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', - UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export type StakingEventsHavingAverageInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type StakingEventsHavingDistinctCountInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Conditions for `StakingEvent` aggregates. */ -export type StakingEventsHavingInput = { - AND?: InputMaybe>; - OR?: InputMaybe>; - average?: InputMaybe; - distinctCount?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddevPopulation?: InputMaybe; - stddevSample?: InputMaybe; - sum?: InputMaybe; - variancePopulation?: InputMaybe; - varianceSample?: InputMaybe; -}; - -export type StakingEventsHavingMaxInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type StakingEventsHavingMinInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type StakingEventsHavingStddevPopulationInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type StakingEventsHavingStddevSampleInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type StakingEventsHavingSumInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type StakingEventsHavingVariancePopulationInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type StakingEventsHavingVarianceSampleInput = { - amount?: InputMaybe; - createdAt?: InputMaybe; - datetime?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Methods to use when ordering `StakingEvent`. */ -export enum StakingEventsOrderBy { - AmountAsc = 'AMOUNT_ASC', - AmountDesc = 'AMOUNT_DESC', - CreatedAtAsc = 'CREATED_AT_ASC', - CreatedAtDesc = 'CREATED_AT_DESC', - CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', - CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', - DatetimeAsc = 'DATETIME_ASC', - DatetimeDesc = 'DATETIME_DESC', - EventIdAsc = 'EVENT_ID_ASC', - EventIdDesc = 'EVENT_ID_DESC', - IdentityIdAsc = 'IDENTITY_ID_ASC', - IdentityIdDesc = 'IDENTITY_ID_DESC', - IdAsc = 'ID_ASC', - IdDesc = 'ID_DESC', - Natural = 'NATURAL', - NominatedValidatorsAsc = 'NOMINATED_VALIDATORS_ASC', - NominatedValidatorsDesc = 'NOMINATED_VALIDATORS_DESC', - PrimaryKeyAsc = 'PRIMARY_KEY_ASC', - PrimaryKeyDesc = 'PRIMARY_KEY_DESC', - StashAccountAsc = 'STASH_ACCOUNT_ASC', - StashAccountDesc = 'STASH_ACCOUNT_DESC', - TransactionIdAsc = 'TRANSACTION_ID_ASC', - TransactionIdDesc = 'TRANSACTION_ID_DESC', - UpdatedAtAsc = 'UPDATED_AT_ASC', - UpdatedAtDesc = 'UPDATED_AT_DESC', - UpdatedBlockIdAsc = 'UPDATED_BLOCK_ID_ASC', - UpdatedBlockIdDesc = 'UPDATED_BLOCK_ID_DESC', -} - -/** Represents all known stat types */ -export enum StatOpTypeEnum { - Balance = 'Balance', - Count = 'Count', -} - -/** A filter to be used against StatOpTypeEnum fields. All fields are combined with a logical ‘and.’ */ -export type StatOpTypeEnumFilter = { - /** Not equal to the specified value, treating null like an ordinary value. */ - distinctFrom?: InputMaybe; - /** Equal to the specified value. */ - equalTo?: InputMaybe; - /** Greater than the specified value. */ - greaterThan?: InputMaybe; - /** Greater than or equal to the specified value. */ - greaterThanOrEqualTo?: InputMaybe; - /** Included in the specified list. */ - in?: InputMaybe>; - /** Is null (if `true` is specified) or is not null (if `false` is specified). */ - isNull?: InputMaybe; - /** Less than the specified value. */ - lessThan?: InputMaybe; - /** Less than or equal to the specified value. */ - lessThanOrEqualTo?: InputMaybe; - /** Equal to the specified value, treating null like an ordinary value. */ - notDistinctFrom?: InputMaybe; - /** Not equal to the specified value. */ - notEqualTo?: InputMaybe; - /** Not included in the specified list. */ - notIn?: InputMaybe>; -}; - -/** - * Represents an on chain statistic about the Asset owners. e.g. How many investors hold the Asset - * - * These are required to be enabled in order for the chain to enforce transfer restrictions - * - * e.g. A restriction requiring ownership to be at least 50% Canadian would require a StatType of type `Balance` scoped to Jurisdiction before being created - */ -export type StatType = Node & { - __typename?: 'StatType'; - /** Reads a single `Asset` that is related to this `StatType`. */ - asset?: Maybe; - assetId: Scalars['String']['output']; - /** Reads and enables pagination through a set of `Asset`. */ - assetsByTransferComplianceStatTypeIdAndAssetId: StatTypeAssetsByTransferComplianceStatTypeIdAndAssetIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByTransferComplianceStatTypeIdAndCreatedBlockId: StatTypeBlocksByTransferComplianceStatTypeIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByTransferComplianceStatTypeIdAndUpdatedBlockId: StatTypeBlocksByTransferComplianceStatTypeIdAndUpdatedBlockIdManyToManyConnection; - /** Reads a single `Identity` that is related to this `StatType`. */ - claimIssuer?: Maybe; - claimIssuerId?: Maybe; - claimType?: Maybe; - createdAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `StatType`. */ - createdBlock?: Maybe; - createdBlockId: Scalars['String']['output']; - id: Scalars['String']['output']; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByTransferComplianceStatTypeIdAndClaimIssuerId: StatTypeIdentitiesByTransferComplianceStatTypeIdAndClaimIssuerIdManyToManyConnection; - /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ - nodeId: Scalars['ID']['output']; - opType: StatOpTypeEnum; - /** Reads and enables pagination through a set of `TransferCompliance`. */ - transferCompliances: TransferCompliancesConnection; - updatedAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `StatType`. */ - updatedBlock?: Maybe; - updatedBlockId: Scalars['String']['output']; -}; - -/** - * Represents an on chain statistic about the Asset owners. e.g. How many investors hold the Asset - * - * These are required to be enabled in order for the chain to enforce transfer restrictions - * - * e.g. A restriction requiring ownership to be at least 50% Canadian would require a StatType of type `Balance` scoped to Jurisdiction before being created - */ -export type StatTypeAssetsByTransferComplianceStatTypeIdAndAssetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents an on chain statistic about the Asset owners. e.g. How many investors hold the Asset - * - * These are required to be enabled in order for the chain to enforce transfer restrictions - * - * e.g. A restriction requiring ownership to be at least 50% Canadian would require a StatType of type `Balance` scoped to Jurisdiction before being created - */ -export type StatTypeBlocksByTransferComplianceStatTypeIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents an on chain statistic about the Asset owners. e.g. How many investors hold the Asset - * - * These are required to be enabled in order for the chain to enforce transfer restrictions - * - * e.g. A restriction requiring ownership to be at least 50% Canadian would require a StatType of type `Balance` scoped to Jurisdiction before being created - */ -export type StatTypeBlocksByTransferComplianceStatTypeIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents an on chain statistic about the Asset owners. e.g. How many investors hold the Asset - * - * These are required to be enabled in order for the chain to enforce transfer restrictions - * - * e.g. A restriction requiring ownership to be at least 50% Canadian would require a StatType of type `Balance` scoped to Jurisdiction before being created - */ -export type StatTypeIdentitiesByTransferComplianceStatTypeIdAndClaimIssuerIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents an on chain statistic about the Asset owners. e.g. How many investors hold the Asset - * - * These are required to be enabled in order for the chain to enforce transfer restrictions - * - * e.g. A restriction requiring ownership to be at least 50% Canadian would require a StatType of type `Balance` scoped to Jurisdiction before being created - */ -export type StatTypeTransferCompliancesArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -export type StatTypeAggregates = { - __typename?: 'StatTypeAggregates'; - /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ - distinctCount?: Maybe; - keys?: Maybe>; -}; - -/** A filter to be used against aggregates of `StatType` object types. */ -export type StatTypeAggregatesFilter = { - /** Distinct count aggregate over matching `StatType` objects. */ - distinctCount?: InputMaybe; - /** A filter that must pass for the relevant `StatType` object to be included within the aggregate. */ - filter?: InputMaybe; -}; - -/** A connection to a list of `Asset` values, with data from `TransferCompliance`. */ -export type StatTypeAssetsByTransferComplianceStatTypeIdAndAssetIdManyToManyConnection = { - __typename?: 'StatTypeAssetsByTransferComplianceStatTypeIdAndAssetIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Asset`, info from the `TransferCompliance`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Asset` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Asset` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Asset` values, with data from `TransferCompliance`. */ -export type StatTypeAssetsByTransferComplianceStatTypeIdAndAssetIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Asset` edge in the connection, with data from `TransferCompliance`. */ -export type StatTypeAssetsByTransferComplianceStatTypeIdAndAssetIdManyToManyEdge = { - __typename?: 'StatTypeAssetsByTransferComplianceStatTypeIdAndAssetIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Asset` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TransferCompliance`. */ - transferCompliances: TransferCompliancesConnection; -}; - -/** A `Asset` edge in the connection, with data from `TransferCompliance`. */ -export type StatTypeAssetsByTransferComplianceStatTypeIdAndAssetIdManyToManyEdgeTransferCompliancesArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `TransferCompliance`. */ -export type StatTypeBlocksByTransferComplianceStatTypeIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'StatTypeBlocksByTransferComplianceStatTypeIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `TransferCompliance`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `TransferCompliance`. */ -export type StatTypeBlocksByTransferComplianceStatTypeIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `TransferCompliance`. */ -export type StatTypeBlocksByTransferComplianceStatTypeIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'StatTypeBlocksByTransferComplianceStatTypeIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TransferCompliance`. */ - transferCompliancesByCreatedBlockId: TransferCompliancesConnection; -}; - -/** A `Block` edge in the connection, with data from `TransferCompliance`. */ -export type StatTypeBlocksByTransferComplianceStatTypeIdAndCreatedBlockIdManyToManyEdgeTransferCompliancesByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `TransferCompliance`. */ -export type StatTypeBlocksByTransferComplianceStatTypeIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'StatTypeBlocksByTransferComplianceStatTypeIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `TransferCompliance`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `TransferCompliance`. */ -export type StatTypeBlocksByTransferComplianceStatTypeIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `TransferCompliance`. */ -export type StatTypeBlocksByTransferComplianceStatTypeIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'StatTypeBlocksByTransferComplianceStatTypeIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TransferCompliance`. */ - transferCompliancesByUpdatedBlockId: TransferCompliancesConnection; -}; - -/** A `Block` edge in the connection, with data from `TransferCompliance`. */ -export type StatTypeBlocksByTransferComplianceStatTypeIdAndUpdatedBlockIdManyToManyEdgeTransferCompliancesByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -export type StatTypeDistinctCountAggregateFilter = { - assetId?: InputMaybe; - claimIssuerId?: InputMaybe; - claimType?: InputMaybe; - createdAt?: InputMaybe; - createdBlockId?: InputMaybe; - id?: InputMaybe; - opType?: InputMaybe; - updatedAt?: InputMaybe; - updatedBlockId?: InputMaybe; -}; - -export type StatTypeDistinctCountAggregates = { - __typename?: 'StatTypeDistinctCountAggregates'; - /** Distinct count of assetId across the matching connection */ - assetId?: Maybe; - /** Distinct count of claimIssuerId across the matching connection */ - claimIssuerId?: Maybe; - /** Distinct count of claimType across the matching connection */ - claimType?: Maybe; - /** Distinct count of createdAt across the matching connection */ - createdAt?: Maybe; - /** Distinct count of createdBlockId across the matching connection */ - createdBlockId?: Maybe; - /** Distinct count of id across the matching connection */ - id?: Maybe; - /** Distinct count of opType across the matching connection */ - opType?: Maybe; - /** Distinct count of updatedAt across the matching connection */ - updatedAt?: Maybe; - /** Distinct count of updatedBlockId across the matching connection */ - updatedBlockId?: Maybe; -}; - -/** A filter to be used against `StatType` object types. All fields are combined with a logical ‘and.’ */ -export type StatTypeFilter = { - /** Checks for all expressions in this list. */ - and?: InputMaybe>; - /** Filter by the object’s `asset` relation. */ - asset?: InputMaybe; - /** Filter by the object’s `assetId` field. */ - assetId?: InputMaybe; - /** Filter by the object’s `claimIssuer` relation. */ - claimIssuer?: InputMaybe; - /** A related `claimIssuer` exists. */ - claimIssuerExists?: InputMaybe; - /** Filter by the object’s `claimIssuerId` field. */ - claimIssuerId?: InputMaybe; - /** Filter by the object’s `claimType` field. */ - claimType?: InputMaybe; - /** Filter by the object’s `createdAt` field. */ - createdAt?: InputMaybe; - /** Filter by the object’s `createdBlock` relation. */ - createdBlock?: InputMaybe; - /** Filter by the object’s `createdBlockId` field. */ - createdBlockId?: InputMaybe; - /** Filter by the object’s `id` field. */ - id?: InputMaybe; - /** Negates the expression. */ - not?: InputMaybe; - /** Filter by the object’s `opType` field. */ - opType?: InputMaybe; - /** Checks for any expressions in this list. */ - or?: InputMaybe>; - /** Filter by the object’s `transferCompliances` relation. */ - transferCompliances?: InputMaybe; - /** Some related `transferCompliances` exist. */ - transferCompliancesExist?: InputMaybe; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: InputMaybe; - /** Filter by the object’s `updatedBlock` relation. */ - updatedBlock?: InputMaybe; - /** Filter by the object’s `updatedBlockId` field. */ - updatedBlockId?: InputMaybe; -}; - -/** A connection to a list of `Identity` values, with data from `TransferCompliance`. */ -export type StatTypeIdentitiesByTransferComplianceStatTypeIdAndClaimIssuerIdManyToManyConnection = { - __typename?: 'StatTypeIdentitiesByTransferComplianceStatTypeIdAndClaimIssuerIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `TransferCompliance`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `TransferCompliance`. */ -export type StatTypeIdentitiesByTransferComplianceStatTypeIdAndClaimIssuerIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Identity` edge in the connection, with data from `TransferCompliance`. */ -export type StatTypeIdentitiesByTransferComplianceStatTypeIdAndClaimIssuerIdManyToManyEdge = { - __typename?: 'StatTypeIdentitiesByTransferComplianceStatTypeIdAndClaimIssuerIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `TransferCompliance`. */ - transferCompliancesByClaimIssuerId: TransferCompliancesConnection; -}; - -/** A `Identity` edge in the connection, with data from `TransferCompliance`. */ -export type StatTypeIdentitiesByTransferComplianceStatTypeIdAndClaimIssuerIdManyToManyEdgeTransferCompliancesByClaimIssuerIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A filter to be used against many `TransferCompliance` object types. All fields are combined with a logical ‘and.’ */ -export type StatTypeToManyTransferComplianceFilter = { - /** Aggregates across related `TransferCompliance` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `TransferCompliance` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `TransferCompliance` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `TransferCompliance` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A connection to a list of `StatType` values. */ -export type StatTypesConnection = { - __typename?: 'StatTypesConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `StatType` and cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `StatType` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `StatType` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `StatType` values. */ -export type StatTypesConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `StatType` edge in the connection. */ -export type StatTypesEdge = { - __typename?: 'StatTypesEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `StatType` at the end of the edge. */ - node?: Maybe; -}; - -/** Grouping methods for `StatType` for usage during aggregation. */ -export enum StatTypesGroupBy { - AssetId = 'ASSET_ID', - ClaimIssuerId = 'CLAIM_ISSUER_ID', - ClaimType = 'CLAIM_TYPE', - CreatedAt = 'CREATED_AT', - CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', - CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', - CreatedBlockId = 'CREATED_BLOCK_ID', - OpType = 'OP_TYPE', - UpdatedAt = 'UPDATED_AT', - UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', - UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export type StatTypesHavingAverageInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type StatTypesHavingDistinctCountInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Conditions for `StatType` aggregates. */ -export type StatTypesHavingInput = { - AND?: InputMaybe>; - OR?: InputMaybe>; - average?: InputMaybe; - distinctCount?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddevPopulation?: InputMaybe; - stddevSample?: InputMaybe; - sum?: InputMaybe; - variancePopulation?: InputMaybe; - varianceSample?: InputMaybe; -}; - -export type StatTypesHavingMaxInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type StatTypesHavingMinInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type StatTypesHavingStddevPopulationInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type StatTypesHavingStddevSampleInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type StatTypesHavingSumInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type StatTypesHavingVariancePopulationInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type StatTypesHavingVarianceSampleInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Methods to use when ordering `StatType`. */ -export enum StatTypesOrderBy { - AssetIdAsc = 'ASSET_ID_ASC', - AssetIdDesc = 'ASSET_ID_DESC', - ClaimIssuerIdAsc = 'CLAIM_ISSUER_ID_ASC', - ClaimIssuerIdDesc = 'CLAIM_ISSUER_ID_DESC', - ClaimTypeAsc = 'CLAIM_TYPE_ASC', - ClaimTypeDesc = 'CLAIM_TYPE_DESC', - CreatedAtAsc = 'CREATED_AT_ASC', - CreatedAtDesc = 'CREATED_AT_DESC', - CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', - CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', - IdAsc = 'ID_ASC', - IdDesc = 'ID_DESC', - Natural = 'NATURAL', - OpTypeAsc = 'OP_TYPE_ASC', - OpTypeDesc = 'OP_TYPE_DESC', - PrimaryKeyAsc = 'PRIMARY_KEY_ASC', - PrimaryKeyDesc = 'PRIMARY_KEY_DESC', - TransferCompliancesAverageAssetIdAsc = 'TRANSFER_COMPLIANCES_AVERAGE_ASSET_ID_ASC', - TransferCompliancesAverageAssetIdDesc = 'TRANSFER_COMPLIANCES_AVERAGE_ASSET_ID_DESC', - TransferCompliancesAverageClaimIssuerIdAsc = 'TRANSFER_COMPLIANCES_AVERAGE_CLAIM_ISSUER_ID_ASC', - TransferCompliancesAverageClaimIssuerIdDesc = 'TRANSFER_COMPLIANCES_AVERAGE_CLAIM_ISSUER_ID_DESC', - TransferCompliancesAverageClaimTypeAsc = 'TRANSFER_COMPLIANCES_AVERAGE_CLAIM_TYPE_ASC', - TransferCompliancesAverageClaimTypeDesc = 'TRANSFER_COMPLIANCES_AVERAGE_CLAIM_TYPE_DESC', - TransferCompliancesAverageClaimValueAsc = 'TRANSFER_COMPLIANCES_AVERAGE_CLAIM_VALUE_ASC', - TransferCompliancesAverageClaimValueDesc = 'TRANSFER_COMPLIANCES_AVERAGE_CLAIM_VALUE_DESC', - TransferCompliancesAverageCreatedAtAsc = 'TRANSFER_COMPLIANCES_AVERAGE_CREATED_AT_ASC', - TransferCompliancesAverageCreatedAtDesc = 'TRANSFER_COMPLIANCES_AVERAGE_CREATED_AT_DESC', - TransferCompliancesAverageCreatedBlockIdAsc = 'TRANSFER_COMPLIANCES_AVERAGE_CREATED_BLOCK_ID_ASC', - TransferCompliancesAverageCreatedBlockIdDesc = 'TRANSFER_COMPLIANCES_AVERAGE_CREATED_BLOCK_ID_DESC', - TransferCompliancesAverageIdAsc = 'TRANSFER_COMPLIANCES_AVERAGE_ID_ASC', - TransferCompliancesAverageIdDesc = 'TRANSFER_COMPLIANCES_AVERAGE_ID_DESC', - TransferCompliancesAverageMaxAsc = 'TRANSFER_COMPLIANCES_AVERAGE_MAX_ASC', - TransferCompliancesAverageMaxDesc = 'TRANSFER_COMPLIANCES_AVERAGE_MAX_DESC', - TransferCompliancesAverageMinAsc = 'TRANSFER_COMPLIANCES_AVERAGE_MIN_ASC', - TransferCompliancesAverageMinDesc = 'TRANSFER_COMPLIANCES_AVERAGE_MIN_DESC', - TransferCompliancesAverageStatTypeIdAsc = 'TRANSFER_COMPLIANCES_AVERAGE_STAT_TYPE_ID_ASC', - TransferCompliancesAverageStatTypeIdDesc = 'TRANSFER_COMPLIANCES_AVERAGE_STAT_TYPE_ID_DESC', - TransferCompliancesAverageTypeAsc = 'TRANSFER_COMPLIANCES_AVERAGE_TYPE_ASC', - TransferCompliancesAverageTypeDesc = 'TRANSFER_COMPLIANCES_AVERAGE_TYPE_DESC', - TransferCompliancesAverageUpdatedAtAsc = 'TRANSFER_COMPLIANCES_AVERAGE_UPDATED_AT_ASC', - TransferCompliancesAverageUpdatedAtDesc = 'TRANSFER_COMPLIANCES_AVERAGE_UPDATED_AT_DESC', - TransferCompliancesAverageUpdatedBlockIdAsc = 'TRANSFER_COMPLIANCES_AVERAGE_UPDATED_BLOCK_ID_ASC', - TransferCompliancesAverageUpdatedBlockIdDesc = 'TRANSFER_COMPLIANCES_AVERAGE_UPDATED_BLOCK_ID_DESC', - TransferCompliancesAverageValueAsc = 'TRANSFER_COMPLIANCES_AVERAGE_VALUE_ASC', - TransferCompliancesAverageValueDesc = 'TRANSFER_COMPLIANCES_AVERAGE_VALUE_DESC', - TransferCompliancesCountAsc = 'TRANSFER_COMPLIANCES_COUNT_ASC', - TransferCompliancesCountDesc = 'TRANSFER_COMPLIANCES_COUNT_DESC', - TransferCompliancesDistinctCountAssetIdAsc = 'TRANSFER_COMPLIANCES_DISTINCT_COUNT_ASSET_ID_ASC', - TransferCompliancesDistinctCountAssetIdDesc = 'TRANSFER_COMPLIANCES_DISTINCT_COUNT_ASSET_ID_DESC', - TransferCompliancesDistinctCountClaimIssuerIdAsc = 'TRANSFER_COMPLIANCES_DISTINCT_COUNT_CLAIM_ISSUER_ID_ASC', - TransferCompliancesDistinctCountClaimIssuerIdDesc = 'TRANSFER_COMPLIANCES_DISTINCT_COUNT_CLAIM_ISSUER_ID_DESC', - TransferCompliancesDistinctCountClaimTypeAsc = 'TRANSFER_COMPLIANCES_DISTINCT_COUNT_CLAIM_TYPE_ASC', - TransferCompliancesDistinctCountClaimTypeDesc = 'TRANSFER_COMPLIANCES_DISTINCT_COUNT_CLAIM_TYPE_DESC', - TransferCompliancesDistinctCountClaimValueAsc = 'TRANSFER_COMPLIANCES_DISTINCT_COUNT_CLAIM_VALUE_ASC', - TransferCompliancesDistinctCountClaimValueDesc = 'TRANSFER_COMPLIANCES_DISTINCT_COUNT_CLAIM_VALUE_DESC', - TransferCompliancesDistinctCountCreatedAtAsc = 'TRANSFER_COMPLIANCES_DISTINCT_COUNT_CREATED_AT_ASC', - TransferCompliancesDistinctCountCreatedAtDesc = 'TRANSFER_COMPLIANCES_DISTINCT_COUNT_CREATED_AT_DESC', - TransferCompliancesDistinctCountCreatedBlockIdAsc = 'TRANSFER_COMPLIANCES_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - TransferCompliancesDistinctCountCreatedBlockIdDesc = 'TRANSFER_COMPLIANCES_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - TransferCompliancesDistinctCountIdAsc = 'TRANSFER_COMPLIANCES_DISTINCT_COUNT_ID_ASC', - TransferCompliancesDistinctCountIdDesc = 'TRANSFER_COMPLIANCES_DISTINCT_COUNT_ID_DESC', - TransferCompliancesDistinctCountMaxAsc = 'TRANSFER_COMPLIANCES_DISTINCT_COUNT_MAX_ASC', - TransferCompliancesDistinctCountMaxDesc = 'TRANSFER_COMPLIANCES_DISTINCT_COUNT_MAX_DESC', - TransferCompliancesDistinctCountMinAsc = 'TRANSFER_COMPLIANCES_DISTINCT_COUNT_MIN_ASC', - TransferCompliancesDistinctCountMinDesc = 'TRANSFER_COMPLIANCES_DISTINCT_COUNT_MIN_DESC', - TransferCompliancesDistinctCountStatTypeIdAsc = 'TRANSFER_COMPLIANCES_DISTINCT_COUNT_STAT_TYPE_ID_ASC', - TransferCompliancesDistinctCountStatTypeIdDesc = 'TRANSFER_COMPLIANCES_DISTINCT_COUNT_STAT_TYPE_ID_DESC', - TransferCompliancesDistinctCountTypeAsc = 'TRANSFER_COMPLIANCES_DISTINCT_COUNT_TYPE_ASC', - TransferCompliancesDistinctCountTypeDesc = 'TRANSFER_COMPLIANCES_DISTINCT_COUNT_TYPE_DESC', - TransferCompliancesDistinctCountUpdatedAtAsc = 'TRANSFER_COMPLIANCES_DISTINCT_COUNT_UPDATED_AT_ASC', - TransferCompliancesDistinctCountUpdatedAtDesc = 'TRANSFER_COMPLIANCES_DISTINCT_COUNT_UPDATED_AT_DESC', - TransferCompliancesDistinctCountUpdatedBlockIdAsc = 'TRANSFER_COMPLIANCES_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - TransferCompliancesDistinctCountUpdatedBlockIdDesc = 'TRANSFER_COMPLIANCES_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - TransferCompliancesDistinctCountValueAsc = 'TRANSFER_COMPLIANCES_DISTINCT_COUNT_VALUE_ASC', - TransferCompliancesDistinctCountValueDesc = 'TRANSFER_COMPLIANCES_DISTINCT_COUNT_VALUE_DESC', - TransferCompliancesMaxAssetIdAsc = 'TRANSFER_COMPLIANCES_MAX_ASSET_ID_ASC', - TransferCompliancesMaxAssetIdDesc = 'TRANSFER_COMPLIANCES_MAX_ASSET_ID_DESC', - TransferCompliancesMaxClaimIssuerIdAsc = 'TRANSFER_COMPLIANCES_MAX_CLAIM_ISSUER_ID_ASC', - TransferCompliancesMaxClaimIssuerIdDesc = 'TRANSFER_COMPLIANCES_MAX_CLAIM_ISSUER_ID_DESC', - TransferCompliancesMaxClaimTypeAsc = 'TRANSFER_COMPLIANCES_MAX_CLAIM_TYPE_ASC', - TransferCompliancesMaxClaimTypeDesc = 'TRANSFER_COMPLIANCES_MAX_CLAIM_TYPE_DESC', - TransferCompliancesMaxClaimValueAsc = 'TRANSFER_COMPLIANCES_MAX_CLAIM_VALUE_ASC', - TransferCompliancesMaxClaimValueDesc = 'TRANSFER_COMPLIANCES_MAX_CLAIM_VALUE_DESC', - TransferCompliancesMaxCreatedAtAsc = 'TRANSFER_COMPLIANCES_MAX_CREATED_AT_ASC', - TransferCompliancesMaxCreatedAtDesc = 'TRANSFER_COMPLIANCES_MAX_CREATED_AT_DESC', - TransferCompliancesMaxCreatedBlockIdAsc = 'TRANSFER_COMPLIANCES_MAX_CREATED_BLOCK_ID_ASC', - TransferCompliancesMaxCreatedBlockIdDesc = 'TRANSFER_COMPLIANCES_MAX_CREATED_BLOCK_ID_DESC', - TransferCompliancesMaxIdAsc = 'TRANSFER_COMPLIANCES_MAX_ID_ASC', - TransferCompliancesMaxIdDesc = 'TRANSFER_COMPLIANCES_MAX_ID_DESC', - TransferCompliancesMaxMaxAsc = 'TRANSFER_COMPLIANCES_MAX_MAX_ASC', - TransferCompliancesMaxMaxDesc = 'TRANSFER_COMPLIANCES_MAX_MAX_DESC', - TransferCompliancesMaxMinAsc = 'TRANSFER_COMPLIANCES_MAX_MIN_ASC', - TransferCompliancesMaxMinDesc = 'TRANSFER_COMPLIANCES_MAX_MIN_DESC', - TransferCompliancesMaxStatTypeIdAsc = 'TRANSFER_COMPLIANCES_MAX_STAT_TYPE_ID_ASC', - TransferCompliancesMaxStatTypeIdDesc = 'TRANSFER_COMPLIANCES_MAX_STAT_TYPE_ID_DESC', - TransferCompliancesMaxTypeAsc = 'TRANSFER_COMPLIANCES_MAX_TYPE_ASC', - TransferCompliancesMaxTypeDesc = 'TRANSFER_COMPLIANCES_MAX_TYPE_DESC', - TransferCompliancesMaxUpdatedAtAsc = 'TRANSFER_COMPLIANCES_MAX_UPDATED_AT_ASC', - TransferCompliancesMaxUpdatedAtDesc = 'TRANSFER_COMPLIANCES_MAX_UPDATED_AT_DESC', - TransferCompliancesMaxUpdatedBlockIdAsc = 'TRANSFER_COMPLIANCES_MAX_UPDATED_BLOCK_ID_ASC', - TransferCompliancesMaxUpdatedBlockIdDesc = 'TRANSFER_COMPLIANCES_MAX_UPDATED_BLOCK_ID_DESC', - TransferCompliancesMaxValueAsc = 'TRANSFER_COMPLIANCES_MAX_VALUE_ASC', - TransferCompliancesMaxValueDesc = 'TRANSFER_COMPLIANCES_MAX_VALUE_DESC', - TransferCompliancesMinAssetIdAsc = 'TRANSFER_COMPLIANCES_MIN_ASSET_ID_ASC', - TransferCompliancesMinAssetIdDesc = 'TRANSFER_COMPLIANCES_MIN_ASSET_ID_DESC', - TransferCompliancesMinClaimIssuerIdAsc = 'TRANSFER_COMPLIANCES_MIN_CLAIM_ISSUER_ID_ASC', - TransferCompliancesMinClaimIssuerIdDesc = 'TRANSFER_COMPLIANCES_MIN_CLAIM_ISSUER_ID_DESC', - TransferCompliancesMinClaimTypeAsc = 'TRANSFER_COMPLIANCES_MIN_CLAIM_TYPE_ASC', - TransferCompliancesMinClaimTypeDesc = 'TRANSFER_COMPLIANCES_MIN_CLAIM_TYPE_DESC', - TransferCompliancesMinClaimValueAsc = 'TRANSFER_COMPLIANCES_MIN_CLAIM_VALUE_ASC', - TransferCompliancesMinClaimValueDesc = 'TRANSFER_COMPLIANCES_MIN_CLAIM_VALUE_DESC', - TransferCompliancesMinCreatedAtAsc = 'TRANSFER_COMPLIANCES_MIN_CREATED_AT_ASC', - TransferCompliancesMinCreatedAtDesc = 'TRANSFER_COMPLIANCES_MIN_CREATED_AT_DESC', - TransferCompliancesMinCreatedBlockIdAsc = 'TRANSFER_COMPLIANCES_MIN_CREATED_BLOCK_ID_ASC', - TransferCompliancesMinCreatedBlockIdDesc = 'TRANSFER_COMPLIANCES_MIN_CREATED_BLOCK_ID_DESC', - TransferCompliancesMinIdAsc = 'TRANSFER_COMPLIANCES_MIN_ID_ASC', - TransferCompliancesMinIdDesc = 'TRANSFER_COMPLIANCES_MIN_ID_DESC', - TransferCompliancesMinMaxAsc = 'TRANSFER_COMPLIANCES_MIN_MAX_ASC', - TransferCompliancesMinMaxDesc = 'TRANSFER_COMPLIANCES_MIN_MAX_DESC', - TransferCompliancesMinMinAsc = 'TRANSFER_COMPLIANCES_MIN_MIN_ASC', - TransferCompliancesMinMinDesc = 'TRANSFER_COMPLIANCES_MIN_MIN_DESC', - TransferCompliancesMinStatTypeIdAsc = 'TRANSFER_COMPLIANCES_MIN_STAT_TYPE_ID_ASC', - TransferCompliancesMinStatTypeIdDesc = 'TRANSFER_COMPLIANCES_MIN_STAT_TYPE_ID_DESC', - TransferCompliancesMinTypeAsc = 'TRANSFER_COMPLIANCES_MIN_TYPE_ASC', - TransferCompliancesMinTypeDesc = 'TRANSFER_COMPLIANCES_MIN_TYPE_DESC', - TransferCompliancesMinUpdatedAtAsc = 'TRANSFER_COMPLIANCES_MIN_UPDATED_AT_ASC', - TransferCompliancesMinUpdatedAtDesc = 'TRANSFER_COMPLIANCES_MIN_UPDATED_AT_DESC', - TransferCompliancesMinUpdatedBlockIdAsc = 'TRANSFER_COMPLIANCES_MIN_UPDATED_BLOCK_ID_ASC', - TransferCompliancesMinUpdatedBlockIdDesc = 'TRANSFER_COMPLIANCES_MIN_UPDATED_BLOCK_ID_DESC', - TransferCompliancesMinValueAsc = 'TRANSFER_COMPLIANCES_MIN_VALUE_ASC', - TransferCompliancesMinValueDesc = 'TRANSFER_COMPLIANCES_MIN_VALUE_DESC', - TransferCompliancesStddevPopulationAssetIdAsc = 'TRANSFER_COMPLIANCES_STDDEV_POPULATION_ASSET_ID_ASC', - TransferCompliancesStddevPopulationAssetIdDesc = 'TRANSFER_COMPLIANCES_STDDEV_POPULATION_ASSET_ID_DESC', - TransferCompliancesStddevPopulationClaimIssuerIdAsc = 'TRANSFER_COMPLIANCES_STDDEV_POPULATION_CLAIM_ISSUER_ID_ASC', - TransferCompliancesStddevPopulationClaimIssuerIdDesc = 'TRANSFER_COMPLIANCES_STDDEV_POPULATION_CLAIM_ISSUER_ID_DESC', - TransferCompliancesStddevPopulationClaimTypeAsc = 'TRANSFER_COMPLIANCES_STDDEV_POPULATION_CLAIM_TYPE_ASC', - TransferCompliancesStddevPopulationClaimTypeDesc = 'TRANSFER_COMPLIANCES_STDDEV_POPULATION_CLAIM_TYPE_DESC', - TransferCompliancesStddevPopulationClaimValueAsc = 'TRANSFER_COMPLIANCES_STDDEV_POPULATION_CLAIM_VALUE_ASC', - TransferCompliancesStddevPopulationClaimValueDesc = 'TRANSFER_COMPLIANCES_STDDEV_POPULATION_CLAIM_VALUE_DESC', - TransferCompliancesStddevPopulationCreatedAtAsc = 'TRANSFER_COMPLIANCES_STDDEV_POPULATION_CREATED_AT_ASC', - TransferCompliancesStddevPopulationCreatedAtDesc = 'TRANSFER_COMPLIANCES_STDDEV_POPULATION_CREATED_AT_DESC', - TransferCompliancesStddevPopulationCreatedBlockIdAsc = 'TRANSFER_COMPLIANCES_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - TransferCompliancesStddevPopulationCreatedBlockIdDesc = 'TRANSFER_COMPLIANCES_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - TransferCompliancesStddevPopulationIdAsc = 'TRANSFER_COMPLIANCES_STDDEV_POPULATION_ID_ASC', - TransferCompliancesStddevPopulationIdDesc = 'TRANSFER_COMPLIANCES_STDDEV_POPULATION_ID_DESC', - TransferCompliancesStddevPopulationMaxAsc = 'TRANSFER_COMPLIANCES_STDDEV_POPULATION_MAX_ASC', - TransferCompliancesStddevPopulationMaxDesc = 'TRANSFER_COMPLIANCES_STDDEV_POPULATION_MAX_DESC', - TransferCompliancesStddevPopulationMinAsc = 'TRANSFER_COMPLIANCES_STDDEV_POPULATION_MIN_ASC', - TransferCompliancesStddevPopulationMinDesc = 'TRANSFER_COMPLIANCES_STDDEV_POPULATION_MIN_DESC', - TransferCompliancesStddevPopulationStatTypeIdAsc = 'TRANSFER_COMPLIANCES_STDDEV_POPULATION_STAT_TYPE_ID_ASC', - TransferCompliancesStddevPopulationStatTypeIdDesc = 'TRANSFER_COMPLIANCES_STDDEV_POPULATION_STAT_TYPE_ID_DESC', - TransferCompliancesStddevPopulationTypeAsc = 'TRANSFER_COMPLIANCES_STDDEV_POPULATION_TYPE_ASC', - TransferCompliancesStddevPopulationTypeDesc = 'TRANSFER_COMPLIANCES_STDDEV_POPULATION_TYPE_DESC', - TransferCompliancesStddevPopulationUpdatedAtAsc = 'TRANSFER_COMPLIANCES_STDDEV_POPULATION_UPDATED_AT_ASC', - TransferCompliancesStddevPopulationUpdatedAtDesc = 'TRANSFER_COMPLIANCES_STDDEV_POPULATION_UPDATED_AT_DESC', - TransferCompliancesStddevPopulationUpdatedBlockIdAsc = 'TRANSFER_COMPLIANCES_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - TransferCompliancesStddevPopulationUpdatedBlockIdDesc = 'TRANSFER_COMPLIANCES_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - TransferCompliancesStddevPopulationValueAsc = 'TRANSFER_COMPLIANCES_STDDEV_POPULATION_VALUE_ASC', - TransferCompliancesStddevPopulationValueDesc = 'TRANSFER_COMPLIANCES_STDDEV_POPULATION_VALUE_DESC', - TransferCompliancesStddevSampleAssetIdAsc = 'TRANSFER_COMPLIANCES_STDDEV_SAMPLE_ASSET_ID_ASC', - TransferCompliancesStddevSampleAssetIdDesc = 'TRANSFER_COMPLIANCES_STDDEV_SAMPLE_ASSET_ID_DESC', - TransferCompliancesStddevSampleClaimIssuerIdAsc = 'TRANSFER_COMPLIANCES_STDDEV_SAMPLE_CLAIM_ISSUER_ID_ASC', - TransferCompliancesStddevSampleClaimIssuerIdDesc = 'TRANSFER_COMPLIANCES_STDDEV_SAMPLE_CLAIM_ISSUER_ID_DESC', - TransferCompliancesStddevSampleClaimTypeAsc = 'TRANSFER_COMPLIANCES_STDDEV_SAMPLE_CLAIM_TYPE_ASC', - TransferCompliancesStddevSampleClaimTypeDesc = 'TRANSFER_COMPLIANCES_STDDEV_SAMPLE_CLAIM_TYPE_DESC', - TransferCompliancesStddevSampleClaimValueAsc = 'TRANSFER_COMPLIANCES_STDDEV_SAMPLE_CLAIM_VALUE_ASC', - TransferCompliancesStddevSampleClaimValueDesc = 'TRANSFER_COMPLIANCES_STDDEV_SAMPLE_CLAIM_VALUE_DESC', - TransferCompliancesStddevSampleCreatedAtAsc = 'TRANSFER_COMPLIANCES_STDDEV_SAMPLE_CREATED_AT_ASC', - TransferCompliancesStddevSampleCreatedAtDesc = 'TRANSFER_COMPLIANCES_STDDEV_SAMPLE_CREATED_AT_DESC', - TransferCompliancesStddevSampleCreatedBlockIdAsc = 'TRANSFER_COMPLIANCES_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - TransferCompliancesStddevSampleCreatedBlockIdDesc = 'TRANSFER_COMPLIANCES_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - TransferCompliancesStddevSampleIdAsc = 'TRANSFER_COMPLIANCES_STDDEV_SAMPLE_ID_ASC', - TransferCompliancesStddevSampleIdDesc = 'TRANSFER_COMPLIANCES_STDDEV_SAMPLE_ID_DESC', - TransferCompliancesStddevSampleMaxAsc = 'TRANSFER_COMPLIANCES_STDDEV_SAMPLE_MAX_ASC', - TransferCompliancesStddevSampleMaxDesc = 'TRANSFER_COMPLIANCES_STDDEV_SAMPLE_MAX_DESC', - TransferCompliancesStddevSampleMinAsc = 'TRANSFER_COMPLIANCES_STDDEV_SAMPLE_MIN_ASC', - TransferCompliancesStddevSampleMinDesc = 'TRANSFER_COMPLIANCES_STDDEV_SAMPLE_MIN_DESC', - TransferCompliancesStddevSampleStatTypeIdAsc = 'TRANSFER_COMPLIANCES_STDDEV_SAMPLE_STAT_TYPE_ID_ASC', - TransferCompliancesStddevSampleStatTypeIdDesc = 'TRANSFER_COMPLIANCES_STDDEV_SAMPLE_STAT_TYPE_ID_DESC', - TransferCompliancesStddevSampleTypeAsc = 'TRANSFER_COMPLIANCES_STDDEV_SAMPLE_TYPE_ASC', - TransferCompliancesStddevSampleTypeDesc = 'TRANSFER_COMPLIANCES_STDDEV_SAMPLE_TYPE_DESC', - TransferCompliancesStddevSampleUpdatedAtAsc = 'TRANSFER_COMPLIANCES_STDDEV_SAMPLE_UPDATED_AT_ASC', - TransferCompliancesStddevSampleUpdatedAtDesc = 'TRANSFER_COMPLIANCES_STDDEV_SAMPLE_UPDATED_AT_DESC', - TransferCompliancesStddevSampleUpdatedBlockIdAsc = 'TRANSFER_COMPLIANCES_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - TransferCompliancesStddevSampleUpdatedBlockIdDesc = 'TRANSFER_COMPLIANCES_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - TransferCompliancesStddevSampleValueAsc = 'TRANSFER_COMPLIANCES_STDDEV_SAMPLE_VALUE_ASC', - TransferCompliancesStddevSampleValueDesc = 'TRANSFER_COMPLIANCES_STDDEV_SAMPLE_VALUE_DESC', - TransferCompliancesSumAssetIdAsc = 'TRANSFER_COMPLIANCES_SUM_ASSET_ID_ASC', - TransferCompliancesSumAssetIdDesc = 'TRANSFER_COMPLIANCES_SUM_ASSET_ID_DESC', - TransferCompliancesSumClaimIssuerIdAsc = 'TRANSFER_COMPLIANCES_SUM_CLAIM_ISSUER_ID_ASC', - TransferCompliancesSumClaimIssuerIdDesc = 'TRANSFER_COMPLIANCES_SUM_CLAIM_ISSUER_ID_DESC', - TransferCompliancesSumClaimTypeAsc = 'TRANSFER_COMPLIANCES_SUM_CLAIM_TYPE_ASC', - TransferCompliancesSumClaimTypeDesc = 'TRANSFER_COMPLIANCES_SUM_CLAIM_TYPE_DESC', - TransferCompliancesSumClaimValueAsc = 'TRANSFER_COMPLIANCES_SUM_CLAIM_VALUE_ASC', - TransferCompliancesSumClaimValueDesc = 'TRANSFER_COMPLIANCES_SUM_CLAIM_VALUE_DESC', - TransferCompliancesSumCreatedAtAsc = 'TRANSFER_COMPLIANCES_SUM_CREATED_AT_ASC', - TransferCompliancesSumCreatedAtDesc = 'TRANSFER_COMPLIANCES_SUM_CREATED_AT_DESC', - TransferCompliancesSumCreatedBlockIdAsc = 'TRANSFER_COMPLIANCES_SUM_CREATED_BLOCK_ID_ASC', - TransferCompliancesSumCreatedBlockIdDesc = 'TRANSFER_COMPLIANCES_SUM_CREATED_BLOCK_ID_DESC', - TransferCompliancesSumIdAsc = 'TRANSFER_COMPLIANCES_SUM_ID_ASC', - TransferCompliancesSumIdDesc = 'TRANSFER_COMPLIANCES_SUM_ID_DESC', - TransferCompliancesSumMaxAsc = 'TRANSFER_COMPLIANCES_SUM_MAX_ASC', - TransferCompliancesSumMaxDesc = 'TRANSFER_COMPLIANCES_SUM_MAX_DESC', - TransferCompliancesSumMinAsc = 'TRANSFER_COMPLIANCES_SUM_MIN_ASC', - TransferCompliancesSumMinDesc = 'TRANSFER_COMPLIANCES_SUM_MIN_DESC', - TransferCompliancesSumStatTypeIdAsc = 'TRANSFER_COMPLIANCES_SUM_STAT_TYPE_ID_ASC', - TransferCompliancesSumStatTypeIdDesc = 'TRANSFER_COMPLIANCES_SUM_STAT_TYPE_ID_DESC', - TransferCompliancesSumTypeAsc = 'TRANSFER_COMPLIANCES_SUM_TYPE_ASC', - TransferCompliancesSumTypeDesc = 'TRANSFER_COMPLIANCES_SUM_TYPE_DESC', - TransferCompliancesSumUpdatedAtAsc = 'TRANSFER_COMPLIANCES_SUM_UPDATED_AT_ASC', - TransferCompliancesSumUpdatedAtDesc = 'TRANSFER_COMPLIANCES_SUM_UPDATED_AT_DESC', - TransferCompliancesSumUpdatedBlockIdAsc = 'TRANSFER_COMPLIANCES_SUM_UPDATED_BLOCK_ID_ASC', - TransferCompliancesSumUpdatedBlockIdDesc = 'TRANSFER_COMPLIANCES_SUM_UPDATED_BLOCK_ID_DESC', - TransferCompliancesSumValueAsc = 'TRANSFER_COMPLIANCES_SUM_VALUE_ASC', - TransferCompliancesSumValueDesc = 'TRANSFER_COMPLIANCES_SUM_VALUE_DESC', - TransferCompliancesVariancePopulationAssetIdAsc = 'TRANSFER_COMPLIANCES_VARIANCE_POPULATION_ASSET_ID_ASC', - TransferCompliancesVariancePopulationAssetIdDesc = 'TRANSFER_COMPLIANCES_VARIANCE_POPULATION_ASSET_ID_DESC', - TransferCompliancesVariancePopulationClaimIssuerIdAsc = 'TRANSFER_COMPLIANCES_VARIANCE_POPULATION_CLAIM_ISSUER_ID_ASC', - TransferCompliancesVariancePopulationClaimIssuerIdDesc = 'TRANSFER_COMPLIANCES_VARIANCE_POPULATION_CLAIM_ISSUER_ID_DESC', - TransferCompliancesVariancePopulationClaimTypeAsc = 'TRANSFER_COMPLIANCES_VARIANCE_POPULATION_CLAIM_TYPE_ASC', - TransferCompliancesVariancePopulationClaimTypeDesc = 'TRANSFER_COMPLIANCES_VARIANCE_POPULATION_CLAIM_TYPE_DESC', - TransferCompliancesVariancePopulationClaimValueAsc = 'TRANSFER_COMPLIANCES_VARIANCE_POPULATION_CLAIM_VALUE_ASC', - TransferCompliancesVariancePopulationClaimValueDesc = 'TRANSFER_COMPLIANCES_VARIANCE_POPULATION_CLAIM_VALUE_DESC', - TransferCompliancesVariancePopulationCreatedAtAsc = 'TRANSFER_COMPLIANCES_VARIANCE_POPULATION_CREATED_AT_ASC', - TransferCompliancesVariancePopulationCreatedAtDesc = 'TRANSFER_COMPLIANCES_VARIANCE_POPULATION_CREATED_AT_DESC', - TransferCompliancesVariancePopulationCreatedBlockIdAsc = 'TRANSFER_COMPLIANCES_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - TransferCompliancesVariancePopulationCreatedBlockIdDesc = 'TRANSFER_COMPLIANCES_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - TransferCompliancesVariancePopulationIdAsc = 'TRANSFER_COMPLIANCES_VARIANCE_POPULATION_ID_ASC', - TransferCompliancesVariancePopulationIdDesc = 'TRANSFER_COMPLIANCES_VARIANCE_POPULATION_ID_DESC', - TransferCompliancesVariancePopulationMaxAsc = 'TRANSFER_COMPLIANCES_VARIANCE_POPULATION_MAX_ASC', - TransferCompliancesVariancePopulationMaxDesc = 'TRANSFER_COMPLIANCES_VARIANCE_POPULATION_MAX_DESC', - TransferCompliancesVariancePopulationMinAsc = 'TRANSFER_COMPLIANCES_VARIANCE_POPULATION_MIN_ASC', - TransferCompliancesVariancePopulationMinDesc = 'TRANSFER_COMPLIANCES_VARIANCE_POPULATION_MIN_DESC', - TransferCompliancesVariancePopulationStatTypeIdAsc = 'TRANSFER_COMPLIANCES_VARIANCE_POPULATION_STAT_TYPE_ID_ASC', - TransferCompliancesVariancePopulationStatTypeIdDesc = 'TRANSFER_COMPLIANCES_VARIANCE_POPULATION_STAT_TYPE_ID_DESC', - TransferCompliancesVariancePopulationTypeAsc = 'TRANSFER_COMPLIANCES_VARIANCE_POPULATION_TYPE_ASC', - TransferCompliancesVariancePopulationTypeDesc = 'TRANSFER_COMPLIANCES_VARIANCE_POPULATION_TYPE_DESC', - TransferCompliancesVariancePopulationUpdatedAtAsc = 'TRANSFER_COMPLIANCES_VARIANCE_POPULATION_UPDATED_AT_ASC', - TransferCompliancesVariancePopulationUpdatedAtDesc = 'TRANSFER_COMPLIANCES_VARIANCE_POPULATION_UPDATED_AT_DESC', - TransferCompliancesVariancePopulationUpdatedBlockIdAsc = 'TRANSFER_COMPLIANCES_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - TransferCompliancesVariancePopulationUpdatedBlockIdDesc = 'TRANSFER_COMPLIANCES_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - TransferCompliancesVariancePopulationValueAsc = 'TRANSFER_COMPLIANCES_VARIANCE_POPULATION_VALUE_ASC', - TransferCompliancesVariancePopulationValueDesc = 'TRANSFER_COMPLIANCES_VARIANCE_POPULATION_VALUE_DESC', - TransferCompliancesVarianceSampleAssetIdAsc = 'TRANSFER_COMPLIANCES_VARIANCE_SAMPLE_ASSET_ID_ASC', - TransferCompliancesVarianceSampleAssetIdDesc = 'TRANSFER_COMPLIANCES_VARIANCE_SAMPLE_ASSET_ID_DESC', - TransferCompliancesVarianceSampleClaimIssuerIdAsc = 'TRANSFER_COMPLIANCES_VARIANCE_SAMPLE_CLAIM_ISSUER_ID_ASC', - TransferCompliancesVarianceSampleClaimIssuerIdDesc = 'TRANSFER_COMPLIANCES_VARIANCE_SAMPLE_CLAIM_ISSUER_ID_DESC', - TransferCompliancesVarianceSampleClaimTypeAsc = 'TRANSFER_COMPLIANCES_VARIANCE_SAMPLE_CLAIM_TYPE_ASC', - TransferCompliancesVarianceSampleClaimTypeDesc = 'TRANSFER_COMPLIANCES_VARIANCE_SAMPLE_CLAIM_TYPE_DESC', - TransferCompliancesVarianceSampleClaimValueAsc = 'TRANSFER_COMPLIANCES_VARIANCE_SAMPLE_CLAIM_VALUE_ASC', - TransferCompliancesVarianceSampleClaimValueDesc = 'TRANSFER_COMPLIANCES_VARIANCE_SAMPLE_CLAIM_VALUE_DESC', - TransferCompliancesVarianceSampleCreatedAtAsc = 'TRANSFER_COMPLIANCES_VARIANCE_SAMPLE_CREATED_AT_ASC', - TransferCompliancesVarianceSampleCreatedAtDesc = 'TRANSFER_COMPLIANCES_VARIANCE_SAMPLE_CREATED_AT_DESC', - TransferCompliancesVarianceSampleCreatedBlockIdAsc = 'TRANSFER_COMPLIANCES_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - TransferCompliancesVarianceSampleCreatedBlockIdDesc = 'TRANSFER_COMPLIANCES_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - TransferCompliancesVarianceSampleIdAsc = 'TRANSFER_COMPLIANCES_VARIANCE_SAMPLE_ID_ASC', - TransferCompliancesVarianceSampleIdDesc = 'TRANSFER_COMPLIANCES_VARIANCE_SAMPLE_ID_DESC', - TransferCompliancesVarianceSampleMaxAsc = 'TRANSFER_COMPLIANCES_VARIANCE_SAMPLE_MAX_ASC', - TransferCompliancesVarianceSampleMaxDesc = 'TRANSFER_COMPLIANCES_VARIANCE_SAMPLE_MAX_DESC', - TransferCompliancesVarianceSampleMinAsc = 'TRANSFER_COMPLIANCES_VARIANCE_SAMPLE_MIN_ASC', - TransferCompliancesVarianceSampleMinDesc = 'TRANSFER_COMPLIANCES_VARIANCE_SAMPLE_MIN_DESC', - TransferCompliancesVarianceSampleStatTypeIdAsc = 'TRANSFER_COMPLIANCES_VARIANCE_SAMPLE_STAT_TYPE_ID_ASC', - TransferCompliancesVarianceSampleStatTypeIdDesc = 'TRANSFER_COMPLIANCES_VARIANCE_SAMPLE_STAT_TYPE_ID_DESC', - TransferCompliancesVarianceSampleTypeAsc = 'TRANSFER_COMPLIANCES_VARIANCE_SAMPLE_TYPE_ASC', - TransferCompliancesVarianceSampleTypeDesc = 'TRANSFER_COMPLIANCES_VARIANCE_SAMPLE_TYPE_DESC', - TransferCompliancesVarianceSampleUpdatedAtAsc = 'TRANSFER_COMPLIANCES_VARIANCE_SAMPLE_UPDATED_AT_ASC', - TransferCompliancesVarianceSampleUpdatedAtDesc = 'TRANSFER_COMPLIANCES_VARIANCE_SAMPLE_UPDATED_AT_DESC', - TransferCompliancesVarianceSampleUpdatedBlockIdAsc = 'TRANSFER_COMPLIANCES_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - TransferCompliancesVarianceSampleUpdatedBlockIdDesc = 'TRANSFER_COMPLIANCES_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - TransferCompliancesVarianceSampleValueAsc = 'TRANSFER_COMPLIANCES_VARIANCE_SAMPLE_VALUE_ASC', - TransferCompliancesVarianceSampleValueDesc = 'TRANSFER_COMPLIANCES_VARIANCE_SAMPLE_VALUE_DESC', - UpdatedAtAsc = 'UPDATED_AT_ASC', - UpdatedAtDesc = 'UPDATED_AT_DESC', - UpdatedBlockIdAsc = 'UPDATED_BLOCK_ID_ASC', - UpdatedBlockIdDesc = 'UPDATED_BLOCK_ID_DESC', -} - -/** Securities Token Offering. Represents a fund raising effort from a company. e.g. sale of company equity in exchange for a stable coin */ -export type Sto = Node & { - __typename?: 'Sto'; - createdAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `Sto`. */ - createdBlock?: Maybe; - createdBlockId: Scalars['String']['output']; - /** Reads a single `Identity` that is related to this `Sto`. */ - creator?: Maybe; - creatorId: Scalars['String']['output']; - end?: Maybe; - id: Scalars['String']['output']; - minimumInvestment: Scalars['BigFloat']['output']; - name: Scalars['String']['output']; - /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ - nodeId: Scalars['ID']['output']; - /** Reads a single `Asset` that is related to this `Sto`. */ - offeringAsset?: Maybe; - offeringAssetId: Scalars['String']['output']; - /** Reads a single `Portfolio` that is related to this `Sto`. */ - offeringPortfolio?: Maybe; - offeringPortfolioId: Scalars['String']['output']; - raisingAssetId: Scalars['String']['output']; - /** Reads a single `Portfolio` that is related to this `Sto`. */ - raisingPortfolio?: Maybe; - raisingPortfolioId: Scalars['String']['output']; - start?: Maybe; - status: StoStatus; - stoId: Scalars['Int']['output']; - tiers: Scalars['JSON']['output']; - updatedAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `Sto`. */ - updatedBlock?: Maybe; - updatedBlockId: Scalars['String']['output']; - /** Reads a single `Venue` that is related to this `Sto`. */ - venue?: Maybe; - venueId: Scalars['String']['output']; -}; - -export type StoAggregates = { - __typename?: 'StoAggregates'; - /** Mean average aggregates across the matching connection (ignoring before/after/first/last/offset) */ - average?: Maybe; - /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ - distinctCount?: Maybe; - keys?: Maybe>; - /** Maximum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - max?: Maybe; - /** Minimum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - min?: Maybe; - /** Population standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevPopulation?: Maybe; - /** Sample standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevSample?: Maybe; - /** Sum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - sum?: Maybe; - /** Population variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - variancePopulation?: Maybe; - /** Sample variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - varianceSample?: Maybe; -}; - -/** A filter to be used against aggregates of `Sto` object types. */ -export type StoAggregatesFilter = { - /** Mean average aggregate over matching `Sto` objects. */ - average?: InputMaybe; - /** Distinct count aggregate over matching `Sto` objects. */ - distinctCount?: InputMaybe; - /** A filter that must pass for the relevant `Sto` object to be included within the aggregate. */ - filter?: InputMaybe; - /** Maximum aggregate over matching `Sto` objects. */ - max?: InputMaybe; - /** Minimum aggregate over matching `Sto` objects. */ - min?: InputMaybe; - /** Population standard deviation aggregate over matching `Sto` objects. */ - stddevPopulation?: InputMaybe; - /** Sample standard deviation aggregate over matching `Sto` objects. */ - stddevSample?: InputMaybe; - /** Sum aggregate over matching `Sto` objects. */ - sum?: InputMaybe; - /** Population variance aggregate over matching `Sto` objects. */ - variancePopulation?: InputMaybe; - /** Sample variance aggregate over matching `Sto` objects. */ - varianceSample?: InputMaybe; -}; - -export type StoAverageAggregateFilter = { - minimumInvestment?: InputMaybe; - stoId?: InputMaybe; -}; - -export type StoAverageAggregates = { - __typename?: 'StoAverageAggregates'; - /** Mean average of minimumInvestment across the matching connection */ - minimumInvestment?: Maybe; - /** Mean average of stoId across the matching connection */ - stoId?: Maybe; -}; - -export type StoDistinctCountAggregateFilter = { - createdAt?: InputMaybe; - createdBlockId?: InputMaybe; - creatorId?: InputMaybe; - end?: InputMaybe; - id?: InputMaybe; - minimumInvestment?: InputMaybe; - name?: InputMaybe; - offeringAssetId?: InputMaybe; - offeringPortfolioId?: InputMaybe; - raisingAssetId?: InputMaybe; - raisingPortfolioId?: InputMaybe; - start?: InputMaybe; - status?: InputMaybe; - stoId?: InputMaybe; - tiers?: InputMaybe; - updatedAt?: InputMaybe; - updatedBlockId?: InputMaybe; - venueId?: InputMaybe; -}; - -export type StoDistinctCountAggregates = { - __typename?: 'StoDistinctCountAggregates'; - /** Distinct count of createdAt across the matching connection */ - createdAt?: Maybe; - /** Distinct count of createdBlockId across the matching connection */ - createdBlockId?: Maybe; - /** Distinct count of creatorId across the matching connection */ - creatorId?: Maybe; - /** Distinct count of end across the matching connection */ - end?: Maybe; - /** Distinct count of id across the matching connection */ - id?: Maybe; - /** Distinct count of minimumInvestment across the matching connection */ - minimumInvestment?: Maybe; - /** Distinct count of name across the matching connection */ - name?: Maybe; - /** Distinct count of offeringAssetId across the matching connection */ - offeringAssetId?: Maybe; - /** Distinct count of offeringPortfolioId across the matching connection */ - offeringPortfolioId?: Maybe; - /** Distinct count of raisingAssetId across the matching connection */ - raisingAssetId?: Maybe; - /** Distinct count of raisingPortfolioId across the matching connection */ - raisingPortfolioId?: Maybe; - /** Distinct count of start across the matching connection */ - start?: Maybe; - /** Distinct count of status across the matching connection */ - status?: Maybe; - /** Distinct count of stoId across the matching connection */ - stoId?: Maybe; - /** Distinct count of tiers across the matching connection */ - tiers?: Maybe; - /** Distinct count of updatedAt across the matching connection */ - updatedAt?: Maybe; - /** Distinct count of updatedBlockId across the matching connection */ - updatedBlockId?: Maybe; - /** Distinct count of venueId across the matching connection */ - venueId?: Maybe; -}; - -/** A filter to be used against `Sto` object types. All fields are combined with a logical ‘and.’ */ -export type StoFilter = { - /** Checks for all expressions in this list. */ - and?: InputMaybe>; - /** Filter by the object’s `createdAt` field. */ - createdAt?: InputMaybe; - /** Filter by the object’s `createdBlock` relation. */ - createdBlock?: InputMaybe; - /** Filter by the object’s `createdBlockId` field. */ - createdBlockId?: InputMaybe; - /** Filter by the object’s `creator` relation. */ - creator?: InputMaybe; - /** Filter by the object’s `creatorId` field. */ - creatorId?: InputMaybe; - /** Filter by the object’s `end` field. */ - end?: InputMaybe; - /** Filter by the object’s `id` field. */ - id?: InputMaybe; - /** Filter by the object’s `minimumInvestment` field. */ - minimumInvestment?: InputMaybe; - /** Filter by the object’s `name` field. */ - name?: InputMaybe; - /** Negates the expression. */ - not?: InputMaybe; - /** Filter by the object’s `offeringAsset` relation. */ - offeringAsset?: InputMaybe; - /** Filter by the object’s `offeringAssetId` field. */ - offeringAssetId?: InputMaybe; - /** Filter by the object’s `offeringPortfolio` relation. */ - offeringPortfolio?: InputMaybe; - /** Filter by the object’s `offeringPortfolioId` field. */ - offeringPortfolioId?: InputMaybe; - /** Checks for any expressions in this list. */ - or?: InputMaybe>; - /** Filter by the object’s `raisingAssetId` field. */ - raisingAssetId?: InputMaybe; - /** Filter by the object’s `raisingPortfolio` relation. */ - raisingPortfolio?: InputMaybe; - /** Filter by the object’s `raisingPortfolioId` field. */ - raisingPortfolioId?: InputMaybe; - /** Filter by the object’s `start` field. */ - start?: InputMaybe; - /** Filter by the object’s `status` field. */ - status?: InputMaybe; - /** Filter by the object’s `stoId` field. */ - stoId?: InputMaybe; - /** Filter by the object’s `tiers` field. */ - tiers?: InputMaybe; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: InputMaybe; - /** Filter by the object’s `updatedBlock` relation. */ - updatedBlock?: InputMaybe; - /** Filter by the object’s `updatedBlockId` field. */ - updatedBlockId?: InputMaybe; - /** Filter by the object’s `venue` relation. */ - venue?: InputMaybe; - /** Filter by the object’s `venueId` field. */ - venueId?: InputMaybe; -}; - -export type StoMaxAggregateFilter = { - minimumInvestment?: InputMaybe; - stoId?: InputMaybe; -}; - -export type StoMaxAggregates = { - __typename?: 'StoMaxAggregates'; - /** Maximum of minimumInvestment across the matching connection */ - minimumInvestment?: Maybe; - /** Maximum of stoId across the matching connection */ - stoId?: Maybe; -}; - -export type StoMinAggregateFilter = { - minimumInvestment?: InputMaybe; - stoId?: InputMaybe; -}; - -export type StoMinAggregates = { - __typename?: 'StoMinAggregates'; - /** Minimum of minimumInvestment across the matching connection */ - minimumInvestment?: Maybe; - /** Minimum of stoId across the matching connection */ - stoId?: Maybe; -}; - -/** Represents all possible statuses for a STO */ -export enum StoStatus { - Closed = 'Closed', - ClosedEarly = 'ClosedEarly', - Frozen = 'Frozen', - Live = 'Live', -} - -/** A filter to be used against StoStatus fields. All fields are combined with a logical ‘and.’ */ -export type StoStatusFilter = { - /** Not equal to the specified value, treating null like an ordinary value. */ - distinctFrom?: InputMaybe; - /** Equal to the specified value. */ - equalTo?: InputMaybe; - /** Greater than the specified value. */ - greaterThan?: InputMaybe; - /** Greater than or equal to the specified value. */ - greaterThanOrEqualTo?: InputMaybe; - /** Included in the specified list. */ - in?: InputMaybe>; - /** Is null (if `true` is specified) or is not null (if `false` is specified). */ - isNull?: InputMaybe; - /** Less than the specified value. */ - lessThan?: InputMaybe; - /** Less than or equal to the specified value. */ - lessThanOrEqualTo?: InputMaybe; - /** Equal to the specified value, treating null like an ordinary value. */ - notDistinctFrom?: InputMaybe; - /** Not equal to the specified value. */ - notEqualTo?: InputMaybe; - /** Not included in the specified list. */ - notIn?: InputMaybe>; -}; - -export type StoStddevPopulationAggregateFilter = { - minimumInvestment?: InputMaybe; - stoId?: InputMaybe; -}; - -export type StoStddevPopulationAggregates = { - __typename?: 'StoStddevPopulationAggregates'; - /** Population standard deviation of minimumInvestment across the matching connection */ - minimumInvestment?: Maybe; - /** Population standard deviation of stoId across the matching connection */ - stoId?: Maybe; -}; - -export type StoStddevSampleAggregateFilter = { - minimumInvestment?: InputMaybe; - stoId?: InputMaybe; -}; - -export type StoStddevSampleAggregates = { - __typename?: 'StoStddevSampleAggregates'; - /** Sample standard deviation of minimumInvestment across the matching connection */ - minimumInvestment?: Maybe; - /** Sample standard deviation of stoId across the matching connection */ - stoId?: Maybe; -}; - -export type StoSumAggregateFilter = { - minimumInvestment?: InputMaybe; - stoId?: InputMaybe; -}; - -export type StoSumAggregates = { - __typename?: 'StoSumAggregates'; - /** Sum of minimumInvestment across the matching connection */ - minimumInvestment: Scalars['BigFloat']['output']; - /** Sum of stoId across the matching connection */ - stoId: Scalars['BigInt']['output']; -}; - -export type StoVariancePopulationAggregateFilter = { - minimumInvestment?: InputMaybe; - stoId?: InputMaybe; -}; - -export type StoVariancePopulationAggregates = { - __typename?: 'StoVariancePopulationAggregates'; - /** Population variance of minimumInvestment across the matching connection */ - minimumInvestment?: Maybe; - /** Population variance of stoId across the matching connection */ - stoId?: Maybe; -}; - -export type StoVarianceSampleAggregateFilter = { - minimumInvestment?: InputMaybe; - stoId?: InputMaybe; -}; - -export type StoVarianceSampleAggregates = { - __typename?: 'StoVarianceSampleAggregates'; - /** Sample variance of minimumInvestment across the matching connection */ - minimumInvestment?: Maybe; - /** Sample variance of stoId across the matching connection */ - stoId?: Maybe; -}; - -/** A connection to a list of `Sto` values. */ -export type StosConnection = { - __typename?: 'StosConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Sto` and cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Sto` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Sto` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Sto` values. */ -export type StosConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `Sto` edge in the connection. */ -export type StosEdge = { - __typename?: 'StosEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Sto` at the end of the edge. */ - node?: Maybe; -}; - -/** Grouping methods for `Sto` for usage during aggregation. */ -export enum StosGroupBy { - CreatedAt = 'CREATED_AT', - CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', - CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', - CreatedBlockId = 'CREATED_BLOCK_ID', - CreatorId = 'CREATOR_ID', - End = 'END', - EndTruncatedToDay = 'END_TRUNCATED_TO_DAY', - EndTruncatedToHour = 'END_TRUNCATED_TO_HOUR', - MinimumInvestment = 'MINIMUM_INVESTMENT', - Name = 'NAME', - OfferingAssetId = 'OFFERING_ASSET_ID', - OfferingPortfolioId = 'OFFERING_PORTFOLIO_ID', - RaisingAssetId = 'RAISING_ASSET_ID', - RaisingPortfolioId = 'RAISING_PORTFOLIO_ID', - Start = 'START', - StartTruncatedToDay = 'START_TRUNCATED_TO_DAY', - StartTruncatedToHour = 'START_TRUNCATED_TO_HOUR', - Status = 'STATUS', - StoId = 'STO_ID', - Tiers = 'TIERS', - UpdatedAt = 'UPDATED_AT', - UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', - UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', - UpdatedBlockId = 'UPDATED_BLOCK_ID', - VenueId = 'VENUE_ID', -} - -export type StosHavingAverageInput = { - createdAt?: InputMaybe; - end?: InputMaybe; - minimumInvestment?: InputMaybe; - start?: InputMaybe; - stoId?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type StosHavingDistinctCountInput = { - createdAt?: InputMaybe; - end?: InputMaybe; - minimumInvestment?: InputMaybe; - start?: InputMaybe; - stoId?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Conditions for `Sto` aggregates. */ -export type StosHavingInput = { - AND?: InputMaybe>; - OR?: InputMaybe>; - average?: InputMaybe; - distinctCount?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddevPopulation?: InputMaybe; - stddevSample?: InputMaybe; - sum?: InputMaybe; - variancePopulation?: InputMaybe; - varianceSample?: InputMaybe; -}; - -export type StosHavingMaxInput = { - createdAt?: InputMaybe; - end?: InputMaybe; - minimumInvestment?: InputMaybe; - start?: InputMaybe; - stoId?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type StosHavingMinInput = { - createdAt?: InputMaybe; - end?: InputMaybe; - minimumInvestment?: InputMaybe; - start?: InputMaybe; - stoId?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type StosHavingStddevPopulationInput = { - createdAt?: InputMaybe; - end?: InputMaybe; - minimumInvestment?: InputMaybe; - start?: InputMaybe; - stoId?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type StosHavingStddevSampleInput = { - createdAt?: InputMaybe; - end?: InputMaybe; - minimumInvestment?: InputMaybe; - start?: InputMaybe; - stoId?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type StosHavingSumInput = { - createdAt?: InputMaybe; - end?: InputMaybe; - minimumInvestment?: InputMaybe; - start?: InputMaybe; - stoId?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type StosHavingVariancePopulationInput = { - createdAt?: InputMaybe; - end?: InputMaybe; - minimumInvestment?: InputMaybe; - start?: InputMaybe; - stoId?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type StosHavingVarianceSampleInput = { - createdAt?: InputMaybe; - end?: InputMaybe; - minimumInvestment?: InputMaybe; - start?: InputMaybe; - stoId?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Methods to use when ordering `Sto`. */ -export enum StosOrderBy { - CreatedAtAsc = 'CREATED_AT_ASC', - CreatedAtDesc = 'CREATED_AT_DESC', - CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', - CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', - CreatorIdAsc = 'CREATOR_ID_ASC', - CreatorIdDesc = 'CREATOR_ID_DESC', - EndAsc = 'END_ASC', - EndDesc = 'END_DESC', - IdAsc = 'ID_ASC', - IdDesc = 'ID_DESC', - MinimumInvestmentAsc = 'MINIMUM_INVESTMENT_ASC', - MinimumInvestmentDesc = 'MINIMUM_INVESTMENT_DESC', - NameAsc = 'NAME_ASC', - NameDesc = 'NAME_DESC', - Natural = 'NATURAL', - OfferingAssetIdAsc = 'OFFERING_ASSET_ID_ASC', - OfferingAssetIdDesc = 'OFFERING_ASSET_ID_DESC', - OfferingPortfolioIdAsc = 'OFFERING_PORTFOLIO_ID_ASC', - OfferingPortfolioIdDesc = 'OFFERING_PORTFOLIO_ID_DESC', - PrimaryKeyAsc = 'PRIMARY_KEY_ASC', - PrimaryKeyDesc = 'PRIMARY_KEY_DESC', - RaisingAssetIdAsc = 'RAISING_ASSET_ID_ASC', - RaisingAssetIdDesc = 'RAISING_ASSET_ID_DESC', - RaisingPortfolioIdAsc = 'RAISING_PORTFOLIO_ID_ASC', - RaisingPortfolioIdDesc = 'RAISING_PORTFOLIO_ID_DESC', - StartAsc = 'START_ASC', - StartDesc = 'START_DESC', - StatusAsc = 'STATUS_ASC', - StatusDesc = 'STATUS_DESC', - StoIdAsc = 'STO_ID_ASC', - StoIdDesc = 'STO_ID_DESC', - TiersAsc = 'TIERS_ASC', - TiersDesc = 'TIERS_DESC', - UpdatedAtAsc = 'UPDATED_AT_ASC', - UpdatedAtDesc = 'UPDATED_AT_DESC', - UpdatedBlockIdAsc = 'UPDATED_BLOCK_ID_ASC', - UpdatedBlockIdDesc = 'UPDATED_BLOCK_ID_DESC', - VenueIdAsc = 'VENUE_ID_ASC', - VenueIdDesc = 'VENUE_ID_DESC', -} - -/** A filter to be used against String fields. All fields are combined with a logical ‘and.’ */ -export type StringFilter = { - /** Not equal to the specified value, treating null like an ordinary value. */ - distinctFrom?: InputMaybe; - /** Not equal to the specified value, treating null like an ordinary value (case-insensitive). */ - distinctFromInsensitive?: InputMaybe; - /** Ends with the specified string (case-sensitive). */ - endsWith?: InputMaybe; - /** Ends with the specified string (case-insensitive). */ - endsWithInsensitive?: InputMaybe; - /** Equal to the specified value. */ - equalTo?: InputMaybe; - /** Equal to the specified value (case-insensitive). */ - equalToInsensitive?: InputMaybe; - /** Greater than the specified value. */ - greaterThan?: InputMaybe; - /** Greater than the specified value (case-insensitive). */ - greaterThanInsensitive?: InputMaybe; - /** Greater than or equal to the specified value. */ - greaterThanOrEqualTo?: InputMaybe; - /** Greater than or equal to the specified value (case-insensitive). */ - greaterThanOrEqualToInsensitive?: InputMaybe; - /** Included in the specified list. */ - in?: InputMaybe>; - /** Included in the specified list (case-insensitive). */ - inInsensitive?: InputMaybe>; - /** Contains the specified string (case-sensitive). */ - includes?: InputMaybe; - /** Contains the specified string (case-insensitive). */ - includesInsensitive?: InputMaybe; - /** Is null (if `true` is specified) or is not null (if `false` is specified). */ - isNull?: InputMaybe; - /** Less than the specified value. */ - lessThan?: InputMaybe; - /** Less than the specified value (case-insensitive). */ - lessThanInsensitive?: InputMaybe; - /** Less than or equal to the specified value. */ - lessThanOrEqualTo?: InputMaybe; - /** Less than or equal to the specified value (case-insensitive). */ - lessThanOrEqualToInsensitive?: InputMaybe; - /** Matches the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */ - like?: InputMaybe; - /** Matches the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */ - likeInsensitive?: InputMaybe; - /** Equal to the specified value, treating null like an ordinary value. */ - notDistinctFrom?: InputMaybe; - /** Equal to the specified value, treating null like an ordinary value (case-insensitive). */ - notDistinctFromInsensitive?: InputMaybe; - /** Does not end with the specified string (case-sensitive). */ - notEndsWith?: InputMaybe; - /** Does not end with the specified string (case-insensitive). */ - notEndsWithInsensitive?: InputMaybe; - /** Not equal to the specified value. */ - notEqualTo?: InputMaybe; - /** Not equal to the specified value (case-insensitive). */ - notEqualToInsensitive?: InputMaybe; - /** Not included in the specified list. */ - notIn?: InputMaybe>; - /** Not included in the specified list (case-insensitive). */ - notInInsensitive?: InputMaybe>; - /** Does not contain the specified string (case-sensitive). */ - notIncludes?: InputMaybe; - /** Does not contain the specified string (case-insensitive). */ - notIncludesInsensitive?: InputMaybe; - /** Does not match the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */ - notLike?: InputMaybe; - /** Does not match the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */ - notLikeInsensitive?: InputMaybe; - /** Does not start with the specified string (case-sensitive). */ - notStartsWith?: InputMaybe; - /** Does not start with the specified string (case-insensitive). */ - notStartsWithInsensitive?: InputMaybe; - /** Starts with the specified string (case-sensitive). */ - startsWith?: InputMaybe; - /** Starts with the specified string (case-insensitive). */ - startsWithInsensitive?: InputMaybe; -}; - -/** Represents the deployed version of the node indexing the data */ -export type SubqueryVersion = Node & { - __typename?: 'SubqueryVersion'; - createdAt: Scalars['Datetime']['output']; - id: Scalars['String']['output']; - /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ - nodeId: Scalars['ID']['output']; - updatedAt: Scalars['Datetime']['output']; - version: Scalars['String']['output']; -}; - -export type SubqueryVersionAggregates = { - __typename?: 'SubqueryVersionAggregates'; - /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ - distinctCount?: Maybe; - keys?: Maybe>; -}; - -export type SubqueryVersionDistinctCountAggregates = { - __typename?: 'SubqueryVersionDistinctCountAggregates'; - /** Distinct count of createdAt across the matching connection */ - createdAt?: Maybe; - /** Distinct count of id across the matching connection */ - id?: Maybe; - /** Distinct count of updatedAt across the matching connection */ - updatedAt?: Maybe; - /** Distinct count of version across the matching connection */ - version?: Maybe; -}; - -/** A filter to be used against `SubqueryVersion` object types. All fields are combined with a logical ‘and.’ */ -export type SubqueryVersionFilter = { - /** Checks for all expressions in this list. */ - and?: InputMaybe>; - /** Filter by the object’s `createdAt` field. */ - createdAt?: InputMaybe; - /** Filter by the object’s `id` field. */ - id?: InputMaybe; - /** Negates the expression. */ - not?: InputMaybe; - /** Checks for any expressions in this list. */ - or?: InputMaybe>; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: InputMaybe; - /** Filter by the object’s `version` field. */ - version?: InputMaybe; -}; - -/** A connection to a list of `SubqueryVersion` values. */ -export type SubqueryVersionsConnection = { - __typename?: 'SubqueryVersionsConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `SubqueryVersion` and cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `SubqueryVersion` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `SubqueryVersion` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `SubqueryVersion` values. */ -export type SubqueryVersionsConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `SubqueryVersion` edge in the connection. */ -export type SubqueryVersionsEdge = { - __typename?: 'SubqueryVersionsEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `SubqueryVersion` at the end of the edge. */ - node?: Maybe; -}; - -/** Grouping methods for `SubqueryVersion` for usage during aggregation. */ -export enum SubqueryVersionsGroupBy { - CreatedAt = 'CREATED_AT', - CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', - CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', - UpdatedAt = 'UPDATED_AT', - UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', - UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', - Version = 'VERSION', -} - -export type SubqueryVersionsHavingAverageInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type SubqueryVersionsHavingDistinctCountInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Conditions for `SubqueryVersion` aggregates. */ -export type SubqueryVersionsHavingInput = { - AND?: InputMaybe>; - OR?: InputMaybe>; - average?: InputMaybe; - distinctCount?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddevPopulation?: InputMaybe; - stddevSample?: InputMaybe; - sum?: InputMaybe; - variancePopulation?: InputMaybe; - varianceSample?: InputMaybe; -}; - -export type SubqueryVersionsHavingMaxInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type SubqueryVersionsHavingMinInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type SubqueryVersionsHavingStddevPopulationInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type SubqueryVersionsHavingStddevSampleInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type SubqueryVersionsHavingSumInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type SubqueryVersionsHavingVariancePopulationInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type SubqueryVersionsHavingVarianceSampleInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Methods to use when ordering `SubqueryVersion`. */ -export enum SubqueryVersionsOrderBy { - CreatedAtAsc = 'CREATED_AT_ASC', - CreatedAtDesc = 'CREATED_AT_DESC', - IdAsc = 'ID_ASC', - IdDesc = 'ID_DESC', - Natural = 'NATURAL', - PrimaryKeyAsc = 'PRIMARY_KEY_ASC', - PrimaryKeyDesc = 'PRIMARY_KEY_DESC', - UpdatedAtAsc = 'UPDATED_AT_ASC', - UpdatedAtDesc = 'UPDATED_AT_DESC', - VersionAsc = 'VERSION_ASC', - VersionDesc = 'VERSION_DESC', -} - -export type TableEstimate = { - __typename?: 'TableEstimate'; - estimate?: Maybe; - table?: Maybe; -}; - -/** Represents an Identity authorized to perform actions on behalf of a company */ -export type TickerExternalAgent = Node & { - __typename?: 'TickerExternalAgent'; - /** Reads a single `Asset` that is related to this `TickerExternalAgent`. */ - asset?: Maybe; - assetId: Scalars['String']['output']; - /** Reads a single `Identity` that is related to this `TickerExternalAgent`. */ - caller?: Maybe; - callerId: Scalars['String']['output']; - createdAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `TickerExternalAgent`. */ - createdBlock?: Maybe; - createdBlockId: Scalars['String']['output']; - datetime: Scalars['Datetime']['output']; - eventIdx: Scalars['Int']['output']; - id: Scalars['String']['output']; - /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ - nodeId: Scalars['ID']['output']; - updatedAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `TickerExternalAgent`. */ - updatedBlock?: Maybe; - updatedBlockId: Scalars['String']['output']; -}; - -/** Represents an administrative action on an Asset, e.g. tokens issued, compliance rules updated, document added, etc. */ -export type TickerExternalAgentAction = Node & { - __typename?: 'TickerExternalAgentAction'; - /** Reads a single `Asset` that is related to this `TickerExternalAgentAction`. */ - asset?: Maybe; - assetId: Scalars['String']['output']; - /** Reads a single `Identity` that is related to this `TickerExternalAgentAction`. */ - caller?: Maybe; - callerId?: Maybe; - createdAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `TickerExternalAgentAction`. */ - createdBlock?: Maybe; - createdBlockId: Scalars['String']['output']; - eventId: EventIdEnum; - eventIdx: Scalars['Int']['output']; - id: Scalars['String']['output']; - /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ - nodeId: Scalars['ID']['output']; - palletName: Scalars['String']['output']; - updatedAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `TickerExternalAgentAction`. */ - updatedBlock?: Maybe; - updatedBlockId: Scalars['String']['output']; -}; - -export type TickerExternalAgentActionAggregates = { - __typename?: 'TickerExternalAgentActionAggregates'; - /** Mean average aggregates across the matching connection (ignoring before/after/first/last/offset) */ - average?: Maybe; - /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ - distinctCount?: Maybe; - keys?: Maybe>; - /** Maximum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - max?: Maybe; - /** Minimum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - min?: Maybe; - /** Population standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevPopulation?: Maybe; - /** Sample standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevSample?: Maybe; - /** Sum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - sum?: Maybe; - /** Population variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - variancePopulation?: Maybe; - /** Sample variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - varianceSample?: Maybe; -}; - -/** A filter to be used against aggregates of `TickerExternalAgentAction` object types. */ -export type TickerExternalAgentActionAggregatesFilter = { - /** Mean average aggregate over matching `TickerExternalAgentAction` objects. */ - average?: InputMaybe; - /** Distinct count aggregate over matching `TickerExternalAgentAction` objects. */ - distinctCount?: InputMaybe; - /** A filter that must pass for the relevant `TickerExternalAgentAction` object to be included within the aggregate. */ - filter?: InputMaybe; - /** Maximum aggregate over matching `TickerExternalAgentAction` objects. */ - max?: InputMaybe; - /** Minimum aggregate over matching `TickerExternalAgentAction` objects. */ - min?: InputMaybe; - /** Population standard deviation aggregate over matching `TickerExternalAgentAction` objects. */ - stddevPopulation?: InputMaybe; - /** Sample standard deviation aggregate over matching `TickerExternalAgentAction` objects. */ - stddevSample?: InputMaybe; - /** Sum aggregate over matching `TickerExternalAgentAction` objects. */ - sum?: InputMaybe; - /** Population variance aggregate over matching `TickerExternalAgentAction` objects. */ - variancePopulation?: InputMaybe; - /** Sample variance aggregate over matching `TickerExternalAgentAction` objects. */ - varianceSample?: InputMaybe; -}; - -export type TickerExternalAgentActionAverageAggregateFilter = { - eventIdx?: InputMaybe; -}; - -export type TickerExternalAgentActionAverageAggregates = { - __typename?: 'TickerExternalAgentActionAverageAggregates'; - /** Mean average of eventIdx across the matching connection */ - eventIdx?: Maybe; -}; - -export type TickerExternalAgentActionDistinctCountAggregateFilter = { - assetId?: InputMaybe; - callerId?: InputMaybe; - createdAt?: InputMaybe; - createdBlockId?: InputMaybe; - eventId?: InputMaybe; - eventIdx?: InputMaybe; - id?: InputMaybe; - palletName?: InputMaybe; - updatedAt?: InputMaybe; - updatedBlockId?: InputMaybe; -}; - -export type TickerExternalAgentActionDistinctCountAggregates = { - __typename?: 'TickerExternalAgentActionDistinctCountAggregates'; - /** Distinct count of assetId across the matching connection */ - assetId?: Maybe; - /** Distinct count of callerId across the matching connection */ - callerId?: Maybe; - /** Distinct count of createdAt across the matching connection */ - createdAt?: Maybe; - /** Distinct count of createdBlockId across the matching connection */ - createdBlockId?: Maybe; - /** Distinct count of eventId across the matching connection */ - eventId?: Maybe; - /** Distinct count of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Distinct count of id across the matching connection */ - id?: Maybe; - /** Distinct count of palletName across the matching connection */ - palletName?: Maybe; - /** Distinct count of updatedAt across the matching connection */ - updatedAt?: Maybe; - /** Distinct count of updatedBlockId across the matching connection */ - updatedBlockId?: Maybe; -}; - -/** A filter to be used against `TickerExternalAgentAction` object types. All fields are combined with a logical ‘and.’ */ -export type TickerExternalAgentActionFilter = { - /** Checks for all expressions in this list. */ - and?: InputMaybe>; - /** Filter by the object’s `asset` relation. */ - asset?: InputMaybe; - /** Filter by the object’s `assetId` field. */ - assetId?: InputMaybe; - /** Filter by the object’s `caller` relation. */ - caller?: InputMaybe; - /** A related `caller` exists. */ - callerExists?: InputMaybe; - /** Filter by the object’s `callerId` field. */ - callerId?: InputMaybe; - /** Filter by the object’s `createdAt` field. */ - createdAt?: InputMaybe; - /** Filter by the object’s `createdBlock` relation. */ - createdBlock?: InputMaybe; - /** Filter by the object’s `createdBlockId` field. */ - createdBlockId?: InputMaybe; - /** Filter by the object’s `eventId` field. */ - eventId?: InputMaybe; - /** Filter by the object’s `eventIdx` field. */ - eventIdx?: InputMaybe; - /** Filter by the object’s `id` field. */ - id?: InputMaybe; - /** Negates the expression. */ - not?: InputMaybe; - /** Checks for any expressions in this list. */ - or?: InputMaybe>; - /** Filter by the object’s `palletName` field. */ - palletName?: InputMaybe; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: InputMaybe; - /** Filter by the object’s `updatedBlock` relation. */ - updatedBlock?: InputMaybe; - /** Filter by the object’s `updatedBlockId` field. */ - updatedBlockId?: InputMaybe; -}; - -export type TickerExternalAgentActionMaxAggregateFilter = { - eventIdx?: InputMaybe; -}; - -export type TickerExternalAgentActionMaxAggregates = { - __typename?: 'TickerExternalAgentActionMaxAggregates'; - /** Maximum of eventIdx across the matching connection */ - eventIdx?: Maybe; -}; - -export type TickerExternalAgentActionMinAggregateFilter = { - eventIdx?: InputMaybe; -}; - -export type TickerExternalAgentActionMinAggregates = { - __typename?: 'TickerExternalAgentActionMinAggregates'; - /** Minimum of eventIdx across the matching connection */ - eventIdx?: Maybe; -}; - -export type TickerExternalAgentActionStddevPopulationAggregateFilter = { - eventIdx?: InputMaybe; -}; - -export type TickerExternalAgentActionStddevPopulationAggregates = { - __typename?: 'TickerExternalAgentActionStddevPopulationAggregates'; - /** Population standard deviation of eventIdx across the matching connection */ - eventIdx?: Maybe; -}; - -export type TickerExternalAgentActionStddevSampleAggregateFilter = { - eventIdx?: InputMaybe; -}; - -export type TickerExternalAgentActionStddevSampleAggregates = { - __typename?: 'TickerExternalAgentActionStddevSampleAggregates'; - /** Sample standard deviation of eventIdx across the matching connection */ - eventIdx?: Maybe; -}; - -export type TickerExternalAgentActionSumAggregateFilter = { - eventIdx?: InputMaybe; -}; - -export type TickerExternalAgentActionSumAggregates = { - __typename?: 'TickerExternalAgentActionSumAggregates'; - /** Sum of eventIdx across the matching connection */ - eventIdx: Scalars['BigInt']['output']; -}; - -export type TickerExternalAgentActionVariancePopulationAggregateFilter = { - eventIdx?: InputMaybe; -}; - -export type TickerExternalAgentActionVariancePopulationAggregates = { - __typename?: 'TickerExternalAgentActionVariancePopulationAggregates'; - /** Population variance of eventIdx across the matching connection */ - eventIdx?: Maybe; -}; - -export type TickerExternalAgentActionVarianceSampleAggregateFilter = { - eventIdx?: InputMaybe; -}; - -export type TickerExternalAgentActionVarianceSampleAggregates = { - __typename?: 'TickerExternalAgentActionVarianceSampleAggregates'; - /** Sample variance of eventIdx across the matching connection */ - eventIdx?: Maybe; -}; - -/** A connection to a list of `TickerExternalAgentAction` values. */ -export type TickerExternalAgentActionsConnection = { - __typename?: 'TickerExternalAgentActionsConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `TickerExternalAgentAction` and cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `TickerExternalAgentAction` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `TickerExternalAgentAction` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `TickerExternalAgentAction` values. */ -export type TickerExternalAgentActionsConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `TickerExternalAgentAction` edge in the connection. */ -export type TickerExternalAgentActionsEdge = { - __typename?: 'TickerExternalAgentActionsEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `TickerExternalAgentAction` at the end of the edge. */ - node?: Maybe; -}; - -/** Grouping methods for `TickerExternalAgentAction` for usage during aggregation. */ -export enum TickerExternalAgentActionsGroupBy { - AssetId = 'ASSET_ID', - CallerId = 'CALLER_ID', - CreatedAt = 'CREATED_AT', - CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', - CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', - CreatedBlockId = 'CREATED_BLOCK_ID', - EventId = 'EVENT_ID', - EventIdx = 'EVENT_IDX', - PalletName = 'PALLET_NAME', - UpdatedAt = 'UPDATED_AT', - UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', - UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export type TickerExternalAgentActionsHavingAverageInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type TickerExternalAgentActionsHavingDistinctCountInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Conditions for `TickerExternalAgentAction` aggregates. */ -export type TickerExternalAgentActionsHavingInput = { - AND?: InputMaybe>; - OR?: InputMaybe>; - average?: InputMaybe; - distinctCount?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddevPopulation?: InputMaybe; - stddevSample?: InputMaybe; - sum?: InputMaybe; - variancePopulation?: InputMaybe; - varianceSample?: InputMaybe; -}; - -export type TickerExternalAgentActionsHavingMaxInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type TickerExternalAgentActionsHavingMinInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type TickerExternalAgentActionsHavingStddevPopulationInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type TickerExternalAgentActionsHavingStddevSampleInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type TickerExternalAgentActionsHavingSumInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type TickerExternalAgentActionsHavingVariancePopulationInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type TickerExternalAgentActionsHavingVarianceSampleInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Methods to use when ordering `TickerExternalAgentAction`. */ -export enum TickerExternalAgentActionsOrderBy { - AssetIdAsc = 'ASSET_ID_ASC', - AssetIdDesc = 'ASSET_ID_DESC', - CallerIdAsc = 'CALLER_ID_ASC', - CallerIdDesc = 'CALLER_ID_DESC', - CreatedAtAsc = 'CREATED_AT_ASC', - CreatedAtDesc = 'CREATED_AT_DESC', - CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', - CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', - EventIdxAsc = 'EVENT_IDX_ASC', - EventIdxDesc = 'EVENT_IDX_DESC', - EventIdAsc = 'EVENT_ID_ASC', - EventIdDesc = 'EVENT_ID_DESC', - IdAsc = 'ID_ASC', - IdDesc = 'ID_DESC', - Natural = 'NATURAL', - PalletNameAsc = 'PALLET_NAME_ASC', - PalletNameDesc = 'PALLET_NAME_DESC', - PrimaryKeyAsc = 'PRIMARY_KEY_ASC', - PrimaryKeyDesc = 'PRIMARY_KEY_DESC', - UpdatedAtAsc = 'UPDATED_AT_ASC', - UpdatedAtDesc = 'UPDATED_AT_DESC', - UpdatedBlockIdAsc = 'UPDATED_BLOCK_ID_ASC', - UpdatedBlockIdDesc = 'UPDATED_BLOCK_ID_DESC', -} - -export type TickerExternalAgentAggregates = { - __typename?: 'TickerExternalAgentAggregates'; - /** Mean average aggregates across the matching connection (ignoring before/after/first/last/offset) */ - average?: Maybe; - /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ - distinctCount?: Maybe; - keys?: Maybe>; - /** Maximum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - max?: Maybe; - /** Minimum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - min?: Maybe; - /** Population standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevPopulation?: Maybe; - /** Sample standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevSample?: Maybe; - /** Sum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - sum?: Maybe; - /** Population variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - variancePopulation?: Maybe; - /** Sample variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - varianceSample?: Maybe; -}; - -/** A filter to be used against aggregates of `TickerExternalAgent` object types. */ -export type TickerExternalAgentAggregatesFilter = { - /** Mean average aggregate over matching `TickerExternalAgent` objects. */ - average?: InputMaybe; - /** Distinct count aggregate over matching `TickerExternalAgent` objects. */ - distinctCount?: InputMaybe; - /** A filter that must pass for the relevant `TickerExternalAgent` object to be included within the aggregate. */ - filter?: InputMaybe; - /** Maximum aggregate over matching `TickerExternalAgent` objects. */ - max?: InputMaybe; - /** Minimum aggregate over matching `TickerExternalAgent` objects. */ - min?: InputMaybe; - /** Population standard deviation aggregate over matching `TickerExternalAgent` objects. */ - stddevPopulation?: InputMaybe; - /** Sample standard deviation aggregate over matching `TickerExternalAgent` objects. */ - stddevSample?: InputMaybe; - /** Sum aggregate over matching `TickerExternalAgent` objects. */ - sum?: InputMaybe; - /** Population variance aggregate over matching `TickerExternalAgent` objects. */ - variancePopulation?: InputMaybe; - /** Sample variance aggregate over matching `TickerExternalAgent` objects. */ - varianceSample?: InputMaybe; -}; - -export type TickerExternalAgentAverageAggregateFilter = { - eventIdx?: InputMaybe; -}; - -export type TickerExternalAgentAverageAggregates = { - __typename?: 'TickerExternalAgentAverageAggregates'; - /** Mean average of eventIdx across the matching connection */ - eventIdx?: Maybe; -}; - -export type TickerExternalAgentDistinctCountAggregateFilter = { - assetId?: InputMaybe; - callerId?: InputMaybe; - createdAt?: InputMaybe; - createdBlockId?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - id?: InputMaybe; - updatedAt?: InputMaybe; - updatedBlockId?: InputMaybe; -}; - -export type TickerExternalAgentDistinctCountAggregates = { - __typename?: 'TickerExternalAgentDistinctCountAggregates'; - /** Distinct count of assetId across the matching connection */ - assetId?: Maybe; - /** Distinct count of callerId across the matching connection */ - callerId?: Maybe; - /** Distinct count of createdAt across the matching connection */ - createdAt?: Maybe; - /** Distinct count of createdBlockId across the matching connection */ - createdBlockId?: Maybe; - /** Distinct count of datetime across the matching connection */ - datetime?: Maybe; - /** Distinct count of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Distinct count of id across the matching connection */ - id?: Maybe; - /** Distinct count of updatedAt across the matching connection */ - updatedAt?: Maybe; - /** Distinct count of updatedBlockId across the matching connection */ - updatedBlockId?: Maybe; -}; - -/** A filter to be used against `TickerExternalAgent` object types. All fields are combined with a logical ‘and.’ */ -export type TickerExternalAgentFilter = { - /** Checks for all expressions in this list. */ - and?: InputMaybe>; - /** Filter by the object’s `asset` relation. */ - asset?: InputMaybe; - /** Filter by the object’s `assetId` field. */ - assetId?: InputMaybe; - /** Filter by the object’s `caller` relation. */ - caller?: InputMaybe; - /** Filter by the object’s `callerId` field. */ - callerId?: InputMaybe; - /** Filter by the object’s `createdAt` field. */ - createdAt?: InputMaybe; - /** Filter by the object’s `createdBlock` relation. */ - createdBlock?: InputMaybe; - /** Filter by the object’s `createdBlockId` field. */ - createdBlockId?: InputMaybe; - /** Filter by the object’s `datetime` field. */ - datetime?: InputMaybe; - /** Filter by the object’s `eventIdx` field. */ - eventIdx?: InputMaybe; - /** Filter by the object’s `id` field. */ - id?: InputMaybe; - /** Negates the expression. */ - not?: InputMaybe; - /** Checks for any expressions in this list. */ - or?: InputMaybe>; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: InputMaybe; - /** Filter by the object’s `updatedBlock` relation. */ - updatedBlock?: InputMaybe; - /** Filter by the object’s `updatedBlockId` field. */ - updatedBlockId?: InputMaybe; -}; - -/** A connection to a list of `TickerExternalAgentHistory` values. */ -export type TickerExternalAgentHistoriesConnection = { - __typename?: 'TickerExternalAgentHistoriesConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `TickerExternalAgentHistory` and cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `TickerExternalAgentHistory` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `TickerExternalAgentHistory` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `TickerExternalAgentHistory` values. */ -export type TickerExternalAgentHistoriesConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `TickerExternalAgentHistory` edge in the connection. */ -export type TickerExternalAgentHistoriesEdge = { - __typename?: 'TickerExternalAgentHistoriesEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `TickerExternalAgentHistory` at the end of the edge. */ - node?: Maybe; -}; - -/** Grouping methods for `TickerExternalAgentHistory` for usage during aggregation. */ -export enum TickerExternalAgentHistoriesGroupBy { - AssetId = 'ASSET_ID', - CreatedAt = 'CREATED_AT', - CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', - CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', - CreatedBlockId = 'CREATED_BLOCK_ID', - Datetime = 'DATETIME', - DatetimeTruncatedToDay = 'DATETIME_TRUNCATED_TO_DAY', - DatetimeTruncatedToHour = 'DATETIME_TRUNCATED_TO_HOUR', - EventIdx = 'EVENT_IDX', - IdentityId = 'IDENTITY_ID', - Permissions = 'PERMISSIONS', - Type = 'TYPE', - UpdatedAt = 'UPDATED_AT', - UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', - UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export type TickerExternalAgentHistoriesHavingAverageInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type TickerExternalAgentHistoriesHavingDistinctCountInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Conditions for `TickerExternalAgentHistory` aggregates. */ -export type TickerExternalAgentHistoriesHavingInput = { - AND?: InputMaybe>; - OR?: InputMaybe>; - average?: InputMaybe; - distinctCount?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddevPopulation?: InputMaybe; - stddevSample?: InputMaybe; - sum?: InputMaybe; - variancePopulation?: InputMaybe; - varianceSample?: InputMaybe; -}; - -export type TickerExternalAgentHistoriesHavingMaxInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type TickerExternalAgentHistoriesHavingMinInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type TickerExternalAgentHistoriesHavingStddevPopulationInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type TickerExternalAgentHistoriesHavingStddevSampleInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type TickerExternalAgentHistoriesHavingSumInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type TickerExternalAgentHistoriesHavingVariancePopulationInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type TickerExternalAgentHistoriesHavingVarianceSampleInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Methods to use when ordering `TickerExternalAgentHistory`. */ -export enum TickerExternalAgentHistoriesOrderBy { - AssetIdAsc = 'ASSET_ID_ASC', - AssetIdDesc = 'ASSET_ID_DESC', - CreatedAtAsc = 'CREATED_AT_ASC', - CreatedAtDesc = 'CREATED_AT_DESC', - CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', - CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', - DatetimeAsc = 'DATETIME_ASC', - DatetimeDesc = 'DATETIME_DESC', - EventIdxAsc = 'EVENT_IDX_ASC', - EventIdxDesc = 'EVENT_IDX_DESC', - IdentityIdAsc = 'IDENTITY_ID_ASC', - IdentityIdDesc = 'IDENTITY_ID_DESC', - IdAsc = 'ID_ASC', - IdDesc = 'ID_DESC', - Natural = 'NATURAL', - PermissionsAsc = 'PERMISSIONS_ASC', - PermissionsDesc = 'PERMISSIONS_DESC', - PrimaryKeyAsc = 'PRIMARY_KEY_ASC', - PrimaryKeyDesc = 'PRIMARY_KEY_DESC', - TypeAsc = 'TYPE_ASC', - TypeDesc = 'TYPE_DESC', - UpdatedAtAsc = 'UPDATED_AT_ASC', - UpdatedAtDesc = 'UPDATED_AT_DESC', - UpdatedBlockIdAsc = 'UPDATED_BLOCK_ID_ASC', - UpdatedBlockIdDesc = 'UPDATED_BLOCK_ID_DESC', -} - -/** - * Represents a change in the status of an external agent. - * - * "AgentAdded" and "AgentPermissionsChanged" will have `permissions` field. `AgentRemoved` will have an empty `permissions` value - */ -export type TickerExternalAgentHistory = Node & { - __typename?: 'TickerExternalAgentHistory'; - /** Reads a single `Asset` that is related to this `TickerExternalAgentHistory`. */ - asset?: Maybe; - assetId: Scalars['String']['output']; - createdAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `TickerExternalAgentHistory`. */ - createdBlock?: Maybe; - createdBlockId: Scalars['String']['output']; - datetime: Scalars['Datetime']['output']; - eventIdx: Scalars['Int']['output']; - id: Scalars['String']['output']; - /** Reads a single `Identity` that is related to this `TickerExternalAgentHistory`. */ - identity?: Maybe; - identityId: Scalars['String']['output']; - /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ - nodeId: Scalars['ID']['output']; - permissions?: Maybe; - type: Scalars['String']['output']; - updatedAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `TickerExternalAgentHistory`. */ - updatedBlock?: Maybe; - updatedBlockId: Scalars['String']['output']; -}; - -/** - * Represents a change in the status of an external agent. - * - * "AgentAdded" and "AgentPermissionsChanged" will have `permissions` field. `AgentRemoved` will have an empty `permissions` value - */ -export type TickerExternalAgentHistoryPermissionsArgs = { - distinct?: InputMaybe>>; -}; - -export type TickerExternalAgentHistoryAggregates = { - __typename?: 'TickerExternalAgentHistoryAggregates'; - /** Mean average aggregates across the matching connection (ignoring before/after/first/last/offset) */ - average?: Maybe; - /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ - distinctCount?: Maybe; - keys?: Maybe>; - /** Maximum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - max?: Maybe; - /** Minimum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - min?: Maybe; - /** Population standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevPopulation?: Maybe; - /** Sample standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevSample?: Maybe; - /** Sum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - sum?: Maybe; - /** Population variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - variancePopulation?: Maybe; - /** Sample variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - varianceSample?: Maybe; -}; - -/** A filter to be used against aggregates of `TickerExternalAgentHistory` object types. */ -export type TickerExternalAgentHistoryAggregatesFilter = { - /** Mean average aggregate over matching `TickerExternalAgentHistory` objects. */ - average?: InputMaybe; - /** Distinct count aggregate over matching `TickerExternalAgentHistory` objects. */ - distinctCount?: InputMaybe; - /** A filter that must pass for the relevant `TickerExternalAgentHistory` object to be included within the aggregate. */ - filter?: InputMaybe; - /** Maximum aggregate over matching `TickerExternalAgentHistory` objects. */ - max?: InputMaybe; - /** Minimum aggregate over matching `TickerExternalAgentHistory` objects. */ - min?: InputMaybe; - /** Population standard deviation aggregate over matching `TickerExternalAgentHistory` objects. */ - stddevPopulation?: InputMaybe; - /** Sample standard deviation aggregate over matching `TickerExternalAgentHistory` objects. */ - stddevSample?: InputMaybe; - /** Sum aggregate over matching `TickerExternalAgentHistory` objects. */ - sum?: InputMaybe; - /** Population variance aggregate over matching `TickerExternalAgentHistory` objects. */ - variancePopulation?: InputMaybe; - /** Sample variance aggregate over matching `TickerExternalAgentHistory` objects. */ - varianceSample?: InputMaybe; -}; - -export type TickerExternalAgentHistoryAverageAggregateFilter = { - eventIdx?: InputMaybe; -}; - -export type TickerExternalAgentHistoryAverageAggregates = { - __typename?: 'TickerExternalAgentHistoryAverageAggregates'; - /** Mean average of eventIdx across the matching connection */ - eventIdx?: Maybe; -}; - -export type TickerExternalAgentHistoryDistinctCountAggregateFilter = { - assetId?: InputMaybe; - createdAt?: InputMaybe; - createdBlockId?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - id?: InputMaybe; - identityId?: InputMaybe; - permissions?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; - updatedBlockId?: InputMaybe; -}; - -export type TickerExternalAgentHistoryDistinctCountAggregates = { - __typename?: 'TickerExternalAgentHistoryDistinctCountAggregates'; - /** Distinct count of assetId across the matching connection */ - assetId?: Maybe; - /** Distinct count of createdAt across the matching connection */ - createdAt?: Maybe; - /** Distinct count of createdBlockId across the matching connection */ - createdBlockId?: Maybe; - /** Distinct count of datetime across the matching connection */ - datetime?: Maybe; - /** Distinct count of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Distinct count of id across the matching connection */ - id?: Maybe; - /** Distinct count of identityId across the matching connection */ - identityId?: Maybe; - /** Distinct count of permissions across the matching connection */ - permissions?: Maybe; - /** Distinct count of type across the matching connection */ - type?: Maybe; - /** Distinct count of updatedAt across the matching connection */ - updatedAt?: Maybe; - /** Distinct count of updatedBlockId across the matching connection */ - updatedBlockId?: Maybe; -}; - -/** A filter to be used against `TickerExternalAgentHistory` object types. All fields are combined with a logical ‘and.’ */ -export type TickerExternalAgentHistoryFilter = { - /** Checks for all expressions in this list. */ - and?: InputMaybe>; - /** Filter by the object’s `asset` relation. */ - asset?: InputMaybe; - /** Filter by the object’s `assetId` field. */ - assetId?: InputMaybe; - /** Filter by the object’s `createdAt` field. */ - createdAt?: InputMaybe; - /** Filter by the object’s `createdBlock` relation. */ - createdBlock?: InputMaybe; - /** Filter by the object’s `createdBlockId` field. */ - createdBlockId?: InputMaybe; - /** Filter by the object’s `datetime` field. */ - datetime?: InputMaybe; - /** Filter by the object’s `eventIdx` field. */ - eventIdx?: InputMaybe; - /** Filter by the object’s `id` field. */ - id?: InputMaybe; - /** Filter by the object’s `identity` relation. */ - identity?: InputMaybe; - /** Filter by the object’s `identityId` field. */ - identityId?: InputMaybe; - /** Negates the expression. */ - not?: InputMaybe; - /** Checks for any expressions in this list. */ - or?: InputMaybe>; - /** Filter by the object’s `permissions` field. */ - permissions?: InputMaybe; - /** Filter by the object’s `type` field. */ - type?: InputMaybe; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: InputMaybe; - /** Filter by the object’s `updatedBlock` relation. */ - updatedBlock?: InputMaybe; - /** Filter by the object’s `updatedBlockId` field. */ - updatedBlockId?: InputMaybe; -}; - -export type TickerExternalAgentHistoryMaxAggregateFilter = { - eventIdx?: InputMaybe; -}; - -export type TickerExternalAgentHistoryMaxAggregates = { - __typename?: 'TickerExternalAgentHistoryMaxAggregates'; - /** Maximum of eventIdx across the matching connection */ - eventIdx?: Maybe; -}; - -export type TickerExternalAgentHistoryMinAggregateFilter = { - eventIdx?: InputMaybe; -}; - -export type TickerExternalAgentHistoryMinAggregates = { - __typename?: 'TickerExternalAgentHistoryMinAggregates'; - /** Minimum of eventIdx across the matching connection */ - eventIdx?: Maybe; -}; - -export type TickerExternalAgentHistoryStddevPopulationAggregateFilter = { - eventIdx?: InputMaybe; -}; - -export type TickerExternalAgentHistoryStddevPopulationAggregates = { - __typename?: 'TickerExternalAgentHistoryStddevPopulationAggregates'; - /** Population standard deviation of eventIdx across the matching connection */ - eventIdx?: Maybe; -}; - -export type TickerExternalAgentHistoryStddevSampleAggregateFilter = { - eventIdx?: InputMaybe; -}; - -export type TickerExternalAgentHistoryStddevSampleAggregates = { - __typename?: 'TickerExternalAgentHistoryStddevSampleAggregates'; - /** Sample standard deviation of eventIdx across the matching connection */ - eventIdx?: Maybe; -}; - -export type TickerExternalAgentHistorySumAggregateFilter = { - eventIdx?: InputMaybe; -}; - -export type TickerExternalAgentHistorySumAggregates = { - __typename?: 'TickerExternalAgentHistorySumAggregates'; - /** Sum of eventIdx across the matching connection */ - eventIdx: Scalars['BigInt']['output']; -}; - -export type TickerExternalAgentHistoryVariancePopulationAggregateFilter = { - eventIdx?: InputMaybe; -}; - -export type TickerExternalAgentHistoryVariancePopulationAggregates = { - __typename?: 'TickerExternalAgentHistoryVariancePopulationAggregates'; - /** Population variance of eventIdx across the matching connection */ - eventIdx?: Maybe; -}; - -export type TickerExternalAgentHistoryVarianceSampleAggregateFilter = { - eventIdx?: InputMaybe; -}; - -export type TickerExternalAgentHistoryVarianceSampleAggregates = { - __typename?: 'TickerExternalAgentHistoryVarianceSampleAggregates'; - /** Sample variance of eventIdx across the matching connection */ - eventIdx?: Maybe; -}; - -export type TickerExternalAgentMaxAggregateFilter = { - eventIdx?: InputMaybe; -}; - -export type TickerExternalAgentMaxAggregates = { - __typename?: 'TickerExternalAgentMaxAggregates'; - /** Maximum of eventIdx across the matching connection */ - eventIdx?: Maybe; -}; - -export type TickerExternalAgentMinAggregateFilter = { - eventIdx?: InputMaybe; -}; - -export type TickerExternalAgentMinAggregates = { - __typename?: 'TickerExternalAgentMinAggregates'; - /** Minimum of eventIdx across the matching connection */ - eventIdx?: Maybe; -}; - -export type TickerExternalAgentStddevPopulationAggregateFilter = { - eventIdx?: InputMaybe; -}; - -export type TickerExternalAgentStddevPopulationAggregates = { - __typename?: 'TickerExternalAgentStddevPopulationAggregates'; - /** Population standard deviation of eventIdx across the matching connection */ - eventIdx?: Maybe; -}; - -export type TickerExternalAgentStddevSampleAggregateFilter = { - eventIdx?: InputMaybe; -}; - -export type TickerExternalAgentStddevSampleAggregates = { - __typename?: 'TickerExternalAgentStddevSampleAggregates'; - /** Sample standard deviation of eventIdx across the matching connection */ - eventIdx?: Maybe; -}; - -export type TickerExternalAgentSumAggregateFilter = { - eventIdx?: InputMaybe; -}; - -export type TickerExternalAgentSumAggregates = { - __typename?: 'TickerExternalAgentSumAggregates'; - /** Sum of eventIdx across the matching connection */ - eventIdx: Scalars['BigInt']['output']; -}; - -export type TickerExternalAgentVariancePopulationAggregateFilter = { - eventIdx?: InputMaybe; -}; - -export type TickerExternalAgentVariancePopulationAggregates = { - __typename?: 'TickerExternalAgentVariancePopulationAggregates'; - /** Population variance of eventIdx across the matching connection */ - eventIdx?: Maybe; -}; - -export type TickerExternalAgentVarianceSampleAggregateFilter = { - eventIdx?: InputMaybe; -}; - -export type TickerExternalAgentVarianceSampleAggregates = { - __typename?: 'TickerExternalAgentVarianceSampleAggregates'; - /** Sample variance of eventIdx across the matching connection */ - eventIdx?: Maybe; -}; - -/** A connection to a list of `TickerExternalAgent` values. */ -export type TickerExternalAgentsConnection = { - __typename?: 'TickerExternalAgentsConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `TickerExternalAgent` and cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `TickerExternalAgent` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `TickerExternalAgent` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `TickerExternalAgent` values. */ -export type TickerExternalAgentsConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `TickerExternalAgent` edge in the connection. */ -export type TickerExternalAgentsEdge = { - __typename?: 'TickerExternalAgentsEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `TickerExternalAgent` at the end of the edge. */ - node?: Maybe; -}; - -/** Grouping methods for `TickerExternalAgent` for usage during aggregation. */ -export enum TickerExternalAgentsGroupBy { - AssetId = 'ASSET_ID', - CallerId = 'CALLER_ID', - CreatedAt = 'CREATED_AT', - CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', - CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', - CreatedBlockId = 'CREATED_BLOCK_ID', - Datetime = 'DATETIME', - DatetimeTruncatedToDay = 'DATETIME_TRUNCATED_TO_DAY', - DatetimeTruncatedToHour = 'DATETIME_TRUNCATED_TO_HOUR', - EventIdx = 'EVENT_IDX', - UpdatedAt = 'UPDATED_AT', - UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', - UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export type TickerExternalAgentsHavingAverageInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type TickerExternalAgentsHavingDistinctCountInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Conditions for `TickerExternalAgent` aggregates. */ -export type TickerExternalAgentsHavingInput = { - AND?: InputMaybe>; - OR?: InputMaybe>; - average?: InputMaybe; - distinctCount?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddevPopulation?: InputMaybe; - stddevSample?: InputMaybe; - sum?: InputMaybe; - variancePopulation?: InputMaybe; - varianceSample?: InputMaybe; -}; - -export type TickerExternalAgentsHavingMaxInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type TickerExternalAgentsHavingMinInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type TickerExternalAgentsHavingStddevPopulationInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type TickerExternalAgentsHavingStddevSampleInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type TickerExternalAgentsHavingSumInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type TickerExternalAgentsHavingVariancePopulationInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type TickerExternalAgentsHavingVarianceSampleInput = { - createdAt?: InputMaybe; - datetime?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Methods to use when ordering `TickerExternalAgent`. */ -export enum TickerExternalAgentsOrderBy { - AssetIdAsc = 'ASSET_ID_ASC', - AssetIdDesc = 'ASSET_ID_DESC', - CallerIdAsc = 'CALLER_ID_ASC', - CallerIdDesc = 'CALLER_ID_DESC', - CreatedAtAsc = 'CREATED_AT_ASC', - CreatedAtDesc = 'CREATED_AT_DESC', - CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', - CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', - DatetimeAsc = 'DATETIME_ASC', - DatetimeDesc = 'DATETIME_DESC', - EventIdxAsc = 'EVENT_IDX_ASC', - EventIdxDesc = 'EVENT_IDX_DESC', - IdAsc = 'ID_ASC', - IdDesc = 'ID_DESC', - Natural = 'NATURAL', - PrimaryKeyAsc = 'PRIMARY_KEY_ASC', - PrimaryKeyDesc = 'PRIMARY_KEY_DESC', - UpdatedAtAsc = 'UPDATED_AT_ASC', - UpdatedAtDesc = 'UPDATED_AT_DESC', - UpdatedBlockIdAsc = 'UPDATED_BLOCK_ID_ASC', - UpdatedBlockIdDesc = 'UPDATED_BLOCK_ID_DESC', -} - -/** - * Represents restriction that will ensure the composition of ownership remains a certain way - * - * e.g. No more than 2000 individual investors to avoid additional reporting requirements - */ -export type TransferCompliance = Node & { - __typename?: 'TransferCompliance'; - /** Reads a single `Asset` that is related to this `TransferCompliance`. */ - asset?: Maybe; - assetId: Scalars['String']['output']; - /** Reads a single `Identity` that is related to this `TransferCompliance`. */ - claimIssuer?: Maybe; - claimIssuerId?: Maybe; - claimType?: Maybe; - claimValue?: Maybe; - createdAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `TransferCompliance`. */ - createdBlock?: Maybe; - createdBlockId: Scalars['String']['output']; - id: Scalars['String']['output']; - max?: Maybe; - min?: Maybe; - /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ - nodeId: Scalars['ID']['output']; - /** Reads a single `StatType` that is related to this `TransferCompliance`. */ - statType?: Maybe; - statTypeId: Scalars['String']['output']; - type: TransferComplianceTypeEnum; - updatedAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `TransferCompliance`. */ - updatedBlock?: Maybe; - updatedBlockId: Scalars['String']['output']; - value?: Maybe; -}; - -export type TransferComplianceAggregates = { - __typename?: 'TransferComplianceAggregates'; - /** Mean average aggregates across the matching connection (ignoring before/after/first/last/offset) */ - average?: Maybe; - /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ - distinctCount?: Maybe; - keys?: Maybe>; - /** Maximum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - max?: Maybe; - /** Minimum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - min?: Maybe; - /** Population standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevPopulation?: Maybe; - /** Sample standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevSample?: Maybe; - /** Sum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - sum?: Maybe; - /** Population variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - variancePopulation?: Maybe; - /** Sample variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - varianceSample?: Maybe; -}; - -/** A filter to be used against aggregates of `TransferCompliance` object types. */ -export type TransferComplianceAggregatesFilter = { - /** Mean average aggregate over matching `TransferCompliance` objects. */ - average?: InputMaybe; - /** Distinct count aggregate over matching `TransferCompliance` objects. */ - distinctCount?: InputMaybe; - /** A filter that must pass for the relevant `TransferCompliance` object to be included within the aggregate. */ - filter?: InputMaybe; - /** Maximum aggregate over matching `TransferCompliance` objects. */ - max?: InputMaybe; - /** Minimum aggregate over matching `TransferCompliance` objects. */ - min?: InputMaybe; - /** Population standard deviation aggregate over matching `TransferCompliance` objects. */ - stddevPopulation?: InputMaybe; - /** Sample standard deviation aggregate over matching `TransferCompliance` objects. */ - stddevSample?: InputMaybe; - /** Sum aggregate over matching `TransferCompliance` objects. */ - sum?: InputMaybe; - /** Population variance aggregate over matching `TransferCompliance` objects. */ - variancePopulation?: InputMaybe; - /** Sample variance aggregate over matching `TransferCompliance` objects. */ - varianceSample?: InputMaybe; -}; - -export type TransferComplianceAverageAggregateFilter = { - max?: InputMaybe; - min?: InputMaybe; - value?: InputMaybe; -}; - -export type TransferComplianceAverageAggregates = { - __typename?: 'TransferComplianceAverageAggregates'; - /** Mean average of max across the matching connection */ - max?: Maybe; - /** Mean average of min across the matching connection */ - min?: Maybe; - /** Mean average of value across the matching connection */ - value?: Maybe; -}; - -export type TransferComplianceDistinctCountAggregateFilter = { - assetId?: InputMaybe; - claimIssuerId?: InputMaybe; - claimType?: InputMaybe; - claimValue?: InputMaybe; - createdAt?: InputMaybe; - createdBlockId?: InputMaybe; - id?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - statTypeId?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; - updatedBlockId?: InputMaybe; - value?: InputMaybe; -}; - -export type TransferComplianceDistinctCountAggregates = { - __typename?: 'TransferComplianceDistinctCountAggregates'; - /** Distinct count of assetId across the matching connection */ - assetId?: Maybe; - /** Distinct count of claimIssuerId across the matching connection */ - claimIssuerId?: Maybe; - /** Distinct count of claimType across the matching connection */ - claimType?: Maybe; - /** Distinct count of claimValue across the matching connection */ - claimValue?: Maybe; - /** Distinct count of createdAt across the matching connection */ - createdAt?: Maybe; - /** Distinct count of createdBlockId across the matching connection */ - createdBlockId?: Maybe; - /** Distinct count of id across the matching connection */ - id?: Maybe; - /** Distinct count of max across the matching connection */ - max?: Maybe; - /** Distinct count of min across the matching connection */ - min?: Maybe; - /** Distinct count of statTypeId across the matching connection */ - statTypeId?: Maybe; - /** Distinct count of type across the matching connection */ - type?: Maybe; - /** Distinct count of updatedAt across the matching connection */ - updatedAt?: Maybe; - /** Distinct count of updatedBlockId across the matching connection */ - updatedBlockId?: Maybe; - /** Distinct count of value across the matching connection */ - value?: Maybe; -}; - -/** Represents an exemption for an individual for TransferCompliance rules */ -export type TransferComplianceExemption = Node & { - __typename?: 'TransferComplianceExemption'; - /** Reads a single `Asset` that is related to this `TransferComplianceExemption`. */ - asset?: Maybe; - assetId: Scalars['String']['output']; - claimType?: Maybe; - createdAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `TransferComplianceExemption`. */ - createdBlock?: Maybe; - createdBlockId: Scalars['String']['output']; - exemptedEntityId: Scalars['String']['output']; - id: Scalars['String']['output']; - /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ - nodeId: Scalars['ID']['output']; - opType: StatOpTypeEnum; - updatedAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `TransferComplianceExemption`. */ - updatedBlock?: Maybe; - updatedBlockId: Scalars['String']['output']; -}; - -export type TransferComplianceExemptionAggregates = { - __typename?: 'TransferComplianceExemptionAggregates'; - /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ - distinctCount?: Maybe; - keys?: Maybe>; -}; - -/** A filter to be used against aggregates of `TransferComplianceExemption` object types. */ -export type TransferComplianceExemptionAggregatesFilter = { - /** Distinct count aggregate over matching `TransferComplianceExemption` objects. */ - distinctCount?: InputMaybe; - /** A filter that must pass for the relevant `TransferComplianceExemption` object to be included within the aggregate. */ - filter?: InputMaybe; -}; - -export type TransferComplianceExemptionDistinctCountAggregateFilter = { - assetId?: InputMaybe; - claimType?: InputMaybe; - createdAt?: InputMaybe; - createdBlockId?: InputMaybe; - exemptedEntityId?: InputMaybe; - id?: InputMaybe; - opType?: InputMaybe; - updatedAt?: InputMaybe; - updatedBlockId?: InputMaybe; -}; - -export type TransferComplianceExemptionDistinctCountAggregates = { - __typename?: 'TransferComplianceExemptionDistinctCountAggregates'; - /** Distinct count of assetId across the matching connection */ - assetId?: Maybe; - /** Distinct count of claimType across the matching connection */ - claimType?: Maybe; - /** Distinct count of createdAt across the matching connection */ - createdAt?: Maybe; - /** Distinct count of createdBlockId across the matching connection */ - createdBlockId?: Maybe; - /** Distinct count of exemptedEntityId across the matching connection */ - exemptedEntityId?: Maybe; - /** Distinct count of id across the matching connection */ - id?: Maybe; - /** Distinct count of opType across the matching connection */ - opType?: Maybe; - /** Distinct count of updatedAt across the matching connection */ - updatedAt?: Maybe; - /** Distinct count of updatedBlockId across the matching connection */ - updatedBlockId?: Maybe; -}; - -/** A filter to be used against `TransferComplianceExemption` object types. All fields are combined with a logical ‘and.’ */ -export type TransferComplianceExemptionFilter = { - /** Checks for all expressions in this list. */ - and?: InputMaybe>; - /** Filter by the object’s `asset` relation. */ - asset?: InputMaybe; - /** Filter by the object’s `assetId` field. */ - assetId?: InputMaybe; - /** Filter by the object’s `claimType` field. */ - claimType?: InputMaybe; - /** Filter by the object’s `createdAt` field. */ - createdAt?: InputMaybe; - /** Filter by the object’s `createdBlock` relation. */ - createdBlock?: InputMaybe; - /** Filter by the object’s `createdBlockId` field. */ - createdBlockId?: InputMaybe; - /** Filter by the object’s `exemptedEntityId` field. */ - exemptedEntityId?: InputMaybe; - /** Filter by the object’s `id` field. */ - id?: InputMaybe; - /** Negates the expression. */ - not?: InputMaybe; - /** Filter by the object’s `opType` field. */ - opType?: InputMaybe; - /** Checks for any expressions in this list. */ - or?: InputMaybe>; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: InputMaybe; - /** Filter by the object’s `updatedBlock` relation. */ - updatedBlock?: InputMaybe; - /** Filter by the object’s `updatedBlockId` field. */ - updatedBlockId?: InputMaybe; -}; - -/** A connection to a list of `TransferComplianceExemption` values. */ -export type TransferComplianceExemptionsConnection = { - __typename?: 'TransferComplianceExemptionsConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `TransferComplianceExemption` and cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `TransferComplianceExemption` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `TransferComplianceExemption` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `TransferComplianceExemption` values. */ -export type TransferComplianceExemptionsConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `TransferComplianceExemption` edge in the connection. */ -export type TransferComplianceExemptionsEdge = { - __typename?: 'TransferComplianceExemptionsEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `TransferComplianceExemption` at the end of the edge. */ - node?: Maybe; -}; - -/** Grouping methods for `TransferComplianceExemption` for usage during aggregation. */ -export enum TransferComplianceExemptionsGroupBy { - AssetId = 'ASSET_ID', - ClaimType = 'CLAIM_TYPE', - CreatedAt = 'CREATED_AT', - CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', - CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', - CreatedBlockId = 'CREATED_BLOCK_ID', - ExemptedEntityId = 'EXEMPTED_ENTITY_ID', - OpType = 'OP_TYPE', - UpdatedAt = 'UPDATED_AT', - UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', - UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export type TransferComplianceExemptionsHavingAverageInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type TransferComplianceExemptionsHavingDistinctCountInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Conditions for `TransferComplianceExemption` aggregates. */ -export type TransferComplianceExemptionsHavingInput = { - AND?: InputMaybe>; - OR?: InputMaybe>; - average?: InputMaybe; - distinctCount?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddevPopulation?: InputMaybe; - stddevSample?: InputMaybe; - sum?: InputMaybe; - variancePopulation?: InputMaybe; - varianceSample?: InputMaybe; -}; - -export type TransferComplianceExemptionsHavingMaxInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type TransferComplianceExemptionsHavingMinInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type TransferComplianceExemptionsHavingStddevPopulationInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type TransferComplianceExemptionsHavingStddevSampleInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type TransferComplianceExemptionsHavingSumInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type TransferComplianceExemptionsHavingVariancePopulationInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type TransferComplianceExemptionsHavingVarianceSampleInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Methods to use when ordering `TransferComplianceExemption`. */ -export enum TransferComplianceExemptionsOrderBy { - AssetIdAsc = 'ASSET_ID_ASC', - AssetIdDesc = 'ASSET_ID_DESC', - ClaimTypeAsc = 'CLAIM_TYPE_ASC', - ClaimTypeDesc = 'CLAIM_TYPE_DESC', - CreatedAtAsc = 'CREATED_AT_ASC', - CreatedAtDesc = 'CREATED_AT_DESC', - CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', - CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', - ExemptedEntityIdAsc = 'EXEMPTED_ENTITY_ID_ASC', - ExemptedEntityIdDesc = 'EXEMPTED_ENTITY_ID_DESC', - IdAsc = 'ID_ASC', - IdDesc = 'ID_DESC', - Natural = 'NATURAL', - OpTypeAsc = 'OP_TYPE_ASC', - OpTypeDesc = 'OP_TYPE_DESC', - PrimaryKeyAsc = 'PRIMARY_KEY_ASC', - PrimaryKeyDesc = 'PRIMARY_KEY_DESC', - UpdatedAtAsc = 'UPDATED_AT_ASC', - UpdatedAtDesc = 'UPDATED_AT_DESC', - UpdatedBlockIdAsc = 'UPDATED_BLOCK_ID_ASC', - UpdatedBlockIdDesc = 'UPDATED_BLOCK_ID_DESC', -} - -/** A filter to be used against `TransferCompliance` object types. All fields are combined with a logical ‘and.’ */ -export type TransferComplianceFilter = { - /** Checks for all expressions in this list. */ - and?: InputMaybe>; - /** Filter by the object’s `asset` relation. */ - asset?: InputMaybe; - /** Filter by the object’s `assetId` field. */ - assetId?: InputMaybe; - /** Filter by the object’s `claimIssuer` relation. */ - claimIssuer?: InputMaybe; - /** A related `claimIssuer` exists. */ - claimIssuerExists?: InputMaybe; - /** Filter by the object’s `claimIssuerId` field. */ - claimIssuerId?: InputMaybe; - /** Filter by the object’s `claimType` field. */ - claimType?: InputMaybe; - /** Filter by the object’s `claimValue` field. */ - claimValue?: InputMaybe; - /** Filter by the object’s `createdAt` field. */ - createdAt?: InputMaybe; - /** Filter by the object’s `createdBlock` relation. */ - createdBlock?: InputMaybe; - /** Filter by the object’s `createdBlockId` field. */ - createdBlockId?: InputMaybe; - /** Filter by the object’s `id` field. */ - id?: InputMaybe; - /** Filter by the object’s `max` field. */ - max?: InputMaybe; - /** Filter by the object’s `min` field. */ - min?: InputMaybe; - /** Negates the expression. */ - not?: InputMaybe; - /** Checks for any expressions in this list. */ - or?: InputMaybe>; - /** Filter by the object’s `statType` relation. */ - statType?: InputMaybe; - /** Filter by the object’s `statTypeId` field. */ - statTypeId?: InputMaybe; - /** Filter by the object’s `type` field. */ - type?: InputMaybe; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: InputMaybe; - /** Filter by the object’s `updatedBlock` relation. */ - updatedBlock?: InputMaybe; - /** Filter by the object’s `updatedBlockId` field. */ - updatedBlockId?: InputMaybe; - /** Filter by the object’s `value` field. */ - value?: InputMaybe; -}; - -export type TransferComplianceMaxAggregateFilter = { - max?: InputMaybe; - min?: InputMaybe; - value?: InputMaybe; -}; - -export type TransferComplianceMaxAggregates = { - __typename?: 'TransferComplianceMaxAggregates'; - /** Maximum of max across the matching connection */ - max?: Maybe; - /** Maximum of min across the matching connection */ - min?: Maybe; - /** Maximum of value across the matching connection */ - value?: Maybe; -}; - -export type TransferComplianceMinAggregateFilter = { - max?: InputMaybe; - min?: InputMaybe; - value?: InputMaybe; -}; - -export type TransferComplianceMinAggregates = { - __typename?: 'TransferComplianceMinAggregates'; - /** Minimum of max across the matching connection */ - max?: Maybe; - /** Minimum of min across the matching connection */ - min?: Maybe; - /** Minimum of value across the matching connection */ - value?: Maybe; -}; - -export type TransferComplianceStddevPopulationAggregateFilter = { - max?: InputMaybe; - min?: InputMaybe; - value?: InputMaybe; -}; - -export type TransferComplianceStddevPopulationAggregates = { - __typename?: 'TransferComplianceStddevPopulationAggregates'; - /** Population standard deviation of max across the matching connection */ - max?: Maybe; - /** Population standard deviation of min across the matching connection */ - min?: Maybe; - /** Population standard deviation of value across the matching connection */ - value?: Maybe; -}; - -export type TransferComplianceStddevSampleAggregateFilter = { - max?: InputMaybe; - min?: InputMaybe; - value?: InputMaybe; -}; - -export type TransferComplianceStddevSampleAggregates = { - __typename?: 'TransferComplianceStddevSampleAggregates'; - /** Sample standard deviation of max across the matching connection */ - max?: Maybe; - /** Sample standard deviation of min across the matching connection */ - min?: Maybe; - /** Sample standard deviation of value across the matching connection */ - value?: Maybe; -}; - -export type TransferComplianceSumAggregateFilter = { - max?: InputMaybe; - min?: InputMaybe; - value?: InputMaybe; -}; - -export type TransferComplianceSumAggregates = { - __typename?: 'TransferComplianceSumAggregates'; - /** Sum of max across the matching connection */ - max: Scalars['BigFloat']['output']; - /** Sum of min across the matching connection */ - min: Scalars['BigFloat']['output']; - /** Sum of value across the matching connection */ - value: Scalars['BigFloat']['output']; -}; - -/** Represents all possible transfer restriction rules that can be enabled */ -export enum TransferComplianceTypeEnum { - ClaimCount = 'ClaimCount', - ClaimOwnership = 'ClaimOwnership', - MaxInvestorCount = 'MaxInvestorCount', - MaxInvestorOwnership = 'MaxInvestorOwnership', -} - -/** A filter to be used against TransferComplianceTypeEnum fields. All fields are combined with a logical ‘and.’ */ -export type TransferComplianceTypeEnumFilter = { - /** Not equal to the specified value, treating null like an ordinary value. */ - distinctFrom?: InputMaybe; - /** Equal to the specified value. */ - equalTo?: InputMaybe; - /** Greater than the specified value. */ - greaterThan?: InputMaybe; - /** Greater than or equal to the specified value. */ - greaterThanOrEqualTo?: InputMaybe; - /** Included in the specified list. */ - in?: InputMaybe>; - /** Is null (if `true` is specified) or is not null (if `false` is specified). */ - isNull?: InputMaybe; - /** Less than the specified value. */ - lessThan?: InputMaybe; - /** Less than or equal to the specified value. */ - lessThanOrEqualTo?: InputMaybe; - /** Equal to the specified value, treating null like an ordinary value. */ - notDistinctFrom?: InputMaybe; - /** Not equal to the specified value. */ - notEqualTo?: InputMaybe; - /** Not included in the specified list. */ - notIn?: InputMaybe>; -}; - -export type TransferComplianceVariancePopulationAggregateFilter = { - max?: InputMaybe; - min?: InputMaybe; - value?: InputMaybe; -}; - -export type TransferComplianceVariancePopulationAggregates = { - __typename?: 'TransferComplianceVariancePopulationAggregates'; - /** Population variance of max across the matching connection */ - max?: Maybe; - /** Population variance of min across the matching connection */ - min?: Maybe; - /** Population variance of value across the matching connection */ - value?: Maybe; -}; - -export type TransferComplianceVarianceSampleAggregateFilter = { - max?: InputMaybe; - min?: InputMaybe; - value?: InputMaybe; -}; - -export type TransferComplianceVarianceSampleAggregates = { - __typename?: 'TransferComplianceVarianceSampleAggregates'; - /** Sample variance of max across the matching connection */ - max?: Maybe; - /** Sample variance of min across the matching connection */ - min?: Maybe; - /** Sample variance of value across the matching connection */ - value?: Maybe; -}; - -/** A connection to a list of `TransferCompliance` values. */ -export type TransferCompliancesConnection = { - __typename?: 'TransferCompliancesConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `TransferCompliance` and cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `TransferCompliance` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `TransferCompliance` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `TransferCompliance` values. */ -export type TransferCompliancesConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `TransferCompliance` edge in the connection. */ -export type TransferCompliancesEdge = { - __typename?: 'TransferCompliancesEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `TransferCompliance` at the end of the edge. */ - node?: Maybe; -}; - -/** Grouping methods for `TransferCompliance` for usage during aggregation. */ -export enum TransferCompliancesGroupBy { - AssetId = 'ASSET_ID', - ClaimIssuerId = 'CLAIM_ISSUER_ID', - ClaimType = 'CLAIM_TYPE', - ClaimValue = 'CLAIM_VALUE', - CreatedAt = 'CREATED_AT', - CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', - CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', - CreatedBlockId = 'CREATED_BLOCK_ID', - Max = 'MAX', - Min = 'MIN', - StatTypeId = 'STAT_TYPE_ID', - Type = 'TYPE', - UpdatedAt = 'UPDATED_AT', - UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', - UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', - UpdatedBlockId = 'UPDATED_BLOCK_ID', - Value = 'VALUE', -} - -export type TransferCompliancesHavingAverageInput = { - createdAt?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - updatedAt?: InputMaybe; - value?: InputMaybe; -}; - -export type TransferCompliancesHavingDistinctCountInput = { - createdAt?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - updatedAt?: InputMaybe; - value?: InputMaybe; -}; - -/** Conditions for `TransferCompliance` aggregates. */ -export type TransferCompliancesHavingInput = { - AND?: InputMaybe>; - OR?: InputMaybe>; - average?: InputMaybe; - distinctCount?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddevPopulation?: InputMaybe; - stddevSample?: InputMaybe; - sum?: InputMaybe; - variancePopulation?: InputMaybe; - varianceSample?: InputMaybe; -}; - -export type TransferCompliancesHavingMaxInput = { - createdAt?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - updatedAt?: InputMaybe; - value?: InputMaybe; -}; - -export type TransferCompliancesHavingMinInput = { - createdAt?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - updatedAt?: InputMaybe; - value?: InputMaybe; -}; - -export type TransferCompliancesHavingStddevPopulationInput = { - createdAt?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - updatedAt?: InputMaybe; - value?: InputMaybe; -}; - -export type TransferCompliancesHavingStddevSampleInput = { - createdAt?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - updatedAt?: InputMaybe; - value?: InputMaybe; -}; - -export type TransferCompliancesHavingSumInput = { - createdAt?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - updatedAt?: InputMaybe; - value?: InputMaybe; -}; - -export type TransferCompliancesHavingVariancePopulationInput = { - createdAt?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - updatedAt?: InputMaybe; - value?: InputMaybe; -}; - -export type TransferCompliancesHavingVarianceSampleInput = { - createdAt?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - updatedAt?: InputMaybe; - value?: InputMaybe; -}; - -/** Methods to use when ordering `TransferCompliance`. */ -export enum TransferCompliancesOrderBy { - AssetIdAsc = 'ASSET_ID_ASC', - AssetIdDesc = 'ASSET_ID_DESC', - ClaimIssuerIdAsc = 'CLAIM_ISSUER_ID_ASC', - ClaimIssuerIdDesc = 'CLAIM_ISSUER_ID_DESC', - ClaimTypeAsc = 'CLAIM_TYPE_ASC', - ClaimTypeDesc = 'CLAIM_TYPE_DESC', - ClaimValueAsc = 'CLAIM_VALUE_ASC', - ClaimValueDesc = 'CLAIM_VALUE_DESC', - CreatedAtAsc = 'CREATED_AT_ASC', - CreatedAtDesc = 'CREATED_AT_DESC', - CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', - CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', - IdAsc = 'ID_ASC', - IdDesc = 'ID_DESC', - MaxAsc = 'MAX_ASC', - MaxDesc = 'MAX_DESC', - MinAsc = 'MIN_ASC', - MinDesc = 'MIN_DESC', - Natural = 'NATURAL', - PrimaryKeyAsc = 'PRIMARY_KEY_ASC', - PrimaryKeyDesc = 'PRIMARY_KEY_DESC', - StatTypeIdAsc = 'STAT_TYPE_ID_ASC', - StatTypeIdDesc = 'STAT_TYPE_ID_DESC', - TypeAsc = 'TYPE_ASC', - TypeDesc = 'TYPE_DESC', - UpdatedAtAsc = 'UPDATED_AT_ASC', - UpdatedAtDesc = 'UPDATED_AT_DESC', - UpdatedBlockIdAsc = 'UPDATED_BLOCK_ID_ASC', - UpdatedBlockIdDesc = 'UPDATED_BLOCK_ID_DESC', - ValueAsc = 'VALUE_ASC', - ValueDesc = 'VALUE_DESC', -} - -/** deprecated in favor of `TransferCompliance` */ -export type TransferManager = Node & { - __typename?: 'TransferManager'; - /** Reads a single `Asset` that is related to this `TransferManager`. */ - asset?: Maybe; - assetId: Scalars['String']['output']; - createdAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `TransferManager`. */ - createdBlock?: Maybe; - createdBlockId: Scalars['String']['output']; - exemptedEntities: Scalars['JSON']['output']; - id: Scalars['String']['output']; - /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ - nodeId: Scalars['ID']['output']; - type: TransferRestrictionTypeEnum; - updatedAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `TransferManager`. */ - updatedBlock?: Maybe; - updatedBlockId: Scalars['String']['output']; - value: Scalars['Int']['output']; -}; - -export type TransferManagerAggregates = { - __typename?: 'TransferManagerAggregates'; - /** Mean average aggregates across the matching connection (ignoring before/after/first/last/offset) */ - average?: Maybe; - /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ - distinctCount?: Maybe; - keys?: Maybe>; - /** Maximum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - max?: Maybe; - /** Minimum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - min?: Maybe; - /** Population standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevPopulation?: Maybe; - /** Sample standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevSample?: Maybe; - /** Sum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - sum?: Maybe; - /** Population variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - variancePopulation?: Maybe; - /** Sample variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - varianceSample?: Maybe; -}; - -/** A filter to be used against aggregates of `TransferManager` object types. */ -export type TransferManagerAggregatesFilter = { - /** Mean average aggregate over matching `TransferManager` objects. */ - average?: InputMaybe; - /** Distinct count aggregate over matching `TransferManager` objects. */ - distinctCount?: InputMaybe; - /** A filter that must pass for the relevant `TransferManager` object to be included within the aggregate. */ - filter?: InputMaybe; - /** Maximum aggregate over matching `TransferManager` objects. */ - max?: InputMaybe; - /** Minimum aggregate over matching `TransferManager` objects. */ - min?: InputMaybe; - /** Population standard deviation aggregate over matching `TransferManager` objects. */ - stddevPopulation?: InputMaybe; - /** Sample standard deviation aggregate over matching `TransferManager` objects. */ - stddevSample?: InputMaybe; - /** Sum aggregate over matching `TransferManager` objects. */ - sum?: InputMaybe; - /** Population variance aggregate over matching `TransferManager` objects. */ - variancePopulation?: InputMaybe; - /** Sample variance aggregate over matching `TransferManager` objects. */ - varianceSample?: InputMaybe; -}; - -export type TransferManagerAverageAggregateFilter = { - value?: InputMaybe; -}; - -export type TransferManagerAverageAggregates = { - __typename?: 'TransferManagerAverageAggregates'; - /** Mean average of value across the matching connection */ - value?: Maybe; -}; - -export type TransferManagerDistinctCountAggregateFilter = { - assetId?: InputMaybe; - createdAt?: InputMaybe; - createdBlockId?: InputMaybe; - exemptedEntities?: InputMaybe; - id?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; - updatedBlockId?: InputMaybe; - value?: InputMaybe; -}; - -export type TransferManagerDistinctCountAggregates = { - __typename?: 'TransferManagerDistinctCountAggregates'; - /** Distinct count of assetId across the matching connection */ - assetId?: Maybe; - /** Distinct count of createdAt across the matching connection */ - createdAt?: Maybe; - /** Distinct count of createdBlockId across the matching connection */ - createdBlockId?: Maybe; - /** Distinct count of exemptedEntities across the matching connection */ - exemptedEntities?: Maybe; - /** Distinct count of id across the matching connection */ - id?: Maybe; - /** Distinct count of type across the matching connection */ - type?: Maybe; - /** Distinct count of updatedAt across the matching connection */ - updatedAt?: Maybe; - /** Distinct count of updatedBlockId across the matching connection */ - updatedBlockId?: Maybe; - /** Distinct count of value across the matching connection */ - value?: Maybe; -}; - -/** A filter to be used against `TransferManager` object types. All fields are combined with a logical ‘and.’ */ -export type TransferManagerFilter = { - /** Checks for all expressions in this list. */ - and?: InputMaybe>; - /** Filter by the object’s `asset` relation. */ - asset?: InputMaybe; - /** Filter by the object’s `assetId` field. */ - assetId?: InputMaybe; - /** Filter by the object’s `createdAt` field. */ - createdAt?: InputMaybe; - /** Filter by the object’s `createdBlock` relation. */ - createdBlock?: InputMaybe; - /** Filter by the object’s `createdBlockId` field. */ - createdBlockId?: InputMaybe; - /** Filter by the object’s `exemptedEntities` field. */ - exemptedEntities?: InputMaybe; - /** Filter by the object’s `id` field. */ - id?: InputMaybe; - /** Negates the expression. */ - not?: InputMaybe; - /** Checks for any expressions in this list. */ - or?: InputMaybe>; - /** Filter by the object’s `type` field. */ - type?: InputMaybe; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: InputMaybe; - /** Filter by the object’s `updatedBlock` relation. */ - updatedBlock?: InputMaybe; - /** Filter by the object’s `updatedBlockId` field. */ - updatedBlockId?: InputMaybe; - /** Filter by the object’s `value` field. */ - value?: InputMaybe; -}; - -export type TransferManagerMaxAggregateFilter = { - value?: InputMaybe; -}; - -export type TransferManagerMaxAggregates = { - __typename?: 'TransferManagerMaxAggregates'; - /** Maximum of value across the matching connection */ - value?: Maybe; -}; - -export type TransferManagerMinAggregateFilter = { - value?: InputMaybe; -}; - -export type TransferManagerMinAggregates = { - __typename?: 'TransferManagerMinAggregates'; - /** Minimum of value across the matching connection */ - value?: Maybe; -}; - -export type TransferManagerStddevPopulationAggregateFilter = { - value?: InputMaybe; -}; - -export type TransferManagerStddevPopulationAggregates = { - __typename?: 'TransferManagerStddevPopulationAggregates'; - /** Population standard deviation of value across the matching connection */ - value?: Maybe; -}; - -export type TransferManagerStddevSampleAggregateFilter = { - value?: InputMaybe; -}; - -export type TransferManagerStddevSampleAggregates = { - __typename?: 'TransferManagerStddevSampleAggregates'; - /** Sample standard deviation of value across the matching connection */ - value?: Maybe; -}; - -export type TransferManagerSumAggregateFilter = { - value?: InputMaybe; -}; - -export type TransferManagerSumAggregates = { - __typename?: 'TransferManagerSumAggregates'; - /** Sum of value across the matching connection */ - value: Scalars['BigInt']['output']; -}; - -export type TransferManagerVariancePopulationAggregateFilter = { - value?: InputMaybe; -}; - -export type TransferManagerVariancePopulationAggregates = { - __typename?: 'TransferManagerVariancePopulationAggregates'; - /** Population variance of value across the matching connection */ - value?: Maybe; -}; - -export type TransferManagerVarianceSampleAggregateFilter = { - value?: InputMaybe; -}; - -export type TransferManagerVarianceSampleAggregates = { - __typename?: 'TransferManagerVarianceSampleAggregates'; - /** Sample variance of value across the matching connection */ - value?: Maybe; -}; - -/** A connection to a list of `TransferManager` values. */ -export type TransferManagersConnection = { - __typename?: 'TransferManagersConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `TransferManager` and cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `TransferManager` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `TransferManager` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `TransferManager` values. */ -export type TransferManagersConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `TransferManager` edge in the connection. */ -export type TransferManagersEdge = { - __typename?: 'TransferManagersEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `TransferManager` at the end of the edge. */ - node?: Maybe; -}; - -/** Grouping methods for `TransferManager` for usage during aggregation. */ -export enum TransferManagersGroupBy { - AssetId = 'ASSET_ID', - CreatedAt = 'CREATED_AT', - CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', - CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', - CreatedBlockId = 'CREATED_BLOCK_ID', - ExemptedEntities = 'EXEMPTED_ENTITIES', - Type = 'TYPE', - UpdatedAt = 'UPDATED_AT', - UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', - UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', - UpdatedBlockId = 'UPDATED_BLOCK_ID', - Value = 'VALUE', -} - -export type TransferManagersHavingAverageInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; - value?: InputMaybe; -}; - -export type TransferManagersHavingDistinctCountInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; - value?: InputMaybe; -}; - -/** Conditions for `TransferManager` aggregates. */ -export type TransferManagersHavingInput = { - AND?: InputMaybe>; - OR?: InputMaybe>; - average?: InputMaybe; - distinctCount?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddevPopulation?: InputMaybe; - stddevSample?: InputMaybe; - sum?: InputMaybe; - variancePopulation?: InputMaybe; - varianceSample?: InputMaybe; -}; - -export type TransferManagersHavingMaxInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; - value?: InputMaybe; -}; - -export type TransferManagersHavingMinInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; - value?: InputMaybe; -}; - -export type TransferManagersHavingStddevPopulationInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; - value?: InputMaybe; -}; - -export type TransferManagersHavingStddevSampleInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; - value?: InputMaybe; -}; - -export type TransferManagersHavingSumInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; - value?: InputMaybe; -}; - -export type TransferManagersHavingVariancePopulationInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; - value?: InputMaybe; -}; - -export type TransferManagersHavingVarianceSampleInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; - value?: InputMaybe; -}; - -/** Methods to use when ordering `TransferManager`. */ -export enum TransferManagersOrderBy { - AssetIdAsc = 'ASSET_ID_ASC', - AssetIdDesc = 'ASSET_ID_DESC', - CreatedAtAsc = 'CREATED_AT_ASC', - CreatedAtDesc = 'CREATED_AT_DESC', - CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', - CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', - ExemptedEntitiesAsc = 'EXEMPTED_ENTITIES_ASC', - ExemptedEntitiesDesc = 'EXEMPTED_ENTITIES_DESC', - IdAsc = 'ID_ASC', - IdDesc = 'ID_DESC', - Natural = 'NATURAL', - PrimaryKeyAsc = 'PRIMARY_KEY_ASC', - PrimaryKeyDesc = 'PRIMARY_KEY_DESC', - TypeAsc = 'TYPE_ASC', - TypeDesc = 'TYPE_DESC', - UpdatedAtAsc = 'UPDATED_AT_ASC', - UpdatedAtDesc = 'UPDATED_AT_DESC', - UpdatedBlockIdAsc = 'UPDATED_BLOCK_ID_ASC', - UpdatedBlockIdDesc = 'UPDATED_BLOCK_ID_DESC', - ValueAsc = 'VALUE_ASC', - ValueDesc = 'VALUE_DESC', -} - -/** Represents all possible transfer restriction types */ -export enum TransferRestrictionTypeEnum { - Count = 'Count', - Percentage = 'Percentage', -} - -/** A filter to be used against TransferRestrictionTypeEnum fields. All fields are combined with a logical ‘and.’ */ -export type TransferRestrictionTypeEnumFilter = { - /** Not equal to the specified value, treating null like an ordinary value. */ - distinctFrom?: InputMaybe; - /** Equal to the specified value. */ - equalTo?: InputMaybe; - /** Greater than the specified value. */ - greaterThan?: InputMaybe; - /** Greater than or equal to the specified value. */ - greaterThanOrEqualTo?: InputMaybe; - /** Included in the specified list. */ - in?: InputMaybe>; - /** Is null (if `true` is specified) or is not null (if `false` is specified). */ - isNull?: InputMaybe; - /** Less than the specified value. */ - lessThan?: InputMaybe; - /** Less than or equal to the specified value. */ - lessThanOrEqualTo?: InputMaybe; - /** Equal to the specified value, treating null like an ordinary value. */ - notDistinctFrom?: InputMaybe; - /** Not equal to the specified value. */ - notEqualTo?: InputMaybe; - /** Not included in the specified list. */ - notIn?: InputMaybe>; -}; - -/** - * An claim issuer that is trusted for an Asset. - * - * Assets relying on on chain compliance should be explicit on which issuers they trust - */ -export type TrustedClaimIssuer = Node & { - __typename?: 'TrustedClaimIssuer'; - /** Reads a single `Asset` that is related to this `TrustedClaimIssuer`. */ - asset?: Maybe; - assetId: Scalars['String']['output']; - createdAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `TrustedClaimIssuer`. */ - createdBlock?: Maybe; - createdBlockId: Scalars['String']['output']; - eventIdx: Scalars['Int']['output']; - id: Scalars['String']['output']; - issuer: Scalars['String']['output']; - /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ - nodeId: Scalars['ID']['output']; - updatedAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `TrustedClaimIssuer`. */ - updatedBlock?: Maybe; - updatedBlockId: Scalars['String']['output']; -}; - -export type TrustedClaimIssuerAggregates = { - __typename?: 'TrustedClaimIssuerAggregates'; - /** Mean average aggregates across the matching connection (ignoring before/after/first/last/offset) */ - average?: Maybe; - /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ - distinctCount?: Maybe; - keys?: Maybe>; - /** Maximum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - max?: Maybe; - /** Minimum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - min?: Maybe; - /** Population standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevPopulation?: Maybe; - /** Sample standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ - stddevSample?: Maybe; - /** Sum aggregates across the matching connection (ignoring before/after/first/last/offset) */ - sum?: Maybe; - /** Population variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - variancePopulation?: Maybe; - /** Sample variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ - varianceSample?: Maybe; -}; - -/** A filter to be used against aggregates of `TrustedClaimIssuer` object types. */ -export type TrustedClaimIssuerAggregatesFilter = { - /** Mean average aggregate over matching `TrustedClaimIssuer` objects. */ - average?: InputMaybe; - /** Distinct count aggregate over matching `TrustedClaimIssuer` objects. */ - distinctCount?: InputMaybe; - /** A filter that must pass for the relevant `TrustedClaimIssuer` object to be included within the aggregate. */ - filter?: InputMaybe; - /** Maximum aggregate over matching `TrustedClaimIssuer` objects. */ - max?: InputMaybe; - /** Minimum aggregate over matching `TrustedClaimIssuer` objects. */ - min?: InputMaybe; - /** Population standard deviation aggregate over matching `TrustedClaimIssuer` objects. */ - stddevPopulation?: InputMaybe; - /** Sample standard deviation aggregate over matching `TrustedClaimIssuer` objects. */ - stddevSample?: InputMaybe; - /** Sum aggregate over matching `TrustedClaimIssuer` objects. */ - sum?: InputMaybe; - /** Population variance aggregate over matching `TrustedClaimIssuer` objects. */ - variancePopulation?: InputMaybe; - /** Sample variance aggregate over matching `TrustedClaimIssuer` objects. */ - varianceSample?: InputMaybe; -}; - -export type TrustedClaimIssuerAverageAggregateFilter = { - eventIdx?: InputMaybe; -}; - -export type TrustedClaimIssuerAverageAggregates = { - __typename?: 'TrustedClaimIssuerAverageAggregates'; - /** Mean average of eventIdx across the matching connection */ - eventIdx?: Maybe; -}; - -export type TrustedClaimIssuerDistinctCountAggregateFilter = { - assetId?: InputMaybe; - createdAt?: InputMaybe; - createdBlockId?: InputMaybe; - eventIdx?: InputMaybe; - id?: InputMaybe; - issuer?: InputMaybe; - updatedAt?: InputMaybe; - updatedBlockId?: InputMaybe; -}; - -export type TrustedClaimIssuerDistinctCountAggregates = { - __typename?: 'TrustedClaimIssuerDistinctCountAggregates'; - /** Distinct count of assetId across the matching connection */ - assetId?: Maybe; - /** Distinct count of createdAt across the matching connection */ - createdAt?: Maybe; - /** Distinct count of createdBlockId across the matching connection */ - createdBlockId?: Maybe; - /** Distinct count of eventIdx across the matching connection */ - eventIdx?: Maybe; - /** Distinct count of id across the matching connection */ - id?: Maybe; - /** Distinct count of issuer across the matching connection */ - issuer?: Maybe; - /** Distinct count of updatedAt across the matching connection */ - updatedAt?: Maybe; - /** Distinct count of updatedBlockId across the matching connection */ - updatedBlockId?: Maybe; -}; - -/** A filter to be used against `TrustedClaimIssuer` object types. All fields are combined with a logical ‘and.’ */ -export type TrustedClaimIssuerFilter = { - /** Checks for all expressions in this list. */ - and?: InputMaybe>; - /** Filter by the object’s `asset` relation. */ - asset?: InputMaybe; - /** Filter by the object’s `assetId` field. */ - assetId?: InputMaybe; - /** Filter by the object’s `createdAt` field. */ - createdAt?: InputMaybe; - /** Filter by the object’s `createdBlock` relation. */ - createdBlock?: InputMaybe; - /** Filter by the object’s `createdBlockId` field. */ - createdBlockId?: InputMaybe; - /** Filter by the object’s `eventIdx` field. */ - eventIdx?: InputMaybe; - /** Filter by the object’s `id` field. */ - id?: InputMaybe; - /** Filter by the object’s `issuer` field. */ - issuer?: InputMaybe; - /** Negates the expression. */ - not?: InputMaybe; - /** Checks for any expressions in this list. */ - or?: InputMaybe>; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: InputMaybe; - /** Filter by the object’s `updatedBlock` relation. */ - updatedBlock?: InputMaybe; - /** Filter by the object’s `updatedBlockId` field. */ - updatedBlockId?: InputMaybe; -}; - -export type TrustedClaimIssuerMaxAggregateFilter = { - eventIdx?: InputMaybe; -}; - -export type TrustedClaimIssuerMaxAggregates = { - __typename?: 'TrustedClaimIssuerMaxAggregates'; - /** Maximum of eventIdx across the matching connection */ - eventIdx?: Maybe; -}; - -export type TrustedClaimIssuerMinAggregateFilter = { - eventIdx?: InputMaybe; -}; - -export type TrustedClaimIssuerMinAggregates = { - __typename?: 'TrustedClaimIssuerMinAggregates'; - /** Minimum of eventIdx across the matching connection */ - eventIdx?: Maybe; -}; - -export type TrustedClaimIssuerStddevPopulationAggregateFilter = { - eventIdx?: InputMaybe; -}; - -export type TrustedClaimIssuerStddevPopulationAggregates = { - __typename?: 'TrustedClaimIssuerStddevPopulationAggregates'; - /** Population standard deviation of eventIdx across the matching connection */ - eventIdx?: Maybe; -}; - -export type TrustedClaimIssuerStddevSampleAggregateFilter = { - eventIdx?: InputMaybe; -}; - -export type TrustedClaimIssuerStddevSampleAggregates = { - __typename?: 'TrustedClaimIssuerStddevSampleAggregates'; - /** Sample standard deviation of eventIdx across the matching connection */ - eventIdx?: Maybe; -}; - -export type TrustedClaimIssuerSumAggregateFilter = { - eventIdx?: InputMaybe; -}; - -export type TrustedClaimIssuerSumAggregates = { - __typename?: 'TrustedClaimIssuerSumAggregates'; - /** Sum of eventIdx across the matching connection */ - eventIdx: Scalars['BigInt']['output']; -}; - -export type TrustedClaimIssuerVariancePopulationAggregateFilter = { - eventIdx?: InputMaybe; -}; - -export type TrustedClaimIssuerVariancePopulationAggregates = { - __typename?: 'TrustedClaimIssuerVariancePopulationAggregates'; - /** Population variance of eventIdx across the matching connection */ - eventIdx?: Maybe; -}; - -export type TrustedClaimIssuerVarianceSampleAggregateFilter = { - eventIdx?: InputMaybe; -}; - -export type TrustedClaimIssuerVarianceSampleAggregates = { - __typename?: 'TrustedClaimIssuerVarianceSampleAggregates'; - /** Sample variance of eventIdx across the matching connection */ - eventIdx?: Maybe; -}; - -/** A connection to a list of `TrustedClaimIssuer` values. */ -export type TrustedClaimIssuersConnection = { - __typename?: 'TrustedClaimIssuersConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `TrustedClaimIssuer` and cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `TrustedClaimIssuer` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `TrustedClaimIssuer` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `TrustedClaimIssuer` values. */ -export type TrustedClaimIssuersConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `TrustedClaimIssuer` edge in the connection. */ -export type TrustedClaimIssuersEdge = { - __typename?: 'TrustedClaimIssuersEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `TrustedClaimIssuer` at the end of the edge. */ - node?: Maybe; -}; - -/** Grouping methods for `TrustedClaimIssuer` for usage during aggregation. */ -export enum TrustedClaimIssuersGroupBy { - AssetId = 'ASSET_ID', - CreatedAt = 'CREATED_AT', - CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', - CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', - CreatedBlockId = 'CREATED_BLOCK_ID', - EventIdx = 'EVENT_IDX', - Issuer = 'ISSUER', - UpdatedAt = 'UPDATED_AT', - UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', - UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export type TrustedClaimIssuersHavingAverageInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type TrustedClaimIssuersHavingDistinctCountInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Conditions for `TrustedClaimIssuer` aggregates. */ -export type TrustedClaimIssuersHavingInput = { - AND?: InputMaybe>; - OR?: InputMaybe>; - average?: InputMaybe; - distinctCount?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddevPopulation?: InputMaybe; - stddevSample?: InputMaybe; - sum?: InputMaybe; - variancePopulation?: InputMaybe; - varianceSample?: InputMaybe; -}; - -export type TrustedClaimIssuersHavingMaxInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type TrustedClaimIssuersHavingMinInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type TrustedClaimIssuersHavingStddevPopulationInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type TrustedClaimIssuersHavingStddevSampleInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type TrustedClaimIssuersHavingSumInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type TrustedClaimIssuersHavingVariancePopulationInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type TrustedClaimIssuersHavingVarianceSampleInput = { - createdAt?: InputMaybe; - eventIdx?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Methods to use when ordering `TrustedClaimIssuer`. */ -export enum TrustedClaimIssuersOrderBy { - AssetIdAsc = 'ASSET_ID_ASC', - AssetIdDesc = 'ASSET_ID_DESC', - CreatedAtAsc = 'CREATED_AT_ASC', - CreatedAtDesc = 'CREATED_AT_DESC', - CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', - CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', - EventIdxAsc = 'EVENT_IDX_ASC', - EventIdxDesc = 'EVENT_IDX_DESC', - IdAsc = 'ID_ASC', - IdDesc = 'ID_DESC', - IssuerAsc = 'ISSUER_ASC', - IssuerDesc = 'ISSUER_DESC', - Natural = 'NATURAL', - PrimaryKeyAsc = 'PRIMARY_KEY_ASC', - PrimaryKeyDesc = 'PRIMARY_KEY_DESC', - UpdatedAtAsc = 'UPDATED_AT_ASC', - UpdatedAtDesc = 'UPDATED_AT_DESC', - UpdatedBlockIdAsc = 'UPDATED_BLOCK_ID_ASC', - UpdatedBlockIdDesc = 'UPDATED_BLOCK_ID_DESC', -} - -/** - * Represents a place to trade assets. This allows for additional mediation and control over the exchange of Assets - * - * e.g. An asset may specify it can only be exchanged at a particular Venue, allowing the Venue owner to explicitly approve transactions - */ -export type Venue = Node & { - __typename?: 'Venue'; - /** Reads and enables pagination through a set of `Asset`. */ - assetsByStoVenueIdAndOfferingAssetId: VenueAssetsByStoVenueIdAndOfferingAssetIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByInstructionVenueIdAndCreatedBlockId: VenueBlocksByInstructionVenueIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByInstructionVenueIdAndUpdatedBlockId: VenueBlocksByInstructionVenueIdAndUpdatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByStoVenueIdAndCreatedBlockId: VenueBlocksByStoVenueIdAndCreatedBlockIdManyToManyConnection; - /** Reads and enables pagination through a set of `Block`. */ - blocksByStoVenueIdAndUpdatedBlockId: VenueBlocksByStoVenueIdAndUpdatedBlockIdManyToManyConnection; - createdAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `Venue`. */ - createdBlock?: Maybe; - createdBlockId: Scalars['String']['output']; - details?: Maybe; - id: Scalars['String']['output']; - /** Reads and enables pagination through a set of `Identity`. */ - identitiesByStoVenueIdAndCreatorId: VenueIdentitiesByStoVenueIdAndCreatorIdManyToManyConnection; - /** Reads and enables pagination through a set of `Instruction`. */ - instructions: InstructionsConnection; - /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ - nodeId: Scalars['ID']['output']; - /** Reads a single `Identity` that is related to this `Venue`. */ - owner?: Maybe; - ownerId: Scalars['String']['output']; - /** Reads and enables pagination through a set of `Portfolio`. */ - portfoliosByStoVenueIdAndOfferingPortfolioId: VenuePortfoliosByStoVenueIdAndOfferingPortfolioIdManyToManyConnection; - /** Reads and enables pagination through a set of `Portfolio`. */ - portfoliosByStoVenueIdAndRaisingPortfolioId: VenuePortfoliosByStoVenueIdAndRaisingPortfolioIdManyToManyConnection; - /** Reads and enables pagination through a set of `Sto`. */ - stos: StosConnection; - type: Scalars['String']['output']; - updatedAt: Scalars['Datetime']['output']; - /** Reads a single `Block` that is related to this `Venue`. */ - updatedBlock?: Maybe; - updatedBlockId: Scalars['String']['output']; -}; - -/** - * Represents a place to trade assets. This allows for additional mediation and control over the exchange of Assets - * - * e.g. An asset may specify it can only be exchanged at a particular Venue, allowing the Venue owner to explicitly approve transactions - */ -export type VenueAssetsByStoVenueIdAndOfferingAssetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a place to trade assets. This allows for additional mediation and control over the exchange of Assets - * - * e.g. An asset may specify it can only be exchanged at a particular Venue, allowing the Venue owner to explicitly approve transactions - */ -export type VenueBlocksByInstructionVenueIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a place to trade assets. This allows for additional mediation and control over the exchange of Assets - * - * e.g. An asset may specify it can only be exchanged at a particular Venue, allowing the Venue owner to explicitly approve transactions - */ -export type VenueBlocksByInstructionVenueIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a place to trade assets. This allows for additional mediation and control over the exchange of Assets - * - * e.g. An asset may specify it can only be exchanged at a particular Venue, allowing the Venue owner to explicitly approve transactions - */ -export type VenueBlocksByStoVenueIdAndCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a place to trade assets. This allows for additional mediation and control over the exchange of Assets - * - * e.g. An asset may specify it can only be exchanged at a particular Venue, allowing the Venue owner to explicitly approve transactions - */ -export type VenueBlocksByStoVenueIdAndUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a place to trade assets. This allows for additional mediation and control over the exchange of Assets - * - * e.g. An asset may specify it can only be exchanged at a particular Venue, allowing the Venue owner to explicitly approve transactions - */ -export type VenueIdentitiesByStoVenueIdAndCreatorIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a place to trade assets. This allows for additional mediation and control over the exchange of Assets - * - * e.g. An asset may specify it can only be exchanged at a particular Venue, allowing the Venue owner to explicitly approve transactions - */ -export type VenueInstructionsArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a place to trade assets. This allows for additional mediation and control over the exchange of Assets - * - * e.g. An asset may specify it can only be exchanged at a particular Venue, allowing the Venue owner to explicitly approve transactions - */ -export type VenuePortfoliosByStoVenueIdAndOfferingPortfolioIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a place to trade assets. This allows for additional mediation and control over the exchange of Assets - * - * e.g. An asset may specify it can only be exchanged at a particular Venue, allowing the Venue owner to explicitly approve transactions - */ -export type VenuePortfoliosByStoVenueIdAndRaisingPortfolioIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** - * Represents a place to trade assets. This allows for additional mediation and control over the exchange of Assets - * - * e.g. An asset may specify it can only be exchanged at a particular Venue, allowing the Venue owner to explicitly approve transactions - */ -export type VenueStosArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -export type VenueAggregates = { - __typename?: 'VenueAggregates'; - /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ - distinctCount?: Maybe; - keys?: Maybe>; -}; - -/** A filter to be used against aggregates of `Venue` object types. */ -export type VenueAggregatesFilter = { - /** Distinct count aggregate over matching `Venue` objects. */ - distinctCount?: InputMaybe; - /** A filter that must pass for the relevant `Venue` object to be included within the aggregate. */ - filter?: InputMaybe; -}; - -/** A connection to a list of `Asset` values, with data from `Sto`. */ -export type VenueAssetsByStoVenueIdAndOfferingAssetIdManyToManyConnection = { - __typename?: 'VenueAssetsByStoVenueIdAndOfferingAssetIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Asset`, info from the `Sto`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Asset` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Asset` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Asset` values, with data from `Sto`. */ -export type VenueAssetsByStoVenueIdAndOfferingAssetIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `Asset` edge in the connection, with data from `Sto`. */ -export type VenueAssetsByStoVenueIdAndOfferingAssetIdManyToManyEdge = { - __typename?: 'VenueAssetsByStoVenueIdAndOfferingAssetIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Asset` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Sto`. */ - stosByOfferingAssetId: StosConnection; -}; - -/** A `Asset` edge in the connection, with data from `Sto`. */ -export type VenueAssetsByStoVenueIdAndOfferingAssetIdManyToManyEdgeStosByOfferingAssetIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Block` values, with data from `Instruction`. */ -export type VenueBlocksByInstructionVenueIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'VenueBlocksByInstructionVenueIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Instruction`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Instruction`. */ -export type VenueBlocksByInstructionVenueIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Instruction`. */ -export type VenueBlocksByInstructionVenueIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'VenueBlocksByInstructionVenueIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `Instruction`. */ - instructionsByCreatedBlockId: InstructionsConnection; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `Instruction`. */ -export type VenueBlocksByInstructionVenueIdAndCreatedBlockIdManyToManyEdgeInstructionsByCreatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Instruction`. */ -export type VenueBlocksByInstructionVenueIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'VenueBlocksByInstructionVenueIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Instruction`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Instruction`. */ -export type VenueBlocksByInstructionVenueIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Block` edge in the connection, with data from `Instruction`. */ -export type VenueBlocksByInstructionVenueIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'VenueBlocksByInstructionVenueIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** Reads and enables pagination through a set of `Instruction`. */ - instructionsByUpdatedBlockId: InstructionsConnection; - /** The `Block` at the end of the edge. */ - node?: Maybe; -}; - -/** A `Block` edge in the connection, with data from `Instruction`. */ -export type VenueBlocksByInstructionVenueIdAndUpdatedBlockIdManyToManyEdgeInstructionsByUpdatedBlockIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Block` values, with data from `Sto`. */ -export type VenueBlocksByStoVenueIdAndCreatedBlockIdManyToManyConnection = { - __typename?: 'VenueBlocksByStoVenueIdAndCreatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Sto`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Sto`. */ -export type VenueBlocksByStoVenueIdAndCreatedBlockIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `Block` edge in the connection, with data from `Sto`. */ -export type VenueBlocksByStoVenueIdAndCreatedBlockIdManyToManyEdge = { - __typename?: 'VenueBlocksByStoVenueIdAndCreatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Sto`. */ - stosByCreatedBlockId: StosConnection; -}; - -/** A `Block` edge in the connection, with data from `Sto`. */ -export type VenueBlocksByStoVenueIdAndCreatedBlockIdManyToManyEdgeStosByCreatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Block` values, with data from `Sto`. */ -export type VenueBlocksByStoVenueIdAndUpdatedBlockIdManyToManyConnection = { - __typename?: 'VenueBlocksByStoVenueIdAndUpdatedBlockIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Block`, info from the `Sto`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Block` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Block` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Block` values, with data from `Sto`. */ -export type VenueBlocksByStoVenueIdAndUpdatedBlockIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `Block` edge in the connection, with data from `Sto`. */ -export type VenueBlocksByStoVenueIdAndUpdatedBlockIdManyToManyEdge = { - __typename?: 'VenueBlocksByStoVenueIdAndUpdatedBlockIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Block` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Sto`. */ - stosByUpdatedBlockId: StosConnection; -}; - -/** A `Block` edge in the connection, with data from `Sto`. */ -export type VenueBlocksByStoVenueIdAndUpdatedBlockIdManyToManyEdgeStosByUpdatedBlockIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -export type VenueDistinctCountAggregateFilter = { - createdAt?: InputMaybe; - createdBlockId?: InputMaybe; - details?: InputMaybe; - id?: InputMaybe; - ownerId?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; - updatedBlockId?: InputMaybe; -}; - -export type VenueDistinctCountAggregates = { - __typename?: 'VenueDistinctCountAggregates'; - /** Distinct count of createdAt across the matching connection */ - createdAt?: Maybe; - /** Distinct count of createdBlockId across the matching connection */ - createdBlockId?: Maybe; - /** Distinct count of details across the matching connection */ - details?: Maybe; - /** Distinct count of id across the matching connection */ - id?: Maybe; - /** Distinct count of ownerId across the matching connection */ - ownerId?: Maybe; - /** Distinct count of type across the matching connection */ - type?: Maybe; - /** Distinct count of updatedAt across the matching connection */ - updatedAt?: Maybe; - /** Distinct count of updatedBlockId across the matching connection */ - updatedBlockId?: Maybe; -}; - -/** A filter to be used against `Venue` object types. All fields are combined with a logical ‘and.’ */ -export type VenueFilter = { - /** Checks for all expressions in this list. */ - and?: InputMaybe>; - /** Filter by the object’s `createdAt` field. */ - createdAt?: InputMaybe; - /** Filter by the object’s `createdBlock` relation. */ - createdBlock?: InputMaybe; - /** Filter by the object’s `createdBlockId` field. */ - createdBlockId?: InputMaybe; - /** Filter by the object’s `details` field. */ - details?: InputMaybe; - /** Filter by the object’s `id` field. */ - id?: InputMaybe; - /** Filter by the object’s `instructions` relation. */ - instructions?: InputMaybe; - /** Some related `instructions` exist. */ - instructionsExist?: InputMaybe; - /** Negates the expression. */ - not?: InputMaybe; - /** Checks for any expressions in this list. */ - or?: InputMaybe>; - /** Filter by the object’s `owner` relation. */ - owner?: InputMaybe; - /** Filter by the object’s `ownerId` field. */ - ownerId?: InputMaybe; - /** Filter by the object’s `stos` relation. */ - stos?: InputMaybe; - /** Some related `stos` exist. */ - stosExist?: InputMaybe; - /** Filter by the object’s `type` field. */ - type?: InputMaybe; - /** Filter by the object’s `updatedAt` field. */ - updatedAt?: InputMaybe; - /** Filter by the object’s `updatedBlock` relation. */ - updatedBlock?: InputMaybe; - /** Filter by the object’s `updatedBlockId` field. */ - updatedBlockId?: InputMaybe; -}; - -/** A connection to a list of `Identity` values, with data from `Sto`. */ -export type VenueIdentitiesByStoVenueIdAndCreatorIdManyToManyConnection = { - __typename?: 'VenueIdentitiesByStoVenueIdAndCreatorIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Identity`, info from the `Sto`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Identity` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Identity` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Identity` values, with data from `Sto`. */ -export type VenueIdentitiesByStoVenueIdAndCreatorIdManyToManyConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `Identity` edge in the connection, with data from `Sto`. */ -export type VenueIdentitiesByStoVenueIdAndCreatorIdManyToManyEdge = { - __typename?: 'VenueIdentitiesByStoVenueIdAndCreatorIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Identity` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Sto`. */ - stosByCreatorId: StosConnection; -}; - -/** A `Identity` edge in the connection, with data from `Sto`. */ -export type VenueIdentitiesByStoVenueIdAndCreatorIdManyToManyEdgeStosByCreatorIdArgs = { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; -}; - -/** A connection to a list of `Portfolio` values, with data from `Sto`. */ -export type VenuePortfoliosByStoVenueIdAndOfferingPortfolioIdManyToManyConnection = { - __typename?: 'VenuePortfoliosByStoVenueIdAndOfferingPortfolioIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Portfolio`, info from the `Sto`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Portfolio` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Portfolio` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Portfolio` values, with data from `Sto`. */ -export type VenuePortfoliosByStoVenueIdAndOfferingPortfolioIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Portfolio` edge in the connection, with data from `Sto`. */ -export type VenuePortfoliosByStoVenueIdAndOfferingPortfolioIdManyToManyEdge = { - __typename?: 'VenuePortfoliosByStoVenueIdAndOfferingPortfolioIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Portfolio` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Sto`. */ - stosByOfferingPortfolioId: StosConnection; -}; - -/** A `Portfolio` edge in the connection, with data from `Sto`. */ -export type VenuePortfoliosByStoVenueIdAndOfferingPortfolioIdManyToManyEdgeStosByOfferingPortfolioIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A connection to a list of `Portfolio` values, with data from `Sto`. */ -export type VenuePortfoliosByStoVenueIdAndRaisingPortfolioIdManyToManyConnection = { - __typename?: 'VenuePortfoliosByStoVenueIdAndRaisingPortfolioIdManyToManyConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Portfolio`, info from the `Sto`, and the cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Portfolio` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Portfolio` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Portfolio` values, with data from `Sto`. */ -export type VenuePortfoliosByStoVenueIdAndRaisingPortfolioIdManyToManyConnectionGroupedAggregatesArgs = - { - groupBy: Array; - having?: InputMaybe; - }; - -/** A `Portfolio` edge in the connection, with data from `Sto`. */ -export type VenuePortfoliosByStoVenueIdAndRaisingPortfolioIdManyToManyEdge = { - __typename?: 'VenuePortfoliosByStoVenueIdAndRaisingPortfolioIdManyToManyEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Portfolio` at the end of the edge. */ - node?: Maybe; - /** Reads and enables pagination through a set of `Sto`. */ - stosByRaisingPortfolioId: StosConnection; -}; - -/** A `Portfolio` edge in the connection, with data from `Sto`. */ -export type VenuePortfoliosByStoVenueIdAndRaisingPortfolioIdManyToManyEdgeStosByRaisingPortfolioIdArgs = - { - after?: InputMaybe; - before?: InputMaybe; - distinct?: InputMaybe>>; - filter?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe>; - }; - -/** A filter to be used against many `Instruction` object types. All fields are combined with a logical ‘and.’ */ -export type VenueToManyInstructionFilter = { - /** Aggregates across related `Instruction` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `Instruction` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `Instruction` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `Instruction` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A filter to be used against many `Sto` object types. All fields are combined with a logical ‘and.’ */ -export type VenueToManyStoFilter = { - /** Aggregates across related `Sto` match the filter criteria. */ - aggregates?: InputMaybe; - /** Every related `Sto` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - every?: InputMaybe; - /** No related `Sto` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - none?: InputMaybe; - /** Some related `Sto` matches the filter criteria. All fields are combined with a logical ‘and.’ */ - some?: InputMaybe; -}; - -/** A connection to a list of `Venue` values. */ -export type VenuesConnection = { - __typename?: 'VenuesConnection'; - /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ - aggregates?: Maybe; - /** A list of edges which contains the `Venue` and cursor to aid in pagination. */ - edges: Array; - /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ - groupedAggregates?: Maybe>; - /** A list of `Venue` objects. */ - nodes: Array>; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The count of *all* `Venue` you could get from the connection. */ - totalCount: Scalars['Int']['output']; -}; - -/** A connection to a list of `Venue` values. */ -export type VenuesConnectionGroupedAggregatesArgs = { - groupBy: Array; - having?: InputMaybe; -}; - -/** A `Venue` edge in the connection. */ -export type VenuesEdge = { - __typename?: 'VenuesEdge'; - /** A cursor for use in pagination. */ - cursor?: Maybe; - /** The `Venue` at the end of the edge. */ - node?: Maybe; -}; - -/** Grouping methods for `Venue` for usage during aggregation. */ -export enum VenuesGroupBy { - CreatedAt = 'CREATED_AT', - CreatedAtTruncatedToDay = 'CREATED_AT_TRUNCATED_TO_DAY', - CreatedAtTruncatedToHour = 'CREATED_AT_TRUNCATED_TO_HOUR', - CreatedBlockId = 'CREATED_BLOCK_ID', - Details = 'DETAILS', - OwnerId = 'OWNER_ID', - Type = 'TYPE', - UpdatedAt = 'UPDATED_AT', - UpdatedAtTruncatedToDay = 'UPDATED_AT_TRUNCATED_TO_DAY', - UpdatedAtTruncatedToHour = 'UPDATED_AT_TRUNCATED_TO_HOUR', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export type VenuesHavingAverageInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type VenuesHavingDistinctCountInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Conditions for `Venue` aggregates. */ -export type VenuesHavingInput = { - AND?: InputMaybe>; - OR?: InputMaybe>; - average?: InputMaybe; - distinctCount?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddevPopulation?: InputMaybe; - stddevSample?: InputMaybe; - sum?: InputMaybe; - variancePopulation?: InputMaybe; - varianceSample?: InputMaybe; -}; - -export type VenuesHavingMaxInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type VenuesHavingMinInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type VenuesHavingStddevPopulationInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type VenuesHavingStddevSampleInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type VenuesHavingSumInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type VenuesHavingVariancePopulationInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type VenuesHavingVarianceSampleInput = { - createdAt?: InputMaybe; - updatedAt?: InputMaybe; -}; - -/** Methods to use when ordering `Venue`. */ -export enum VenuesOrderBy { - CreatedAtAsc = 'CREATED_AT_ASC', - CreatedAtDesc = 'CREATED_AT_DESC', - CreatedBlockIdAsc = 'CREATED_BLOCK_ID_ASC', - CreatedBlockIdDesc = 'CREATED_BLOCK_ID_DESC', - DetailsAsc = 'DETAILS_ASC', - DetailsDesc = 'DETAILS_DESC', - IdAsc = 'ID_ASC', - IdDesc = 'ID_DESC', - InstructionsAverageCreatedAtAsc = 'INSTRUCTIONS_AVERAGE_CREATED_AT_ASC', - InstructionsAverageCreatedAtDesc = 'INSTRUCTIONS_AVERAGE_CREATED_AT_DESC', - InstructionsAverageCreatedBlockIdAsc = 'INSTRUCTIONS_AVERAGE_CREATED_BLOCK_ID_ASC', - InstructionsAverageCreatedBlockIdDesc = 'INSTRUCTIONS_AVERAGE_CREATED_BLOCK_ID_DESC', - InstructionsAverageEndBlockAsc = 'INSTRUCTIONS_AVERAGE_END_BLOCK_ASC', - InstructionsAverageEndBlockDesc = 'INSTRUCTIONS_AVERAGE_END_BLOCK_DESC', - InstructionsAverageEventIdxAsc = 'INSTRUCTIONS_AVERAGE_EVENT_IDX_ASC', - InstructionsAverageEventIdxDesc = 'INSTRUCTIONS_AVERAGE_EVENT_IDX_DESC', - InstructionsAverageEventIdAsc = 'INSTRUCTIONS_AVERAGE_EVENT_ID_ASC', - InstructionsAverageEventIdDesc = 'INSTRUCTIONS_AVERAGE_EVENT_ID_DESC', - InstructionsAverageIdAsc = 'INSTRUCTIONS_AVERAGE_ID_ASC', - InstructionsAverageIdDesc = 'INSTRUCTIONS_AVERAGE_ID_DESC', - InstructionsAverageMemoAsc = 'INSTRUCTIONS_AVERAGE_MEMO_ASC', - InstructionsAverageMemoDesc = 'INSTRUCTIONS_AVERAGE_MEMO_DESC', - InstructionsAverageSettlementTypeAsc = 'INSTRUCTIONS_AVERAGE_SETTLEMENT_TYPE_ASC', - InstructionsAverageSettlementTypeDesc = 'INSTRUCTIONS_AVERAGE_SETTLEMENT_TYPE_DESC', - InstructionsAverageStatusAsc = 'INSTRUCTIONS_AVERAGE_STATUS_ASC', - InstructionsAverageStatusDesc = 'INSTRUCTIONS_AVERAGE_STATUS_DESC', - InstructionsAverageTradeDateAsc = 'INSTRUCTIONS_AVERAGE_TRADE_DATE_ASC', - InstructionsAverageTradeDateDesc = 'INSTRUCTIONS_AVERAGE_TRADE_DATE_DESC', - InstructionsAverageUpdatedAtAsc = 'INSTRUCTIONS_AVERAGE_UPDATED_AT_ASC', - InstructionsAverageUpdatedAtDesc = 'INSTRUCTIONS_AVERAGE_UPDATED_AT_DESC', - InstructionsAverageUpdatedBlockIdAsc = 'INSTRUCTIONS_AVERAGE_UPDATED_BLOCK_ID_ASC', - InstructionsAverageUpdatedBlockIdDesc = 'INSTRUCTIONS_AVERAGE_UPDATED_BLOCK_ID_DESC', - InstructionsAverageValueDateAsc = 'INSTRUCTIONS_AVERAGE_VALUE_DATE_ASC', - InstructionsAverageValueDateDesc = 'INSTRUCTIONS_AVERAGE_VALUE_DATE_DESC', - InstructionsAverageVenueIdAsc = 'INSTRUCTIONS_AVERAGE_VENUE_ID_ASC', - InstructionsAverageVenueIdDesc = 'INSTRUCTIONS_AVERAGE_VENUE_ID_DESC', - InstructionsCountAsc = 'INSTRUCTIONS_COUNT_ASC', - InstructionsCountDesc = 'INSTRUCTIONS_COUNT_DESC', - InstructionsDistinctCountCreatedAtAsc = 'INSTRUCTIONS_DISTINCT_COUNT_CREATED_AT_ASC', - InstructionsDistinctCountCreatedAtDesc = 'INSTRUCTIONS_DISTINCT_COUNT_CREATED_AT_DESC', - InstructionsDistinctCountCreatedBlockIdAsc = 'INSTRUCTIONS_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - InstructionsDistinctCountCreatedBlockIdDesc = 'INSTRUCTIONS_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - InstructionsDistinctCountEndBlockAsc = 'INSTRUCTIONS_DISTINCT_COUNT_END_BLOCK_ASC', - InstructionsDistinctCountEndBlockDesc = 'INSTRUCTIONS_DISTINCT_COUNT_END_BLOCK_DESC', - InstructionsDistinctCountEventIdxAsc = 'INSTRUCTIONS_DISTINCT_COUNT_EVENT_IDX_ASC', - InstructionsDistinctCountEventIdxDesc = 'INSTRUCTIONS_DISTINCT_COUNT_EVENT_IDX_DESC', - InstructionsDistinctCountEventIdAsc = 'INSTRUCTIONS_DISTINCT_COUNT_EVENT_ID_ASC', - InstructionsDistinctCountEventIdDesc = 'INSTRUCTIONS_DISTINCT_COUNT_EVENT_ID_DESC', - InstructionsDistinctCountIdAsc = 'INSTRUCTIONS_DISTINCT_COUNT_ID_ASC', - InstructionsDistinctCountIdDesc = 'INSTRUCTIONS_DISTINCT_COUNT_ID_DESC', - InstructionsDistinctCountMemoAsc = 'INSTRUCTIONS_DISTINCT_COUNT_MEMO_ASC', - InstructionsDistinctCountMemoDesc = 'INSTRUCTIONS_DISTINCT_COUNT_MEMO_DESC', - InstructionsDistinctCountSettlementTypeAsc = 'INSTRUCTIONS_DISTINCT_COUNT_SETTLEMENT_TYPE_ASC', - InstructionsDistinctCountSettlementTypeDesc = 'INSTRUCTIONS_DISTINCT_COUNT_SETTLEMENT_TYPE_DESC', - InstructionsDistinctCountStatusAsc = 'INSTRUCTIONS_DISTINCT_COUNT_STATUS_ASC', - InstructionsDistinctCountStatusDesc = 'INSTRUCTIONS_DISTINCT_COUNT_STATUS_DESC', - InstructionsDistinctCountTradeDateAsc = 'INSTRUCTIONS_DISTINCT_COUNT_TRADE_DATE_ASC', - InstructionsDistinctCountTradeDateDesc = 'INSTRUCTIONS_DISTINCT_COUNT_TRADE_DATE_DESC', - InstructionsDistinctCountUpdatedAtAsc = 'INSTRUCTIONS_DISTINCT_COUNT_UPDATED_AT_ASC', - InstructionsDistinctCountUpdatedAtDesc = 'INSTRUCTIONS_DISTINCT_COUNT_UPDATED_AT_DESC', - InstructionsDistinctCountUpdatedBlockIdAsc = 'INSTRUCTIONS_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - InstructionsDistinctCountUpdatedBlockIdDesc = 'INSTRUCTIONS_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - InstructionsDistinctCountValueDateAsc = 'INSTRUCTIONS_DISTINCT_COUNT_VALUE_DATE_ASC', - InstructionsDistinctCountValueDateDesc = 'INSTRUCTIONS_DISTINCT_COUNT_VALUE_DATE_DESC', - InstructionsDistinctCountVenueIdAsc = 'INSTRUCTIONS_DISTINCT_COUNT_VENUE_ID_ASC', - InstructionsDistinctCountVenueIdDesc = 'INSTRUCTIONS_DISTINCT_COUNT_VENUE_ID_DESC', - InstructionsMaxCreatedAtAsc = 'INSTRUCTIONS_MAX_CREATED_AT_ASC', - InstructionsMaxCreatedAtDesc = 'INSTRUCTIONS_MAX_CREATED_AT_DESC', - InstructionsMaxCreatedBlockIdAsc = 'INSTRUCTIONS_MAX_CREATED_BLOCK_ID_ASC', - InstructionsMaxCreatedBlockIdDesc = 'INSTRUCTIONS_MAX_CREATED_BLOCK_ID_DESC', - InstructionsMaxEndBlockAsc = 'INSTRUCTIONS_MAX_END_BLOCK_ASC', - InstructionsMaxEndBlockDesc = 'INSTRUCTIONS_MAX_END_BLOCK_DESC', - InstructionsMaxEventIdxAsc = 'INSTRUCTIONS_MAX_EVENT_IDX_ASC', - InstructionsMaxEventIdxDesc = 'INSTRUCTIONS_MAX_EVENT_IDX_DESC', - InstructionsMaxEventIdAsc = 'INSTRUCTIONS_MAX_EVENT_ID_ASC', - InstructionsMaxEventIdDesc = 'INSTRUCTIONS_MAX_EVENT_ID_DESC', - InstructionsMaxIdAsc = 'INSTRUCTIONS_MAX_ID_ASC', - InstructionsMaxIdDesc = 'INSTRUCTIONS_MAX_ID_DESC', - InstructionsMaxMemoAsc = 'INSTRUCTIONS_MAX_MEMO_ASC', - InstructionsMaxMemoDesc = 'INSTRUCTIONS_MAX_MEMO_DESC', - InstructionsMaxSettlementTypeAsc = 'INSTRUCTIONS_MAX_SETTLEMENT_TYPE_ASC', - InstructionsMaxSettlementTypeDesc = 'INSTRUCTIONS_MAX_SETTLEMENT_TYPE_DESC', - InstructionsMaxStatusAsc = 'INSTRUCTIONS_MAX_STATUS_ASC', - InstructionsMaxStatusDesc = 'INSTRUCTIONS_MAX_STATUS_DESC', - InstructionsMaxTradeDateAsc = 'INSTRUCTIONS_MAX_TRADE_DATE_ASC', - InstructionsMaxTradeDateDesc = 'INSTRUCTIONS_MAX_TRADE_DATE_DESC', - InstructionsMaxUpdatedAtAsc = 'INSTRUCTIONS_MAX_UPDATED_AT_ASC', - InstructionsMaxUpdatedAtDesc = 'INSTRUCTIONS_MAX_UPDATED_AT_DESC', - InstructionsMaxUpdatedBlockIdAsc = 'INSTRUCTIONS_MAX_UPDATED_BLOCK_ID_ASC', - InstructionsMaxUpdatedBlockIdDesc = 'INSTRUCTIONS_MAX_UPDATED_BLOCK_ID_DESC', - InstructionsMaxValueDateAsc = 'INSTRUCTIONS_MAX_VALUE_DATE_ASC', - InstructionsMaxValueDateDesc = 'INSTRUCTIONS_MAX_VALUE_DATE_DESC', - InstructionsMaxVenueIdAsc = 'INSTRUCTIONS_MAX_VENUE_ID_ASC', - InstructionsMaxVenueIdDesc = 'INSTRUCTIONS_MAX_VENUE_ID_DESC', - InstructionsMinCreatedAtAsc = 'INSTRUCTIONS_MIN_CREATED_AT_ASC', - InstructionsMinCreatedAtDesc = 'INSTRUCTIONS_MIN_CREATED_AT_DESC', - InstructionsMinCreatedBlockIdAsc = 'INSTRUCTIONS_MIN_CREATED_BLOCK_ID_ASC', - InstructionsMinCreatedBlockIdDesc = 'INSTRUCTIONS_MIN_CREATED_BLOCK_ID_DESC', - InstructionsMinEndBlockAsc = 'INSTRUCTIONS_MIN_END_BLOCK_ASC', - InstructionsMinEndBlockDesc = 'INSTRUCTIONS_MIN_END_BLOCK_DESC', - InstructionsMinEventIdxAsc = 'INSTRUCTIONS_MIN_EVENT_IDX_ASC', - InstructionsMinEventIdxDesc = 'INSTRUCTIONS_MIN_EVENT_IDX_DESC', - InstructionsMinEventIdAsc = 'INSTRUCTIONS_MIN_EVENT_ID_ASC', - InstructionsMinEventIdDesc = 'INSTRUCTIONS_MIN_EVENT_ID_DESC', - InstructionsMinIdAsc = 'INSTRUCTIONS_MIN_ID_ASC', - InstructionsMinIdDesc = 'INSTRUCTIONS_MIN_ID_DESC', - InstructionsMinMemoAsc = 'INSTRUCTIONS_MIN_MEMO_ASC', - InstructionsMinMemoDesc = 'INSTRUCTIONS_MIN_MEMO_DESC', - InstructionsMinSettlementTypeAsc = 'INSTRUCTIONS_MIN_SETTLEMENT_TYPE_ASC', - InstructionsMinSettlementTypeDesc = 'INSTRUCTIONS_MIN_SETTLEMENT_TYPE_DESC', - InstructionsMinStatusAsc = 'INSTRUCTIONS_MIN_STATUS_ASC', - InstructionsMinStatusDesc = 'INSTRUCTIONS_MIN_STATUS_DESC', - InstructionsMinTradeDateAsc = 'INSTRUCTIONS_MIN_TRADE_DATE_ASC', - InstructionsMinTradeDateDesc = 'INSTRUCTIONS_MIN_TRADE_DATE_DESC', - InstructionsMinUpdatedAtAsc = 'INSTRUCTIONS_MIN_UPDATED_AT_ASC', - InstructionsMinUpdatedAtDesc = 'INSTRUCTIONS_MIN_UPDATED_AT_DESC', - InstructionsMinUpdatedBlockIdAsc = 'INSTRUCTIONS_MIN_UPDATED_BLOCK_ID_ASC', - InstructionsMinUpdatedBlockIdDesc = 'INSTRUCTIONS_MIN_UPDATED_BLOCK_ID_DESC', - InstructionsMinValueDateAsc = 'INSTRUCTIONS_MIN_VALUE_DATE_ASC', - InstructionsMinValueDateDesc = 'INSTRUCTIONS_MIN_VALUE_DATE_DESC', - InstructionsMinVenueIdAsc = 'INSTRUCTIONS_MIN_VENUE_ID_ASC', - InstructionsMinVenueIdDesc = 'INSTRUCTIONS_MIN_VENUE_ID_DESC', - InstructionsStddevPopulationCreatedAtAsc = 'INSTRUCTIONS_STDDEV_POPULATION_CREATED_AT_ASC', - InstructionsStddevPopulationCreatedAtDesc = 'INSTRUCTIONS_STDDEV_POPULATION_CREATED_AT_DESC', - InstructionsStddevPopulationCreatedBlockIdAsc = 'INSTRUCTIONS_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - InstructionsStddevPopulationCreatedBlockIdDesc = 'INSTRUCTIONS_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - InstructionsStddevPopulationEndBlockAsc = 'INSTRUCTIONS_STDDEV_POPULATION_END_BLOCK_ASC', - InstructionsStddevPopulationEndBlockDesc = 'INSTRUCTIONS_STDDEV_POPULATION_END_BLOCK_DESC', - InstructionsStddevPopulationEventIdxAsc = 'INSTRUCTIONS_STDDEV_POPULATION_EVENT_IDX_ASC', - InstructionsStddevPopulationEventIdxDesc = 'INSTRUCTIONS_STDDEV_POPULATION_EVENT_IDX_DESC', - InstructionsStddevPopulationEventIdAsc = 'INSTRUCTIONS_STDDEV_POPULATION_EVENT_ID_ASC', - InstructionsStddevPopulationEventIdDesc = 'INSTRUCTIONS_STDDEV_POPULATION_EVENT_ID_DESC', - InstructionsStddevPopulationIdAsc = 'INSTRUCTIONS_STDDEV_POPULATION_ID_ASC', - InstructionsStddevPopulationIdDesc = 'INSTRUCTIONS_STDDEV_POPULATION_ID_DESC', - InstructionsStddevPopulationMemoAsc = 'INSTRUCTIONS_STDDEV_POPULATION_MEMO_ASC', - InstructionsStddevPopulationMemoDesc = 'INSTRUCTIONS_STDDEV_POPULATION_MEMO_DESC', - InstructionsStddevPopulationSettlementTypeAsc = 'INSTRUCTIONS_STDDEV_POPULATION_SETTLEMENT_TYPE_ASC', - InstructionsStddevPopulationSettlementTypeDesc = 'INSTRUCTIONS_STDDEV_POPULATION_SETTLEMENT_TYPE_DESC', - InstructionsStddevPopulationStatusAsc = 'INSTRUCTIONS_STDDEV_POPULATION_STATUS_ASC', - InstructionsStddevPopulationStatusDesc = 'INSTRUCTIONS_STDDEV_POPULATION_STATUS_DESC', - InstructionsStddevPopulationTradeDateAsc = 'INSTRUCTIONS_STDDEV_POPULATION_TRADE_DATE_ASC', - InstructionsStddevPopulationTradeDateDesc = 'INSTRUCTIONS_STDDEV_POPULATION_TRADE_DATE_DESC', - InstructionsStddevPopulationUpdatedAtAsc = 'INSTRUCTIONS_STDDEV_POPULATION_UPDATED_AT_ASC', - InstructionsStddevPopulationUpdatedAtDesc = 'INSTRUCTIONS_STDDEV_POPULATION_UPDATED_AT_DESC', - InstructionsStddevPopulationUpdatedBlockIdAsc = 'INSTRUCTIONS_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - InstructionsStddevPopulationUpdatedBlockIdDesc = 'INSTRUCTIONS_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - InstructionsStddevPopulationValueDateAsc = 'INSTRUCTIONS_STDDEV_POPULATION_VALUE_DATE_ASC', - InstructionsStddevPopulationValueDateDesc = 'INSTRUCTIONS_STDDEV_POPULATION_VALUE_DATE_DESC', - InstructionsStddevPopulationVenueIdAsc = 'INSTRUCTIONS_STDDEV_POPULATION_VENUE_ID_ASC', - InstructionsStddevPopulationVenueIdDesc = 'INSTRUCTIONS_STDDEV_POPULATION_VENUE_ID_DESC', - InstructionsStddevSampleCreatedAtAsc = 'INSTRUCTIONS_STDDEV_SAMPLE_CREATED_AT_ASC', - InstructionsStddevSampleCreatedAtDesc = 'INSTRUCTIONS_STDDEV_SAMPLE_CREATED_AT_DESC', - InstructionsStddevSampleCreatedBlockIdAsc = 'INSTRUCTIONS_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - InstructionsStddevSampleCreatedBlockIdDesc = 'INSTRUCTIONS_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - InstructionsStddevSampleEndBlockAsc = 'INSTRUCTIONS_STDDEV_SAMPLE_END_BLOCK_ASC', - InstructionsStddevSampleEndBlockDesc = 'INSTRUCTIONS_STDDEV_SAMPLE_END_BLOCK_DESC', - InstructionsStddevSampleEventIdxAsc = 'INSTRUCTIONS_STDDEV_SAMPLE_EVENT_IDX_ASC', - InstructionsStddevSampleEventIdxDesc = 'INSTRUCTIONS_STDDEV_SAMPLE_EVENT_IDX_DESC', - InstructionsStddevSampleEventIdAsc = 'INSTRUCTIONS_STDDEV_SAMPLE_EVENT_ID_ASC', - InstructionsStddevSampleEventIdDesc = 'INSTRUCTIONS_STDDEV_SAMPLE_EVENT_ID_DESC', - InstructionsStddevSampleIdAsc = 'INSTRUCTIONS_STDDEV_SAMPLE_ID_ASC', - InstructionsStddevSampleIdDesc = 'INSTRUCTIONS_STDDEV_SAMPLE_ID_DESC', - InstructionsStddevSampleMemoAsc = 'INSTRUCTIONS_STDDEV_SAMPLE_MEMO_ASC', - InstructionsStddevSampleMemoDesc = 'INSTRUCTIONS_STDDEV_SAMPLE_MEMO_DESC', - InstructionsStddevSampleSettlementTypeAsc = 'INSTRUCTIONS_STDDEV_SAMPLE_SETTLEMENT_TYPE_ASC', - InstructionsStddevSampleSettlementTypeDesc = 'INSTRUCTIONS_STDDEV_SAMPLE_SETTLEMENT_TYPE_DESC', - InstructionsStddevSampleStatusAsc = 'INSTRUCTIONS_STDDEV_SAMPLE_STATUS_ASC', - InstructionsStddevSampleStatusDesc = 'INSTRUCTIONS_STDDEV_SAMPLE_STATUS_DESC', - InstructionsStddevSampleTradeDateAsc = 'INSTRUCTIONS_STDDEV_SAMPLE_TRADE_DATE_ASC', - InstructionsStddevSampleTradeDateDesc = 'INSTRUCTIONS_STDDEV_SAMPLE_TRADE_DATE_DESC', - InstructionsStddevSampleUpdatedAtAsc = 'INSTRUCTIONS_STDDEV_SAMPLE_UPDATED_AT_ASC', - InstructionsStddevSampleUpdatedAtDesc = 'INSTRUCTIONS_STDDEV_SAMPLE_UPDATED_AT_DESC', - InstructionsStddevSampleUpdatedBlockIdAsc = 'INSTRUCTIONS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - InstructionsStddevSampleUpdatedBlockIdDesc = 'INSTRUCTIONS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - InstructionsStddevSampleValueDateAsc = 'INSTRUCTIONS_STDDEV_SAMPLE_VALUE_DATE_ASC', - InstructionsStddevSampleValueDateDesc = 'INSTRUCTIONS_STDDEV_SAMPLE_VALUE_DATE_DESC', - InstructionsStddevSampleVenueIdAsc = 'INSTRUCTIONS_STDDEV_SAMPLE_VENUE_ID_ASC', - InstructionsStddevSampleVenueIdDesc = 'INSTRUCTIONS_STDDEV_SAMPLE_VENUE_ID_DESC', - InstructionsSumCreatedAtAsc = 'INSTRUCTIONS_SUM_CREATED_AT_ASC', - InstructionsSumCreatedAtDesc = 'INSTRUCTIONS_SUM_CREATED_AT_DESC', - InstructionsSumCreatedBlockIdAsc = 'INSTRUCTIONS_SUM_CREATED_BLOCK_ID_ASC', - InstructionsSumCreatedBlockIdDesc = 'INSTRUCTIONS_SUM_CREATED_BLOCK_ID_DESC', - InstructionsSumEndBlockAsc = 'INSTRUCTIONS_SUM_END_BLOCK_ASC', - InstructionsSumEndBlockDesc = 'INSTRUCTIONS_SUM_END_BLOCK_DESC', - InstructionsSumEventIdxAsc = 'INSTRUCTIONS_SUM_EVENT_IDX_ASC', - InstructionsSumEventIdxDesc = 'INSTRUCTIONS_SUM_EVENT_IDX_DESC', - InstructionsSumEventIdAsc = 'INSTRUCTIONS_SUM_EVENT_ID_ASC', - InstructionsSumEventIdDesc = 'INSTRUCTIONS_SUM_EVENT_ID_DESC', - InstructionsSumIdAsc = 'INSTRUCTIONS_SUM_ID_ASC', - InstructionsSumIdDesc = 'INSTRUCTIONS_SUM_ID_DESC', - InstructionsSumMemoAsc = 'INSTRUCTIONS_SUM_MEMO_ASC', - InstructionsSumMemoDesc = 'INSTRUCTIONS_SUM_MEMO_DESC', - InstructionsSumSettlementTypeAsc = 'INSTRUCTIONS_SUM_SETTLEMENT_TYPE_ASC', - InstructionsSumSettlementTypeDesc = 'INSTRUCTIONS_SUM_SETTLEMENT_TYPE_DESC', - InstructionsSumStatusAsc = 'INSTRUCTIONS_SUM_STATUS_ASC', - InstructionsSumStatusDesc = 'INSTRUCTIONS_SUM_STATUS_DESC', - InstructionsSumTradeDateAsc = 'INSTRUCTIONS_SUM_TRADE_DATE_ASC', - InstructionsSumTradeDateDesc = 'INSTRUCTIONS_SUM_TRADE_DATE_DESC', - InstructionsSumUpdatedAtAsc = 'INSTRUCTIONS_SUM_UPDATED_AT_ASC', - InstructionsSumUpdatedAtDesc = 'INSTRUCTIONS_SUM_UPDATED_AT_DESC', - InstructionsSumUpdatedBlockIdAsc = 'INSTRUCTIONS_SUM_UPDATED_BLOCK_ID_ASC', - InstructionsSumUpdatedBlockIdDesc = 'INSTRUCTIONS_SUM_UPDATED_BLOCK_ID_DESC', - InstructionsSumValueDateAsc = 'INSTRUCTIONS_SUM_VALUE_DATE_ASC', - InstructionsSumValueDateDesc = 'INSTRUCTIONS_SUM_VALUE_DATE_DESC', - InstructionsSumVenueIdAsc = 'INSTRUCTIONS_SUM_VENUE_ID_ASC', - InstructionsSumVenueIdDesc = 'INSTRUCTIONS_SUM_VENUE_ID_DESC', - InstructionsVariancePopulationCreatedAtAsc = 'INSTRUCTIONS_VARIANCE_POPULATION_CREATED_AT_ASC', - InstructionsVariancePopulationCreatedAtDesc = 'INSTRUCTIONS_VARIANCE_POPULATION_CREATED_AT_DESC', - InstructionsVariancePopulationCreatedBlockIdAsc = 'INSTRUCTIONS_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - InstructionsVariancePopulationCreatedBlockIdDesc = 'INSTRUCTIONS_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - InstructionsVariancePopulationEndBlockAsc = 'INSTRUCTIONS_VARIANCE_POPULATION_END_BLOCK_ASC', - InstructionsVariancePopulationEndBlockDesc = 'INSTRUCTIONS_VARIANCE_POPULATION_END_BLOCK_DESC', - InstructionsVariancePopulationEventIdxAsc = 'INSTRUCTIONS_VARIANCE_POPULATION_EVENT_IDX_ASC', - InstructionsVariancePopulationEventIdxDesc = 'INSTRUCTIONS_VARIANCE_POPULATION_EVENT_IDX_DESC', - InstructionsVariancePopulationEventIdAsc = 'INSTRUCTIONS_VARIANCE_POPULATION_EVENT_ID_ASC', - InstructionsVariancePopulationEventIdDesc = 'INSTRUCTIONS_VARIANCE_POPULATION_EVENT_ID_DESC', - InstructionsVariancePopulationIdAsc = 'INSTRUCTIONS_VARIANCE_POPULATION_ID_ASC', - InstructionsVariancePopulationIdDesc = 'INSTRUCTIONS_VARIANCE_POPULATION_ID_DESC', - InstructionsVariancePopulationMemoAsc = 'INSTRUCTIONS_VARIANCE_POPULATION_MEMO_ASC', - InstructionsVariancePopulationMemoDesc = 'INSTRUCTIONS_VARIANCE_POPULATION_MEMO_DESC', - InstructionsVariancePopulationSettlementTypeAsc = 'INSTRUCTIONS_VARIANCE_POPULATION_SETTLEMENT_TYPE_ASC', - InstructionsVariancePopulationSettlementTypeDesc = 'INSTRUCTIONS_VARIANCE_POPULATION_SETTLEMENT_TYPE_DESC', - InstructionsVariancePopulationStatusAsc = 'INSTRUCTIONS_VARIANCE_POPULATION_STATUS_ASC', - InstructionsVariancePopulationStatusDesc = 'INSTRUCTIONS_VARIANCE_POPULATION_STATUS_DESC', - InstructionsVariancePopulationTradeDateAsc = 'INSTRUCTIONS_VARIANCE_POPULATION_TRADE_DATE_ASC', - InstructionsVariancePopulationTradeDateDesc = 'INSTRUCTIONS_VARIANCE_POPULATION_TRADE_DATE_DESC', - InstructionsVariancePopulationUpdatedAtAsc = 'INSTRUCTIONS_VARIANCE_POPULATION_UPDATED_AT_ASC', - InstructionsVariancePopulationUpdatedAtDesc = 'INSTRUCTIONS_VARIANCE_POPULATION_UPDATED_AT_DESC', - InstructionsVariancePopulationUpdatedBlockIdAsc = 'INSTRUCTIONS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - InstructionsVariancePopulationUpdatedBlockIdDesc = 'INSTRUCTIONS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - InstructionsVariancePopulationValueDateAsc = 'INSTRUCTIONS_VARIANCE_POPULATION_VALUE_DATE_ASC', - InstructionsVariancePopulationValueDateDesc = 'INSTRUCTIONS_VARIANCE_POPULATION_VALUE_DATE_DESC', - InstructionsVariancePopulationVenueIdAsc = 'INSTRUCTIONS_VARIANCE_POPULATION_VENUE_ID_ASC', - InstructionsVariancePopulationVenueIdDesc = 'INSTRUCTIONS_VARIANCE_POPULATION_VENUE_ID_DESC', - InstructionsVarianceSampleCreatedAtAsc = 'INSTRUCTIONS_VARIANCE_SAMPLE_CREATED_AT_ASC', - InstructionsVarianceSampleCreatedAtDesc = 'INSTRUCTIONS_VARIANCE_SAMPLE_CREATED_AT_DESC', - InstructionsVarianceSampleCreatedBlockIdAsc = 'INSTRUCTIONS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - InstructionsVarianceSampleCreatedBlockIdDesc = 'INSTRUCTIONS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - InstructionsVarianceSampleEndBlockAsc = 'INSTRUCTIONS_VARIANCE_SAMPLE_END_BLOCK_ASC', - InstructionsVarianceSampleEndBlockDesc = 'INSTRUCTIONS_VARIANCE_SAMPLE_END_BLOCK_DESC', - InstructionsVarianceSampleEventIdxAsc = 'INSTRUCTIONS_VARIANCE_SAMPLE_EVENT_IDX_ASC', - InstructionsVarianceSampleEventIdxDesc = 'INSTRUCTIONS_VARIANCE_SAMPLE_EVENT_IDX_DESC', - InstructionsVarianceSampleEventIdAsc = 'INSTRUCTIONS_VARIANCE_SAMPLE_EVENT_ID_ASC', - InstructionsVarianceSampleEventIdDesc = 'INSTRUCTIONS_VARIANCE_SAMPLE_EVENT_ID_DESC', - InstructionsVarianceSampleIdAsc = 'INSTRUCTIONS_VARIANCE_SAMPLE_ID_ASC', - InstructionsVarianceSampleIdDesc = 'INSTRUCTIONS_VARIANCE_SAMPLE_ID_DESC', - InstructionsVarianceSampleMemoAsc = 'INSTRUCTIONS_VARIANCE_SAMPLE_MEMO_ASC', - InstructionsVarianceSampleMemoDesc = 'INSTRUCTIONS_VARIANCE_SAMPLE_MEMO_DESC', - InstructionsVarianceSampleSettlementTypeAsc = 'INSTRUCTIONS_VARIANCE_SAMPLE_SETTLEMENT_TYPE_ASC', - InstructionsVarianceSampleSettlementTypeDesc = 'INSTRUCTIONS_VARIANCE_SAMPLE_SETTLEMENT_TYPE_DESC', - InstructionsVarianceSampleStatusAsc = 'INSTRUCTIONS_VARIANCE_SAMPLE_STATUS_ASC', - InstructionsVarianceSampleStatusDesc = 'INSTRUCTIONS_VARIANCE_SAMPLE_STATUS_DESC', - InstructionsVarianceSampleTradeDateAsc = 'INSTRUCTIONS_VARIANCE_SAMPLE_TRADE_DATE_ASC', - InstructionsVarianceSampleTradeDateDesc = 'INSTRUCTIONS_VARIANCE_SAMPLE_TRADE_DATE_DESC', - InstructionsVarianceSampleUpdatedAtAsc = 'INSTRUCTIONS_VARIANCE_SAMPLE_UPDATED_AT_ASC', - InstructionsVarianceSampleUpdatedAtDesc = 'INSTRUCTIONS_VARIANCE_SAMPLE_UPDATED_AT_DESC', - InstructionsVarianceSampleUpdatedBlockIdAsc = 'INSTRUCTIONS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - InstructionsVarianceSampleUpdatedBlockIdDesc = 'INSTRUCTIONS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - InstructionsVarianceSampleValueDateAsc = 'INSTRUCTIONS_VARIANCE_SAMPLE_VALUE_DATE_ASC', - InstructionsVarianceSampleValueDateDesc = 'INSTRUCTIONS_VARIANCE_SAMPLE_VALUE_DATE_DESC', - InstructionsVarianceSampleVenueIdAsc = 'INSTRUCTIONS_VARIANCE_SAMPLE_VENUE_ID_ASC', - InstructionsVarianceSampleVenueIdDesc = 'INSTRUCTIONS_VARIANCE_SAMPLE_VENUE_ID_DESC', - Natural = 'NATURAL', - OwnerIdAsc = 'OWNER_ID_ASC', - OwnerIdDesc = 'OWNER_ID_DESC', - PrimaryKeyAsc = 'PRIMARY_KEY_ASC', - PrimaryKeyDesc = 'PRIMARY_KEY_DESC', - StosAverageCreatedAtAsc = 'STOS_AVERAGE_CREATED_AT_ASC', - StosAverageCreatedAtDesc = 'STOS_AVERAGE_CREATED_AT_DESC', - StosAverageCreatedBlockIdAsc = 'STOS_AVERAGE_CREATED_BLOCK_ID_ASC', - StosAverageCreatedBlockIdDesc = 'STOS_AVERAGE_CREATED_BLOCK_ID_DESC', - StosAverageCreatorIdAsc = 'STOS_AVERAGE_CREATOR_ID_ASC', - StosAverageCreatorIdDesc = 'STOS_AVERAGE_CREATOR_ID_DESC', - StosAverageEndAsc = 'STOS_AVERAGE_END_ASC', - StosAverageEndDesc = 'STOS_AVERAGE_END_DESC', - StosAverageIdAsc = 'STOS_AVERAGE_ID_ASC', - StosAverageIdDesc = 'STOS_AVERAGE_ID_DESC', - StosAverageMinimumInvestmentAsc = 'STOS_AVERAGE_MINIMUM_INVESTMENT_ASC', - StosAverageMinimumInvestmentDesc = 'STOS_AVERAGE_MINIMUM_INVESTMENT_DESC', - StosAverageNameAsc = 'STOS_AVERAGE_NAME_ASC', - StosAverageNameDesc = 'STOS_AVERAGE_NAME_DESC', - StosAverageOfferingAssetIdAsc = 'STOS_AVERAGE_OFFERING_ASSET_ID_ASC', - StosAverageOfferingAssetIdDesc = 'STOS_AVERAGE_OFFERING_ASSET_ID_DESC', - StosAverageOfferingPortfolioIdAsc = 'STOS_AVERAGE_OFFERING_PORTFOLIO_ID_ASC', - StosAverageOfferingPortfolioIdDesc = 'STOS_AVERAGE_OFFERING_PORTFOLIO_ID_DESC', - StosAverageRaisingAssetIdAsc = 'STOS_AVERAGE_RAISING_ASSET_ID_ASC', - StosAverageRaisingAssetIdDesc = 'STOS_AVERAGE_RAISING_ASSET_ID_DESC', - StosAverageRaisingPortfolioIdAsc = 'STOS_AVERAGE_RAISING_PORTFOLIO_ID_ASC', - StosAverageRaisingPortfolioIdDesc = 'STOS_AVERAGE_RAISING_PORTFOLIO_ID_DESC', - StosAverageStartAsc = 'STOS_AVERAGE_START_ASC', - StosAverageStartDesc = 'STOS_AVERAGE_START_DESC', - StosAverageStatusAsc = 'STOS_AVERAGE_STATUS_ASC', - StosAverageStatusDesc = 'STOS_AVERAGE_STATUS_DESC', - StosAverageStoIdAsc = 'STOS_AVERAGE_STO_ID_ASC', - StosAverageStoIdDesc = 'STOS_AVERAGE_STO_ID_DESC', - StosAverageTiersAsc = 'STOS_AVERAGE_TIERS_ASC', - StosAverageTiersDesc = 'STOS_AVERAGE_TIERS_DESC', - StosAverageUpdatedAtAsc = 'STOS_AVERAGE_UPDATED_AT_ASC', - StosAverageUpdatedAtDesc = 'STOS_AVERAGE_UPDATED_AT_DESC', - StosAverageUpdatedBlockIdAsc = 'STOS_AVERAGE_UPDATED_BLOCK_ID_ASC', - StosAverageUpdatedBlockIdDesc = 'STOS_AVERAGE_UPDATED_BLOCK_ID_DESC', - StosAverageVenueIdAsc = 'STOS_AVERAGE_VENUE_ID_ASC', - StosAverageVenueIdDesc = 'STOS_AVERAGE_VENUE_ID_DESC', - StosCountAsc = 'STOS_COUNT_ASC', - StosCountDesc = 'STOS_COUNT_DESC', - StosDistinctCountCreatedAtAsc = 'STOS_DISTINCT_COUNT_CREATED_AT_ASC', - StosDistinctCountCreatedAtDesc = 'STOS_DISTINCT_COUNT_CREATED_AT_DESC', - StosDistinctCountCreatedBlockIdAsc = 'STOS_DISTINCT_COUNT_CREATED_BLOCK_ID_ASC', - StosDistinctCountCreatedBlockIdDesc = 'STOS_DISTINCT_COUNT_CREATED_BLOCK_ID_DESC', - StosDistinctCountCreatorIdAsc = 'STOS_DISTINCT_COUNT_CREATOR_ID_ASC', - StosDistinctCountCreatorIdDesc = 'STOS_DISTINCT_COUNT_CREATOR_ID_DESC', - StosDistinctCountEndAsc = 'STOS_DISTINCT_COUNT_END_ASC', - StosDistinctCountEndDesc = 'STOS_DISTINCT_COUNT_END_DESC', - StosDistinctCountIdAsc = 'STOS_DISTINCT_COUNT_ID_ASC', - StosDistinctCountIdDesc = 'STOS_DISTINCT_COUNT_ID_DESC', - StosDistinctCountMinimumInvestmentAsc = 'STOS_DISTINCT_COUNT_MINIMUM_INVESTMENT_ASC', - StosDistinctCountMinimumInvestmentDesc = 'STOS_DISTINCT_COUNT_MINIMUM_INVESTMENT_DESC', - StosDistinctCountNameAsc = 'STOS_DISTINCT_COUNT_NAME_ASC', - StosDistinctCountNameDesc = 'STOS_DISTINCT_COUNT_NAME_DESC', - StosDistinctCountOfferingAssetIdAsc = 'STOS_DISTINCT_COUNT_OFFERING_ASSET_ID_ASC', - StosDistinctCountOfferingAssetIdDesc = 'STOS_DISTINCT_COUNT_OFFERING_ASSET_ID_DESC', - StosDistinctCountOfferingPortfolioIdAsc = 'STOS_DISTINCT_COUNT_OFFERING_PORTFOLIO_ID_ASC', - StosDistinctCountOfferingPortfolioIdDesc = 'STOS_DISTINCT_COUNT_OFFERING_PORTFOLIO_ID_DESC', - StosDistinctCountRaisingAssetIdAsc = 'STOS_DISTINCT_COUNT_RAISING_ASSET_ID_ASC', - StosDistinctCountRaisingAssetIdDesc = 'STOS_DISTINCT_COUNT_RAISING_ASSET_ID_DESC', - StosDistinctCountRaisingPortfolioIdAsc = 'STOS_DISTINCT_COUNT_RAISING_PORTFOLIO_ID_ASC', - StosDistinctCountRaisingPortfolioIdDesc = 'STOS_DISTINCT_COUNT_RAISING_PORTFOLIO_ID_DESC', - StosDistinctCountStartAsc = 'STOS_DISTINCT_COUNT_START_ASC', - StosDistinctCountStartDesc = 'STOS_DISTINCT_COUNT_START_DESC', - StosDistinctCountStatusAsc = 'STOS_DISTINCT_COUNT_STATUS_ASC', - StosDistinctCountStatusDesc = 'STOS_DISTINCT_COUNT_STATUS_DESC', - StosDistinctCountStoIdAsc = 'STOS_DISTINCT_COUNT_STO_ID_ASC', - StosDistinctCountStoIdDesc = 'STOS_DISTINCT_COUNT_STO_ID_DESC', - StosDistinctCountTiersAsc = 'STOS_DISTINCT_COUNT_TIERS_ASC', - StosDistinctCountTiersDesc = 'STOS_DISTINCT_COUNT_TIERS_DESC', - StosDistinctCountUpdatedAtAsc = 'STOS_DISTINCT_COUNT_UPDATED_AT_ASC', - StosDistinctCountUpdatedAtDesc = 'STOS_DISTINCT_COUNT_UPDATED_AT_DESC', - StosDistinctCountUpdatedBlockIdAsc = 'STOS_DISTINCT_COUNT_UPDATED_BLOCK_ID_ASC', - StosDistinctCountUpdatedBlockIdDesc = 'STOS_DISTINCT_COUNT_UPDATED_BLOCK_ID_DESC', - StosDistinctCountVenueIdAsc = 'STOS_DISTINCT_COUNT_VENUE_ID_ASC', - StosDistinctCountVenueIdDesc = 'STOS_DISTINCT_COUNT_VENUE_ID_DESC', - StosMaxCreatedAtAsc = 'STOS_MAX_CREATED_AT_ASC', - StosMaxCreatedAtDesc = 'STOS_MAX_CREATED_AT_DESC', - StosMaxCreatedBlockIdAsc = 'STOS_MAX_CREATED_BLOCK_ID_ASC', - StosMaxCreatedBlockIdDesc = 'STOS_MAX_CREATED_BLOCK_ID_DESC', - StosMaxCreatorIdAsc = 'STOS_MAX_CREATOR_ID_ASC', - StosMaxCreatorIdDesc = 'STOS_MAX_CREATOR_ID_DESC', - StosMaxEndAsc = 'STOS_MAX_END_ASC', - StosMaxEndDesc = 'STOS_MAX_END_DESC', - StosMaxIdAsc = 'STOS_MAX_ID_ASC', - StosMaxIdDesc = 'STOS_MAX_ID_DESC', - StosMaxMinimumInvestmentAsc = 'STOS_MAX_MINIMUM_INVESTMENT_ASC', - StosMaxMinimumInvestmentDesc = 'STOS_MAX_MINIMUM_INVESTMENT_DESC', - StosMaxNameAsc = 'STOS_MAX_NAME_ASC', - StosMaxNameDesc = 'STOS_MAX_NAME_DESC', - StosMaxOfferingAssetIdAsc = 'STOS_MAX_OFFERING_ASSET_ID_ASC', - StosMaxOfferingAssetIdDesc = 'STOS_MAX_OFFERING_ASSET_ID_DESC', - StosMaxOfferingPortfolioIdAsc = 'STOS_MAX_OFFERING_PORTFOLIO_ID_ASC', - StosMaxOfferingPortfolioIdDesc = 'STOS_MAX_OFFERING_PORTFOLIO_ID_DESC', - StosMaxRaisingAssetIdAsc = 'STOS_MAX_RAISING_ASSET_ID_ASC', - StosMaxRaisingAssetIdDesc = 'STOS_MAX_RAISING_ASSET_ID_DESC', - StosMaxRaisingPortfolioIdAsc = 'STOS_MAX_RAISING_PORTFOLIO_ID_ASC', - StosMaxRaisingPortfolioIdDesc = 'STOS_MAX_RAISING_PORTFOLIO_ID_DESC', - StosMaxStartAsc = 'STOS_MAX_START_ASC', - StosMaxStartDesc = 'STOS_MAX_START_DESC', - StosMaxStatusAsc = 'STOS_MAX_STATUS_ASC', - StosMaxStatusDesc = 'STOS_MAX_STATUS_DESC', - StosMaxStoIdAsc = 'STOS_MAX_STO_ID_ASC', - StosMaxStoIdDesc = 'STOS_MAX_STO_ID_DESC', - StosMaxTiersAsc = 'STOS_MAX_TIERS_ASC', - StosMaxTiersDesc = 'STOS_MAX_TIERS_DESC', - StosMaxUpdatedAtAsc = 'STOS_MAX_UPDATED_AT_ASC', - StosMaxUpdatedAtDesc = 'STOS_MAX_UPDATED_AT_DESC', - StosMaxUpdatedBlockIdAsc = 'STOS_MAX_UPDATED_BLOCK_ID_ASC', - StosMaxUpdatedBlockIdDesc = 'STOS_MAX_UPDATED_BLOCK_ID_DESC', - StosMaxVenueIdAsc = 'STOS_MAX_VENUE_ID_ASC', - StosMaxVenueIdDesc = 'STOS_MAX_VENUE_ID_DESC', - StosMinCreatedAtAsc = 'STOS_MIN_CREATED_AT_ASC', - StosMinCreatedAtDesc = 'STOS_MIN_CREATED_AT_DESC', - StosMinCreatedBlockIdAsc = 'STOS_MIN_CREATED_BLOCK_ID_ASC', - StosMinCreatedBlockIdDesc = 'STOS_MIN_CREATED_BLOCK_ID_DESC', - StosMinCreatorIdAsc = 'STOS_MIN_CREATOR_ID_ASC', - StosMinCreatorIdDesc = 'STOS_MIN_CREATOR_ID_DESC', - StosMinEndAsc = 'STOS_MIN_END_ASC', - StosMinEndDesc = 'STOS_MIN_END_DESC', - StosMinIdAsc = 'STOS_MIN_ID_ASC', - StosMinIdDesc = 'STOS_MIN_ID_DESC', - StosMinMinimumInvestmentAsc = 'STOS_MIN_MINIMUM_INVESTMENT_ASC', - StosMinMinimumInvestmentDesc = 'STOS_MIN_MINIMUM_INVESTMENT_DESC', - StosMinNameAsc = 'STOS_MIN_NAME_ASC', - StosMinNameDesc = 'STOS_MIN_NAME_DESC', - StosMinOfferingAssetIdAsc = 'STOS_MIN_OFFERING_ASSET_ID_ASC', - StosMinOfferingAssetIdDesc = 'STOS_MIN_OFFERING_ASSET_ID_DESC', - StosMinOfferingPortfolioIdAsc = 'STOS_MIN_OFFERING_PORTFOLIO_ID_ASC', - StosMinOfferingPortfolioIdDesc = 'STOS_MIN_OFFERING_PORTFOLIO_ID_DESC', - StosMinRaisingAssetIdAsc = 'STOS_MIN_RAISING_ASSET_ID_ASC', - StosMinRaisingAssetIdDesc = 'STOS_MIN_RAISING_ASSET_ID_DESC', - StosMinRaisingPortfolioIdAsc = 'STOS_MIN_RAISING_PORTFOLIO_ID_ASC', - StosMinRaisingPortfolioIdDesc = 'STOS_MIN_RAISING_PORTFOLIO_ID_DESC', - StosMinStartAsc = 'STOS_MIN_START_ASC', - StosMinStartDesc = 'STOS_MIN_START_DESC', - StosMinStatusAsc = 'STOS_MIN_STATUS_ASC', - StosMinStatusDesc = 'STOS_MIN_STATUS_DESC', - StosMinStoIdAsc = 'STOS_MIN_STO_ID_ASC', - StosMinStoIdDesc = 'STOS_MIN_STO_ID_DESC', - StosMinTiersAsc = 'STOS_MIN_TIERS_ASC', - StosMinTiersDesc = 'STOS_MIN_TIERS_DESC', - StosMinUpdatedAtAsc = 'STOS_MIN_UPDATED_AT_ASC', - StosMinUpdatedAtDesc = 'STOS_MIN_UPDATED_AT_DESC', - StosMinUpdatedBlockIdAsc = 'STOS_MIN_UPDATED_BLOCK_ID_ASC', - StosMinUpdatedBlockIdDesc = 'STOS_MIN_UPDATED_BLOCK_ID_DESC', - StosMinVenueIdAsc = 'STOS_MIN_VENUE_ID_ASC', - StosMinVenueIdDesc = 'STOS_MIN_VENUE_ID_DESC', - StosStddevPopulationCreatedAtAsc = 'STOS_STDDEV_POPULATION_CREATED_AT_ASC', - StosStddevPopulationCreatedAtDesc = 'STOS_STDDEV_POPULATION_CREATED_AT_DESC', - StosStddevPopulationCreatedBlockIdAsc = 'STOS_STDDEV_POPULATION_CREATED_BLOCK_ID_ASC', - StosStddevPopulationCreatedBlockIdDesc = 'STOS_STDDEV_POPULATION_CREATED_BLOCK_ID_DESC', - StosStddevPopulationCreatorIdAsc = 'STOS_STDDEV_POPULATION_CREATOR_ID_ASC', - StosStddevPopulationCreatorIdDesc = 'STOS_STDDEV_POPULATION_CREATOR_ID_DESC', - StosStddevPopulationEndAsc = 'STOS_STDDEV_POPULATION_END_ASC', - StosStddevPopulationEndDesc = 'STOS_STDDEV_POPULATION_END_DESC', - StosStddevPopulationIdAsc = 'STOS_STDDEV_POPULATION_ID_ASC', - StosStddevPopulationIdDesc = 'STOS_STDDEV_POPULATION_ID_DESC', - StosStddevPopulationMinimumInvestmentAsc = 'STOS_STDDEV_POPULATION_MINIMUM_INVESTMENT_ASC', - StosStddevPopulationMinimumInvestmentDesc = 'STOS_STDDEV_POPULATION_MINIMUM_INVESTMENT_DESC', - StosStddevPopulationNameAsc = 'STOS_STDDEV_POPULATION_NAME_ASC', - StosStddevPopulationNameDesc = 'STOS_STDDEV_POPULATION_NAME_DESC', - StosStddevPopulationOfferingAssetIdAsc = 'STOS_STDDEV_POPULATION_OFFERING_ASSET_ID_ASC', - StosStddevPopulationOfferingAssetIdDesc = 'STOS_STDDEV_POPULATION_OFFERING_ASSET_ID_DESC', - StosStddevPopulationOfferingPortfolioIdAsc = 'STOS_STDDEV_POPULATION_OFFERING_PORTFOLIO_ID_ASC', - StosStddevPopulationOfferingPortfolioIdDesc = 'STOS_STDDEV_POPULATION_OFFERING_PORTFOLIO_ID_DESC', - StosStddevPopulationRaisingAssetIdAsc = 'STOS_STDDEV_POPULATION_RAISING_ASSET_ID_ASC', - StosStddevPopulationRaisingAssetIdDesc = 'STOS_STDDEV_POPULATION_RAISING_ASSET_ID_DESC', - StosStddevPopulationRaisingPortfolioIdAsc = 'STOS_STDDEV_POPULATION_RAISING_PORTFOLIO_ID_ASC', - StosStddevPopulationRaisingPortfolioIdDesc = 'STOS_STDDEV_POPULATION_RAISING_PORTFOLIO_ID_DESC', - StosStddevPopulationStartAsc = 'STOS_STDDEV_POPULATION_START_ASC', - StosStddevPopulationStartDesc = 'STOS_STDDEV_POPULATION_START_DESC', - StosStddevPopulationStatusAsc = 'STOS_STDDEV_POPULATION_STATUS_ASC', - StosStddevPopulationStatusDesc = 'STOS_STDDEV_POPULATION_STATUS_DESC', - StosStddevPopulationStoIdAsc = 'STOS_STDDEV_POPULATION_STO_ID_ASC', - StosStddevPopulationStoIdDesc = 'STOS_STDDEV_POPULATION_STO_ID_DESC', - StosStddevPopulationTiersAsc = 'STOS_STDDEV_POPULATION_TIERS_ASC', - StosStddevPopulationTiersDesc = 'STOS_STDDEV_POPULATION_TIERS_DESC', - StosStddevPopulationUpdatedAtAsc = 'STOS_STDDEV_POPULATION_UPDATED_AT_ASC', - StosStddevPopulationUpdatedAtDesc = 'STOS_STDDEV_POPULATION_UPDATED_AT_DESC', - StosStddevPopulationUpdatedBlockIdAsc = 'STOS_STDDEV_POPULATION_UPDATED_BLOCK_ID_ASC', - StosStddevPopulationUpdatedBlockIdDesc = 'STOS_STDDEV_POPULATION_UPDATED_BLOCK_ID_DESC', - StosStddevPopulationVenueIdAsc = 'STOS_STDDEV_POPULATION_VENUE_ID_ASC', - StosStddevPopulationVenueIdDesc = 'STOS_STDDEV_POPULATION_VENUE_ID_DESC', - StosStddevSampleCreatedAtAsc = 'STOS_STDDEV_SAMPLE_CREATED_AT_ASC', - StosStddevSampleCreatedAtDesc = 'STOS_STDDEV_SAMPLE_CREATED_AT_DESC', - StosStddevSampleCreatedBlockIdAsc = 'STOS_STDDEV_SAMPLE_CREATED_BLOCK_ID_ASC', - StosStddevSampleCreatedBlockIdDesc = 'STOS_STDDEV_SAMPLE_CREATED_BLOCK_ID_DESC', - StosStddevSampleCreatorIdAsc = 'STOS_STDDEV_SAMPLE_CREATOR_ID_ASC', - StosStddevSampleCreatorIdDesc = 'STOS_STDDEV_SAMPLE_CREATOR_ID_DESC', - StosStddevSampleEndAsc = 'STOS_STDDEV_SAMPLE_END_ASC', - StosStddevSampleEndDesc = 'STOS_STDDEV_SAMPLE_END_DESC', - StosStddevSampleIdAsc = 'STOS_STDDEV_SAMPLE_ID_ASC', - StosStddevSampleIdDesc = 'STOS_STDDEV_SAMPLE_ID_DESC', - StosStddevSampleMinimumInvestmentAsc = 'STOS_STDDEV_SAMPLE_MINIMUM_INVESTMENT_ASC', - StosStddevSampleMinimumInvestmentDesc = 'STOS_STDDEV_SAMPLE_MINIMUM_INVESTMENT_DESC', - StosStddevSampleNameAsc = 'STOS_STDDEV_SAMPLE_NAME_ASC', - StosStddevSampleNameDesc = 'STOS_STDDEV_SAMPLE_NAME_DESC', - StosStddevSampleOfferingAssetIdAsc = 'STOS_STDDEV_SAMPLE_OFFERING_ASSET_ID_ASC', - StosStddevSampleOfferingAssetIdDesc = 'STOS_STDDEV_SAMPLE_OFFERING_ASSET_ID_DESC', - StosStddevSampleOfferingPortfolioIdAsc = 'STOS_STDDEV_SAMPLE_OFFERING_PORTFOLIO_ID_ASC', - StosStddevSampleOfferingPortfolioIdDesc = 'STOS_STDDEV_SAMPLE_OFFERING_PORTFOLIO_ID_DESC', - StosStddevSampleRaisingAssetIdAsc = 'STOS_STDDEV_SAMPLE_RAISING_ASSET_ID_ASC', - StosStddevSampleRaisingAssetIdDesc = 'STOS_STDDEV_SAMPLE_RAISING_ASSET_ID_DESC', - StosStddevSampleRaisingPortfolioIdAsc = 'STOS_STDDEV_SAMPLE_RAISING_PORTFOLIO_ID_ASC', - StosStddevSampleRaisingPortfolioIdDesc = 'STOS_STDDEV_SAMPLE_RAISING_PORTFOLIO_ID_DESC', - StosStddevSampleStartAsc = 'STOS_STDDEV_SAMPLE_START_ASC', - StosStddevSampleStartDesc = 'STOS_STDDEV_SAMPLE_START_DESC', - StosStddevSampleStatusAsc = 'STOS_STDDEV_SAMPLE_STATUS_ASC', - StosStddevSampleStatusDesc = 'STOS_STDDEV_SAMPLE_STATUS_DESC', - StosStddevSampleStoIdAsc = 'STOS_STDDEV_SAMPLE_STO_ID_ASC', - StosStddevSampleStoIdDesc = 'STOS_STDDEV_SAMPLE_STO_ID_DESC', - StosStddevSampleTiersAsc = 'STOS_STDDEV_SAMPLE_TIERS_ASC', - StosStddevSampleTiersDesc = 'STOS_STDDEV_SAMPLE_TIERS_DESC', - StosStddevSampleUpdatedAtAsc = 'STOS_STDDEV_SAMPLE_UPDATED_AT_ASC', - StosStddevSampleUpdatedAtDesc = 'STOS_STDDEV_SAMPLE_UPDATED_AT_DESC', - StosStddevSampleUpdatedBlockIdAsc = 'STOS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_ASC', - StosStddevSampleUpdatedBlockIdDesc = 'STOS_STDDEV_SAMPLE_UPDATED_BLOCK_ID_DESC', - StosStddevSampleVenueIdAsc = 'STOS_STDDEV_SAMPLE_VENUE_ID_ASC', - StosStddevSampleVenueIdDesc = 'STOS_STDDEV_SAMPLE_VENUE_ID_DESC', - StosSumCreatedAtAsc = 'STOS_SUM_CREATED_AT_ASC', - StosSumCreatedAtDesc = 'STOS_SUM_CREATED_AT_DESC', - StosSumCreatedBlockIdAsc = 'STOS_SUM_CREATED_BLOCK_ID_ASC', - StosSumCreatedBlockIdDesc = 'STOS_SUM_CREATED_BLOCK_ID_DESC', - StosSumCreatorIdAsc = 'STOS_SUM_CREATOR_ID_ASC', - StosSumCreatorIdDesc = 'STOS_SUM_CREATOR_ID_DESC', - StosSumEndAsc = 'STOS_SUM_END_ASC', - StosSumEndDesc = 'STOS_SUM_END_DESC', - StosSumIdAsc = 'STOS_SUM_ID_ASC', - StosSumIdDesc = 'STOS_SUM_ID_DESC', - StosSumMinimumInvestmentAsc = 'STOS_SUM_MINIMUM_INVESTMENT_ASC', - StosSumMinimumInvestmentDesc = 'STOS_SUM_MINIMUM_INVESTMENT_DESC', - StosSumNameAsc = 'STOS_SUM_NAME_ASC', - StosSumNameDesc = 'STOS_SUM_NAME_DESC', - StosSumOfferingAssetIdAsc = 'STOS_SUM_OFFERING_ASSET_ID_ASC', - StosSumOfferingAssetIdDesc = 'STOS_SUM_OFFERING_ASSET_ID_DESC', - StosSumOfferingPortfolioIdAsc = 'STOS_SUM_OFFERING_PORTFOLIO_ID_ASC', - StosSumOfferingPortfolioIdDesc = 'STOS_SUM_OFFERING_PORTFOLIO_ID_DESC', - StosSumRaisingAssetIdAsc = 'STOS_SUM_RAISING_ASSET_ID_ASC', - StosSumRaisingAssetIdDesc = 'STOS_SUM_RAISING_ASSET_ID_DESC', - StosSumRaisingPortfolioIdAsc = 'STOS_SUM_RAISING_PORTFOLIO_ID_ASC', - StosSumRaisingPortfolioIdDesc = 'STOS_SUM_RAISING_PORTFOLIO_ID_DESC', - StosSumStartAsc = 'STOS_SUM_START_ASC', - StosSumStartDesc = 'STOS_SUM_START_DESC', - StosSumStatusAsc = 'STOS_SUM_STATUS_ASC', - StosSumStatusDesc = 'STOS_SUM_STATUS_DESC', - StosSumStoIdAsc = 'STOS_SUM_STO_ID_ASC', - StosSumStoIdDesc = 'STOS_SUM_STO_ID_DESC', - StosSumTiersAsc = 'STOS_SUM_TIERS_ASC', - StosSumTiersDesc = 'STOS_SUM_TIERS_DESC', - StosSumUpdatedAtAsc = 'STOS_SUM_UPDATED_AT_ASC', - StosSumUpdatedAtDesc = 'STOS_SUM_UPDATED_AT_DESC', - StosSumUpdatedBlockIdAsc = 'STOS_SUM_UPDATED_BLOCK_ID_ASC', - StosSumUpdatedBlockIdDesc = 'STOS_SUM_UPDATED_BLOCK_ID_DESC', - StosSumVenueIdAsc = 'STOS_SUM_VENUE_ID_ASC', - StosSumVenueIdDesc = 'STOS_SUM_VENUE_ID_DESC', - StosVariancePopulationCreatedAtAsc = 'STOS_VARIANCE_POPULATION_CREATED_AT_ASC', - StosVariancePopulationCreatedAtDesc = 'STOS_VARIANCE_POPULATION_CREATED_AT_DESC', - StosVariancePopulationCreatedBlockIdAsc = 'STOS_VARIANCE_POPULATION_CREATED_BLOCK_ID_ASC', - StosVariancePopulationCreatedBlockIdDesc = 'STOS_VARIANCE_POPULATION_CREATED_BLOCK_ID_DESC', - StosVariancePopulationCreatorIdAsc = 'STOS_VARIANCE_POPULATION_CREATOR_ID_ASC', - StosVariancePopulationCreatorIdDesc = 'STOS_VARIANCE_POPULATION_CREATOR_ID_DESC', - StosVariancePopulationEndAsc = 'STOS_VARIANCE_POPULATION_END_ASC', - StosVariancePopulationEndDesc = 'STOS_VARIANCE_POPULATION_END_DESC', - StosVariancePopulationIdAsc = 'STOS_VARIANCE_POPULATION_ID_ASC', - StosVariancePopulationIdDesc = 'STOS_VARIANCE_POPULATION_ID_DESC', - StosVariancePopulationMinimumInvestmentAsc = 'STOS_VARIANCE_POPULATION_MINIMUM_INVESTMENT_ASC', - StosVariancePopulationMinimumInvestmentDesc = 'STOS_VARIANCE_POPULATION_MINIMUM_INVESTMENT_DESC', - StosVariancePopulationNameAsc = 'STOS_VARIANCE_POPULATION_NAME_ASC', - StosVariancePopulationNameDesc = 'STOS_VARIANCE_POPULATION_NAME_DESC', - StosVariancePopulationOfferingAssetIdAsc = 'STOS_VARIANCE_POPULATION_OFFERING_ASSET_ID_ASC', - StosVariancePopulationOfferingAssetIdDesc = 'STOS_VARIANCE_POPULATION_OFFERING_ASSET_ID_DESC', - StosVariancePopulationOfferingPortfolioIdAsc = 'STOS_VARIANCE_POPULATION_OFFERING_PORTFOLIO_ID_ASC', - StosVariancePopulationOfferingPortfolioIdDesc = 'STOS_VARIANCE_POPULATION_OFFERING_PORTFOLIO_ID_DESC', - StosVariancePopulationRaisingAssetIdAsc = 'STOS_VARIANCE_POPULATION_RAISING_ASSET_ID_ASC', - StosVariancePopulationRaisingAssetIdDesc = 'STOS_VARIANCE_POPULATION_RAISING_ASSET_ID_DESC', - StosVariancePopulationRaisingPortfolioIdAsc = 'STOS_VARIANCE_POPULATION_RAISING_PORTFOLIO_ID_ASC', - StosVariancePopulationRaisingPortfolioIdDesc = 'STOS_VARIANCE_POPULATION_RAISING_PORTFOLIO_ID_DESC', - StosVariancePopulationStartAsc = 'STOS_VARIANCE_POPULATION_START_ASC', - StosVariancePopulationStartDesc = 'STOS_VARIANCE_POPULATION_START_DESC', - StosVariancePopulationStatusAsc = 'STOS_VARIANCE_POPULATION_STATUS_ASC', - StosVariancePopulationStatusDesc = 'STOS_VARIANCE_POPULATION_STATUS_DESC', - StosVariancePopulationStoIdAsc = 'STOS_VARIANCE_POPULATION_STO_ID_ASC', - StosVariancePopulationStoIdDesc = 'STOS_VARIANCE_POPULATION_STO_ID_DESC', - StosVariancePopulationTiersAsc = 'STOS_VARIANCE_POPULATION_TIERS_ASC', - StosVariancePopulationTiersDesc = 'STOS_VARIANCE_POPULATION_TIERS_DESC', - StosVariancePopulationUpdatedAtAsc = 'STOS_VARIANCE_POPULATION_UPDATED_AT_ASC', - StosVariancePopulationUpdatedAtDesc = 'STOS_VARIANCE_POPULATION_UPDATED_AT_DESC', - StosVariancePopulationUpdatedBlockIdAsc = 'STOS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_ASC', - StosVariancePopulationUpdatedBlockIdDesc = 'STOS_VARIANCE_POPULATION_UPDATED_BLOCK_ID_DESC', - StosVariancePopulationVenueIdAsc = 'STOS_VARIANCE_POPULATION_VENUE_ID_ASC', - StosVariancePopulationVenueIdDesc = 'STOS_VARIANCE_POPULATION_VENUE_ID_DESC', - StosVarianceSampleCreatedAtAsc = 'STOS_VARIANCE_SAMPLE_CREATED_AT_ASC', - StosVarianceSampleCreatedAtDesc = 'STOS_VARIANCE_SAMPLE_CREATED_AT_DESC', - StosVarianceSampleCreatedBlockIdAsc = 'STOS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_ASC', - StosVarianceSampleCreatedBlockIdDesc = 'STOS_VARIANCE_SAMPLE_CREATED_BLOCK_ID_DESC', - StosVarianceSampleCreatorIdAsc = 'STOS_VARIANCE_SAMPLE_CREATOR_ID_ASC', - StosVarianceSampleCreatorIdDesc = 'STOS_VARIANCE_SAMPLE_CREATOR_ID_DESC', - StosVarianceSampleEndAsc = 'STOS_VARIANCE_SAMPLE_END_ASC', - StosVarianceSampleEndDesc = 'STOS_VARIANCE_SAMPLE_END_DESC', - StosVarianceSampleIdAsc = 'STOS_VARIANCE_SAMPLE_ID_ASC', - StosVarianceSampleIdDesc = 'STOS_VARIANCE_SAMPLE_ID_DESC', - StosVarianceSampleMinimumInvestmentAsc = 'STOS_VARIANCE_SAMPLE_MINIMUM_INVESTMENT_ASC', - StosVarianceSampleMinimumInvestmentDesc = 'STOS_VARIANCE_SAMPLE_MINIMUM_INVESTMENT_DESC', - StosVarianceSampleNameAsc = 'STOS_VARIANCE_SAMPLE_NAME_ASC', - StosVarianceSampleNameDesc = 'STOS_VARIANCE_SAMPLE_NAME_DESC', - StosVarianceSampleOfferingAssetIdAsc = 'STOS_VARIANCE_SAMPLE_OFFERING_ASSET_ID_ASC', - StosVarianceSampleOfferingAssetIdDesc = 'STOS_VARIANCE_SAMPLE_OFFERING_ASSET_ID_DESC', - StosVarianceSampleOfferingPortfolioIdAsc = 'STOS_VARIANCE_SAMPLE_OFFERING_PORTFOLIO_ID_ASC', - StosVarianceSampleOfferingPortfolioIdDesc = 'STOS_VARIANCE_SAMPLE_OFFERING_PORTFOLIO_ID_DESC', - StosVarianceSampleRaisingAssetIdAsc = 'STOS_VARIANCE_SAMPLE_RAISING_ASSET_ID_ASC', - StosVarianceSampleRaisingAssetIdDesc = 'STOS_VARIANCE_SAMPLE_RAISING_ASSET_ID_DESC', - StosVarianceSampleRaisingPortfolioIdAsc = 'STOS_VARIANCE_SAMPLE_RAISING_PORTFOLIO_ID_ASC', - StosVarianceSampleRaisingPortfolioIdDesc = 'STOS_VARIANCE_SAMPLE_RAISING_PORTFOLIO_ID_DESC', - StosVarianceSampleStartAsc = 'STOS_VARIANCE_SAMPLE_START_ASC', - StosVarianceSampleStartDesc = 'STOS_VARIANCE_SAMPLE_START_DESC', - StosVarianceSampleStatusAsc = 'STOS_VARIANCE_SAMPLE_STATUS_ASC', - StosVarianceSampleStatusDesc = 'STOS_VARIANCE_SAMPLE_STATUS_DESC', - StosVarianceSampleStoIdAsc = 'STOS_VARIANCE_SAMPLE_STO_ID_ASC', - StosVarianceSampleStoIdDesc = 'STOS_VARIANCE_SAMPLE_STO_ID_DESC', - StosVarianceSampleTiersAsc = 'STOS_VARIANCE_SAMPLE_TIERS_ASC', - StosVarianceSampleTiersDesc = 'STOS_VARIANCE_SAMPLE_TIERS_DESC', - StosVarianceSampleUpdatedAtAsc = 'STOS_VARIANCE_SAMPLE_UPDATED_AT_ASC', - StosVarianceSampleUpdatedAtDesc = 'STOS_VARIANCE_SAMPLE_UPDATED_AT_DESC', - StosVarianceSampleUpdatedBlockIdAsc = 'STOS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_ASC', - StosVarianceSampleUpdatedBlockIdDesc = 'STOS_VARIANCE_SAMPLE_UPDATED_BLOCK_ID_DESC', - StosVarianceSampleVenueIdAsc = 'STOS_VARIANCE_SAMPLE_VENUE_ID_ASC', - StosVarianceSampleVenueIdDesc = 'STOS_VARIANCE_SAMPLE_VENUE_ID_DESC', - TypeAsc = 'TYPE_ASC', - TypeDesc = 'TYPE_DESC', - UpdatedAtAsc = 'UPDATED_AT_ASC', - UpdatedAtDesc = 'UPDATED_AT_DESC', - UpdatedBlockIdAsc = 'UPDATED_BLOCK_ID_ASC', - UpdatedBlockIdDesc = 'UPDATED_BLOCK_ID_DESC', -} - -export type _Metadata = { - __typename?: '_Metadata'; - chain?: Maybe; - deployments?: Maybe; - dynamicDatasources?: Maybe; - evmChainId?: Maybe; - genesisHash?: Maybe; - indexerHealthy?: Maybe; - indexerNodeVersion?: Maybe; - lastProcessedHeight?: Maybe; - lastProcessedTimestamp?: Maybe; - queryNodeVersion?: Maybe; - rowCountEstimate?: Maybe>>; - specName?: Maybe; - startHeight?: Maybe; - targetHeight?: Maybe; -}; - -export type _Metadatas = { - __typename?: '_Metadatas'; - nodes: Array>; - totalCount: Scalars['Int']['output']; -}; - -export enum Account_Histories_Distinct_Enum { - Account = 'ACCOUNT', - CreatedAt = 'CREATED_AT', - CreatedBlockId = 'CREATED_BLOCK_ID', - Datetime = 'DATETIME', - EventId = 'EVENT_ID', - Id = 'ID', - Identity = 'IDENTITY', - Permissions = 'PERMISSIONS', - UpdatedAt = 'UPDATED_AT', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export enum Accounts_Distinct_Enum { - Address = 'ADDRESS', - CreatedAt = 'CREATED_AT', - CreatedBlockId = 'CREATED_BLOCK_ID', - Datetime = 'DATETIME', - EventId = 'EVENT_ID', - Id = 'ID', - IdentityId = 'IDENTITY_ID', - PermissionsId = 'PERMISSIONS_ID', - UpdatedAt = 'UPDATED_AT', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export enum Agent_Group_Memberships_Distinct_Enum { - CreatedAt = 'CREATED_AT', - CreatedBlockId = 'CREATED_BLOCK_ID', - GroupId = 'GROUP_ID', - Id = 'ID', - Member = 'MEMBER', - UpdatedAt = 'UPDATED_AT', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export enum Agent_Groups_Distinct_Enum { - CreatedAt = 'CREATED_AT', - CreatedBlockId = 'CREATED_BLOCK_ID', - Id = 'ID', - Permissions = 'PERMISSIONS', - UpdatedAt = 'UPDATED_AT', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export enum Asset_Documents_Distinct_Enum { - AssetId = 'ASSET_ID', - ContentHash = 'CONTENT_HASH', - CreatedAt = 'CREATED_AT', - CreatedBlockId = 'CREATED_BLOCK_ID', - DocumentId = 'DOCUMENT_ID', - FiledAt = 'FILED_AT', - Id = 'ID', - Link = 'LINK', - Name = 'NAME', - Type = 'TYPE', - UpdatedAt = 'UPDATED_AT', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export enum Asset_Holders_Distinct_Enum { - Amount = 'AMOUNT', - AssetId = 'ASSET_ID', - CreatedAt = 'CREATED_AT', - CreatedBlockId = 'CREATED_BLOCK_ID', - Id = 'ID', - IdentityId = 'IDENTITY_ID', - UpdatedAt = 'UPDATED_AT', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export enum Asset_Pending_Ownership_Transfers_Distinct_Enum { - CreatedAt = 'CREATED_AT', - CreatedBlockId = 'CREATED_BLOCK_ID', - Data = 'DATA', - From = 'FROM', - Id = 'ID', - Ticker = 'TICKER', - To = 'TO', - Type = 'TYPE', - UpdatedAt = 'UPDATED_AT', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export enum Asset_Transactions_Distinct_Enum { - Amount = 'AMOUNT', - AssetId = 'ASSET_ID', - CreatedAt = 'CREATED_AT', - CreatedBlockId = 'CREATED_BLOCK_ID', - Datetime = 'DATETIME', - EventId = 'EVENT_ID', - EventIdx = 'EVENT_IDX', - ExtrinsicIdx = 'EXTRINSIC_IDX', - FromPortfolioId = 'FROM_PORTFOLIO_ID', - FundingRound = 'FUNDING_ROUND', - Id = 'ID', - InstructionId = 'INSTRUCTION_ID', - InstructionMemo = 'INSTRUCTION_MEMO', - NftIds = 'NFT_IDS', - ToPortfolioId = 'TO_PORTFOLIO_ID', - UpdatedAt = 'UPDATED_AT', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export enum Assets_Distinct_Enum { - CreatedAt = 'CREATED_AT', - CreatedBlockId = 'CREATED_BLOCK_ID', - EventIdx = 'EVENT_IDX', - FundingRound = 'FUNDING_ROUND', - Id = 'ID', - Identifiers = 'IDENTIFIERS', - IsCompliancePaused = 'IS_COMPLIANCE_PAUSED', - IsDivisible = 'IS_DIVISIBLE', - IsFrozen = 'IS_FROZEN', - IsNftCollection = 'IS_NFT_COLLECTION', - IsUniquenessRequired = 'IS_UNIQUENESS_REQUIRED', - Name = 'NAME', - OwnerId = 'OWNER_ID', - Ticker = 'TICKER', - TotalSupply = 'TOTAL_SUPPLY', - TotalTransfers = 'TOTAL_TRANSFERS', - Type = 'TYPE', - UpdatedAt = 'UPDATED_AT', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export enum Authorizations_Distinct_Enum { - CreatedAt = 'CREATED_AT', - CreatedBlockId = 'CREATED_BLOCK_ID', - Data = 'DATA', - Expiry = 'EXPIRY', - FromId = 'FROM_ID', - Id = 'ID', - Status = 'STATUS', - ToId = 'TO_ID', - ToKey = 'TO_KEY', - Type = 'TYPE', - UpdatedAt = 'UPDATED_AT', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export enum Blocks_Distinct_Enum { - BlockId = 'BLOCK_ID', - CountEvents = 'COUNT_EVENTS', - CountExtrinsics = 'COUNT_EXTRINSICS', - CountExtrinsicsError = 'COUNT_EXTRINSICS_ERROR', - CountExtrinsicsSigned = 'COUNT_EXTRINSICS_SIGNED', - CountExtrinsicsSuccess = 'COUNT_EXTRINSICS_SUCCESS', - CountExtrinsicsUnsigned = 'COUNT_EXTRINSICS_UNSIGNED', - CreatedAt = 'CREATED_AT', - Datetime = 'DATETIME', - ExtrinsicsRoot = 'EXTRINSICS_ROOT', - Hash = 'HASH', - Id = 'ID', - ParentHash = 'PARENT_HASH', - ParentId = 'PARENT_ID', - SpecVersionId = 'SPEC_VERSION_ID', - StateRoot = 'STATE_ROOT', - UpdatedAt = 'UPDATED_AT', -} - -export enum Bridge_Events_Distinct_Enum { - Amount = 'AMOUNT', - CreatedAt = 'CREATED_AT', - CreatedBlockId = 'CREATED_BLOCK_ID', - Datetime = 'DATETIME', - EventIdx = 'EVENT_IDX', - Id = 'ID', - IdentityId = 'IDENTITY_ID', - Recipient = 'RECIPIENT', - TxHash = 'TX_HASH', - UpdatedAt = 'UPDATED_AT', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export enum Child_Identities_Distinct_Enum { - ChildId = 'CHILD_ID', - CreatedAt = 'CREATED_AT', - CreatedBlockId = 'CREATED_BLOCK_ID', - Id = 'ID', - ParentId = 'PARENT_ID', - UpdatedAt = 'UPDATED_AT', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export enum Claim_Scopes_Distinct_Enum { - CreatedAt = 'CREATED_AT', - CreatedBlockId = 'CREATED_BLOCK_ID', - Id = 'ID', - Scope = 'SCOPE', - Target = 'TARGET', - Ticker = 'TICKER', - UpdatedAt = 'UPDATED_AT', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export enum Claims_Distinct_Enum { - CddId = 'CDD_ID', - CreatedAt = 'CREATED_AT', - CreatedBlockId = 'CREATED_BLOCK_ID', - CustomClaimTypeId = 'CUSTOM_CLAIM_TYPE_ID', - EventIdx = 'EVENT_IDX', - Expiry = 'EXPIRY', - FilterExpiry = 'FILTER_EXPIRY', - Id = 'ID', - IssuanceDate = 'ISSUANCE_DATE', - IssuerId = 'ISSUER_ID', - Jurisdiction = 'JURISDICTION', - LastUpdateDate = 'LAST_UPDATE_DATE', - RevokeDate = 'REVOKE_DATE', - Scope = 'SCOPE', - TargetId = 'TARGET_ID', - Type = 'TYPE', - UpdatedAt = 'UPDATED_AT', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export enum Compliances_Distinct_Enum { - AssetId = 'ASSET_ID', - ComplianceId = 'COMPLIANCE_ID', - CreatedAt = 'CREATED_AT', - CreatedBlockId = 'CREATED_BLOCK_ID', - Data = 'DATA', - Id = 'ID', - UpdatedAt = 'UPDATED_AT', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export enum Confidential_Accounts_Distinct_Enum { - Account = 'ACCOUNT', - CreatedAt = 'CREATED_AT', - CreatedBlockId = 'CREATED_BLOCK_ID', - CreatorId = 'CREATOR_ID', - EventIdx = 'EVENT_IDX', - Id = 'ID', - UpdatedAt = 'UPDATED_AT', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export enum Confidential_Asset_Histories_Distinct_Enum { - Amount = 'AMOUNT', - AssetId = 'ASSET_ID', - CreatedAt = 'CREATED_AT', - CreatedBlockId = 'CREATED_BLOCK_ID', - Datetime = 'DATETIME', - EventId = 'EVENT_ID', - EventIdx = 'EVENT_IDX', - ExtrinsicIdx = 'EXTRINSIC_IDX', - FromId = 'FROM_ID', - Id = 'ID', - Memo = 'MEMO', - ToId = 'TO_ID', - TransactionId = 'TRANSACTION_ID', - UpdatedAt = 'UPDATED_AT', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export enum Confidential_Asset_Holders_Distinct_Enum { - AccountId = 'ACCOUNT_ID', - Amount = 'AMOUNT', - AssetId = 'ASSET_ID', - CreatedAt = 'CREATED_AT', - CreatedBlockId = 'CREATED_BLOCK_ID', - EventIdx = 'EVENT_IDX', - Id = 'ID', - UpdatedAt = 'UPDATED_AT', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export enum Confidential_Assets_Distinct_Enum { - AllowedVenues = 'ALLOWED_VENUES', - AssetId = 'ASSET_ID', - Auditors = 'AUDITORS', - CreatedAt = 'CREATED_AT', - CreatedBlockId = 'CREATED_BLOCK_ID', - CreatorId = 'CREATOR_ID', - Data = 'DATA', - EventIdx = 'EVENT_IDX', - Id = 'ID', - Mediators = 'MEDIATORS', - Ticker = 'TICKER', - TotalSupply = 'TOTAL_SUPPLY', - UpdatedAt = 'UPDATED_AT', - UpdatedBlockId = 'UPDATED_BLOCK_ID', - VenueFiltering = 'VENUE_FILTERING', -} - -export enum Confidential_Legs_Distinct_Enum { - AssetAuditors = 'ASSET_AUDITORS', - CreatedAt = 'CREATED_AT', - CreatedBlockId = 'CREATED_BLOCK_ID', - Id = 'ID', - Mediators = 'MEDIATORS', - ReceiverId = 'RECEIVER_ID', - SenderId = 'SENDER_ID', - TransactionId = 'TRANSACTION_ID', - UpdatedAt = 'UPDATED_AT', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export enum Confidential_Transaction_Affirmations_Distinct_Enum { - AccountId = 'ACCOUNT_ID', - CreatedAt = 'CREATED_AT', - CreatedBlockId = 'CREATED_BLOCK_ID', - EventIdx = 'EVENT_IDX', - Id = 'ID', - IdentityId = 'IDENTITY_ID', - LegId = 'LEG_ID', - Proofs = 'PROOFS', - Status = 'STATUS', - TransactionId = 'TRANSACTION_ID', - Type = 'TYPE', - UpdatedAt = 'UPDATED_AT', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export enum Confidential_Transactions_Distinct_Enum { - CreatedAt = 'CREATED_AT', - CreatedBlockId = 'CREATED_BLOCK_ID', - EventId = 'EVENT_ID', - EventIdx = 'EVENT_IDX', - Id = 'ID', - Memo = 'MEMO', - PendingAffirmations = 'PENDING_AFFIRMATIONS', - Status = 'STATUS', - UpdatedAt = 'UPDATED_AT', - UpdatedBlockId = 'UPDATED_BLOCK_ID', - VenueId = 'VENUE_ID', -} - -export enum Confidential_Venues_Distinct_Enum { - CreatedAt = 'CREATED_AT', - CreatedBlockId = 'CREATED_BLOCK_ID', - CreatorId = 'CREATOR_ID', - EventIdx = 'EVENT_IDX', - Id = 'ID', - UpdatedAt = 'UPDATED_AT', - UpdatedBlockId = 'UPDATED_BLOCK_ID', - VenueId = 'VENUE_ID', -} - -export enum Custom_Claim_Types_Distinct_Enum { - CreatedAt = 'CREATED_AT', - CreatedBlockId = 'CREATED_BLOCK_ID', - Id = 'ID', - IdentityId = 'IDENTITY_ID', - Name = 'NAME', - UpdatedAt = 'UPDATED_AT', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export enum Debugs_Distinct_Enum { - Context = 'CONTEXT', - CreatedAt = 'CREATED_AT', - Id = 'ID', - Line = 'LINE', - UpdatedAt = 'UPDATED_AT', -} - -export enum Distribution_Payments_Distinct_Enum { - Amount = 'AMOUNT', - AmountAfterTax = 'AMOUNT_AFTER_TAX', - CreatedAt = 'CREATED_AT', - CreatedBlockId = 'CREATED_BLOCK_ID', - Datetime = 'DATETIME', - DistributionId = 'DISTRIBUTION_ID', - EventId = 'EVENT_ID', - Id = 'ID', - Reclaimed = 'RECLAIMED', - TargetId = 'TARGET_ID', - Tax = 'TAX', - UpdatedAt = 'UPDATED_AT', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export enum Distributions_Distinct_Enum { - Amount = 'AMOUNT', - AssetId = 'ASSET_ID', - CreatedAt = 'CREATED_AT', - CreatedBlockId = 'CREATED_BLOCK_ID', - Currency = 'CURRENCY', - ExpiresAt = 'EXPIRES_AT', - Id = 'ID', - IdentityId = 'IDENTITY_ID', - LocalId = 'LOCAL_ID', - PaymentAt = 'PAYMENT_AT', - PerShare = 'PER_SHARE', - PortfolioId = 'PORTFOLIO_ID', - Remaining = 'REMAINING', - Taxes = 'TAXES', - UpdatedAt = 'UPDATED_AT', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export enum Events_Distinct_Enum { - Attributes = 'ATTRIBUTES', - AttributesTxt = 'ATTRIBUTES_TXT', - BlockId = 'BLOCK_ID', - ClaimExpiry = 'CLAIM_EXPIRY', - ClaimIssuer = 'CLAIM_ISSUER', - ClaimScope = 'CLAIM_SCOPE', - ClaimType = 'CLAIM_TYPE', - CorporateActionTicker = 'CORPORATE_ACTION_TICKER', - CreatedAt = 'CREATED_AT', - EventArg_0 = 'EVENT_ARG_0', - EventArg_1 = 'EVENT_ARG_1', - EventArg_2 = 'EVENT_ARG_2', - EventArg_3 = 'EVENT_ARG_3', - EventId = 'EVENT_ID', - EventIdx = 'EVENT_IDX', - ExtrinsicId = 'EXTRINSIC_ID', - ExtrinsicIdx = 'EXTRINSIC_IDX', - FundraiserOfferingAsset = 'FUNDRAISER_OFFERING_ASSET', - Id = 'ID', - ModuleId = 'MODULE_ID', - SpecVersionId = 'SPEC_VERSION_ID', - TransferTo = 'TRANSFER_TO', - UpdatedAt = 'UPDATED_AT', -} - -export enum Extrinsics_Distinct_Enum { - Address = 'ADDRESS', - BlockId = 'BLOCK_ID', - CallId = 'CALL_ID', - CreatedAt = 'CREATED_AT', - ExtrinsicHash = 'EXTRINSIC_HASH', - ExtrinsicIdx = 'EXTRINSIC_IDX', - ExtrinsicLength = 'EXTRINSIC_LENGTH', - Id = 'ID', - ModuleId = 'MODULE_ID', - Nonce = 'NONCE', - Params = 'PARAMS', - ParamsTxt = 'PARAMS_TXT', - Signed = 'SIGNED', - SignedbyAddress = 'SIGNEDBY_ADDRESS', - SpecVersionId = 'SPEC_VERSION_ID', - Success = 'SUCCESS', - UpdatedAt = 'UPDATED_AT', -} - -export enum Found_Types_Distinct_Enum { - CreatedAt = 'CREATED_AT', - Id = 'ID', - RawType = 'RAW_TYPE', - UpdatedAt = 'UPDATED_AT', -} - -export enum Fundings_Distinct_Enum { - Amount = 'AMOUNT', - AssetId = 'ASSET_ID', - CreatedAt = 'CREATED_AT', - CreatedBlockId = 'CREATED_BLOCK_ID', - Datetime = 'DATETIME', - FundingRound = 'FUNDING_ROUND', - Id = 'ID', - TotalFundingAmount = 'TOTAL_FUNDING_AMOUNT', - UpdatedAt = 'UPDATED_AT', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export enum Identities_Distinct_Enum { - CreatedAt = 'CREATED_AT', - CreatedBlockId = 'CREATED_BLOCK_ID', - Datetime = 'DATETIME', - Did = 'DID', - EventId = 'EVENT_ID', - Id = 'ID', - PrimaryAccount = 'PRIMARY_ACCOUNT', - SecondaryKeysFrozen = 'SECONDARY_KEYS_FROZEN', - UpdatedAt = 'UPDATED_AT', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export enum Instructions_Distinct_Enum { - CreatedAt = 'CREATED_AT', - CreatedBlockId = 'CREATED_BLOCK_ID', - EndBlock = 'END_BLOCK', - EventId = 'EVENT_ID', - EventIdx = 'EVENT_IDX', - Id = 'ID', - Memo = 'MEMO', - SettlementType = 'SETTLEMENT_TYPE', - Status = 'STATUS', - TradeDate = 'TRADE_DATE', - UpdatedAt = 'UPDATED_AT', - UpdatedBlockId = 'UPDATED_BLOCK_ID', - ValueDate = 'VALUE_DATE', - VenueId = 'VENUE_ID', -} - -export enum Investments_Distinct_Enum { - CreatedAt = 'CREATED_AT', - CreatedBlockId = 'CREATED_BLOCK_ID', - Datetime = 'DATETIME', - Id = 'ID', - InvestorId = 'INVESTOR_ID', - OfferingToken = 'OFFERING_TOKEN', - OfferingTokenAmount = 'OFFERING_TOKEN_AMOUNT', - RaiseToken = 'RAISE_TOKEN', - RaiseTokenAmount = 'RAISE_TOKEN_AMOUNT', - StoId = 'STO_ID', - UpdatedAt = 'UPDATED_AT', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export enum Legs_Distinct_Enum { - Addresses = 'ADDRESSES', - Amount = 'AMOUNT', - AssetId = 'ASSET_ID', - CreatedAt = 'CREATED_AT', - CreatedBlockId = 'CREATED_BLOCK_ID', - FromId = 'FROM_ID', - Id = 'ID', - InstructionId = 'INSTRUCTION_ID', - LegType = 'LEG_TYPE', - NftIds = 'NFT_IDS', - SettlementId = 'SETTLEMENT_ID', - ToId = 'TO_ID', - UpdatedAt = 'UPDATED_AT', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export enum Migrations_Distinct_Enum { - CreatedAt = 'CREATED_AT', - Executed = 'EXECUTED', - Id = 'ID', - Number = 'NUMBER', - ProcessedBlock = 'PROCESSED_BLOCK', - UpdatedAt = 'UPDATED_AT', - Version = 'VERSION', -} - -export enum Multi_Sig_Proposal_Votes_Distinct_Enum { - Action = 'ACTION', - CreatedAt = 'CREATED_AT', - CreatedBlockId = 'CREATED_BLOCK_ID', - Datetime = 'DATETIME', - EventIdx = 'EVENT_IDX', - ExtrinsicIdx = 'EXTRINSIC_IDX', - Id = 'ID', - ProposalId = 'PROPOSAL_ID', - SignerId = 'SIGNER_ID', - UpdatedAt = 'UPDATED_AT', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export enum Multi_Sig_Proposals_Distinct_Enum { - ApprovalCount = 'APPROVAL_COUNT', - CreatedAt = 'CREATED_AT', - CreatedBlockId = 'CREATED_BLOCK_ID', - CreatorAccount = 'CREATOR_ACCOUNT', - CreatorId = 'CREATOR_ID', - Datetime = 'DATETIME', - EventIdx = 'EVENT_IDX', - ExtrinsicIdx = 'EXTRINSIC_IDX', - Id = 'ID', - MultisigId = 'MULTISIG_ID', - ProposalId = 'PROPOSAL_ID', - RejectionCount = 'REJECTION_COUNT', - Status = 'STATUS', - UpdatedAt = 'UPDATED_AT', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export enum Multi_Sig_Signers_Distinct_Enum { - CreatedAt = 'CREATED_AT', - CreatedBlockId = 'CREATED_BLOCK_ID', - Id = 'ID', - MultisigId = 'MULTISIG_ID', - SignerType = 'SIGNER_TYPE', - SignerValue = 'SIGNER_VALUE', - Status = 'STATUS', - UpdatedAt = 'UPDATED_AT', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export enum Multi_Sigs_Distinct_Enum { - Address = 'ADDRESS', - CreatedAt = 'CREATED_AT', - CreatedBlockId = 'CREATED_BLOCK_ID', - CreatorAccountId = 'CREATOR_ACCOUNT_ID', - CreatorId = 'CREATOR_ID', - Id = 'ID', - SignaturesRequired = 'SIGNATURES_REQUIRED', - UpdatedAt = 'UPDATED_AT', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export enum Nft_Holders_Distinct_Enum { - AssetId = 'ASSET_ID', - CreatedAt = 'CREATED_AT', - CreatedBlockId = 'CREATED_BLOCK_ID', - Id = 'ID', - IdentityId = 'IDENTITY_ID', - NftIds = 'NFT_IDS', - UpdatedAt = 'UPDATED_AT', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export enum Permissions_Distinct_Enum { - Assets = 'ASSETS', - CreatedAt = 'CREATED_AT', - CreatedBlockId = 'CREATED_BLOCK_ID', - Datetime = 'DATETIME', - Id = 'ID', - Portfolios = 'PORTFOLIOS', - Transactions = 'TRANSACTIONS', - TransactionGroups = 'TRANSACTION_GROUPS', - UpdatedAt = 'UPDATED_AT', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export enum Polyx_Transactions_Distinct_Enum { - Address = 'ADDRESS', - Amount = 'AMOUNT', - CallId = 'CALL_ID', - CreatedAt = 'CREATED_AT', - CreatedBlockId = 'CREATED_BLOCK_ID', - Datetime = 'DATETIME', - EventId = 'EVENT_ID', - EventIdx = 'EVENT_IDX', - ExtrinsicId = 'EXTRINSIC_ID', - Id = 'ID', - IdentityId = 'IDENTITY_ID', - Memo = 'MEMO', - ModuleId = 'MODULE_ID', - ToAddress = 'TO_ADDRESS', - ToId = 'TO_ID', - Type = 'TYPE', - UpdatedAt = 'UPDATED_AT', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export enum Portfolio_Movements_Distinct_Enum { - Address = 'ADDRESS', - Amount = 'AMOUNT', - AssetId = 'ASSET_ID', - CreatedAt = 'CREATED_AT', - CreatedBlockId = 'CREATED_BLOCK_ID', - FromId = 'FROM_ID', - Id = 'ID', - Memo = 'MEMO', - NftIds = 'NFT_IDS', - ToId = 'TO_ID', - Type = 'TYPE', - UpdatedAt = 'UPDATED_AT', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export enum Portfolios_Distinct_Enum { - CreatedAt = 'CREATED_AT', - CreatedBlockId = 'CREATED_BLOCK_ID', - CustodianId = 'CUSTODIAN_ID', - DeletedAt = 'DELETED_AT', - EventIdx = 'EVENT_IDX', - Id = 'ID', - IdentityId = 'IDENTITY_ID', - Name = 'NAME', - Number = 'NUMBER', - UpdatedAt = 'UPDATED_AT', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export enum Proposal_Votes_Distinct_Enum { - Account = 'ACCOUNT', - CreatedAt = 'CREATED_AT', - CreatedBlockId = 'CREATED_BLOCK_ID', - Id = 'ID', - ProposalId = 'PROPOSAL_ID', - UpdatedAt = 'UPDATED_AT', - UpdatedBlockId = 'UPDATED_BLOCK_ID', - Vote = 'VOTE', - Weight = 'WEIGHT', -} - -export enum Proposals_Distinct_Enum { - Balance = 'BALANCE', - CreatedAt = 'CREATED_AT', - CreatedBlockId = 'CREATED_BLOCK_ID', - Description = 'DESCRIPTION', - Id = 'ID', - OwnerId = 'OWNER_ID', - Proposer = 'PROPOSER', - Snapshotted = 'SNAPSHOTTED', - State = 'STATE', - TotalAyeWeight = 'TOTAL_AYE_WEIGHT', - TotalNayWeight = 'TOTAL_NAY_WEIGHT', - UpdatedAt = 'UPDATED_AT', - UpdatedBlockId = 'UPDATED_BLOCK_ID', - Url = 'URL', -} - -export enum Settlements_Distinct_Enum { - CreatedAt = 'CREATED_AT', - CreatedBlockId = 'CREATED_BLOCK_ID', - Id = 'ID', - Result = 'RESULT', - UpdatedAt = 'UPDATED_AT', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export enum Staking_Events_Distinct_Enum { - Amount = 'AMOUNT', - CreatedAt = 'CREATED_AT', - CreatedBlockId = 'CREATED_BLOCK_ID', - Datetime = 'DATETIME', - EventId = 'EVENT_ID', - Id = 'ID', - IdentityId = 'IDENTITY_ID', - NominatedValidators = 'NOMINATED_VALIDATORS', - StashAccount = 'STASH_ACCOUNT', - TransactionId = 'TRANSACTION_ID', - UpdatedAt = 'UPDATED_AT', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export enum Stat_Types_Distinct_Enum { - AssetId = 'ASSET_ID', - ClaimIssuerId = 'CLAIM_ISSUER_ID', - ClaimType = 'CLAIM_TYPE', - CreatedAt = 'CREATED_AT', - CreatedBlockId = 'CREATED_BLOCK_ID', - Id = 'ID', - OpType = 'OP_TYPE', - UpdatedAt = 'UPDATED_AT', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export enum Stos_Distinct_Enum { - CreatedAt = 'CREATED_AT', - CreatedBlockId = 'CREATED_BLOCK_ID', - CreatorId = 'CREATOR_ID', - End = 'END', - Id = 'ID', - MinimumInvestment = 'MINIMUM_INVESTMENT', - Name = 'NAME', - OfferingAssetId = 'OFFERING_ASSET_ID', - OfferingPortfolioId = 'OFFERING_PORTFOLIO_ID', - RaisingAssetId = 'RAISING_ASSET_ID', - RaisingPortfolioId = 'RAISING_PORTFOLIO_ID', - Start = 'START', - Status = 'STATUS', - StoId = 'STO_ID', - Tiers = 'TIERS', - UpdatedAt = 'UPDATED_AT', - UpdatedBlockId = 'UPDATED_BLOCK_ID', - VenueId = 'VENUE_ID', -} - -export enum Subquery_Versions_Distinct_Enum { - CreatedAt = 'CREATED_AT', - Id = 'ID', - UpdatedAt = 'UPDATED_AT', - Version = 'VERSION', -} - -export enum Ticker_External_Agent_Actions_Distinct_Enum { - AssetId = 'ASSET_ID', - CallerId = 'CALLER_ID', - CreatedAt = 'CREATED_AT', - CreatedBlockId = 'CREATED_BLOCK_ID', - EventId = 'EVENT_ID', - EventIdx = 'EVENT_IDX', - Id = 'ID', - PalletName = 'PALLET_NAME', - UpdatedAt = 'UPDATED_AT', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export enum Ticker_External_Agent_Histories_Distinct_Enum { - AssetId = 'ASSET_ID', - CreatedAt = 'CREATED_AT', - CreatedBlockId = 'CREATED_BLOCK_ID', - Datetime = 'DATETIME', - EventIdx = 'EVENT_IDX', - Id = 'ID', - IdentityId = 'IDENTITY_ID', - Permissions = 'PERMISSIONS', - Type = 'TYPE', - UpdatedAt = 'UPDATED_AT', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export enum Ticker_External_Agents_Distinct_Enum { - AssetId = 'ASSET_ID', - CallerId = 'CALLER_ID', - CreatedAt = 'CREATED_AT', - CreatedBlockId = 'CREATED_BLOCK_ID', - Datetime = 'DATETIME', - EventIdx = 'EVENT_IDX', - Id = 'ID', - UpdatedAt = 'UPDATED_AT', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export enum Transfer_Compliance_Exemptions_Distinct_Enum { - AssetId = 'ASSET_ID', - ClaimType = 'CLAIM_TYPE', - CreatedAt = 'CREATED_AT', - CreatedBlockId = 'CREATED_BLOCK_ID', - ExemptedEntityId = 'EXEMPTED_ENTITY_ID', - Id = 'ID', - OpType = 'OP_TYPE', - UpdatedAt = 'UPDATED_AT', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export enum Transfer_Compliances_Distinct_Enum { - AssetId = 'ASSET_ID', - ClaimIssuerId = 'CLAIM_ISSUER_ID', - ClaimType = 'CLAIM_TYPE', - ClaimValue = 'CLAIM_VALUE', - CreatedAt = 'CREATED_AT', - CreatedBlockId = 'CREATED_BLOCK_ID', - Id = 'ID', - Max = 'MAX', - Min = 'MIN', - StatTypeId = 'STAT_TYPE_ID', - Type = 'TYPE', - UpdatedAt = 'UPDATED_AT', - UpdatedBlockId = 'UPDATED_BLOCK_ID', - Value = 'VALUE', -} - -export enum Transfer_Managers_Distinct_Enum { - AssetId = 'ASSET_ID', - CreatedAt = 'CREATED_AT', - CreatedBlockId = 'CREATED_BLOCK_ID', - ExemptedEntities = 'EXEMPTED_ENTITIES', - Id = 'ID', - Type = 'TYPE', - UpdatedAt = 'UPDATED_AT', - UpdatedBlockId = 'UPDATED_BLOCK_ID', - Value = 'VALUE', -} - -export enum Trusted_Claim_Issuers_Distinct_Enum { - AssetId = 'ASSET_ID', - CreatedAt = 'CREATED_AT', - CreatedBlockId = 'CREATED_BLOCK_ID', - EventIdx = 'EVENT_IDX', - Id = 'ID', - Issuer = 'ISSUER', - UpdatedAt = 'UPDATED_AT', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} - -export enum Venues_Distinct_Enum { - CreatedAt = 'CREATED_AT', - CreatedBlockId = 'CREATED_BLOCK_ID', - Details = 'DETAILS', - Id = 'ID', - OwnerId = 'OWNER_ID', - Type = 'TYPE', - UpdatedAt = 'UPDATED_AT', - UpdatedBlockId = 'UPDATED_BLOCK_ID', -} diff --git a/src/middleware/typesV1.ts b/src/middleware/typesV1.ts deleted file mode 100644 index 293e44278d..0000000000 --- a/src/middleware/typesV1.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { Scalars } from '~/middleware/types'; - -export enum ClaimScopeTypeEnum { - Identity = 'Identity', - Ticker = 'Ticker', - Custom = 'Custom', -} - -export type MiddlewareScope = Scalars['JSON']['input']; - -export enum SettlementDirectionEnum { - None = 'None', - Incoming = 'Incoming', - Outgoing = 'Outgoing', -} diff --git a/src/testUtils/mocks/dataSources.ts b/src/testUtils/mocks/dataSources.ts index de7b01a303..cfd38d9567 100644 --- a/src/testUtils/mocks/dataSources.ts +++ b/src/testUtils/mocks/dataSources.ts @@ -32,7 +32,6 @@ import { Balance, Block, BlockHash, - Call, DispatchError, DispatchErrorModule, DispatchErrorModuleU8, @@ -68,13 +67,11 @@ import { PalletConfidentialAssetTransactionLegId, PalletConfidentialAssetTransactionLegState, PalletConfidentialAssetTransactionStatus, - PalletContractsStorageContractInfo, PalletCorporateActionsCaCheckpoint, PalletCorporateActionsCaId, PalletCorporateActionsCaKind, PalletCorporateActionsCorporateAction, PalletCorporateActionsDistribution, - PalletCorporateActionsInitiateCorporateActionArgs, PalletCorporateActionsRecordDate, PalletCorporateActionsRecordDateSpec, PalletCorporateActionsTargetIdentities, @@ -90,10 +87,6 @@ import { PolymeshPrimitivesAgentAgentGroup, PolymeshPrimitivesAssetAssetType, PolymeshPrimitivesAssetIdentifier, - PolymeshPrimitivesAssetMetadataAssetMetadataKey, - PolymeshPrimitivesAssetMetadataAssetMetadataLockStatus, - PolymeshPrimitivesAssetMetadataAssetMetadataSpec, - PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail, PolymeshPrimitivesAssetNonFungibleType, PolymeshPrimitivesAuthorization, PolymeshPrimitivesAuthorizationAuthorizationData, @@ -116,7 +109,6 @@ import { PolymeshPrimitivesIdentityIdPortfolioKind, PolymeshPrimitivesJurisdictionCountryCode, PolymeshPrimitivesMemo, - PolymeshPrimitivesMultisigProposalDetails, PolymeshPrimitivesMultisigProposalStatus, PolymeshPrimitivesNftNfTs, PolymeshPrimitivesPortfolioFund, @@ -130,20 +122,14 @@ import { PolymeshPrimitivesSettlementInstruction, PolymeshPrimitivesSettlementInstructionStatus, PolymeshPrimitivesSettlementLeg, - PolymeshPrimitivesSettlementMediatorAffirmationStatus, PolymeshPrimitivesSettlementSettlementType, PolymeshPrimitivesSettlementVenueType, - PolymeshPrimitivesStatisticsStat2ndKey, PolymeshPrimitivesStatisticsStatClaim, - PolymeshPrimitivesStatisticsStatOpType, - PolymeshPrimitivesStatisticsStatType, - PolymeshPrimitivesStatisticsStatUpdate, PolymeshPrimitivesSubsetSubsetRestrictionDispatchableName, PolymeshPrimitivesSubsetSubsetRestrictionPalletPermissions, PolymeshPrimitivesSubsetSubsetRestrictionPortfolioId, PolymeshPrimitivesSubsetSubsetRestrictionTicker, PolymeshPrimitivesTicker, - PolymeshPrimitivesTransferComplianceAssetTransferCompliance, PolymeshPrimitivesTransferComplianceTransferCondition, } from '@polkadot/types/lookup'; import { @@ -157,19 +143,24 @@ import { Signer as PolkadotSigner, } from '@polkadot/types/types'; import { hexToU8a, stringToU8a } from '@polkadot/util'; +import { + AccountBalance, + ClaimType, + MiddlewareMetadata, + SignerType, + UnsubCallback, +} from '@polymeshassociation/polymesh-sdk/types'; +import { PolymeshTx } from '@polymeshassociation/polymesh-sdk/types/internal'; import { SigningManager } from '@polymeshassociation/signing-manager-types'; import BigNumber from 'bignumber.js'; import { EventEmitter } from 'events'; import { when } from 'jest-when'; import { cloneDeep, map, merge, upperFirst } from 'lodash'; -import { HistoricPolyxTransaction } from '~/api/entities/Account/types'; import { Account, AuthorizationRequest, ChildIdentity, Context, Identity } from '~/internal'; -import { BalanceTypeEnum, CallIdEnum, EventIdEnum, ModuleIdEnum } from '~/middleware/types'; import { AssetComplianceResult, AuthorizationType as MeshAuthorizationType, - CanTransferGranularReturn, CanTransferResult, CddStatus, ComplianceRequirementResult, @@ -181,32 +172,20 @@ import { } from '~/polkadot/polymesh'; import { dsMockUtils } from '~/testUtils/mocks'; import { Mocked } from '~/testUtils/types'; -import { - AccountBalance, - CheckPermissionsResult, - CheckRolesResult, - ClaimData, - ClaimType, - CountryCode as CountryCodeEnum, - DistributionWithDetails, - ExtrinsicData, - MiddlewareMetadata, - PermissionedAccount, - ProtocolFees, - ResultSet, - ScopeType, - SignerType, - StatType, - SubsidyWithAllowance, - TxTags, - UnsubCallback, -} from '~/types'; -import { Consts, Extrinsics, PolymeshTx, Queries, Rpcs } from '~/types/internal'; +import { ConfidentialCheckRolesResult, CountryCode as CountryCodeEnum } from '~/types'; +import { CheckPermissionsResult, Consts, Extrinsics, Queries, Rpcs } from '~/types/internal'; import { ArgsType, Mutable, tuple } from '~/types/utils'; import { STATE_RUNTIME_VERSION_CALL, SYSTEM_VERSION_RPC_CALL } from '~/utils/constants'; let apiEmitter: EventEmitter; +interface TxMockData { + statusCallback: StatusCallback; + unsubCallback: UnsubCallback; + status: MockTxStatus; + resolved: boolean; +} + /** * Create a mock instance of the Polkadot API */ @@ -399,48 +378,32 @@ let errorMock: jest.Mock; type StatusCallback = (receipt: ISubmittableResult) => void; -interface TxMockData { - statusCallback: StatusCallback; - unsubCallback: UnsubCallback; - status: MockTxStatus; - resolved: boolean; -} interface ContextOptions { did?: string; withSigningManager?: boolean; balance?: AccountBalance; - subsidy?: SubsidyWithAllowance; hasRoles?: boolean; - checkRoles?: CheckRolesResult; hasPermissions?: boolean; - checkPermissions?: CheckPermissionsResult; hasAssetPermissions?: boolean; + checkRoles?: ConfidentialCheckRolesResult; + checkPermissions?: CheckPermissionsResult; checkAssetPermissions?: CheckPermissionsResult; validCdd?: boolean; assetBalance?: BigNumber; invalidDids?: string[]; - transactionFees?: ProtocolFees[]; signingAddress?: string; nonce?: BigNumber; - issuedClaims?: ResultSet; getIdentity?: Identity; getChildIdentity?: ChildIdentity; - getIdentityClaimsFromChain?: ClaimData[]; - getIdentityClaimsFromMiddleware?: ResultSet; getExternalSigner?: PolkadotSigner; - getPolyxTransactions?: ResultSet; primaryAccount?: string; - secondaryAccounts?: ResultSet; - transactionHistory?: ResultSet; latestBlock?: BigNumber; middlewareEnabled?: boolean; middlewareAvailable?: boolean; - getMiddlewareMetadata?: MiddlewareMetadata; - sentAuthorizations?: ResultSet; isCurrentNodeArchive?: boolean; ss58Format?: BigNumber; areSecondaryAccountsFrozen?: boolean; - getDividendDistributionsForAssets?: DistributionWithDetails[]; + getMiddlewareMetadata?: MiddlewareMetadata; isFrozen?: boolean; getSigningAccounts?: Account[]; getSigningIdentity?: Identity; @@ -648,117 +611,29 @@ const defaultContextOptions: ContextOptions = { locked: new BigNumber(10), total: new BigNumber(110), }, - hasRoles: true, checkRoles: { result: true, }, - hasPermissions: true, checkPermissions: { result: true, }, - hasAssetPermissions: true, checkAssetPermissions: { result: true, }, + hasRoles: true, + hasPermissions: true, + hasAssetPermissions: true, getExternalSigner: 'signer' as PolkadotSigner, validCdd: true, assetBalance: new BigNumber(1000), invalidDids: [], - transactionFees: [ - { - tag: TxTags.asset.CreateAsset, - fees: new BigNumber(200), - }, - ], signingAddress: '0xdummy', - issuedClaims: { - data: [ - { - target: 'targetIdentity' as unknown as Identity, - issuer: 'issuerIdentity' as unknown as Identity, - issuedAt: new Date(), - lastUpdatedAt: new Date(), - expiry: null, - claim: { type: ClaimType.Accredited, scope: { type: ScopeType.Ticker, value: 'TICKER' } }, - }, - ], - next: new BigNumber(1), - count: new BigNumber(1), - }, - getIdentityClaimsFromChain: [ - { - target: 'targetIdentity' as unknown as Identity, - issuer: 'issuerIdentity' as unknown as Identity, - issuedAt: new Date(), - lastUpdatedAt: new Date(), - expiry: null, - claim: { type: ClaimType.Accredited, scope: { type: ScopeType.Ticker, value: 'TICKER' } }, - }, - ], - getIdentityClaimsFromMiddleware: { - data: [ - { - target: 'targetIdentity' as unknown as Identity, - issuer: 'issuerIdentity' as unknown as Identity, - issuedAt: new Date(), - lastUpdatedAt: new Date(), - expiry: null, - claim: { type: ClaimType.Accredited, scope: { type: ScopeType.Ticker, value: 'TICKER' } }, - }, - ], - next: new BigNumber(1), - count: new BigNumber(1), - }, - getPolyxTransactions: { - data: [ - { - callId: CallIdEnum.CreateAsset, - moduleId: ModuleIdEnum.Protocolfee, - eventId: EventIdEnum.FeeCharged, - extrinsicIdx: new BigNumber(3), - eventIndex: new BigNumber(0), - blockNumber: new BigNumber(123), - blockHash: 'someHash', - blockDate: new Date('2023/01/01'), - type: BalanceTypeEnum.Free, - amount: new BigNumber(3000).shiftedBy(-6), - fromIdentity: 'fromDid' as unknown as Identity, - fromAccount: 'fromAddress' as unknown as Account, - toIdentity: undefined, - toAccount: undefined, - memo: undefined, - }, - ], - next: new BigNumber(1), - count: new BigNumber(1), - }, primaryAccount: 'primaryAccount', - secondaryAccounts: { data: [], next: null }, - transactionHistory: { - data: [], - next: null, - count: new BigNumber(1), - }, latestBlock: new BigNumber(100), middlewareEnabled: true, middlewareAvailable: true, - getMiddlewareMetadata: { - chain: 'Polymesh Develop', - specName: 'polymesh_dev', - genesisHash: 'someGenesisHash', - lastProcessedHeight: new BigNumber(10000), - lastProcessedTimestamp: new Date('01/06/2023'), - targetHeight: new BigNumber(10000), - indexerHealthy: true, - }, - sentAuthorizations: { - data: [{} as AuthorizationRequest], - next: new BigNumber(1), - count: new BigNumber(1), - }, isCurrentNodeArchive: true, ss58Format: new BigNumber(42), - getDividendDistributionsForAssets: [], areSecondaryAccountsFrozen: false, isFrozen: false, getSigningAccounts: [], @@ -768,6 +643,15 @@ const defaultContextOptions: ContextOptions = { signingAccountAuthorizationsGetOne: {} as AuthorizationRequest, networkVersion: '1.0.0', supportsSubsidy: true, + getMiddlewareMetadata: { + chain: 'Polymesh Develop', + specName: 'polymesh_dev', + genesisHash: 'someGenesisHash', + lastProcessedHeight: new BigNumber(10000), + lastProcessedTimestamp: new Date('01/06/2023'), + targetHeight: new BigNumber(10000), + indexerHealthy: true, + }, }; let contextOptions: ContextOptions = defaultContextOptions; const defaultSigningManagerOptions: SigningManagerOptions = { @@ -784,9 +668,9 @@ function configureContext(opts: ContextOptions): void { const identity = { did: opts.did, hasRoles: jest.fn().mockResolvedValue(opts.hasRoles), - checkRoles: jest.fn().mockResolvedValue(opts.checkRoles), hasValidCdd: jest.fn().mockResolvedValue(opts.validCdd), getAssetBalance: jest.fn().mockResolvedValue(opts.assetBalance), + checkRoles: jest.fn().mockResolvedValue(opts.checkRoles), getPrimaryAccount: jest.fn().mockResolvedValue({ account: { address: opts.primaryAccount, @@ -798,10 +682,6 @@ function configureContext(opts: ContextOptions): void { portfolios: null, }, }), - getSecondaryAccounts: jest.fn().mockResolvedValue(opts.secondaryAccounts), - authorizations: { - getSent: jest.fn().mockResolvedValue(opts.sentAuthorizations), - }, assetPermissions: { hasPermissions: jest.fn().mockResolvedValue(opts.hasAssetPermissions), checkPermissions: jest.fn().mockResolvedValue(opts.checkAssetPermissions), @@ -822,9 +702,7 @@ function configureContext(opts: ContextOptions): void { getOne: jest.fn().mockResolvedValueOnce(opts.signingAccountAuthorizationsGetOne), }, getBalance: jest.fn().mockResolvedValue(opts.balance), - getSubsidy: jest.fn().mockResolvedValue(opts.subsidy), getIdentity: jest.fn().mockResolvedValue(identity), - getTransactionHistory: jest.fn().mockResolvedValue(opts.transactionHistory), hasPermissions: jest.fn().mockResolvedValue(opts.hasPermissions), checkPermissions: jest.fn().mockResolvedValue(opts.checkPermissions), isFrozen: jest.fn().mockResolvedValue(opts.isFrozen), @@ -852,7 +730,6 @@ function configureContext(opts: ContextOptions): void { getSigningAccount, getSigningAddress, accountBalance: jest.fn().mockResolvedValue(opts.balance), - accountSubsidy: jest.fn().mockResolvedValue(opts.subsidy), getSigningAccounts: jest.fn().mockResolvedValue(opts.getSigningAccounts), setSigningAddress: jest.fn().mockImplementation(address => { (contextInstance as any).signingAddress = address; @@ -867,30 +744,19 @@ function configureContext(opts: ContextOptions): void { queryMiddleware: jest.fn().mockImplementation(query => queryMock(query)), middlewareApi: mockInstanceContainer.apolloInstance, getInvalidDids: jest.fn().mockResolvedValue(opts.invalidDids), - getProtocolFees: jest.fn().mockResolvedValue(opts.transactionFees), getTransactionArguments: jest.fn().mockReturnValue([]), - getSecondaryAccounts: jest.fn().mockReturnValue({ data: opts.secondaryAccounts, next: null }), - issuedClaims: jest.fn().mockResolvedValue(opts.issuedClaims), getIdentity: jest.fn().mockResolvedValue(opts.getIdentity), getChildIdentity: jest.fn().mockResolvedValue(opts.getChildIdentity), - getIdentityClaimsFromChain: jest.fn().mockResolvedValue(opts.getIdentityClaimsFromChain), - getIdentityClaimsFromMiddleware: jest - .fn() - .mockResolvedValue(opts.getIdentityClaimsFromMiddleware), getLatestBlock: jest.fn().mockResolvedValue(opts.latestBlock), isMiddlewareEnabled: jest.fn().mockReturnValue(opts.middlewareEnabled), isMiddlewareAvailable: jest.fn().mockResolvedValue(opts.middlewareAvailable), - getMiddlewareMetadata: jest.fn().mockResolvedValue(opts.getMiddlewareMetadata), isCurrentNodeArchive: jest.fn().mockResolvedValue(opts.isCurrentNodeArchive), + getMiddlewareMetadata: jest.fn().mockResolvedValue(opts.getMiddlewareMetadata), ss58Format: opts.ss58Format, disconnect: jest.fn(), - getDividendDistributionsForAssets: jest - .fn() - .mockResolvedValue(opts.getDividendDistributionsForAssets), getNetworkVersion: jest.fn().mockResolvedValue(opts.networkVersion), supportsSubsidy: jest.fn().mockReturnValue(opts.supportsSubsidy), createType: jest.fn() as jest.Mock, - getPolyxTransactions: jest.fn().mockResolvedValue(opts.getPolyxTransactions), assertHasSigningAddress: jest.fn(), } as unknown as MockContext; @@ -3606,6 +3472,20 @@ export const createMockDistribution = (distribution?: { ); }; +/** + * @hidden + * NOTE: `isEmpty` will be set to true if no value is passed + */ +export const createMockMemo = ( + memo?: string | PolymeshPrimitivesMemo +): MockCodec => { + if (isCodec(memo)) { + return memo as MockCodec; + } + + return createMockStringCodec(memo); +}; + /** * @hidden * NOTE: `isEmpty` will be set to true if no value is passed @@ -3926,562 +3806,6 @@ export const createMockProtocolOp = ( return createMockEnum(protocolOp); }; -/** - * @hidden - * NOTE: `isEmpty` will be set to true if no value is passed - */ -export const createMockStatisticsOpType = ( - op?: PolymeshPrimitivesStatisticsStatOpType | StatType -): MockCodec => { - if (isCodec(op)) { - return op as MockCodec; - } - - return createMockCodec( - { - type: op, - isCount: op === StatType.Count, - isBalance: op === StatType.Balance, - }, - !op - ); -}; - -/** - * @hidden - * NOTE: `isEmpty` will be set to true if no value is passed - */ -export const createMockStatisticsOpTypeToStatType = ( - op?: PolymeshPrimitivesStatisticsStatType | StatType -): MockCodec => { - if (isCodec(op)) { - return op as MockCodec; - } - - return createMockCodec( - { - op: { - type: op, - isCount: op === StatType.Count, - isBalance: op === StatType.Balance, - }, - }, - !op - ); -}; - -/** - * @hidden - * NOTE: `isEmpty` will be set to true if no value is passed - */ -export const createMockStatisticsStatType = ( - stat?: - | PolymeshPrimitivesStatisticsStatType - | { - op: PolymeshPrimitivesStatisticsStatOpType; - claimIssuer: Option< - ITuple<[PolymeshPrimitivesIdentityClaimClaimType, PolymeshPrimitivesIdentityId]> - >; - } -): MockCodec => { - if (isCodec(stat)) { - return stat as MockCodec; - } - - const { op, claimIssuer } = stat ?? { - op: createMockStatisticsOpType(), - claimIssuer: createMockOption(), - }; - - return createMockCodec( - { - op, - claimIssuer: createMockOption(claimIssuer), - }, - !op - ); -}; - -/** - * @hidden - * - */ -export const createMock2ndKey = ( - key2?: - | 'NoClaimStat' - | { Claim: PolymeshPrimitivesStatisticsStatClaim } - | PolymeshPrimitivesStatisticsStat2ndKey -): MockCodec => { - if (isCodec(key2)) { - return key2 as MockCodec; - } - - return createMockEnum(key2); -}; - -/** - * @hidden - * NOTE: `isEmpty` will be set to true if no value is passed - */ -export const createMockStatUpdate = ( - update?: - | { - key2: PolymeshPrimitivesStatisticsStat2ndKey | Parameters[0]; - value: Option; - } - | PolymeshPrimitivesStatisticsStatUpdate -): MockCodec => { - const { key2, value } = update ?? { - key2: createMock2ndKey(), - value: createMockOption(), - }; - - return createMockCodec( - { - key2: createMock2ndKey(key2), - value: createMockOption(value), - }, - !update - ); -}; - -/** - * @hidden - * NOTE: `isEmpty` will be set to true if no value is passed - */ -export const createMockInitiateCorporateActionArgs = ( - caArgs?: - | PalletCorporateActionsInitiateCorporateActionArgs - | { - ticker: PolymeshPrimitivesTicker | Parameters[0]; - kind: PalletCorporateActionsCaKind | Parameters[0]; - declDate: u64 | Parameters[0]; - recordDate: Option; - details: Bytes | Parameters[0]; - targets: Option; - defaultWithholdingTax: Option; - withholdingTax: - | [ - PolymeshPrimitivesIdentityId | Parameters[0], - Permill | Parameters[0] - ][] - | null; - } -): MockCodec => { - const { - ticker, - kind, - declDate, - recordDate, - details, - targets, - defaultWithholdingTax, - withholdingTax, - } = caArgs ?? { - ticker: createMockTicker(), - kind: createMockCAKind(), - declDate: createMockU64(), - recordDate: createMockOption(), - details: createMockBytes(), - targets: createMockOption(), - defaultWithholdingTax: createMockOption(), - withholdingTax: createMockOption(), - }; - - return createMockCodec( - { - ticker: createMockTicker(ticker), - kind: createMockCAKind(kind), - declDate: createMockU64(declDate), - recordDate: createMockOption(recordDate), - details: createMockBytes(details), - targets: createMockOption(targets), - defaultWithholdingTax: createMockOption(defaultWithholdingTax), - withholdingTax, - }, - !caArgs - ); -}; - -export const createMockStatisticsStatClaim = ( - statClaim: - | PolymeshPrimitivesStatisticsStatClaim - | { Accredited: bool } - | { Affiliate: bool } - | { Jurisdiction: Option } -): MockCodec => { - if (statClaim) - if (isCodec(statClaim)) { - return statClaim as MockCodec; - } - return createMockEnum(statClaim); -}; - -/** - * @hidden - */ -export const createMockAssetTransferCompliance = ( - transferCompliance?: - | { - paused: bool | Parameters[0]; - requirements: - | BTreeSet - | Parameters[0]; - } - | PolymeshPrimitivesTransferComplianceAssetTransferCompliance -): MockCodec => { - if (isCodec(transferCompliance)) { - return transferCompliance as MockCodec; - } - const { paused, requirements } = transferCompliance ?? { - paused: dsMockUtils.createMockBool(false), - requirements: dsMockUtils.createMockBTreeSet([]), - }; - - const args = { paused: createMockBool(paused), requirements: createMockBTreeSet(requirements) }; - - return createMockCodec(args, !transferCompliance); -}; - -/** - * @hidden - * NOTE: `isEmpty` will be set to true if no value is passed - */ -export const createMockCall = (callArgs?: { - args: unknown[]; - method: string; - section: string; -}): MockCodec => { - const { args, method, section } = callArgs ?? { - args: [], - method: '', - section: '', - }; - - return createMockCodec( - { - args: createMockCodec(args, false), - method, - section, - }, - !callArgs - ) as MockCodec; -}; - -/** - * @hidden - * NOTE: `isEmpty` will be set to true if no value is passed - */ -export const createMockProposalDetails = (proposalDetails?: { - approvals: u64 | Parameters[0]; - rejections: u64 | Parameters[0]; - status: PolymeshPrimitivesMultisigProposalStatus | Parameters[0]; - autoClose: bool | Parameters[0]; - expiry: Option | null; -}): PolymeshPrimitivesMultisigProposalDetails => { - const { approvals, rejections, status, autoClose, expiry } = proposalDetails ?? { - approvals: createMockU64(), - rejections: createMockU64(), - status: createMockProposalStatus(), - autoClose: createMockBool(), - expiry: createMockOption(), - }; - return createMockCodec( - { - approvals, - rejections, - status, - expiry, - autoClose, - }, - !proposalDetails - ) as MockCodec; -}; - -/** - * @hidden - * NOTE: `isEmpty` will be set to true if no value is passed - */ -export const createMockAssetMetadataKey = ( - key: PolymeshPrimitivesAssetMetadataAssetMetadataKey | { Local: u64 } | { Global: u64 } -): MockCodec => { - if (isCodec(key)) { - return key as MockCodec; - } - - return createMockEnum(key); -}; - -/** - * @hidden - * NOTE: `isEmpty` will be set to true if no value is passed - */ -export const createMockAssetMetadataSpec = ( - specs?: - | PolymeshPrimitivesAssetMetadataAssetMetadataSpec - | { - url: Option; - description: Option; - typeDef: Option; - } -): MockCodec => { - if (isCodec(specs)) { - return specs as MockCodec; - } - - const { url, description, typeDef } = specs ?? { - url: createMockOption(), - description: createMockOption(), - typeDef: createMockOption(), - }; - - return createMockCodec( - { - url, - description, - typeDef, - }, - !specs - ); -}; - -/** - * @hidden - * NOTE: `isEmpty` will be set to true if no value is passed - */ -export const createMockAssetMetadataLockStatus = ( - args: - | { - lockStatus?: 'Locked' | 'Unlocked'; - } - | { - lockStatus: 'LockedUntil'; - lockedUntil: Date; - } -): MockCodec => { - const { lockStatus } = args; - - let meshLockStatus; - if (lockStatus === 'LockedUntil') { - const { lockedUntil } = args; - meshLockStatus = { LockedUntil: createMockU64(new BigNumber(lockedUntil.getTime())) }; - } else { - meshLockStatus = lockStatus; - } - - return createMockEnum(meshLockStatus); -}; - -/** - * @hidden - * NOTE: `isEmpty` will be set to true if no value is passed - */ -export const createMockAssetMetadataValueDetail = ( - valueDetail?: - | PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail - | { - lockStatus: PolymeshPrimitivesAssetMetadataAssetMetadataLockStatus; - expire: Option; - } -): MockCodec => { - if (isCodec(valueDetail)) { - return valueDetail as MockCodec; - } - - const { lockStatus, expire } = valueDetail ?? { - lockStatus: createMockAssetMetadataLockStatus({ lockStatus: 'Unlocked' }), - expire: createMockOption(), - }; - - return createMockCodec( - { - lockStatus, - expire, - }, - false - ); -}; - -/** - * @hidden - * NOTE: `isEmpty` will be set to true if no value is passed - */ -export const createMockMemo = ( - memo?: string | PolymeshPrimitivesMemo -): MockCodec => { - if (isCodec(memo)) { - return memo as MockCodec; - } - - return createMockStringCodec(memo); -}; - -/** - * @hidden - * NOTE: `isEmpty` will be set to true if no value is passed - */ -export const createMockContractInfo = (contractInfo?: { - trieId: Bytes; - codeHash: U8aFixed; - storageDeposit: u128; -}): MockCodec => { - const { trieId, codeHash, storageDeposit } = contractInfo ?? { - trieId: createMockBytes(), - codeHash: createMockHash(), - storageDeposit: createMockU128(), - }; - - return createMockCodec( - { - trieId, - codeHash, - storageDeposit, - }, - !contractInfo - ); -}; - -/** - * @hidden - * NOTE: `isEmpty` will be set to true if no value is passed - */ -export const createMockNfts = (nfts?: { - ticker: PolymeshPrimitivesTicker; - ids: u64[]; -}): MockCodec => { - const { ticker, ids } = nfts ?? { - ticker: createMockTicker(), - ids: [], - }; - - return createMockCodec({ ticker, ids }, !nfts); -}; - -/** - * @hidden - * NOTE: `isEmpty` will be set to true if no value is passed - */ -export const createMockCanTransferGranularReturn = ( - result?: - | { - Ok: GranularCanTransferResult; - } - | { - Err: DispatchError; - } -): MockCodec => { - return createMockEnum(result); -}; - -/** - * @hidden - * NOTE: `isEmpty` will be set to true if no value is passed - */ -export const createMockStoredSchedule = (storedSchedule?: { - schedule: Parameters[0]; - id: u64 | Parameters[0]; - at: Moment | Parameters[0]; - remaining: u32 | Parameters[0]; -}): MockCodec => { - const { schedule, id, at, remaining } = storedSchedule ?? { - schedule: createMockCheckpointSchedule(), - id: createMockU64(), - at: createMockMoment(), - remaining: createMockU32(), - }; - - return createMockCodec( - { - schedule: createMockCheckpointSchedule(schedule), - id: createMockU64(id), - at: createMockMoment(at), - remaining: createMockU32(remaining), - }, - !storedSchedule - ); -}; - -/** - * @hidden - * NOTE: `isEmpty` will be set to true if no value is passed - */ -export const createMockScheduleSpec = (scheduleSpec?: { - start: Option; - period: Parameters[0]; - remaining: u32 | Parameters[0]; -}): MockCodec => { - const { start, period, remaining } = scheduleSpec ?? { - start: createMockOption(), - period: createMockCalendarPeriod(), - remaining: createMockU32(), - }; - - return createMockCodec( - { - start: createMockOption(start), - period: createMockCalendarPeriod(period), - remaining: createMockU32(remaining), - }, - !scheduleSpec - ); -}; - -/** - * @hidden - * NOTE: `isEmpty` will be set to true if no value is passed - */ -export const createMockExtrinsicsEra = (era?: { - current: u32 | Parameters[0]; - period: u32 | Parameters[0]; -}): MockCodec => { - const { current, period } = era ?? { - current: createMockU32(), - period: createMockU32(), - }; - - return createMockCodec( - { - current, - period, - }, - !era - ); -}; - -/** - * @hidden - * NOTE: `isEmpty` will be set to true if no value is passed - */ -export const createMockSigningPayload = (mockGetters?: { - toPayload: () => string; - toRaw: () => string; -}): MockCodec => { - const { toPayload, toRaw } = mockGetters ?? { - toPayload: () => 'fakePayload', - toRaw: () => 'fakeRawPayload', - }; - - return createMockCodec( - { - toPayload, - toRaw, - }, - !mockGetters - ); -}; - -/** - * @hidden - * NOTE: `isEmpty` will be set to true if no value is passed - */ -export const createMockAffirmationExpiry = ( - affirmExpiry: Option | Parameters -): MockCodec => { - const expiry = affirmExpiry ?? dsMockUtils.createMockOption(); - - return createMockCodec({ expiry }, !affirmExpiry); -}; - /** * @hidden * NOTE: `isEmpty` will be set to true if no value is passed @@ -4510,24 +3834,6 @@ export const createMockConfidentialAssetDetails = ( return createMockCodec({ totalSupply, ownerDid, data, ticker }, !details); }; -/** - * @hidden - * NOTE: `isEmpty` will be set to true if no value is passed - */ -export const createMockMediatorAffirmationStatus = ( - status?: - | 'Unknown' - | 'Pending' - | { Affirmed: MockCodec } - | PolymeshPrimitivesSettlementMediatorAffirmationStatus -): MockCodec => { - if (isCodec(status)) { - return status as MockCodec; - } - - return createMockEnum(status); -}; - /** * @hidden * NOTE: `isEmpty` will be set to true if no value is passed diff --git a/src/testUtils/mocks/entities.ts b/src/testUtils/mocks/entities.ts index e57ad507fb..aada177d50 100644 --- a/src/testUtils/mocks/entities.ts +++ b/src/testUtils/mocks/entities.ts @@ -3,42 +3,6 @@ /* eslint-disable @typescript-eslint/naming-convention */ /* eslint-disable @typescript-eslint/no-explicit-any */ /* eslint-disable @typescript-eslint/no-use-before-define */ -import BigNumber from 'bignumber.js'; -import { pick } from 'lodash'; - -import { - Account, - AuthorizationRequest, - BaseAsset, - Checkpoint, - CheckpointSchedule, - ChildIdentity, - ConfidentialAccount, - ConfidentialAsset, - ConfidentialTransaction, - ConfidentialVenue, - CorporateAction, - CustomPermissionGroup, - DefaultPortfolio, - DividendDistribution, - FungibleAsset, - Identity, - Instruction, - KnownPermissionGroup, - MetadataEntry, - MultiSig, - MultiSigProposal, - Nft, - NftCollection, - NumberedPortfolio, - Offering, - Portfolio, - Subsidy, - TickerReservation, - Venue, -} from '~/internal'; -import { entityMockUtils } from '~/testUtils/mocks'; -import { Mocked } from '~/testUtils/types'; import { AccountBalance, ActiveTransferRestrictions, @@ -51,14 +15,6 @@ import { CheckRolesResult, CollectionKey, ComplianceRequirements, - ConfidentialAssetBalance, - ConfidentialAssetDetails, - ConfidentialLeg, - ConfidentialLegState, - ConfidentialLegStateWithId, - ConfidentialTransactionDetails, - ConfidentialTransactionStatus, - ConfidentialVenueFilteringDetails, CorporateActionDefaultConfig, CorporateActionKind, CorporateActionTargets, @@ -88,6 +44,7 @@ import { PermissionedAccount, PermissionGroups, PermissionGroupType, + Permissions, PolymeshError, PortfolioBalance, PortfolioCollection, @@ -105,6 +62,52 @@ import { TransferStatus, VenueDetails, VenueType, +} from '@polymeshassociation/polymesh-sdk/types'; +import BigNumber from 'bignumber.js'; +import { pick } from 'lodash'; + +import { + Account, + AuthorizationRequest, + BaseAsset, + Checkpoint, + CheckpointSchedule, + ChildIdentity, + ConfidentialAccount, + ConfidentialAsset, + ConfidentialTransaction, + ConfidentialVenue, + CorporateAction, + CustomPermissionGroup, + DefaultPortfolio, + DividendDistribution, + FungibleAsset, + Identity, + Instruction, + KnownPermissionGroup, + MetadataEntry, + MultiSig, + MultiSigProposal, + Nft, + NftCollection, + NumberedPortfolio, + Offering, + Portfolio, + Subsidy, + TickerReservation, + Venue, +} from '~/internal'; +import { entityMockUtils } from '~/testUtils/mocks'; +import { Mocked } from '~/testUtils/types'; +import { + ConfidentialAssetBalance, + ConfidentialAssetDetails, + ConfidentialLeg, + ConfidentialLegState, + ConfidentialLegStateWithId, + ConfidentialTransactionDetails, + ConfidentialTransactionStatus, + ConfidentialVenueFilteringDetails, } from '~/types'; export type MockIdentity = Mocked; @@ -256,6 +259,7 @@ interface AccountOptions extends EntityOptions { getBalance?: EntityGetter; getIdentity?: EntityGetter; getTransactionHistory?: EntityGetter; + getPermissions?: EntityGetter; hasPermissions?: EntityGetter; checkPermissions?: EntityGetter>; authorizationsGetReceived?: EntityGetter; @@ -855,6 +859,7 @@ const MockAccountClass = createMockEntityClass( getTransactionHistory!: jest.Mock; hasPermissions!: jest.Mock; checkPermissions!: jest.Mock; + getPermissions!: jest.Mock; getMultiSig!: jest.Mock; authorizations = {} as { getReceived: jest.Mock; @@ -879,6 +884,7 @@ const MockAccountClass = createMockEntityClass( this.getBalance = createEntityGetterMock(opts.getBalance); this.getIdentity = createEntityGetterMock(opts.getIdentity); this.getTransactionHistory = createEntityGetterMock(opts.getTransactionHistory); + this.getPermissions = createEntityGetterMock(opts.getPermissions); this.hasPermissions = createEntityGetterMock(opts.hasPermissions); this.checkPermissions = createEntityGetterMock(opts.checkPermissions); this.authorizations.getReceived = createEntityGetterMock(opts.authorizationsGetReceived); @@ -897,6 +903,7 @@ const MockAccountClass = createMockEntityClass( getTransactionHistory: [], getIdentity: getIdentityInstance(), isFrozen: false, + getPermissions: { assets: null, transactions: null, portfolios: null, transactionGroups: [] }, hasPermissions: true, checkPermissions: { result: true, @@ -2015,6 +2022,7 @@ const MockMultiSigClass = createMockEntityClass( getBalance!: jest.Mock; getIdentity!: jest.Mock; getTransactionHistory!: jest.Mock; + getPermissions!: jest.Mock; hasPermissions!: jest.Mock; checkPermissions!: jest.Mock; details!: jest.Mock; @@ -2039,6 +2047,7 @@ const MockMultiSigClass = createMockEntityClass( this.getIdentity = createEntityGetterMock(opts.getIdentity); this.getTransactionHistory = createEntityGetterMock(opts.getTransactionHistory); this.hasPermissions = createEntityGetterMock(opts.hasPermissions); + this.getPermissions = createEntityGetterMock(opts.getPermissions); this.checkPermissions = createEntityGetterMock(opts.checkPermissions); this.details = createEntityGetterMock(opts.details); this.getCreator = createEntityGetterMock(opts.getCreator); @@ -2056,6 +2065,7 @@ const MockMultiSigClass = createMockEntityClass( getIdentity: getIdentityInstance(), isFrozen: false, hasPermissions: true, + getPermissions: { assets: null, transactions: null, portfolios: null, transactionGroups: [] }, checkPermissions: { result: true, }, diff --git a/src/testUtils/mocks/polymeshTransaction.ts b/src/testUtils/mocks/polymeshTransaction.ts index 0bba2b58bb..ebf325e928 100644 --- a/src/testUtils/mocks/polymeshTransaction.ts +++ b/src/testUtils/mocks/polymeshTransaction.ts @@ -1,11 +1,11 @@ /* istanbul ignore file */ /* eslint-disable @typescript-eslint/naming-convention */ +import { PayingAccountFees, TransactionStatus } from '@polymeshassociation/polymesh-sdk/types'; import { merge } from 'lodash'; import { PolymeshTransaction } from '~/internal'; import { Mocked } from '~/testUtils/types'; -import { PayingAccountFees, TransactionStatus } from '~/types'; type MockTransaction = Mocked>; diff --git a/src/testUtils/mocks/procedure.ts b/src/testUtils/mocks/procedure.ts index a4b1030b6a..926f57185c 100644 --- a/src/testUtils/mocks/procedure.ts +++ b/src/testUtils/mocks/procedure.ts @@ -3,6 +3,7 @@ import { merge } from 'lodash'; +import { ConfidentialProcedure } from '~/base/ConfidentialProcedure'; import { Context, Procedure } from '~/internal'; import { Mocked } from '~/testUtils/types'; @@ -15,7 +16,7 @@ const mockInstanceContainer = { let procedureConstructorMock: jest.Mock; let prepareMock: jest.Mock; -export const MockProcedureClass = class { +export const MockConfidentialProcedureClass = class { /** * @hidden */ @@ -24,9 +25,9 @@ export const MockProcedureClass = class { } }; -export const mockProcedureModule = (path: string) => (): Record => ({ +export const mockConfidentialProcedureModule = (path: string) => (): Record => ({ ...jest.requireActual(path), - Procedure: MockProcedureClass, + ConfidentialProcedure: MockConfidentialProcedureClass, }); /** @@ -43,7 +44,7 @@ function initProcedure(): void { Object.assign(mockInstanceContainer.procedure, procedure); procedureConstructorMock.mockImplementation(args => { const value = merge({}, procedure, args); - Object.setPrototypeOf(value, require('~/internal').Procedure.prototype); + Object.setPrototypeOf(value, require('~/internal').ConfidentialProcedure.prototype); return value; }); } @@ -81,12 +82,12 @@ export function reset(): void { export function getInstance>( context: Context, storage?: S -): Procedure { +): ConfidentialProcedure { const { procedure } = mockInstanceContainer; const value = merge({ context, storage }, procedure); Object.setPrototypeOf(value, require('~/internal').Procedure.prototype); - return value as unknown as Procedure; + return value as unknown as ConfidentialProcedure; } /** diff --git a/src/types/index.ts b/src/types/index.ts index 2b8b477cec..8d3dd3b9eb 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -1,46 +1,32 @@ /* istanbul ignore file */ -import { ApiOptions } from '@polkadot/api/types'; -import { TypeDef } from '@polkadot/types/types'; -import BigNumber from 'bignumber.js'; - -import { - CorporateActionTargets, - DividendDistributionDetails, - OfferingDetails, - ScheduleDetails, - SubsidyData, - TaxWithholding, -} from '~/api/entities/types'; -import { CreateTransactionBatchParams } from '~/api/procedures/types'; -import { CountryCode, ModuleName, TxTag, TxTags } from '~/generated/types'; +import { BaseAsset } from '@polymeshassociation/polymesh-sdk/internal'; +import { ConfidentialTransactionStatusEnum } from '@polymeshassociation/polymesh-sdk/middleware/types'; import { - Account, - BaseAsset, - Checkpoint, - CheckpointSchedule, - CustomPermissionGroup, + CddProviderRole, DefaultPortfolio, - DefaultTrustedClaimIssuer, - DividendDistribution, - FungibleAsset, - Identity, - Instruction, - KnownPermissionGroup, - Nft, - NftCollection, + EventIdEnum, + GenericPolymeshTransaction, + IdentityRole, NumberedPortfolio, - Offering, - PolymeshTransaction, - PolymeshTransactionBatch, -} from '~/internal'; -import { Modify } from '~/types/utils'; + PortfolioCustodianRole, + ProcedureAuthorizationStatus, + ProcedureOpts, + SectionPermissions, + SignerType, + TickerOwnerRole, + VenueOwnerRole, +} from '@polymeshassociation/polymesh-sdk/types'; +import BigNumber from 'bignumber.js'; + +import { CountryCode, ModuleName, TxTag, TxTags } from '~/generated/types'; +import { CheckPermissionsResult } from '~/types/internal'; export { EventRecord } from '@polkadot/types/interfaces'; export { ConnectParams } from '~/api/client/Polymesh'; export * from '~/api/entities/types'; export * from '~/api/procedures/types'; -export * from '~/base/types'; +export * from '@polymeshassociation/polymesh-sdk/base/types'; export * from '~/generated/types'; export { @@ -57,42 +43,14 @@ export { NftHoldersOrderBy, Scalars, SettlementResultEnum, -} from '~/middleware/types'; -export { ClaimScopeTypeEnum, MiddlewareScope, SettlementDirectionEnum } from '~/middleware/typesV1'; +} from '@polymeshassociation/polymesh-sdk/middleware/types'; +export { + ClaimScopeTypeEnum, + MiddlewareScope, + SettlementDirectionEnum, +} from '@polymeshassociation/polymesh-sdk/middleware/typesV1'; export { CountryCode, ModuleName, TxTag, TxTags }; -export enum TransactionStatus { - /** - * the transaction is prepped to run - */ - Idle = 'Idle', - /** - * the transaction is waiting for the user's signature - */ - Unapproved = 'Unapproved', - /** - * the transaction is being executed - */ - Running = 'Running', - /** - * the transaction was rejected by the signer - */ - Rejected = 'Rejected', - /** - * the transaction was run successfully - */ - Succeeded = 'Succeeded', - /** - * the transaction's execution failed due to a an on-chain validation error, insufficient balance for fees, or other such reasons - */ - Failed = 'Failed', - /** - * the transaction couldn't be broadcast. It was either dropped, usurped or invalidated - * see https://github.com/paritytech/substrate/blob/master/primitives/transaction-pool/src/pool.rs#L58-L110 - */ - Aborted = 'Aborted', -} - // Roles export enum RoleType { @@ -106,46 +64,16 @@ export enum RoleType { ConfidentialAssetOwner = 'ConfidentialAssetOwner', ConfidentialVenueOwner = 'ConfidentialVenueOwner', } - -export interface TickerOwnerRole { - type: RoleType.TickerOwner; - ticker: string; -} - export interface ConfidentialAssetOwnerRole { type: RoleType.ConfidentialAssetOwner; assetId: string; } -export interface CddProviderRole { - type: RoleType.CddProvider; -} - -export interface VenueOwnerRole { - type: RoleType.VenueOwner; - venueId: BigNumber; -} - export interface ConfidentialVenueOwnerRole { type: RoleType.ConfidentialVenueOwner; venueId: BigNumber; } -export interface PortfolioId { - did: string; - number?: BigNumber; -} - -export interface PortfolioCustodianRole { - type: RoleType.PortfolioCustodian; - portfolioId: PortfolioId; -} - -export interface IdentityRole { - type: RoleType.Identity; - did: string; -} - export type Role = | TickerOwnerRole | CddProviderRole @@ -155,1626 +83,150 @@ export type Role = | ConfidentialAssetOwnerRole | ConfidentialVenueOwnerRole; -export enum KnownAssetType { - EquityCommon = 'EquityCommon', - EquityPreferred = 'EquityPreferred', - Commodity = 'Commodity', - FixedIncome = 'FixedIncome', - Reit = 'Reit', - Fund = 'Fund', - RevenueShareAgreement = 'RevenueShareAgreement', - StructuredProduct = 'StructuredProduct', - Derivative = 'Derivative', - StableCoin = 'StableCoin', -} - -export enum KnownNftType { - Derivative = 'Derivative', - FixedIncome = 'FixedIncome', - Invoice = 'Invoice', -} - -export enum SecurityIdentifierType { - Isin = 'Isin', - Cusip = 'Cusip', - Cins = 'Cins', - Lei = 'Lei', - Figi = 'Figi', -} - -// NOTE: query.asset.identifiers doesn’t support custom identifier types properly for now -// export type TokenIdentifierType = KnownTokenIdentifierType | { custom: string }; - -/** - * Alphanumeric standardized security identifier - */ -export interface SecurityIdentifier { - type: SecurityIdentifierType; - value: string; -} - -/** - * Document attached to a token - */ -export interface AssetDocument { - name: string; - uri: string; - /** - * hex representation of the document (must be prefixed by "0x") - */ - contentHash?: string; - type?: string; - filedAt?: Date; -} - -/** - * Type of Authorization Request - */ -export enum AuthorizationType { - AttestPrimaryKeyRotation = 'AttestPrimaryKeyRotation', - RotatePrimaryKey = 'RotatePrimaryKey', - TransferTicker = 'TransferTicker', - AddMultiSigSigner = 'AddMultiSigSigner', - TransferAssetOwnership = 'TransferAssetOwnership', - JoinIdentity = 'JoinIdentity', - PortfolioCustody = 'PortfolioCustody', - BecomeAgent = 'BecomeAgent', - AddRelayerPayingKey = 'AddRelayerPayingKey', - RotatePrimaryKeyToSecondary = 'RotatePrimaryKeyToSecondary', -} - -export enum ConditionTarget { - Sender = 'Sender', - Receiver = 'Receiver', - Both = 'Both', -} - -export enum ScopeType { - // eslint-disable-next-line @typescript-eslint/no-shadow - Identity = 'Identity', - Ticker = 'Ticker', - Custom = 'Custom', -} - -export interface Scope { - type: ScopeType; - value: string; -} - -export enum ClaimType { - Accredited = 'Accredited', - Affiliate = 'Affiliate', - BuyLockup = 'BuyLockup', - SellLockup = 'SellLockup', - CustomerDueDiligence = 'CustomerDueDiligence', - KnowYourCustomer = 'KnowYourCustomer', - Jurisdiction = 'Jurisdiction', - Exempted = 'Exempted', - Blocked = 'Blocked', - Custom = 'Custom', -} - -export interface AccreditedClaim { - type: ClaimType.Accredited; - scope: Scope; -} - -export interface AffiliateClaim { - type: ClaimType.Affiliate; - scope: Scope; -} - -export interface BuyLockupClaim { - type: ClaimType.BuyLockup; - scope: Scope; -} - -export interface SellLockupClaim { - type: ClaimType.SellLockup; - scope: Scope; -} - -export interface CddClaim { - type: ClaimType.CustomerDueDiligence; - id: string; -} - -export interface KycClaim { - type: ClaimType.KnowYourCustomer; - scope: Scope; -} - -export interface JurisdictionClaim { - type: ClaimType.Jurisdiction; - code: CountryCode; - scope: Scope; -} - -export interface ExemptedClaim { - type: ClaimType.Exempted; - scope: Scope; -} - -export interface CustomClaim { - type: ClaimType.Custom; - scope: Scope; - customClaimTypeId: BigNumber; -} - -export interface BlockedClaim { - type: ClaimType.Blocked; - scope: Scope; -} - -export type ScopedClaim = - | JurisdictionClaim - | AccreditedClaim - | AffiliateClaim - | BuyLockupClaim - | SellLockupClaim - | KycClaim - | ExemptedClaim - | BlockedClaim - | CustomClaim; - -export type UnscopedClaim = CddClaim; - -export type Claim = ScopedClaim | UnscopedClaim; - -export interface ClaimData { - target: Identity; - issuer: Identity; - issuedAt: Date; - lastUpdatedAt: Date; - expiry: Date | null; - claim: ClaimType; -} - -export type StatClaimType = ClaimType.Accredited | ClaimType.Affiliate | ClaimType.Jurisdiction; - -export interface StatJurisdictionClaimInput { - type: ClaimType.Jurisdiction; - countryCode?: CountryCode; -} - -export interface StatAccreditedClaimInput { - type: ClaimType.Accredited; - accredited: boolean; -} - -export interface StatAffiliateClaimInput { - type: ClaimType.Affiliate; - affiliate: boolean; +export interface ConfidentialOptionalArgsProcedureMethod< + MethodArgs, + ProcedureReturnValue, + ReturnValue = ProcedureReturnValue +> { + (args?: MethodArgs, opts?: ProcedureOpts): Promise< + GenericPolymeshTransaction + >; + checkAuthorization: ( + args?: MethodArgs, + opts?: ProcedureOpts + ) => Promise; } -export type InputStatClaim = - | StatJurisdictionClaimInput - | StatAccreditedClaimInput - | StatAffiliateClaimInput; - -export type InputStatType = - | { - type: StatType.Count | StatType.Balance; - } - | { - type: StatType.ScopedCount | StatType.ScopedBalance; - claimIssuer: StatClaimIssuer; - }; - /** - * Represents the StatType from the `statistics` module. - * - * @note the chain doesn't use "Scoped" types, but they are needed here to discriminate the input instead of having an optional input + * Represents the permissions that a signer must have in order to run a Procedure. In some cases, this must be determined + * in a special way for the specific Procedure. In those cases, the resulting value will either be `true` if the signer can + * run the procedure, or a string message indicating why the signer *CAN'T* run the Procedure */ -export enum StatType { - Count = 'Count', - Balance = 'Balance', - /** - * ScopedCount is an SDK only type, on chain it is `Count` with a claimType option present - */ - ScopedCount = 'ScopedCount', +export interface ConfidentialProcedureAuthorization { /** - * ScopedPercentage is an SDK only type, on chain it is `Balance` with a claimType option present + * general permissions that apply to both Secondary Key Accounts and External + * Agent Identities. Overridden by `signerPermissions` and `agentPermissions` respectively */ - ScopedBalance = 'ScopedBalance', -} -export interface IdentityWithClaims { - identity: Identity; - claims: ClaimData[]; -} - -export interface ExtrinsicData { - blockHash: string; - blockNumber: BigNumber; - blockDate: Date; - extrinsicIdx: BigNumber; + permissions?: ConfidentialSimplePermissions | true | string; /** - * public key of the signer. Unsigned transactions have no signer, in which case this value is null (example: an enacted governance proposal) + * permissions specific to secondary Accounts. This value takes precedence over `permissions` for + * secondary Accounts */ - address: string | null; + signerPermissions?: ConfidentialSimplePermissions | true | string; /** - * nonce of the transaction. Null for unsigned transactions where address is null + * permissions specific to External Agent Identities. This value takes precedence over `permissions` for + * External Agents */ - nonce: BigNumber | null; - txTag: TxTag; - params: Record[]; - success: boolean; - specVersionId: BigNumber; - extrinsicHash: string; -} - -export interface ExtrinsicDataWithFees extends ExtrinsicData { - fee: Fees; -} - -export interface ProtocolFees { - tag: TxTag; - fees: BigNumber; -} - -export interface ClaimScope { - scope: Scope | null; - ticker?: string; -} - -export interface SubmissionDetails { - blockHash: string; - transactionIndex: BigNumber; - transactionHash: string; + agentPermissions?: Omit | true | string; + roles?: Role[] | true | string; } /** - * @param IsDefault - whether the Identity is a default trusted claim issuer for an asset or just - * for a specific compliance condition. Defaults to false + * This represents positive permissions (i.e. only "includes"). It is used + * for specifying procedure requirements and querying if an Account has certain + * permissions. Null values represent full permissions in that category */ -export interface TrustedClaimIssuer { - identity: IsDefault extends true ? DefaultTrustedClaimIssuer : Identity; - /** - * a null value means that the issuer is trusted for all claim types - */ - trustedFor: ClaimType[] | null; -} - -export type InputTrustedClaimIssuer = Modify< - TrustedClaimIssuer, - { - identity: string | Identity; - } ->; - -export enum ConditionType { - IsPresent = 'IsPresent', - IsAbsent = 'IsAbsent', - IsAnyOf = 'IsAnyOf', - IsNoneOf = 'IsNoneOf', - IsExternalAgent = 'IsExternalAgent', - IsIdentity = 'IsIdentity', -} - -export interface ConditionBase { - target: ConditionTarget; +export interface ConfidentialSimplePermissions { /** - * if undefined, the default trusted claim issuers for the Asset are used + * list of required Asset permissions */ - trustedClaimIssuers?: TrustedClaimIssuer[]; -} - -export type InputConditionBase = Modify< - ConditionBase, - { - /** - * if undefined, the default trusted claim issuers for the Asset are used - */ - trustedClaimIssuers?: InputTrustedClaimIssuer[]; - } ->; - -export interface SingleClaimCondition { - type: ConditionType.IsPresent | ConditionType.IsAbsent; - claim: Claim; -} - -export interface MultiClaimCondition { - type: ConditionType.IsAnyOf | ConditionType.IsNoneOf; - claims: Claim[]; -} - -export interface IdentityCondition { - type: ConditionType.IsIdentity; - identity: Identity; -} - -export interface ExternalAgentCondition { - type: ConditionType.IsExternalAgent; -} - -export type Condition = ( - | SingleClaimCondition - | MultiClaimCondition - | IdentityCondition - | ExternalAgentCondition -) & - ConditionBase; - -export type InputCondition = ( - | SingleClaimCondition - | MultiClaimCondition - | Modify< - IdentityCondition, - { - identity: string | Identity; - } - > - | ExternalAgentCondition -) & - InputConditionBase; - -export interface Requirement { - id: BigNumber; - conditions: Condition[]; -} - -export interface ComplianceRequirements { - requirements: Requirement[]; + assets?: BaseAsset[] | null; /** - * used for conditions where no trusted claim issuers were specified + * list of required Transaction permissions */ - defaultTrustedClaimIssuers: TrustedClaimIssuer[]; -} - -export type InputRequirement = Modify; - -export interface ConditionCompliance { - condition: Condition; - complies: boolean; -} - -export interface RequirementCompliance { - id: BigNumber; - conditions: ConditionCompliance[]; - complies: boolean; -} - -export interface Compliance { - requirements: RequirementCompliance[]; - complies: boolean; + transactions?: TxTag[] | null; + /* list of required Portfolio permissions */ + portfolios?: (DefaultPortfolio | NumberedPortfolio)[] | null; } /** - * Specifies possible types of errors in the SDK + * Result of a `checkRoles` call */ -export enum ErrorCode { - /** - * transaction removed from the tx pool - */ - TransactionAborted = 'TransactionAborted', - /** - * user rejected the transaction in their wallet - */ - TransactionRejectedByUser = 'TransactionRejectedByUser', - /** - * transaction failed due to an on-chain error. This is a business logic error, - * and it should be caught by the SDK before being sent to the chain. - * Please report it to the Polymesh team - */ - TransactionReverted = 'TransactionReverted', - /** - * error that should cause termination of the calling application - */ - FatalError = 'FatalError', - /** - * user input error. This means that one or more inputs passed by the user - * do not conform to expected value ranges or types - */ - ValidationError = 'ValidationError', - /** - * user does not have the required roles/permissions to perform an operation - */ - NotAuthorized = 'NotAuthorized', - /** - * errors encountered when interacting with the historic data middleware (GQL server) - */ - MiddlewareError = 'MiddlewareError', - /** - * the data that is being fetched does not exist on-chain, or relies on non-existent data. There are - * some cases where the data did exist at some point, but has been deleted to save storage space - */ - DataUnavailable = 'DataUnavailable', - /** - * the data that is being written to the chain is the same data that is already in place. This would result - * in a redundant/useless transaction being executed - */ - NoDataChange = 'NoDataChange', - /** - * the data that is being written to the chain would result in some limit being exceeded. For example, adding a transfer - * restriction when the maximum possible amount has already been added - */ - LimitExceeded = 'LimitExceeded', - /** - * one or more base prerequisites for a transaction to be successful haven't been met. For example, reserving a ticker requires - * said ticker to not be already reserved. Attempting to reserve a ticker without that prerequisite being met would result in this - * type of error. Attempting to create an entity that already exists would also fall into this category, - * if the entity in question is supposed to be unique - */ - UnmetPrerequisite = 'UnmetPrerequisite', - /** - * this type of error is thrown when attempting to delete/modify an entity which has other entities depending on it. For example, deleting - * a Portfolio that still holds assets, or removing a Checkpoint Schedule that is being referenced by a Corporate Action - */ - EntityInUse = 'EntityInUse', +export interface ConfidentialCheckRolesResult { /** - * one or more parties involved in the transaction do not have enough balance to perform it + * required roles which the Identity *DOESN'T* have. Only present if `result` is `false` */ - InsufficientBalance = 'InsufficientBalance', + missingRoles?: Role[]; /** - * errors that are the result of something unforeseen. - * These should generally be reported to the Polymesh team + * whether the signer possesses all the required roles or not */ - UnexpectedError = 'UnexpectedError', + result: boolean; /** - * general purpose errors that don't fit well into the other categories + * optional message explaining the reason for failure in special cases */ - General = 'General', -} - -/** - * ERC1400 compliant transfer status - */ -export enum TransferStatus { - Failure = 'Failure', // 80 - Success = 'Success', // 81 - InsufficientBalance = 'InsufficientBalance', // 82 - InsufficientAllowance = 'InsufficientAllowance', // 83 - TransfersHalted = 'TransfersHalted', // 84 - FundsLocked = 'FundsLocked', // 85 - InvalidSenderAddress = 'InvalidSenderAddress', // 86 - InvalidReceiverAddress = 'InvalidReceiverAddress', // 87 - InvalidOperator = 'InvalidOperator', // 88 - InvalidSenderIdentity = 'InvalidSenderIdentity', // 160 - InvalidReceiverIdentity = 'InvalidReceiverIdentity', // 161 - ComplianceFailure = 'ComplianceFailure', // 162 - SmartExtensionFailure = 'SmartExtensionFailure', // 163 - InvalidGranularity = 'InvalidGranularity', // 164 - VolumeLimitReached = 'VolumeLimitReached', // 165 - BlockedTransaction = 'BlockedTransaction', // 166 - FundsLimitReached = 'FundsLimitReached', // 168 - PortfolioFailure = 'PortfolioFailure', // 169 - CustodianError = 'CustodianError', // 170 - ScopeClaimMissing = 'ScopeClaimMissing', // 171 - TransferRestrictionFailure = 'TransferRestrictionFailure', // 172 + message?: string; } -/** - * Akin to TransferStatus, these are a bit more granular and specific. Every TransferError translates to - * a {@link TransferStatus}, but two or more TransferErrors can represent the same TransferStatus, and - * not all Transfer Statuses are represented by a TransferError - */ -export enum TransferError { - /** - * translates to TransferStatus.InvalidGranularity - * - * occurs if attempting to transfer decimal amounts of a non-divisible token - */ - InvalidGranularity = 'InvalidGranularity', - /** - * translates to TransferStatus.InvalidReceiverIdentity - * - * occurs if the origin and destination Identities are the same - */ - SelfTransfer = 'SelfTransfer', - /** - * translates to TransferStatus.InvalidReceiverIdentity - * - * occurs if the receiver Identity doesn't have a valid CDD claim - */ - InvalidReceiverCdd = 'InvalidReceiverCdd', - /** - * translates to TransferStatus.InvalidSenderIdentity - * - * occurs if the receiver Identity doesn't have a valid CDD claim - */ - InvalidSenderCdd = 'InvalidSenderCdd', - /** - * translates to TransferStatus.ScopeClaimMissing - * - * occurs if one of the participants doesn't have a valid Investor Uniqueness Claim for - * the Asset - */ - ScopeClaimMissing = 'ScopeClaimMissing', - /** - * translates to TransferStatus.InsufficientBalance - * - * occurs if the sender Identity does not have enough balance to cover the amount - */ - InsufficientBalance = 'InsufficientBalance', +export interface ConfidentialProcedureAuthorizationStatus { /** - * translates to TransferStatus.TransfersHalted - * - * occurs if the Asset's transfers are frozen + * whether the Identity complies with all required Agent permissions */ - TransfersFrozen = 'TransfersFrozen', + agentPermissions: CheckPermissionsResult; /** - * translates to TransferStatus.PortfolioFailure - * - * occurs if the sender Portfolio doesn't exist + * whether the Account complies with all required Signer permissions */ - InvalidSenderPortfolio = 'InvalidSenderPortfolio', + signerPermissions: CheckPermissionsResult; /** - * translates to TransferStatus.PortfolioFailure - * - * occurs if the receiver Portfolio doesn't exist + * whether the Identity complies with all required Roles */ - InvalidReceiverPortfolio = 'InvalidReceiverPortfolio', + roles: ConfidentialCheckRolesResult; /** - * translates to TransferStatus.PortfolioFailure - * - * occurs if the sender Portfolio does not have enough balance to cover the amount + * whether the Account is frozen (i.e. can't perform any transactions) */ - InsufficientPortfolioBalance = 'InsufficientPortfolioBalance', - + accountFrozen: boolean; /** - * translates to TransferStatus.ComplianceFailure - * - * occurs if some compliance rule would prevent the transfer + * true only if the Procedure requires an Identity but the signing Account + * doesn't have one associated */ - ComplianceFailure = 'ComplianceFailure', + noIdentity: boolean; } -export interface ClaimTarget { - target: string | Identity; - claim: Claim; - expiry?: Date; +export interface ConfidentialProcedureMethod< + MethodArgs, + ProcedureReturnValue, + ReturnValue = ProcedureReturnValue +> { + (args: MethodArgs, opts?: ProcedureOpts): Promise< + GenericPolymeshTransaction + >; + checkAuthorization: ( + args: MethodArgs, + opts?: ProcedureOpts + ) => Promise; } -export type SubCallback = (result: T) => void | Promise; - -export type UnsubCallback = () => void; - -export interface MiddlewareConfig { - link: string; - key: string; +export interface ConfidentialNoArgsProcedureMethod< + ProcedureReturnValue, + ReturnValue = ProcedureReturnValue +> { + (opts?: ProcedureOpts): Promise>; + checkAuthorization: (opts?: ProcedureOpts) => Promise; } -export interface PolkadotConfig { - /** - * provide a locally saved metadata file for a modestly fast startup time (e.g. 1 second when provided, 1.5 seconds without). - * - * @note if not provided the SDK will read the needed data from chain during startup - * - * @note format is key as genesis hash and spec version and the value hex encoded chain metadata - * - * @example creating valid metadata - * ```ts - const meta = _polkadotApi.runtimeMetadata.toHex(); - const genesisHash = _polkadotApi.genesisHash; - const specVersion = _polkadotApi.runtimeVersion.specVersion; - - const metadata = { - [`${genesisHash}-${specVersion}`]: meta, - }; - ``` - */ - metadata?: ApiOptions['metadata']; +export type ConfidentialAssetHistoryByConfidentialAccountArgs = { + accountId: string; + eventId?: + | EventIdEnum.AccountDepositIncoming + | EventIdEnum.AccountDeposit + | EventIdEnum.AccountWithdraw; + assetId?: string; +}; - /** - * set to `true` to disable polkadot start up warnings - */ - noInitWarn?: boolean; +export type ConfidentialTransactionsByConfidentialAccountArgs = { + accountId: string; + direction: 'Incoming' | 'Outgoing' | 'All'; + status?: ConfidentialTransactionStatusEnum; +}; +/** + * Permissions related to Transactions. Can include/exclude individual transactions or entire modules + */ +export interface TransactionPermissions extends SectionPermissions { /** - * allows for types to be provided for multiple chain specs at once - * - * @note shouldn't be needed for most use cases + * Transactions to be exempted from inclusion/exclusion. This allows more granularity when + * setting permissions. For example, let's say we want to include only the `asset` and `staking` modules, + * but exclude the `asset.registerTicker` transaction. We could add both modules to `values`, and add + * `TxTags.asset.registerTicker` to `exceptions` */ - typesBundle?: ApiOptions['typesBundle']; + exceptions?: TxTag[]; } - -export interface EventIdentifier { - blockNumber: BigNumber; - blockHash: string; - blockDate: Date; - eventIndex: BigNumber; -} - -export interface Balance { - /** - * balance available for transferring and paying fees - */ - free: BigNumber; - /** - * unavailable balance, either bonded for staking or locked for some other purpose - */ - locked: BigNumber; - /** - * free + locked - */ - total: BigNumber; -} - -export type AccountBalance = Balance; - -export interface PaginationOptions { - size: BigNumber; - start?: string; -} - -export type NextKey = string | BigNumber | null; - -export interface ResultSet { - data: T[]; - next: NextKey; - /** - * @note methods will have `count` defined when middleware is configured, but be undefined otherwise. This happens when the chain node is queried directly - */ - count?: BigNumber; -} - -export interface NetworkProperties { - name: string; - version: BigNumber; -} - -export interface Fees { - /** - * bonus fee charged by certain transactions - */ - protocol: BigNumber; - /** - * regular network fee - */ - gas: BigNumber; - /** - * sum of the protocol and gas fees - */ - total: BigNumber; -} - -/** - * Type of relationship between a paying account and a beneficiary - */ -export enum PayingAccountType { - /** - * the paying Account is currently subsidizing the caller - */ - Subsidy = 'Subsidy', - /** - * the paying Account is paying for a specific transaction because of - * chain-specific constraints (e.g. the caller is accepting an invitation to an Identity - * and cannot have any funds to pay for it by definition) - */ - Other = 'Other', - /** - * the caller Account is responsible of paying the fees - */ - Caller = 'Caller', -} - -/** - * Data representing the Account responsible for paying fees for a transaction - */ -export type PayingAccount = - | { - type: PayingAccountType.Subsidy; - /** - * Account that pays for the transaction - */ - account: Account; - /** - * total amount that can be paid for - */ - allowance: BigNumber; - } - | { - type: PayingAccountType.Caller | PayingAccountType.Other; - account: Account; - }; - -/** - * Breakdown of the fees that will be paid by a specific Account for a transaction, along - * with data associated to the Paying account - */ -export interface PayingAccountFees { - /** - * fees that will be paid by the Account - */ - fees: Fees; - /** - * data related to the Account responsible of paying for the transaction - */ - payingAccountData: PayingAccount & { - /** - * free balance of the Account - */ - balance: BigNumber; - }; -} - -export enum SignerType { - /* eslint-disable @typescript-eslint/no-shadow */ - Identity = 'Identity', - Account = 'Account', - /* eslint-enable @typescript-eslint/no-shadow */ -} - -export interface SignerValue { - /** - * whether the signer is an Account or Identity - */ - type: SignerType; - /** - * address or DID (depending on whether the signer is an Account or Identity) - */ - value: string; -} - -/** - * Transaction Groups (for permissions purposes) - */ -export enum TxGroup { - /** - * - TxTags.identity.AddInvestorUniquenessClaim - * - TxTags.portfolio.MovePortfolioFunds - * - TxTags.settlement.AddInstruction - * - TxTags.settlement.AddInstructionWithMemo - * - TxTags.settlement.AddAndAffirmInstruction - * - TxTags.settlement.AddAndAffirmInstructionWithMemo - * - TxTags.settlement.AffirmInstruction - * - TxTags.settlement.RejectInstruction - * - TxTags.settlement.CreateVenue - */ - PortfolioManagement = 'PortfolioManagement', - /** - * - TxTags.asset.MakeDivisible - * - TxTags.asset.RenameAsset - * - TxTags.asset.SetFundingRound - * - TxTags.asset.AddDocuments - * - TxTags.asset.RemoveDocuments - */ - AssetManagement = 'AssetManagement', - /** - * - TxTags.asset.Freeze - * - TxTags.asset.Unfreeze - * - TxTags.identity.AddAuthorization - * - TxTags.identity.RemoveAuthorization - */ - AdvancedAssetManagement = 'AdvancedAssetManagement', - /** - * - TxTags.identity.AddInvestorUniquenessClaim - * - TxTags.settlement.CreateVenue - * - TxTags.settlement.AddInstruction - * - TxTags.settlement.AddInstructionWithMemo - * - TxTags.settlement.AddAndAffirmInstruction - * - TxTags.settlement.AddAndAffirmInstructionWithMemo - */ - Distribution = 'Distribution', - /** - * - TxTags.asset.Issue - */ - Issuance = 'Issuance', - /** - * - TxTags.complianceManager.AddDefaultTrustedClaimIssuer - * - TxTags.complianceManager.RemoveDefaultTrustedClaimIssuer - */ - TrustedClaimIssuersManagement = 'TrustedClaimIssuersManagement', - /** - * - TxTags.identity.AddClaim - * - TxTags.identity.RevokeClaim - */ - ClaimsManagement = 'ClaimsManagement', - /** - * - TxTags.complianceManager.AddComplianceRequirement - * - TxTags.complianceManager.RemoveComplianceRequirement - * - TxTags.complianceManager.PauseAssetCompliance - * - TxTags.complianceManager.ResumeAssetCompliance - * - TxTags.complianceManager.ResetAssetCompliance - */ - ComplianceRequirementsManagement = 'ComplianceRequirementsManagement', - /** - * - TxTags.checkpoint.CreateSchedule, - * - TxTags.checkpoint.RemoveSchedule, - * - TxTags.checkpoint.CreateCheckpoint, - * - TxTags.corporateAction.InitiateCorporateAction, - * - TxTags.capitalDistribution.Distribute, - * - TxTags.capitalDistribution.Claim, - * - TxTags.identity.AddInvestorUniquenessClaim, - */ - CorporateActionsManagement = 'CorporateActionsManagement', - /** - * - TxTags.sto.CreateFundraiser, - * - TxTags.sto.FreezeFundraiser, - * - TxTags.sto.Invest, - * - TxTags.sto.ModifyFundraiserWindow, - * - TxTags.sto.Stop, - * - TxTags.sto.UnfreezeFundraiser, - * - TxTags.identity.AddInvestorUniquenessClaim, - * - TxTags.asset.Issue, - * - TxTags.settlement.CreateVenue - */ - StoManagement = 'StoManagement', -} - -export enum PermissionType { - Include = 'Include', - Exclude = 'Exclude', -} - -/** - * Signer/agent permissions for a specific type - * - * @param T - type of Permissions (Asset, Transaction, Portfolio, etc) - */ -export interface SectionPermissions { - /** - * Values to be included/excluded - */ - values: T[]; - /** - * Whether the permissions are inclusive or exclusive - */ - type: PermissionType; -} - -/** - * Permissions related to Transactions. Can include/exclude individual transactions or entire modules - */ -export interface TransactionPermissions extends SectionPermissions { - /** - * Transactions to be exempted from inclusion/exclusion. This allows more granularity when - * setting permissions. For example, let's say we want to include only the `asset` and `staking` modules, - * but exclude the `asset.registerTicker` transaction. We could add both modules to `values`, and add - * `TxTags.asset.registerTicker` to `exceptions` - */ - exceptions?: TxTag[]; -} - -/** - * Permissions a Secondary Key has over the Identity. A null value means the key has - * all permissions of that type (e.g. if `assets` is null, the key has permissions over all - * of the Identity's Assets) - */ -export interface Permissions { - /** - * Assets over which this key has permissions - */ - assets: SectionPermissions | null; - /** - * Transactions this key can execute - */ - transactions: TransactionPermissions | null; - /** - * list of Transaction Groups this key can execute. Having permissions over a TxGroup - * means having permissions over every TxTag in said group. Partial group permissions are not - * covered by this value. For a full picture of transaction permissions, see the `transactions` property - * - * NOTE: If transactions is null, ignore this value - */ - transactionGroups: TxGroup[]; - /* list of Portfolios over which this key has permissions */ - portfolios: SectionPermissions | null; -} - -/** - * Asset permissions shared by agents in a group - */ -export type GroupPermissions = Pick; - -/** - * All Permission Groups of a specific Asset, separated by `known` and `custom` - */ -export interface PermissionGroups { - known: KnownPermissionGroup[]; - custom: CustomPermissionGroup[]; -} - -/** - * This represents positive permissions (i.e. only "includes"). It is used - * for specifying procedure requirements and querying if an Account has certain - * permissions. Null values represent full permissions in that category - */ -export interface SimplePermissions { - /** - * list of required Asset permissions - */ - assets?: BaseAsset[] | null; - /** - * list of required Transaction permissions - */ - transactions?: TxTag[] | null; - /* list of required Portfolio permissions */ - portfolios?: (DefaultPortfolio | NumberedPortfolio)[] | null; -} - -/** - * Result of a `checkRoles` call - */ -export interface CheckRolesResult { - /** - * required roles which the Identity *DOESN'T* have. Only present if `result` is `false` - */ - missingRoles?: Role[]; - /** - * whether the signer possesses all the required roles or not - */ - result: boolean; - /** - * optional message explaining the reason for failure in special cases - */ - message?: string; -} - -/** - * Result of a `checkPermissions` call. If `Type` is `Account`, represents whether the Account - * has all the necessary secondary key Permissions. If `Type` is `Identity`, represents whether the - * Identity has all the necessary external agent Permissions - */ -export interface CheckPermissionsResult { - /** - * required permissions which the signer *DOESN'T* have. Only present if `result` is `false` - */ - missingPermissions?: Type extends SignerType.Account ? SimplePermissions : TxTag[] | null; - /** - * whether the signer complies with the required permissions or not - */ - result: boolean; - /** - * optional message explaining the reason for failure in special cases - */ - message?: string; -} - -export enum PermissionGroupType { - /** - * all transactions authorized - */ - Full = 'Full', - /** - * not authorized: - * - externalAgents - */ - ExceptMeta = 'ExceptMeta', - /** - * authorized: - * - corporateAction - * - corporateBallot - * - capitalDistribution - */ - PolymeshV1Caa = 'PolymeshV1Caa', - /** - * authorized: - * - asset.issue - * - asset.redeem - * - asset.controllerTransfer - * - sto (except for sto.invest) - */ - PolymeshV1Pia = 'PolymeshV1Pia', -} - -export type AttestPrimaryKeyRotationAuthorizationData = { - type: AuthorizationType.AttestPrimaryKeyRotation; - value: Identity; -}; - -export type RotatePrimaryKeyAuthorizationData = { - type: AuthorizationType.RotatePrimaryKey; -}; - -export type RotatePrimaryKeyToSecondaryData = { - type: AuthorizationType.RotatePrimaryKeyToSecondary; - value: Permissions; -}; - -export type JoinIdentityAuthorizationData = { - type: AuthorizationType.JoinIdentity; - value: Permissions; -}; - -export type PortfolioCustodyAuthorizationData = { - type: AuthorizationType.PortfolioCustody; - value: NumberedPortfolio | DefaultPortfolio; -}; - -export type BecomeAgentAuthorizationData = { - type: AuthorizationType.BecomeAgent; - value: KnownPermissionGroup | CustomPermissionGroup; -}; - -export type AddRelayerPayingKeyAuthorizationData = { - type: AuthorizationType.AddRelayerPayingKey; - value: SubsidyData; -}; - -export type GenericAuthorizationData = { - type: Exclude< - AuthorizationType, - | AuthorizationType.RotatePrimaryKey - | AuthorizationType.JoinIdentity - | AuthorizationType.PortfolioCustody - | AuthorizationType.BecomeAgent - | AuthorizationType.AddRelayerPayingKey - | AuthorizationType.RotatePrimaryKeyToSecondary - | AuthorizationType.AttestPrimaryKeyRotation - >; - value: string; -}; -/** - * Authorization request data corresponding to type - */ -export type Authorization = - | AttestPrimaryKeyRotationAuthorizationData - | RotatePrimaryKeyAuthorizationData - | JoinIdentityAuthorizationData - | PortfolioCustodyAuthorizationData - | BecomeAgentAuthorizationData - | AddRelayerPayingKeyAuthorizationData - | RotatePrimaryKeyToSecondaryData - | GenericAuthorizationData; - -export enum TransactionArgumentType { - Did = 'Did', - Address = 'Address', - Text = 'Text', - Boolean = 'Boolean', - Number = 'Number', - Balance = 'Balance', - Date = 'Date', - Array = 'Array', - Tuple = 'Tuple', - SimpleEnum = 'SimpleEnum', - RichEnum = 'RichEnum', - Object = 'Object', - Unknown = 'Unknown', - Null = 'Null', -} - -export interface PlainTransactionArgument { - type: Exclude< - TransactionArgumentType, - | TransactionArgumentType.Array - | TransactionArgumentType.Tuple - | TransactionArgumentType.SimpleEnum - | TransactionArgumentType.RichEnum - | TransactionArgumentType.Object - >; -} - -export interface ArrayTransactionArgument { - type: TransactionArgumentType.Array; - internal: TransactionArgument; -} - -export interface SimpleEnumTransactionArgument { - type: TransactionArgumentType.SimpleEnum; - internal: string[]; -} - -export interface ComplexTransactionArgument { - type: - | TransactionArgumentType.RichEnum - | TransactionArgumentType.Object - | TransactionArgumentType.Tuple; - internal: TransactionArgument[]; -} - -export type TransactionArgument = { - name: string; - optional: boolean; - _rawType: TypeDef; -} & ( - | PlainTransactionArgument - | ArrayTransactionArgument - | SimpleEnumTransactionArgument - | ComplexTransactionArgument -); - -export type Signer = Identity | Account; - -export interface OfferingWithDetails { - offering: Offering; - details: OfferingDetails; -} - -export interface CheckpointWithData { - checkpoint: Checkpoint; - createdAt: Date; - totalSupply: BigNumber; -} - -export interface PermissionedAccount { - account: Account; - permissions: Permissions; -} - -export type PortfolioLike = - | string - | Identity - | NumberedPortfolio - | DefaultPortfolio - | { identity: string | Identity; id: BigNumber }; - -/** - * Permissions to grant to a Signer over an Identity - * - * {@link Permissions} - * - * @note TxGroups in the `transactionGroups` array will be transformed into their corresponding `TxTag`s - */ -export type PermissionsLike = { - /** - * Assets on which to grant permissions. A null value represents full permissions - */ - assets?: SectionPermissions | null; - /** - * Portfolios on which to grant permissions. A null value represents full permissions - */ - portfolios?: SectionPermissions | null; - /** - * transaction that the Secondary Key has permission to execute. A null value represents full permissions - */ -} & ( - | { - transactions?: TransactionPermissions | null; - } - | { - transactionGroups?: TxGroup[]; - } -); - -export interface FungiblePortfolioMovement { - asset: string | FungibleAsset; - amount: BigNumber; - /** - * identifier string to help differentiate transfers - */ - memo?: string; -} - -export type NonFungiblePortfolioMovement = { - asset: NftCollection | string; - nfts: (Nft | BigNumber)[]; - /** - * identifier string to help differentiate transfers - */ - memo?: string; -}; - -export type PortfolioMovement = FungiblePortfolioMovement | NonFungiblePortfolioMovement; -export interface ProcedureAuthorizationStatus { - /** - * whether the Identity complies with all required Agent permissions - */ - agentPermissions: CheckPermissionsResult; - /** - * whether the Account complies with all required Signer permissions - */ - signerPermissions: CheckPermissionsResult; - /** - * whether the Identity complies with all required Roles - */ - roles: CheckRolesResult; - /** - * whether the Account is frozen (i.e. can't perform any transactions) - */ - accountFrozen: boolean; - /** - * true only if the Procedure requires an Identity but the signing Account - * doesn't have one associated - */ - noIdentity: boolean; -} - -interface TransferRestrictionBase { - /** - * array of Scope/Identity IDs that are exempted from the Restriction - * - * @note if the Asset requires investor uniqueness, Scope IDs are used. Otherwise, we use Identity IDs. More on Scope IDs and investor uniqueness - * [here](https://developers.polymesh.network/introduction/identity#polymesh-unique-identity-system-puis) and - * [here](https://developers.polymesh.network/polymesh-docs/primitives/confidential-identity) - */ - exemptedIds?: string[]; -} - -export interface CountTransferRestriction extends TransferRestrictionBase { - count: BigNumber; -} - -export interface PercentageTransferRestriction extends TransferRestrictionBase { - /** - * maximum percentage (0-100) of the total supply of the Asset that can be held by a single investor at once - */ - percentage: BigNumber; -} -export interface ClaimCountTransferRestriction extends TransferRestrictionBase { - /** - * The type of investors this restriction applies to. e.g. non-accredited - */ - claim: InputStatClaim; - /** - * The minimum amount of investors the must meet the Claim criteria - */ - min: BigNumber; - /** - * The maximum amount of investors that must meet the Claim criteria - */ - max?: BigNumber; - - issuer: Identity; -} -export interface ClaimPercentageTransferRestriction extends TransferRestrictionBase { - /** - * The type of investors this restriction applies to. e.g. Canadian investor - */ - claim: InputStatClaim; - /** - * The minimum percentage of the total supply that investors meeting the Claim criteria must hold - */ - min: BigNumber; - /** - * The maximum percentage of the total supply that investors meeting the Claim criteria must hold - */ - max: BigNumber; - - issuer: Identity; -} - -export interface ActiveTransferRestrictions< - Restriction extends - | CountTransferRestriction - | PercentageTransferRestriction - | ClaimCountTransferRestriction - | ClaimPercentageTransferRestriction -> { - restrictions: Restriction[]; - /** - * amount of restrictions that can be added before reaching the shared limit - */ - availableSlots: BigNumber; -} - -export enum TransferRestrictionType { - Count = 'Count', - Percentage = 'Percentage', - ClaimCount = 'ClaimCount', - ClaimPercentage = 'ClaimPercentage', -} - -export type TransferRestriction = - | { - type: TransferRestrictionType.Count; - value: BigNumber; - } - | { type: TransferRestrictionType.Percentage; value: BigNumber } - | { - type: TransferRestrictionType.ClaimCount; - value: ClaimCountRestrictionValue; - } - | { - type: TransferRestrictionType.ClaimPercentage; - value: ClaimPercentageRestrictionValue; - }; - -export interface ClaimCountRestrictionValue { - min: BigNumber; - max?: BigNumber; - issuer: Identity; - claim: InputStatClaim; -} - -export interface ClaimPercentageRestrictionValue { - min: BigNumber; - max: BigNumber; - issuer: Identity; - claim: InputStatClaim; -} - -export interface AddCountStatInput { - count: BigNumber; -} - -export interface StatClaimIssuer { - issuer: Identity; - claimType: StatClaimType; -} - -export type ClaimCountStatInput = - | { - issuer: Identity; - claimType: ClaimType.Accredited; - value: { accredited: BigNumber; nonAccredited: BigNumber }; - } - | { - issuer: Identity; - claimType: ClaimType.Affiliate; - value: { affiliate: BigNumber; nonAffiliate: BigNumber }; - } - | { - issuer: Identity; - claimType: ClaimType.Jurisdiction; - value: { countryCode: CountryCode; count: BigNumber }[]; - }; - -export interface ScheduleWithDetails { - schedule: CheckpointSchedule; - details: ScheduleDetails; -} - -export interface DistributionWithDetails { - distribution: DividendDistribution; - details: DividendDistributionDetails; -} - -export interface DistributionPayment { - blockNumber: BigNumber; - blockHash: string; - date: Date; - target: Identity; - amount: BigNumber; - /** - * percentage (0-100) of tax withholding for the `target` identity - */ - withheldTax: BigNumber; -} - -export interface ProcedureOpts { - /** - * Account or address of a signing key to replace the current one (for this procedure only) - */ - signingAccount?: string | Account; - - /** - * nonce value for signing the transaction - * - * An {@link api/entities/Account!Account} can directly fetch its current nonce by calling {@link api/entities/Account!Account.getCurrentNonce | account.getCurrentNonce}. More information can be found at: https://polkadot.js.org/docs/api/cookbook/tx/#how-do-i-take-the-pending-tx-pool-into-account-in-my-nonce - * - * @note the passed value can be either the nonce itself or a function that returns the nonce. This allows, for example, passing a closure that increases the returned value every time it's called, or a function that fetches the nonce from the chain or a different source - */ - nonce?: BigNumber | Promise | (() => BigNumber | Promise); - - /** - * This option allows for transactions that never expire, aka "immortal". By default, a transaction is only valid for approximately 5 minutes (250 blocks) after its construction. Allows for transaction construction to be decoupled from its submission, such as requiring manual approval for the signing or providing "at least once" guarantees. - * - * More information can be found [here](https://wiki.polkadot.network/docs/build-protocol-info#transaction-mortality). Note the Polymesh chain will **never** reap Accounts, so the risk of a replay attack is mitigated. - */ - mortality?: MortalityProcedureOpt; -} - -/** - * This transaction will never expire - */ -export interface ImmortalProcedureOptValue { - readonly immortal: true; -} - -/** - * This transaction will be rejected if not included in a block after a while (default: ~5 minutes) - */ -export interface MortalProcedureOptValue { - readonly immortal: false; - /** - * The number of blocks the for which the transaction remains valid. Target block time is 6 seconds. The default should suffice for most use cases - * - * @note this value will get rounded up to the closest power of 2, e.g. `65` rounds up to `128` - * @note this value should not exceed 4096, which is the chain's `BlockHashCount` as the lesser of the two will be used. - */ - readonly lifetime?: BigNumber; -} - -export type MortalityProcedureOpt = ImmortalProcedureOptValue | MortalProcedureOptValue; - -export interface CreateTransactionBatchProcedureMethod { - ( - args: CreateTransactionBatchParams, - opts?: ProcedureOpts - ): Promise>; - checkAuthorization: ( - args: CreateTransactionBatchParams, - opts?: ProcedureOpts - ) => Promise; -} - -export interface ProcedureMethod< - MethodArgs, - ProcedureReturnValue, - ReturnValue = ProcedureReturnValue -> { - (args: MethodArgs, opts?: ProcedureOpts): Promise< - GenericPolymeshTransaction - >; - checkAuthorization: ( - args: MethodArgs, - opts?: ProcedureOpts - ) => Promise; -} - -export interface OptionalArgsProcedureMethod< - MethodArgs, - ProcedureReturnValue, - ReturnValue = ProcedureReturnValue -> { - (args?: MethodArgs, opts?: ProcedureOpts): Promise< - GenericPolymeshTransaction - >; - checkAuthorization: ( - args?: MethodArgs, - opts?: ProcedureOpts - ) => Promise; -} - -export interface NoArgsProcedureMethod { - (opts?: ProcedureOpts): Promise>; - checkAuthorization: (opts?: ProcedureOpts) => Promise; -} - -export interface GroupedInstructions { - /** - * Instructions that have already been affirmed by the Identity - */ - affirmed: Instruction[]; - /** - * Instructions that still need to be affirmed/rejected by the Identity - */ - pending: Instruction[]; - /** - * Instructions that failed in their execution (can be rescheduled). - * This group supersedes the other three, so for example, a failed Instruction - * might also belong in the `affirmed` group, but it will only be included in this one - */ - failed: Instruction[]; -} - -export type InstructionsByStatus = GroupedInstructions & { - /** - * Instructions that have one or more legs already affirmed, but still need to be one or more legs to be affirmed/rejected by the Identity - */ - partiallyAffirmed: Instruction[]; -}; - -export interface GroupedInvolvedInstructions { - /** - * Instructions where the Identity is the custodian of the leg portfolios - */ - custodied: GroupedInstructions; - /** - * Instructions where the Identity is the owner of the leg portfolios - */ - owned: Omit; -} - -export interface AssetWithGroup { - asset: FungibleAsset; - group: KnownPermissionGroup | CustomPermissionGroup; -} - -/** - * Events triggered by transactions performed by an Agent Identity, related to the Token's configuration - * For example: changing compliance requirements, inviting/removing agent Identities, freezing/unfreezing transfers - * - * Token transfers (settlements or movements between Portfolios) do not count as Operations - */ -export interface HistoricAgentOperation { - /** - * Agent Identity that performed the operations - */ - identity: Identity; - /** - * list of Token Operation Events that were triggered by the Agent Identity - */ - history: EventIdentifier[]; -} - -/** - * URI|mnemonic|hex representation of a private key - */ -export type PrivateKey = - | { - uri: string; - } - | { - mnemonic: string; - } - | { - seed: string; - }; - -/** - * Targets of a corporate action in a flexible structure for input purposes - */ -export type InputCorporateActionTargets = Modify< - CorporateActionTargets, - { - identities: (string | Identity)[]; - } ->; - -/** - * Per-Identity tax withholdings of a corporate action in a flexible structure for input purposes - */ -export type InputCorporateActionTaxWithholdings = Modify< - TaxWithholding, - { - identity: string | Identity; - } ->[]; - -export type GenericPolymeshTransaction = - | PolymeshTransaction - | PolymeshTransactionBatch; - -export type TransactionArray = { - // The type has to be any here to account for procedures with transformed return values - // eslint-disable-next-line @typescript-eslint/no-explicit-any - [K in keyof ReturnValues]: GenericPolymeshTransaction; -}; - -/** - * Transaction data for display purposes - */ -export interface TxData { - /** - * transaction string identifier - */ - tag: TxTag; - /** - * arguments with which the transaction will be called - */ - args: Args; -} - -export interface MiddlewareMetadata { - chain: string; - genesisHash: string; - indexerHealthy: boolean; - lastProcessedHeight: BigNumber; - lastProcessedTimestamp: Date; - specName: string; - targetHeight: BigNumber; -} - -/** - * Apply the {@link TxData} type to all args in an array - */ -export type MapTxData = { - [K in keyof ArgsArray]: ArgsArray[K] extends unknown[] ? TxData : never; -}; - -/** - * - */ -export interface SpWeightV2 { - refTime: BigNumber; - proofSize: BigNumber; -} - -/** - * CustomClaimType - */ -export type CustomClaimType = { - name: string; - id: BigNumber; -}; - -/** - * Represents JSON serializable data. Used for cases when the value can take on many types, like args for a MultiSig proposal. - */ -export type AnyJson = - | string - | number - | boolean - | null - | undefined - | AnyJson[] - | { - [index: string]: AnyJson; - }; - -/** - * An nft collection, along with a subset of its NFTs - */ -export interface HeldNfts { - collection: NftCollection; - nfts: Nft[]; -} - -/** - * CustomClaimType with DID that registered the CustomClaimType - */ -export type CustomClaimTypeWithDid = CustomClaimType & { did?: string }; diff --git a/src/types/internal.ts b/src/types/internal.ts index d3c2d72572..9700620b41 100644 --- a/src/types/internal.ts +++ b/src/types/internal.ts @@ -2,37 +2,20 @@ import { AugmentedEvents, - AugmentedSubmittable, DecoratedRpc, QueryableConsts, QueryableStorage, - SubmittableExtrinsic, SubmittableExtrinsics, } from '@polkadot/api/types'; import { RpcInterface } from '@polkadot/rpc-core/types'; -import { u32 } from '@polkadot/types'; +import { BaseAsset } from '@polymeshassociation/polymesh-sdk/internal'; import { - PolymeshPrimitivesStatisticsStatOpType, - PolymeshPrimitivesTicker, -} from '@polkadot/types/lookup'; -import { ISubmittableResult, Signer as PolkadotSigner } from '@polkadot/types/types'; -import BigNumber from 'bignumber.js'; + DefaultPortfolio, + NumberedPortfolio, + SignerType, +} from '@polymeshassociation/polymesh-sdk/types'; -import { Identity, Procedure } from '~/internal'; -import { CallIdEnum, ModuleIdEnum } from '~/middleware/types'; -import { - ClaimType, - InputStatClaim, - KnownAssetType, - KnownNftType, - MortalityProcedureOpt, - PermissionGroupType, - Role, - SignerValue, - SimplePermissions, - StatClaimType, - TxData, -} from '~/types'; +import { TxTag } from '~/generated/types'; /** * Polkadot's `tx` submodule @@ -68,270 +51,38 @@ export type Consts = QueryableConsts<'promise'>; export type Rpcs = DecoratedRpc<'promise', RpcInterface>; /** - * Low level transaction method in the polkadot API - * - * @param Args - arguments of the transaction - */ -export type PolymeshTx = Readonly> = - AugmentedSubmittable<(...args: Args) => SubmittableExtrinsic<'promise'>>; - -interface BaseTx { - /** - * underlying polkadot transaction object - */ - transaction: PolymeshTx; - /** - * amount by which the protocol fees should be multiplied (only applicable to transactions where the input size impacts the total fees) - */ - feeMultiplier?: BigNumber; - /** - * protocol fees associated with running the transaction (not gas). If not passed, they will be fetched from the chain. This is used for - * special cases where the fees aren't trivially derived from the extrinsic type - */ - fee?: BigNumber; -} - -/** - * Object containing a low level transaction and its respective arguments - */ -export type TxWithArgs = BaseTx & - (Args extends [] - ? { - args?: undefined; // this ugly hack is so that tx args don't have to be passed for transactions that don't take args - } - : { - args: Args; - }); - -export type TxDataWithFees = TxData & - Omit, 'args'>; - -/** - * Apply the {@link PolymeshTx} type to all args in an array - */ -export type MapPolymeshTx = { - [K in keyof ArgsArray]: ArgsArray[K] extends unknown[] ? PolymeshTx : never; -}; - -/** - * Apply the {@link TxWithArgs} type to all args in an array - */ -export type MapTxWithArgs = { - [K in keyof ArgsArray]: ArgsArray[K] extends unknown[] ? TxWithArgs : never; -}; - -/** - * Apply the {@link TxDataWithFees} type to all args in an array - */ -export type MapTxDataWithFees = { - [K in keyof ArgsArray]: ArgsArray[K] extends unknown[] ? TxDataWithFees : never; -}; - -/** - * Transform a tuple of types into an array of resolver functions. For each type in the tuple, the corresponding resolver function returns that type wrapped in a promise - */ -export type ResolverFunctionArray = { - [K in keyof Values]: (receipt: ISubmittableResult) => Promise | Values[K]; -}; - -/** - * Function that returns a value (or promise that resolves to a value) from a transaction receipt - */ -export type ResolverFunction = ( - receipt: ISubmittableResult -) => Promise | ReturnValue; - -/** - * Representation of the value that will be returned by a Procedure after it is run - * - * It can be: - * - a plain value - * - a resolver function that returns either a value or a promise that resolves to a value - */ -export type MaybeResolverFunction = ResolverFunction | ReturnValue; - -/** - * @hidden - */ -export function isResolverFunction( - value: MaybeResolverFunction -): value is ResolverFunction { - return typeof value === 'function'; -} - -/** - * Base Transaction Schema - */ -export interface BaseTransactionSpec { - /** - * third party Identity that will pay for the transaction (for example when joining an Identity/multisig as a secondary key). - * This is separate from a subsidy, and takes precedence over it. If the signing Account is being subsidized and - * they try to execute a transaction with `paidForBy` set, the fees will be paid for by the `paidForBy` Identity - */ - paidForBy?: Identity; - /** - * value that the transaction will return once it has run, or a function that returns that value - */ - resolver: MaybeResolverFunction; - /** - * function that transforms the transaction's return value before returning it after it is run - */ - transformer?: (result: ReturnValue) => Promise | TransformedReturnValue; -} - -/** - * Schema of a transaction batch - * - * @param Args - tuple where each value represents the type of the arguments of one of the transactions - * in the batch. There are cases where it is impossible to know this type beforehand. For example, if - * the amount (or type) of transactions in the batch depends on an argument or the chain state. For those cases, - * `unknown[][]` should be used, and extra care must be taken to ensure the correct transactions (and arguments) - * are being returned + * This represents positive permissions (i.e. only "includes"). It is used + * for specifying procedure requirements and querying if an Account has certain + * permissions. Null values represent full permissions in that category */ -export interface BatchTransactionSpec< - ReturnValue, - ArgsArray extends unknown[][], - TransformedReturnValue = ReturnValue -> extends BaseTransactionSpec { +export interface SimplePermissions { /** - * transactions in the batch with their respective arguments + * list of required Asset permissions */ - transactions: MapTxWithArgs; -} - -/** - * Schema of a specific transaction - * - * @param Args - arguments of the transaction - */ -export type TransactionSpec< - ReturnValue, - Args extends unknown[], - TransformedReturnValue = ReturnValue -> = BaseTransactionSpec & TxWithArgs; - -/** - * Helper type that represents either type of transaction spec - */ -export type GenericTransactionSpec = - | BatchTransactionSpec - | TransactionSpec; - -/** - * Additional information for constructing the final transaction - */ -export interface TransactionConstructionData { - /** - * address of the key that will sign the transaction - */ - signingAddress: string; + assets?: BaseAsset[] | null; /** - * object that handles the payload signing logic + * list of required Transaction permissions */ - signer?: PolkadotSigner; - /** - * how long the transaction should be valid for - */ - mortality: MortalityProcedureOpt; -} - -export interface AuthTarget { - target: SignerValue; - authId: BigNumber; -} - -export enum TrustedClaimIssuerOperation { - Remove = 'Remove', - Add = 'Add', - Set = 'Set', -} - -export interface ExtrinsicIdentifier { - moduleId: ModuleIdEnum; - callId: CallIdEnum; -} - -export interface CorporateActionIdentifier { - ticker: string; - localId: BigNumber; + transactions?: TxTag[] | null; + portfolios?: (DefaultPortfolio | NumberedPortfolio)[] | null; } /** - * Represents the permissions that a signer must have in order to run a Procedure. In some cases, this must be determined - * in a special way for the specific Procedure. In those cases, the resulting value will either be `true` if the signer can - * run the procedure, or a string message indicating why the signer *CAN'T* run the Procedure + * Result of a `checkPermissions` call. If `Type` is `Account`, represents whether the Account + * has all the necessary secondary key Permissions. If `Type` is `Identity`, represents whether the + * Identity has all the necessary external agent Permissions */ -export interface ProcedureAuthorization { +export interface CheckPermissionsResult { /** - * general permissions that apply to both Secondary Key Accounts and External - * Agent Identities. Overridden by `signerPermissions` and `agentPermissions` respectively + * required permissions which the signer *DOESN'T* have. Only present if `result` is `false` */ - permissions?: SimplePermissions | true | string; + missingPermissions?: Type extends SignerType.Account ? SimplePermissions : TxTag[] | null; /** - * permissions specific to secondary Accounts. This value takes precedence over `permissions` for - * secondary Accounts + * whether the signer complies with the required permissions or not */ - signerPermissions?: SimplePermissions | true | string; + result: boolean; /** - * permissions specific to External Agent Identities. This value takes precedence over `permissions` for - * External Agents + * optional message explaining the reason for failure in special cases */ - agentPermissions?: Omit | true | string; - roles?: Role[] | true | string; -} - -export type Falsyable = T | null | undefined; - -export type PermissionsEnum

= - | 'Whole' - | { - These: P[]; - } - | { - Except: P[]; - }; -export type PalletPermissions = { - /* eslint-disable @typescript-eslint/naming-convention */ - pallet_name: string; - dispatchable_names: PermissionsEnum; - /* eslint-enable @typescript-eslint/naming-convention */ -}; - -export enum InstructionStatus { - Pending = 'Pending', - Unknown = 'Unknown', - Failed = 'Failed', - Success = 'Success', - Rejected = 'Rejected', -} - -/** - * Determines the subset of permissions an Agent has over an Asset - */ -export type PermissionGroupIdentifier = PermissionGroupType | { custom: BigNumber }; - -export type InternalNftType = KnownNftType | { Custom: u32 }; -export type InternalAssetType = KnownAssetType | { Custom: u32 } | { NonFungible: InternalNftType }; - -export interface TickerKey { - Ticker: PolymeshPrimitivesTicker; -} - -/** - * Infer Procedure parameters parameters from a Procedure function - */ -export type ProcedureParams unknown> = - ReturnType extends Procedure ? Params : never; - -export interface ExemptKey { - asset: TickerKey; - op: PolymeshPrimitivesStatisticsStatOpType; - claimType?: ClaimType; -} - -export type StatClaimInputType = Omit; - -export interface StatClaimIssuer { - issuer: Identity; - claimType: StatClaimType; + message?: string; } diff --git a/src/types/utils/index.ts b/src/types/utils/index.ts index 1f2dc45e53..25db2ac798 100644 --- a/src/types/utils/index.ts +++ b/src/types/utils/index.ts @@ -1,6 +1,7 @@ import { AugmentedQueries, AugmentedQuery } from '@polkadot/api/types'; import BigNumber from 'bignumber.js'; +import { ConfidentialProcedure } from '~/base/ConfidentialProcedure'; import { Entity, Procedure } from '~/internal'; /** @@ -81,6 +82,12 @@ export type Modify = Omit & R; */ export type WithRequired = T & { [P in K]-?: T[P] }; +/** + * @hidden + */ +export declare type ConfidentialProcedureFunc = + () => ConfidentialProcedure; + /** * Pick a single property from T and ensure it is defined */ diff --git a/src/utils/__tests__/conversion.ts b/src/utils/__tests__/conversion.ts index 1818c16aa4..d6be2186d2 100644 --- a/src/utils/__tests__/conversion.ts +++ b/src/utils/__tests__/conversion.ts @@ -1,10101 +1,68 @@ -import { DecoratedErrors } from '@polkadot/api/types'; -import { bool, Bytes, Option, Text, u16, u32, u64, u128, Vec } from '@polkadot/types'; +import { BTreeSet, Bytes, u16 } from '@polkadot/types'; import { - AccountId, - Balance, - BlockHash, - Call, - Hash, - Moment, - Permill, -} from '@polkadot/types/interfaces'; -import { - ConfidentialAssetsBurnConfidentialBurnProof, - PalletConfidentialAssetAffirmParty, - PalletConfidentialAssetAffirmTransaction, - PalletConfidentialAssetAffirmTransactions, - PalletConfidentialAssetAuditorAccount, - PalletConfidentialAssetConfidentialAuditors, - PalletConfidentialAssetConfidentialTransfers, - PalletConfidentialAssetLegParty, - PalletConfidentialAssetTransaction, - PalletConfidentialAssetTransactionLeg, - PalletConfidentialAssetTransactionLegId, - PalletConfidentialAssetTransactionLegState, - PalletConfidentialAssetTransactionStatus, - PalletCorporateActionsCaId, - PalletCorporateActionsCaKind, - PalletCorporateActionsRecordDateSpec, - PalletCorporateActionsTargetIdentities, - PalletStoPriceTier, - PolymeshCommonUtilitiesCheckpointScheduleCheckpoints, - PolymeshCommonUtilitiesProtocolFeeProtocolOp, - PolymeshPrimitivesAgentAgentGroup, - PolymeshPrimitivesAssetAssetType, - PolymeshPrimitivesAssetIdentifier, - PolymeshPrimitivesAssetMetadataAssetMetadataKey, - PolymeshPrimitivesAssetMetadataAssetMetadataSpec, - PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail, - PolymeshPrimitivesAssetNonFungibleType, - PolymeshPrimitivesAuthorizationAuthorizationData, - PolymeshPrimitivesCddId, - PolymeshPrimitivesComplianceManagerComplianceRequirement, - PolymeshPrimitivesCondition, - PolymeshPrimitivesConditionTargetIdentity, - PolymeshPrimitivesConditionTrustedIssuer, - PolymeshPrimitivesDocument, - PolymeshPrimitivesDocumentHash, - PolymeshPrimitivesIdentityClaimClaim, - PolymeshPrimitivesIdentityClaimClaimType, - PolymeshPrimitivesIdentityClaimScope, - PolymeshPrimitivesIdentityId, - PolymeshPrimitivesIdentityIdPortfolioId, - PolymeshPrimitivesIdentityIdPortfolioKind, - PolymeshPrimitivesMemo, - PolymeshPrimitivesMultisigProposalStatus, - PolymeshPrimitivesNftNftMetadataAttribute, - PolymeshPrimitivesNftNfTs, - PolymeshPrimitivesPortfolioFund, - PolymeshPrimitivesSecondaryKeySignatory, - PolymeshPrimitivesSettlementLeg, - PolymeshPrimitivesSettlementSettlementType, - PolymeshPrimitivesSettlementVenueType, - PolymeshPrimitivesStatisticsStat2ndKey, - PolymeshPrimitivesStatisticsStatClaim, - PolymeshPrimitivesStatisticsStatOpType, - PolymeshPrimitivesStatisticsStatType, - PolymeshPrimitivesStatisticsStatUpdate, - PolymeshPrimitivesSubsetSubsetRestrictionPalletPermissions, - PolymeshPrimitivesTicker, - PolymeshPrimitivesTransferComplianceTransferCondition, -} from '@polkadot/types/lookup'; -import { BTreeSet } from '@polkadot/types-codec'; -import type { ITuple } from '@polkadot/types-codec/types'; -import { hexToU8a, stringToHex } from '@polkadot/util'; -import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; -import { - AuthorizationType as MeshAuthorizationType, - ExtrinsicPermissions, - Permissions as MeshPermissions, -} from 'polymesh-types/polymesh'; - -import { UnreachableCaseError } from '~/api/procedures/utils'; -import { - Account, - ConfidentialAccount, - ConfidentialAsset, - Context, - DefaultPortfolio, - Identity, - NumberedPortfolio, - PolymeshError, -} from '~/internal'; -import { - AuthTypeEnum, - Block, - CallIdEnum, - Claim as MiddlewareClaim, - ClaimTypeEnum, - ConfidentialAssetHistory, - CustomClaimType as MiddlewareCustomClaimType, - EventIdEnum, - Instruction, - InstructionStatusEnum, - ModuleIdEnum, - Portfolio as MiddlewarePortfolio, -} from '~/middleware/types'; -import { ClaimScopeTypeEnum } from '~/middleware/typesV1'; -import { dsMockUtils, entityMockUtils } from '~/testUtils/mocks'; -import { - createMockBlock, - createMockBTreeSet, - createMockConfidentialAccount, - createMockConfidentialTransactionStatus, - createMockNfts, - createMockOption, - createMockPortfolioId, - createMockTicker, - createMockU8, - createMockU8aFixed, - createMockU32, - createMockU64, - createMockU128, -} from '~/testUtils/mocks/dataSources'; -import { Mocked } from '~/testUtils/types'; -import { - AffirmationStatus, - AssetDocument, - Authorization, - AuthorizationType, - Claim, - ClaimType, - Condition, - ConditionCompliance, - ConditionTarget, - ConditionType, - ConfidentialAffirmParty, - ConfidentialLegParty, - ConfidentialLegStateBalances, - ConfidentialTransactionStatus, - CorporateActionKind, - CorporateActionParams, - CountryCode, - DividendDistributionParams, - ErrorCode, - FungibleLeg, - InputCondition, - InstructionType, - KnownAssetType, - KnownNftType, - MetadataLockStatus, - MetadataType, - ModuleName, - NonFungiblePortfolioMovement, - OfferingBalanceStatus, - OfferingSaleStatus, - OfferingTier, - OfferingTimingStatus, - PermissionGroupType, - Permissions, - PermissionsLike, - PermissionType, - PortfolioMovement, - ProposalStatus, - Scope, - ScopeType, - SecurityIdentifierType, - Signer, - SignerType, - SignerValue, - StatType, - TargetTreatment, - TransferError, - TransferRestriction, - TransferRestrictionType, - TransferStatus, - TrustedClaimIssuer, - TxGroup, - TxTags, - VenueType, -} from '~/types'; -import { InstructionStatus, PermissionGroupIdentifier } from '~/types/internal'; -import { tuple } from '~/types/utils'; -import { DUMMY_ACCOUNT_ID, MAX_BALANCE, MAX_DECIMALS, MAX_TICKER_LENGTH } from '~/utils/constants'; -import { bigNumberToU16 } from '~/utils/conversion'; -import * as internalUtils from '~/utils/internal'; -import { padString } from '~/utils/internal'; - -import { - accountIdToString, - addressToKey, - agentGroupToPermissionGroup, - agentGroupToPermissionGroupIdentifier, - assetComplianceResultToCompliance, - assetDocumentToDocument, - assetIdentifierToSecurityIdentifier, - assetTypeToKnownOrId, - auditorsToBtreeSet, - auditorsToConfidentialAuditors, - auditorToMeshAuditor, - authorizationDataToAuthorization, - authorizationToAuthorizationData, - authorizationTypeToMeshAuthorizationType, - balanceToBigNumber, - bigNumberToBalance, - bigNumberToU32, - bigNumberToU64, - bigNumberToU128, - booleanToBool, - boolToBoolean, - bytesToString, - canTransferResultToTransferStatus, - caTaxWithholdingsToMeshTaxWithholdings, - cddIdToString, - cddStatusToBoolean, - checkpointToRecordDateSpec, - claimCountStatInputToStatUpdates, - claimCountToClaimCountRestrictionValue, - claimToMeshClaim, - claimTypeToMeshClaimType, - coerceHexToString, - collectionKeysToMetadataKeys, - complianceConditionsToBtreeSet, - complianceRequirementResultToRequirementCompliance, - complianceRequirementToRequirement, - confidentialAffirmPartyToRaw, - confidentialAffirmsToRaw, - confidentialAssetsToBtreeSet, - confidentialBurnProofToRaw, - confidentialLegIdToId, - confidentialLegPartyToRole, - confidentialLegStateToLegState, - confidentialLegToMeshLeg, - confidentialTransactionLegIdToBigNumber, - corporateActionIdentifierToCaId, - corporateActionKindToCaKind, - corporateActionParamsToMeshCorporateActionArgs, - countStatInputToStatUpdates, - createStat2ndKey, - datesToScheduleCheckpoints, - dateToMoment, - distributionToDividendDistributionParams, - documentHashToString, - documentToAssetDocument, - endConditionToSettlementType, - expiryToMoment, - extrinsicIdentifierToTxTag, - fundingRoundToAssetFundingRound, - fundraiserTierToTier, - fundraiserToOfferingDetails, - fungibleMovementToPortfolioFund, - granularCanTransferResultToTransferBreakdown, - hashToString, - identitiesSetToIdentities, - identitiesToBtreeSet, - identityIdToString, - inputStatTypeToMeshStatType, - instructionMemoToString, - internalAssetTypeToAssetType, - internalNftTypeToNftType, - isCusipValid, - isFigiValid, - isIsinValid, - isLeiValid, - keyAndValueToStatUpdate, - keyToAddress, - legToFungibleLeg, - legToNonFungibleLeg, - mediatorAffirmationStatusToStatus, - meshAffirmationStatusToAffirmationStatus, - meshClaimToClaim, - meshClaimToInputStatClaim, - meshClaimTypeToClaimType, - meshConfidentialAssetTransactionIdToId, - meshConfidentialTransactionDetailsToDetails, - meshConfidentialTransactionStatusToStatus, - meshCorporateActionToCorporateActionParams, - meshInstructionStatusToInstructionStatus, - meshMetadataKeyToMetadataKey, - meshMetadataSpecToMetadataSpec, - meshMetadataValueToMetadataValue, - meshNftToNftId, - meshPermissionsToPermissions, - meshProposalStatusToProposalStatus, - meshPublicKeyToKey, - meshScopeToScope, - meshSettlementTypeToEndCondition, - meshStatToStatType, - meshVenueTypeToVenueType, - metadataSpecToMeshMetadataSpec, - metadataToMeshMetadataKey, - metadataValueDetailToMeshMetadataValueDetail, - metadataValueToMeshMetadataValue, - middlewareAgentGroupDataToPermissionGroup, - middlewareAssetHistoryToTransactionHistory, - middlewareAuthorizationDataToAuthorization, - middlewareClaimToClaimData, - middlewareEventDetailsToEventIdentifier, - middlewareInstructionToHistoricInstruction, - middlewarePermissionsDataToPermissions, - middlewarePortfolioDataToPortfolio, - middlewarePortfolioToPortfolio, - middlewareScopeToScope, - moduleAddressToString, - momentToDate, - nameToAssetName, - nftDispatchErrorToTransferError, - nftInputToNftMetadataVec, - nftMovementToPortfolioFund, - nftToMeshNft, - offeringTierToPriceTier, - percentageToPermill, - permillToBigNumber, - permissionGroupIdentifierToAgentGroup, - permissionsLikeToPermissions, - permissionsToMeshPermissions, - portfolioIdToMeshPortfolioId, - portfolioLikeToPortfolio, - portfolioLikeToPortfolioId, - portfolioToPortfolioKind, - posRatioToBigNumber, - requirementToComplianceRequirement, - scopeToMeshScope, - scopeToMiddlewareScope, - secondaryAccountToMeshSecondaryKey, - securityIdentifierToAssetIdentifier, - serializeConfidentialAssetId, - signatoryToSignerValue, - signerToSignatory, - signerToSignerValue, - signerToString, - signerValueToSignatory, - signerValueToSigner, - sortStatsByClaimType, - sortTransferRestrictionByClaimValue, - statisticsOpTypeToStatType, - statisticStatTypesToBtreeStatType, - statsClaimToStatClaimInputType, - statUpdatesToBtreeStatUpdate, - stringToAccountId, - stringToBlockHash, - stringToBytes, - stringToCddId, - stringToDocumentHash, - stringToHash, - stringToIdentityId, - stringToMemo, - stringToText, - stringToTicker, - stringToTickerKey, - targetIdentitiesToCorporateActionTargets, - targetsToTargetIdentities, - textToString, - tickerToDid, - tickerToString, - toCustomClaimTypeWithIdentity, - toIdentityWithClaimsArray, - transactionHexToTxTag, - transactionPermissionsToExtrinsicPermissions, - transactionPermissionsToTxGroups, - transactionToTxTag, - transferConditionsToBtreeTransferConditions, - transferConditionToTransferRestriction, - transferRestrictionToPolymeshTransferCondition, - transferRestrictionTypeToStatOpType, - trustedClaimIssuerToTrustedIssuer, - txGroupToTxTags, - txTagToExtrinsicIdentifier, - txTagToProtocolOp, - u8ToBigNumber, - u8ToTransferStatus, - u16ToBigNumber, - u32ToBigNumber, - u64ToBigNumber, - u128ToBigNumber, - venueTypeToMeshVenueType, -} from '../conversion'; - -jest.mock( - '~/api/entities/Identity', - require('~/testUtils/mocks/entities').mockIdentityModule('~/api/entities/Identity') -); -jest.mock( - '~/api/entities/Asset/Fungible', - require('~/testUtils/mocks/entities').mockFungibleAssetModule('~/api/entities/Asset/Fungible') -); -jest.mock( - '~/api/entities/DefaultPortfolio', - require('~/testUtils/mocks/entities').mockDefaultPortfolioModule( - '~/api/entities/DefaultPortfolio' - ) -); -jest.mock( - '~/api/entities/NumberedPortfolio', - require('~/testUtils/mocks/entities').mockNumberedPortfolioModule( - '~/api/entities/NumberedPortfolio' - ) -); -jest.mock( - '~/api/entities/Venue', - require('~/testUtils/mocks/entities').mockVenueModule('~/api/entities/Venue') -); -jest.mock( - '~/api/entities/Account', - require('~/testUtils/mocks/entities').mockAccountModule('~/api/entities/Account') -); -jest.mock( - '~/api/entities/KnownPermissionGroup', - require('~/testUtils/mocks/entities').mockKnownPermissionGroupModule( - '~/api/entities/KnownPermissionGroup' - ) -); -jest.mock( - '~/api/entities/CustomPermissionGroup', - require('~/testUtils/mocks/entities').mockCustomPermissionGroupModule( - '~/api/entities/CustomPermissionGroup' - ) -); - -describe('tickerToDid', () => { - it('should generate the ticker did', () => { - let ticker = 'SOME_TICKER'; - let result = tickerToDid(ticker); - - expect(result).toBe('0x3a2c35c06ab681afb326a1a1110467c0a6d9138b76fc0e1e42d0d5b06dae8e3d'); - - ticker = 'OTHER_TICKER'; - result = tickerToDid(ticker); - - expect(result).toBe('0xc8870af7d813b13964b99580b394649088275d2393a3cfdbb1f1689dfb6f3981'); - - ticker = 'LAST_TICKER'; - result = tickerToDid(ticker); - - expect(result).toBe('0x8c2d4fa74d62ff136c267a80ec3738a0eea6d804386c8238a11d8f3cc465fa79'); - }); -}); - -describe('booleanToBool and boolToBoolean', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - describe('booleanToBool', () => { - it('should convert a boolean to a polkadot bool object', () => { - const value = true; - const fakeResult = 'true' as unknown as bool; - const context = dsMockUtils.getContextInstance(); - - when(context.createType).calledWith('bool', value).mockReturnValue(fakeResult); - - const result = booleanToBool(value, context); - - expect(result).toEqual(fakeResult); - }); - }); - - describe('boolToBoolean', () => { - it('should convert a polkadot bool object to a boolean', () => { - const fakeResult = true; - const mockBool = dsMockUtils.createMockBool(fakeResult); - - const result = boolToBoolean(mockBool); - expect(result).toEqual(fakeResult); - }); - }); -}); - -describe('stringToBytes and bytesToString', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - describe('stringToBytes', () => { - it('should convert a string to a polkadot Bytes object', () => { - const value = 'someBytes'; - const fakeResult = 'convertedBytes' as unknown as Bytes; - const context = dsMockUtils.getContextInstance(); - - when(context.createType).calledWith('Bytes', value).mockReturnValue(fakeResult); - - const result = stringToBytes(value, context); - - expect(result).toBe(fakeResult); - }); - }); - - describe('bytesToString', () => { - it('should convert a polkadot Bytes object to a string', () => { - const fakeResult = 'someBytes'; - const ticker = dsMockUtils.createMockBytes(fakeResult); - - const result = bytesToString(ticker); - expect(result).toEqual(fakeResult); - }); - }); -}); - -describe('fungibleMovementToPortfolioFund', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - entityMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - entityMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should convert a portfolio item into a polkadot move portfolio item', () => { - const context = dsMockUtils.getContextInstance(); - const ticker = 'SOME_ASSET'; - const amount = new BigNumber(100); - const memo = 'someMessage'; - const asset = entityMockUtils.getFungibleAssetInstance({ ticker }); - const rawTicker = dsMockUtils.createMockTicker(ticker); - const rawAmount = dsMockUtils.createMockBalance(amount); - const rawMemo = 'memo' as unknown as PolymeshPrimitivesMemo; - const fakeResult = - 'PolymeshPrimitivesPortfolioFund' as unknown as PolymeshPrimitivesPortfolioFund; - - let portfolioMovement: PortfolioMovement = { - asset: ticker, - amount, - }; - - when(context.createType) - .calledWith('PolymeshPrimitivesTicker', padString(ticker, 12)) - .mockReturnValue(rawTicker); - - when(context.createType) - .calledWith('Balance', portfolioMovement.amount.multipliedBy(Math.pow(10, 6)).toString()) - .mockReturnValue(rawAmount); - - when(context.createType) - .calledWith('PolymeshPrimitivesPortfolioFund', { - description: { - Fungible: { - ticker: rawTicker, - amount: rawAmount, - }, - }, - memo: null, - }) - .mockReturnValue(fakeResult); - - let result = fungibleMovementToPortfolioFund(portfolioMovement, context); - - expect(result).toBe(fakeResult); - - portfolioMovement = { - asset, - amount, - }; - - result = fungibleMovementToPortfolioFund(portfolioMovement, context); - - expect(result).toBe(fakeResult); - - when(context.createType) - .calledWith('PolymeshPrimitivesMemo', padString(memo, 32)) - .mockReturnValue(rawMemo); - - when(context.createType) - .calledWith('PolymeshPrimitivesPortfolioFund', { - description: { - Fungible: { - ticker: rawTicker, - amount: rawAmount, - }, - }, - memo: rawMemo, - }) - .mockReturnValue(fakeResult); - - portfolioMovement = { - asset, - amount, - memo, - }; - - result = fungibleMovementToPortfolioFund(portfolioMovement, context); - - expect(result).toBe(fakeResult); - }); -}); - -describe('nftMovementToPortfolioFund', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - entityMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - entityMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should convert a portfolio item into a polkadot move portfolio item', () => { - const context = dsMockUtils.getContextInstance(); - const ticker = 'COLLECTION'; - const id = new BigNumber(1); - const memo = 'someMessage'; - const asset = entityMockUtils.getNftCollectionInstance({ ticker }); - const rawTicker = dsMockUtils.createMockTicker(ticker); - const rawId = dsMockUtils.createMockU64(id); - const rawMemo = 'memo' as unknown as PolymeshPrimitivesMemo; - const fakeResult = - 'PolymeshPrimitivesPortfolioFund' as unknown as PolymeshPrimitivesPortfolioFund; - - let portfolioMovement: NonFungiblePortfolioMovement = { - asset: ticker, - nfts: [id], - }; - - when(context.createType) - .calledWith('PolymeshPrimitivesTicker', padString(ticker, 12)) - .mockReturnValue(rawTicker); - - when(context.createType).calledWith('u64', id.toString()).mockReturnValue(rawId); - - when(context.createType) - .calledWith('PolymeshPrimitivesPortfolioFund', { - description: { - NonFungible: { - ticker: rawTicker, - ids: [rawId], - }, - }, - memo: null, - }) - .mockReturnValue(fakeResult); - - let result = nftMovementToPortfolioFund(portfolioMovement, context); - - expect(result).toBe(fakeResult); - - portfolioMovement = { - asset, - nfts: [id], - }; - - result = nftMovementToPortfolioFund(portfolioMovement, context); - - expect(result).toBe(fakeResult); - - when(context.createType) - .calledWith('PolymeshPrimitivesMemo', padString(memo, 32)) - .mockReturnValue(rawMemo); - - when(context.createType) - .calledWith('PolymeshPrimitivesPortfolioFund', { - description: { - NonFungible: { - ticker: rawTicker, - ids: [rawId], - }, - }, - memo: rawMemo, - }) - .mockReturnValue(fakeResult); - - portfolioMovement = { - asset, - nfts: [id], - memo, - }; - - result = nftMovementToPortfolioFund(portfolioMovement, context); - - expect(result).toBe(fakeResult); - }); -}); - -describe('stringToTicker and tickerToString', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - describe('stringToTicker', () => { - let context: Mocked; - - beforeEach(() => { - context = dsMockUtils.getContextInstance(); - }); - - it('should convert a string to a polkadot Ticker object', () => { - const value = 'SOME_TICKER'; - const fakeResult = 'convertedTicker' as unknown as PolymeshPrimitivesTicker; - - when(context.createType) - .calledWith('PolymeshPrimitivesTicker', padString(value, 12)) - .mockReturnValue(fakeResult); - - const result = stringToTicker(value, context); - - expect(result).toBe(fakeResult); - }); - - it('should throw an error if the ticker does not have a length between 1 and 12 characters', () => { - expect(() => stringToTicker('SOME_LONG_TICKER', context)).toThrow( - 'Ticker length must be between 1 and 12 characters' - ); - expect(() => stringToTicker('', context)).toThrow( - 'Ticker length must be between 1 and 12 characters' - ); - }); - - it('should throw an error if the ticker is not printable ASCII', () => { - expect(() => stringToTicker('TICKER\x80', context)).toThrow( - 'Only printable ASCII is allowed as ticker name' - ); - }); - - it('should throw an error if the ticker contains lowercase letters', () => { - expect(() => stringToTicker('ticker', context)).toThrow( - 'Ticker cannot contain lower case letters' - ); - }); - }); - - describe('stringToTickerKey', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should call stringToTicker and return the result as an object', () => { - const value = 'SOME_TICKER'; - const fakeResult = 'convertedTicker' as unknown as PolymeshPrimitivesTicker; - const context = dsMockUtils.getContextInstance(); - - when(context.createType) - .calledWith('PolymeshPrimitivesTicker', padString(value, 12)) - .mockReturnValue(fakeResult); - - const result = stringToTickerKey(value, context); - expect(result).toEqual({ Ticker: fakeResult }); - }); - }); - - describe('tickerToString', () => { - it('should convert a polkadot Ticker object to a string', () => { - const fakeResult = 'SOME_TICKER'; - const ticker = dsMockUtils.createMockTicker(fakeResult); - - const result = tickerToString(ticker); - expect(result).toEqual(fakeResult); - }); - }); -}); - -describe('dateToMoment and momentToDate', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - describe('dateToMoment', () => { - it('should convert a Date to a polkadot Moment object', () => { - const value = new Date(); - const fakeResult = 10000 as unknown as Moment; - const context = dsMockUtils.getContextInstance(); - - when(context.createType) - .calledWith('u64', Math.round(value.getTime())) - .mockReturnValue(fakeResult); - - const result = dateToMoment(value, context); - - expect(result).toBe(fakeResult); - }); - }); - - describe('momentToDate', () => { - it('should convert a polkadot Moment object to a Date', () => { - const fakeResult = 10000; - const moment = dsMockUtils.createMockMoment(new BigNumber(fakeResult)); - - const result = momentToDate(moment); - expect(result).toEqual(new Date(fakeResult)); - }); - }); -}); - -describe('stringToAccountId and accountIdToString', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - describe('stringToAccountId', () => { - it('should convert a string to a polkadot AccountId object', () => { - const value = '5EYCAe5ijAx5xEfZdpCna3grUpY1M9M5vLUH5vpmwV1EnaYR'; - const fakeResult = 'convertedAccountId' as unknown as AccountId; - const context = dsMockUtils.getContextInstance(); - - when(context.createType).calledWith('AccountId', value).mockReturnValue(fakeResult); - - const result = stringToAccountId(value, context); - - expect(result).toEqual(fakeResult); - }); - - it('should throw an error if the passed string is not a valid SS58 formatted address', () => { - const value = 'notAnAddress'; - const context = dsMockUtils.getContextInstance(); - - expect(() => stringToAccountId(value, context)).toThrow( - 'The supplied address is not a valid SS58 address' - ); - }); - }); - - describe('accountIdToString', () => { - it('should convert a polkadot AccountId object to a string', () => { - const fakeResult = 'someAccountId'; - const accountId = dsMockUtils.createMockAccountId(fakeResult); - - const result = accountIdToString(accountId); - expect(result).toEqual(fakeResult); - }); - }); -}); - -describe('stringToHash and hashToString', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - describe('stringToHash', () => { - it('should convert a string to a polkadot Hash object', () => { - const value = 'someHash'; - const fakeResult = 'convertedHash' as unknown as Hash; - const context = dsMockUtils.getContextInstance(); - - when(context.createType).calledWith('Hash', value).mockReturnValue(fakeResult); - - const result = stringToHash(value, context); - - expect(result).toEqual(fakeResult); - }); - }); - - describe('hashToString', () => { - it('should convert a polkadot Hash object to a string', () => { - const fakeResult = 'someHash'; - const accountId = dsMockUtils.createMockHash(fakeResult); - - const result = hashToString(accountId); - expect(result).toEqual(fakeResult); - }); - }); -}); - -describe('stringToBlockHash', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should convert a block hash string into an BlockHash', () => { - const blockHash = 'BlockHash'; - const fakeResult = 'type' as unknown as BlockHash; - const context = dsMockUtils.getContextInstance(); - - when(context.createType).calledWith('BlockHash', blockHash).mockReturnValue(fakeResult); - - const result = stringToBlockHash(blockHash, context); - - expect(result).toBe(fakeResult); - }); -}); - -describe('stringToIdentityId and identityIdToString', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - describe('stringToIdentityId', () => { - it('should convert a did string into an PolymeshPrimitivesIdentityId', () => { - const identity = 'IdentityObject'; - const fakeResult = 'type' as unknown as PolymeshPrimitivesIdentityId; - const context = dsMockUtils.getContextInstance(); - - when(context.createType) - .calledWith('PolymeshPrimitivesIdentityId', identity) - .mockReturnValue(fakeResult); - - const result = stringToIdentityId(identity, context); - - expect(result).toBe(fakeResult); - }); - }); - - describe('identityIdToString', () => { - it('should convert an PolymeshPrimitivesIdentityId to a did string', () => { - const fakeResult = 'IdentityString'; - const identityId = dsMockUtils.createMockIdentityId(fakeResult); - - const result = identityIdToString(identityId); - expect(result).toBe(fakeResult); - }); - }); -}); - -describe('signerValueToSignatory and signatoryToSignerValue', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - jest.restoreAllMocks(); - }); - - describe('signerValueToSignatory', () => { - it('should convert a SignerValue to a polkadot PolymeshPrimitivesSecondaryKeySignatory object', () => { - const value = { - type: SignerType.Identity, - value: 'someIdentity', - }; - const fakeResult = 'SignatoryEnum' as unknown as PolymeshPrimitivesSecondaryKeySignatory; - const context = dsMockUtils.getContextInstance(); - - when(context.createType) - .calledWith('PolymeshPrimitivesSecondaryKeySignatory', { [value.type]: value.value }) - .mockReturnValue(fakeResult); - - const result = signerValueToSignatory(value, context); - - expect(result).toBe(fakeResult); - }); - }); - - describe('signerToSignatory', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - entityMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - entityMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - jest.restoreAllMocks(); - }); - it('should convert a Signer to a polkadot PolymeshPrimitivesSecondaryKeySignatory object', () => { - const context = dsMockUtils.getContextInstance(); - const address = DUMMY_ACCOUNT_ID; - const fakeResult = 'SignatoryEnum' as unknown as PolymeshPrimitivesSecondaryKeySignatory; - const account = new Account({ address }, context); - - when(context.createType) - .calledWith('PolymeshPrimitivesSecondaryKeySignatory', { [SignerType.Account]: address }) - .mockReturnValue(fakeResult); - - const result = signerToSignatory(account, context); - expect(result).toEqual(fakeResult); - }); - }); - - describe('signatoryToSignerValue', () => { - it('should convert a polkadot PolymeshPrimitivesSecondaryKeySignatory object to a SignerValue', () => { - let fakeResult = { - type: SignerType.Identity, - value: 'someIdentity', - }; - let signatory = dsMockUtils.createMockSignatory({ - Identity: dsMockUtils.createMockIdentityId(fakeResult.value), - }); - - let result = signatoryToSignerValue(signatory); - expect(result).toEqual(fakeResult); - - fakeResult = { - type: SignerType.Account, - value: 'someAccountId', - }; - signatory = dsMockUtils.createMockSignatory({ - Account: dsMockUtils.createMockAccountId(fakeResult.value), - }); - - result = signatoryToSignerValue(signatory); - expect(result).toEqual(fakeResult); - }); - }); -}); - -describe('signerToSignerValue and signerValueToSigner', () => { - let context: Context; - - beforeAll(() => { - dsMockUtils.initMocks(); - entityMockUtils.initMocks(); - }); - - beforeEach(() => { - context = dsMockUtils.getContextInstance(); - }); - - afterEach(() => { - dsMockUtils.reset(); - entityMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - jest.restoreAllMocks(); - }); - - describe('signerToSignerValue', () => { - it('should convert a Signer to a SignerValue', () => { - const address = DUMMY_ACCOUNT_ID; - let signer: Signer = new Account({ address }, context); - - let result = signerToSignerValue(signer); - - expect(result).toEqual({ - type: SignerType.Account, - value: address, - }); - - const did = 'someDid'; - signer = new Identity({ did }, context); - - result = signerToSignerValue(signer); - - expect(result).toEqual({ type: SignerType.Identity, value: did }); - }); - }); - - describe('signerValueToSigner', () => { - it('should convert a SignerValue to a Signer', () => { - let value = DUMMY_ACCOUNT_ID; - let signerValue: SignerValue = { type: SignerType.Account, value }; - - let result = signerValueToSigner(signerValue, context); - - expect((result as Account).address).toBe(value); - - value = 'someDid'; - - signerValue = { type: SignerType.Identity, value }; - - result = signerValueToSigner(signerValue, context); - - expect((result as Identity).did).toBe(value); - }); - }); -}); - -describe('signerToString', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - entityMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - entityMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - entityMockUtils.reset(); - }); - - it('should return the Identity DID string', () => { - const did = 'someDid'; - const context = dsMockUtils.getContextInstance(); - const identity = new Identity({ did }, context); - - const result = signerToString(identity); - - expect(result).toBe(did); - }); - - it('should return the Account address string', () => { - const address = DUMMY_ACCOUNT_ID; - const context = dsMockUtils.getContextInstance(); - - const account = new Account({ address }, context); - - const result = signerToString(account); - - expect(result).toBe(address); - }); - - it('should return the same address string that it receives', () => { - const address = DUMMY_ACCOUNT_ID; - const result = signerToString(address); - - expect(result).toBe(address); - }); -}); - -describe('authorizationToAuthorizationData and authorizationDataToAuthorization', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - describe('authorizationToAuthorizationData', () => { - it('should convert an Authorization to a polkadot AuthorizationData object', () => { - const ticker = 'TICKER_NAME'; - const context = dsMockUtils.getContextInstance(); - - let value: Authorization = { - type: AuthorizationType.AttestPrimaryKeyRotation, - value: entityMockUtils.getIdentityInstance({ did: 'someIdentity' }), - }; - - const fakeResult = - 'AuthorizationDataEnum' as unknown as PolymeshPrimitivesAuthorizationAuthorizationData; - - const createTypeMock = context.createType; - const rawIdentity = dsMockUtils.createMockIdentityId(value.value.did); - when(createTypeMock) - .calledWith('PolymeshPrimitivesIdentityId', value.value.did) - .mockReturnValue(rawIdentity); - when(createTypeMock) - .calledWith('PolymeshPrimitivesAuthorizationAuthorizationData', { - [value.type]: rawIdentity, - }) - .mockReturnValue(fakeResult); - - let result = authorizationToAuthorizationData(value, context); - expect(result).toBe(fakeResult); - - const fakeTicker = 'convertedTicker' as unknown as PolymeshPrimitivesTicker; - when(createTypeMock) - .calledWith('PolymeshPrimitivesTicker', padString(ticker, 12)) - .mockReturnValue(fakeTicker); - - value = { - type: AuthorizationType.JoinIdentity, - value: { - assets: null, - transactions: null, - transactionGroups: [], - portfolios: null, - }, - }; - - const rawPermissions = dsMockUtils.createMockPermissions({ - asset: dsMockUtils.createMockAssetPermissions('Whole'), - portfolio: dsMockUtils.createMockPortfolioPermissions('Whole'), - extrinsic: dsMockUtils.createMockExtrinsicPermissions('Whole'), - }); - - when(createTypeMock) - .calledWith('PolymeshPrimitivesSecondaryKeyPermissions', expect.anything()) - .mockReturnValue(rawPermissions); - when(createTypeMock) - .calledWith('PolymeshPrimitivesAuthorizationAuthorizationData', { - [value.type]: rawPermissions, - }) - .mockReturnValue(fakeResult); - - result = authorizationToAuthorizationData(value, context); - expect(result).toBe(fakeResult); - - const did = 'someDid'; - value = { - type: AuthorizationType.PortfolioCustody, - value: entityMockUtils.getDefaultPortfolioInstance({ did }), - }; - - const rawPortfolioId = dsMockUtils.createMockPortfolioId({ - did: dsMockUtils.createMockIdentityId(did), - kind: dsMockUtils.createMockPortfolioKind('Default'), - }); - - when(createTypeMock) - .calledWith('PolymeshPrimitivesIdentityIdPortfolioId', expect.anything()) - .mockReturnValue(rawPortfolioId); - when(createTypeMock) - .calledWith('PolymeshPrimitivesAuthorizationAuthorizationData', { - [value.type]: rawPortfolioId, - }) - .mockReturnValue(fakeResult); - - result = authorizationToAuthorizationData(value, context); - expect(result).toBe(fakeResult); - - value = { - type: AuthorizationType.RotatePrimaryKey, - }; - - when(createTypeMock) - .calledWith('PolymeshPrimitivesAuthorizationAuthorizationData', { [value.type]: null }) - .mockReturnValue(fakeResult); - - result = authorizationToAuthorizationData(value, context); - expect(result).toBe(fakeResult); - - const knownPermissionGroup = entityMockUtils.getKnownPermissionGroupInstance({ - ticker, - type: PermissionGroupType.Full, - }); - - value = { - type: AuthorizationType.BecomeAgent, - value: knownPermissionGroup, - }; - - let rawAgentGroup = 'Full' as unknown as PolymeshPrimitivesAgentAgentGroup; - when(createTypeMock) - .calledWith('PolymeshPrimitivesAgentAgentGroup', knownPermissionGroup.type) - .mockReturnValue(rawAgentGroup); - - when(createTypeMock) - .calledWith('PolymeshPrimitivesAuthorizationAuthorizationData', { - [value.type]: [fakeTicker, rawAgentGroup], - }) - .mockReturnValue(fakeResult); - - result = authorizationToAuthorizationData(value, context); - expect(result).toBe(fakeResult); - - const id = new BigNumber(1); - const customPermissionGroup = entityMockUtils.getCustomPermissionGroupInstance({ - ticker, - id, - }); - - value = { - type: AuthorizationType.BecomeAgent, - value: customPermissionGroup, - }; - - rawAgentGroup = 'Full' as unknown as PolymeshPrimitivesAgentAgentGroup; - when(createTypeMock) - .calledWith('u32', id.toString()) - .mockReturnValue(id as unknown as u32); - when(createTypeMock) - .calledWith('PolymeshPrimitivesAgentAgentGroup', { Custom: id }) - .mockReturnValue(rawAgentGroup); - - when(createTypeMock) - .calledWith('PolymeshPrimitivesAuthorizationAuthorizationData', { - [value.type]: [fakeTicker, rawAgentGroup], - }) - .mockReturnValue(fakeResult); - result = authorizationToAuthorizationData(value, context); - expect(result).toBe(fakeResult); - - value = { - type: AuthorizationType.TransferAssetOwnership, - value: 'TICKER', - }; - - when(createTypeMock) - .calledWith('PolymeshPrimitivesTicker', padString('TICKER', MAX_TICKER_LENGTH)) - .mockReturnValue(fakeTicker); - - when(createTypeMock) - .calledWith('PolymeshPrimitivesAuthorizationAuthorizationData', { - [value.type]: fakeTicker, - }) - .mockReturnValue(fakeResult); - - result = authorizationToAuthorizationData(value, context); - expect(result).toBe(fakeResult); - - value = { - type: AuthorizationType.TransferTicker, - value: 'TICKER', - }; - - when(createTypeMock) - .calledWith('PolymeshPrimitivesTicker', padString('TICKER', MAX_TICKER_LENGTH)) - .mockReturnValue(fakeTicker); - - when(createTypeMock) - .calledWith('PolymeshPrimitivesAuthorizationAuthorizationData', { - [value.type]: fakeTicker, - }) - .mockReturnValue(fakeResult); - - result = authorizationToAuthorizationData(value, context); - expect(result).toBe(fakeResult); - - value = { - type: AuthorizationType.RotatePrimaryKeyToSecondary, - value: { - assets: null, - transactions: null, - transactionGroups: [], - portfolios: null, - }, - }; - - when(createTypeMock) - .calledWith('PolymeshPrimitivesSecondaryKeyPermissions', expect.anything()) - .mockReturnValue(rawPermissions); - when(createTypeMock) - .calledWith('PolymeshPrimitivesAuthorizationAuthorizationData', { - [value.type]: rawPermissions, - }) - .mockReturnValue(fakeResult); - - result = authorizationToAuthorizationData(value, context); - expect(result).toBe(fakeResult); - - value = { - type: AuthorizationType.AddRelayerPayingKey, - value: { - beneficiary: new Account({ address: 'beneficiary' }, context), - subsidizer: new Account({ address: 'subsidizer' }, context), - allowance: new BigNumber(100), - }, - }; - - when(createTypeMock) - .calledWith('PolymeshPrimitivesAuthorizationAuthorizationData', { - [value.type]: value.value, - }) - .mockReturnValue(fakeResult); - - result = authorizationToAuthorizationData(value, context); - expect(result).toBe(fakeResult); - }); - }); - - describe('authorizationDataToAuthorization', () => { - it('should convert a polkadot AuthorizationData object to an Authorization', () => { - const context = dsMockUtils.getContextInstance(); - let fakeResult: Authorization = { - type: AuthorizationType.AttestPrimaryKeyRotation, - value: expect.objectContaining({ did: 'someDid' }), - }; - let authorizationData = dsMockUtils.createMockAuthorizationData({ - AttestPrimaryKeyRotation: dsMockUtils.createMockIdentityId('someDid'), - }); - - let result = authorizationDataToAuthorization(authorizationData, context); - expect(result).toEqual(fakeResult); - - fakeResult = { - type: AuthorizationType.RotatePrimaryKey, - }; - authorizationData = dsMockUtils.createMockAuthorizationData('RotatePrimaryKey'); - - result = authorizationDataToAuthorization(authorizationData, context); - expect(result).toEqual(fakeResult); - - fakeResult = { - type: AuthorizationType.TransferTicker, - value: 'SOME_TICKER', - }; - authorizationData = dsMockUtils.createMockAuthorizationData({ - TransferTicker: dsMockUtils.createMockTicker(fakeResult.value), - }); - - result = authorizationDataToAuthorization(authorizationData, context); - expect(result).toEqual(fakeResult); - - fakeResult = { - type: AuthorizationType.AddMultiSigSigner, - value: 'someAccount', - }; - authorizationData = dsMockUtils.createMockAuthorizationData({ - AddMultiSigSigner: dsMockUtils.createMockAccountId(fakeResult.value), - }); - - result = authorizationDataToAuthorization(authorizationData, context); - expect(result).toEqual(fakeResult); - - fakeResult = { - type: AuthorizationType.PortfolioCustody, - value: expect.objectContaining({ owner: expect.objectContaining({ did: 'someDid' }) }), - }; - authorizationData = dsMockUtils.createMockAuthorizationData({ - PortfolioCustody: dsMockUtils.createMockPortfolioId({ - did: dsMockUtils.createMockIdentityId('someDid'), - kind: dsMockUtils.createMockPortfolioKind('Default'), - }), - }); - - result = authorizationDataToAuthorization(authorizationData, context); - expect(result).toEqual(fakeResult); - - const portfolioId = new BigNumber(1); - fakeResult = { - type: AuthorizationType.PortfolioCustody, - value: expect.objectContaining({ - owner: expect.objectContaining({ did: 'someDid' }), - id: portfolioId, - }), - }; - authorizationData = dsMockUtils.createMockAuthorizationData({ - PortfolioCustody: dsMockUtils.createMockPortfolioId({ - did: dsMockUtils.createMockIdentityId('someDid'), - kind: dsMockUtils.createMockPortfolioKind({ - User: dsMockUtils.createMockU64(portfolioId), - }), - }), - }); - - result = authorizationDataToAuthorization(authorizationData, context); - expect(result).toEqual(fakeResult); - - fakeResult = { - type: AuthorizationType.TransferAssetOwnership, - value: 'SOME_TICKER', - }; - authorizationData = dsMockUtils.createMockAuthorizationData({ - TransferAssetOwnership: dsMockUtils.createMockTicker(fakeResult.value), - }); - - result = authorizationDataToAuthorization(authorizationData, context); - expect(result).toEqual(fakeResult); - - fakeResult = { - type: AuthorizationType.JoinIdentity, - value: { assets: null, portfolios: null, transactions: null, transactionGroups: [] }, - }; - authorizationData = dsMockUtils.createMockAuthorizationData({ - JoinIdentity: dsMockUtils.createMockPermissions({ - asset: dsMockUtils.createMockAssetPermissions('Whole'), - portfolio: dsMockUtils.createMockPortfolioPermissions('Whole'), - extrinsic: dsMockUtils.createMockExtrinsicPermissions('Whole'), - }), - }); - - result = authorizationDataToAuthorization(authorizationData, context); - expect(result).toEqual(fakeResult); - - const beneficiaryAddress = 'beneficiaryAddress'; - const relayerAddress = 'relayerAddress'; - const allowance = new BigNumber(1000); - fakeResult = { - type: AuthorizationType.AddRelayerPayingKey, - value: { - beneficiary: expect.objectContaining({ address: beneficiaryAddress }), - subsidizer: expect.objectContaining({ address: relayerAddress }), - allowance, - }, - }; - authorizationData = dsMockUtils.createMockAuthorizationData({ - AddRelayerPayingKey: [ - dsMockUtils.createMockAccountId(beneficiaryAddress), - dsMockUtils.createMockAccountId(relayerAddress), - dsMockUtils.createMockBalance(allowance.shiftedBy(6)), - ], - }); - - result = authorizationDataToAuthorization(authorizationData, context); - expect(result).toEqual(fakeResult); - - const ticker = 'SOME_TICKER'; - const type = PermissionGroupType.Full; - fakeResult = { - type: AuthorizationType.BecomeAgent, - value: expect.objectContaining({ - asset: expect.objectContaining({ ticker }), - type, - }), - }; - - authorizationData = dsMockUtils.createMockAuthorizationData({ - BecomeAgent: [dsMockUtils.createMockTicker(ticker), dsMockUtils.createMockAgentGroup(type)], - }); - - result = authorizationDataToAuthorization(authorizationData, context); - expect(result).toEqual(fakeResult); - - authorizationData = dsMockUtils.createMockAuthorizationData({ - RotatePrimaryKeyToSecondary: dsMockUtils.createMockPermissions({ - asset: dsMockUtils.createMockAssetPermissions('Whole'), - portfolio: dsMockUtils.createMockPortfolioPermissions('Whole'), - extrinsic: dsMockUtils.createMockExtrinsicPermissions('Whole'), - }), - }); - fakeResult = { - type: AuthorizationType.RotatePrimaryKeyToSecondary, - value: { assets: null, portfolios: null, transactions: null, transactionGroups: [] }, - }; - - result = authorizationDataToAuthorization(authorizationData, context); - expect(result).toEqual(fakeResult); - }); - - it('should throw an error if the authorization has an unsupported type', () => { - const context = dsMockUtils.getContextInstance(); - const authorizationData = dsMockUtils.createMockAuthorizationData( - 'Whatever' as 'RotatePrimaryKey' - ); - - expect(() => authorizationDataToAuthorization(authorizationData, context)).toThrow( - 'Unsupported Authorization Type. Please contact the Polymesh team' - ); - }); - }); -}); - -describe('permissionGroupIdentifierToAgentGroup and agentGroupToPermissionGroupIdentifier', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - describe('permissionGroupIdentifierToAgentGroup', () => { - it('should convert a PermissionGroupIdentifier to a polkadot PolymeshPrimitivesAgentAgentGroup object', () => { - let value: PermissionGroupIdentifier = PermissionGroupType.PolymeshV1Pia; - const fakeResult = 'convertedAgentGroup' as unknown as PolymeshPrimitivesAgentAgentGroup; - const context = dsMockUtils.getContextInstance(); - - when(context.createType) - .calledWith('PolymeshPrimitivesAgentAgentGroup', value) - .mockReturnValue(fakeResult); - - let result = permissionGroupIdentifierToAgentGroup(value, context); - - expect(result).toEqual(fakeResult); - - const custom = new BigNumber(100); - value = { custom }; - - const u32FakeResult = '100' as unknown as u32; - - when(context.createType).calledWith('u32', custom.toString()).mockReturnValue(u32FakeResult); - when(context.createType) - .calledWith('PolymeshPrimitivesAgentAgentGroup', { Custom: u32FakeResult }) - .mockReturnValue(fakeResult); - - result = permissionGroupIdentifierToAgentGroup(value, context); - - expect(result).toEqual(fakeResult); - }); - }); - - describe('agentGroupToPermissionGroupIdentifier', () => { - it('should convert a polkadot PolymeshPrimitivesAgentAgentGroup object to a PermissionGroupIdentifier', () => { - let agentGroup = dsMockUtils.createMockAgentGroup('Full'); - - let result = agentGroupToPermissionGroupIdentifier(agentGroup); - expect(result).toEqual(PermissionGroupType.Full); - - agentGroup = dsMockUtils.createMockAgentGroup('ExceptMeta'); - - result = agentGroupToPermissionGroupIdentifier(agentGroup); - expect(result).toEqual(PermissionGroupType.ExceptMeta); - - agentGroup = dsMockUtils.createMockAgentGroup('PolymeshV1CAA'); - - result = agentGroupToPermissionGroupIdentifier(agentGroup); - expect(result).toEqual(PermissionGroupType.PolymeshV1Caa); - - agentGroup = dsMockUtils.createMockAgentGroup('PolymeshV1PIA'); - - result = agentGroupToPermissionGroupIdentifier(agentGroup); - expect(result).toEqual(PermissionGroupType.PolymeshV1Pia); - - const id = new BigNumber(1); - const rawAgId = dsMockUtils.createMockU32(id); - agentGroup = dsMockUtils.createMockAgentGroup({ Custom: rawAgId }); - - result = agentGroupToPermissionGroupIdentifier(agentGroup); - expect(result).toEqual({ custom: id }); - }); - }); -}); - -describe('authorizationTypeToMeshAuthorizationType', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should convert a AuthorizationType to a polkadot AuthorizationType object', () => { - const value = AuthorizationType.TransferTicker; - const fakeResult = 'convertedAuthorizationType' as unknown as MeshAuthorizationType; - const context = dsMockUtils.getContextInstance(); - - when(context.createType).calledWith('AuthorizationType', value).mockReturnValue(fakeResult); - - const result = authorizationTypeToMeshAuthorizationType(value, context); - - expect(result).toEqual(fakeResult); - }); -}); - -describe('permissionsToMeshPermissions and meshPermissionsToPermissions', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - entityMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - entityMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - describe('permissionsToMeshPermissions', () => { - it('should convert a Permissions to a polkadot PolymeshPrimitivesSecondaryKeyPermissions object (ordering tx alphabetically)', () => { - let value: Permissions = { - assets: null, - transactions: null, - transactionGroups: [], - portfolios: null, - }; - const fakeResult = 'convertedPermission' as unknown as MeshPermissions; - const context = dsMockUtils.getContextInstance(); - - const createTypeMock = context.createType; - - let fakeExtrinsicPermissionsResult: unknown = - 'convertedExtrinsicPermissions' as unknown as ExtrinsicPermissions; - when(context.createType) - .calledWith('PolymeshPrimitivesSubsetSubsetRestrictionPalletPermissions', 'Whole') - .mockReturnValue( - fakeExtrinsicPermissionsResult as unknown as PolymeshPrimitivesSubsetSubsetRestrictionPalletPermissions - ); - - when(createTypeMock) - .calledWith('PolymeshPrimitivesSecondaryKeyPermissions', { - asset: 'Whole', - extrinsic: fakeExtrinsicPermissionsResult, - portfolio: 'Whole', - }) - .mockReturnValue(fakeResult); - - let result = permissionsToMeshPermissions(value, context); - expect(result).toEqual(fakeResult); - - fakeExtrinsicPermissionsResult = { - These: [ - /* eslint-disable @typescript-eslint/naming-convention */ - { - pallet_name: 'Identity', - dispatchable_names: { - These: ['add_claim'], - }, - }, - { - pallet_name: 'Sto', - dispatchable_names: { - These: ['create_fundraiser', 'invest'], - }, - }, - /* eslint-enable @typescript-eslint/naming-convention */ - ], - }; - - when(createTypeMock) - .calledWith('PolymeshPrimitivesSubsetSubsetRestrictionPalletPermissions', expect.anything()) - .mockReturnValue( - fakeExtrinsicPermissionsResult as unknown as PolymeshPrimitivesSubsetSubsetRestrictionPalletPermissions - ); - - const ticker = 'SOME_TICKER'; - const did = 'someDid'; - value = { - assets: { - values: [entityMockUtils.getFungibleAssetInstance({ ticker })], - type: PermissionType.Include, - }, - transactions: { - values: [TxTags.sto.Invest, TxTags.identity.AddClaim, TxTags.sto.CreateFundraiser], - type: PermissionType.Include, - }, - transactionGroups: [], - portfolios: { - values: [entityMockUtils.getDefaultPortfolioInstance({ did })], - type: PermissionType.Include, - }, - }; - - const rawTicker = dsMockUtils.createMockTicker(ticker); - const rawPortfolioId = dsMockUtils.createMockPortfolioId({ - did: dsMockUtils.createMockIdentityId(did), - kind: dsMockUtils.createMockPortfolioKind('Default'), - }); - when(createTypeMock) - .calledWith('PolymeshPrimitivesSecondaryKeyPermissions', { - asset: { - These: [rawTicker], - }, - extrinsic: fakeExtrinsicPermissionsResult, - portfolio: { - These: [rawPortfolioId], - }, - }) - .mockReturnValue(fakeResult); - when(createTypeMock) - .calledWith('PolymeshPrimitivesTicker', padString(ticker, 12)) - .mockReturnValue(rawTicker); - when(createTypeMock) - .calledWith('PolymeshPrimitivesIdentityIdPortfolioId', expect.anything()) - .mockReturnValue(rawPortfolioId); - - result = permissionsToMeshPermissions(value, context); - expect(result).toEqual(fakeResult); - - fakeExtrinsicPermissionsResult = { - These: [ - /* eslint-disable @typescript-eslint/naming-convention */ - { - pallet_name: 'Sto', - dispatchable_names: { Except: ['invest', 'stop'] }, - }, - /* eslint-enable @typescript-eslint/naming-convention */ - ], - }; - - when(createTypeMock) - .calledWith('PolymeshPrimitivesSubsetSubsetRestrictionPalletPermissions', expect.anything()) - .mockReturnValue( - fakeExtrinsicPermissionsResult as unknown as PolymeshPrimitivesSubsetSubsetRestrictionPalletPermissions - ); - - value = { - assets: null, - transactions: { - values: [ModuleName.Sto], - type: PermissionType.Include, - exceptions: [TxTags.sto.Invest, TxTags.sto.Stop], - }, - transactionGroups: [], - portfolios: null, - }; - - when(createTypeMock) - .calledWith('PolymeshPrimitivesSecondaryKeyPermissions', { - asset: 'Whole', - extrinsic: fakeExtrinsicPermissionsResult, - portfolio: 'Whole', - }) - .mockReturnValue(fakeResult); - - result = permissionsToMeshPermissions(value, context); - expect(result).toEqual(fakeResult); - - fakeExtrinsicPermissionsResult = { - Except: [ - /* eslint-disable @typescript-eslint/naming-convention */ - { - pallet_name: 'Sto', - dispatchable_names: 'Whole', - }, - /* eslint-enable @typescript-eslint/naming-convention */ - ], - }; - - when(createTypeMock) - .calledWith('PolymeshPrimitivesSubsetSubsetRestrictionPalletPermissions', expect.anything()) - .mockReturnValue( - fakeExtrinsicPermissionsResult as unknown as PolymeshPrimitivesSubsetSubsetRestrictionPalletPermissions - ); - - value = { - assets: { - values: [entityMockUtils.getFungibleAssetInstance({ ticker })], - type: PermissionType.Exclude, - }, - transactions: { - values: [ModuleName.Sto], - type: PermissionType.Exclude, - }, - transactionGroups: [], - portfolios: { - values: [entityMockUtils.getDefaultPortfolioInstance({ did })], - type: PermissionType.Exclude, - }, - }; - - when(createTypeMock) - .calledWith('PolymeshPrimitivesSecondaryKeyPermissions', { - asset: { - Except: [rawTicker], - }, - extrinsic: fakeExtrinsicPermissionsResult, - portfolio: { - Except: [rawPortfolioId], - }, - }) - .mockReturnValue(fakeResult); - - result = permissionsToMeshPermissions(value, context); - expect(result).toEqual(fakeResult); - - fakeExtrinsicPermissionsResult = { - These: [ - /* eslint-disable @typescript-eslint/naming-convention */ - { - pallet_name: 'Identity', - dispatchable_names: { - These: ['add_claim'], - }, - }, - /* eslint-enable @typescript-eslint/naming-convention */ - ], - }; - - when(createTypeMock) - .calledWith('PolymeshPrimitivesSubsetSubsetRestrictionPalletPermissions', expect.anything()) - .mockReturnValue( - fakeExtrinsicPermissionsResult as unknown as PolymeshPrimitivesSubsetSubsetRestrictionPalletPermissions - ); - - const tickers = ['B_TICKER', 'A_TICKER', 'C_TICKER']; - - value = { - assets: { - values: tickers.map(t => entityMockUtils.getFungibleAssetInstance({ ticker: t })), - type: PermissionType.Include, - }, - transactions: { - values: [TxTags.identity.AddClaim], - type: PermissionType.Include, - }, - transactionGroups: [], - portfolios: { - values: [entityMockUtils.getDefaultPortfolioInstance({ did })], - type: PermissionType.Include, - }, - }; - - const rawTickers = tickers.map(t => dsMockUtils.createMockTicker(t)); - when(createTypeMock) - .calledWith('PolymeshPrimitivesSecondaryKeyPermissions', { - asset: { These: [rawTickers[1], rawTickers[0], rawTickers[2]] }, - extrinsic: fakeExtrinsicPermissionsResult, - portfolio: { These: [rawPortfolioId] }, - }) - .mockReturnValue(fakeResult); - - tickers.forEach((t, i) => - when(createTypeMock) - .calledWith('PolymeshPrimitivesTicker', padString(t, 12)) - .mockReturnValue(rawTickers[i]) - ); - - result = permissionsToMeshPermissions(value, context); - expect(result).toEqual(fakeResult); - }); - - it('should throw an error if attempting to add permissions for specific transactions as well as the entire module', () => { - const value: Permissions = { - assets: null, - transactions: { - values: [TxTags.sto.Invest, ModuleName.Sto], - type: PermissionType.Include, - }, - transactionGroups: [], - portfolios: null, - }; - const context = dsMockUtils.getContextInstance(); - - expect(() => permissionsToMeshPermissions(value, context)).toThrow( - 'Attempting to add permissions for specific transactions as well as the entire module' - ); - }); - - it('should throw an error if user simultaneously include and exclude transactions belonging to the same module', () => { - const value: Permissions = { - assets: null, - transactions: { - values: [TxTags.sto.Invest, TxTags.identity.AddClaim, TxTags.sto.CreateFundraiser], - type: PermissionType.Exclude, - exceptions: [TxTags.sto.Stop], - }, - transactionGroups: [], - portfolios: null, - }; - const context = dsMockUtils.getContextInstance(); - - expect(() => permissionsToMeshPermissions(value, context)).toThrow( - 'Cannot simultaneously include and exclude transactions belonging to the same module' - ); - }); - - it('should throw an error if attempting to add a transaction permission exception without its corresponding module being included/excluded', () => { - const value: Permissions = { - assets: null, - transactions: { - values: [], - type: PermissionType.Exclude, - exceptions: [TxTags.sto.Stop], - }, - transactionGroups: [], - portfolios: null, - }; - const context = dsMockUtils.getContextInstance(); - - expect(() => permissionsToMeshPermissions(value, context)).toThrow( - 'Attempting to add a transaction permission exception without its corresponding module being included/excluded' - ); - }); - }); - - describe('meshPermissionsToPermissions', () => { - it('should convert a polkadot Permissions object to a Permissions', () => { - const context = dsMockUtils.getContextInstance(); - const ticker = 'SOME_TICKER'; - const did = 'someDid'; - let fakeResult: Permissions = { - assets: { - values: [expect.objectContaining({ ticker })], - type: PermissionType.Include, - }, - transactions: { - type: PermissionType.Include, - values: [TxTags.identity.AddClaim, ModuleName.Authorship], - }, - transactionGroups: [], - portfolios: { - values: [expect.objectContaining({ owner: expect.objectContaining({ did }) })], - type: PermissionType.Include, - }, - }; - let permissions = dsMockUtils.createMockPermissions({ - asset: dsMockUtils.createMockAssetPermissions({ - These: [dsMockUtils.createMockTicker(ticker)], - }), - extrinsic: dsMockUtils.createMockExtrinsicPermissions({ - These: [ - dsMockUtils.createMockPalletPermissions({ - palletName: 'Identity', - dispatchableNames: dsMockUtils.createMockDispatchableNames({ - These: [dsMockUtils.createMockBytes('add_claim')], - }), - }), - dsMockUtils.createMockPalletPermissions({ - palletName: 'Authorship', - dispatchableNames: dsMockUtils.createMockDispatchableNames('Whole'), - }), - ], - }), - portfolio: dsMockUtils.createMockPortfolioPermissions({ - These: [ - dsMockUtils.createMockPortfolioId({ - did: dsMockUtils.createMockIdentityId(did), - kind: dsMockUtils.createMockPortfolioKind('Default'), - }), - ], - }), - }); - - let result = meshPermissionsToPermissions(permissions, context); - expect(result).toEqual(fakeResult); - - fakeResult = { - assets: null, - transactions: null, - transactionGroups: [], - portfolios: null, - }; - permissions = dsMockUtils.createMockPermissions({ - asset: dsMockUtils.createMockAssetPermissions('Whole'), - portfolio: dsMockUtils.createMockPortfolioPermissions('Whole'), - extrinsic: dsMockUtils.createMockExtrinsicPermissions('Whole'), - }); - - result = meshPermissionsToPermissions(permissions, context); - expect(result).toEqual(fakeResult); - - fakeResult = { - assets: { - values: [expect.objectContaining({ ticker })], - type: PermissionType.Exclude, - }, - transactions: { - type: PermissionType.Exclude, - values: [ModuleName.Identity], - exceptions: [TxTags.identity.AddClaim], - }, - transactionGroups: [], - portfolios: { - values: [expect.objectContaining({ owner: expect.objectContaining({ did }) })], - type: PermissionType.Exclude, - }, - }; - - permissions = dsMockUtils.createMockPermissions({ - asset: dsMockUtils.createMockAssetPermissions({ - Except: [dsMockUtils.createMockTicker(ticker)], - }), - extrinsic: dsMockUtils.createMockExtrinsicPermissions({ - Except: [ - dsMockUtils.createMockPalletPermissions({ - palletName: 'Identity', - dispatchableNames: dsMockUtils.createMockDispatchableNames({ - Except: [dsMockUtils.createMockBytes('add_claim')], - }), - }), - ], - }), - portfolio: dsMockUtils.createMockPortfolioPermissions({ - Except: [ - dsMockUtils.createMockPortfolioId({ - did: dsMockUtils.createMockIdentityId(did), - kind: dsMockUtils.createMockPortfolioKind('Default'), - }), - ], - }), - }); - - result = meshPermissionsToPermissions(permissions, context); - expect(result).toEqual(fakeResult); - }); - }); -}); - -describe('bigNumberToU64 and u64ToBigNumber', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - describe('bigNumberToU64', () => { - it('should convert a number to a polkadot u64 object', () => { - const value = new BigNumber(100); - const fakeResult = '100' as unknown as u64; - const context = dsMockUtils.getContextInstance(); - - when(context.createType).calledWith('u64', value.toString()).mockReturnValue(fakeResult); - - const result = bigNumberToU64(value, context); - - expect(result).toBe(fakeResult); - }); - - it('should throw an error if the number is negative', () => { - const value = new BigNumber(-100); - const context = dsMockUtils.getContextInstance(); - - expect(() => bigNumberToU64(value, context)).toThrow(); - }); - - it('should throw an error if the number is not an integer', () => { - const value = new BigNumber(1.5); - const context = dsMockUtils.getContextInstance(); - - expect(() => bigNumberToU64(value, context)).toThrow(); - }); - }); - - describe('u64ToBigNumber', () => { - it('should convert a polkadot u64 object to a BigNumber', () => { - const fakeResult = new BigNumber(100); - const num = dsMockUtils.createMockU64(fakeResult); - - const result = u64ToBigNumber(num); - expect(result).toEqual(new BigNumber(fakeResult)); - }); - }); -}); - -describe('bigNumberToU32 and u32ToBigNumber', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - describe('bigNumberToU32', () => { - it('should convert a number to a polkadot u32 object', () => { - const value = new BigNumber(100); - const fakeResult = '100' as unknown as u32; - const context = dsMockUtils.getContextInstance(); - - when(context.createType).calledWith('u32', value.toString()).mockReturnValue(fakeResult); - - const result = bigNumberToU32(value, context); - - expect(result).toBe(fakeResult); - }); - - it('should throw an error if the number is negative', () => { - const value = new BigNumber(-100); - const context = dsMockUtils.getContextInstance(); - - expect(() => bigNumberToU32(value, context)).toThrow(); - }); - - it('should throw an error if the number is not an integer', () => { - const value = new BigNumber(1.5); - const context = dsMockUtils.getContextInstance(); - - expect(() => bigNumberToU32(value, context)).toThrow(); - }); - }); - - describe('u32ToBigNumber', () => { - it('should convert a polkadot u32 object to a BigNumber', () => { - const fakeResult = new BigNumber(100); - const num = dsMockUtils.createMockU32(fakeResult); - - const result = u32ToBigNumber(num); - expect(result).toEqual(new BigNumber(fakeResult)); - }); - }); -}); - -describe('bigNumberToU128', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should convert a number to a polkadot u128 object', () => { - const value = new BigNumber(100); - const fakeResult = '100' as unknown as u128; - const context = dsMockUtils.getContextInstance(); - - when(context.createType).calledWith('u128', value.toString()).mockReturnValue(fakeResult); - - const result = bigNumberToU128(value, context); - - expect(result).toBe(fakeResult); - }); - - it('should throw an error if the number is negative', () => { - const value = new BigNumber(-100); - const context = dsMockUtils.getContextInstance(); - - expect(() => bigNumberToU128(value, context)).toThrow(); - }); - - it('should throw an error if the number is not an integer', () => { - const value = new BigNumber(1.5); - const context = dsMockUtils.getContextInstance(); - - expect(() => bigNumberToU128(value, context)).toThrow(); - }); -}); - -describe('u128ToBigNumber', () => { - it('should convert a polkadot u128 object to a BigNumber', () => { - const fakeResult = new BigNumber(100); - const num = dsMockUtils.createMockU128(fakeResult); - - const result = u128ToBigNumber(num); - expect(result).toEqual(new BigNumber(fakeResult)); - }); -}); - -describe('bigNumberToU16 and u16ToBigNumber', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - describe('bigNumberToU16', () => { - it('should convert a number to a polkadot u16 object', () => { - const value = new BigNumber(100); - const fakeResult = '100' as unknown as u16; - const context = dsMockUtils.getContextInstance(); - - when(context.createType).calledWith('u16', value.toString()).mockReturnValue(fakeResult); - - const result = bigNumberToU16(value, context); - - expect(result).toBe(fakeResult); - }); - - it('should throw an error if the number is negative', () => { - const value = new BigNumber(-100); - const context = dsMockUtils.getContextInstance(); - - expect(() => bigNumberToU16(value, context)).toThrow(); - }); - - it('should throw an error if the number is not an integer', () => { - const value = new BigNumber(1.5); - const context = dsMockUtils.getContextInstance(); - - expect(() => bigNumberToU16(value, context)).toThrow(); - }); - }); - - describe('u16ToBigNumber', () => { - it('should convert a polkadot u32 object to a BigNumber', () => { - const fakeResult = new BigNumber(100); - const num = dsMockUtils.createMockU16(fakeResult); - - const result = u16ToBigNumber(num); - expect(result).toEqual(new BigNumber(fakeResult)); - }); - }); -}); - -describe('u8ToBigNumber', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should convert a polkadot u8 object to a BigNumber', () => { - const fakeResult = new BigNumber(100); - const num = dsMockUtils.createMockU8(fakeResult); - - const result = u8ToBigNumber(num); - expect(result).toEqual(new BigNumber(fakeResult)); - }); -}); - -describe('percentageToPermill and permillToBigNumber', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - describe('percentageToPermill', () => { - it('should convert a number to a polkadot Permill object', () => { - const value = new BigNumber(49); - const fakeResult = '100' as unknown as Permill; - const context = dsMockUtils.getContextInstance(); - - when(context.createType) - .calledWith('Permill', value.multipliedBy(Math.pow(10, 4)).toString()) - .mockReturnValue(fakeResult); - - const result = percentageToPermill(value, context); - - expect(result).toBe(fakeResult); - }); - - it('should throw an error if the number is negative', () => { - const value = new BigNumber(-10); - const context = dsMockUtils.getContextInstance(); - - expect(() => percentageToPermill(value, context)).toThrow(); - }); - - it('should throw an error if the number is greater than 100', () => { - const value = new BigNumber(250); - const context = dsMockUtils.getContextInstance(); - - expect(() => percentageToPermill(value, context)).toThrow(); - }); - }); - - describe('permillToBigNumber', () => { - it('should convert a polkadot Permill object to a BigNumber', () => { - const fakeResult = new BigNumber(490000); - const permill = dsMockUtils.createMockPermill(fakeResult); - - const result = permillToBigNumber(permill); - expect(result).toEqual(new BigNumber(49)); - }); - }); -}); - -describe('bigNumberToBalance and balanceToBigNumber', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - describe('bigNumberToBalance', () => { - it('should convert a number to a polkadot Balance object', () => { - let value = new BigNumber(100); - const fakeResult = '100' as unknown as Balance; - const context = dsMockUtils.getContextInstance(); - - when(context.createType) - .calledWith('Balance', value.multipliedBy(Math.pow(10, 6)).toString()) - .mockReturnValue(fakeResult); - - let result = bigNumberToBalance(value, context, false); - - expect(result).toBe(fakeResult); - - value = new BigNumber(100.1); - - when(context.createType) - .calledWith('Balance', value.multipliedBy(Math.pow(10, 6)).toString()) - .mockReturnValue(fakeResult); - - result = bigNumberToBalance(value, context); - - expect(result).toBe(fakeResult); - - value = new BigNumber(''); - - when(context.createType) - .calledWith('Balance', value.multipliedBy(Math.pow(10, 6)).toString()) - .mockReturnValue(fakeResult); - - expect(result).toBe(fakeResult); - - value = new BigNumber(NaN); - - when(context.createType) - .calledWith('Balance', value.multipliedBy(Math.pow(10, 6)).toString()) - .mockReturnValue(fakeResult); - - result = bigNumberToBalance(value, context); - - expect(result).toBe(fakeResult); - }); - - it('should throw an error if the value exceeds the max balance', () => { - const value = new BigNumber(Math.pow(20, 15)); - const context = dsMockUtils.getContextInstance(); - - let error; - - try { - bigNumberToBalance(value, context); - } catch (err) { - error = err; - } - - expect(error.message).toBe('The value exceeds the maximum possible balance'); - expect(error.data).toMatchObject({ currentValue: value, amountLimit: MAX_BALANCE }); - }); - - it('should throw an error if the value has more decimal places than allowed', () => { - const value = new BigNumber(50.1234567); - const context = dsMockUtils.getContextInstance(); - - let error; - - try { - bigNumberToBalance(value, context); - } catch (err) { - error = err; - } - - expect(error.message).toBe('The value has more decimal places than allowed'); - expect(error.data).toMatchObject({ currentValue: value, decimalsLimit: MAX_DECIMALS }); - }); - - it('should throw an error if the value has decimals and the Asset is indivisible', () => { - const value = new BigNumber(50.1234567); - const context = dsMockUtils.getContextInstance(); - - expect(() => bigNumberToBalance(value, context, false)).toThrow( - 'The value has decimals but the Asset is indivisible' - ); - }); - }); - - describe('balanceToBigNumber', () => { - it('should convert a polkadot Balance object to a BigNumber', () => { - const fakeResult = new BigNumber(100); - const balance = dsMockUtils.createMockBalance(fakeResult); - - const result = balanceToBigNumber(balance); - expect(result).toEqual(new BigNumber(fakeResult).shiftedBy(-6)); - }); - }); -}); - -describe('isIsinValid, isCusipValid and isLeiValid', () => { - describe('isIsinValid', () => { - it('should return if the Isin value identifier is valid or not', () => { - const correct = isIsinValid('US0378331005'); - let incorrect = isIsinValid('US0373431005'); - - expect(correct).toBeTruthy(); - expect(incorrect).toBeFalsy(); - - incorrect = isIsinValid('US0373431'); - expect(incorrect).toBeFalsy(); - }); - }); - - describe('isCusipValid', () => { - it('should return if the Cusip value identifier is valid or not', () => { - const correct = isCusipValid('037833100'); - let incorrect = isCusipValid('037831200'); - - expect(correct).toBeTruthy(); - expect(incorrect).toBeFalsy(); - - incorrect = isCusipValid('037831'); - - expect(incorrect).toBeFalsy(); - - incorrect = isCusipValid('0378312CD'); - - expect(incorrect).toBeFalsy(); - }); - }); - - describe('isLeiValid', () => { - it('should return if the Lei value identifier is valid or not', () => { - const correct = isLeiValid('724500VKKSH9QOLTFR81'); - let incorrect = isLeiValid('969500T3MBS4SQAMHJ45'); - - expect(correct).toBeTruthy(); - expect(incorrect).toBeFalsy(); - - incorrect = isLeiValid('969500T3MS4SQAMHJ4'); - expect(incorrect).toBeFalsy(); - }); - }); - - describe('isFigiValid', () => { - it('should return if the Figi value identifier is valid or not', () => { - const validIdentifiers = [ - 'BBG000BLNQ16', - 'NRG92C84SB39', - 'BBG0013YWBF3', - 'BBG00H9NR574', - 'BBG00094DJF9', - 'BBG016V71XT0', - ]; - - validIdentifiers.forEach(identifier => expect(isFigiValid(identifier)).toBeTruthy()); - - const invalidIdentifiers = [ - 'BBG00024DJF9', // Bad check digit - 'BSG00024DJF9', // disallowed prefix - 'BBB00024DJF9', // 3rd char not G - 'BBG00024AEF9', // vowels not allowed - ]; - - invalidIdentifiers.forEach(identifier => expect(isFigiValid(identifier)).toBeFalsy()); - }); - }); -}); - -describe('stringToMemo', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should convert a string to a polkadot PolymeshPrimitivesMemo object', () => { - const value = 'someDescription'; - const fakeResult = 'memoDescription' as unknown as PolymeshPrimitivesMemo; - const context = dsMockUtils.getContextInstance(); - - when(context.createType) - .calledWith('PolymeshPrimitivesMemo', padString(value, 32)) - .mockReturnValue(fakeResult); - - const result = stringToMemo(value, context); - - expect(result).toEqual(fakeResult); - }); - - it('should throw an error if the value exceeds the maximum length', () => { - const value = 'someVeryLongDescriptionThatIsDefinitelyLongerThanTheMaxLength'; - const context = dsMockUtils.getContextInstance(); - - expect(() => stringToMemo(value, context)).toThrow('Max memo length exceeded'); - }); -}); - -describe('u8ToTransferStatus', () => { - it('should convert a polkadot u8 object to a TransferStatus', () => { - let result = u8ToTransferStatus(dsMockUtils.createMockU8(new BigNumber(80))); - - expect(result).toBe(TransferStatus.Failure); - - result = u8ToTransferStatus(dsMockUtils.createMockU8(new BigNumber(81))); - - expect(result).toBe(TransferStatus.Success); - - result = u8ToTransferStatus(dsMockUtils.createMockU8(new BigNumber(82))); - - expect(result).toBe(TransferStatus.InsufficientBalance); - - result = u8ToTransferStatus(dsMockUtils.createMockU8(new BigNumber(83))); - - expect(result).toBe(TransferStatus.InsufficientAllowance); - - result = u8ToTransferStatus(dsMockUtils.createMockU8(new BigNumber(84))); - - expect(result).toBe(TransferStatus.TransfersHalted); - - result = u8ToTransferStatus(dsMockUtils.createMockU8(new BigNumber(85))); - - expect(result).toBe(TransferStatus.FundsLocked); - - result = u8ToTransferStatus(dsMockUtils.createMockU8(new BigNumber(86))); - - expect(result).toBe(TransferStatus.InvalidSenderAddress); - - result = u8ToTransferStatus(dsMockUtils.createMockU8(new BigNumber(87))); - - expect(result).toBe(TransferStatus.InvalidReceiverAddress); - - result = u8ToTransferStatus(dsMockUtils.createMockU8(new BigNumber(88))); - - expect(result).toBe(TransferStatus.InvalidOperator); - - result = u8ToTransferStatus(dsMockUtils.createMockU8(new BigNumber(160))); - - expect(result).toBe(TransferStatus.InvalidSenderIdentity); - - result = u8ToTransferStatus(dsMockUtils.createMockU8(new BigNumber(161))); - - expect(result).toBe(TransferStatus.InvalidReceiverIdentity); - - result = u8ToTransferStatus(dsMockUtils.createMockU8(new BigNumber(162))); - - expect(result).toBe(TransferStatus.ComplianceFailure); - - result = u8ToTransferStatus(dsMockUtils.createMockU8(new BigNumber(163))); - - expect(result).toBe(TransferStatus.SmartExtensionFailure); - - result = u8ToTransferStatus(dsMockUtils.createMockU8(new BigNumber(164))); - - expect(result).toBe(TransferStatus.InvalidGranularity); - - result = u8ToTransferStatus(dsMockUtils.createMockU8(new BigNumber(165))); - - expect(result).toBe(TransferStatus.VolumeLimitReached); - - result = u8ToTransferStatus(dsMockUtils.createMockU8(new BigNumber(166))); - - expect(result).toBe(TransferStatus.BlockedTransaction); - - result = u8ToTransferStatus(dsMockUtils.createMockU8(new BigNumber(168))); - - expect(result).toBe(TransferStatus.FundsLimitReached); - - result = u8ToTransferStatus(dsMockUtils.createMockU8(new BigNumber(169))); - - expect(result).toBe(TransferStatus.PortfolioFailure); - - result = u8ToTransferStatus(dsMockUtils.createMockU8(new BigNumber(170))); - - expect(result).toBe(TransferStatus.CustodianError); - - result = u8ToTransferStatus(dsMockUtils.createMockU8(new BigNumber(171))); - - expect(result).toBe(TransferStatus.ScopeClaimMissing); - - result = u8ToTransferStatus(dsMockUtils.createMockU8(new BigNumber(172))); - - expect(result).toBe(TransferStatus.TransferRestrictionFailure); - - const fakeStatusCode = new BigNumber(1); - expect(() => u8ToTransferStatus(dsMockUtils.createMockU8(fakeStatusCode))).toThrow( - `Unsupported status code "${fakeStatusCode}". Please report this issue to the Polymesh team` - ); - }); -}); - -describe('internalSecurityTypeToAssetType and assetTypeToKnownOrId', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - describe('internalAssetTypeToAssetType', () => { - it('should convert an AssetType to a polkadot PolymeshPrimitivesAssetAssetType object', () => { - const value = KnownAssetType.Commodity; - const fakeResult = 'CommodityEnum' as unknown as PolymeshPrimitivesAssetAssetType; - const context = dsMockUtils.getContextInstance(); - - when(context.createType) - .calledWith('PolymeshPrimitivesAssetAssetType', value) - .mockReturnValue(fakeResult); - - const result = internalAssetTypeToAssetType(value, context); - - expect(result).toBe(fakeResult); - }); - }); - - describe('internalNftTypeToNftType', () => { - it('should convert an NftType to a polkadot PolymeshPrimitivesAssetAssetType object', () => { - const value = KnownNftType.Derivative; - const fakeResult = 'DerivativeEnum' as unknown as PolymeshPrimitivesAssetNonFungibleType; - const context = dsMockUtils.getContextInstance(); - - when(context.createType) - .calledWith('PolymeshPrimitivesAssetNonFungibleType', value) - .mockReturnValue(fakeResult); - - const result = internalNftTypeToNftType(value, context); - - expect(result).toBe(fakeResult); - }); - }); - - describe('assetTypeToKnownOrId', () => { - it('should convert a polkadot PolymeshPrimitivesAssetAssetType object to a string', () => { - let fakeResult = KnownAssetType.Commodity; - let assetType = dsMockUtils.createMockAssetType(fakeResult); - - let result = assetTypeToKnownOrId(assetType); - expect(result.value).toEqual(fakeResult); - expect(result.type).toEqual('Fungible'); - - fakeResult = KnownAssetType.EquityCommon; - assetType = dsMockUtils.createMockAssetType(fakeResult); - - result = assetTypeToKnownOrId(assetType); - expect(result.value).toEqual(fakeResult); - - fakeResult = KnownAssetType.EquityPreferred; - assetType = dsMockUtils.createMockAssetType(fakeResult); - - result = assetTypeToKnownOrId(assetType); - expect(result.value).toEqual(fakeResult); - - fakeResult = KnownAssetType.Commodity; - assetType = dsMockUtils.createMockAssetType(fakeResult); - - result = assetTypeToKnownOrId(assetType); - expect(result.value).toEqual(fakeResult); - - fakeResult = KnownAssetType.FixedIncome; - assetType = dsMockUtils.createMockAssetType(fakeResult); - - result = assetTypeToKnownOrId(assetType); - expect(result.value).toEqual(fakeResult); - - fakeResult = KnownAssetType.Reit; - assetType = dsMockUtils.createMockAssetType(fakeResult); - - result = assetTypeToKnownOrId(assetType); - expect(result.value).toEqual(fakeResult); - - fakeResult = KnownAssetType.Fund; - assetType = dsMockUtils.createMockAssetType(fakeResult); - - result = assetTypeToKnownOrId(assetType); - expect(result.value).toEqual(fakeResult); - - fakeResult = KnownAssetType.RevenueShareAgreement; - assetType = dsMockUtils.createMockAssetType(fakeResult); - - result = assetTypeToKnownOrId(assetType); - expect(result.value).toEqual(fakeResult); - - fakeResult = KnownAssetType.StructuredProduct; - assetType = dsMockUtils.createMockAssetType(fakeResult); - - result = assetTypeToKnownOrId(assetType); - expect(result.value).toEqual(fakeResult); - - fakeResult = KnownAssetType.Derivative; - assetType = dsMockUtils.createMockAssetType(fakeResult); - - result = assetTypeToKnownOrId(assetType); - expect(result.value).toEqual(fakeResult); - - fakeResult = KnownAssetType.StableCoin; - assetType = dsMockUtils.createMockAssetType(fakeResult); - - result = assetTypeToKnownOrId(assetType); - expect(result.value).toEqual(fakeResult); - - assetType = dsMockUtils.createMockAssetType({ - Custom: dsMockUtils.createMockU32(new BigNumber(1)), - }); - - result = assetTypeToKnownOrId(assetType); - expect(result.value).toEqual(new BigNumber(1)); - }); - - it('should convert NFT type values', () => { - let fakeResult = KnownNftType.Derivative; - let assetType = dsMockUtils.createMockAssetType({ - NonFungible: dsMockUtils.createMockNftType(fakeResult), - }); - - let result = assetTypeToKnownOrId(assetType); - expect(result.value).toEqual(fakeResult); - expect(result.type).toEqual('NonFungible'); - - fakeResult = KnownNftType.Invoice; - assetType = dsMockUtils.createMockAssetType({ - NonFungible: dsMockUtils.createMockNftType(fakeResult), - }); - - result = assetTypeToKnownOrId(assetType); - expect(result.value).toEqual(fakeResult); - - fakeResult = KnownNftType.FixedIncome; - assetType = dsMockUtils.createMockAssetType({ - NonFungible: dsMockUtils.createMockNftType(fakeResult), - }); - - result = assetTypeToKnownOrId(assetType); - expect(result.value).toEqual(fakeResult); - - assetType = dsMockUtils.createMockAssetType({ - NonFungible: dsMockUtils.createMockNftType({ - Custom: dsMockUtils.createMockU32(new BigNumber(2)), - }), - }); - - result = assetTypeToKnownOrId(assetType); - expect(result.value).toEqual(new BigNumber(2)); - }); - }); -}); - -describe('posRatioToBigNumber', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should convert a polkadot PolymeshPrimitivesPosRatio object to a BigNumber', () => { - const numerator = new BigNumber(1); - const denominator = new BigNumber(1); - const balance = dsMockUtils.createMockPosRatio(numerator, denominator); - - const result = posRatioToBigNumber(balance); - expect(result).toEqual(new BigNumber(numerator).dividedBy(new BigNumber(denominator))); - }); -}); - -describe('nameToAssetName', () => { - let mockContext: Mocked; - let nameMaxLength: BigNumber; - let rawNameMaxLength: u32; - - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - beforeEach(() => { - mockContext = dsMockUtils.getContextInstance(); - nameMaxLength = new BigNumber(10); - rawNameMaxLength = dsMockUtils.createMockU32(nameMaxLength); - - dsMockUtils.setConstMock('asset', 'assetNameMaxLength', { - returnValue: rawNameMaxLength, - }); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should throw an error if Asset name exceeds max length', () => { - const expectedError = new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'Asset name length exceeded', - data: { - maxLength: nameMaxLength, - }, - }); - - expect(() => nameToAssetName('TOO_LONG_NAME', mockContext)).toThrowError(expectedError); - }); - - it('should convert Asset name to Bytes', () => { - const name = 'SOME_NAME'; - const fakeName = 'fakeName' as unknown as Bytes; - when(mockContext.createType).calledWith('Bytes', name).mockReturnValue(fakeName); - - const result = nameToAssetName(name, mockContext); - expect(result).toEqual(fakeName); - }); -}); - -describe('fundingRoundToAssetFundingRound', () => { - let mockContext: Mocked; - let fundingRoundNameMaxLength: BigNumber; - let rawFundingRoundNameMaxLength: u32; - - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - beforeEach(() => { - mockContext = dsMockUtils.getContextInstance(); - fundingRoundNameMaxLength = new BigNumber(10); - rawFundingRoundNameMaxLength = dsMockUtils.createMockU32(fundingRoundNameMaxLength); - - dsMockUtils.setConstMock('asset', 'fundingRoundNameMaxLength', { - returnValue: rawFundingRoundNameMaxLength, - }); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should throw an error if funding round name exceeds max length', () => { - const expectedError = new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'Asset funding round name length exceeded', - data: { - maxLength: fundingRoundNameMaxLength, - }, - }); - - expect(() => - fundingRoundToAssetFundingRound('TOO_LONG_FUNDING_ROUND_NAME', mockContext) - ).toThrowError(expectedError); - }); - - it('should convert funding round name to Bytes', () => { - const name = 'SOME_NAME'; - const fakeFundingRoundName = 'fakeFundingRoundName' as unknown as Bytes; - when(mockContext.createType).calledWith('Bytes', name).mockReturnValue(fakeFundingRoundName); - - const result = fundingRoundToAssetFundingRound(name, mockContext); - expect(result).toEqual(fakeFundingRoundName); - }); -}); - -describe('securityIdentifierToAssetIdentifier and assetIdentifierToSecurityIdentifier', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - describe('securityIdentifierToAssetIdentifier', () => { - it('should convert a SecurityIdentifier to a polkadot AssetIdentifier object', () => { - const isinValue = 'US0378331005'; - // cSpell: disable-next-line - const leiValue = '724500VKKSH9QOLTFR81'; - const cusipValue = '037833100'; - const figiValue = 'BBG00H9NR574'; - - let value = { type: SecurityIdentifierType.Isin, value: isinValue }; - const fakeResult = 'IsinEnum' as unknown as PolymeshPrimitivesAssetIdentifier; - const context = dsMockUtils.getContextInstance(); - - when(context.createType) - .calledWith('PolymeshPrimitivesAssetIdentifier', { - [SecurityIdentifierType.Isin]: isinValue, - }) - .mockReturnValue(fakeResult); - - let result = securityIdentifierToAssetIdentifier(value, context); - - expect(result).toBe(fakeResult); - - value = { type: SecurityIdentifierType.Lei, value: leiValue }; - - when(context.createType) - .calledWith('PolymeshPrimitivesAssetIdentifier', { [SecurityIdentifierType.Lei]: leiValue }) - .mockReturnValue(fakeResult); - - result = securityIdentifierToAssetIdentifier(value, context); - - expect(result).toBe(fakeResult); - - value = { type: SecurityIdentifierType.Cusip, value: cusipValue }; - - when(context.createType) - .calledWith('PolymeshPrimitivesAssetIdentifier', { - [SecurityIdentifierType.Cusip]: cusipValue, - }) - .mockReturnValue(fakeResult); - - result = securityIdentifierToAssetIdentifier(value, context); - - expect(result).toBe(fakeResult); - - value = { type: SecurityIdentifierType.Figi, value: figiValue }; - - when(context.createType) - .calledWith('PolymeshPrimitivesAssetIdentifier', { - [SecurityIdentifierType.Figi]: figiValue, - }) - .mockReturnValue(fakeResult); - - result = securityIdentifierToAssetIdentifier(value, context); - - expect(result).toBe(fakeResult); - }); - - it('should throw an error if some identifier is invalid', () => { - const context = dsMockUtils.getContextInstance(); - - let identifier = { type: SecurityIdentifierType.Isin, value: 'US0373431005' }; - - expect(() => securityIdentifierToAssetIdentifier(identifier, context)).toThrow( - `Invalid security identifier ${identifier.value} of type Isin` - ); - - // cSpell: disable-next-line - identifier = { type: SecurityIdentifierType.Lei, value: '969500T3MBS4SQAMHJ45' }; - - expect(() => securityIdentifierToAssetIdentifier(identifier, context)).toThrow( - `Invalid security identifier ${identifier.value} of type Lei` - ); - - identifier = { type: SecurityIdentifierType.Cusip, value: '037831200' }; - - expect(() => securityIdentifierToAssetIdentifier(identifier, context)).toThrow( - `Invalid security identifier ${identifier.value} of type Cusip` - ); - - identifier = { type: SecurityIdentifierType.Figi, value: 'BBB00024DJF9' }; - - expect(() => securityIdentifierToAssetIdentifier(identifier, context)).toThrow( - `Invalid security identifier ${identifier.value} of type Figi` - ); - }); - }); - - describe('assetIdentifierToSecurityIdentifier', () => { - it('should convert a polkadot AssetIdentifier object to a SecurityIdentifier', () => { - let fakeResult = { type: SecurityIdentifierType.Isin, value: 'someValue' }; - let identifier = dsMockUtils.createMockAssetIdentifier({ - [SecurityIdentifierType.Isin]: dsMockUtils.createMockU8aFixed('someValue'), - }); - - let result = assetIdentifierToSecurityIdentifier(identifier); - expect(result).toEqual(fakeResult); - - fakeResult = { type: SecurityIdentifierType.Cusip, value: 'someValue' }; - identifier = dsMockUtils.createMockAssetIdentifier({ - [SecurityIdentifierType.Cusip]: dsMockUtils.createMockU8aFixed('someValue'), - }); - - result = assetIdentifierToSecurityIdentifier(identifier); - expect(result).toEqual(fakeResult); - - fakeResult = { type: SecurityIdentifierType.Cins, value: 'someValue' }; - identifier = dsMockUtils.createMockAssetIdentifier({ - [SecurityIdentifierType.Cins]: dsMockUtils.createMockU8aFixed('someValue'), - }); - - result = assetIdentifierToSecurityIdentifier(identifier); - expect(result).toEqual(fakeResult); - - fakeResult = { type: SecurityIdentifierType.Lei, value: 'someValue' }; - identifier = dsMockUtils.createMockAssetIdentifier({ - [SecurityIdentifierType.Lei]: dsMockUtils.createMockU8aFixed('someValue'), - }); - - result = assetIdentifierToSecurityIdentifier(identifier); - expect(result).toEqual(fakeResult); - - fakeResult = { type: SecurityIdentifierType.Figi, value: 'someValue' }; - identifier = dsMockUtils.createMockAssetIdentifier({ - [SecurityIdentifierType.Figi]: dsMockUtils.createMockU8aFixed('someValue'), - }); - - result = assetIdentifierToSecurityIdentifier(identifier); - expect(result).toEqual(fakeResult); - }); - }); -}); - -describe('stringToDocumentHash and documentHashToString', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - describe('stringToDocumentHash', () => { - it('should throw if document hash is not prefixed with 0x', () => { - expect(() => stringToDocumentHash('', dsMockUtils.getContextInstance())).toThrow( - 'Document hash must be a hexadecimal string prefixed by 0x' - ); - }); - - it('should throw if document hash is longer than 128 characters', () => { - expect(() => - stringToDocumentHash('0x'.padEnd(131, '1'), dsMockUtils.getContextInstance()) - ).toThrow('Document hash exceeds max length'); - }); - - it('should convert a string to a polkadot PolymeshPrimitivesDocumentHash object', () => { - const fakeResult = 'convertedHash' as unknown as PolymeshPrimitivesDocumentHash; - const context = dsMockUtils.getContextInstance(); - - const createTypeMock = context.createType; - - when(createTypeMock) - .calledWith('PolymeshPrimitivesDocumentHash', 'None') - .mockReturnValue(fakeResult); - - let result = stringToDocumentHash(undefined, context); - - expect(result).toEqual(fakeResult); - - let value = '0x1'; - when(createTypeMock) - .calledWith('PolymeshPrimitivesDocumentHash', { H128: hexToU8a(value.padEnd(34, '0')) }) - .mockReturnValue(fakeResult); - - result = stringToDocumentHash(value, context); - - expect(result).toEqual(fakeResult); - - value = value.padEnd(35, '1'); - when(createTypeMock) - .calledWith('PolymeshPrimitivesDocumentHash', { H160: hexToU8a(value.padEnd(42, '0')) }) - .mockReturnValue(fakeResult); - - result = stringToDocumentHash(value, context); - - expect(result).toEqual(fakeResult); - - value = value.padEnd(43, '1'); - when(createTypeMock) - .calledWith('PolymeshPrimitivesDocumentHash', { H192: hexToU8a(value.padEnd(50, '0')) }) - .mockReturnValue(fakeResult); - - result = stringToDocumentHash(value, context); - - expect(result).toEqual(fakeResult); - - value = value.padEnd(51, '1'); - when(createTypeMock) - .calledWith('PolymeshPrimitivesDocumentHash', { H224: hexToU8a(value.padEnd(58, '0')) }) - .mockReturnValue(fakeResult); - - result = stringToDocumentHash(value, context); - - expect(result).toEqual(fakeResult); - - value = value.padEnd(59, '1'); - when(createTypeMock) - .calledWith('PolymeshPrimitivesDocumentHash', { H256: hexToU8a(value.padEnd(66, '0')) }) - .mockReturnValue(fakeResult); - - result = stringToDocumentHash(value, context); - - expect(result).toEqual(fakeResult); - - value = value.padEnd(67, '1'); - when(createTypeMock) - .calledWith('PolymeshPrimitivesDocumentHash', { H320: hexToU8a(value.padEnd(82, '0')) }) - .mockReturnValue(fakeResult); - - result = stringToDocumentHash(value, context); - - expect(result).toEqual(fakeResult); - - value = value.padEnd(83, '1'); - when(createTypeMock) - .calledWith('PolymeshPrimitivesDocumentHash', { H384: hexToU8a(value.padEnd(98, '0')) }) - .mockReturnValue(fakeResult); - - result = stringToDocumentHash(value, context); - - expect(result).toEqual(fakeResult); - - value = value.padEnd(99, '1'); - when(createTypeMock) - .calledWith('PolymeshPrimitivesDocumentHash', { H512: hexToU8a(value.padEnd(130, '0')) }) - .mockReturnValue(fakeResult); - - result = stringToDocumentHash(value, context); - - expect(result).toEqual(fakeResult); - }); - }); - - describe('documentHashToString', () => { - it('should convert a polkadot PolymeshPrimitivesDocumentHash object to a string', () => { - const fakeResult = '0x01'; - let docHash = dsMockUtils.createMockDocumentHash({ - H128: dsMockUtils.createMockU8aFixed(fakeResult, true), - }); - - let result = documentHashToString(docHash); - expect(result).toEqual(fakeResult); - - docHash = dsMockUtils.createMockDocumentHash({ - H160: dsMockUtils.createMockU8aFixed(fakeResult, true), - }); - - result = documentHashToString(docHash); - expect(result).toEqual(fakeResult); - - docHash = dsMockUtils.createMockDocumentHash({ - H192: dsMockUtils.createMockU8aFixed(fakeResult, true), - }); - - result = documentHashToString(docHash); - expect(result).toEqual(fakeResult); - - docHash = dsMockUtils.createMockDocumentHash({ - H224: dsMockUtils.createMockU8aFixed(fakeResult, true), - }); - - result = documentHashToString(docHash); - expect(result).toEqual(fakeResult); - - docHash = dsMockUtils.createMockDocumentHash({ - H256: dsMockUtils.createMockU8aFixed(fakeResult, true), - }); - - result = documentHashToString(docHash); - expect(result).toEqual(fakeResult); - - docHash = dsMockUtils.createMockDocumentHash({ - H320: dsMockUtils.createMockU8aFixed(fakeResult, true), - }); - - result = documentHashToString(docHash); - expect(result).toEqual(fakeResult); - - docHash = dsMockUtils.createMockDocumentHash({ - H384: dsMockUtils.createMockU8aFixed(fakeResult, true), - }); - - result = documentHashToString(docHash); - expect(result).toEqual(fakeResult); - - docHash = dsMockUtils.createMockDocumentHash({ - H512: dsMockUtils.createMockU8aFixed(fakeResult, true), - }); - - result = documentHashToString(docHash); - expect(result).toEqual(fakeResult); - - docHash = dsMockUtils.createMockDocumentHash('None'); - - result = documentHashToString(docHash); - expect(result).toBeUndefined(); - }); - }); -}); - -describe('assetDocumentToDocument and documentToAssetDocument', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - describe('assetDocumentToDocument', () => { - it('should convert an AssetDocument object to a polkadot Document object', () => { - const uri = 'someUri'; - const contentHash = '0x01'; - const name = 'someName'; - const type = 'someType'; - const filedAt = new Date(); - const value = { - uri, - contentHash, - name, - }; - const fakeResult = 'convertedDocument' as unknown as PolymeshPrimitivesDocument; - const context = dsMockUtils.getContextInstance(); - - when(context.createType) - .calledWith('PolymeshPrimitivesDocument', { - uri: stringToBytes(uri, context), - name: stringToBytes(name, context), - contentHash: stringToDocumentHash(contentHash, context), - docType: null, - filingDate: null, - }) - .mockReturnValue(fakeResult); - - let result = assetDocumentToDocument(value, context); - expect(result).toEqual(fakeResult); - - when(context.createType) - .calledWith('PolymeshPrimitivesDocument', { - uri: stringToBytes(uri, context), - name: stringToBytes(name, context), - contentHash: stringToDocumentHash(contentHash, context), - docType: stringToBytes(type, context), - filingDate: dateToMoment(filedAt, context), - }) - .mockReturnValue(fakeResult); - - result = assetDocumentToDocument({ ...value, filedAt, type }, context); - expect(result).toEqual(fakeResult); - }); - }); - - describe('documentToAssetDocument', () => { - it('should convert a polkadot Document object to an AssetDocument object', () => { - const name = 'someName'; - const uri = 'someUri'; - const contentHash = '0x111111'; - const filedAt = new Date(); - const type = 'someType'; - let fakeResult: AssetDocument = { - name, - uri, - }; - - let doc = dsMockUtils.createMockDocument({ - uri: dsMockUtils.createMockBytes(uri), - name: dsMockUtils.createMockBytes(name), - contentHash: dsMockUtils.createMockDocumentHash('None'), - docType: dsMockUtils.createMockOption(), - filingDate: dsMockUtils.createMockOption(), - }); - - let result = documentToAssetDocument(doc); - expect(result).toEqual(fakeResult); - - fakeResult = { - ...fakeResult, - contentHash, - filedAt, - type, - }; - - doc = dsMockUtils.createMockDocument({ - uri: dsMockUtils.createMockBytes(uri), - name: dsMockUtils.createMockBytes(name), - contentHash: dsMockUtils.createMockDocumentHash({ - H128: dsMockUtils.createMockU8aFixed(contentHash, true), - }), - docType: dsMockUtils.createMockOption(dsMockUtils.createMockBytes(type)), - filingDate: dsMockUtils.createMockOption( - dsMockUtils.createMockMoment(new BigNumber(filedAt.getTime())) - ), - }); - - result = documentToAssetDocument(doc); - expect(result).toEqual(fakeResult); - }); - }); -}); - -describe('cddStatusToBoolean', () => { - it('should convert a valid CDD status to a true boolean', async () => { - const cddStatusMock = dsMockUtils.createMockCddStatus({ - Ok: dsMockUtils.createMockIdentityId(), - }); - const result = cddStatusToBoolean(cddStatusMock); - - expect(result).toEqual(true); - }); - - it('should convert an invalid CDD status to a false boolean', async () => { - const cddStatusMock = dsMockUtils.createMockCddStatus(); - const result = cddStatusToBoolean(cddStatusMock); - - expect(result).toEqual(false); - }); -}); - -describe('canTransferResultToTransferStatus', () => { - it('should convert a polkadot CanTransferResult object to a TransferStatus', () => { - const errorMsg = 'someError'; - expect(() => - canTransferResultToTransferStatus( - dsMockUtils.createMockCanTransferResult({ - Err: dsMockUtils.createMockBytes(errorMsg), - }) - ) - ).toThrow(`Error while checking transfer validity: ${errorMsg}`); - - const result = canTransferResultToTransferStatus( - dsMockUtils.createMockCanTransferResult({ Ok: dsMockUtils.createMockU8(new BigNumber(81)) }) - ); - - expect(result).toBe(TransferStatus.Success); - }); -}); - -describe('granularCanTransferResultToTransferBreakdown', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should convert a polkadot GranularCanTransferResult object to a TransferBreakdown', () => { - const context = dsMockUtils.getContextInstance(); - let result = granularCanTransferResultToTransferBreakdown( - dsMockUtils.createMockGranularCanTransferResult({ - /* eslint-disable @typescript-eslint/naming-convention */ - invalid_granularity: true, - self_transfer: true, - invalid_receiver_cdd: true, - invalid_sender_cdd: true, - receiver_custodian_error: true, - sender_custodian_error: true, - sender_insufficient_balance: true, - portfolio_validity_result: { - receiver_is_same_portfolio: true, - sender_portfolio_does_not_exist: true, - receiver_portfolio_does_not_exist: true, - sender_insufficient_balance: true, - result: false, - }, - asset_frozen: true, - transfer_condition_result: [ - { - condition: { - MaxInvestorCount: createMockU64(new BigNumber(100)), - }, - result: false, - }, - ], - compliance_result: dsMockUtils.createMockAssetComplianceResult({ - paused: false, - requirements: [], - result: false, - }), - result: true, - /* eslint-enable @typescript-eslint/naming-convention */ - }), - undefined, - context - ); - - expect(result).toEqual({ - general: [ - TransferError.InvalidGranularity, - TransferError.SelfTransfer, - TransferError.InvalidReceiverCdd, - TransferError.InvalidSenderCdd, - TransferError.InsufficientBalance, - TransferError.TransfersFrozen, - TransferError.InvalidSenderPortfolio, - TransferError.InvalidReceiverPortfolio, - TransferError.InsufficientPortfolioBalance, - ], - compliance: { - requirements: [], - complies: false, - }, - restrictions: [ - { - restriction: { - type: TransferRestrictionType.Count, - value: new BigNumber(100), - }, - result: false, - }, - ], - result: true, - }); - - result = granularCanTransferResultToTransferBreakdown( - dsMockUtils.createMockGranularCanTransferResult({ - /* eslint-disable @typescript-eslint/naming-convention */ - invalid_granularity: false, - self_transfer: false, - invalid_receiver_cdd: false, - invalid_sender_cdd: false, - receiver_custodian_error: false, - sender_custodian_error: false, - sender_insufficient_balance: false, - portfolio_validity_result: { - receiver_is_same_portfolio: false, - sender_portfolio_does_not_exist: false, - receiver_portfolio_does_not_exist: false, - sender_insufficient_balance: false, - result: false, - }, - asset_frozen: false, - transfer_condition_result: [ - { - condition: { - MaxInvestorCount: dsMockUtils.createMockU64(new BigNumber(100)), - }, - result: false, - }, - ], - compliance_result: dsMockUtils.createMockAssetComplianceResult({ - paused: false, - requirements: [], - result: false, - }), - result: false, - /* eslint-enable @typescript-eslint/naming-convention */ - }), - undefined, - context - ); - - expect(result).toEqual({ - general: [], - compliance: { - requirements: [], - complies: false, - }, - restrictions: [ - { - restriction: { - type: TransferRestrictionType.Count, - value: new BigNumber(100), - }, - result: false, - }, - ], - result: false, - }); - }); - - it('should convert a polkadot GranularCanTransferResult object to a TransferBreakdown with NFT result', () => { - const context = dsMockUtils.getContextInstance(); - - context.polymeshApi.errors.nft = { - BalanceOverflow: { is: jest.fn().mockReturnValue(false) }, - BalanceUnderflow: { is: jest.fn().mockReturnValue(false) }, - DuplicatedNFTId: { is: jest.fn().mockReturnValue(true) }, - InvalidNFTTransferComplianceFailure: { is: jest.fn().mockReturnValue(false) }, - InvalidNFTTransferFrozenAsset: { is: jest.fn().mockReturnValue(false) }, - InvalidNFTTransferInsufficientCount: { is: jest.fn().mockReturnValue(false) }, - NFTNotFound: { is: jest.fn().mockReturnValue(false) }, - InvalidNFTTransferNFTNotOwned: { is: jest.fn().mockReturnValue(false) }, - InvalidNFTTransferSamePortfolio: { is: jest.fn().mockReturnValue(false) }, - } as unknown as DecoratedErrors<'promise'>['nft']; - - const result = granularCanTransferResultToTransferBreakdown( - dsMockUtils.createMockGranularCanTransferResult({ - /* eslint-disable @typescript-eslint/naming-convention */ - invalid_granularity: false, - self_transfer: false, - invalid_receiver_cdd: false, - invalid_sender_cdd: false, - receiver_custodian_error: false, - sender_custodian_error: false, - sender_insufficient_balance: false, - portfolio_validity_result: { - receiver_is_same_portfolio: false, - sender_portfolio_does_not_exist: false, - receiver_portfolio_does_not_exist: false, - sender_insufficient_balance: false, - result: false, - }, - asset_frozen: false, - transfer_condition_result: [ - { - condition: { - MaxInvestorCount: dsMockUtils.createMockU64(new BigNumber(100)), - }, - result: false, - }, - ], - compliance_result: dsMockUtils.createMockAssetComplianceResult({ - paused: false, - requirements: [], - result: false, - }), - result: true, - /* eslint-enable @typescript-eslint/naming-convention */ - }), - dsMockUtils.createMockDispatchResult({ - Err: { index: createMockU8(), module: createMockU8aFixed() }, - }), - context - ); - - expect(result).toEqual({ - general: [TransferError.InsufficientPortfolioBalance], - compliance: { - requirements: [], - complies: false, - }, - restrictions: [ - { - restriction: { - type: TransferRestrictionType.Count, - value: new BigNumber(100), - }, - result: false, - }, - ], - result: false, - }); - }); -}); - -describe('nftDispatchErrorToTransferError', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should process errors', () => { - const context = dsMockUtils.getContextInstance(); - - context.polymeshApi.errors.nft = { - BalanceOverflow: { is: jest.fn().mockReturnValue(false) }, - BalanceUnderflow: { is: jest.fn().mockReturnValue(false) }, - DuplicatedNFTId: { is: jest.fn().mockReturnValue(false) }, - InvalidNFTTransferComplianceFailure: { is: jest.fn().mockReturnValue(false) }, - InvalidNFTTransferFrozenAsset: { is: jest.fn().mockReturnValue(false) }, - InvalidNFTTransferInsufficientCount: { is: jest.fn().mockReturnValue(false) }, - NFTNotFound: { is: jest.fn().mockReturnValue(false) }, - InvalidNFTTransferNFTNotOwned: { is: jest.fn().mockReturnValue(false) }, - InvalidNFTTransferSamePortfolio: { is: jest.fn().mockReturnValue(false) }, - } as unknown as DecoratedErrors<'promise'>['nft']; - - const mockError = dsMockUtils.createMockDispatchResult({ - Err: { index: createMockU8(), module: createMockU8aFixed() }, - }).asErr; - - dsMockUtils.setErrorMock('nft', 'InvalidNFTTransferFrozenAsset', { - returnValue: { is: jest.fn().mockReturnValue(true) }, - }); - - let result = nftDispatchErrorToTransferError(mockError, context); - - expect(result).toEqual(TransferError.TransfersFrozen); - - dsMockUtils.setErrorMock('nft', 'InvalidNFTTransferFrozenAsset', { - returnValue: { is: jest.fn().mockReturnValue(false) }, - }); - dsMockUtils.setErrorMock('nft', 'InvalidNFTTransferComplianceFailure', { - returnValue: { is: jest.fn().mockReturnValue(true) }, - }); - - result = nftDispatchErrorToTransferError(mockError, context); - - expect(result).toEqual(TransferError.ComplianceFailure); - - dsMockUtils.setErrorMock('nft', 'InvalidNFTTransferComplianceFailure', { - returnValue: { is: jest.fn().mockReturnValue(false) }, - }); - dsMockUtils.setErrorMock('nft', 'InvalidNFTTransferSamePortfolio', { - returnValue: { is: jest.fn().mockReturnValue(true) }, - }); - - result = nftDispatchErrorToTransferError(mockError, context); - - expect(result).toEqual(TransferError.SelfTransfer); - - dsMockUtils.setErrorMock('nft', 'InvalidNFTTransferSamePortfolio', { - returnValue: { is: jest.fn().mockReturnValue(false) }, - }); - - return expect(() => nftDispatchErrorToTransferError(mockError, context)).toThrow( - new PolymeshError({ - code: ErrorCode.General, - message: 'Received unknown NFT can transfer status', - }) - ); - }); -}); - -describe('scopeToMeshScope and meshScopeToScope', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - describe('scopeToMeshScope', () => { - it('should convert a Custom type Scope into a polkadot Scope object', () => { - const context = dsMockUtils.getContextInstance(); - const value: Scope = { - type: ScopeType.Custom, - value: 'someValue', - }; - const fakeResult = 'ScopeEnum' as unknown as PolymeshPrimitivesIdentityClaimScope; - - when(context.createType) - .calledWith('Scope', { [value.type]: value.value }) - .mockReturnValue(fakeResult); - - const result = scopeToMeshScope(value, context); - - expect(result).toBe(fakeResult); - }); - - it('should convert a Identity type Scope into a polkadot Scope object', () => { - const context = dsMockUtils.getContextInstance(); - const value: Scope = { - type: ScopeType.Identity, - value: '0x51a5fed99b9d305ef26e6af92dd3dcb181a30a07dc5f075e260b82a92d48913c', - }; - const fakeResult = 'ScopeEnum' as unknown as PolymeshPrimitivesIdentityClaimScope; - const fakeIdentityId = - '0x51a5fed99b9d305ef26e6af92dd3dcb181a30a07dc5f075e260b82a92d48913c' as unknown as PolymeshPrimitivesIdentityId; - - when(context.createType) - .calledWith('PolymeshPrimitivesIdentityId', value.value) - .mockReturnValue(fakeIdentityId); - - when(context.createType) - .calledWith('Scope', { [value.type]: fakeIdentityId }) - .mockReturnValue(fakeResult); - - const result = scopeToMeshScope(value, context); - - expect(result).toBe(fakeResult); - }); - - it('should convert a Ticker type Scope into a polkadot Scope object', () => { - const context = dsMockUtils.getContextInstance(); - const value: Scope = { - type: ScopeType.Ticker, - value: 'SOME_TICKER', - }; - const fakeResult = 'ScopeEnum' as unknown as PolymeshPrimitivesIdentityClaimScope; - const fakeTicker = 'SOME_TICKER' as unknown as PolymeshPrimitivesTicker; - - when(context.createType) - .calledWith('PolymeshPrimitivesTicker', padString(value.value, MAX_TICKER_LENGTH)) - .mockReturnValue(fakeTicker); - - when(context.createType) - .calledWith('Scope', { [value.type]: fakeTicker }) - .mockReturnValue(fakeResult); - - const result = scopeToMeshScope(value, context); - - expect(result).toBe(fakeResult); - }); - }); - - describe('meshScopeToScope', () => { - it('should convert a polkadot Scope object into a Scope', () => { - let fakeResult: Scope = { - type: ScopeType.Identity, - value: 'someDid', - }; - let scope = dsMockUtils.createMockScope({ - Identity: dsMockUtils.createMockIdentityId(fakeResult.value), - }); - - let result = meshScopeToScope(scope); - expect(result).toEqual(fakeResult); - - fakeResult = { - type: ScopeType.Ticker, - value: 'SOME_TICKER', - }; - scope = dsMockUtils.createMockScope({ - Ticker: dsMockUtils.createMockTicker(fakeResult.value), - }); - - result = meshScopeToScope(scope); - expect(result).toEqual(fakeResult); - - fakeResult = { - type: ScopeType.Custom, - value: 'something', - }; - scope = dsMockUtils.createMockScope({ - Custom: dsMockUtils.createMockBytes(fakeResult.value), - }); - - result = meshScopeToScope(scope); - expect(result).toEqual(fakeResult); - }); - }); -}); - -describe('claimToMeshClaim and meshClaimToClaim', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - describe('claimToMeshClaim', () => { - it('should convert a Claim to a polkadot PolymeshPrimitivesIdentityClaimClaim object', () => { - const context = dsMockUtils.getContextInstance(); - let value: Claim = { - type: ClaimType.Jurisdiction, - code: CountryCode.Cl, - scope: { type: ScopeType.Identity, value: 'SOME_TICKER_DID' }, - }; - const fakeResult = 'meshClaim' as unknown as PolymeshPrimitivesIdentityClaimClaim; - const fakeScope = 'scope' as unknown as PolymeshPrimitivesIdentityClaimScope; - - const createTypeMock = context.createType; - - when(createTypeMock).calledWith('Scope', expect.anything()).mockReturnValue(fakeScope); - when(createTypeMock) - .calledWith('PolymeshPrimitivesIdentityClaimClaim', { - [value.type]: [value.code, scopeToMeshScope(value.scope, context)], - }) - .mockReturnValue(fakeResult); - - let result = claimToMeshClaim(value, context); - - expect(result).toBe(fakeResult); - - value = { - type: ClaimType.Exempted, - scope: { type: ScopeType.Identity, value: 'SOME_TICKERDid' }, - }; - - when(createTypeMock) - .calledWith('PolymeshPrimitivesIdentityClaimClaim', { - [value.type]: scopeToMeshScope(value.scope, context), - }) - .mockReturnValue(fakeResult); - - result = claimToMeshClaim(value, context); - - expect(result).toBe(fakeResult); - - value = { - type: ClaimType.CustomerDueDiligence, - id: 'someCddId', - }; - - when(createTypeMock) - .calledWith('PolymeshPrimitivesIdentityClaimClaim', { - [value.type]: stringToCddId(value.id, context), - }) - .mockReturnValue(fakeResult); - - result = claimToMeshClaim(value, context); - - expect(result).toBe(fakeResult); - - value = { - type: ClaimType.Custom, - customClaimTypeId: new BigNumber(1), - scope: { type: ScopeType.Identity, value: 'SOME_TICKERDid' }, - }; - - when(createTypeMock) - .calledWith('PolymeshPrimitivesIdentityClaimClaim', { - [value.type]: [ - bigNumberToU32(value.customClaimTypeId, context), - scopeToMeshScope(value.scope, context), - ], - }) - .mockReturnValue(fakeResult); - - result = claimToMeshClaim(value, context); - - expect(result).toBe(fakeResult); - }); - }); - - describe('meshClaimToClaim', () => { - it('should convert a polkadot Claim object to a Claim', () => { - let scope = { type: ScopeType.Ticker, value: 'SOME_TICKER' }; - - let fakeResult: Claim = { - type: ClaimType.Accredited, - scope, - }; - - let claim = dsMockUtils.createMockClaim({ - Accredited: dsMockUtils.createMockScope({ - Ticker: dsMockUtils.createMockTicker(scope.value), - }), - }); - - let result = meshClaimToClaim(claim); - expect(result).toEqual(fakeResult); - - scope = { type: ScopeType.Identity, value: 'someDid' }; - - fakeResult = { - type: ClaimType.Affiliate, - scope, - }; - claim = dsMockUtils.createMockClaim({ - Affiliate: dsMockUtils.createMockScope({ - Identity: dsMockUtils.createMockIdentityId(scope.value), - }), - }); - - result = meshClaimToClaim(claim); - expect(result).toEqual(fakeResult); - - fakeResult = { - type: ClaimType.Blocked, - scope, - }; - claim = dsMockUtils.createMockClaim({ - Blocked: dsMockUtils.createMockScope({ - Identity: dsMockUtils.createMockIdentityId(scope.value), - }), - }); - - result = meshClaimToClaim(claim); - expect(result).toEqual(fakeResult); - - fakeResult = { - type: ClaimType.BuyLockup, - scope, - }; - claim = dsMockUtils.createMockClaim({ - BuyLockup: dsMockUtils.createMockScope({ - Identity: dsMockUtils.createMockIdentityId(scope.value), - }), - }); - - result = meshClaimToClaim(claim); - expect(result).toEqual(fakeResult); - - fakeResult = { - type: ClaimType.CustomerDueDiligence, - id: 'someId', - }; - claim = dsMockUtils.createMockClaim({ - CustomerDueDiligence: dsMockUtils.createMockCddId(fakeResult.id), - }); - - result = meshClaimToClaim(claim); - expect(result).toEqual(fakeResult); - - fakeResult = { - type: ClaimType.Jurisdiction, - code: CountryCode.Cl, - scope, - }; - - claim = dsMockUtils.createMockClaim({ - Jurisdiction: [ - dsMockUtils.createMockCountryCode(fakeResult.code), - dsMockUtils.createMockScope({ Identity: dsMockUtils.createMockIdentityId(scope.value) }), - ], - }); - - result = meshClaimToClaim(claim); - expect(result).toEqual(fakeResult); - - fakeResult = { - type: ClaimType.KnowYourCustomer, - scope, - }; - claim = dsMockUtils.createMockClaim({ - KnowYourCustomer: dsMockUtils.createMockScope({ - Identity: dsMockUtils.createMockIdentityId(scope.value), - }), - }); - - result = meshClaimToClaim(claim); - expect(result).toEqual(fakeResult); - - fakeResult = { - type: ClaimType.SellLockup, - scope, - }; - claim = dsMockUtils.createMockClaim({ - SellLockup: dsMockUtils.createMockScope({ - Identity: dsMockUtils.createMockIdentityId(scope.value), - }), - }); - - result = meshClaimToClaim(claim); - expect(result).toEqual(fakeResult); - - fakeResult = { - type: ClaimType.Exempted, - scope, - }; - claim = dsMockUtils.createMockClaim({ - Exempted: dsMockUtils.createMockScope({ - Identity: dsMockUtils.createMockIdentityId(scope.value), - }), - }); - - result = meshClaimToClaim(claim); - expect(result).toEqual(fakeResult); - }); - }); -}); - -describe('corporateActionParamsToMeshCorporateActionArgs', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - beforeEach(() => { - dsMockUtils.setConstMock('corporateAction', 'maxTargetIds', { - returnValue: dsMockUtils.createMockU32(new BigNumber(10)), - }); - dsMockUtils.setConstMock('corporateAction', 'maxDidWhts', { - returnValue: dsMockUtils.createMockU32(new BigNumber(10)), - }); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should convert a list of corporate action parameters to a polkadot PalletCorporateActionsInitiateCorporateActionArgs object', () => { - const ticker = 'SOME_TICKER'; - const kind = CorporateActionKind.UnpredictableBenefit; - const declarationDate = new Date(); - const checkpoint = new Date(new Date().getTime() + 10000); - const description = 'someDescription'; - const targets = { - identities: ['someDid'], - treatment: TargetTreatment.Exclude, - }; - const defaultTaxWithholding = new BigNumber(10); - const taxWithholdings = [ - { - identity: 'someDid', - percentage: new BigNumber(20), - }, - ]; - - const rawCheckpointDate = dsMockUtils.createMockMoment(new BigNumber(checkpoint.getTime())); - const recordDateValue = { - Scheduled: rawCheckpointDate, - }; - const declarationDateValue = new BigNumber(declarationDate.getTime()); - - const context = dsMockUtils.getContextInstance(); - const createTypeMock = context.createType; - - const rawTicker = dsMockUtils.createMockTicker(ticker); - const rawKind = dsMockUtils.createMockCAKind(kind); - const rawDeclDate = dsMockUtils.createMockMoment(declarationDateValue); - const rawRecordDate = dsMockUtils.createMockRecordDateSpec(recordDateValue); - const rawDetails = dsMockUtils.createMockBytes(description); - const rawTargetTreatment = dsMockUtils.createMockTargetTreatment(targets.treatment); - const rawTargets = dsMockUtils.createMockTargetIdentities(targets); - const rawTax = dsMockUtils.createMockPermill(defaultTaxWithholding); - - const { identity, percentage } = taxWithholdings[0]; - const rawIdentityId = dsMockUtils.createMockIdentityId(identity); - const rawPermill = dsMockUtils.createMockPermill(percentage); - - const fakeResult = dsMockUtils.createMockInitiateCorporateActionArgs({ - ticker, - kind, - declDate: declarationDateValue, - recordDate: dsMockUtils.createMockOption(rawRecordDate), - details: description, - targets: dsMockUtils.createMockOption(rawTargets), - defaultWithholdingTax: dsMockUtils.createMockOption(rawTax), - withholdingTax: [[rawIdentityId, rawPermill]], - }); - - when(createTypeMock) - .calledWith('PolymeshPrimitivesTicker', padString(ticker, MAX_TICKER_LENGTH)) - .mockReturnValue(rawTicker); - when(createTypeMock).calledWith('PalletCorporateActionsCaKind', kind).mockReturnValue(rawKind); - when(createTypeMock).calledWith('u64', declarationDate.getTime()).mockReturnValue(rawDeclDate); - when(createTypeMock).calledWith('u64', checkpoint.getTime()).mockReturnValue(rawCheckpointDate); - when(createTypeMock) - .calledWith('PalletCorporateActionsRecordDateSpec', recordDateValue) - .mockReturnValue(rawRecordDate); - when(createTypeMock).calledWith('Bytes', description).mockReturnValue(rawDetails); - when(createTypeMock) - .calledWith('TargetTreatment', targets.treatment) - .mockReturnValue(rawTargetTreatment); - when(createTypeMock) - .calledWith('PalletCorporateActionsTargetIdentities', { - identities: [rawIdentityId], - treatment: rawTargetTreatment, - }) - .mockReturnValue(rawTargets); - when(createTypeMock) - .calledWith('PolymeshPrimitivesIdentityId', identity) - .mockReturnValue(rawIdentityId); - when(createTypeMock) - .calledWith('Permill', percentage.shiftedBy(4).toString()) - .mockReturnValue(rawPermill); - when(createTypeMock) - .calledWith('Permill', defaultTaxWithholding.shiftedBy(4).toString()) - .mockReturnValue(rawTax); - - when(createTypeMock) - .calledWith('PalletCorporateActionsInitiateCorporateActionArgs', { - ticker: rawTicker, - kind: rawKind, - declDate: rawDeclDate, - recordDate: rawRecordDate, - details: rawDetails, - targets: rawTargets, - defaultWithholdingTax: rawTax, - withholdingTax: [[rawIdentityId, rawPermill]], - }) - .mockReturnValue(fakeResult); - - expect( - corporateActionParamsToMeshCorporateActionArgs( - { - ticker, - kind, - declarationDate, - checkpoint, - description, - targets, - defaultTaxWithholding, - taxWithholdings, - }, - context - ) - ).toEqual(fakeResult); - }); -}); - -describe('meshClaimTypeToClaimType and claimTypeToMeshClaimType', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - describe('meshClaimTypeToClaimType', () => { - it('should convert a polkadot ClaimType object to a ClaimType', () => { - let fakeResult: ClaimType = ClaimType.Accredited; - - let claimType = dsMockUtils.createMockClaimType(fakeResult); - - let result = meshClaimTypeToClaimType(claimType); - expect(result).toEqual(fakeResult); - - fakeResult = ClaimType.Affiliate; - - claimType = dsMockUtils.createMockClaimType(fakeResult); - - result = meshClaimTypeToClaimType(claimType); - expect(result).toEqual(fakeResult); - - fakeResult = ClaimType.Blocked; - - claimType = dsMockUtils.createMockClaimType(fakeResult); - - result = meshClaimTypeToClaimType(claimType); - expect(result).toEqual(fakeResult); - - fakeResult = ClaimType.BuyLockup; - - claimType = dsMockUtils.createMockClaimType(fakeResult); - - result = meshClaimTypeToClaimType(claimType); - expect(result).toEqual(fakeResult); - - fakeResult = ClaimType.CustomerDueDiligence; - - claimType = dsMockUtils.createMockClaimType(fakeResult); - - result = meshClaimTypeToClaimType(claimType); - expect(result).toEqual(fakeResult); - - fakeResult = ClaimType.Exempted; - - claimType = dsMockUtils.createMockClaimType(fakeResult); - - result = meshClaimTypeToClaimType(claimType); - expect(result).toEqual(fakeResult); - - fakeResult = ClaimType.Jurisdiction; - - claimType = dsMockUtils.createMockClaimType(fakeResult); - - result = meshClaimTypeToClaimType(claimType); - expect(result).toEqual(fakeResult); - - fakeResult = ClaimType.KnowYourCustomer; - - claimType = dsMockUtils.createMockClaimType(fakeResult); - - result = meshClaimTypeToClaimType(claimType); - expect(result).toEqual(fakeResult); - - fakeResult = ClaimType.SellLockup; - - claimType = dsMockUtils.createMockClaimType(fakeResult); - - result = meshClaimTypeToClaimType(claimType); - expect(result).toEqual(fakeResult); - }); - }); - - describe('claimTypeToMeshClaimType', () => { - it('should convert a ClaimType to a polkadot ClaimType', () => { - const context = dsMockUtils.getContextInstance(); - const mockClaim = dsMockUtils.createMockClaimType(ClaimType.Accredited); - when(context.createType) - .calledWith('PolymeshPrimitivesIdentityClaimClaimType', ClaimType.Accredited) - .mockReturnValue(mockClaim); - - const result = claimTypeToMeshClaimType(ClaimType.Accredited, context); - expect(result).toEqual(mockClaim); - }); - }); -}); - -describe('meshClaimTypeToClaimType', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should convert a statistics enabled ClaimType to a claimType', () => { - let fakeResult = ClaimType.Accredited; - let claimType = dsMockUtils.createMockClaimType(fakeResult); - - let result = meshClaimTypeToClaimType(claimType); - expect(result).toEqual(fakeResult); - - fakeResult = ClaimType.Affiliate; - claimType = dsMockUtils.createMockClaimType(fakeResult); - - result = meshClaimTypeToClaimType(claimType); - expect(result).toEqual(fakeResult); - - fakeResult = ClaimType.Jurisdiction; - claimType = dsMockUtils.createMockClaimType(fakeResult); - - result = meshClaimTypeToClaimType(claimType); - expect(result).toEqual(fakeResult); - }); -}); - -describe('middlewareScopeToScope and scopeToMiddlewareScope', () => { - describe('middlewareScopeToScope', () => { - it('should convert a MiddlewareScope object to a Scope', () => { - let result = middlewareScopeToScope({ - type: ClaimScopeTypeEnum.Ticker, - value: 'SOMETHING\u0000\u0000\u0000', - }); - - expect(result).toEqual({ type: ScopeType.Ticker, value: 'SOMETHING' }); - - result = middlewareScopeToScope({ type: ClaimScopeTypeEnum.Identity, value: 'someDid' }); - - expect(result).toEqual({ type: ScopeType.Identity, value: 'someDid' }); - - result = middlewareScopeToScope({ type: ClaimScopeTypeEnum.Custom, value: 'SOMETHING_ELSE' }); - - expect(result).toEqual({ type: ScopeType.Custom, value: 'SOMETHING_ELSE' }); - }); - - it('should throw an error for invalid scope type', () => { - expect(() => - middlewareScopeToScope({ type: 'RANDOM_TYPE', value: 'SOMETHING_ELSE' }) - ).toThrow('Unsupported Scope Type. Please contact the Polymesh team'); - }); - }); - - describe('scopeToMiddlewareScope', () => { - it('should convert a Scope to a MiddlewareScope object', () => { - let scope: Scope = { type: ScopeType.Identity, value: 'someDid' }; - let result = scopeToMiddlewareScope(scope); - expect(result).toEqual({ type: ClaimScopeTypeEnum.Identity, value: scope.value }); - - scope = { type: ScopeType.Ticker, value: 'someTicker' }; - result = scopeToMiddlewareScope(scope); - expect(result).toEqual({ type: ClaimScopeTypeEnum.Ticker, value: 'someTicker\0\0' }); - - result = scopeToMiddlewareScope(scope, false); - expect(result).toEqual({ type: ClaimScopeTypeEnum.Ticker, value: 'someTicker' }); - - scope = { type: ScopeType.Custom, value: 'customValue' }; - result = scopeToMiddlewareScope(scope); - expect(result).toEqual({ type: ClaimScopeTypeEnum.Custom, value: scope.value }); - }); - }); -}); - -describe('middlewareInstructionToHistoricInstruction', () => { - it('should convert a middleware Instruction object to a HistoricInstruction', () => { - const instructionId1 = new BigNumber(1); - const instructionId2 = new BigNumber(2); - const blockNumber = new BigNumber(1234); - const blockHash = 'someHash'; - const memo = 'memo'; - const ticker = 'SOME_TICKER'; - const amount1 = new BigNumber(10); - const amount2 = new BigNumber(5); - const venueId = new BigNumber(1); - const createdAt = new Date('2022/01/01'); - const status = InstructionStatusEnum.Executed; - const portfolioDid1 = 'portfolioDid1'; - const portfolioKind1 = 'Default'; - - const portfolioDid2 = 'portfolioDid2'; - const portfolioKind2 = '10'; - const type1 = InstructionType.SettleOnAffirmation; - const type2 = InstructionType.SettleOnBlock; - const endBlock = new BigNumber(1238); - - const legs1 = [ - { - assetId: ticker, - amount: amount1.shiftedBy(6).toString(), - from: { - number: portfolioKind1, - identityId: portfolioDid1, - }, - to: { - number: portfolioKind2, - identityId: portfolioDid2, - }, - }, - ]; - const legs2 = [ - { - assetId: ticker, - amount: amount2.shiftedBy(6).toString(), - from: { - number: portfolioKind2, - identityId: portfolioDid2, - }, - to: { - number: portfolioKind1, - identityId: portfolioDid1, - }, - }, - ]; - - const context = dsMockUtils.getContextInstance(); - - let instruction = { - id: instructionId1.toString(), - createdBlock: { - blockId: blockNumber.toNumber(), - hash: blockHash, - datetime: createdAt, - }, - status, - memo, - venueId: venueId.toString(), - settlementType: type1, - legs: { - nodes: legs1, - }, - } as unknown as Instruction; - - let result = middlewareInstructionToHistoricInstruction(instruction, context); - - expect(result.id).toEqual(instructionId1); - expect(result.blockHash).toEqual(blockHash); - expect(result.blockNumber).toEqual(blockNumber); - expect(result.status).toEqual(status); - expect(result.memo).toEqual(memo); - expect(result.type).toEqual(InstructionType.SettleOnAffirmation); - expect(result.venueId).toEqual(venueId); - expect(result.createdAt).toEqual(createdAt); - expect(result.legs[0].asset.ticker).toBe(ticker); - expect((result.legs[0] as FungibleLeg).amount).toEqual(amount1); - expect(result.legs[0].from.owner.did).toBe(portfolioDid1); - expect(result.legs[0].to.owner.did).toBe(portfolioDid2); - expect((result.legs[0].to as NumberedPortfolio).id).toEqual(new BigNumber(portfolioKind2)); - - instruction = { - id: instructionId2.toString(), - createdBlock: { - blockId: blockNumber.toNumber(), - hash: blockHash, - datetime: createdAt, - }, - status, - settlementType: type2, - endBlock: endBlock.toString(), - venueId: venueId.toString(), - legs: { - nodes: legs2, - }, - } as unknown as Instruction; - - result = middlewareInstructionToHistoricInstruction(instruction, context); - - expect(result.id).toEqual(instructionId2); - expect(result.memo).toBeNull(); - expect(result.type).toEqual(InstructionType.SettleOnBlock); - // eslint-disable-next-line @typescript-eslint/no-explicit-any - expect((result as any).endBlock).toEqual(endBlock); - expect(result.venueId).toEqual(venueId); - expect(result.createdAt).toEqual(createdAt); - expect(result.legs[0].asset.ticker).toBe(ticker); - expect((result.legs[0] as FungibleLeg).amount).toEqual(amount2); - expect(result.legs[0].from.owner.did).toBe(portfolioDid2); - expect(result.legs[0].to.owner.did).toBe(portfolioDid1); - expect((result.legs[0].from as NumberedPortfolio).id).toEqual(new BigNumber(portfolioKind2)); - }); -}); - -describe('middlewareEventDetailsToEventIdentifier', () => { - it('should convert Event details to an EventIdentifier', () => { - const eventIdx = 3; - const block = { - blockId: 3000, - hash: 'someHash', - datetime: new Date('10/14/1987').toISOString(), - } as Block; - - const fakeResult = { - blockNumber: new BigNumber(3000), - blockDate: new Date('10/14/1987'), - blockHash: 'someHash', - eventIndex: new BigNumber(3), - }; - - expect(middlewareEventDetailsToEventIdentifier(block)).toEqual({ - ...fakeResult, - eventIndex: new BigNumber(0), - }); - - expect(middlewareEventDetailsToEventIdentifier(block, eventIdx)).toEqual(fakeResult); - }); -}); - -describe('middlewareClaimToClaimData', () => { - let createClaimSpy: jest.SpyInstance; - - beforeAll(() => { - dsMockUtils.initMocks(); - entityMockUtils.initMocks(); - createClaimSpy = jest.spyOn(internalUtils, 'createClaim'); - }); - - afterEach(() => { - dsMockUtils.reset(); - entityMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should convert CustomClaim to ClaimData', () => { - const context = dsMockUtils.getContextInstance(); - const issuanceDate = new Date('10/14/1987'); - const lastUpdateDate = new Date('10/14/1987'); - const expiry = new Date('10/10/1988'); - const middlewareClaim = { - targetId: 'targetId', - issuerId: 'issuerId', - issuanceDate: issuanceDate.getTime(), - lastUpdateDate: lastUpdateDate.getTime(), - expiry: null, - cddId: 'someCddId', - type: 'Custom', - customClaimTypeId: '1', - nodeId: '1', - } as unknown as MiddlewareClaim; - const claim = { - type: ClaimType.Custom, - id: 'someCddId', - customClaimTypeId: new BigNumber('1'), - }; - createClaimSpy.mockReturnValue(claim); - - const fakeResult = { - target: expect.objectContaining({ did: 'targetId' }), - issuer: expect.objectContaining({ did: 'issuerId' }), - issuedAt: issuanceDate, - lastUpdatedAt: lastUpdateDate, - expiry: null, - claim, - }; - - expect(middlewareClaimToClaimData(middlewareClaim, context)).toEqual(fakeResult); - - expect( - middlewareClaimToClaimData( - { - ...middlewareClaim, - expiry: expiry.getTime(), - }, - context - ) - ).toEqual({ - ...fakeResult, - expiry, - }); - }); - - it('should convert middleware Claim to ClaimData', () => { - const context = dsMockUtils.getContextInstance(); - const issuanceDate = new Date('10/14/1987'); - const lastUpdateDate = new Date('10/14/1987'); - const expiry = new Date('10/10/1988'); - const middlewareClaim = { - targetId: 'targetId', - issuerId: 'issuerId', - issuanceDate: issuanceDate.getTime(), - lastUpdateDate: lastUpdateDate.getTime(), - expiry: null, - cddId: 'someCddId', - type: 'CustomerDueDiligence', - } as MiddlewareClaim; - const claim = { - type: ClaimType.CustomerDueDiligence, - id: 'someCddId', - }; - createClaimSpy.mockReturnValue(claim); - - const fakeResult = { - target: expect.objectContaining({ did: 'targetId' }), - issuer: expect.objectContaining({ did: 'issuerId' }), - issuedAt: issuanceDate, - lastUpdatedAt: lastUpdateDate, - expiry: null, - claim, - }; - - expect(middlewareClaimToClaimData(middlewareClaim, context)).toEqual(fakeResult); - - expect( - middlewareClaimToClaimData( - { - ...middlewareClaim, - expiry: expiry.getTime(), - }, - context - ) - ).toEqual({ - ...fakeResult, - expiry, - }); - }); -}); - -describe('toIdentityWithClaimsArray', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should return an IdentityWithClaims array object', () => { - const context = dsMockUtils.getContextInstance(); - const targetDid = 'someTargetDid'; - const issuerDid = 'someIssuerDid'; - const cddId = 'someCddId'; - const date = 1589816265000; - const customerDueDiligenceType = ClaimTypeEnum.CustomerDueDiligence; - const claim = { - target: expect.objectContaining({ did: targetDid }), - issuer: expect.objectContaining({ did: issuerDid }), - issuedAt: new Date(date), - lastUpdatedAt: new Date(date), - }; - const fakeResult = [ - { - identity: expect.objectContaining({ did: targetDid }), - claims: [ - { - ...claim, - expiry: new Date(date), - claim: { - type: customerDueDiligenceType, - id: cddId, - }, - }, - { - ...claim, - expiry: null, - claim: { - type: customerDueDiligenceType, - id: cddId, - }, - }, - ], - }, - ]; - const commonClaimData = { - targetId: targetDid, - issuerId: issuerDid, - issuanceDate: date, - lastUpdateDate: date, - cddId, - }; - const fakemiddlewareClaims = [ - { - ...commonClaimData, - expiry: date, - type: customerDueDiligenceType, - }, - { - ...commonClaimData, - expiry: null, - type: customerDueDiligenceType, - }, - ] as MiddlewareClaim[]; - /* eslint-enable @typescript-eslint/naming-convention */ - - const result = toIdentityWithClaimsArray(fakemiddlewareClaims, context, 'targetId'); - - expect(result).toEqual(fakeResult); - }); -}); - -describe('stringToCddId and cddIdToString', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - describe('stringToCddId', () => { - it('should convert a cdd id string into a PolymeshPrimitivesCddId', () => { - const cddId = 'someId'; - const fakeResult = 'type' as unknown as PolymeshPrimitivesCddId; - const context = dsMockUtils.getContextInstance(); - - when(context.createType) - .calledWith('PolymeshPrimitivesCddId', cddId) - .mockReturnValue(fakeResult); - - const result = stringToCddId(cddId, context); - - expect(result).toBe(fakeResult); - }); - }); - - describe('cddIdToString', () => { - it('should convert a PolymeshPrimitivesCddId to a cddId string', () => { - const fakeResult = 'cddId'; - const cddId = dsMockUtils.createMockCddId(fakeResult); - - const result = cddIdToString(cddId); - expect(result).toBe(fakeResult); - }); - }); -}); - -describe('identityIdToString', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should convert a PolymeshPrimitivesIdentityId to a identityId string', () => { - const fakeResult = 'scopeId'; - const scopeId = dsMockUtils.createMockIdentityId(fakeResult); - - const result = identityIdToString(scopeId); - expect(result).toBe(fakeResult); - }); -}); - -describe('requirementToComplianceRequirement and complianceRequirementToRequirement', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - entityMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - entityMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - describe('requirementToComplianceRequirement', () => { - it('should convert a Requirement to a polkadot ComplianceRequirement object', () => { - const did = 'someDid'; - const context = dsMockUtils.getContextInstance(); - const conditions: InputCondition[] = [ - { - type: ConditionType.IsPresent, - target: ConditionTarget.Both, - claim: { - type: ClaimType.Exempted, - scope: { type: ScopeType.Identity, value: 'SOME_TICKERDid' }, - }, - trustedClaimIssuers: [ - { identity: new Identity({ did }, context), trustedFor: null }, - { identity: new Identity({ did: 'otherDid' }, context), trustedFor: null }, - ], - }, - { - type: ConditionType.IsNoneOf, - target: ConditionTarget.Sender, - claims: [ - { - type: ClaimType.Blocked, - scope: { type: ScopeType.Identity, value: 'SOME_TICKERDid' }, - }, - { - type: ClaimType.SellLockup, - scope: { type: ScopeType.Identity, value: 'SOME_TICKERDid' }, - }, - ], - }, - { - type: ConditionType.IsAbsent, - target: ConditionTarget.Receiver, - claim: { - type: ClaimType.Jurisdiction as const, - scope: { type: ScopeType.Identity, value: 'SOME_TICKERDid' }, - code: CountryCode.Cl, - }, - }, - { - type: ConditionType.IsIdentity, - target: ConditionTarget.Sender, - identity: new Identity({ did }, context), - }, - { - type: ConditionType.IsExternalAgent, - target: ConditionTarget.Receiver, - }, - ]; - const value = { - conditions, - id: new BigNumber(1), - }; - const fakeResult = - 'convertedComplianceRequirement' as unknown as PolymeshPrimitivesComplianceManagerComplianceRequirement; - - const createTypeMock = context.createType; - - when(createTypeMock) - .calledWith('PolymeshPrimitivesIdentityClaimClaim', expect.anything()) - .mockReturnValue('claim' as unknown as PolymeshPrimitivesIdentityClaimClaim); - - when(createTypeMock) - .calledWith('PolymeshPrimitivesConditionTargetIdentity', expect.anything()) - .mockReturnValue('targetIdentity' as unknown as PolymeshPrimitivesConditionTargetIdentity); - - conditions.forEach(({ type }) => { - const meshType = type === ConditionType.IsExternalAgent ? ConditionType.IsIdentity : type; - when(createTypeMock) - .calledWith( - 'PolymeshPrimitivesCondition', - expect.objectContaining({ - conditionType: { - [meshType]: expect.anything(), - }, - }) - ) - .mockReturnValue(`meshCondition${meshType}` as unknown as PolymeshPrimitivesCondition); - }); - - when(createTypeMock) - .calledWith('PolymeshPrimitivesComplianceManagerComplianceRequirement', { - senderConditions: [ - 'meshConditionIsPresent', - 'meshConditionIsNoneOf', - 'meshConditionIsIdentity', - ], - receiverConditions: [ - 'meshConditionIsPresent', - 'meshConditionIsAbsent', - 'meshConditionIsIdentity', - ], - id: bigNumberToU32(value.id, context), - }) - .mockReturnValue(fakeResult); - - const result = requirementToComplianceRequirement(value, context); - - expect(result).toEqual(fakeResult); - }); - }); - - describe('complianceRequirementToRequirement', () => { - it('should convert a polkadot Compliance Requirement object to a Requirement', () => { - const id = new BigNumber(1); - const assetDid = 'someAssetDid'; - const cddId = 'someCddId'; - const issuerDids = [ - { identity: entityMockUtils.getIdentityInstance({ did: 'someDid' }) }, - { identity: entityMockUtils.getIdentityInstance({ did: 'otherDid' }) }, - ]; - const fakeIssuerDids = [ - { identity: expect.objectContaining({ did: 'someDid' }), trustedFor: null }, - { identity: expect.objectContaining({ did: 'otherDid' }), trustedFor: null }, - ]; - const targetIdentityDid = 'targetIdentityDid'; - const conditions: Condition[] = [ - { - type: ConditionType.IsPresent, - target: ConditionTarget.Both, - claim: { - type: ClaimType.KnowYourCustomer, - scope: { type: ScopeType.Identity, value: assetDid }, - }, - trustedClaimIssuers: fakeIssuerDids, - }, - { - type: ConditionType.IsAbsent, - target: ConditionTarget.Receiver, - claim: { - type: ClaimType.BuyLockup, - scope: { type: ScopeType.Identity, value: assetDid }, - }, - trustedClaimIssuers: fakeIssuerDids, - }, - { - type: ConditionType.IsNoneOf, - target: ConditionTarget.Sender, - claims: [ - { - type: ClaimType.Blocked, - scope: { type: ScopeType.Identity, value: assetDid }, - }, - { - type: ClaimType.SellLockup, - scope: { type: ScopeType.Identity, value: assetDid }, - }, - ], - trustedClaimIssuers: fakeIssuerDids, - }, - { - type: ConditionType.IsAnyOf, - target: ConditionTarget.Both, - claims: [ - { - type: ClaimType.Exempted, - scope: { type: ScopeType.Identity, value: assetDid }, - }, - { - type: ClaimType.CustomerDueDiligence, - id: cddId, - }, - ], - trustedClaimIssuers: fakeIssuerDids, - }, - { - type: ConditionType.IsIdentity, - target: ConditionTarget.Sender, - identity: expect.objectContaining({ did: targetIdentityDid }), - trustedClaimIssuers: fakeIssuerDids, - }, - { - type: ConditionType.IsExternalAgent, - target: ConditionTarget.Receiver, - trustedClaimIssuers: fakeIssuerDids, - }, - ]; - const fakeResult = { - id, - conditions, - }; - - const scope = dsMockUtils.createMockScope({ - Identity: dsMockUtils.createMockIdentityId(assetDid), - }); - /* eslint-disable @typescript-eslint/naming-convention */ - const issuers = issuerDids.map(({ identity }) => - dsMockUtils.createMockTrustedIssuer({ - issuer: dsMockUtils.createMockIdentityId(identity.did), - trustedFor: dsMockUtils.createMockTrustedFor(), - }) - ); - const rawConditions = [ - dsMockUtils.createMockCondition({ - conditionType: dsMockUtils.createMockConditionType({ - IsPresent: dsMockUtils.createMockClaim({ KnowYourCustomer: scope }), - }), - issuers, - }), - dsMockUtils.createMockCondition({ - conditionType: dsMockUtils.createMockConditionType({ - IsAbsent: dsMockUtils.createMockClaim({ BuyLockup: scope }), - }), - issuers, - }), - dsMockUtils.createMockCondition({ - conditionType: dsMockUtils.createMockConditionType({ - IsNoneOf: [ - dsMockUtils.createMockClaim({ Blocked: scope }), - dsMockUtils.createMockClaim({ SellLockup: scope }), - ], - }), - issuers, - }), - dsMockUtils.createMockCondition({ - conditionType: dsMockUtils.createMockConditionType({ - IsAnyOf: [ - dsMockUtils.createMockClaim({ Exempted: scope }), - dsMockUtils.createMockClaim({ - CustomerDueDiligence: dsMockUtils.createMockCddId(cddId), - }), - ], - }), - issuers, - }), - dsMockUtils.createMockCondition({ - conditionType: dsMockUtils.createMockConditionType({ - IsIdentity: dsMockUtils.createMockTargetIdentity({ - Specific: dsMockUtils.createMockIdentityId(targetIdentityDid), - }), - }), - issuers, - }), - dsMockUtils.createMockCondition({ - conditionType: dsMockUtils.createMockConditionType({ - IsIdentity: dsMockUtils.createMockTargetIdentity('ExternalAgent'), - }), - issuers, - }), - ]; - const complianceRequirement = dsMockUtils.createMockComplianceRequirement({ - senderConditions: [ - rawConditions[0], - rawConditions[2], - rawConditions[2], - rawConditions[3], - rawConditions[4], - ], - receiverConditions: [ - rawConditions[0], - rawConditions[1], - rawConditions[1], - rawConditions[3], - rawConditions[5], - ], - id: dsMockUtils.createMockU32(new BigNumber(1)), - }); - /* eslint-enable @typescript-eslint/naming-convention */ - - const result = complianceRequirementToRequirement( - complianceRequirement, - dsMockUtils.getContextInstance() - ); - expect(result.conditions).toEqual(expect.arrayContaining(fakeResult.conditions)); - }); - }); -}); - -describe('txTagToProtocolOp', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should convert a TxTag to a polkadot PolymeshCommonUtilitiesProtocolFeeProtocolOp object', () => { - const fakeResult = - 'convertedProtocolOp' as unknown as PolymeshCommonUtilitiesProtocolFeeProtocolOp; - const context = dsMockUtils.getContextInstance(); - - const createTypeMock = context.createType; - when(createTypeMock) - .calledWith('PolymeshCommonUtilitiesProtocolFeeProtocolOp', 'AssetRegisterTicker') - .mockReturnValue(fakeResult); - expect(txTagToProtocolOp(TxTags.asset.RegisterTicker, context)).toEqual(fakeResult); - - when(createTypeMock) - .calledWith('PolymeshCommonUtilitiesProtocolFeeProtocolOp', 'AssetIssue') - .mockReturnValue(fakeResult); - expect(txTagToProtocolOp(TxTags.asset.Issue, context)).toEqual(fakeResult); - - when(createTypeMock) - .calledWith('PolymeshCommonUtilitiesProtocolFeeProtocolOp', 'AssetAddDocuments') - .mockReturnValue(fakeResult); - expect(txTagToProtocolOp(TxTags.asset.AddDocuments, context)).toEqual(fakeResult); - - when(createTypeMock) - .calledWith('PolymeshCommonUtilitiesProtocolFeeProtocolOp', 'AssetCreateAsset') - .mockReturnValue(fakeResult); - expect(txTagToProtocolOp(TxTags.asset.CreateAsset, context)).toEqual(fakeResult); - - when(createTypeMock) - .calledWith('PolymeshCommonUtilitiesProtocolFeeProtocolOp', 'CheckpointCreateSchedule') - .mockReturnValue(fakeResult); - expect(txTagToProtocolOp(TxTags.checkpoint.CreateSchedule, context)).toEqual(fakeResult); - - when(createTypeMock) - .calledWith( - 'PolymeshCommonUtilitiesProtocolFeeProtocolOp', - 'ComplianceManagerAddComplianceRequirement' - ) - .mockReturnValue(fakeResult); - expect(txTagToProtocolOp(TxTags.complianceManager.AddComplianceRequirement, context)).toEqual( - fakeResult - ); - - when(createTypeMock) - .calledWith('PolymeshCommonUtilitiesProtocolFeeProtocolOp', 'IdentityCddRegisterDid') - .mockReturnValue(fakeResult); - expect(txTagToProtocolOp(TxTags.identity.CddRegisterDid, context)).toEqual(fakeResult); - - when(createTypeMock) - .calledWith('PolymeshCommonUtilitiesProtocolFeeProtocolOp', 'IdentityAddClaim') - .mockReturnValue(fakeResult); - expect(txTagToProtocolOp(TxTags.identity.AddClaim, context)).toEqual(fakeResult); - - when(createTypeMock) - .calledWith( - 'PolymeshCommonUtilitiesProtocolFeeProtocolOp', - 'IdentityAddSecondaryKeysWithAuthorization' - ) - .mockReturnValue(fakeResult); - expect(txTagToProtocolOp(TxTags.identity.AddSecondaryKeysWithAuthorization, context)).toEqual( - fakeResult - ); - - when(createTypeMock) - .calledWith('PolymeshCommonUtilitiesProtocolFeeProtocolOp', 'PipsPropose') - .mockReturnValue(fakeResult); - expect(txTagToProtocolOp(TxTags.pips.Propose, context)).toEqual(fakeResult); - - when(createTypeMock) - .calledWith('PolymeshCommonUtilitiesProtocolFeeProtocolOp', 'CorporateBallotAttachBallot') - .mockReturnValue(fakeResult); - expect(txTagToProtocolOp(TxTags.corporateBallot.AttachBallot, context)).toEqual(fakeResult); - - when(createTypeMock) - .calledWith('PolymeshCommonUtilitiesProtocolFeeProtocolOp', 'CapitalDistributionDistribute') - .mockReturnValue(fakeResult); - expect(txTagToProtocolOp(TxTags.capitalDistribution.Distribute, context)).toEqual(fakeResult); - }); - - it('should throw an error if tag does not match any PolymeshCommonUtilitiesProtocolFeeProtocolOp', () => { - const value = TxTags.asset.MakeDivisible; - const context = dsMockUtils.getContextInstance(); - const mockTag = 'AssetMakeDivisible'; - - expect(() => txTagToProtocolOp(value, context)).toThrow( - `${mockTag} does not match any PolymeshCommonUtilitiesProtocolFeeProtocolOp` - ); - }); -}); - -describe('txTagToExtrinsicIdentifier and extrinsicIdentifierToTxTag', () => { - describe('txTagToExtrinsicIdentifier', () => { - it('should convert a TxTag enum to a ExtrinsicIdentifier object', () => { - let result = txTagToExtrinsicIdentifier(TxTags.identity.CddRegisterDid); - - expect(result).toEqual({ - moduleId: ModuleIdEnum.Identity, - callId: CallIdEnum.CddRegisterDid, - }); - - result = txTagToExtrinsicIdentifier(TxTags.babe.ReportEquivocation); - - expect(result).toEqual({ - moduleId: ModuleIdEnum.Babe, - callId: CallIdEnum.ReportEquivocation, - }); - }); - }); - - describe('extrinsicIdentifierToTxTag', () => { - it('should convert a ExtrinsicIdentifier object to a TxTag', () => { - let result = extrinsicIdentifierToTxTag({ - moduleId: ModuleIdEnum.Identity, - callId: CallIdEnum.CddRegisterDid, - }); - - expect(result).toEqual(TxTags.identity.CddRegisterDid); - - result = extrinsicIdentifierToTxTag({ - moduleId: ModuleIdEnum.Babe, - callId: CallIdEnum.ReportEquivocation, - }); - - expect(result).toEqual(TxTags.babe.ReportEquivocation); - }); - }); - - it('should convert a ExtrinsicIdentifier object to a TxTag', () => { - let result = extrinsicIdentifierToTxTag({ - moduleId: ModuleIdEnum.Identity, - callId: CallIdEnum.CddRegisterDid, - }); - - expect(result).toEqual(TxTags.identity.CddRegisterDid); - - result = extrinsicIdentifierToTxTag({ - moduleId: ModuleIdEnum.Babe, - callId: CallIdEnum.ReportEquivocation, - }); - - expect(result).toEqual(TxTags.babe.ReportEquivocation); - }); -}); - -describe('txTagToExtrinsicIdentifier', () => { - it('should convert a TxTag enum to a ExtrinsicIdentifier object', () => { - let result = txTagToExtrinsicIdentifier(TxTags.identity.CddRegisterDid); - - expect(result).toEqual({ - moduleId: ModuleIdEnum.Identity, - callId: CallIdEnum.CddRegisterDid, - }); - - result = txTagToExtrinsicIdentifier(TxTags.babe.ReportEquivocation); - - expect(result).toEqual({ - moduleId: ModuleIdEnum.Babe, - callId: CallIdEnum.ReportEquivocation, - }); - }); -}); - -describe('stringToText and textToString', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - describe('stringToText', () => { - it('should convert a string to a polkadot Text object', () => { - const value = 'someText'; - const fakeResult = 'convertedText' as unknown as Text; - const context = dsMockUtils.getContextInstance(); - - when(context.createType).calledWith('Text', value).mockReturnValue(fakeResult); - - const result = stringToText(value, context); - - expect(result).toEqual(fakeResult); - }); - }); - - describe('textToString', () => { - it('should convert polkadot Text object to string', () => { - const text = 'someText'; - const mockText = dsMockUtils.createMockText(text); - - const result = textToString(mockText); - expect(result).toEqual(text); - }); - }); -}); - -describe('portfolioIdToMeshPortfolioId', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should convert a portfolio id into a polkadot portfolio id', () => { - const portfolioId = { - did: 'someDid', - }; - const number = new BigNumber(1); - const rawIdentityId = dsMockUtils.createMockIdentityId(portfolioId.did); - const rawU64 = dsMockUtils.createMockU64(number); - const fakeResult = 'PortfolioId' as unknown as PolymeshPrimitivesIdentityIdPortfolioId; - const context = dsMockUtils.getContextInstance(); - - when(context.createType) - .calledWith('PolymeshPrimitivesIdentityId', portfolioId.did) - .mockReturnValue(rawIdentityId); - - when(context.createType) - .calledWith('PolymeshPrimitivesIdentityIdPortfolioId', { - did: rawIdentityId, - kind: 'Default', - }) - .mockReturnValue(fakeResult); - - let result = portfolioIdToMeshPortfolioId(portfolioId, context); - - expect(result).toBe(fakeResult); - - when(context.createType).calledWith('u64', number.toString()).mockReturnValue(rawU64); - - when(context.createType) - .calledWith('PolymeshPrimitivesIdentityIdPortfolioId', { - did: rawIdentityId, - kind: { User: rawU64 }, - }) - .mockReturnValue(fakeResult); - - result = portfolioIdToMeshPortfolioId({ ...portfolioId, number }, context); - - expect(result).toBe(fakeResult); - }); -}); - -describe('portfolioIdToMeshPortfolioId', () => { - beforeAll(() => { - entityMockUtils.initMocks(); - dsMockUtils.initMocks(); - }); - - afterEach(() => { - entityMockUtils.reset(); - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should convert a portfolio to a polkadot PortfolioKind', () => { - const context = dsMockUtils.getContextInstance(); - - const fakeResult = 'PortfolioKind' as unknown as PolymeshPrimitivesIdentityIdPortfolioKind; - - when(context.createType) - .calledWith('PolymeshPrimitivesIdentityIdPortfolioKind', 'Default') - .mockReturnValue(fakeResult); - - let result = portfolioToPortfolioKind(entityMockUtils.getDefaultPortfolioInstance(), context); - - expect(result).toBe(fakeResult); - - const number = new BigNumber(1); - const rawU64 = dsMockUtils.createMockU64(number); - - when(context.createType).calledWith('u64', number.toString()).mockReturnValue(rawU64); - - when(context.createType) - .calledWith('PolymeshPrimitivesIdentityIdPortfolioKind', { User: rawU64 }) - .mockReturnValue(fakeResult); - - result = portfolioToPortfolioKind( - entityMockUtils.getNumberedPortfolioInstance({ id: number }), - context - ); - - expect(result).toBe(fakeResult); - }); -}); - -describe('complianceRequirementResultToRequirementCompliance', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - entityMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - entityMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should convert a polkadot Compliance Requirement Result object to a RequirementCompliance', () => { - const id = new BigNumber(1); - const assetDid = 'someAssetDid'; - const cddId = 'someCddId'; - const issuerDids = [ - { identity: entityMockUtils.getIdentityInstance({ did: 'someDid' }), trustedFor: null }, - { identity: entityMockUtils.getIdentityInstance({ did: 'otherDid' }), trustedFor: null }, - ]; - const fakeIssuerDids = [ - { identity: expect.objectContaining({ did: 'someDid' }), trustedFor: null }, - { identity: expect.objectContaining({ did: 'otherDid' }), trustedFor: null }, - ]; - const targetIdentityDid = 'targetIdentityDid'; - const conditions: ConditionCompliance[] = [ - { - condition: { - type: ConditionType.IsPresent, - target: ConditionTarget.Both, - claim: { - type: ClaimType.KnowYourCustomer, - scope: { type: ScopeType.Identity, value: assetDid }, - }, - trustedClaimIssuers: fakeIssuerDids, - }, - complies: true, - }, - { - condition: { - type: ConditionType.IsAbsent, - target: ConditionTarget.Receiver, - claim: { - type: ClaimType.BuyLockup, - scope: { type: ScopeType.Identity, value: assetDid }, - }, - trustedClaimIssuers: fakeIssuerDids, - }, - complies: false, - }, - { - condition: { - type: ConditionType.IsNoneOf, - target: ConditionTarget.Sender, - claims: [ - { - type: ClaimType.Blocked, - scope: { type: ScopeType.Identity, value: assetDid }, - }, - { - type: ClaimType.SellLockup, - scope: { type: ScopeType.Identity, value: assetDid }, - }, - ], - trustedClaimIssuers: fakeIssuerDids, - }, - complies: true, - }, - { - condition: { - type: ConditionType.IsAnyOf, - target: ConditionTarget.Both, - claims: [ - { - type: ClaimType.Exempted, - scope: { type: ScopeType.Identity, value: assetDid }, - }, - { - type: ClaimType.CustomerDueDiligence, - id: cddId, - }, - ], - trustedClaimIssuers: fakeIssuerDids, - }, - complies: false, - }, - { - condition: { - type: ConditionType.IsIdentity, - target: ConditionTarget.Sender, - identity: expect.objectContaining({ did: targetIdentityDid }), - trustedClaimIssuers: fakeIssuerDids, - }, - complies: true, - }, - { - condition: { - type: ConditionType.IsExternalAgent, - target: ConditionTarget.Receiver, - trustedClaimIssuers: fakeIssuerDids, - }, - complies: false, - }, - ]; - const fakeResult = { - id, - conditions, - complies: false, - }; - - const scope = dsMockUtils.createMockScope({ - Identity: dsMockUtils.createMockIdentityId(assetDid), - }); - /* eslint-disable @typescript-eslint/naming-convention */ - const issuers = issuerDids.map(({ identity: { did } }) => - dsMockUtils.createMockTrustedIssuer({ - issuer: dsMockUtils.createMockIdentityId(did), - trustedFor: dsMockUtils.createMockTrustedFor(), - }) - ); - const rawConditions = [ - dsMockUtils.createMockConditionResult({ - condition: dsMockUtils.createMockCondition({ - conditionType: dsMockUtils.createMockConditionType({ - IsPresent: dsMockUtils.createMockClaim({ KnowYourCustomer: scope }), - }), - issuers, - }), - result: dsMockUtils.createMockBool(true), - }), - dsMockUtils.createMockConditionResult({ - condition: dsMockUtils.createMockCondition({ - conditionType: dsMockUtils.createMockConditionType({ - IsAbsent: dsMockUtils.createMockClaim({ BuyLockup: scope }), - }), - issuers, - }), - result: dsMockUtils.createMockBool(false), - }), - dsMockUtils.createMockConditionResult({ - condition: dsMockUtils.createMockCondition({ - conditionType: dsMockUtils.createMockConditionType({ - IsNoneOf: [ - dsMockUtils.createMockClaim({ Blocked: scope }), - dsMockUtils.createMockClaim({ SellLockup: scope }), - ], - }), - issuers, - }), - result: dsMockUtils.createMockBool(true), - }), - dsMockUtils.createMockConditionResult({ - condition: dsMockUtils.createMockCondition({ - conditionType: dsMockUtils.createMockConditionType({ - IsAnyOf: [ - dsMockUtils.createMockClaim({ Exempted: scope }), - dsMockUtils.createMockClaim({ - CustomerDueDiligence: dsMockUtils.createMockCddId(cddId), - }), - ], - }), - issuers, - }), - result: dsMockUtils.createMockBool(false), - }), - dsMockUtils.createMockConditionResult({ - condition: dsMockUtils.createMockCondition({ - conditionType: dsMockUtils.createMockConditionType({ - IsIdentity: dsMockUtils.createMockTargetIdentity({ - Specific: dsMockUtils.createMockIdentityId(targetIdentityDid), - }), - }), - issuers, - }), - result: dsMockUtils.createMockBool(true), - }), - dsMockUtils.createMockConditionResult({ - condition: dsMockUtils.createMockCondition({ - conditionType: dsMockUtils.createMockConditionType({ - IsIdentity: dsMockUtils.createMockTargetIdentity('ExternalAgent'), - }), - issuers, - }), - result: dsMockUtils.createMockBool(false), - }), - ]; - const complianceRequirement = dsMockUtils.createMockComplianceRequirementResult({ - senderConditions: [ - rawConditions[0], - rawConditions[2], - rawConditions[2], - rawConditions[3], - rawConditions[4], - ], - receiverConditions: [ - rawConditions[0], - rawConditions[1], - rawConditions[1], - rawConditions[3], - rawConditions[5], - ], - id: dsMockUtils.createMockU32(new BigNumber(1)), - result: dsMockUtils.createMockBool(false), - }); - /* eslint-enable @typescript-eslint/naming-convention */ - - const result = complianceRequirementResultToRequirementCompliance( - complianceRequirement, - dsMockUtils.getContextInstance() - ); - expect(result.conditions).toEqual(expect.arrayContaining(fakeResult.conditions)); - }); -}); - -describe('assetComplianceResultToCompliance', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should convert a polkadot AssetComplianceResult object to a RequirementCompliance', () => { - const id = new BigNumber(1); - const assetDid = 'someAssetDid'; - const cddId = 'someCddId'; - const context = dsMockUtils.getContextInstance(); - const issuerDids = [ - { identity: new Identity({ did: 'someDid' }, context), trustedFor: null }, - { identity: new Identity({ did: 'otherDid' }, context), trustedFor: null }, - ]; - const fakeIssuerDids = [ - { identity: expect.objectContaining({ did: 'someDid' }), trustedFor: null }, - { identity: expect.objectContaining({ did: 'otherDid' }), trustedFor: null }, - ]; - const conditions: ConditionCompliance[] = [ - { - condition: { - type: ConditionType.IsPresent, - target: ConditionTarget.Both, - claim: { - type: ClaimType.KnowYourCustomer, - scope: { type: ScopeType.Identity, value: assetDid }, - }, - trustedClaimIssuers: fakeIssuerDids, - }, - complies: true, - }, - { - condition: { - type: ConditionType.IsAbsent, - target: ConditionTarget.Receiver, - claim: { - type: ClaimType.BuyLockup, - scope: { type: ScopeType.Identity, value: assetDid }, - }, - trustedClaimIssuers: fakeIssuerDids, - }, - complies: false, - }, - { - condition: { - type: ConditionType.IsNoneOf, - target: ConditionTarget.Sender, - claims: [ - { - type: ClaimType.Blocked, - scope: { type: ScopeType.Identity, value: assetDid }, - }, - { - type: ClaimType.SellLockup, - scope: { type: ScopeType.Identity, value: assetDid }, - }, - ], - trustedClaimIssuers: fakeIssuerDids, - }, - complies: true, - }, - { - condition: { - type: ConditionType.IsAnyOf, - target: ConditionTarget.Both, - claims: [ - { - type: ClaimType.Exempted, - scope: { type: ScopeType.Identity, value: assetDid }, - }, - { - type: ClaimType.CustomerDueDiligence, - id: cddId, - }, - ], - trustedClaimIssuers: fakeIssuerDids, - }, - complies: false, - }, - ]; - const fakeResult = { - id, - conditions, - }; - - const scope = dsMockUtils.createMockScope({ - Identity: dsMockUtils.createMockIdentityId(assetDid), - }); - /* eslint-disable @typescript-eslint/naming-convention */ - const issuers = issuerDids.map(({ identity: { did } }) => - dsMockUtils.createMockTrustedIssuer({ - issuer: dsMockUtils.createMockIdentityId(did), - trustedFor: dsMockUtils.createMockTrustedFor(), - }) - ); - const rawConditions = [ - dsMockUtils.createMockConditionResult({ - condition: dsMockUtils.createMockCondition({ - conditionType: dsMockUtils.createMockConditionType({ - IsPresent: dsMockUtils.createMockClaim({ KnowYourCustomer: scope }), - }), - issuers, - }), - result: dsMockUtils.createMockBool(true), - }), - dsMockUtils.createMockConditionResult({ - condition: dsMockUtils.createMockCondition({ - conditionType: dsMockUtils.createMockConditionType({ - IsAbsent: dsMockUtils.createMockClaim({ BuyLockup: scope }), - }), - issuers, - }), - result: dsMockUtils.createMockBool(false), - }), - dsMockUtils.createMockConditionResult({ - condition: dsMockUtils.createMockCondition({ - conditionType: dsMockUtils.createMockConditionType({ - IsNoneOf: [ - dsMockUtils.createMockClaim({ Blocked: scope }), - dsMockUtils.createMockClaim({ SellLockup: scope }), - ], - }), - issuers, - }), - result: dsMockUtils.createMockBool(true), - }), - dsMockUtils.createMockConditionResult({ - condition: dsMockUtils.createMockCondition({ - conditionType: dsMockUtils.createMockConditionType({ - IsAnyOf: [ - dsMockUtils.createMockClaim({ Exempted: scope }), - dsMockUtils.createMockClaim({ - CustomerDueDiligence: dsMockUtils.createMockCddId(cddId), - }), - ], - }), - issuers, - }), - result: dsMockUtils.createMockBool(false), - }), - ]; - - const rawRequirements = dsMockUtils.createMockComplianceRequirementResult({ - senderConditions: [rawConditions[0], rawConditions[2], rawConditions[3]], - receiverConditions: [rawConditions[0], rawConditions[1], rawConditions[3]], - id: dsMockUtils.createMockU32(new BigNumber(1)), - result: dsMockUtils.createMockBool(false), - }); - - let assetComplianceResult = dsMockUtils.createMockAssetComplianceResult({ - paused: dsMockUtils.createMockBool(true), - requirements: [rawRequirements], - result: dsMockUtils.createMockBool(true), - }); - - let result = assetComplianceResultToCompliance(assetComplianceResult, context); - expect(result.requirements[0].conditions).toEqual( - expect.arrayContaining(fakeResult.conditions) - ); - expect(result.complies).toBe(true); - - assetComplianceResult = dsMockUtils.createMockAssetComplianceResult({ - paused: dsMockUtils.createMockBool(false), - requirements: [rawRequirements], - result: dsMockUtils.createMockBool(true), - }); - - result = assetComplianceResultToCompliance(assetComplianceResult, context); - expect(result.complies).toBe(true); - }); -}); - -describe('moduleAddressToString', () => { - const context = dsMockUtils.getContextInstance(); - - it('should convert a module address to a string', () => { - const moduleAddress = 'someModuleName'; - - const result = moduleAddressToString(moduleAddress, context); - expect(result).toBe('5Eg4TucMsdiyc9LjA3BT7VXioUqMoQ4vLn1VSUDsYsiJMdbN'); - }); -}); - -describe('keyToAddress and addressToKey', () => { - const address = DUMMY_ACCOUNT_ID; - const publicKey = '0xd43593c715fdd31c61141abd04a99fd6822c8558854ccde39a5684e7a56da27d'; - const context = dsMockUtils.getContextInstance(); - - describe('addressToKey', () => { - it('should decode an address into a public key', () => { - const result = addressToKey(address, context); - - expect(result).toBe(publicKey); - }); - }); - - describe('keyToAddress', () => { - it('should encode a public key into an address', () => { - let result = keyToAddress(publicKey, context); - - expect(result).toBe(address); - - result = keyToAddress(publicKey.substring(2), context); - expect(result).toBe(address); - }); - }); -}); - -describe('coerceHexToString', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should convert a hex string to string', () => { - const hex = '0x41434D450000000000000000'; - const mockResult = 'ACME'; - - let result = coerceHexToString(hex); - expect(result).toEqual(mockResult); - - result = coerceHexToString(mockResult); - expect(result).toEqual(mockResult); - }); -}); - -describe('transactionHexToTxTag', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should convert a hex string to a TxTag', () => { - const hex = '0x110000'; - const fakeResult = TxTags.treasury.Disbursement; - const mockResult = { - method: 'disbursement', - section: 'treasury', - } as unknown as Call; - - const context = dsMockUtils.getContextInstance(); - - when(context.createType).calledWith('Call', hex).mockReturnValue(mockResult); - - const result = transactionHexToTxTag(hex, context); - expect(result).toEqual(fakeResult); - }); -}); - -describe('transactionToTxTag', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should convert a transaction to a TxTag', () => { - const tx = dsMockUtils.createTxMock('asset', 'unfreeze'); - const fakeResult = TxTags.asset.Unfreeze; - - const result = transactionToTxTag(tx); - expect(result).toEqual(fakeResult); - }); -}); - -describe('meshAffirmationStatusToAffirmationStatus', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should convert a polkadot AffirmationStatus object to a AffirmationStatus', () => { - let fakeResult = AffirmationStatus.Affirmed; - let permission = dsMockUtils.createMockAffirmationStatus(fakeResult); - - let result = meshAffirmationStatusToAffirmationStatus(permission); - expect(result).toEqual(fakeResult); - - fakeResult = AffirmationStatus.Pending; - permission = dsMockUtils.createMockAffirmationStatus(fakeResult); - - result = meshAffirmationStatusToAffirmationStatus(permission); - expect(result).toEqual(fakeResult); - - result = meshAffirmationStatusToAffirmationStatus(permission); - expect(result).toEqual(fakeResult); - - fakeResult = AffirmationStatus.Unknown; - permission = dsMockUtils.createMockAffirmationStatus(fakeResult); - - result = meshAffirmationStatusToAffirmationStatus(permission); - expect(result).toEqual(fakeResult); - }); -}); - -describe('secondaryAccountToMeshSecondaryKey', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - entityMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - entityMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should convert a SecondaryAccount to a polkadot SecondaryKey', () => { - const address = 'someAccount'; - const context = dsMockUtils.getContextInstance(); - const secondaryAccount = { - account: entityMockUtils.getAccountInstance(), - permissions: { - assets: null, - transactions: null, - transactionGroups: [], - portfolios: null, - }, - }; - const mockAccountId = dsMockUtils.createMockAccountId(address); - const mockSignatory = dsMockUtils.createMockSignatory({ Account: mockAccountId }); - const mockPermissions = dsMockUtils.createMockPermissions({ - asset: dsMockUtils.createMockAssetPermissions('Whole'), - portfolio: dsMockUtils.createMockPortfolioPermissions('Whole'), - extrinsic: dsMockUtils.createMockExtrinsicPermissions('Whole'), - }); - const fakeResult = dsMockUtils.createMockSecondaryKey({ - signer: mockSignatory, - permissions: mockPermissions, - }); - - when(context.createType) - .calledWith('PolymeshPrimitivesSecondaryKey', { - signer: signerValueToSignatory({ type: SignerType.Account, value: address }, context), - permissions: permissionsToMeshPermissions(secondaryAccount.permissions, context), - }) - .mockReturnValue(fakeResult); - - const result = secondaryAccountToMeshSecondaryKey(secondaryAccount, context); - - expect(result).toEqual(fakeResult); - }); -}); - -describe('venueTypeToMeshVenueType and meshVenueTypeToVenueType', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - describe('venueTypeToMeshVenueType', () => { - it('should convert a VenueType to a polkadot PolymeshPrimitivesSettlementVenueType object', () => { - const value = VenueType.Other; - const fakeResult = 'Other' as unknown as PolymeshPrimitivesSettlementVenueType; - const context = dsMockUtils.getContextInstance(); - - when(context.createType) - .calledWith('PolymeshPrimitivesSettlementVenueType', value) - .mockReturnValue(fakeResult); - - const result = venueTypeToMeshVenueType(value, context); - - expect(result).toBe(fakeResult); - }); - }); - - describe('meshVenueTypeToVenueType', () => { - it('should convert a polkadot PalletSettlementVenueType object to a VenueType', () => { - let fakeResult = VenueType.Other; - let venueType = dsMockUtils.createMockVenueType(fakeResult); - - let result = meshVenueTypeToVenueType(venueType); - expect(result).toEqual(fakeResult); - - fakeResult = VenueType.Distribution; - venueType = dsMockUtils.createMockVenueType(fakeResult); - - result = meshVenueTypeToVenueType(venueType); - expect(result).toEqual(fakeResult); - - fakeResult = VenueType.Sto; - venueType = dsMockUtils.createMockVenueType(fakeResult); - - result = meshVenueTypeToVenueType(venueType); - expect(result).toEqual(fakeResult); - - fakeResult = VenueType.Exchange; - venueType = dsMockUtils.createMockVenueType(fakeResult); - - result = meshVenueTypeToVenueType(venueType); - expect(result).toEqual(fakeResult); - }); - }); -}); - -describe('meshInstructionStatusToInstructionStatus', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should convert a polkadot InstructionStatus object to an InstructionStatus', () => { - let fakeResult = InstructionStatus.Pending; - let instructionStatus = dsMockUtils.createMockInstructionStatus(fakeResult); - - let result = meshInstructionStatusToInstructionStatus(instructionStatus); - expect(result).toEqual(fakeResult); - - fakeResult = InstructionStatus.Failed; - instructionStatus = dsMockUtils.createMockInstructionStatus(fakeResult); - - result = meshInstructionStatusToInstructionStatus(instructionStatus); - expect(result).toEqual(fakeResult); - - fakeResult = InstructionStatus.Rejected; - instructionStatus = dsMockUtils.createMockInstructionStatus('Rejected'); - - result = meshInstructionStatusToInstructionStatus(instructionStatus); - expect(result).toEqual(fakeResult); - - instructionStatus = dsMockUtils.createMockInstructionStatus('Success'); - fakeResult = InstructionStatus.Success; - - result = meshInstructionStatusToInstructionStatus(instructionStatus); - expect(result).toEqual(fakeResult); - - fakeResult = InstructionStatus.Unknown; - instructionStatus = dsMockUtils.createMockInstructionStatus(fakeResult); - - result = meshInstructionStatusToInstructionStatus(instructionStatus); - expect(result).toEqual(fakeResult); - }); -}); - -describe('meshAffirmationStatusToAffirmationStatus', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should convert a polkadot AffirmationStatus object to a AffirmationStatus', () => { - let fakeResult = AffirmationStatus.Unknown; - let authorizationStatus = dsMockUtils.createMockAffirmationStatus(fakeResult); - - let result = meshAffirmationStatusToAffirmationStatus(authorizationStatus); - expect(result).toEqual(fakeResult); - - result = meshAffirmationStatusToAffirmationStatus(authorizationStatus); - expect(result).toEqual(fakeResult); - - fakeResult = AffirmationStatus.Pending; - authorizationStatus = dsMockUtils.createMockAffirmationStatus(fakeResult); - - result = meshAffirmationStatusToAffirmationStatus(authorizationStatus); - expect(result).toEqual(fakeResult); - - fakeResult = AffirmationStatus.Affirmed; - authorizationStatus = dsMockUtils.createMockAffirmationStatus(fakeResult); - - result = meshAffirmationStatusToAffirmationStatus(authorizationStatus); - expect(result).toEqual(fakeResult); - }); -}); - -describe('meshSettlementTypeToEndCondition', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should convert polkadot PalletSettlementSettlementType to an InstructionEndCondition object', () => { - let result = meshSettlementTypeToEndCondition( - dsMockUtils.createMockSettlementType('SettleOnAffirmation') - ); - - expect(result.type).toEqual(InstructionType.SettleOnAffirmation); - - const block = new BigNumber(123); - - result = meshSettlementTypeToEndCondition( - dsMockUtils.createMockSettlementType({ SettleOnBlock: createMockU32(block) }) - ); - - expect(result).toEqual( - expect.objectContaining({ - type: InstructionType.SettleOnBlock, - endBlock: block, - }) - ); - - result = meshSettlementTypeToEndCondition( - dsMockUtils.createMockSettlementType({ SettleManual: createMockU32(block) }) - ); - - expect(result).toEqual( - expect.objectContaining({ - type: InstructionType.SettleManual, - endAfterBlock: block, - }) - ); - }); -}); - -describe('endConditionToSettlementType', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should convert an end condition to a polkadot PolymeshPrimitivesSettlementSettlementType object', () => { - const fakeResult = 'type' as unknown as PolymeshPrimitivesSettlementSettlementType; - const context = dsMockUtils.getContextInstance(); - - when(context.createType) - .calledWith('PolymeshPrimitivesSettlementSettlementType', InstructionType.SettleOnAffirmation) - .mockReturnValue(fakeResult); - - let result = endConditionToSettlementType( - { type: InstructionType.SettleOnAffirmation }, - context - ); - - expect(result).toBe(fakeResult); - - const blockNumber = new BigNumber(10); - const rawBlockNumber = dsMockUtils.createMockU32(blockNumber); - - when(context.createType) - .calledWith('u32', blockNumber.toString()) - .mockReturnValue(rawBlockNumber); - when(context.createType) - .calledWith('PolymeshPrimitivesSettlementSettlementType', { - [InstructionType.SettleOnBlock]: rawBlockNumber, - }) - .mockReturnValue(fakeResult); - - result = endConditionToSettlementType( - { type: InstructionType.SettleOnBlock, endBlock: blockNumber }, - context - ); - - expect(result).toBe(fakeResult); - - when(context.createType) - .calledWith('PolymeshPrimitivesSettlementSettlementType', { - [InstructionType.SettleManual]: rawBlockNumber, - }) - .mockReturnValue(fakeResult); - - result = endConditionToSettlementType( - { type: InstructionType.SettleManual, endAfterBlock: blockNumber }, - context - ); - - expect(result).toBe(fakeResult); - }); -}); - -describe('portfolioLikeToPortfolioId', () => { - let did: string; - let number: BigNumber; - let context: Context; - - beforeAll(() => { - dsMockUtils.initMocks(); - entityMockUtils.initMocks(); - - did = 'someDid'; - number = new BigNumber(1); - }); - - beforeEach(() => { - context = dsMockUtils.getContextInstance(); - }); - - afterEach(() => { - dsMockUtils.reset(); - entityMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should convert a DID string to a PolymeshPrimitivesIdentityIdPortfolioId', async () => { - const result = portfolioLikeToPortfolioId(did); - - expect(result).toEqual({ did, number: undefined }); - }); - - it('should convert an Identity to a PolymeshPrimitivesIdentityIdPortfolioId', async () => { - const identity = entityMockUtils.getIdentityInstance({ did }); - - const result = portfolioLikeToPortfolioId(identity); - - expect(result).toEqual({ did, number: undefined }); - }); - - it('should convert a NumberedPortfolio to a PolymeshPrimitivesIdentityIdPortfolioId', async () => { - const portfolio = new NumberedPortfolio({ did, id: number }, context); - - const result = portfolioLikeToPortfolioId(portfolio); - - expect(result).toEqual({ did, number }); - }); - - it('should convert a DefaultPortfolio to a PolymeshPrimitivesIdentityIdPortfolioId', async () => { - const portfolio = new DefaultPortfolio({ did }, context); - - const result = portfolioLikeToPortfolioId(portfolio); - - expect(result).toEqual({ did, number: undefined }); - }); - - it('should convert a Portfolio identifier object to a PolymeshPrimitivesIdentityIdPortfolioId', async () => { - let result = portfolioLikeToPortfolioId({ identity: did, id: number }); - expect(result).toEqual({ did, number }); - - result = portfolioLikeToPortfolioId({ - identity: entityMockUtils.getIdentityInstance({ did }), - id: number, - }); - expect(result).toEqual({ did, number }); - }); -}); - -describe('portfolioLikeToPortfolio', () => { - let did: string; - let id: BigNumber; - let context: Context; - - beforeAll(() => { - dsMockUtils.initMocks(); - entityMockUtils.initMocks(); - - did = 'someDid'; - id = new BigNumber(1); - }); - - beforeEach(() => { - context = dsMockUtils.getContextInstance(); - }); - - afterEach(() => { - dsMockUtils.reset(); - entityMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should convert a PortfolioLike to a DefaultPortfolio instance', async () => { - const result = portfolioLikeToPortfolio(did, context); - expect(result instanceof DefaultPortfolio).toBe(true); - }); - - it('should convert a PortfolioLike to a NumberedPortfolio instance', async () => { - const result = portfolioLikeToPortfolio({ identity: did, id }, context); - expect(result instanceof NumberedPortfolio).toBe(true); - }); -}); - -describe('trustedClaimIssuerToTrustedIssuer and trustedIssuerToTrustedClaimIssuer', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - entityMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - entityMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - describe('trustedClaimIssuerToTrustedIssuer', () => { - it('should convert a did string into an PolymeshPrimitivesIdentityId', () => { - const did = 'someDid'; - const fakeResult = 'type' as unknown as PolymeshPrimitivesConditionTrustedIssuer; - const context = dsMockUtils.getContextInstance(); - - let issuer: TrustedClaimIssuer = { - identity: entityMockUtils.getIdentityInstance({ did }), - trustedFor: null, - }; - - when(context.createType) - .calledWith('PolymeshPrimitivesConditionTrustedIssuer', { - issuer: stringToIdentityId(did, context), - trustedFor: 'Any', - }) - .mockReturnValue(fakeResult); - - let result = trustedClaimIssuerToTrustedIssuer(issuer, context); - expect(result).toBe(fakeResult); - - issuer = { - identity: entityMockUtils.getIdentityInstance({ did }), - trustedFor: [ClaimType.Accredited, ClaimType.Blocked], - }; - - when(context.createType) - .calledWith('PolymeshPrimitivesConditionTrustedIssuer', { - issuer: stringToIdentityId(did, context), - trustedFor: { Specific: [ClaimType.Accredited, ClaimType.Blocked] }, - }) - .mockReturnValue(fakeResult); - - result = trustedClaimIssuerToTrustedIssuer(issuer, context); - expect(result).toBe(fakeResult); - }); - }); -}); - -describe('permissionsLikeToPermissions', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - entityMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - entityMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should convert a PermissionsLike into a Permissions', () => { - const context = dsMockUtils.getContextInstance(); - let args: PermissionsLike = { assets: null, transactions: null, portfolios: null }; - let result = permissionsLikeToPermissions(args, context); - expect(result).toEqual({ - assets: null, - transactions: null, - transactionGroups: [], - portfolios: null, - }); - - const firstTicker = 'TICKER'; - const firstToken = entityMockUtils.getFungibleAssetInstance({ ticker: firstTicker }); - const secondTicker = 'OTHER_TICKER'; - const did = 'someDid'; - const portfolio = entityMockUtils.getDefaultPortfolioInstance({ did }); - - args = { - assets: { - values: [firstToken, secondTicker], - type: PermissionType.Include, - }, - transactions: { - values: [TxTags.asset.MakeDivisible], - type: PermissionType.Include, - }, - transactionGroups: [TxGroup.TrustedClaimIssuersManagement], - portfolios: { - values: [portfolio], - type: PermissionType.Include, - }, - }; - - const fakeFirstToken = expect.objectContaining({ ticker: firstTicker }); - const fakeSecondToken = expect.objectContaining({ ticker: secondTicker }); - const fakePortfolio = expect.objectContaining({ owner: expect.objectContaining({ did }) }); - - result = permissionsLikeToPermissions(args, context); - expect(result).toEqual({ - assets: { - values: [fakeFirstToken, fakeSecondToken], - type: PermissionType.Include, - }, - transactions: { - values: [TxTags.asset.MakeDivisible], - type: PermissionType.Include, - }, - transactionGroups: [], - portfolios: { - values: [fakePortfolio], - type: PermissionType.Include, - }, - }); - - result = permissionsLikeToPermissions({}, context); - expect(result).toEqual({ - assets: { - values: [], - type: PermissionType.Include, - }, - transactions: { - values: [], - type: PermissionType.Include, - }, - transactionGroups: [], - portfolios: { - values: [], - type: PermissionType.Include, - }, - }); - - result = permissionsLikeToPermissions( - { - transactionGroups: [TxGroup.TrustedClaimIssuersManagement], - }, - context - ); - expect(result).toEqual({ - assets: { - values: [], - type: PermissionType.Include, - }, - transactions: { - values: [ - TxTags.complianceManager.AddDefaultTrustedClaimIssuer, - TxTags.complianceManager.RemoveDefaultTrustedClaimIssuer, - ], - type: PermissionType.Include, - }, - transactionGroups: [TxGroup.TrustedClaimIssuersManagement], - portfolios: { - values: [], - type: PermissionType.Include, - }, - }); - - args = { - assets: null, - transactions: { - values: [TxTags.balances.SetBalance, TxTags.asset.MakeDivisible], - type: PermissionType.Include, - }, - transactionGroups: [], - portfolios: null, - }; - - result = permissionsLikeToPermissions(args, context); - expect(result).toEqual({ - assets: null, - transactions: { - values: [TxTags.asset.MakeDivisible, TxTags.balances.SetBalance], - type: PermissionType.Include, - }, - transactionGroups: [], - portfolios: null, - }); - }); -}); - -describe('middlewarePortfolioToPortfolio', () => { - it('should convert a MiddlewarePortfolio into a Portfolio', async () => { - const context = dsMockUtils.getContextInstance(); - let middlewarePortfolio = { - identityId: 'someDid', - number: 0, - } as MiddlewarePortfolio; - - let result = await middlewarePortfolioToPortfolio(middlewarePortfolio, context); - expect(result instanceof DefaultPortfolio).toBe(true); - - middlewarePortfolio = { - identityId: 'someDid', - number: 10, - } as MiddlewarePortfolio; - - result = await middlewarePortfolioToPortfolio(middlewarePortfolio, context); - expect(result instanceof NumberedPortfolio).toBe(true); - }); -}); - -describe('transferRestrictionToPolymeshTransferCondition', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - jest.restoreAllMocks(); - }); - - it('should convert a Transfer Restriction to a PolymeshTransferCondition object', () => { - const count = new BigNumber(10); - let value: TransferRestriction = { - type: TransferRestrictionType.Count, - value: count, - }; - const fakeResult = - 'TransferConditionEnum' as unknown as PolymeshPrimitivesTransferComplianceTransferCondition; - const context = dsMockUtils.getContextInstance(); - - const rawCount = dsMockUtils.createMockU64(count); - - const createTypeMock = context.createType; - when(createTypeMock) - .calledWith('PolymeshPrimitivesTransferComplianceTransferCondition', { - MaxInvestorCount: rawCount, - }) - .mockReturnValue(fakeResult); - - when(createTypeMock).calledWith('u64', count.toString()).mockReturnValue(rawCount); - - let result = transferRestrictionToPolymeshTransferCondition(value, context); - - expect(result).toBe(fakeResult); - - const percentage = new BigNumber(49); - const rawPercentage = dsMockUtils.createMockPermill(percentage.multipliedBy(10000)); - value = { - type: TransferRestrictionType.Percentage, - value: percentage, - }; - - when(createTypeMock) - .calledWith('PolymeshPrimitivesTransferComplianceTransferCondition', { - MaxInvestorOwnership: rawPercentage, - }) - .mockReturnValue(fakeResult); - - when(createTypeMock) - .calledWith('Permill', percentage.multipliedBy(10000).toString()) - .mockReturnValue(rawPercentage); - - result = transferRestrictionToPolymeshTransferCondition(value, context); - - expect(result).toBe(fakeResult); - - const did = 'someDid'; - const min = new BigNumber(10); - const max = new BigNumber(20); - const issuer = entityMockUtils.getIdentityInstance({ did }); - const countryCode = CountryCode.Ca; - const rawCountryCode = dsMockUtils.createMockCountryCode(CountryCode.Ca); - const rawMinCount = dsMockUtils.createMockU64(min); - const rawMaxCount = dsMockUtils.createMockOption(dsMockUtils.createMockU64(max)); - const rawMinPercent = dsMockUtils.createMockPermill(min); - const rawMaxPercent = dsMockUtils.createMockPermill(max); - const rawIssuerId = dsMockUtils.createMockIdentityId(did); - const rawClaimValue = { Jurisdiction: rawCountryCode }; - - const claimCount = { - min, - max, - issuer, - claim: { type: ClaimType.Jurisdiction as const, countryCode }, - }; - value = { - type: TransferRestrictionType.ClaimCount, - value: claimCount, - }; - - when(createTypeMock).calledWith('u64', min.toString()).mockReturnValue(rawMinCount); - when(createTypeMock).calledWith('u64', max.toString()).mockReturnValue(rawMaxCount); - when(createTypeMock) - .calledWith('Permill', min.shiftedBy(4).toString()) - .mockReturnValue(rawMinPercent); - when(createTypeMock) - .calledWith('Permill', max.shiftedBy(4).toString()) - .mockReturnValue(rawMaxPercent); - when(createTypeMock) - .calledWith('PolymeshPrimitivesJurisdictionCountryCode', CountryCode.Ca) - .mockReturnValue(rawCountryCode); - when(createTypeMock) - .calledWith('PolymeshPrimitivesIdentityId', did) - .mockReturnValue(rawIssuerId); - when(createTypeMock) - .calledWith('PolymeshPrimitivesTransferComplianceTransferCondition', { - ClaimCount: [rawClaimValue, rawIssuerId, rawMinCount, rawMaxCount], - }) - .mockReturnValue(fakeResult); - - result = transferRestrictionToPolymeshTransferCondition(value, context); - - expect(result).toBe(fakeResult); - - const claimPercentage = { - min, - max, - issuer, - claim: { - type: ClaimType.Affiliate as const, - affiliate: true, - }, - }; - value = { - type: TransferRestrictionType.ClaimPercentage, - value: claimPercentage, - }; - const rawTrue = dsMockUtils.createMockBool(true); - const rawOwnershipClaim = { Affiliate: rawTrue }; - - when(createTypeMock).calledWith('bool', true).mockReturnValue(rawTrue); - when(createTypeMock) - .calledWith('PolymeshPrimitivesTransferComplianceTransferCondition', { - ClaimOwnership: [rawOwnershipClaim, rawIssuerId, rawMinPercent, rawMaxPercent], - }) - .mockReturnValue(fakeResult); - - result = transferRestrictionToPolymeshTransferCondition(value, context); - - expect(result).toBe(fakeResult); - - const claimPercentageAccredited = { - min, - max, - issuer, - claim: { - type: ClaimType.Accredited as const, - accredited: true, - }, - }; - value = { - type: TransferRestrictionType.ClaimPercentage, - value: claimPercentageAccredited, - }; - const rawOwnershipClaimAccredited = { Accredited: rawTrue }; - - when(createTypeMock).calledWith('bool', true).mockReturnValue(rawTrue); - when(createTypeMock) - .calledWith('PolymeshPrimitivesTransferComplianceTransferCondition', { - ClaimOwnership: [rawOwnershipClaimAccredited, rawIssuerId, rawMinPercent, rawMaxPercent], - }) - .mockReturnValue(fakeResult); - - result = transferRestrictionToPolymeshTransferCondition(value, context); - - expect(result).toBe(fakeResult); - }); - - it('should throw if there is an unknown transfer type', () => { - const context = dsMockUtils.getContextInstance(); - const value = { - type: 'Unknown', - value: new BigNumber(3), - } as unknown as TransferRestriction; - - const expectedError = new PolymeshError({ - code: ErrorCode.UnexpectedError, - message: - 'Unexpected transfer restriction type: "Unknown". Please report this to the Polymesh team', - }); - - return expect(() => - transferRestrictionToPolymeshTransferCondition(value, context) - ).toThrowError(expectedError); - }); -}); - -describe('transferConditionToTransferRestriction', () => { - it('should convert a TransferRestriction to a PolymeshPrimitivesTransferComplianceTransferCondition', () => { - const mockContext = dsMockUtils.getContextInstance(); - const count = new BigNumber(10); - let fakeResult = { - type: TransferRestrictionType.Count, - value: count, - }; - let transferCondition = dsMockUtils.createMockTransferCondition({ - MaxInvestorCount: dsMockUtils.createMockU64(count), - }); - - let result = transferConditionToTransferRestriction(transferCondition, mockContext); - expect(result).toEqual(fakeResult); - - const percentage = new BigNumber(49); - fakeResult = { - type: TransferRestrictionType.Percentage, - value: percentage, - }; - transferCondition = dsMockUtils.createMockTransferCondition({ - MaxInvestorOwnership: dsMockUtils.createMockPermill(percentage.multipliedBy(10000)), - }); - - result = transferConditionToTransferRestriction(transferCondition, mockContext); - expect(result).toEqual(fakeResult); - - // eslint-disable-next-line @typescript-eslint/no-explicit-any - (transferCondition as any).isMaxInvestorOwnership = false; - const expectedError = new PolymeshError({ - code: ErrorCode.FatalError, - message: 'Unexpected transfer condition type', - }); - - expect(() => - transferConditionToTransferRestriction(transferCondition, mockContext) - ).toThrowError(expectedError); - }); -}); - -describe('offeringTierToPriceTier', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - entityMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - entityMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should convert an Offering Tier into a polkadot PalletStoPriceTier object', () => { - const context = dsMockUtils.getContextInstance(); - const total = new BigNumber(100); - const price = new BigNumber(1000); - const rawTotal = dsMockUtils.createMockBalance(total); - const rawPrice = dsMockUtils.createMockBalance(price); - const fakeResult = 'PalletStoPriceTier' as unknown as PalletStoPriceTier; - - const offeringTier: OfferingTier = { - price, - amount: total, - }; - - const createTypeMock = context.createType; - - when(createTypeMock) - .calledWith('Balance', total.multipliedBy(Math.pow(10, 6)).toString()) - .mockReturnValue(rawTotal); - when(createTypeMock) - .calledWith('Balance', price.multipliedBy(Math.pow(10, 6)).toString()) - .mockReturnValue(rawPrice); - - when(createTypeMock) - .calledWith('PalletStoPriceTier', { - total: rawTotal, - price: rawPrice, - }) - .mockReturnValue(fakeResult); - - const result = offeringTierToPriceTier(offeringTier, context); - - expect(result).toBe(fakeResult); - }); -}); - -describe('txGroupToTxTags', () => { - it('should return the corresponding group of TxTags', () => { - let result = txGroupToTxTags(TxGroup.PortfolioManagement); - - expect(result).toEqual([ - TxTags.identity.AddInvestorUniquenessClaim, - TxTags.portfolio.MovePortfolioFunds, - TxTags.settlement.AddInstruction, - TxTags.settlement.AddInstructionWithMemo, - TxTags.settlement.AddAndAffirmInstruction, - TxTags.settlement.AddAndAffirmInstructionWithMemo, - TxTags.settlement.AffirmInstruction, - TxTags.settlement.RejectInstruction, - TxTags.settlement.CreateVenue, - ]); - - result = txGroupToTxTags(TxGroup.AssetManagement); - - expect(result).toEqual([ - TxTags.asset.MakeDivisible, - TxTags.asset.RenameAsset, - TxTags.asset.SetFundingRound, - TxTags.asset.AddDocuments, - TxTags.asset.RemoveDocuments, - ]); - - result = txGroupToTxTags(TxGroup.AdvancedAssetManagement); - - expect(result).toEqual([ - TxTags.asset.Freeze, - TxTags.asset.Unfreeze, - TxTags.identity.AddAuthorization, - TxTags.identity.RemoveAuthorization, - ]); - - result = txGroupToTxTags(TxGroup.Distribution); - - expect(result).toEqual([ - TxTags.identity.AddInvestorUniquenessClaim, - TxTags.settlement.CreateVenue, - TxTags.settlement.AddInstruction, - TxTags.settlement.AddInstructionWithMemo, - TxTags.settlement.AddAndAffirmInstruction, - TxTags.settlement.AddAndAffirmInstructionWithMemo, - ]); - - result = txGroupToTxTags(TxGroup.Issuance); - - expect(result).toEqual([TxTags.asset.Issue]); - - result = txGroupToTxTags(TxGroup.TrustedClaimIssuersManagement); - - expect(result).toEqual([ - TxTags.complianceManager.AddDefaultTrustedClaimIssuer, - TxTags.complianceManager.RemoveDefaultTrustedClaimIssuer, - ]); - - result = txGroupToTxTags(TxGroup.ClaimsManagement); - - expect(result).toEqual([TxTags.identity.AddClaim, TxTags.identity.RevokeClaim]); - - result = txGroupToTxTags(TxGroup.ComplianceRequirementsManagement); - - expect(result).toEqual([ - TxTags.complianceManager.AddComplianceRequirement, - TxTags.complianceManager.RemoveComplianceRequirement, - TxTags.complianceManager.PauseAssetCompliance, - TxTags.complianceManager.ResumeAssetCompliance, - TxTags.complianceManager.ResetAssetCompliance, - ]); - - result = txGroupToTxTags(TxGroup.CorporateActionsManagement); - - expect(result).toEqual([ - TxTags.checkpoint.CreateSchedule, - TxTags.checkpoint.RemoveSchedule, - TxTags.checkpoint.CreateCheckpoint, - TxTags.corporateAction.InitiateCorporateAction, - TxTags.capitalDistribution.Distribute, - TxTags.capitalDistribution.Claim, - TxTags.identity.AddInvestorUniquenessClaim, - ]); - - result = txGroupToTxTags(TxGroup.StoManagement); - - expect(result).toEqual([ - TxTags.sto.CreateFundraiser, - TxTags.sto.FreezeFundraiser, - TxTags.sto.Invest, - TxTags.sto.ModifyFundraiserWindow, - TxTags.sto.Stop, - TxTags.sto.UnfreezeFundraiser, - TxTags.identity.AddInvestorUniquenessClaim, - TxTags.asset.Issue, - TxTags.settlement.CreateVenue, - ]); - }); -}); - -describe('transactionPermissionsToTxGroups', () => { - it('should return all completed groups in the tag array', () => { - expect( - transactionPermissionsToTxGroups({ - values: [ - TxTags.identity.AddInvestorUniquenessClaim, - TxTags.portfolio.MovePortfolioFunds, - TxTags.settlement.AddInstruction, - TxTags.settlement.AddInstructionWithMemo, - TxTags.settlement.AddAndAffirmInstruction, - TxTags.settlement.AddAndAffirmInstructionWithMemo, - TxTags.settlement.AffirmInstruction, - TxTags.settlement.RejectInstruction, - TxTags.settlement.CreateVenue, - TxTags.asset.MakeDivisible, - TxTags.asset.RenameAsset, - TxTags.asset.SetFundingRound, - TxTags.asset.AddDocuments, - TxTags.asset.RemoveDocuments, - TxTags.asset.Freeze, - TxTags.asset.Unfreeze, - TxTags.identity.AddAuthorization, - TxTags.identity.RemoveAuthorization, - ], - type: PermissionType.Include, - }) - ).toEqual([ - TxGroup.AdvancedAssetManagement, - TxGroup.AssetManagement, - TxGroup.Distribution, - TxGroup.PortfolioManagement, - ]); - - expect( - transactionPermissionsToTxGroups({ - values: [ - TxTags.identity.AddInvestorUniquenessClaim, - TxTags.portfolio.MovePortfolioFunds, - TxTags.settlement.AddInstruction, - TxTags.settlement.AddInstructionWithMemo, - TxTags.settlement.AddAndAffirmInstruction, - TxTags.settlement.AddAndAffirmInstructionWithMemo, - TxTags.settlement.AffirmInstruction, - TxTags.settlement.RejectInstruction, - TxTags.settlement.CreateVenue, - TxTags.identity.AddAuthorization, - TxTags.identity.RemoveAuthorization, - ], - type: PermissionType.Include, - }) - ).toEqual([TxGroup.Distribution, TxGroup.PortfolioManagement]); - - expect( - transactionPermissionsToTxGroups({ - values: [ - TxTags.identity.AddInvestorUniquenessClaim, - TxTags.portfolio.MovePortfolioFunds, - TxTags.settlement.AddInstruction, - ], - type: PermissionType.Exclude, - }) - ).toEqual([]); - - expect(transactionPermissionsToTxGroups(null)).toEqual([]); - }); -}); - -describe('fundraiserTierToTier', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should convert a polkadot PalletStoFundraiserTier object to a Tier', () => { - const amount = new BigNumber(5); - const price = new BigNumber(5); - const remaining = new BigNumber(5); - - const fundraiserTier = dsMockUtils.createMockFundraiserTier({ - total: dsMockUtils.createMockBalance(amount), - price: dsMockUtils.createMockBalance(price), - remaining: dsMockUtils.createMockBalance(remaining), - }); - - const result = fundraiserTierToTier(fundraiserTier); - expect(result).toEqual({ - amount: amount.shiftedBy(-6), - price: price.shiftedBy(-6), - remaining: remaining.shiftedBy(-6), - }); - }); -}); - -describe('fundraiserToOfferingDetails', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should convert a polkadot Fundraiser object to a StoDetails', () => { - const context = dsMockUtils.getContextInstance(); - - const someDid = 'someDid'; - const name = 'someSto'; - const ticker = 'TICKER'; - const otherDid = 'otherDid'; - const raisingCurrency = 'USD'; - const amount = new BigNumber(10000); - const priceA = new BigNumber(1000); - const priceB = new BigNumber(2000); - const remaining = new BigNumber(7000); - const tiers = [ - { - amount: amount.shiftedBy(-6), - price: priceA.shiftedBy(-6), - remaining: remaining.shiftedBy(-6), - }, - { - amount: amount.shiftedBy(-6), - price: priceB.shiftedBy(-6), - remaining: remaining.shiftedBy(-6), - }, - ]; - const startDate = new Date(); - startDate.setTime(startDate.getTime() - 10); - const endDate = new Date(startDate.getTime() + 100000); - const minInvestmentValue = new BigNumber(1); - - const fakeResult = { - creator: expect.objectContaining({ did: someDid }), - name, - offeringPortfolio: expect.objectContaining({ - owner: expect.objectContaining({ did: someDid }), - }), - raisingPortfolio: expect.objectContaining({ - owner: expect.objectContaining({ did: otherDid }), - }), - raisingCurrency, - tiers, - venue: expect.objectContaining({ id: new BigNumber(1) }), - start: startDate, - end: endDate, - status: { - timing: OfferingTimingStatus.Started, - balance: OfferingBalanceStatus.Available, - sale: OfferingSaleStatus.Live, - }, - minInvestment: minInvestmentValue.shiftedBy(-6), - totalAmount: amount.multipliedBy(2).shiftedBy(-6), - totalRemaining: remaining.multipliedBy(2).shiftedBy(-6), - }; - - const creator = dsMockUtils.createMockIdentityId(someDid); - const rawName = dsMockUtils.createMockBytes(name); - const offeringPortfolio = dsMockUtils.createMockPortfolioId({ - did: creator, - kind: dsMockUtils.createMockPortfolioKind('Default'), - }); - const offeringAsset = dsMockUtils.createMockTicker(ticker); - const raisingPortfolio = dsMockUtils.createMockPortfolioId({ - did: dsMockUtils.createMockIdentityId(otherDid), - kind: dsMockUtils.createMockPortfolioKind('Default'), - }); - const raisingAsset = dsMockUtils.createMockTicker(raisingCurrency); - const rawTiers = [ - dsMockUtils.createMockFundraiserTier({ - total: dsMockUtils.createMockBalance(amount), - price: dsMockUtils.createMockBalance(priceA), - remaining: dsMockUtils.createMockBalance(remaining), - }), - dsMockUtils.createMockFundraiserTier({ - total: dsMockUtils.createMockBalance(amount), - price: dsMockUtils.createMockBalance(priceB), - remaining: dsMockUtils.createMockBalance(remaining), - }), - ]; - const venueId = dsMockUtils.createMockU64(new BigNumber(1)); - const start = dsMockUtils.createMockMoment(new BigNumber(startDate.getTime())); - const end = dsMockUtils.createMockOption( - dsMockUtils.createMockMoment(new BigNumber(endDate.getTime())) - ); - const status = dsMockUtils.createMockFundraiserStatus('Live'); - const minInvestment = dsMockUtils.createMockBalance(minInvestmentValue); - - let fundraiser = dsMockUtils.createMockFundraiser({ - creator, - offeringPortfolio, - offeringAsset, - raisingPortfolio, - raisingAsset, - tiers: rawTiers, - venueId, - start, - end, - status, - minimumInvestment: minInvestment, - }); - - let result = fundraiserToOfferingDetails(fundraiser, rawName, context); - - expect(result).toEqual(fakeResult); - - const futureStart = new Date(startDate.getTime() + 50000); - - fundraiser = dsMockUtils.createMockFundraiser({ - creator, - offeringPortfolio, - offeringAsset, - raisingPortfolio, - raisingAsset, - tiers: rawTiers, - venueId, - start: dsMockUtils.createMockMoment(new BigNumber(futureStart.getTime())), - end: dsMockUtils.createMockOption(), - status: dsMockUtils.createMockFundraiserStatus('Closed'), - minimumInvestment: minInvestment, - }); - - result = fundraiserToOfferingDetails(fundraiser, rawName, context); - - expect(result).toEqual({ - ...fakeResult, - name, - status: { - ...fakeResult.status, - timing: OfferingTimingStatus.NotStarted, - sale: OfferingSaleStatus.Closed, - }, - start: futureStart, - end: null, - }); - - fundraiser = dsMockUtils.createMockFundraiser({ - creator, - offeringPortfolio, - offeringAsset, - raisingPortfolio, - raisingAsset, - tiers: rawTiers, - venueId, - start, - end: dsMockUtils.createMockOption(), - status: dsMockUtils.createMockFundraiserStatus('ClosedEarly'), - minimumInvestment: minInvestment, - }); - - result = fundraiserToOfferingDetails(fundraiser, rawName, context); - - expect(result).toEqual({ - ...fakeResult, - name, - status: { - ...fakeResult.status, - timing: OfferingTimingStatus.Started, - sale: OfferingSaleStatus.ClosedEarly, - }, - end: null, - }); - - fundraiser = dsMockUtils.createMockFundraiser({ - creator, - offeringPortfolio, - offeringAsset, - raisingPortfolio, - raisingAsset, - tiers: [ - dsMockUtils.createMockFundraiserTier({ - total: dsMockUtils.createMockBalance(amount), - price: dsMockUtils.createMockBalance(priceA), - remaining: dsMockUtils.createMockBalance(new BigNumber(0)), - }), - ], - venueId, - start, - end: dsMockUtils.createMockOption(), - status: dsMockUtils.createMockFundraiserStatus('Frozen'), - minimumInvestment: minInvestment, - }); - - result = fundraiserToOfferingDetails(fundraiser, rawName, context); - - expect(result).toEqual({ - ...fakeResult, - name, - tiers: [{ ...tiers[0], remaining: new BigNumber(0) }], - status: { - balance: OfferingBalanceStatus.SoldOut, - timing: OfferingTimingStatus.Started, - sale: OfferingSaleStatus.Frozen, - }, - end: null, - totalRemaining: new BigNumber(0), - totalAmount: amount.shiftedBy(-6), - }); - - const pastEnd = new Date(startDate.getTime() - 50000); - const pastStart = new Date(startDate.getTime() - 100000); - - fundraiser = dsMockUtils.createMockFundraiser({ - creator, - offeringPortfolio, - offeringAsset, - raisingPortfolio, - raisingAsset, - tiers: [ - dsMockUtils.createMockFundraiserTier({ - total: dsMockUtils.createMockBalance(amount), - price: dsMockUtils.createMockBalance(priceA), - remaining: dsMockUtils.createMockBalance(new BigNumber(1)), - }), - ], - venueId, - start: dsMockUtils.createMockMoment(new BigNumber(pastStart.getTime())), - end: dsMockUtils.createMockOption( - dsMockUtils.createMockMoment(new BigNumber(pastEnd.getTime())) - ), - status: dsMockUtils.createMockFundraiserStatus('Frozen'), - minimumInvestment: minInvestment, - }); - - result = fundraiserToOfferingDetails(fundraiser, rawName, context); - - expect(result).toEqual({ - ...fakeResult, - name, - tiers: [{ ...tiers[0], remaining: new BigNumber(1).shiftedBy(-6) }], - status: { - balance: OfferingBalanceStatus.Residual, - timing: OfferingTimingStatus.Expired, - sale: OfferingSaleStatus.Frozen, - }, - start: pastStart, - end: pastEnd, - totalRemaining: new BigNumber(1).shiftedBy(-6), - totalAmount: amount.shiftedBy(-6), - }); - }); -}); - -describe('meshCorporateActionToCorporateActionParams', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should convert a polkadot CorporateAction object to a CorporateActionParams object', () => { - const kind = CorporateActionKind.UnpredictableBenefit; - const declarationDate = new Date('10/14/1987'); - const description = 'someDescription'; - const dids = ['someDid', 'otherDid']; - const defaultTaxWithholding = new BigNumber(10); - const taxWithholdings = [ - { - identity: entityMockUtils.getIdentityInstance({ did: dids[0] }), - percentage: new BigNumber(30), - }, - ]; - - const context = dsMockUtils.getContextInstance(); - - const fakeResult: CorporateActionParams = { - kind, - declarationDate, - targets: { - identities: [ - expect.objectContaining({ did: dids[0] }), - expect.objectContaining({ did: dids[1] }), - ], - treatment: TargetTreatment.Include, - }, - description, - defaultTaxWithholding, - taxWithholdings: [ - { - identity: expect.objectContaining({ did: dids[0] }), - percentage: new BigNumber(30), - }, - ], - }; - - /* eslint-disable @typescript-eslint/naming-convention */ - const params = { - kind, - decl_date: new BigNumber(declarationDate.getTime()), - record_date: null, - targets: { - identities: dids, - treatment: TargetTreatment.Include, - }, - default_withholding_tax: defaultTaxWithholding.shiftedBy(4), - withholding_tax: [tuple(dids[0], taxWithholdings[0].percentage.shiftedBy(4))], - }; - /* eslint-enable @typescript-eslint/naming-convention */ - - let corporateAction = dsMockUtils.createMockCorporateAction(params); - const details = dsMockUtils.createMockBytes(description); - - let result = meshCorporateActionToCorporateActionParams(corporateAction, details, context); - - expect(result).toEqual(fakeResult); - - corporateAction = dsMockUtils.createMockCorporateAction({ - ...params, - targets: { - identities: dids, - treatment: TargetTreatment.Exclude, - }, - kind: dsMockUtils.createMockCAKind('IssuerNotice'), - }); - - result = meshCorporateActionToCorporateActionParams(corporateAction, details, context); - - expect(result).toEqual({ - ...fakeResult, - kind: CorporateActionKind.IssuerNotice, - targets: { ...fakeResult.targets, treatment: TargetTreatment.Exclude }, - }); - - corporateAction = dsMockUtils.createMockCorporateAction({ - ...params, - kind: dsMockUtils.createMockCAKind('PredictableBenefit'), - }); - - result = meshCorporateActionToCorporateActionParams(corporateAction, details, context); - - expect(result).toEqual({ ...fakeResult, kind: CorporateActionKind.PredictableBenefit }); - - corporateAction = dsMockUtils.createMockCorporateAction({ - ...params, - kind: dsMockUtils.createMockCAKind('Other'), - }); - - result = meshCorporateActionToCorporateActionParams(corporateAction, details, context); - - expect(result).toEqual({ ...fakeResult, kind: CorporateActionKind.Other }); - - corporateAction = dsMockUtils.createMockCorporateAction({ - ...params, - kind: dsMockUtils.createMockCAKind('Reorganization'), - }); - - result = meshCorporateActionToCorporateActionParams(corporateAction, details, context); - - expect(result).toEqual({ ...fakeResult, kind: CorporateActionKind.Reorganization }); - }); -}); - -describe('distributionToDividendDistributionParams', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should convert a polkadot Distribution object to a DividendDistributionParams object', () => { - const from = new BigNumber(1); - const did = 'someDid'; - const currency = 'USD'; - const perShare = new BigNumber(100); - const maxAmount = new BigNumber(10000); - const paymentDate = new Date('10/14/2022'); - const expiryDate = new Date('10/14/2024'); - - const context = dsMockUtils.getContextInstance(); - - const fakeResult: DividendDistributionParams = { - origin: expect.objectContaining({ id: from, owner: expect.objectContaining({ did }) }), - currency, - perShare, - maxAmount, - paymentDate, - expiryDate, - }; - - const params = { - from: { did, kind: { User: dsMockUtils.createMockU64(from) } }, - currency, - perShare: perShare.shiftedBy(6), - amount: maxAmount.shiftedBy(6), - remaining: new BigNumber(9000).shiftedBy(6), - reclaimed: false, - paymentAt: new BigNumber(paymentDate.getTime()), - expiresAt: dsMockUtils.createMockOption( - dsMockUtils.createMockMoment(new BigNumber(expiryDate.getTime())) - ), - }; - - let distribution = dsMockUtils.createMockDistribution(params); - - let result = distributionToDividendDistributionParams(distribution, context); - - expect(result).toEqual(fakeResult); - - distribution = dsMockUtils.createMockDistribution({ - ...params, - expiresAt: dsMockUtils.createMockOption(), - }); - - result = distributionToDividendDistributionParams(distribution, context); - - expect(result).toEqual({ ...fakeResult, expiryDate: null }); - }); -}); - -describe('corporateActionKindToCaKind', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should convert a string to a polkadot PalletCorporateActionsCaKind object', () => { - const value = CorporateActionKind.IssuerNotice; - const fakeResult = 'issuerNotice' as unknown as PalletCorporateActionsCaKind; - const context = dsMockUtils.getContextInstance(); - - when(context.createType) - .calledWith('PalletCorporateActionsCaKind', value) - .mockReturnValue(fakeResult); - - const result = corporateActionKindToCaKind(value, context); - - expect(result).toEqual(fakeResult); - }); -}); - -describe('checkpointToRecordDateSpec', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should convert a Checkpoint to a polkadot PalletCorporateActionsRecordDateSpec', () => { - const id = new BigNumber(1); - const value = entityMockUtils.getCheckpointInstance({ id }); - - const fakeResult = 'recordDateSpec' as unknown as PalletCorporateActionsRecordDateSpec; - const rawId = dsMockUtils.createMockU64(id); - const context = dsMockUtils.getContextInstance(); - const createTypeMock = context.createType; - - when(createTypeMock).calledWith('u64', id.toString()).mockReturnValue(rawId); - when(createTypeMock) - .calledWith('PalletCorporateActionsRecordDateSpec', { Existing: rawId }) - .mockReturnValue(fakeResult); - - const result = checkpointToRecordDateSpec(value, context); - - expect(result).toEqual(fakeResult); - }); - - it('should convert a Date to a polkadot PalletCorporateActionsRecordDateSpec', () => { - const value = new Date('10/14/2022'); - - const fakeResult = 'recordDateSpec' as unknown as PalletCorporateActionsRecordDateSpec; - const rawDate = dsMockUtils.createMockMoment(new BigNumber(value.getTime())); - const context = dsMockUtils.getContextInstance(); - const createTypeMock = context.createType; - - when(createTypeMock).calledWith('u64', value.getTime()).mockReturnValue(rawDate); - when(createTypeMock) - .calledWith('PalletCorporateActionsRecordDateSpec', { Scheduled: rawDate }) - .mockReturnValue(fakeResult); - - const result = checkpointToRecordDateSpec(value, context); - - expect(result).toEqual(fakeResult); - }); - - it('should convert a CheckpointSchedule to a polkadot PalletCorporateActionsRecordDateSpec', () => { - const id = new BigNumber(1); - const value = entityMockUtils.getCheckpointScheduleInstance({ id }); - - const fakeResult = 'recordDateSpec' as unknown as PalletCorporateActionsRecordDateSpec; - const rawId = dsMockUtils.createMockU64(id); - const context = dsMockUtils.getContextInstance(); - const createTypeMock = context.createType; - - when(createTypeMock).calledWith('u64', id.toString()).mockReturnValue(rawId); - when(createTypeMock) - .calledWith('PalletCorporateActionsRecordDateSpec', { ExistingSchedule: rawId }) - .mockReturnValue(fakeResult); - - const result = checkpointToRecordDateSpec(value, context); - - expect(result).toEqual(fakeResult); - }); -}); - -describe('targetIdentitiesToCorporateActionTargets', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - entityMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - entityMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should convert a polkadot PalletCorporateActionsTargetIdentities object to a CorporateActionTargets object', () => { - const fakeResult = { - identities: [expect.objectContaining({ did: 'someDid' })], - treatment: TargetTreatment.Include, - }; - const context = dsMockUtils.getContextInstance(); - let targetIdentities = dsMockUtils.createMockTargetIdentities({ - identities: ['someDid'], - treatment: 'Include', - }); - - let result = targetIdentitiesToCorporateActionTargets(targetIdentities, context); - expect(result).toEqual(fakeResult); - - fakeResult.treatment = TargetTreatment.Exclude; - targetIdentities = dsMockUtils.createMockTargetIdentities({ - identities: ['someDid'], - treatment: 'Exclude', - }); - - result = targetIdentitiesToCorporateActionTargets(targetIdentities, context); - expect(result).toEqual(fakeResult); - }); -}); - -describe('targetsToTargetIdentities', () => { - const did = 'someDid'; - const treatment = TargetTreatment.Include; - const value = { identities: [entityMockUtils.getIdentityInstance({ did })], treatment }; - - let context: Mocked; - - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - beforeEach(() => { - context = dsMockUtils.getContextInstance(); - dsMockUtils.setConstMock('corporateAction', 'maxTargetIds', { - returnValue: dsMockUtils.createMockU32(new BigNumber(1)), - }); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should convert a CorporateActionTargets object to a polkadot PalletCorporateActionsTargetIdentities object', () => { - const fakeResult = 'targetIdentities' as unknown as PalletCorporateActionsTargetIdentities; - const createTypeMock = context.createType; - - const rawDid = dsMockUtils.createMockIdentityId(did); - const rawTreatment = dsMockUtils.createMockTargetTreatment(); - - when(createTypeMock).calledWith('PolymeshPrimitivesIdentityId', did).mockReturnValue(rawDid); - when(createTypeMock).calledWith('TargetTreatment', treatment).mockReturnValue(rawTreatment); - when(createTypeMock) - .calledWith('PalletCorporateActionsTargetIdentities', { - identities: [rawDid], - treatment: rawTreatment, - }) - .mockReturnValue(fakeResult); - - const result = targetsToTargetIdentities(value, context); - - expect(result).toEqual(fakeResult); - }); - - it('should throw an error if there are more targets than the max allowed amount', () => { - expect(() => - targetsToTargetIdentities( - { identities: ['someDid', 'otherDid'], treatment: TargetTreatment.Exclude }, - context - ) - ).toThrow('Too many target Identities'); - }); - - it('should not throw an error if there are less or equal targets than the max allowed amount', () => { - expect(() => targetsToTargetIdentities(value, context)).not.toThrow(); - }); -}); - -describe('caTaxWithholdingsToMeshTaxWithholdings', () => { - let context: Mocked; - - const withholdings = [ - { - identity: 'someDid', - percentage: new BigNumber(50), - }, - { - identity: 'otherDid', - percentage: new BigNumber(10), - }, - ]; - - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - beforeEach(() => { - context = dsMockUtils.getContextInstance(); - dsMockUtils.setConstMock('corporateAction', 'maxDidWhts', { - returnValue: dsMockUtils.createMockU32(new BigNumber(1)), - }); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should throw an error if the tax withholding entries are more than the max allowed', () => { - expect(() => caTaxWithholdingsToMeshTaxWithholdings(withholdings, context)).toThrow(); - }); - - it('should convert a set of tax withholding entries to a set of polkadot tax withholding entry', () => { - const createTypeMock = context.createType; - - const { identity, percentage } = withholdings[0]; - const rawIdentityId = dsMockUtils.createMockIdentityId(identity); - const rawPermill = dsMockUtils.createMockPermill(percentage); - when(createTypeMock) - .calledWith('PolymeshPrimitivesIdentityId', identity) - .mockReturnValue(rawIdentityId); - when(createTypeMock) - .calledWith('Permill', percentage.shiftedBy(4).toString()) - .mockReturnValue(rawPermill); - - expect(caTaxWithholdingsToMeshTaxWithholdings([withholdings[0]], context)).toEqual([ - [rawIdentityId, rawPermill], - ]); - }); -}); - -describe('corporateActionIdentifierToCaId', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should convert a CorporateActionIdentifier object to a polkadot PalletCorporateActionsCaId object', () => { - const context = dsMockUtils.getContextInstance(); - const args = { - ticker: 'SOME_TICKER', - localId: new BigNumber(1), - }; - const ticker = dsMockUtils.createMockTicker(args.ticker); - const localId = dsMockUtils.createMockU32(args.localId); - const fakeResult = 'CAId' as unknown as PalletCorporateActionsCaId; - - when(context.createType) - .calledWith('PolymeshPrimitivesTicker', padString(args.ticker, 12)) - .mockReturnValue(ticker); - when(context.createType).calledWith('u32', args.localId.toString()).mockReturnValue(localId); - - when(context.createType) - .calledWith('PalletCorporateActionsCaId', { - ticker, - localId, - }) - .mockReturnValue(fakeResult); - - const result = corporateActionIdentifierToCaId(args, context); - expect(result).toEqual(fakeResult); - }); -}); - -describe('serializeConfidentialAssetId', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should convert a confidential Asset ID to hex prefixed string', () => { - const result = serializeConfidentialAssetId('76702175-d8cb-e3a5-5a19-734433351e25'); - - expect(result).toEqual('0x76702175d8cbe3a55a19734433351e25'); - }); - - it('should extract the ID from ConfidentialAsset entity', () => { - const context = dsMockUtils.getContextInstance(); - const asset = new ConfidentialAsset({ id: '76702175-d8cb-e3a5-5a19-734433351e25' }, context); - - const result = serializeConfidentialAssetId(asset); - - expect(result).toEqual('0x76702175d8cbe3a55a19734433351e25'); - }); -}); - -describe('transactionPermissionsToExtrinsicPermissions', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should convert a TransactionPermissions to a polkadot ExtrinsicPermissions object', () => { - const value = { - values: [TxTags.sto.Invest], - type: PermissionType.Include, - }; - const context = dsMockUtils.getContextInstance(); - - const fakeResult = 'convertedExtrinsicPermissions' as unknown as ExtrinsicPermissions; - - when(context.createType) - .calledWith('PolymeshPrimitivesSubsetSubsetRestrictionPalletPermissions', expect.anything()) - .mockReturnValue(fakeResult); - - let result = transactionPermissionsToExtrinsicPermissions(value, context); - - expect(result).toEqual(fakeResult); - - when(context.createType) - .calledWith('PolymeshPrimitivesSubsetSubsetRestrictionPalletPermissions', 'Whole') - .mockReturnValue(fakeResult); - - result = transactionPermissionsToExtrinsicPermissions(null, context); - - expect(result).toEqual(fakeResult); - }); -}); - -describe('agentGroupToPermissionGroup', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - entityMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - entityMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should convert a polkadot PolymeshPrimitivesAgentAgentGroup object to a PermissionGroup entity', () => { - const ticker = 'SOME_TICKER'; - const context = dsMockUtils.getContextInstance(); - - let agentGroup = dsMockUtils.createMockAgentGroup('Full'); - let result = agentGroupToPermissionGroup(agentGroup, ticker, context); - expect(result).toEqual( - expect.objectContaining({ - asset: expect.objectContaining({ ticker }), - type: PermissionGroupType.Full, - }) - ); - - agentGroup = dsMockUtils.createMockAgentGroup('ExceptMeta'); - - result = agentGroupToPermissionGroup(agentGroup, ticker, context); - expect(result).toEqual( - expect.objectContaining({ - asset: expect.objectContaining({ ticker }), - type: PermissionGroupType.ExceptMeta, - }) - ); - - agentGroup = dsMockUtils.createMockAgentGroup('PolymeshV1CAA'); - result = agentGroupToPermissionGroup(agentGroup, ticker, context); - expect(result).toEqual( - expect.objectContaining({ - asset: expect.objectContaining({ ticker }), - type: PermissionGroupType.PolymeshV1Caa, - }) - ); - - agentGroup = dsMockUtils.createMockAgentGroup('PolymeshV1PIA'); - - result = agentGroupToPermissionGroup(agentGroup, ticker, context); - expect(result).toEqual( - expect.objectContaining({ - asset: expect.objectContaining({ ticker }), - type: PermissionGroupType.PolymeshV1Pia, - }) - ); - - const id = new BigNumber(1); - const rawAgId = dsMockUtils.createMockU32(id); - agentGroup = dsMockUtils.createMockAgentGroup({ Custom: rawAgId }); - - result = agentGroupToPermissionGroup(agentGroup, ticker, context); - expect(result).toEqual( - expect.objectContaining({ asset: expect.objectContaining({ ticker }), id }) - ); - }); - - describe('identitiesSetToIdentities', () => { - it('should convert Identities to a BTreeSet', () => { - const did = 'someDid'; - const context = dsMockUtils.getContextInstance(); - const mockSet = dsMockUtils.createMockBTreeSet([ - dsMockUtils.createMockIdentityId(did), - ]); - - const result = identitiesSetToIdentities(mockSet, context); - - expect(result).toEqual([expect.objectContaining({ did })]); - }); - }); - - describe('identitiesSetToIdentities', () => { - it('should convert BTreeSet', () => { - const context = dsMockUtils.getContextInstance(); - const ids = [{ did: 'b' }, { did: 'a' }, { did: 'c' }] as unknown as Identity[]; - ids.forEach(({ did }) => - when(context.createType) - .calledWith('PolymeshPrimitivesIdentityId', did) - .mockReturnValue(did as unknown as PolymeshPrimitivesIdentityId) - ); - - when(context.createType) - .calledWith('BTreeSet', ['b', 'a', 'c']) - .mockReturnValue(['a', 'b', 'c'] as unknown as BTreeSet); - - const result = identitiesToBtreeSet(ids, context); - expect(result).toEqual(['a', 'b', 'c']); - }); - }); - - describe('auditorsToConfidentialAuditors', () => { - it('should convert auditors and mediators to PalletConfidentialAssetConfidentialAuditors', () => { - const context = dsMockUtils.getContextInstance(); - - const auditors = ['auditor']; - const mediators = ['mediator1', 'mediator2']; - mediators.forEach(did => - when(context.createType) - .calledWith('PolymeshPrimitivesIdentityId', did) - .mockReturnValue(did as unknown as PolymeshPrimitivesIdentityId) - ); - - when(context.createType) - .calledWith('BTreeSet', auditors) - .mockReturnValue(auditors as unknown as BTreeSet); - when(context.createType) - .calledWith('BTreeSet', mediators) - .mockReturnValue(mediators as unknown as BTreeSet); - - when(context.createType) - .calledWith('PalletConfidentialAssetConfidentialAuditors', { - auditors, - mediators, - }) - .mockReturnValue({ - auditors, - mediators, - } as unknown as PalletConfidentialAssetConfidentialAuditors); - - let result = auditorsToConfidentialAuditors( - context, - auditors.map(auditor => ({ publicKey: auditor })) as unknown as ConfidentialAccount[], - mediators.map(mediator => ({ did: mediator })) as unknown as Identity[] - ); - expect(result).toEqual({ auditors, mediators }); - - when(context.createType) - .calledWith('BTreeSet', []) - .mockReturnValue([] as unknown as BTreeSet); - when(context.createType) - .calledWith('PalletConfidentialAssetConfidentialAuditors', { - auditors, - mediators: [], - }) - .mockReturnValue({ - auditors, - mediators: [], - } as unknown as PalletConfidentialAssetConfidentialAuditors); - - result = auditorsToConfidentialAuditors( - context, - auditors.map(auditor => ({ publicKey: auditor })) as unknown as ConfidentialAccount[] - ); - expect(result).toEqual({ auditors, mediators: [] }); - }); - }); - - describe('statisticsOpTypeToStatType', () => { - it('should return a statType', () => { - const op = 'MaxInvestorCount' as unknown as PolymeshPrimitivesStatisticsStatOpType; - const context = dsMockUtils.getContextInstance(); - when(context.createType) - .calledWith('PolymeshPrimitivesStatisticsStatType', { op, claimIssuer: undefined }) - .mockReturnValue('statType' as unknown as PolymeshPrimitivesStatisticsStatType); - - const result = statisticsOpTypeToStatType({ op }, context); - - expect(result).toEqual('statType'); - }); - }); - - describe('transferRestrictionTypeToStatOpType', () => { - it('should return the appropriate StatType for the TransferRestriction', () => { - const context = dsMockUtils.getContextInstance(); - - when(context.createType) - .calledWith('PolymeshPrimitivesStatisticsStatOpType', StatType.Count) - .mockReturnValue('countType' as unknown as PolymeshPrimitivesStatisticsStatOpType); - - when(context.createType) - .calledWith('PolymeshPrimitivesStatisticsStatOpType', StatType.Balance) - .mockReturnValue('percentType' as unknown as PolymeshPrimitivesStatisticsStatOpType); - - let result = transferRestrictionTypeToStatOpType(TransferRestrictionType.Count, context); - expect(result).toEqual('countType'); - - result = transferRestrictionTypeToStatOpType(TransferRestrictionType.ClaimCount, context); - expect(result).toEqual('countType'); - - result = transferRestrictionTypeToStatOpType(TransferRestrictionType.Percentage, context); - expect(result).toEqual('percentType'); - - result = transferRestrictionTypeToStatOpType( - TransferRestrictionType.ClaimPercentage, - context - ); - expect(result).toEqual('percentType'); - }); - }); - - describe('statUpdate', () => { - it('should return a statUpdate', () => { - const key2 = 'key2' as unknown as PolymeshPrimitivesStatisticsStat2ndKey; - const value = createMockU128(new BigNumber(3)); - const context = dsMockUtils.getContextInstance(); - - when(context.createType) - .calledWith('PolymeshPrimitivesStatisticsStatUpdate', { key2, value }) - .mockReturnValue('statUpdate' as unknown as PolymeshPrimitivesStatisticsStatUpdate); - - const result = keyAndValueToStatUpdate(key2, value, context); - - expect(result).toEqual('statUpdate'); - }); - }); - - describe('meshStatToStat', () => { - it('should return the type', () => { - const rawStat = { - op: { type: 'Count' }, - claimIssuer: createMockOption(), - } as unknown as PolymeshPrimitivesStatisticsStatType; - - const result = meshStatToStatType(rawStat); - - expect(result).toEqual(StatType.Count); - }); - }); - - describe('createStat2ndKey', () => { - it('should return a NoClaimStat 2nd key', () => { - const context = dsMockUtils.getContextInstance(); - - when(context.createType) - .calledWith('PolymeshPrimitivesStatisticsStat2ndKey', 'NoClaimStat') - .mockReturnValue('2ndKey' as unknown as PolymeshPrimitivesStatisticsStat2ndKey); - - const result = createStat2ndKey('NoClaimStat', context); - - expect(result).toEqual('2ndKey'); - }); - - it('should return a scoped second key', () => { - const context = dsMockUtils.getContextInstance(); - - when(context.createType) - .calledWith('PolymeshPrimitivesStatisticsStat2ndKey', { - claim: { [ClaimType.Jurisdiction]: CountryCode.Ca }, - }) - .mockReturnValue('Scoped2ndKey' as unknown as PolymeshPrimitivesStatisticsStat2ndKey); - - const result = createStat2ndKey(ClaimType.Jurisdiction, context, CountryCode.Ca); - - expect(result).toEqual('Scoped2ndKey'); - }); - }); -}); - -describe('statUpdatesToBtreeStatUpdate', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should convert stat updates to a sorted BTreeSet', () => { - const context = dsMockUtils.getContextInstance(); - const key2 = dsMockUtils.createMock2ndKey(); - const stat1 = dsMockUtils.createMockStatUpdate({ - key2, - value: dsMockUtils.createMockOption(dsMockUtils.createMockU128(new BigNumber(1))), - }); - const stat2 = dsMockUtils.createMockStatUpdate({ - key2, - value: dsMockUtils.createMockOption(dsMockUtils.createMockU128(new BigNumber(2))), - }); - - const input = [stat1, stat2]; - when(context.createType) - .calledWith('BTreeSet', input) - .mockReturnValue([ - stat1, - stat2, - ] as unknown as BTreeSet); - - const result = statUpdatesToBtreeStatUpdate(input, context); - expect(result).toEqual([stat1, stat2]); - }); -}); - -describe('complianceConditionsToBtreeSet', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should convert transfer conditions to a sorted BTreeSet', () => { - const context = dsMockUtils.getContextInstance(); - const condition1 = dsMockUtils.createMockTransferCondition(); - const condition2 = dsMockUtils.createMockTransferCondition(); - - const input = [condition2, condition1]; - when(context.createType) - .calledWith('BTreeSet', input) - .mockReturnValue([ - condition1, - condition2, - ] as unknown as BTreeSet); - - const result = complianceConditionsToBtreeSet(input, context); - expect(result).toEqual([condition1, condition2]); - }); -}); - -describe('statisticStatTypesToBtreeStatType', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should convert an array of PolymeshPrimitivesStatisticsStatType to a BTreeSet', () => { - const context = dsMockUtils.getContextInstance(); - const stat = dsMockUtils.createMockStatisticsStatType(); - - const btreeSet = dsMockUtils.createMockBTreeSet([stat]); - - when(context.createType) - .calledWith('BTreeSet', [stat]) - .mockReturnValue(btreeSet); - - const result = statisticStatTypesToBtreeStatType([stat], context); - - expect(result).toEqual(btreeSet); - }); -}); - -describe('transferConditionsToBtreeTransferConditions', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should convert an array of PolymeshPrimitivesStatisticsStatType to a BTreeSet', () => { - const context = dsMockUtils.getContextInstance(); - const condition = dsMockUtils.createMockTransferCondition(); - - const btreeSet = dsMockUtils.createMockBTreeSet([condition]); - - when(context.createType) - .calledWith('BTreeSet', [condition]) - .mockReturnValue(btreeSet); - - const result = transferConditionsToBtreeTransferConditions([condition], context); - - expect(result).toEqual(btreeSet); - }); -}); - -describe('meshClaimToInputStatClaim', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should convert a meshClaimStat to StatClaimUserInput', () => { - let args = dsMockUtils.createMockStatisticsStatClaim({ - Accredited: dsMockUtils.createMockBool(true), - }); - let result = meshClaimToInputStatClaim(args); - expect(result).toEqual({ - accredited: true, - type: ClaimType.Accredited, - }); - - args = dsMockUtils.createMockStatisticsStatClaim({ - Affiliate: dsMockUtils.createMockBool(true), - }); - result = meshClaimToInputStatClaim(args); - expect(result).toEqual({ - affiliate: true, - type: ClaimType.Affiliate, - }); - - args = dsMockUtils.createMockStatisticsStatClaim({ - Jurisdiction: dsMockUtils.createMockOption(), - }); - result = meshClaimToInputStatClaim(args); - expect(result).toEqual({ - countryCode: undefined, - type: ClaimType.Jurisdiction, - }); - - args = dsMockUtils.createMockStatisticsStatClaim({ - Jurisdiction: dsMockUtils.createMockOption(dsMockUtils.createMockCountryCode(CountryCode.Ca)), - }); - result = meshClaimToInputStatClaim(args); - expect(result).toEqual({ - countryCode: CountryCode.Ca, - type: ClaimType.Jurisdiction, - }); - }); -}); - -describe('claimCountToClaimCountRestrictionValue', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - const did = 'someDid'; - - it('should return a ClaimRestrictionValue', () => { - const context = dsMockUtils.getContextInstance(); - const min = new BigNumber(10); - const max = new BigNumber(20); - const rawMin = dsMockUtils.createMockU64(min); - const rawMax = dsMockUtils.createMockU64(max); - const maxOption = dsMockUtils.createMockOption(rawMax); - const issuer = entityMockUtils.getIdentityInstance({ did }); - const rawIssuerId = dsMockUtils.createMockIdentityId(did); - const rawClaim = dsMockUtils.createMockStatisticsStatClaim({ - Accredited: dsMockUtils.createMockBool(true), - }); - let result = claimCountToClaimCountRestrictionValue( - [rawClaim, rawIssuerId, rawMin, maxOption] as unknown as ITuple< - [PolymeshPrimitivesStatisticsStatClaim, PolymeshPrimitivesIdentityId, u64, Option] - >, - context - ); - expect(JSON.stringify(result)).toEqual( - JSON.stringify({ - claim: { - type: ClaimType.Accredited, - accredited: true, - }, - issuer, - min, - max, - }) - ); - - result = claimCountToClaimCountRestrictionValue( - [rawClaim, rawIssuerId, rawMin, dsMockUtils.createMockOption()] as unknown as ITuple< - [PolymeshPrimitivesStatisticsStatClaim, PolymeshPrimitivesIdentityId, u64, Option] - >, - context - ); - expect(JSON.stringify(result)).toEqual( - JSON.stringify({ - claim: { - type: ClaimType.Accredited, - accredited: true, - }, - issuer, - min, - max: undefined, - }) - ); - }); -}); - -describe('statsClaimToStatClaimUserType', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should convert a stats claim to a Claim', () => { - const accreditedClaim = dsMockUtils.createMockStatisticsStatClaim({ - Accredited: dsMockUtils.createMockBool(true), - }); - let result = statsClaimToStatClaimInputType(accreditedClaim); - expect(result).toEqual({ type: ClaimType.Accredited }); - - const affiliateClaim = dsMockUtils.createMockStatisticsStatClaim({ - Affiliate: dsMockUtils.createMockBool(false), - }); - result = statsClaimToStatClaimInputType(affiliateClaim); - expect(result).toEqual({ type: ClaimType.Affiliate }); - - const jurisdictionClaim = dsMockUtils.createMockStatisticsStatClaim({ - Jurisdiction: dsMockUtils.createMockOption(dsMockUtils.createMockCountryCode(CountryCode.Ca)), - }); - result = statsClaimToStatClaimInputType(jurisdictionClaim); - expect(result).toEqual({ type: ClaimType.Jurisdiction }); - }); -}); - -describe('claimCountStatInputToStatUpdates', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should return stat update values', () => { - const context = dsMockUtils.getContextInstance(); - const yes = new BigNumber(12); - const no = new BigNumber(14); - const canadaCount = new BigNumber(7); - const usCount = new BigNumber(10); - const rawYes = dsMockUtils.createMockU64(yes); - const rawNo = dsMockUtils.createMockU64(no); - const rawCanadaCount = dsMockUtils.createMockU64(canadaCount); - const rawUsCount = dsMockUtils.createMockU64(usCount); - const rawYesKey = dsMockUtils.createMock2ndKey(); - const rawNoKey = dsMockUtils.createMock2ndKey(); - const rawCountryKey = dsMockUtils.createMockCountryCode(CountryCode.Ca); - const fakeYesUpdate = 'fakeYes'; - const fakeNoUpdate = 'fakeNo'; - const fakeJurisdictionUpdate = 'fakeJurisdiction'; - const issuer = entityMockUtils.getIdentityInstance(); - - when(context.createType).calledWith('u128', yes.toString()).mockReturnValue(rawYes); - when(context.createType).calledWith('u128', no.toString()).mockReturnValue(rawNo); - when(context.createType) - .calledWith('u128', canadaCount.toString()) - .mockReturnValue(rawCanadaCount); - when(context.createType).calledWith('u128', usCount.toString()).mockReturnValue(rawUsCount); - when(context.createType) - .calledWith('PolymeshPrimitivesStatisticsStat2ndKey', { - claim: { [ClaimType.Affiliate]: true }, - }) - .mockReturnValue(rawYesKey); - when(context.createType) - .calledWith('PolymeshPrimitivesStatisticsStat2ndKey', { - claim: { [ClaimType.Affiliate]: false }, - }) - .mockReturnValue(rawNoKey); - when(context.createType) - .calledWith('PolymeshPrimitivesStatisticsStat2ndKey', { - claim: { [ClaimType.Accredited]: true }, - }) - .mockReturnValue(rawYesKey); - when(context.createType) - .calledWith('PolymeshPrimitivesStatisticsStat2ndKey', { - claim: { [ClaimType.Accredited]: false }, - }) - .mockReturnValue(rawNoKey); - when(context.createType) - .calledWith('PolymeshPrimitivesStatisticsStat2ndKey', { - claim: { [ClaimType.Jurisdiction]: CountryCode.Ca }, - }) - .mockReturnValue(rawCountryKey); - when(context.createType) - .calledWith('PolymeshPrimitivesStatisticsStat2ndKey', { - claim: { [ClaimType.Jurisdiction]: CountryCode.Us }, - }) - .mockReturnValue(rawCountryKey as unknown as PolymeshPrimitivesStatisticsStat2ndKey); - when(context.createType) - .calledWith('PolymeshPrimitivesStatisticsStatUpdate', { key2: rawYesKey, value: rawYes }) - .mockReturnValue(fakeYesUpdate as unknown as PolymeshPrimitivesStatisticsStatUpdate); - when(context.createType) - .calledWith('PolymeshPrimitivesStatisticsStatUpdate', { key2: rawNoKey, value: rawNo }) - .mockReturnValue(fakeNoUpdate as unknown as PolymeshPrimitivesStatisticsStatUpdate); - when(context.createType) - .calledWith('PolymeshPrimitivesStatisticsStatUpdate', { - key2: rawCountryKey, - value: rawCanadaCount, - }) - .mockReturnValue(fakeJurisdictionUpdate as unknown as PolymeshPrimitivesStatisticsStatUpdate); - when(context.createType) - .calledWith('PolymeshPrimitivesStatisticsStatUpdate', { - key2: rawCountryKey, - value: rawUsCount, - }) - .mockReturnValue(fakeJurisdictionUpdate as unknown as PolymeshPrimitivesStatisticsStatUpdate); - when(context.createType) - .calledWith('BTreeSet', [fakeYesUpdate, fakeNoUpdate]) - .mockReturnValue( - 'yesNoBtreeSet' as unknown as BTreeSet - ); - when(context.createType) - .calledWith('BTreeSet', [ - fakeJurisdictionUpdate, - fakeJurisdictionUpdate, - ]) - .mockReturnValue( - 'jurisdictionBtreeSet' as unknown as BTreeSet - ); - - let result = claimCountStatInputToStatUpdates( - { - issuer, - claimType: ClaimType.Affiliate, - value: { affiliate: yes, nonAffiliate: no }, - }, - context - ); - expect(result).toEqual('yesNoBtreeSet'); - - result = claimCountStatInputToStatUpdates( - { - issuer, - claimType: ClaimType.Accredited, - value: { accredited: yes, nonAccredited: no }, - }, - context - ); - expect(result).toEqual('yesNoBtreeSet'); - - const countryValue = [ - { - countryCode: CountryCode.Ca, - count: canadaCount, - }, - { - countryCode: CountryCode.Us, - count: usCount, - }, - ]; - result = claimCountStatInputToStatUpdates( - { - issuer, - claimType: ClaimType.Jurisdiction, - value: countryValue, - }, - context - ); - expect(result).toEqual('jurisdictionBtreeSet'); - }); -}); - -describe('countStatInputToStatUpdates', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should convert input parameters into an StatUpdate', () => { - const context = dsMockUtils.getContextInstance(); - const count = new BigNumber(3); - const rawCount = dsMockUtils.createMockU128(count); - - when(context.createType) - .calledWith('PolymeshPrimitivesStatisticsStat2ndKey', 'NoClaimStat') - .mockReturnValue('2ndKey' as unknown as PolymeshPrimitivesStatisticsStat2ndKey); - when(context.createType).calledWith('u128', count.toString()).mockReturnValue(rawCount); - when(context.createType) - .calledWith('PolymeshPrimitivesStatisticsStatUpdate', { key2: '2ndKey', value: rawCount }) - .mockReturnValue('statUpdate' as unknown as PolymeshPrimitivesStatisticsStatUpdate); - when(context.createType) - .calledWith('BTreeSet', ['statUpdate']) - .mockReturnValue('fakeResult' as unknown as BTreeSet); - - const result = countStatInputToStatUpdates({ count }, context); - expect(result).toEqual('fakeResult'); - }); -}); - -describe('sortStatsByClaimType', () => { - it('should sort by claim type', () => { - const issuer = dsMockUtils.createMockIdentityId('did'); - type ClaimTypeTuple = [PolymeshPrimitivesIdentityClaimClaimType, PolymeshPrimitivesIdentityId]; - const accreditedIssuer: ClaimTypeTuple = [ - dsMockUtils.createMockClaimType(ClaimType.Accredited), - issuer, - ]; - const affiliateIssuer: ClaimTypeTuple = [ - dsMockUtils.createMockClaimType(ClaimType.Affiliate), - issuer, - ]; - const jurisdictionIssuer: ClaimTypeTuple = [ - dsMockUtils.createMockClaimType(ClaimType.Jurisdiction), - issuer, - ]; - const nonStatIssuer: ClaimTypeTuple = [ - dsMockUtils.createMockClaimType(ClaimType.Blocked), - issuer, - ]; - const op = dsMockUtils.createMockStatisticsOpType(StatType.Count); - const accreditedStat = dsMockUtils.createMockStatisticsStatType({ - op, - claimIssuer: dsMockUtils.createMockOption(accreditedIssuer), - }); - - const affiliateStat = dsMockUtils.createMockStatisticsStatType({ - op, - claimIssuer: dsMockUtils.createMockOption(affiliateIssuer), - }); - - const jurisdictionStat = dsMockUtils.createMockStatisticsStatType({ - op, - claimIssuer: dsMockUtils.createMockOption(jurisdictionIssuer), - }); - - const nonStat = dsMockUtils.createMockStatisticsStatType({ - op, - claimIssuer: dsMockUtils.createMockOption(nonStatIssuer), - }); - - const countStat = dsMockUtils.createMockStatisticsStatType({ - op, - claimIssuer: dsMockUtils.createMockOption(), - }); - - let result = sortStatsByClaimType([jurisdictionStat, accreditedStat, affiliateStat, countStat]); - - expect(result).toEqual([accreditedStat, affiliateStat, jurisdictionStat, countStat]); - - result = sortStatsByClaimType([ - nonStat, - jurisdictionStat, - nonStat, - countStat, - nonStat, - jurisdictionStat, - countStat, - affiliateStat, - countStat, - ]); - - expect(result).toEqual([ - affiliateStat, - jurisdictionStat, - jurisdictionStat, - nonStat, - nonStat, - nonStat, - countStat, - countStat, - countStat, - ]); - }); -}); - -describe('sortTransferRestrictionByClaimValue', () => { - it('should sort conditions', () => { - const countRestriction = dsMockUtils.createMockTransferCondition({ - MaxInvestorCount: dsMockUtils.createMockU64(new BigNumber(10)), - }); - const percentRestriction = dsMockUtils.createMockTransferCondition({ - MaxInvestorOwnership: dsMockUtils.createMockU64(new BigNumber(10)), - }); - const accreditedRestriction = dsMockUtils.createMockTransferCondition({ - ClaimCount: [ - dsMockUtils.createMockStatisticsStatClaim({ Accredited: dsMockUtils.createMockBool(true) }), - dsMockUtils.createMockIdentityId(), - dsMockUtils.createMockU64(new BigNumber(10)), - dsMockUtils.createMockOption(), - ], - }); - const affiliatedRestriction = dsMockUtils.createMockTransferCondition({ - ClaimCount: [ - dsMockUtils.createMockStatisticsStatClaim({ Affiliate: dsMockUtils.createMockBool(true) }), - dsMockUtils.createMockIdentityId(), - dsMockUtils.createMockU64(new BigNumber(10)), - dsMockUtils.createMockOption(), - ], - }); - const canadaRestriction = dsMockUtils.createMockTransferCondition({ - ClaimCount: [ - dsMockUtils.createMockStatisticsStatClaim({ - Jurisdiction: dsMockUtils.createMockOption( - dsMockUtils.createMockCountryCode(CountryCode.Ca) - ), - }), - dsMockUtils.createMockIdentityId(), - dsMockUtils.createMockU64(new BigNumber(10)), - dsMockUtils.createMockOption(), - ], - }); - const usRestriction = dsMockUtils.createMockTransferCondition({ - ClaimCount: [ - dsMockUtils.createMockStatisticsStatClaim({ - Jurisdiction: dsMockUtils.createMockOption( - dsMockUtils.createMockCountryCode(CountryCode.Us) - ), - }), - dsMockUtils.createMockIdentityId(), - dsMockUtils.createMockU64(new BigNumber(10)), - dsMockUtils.createMockOption(), - ], - }); - const jurisdictionRestriction = dsMockUtils.createMockTransferCondition({ - ClaimOwnership: [ - dsMockUtils.createMockStatisticsStatClaim({ - Jurisdiction: dsMockUtils.createMockOption(), - }), - dsMockUtils.createMockIdentityId(), - dsMockUtils.createMockPermill(new BigNumber(10)), - dsMockUtils.createMockPermill(new BigNumber(20)), - ], - }); - const ownershipAffiliateRestriction = dsMockUtils.createMockTransferCondition({ - ClaimOwnership: [ - dsMockUtils.createMockStatisticsStatClaim({ - Affiliate: dsMockUtils.createMockBool(true), - }), - dsMockUtils.createMockIdentityId(), - dsMockUtils.createMockPermill(new BigNumber(10)), - dsMockUtils.createMockPermill(new BigNumber(20)), - ], - }); - - let result = sortTransferRestrictionByClaimValue([ - countRestriction, - percentRestriction, - accreditedRestriction, - affiliatedRestriction, - ownershipAffiliateRestriction, - canadaRestriction, - usRestriction, - jurisdictionRestriction, - ]); - expect(result).toEqual([ - jurisdictionRestriction, - canadaRestriction, - usRestriction, - countRestriction, - percentRestriction, - accreditedRestriction, - affiliatedRestriction, - ownershipAffiliateRestriction, - ]); - - result = sortTransferRestrictionByClaimValue([ - canadaRestriction, - jurisdictionRestriction, - accreditedRestriction, - affiliatedRestriction, - usRestriction, - jurisdictionRestriction, - canadaRestriction, - ]); - expect(result).toEqual([ - jurisdictionRestriction, - jurisdictionRestriction, - canadaRestriction, - canadaRestriction, - usRestriction, - accreditedRestriction, - affiliatedRestriction, - ]); - }); -}); - -describe('inputStatTypeToMeshStatType', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should convert InputStatType to PolymeshPrimitivesStatisticsStatType', () => { - const mockContext = dsMockUtils.getContextInstance(); - const createTypeMock = mockContext.createType; - const fakeOp = 'fakeOp' as unknown as PolymeshPrimitivesStatisticsStatOpType; - const fakeIssuer = 'fakeIssuer' as unknown as PolymeshPrimitivesIdentityId; - const fakeClaimType = 'fakeClaimType' as unknown as PolymeshPrimitivesIdentityClaimClaimType; - const fakeStatistic = 'fakeStatistic' as unknown as PolymeshPrimitivesStatisticsStatType; - const did = 'did'; - - when(createTypeMock) - .calledWith('PolymeshPrimitivesStatisticsStatOpType', StatType.Count) - .mockReturnValue(fakeOp); - - when(createTypeMock) - .calledWith('PolymeshPrimitivesStatisticsStatOpType', StatType.Balance) - .mockReturnValue(fakeOp); - - when(createTypeMock) - .calledWith('PolymeshPrimitivesStatisticsStatType', { op: fakeOp, claimIssuer: undefined }) - .mockReturnValue(fakeStatistic); - - when(createTypeMock) - .calledWith('PolymeshPrimitivesIdentityClaimClaimType', ClaimType.Accredited) - .mockReturnValue(fakeClaimType); - - when(createTypeMock) - .calledWith('PolymeshPrimitivesIdentityId', did) - .mockReturnValue(fakeIssuer); - - when(createTypeMock) - .calledWith('PolymeshPrimitivesStatisticsStatType', { - op: fakeOp, - claimIssuer: [fakeClaimType, fakeIssuer], - }) - .mockReturnValue(fakeStatistic); - - const unscopedInput = { type: StatType.Count } as const; - let result = inputStatTypeToMeshStatType(unscopedInput, mockContext); - expect(result).toEqual(fakeStatistic); - - const scopedInput = { - type: StatType.ScopedBalance, - claimIssuer: { - issuer: entityMockUtils.getIdentityInstance({ did }), - claimType: ClaimType.Accredited, - }, - } as const; - result = inputStatTypeToMeshStatType(scopedInput, mockContext); - expect(result).toEqual(fakeStatistic); - }); -}); - -describe('meshProposalStatusToProposalStatus', () => { - it('should convert raw statuses to the correct ProposalStatus', () => { - let result = meshProposalStatusToProposalStatus( - dsMockUtils.createMockProposalStatus('ActiveOrExpired'), - null - ); - expect(result).toEqual(ProposalStatus.Active); - - result = meshProposalStatusToProposalStatus( - dsMockUtils.createMockProposalStatus('ActiveOrExpired'), - new Date(1) - ); - expect(result).toEqual(ProposalStatus.Expired); - - result = meshProposalStatusToProposalStatus( - dsMockUtils.createMockProposalStatus('ExecutionSuccessful'), - null - ); - expect(result).toEqual(ProposalStatus.Successful); - - result = meshProposalStatusToProposalStatus( - dsMockUtils.createMockProposalStatus('ExecutionFailed'), - null - ); - expect(result).toEqual(ProposalStatus.Failed); - - result = meshProposalStatusToProposalStatus( - dsMockUtils.createMockProposalStatus('Rejected'), - null - ); - expect(result).toEqual(ProposalStatus.Rejected); - - result = meshProposalStatusToProposalStatus( - dsMockUtils.createMockProposalStatus('Invalid'), - null - ); - expect(result).toEqual(ProposalStatus.Invalid); - }); - - it('should throw an error if it receives an unknown status', () => { - const expectedError = new UnreachableCaseError('UnknownStatus' as never); - return expect(() => - meshProposalStatusToProposalStatus( - { type: 'UnknownStatus' } as unknown as PolymeshPrimitivesMultisigProposalStatus, - null - ) - ).toThrowError(expectedError); - }); -}); - -describe('metadataSpecToMeshMetadataSpec', () => { - let mockContext: Mocked; - let typeDefMaxLength: BigNumber; - let rawTypeDefMaxLength: u32; - - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - beforeEach(() => { - mockContext = dsMockUtils.getContextInstance(); - typeDefMaxLength = new BigNumber(15); - rawTypeDefMaxLength = dsMockUtils.createMockU32(typeDefMaxLength); - - dsMockUtils.setConstMock('asset', 'assetMetadataTypeDefMaxLength', { - returnValue: rawTypeDefMaxLength, - }); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should throw an error if typeDef exceeds max length', () => { - const expectedError = new PolymeshError({ - code: ErrorCode.ValidationError, - message: '"typeDef" length exceeded for given Asset Metadata spec', - data: { - maxLength: typeDefMaxLength, - }, - }); - - expect(() => - metadataSpecToMeshMetadataSpec({ typeDef: 'INCORRECT_TYPEDEF_VALUE' }, mockContext) - ).toThrowError(expectedError); - }); - - it('should convert metadataSpec to PolymeshPrimitivesAssetMetadataAssetMetadataSpec', () => { - const fakeMetadataSpec = - 'fakeMetadataSpec' as unknown as PolymeshPrimitivesAssetMetadataAssetMetadataSpec; - - when(mockContext.createType) - .calledWith('PolymeshPrimitivesAssetMetadataAssetMetadataSpec', { - url: null, - description: null, - typeDef: null, - }) - .mockReturnValue(fakeMetadataSpec); - - let result = metadataSpecToMeshMetadataSpec({}, mockContext); - expect(result).toEqual(fakeMetadataSpec); - - const url = 'SOME_URL'; - const fakeUrl = 'fakeUrl' as unknown as Bytes; - const description = 'SOME_DESCRIPTION'; - const fakeDescription = 'fakeDescription' as unknown as Bytes; - const typeDef = 'SOME_TYPE_DEF'; - const fakeTypeDef = 'fakeTypeDef' as unknown as Bytes; - - when(mockContext.createType).calledWith('Bytes', url).mockReturnValue(fakeUrl); - when(mockContext.createType).calledWith('Bytes', description).mockReturnValue(fakeDescription); - when(mockContext.createType).calledWith('Bytes', typeDef).mockReturnValue(fakeTypeDef); - - when(mockContext.createType) - .calledWith('PolymeshPrimitivesAssetMetadataAssetMetadataSpec', { - url: fakeUrl, - description: fakeDescription, - typeDef: fakeTypeDef, - }) - .mockReturnValue(fakeMetadataSpec); - - result = metadataSpecToMeshMetadataSpec({ url, description, typeDef }, mockContext); - expect(result).toEqual(fakeMetadataSpec); - }); -}); - -describe('meshMetadataSpecToMetadataSpec', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should convert a meshMetadataSpec to MetadataSpec', () => { - let result = meshMetadataSpecToMetadataSpec(); - expect(result).toEqual({}); - - result = meshMetadataSpecToMetadataSpec(dsMockUtils.createMockOption()); - expect(result).toEqual({}); - - let rawSpecs = dsMockUtils.createMockOption(dsMockUtils.createMockAssetMetadataSpec()); - - result = meshMetadataSpecToMetadataSpec(rawSpecs); - expect(result).toEqual({}); - - rawSpecs = dsMockUtils.createMockOption( - dsMockUtils.createMockAssetMetadataSpec({ - url: dsMockUtils.createMockOption(dsMockUtils.createMockBytes('SOME_URL')), - description: dsMockUtils.createMockOption(dsMockUtils.createMockBytes('SOME_DESC')), - typeDef: dsMockUtils.createMockOption(dsMockUtils.createMockBytes('SOME_TYPEDEF')), - }) - ); - - result = meshMetadataSpecToMetadataSpec(rawSpecs); - expect(result).toEqual({ - url: 'SOME_URL', - description: 'SOME_DESC', - typeDef: 'SOME_TYPEDEF', - }); - }); -}); - -describe('metadataToMeshMetadataKey', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should convert MetadataType and ID to PolymeshPrimitivesAssetMetadataAssetMetadataKey', () => { - const context = dsMockUtils.getContextInstance(); - const id = new BigNumber(1); - const rawId = dsMockUtils.createMockU64(id); - when(context.createType).calledWith('u64', id.toString()).mockReturnValue(rawId); - - const fakeResult = 'metadataKey' as unknown as PolymeshPrimitivesAssetMetadataAssetMetadataKey; - - when(context.createType) - .calledWith('PolymeshPrimitivesAssetMetadataAssetMetadataKey', { - Local: rawId, - }) - .mockReturnValue(fakeResult); - - let result = metadataToMeshMetadataKey(MetadataType.Local, id, context); - - expect(result).toBe(fakeResult); - - when(context.createType) - .calledWith('PolymeshPrimitivesAssetMetadataAssetMetadataKey', { - Global: rawId, - }) - .mockReturnValue(fakeResult); - - result = metadataToMeshMetadataKey(MetadataType.Global, id, context); - - expect(result).toBe(fakeResult); - }); -}); - -describe('meshMetadataValueToMetadataValue', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should convert a optional Bytes and PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail to MetadataValue', () => { - let result = meshMetadataValueToMetadataValue( - dsMockUtils.createMockOption(), - dsMockUtils.createMockOption() - ); - expect(result).toBeNull(); - - const rawValue = dsMockUtils.createMockOption(dsMockUtils.createMockBytes('SOME_VALUE')); - - result = meshMetadataValueToMetadataValue(rawValue, dsMockUtils.createMockOption()); - expect(result).toEqual({ - value: 'SOME_VALUE', - expiry: null, - lockStatus: MetadataLockStatus.Unlocked, - }); - - let rawDetails = dsMockUtils.createMockOption( - dsMockUtils.createMockAssetMetadataValueDetail({ - lockStatus: dsMockUtils.createMockAssetMetadataLockStatus({ lockStatus: 'Locked' }), - expire: dsMockUtils.createMockOption(), - }) - ); - result = meshMetadataValueToMetadataValue(rawValue, rawDetails); - expect(result).toEqual({ - value: 'SOME_VALUE', - expiry: null, - lockStatus: MetadataLockStatus.Locked, - }); - - const expiry = new Date('2030/01/01'); - - const lockedUntil = new Date('2025/01/01'); - - rawDetails = dsMockUtils.createMockOption( - dsMockUtils.createMockAssetMetadataValueDetail({ - lockStatus: dsMockUtils.createMockAssetMetadataLockStatus({ - lockStatus: 'LockedUntil', - lockedUntil, - }), - expire: dsMockUtils.createMockOption( - dsMockUtils.createMockU64(new BigNumber(expiry.getTime())) - ), - }) - ); - - result = meshMetadataValueToMetadataValue(rawValue, rawDetails); - expect(result).toEqual({ - value: 'SOME_VALUE', - expiry, - lockStatus: MetadataLockStatus.LockedUntil, - lockedUntil, - }); - }); -}); - -describe('metadataValueToMeshMetadataValue', () => { - let mockContext: Mocked; - let valueMaxLength: BigNumber; - let rawValueMaxLength: u32; - - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - beforeEach(() => { - mockContext = dsMockUtils.getContextInstance(); - valueMaxLength = new BigNumber(15); - rawValueMaxLength = dsMockUtils.createMockU32(valueMaxLength); - - dsMockUtils.setConstMock('asset', 'assetMetadataValueMaxLength', { - returnValue: rawValueMaxLength, - }); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should throw an error if value exceeds max length', () => { - const expectedError = new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'Asset Metadata value length exceeded', - data: { - maxLength: valueMaxLength, - }, - }); - - expect(() => - metadataValueToMeshMetadataValue('INCORRECT_VALUE_LENGTH', mockContext) - ).toThrowError(expectedError); - }); - - it('should convert value to Bytes', () => { - const value = 'SOME_VALUE'; - const fakeValue = 'fakeValue' as unknown as Bytes; - when(mockContext.createType).calledWith('Bytes', value).mockReturnValue(fakeValue); - - const result = metadataValueToMeshMetadataValue(value, mockContext); - expect(result).toEqual(fakeValue); - }); -}); - -describe('metadataValueDetailToMeshMetadataValueDetail', () => { - let mockContext: Mocked; - - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - beforeEach(() => { - mockContext = dsMockUtils.getContextInstance(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should throw an error if expiry date is in the past', () => { - const expectedError = new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'Expiry date must be in the future', - }); - - expect(() => - metadataValueDetailToMeshMetadataValueDetail( - { lockStatus: MetadataLockStatus.Locked, expiry: new Date('10/14/1987') }, - mockContext - ) - ).toThrowError(expectedError); - }); - - it('should throw an error if locked until date is in the past', () => { - const expectedError = new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'Locked until date must be in the future', - }); - - expect(() => - metadataValueDetailToMeshMetadataValueDetail( - { - expiry: null, - lockStatus: MetadataLockStatus.LockedUntil, - lockedUntil: new Date('10/14/1987'), - }, - mockContext - ) - ).toThrowError(expectedError); - }); - - it('should convert value details to PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail', () => { - const fakeValueDetail = - 'fakeValueDetail' as unknown as PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail; - - when(mockContext.createType) - .calledWith('PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail', { - expire: null, - lockStatus: MetadataLockStatus.Unlocked, - }) - .mockReturnValue(fakeValueDetail); - - let result = metadataValueDetailToMeshMetadataValueDetail( - { - lockStatus: MetadataLockStatus.Unlocked, - expiry: null, - }, - mockContext - ); - - expect(result).toEqual(fakeValueDetail); - - const date = new Date('2030/01/01'); - const fakeTime = 'fakeTime' as unknown as u64; - when(mockContext.createType).calledWith('u64', date.getTime()).mockReturnValue(fakeTime); - - when(mockContext.createType) - .calledWith('PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail', { - lockStatus: MetadataLockStatus.Locked, - expire: fakeTime, - }) - .mockReturnValue(fakeValueDetail); - - result = metadataValueDetailToMeshMetadataValueDetail( - { - lockStatus: MetadataLockStatus.Locked, - expiry: date, - }, - mockContext - ); - - expect(result).toEqual(fakeValueDetail); - - when(mockContext.createType) - .calledWith('PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail', { - expire: null, - lockStatus: { LockedUntil: fakeTime }, - }) - .mockReturnValue(fakeValueDetail); - - result = metadataValueDetailToMeshMetadataValueDetail( - { - lockStatus: MetadataLockStatus.LockedUntil, - lockedUntil: date, - expiry: null, - }, - mockContext - ); - - expect(result).toEqual(fakeValueDetail); - }); -}); - -describe('stringToInstructionMemo and instructionMemoToString', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - describe('stringToMemo', () => { - it('should convert a string to a polkadot PalletSettlementInstructionMemo object', () => { - const value = 'someDescription'; - const fakeResult = 'memoDescription' as unknown as PolymeshPrimitivesMemo; - const context = dsMockUtils.getContextInstance(); - - when(context.createType) - .calledWith('PolymeshPrimitivesMemo', padString(value, 32)) - .mockReturnValue(fakeResult); - - const result = stringToMemo(value, context); - - expect(result).toEqual(fakeResult); - }); - }); - - describe('instructionMemoToString', () => { - it('should convert an InstructionMemo to string', () => { - const fakeResult = 'memoDescription'; - const rawMemo = dsMockUtils.createMockMemo(stringToHex(fakeResult)); - - const result = instructionMemoToString(rawMemo); - expect(result).toBe(fakeResult); - }); - }); -}); - -describe('expiryToMoment', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should throw an error if the expiry date is in the past', () => { - const value = new Date('01/01/2023'); - const context = dsMockUtils.getContextInstance(); - expect(() => expiryToMoment(value, context)).toThrow('Expiry date must be in the future'); - }); - - it('should convert a expiry Date to a polkadot Moment object', () => { - const value = new Date('01/01/2040'); - const fakeResult = 10000 as unknown as Moment; - const context = dsMockUtils.getContextInstance(); - - when(context.createType) - .calledWith('u64', Math.round(value.getTime())) - .mockReturnValue(fakeResult); - - const result = expiryToMoment(value, context); - - expect(result).toBe(fakeResult); - }); -}); - -describe('middlewarePortfolioDataToPortfolio', () => { - it('should convert middleware portfolio like data into a Portfolio', async () => { - const context = dsMockUtils.getContextInstance(); - const defaultPortfolioData = { - did: 'someDid', - kind: { default: null }, - }; - - let result = await middlewarePortfolioDataToPortfolio(defaultPortfolioData, context); - expect(result instanceof DefaultPortfolio).toBe(true); - - const numberedPortfolioData = { - did: 'someDid', - kind: { user: 10 }, - }; - - result = await middlewarePortfolioDataToPortfolio(numberedPortfolioData, context); - expect(result instanceof NumberedPortfolio).toBe(true); - }); -}); - -describe('middlewareAgentGroupDataToPermissionGroup', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - entityMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - entityMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should convert a middleware agent group data object to a PermissionGroup entity', () => { - const ticker = 'SOME_TICKER'; - const context = dsMockUtils.getContextInstance(); - - let agentGroup: Record> = { [ticker]: { full: null } }; - let result = middlewareAgentGroupDataToPermissionGroup(agentGroup, context); - expect(result).toEqual( - expect.objectContaining({ - asset: expect.objectContaining({ ticker }), - type: PermissionGroupType.Full, - }) - ); - - agentGroup = { [ticker]: { exceptMeta: null } }; - - result = middlewareAgentGroupDataToPermissionGroup(agentGroup, context); - expect(result).toEqual( - expect.objectContaining({ - asset: expect.objectContaining({ ticker }), - type: PermissionGroupType.ExceptMeta, - }) - ); - - agentGroup = { [ticker]: { polymeshV1CAA: null } }; - result = middlewareAgentGroupDataToPermissionGroup(agentGroup, context); - expect(result).toEqual( - expect.objectContaining({ - asset: expect.objectContaining({ ticker }), - type: PermissionGroupType.PolymeshV1Caa, - }) - ); - - agentGroup = { [ticker]: { polymeshV1PIA: null } }; - - result = middlewareAgentGroupDataToPermissionGroup(agentGroup, context); - expect(result).toEqual( - expect.objectContaining({ - asset: expect.objectContaining({ ticker }), - type: PermissionGroupType.PolymeshV1Pia, - }) - ); - - agentGroup = { [ticker]: { custom: 1 } }; - - result = middlewareAgentGroupDataToPermissionGroup(agentGroup, context); - expect(result).toEqual( - expect.objectContaining({ asset: expect.objectContaining({ ticker }), id: new BigNumber(1) }) - ); - }); -}); - -describe('middlewarePermissionsDataToPermissions', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - entityMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - entityMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should convert a middleware permissions data to a Permissions', () => { - const context = dsMockUtils.getContextInstance(); - const ticker = 'SOME_TICKER'; - const hexTicker = '0x534F4D455F5449434B455200'; - const did = 'someDid'; - let fakeResult: Permissions = { - assets: { - values: [expect.objectContaining({ ticker })], - type: PermissionType.Include, - }, - transactions: { - type: PermissionType.Include, - values: [TxTags.identity.AddClaim, ModuleName.Authorship], - }, - transactionGroups: [], - portfolios: { - values: [expect.objectContaining({ owner: expect.objectContaining({ did }) })], - type: PermissionType.Include, - }, - }; - let permissions: Record = { - asset: { these: [hexTicker] }, - extrinsic: { - these: [ - { - palletName: 'Identity', - dispatchableNames: { - these: ['add_claim'], - }, - }, - { - palletName: 'Authorship', - dispatchableNames: { - whole: null, - }, - }, - ], - }, - portfolio: { - these: [ - { - did, - kind: { default: null }, - }, - ], - }, - }; - - let result = middlewarePermissionsDataToPermissions(JSON.stringify(permissions), context); - expect(result).toEqual(fakeResult); - - fakeResult = { - assets: null, - transactions: null, - transactionGroups: [], - portfolios: null, - }; - permissions = { - asset: { whole: null }, - portfolio: { whole: null }, - extrinsic: { whole: null }, - }; - - result = middlewarePermissionsDataToPermissions(JSON.stringify(permissions), context); - expect(result).toEqual(fakeResult); - - fakeResult = { - assets: { - values: [expect.objectContaining({ ticker })], - type: PermissionType.Exclude, - }, - transactions: { - type: PermissionType.Exclude, - values: [ModuleName.Identity], - exceptions: [TxTags.identity.AddClaim], - }, - transactionGroups: [], - portfolios: { - values: [expect.objectContaining({ owner: expect.objectContaining({ did }) })], - type: PermissionType.Exclude, - }, - }; - - permissions = { - asset: { - except: [hexTicker], - }, - extrinsic: { - except: [ - { - palletName: 'Identity', - dispatchableNames: { - except: ['add_claim'], - }, - }, - ], - }, - portfolio: { - except: [ - { - did, - kind: { default: null }, - }, - ], - }, - }; - - result = middlewarePermissionsDataToPermissions(JSON.stringify(permissions), context); - expect(result).toEqual(fakeResult); - }); -}); - -describe('middlewareAuthorizationDataToAuthorization', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should convert a middleware Authorization data to an Authorization', () => { - const context = dsMockUtils.getContextInstance(); - let fakeResult: Authorization = { - type: AuthorizationType.AttestPrimaryKeyRotation, - value: expect.objectContaining({ did: 'someDid' }), - }; - let authorizationData = 'someDid'; - - let result = middlewareAuthorizationDataToAuthorization( - context, - AuthTypeEnum.AttestPrimaryKeyRotation, - authorizationData - ); - expect(result).toEqual(fakeResult); - - fakeResult = { - type: AuthorizationType.RotatePrimaryKey, - }; - - result = middlewareAuthorizationDataToAuthorization(context, AuthTypeEnum.RotatePrimaryKey); - expect(result).toEqual(fakeResult); - - fakeResult = { - type: AuthorizationType.TransferTicker, - value: 'SOME_TICKER', - }; - authorizationData = '0x534F4D455F5449434B455200'; - - result = middlewareAuthorizationDataToAuthorization( - context, - AuthTypeEnum.TransferTicker, - authorizationData - ); - expect(result).toEqual(fakeResult); - - fakeResult = { - type: AuthorizationType.AddMultiSigSigner, - value: 'someAccount', - }; - authorizationData = 'someAccount'; - - result = middlewareAuthorizationDataToAuthorization( - context, - AuthTypeEnum.AddMultiSigSigner, - authorizationData - ); - expect(result).toEqual(fakeResult); - - fakeResult = { - type: AuthorizationType.PortfolioCustody, - value: expect.objectContaining({ owner: expect.objectContaining({ did: 'someDid' }) }), - }; - authorizationData = JSON.stringify({ - did: 'someDid', - kind: { default: null }, - }); - - result = middlewareAuthorizationDataToAuthorization( - context, - AuthTypeEnum.PortfolioCustody, - authorizationData - ); - expect(result).toEqual(fakeResult); - - const portfolioId = new BigNumber(1); - fakeResult = { - type: AuthorizationType.PortfolioCustody, - value: expect.objectContaining({ - owner: expect.objectContaining({ did: 'someDid' }), - id: portfolioId, - }), - }; - authorizationData = JSON.stringify({ - did: 'someDid', - kind: { user: 1 }, - }); - - result = middlewareAuthorizationDataToAuthorization( - context, - AuthTypeEnum.PortfolioCustody, - authorizationData - ); - expect(result).toEqual(fakeResult); - - fakeResult = { - type: AuthorizationType.TransferAssetOwnership, - value: 'SOME_TICKER', - }; - authorizationData = '0x534F4D455F5449434B455200'; - - result = middlewareAuthorizationDataToAuthorization( - context, - AuthTypeEnum.TransferAssetOwnership, - authorizationData - ); - expect(result).toEqual(fakeResult); - - fakeResult = { - type: AuthorizationType.JoinIdentity, - value: { assets: null, portfolios: null, transactions: null, transactionGroups: [] }, - }; - authorizationData = JSON.stringify({ - asset: { whole: null }, - portfolio: { whole: null }, - extrinsic: { whole: null }, - }); - - result = middlewareAuthorizationDataToAuthorization( - context, - AuthTypeEnum.JoinIdentity, - authorizationData - ); - expect(result).toEqual(fakeResult); - - const beneficiaryAddress = 'beneficiaryAddress'; - const relayerAddress = 'relayerAddress'; - const allowance = new BigNumber(1000); - fakeResult = { - type: AuthorizationType.AddRelayerPayingKey, - value: { - beneficiary: expect.objectContaining({ address: beneficiaryAddress }), - subsidizer: expect.objectContaining({ address: relayerAddress }), - allowance, - }, - }; - authorizationData = `{"${beneficiaryAddress}","${relayerAddress}",${allowance.shiftedBy(6)}}`; - - result = middlewareAuthorizationDataToAuthorization( - context, - AuthTypeEnum.AddRelayerPayingKey, - authorizationData - ); - expect(result).toEqual(fakeResult); - - const ticker = 'SOME_TICKER'; - const type = PermissionGroupType.Full; - fakeResult = { - type: AuthorizationType.BecomeAgent, - value: expect.objectContaining({ - asset: expect.objectContaining({ ticker }), - type, - }), - }; - - authorizationData = `{"${ticker}",${JSON.stringify({ full: null })}}`; - - result = middlewareAuthorizationDataToAuthorization( - context, - AuthTypeEnum.BecomeAgent, - authorizationData - ); - expect(result).toEqual(fakeResult); - - authorizationData = JSON.stringify({ - asset: { whole: null }, - portfolio: { whole: null }, - extrinsic: { whole: null }, - }); - fakeResult = { - type: AuthorizationType.RotatePrimaryKeyToSecondary, - value: { assets: null, portfolios: null, transactions: null, transactionGroups: [] }, - }; - - result = middlewareAuthorizationDataToAuthorization( - context, - AuthTypeEnum.RotatePrimaryKeyToSecondary, - authorizationData - ); - expect(result).toEqual(fakeResult); - }); - - it('should throw an error if the authorization has an unsupported type', () => { - const context = dsMockUtils.getContextInstance(); - - expect(() => - middlewareAuthorizationDataToAuthorization(context, AuthTypeEnum.Custom, 'randomData') - ).toThrow('Unsupported Authorization Type. Please contact the Polymesh team'); - }); -}); - -describe('legToFungibleLeg', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should make a fungible leg', () => { - const context = dsMockUtils.getContextInstance(); - const fakeResult = 'fakeResult' as unknown as PolymeshPrimitivesSettlementLeg; - - const value = { - sender: createMockPortfolioId(), - receiver: createMockPortfolioId(), - ticker: createMockTicker(), - amount: createMockU128(), - } as const; - - when(context.createType) - .calledWith('PolymeshPrimitivesSettlementLeg', { Fungible: value }) - .mockReturnValue(fakeResult); - - const result = legToFungibleLeg(value, context); - - expect(result).toEqual(fakeResult); - }); -}); - -describe('legToNonFungibleLeg', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should make a non-fungible leg', () => { - const context = dsMockUtils.getContextInstance(); - const fakeResult = 'fakeResult' as unknown as PolymeshPrimitivesSettlementLeg; - - const value = { - sender: createMockPortfolioId(), - receiver: createMockPortfolioId(), - nfts: createMockNfts(), - } as const; - - when(context.createType) - .calledWith('PolymeshPrimitivesSettlementLeg', { NonFungible: value }) - .mockReturnValue(fakeResult); - - const result = legToNonFungibleLeg(value, context); - - expect(result).toEqual(fakeResult); - }); -}); - -describe('datesToScheduleCheckpoints', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should make a BtreeSet', () => { - const context = dsMockUtils.getContextInstance(); - - const fakeMoment = 'fakeMoment' as unknown as Moment; - - const fakeBtree = 'fakeBtree' as unknown as BTreeSet; - - const fakeResult = - 'fakeResult' as unknown as PolymeshCommonUtilitiesCheckpointScheduleCheckpoints; - - const input = [new Date()]; - - when(context.createType).calledWith('u64', input[0].getTime()).mockReturnValue(fakeMoment); - when(context.createType) - .calledWith('BTreeSet', [fakeMoment]) - .mockReturnValue(fakeBtree); - - when(context.createType) - .calledWith('PolymeshCommonUtilitiesCheckpointScheduleCheckpoints', { - pending: fakeBtree, - }) - .mockReturnValue(fakeResult); - - const result = datesToScheduleCheckpoints(input, context); - - expect(result).toEqual(fakeResult); - }); -}); - -describe('collectionKeysToMetadataKeys', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should create collection keys', () => { - const context = dsMockUtils.getContextInstance(); - const id = new BigNumber(1); - const keys = [{ type: MetadataType.Local, id }]; - - const fakeKey = 'fakeKey' as unknown as PolymeshPrimitivesAssetMetadataAssetMetadataKey; - const fakeResult = - 'fakeMetadataKeys' as unknown as Vec; - - when(context.createType) - .calledWith('PolymeshPrimitivesAssetMetadataAssetMetadataKey', { - Local: bigNumberToU64(id, context), - }) - .mockReturnValue(fakeKey); - - when(context.createType) - .calledWith('Vec', [fakeKey]) - .mockReturnValue(fakeResult); - - const result = collectionKeysToMetadataKeys(keys, context); - - expect(result).toEqual(fakeResult); - }); -}); - -describe('meshMetadataKeyToMetadataKey', () => { - it('should convert local metadata', () => { - const localId = new BigNumber(1); - const ticker = 'TICKER'; - const rawKey = dsMockUtils.createMockAssetMetadataKey({ - Local: dsMockUtils.createMockU64(localId), - }); - - const result = meshMetadataKeyToMetadataKey(rawKey, ticker); - - expect(result).toEqual({ type: MetadataType.Local, id: localId, ticker }); - }); - - it('should convert Global metadata', () => { - const globalId = new BigNumber(2); - const rawKey = dsMockUtils.createMockAssetMetadataKey({ - Global: dsMockUtils.createMockU64(globalId), - }); - - const result = meshMetadataKeyToMetadataKey(rawKey, ''); - - expect(result).toEqual({ type: MetadataType.Global, id: globalId }); - }); -}); - -describe('meshNftToNftId', () => { - it('should convert a set of NFTs', () => { - const ticker = 'TICKER'; - - const mockNft = dsMockUtils.createMockNfts({ - ticker: dsMockUtils.createMockTicker(ticker), - ids: [ - dsMockUtils.createMockU64(new BigNumber(1)), - dsMockUtils.createMockU64(new BigNumber(2)), - ], - }); - - const result = meshNftToNftId(mockNft); - - expect(result).toEqual({ - ticker, - ids: [new BigNumber(1), new BigNumber(2)], - }); - }); -}); - -describe('nftInputToNftMetadataAttribute', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should convert NFT input into a raw attribute', () => { - const context = dsMockUtils.getContextInstance(); - const id = new BigNumber(1); - const rawId = dsMockUtils.createMockU64(id); - const value = 'testValue'; - - const mockKey = 'mockKey' as unknown as PolymeshPrimitivesAssetMetadataAssetMetadataKey; - const mockValue = 'mockValue' as unknown as Bytes; - const mockAttribute = 'mockAttribute' as unknown as PolymeshPrimitivesNftNftMetadataAttribute; - const mockResult = 'mockResult' as unknown as Vec; - - dsMockUtils.setConstMock('asset', 'assetMetadataValueMaxLength', { - returnValue: dsMockUtils.createMockU64(new BigNumber(255)), - }); - - when(context.createType).calledWith('u64', id.toString()).mockReturnValue(rawId); - - when(context.createType) - .calledWith('PolymeshPrimitivesAssetMetadataAssetMetadataKey', { - Local: rawId, - }) - .mockReturnValue(mockKey); - - when(context.createType).calledWith('Bytes', value).mockReturnValue(mockValue); - - when(context.createType) - .calledWith('PolymeshPrimitivesNftNftMetadataAttribute', { - key: mockKey, - value: mockValue, - }) - .mockReturnValue(mockAttribute); - - when(context.createType) - .calledWith('Vec', [mockAttribute]) - .mockReturnValue(mockResult); - - const input = [{ type: MetadataType.Local, id, value }]; - - const result = nftInputToNftMetadataVec(input, context); - - expect(result).toEqual(mockResult); - }); -}); - -describe('nftToMeshNft', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should converts Nft input', () => { - const ticker = 'TICKER'; - const rawTicker = dsMockUtils.createMockTicker(ticker); - const id = new BigNumber(1); - const rawId = dsMockUtils.createMockU64(id); - const context = dsMockUtils.getContextInstance(); - - const mockResult = 'mockResult' as unknown as PolymeshPrimitivesNftNfTs; - - when(context.createType) - .calledWith('PolymeshPrimitivesTicker', padString(ticker, MAX_TICKER_LENGTH)) - .mockReturnValue(rawTicker); - when(context.createType).calledWith('u64', id.toString()).mockReturnValue(rawId); - when(context.createType) - .calledWith('PolymeshPrimitivesNftNfTs', { - ticker: rawTicker, - ids: [rawId], - }) - .mockReturnValue(mockResult); - - const result = nftToMeshNft(ticker, [id], context); - - expect(result).toEqual(mockResult); - }); -}); - -describe('toCustomClaimTypeWithIdentity', () => { - it('should correctly convert MiddlewareCustomClaimType array to CustomClaimTypeWithDid array', () => { - const middlewareCustomClaimTypeArray = [ - { name: 'name1', id: '1', identity: { did: 'did1' } }, - { name: 'name2', id: '2', identity: { did: 'did2' } }, - { name: 'name3', id: '3', identity: null }, - ]; - - const result = toCustomClaimTypeWithIdentity( - middlewareCustomClaimTypeArray as MiddlewareCustomClaimType[] - ); - - expect(result).toEqual([ - { name: 'name1', id: new BigNumber(1), did: 'did1' }, - { name: 'name2', id: new BigNumber(2), did: 'did2' }, - { name: 'name3', id: new BigNumber(3), did: undefined }, - ]); - }); -}); - -describe('mediatorAffirmationStatusToStatus', () => { - it('should convert mediator affirmation status', () => { - let input = dsMockUtils.createMockMediatorAffirmationStatus('Pending'); - let result = mediatorAffirmationStatusToStatus(input); - expect(result).toEqual({ status: AffirmationStatus.Pending }); - - input = dsMockUtils.createMockMediatorAffirmationStatus('Unknown'); - result = mediatorAffirmationStatusToStatus(input); - expect(result).toEqual({ status: AffirmationStatus.Unknown }); - - input = dsMockUtils.createMockMediatorAffirmationStatus({ - Affirmed: { - expiry: dsMockUtils.createMockOption(dsMockUtils.createMockMoment(new BigNumber(1))), - }, - }); - result = mediatorAffirmationStatusToStatus(input); - expect(result).toEqual({ status: AffirmationStatus.Affirmed, expiry: new Date(1) }); - - input = dsMockUtils.createMockMediatorAffirmationStatus({ - Affirmed: { - expiry: dsMockUtils.createMockOption(), - }, - }); - result = mediatorAffirmationStatusToStatus(input); - expect(result).toEqual({ status: AffirmationStatus.Affirmed, expiry: undefined }); - }); - - it('should throw an error if it encounters an unexpected case', () => { - // eslint-disable-next-line @typescript-eslint/no-explicit-any - expect(() => mediatorAffirmationStatusToStatus({ type: 'notAType' } as any)).toThrow( - UnreachableCaseError - ); - }); -}); - -describe('meshConfidentialDetailsToConfidentialDetails', () => { - it('should convert PalletConfidentialAssetTransaction to ConfidentialTransactionDetails', () => { - const mockDetails = dsMockUtils.createMockConfidentialAssetTransaction({ - createdAt: dsMockUtils.createMockU32(new BigNumber(1)), - memo: dsMockUtils.createMockOption(dsMockUtils.createMockMemo(stringToHex('someMemo'))), - venueId: dsMockUtils.createMockU64(new BigNumber(2)), - }); - const result = meshConfidentialTransactionDetailsToDetails( - mockDetails as PalletConfidentialAssetTransaction - ); - - expect(result).toEqual({ - createdAt: new BigNumber(1), - memo: 'someMemo', - venueId: new BigNumber(2), - }); - }); -}); - -describe('meshConfidentialTransactionStatusToStatus', () => { - it('should convert PalletConfidentialAssetTransactionStatus to ConfidentialTransactionStatus', () => { - let expected = ConfidentialTransactionStatus.Pending; - let status = dsMockUtils.createMockConfidentialTransactionStatus(expected); - - let result = meshConfidentialTransactionStatusToStatus(status); - - expect(result).toEqual(expected); - - expected = ConfidentialTransactionStatus.Executed; - status = dsMockUtils.createMockConfidentialTransactionStatus(expected); - result = meshConfidentialTransactionStatusToStatus(status); - - expect(result).toEqual(expected); - - expected = ConfidentialTransactionStatus.Rejected; - status = dsMockUtils.createMockConfidentialTransactionStatus(expected); - result = meshConfidentialTransactionStatusToStatus(status); - - expect(result).toEqual(expected); - }); - - it('should throw an error on unexpected status', () => { - const status = createMockConfidentialTransactionStatus( - // eslint-disable-next-line @typescript-eslint/no-explicit-any - 'notAStatus' as any - ) as PalletConfidentialAssetTransactionStatus; + ConfidentialAssetsBurnConfidentialBurnProof, + PalletConfidentialAssetAffirmParty, + PalletConfidentialAssetAffirmTransaction, + PalletConfidentialAssetAffirmTransactions, + PalletConfidentialAssetAuditorAccount, + PalletConfidentialAssetConfidentialAuditors, + PalletConfidentialAssetConfidentialTransfers, + PalletConfidentialAssetLegParty, + PalletConfidentialAssetTransaction, + PalletConfidentialAssetTransactionLeg, + PalletConfidentialAssetTransactionLegId, + PalletConfidentialAssetTransactionLegState, + PolymeshPrimitivesIdentityId, +} from '@polkadot/types/lookup'; +import { stringToHex } from '@polkadot/util'; +import { UnreachableCaseError } from '@polymeshassociation/polymesh-sdk/api/procedures/utils'; +import { + Block, + ConfidentialAssetHistory, + EventIdEnum, +} from '@polymeshassociation/polymesh-sdk/middleware/types'; +import { u16ToBigNumber } from '@polymeshassociation/polymesh-sdk/utils/conversion'; +import BigNumber from 'bignumber.js'; +import { when } from 'jest-when'; - expect(() => meshConfidentialTransactionStatusToStatus(status)).toThrow(); - }); -}); +import { ConfidentialAccount, ConfidentialAsset, Context, Identity } from '~/internal'; +import { dsMockUtils } from '~/testUtils/mocks'; +import { createMockBlock, createMockBTreeSet } from '~/testUtils/mocks/dataSources'; +import { + ConfidentialAffirmParty, + ConfidentialLegParty, + ConfidentialLegStateBalances, + ConfidentialTransactionStatus, +} from '~/types'; -describe('confidentialLegToMeshLeg', () => { - const confidentialLeg = { - sender: createMockConfidentialAccount('senderKey'), - receiver: createMockConfidentialAccount('receiverKey'), - assets: dsMockUtils.createMockBTreeSet(), - auditors: dsMockUtils.createMockBTreeSet(), - mediators: dsMockUtils.createMockBTreeSet(['someDid']), - }; - let context: Context; +import { + auditorsToBtreeSet, + auditorsToConfidentialAuditors, + auditorToMeshAuditor, + bigNumberToU16, + confidentialAffirmPartyToRaw, + confidentialAffirmsToRaw, + confidentialAssetsToBtreeSet, + confidentialBurnProofToRaw, + confidentialLegIdToId, + confidentialLegPartyToRole, + confidentialLegStateToLegState, + confidentialLegToMeshLeg, + confidentialTransactionLegIdToBigNumber, + meshConfidentialAssetTransactionIdToId, + meshConfidentialTransactionDetailsToDetails, + meshConfidentialTransactionStatusToStatus, + meshPublicKeyToKey, + middlewareAssetHistoryToTransactionHistory, + middlewareEventDetailsToEventIdentifier, + serializeConfidentialAssetId, +} from '../conversion'; +describe('serializeConfidentialAssetId', () => { beforeAll(() => { dsMockUtils.initMocks(); }); - beforeEach(() => { - context = dsMockUtils.getContextInstance(); - }); - afterEach(() => { dsMockUtils.reset(); }); @@ -10104,15 +71,41 @@ describe('confidentialLegToMeshLeg', () => { dsMockUtils.cleanup(); }); - it('should convert a confidential leg to PalletConfidentialAssetTransactionLeg', () => { - const mockResult = 'mockResult' as unknown as PalletConfidentialAssetTransactionLeg; - when(context.createType) - .calledWith('PalletConfidentialAssetTransactionLeg', confidentialLeg) - .mockReturnValue(mockResult); + it('should convert a confidential Asset ID to hex prefixed string', () => { + const result = serializeConfidentialAssetId('76702175-d8cb-e3a5-5a19-734433351e25'); + + expect(result).toEqual('0x76702175d8cbe3a55a19734433351e25'); + }); + + it('should extract the ID from ConfidentialAsset entity', () => { + const context = dsMockUtils.getContextInstance(); + const asset = new ConfidentialAsset({ id: '76702175-d8cb-e3a5-5a19-734433351e25' }, context); - const result = confidentialLegToMeshLeg(confidentialLeg, context); + const result = serializeConfidentialAssetId(asset); - expect(result).toEqual(mockResult); + expect(result).toEqual('0x76702175d8cbe3a55a19734433351e25'); + }); +}); + +describe('middlewareEventDetailsToEventIdentifier', () => { + it('should extract block info', () => { + const block = { blockId: 1, datetime: '7', hash: '0x01' } as Block; + + let result = middlewareEventDetailsToEventIdentifier(block); + expect(result).toEqual({ + blockNumber: new BigNumber(1), + blockHash: '0x01', + blockDate: new Date('7'), + eventIndex: new BigNumber(0), + }); + + result = middlewareEventDetailsToEventIdentifier(block, 3); + expect(result).toEqual({ + blockNumber: new BigNumber(1), + blockHash: '0x01', + blockDate: new Date('7'), + eventIndex: new BigNumber(3), + }); }); }); @@ -10279,41 +272,41 @@ describe('meshConfidentialAssetTransactionIdToId', () => { expect(result).toEqual(id); }); }); +}); - describe('confidentialTransactionLegIdToBigNumber', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - afterEach(() => { - dsMockUtils.reset(); - }); +describe('confidentialTransactionLegIdToBigNumber', () => { + beforeAll(() => { + dsMockUtils.initMocks(); + }); + afterEach(() => { + dsMockUtils.reset(); + }); - afterAll(() => { - dsMockUtils.cleanup(); - }); + afterAll(() => { + dsMockUtils.cleanup(); + }); - it('should convert PalletConfidentialAssetTransactionLegId to BigNumber ', () => { - let input = dsMockUtils.createMockConfidentialLegParty('Sender'); - let expected = ConfidentialLegParty.Sender; - let result = confidentialLegPartyToRole(input); - expect(result).toEqual(expected); - - input = dsMockUtils.createMockConfidentialLegParty('Receiver'); - expected = ConfidentialLegParty.Receiver; - result = confidentialLegPartyToRole(input); - expect(result).toEqual(expected); - - input = dsMockUtils.createMockConfidentialLegParty('Mediator'); - expected = ConfidentialLegParty.Mediator; - result = confidentialLegPartyToRole(input); - expect(result).toEqual(expected); - }); + it('should convert PalletConfidentialAssetTransactionLegId to BigNumber ', () => { + let input = dsMockUtils.createMockConfidentialLegParty('Sender'); + let expected = ConfidentialLegParty.Sender; + let result = confidentialLegPartyToRole(input); + expect(result).toEqual(expected); + + input = dsMockUtils.createMockConfidentialLegParty('Receiver'); + expected = ConfidentialLegParty.Receiver; + result = confidentialLegPartyToRole(input); + expect(result).toEqual(expected); - it('should throw if an unexpected role is received', () => { - const input = 'notSomeRole' as unknown as PalletConfidentialAssetLegParty; + input = dsMockUtils.createMockConfidentialLegParty('Mediator'); + expected = ConfidentialLegParty.Mediator; + result = confidentialLegPartyToRole(input); + expect(result).toEqual(expected); + }); - expect(() => confidentialLegPartyToRole(input)).toThrow(UnreachableCaseError); - }); + it('should throw if an unexpected role is received', () => { + const input = 'notSomeRole' as unknown as PalletConfidentialAssetLegParty; + + expect(() => confidentialLegPartyToRole(input)).toThrow(UnreachableCaseError); }); }); @@ -10568,3 +561,202 @@ describe('confidentialBurnProofToRaw', () => { expect(result).toEqual(mockResult); }); }); + +describe('bigNumberToU16 and u16ToBigNumber', () => { + beforeAll(() => { + dsMockUtils.initMocks(); + }); + + afterEach(() => { + dsMockUtils.reset(); + }); + + afterAll(() => { + dsMockUtils.cleanup(); + }); + + describe('bigNumberToU16', () => { + it('should convert a number to a polkadot u16 object', () => { + const value = new BigNumber(100); + const fakeResult = '100' as unknown as u16; + const context = dsMockUtils.getContextInstance(); + + when(context.createType).calledWith('u16', value.toString()).mockReturnValue(fakeResult); + + const result = bigNumberToU16(value, context); + + expect(result).toBe(fakeResult); + }); + + it('should throw an error if the number is negative', () => { + const value = new BigNumber(-100); + const context = dsMockUtils.getContextInstance(); + + expect(() => bigNumberToU16(value, context)).toThrow(); + }); + + it('should throw an error if the number is not an integer', () => { + const value = new BigNumber(1.5); + const context = dsMockUtils.getContextInstance(); + + expect(() => bigNumberToU16(value, context)).toThrow(); + }); + }); + + describe('u16ToBigNumber', () => { + it('should convert a polkadot u32 object to a BigNumber', () => { + const fakeResult = new BigNumber(100); + const num = dsMockUtils.createMockU16(fakeResult); + + const result = u16ToBigNumber(num); + expect(result).toEqual(new BigNumber(fakeResult)); + }); + }); +}); + +describe('auditorsToConfidentialAuditors', () => { + beforeAll(() => { + dsMockUtils.initMocks(); + }); + + afterEach(() => { + dsMockUtils.reset(); + }); + + afterAll(() => { + dsMockUtils.cleanup(); + }); + + it('should convert auditors and mediators to PalletConfidentialAssetConfidentialAuditors', () => { + const context = dsMockUtils.getContextInstance(); + + const auditors = ['auditor']; + const mediators = ['mediator1', 'mediator2']; + mediators.forEach(did => + when(context.createType) + .calledWith('PolymeshPrimitivesIdentityId', did) + .mockReturnValue(did as unknown as PolymeshPrimitivesIdentityId) + ); + + when(context.createType) + .calledWith('BTreeSet', auditors) + .mockReturnValue(auditors as unknown as BTreeSet); + when(context.createType) + .calledWith('BTreeSet', mediators) + .mockReturnValue(mediators as unknown as BTreeSet); + + when(context.createType) + .calledWith('PalletConfidentialAssetConfidentialAuditors', { + auditors, + mediators, + }) + .mockReturnValue({ + auditors, + mediators, + } as unknown as PalletConfidentialAssetConfidentialAuditors); + + let result = auditorsToConfidentialAuditors( + context, + auditors.map(auditor => ({ publicKey: auditor })) as unknown as ConfidentialAccount[], + mediators.map(mediator => ({ did: mediator })) as unknown as Identity[] + ); + expect(result).toEqual({ auditors, mediators }); + + when(context.createType) + .calledWith('BTreeSet', []) + .mockReturnValue([] as unknown as BTreeSet); + when(context.createType) + .calledWith('PalletConfidentialAssetConfidentialAuditors', { + auditors, + mediators: [], + }) + .mockReturnValue({ + auditors, + mediators: [], + } as unknown as PalletConfidentialAssetConfidentialAuditors); + + result = auditorsToConfidentialAuditors( + context, + auditors.map(auditor => ({ publicKey: auditor })) as unknown as ConfidentialAccount[] + ); + expect(result).toEqual({ auditors, mediators: [] }); + }); +}); + +describe('meshConfidentialTransactionStatusToStatus', () => { + it('should return the correct status', () => { + const mockPending = dsMockUtils.createMockConfidentialTransactionStatus('Pending'); + let result = meshConfidentialTransactionStatusToStatus(mockPending); + expect(result).toEqual(ConfidentialTransactionStatus.Pending); + + const mockRejected = dsMockUtils.createMockConfidentialTransactionStatus('Rejected'); + result = meshConfidentialTransactionStatusToStatus(mockRejected); + expect(result).toEqual(ConfidentialTransactionStatus.Rejected); + + const mockExecuted = dsMockUtils.createMockConfidentialTransactionStatus('Executed'); + result = meshConfidentialTransactionStatusToStatus(mockExecuted); + expect(result).toEqual(ConfidentialTransactionStatus.Executed); + }); + + it('should throw an error if there is an unknown status', () => { + // eslint-disable-next-line @typescript-eslint/no-explicit-any + expect(() => meshConfidentialTransactionStatusToStatus('notAStatus' as any)).toThrow( + UnreachableCaseError + ); + }); +}); + +describe('confidentialLegToMeshLeg', () => { + beforeAll(() => { + dsMockUtils.initMocks(); + }); + + afterEach(() => { + dsMockUtils.reset(); + }); + + afterAll(() => { + dsMockUtils.cleanup(); + }); + + it('should return a raw leg type', () => { + const context = dsMockUtils.getContextInstance(); + + const leg = { + sender: dsMockUtils.createMockConfidentialAccount(), + receiver: dsMockUtils.createMockConfidentialAccount(), + assets: dsMockUtils.createMockBTreeSet(), + auditors: dsMockUtils.createMockBTreeSet(), + mediators: dsMockUtils.createMockBTreeSet(), + }; + + const fakeResult = 'fakeResult' as unknown as PalletConfidentialAssetTransactionLeg; + + when(context.createType) + .calledWith('PalletConfidentialAssetTransactionLeg', leg) + .mockReturnValue(fakeResult); + + const result = confidentialLegToMeshLeg(leg, context); + + expect(result).toEqual(fakeResult); + }); +}); + +describe('meshConfidentialDetailsToConfidentialDetails', () => { + it('should convert PalletConfidentialAssetTransaction to ConfidentialTransactionDetails', () => { + const mockDetails = dsMockUtils.createMockConfidentialAssetTransaction({ + createdAt: dsMockUtils.createMockU32(new BigNumber(1)), + memo: dsMockUtils.createMockOption(dsMockUtils.createMockMemo(stringToHex('someMemo'))), + venueId: dsMockUtils.createMockU64(new BigNumber(2)), + }); + const result = meshConfidentialTransactionDetailsToDetails( + mockDetails as PalletConfidentialAssetTransaction + ); + + expect(result).toEqual({ + createdAt: new BigNumber(1), + memo: 'someMemo', + venueId: new BigNumber(2), + }); + }); +}); diff --git a/src/utils/__tests__/internal.ts b/src/utils/__tests__/internal.ts index 3a95d19d35..6c992434f3 100644 --- a/src/utils/__tests__/internal.ts +++ b/src/utils/__tests__/internal.ts @@ -1,214 +1,92 @@ -import { Bytes, u32 } from '@polkadot/types'; -import { AccountId, EventRecord } from '@polkadot/types/interfaces'; import { - PolymeshPrimitivesIdentityClaimClaimType, - PolymeshPrimitivesIdentityId, - PolymeshPrimitivesSecondaryKeyKeyRecord, - PolymeshPrimitivesStatisticsStatOpType, - PolymeshPrimitivesStatisticsStatType, -} from '@polkadot/types/lookup'; -import { ISubmittableResult } from '@polkadot/types/types'; + ErrorCode, + PermissionType, + RoleType as PublicRoleType, +} from '@polymeshassociation/polymesh-sdk/types'; +import * as utilsPublicConversionModule from '@polymeshassociation/polymesh-sdk/utils/conversion'; import BigNumber from 'bignumber.js'; -import { when } from 'jest-when'; +import { ConfidentialProcedure } from '~/base/ConfidentialProcedure'; import { - Account, ConfidentialAccount, ConfidentialAsset, Context, - FungibleAsset, Identity, - Nft, PolymeshError, Procedure, } from '~/internal'; -import { latestSqVersionQuery } from '~/middleware/queries'; -import { Claim as MiddlewareClaim } from '~/middleware/types'; -import { ClaimScopeTypeEnum } from '~/middleware/typesV1'; import { dsMockUtils, entityMockUtils } from '~/testUtils/mocks'; import { - createMockStatisticsStatClaim, - getApiInstance, - getAtMock, - getWebSocketInstance, - MockCodec, - MockContext, - MockWebSocket, -} from '~/testUtils/mocks/dataSources'; -import { - Authorization, - AuthorizationRequest, - AuthorizationType, - CaCheckpointType, - ClaimType, - CountryCode, - ErrorCode, + ConfidentialOptionalArgsProcedureMethod, + ConfidentialProcedureMethod, ModuleName, - OptionalArgsProcedureMethod, - PermissionedAccount, - ProcedureMethod, - RemoveAssetStatParams, - ScopedClaim, - ScopeType, - StatType, - SubCallback, - TransferRestrictionType, + RoleType, TxTags, } from '~/types'; -import { tuple } from '~/types/utils'; -import { - MAX_TICKER_LENGTH, - MINIMUM_SQ_VERSION, - SUPPORTED_NODE_SEMVER, - SUPPORTED_SPEC_SEMVER, -} from '~/utils/constants'; -import * as utilsConversionModule from '~/utils/conversion'; - -import { SUPPORTED_NODE_VERSION_RANGE, SUPPORTED_SPEC_VERSION_RANGE } from '../constants'; + import { - areSameClaims, - asAccount, - asChildIdentity, asConfidentialAccount, asConfidentialAsset, - asFungibleAsset, - asNftId, - assertAddressValid, assertCaAssetValid, - assertExpectedChainVersion, - assertExpectedSqVersion, - assertIdentityExists, - assertIsInteger, - assertIsPositive, - assertNoPendingAuthorizationExists, - assertTickerValid, - asTicker, - calculateNextKey, - compareStatsToInput, - compareStatTypeToTransferRestrictionType, - compareTransferRestrictionToInput, - compareTransferRestrictionToStat, - createClaim, - createProcedureMethod, - delay, - filterEventRecords, - getApiAtBlock, - getCheckpointValue, - getDid, - getExemptedIds, - getIdentity, - getIdentityFromKeyRecord, - getPortfolioIdsByName, - getSecondaryAccountPermissions, - hasSameElements, - isAlphanumeric, + checkConfidentialPermissions, + checkConfidentialRoles, + createConfidentialProcedureMethod, + getMissingPortfolioPermissions, + getMissingTransactionPermissions, isModuleOrTagMatch, - isPrintableAscii, - mergeReceipts, - neededStatTypeForRestrictionInput, - optionize, - padString, - removePadding, - requestAtBlock, - requestPaginated, - segmentEventsByTransaction, - serialize, - sliceBatchReceipt, - unserialize, } from '../internal'; +jest.mock('websocket', require('~/testUtils/mocks/dataSources').mockWebSocketModule()); + jest.mock( - '~/api/entities/Asset/Fungible', - require('~/testUtils/mocks/entities').mockFungibleAssetModule('~/api/entities/Asset/Fungible') + '~/api/entities/ConfidentialAsset', + require('~/testUtils/mocks/entities').mockConfidentialAssetModule( + '~/api/entities/ConfidentialAsset' + ) ); + jest.mock( - '~/api/entities/Asset/NonFungible', - require('~/testUtils/mocks/entities').mockNftCollectionModule('~/api/entities/Asset/NonFungible') + '~/api/entities/ConfidentialVenue', + require('~/testUtils/mocks/entities').mockConfidentialVenueModule( + '~/api/entities/ConfidentialVenue' + ) ); + jest.mock( - '~/api/entities/Account', - require('~/testUtils/mocks/entities').mockAccountModule('~/api/entities/Account') + '@polymeshassociation/polymesh-sdk/api/entities/TickerReservation', + require('~/testUtils/mocks/entities').mockTickerReservationModule( + '@polymeshassociation/polymesh-sdk/api/entities/TickerReservation' + ) ); -jest.mock('websocket', require('~/testUtils/mocks/dataSources').mockWebSocketModule()); - -describe('delay', () => { - beforeAll(() => { - jest.useFakeTimers({ - legacyFakeTimers: true, - }); - }); - - afterAll(() => { - jest.useRealTimers(); - }); - - it('should resolve after the supplied timeout', async () => { - const delayPromise = delay(5000); - - jest.advanceTimersByTime(5000); - - expect(await delayPromise).toBeUndefined(); - }); -}); - -describe('serialize and unserialize', () => { - const entityType = 'someEntity'; - - const pojo1 = { - foo: 'Foo', - bar: 'Bar', - }; - - const inversePojo1 = { - bar: 'Bar', - foo: 'Foo', - }; - - const pojo2 = { - baz: 'baz', - }; - - describe('serialize', () => { - it('should return the same unique id for the same pojo', () => { - expect(serialize(entityType, pojo1)).toBe(serialize(entityType, pojo1)); - expect(serialize(entityType, pojo1)).toBe(serialize(entityType, inversePojo1)); - }); - - it('should return a different unique id for different pojos', () => { - expect(serialize(entityType, pojo1)).not.toBe(serialize(entityType, pojo2)); - }); - }); - - describe('unserialize', () => { - it('should recover the serialized object', () => { - expect(unserialize(serialize(entityType, pojo1))).toEqual(pojo1); - expect(unserialize(serialize(entityType, inversePojo1))).toEqual(pojo1); - }); - - const errorMsg = 'Wrong ID format'; - - it('should throw an error if the argument has an incorrect format', () => { - expect(() => unserialize('unformatted')).toThrowError(errorMsg); - }); - it('should throw an error if the serialized string is not valid JSON', () => { - const fakeSerialized = Buffer.from('someEntity:nonJsonString').toString('base64'); - expect(() => unserialize(fakeSerialized)).toThrowError(errorMsg); - }); - }); -}); +jest.mock( + '@polymeshassociation/polymesh-sdk/api/entities/Venue', + require('~/testUtils/mocks/entities').mockVenueModule( + '@polymeshassociation/polymesh-sdk//api/entities/Venue' + ) +); -describe('getDid', () => { +describe('createProcedureMethod', () => { let context: Context; - let did: string; + let prepare: jest.Mock; + let checkAuthorization: jest.Mock; + let transformer: jest.Mock; + let fakeProcedure: () => Procedure; beforeAll(() => { dsMockUtils.initMocks(); - did = 'aDid'; }); beforeEach(() => { context = dsMockUtils.getContextInstance(); + prepare = jest.fn(); + checkAuthorization = jest.fn(); + transformer = jest.fn(); + fakeProcedure = (): Procedure => + ({ + prepare, + checkAuthorization, + } as unknown as Procedure); }); afterEach(() => { @@ -219,375 +97,283 @@ describe('getDid', () => { dsMockUtils.cleanup(); }); - it('should extract the DID from an Identity', async () => { - entityMockUtils.initMocks(); - const result = await getDid(entityMockUtils.getIdentityInstance({ did }), context); - - expect(result).toBe(did); - }); + it('should return a ProcedureMethod object', async () => { + const method: ConfidentialProcedureMethod = createConfidentialProcedureMethod( + { getProcedureAndArgs: args => [fakeProcedure, args], transformer }, + context + ); - it('should return the passed DID', async () => { - const result = await getDid(did, context); + const procArgs = 1; + await method(procArgs); - expect(result).toBe(did); - }); + expect(prepare).toHaveBeenCalledWith({ args: procArgs, transformer }, context, {}); - it('should return the signing Identity DID if nothing is passed', async () => { - const result = await getDid(undefined, context); + await method.checkAuthorization(procArgs); - expect(result).toBe((await context.getSigningIdentity()).did); + expect(checkAuthorization).toHaveBeenCalledWith(procArgs, context, {}); }); -}); -describe('asAccount', () => { - let context: Context; - let address: string; - let account: Account; + it('should return a OptionalArgsProcedureMethod object', async () => { + const method: ConfidentialOptionalArgsProcedureMethod = + createConfidentialProcedureMethod( + { + getProcedureAndArgs: (args?: number) => [fakeProcedure, args], + transformer, + optionalArgs: true, + }, + context + ); - beforeAll(() => { - dsMockUtils.initMocks(); - entityMockUtils.initMocks(); - address = 'someAddress'; - }); + await method(); - beforeEach(() => { - context = dsMockUtils.getContextInstance(); - account = new Account({ address }, context); - }); + expect(prepare).toHaveBeenCalledWith({ args: undefined, transformer }, context, {}); - afterEach(() => { - dsMockUtils.reset(); - }); + await method.checkAuthorization(undefined); - afterAll(() => { - dsMockUtils.cleanup(); - }); + expect(checkAuthorization).toHaveBeenCalledWith(undefined, context, {}); - it('should return Account for given address', async () => { - const result = asAccount(address, context); + const procArgs = 1; + await method(procArgs); - expect(result).toEqual(expect.objectContaining({ address })); - }); + expect(prepare).toHaveBeenCalledWith({ args: procArgs, transformer }, context, {}); - it('should return the passed Account', async () => { - const result = asAccount(account, context); + await method.checkAuthorization(procArgs); - expect(result).toBe(account); + expect(checkAuthorization).toHaveBeenCalledWith(procArgs, context, {}); }); -}); - -describe('filterEventRecords', () => { - const filterRecordsMock = jest.fn(); - const mockReceipt = { - filterRecords: filterRecordsMock, - } as unknown as ISubmittableResult; - afterEach(() => { - filterRecordsMock.mockReset(); - }); + it('should return a NoArgsProcedureMethod object', async () => { + const noArgsFakeProcedure = (): ConfidentialProcedure => + ({ + prepare, + checkAuthorization, + } as unknown as ConfidentialProcedure); - it('should return the corresponding Event Record', () => { - const mod = 'asset'; - const eventName = 'TickerRegistered'; - const fakeResult = 'event'; - when(filterRecordsMock) - .calledWith(mod, eventName) - .mockReturnValue([{ event: fakeResult }]); + const method = createConfidentialProcedureMethod( + { getProcedureAndArgs: () => [noArgsFakeProcedure, undefined], transformer, voidArgs: true }, + context + ); - const eventRecord = filterEventRecords(mockReceipt, mod, eventName); + await method(); - expect(eventRecord[0]).toBe(fakeResult); - }); + expect(prepare).toHaveBeenCalledWith({ transformer, args: undefined }, context, {}); - it("should throw an error if the Event wasn't fired", () => { - const mod = 'asset'; - const eventName = 'TickerRegistered'; - when(filterRecordsMock).calledWith(mod, eventName).mockReturnValue([]); + await method.checkAuthorization(); - expect(() => filterEventRecords(mockReceipt, mod, eventName)).toThrow( - `Event "${mod}.${eventName}" wasn't fired even though the corresponding transaction was completed. Please report this to the Polymesh team` - ); + expect(checkAuthorization).toHaveBeenCalledWith(undefined, context, {}); }); }); -describe('segmentEventsByTransaction', () => { - it('should correctly segment events based on utility.ItemCompleted', () => { - // Mock some event data - const mockEvent1 = { event: { section: 'asset', method: 'AssetCreated' } }; - const mockEvent2 = { event: { section: 'protocolFee', method: 'FeeCharged' } }; - const mockEventItemCompleted = { event: { section: 'utility', method: 'ItemCompleted' } }; - - const events = [ - mockEvent1, - mockEvent2, - mockEventItemCompleted, - mockEvent1, - mockEvent2, - ] as EventRecord[]; - const result = segmentEventsByTransaction(events); - - expect(result).toEqual([ - [mockEvent1, mockEvent2], - [mockEvent1, mockEvent2], - ]); - }); +describe('assetCaAssetValid', () => { + it('should return true for a valid ID', () => { + const guid = '76702175-d8cb-e3a5-5a19-734433351e25'; + const id = '76702175d8cbe3a55a19734433351e25'; + + let result = assertCaAssetValid(id); + + expect(result).toEqual(guid); - it('should not include utility.ItemCompleted in the segments', () => { - const mockEventItemCompleted = { event: { section: 'utility', method: 'ItemCompleted' } }; - const events = [mockEventItemCompleted] as EventRecord[]; - const result = segmentEventsByTransaction(events); + result = assertCaAssetValid(guid); - expect(result).toEqual([]); + expect(result).toEqual(guid); }); - it('should handle cases where there are no utility.ItemCompleted events', () => { - const mockEvent1 = { event: { section: 'asset', method: 'AssetCreated' } }; - const mockEvent2 = { event: { section: 'protocolFee', method: 'FeeCharged' } }; + it('should throw an error for an invalid ID', async () => { + const expectedError = new PolymeshError({ + code: ErrorCode.ValidationError, + message: 'The supplied ID is not a valid confidential Asset ID', + }); + expect(() => assertCaAssetValid('small-length-string')).toThrow(expectedError); - const events = [mockEvent1, mockEvent2] as EventRecord[]; - const result = segmentEventsByTransaction(events); + expect(() => assertCaAssetValid('NotMatching32CharactersString$$$')).toThrow(expectedError); - expect(result).toEqual([[mockEvent1, mockEvent2]]); + expect(() => assertCaAssetValid('7670-2175d8cb-e3a55a-1973443-3351e25')).toThrow(expectedError); }); }); -describe('sliceBatchReceipt', () => { - const filterRecordsMock = jest.fn(); - const events = [ - { event: { section: 'asset', method: 'AssetCreated' } }, - { event: { section: 'protocolFee', method: 'FeeCharged' } }, - { event: { section: 'utility', method: 'ItemCompleted' } }, - { event: { section: 'asset', method: 'AssetDeleted' } }, - { event: { section: 'utility', method: 'ItemCompleted' } }, - { event: { section: 'utility', method: 'BatchCompleted' } }, - ]; - const mockReceipt = { - filterRecords: filterRecordsMock, - events, - findRecord: jest.fn(), - toHuman: jest.fn(), - } as unknown as ISubmittableResult; +describe('asConfidentialAccount', () => { + let context: Context; + let publicKey: string; + let confidentialAccount: ConfidentialAccount; + + beforeAll(() => { + dsMockUtils.initMocks(); + entityMockUtils.initMocks(); + publicKey = 'someKey'; + }); beforeEach(() => { - when(filterRecordsMock).calledWith('utility', 'BatchCompleted').mockReturnValue([1]); + context = dsMockUtils.getContextInstance(); + confidentialAccount = new ConfidentialAccount({ publicKey }, context); + }); + + afterEach(() => { + dsMockUtils.reset(); }); - it('should return the cloned receipt with a subset of events', () => { - const slicedReceipt = sliceBatchReceipt(mockReceipt, 0, 1); - expect(slicedReceipt.events).toEqual([ - { event: { section: 'asset', method: 'AssetCreated' } }, - { event: { section: 'protocolFee', method: 'FeeCharged' } }, - ]); + afterAll(() => { + dsMockUtils.cleanup(); }); - it('should throw an error if the transaction indexes are out of bounds', () => { - expect(() => sliceBatchReceipt(mockReceipt, -1, 2)).toThrow( - 'Transaction index range out of bounds. Please report this to the Polymesh team' - ); + it('should return ConfidentialAccount for given public key', async () => { + const result = asConfidentialAccount(publicKey, context); - expect(() => sliceBatchReceipt(mockReceipt, 2, 5)).toThrow( - 'Transaction index range out of bounds. Please report this to the Polymesh team' - ); + expect(result).toEqual(expect.objectContaining({ publicKey })); + }); + + it('should return the passed ConfidentialAccount', async () => { + const result = asConfidentialAccount(confidentialAccount, context); + + expect(result).toBe(confidentialAccount); }); }); -describe('mergeReceipts', () => { - let bigNumberToU32Spy: jest.SpyInstance; - let receipts: ISubmittableResult[]; +describe('asConfidentialAsset', () => { let context: Context; - - let eventsPerTransaction: u32[]; + let assetId: string; + let confidentialAsset: ConfidentialAsset; beforeAll(() => { dsMockUtils.initMocks(); + entityMockUtils.initMocks(); + assetId = '76702175-d8cb-e3a5-5a19-734433351e25'; }); beforeEach(() => { context = dsMockUtils.getContextInstance(); - eventsPerTransaction = [ - dsMockUtils.createMockU32(new BigNumber(2)), - dsMockUtils.createMockU32(new BigNumber(1)), - dsMockUtils.createMockU32(new BigNumber(3)), - ]; - bigNumberToU32Spy = jest.spyOn(utilsConversionModule, 'bigNumberToU32'); - when(bigNumberToU32Spy) - .calledWith(new BigNumber(2), context) - .mockReturnValue(eventsPerTransaction[0]); - when(bigNumberToU32Spy) - .calledWith(new BigNumber(1), context) - .mockReturnValue(eventsPerTransaction[1]); - when(bigNumberToU32Spy) - .calledWith(new BigNumber(3), context) - .mockReturnValue(eventsPerTransaction[2]); - - receipts = [ - { - filterRecords: jest.fn(), - events: ['tx0event0', 'tx0event1'], - findRecord: jest.fn(), - toHuman: jest.fn(), - }, - { - filterRecords: jest.fn(), - events: ['tx1event0'], - findRecord: jest.fn(), - toHuman: jest.fn(), - }, - { - filterRecords: jest.fn(), - events: ['tx2event0', 'tx2event1', 'tx2event2'], - findRecord: jest.fn(), - toHuman: jest.fn(), - }, - ] as unknown as ISubmittableResult[]; + confidentialAsset = new ConfidentialAsset({ id: assetId }, context); }); afterEach(() => { dsMockUtils.reset(); - jest.restoreAllMocks(); }); afterAll(() => { dsMockUtils.cleanup(); }); - it('should return a receipt with all the combined events in order', () => { - const result = mergeReceipts(receipts, context); - - expect(result.events).toEqual([ - 'tx0event0', - 'tx0event1', - 'tx1event0', - 'tx2event0', - 'tx2event1', - 'tx2event2', - { - event: { - section: 'utility', - method: 'BatchCompleted', - data: [eventsPerTransaction], - }, - }, - ]); + it('should return ConfidentialAsset for the given id', async () => { + const result = asConfidentialAsset(assetId, context); + + expect(result).toEqual(expect.objectContaining({ id: assetId })); }); -}); -describe('createClaim', () => { - it('should create Claim objects from claims data provided by middleware', () => { - let type = 'Jurisdiction'; - const jurisdiction = 'CL'; - let scope = { type: ClaimScopeTypeEnum.Identity, value: 'someScope' }; + it('should return the passed ConfidentialAsset', async () => { + const result = asConfidentialAsset(confidentialAsset, context); - let result = createClaim(type, jurisdiction, scope, null, null); - expect(result).toEqual({ - type: ClaimType.Jurisdiction, - code: CountryCode.Cl, - scope, - }); + expect(result).toBe(confidentialAsset); + }); +}); + +describe('isModuleOrTagMatch', () => { + it("should return true if two tags/modules are equal, or if one is the other one's module", () => { + let result = isModuleOrTagMatch(TxTags.identity.AddInvestorUniquenessClaim, ModuleName.Sto); + expect(result).toEqual(false); - type = 'BuyLockup'; - scope = { type: ClaimScopeTypeEnum.Identity, value: 'someScope' }; + result = isModuleOrTagMatch(ModuleName.Sto, TxTags.identity.AddInvestorUniquenessClaim); + expect(result).toEqual(false); - result = createClaim(type, null, scope, null, null); - expect(result).toEqual({ - type: ClaimType.BuyLockup, - scope, - }); + result = isModuleOrTagMatch( + TxTags.identity.AddInvestorUniquenessClaim, + TxTags.identity.AddClaim + ); + expect(result).toEqual(false); + }); +}); - type = 'CustomerDueDiligence'; - const id = 'someId'; +describe('getMissingTransactionPermissions', () => { + it('should return nullish values when given empty args', () => { + let result = getMissingTransactionPermissions(null, null); + expect(result).toBeUndefined(); - result = createClaim(type, null, null, id, null); - expect(result).toEqual({ - type: ClaimType.CustomerDueDiligence, - id, - }); + result = getMissingTransactionPermissions(null, { values: [], type: PermissionType.Include }); + expect(result).toBeNull(); - type = 'Custom'; - const customClaimTypeId = new BigNumber(1); + result = getMissingTransactionPermissions([], { values: [], type: PermissionType.Include }); + expect(result).toBeUndefined(); + }); - result = createClaim(type, null, scope, id, customClaimTypeId); - expect(result).toEqual({ - type: ClaimType.Custom, - customClaimTypeId, - scope, + it('should handle include type', () => { + const result = getMissingTransactionPermissions([TxTags.asset.CreateAsset], { + type: PermissionType.Include, + values: [], }); + expect(result).toEqual(['asset.createAsset']); }); - it('should throw if customClaimTypeId not provided for CustomClaim', () => { - const scope = { type: ClaimScopeTypeEnum.Identity, value: 'someScope' }; - const id = 'someId'; - const type = 'Custom'; - - expect(() => createClaim(type, null, scope, id, null)).toThrow( - 'Custom claim type ID is required' - ); - }); -}); + it('should handle exempt type', () => { + let result = getMissingTransactionPermissions([TxTags.asset.CreateAsset], { + type: PermissionType.Exclude, + values: [TxTags.asset.CreateAsset], + }); + expect(result).toEqual(['asset.createAsset']); -describe('padString', () => { - it('should pad a string on the right side to cover the supplied length', () => { - const value = 'someString'; - const fakeResult = `${value}\0\0`; + result = getMissingTransactionPermissions([TxTags.balances.Transfer], { + type: PermissionType.Exclude, + values: [ModuleName.Balances], + }); - const result = padString(value, 12); + expect(result).toEqual(['balances.transfer']); - expect(result).toBe(fakeResult); + result = getMissingTransactionPermissions([TxTags.balances.Transfer], { + type: PermissionType.Exclude, + values: [TxTags.asset.CreateAsset], + }); + expect(result).toEqual(undefined); }); }); -describe('removePadding', () => { - it('should remove all null character padding from the input', () => { - const expected = 'someString'; - - const result = removePadding(`${expected}\0\0\0`); +describe('getMissingPortfolioPermissions', () => { + it('should return nullish values when given empty values', () => { + let result = getMissingPortfolioPermissions(null, null); + expect(result).toBeUndefined(); - expect(result).toBe(expected); + result = getMissingPortfolioPermissions(null, { values: [], type: PermissionType.Include }); + expect(result).toBeNull(); }); -}); -describe('requestPaginated', () => { - it('should fetch and return entries and the hex value of the last key', async () => { - const entries = [ - tuple(['ticker0'], dsMockUtils.createMockU32(new BigNumber(0))), - tuple(['ticker1'], dsMockUtils.createMockU32(new BigNumber(1))), - tuple(['ticker2'], dsMockUtils.createMockU32(new BigNumber(2))), - ]; - const queryMock = dsMockUtils.createQueryMock('asset', 'tickers', { - entries, + it('should handle include type', () => { + const defaultPortfolio = entityMockUtils.getDefaultPortfolioInstance(); + const numberedPortfolio = entityMockUtils.getNumberedPortfolioInstance(); + let result = getMissingPortfolioPermissions([defaultPortfolio], { + values: [], + type: PermissionType.Include, }); - let res = await requestPaginated(queryMock, { - paginationOpts: undefined, + expect(result).toEqual([defaultPortfolio]); + + result = getMissingPortfolioPermissions([defaultPortfolio], { + values: [numberedPortfolio], + type: PermissionType.Include, }); - expect(res.lastKey).toBeNull(); - expect(queryMock.entries).toHaveBeenCalledTimes(1); + expect(result).toEqual([defaultPortfolio]); + }); - jest.clearAllMocks(); + it('should handle exclude type', () => { + const defaultPortfolio = entityMockUtils.getDefaultPortfolioInstance(); + const numberedPortfolio = entityMockUtils.getNumberedPortfolioInstance(); - res = await requestPaginated(queryMock, { - paginationOpts: { size: new BigNumber(3) }, + let result = getMissingPortfolioPermissions([defaultPortfolio], { + values: [defaultPortfolio], + type: PermissionType.Exclude, }); - expect(typeof res.lastKey).toBe('string'); - expect(queryMock.entriesPaged).toHaveBeenCalledTimes(1); + expect(result).toEqual([defaultPortfolio]); - jest.clearAllMocks(); - - res = await requestPaginated(queryMock, { - paginationOpts: { size: new BigNumber(4) }, - arg: 'something', + result = getMissingPortfolioPermissions([defaultPortfolio], { + values: [numberedPortfolio], + type: PermissionType.Exclude, }); - expect(res.lastKey).toBeNull(); - expect(queryMock.entriesPaged).toHaveBeenCalledTimes(1); + expect(result).toBeUndefined(); }); }); -describe('getApiAtBlock', () => { +describe('checkConfidentialPermissions', () => { beforeAll(() => { dsMockUtils.initMocks(); + entityMockUtils.initMocks(); }); afterEach(() => { @@ -598,29 +384,63 @@ describe('getApiAtBlock', () => { dsMockUtils.cleanup(); }); - it('should throw an error if the node is not archive', () => { - const context = dsMockUtils.getContextInstance({ - isCurrentNodeArchive: false, + it('return true if not missing permissions', async () => { + const account = entityMockUtils.getAccountInstance({ + getPermissions: { + assets: { type: PermissionType.Include, values: [] }, + transactions: { type: PermissionType.Include, values: [] }, + portfolios: { type: PermissionType.Include, values: [] }, + transactionGroups: [], + }, }); - return expect(getApiAtBlock(context, 'blockHash')).rejects.toThrow( - 'Cannot query previous blocks in a non-archive node' - ); + const result = await checkConfidentialPermissions(account, {}); + + expect(result).toEqual({ result: true }); }); - it('should return corresponding API state at given block', async () => { - const context = dsMockUtils.getContextInstance(); + it('should return missing permissions', async () => { + const asset = entityMockUtils.getBaseAssetInstance(); + const portfolio = entityMockUtils.getDefaultPortfolioInstance(); + + const account = entityMockUtils.getAccountInstance({ + getPermissions: { + assets: { type: PermissionType.Include, values: [] }, + transactions: { type: PermissionType.Exclude, values: [TxTags.asset.CreateAsset] }, + portfolios: { type: PermissionType.Include, values: [] }, + transactionGroups: [], + }, + }); - const result = await getApiAtBlock(context, 'blockHash'); + const result = await checkConfidentialPermissions(account, { + assets: [asset], + transactions: [TxTags.asset.CreateAsset], + portfolios: [portfolio], + }); - expect(result).toEqual(getApiInstance()); - expect(getAtMock()).toHaveBeenCalledTimes(1); + expect(result).toEqual({ + result: false, + missingPermissions: { + assets: [asset], + portfolios: [portfolio], + transactions: ['asset.createAsset'], + }, + }); }); }); -describe('requestAtBlock', () => { +describe('checkConfidentialRoles', () => { + let identity: Identity; + let context: Context; + beforeAll(() => { dsMockUtils.initMocks(); + entityMockUtils.initMocks(); + }); + + beforeEach(() => { + identity = entityMockUtils.getIdentityInstance(); + context = dsMockUtils.getContextInstance(); }); afterEach(() => { @@ -631,1986 +451,87 @@ describe('requestAtBlock', () => { dsMockUtils.cleanup(); }); - it('should fetch and return the value at a certain block (current if left empty)', async () => { - const context = dsMockUtils.getContextInstance({ - isCurrentNodeArchive: true, - }); - const returnValue = dsMockUtils.createMockU32(new BigNumber(5)); - const queryMock = dsMockUtils.createQueryMock('asset', 'tickers', { - returnValue, - }); - const apiAtMock = getAtMock(); + it('should return if the identity has the role', async () => { + const result = await checkConfidentialRoles(identity, [], context); - const blockHash = 'someBlockHash'; - const ticker = 'ticker'; + expect(result).toEqual({ result: true }); + }); - let res = await requestAtBlock( - 'asset', - 'tickers', - { - blockHash, - args: [ticker], - }, + it('should handle confidential asset owner role', async () => { + const result = await checkConfidentialRoles( + identity, + [{ type: RoleType.ConfidentialAssetOwner, assetId: '76702175-d8cb-e3a5-5a19-734433351e25' }], context ); - expect(apiAtMock).toHaveBeenCalledTimes(1); - expect(queryMock).toHaveBeenCalledWith(ticker); - expect(res).toBe(returnValue); - - apiAtMock.mockClear(); + expect(result).toEqual({ result: true }); + }); - res = await requestAtBlock( - 'asset', - 'tickers', - { - args: [ticker], - }, + it('should handle confidential venue owner role', async () => { + const result = await checkConfidentialRoles( + identity, + [{ type: RoleType.ConfidentialVenueOwner, venueId: new BigNumber(1) }], context ); - expect(apiAtMock).toHaveBeenCalledTimes(0); - expect(queryMock).toHaveBeenCalledWith(ticker); - expect(res).toBe(returnValue); + expect(result).toEqual({ result: true }); }); -}); -describe('calculateNextKey', () => { - it('should return NextKey as null when all elements are returned', () => { - const totalCount = new BigNumber(20); - const nextKey = calculateNextKey(totalCount, 20); + it('should handle ticker owner role', async () => { + const result = await checkConfidentialRoles( + identity, + [{ type: PublicRoleType.TickerOwner, ticker: 'TICKER' }], + context + ); - expect(nextKey).toBeNull(); + expect(result).toEqual({ result: true }); }); - it('should return NextKey null as it is the last page', () => { - const totalCount = new BigNumber(50); - const resultSize = 30; - const currentStart = new BigNumber(31); - const nextKey = calculateNextKey(totalCount, resultSize, currentStart); + it('should handle cdd provider role', async () => { + dsMockUtils.createQueryMock('cddServiceProviders', 'activeMembers', { + returnValue: [entityMockUtils.getIdentityInstance()], + }); + const result = await checkConfidentialRoles( + identity, + [{ type: PublicRoleType.CddProvider }], + context + ); - expect(nextKey).toBeNull(); + expect(result).toEqual({ result: false, missingRoles: [{ type: 'CddProvider' }] }); }); - it('should return NextKey', () => { - const totalCount = new BigNumber(50); - const resultSize = 30; - const currentStart = new BigNumber(0); - const nextKey = calculateNextKey(totalCount, resultSize, currentStart); + it('should handle venue owner role', async () => { + const result = await checkConfidentialRoles( + identity, + [{ type: PublicRoleType.VenueOwner, venueId: new BigNumber(1) }], + context + ); - expect(nextKey).toEqual(new BigNumber(30)); + expect(result).toEqual({ result: true }); }); -}); -describe('isPrintableAscii', () => { - it('should return true if the string only contains printable ASCII characters', () => { - expect(isPrintableAscii('TICKER')).toBe(true); - }); + it('should handle portfolio custodian role', async () => { + const mockPortfolio = entityMockUtils.getDefaultPortfolioInstance(); + jest + .spyOn(utilsPublicConversionModule, 'portfolioIdToPortfolio') + .mockReturnValue(mockPortfolio); + + const result = await checkConfidentialRoles( + identity, + [{ type: PublicRoleType.PortfolioCustodian, portfolioId: { did: 'someDid' } }], + context + ); - it("should return false if the string doesn't contain only printable ASCII characters", () => { - expect(isPrintableAscii(String.fromCharCode(10000000))).toBe(false); - }); -}); - -describe('createProcedureMethod', () => { - let context: Context; - let prepare: jest.Mock; - let checkAuthorization: jest.Mock; - let transformer: jest.Mock; - let fakeProcedure: () => Procedure; - - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - beforeEach(() => { - context = dsMockUtils.getContextInstance(); - prepare = jest.fn(); - checkAuthorization = jest.fn(); - transformer = jest.fn(); - fakeProcedure = (): Procedure => - ({ - prepare, - checkAuthorization, - } as unknown as Procedure); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should return a ProcedureMethod object', async () => { - const method: ProcedureMethod = createProcedureMethod( - { getProcedureAndArgs: args => [fakeProcedure, args], transformer }, - context - ); - - const procArgs = 1; - await method(procArgs); - - expect(prepare).toHaveBeenCalledWith({ args: procArgs, transformer }, context, {}); - - await method.checkAuthorization(procArgs); - - expect(checkAuthorization).toHaveBeenCalledWith(procArgs, context, {}); - }); - - it('should return a OptionalArgsProcedureMethod object', async () => { - const method: OptionalArgsProcedureMethod = createProcedureMethod( - { - getProcedureAndArgs: (args?: number) => [fakeProcedure, args], - transformer, - optionalArgs: true, - }, - context - ); - - await method(); - - expect(prepare).toHaveBeenCalledWith({ args: undefined, transformer }, context, {}); - - await method.checkAuthorization(undefined); - - expect(checkAuthorization).toHaveBeenCalledWith(undefined, context, {}); - - const procArgs = 1; - await method(procArgs); - - expect(prepare).toHaveBeenCalledWith({ args: procArgs, transformer }, context, {}); - - await method.checkAuthorization(procArgs); - - expect(checkAuthorization).toHaveBeenCalledWith(procArgs, context, {}); - }); - - it('should return a NoArgsProcedureMethod object', async () => { - const noArgsFakeProcedure = (): Procedure => - ({ - prepare, - checkAuthorization, - } as unknown as Procedure); - - const method = createProcedureMethod( - { getProcedureAndArgs: () => [noArgsFakeProcedure, undefined], transformer, voidArgs: true }, - context - ); - - await method(); - - expect(prepare).toHaveBeenCalledWith({ transformer, args: undefined }, context, {}); - - await method.checkAuthorization(); - - expect(checkAuthorization).toHaveBeenCalledWith(undefined, context, {}); - }); -}); - -describe('assertIsInteger', () => { - it('should not throw if the argument is an integer', async () => { - try { - assertIsInteger(new BigNumber(1)); - } catch (_) { - expect(true).toBe(false); - } - }); - - it('should throw an error if the argument is not an integer', async () => { - expect(() => assertIsInteger(new BigNumber('noInteger'))).toThrow( - 'The number must be an integer' - ); - - expect(() => assertIsInteger(new BigNumber(1.2))).toThrow('The number must be an integer'); - }); -}); - -describe('assertIsPositive', () => { - it('should not throw an error if the argument is positive', () => { - expect(() => assertIsPositive(new BigNumber(43))).not.toThrow(); - }); - it('should throw an error if the argument is negative', async () => { - expect(() => assertIsPositive(new BigNumber(-3))).toThrow('The number must be positive'); - }); -}); - -describe('assertAddressValid', () => { - const ss58Format = new BigNumber(42); - - it('should throw an error if the address is not a valid ss58 address', async () => { - expect(() => - // cSpell: disable-next-line - assertAddressValid('foo', ss58Format) - ).toThrow('The supplied address is not a valid SS58 address'); - }); - - it('should throw an error if the address is prefixed with an invalid ss58', async () => { - expect(() => - // cSpell: disable-next-line - assertAddressValid('ajYMsCKsEAhEvHpeA4XqsfiA9v1CdzZPrCfS6pEfeGHW9j8', ss58Format) - ).toThrow("The supplied address is not encoded with the chain's SS58 format"); - }); - - it('should not throw if the address is valid and prefixed with valid ss58', async () => { - expect(() => - assertAddressValid('5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY', ss58Format) - ).not.toThrow(); - }); -}); - -describe('asTicker', () => { - it('should return an Asset symbol', async () => { - const symbol = 'ASSET'; - let result = asTicker(symbol); - - expect(result).toBe(symbol); - - result = asTicker(new FungibleAsset({ ticker: symbol }, dsMockUtils.getContextInstance())); - expect(result).toBe(symbol); - }); -}); - -describe('optionize', () => { - it('should transform a conversion util into a version that returns null if the first input is falsy, passing along the rest if not', () => { - const number = new BigNumber(1); - - const toString = (value: BigNumber, foo: string, bar: number): string => - `${value.toString()}${foo}${bar}`; - - let result = optionize(toString)(number, 'notNeeded', 1); - expect(result).toBe(toString(number, 'notNeeded', 1)); - - result = optionize(toString)(null, 'stillNotNeeded', 2); - expect(result).toBeNull(); - }); -}); - -describe('isModuleOrTagMatch', () => { - it("should return true if two tags/modules are equal, or if one is the other one's module", () => { - let result = isModuleOrTagMatch(TxTags.identity.AddInvestorUniquenessClaim, ModuleName.Sto); - expect(result).toEqual(false); - - result = isModuleOrTagMatch(ModuleName.Sto, TxTags.identity.AddInvestorUniquenessClaim); - expect(result).toEqual(false); - - result = isModuleOrTagMatch( - TxTags.identity.AddInvestorUniquenessClaim, - TxTags.identity.AddClaim - ); - expect(result).toEqual(false); - }); -}); - -describe('getCheckpointValue', () => { - let context: Context; - - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - beforeEach(() => { - context = dsMockUtils.getContextInstance(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should return value as it is for valid params of type Checkpoint, CheckpointSchedule or Date', async () => { - const mockCheckpointSchedule = entityMockUtils.getCheckpointScheduleInstance(); - const mockAsset = entityMockUtils.getFungibleAssetInstance(); - let result = await getCheckpointValue(mockCheckpointSchedule, mockAsset, context); - expect(result).toEqual(mockCheckpointSchedule); - - const mockCheckpoint = entityMockUtils.getCheckpointInstance(); - result = await getCheckpointValue(mockCheckpoint, mockAsset, context); - expect(result).toEqual(mockCheckpoint); - - const mockCheckpointDate = new Date(); - result = await getCheckpointValue(mockCheckpointDate, mockAsset, context); - expect(result).toEqual(mockCheckpointDate); - }); - - it('should return Checkpoint instance for params with type `Existing`', async () => { - const mockCheckpoint = entityMockUtils.getCheckpointInstance(); - const mockCaCheckpointTypeParams = { - id: new BigNumber(1), - type: CaCheckpointType.Existing, - }; - const mockAsset = entityMockUtils.getFungibleAssetInstance({ - checkpointsGetOne: mockCheckpoint, - }); - - const result = await getCheckpointValue(mockCaCheckpointTypeParams, mockAsset, context); - expect(result).toEqual(mockCheckpoint); - }); - - it('should return Checkpoint instance for params with type `Scheduled`', async () => { - const mockCheckpointSchedule = entityMockUtils.getCheckpointScheduleInstance(); - const mockCaCheckpointTypeParams = { - id: new BigNumber(1), - type: CaCheckpointType.Schedule, - }; - const mockAsset = entityMockUtils.getFungibleAssetInstance({ - checkpointsSchedulesGetOne: { schedule: mockCheckpointSchedule }, - }); - - const result = await getCheckpointValue(mockCaCheckpointTypeParams, mockAsset, context); - expect(result).toMatchObject({ - ...mockCheckpointSchedule, - asset: expect.anything(), - points: expect.any(Array), - }); - }); -}); - -describe('hasSameElements', () => { - it('should use provided comparator for matching the elements ', () => { - let result = hasSameElements( - [ - { id: 1, name: 'X' }, - { id: 2, name: 'Y' }, - ], - [ - { id: 1, name: 'X' }, - { id: 2, name: 'Z' }, - ], - (a, b) => a.id === b.id - ); - expect(result).toEqual(true); - - result = hasSameElements( - [ - { id: 1, name: 'X' }, - { id: 2, name: 'Y' }, - ], - [ - { id: 1, name: 'X' }, - { id: 3, name: 'Z' }, - ], - (a, b) => a.id === b.id - ); - expect(result).toEqual(false); - }); - - it('should use the lodash `isEqual` if no comparator is provided', () => { - let result = hasSameElements([1, 2], [2, 1]); - expect(result).toEqual(true); - - result = hasSameElements([1, 2], [2, 3]); - expect(result).toEqual(false); - }); -}); - -describe('getPortfolioIdsByName', () => { - let context: Context; - let portfoliosMock: jest.Mock; - let firstPortfolioName: MockCodec; - let rawNames: Bytes[]; - let identityId: PolymeshPrimitivesIdentityId; - - beforeAll(() => { - dsMockUtils.initMocks(); - entityMockUtils.initMocks(); - }); - - beforeEach(() => { - context = dsMockUtils.getContextInstance(); - firstPortfolioName = dsMockUtils.createMockBytes('someName'); - rawNames = [firstPortfolioName, dsMockUtils.createMockBytes('otherName')]; - identityId = dsMockUtils.createMockIdentityId('someDid'); - dsMockUtils.createQueryMock('portfolio', 'nameToNumber', { - multi: [ - dsMockUtils.createMockOption(dsMockUtils.createMockU64(new BigNumber(1))), - dsMockUtils.createMockOption(dsMockUtils.createMockU64(new BigNumber(2))), - dsMockUtils.createMockOption(), - dsMockUtils.createMockOption(), - ], - }); - portfoliosMock = dsMockUtils.createQueryMock('portfolio', 'portfolios'); - }); - - afterEach(() => { - dsMockUtils.reset(); - entityMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should return portfolio numbers for given portfolio name, and null for names that do not exist', async () => { - portfoliosMock.mockResolvedValue(firstPortfolioName); - firstPortfolioName.eq = jest.fn(); - when(firstPortfolioName.eq).calledWith(rawNames[0]).mockReturnValue(true); - const result = await getPortfolioIdsByName( - identityId, - [ - ...rawNames, - dsMockUtils.createMockBytes('anotherName'), - dsMockUtils.createMockBytes('yetAnotherName'), - ], - context - ); - - expect(result).toEqual([new BigNumber(1), new BigNumber(2), null, null]); - }); -}); - -describe('getIdentity', () => { - let context: Context; - - beforeAll(() => { - dsMockUtils.initMocks(); - entityMockUtils.initMocks(); - }); - - beforeEach(() => { - context = dsMockUtils.getContextInstance(); - }); - - afterEach(() => { - dsMockUtils.reset(); - entityMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should return currentIdentity when given undefined value', async () => { - const expectedIdentity = await context.getSigningIdentity(); - const result = await getIdentity(undefined, context); - expect(result).toEqual(expectedIdentity); - }); - - it('should return an Identity if given an Identity', async () => { - const identity = entityMockUtils.getIdentityInstance(); - const result = await getIdentity(identity, context); - expect(result).toEqual(identity); - }); - - it('should return the Identity given its DID', async () => { - const identity = entityMockUtils.getIdentityInstance(); - const result = await getIdentity(identity.did, context); - expect(result.did).toEqual(identity.did); - }); -}); - -describe('getExemptedIds', () => { - let context: Context; - - beforeAll(() => { - dsMockUtils.initMocks(); - entityMockUtils.initMocks(); - }); - - beforeEach(() => { - context = dsMockUtils.getContextInstance(); - }); - - afterEach(() => { - dsMockUtils.reset(); - entityMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should return a list of DIDs if the Asset does not support PUIS', async () => { - const dids = ['someDid', 'otherDid']; - - const result = await getExemptedIds(dids, context); - - expect(result).toEqual(dids); - }); - - it('should throw an error if the exempted IDs have duplicates', () => { - const dids = ['someDid', 'someDid']; - - return expect(getExemptedIds(dids, context)).rejects.toThrow( - 'One or more of the passed exempted Identities are repeated or have the same Scope ID' - ); - }); -}); - -describe('assertExpectedSqVersion', () => { - let warnSpy: jest.SpyInstance; - let context: MockContext; - - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - beforeEach(() => { - context = dsMockUtils.getContextInstance(); - warnSpy = jest.spyOn(console, 'warn').mockImplementation(() => undefined); - }); - - afterEach(() => { - warnSpy.mockClear(); - dsMockUtils.reset(); - }); - - afterAll(() => { - warnSpy.mockRestore(); - }); - - it('should not log a warning if SDK is initialized with the correct Middleware V2 version', async () => { - dsMockUtils.createApolloQueryMock(latestSqVersionQuery(), { - subqueryVersions: { - nodes: [ - { - version: '12.2.0-alpha.2', - }, - ], - }, - }); - const promise = assertExpectedSqVersion(dsMockUtils.getContextInstance()); - - await expect(promise).resolves.not.toThrow(); - - expect(warnSpy).not.toHaveBeenCalled(); - }); - - it('should log a warning for incompatible Subquery version', async () => { - dsMockUtils.createApolloQueryMock(latestSqVersionQuery(), { - subqueryVersions: { - nodes: [ - { - version: '9.6.0', - }, - ], - }, - }); - await assertExpectedSqVersion(context); - - expect(warnSpy).toHaveBeenCalledTimes(1); - expect(warnSpy).toHaveBeenCalledWith( - `This version of the SDK supports Polymesh Subquery version ${MINIMUM_SQ_VERSION} or higher. Please upgrade the MiddlewareV2` - ); - - warnSpy.mockReset(); - - dsMockUtils.createApolloQueryMock(latestSqVersionQuery(), { - subqueryVersions: { - nodes: [], - }, - }); - await assertExpectedSqVersion(context); - - expect(warnSpy).toHaveBeenCalledTimes(1); - }); -}); - -describe('assertExpectedChainVersion', () => { - let client: MockWebSocket; - let warnSpy: jest.SpyInstance; - - const getSpecVersion = (version: string): string => - `${version - .split('.') - .map(number => `00${number}`.slice(-3)) - .join('')}`; - - const getMismatchedVersion = (version: string, versionIndex = 1): string => - version - .split('.') - .map((number, index) => (index === versionIndex ? +number + 4 : number)) - .join('.'); - - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - beforeEach(() => { - client = getWebSocketInstance(); - warnSpy = jest.spyOn(console, 'warn').mockImplementation(() => undefined); - }); - - afterEach(() => { - warnSpy.mockClear(); - dsMockUtils.reset(); - }); - - afterAll(() => { - warnSpy.mockRestore(); - }); - - it('should resolve if it receives both expected RPC node and chain spec version', () => { - const signal = assertExpectedChainVersion('ws://example.com'); - client.onopen(); - - return expect(signal).resolves.not.toThrow(); - }); - - it('should throw an error given a major RPC node version mismatch', () => { - const signal = assertExpectedChainVersion('ws://example.com'); - const mismatchedVersion = getMismatchedVersion(SUPPORTED_NODE_SEMVER, 0); - client.sendRpcVersion(mismatchedVersion); - const expectedError = new PolymeshError({ - code: ErrorCode.FatalError, - message: 'Unsupported Polymesh RPC node version. Please upgrade the SDK', - }); - return expect(signal).rejects.toThrowError(expectedError); - }); - - it('should log a warning given a minor or patch RPC node version mismatch', async () => { - const signal = assertExpectedChainVersion('ws://example.com'); - - client.sendSpecVersion(getSpecVersion(SUPPORTED_SPEC_SEMVER)); - - const mockRpcVersion = getMismatchedVersion(SUPPORTED_NODE_SEMVER); - client.sendRpcVersion(mockRpcVersion); - - await signal; - expect(warnSpy).toHaveBeenCalledTimes(1); - expect(warnSpy).toHaveBeenCalledWith( - `This version of the SDK supports Polymesh RPC node version ${SUPPORTED_NODE_VERSION_RANGE}. The node is at version ${mockRpcVersion}. Please upgrade the SDK` - ); - }); - - it('should throw an error given a major chain spec version mismatch', () => { - const signal = assertExpectedChainVersion('ws://example.com'); - const mismatchedSpecVersion = getMismatchedVersion(SUPPORTED_SPEC_SEMVER, 0); - client.sendSpecVersion(getSpecVersion(mismatchedSpecVersion)); - const expectedError = new PolymeshError({ - code: ErrorCode.FatalError, - message: 'Unsupported Polymesh chain spec version. Please upgrade the SDK', - }); - return expect(signal).rejects.toThrowError(expectedError); - }); - - it('should log a warning given a minor chain spec version mismatch', async () => { - const signal = assertExpectedChainVersion('ws://example.com'); - const mockSpecVersion = getMismatchedVersion(SUPPORTED_SPEC_SEMVER); - client.sendSpecVersion(getSpecVersion(mockSpecVersion)); - client.sendRpcVersion(SUPPORTED_NODE_SEMVER); - await signal; - expect(warnSpy).toHaveBeenCalledTimes(1); - expect(warnSpy).toHaveBeenCalledWith( - `This version of the SDK supports Polymesh chain spec version ${SUPPORTED_SPEC_VERSION_RANGE}. The chain spec is at version ${mockSpecVersion}. Please upgrade the SDK` - ); - }); - - it('should resolve even with a patch chain spec version mismatch', async () => { - const signal = assertExpectedChainVersion('ws://example.com'); - const mockSpecVersion = getMismatchedVersion(SUPPORTED_SPEC_SEMVER, 2); - client.sendSpecVersion(getSpecVersion(mockSpecVersion)); - client.sendRpcVersion(SUPPORTED_NODE_SEMVER); - await signal; - expect(warnSpy).toHaveBeenCalledTimes(0); - }); - - it('should throw an error if the node cannot be reached', () => { - const signal = assertExpectedChainVersion('ws://example.com'); - const expectedError = new PolymeshError({ - code: ErrorCode.FatalError, - message: 'Could not connect to the Polymesh node at ws://example.com', - }); - client.triggerError(new Error('could not connect')); - return expect(signal).rejects.toThrowError(expectedError); - }); -}); - -describe('assertTickerValid', () => { - it('should throw an error if the string is empty', () => { - const ticker = ''; - - expect(() => assertTickerValid(ticker)).toThrow( - `Ticker length must be between 1 and ${MAX_TICKER_LENGTH} character` - ); - }); - - it('should throw an error if the string length exceeds the max ticker length', () => { - const ticker = 'VERY_LONG_TICKER'; - - expect(() => assertTickerValid(ticker)).toThrow( - `Ticker length must be between 1 and ${MAX_TICKER_LENGTH} character` - ); - }); - - it('should throw an error if the string contains unreadable characters', () => { - const ticker = `ILLEGAL_${String.fromCharCode(65533)}`; - - expect(() => assertTickerValid(ticker)).toThrow( - 'Only printable ASCII is allowed as ticker name' - ); - }); - - it('should throw an error if the string is not in upper case', () => { - const ticker = 'FakeTicker'; - - expect(() => assertTickerValid(ticker)).toThrow('Ticker cannot contain lower case letters'); - }); - - it('should throw an error if the ticker contains a emoji', () => { - const ticker = '💎'; - - expect(() => assertTickerValid(ticker)).toThrow( - 'Only printable ASCII is allowed as ticker name' - ); - }); - - it('should not throw an error', () => { - const ticker = 'FAKE_TICKER'; - - assertTickerValid(ticker); - }); -}); - -describe('neededStatTypeForRestrictionInput', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should return a raw StatType based on the given TransferRestrictionType', () => { - const context = dsMockUtils.getContextInstance(); - const mockClaimIssuer: [ - PolymeshPrimitivesIdentityClaimClaimType, - PolymeshPrimitivesIdentityId - ] = [dsMockUtils.createMockClaimType(), dsMockUtils.createMockIdentityId()]; - - jest - .spyOn(utilsConversionModule, 'claimIssuerToMeshClaimIssuer') - .mockReturnValue(mockClaimIssuer); - - when(context.createType) - .calledWith('PolymeshPrimitivesStatisticsStatOpType', StatType.Count) - .mockReturnValue('Count' as unknown as PolymeshPrimitivesStatisticsStatOpType); - when(context.createType) - .calledWith('PolymeshPrimitivesStatisticsStatOpType', StatType.Balance) - .mockReturnValue('Balance' as unknown as PolymeshPrimitivesStatisticsStatOpType); - - when(context.createType) - .calledWith('PolymeshPrimitivesStatisticsStatType', { op: 'Count', claimIssuer: undefined }) - .mockReturnValue('CountStat' as unknown as PolymeshPrimitivesStatisticsStatType); - when(context.createType) - .calledWith('PolymeshPrimitivesStatisticsStatType', { op: 'Balance', claimIssuer: undefined }) - .mockReturnValue('BalanceStat' as unknown as PolymeshPrimitivesStatisticsStatType); - when(context.createType) - .calledWith('PolymeshPrimitivesStatisticsStatType', { - op: 'Balance', - claimIssuer: mockClaimIssuer, - }) - .mockReturnValue('ScopedBalanceStat' as unknown as PolymeshPrimitivesStatisticsStatType); - - let result = neededStatTypeForRestrictionInput( - { type: TransferRestrictionType.Count }, - context - ); - - expect(result).toEqual('CountStat'); - - result = neededStatTypeForRestrictionInput( - { type: TransferRestrictionType.Percentage }, - context - ); - expect(result).toEqual('BalanceStat'); - - result = neededStatTypeForRestrictionInput( - { - type: TransferRestrictionType.ClaimPercentage, - claimIssuer: { - claimType: ClaimType.Jurisdiction, - issuer: entityMockUtils.getIdentityInstance(), - }, - }, - context - ); - expect(result).toEqual('ScopedBalanceStat'); - }); -}); - -describe('compareTransferRestrictionToInput', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should return true when the input matches the TransferRestriction type', () => { - const countTransferRestriction = dsMockUtils.createMockTransferCondition({ - MaxInvestorCount: dsMockUtils.createMockU64(new BigNumber(10)), - }); - let result = compareTransferRestrictionToInput(countTransferRestriction, { - type: TransferRestrictionType.Count, - value: new BigNumber(10), - }); - expect(result).toEqual(true); - - const percentTransferRestriction = dsMockUtils.createMockTransferCondition({ - MaxInvestorOwnership: dsMockUtils.createMockPermill(new BigNumber(100000)), - }); - - result = compareTransferRestrictionToInput(percentTransferRestriction, { - type: TransferRestrictionType.Percentage, - value: new BigNumber(10), - }); - expect(result).toEqual(true); - - const claimCountTransferRestriction = dsMockUtils.createMockTransferCondition({ - ClaimCount: [ - dsMockUtils.createMockStatisticsStatClaim({ Accredited: dsMockUtils.createMockBool(true) }), - dsMockUtils.createMockIdentityId('someDid'), - dsMockUtils.createMockU64(new BigNumber(10)), - dsMockUtils.createMockOption(), - ], - }); - - result = compareTransferRestrictionToInput(claimCountTransferRestriction, { - value: { - min: new BigNumber(10), - claim: { type: ClaimType.Accredited, accredited: true }, - issuer: entityMockUtils.getIdentityInstance({ did: 'someDid' }), - }, - type: TransferRestrictionType.ClaimCount, - }); - - expect(result).toEqual(true); - - const claimCountTransferRestrictionWithMax = dsMockUtils.createMockTransferCondition({ - ClaimCount: [ - dsMockUtils.createMockStatisticsStatClaim({ Affiliate: dsMockUtils.createMockBool(true) }), - dsMockUtils.createMockIdentityId('someDid'), - dsMockUtils.createMockU64(new BigNumber(10)), - dsMockUtils.createMockOption(dsMockUtils.createMockU64(new BigNumber(20))), - ], - }); - - result = compareTransferRestrictionToInput(claimCountTransferRestrictionWithMax, { - value: { - min: new BigNumber(10), - max: new BigNumber(20), - claim: { type: ClaimType.Affiliate, affiliate: true }, - issuer: entityMockUtils.getIdentityInstance({ did: 'someDid' }), - }, - type: TransferRestrictionType.ClaimCount, - }); - - expect(result).toEqual(true); - - const claimPercentageTransferRestriction = dsMockUtils.createMockTransferCondition({ - ClaimOwnership: [ - dsMockUtils.createMockStatisticsStatClaim({ - Jurisdiction: dsMockUtils.createMockOption( - dsMockUtils.createMockCountryCode(CountryCode.Ca) - ), - }), - dsMockUtils.createMockIdentityId('someDid'), - dsMockUtils.createMockPermill(new BigNumber(100000)), - dsMockUtils.createMockPermill(new BigNumber(200000)), - ], - }); - - result = compareTransferRestrictionToInput(claimPercentageTransferRestriction, { - value: { - min: new BigNumber(10), - max: new BigNumber(20), - claim: { type: ClaimType.Jurisdiction, countryCode: CountryCode.Ca }, - issuer: entityMockUtils.getIdentityInstance({ did: 'someDid' }), - }, - type: TransferRestrictionType.ClaimPercentage, - }); - - expect(result).toEqual(true); - }); - - it('should return false if things do not match', () => { - const claimCountTransferRestrictionWithMax = dsMockUtils.createMockTransferCondition({ - ClaimCount: [ - dsMockUtils.createMockStatisticsStatClaim({ Affiliate: dsMockUtils.createMockBool(true) }), - dsMockUtils.createMockIdentityId('someDid'), - dsMockUtils.createMockU64(new BigNumber(10)), - dsMockUtils.createMockOption(dsMockUtils.createMockU64(new BigNumber(20))), - ], - }); - - let result = compareTransferRestrictionToInput(claimCountTransferRestrictionWithMax, { - value: { - min: new BigNumber(10), - max: new BigNumber(21), - claim: { type: ClaimType.Affiliate, affiliate: true }, - issuer: entityMockUtils.getIdentityInstance({ did: 'someDid' }), - }, - type: TransferRestrictionType.ClaimCount, - }); - - expect(result).toEqual(false); - - const claimPercentageTransferRestrictionNoMax = dsMockUtils.createMockTransferCondition({ - ClaimCount: [ - dsMockUtils.createMockStatisticsStatClaim({ - Accredited: dsMockUtils.createMockBool(true), - }), - dsMockUtils.createMockIdentityId('someDid'), - dsMockUtils.createMockU64(new BigNumber(10)), - dsMockUtils.createMockOption(), - ], - }); - - result = compareTransferRestrictionToInput(claimPercentageTransferRestrictionNoMax, { - value: { - min: new BigNumber(10), - max: new BigNumber(20), - claim: { type: ClaimType.Affiliate, affiliate: true }, - issuer: entityMockUtils.getIdentityInstance({ did: 'someDid' }), - }, - type: TransferRestrictionType.ClaimCount, - }); - - expect(result).toEqual(false); - - const claimPercentageTransferRestriction = dsMockUtils.createMockTransferCondition({ - ClaimOwnership: [ - dsMockUtils.createMockStatisticsStatClaim({ - Jurisdiction: dsMockUtils.createMockOption( - dsMockUtils.createMockCountryCode(CountryCode.Ca) - ), - }), - dsMockUtils.createMockIdentityId('someDid'), - dsMockUtils.createMockPermill(new BigNumber(100000)), - dsMockUtils.createMockPermill(new BigNumber(200000)), - ], - }); - - result = compareTransferRestrictionToInput(claimPercentageTransferRestriction, { - value: { - min: new BigNumber(10), - max: new BigNumber(21), - claim: { type: ClaimType.Jurisdiction, countryCode: CountryCode.Ca }, - issuer: entityMockUtils.getIdentityInstance({ did: 'someDid' }), - }, - type: TransferRestrictionType.ClaimPercentage, - }); - - expect(result).toEqual(false); - - result = compareTransferRestrictionToInput(claimPercentageTransferRestriction, { - value: { - min: new BigNumber(10), - max: new BigNumber(21), - claim: { type: ClaimType.Jurisdiction, countryCode: CountryCode.Ca }, - issuer: entityMockUtils.getIdentityInstance({ did: 'someDid' }), - }, - type: TransferRestrictionType.ClaimPercentage, - }); - - expect(result).toEqual(false); - }); -}); - -describe('compareStatTypeToTransferRestrictionType', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - const did = 'someDid'; - const issuerId = dsMockUtils.createMockIdentityId(did); - - const countStatType = dsMockUtils.createMockStatisticsStatType({ - op: dsMockUtils.createMockStatisticsOpType(StatType.Count), - claimIssuer: dsMockUtils.createMockOption(), - }); - const percentStatType = dsMockUtils.createMockStatisticsStatType({ - op: dsMockUtils.createMockStatisticsOpType(StatType.Balance), - claimIssuer: dsMockUtils.createMockOption(), - }); - - const claimCountStat = dsMockUtils.createMockStatisticsStatType({ - op: dsMockUtils.createMockStatisticsOpType(StatType.Count), - claimIssuer: dsMockUtils.createMockOption([ - dsMockUtils.createMockClaimType(ClaimType.Affiliate), - issuerId, - ]), - }); - const claimPercentageStat = dsMockUtils.createMockStatisticsStatType({ - op: dsMockUtils.createMockStatisticsOpType(StatType.Balance), - claimIssuer: dsMockUtils.createMockOption([ - dsMockUtils.createMockClaimType(ClaimType.Affiliate), - issuerId, - ]), - }); - - it('should return true if the PolymeshPrimitivesStatisticsStatType matches the given TransferRestriction', () => { - let result = compareStatTypeToTransferRestrictionType( - countStatType, - TransferRestrictionType.Count - ); - expect(result).toEqual(true); - - result = compareStatTypeToTransferRestrictionType( - percentStatType, - TransferRestrictionType.Percentage - ); - expect(result).toEqual(true); - - result = compareStatTypeToTransferRestrictionType( - claimCountStat, - TransferRestrictionType.ClaimCount - ); - expect(result).toEqual(true); - - result = compareStatTypeToTransferRestrictionType( - claimPercentageStat, - TransferRestrictionType.ClaimPercentage - ); - expect(result).toEqual(true); - }); - - it('should return false if the PolymeshPrimitivesStatisticsStatType does not match the given TransferRestriction', () => { - let result = compareStatTypeToTransferRestrictionType( - countStatType, - TransferRestrictionType.Percentage - ); - expect(result).toEqual(false); - - result = compareStatTypeToTransferRestrictionType( - percentStatType, - TransferRestrictionType.Count - ); - expect(result).toEqual(false); - - result = compareStatTypeToTransferRestrictionType( - claimCountStat, - TransferRestrictionType.ClaimPercentage - ); - expect(result).toEqual(false); - - result = compareStatTypeToTransferRestrictionType( - claimPercentageStat, - TransferRestrictionType.ClaimCount - ); - expect(result).toEqual(false); - }); -}); - -describe('compareStatsToInput', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - const did = 'someDid'; - const issuer = entityMockUtils.getIdentityInstance({ did }); - const issuerId = dsMockUtils.createMockIdentityId(did); - const ticker = 'TICKER'; - - it('should return true if input matches stat', () => { - const countStat = dsMockUtils.createMockStatisticsStatType({ - op: dsMockUtils.createMockStatisticsOpType(StatType.Count), - claimIssuer: dsMockUtils.createMockOption(), - }); - - let args: RemoveAssetStatParams = { - type: StatType.Count, - ticker, - }; - - let result = compareStatsToInput(countStat, args); - expect(result).toEqual(true); - - const percentStat = dsMockUtils.createMockStatisticsStatType({ - op: dsMockUtils.createMockStatisticsOpType(StatType.Balance), - claimIssuer: dsMockUtils.createMockOption(), - }); - args = { type: StatType.Balance, ticker }; - result = compareStatsToInput(percentStat, args); - expect(result).toEqual(true); - - const claimCountStat = dsMockUtils.createMockStatisticsStatType({ - op: dsMockUtils.createMockStatisticsOpType(StatType.Count), - claimIssuer: dsMockUtils.createMockOption([ - dsMockUtils.createMockClaimType(ClaimType.Affiliate), - issuerId, - ]), - }); - args = { - type: StatType.ScopedCount, - issuer, - claimType: ClaimType.Affiliate, - ticker, - }; - result = compareStatsToInput(claimCountStat, args); - expect(result).toEqual(true); - - const claimPercentageStat = dsMockUtils.createMockStatisticsStatType({ - op: dsMockUtils.createMockStatisticsOpType(StatType.Balance), - claimIssuer: dsMockUtils.createMockOption([ - dsMockUtils.createMockClaimType(ClaimType.Affiliate), - issuerId, - ]), - }); - args = { - type: StatType.ScopedBalance, - issuer, - claimType: ClaimType.Affiliate, - ticker, - }; - result = compareStatsToInput(claimPercentageStat, args); - expect(result).toEqual(true); - }); - - it('should return false if input does not match the stat', () => { - const countStat = dsMockUtils.createMockStatisticsStatType({ - op: dsMockUtils.createMockStatisticsOpType(StatType.Count), - claimIssuer: dsMockUtils.createMockOption(), - }); - - let args: RemoveAssetStatParams = { - type: StatType.Balance, - ticker, - }; - let result = compareStatsToInput(countStat, args); - expect(result).toEqual(false); - - const percentStat = dsMockUtils.createMockStatisticsStatType({ - op: dsMockUtils.createMockStatisticsOpType(StatType.Balance), - claimIssuer: dsMockUtils.createMockOption(), - }); - args = { - type: StatType.ScopedBalance, - issuer, - claimType: ClaimType.Accredited, - ticker, - }; - result = compareStatsToInput(percentStat, args); - expect(result).toEqual(false); - - const claimCountStat = dsMockUtils.createMockStatisticsStatType({ - op: dsMockUtils.createMockStatisticsOpType(StatType.Count), - claimIssuer: dsMockUtils.createMockOption([ - dsMockUtils.createMockClaimType(ClaimType.Jurisdiction), - issuerId, - ]), - }); - args = { - type: StatType.ScopedCount, - issuer, - claimType: ClaimType.Affiliate, - ticker, - }; - result = compareStatsToInput(claimCountStat, args); - expect(result).toEqual(false); - - args = { - type: StatType.ScopedCount, - issuer: entityMockUtils.getIdentityInstance({ did: 'differentDid' }), - claimType: ClaimType.Jurisdiction, - ticker, - }; - result = compareStatsToInput(claimCountStat, args); - expect(result).toEqual(false); - - result = compareStatsToInput(percentStat, args); - expect(result).toEqual(false); - - args = { - type: StatType.Count, - ticker, - }; - - result = compareStatsToInput(claimCountStat, args); - expect(result).toEqual(false); - }); -}); - -describe('compareTransferRestrictionToStat', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - const did = 'someDid'; - const min = new BigNumber(10); - const max = new BigNumber(20); - const issuer = entityMockUtils.getIdentityInstance({ did }); - const rawMax = dsMockUtils.createMockU64(max); - const optionMax = dsMockUtils.createMockOption(rawMax); - const rawMin = dsMockUtils.createMockU64(min); - const rawIssuerId = dsMockUtils.createMockIdentityId(did); - const rawClaim = createMockStatisticsStatClaim({ Accredited: dsMockUtils.createMockBool(true) }); - - it('should return true when a transfer restriction matches a stat', () => { - const countCondition = dsMockUtils.createMockTransferCondition({ MaxInvestorCount: rawMax }); - let result = compareTransferRestrictionToStat(countCondition, StatType.Count); - expect(result).toEqual(true); - - const percentCondition = dsMockUtils.createMockTransferCondition({ - MaxInvestorOwnership: rawMax, - }); - result = compareTransferRestrictionToStat(percentCondition, StatType.Balance); - expect(result).toEqual(true); - - const claimCountCondition = dsMockUtils.createMockTransferCondition({ - ClaimCount: [rawClaim, rawIssuerId, rawMin, optionMax], - }); - result = compareTransferRestrictionToStat(claimCountCondition, StatType.ScopedCount, { - claimType: ClaimType.Accredited, - issuer, - }); - expect(result).toEqual(true); - - const claimPercentageCondition = dsMockUtils.createMockTransferCondition({ - ClaimOwnership: [rawClaim, rawIssuerId, rawMin, rawMax], - }); - result = compareTransferRestrictionToStat(claimPercentageCondition, StatType.ScopedBalance, { - claimType: ClaimType.Accredited, - issuer, - }); - expect(result).toEqual(true); - }); - - it('should return false when a transfer restriction does not match the given stat', () => { - const countCondition = dsMockUtils.createMockTransferCondition({ MaxInvestorCount: rawMax }); - let result = compareTransferRestrictionToStat(countCondition, StatType.Balance); - expect(result).toEqual(false); - - const percentCondition = dsMockUtils.createMockTransferCondition({ - MaxInvestorOwnership: rawMax, - }); - result = compareTransferRestrictionToStat(percentCondition, StatType.Count); - expect(result).toEqual(false); - - const claimCountCondition = dsMockUtils.createMockTransferCondition({ - ClaimCount: [rawClaim, rawIssuerId, rawMin, optionMax], - }); - result = compareTransferRestrictionToStat(claimCountCondition, StatType.ScopedCount, { - claimType: ClaimType.Affiliate, - issuer, - }); - expect(result).toEqual(false); - - const claimPercentageCondition = dsMockUtils.createMockTransferCondition({ - ClaimOwnership: [rawClaim, rawIssuerId, rawMin, rawMax], - }); - result = compareTransferRestrictionToStat(claimPercentageCondition, StatType.ScopedBalance, { - claimType: ClaimType.Accredited, - issuer: entityMockUtils.getIdentityInstance({ did: 'otherDid' }), - }); - expect(result).toEqual(false); - }); -}); - -describe('method: getSecondaryAccountPermissions', () => { - const accountId = 'someAccountId'; - const did = 'someDid'; - - let account: Account; - let fakeResult: PermissionedAccount[]; - - let rawPrimaryKeyRecord: PolymeshPrimitivesSecondaryKeyKeyRecord; - let rawSecondaryKeyRecord: PolymeshPrimitivesSecondaryKeyKeyRecord; - let rawMultiSigKeyRecord: PolymeshPrimitivesSecondaryKeyKeyRecord; - let identityIdToStringSpy: jest.SpyInstance; - let stringToAccountIdSpy: jest.SpyInstance; - let meshPermissionsToPermissionsSpy: jest.SpyInstance; - - beforeAll(() => { - dsMockUtils.initMocks(); - account = entityMockUtils.getAccountInstance({ address: accountId }); - meshPermissionsToPermissionsSpy = jest.spyOn( - utilsConversionModule, - 'meshPermissionsToPermissions' - ); - stringToAccountIdSpy = jest.spyOn(utilsConversionModule, 'stringToAccountId'); - identityIdToStringSpy = jest.spyOn(utilsConversionModule, 'identityIdToString'); - account = entityMockUtils.getAccountInstance(); - fakeResult = [ - { - account, - permissions: { - assets: null, - portfolios: null, - transactions: null, - transactionGroups: [], - }, - }, - ]; - }); - - afterAll(() => { - dsMockUtils.cleanup(); - jest.restoreAllMocks(); - }); - - beforeEach(() => { - rawPrimaryKeyRecord = dsMockUtils.createMockKeyRecord({ - PrimaryKey: dsMockUtils.createMockIdentityId(did), - }); - rawSecondaryKeyRecord = dsMockUtils.createMockKeyRecord({ - SecondaryKey: [dsMockUtils.createMockIdentityId(did), dsMockUtils.createMockPermissions()], - }); - rawMultiSigKeyRecord = dsMockUtils.createMockKeyRecord({ - MultiSigSignerKey: dsMockUtils.createMockAccountId('someAddress'), - }); - - meshPermissionsToPermissionsSpy.mockReturnValue({ - assets: null, - portfolios: null, - transactions: null, - transactionGroups: [], - }); - stringToAccountIdSpy.mockReturnValue(dsMockUtils.createMockAccountId(accountId)); - }); - - afterEach(() => { - dsMockUtils.reset(); + expect(result).toEqual({ result: true }); }); - it('should return a list of Accounts', async () => { - const context = dsMockUtils.getContextInstance(); - dsMockUtils.createQueryMock('identity', 'keyRecords', { - multi: [ - dsMockUtils.createMockOption(rawPrimaryKeyRecord), - dsMockUtils.createMockOption(rawSecondaryKeyRecord), - dsMockUtils.createMockOption(rawMultiSigKeyRecord), - ], - }); - identityIdToStringSpy.mockReturnValue('someDid'); - const identity = new Identity({ did: 'someDid' }, context); - - const result = await getSecondaryAccountPermissions( - { - accounts: [ - entityMockUtils.getAccountInstance(), - account, - entityMockUtils.getAccountInstance(), - ], - identity, - }, + it('should handle identity role', async () => { + const result = await checkConfidentialRoles( + identity, + [{ type: PublicRoleType.Identity, did: 'someDid' }], context ); - expect(result).toEqual(fakeResult); - }); - - it('should filter out Accounts if they do not belong to the given identity', async () => { - const mockContext = dsMockUtils.getContextInstance(); - const otherSecondaryKey = dsMockUtils.createMockKeyRecord({ - SecondaryKey: [dsMockUtils.createMockIdentityId(did), dsMockUtils.createMockPermissions()], - }); - dsMockUtils.createQueryMock('identity', 'keyRecords', { - multi: [ - dsMockUtils.createMockOption(rawPrimaryKeyRecord), - dsMockUtils.createMockOption(otherSecondaryKey), - dsMockUtils.createMockOption(), - dsMockUtils.createMockOption(rawMultiSigKeyRecord), - ], - }); - identityIdToStringSpy.mockReturnValue('someDid'); - const identity = new Identity({ did: 'otherDid' }, mockContext); - - const result = await getSecondaryAccountPermissions( - { - accounts: [ - entityMockUtils.getAccountInstance(), - account, - entityMockUtils.getAccountInstance(), - ], - identity, - }, - mockContext - ); - expect(result).toEqual([]); - }); - - it('should allow for subscription', async () => { - const mockContext = dsMockUtils.getContextInstance(); - const callback: SubCallback = jest.fn().mockImplementation(); - const unsubCallback = 'unsubCallBack'; - - const keyRecordsMock = dsMockUtils.createQueryMock('identity', 'keyRecords'); - keyRecordsMock.multi.mockImplementation((_, cbFunc) => { - cbFunc([ - dsMockUtils.createMockOption(rawPrimaryKeyRecord), - dsMockUtils.createMockOption(rawSecondaryKeyRecord), - dsMockUtils.createMockOption(rawMultiSigKeyRecord), - ]); - return unsubCallback; - }); - - identityIdToStringSpy.mockReturnValue('someDid'); - const identity = new Identity({ did }, mockContext); - - const result = await getSecondaryAccountPermissions( - { - accounts: [ - entityMockUtils.getAccountInstance(), - account, - entityMockUtils.getAccountInstance(), - ], - identity, - }, - mockContext, - callback - ); - - expect(callback).toHaveBeenCalledWith(fakeResult); - expect(result).toEqual(unsubCallback); - }); -}); - -describe('isAlphaNumeric', () => { - it('should return true for alphanumeric strings', () => { - const alphaNumericStrings = ['abc', 'TICKER', '123XYZ99']; - - expect(alphaNumericStrings.every(input => isAlphanumeric(input))).toBe(true); - }); - - it('should return false for non alphanumeric strings', () => { - const alphaNumericStrings = ['**abc**', 'TICKER-Z', '💎']; - - expect(alphaNumericStrings.some(input => isAlphanumeric(input))).toBe(false); - }); -}); - -describe('getIdentityFromKeyRecord', () => { - beforeAll(() => { - dsMockUtils.initMocks(); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should return the associated Identity', async () => { - const did = 'someDid'; - const secondaryDid = 'secondaryDid'; - const multiDid = 'multiDid'; - - const mockContext = dsMockUtils.getContextInstance(); - - const primaryKeyRecord = dsMockUtils.createMockKeyRecord({ - PrimaryKey: dsMockUtils.createMockIdentityId(did), - }); - - let identity = await getIdentityFromKeyRecord(primaryKeyRecord, mockContext); - - expect(identity?.did).toEqual(did); - - const secondaryKeyRecord = dsMockUtils.createMockKeyRecord({ - SecondaryKey: [ - dsMockUtils.createMockIdentityId(secondaryDid), - dsMockUtils.createMockPermissions(), - ], - }); - - identity = await getIdentityFromKeyRecord(secondaryKeyRecord, mockContext); - - expect(identity?.did).toEqual(secondaryDid); - - const multiSigKeyRecord = dsMockUtils.createMockKeyRecord({ - MultiSigSignerKey: dsMockUtils.createMockAccountId( - dsMockUtils.createMockAccountId('someAddress') - ), - }); - - const multiKeyRecord = dsMockUtils.createMockKeyRecord({ - PrimaryKey: dsMockUtils.createMockIdentityId(multiDid), - }); - - const mockKeyRecords = dsMockUtils.createQueryMock('identity', 'keyRecords'); - mockKeyRecords.mockResolvedValue(dsMockUtils.createMockOption(multiKeyRecord)); - - identity = await getIdentityFromKeyRecord(multiSigKeyRecord, mockContext); - - expect(identity?.did).toEqual(multiDid); - }); - - it('should return null if the record is unassigned', async () => { - const mockContext = dsMockUtils.getContextInstance(); - - const unassignedKeyRecord = dsMockUtils.createMockKeyRecord({ - MultiSigSignerKey: dsMockUtils.createMockAccountId( - dsMockUtils.createMockAccountId('someAddress') - ), - }); - - const mockKeyRecords = dsMockUtils.createQueryMock('identity', 'keyRecords'); - mockKeyRecords.mockResolvedValue(dsMockUtils.createMockOption()); - - const result = await getIdentityFromKeyRecord(unassignedKeyRecord, mockContext); - - expect(result).toBeNull(); - }); -}); - -describe('asChildIdentity', () => { - it('should return child identity instance', () => { - const mockContext = dsMockUtils.getContextInstance(); - - const childDid = 'childDid'; - const childIdentity = entityMockUtils.getChildIdentityInstance({ - did: childDid, - }); - - let result = asChildIdentity(childDid, mockContext); - - expect(result).toEqual(expect.objectContaining({ did: childDid })); - - result = asChildIdentity(childIdentity, mockContext); - - expect(result).toEqual(expect.objectContaining({ did: childDid })); - }); -}); - -describe('asFungibleAsset', () => { - it('should return a given FungibleAsset', () => { - const mockContext = dsMockUtils.getContextInstance(); - const input = entityMockUtils.getFungibleAssetInstance(); - - const result = asFungibleAsset(input, mockContext); - - expect(result).toEqual(input); - }); - - it('should create a new FungibleAsset given a ticker', () => { - const mockContext = dsMockUtils.getContextInstance(); - const ticker = 'TICKER'; - - const result = asFungibleAsset(ticker, mockContext); - - expect(result).toEqual(expect.objectContaining({ ticker })); - }); - - it('should create a new FungibleAsset given a BaseAsset', () => { - const mockContext = dsMockUtils.getContextInstance(); - const ticker = 'TICKER'; - const baseAsset = entityMockUtils.getBaseAssetInstance({ ticker }); - - const result = asFungibleAsset(baseAsset, mockContext); - - expect(result).toEqual(expect.objectContaining({ ticker })); - }); -}); - -describe('asNftId', () => { - it('should return a BigNumber when given an NFT', () => { - const context = dsMockUtils.getContextInstance(); - const id = new BigNumber(1); - const ticker = 'TICKER'; - const nft = new Nft({ id, ticker }, context); - - const result = asNftId(nft); - - expect(result).toEqual(id); - }); - - it('should return a BigNumber when given a BigNumber', () => { - const id = new BigNumber(1); - - const result = asNftId(id); - - expect(result).toEqual(id); - }); -}); - -describe('areSameClaims', () => { - it('should return true if same claims are provided', () => { - const firstClaim: ScopedClaim = { - type: ClaimType.Custom, - customClaimTypeId: new BigNumber(1), - scope: { - type: ScopeType.Identity, - value: '1', - }, - }; - - const secondClaim = { ...firstClaim } as unknown as MiddlewareClaim; - - const result = areSameClaims(firstClaim, secondClaim); - - expect(result).toBeTruthy(); - }); - - it('should return a false if different scopes provided for scoped Claim', () => { - const firstClaim: ScopedClaim = { - type: ClaimType.Accredited, - scope: { - type: ScopeType.Identity, - value: '1', - }, - }; - - const secondClaim = { - ...firstClaim, - scope: { type: ScopeType.Ticker, value: 'TICKER' }, - } as unknown as MiddlewareClaim; - - const result = areSameClaims(firstClaim, secondClaim); - - expect(result).toBeFalsy(); - }); - - it('should return a false if different customClaimTypeId provided for CustomClaim', () => { - const firstClaim: ScopedClaim = { - type: ClaimType.Custom, - customClaimTypeId: new BigNumber(1), - scope: { - type: ScopeType.Identity, - value: '1', - }, - }; - - const secondClaim = { - ...firstClaim, - customClaimTypeId: new BigNumber(2), - } as unknown as MiddlewareClaim; - - const result = areSameClaims(firstClaim, secondClaim); - - expect(result).toBeFalsy(); - }); -}); - -describe('assertNoPendingAuthorizationExists', () => { - let mockMessage: string; - let mockAuthorization: Partial; - let issuer: Identity; - let target: Identity; - let otherIssuer: Identity; - let otherTarget: Identity; - let authReqBase: Pick; - const ticker = 'TICKER'; - - beforeEach(() => { - // Initialize your mock data here - mockMessage = 'Test message'; - mockAuthorization = { type: AuthorizationType.TransferTicker }; - issuer = entityMockUtils.getIdentityInstance({ did: 'issuer' }); - target = entityMockUtils.getIdentityInstance({ did: 'target' }); - otherIssuer = entityMockUtils.getIdentityInstance({ did: 'otherIssuer' }); - otherTarget = entityMockUtils.getIdentityInstance({ did: 'otherTarget' }); - authReqBase = { - issuer, - target, - authId: new BigNumber(1), - expiry: null, - data: { type: AuthorizationType.TransferTicker, value: ticker }, - }; - }); - - it('should not throw an error if there are no authorization requests', () => { - expect(() => { - assertNoPendingAuthorizationExists({ - authorizationRequests: [], - message: mockMessage, - authorization: mockAuthorization, - issuer, - target, - }); - }).not.toThrow(); - }); - - it('should not throw an error if there are no pending authorizations', () => { - expect(() => { - assertNoPendingAuthorizationExists({ - authorizationRequests: [], - message: mockMessage, - authorization: mockAuthorization, - }); - }).not.toThrow(); - }); - - it('should not throw an error if the authorization has expired', () => { - expect(() => { - assertNoPendingAuthorizationExists({ - authorizationRequests: [ - entityMockUtils.getAuthorizationRequestInstance({ isExpired: true }), - ], - message: mockMessage, - authorization: mockAuthorization, - }); - }).not.toThrow(); - }); - - it('should not throw an error if the authorization is for other target', () => { - expect(() => { - assertNoPendingAuthorizationExists({ - authorizationRequests: [ - entityMockUtils.getAuthorizationRequestInstance({ - ...authReqBase, - target: otherTarget, - }), - ], - message: mockMessage, - authorization: mockAuthorization, - target, - }); - }).not.toThrow(); - }); - - it('should not throw an error if the authorization is by other issuer', () => { - expect(() => { - assertNoPendingAuthorizationExists({ - authorizationRequests: [entityMockUtils.getAuthorizationRequestInstance(authReqBase)], - message: mockMessage, - authorization: mockAuthorization, - issuer: otherIssuer, - }); - }).not.toThrow(); - }); - - it('should not throw an error if the authorization of other type', () => { - expect(() => { - assertNoPendingAuthorizationExists({ - authorizationRequests: [ - entityMockUtils.getAuthorizationRequestInstance({ - ...authReqBase, - data: { type: AuthorizationType.TransferAssetOwnership, value: ticker }, - }), - ], - message: mockMessage, - authorization: mockAuthorization, - }); - }).not.toThrow(); - }); - - it('should not throw an error if the authorization is AuthorizationType.PortfolioCustody and for different Portfolio', () => { - expect(() => { - assertNoPendingAuthorizationExists({ - authorizationRequests: [ - entityMockUtils.getAuthorizationRequestInstance({ - ...authReqBase, - data: { - type: AuthorizationType.PortfolioCustody, - value: entityMockUtils.getDefaultPortfolioInstance({ isEqual: false }), - }, - }), - ], - message: mockMessage, - authorization: { - type: AuthorizationType.PortfolioCustody, - value: entityMockUtils.getDefaultPortfolioInstance(), - }, - }); - }).not.toThrow(); - }); - - it('should not throw an error if the authorization is AuthorizationType.AttestPrimaryKeyRotation and for different Portfolio', () => { - expect(() => { - assertNoPendingAuthorizationExists({ - authorizationRequests: [ - entityMockUtils.getAuthorizationRequestInstance({ - target, - issuer, - authId: new BigNumber(1), - expiry: null, - data: { - type: AuthorizationType.AttestPrimaryKeyRotation, - value: entityMockUtils.getIdentityInstance({ isEqual: false }), - }, - }), - ], - message: mockMessage, - authorization: { type: AuthorizationType.AttestPrimaryKeyRotation, value: target }, - }); - }).not.toThrow(); - }); - - it('should not throw an error if the authorization value is not equal', () => { - expect(() => { - assertNoPendingAuthorizationExists({ - authorizationRequests: [ - entityMockUtils.getAuthorizationRequestInstance({ - ...authReqBase, - data: { type: AuthorizationType.TransferTicker, value: 'ticker' }, - }), - ], - message: mockMessage, - authorization: { type: AuthorizationType.TransferTicker, value: 'otherTicker' }, - }); - }).not.toThrow(); - }); - - it('should throw a PolymeshError if there is a pending authorization', () => { - expect(() => { - assertNoPendingAuthorizationExists({ - authorizationRequests: [entityMockUtils.getAuthorizationRequestInstance(authReqBase)], - message: mockMessage, - authorization: mockAuthorization, - issuer, - target, - }); - }).toThrow(PolymeshError); - }); - - it('should throw a PolymeshError with the correct message and error code', () => { - const expectedError = new PolymeshError({ message: mockMessage, code: ErrorCode.NoDataChange }); - expect(() => - assertNoPendingAuthorizationExists({ - authorizationRequests: [entityMockUtils.getAuthorizationRequestInstance(authReqBase)], - message: mockMessage, - authorization: mockAuthorization, - issuer, - target, - }) - ).toThrow(expectedError); - }); -}); - -describe('assertIdentityExists', () => { - it('should resolve if the identity exists', () => { - const identity = entityMockUtils.getIdentityInstance({ exists: true }); - - return expect(assertIdentityExists(identity)).resolves.not.toThrow(); - }); - - it('should throw an error if an identity does not exist', () => { - const identity = entityMockUtils.getIdentityInstance({ exists: false }); - - const expectedError = new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: 'The identity does not exists', - }); - - return expect(assertIdentityExists(identity)).rejects.toThrow(expectedError); - }); -}); - -describe('assetCaAssetValid', () => { - it('should return true for a valid ID', () => { - const guid = '76702175-d8cb-e3a5-5a19-734433351e25'; - const id = '76702175d8cbe3a55a19734433351e25'; - - let result = assertCaAssetValid(id); - - expect(result).toEqual(guid); - - result = assertCaAssetValid(guid); - - expect(result).toEqual(guid); - }); - - it('should throw an error for an invalid ID', async () => { - const expectedError = new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'The supplied ID is not a valid confidential Asset ID', - }); - expect(() => assertCaAssetValid('small-length-string')).toThrow(expectedError); - - expect(() => assertCaAssetValid('NotMatching32CharactersString$$$')).toThrow(expectedError); - - expect(() => assertCaAssetValid('7670-2175d8cb-e3a55a-1973443-3351e25')).toThrow(expectedError); - }); -}); - -describe('asConfidentialAccount', () => { - let context: Context; - let publicKey: string; - let confidentialAccount: ConfidentialAccount; - - beforeAll(() => { - dsMockUtils.initMocks(); - entityMockUtils.initMocks(); - publicKey = 'someKey'; - }); - - beforeEach(() => { - context = dsMockUtils.getContextInstance(); - confidentialAccount = new ConfidentialAccount({ publicKey }, context); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should return ConfidentialAccount for given public key', async () => { - const result = asConfidentialAccount(publicKey, context); - - expect(result).toEqual(expect.objectContaining({ publicKey })); - }); - - it('should return the passed ConfidentialAccount', async () => { - const result = asConfidentialAccount(confidentialAccount, context); - - expect(result).toBe(confidentialAccount); - }); -}); - -describe('asConfidentialAsset', () => { - let context: Context; - let assetId: string; - let confidentialAsset: ConfidentialAsset; - - beforeAll(() => { - dsMockUtils.initMocks(); - entityMockUtils.initMocks(); - assetId = '76702175-d8cb-e3a5-5a19-734433351e25'; - }); - - beforeEach(() => { - context = dsMockUtils.getContextInstance(); - confidentialAsset = new ConfidentialAsset({ id: assetId }, context); - }); - - afterEach(() => { - dsMockUtils.reset(); - }); - - afterAll(() => { - dsMockUtils.cleanup(); - }); - - it('should return ConfidentialAsset for the given id', async () => { - const result = asConfidentialAsset(assetId, context); - - expect(result).toEqual(expect.objectContaining({ id: assetId })); - }); - - it('should return the passed ConfidentialAsset', async () => { - const result = asConfidentialAsset(confidentialAsset, context); - - expect(result).toBe(confidentialAsset); + expect(result).toEqual({ result: true }); }); }); diff --git a/src/utils/constants.ts b/src/utils/constants.ts index 67fd288de6..03617289fa 100644 --- a/src/utils/constants.ts +++ b/src/utils/constants.ts @@ -1,111 +1,6 @@ import BigNumber from 'bignumber.js'; import { coerce } from 'semver'; -import { TransactionArgumentType } from '~/types'; - -/** - * Maximum amount of decimals for on-chain values - */ -export const MAX_DECIMALS = 6; -export const MAX_TICKER_LENGTH = 12; -export const MAX_MODULE_LENGTH = 32; -export const MAX_MEMO_LENGTH = 32; -/** - * Maximum amount of required mediators. See MESH-2156 to see if this is queryable instead - */ -export const MAX_ASSET_MEDIATORS = 4; -/** - * Biggest possible number for on-chain balances - */ -export const MAX_BALANCE = new BigNumber(Math.pow(10, 12)); -/** - * Account ID used for certain calls that require it when the SDK is instanced without one - */ -export const DUMMY_ACCOUNT_ID = '5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY'; -/** - * Whether or not to ignore the checksum when encoding/decoding polkadot addresses - */ -export const IGNORE_CHECKSUM = true; -/** - * Default SS58 format for encoding addresses (used when the chain doesn't specify one) - */ -export const DEFAULT_SS58_FORMAT = 42; -export const MAX_CONCURRENT_REQUESTS = 200; -export const TREASURY_MODULE_ADDRESS = 'modlpm/trsry'; -export const DEFAULT_GQL_PAGE_SIZE = 25; -/** - * Limit to the page size used when fetching large amounts of data from the chain (same goes for `.multi` calls) - */ -export const MAX_PAGE_SIZE = new BigNumber(1000); - -/** - * The number of blocks a transaction is valid for by default - */ -export const DEFAULT_LIFETIME_PERIOD = 64; - -const didTypes = ['PolymeshPrimitivesIdentityId']; - -const addressTypes = [ - 'AccountId', - 'AccountIdOf', - 'LookupTarget', - 'Address', - 'AuthorityId', - 'SessionKey', - 'ValidatorId', - 'AuthorityId', - 'KeyType', - 'SessionKey', -]; - -const balanceTypes = ['Amount', 'AssetOf', 'Balance', 'BalanceOf']; - -const numberTypes = ['u8', 'u16', 'u32', 'u64', 'u128', 'u256', 'U256', 'BlockNumber']; - -const textTypes = ['String', 'Text', 'Ticker']; - -const booleanTypes = ['bool']; - -const dateTypes = ['Moment']; - -const rootTypes: Record< - string, - | TransactionArgumentType.Did - | TransactionArgumentType.Address - | TransactionArgumentType.Balance - | TransactionArgumentType.Number - | TransactionArgumentType.Text - | TransactionArgumentType.Boolean - | TransactionArgumentType.Date -> = {}; - -didTypes.forEach(type => { - rootTypes[type] = TransactionArgumentType.Did; -}); -addressTypes.forEach(type => { - rootTypes[type] = TransactionArgumentType.Address; -}); -balanceTypes.forEach(type => { - rootTypes[type] = TransactionArgumentType.Balance; -}); -numberTypes.forEach(type => { - rootTypes[type] = TransactionArgumentType.Number; -}); -textTypes.forEach(type => { - rootTypes[type] = TransactionArgumentType.Text; -}); -booleanTypes.forEach(type => { - rootTypes[type] = TransactionArgumentType.Boolean; -}); -dateTypes.forEach(type => { - rootTypes[type] = TransactionArgumentType.Date; -}); - -/** - * Maps chain types to more human-readable `TransactionArgumentType`s - */ -export const ROOT_TYPES = rootTypes; - /** * The Polymesh RPC node version range that is compatible with this version of the SDK */ @@ -137,14 +32,14 @@ export const STATE_RUNTIME_VERSION_CALL = { }; /** - * Maximum amount of legs allowed in a single instruction + * Biggest possible number for on-chain balances */ -export const MAX_LEGS_LENGTH = 10; +export const MAX_BALANCE = new BigNumber(Math.pow(10, 12)); /** - * Default CDD ID associated with an Identity on chain. Used for Identities onboarded without PUIS + * Maximum amount of legs allowed in a single instruction */ -export const DEFAULT_CDD_ID = '0x0000000000000000000000000000000000000000000000000000000000000000'; +export const MAX_LEGS_LENGTH = 10; /** * Minimum version of Middleware V2 GraphQL Service (SubQuery) that is compatible with this version of the SDK diff --git a/src/utils/conversion.ts b/src/utils/conversion.ts index 3e9e5af8c1..6e0f80e4a2 100644 --- a/src/utils/conversion.ts +++ b/src/utils/conversion.ts @@ -1,4917 +1,92 @@ -import { ApolloQueryResult } from '@apollo/client/core'; +import { BTreeMap, Bytes, Option, U8aFixed, u16 } from '@polkadot/types'; import { - bool, - BTreeMap, - Bytes, - Option, - Text, - u8, - U8aFixed, - u16, - u32, - u64, - u128, - Vec, -} from '@polkadot/types'; -import { AccountId, Balance, BlockHash, Hash, Permill } from '@polkadot/types/interfaces'; -import { DispatchError, DispatchResult } from '@polkadot/types/interfaces/system'; -import { - ConfidentialAssetsBurnConfidentialBurnProof, - PalletConfidentialAssetAffirmLeg, - PalletConfidentialAssetAffirmParty, - PalletConfidentialAssetAffirmTransaction, - PalletConfidentialAssetAffirmTransactions, - PalletConfidentialAssetAuditorAccount, - PalletConfidentialAssetConfidentialAccount, - PalletConfidentialAssetConfidentialAuditors, - PalletConfidentialAssetConfidentialTransfers, - PalletConfidentialAssetLegParty, - PalletConfidentialAssetTransaction, - PalletConfidentialAssetTransactionId, - PalletConfidentialAssetTransactionLeg, - PalletConfidentialAssetTransactionLegDetails, - PalletConfidentialAssetTransactionLegId, - PalletConfidentialAssetTransactionLegState, - PalletConfidentialAssetTransactionStatus, - PalletCorporateActionsCaId, - PalletCorporateActionsCaKind, - PalletCorporateActionsCorporateAction, - PalletCorporateActionsDistribution, - PalletCorporateActionsInitiateCorporateActionArgs, - PalletCorporateActionsRecordDateSpec, - PalletCorporateActionsTargetIdentities, - PalletStoFundraiser, - PalletStoFundraiserTier, - PalletStoPriceTier, - PolymeshCommonUtilitiesCheckpointScheduleCheckpoints, - PolymeshCommonUtilitiesProtocolFeeProtocolOp, - PolymeshPrimitivesAgentAgentGroup, - PolymeshPrimitivesAssetAssetType, - PolymeshPrimitivesAssetIdentifier, - PolymeshPrimitivesAssetMetadataAssetMetadataKey, - PolymeshPrimitivesAssetMetadataAssetMetadataSpec, - PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail, - PolymeshPrimitivesAssetNonFungibleType, - PolymeshPrimitivesAuthorizationAuthorizationData, - PolymeshPrimitivesCddId, - PolymeshPrimitivesComplianceManagerComplianceRequirement, - PolymeshPrimitivesCondition, - PolymeshPrimitivesConditionConditionType, - PolymeshPrimitivesConditionTargetIdentity, - PolymeshPrimitivesConditionTrustedIssuer, - PolymeshPrimitivesDocument, - PolymeshPrimitivesDocumentHash, - PolymeshPrimitivesIdentityClaimClaim, - PolymeshPrimitivesIdentityClaimClaimType, - PolymeshPrimitivesIdentityClaimScope, - PolymeshPrimitivesIdentityId, - PolymeshPrimitivesIdentityIdPortfolioId, - PolymeshPrimitivesIdentityIdPortfolioKind, - PolymeshPrimitivesJurisdictionCountryCode, - PolymeshPrimitivesMemo, - PolymeshPrimitivesMultisigProposalStatus, - PolymeshPrimitivesNftNftMetadataAttribute, - PolymeshPrimitivesNftNfTs, - PolymeshPrimitivesPortfolioFund, - PolymeshPrimitivesPosRatio, - PolymeshPrimitivesSecondaryKey, - PolymeshPrimitivesSecondaryKeyPermissions, - PolymeshPrimitivesSecondaryKeySignatory, - PolymeshPrimitivesSettlementAffirmationStatus, - PolymeshPrimitivesSettlementInstructionStatus, - PolymeshPrimitivesSettlementLeg, - PolymeshPrimitivesSettlementMediatorAffirmationStatus, - PolymeshPrimitivesSettlementSettlementType, - PolymeshPrimitivesSettlementVenueType, - PolymeshPrimitivesStatisticsStat2ndKey, - PolymeshPrimitivesStatisticsStatClaim, - PolymeshPrimitivesStatisticsStatOpType, - PolymeshPrimitivesStatisticsStatType, - PolymeshPrimitivesStatisticsStatUpdate, - PolymeshPrimitivesSubsetSubsetRestrictionPalletPermissions, - PolymeshPrimitivesTicker, - PolymeshPrimitivesTransferComplianceTransferCondition, -} from '@polkadot/types/lookup'; -import { ITuple } from '@polkadot/types/types'; -import { BTreeSet } from '@polkadot/types-codec'; -import { - hexAddPrefix, - hexHasPrefix, - hexStripPrefix, - hexToString, - hexToU8a, - isHex, - stringLowerFirst, - stringToU8a, - stringUpperFirst, - u8aConcat, - u8aFixLength, - u8aToHex, - u8aToString, -} from '@polkadot/util'; -import { blake2AsHex, decodeAddress, encodeAddress } from '@polkadot/util-crypto'; -import BigNumber from 'bignumber.js'; -import { computeWithoutCheck } from 'iso-7064'; -import { - camelCase, - flatten, - groupBy, - includes, - map, - padEnd, - range, - rangeRight, - snakeCase, - uniq, - values, -} from 'lodash'; - -import { assertCaTaxWithholdingsValid, UnreachableCaseError } from '~/api/procedures/utils'; -import { countryCodeToMeshCountryCode, meshCountryCodeToCountryCode } from '~/generated/utils'; -import { - Account, - Checkpoint, - CheckpointSchedule, - ConfidentialAccount, - ConfidentialAsset, - Context, - CustomPermissionGroup, - DefaultPortfolio, - FungibleAsset, - Identity, - KnownPermissionGroup, - Nft, - NumberedPortfolio, - PolymeshError, - Portfolio, - Venue, -} from '~/internal'; -import { - AuthTypeEnum, - Block, - CallIdEnum, - Claim as MiddlewareClaim, - ConfidentialAssetHistory, - CustomClaimType as MiddlewareCustomClaimType, - Instruction, - ModuleIdEnum, - Portfolio as MiddlewarePortfolio, - Query, - SettlementResultEnum, -} from '~/middleware/types'; -import { ClaimScopeTypeEnum, MiddlewareScope, SettlementDirectionEnum } from '~/middleware/typesV1'; -import { - AssetComplianceResult, - AuthorizationType as MeshAuthorizationType, - CanTransferResult, - CddStatus, - ComplianceRequirementResult, - GranularCanTransferResult, - Moment, -} from '~/polkadot/polymesh'; -import { - AffirmationStatus, - AssetDocument, - Authorization, - AuthorizationType, - Claim, - ClaimCountRestrictionValue, - ClaimCountStatInput, - ClaimData, - ClaimPercentageRestrictionValue, - ClaimType, - Compliance, - Condition, - ConditionCompliance, - ConditionTarget, - ConditionType, - ConfidentialAffirmParty, - ConfidentialAffirmTransaction, - ConfidentialAssetTransactionHistory, - ConfidentialLeg, - ConfidentialLegParty, - ConfidentialLegProof, - ConfidentialLegState, - ConfidentialTransactionDetails, - ConfidentialTransactionStatus, - CorporateActionKind, - CorporateActionParams, - CorporateActionTargets, - CountryCode, - CountTransferRestrictionInput, - CustomClaimTypeWithDid, - DividendDistributionParams, - ErrorCode, - EventIdentifier, - ExternalAgentCondition, - FungiblePortfolioMovement, - HistoricInstruction, - HistoricSettlement, - IdentityCondition, - IdentityWithClaims, - InputCorporateActionTargets, - InputCorporateActionTaxWithholdings, - InputRequirement, - InputStatClaim, - InputStatType, - InputTrustedClaimIssuer, - InstructionEndCondition, - InstructionType, - KnownAssetType, - KnownNftType, - MediatorAffirmation, - MetadataKeyId, - MetadataLockStatus, - MetadataSpec, - MetadataType, - MetadataValue, - MetadataValueDetails, - ModuleName, - MultiClaimCondition, - NftMetadataInput, - NonFungiblePortfolioMovement, - OfferingBalanceStatus, - OfferingDetails, - OfferingSaleStatus, - OfferingTier, - OfferingTimingStatus, - PermissionedAccount, - PermissionGroupType, - Permissions, - PermissionsLike, - PermissionType, - PortfolioId, - PortfolioLike, - ProposalStatus, - Requirement, - RequirementCompliance, - Scope, - ScopeType, - SectionPermissions, - SecurityIdentifier, - SecurityIdentifierType, - Signer, - SignerType, - SignerValue, - SingleClaimCondition, - StatClaimType, - StatType, - TargetTreatment, - Tier, - TransactionPermissions, - TransferBreakdown, - TransferError, - TransferRestriction, - TransferRestrictionType, - TransferStatus, - TrustedClaimIssuer, - TxGroup, - TxTag, - TxTags, - VenueType, -} from '~/types'; -import { - CorporateActionIdentifier, - ExemptKey, - ExtrinsicIdentifier, - InstructionStatus, - InternalAssetType, - InternalNftType, - PalletPermissions, - PermissionGroupIdentifier, - PermissionsEnum, - PolymeshTx, - StatClaimInputType, - StatClaimIssuer, - TickerKey, -} from '~/types/internal'; -import { Ensured, tuple } from '~/types/utils'; -import { - IGNORE_CHECKSUM, - MAX_BALANCE, - MAX_DECIMALS, - MAX_MEMO_LENGTH, - MAX_MODULE_LENGTH, - MAX_TICKER_LENGTH, -} from '~/utils/constants'; -import { - asDid, - asNftId, - assertAddressValid, - assertIsInteger, - assertIsPositive, - assertTickerValid, - asTicker, - conditionsAreEqual, - createClaim, - isModuleOrTagMatch, - optionize, - padString, - removePadding, -} from '~/utils/internal'; -import { - isIdentityCondition, - isMultiClaimCondition, - isNumberedPortfolio, - isSingleClaimCondition, -} from '~/utils/typeguards'; - -export * from '~/generated/utils'; - -/** - * Generate an Asset's DID from a ticker - */ -export function tickerToDid(ticker: string): string { - return blake2AsHex( - u8aConcat(stringToU8a('SECURITY_TOKEN:'), u8aFixLength(stringToU8a(ticker), 96, true)) - ); -} - -/** - * @hidden - */ -export function booleanToBool(value: boolean, context: Context): bool { - return context.createType('bool', value); -} - -/** - * @hidden - */ -export function boolToBoolean(value: bool): boolean { - return value.isTrue; -} - -/** - * @hidden - */ -export function stringToBytes(bytes: string, context: Context): Bytes { - return context.createType('Bytes', bytes); -} - -/** - * @hidden - */ -export function bytesToString(bytes: Bytes): string { - return u8aToString(bytes); -} - -/** - * @hidden - */ -export function stringToTicker(ticker: string, context: Context): PolymeshPrimitivesTicker { - assertTickerValid(ticker); - - return context.createType('PolymeshPrimitivesTicker', padString(ticker, MAX_TICKER_LENGTH)); -} - -/** - * @hidden - */ -export function stringToTickerKey(ticker: string, context: Context): TickerKey { - return { Ticker: stringToTicker(ticker, context) }; -} - -/** - * @hidden - */ -export function tickerToString(ticker: PolymeshPrimitivesTicker): string { - return removePadding(u8aToString(ticker)); -} - -/** - * @hidden - */ -export function serializeConfidentialAssetId(value: string | ConfidentialAsset): string { - const id = value instanceof ConfidentialAsset ? value.id : value; - - return hexAddPrefix(id.replace(/-/g, '')); -} - -/** - * @hidden - */ -export function dateToMoment(date: Date, context: Context): Moment { - return context.createType('u64', date.getTime()); -} - -/** - * @hidden - */ -export function momentToDate(moment: Moment): Date { - return new Date(moment.toNumber()); -} - -/** - * @hidden - */ -export function stringToAccountId(accountId: string, context: Context): AccountId { - assertAddressValid(accountId, context.ss58Format); - - return context.createType('AccountId', accountId); -} - -/** - * @hidden - */ -export function accountIdToString(accountId: AccountId): string { - return accountId.toString(); -} - -/** - * @hidden - */ -export function hashToString(hash: Hash): string { - return hash.toString(); -} - -/** - * @hidden - */ -export function stringToHash(hash: string, context: Context): Hash { - return context.createType('Hash', hash); -} - -/** - * @hidden - */ -export function stringToBlockHash(blockHash: string, context: Context): BlockHash { - return context.createType('BlockHash', blockHash); -} - -/** - * @hidden - */ -export function stringToIdentityId( - identityId: string, - context: Context -): PolymeshPrimitivesIdentityId { - return context.createType('PolymeshPrimitivesIdentityId', identityId); -} - -/** - * @hidden - */ -export function identityIdToString(identityId: PolymeshPrimitivesIdentityId): string { - return identityId.toString(); -} - -/** - * @hidden - */ -export function signerValueToSignatory( - signer: SignerValue, - context: Context -): PolymeshPrimitivesSecondaryKeySignatory { - return context.createType('PolymeshPrimitivesSecondaryKeySignatory', { - [signer.type]: signer.value, - }); -} - -/** - * @hidden - */ -function createSignerValue(type: SignerType, value: string): SignerValue { - return { - type, - value, - }; -} - -/** - * @hidden - */ -export function signatoryToSignerValue( - signatory: PolymeshPrimitivesSecondaryKeySignatory -): SignerValue { - if (signatory.isAccount) { - return createSignerValue(SignerType.Account, accountIdToString(signatory.asAccount)); - } - - return createSignerValue(SignerType.Identity, identityIdToString(signatory.asIdentity)); -} - -/** - * @hidden - */ -export function signerToSignerValue(signer: Signer): SignerValue { - if (signer instanceof Account) { - return createSignerValue(SignerType.Account, signer.address); - } - - return createSignerValue(SignerType.Identity, signer.did); -} - -/** - * @hidden - */ -export function signerValueToSigner(signerValue: SignerValue, context: Context): Signer { - const { type, value } = signerValue; - - if (type === SignerType.Account) { - return new Account({ address: value }, context); - } - - return new Identity({ did: value }, context); -} - -/** - * @hidden - */ -export function signerToSignatory( - signer: Signer, - context: Context -): PolymeshPrimitivesSecondaryKeySignatory { - return signerValueToSignatory(signerToSignerValue(signer), context); -} - -/** - * @hidden - */ -export function signerToString(signer: string | Signer): string { - if (typeof signer === 'string') { - return signer; - } - - return signerToSignerValue(signer).value; -} - -/** - * @hidden - */ -export function u64ToBigNumber(value: u64): BigNumber { - return new BigNumber(value.toString()); -} - -/** - * @hidden - */ -export function u128ToBigNumber(value: u128): BigNumber { - return new BigNumber(value.toString()); -} - -/** - * @hidden - */ -export function bigNumberToU64(value: BigNumber, context: Context): u64 { - assertIsInteger(value); - assertIsPositive(value); - return context.createType('u64', value.toString()); -} -/** - * @hidden - */ -export function bigNumberToU128(value: BigNumber, context: Context): u128 { - assertIsInteger(value); - assertIsPositive(value); - return context.createType('u128', value.toString()); -} - -/** - * @hidden - */ -export function percentageToPermill(value: BigNumber, context: Context): Permill { - assertIsPositive(value); - - if (value.gt(100)) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: "Percentage shouldn't exceed 100", - }); - } - - return context.createType('Permill', value.shiftedBy(4).toString()); // (value : 100) * 10^6 -} - -/** - * @hidden - * - * @note returns a percentage value ([0, 100]) - */ -export function permillToBigNumber(value: Permill): BigNumber { - return new BigNumber(value.toString()).shiftedBy(-4); // (value : 10^6) * 100 -} - -/** - * @hidden - */ -export function meshClaimToInputStatClaim( - claim: PolymeshPrimitivesStatisticsStatClaim -): InputStatClaim { - if (claim.isAccredited) { - return { - type: ClaimType.Accredited, - accredited: boolToBoolean(claim.asAccredited), - }; - } else if (claim.isAffiliate) { - return { - type: ClaimType.Affiliate, - affiliate: boolToBoolean(claim.asAffiliate), - }; - } else { - return { - type: ClaimType.Jurisdiction, - countryCode: claim.asJurisdiction.isSome - ? meshCountryCodeToCountryCode(claim.asJurisdiction.unwrap()) - : undefined, - }; - } -} - -/** - * @hidden - */ -export function claimCountToClaimCountRestrictionValue( - value: ITuple< - [PolymeshPrimitivesStatisticsStatClaim, PolymeshPrimitivesIdentityId, u64, Option] - >, - context: Context -): ClaimCountRestrictionValue { - const [claim, issuer, min, max] = value; - return { - claim: meshClaimToInputStatClaim(claim), - issuer: new Identity({ did: identityIdToString(issuer) }, context), - min: u64ToBigNumber(min), - max: max.isSome ? u64ToBigNumber(max.unwrap()) : undefined, - }; -} - -/** - * @hidden - */ -export function claimPercentageToClaimPercentageRestrictionValue( - value: ITuple< - [PolymeshPrimitivesStatisticsStatClaim, PolymeshPrimitivesIdentityId, Permill, Permill] - >, - context: Context -): ClaimPercentageRestrictionValue { - const [claim, issuer, min, max] = value; - return { - claim: meshClaimToInputStatClaim(claim), - issuer: new Identity({ did: identityIdToString(issuer) }, context), - min: permillToBigNumber(min), - max: permillToBigNumber(max), - }; -} - -/** - * @hidden - */ -export function meshPortfolioIdToPortfolio( - portfolioId: PolymeshPrimitivesIdentityIdPortfolioId, - context: Context -): DefaultPortfolio | NumberedPortfolio { - const { did, kind } = portfolioId; - const identityId = identityIdToString(did); - - if (kind.isDefault) { - return new DefaultPortfolio({ did: identityId }, context); - } - return new NumberedPortfolio({ did: identityId, id: u64ToBigNumber(kind.asUser) }, context); -} - -/** - * @hidden - */ -export function portfolioToPortfolioId( - portfolio: DefaultPortfolio | NumberedPortfolio -): PortfolioId { - const { - owner: { did }, - } = portfolio; - if (portfolio instanceof DefaultPortfolio) { - return { did }; - } else { - const { id: number } = portfolio; - - return { did, number }; - } -} - -/** - * @hidden - */ -export function portfolioLikeToPortfolioId(value: PortfolioLike): PortfolioId { - let did: string; - let number: BigNumber | undefined; - - if (typeof value === 'string') { - did = value; - } else if (value instanceof Identity) { - ({ did } = value); - } else if (value instanceof Portfolio) { - ({ did, number } = portfolioToPortfolioId(value)); - } else { - const { identity: valueIdentity } = value; - ({ id: number } = value); - - did = asDid(valueIdentity); - } - - return { did, number }; -} - -/** - * @hidden - */ -export function portfolioIdToPortfolio( - portfolioId: PortfolioId, - context: Context -): DefaultPortfolio | NumberedPortfolio { - const { did, number } = portfolioId; - return number - ? new NumberedPortfolio({ did, id: number }, context) - : new DefaultPortfolio({ did }, context); -} - -/** - * @hidden - */ -export function portfolioLikeToPortfolio( - value: PortfolioLike, - context: Context -): DefaultPortfolio | NumberedPortfolio { - return portfolioIdToPortfolio(portfolioLikeToPortfolioId(value), context); -} - -/** - * @hidden - */ -export function portfolioIdToMeshPortfolioId( - portfolioId: PortfolioId, - context: Context -): PolymeshPrimitivesIdentityIdPortfolioId { - const { did, number } = portfolioId; - return context.createType('PolymeshPrimitivesIdentityIdPortfolioId', { - did: stringToIdentityId(did, context), - kind: number ? { User: bigNumberToU64(number, context) } : 'Default', - }); -} - -/** - * @hidden - */ -export function portfolioToPortfolioKind( - portfolio: DefaultPortfolio | NumberedPortfolio, - context: Context -): PolymeshPrimitivesIdentityIdPortfolioKind { - let portfolioKind; - if (isNumberedPortfolio(portfolio)) { - portfolioKind = { User: bigNumberToU64(portfolio.id, context) }; - } else { - portfolioKind = 'Default'; - } - return context.createType('PolymeshPrimitivesIdentityIdPortfolioKind', portfolioKind); -} - -/** - * @hidden - */ -export function stringToText(text: string, context: Context): Text { - return context.createType('Text', text); -} - -/** - * @hidden - */ -export function textToString(value: Text): string { - return value.toString(); -} - -/** - * Retrieve every Transaction Tag associated to a Transaction Group - */ -export function txGroupToTxTags(group: TxGroup): TxTag[] { - switch (group) { - case TxGroup.PortfolioManagement: { - return [ - TxTags.identity.AddInvestorUniquenessClaim, - TxTags.portfolio.MovePortfolioFunds, - TxTags.settlement.AddInstruction, - TxTags.settlement.AddInstructionWithMemo, - TxTags.settlement.AddAndAffirmInstruction, - TxTags.settlement.AddAndAffirmInstructionWithMemo, - TxTags.settlement.AffirmInstruction, - TxTags.settlement.RejectInstruction, - TxTags.settlement.CreateVenue, - ]; - } - case TxGroup.AssetManagement: { - return [ - TxTags.asset.MakeDivisible, - TxTags.asset.RenameAsset, - TxTags.asset.SetFundingRound, - TxTags.asset.AddDocuments, - TxTags.asset.RemoveDocuments, - ]; - } - case TxGroup.AdvancedAssetManagement: { - return [ - TxTags.asset.Freeze, - TxTags.asset.Unfreeze, - TxTags.identity.AddAuthorization, - TxTags.identity.RemoveAuthorization, - ]; - } - case TxGroup.Distribution: { - return [ - TxTags.identity.AddInvestorUniquenessClaim, - TxTags.settlement.CreateVenue, - TxTags.settlement.AddInstruction, - TxTags.settlement.AddInstructionWithMemo, - TxTags.settlement.AddAndAffirmInstruction, - TxTags.settlement.AddAndAffirmInstructionWithMemo, - ]; - } - case TxGroup.Issuance: { - return [TxTags.asset.Issue]; - } - case TxGroup.TrustedClaimIssuersManagement: { - return [ - TxTags.complianceManager.AddDefaultTrustedClaimIssuer, - TxTags.complianceManager.RemoveDefaultTrustedClaimIssuer, - ]; - } - case TxGroup.ClaimsManagement: { - return [TxTags.identity.AddClaim, TxTags.identity.RevokeClaim]; - } - case TxGroup.ComplianceRequirementsManagement: { - return [ - TxTags.complianceManager.AddComplianceRequirement, - TxTags.complianceManager.RemoveComplianceRequirement, - TxTags.complianceManager.PauseAssetCompliance, - TxTags.complianceManager.ResumeAssetCompliance, - TxTags.complianceManager.ResetAssetCompliance, - ]; - } - case TxGroup.CorporateActionsManagement: { - return [ - TxTags.checkpoint.CreateSchedule, - TxTags.checkpoint.RemoveSchedule, - TxTags.checkpoint.CreateCheckpoint, - TxTags.corporateAction.InitiateCorporateAction, - TxTags.capitalDistribution.Distribute, - TxTags.capitalDistribution.Claim, - TxTags.identity.AddInvestorUniquenessClaim, - ]; - } - case TxGroup.StoManagement: { - return [ - TxTags.sto.CreateFundraiser, - TxTags.sto.FreezeFundraiser, - TxTags.sto.Invest, - TxTags.sto.ModifyFundraiserWindow, - TxTags.sto.Stop, - TxTags.sto.UnfreezeFundraiser, - TxTags.identity.AddInvestorUniquenessClaim, - TxTags.asset.Issue, - TxTags.settlement.CreateVenue, - ]; - } - } -} - -/** - * @hidden - * - * @note tags that don't belong to any group will be ignored. - * The same goes for tags that belong to a group that wasn't completed - */ -export function transactionPermissionsToTxGroups( - permissions: TransactionPermissions | null -): TxGroup[] { - if (!permissions) { - return []; - } - - const { values: transactionValues, type, exceptions = [] } = permissions; - let includedTags: (TxTag | ModuleName)[]; - let excludedTags: (TxTag | ModuleName)[]; - if (type === PermissionType.Include) { - includedTags = transactionValues; - excludedTags = exceptions; - } else { - includedTags = exceptions; - excludedTags = transactionValues; - } - - return values(TxGroup) - .sort() - .filter(group => { - const tagsInGroup = txGroupToTxTags(group); - - return tagsInGroup.every(tag => { - const isExcluded = !!excludedTags.find(excluded => isModuleOrTagMatch(excluded, tag)); - - if (isExcluded) { - return false; - } - - return !!includedTags.find(included => isModuleOrTagMatch(included, tag)); - }); - }); -} - -/** - * @hidden - */ -function splitTag(tag: TxTag): { palletName: string; dispatchableName: string } { - const [modName, txName] = tag.split('.'); - const palletName = stringUpperFirst(modName); - const dispatchableName = snakeCase(txName); - - return { palletName, dispatchableName }; -} - -/** - * @hidden - */ -function initExtrinsicDict( - txValues: (TxTag | ModuleName)[], - message: string -): Record { - const extrinsicDict: Record = {}; - - uniq(txValues) - .sort() - .forEach(tag => { - if (tag.includes('.')) { - const { palletName, dispatchableName } = splitTag(tag as TxTag); - let pallet = extrinsicDict[palletName]; - - if (pallet === null) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message, - data: { - module: palletName, - transactions: [dispatchableName], - }, - }); - } else if (pallet === undefined) { - pallet = extrinsicDict[palletName] = { tx: [] }; - } - - pallet.tx.push(dispatchableName); - } else { - extrinsicDict[stringUpperFirst(tag)] = null; - } - }); - - return extrinsicDict; -} - -/** - * @hidden - */ -function buildPalletPermissions( - transactions: TransactionPermissions -): PermissionsEnum { - let extrinsic: PermissionsEnum; - const message = - 'Attempting to add permissions for specific transactions as well as the entire module'; - const { values: txValues, exceptions = [], type } = transactions; - - const extrinsicDict = initExtrinsicDict(txValues, message); - - exceptions.forEach(exception => { - const { palletName, dispatchableName } = splitTag(exception); - - const pallet = extrinsicDict[palletName]; - - if (pallet === undefined) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: - 'Attempting to add a transaction permission exception without its corresponding module being included/excluded', - }); - } else if (pallet === null) { - extrinsicDict[palletName] = { tx: [dispatchableName], exception: true }; - } else if (pallet.exception) { - pallet.tx.push(dispatchableName); - } else { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: - 'Cannot simultaneously include and exclude transactions belonging to the same module', - }); - } - }); - - const pallets: PalletPermissions[] = map(extrinsicDict, (val, key) => { - let dispatchables: PermissionsEnum; - - if (val === null) { - dispatchables = 'Whole'; - } else { - const { tx, exception } = val; - - if (exception) { - dispatchables = { - Except: tx, - }; - } else { - dispatchables = { - These: tx, - }; - } - } - - return { - /* eslint-disable @typescript-eslint/naming-convention */ - pallet_name: key, - dispatchable_names: dispatchables, - /* eslint-enable @typescript-eslint/naming-convention */ - }; - }); - if (type === PermissionType.Include) { - extrinsic = { - These: pallets, - }; - } else { - extrinsic = { - Except: pallets, - }; - } - - return extrinsic; -} - -/** - * @hidden - */ -export function transactionPermissionsToExtrinsicPermissions( - transactionPermissions: TransactionPermissions | null, - context: Context -): PolymeshPrimitivesSubsetSubsetRestrictionPalletPermissions { - return context.createType( - 'PolymeshPrimitivesSubsetSubsetRestrictionPalletPermissions', - transactionPermissions ? buildPalletPermissions(transactionPermissions) : 'Whole' - ); -} - -/** - * @hidden - */ -export function permissionsToMeshPermissions( - permissions: Permissions, - context: Context -): PolymeshPrimitivesSecondaryKeyPermissions { - const { assets, transactions, portfolios } = permissions; - - const extrinsic = transactionPermissionsToExtrinsicPermissions(transactions, context); - - let asset: PermissionsEnum = 'Whole'; - if (assets) { - const { values: assetValues, type } = assets; - assetValues.sort(({ ticker: tickerA }, { ticker: tickerB }) => tickerA.localeCompare(tickerB)); - const tickers = assetValues.map(({ ticker }) => stringToTicker(ticker, context)); - if (type === PermissionType.Include) { - asset = { - These: tickers, - }; - } else { - asset = { - Except: tickers, - }; - } - } - - let portfolio: PermissionsEnum = 'Whole'; - if (portfolios) { - const { values: portfolioValues, type } = portfolios; - const portfolioIds = portfolioValues.map(pValue => - portfolioIdToMeshPortfolioId(portfolioToPortfolioId(pValue), context) - ); - - if (type === PermissionType.Include) { - portfolio = { - These: portfolioIds, - }; - } else { - portfolio = { - Except: portfolioIds, - }; - } - } - - const value = { - asset, - extrinsic, - portfolio, - }; - - return context.createType('PolymeshPrimitivesSecondaryKeyPermissions', value); -} - -const formatTxTag = (dispatchable: string, moduleName: string): TxTag => { - return `${moduleName}.${camelCase(dispatchable)}` as TxTag; -}; - -/** - * @hidden - */ -export function extrinsicPermissionsToTransactionPermissions( - permissions: PolymeshPrimitivesSubsetSubsetRestrictionPalletPermissions -): TransactionPermissions | null { - let extrinsicType: PermissionType; - let pallets; - if (permissions.isThese) { - extrinsicType = PermissionType.Include; - pallets = permissions.asThese; - } else if (permissions.isExcept) { - extrinsicType = PermissionType.Exclude; - pallets = permissions.asExcept; - } - - let txValues: (ModuleName | TxTag)[] = []; - let exceptions: TxTag[] = []; - - if (pallets) { - pallets.forEach(({ palletName, dispatchableNames }) => { - const moduleName = stringLowerFirst(bytesToString(palletName)); - if (dispatchableNames.isExcept) { - const dispatchables = [...dispatchableNames.asExcept]; - exceptions = [ - ...exceptions, - ...dispatchables.map(name => formatTxTag(bytesToString(name), moduleName)), - ]; - txValues = [...txValues, moduleName as ModuleName]; - } else if (dispatchableNames.isThese) { - const dispatchables = [...dispatchableNames.asThese]; - txValues = [ - ...txValues, - ...dispatchables.map(name => formatTxTag(bytesToString(name), moduleName)), - ]; - } else { - txValues = [...txValues, moduleName as ModuleName]; - } - }); - - const result = { - // eslint-disable-next-line @typescript-eslint/no-non-null-assertion - type: extrinsicType!, - values: txValues, - }; - - return exceptions.length ? { ...result, exceptions } : result; - } - - return null; -} - -/** - * @hidden - */ -export function meshPermissionsToPermissions( - permissions: PolymeshPrimitivesSecondaryKeyPermissions, - context: Context -): Permissions { - const { asset, extrinsic, portfolio } = permissions; - - let assets: SectionPermissions | null = null; - let transactions: TransactionPermissions | null = null; - let portfolios: SectionPermissions | null = null; - - let assetsType: PermissionType; - let assetsPermissions; - if (asset.isThese) { - assetsType = PermissionType.Include; - assetsPermissions = asset.asThese; - } else if (asset.isExcept) { - assetsType = PermissionType.Exclude; - assetsPermissions = asset.asExcept; - } - - if (assetsPermissions) { - assets = { - values: [...assetsPermissions].map( - ticker => new FungibleAsset({ ticker: tickerToString(ticker) }, context) - ), - // eslint-disable-next-line @typescript-eslint/no-non-null-assertion - type: assetsType!, - }; - } - - transactions = extrinsicPermissionsToTransactionPermissions(extrinsic); - - let portfoliosType: PermissionType; - let portfolioIds; - if (portfolio.isThese) { - portfoliosType = PermissionType.Include; - portfolioIds = portfolio.asThese; - } else if (portfolio.isExcept) { - portfoliosType = PermissionType.Exclude; - portfolioIds = portfolio.asExcept; - } - - if (portfolioIds) { - portfolios = { - values: [...portfolioIds].map(portfolioId => - meshPortfolioIdToPortfolio(portfolioId, context) - ), - // eslint-disable-next-line @typescript-eslint/no-non-null-assertion - type: portfoliosType!, - }; - } - - return { - assets, - transactions, - transactionGroups: transactions ? transactionPermissionsToTxGroups(transactions) : [], - portfolios, - }; -} - -/** - * @hidden - */ -export function bigNumberToU16(value: BigNumber, context: Context): u16 { - assertIsInteger(value); - assertIsPositive(value); - return context.createType('u16', value.toString()); -} - -/** - * @hidden - */ -export function bigNumberToU32(value: BigNumber, context: Context): u32 { - assertIsInteger(value); - assertIsPositive(value); - return context.createType('u32', value.toString()); -} - -/** - * @hidden - */ -export function u32ToBigNumber(value: u32): BigNumber { - return new BigNumber(value.toString()); -} - -/** - * @hidden - */ -export function u16ToBigNumber(value: u16): BigNumber { - return new BigNumber(value.toString()); -} - -/** - * @hidden - */ -export function u8ToBigNumber(value: u8): BigNumber { - return new BigNumber(value.toString()); -} - -/** - * @hidden - */ -export function permissionGroupIdentifierToAgentGroup( - permissionGroup: PermissionGroupIdentifier, - context: Context -): PolymeshPrimitivesAgentAgentGroup { - return context.createType( - 'PolymeshPrimitivesAgentAgentGroup', - typeof permissionGroup !== 'object' - ? permissionGroup - : { Custom: bigNumberToU32(permissionGroup.custom, context) } - ); -} - -/** - * @hidden - */ -export function agentGroupToPermissionGroupIdentifier( - agentGroup: PolymeshPrimitivesAgentAgentGroup -): PermissionGroupIdentifier { - if (agentGroup.isFull) { - return PermissionGroupType.Full; - } else if (agentGroup.isExceptMeta) { - return PermissionGroupType.ExceptMeta; - } else if (agentGroup.isPolymeshV1CAA) { - return PermissionGroupType.PolymeshV1Caa; - } else if (agentGroup.isPolymeshV1PIA) { - return PermissionGroupType.PolymeshV1Pia; - } else { - return { custom: u32ToBigNumber(agentGroup.asCustom) }; - } -} - -/** - * @hidden - */ -export function authorizationToAuthorizationData( - auth: Authorization, - context: Context -): PolymeshPrimitivesAuthorizationAuthorizationData { - let value; - - const { type } = auth; - - if (type === AuthorizationType.AttestPrimaryKeyRotation) { - value = stringToIdentityId(auth.value.did, context); - } else if (type === AuthorizationType.RotatePrimaryKey) { - value = null; - } else if (type === AuthorizationType.JoinIdentity) { - value = permissionsToMeshPermissions(auth.value, context); - } else if (type === AuthorizationType.PortfolioCustody) { - value = portfolioIdToMeshPortfolioId(portfolioToPortfolioId(auth.value), context); - } else if ( - auth.type === AuthorizationType.TransferAssetOwnership || - auth.type === AuthorizationType.TransferTicker - ) { - value = stringToTicker(auth.value, context); - } else if (type === AuthorizationType.RotatePrimaryKeyToSecondary) { - value = permissionsToMeshPermissions(auth.value, context); - } else if (type === AuthorizationType.BecomeAgent) { - const ticker = stringToTicker(auth.value.asset.ticker, context); - if (auth.value instanceof CustomPermissionGroup) { - const { id } = auth.value; - value = [ticker, permissionGroupIdentifierToAgentGroup({ custom: id }, context)]; - } else { - const { type: groupType } = auth.value; - value = [ticker, permissionGroupIdentifierToAgentGroup(groupType, context)]; - } - } else { - value = auth.value; - } - - return context.createType('PolymeshPrimitivesAuthorizationAuthorizationData', { - [type]: value, - }); -} - -/** - * @hidden - */ -export function authorizationTypeToMeshAuthorizationType( - authorizationType: AuthorizationType, - context: Context -): MeshAuthorizationType { - return context.createType('AuthorizationType', authorizationType); -} - -/** - * @hidden - */ -export function bigNumberToBalance(value: BigNumber, context: Context, divisible = true): Balance { - assertIsPositive(value); - - if (value.isGreaterThan(MAX_BALANCE)) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'The value exceeds the maximum possible balance', - data: { - currentValue: value, - amountLimit: MAX_BALANCE, - }, - }); - } - - if (divisible) { - if ((value.decimalPlaces() ?? 0) > MAX_DECIMALS) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'The value has more decimal places than allowed', - data: { - currentValue: value, - decimalsLimit: MAX_DECIMALS, - }, - }); - } - } else { - if (value.decimalPlaces()) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'The value has decimals but the Asset is indivisible', - }); - } - } - - return context.createType('Balance', value.shiftedBy(6).toString()); -} - -/** - * @hidden - */ -export function balanceToBigNumber(balance: Balance): BigNumber { - return new BigNumber(balance.toString()).shiftedBy(-6); -} - -/** - * Assembles permissions group identifier + ticker into appropriate permission group based on group identifier - */ -function assemblePermissionGroup( - permissionGroupIdentifier: PermissionGroupIdentifier, - ticker: string, - context: Context -): KnownPermissionGroup | CustomPermissionGroup { - switch (permissionGroupIdentifier) { - case PermissionGroupType.ExceptMeta: - case PermissionGroupType.Full: - case PermissionGroupType.PolymeshV1Caa: - case PermissionGroupType.PolymeshV1Pia: { - return new KnownPermissionGroup({ type: permissionGroupIdentifier, ticker }, context); - } - default: { - const { custom: id } = permissionGroupIdentifier; - return new CustomPermissionGroup({ id, ticker }, context); - } - } -} -/** - * @hidden - */ -export function agentGroupToPermissionGroup( - agentGroup: PolymeshPrimitivesAgentAgentGroup, - ticker: string, - context: Context -): KnownPermissionGroup | CustomPermissionGroup { - const permissionGroupIdentifier = agentGroupToPermissionGroupIdentifier(agentGroup); - return assemblePermissionGroup(permissionGroupIdentifier, ticker, context); -} - -/** - * @hidden - */ -export function authorizationDataToAuthorization( - auth: PolymeshPrimitivesAuthorizationAuthorizationData, - context: Context -): Authorization { - if (auth.isAttestPrimaryKeyRotation) { - return { - type: AuthorizationType.AttestPrimaryKeyRotation, - value: new Identity( - { - did: identityIdToString(auth.asAttestPrimaryKeyRotation), - }, - context - ), - }; - } - - if (auth.isRotatePrimaryKey) { - return { - type: AuthorizationType.RotatePrimaryKey, - }; - } - - if (auth.isTransferTicker) { - return { - type: AuthorizationType.TransferTicker, - value: tickerToString(auth.asTransferTicker), - }; - } - - if (auth.isAddMultiSigSigner) { - return { - type: AuthorizationType.AddMultiSigSigner, - value: accountIdToString(auth.asAddMultiSigSigner), - }; - } - - if (auth.isTransferAssetOwnership) { - return { - type: AuthorizationType.TransferAssetOwnership, - value: tickerToString(auth.asTransferAssetOwnership), - }; - } - - if (auth.isPortfolioCustody) { - return { - type: AuthorizationType.PortfolioCustody, - value: meshPortfolioIdToPortfolio(auth.asPortfolioCustody, context), - }; - } - - if (auth.isJoinIdentity) { - return { - type: AuthorizationType.JoinIdentity, - value: meshPermissionsToPermissions(auth.asJoinIdentity, context), - }; - } - - if (auth.isAddRelayerPayingKey) { - const [userKey, payingKey, polyxLimit] = auth.asAddRelayerPayingKey; - - return { - type: AuthorizationType.AddRelayerPayingKey, - value: { - beneficiary: new Account({ address: accountIdToString(userKey) }, context), - subsidizer: new Account({ address: accountIdToString(payingKey) }, context), - allowance: balanceToBigNumber(polyxLimit), - }, - }; - } - - if (auth.isBecomeAgent) { - const [ticker, agentGroup] = auth.asBecomeAgent; - - return { - type: AuthorizationType.BecomeAgent, - value: agentGroupToPermissionGroup(agentGroup, tickerToString(ticker), context), - }; - } - - if (auth.isRotatePrimaryKeyToSecondary) { - return { - type: AuthorizationType.RotatePrimaryKeyToSecondary, - value: meshPermissionsToPermissions(auth.asRotatePrimaryKeyToSecondary, context), - }; - } - - throw new PolymeshError({ - code: ErrorCode.UnexpectedError, - message: 'Unsupported Authorization Type. Please contact the Polymesh team', - data: { - auth: JSON.stringify(auth, null, 2), - }, - }); -} - -/** - * @hidden - */ -function assertMemoValid(value: string): void { - if (value.length > MAX_MEMO_LENGTH) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'Max memo length exceeded', - data: { - maxLength: MAX_MEMO_LENGTH, - }, - }); - } -} - -/** - * @hidden - */ -export function stringToMemo(value: string, context: Context): PolymeshPrimitivesMemo { - assertMemoValid(value); - - return context.createType('PolymeshPrimitivesMemo', padString(value, MAX_MEMO_LENGTH)); -} - -/** - * @hidden - */ -export function u8ToTransferStatus(status: u8): TransferStatus { - const code = status.toNumber(); - - switch (code) { - case 81: { - return TransferStatus.Success; - } - case 82: { - return TransferStatus.InsufficientBalance; - } - case 83: { - return TransferStatus.InsufficientAllowance; - } - case 84: { - return TransferStatus.TransfersHalted; - } - case 85: { - return TransferStatus.FundsLocked; - } - case 86: { - return TransferStatus.InvalidSenderAddress; - } - case 87: { - return TransferStatus.InvalidReceiverAddress; - } - case 88: { - return TransferStatus.InvalidOperator; - } - case 160: { - return TransferStatus.InvalidSenderIdentity; - } - case 161: { - return TransferStatus.InvalidReceiverIdentity; - } - case 162: { - return TransferStatus.ComplianceFailure; - } - case 163: { - return TransferStatus.SmartExtensionFailure; - } - case 164: { - return TransferStatus.InvalidGranularity; - } - case 165: { - return TransferStatus.VolumeLimitReached; - } - case 166: { - return TransferStatus.BlockedTransaction; - } - case 168: { - return TransferStatus.FundsLimitReached; - } - case 169: { - return TransferStatus.PortfolioFailure; - } - case 170: { - return TransferStatus.CustodianError; - } - case 171: { - return TransferStatus.ScopeClaimMissing; - } - case 172: { - return TransferStatus.TransferRestrictionFailure; - } - case 80: { - return TransferStatus.Failure; - } - default: { - throw new PolymeshError({ - code: ErrorCode.UnexpectedError, - message: `Unsupported status code "${status.toString()}". Please report this issue to the Polymesh team`, - }); - } - } -} - -/** - * @hidden - */ -export function internalAssetTypeToAssetType( - type: InternalAssetType, - context: Context -): PolymeshPrimitivesAssetAssetType { - return context.createType('PolymeshPrimitivesAssetAssetType', type); -} - -/** - * @hidden - */ -export function internalNftTypeToNftType( - type: InternalNftType, - context: Context -): PolymeshPrimitivesAssetNonFungibleType { - return context.createType('PolymeshPrimitivesAssetNonFungibleType', type); -} - -/** - * @hidden - */ -export function assetTypeToKnownOrId( - assetType: PolymeshPrimitivesAssetAssetType -): - | { type: 'Fungible'; value: KnownAssetType | BigNumber } - | { type: 'NonFungible'; value: KnownNftType | BigNumber } { - if (assetType.isNonFungible) { - const type = 'NonFungible'; - const rawNftType = assetType.asNonFungible; - if (rawNftType.isDerivative) { - return { type, value: KnownNftType.Derivative }; - } else if (rawNftType.isFixedIncome) { - return { type, value: KnownNftType.FixedIncome }; - } else if (rawNftType.isInvoice) { - return { type, value: KnownNftType.Invoice }; - } - return { type, value: u32ToBigNumber(rawNftType.asCustom) }; - } - const type = 'Fungible'; - if (assetType.isEquityCommon) { - return { type, value: KnownAssetType.EquityCommon }; - } - if (assetType.isEquityPreferred) { - return { type, value: KnownAssetType.EquityPreferred }; - } - if (assetType.isCommodity) { - return { type, value: KnownAssetType.Commodity }; - } - if (assetType.isFixedIncome) { - return { type, value: KnownAssetType.FixedIncome }; - } - if (assetType.isReit) { - return { type, value: KnownAssetType.Reit }; - } - if (assetType.isFund) { - return { type, value: KnownAssetType.Fund }; - } - if (assetType.isRevenueShareAgreement) { - return { type, value: KnownAssetType.RevenueShareAgreement }; - } - if (assetType.isStructuredProduct) { - return { type, value: KnownAssetType.StructuredProduct }; - } - if (assetType.isDerivative) { - return { type, value: KnownAssetType.Derivative }; - } - if (assetType.isStableCoin) { - return { type, value: KnownAssetType.StableCoin }; - } - - return { type, value: u32ToBigNumber(assetType.asCustom) }; -} - -/** - * @hidden - */ -export function posRatioToBigNumber(postRatio: PolymeshPrimitivesPosRatio): BigNumber { - const [numerator, denominator] = postRatio.map(u32ToBigNumber); - return numerator.dividedBy(denominator); -} - -/** - * @hidden - */ -export function nameToAssetName(value: string, context: Context): Bytes { - const { - polymeshApi: { - consts: { - asset: { assetNameMaxLength }, - }, - }, - } = context; - - const nameMaxLength = u32ToBigNumber(assetNameMaxLength); - - if (nameMaxLength.lt(value.length)) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'Asset name length exceeded', - data: { - maxLength: nameMaxLength, - }, - }); - } - return stringToBytes(value, context); -} - -/** - * @hidden - */ -export function fundingRoundToAssetFundingRound(value: string, context: Context): Bytes { - const { - polymeshApi: { - consts: { - asset: { fundingRoundNameMaxLength }, - }, - }, - } = context; - - const nameMaxLength = u32ToBigNumber(fundingRoundNameMaxLength); - - if (nameMaxLength.lt(value.length)) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'Asset funding round name length exceeded', - data: { - maxLength: nameMaxLength, - }, - }); - } - return stringToBytes(value, context); -} - -/** - * @hidden - */ -export function isIsinValid(isin: string): boolean { - isin = isin.toUpperCase(); - - if (!/^[0-9A-Z]{12}$/.test(isin)) { - return false; - } - - const v: number[] = []; - - rangeRight(11).forEach(i => { - const c = parseInt(isin.charAt(i)); - if (isNaN(c)) { - const letterCode = isin.charCodeAt(i) - 55; - v.push(letterCode % 10); - v.push(Math.floor(letterCode / 10)); - } else { - v.push(Number(c)); - } - }); - - let sum = 0; - - range(v.length).forEach(i => { - if (i % 2 === 0) { - const d = v[i] * 2; - sum += Math.floor(d / 10); - sum += d % 10; - } else { - sum += v[i]; - } - }); - - return (10 - (sum % 10)) % 10 === Number(isin[isin.length - 1]); -} - -/** - * @hidden - */ -function validateCusipChecksum(cusip: string): boolean { - let sum = 0; - - // cSpell: disable-next-line - const cusipChars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ*@#'.split(''); - - const cusipLength = cusip.length - 1; - - range(cusipLength).forEach(i => { - const item = cusip[i]; - const code = item.charCodeAt(0); - - let num; - - if (code >= 'A'.charCodeAt(0) && code <= 'Z'.charCodeAt(0)) { - num = cusipChars.indexOf(item) + 10; - } else { - num = Number(item); - } - - if (i % 2 !== 0) { - num *= 2; - } - - num = (num % 10) + Math.floor(num / 10); - sum += num; - }); - - return (10 - (sum % 10)) % 10 === Number(cusip[cusip.length - 1]); -} - -/** - * @hidden - * - * @note CINS and CUSIP use the same validation - */ -export function isCusipValid(cusip: string): boolean { - cusip = cusip.toUpperCase(); - - if (!/^[0-9A-Z@#*]{9}$/.test(cusip)) { - return false; - } - - return validateCusipChecksum(cusip); -} - -/** - * @hidden - */ -export function isLeiValid(lei: string): boolean { - lei = lei.toUpperCase(); - - if (!/^[0-9A-Z]{18}\d{2}$/.test(lei)) { - return false; - } - - return computeWithoutCheck(lei) === 1; -} - -/** - * Check if given string is a valid FIGI identifier - * - * A FIGI consists of three parts: - * - a two-character prefix which is a combination of upper case consonants with the following exceptions: BS, BM, GG, GB, GH, KY, VG - * - a 'G' as the third character; - * - an eight-character combination of upper case consonants and the numerals 0 – 9 - * - a single check digit - * @hidden - */ -export function isFigiValid(figi: string): boolean { - figi = figi.toUpperCase(); - - if ( - ['BS', 'BM', 'GG', 'GB', 'GH', 'KY', 'VG'].includes(figi.substring(0, 2)) || - !/^[B-DF-HJ-NP-TV-Z]{2}G[B-DF-HJ-NP-TV-Z0-9]{8}\d$/.test(figi) - ) { - return false; - } - - return validateCusipChecksum(figi); -} - -/** - * @hidden - */ -export function securityIdentifierToAssetIdentifier( - identifier: SecurityIdentifier, - context: Context -): PolymeshPrimitivesAssetIdentifier { - const { type, value } = identifier; - - let error = false; - - switch (type) { - case SecurityIdentifierType.Isin: { - if (!isIsinValid(value)) { - error = true; - } - break; - } - case SecurityIdentifierType.Lei: { - if (!isLeiValid(value)) { - error = true; - } - break; - } - case SecurityIdentifierType.Figi: { - if (!isFigiValid(value)) { - error = true; - } - break; - } - // CINS and CUSIP use the same validation - default: { - if (!isCusipValid(value)) { - error = true; - } - } - } - - if (error) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: `Invalid security identifier ${value} of type ${type}`, - }); - } - - return context.createType('PolymeshPrimitivesAssetIdentifier', { [type]: value }); -} - -/** - * @hidden - */ -export function assetIdentifierToSecurityIdentifier( - identifier: PolymeshPrimitivesAssetIdentifier -): SecurityIdentifier { - if (identifier.isCusip) { - return { - type: SecurityIdentifierType.Cusip, - value: u8aToString(identifier.asCusip), - }; - } - if (identifier.isIsin) { - return { - type: SecurityIdentifierType.Isin, - value: u8aToString(identifier.asIsin), - }; - } - if (identifier.isCins) { - return { - type: SecurityIdentifierType.Cins, - value: u8aToString(identifier.asCins), - }; - } - - if (identifier.isFigi) { - return { - type: SecurityIdentifierType.Figi, - value: u8aToString(identifier.asFigi), - }; - } - - return { - type: SecurityIdentifierType.Lei, - value: u8aToString(identifier.asLei), - }; -} - -/** - * @hidden - */ -export function stringToDocumentHash( - docHash: string | undefined, - context: Context -): PolymeshPrimitivesDocumentHash { - if (docHash === undefined) { - return context.createType('PolymeshPrimitivesDocumentHash', 'None'); - } - - if (!isHex(docHash, -1, true)) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'Document hash must be a hexadecimal string prefixed by 0x', - }); - } - - const { length } = docHash; - - // array of Hash types (H128, H160, etc) and their corresponding hex lengths - const hashTypes = [32, 40, 48, 56, 64, 80, 96, 128].map(max => ({ - maxLength: max + 2, - key: `H${max * 4}`, - })); - - const type = hashTypes.find(({ maxLength: max }) => length <= max); - - if (!type) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'Document hash exceeds max length', - }); - } - - const { maxLength, key } = type; - - return context.createType('PolymeshPrimitivesDocumentHash', { - [key]: hexToU8a(docHash.padEnd(maxLength, '0')), - }); -} - -/** - * @hidden - */ -export function documentHashToString(docHash: PolymeshPrimitivesDocumentHash): string | undefined { - if (docHash.isNone) { - return; - } - - if (docHash.isH128) { - return u8aToHex(docHash.asH128); - } - - if (docHash.isH160) { - return u8aToHex(docHash.asH160); - } - - if (docHash.isH192) { - return u8aToHex(docHash.asH192); - } - - if (docHash.isH224) { - return u8aToHex(docHash.asH224); - } - - if (docHash.isH256) { - return u8aToHex(docHash.asH256); - } - - if (docHash.isH320) { - return u8aToHex(docHash.asH320); - } - - if (docHash.isH384) { - return u8aToHex(docHash.asH384); - } - - return u8aToHex(docHash.asH512); -} - -/** - * @hidden - */ -export function assetDocumentToDocument( - { uri, contentHash, name, filedAt, type }: AssetDocument, - context: Context -): PolymeshPrimitivesDocument { - return context.createType('PolymeshPrimitivesDocument', { - uri: stringToBytes(uri, context), - name: stringToBytes(name, context), - contentHash: stringToDocumentHash(contentHash, context), - docType: optionize(stringToBytes)(type, context), - filingDate: optionize(dateToMoment)(filedAt, context), - }); -} - -/** - * @hidden - */ -export function documentToAssetDocument({ - uri, - contentHash: hash, - name, - docType, - filingDate, -}: PolymeshPrimitivesDocument): AssetDocument { - const filedAt = filingDate.unwrapOr(undefined); - const type = docType.unwrapOr(undefined); - const contentHash = documentHashToString(hash); - - let doc: AssetDocument = { - uri: bytesToString(uri), - name: bytesToString(name), - }; - - if (contentHash) { - doc = { ...doc, contentHash }; - } - - if (filedAt) { - doc = { ...doc, filedAt: momentToDate(filedAt) }; - } - - if (type) { - doc = { ...doc, type: bytesToString(type) }; - } - - return doc; -} - -/** - * @hidden - */ -export function cddStatusToBoolean(cddStatus: CddStatus): boolean { - if (cddStatus.isOk) { - return true; - } - return false; -} - -/** - * @hidden - */ -export function canTransferResultToTransferStatus( - canTransferResult: CanTransferResult -): TransferStatus { - if (canTransferResult.isErr) { - throw new PolymeshError({ - code: ErrorCode.UnexpectedError, - message: `Error while checking transfer validity: ${bytesToString(canTransferResult.asErr)}`, - }); - } - - return u8ToTransferStatus(canTransferResult.asOk); -} - -/** - * @hidden - */ -export function scopeToMeshScope( - scope: Scope, - context: Context -): PolymeshPrimitivesIdentityClaimScope { - const { type, value } = scope; - - let scopeValue: PolymeshPrimitivesTicker | PolymeshPrimitivesIdentityId | string; - switch (type) { - case ScopeType.Ticker: - scopeValue = stringToTicker(value, context); - break; - case ScopeType.Identity: - scopeValue = stringToIdentityId(value, context); - break; - default: - scopeValue = value; - break; - } - - return context.createType('Scope', { - [type]: scopeValue, - }); -} - -/** - * @hidden - */ -export function meshScopeToScope(scope: PolymeshPrimitivesIdentityClaimScope): Scope { - if (scope.isTicker) { - return { - type: ScopeType.Ticker, - value: tickerToString(scope.asTicker), - }; - } - - if (scope.isIdentity) { - return { - type: ScopeType.Identity, - value: identityIdToString(scope.asIdentity), - }; - } - - return { - type: ScopeType.Custom, - value: u8aToString(scope.asCustom), - }; -} - -/** - * @hidden - */ -export function stringToCddId(cddId: string, context: Context): PolymeshPrimitivesCddId { - return context.createType('PolymeshPrimitivesCddId', cddId); -} - -/** - * @hidden - */ -export function cddIdToString(cddId: PolymeshPrimitivesCddId): string { - return cddId.toString(); -} - -/** - * @hidden - */ -export function claimToMeshClaim( - claim: Claim, - context: Context -): PolymeshPrimitivesIdentityClaimClaim { - let value; - - switch (claim.type) { - case ClaimType.CustomerDueDiligence: { - value = stringToCddId(claim.id, context); - break; - } - case ClaimType.Jurisdiction: { - const { code, scope } = claim; - value = tuple(code, scopeToMeshScope(scope, context)); - break; - } - case ClaimType.Custom: { - const { customClaimTypeId, scope } = claim; - value = tuple(bigNumberToU32(customClaimTypeId, context), scopeToMeshScope(scope, context)); - break; - } - default: { - value = scopeToMeshScope(claim.scope, context); - } - } - - return context.createType('PolymeshPrimitivesIdentityClaimClaim', { [claim.type]: value }); -} - -/** - * @hidden - */ -export function middlewareScopeToScope(scope: MiddlewareScope): Scope { - const { type, value } = scope; - - switch (type) { - case ClaimScopeTypeEnum.Ticker: - return { type: ScopeType.Ticker, value: removePadding(value) }; - case ClaimScopeTypeEnum.Identity: - case ClaimScopeTypeEnum.Custom: - return { type: scope.type as ScopeType, value }; - } - - throw new PolymeshError({ - code: ErrorCode.UnexpectedError, - message: 'Unsupported Scope Type. Please contact the Polymesh team', - data: { - scope, - }, - }); -} - -/** - * @hidden - */ -export function scopeToMiddlewareScope(scope: Scope, padTicker = true): MiddlewareScope { - const { type, value } = scope; - - switch (type) { - case ScopeType.Ticker: - return { - type: ClaimScopeTypeEnum.Ticker, - value: padTicker ? padEnd(value, 12, '\0') : value, - }; - case ScopeType.Identity: - case ScopeType.Custom: - return { type: ClaimScopeTypeEnum[scope.type], value }; - } -} - -/** - * @hidden - */ -export function middlewareEventDetailsToEventIdentifier( - block: Block, - eventIdx = 0 -): EventIdentifier { - const { blockId, datetime, hash } = block; - - return { - blockNumber: new BigNumber(blockId), - blockHash: hash, - blockDate: new Date(`${datetime}`), - eventIndex: new BigNumber(eventIdx), - }; -} - -/** - * @hidden - */ -export function meshClaimToClaim(claim: PolymeshPrimitivesIdentityClaimClaim): Claim { - if (claim.isJurisdiction) { - const [code, scope] = claim.asJurisdiction; - return { - type: ClaimType.Jurisdiction, - code: meshCountryCodeToCountryCode(code), - scope: meshScopeToScope(scope), - }; - } - - if (claim.isAccredited) { - return { - type: ClaimType.Accredited, - scope: meshScopeToScope(claim.asAccredited), - }; - } - - if (claim.isAffiliate) { - return { - type: ClaimType.Affiliate, - scope: meshScopeToScope(claim.asAffiliate), - }; - } - - if (claim.isBuyLockup) { - return { - type: ClaimType.BuyLockup, - scope: meshScopeToScope(claim.asBuyLockup), - }; - } - - if (claim.isSellLockup) { - return { - type: ClaimType.SellLockup, - scope: meshScopeToScope(claim.asSellLockup), - }; - } - - if (claim.isCustomerDueDiligence) { - return { - type: ClaimType.CustomerDueDiligence, - id: cddIdToString(claim.asCustomerDueDiligence), - }; - } - - if (claim.isKnowYourCustomer) { - return { - type: ClaimType.KnowYourCustomer, - scope: meshScopeToScope(claim.asKnowYourCustomer), - }; - } - - if (claim.isExempted) { - return { - type: ClaimType.Exempted, - scope: meshScopeToScope(claim.asExempted), - }; - } - - return { - type: ClaimType.Blocked, - scope: meshScopeToScope(claim.asBlocked), - }; -} - -/** - * @hidden - */ -export function statsClaimToStatClaimInputType( - claim: PolymeshPrimitivesStatisticsStatClaim -): StatClaimInputType { - if (claim.isJurisdiction) { - return { - type: ClaimType.Jurisdiction, - }; - } else if (claim.isAccredited) { - return { type: ClaimType.Accredited }; - } else { - return { type: ClaimType.Affiliate }; - } -} - -/** - * @hidden - */ -export function stringToTargetIdentity( - did: string | null, - context: Context -): PolymeshPrimitivesConditionTargetIdentity { - return context.createType( - 'PolymeshPrimitivesConditionTargetIdentity', - // eslint-disable-next-line @typescript-eslint/naming-convention - did ? { Specific: stringToIdentityId(did, context) } : 'ExternalAgent' - ); -} - -/** - * @hidden - */ -export function meshClaimTypeToClaimType( - claimType: PolymeshPrimitivesIdentityClaimClaimType -): ClaimType { - if (claimType.isJurisdiction) { - return ClaimType.Jurisdiction; - } - - if (claimType.isAccredited) { - return ClaimType.Accredited; - } - - if (claimType.isAffiliate) { - return ClaimType.Affiliate; - } - - if (claimType.isBuyLockup) { - return ClaimType.BuyLockup; - } - - if (claimType.isSellLockup) { - return ClaimType.SellLockup; - } - - if (claimType.isCustomerDueDiligence) { - return ClaimType.CustomerDueDiligence; - } - - if (claimType.isKnowYourCustomer) { - return ClaimType.KnowYourCustomer; - } - - if (claimType.isExempted) { - return ClaimType.Exempted; - } - - return ClaimType.Blocked; -} - -/** - * @hidden - */ -export function trustedIssuerToTrustedClaimIssuer( - trustedIssuer: PolymeshPrimitivesConditionTrustedIssuer, - context: Context -): TrustedClaimIssuer { - const { issuer, trustedFor: claimTypes } = trustedIssuer; - - const identity = new Identity({ did: identityIdToString(issuer) }, context); - - let trustedFor: ClaimType[] | null = null; - - if (claimTypes.isSpecific) { - trustedFor = claimTypes.asSpecific.map(meshClaimTypeToClaimType); - } - - return { - identity, - trustedFor, - }; -} - -/** - * @hidden - */ -export function trustedClaimIssuerToTrustedIssuer( - issuer: InputTrustedClaimIssuer, - context: Context -): PolymeshPrimitivesConditionTrustedIssuer { - const { trustedFor: claimTypes, identity } = issuer; - const did = signerToString(identity); - - let trustedFor; - - if (!claimTypes) { - trustedFor = 'Any'; - } else { - trustedFor = { Specific: claimTypes }; - } - - return context.createType('PolymeshPrimitivesConditionTrustedIssuer', { - issuer: stringToIdentityId(did, context), - trustedFor, - }); -} - -/** - * @hidden - */ -export function requirementToComplianceRequirement( - requirement: InputRequirement, - context: Context -): PolymeshPrimitivesComplianceManagerComplianceRequirement { - const senderConditions: PolymeshPrimitivesCondition[] = []; - const receiverConditions: PolymeshPrimitivesCondition[] = []; - - requirement.conditions.forEach(condition => { - let conditionContent: - | PolymeshPrimitivesIdentityClaimClaim - | PolymeshPrimitivesIdentityClaimClaim[] - | PolymeshPrimitivesConditionTargetIdentity; - let { type } = condition; - if (isSingleClaimCondition(condition)) { - const { claim } = condition; - conditionContent = claimToMeshClaim(claim, context); - } else if (isMultiClaimCondition(condition)) { - const { claims } = condition; - conditionContent = claims.map(claim => claimToMeshClaim(claim, context)); - } else if (isIdentityCondition(condition)) { - const { identity } = condition; - conditionContent = stringToTargetIdentity(signerToString(identity), context); - } else { - // IsExternalAgent does not exist as a condition type in Polymesh, it's SDK sugar - type = ConditionType.IsIdentity; - conditionContent = stringToTargetIdentity(null, context); - } - - const { target, trustedClaimIssuers = [] } = condition; - - const meshCondition = context.createType( - 'PolymeshPrimitivesCondition', - { - conditionType: { - [type]: conditionContent, - }, - issuers: trustedClaimIssuers.map(issuer => - trustedClaimIssuerToTrustedIssuer(issuer, context) - ), - } - ); - - if ([ConditionTarget.Both, ConditionTarget.Receiver].includes(target)) { - receiverConditions.push(meshCondition); - } - - if ([ConditionTarget.Both, ConditionTarget.Sender].includes(target)) { - senderConditions.push(meshCondition); - } - }); - - return context.createType('PolymeshPrimitivesComplianceManagerComplianceRequirement', { - senderConditions, - receiverConditions, - id: bigNumberToU32(requirement.id, context), - }); -} - -/** - * @hidden - */ -function meshConditionTypeToCondition( - meshConditionType: PolymeshPrimitivesConditionConditionType, - context: Context -): - | Pick - | Pick - | Pick - | Pick { - if (meshConditionType.isIsPresent) { - return { - type: ConditionType.IsPresent, - claim: meshClaimToClaim(meshConditionType.asIsPresent), - }; - } - - if (meshConditionType.isIsAbsent) { - return { - type: ConditionType.IsAbsent, - claim: meshClaimToClaim(meshConditionType.asIsAbsent), - }; - } - - if (meshConditionType.isIsAnyOf) { - return { - type: ConditionType.IsAnyOf, - claims: meshConditionType.asIsAnyOf.map(claim => meshClaimToClaim(claim)), - }; - } - - if (meshConditionType.isIsIdentity) { - const target = meshConditionType.asIsIdentity; - - if (target.isExternalAgent) { - return { - type: ConditionType.IsExternalAgent, - }; - } - - return { - type: ConditionType.IsIdentity, - identity: new Identity({ did: identityIdToString(target.asSpecific) }, context), - }; - } - - return { - type: ConditionType.IsNoneOf, - claims: meshConditionType.asIsNoneOf.map(claim => meshClaimToClaim(claim)), - }; -} - -/** - * @hidden - * @note - the data for this method comes from an RPC call, which hasn't been updated to the camelCase types - */ -export function complianceRequirementResultToRequirementCompliance( - complianceRequirement: ComplianceRequirementResult, - context: Context -): RequirementCompliance { - const conditions: ConditionCompliance[] = []; - - const conditionCompliancesAreEqual = ( - { condition: aCondition, complies: aComplies }: ConditionCompliance, - { condition: bCondition, complies: bComplies }: ConditionCompliance - ): boolean => conditionsAreEqual(aCondition, bCondition) && aComplies === bComplies; - - complianceRequirement.senderConditions.forEach( - ({ condition: { conditionType, issuers }, result }) => { - const newCondition = { - condition: { - ...meshConditionTypeToCondition(conditionType, context), - target: ConditionTarget.Sender, - trustedClaimIssuers: issuers.map(trustedIssuer => - trustedIssuerToTrustedClaimIssuer(trustedIssuer, context) - ), - }, - complies: boolToBoolean(result), - }; - - const existingCondition = conditions.find(condition => - conditionCompliancesAreEqual(condition, newCondition) - ); - - if (!existingCondition) { - conditions.push(newCondition); - } - } - ); - - complianceRequirement.receiverConditions.forEach( - ({ condition: { conditionType, issuers }, result }) => { - const newCondition = { - condition: { - ...meshConditionTypeToCondition(conditionType, context), - target: ConditionTarget.Receiver, - trustedClaimIssuers: issuers.map(trustedIssuer => - trustedIssuerToTrustedClaimIssuer(trustedIssuer, context) - ), - }, - complies: boolToBoolean(result), - }; - - const existingCondition = conditions.find(condition => - conditionCompliancesAreEqual(condition, newCondition) - ); - - if (existingCondition && existingCondition.condition.target === ConditionTarget.Sender) { - existingCondition.condition.target = ConditionTarget.Both; - } else { - conditions.push(newCondition); - } - } - ); - - return { - id: u32ToBigNumber(complianceRequirement.id), - conditions, - complies: boolToBoolean(complianceRequirement.result), - }; -} - -/** - * @hidden - */ -export function complianceRequirementToRequirement( - complianceRequirement: PolymeshPrimitivesComplianceManagerComplianceRequirement, - context: Context -): Requirement { - const conditions: Condition[] = []; - - complianceRequirement.senderConditions.forEach(({ conditionType, issuers }) => { - const newCondition: Condition = { - ...meshConditionTypeToCondition(conditionType, context), - target: ConditionTarget.Sender, - }; - - if (issuers.length) { - newCondition.trustedClaimIssuers = issuers.map(trustedIssuer => - trustedIssuerToTrustedClaimIssuer(trustedIssuer, context) - ); - } - - const existingCondition = conditions.find(condition => - conditionsAreEqual(condition, newCondition) - ); - - if (!existingCondition) { - conditions.push(newCondition); - } - }); - - complianceRequirement.receiverConditions.forEach(({ conditionType, issuers }) => { - const newCondition: Condition = { - ...meshConditionTypeToCondition(conditionType, context), - target: ConditionTarget.Receiver, - }; - - if (issuers.length) { - newCondition.trustedClaimIssuers = issuers.map(trustedIssuer => - trustedIssuerToTrustedClaimIssuer(trustedIssuer, context) - ); - } - - const existingCondition = conditions.find(condition => - conditionsAreEqual(condition, newCondition) - ); - - if (existingCondition && existingCondition.target === ConditionTarget.Sender) { - existingCondition.target = ConditionTarget.Both; - } else { - conditions.push(newCondition); - } - }); - - return { - id: u32ToBigNumber(complianceRequirement.id), - conditions, - }; -} - -/** - * @hidden - */ -export function txTagToProtocolOp( - tag: TxTag, - context: Context -): PolymeshCommonUtilitiesProtocolFeeProtocolOp { - const protocolOpTags = [ - TxTags.asset.RegisterTicker, - TxTags.asset.Issue, - TxTags.asset.AddDocuments, - TxTags.asset.CreateAsset, - TxTags.capitalDistribution.Distribute, - TxTags.checkpoint.CreateSchedule, - TxTags.complianceManager.AddComplianceRequirement, - TxTags.identity.CddRegisterDid, - TxTags.identity.AddClaim, - TxTags.identity.AddSecondaryKeysWithAuthorization, - TxTags.pips.Propose, - TxTags.corporateBallot.AttachBallot, - TxTags.capitalDistribution.Distribute, - ]; - - const [moduleName, extrinsicName] = tag.split('.'); - const value = `${stringUpperFirst(moduleName)}${stringUpperFirst(extrinsicName)}`; - - if (!includes(protocolOpTags, tag)) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: `${value} does not match any PolymeshCommonUtilitiesProtocolFeeProtocolOp`, - }); - } - - return context.createType('PolymeshCommonUtilitiesProtocolFeeProtocolOp', value); -} - -/** - * @hidden - */ -export function extrinsicIdentifierToTxTag(extrinsicIdentifier: ExtrinsicIdentifier): TxTag { - const { moduleId, callId } = extrinsicIdentifier; - let moduleName; - for (const txTagItem in TxTags) { - if (txTagItem.toLowerCase() === moduleId) { - moduleName = txTagItem; - } - } - - return `${moduleName}.${camelCase(callId)}` as TxTag; -} - -/** - * @hidden - */ -export function txTagToExtrinsicIdentifier(tag: TxTag): ExtrinsicIdentifier { - const [moduleName, extrinsicName] = tag.split('.'); - return { - moduleId: moduleName.toLowerCase() as ModuleIdEnum, - callId: snakeCase(extrinsicName) as CallIdEnum, - }; -} - -/** - * @hidden - */ -export function assetComplianceResultToCompliance( - assetComplianceResult: AssetComplianceResult, - context: Context -): Compliance { - const { requirements: rawRequirements, result, paused } = assetComplianceResult; - const requirements = rawRequirements.map(requirement => - complianceRequirementResultToRequirementCompliance(requirement, context) - ); - - return { - requirements, - complies: boolToBoolean(paused) || boolToBoolean(result), - }; -} - -/** - * @hidden - */ -export function moduleAddressToString(moduleAddress: string, context: Context): string { - return encodeAddress( - stringToU8a(padString(moduleAddress, MAX_MODULE_LENGTH)), - context.ss58Format.toNumber() - ); -} - -/** - * @hidden - */ -export function keyToAddress(key: string, context: Context): string { - if (!key.startsWith('0x')) { - key = `0x${key}`; - } - return encodeAddress(key, context.ss58Format.toNumber()); -} - -/** - * @hidden - */ -export function addressToKey(address: string, context: Context): string { - return u8aToHex(decodeAddress(address, IGNORE_CHECKSUM, context.ss58Format.toNumber())); -} - -/** - * - */ -export const coerceHexToString = (input: string): string => { - if (hexHasPrefix(input)) { - return removePadding(hexToString(input)); - } - return input; -}; - -/** - * @hidden - */ -export function transactionHexToTxTag(bytes: string, context: Context): TxTag { - const { section, method } = context.createType('Call', bytes); - - return extrinsicIdentifierToTxTag({ - moduleId: section.toLowerCase() as ModuleIdEnum, - callId: method as CallIdEnum, - }); -} - -/** - * @hidden - */ -export function transactionToTxTag(tx: PolymeshTx): TxTag { - return `${tx.section}.${tx.method}` as TxTag; -} - -/** - * @hidden - */ -export function secondaryAccountToMeshSecondaryKey( - secondaryKey: PermissionedAccount, - context: Context -): PolymeshPrimitivesSecondaryKey { - const { account, permissions } = secondaryKey; - - return context.createType('PolymeshPrimitivesSecondaryKey', { - signer: signerValueToSignatory(signerToSignerValue(account), context), - permissions: permissionsToMeshPermissions(permissions, context), - }); -} - -/** - * @hidden - */ -export function meshVenueTypeToVenueType(type: PolymeshPrimitivesSettlementVenueType): VenueType { - if (type.isOther) { - return VenueType.Other; - } - - if (type.isDistribution) { - return VenueType.Distribution; - } - - if (type.isSto) { - return VenueType.Sto; - } - - return VenueType.Exchange; -} - -/** - * @hidden - */ -export function venueTypeToMeshVenueType( - type: VenueType, - context: Context -): PolymeshPrimitivesSettlementVenueType { - return context.createType('PolymeshPrimitivesSettlementVenueType', type); -} - -/** - * @hidden - */ -export function meshInstructionStatusToInstructionStatus( - instruction: PolymeshPrimitivesSettlementInstructionStatus -): InstructionStatus { - if (instruction.isPending) { - return InstructionStatus.Pending; - } - - if (instruction.isFailed) { - return InstructionStatus.Failed; - } - - if (instruction.isRejected) { - return InstructionStatus.Rejected; - } - - if (instruction.isSuccess) { - return InstructionStatus.Success; - } - - return InstructionStatus.Unknown; -} - -/** - * @hidden - */ -export function meshAffirmationStatusToAffirmationStatus( - status: PolymeshPrimitivesSettlementAffirmationStatus -): AffirmationStatus { - if (status.isUnknown) { - return AffirmationStatus.Unknown; - } - - if (status.isPending) { - return AffirmationStatus.Pending; - } - - return AffirmationStatus.Affirmed; -} - -/** - * @hidden - */ -export function meshSettlementTypeToEndCondition( - type: PolymeshPrimitivesSettlementSettlementType -): InstructionEndCondition { - if (type.isSettleOnBlock) { - return { type: InstructionType.SettleOnBlock, endBlock: u32ToBigNumber(type.asSettleOnBlock) }; - } - - if (type.isSettleManual) { - return { - type: InstructionType.SettleManual, - endAfterBlock: u32ToBigNumber(type.asSettleManual), - }; - } - return { type: InstructionType.SettleOnAffirmation }; -} - -/** - * @hidden - */ -export function endConditionToSettlementType( - endCondition: InstructionEndCondition, - context: Context -): PolymeshPrimitivesSettlementSettlementType { - let value; - - const { type } = endCondition; - - switch (type) { - case InstructionType.SettleOnBlock: - value = { [InstructionType.SettleOnBlock]: bigNumberToU32(endCondition.endBlock, context) }; - break; - case InstructionType.SettleManual: - value = { - [InstructionType.SettleManual]: bigNumberToU32(endCondition.endAfterBlock, context), - }; - break; - default: - value = InstructionType.SettleOnAffirmation; - } - - return context.createType('PolymeshPrimitivesSettlementSettlementType', value); -} - -/** - * @hidden - */ -export function middlewareClaimToClaimData(claim: MiddlewareClaim, context: Context): ClaimData { - const { - targetId, - issuerId, - issuanceDate, - lastUpdateDate, - expiry, - type, - jurisdiction, - scope, - cddId, - customClaimTypeId, - } = claim; - return { - target: new Identity({ did: targetId }, context), - issuer: new Identity({ did: issuerId }, context), - issuedAt: new Date(parseFloat(issuanceDate)), - lastUpdatedAt: new Date(parseFloat(lastUpdateDate)), - expiry: expiry ? new Date(parseFloat(expiry)) : null, - claim: createClaim( - type, - jurisdiction, - scope, - cddId, - customClaimTypeId ? new BigNumber(customClaimTypeId) : undefined - ), - }; -} - -/** - * @hidden - */ -export function toIdentityWithClaimsArray( - data: MiddlewareClaim[], - context: Context, - groupByAttribute: string -): IdentityWithClaims[] { - const groupedData = groupBy(data, groupByAttribute); - - return map(groupedData, (claims, did) => ({ - identity: new Identity({ did }, context), - claims: claims.map(claim => middlewareClaimToClaimData(claim, context)), - })); -} - -/** - * @hidden - */ -export function nftToMeshNft( - ticker: string, - nfts: (Nft | BigNumber)[], - context: Context -): PolymeshPrimitivesNftNfTs { - return context.createType('PolymeshPrimitivesNftNfTs', { - ticker: stringToTicker(ticker, context), - ids: nfts.map(id => bigNumberToU64(asNftId(id), context)), - }); -} - -/** - * @hidden - */ -export function fungibleMovementToPortfolioFund( - portfolioItem: FungiblePortfolioMovement, - context: Context -): PolymeshPrimitivesPortfolioFund { - const { asset, amount, memo } = portfolioItem; - - return context.createType('PolymeshPrimitivesPortfolioFund', { - description: { - Fungible: { - ticker: stringToTicker(asTicker(asset), context), - amount: bigNumberToBalance(amount, context), - }, - }, - memo: optionize(stringToMemo)(memo, context), - }); -} - -/** - * @hidden - */ -export function nftMovementToPortfolioFund( - portfolioItem: NonFungiblePortfolioMovement, - context: Context -): PolymeshPrimitivesPortfolioFund { - const { asset, nfts, memo } = portfolioItem; - - return context.createType('PolymeshPrimitivesPortfolioFund', { - description: { - NonFungible: { - ticker: stringToTicker(asTicker(asset), context), - ids: nfts.map(nftId => bigNumberToU64(asNftId(nftId), context)), - }, - }, - memo: optionize(stringToMemo)(memo, context), - }); -} - -/** - * @hidden - */ -export function claimTypeToMeshClaimType( - claimType: ClaimType, - context: Context -): PolymeshPrimitivesIdentityClaimClaimType { - return context.createType('PolymeshPrimitivesIdentityClaimClaimType', claimType); -} - -/** - * @hidden - */ -export function claimIssuerToMeshClaimIssuer( - claimIssuer: StatClaimIssuer, - context: Context -): [PolymeshPrimitivesIdentityClaimClaimType, PolymeshPrimitivesIdentityId] { - const claimType = claimTypeToMeshClaimType(claimIssuer.claimType, context); - const identityId = stringToIdentityId(claimIssuer.issuer.did, context); - return [claimType, identityId]; -} - -/** - * @hidden - */ -export function transferRestrictionToPolymeshTransferCondition( - restriction: TransferRestriction, - context: Context -): PolymeshPrimitivesTransferComplianceTransferCondition { - const { type, value } = restriction; - let restrictionType: string; - let restrictionValue; - - const extractClaimValue = ( - claim: InputStatClaim - ): bool | PolymeshPrimitivesJurisdictionCountryCode | null => { - if (claim.type === ClaimType.Accredited) { - return booleanToBool(claim.accredited, context); - } else if (claim.type === ClaimType.Affiliate) { - return booleanToBool(claim.affiliate, context); - } else { - return optionize(countryCodeToMeshCountryCode)(claim.countryCode, context); - } - }; - - if (type === TransferRestrictionType.Count) { - restrictionType = 'MaxInvestorCount'; - restrictionValue = bigNumberToU64(value, context); - } else if (type === TransferRestrictionType.Percentage) { - restrictionType = 'MaxInvestorOwnership'; - restrictionValue = percentageToPermill(value, context); - } else if ( - type === TransferRestrictionType.ClaimCount || - type === TransferRestrictionType.ClaimPercentage - ) { - let rawMin; - let rawMax; - const { min, max, claim, issuer } = value; - if (type === TransferRestrictionType.ClaimCount) { - restrictionType = 'ClaimCount'; - rawMin = bigNumberToU64(min, context); - rawMax = optionize(bigNumberToU64)(max, context); - } else { - // i.e. TransferRestrictionType.ClaimPercentage - restrictionType = 'ClaimOwnership'; - rawMin = percentageToPermill(min, context); - rawMax = percentageToPermill(value.max, context); - } - const val = extractClaimValue(claim); - const claimValue = { - [claim.type]: val, - }; - const rawIdentityId = stringToIdentityId(issuer.did, context); - restrictionValue = [claimValue, rawIdentityId, rawMin, rawMax]; - } else { - throw new PolymeshError({ - code: ErrorCode.UnexpectedError, - message: `Unexpected transfer restriction type: "${type}". Please report this to the Polymesh team`, - }); - } - return context.createType('PolymeshPrimitivesTransferComplianceTransferCondition', { - [restrictionType]: restrictionValue, - }); -} - -/** - * @hidden - */ -export function identitiesToBtreeSet( - identities: Identity[], - context: Context -): BTreeSet { - const rawIds = identities.map(({ did }) => stringToIdentityId(did, context)); - - return context.createType('BTreeSet', rawIds); -} - -/** - * @hidden - */ -export function identitiesSetToIdentities( - identitySet: BTreeSet, - context: Context -): Identity[] { - return [...identitySet].map(rawId => new Identity({ did: identityIdToString(rawId) }, context)); -} - -/** - * @hidden - */ -export function auditorsToConfidentialAuditors( - context: Context, - auditors: ConfidentialAccount[], - mediators: Identity[] = [] -): PalletConfidentialAssetConfidentialAuditors { - const rawAccountKeys = auditors.map(({ publicKey }) => publicKey); - const rawMediatorIds = mediators.map(({ did }) => stringToIdentityId(did, context)); - - return context.createType('PalletConfidentialAssetConfidentialAuditors', { - auditors: context.createType('BTreeSet', rawAccountKeys), - mediators: context.createType('BTreeSet', rawMediatorIds), - }); -} - -/** - * @hidden - */ -export function transferConditionToTransferRestriction( - transferCondition: PolymeshPrimitivesTransferComplianceTransferCondition, - context: Context -): TransferRestriction { - if (transferCondition.isMaxInvestorCount) { - return { - type: TransferRestrictionType.Count, - value: u64ToBigNumber(transferCondition.asMaxInvestorCount), - }; - } else if (transferCondition.isMaxInvestorOwnership) { - return { - type: TransferRestrictionType.Percentage, - value: permillToBigNumber(transferCondition.asMaxInvestorOwnership), - }; - } else if (transferCondition.isClaimCount) { - return { - type: TransferRestrictionType.ClaimCount, - value: claimCountToClaimCountRestrictionValue(transferCondition.asClaimCount, context), - }; - } else if (transferCondition.isClaimOwnership) { - return { - type: TransferRestrictionType.ClaimPercentage, - value: claimPercentageToClaimPercentageRestrictionValue( - transferCondition.asClaimOwnership, - context - ), - }; - } else { - throw new PolymeshError({ - code: ErrorCode.FatalError, - message: 'Unexpected transfer condition type', - }); - } -} - -/** - * @hidden - */ -export function nftDispatchErrorToTransferError( - error: DispatchError, - context: Context -): TransferError { - const { - DuplicatedNFTId: duplicateErr, - InvalidNFTTransferComplianceFailure: complianceErr, - InvalidNFTTransferFrozenAsset: frozenErr, - InvalidNFTTransferInsufficientCount: insufficientErr, - NFTNotFound: notFoundErr, - InvalidNFTTransferNFTNotOwned: notOwnedErr, - InvalidNFTTransferSamePortfolio: samePortfolioErr, - } = context.polymeshApi.errors.nft; - - if (error.isModule) { - const moduleErr = error.asModule; - if ([notOwnedErr, notFoundErr, insufficientErr, duplicateErr].some(err => err.is(moduleErr))) { - return TransferError.InsufficientPortfolioBalance; - } else if (frozenErr.is(moduleErr)) { - return TransferError.TransfersFrozen; - } else if (complianceErr.is(moduleErr)) { - return TransferError.ComplianceFailure; - } else if (samePortfolioErr.is(moduleErr)) { - return TransferError.SelfTransfer; - } - } - - throw new PolymeshError({ - code: ErrorCode.UnexpectedError, - message: 'Received unknown NFT can transfer status', - }); -} - -/** - * @hidden - */ -export function granularCanTransferResultToTransferBreakdown( - result: GranularCanTransferResult, - validateNftResult: DispatchResult | undefined, - context: Context -): TransferBreakdown { - const { - invalid_granularity: invalidGranularity, - self_transfer: selfTransfer, - invalid_receiver_cdd: invalidReceiverCdd, - invalid_sender_cdd: invalidSenderCdd, - sender_insufficient_balance: insufficientBalance, - asset_frozen: assetFrozen, - portfolio_validity_result: { - sender_portfolio_does_not_exist: senderPortfolioNotExists, - receiver_portfolio_does_not_exist: receiverPortfolioNotExists, - sender_insufficient_balance: senderInsufficientBalance, - }, - transfer_condition_result: transferConditionResult, - compliance_result: complianceResult, - result: finalResult, - } = result; - - const general = []; - - if (boolToBoolean(invalidGranularity)) { - general.push(TransferError.InvalidGranularity); - } - - if (boolToBoolean(selfTransfer)) { - general.push(TransferError.SelfTransfer); - } - - if (boolToBoolean(invalidReceiverCdd)) { - general.push(TransferError.InvalidReceiverCdd); - } - - if (boolToBoolean(invalidSenderCdd)) { - general.push(TransferError.InvalidSenderCdd); - } - - if (boolToBoolean(insufficientBalance)) { - general.push(TransferError.InsufficientBalance); - } - - if (boolToBoolean(assetFrozen)) { - general.push(TransferError.TransfersFrozen); - } - - if (boolToBoolean(senderPortfolioNotExists)) { - general.push(TransferError.InvalidSenderPortfolio); - } - - if (boolToBoolean(receiverPortfolioNotExists)) { - general.push(TransferError.InvalidReceiverPortfolio); - } - - if (boolToBoolean(senderInsufficientBalance)) { - general.push(TransferError.InsufficientPortfolioBalance); - } - - const restrictions = transferConditionResult.map(({ condition, result: tmResult }) => { - return { - restriction: transferConditionToTransferRestriction(condition, context), - result: boolToBoolean(tmResult), - }; - }); - - let canTransfer = boolToBoolean(finalResult); - - if (canTransfer && validateNftResult?.isErr) { - const transferError = nftDispatchErrorToTransferError(validateNftResult.asErr, context); - general.push(transferError); - canTransfer = false; - } - - return { - general, - compliance: assetComplianceResultToCompliance(complianceResult, context), - restrictions, - result: canTransfer, - }; -} - -/** - * @hidden - */ - -/** - * @hidden - */ -export function offeringTierToPriceTier(tier: OfferingTier, context: Context): PalletStoPriceTier { - const { price, amount } = tier; - return context.createType('PalletStoPriceTier', { - total: bigNumberToBalance(amount, context), - price: bigNumberToBalance(price, context), - }); -} - -/** - * @hidden - */ -export function permissionsLikeToPermissions( - permissionsLike: PermissionsLike, - context: Context -): Permissions { - let assetPermissions: SectionPermissions | null = { - values: [], - type: PermissionType.Include, - }; - let transactionPermissions: TransactionPermissions | null = { - values: [], - type: PermissionType.Include, - }; - let transactionGroupPermissions: TxGroup[] = []; - let portfolioPermissions: SectionPermissions | null = { - values: [], - type: PermissionType.Include, - }; - - let transactions: TransactionPermissions | null | undefined; - let transactionGroups: TxGroup[] | undefined; - - if ('transactions' in permissionsLike) { - ({ transactions } = permissionsLike); - } - - if ('transactionGroups' in permissionsLike) { - ({ transactionGroups } = permissionsLike); - } - - const { assets, portfolios } = permissionsLike; - - if (assets === null) { - assetPermissions = null; - } else if (assets) { - assetPermissions = { - ...assets, - values: assets.values.map(ticker => - typeof ticker !== 'string' ? ticker : new FungibleAsset({ ticker }, context) - ), - }; - } - - if (transactions !== undefined) { - transactionPermissions = transactions; - } else if (transactionGroups !== undefined) { - transactionGroupPermissions = uniq(transactionGroups); - const groupTags = flatten(transactionGroups.map(txGroupToTxTags)); - transactionPermissions = { - ...transactionPermissions, - values: groupTags, - }; - } - - if (portfolios === null) { - portfolioPermissions = null; - } else if (portfolios) { - portfolioPermissions = { - ...portfolios, - values: portfolios.values.map(portfolio => portfolioLikeToPortfolio(portfolio, context)), - }; - } - - return { - assets: assetPermissions, - transactions: transactionPermissions && { - ...transactionPermissions, - values: [...transactionPermissions.values].sort((a, b) => a.localeCompare(b)), - }, - transactionGroups: transactionGroupPermissions, - portfolios: portfolioPermissions, - }; -} - -/** - * @hidden - */ -export function middlewarePortfolioToPortfolio( - portfolio: MiddlewarePortfolio, - context: Context -): DefaultPortfolio | NumberedPortfolio { - const { identityId: did, number } = portfolio; - - if (number) { - return new NumberedPortfolio({ did, id: new BigNumber(number) }, context); - } - - return new DefaultPortfolio({ did }, context); -} - -/** - * @hidden - */ -export function fundraiserTierToTier(fundraiserTier: PalletStoFundraiserTier): Tier { - const { total, price, remaining } = fundraiserTier; - return { - amount: balanceToBigNumber(total), - price: balanceToBigNumber(price), - remaining: balanceToBigNumber(remaining), - }; -} - -/** - * @hidden - */ -export function fundraiserToOfferingDetails( - fundraiser: PalletStoFundraiser, - name: Bytes, - context: Context -): OfferingDetails { - const { - creator, - offeringPortfolio, - raisingPortfolio, - raisingAsset, - tiers: rawTiers, - venueId, - start: rawStart, - end: rawEnd, - status: rawStatus, - minimumInvestment: rawMinInvestment, - } = fundraiser; - - const tiers: Tier[] = []; - let totalRemaining = new BigNumber(0); - let totalAmount = new BigNumber(0); - let totalRemainingValue = new BigNumber(0); - - rawTiers.forEach(rawTier => { - const tier = fundraiserTierToTier(rawTier); - - tiers.push(tier); - const { amount, remaining, price } = tier; - - totalAmount = totalAmount.plus(amount); - totalRemaining = totalRemaining.plus(remaining); - totalRemainingValue = totalRemainingValue.plus(price.multipliedBy(remaining)); - }); - - const start = momentToDate(rawStart); - const end = rawEnd.isSome ? momentToDate(rawEnd.unwrap()) : null; - const now = new Date(); - - const isStarted = now > start; - const isExpired = end && now > end; - - const minInvestment = balanceToBigNumber(rawMinInvestment); - - let timing: OfferingTimingStatus = OfferingTimingStatus.NotStarted; - let balance: OfferingBalanceStatus = OfferingBalanceStatus.Available; - let sale: OfferingSaleStatus = OfferingSaleStatus.Live; - - if (isExpired) { - timing = OfferingTimingStatus.Expired; - } else if (isStarted) { - timing = OfferingTimingStatus.Started; - } - - if (totalRemainingValue.isZero()) { - balance = OfferingBalanceStatus.SoldOut; - } else if (totalRemainingValue.lt(minInvestment)) { - balance = OfferingBalanceStatus.Residual; - } - - if (rawStatus.isClosedEarly) { - sale = OfferingSaleStatus.ClosedEarly; - } else if (rawStatus.isClosed) { - sale = OfferingSaleStatus.Closed; - } else if (rawStatus.isFrozen) { - sale = OfferingSaleStatus.Frozen; - } - - return { - creator: new Identity({ did: identityIdToString(creator) }, context), - name: bytesToString(name), - offeringPortfolio: meshPortfolioIdToPortfolio(offeringPortfolio, context), - raisingPortfolio: meshPortfolioIdToPortfolio(raisingPortfolio, context), - raisingCurrency: tickerToString(raisingAsset), - tiers, - venue: new Venue({ id: u64ToBigNumber(venueId) }, context), - start, - end, - status: { - timing, - balance, - sale, - }, - minInvestment, - totalAmount, - totalRemaining, - }; -} - -/** - * @hidden - */ -export function meshCorporateActionToCorporateActionParams( - corporateAction: PalletCorporateActionsCorporateAction, - details: Bytes, - context: Context -): CorporateActionParams { - const { - kind: rawKind, - declDate, - targets: { identities, treatment }, - defaultWithholdingTax, - withholdingTax, - } = corporateAction; - - let kind: CorporateActionKind; - - if (rawKind.isIssuerNotice) { - kind = CorporateActionKind.IssuerNotice; - } else if (rawKind.isPredictableBenefit) { - kind = CorporateActionKind.PredictableBenefit; - } else if (rawKind.isUnpredictableBenefit) { - kind = CorporateActionKind.UnpredictableBenefit; - } else if (rawKind.isReorganization) { - kind = CorporateActionKind.Reorganization; - } else { - kind = CorporateActionKind.Other; - } - - const targets = { - identities: identities.map( - identityId => new Identity({ did: identityIdToString(identityId) }, context) - ), - treatment: treatment.isExclude ? TargetTreatment.Exclude : TargetTreatment.Include, - }; - - const taxWithholdings = withholdingTax.map(([identityId, tax]) => ({ - identity: new Identity({ did: identityIdToString(identityId) }, context), - percentage: permillToBigNumber(tax), - })); - - return { - kind, - declarationDate: momentToDate(declDate), - description: bytesToString(details), - targets, - defaultTaxWithholding: permillToBigNumber(defaultWithholdingTax), - taxWithholdings, - }; -} - -/** - * @hidden - */ -export function corporateActionKindToCaKind( - kind: CorporateActionKind, - context: Context -): PalletCorporateActionsCaKind { - return context.createType('PalletCorporateActionsCaKind', kind); -} - -/** - * @hidden - */ -export function checkpointToRecordDateSpec( - checkpoint: Checkpoint | Date | CheckpointSchedule, - context: Context -): PalletCorporateActionsRecordDateSpec { - let value; - - if (checkpoint instanceof Checkpoint) { - /* eslint-disable @typescript-eslint/naming-convention */ - value = { Existing: bigNumberToU64(checkpoint.id, context) }; - } else if (checkpoint instanceof Date) { - value = { Scheduled: dateToMoment(checkpoint, context) }; - } else { - value = { ExistingSchedule: bigNumberToU64(checkpoint.id, context) }; - /* eslint-enable @typescript-eslint/naming-convention */ - } - - return context.createType('PalletCorporateActionsRecordDateSpec', value); -} - -/** - * @hidden - */ -export function targetIdentitiesToCorporateActionTargets( - targetIdentities: PalletCorporateActionsTargetIdentities, - context: Context -): CorporateActionTargets { - const { identities, treatment } = targetIdentities; - - return { - identities: identities.map( - identity => new Identity({ did: identityIdToString(identity) }, context) - ), - treatment: treatment.isInclude ? TargetTreatment.Include : TargetTreatment.Exclude, - }; -} - -/** - * @hidden - */ -export function targetsToTargetIdentities( - targets: Omit & { - identities: (string | Identity)[]; - }, - context: Context -): PalletCorporateActionsTargetIdentities { - const { treatment, identities } = targets; - const { maxTargetIds } = context.polymeshApi.consts.corporateAction; - - const maxTargets = u32ToBigNumber(maxTargetIds); - - if (maxTargets.lt(targets.identities.length)) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'Too many target Identities', - data: { - maxTargets, - }, - }); - } - - return context.createType('PalletCorporateActionsTargetIdentities', { - identities: identities.map(identity => stringToIdentityId(signerToString(identity), context)), - treatment: context.createType('TargetTreatment', treatment), - }); -} - -/** - * @hidden - */ -export function caTaxWithholdingsToMeshTaxWithholdings( - taxWithholdings: InputCorporateActionTaxWithholdings, - context: Context -): [PolymeshPrimitivesIdentityId, Permill][] { - assertCaTaxWithholdingsValid(taxWithholdings, context); - - return taxWithholdings.map(({ identity, percentage }) => - tuple( - stringToIdentityId(signerToString(identity), context), - percentageToPermill(percentage, context) - ) - ); -} - -/** - * @hidden - */ -export function distributionToDividendDistributionParams( - distribution: PalletCorporateActionsDistribution, - context: Context -): DividendDistributionParams { - const { - from, - currency, - perShare, - amount, - expiresAt: expiryDate, - paymentAt: paymentDate, - } = distribution; - - return { - origin: meshPortfolioIdToPortfolio(from, context), - currency: tickerToString(currency), - perShare: balanceToBigNumber(perShare), - maxAmount: balanceToBigNumber(amount), - expiryDate: expiryDate.isNone ? null : momentToDate(expiryDate.unwrap()), - paymentDate: momentToDate(paymentDate), - }; -} - -/** - * @hidden - */ -export function corporateActionIdentifierToCaId( - corporateActionIdentifier: CorporateActionIdentifier, - context: Context -): PalletCorporateActionsCaId { - const { ticker, localId } = corporateActionIdentifier; - return context.createType('PalletCorporateActionsCaId', { - ticker: stringToTicker(ticker, context), - localId: bigNumberToU32(localId, context), - }); -} - -/** - * @hidden - */ -export function corporateActionParamsToMeshCorporateActionArgs( - params: { - ticker: string; - kind: CorporateActionKind; - declarationDate: Date; - checkpoint: Date | Checkpoint | CheckpointSchedule; - description: string; - targets: InputCorporateActionTargets | null; - defaultTaxWithholding: BigNumber | null; - taxWithholdings: InputCorporateActionTaxWithholdings | null; - }, - context: Context -): PalletCorporateActionsInitiateCorporateActionArgs { - const { - ticker, - kind, - declarationDate, - checkpoint, - description, - targets, - defaultTaxWithholding, - taxWithholdings, - } = params; - const rawTicker = stringToTicker(ticker, context); - const rawKind = corporateActionKindToCaKind(kind, context); - const rawDeclDate = dateToMoment(declarationDate, context); - const rawRecordDate = optionize(checkpointToRecordDateSpec)(checkpoint, context); - const rawDetails = stringToBytes(description, context); - const rawTargets = optionize(targetsToTargetIdentities)(targets, context); - const rawTax = optionize(percentageToPermill)(defaultTaxWithholding, context); - const rawWithholdings = optionize(caTaxWithholdingsToMeshTaxWithholdings)( - taxWithholdings, - context - ); - - return context.createType('PalletCorporateActionsInitiateCorporateActionArgs', { - ticker: rawTicker, - kind: rawKind, - declDate: rawDeclDate, - recordDate: rawRecordDate, - details: rawDetails, - targets: rawTargets, - defaultWithholdingTax: rawTax, - withholdingTax: rawWithholdings, - }); -} - -/** - * @hidden - */ -export function statisticsOpTypeToStatType( - args: { - op: PolymeshPrimitivesStatisticsStatOpType; - claimIssuer?: [PolymeshPrimitivesIdentityClaimClaimType, PolymeshPrimitivesIdentityId]; - }, - context: Context -): PolymeshPrimitivesStatisticsStatType { - const { op, claimIssuer } = args; - return context.createType('PolymeshPrimitivesStatisticsStatType', { op, claimIssuer }); -} - -/** - * @hidden - * - * The chain requires BTreeSets to be sorted, Polkadot.js will shallow sort elements when calling `createType`, - * however it will not look deeper at claimType. This function works around this short fall by sorting based on `claimType` - * `createType` built in sorting is relied on otherwise. - */ -export function sortStatsByClaimType( - stats: PolymeshPrimitivesStatisticsStatType[] -): PolymeshPrimitivesStatisticsStatType[] { - return [...stats].sort((a, b) => { - if (a.claimIssuer.isNone && b.claimIssuer.isNone) { - return 0; - } - if (a.claimIssuer.isNone) { - return 1; - } - if (b.claimIssuer.isNone) { - return -1; - } - - const [aClaim] = a.claimIssuer.unwrap(); - const [bClaim] = b.claimIssuer.unwrap(); - return aClaim.index - bClaim.index; - }); -} - -/** - * @hidden - */ -export function statisticStatTypesToBtreeStatType( - stats: PolymeshPrimitivesStatisticsStatType[], - context: Context -): BTreeSet { - const sortedStats = sortStatsByClaimType(stats); - return context.createType('BTreeSet', sortedStats); -} - -/** - * @hidden - */ -export function transferConditionsToBtreeTransferConditions( - conditions: PolymeshPrimitivesTransferComplianceTransferCondition[], - context: Context -): BTreeSet { - return context.createType( - 'BTreeSet', - conditions - ); -} - -/** - * @hidden - */ -export function keyAndValueToStatUpdate( - key2: PolymeshPrimitivesStatisticsStat2ndKey, - value: u128, - context: Context -): PolymeshPrimitivesStatisticsStatUpdate { - return context.createType('PolymeshPrimitivesStatisticsStatUpdate', { key2, value }); -} - -/** - * @hidden - */ -export function statUpdatesToBtreeStatUpdate( - statUpdates: PolymeshPrimitivesStatisticsStatUpdate[], - context: Context -): BTreeSet { - return context.createType('BTreeSet', statUpdates); -} - -/** - * @hidden - */ -export function meshStatToStatType(rawStat: PolymeshPrimitivesStatisticsStatType): StatType { - const { - op: { type }, - claimIssuer, - } = rawStat; - - if (claimIssuer.isNone) { - if (type === 'Count') { - return StatType.Count; - } else { - return StatType.Balance; - } - } - - if (type === 'Count') { - return StatType.ScopedCount; - } else { - return StatType.ScopedBalance; - } -} - -/** - * @hidden - */ -export function statTypeToStatOpType( - type: StatType, - context: Context -): PolymeshPrimitivesStatisticsStatOpType { - if (type === StatType.Count || type === StatType.ScopedCount) { - return context.createType('PolymeshPrimitivesStatisticsStatOpType', StatType.Count); - } - return context.createType('PolymeshPrimitivesStatisticsStatOpType', StatType.Balance); -} - -/** - * @hidden - */ -export function transferRestrictionTypeToStatOpType( - type: TransferRestrictionType, - context: Context -): PolymeshPrimitivesStatisticsStatOpType { - if (type === TransferRestrictionType.Count || type === TransferRestrictionType.ClaimCount) { - return context.createType('PolymeshPrimitivesStatisticsStatOpType', StatType.Count); - } - - return context.createType('PolymeshPrimitivesStatisticsStatOpType', StatType.Balance); -} - -/** - * Scoped stats are a map of maps, e.g. Jurisdiction has a counter for each CountryCode. a 2ndKey specifies what Country count to use - * @hidden - */ -export function createStat2ndKey( - type: 'NoClaimStat' | StatClaimType, - context: Context, - claimStat?: 'yes' | 'no' | CountryCode -): PolymeshPrimitivesStatisticsStat2ndKey { - if (type === 'NoClaimStat') { - return context.createType('PolymeshPrimitivesStatisticsStat2ndKey', type); - } else { - let value; - if (claimStat === 'yes') { - value = true; - } else if (claimStat === 'no') { - value = false; - } else { - value = claimStat; - } - return context.createType('PolymeshPrimitivesStatisticsStat2ndKey', { - claim: { [type]: value }, - }); - } -} - -/** - * @hidden - * The chain requires BTreeSets to be sorted. While polkadot.js createType will provide shallow sorting - * it fails to consider the nested CountryCode values. This works around the shortfall, but relies on `createType` - * sorting for otherwise - */ -export function sortTransferRestrictionByClaimValue( - conditions: PolymeshPrimitivesTransferComplianceTransferCondition[] -): PolymeshPrimitivesTransferComplianceTransferCondition[] { - const getJurisdictionValue = ( - condition: PolymeshPrimitivesTransferComplianceTransferCondition - ): Option | undefined => { - const { isClaimCount, isClaimOwnership } = condition; - if (isClaimCount) { - if (!condition.asClaimCount[0].isJurisdiction) { - return undefined; - } else { - return condition.asClaimCount[0].asJurisdiction; - } - } else if (isClaimOwnership) { - if (!condition.asClaimOwnership[0].isJurisdiction) { - return undefined; - } - return condition.asClaimOwnership[0].asJurisdiction; - } else { - return undefined; - } - }; - - return [...conditions].sort((a, b) => { - const aClaim = getJurisdictionValue(a); - if (!aClaim) { - return 1; - } - const bClaim = getJurisdictionValue(b); - if (!bClaim) { - return -1; - } - - if (aClaim.isNone && bClaim.isNone) { - return 0; - } - if (aClaim.isNone) { - return -1; - } - if (bClaim.isNone) { - return 1; - } - const aCode = meshCountryCodeToCountryCode(aClaim.unwrap()); - const bCode = meshCountryCodeToCountryCode(bClaim.unwrap()); - - const countryOrder = Object.values(CountryCode); - return countryOrder.indexOf(aCode) - countryOrder.indexOf(bCode); - }); -} - -/** - * @hidden - */ -export function complianceConditionsToBtreeSet( - conditions: PolymeshPrimitivesTransferComplianceTransferCondition[], - context: Context -): BTreeSet { - const sortedConditions = sortTransferRestrictionByClaimValue(conditions); - return context.createType( - 'BTreeSet', - sortedConditions - ); -} - -/** - * @hidden - */ -export function toExemptKey( - tickerKey: TickerKey, - op: PolymeshPrimitivesStatisticsStatOpType, - claimType?: ClaimType -): ExemptKey { - return { asset: tickerKey, op, claimType }; -} - -/** - * @hidden - */ -export function claimCountStatInputToStatUpdates( - args: ClaimCountStatInput, - context: Context -): BTreeSet { - const { value, claimType: type } = args; - let updateArgs; - - if (type === ClaimType.Jurisdiction) { - updateArgs = value.map(({ countryCode, count }) => { - const rawSecondKey = createStat2ndKey(type, context, countryCode); - return keyAndValueToStatUpdate(rawSecondKey, bigNumberToU128(count, context), context); - }); - } else { - let yes, no; - if (type === ClaimType.Accredited) { - ({ accredited: yes, nonAccredited: no } = value); - } else { - ({ affiliate: yes, nonAffiliate: no } = value); - } - const yes2ndKey = createStat2ndKey(type, context, 'yes'); - const yesCount = bigNumberToU128(yes, context); - const no2ndKey = createStat2ndKey(type, context, 'no'); - const noCount = bigNumberToU128(no, context); - updateArgs = [ - keyAndValueToStatUpdate(yes2ndKey, yesCount, context), - keyAndValueToStatUpdate(no2ndKey, noCount, context), - ]; - } - return statUpdatesToBtreeStatUpdate(updateArgs, context); -} - -/** - * @hidden - * transforms a non scoped count stat to a StatUpdate type - */ -export function countStatInputToStatUpdates( - args: CountTransferRestrictionInput, - context: Context -): BTreeSet { - const { count } = args; - const secondKey = createStat2ndKey('NoClaimStat', context); - const stat = keyAndValueToStatUpdate(secondKey, bigNumberToU128(count, context), context); - return statUpdatesToBtreeStatUpdate([stat], context); -} - -/** - * @hidden - */ -export function inputStatTypeToMeshStatType( - input: InputStatType, - context: Context -): PolymeshPrimitivesStatisticsStatType { - const { type } = input; - const op = statTypeToStatOpType(type, context); - let claimIssuer; - if (type === StatType.ScopedCount || type === StatType.ScopedBalance) { - claimIssuer = claimIssuerToMeshClaimIssuer(input.claimIssuer, context); - } - return statisticsOpTypeToStatType({ op, claimIssuer }, context); -} - -/** - * @hidden - */ -export function meshProposalStatusToProposalStatus( - status: PolymeshPrimitivesMultisigProposalStatus, - expiry: Date | null -): ProposalStatus { - const { type } = status; - switch (type) { - case 'ActiveOrExpired': - if (!expiry || expiry > new Date()) { - return ProposalStatus.Active; - } else { - return ProposalStatus.Expired; - } - case 'Invalid': - return ProposalStatus.Invalid; - case 'ExecutionSuccessful': - return ProposalStatus.Successful; - case 'ExecutionFailed': - return ProposalStatus.Failed; - case 'Rejected': - return ProposalStatus.Rejected; - default: - throw new UnreachableCaseError(type); - } -} - -/** - * @hidden - */ -export function metadataSpecToMeshMetadataSpec( - specs: MetadataSpec, - context: Context -): PolymeshPrimitivesAssetMetadataAssetMetadataSpec { - const { url, description, typeDef } = specs; - - const { - polymeshApi: { - consts: { - asset: { assetMetadataTypeDefMaxLength }, - }, - }, - } = context; - - const metadataTypeDefMaxLength = u32ToBigNumber(assetMetadataTypeDefMaxLength); - - if (typeDef && metadataTypeDefMaxLength.lt(typeDef.length)) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: '"typeDef" length exceeded for given Asset Metadata spec', - data: { - maxLength: metadataTypeDefMaxLength, - }, - }); - } - - return context.createType('PolymeshPrimitivesAssetMetadataAssetMetadataSpec', { - url: optionize(stringToBytes)(url, context), - description: optionize(stringToBytes)(description, context), - typeDef: optionize(stringToBytes)(typeDef, context), - }); -} - -/** - * @hidden - */ -export function meshMetadataSpecToMetadataSpec( - rawSpecs?: Option -): MetadataSpec { - const specs: MetadataSpec = {}; - - if (rawSpecs?.isSome) { - const { url: rawUrl, description: rawDescription, typeDef: rawTypeDef } = rawSpecs.unwrap(); - - if (rawUrl.isSome) { - specs.url = bytesToString(rawUrl.unwrap()); - } - - if (rawDescription.isSome) { - specs.description = bytesToString(rawDescription.unwrap()); - } - - if (rawTypeDef.isSome) { - specs.typeDef = bytesToString(rawTypeDef.unwrap()); - } - } - return specs; -} - -/** - * @hidden - */ -export function metadataToMeshMetadataKey( - type: MetadataType, - id: BigNumber, - context: Context -): PolymeshPrimitivesAssetMetadataAssetMetadataKey { - const rawId = bigNumberToU64(id, context); - - let metadataKey; - if (type === MetadataType.Local) { - metadataKey = { Local: rawId }; - } else { - metadataKey = { Global: rawId }; - } - - return context.createType('PolymeshPrimitivesAssetMetadataAssetMetadataKey', metadataKey); -} - -/** - * @hidden - */ -export function meshMetadataValueToMetadataValue( - rawValue: Option, - rawDetails: Option -): MetadataValue | null { - if (rawValue.isNone) { - return null; - } - - let metadataValue: MetadataValue = { - value: bytesToString(rawValue.unwrap()), - lockStatus: MetadataLockStatus.Unlocked, - expiry: null, - }; - - if (rawDetails.isSome) { - const { lockStatus: rawLockStatus, expire } = rawDetails.unwrap(); - - metadataValue = { ...metadataValue, expiry: optionize(momentToDate)(expire.unwrapOr(null)) }; - - if (rawLockStatus.isLocked) { - metadataValue = { ...metadataValue, lockStatus: MetadataLockStatus.Locked }; - } - - if (rawLockStatus.isLockedUntil) { - metadataValue = { - ...metadataValue, - lockStatus: MetadataLockStatus.LockedUntil, - lockedUntil: momentToDate(rawLockStatus.asLockedUntil), - }; - } - } - return metadataValue; -} - -/** - * @hidden - */ -export function metadataValueToMeshMetadataValue(value: string, context: Context): Bytes { - const { - polymeshApi: { - consts: { - asset: { assetMetadataValueMaxLength }, - }, - }, - } = context; - - const metadataValueMaxLength = u32ToBigNumber(assetMetadataValueMaxLength); - - if (metadataValueMaxLength.lt(value.length)) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'Asset Metadata value length exceeded', - data: { - maxLength: metadataValueMaxLength, - }, - }); - } - return stringToBytes(value, context); -} - -/** - * @hidden - */ -export function metadataValueDetailToMeshMetadataValueDetail( - details: MetadataValueDetails, - context: Context -): PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail { - const { lockStatus, expiry } = details; - - let meshLockStatus; - if (lockStatus === MetadataLockStatus.LockedUntil) { - const { lockedUntil } = details; - - if (lockedUntil < new Date()) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'Locked until date must be in the future', - }); - } - - meshLockStatus = { LockedUntil: dateToMoment(lockedUntil, context) }; - } else { - meshLockStatus = lockStatus; - } - - if (expiry && expiry < new Date()) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'Expiry date must be in the future', - }); - } - - return context.createType('PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail', { - expire: optionize(dateToMoment)(expiry, context), - lockStatus: meshLockStatus, - }); -} - -/** - * @hidden - */ -export function instructionMemoToString(value: U8aFixed): string { - return removePadding(hexToString(value.toString())); -} - -/** - * @hidden - */ -export function middlewareInstructionToHistoricInstruction( - instruction: Instruction, - context: Context -): HistoricInstruction { - /* eslint-disable @typescript-eslint/no-non-null-assertion */ - const { - id: instructionId, - status, - settlementType, - endBlock, - tradeDate, - valueDate, - legs: { nodes: legs }, - memo, - createdBlock, - venueId, - } = instruction; - const { blockId, hash, datetime } = createdBlock!; - - let typeDetails; - - if (settlementType === InstructionType.SettleOnAffirmation) { - typeDetails = { - type: InstructionType.SettleOnAffirmation, - }; - } else { - typeDetails = { - type: settlementType as InstructionType, - endBlock: new BigNumber(endBlock!), - }; - } - - return { - id: new BigNumber(instructionId), - blockNumber: new BigNumber(blockId), - blockHash: hash, - status, - tradeDate, - valueDate, - ...typeDetails, - memo: memo ?? null, - venueId: new BigNumber(venueId), - createdAt: new Date(datetime), - legs: legs.map(({ from, to, assetId, amount }) => ({ - asset: new FungibleAsset({ ticker: assetId }, context), - amount: new BigNumber(amount).shiftedBy(-6), - from: middlewarePortfolioToPortfolio(from!, context), - to: middlewarePortfolioToPortfolio(to!, context), - })), - }; - /* eslint-enable @typescript-eslint/no-non-null-assertion */ -} - -/** - * @hidden - */ -export function expiryToMoment(expiry: Date | undefined, context: Context): Moment | null { - if (expiry && expiry <= new Date()) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: 'Expiry date must be in the future', - }); - } - - return optionize(dateToMoment)(expiry, context); -} - -/** - * @hidden - * Note: currently only supports fungible legs, see `portfolioToPortfolioKind` for exemplary API - */ -export function middlewarePortfolioDataToPortfolio( - data: { - did: string; - kind: { default: null } | { user: number }; - }, - context: Context -): DefaultPortfolio | NumberedPortfolio { - const { did, kind } = data; - - if ('default' in kind) { - return new DefaultPortfolio({ did }, context); - } - return new NumberedPortfolio({ did, id: new BigNumber(kind.user) }, context); -} - -/** - * @hidden - */ -export function legToFungibleLeg( - leg: { - sender: PolymeshPrimitivesIdentityIdPortfolioId; - receiver: PolymeshPrimitivesIdentityIdPortfolioId; - ticker: PolymeshPrimitivesTicker; - amount: Balance; - }, - context: Context -): PolymeshPrimitivesSettlementLeg { - return context.createType('PolymeshPrimitivesSettlementLeg', { Fungible: leg }); -} - -/** - * @hidden - */ -export function legToNonFungibleLeg( - leg: { - sender: PolymeshPrimitivesIdentityIdPortfolioId; - receiver: PolymeshPrimitivesIdentityIdPortfolioId; - nfts: PolymeshPrimitivesNftNfTs; - }, - context: Context -): PolymeshPrimitivesSettlementLeg { - return context.createType('PolymeshPrimitivesSettlementLeg', { NonFungible: leg }); -} - -/** - * @hidden - */ -export function middlewareAgentGroupDataToPermissionGroup( - agentGroupData: Record>, - context: Context -): KnownPermissionGroup | CustomPermissionGroup { - const asset = Object.keys(agentGroupData)[0]; - const agentGroup = agentGroupData[asset]; - - let permissionGroupIdentifier: PermissionGroupIdentifier; - if ('full' in agentGroup) { - permissionGroupIdentifier = PermissionGroupType.Full; - } else if ('exceptMeta' in agentGroup) { - permissionGroupIdentifier = PermissionGroupType.ExceptMeta; - } else if ('polymeshV1CAA' in agentGroup) { - permissionGroupIdentifier = PermissionGroupType.PolymeshV1Caa; - } else if ('polymeshV1PIA' in agentGroup) { - permissionGroupIdentifier = PermissionGroupType.PolymeshV1Pia; - } else { - // eslint-disable-next-line @typescript-eslint/no-non-null-assertion - permissionGroupIdentifier = { custom: new BigNumber(agentGroup.custom!) }; - } - - const ticker = coerceHexToString(asset); - return assemblePermissionGroup(permissionGroupIdentifier, ticker, context); -} - -/** - * @hidden - */ -function middlewareExtrinsicPermissionsDataToTransactionPermissions( - permissions: Record< - string, - { - palletName: string; - dispatchableNames: Record; - }[] - > -): TransactionPermissions | null { - let extrinsicType: PermissionType; - let pallets; - if ('these' in permissions) { - extrinsicType = PermissionType.Include; - pallets = permissions.these; - } else if ('except' in permissions) { - extrinsicType = PermissionType.Exclude; - pallets = permissions.except; - } - - let txValues: (ModuleName | TxTag)[] = []; - let exceptions: TxTag[] = []; - - if (pallets) { - pallets.forEach(({ palletName, dispatchableNames }) => { - const moduleName = stringLowerFirst(coerceHexToString(palletName)); - if ('except' in dispatchableNames) { - const dispatchables = [...dispatchableNames.except]; - exceptions = [ - ...exceptions, - ...dispatchables.map(name => formatTxTag(coerceHexToString(name), moduleName)), - ]; - txValues = [...txValues, moduleName as ModuleName]; - } else if ('these' in dispatchableNames) { - const dispatchables = [...dispatchableNames.these]; - txValues = [ - ...txValues, - ...dispatchables.map(name => formatTxTag(coerceHexToString(name), moduleName)), - ]; - } else { - txValues = [...txValues, moduleName as ModuleName]; - } - }); - - const result = { - // eslint-disable-next-line @typescript-eslint/no-non-null-assertion - type: extrinsicType!, - values: txValues, - }; - - return exceptions.length ? { ...result, exceptions } : result; - } - - return null; -} - -/** - * @hidden - */ -export function datesToScheduleCheckpoints( - points: Date[], - context: Context -): PolymeshCommonUtilitiesCheckpointScheduleCheckpoints { - const rawPoints = points.map(point => dateToMoment(point, context)); + ConfidentialAssetsBurnConfidentialBurnProof, + PalletConfidentialAssetAffirmLeg, + PalletConfidentialAssetAffirmParty, + PalletConfidentialAssetAffirmTransaction, + PalletConfidentialAssetAffirmTransactions, + PalletConfidentialAssetAuditorAccount, + PalletConfidentialAssetConfidentialAccount, + PalletConfidentialAssetConfidentialAuditors, + PalletConfidentialAssetConfidentialTransfers, + PalletConfidentialAssetLegParty, + PalletConfidentialAssetTransaction, + PalletConfidentialAssetTransactionId, + PalletConfidentialAssetTransactionLeg, + PalletConfidentialAssetTransactionLegDetails, + PalletConfidentialAssetTransactionLegId, + PalletConfidentialAssetTransactionLegState, + PalletConfidentialAssetTransactionStatus, + PolymeshPrimitivesIdentityId, +} from '@polkadot/types/lookup'; +import { BTreeSet } from '@polkadot/types-codec'; +import { hexAddPrefix, hexStripPrefix, u8aToHex } from '@polkadot/util'; +import { UnreachableCaseError } from '@polymeshassociation/polymesh-sdk/api/procedures/utils'; +import { + Block, + ConfidentialAssetHistory, +} from '@polymeshassociation/polymesh-sdk/middleware/types'; +import { ErrorCode, EventIdentifier } from '@polymeshassociation/polymesh-sdk/types'; +import { + bigNumberToU32, + bigNumberToU64, + identityIdToString, + instructionMemoToString, + stringToIdentityId, + u32ToBigNumber, + u64ToBigNumber, +} from '@polymeshassociation/polymesh-sdk/utils/conversion'; +import { + assertIsInteger, + assertIsPositive, +} from '@polymeshassociation/polymesh-sdk/utils/internal'; +import BigNumber from 'bignumber.js'; - const pending = context.createType('BTreeSet', rawPoints); +import { + ConfidentialAccount, + ConfidentialAsset, + Context, + Identity, + PolymeshError, +} from '~/internal'; +import { + ConfidentialAffirmParty, + ConfidentialAffirmTransaction, + ConfidentialAssetTransactionHistory, + ConfidentialLeg, + ConfidentialLegParty, + ConfidentialLegProof, + ConfidentialLegState, + ConfidentialTransactionDetails, + ConfidentialTransactionStatus, +} from '~/types'; - return context.createType('PolymeshCommonUtilitiesCheckpointScheduleCheckpoints', { pending }); -} +export * from '~/generated/utils'; /** * @hidden */ -export function middlewarePermissionsDataToPermissions( - permissionsData: string, - context: Context -): Permissions { - const { asset, extrinsic, portfolio } = JSON.parse(permissionsData); - - let assets: SectionPermissions | null = null; - let transactions: TransactionPermissions | null = null; - let portfolios: SectionPermissions | null = null; - - let assetsType: PermissionType; - let assetsPermissions; - if ('these' in asset) { - assetsType = PermissionType.Include; - assetsPermissions = asset.these; - } else if ('except' in asset) { - assetsType = PermissionType.Exclude; - assetsPermissions = asset.except; - } - - if (assetsPermissions) { - assets = { - values: [...assetsPermissions].map( - ticker => new FungibleAsset({ ticker: coerceHexToString(ticker) }, context) - ), - // eslint-disable-next-line @typescript-eslint/no-non-null-assertion - type: assetsType!, - }; - } - - transactions = middlewareExtrinsicPermissionsDataToTransactionPermissions(extrinsic); - - let portfoliosType: PermissionType; - let portfolioIds; - if ('these' in portfolio) { - portfoliosType = PermissionType.Include; - portfolioIds = portfolio.these; - } else if ('except' in portfolio) { - portfoliosType = PermissionType.Exclude; - portfolioIds = portfolio.except; - } - - if (portfolioIds) { - portfolios = { - values: [...portfolioIds].map(portfolioId => - middlewarePortfolioDataToPortfolio(portfolioId, context) - ), - // eslint-disable-next-line @typescript-eslint/no-non-null-assertion - type: portfoliosType!, - }; - } - - return { - assets, - transactions, - transactionGroups: transactions ? transactionPermissionsToTxGroups(transactions) : [], - portfolios, - }; +export function bigNumberToU16(value: BigNumber, context: Context): u16 { + assertIsInteger(value); + assertIsPositive(value); + return context.createType('u16', value.toString()); } -/* eslint-disable @typescript-eslint/no-non-null-assertion */ /** * @hidden */ -export function middlewareAuthorizationDataToAuthorization( +export function auditorsToConfidentialAuditors( context: Context, - type: AuthTypeEnum, - data?: string -): Authorization { - switch (type) { - case AuthTypeEnum.AttestPrimaryKeyRotation: - return { - type: AuthorizationType.AttestPrimaryKeyRotation, - value: new Identity({ did: data! }, context), - }; - case AuthTypeEnum.RotatePrimaryKey: { - return { - type: AuthorizationType.RotatePrimaryKey, - }; - } - case AuthTypeEnum.RotatePrimaryKeyToSecondary: { - return { - type: AuthorizationType.RotatePrimaryKeyToSecondary, - value: middlewarePermissionsDataToPermissions(data!, context), - }; - } - case AuthTypeEnum.JoinIdentity: { - return { - type: AuthorizationType.JoinIdentity, - value: middlewarePermissionsDataToPermissions(data!, context), - }; - } - case AuthTypeEnum.AddMultiSigSigner: - return { - type: AuthorizationType.AddMultiSigSigner, - value: data!, - }; - case AuthTypeEnum.AddRelayerPayingKey: { - // data is received in the format - {"5Ci94GCJC2JBM8U1PCkpHX6HkscWmucN9XwUrjb7o4TDgVns","5DZp1QYH49MKZhCtDupNaAeHp8xtqetuSzgf2p2cUWoxW3iu","1000000000"} - const [beneficiary, subsidizer, allowance] = data! - .substring(1, data!.length - 1) - .replace(/"/g, '') - .split(','); - - return { - type: AuthorizationType.AddRelayerPayingKey, - value: { - beneficiary: new Account({ address: beneficiary }, context), - subsidizer: new Account({ address: subsidizer }, context), - allowance: new BigNumber(allowance).shiftedBy(-6), - }, - }; - } - case AuthTypeEnum.BecomeAgent: { - const becomeAgentData = JSON.parse(data!.replace(',', ':')); - return { - type: AuthorizationType.BecomeAgent, - value: middlewareAgentGroupDataToPermissionGroup(becomeAgentData, context), - }; - } - case AuthTypeEnum.TransferTicker: - return { - type: AuthorizationType.TransferTicker, - value: coerceHexToString(data!), - }; - case AuthTypeEnum.TransferAssetOwnership: { - return { - type: AuthorizationType.TransferAssetOwnership, - value: coerceHexToString(data!), - }; - } - case AuthTypeEnum.PortfolioCustody: { - return { - type: AuthorizationType.PortfolioCustody, - value: middlewarePortfolioDataToPortfolio(JSON.parse(data!), context), - }; - } - } - - throw new PolymeshError({ - code: ErrorCode.UnexpectedError, - message: 'Unsupported Authorization Type. Please contact the Polymesh team', - data: { - auth: data, - }, - }); -} - -/* eslint-enable @typescript-eslint/no-non-null-assertion */ - -/** - * @hidden - */ -export function collectionKeysToMetadataKeys( - keys: { type: MetadataType; id: BigNumber }[], - context: Context -): Vec { - const metadataKeys = keys.map(({ type, id }) => { - return metadataToMeshMetadataKey(type, id, context); - }); - - return context.createType('Vec', metadataKeys); -} - -/** - * @hidden - */ -export function meshMetadataKeyToMetadataKey( - rawKey: PolymeshPrimitivesAssetMetadataAssetMetadataKey, - ticker: string -): MetadataKeyId { - if (rawKey.isGlobal) { - return { type: MetadataType.Global, id: u64ToBigNumber(rawKey.asGlobal) }; - } else { - return { type: MetadataType.Local, id: u64ToBigNumber(rawKey.asLocal), ticker }; - } -} - -/** - * @hidden - */ -export function meshNftToNftId(rawInfo: PolymeshPrimitivesNftNfTs): { - ticker: string; - ids: BigNumber[]; -} { - const { ticker: rawTicker, ids: rawIds } = rawInfo; - - return { - ticker: tickerToString(rawTicker), - ids: rawIds.map(rawId => u64ToBigNumber(rawId)), - }; -} - -/** - * @hidden - */ -export function nftInputToNftMetadataAttribute( - nftInfo: NftMetadataInput, - context: Context -): PolymeshPrimitivesNftNftMetadataAttribute { - const { type, id, value } = nftInfo; - - const rawKey = metadataToMeshMetadataKey(type, id, context); - const rawValue = metadataValueToMeshMetadataValue(value, context); - - return context.createType('PolymeshPrimitivesNftNftMetadataAttribute', { - key: rawKey, - value: rawValue, - }); -} - -/** - * @hidden - */ -export function nftInputToNftMetadataVec( - nftInfo: NftMetadataInput[], - context: Context -): Vec { - const rawItems = nftInfo.map(item => nftInputToNftMetadataAttribute(item, context)); - - return context.createType('Vec', rawItems); -} - -/** - * @hidden - */ -export function toCustomClaimTypeWithIdentity( - data: MiddlewareCustomClaimType[] -): CustomClaimTypeWithDid[] { - return data.map(item => ({ - name: item.name, - id: new BigNumber(item.id), - did: item.identity?.did, - })); -} - -/** - * @hidden - */ -export function toHistoricalSettlements( - settlementsResult: ApolloQueryResult>, - portfolioMovementsResult: ApolloQueryResult>, - filter: string, - context: Context -): HistoricSettlement[] { - const data: HistoricSettlement[] = []; - - const getDirection = (fromId: string, toId: string): SettlementDirectionEnum => { - const [fromDid] = fromId.split('/'); - const [toDid] = toId.split('/'); - const [filterDid, filterPortfolioId] = filter.split('/'); - - if (fromId === toId) { - return SettlementDirectionEnum.None; - } - - if (filterPortfolioId && fromId === filter) { - return SettlementDirectionEnum.Outgoing; - } - - if (filterPortfolioId && toId === filter) { - return SettlementDirectionEnum.Incoming; - } - - if (fromDid === filterDid && toDid !== filterDid) { - return SettlementDirectionEnum.Incoming; - } - - if (toDid === filterDid && fromDid !== filterDid) { - return SettlementDirectionEnum.Outgoing; - } - - return SettlementDirectionEnum.None; - }; - - /* eslint-disable @typescript-eslint/no-non-null-assertion */ - settlementsResult.data.legs.nodes.forEach(({ settlement }) => { - const { - createdBlock, - result: settlementResult, - legs: { nodes: legs }, - } = settlement!; - - const { blockId, hash } = createdBlock!; + auditors: ConfidentialAccount[], + mediators: Identity[] = [] +): PalletConfidentialAssetConfidentialAuditors { + const rawAccountKeys = auditors.map(({ publicKey }) => publicKey); + const rawMediatorIds = mediators.map(({ did }) => stringToIdentityId(did, context)); - data.push({ - blockNumber: new BigNumber(blockId), - blockHash: hash, - status: settlementResult as unknown as SettlementResultEnum, - accounts: legs[0].addresses.map( - (accountAddress: string) => - new Account({ address: keyToAddress(accountAddress, context) }, context) - ), - legs: legs.map(({ from, to, fromId, toId, assetId, amount }) => ({ - asset: new FungibleAsset({ ticker: assetId }, context), - amount: new BigNumber(amount).shiftedBy(-6), - direction: getDirection(fromId, toId), - from: middlewarePortfolioToPortfolio(from!, context), - to: middlewarePortfolioToPortfolio(to!, context), - })), - }); + return context.createType('PalletConfidentialAssetConfidentialAuditors', { + auditors: context.createType('BTreeSet', rawAccountKeys), + mediators: context.createType('BTreeSet', rawMediatorIds), }); - - portfolioMovementsResult.data.portfolioMovements.nodes.forEach( - ({ createdBlock, from, to, fromId, toId, assetId, amount, address: accountAddress }) => { - const { blockId, hash } = createdBlock!; - data.push({ - blockNumber: new BigNumber(blockId), - blockHash: hash, - status: SettlementResultEnum.Executed, - accounts: [new Account({ address: keyToAddress(accountAddress, context) }, context)], - legs: [ - { - asset: new FungibleAsset({ ticker: assetId }, context), - amount: new BigNumber(amount).shiftedBy(-6), - direction: getDirection(fromId, toId), - from: middlewarePortfolioToPortfolio(from!, context), - to: middlewarePortfolioToPortfolio(to!, context), - }, - ], - }); - } - ); - /* eslint-enable @typescript-eslint/no-non-null-assertion */ - - return data.sort((a, b) => a.blockNumber.minus(b.blockNumber).toNumber()); -} - -/** - * @hidden - */ -export function mediatorAffirmationStatusToStatus( - rawStatus: PolymeshPrimitivesSettlementMediatorAffirmationStatus -): Omit { - switch (rawStatus.type) { - case 'Unknown': - return { status: AffirmationStatus.Unknown }; - case 'Pending': - return { status: AffirmationStatus.Pending }; - case 'Affirmed': { - const rawExpiry = rawStatus.asAffirmed.expiry; - const expiry = rawExpiry.isSome ? momentToDate(rawExpiry.unwrap()) : undefined; - return { status: AffirmationStatus.Affirmed, expiry }; - } - default: - throw new UnreachableCaseError(rawStatus.type); - } } /** @@ -4947,7 +122,6 @@ export function meshConfidentialTransactionStatusToStatus( case 'Executed': return ConfidentialTransactionStatus.Executed; default: - /* istanbul ignore next: TS will complain if a new case is added */ throw new UnreachableCaseError(status.type); } } @@ -5003,6 +177,32 @@ export function auditorsToBtreeSet( ) as BTreeSet; } +/** + * @hidden + */ +export function serializeConfidentialAssetId(value: string | ConfidentialAsset): string { + const id = value instanceof ConfidentialAsset ? value.id : value; + + return hexAddPrefix(id.replace(/-/g, '')); +} + +/** + * @hidden + */ +export function middlewareEventDetailsToEventIdentifier( + block: Block, + eventIdx = 0 +): EventIdentifier { + const { blockId, datetime, hash } = block; + + return { + blockNumber: new BigNumber(blockId), + blockHash: hash, + blockDate: new Date(`${datetime}`), + eventIndex: new BigNumber(eventIdx), + }; +} + /** * @hidden */ @@ -5247,6 +447,13 @@ export function confidentialAffirmTransactionToMeshTransaction( }); } +/** + * @hidden + */ +export function stringToBytes(bytes: string, context: Context): Bytes { + return context.createType('Bytes', bytes); +} + /** * @hidden */ diff --git a/src/utils/index.ts b/src/utils/index.ts index bbfd46cefb..3fc8b18842 100644 --- a/src/utils/index.ts +++ b/src/utils/index.ts @@ -1,12 +1,4 @@ /* istanbul ignore file */ -export { - tickerToDid, - isCusipValid, - isLeiValid, - isIsinValid, - isFigiValid, - txGroupToTxTags, -} from './conversion'; export * from './typeguards'; export { cryptoWaitReady } from '@polkadot/util-crypto'; diff --git a/src/utils/internal.ts b/src/utils/internal.ts index 25ea2e24b7..e78c9c03dc 100644 --- a/src/utils/internal.ts +++ b/src/utils/internal.ts @@ -1,693 +1,119 @@ +import { getMissingAssetPermissions } from '@polymeshassociation/polymesh-sdk/api/entities/Account/helpers'; import { - ApiDecoration, - AugmentedEvent, - AugmentedQueries, - AugmentedQuery, - AugmentedQueryDoubleMap, - DropLast, - ObsInnerType, -} from '@polkadot/api/types'; -import { BTreeSet, Bytes, Option, StorageKey, u32 } from '@polkadot/types'; -import { EventRecord } from '@polkadot/types/interfaces'; -import { BlockHash } from '@polkadot/types/interfaces/chain'; + Account, + DefaultPortfolio, + ErrorCode, + GenericPolymeshTransaction, + Identity, + NumberedPortfolio, + PermissionType, + ProcedureOpts, + SectionPermissions, + SignerType, +} from '@polymeshassociation/polymesh-sdk/types'; +import { UnionOfProcedureFuncs } from '@polymeshassociation/polymesh-sdk/types/utils'; +import { + identityIdToString, + portfolioIdToPortfolio, + portfolioToPortfolioId, +} from '@polymeshassociation/polymesh-sdk/utils/conversion'; import { - PalletAssetSecurityToken, - PolymeshPrimitivesIdentityId, - PolymeshPrimitivesSecondaryKeyKeyRecord, - PolymeshPrimitivesStatisticsStatClaim, - PolymeshPrimitivesStatisticsStatType, - PolymeshPrimitivesTransferComplianceTransferCondition, -} from '@polkadot/types/lookup'; -import type { Callback, Codec, Observable } from '@polkadot/types/types'; -import { AnyFunction, AnyTuple, IEvent, ISubmittableResult } from '@polkadot/types/types'; -import { stringUpperFirst } from '@polkadot/util'; -import { decodeAddress, encodeAddress } from '@polkadot/util-crypto'; -import BigNumber from 'bignumber.js'; -import stringify from 'json-stable-stringify'; -import { differenceWith, flatMap, isEqual, mapValues, noop, padEnd, uniq } from 'lodash'; -import { coerce, lt, major, satisfies } from 'semver'; -import { w3cwebsocket as W3CWebSocket } from 'websocket'; + isCddProviderRole, + isIdentityRole, + isPortfolioCustodianRole, + isTickerOwnerRole, + isVenueOwnerRole, +} from '@polymeshassociation/polymesh-sdk/utils/typeguards'; +import P from 'bluebird'; +import { difference, differenceWith, intersection, intersectionWith, isEqual, union } from 'lodash'; import { - Account, - BaseAsset, - Checkpoint, - CheckpointSchedule, - ChildIdentity, ConfidentialAccount, ConfidentialAsset, + ConfidentialVenue, Context, - FungibleAsset, - Identity, - Nft, - NftCollection, PolymeshError, + TickerReservation, + Venue, } from '~/internal'; -import { latestSqVersionQuery } from '~/middleware/queries'; -import { Claim as MiddlewareClaim, ClaimTypeEnum, Query } from '~/middleware/types'; -import { MiddlewareScope } from '~/middleware/typesV1'; import { - AttestPrimaryKeyRotationAuthorizationData, - Authorization, - AuthorizationRequest, - AuthorizationType, - CaCheckpointType, - Claim, - ClaimType, - Condition, - ConditionType, - CountryCode, - DefaultPortfolio, - ErrorCode, - GenericAuthorizationData, - GenericPolymeshTransaction, - InputCaCheckpoint, - InputCondition, + ConfidentialCheckRolesResult, + ConfidentialNoArgsProcedureMethod, + ConfidentialOptionalArgsProcedureMethod, + ConfidentialProcedureAuthorizationStatus, + ConfidentialProcedureMethod, ModuleName, - NextKey, - NoArgsProcedureMethod, - NumberedPortfolio, - OptionalArgsProcedureMethod, - PaginationOptions, - PermissionedAccount, - ProcedureAuthorizationStatus, - ProcedureMethod, - ProcedureOpts, - RemoveAssetStatParams, - Scope, - StatType, - SubCallback, - TransferRestriction, - TransferRestrictionType, + Role, + TransactionPermissions, TxTag, - UnsubCallback, + TxTags, } from '~/types'; -import { - Events, - Falsyable, - MapTxWithArgs, - PolymeshTx, - Queries, - StatClaimIssuer, - TxWithArgs, -} from '~/types/internal'; -import { - Ensured, - HumanReadableType, - ProcedureFunc, - QueryFunction, - UnionOfProcedureFuncs, -} from '~/types/utils'; -import { - MAX_TICKER_LENGTH, - MINIMUM_SQ_VERSION, - STATE_RUNTIME_VERSION_CALL, - SUPPORTED_NODE_SEMVER, - SUPPORTED_NODE_VERSION_RANGE, - SUPPORTED_SPEC_SEMVER, - SUPPORTED_SPEC_VERSION_RANGE, - SYSTEM_VERSION_RPC_CALL, -} from '~/utils/constants'; -import { - bigNumberToU32, - claimIssuerToMeshClaimIssuer, - identitiesToBtreeSet, - identityIdToString, - meshClaimTypeToClaimType, - meshPermissionsToPermissions, - meshStatToStatType, - middlewareScopeToScope, - permillToBigNumber, - signerToString, - statisticsOpTypeToStatType, - statsClaimToStatClaimInputType, - stringToAccountId, - transferRestrictionTypeToStatOpType, - u64ToBigNumber, -} from '~/utils/conversion'; -import { - isEntity, - isMultiClaimCondition, - isScopedClaim, - isSingleClaimCondition, -} from '~/utils/typeguards'; +import { CheckPermissionsResult, SimplePermissions } from '~/types/internal'; +import { ConfidentialProcedureFunc } from '~/types/utils'; +import { isConfidentialAssetOwnerRole, isConfidentialVenueOwnerRole } from '~/utils'; export * from '~/generated/utils'; /** * @hidden - * Promisified version of a timeout - * - * @param amount - time to wait - */ -export async function delay(amount: number): Promise { - return new Promise(resolve => { - setTimeout(() => { - resolve(); - }, amount); - }); -} - -/** - * @hidden - * Convert an entity type and its unique Identifiers to a base64 string - */ -export function serialize( - entityType: string, - uniqueIdentifiers: UniqueIdentifiers -): string { - return Buffer.from(`${entityType}:${stringify(uniqueIdentifiers)}`).toString('base64'); -} - -/** - * @hidden - * Convert a uuid string to an Identifier object - */ -export function unserialize(id: string): UniqueIdentifiers { - const unserialized = Buffer.from(id, 'base64').toString('utf8'); - - const matched = unserialized.match(/^.*?:(.*)/); - - const errorMsg = 'Wrong ID format'; - - if (!matched) { - throw new Error(errorMsg); - } - - const [, jsonString] = matched; - - try { - return JSON.parse(jsonString); - } catch (err) { - throw new Error(errorMsg); - } -} - -/** - * @hidden - * Extract the DID from an Identity, or return the DID of the signing Identity if no Identity is passed - */ -export async function getDid( - value: string | Identity | undefined, - context: Context -): Promise { - let did; - if (value) { - did = signerToString(value); - } else { - ({ did } = await context.getSigningIdentity()); - } - - return did; -} - -/** - * @hidden - * Given a DID return the corresponding Identity, given an Identity return the Identity - */ -export function asIdentity(value: string | Identity, context: Context): Identity { - return typeof value === 'string' ? new Identity({ did: value }, context) : value; -} - -/** - * @hidden - * Given a DID return the corresponding ChildIdentity, given an ChildIdentity return the ChildIdentity - */ -export function asChildIdentity(value: string | ChildIdentity, context: Context): ChildIdentity { - return typeof value === 'string' ? new ChildIdentity({ did: value }, context) : value; -} - -/** - * @hidden - * Given an address return the corresponding Account, given an Account return the Account - */ -export function asAccount(value: string | Account, context: Context): Account { - return typeof value === 'string' ? new Account({ address: value }, context) : value; -} - -/** - * @hidden - * DID | Identity -> DID - */ -export function asDid(value: string | Identity): string { - return typeof value === 'string' ? value : value.did; -} - -/** - * @hidden - * Given an Identity, return the Identity, given a DID returns the corresponding Identity, if value is falsy, then return currentIdentity */ -export async function getIdentity( - value: string | Identity | undefined, - context: Context -): Promise { - if (!value) { - return context.getSigningIdentity(); - } else { - return asIdentity(value, context); - } -} +export function assertCaAssetValid(id: string): string { + if (id.length >= 32) { + let assetId = id; -/** - * @hidden - */ -export function createClaim( - claimType: string, - jurisdiction: Falsyable, - middlewareScope: Falsyable, - cddId: Falsyable, - customClaimTypeId: Falsyable -): Claim { - const type = claimType as ClaimType; - const scope = (middlewareScope ? middlewareScopeToScope(middlewareScope) : {}) as Scope; - - switch (type) { - case ClaimType.Jurisdiction: { - return { - type, - // this assertion is necessary because CountryCode is not in the middleware types - // eslint-disable-next-line @typescript-eslint/no-non-null-assertion - code: stringUpperFirst(jurisdiction!.toLowerCase()) as CountryCode, - scope, - }; - } - case ClaimType.CustomerDueDiligence: { - return { - type, - id: cddId as string, - }; + if (id.length === 32) { + assetId = `${id.substring(0, 8)}-${id.substring(8, 12)}-${id.substring( + 12, + 16 + )}-${id.substring(16, 20)}-${id.substring(20)}`; } - case ClaimType.Custom: { - if (!customClaimTypeId) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'Custom claim type ID is required', - }); - } - return { - type, - customClaimTypeId, - scope, - }; + const assetIdRegex = + /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/i; + if (assetIdRegex.test(assetId)) { + return assetId; } } - return { type, scope }; -} - -/** - * @hidden - */ -type EventData = Event extends AugmentedEvent<'promise', infer Data> ? Data : never; - -/** - * @hidden - * Find every occurrence of a specific event inside a receipt - * - * @param skipError - optional. If true, no error will be thrown if the event is not found, - * and the function will return an empty array - */ -export function filterEventRecords< - ModuleName extends keyof Events, - EventName extends keyof Events[ModuleName] ->( - receipt: ISubmittableResult, - mod: ModuleName, - eventName: EventName, - skipError?: true -): IEvent>[] { - const eventRecords = receipt.filterRecords(mod, eventName as string); - if (!eventRecords.length && !skipError) { - throw new PolymeshError({ - code: ErrorCode.UnexpectedError, - message: `Event "${mod}.${String( - eventName - )}" wasn't fired even though the corresponding transaction was completed. Please report this to the Polymesh team`, - }); - } - - return eventRecords.map( - eventRecord => eventRecord.event as unknown as IEvent> - ); -} - -/** - * Return a clone of a transaction receipt with the passed events - */ -function cloneReceipt(receipt: ISubmittableResult, events: EventRecord[]): ISubmittableResult { - const { filterRecords, findRecord, toHuman } = receipt; - - const clone: ISubmittableResult = { - ...receipt, - events, - }; - - clone.filterRecords = filterRecords; - clone.findRecord = findRecord; - clone.toHuman = toHuman; - - return clone; -} - -/** - * @hidden - * - * Segment a batch transaction receipt's events into arrays, each representing a specific extrinsic's - * associated events. This is useful for scenarios where we need to isolate and process events - * for individual extrinsics in a batch. - * - * In a batch transaction receipt, events corresponding to multiple extrinsics are listed sequentially. - * This function identifies boundaries between these event sequences, typically demarcated by - * events like 'utility.ItemCompleted', to segment events into individual arrays. - * - * A key use case is when we want to slice or filter events for a subset of the extrinsics. By - * segmenting events this way, it becomes simpler to apply operations or analyses to events - * corresponding to specific extrinsics in the batch. - * - * @param events - array of events from a batch transaction receipt - * - * @returns an array of arrays, where each inner array contains events specific to an extrinsic in the batch. - * - * @note this function does not mutate the input events - */ -export function segmentEventsByTransaction(events: EventRecord[]): EventRecord[][] { - const segments: EventRecord[][] = []; - let currentSegment: EventRecord[] = []; - - events.forEach(eventRecord => { - if (eventRecord.event.method === 'ItemCompleted' && eventRecord.event.section === 'utility') { - if (currentSegment.length) { - segments.push(currentSegment); - currentSegment = []; - } - } else { - currentSegment.push(eventRecord); - } + throw new PolymeshError({ + code: ErrorCode.ValidationError, + message: 'The supplied ID is not a valid confidential Asset ID', + data: { id }, }); - - // If there are events left after processing, add them to a new segment - if (currentSegment.length) { - segments.push(currentSegment); - } - - return segments; } /** * @hidden - * - * Return a clone of a batch transaction receipt that only contains events for a subset of the - * extrinsics in the batch. This is useful when a batch has several extrinsics that emit - * the same events and we want `filterEventRecords` to only search among the events emitted by - * some of them. - * - * A good example of this is when merging similar batches together. If we wish to preserve the return - * value of each batch, this is a good way of ensuring that the resolver function of a batch has - * access to the events that correspond only to the extrinsics in said batch - * - * @param from - index of the first transaction in the subset - * @param to - end index of the subset (not included) - * - * @note this function does not mutate the original receipt - */ -export function sliceBatchReceipt( - receipt: ISubmittableResult, - from: number, - to: number -): ISubmittableResult { - // checking if the batch was completed (will throw an error if not) - filterEventRecords(receipt, 'utility', 'BatchCompleted'); - - const { events } = receipt; - - const segmentedEvents = segmentEventsByTransaction(events); - - if (from < 0 || to > segmentedEvents.length) { - throw new PolymeshError({ - code: ErrorCode.UnexpectedError, - message: 'Transaction index range out of bounds. Please report this to the Polymesh team', - data: { - to, - from, - }, - }); - } - - const slicedEvents = segmentedEvents.slice(from, to).flat(); - - return cloneReceipt(receipt, slicedEvents); -} - -/** - * Return a clone of the last receipt in the passes array, containing the accumulated events - * of all receipts */ -export function mergeReceipts( - receipts: ISubmittableResult[], +export function asConfidentialAccount( + account: string | ConfidentialAccount, context: Context -): ISubmittableResult { - const eventsPerTransaction: u32[] = []; - const allEvents: EventRecord[] = []; - - receipts.forEach(({ events }) => { - eventsPerTransaction.push(bigNumberToU32(new BigNumber(events.length), context)); - allEvents.push(...events); - }); - - const lastReceipt = receipts[receipts.length - 1]; - - /* - * Here we simulate a `BatchCompleted` event with the amount of events of - * each transaction. That way, if some psychopath user decides to merge a bunch of transactions - * into a batch and then split it again, we won't lose track of which events correspond to which - * transaction - * - * NOTE: this is a bit fragile since we might want to use more functionalities of the event object in the future, - * but attempting to instantiate a real polkadot `GenericEvent` would be way more messy. It might come to that - * in the future though. It's also worth considering that this is an extreme edge case, since (hopefully) no one - * in their right mind would create a batch only to split it back up again - */ - return cloneReceipt(lastReceipt, [ - ...allEvents, - { - event: { - section: 'utility', - method: 'BatchCompleted', - data: [eventsPerTransaction], - }, - } as unknown as EventRecord, - ]); -} - -/** - * @hidden - */ -export function padString(value: string, length: number): string { - return padEnd(value, length, '\0'); -} - -/** - * @hidden - */ -export function removePadding(value: string): string { - // eslint-disable-next-line no-control-regex - return value.replace(/\u0000/g, ''); -} - -/** - * @hidden - * - * Return whether the string is fully printable ASCII - */ -export function isPrintableAscii(value: string): boolean { - // eslint-disable-next-line no-control-regex - return /^[\x00-\x7F]*$/.test(value); -} - -/** - * @hidden - * - * Return whether the string is fully alphanumeric - */ -export function isAlphanumeric(value: string): boolean { - return /^[0-9a-zA-Z]*$/.test(value); -} - -/** - * @hidden - * - * Makes an entries request to the chain. If pagination options are supplied, - * the request will be paginated. Otherwise, all entries will be requested at once - */ -export async function requestPaginated( - query: AugmentedQuery<'promise', F, T> | AugmentedQueryDoubleMap<'promise', F, T>, - opts: { - paginationOpts?: PaginationOptions; - arg?: Parameters[0]; - } -): Promise<{ - entries: [StorageKey, ObsInnerType>][]; - lastKey: NextKey; -}> { - const { arg, paginationOpts } = opts; - let entries: [StorageKey, ObsInnerType>][]; - let lastKey: NextKey = null; - - const args = arg ? [arg] : []; - - if (paginationOpts) { - const { size: pageSize, start: startKey } = paginationOpts; - entries = await query.entriesPaged({ - args, - pageSize: pageSize.toNumber(), - startKey, - }); - - if (pageSize.eq(entries.length)) { - lastKey = entries[entries.length - 1][0].toHex(); - } - } else { - /* - * NOTE @monitz87: this assertion is required because types - * are inconsistent in the polkadot repo - */ - entries = await query.entries(...(args as DropLast>)); - } - - return { - entries, - lastKey, - }; -} - -/** - * @hidden - * - * Gets Polymesh API instance at a particular block - */ -export async function getApiAtBlock( - context: Context, - blockHash: string | BlockHash -): Promise> { - const { polymeshApi } = context; - - const isArchiveNode = await context.isCurrentNodeArchive(); - - if (!isArchiveNode) { - throw new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: 'Cannot query previous blocks in a non-archive node', - }); +): ConfidentialAccount { + if (account instanceof ConfidentialAccount) { + return account; } - return polymeshApi.at(blockHash); -} - -type QueryMultiParam[]> = { - [index in keyof T]: T[index] extends AugmentedQuery<'promise', infer Fun> - ? Fun extends (firstArg: infer First, ...restArg: infer Rest) => ReturnType - ? Rest extends never[] - ? [T[index], First] - : [T[index], Parameters] - : never - : never; -}; - -type QueryMultiReturnType[]> = { - [index in keyof T]: T[index] extends AugmentedQuery<'promise', infer Fun> - ? ReturnType extends Observable - ? R - : never - : never; -}; - -/** - * @hidden - * - * Makes an multi request to the chain - */ -export async function requestMulti[]>( - context: Context, - queries: QueryMultiParam -): Promise>; -export async function requestMulti[]>( - context: Context, - queries: QueryMultiParam, - callback: Callback> -): Promise; -// eslint-disable-next-line require-jsdoc -export async function requestMulti[]>( - context: Context, - queries: QueryMultiParam, - callback?: Callback> -): Promise | UnsubCallback> { - const { - polymeshApi: { queryMulti }, - } = context; - - if (callback) { - return queryMulti(queries, callback as unknown as Callback); - } - return queryMulti(queries) as unknown as QueryMultiReturnType; + return new ConfidentialAccount({ publicKey: account }, context); } /** * @hidden - * - * Makes a request to the chain. If a block hash is supplied, - * the request will be made at that block. Otherwise, the most recent block will be queried */ -export async function requestAtBlock< - ModuleName extends keyof AugmentedQueries<'promise'>, - QueryName extends keyof AugmentedQueries<'promise'>[ModuleName] ->( - moduleName: ModuleName, - queryName: QueryName, - opts: { - blockHash?: string | BlockHash; - args: Parameters>; - }, +export function asConfidentialAsset( + asset: string | ConfidentialAsset, context: Context -): Promise>>> { - const { blockHash, args } = opts; - - let query: Queries; - if (blockHash) { - ({ query } = await getApiAtBlock(context, blockHash)); - } else { - ({ query } = context.polymeshApi); +): ConfidentialAsset { + if (asset instanceof ConfidentialAsset) { + return asset; } - const queryMethod = query[moduleName][queryName] as unknown as QueryFunction< - typeof moduleName, - typeof queryName - >; - return queryMethod(...args); -} - -/** - * @hidden - * - * Calculates next page number for paginated GraphQL ResultSet. - * Returns null if there is no next page. - * - * @param size - page size requested - * @param start - start index requested - * @param totalCount - total amount of elements returned by query - * - * @hidden - * - */ -export function calculateNextKey(totalCount: BigNumber, size: number, start?: BigNumber): NextKey { - const next = (start ?? new BigNumber(0)).plus(size); - return totalCount.gt(next) ? next : null; + return new ConfidentialAsset({ id: asset }, context); } /** * Create a method that prepares a procedure */ -export function createProcedureMethod< +export function createConfidentialProcedureMethod< ProcedureArgs, ProcedureReturnValue, Storage = Record @@ -696,15 +122,15 @@ export function createProcedureMethod< getProcedureAndArgs: () => [ ( | UnionOfProcedureFuncs - | ProcedureFunc + | ConfidentialProcedureFunc ), ProcedureArgs ]; voidArgs: true; }, context: Context -): NoArgsProcedureMethod; -export function createProcedureMethod< +): ConfidentialNoArgsProcedureMethod; +export function createConfidentialProcedureMethod< ProcedureArgs, ProcedureReturnValue, ReturnValue, @@ -714,7 +140,7 @@ export function createProcedureMethod< getProcedureAndArgs: () => [ ( | UnionOfProcedureFuncs - | ProcedureFunc + | ConfidentialProcedureFunc ), ProcedureArgs ]; @@ -722,8 +148,8 @@ export function createProcedureMethod< transformer: (value: ProcedureReturnValue) => ReturnValue | Promise; }, context: Context -): NoArgsProcedureMethod; -export function createProcedureMethod< +): ConfidentialNoArgsProcedureMethod; +export function createConfidentialProcedureMethod< // eslint-disable-next-line @typescript-eslint/ban-types MethodArgs, ProcedureArgs, @@ -736,15 +162,15 @@ export function createProcedureMethod< ) => [ ( | UnionOfProcedureFuncs - | ProcedureFunc + | ConfidentialProcedureFunc ), ProcedureArgs ]; optionalArgs: true; }, context: Context -): OptionalArgsProcedureMethod; -export function createProcedureMethod< +): ConfidentialOptionalArgsProcedureMethod; +export function createConfidentialProcedureMethod< // eslint-disable-next-line @typescript-eslint/ban-types MethodArgs, ProcedureArgs, @@ -758,7 +184,7 @@ export function createProcedureMethod< ) => [ ( | UnionOfProcedureFuncs - | ProcedureFunc + | ConfidentialProcedureFunc ), ProcedureArgs ]; @@ -766,8 +192,8 @@ export function createProcedureMethod< transformer: (value: ProcedureReturnValue) => ReturnValue | Promise; }, context: Context -): OptionalArgsProcedureMethod; -export function createProcedureMethod< +): ConfidentialOptionalArgsProcedureMethod; +export function createConfidentialProcedureMethod< // eslint-disable-next-line @typescript-eslint/ban-types MethodArgs extends {}, ProcedureArgs, @@ -780,14 +206,14 @@ export function createProcedureMethod< ) => [ ( | UnionOfProcedureFuncs - | ProcedureFunc + | ConfidentialProcedureFunc ), ProcedureArgs ]; }, context: Context -): ProcedureMethod; -export function createProcedureMethod< +): ConfidentialProcedureMethod; +export function createConfidentialProcedureMethod< // eslint-disable-next-line @typescript-eslint/ban-types MethodArgs extends {}, ProcedureArgs, @@ -801,16 +227,16 @@ export function createProcedureMethod< ) => [ ( | UnionOfProcedureFuncs - | ProcedureFunc + | ConfidentialProcedureFunc ), ProcedureArgs ]; transformer: (value: ProcedureReturnValue) => ReturnValue | Promise; }, context: Context -): ProcedureMethod; +): ConfidentialProcedureMethod; // eslint-disable-next-line require-jsdoc -export function createProcedureMethod< +export function createConfidentialProcedureMethod< MethodArgs, ProcedureArgs, ProcedureReturnValue, @@ -823,7 +249,7 @@ export function createProcedureMethod< ) => [ ( | UnionOfProcedureFuncs - | ProcedureFunc + | ConfidentialProcedureFunc ), ProcedureArgs ]; @@ -833,9 +259,9 @@ export function createProcedureMethod< }, context: Context ): - | ProcedureMethod - | OptionalArgsProcedureMethod - | NoArgsProcedureMethod { + | ConfidentialProcedureMethod + | ConfidentialOptionalArgsProcedureMethod + | ConfidentialNoArgsProcedureMethod { const { getProcedureAndArgs, transformer, voidArgs, optionalArgs } = args; if (voidArgs) { @@ -848,7 +274,7 @@ export function createProcedureMethod< voidMethod.checkAuthorization = async ( opts: ProcedureOpts = {} - ): Promise => { + ): Promise => { const [proc, procArgs] = getProcedureAndArgs(); return proc().checkAuthorization(procArgs, context, opts); @@ -869,7 +295,7 @@ export function createProcedureMethod< methodWithOptionalArgs.checkAuthorization = async ( methodArgs?: MethodArgs, opts: ProcedureOpts = {} - ): Promise => { + ): Promise => { const [proc, procArgs] = getProcedureAndArgs(methodArgs); return proc().checkAuthorization(procArgs, context, opts); @@ -889,7 +315,7 @@ export function createProcedureMethod< method.checkAuthorization = async ( methodArgs: MethodArgs, opts: ProcedureOpts = {} - ): Promise => { + ): Promise => { const [proc, procArgs] = getProcedureAndArgs(methodArgs); return proc().checkAuthorization(procArgs, context, opts); @@ -900,145 +326,15 @@ export function createProcedureMethod< /** * @hidden + * Compare two tags/modules and return true if they are equal, or if one is the other one's module */ -export function assertIsInteger(value: BigNumber): void { - if (!value.isInteger()) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'The number must be an integer', - }); - } -} +export function isModuleOrTagMatch(a: TxTag | ModuleName, b: TxTag | ModuleName): boolean { + const aIsTag = a.includes('.'); + const bIsTag = b.includes('.'); -/** - * @hidden - */ -export function assertIsPositive(value: BigNumber): void { - if (value.isNegative()) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'The number must be positive', - }); - } -} - -/** - * @hidden - */ -export function assertAddressValid(address: string, ss58Format: BigNumber): void { - let encodedAddress: string; - try { - encodedAddress = encodeAddress(decodeAddress(address), ss58Format.toNumber()); - } catch (err) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'The supplied address is not a valid SS58 address', - }); - } - - if (address !== encodedAddress) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: "The supplied address is not encoded with the chain's SS58 format", - data: { - ss58Format, - }, - }); - } -} - -/** - * @hidden - */ -export function asTicker(asset: string | BaseAsset): string { - return typeof asset === 'string' ? asset : asset.ticker; -} - -/** - * @hidden - * - * @note alternatively {@link asAsset} returns a more precise type but is async due to a network call - */ -export function asBaseAsset(asset: string | BaseAsset, context: Context): BaseAsset { - return typeof asset === 'string' ? new BaseAsset({ ticker: asset }, context) : asset; -} - -/** - * @hidden - * - * @note alternatively {@link asBaseAsset} returns a generic `BaseAsset`, but is synchronous - */ -export async function asAsset( - asset: string | FungibleAsset | NftCollection, - context: Context -): Promise { - if (typeof asset !== 'string') { - return asset; - } - - const fungible = new FungibleAsset({ ticker: asset }, context); - const collection = new NftCollection({ ticker: asset }, context); - - const [isAsset, isCollection] = await Promise.all([fungible.exists(), collection.exists()]); - - if (isCollection) { - return collection; - } - if (isAsset) { - return fungible; - } - - throw new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: `No asset exists with ticker: "${asset}"`, - }); -} - -/** - * @hidden - * Transforms asset or ticker into a `FungibleAsset` entity - */ -export function asFungibleAsset(asset: string | BaseAsset, context: Context): FungibleAsset { - if (asset instanceof FungibleAsset) { - return asset; - } - - const ticker = typeof asset === 'string' ? asset : asset.ticker; - - return new FungibleAsset({ ticker }, context); -} - -/** - * @hidden - */ -export function xor(a: boolean, b: boolean): boolean { - return a !== b; -} - -/** - * @hidden - * Transform a conversion util into a version that returns null if the input is falsy - */ -export function optionize( - converter: (input: InputType, ...rest: RestType) => OutputType -): (val: InputType | null | undefined, ...rest: RestType) => OutputType | null { - return (value: InputType | null | undefined, ...rest: RestType): OutputType | null => { - const data = value ?? null; - return data && converter(data, ...rest); - }; -} - -/** - * @hidden - * Compare two tags/modules and return true if they are equal, or if one is the other one's module - */ -export function isModuleOrTagMatch(a: TxTag | ModuleName, b: TxTag | ModuleName): boolean { - const aIsTag = a.includes('.'); - const bIsTag = b.includes('.'); - - // a tag b module - if (aIsTag && !bIsTag) { - return a.split('.')[0] === b; + // a tag b module + if (aIsTag && !bIsTag) { + return a.split('.')[0] === b; } // a module b tag @@ -1053,999 +349,284 @@ export function isModuleOrTagMatch(a: TxTag | ModuleName, b: TxTag | ModuleName) /** * @hidden * - * Recursively convert a value into a human readable (JSON compliant) version: - * - Entities are converted via their `.toHuman` method - * - Dates are converted to ISO strings - * - BigNumbers are converted to numerical strings + * Calculate the difference between the required Transaction permissions and the current ones */ -export function toHumanReadable(obj: T): HumanReadableType { - if (isEntity>(obj)) { - return obj.toHuman(); - } - - if (obj instanceof BigNumber) { - return obj.toString() as HumanReadableType; - } +export function getMissingTransactionPermissions( + requiredPermissions: TxTag[] | null | undefined, + currentPermissions: TransactionPermissions | null +): SimplePermissions['transactions'] { + // these transactions are allowed to any Account, independent of permissions + const exemptedTransactions: (TxTag | ModuleName)[] = [ + TxTags.identity.LeaveIdentityAsKey, + TxTags.identity.JoinIdentityAsKey, + TxTags.multiSig.AcceptMultisigSignerAsKey, + ...difference(Object.values(TxTags.balances), [ + TxTags.balances.DepositBlockRewardReserveBalance, + TxTags.balances.BurnAccountBalance, + ]), + ModuleName.Staking, + ModuleName.Sudo, + ModuleName.Session, + ModuleName.Authorship, + ModuleName.Babe, + ModuleName.Grandpa, + ModuleName.ImOnline, + ModuleName.Indices, + ModuleName.Scheduler, + ModuleName.System, + ModuleName.Timestamp, + ]; - if (obj instanceof Date) { - return obj.toISOString() as HumanReadableType; + if (currentPermissions === null) { + return undefined; } - if (Array.isArray(obj)) { - return obj.map(toHumanReadable) as HumanReadableType; + if (requiredPermissions === null) { + return null; } - if (obj && typeof obj === 'object') { - // eslint-disable-next-line @typescript-eslint/no-explicit-any - return mapValues(obj as any, val => toHumanReadable(val)) as HumanReadableType; + if (!requiredPermissions?.length) { + return undefined; } - return obj as HumanReadableType; -} - -/** - * @hidden - * - * Return whether the two arrays have same elements. - * It uses a `comparator` function to check if elements are equal. - * If no comparator function is provided, it uses `isEqual` function of `lodash` - */ -export function hasSameElements( - first: T[], - second: T[], - comparator: (a: T, b: T) => boolean = isEqual -): boolean { - return !differenceWith(first, second, comparator).length && first.length === second.length; -} - -/** - * @hidden - * - * Perform a deep comparison between two compliance conditions - */ -export function conditionsAreEqual( - a: Condition | InputCondition, - b: Condition | InputCondition -): boolean { - let equalClaims = false; - const { type: aType, trustedClaimIssuers: aClaimIssuers = [] } = a; - const { type: bType, trustedClaimIssuers: bClaimIssuers = [] } = b; - - if (isSingleClaimCondition(a) && isSingleClaimCondition(b)) { - equalClaims = isEqual(a.claim, b.claim); - } else if (isMultiClaimCondition(a) && isMultiClaimCondition(b)) { - const { claims: aClaims } = a; - const { claims: bClaims } = b; - - equalClaims = hasSameElements(aClaims, bClaims); - } else if (aType === ConditionType.IsIdentity && bType === ConditionType.IsIdentity) { - equalClaims = signerToString(a.identity) === signerToString(b.identity); - } else if (aType === ConditionType.IsExternalAgent && bType === ConditionType.IsExternalAgent) { - equalClaims = true; - } - - const equalClaimIssuers = hasSameElements( - aClaimIssuers, - bClaimIssuers, - ( - { identity: aIdentity, trustedFor: aTrustedFor }, - { identity: bIdentity, trustedFor: bTrustedFor } - ) => - signerToString(aIdentity) === signerToString(bIdentity) && - hasSameElements(aTrustedFor || [], bTrustedFor || []) - ); - - return equalClaims && equalClaimIssuers; -} - -/** - * @hidden - * - * Transforms `InputCACheckpoint` values to `Checkpoint | CheckpointSchedule | Date` for easier processing - */ -export async function getCheckpointValue( - checkpoint: InputCaCheckpoint, - asset: string | FungibleAsset, - context: Context -): Promise { - if ( - checkpoint instanceof Checkpoint || - checkpoint instanceof CheckpointSchedule || - checkpoint instanceof Date - ) { - return checkpoint; - } - const assetEntity = asFungibleAsset(asset, context); - const { type, id } = checkpoint; - if (type === CaCheckpointType.Existing) { - return assetEntity.checkpoints.getOne({ id }); - } else { - return ( - await assetEntity.checkpoints.schedules.getOne({ - id, - }) - ).schedule; - } -} - -interface TxAndArgsArray = Readonly> { - transaction: PolymeshTx; - argsArray: Args[]; -} - -type MapTxAndArgsArray> = { - [K in keyof Args]: Args[K] extends unknown[] ? TxAndArgsArray : never; -}; - -/** - * @hidden - */ -function mapArgs({ - transaction, - argsArray, -}: TxAndArgsArray): MapTxWithArgs { - return argsArray.map(args => ({ - transaction, - args, - })) as unknown as MapTxWithArgs; -} - -/** - * Assemble the `transactions` array that is expected in a `BatchTransactionSpec` from a set of parameter arrays with their - * respective transaction - * - * @note This method ensures type safety for batches with a variable amount of transactions - */ -export function assembleBatchTransactions>( - txsAndArgs: MapTxAndArgsArray -): MapTxWithArgs { - return flatMap(txsAndArgs, mapArgs) as unknown as MapTxWithArgs; -} - -/** - * @hidden - * - * Returns portfolio numbers for a set of portfolio names - */ -export async function getPortfolioIdsByName( - rawIdentityId: PolymeshPrimitivesIdentityId, - rawNames: Bytes[], - context: Context -): Promise<(BigNumber | null)[]> { const { - polymeshApi: { - query: { portfolio }, - }, - } = context; + type: transactionsType, + values: transactionsValues, + exceptions = [], + } = currentPermissions; - const rawPortfolioNumbers = await portfolio.nameToNumber.multi( - rawNames.map<[PolymeshPrimitivesIdentityId, Bytes]>(name => [rawIdentityId, name]) - ); + let missingPermissions: TxTag[]; - return rawPortfolioNumbers.map(number => { - const rawPortfolioId = number.unwrapOr(null); - return optionize(u64ToBigNumber)(rawPortfolioId); - }); -} + const exceptionMatches = intersection(requiredPermissions, exceptions); -/** - * @hidden - * - * Check if a transaction matches the type of its args. Returns the same value but stripped of the types. This function has no logic, it's strictly - * for type safety when returning a `BatchTransactionSpec` with a variable amount of transactions - */ -export function checkTxType(tx: TxWithArgs): TxWithArgs { - return tx as unknown as TxWithArgs; -} + if (transactionsType === PermissionType.Include) { + const includedTransactions = union(transactionsValues, exemptedTransactions); -/** - * @hidden - * - * Add an empty handler to a promise to avoid false positive unhandled promise errors. The original promise - * is returned, so rejections are still bubbled up and caught properly. This is an ugly hack and should be used - * sparingly and only if you KNOW that rejections will be handled properly down the line - * - * More info: - * - * - https://github.com/facebook/jest/issues/6028#issuecomment-567851031 - * - https://stackoverflow.com/questions/59060508/how-to-handle-an-unhandled-promise-rejection-asynchronously - * - https://stackoverflow.com/questions/40920179/should-i-refrain-from-handling-promise-rejection-asynchronously/40921505#40921505 - */ -export function defusePromise(promise: Promise): Promise { - promise.catch(noop); - - return promise; -} - -/** - * @hidden - * - * Transform an array of Identities into exempted IDs for Transfer Managers. - * - * @note even though the signature for `addExemptedEntities` requires `ScopeId`s as parameters, - * it accepts and handles `PolymeshPrimitivesIdentityId` parameters as well. Nothing special has to be done typing-wise since they're both aliases - * for `U8aFixed` - * - * @throws - * - if there are duplicated Identities/ScopeIDs - */ -export async function getExemptedIds( - identities: (string | Identity)[], - context: Context -): Promise { - const exemptedIds: string[] = []; - - const identityEntities = identities.map(identity => asIdentity(identity, context)); - - exemptedIds.push(...identityEntities.map(identity => asDid(identity), context)); - const hasDuplicates = uniq(exemptedIds).length !== exemptedIds.length; - - if (hasDuplicates) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: - 'One or more of the passed exempted Identities are repeated or have the same Scope ID', - }); - } - - return exemptedIds; -} - -/** - * @hidden - * - * @returns true if the node version is within the accepted range - */ -function handleNodeVersionResponse( - data: { result: string }, - reject: (reason?: unknown) => void -): boolean { - const { result: version } = data; - const lowMajor = major(SUPPORTED_NODE_SEMVER).toString(); - const versions = SUPPORTED_NODE_VERSION_RANGE.split('||'); - // eslint-disable-next-line @typescript-eslint/no-non-null-assertion - const high = coerce(versions[versions.length - 1].trim())!.version; - const highMajor = major(high).toString(); - - if (!satisfies(version, lowMajor) && !satisfies(version, highMajor)) { - const error = new PolymeshError({ - code: ErrorCode.FatalError, - message: 'Unsupported Polymesh RPC node version. Please upgrade the SDK', - data: { - rpcNodeVersion: version, - supportedVersionRange: SUPPORTED_NODE_VERSION_RANGE, - }, - }); - - reject(error); - - return false; - } - - if (!satisfies(version, SUPPORTED_NODE_VERSION_RANGE)) { - console.warn( - `This version of the SDK supports Polymesh RPC node version ${SUPPORTED_NODE_VERSION_RANGE}. The node is at version ${version}. Please upgrade the SDK` + missingPermissions = union( + differenceWith(requiredPermissions, includedTransactions, isModuleOrTagMatch), + exceptionMatches ); - } - - return true; -} - -/** - * @hidden - * - * Add a dot to a number every three digits from right to left - */ -function addDotSeparator(value: number): string { - let result = ''; - - value - .toString() - .split('') - .reverse() - .forEach((char, index) => { - if ((index + 1) % 3 === 1 && index !== 0) { - result = `.${result}`; + } else { + /* + * if the exclusion is a module, we only remove it from the list if the module itself is present in `exemptedTransactions`. + * Otherwise, if, for example, `transactionsValues` contains `ModuleName.Identity`, + * since `exemptedTransactions` contains `TxTags.identity.LeaveIdentityAsKey`, we would be + * removing the entire Identity module from the result, which doesn't make sense + */ + const txComparator = (tx: TxTag | ModuleName, exemptedTx: TxTag | ModuleName): boolean => { + if (!tx.includes('.')) { + return tx === exemptedTx; } - result = `${char}${result}`; - }); - - return result; -} - -/** - * @hidden - * - * @returns true if the spec version is within the accepted range - */ -function handleSpecVersionResponse( - data: { result: { specVersion: number } }, - reject: (reason?: unknown) => void -): boolean { - const { - result: { specVersion }, - } = data; - - /* - * the spec version number comes as a single number (e.g. 5000000). It should be parsed as xxx_yyy_zzz - * where xxx is the major version, yyy is the minor version, and zzz is the patch version. So for example, 5001023 - * would be version 5.1.23 - */ - const specVersionAsSemver = addDotSeparator(specVersion) - .split('.') - // remove leading zeroes, for example 020 becomes 20, 000 becomes 0 - .map((ver: string) => ver.replace(/^0+(?!$)/g, '')) - .join('.'); - - const lowMajor = major(SUPPORTED_SPEC_SEMVER).toString(); - const versions = SUPPORTED_SPEC_VERSION_RANGE.split('||'); - - // eslint-disable-next-line @typescript-eslint/no-non-null-assertion - const high = coerce(versions[versions.length - 1].trim())!.version; - const highMajor = major(high).toString(); - - if (!satisfies(specVersionAsSemver, lowMajor) && !satisfies(specVersionAsSemver, highMajor)) { - const error = new PolymeshError({ - code: ErrorCode.FatalError, - message: 'Unsupported Polymesh chain spec version. Please upgrade the SDK', - data: { - specVersion: specVersionAsSemver, - supportedVersionRange: SUPPORTED_SPEC_VERSION_RANGE, - }, - }); + return isModuleOrTagMatch(tx, exemptedTx); + }; - reject(error); + const excludedTransactions = differenceWith( + transactionsValues, + exemptedTransactions, + txComparator + ); - return false; - } - if (!satisfies(specVersionAsSemver, SUPPORTED_SPEC_VERSION_RANGE)) { - console.warn( - `This version of the SDK supports Polymesh chain spec version ${SUPPORTED_SPEC_VERSION_RANGE}. The chain spec is at version ${specVersionAsSemver}. Please upgrade the SDK` + missingPermissions = difference( + intersectionWith(requiredPermissions, excludedTransactions, isModuleOrTagMatch), + exceptionMatches ); } - return true; -} - -/** - * @hidden - * - * Checks SQ version compatibility with the SDK - */ -export async function assertExpectedSqVersion(context: Context): Promise { - const { - data: { - subqueryVersions: { - nodes: [sqVersion], - }, - }, - } = await context.queryMiddleware>(latestSqVersionQuery()); - - if (!sqVersion || lt(sqVersion.version, MINIMUM_SQ_VERSION)) { - console.warn( - `This version of the SDK supports Polymesh Subquery version ${MINIMUM_SQ_VERSION} or higher. Please upgrade the MiddlewareV2` - ); + if (missingPermissions.length) { + return missingPermissions; } + + return undefined; } /** - * @hidden - * - * Checks chain version. This function uses a websocket as it's intended to be called during initialization - * @param nodeUrl - URL for the chain node - * @returns A promise that resolves if the version is in the expected range, otherwise it will reject + * Calculate the difference between the required Transaction permissions and the current ones */ -export function assertExpectedChainVersion(nodeUrl: string): Promise { - return new Promise((resolve, reject) => { - const client = new W3CWebSocket(nodeUrl); +export function getMissingPortfolioPermissions( + requiredPermissions: (DefaultPortfolio | NumberedPortfolio)[] | null | undefined, + currentPermissions: SectionPermissions | null +): SimplePermissions['portfolios'] { + if (currentPermissions === null) { + return undefined; + } else if (requiredPermissions === null) { + return null; + } else if (requiredPermissions) { + const { type: portfoliosType, values: portfoliosValues } = currentPermissions; - client.onopen = (): void => { - client.send(JSON.stringify(SYSTEM_VERSION_RPC_CALL)); - client.send(JSON.stringify(STATE_RUNTIME_VERSION_CALL)); - }; + if (requiredPermissions.length) { + let missingPermissions: (DefaultPortfolio | NumberedPortfolio)[]; - let nodeVersionFetched: boolean; - let specVersionFetched: boolean; + const portfolioComparator = ( + a: DefaultPortfolio | NumberedPortfolio, + b: DefaultPortfolio | NumberedPortfolio + ): boolean => { + const aId = portfolioToPortfolioId(a); + const bId = portfolioToPortfolioId(b); - client.onmessage = (msg): void => { - const data = JSON.parse(msg.data.toString()); - const { id } = data; + return isEqual(aId, bId); + }; - if (id === SYSTEM_VERSION_RPC_CALL.id) { - nodeVersionFetched = handleNodeVersionResponse(data, reject); + if (portfoliosType === PermissionType.Include) { + missingPermissions = differenceWith( + requiredPermissions, + portfoliosValues, + portfolioComparator + ); } else { - specVersionFetched = handleSpecVersionResponse(data, reject); + missingPermissions = intersectionWith( + requiredPermissions, + portfoliosValues, + portfolioComparator + ); } - if (nodeVersionFetched && specVersionFetched) { - client.close(); - resolve(); + if (missingPermissions.length) { + return missingPermissions; } - }; - - client.onerror = (error: Error): void => { - client.close(); - const err = new PolymeshError({ - code: ErrorCode.FatalError, - message: `Could not connect to the Polymesh node at ${nodeUrl}`, - data: { error }, - }); - reject(err); - }; - }); -} - -/** - * @hidden - * - * Validates a ticker value - */ -export function assertTickerValid(ticker: string): void { - if (!ticker.length || ticker.length > MAX_TICKER_LENGTH) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: `Ticker length must be between 1 and ${MAX_TICKER_LENGTH} characters`, - }); - } - - if (!isPrintableAscii(ticker)) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'Only printable ASCII is allowed as ticker name', - }); - } - - if (ticker !== ticker.toUpperCase()) { - throw new PolymeshError({ - code: ErrorCode.ValidationError, - message: 'Ticker cannot contain lower case letters', - }); - } -} - -/** - * @hidden - * @returns true is the given stat is able to track the data for the given args - */ -export function compareStatsToInput( - rawStatType: PolymeshPrimitivesStatisticsStatType, - args: RemoveAssetStatParams -): boolean { - let claimIssuer; - const { type } = args; - - if (type === StatType.ScopedCount || type === StatType.ScopedBalance) { - claimIssuer = { issuer: args.issuer, claimType: args.claimType }; - } - - if (rawStatType.claimIssuer.isNone && !!claimIssuer) { - return false; - } - - if (rawStatType.claimIssuer.isSome) { - if (!claimIssuer) { - return false; - } - - const { issuer, claimType } = claimIssuer; - const [meshType, meshIssuer] = rawStatType.claimIssuer.unwrap(); - const issuerDid = identityIdToString(meshIssuer); - const statType = meshClaimTypeToClaimType(meshType); - if (issuerDid !== issuer.did) { - return false; - } - - if (statType !== claimType) { - return false; } } - const stat = meshStatToStatType(rawStatType); - - return stat === type; -} - -/** - * @hidden - * @returns true if the given StatType is able to track the data for the given transfer condition - */ -export function compareTransferRestrictionToStat( - transferCondition: PolymeshPrimitivesTransferComplianceTransferCondition, - type: StatType, - claimIssuer?: StatClaimIssuer -): boolean { - if ( - (type === StatType.Count && transferCondition.isMaxInvestorCount) || - (type === StatType.Balance && transferCondition.isMaxInvestorOwnership) - ) { - return true; - } - - if (!claimIssuer) { - return false; - } - - const { - issuer: { did: issuerDid }, - claimType, - } = claimIssuer; - - let rawClaim, issuer; - if (transferCondition.isClaimCount) { - [rawClaim, issuer] = transferCondition.asClaimCount; - } else if (transferCondition.isClaimOwnership) { - [rawClaim, issuer] = transferCondition.asClaimOwnership; - } - if (rawClaim && issuer) { - const restrictionIssuerDid = identityIdToString(issuer); - const claim = statsClaimToStatClaimInputType(rawClaim); - if (restrictionIssuerDid === issuerDid && claim.type === claimType) { - return true; - } - } - - return false; -} - -/** - * @hidden - */ -function getClaimType(statClaim: PolymeshPrimitivesStatisticsStatClaim): ClaimType { - if (statClaim.isAccredited) { - return ClaimType.Accredited; - } else if (statClaim.isAffiliate) { - return ClaimType.Affiliate; - } else { - return ClaimType.Jurisdiction; - } -} - -/** - * @hidden - */ -function compareOptionalBigNumbers(a: BigNumber | undefined, b: BigNumber | undefined): boolean { - if (a === undefined && b === undefined) { - return true; - } - if (a === undefined || b === undefined) { - return false; - } - return a.eq(b); -} - -/** - * @hidden - */ -export function compareTransferRestrictionToInput( - rawRestriction: PolymeshPrimitivesTransferComplianceTransferCondition, - inputRestriction: TransferRestriction -): boolean { - const { type, value } = inputRestriction; - if (rawRestriction.isMaxInvestorCount && type === TransferRestrictionType.Count) { - const currentCount = u64ToBigNumber(rawRestriction.asMaxInvestorCount); - return currentCount.eq(value); - } else if (rawRestriction.isMaxInvestorOwnership && type === TransferRestrictionType.Percentage) { - const currentOwnership = permillToBigNumber(rawRestriction.asMaxInvestorOwnership); - return currentOwnership.eq(value); - } else if (rawRestriction.isClaimCount && type === TransferRestrictionType.ClaimCount) { - const [statClaim, rawIssuerId, rawMin, maybeMax] = rawRestriction.asClaimCount; - const issuerDid = identityIdToString(rawIssuerId); - const min = u64ToBigNumber(rawMin); - const max = maybeMax.isSome ? u64ToBigNumber(maybeMax.unwrap()) : undefined; - const { min: valueMin, max: valueMax, claim: valueClaim, issuer: valueIssuer } = value; - - return ( - valueMin.eq(min) && - compareOptionalBigNumbers(max, valueMax) && - valueClaim.type === getClaimType(statClaim) && - issuerDid === valueIssuer.did - ); - } else if (rawRestriction.isClaimOwnership && type === TransferRestrictionType.ClaimPercentage) { - const { min: valueMin, max: valueMax, claim: valueClaim, issuer: valueIssuer } = value; - const [statClaim, rawIssuerId, rawMin, rawMax] = rawRestriction.asClaimOwnership; - const issuerDid = identityIdToString(rawIssuerId); - const min = permillToBigNumber(rawMin); - const max = permillToBigNumber(rawMax); - - return ( - valueMin.eq(min) && - valueMax.eq(max) && - valueClaim.type === getClaimType(statClaim) && - issuerDid === valueIssuer.did - ); - } - - return false; -} - -/** - * @hidden - */ -export function compareStatTypeToTransferRestrictionType( - statType: PolymeshPrimitivesStatisticsStatType, - transferRestrictionType: TransferRestrictionType -): boolean { - const opType = meshStatToStatType(statType); - if (opType === StatType.Count) { - return transferRestrictionType === TransferRestrictionType.Count; - } else if (opType === StatType.Balance) { - return transferRestrictionType === TransferRestrictionType.Percentage; - } else if (opType === StatType.ScopedCount) { - return transferRestrictionType === TransferRestrictionType.ClaimCount; - } else { - return transferRestrictionType === TransferRestrictionType.ClaimPercentage; - } -} - -/** - * @hidden - * @param args.type TransferRestriction type that was given - * @param args.claimIssuer optional Issuer and ClaimType for the scope of the Stat - * @param context - * @returns encoded StatType needed for the TransferRestriction to be enabled - */ -export function neededStatTypeForRestrictionInput( - args: { type: TransferRestrictionType; claimIssuer?: StatClaimIssuer }, - context: Context -): PolymeshPrimitivesStatisticsStatType { - const { type, claimIssuer } = args; - - const rawOp = transferRestrictionTypeToStatOpType(type, context); - - const rawIssuer = claimIssuer ? claimIssuerToMeshClaimIssuer(claimIssuer, context) : undefined; - return statisticsOpTypeToStatType({ op: rawOp, claimIssuer: rawIssuer }, context); -} - -/** - * @hidden - * @throws if stat is not found in the given set - */ -export function assertStatIsSet( - currentStats: BTreeSet, - neededStat: PolymeshPrimitivesStatisticsStatType -): void { - const needStat = ![...currentStats].find(s => s.eq(neededStat)); - - if (needStat) { - throw new PolymeshError({ - code: ErrorCode.UnmetPrerequisite, - message: - 'The appropriate stat type for this restriction is not set. Try calling enableStat in the namespace first', - }); - } + return undefined; } /** * @hidden + * Check if this Account possesses certain Permissions to act on behalf of its corresponding Identity * - * Fetches Account permissions for the given secondary Accounts - * - * @note non secondary Accounts will be skipped, so there maybe less PermissionedAccounts returned than Accounts given - * - * @param args.accounts a list of accounts to fetch permissions for - * @param args.identity optional. If passed, Accounts that are not part of the given Identity will be filtered out + * @return which permissions the Account is missing (if any) and the final result */ -export async function getSecondaryAccountPermissions( - args: { accounts: Account[]; identity?: Identity }, - context: Context, - callback: SubCallback -): Promise; - -export async function getSecondaryAccountPermissions( - args: { accounts: Account[]; identity?: Identity }, - context: Context -): Promise; -// eslint-disable-next-line require-jsdoc -export async function getSecondaryAccountPermissions( - args: { - accounts: Account[]; - identity?: Identity; - }, - context: Context, - callback?: SubCallback -): Promise { +export const checkConfidentialPermissions = async ( + account: Account, + permissions: SimplePermissions +): Promise> => { + const { assets, transactions, portfolios } = permissions; const { - polymeshApi: { - query: { identity: identityQuery }, - }, - } = context; - - const { accounts, identity } = args; - - const assembleResult = ( - optKeyRecords: Option[] - ): PermissionedAccount[] => { - return optKeyRecords.reduce((result: PermissionedAccount[], optKeyRecord, index) => { - const account = accounts[index]; - if (optKeyRecord.isNone) { - return result; - } - const record = optKeyRecord.unwrap(); - - if (record.isSecondaryKey) { - const [rawIdentityId, rawPermissions] = record.asSecondaryKey; - - if (identity && identityIdToString(rawIdentityId) !== identity.did) { - return result; - } - result.push({ - account, - permissions: meshPermissionsToPermissions(rawPermissions, context), - }); - } - - return result; - }, []); - }; - - const identityKeys = accounts.map(({ address }) => stringToAccountId(address, context)); - if (callback) { - return identityQuery.keyRecords.multi(identityKeys, result => { - return callback(assembleResult(result)); - }); - } - const rawResults = await identityQuery.keyRecords.multi(identityKeys); - - return assembleResult(rawResults); -} - -/** - * @hidden - */ -export async function getExemptedBtreeSet( - identities: (string | Identity)[], - ticker: string, - context: Context -): Promise> { - const exemptedIds = await getExemptedIds(identities, context); - const mapped = exemptedIds.map(exemptedId => asIdentity(exemptedId, context)); - - return identitiesToBtreeSet(mapped, context); -} + assets: currentAssets, + transactions: currentTransactions, + portfolios: currentPortfolios, + } = await account.getPermissions(); -/** - * @hidden - */ -export async function getIdentityFromKeyRecord( - keyRecord: PolymeshPrimitivesSecondaryKeyKeyRecord, - context: Context -): Promise { - const { - polymeshApi: { - query: { identity }, - }, - } = context; - - if (keyRecord.isPrimaryKey) { - const did = identityIdToString(keyRecord.asPrimaryKey); - return new Identity({ did }, context); - } else if (keyRecord.isSecondaryKey) { - const did = identityIdToString(keyRecord.asSecondaryKey[0]); - return new Identity({ did }, context); - } else { - const multiSigAddress = keyRecord.asMultiSigSignerKey; - const optMultiSigKeyRecord = await identity.keyRecords(multiSigAddress); + const missingPermissions: SimplePermissions = {}; - if (optMultiSigKeyRecord.isNone) { - return null; - } + const missingAssetPermissions = getMissingAssetPermissions(assets, currentAssets); - const multiSigKeyRecord = optMultiSigKeyRecord.unwrap(); - return getIdentityFromKeyRecord(multiSigKeyRecord, context); + const hasAssets = missingAssetPermissions === undefined; + if (!hasAssets) { + missingPermissions.assets = missingAssetPermissions; } -} -/** - * @hidden - * - * helper to construct proper type asset - * - * @note `assetDetails` and `tickers` must have the same offset - */ -export function assembleAssetQuery( - assetDetails: Option[], - tickers: string[], - context: Context -): (FungibleAsset | NftCollection)[] { - return assetDetails.map((rawDetails, index) => { - const ticker = tickers[index]; - const detail = rawDetails.unwrap(); - - if (detail.assetType.isNonFungible) { - return new NftCollection({ ticker }, context); - } else { - return new FungibleAsset({ ticker }, context); - } - }); -} + const missingTransactionPermissions = getMissingTransactionPermissions( + transactions, + currentTransactions + ); -/** - * @hidden - */ -export function asNftId(nft: Nft | BigNumber): BigNumber { - if (nft instanceof BigNumber) { - return nft; - } else { - return nft.id; + const hasTransactions = missingTransactionPermissions === undefined; + if (!hasTransactions) { + missingPermissions.transactions = missingTransactionPermissions; } -} -/** - * @hidden - */ -export function areSameClaims( - claim: Claim, - { scope, type, customClaimTypeId }: MiddlewareClaim -): boolean { - // filter out deprecated claim types - if ( - type === ClaimTypeEnum.NoData || - type === ClaimTypeEnum.NoType || - type === ClaimTypeEnum.InvestorUniqueness || - type === ClaimTypeEnum.InvestorUniquenessV2 - ) { - return false; - } + const missingPortfolioPermissions = getMissingPortfolioPermissions(portfolios, currentPortfolios); - if (isScopedClaim(claim) && scope && !isEqual(middlewareScopeToScope(scope), claim.scope)) { - return false; + const hasPortfolios = missingPortfolioPermissions === undefined; + if (!hasPortfolios) { + missingPermissions.portfolios = missingPortfolioPermissions; } - if ( - type === ClaimTypeEnum.Custom && - claim.type === ClaimType.Custom && - customClaimTypeId && - !claim.customClaimTypeId.isEqualTo(customClaimTypeId) - ) { - return false; + const result = hasAssets && hasTransactions && hasPortfolios; + + if (result) { + return { result }; } - return ClaimType[type] === claim.type; -} + return { + result, + missingPermissions, + }; +}; /** - * @hidden + * Check whether an Identity possesses the specified Role */ -export function assertNoPendingAuthorizationExists(params: { - authorizationRequests: AuthorizationRequest[]; - message: string; - authorization: Partial; - issuer?: Identity; - target?: string | Identity; -}): void { - const { - authorizationRequests, - message, - authorization, - target: targetToCheck, - issuer: issuerToCheck, - } = params; - - if (authorizationRequests.length === 0) { - return; - } +const hasRole = async (identity: Identity, role: Role, context: Context): Promise => { + const { did } = identity; - const pendingAuthorization = authorizationRequests.find(authorizationRequest => { - const { issuer, target, data } = authorizationRequest; + if (isConfidentialAssetOwnerRole(role)) { + const { assetId } = role; - if (authorizationRequest.isExpired()) { - return false; - } + const confidentialAsset = new ConfidentialAsset({ id: assetId }, context); + const { owner } = await confidentialAsset.details(); - if (targetToCheck && signerToString(target) !== signerToString(targetToCheck)) { - return false; - } + return identity.isEqual(owner); + } else if (isConfidentialVenueOwnerRole(role)) { + const confidentialVenue = new ConfidentialVenue({ id: role.venueId }, context); - if (issuerToCheck && signerToString(issuer) !== signerToString(issuerToCheck)) { - return false; - } + const owner = await confidentialVenue.creator(); - if (authorization.type && data.type !== authorization.type) { - return false; - } + return identity.isEqual(owner); + } else if (isTickerOwnerRole(role)) { + const { ticker } = role; - if (authorization.type === AuthorizationType.PortfolioCustody && authorization.value) { - const authorizationData = data as { value: NumberedPortfolio | DefaultPortfolio }; + const reservation = new TickerReservation({ ticker }, context); + const { owner } = await reservation.details(); - return authorizationData.value.isEqual(authorization.value); - } + return owner ? identity.isEqual(owner) : false; + } else if (isCddProviderRole(role)) { + const { + polymeshApi: { + query: { cddServiceProviders }, + }, + } = context; - if (authorization.type === AuthorizationType.AttestPrimaryKeyRotation && authorization.value) { - const authorizationData = data as AttestPrimaryKeyRotationAuthorizationData; + const activeMembers = await cddServiceProviders.activeMembers(); + const memberDids = activeMembers.map(identityIdToString); - return authorizationData.value.isEqual(authorization.value); - } + return memberDids.includes(did); + } else if (isVenueOwnerRole(role)) { + const venue = new Venue({ id: role.venueId }, context); - // last checks for authorizations that have string values - const { value } = authorization as GenericAuthorizationData; - const { value: authorizationValue } = data as GenericAuthorizationData; + const { owner } = await venue.details(); - if (value && value !== authorizationValue) { - return false; - } + return identity.isEqual(owner); + } else if (isPortfolioCustodianRole(role)) { + const { portfolioId } = role; - return true; - }); + const portfolio = portfolioIdToPortfolio(portfolioId, context); - if (pendingAuthorization) { - const { issuer, target, data, authId } = pendingAuthorization; - const { type: authorizationType } = data; - throw new PolymeshError({ - code: ErrorCode.NoDataChange, - message, - data: { target, issuer, authorizationType, authId }, - }); - } -} - -/** - * @hidden - */ -export function assertCaAssetValid(id: string): string { - if (id.length >= 32) { - let assetId = id; - - if (id.length === 32) { - assetId = `${id.substring(0, 8)}-${id.substring(8, 12)}-${id.substring( - 12, - 16 - )}-${id.substring(16, 20)}-${id.substring(20)}`; - } - - const assetIdRegex = - /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/i; - if (assetIdRegex.test(assetId)) { - return assetId; - } + return portfolio.isCustodiedBy(); + } else if (isIdentityRole(role)) { + return did === role.did; } + /* istanbul ignore next: */ throw new PolymeshError({ code: ErrorCode.ValidationError, - message: 'The supplied ID is not a valid confidential Asset ID', - data: { id }, + message: `Unrecognized role "${JSON.stringify(role)}"`, }); -} - -/** - * @hidden - */ -export async function assertIdentityExists(identity: Identity): Promise { - const exists = await identity.exists(); - - if (!exists) { - throw new PolymeshError({ - code: ErrorCode.DataUnavailable, - message: 'The identity does not exists', - data: { did: identity.did }, - }); - } -} +}; /** - * @hidden + * Check whether this Identity possesses all specified roles */ -export function asConfidentialAccount( - account: string | ConfidentialAccount, +export const checkConfidentialRoles = async ( + identity: Identity, + roles: Role[], context: Context -): ConfidentialAccount { - if (account instanceof ConfidentialAccount) { - return account; - } +): Promise => { + const missingRoles = await P.filter(roles, async role => { + const idHasRole = await hasRole(identity, role, context); - return new ConfidentialAccount({ publicKey: account }, context); -} + return !idHasRole; + }); -/** - * @hidden - */ -export function asConfidentialAsset( - asset: string | ConfidentialAsset, - context: Context -): ConfidentialAsset { - if (asset instanceof ConfidentialAsset) { - return asset; + if (missingRoles.length) { + return { + missingRoles, + result: false, + }; } - return new ConfidentialAsset({ id: asset }, context); -} + return { + result: true, + }; +}; diff --git a/src/utils/typeguards.ts b/src/utils/typeguards.ts index 3e649db752..3d65ff20e6 100644 --- a/src/utils/typeguards.ts +++ b/src/utils/typeguards.ts @@ -1,312 +1,6 @@ /* istanbul ignore file */ -import { - Account, - AuthorizationRequest, - BaseAsset, - Checkpoint, - CheckpointSchedule, - Context, - CorporateAction, - CustomPermissionGroup, - DefaultPortfolio, - DefaultTrustedClaimIssuer, - DividendDistribution, - Entity, - FungibleAsset, - Identity, - Instruction, - KnownPermissionGroup, - NftCollection, - NumberedPortfolio, - Offering, - PolymeshError, - PolymeshTransaction, - PolymeshTransactionBatch, - TickerReservation, - Venue, -} from '~/internal'; -import { - AccreditedClaim, - AffiliateClaim, - BlockedClaim, - BuyLockupClaim, - CddClaim, - CddProviderRole, - Claim, - ClaimType, - ConditionType, - ConfidentialAssetOwnerRole, - ConfidentialVenueOwnerRole, - ExemptedClaim, - FungibleLeg, - IdentityCondition, - IdentityRole, - InputCondition, - InputConditionBase, - InstructionLeg, - JurisdictionClaim, - KycClaim, - MultiClaimCondition, - NftLeg, - PortfolioCustodianRole, - ProposalStatus, - Role, - RoleType, - ScopedClaim, - SellLockupClaim, - SingleClaimCondition, - TickerOwnerRole, - UnscopedClaim, - VenueOwnerRole, -} from '~/types'; -import { asAsset } from '~/utils/internal'; - -/** - * Return whether value is an Entity - */ -export function isEntity( - value: unknown -): value is Entity { - return value instanceof Entity; -} - -/** - * Return whether value is an Account - */ -export function isAccount(value: unknown): value is Account { - return value instanceof Account; -} - -/** - * Return whether value is an AuthorizationRequest - */ -export function isAuthorizationRequest(value: unknown): value is AuthorizationRequest { - return value instanceof AuthorizationRequest; -} - -/** - * Return whether value is a Checkpoint - */ -export function isCheckpoint(value: unknown): value is Checkpoint { - return value instanceof Checkpoint; -} - -/** - * Return whether value is a CheckpointSchedule - */ -export function isCheckpointSchedule(value: unknown): value is CheckpointSchedule { - return value instanceof CheckpointSchedule; -} - -/** - * Return whether value is a CorporateAction - */ -export function isCorporateAction(value: unknown): value is CorporateAction { - return value instanceof CorporateAction; -} - -/** - * Return whether value is a CustomPermissionGroup - */ -export function isCustomPermissionGroup(value: unknown): value is CustomPermissionGroup { - return value instanceof CustomPermissionGroup; -} - -/** - * Return whether value is a DefaultPortfolio - */ -export function isDefaultPortfolio(value: unknown): value is DefaultPortfolio { - return value instanceof DefaultPortfolio; -} - -/** - * Return whether value is a DefaultTrustedClaimIssuer - */ -export function isDefaultTrustedClaimIssuer(value: unknown): value is DefaultTrustedClaimIssuer { - return value instanceof DefaultTrustedClaimIssuer; -} - -/** - * Return whether value is a DividendDistribution - */ -export function isDividendDistribution(value: unknown): value is DividendDistribution { - return value instanceof DividendDistribution; -} - -/** - * Return whether value is an Identity - */ -export function isIdentity(value: unknown): value is Identity { - return value instanceof Identity; -} - -/** - * Return whether value is an Instruction - */ -export function isInstruction(value: unknown): value is Instruction { - return value instanceof Instruction; -} - -/** - * Return whether value is a KnownPermissionGroup - */ -export function isKnownPermissionGroup(value: unknown): value is KnownPermissionGroup { - return value instanceof KnownPermissionGroup; -} - -/** - * Return whether value is a NumberedPortfolio - */ -export function isNumberedPortfolio(value: unknown): value is NumberedPortfolio { - return value instanceof NumberedPortfolio; -} - -/** - * Return whether value is an Offering - */ -export function isOffering(value: unknown): value is Offering { - return value instanceof Offering; -} - -/** - * Return whether value is a TickerReservation - */ -export function isTickerReservation(value: unknown): value is TickerReservation { - return value instanceof TickerReservation; -} - -/** - * Return whether value is a Venue - */ -export function isVenue(value: unknown): value is Venue { - return value instanceof Venue; -} - -/** - * Return whether value is a PolymeshError - */ -export function isPolymeshError(value: unknown): value is PolymeshError { - return value instanceof PolymeshError; -} - -/** - * Return whether a Claim is an UnscopedClaim - */ -export function isUnscopedClaim(claim: Claim): claim is UnscopedClaim { - return [ClaimType.CustomerDueDiligence].includes(claim.type); -} - -/** - * Return whether a Claim is a ScopedClaim - */ -export function isScopedClaim(claim: Claim): claim is ScopedClaim { - return !isUnscopedClaim(claim); -} - -/** - * Return whether Claim is an AccreditedClaim - */ -export function isAccreditedClaim(claim: Claim): claim is AccreditedClaim { - return claim.type === ClaimType.Accredited; -} - -/** - * Return whether Claim is an AffiliateClaim - */ -export function isAffiliateClaim(claim: Claim): claim is AffiliateClaim { - return claim.type === ClaimType.Affiliate; -} - -/** - * Return whether Claim is a BuyLockupClaim - */ -export function isBuyLockupClaim(claim: Claim): claim is BuyLockupClaim { - return claim.type === ClaimType.BuyLockup; -} - -/** - * Return whether Claim is a SellLockupClaim - */ -export function isSellLockupClaim(claim: Claim): claim is SellLockupClaim { - return claim.type === ClaimType.SellLockup; -} - -/** - * Return whether Claim is a CddClaim - */ -export function isCddClaim(claim: Claim): claim is CddClaim { - return claim.type === ClaimType.CustomerDueDiligence; -} - -/** - * Return whether Claim is a KycClaim - */ -export function isKycClaim(claim: Claim): claim is KycClaim { - return claim.type === ClaimType.KnowYourCustomer; -} - -/** - * Return whether Claim is a JurisdictionClaim - */ -export function isJurisdictionClaim(claim: Claim): claim is JurisdictionClaim { - return claim.type === ClaimType.Jurisdiction; -} - -/** - * Return whether Claim is an ExemptedClaim - */ -export function isExemptedClaim(claim: Claim): claim is ExemptedClaim { - return claim.type === ClaimType.Exempted; -} - -/** - * Return whether Claim is a BlockedClaim - */ -export function isBlockedClaim(claim: Claim): claim is BlockedClaim { - return claim.type === ClaimType.Blocked; -} - -/** - * Return whether Condition has a single Claim - */ -export function isSingleClaimCondition( - condition: InputCondition -): condition is InputConditionBase & SingleClaimCondition { - return [ConditionType.IsPresent, ConditionType.IsAbsent].includes(condition.type); -} - -/** - * Return whether Condition has multiple Claims - */ -export function isMultiClaimCondition( - condition: InputCondition -): condition is InputConditionBase & MultiClaimCondition { - return [ConditionType.IsAnyOf, ConditionType.IsNoneOf].includes(condition.type); -} - -/** - * Return whether Condition has multiple Claims - */ -export function isIdentityCondition( - condition: InputCondition -): condition is InputConditionBase & IdentityCondition { - return condition.type === ConditionType.IsIdentity; -} - -/** - * Return whether Role is PortfolioCustodianRole - */ -export function isPortfolioCustodianRole(role: Role): role is PortfolioCustodianRole { - return role.type === RoleType.PortfolioCustodian; -} - -/** - * Return whether Role is VenueOwnerRole - */ -export function isVenueOwnerRole(role: Role): role is VenueOwnerRole { - return role.type === RoleType.VenueOwner; -} +import { ConfidentialAssetOwnerRole, ConfidentialVenueOwnerRole, Role, RoleType } from '~/types'; /** * Return whether Role is VenueOwnerRole @@ -315,117 +9,9 @@ export function isConfidentialVenueOwnerRole(role: Role): role is ConfidentialVe return role.type === RoleType.ConfidentialVenueOwner; } -/** - * Return whether Role is CddProviderRole - */ -export function isCddProviderRole(role: Role): role is CddProviderRole { - return role.type === RoleType.CddProvider; -} - -/** - * Return whether Role is TickerOwnerRole - */ -export function isTickerOwnerRole(role: Role): role is TickerOwnerRole { - return role.type === RoleType.TickerOwner; -} - /** * Return whether Role is ConfidentialAssetOwnerRole */ export function isConfidentialAssetOwnerRole(role: Role): role is ConfidentialAssetOwnerRole { return role.type === RoleType.ConfidentialAssetOwner; } - -/** - * Return whether Role is IdentityRole - */ -export function isIdentityRole(role: Role): role is IdentityRole { - return role.type === RoleType.Identity; -} -/** - * Return whether value is a PolymeshTransaction - */ -export function isPolymeshTransaction< - ReturnValue, - TransformedReturnValue = ReturnValue, - Args extends unknown[] = unknown[] ->(value: unknown): value is PolymeshTransaction { - return value instanceof PolymeshTransaction; -} - -/** - * Return whether value is a PolymeshTransactionBatch - */ -export function isPolymeshTransactionBatch< - ReturnValue, - TransformedReturnValue = ReturnValue, - Args extends unknown[][] = unknown[][] ->(value: unknown): value is PolymeshTransactionBatch { - return value instanceof PolymeshTransactionBatch; -} - -/** - * @hidden - */ -export function isProposalStatus(status: string): status is ProposalStatus { - return status in ProposalStatus; -} - -/** - * Return whether an asset is a FungibleAsset - */ -export function isFungibleAsset(asset: BaseAsset): asset is FungibleAsset { - return asset instanceof FungibleAsset; -} - -/** - * Return whether an asset is a NftCollection - */ -export function isNftCollection(asset: BaseAsset): asset is NftCollection { - return asset instanceof NftCollection; -} - -/** - * @hidden - */ -type IsFungibleLegGuard = (leg: InstructionLeg) => leg is FungibleLeg; - -/** - * Return whether a leg is for a Fungible asset - * - * @note Higher order function is a work around for TS not supporting `Promise` - * - * @example ```ts - * const fungibleGuard = await isFungibleLegBuilder(leg, context) - */ -export const isFungibleLegBuilder = async ( - leg: InstructionLeg, - context: Context -): Promise => { - const asset = await asAsset(leg.asset, context); - - return (iLeg: InstructionLeg): iLeg is FungibleLeg => { - return asset instanceof FungibleAsset; - }; -}; - -/** - * @hidden - */ -type IsNftLegGuard = (leg: InstructionLeg) => leg is NftLeg; - -/** - * Return whether a leg is for an Nft - * - * @note Higher order function is a work around for TS not supporting `Promise` - */ -export const isNftLegBuilder = async ( - leg: InstructionLeg, - context: Context -): Promise => { - const asset = await asAsset(leg.asset, context); - - return (iLeg: InstructionLeg): iLeg is NftLeg => { - return asset instanceof NftCollection; - }; -}; diff --git a/yarn.lock b/yarn.lock index 5cd2c3a920..97b63cb04e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -827,6 +827,11 @@ resolved "https://registry.yarnpkg.com/@gar/promisify/-/promisify-1.1.3.tgz#555193ab2e3bb3b6adc3d551c9c030d9e860daf6" integrity sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw== +"@golevelup/ts-jest@^0.4.0": + version "0.4.0" + resolved "https://registry.yarnpkg.com/@golevelup/ts-jest/-/ts-jest-0.4.0.tgz#e36551ecbb37fcf3e4143a1ba9f78a649649dc91" + integrity sha512-ehgllV/xU8PC+yVyEUtTzhiSQKsr7k5Jz74B6dtCaVJz7/Vo7JiaACsCLvD7/iATlJUAEqvBson0OHewD3JDzQ== + "@graphql-codegen/cli@5.0.0": version "5.0.0" resolved "https://registry.yarnpkg.com/@graphql-codegen/cli/-/cli-5.0.0.tgz#761dcf08cfee88bbdd9cdf8097b2343445ec6f0a" @@ -2244,6 +2249,28 @@ dependencies: "@polymeshassociation/signing-manager-types" "^3.2.0" +"@polymeshassociation/polymesh-sdk@24.0.0-alpha.25": + version "24.0.0-alpha.25" + resolved "https://registry.yarnpkg.com/@polymeshassociation/polymesh-sdk/-/polymesh-sdk-24.0.0-alpha.25.tgz#6af3a6f8f2f727a47c231bda58b78ad2e9279cde" + integrity sha512-m4L/j8g7/BI/5D9GNZ7jpE7beIHv6gJBOf76QngGOedY85q4qbcEoKFrMk91MPl+TO9n2pivNGkx+TZMKqEq4A== + dependencies: + "@apollo/client" "^3.8.1" + "@polkadot/api" "10.9.1" + "@polkadot/util" "12.4.2" + "@polkadot/util-crypto" "12.4.2" + bignumber.js "9.0.1" + bluebird "^3.7.2" + cross-fetch "^4.0.0" + dayjs "1.11.9" + graphql "^16.8.0" + graphql-tag "2.12.6" + iso-7064 "^1.1.0" + json-stable-stringify "^1.0.2" + lodash "^4.17.21" + patch-package "^8.0.0" + semver "^7.5.4" + websocket "^1.0.34" + "@polymeshassociation/polymesh-types@^5.8.0": version "5.8.0" resolved "https://registry.yarnpkg.com/@polymeshassociation/polymesh-types/-/polymesh-types-5.8.0.tgz#3f88914c5419aec040bc5343827a2fe6512a8b65" From 167c94b66e22759fbb22dd05260b883e7585d2d8 Mon Sep 17 00:00:00 2001 From: Prashant Bajpai <34747455+prashantasdeveloper@users.noreply.github.com> Date: Fri, 12 Apr 2024 16:44:51 +0530 Subject: [PATCH 118/120] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20Add=20valid=20as?= =?UTF-8?q?sertion=20for=20ElGamal=20public=20key?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 + src/api/entities/ConfidentialAccount/index.ts | 4 ++- .../__tests__/ConfidentialAccount/index.ts | 2 -- .../ConfidentialTransaction/index.ts | 7 ++++ src/utils/__tests__/conversion.ts | 3 ++ src/utils/__tests__/internal.ts | 32 +++++++++++++++++++ src/utils/internal.ts | 16 ++++++++++ yarn.lock | 12 +++++++ 8 files changed, 74 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index b79480a23b..2925d85034 100644 --- a/package.json +++ b/package.json @@ -123,6 +123,7 @@ }, "dependencies": { "@apollo/client": "^3.8.1", + "@noble/curves": "^1.4.0", "@polkadot/api": "10.9.1", "@polkadot/util": "12.4.2", "@polkadot/util-crypto": "12.4.2", diff --git a/src/api/entities/ConfidentialAccount/index.ts b/src/api/entities/ConfidentialAccount/index.ts index 3552ce8574..c0fe6dc619 100644 --- a/src/api/entities/ConfidentialAccount/index.ts +++ b/src/api/entities/ConfidentialAccount/index.ts @@ -34,7 +34,7 @@ import { middlewareEventDetailsToEventIdentifier, serializeConfidentialAssetId, } from '~/utils/conversion'; -import { asConfidentialAsset } from '~/utils/internal'; +import { asConfidentialAsset, assertElgamalPubKeyValid } from '~/utils/internal'; import { convertSubQueryAssetIdToUuid } from './helpers'; @@ -72,6 +72,8 @@ export class ConfidentialAccount extends Entity { const { publicKey } = identifiers; + assertElgamalPubKeyValid(publicKey); + this.publicKey = publicKey; } diff --git a/src/api/entities/__tests__/ConfidentialAccount/index.ts b/src/api/entities/__tests__/ConfidentialAccount/index.ts index e4986d1abe..5dc2799439 100644 --- a/src/api/entities/__tests__/ConfidentialAccount/index.ts +++ b/src/api/entities/__tests__/ConfidentialAccount/index.ts @@ -1,5 +1,4 @@ import { ErrorCode } from '@polymeshassociation/polymesh-sdk/types'; -import * as utilsPublicConversionModule from '@polymeshassociation/polymesh-sdk/utils/conversion'; import BigNumber from 'bignumber.js'; import { @@ -38,7 +37,6 @@ describe('ConfidentialAccount class', () => { entityMockUtils.initMocks(); dsMockUtils.initMocks(); procedureMockUtils.initMocks(); - jest.spyOn(utilsPublicConversionModule, 'addressToKey').mockImplementation(); publicKey = '0xb8bb6107ef0dacb727199b329e2d09141ea6f36774818797e843df800c746d19'; }); diff --git a/src/api/entities/__tests__/ConfidentialTransaction/index.ts b/src/api/entities/__tests__/ConfidentialTransaction/index.ts index 3436886e10..004bcdad79 100644 --- a/src/api/entities/__tests__/ConfidentialTransaction/index.ts +++ b/src/api/entities/__tests__/ConfidentialTransaction/index.ts @@ -37,6 +37,13 @@ jest.mock( ) ); +jest.mock( + '~/api/entities/ConfidentialAccount', + require('~/testUtils/mocks/entities').mockConfidentialAccountModule( + '~/api/entities/ConfidentialAccount' + ) +); + jest.mock( '~/base/ConfidentialProcedure', require('~/testUtils/mocks/procedure').mockConfidentialProcedureModule( diff --git a/src/utils/__tests__/conversion.ts b/src/utils/__tests__/conversion.ts index d6be2186d2..fa60003027 100644 --- a/src/utils/__tests__/conversion.ts +++ b/src/utils/__tests__/conversion.ts @@ -34,6 +34,7 @@ import { ConfidentialLegStateBalances, ConfidentialTransactionStatus, } from '~/types'; +import * as utilsInternalModule from '~/utils/internal'; import { auditorsToBtreeSet, @@ -115,6 +116,7 @@ describe('auditorToMeshAuditor', () => { beforeAll(() => { dsMockUtils.initMocks(); + jest.spyOn(utilsInternalModule, 'assertElgamalPubKeyValid').mockImplementation(); }); beforeEach(() => { @@ -149,6 +151,7 @@ describe('auditorsToBtreeSet', () => { beforeAll(() => { dsMockUtils.initMocks(); + jest.spyOn(utilsInternalModule, 'assertElgamalPubKeyValid').mockImplementation(); }); beforeEach(() => { diff --git a/src/utils/__tests__/internal.ts b/src/utils/__tests__/internal.ts index 6c992434f3..00291bd9ea 100644 --- a/src/utils/__tests__/internal.ts +++ b/src/utils/__tests__/internal.ts @@ -1,3 +1,6 @@ +/* eslint-disable import/first */ +const mockRistrettoPointFromHex = jest.fn(); + import { ErrorCode, PermissionType, @@ -23,11 +26,13 @@ import { RoleType, TxTags, } from '~/types'; +import * as utilsInternalModule from '~/utils/internal'; import { asConfidentialAccount, asConfidentialAsset, assertCaAssetValid, + assertElgamalPubKeyValid, checkConfidentialPermissions, checkConfidentialRoles, createConfidentialProcedureMethod, @@ -38,6 +43,15 @@ import { jest.mock('websocket', require('~/testUtils/mocks/dataSources').mockWebSocketModule()); +jest.mock('@noble/curves/ed25519', () => { + return { + ...jest.requireActual('@noble/curves/ed25519'), + RistrettoPoint: { + fromHex: mockRistrettoPointFromHex, + }, + }; +}); + jest.mock( '~/api/entities/ConfidentialAsset', require('~/testUtils/mocks/entities').mockConfidentialAssetModule( @@ -191,6 +205,23 @@ describe('assetCaAssetValid', () => { }); }); +describe('assertElgamalPubKeyValid', () => { + it('should throw an error if the public key is not a valid ElGamal public key', async () => { + mockRistrettoPointFromHex.mockImplementationOnce(() => { + throw new Error('RistrettoPoint.fromHex: the hex is not valid encoding of RistrettoPoint'); + }); + expect(() => + assertElgamalPubKeyValid('0xc8d4b6d94730b17c5efdd6ee1119aaf1fa79c7fe1f9db031bf87713e94000000') + ).toThrow('The supplied public key is not a valid ElGamal public key'); + }); + + it('should not throw if the public key is valid', async () => { + expect(() => + assertElgamalPubKeyValid('0xc8d4b6d94730b17c5efdd6ee1119aaf1fa79c7fe1f9db031bf87713e94145831') + ).not.toThrow(); + }); +}); + describe('asConfidentialAccount', () => { let context: Context; let publicKey: string; @@ -199,6 +230,7 @@ describe('asConfidentialAccount', () => { beforeAll(() => { dsMockUtils.initMocks(); entityMockUtils.initMocks(); + jest.spyOn(utilsInternalModule, 'assertElgamalPubKeyValid').mockImplementation(); publicKey = 'someKey'; }); diff --git a/src/utils/internal.ts b/src/utils/internal.ts index e78c9c03dc..a5f48c0569 100644 --- a/src/utils/internal.ts +++ b/src/utils/internal.ts @@ -1,3 +1,5 @@ +import { RistrettoPoint } from '@noble/curves/ed25519'; +import { hexStripPrefix } from '@polkadot/util'; import { getMissingAssetPermissions } from '@polymeshassociation/polymesh-sdk/api/entities/Account/helpers'; import { Account, @@ -54,6 +56,20 @@ import { isConfidentialAssetOwnerRole, isConfidentialVenueOwnerRole } from '~/ut export * from '~/generated/utils'; +/** + * @hidden + */ +export function assertElgamalPubKeyValid(publicKey: string): void { + try { + RistrettoPoint.fromHex(hexStripPrefix(publicKey)); + } catch (err) { + throw new PolymeshError({ + code: ErrorCode.ValidationError, + message: 'The supplied public key is not a valid ElGamal public key', + }); + } +} + /** * @hidden */ diff --git a/yarn.lock b/yarn.lock index 97b63cb04e..efbf13b011 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1529,11 +1529,23 @@ dependencies: "@noble/hashes" "1.3.1" +"@noble/curves@^1.4.0": + version "1.4.0" + resolved "https://registry.yarnpkg.com/@noble/curves/-/curves-1.4.0.tgz#f05771ef64da724997f69ee1261b2417a49522d6" + integrity sha512-p+4cb332SFCrReJkCYe8Xzm0OWi4Jji5jVdIZRL/PmacmDkFNw6MrrV+gGpiPxLHbV+zKFRywUWbaseT+tZRXg== + dependencies: + "@noble/hashes" "1.4.0" + "@noble/hashes@1.3.1": version "1.3.1" resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.3.1.tgz#8831ef002114670c603c458ab8b11328406953a9" integrity sha512-EbqwksQwz9xDRGfDST86whPBgM65E0OH/pCgqW0GBVzO22bNE+NuIbeTb714+IfSjU3aRk47EUvXIb5bTsenKA== +"@noble/hashes@1.4.0": + version "1.4.0" + resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.4.0.tgz#45814aa329f30e4fe0ba49426f49dfccdd066426" + integrity sha512-V1JJ1WTRUqHHrOSh597hURcMqVKVGL/ea3kv0gSnEdsEZ0/+VyPghM1lMNGc00z7CIQorSvbKpuJkxvuHbvdbg== + "@nodelib/fs.scandir@2.1.5": version "2.1.5" resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz#7619c2eb21b25483f6d167548b4cfd5a7488c3d5" From c27bee0631e427fa51c6f091d8ee6dc8f5cf11ac Mon Sep 17 00:00:00 2001 From: Prashant Bajpai <34747455+prashantasdeveloper@users.noreply.github.com> Date: Fri, 12 Apr 2024 18:57:56 +0530 Subject: [PATCH 119/120] =?UTF-8?q?chore:=20=F0=9F=A4=96=20address=20PR=20?= =?UTF-8?q?comment?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/internal.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/utils/internal.ts b/src/utils/internal.ts index a5f48c0569..ff14344fc6 100644 --- a/src/utils/internal.ts +++ b/src/utils/internal.ts @@ -66,6 +66,7 @@ export function assertElgamalPubKeyValid(publicKey: string): void { throw new PolymeshError({ code: ErrorCode.ValidationError, message: 'The supplied public key is not a valid ElGamal public key', + data: { publicKey }, }); } } From 80136b5929ebc60a3b9c33d944406242a3d28cba Mon Sep 17 00:00:00 2001 From: Prashant Bajpai <34747455+prashantasdeveloper@users.noreply.github.com> Date: Tue, 16 Apr 2024 19:08:34 +0530 Subject: [PATCH 120/120] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20Bump=20public=20?= =?UTF-8?q?Polymesh-SDK=20version=20to=20`24.1.0`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 2925d85034..81b05ce977 100644 --- a/package.json +++ b/package.json @@ -127,7 +127,7 @@ "@polkadot/api": "10.9.1", "@polkadot/util": "12.4.2", "@polkadot/util-crypto": "12.4.2", - "@polymeshassociation/polymesh-sdk": "24.0.0-alpha.25", + "@polymeshassociation/polymesh-sdk": "24.1.0", "bignumber.js": "9.0.1", "bluebird": "^3.7.2", "cross-fetch": "^4.0.0", diff --git a/yarn.lock b/yarn.lock index efbf13b011..ee17ced7d0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2261,10 +2261,10 @@ dependencies: "@polymeshassociation/signing-manager-types" "^3.2.0" -"@polymeshassociation/polymesh-sdk@24.0.0-alpha.25": - version "24.0.0-alpha.25" - resolved "https://registry.yarnpkg.com/@polymeshassociation/polymesh-sdk/-/polymesh-sdk-24.0.0-alpha.25.tgz#6af3a6f8f2f727a47c231bda58b78ad2e9279cde" - integrity sha512-m4L/j8g7/BI/5D9GNZ7jpE7beIHv6gJBOf76QngGOedY85q4qbcEoKFrMk91MPl+TO9n2pivNGkx+TZMKqEq4A== +"@polymeshassociation/polymesh-sdk@24.1.0": + version "24.1.0" + resolved "https://registry.yarnpkg.com/@polymeshassociation/polymesh-sdk/-/polymesh-sdk-24.1.0.tgz#542e8fa43f830578988659ba50732ed97a36109f" + integrity sha512-8v4+WDX8f1PVxCWdfrNnftriyjSrMT5I8zysxRBCHwNv/riP/3BpqFkdhipg3ksR+5GCYER6ghiFB1Mw0rbh1w== dependencies: "@apollo/client" "^3.8.1" "@polkadot/api" "10.9.1"